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 { };