file: 5.28 -> 5.30
This commit is contained in:
parent
fa65cc067b
commit
1129f92f65
@ -1,21 +1,26 @@
|
|||||||
{ stdenv, fetchurl, zlib }:
|
{ stdenv, fetchurl, zlib }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "file-5.28";
|
name = "file-${version}";
|
||||||
|
version = "5.30";
|
||||||
buildInputs = [ zlib ];
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
urls = [
|
urls = [
|
||||||
"ftp://ftp.astron.com/pub/file/${name}.tar.gz"
|
"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";
|
homepage = "http://darwinsys.com/file";
|
||||||
description = "A program that shows the type of files";
|
description = "A program that shows the type of files";
|
||||||
platforms = stdenv.lib.platforms.all;
|
license = licenses.bsd2;
|
||||||
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user