mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
31e60c2fbb
Builder to package up custom components for Home Assistant. These packages use `buildPythonPackage` with `format = "other"` and rely on a custom install phase, that expects a standardized path, and a custom check phase, that for now verifies python dependencies have been satisified. Co-Authored-By: Martin Weinelt <hexa@darmstadt.ccc.de> Co-Authored-By: Sandro Jäckel <sandro.jaeckel@gmail.com>
12 lines
245 B
Nix
12 lines
245 B
Nix
{ python
|
|
, makeSetupHook
|
|
}:
|
|
|
|
makeSetupHook {
|
|
name = "manifest-requirements-check-hook";
|
|
substitutions = {
|
|
pythonCheckInterpreter = python.interpreter;
|
|
checkManifest = ./check_manifest.py;
|
|
};
|
|
} ./manifest-requirements-check-hook.sh
|