mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
23 lines
592 B
Nix
23 lines
592 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "go-bindata-assetfs";
|
|
version = "20160814-${rev}";
|
|
rev = "e1a2a7e";
|
|
goPackagePath = "github.com/elazarl/go-bindata-assetfs";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "elazarl";
|
|
repo = "go-bindata-assetfs";
|
|
sha256 = "0b6q8h9fwpgpkvml1j87wq9174g7px1dmskhm884drpvswda2djk";
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Serve embedded files from jteeuwen/go-bindata";
|
|
license = licenses.bsd2;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ avnik ];
|
|
};
|
|
}
|