1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-15 09:03:48 +00:00
nixpkgs/pkgs/development/python-modules/pyjwt/default.nix

25 lines
615 B
Nix
Raw Normal View History

2018-08-21 00:33:44 +01:00
{ lib, buildPythonPackage, fetchPypi
, cryptography, ecdsa
, pytestrunner, pytestcov, pytest }:
2018-08-21 00:33:44 +01:00
buildPythonPackage rec {
pname = "PyJWT";
2019-02-14 07:37:26 +00:00
version = "1.7.1";
2018-08-21 00:33:44 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:26 +00:00
sha256 = "8d59a976fb773f3e6a39c85636357c4f0e242707394cadadd9814f5cbaa20e96";
2018-08-21 00:33:44 +01:00
};
propagatedBuildInputs = [ cryptography ecdsa ];
checkInputs = [ pytestrunner pytestcov pytest ];
2018-08-21 00:33:44 +01:00
meta = with lib; {
description = "JSON Web Token implementation in Python";
homepage = https://github.com/jpadilla/pyjwt;
license = licenses.mit;
maintainers = with maintainers; [ prikhi ];
};
}