From 1129f92f6548b9436e16e9f0a776fdbf84c43752 Mon Sep 17 00:00:00 2001 From: Renaud Date: Wed, 15 Mar 2017 22:01:39 +0100 Subject: [PATCH] file: 5.28 -> 5.30 --- pkgs/tools/misc/file/default.nix | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/misc/file/default.nix b/pkgs/tools/misc/file/default.nix index b1e9990ea7d4..68e4210ad418 100644 --- a/pkgs/tools/misc/file/default.nix +++ b/pkgs/tools/misc/file/default.nix @@ -1,21 +1,26 @@ { stdenv, fetchurl, zlib }: stdenv.mkDerivation rec { - name = "file-5.28"; - - buildInputs = [ zlib ]; + name = "file-${version}"; + version = "5.30"; src = fetchurl { urls = [ "ftp://ftp.astron.com/pub/file/${name}.tar.gz" - "http://distfiles.macports.org/file/${name}.tar.gz" + "https://distfiles.macports.org/file/${name}.tar.gz" ]; - sha256 = "04p0w9ggqq6cqvwhyni0flji1z0rwrz896hmhkxd2mc6dca5xjqf"; + sha256 = "694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214"; }; - meta = { + buildInputs = [ zlib ]; + + doCheck = true; + + + meta = with stdenv.lib; { homepage = "http://darwinsys.com/file"; description = "A program that shows the type of files"; - platforms = stdenv.lib.platforms.all; + license = licenses.bsd2; + platforms = platforms.all; }; }