2015-09-05 11:37:45 +01:00
|
|
|
# NOTE: this file is copied from the upstream repository for this package.
|
2016-04-11 15:35:18 +01:00
|
|
|
# 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 ? {} }:
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit src meta;
|
|
|
|
name = "gup-${version}";
|
|
|
|
buildInputs = lib.remove null [ python which pychecker ];
|
|
|
|
SKIP_PYCHECKER = pychecker == null;
|
|
|
|
buildPhase = "make python";
|
|
|
|
installPhase = ''
|
|
|
|
mkdir $out
|
|
|
|
cp -r python/bin $out/bin
|
|
|
|
'';
|
|
|
|
}
|