sd-switch: init at 0.1.0

PR #93432
This commit is contained in:
Robert Helgesson 2020-07-18 18:59:44 +02:00
parent d05ea5c67f
commit 60c9c3a233
No known key found for this signature in database
GPG Key ID: 36BDAA14C2797E89
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitLab, rustPlatform, pkg-config, dbus }:
rustPlatform.buildRustPackage rec {
pname = "sd-switch";
version = "0.1.0";
src = fetchFromGitLab {
owner = "rycee";
repo = pname;
rev = version;
sha256 = "0njihfqvvp4lm2572sw5xadwg3nrvx2i1qrfm7fi0i3v5pxdc7g0";
};
cargoSha256 = "0ba2j0v2z90fivwdr5akdrsz9f479gz20yh85yiy05rkjhjy8cvv";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ dbus ];
meta = with stdenv.lib; {
description = "A systemd unit switcher for Home Manager";
homepage = "https://gitlab.com/rycee/sd-switch";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ rycee ];
platforms = platforms.linux;
};
}

View File

@ -6616,6 +6616,8 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
sd-switch = callPackage ../os-specific/linux/sd-switch { };
sdate = callPackage ../tools/misc/sdate { };
sdcv = callPackage ../applications/misc/sdcv { };