nixpkgs/pkgs/applications/science/electronics/horizon-eda/default.nix
2023-10-19 01:03:34 +02:00

39 lines
569 B
Nix

{ stdenv
, boost
, callPackage
, coreutils
, libspnav
, python3
, wrapGAppsHook
}:
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
wrapGAppsHook
python3
];
installFlags = [
"INSTALL=${coreutils}/bin/install"
"DESTDIR=$(out)"
"PREFIX="
];
enableParallelBuilding = true;
}