diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 00:32:44 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 17:47:17 +0100 |
commit | 7049b89fc9b9a63b206f06ec9c9c9f34d3711674 (patch) | |
tree | cd1de90e6fbf5f33d9b959d3b2999c202deca9f7 /battering/packages/opensnitch.scm | |
parent | 44fa521416baee4e36563b434b0ad69388ad2005 (diff) |
battering: Add 1 vendored packages.
* battering/packages/opensnitch.scm: New vendored packages.
Diffstat (limited to 'battering/packages/opensnitch.scm')
-rw-r--r-- | battering/packages/opensnitch.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/battering/packages/opensnitch.scm b/battering/packages/opensnitch.scm index d6dcf05..bcad57a 100644 --- a/battering/packages/opensnitch.scm +++ b/battering/packages/opensnitch.scm @@ -80,3 +80,23 @@ (synopsis "GNU/Linux application firewall.") (description "OpenSnitch is an interactive GNU/Linux application firewall inspired by Little Snitch.") (license license:gpl3+))) + +(define linux-libre-headers-opensnitch + (package + (inherit linux-libre-headers) + (name "linux-libre-headers-opensnitch") + (native-inputs (modify-inputs (package-native-inputs linux-libre-headers) + (append openssl bc elfutils))) + (arguments + (substitute-keyword-arguments (package-arguments linux-libre-headers-latest) + ((#:phases p) + #~(modify-phases #$p + (replace 'build + (lambda _ + (invoke "make" "defconfig") + (invoke "make" "prepare"))) + (replace 'install + (lambda _ + (begin + (copy-recursively "." #$output)))))) + ((#:allowed-references _) #f))))) |