nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 33 lines 764 B view raw
1{ 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5}: 6 7buildGoModule (finalAttrs: { 8 pname = "mixtool"; 9 version = "0-unstable-2025-07-07"; 10 11 src = fetchFromGitHub { 12 owner = "monitoring-mixins"; 13 repo = "mixtool"; 14 rev = "1abe34c3187d53b795d0474535b476bc9b7500c3"; 15 hash = "sha256-RRoz5Kp/IGkUD6XVK70+k4L05rYqhkqh6LpopihyEd8="; 16 }; 17 18 vendorHash = "sha256-o9HNcq7XHXH/s6UthYADsktGh9NjgC1rVPbGP11Cfc0="; 19 20 ldflags = [ 21 "-s" 22 "-w" 23 "-X main.version=${finalAttrs.version}" 24 ]; 25 26 meta = { 27 description = "Helper for easily working with jsonnet mixins"; 28 homepage = "https://github.com/monitoring-mixins/mixtool"; 29 license = lib.licenses.asl20; 30 maintainers = with lib.maintainers; [ arikgrahl ]; 31 mainProgram = "mixtool"; 32 }; 33})