summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/ndg-httpsclient
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2023-02-11 14:03:56 +0100
committerGitHub <noreply@github.com>2023-02-11 14:03:56 +0100
commit86a387351acf96b7137f5f385d978bf3681c7239 (patch)
tree893ce1c726bda9df7ec2e3d1649ba811563570ab /pkgs/development/python-modules/ndg-httpsclient
parent5d012c4bb21fa9bee9f34339f95ef8fffa052d56 (diff)
parentd8d4f25cd2ba0af3a7d35ebce9e05d1eb58b03f4 (diff)
Merge branch 'master' into nixos/hostapd
Diffstat (limited to 'pkgs/development/python-modules/ndg-httpsclient')
-rw-r--r--pkgs/development/python-modules/ndg-httpsclient/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/ndg-httpsclient/default.nix b/pkgs/development/python-modules/ndg-httpsclient/default.nix
index 687f589fe1af..39429950b71c 100644
--- a/pkgs/development/python-modules/ndg-httpsclient/default.nix
+++ b/pkgs/development/python-modules/ndg-httpsclient/default.nix
@@ -1,6 +1,7 @@
-{ stdenv
+{ lib
, buildPythonPackage
, fetchFromGitHub
+, pyasn1
, pyopenssl
}:
@@ -8,8 +9,6 @@ buildPythonPackage rec {
version = "0.5.1";
pname = "ndg-httpsclient";
- propagatedBuildInputs = [ pyopenssl ];
-
src = fetchFromGitHub {
owner = "cedadev";
repo = "ndg_httpsclient";
@@ -17,10 +16,16 @@ buildPythonPackage rec {
sha256 = "0lhsgs4am4xyjssng5p0vkfwqncczj1dpa0vss4lrhzq86mnn5rz";
};
+
+ propagatedBuildInputs = [
+ pyasn1
+ pyopenssl
+ ];
+
# uses networking
doCheck = false;
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://github.com/cedadev/ndg_httpsclient/";
description = "Provide enhanced HTTPS support for httplib and urllib2 using PyOpenSSL";
license = licenses.bsd2;