terminal-parrot: indent and use version when fetching dependencies
This commit is contained in:
parent
6ee0d3604e
commit
cfbe152ae8
@ -1,22 +1,23 @@
|
||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "terminal-parrot-1.1.0";
|
||||
version = "1.1.0";
|
||||
goPackagePath = "github.com/jmhobbs/terminal-parrot";
|
||||
name = "terminal-parrot-${version}";
|
||||
version = "1.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jmhobbs";
|
||||
repo = "terminal-parrot";
|
||||
rev = "22c9bde916c12d8b13cf80ab252995dbf47837d1";
|
||||
sha256 = "1mrxmifsmndf6hdq1956p1gyrrp3abh3rmwjcmxar8x2wqbv748y";
|
||||
};
|
||||
goPackagePath = "github.com/jmhobbs/terminal-parrot";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Shows colorful, animated party parrot in your terminial";
|
||||
homepage = https://github.com/jmhobbs/terminal-parrot;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.heel ];
|
||||
};
|
||||
src = fetchFromGitHub {
|
||||
owner = "jmhobbs";
|
||||
repo = "terminal-parrot";
|
||||
rev = "${version}";
|
||||
sha256 = "1mrxmifsmndf6hdq1956p1gyrrp3abh3rmwjcmxar8x2wqbv748y";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Shows colorful, animated party parrot in your terminial";
|
||||
homepage = https://github.com/jmhobbs/terminal-parrot;
|
||||
license = licenses.mit;
|
||||
platforms = platforms.all;
|
||||
maintainers = [ maintainers.heel ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user