;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015 Alex Kost ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages physfs) #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages compression) #:use-module (gnu packages doxygen)) (define-public physfs (package (name "physfs") (version "2.0.3") (source (origin (method url-fetch) (uri (string-append "http://icculus.org/physfs/downloads/physfs-" version ".tar.bz2")) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0sbbyqzqhyf0g68fcvvv20n3928j0x6ik1njmhn1yigvq2bj11na")))) (build-system cmake-build-system) (arguments '(#:tests? #f)) ; no check target (inputs `(("zlib" ,zlib))) (native-inputs `(("doxygen" ,doxygen))) (home-page "http://icculus.org/physfs") (synopsis "Filesystem abstraction library") (description "PhysicsFS is a library to provide abstract access to various archives. It is intended for use in video games. For security, no file writing done through the PhysicsFS API can leave a defined @emph{write directory}. For file reading, a @emph{search path} with archives and directories is defined, and it becomes a single, transparent hierarchical file system. So archive files can be accessed in the same way as you access files directly on a disk, and it makes it easy to ship a new archive that will override a previous archive on a per-file basis.") (license license:zlib)))