Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / tokenlib / default.nix
blobbed053f828268c04e35f36655c2c0d98888fbb3e
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , requests
5 , webob
6 }:
8 buildPythonPackage rec {
9   pname = "tokenlib";
10   version = "0.3.1";
12   src = fetchFromGitHub {
13     owner = "mozilla-services";
14     repo = pname;
15     rev = "refs/tags/${version}";
16     sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
17   };
19   propagatedBuildInputs = [ requests webob ];
21   meta = with lib; {
22     homepage = "https://github.com/mozilla-services/tokenlib";
23     description = "Generic support library for signed-token-based auth schemes";
24     license = licenses.mpl20;
25   };