From c9aceaea8643ddeecd5d6989be190ea3e95c6284 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 9 Feb 2016 11:04:13 +0000 Subject: [PATCH] gitAndTools.qgit: turn off format hardening --- .../git-and-tools/qgit/default.nix | 29 +++++++++++-------- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/pkgs/applications/version-management/git-and-tools/qgit/default.nix b/pkgs/applications/version-management/git-and-tools/qgit/default.nix index a7e6a62ce5f5..6240baac8f19 100644 --- a/pkgs/applications/version-management/git-and-tools/qgit/default.nix +++ b/pkgs/applications/version-management/git-and-tools/qgit/default.nix @@ -2,21 +2,26 @@ stdenv.mkDerivation rec { name = "qgit-2.5"; - meta = - { + + src = fetchurl { + url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz"; + sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499"; + }; + + buildInputs = [qt libXext libX11]; + + hardening_format = false; + + configurePhase = "qmake PREFIX=$out"; + + installPhase = '' + install -s -D -m 755 bin/qgit "$out/bin/qgit" + ''; + + meta = { license = stdenv.lib.licenses.gpl2; homepage = "http://libre.tibirna.org/projects/qgit/wiki/QGit"; description = "Graphical front-end to Git"; inherit (qt.meta) platforms; }; - src = fetchurl - { - url = "http://libre.tibirna.org/attachments/download/9/${name}.tar.gz"; - sha256 = "25f1ca2860d840d87b9919d34fc3a1b05d4163671ed87d29c3e4a8a09e0b2499"; - }; - buildInputs = [qt libXext libX11]; - configurePhase = "qmake PREFIX=$out"; - installPhase = '' - install -s -D -m 755 bin/qgit "$out/bin/qgit" - ''; }