summary refs log tree commit diff
path: root/pkgs/tools/misc/castty
diff options
context:
space:
mode:
authorIngo Blechschmidt <iblech@web.de>2021-04-26 11:43:42 +0200
committerGitHub <noreply@github.com>2021-04-26 11:43:42 +0200
commit1586cbd915e652a6a204c11ec55dc7678fd3a322 (patch)
treed2e182aee07202579bb3215ce4421982fd91c7ac /pkgs/tools/misc/castty
parent927f070592c7cfbd9c0507e90fb9049f039b454a (diff)
downloadnixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.tar
nixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.tar.gz
nixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.tar.bz2
nixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.tar.lz
nixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.tar.xz
nixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.tar.zst
nixpkgs-1586cbd915e652a6a204c11ec55dc7678fd3a322.zip
castty: init at 2020-11-10 (#120478)
Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Diffstat (limited to 'pkgs/tools/misc/castty')
-rw-r--r--pkgs/tools/misc/castty/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/tools/misc/castty/default.nix b/pkgs/tools/misc/castty/default.nix
new file mode 100644
index 00000000000..ddda737c8b5
--- /dev/null
+++ b/pkgs/tools/misc/castty/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, lib, fetchFromGitHub, libsoundio, lame }:
+
+stdenv.mkDerivation {
+  pname = "castty";
+  version = "unstable-2020-11-10";
+
+  src = fetchFromGitHub {
+    owner = "dhobsd";
+    repo = "castty";
+    rev = "333a2bafd96d56cd0bb91577ae5ba0f7d81b3d99";
+    sha256 = "0p84ivwsp8ds4drn0hx2ax04gp0xyq6blj1iqfsmrs4slrajdmqs";
+  };
+
+  buildInputs = [ libsoundio lame ];
+
+  makeFlags = [ "PREFIX=$(out)" ];
+
+  meta = with lib; {
+    description = "CLI tool to record audio-enabled screencasts of your terminal, for the web";
+    homepage = "https://github.com/dhobsd/castty";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ iblech ];
+    platforms = platforms.unix;
+  };
+}