1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-21 17:01:10 +03:00
nixpkgs/pkgs/development/python-modules/fuse-python/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

46 lines
892 B
Nix
Raw Normal View History

{
stdenv,
lib,
buildPythonPackage,
fetchPypi,
pkg-config,
setuptools,
fuse,
}:
buildPythonPackage rec {
pname = "fuse-python";
2025-01-08 12:32:19 +01:00
version = "1.0.9";
pyproject = true;
src = fetchPypi {
2025-01-08 12:32:19 +01:00
inherit version;
pname = "fuse_python";
hash = "sha256-ntWVd8NqshjXAKooOfAh8SwlKzVxhgV1crmOGbwqhYk=";
};
postPatch = ''
substituteInPlace setup.py \
--replace-fail 'pkg-config' "${stdenv.cc.targetPrefix}pkg-config"
'';
nativeBuildInputs = [ pkg-config ];
2020-08-25 12:07:09 +10:00
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 ];
};
}