nixpkgs/pkgs/development/python-modules/plyvel/default.nix
R. RyanTM a117531c9a python36Packages.plyvel: 0.9 -> 1.0.5
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.6-plyvel/versions
2018-11-08 21:54:19 -08:00

30 lines
565 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, pkgs
, pytest
, isPy3k
}:
buildPythonPackage rec {
pname = "plyvel";
version = "1.0.5";
src = fetchPypi {
inherit pname version;
sha256 = "14cbdyq1s8xmvha3lj942gw478cd6jyhkw8n0mhxpgbz8px9jkfn";
};
buildInputs = [ pkgs.leveldb ] ++ stdenv.lib.optional isPy3k pytest;
# no tests for python2
doCheck = isPy3k;
meta = with stdenv.lib; {
description = "Fast and feature-rich Python interface to LevelDB";
homepage = https://github.com/wbolster/plyvel;
license = licenses.bsd3;
};
}