summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-bsblan
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2023-08-22 11:15:51 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2023-08-22 11:15:57 +0200
commitf8737ca5baf37a34273ff5feaddc75441993cc73 (patch)
tree8e4577a388358cfb7d24ea8992665315027fdd58 /pkgs/development/python-modules/python-bsblan
parent199b89700d78a3ef66254723231452120284e156 (diff)
python311Packages.python-bsblan: 0.5.11 -> 0.5.12
Diff: https://github.com/liudger/python-bsblan/compare/refs/tags/v0.5.11...v0.5.12 Changelog: https://github.com/liudger/python-bsblan/releases/tag/v0.5.12
Diffstat (limited to 'pkgs/development/python-modules/python-bsblan')
-rw-r--r--pkgs/development/python-modules/python-bsblan/default.nix18
1 files changed, 10 insertions, 8 deletions
diff --git a/pkgs/development/python-modules/python-bsblan/default.nix b/pkgs/development/python-modules/python-bsblan/default.nix
index 7a3cc86a2204..647906511a17 100644
--- a/pkgs/development/python-modules/python-bsblan/default.nix
+++ b/pkgs/development/python-modules/python-bsblan/default.nix
@@ -15,7 +15,7 @@
buildPythonPackage rec {
pname = "python-bsblan";
- version = "0.5.11";
+ version = "0.5.12";
format = "pyproject";
disabled = pythonOlder "3.9";
@@ -24,9 +24,17 @@ buildPythonPackage rec {
owner = "liudger";
repo = pname;
rev = "refs/tags/v${version}";
- hash = "sha256-fTjeJZhKPFi0cxZStegVdq7a48rQ236DnnCGngwZ5GU=";
+ hash = "sha256-ftu79SnVa7wOMx/RiRBDPmmG7Mmw84r30G4yDzBea2k=";
};
+ postPatch = ''
+ substituteInPlace pyproject.toml \
+ --replace 'version = "0.0.0"' 'version = "${version}"' \
+ --replace "--cov" ""
+ sed -i "/covdefaults/d" pyproject.toml
+ sed -i "/ruff/d" pyproject.toml
+ '';
+
nativeBuildInputs = [
poetry-core
];
@@ -45,12 +53,6 @@ buildPythonPackage rec {
pytestCheckHook
];
- postPatch = ''
- substituteInPlace pyproject.toml \
- --replace 'version = "0.0.0"' 'version = "${version}"' \
- --replace "--cov" ""
- '';
-
pythonImportsCheck = [
"bsblan"
];