nixpkgs/pkgs/by-name/in/ingen/package.nix
aleksana 571c71e6f7 treewide: migrate packages to pkgs/by-name, take 1
We are migrating packages that meet below requirements:

1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration

The tool is here: https://github.com/Aleksanaa/by-name-migrate.
2024-11-09 20:04:51 +08:00

76 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitLab,
portaudio,
boost,
ganv,
gtkmm2,
libjack2,
lilv,
pkg-config,
python3,
raul,
sord,
sratom,
suil,
meson,
ninja,
}:
stdenv.mkDerivation {
pname = "ingen";
version = "0-unstable-2024-07-13";
src = fetchFromGitLab {
owner = "drobilla";
repo = "ingen";
rev = "bbdab98ed282291b6e29a944359c360c9cca127e";
hash = "sha256-BllWeVmEkHQaZD9Ba7H0JMRlxVROJ8pkIiC2VXYiweA=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
python3
python3.pkgs.wrapPython
];
buildInputs = [
boost
ganv
gtkmm2
libjack2
lilv
portaudio
raul
sord
sratom
suil
];
strictDeps = true;
# lv2specgen.py is not packaged in lv2 but required to build docs
mesonFlags = [ "-Ddocs=disabled" ];
pythonPath = [
python3
python3.pkgs.rdflib
];
postInstall = ''
wrapPythonProgramsIn "$out/bin" "$out $pythonPath"
wrapProgram "$out/bin/ingen" --set INGEN_UI_PATH "$out/share/ingen/ingen_gui.ui"
'';
meta = {
description = "Modular audio processing system using JACK and LV2 or LADSPA plugins";
homepage = "http://drobilla.net/software/ingen";
license = lib.licenses.agpl3Plus;
maintainers = with lib.maintainers; [ t4ccer ];
platforms = lib.platforms.linux;
};
}