<commit_before>{nixpkgs ? (import <nixpkgs> {})} :

with nixpkgs;
with pkgs.python27Packages;

let

  dpath = buildPythonPackage {
    name = "dpath-1.4.0";
    buildInputs = [];
    doCheck = false;
    propagatedBuildInputs = [];
    src = fetchurl {
      url = "https://pypi.python.org/packages/6d/3a/d599d29897bf3c7f3a0ddc78f2d2297ebc05b20b875f272f5d8010b77cbe/dpath-1.4.0.tar.gz";
      md5 = "9725730d39d09690a87c983bcf02b672";
    };
  };

  terminaltables = buildPythonPackage {
    name = "terminaltables-2.1.0";
    buildInputs = [];
    doCheck = false;
    propagatedBuildInputs = [];
    src = fetchurl {
      url = "https://pypi.python.org/packages/10/da/9bbb21c1c2f9be4df2056b00b569689b9ece538ef39bf8db34be25f9e850/terminaltables-2.1.0.tar.gz";
      md5 = "651dadab3eb3ddf21c28374a9002a30f";
    };
  };

  helium-commander = buildPythonPackage rec {
    name = "helium-commander-${version}";
    version = "0.9.1";

    src = ./.;

    propagatedBuildInputs =
      [ requests2 futures future click dpath terminaltables unicodecsv ];

    meta = {
      homepage = "http://github.com/helium/helium-commander/";
      description = "A command line interface to the Helium API";
      license = stdenv.lib.licenses.bsdOriginal;
    };
  };

in helium-commander
<commit_msg>Update nix version<commit_after>{nixpkgs ? (import <nixpkgs> {})} :

with nixpkgs;
with pkgs.python27Packages;

let
   heliumCommander-version = "0.9.2";

  dpath = buildPythonPackage {
    name = "dpath-1.4.0";
    buildInputs = [];
    doCheck = false;
    propagatedBuildInputs = [];
    src = fetchurl {
      url = "https://pypi.python.org/packages/6d/3a/d599d29897bf3c7f3a0ddc78f2d2297ebc05b20b875f272f5d8010b77cbe/dpath-1.4.0.tar.gz";
      md5 = "9725730d39d09690a87c983bcf02b672";
    };
  };

  terminaltables = buildPythonPackage {
    name = "terminaltables-2.1.0";
    buildInputs = [];
    doCheck = false;
    propagatedBuildInputs = [];
    src = fetchurl {
      url = "https://pypi.python.org/packages/10/da/9bbb21c1c2f9be4df2056b00b569689b9ece538ef39bf8db34be25f9e850/terminaltables-2.1.0.tar.gz";
      md5 = "651dadab3eb3ddf21c28374a9002a30f";
    };
  };

  helium-commander = buildPythonPackage rec {
    name = "helium-commander-${version}";
    version = heliumCommander-version;

    src = ./.;

    propagatedBuildInputs =
      [ requests2 futures future click dpath terminaltables unicodecsv ];

    meta = {
      homepage = "http://github.com/helium/helium-commander/";
      description = "A command line interface to the Helium API";
      license = stdenv.lib.licenses.bsdOriginal;
    };
  };

in helium-commander

{'fraction_non_alphanumeric': 0.12807881773399016, 'fraction_numerical': 0.10306934444865479, 'mean_word_length': 3.1838351822503963, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '5340508', 'n_tokens_mistral': 1170, 'n_tokens_neox': 1010, 'n_words': 140}