dosage: 2.17 -> 3.0 (#346046)

This commit is contained in:
toonn
2024-10-03 12:43:57 +02:00
committed by GitHub
+28 -7
View File
@@ -1,22 +1,43 @@
{ lib, python3Packages, fetchPypi }:
{
lib,
python3Packages,
fetchPypi,
}:
python3Packages.buildPythonApplication rec {
pname = "dosage";
version = "2.17";
version = "3.0";
src = fetchPypi {
inherit pname version;
sha256 = "0vmxgn9wd3j80hp4gr5iq06jrl4gryz5zgfdd2ah30d12sfcfig0";
sha256 = "sha256-mHV/U9Vqv7fSsLYNrCXckkJ1YpsccLd8HsJ78IwLX0Y=";
};
pyproject = true;
nativeCheckInputs = with python3Packages; [
pytestCheckHook pytest-xdist responses
pytestCheckHook
pytest-xdist
responses
];
nativeBuildInputs = with python3Packages; [ setuptools-scm ];
build-system = [ python3Packages.setuptools-scm ];
propagatedBuildInputs = with python3Packages; [
colorama imagesize lxml requests setuptools six
dependencies = with python3Packages; [
colorama
imagesize
lxml
requests
six
platformdirs
];
disabledTests = [
# need network connect to api.github.com
"test_update_available"
"test_no_update_available"
"test_update_broken"
"test_current"
];
meta = {