mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-04 07:59:40 +00:00
package with cabal
This commit is contained in:
parent
81bb6fad24
commit
46f265557a
5 changed files with 35 additions and 85 deletions
|
|
@ -1,19 +1,10 @@
|
|||
{
|
||||
writeShellApplication,
|
||||
sane-backends,
|
||||
poppler-utils,
|
||||
fzf,
|
||||
ghostscript,
|
||||
haskellPackages,
|
||||
haskell,
|
||||
}:
|
||||
writeShellApplication {
|
||||
name = "easyscan";
|
||||
let
|
||||
inherit (haskell.lib.compose) justStaticExecutables;
|
||||
|
||||
runtimeInputs = [
|
||||
sane-backends
|
||||
poppler-utils
|
||||
fzf
|
||||
ghostscript
|
||||
];
|
||||
|
||||
text = builtins.readFile ./easyscan.sh;
|
||||
}
|
||||
drv = haskellPackages.callCabal2nix "easyscan" ./src { };
|
||||
in
|
||||
justStaticExecutables drv
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue