1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-01 01:51:24 +00:00
nixpkgs/pkgs/applications/window-managers/sxhkd/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

23 lines
629 B
Nix

{ stdenv, fetchurl, asciidoc, libxcb, xcbutil, xcbutilkeysyms, xcbutilwm }:
stdenv.mkDerivation rec {
name = "sxhkd-${version}";
version = "0.5.6";
src = fetchurl {
url = "https://github.com/baskerville/sxhkd/archive/${version}.tar.gz";
sha256 = "15grmzpxz5fqlbfg2slj7gb7r6nzkvjmflmbkqx7mlby9pm6wdkj";
};
buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];
makeFlags = ''PREFIX=$(out)'';
meta = {
description = "Simple X hotkey daemon";
homepage = https://github.com/baskerville/sxhkd/;
license = stdenv.lib.licenses.bsd2;
platforms = stdenv.lib.platforms.linux;
};
}