1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 00:19:25 +03:00
nixpkgs/pkgs/development/python-modules/sqlitedict/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
624 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "sqlitedict";
version = "1.7.0";
2020-08-25 12:07:09 +10:00
src = fetchFromGitHub {
owner = "RaRe-Technologies";
repo = "sqlitedict";
rev = version;
sha256 = "08fr81rz1fz35d35kravg7vl234aqagr9wqb09x6wi9lx9zkkh28";
};
2020-08-25 12:07:09 +10:00
preCheck = ''
mkdir tests/db
'';
2020-08-25 12:07:09 +10:00
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Persistent, thread-safe dict";
homepage = "https://github.com/RaRe-Technologies/sqlitedict";
license = licenses.asl20;
maintainers = [ maintainers.arnoldfarkas ];
};
}