mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
18 lines
379 B
Nix
18 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";
|
|
};
|
|
}
|