delfin: remove
it's in nixpkgs now, and the co-maintainer is doing a very good job with it
This commit is contained in:
@@ -1,84 +0,0 @@
|
|||||||
{ lib
|
|
||||||
, stdenv
|
|
||||||
, appstream
|
|
||||||
, cargo
|
|
||||||
, desktop-file-utils
|
|
||||||
, fetchFromGitea
|
|
||||||
, gitUpdater
|
|
||||||
, gtk4
|
|
||||||
, libadwaita
|
|
||||||
, libglvnd
|
|
||||||
, libepoxy
|
|
||||||
, meson
|
|
||||||
, mpv-unwrapped
|
|
||||||
, ninja
|
|
||||||
, openssl
|
|
||||||
, pkg-config
|
|
||||||
, rustc
|
|
||||||
, rustPlatform
|
|
||||||
, wrapGAppsHook4
|
|
||||||
, devBuild ? false, git
|
|
||||||
}:
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
|
||||||
pname = "delfin";
|
|
||||||
version = "0.4.4";
|
|
||||||
|
|
||||||
src = if devBuild then fetchFromGitea {
|
|
||||||
domain = "git.uninsane.org";
|
|
||||||
owner = "colin";
|
|
||||||
repo = "delfin";
|
|
||||||
rev = "dev-sane";
|
|
||||||
hash = "sha256-l/Lm9dUtYfWbf8BoqNodF/5s0FzxhI/dyPevcaeyPME=";
|
|
||||||
} else fetchFromGitea {
|
|
||||||
domain = "codeberg.org";
|
|
||||||
owner = "avery42";
|
|
||||||
repo = "delfin";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-qbl0PvGKI3S845xLr0aXf/uk2uuOXMjvu9S3BOPzxa0=";
|
|
||||||
};
|
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
|
||||||
inherit src;
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
hash = "sha256-Js1mIotSOayYDjDVQMqXwaeSC2a1g1DeqD6QmeWwztk=";
|
|
||||||
};
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
appstream
|
|
||||||
desktop-file-utils
|
|
||||||
meson
|
|
||||||
ninja
|
|
||||||
pkg-config
|
|
||||||
rustPlatform.cargoSetupHook
|
|
||||||
cargo
|
|
||||||
rustc
|
|
||||||
wrapGAppsHook4
|
|
||||||
] ++ lib.optionals devBuild [
|
|
||||||
git
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
|
||||||
gtk4
|
|
||||||
libadwaita
|
|
||||||
libglvnd
|
|
||||||
libepoxy
|
|
||||||
mpv-unwrapped
|
|
||||||
openssl
|
|
||||||
];
|
|
||||||
|
|
||||||
mesonFlags = lib.optionals (!devBuild) [
|
|
||||||
"-Dprofile=release"
|
|
||||||
];
|
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
|
||||||
rev-prefix = "v";
|
|
||||||
};
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "stream movies and TV shows from Jellyfin";
|
|
||||||
homepage = "https://www.delfin.avery.cafe/";
|
|
||||||
license = licenses.gpl3Only;
|
|
||||||
maintainers = with maintainers; [ colinsane ];
|
|
||||||
};
|
|
||||||
}
|
|
@@ -28,7 +28,6 @@ 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