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,14 +1,15 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "terminal-parrot-1.1.0";
name = "terminal-parrot-${version}";
version = "1.1.0";
goPackagePath = "github.com/jmhobbs/terminal-parrot";
src = fetchFromGitHub {
owner = "jmhobbs";
repo = "terminal-parrot";
rev = "22c9bde916c12d8b13cf80ab252995dbf47837d1";
rev = "${version}";
sha256 = "1mrxmifsmndf6hdq1956p1gyrrp3abh3rmwjcmxar8x2wqbv748y";
};