nixpkgs/pkgs/tools/misc/file/default.nix

22 lines
494 B
Nix
Raw Normal View History

2013-02-16 22:17:18 +00:00
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
2016-06-20 16:23:39 +00:00
name = "file-5.28";
buildInputs = [ zlib ];
src = fetchurl {
urls = [
"ftp://ftp.astron.com/pub/file/${name}.tar.gz"
"http://distfiles.macports.org/file/${name}.tar.gz"
];
2016-06-20 16:23:39 +00:00
sha256 = "04p0w9ggqq6cqvwhyni0flji1z0rwrz896hmhkxd2mc6dca5xjqf";
};
meta = {
homepage = "http://darwinsys.com/file";
2013-02-16 22:17:18 +00:00
description = "A program that shows the type of files";
platforms = stdenv.lib.platforms.all;
};
}