12dd086c39
This reverts commit a59c3038cd26863ab0eb90aad813440dfec1a59e due to use of importJSON.
17 lines
505 B
Nix
17 lines
505 B
Nix
# 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/
|
|
|
|
{ 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
|
|
'';
|
|
}
|