dotnet: improve language coverage of passthru.tests for dotnet sdks (#370789)
[NixPkgs.git] / pkgs / by-name / sd / sd-mux-ctrl / package.nix
blob1458f5635c152914919265d3b3e053a2e787ab7e
2   lib,
3   stdenv,
4   fetchgit,
5   cmake,
6   pkg-config,
7   installShellFiles,
8   libftdi1,
9   popt,
12 stdenv.mkDerivation rec {
13   pname = "sd-mux-ctrl-unstable";
14   version = "2020-02-17";
16   src = fetchgit {
17     url = "https://git.tizen.org/cgit/tools/testlab/sd-mux";
18     rev = "9dd189d973da64e033a0c5c2adb3d94b23153d94";
19     hash = "sha256-b0uoxVPfSrqNt0wJoQho9jlpQQUjofgFm93P+UNFtDs=";
20   };
22   nativeBuildInputs = [
23     cmake
24     pkg-config
25     installShellFiles
26   ];
28   buildInputs = [
29     libftdi1
30     popt
31   ];
33   postInstall = ''
34     install -D -m 644 ../doc/man/sd-mux-ctrl.1 $out/share/man/man1/sd-mux-ctrl.1
35     installShellCompletion --cmd sd-mux-ctrl \
36       --bash ../etc/bash_completion.d/sd-mux-ctrl
37   '';
39   meta = with lib; {
40     description = "Tool for controlling multiple sd-mux devices";
41     homepage = "https://git.tizen.org/cgit/tools/testlab/sd-mux";
42     license = licenses.asl20;
43     maintainers = with maintainers; [
44       newam
45       sarcasticadmin
46     ];
47     platforms = platforms.unix;
48     mainProgram = "sd-mux-ctrl";
49   };