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

19 lines
437 B
Nix
Raw Normal View History

2013-02-16 22:17:18 +00:00
{ 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";
2013-02-16 22:17:18 +00:00
description = "A program that shows the type of files";
2014-08-09 13:36:57 +01:00
platforms = with stdenv.lib.platforms; allBut darwin;
};
}