Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 41 lines 1.2 kB view raw
1{stdenv, fetchurl, m4, perl}: 2 3# Note: this package is used for bootstrapping fetchurl, and thus 4# cannot use fetchpatch! All mutable patches (generated by GitHub or 5# cgit) that are needed here should be included directly in Nixpkgs as 6# files. 7 8stdenv.mkDerivation rec { 9 name = "libtool-1.5.26"; 10 11 src = fetchurl { 12 url = "mirror://gnu/libtool/${name}.tar.gz"; 13 sha256 = "029ggq5kri1gjn6nfqmgw4w920gyfzscjjxbsxxidal5zqsawd8w"; 14 }; 15 16 nativeBuildInputs = [m4]; 17 buildInputs = [perl]; 18 19 # Don't fixup "#! /bin/sh" in Libtool, otherwise it will use the 20 # "fixed" path in generated files! 21 dontPatchShebangs = true; 22 23 meta = { 24 description = "Generic library support script"; 25 26 longDescription = '' 27 GNU libtool is a generic library support script. Libtool hides 28 the complexity of using shared libraries behind a consistent, 29 portable interface. 30 31 To use libtool, add the new generic library building commands to 32 your Makefile, Makefile.in, or Makefile.am. See the 33 documentation for details. 34 ''; 35 36 homepage = "https://www.gnu.org/software/libtool/"; 37 38 license = stdenv.lib.licenses.gpl2Plus; 39 platforms = stdenv.lib.platforms.unix; 40 }; 41}