1 { lib, stdenv, fetchgit, cmake, pkg-config, installShellFiles, libftdi1, popt}:
3 stdenv.mkDerivation rec {
4 pname = "sd-mux-ctrl-unstable";
5 version = "2020-02-17";
8 url = "https://git.tizen.org/cgit/tools/testlab/sd-mux";
9 rev = "9dd189d973da64e033a0c5c2adb3d94b23153d94";
10 hash = "sha256-b0uoxVPfSrqNt0wJoQho9jlpQQUjofgFm93P+UNFtDs=";
13 nativeBuildInputs = [ cmake pkg-config installShellFiles ];
15 buildInputs = [ libftdi1 popt ];
18 install -D -m 644 ../doc/man/sd-mux-ctrl.1 $out/share/man/man1/sd-mux-ctrl.1
19 installShellCompletion --cmd sd-mux-ctrl \
20 --bash ../etc/bash_completion.d/sd-mux-ctrl
24 description = "Tool for controlling multiple sd-mux devices";
25 homepage = "https://git.tizen.org/cgit/tools/testlab/sd-mux";
26 license = licenses.asl20;
27 maintainers = with maintainers; [ newam sarcasticadmin ];
28 platforms = platforms.unix;
29 mainProgram = "sd-mux-ctrl";