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
92
pkgs/applications/audio/cozy/default.nix
Normal file
92
pkgs/applications/audio/cozy/default.nix
Normal file
|
|
@ -0,0 +1,92 @@
|
|||
{ lib, fetchFromGitHub
|
||||
, ninja
|
||||
, meson
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, appstream-glib
|
||||
, desktop-file-utils
|
||||
, gtk3
|
||||
, gst_all_1
|
||||
, gobject-introspection
|
||||
, libhandy
|
||||
, libdazzle
|
||||
, python3Packages
|
||||
, cairo
|
||||
, gettext
|
||||
, gnome
|
||||
, pantheon
|
||||
}:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
|
||||
format = "other"; # no setup.py
|
||||
|
||||
pname = "cozy";
|
||||
version = "1.2.0";
|
||||
|
||||
# Temporary fix
|
||||
# See https://github.com/NixOS/nixpkgs/issues/57029
|
||||
# and https://github.com/NixOS/nixpkgs/issues/56943
|
||||
strictDeps = false;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "geigi";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "0igqf9b77i13sxlk4ziw549h379hmz1slrb3vvf8irk94gxabsaw";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
meson ninja pkg-config
|
||||
wrapGAppsHook
|
||||
appstream-glib
|
||||
desktop-file-utils
|
||||
gobject-introspection
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gtk3
|
||||
cairo
|
||||
gettext
|
||||
gnome.adwaita-icon-theme
|
||||
libdazzle
|
||||
libhandy
|
||||
pantheon.granite
|
||||
] ++ (with gst_all_1; [
|
||||
gstreamer
|
||||
gst-plugins-good
|
||||
gst-plugins-ugly
|
||||
gst-plugins-base
|
||||
gst-plugins-bad
|
||||
]);
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
apsw
|
||||
cairo
|
||||
dbus-python
|
||||
distro
|
||||
gst-python
|
||||
magic
|
||||
mutagen
|
||||
packaging
|
||||
peewee
|
||||
pygobject3
|
||||
pytz
|
||||
requests
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs meson/*.py
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
ln -s $out/bin/com.github.geigi.cozy $out/bin/cozy
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "A modern audio book player for Linux using GTK 3";
|
||||
homepage = "https://cozy.geigi.de/";
|
||||
maintainers = [ maintainers.makefu ];
|
||||
license = licenses.gpl3;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue