summary refs log tree commit diff
path: root/pkgs/tools/misc/file/default.nix
blob: 015820916c74b9a7e7c648a9c05397ef6be32857 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ stdenv, fetchurl, zlib }:

stdenv.mkDerivation rec {
  name = "file-5.17";

  buildInputs = [ zlib ];

  src = fetchurl {
    url = "ftp://ftp.astron.com/pub/file/${name}.tar.gz";
    sha256 = "1jl31jli87s5xnjq14r1fh72qc95562qbr5f63d68yrq3ca9gsrz";
  };

  meta = {
    homepage = "http://darwinsys.com/file";
    description = "A program that shows the type of files";
    platforms = with stdenv.lib.platforms; allBut darwin;
  };
}