Merge pull request #297152 from j1nxie/ntfs2btrfs

This commit is contained in:
Sandro 2024-03-25 11:10:12 +01:00 committed by GitHub
commit e475af6dcb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 32 additions and 0 deletions

View File

@ -8642,6 +8642,12 @@
github = "j0xaf";
githubId = 932697;
};
j1nxie = {
email = "rylie@rylie.moe";
name = "Nguyen Pham Quoc An";
github = "j1nxie";
githubId = 52886388;
};
j4m3s = {
name = "James Landrein";
email = "github@j4m3s.eu";

View File

@ -0,0 +1,26 @@
{ lib, stdenv, fetchFromGitHub, cmake, fmt, lzo, pkg-config, zlib, zstd }:
stdenv.mkDerivation rec {
pname = "ntfs2btrfs";
version = "20240115";
src = fetchFromGitHub {
owner = "maharmstone";
repo = "ntfs2btrfs";
rev = "refs/tags/${version}";
hash = "sha256-sZ8AWREe2jasy3hqLTjaLcOMCNsrDjz2eIuknA2TsEs=";
};
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ fmt lzo zlib zstd ];
meta = {
description = "A 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;
};
}