pythonPackages.publicsuffix2: init at 2.2019-12-21
This commit is contained in:
parent
257aff8010
commit
a3e64e81fc
26
pkgs/development/python-modules/publicsuffix2/default.nix
Normal file
26
pkgs/development/python-modules/publicsuffix2/default.nix
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchFromGitHub, requests }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "publicsuffix2";
|
||||||
|
version = "2.20191221";
|
||||||
|
|
||||||
|
# Tests are missing in the sdist
|
||||||
|
# See: https://github.com/nexB/python-publicsuffix2/issues/12
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "nexB";
|
||||||
|
repo = "python-publicsuffix2";
|
||||||
|
rev = "release-2.2019-12-21";
|
||||||
|
sha256 = "1dkvfvl0izq9hqzilnw8ipkbgjs9xyad9p21i3864hzinbh0wp9r";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ requests ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = ''
|
||||||
|
Get a public suffix for a domain name using the Public Suffix
|
||||||
|
List. Forked from and using the same API as the publicsuffix package.
|
||||||
|
'';
|
||||||
|
homepage = "https://pypi.python.org/pypi/publicsuffix2/";
|
||||||
|
license = licenses.mpl20;
|
||||||
|
};
|
||||||
|
}
|
@ -5038,6 +5038,8 @@ in {
|
|||||||
|
|
||||||
publicsuffix = callPackage ../development/python-modules/publicsuffix {};
|
publicsuffix = callPackage ../development/python-modules/publicsuffix {};
|
||||||
|
|
||||||
|
publicsuffix2 = callPackage ../development/python-modules/publicsuffix2 {};
|
||||||
|
|
||||||
py = callPackage ../development/python-modules/py { };
|
py = callPackage ../development/python-modules/py { };
|
||||||
|
|
||||||
pyacoustid = callPackage ../development/python-modules/pyacoustid { };
|
pyacoustid = callPackage ../development/python-modules/pyacoustid { };
|
||||||
|
Loading…
Reference in New Issue
Block a user