Merge pull request #68631 from xtruder/pkgs/rdbtools/init

rdbtools: init at 0.1.14
This commit is contained in:
Jaka Hudoklin 2019-12-29 11:26:29 +00:00 committed by GitHub
commit 3da80f0f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
version = "0.2.4";
pname = "python-lzf";
src = fetchPypi {
inherit pname version;
sha256 = "1l8m6vzwm1m8hn7ldw8j8r2b6r199k8z3q0wnhdyy4p68hahyhni";
};
meta = with stdenv.lib; {
description = "liblzf python bindings";
homepage = https://github.com/teepark/python-lzf;
license = licenses.mit;
platforms = platforms.unix;
};
}

View File

@ -0,0 +1,25 @@
{ stdenv, python }:
with python.pkgs;
buildPythonApplication rec {
pname = "rdbtools";
version = "0.1.14";
src = fetchPypi {
inherit pname version;
sha256 = "03vdwwkqz8py6c3wfgx402rn8pjjfn44w3gbxzr60lbkx27m63yj";
};
propagatedBuildInputs = [ redis python-lzf ];
# No tests in published package
doCheck = false;
meta = with stdenv.lib; {
description = "Parse Redis dump.rdb files, Analyze Memory, and Export Data to JSON";
homepage = https://github.com/sripathikrishnan/redis-rdb-tools;
license = licenses.mit;
maintainers = with maintainers; [ offline ];
};
}

View File

@ -5977,6 +5977,8 @@ in
rc = callPackage ../shells/rc { };
rdbtools = callPackage ../development/tools/rdbtools { python = python3; };
rdma-core = callPackage ../os-specific/linux/rdma-core { };
react-native-debugger = callPackage ../development/tools/react-native-debugger { };

View File

@ -2920,6 +2920,8 @@ in {
inherit (pkgs) meson pkgconfig;
};
python-lzf = callPackage ../development/python-modules/python-lzf { };
pyramid = callPackage ../development/python-modules/pyramid { };
pyramid_beaker = callPackage ../development/python-modules/pyramid_beaker { };