Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 45 lines 1.3 kB view raw
1{ stdenv, fetchurl, m4, perl, help2man 2}: 3 4stdenv.mkDerivation rec { 5 pname = "libtool"; 6 version = "2.4.6"; 7 8 src = fetchurl { 9 url = "mirror://gnu/libtool/${pname}-${version}.tar.gz"; 10 sha256 = "1qq61k6lp1fp75xs398yzi6wvbx232l7xbyn3p13cnh27mflvgg3"; 11 }; 12 13 outputs = [ "out" "lib" ]; 14 15 nativeBuildInputs = [ perl help2man m4 ]; 16 propagatedBuildInputs = [ m4 ]; 17 18 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the 19 # "fixed" path in generated files! 20 dontPatchShebangs = true; 21 22 # XXX: The GNU ld wrapper does all sorts of nasty things wrt. RPATH, which 23 # leads to the failure of a number of tests. 24 doCheck = false; 25 doInstallCheck = false; 26 27 enableParallelBuilding = true; 28 29 meta = with stdenv.lib; { 30 description = "GNU Libtool, a generic library support script"; 31 longDescription = '' 32 GNU libtool is a generic library support script. Libtool hides 33 the complexity of using shared libraries behind a consistent, 34 portable interface. 35 36 To use libtool, add the new generic library building commands to 37 your Makefile, Makefile.in, or Makefile.am. See the 38 documentation for details. 39 ''; 40 homepage = "https://www.gnu.org/software/libtool/"; 41 license = licenses.gpl2Plus; 42 maintainers = [ ]; 43 platforms = platforms.unix; 44 }; 45}