You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
spacefrogg-overlay/gledger/default.nix

23 lines
546 B

{ stdenv, gnupg, ledger, writeScriptBin }:
let gledger = ''
'';
in stdenv.mkDerivation {
pname = "gledger";
version = "2";
phases = [ "installPhase" "fixupPhase" ];
binpath = stdenv.lib.makeBinPath [ gnupg ledger ];
installPhase = ''
mkdir -p $out/bin
substituteAll ${./gledger} $out/bin/gledger
cp ${./gledger-camt-csv} $out/bin/gledger-camt-csv
chmod +x $out/bin/*
'';
meta = with stdenv.lib; {
description = "GNUPG wrapper and tools for ledger";
maintainers = with maintainers; [ spacefrogg ];
};
}