mueval: add package
This commit is contained in:
parent
8d91cc7637
commit
58330b2a81
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, makeWrapper, haskellngPackages, packages ? (pkgs: [])
|
||||
}:
|
||||
|
||||
let defaultPkgs = pkgs: [ pkgs.show
|
||||
pkgs.simple-reflect
|
||||
pkgs.QuickCheck
|
||||
pkgs.mtl
|
||||
];
|
||||
env = haskellngPackages.ghcWithPackages
|
||||
(pkgs: defaultPkgs pkgs ++ packages pkgs);
|
||||
libDir = "${env}/lib/ghc-${env.version}";
|
||||
|
||||
in stdenv.mkDerivation {
|
||||
name = "mueval-env";
|
||||
|
||||
inherit (haskellngPackages) mueval;
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
buildCommand = ''
|
||||
mkdir -p $out/bin
|
||||
|
||||
makeWrapper $mueval/bin/mueval $out/bin/mueval \
|
||||
--prefix PATH ":" "$out/bin"
|
||||
|
||||
makeWrapper $mueval/bin/mueval-core $out/bin/mueval \
|
||||
--set "NIX_GHC_LIBDIR" "${libDir}"
|
||||
|
||||
'';
|
||||
|
||||
passthru = { inherit defaultPkgs; };
|
||||
}
|
|
@ -7078,6 +7078,8 @@ let
|
|||
texinfo = texinfo4;
|
||||
};
|
||||
|
||||
mueval = callPackage ../development/tools/mueval { };
|
||||
|
||||
muparser = callPackage ../development/libraries/muparser { };
|
||||
|
||||
mygpoclient = callPackage ../development/python-modules/mygpoclient { };
|
||||
|
|
Loading…
Reference in New Issue