depot/third_party/nixpkgs/pkgs/development/python-modules/sqlitedict/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

32 lines
624 B
Nix

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