2019-11-14 12:20:35 +00:00
|
|
|
{ stdenv, fetchurl, python3, perl, intltool, flex, texinfo, libiconv, libintl }:
|
2010-10-20 13:05:49 +00:00
|
|
|
|
2019-10-22 08:03:49 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "recode";
|
2020-07-31 08:08:11 +00:00
|
|
|
version = "3.7.7";
|
2010-10-20 13:05:49 +00:00
|
|
|
|
2019-10-22 08:03:49 +00:00
|
|
|
# Use official tarball, avoid need to bootstrap/generate build system
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/rrthomas/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
|
2020-07-31 08:08:11 +00:00
|
|
|
sha256 = "1yrqgw74qrdmy82lxd1cxlfclrf2fqi0qp7afjmfc6b7f0xzcih9";
|
2010-10-20 13:05:49 +00:00
|
|
|
};
|
|
|
|
|
2019-11-14 12:20:35 +00:00
|
|
|
nativeBuildInputs = [ python3 python3.pkgs.cython perl intltool flex texinfo libiconv ];
|
2018-03-26 04:36:14 +00:00
|
|
|
buildInputs = [ libintl ];
|
2013-03-06 09:07:54 +00:00
|
|
|
|
2019-10-22 08:03:49 +00:00
|
|
|
doCheck = true;
|
2013-03-06 09:07:54 +00:00
|
|
|
|
2010-10-20 13:05:49 +00:00
|
|
|
meta = {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/rrthomas/recode";
|
2010-10-20 13:05:49 +00:00
|
|
|
description = "Converts files between various character sets and usages";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-03-05 22:30:46 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
2010-10-20 13:05:49 +00:00
|
|
|
};
|
|
|
|
}
|