mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 02:33:25 +00:00
25 lines
615 B
Nix
25 lines
615 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, cryptography, ecdsa
|
|
, pytestrunner, pytestcov, pytest }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyJWT";
|
|
version = "1.7.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cryptography ecdsa ];
|
|
|
|
checkInputs = [ pytestrunner pytestcov pytest ];
|
|
|
|
meta = with lib; {
|
|
description = "JSON Web Token implementation in Python";
|
|
homepage = https://github.com/jpadilla/pyjwt;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ prikhi ];
|
|
};
|
|
}
|