Use local checkout in guix recipe

Julien LepillerFri Aug 27 14:13:24+0200 2021

0eea5b8

Use local checkout in guix recipe

guix.scm

33
  (guix build-system python)
44
  (guix download)
55
  (guix git-download)
6+
  (guix git)
67
  (guix packages)
78
  (guix utils)
89
  (gnu packages aspell)

1516
  (gnu packages python-xyz)
1617
  (gnu packages qt)
1718
  (gnu packages serialization)
19+
  (gnu packages sphinx)
1820
  (gnu packages time)
1921
  (gnu packages version-control)
2022
  (gnu packages xml))

3638
  (package
3739
    (name "offlate")
3840
    (version "0.5")
39-
    (source
40-
      (origin
41-
        (method git-fetch)
42-
        (uri (git-reference
43-
               (url "https://framagit.org/tyreunom/offlate")
44-
               (commit version)))
45-
        (file-name (git-file-name name version))
46-
        (sha256
47-
         (base32
48-
          "13pqnbl05wcyldfvl75fp89vjgwsvxyc69vhnb17kkha2rc2k1h7"))))
41+
    (source (git-checkout (url (dirname (current-filename)))))
4942
    (build-system python-build-system)
5043
    (arguments
5144
     ;; No tests

6659
        ("python-watchdog" ,python-watchdog)))
6760
    (native-inputs
6861
     `(("fontforge" ,fontforge)
69-
       ("qttools" ,qttools)))
62+
       ("qttools" ,qttools)
63+
       ("python-sphinx" ,python-sphinx)))
7064
    (home-page "https://framagit.org/tyreunom/offlate")
7165
    (synopsis "Offline translation interface for online translation tools")
7266
    (description "Offlate offers a unified interface for different translation