1 { lib, stdenv, fetchFromGitHub, perl, perlPackages }:
3 perlPackages.buildPerlPackage {
7 src = fetchFromGitHub {
10 rev = "b89b59ecd057dfc939d0c75acaddebb58fcd8cba";
11 sha256 = "1grlis1kycbcjvjgqvn7aw81q1qx49ahvxg2k7cgyr79mvgpgi9m";
14 buildInputs = with perlPackages; [ perl TestOutput DBDSQLite DBI TestPod TestPodCoverage SpreadsheetParseExcel ];
16 doCheck = false; # hangs
19 sed -i.bak -e 's;#!/usr/bin/perl;#!${perl}/bin/perl;g' \
20 ./bin/ninka-excel ./bin/ninka ./bin/ninka-sqlite \
21 ./scripts/unify.pl ./scripts/parseLicense.pl \
22 ./scripts/license_matcher_modified.pl \
23 ./scripts/sort_package_license_list.pl
28 description = "A sentence based license detector";
29 mainProgram = "ninka";
30 homepage = "http://ninka.turingmachine.org/";
31 license = licenses.gpl2;
32 maintainers = [ maintainers.vrthra ];
33 platforms = platforms.all;