mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
25 lines
621 B
Nix
25 lines
621 B
Nix
{ lib, buildPythonPackage, fetchPypi
|
|
, cryptography, ecdsa
|
|
, pytestrunner, pytestcov, pytest_37 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "PyJWT";
|
|
version = "1.6.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "4ee413b357d53fd3fb44704577afac88e72e878716116270d722723d65b42176";
|
|
};
|
|
|
|
propagatedBuildInputs = [ cryptography ecdsa ];
|
|
|
|
checkInputs = [ pytestrunner pytestcov pytest_37 ];
|
|
|
|
meta = with lib; {
|
|
description = "JSON Web Token implementation in Python";
|
|
homepage = https://github.com/jpadilla/pyjwt;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ prikhi ];
|
|
};
|
|
}
|