Fabian Affolter 2023-10-27 10:53:11 +02:00
parent 0d4a1a205f
commit ec82c6066e

View File

@ -9,21 +9,21 @@
buildPythonPackage rec {
pname = "camel-converter";
version = "3.0.3";
format = "pyproject";
version = "3.1.0";
pyproject = true;
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "sanders41";
repo = pname;
repo = "camel-converter";
rev = "refs/tags/v${version}";
hash = "sha256-0sNb1zg8cnDjQQnStfe1k8uB1GpmNtd/VwqSqTcLmj0=";
hash = "sha256-ASUwSA63iUgeRfYdO6InZ8YzEbifQh1hr3fUbE3FYac=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace "--cov=camel_converter --cov-report term-missing" ""
--replace "--cov=camel_converter --cov-report term-missing --no-cov-on-fail" ""
'';
nativeBuildInputs = [