Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 27 lines 651 B view raw
1{ haskellPackages, mkDerivation, fetchFromGitHub, lib }: 2 3with lib; 4 5mkDerivation rec { 6 pname = "psc-package"; 7 version = "0.6.0"; 8 9 src = fetchFromGitHub { 10 owner = "purescript"; 11 repo = pname; 12 rev = "v${version}"; 13 sha256 = "165yax131rj1mdlqd28g6wcy1ps3k4w50z8gj9yc3nfs09dy0lab"; 14 }; 15 16 isLibrary = false; 17 isExecutable = true; 18 19 executableHaskellDepends = with haskellPackages; [ 20 aeson aeson-pretty either errors optparse-applicative 21 system-filepath turtle 22 ]; 23 24 description = "A package manager for PureScript based on package sets"; 25 license = licenses.bsd3; 26 maintainers = with lib.maintainers; [ Profpatsch ]; 27}