diff options
author | Robin Gloster <mail@glob.in> | 2016-02-09 01:22:40 +0000 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2016-02-09 01:22:40 +0000 |
commit | 70e6a117fa30a21f5105f9b735a1bac60c352099 (patch) | |
tree | 7fcbc900b3ab6fafffbcc6670f7e5df5a37d1813 /pkgs/development/libraries/cwiid | |
parent | f39da3be76576a121ad0ea43cfd20f4ce64e8d2a (diff) | |
download | nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.tar nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.tar.gz nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.tar.bz2 nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.tar.lz nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.tar.xz nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.tar.zst nixpkgs-70e6a117fa30a21f5105f9b735a1bac60c352099.zip |
cwiid: reformat and turn off format hardening
Diffstat (limited to 'pkgs/development/libraries/cwiid')
-rw-r--r-- | pkgs/development/libraries/cwiid/default.nix | 52 |
1 files changed, 30 insertions, 22 deletions
diff --git a/pkgs/development/libraries/cwiid/default.nix b/pkgs/development/libraries/cwiid/default.nix index a86bdc8e035..0b7d96b5cc1 100644 --- a/pkgs/development/libraries/cwiid/default.nix +++ b/pkgs/development/libraries/cwiid/default.nix @@ -1,26 +1,34 @@ { stdenv, autoreconfHook, fetchgit, bison, flex, bluez, pkgconfig, gtk }: stdenv.mkDerivation rec { - name = "cwiid-2010-02-21-git"; - src = fetchgit { - url = https://github.com/abstrakraft/cwiid; - sha256 = "6f5355d036dab017da713c49d3042011fa24fb732ed0d5ee338ab6f5ff400f06"; - rev = "fadf11e89b579bcc0336a0692ac15c93785f3f82"; - }; - configureFlags = "--without-python"; - prePatch = '' - sed -i -e '/$(LDCONFIG)/d' common/include/lib.mak.in - ''; - buildInputs = [ autoreconfHook bison flex bluez pkgconfig gtk ]; - postInstall = '' - # Some programs (for example, cabal-install) have problems with the double 0 - sed -i -e "s/0.6.00/0.6.0/" $out/lib/pkgconfig/cwiid.pc - ''; - meta = { - description = "Linux Nintendo Wiimote interface"; - homepage = http://cwiid.org; - license = stdenv.lib.licenses.gpl2Plus; - maintainers = [ stdenv.lib.maintainers.bennofs ]; - platforms = stdenv.lib.platforms.linux; - }; + name = "cwiid-2010-02-21-git"; + + src = fetchgit { + url = https://github.com/abstrakraft/cwiid; + sha256 = "6f5355d036dab017da713c49d3042011fa24fb732ed0d5ee338ab6f5ff400f06"; + rev = "fadf11e89b579bcc0336a0692ac15c93785f3f82"; + }; + + hardening_format = false; + + configureFlags = "--without-python"; + + prePatch = '' + sed -i -e '/$(LDCONFIG)/d' common/include/lib.mak.in + ''; + + buildInputs = [ autoreconfHook bison flex bluez pkgconfig gtk ]; + + postInstall = '' + # Some programs (for example, cabal-install) have problems with the double 0 + sed -i -e "s/0.6.00/0.6.0/" $out/lib/pkgconfig/cwiid.pc + ''; + + meta = { + description = "Linux Nintendo Wiimote interface"; + homepage = http://cwiid.org; + license = stdenv.lib.licenses.gpl2Plus; + maintainers = [ stdenv.lib.maintainers.bennofs ]; + platforms = stdenv.lib.platforms.linux; + }; } |