nixos-config/pkgs/wordclock-dimmer/default.nix
Simon Bruder f945341668
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:35:31 +01:00

25 lines
485 B
Nix

# SPDX-FileCopyrightText: 2021 Simon Bruder <simon@sbruder.de>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
{ lib, buildPythonApplication, python3Packages }:
buildPythonApplication rec {
name = "wordclock-dimmer";
src = ./wordclock-dimmer.py;
propagatedBuildInputs = with python3Packages; [
astral
paho-mqtt
];
dontUnpack = true;
format = "other";
installPhase = ''
install -D $src $out/bin/wordclock-dimmer
'';
meta.license = lib.licenses.mit;
}