Paste number 324463: praat Guix package (unfinished)

Paste number 324463: praat Guix package (unfinished)
Pasted by: Brendan
When:5 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+6YCV
Channel:None
Paste contents:
Raw Source | XML | Display As
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Brendan Tildesley <brendan@tiddles.me>
;;;
;;; 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 <http://www.gnu.org/licenses/>.

(define-module (gnu packages linguistics)
  #:use-module (guix licenses)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages alsa)
  #:use-module (gnu packages gtk)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages version-control))

(define-public praat
  (let ((commit "51c7b7bc480b36c4d462c30cf3829f64e4bf082f")
        (revision "1"))
    (package
      (name "praat")
      (version (string-append "6.0.19-" revision "."
                              (string-take commit 7)))
      (source
       (origin
         (method git-fetch)
         (uri (git-reference
               (url "https://github.com/praat/praat.git")
               (commit commit)))
         (sha256
          (base32 "1iagipab1cb4ab01zq497frdydxkibn9m7i36jvb1g82kraxqmgp"))
         (file-name (string-append "praat-" version "-checkout"))))
      (build-system gnu-build-system)
      (native-inputs
       `(("git" ,git)
         ("pkg-config" ,pkg-config)
         ("gtk+" ,gtk+-2)
         ("alsa-lib" ,alsa-lib)))
      (inputs
       `(("gtk+" ,gtk+-2)
         ("alsa-lib" ,alsa-lib)))
      (arguments
       `(#:tests? #f
         #:phases
         (modify-phases %standard-phases
           (delete 'configure)
           (add-before 'make
                       'copy-makefile
                       (lambda _
                         (copy-file "makefiles/makefiles.defs.linux.alsa"
                                    "makefile.defs")))))
       
       ;;cp makefiles/makefile.defs.linux.alsa makefile.defs
       ;; make
       ...)
      (home-page "http://praat.org")
      (synopsis "A program for 'Doing phonetics by computer'")
      (description
       "Praat is a program for linguists to analyse, synthesize,and manipulate
speech. Generate tone graphs, and more.")
      (license gpl2))))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.