tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
zk-shell: switch to python3, cleanup
Sandro Jäckel
4 years ago
30f537a5
2cbbea18
+16
-11
1 changed file
expand all
collapse all
unified
split
pkgs
applications
misc
zk-shell
default.nix
+16
-11
pkgs/applications/misc/zk-shell/default.nix
···
1
1
-
{ lib, fetchFromGitHub, pythonPackages }:
1
1
+
{ lib, fetchFromGitHub, python3Packages }:
2
2
3
3
-
pythonPackages.buildPythonApplication rec {
3
3
+
python3Packages.buildPythonApplication rec {
4
4
+
pname = "zk-shell";
4
5
version = "1.0.0";
5
5
-
name = "zk-shell-" + version;
6
6
7
7
src = fetchFromGitHub {
8
8
owner = "rgs1";
···
11
11
sha256 = "0zisvvlclsf4sdh7dpqcl1149xbxw6pi1aqcwjbqblgf8m4nm0c7";
12
12
};
13
13
14
14
-
propagatedBuildInputs = (with pythonPackages; [
15
15
-
ansi kazoo nose six tabulate twitter
16
16
-
]);
14
14
+
propagatedBuildInputs = with python3Packages; [
15
15
+
ansi
16
16
+
kazoo
17
17
+
nose
18
18
+
six
19
19
+
tabulate
20
20
+
twitter
21
21
+
];
17
22
18
18
-
#requires a running zookeeper, don't know how to fix that for the moment
23
23
+
# requires a running zookeeper, don't know how to fix that for the moment
19
24
doCheck = false;
20
25
21
21
-
meta = {
26
26
+
meta = with lib; {
22
27
description = "A powerful & scriptable shell for Apache ZooKeeper";
23
28
homepage = "https://github.com/rgs1/zk_shell";
24
24
-
license = lib.licenses.asl20;
25
25
-
maintainers = [ lib.maintainers.mahe ];
26
26
-
platforms = lib.platforms.all;
29
29
+
license = licenses.asl20;
30
30
+
maintainers = [ maintainers.mahe ];
31
31
+
platforms = platforms.all;
27
32
};
28
33
}