Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 version = "1.0.6"; 5 pname = "libaal"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/reiser4/${pname}-${version}.tar.gz"; 9 sha256 = "176f2sns6iyxv3h9zyirdinjwi05gdak48zqarhib2s38rvm98di"; 10 }; 11 12 patches = [ ./libaal-1.0.6-glibc-2.26.patch ]; 13 14 preInstall = '' 15 substituteInPlace Makefile --replace ./run-ldconfig true 16 ''; 17 18 enableParallelBuilding = true; 19 20 meta = { 21 homepage = "http://www.namesys.com/"; 22 description = "Support library for Reiser4"; 23 license = lib.licenses.gpl2; 24 maintainers = with lib.maintainers; [ ]; 25 platforms = with lib.platforms; linux; 26 }; 27}