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

28 lines
651 B
Nix
Raw Normal View History

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