python3Packages.cart: modernize
This commit is contained in:
@@ -7,15 +7,17 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "cart";
|
||||
version = "1.2.3";
|
||||
pyproject = true;
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "CybercentreCanada";
|
||||
repo = "cart";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-oeWeay1Pr9T4oR3XSrwv9hRr/sLTel1Bt6BG6jHXxIA=";
|
||||
};
|
||||
|
||||
@@ -33,8 +35,8 @@ buildPythonPackage rec {
|
||||
description = "Python module for the CaRT Neutering format";
|
||||
mainProgram = "cart";
|
||||
homepage = "https://github.com/CybercentreCanada/cart";
|
||||
changelog = "https://github.com/CybercentreCanada/cart/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/CybercentreCanada/cart/releases/tag/${finalAttrs.src.tag}";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user