depot/third_party/nixpkgs/pkgs/development/python-modules/vacuum-map-parser-roborock/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

43 lines
1 KiB
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchFromGitHub
, poetry-core
, pillow
, vacuum-map-parser-base
}:
buildPythonPackage rec {
pname = "vacuum-map-parser-roborock";
version = "0.1.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "PiotrMachowski";
repo = "Python-package-${pname}";
rev = "refs/tags/v${version}";
hash = "sha256-cZNmoqzU73iF965abFeM6qgEVmg6j2kIQHDhj1MYQpE=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
pillow
vacuum-map-parser-base
];
# No tests
doCheck = false;
pythonImportsCheck = [ "vacuum_map_parser_roborock" ];
meta = with lib; {
homepage = "https://github.com/PiotrMachowski/Python-package-vacuum-map-parser-roborock";
description = "Functionalities for Roborock vacuum map parsing";
changelog = "https://github.com/PiotrMachowski/Python-package-vacuum-map-parser-roborock/releases/tag/v${version}";
maintainers = with maintainers; [ jamiemagee ];
license = licenses.asl20;
};
}