Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 24 lines 655 B view raw
1{ lib, stdenv, fetchurl, libtool }: 2 3stdenv.mkDerivation rec { 4 pname = "libxmi"; 5 version = "1.2"; 6 7 src = fetchurl { 8 url = "mirror://gnu/libxmi/${pname}-${version}.tar.gz"; 9 sha256 = "03d4ikh29l38rl1wavb0icw7m5pp7yilnv7bb2k8qij1dinsymlx"; 10 }; 11 12 CFLAGS = "-std=gnu89"; 13 14 # For the x86_64 GNU/Linux arch to be recognized by 'configure' 15 preConfigure = "cp ${libtool}/share/libtool/build-aux/config.sub ."; 16 17 meta = { 18 description = "Library for rasterizing 2-D vector graphics"; 19 homepage = "https://www.gnu.org/software/libxmi/"; 20 license = lib.licenses.gpl2Plus; 21 platforms = lib.platforms.unix; 22 maintainers = [ ]; 23 }; 24}