pythonPackages.CacheControl: init at 0.12.5
This commit is contained in:
parent
7dec26dbac
commit
1a7682deb2
34
pkgs/development/python-modules/cachecontrol/default.nix
Normal file
34
pkgs/development/python-modules/cachecontrol/default.nix
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
{ stdenv
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, requests
|
||||||
|
, msgpack
|
||||||
|
, pytest
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
version = "0.12.5";
|
||||||
|
pname = "CacheControl";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "cef77effdf51b43178f6a2d3b787e3734f98ade253fa3187f3bb7315aaa42ff7";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytest ];
|
||||||
|
propagatedBuildInputs = [ requests msgpack ];
|
||||||
|
|
||||||
|
# tests not included with pypi release
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest tests
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/ionrock/cachecontrol;
|
||||||
|
description = "Httplib2 caching for requests";
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = [ maintainers.costrouc ];
|
||||||
|
};
|
||||||
|
}
|
@ -264,6 +264,8 @@ in {
|
|||||||
|
|
||||||
bugseverywhere = callPackage ../applications/version-management/bugseverywhere {};
|
bugseverywhere = callPackage ../applications/version-management/bugseverywhere {};
|
||||||
|
|
||||||
|
cachecontrol = callPackage ../development/python-modules/cachecontrol { };
|
||||||
|
|
||||||
cdecimal = callPackage ../development/python-modules/cdecimal { };
|
cdecimal = callPackage ../development/python-modules/cdecimal { };
|
||||||
|
|
||||||
clustershell = callPackage ../development/python-modules/clustershell { };
|
clustershell = callPackage ../development/python-modules/clustershell { };
|
||||||
|
Loading…
Reference in New Issue
Block a user