Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
865 B · 50 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051{ lib, buildPythonPackage, fetchFromGitHub, ecdsa, rsa, pycrypto, pyasn1, pycryptodome, cryptography, pytestCheckHook}:
buildPythonPackage rec { pname = "python-jose"; version = "3.3.0";
src = fetchFromGitHub { owner = "mpdavis"; repo = pname; rev = version; hash = "sha256-6VGC6M5oyGCOiXcYp6mpyhL+JlcYZKIqOQU9Sm/TkKM="; };
propagatedBuildInputs = [ cryptography ecdsa pyasn1 pycrypto pycryptodome rsa ];
nativeCheckInputs = [ pytestCheckHook ];
postPatch = '' substituteInPlace setup.py \ --replace '"pytest-runner",' "" '';
pythonImportsCheck = [ "jose" ];
meta = with lib; { homepage = "https://github.com/mpdavis/python-jose"; description = "A JOSE implementation in Python"; license = licenses.mit; maintainers = with maintainers; [ jhhuh ]; };}