nixpkgs-suyu/pkgs/development/tools/git-quick-stats/default.nix
Vladimír Čunát fa9e51d8b6
git-quick-stats: use more idiomatic code
In particular, overriding *whole* phases isn't generally a good idea,
as you may lose various default hooks.
2019-06-09 11:27:52 +02:00

19 lines
620 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
name = "git-quick-stats-${version}";
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;
};
}