Skip to content

Commit

Permalink
xml2rfc: 3.21.0 -> 3.23.0 (#337504)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Sep 11, 2024
2 parents 65c4fc0 + 8e4b8f8 commit 39bc620
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions pkgs/development/python-modules/xml2rfc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@
pythonOlder,
pyyaml,
requests,
six,
wcwidth,
}:

buildPythonPackage rec {
pname = "xml2rfc";
version = "3.21.0";
version = "3.23.0";
format = "setuptools";

disabled = pythonOlder "3.8";
Expand All @@ -37,15 +36,13 @@ buildPythonPackage rec {
owner = "ietf-tools";
repo = "xml2rfc";
rev = "refs/tags/v${version}";
hash = "sha256-7lYNEyoLYbxn1ld08eXaN8BumYhN9EftpHQKxdu64MY=";
hash = "sha256-6yjWDHcEp1NLqyNopaKvLHtCstpVRPBdy2UiLa5Zvnw=";
};

postPatch = ''
substituteInPlace Makefile \
--replace "SHELL := /bin/bash" "SHELL := bash" \
--replace "test flaketest" "test"
substituteInPlace setup.py \
--replace "'tox'," ""
--replace-fail "SHELL := /bin/bash" "SHELL := bash" \
--replace-fail "test flaketest" "test"
'';

propagatedBuildInputs = [
Expand All @@ -64,7 +61,6 @@ buildPythonPackage rec {
pypdf2
pyyaml
requests
six
wcwidth
];

Expand Down

0 comments on commit 39bc620

Please sign in to comment.