python3Packages.py-tes: migrate to finalAttrs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
sphinx-rtd-theme,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "py-tes";
|
||||
version = "1.1.4";
|
||||
pyproject = true;
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "ohsu-comp-bio";
|
||||
repo = "py-tes";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-/xgycSDFp17rPzC6ICf4e+vrIKWYPftDngx/u1/KHWk=";
|
||||
};
|
||||
|
||||
@@ -47,8 +47,8 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python SDK for the GA4GH Task Execution API";
|
||||
homepage = "https://github.com/ohsu-comp-bio/py-tes";
|
||||
changelog = "https://github.com/ohsu-comp-bio/py-tes/releases/tag/${version}";
|
||||
changelog = "https://github.com/ohsu-comp-bio/py-tes/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user