python3Pakcages.pywerview: migrate to finalAttrs
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pywerview";
|
||||
version = "0.7.6";
|
||||
pyproject = true;
|
||||
@@ -19,7 +19,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "the-useless-one";
|
||||
repo = "pywerview";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-i4YV6PfcazoW8z2Awbn8ake4qhA/m43UzECqiEO4QLg=";
|
||||
};
|
||||
|
||||
@@ -46,9 +46,9 @@ buildPythonPackage rec {
|
||||
meta = {
|
||||
description = "Module for PowerSploit's PowerView support";
|
||||
homepage = "https://github.com/the-useless-one/pywerview";
|
||||
changelog = "https://github.com/the-useless-one/pywerview/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/the-useless-one/pywerview/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
mainProgram = "pywerview";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user