1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 14:45:27 +00:00

terminal-parrot: indent and use version when fetching dependencies

This commit is contained in:
Wael M. Nasreddine 2019-03-13 17:46:32 -07:00
parent 6ee0d3604e
commit cfbe152ae8
No known key found for this signature in database
GPG key ID: FD437548E0BF0F5F

View file

@ -1,22 +1,23 @@
{ stdenv, buildGoPackage, fetchFromGitHub }: { stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec { buildGoPackage rec {
name = "terminal-parrot-1.1.0"; name = "terminal-parrot-${version}";
version = "1.1.0"; version = "1.1.0";
goPackagePath = "github.com/jmhobbs/terminal-parrot";
src = fetchFromGitHub { goPackagePath = "github.com/jmhobbs/terminal-parrot";
owner = "jmhobbs";
repo = "terminal-parrot";
rev = "22c9bde916c12d8b13cf80ab252995dbf47837d1";
sha256 = "1mrxmifsmndf6hdq1956p1gyrrp3abh3rmwjcmxar8x2wqbv748y";
};
meta = with stdenv.lib; { src = fetchFromGitHub {
description = "Shows colorful, animated party parrot in your terminial"; owner = "jmhobbs";
homepage = https://github.com/jmhobbs/terminal-parrot; repo = "terminal-parrot";
license = licenses.mit; rev = "${version}";
platforms = platforms.all; sha256 = "1mrxmifsmndf6hdq1956p1gyrrp3abh3rmwjcmxar8x2wqbv748y";
maintainers = [ maintainers.heel ]; };
};
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 ];
};
} }