default.nix (894B)
1 { 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5 binapy, 6 }: 7 8 python3Packages.buildPythonPackage (finalAttrs: { 9 pname = "jwskate"; 10 version = "0.12.2"; 11 pyproject = true; 12 13 src = fetchFromGitHub { 14 owner = "guillp"; 15 repo = "jwskate"; 16 tag = "v${finalAttrs.version}"; 17 hash = "sha256-yWsZb340Hwo63e6Ass7El8MJ4wK6uHODkghVdSFvu+U="; 18 }; 19 20 build-system = with python3Packages; [ hatchling ]; 21 22 dependencies = with python3Packages; [ 23 binapy 24 cryptography 25 typing-extensions 26 ]; 27 28 nativeCheckInputs = with python3Packages; [ 29 jwcrypto 30 pytestCheckHook 31 pytest-cov-stub 32 pytest-freezer 33 ]; 34 35 meta = { 36 description = "A Pythonic implementation of the JOSE / JSON Web Crypto related RFCs (JWS, JWK, JWA, JWT, JWE)"; 37 homepage = "https://github.com/guillp/jwskate"; 38 license = lib.licenses.mit; 39 maintainers = [ lib.maintainers.sikmir ]; 40 }; 41 })
