pshash: init at 0.1.14.6 (#371852)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
Reference in New Issue
Block a user