package.nix (724B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 7 buildGoModule { 8 pname = "homescript"; 9 version = "0-unstable-2026-03-05"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "homescript-dev"; 15 repo = "server"; 16 rev = "687a29f266e2e233bcf437adaeacea52cd46a532"; 17 hash = "sha256-XeGc17OlEPuYyZWr4u1KYVFH+UIODh1fVhbKmAONxAs="; 18 }; 19 20 vendorHash = "sha256-6LsHT66cYqirOfl8bf2hmEZVypnYBHQuazjNO3lhfJg="; 21 22 postInstall = '' 23 mv $out/bin/{,homescript-}server 24 ''; 25 26 meta = { 27 description = "Homescript Server"; 28 homepage = "https://github.com/homescript-dev/server"; 29 license = lib.licenses.free; 30 maintainers = [ lib.maintainers.sikmir ]; 31 platforms = lib.platforms.unix; 32 }; 33 }
