Merge master into staging-next
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, tatsu, arrow
|
||||
, pytest-sugar, pytestpep8, pytest-flakes, pytestcov
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ics";
|
||||
version = "0.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "C4ptainCrunch";
|
||||
repo = "ics.py";
|
||||
rev = "v${version}";
|
||||
sha256 = "02bs9wlh40p1n33jchrl2cdpsnm5hq84070by3b6gm0vmgz6gn5v";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ tatsu arrow ];
|
||||
checkInputs = [ pytest-sugar pytestpep8 pytest-flakes pytestcov ];
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Pythonic and easy iCalendar library (RFC 5545)";
|
||||
longDescription = ''
|
||||
Ics.py is a pythonic and easy iCalendar library. Its goals are to read and
|
||||
write ics data in a developer friendly way.
|
||||
'';
|
||||
homepage = "http://icspy.readthedocs.org/en/stable/";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
};
|
||||
|
||||
}
|
||||
@@ -7,7 +7,7 @@ buildPythonPackage rec {
|
||||
version = "2.1";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0e4c278310a5e1ecd565f09555b89ed923cac100b2525797201d2a89dcab337c";
|
||||
sha256 = "0z1kmgf8jahx42bmflmj030wl8yrksw5b5ghcpayrqd5221jfk0f";
|
||||
};
|
||||
|
||||
doCheck = false;
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pelican";
|
||||
version = "4.1.1";
|
||||
version = "4.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "getpelican";
|
||||
repo = "pelican";
|
||||
rev = version;
|
||||
sha256 = "08lwbkgqdf6qx9vg17qj70k7nz2j34ymlnrc4cbz7xj98cw4ams1";
|
||||
sha256 = "0w9nqdw2jmqc6kqwg4rh6irr5k6j7hk8axg6vgd137rs50v62yv5";
|
||||
# Remove unicode file names which leads to different checksums on HFS+
|
||||
# vs. other filesystems because of unicode normalisation.
|
||||
extraPostFetch = ''
|
||||
@@ -31,7 +31,7 @@ buildPythonPackage rec {
|
||||
glibcLocales
|
||||
# Note: Pelican has to adapt to a changed CLI of pandoc before enabling this
|
||||
# again. Compare https://github.com/getpelican/pelican/pull/2252.
|
||||
# Version 4.1.1 is incompatible with our current pandoc version.
|
||||
# Version 4.2.0 is incompatible with our current pandoc version.
|
||||
# pandoc
|
||||
git
|
||||
mock
|
||||
|
||||
@@ -22,17 +22,17 @@ stdenv.mkDerivation rec {
|
||||
dontCheck = true;
|
||||
|
||||
installPhase = ''
|
||||
install -D py3buddy.py $out/lib/${python.libPrefix}/site-packages/py3buddy.py
|
||||
install -D py3buddy.py $out/${python.sitePackages}/py3buddy.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
install -D 99-ibuddy.rules $out/lib/udev/rules.d/99-ibuddy.rules
|
||||
'';
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "Code to work with the iBuddy MSN figurine";
|
||||
homepage = "https://github.com/armijnhemel/py3buddy";
|
||||
license = with stdenv.lib.licenses; [ mit ];
|
||||
maintainers = with stdenv.lib.maintainers; [ prusnak ];
|
||||
license = with licenses; [ mit ];
|
||||
maintainers = with maintainers; [ prusnak ];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
{ lib, buildPythonPackage, fetchPypi }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-logstash";
|
||||
version = "0.4.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "13763yx0k655y0c8gxv7jj6cqp45zypx2fmnc56jnn9zz1fkx50h";
|
||||
};
|
||||
|
||||
# no tests
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python logging handler for Logstash";
|
||||
homepage = https://github.com/vklochan/python-logstash;
|
||||
maintainers = with maintainers; [ peterromfeldhk ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{ stdenv, buildPythonPackage, fetchPypi, requests }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "python-nomad";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1rf6ad35vg3yi1p4l383xwx0ammdvr1k71bxg93bgcvljypx4cyn";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests ];
|
||||
|
||||
# Tests require nomad agent
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python client library for Hashicorp Nomad";
|
||||
homepage = "https://github.com/jrxFive/python-nomad";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ xbreak ];
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchFromGitHub
|
||||
, nose
|
||||
, plumbum
|
||||
}:
|
||||
@@ -9,12 +9,21 @@ buildPythonPackage rec {
|
||||
pname = "rpyc";
|
||||
version = "4.1.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0df276076891797bbaaff322cc6debb02e10817426bba00a9beca915053a8a91";
|
||||
src = fetchFromGitHub {
|
||||
owner = "tomerfiliba";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1xvrcik1650r1412fg79va0kd0fgg1ml241y1ai429qwy87dil1k";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ nose plumbum ];
|
||||
propagatedBuildInputs = [ plumbum ];
|
||||
|
||||
checkInputs = [ nose ];
|
||||
checkPhase = ''
|
||||
cd tests
|
||||
# some tests have added complexities and some tests attempt network use
|
||||
nosetests -I test_deploy -I test_gevent_server -I test_ssh -I test_registry
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Remote Python Call (RPyC), a transparent and symmetric RPC library";
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
{ stdenv, buildPythonPackage, fetchFromGitHub, pythonOlder
|
||||
, colorama, mypy, pyyaml, regex
|
||||
, dataclasses, typing
|
||||
, pytestrunner, pytest-mypy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "TatSu";
|
||||
version = "4.4.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "neogeny";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1jjd73yr3x56ij2ggxf6s62mf90i9v7wn3i0h67zxys55hlp2yh4";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pytestrunner ];
|
||||
propagatedBuildInputs = [ colorama mypy pyyaml regex ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.7") [ dataclasses ]
|
||||
++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
|
||||
checkInputs = [ pytest-mypy ];
|
||||
|
||||
checkPhase = ''
|
||||
pytest test/
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Generates Python parsers from grammars in a variation of EBNF";
|
||||
longDescription = ''
|
||||
TatSu (the successor to Grako) is a tool that takes grammars in a
|
||||
variation of EBNF as input, and outputs memoizing (Packrat) PEG parsers in
|
||||
Python.
|
||||
'';
|
||||
homepage = "https://tatsu.readthedocs.io/";
|
||||
license = licenses.bsd2;
|
||||
maintainers = with maintainers; [ primeos ];
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user