mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
gitstats: switch to fetchFromGitHub
This commit is contained in:
parent
e4726e19e7
commit
a76d49eaf8
@ -1,14 +1,15 @@
|
||||
{ lib, stdenv, fetchzip, perl, python2, gnuplot, coreutils, gnugrep }:
|
||||
{ lib, stdenv, fetchFromGitHub, perl, python2, gnuplot, coreutils, gnugrep }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gitstats";
|
||||
version = "2016-01-08";
|
||||
|
||||
# upstream does not make releases
|
||||
src = fetchzip {
|
||||
url = "https://github.com/hoxu/gitstats/archive/55c5c285558c410bb35ebf421245d320ab9ee9fa.zip";
|
||||
sha256 = "1bfcwhksylrpm88vyp33qjby4js31zcxy7w368dzjv4il3fh2i59";
|
||||
name = "${pname}-${version}" + "-src";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hoxu";
|
||||
repo = "gitstats";
|
||||
rev = "55c5c285558c410bb35ebf421245d320ab9ee9fa";
|
||||
sha256 = "sha256-qUQB3aCRbPkbMoMf39kPQ0vil8RjXL8RqjdTryfkzK0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ perl ];
|
||||
|
Loading…
Reference in New Issue
Block a user