From d4889256e34d126068718d3f54e4e96d01f0e1c3 Mon Sep 17 00:00:00 2001 From: figsoda Date: Thu, 24 Aug 2023 13:49:38 -0400 Subject: [PATCH] nix-index-unwrapped: 0.1.6 -> 0.1.7 Diff: https://github.com/bennofs/nix-index/compare/v0.1.6...v0.1.7 Changelog: https://github.com/nix-community/nix-index/blob/v0.1.7/CHANGELOG.md --- .../package-management/nix-index/default.nix | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/pkgs/tools/package-management/nix-index/default.nix b/pkgs/tools/package-management/nix-index/default.nix index 13e63341670e..35df4f9674d6 100644 --- a/pkgs/tools/package-management/nix-index/default.nix +++ b/pkgs/tools/package-management/nix-index/default.nix @@ -4,32 +4,32 @@ rustPlatform.buildRustPackage rec { pname = "nix-index"; - version = "0.1.6"; + version = "0.1.7"; src = fetchFromGitHub { - owner = "bennofs"; + owner = "nix-community"; repo = "nix-index"; rev = "v${version}"; - sha256 = "sha256-mdK63qRVvISRbRwfMel4SYucmBxR6RLbM4IFz3K3Pks="; + hash = "sha256-WPWd2aMuP4L17UDFz7SI6lqyrCzrPV8c88vGyO6r6jk="; }; - cargoHash = "sha256-uIGxCaFj4x1Ck/D2xxOlosJaGSVbOKxbXAEAkkBxyaQ="; + cargoHash = "sha256-zZhQ3pOid7BCGzcyCrl6sDm0q6IEVKF7K+d6nVs9flk="; nativeBuildInputs = [ pkg-config ]; buildInputs = [ openssl curl sqlite ] ++ lib.optional stdenv.isDarwin Security; postInstall = '' - mkdir -p $out/etc/profile.d - cp ./command-not-found.sh $out/etc/profile.d/command-not-found.sh - substituteInPlace $out/etc/profile.d/command-not-found.sh \ - --replace "@out@" "$out" + substituteInPlace command-not-found.sh \ + --subst-var out + install -Dm555 command-not-found.sh -t $out/etc/profile.d ''; meta = with lib; { description = "A files database for nixpkgs"; - homepage = "https://github.com/bennofs/nix-index"; + homepage = "https://github.com/nix-community/nix-index"; + changelog = "https://github.com/nix-community/nix-index/blob/${src.rev}/CHANGELOG.md"; license = with licenses; [ bsd3 ]; - maintainers = with maintainers; [ bennofs ncfavier ]; + maintainers = with maintainers; [ bennofs figsoda ncfavier ]; }; }