mirror of
https://seed.radicle.dev/rad:z6cFWeWpnZNHh9rUW8phgA3b5yGt.git
synced 2026-11-21 18:40:40 +08:00
radicle-git init
Port over all git relevant parts of the radicle-link repository[0]. The packages that are kept are: * git-ext * git-ref-format * git-trailers * link-git * macros * std-ext * test -- only the portions that test the above The development and testing scripts are also added for local and CI testing. [0]: https://github.com/radicle-dev/radicle-link/ Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
{ sources ? import ./nix/sources.nix
|
||||
, pkgs ? import sources.nixpkgs {
|
||||
overlays = [ (import sources.rust-overlay) ];
|
||||
}
|
||||
, rust-overlay ? pkgs.rust-bin.stable.latest.default
|
||||
}:
|
||||
let
|
||||
# TODO: remove once cargo-nextest is available in nixpkgs stable
|
||||
cargo-nextest = (pkgs.callPackage ./nix/cargo-nextest/default.nix { });
|
||||
in
|
||||
with pkgs;
|
||||
mkShell {
|
||||
name = "build";
|
||||
buildInputs = [
|
||||
# cargo tooling
|
||||
cargo-deny
|
||||
cargo-nextest
|
||||
cargo-watch
|
||||
pkgs.rust-bin.nightly."2022-07-01".rustfmt
|
||||
|
||||
# hard dependencies
|
||||
cmake
|
||||
openssl
|
||||
pkgconfig
|
||||
rust-overlay
|
||||
|
||||
# testing utilities
|
||||
gettext # for `envsubst`
|
||||
socat
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user