17 lines
379 B
Nix
17 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";
|
|
};
|
|
}
|