nixpkgs/pkgs/development/compilers/purescript/psc-package/default.nix

28 lines
651 B
Nix
Raw Normal View History

2017-04-12 00:09:42 +02:00
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
with lib;
mkDerivation rec {
pname = "psc-package";
version = "0.5.1";
2017-04-12 00:09:42 +02:00
src = fetchFromGitHub {
owner = "purescript";
repo = pname;
rev = "v${version}";
sha256 = "1zadbph1vha3b5hvmjvs138dcwbab49f3v63air1l6r4cvpb6831";
2017-04-12 00:09:42 +02:00
};
isLibrary = false;
isExecutable = true;
executableHaskellDepends = with haskellPackages; [
aeson aeson-pretty either errors optparse-applicative
system-filepath turtle
2017-04-12 00:09:42 +02:00
];
description = "A package manager for PureScript based on package sets";
2017-04-12 00:09:42 +02:00
license = licenses.bsd3;
maintainers = with lib.maintainers; [ Profpatsch ];
2017-04-12 00:09:42 +02:00
}