nixpkgs/pkgs/applications/window-managers/trayer/default.nix
Matthew Bauer 99c868c010 use https://github.com for all homepages
GitHub does a redirect to https:// when you use http://

repology complains with:

“Homepage link "https://github.com/…" is dead (HTTP error 404) for more than a month.”

This will fix some of them (not all though)
2017-08-17 14:53:40 -07:00

30 lines
681 B
Nix

{ stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, gtk2 }:
stdenv.mkDerivation rec {
name = "trayer-1.1.7";
buildInputs = [ pkgconfig gdk_pixbuf gtk2 ];
src = fetchFromGitHub {
owner = "sargon";
repo = "trayer-srg";
rev = name;
sha256 = "06lpgralggh5546qgvpilzxh4anshli2za41x68x2zbaizyqb09a";
};
preConfigure = ''
patchShebangs configure
'';
makeFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
homepage = https://github.com/sargon/trayer-srg;
license = licenses.mit;
description = "A lightweight GTK2-based systray for UNIX desktop";
platforms = platforms.linux;
maintainers = with maintainers; [ pSub ];
};
}