about summary refs log tree commit diff
path: root/.guix/domagi-package.scm
blob: ae25a9f074fa484095cb7fb3da55216b4504e10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
;;; domagi --- DuckDB-powered pangenome Swiss Army knife
;;; Copyright © 2026 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of domagi.
;;;
;;; domagi is free software: you can redistribute it and/or modify it under the
;;; terms of the GNU General Public License as published by the Free Software
;;; Foundation, either version 3 of the License, or (at your option) any later
;;; version.
;;;
;;; domagi is distributed in the hope that it will be useful, but WITHOUT ANY
;;; WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
;;; FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
;;; details.
;;;
;;; You should have received a copy of the GNU General Public License along with
;;; domagi. If not, see <https://www.gnu.org/licenses/>.

(define-module (domagi-package)
  #:use-module ((gnu packages check) #:select (python-pytest))
  #:use-module ((gnu packages cmake) #:select (cmake))
  #:use-module ((gnu packages datastructures) #:select (verstable))
  #:use-module ((gnu packages duckdb) #:select (duckdb python-duckdb))
  #:use-module ((gnu packages pkg-config) #:select (pkg-config))
  #:use-module ((gnu packages python-xyz) #:select (python-click python-meson))
  #:use-module (guix build-system pyproject)
  #:use-module (guix gexp)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils))

(define-public domagi
  (package
    (name "domagi")
    (version "0.1.0")
    (source (local-file ".."
                        "domagi-checkout"
                        #:recursive? #t
                        #:select? (or (git-predicate (dirname (current-source-directory)))
                                      (const #t))))
    (build-system pyproject-build-system)
    (inputs
     (list duckdb
           python-click
           python-duckdb))
    (native-inputs
     (list cmake
           python-meson
           pkg-config
           python-pytest
           verstable))
    (home-page "https://github.com/arunisaac/domagi")
    (synopsis "DuckDB-powered pangenome Swiss Army knife")
    (description "domagi is a DuckDB-powered clone of odgi, the pangenome
manipulation tool.")
    (license license:gpl3+)))

domagi