diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2017-03-15 22:01:39 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2017-03-17 19:43:50 +0100 |
commit | 1129f92f6548b9436e16e9f0a776fdbf84c43752 (patch) | |
tree | 70c594be252cbbfb3d99d20a3afea422e6e12d07 /pkgs/tools/misc/file/default.nix | |
parent | fa65cc067b3bbdf4d4cdfb21f24009c297334b28 (diff) | |
download | nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.tar nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.tar.gz nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.tar.bz2 nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.tar.lz nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.tar.xz nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.tar.zst nixpkgs-1129f92f6548b9436e16e9f0a776fdbf84c43752.zip |
file: 5.28 -> 5.30
Diffstat (limited to 'pkgs/tools/misc/file/default.nix')
-rw-r--r-- | pkgs/tools/misc/file/default.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/tools/misc/file/default.nix b/pkgs/tools/misc/file/default.nix index b1e9990ea7d..68e4210ad41 100644 --- a/pkgs/tools/misc/file/default.nix +++ b/pkgs/tools/misc/file/default.nix @@ -1,21 +1,26 @@ { stdenv, fetchurl, zlib }: stdenv.mkDerivation rec { - name = "file-5.28"; - - buildInputs = [ zlib ]; + name = "file-${version}"; + version = "5.30"; src = fetchurl { urls = [ "ftp://ftp.astron.com/pub/file/${name}.tar.gz" - "http://distfiles.macports.org/file/${name}.tar.gz" + "https://distfiles.macports.org/file/${name}.tar.gz" ]; - sha256 = "04p0w9ggqq6cqvwhyni0flji1z0rwrz896hmhkxd2mc6dca5xjqf"; + sha256 = "694c2432e5240187524c9e7cf1ec6acc77b47a0e19554d34c14773e43dbbf214"; }; - meta = { + buildInputs = [ zlib ]; + + doCheck = true; + + + meta = with stdenv.lib; { homepage = "http://darwinsys.com/file"; description = "A program that shows the type of files"; - platforms = stdenv.lib.platforms.all; + license = licenses.bsd2; + platforms = platforms.all; }; } |