1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 21:54:10 +00:00
nixpkgs/pkgs/development/tools/build-managers/gup/build.nix
Eelco Dolstra 12dd086c39
Revert "gup: 0.5.5 -> 0.6.0 and derivation update"
This reverts commit a59c3038cd due to
use of importJSON.
2017-01-30 11:44:15 +01:00

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