python312Packages.parts: refactor

- add changelog to meta
This commit is contained in:
Fabian Affolter
2025-05-01 09:30:12 +02:00
committed by GitHub
parent 2b8a8b6cea
commit 6fa588ba18
@@ -2,27 +2,20 @@
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools,
wheel,
}:
buildPythonPackage rec {
pname = "parts";
version = "3.0.0";
format = "pyproject";
disabled = pythonOlder "3.7";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-MuZDe/j04sE8tX6658zYwbebwGYp7r3wVBbumoBJ2WQ=";
};
nativeBuildInputs = [
setuptools
wheel
];
build-system = [ setuptools ];
# Project has no tests
doCheck = false;
@@ -32,7 +25,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for common list functions related to partitioning lists";
homepage = "https://github.com/lapets/parts";
license = with licenses; [ mit ];
changelog = "https://github.com/lapets/parts/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}