commit
d4bfb57f40
@ -0,0 +1,76 @@ |
||||
{ |
||||
stdenv |
||||
, fetchFromGitHub |
||||
, fetchpatch |
||||
, fetchurl |
||||
, fetchzip |
||||
, freetype |
||||
, jansson |
||||
, lib |
||||
, libGL |
||||
, libX11 |
||||
, libXcursor |
||||
, libXext |
||||
, libXrandr |
||||
, libarchive |
||||
, liblo |
||||
, libsamplerate |
||||
, mesa |
||||
, pkg-config |
||||
, python3 |
||||
, speexdsp |
||||
}: |
||||
|
||||
stdenv.mkDerivation rec { |
||||
name = "cardinal-${version}"; |
||||
version = "22.02"; |
||||
|
||||
src = fetchurl { |
||||
url = |
||||
"https://github.com/DISTRHO/Cardinal/releases/download/${version}/cardinal-${version}.tar.xz"; |
||||
sha256 = "sha256-IVlAROFGFffTEU00NCmv74w1DRb7dNMp20FeBVoDrdM="; |
||||
}; |
||||
|
||||
patches = [ |
||||
# see https://github.com/DISTRHO/Cardinal/issues/151#issuecomment-1041886260 |
||||
(fetchpatch { |
||||
url = |
||||
"https://github.com/DISTRHO/Cardinal/commit/13e9ef37c5dd35d77a54b1cb006767be7a72ac69.patch"; |
||||
sha256 = "sha256-NYUYLbLeBX1WEzjPi0s/T1N+EXQKyi0ifbPxgBYDjRs="; |
||||
}) |
||||
]; |
||||
|
||||
prePatch = '' |
||||
patchShebangs ./dpf/utils/generate-ttl.sh |
||||
''; |
||||
|
||||
enableParallelBuilding = true; |
||||
|
||||
nativeBuildInputs = [ pkg-config ]; |
||||
buildInputs = [ |
||||
freetype |
||||
jansson |
||||
libGL |
||||
libX11 |
||||
libXcursor |
||||
libXext |
||||
libXrandr |
||||
libXrandr |
||||
libarchive |
||||
liblo |
||||
libsamplerate |
||||
mesa |
||||
python3 |
||||
speexdsp |
||||
]; |
||||
|
||||
makeFlags = [ "SYSDEPS=true" "PREFIX=$(out)" ]; |
||||
|
||||
meta = { |
||||
description = "Plugin wrapper around VCV Rack"; |
||||
homepage = "https://github.com/DISTRHO/cardinal"; |
||||
license = lib.licenses.gpl3; |
||||
maintainers = [ lib.maintainers.magnetophon ]; |
||||
platforms = lib.platforms.all; |
||||
}; |
||||
} |
@ -1,12 +1,12 @@ |
||||
{ buildPackages, fetchurl, perl, buildLinux, nixosTests, stdenv, ... } @ args: |
||||
|
||||
buildLinux (args // rec { |
||||
version = "4.9.303"; |
||||
version = "4.9.304"; |
||||
extraMeta.branch = "4.9"; |
||||
extraMeta.broken = stdenv.isAarch64; |
||||
|
||||
src = fetchurl { |
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz"; |
||||
sha256 = "1r8s28ckmg0av9716350hadn99q738k2slciw8pzxw1xq47hbsa5"; |
||||
sha256 = "099bkypbkb8an8jsl49f83kg6ic1yw9ssfc1qksaji1jparlnpi9"; |
||||
}; |
||||
} // (args.argsOverride or {})) |
||||
|
Loading…
Reference in new issue