Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
571 B
Nix
38 lines
571 B
Nix
{ stdenv
|
|
, boost
|
|
, callPackage
|
|
, coreutils
|
|
, libspnav
|
|
, python3
|
|
, wrapGAppsHook3
|
|
}:
|
|
|
|
let
|
|
base = callPackage ./base.nix { };
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
inherit (base) pname version src meta CASROOT;
|
|
|
|
# provide base for python module
|
|
passthru = {
|
|
inherit base;
|
|
};
|
|
|
|
buildInputs = base.buildInputs ++ [
|
|
libspnav
|
|
];
|
|
|
|
nativeBuildInputs = base.nativeBuildInputs ++ [
|
|
boost.dev
|
|
wrapGAppsHook3
|
|
python3
|
|
];
|
|
|
|
installFlags = [
|
|
"INSTALL=${coreutils}/bin/install"
|
|
"DESTDIR=$(out)"
|
|
"PREFIX="
|
|
];
|
|
|
|
enableParallelBuilding = true;
|
|
}
|