Subject: Re: Blender has no denoiser

From: Haider Mirza <[email-masked]>
Date: Sat, 16 Apr 2022 18:17:10 +0100

I had tried to package ISPC but CMake doesnt seem to work with me.

(define-module (ispc)
  #:use-module (guix packages)
  #:use-module (gnu packages bison)
  #:use-module (gnu packages llvm)
  #:use-module (gnu packages python)
  #:use-module (gnu packages flex)
  #:use-module (gnu packages m4)
  #:use-module (gnu packages version-control)
  #:use-module (gnu packages cmake)
  #:use-module (guix git-download)
  #:use-module (guix build-system cmake)
  #:use-module ((guix licenses) #:prefix license:))

(define-public ispc
  (package
   (name "ispc")
   (version "1.17.0")
   (source
    (origin
     (method git-fetch)
     (uri (git-reference
           (url "https://github.com/ispc/ispc.git")
           (commit (string-append "v" version))))
     (file-name (git-file-name name version))
     (sha256
      (base32 
      "1klk1mhxjvyhzf1kqznimdb2f96czp76k8riv8yda87gfrk7cmfn"))))
   (build-system cmake-build-system)
   (inputs
    (list cmake python bison flex m4 git clang))     ; for 
    scripts/MakeHeader.py
   (home-page "https://www.openimagedenoise.org/")
   (synopsis "compiler for a variant of the C programming 
   language")
   (description
    "ispc is a compiler for a variant of the C programming 
    language, with extensions for single program, multiple data 
    programming.")
   (license license:bsd-3)))