python3Packages.pyfaidx: modernize
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
setuptools-scm,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pyfaidx";
|
||||
version = "0.9.0.4";
|
||||
pyproject = true;
|
||||
@@ -21,7 +21,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "mdshw5";
|
||||
repo = "pyfaidx";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-hefRqpI9xzlfdUbr8mpQ6I1+EGAmS50f28avbtRMlSk=";
|
||||
};
|
||||
|
||||
@@ -51,9 +51,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Python classes for indexing, retrieval, and in-place modification of FASTA files using a samtools compatible index";
|
||||
homepage = "https://github.com/mdshw5/pyfaidx";
|
||||
changelog = "https://github.com/mdshw5/pyfaidx/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/mdshw5/pyfaidx/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ jbedo ];
|
||||
mainProgram = "faidx";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user