python3Packages.bitlist: 0.6.2 -> 0.7.0

This commit is contained in:
Fabian Affolter 2022-03-14 14:32:16 +01:00
parent 05d738afe8
commit 2a03d6f2bf

View file

@ -4,16 +4,19 @@
, nose , nose
, parts , parts
, pytestCheckHook , pytestCheckHook
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "bitlist"; pname = "bitlist";
version = "0.6.2"; version = "0.7.0";
format = "setuptools"; format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "69cf632ca61b5fb5d2fd7587ddf023bcab8f327302f15070ec9079b68df9082a"; sha256 = "sha256-p3Gws48u1/AzltbtPyWvSX4O0u4MgSXiVq4GstpPCCg=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -29,6 +32,11 @@ buildPythonPackage rec {
"bitlist" "bitlist"
]; ];
postPatch = ''
substituteInPlace setup.cfg \
--replace " --cov=bitlist --cov-report term-missing" ""
'';
meta = with lib; { meta = with lib; {
description = "Python library for working with little-endian list representation of bit strings"; description = "Python library for working with little-endian list representation of bit strings";
homepage = "https://github.com/lapets/bitlist"; homepage = "https://github.com/lapets/bitlist";