about summary refs log tree commit diff
path: root/pkgs/applications/graphics/lutgen/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/lutgen/default.nix')
-rw-r--r--pkgs/applications/graphics/lutgen/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/lutgen/default.nix b/pkgs/applications/graphics/lutgen/default.nix
new file mode 100644
index 000000000000..5b5af34cdc9a
--- /dev/null
+++ b/pkgs/applications/graphics/lutgen/default.nix
@@ -0,0 +1,26 @@
+{ lib
+, fetchFromGitHub
+, rustPlatform
+}:
+
+rustPlatform.buildRustPackage rec {
+  pname = "lutgen";
+  version = "0.8.3";
+
+  src = fetchFromGitHub {
+    owner = "ozwaldorf";
+    repo = "lutgen-rs";
+    rev = "v${version}";
+    hash = "sha256-9olBUPOi6ZQorgPxQX2lqZSlYjEPMwfhUF/Ze34v0nc=";
+  };
+
+  cargoHash = "sha256-hMbrzjfLSawrm+GmtLx7sQ7atr1aV2RU9rJXgun6HR8=";
+
+  meta = with lib; {
+    description = "A blazingly fast interpolated LUT generator and applicator for arbitrary and popular color palettes";
+    homepage = "https://github.com/ozwaldorf/lutgen-rs";
+    maintainers = with maintainers; [ zzzsy ];
+    mainProgram = "lutgen";
+    license = licenses.mit;
+  };
+}