mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 11:22:58 +00:00
commit
06dd8e56bc
@ -1,16 +1,22 @@
|
||||
{ lib, mkFranzDerivation, fetchurl, xorg }:
|
||||
{ lib, mkFranzDerivation, fetchurl, xorg, nix-update-script }:
|
||||
|
||||
mkFranzDerivation rec {
|
||||
pname = "ferdium";
|
||||
name = "Ferdium";
|
||||
version = "6.2.4";
|
||||
version = "6.2.6";
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ferdium/ferdium-app/releases/download/v${version}/Ferdium-linux-${version}-amd64.deb";
|
||||
sha256 = "sha256-iat0d06IhupMVYfK8Ot14gBY+5rHO4e/lVYqbX9ucIo=";
|
||||
sha256 = "sha256-jG3NdolWqQzj/62jYwnqJHz5uT6QIuOkrpL/FcLl56k=";
|
||||
};
|
||||
|
||||
extraBuildInputs = [ xorg.libxshmfence ];
|
||||
|
||||
passthru = {
|
||||
updateScript = nix-update-script {
|
||||
extraArgs = [ "--override-filename" ./default.nix ];
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "All your services in one place built by the community";
|
||||
homepage = "https://ferdium.org/";
|
||||
|
@ -28,9 +28,10 @@
|
||||
|
||||
# Helper function for building a derivation for Franz and forks.
|
||||
|
||||
{ pname, name, version, src, meta, extraBuildInputs ? [] }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
{ pname, name, version, src, meta, extraBuildInputs ? [], ... } @ args:
|
||||
let
|
||||
cleanedArgs = builtins.removeAttrs args [ "pname" "name" "version" "src" "meta" "extraBuildInputs" ];
|
||||
in stdenv.mkDerivation (rec {
|
||||
inherit pname version src meta;
|
||||
|
||||
# Don't remove runtime deps.
|
||||
@ -91,4 +92,4 @@ stdenv.mkDerivation rec {
|
||||
--suffix PATH : ${xdg-utils}/bin \
|
||||
"''${gappsWrapperArgs[@]}"
|
||||
'';
|
||||
}
|
||||
} // cleanedArgs)
|
||||
|
Loading…
Reference in New Issue
Block a user