mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 00:53:57 +00:00
b18031c413
* maintainers: remove chiiruno * nixos/zeronet.nix: replace chiiruno with Madouura * nixos/hydron: replace chiiruno with Madouura * nixos/tests/bcachefs: replace chiiruno with Madouura * lutris: replace chiiruno with Madouura * qtchan: replace chiiruno with Madouura * tinygo: replace chiiruno with Madouura * vlang: replace chiiruno with Madouura * merkletools: replace chiiruno with Madouura * easyjson: replace chiiruno with Madouura * quicktemplate: replace chiiruno with Madouura * statik: replace chiiruno with Madouura * dumb: replace chiiruno with Madouura * sndio: replace chiiruno with Madouura * hydron: replace chiiruno with Madouura * edid-decode-unstable: replace chiiruno with Madouura * tewisay: replace chiiruno with Madouura * svt-av1: replace chiiruno with Madouura
30 lines
801 B
Nix
30 lines
801 B
Nix
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "statik";
|
|
version = "0.1.7";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rakyll";
|
|
repo = "statik";
|
|
rev = "v${version}";
|
|
sha256 = "ahsNiac/3I2+PUqc90E73Brb99M68ewh9nWXoupfE3g=";
|
|
};
|
|
|
|
vendorSha256 = "pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo=";
|
|
|
|
# Avoid building example
|
|
subPackages = [ "." "fs" ];
|
|
# Tests are checking that the files embeded are preserving
|
|
# their meta data like dates etc, but it assumes to be in 2048
|
|
# which is not the case once entered the nix store
|
|
doCheck = false;
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/rakyll/statik";
|
|
description = "Embed files into a Go executable ";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ Madouura ];
|
|
};
|
|
}
|