file: 5.28 -> 5.30

This commit is contained in:
Renaud 2017-03-15 22:01:39 +01:00 committed by Franz Pletz
parent fa65cc067b
commit 1129f92f65

View File

@ -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;
};
}