Merge pull request #166138 from fabaff/minidb-bump

python3Packages.minidb: 2.0.5 -> 2.0.6
This commit is contained in:
Fabian Affolter 2022-03-29 00:41:08 +02:00 committed by GitHub
commit 559e5a9827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,32 +1,37 @@
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
, nose
, pytest
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "minidb";
version = "2.0.5";
disabled = !isPy3k;
version = "2.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "thp";
repo = "minidb";
rev = version;
sha256 = "sha256-aUXsp0E89OxCgTaz7MpKmqTHZfnjDcyHa8Ckzof9rfg=";
hash = "sha256-H7W+GBapT9uJgbPlARp4ZLKTN7hZlF/FbNo7rObqDM4=";
};
# module imports are incompatible with python2
doCheck = isPy3k;
checkInputs = [ nose pytest ];
checkPhase = ''
pytest
'';
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [
"minidb"
];
meta = with lib; {
description = "A simple SQLite3-based store for Python objects";
description = "SQLite3-based store for Python objects";
homepage = "https://thp.io/2010/minidb/";
license = licenses.isc;
maintainers = [ maintainers.tv ];
maintainers = with maintainers; [ tv ];
};
}