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
|
|
@ -0,0 +1,45 @@
|
|||
{ stdenv, lib, fetchFromGitHub, python3Packages, gettext, gdk-pixbuf
|
||||
, gobject-introspection, gtk3, wrapGAppsHook }:
|
||||
|
||||
with lib;
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "nicotine-plus";
|
||||
version = "3.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nicotine-Plus";
|
||||
repo = "nicotine-plus";
|
||||
rev = version;
|
||||
hash = "sha256-3NXlNd3Zy++efnvcnfIOUP83mdJ5h8BmE4a2uWn5CPQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ gettext wrapGAppsHook ];
|
||||
|
||||
propagatedBuildInputs = [ gtk3 gdk-pixbuf gobject-introspection ]
|
||||
++ (with python3Packages; [ pygobject3 ]);
|
||||
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/nicotine $out/bin/nicotine-plus
|
||||
test -e $out/share/applications/org.nicotine_plus.Nicotine.desktop && exit 1
|
||||
install -D data/org.nicotine_plus.Nicotine.desktop -t $out/share/applications
|
||||
'';
|
||||
|
||||
preFixup = ''
|
||||
gappsWrapperArgs+=(
|
||||
--prefix XDG_DATA_DIRS : "${gtk3}/share/gsettings-schemas/${gtk3.name}"
|
||||
)
|
||||
'';
|
||||
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
broken = stdenv.isDarwin;
|
||||
description = "A graphical client for the SoulSeek peer-to-peer system";
|
||||
homepage = "https://www.nicotine-plus.org";
|
||||
license = licenses.gpl3Plus;
|
||||
maintainers = with maintainers; [ ehmry klntsky ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue