python3Packages.releases: init at 1.6.3

This commit is contained in:
Samuel Ainsworth 2022-03-27 13:39:30 -07:00
parent 12417777b2
commit 82761fb688
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,37 @@
{ buildPythonPackage
, fetchFromGitHub
, lib
, semantic-version
, sphinx
}:
buildPythonPackage rec {
pname = "releases";
version = "1.6.3";
format = "setuptools";
src = fetchFromGitHub {
owner = "bitprophet";
repo = pname;
rev = version;
hash = "sha256-XX2e6bjBNMun31h0sNJ9ieZE01U+PhA5JYYNOuMgD20=";
};
postPatch = ''
substituteInPlace setup.py --replace "semantic_version<2.7" "semantic_version"
'';
propagatedBuildInputs = [ semantic-version sphinx ];
# Test suite doesn't run. See https://github.com/bitprophet/releases/issues/95.
doCheck = false;
pythonImportsCheck = [ "releases" ];
meta = with lib; {
description = "A Sphinx extension for changelog manipulation";
homepage = "https://github.com/bitprophet/releases";
license = licenses.bsd2;
maintainers = with maintainers; [ samuela ];
};
}

View file

@ -8698,6 +8698,8 @@ in {
relatorio = callPackage ../development/python-modules/relatorio { };
releases = callPackage ../development/python-modules/releases { };
remarshal = callPackage ../development/python-modules/remarshal { };
renault-api = callPackage ../development/python-modules/renault-api { };