python3Packages.python-socks: switch to finalAttrs
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
yarl,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "python-socks";
|
||||
version = "2.8.1";
|
||||
pyproject = true;
|
||||
@@ -26,7 +26,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "romis2012";
|
||||
repo = "python-socks";
|
||||
tag = "v${version}";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-Eu4xeBZbZvAGfFArMiUlUQQa4yywKWj+azv+OHiKJfU=";
|
||||
};
|
||||
|
||||
@@ -58,10 +58,10 @@ buildPythonPackage rec {
|
||||
pythonImportsCheck = [ "python_socks" ];
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/romis2012/python-socks/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/romis2012/python-socks/releases/tag/${finalAttrs.src.tag}";
|
||||
description = "Core proxy client (SOCKS4, SOCKS5, HTTP) functionality for Python";
|
||||
homepage = "https://github.com/romis2012/python-socks";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user