mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-06 12:14:40 +00:00
pythonPackages.dns: 1.12.0 -> 1.14.0 (#16534)
Adds support for both python 2 & 3 from one codebase.
This commit is contained in:
parent
52a1df089f
commit
2e68b655a2
@ -5390,19 +5390,15 @@ in modules // {
|
||||
|
||||
dns = buildPythonPackage rec {
|
||||
name = "dnspython-${version}";
|
||||
version = "1.12.0";
|
||||
version = "1.14.0";
|
||||
|
||||
src = if isPy3k then pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/dnspython3/dnspython3-${version}.zip";
|
||||
sha256 = "138wxj702vx6zni9g2y8dbgbpin95v6hk23rh2kwfr3q4130jqz9";
|
||||
} else pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/dnspython/${name}.tar.gz";
|
||||
sha256 = "0kvjlkp96qzh3j31szpjlzqbp02brixh4j4clnpw80b0hspq5yq3";
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://pypi/d/dnspython/${name}.zip";
|
||||
sha256 = "1p1i46fyhxfic8mfh3gfckpn2pn7282xqabhihiqymrp4sa8ni91";
|
||||
};
|
||||
|
||||
# Not supported.
|
||||
# See instead https://pypi.python.org/pypi/dnspython3/1.12.0
|
||||
disabled = isPy3k;
|
||||
# needs networking for some tests
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "A DNS toolkit for Python 3.x";
|
||||
|
Loading…
Reference in New Issue
Block a user