Merge pull request #127829 from veprbl/pr/snakemake_6_5_0

This commit is contained in:
Sandro
2021-06-24 22:46:26 +02:00
committed by GitHub
4 changed files with 62 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "connection-pool";
version = "0.0.3";
disabled = !isPy3k;
src = fetchPypi {
pname = "connection_pool";
inherit version;
sha256 = "bf429e7aef65921c69b4ed48f3d48d3eac1383b05d2df91884705842d974d0dc";
};
doCheck = false; # no tests
pythonImportsCheck = [ "connection_pool" ];
meta = with lib; {
description = "Thread-safe connection pool";
homepage = "https://github.com/zhouyl/ConnectionPool";
license = with licenses; [ mit ];
maintainers = with maintainers; [ veprbl ];
};
}

View File

@@ -0,0 +1,26 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
}:
buildPythonPackage rec {
pname = "stopit";
version = "1.1.2";
# tests are missing from the PyPi tarball
src = fetchFromGitHub {
owner = "glenfant";
repo = pname;
rev = version;
sha256 = "sha256-uXJUA70JOGWT2NmS6S7fPrTWAJZ0mZ/hICahIUzjfbw=";
};
pythonImportsCheck = [ "stopit" ];
meta = with lib; {
description = "Raise asynchronous exceptions in other thread, control the timeout of blocks or callables with a context manager or a decorator";
homepage = "https://github.com/glenfant/stopit";
license = with licenses; [ mit ];
maintainers = with maintainers; [ veprbl ];
};
}