uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
40
pkgs/development/python-modules/fusepy/default.nix
Normal file
40
pkgs/development/python-modules/fusepy/default.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pkgs
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fusepy";
|
||||
version = "3.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "1gg69qfi9pjcic3g98l8ya64rw2vc1bp8gsf76my6gglq8z7izvj";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ pkgs.fuse ];
|
||||
|
||||
# No tests included
|
||||
doCheck = false;
|
||||
|
||||
# On macOS, users are expected to install macFUSE. This means fusepy should
|
||||
# be able to find libfuse in /usr/local/lib.
|
||||
patchPhase = lib.optionalString (!stdenv.isDarwin) ''
|
||||
substituteInPlace fuse.py --replace \
|
||||
"find_library('fuse')" "'${pkgs.fuse}/lib/libfuse.so'"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Simple ctypes bindings for FUSE";
|
||||
longDescription = ''
|
||||
Python module that provides a simple interface to FUSE and MacFUSE.
|
||||
It's just one file and is implemented using ctypes.
|
||||
'';
|
||||
homepage = "https://github.com/terencehonles/fusepy";
|
||||
license = licenses.isc;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue