depot/third_party/nixpkgs/pkgs/development/python-modules/refoss-ha/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

34 lines
758 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "refoss-ha";
version = "1.2.4";
pyproject = true;
src = fetchFromGitHub {
owner = "ashionky";
repo = "refoss_ha";
rev = "refs/tags/v${version}";
hash = "sha256-DFP2lEZkjW5L94CnhJS04ydM66gnKzvgpiXOAejs768=";
};
build-system = [ setuptools ];
pythonImportsCheck = [ "refoss_ha" ];
# upstream has no tests
doCheck = false;
meta = {
changelog = "https://github.com/ashionky/refoss_ha/releases/tag/v${version}";
description = "Refoss support for Home Assistant";
homepage = "https://github.com/ashionky/refoss_ha";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}