rox-filer: Use wrapGAppsHook
Also use `pname` + `version`
This commit is contained in:
parent
6933d068c5
commit
3f8d041944
|
@ -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";
|
version = "2.11";
|
||||||
name = "rox-filer-${version}";
|
|
||||||
in stdenv.mkDerivation {
|
|
||||||
inherit name;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/rox/rox-filer-${version}.tar.bz2";
|
url = "mirror://sourceforge/rox/rox-filer-${version}.tar.bz2";
|
||||||
sha256 = "a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8";
|
sha256 = "a929bd32ee18ef7a2ed48b971574574592c42e34ae09f36604bf663d7c101ba8";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
|
pkg-config
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
buildInputs = [ libxml2 gtk shared-mime-info libSM ];
|
buildInputs = [ libxml2 gtk shared-mime-info libSM ];
|
||||||
NIX_LDFLAGS = "-ldl -lm";
|
NIX_LDFLAGS = "-ldl -lm";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue