gnu: Add nanosvg.
* gnu/packages/graphics.scm (nanosvg): New variable.
parent
d5e57f75f1
commit
d39544dd9b
|
@ -21,7 +21,7 @@
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
|
||||||
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
||||||
;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
|
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
|
||||||
;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
|
;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
|
||||||
;;; Copyright © 2021 Andy Tai <atai@atai.org>
|
;;; Copyright © 2021 Andy Tai <atai@atai.org>
|
||||||
|
@ -2496,6 +2496,33 @@ a tetrahedral mesh, isovalue discretization and Lagrangian movement;
|
||||||
@end itemize")
|
@end itemize")
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
|
(define-public nanosvg
|
||||||
|
;; There are no proper versions or releases; use the latest commit.
|
||||||
|
(let ((commit "9da543e8329fdd81b64eb48742d8ccb09377aed1")
|
||||||
|
(revision "0"))
|
||||||
|
(package
|
||||||
|
(name "nanosvg")
|
||||||
|
(version (git-version "0.0.0" revision commit))
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/memononen/nanosvg")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1pkzv75kavkhrbdd2kvq755jyr0vamgrfr7lc33dq3ipkzmqvs2l"))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(arguments (list #:tests? #f ;no test suite
|
||||||
|
#:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON")))
|
||||||
|
(home-page "https://github.com/memononen/nanosvg")
|
||||||
|
(synopsis "Simple SVG parser")
|
||||||
|
(description "NanoSVG is a simple single-header SVG parser. The output
|
||||||
|
of the parser is a list of cubic bezier shapes. The library suits well for
|
||||||
|
anything from rendering scalable icons in an editor application to prototyping
|
||||||
|
a game.")
|
||||||
|
(license license:zlib))))
|
||||||
|
|
||||||
(define-public f3d
|
(define-public f3d
|
||||||
(package
|
(package
|
||||||
(name "f3d")
|
(name "f3d")
|
||||||
|
|
Reference in New Issue