depot/pkgs/applications/science/electronics/horizon-eda/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
571 B
Nix
Raw Normal View History

{ 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;
}