diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-25 14:19:18 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2022-01-25 14:19:18 +0100 |
commit | 19ec45fc27f42385b8429f7ba862b11c29ce942b (patch) | |
tree | 3892630ab7d269598c7abc3dbe12b400e81c455e | |
parent | ab6773a9b35898b5a001a97aebbd1008c418efe9 (diff) | |
download | nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.tar nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.tar.gz nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.tar.bz2 nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.tar.lz nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.tar.xz nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.tar.zst nixpkgs-19ec45fc27f42385b8429f7ba862b11c29ce942b.zip |
gixy: pin pyparsing at 2.4.7
-rw-r--r-- | pkgs/tools/admin/gixy/default.nix | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/pkgs/tools/admin/gixy/default.nix b/pkgs/tools/admin/gixy/default.nix index 65ca85b463e..03571ac7cf7 100644 --- a/pkgs/tools/admin/gixy/default.nix +++ b/pkgs/tools/admin/gixy/default.nix @@ -1,11 +1,26 @@ { lib, fetchFromGitHub, python3 }: -python3.pkgs.buildPythonApplication rec { +let + python = python3.override { + packageOverrides = self: super: { + pyparsing = super.pyparsing.overridePythonAttrs (oldAttrs: rec { + version = "2.4.7"; + src = fetchFromGitHub { + owner = "pyparsing"; + repo = "pyparsing"; + rev = "pyparsing_${version}"; + sha256 = "14pfy80q2flgzjcx8jkracvnxxnr59kjzp3kdm5nh232gk1v6g6h"; + }; + }); + }; + }; +in +python.pkgs.buildPythonApplication rec { pname = "gixy"; version = "0.1.20"; # package is only compatible with python 2.7 and 3.5+ - disabled = with python3.pkgs; !(pythonAtLeast "3.5" || isPy27); + disabled = with python.pkgs; !(pythonAtLeast "3.5" || isPy27); # fetching from GitHub because the PyPi source is missing the tests src = fetchFromGitHub { @@ -19,7 +34,7 @@ python3.pkgs.buildPythonApplication rec { sed -ie '/argparse/d' setup.py ''; - propagatedBuildInputs = with python3.pkgs; [ + propagatedBuildInputs = with python.pkgs; [ cached-property configargparse pyparsing |