Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
892 B · 45 lines
Nix
12345678910111213141516171819202122232425262728293031323334353637383940414243444546{ stdenv, lib, buildPythonPackage, fetchPypi, pkg-config, setuptools, fuse,}:
buildPythonPackage rec { pname = "fuse-python"; version = "1.0.9"; pyproject = true;
src = fetchPypi { inherit version; pname = "fuse_python"; hash = "sha256-ntWVd8NqshjXAKooOfAh8SwlKzVxhgV1crmOGbwqhYk="; };
postPatch = '' substituteInPlace setup.py \ --replace-fail 'pkg-config' "${stdenv.cc.targetPrefix}pkg-config" '';
nativeBuildInputs = [ pkg-config ];
build-system = [ setuptools ];
buildInputs = [ fuse ];
# no tests implemented doCheck = false;
pythonImportsCheck = [ "fuse" ];
meta = with lib; { broken = stdenv.hostPlatform.isDarwin; description = "Python bindings for FUSE"; homepage = "https://github.com/libfuse/python-fuse"; license = licenses.lgpl21; maintainers = with maintainers; [ psyanticy ]; };}