-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
71 changed files
with
1,646 additions
and
582 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1341,6 +1341,12 @@ | |
githubId = 84152630; | ||
name = "Ashley Chiara"; | ||
}; | ||
ashleyghooper = { | ||
email = "[email protected]"; | ||
github = "ashleyghooper"; | ||
githubId = 11037075; | ||
name = "Ashley Hooper"; | ||
}; | ||
aske = { | ||
email = "[email protected]"; | ||
github = "aske"; | ||
|
@@ -1469,6 +1475,12 @@ | |
githubId = 574938; | ||
name = "Jonathan Glines"; | ||
}; | ||
austin-artificial = { | ||
email = "[email protected]"; | ||
github = "austin-artificial"; | ||
githubId = 126663376; | ||
name = "Austin Platt"; | ||
}; | ||
austinbutler = { | ||
email = "[email protected]"; | ||
github = "austinbutler"; | ||
|
@@ -4059,6 +4071,15 @@ | |
githubId = 108501; | ||
name = "David Pflug"; | ||
}; | ||
dr460nf1r3 = { | ||
email = "[email protected]"; | ||
github = "dr460nf1r3"; | ||
githubId = 12834713; | ||
name = "Nico Jensch"; | ||
keys = [{ | ||
fingerprint = "D245 D484 F357 8CB1 7FD6 DA6B 67DB 29BF F3C9 6757"; | ||
}]; | ||
}; | ||
dramaturg = { | ||
email = "[email protected]"; | ||
github = "dramaturg"; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,82 +1,73 @@ | ||
{ lib | ||
, python3 | ||
, stdenv | ||
, fetchFromGitHub | ||
, substituteAll | ||
, appstream-glib | ||
, dbus | ||
, desktop-file-utils | ||
, gettext | ||
, glib | ||
, glib-networking | ||
, gobject-introspection | ||
, gst_all_1 | ||
, gtk4 | ||
, libadwaita | ||
, librsvg | ||
, libpulseaudio | ||
, libsoup_3 | ||
, meson | ||
, ninja | ||
, pkg-config | ||
, pulseaudio | ||
, rustPlatform | ||
, wrapGAppsHook4 | ||
}: | ||
|
||
python3.pkgs.buildPythonApplication rec { | ||
stdenv.mkDerivation rec { | ||
pname = "mousai"; | ||
version = "0.6.6"; | ||
|
||
format = "other"; | ||
version = "0.7.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "SeaDve"; | ||
repo = "Mousai"; | ||
rev = "v${version}"; | ||
sha256 = "sha256-nCbFVFg+nVF8BOBfdzQVgdTRXR5UF18PJFC266yTFwg="; | ||
hash = "sha256-dL+ZBv97T0sN7mPoOKsp5f6Dl9aarBYm2RRUfOclb+s="; | ||
}; | ||
|
||
patches = [ | ||
(substituteAll { | ||
src = ./paths.patch; | ||
pactl = "${lib.getBin pulseaudio}/bin/pactl"; | ||
}) | ||
]; | ||
|
||
postPatch = '' | ||
substituteInPlace build-aux/meson/postinstall.py \ | ||
--replace gtk-update-icon-cache gtk4-update-icon-cache | ||
patchShebangs build-aux/meson | ||
''; | ||
cargoDeps = rustPlatform.fetchCargoTarball { | ||
inherit src; | ||
name = "${pname}-${version}"; | ||
hash = "sha256-qAtMpYVZwyay1KGYlH40T0HambrWh4CaZnwjvqev44g="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
appstream-glib | ||
desktop-file-utils | ||
gettext | ||
glib | ||
gobject-introspection | ||
gtk4 | ||
meson | ||
ninja | ||
pkg-config | ||
wrapGAppsHook4 | ||
]; | ||
] ++ (with rustPlatform; [ | ||
cargoSetupHook | ||
rust.cargo | ||
rust.rustc | ||
]); | ||
|
||
buildInputs = [ | ||
dbus | ||
gst_all_1.gstreamer | ||
gst_all_1.gst-plugins-base | ||
gst_all_1.gst-plugins-good | ||
gst_all_1.gst-plugins-bad | ||
glib | ||
glib-networking | ||
gtk4 | ||
libadwaita | ||
librsvg | ||
pulseaudio | ||
]; | ||
|
||
propagatedBuildInputs = with python3.pkgs; [ | ||
pygobject3 | ||
requests | ||
libpulseaudio | ||
libsoup_3 | ||
]; | ||
|
||
meta = with lib; { | ||
description = "Identify any songs in seconds"; | ||
homepage = "https://github.com/SeaDve/Mousai"; | ||
license = licenses.gpl3Plus; | ||
maintainers = with maintainers; [ dotlambda ]; | ||
platforms = platforms.linux; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.