2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl, libX11, libXext, libXi, libXmu, libXt, libXtst }:
|
2018-11-21 04:29:53 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-07-27 18:35:11 +01:00
|
|
|
pname = "imwheel";
|
|
|
|
version = "1.0.0pre12";
|
2018-11-21 04:29:53 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-27 18:35:11 +01:00
|
|
|
url = "mirror://sourceforge/imwheel/imwheel-${version}.tar.gz";
|
2018-11-21 04:29:53 +00:00
|
|
|
sha256 = "2320ed019c95ca4d922968e1e1cbf0c075a914e865e3965d2bd694ca3d57cfe3";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ libX11 libXext libXi libXmu libXt libXtst ];
|
|
|
|
|
2019-10-12 20:35:11 +01:00
|
|
|
makeFlags = [
|
|
|
|
"sysconfdir=/etc"
|
|
|
|
"ETCDIR=/etc"
|
|
|
|
];
|
|
|
|
|
|
|
|
installFlags = [
|
|
|
|
"sysconfdir=${placeholder "out"}/etc"
|
|
|
|
"ETCDIR=${placeholder "out"}/etc"
|
|
|
|
];
|
2018-11-21 04:29:53 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-11-21 04:29:53 +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;
|
|
|
|
};
|
|
|
|
}
|