Skip to content
Snippets Groups Projects
Unverified Commit ec4e9455 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: polyml: Fetch sources from git.

* gnu/packages/sml.scm (polyml)[source]: Fetch from git.
parent 82a0787c
No related branches found
No related tags found
No related merge requests found
;;; GNU Guix --- Functional package management for GNU ;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 Andy Patterson <ajpatter@uwaterloo.ca> ;;; Copyright © 2017 Andy Patterson <ajpatter@uwaterloo.ca>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2017 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Ricardo Wurmus <rekado@elephly.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
...@@ -24,6 +25,7 @@ (define-module (gnu packages sml) ...@@ -24,6 +25,7 @@ (define-module (gnu packages sml)
#:use-module (gnu packages xorg) #:use-module (gnu packages xorg)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)) #:use-module (guix packages))
...@@ -31,14 +33,15 @@ (define-public polyml ...@@ -31,14 +33,15 @@ (define-public polyml
(package (package
(name "polyml") (name "polyml")
(version "5.7.1") (version "5.7.1")
(source (source (origin
(origin (method git-fetch)
(method url-fetch) (uri (git-reference
(uri (string-append "https://github.com/polyml/polyml/archive/v" (url "https://github.com/polyml/polyml.git")
version ".tar.gz")) (commit (string-append "v" version))))
(sha256 (file-name (git-file-name name version))
(base32 "0a3hcv80p9j0fny6726kvgmzjzdmak9xw7f7rv8sxv96nhjdi3fi")) (sha256
(file-name (string-append name "-" version ".tar.gz")))) (base32
"0j0wv3ijfrjkfngy7dswm4k1dchk3jak9chl5735dl8yrl8mq755"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("gmp" ,gmp) `(("gmp" ,gmp)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment