mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
grin: Use fetchFromGitHub instead of fetchgit
This commit is contained in:
parent
314da48f31
commit
0218408846
1 changed files with 8 additions and 5 deletions
|
@ -1,11 +1,14 @@
|
|||
{ stdenv, fetchgit, python2Packages }:
|
||||
{ stdenv, fetchFromGitHub, python2Packages }:
|
||||
|
||||
python2Packages.buildPythonApplication rec {
|
||||
name = "grin-1.2.1";
|
||||
program = "grin";
|
||||
version = "1.2.1";
|
||||
name = "${program}-${version}";
|
||||
namePrefix = "";
|
||||
|
||||
src = fetchgit {
|
||||
url = "git://github.com/rkern/grin";
|
||||
src = fetchFromGitHub {
|
||||
owner = "rkern";
|
||||
repo = program;
|
||||
rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
|
||||
sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
|
||||
};
|
||||
|
@ -13,7 +16,7 @@ python2Packages.buildPythonApplication rec {
|
|||
buildInputs = with python2Packages; [ nose ];
|
||||
|
||||
meta = {
|
||||
homepage = https://pypi.python.org/pypi/grin;
|
||||
homepage = https://github.com/rkern/grin;
|
||||
description = "A grep program configured the way I like it";
|
||||
platforms = stdenv.lib.platforms.all;
|
||||
maintainers = [ stdenv.lib.maintainers.sjagoe ];
|
||||
|
|
Loading…
Reference in a new issue