python3Pakcages.pynfsclient: migrate to finalAttrs
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pynfsclient";
|
||||
version = "1.0.6";
|
||||
pyproject = true;
|
||||
@@ -13,7 +13,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "Pennyw0rth";
|
||||
repo = "NfsClient";
|
||||
rev = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9PV/RpK/rOI9jpTDy0FmkXY2Cf54vve6j1kM5dcZgV8=";
|
||||
};
|
||||
|
||||
@@ -27,11 +27,11 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Pure python library to simulate NFS client";
|
||||
homepage = "https://github.com/Pennyw0rth/NfsClient";
|
||||
changelog = "https://github.com/Pennyw0rth/NfsClient/releases/tag/v${version}";
|
||||
changelog = "https://github.com/Pennyw0rth/NfsClient/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [
|
||||
fab
|
||||
letgamer
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user