~ruther/guix-local

9b449784434ec799340b7154ce42a81a6dac3648 — jgart 1 year, 1 month ago 8de5722
gnu: Add python-gitignore-parser.

* gnu/packages/python-xyz.scm (python-gitignore-parser): New variable.

Change-Id: Ifd6cc0581940d6868dbfff144e8db5987af823d4
1 files changed, 31 insertions(+), 1 deletions(-)

M gnu/packages/python-xyz.scm
M gnu/packages/python-xyz.scm => gnu/packages/python-xyz.scm +31 -1
@@ 100,7 100,7 @@
;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org>
;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz>
;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name>
;;; Copyright © 2021, 2023-2024 jgart <jgart@dismail.de>
;;; Copyright © 2021, 2023-2025 jgart <jgart@dismail.de>
;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>


@@ 28839,6 28839,36 @@ Its major feature is tracking the number of lines authored by each person for ev
commit, but it also includes some other useful statistics.")
    (license license:asl2.0)))

(define-public python-gitignore-parser
  (package
    (name "python-gitignore-parser")
    (version "0.1.12")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/mherrmann/gitignore_parser")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "00s8vvslnlbqnmkgnmc374mjzbsw7b167gh7wf5ygigd79cpnnxk"))))
    (build-system pyproject-build-system)
    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          ;; Tests are missing in PyPI.
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?
                (invoke "python" "-m" "unittest")))))))
    (native-inputs (list python-setuptools python-wheel))
    (home-page "https://github.com/mherrmann/gitignore_parser")
    (synopsis "Spec-compliant gitignore parser for Python")
    (description
     "This package provides a spec-compliant gitignore parser for Python.")
    (license license:expat)))

(define-public python-fusepy
  (package
    (name "python-fusepy")