This repository has been archived by the owner on Apr 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up expression as well. Verified sha256 is reproducible and unchanged.
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
{ stdenv, buildGoPackage, fetchgit }: | ||
{ stdenv, buildGoPackage, fetchFromGitHub }: | ||
|
||
buildGoPackage rec { | ||
buildGoPackage { | ||
pname = "go-bindata"; | ||
version = "20151023-${stdenv.lib.strings.substring 0 7 rev}"; | ||
rev = "a0ff2567cfb70903282db057e799fd826784d41d"; | ||
|
||
version = "unstable-2015-10-23"; | ||
|
||
goPackagePath = "github.com/jteeuwen/go-bindata"; | ||
|
||
src = fetchgit { | ||
inherit rev; | ||
url = "https://github.com/jteeuwen/go-bindata"; | ||
src = fetchFromGitHub { | ||
owner = "jteeuwen"; | ||
repo = "go-bindata"; | ||
rev = "a0ff2567cfb70903282db057e799fd826784d41d"; | ||
sha256 = "0d6zxv0hgh938rf59p1k5lj0ymrb8kcps2vfrb9kaarxsvg7y69v"; | ||
}; | ||
|
||
excludedPackages = "testdata"; | ||
|
||
meta = with stdenv.lib; { | ||
homepage = "https://github.com/jteeuwen/go-bindata"; | ||
homepage = "https://github.com/jteeuwen/go-bindata"; | ||
description = "A small utility which generates Go code from any file, useful for embedding binary data in a Go program"; | ||
maintainers = with maintainers; [ cstrahan ]; | ||
license = licenses.cc0 ; | ||
platforms = platforms.all; | ||
license = licenses.cc0; | ||
platforms = platforms.all; | ||
}; | ||
} |