depot/third_party/nixpkgs/pkgs/development/python-modules/minidb/default.nix
Default email 8a45d4525b Project import generated by Copybara.
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
2022-03-30 11:31:56 +02:00

37 lines
658 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
, pythonOlder
}:
buildPythonPackage rec {
pname = "minidb";
version = "2.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "thp";
repo = "minidb";
rev = version;
hash = "sha256-H7W+GBapT9uJgbPlARp4ZLKTN7hZlF/FbNo7rObqDM4=";
};
checkInputs = [
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 ];
};
}