3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/qxt/default.nix

35 lines
942 B
Nix
Raw Normal View History

{ lib, stdenv, which, coreutils, fetchzip, qt4 }:
2015-04-14 19:36:49 +01:00
stdenv.mkDerivation rec {
pname = "qxt";
2015-04-14 19:36:49 +01:00
version = "0.6.2";
2015-04-14 19:36:49 +01:00
src = fetchzip {
url = "https://bitbucket.org/libqxt/libqxt/get/v${version}.tar.gz";
2015-04-14 19:36:49 +01:00
sha256 = "0zmqfn0h8cpky7wgaaxlfh0l89r9r0isi87587kaicyap7a6kxwz";
};
buildInputs = [ qt4 which ];
patchPhase = ''
patchShebangs configure
substituteInPlace configure --replace "/bin/pwd" "${coreutils}/bin/pwd"
'';
prefixKey = "-prefix ";
meta = {
homepage = "http://libqxt.org";
2015-04-14 19:36:49 +01:00
description = "An extension library for Qt";
longDescription = ''
An extension library for Qt providing a suite of cross-platform utility
classes to add functionality not readily available in the Qt toolkit by Qt
Development Frameworks, Nokia.
'';
license = lib.licenses.gpl2;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ forkk ];
broken = true;
2015-04-14 19:36:49 +01:00
};
}