1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs/tools/misc/file/default.nix

22 lines
494 B
Nix
Raw Normal View History

2013-02-16 22:17:18 +00:00
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
2015-09-22 22:29:47 +01:00
name = "file-5.25";
buildInputs = [ zlib ];
src = fetchurl {
urls = [
"ftp://ftp.astron.com/pub/file/${name}.tar.gz"
"http://distfiles.macports.org/file/${name}.tar.gz"
];
2015-09-22 22:29:47 +01:00
sha256 = "1jhfi5mivdnqvry5la5q919l503ahwdwbf3hjhiv97znccakhd9p";
};
meta = {
homepage = "http://darwinsys.com/file";
2013-02-16 22:17:18 +00:00
description = "A program that shows the type of files";
platforms = stdenv.lib.platforms.all;
};
}