From 019b212fe79d3ea65ab6853e577a4658fa87c8b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Wed, 29 Nov 2023 00:59:40 +0100 Subject: [PATCH] ucode: init at 0.0.20231102 --- pkgs/by-name/uc/ucode/package.nix | 36 +++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/uc/ucode/package.nix diff --git a/pkgs/by-name/uc/ucode/package.nix b/pkgs/by-name/uc/ucode/package.nix new file mode 100644 index 000000000000..9998b24df082 --- /dev/null +++ b/pkgs/by-name/uc/ucode/package.nix @@ -0,0 +1,36 @@ +{ lib +, stdenv +, fetchFromGitHub +, cmake +, pkg-config +, json_c +}: + +stdenv.mkDerivation rec { + pname = "ucode"; + version = "0.0.20231102"; + + src = fetchFromGitHub { + owner = "jow-"; + repo = "ucode"; + rev = "v${version}"; + hash = "sha256-dJjlwuQLS73D6W/bmhWLPPaT7himQyO1RvD+MXVxBMw="; + }; + + buildInputs = [ + json_c + ]; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + meta = with lib; { + description = "JavaScript-like language with optional templating"; + homepage = "https://github.com/jow-/ucode"; + license = licenses.isc; + platforms = platforms.linux; + maintainers = with maintainers; [ mkg20001 ]; + }; +}