From 7ae9542bf317c6ee4359cd8665fdc9c836f091ef Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 13 Aug 2017 22:11:48 +0200 Subject: gnu: Add prison. * gnu/packages/kde-frameworks.scm (prison): New variable. --- gnu/packages/kde-frameworks.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/kde-frameworks.scm') diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 292b537a12..58bc742365 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -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") -- cgit v1.2.3