gup: use python3

This commit is contained in:
Frederik Rietdijk 2021-03-25 16:02:50 +01:00
parent 34adf2b617
commit d8ed6258b4

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, nix-update-source, lib, python
{ stdenv, fetchFromGitHub, nix-update-source, lib, python3
, which, runtimeShell, pychecker ? null }:
stdenv.mkDerivation rec {
version = "0.7.0";
@ -9,7 +9,9 @@ stdenv.mkDerivation rec {
sha256 = "1pwnmlq2pgkkln9sgz4wlb9dqlqw83bkf105qljnlvggc21zm3pv";
};
pname = "gup";
buildInputs = lib.remove null [ python which pychecker ];
nativeBuildInputs = [ python3 which pychecker ];
buildInputs = [ python3 ];
strictDeps = true;
SKIP_PYCHECKER = pychecker == null;
buildPhase = "make python";
installPhase = ''