nixpkgs/pkgs/applications/video/jftui/default.nix
Sigmanificient 543cd40ecc treewide: remove trailing space in description
Done using `grep -rP 'description\s+=\s+"[^"]+[ ]";' | cut -d ':' -f 1 |
xargs -i nvim {}` and sorting the opened files by hand, avoiding
generated packages list
2024-07-26 03:38:50 +02:00

43 lines
739 B
Nix

{ lib, stdenv
, fetchFromGitHub
, pkg-config
, curl
, mpv
, yajl
}:
stdenv.mkDerivation rec {
pname = "jftui";
version = "0.7.2";
src = fetchFromGitHub {
owner = "Aanok";
repo = pname;
rev = "v${version}";
sha256 = "sha256-w5DK9B3D3/9VExAQktigVPim33VfpoQPHUZefAS3pWQ=";
};
nativeBuildInputs = [
pkg-config
];
buildInputs = [
curl
mpv
yajl
];
installPhase = ''
install -Dm555 build/jftui $out/bin/jftui
'';
meta = with lib; {
description = "Jellyfin Terminal User Interface";
homepage = "https://github.com/Aanok/jftui";
license = licenses.unlicense;
maintainers = [ maintainers.nyanloutre ];
platforms = platforms.linux;
mainProgram = "jftui";
};
}