Merge branch 'master' into staging

A couple thousand rebuilds from master.
This commit is contained in:
Vladimír Čunát
2017-11-11 09:23:16 +01:00
180 changed files with 2538 additions and 2243 deletions

View File

@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
description = "Assember for the Atmel AVR microcontroller family";
description = "Assembler for the Atmel AVR microcontroller family";
homepage = http://avra.sourceforge.net/;
license = licenses.gpl2Plus;
platforms = platforms.all;

View File

@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, which
, cmake
, clang
@@ -27,6 +28,14 @@ stdenv.mkDerivation rec {
sha256 = "16z58ix8kmk8csfy5qsqz8z30czhrap2vb8s8vdflmbcfnq31jcw";
};
patches = [
(fetchpatch {
# glibc 2.26
url = https://github.com/dotnet/coreclr/commit/a8f83b615708c529b112898e7d2fbc3f618b26ee.patch;
sha256 = "047ph5gip4z2h7liwdxsmpnlaq0sd3hliaw4nyqjp647m80g3ffq";
})
];
buildInputs = [
which
cmake

View File

@@ -133,7 +133,7 @@
test-framework-hunit test-framework-quickcheck2 text unix
];
jailbreak = true;
homepage = http://github.com/tibbe/hashable;
homepage = https://github.com/tibbe/hashable;
description = "A class for types that can be converted to a hash value";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -146,7 +146,7 @@
doCheck = false;
libraryHaskellDepends = [ base transformers ];
jailbreak = true;
homepage = http://github.com/ekmett/mtl;
homepage = https://github.com/ekmett/mtl;
description = "Monad classes, using functional dependencies";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -311,7 +311,7 @@
test-framework-hunit test-framework-quickcheck2 text
];
jailbreak = true;
homepage = http://github.com/ghcjs/ghcjs-base;
homepage = https://github.com/ghcjs/ghcjs-base;
description = "Base library for GHCJS";
license = stdenv.lib.licenses.mit;
}) {};

View File

