mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-29 15:43:00 +00:00
celluloid: refactor
- finalAttrs - strictDeps - meta.changelog and meta.mainProgram
This commit is contained in:
parent
093194d747
commit
30cca2e6f7
@ -16,14 +16,14 @@
|
||||
, wrapGAppsHook4
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "celluloid";
|
||||
version = "0.26";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "celluloid-player";
|
||||
repo = "celluloid";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-npaagLlkwDe0r0hqj7buM4B9sbLCX1sR2yFXXj+obdE=";
|
||||
};
|
||||
|
||||
@ -49,11 +49,13 @@ stdenv.mkDerivation rec {
|
||||
patchShebangs meson-post-install.py src/generate-authors.py
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "https://github.com/celluloid-player/celluloid";
|
||||
description = "Simple GTK frontend for the mpv video player";
|
||||
longDescription = ''
|
||||
@ -61,8 +63,10 @@ stdenv.mkDerivation rec {
|
||||
Celluloid interacts with mpv via the client API exported by libmpv,
|
||||
allowing access to mpv's powerful playback capabilities.
|
||||
'';
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
changelog = "https://github.com/celluloid-player/celluloid/releases/tag/${finalAttrs.src.rev}";
|
||||
license = lib.licenses.gpl3Plus;
|
||||
mainProgram = "celluloid";
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
@ -32488,8 +32488,6 @@ with pkgs;
|
||||
|
||||
gnomecast = callPackage ../applications/video/gnomecast { };
|
||||
|
||||
celluloid = callPackage ../applications/video/celluloid { };
|
||||
|
||||
gnome-recipes = callPackage ../applications/misc/gnome-recipes {
|
||||
inherit (gnome) gnome-autoar;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user