mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
jellytui: init at 0.1.5 (#410908)
This commit is contained in:
commit
af39d18e9c
3 changed files with 2623 additions and 0 deletions
|
@ -27106,6 +27106,12 @@
|
||||||
githubId = 99486674;
|
githubId = 99486674;
|
||||||
name = "山下";
|
name = "山下";
|
||||||
};
|
};
|
||||||
|
yanek = {
|
||||||
|
name = "Noé Ksiazek";
|
||||||
|
email = "noe.ksiazek@pm.me";
|
||||||
|
github = "yanek";
|
||||||
|
githubId = 5952366;
|
||||||
|
};
|
||||||
yanganto = {
|
yanganto = {
|
||||||
name = "Antonio Yang";
|
name = "Antonio Yang";
|
||||||
email = "yanganto@gmail.com";
|
email = "yanganto@gmail.com";
|
||||||
|
|
2566
pkgs/by-name/je/jellytui/Cargo.lock
generated
Normal file
2566
pkgs/by-name/je/jellytui/Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
51
pkgs/by-name/je/jellytui/package.nix
Normal file
51
pkgs/by-name/je/jellytui/package.nix
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
rustPlatform,
|
||||||
|
fetchFromGitHub,
|
||||||
|
pkg-config,
|
||||||
|
mpv,
|
||||||
|
openssl,
|
||||||
|
makeWrapper,
|
||||||
|
}:
|
||||||
|
rustPlatform.buildRustPackage {
|
||||||
|
pname = "jellytui";
|
||||||
|
version = "0.1.5";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tyrantlink";
|
||||||
|
repo = "jellytui";
|
||||||
|
rev = "7b10490261672d750af2e3483b88f7daf017afb6";
|
||||||
|
hash = "sha256-cMSZDSN2qnTeKL3ZcNVRtS45Xa1kEcps9WpWuWruX/0=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoLock = {
|
||||||
|
lockFile = ./Cargo.lock;
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
makeWrapper
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
openssl
|
||||||
|
mpv
|
||||||
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
ln -s ${./Cargo.lock} Cargo.lock
|
||||||
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/jellytui \
|
||||||
|
--prefix PATH : ${lib.makeBinPath [ mpv ]}
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "TUI client for Jellyfin, using mpv";
|
||||||
|
homepage = "https://github.com/tyrantlink/jellytui";
|
||||||
|
license = lib.licenses.gpl3Only;
|
||||||
|
maintainers = with lib.maintainers; [ yanek ];
|
||||||
|
mainProgram = "jellytui";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue