2017-04-11 23:09:42 +01:00
|
|
|
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "psc-package";
|
2018-11-09 08:06:42 +00:00
|
|
|
version = "0.4.2";
|
2017-04-11 23:09:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "purescript";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2018-11-09 08:06:42 +00:00
|
|
|
sha256 = "0xvnmpfj4c6h4gmc2c3d4gcs44527jrgfl11l2fs4ai1mc69w5zg";
|
2017-04-11 23:09:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
|
|
|
|
executableHaskellDepends = with haskellPackages; [
|
2018-07-25 10:03:55 +01:00
|
|
|
aeson aeson-pretty either errors optparse-applicative
|
|
|
|
system-filepath turtle
|
2017-04-11 23:09:42 +01:00
|
|
|
];
|
|
|
|
|
2018-07-25 10:03:55 +01:00
|
|
|
description = "A package manager for PureScript based on package sets";
|
2017-04-11 23:09:42 +01:00
|
|
|
license = licenses.bsd3;
|
2018-02-12 06:18:12 +00:00
|
|
|
maintainers = with lib.maintainers; [ Profpatsch ];
|
2017-04-11 23:09:42 +01:00
|
|
|
}
|