git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #14550 from chris-martin/closure-linter

pythonPackages.closure-linter: init at 2.3.19

commit4cd92c5af1a0ff537937ca2f7b4379320f8fb9bc authorFrederik Rietdijk <freddyrietdijk@fridh.nl> dateTue 26 Apr 2016, 08:41 (11 years ago) parent3a542c7cd69c05
1 file changed+24
pkgs/top-level/python-packages.nix+24
pkgs/top-level/python-packages.nix+24
@@ -3266,6 +3266,30 @@ in modules // {
32663266 };
32673267 });
32683268
3269+ /* There is a project called "closure-linter" on PyPI that is the
3270+ same as this, but it does not appear to be owned by Google.
3271+ So we're pulling from Google's GitHub repo instead. */
3272+ closure-linter = buildPythonPackage rec {
3273+ name = "closure-linter-${version}";
3274+ version = "2.3.19";
3275+
3276+ /* This project has no Python 3 support, as noted by
3277+ https://github.com/google/closure-linter/issues/81 */
3278+ disabled = isPy3k;
3279+
3280+ propagatedBuildInputs = with self; [ gflags ];
3281+ src = pkgs.fetchgit {
3282+ url = "https://github.com/google/closure-linter";
3283+ rev = "5c27529075bb88bdc45e73008f496dec8438d658";
3284+ sha256 = "076c7q7pr7akfvq5y8lxr1ab81wwps07gw00igdkcxnc5k9dzxwc";
3285+ };
3286+ meta = {
3287+ description = "Checks JavaScript files against Google's style guide.";
3288+ homepage = "https://developers.google.com/closure/utilities/";
3289+ license = with licenses; [ asl20 ];
3290+ };
3291+ };
3292+
32693293 cloudpickle = buildPythonPackage rec {
32703294 name = "cloudpickle-${version}";
32713295 version = "0.1.1";