mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
19 lines
421 B
Nix
19 lines
421 B
Nix
{ 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";
|
|
description = "A program that shows the type of files";
|
|
platforms = stdenv.lib.platforms.all;
|
|
};
|
|
}
|