Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 26 lines 601 B view raw
1{ buildPythonPackage, isPy27, fetchFromGitHub, lib, ipaddress }: 2 3buildPythonPackage rec { 4 pname = "piccata"; 5 version = "2.0.0"; 6 disabled = isPy27; 7 8 src = fetchFromGitHub { 9 owner = "NordicSemiconductor"; 10 repo = pname; 11 rev = version; 12 sha256 = "0pn842jcf2czjks5dphivgp1s7wiifqiv93s0a89h0wxafd6pbsr"; 13 }; 14 15 propagatedBuildInputs = [ 16 ipaddress 17 ]; 18 19 pythonImportsCheck = [ "piccata" ]; 20 21 meta = { 22 description = "Simple CoAP (RFC7252) toolkit"; 23 homepage = "https://github.com/NordicSemiconductor/piccata"; 24 maintainers = with lib.maintainers; [ gebner ]; 25 }; 26}