libco-canonical: etc

remove the package as, canonical deleted it. It's not used anymore.
master
wucke13 2021-05-15 19:15:22 +02:00
parent 6de508be51
commit b0c4f223e5
3 changed files with 1 additions and 41 deletions

View File

@ -1,39 +0,0 @@
{ lib, stdenv, fetchFromGitHub, pkg-config }:
with lib;
stdenv.mkDerivation rec {
pname = "libco-canonical";
version = "20";
src = fetchFromGitHub {
owner = "canonical";
repo = "libco";
rev = "v${version}";
sha256 = "0r5b1r0sxngx349s5a3zkkvfw5by9y492kr34b25gjspzvjchlxq";
};
nativeBuildInputs = [ pkg-config ];
makeFlags = [ "PREFIX=${placeholder "out"}" ];
outputs = [ "dev" "out" ];
patchPhase = ''
# upstream project assumes all build products will go into single directory
# `$prefix` but we need `includedir` to point to "dev", not "out"
#
# pkgs/build-support/setup-hooks/multiple-outputs.sh would normally patch
# this automatically, but it fails here due to use of absolute paths
substituteInPlace Makefile \
--replace "@includedir@|\$(PREFIX)" "@includedir@|${placeholder "dev"}"
'';
meta = {
description = "A cooperative multithreading library written in C89";
homepage = "https://github.com/canonical/libco";
license = licenses.isc;
maintainers = with maintainers; [ wucke13 ];
};
}

View File

@ -374,6 +374,7 @@ mapAliases ({
libindicate-gtk3 = throw "libindacate-gtk2 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
libindicate-gtk2 = throw "libindacate-gtk3 has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
libcap_progs = libcap.out; # added 2016-04-29
libco-canonical = throw "libco-canonical: Canonical deleted the repo, libco-canonical is not used anymore."; # added 2021-05-16
libdbusmenu_qt5 = libsForQt5.libdbusmenu; # added 2015-12-19
libdbusmenu-glib = libdbusmenu; # added 2018-05-01
liberation_ttf_v1_from_source = liberation_ttf_v1; # added 2018-12-12

View File

@ -15588,8 +15588,6 @@ in
libclxclient = callPackage ../development/libraries/libclxclient { };
libco-canonical = callPackage ../development/libraries/libco-canonical { };
libconfuse = callPackage ../development/libraries/libconfuse { };
libcangjie = callPackage ../development/libraries/libcangjie { };