pshash: init at 0.1.14.6 (#371852)

This commit is contained in:
Arne Keller
2025-03-15 10:44:09 +01:00
committed by GitHub
2 changed files with 47 additions and 0 deletions
+6
View File
@@ -23783,6 +23783,12 @@
githubId = 678511;
name = "Thomas Mader";
};
thornoar = {
email = "r.a.maksimovich@gmail.com";
github = "thornoar";
githubId = 84677666;
name = "Roman Maksimovich";
};
thornycrackers = {
email = "codyfh@gmail.com";
github = "thornycrackers";
+41
View File
@@ -0,0 +1,41 @@
{
haskellPackages,
fetchFromGitHub,
lib,
}:
haskellPackages.mkDerivation rec {
pname = "pshash";
version = "0.1.14.6";
src = fetchFromGitHub {
owner = "thornoar";
repo = "pshash";
tag = "v${version}";
hash = "sha256-gqIdfIC8f9aF4ojHBhKOTvIr34kuTGQ5R/q1D+0c4bA=";
};
postPatch = ''
patchShebangs --build test/output.sh
'';
isLibrary = false;
isExecutable = true;
doCheck = true;
checkPhase = ''
runHook preCheck
test/output.sh dist/build/pshash/pshash
runHook postCheck
'';
executableHaskellDepends = with haskellPackages; [
base
containers
directory
];
license = lib.licenses.mit;
description = "Functional pseudo-hash password creation tool";
homepage = "https://github.com/thornoar/pshash";
maintainers = with lib.maintainers; [ thornoar ];
mainProgram = "pshash";
}