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

18 lines
379 B
Nix
Raw Normal View History

2013-02-16 23:17:18 +01:00
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
2013-02-16 23:17:18 +01:00
name = "file-5.12";
buildInputs = [ zlib ];
src = fetchurl {
url = "ftp://ftp.astron.com/pub/file/${name}.tar.gz";
2013-02-16 23:17:18 +01:00
sha256 = "08ix4xrvan0k80n0l5lqfmc4azjv5lyhvhwdxny4r09j5smhv78r";
};
meta = {
homepage = "http://darwinsys.com/file";
2013-02-16 23:17:18 +01:00
description = "A program that shows the type of files";
};
}