psc-package: init at 0.1.1

This commit is contained in:
Profpatsch 2017-04-12 00:09:42 +02:00
parent 43c436af27
commit 7df8e53d28
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ haskellPackages, mkDerivation, fetchFromGitHub, lib }:
with lib;
mkDerivation rec {
pname = "psc-package";
version = "0.1.1";
src = fetchFromGitHub {
owner = "purescript";
repo = pname;
rev = "v${version}";
sha256 = "078xjn10yq4i0ff78bxscvxhn29p3s7iwv3pjyqxzlhaymn5949l";
};
isLibrary = false;
isExecutable = true;
executableHaskellDepends = with haskellPackages; [
aeson aeson-pretty optparse-applicative system-filepath turtle
];
description = "An experimental package manager for PureScript";
license = licenses.bsd3;
maintainers = with lib.maintainers; [ profpatsch ];
}

View File

@ -5232,6 +5232,8 @@ with pkgs;
all-cabal-hashes = callPackage ../data/misc/hackage/default.nix { };
purescript = haskell.lib.justStaticExecutables haskellPackages.purescript;
psc-package = haskell.lib.justStaticExecutables
(haskellPackages.callPackage ../development/compilers/purescript/psc-package { });
inherit (ocamlPackages) haxe;