qjoypad: 4.1.0 -> 4.3.1
This commit is contained in:
parent
824ad4fe30
commit
1bf834a1dd
|
@ -1,21 +1,19 @@
|
||||||
{ lib, stdenv, fetchurl, pkg-config, libX11, libXtst, qt4 }:
|
{ lib, mkDerivation, fetchFromGitHub, pkg-config, cmake, libX11, libXtst, qtbase, qttools, qtx11extras }:
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "qjoypad";
|
pname = "qjoypad";
|
||||||
version = "4.1.0";
|
version = "4.3.1";
|
||||||
src = fetchurl {
|
|
||||||
url = "mirror://sourceforge/qjoypad/qjoypad-${version}.tar.gz";
|
src = fetchFromGitHub {
|
||||||
sha256 = "1jlm7i26nfp185xrl41kz5z6fgvyj51bjpz48cg27xx64y40iamm";
|
owner = "panzi";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256:1w26ddxb1xirb7qjf7kv9llxzjhbhcb7warnxbx41qhbni46g26y";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [ pkg-config ];
|
|
||||||
buildInputs = [ libX11 libXtst qt4 ];
|
nativeBuildInputs = [ pkg-config cmake ];
|
||||||
NIX_LDFLAGS = "-lX11";
|
buildInputs = [ libX11 libXtst qtbase qttools qtx11extras ];
|
||||||
patchPhase = ''
|
|
||||||
cd src
|
meta = with lib; {
|
||||||
substituteInPlace config --replace /bin/bash ${stdenv.shell}
|
|
||||||
mkdir -p $out
|
|
||||||
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${libX11}/lib"
|
|
||||||
'';
|
|
||||||
meta = {
|
|
||||||
description = "A program that lets you use gaming devices anywhere";
|
description = "A program that lets you use gaming devices anywhere";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
A simple Linux/QT program that lets you use your gaming devices
|
A simple Linux/QT program that lets you use your gaming devices
|
||||||
|
@ -33,9 +31,9 @@ stdenv.mkDerivation rec {
|
||||||
of gaming devices in Linux, and makes the Linux gaming
|
of gaming devices in Linux, and makes the Linux gaming
|
||||||
experience just a little bit nicer.
|
experience just a little bit nicer.
|
||||||
'';
|
'';
|
||||||
homepage = "http://qjoypad.sourceforge.net";
|
homepage = "https://github.com/panzi/qjoypad/";
|
||||||
license = lib.licenses.gpl2;
|
license = lib.licenses.gpl2;
|
||||||
maintainers = with lib.maintainers; [ astsmtl ];
|
maintainers = with maintainers; [ astsmtl ];
|
||||||
platforms = with lib.platforms; linux;
|
platforms = with platforms; linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -9675,7 +9675,7 @@ with pkgs;
|
||||||
|
|
||||||
qjournalctl = libsForQt5.callPackage ../applications/system/qjournalctl { };
|
qjournalctl = libsForQt5.callPackage ../applications/system/qjournalctl { };
|
||||||
|
|
||||||
qjoypad = callPackage ../tools/misc/qjoypad { };
|
qjoypad = libsForQt5.callPackage ../tools/misc/qjoypad { };
|
||||||
|
|
||||||
qmk = callPackage ../tools/misc/qmk { };
|
qmk = callPackage ../tools/misc/qmk { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue