nvd: init at 0.1.1

This commit is contained in:
Bryan Gardiner 2021-05-16 18:12:26 -07:00
parent 700942d2a5
commit 7ceeca96d3
No known key found for this signature in database
GPG key ID: 53EFBCA063E6183C
2 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,32 @@
{ fetchFromGitLab, installShellFiles, lib, python3, stdenv }:
stdenv.mkDerivation rec {
pname = "nvd";
version = "0.1.1";
src = fetchFromGitLab {
owner = "khumba";
repo = pname;
rev = "v${version}";
sha256 = "0accq0cw6qsxin1fb2bp2ijgjf9akb9qlivkykpfsgnk5qjafv2n";
};
buildInputs = [ python3 ];
nativeBuildInputs = [ installShellFiles ];
installPhase = ''
runHook preInstall
install -m555 -Dt $out/bin src/nvd
installManPage src/nvd.1
runHook postInstall
'';
meta = with lib; {
description = "Nix/NixOS package version diff tool";
homepage = "https://gitlab.com/khumba/nvd";
license = licenses.asl20;
maintainers = with maintainers; [ khumba ];
platforms = platforms.all;
};
}

View file

@ -30481,6 +30481,8 @@ in
nut = callPackage ../applications/misc/nut { };
nvd = callPackage ../tools/package-management/nvd { };
solfege = python3Packages.callPackage ../misc/solfege { };
disnix = callPackage ../tools/package-management/disnix { };