Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / python-modules / plyvel / default.nix
blob2d412c12d16eca274944d184dd1406a56817da7b
1 { lib
2 , buildPythonPackage
3 , fetchPypi
4 , pkgs
5 , pytest
6 , isPy3k
7 }:
9 buildPythonPackage rec {
10   pname = "plyvel";
11   version = "1.5.0";
13   src = fetchPypi {
14     inherit pname version;
15     hash = "sha256-zZGOCzFpCrzT0gKodCyvlRqy/hVz3nr3HDhFaEf5ICs=";
16   };
18   buildInputs = [ pkgs.leveldb ] ++ lib.optional isPy3k pytest;
20   # no tests for python2
21   doCheck = isPy3k;
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   };