summary refs log tree commit diff
path: root/pkgs/applications/misc/archiver/default.nix
blob: 25fafb604c3358233b7fb58fca019d7d97ff6154 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ buildGoPackage
, fetchFromGitHub
, lib
}:

buildGoPackage rec {
  name = "archiver-${version}";
  version = "3.0.0";

  goPackagePath = "github.com/mholt/archiver";

  src = fetchFromGitHub {
    owner = "mholt";
    repo = "archiver";
    rev = "v${version}";
    sha256 = "1wngv51333h907mp6nbzd9dq6r0x06mag2cij92912jcbzy0q8bk";
  };

  goDeps = ./deps.nix;

  meta = with lib; {
    description = "Easily create and extract .zip, .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lz4, .tar.sz, and .rar (extract-only) files with Go";
    homepage = https://github.com/mholt/archiver;
    license = licenses.mit;
    maintainers = with maintainers; [ kalbasit ];
    platforms = platforms.all;
  };
}