1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/tools/misc/sd-mux-ctrl/default.nix

29 lines
807 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchgit, cmake, pkg-config, libftdi1, popt}:
2020-08-01 07:00:02 +01:00
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";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ cmake pkg-config ];
2020-08-01 07:00:02 +01:00
buildInputs = [ libftdi1 popt ];
postInstall = ''
install -D -m 644 ../doc/man/sd-mux-ctrl.1 $out/share/man/man1/sd-mux-ctrl.1
'';
meta = with lib; {
2020-08-01 07:00:02 +01:00
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;
};
}