Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1.1 KiB
Nix
50 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
mkFranzDerivation,
|
|
fetchurl,
|
|
xorg,
|
|
stdenv,
|
|
}:
|
|
|
|
let
|
|
arch =
|
|
{
|
|
x86_64-linux = "amd64";
|
|
aarch64-linux = "arm64";
|
|
}
|
|
."${stdenv.hostPlatform.system}" or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
|
|
hash =
|
|
{
|
|
amd64-linux_hash = "sha256-84W40++U+5/kTI84vGEqAVb93TCgFPduBkhMQG0yDRo=";
|
|
arm64-linux_hash = "sha256-lOQW559aXXBIDuindVj8YBB8pzNAJPoTSJ70y1YnZQ4=";
|
|
}
|
|
."${arch}-linux_hash";
|
|
in
|
|
mkFranzDerivation rec {
|
|
pname = "ferdium";
|
|
name = "Ferdium";
|
|
version = "7.1.0";
|
|
src = fetchurl {
|
|
url = "https://github.com/ferdium/ferdium-app/releases/download/v${version}/Ferdium-linux-${version}-${arch}.deb";
|
|
inherit hash;
|
|
};
|
|
|
|
extraBuildInputs = [ xorg.libxshmfence ];
|
|
|
|
passthru = {
|
|
updateScript = ./update.sh;
|
|
};
|
|
|
|
meta = with lib; {
|
|
description = "All your services in one place built by the community";
|
|
homepage = "https://ferdium.org/";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ magnouvean ];
|
|
platforms = [
|
|
"x86_64-linux"
|
|
"aarch64-linux"
|
|
];
|
|
hydraPlatforms = [ ];
|
|
};
|
|
}
|