Merge pull request #210054 from Mic92/nix-index

nix-index-unwrapped: unstable-2023-01-03 -> 0.1.3
This commit is contained in:
figsoda 2023-01-10 13:04:25 -05:00 committed by GitHub
commit 0b809b4b40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,22 +1,22 @@
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, curl
{ lib, stdenv, rustPlatform, fetchFromGitHub, pkg-config, openssl, curl, sqlite
, Security
}:
rustPlatform.buildRustPackage rec {
pname = "nix-index";
version = "unstable-2023-01-03";
version = "0.1.3";
src = fetchFromGitHub {
owner = "bennofs";
repo = "nix-index";
rev = "36ff1aac466392fb2d7043fd3e196667a531374b";
sha256 = "sha256-QXUqz7SiUBDOBKiALdtWNEPhS/EAM8pEEtazGcTCzvM=";
rev = "v${version}";
sha256 = "sha256-UbM4041AiYUOcj8e5dJ5HmD26Db3szs6dABVCwseliU=";
};
cargoSha256 = "sha256-ELlgbE5dR3a6yRTRD88tgEs4gtN1N3M2nBjVFu6GMwc=";
cargoSha256 = "sha256-TMfnjtUo7Kxx/kWnc0scC8qU6vi+E+TL0hE73NNIyjk=";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ openssl curl ]
buildInputs = [ openssl curl sqlite ]
++ lib.optional stdenv.isDarwin Security;
postInstall = ''