Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 28 lines 678 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "libffcall-${version}"; 5 version = "2.1"; 6 7 src = fetchurl { 8 url = "mirror://gnu/libffcall/libffcall-${version}.tar.gz"; 9 sha256 = "0iwcad6w78jp84vd6xaz5fwqm84n3cb42bdf5m5cj5xzpa5zp4d0"; 10 }; 11 12 enableParallelBuilding = false; 13 14 outputs = [ "dev" "out" "doc" "man" ]; 15 16 postInstall = '' 17 mkdir -p $doc/share/doc/libffcall 18 mv $out/share/html $doc/share/doc/libffcall 19 rm -rf $out/share 20 ''; 21 22 meta = with stdenv.lib; { 23 description = "Foreign function call library"; 24 homepage = https://www.gnu.org/software/libffcall/; 25 license = licenses.gpl2Plus; 26 platforms = platforms.unix; 27 }; 28}