diff options
Diffstat (limited to 'pkgs/development/python-modules/python3-gnutls/default.nix')
| -rw-r--r-- | pkgs/development/python-modules/python3-gnutls/default.nix | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/python3-gnutls/default.nix b/pkgs/development/python-modules/python3-gnutls/default.nix index 6adaf3c03393..48b3b6d54463 100644 --- a/pkgs/development/python-modules/python3-gnutls/default.nix +++ b/pkgs/development/python-modules/python3-gnutls/default.nix @@ -1,5 +1,15 @@ -{ lib, fetchFromGitHub, substituteAll, buildPythonPackage, isPy3k, gnutls -, twisted, pyopenssl, service-identity, setuptools }: +{ + lib, + fetchFromGitHub, + substituteAll, + buildPythonPackage, + isPy3k, + gnutls, + twisted, + pyopenssl, + service-identity, + setuptools, +}: buildPythonPackage rec { pname = "python3-gnutls"; @@ -17,14 +27,18 @@ buildPythonPackage rec { nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ twisted pyopenssl service-identity ]; + propagatedBuildInputs = [ + twisted + pyopenssl + service-identity + ]; patches = [ (substituteAll { src = ./libgnutls-path.patch; gnutlslib = "${lib.getLib gnutls}/lib"; }) - ]; + ]; pythonImportsCheck = [ "gnutls" ]; |
