<commit_before>{ fetchurl
, stdenv

, icu
, ncurses
, popt
, util-linux_lib
}:

let
  version = "1.0.1";
in
stdenv.mkDerivation rec {
  name = "gptfdisk-${version}";

  src = fetchurl {
    # http://www.rodsbooks.com/gdisk/${name}.tar.gz also works, but the home
    # page clearly implies a preference for using SourceForge's bandwidth:
    url = "mirror://sourceforge/gptfdisk/gptfdisk/${version}/${name}.tar.gz";
    sha256 = "1izazbyv5n2d81qdym77i8mg9m870hiydmq4d0s51npx5vp8lk46";
  };

  buildInputs = [
    icu
    ncurses
    popt
    util-linux_lib
  ];

  installPhase = ''
    mkdir -p $out/sbin
    mkdir -p $out/share/man/man8
    for prog in gdisk sgdisk fixparts cgdisk; do
      install -v -m755 $prog $out/sbin
      install -v -m644 $prog.8 $out/share/man/man8
    done
  '';

  meta = with stdenv.lib; {
    description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
    license = licenses.gpl2;
    homepage = http://www.rodsbooks.com/gdisk/;
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}
<commit_msg>gptfdisk: 1.0.1 -> 1.0.3<commit_after>{ stdenv
, fetchurl
, lib

, icu
, ncurses
, popt
, util-linux_lib
}:

let
  version = "1.0.3";
in
stdenv.mkDerivation rec {
  name = "gptfdisk-${version}";

  src = fetchurl {
    # http://www.rodsbooks.com/gdisk/${name}.tar.gz also works, but the home
    # page clearly implies a preference for using SourceForge's bandwidth:
    url = "mirror://sourceforge/gptfdisk/gptfdisk/${version}/${name}.tar.gz";
    sha256 = "89fd5aec35c409d610a36cb49c65b442058565ed84042f767bba614b8fc91b5c";
  };

  buildInputs = [
    icu
    ncurses
    popt
    util-linux_lib
  ];

  installPhase = ''
    for prog in gdisk sgdisk fixparts cgdisk; do
      install -D -v -m755 $prog $out/bin
      install -D -v -m644 $prog.8 $out/share/man/man8
    done
  '';

  meta = with lib; {
    description = "Set of text-mode partitioning tools for Globally Unique Identifier (GUID) Partition Table (GPT) disks";
    license = licenses.gpl2;
    homepage = http://www.rodsbooks.com/gdisk/;
    maintainers = with maintainers; [
      wkennington
    ];
    platforms = with platforms;
      x86_64-linux;
  };
}

{'fraction_non_alphanumeric': 0.12483574244415244, 'fraction_numerical': 0.04643013578624617, 'mean_word_length': 2.858108108108108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7642539', 'n_tokens_mistral': 940, 'n_tokens_neox': 872, 'n_words': 193}