depot/pkgs/by-name/mp/mpv-subs-popout/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

31 lines
820 B
Nix

{ 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;
};
}