ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / sqlitedict / default.nix
blob5634eb41601a16c326fb5980bd01cc2b44504f80
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pytestCheckHook
5 }:
7 buildPythonPackage rec {
8   pname = "sqlitedict";
9   version = "2.0.0";
11   src = fetchFromGitHub {
12     owner = "RaRe-Technologies";
13     repo = "sqlitedict";
14     rev = "refs/tags/${version}";
15     sha256 = "sha256-8dmGn5h3NigCdDtnDYjpjntRpyjk7ivRp1B8x8nUgpE=";
16   };
18   preCheck = ''
19     mkdir tests/db
20   '';
22   checkInputs = [
23     pytestCheckHook
24   ];
26   meta = with lib; {
27     description = "Persistent, thread-safe dict";
28     homepage = "https://github.com/RaRe-Technologies/sqlitedict";
29     license = licenses.asl20;
30     maintainers = [ maintainers.arnoldfarkas ];
31   };