depot/third_party/nixpkgs/pkgs/development/python-modules/sacn/default.nix
Default email 170c3b4027 Project import generated by Copybara.
GitOrigin-RevId: 7cb76200088f45cd24a9aa67fd2f9657943d78a4
2021-05-03 22:48:10 +02:00

28 lines
554 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, isPy27
}:
buildPythonPackage rec {
pname = "sacn";
version = "1.6.4";
disabled = isPy27;
src = fetchPypi {
inherit pname version;
sha256 = "1abkalzpy8bj2hpx563bxii5h0gv9v89f0yp9clc1l76amyf6dj2";
};
# no tests
doCheck = false;
pythonImportsCheck = [ "sacn" ];
meta = with lib; {
description = "A simple ANSI E1.31 (aka sACN) module for python";
homepage = "https://github.com/Hundemeier/sacn";
license = licenses.mit;
maintainers = with maintainers; [ hexa ];
};
}