python3Packages.awesomeversion: 24.6.0 -> 25.8.0
https://github.com/ludeeus/awesomeversion/releases/tag/25.8.0 This commit was automatically generated using update-python-libraries.
This commit is contained in:
@@ -3,14 +3,15 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
poetry-core,
|
||||
hatchling,
|
||||
pytest-codspeed,
|
||||
pytest-snapshot,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "awesomeversion";
|
||||
version = "24.6.0";
|
||||
version = "25.8.0";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -19,7 +20,7 @@ buildPythonPackage rec {
|
||||
owner = "ludeeus";
|
||||
repo = "awesomeversion";
|
||||
tag = version;
|
||||
hash = "sha256-lpG42Be0MVinWX5MyDvBPdoZFx66l6tpUxpAJRqEf88=";
|
||||
hash = "sha256-2CEuJagUkYwtjzpQLYLlz+V5e2feEU6di3wI0+uWuy4=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -28,11 +29,12 @@ buildPythonPackage rec {
|
||||
--replace-fail 'version = "0"' 'version = "${version}"'
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
nativeBuildInputs = [ hatchling ];
|
||||
|
||||
pythonImportsCheck = [ "awesomeversion" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-codspeed
|
||||
pytest-snapshot
|
||||
pytestCheckHook
|
||||
];
|
||||
@@ -40,7 +42,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Python module to deal with versions";
|
||||
homepage = "https://github.com/ludeeus/awesomeversion";
|
||||
changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${version}";
|
||||
changelog = "https://github.com/ludeeus/awesomeversion/releases/tag/${src.tag}";
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user