Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-08-31 09:50:38 +02:00
364 changed files with 8989 additions and 6877 deletions

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi }:
buildPythonPackage rec {
pname = "cssmin";
version = "0.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "1dk723nfm2yf8cp4pj785giqlwv42l0kj8rk40kczvq1hk6g04p0";
};
# no tests
doCheck = false;
meta = with stdenv.lib; {
description = "A Python port of the YUI CSS compression algorithm";
homepage = http://github.com/zacharyvoase/cssmin;
license = licenses.bsd3;
};
}

View File

@@ -0,0 +1,20 @@
{ stdenv, buildPythonPackage, fetchPypi, requests, requests_oauthlib
, django, python3-openid }:
buildPythonPackage rec {
pname = "django-paintstore";
version = "0.2";
src = fetchPypi {
inherit pname version;
sha256 = "12wxgwv1qbkfq7w5i7bm7aidv655c2sxp0ym73qf8606dxbjcwwg";
};
doCheck = false;
meta = with stdenv.lib; {
description = "Django app that integrates jQuery ColorPicker with the Django admin";
homepage = https://github.com/gsiegman/django-paintstore;
license = licenses.mit;
};
}

View File

@@ -0,0 +1,24 @@
{ stdenv, buildPythonPackage, fetchPypi, django-picklefield, arrow
, blessed, django, future }:
buildPythonPackage rec {
pname = "django-q";
version = "1.0.1";
src = fetchPypi {
inherit pname version;
sha256 = "17mqxiacsp2yszak6j48fm7vx0w44pcg86flc63r9y5yhx490n5r";
};
propagatedBuildInputs = [
django-picklefield arrow blessed django future
];
doCheck = false;
meta = with stdenv.lib; {
description = "A multiprocessing distributed task queue for Django";
homepage = https://django-q.readthedocs.org;
license = licenses.mit;
};
}

View File

@@ -1,32 +1,43 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, rope
, flake8
, autopep8
, jedi
, importmagic
, isPy27
, black
, mock
, nose
, yapf
, isPy3k
}:
buildPythonPackage rec {
pname = "elpy";
version = "1.28.0";
version = "1.29.1";
src = fetchPypi {
inherit pname version;
sha256 = "0lx6bf6ajx6wmnns03gva5sh1mmmxahjaqrn735cgwn6j4ikyqfs";
src = fetchFromGitHub {
owner = "jorgenschaefer";
repo = pname;
rev = version;
sha256 = "19sd5p03rkp5yibq1ilwisq8jlma02ks2kdc3swy6r27n4hy90xf";
};
propagatedBuildInputs = [ flake8 autopep8 jedi importmagic ]
++ stdenv.lib.optionals isPy27 [ rope ];
propagatedBuildInputs = [ flake8 autopep8 jedi importmagic rope yapf ]
++ stdenv.lib.optionals isPy3k [ black ];
doCheck = false; # there are no tests
checkInputs = [ mock nose ];
checkPhase = ''
HOME=$(mktemp -d) nosetests -e "test_should_complete_top_level_modules_for_import"
'';
meta = with stdenv.lib; {
description = "Backend for the elpy Emacs mode";
homepage = "https://github.com/jorgenschaefer/elpy";
license = licenses.gpl3;
maintainers = [ maintainers.costrouc ];
};
}

View File

@@ -9,14 +9,14 @@
buildPythonPackage rec {
pname = "glances";
version = "3.1.1";
version = "3.1.2";
disabled = isPyPy;
src = fetchFromGitHub {
owner = "nicolargo";
repo = "glances";
rev = "v${version}";
sha256 = "1x9gw7hzw3p8zki82wdf359yxj0ylfw2096a4y621kj0p4xqsr4q";
sha256 = "1z9sq0chhm8m4gq98yfknxj408cj017h7j375blngjk2zvhw39qd";
};
# Some tests fail in the sandbox (they e.g. require access to /sys/class/power_supply):

View File

@@ -0,0 +1,21 @@
{ stdenv, buildPythonPackage, fetchPypi
, imageio, imageio-ffmpeg }:
buildPythonPackage rec {
pname = "handout";
version = "1.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "16y1wqx8j4kf6fa94x22njrkdfb2cfi0dvc7a4q2qsa8m3ri0b43";
};
propagatedBuildInputs = [ imageio imageio-ffmpeg ];
meta = with stdenv.lib; {
description = "Turn Python scripts into handouts with Markdown and figures";
homepage = "https://github.com/danijar/handout";
license = licenses.gpl3;
maintainers = with maintainers; [ averelld ];
};
}

View File

@@ -14,12 +14,12 @@
buildPythonApplication rec {
pname = "pre-commit";
version = "1.18.1";
version = "1.18.2";
src = fetchPypi {
inherit version;
pname = "pre_commit";
sha256 = "0d9ja186g41kw3gmhbi6xjvaslz6z4xis4qn1q6jabkka6jz4qhp";
sha256 = "1y6gd6nq8mfyjxknrgdryvn1bj5arvwaz2r00h41g054lfg3iki1";
};
propagatedBuildInputs = [

View File

@@ -1,8 +1,10 @@
{ pyqt4,
stdenv, callPackage, fetchurl, cmake, automoc4, sip }:
{ pyqt4, openssl_1_0_2
, stdenv, callPackage, fetchurl, cmake, automoc4, sip }:
let
kdelibs = callPackage ./kdelibs.nix {};
kdelibs = callPackage ./kdelibs.nix {
openssl = openssl_1_0_2;
};
sip4_19_3 = sip.overrideAttrs (oldAttrs: rec {
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/sip-4.19.3/sip-4.19.3.tar.gz";

View File

@@ -2,7 +2,7 @@
stdenv, fetchurl,
automoc4, cmake_2_8, libxslt, perl, pkgconfig, shared-mime-info,
attica, docbook_xml_dtd_42, docbook_xsl, giflib,
libdbusmenu_qt, libjpeg, phonon, qt4
libdbusmenu_qt, libjpeg, phonon, qt4, openssl
}:
stdenv.mkDerivation rec {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
automoc4 cmake_2_8 libxslt perl pkgconfig shared-mime-info
];
buildInputs = [
attica giflib libdbusmenu_qt libjpeg
attica giflib libdbusmenu_qt libjpeg openssl
];
propagatedBuildInputs = [ qt4 phonon ];

View File

@@ -0,0 +1,22 @@
{ stdenv, buildPythonPackage, fetchPypi, six }:
buildPythonPackage rec {
pname = "robot-detection";
version = "0.4";
src = fetchPypi {
inherit pname version;
sha256 = "1xd2jm3yn31bnk1kqzggils2rxj26ylxsfz3ap7bhr3ilhnbg3rx";
};
propagatedBuildInputs = [ six ];
# no tests in archive
doCheck = false;
meta = with stdenv.lib; {
description = "Library for detecting if a HTTP User Agent header is likely to be a bot";
homepage = https://github.com/rory/robot-detection;
license = licenses.gpl3Plus;
};
}