Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 38 lines 845 B view raw
1{ 2 lib, 3 stdenv, 4 fetchFromGitHub, 5}: 6 7stdenv.mkDerivation rec { 8 pname = "pass-update"; 9 version = "2.2.1"; 10 11 src = fetchFromGitHub { 12 owner = "roddhjav"; 13 repo = "pass-update"; 14 rev = "v${version}"; 15 sha256 = "sha256-NFdPnGMs8myiHufeHAQUNDUuvDzYeoWYZllI9+4HL+s="; 16 }; 17 18 postPatch = '' 19 substituteInPlace Makefile \ 20 --replace "BASHCOMPDIR ?= /etc/bash_completion.d" "BASHCOMPDIR ?= $out/share/bash-completion/completions" 21 ''; 22 23 dontBuild = true; 24 25 installFlags = [ "PREFIX=$(out)" ]; 26 27 meta = with lib; { 28 description = "Pass extension that provides an easy flow for updating passwords"; 29 homepage = "https://github.com/roddhjav/pass-update"; 30 license = licenses.gpl3Plus; 31 maintainers = with maintainers; [ 32 lovek323 33 fpletz 34 tadfisher 35 ]; 36 platforms = platforms.unix; 37 }; 38}