mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 03:15:56 +03:00
python.pkgs.oauthlib: 2.0.0 -> 3.0.1
This commit is contained in:
parent
254099bf7d
commit
fc2a5acd03
@ -1,31 +1,33 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchurl
|
, fetchPypi
|
||||||
, mock
|
, mock
|
||||||
, nose
|
, pytest
|
||||||
, unittest2
|
|
||||||
, cryptography
|
, cryptography
|
||||||
, blinker
|
, blinker
|
||||||
, pyjwt
|
, pyjwt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "2.0.0";
|
version = "3.0.1";
|
||||||
pname = "oauthlib";
|
pname = "oauthlib";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchPypi {
|
||||||
url = "https://github.com/idan/oauthlib/archive/v${version}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "02b645a8rqh4xfs1cmj8sss8wqppiadd1ndq3av1cdjz2frfqcjf";
|
sha256 = "0ce32c5d989a1827e3f1148f98b9085ed2370fc939bf524c9c851d8714797298";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ mock nose unittest2 ];
|
checkInputs = [ mock pytest ];
|
||||||
propagatedBuildInputs = [ cryptography blinker pyjwt ];
|
propagatedBuildInputs = [ cryptography blinker pyjwt ];
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
py.test tests/
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://github.com/idan/oauthlib;
|
homepage = https://github.com/idan/oauthlib;
|
||||||
downloadPage = https://github.com/idan/oauthlib/releases;
|
|
||||||
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic";
|
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic";
|
||||||
maintainers = with maintainers; [ prikhi ];
|
maintainers = with maintainers; [ prikhi ];
|
||||||
|
license = licenses.bsd3;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user