Files
nixpkgs/pkgs/by-name/nt/ntfs2btrfs/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

50 lines
899 B
Nix

{
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;
};
}