Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 578 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pkgs 5, pytest 6, isPy3k 7}: 8 9buildPythonPackage rec { 10 pname = "plyvel"; 11 version = "1.5.0"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-zZGOCzFpCrzT0gKodCyvlRqy/hVz3nr3HDhFaEf5ICs="; 16 }; 17 18 buildInputs = [ pkgs.leveldb ] ++ lib.optional isPy3k pytest; 19 20 # no tests for python2 21 doCheck = isPy3k; 22 23 meta = with lib; { 24 description = "Fast and feature-rich Python interface to LevelDB"; 25 platforms = platforms.unix; 26 homepage = "https://github.com/wbolster/plyvel"; 27 license = licenses.bsd3; 28 }; 29}