depot/third_party/nixpkgs/pkgs/by-name/nt/ntfs2btrfs/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

26 lines
794 B
Nix

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