mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
feat[client]: add prstatus
This commit is contained in:
parent
9f9f764899
commit
e65c63b6da
3 changed files with 28 additions and 0 deletions
|
|
@ -15674,6 +15674,7 @@ This is just a separate container for derivations defined in [[#h:64a5cc16-6b16-
|
||||||
sshrm
|
sshrm
|
||||||
endme
|
endme
|
||||||
git-replace
|
git-replace
|
||||||
|
prstatus
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -22502,6 +22503,23 @@ This script allows for quick git branch switching.
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
**** prstatus
|
||||||
|
|
||||||
|
This script allows for quick checking of nixpkgs PR statuses.
|
||||||
|
|
||||||
|
#+begin_src nix-ts :tangle pkgs/flake/prstatus/default.nix
|
||||||
|
{ name, writeShellApplication, curl, ... }:
|
||||||
|
|
||||||
|
writeShellApplication {
|
||||||
|
inherit name;
|
||||||
|
runtimeInputs = [ curl ];
|
||||||
|
text = ''
|
||||||
|
curl https://nixpkgs.molybdenum.software/api/v2/landings/"$1"
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
|
||||||
|
#+end_src
|
||||||
|
|
||||||
**** bak
|
**** bak
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
:CUSTOM_ID: h:03b1b77b-3ca8-4a8f-8e28-9f29004d96d3
|
:CUSTOM_ID: h:03b1b77b-3ca8-4a8f-8e28-9f29004d96d3
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@
|
||||||
sshrm
|
sshrm
|
||||||
endme
|
endme
|
||||||
git-replace
|
git-replace
|
||||||
|
prstatus
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
9
pkgs/flake/prstatus/default.nix
Normal file
9
pkgs/flake/prstatus/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ name, writeShellApplication, curl, ... }:
|
||||||
|
|
||||||
|
writeShellApplication {
|
||||||
|
inherit name;
|
||||||
|
runtimeInputs = [ curl ];
|
||||||
|
text = ''
|
||||||
|
curl https://nixpkgs.molybdenum.software/api/v2/landings/"$1"
|
||||||
|
'';
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue