Remote nonfree software, make it a free software only repo as it is useful to others
README.md
2 | 2 | recipes for packages that I am working on. They will eventually be sent | |
3 | 3 | upstream. When this is the case, they will vanish from this repo. | |
4 | 4 | ||
5 | + | This repository should only contain free software. If you encounter non-free | |
6 | + | software, please open an issue, email me or ping me on IRC (roptat on freenode). | |
7 | + | ||
5 | 8 | How to use these packages? | |
6 | 9 | ========================== | |
7 | 10 | ||
… | |||
36 | 39 | * _imposm_: A script to import data from OSM to a postgis database | |
37 | 40 | * _tegola_: A program to produce vector tiles from a postgis database | |
38 | 41 | ||
39 | - | Non-free | |
40 | - | -------- | |
41 | - | ||
42 | - | * _compcert_: A certified C compiler | |
43 | - | ||
44 | 42 | Current work | |
45 | 43 | ============ | |
46 | 44 |
more/packages/ocaml.scm
288 | 288 | (inputs | |
289 | 289 | `(("camlp5" ,camlp5))))) | |
290 | 290 | ||
291 | - | (define-public ppsimpl | |
292 | - | (package | |
293 | - | (name "ppsimpl") | |
294 | - | (version "8.7") | |
295 | - | (source (origin | |
296 | - | (method git-fetch) | |
297 | - | (uri (git-reference | |
298 | - | (url "https://scm.gforge.inria.fr/anonscm/git/ppsimpl/ppsimpl.git") | |
299 | - | (commit "86255a47568df58767d1d8e0b9e2da31cf73a5fc"))) | |
300 | - | (file-name (string-append name "-" version)) | |
301 | - | (sha256 | |
302 | - | (base32 | |
303 | - | "0h509w43j2wd2pyx04k3xfd0bsbmqscwqvhf8whzc3cxzl4j6vvq")))) | |
304 | - | ;(uri "https://gforge.inria.fr/frs/download.php/file/37615/ppsimpl-09-07-2018.tar.gz") | |
305 | - | ;(sha256 | |
306 | - | ; (base32 | |
307 | - | ; "010zgskc1wd5v6wmmyxaapvwxjlgbdqqiks2dvf6llx03b07ak59")))) | |
308 | - | (build-system gnu-build-system) | |
309 | - | (arguments | |
310 | - | `(#:test-target "test" | |
311 | - | #:configure-flags | |
312 | - | (list "-R" (string-append (assoc-ref %build-inputs "compcert") "/lib/coq/user-contrib/compcert") "compcert") | |
313 | - | #:make-flags (list "COQC=coqc -R src PP -I src" | |
314 | - | (string-append | |
315 | - | "COQLIBINSTALL=" | |
316 | - | (assoc-ref %outputs "out") | |
317 | - | "/lib/coq/user-contrib")))) | |
318 | - | (inputs | |
319 | - | `(("coq-bignums-8.7" ,coq-bignums-8.7) | |
320 | - | ("compcert" ,compcert))) | |
321 | - | (native-inputs | |
322 | - | `(("coq-8.7" ,coq-8.7) | |
323 | - | ("ocaml" ,ocaml) | |
324 | - | ("ocaml-findlib" ,ocaml-findlib) | |
325 | - | ("camlp4" ,camlp4) | |
326 | - | ("camlp5" ,camlp5) | |
327 | - | ("which" ,which))) | |
328 | - | (home-page "") | |
329 | - | (synopsis "") | |
330 | - | (description "") | |
331 | - | ;; No declared license -> all rights reserved | |
332 | - | (license #f))) | |
333 | - | ||
334 | - | (define-public compcert | |
335 | - | (package | |
336 | - | (name "compcert") | |
337 | - | (version "3.5") | |
338 | - | (source (origin | |
339 | - | (method url-fetch) | |
340 | - | (uri (string-append "http://compcert.inria.fr/release/compcert-" | |
341 | - | version ".tgz")) | |
342 | - | (sha256 | |
343 | - | (base32 | |
344 | - | "02dmd4iw6b5i38svaycjsywlpmg0kaypc01vxi6ndyywx6giz80y")))) | |
345 | - | (build-system gnu-build-system) | |
346 | - | (arguments | |
347 | - | `(#:phases | |
348 | - | (modify-phases %standard-phases | |
349 | - | (replace 'configure | |
350 | - | (lambda* (#:key outputs #:allow-other-keys) | |
351 | - | (let ((system ,(match (or (%current-target-system) (%current-system)) | |
352 | - | ("x86_64-linux" "x86_64-linux") | |
353 | - | ("i686-linux" "x86_32-linux") | |
354 | - | ("armhf-linux" "arm-linux")))) | |
355 | - | (format #t "Building for ~a~%" system) | |
356 | - | (invoke "./configure" system "-prefix" | |
357 | - | (assoc-ref outputs "out"))) | |
358 | - | #t)) | |
359 | - | (add-after 'install 'install-lib | |
360 | - | (lambda* (#:key outputs #:allow-other-keys) | |
361 | - | (for-each | |
362 | - | (lambda (file) | |
363 | - | (install-file | |
364 | - | file | |
365 | - | (string-append | |
366 | - | (assoc-ref outputs "out") | |
367 | - | "/lib/coq/user-contrib/compcert/" (dirname file)))) | |
368 | - | (find-files "." ".*.vo$")) | |
369 | - | #t))) | |
370 | - | #:tests? #f)) | |
371 | - | (native-inputs | |
372 | - | `(("ocaml" ,ocaml) | |
373 | - | ("ocaml-findlib" ,ocaml-findlib); for menhir --suggest-menhirlib | |
374 | - | ("coq" ,coq))) | |
375 | - | (inputs | |
376 | - | `(("menhir" ,ocaml-menhir))) | |
377 | - | (home-page "http://compcert.inria.fr") | |
378 | - | (synopsis "Certified C compiler") | |
379 | - | (description "CompCert is a certified (with coq) C compiler. Warning: this | |
380 | - | package is not free software!") | |
381 | - | ;; actually the "INRIA Non-Commercial License Agreement" | |
382 | - | ;; a non-free license. | |
383 | - | (license (license:non-copyleft "file:///LICENSE")))) | |
384 | - | ||
385 | 291 | (define-public ocaml-c2newspeak | |
386 | 292 | (package | |
387 | 293 | (name "ocaml-c2newspeak") |