File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed
Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ stdenv ,
4+ fetchFromGitHub ,
5+ fzf ,
6+ git ,
7+ coreutils ,
8+ findutils ,
9+ gnused ,
10+ gnugrep ,
11+ bash ,
12+ makeWrapper ,
13+ } :
14+
15+ let
16+ wrapperPath = lib . makeBinPath [
17+ fzf
18+ git
19+ coreutils
20+ findutils
21+ gnused
22+ gnugrep
23+ ] ;
24+ in
25+ stdenv . mkDerivation ( finalAttrs : {
26+ pname = "fuzpad" ;
27+ version = "2.05.00" ;
28+
29+ src = fetchFromGitHub {
30+ owner = "JianZcar" ;
31+ repo = "FuzPad" ;
32+ tag = "${ finalAttrs . version } " ;
33+ hash = "sha256-cqZvJtQbSEMoXVbAOy+aE33IUfwUuzvNIzNuOLf4pwU=" ;
34+ } ;
35+
36+ nativeBuildInputs = [ makeWrapper ] ;
37+
38+ buildInputs = [ bash ] ;
39+
40+ installPhase = ''
41+ install -m 755 -Dt $out/bin $src/bin/fuzpad
42+ '' ;
43+
44+ postFixup = ''
45+ wrapProgram $out/bin/fuzpad \
46+ --prefix PATH : "${ wrapperPath } "
47+ '' ;
48+
49+ meta = {
50+ description = "Minimalistic note taking solution powered by fzf" ;
51+ homepage = "https://github.com/JianZcar/FuzPad" ;
52+ maintainers = with lib . maintainers ; [
53+ nicknb
54+ ] ;
55+ mainProgram = "fuzpad" ;
56+ license = lib . licenses . gpl3Only ;
57+ platforms = lib . platforms . unix ;
58+ } ;
59+ } )
You can’t perform that action at this time.
0 commit comments