diff options
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/coapthon3/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/coapthon3/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/coapthon3/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/coapthon3/default.nix new file mode 100644 index 000000000000..6f22e8e9f296 --- /dev/null +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/coapthon3/default.nix @@ -0,0 +1,27 @@ +{ buildPythonPackage, cachetools, fetchFromGitHub, isPy27, lib }: + +buildPythonPackage rec { + pname = "CoAPthon3"; + version = "1.0.1"; + disabled = isPy27; + + 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."; + license = licenses.mit; + maintainers = with maintainers; [ urbas ]; + }; +} |