depot/third_party/nixpkgs/pkgs/tools/misc/aquosctl/default.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

35 lines
746 B
Nix

{ 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;
mainProgram = "aquosctl";
};
}