3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/packr/default.nix

28 lines
628 B
Nix
Raw Normal View History

2019-07-02 05:01:13 +01:00
{ buildGoModule
, fetchFromGitHub
, lib
2019-07-02 05:01:13 +01:00
}:
buildGoModule rec {
pname = "packr";
version = "2.7.1";
2019-07-02 05:01:13 +01:00
src = fetchFromGitHub {
owner = "gobuffalo";
repo = pname;
rev = "v${version}";
sha256 = "0m5kl2fq8gf1v4vllgag2xl8fd382sdgqrcdb8f5alsnrdn08kb9";
2019-07-02 05:01:13 +01:00
};
2019-09-16 23:17:36 +01:00
subPackages = [ "packr" "v2/packr2" ];
modSha256 = "0afhkvivma16bi8rz3kwcsz9mhmcn4zm6rrymxkvazx6b844hcdv";
2019-07-02 05:01:13 +01:00
meta = with lib; {
2019-07-02 05:01:13 +01:00
description = "The simple and easy way to embed static files into Go binaries";
homepage = "https://github.com/gobuffalo/packr";
license = licenses.mit;
maintainers = with maintainers; [ mmahut ];
};
}