mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
f5fa5fa4d6
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
37 lines
1.0 KiB
Nix
37 lines
1.0 KiB
Nix
{ stdenv, fetchFromGitHub, perl, perlPackages, buildPerlPackage }:
|
|
|
|
assert stdenv ? glibc;
|
|
|
|
buildPerlPackage rec {
|
|
name = "ninka-${version}";
|
|
version = "2.0-pre";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "dmgerman";
|
|
repo = "ninka";
|
|
rev = "b89b59ecd057dfc939d0c75acaddebb58fcd8cba";
|
|
sha256 = "1grlis1kycbcjvjgqvn7aw81q1qx49ahvxg2k7cgyr79mvgpgi9m";
|
|
};
|
|
|
|
buildInputs = with perlPackages; [ perl TestOutput DBDSQLite DBI TestPod TestPodCoverage SpreadsheetParseExcel ];
|
|
|
|
doCheck = false; # hangs
|
|
|
|
preConfigure = ''
|
|
sed -i.bak -e 's;#!/usr/bin/perl;#!${perl}/bin/perl;g' \
|
|
./bin/ninka-excel ./bin/ninka ./bin/ninka-sqlite \
|
|
./scripts/unify.pl ./scripts/parseLicense.pl \
|
|
./scripts/license_matcher_modified.pl \
|
|
./scripts/sort_package_license_list.pl
|
|
perl Makefile.PL
|
|
'';
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A sentence based license detector";
|
|
homepage = http://ninka.turingmachine.org/;
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.vrthra ];
|
|
platforms = platforms.all;
|
|
};
|
|
}
|