{ lib, stdenvNoCC, pkgs }: stdenvNoCC.mkDerivation rec { pname = "waybar-systemd-units"; src = ./waybar-systemd.py; version = "0.1.0"; buildInputs = [ (pkgs.python310.withPackages (ps: with ps; [ click ])) ]; propagatedBuildInputs = [ (pkgs.python310.withPackages (ps: with ps; [ click ])) ]; dontUnpack = true; dontBuild = true; installPhase = '' mkdir -p $out/bin cp $src $out/bin/${pname} ''; meta = with lib; { description = "Get a list of systemd units that have failed."; license = with licenses; [ mit ]; platforms = platforms.unix; maintainers = with maintainers; [ fcuny ]; }; }