forked from mirrors/nixpkgs
dyn: 1.5.0 -> 1.6.3
This commit is contained in:
parent
7f89abd820
commit
96bd8daebc
34
pkgs/development/python-modules/dyn/default.nix
Normal file
34
pkgs/development/python-modules/dyn/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
{ stdenv, buildPythonPackage, fetchPypi, pytest, pytestcov, mock, pytestpep8
|
||||||
|
, pytest_xdist, covCore, glibcLocales }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "dyn";
|
||||||
|
version = "1.6.3";
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "1xq90fliix5nbv934s3wf2pahmx6m2b9y0kqwn192c76qh7xlzib";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ glibcLocales ];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytest
|
||||||
|
pytestcov
|
||||||
|
mock
|
||||||
|
pytestpep8
|
||||||
|
pytest_xdist
|
||||||
|
covCore
|
||||||
|
];
|
||||||
|
# Disable checks because they are not stateless and require internet access.
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
LC_ALL="en_US.UTF-8";
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Dynect dns lib";
|
||||||
|
homepage = "http://dyn.readthedocs.org/en/latest/intro.html";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
};
|
||||||
|
}
|
|
@ -5086,33 +5086,7 @@ in {
|
||||||
inherit (pkgs) fetchFromGitHub bluez;
|
inherit (pkgs) fetchFromGitHub bluez;
|
||||||
};
|
};
|
||||||
|
|
||||||
dyn = buildPythonPackage rec {
|
dyn = callPackage ../development/python-modules/dyn { };
|
||||||
version = "1.5.0";
|
|
||||||
name = "dyn-${version}";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/d/dyn/${name}.tar.gz";
|
|
||||||
sha256 = "dc4b4b2a5d9d26f683230fd822641b39494df5fcbfa716281d126ea6425dd4c3";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [
|
|
||||||
pytest
|
|
||||||
pytestcov
|
|
||||||
mock
|
|
||||||
pytestpep8
|
|
||||||
pytest_xdist
|
|
||||||
covCore
|
|
||||||
pkgs.glibcLocales
|
|
||||||
];
|
|
||||||
|
|
||||||
LC_ALL="en_US.UTF-8";
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
description = "Dynect dns lib";
|
|
||||||
homepage = "http://dyn.readthedocs.org/en/latest/intro.html";
|
|
||||||
license = licenses.bsd3;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
easydict = callPackage ../development/python-modules/easydict { };
|
easydict = callPackage ../development/python-modules/easydict { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue