summary refs log tree commit diff
path: root/pkgs/tools/filesystems/btrfs-dedupe/default.nix
blob: a9e05686e4058f7c7d2052acd8d05e65c2a983f8 (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
{ stdenv, fetchurl, rustPlatform, lzo, zlib }:

with rustPlatform;

buildRustPackage rec {
  name = "btrfs-dedupe-${version}";
  version = "1.1.0";


  src = fetchurl {
    url = "https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe/repository/archive.tar.bz2?ref=72c6a301d20f935827b994db210bf0a1e121273a";
    sha256 = "0qy1g4crhfgs2f5cmrsjv6qscg3r66gb8n6sxhimm9ksivhjyyjp";
  };

  depsSha256 = "04jlz7nzsmg86i73w75i8rmlbk635xrg8m1dfac8h17dwb29yj6a";

  buildInputs = [ lzo zlib ];

  meta = with stdenv.lib; {
    homepage = "https://gitlab.wellbehavedsoftware.com/well-behaved-software/btrfs-dedupe";
    description = "BTRFS deduplication utility";
    license = licenses.mit;
    platforms = [ "x86_64-linux" ];
    maintainers = with maintainers; [ ikervagyok ];
  };
}