mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 01:51:24 +00:00
99c868c010
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)
23 lines
629 B
Nix
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;
|
|
};
|
|
}
|