anchor.diff:      sha256 = "1bqf1f5glwf285sa98k5pkj9gg79lliixk1jk85j63v5510fbagp";
     };
   
  -  outputs = [ "bin" "dev" "out" "man" ];
  +  outputs = [ "bin" "dev" "out" "man" ] ++ lib.optional pythonSupport "py";
   
     patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
       (fetchpatch {
  
positive.code: { stdenv, lib, fetchFromGitHub, fetchpatch, autoreconfHook, bison, flex, pkgconfig }:
  
  stdenv.mkDerivation rec {
    name = "libnl-${version}";
  
negative.code: 
    enableParallelBuilding = true;
  
    nativeBuildInputs = [ autoreconfHook bison flex pkgconfig file ]
      ++ lib.optional pythonSupport swig;
  
    postBuild = lib.optionalString (pythonSupport) ''
        cd python
        ${python}/bin/python setup.py install --prefix=../pythonlib
        cd -
    '';
  
    postFixup = lib.optionalString pythonSupport ''
      mv "pythonlib/" "$py"
    '';
  
    passthru = {
      inherit pythonSupport;
    };
  
    meta = with lib; {
      inherit version;
  