Commit | Line | Data |
---|---|---|
d7a341f8 HG |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2016, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages pep) | |
20 | #:use-module ((guix licenses) #:prefix license:) | |
21 | #:use-module (guix packages) | |
22 | #:use-module (guix hg-download) | |
23 | #:use-module (guix build-system python) | |
24 | #:use-module (gnu packages) | |
25 | #:use-module (gnu packages xml)) | |
26 | ||
27 | (define-public yml2 | |
28 | (package | |
29 | (name "yml2") | |
30 | (version "2.6.3") | |
31 | (source (origin | |
32 | (method hg-fetch) | |
33 | (uri (hg-reference | |
34 | (url "https://pep.foundation/dev/repos/yml2") | |
35 | (changeset version))) | |
36 | (file-name (string-append name "-" version "-checkout")) | |
37 | (sha256 | |
38 | (base32 "10jjjyq1mz18zkzvxd62aba00h69gd9cglisqcvb81j67ml2v1bx")))) | |
39 | (build-system python-build-system) | |
40 | (propagated-inputs | |
41 | `(("python-lxml" ,python-lxml))) | |
42 | (home-page "https://fdik.org/yml/") | |
43 | (synopsis "Use a Domain Specific Language for XML without defining | |
44 | a grammar") | |
45 | (description "The YML compiler is a small Python script. It | |
46 | provides the command line front end yml2c. As default, it compiles | |
47 | your script and outputs to stdout, that usually is the terminal. Your | |
48 | shell provides options to redirect the output into a pipe or a file.") | |
49 | (license license:gpl2))) |