mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-03-08 01:24:09 +01:00
tg-timer: Use strictDeps, structuredAttrs, wrapGApps (#486971)
This commit is contained in:
commit
4a65905b70
1 changed files with 12 additions and 7 deletions
|
|
@ -6,6 +6,7 @@
|
|||
autoreconfHook,
|
||||
# Build binaries
|
||||
pkg-config,
|
||||
wrapGAppsHook3,
|
||||
# Build libraries
|
||||
gtk3,
|
||||
portaudio,
|
||||
|
|
@ -30,9 +31,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
./audio.patch
|
||||
];
|
||||
|
||||
strictDeps = true;
|
||||
__structuredAttrs = true;
|
||||
|
||||
nativeBuildInputs = [
|
||||
wrapGAppsHook3
|
||||
autoreconfHook
|
||||
pkg-config
|
||||
(python3.pythonOnBuildForHost.withPackages (p: [
|
||||
p.numpy
|
||||
p.matplotlib
|
||||
p.libtfr
|
||||
p.scipy
|
||||
]))
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
|
@ -40,12 +51,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
portaudio
|
||||
fftwFloat
|
||||
libjack2
|
||||
(python3.withPackages (p: [
|
||||
p.numpy
|
||||
p.matplotlib
|
||||
p.libtfr
|
||||
p.scipy
|
||||
]))
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
|
@ -68,7 +73,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
homepage = "https://github.com/xyzzy42/tg";
|
||||
changelog = "https://github.com/xyzzy42/tg/releases/tag/v${finalAttrs.version}-tpiepho";
|
||||
license = lib.licenses.gpl2Plus;
|
||||
mainProgram = "tg";
|
||||
mainProgram = "tg-timer";
|
||||
maintainers = with lib.maintainers; [ RossSmyth ];
|
||||
};
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue