nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchurl,
5 perl,
6 fuse,
7}:
8
9stdenv.mkDerivation (finalAttrs: {
10 pname = "chunkfs";
11 version = "0.8";
12
13 src = fetchurl {
14 url = "https://chunkfs.florz.de/chunkfs_${finalAttrs.version}.tar.xz";
15 hash = "sha256-HFv51ta2eNW9Qt9CUp2oTTlC8Lpwc1XKR/uYzMDfd88=";
16 };
17
18 buildInputs = [
19 perl
20 fuse
21 ];
22
23 makeFlags = [
24 "DESTDIR=$(out)"
25 "PREFIX="
26 ];
27
28 preInstall = ''
29 mkdir -p $out/bin
30 mkdir -p $out/share/man/man1
31 '';
32
33 meta = {
34 description = "FUSE filesystems for viewing chunksync-style directory trees as a block device and vice versa";
35 homepage = "http://chunkfs.florz.de";
36 license = lib.licenses.gpl2Plus;
37 platforms = lib.platforms.linux;
38 maintainers = with lib.maintainers; [ yayayayaka ];
39 };
40})