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

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

  buildInputs = [ zlib ];

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

  meta = {
    homepage = "http://darwinsys.com/file";
    description = "A program that shows the type of files";
  };
}