diff --git a/lib/maintainers.nix b/lib/maintainers.nix index c2643d67348d..59675697978f 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -563,6 +563,7 @@ vlstill = "Vladimír Štill "; vmandela = "Venkateswara Rao Mandela "; vmchale = "Vanessa McHale "; + valeriangalliat = "Valérian Galliat "; volhovm = "Mikhail Volkhov "; volth = "Jaroslavas Pocepko "; vozz = "Oliver Hunt "; diff --git a/pkgs/applications/graphics/timelapse-deflicker/default.nix b/pkgs/applications/graphics/timelapse-deflicker/default.nix new file mode 100644 index 000000000000..b4ddb1436856 --- /dev/null +++ b/pkgs/applications/graphics/timelapse-deflicker/default.nix @@ -0,0 +1,32 @@ +{ stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }: + +stdenv.mkDerivation rec { + name = "timelapse-deflicker-${version}"; + version = "0.1.0"; + + src = fetchFromGitHub { + owner = "cyberang3l"; + repo = "timelapse-deflicker"; + rev = "v${version}"; + sha256 = "0bbfnrdycrpyz7rqrql5ib9qszny7z5xpqp65c1mxqd2876gv960"; + }; + + installPhase = '' + install -m755 -D timelapse-deflicker.pl $out/bin/timelapse-deflicker + wrapProgram $out/bin/timelapse-deflicker --set PERL5LIB $PERL5LIB + ''; + + buildInputs = with perlPackages; [ + makeWrapper perl + PerlMagick TermProgressBar ImageExifTool + FileType ClassMethodMaker + ]; + + meta = with stdenv.lib; { + description = "Simple script to deflicker images taken for timelapses"; + homepage = https://github.com/cyberang3l/timelapse-deflicker; + license = licenses.gpl3; + maintainers = with maintainers; [ valeriangalliat ]; + platforms = platforms.unix; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index f4f8c6649a84..e0354c939844 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4266,6 +4266,8 @@ with pkgs; timemachine = callPackage ../applications/audio/timemachine { }; + timelapse-deflicker = callPackage ../applications/graphics/timelapse-deflicker { }; + timetrap = callPackage ../applications/office/timetrap { }; tinc = callPackage ../tools/networking/tinc { }; diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 95a0f67573ec..4874d5d01a2d 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -5535,6 +5535,19 @@ let self = _self // overrides; _self = with self; { FileTemp = null; + FileType = buildPerlPackage { + name = "File-Type-0.22"; + src = fetchurl { + url = mirror://cpan/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz; + sha256 = "0hfkaafp6wb0nw19x47wc6wc9mwlw8s2rxiii3ylvzapxxgxjp6k"; + }; + meta = { + description = "File::Type uses magic numbers (typically at the start of a file) to determine the MIME type of that file."; + license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ]; + platforms = with stdenv.lib.platforms; linux ++ darwin; + }; + }; + FileSlurp = buildPerlPackage { name = "File-Slurp-9999.19"; # WARNING: check on next update if deprecation warning is gone