mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
Merge pull request #94416 from sarcasticadmin/sa/adding-sd-mux-ctrl
sd-mux-ctrl: init at 2020-02-17
This commit is contained in:
commit
000bb5ee45
@ -7355,6 +7355,12 @@
|
||||
githubId = 1153271;
|
||||
name = "Sander van der Burg";
|
||||
};
|
||||
sarcasticadmin = {
|
||||
email = "rob@sarcasticadmin.com";
|
||||
github = "sarcasticadmin";
|
||||
githubId = 30531572;
|
||||
name = "Robert James Hernandez";
|
||||
};
|
||||
sargon = {
|
||||
email = "danielehlers@mindeye.net";
|
||||
github = "sargon";
|
||||
|
28
pkgs/tools/misc/sd-mux-ctrl/default.nix
Normal file
28
pkgs/tools/misc/sd-mux-ctrl/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, fetchgit, cmake, pkgconfig, libftdi1, popt}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sd-mux-ctrl-unstable";
|
||||
version = "2020-02-17";
|
||||
|
||||
src = fetchgit {
|
||||
url = "https://git.tizen.org/cgit/tools/testlab/sd-mux";
|
||||
rev = "9dd189d973da64e033a0c5c2adb3d94b23153d94";
|
||||
sha256 = "0fxl8m1zkkyxkc2zi8930m0njfgnd04a22acny6vljnzag2shjvg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [ libftdi1 popt ];
|
||||
|
||||
postInstall = ''
|
||||
install -D -m 644 ../doc/man/sd-mux-ctrl.1 $out/share/man/man1/sd-mux-ctrl.1
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Tool for controlling multiple sd-mux devices";
|
||||
homepage = "https://wiki.tizen.org/SD_MUX";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ sarcasticadmin ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -6812,6 +6812,8 @@ in
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
sd-mux-ctrl = callPackage ../tools/misc/sd-mux-ctrl { };
|
||||
|
||||
sd-switch = callPackage ../os-specific/linux/sd-switch { };
|
||||
|
||||
sdate = callPackage ../tools/misc/sdate { };
|
||||
|
Loading…
Reference in New Issue
Block a user