aboutsummaryrefslogtreecommitdiff
path: root/pkgs/fiche/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-11 17:25:48 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2020-04-11 17:25:48 +0200
commitea3b46ee264fc1c01d62a7f3ee538b14cb6e3dca (patch)
treed4736deaab5fe16c2e430447c97b2ee5b3db6568 /pkgs/fiche/default.nix
parent3c408c981aa73c856b983035fab6e82ac143cc04 (diff)
downloadNix-ea3b46ee264fc1c01d62a7f3ee538b14cb6e3dca.tar.gz
Nix-ea3b46ee264fc1c01d62a7f3ee538b14cb6e3dca.tar.zst
Nix-ea3b46ee264fc1c01d62a7f3ee538b14cb6e3dca.zip
Add fiche module (a program to submit paste from command line)
Diffstat (limited to 'pkgs/fiche/default.nix')
-rw-r--r--pkgs/fiche/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/fiche/default.nix b/pkgs/fiche/default.nix
new file mode 100644
index 0000000..cc67fb0
--- /dev/null
+++ b/pkgs/fiche/default.nix
@@ -0,0 +1,7 @@
1{ stdenv, mylibs }:
2stdenv.mkDerivation (mylibs.fetchedGithub ./fiche.json // rec {
3 installPhase = ''
4 mkdir -p $out/bin
5 install -m 0755 fiche $out/bin/
6 '';
7})