nixpkgs-suyu/pkgs/development/python-modules/pybrowserid/default.nix

24 lines
569 B
Nix

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