blob: ced863710640d94ad40fe9b637065f794b2d1306 (
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
|
;;; pyhegp --- Homomorphic encryption of genotypes and phenotypes
;;; Copyright © 2025 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of pyhegp.
;;;
;;; pyhegp 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.
;;;
;;; pyhegp 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 pyhegp. If not, see <https://www.gnu.org/licenses/>.
(define-module (pyhegp-package)
#:use-module ((gnu packages check) #:select (python-hypothesis-next python-pytest))
#:use-module ((gnu packages python-build) #:select (python-flit-core))
#:use-module ((gnu packages python-science) #:select (python-scipy))
#:use-module ((gnu packages python-xyz) #:select (python-click python-numpy))
#: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 python-pyhegp
(package
(name "python-pyhegp")
(version "0.1.0")
(source (local-file ".."
"pyhegp-checkout"
#:recursive? #t
#:select? (or (git-predicate (dirname (current-source-directory)))
(const #t))))
(build-system pyproject-build-system)
(native-inputs
(list python-flit-core
python-hypothesis-next
python-pytest))
(propagated-inputs
(list python-click
python-numpy
python-scipy))
(home-page "https://github.com/encryption4genetics/pyhegp")
(synopsis "Homomorphic encryption of genotypes and phenotypes")
(description "@code{python-pyhegp} provides a Python library and CLI utilities
implementing homomorphic encryption of genotypes and phenotypes.")
(license license:gpl3+)))
python-pyhegp
|