1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

xml2rfc: 3.21.0 -> 3.23.0 (#337504)

This commit is contained in:
Weijia Wang 2024-09-11 14:43:28 +02:00 committed by GitHub
commit 39bc620994
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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";
@ -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 = [
@ -64,7 +61,6 @@ buildPythonPackage rec {
pypdf2
pyyaml
requests
six
wcwidth
];