nixpkgs/pkgs/tools/misc/file/default.nix
2013-02-18 11:46:47 +01:00

18 lines
379 B
Nix

{ 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";
};
}