nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

package.nix (695B)


      1 {
      2   lib,
      3   buildGoModule,
      4   fetchFromGitHub,
      5 }:
      6 
      7 buildGoModule {
      8   pname = "homescript";
      9   version = "0-unstable-2026-01-04";
     10 
     11   src = fetchFromGitHub {
     12     owner = "homescript-dev";
     13     repo = "server";
     14     rev = "444bbd48f858cb12ae8cce7cc0d63be26aee5902";
     15     hash = "sha256-JNEDv8OEEZ7tOlIKk2nxvIfTjrfWMT6Yp1Qi2Vn1H8Q=";
     16   };
     17 
     18   vendorHash = "sha256-6LsHT66cYqirOfl8bf2hmEZVypnYBHQuazjNO3lhfJg=";
     19 
     20   postInstall = ''
     21     mv $out/bin/{,homescript-}server
     22   '';
     23 
     24   meta = {
     25     description = "Homescript Server";
     26     homepage = "https://github.com/homescript-dev/server";
     27     license = lib.licenses.free;
     28     maintainers = [ lib.maintainers.sikmir ];
     29     platforms = lib.platforms.unix;
     30   };
     31 }