From cafc4786f1fe84c3572329bc2de062e7a4af423f Mon Sep 17 00:00:00 2001 From: Chris Ostrouchov Date: Fri, 30 Nov 2018 08:13:41 -0500 Subject: [PATCH] pythonPackages.jwcrypto: init at 0.6.0 dependency for broken github3_py --- .../python-modules/jwcrypto/default.nix | 26 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 pkgs/development/python-modules/jwcrypto/default.nix diff --git a/pkgs/development/python-modules/jwcrypto/default.nix b/pkgs/development/python-modules/jwcrypto/default.nix new file mode 100644 index 000000000000..9b219127069e --- /dev/null +++ b/pkgs/development/python-modules/jwcrypto/default.nix @@ -0,0 +1,26 @@ +{ lib +, buildPythonPackage +, fetchPypi +, cryptography +}: + +buildPythonPackage rec { + pname = "jwcrypto"; + version = "0.6.0"; + + src = fetchPypi { + inherit pname version; + sha256 = "a87ac0922d09d9a65011f76d99849f1fbad3d95439c7452cebf4ab0871c2b665"; + }; + + propagatedBuildInputs = [ + cryptography + ]; + + meta = with lib; { + description = "Implementation of JOSE Web standards"; + homepage = https://github.com/latchset/jwcrypto; + license = licenses.lgpl3Plus; + maintainers = [ maintainers.costrouc ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 6ae03faa0b24..b22aa11c45c8 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -412,6 +412,8 @@ in { jira = callPackage ../development/python-modules/jira { }; + jwcrypto = callPackage ../development/python-modules/jwcrypto { }; + lammps-cython = callPackage ../development/python-modules/lammps-cython { mpi = pkgs.openmpi; };