pythonPackages.sqlitedict: init at 1.6.0

This commit is contained in:
Farkas, Arnold 2020-01-27 04:19:42 -05:00 committed by Jon
parent 6be8389b04
commit af19743739
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchFromGitHub, pytest }:
buildPythonPackage rec {
pname = "sqlitedict";
version = "1.6.0";
src = fetchFromGitHub {
owner = "RaRe-Technologies";
repo = "sqlitedict";
rev = version;
sha256 = "1yq94lgpny9qcfbsl39npjvrsjfggi3lj2kpzcsxcfdfgxag6m2m";
};
checkInputs = [ pytest ];
checkPhase = ''
pytest tests
'';
meta = with lib; {
description = "Persistent, thread-safe dict";
homepage = "https://github.com/RaRe-Technologies/sqlitedict";
license = licenses.asl20;
maintainers = [ maintainers.arnoldfarkas ];
};
}

View File

@ -5878,6 +5878,8 @@ in {
sqlite3dbm = callPackage ../development/python-modules/sqlite3dbm { };
sqlitedict = callPackage ../development/python-modules/sqlitedict { };
sqlobject = callPackage ../development/python-modules/sqlobject { };
sqlmap = callPackage ../development/python-modules/sqlmap { };