Closed srghma closed 3 years ago
the only comonad we have right now in nixpkgs is v5, but category-extras needs v4, I could add it myself and change
"category-extras" = callPackage
- ({ mkDerivation, adjunctions, bifunctors, categories, comonad
+ ({ mkDerivation, adjunctions, bifunctors, categories, comonad_4
, comonad-extras, comonad-transformers, comonads-fd, contravariant
, distributive, either, free, groupoids, indexed, indexed-extras
, invariant, kan-extensions, keys, monad-products, pointed
, profunctor-extras, profunctors, recursion-schemes, reducers
, representable-functors, representable-profunctors
, semigroupoid-extras, semigroupoids, semigroups, void
}:
mkDerivation {
pname = "category-extras";
version = "1.0.2";
sha256 = "168psp1qd80838b9945499qh99jidbl2gngcrjqk6hb0qsyhckcq";
libraryHaskellDepends = [
- adjunctions bifunctors categories comonad comonad-extras
+ adjunctions bifunctors categories comonad_4 comonad-extras
comonad-transformers comonads-fd contravariant distributive either
free groupoids indexed indexed-extras invariant kan-extensions keys
monad-products pointed profunctor-extras profunctors
recursion-schemes reducers representable-functors
representable-profunctors semigroupoid-extras semigroupoids
semigroups void
];
doHaddock = false;
description = "A meta-package documenting various packages inspired by category theory";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
but I dont know how to add it to pkgs/development/haskell-modules/hackage-packages.nix
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
since version 1.0 of the packages (uploaded to hackage on 2012-02-01T01:59:32Z) this package exists only to document where the code it once contained had gone:
The obsolete category-extras package provided a monolithic set of modules designed for the use of category theory in Haskell. It was exploded into more focused, self-contained packages (listed in the dependencies below); this meta-package documents where the code has gone.
having it fail to build feels more like a wakeup call to remove/mark broken things that still depend on it almost ten years later?
@pennae Thanks for the explanation!
That sounds reasonable. Recent versions of Nixpkgs have category-extras
in pkgs/development/haskell-modules/configuration-hackage2nix/transitive-broken.yaml
, so I think this is good to be closed.
Issue description
Technical details
P.S.
also reproduced on latest nixpkgs 37c0f1cafa6d6097f0aa7caf9f0c6b94abb18cb1