From d80f6f8d6ffe4dbc84330a1b0f31a49cb79b5cd2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 4 May 2015 16:15:43 +0200 Subject: [PATCH] python-packages: add repocheck 2015-05-04 This script gives status information for code repositories found recursively under a root directory. In particular, it tells whether there are uncommitted changes, untracked files, unpushed or unpulled commits. Thanks to the -u option, it is also useful to fetch updates for all the remotes in the encountered repositories. --- pkgs/top-level/python-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e1c2a98d17f4..8f4a3cb63213 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -10526,6 +10526,24 @@ let }; }; + repocheck = buildPythonPackage rec { + name = "repocheck-2015-05-04"; + disabled = isPy26 || isPy27; + + src = pkgs.fetchFromGitHub { + sha256 = "0zk8n4sm7i488wgqljkfjd2j0hm0qimxr9dhdz6d7xal7apwh71x"; + rev = "db8c336f071ead3375805b7a78ca3d7c862536db"; + repo = "repocheck"; + owner = "kynikos"; + }; + + meta = { + description = "Check the status of code repositories under a root directory"; + homepage = https://github.com/kynikos/repocheck; + license = with licenses; gpl3Plus; + maintainers = with maintainers; [ nckx ]; + }; + }; requests_oauth2 = buildPythonPackage rec { name = "requests-oauth2-0.1.1";