gnu: Add readstat.

* gnu/packages/statistics.scm (readstat): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Lars-Dominik Braun 2021-02-23 14:06:51 +01:00 committed by Ludovic Courtès
parent 3905580180
commit 5ca1c7d1ce
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -5904,3 +5904,31 @@ (define-public emacs-ess
is designed to support editing of scripts and interaction with various
statistical analysis programs such as R, Julia, and JAGS.")
(license license:gpl3+))))
(define-public readstat
(package
(name "readstat")
(version "1.1.5")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/WizardMac/ReadStat")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "00sdmaq0qzp6kyv53fpfi6jf3iv4pd0ap0gmw3mbfip52bbnl55w"))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("gettext" ,gnu-gettext)
("libtool" ,libtool)))
(inputs
`(("zlib" ,zlib))) ; libz
(synopsis "Convert SAS, Stata, and SPSS files")
(description "Command-line tool and C library for reading files from
popular stats packages like SAS, Stata and SPSS.")
(home-page "https://github.com/WizardMac/ReadStat")
(license license:expat)))