git.iko.soy/typeable/nixpkgs
on master help sign in
grin: Use fetchFromGitHub instead of fetchgit
commit02184088468e1d540070bdb91dc7c387cba14a6b authorSimon Jagoe <simon@simonjagoe.com> dateWed 7 Jun 2017, 14:22 (9 years ago) parent314da48
1 file changed+8−5
pkgs/tools/text/grin/default.nix+8−5
pkgs/tools/text/grin/default.nix+8−5
@@ -1,11 +1,14 @@
1−{ stdenv, fetchgit, python2Packages }:
1+{ stdenv, fetchFromGitHub, python2Packages }:
22
33python2Packages.buildPythonApplication rec {
4− name = "grin-1.2.1";
4+ program = "grin";
5+ version = "1.2.1";
6+ name = "${program}-${version}";
57 namePrefix = "";
68
7− src = fetchgit {
8− url = "git://github.com/rkern/grin";
9+ src = fetchFromGitHub {
10+ owner = "rkern";
11+ repo = program;
912 rev = "8dd4b5309b3bc04fe9d3e71836420f7d8d4a293f";
1013 sha256 = "0vz2aahwdcy1296g4w3i79dkvmzk9jc2n2zmlcvlg5m3s6h7b6jd";
1114 };
@@ -13,7 +16,7 @@ python2Packages.buildPythonApplication rec {
1316 buildInputs = with python2Packages; [ nose ];
1417
1518 meta = {
16− homepage = https://pypi.python.org/pypi/grin;
19+ homepage = https://github.com/rkern/grin;
1720 description = "A grep program configured the way I like it";
1821 platforms = stdenv.lib.platforms.all;
1922 maintainers = [ stdenv.lib.maintainers.sjagoe ];