Skip to content

Commit 330048e

Browse files
valeriangalliatMic92
authored andcommittedMay 20, 2017
timelapse-deflicker: init at 142acd1 (#25904)
* timelapse-deflicker: init at 142acd1 * timelapse-deflicker: nitpicks * Add myself as a maintainer
1 parent c9f3893 commit 330048e

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed
 

‎lib/maintainers.nix

+1
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@
563563
vlstill = "Vladimír Štill <xstill@fi.muni.cz>";
564564
vmandela = "Venkateswara Rao Mandela <venkat.mandela@gmail.com>";
565565
vmchale = "Vanessa McHale <tmchale@wisc.edu>";
566+
valeriangalliat = "Valérian Galliat <val@codejam.info>";
566567
volhovm = "Mikhail Volkhov <volhovm.cs@gmail.com>";
567568
volth = "Jaroslavas Pocepko <jaroslavas@volth.com>";
568569
vozz = "Oliver Hunt <oliver.huntuk@gmail.com>";
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{ stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }:
2+
3+
stdenv.mkDerivation rec {
4+
name = "timelapse-deflicker-${version}";
5+
version = "0.1.0";
6+
7+
src = fetchFromGitHub {
8+
owner = "cyberang3l";
9+
repo = "timelapse-deflicker";
10+
rev = "v${version}";
11+
sha256 = "0bbfnrdycrpyz7rqrql5ib9qszny7z5xpqp65c1mxqd2876gv960";
12+
};
13+
14+
installPhase = ''
15+
install -m755 -D timelapse-deflicker.pl $out/bin/timelapse-deflicker
16+
wrapProgram $out/bin/timelapse-deflicker --set PERL5LIB $PERL5LIB
17+
'';
18+
19+
buildInputs = with perlPackages; [
20+
makeWrapper perl
21+
PerlMagick TermProgressBar ImageExifTool
22+
FileType ClassMethodMaker
23+
];
24+
25+
meta = with stdenv.lib; {
26+
description = "Simple script to deflicker images taken for timelapses";
27+
homepage = https://github.com/cyberang3l/timelapse-deflicker;
28+
license = licenses.gpl3;
29+
maintainers = with maintainers; [ valeriangalliat ];
30+
platforms = platforms.unix;
31+
};
32+
}

‎pkgs/top-level/all-packages.nix

+2
Original file line numberDiff line numberDiff line change
@@ -4266,6 +4266,8 @@ with pkgs;
42664266

42674267
timemachine = callPackage ../applications/audio/timemachine { };
42684268

4269+
timelapse-deflicker = callPackage ../applications/graphics/timelapse-deflicker { };
4270+
42694271
timetrap = callPackage ../applications/office/timetrap { };
42704272

42714273
tinc = callPackage ../tools/networking/tinc { };

‎pkgs/top-level/perl-packages.nix

+13
Original file line numberDiff line numberDiff line change
@@ -5535,6 +5535,19 @@ let self = _self // overrides; _self = with self; {
55355535

55365536
FileTemp = null;
55375537

5538+
FileType = buildPerlPackage {
5539+
name = "File-Type-0.22";
5540+
src = fetchurl {
5541+
url = mirror://cpan/authors/id/P/PM/PMISON/File-Type-0.22.tar.gz;
5542+
sha256 = "0hfkaafp6wb0nw19x47wc6wc9mwlw8s2rxiii3ylvzapxxgxjp6k";
5543+
};
5544+
meta = {
5545+
description = "File::Type uses magic numbers (typically at the start of a file) to determine the MIME type of that file.";
5546+
license = with stdenv.lib.licenses; [ artistic1 gpl1Plus ];
5547+
platforms = with stdenv.lib.platforms; linux ++ darwin;
5548+
};
5549+
};
5550+
55385551
FileSlurp = buildPerlPackage {
55395552
name = "File-Slurp-9999.19";
55405553
# WARNING: check on next update if deprecation warning is gone

0 commit comments

Comments
 (0)
Please sign in to comment.