Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 90ce71eb0cce
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 12c71a8cbc22
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 31, 2018

  1. python.pkgs.python-jose: 2.0.2 -> 3.0.0

    Robert Schütz committed Jul 31, 2018
    Copy the full SHA
    a6d3577 View commit details

Commits on Aug 1, 2018

  1. Merge pull request #44261 from dotlambda/python-jose-3.0.0

    python.pkgs.python-jose: 2.0.2 -> 3.0.0
    Mic92 authored Aug 1, 2018
    Copy the full SHA
    12c71a8 View commit details
Showing with 7 additions and 8 deletions.
  1. +7 −8 pkgs/development/python-modules/python-jose/default.nix
15 changes: 7 additions & 8 deletions pkgs/development/python-modules/python-jose/default.nix
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, future, six, ecdsa, pycryptodome, pytest, cryptography
, six, ecdsa, rsa, future, pytest, cryptography, pycryptodome
}:

buildPythonPackage rec {
pname = "python-jose";
version = "2.0.2";
version = "3.0.0";

# no tests in PyPI tarball
src = fetchFromGitHub {
owner = "mpdavis";
repo = "python-jose";
# 2.0.2 not tagged on GitHub
# see https://github.com/mpdavis/python-jose/issues/86
rev = "28cc6719eceb89129eed59c25f7bdac015665bdd";
sha256 = "03wkq2rszy0rzy5gygsh4s7i6ls8zflgbcvxnflvmh7nis7002fp";
rev = version;
sha256 = "1dq8v87abqxv07wi403ywjk9jg1da125fviycqzki48cjxx0dhwj";
};

checkInputs = [
pytest
cryptography # optional dependency, but needed in tests
# optional dependencies, but needed in tests
cryptography pycryptodome
];
checkPhase = ''
py.test
'';

propagatedBuildInputs = [ future six ecdsa pycryptodome ];
propagatedBuildInputs = [ six ecdsa rsa future ];

meta = with stdenv.lib; {
homepage = https://github.com/mpdavis/python-jose;