3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/build-managers/gup/build.nix

17 lines
505 B
Nix
Raw Normal View History

# NOTE: this file is copied from the upstream repository for this package.
# Please submit any changes you make here to https://github.com/timbertson/gup/
2015-09-05 11:37:45 +01:00
{ stdenv, lib, python, which, pychecker ? null }:
{ src, version, meta ? {} }:
2015-09-05 11:37:45 +01:00
stdenv.mkDerivation {
inherit src meta;
2015-09-05 11:37:45 +01:00
name = "gup-${version}";
buildInputs = lib.remove null [ python which pychecker ];
SKIP_PYCHECKER = pychecker == null;
2015-09-05 11:37:45 +01:00
buildPhase = "make python";
installPhase = ''
mkdir $out
cp -r python/bin $out/bin
'';
}