2019-10-22 10:03:49 +02:00
|
|
|
{ stdenv, fetchurl, python, perl, intltool, flex, texinfo, libiconv, libintl }:
|
2010-10-20 15:05:49 +02:00
|
|
|
|
2019-10-22 10:03:49 +02:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "recode";
|
|
|
|
version = "3.7.4";
|
2010-10-20 15:05:49 +02:00
|
|
|
|
2019-10-22 10:03:49 +02: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";
|
|
|
|
sha256 = "0j9rjkgx4r8nah90d2vbi92k33gfmgaqlj72z1ni0vsiccpcgfc8";
|
2010-10-20 15:05:49 +02:00
|
|
|
};
|
|
|
|
|
2019-10-22 10:03:49 +02:00
|
|
|
nativeBuildInputs = [ python python.pkgs.cython perl intltool flex texinfo libiconv ];
|
2018-03-26 06:36:14 +02:00
|
|
|
buildInputs = [ libintl ];
|
2013-03-06 10:07:54 +01:00
|
|
|
|
2019-10-22 10:03:49 +02:00
|
|
|
doCheck = true;
|
2013-03-06 10:07:54 +01:00
|
|
|
|
2010-10-20 15:05:49 +02:00
|
|
|
meta = {
|
2019-10-22 10:03:49 +02:00
|
|
|
homepage = https://github.com/rrthomas/recode;
|
2010-10-20 15:05:49 +02:00
|
|
|
description = "Converts files between various character sets and usages";
|
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2013-03-05 23:30:46 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ jcumming ];
|
2010-10-20 15:05:49 +02:00
|
|
|
};
|
|
|
|
}
|