e7aaa0bc2f
This will make them easier to consume for the thing I'm actually trying to do here.
19 lines
407 B
Nix
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 ]);
|
|
})
|