depot/third_party/nixpkgs/pkgs/development/python-modules/mill-local/default.nix
Default email c3ac4d4040 Project import generated by Copybara.
GitOrigin-RevId: 1158501e7c7cba26d922723cf9f70099995eb755
2022-09-14 15:05:37 -03:00

41 lines
816 B
Nix

{ lib
, aiohttp
, async-timeout
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
}:
buildPythonPackage rec {
pname = "mill-local";
version = "0.2.0";
format = "setuptools";
disabled = pythonOlder "3.8";
src = fetchFromGitHub {
owner = "Danielhiversen";
repo = "pyMillLocal";
rev = "refs/tags/${version}";
sha256 = "sha256-u7TidHD0NzZ1JxYoCWviIXSsXojJHvVNg07eDBFQuls=";
};
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 ];
};
}