@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = {
homepage = http://sourceforge.net/p/ghdl-updates/wiki/Home/;
homepage = https://sourceforge.net/p/ghdl-updates/wiki/Home/;
description = "Free VHDL simulator";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; (if flavour == "llvm" then [ "i686-linux" "x86_64-linux" ]

View File

@@ -1,5 +1,6 @@
{ stdenv
, fetch
, fetchpatch
, perl
, groff
, cmake
@@ -39,6 +40,22 @@ in stdenv.mkDerivation rec {
../fix-llvm-config.patch
];
postPatch = stdenv.lib.optionalString (stdenv ? glibc) ''
(
cd projects/compiler-rt
patch -p1 -F3 < ${
fetchpatch {
name = "sigaltstack.patch"; # for glibc-2.26
url = https://github.com/llvm-mirror/compiler-rt/commit/8a5e425a68d.diff;
sha256 = "0h4y5vl74qaa7dl54b1fcyqalvlpd8zban2d1jxfkxpzyi7m8ifi";
}
}
sed -i "s,#include <pthread.h>,&\n#include <signal.h>,g" \
lib/asan/asan_linux.cc
)
'';
# hacky fix: created binaries need to be run before installation
preBuild = ''
mkdir -p $out/

View File

@@ -1,5 +1,6 @@
{ stdenv
, fetch
, fetchpatch
, perl
, groff
, cmake
@@ -39,6 +40,22 @@ in stdenv.mkDerivation rec {
--replace 'set(CMAKE_INSTALL_RPATH "@executable_path/../lib")' ""
'';
postPatch = stdenv.lib.optionalString (stdenv ? glibc) ''
(
cd projects/compiler-rt
patch -p1 < ${
fetchpatch {
name = "sigaltstack.patch"; # for glibc-2.26
url = https://github.com/llvm-mirror/compiler-rt/commit/8a5e425a68d.diff;
sha256 = "0h4y5vl74qaa7dl54b1fcyqalvlpd8zban2d1jxfkxpzyi7m8ifi";
}
}
sed -i "s,#include <pthread.h>,&\n#include <signal.h>,g" \
lib/asan/asan_linux.cc
)
'';
# hacky fix: created binaries need to be run before installation
preBuild = ''
mkdir -p $out/

View File

@@ -145,7 +145,7 @@ go.stdenv.mkDerivation (
if [ -n "$subPackages" ]; then
echo "$subPackages" | sed "s,\(^\| \),\1$goPackagePath/,g"
else
pushd go/src >/dev/null
pushd "$NIX_BUILD_TOP/go/src" >/dev/null
find "$goPackagePath" -type f -name \*$type.go -exec dirname {} \; | grep -v "/vendor/" | sort | uniq
popd >/dev/null
fi

View File

@@ -11,6 +11,8 @@ let
let php7 = lib.versionAtLeast version "7.0";
mysqlHeaders = mysql.lib.dev or mysql;
mysqlndSupport = config.php.mysqlnd or false;
mysqlBuildInputs = lib.optional (!mysqlndSupport) mysqlHeaders;
in composableDerivation.composableDerivation {} (fixed: {
@@ -112,13 +114,13 @@ let
};
mysql = {
configureFlags = ["--with-mysql"];
buildInputs = [ mysqlHeaders ];
configureFlags = ["--with-mysql${if mysqlndSupport then "=mysqlnd" else ""}"];
buildInputs = mysqlBuildInputs;
};
mysqli = {
configureFlags = ["--with-mysqli=${mysqlHeaders}/bin/mysql_config"];
buildInputs = [ mysqlHeaders ];
configureFlags = ["--with-mysqli=${if mysqlndSupport then "mysqlnd" else "${mysqlHeaders}/bin/mysql_config"}"];
buildInputs = mysqlBuildInputs;
};
mysqli_embedded = {
@@ -128,8 +130,8 @@ let
};
pdo_mysql = {
configureFlags = ["--with-pdo-mysql=${mysqlHeaders}"];
buildInputs = [ mysqlHeaders ];
configureFlags = ["--with-pdo-mysql=${if mysqlndSupport then "mysqlnd" else mysqlHeaders}"];
buildInputs = mysqlBuildInputs;
};
bcmath = {

View File

@@ -18,7 +18,7 @@ in rec {
m2Path = "/com/nequissimus/maven-hello/${version}";
meta = {
homepage = http://github.com/NeQuissimus/maven-hello/;
homepage = https://github.com/NeQuissimus/maven-hello/;
description = "Maven Hello World";
license = stdenv.lib.licenses.unlicense;
platforms = stdenv.lib.platforms.all;

View File

@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = {
description = "C++ wrappers for ATK accessibility toolkit";
license = stdenv.lib.licenses.lgpl21Plus;
homepage = http://gtkmm.org;
homepage = https://gtkmm.org;
platforms = stdenv.lib.platforms.unix;
};
}

View File

@@ -18,7 +18,7 @@ rec {
meta = with stdenv.lib; {
description = "Audio processing plugin system for plugins that extract descriptive information from audio data";
homepage = http://sourceforge.net/projects/vamp;
homepage = https://sourceforge.net/projects/vamp;
license = licenses.bsd3;
maintainers = [ maintainers.goibhniu maintainers.marcweber ];
platforms = platforms.linux;

View File

@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
homepage = http://sourceforge.net/projects/dirac;
homepage = https://sourceforge.net/projects/dirac;
description = "A general-purpose video codec based on wavelets";
platforms = platforms.linux;
license = with licenses; [ mpl11 gpl2 lgpl21 ];

View File

@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
name = "jasper-${version}";
version = "2.0.13";
version = "2.0.14";
src = fetchFromGitHub {
repo = "jasper";
owner = "mdadams";
rev = "version-${version}";
sha256 = "1kd2xiszg9bxfavs3fadi4gi27m876d9zjjy0ns6mmbcjk109c0a";
sha256 = "0aarg8nbik9wrm7fx0451sbm5ypfdfr6i169pxzi354mpdp8gg7f";
};
# newer reconf to recognize a multiout flag

View File

@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Lightweight library to handle the sending and receiving of messages according to the Open Sound Control (OSC) protocol";
homepage = http://sourceforge.net/projects/liblo;
homepage = https://sourceforge.net/projects/liblo;
license = stdenv.lib.licenses.gpl2;
maintainers = [stdenv.lib.maintainers.marcweber];
platforms = with stdenv.lib.platforms; linux ++ darwin;

View File

@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
meta = {
description = "An abstraction library for audio visualisations";
homepage = http://sourceforge.net/projects/libvisual/;
homepage = https://sourceforge.net/projects/libvisual/;
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.unix;
};

View File

@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
platforms = platforms.linux;
homepage = http://sourceforge.net/projects/linuxwacom/;
homepage = https://sourceforge.net/projects/linuxwacom/;
description = "Libraries, configuration, and diagnostic tools for Wacom tablets running under Linux";
};
}

View File

@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Extract Cell Data From Excel xls files";
homepage = http://sourceforge.net/projects/libxls/;
homepage = https://sourceforge.net/projects/libxls/;
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ abbradar ];

View File

@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ protobuf zlib ];
meta = with stdenv.lib; {
homepage = http://github.com/protobuf-c/protobuf-c/;
homepage = https://github.com/protobuf-c/protobuf-c/;
description = "C bindings for Google's Protocol Buffers";
license = licenses.bsd2;
platforms = platforms.all;

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Small Footprint CIM Client Library";
homepage = http://sourceforge.net/projects/sblim/;
homepage = https://sourceforge.net/projects/sblim/;
maintainers = [ stdenv.lib.maintainers.deepfire ];

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
meta = {
description = "An implementation of the C++ Standard Library";
homepage = http://sourceforge.net/projects/stlport/;
homepage = https://sourceforge.net/projects/stlport/;
license = stdenv.lib.licenses.free; # seems BSD-like
broken = true; # probably glibc-2.20 -related issue
};

View File

@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
doCheck = true;
meta = with stdenv.lib; {
homepage = http://sourceforge.net/projects/libtirpc/;
homepage = https://sourceforge.net/projects/libtirpc/;
description = "The transport-independent Sun RPC implementation (TI-RPC)";
license = licenses.bsd3;
platforms = platforms.linux;

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "C++/C library to construct Excel .xls files in code";
homepage = http://sourceforge.net/projects/xlslib/;
homepage = https://sourceforge.net/projects/xlslib/;
license = licenses.bsd2;
platforms = platforms.linux;
maintainers = with maintainers; [ abbradar ];

View File

@@ -16,7 +16,7 @@ buildRustPackage rec {
cargoSha256 = "0y2ww48vh667kkyg9pyjwcbh7fxi41bjnkhwp749crjqn2abimrk";
meta = {
homepage = http://github.com/cgag/loc;
homepage = https://github.com/cgag/loc;
description = "Count lines of code quickly";
license = stdenv.lib.licenses.mit;
maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];

View File

@@ -5816,7 +5816,7 @@ in
buildInputs = globalBuildInputs;
meta = {
description = "Web Inspector based nodeJS debugger";
homepage = http://github.com/node-inspector/node-inspector;
homepage = https://github.com/node-inspector/node-inspector;
};
production = true;
};

View File

@@ -29050,7 +29050,7 @@ in
buildInputs = globalBuildInputs;
meta = {
description = "Web Inspector based nodeJS debugger";
homepage = http://github.com/node-inspector/node-inspector;
homepage = https://github.com/node-inspector/node-inspector;
};
production = true;
};

View File

@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
createFindlibDestdir = true;
meta = {
homepage = http://sourceforge.net/projects/ocamlfuse;
homepage = https://sourceforge.net/projects/ocamlfuse;
description = "OCaml bindings for FUSE";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;

View File

@@ -12,7 +12,7 @@ buildOcaml rec {
propagatedBuildInputs = [ ocaml_batteries csv ocaml_lwt ocaml_sqlite3 estring ];
meta = with stdenv.lib; {
homepage = http://github.com/mfp/ocaml-sqlexpr;
homepage = https://github.com/mfp/ocaml-sqlexpr;
description = "Type-safe, convenient SQLite database access";
license = licenses.lgpl21;
};

View File

@@ -17,7 +17,7 @@ stdenv.mkDerivation {
createFindlibDestdir = true;
meta = with stdenv.lib; {
homepage = http://github.com/mlin/ocaml-sqlite3EZ;
homepage = https://github.com/mlin/ocaml-sqlite3EZ;
description = "A thin wrapper for sqlite3-ocaml with a simplified interface";
license = licenses.mit;
maintainers = [ maintainers.vbgl ];

View File

@@ -59,7 +59,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A Python library that lets you schedule your Python code to be executed";
homepage = http://pypi.python.org/pypi/APScheduler/;
homepage = https://pypi.python.org/pypi/APScheduler/;
license = licenses.mit;
};
}

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/saghul/aiodns;
homepage = https://github.com/saghul/aiodns;
license = licenses.mit;
description = "Simple DNS resolver for asyncio";
};

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
meta = with stdenv.lib; {
homepage = http://bitbucket.org/zzzeek/alembic;
homepage = https://bitbucket.org/zzzeek/alembic;
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};

View File

@@ -19,7 +19,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Namespace control and lazy-import mechanism";
homepage = http://bitbucket.org/hpk42/apipkg;
homepage = https://bitbucket.org/hpk42/apipkg;
license = licenses.mit;
};
}

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = {
description = "A python module for determining appropriate platform-specific dirs";
homepage = http://github.com/ActiveState/appdirs;
homepage = https://github.com/ActiveState/appdirs;
license = lib.licenses.mit;
};
}

View File

@@ -16,6 +16,6 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Posix IPC-backed ASGI channel layer implementation";
license = licenses.bsd3;
homepage = http://github.com/django/asgi_ipc/;
homepage = https://github.com/django/asgi_ipc/;
};
}

View File

@@ -19,6 +19,6 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Redis-backed ASGI channel layer implementation";
license = licenses.bsd3;
homepage = http://github.com/django/asgi_redis/;
homepage = https://github.com/django/asgi_redis/;
};
}

View File

@@ -31,7 +31,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "A abstract syntax tree for Python with inference support";
homepage = http://bitbucket.org/logilab/astroid;
homepage = https://bitbucket.org/logilab/astroid;
license = licenses.lgpl2;
platforms = platforms.all;
maintainers = with maintainers; [ nand0p ];

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
doCheck = false;
meta = {
homepage = http://github.com/dursk/bitcoin-price-api;
homepage = https://github.com/dursk/bitcoin-price-api;
description = "Price APIs for bitcoin exchanges";
license = with lib.licenses; [ mit ];
maintainers = with lib.maintainers; [ bhipple ];

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = {
description = "High level chart types built on top of Bokeh";
homepage = http://github.com/bokeh/bkcharts;
homepage = https://github.com/bokeh/bkcharts;
license = lib.licenses.bsd3;
};
}
}

View File

@@ -0,0 +1,44 @@
{ buildPythonPackage
, fetchPypi
, dateutil
, jmespath
, docutils
, ordereddict
, simplejson
, mock
, nose
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "botocore";
version = "1.7.43";
src = fetchPypi {
inherit pname version;
sha256 = "0wyyj7sk7dh9v7i1g5jc5maqdadvbs4khi7srz0095cywkjqpysc";
};
propagatedBuildInputs = [
dateutil
jmespath
docutils
ordereddict
simplejson
];
checkInputs = [ mock nose ];
checkPhase = ''
nosetests -v
'';
# Network access
doCheck = false;
meta = {
homepage = https://github.com/boto/botocore;
license = "bsd";
description = "A low-level interface to a growing number of Amazon Web Services";
};
}

View File

@@ -30,7 +30,7 @@ buildPythonPackage rec {
meta = {
description = "Composable style cycles";
homepage = http://github.com/matplotlib/cycler;
homepage = https://github.com/matplotlib/cycler;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};

View File

@@ -32,7 +32,7 @@ buildPythonPackage rec {
meta = {
description = "Minimal task scheduling abstraction";
homepage = http://github.com/ContinuumIO/dask/;
homepage = https://github.com/ContinuumIO/dask/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];
};

View File

@@ -13,7 +13,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Powerful extensions to the standard datetime module";
homepage = http://pypi.python.org/pypi/python-dateutil;
homepage = https://pypi.python.org/pypi/python-dateutil;
license = "BSD-style";
};
}

View File

@@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A caching front-end based on the Dogpile lock";
homepage = http://bitbucket.org/zzzeek/dogpile.cache;
homepage = https://bitbucket.org/zzzeek/dogpile.cache;
platforms = platforms.unix;
license = licenses.bsd3;
};

View File

@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Code checking using pep8 and pyflakes";
homepage = http://pypi.python.org/pypi/flake8;
homepage = https://pypi.python.org/pypi/flake8;
license = licenses.mit;
maintainers = with maintainers; [ garbas ];
};

