mozlz4a: replace lz4 alias with proper name

lz4 used to package the same package as python-lz4, then lz4 was
removed and became an alias to python-lz4
This commit is contained in:
Dmitry Kalinkin 2018-12-06 02:10:30 -05:00
parent be94ca4ada
commit c217d67be3
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,5 @@
{stdenv, fetchurl, python3, pylz4}:
{ stdenv, fetchurl, python3 }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";
pname = "mozlz4a";
@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
chmod a+x "$out/bin/mozlz4a"
'';
buildInputs = [ pylz4 python3 ];
buildInputs = [ python3 python3.pkgs.python-lz4 ];
meta = {
inherit version;

View File

@ -1693,9 +1693,7 @@ in
mongodb-tools = callPackage ../tools/misc/mongodb-tools { };
mozlz4a = callPackage ../tools/compression/mozlz4a {
pylz4 = python3Packages.lz4;
};
mozlz4a = callPackage ../tools/compression/mozlz4a { };
msr-tools = callPackage ../os-specific/linux/msr-tools { };