Merge pull request #46668 from mbode/doitlive_4

doitlive: 3.0.3 -> 4.0.1
This commit is contained in:
Jörg Thalheim 2018-09-24 13:26:27 +01:00 committed by GitHub
commit 3e270ff919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 73 additions and 3 deletions

View File

@ -0,0 +1,23 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k,
click, jinja2, shellingham, six
}:
buildPythonPackage rec {
pname = "click-completion";
version = "0.4.1";
disabled = (!isPy3k);
src = fetchPypi {
inherit pname version;
sha256 = "1fjm22dyma26jrx4ki2z4dwbhcah4r848fz381x64sz5xxq3xdrk";
};
propagatedBuildInputs = [ click jinja2 shellingham six ];
meta = with stdenv.lib; {
description = "Add or enhance bash, fish, zsh and powershell completion in Click";
homepage = https://github.com/click-contrib/click-completion;
license = licenses.mit;
maintainers = with maintainers; [ mbode ];
};
}

View File

@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi,
click
}:
buildPythonPackage rec {
pname = "click-didyoumean";
version = "0.0.3";
src = fetchPypi {
inherit pname version;
sha256 = "1svaza5lpvdbmyrx5xi0riqzq4hb9wnlpqrg6r8zy14pbi42j8hi";
};
propagatedBuildInputs = [ click ];
meta = with stdenv.lib; {
description = "Enable git-like did-you-mean feature in click";
homepage = https://github.com/click-contrib/click-didyoumean;
license = licenses.mit;
maintainers = with maintainers; [ mbode ];
};
}

View File

@ -0,0 +1,19 @@
{ stdenv, buildPythonPackage, fetchPypi
}:
buildPythonPackage rec {
pname = "shellingham";
version = "1.2.6";
src = fetchPypi {
inherit pname version;
sha256 = "0x1hja3jzvh7xmd0sxnfw9hi3k419s95vb7jjzh76yydzvss1r2q";
};
meta = with stdenv.lib; {
description = "Tool to Detect Surrounding Shell";
homepage = https://github.com/sarugaku/shellingham;
license = licenses.isc;
maintainers = with maintainers; [ mbode ];
};
}

View File

@ -2,14 +2,14 @@
python3Packages.buildPythonApplication rec {
pname = "doitlive";
version = "3.0.3";
version = "4.0.1";
src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "19i16ca835rb3gal1sxyvpyilj9a80n6nikf0smlzmxck38x86fj";
sha256 = "1icnjkczy52i3cp1fmsijqny571fz1h4b3wpdzz79cn90fr326pc";
};
propagatedBuildInputs = with python3Packages; [ click ];
propagatedBuildInputs = with python3Packages; [ click click-completion click-didyoumean ];
# disable tests (too many failures)
doCheck = false;

View File

@ -560,6 +560,8 @@ in {
serversyncstorage = callPackage ../development/python-modules/serversyncstorage {};
shellingham = callPackage ../development/python-modules/shellingham {};
simpleeval = callPackage ../development/python-modules/simpleeval { };
singledispatch = callPackage ../development/python-modules/singledispatch { };
@ -1544,6 +1546,10 @@ in {
click = callPackage ../development/python-modules/click {};
click-completion = callPackage ../development/python-modules/click-completion {};
click-didyoumean = callPackage ../development/python-modules/click-didyoumean {};
click-log = callPackage ../development/python-modules/click-log {};
click-plugins = callPackage ../development/python-modules/click-plugins {};