Unverified Commit 095995a1 authored by Wolfgang Walther's avatar Wolfgang Walther Committed by GitHub
Browse files

nps: 0.2.9 -> 0.2.12; add mdaniels5757 as co-maintainer; set updateScript (#468748)

parents f47c68b2 cfdead03
Loading
Loading
Loading
Loading
+10 −4
Original line number Diff line number Diff line
{
  lib,
  nix,
  nix-update-script,
  fetchFromGitHub,
  rustPlatform,
}:

rustPlatform.buildRustPackage rec {
  pname = "nps";
  version = "0.2.9";
  version = "0.2.12";

  src = fetchFromGitHub {
    owner = "OleMussmann";
    repo = "nps";
    tag = "v${version}";
    hash = "sha256-q/PkigsNAI7MCmeDFBMGuZJFXVL95pQCNOVhNvBH9dc=";
    hash = "sha256-kOVpn13lJYeO/99e39c0wbe7qcKHyMj5v4prBtZ3N7s=";
  };

  cargoHash = "sha256-MThyvhzZXRM4l0K8csLDldMVKiDxKZ5EIFATGVpGpVc=";
  cargoHash = "sha256-dJA9fOU06txPAx5kMl7aGoFeKo7UXqB7X+viUfJqG/M=";

  nativeCheckInputs = [ nix ];

  passthru.updateScript = nix-update-script { };

  meta = {
    description = "Cache the nix package list, query and sort results by relevance";
    longDescription = ''
@@ -38,7 +41,10 @@ rustPlatform.buildRustPackage rec {
    homepage = "https://github.com/OleMussmann/nps";
    license = lib.licenses.mit;
    mainProgram = "nps";
    maintainers = with lib.maintainers; [ olemussmann ];
    maintainers = with lib.maintainers; [
      mdaniels5757
      olemussmann
    ];
    platforms = lib.platforms.all;
  };
}