This patch was produced in Vim by me, a human being. All errors are the fault of the operator. I did try to be careful. Co-authored-by: Peder Bergebakken Sundt <pbsds@hotmail.com> Co-authored-by: dotlambda <nix@dotlambda.de>
37 lines
866 B
Nix
37 lines
866 B
Nix
{
|
|
lib,
|
|
fetchFromGitHub,
|
|
rustPlatform,
|
|
wrapGAppsHook3,
|
|
pkg-config,
|
|
openssl,
|
|
}:
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "mpv-subs-popout";
|
|
version = "0.5.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "sdaqo";
|
|
repo = "mpv-subs-popout";
|
|
rev = "v${version}";
|
|
hash = "sha256-ELxI1pn1o+SQNtCKbZ0NFffqhJwRJzoeLSQHli9ZYwM=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-n7e3VrnueU7Lsj/FwM0aC9ThTqUlq27SS3RKugduwEA=";
|
|
|
|
nativeBuildInputs = [
|
|
pkg-config
|
|
wrapGAppsHook3
|
|
];
|
|
buildInputs = [ openssl ];
|
|
|
|
meta = {
|
|
description = "Little application that makes it possible to display mpv's subs anywhere you want. With translation features";
|
|
homepage = "https://github.com/sdaqo/mpv-subs-popout";
|
|
license = lib.licenses.gpl3;
|
|
maintainers = [ lib.maintainers.sdaqo ];
|
|
platforms = lib.platforms.linux;
|
|
};
|
|
}
|