python3Packages.minidb: 2.0.5 -> 2.0.6
This commit is contained in:
parent
e025b7b588
commit
914545b23f
1 changed files with 20 additions and 15 deletions
|
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue