pshash: init at 0.1.14.6 (#371852)

authored by

Arne Keller and committed by
GitHub
2e34baa0 ac83b6bf

+47
+6
maintainers/maintainer-list.nix
··· 23783 githubId = 678511; 23784 name = "Thomas Mader"; 23785 }; 23786 thornycrackers = { 23787 email = "codyfh@gmail.com"; 23788 github = "thornycrackers";
··· 23783 githubId = 678511; 23784 name = "Thomas Mader"; 23785 }; 23786 + thornoar = { 23787 + email = "r.a.maksimovich@gmail.com"; 23788 + github = "thornoar"; 23789 + githubId = 84677666; 23790 + name = "Roman Maksimovich"; 23791 + }; 23792 thornycrackers = { 23793 email = "codyfh@gmail.com"; 23794 github = "thornycrackers";
+41
pkgs/by-name/ps/pshash/package.nix
···
··· 1 + { 2 + haskellPackages, 3 + fetchFromGitHub, 4 + lib, 5 + }: 6 + haskellPackages.mkDerivation rec { 7 + pname = "pshash"; 8 + version = "0.1.14.6"; 9 + src = fetchFromGitHub { 10 + owner = "thornoar"; 11 + repo = "pshash"; 12 + tag = "v${version}"; 13 + hash = "sha256-gqIdfIC8f9aF4ojHBhKOTvIr34kuTGQ5R/q1D+0c4bA="; 14 + }; 15 + 16 + postPatch = '' 17 + patchShebangs --build test/output.sh 18 + ''; 19 + 20 + isLibrary = false; 21 + isExecutable = true; 22 + doCheck = true; 23 + 24 + checkPhase = '' 25 + runHook preCheck 26 + test/output.sh dist/build/pshash/pshash 27 + runHook postCheck 28 + ''; 29 + 30 + executableHaskellDepends = with haskellPackages; [ 31 + base 32 + containers 33 + directory 34 + ]; 35 + 36 + license = lib.licenses.mit; 37 + description = "Functional pseudo-hash password creation tool"; 38 + homepage = "https://github.com/thornoar/pshash"; 39 + maintainers = with lib.maintainers; [ thornoar ]; 40 + mainProgram = "pshash"; 41 + }