Files
radicle-git/default.nix
T
Fintan Halpenny 70b571b67b 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>
2022-09-08 12:07:51 +01:00

32 lines
715 B
Nix

{ 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
];
}