View File

@@ -25,7 +25,7 @@ buildPythonPackage rec {
];
meta = {
homepage = http://pypi.python.org/pypi/guessit;
homepage = https://pypi.python.org/pypi/guessit;
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};

View File

@@ -25,7 +25,7 @@ buildPythonPackage rec {
];
meta = {
homepage = http://pypi.python.org/pypi/guessit;
homepage = https://pypi.python.org/pypi/guessit;
license = lib.licenses.lgpl3;
description = "A library for guessing information from video files";
};

View File

@@ -18,7 +18,7 @@ buildPythonPackage rec {
'';
meta = with stdenv.lib; {
homepage = http://pypi.python.org/pypi/gunicorn;
homepage = https://pypi.python.org/pypi/gunicorn;
description = "WSGI HTTP Server for UNIX";
license = licenses.mit;
};

View File

@@ -11,7 +11,7 @@ buildPythonPackage rec {
};
meta = with stdenv.lib; {
homepage = http://github.com/twisted/treq;
homepage = https://github.com/twisted/treq;
description = "Incremental is a small library that versions your Python projects";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];

View File

@@ -17,6 +17,7 @@
, prompt_toolkit
, pexpect
, appnope
, typing
}:
buildPythonPackage rec {
@@ -45,7 +46,8 @@ buildPythonPackage rec {
traitlets
prompt_toolkit
pexpect
] ++ lib.optionals stdenv.isDarwin [appnope];
] ++ lib.optionals stdenv.isDarwin [appnope]
++ lib.optionals (pythonOlder "3.5") [ typing ];
LC_ALL="en_US.UTF-8";

