windowmaker.dockapps.wmsystemtray: refactor
This commit is contained in:
parent
38af904a5d
commit
40eba552d4
@ -1,22 +1,40 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, libX11, libXpm, libXext, libXfixes, libXmu }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchurl
|
||||||
|
, libX11
|
||||||
|
, libXext
|
||||||
|
, libXfixes
|
||||||
|
, libXmu
|
||||||
|
, libXpm
|
||||||
|
, pkg-config
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "wmsystemtray";
|
pname = "wmsystemtray";
|
||||||
version = "1.4";
|
version = "1.4";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/project/${pname}/${pname}/${pname}-${version}.tar.gz";
|
url = "mirror://sourceforge/project/wmsystemtray/wmsystemtray/wmsystemtray-${finalAttrs.version}.tar.gz";
|
||||||
sha256 = "sha256-jt70NpHp//BxAA4pFmx8GtQgwJVukGgVEGHogcisl+k=";
|
hash = "sha256-jt70NpHp//BxAA4pFmx8GtQgwJVukGgVEGHogcisl+k=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ libX11 libXpm libXext libXfixes libXmu ];
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
buildInputs = [
|
||||||
|
libX11
|
||||||
|
libXext
|
||||||
|
libXfixes
|
||||||
|
libXmu
|
||||||
|
libXpm
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = {
|
||||||
description = "A system tray for Windowmaker";
|
description = "A system tray for Windowmaker";
|
||||||
homepage = "http://wmsystemtray.sourceforge.net";
|
homepage = "http://wmsystemtray.sourceforge.net";
|
||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
maintainers = [ maintainers.bstrik ];
|
maintainers = [ ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user