a0cb138ada
GitOrigin-RevId: a100acd7bbf105915b0004427802286c37738fef
37 lines
679 B
Nix
37 lines
679 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pytestCheckHook
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "minidb";
|
|
version = "2.0.7";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "thp";
|
|
repo = "minidb";
|
|
rev = "refs/tags/${version}";
|
|
hash = "sha256-0f2usKoHs4NO/Ir8MhyiAVZFYnUkVH5avdh3QdHzY6s=";
|
|
};
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"minidb"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "SQLite3-based store for Python objects";
|
|
homepage = "https://thp.io/2010/minidb/";
|
|
license = licenses.isc;
|
|
maintainers = with maintainers; [ tv ];
|
|
};
|
|
}
|
|
|