View File

@@ -22,7 +22,7 @@ buildPythonPackage rec {
meta = {
description = "Convert Matplotlib plots into Leaflet web maps";
homepage = http://github.com/jwass/mplleaflet;
homepage = https://github.com/jwass/mplleaflet;
license = with lib.licenses; [ bsd3 ];
};
}

View File

@@ -17,7 +17,7 @@ buildPythonPackage rec {
doCheck = false;
meta = {
homepage = http://github.com/mrocklin/multipledispatch/;
homepage = https://github.com/mrocklin/multipledispatch/;
description = "A relatively sane approach to multiple dispatch in Python";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ fridh ];

View File

@@ -39,7 +39,7 @@ buildPythonPackage rec {
checkPhase = ''
mkdir tmp
LC_ALL=en_US.utf8 HOME=`realpath tmp` py.test -v
LC_ALL=en_US.UTF-8 HOME=`realpath tmp` py.test -v
'';
meta = {

View File

@@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = {
description = "A module wrapper for os.path";
homepage = http://github.com/jaraco/path.py;
homepage = https://github.com/jaraco/path.py;
license = lib.licenses.mit;
};

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = {
description = "A port of the serialize and unserialize functions of PHP to Python";
homepage = http://github.com/mitsuhiko/phpserialize;
homepage = https://github.com/mitsuhiko/phpserialize;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ jluttine ];
};

View File

@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = {
description = "A python client library for Apache Cassandra";
homepage = http://github.com/pycassa/pycassa;
homepage = https://github.com/pycassa/pycassa;
license = stdenv.lib.licenses.mit;
};
}

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A Python wrapper for Ofir Pele and Michael Werman's implementation of the Earth Mover's Distance";
homepage = http://github.com/wmayner/pyemd;
homepage = https://github.com/wmayner/pyemd;
license = licenses.mit;
maintainers = with maintainers; [ rvl ];
};

View File

@@ -28,7 +28,7 @@ buildPythonPackage (rec {
meta = {
description = "Python interface to PROJ.4 library";
homepage = http://github.com/jswhit/pyproj;
homepage = https://github.com/jswhit/pyproj;
license = with lib.licenses; [ isc ];
};
} // (if proj == null then {} else { PROJ_DIR = proj; }))

View File

@@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = with lib; {
description = "Python library for Windows Remote Management";
homepage = http://github.com/diyan/pywinrm/;
homepage = https://github.com/diyan/pywinrm/;
license = licenses.mit;
maintainers = with maintainers; [ elasticdog ];
platforms = platforms.all;

View File

@@ -36,7 +36,7 @@ buildPythonPackage rec {
meta = {
description = "GPGPU algorithms for PyCUDA and PyOpenCL";
homepage = http://github.com/fjarri/reikna;
homepage = https://github.com/fjarri/reikna;
license = stdenv.lib.licenses.mit;
maintainer = stdenv.lib.maintainers.fridh;

View File

@@ -0,0 +1,43 @@
{ lib
, buildPythonPackage
, fetchPypi
, freetype
, pillow
, pip
, glibcLocales
, python
, isPyPy
}:
let
ft = freetype.overrideAttrs (oldArgs: { dontDisableStatic = true; });
in buildPythonPackage rec {
pname = "reportlab";
version = "3.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "5beaf35e59dfd5ebd814fdefd76908292e818c982bd7332b5d347dfd2f01c343";
};
checkInputs = [ glibcLocales ];
buildInputs = [ ft pillow ];
postPatch = ''
rm tests/test_graphics_barcode.py
rm tests/test_graphics_render.py
'';
checkPhase = ''
LC_ALL="en_US.UTF-8" ${python.interpreter} tests/runAll.py
'';
# See https://bitbucket.org/pypy/compatibility/wiki/reportlab%20toolkit
disabled = isPyPy;
meta = {
description = "An Open Source Python library for generating PDFs and graphics";
homepage = http://www.reportlab.com/;
};
}

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Python unittest test suite for Robot Framework";
homepage = http://github.com/collective/robotsuite/;
homepage = https://github.com/collective/robotsuite/;
license = licenses.gpl3;
};
}

View File

@@ -0,0 +1,53 @@
{ stdenv
, fetchPypi
, pythonOlder
, buildPythonPackage
, docutils
, mock
, nose
, coverage
, wheel
, unittest2
, botocore
, futures
}:
buildPythonPackage rec {
pname = "s3transfer";
version = "0.1.11";
src = fetchPypi {
inherit pname version;
sha256 = "0yfrfnf404cxzn3iswibqjxklsl0b1lwgqiml6pwiqj79a7zbwbn";
};
foo = 1;
propagatedBuildInputs =
[ botocore
] ++ stdenv.lib.optional (pythonOlder "3") futures;
buildInputs = [
docutils
mock
nose
coverage
wheel
unittest2
];
checkPhase = ''
pushd s3transfer/tests
nosetests -v unit/ functional/
popd
'';
# version on pypi has no tests/ dir
doCheck = false;
meta = {
homepage = https://github.com/boto/s3transfer;
license = stdenv.lib.licenses.asl20;
description = "A library for managing Amazon S3 transfers";
};
}

View File

@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Utilities to facilitate the installation of Python packages";
homepage = http://pypi.python.org/pypi/setuptools;
homepage = https://pypi.python.org/pypi/setuptools;
license = with licenses; [ psfl zpl20 ];
platforms = platforms.all;
priority = 10;

View File

@@ -21,7 +21,7 @@ buildPythonPackage rec {
meta = {
description = "A Python 2 and 3 compatibility library";
homepage = http://pypi.python.org/pypi/six/;
homepage = https://pypi.python.org/pypi/six/;
license = lib.licenses.mit;
};
}

View File

@@ -35,7 +35,7 @@ buildPythonPackage rec {
meta = {
description = "A set of extensions to the Python standard library's unit testing framework";
homepage = http://pypi.python.org/pypi/testtools;
homepage = https://pypi.python.org/pypi/testtools;
license = lib.licenses.mit;
};
}

View File

@@ -20,7 +20,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Transaction management";
homepage = http://pypi.python.org/pypi/transaction;
homepage = https://pypi.python.org/pypi/transaction;
license = licenses.zpl20;
};
}

