nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 38 lines 781 B view raw
1{ 2 stdenv, 3 lib, 4 fetchFromGitHub, 5 libsoundio, 6 lame, 7}: 8 9stdenv.mkDerivation { 10 pname = "castty"; 11 version = "0-unstable-2020-11-10"; 12 13 src = fetchFromGitHub { 14 owner = "dhobsd"; 15 repo = "castty"; 16 rev = "333a2bafd96d56cd0bb91577ae5ba0f7d81b3d99"; 17 sha256 = "0p84ivwsp8ds4drn0hx2ax04gp0xyq6blj1iqfsmrs4slrajdmqs"; 18 }; 19 20 buildInputs = [ 21 libsoundio 22 lame 23 ]; 24 25 makeFlags = [ 26 "CC=${stdenv.cc.targetPrefix}cc" 27 "PREFIX=$(out)" 28 ]; 29 30 meta = with lib; { 31 description = "CLI tool to record audio-enabled screencasts of your terminal, for the web"; 32 homepage = "https://github.com/dhobsd/castty"; 33 license = licenses.bsd3; 34 maintainers = with maintainers; [ iblech ]; 35 platforms = platforms.unix; 36 mainProgram = "castty"; 37 }; 38}