From 1fd394d0d4cb6c3f48baaa9c4195a215607857c8 Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Fri, 7 Nov 2008 12:36:06 +0000 Subject: [PATCH] updated dosfstools 3.0.0 patch provided by Pauline (tachermourir@rambler.ru) svn path=/nixpkgs/trunk/; revision=13215 --- .../dosfstools/{2.11deb.nix => 3.00deb.nix} | 18 +++++++++--------- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) rename pkgs/tools/misc/dosfstools/{2.11deb.nix => 3.00deb.nix} (67%) diff --git a/pkgs/tools/misc/dosfstools/2.11deb.nix b/pkgs/tools/misc/dosfstools/3.00deb.nix similarity index 67% rename from pkgs/tools/misc/dosfstools/2.11deb.nix rename to pkgs/tools/misc/dosfstools/3.00deb.nix index 2c5d8554655..59c386da2b2 100644 --- a/pkgs/tools/misc/dosfstools/2.11deb.nix +++ b/pkgs/tools/misc/dosfstools/3.00deb.nix @@ -1,15 +1,15 @@ args : with args; with builderDefs; let patch = fetchurl { - url = http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_2.11-2.3.diff.gz; - sha256 = "0bzjhpgg4ih6c76ax8byis9vxgkr2c7bbbshqrkfq8j7ar48n5ld"; - }; - localDefs = builderDefs.passthru.function (rec { - src = /* put a fetchurl here */ - fetchurl { - url = http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_2.11.orig.tar.gz; - sha256 = "1154k0y04npblgac81p4pcmglilk1ldrqll4hvbrwgcb7096vb0f"; - }; + url = http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_3.0.0-1.diff.gz; + sha256 = "5ecab7e9cf213b0cc7406649ca59edb9ec6daad2fa454bce423ccb1744fc1336"; + }; + localDefs = builderDefs.passthru.function (rec { + src = /* put a fetchurl here */ + fetchurl { + url = http://ftp.de.debian.org/debian/pool/main/d/dosfstools/dosfstools_3.0.0.orig.tar.gz; + sha256 = "46125aafff40e8215e6aa30087c6c72a82654c8f5fca4878adc1fa26342eab58"; + }; preBuild = FullDepEntry ('' gunzip < ${patch} | patch -Np1 '')["minInit" "doUnpack"]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 813f84fec91..8e10b8e0b38 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -646,7 +646,7 @@ let gnused groff libxml2 libxslt makeWrapper; }; - dosfstools = composedArgsAndFun (selectVersion ../tools/misc/dosfstools "2.11deb") { + dosfstools = composedArgsAndFun (selectVersion ../tools/misc/dosfstools "3.00deb") { inherit builderDefs; };