2017-04-11 23:09:42 +01:00
|
|
|
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "psc-package";
|
2020-02-11 13:50:03 +00:00
|
|
|
version = "0.6.2";
|
2017-04-11 23:09:42 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "purescript";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-02-11 13:50:03 +00:00
|
|
|
sha256 = "0536mijma61khldnpbdviq2vvpfzzz7w8bxr59mvr19i10njdq0y";
|
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
|
|
|
}
|