tvl-depot/fun/idual/default.nix
Vincent Ambo e7aaa0bc2f feat(fun/idual): Move colour codes into a Python script
This will make them easier to consume for the thing I'm actually
trying to do here.
2020-04-25 22:17:14 +01:00

19 lines
407 B
Nix

{ pkgs, lib, ... }:
let
inherit (pkgs) python python3 python3Packages;
opts = {
pname = "idualctl";
version = "0.1";
src = ./.;
propagatedBuildInputs = [
python.broadlink
];
};
in lib.fix (self: {
package = python3Packages.buildPythonPackage opts;
script = python3Packages.buildPythonApplication opts;
python = python3.withPackages (_: [ self.package ]);
})