python.pkgs.pybrowserid: move expression and 0.9.2 -> 0.14.0 (#42814)

This commit is contained in:
worldofpeace 2018-06-30 13:01:07 +00:00 committed by xeji
parent c9f9ec6f18
commit bae87d5042
2 changed files with 25 additions and 22 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi
, requests, mock }:
buildPythonPackage rec {
pname = "PyBrowserID";
version = "0.14.0";
src = fetchPypi {
inherit pname version;
sha256 = "1qvi79kfb8x9kxkm5lw2mp42hm82cpps1xknmsb5ghkwx1lpc8kc";
};
propagatedBuildInputs = [ requests ];
checkInputs = [ mock ];
meta = with stdenv.lib; {
description = "Python library for the BrowserID Protocol";
homepage = https://github.com/mozilla/PyBrowserID;
license = licenses.mpl20;
maintainers = with maintainers; [ worldofpeace ];
};
}

View file

@ -15509,28 +15509,7 @@ EOF
libarcus = callPackage ../development/python-modules/libarcus { };
pybrowserid = buildPythonPackage rec {
name = "PyBrowserID-${version}";
version = "0.9.2";
disabled = isPy3k; # Errors in the test suite.
src = pkgs.fetchgit {
url = https://github.com/mozilla/PyBrowserID.git;
rev = "refs/tags/${version}";
sha256 = "0zsljr45gm8a4c0lxh6mgfc60a5fijhs4pwijb9fdkq16zw0pmf0";
};
doCheck = false; # some tests use networking
buildInputs = with self; [ mock unittest2 ];
propagatedBuildInputs = with self; [ requests ];
meta = {
description = "Python library for the BrowserID Protocol";
homepage = "https://github.com/mozilla/PyBrowserID";
license = licenses.mpl20;
};
};
pybrowserid = callPackage ../development/python-modules/pybrowserid { };
pyzmq = callPackage ../development/python-modules/pyzmq { };