Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
2.2 kB · 76 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677{ lib, stdenv, fetchurl, removeReferencesTo, gitUpdater,}:
stdenv.mkDerivation (finalAttrs: { pname = "pkgconf"; version = "2.4.3";
src = fetchurl { url = "https://distfiles.dereferenced.org/pkgconf/pkgconf-${finalAttrs.version}.tar.xz"; hash = "sha256-USA9me1XP6c0S/B8pibxDHzAlOCEasSqACO9DIPCWkE="; };
outputs = [ "out" "lib" "dev" "man" "doc" ];
nativeBuildInputs = [ removeReferencesTo ];
enableParallelBuilding = true;
# Debian has outputs like these too # (https://packages.debian.org/source/bullseye/pkgconf), so it is safe to # remove those references postFixup = '' remove-references-to \ -t "${placeholder "out"}" \ "${placeholder "lib"}"/lib/* remove-references-to \ -t "${placeholder "dev"}" \ "${placeholder "lib"}"/lib/* \ "${placeholder "out"}"/bin/* '' # Move back share/aclocal. Yes, this normally goes in the dev output for good # reason, but in this case the dev output is for the `libpkgconf` library, # while the aclocal stuff is for the tool. The tool is already for use during # development, so there is no reason to have separate "dev-bin" and "dev-lib" # outputs or something. + '' mv ${placeholder "dev"}/share ${placeholder "out"} '';
passthru.updateScript = gitUpdater { url = "https://gitea.treehouse.systems/ariadne/pkgconf"; rev-prefix = "pkgconf-"; };
meta = { homepage = "https://gitea.treehouse.systems/ariadne/pkgconf"; description = "Package compiler and linker metadata toolkit"; longDescription = '' pkgconf is a program which helps to configure compiler and linker flags for development libraries. It is similar to pkg-config from freedesktop.org.
libpkgconf is a library which provides access to most of pkgconf's functionality, to allow other tooling such as compilers and IDEs to discover and use libraries configured by pkgconf. ''; changelog = "https://gitea.treehouse.systems/ariadne/pkgconf/src/tag/pkgconf-${finalAttrs.version}/NEWS"; license = lib.licenses.isc; mainProgram = "pkgconf"; maintainers = with lib.maintainers; [ zaninime ]; platforms = lib.platforms.all; };})