Merge pull request #114948 from helsinki-systems/gixy_py3

gixy: use python3
This commit is contained in:
Martin Weinelt 2021-03-03 16:28:30 +01:00 committed by GitHub
commit 21b27c3335
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,11 +1,11 @@
{ lib, fetchFromGitHub, python }:
{ lib, fetchFromGitHub, python3 }:
python.pkgs.buildPythonApplication rec {
python3.pkgs.buildPythonApplication rec {
pname = "gixy";
version = "0.1.20";
# package is only compatible with python 2.7 and 3.5+
disabled = with python.pkgs; !(pythonAtLeast "3.5" || isPy27);
disabled = with python3.pkgs; !(pythonAtLeast "3.5" || isPy27);
# fetching from GitHub because the PyPi source is missing the tests
src = fetchFromGitHub {
@ -19,7 +19,7 @@ python.pkgs.buildPythonApplication rec {
sed -ie '/argparse/d' setup.py
'';
propagatedBuildInputs = with python.pkgs; [
propagatedBuildInputs = with python3.pkgs; [
cached-property
ConfigArgParse
pyparsing