nixpkgs/pkgs/development/compilers/purescript/psc-package/default.nix
Justin Woo 7dadfbda1f psc-package: 0.3.2 -> 0.4.1
Updates that remove features and improve user experience.

Adds warnings for trying to install packages without (purescript/psc-package#126 by @Dretch)
Filters "installing" messages for build (purescript/psc-package#130 by @Dretch)
Adds options for limiting jobs for install (purescript/psc-package#127 by @vladciobanu)
Per purescript/psc-package#121, removes the confusing misfeature "add-from-bower", which led to many users thinking this command was for adding "extra-deps" like Stack. See the thread for details on how you could readily replace this command if you used it before.
2018-07-28 23:03:43 +02:00

28 lines
651 B
Nix

{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
with lib;
mkDerivation rec {
pname = "psc-package";
version = "0.4.1";
src = fetchFromGitHub {
owner = "purescript";
repo = pname;
rev = "v${version}";
sha256 = "1pbgijglyqrm998a6z5ahp4phd72crzr3s8vq17a9dz3i0a9hcj5";
};
isLibrary = false;
isExecutable = true;
executableHaskellDepends = with haskellPackages; [
aeson aeson-pretty either errors optparse-applicative
system-filepath turtle
];
description = "A package manager for PureScript based on package sets";
license = licenses.bsd3;
maintainers = with lib.maintainers; [ Profpatsch ];
}