Merge pull request #235163 from natsukium/pdm/update
pdm: 2.6.1 -> 2.7.0; python3Packages.cacheyou: init at 23.3
This commit is contained in:
commit
a64b73e07d
3 changed files with 67 additions and 3 deletions
62
pkgs/development/python-modules/cacheyou/default.nix
Normal file
62
pkgs/development/python-modules/cacheyou/default.nix
Normal file
|
@ -0,0 +1,62 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, cherrypy
|
||||
, fetchPypi
|
||||
, filelock
|
||||
, msgpack
|
||||
, pdm-backend
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, redis
|
||||
, requests
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cacheyou";
|
||||
version = "23.3";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-fkCPFfSXj+oiR3NLMIYh919/4Wm0YWeVGccuioXWHV0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
pdm-backend
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
msgpack
|
||||
requests
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
filecache = [
|
||||
filelock
|
||||
];
|
||||
redis = [
|
||||
redis
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
cherrypy
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.filecache;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cacheyou"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "The httplib2 caching algorithms packaged up for use with requests";
|
||||
homepage = "https://github.com/frostming/cacheyou";
|
||||
changelog = "https://github.com/frostming/cacheyou/releases/tag/${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
};
|
||||
}
|
|
@ -24,13 +24,13 @@ in
|
|||
with python.pkgs;
|
||||
buildPythonApplication rec {
|
||||
pname = "pdm";
|
||||
version = "2.6.1";
|
||||
version = "2.7.0";
|
||||
format = "pyproject";
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-EFlYhJovjZqp7yGDosUOrp60rEf8gScs1QT92ckO3qI=";
|
||||
hash = "sha256-4dyu/neMFX/U1RuI0ZEBzdbONIHvdWyvpy1Gu5iMAcg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -39,7 +39,7 @@ buildPythonApplication rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
blinker
|
||||
cachecontrol
|
||||
cacheyou
|
||||
certifi
|
||||
findpython
|
||||
installer
|
||||
|
|
|
@ -1585,6 +1585,8 @@ self: super: with self; {
|
|||
|
||||
cachey = callPackage ../development/python-modules/cachey { };
|
||||
|
||||
cacheyou = callPackage ../development/python-modules/cacheyou { };
|
||||
|
||||
cachy = callPackage ../development/python-modules/cachy { };
|
||||
|
||||
cadquery = callPackage ../development/python-modules/cadquery {
|
||||
|
|
Loading…
Reference in a new issue