mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
Merge pull request #326326 from sdaqo/mpv-subs-popout
This commit is contained in:
commit
bd50075052
@ -18215,6 +18215,12 @@
|
||||
githubId = 11587657;
|
||||
keys = [ { fingerprint = "E173 237A C782 296D 98F5 ADAC E13D FD4B 4712 7951"; } ];
|
||||
};
|
||||
sdaqo = {
|
||||
name = "sdaqo";
|
||||
email = "sdaqo.dev@protonmail.com";
|
||||
github = "sdaqo";
|
||||
githubId = 63876564;
|
||||
};
|
||||
sdht0 = {
|
||||
email = "nixpkgs@sdht.in";
|
||||
github = "sdht0";
|
||||
|
31
pkgs/by-name/mp/mpv-subs-popout/package.nix
Normal file
31
pkgs/by-name/mp/mpv-subs-popout/package.nix
Normal file
@ -0,0 +1,31 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, rustPlatform
|
||||
, wrapGAppsHook3
|
||||
, pkg-config
|
||||
, openssl
|
||||
}:
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "mpv-subs-popout";
|
||||
version = "0.5.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sdaqo";
|
||||
repo = "mpv-subs-popout";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Z8IWiYKitkbEFdjca5G6P0I6j4Fg2fIHco6fD90UoBw=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-vWDrbT1qZVU/N+V24Egq4cAoqysfX1hjQc+D9M5ViEE=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config wrapGAppsHook3 ];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
meta = {
|
||||
description = "A 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user