summary refs log tree commit diff
path: root/pkgs/servers/fiche
diff options
context:
space:
mode:
authorPablo Ovelleiro Corral <mail@pablo.tools>2020-10-23 17:54:16 +0200
committerPablo Ovelleiro Corral <mail@pablo.tools>2020-10-23 17:54:16 +0200
commit07d22cf075818674ba6b38e46e5d5c5ce83e4bcd (patch)
treed2cfdc824ee6a219a4c81b6f4ac13131f8dc383e /pkgs/servers/fiche
parente3ac67d42ebc651a6043a9ed3bf136bb3f71f049 (diff)
fiche: init at version 0.9.1
Diffstat (limited to 'pkgs/servers/fiche')
-rw-r--r--pkgs/servers/fiche/default.nix38
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/servers/fiche/default.nix b/pkgs/servers/fiche/default.nix
new file mode 100644
index 0000000000000..5f300b6c6ebca
--- /dev/null
+++ b/pkgs/servers/fiche/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+  pname = "fiche";
+  version = "0.9.1";
+
+  src = fetchFromGitHub {
+    owner = "solusipse";
+    repo = "fiche";
+    rev = version;
+    sha256 = "1102r39xw17kip7mjp987jy8na333gw9vxv31f7v8q05cr7d7kfb";
+  };
+
+  installPhase = ''
+    mkdir -p $out/bin
+    install -m 0755 fiche $out/bin
+  '';
+
+  doCheck = true;
+
+  meta = with stdenv.lib; {
+    description = "Command line pastebin for sharing terminal output";
+    longDescription = ''
+      Fiche is a command line pastebin server for sharing terminal output.
+      It can be used without any graphical tools from a TTY and has minimal requirements.
+      A live instance can be found at https://termbin.com.
+
+      Example usage:
+      echo just testing! | nc termbin.com 9999
+    '';
+
+    homepage = "https://github.com/solusipse/fiche";
+    changelog = "https://github.com/solusipse/fiche/releases/tag/${version}";
+    license = licenses.mit;
+    maintainers = [ maintainers.pinpox ];
+    platforms = platforms.all;
+  };
+}