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
67
pkgs/desktops/xfce/applications/catfish/default.nix
Normal file
67
pkgs/desktops/xfce/applications/catfish/default.nix
Normal file
|
|
@ -0,0 +1,67 @@
|
|||
{ lib, fetchurl, file, which, intltool, gobject-introspection,
|
||||
findutils, xdg-utils, dconf, gtk3, python3Packages, xfconf,
|
||||
wrapGAppsHook
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "catfish";
|
||||
version = "4.16.3";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://archive.xfce.org/src/apps/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
|
||||
sha256 = "sha256-6amaYtEJgTkVCN1D88v6LVCmm9a30e7vfTC6TGc9z9o=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
python3Packages.distutils_extra
|
||||
file
|
||||
which
|
||||
intltool
|
||||
gobject-introspection # for setup hook populating GI_TYPELIB_PATH
|
||||
wrapGAppsHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
dconf
|
||||
python3Packages.pyxdg
|
||||
python3Packages.ptyprocess
|
||||
python3Packages.pycairo
|
||||
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
python3Packages.dbus-python
|
||||
python3Packages.pygobject3
|
||||
python3Packages.pexpect
|
||||
xdg-utils
|
||||
findutils
|
||||
xfconf
|
||||
];
|
||||
|
||||
# Explicitly set the prefix dir in "setup.py" because setuptools is
|
||||
# not using "$out" as the prefix when installing catfish data. In
|
||||
# particular the variable "__catfish_data_directory__" in
|
||||
# "catfishconfig.py" is being set to a subdirectory in the python
|
||||
# path in the store.
|
||||
postPatch = ''
|
||||
sed -i "/^ if self.root/i\\ self.prefix = \"$out\"" setup.py
|
||||
'';
|
||||
|
||||
# Disable check because there is no test in the source distribution
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://docs.xfce.org/apps/catfish/start";
|
||||
description = "Handy file search tool";
|
||||
longDescription = ''
|
||||
Catfish is a handy file searching tool. The interface is
|
||||
intentionally lightweight and simple, using only GTK 3.
|
||||
You can configure it to your needs by using several command line
|
||||
options.
|
||||
'';
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
maintainers = with maintainers; [ ] ++ teams.xfce.members;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue