Skip to content

Commit

Permalink
dyn: 1.5.0 -> 1.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Leathers authored and fpletz committed Sep 18, 2017
1 parent 7f89abd commit 96bd8da
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 27 deletions.
34 changes: 34 additions & 0 deletions pkgs/development/python-modules/dyn/default.nix
@@ -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;
};
}
28 changes: 1 addition & 27 deletions pkgs/top-level/python-packages.nix
Expand Up @@ -5086,33 +5086,7 @@ in {
inherit (pkgs) fetchFromGitHub bluez;
};

dyn = buildPythonPackage rec {
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;
};
};
dyn = callPackage ../development/python-modules/dyn { };

easydict = callPackage ../development/python-modules/easydict { };

Expand Down

0 comments on commit 96bd8da

Please sign in to comment.