View File

@@ -49,7 +49,7 @@ buildPythonPackage rec {
doCheck = false;
meta = with stdenv.lib; {
homepage = http://github.com/twisted/treq;
homepage = https://github.com/twisted/treq;
description = "A requests-like API built on top of twisted.web's Agent";
license = licenses.mit;
maintainers = with maintainers; [ nand0p ];

View File

@@ -15,7 +15,7 @@ buildPythonPackage rec {
buildInputs = [ glibcLocales ];
meta = with stdenv.lib; {
homepage = http://pypi.python.org/pypi/Unidecode/;
homepage = https://pypi.python.org/pypi/Unidecode/;
description = "ASCII transliterations of Unicode text";
license = licenses.gpl2;
maintainers = with maintainers; [ domenkozar ];

View File

@@ -23,7 +23,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Structured Configuration Library";
homepage = http://pypi.python.org/pypi/ZConfig;
homepage = https://pypi.python.org/pypi/ZConfig;
license = licenses.zpl20;
maintainers = [ maintainers.goibhniu ];
};

View File

@@ -45,7 +45,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "Zope Object Database: object database and persistence";
homepage = http://pypi.python.org/pypi/ZODB;
homepage = https://pypi.python.org/pypi/ZODB;
license = licenses.zpl21;
maintainers = with maintainers; [ goibhniu ];
};

View File

@@ -18,6 +18,6 @@ buildPythonPackage rec {
doCheck = false;
meta = {
homepage = http://pypi.python.org/pypi/zodbpickle;
homepage = https://pypi.python.org/pypi/zodbpickle;
};
}

View File

@@ -24,7 +24,7 @@ buildPythonPackage rec {
meta = with stdenv.lib; {
description = "A flexible test runner with layer support";
homepage = http://pypi.python.org/pypi/zope.testrunner;
homepage = https://pypi.python.org/pypi/zope.testrunner;
license = licenses.zpl20;
maintainers = [ maintainers.goibhniu ];
};

View File

@@ -1,4 +1,8 @@
{ stdenv, lib, fetchurl, jdk, zip, unzip, bash, writeScriptBin, coreutils, makeWrapper, which, python }:
{ stdenv, lib, fetchurl, jdk, zip, unzip, bash, writeScriptBin, coreutils, makeWrapper, which, python
# Always assume all markers valid (don't redownload dependencies).
# Also, don't clean up environment variables.
, enableNixHacks ? false
}:
stdenv.mkDerivation rec {
@@ -21,6 +25,8 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
patches = lib.optional enableNixHacks ./nix-hacks.patch;
# Bazel expects several utils to be available in Bash even without PATH. Hence this hack.
customBash = writeScriptBin "bash" ''
@@ -74,7 +80,6 @@ stdenv.mkDerivation rec {
'';
# Bazel expects gcc and java to be in the path.
installPhase = ''
mkdir -p $out/bin
mv output/bazel $out/bin
@@ -84,6 +89,12 @@ stdenv.mkDerivation rec {
cp scripts/zsh_completion/_bazel $out/share/zsh/site-functions/
'';
# Save paths to hardcoded dependencies so Nix can detect them.
postFixup = ''
mkdir -p $out/nix-support
echo "${customBash} ${coreutils}" > $out/nix-support/depends
'';
dontStrip = true;
dontPatchELF = true;
}

View File

@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
name = "icmake-${version}";
version = "9.02.02";
version = "9.02.03";
src = fetchFromGitHub {
sha256 = "0f7w3b8r2h6ckgzc6wbfbw5yyxia0f3j3acmzi1yzylj6ak05mmd";
sha256 = "1g3pdcd2i8n29rqwrdg6bd7qnsii55hi0rnma86hy0pm5cshpwi5";
rev = version;
repo = "icmake";
owner = "fbb-git";

View File

@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
it is intended as a replacement for the venerable 'isql' program supplied
by Sybase.
'';
homepage = http://sourceforge.net/projects/sqsh/;
homepage = https://sourceforge.net/projects/sqsh/;
platforms = platforms.all;
};
}

View File

@@ -3558,7 +3558,7 @@ in
buildInputs = globalBuildInputs;
meta = {
description = "Portable Unix shell commands for Node.js";
homepage = http://github.com/shelljs/shelljs;
homepage = https://github.com/shelljs/shelljs;
license = "BSD-3-Clause";
};
production = true;