2017-04-11 23:09:42 +01:00
|
|
|
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "psc-package";
|
2017-11-08 08:33:35 +00:00
|
|
|
version = "0.2.4";
|
2017-04-11 23:09:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "purescript";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2017-11-08 08:33:35 +00:00
|
|
|
sha256 = "0m1vcxa5zs4sqnnwgmxkhw1isdlmirp12yimn5345vwfvlxkc8kp";
|
2017-04-11 23:09:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
}
|