nixpkgs/pkgs/applications/version-management/git-crecord/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

21 lines
589 B
Nix

{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
pname = "git-crecord";
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;
};
}