aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/libmhash
diff options
context:
space:
mode:
authorTuomas Tynkkynen <tuomas@tuxera.com>2016-08-02 19:19:16 +0300
committerTuomas Tynkkynen <tuomas@tuxera.com>2016-08-02 21:17:44 +0300
commit63de40099f085b20f5607db530592bbea2492da1 (patch)
treeba094a4de6d6be8b6213bdf8ddcf51563e7be1ac /pkgs/development/libraries/libmhash
parent2258b21e4b40d42cbe36fd4b5946c19861a9ff95 (diff)
treewide: Move some meta sections to end-of-file
That seems to be the overwhelming convention.
Diffstat (limited to 'pkgs/development/libraries/libmhash')
-rw-r--r--pkgs/development/libraries/libmhash/default.nix26
1 files changed, 13 insertions, 13 deletions
diff --git a/pkgs/development/libraries/libmhash/default.nix b/pkgs/development/libraries/libmhash/default.nix
index 565340ac271f..256220fa211c 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 ];
}