delfin: init at 0.2.1
This commit is contained in:
75
pkgs/additional/delfin/default.nix
Normal file
75
pkgs/additional/delfin/default.nix
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, appstream
|
||||||
|
, cargo
|
||||||
|
, desktop-file-utils
|
||||||
|
, fetchFromGitea
|
||||||
|
, gtk4
|
||||||
|
, libadwaita
|
||||||
|
, libglvnd
|
||||||
|
, libepoxy
|
||||||
|
, meson
|
||||||
|
, mpv
|
||||||
|
, ninja
|
||||||
|
, openssl
|
||||||
|
, pkg-config
|
||||||
|
, rustc
|
||||||
|
, rustPlatform
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "delfin";
|
||||||
|
version = "0.2.1";
|
||||||
|
|
||||||
|
src = fetchFromGitea {
|
||||||
|
domain = "codeberg.org";
|
||||||
|
owner = "avery42";
|
||||||
|
repo = "delfin";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-jkNMioh0NkUMQYnzGveYVu9Vn8k2Zv5sDog8C58DJ6M=";
|
||||||
|
};
|
||||||
|
|
||||||
|
# cargoHash = "sha256-jHXkpfNWs07WSnxWSEvSX6HFx3e3YOWGsYEs7lJcAds=";
|
||||||
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
inherit src;
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
hash = "sha256-jHXkpfNWs07WSnxWSEvSX6HFx3e3YOWGsYEs7lJcAds=";
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
desktop-file-utils
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
appstream
|
||||||
|
gtk4
|
||||||
|
libadwaita
|
||||||
|
libglvnd
|
||||||
|
libepoxy
|
||||||
|
mpv
|
||||||
|
openssl
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
"-Dprofile=release"
|
||||||
|
];
|
||||||
|
|
||||||
|
# upstream pins the linker to clang, unnecessarily
|
||||||
|
postPatch = ''
|
||||||
|
rm .cargo/config.toml
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "stream movies and TV shows from Jellyfin";
|
||||||
|
homepage = "https://www.delfin.avery.cafe/";
|
||||||
|
license = licenses.gpl3Only;
|
||||||
|
maintainers = with maintainers; [ colinsane ];
|
||||||
|
};
|
||||||
|
}
|
@@ -27,6 +27,7 @@ let
|
|||||||
chatty-latest = callPackage ./additional/chatty-latest { };
|
chatty-latest = callPackage ./additional/chatty-latest { };
|
||||||
codemadness-frontends = callPackage ./additional/codemadness-frontends { };
|
codemadness-frontends = callPackage ./additional/codemadness-frontends { };
|
||||||
codemadness-frontends_0_6 = codemadness-frontends.v0_6;
|
codemadness-frontends_0_6 = codemadness-frontends.v0_6;
|
||||||
|
delfin = callPackage ./additional/delfin { };
|
||||||
eg25-control = callPackage ./additional/eg25-control { };
|
eg25-control = callPackage ./additional/eg25-control { };
|
||||||
eg25-manager = callPackage ./additional/eg25-manager { };
|
eg25-manager = callPackage ./additional/eg25-manager { };
|
||||||
feeds = lib.recurseIntoAttrs (callPackage ./additional/feeds { });
|
feeds = lib.recurseIntoAttrs (callPackage ./additional/feeds { });
|
||||||
|
Reference in New Issue
Block a user