From 7adf2ff42ec3f8d7c2fb53bf63988a9a2227f4bc Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 15 Jan 2017 12:21:45 +0100 Subject: [PATCH] git-crecord: init at 20161216.0 --- .../git-crecord/default.nix | 21 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 23 insertions(+) create mode 100644 pkgs/applications/version-management/git-crecord/default.nix diff --git a/pkgs/applications/version-management/git-crecord/default.nix b/pkgs/applications/version-management/git-crecord/default.nix new file mode 100644 index 000000000000..fd999dc17d4d --- /dev/null +++ b/pkgs/applications/version-management/git-crecord/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchFromGitHub, pythonPackages }: + +pythonPackages.buildPythonApplication rec { + name = "git-crecord-${version}"; + version = "20161216.0"; + + src = fetchFromGitHub { + owner = "andrewshadura"; + repo = "git-crecord"; + rev = version; + sha256 = "0v3y90zi43myyi4k7q3892dcrbyi9dn2q6xgk12nw9db9zil269i"; + }; + + propagatedBuildInputs = with pythonPackages; [ docutils ]; + + meta = { + homepage = https://github.com/andrewshadura/git-crecord; + description = "Git subcommand to interactively select changes to commit or stage"; + license = stdenv.lib.licenses.gpl2Plus; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 2b51ccc1b84d..bc93a95eef5e 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1868,6 +1868,8 @@ in gifsicle = callPackage ../tools/graphics/gifsicle { }; + git-crecord = callPackage ../applications/version-management/git-crecord { }; + git-lfs = callPackage ../applications/version-management/git-lfs { }; git-up = callPackage ../applications/version-management/git-up { };