12 substituteInPlace python/magic.py --replace "find_library('magic')" "'${pkgs.file}/lib/libmagic${stdenv.hostPlatform.extensions.sharedLibrary}'"
15 buildInputs = [ pkgs.file ];
17 preConfigure = "cd python";
23 description = "A Python wrapper around libmagic";
24 homepage = "http://www.darwinsys.com/file/";
25 license = licenses.lgpl2;