forked from mirrors/nixpkgs
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
20 lines
610 B
Nix
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;
|
|
};
|
|
}
|