Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

50 lines
899 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenv,
fetchFromGitHub,
nix-update-script,
cmake,
pkg-config,
fmt,
lzo,
zlib,
zstd,
}:
stdenv.mkDerivation rec {
pname = "ntfs2btrfs";
version = "20250616";
src = fetchFromGitHub {
owner = "maharmstone";
repo = "ntfs2btrfs";
tag = version;
hash = "sha256-hRPidvpBVm42Rg+acwHQ6b8WHGMPbE6SHwlrQrB+fD8=";
};
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
fmt
lzo
zlib
zstd
];
passthru.updateScript = nix-update-script { };
meta = {
description = "CLI tool which does in-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs";
homepage = "https://github.com/maharmstone/ntfs2btrfs";
license = with lib.licenses; [ gpl2Only ];
maintainers = with lib.maintainers; [ j1nxie ];
mainProgram = "ntfs2btrfs";
platforms = lib.platforms.linux;
};
}