Use local checkout in guix recipe
guix.scm
3 | 3 | (guix build-system python) | |
4 | 4 | (guix download) | |
5 | 5 | (guix git-download) | |
6 | + | (guix git) | |
6 | 7 | (guix packages) | |
7 | 8 | (guix utils) | |
8 | 9 | (gnu packages aspell) | |
… | |||
15 | 16 | (gnu packages python-xyz) | |
16 | 17 | (gnu packages qt) | |
17 | 18 | (gnu packages serialization) | |
19 | + | (gnu packages sphinx) | |
18 | 20 | (gnu packages time) | |
19 | 21 | (gnu packages version-control) | |
20 | 22 | (gnu packages xml)) | |
… | |||
36 | 38 | (package | |
37 | 39 | (name "offlate") | |
38 | 40 | (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))))) | |
49 | 42 | (build-system python-build-system) | |
50 | 43 | (arguments | |
51 | 44 | ;; No tests | |
… | |||
66 | 59 | ("python-watchdog" ,python-watchdog))) | |
67 | 60 | (native-inputs | |
68 | 61 | `(("fontforge" ,fontforge) | |
69 | - | ("qttools" ,qttools))) | |
62 | + | ("qttools" ,qttools) | |
63 | + | ("python-sphinx" ,python-sphinx))) | |
70 | 64 | (home-page "https://framagit.org/tyreunom/offlate") | |
71 | 65 | (synopsis "Offline translation interface for online translation tools") | |
72 | 66 | (description "Offlate offers a unified interface for different translation |