gnu: Add prison.

* gnu/packages/kde-frameworks.scm (prison): New variable.
master
Hartmut Goebel 2017-08-13 22:11:48 +02:00
parent 7ade80220b
commit 7ae9542bf3
No known key found for this signature in database
GPG Key ID: 634A8DFFD3F631DF
1 changed files with 26 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages acl)
#:use-module (gnu packages admin)
#:use-module (gnu packages aidc)
#:use-module (gnu packages attr)
#:use-module (gnu packages base)
#:use-module (gnu packages boost)
@ -1209,6 +1210,31 @@ querying and interacting with hardware independently of the underlying operating
system.")
(license license:lgpl2.1+)))
(define-public prison
(package
(name "prison")
(version "5.34.0")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/frameworks/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32 "00wj4yyfhhcq9b54civ5hy1grz70mmi676x50y12crcbbgkxm1lx"))))
(build-system cmake-build-system)
(native-inputs
`(("extra-cmake-modules" ,extra-cmake-modules)))
(inputs
`(("libdmtx", libdmtx)
("qrencode" ,qrencode)
("qtbase" ,qtbase))) ;; TODO: rethink: nix propagates this
(home-page "https://api.kde.org/frameworks/prison/html/index.html")
(synopsis "Barcode generation abstraction layer")
(description "Prison is a Qt-based barcode abstraction layer/library and
provides uniform access to generation of barcodes with data.")
(license license:lgpl2.1+)))
(define-public sonnet
(package
(name "sonnet")