python3Packages.minidb: 2.0.5 -> 2.0.6
This commit is contained in:
parent
e025b7b588
commit
914545b23f
|
@ -1,32 +1,37 @@
|
||||||
{ lib, buildPythonPackage, fetchFromGitHub, isPy3k
|
{ lib
|
||||||
, nose
|
, buildPythonPackage
|
||||||
, pytest
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "minidb";
|
pname = "minidb";
|
||||||
version = "2.0.5";
|
version = "2.0.6";
|
||||||
disabled = !isPy3k;
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "thp";
|
owner = "thp";
|
||||||
repo = "minidb";
|
repo = "minidb";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "sha256-aUXsp0E89OxCgTaz7MpKmqTHZfnjDcyHa8Ckzof9rfg=";
|
hash = "sha256-H7W+GBapT9uJgbPlARp4ZLKTN7hZlF/FbNo7rObqDM4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# module imports are incompatible with python2
|
checkInputs = [
|
||||||
doCheck = isPy3k;
|
pytestCheckHook
|
||||||
checkInputs = [ nose pytest ];
|
];
|
||||||
checkPhase = ''
|
|
||||||
pytest
|
pythonImportsCheck = [
|
||||||
'';
|
"minidb"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
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/";
|
homepage = "https://thp.io/2010/minidb/";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = [ maintainers.tv ];
|
maintainers = with maintainers; [ tv ];
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue