diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-01 00:32:44 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-06-13 00:04:26 +0200 |
commit | 40ac535e378f19525335ed3d50bc519155552f61 (patch) | |
tree | 60c797f72bc1af6491f25ec954b178aa6365e989 /battering | |
parent | 01397c9e9dfc1abd2a94c2cf6866a98e1545c294 (diff) |
battering: Add 1 vendored packages.
* battering/packages/opensnitch.scm: New vendored packages.
Diffstat (limited to 'battering')
-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))))) |