pythonPackages.certifi: move to separate file
This commit is contained in:
parent
8d52769ef2
commit
a7b206bb89
22
pkgs/development/python-modules/certifi/default.nix
Normal file
22
pkgs/development/python-modules/certifi/default.nix
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{ lib
|
||||||
|
, fetchPypi
|
||||||
|
, buildPythonPackage
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "certifi";
|
||||||
|
version = "2017.1.23";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1klrzl3hgvcf2mjk00g0k3kk1p2z27vzwnxivwar4vhjmjvpz1w1";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://certifi.io/;
|
||||||
|
description = "Python package for providing Mozilla's CA Bundle";
|
||||||
|
license = lib.licenses.isc;
|
||||||
|
maintainers = with lib.maintainers; [ koral ];
|
||||||
|
};
|
||||||
|
}
|
@ -3695,22 +3695,7 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
certifi = buildPythonPackage rec {
|
certifi = callPackage ../development/python-modules/certifi { };
|
||||||
name = "certifi-${version}";
|
|
||||||
version = "2017.1.23";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/c/certifi/${name}.tar.gz";
|
|
||||||
sha256 = "1klrzl3hgvcf2mjk00g0k3kk1p2z27vzwnxivwar4vhjmjvpz1w1";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://certifi.io/;
|
|
||||||
description = "Python package for providing Mozilla's CA Bundle";
|
|
||||||
license = licenses.isc;
|
|
||||||
maintainers = with maintainers; [ koral ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
characteristic = buildPythonPackage rec {
|
characteristic = buildPythonPackage rec {
|
||||||
name = "characteristic-14.1.0";
|
name = "characteristic-14.1.0";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user