forked from mirrors/nixpkgs
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.
26 lines
887 B
Nix
26 lines
887 B
Nix
{ stdenv, fetchurl, pkg-config, pure, liblo }:
|
||
|
||
stdenv.mkDerivation rec {
|
||
baseName = "liblo";
|
||
version = "0.9";
|
||
name = "pure-${baseName}-${version}";
|
||
|
||
src = fetchurl {
|
||
url = "https://bitbucket.org/purelang/pure-lang/downloads/${name}.tar.gz";
|
||
sha256 = "c2ba4d6f94489acf8a8fac73982ae03d5ad4113146eb1f7d6558a956c57cb8ee";
|
||
};
|
||
|
||
nativeBuildInputs = [ pkg-config ];
|
||
propagatedBuildInputs = [ pure liblo ];
|
||
makeFlags = [ "libdir=$(out)/lib" "prefix=$(out)/" ];
|
||
setupHook = ../generic-setup-hook.sh;
|
||
|
||
meta = {
|
||
description = "A quick and dirty Pure wrapper for the liblo library, which implements Berkeley’s Open Sound Control (OSC) protocol";
|
||
homepage = "http://puredocs.bitbucket.org/pure-liblo.html";
|
||
license = stdenv.lib.licenses.lgpl3Plus;
|
||
platforms = stdenv.lib.platforms.linux;
|
||
maintainers = with stdenv.lib.maintainers; [ asppsa ];
|
||
};
|
||
}
|