mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 03:03:37 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
45 lines
1.2 KiB
Nix
45 lines
1.2 KiB
Nix
{ lib, stdenv, fetchFromGitHub, lv2, pkg-config, libGLU, libGL, cairo, pango, libjack2 }:
|
|
|
|
let
|
|
name = "sisco.lv2-${version}";
|
|
version = "0.7.0";
|
|
|
|
robtkVersion = "80a2585253a861c81f0bfb7e4579c75f5c73af89";
|
|
robtkName = "robtk-${robtkVersion}";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "x42";
|
|
repo = "sisco.lv2";
|
|
rev = "v${version}";
|
|
sha256 = "1r6g29yqbdqgkh01x6d3nvmvc58rk2dp94fd0qyyizq37a1qplj1";
|
|
};
|
|
|
|
robtkSrc = fetchFromGitHub {
|
|
owner = "x42";
|
|
repo = "robtk";
|
|
rev = robtkVersion;
|
|
sha256 = "0gk16nrvnrffqqw0yd015kja9wkgbzvb648bl1pagriabhznhfxl";
|
|
};
|
|
in
|
|
stdenv.mkDerivation rec {
|
|
inherit name;
|
|
|
|
srcs = [ src robtkSrc ];
|
|
sourceRoot = src.name;
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ lv2 pango cairo libjack2 libGLU libGL ];
|
|
|
|
postUnpack = "chmod u+w -R ${robtkName}-src; mv ${robtkName}-src/* ${sourceRoot}/robtk";
|
|
sisco_VERSION = version;
|
|
preConfigure = "makeFlagsArray=(PREFIX=$out)";
|
|
|
|
meta = with lib; {
|
|
description = "Simple audio oscilloscope with variable time scale, triggering, cursors and numeric readout in LV2 plugin format";
|
|
homepage = "http://x42.github.io/sisco.lv2/";
|
|
license = licenses.gpl2;
|
|
maintainers = [ maintainers.e-user ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|