diff --git a/pkgs/development/python-modules/mill-local/default.nix b/pkgs/development/python-modules/mill-local/default.nix new file mode 100644 index 000000000000..9d00bb71c8bc --- /dev/null +++ b/pkgs/development/python-modules/mill-local/default.nix @@ -0,0 +1,41 @@ +{ lib +, aiohttp +, async-timeout +, buildPythonPackage +, fetchFromGitHub +, pythonOlder +}: + +buildPythonPackage rec { + pname = "mill-local"; + version = "0.1.0"; + format = "setuptools"; + + disabled = pythonOlder "3.8"; + + src = fetchFromGitHub { + owner = "Danielhiversen"; + repo = "pyMillLocal"; + rev = version; + sha256 = "0q0frwj9yxdmqi5axl7gxirfflgn8xh1932c6lhp9my2v1d0gdrk"; + }; + + propagatedBuildInputs = [ + aiohttp + async-timeout + ]; + + # Project has no tests + doCheck = false; + + pythonImportsCheck = [ + "mill_local" + ]; + + meta = with lib; { + description = "Python module to communicate locally with Mill heaters"; + homepage = "https://github.com/Danielhiversen/pyMillLocal"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 972cdf86dc20..ee1258aa64a1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -4748,6 +4748,8 @@ in { milksnake = callPackage ../development/python-modules/milksnake { }; + mill-local = callPackage ../development/python-modules/mill-local { }; + millheater = callPackage ../development/python-modules/millheater { }; miniaudio = callPackage ../development/python-modules/miniaudio { };