From cd69c05a5021f8fcf613ed7fb18df5b208c2e915 Mon Sep 17 00:00:00 2001 From: Chris Martin Date: Fri, 8 Apr 2016 20:22:09 -0700 Subject: [PATCH] pythonPackages.closure-linter: init at 2.3.19 --- pkgs/top-level/python-packages.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 9e3605827d3f..270c5c1b4ae1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3266,6 +3266,30 @@ in modules // { }; }); + /* There is a project called "closure-linter" on PyPI that is the + same as this, but it does not appear to be owned by Google. + So we're pulling from Google's GitHub repo instead. */ + closure-linter = buildPythonPackage rec { + name = "closure-linter-${version}"; + version = "2.3.19"; + + /* This project has no Python 3 support, as noted by + https://github.com/google/closure-linter/issues/81 */ + disabled = isPy3k; + + propagatedBuildInputs = with self; [ gflags ]; + src = pkgs.fetchgit { + url = "https://github.com/google/closure-linter"; + rev = "5c27529075bb88bdc45e73008f496dec8438d658"; + sha256 = "076c7q7pr7akfvq5y8lxr1ab81wwps07gw00igdkcxnc5k9dzxwc"; + }; + meta = { + description = "Checks JavaScript files against Google's style guide."; + homepage = "https://developers.google.com/closure/utilities/"; + license = with licenses; [ asl20 ]; + }; + }; + cloudpickle = buildPythonPackage rec { name = "cloudpickle-${version}"; version = "0.1.1";