mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
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
28 lines
1.0 KiB
Nix
28 lines
1.0 KiB
Nix
{ lib, stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkg-config }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "artyFX";
|
|
# Fix build with lv2 1.18: https://github.com/openAVproductions/openAV-ArtyFX/pull/41/commits/492587461b50d140455aa3c98d915eb8673bebf0
|
|
version = "unstable-2020-04-28";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "openAVproductions";
|
|
repo = "openAV-ArtyFX";
|
|
rev = "492587461b50d140455aa3c98d915eb8673bebf0";
|
|
sha256 = "0wwg8ivnpyy0235bapjy4g0ij85zq355jwi6c1nkrac79p4z9ail";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ cairomm libjack2 libpthreadstubs libXdmcp libxshmfence libsndfile lv2 ntk ];
|
|
|
|
meta = with lib; {
|
|
homepage = "http://openavproductions.com/artyfx/";
|
|
description = "A LV2 plugin bundle of artistic realtime effects";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.magnetophon ];
|
|
platforms = platforms.linux;
|
|
# Build uses `-msse` and `-mfpmath=sse`
|
|
badPlatforms = [ "aarch64-linux" ];
|
|
};
|
|
}
|