Commit dc103664 authored by Benjamin Sparks's avatar Benjamin Sparks
Browse files

python3Packages.python-socks: switch to finalAttrs

parent 1dff9282
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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 = [ ];
  };
}
})