mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
27 lines
576 B
Nix
27 lines
576 B
Nix
{ stdenv
|
|
, buildPythonPackage
|
|
, fetchgit
|
|
, requests
|
|
, webob
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "tokenlib";
|
|
version = "0.3.1";
|
|
|
|
src = fetchgit {
|
|
url = https://github.com/mozilla-services/tokenlib.git;
|
|
rev = "refs/tags/${version}";
|
|
sha256 = "0bq6dqyfwh29pg8ngmrm4mx4q27an9lsj0p9l79p9snn4g2rxzc8";
|
|
};
|
|
|
|
propagatedBuildInputs = [ requests webob ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/mozilla-services/tokenlib;
|
|
description = "Generic support library for signed-token-based auth schemes";
|
|
license = licenses.mpl20;
|
|
};
|
|
|
|
}
|