lol
1{ lib
2, stdenv
3, fetchFromGitHub
4}:
5
6let
7 pname = "aquosctl";
8in
9stdenv.mkDerivation {
10 inherit pname;
11 version = "unstable-2014-04-06";
12
13 src = fetchFromGitHub {
14 owner = "jdwhite";
15 repo = pname;
16 rev = "b5e48d9ef848188b97dfb24bfcc99d5196cab5f6";
17 hash = "sha256-FA3LR58KMG5RzSxxnOkVw1+inM/gMGPtw5+JQwSHBYs=";
18 };
19
20 installPhase = ''
21 runHook preInstall
22 install -Dm0755 aquosctl $out/bin/aquosctl
23 runHook postInstall
24 '';
25
26 meta = with lib; {
27 description = "Sharp Aquos television RS-232 control application";
28 homepage = "https://github.com/jdwhite/aquosctl";
29 license = licenses.mit;
30 maintainers = with maintainers; [ hexa ];
31 platforms = platforms.linux;
32 };
33}
34