diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-02 19:19:16 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-08-02 21:17:44 +0300 |
commit | 63de40099f085b20f5607db530592bbea2492da1 (patch) | |
tree | ba094a4de6d6be8b6213bdf8ddcf51563e7be1ac /pkgs/development | |
parent | 2258b21e4b40d42cbe36fd4b5946c19861a9ff95 (diff) | |
download | nixpkgs-63de40099f085b20f5607db530592bbea2492da1.tar nixpkgs-63de40099f085b20f5607db530592bbea2492da1.tar.gz nixpkgs-63de40099f085b20f5607db530592bbea2492da1.tar.bz2 nixpkgs-63de40099f085b20f5607db530592bbea2492da1.tar.lz nixpkgs-63de40099f085b20f5607db530592bbea2492da1.tar.xz nixpkgs-63de40099f085b20f5607db530592bbea2492da1.tar.zst nixpkgs-63de40099f085b20f5607db530592bbea2492da1.zip |
treewide: Move some meta sections to end-of-file
That seems to be the overwhelming convention.
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/libraries/libctemplate/2.2.nix | 18 | ||||
-rw-r--r-- | pkgs/development/libraries/libmhash/default.nix | 26 | ||||
-rw-r--r-- | pkgs/development/tools/misc/checkbashisms/default.nix | 12 |
3 files changed, 28 insertions, 28 deletions
diff --git a/pkgs/development/libraries/libctemplate/2.2.nix b/pkgs/development/libraries/libctemplate/2.2.nix index 36652f7abc7..4851dbf3c54 100644 --- a/pkgs/development/libraries/libctemplate/2.2.nix +++ b/pkgs/development/libraries/libctemplate/2.2.nix @@ -1,6 +1,15 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { + pname = "ctemplate"; + version = "2.2"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://ctemplate.googlecode.com/files/${name}.tar.gz"; + sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4"; + }; + meta = { description = "A simple but powerful template language for C++"; longDescription = '' @@ -10,13 +19,4 @@ stdenv.mkDerivation rec { homepage = http://code.google.com/p/google-ctemplate/; license = "bsd"; }; - - pname = "ctemplate"; - version = "2.2"; - name = "${pname}-${version}"; - - src = fetchurl { - url = "http://ctemplate.googlecode.com/files/${name}.tar.gz"; - sha256 = "0vv8gvyndppm9m5s1i5k0jvwcz41l1vfgg04r7nssdpzyz0cpwq4"; - }; } diff --git a/pkgs/development/libraries/libmhash/default.nix b/pkgs/development/libraries/libmhash/default.nix index 565340ac271..256220fa211 100644 --- a/pkgs/development/libraries/libmhash/default.nix +++ b/pkgs/development/libraries/libmhash/default.nix @@ -1,6 +1,19 @@ { stdenv, fetchurl }: stdenv.mkDerivation rec { + pname = "mhash"; + version = "0.9.9.9"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; + sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; + }; + + dontDisableStatic = true; + + patches = [ ./autotools-define-conflict-debian-fix.patch ]; + meta = { description = "Hash algorithms library"; longDescription = '' @@ -12,17 +25,4 @@ stdenv.mkDerivation rec { homepage = http://mhash.sourceforge.net; license = "LGPL"; }; - - pname = "mhash"; - version = "0.9.9.9"; - name = "${pname}-${version}"; - - dontDisableStatic = true; - - src = fetchurl { - url = "mirror://sourceforge/${pname}/${name}.tar.bz2"; - sha256 = "1w7yiljan8gf1ibiypi6hm3r363imm3sxl1j8hapjdq3m591qljn"; - }; - - patches = [ ./autotools-define-conflict-debian-fix.patch ]; } diff --git a/pkgs/development/tools/misc/checkbashisms/default.nix b/pkgs/development/tools/misc/checkbashisms/default.nix index 1585b126961..338585122a5 100644 --- a/pkgs/development/tools/misc/checkbashisms/default.nix +++ b/pkgs/development/tools/misc/checkbashisms/default.nix @@ -10,12 +10,6 @@ stdenv.mkDerivation rec { sha256 = "1vm0yykkg58ja9ianfpm3mgrpah109gj33b41kl0jmmm11zip9jd"; }; - meta = { - homepage = http://sourceforge.net/projects/checkbaskisms/; - description = "Check shell scripts for non-portable syntax"; - license = stdenv.lib.licenses.gpl2; - }; - # The link returns directly the script. No need for unpacking unpackPhase = "true"; @@ -29,4 +23,10 @@ stdenv.mkDerivation rec { fixupPhase = '' sed -e "s#/usr/bin/perl#$perl/bin/perl#" -i $out/bin/checkbashisms ''; + + meta = { + homepage = http://sourceforge.net/projects/checkbaskisms/; + description = "Check shell scripts for non-portable syntax"; + license = stdenv.lib.licenses.gpl2; + }; } |