mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
python310Packages.prefixed: add changelog to meta
- disable on unsupported Python releases
This commit is contained in:
parent
59695cfb73
commit
a80f8fe1a3
1 changed files with 12 additions and 3 deletions
|
@ -2,24 +2,33 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "prefixed";
|
pname = "prefixed";
|
||||||
version = "0.5.0";
|
version = "0.5.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-sTTXNBNiULF7aO7eZaM3D6sBNEEstmvIvjVo/wW9+OQ=";
|
hash = "sha256-sTTXNBNiULF7aO7eZaM3D6sBNEEstmvIvjVo/wW9+OQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "prefixed" ];
|
pythonImportsCheck = [
|
||||||
|
"prefixed"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Prefixed alternative numeric library";
|
description = "Prefixed alternative numeric library";
|
||||||
homepage = "https://github.com/Rockhopper-Technologies/prefixed";
|
homepage = "https://github.com/Rockhopper-Technologies/prefixed";
|
||||||
|
changelog = "https://github.com/Rockhopper-Technologies/prefixed/releases/tag/${version}";
|
||||||
license = with licenses; [ mpl20 ];
|
license = with licenses; [ mpl20 ];
|
||||||
maintainers = with maintainers; [ veprbl ];
|
maintainers = with maintainers; [ veprbl ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue