nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ stdenv, which, coreutils, fetchzip, qt4 }:
2
3stdenv.mkDerivation rec {
4 pname = "qxt";
5 version = "0.6.2";
6
7 src = fetchzip {
8 url = "https://bitbucket.org/libqxt/libqxt/get/v${version}.tar.gz";
9 sha256 = "0zmqfn0h8cpky7wgaaxlfh0l89r9r0isi87587kaicyap7a6kxwz";
10 };
11
12 buildInputs = [ qt4 which ];
13
14 patchPhase = ''
15 patchShebangs configure
16 substituteInPlace configure --replace "/bin/pwd" "${coreutils}/bin/pwd"
17 '';
18
19 prefixKey = "-prefix ";
20
21 meta = {
22 homepage = http://libqxt.org;
23 description = "An extension library for Qt";
24 longDescription = ''
25 An extension library for Qt providing a suite of cross-platform utility
26 classes to add functionality not readily available in the Qt toolkit by Qt
27 Development Frameworks, Nokia.
28 '';
29 license = stdenv.lib.licenses.gpl2;
30 platforms = stdenv.lib.platforms.linux;
31 maintainers = with stdenv.lib.maintainers; [ forkk ];
32 broken = true;
33 };
34}