diff options
author | Matej Urbas <matej.urbas@gmail.com> | 2020-11-26 22:16:12 +0000 |
---|---|---|
committer | Matej Urbas <matej.urbas@gmail.com> | 2020-12-02 19:31:54 +0000 |
commit | 2535a09289f1176ba69a821f67bbf97cfbf15c9e (patch) | |
tree | 415754fda0ac6975ec270d23938ba55b34c09d6a | |
parent | 6c86b393aec3dcd30d594dc8e9f07241b30e07f5 (diff) |
python3Packages.coapthon3: disabled tests
-rw-r--r-- | pkgs/development/python-modules/coapthon3/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/coapthon3/default.nix b/pkgs/development/python-modules/coapthon3/default.nix index fbca43e4e715e..1e519f074c2c9 100644 --- a/pkgs/development/python-modules/coapthon3/default.nix +++ b/pkgs/development/python-modules/coapthon3/default.nix @@ -1,19 +1,25 @@ -{ buildPythonPackage, cachetools, fetchPypi, lib }: +{ buildPythonPackage, cachetools, fetchFromGitHub, lib }: buildPythonPackage rec { pname = "CoAPthon3"; version = "1.0.1"; - src = fetchPypi { - inherit pname version; - sha256 = "1w6bwwd3qjp4b4fscagqg9wqxpdgvf4sxgzbk2d2rjqwlkyr1lnx"; + src = fetchFromGitHub { + owner = "Tanganelli"; + repo = pname; + rev = version; + sha256 = "1im35i5i72y1p9qj8ixkwq7q6ksbrmi42giqiyfgjp1ym38snl69"; }; propagatedBuildInputs = [ cachetools ]; + # tests take in the order of 10 minutes to execute and sometimes hang forever on tear-down + doCheck = false; + pythonImportsCheck = [ "coapthon" ]; + meta = with lib; { + inherit (src.meta) homepage; description = "Python3 library to the CoAP protocol compliant with the RFC."; - homepage = "https://github.com/Tanganelli/${pname}"; license = licenses.mit; maintainers = with maintainers; [ urbas ]; }; |