Merge pull request #120193 from fabaff/license-dnspython

Sandro d239bc36 951e194c

Changed files
+18 -10
pkgs
development
python-modules
dnspython
+9 -5
pkgs/development/python-modules/dnspython/1.nix
···
-
{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
buildPythonPackage rec {
pname = "dnspython";
···
# needs networking for some tests
doCheck = false;
-
meta = {
-
description = "A DNS toolkit for Python 3.x";
homepage = "http://www.dnspython.org";
-
# BSD-like, check https://www.dnspython.org/LICENSE for details
-
license = lib.licenses.free;
};
}
···
+
{ lib
+
, buildPythonPackage
+
, fetchPypi
+
, pythonOlder
+
}:
buildPythonPackage rec {
pname = "dnspython";
···
# needs networking for some tests
doCheck = false;
+
pythonImportsCheck = [ "dns" ];
+
meta = with lib; {
+
description = "A DNS toolkit for Python";
homepage = "http://www.dnspython.org";
+
license = with licenses; [ isc ];
};
}
+9 -5
pkgs/development/python-modules/dnspython/default.nix
···
-
{ buildPythonPackage, fetchPypi, lib, pythonOlder }:
buildPythonPackage rec {
pname = "dnspython";
···
# needs networking for some tests
doCheck = false;
-
meta = {
-
description = "A DNS toolkit for Python 3.x";
homepage = "http://www.dnspython.org";
-
# BSD-like, check https://www.dnspython.org/LICENSE for details
-
license = lib.licenses.free;
};
}
···
+
{ lib
+
, buildPythonPackage
+
, fetchPypi
+
, pythonOlder
+
}:
buildPythonPackage rec {
pname = "dnspython";
···
# needs networking for some tests
doCheck = false;
+
pythonImportsCheck = [ "dns" ];
+
meta = with lib; {
+
description = "A DNS toolkit for Python";
homepage = "http://www.dnspython.org";
+
license = with licenses; [ isc ];
};
}