{ python3, stdenv }: stdenv.mkDerivation { name = "lampion-kfet"; version = "1.0"; src = ./.; installPhase = "install -Dm755 ./lampion_kfet.py $out/bin/lampion_kfet.py"; buildInputs = [ (python3.withPackages (p: [ p.websockets p.requests ])) ]; }