3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.twentemilieu: 0.3.0 -> 0.5.0

This commit is contained in:
Martin Weinelt 2021-12-11 20:40:35 +01:00
parent b11d09f793
commit a7760fb114
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -2,6 +2,7 @@
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, aiohttp
, yarl
, aresponses
@ -11,16 +12,27 @@
buildPythonPackage rec {
pname = "twentemilieu";
version = "0.3.0";
disabled = pythonOlder "3.7";
version = "0.5.0";
format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "frenck";
repo = "python-twentemilieu";
rev = "v${version}";
sha256 = "1ff35sh73m2s7fh4d8p2pjwdbfljswr8b8lpcjybz8nsh0286xph";
sha256 = "sha256-7HQ0+h8oiyY+TacQdX84K0r994rH0AMZAvZz8PUvQl0=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov" ""
'';
nativeBuildInputs = [
poetry-core
];
propagatedBuildInputs = [
aiohttp
yarl