2017-04-11 23:09:42 +01:00
|
|
|
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "psc-package";
|
2018-07-25 10:03:55 +01:00
|
|
|
version = "0.4.1";
|
2017-04-11 23:09:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "purescript";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2018-07-25 10:03:55 +01:00
|
|
|
sha256 = "1pbgijglyqrm998a6z5ahp4phd72crzr3s8vq17a9dz3i0a9hcj5";
|
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
|
|
|
}
|