mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
packaging: Update lowdown to 2.0.2
Nixpkgs has been updated with this version and seems like next stable nixos release will ship with lowdown 2.0.
This commit is contained in:
parent
da8759bb41
commit
3ffeed497a
1 changed files with 12 additions and 0 deletions
|
|
@ -64,6 +64,18 @@ scope: {
|
||||||
NIX_CFLAGS_COMPILE = "-DINITIAL_MARK_STACK_SIZE=1048576";
|
NIX_CFLAGS_COMPILE = "-DINITIAL_MARK_STACK_SIZE=1048576";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
lowdown = pkgs.lowdown.overrideAttrs (prevAttrs: rec {
|
||||||
|
version = "2.0.2";
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${version}.tar.gz";
|
||||||
|
hash = "sha512-cfzhuF4EnGmLJf5EGSIbWqJItY3npbRSALm+GarZ7SMU7Hr1xw0gtBFMpOdi5PBar4TgtvbnG4oRPh+COINGlA==";
|
||||||
|
};
|
||||||
|
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ pkgs.bmake ];
|
||||||
|
postInstall =
|
||||||
|
lib.replaceStrings [ "lowdown.so.1" "lowdown.1.dylib" ] [ "lowdown.so.2" "lowdown.2.dylib" ]
|
||||||
|
prevAttrs.postInstall;
|
||||||
|
});
|
||||||
|
|
||||||
# TODO Hack until https://github.com/NixOS/nixpkgs/issues/45462 is fixed.
|
# TODO Hack until https://github.com/NixOS/nixpkgs/issues/45462 is fixed.
|
||||||
boost =
|
boost =
|
||||||
(pkgs.boost.override {
|
(pkgs.boost.override {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue