10 stdenv.mkDerivation rec {
15 url = "mirror://gnu/fdisk/gnufdisk-${version}.tar.gz";
16 hash = "sha256-yWPYTf8RxBIQ//mUdC6fkKct/csEgbzEtTAiPtNRH7U=";
20 sed -i "s/gnufdisk-common.h .*/\n/g" backend/configure
36 env.NIX_CFLAGS_COMPILE = lib.concatStringsSep " " [
39 "-I../exception/include"
45 description = "Command-line disk partitioning tool";
47 GNU fdisk provides a GNU version of the common disk partitioning tool
48 fdisk. fdisk is used for the creation and manipulation of disk partition
49 tables, and it understands a variety of different formats.
51 homepage = "https://www.gnu.org/software/fdisk/";
52 license = lib.licenses.gpl3Plus;
53 mainProgram = "gnufdisk";
54 maintainers = [ lib.maintainers.wegank ];
55 platforms = lib.platforms.linux;