about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/aquosctl/default.nix
blob: d67005053b151a2a8f7087befaee2e645b997554 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{ lib
, stdenv
, fetchFromGitHub
}:

let
  pname = "aquosctl";
in
stdenv.mkDerivation {
  inherit pname;
  version = "unstable-2014-04-06";

  src = fetchFromGitHub {
    owner = "jdwhite";
    repo = pname;
    rev = "b5e48d9ef848188b97dfb24bfcc99d5196cab5f6";
    hash = "sha256-FA3LR58KMG5RzSxxnOkVw1+inM/gMGPtw5+JQwSHBYs=";
  };

  installPhase = ''
    runHook preInstall
    install -Dm0755 aquosctl $out/bin/aquosctl
    runHook postInstall
  '';

  meta = with lib; {
    description = "Sharp Aquos television RS-232 control application";
    homepage = "https://github.com/jdwhite/aquosctl";
    license = licenses.mit;
    maintainers = with maintainers; [ hexa ];
    platforms = platforms.linux;
  };
}