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