Merge branch 'master' into staging

This commit is contained in:
Daiderd Jordan
2018-04-24 20:22:01 +02:00
125 changed files with 4253 additions and 1787 deletions

View File

@@ -2,24 +2,13 @@
buildPythonPackage rec {
pname = "faulthandler";
version = "3.0";
version = "3.1";
src = fetchPypi {
inherit pname version;
sha256 = "acc10e10909f0f956ba1b42b6c450ea0bdaaa27b3942899f65931396cfcdd36a";
sha256 = "83301ffab03c86b291677b64b5cec7026f412cbda5ebd27e4cb3338452c40021";
};
patches = [
(fetchpatch {
url = https://github.com/vstinner/faulthandler/commit/67b661e.patch;
sha256 = "1nn8c9nq5qypja949hzz0n4yprsyr63wihf5g3gwrinm2nkjnnv7";
})
(fetchpatch {
url = https://github.com/vstinner/faulthandler/commit/07cbb7b.patch;
sha256 = "0fh6rjyjw7z1hsiy3sgdc8j9mncg1vlv3y0h4bplqyw18vq3srb3";
})
];
meta = {
description = "Dump the Python traceback";
license = stdenv.lib.licenses.bsd2;

View File

@@ -0,0 +1,44 @@
{ stdenv
, buildPythonPackage
, fetchpatch
, fetchPypi
, flask
, flask-silk
, future
}:
buildPythonPackage rec {
pname = "Flask-AutoIndex";
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "19b10mb1nrqfjyafki6wnrbn8mqi30bbyyiyvp5xssc74pciyfqs";
};
propagatedBuildInputs = [
flask
flask-silk
future
];
patches = [
# fix generated binary, see https://github.com/sublee/flask-autoindex/pull/32
(fetchpatch {
name = "fix_binary.patch";
url = "https://github.com/sublee/flask-autoindex/pull/32.patch";
sha256 = "1v2r0wvi7prhipjq89774svv6aqj0a13mdfj07pdlkpzfbf029dn";
})
];
meta = with stdenv.lib; {
description = "The mod_autoindex for Flask";
longDescription = ''
Flask-AutoIndex generates an index page for your Flask application automatically.
The result is just like mod_autoindex, but the look is more awesome!
'';
license = licenses.bsd2;
maintainers = with maintainers; [ timokau ];
homepage = http://pythonhosted.org/Flask-AutoIndex/;
};
}

View File

@@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "html5-parser";
version = "0.4.4";
version = "0.4.5";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "b9f3a1d4cdb8742e8e4ecafab04bff541bde4ff09af233293ed0b94028ec1ab5";
sha256 = "01mx33sx4dhl4kj6wc48nj6jz7ry60rkhjv0s6k8h5xmjf5yy0x9";
};
nativeBuildInputs = [ pkgconfig ];

View File

@@ -0,0 +1,26 @@
{ lib, buildPythonPackage, fetchPypi, cffi }:
buildPythonPackage rec {
pname = "milksnake";
version = "0.1.5";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "120nprd8lqis7x7zy72536gk2j68f7gxm8gffmx8k4ygifvl7kfz";
};
propagatedBuildInputs = [
cffi
];
# tests rely on pip/venv
doCheck = false;
meta = with lib; {
description = "A python library that extends setuptools for binary extensions";
homepage = https://github.com/getsentry/milksnake;
license = licenses.asl20;
maintainers = with maintainers; [ matthiasbeyer ];
};
}