Files
nixpkgs/pkgs/by-name/aq/aquosctl/package.nix
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

36 lines
759 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
let
pname = "aquosctl";
in
stdenv.mkDerivation {
inherit pname;
version = "0-unstable-2014-04-06";
src = fetchFromGitHub {
owner = "jdwhite";
repo = "aquosctl";
rev = "b5e48d9ef848188b97dfb24bfcc99d5196cab5f6";
hash = "sha256-FA3LR58KMG5RzSxxnOkVw1+inM/gMGPtw5+JQwSHBYs=";
};
installPhase = ''
runHook preInstall
install -Dm0755 aquosctl $out/bin/aquosctl
runHook postInstall
'';
meta = {
description = "Sharp Aquos television RS-232 control application";
homepage = "https://github.com/jdwhite/aquosctl";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ hexa ];
platforms = lib.platforms.linux;
mainProgram = "aquosctl";
};
}