Merge pull request #104807 from SuperSandro2000/auto-update/python3.7-b2sdk
This commit is contained in:
commit
9d5d6b0a26
@ -3,13 +3,13 @@
|
|||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "b2sdk";
|
pname = "b2sdk";
|
||||||
version = "1.1.4";
|
version = "1.2.0";
|
||||||
|
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0g527qdda105r5g9yjh4lxzlmz34m2bdz8dydqqy09igdsmiyi9j";
|
sha256 = "8e46ff9d47a9b90d8b9beab1969fcf4920300b02e20e6bf0745be04e09e8a6ff";
|
||||||
};
|
};
|
||||||
|
|
||||||
pythonImportsCheck = [ "b2sdk" ];
|
pythonImportsCheck = [ "b2sdk" ];
|
||||||
|
@ -0,0 +1,28 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi, isPy27, pytestCheckHook }:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "phx-class-registry";
|
||||||
|
version = "3.0.5";
|
||||||
|
|
||||||
|
disabled = isPy27;
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "14iap8db2ldmnlf5kvxs52aps31rl98kpa5nq8wdm30a86n6457i";
|
||||||
|
};
|
||||||
|
|
||||||
|
checkInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
"test_branding"
|
||||||
|
"test_happy_path"
|
||||||
|
"test_len"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "Registry pattern for Python classes, with setuptools entry points integration";
|
||||||
|
homepage = "https://github.com/todofixthis/class-registry";
|
||||||
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||||
|
};
|
||||||
|
}
|
@ -1,34 +1,29 @@
|
|||||||
{
|
{ fetchFromGitHub, lib, python3Packages }:
|
||||||
fetchFromGitHub,
|
|
||||||
lib,
|
|
||||||
python3Packages,
|
|
||||||
}:
|
|
||||||
|
|
||||||
python3Packages.buildPythonApplication rec {
|
python3Packages.buildPythonApplication rec {
|
||||||
pname = "backblaze-b2";
|
pname = "backblaze-b2";
|
||||||
version = "2.0.2";
|
version = "2.1.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "Backblaze";
|
owner = "Backblaze";
|
||||||
repo = "B2_Command_Line_Tool";
|
repo = "B2_Command_Line_Tool";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "00zs0a580vvfm2w4ja68mc46360p475wlgagjkq1hi4m8s4qwd75";
|
sha256 = "1kkpvxqgh5pw4kr8lh5gy9d7960hv9zvajbjiqhj6xgykwbpbgmq";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with python3Packages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
b2sdk
|
b2sdk
|
||||||
class-registry
|
class-registry
|
||||||
|
phx-class-registry
|
||||||
setuptools
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = with python3Packages; [
|
checkInputs = with python3Packages; [ pytestCheckHook ];
|
||||||
nose
|
|
||||||
];
|
|
||||||
|
|
||||||
# doCheck = false;
|
disabledTests = [
|
||||||
checkPhase = ''
|
"test_files_headers"
|
||||||
nosetests
|
"test_integration"
|
||||||
'';
|
];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv "$out/bin/b2" "$out/bin/backblaze-b2"
|
mv "$out/bin/b2" "$out/bin/backblaze-b2"
|
||||||
|
@ -4548,6 +4548,8 @@ in {
|
|||||||
|
|
||||||
phpserialize = callPackage ../development/python-modules/phpserialize { };
|
phpserialize = callPackage ../development/python-modules/phpserialize { };
|
||||||
|
|
||||||
|
phx-class-registry = callPackage ../development/python-modules/phx-class-registry { };
|
||||||
|
|
||||||
piccata = callPackage ../development/python-modules/piccata { };
|
piccata = callPackage ../development/python-modules/piccata { };
|
||||||
|
|
||||||
pickleshare = callPackage ../development/python-modules/pickleshare { };
|
pickleshare = callPackage ../development/python-modules/pickleshare { };
|
||||||
|
Loading…
Reference in New Issue
Block a user