nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 stdenv,
3 boost,
4 callPackage,
5 coreutils,
6 libspnav,
7 python3,
8 wrapGAppsHook3,
9}:
10
11let
12 base = callPackage ./base.nix { };
13in
14stdenv.mkDerivation {
15 inherit (base)
16 pname
17 version
18 src
19 meta
20 env
21 ;
22
23 # provide base for python module
24 passthru = {
25 inherit base;
26 };
27
28 buildInputs = base.buildInputs ++ [
29 libspnav
30 ];
31
32 nativeBuildInputs = base.nativeBuildInputs ++ [
33 boost.dev
34 wrapGAppsHook3
35 python3
36 ];
37
38 installFlags = [
39 "INSTALL=${coreutils}/bin/install"
40 "DESTDIR=$(out)"
41 "PREFIX="
42 ];
43
44 enableParallelBuilding = true;
45}