nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 753 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "statik"; 9 version = "0.1.8"; 10 11 src = fetchFromGitHub { 12 owner = "rakyll"; 13 repo = "statik"; 14 rev = "v${version}"; 15 sha256 = "sha256-GfXYlkzPESu9Szl+g90oB2ldrCS5aAOt9m+WPOOXhIE="; 16 }; 17 18 vendorHash = null; 19 20 # Avoid building example 21 subPackages = [ 22 "." 23 "fs" 24 ]; 25 # Tests are checking that the files embedded are preserving 26 # their meta data like dates etc, but it assumes to be in 2048 27 # which is not the case once entered the nix store 28 doCheck = false; 29 30 meta = { 31 homepage = "https://github.com/rakyll/statik"; 32 description = "Embed files into a Go executable"; 33 mainProgram = "statik"; 34 license = lib.licenses.asl20; 35 }; 36}