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

19 lines
421 B
Nix
Raw Normal View History

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