nixpkgs-suyu/pkgs/desktops/mate/mate-netbook/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

40 lines
1.1 KiB
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libwnck3, libfakekey, libXtst, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "mate-netbook";
version = "1.22.1";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "00n162bskbvxhy4k2w14f9zwlsg3wgi43228ssx7sc2p95psmm64";
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
gtk3
libwnck3
libfakekey
libXtst
mate.mate-panel
];
meta = with stdenv.lib; {
description = "MATE utilities for netbooks";
longDescription = ''
MATE utilities for netbooks are an applet and a daemon to maximize
windows and move their titles on the panel.
Installing these utilities is recommended for netbooks and similar
devices with low resolution displays.
'';
homepage = https://mate-desktop.org;
license = with licenses; [ gpl3 lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}