3
0
Fork 0
forked from mirrors/nixpkgs

haskell.packages: remove obsolete source overrides

Both taffybar and ap-normalize where bumped to a version newer than the
last hackage pin which we have caught up with now, so we can clean up
those.
This commit is contained in:
sternenseemann 2021-06-03 00:53:44 +02:00
parent 7d89be36a8
commit 0b93c12bd4

View file

@ -1967,30 +1967,4 @@ EOT
testTarget = "libarchive-test --test-options='-j1'";
};
# 2021-05-23: Override for a quite recent Hackage release.
taffybar =
if pkgs.lib.versionAtLeast super.taffybar.version "3.2.5"
then throw "Drop src override for taffybar >= 3.2.5"
else overrideCabal super.taffybar (drv: {
src = pkgs.fetchFromGitHub {
owner = "taffybar";
repo = "taffybar";
rev = "91c83e01e131d560e704b12f0d798905e4289a3d";
sha256 = "1kkpkjdyd1yv8z1qlzr3jrzyk9lxac5m4f9py8igyars2nwnhhzr";
};
version = "3.2.5";
editedCabalFile = null;
});
# 2021-05-25: Fixes darwin build: https://gitlab.com/lysxia/ap-normalize/-/issues/1
ap-normalize =
assert pkgs.lib.versionOlder super.ap-normalize.version "0.1.0.1";
overrideSrc super.ap-normalize rec {
version = "0.1.0.1";
src = pkgs.fetchurl {
url = "https://hackage.haskell.org/package/ap-normalize-${version}/ap-normalize-${version}.tar.gz";
sha256 = "1212zxc4qn6msk0w13yhrza2qjs79h78misllb4chng75jqi61l2";
};
};
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super