Loading pkgs/development/interpreters/risor/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildGoModule , fetchFromGitHub , testers , risor }: buildGoModule rec { pname = "risor"; version = "0.10.0"; src = fetchFromGitHub { owner = "risor-io"; repo = "risor"; rev = "v${version}"; hash = "sha256-CnwejQ6e08AaUshfieXbQx05G6ZoF6vDlrtai3qxrxo="; }; vendorHash = "sha256-diAbQwnlhMm43ZlLKq3llMl9mO3sIkc80aCI5UDn7F4="; subPackages = [ "cmd/..." ]; ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; passthru.tests = { version = testers.testVersion { package = risor; command = "risor version"; }; }; meta = with lib; { description = "Fast and flexible scripting for Go developers and DevOps"; homepage = "https://github.com/risor-io/risor"; changelog = "https://github.com/risor-io/risor/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ figsoda ]; }; } pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12360,6 +12360,8 @@ with pkgs; richgo = callPackage ../development/tools/richgo { }; risor = callPackage ../development/interpreters/risor { }; rlci = callPackage ../development/interpreters/rlci { }; rs = callPackage ../tools/text/rs { }; Loading
pkgs/development/interpreters/risor/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib , buildGoModule , fetchFromGitHub , testers , risor }: buildGoModule rec { pname = "risor"; version = "0.10.0"; src = fetchFromGitHub { owner = "risor-io"; repo = "risor"; rev = "v${version}"; hash = "sha256-CnwejQ6e08AaUshfieXbQx05G6ZoF6vDlrtai3qxrxo="; }; vendorHash = "sha256-diAbQwnlhMm43ZlLKq3llMl9mO3sIkc80aCI5UDn7F4="; subPackages = [ "cmd/..." ]; ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; passthru.tests = { version = testers.testVersion { package = risor; command = "risor version"; }; }; meta = with lib; { description = "Fast and flexible scripting for Go developers and DevOps"; homepage = "https://github.com/risor-io/risor"; changelog = "https://github.com/risor-io/risor/releases/tag/${src.rev}"; license = licenses.asl20; maintainers = with maintainers; [ figsoda ]; }; }
pkgs/top-level/all-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -12360,6 +12360,8 @@ with pkgs; richgo = callPackage ../development/tools/richgo { }; risor = callPackage ../development/interpreters/risor { }; rlci = callPackage ../development/interpreters/rlci { }; rs = callPackage ../tools/text/rs { };