Merge master into staging-next

This commit is contained in:
Frederik Rietdijk
2019-10-21 09:55:24 +02:00
56 changed files with 608 additions and 359 deletions

View File

@@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchPypi
, pytestrunner
, pytest
}:
buildPythonPackage rec {
pname = "managesieve";
version = "0.6";
src = fetchPypi {
inherit pname version;
sha256 = "ee70e298e9b68eb81f93d52a1320a034fdc182f3927fdd551836fc93b0ed2c5f";
};
checkInputs = [ pytestrunner pytest ];
meta = with lib; {
description = "ManageSieve client library for remotely managing Sieve scripts";
homepage = "https://managesieve.readthedocs.io/";
# PSFL for the python module, GPLv3 for sieveshell
license = with licenses; [ gpl3 psfl ];
maintainers = with maintainers; [ dadada ];
};
}

View File

@@ -0,0 +1,54 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, pytest
, pytest-pylint
, nbconvert
, jupyter_client
, numpy
, scipy
, pandas
, matplotlib
, numba
}:
buildPythonPackage rec {
pname = "phik";
version = "0.9.8";
format = "wheel";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version format;
python = "py3";
sha256 = "c398452c5c1eea153905666b289c6a153712cf3d58811fa41e2bbbd27a65d678";
};
checkInputs = [
pytest
pytest-pylint
nbconvert
jupyter_client
];
propagatedBuildInputs = [
numpy
scipy
pandas
matplotlib
numba
];
postInstall = ''
rm -r $out/bin
'';
meta = with lib; {
description = "Phi_K correlation analyzer library";
longDescription = "Phi_K is a new and practical correlation coefficient based on several refinements to Pearsons hypothesis test of independence of two variables.";
homepage = https://phik.readthedocs.io/en/latest/;
maintainers = with maintainers; [ melsigl ];
license = licenses.asl20;
};
}

View File

@@ -0,0 +1,53 @@
{ stdenv, buildPythonPackage, fetchFromGitHub
, betamax
, betamax-serializers
, betamax-matchers
, mock
, six
, pytestrunner
, prawcore
, pytest
, requests-toolbelt
, update_checker
, websocket_client
}:
buildPythonPackage rec {
pname = "praw";
version = "6.3.1";
src = fetchFromGitHub {
owner = "praw-dev";
repo = "praw";
rev = "v${version}";
sha256 = "0by89aw7m803dvjcc33m9390msjm6v5v8g3k8ink9gfm421lw8ky";
};
nativeBuildInputs = [
pytestrunner
];
propagatedBuildInputs = [
mock
prawcore
update_checker
websocket_client
];
checkInputs = [
betamax
betamax-serializers
betamax-matchers
mock
pytest
requests-toolbelt
six
];
meta = with stdenv.lib; {
description = "Python Reddit API wrapper";
homepage = "https://praw.readthedocs.org/";
license = licenses.bsd2;
maintainers = with maintainers; [ ];
};
}

View File

@@ -14,13 +14,13 @@
buildPythonPackage rec {
pname = "praw";
version = "6.3.1";
version = "6.4.0";
src = fetchFromGitHub {
owner = "praw-dev";
repo = "praw";
rev = "v${version}";
sha256 = "0by89aw7m803dvjcc33m9390msjm6v5v8g3k8ink9gfm421lw8ky";
sha256 = "0j92wqyppif2k80zhzq30b04r8ljwjviply400kn4rjn54hxd4hb";
};
nativeBuildInputs = [
@@ -48,7 +48,6 @@ buildPythonPackage rec {
description = "Python Reddit API wrapper";
homepage = "https://praw.readthedocs.org/";
license = licenses.bsd2;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}