~whereiseveryone/guixrus

guixrus/guixrus/packages/pier.scm -rw-r--r-- 3.3 KiB
e23458a3jgart add emacs-consult-lsp 12 hours ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; Copyright © 2022 (unmatched parenthesis <paren@disroot.org>
;;;
;;; This file is not 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 (guixrus packages pier)
  #:use-module (gnu packages)
  #:use-module (gnu packages check)
  #:use-module (gnu packages crates-io)
  #:use-module (gnu packages crates-graphics)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages tls)
  #:use-module (guixrus packages common rust)
  #:use-module (guix build-system cargo)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils))

(define-public pier
  (package
    (name "pier")
    (version "0.1.5")
    (source
      (origin
        (method url-fetch)
        (uri (crate-uri "pier" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
          (base32 "1w0wdfsaplcaf52q1jam6vwdf2zmk3gifzmzzarngjl2mg340kbn"))))
    (build-system cargo-build-system)
    (arguments
      `(#:cargo-test-flags '("--release" "--"
                             "--skip=cli::test_run_custom_exit_code"
                             "--skip=cli::test_run_inline_with_args"
                             "--skip=cli::test_run_script"
                             "--skip=cli::test_run_script_and"
                             "--skip=cli::test_run_script_non_blocking"
                             "--skip=cli::test_run_script_pipe"
                             "--skip=cli::test_run_shebang_with_args"
                             "--skip=cli::test_run_successful"
                             "--skip=cli::test_run_with_interpreter"
                             "--skip=cli::test_run_with_shebang"
                             "--skip=cli::test_stderr_output")
        #:cargo-inputs
          (("rust-dirs" ,rust-dirs-2)
           ("rust-enum-kinds" ,rust-enum-kinds-0.4)
           ("rust-prettytable-rs" ,rust-prettytable-rs-0.8)
           ("rust-scrawl" ,rust-scrawl-1)
           ("rust-serde" ,rust-serde-1)
           ("rust-snafu" ,rust-snafu-0.5)
           ("rust-structopt" ,rust-structopt-0.3)
           ("rust-tempfile" ,rust-tempfile-3)
           ("rust-toml" ,rust-toml-0.4))
        #:cargo-development-inputs
        (("rust-assert-cmd" ,rust-assert-cmd-0.11)
         ("rust-assert-fs" ,rust-assert-fs-0.11)
         ("rust-predicates" ,rust-predicates-1)
         ("rust-serde" ,rust-serde-1))))
    (home-page "https://github.com/BenSchZA/pier")
    (synopsis "A Linux script management tool")
    (description "This package provides a Linux script management tool")
    (license license:expat)))