Merge pull request #249839 from tjni/bitlist

python3.pkgs.bitlist: 1.1.0 -> 1.2.0
This commit is contained in:
Nick Cao
2023-08-18 08:25:33 +08:00
committed by GitHub
@@ -1,7 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, setuptools
, wheel
, parts
@@ -11,25 +10,16 @@
buildPythonPackage rec {
pname = "bitlist";
version = "1.1.0";
version = "1.2.0";
format = "pyproject";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-eViakuhgSe9E8ltxzeg8m6/ze7QQvoKBtYZoBZzHxlA=";
hash = "sha256-+/rBno+OH7yEiN4K9VC6BCEPuOv8nNp0hU+fWegjqPw=";
};
patches = [
# https://github.com/lapets/bitlist/pull/1
(fetchpatch {
name = "unpin-setuptools-dependency.patch";
url = "https://github.com/lapets/bitlist/commit/d1f977a9e835852df358b2d93b642a6820619c10.patch";
hash = "sha256-BBa6gdhuYsWahtp+Qdp/RigmVHK+uWyK46M1CdD8O2g=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace '--cov=bitlist --cov-report term-missing' ""