1 { lib, stdenv, fetchFromGitHub, rakudo, makeWrapper }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-LLUAwqky/q9KvFltrcff5U2BSLvOk/BbDSj07QlePSg=";
14 nativeBuildInputs = [ makeWrapper ];
15 buildInputs = [ rakudo ];
19 # TODO: Find better solution. zef stores cache stuff in $HOME with the
21 env HOME=$TMPDIR ${rakudo}/bin/raku -I. ./bin/zef --/depends --/test-depends --/build-depends --install-to=$out install .
25 wrapProgram $out/bin/zef --prefix RAKUDOLIB , "inst#$out"
29 description = "Raku / Perl6 Module Management";
30 homepage = "https://github.com/ugexe/zef";
31 license = licenses.artistic2;
32 platforms = platforms.unix;
33 maintainers = with maintainers; [ sgo ];