rox-filer: Use wrapGAppsHook

Also use `pname` + `version`
This commit is contained in:
Samuel Dionne-Riel 2021-05-31 02:12:09 -04:00
parent 6933d068c5
commit 3f8d041944

View File

@ -1,17 +1,27 @@
{ lib, stdenv, fetchurl, pkg-config, libxml2, gtk, libSM, shared-mime-info }:
{ lib
, stdenv
, fetchurl
, pkg-config
, wrapGAppsHook
, libxml2
, gtk
, libSM
, shared-mime-info
}:
let
stdenv.mkDerivation rec {
pname = "rox-filer";
version = "2.11";
name = "rox-filer-${version}";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "mirror://sourceforge/rox/rox-filer-${version}.tar.bz2";
sha256 = "a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8";
};
nativeBuildInputs = [ pkg-config ];
nativeBuildInputs = [
pkg-config
wrapGAppsHook
];
buildInputs = [ libxml2 gtk shared-mime-info libSM ];
NIX_LDFLAGS = "-ldl -lm";