I have effectively renounced on maintaining all these packages and I do not plan to return them except if I'm forced to. I am also fine with most of these packages being dropped for next releases if no maintainer shows up. Change-Id: I8d167c8029b6991181bd7a094af21c3313af2b51 Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
34 lines
759 B
Nix
34 lines
759 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule (finalAttrs: {
|
|
pname = "stuffbin";
|
|
version = "1.3.0";
|
|
|
|
vendorHash = null;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "knadh";
|
|
repo = "stuffbin";
|
|
rev = "v${finalAttrs.version}";
|
|
sha256 = "sha256-dOlc/G2IiuMAN0LqiZtbpXLSYaOpe5cl1+cs3YhaAbg=";
|
|
};
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
"-X main.version=${finalAttrs.version}"
|
|
];
|
|
|
|
meta = {
|
|
description = "Compress and embed static files and assets into Go binaries and access them with a virtual file system in production";
|
|
homepage = "https://github.com/knadh/stuffbin";
|
|
changelog = "https://github.com/knadh/stuffbin/releases/tag/v${finalAttrs.version}";
|
|
maintainers = [ ];
|
|
license = lib.licenses.mit;
|
|
};
|
|
})
|