python.pkgs.pyopenssl: use fetchPypi

This commit is contained in:
Frederik Rietdijk 2017-10-07 11:15:07 +02:00
parent aa3535cee5
commit 360a5efd93
1 changed files with 4 additions and 3 deletions

View File

@ -17792,11 +17792,12 @@ in {
};
pyopenssl = buildPythonPackage rec {
name = "pyopenssl-${version}";
pname = "pyOpenSSL";
name = "${pname}-${version}";
version = "17.2.0";
src = pkgs.fetchurl {
url = "mirror://pypi/p/pyOpenSSL/pyOpenSSL-${version}.tar.gz";
src = self.fetchPypi {
inherit pname version;
sha256 = "0d283g4zi0hr9papd24mjl70mi15gyzq6fx618rizi87dgipqqax";
};