Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-12-15 16:09:28 +01:00
47 changed files with 582 additions and 580 deletions

View File

@@ -22,12 +22,12 @@
buildPythonPackage rec {
pname = "ipython";
version = "7.8.0";
version = "7.10.1";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "dd76831f065f17bddd7eaa5c781f5ea32de5ef217592cf019e34043b56895aa1";
sha256 = "03h3m64k8jq0cc48i34g8xq0r68cx3w7wz721mfhr7k06qdv11pi";
};
prePatch = lib.optionalString stdenv.isDarwin ''
@@ -57,10 +57,14 @@ buildPythonPackage rec {
nosetests
'';
meta = {
pythonImportsCheck = [
"IPython"
];
meta = with lib; {
description = "IPython: Productive Interactive Computing";
homepage = http://ipython.org/;
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ bjornfor fridh ];
license = licenses.bsd3;
maintainers = with maintainers; [ bjornfor fridh ];
};
}

View File

@@ -0,0 +1,44 @@
{ stdenv
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestrunner
, future
, requests
, responses
, requests_oauthlib
, pytest
, hypothesis
}:
buildPythonPackage rec {
pname = "python-twitter";
version = "3.5";
# No tests in PyPi Tarball
src = fetchFromGitHub {
owner = "bear";
repo = pname;
rev = "v${version}";
sha256 = "08ydmf6dcd416cvw6xq1wxsz6b9s21f2mf9fh3y4qz9swj6n9h8z";
};
patches = [
# Fix tests. Remove with the next release
(fetchpatch {
url = "https://github.com/bear/python-twitter/commit/f7eb83d9dca3ba0ee93e629ba5322732f99a3a30.patch";
sha256 = "008b1bd03wwngs554qb136lsasihql3yi7vlcacmk4s5fmr6klqw";
})
];
nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ future requests requests_oauthlib ];
checkInputs = [ pytest responses hypothesis ];
meta = with stdenv.lib; {
description = "A Python wrapper around the Twitter API";
homepage = "https://github.com/bear/python-twitter";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}

View File

@@ -50,9 +50,10 @@ buildPythonPackage rec {
'';
dontWrapQtApps = true;
makeWrapperArgs = [
"\${qtWrapperArgs[@]}"
];
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
meta = with stdenv.lib; {
description = "Scientific python development environment";

View File

@@ -0,0 +1,43 @@
{ stdenv
, fetchFromGitHub
, buildPythonPackage
, psutil
, pygobject3
, gtk3
, gobject-introspection
, xapps
, polkit
}:
buildPythonPackage rec {
pname = "xapp";
version = "1.8.1";
src = fetchFromGitHub {
owner = "linuxmint";
repo = "python-xapp";
rev = version;
sha256 = "0vw3cn09nx75lv4d9idp5fdhd81xs279zhbyyilynq29cxxs2zil";
};
propagatedBuildInputs = [
psutil
pygobject3
gtk3
gobject-introspection
xapps
polkit
];
postPatch = ''
substituteInPlace "xapp/os.py" --replace "/usr/bin/pkexec" "${polkit}/bin/pkexec"
'';
meta = with stdenv.lib; {
homepage = "https://github.com/linuxmint/python-xapp";
description = "Cross-desktop libraries and common resources for python";
license = licenses.lgpl2;
platforms = platforms.linux;
maintainers = [ maintainers.mkg20001 ];
};
}