mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
hooky: init at 1.0.3 (#493902)
This commit is contained in:
commit
278ed24e46
2 changed files with 73 additions and 0 deletions
|
|
@ -3875,6 +3875,12 @@
|
|||
github = "brancz";
|
||||
githubId = 4546722;
|
||||
};
|
||||
brandonchinn178 = {
|
||||
email = "brandonchinn178@gmail.com";
|
||||
name = "Brandon Chinn";
|
||||
github = "brandonchinn178";
|
||||
githubId = 6827922;
|
||||
};
|
||||
brantes = {
|
||||
name = "Pedro Brantes";
|
||||
email = "contact@brantes.simplelogin.com";
|
||||
|
|
|
|||
67
pkgs/by-name/ho/hooky/package.nix
Normal file
67
pkgs/by-name/ho/hooky/package.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{
|
||||
lib,
|
||||
haskell,
|
||||
fetchFromGitHub,
|
||||
}:
|
||||
|
||||
let
|
||||
# Remove when haskellPackages is on GHC 9.12
|
||||
haskellPackages = haskell.packages.ghc912;
|
||||
in
|
||||
|
||||
haskellPackages.mkDerivation {
|
||||
pname = "hooky";
|
||||
version = "1.0.3";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "brandonchinn178";
|
||||
repo = "hooky";
|
||||
rev = "5ce665f376bc80948f45764bf3f2e0d590245938";
|
||||
hash = "sha256-w4sWD5dZTNKwrYhrJw9RcwGoeNxpJnm/6RRqYjiIiBg=";
|
||||
};
|
||||
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
libraryHaskellDepends = with haskellPackages; [
|
||||
base
|
||||
ansi-terminal
|
||||
bytestring
|
||||
concurrent-output
|
||||
containers
|
||||
directory
|
||||
filepath
|
||||
kdl-hs
|
||||
process
|
||||
scientific
|
||||
text
|
||||
time
|
||||
unliftio
|
||||
];
|
||||
executableHaskellDepends = with haskellPackages; [
|
||||
base
|
||||
containers
|
||||
directory
|
||||
filepath
|
||||
optparse-applicative
|
||||
process
|
||||
text
|
||||
unliftio
|
||||
];
|
||||
testHaskellDepends = with haskellPackages; [
|
||||
base
|
||||
directory
|
||||
filepath
|
||||
process
|
||||
skeletest
|
||||
temporary
|
||||
text
|
||||
unliftio
|
||||
];
|
||||
doCheck = false;
|
||||
|
||||
homepage = "https://github.com/brandonchinn178/hooky";
|
||||
description = "A minimal git hooks manager.";
|
||||
maintainers = with lib.maintainers; [ brandonchinn178 ];
|
||||
license = lib.licenses.bsd3;
|
||||
mainProgram = "hooky";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue