2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, libXext, libXi, libXmu, libXt, libXtst }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-08-05 21:33:18 +00:00
|
|
|
pname = "imwheel";
|
|
|
|
version = "1.0.0pre12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-08-05 21:33:18 +00:00
|
|
|
url = "mirror://sourceforge/imwheel/imwheel-${version}.tar.gz";
|
2020-04-24 23:36:52 +00:00
|
|
|
sha256 = "2320ed019c95ca4d922968e1e1cbf0c075a914e865e3965d2bd694ca3d57cfe3";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXext libXi libXmu libXt libXtst ];
|
|
|
|
|
|
|
|
makeFlags = [
|
|
|
|
"sysconfdir=/etc"
|
|
|
|
"ETCDIR=/etc"
|
|
|
|
];
|
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"sysconfdir=${placeholder "out"}/etc"
|
|
|
|
"ETCDIR=${placeholder "out"}/etc"
|
|
|
|
];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "http://imwheel.sourceforge.net/";
|
|
|
|
description = "Mouse wheel configuration tool for XFree86/Xorg";
|
|
|
|
maintainers = with maintainers; [ jhillyerd ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|