depot/pkgs/applications/science/electronics/horizon-eda/default.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

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