Merge branch 'master' into staging-next

This commit is contained in:
Jan Tojnar
2020-09-05 00:31:19 +02:00
43 changed files with 2177 additions and 1654 deletions

View File

@@ -1,27 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, isPy27
, click
}:
buildPythonPackage rec {
pname = "maildir-deduplicate";
version = "2.1.0";
disabled = !isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "263c7f2c85dafe06eaa15e8d7ab83817204f70a5f08cc25a607f3f01ed130b42";
};
propagatedBuildInputs = [ click ];
meta = with stdenv.lib; {
description = "Command-line tool to deduplicate mails from a set of maildir folders";
homepage = "https://github.com/kdeldycke/maildir-deduplicate";
license = licenses.gpl2;
broken = true;
};
}

View File

@@ -1,40 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, click
, configobj
, contexter
, jinja2
, pytest
, pip
}:
buildPythonPackage rec {
pname = "pip2nix";
version = "0.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "ec9a71e09ac7f43cc7b6c9d386384eb7b5c331bf6ea0e72ca559d87979397a95";
};
propagatedBuildInputs = [ click configobj contexter pip jinja2 pytest ];
postPatch = ''
sed -i "s/'pip>=8,<10'/'pip'/" setup.py
sed -i "s/pip<10,>=8/pip/" ${pname}.egg-info/requires.txt
'';
# tests not included with pypi release
doCheck = false;
# Requires an old pip version
broken = true;
meta = with stdenv.lib; {
description = "Generate Nix expressions for Python packages";
homepage = "https://github.com/johbo/pip2nix";
license = licenses.gpl3;
};
}

View File

@@ -1,27 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchurl
, isPy3k
, pkgs
}:
buildPythonPackage rec {
version = "3.1.2-1";
pname = "libarchive";
disabled = isPy3k;
src = fetchurl {
url = "http://python-libarchive.googlecode.com/files/python-libarchive-${version}.tar.gz";
sha256 = "0j4ibc4mvq64ljya9max8832jafi04jciff9ia9qy0xhhlwkcx8x";
};
propagatedBuildInputs = [ pkgs.libarchive.lib ];
meta = with stdenv.lib; {
description = "Multi-format archive and compression library";
homepage = "https://libarchive.org/";
license = licenses.bsd0;
broken = true;
};
}

View File

@@ -1,45 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchurl
, numpy
, scipy
, matplotlib
, pyqt4
, cython
, pkgs
, nose
}:
buildPythonPackage rec {
pname = "qutip";
version = "2.2.0";
src = fetchurl {
url = "https://qutip.googlecode.com/files/QuTiP-${version}.tar.gz";
sha256 = "a26a639d74b2754b3a1e329d91300e587e8c399d8a81d8f18a4a74c6d6f02ba3";
};
propagatedBuildInputs = [ numpy scipy matplotlib pyqt4 cython ];
buildInputs = [ pkgs.gcc pkgs.qt4 pkgs.blas nose ];
meta = with stdenv.lib; {
description = "QuTiP - Quantum Toolbox in Python";
longDescription = ''
QuTiP is open-source software for simulating the dynamics of
open quantum systems. The QuTiP library depends on the
excellent Numpy and Scipy numerical packages. In addition,
graphical output is provided by Matplotlib. QuTiP aims to
provide user-friendly and efficient numerical simulations of a
wide variety of Hamiltonians, including those with arbitrary
time-dependence, commonly found in a wide range of physics
applications such as quantum optics, trapped ions,
superconducting circuits, and quantum nanomechanical
resonators.
'';
homepage = "http://qutip.org/";
license = licenses.bsd0;
broken = true;
};
}

View File

@@ -1,27 +0,0 @@
{ stdenv
, buildPythonPackage
, fetchPypi
, pytz
, zope_component
}:
buildPythonPackage rec {
pname = "zope.i18n";
version = "4.7.0";
src = fetchPypi {
inherit pname version;
sha256 = "9fcc1adb4e5f6188769ab36f6f40a59b567bb5eef91f714584e0dfd0891be5d0";
};
propagatedBuildInputs = [ pytz zope_component ];
meta = with stdenv.lib; {
homepage = "https://github.com/zopefoundation/zope.i18n";
description = "Zope Internationalization Support";
license = licenses.zpl20;
maintainers = with maintainers; [ goibhniu ];
broken = true;
};
}