nixpkgs-suyu/pkgs/desktops/mate/mate-screensaver/default.nix
Matthew Bauer 290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00

40 lines
986 B
Nix

{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, libXScrnSaver, libnotify, pam, systemd, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
name = "mate-screensaver-${version}";
version = "1.20.3";
src = fetchurl {
url = "http://pub.mate-desktop.org/releases/${mate.getRelease version}/${name}.tar.xz";
sha256 = "0kmaj4psg7261h02dzarga6k5cb7n709d60xbfrhywnf5fb9787i";
};
nativeBuildInputs = [
pkgconfig
intltool
wrapGAppsHook
];
buildInputs = [
gtk3
dbus-glib
libXScrnSaver
libnotify
pam
systemd
mate.mate-desktop
mate.mate-menus
];
configureFlags = [ "--without-console-kit" ];
makeFlags = "DBUS_SESSION_SERVICE_DIR=$(out)/etc";
meta = with stdenv.lib; {
description = "Screen saver and locker for the MATE desktop";
homepage = https://mate-desktop.org;
license = with licenses; [ gpl2Plus lgpl2Plus ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
};
}