1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 11:40:45 +00:00
nixpkgs/pkgs/by-name/nt/ntfs2btrfs/package.nix
2024-03-24 17:01:38 +07:00

27 lines
796 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 = "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;
};
}