nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 36 lines 674 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule rec { 8 pname = "stackblur-go"; 9 version = "1.1.0"; 10 11 src = fetchFromGitHub { 12 owner = "esimov"; 13 repo = "stackblur-go"; 14 rev = "v${version}"; 15 hash = "sha256-y1Fov81mholhz+bLRYl+G7jhzcsFS5TUjQ3SUntD8E0="; 16 }; 17 18 vendorHash = null; 19 20 postInstall = '' 21 mv $out/bin/cmd $out/bin/stackblur 22 ''; 23 24 ldflags = [ 25 "-s" 26 "-w" 27 ]; 28 29 meta = { 30 description = "Fast, almost Gaussian Blur implementation in Go"; 31 homepage = "https://github.com/esimov/stackblur-go"; 32 license = lib.licenses.mit; 33 maintainers = with lib.maintainers; [ sodiboo ]; 34 mainProgram = "stackblur"; 35 }; 36}