14 stdenv.mkDerivation rec {
18 src = fetchFromGitHub {
19 owner = "PerryWerneck";
22 hash = "sha256-Z3FvxPa1pfeECxfB5ZL6gwhkbTKFpfO3D/zLVLF+uiI=";
39 # lib3270_build_data_filename is relative to lib3270's share - not ours.
40 for f in $(find . -type f -iname "*.c"); do
41 sed -i -e "s@lib3270_build_data_filename(@g_build_filename(\"$out/share/pw3270\", @" "$f"
47 touch scripts/config.rpath
48 NOCONFIGURE=1 sh ./autogen.sh
51 enableParallelBuilding = true;
54 description = "3270 Virtual Terminal for GTK";
55 homepage = "https://github.com/PerryWerneck/libv3270";
56 changelog = "https://github.com/PerryWerneck/libv3270/blob/master/CHANGELOG";
57 license = licenses.lgpl3Plus;
58 maintainers = [ maintainers.vifino ];