nixpkgs/pkgs/development/tools/go-bindata-assetfs/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

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 ];
};
}