pythonPackages.python-lz4: 2.1.2 -> 2.1.6

This commit is contained in:
Jonathan Ringer 2019-08-01 11:41:10 -07:00 committed by Frederik Rietdijk
parent 727921c7a6
commit 32b24cc9f6

View File

@ -1,29 +1,30 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, pytestrunner
, pytest
, psutil
, setuptools_scm
, pkgconfig
, isPy3k
, future , future
, isPy3k
, pkgconfig
, psutil
, pytest
, pytestcov
, pytestrunner
, setuptools_scm
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "python-lz4"; pname = "python-lz4";
version = "2.1.2"; version = "2.1.6";
# get full repository inorder to run tests # get full repository inorder to run tests
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
sha256 = "1kzzdfkrq9nnlh0wssa6ccncvv0sk4wmhivhgyndjxz6d6przl5d"; sha256 = "1gx228946c2w645sh190m7ixfd0zfkdl3i8ybga77jz2sn1chzdi";
}; };
buildInputs = [ setuptools_scm pkgconfig pytestrunner ]; buildInputs = [ setuptools_scm pkgconfig pytestrunner ];
checkInputs = [ pytest psutil ]; checkInputs = [ pytest pytestcov psutil ];
propagatedBuildInputs = lib.optionals (!isPy3k) [ future ]; propagatedBuildInputs = lib.optionals (!isPy3k) [ future ];
# give a hint to setuptools_scm on package version # give a hint to setuptools_scm on package version