Merge branch 'master' into staging-next

This commit is contained in:
Robert Schütz
2021-06-26 00:33:58 +02:00
111 changed files with 1069 additions and 420 deletions

View File

@@ -1,4 +1,8 @@
{ lib, buildPythonPackage, fetchPypi, python }:
{ lib
, buildPythonPackage
, fetchPypi
, python
}:
buildPythonPackage rec {
pname = "bitarray";

View File

@@ -7,7 +7,7 @@
buildPythonPackage rec {
pname = "imap-tools";
version = "0.41.0";
version = "0.42.0";
disabled = isPy27;
@@ -15,7 +15,7 @@ buildPythonPackage rec {
owner = "ikvk";
repo = "imap_tools";
rev = "v${version}";
sha256 = "sha256-gtfVZTHeiYamKkcu9n/CJ4O4X1YneY2QB3XZnvtNL3U=";
sha256 = "sha256-WNhhQ3iqqwyYyd+iOQVpsKAAfgJwJBaUR7rmYAEYUxw=";
};
checkInputs = [

View File

@@ -1,22 +1,33 @@
{ lib, buildPythonPackage, fetchPypi }:
{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "imaplib2";
version = "2.45.0";
version = "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "a35b6d88258696e80aabecfb784e08730b8558fcaaa3061ff2c7f8637afbd0b3";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "jazzband";
repo = "imaplib2";
rev = "v${version}";
sha256 = "14asi3xnvf4bb394k5j8c3by6svvmrr75pawzy6kaax5jx0h793m";
};
# No tests on PyPI and no tags on GitHub :(
doCheck = false;
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "imaplib2" ];
meta = with lib; {
description = "A threaded Python IMAP4 client";
homepage = "https://github.com/bcoe/imaplib2";
# See https://github.com/bcoe/imaplib2/issues/25
license = licenses.psfl;
homepage = "https://github.com/jazzband/imaplib2";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@@ -0,0 +1,30 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "ndms2-client";
version = "0.1.1";
src = fetchFromGitHub {
owner = "foxel";
repo = "python_ndms2_client";
rev = version;
sha256 = "1sc39d10hm1y8xf3gdqzq1akrx94k590l106242j9bvfqyr8lrk9";
};
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "ndms2_client" ];
meta = with lib; {
description = "Keenetic NDMS 2.x and 3.x client";
homepage = "https://github.com/foxel/python_ndms2_client";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}

View File

@@ -8,11 +8,11 @@
buildPythonPackage rec {
pname = "pybotvac";
version = "0.0.20";
version = "0.0.21";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-1NnTSO4vO3Ryt4vYD5ZTQGr241GqA2KsGRBVowSTCzM=";
sha256 = "1hf692w44dmalv7hlcpwzbnr6xhvnmdv5nl1jcy2jhiwp89lkhzv";
};
propagatedBuildInputs = [

View File

@@ -0,0 +1,41 @@
{ buildPythonPackage, lib, fetchFromGitHub, libcint, libxc, xcfun, blas
, numpy, scipy, h5py
}:
buildPythonPackage rec {
pname = "pyscf";
version = "1.7.6.post1";
src = fetchFromGitHub {
owner = "pyscf";
repo = pname;
rev = "f6c9c6654dd9609c5e467a1edd5c2c076f793acc";
sha256 = "0xbwkjxxysfpqz72qn6n4a0zr2h6sprbcal8j7kzymh7swjy117w";
};
buildInputs = [
libcint
libxc
xcfun
blas
];
propagatedBuildInputs = [
numpy
scipy
h5py
];
PYSCF_INC_DIR="${libcint}:${libxc}:${xcfun}";
doCheck = false;
pythonImportsCheck = [ "pyscf" ];
meta = with lib; {
description = "Python-based simulations of chemistry framework";
homepage = "https://github.com/pyscf/pyscf";
license = licenses.asl20;
platforms = platforms.linux;
maintainers = [ maintainers.sheepforce ];
};
}

View File

@@ -0,0 +1,48 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, async-timeout
, docopt
, pyserial
, pyserial-asyncio
, setuptools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "rflink";
version = "0.0.58";
src = fetchFromGitHub {
owner = "aequitas";
repo = "python-rflink";
rev = version;
sha256 = "1zab55lsw419gg0jfrl69ap6128vbi3wdmg5z7qin65ijpjdhasc";
};
postPatch = ''
substituteInPlace setup.py \
--replace "version=version_from_git()" "version='${version}'"
'';
propagatedBuildInputs = [
async-timeout
docopt
pyserial
pyserial-asyncio
setuptools
];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "rflink.protocol" ];
meta = with lib; {
description = "Library and CLI tools for interacting with RFlink 433MHz transceiver";
homepage = "https://github.com/aequitas/python-rflink";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}