Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, buildPythonPackage, fetchFromGitHub, pytest }: 2 3buildPythonPackage rec { 4 pname = "sqlitedict"; 5 version = "1.6.0"; 6 7 src = fetchFromGitHub { 8 owner = "RaRe-Technologies"; 9 repo = "sqlitedict"; 10 rev = version; 11 sha256 = "1yq94lgpny9qcfbsl39npjvrsjfggi3lj2kpzcsxcfdfgxag6m2m"; 12 }; 13 14 checkInputs = [ pytest ]; 15 16 checkPhase = '' 17 pytest tests 18 ''; 19 20 meta = with lib; { 21 description = "Persistent, thread-safe dict"; 22 homepage = "https://github.com/RaRe-Technologies/sqlitedict"; 23 license = licenses.asl20; 24 maintainers = [ maintainers.arnoldfarkas ]; 25 }; 26}