1 { lib, stdenv, fetchFromGitHub, cmake, fmt, lzo, pkg-config, zlib, zstd }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "refs/tags/${version}";
11 hash = "sha256-sZ8AWREe2jasy3hqLTjaLcOMCNsrDjz2eIuknA2TsEs=";
14 nativeBuildInputs = [ cmake pkg-config ];
16 buildInputs = [ fmt lzo zlib zstd ];
19 description = "CLI tool which does in-place conversion of Microsoft's NTFS filesystem to the open-source filesystem Btrfs";
20 homepage = "https://github.com/maharmstone/ntfs2btrfs";
21 license = with lib.licenses; [ gpl2Only ];
22 maintainers = with lib.maintainers; [ j1nxie ];
23 mainProgram = "ntfs2btrfs";
24 platforms = lib.platforms.linux;