nixpkgs/pkgs/applications/window-managers/stalonetray/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

30 lines
715 B
Nix

{ stdenv, fetchurl, libX11, xorgproto }:
stdenv.mkDerivation rec {
pname = "stalonetray";
version = "0.8.3";
src = fetchurl {
url = "mirror://sourceforge/stalonetray/${pname}-${version}.tar.bz2";
sha256 = "0k7xnpdb6dvx25d67v0crlr32cdnzykdsi9j889njiididc8lm1n";
};
buildInputs = [ libX11 xorgproto ];
hardeningDisable = [ "format" ];
meta = with stdenv.lib; {
description = "Stand alone tray";
homepage = http://stalonetray.sourceforge.net;
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ raskin ];
};
passthru = {
updateInfo = {
downloadPage = "https://sourceforge.net/projects/stalonetray/files/";
};
};
}