You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
324 B
19 lines
324 B
3 years ago
|
with import <nixpkgs> {};
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
name = "timelapse";
|
||
|
src = ./.;
|
||
|
|
||
|
buildInputs = with pkgs; [ ruby gphoto2 ];
|
||
|
|
||
|
installPhase = ''
|
||
|
mkdir -p $out/bin
|
||
|
cp timelapse.rb $out/bin/timelapse
|
||
|
'';
|
||
|
|
||
|
meta = with lib; {
|
||
|
description = "A small tool to capture timelapse series with gphoto";
|
||
|
};
|
||
|
}
|
||
|
|