1 { lib, stdenv, fetchurl, libtool }:
3 stdenv.mkDerivation rec {
8 url = "mirror://gnu/libxmi/${pname}-${version}.tar.gz";
9 sha256 = "03d4ikh29l38rl1wavb0icw7m5pp7yilnv7bb2k8qij1dinsymlx";
12 # For the x86_64 GNU/Linux arch to be recognized by 'configure'
13 preConfigure = "cp ${libtool}/share/libtool/build-aux/config.sub .";
16 description = "Library for rasterizing 2-D vector graphics";
17 homepage = "https://www.gnu.org/software/libxmi/";
18 license = lib.licenses.gpl2Plus;
19 platforms = lib.platforms.unix;