11 rustPlatform.buildRustPackage {
15 src = fetchFromSourcehut {
19 hash = "sha256-vxDb5NkzmcWL6ECueultg6NoYMObW/54UuMLJe+AjVs=";
22 cargoHash = "sha256-Oh4thw4NOjYjdLJWHG4wH7VDYjD89apl4S2JFM14WWw=";
25 updateScript = nix-update-script { };
29 description = "Systemd unit switcher for Home Manager";
30 mainProgram = "sd-switch";
31 homepage = "https://git.sr.ht/~rycee/sd-switch";
32 changelog = "https://git.sr.ht/~rycee/sd-switch/refs/${version}";
33 license = licenses.gpl3Plus;
34 maintainers = with maintainers; [ rycee ];
35 platforms = platforms.linux;