dosage: 2.17 -> 3.0

fix build
This commit is contained in:
ocfox
2024-10-03 10:23:28 +08:00
parent fbdb99df92
commit e53c4a5cbd
+15 -5
View File
@@ -2,21 +2,31 @@
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
];
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 = {