<commit_before>{ lib, pythonPackages, git, fetchgit, makeWrapper, nix }:

pythonPackages.buildPythonPackage rec {
  name = "nox-0.0.1";
  namePrefix = "";

  src = fetchgit {
    url = "git://github.com/madjar/nox.git";
    rev = "e5a4dbe5d11c3258e3038b4ae6f49d53f02d76cd";
    sha256 = "25d0ae9eeb6387bb45cbda8da08760ffef6a1661ebd106c537b468c93e66c035";
    leaveDotGit = true; # required by pbr
  };

  buildInputs = [ git pythonPackages.pbr makeWrapper ];

  pythonPath = with pythonPackages; [
      dogpile_cache
      click
      requests2
      characteristic
    ];

  postInstall = "wrapProgram $out/bin/nox --prefix PATH : ${nix}/bin";

  meta = {
    homepage = https://github.com/madjar/nox;
    description = "Tools to make nix nicer to use";
    maintainers = [ lib.maintainers.madjar ];
    platforms = lib.platforms.all;
  };
}<commit_msg>nox: use pypi for distribution<commit_after>{ lib, pythonPackages, fetchurl, makeWrapper, nix }:

pythonPackages.buildPythonPackage rec {
  name = "nox-${version}";
  version = "0.0.1";
  namePrefix = "";

  src = fetchurl {
    url = "https://pypi.python.org/packages/source/n/nix-nox/nix-nox-${version}.tar.gz";
    sha256 = "1s1jhickdhym70qrb5h4qxq1mvkpwgdppqpfb2jnpfaf1az6c207";
  };

  buildInputs = [ pythonPackages.pbr makeWrapper ];

  pythonPath = with pythonPackages; [
      dogpile_cache
      click
      requests2
      characteristic
    ];

  postInstall = "wrapProgram $out/bin/nox --prefix PATH : ${nix}/bin";

  meta = {
    homepage = https://github.com/madjar/nox;
    description = "Tools to make nix nicer to use";
    maintainers = [ lib.maintainers.madjar ];
    platforms = lib.platforms.all;
  };
}
{'fraction_non_alphanumeric': 0.12678571428571428, 'fraction_numerical': 0.05178571428571429, 'mean_word_length': 3.31025641025641, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '2226380', 'n_tokens_mistral': 671, 'n_tokens_neox': 600, 'n_words': 111}