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