forked from mirrors/nixpkgs
27 lines
625 B
Nix
27 lines
625 B
Nix
|
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
mkDerivation rec {
|
||
|
pname = "psc-package";
|
||
|
version = "0.1.1";
|
||
|
|
||
|
src = fetchFromGitHub {
|
||
|
owner = "purescript";
|
||
|
repo = pname;
|
||
|
rev = "v${version}";
|
||
|
sha256 = "078xjn10yq4i0ff78bxscvxhn29p3s7iwv3pjyqxzlhaymn5949l";
|
||
|
};
|
||
|
|
||
|
isLibrary = false;
|
||
|
isExecutable = true;
|
||
|
|
||
|
executableHaskellDepends = with haskellPackages; [
|
||
|
aeson aeson-pretty optparse-applicative system-filepath turtle
|
||
|
];
|
||
|
|
||
|
description = "An experimental package manager for PureScript";
|
||
|
license = licenses.bsd3;
|
||
|
maintainers = with lib.maintainers; [ profpatsch ];
|
||
|
}
|