3
0
Fork 0
forked from mirrors/nixpkgs

dyn: 1.5.0 -> 1.6.3

This commit is contained in:
Samuel Leathers 2017-09-13 21:43:26 -04:00 committed by Franz Pletz
parent 7f89abd820
commit 96bd8daebc
2 changed files with 35 additions and 27 deletions

View 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;
};
}

View file

@ -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 { };