package.nix (724B)
1 { 2 lib, 3 buildGoModule, 4 fetchFromGitHub, 5 }: 6 7 buildGoModule { 8 pname = "homescript"; 9 version = "0-unstable-2026-01-04"; 10 11 __structuredAttrs = true; 12 13 src = fetchFromGitHub { 14 owner = "homescript-dev"; 15 repo = "server"; 16 rev = "444bbd48f858cb12ae8cce7cc0d63be26aee5902"; 17 hash = "sha256-JNEDv8OEEZ7tOlIKk2nxvIfTjrfWMT6Yp1Qi2Vn1H8Q="; 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 }
