nix-index: 0.1.2 -> unstable-2022-03-07
This commit is contained in:
parent
069f7aa1c9
commit
c9f623a970
|
@ -4,23 +4,21 @@
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "nix-index";
|
pname = "nix-index";
|
||||||
version = "0.1.2";
|
version = "unstable-2022-03-07";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "bennofs";
|
owner = "bennofs";
|
||||||
repo = "nix-index";
|
repo = "nix-index";
|
||||||
rev = "v${version}";
|
rev = "f09548f66790d2d7d53f07ad2af62993d7cabb08";
|
||||||
sha256 = "05fqfwz34n4ijw7ydw2n6bh4bv64rhks85cn720sy5r7bmhfmfa8";
|
sha256 = "sha256-xIJCzEHQJ2kHRbT4Ejrb5R5e/VqjKrklV7XneZIiyUg=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "161lz96a52s53rhhkxxhcg41bsmh8w6rv6nl8gwqmg3biszy7hah";
|
cargoSha256 = "sha256-2Yhnacsx8EWsfZfcfKhV687cblyFDmsfdqGZoK6Lulo=";
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
buildInputs = [ openssl curl ]
|
buildInputs = [ openssl curl ]
|
||||||
++ lib.optional stdenv.isDarwin Security;
|
++ lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
doCheck = !stdenv.isDarwin;
|
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $out/etc/profile.d
|
mkdir -p $out/etc/profile.d
|
||||||
cp ./command-not-found.sh $out/etc/profile.d/command-not-found.sh
|
cp ./command-not-found.sh $out/etc/profile.d/command-not-found.sh
|
||||||
|
|
Loading…
Reference in a new issue