Unverified Commit 47766584 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

Merge pull request #206949 from nagy/chicken-ecosystem

chickenPackages_5: overhaul ecosystem
parents d5f50569 ca0335c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
**/deps.nix linguist-generated
**/deps.json linguist-generated
**/deps.toml lingust-generated
**/node-packages.nix linguist-generated

pkgs/applications/editors/emacs-modes/*-generated.nix linguist-generated
+6 −0
Original line number Diff line number Diff line
@@ -8187,6 +8187,12 @@
    github = "konradmalik";
    githubId = 13033392;
  };
  konst-aa = {
    email = "konstantin.astafurov@gmail.com";
    github = "konst-aa";
    githubId = 40547702;
    name = "Konstantin Astafurov";
  };
  koozz = {
    email = "koozz@linux.com";
    github = "koozz";
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ stdenv.mkDerivation rec {
  meta = {
    homepage = "https://call-cc.org/";
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [ corngood ];
    maintainers = with lib.maintainers; [ corngood nagy konst-aa ];
    platforms = lib.platforms.unix;
    description = "A portable compiler for the Scheme programming language";
    longDescription = ''
+23 −4
Original line number Diff line number Diff line
{ lib, newScope } :
{ lib, newScope, fetchurl }:
let
  callPackage = newScope self;

  self = {
  self = with lib; {
    pkgs = self;

    fetchegg = callPackage ./fetchegg { };
    fetchegg = { pname, version, sha256, ... }:
      fetchurl {
        inherit sha256;
        url =
          "https://code.call-cc.org/egg-tarballs/5/${pname}/${pname}-${version}.tar.gz";
      };

    eggDerivation = callPackage ./eggDerivation.nix { };

@@ -13,7 +18,21 @@ let
      bootstrap-chicken = self.chicken.override { bootstrap-chicken = null; };
    };

    chickenEggs = lib.recurseIntoAttrs (callPackage ./eggs.nix { });
    chickenEggs = recurseIntoAttrs (mapAttrs (pname:
      eggData@{ version, synopsis, dependencies, license, ... }:
      self.eggDerivation {
        name = "${pname}-${version}";
        src = self.fetchegg (eggData // { inherit pname; });
        buildInputs = map (x: self.chickenEggs.${x}) dependencies;
        meta.homepage =
          "https://code.call-cc.org/cgi-bin/gitweb.cgi?p=eggs-5-latest.git;a=tree;f=${pname}/${version}";
        meta.description = synopsis;
        meta.license = (licenses // {
          "bsd-2-clause" = licenses.bsd2;
          "bsd-3-clause" = licenses.bsd3;
          "public-domain" = licenses.publicDomain;
        }).${license} or license;
      }) (importTOML ./deps.toml));

    egg2nix = callPackage ./egg2nix.nix { };
  };
+3879 −0

File added.

Preview size limit exceeded, changes collapsed.

Loading