Skip to content

Instantly share code, notes, and snippets.

@ramajd
Created November 22, 2018 20:12
Show Gist options
  • Save ramajd/e108f1f1da019ac63d2184045cff150a to your computer and use it in GitHub Desktop.
Save ramajd/e108f1f1da019ac63d2184045cff150a to your computer and use it in GitHub Desktop.
(define-module (my-module)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system cmake)
#:use-module (guix utils))
(define-public my-custom-package
(package
(name "my-custom-package")
(version "0.0.1")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "git@git.mydomain.com:path/to/my_custom_package.git")
(commit (string-append
"v" version))))
(sha256
(base32
"1d6p22vk1b9v16q96mwaz9w2xr4ly28yamkh49md9gq67qfhhlyq"))))
(build-system cmake-build-system)
(arguments
`(#:tests? #f))
(home-page "https://mydomain.com")
(synopsis "short info for my package")
(description "extended details about my custom application.")
(license license:gpl2+)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment