<commit_before>{ lib, stdenv, fetchgit, pkg-config, dbus, libnotify, udisks2, gdk-pixbuf }:

stdenv.mkDerivation {
  pname = "usermount";
  version = "0.1";

  src = fetchgit {
    url = "https://github.com/tom5760/usermount.git";
    rev = "0d6aba3c1f8fec80de502f5b92fd8b28041cc8e4";
    sha256 = "0gpp0vwiwr7kgbhh26jspv3255662mnvnav6g8i2h0qxar8hf8w2";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ dbus libnotify udisks2 gdk-pixbuf ];

  NIX_CFLAGS_COMPILE = "-DENABLE_NOTIFICATIONS";

  installPhase = ''
    mkdir -p $out/bin
    mv usermount $out/bin/
  '';<commit_msg>usermount: switch to fetchFromGitHub<commit_after>{ lib, stdenv, fetchFromGitHub, pkg-config, dbus, libnotify, udisks2, gdk-pixbuf }:

stdenv.mkDerivation {
  pname = "usermount";
  version = "0.1";

  src = fetchFromGitHub {
    owner = "tom5760";
    repo = "usermount";
    rev = "0d6aba3c1f8fec80de502f5b92fd8b28041cc8e4";
    sha256 = "sha256-giMHUVYdAygiemYru20VxpQixr5aGgHhevNkHvkG9z4=";
  };

  nativeBuildInputs = [ pkg-config ];
  buildInputs = [ dbus libnotify udisks2 gdk-pixbuf ];

  NIX_CFLAGS_COMPILE = "-DENABLE_NOTIFICATIONS";

  installPhase = ''
    mkdir -p $out/bin
    mv usermount $out/bin/
  '';
{'fraction_non_alphanumeric': 0.12572373862696443, 'fraction_numerical': 0.07526881720430108, 'mean_word_length': 4.041666666666667, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '4616929', 'n_tokens_mistral': 570, 'n_tokens_neox': 523, 'n_words': 81}