nixpkgs/pkgs/development/tools/git-quick-stats/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

20 lines
610 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "git-quick-stats";
version = "2.0.8";
src = fetchFromGitHub {
repo = "git-quick-stats";
owner = "arzzen";
rev = "${version}";
sha256 = "1px1sk7b6mjnbclsr1jn33m9k4wd8wqyw4d6w1rgj0ii29lhzmqi";
};
PREFIX = builtins.placeholder "out";
meta = with stdenv.lib; {
homepage = "https://github.com/arzzen/git-quick-stats";
description = "A simple and efficient way to access various statistics in git repository";
platforms = platforms.all;
maintainers = [ maintainers.kmein ];
license = licenses.mit;
};
}