hypersound/flake.nix

29 lines
752 B
Nix
Raw Normal View History

2022-04-02 03:02:52 -07:00
{
description = "tumblr RSS feed fixer";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
let pkgs = nixpkgs.legacyPackages.${system};
in
{
devShell = pkgs.mkShell {
buildInputs = [
pkgs.leiningen
pkgs.jdk11
pkgs.clojure
2022-04-02 06:45:35 -07:00
pkgs.ffmpeg-full
2022-04-02 03:02:52 -07:00
];
shellHook = ''
alias repl='lein repl';
2022-04-02 06:45:35 -07:00
alias record='ffmpeg -video_size 1024x768 -framerate 25 -f x11grab -i :0.0 -f alsa -ac 2 -i hw:0 output.mkv';
alias convert='ffmpeg -i '
2022-04-02 03:02:52 -07:00
'';
};
});
}