mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
Merge pull request #107821 from freezeboy/update-statik
statik: unstable-2019-07-31 -> 0.1.7
This commit is contained in:
commit
efc50360c6
@ -1,18 +1,26 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub }:
|
||||||
|
|
||||||
buildGoPackage {
|
buildGoModule rec {
|
||||||
pname = "statik";
|
pname = "statik";
|
||||||
version = "unstable-2019-07-31";
|
version = "0.1.7";
|
||||||
goPackagePath = "github.com/rakyll/statik";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "rakyll";
|
owner = "rakyll";
|
||||||
repo = "statik";
|
repo = "statik";
|
||||||
rev = "925a23bda946b50bb0804894f340c5da2b95603b";
|
rev = "v${version}";
|
||||||
sha256 = "15wwgrprfq36pa13b9anp7097q1fqcad28hirvivybmc011p0fri";
|
sha256 = "ahsNiac/3I2+PUqc90E73Brb99M68ewh9nWXoupfE3g=";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
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";
|
homepage = "https://github.com/rakyll/statik";
|
||||||
description = "Embed files into a Go executable ";
|
description = "Embed files into a Go executable ";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
|
Loading…
Reference in New Issue
Block a user