Files
radicle-git/nix/cargo-nextest/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

31 lines
590 B
Nix

{ sources ? import ../sources.nix
, pkgs ? import sources.nixpkgs
}:
with pkgs;
rustPlatform.buildRustPackage rec {
pname = "cargo-nextest";
version = "0.9.9";
src = fetchFromGitHub {
owner = "nextest-rs";
repo = "nextest";
rev = "cargo-nextest-${version}";
sha256 = "sha256-1s1N126S51kg7aOgAb8oMts1zJcO6QRn1fwbQf6ZaJ8=";
};
cargoSha256 = "sha256-JxZyl5Hti3Hh33e7H/pXhM6WkU0kDDml0naBPYzvNy4=";
nativeBuildInputs = [
pkg-config
];
buildInputs = [
openssl
libiconv
] ++ lib.optionals stdenv.isDarwin [
Security
];
doCheck = false;
}