fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
40 lines
977 B
Nix
40 lines
977 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
setuptools,
|
|
tomli,
|
|
wheel,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "setuptools-changelog-shortener";
|
|
version = "0.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "fschulze";
|
|
repo = "setuptools-changelog-shortener";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-K8oVcX40K5j2CwQnulK55HykkEXAmOiUg4mZPg5T+YI=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools
|
|
tomli
|
|
wheel
|
|
];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "setuptools_changelog_shortener" ];
|
|
|
|
meta = with lib; {
|
|
description = "Setuptools-changelog-shortener: add only newest changelog entries to long_description";
|
|
homepage = "https://github.com/fschulze/setuptools-changelog-shortener";
|
|
changelog = "https://github.com/fschulze/setuptools-changelog-shortener/blob/${src.rev}/README.rst#changelog";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ natsukium ];
|
|
};
|
|
}
|