package.nix (942B)
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 disabledTestPaths = [ "tests/test_jws.py" ]; 36 37 meta = { 38 description = "A Pythonic implementation of the JOSE / JSON Web Crypto related RFCs (JWS, JWK, JWA, JWT, JWE)"; 39 homepage = "https://github.com/guillp/jwskate"; 40 license = lib.licenses.mit; 41 maintainers = [ lib.maintainers.sikmir ]; 42 }; 43 })
