4a7f99d55d
Part of: https://github.com/NixOS/nixpkgs/issues/108938 meta = with stdenv.lib; is a widely used pattern. We want to slowly remove the `stdenv.lib` indirection and encourage people to use `lib` directly. Thus let’s start with the meta field. This used a rewriting script to mostly automatically replace all occurances of this pattern, and add the `lib` argument to the package header if it doesn’t exist yet. The script in its current form is available at https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
49 lines
887 B
Nix
49 lines
887 B
Nix
{ lib, stdenv
|
|
, fetchgit
|
|
, automake
|
|
, alsaLib
|
|
, ladspaH
|
|
, libjack2
|
|
, fftw
|
|
, zita-alsa-pcmi
|
|
, qt5
|
|
, pkg-config
|
|
, autoreconfHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ams";
|
|
version = "unstable-2019-04-27";
|
|
|
|
src = fetchgit {
|
|
url = "https://git.code.sf.net/p/alsamodular/ams.git";
|
|
sha256 = "0qdyz5llpa94f3qx1xi1mz97vl5jyrj1mqff28p5g9i5rxbbk8z9";
|
|
rev = "3250bbcfea331c4fcb9845305eebded80054973d";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
autoreconfHook
|
|
pkg-config
|
|
qt5.wrapQtAppsHook
|
|
];
|
|
|
|
buildInputs = [
|
|
alsaLib
|
|
ladspaH
|
|
libjack2
|
|
fftw
|
|
zita-alsa-pcmi
|
|
] ++ (with qt5; [
|
|
qtbase
|
|
qttools
|
|
]);
|
|
|
|
meta = with lib; {
|
|
description = "Realtime modular synthesizer for ALSA";
|
|
homepage = "http://alsamodular.sourceforge.net";
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ sjfloat ];
|
|
};
|
|
}
|