Merge pull request #142017 from dalpd/fix-svgcairo-2

haskellPackages.svgcairo: Update header name exposed by librsvg

authored by

Dennis Gosnell and committed by
GitHub
e3b2d60b 5a1f5fea

+24 -7
+6
maintainers/maintainer-list.nix
··· 2437 githubId = 4331004; 2438 name = "Naoya Hatta"; 2439 }; 2440 DamienCassou = { 2441 email = "damien@cassou.me"; 2442 github = "DamienCassou";
··· 2437 githubId = 4331004; 2438 name = "Naoya Hatta"; 2439 }; 2440 + dalpd = { 2441 + email = "denizalpd@ogr.iu.edu.tr"; 2442 + github = "dalpd"; 2443 + githubId = 16895361; 2444 + name = "Deniz Alp Durmaz"; 2445 + }; 2446 DamienCassou = { 2447 email = "damien@cassou.me"; 2448 github = "DamienCassou";
+15 -4
pkgs/development/haskell-modules/configuration-common.nix
··· 1272 gi-cairo-render = doJailbreak super.gi-cairo-render; 1273 gi-cairo-connector = doJailbreak super.gi-cairo-connector; 1274 1275 - # Remove when https://github.com/gtk2hs/svgcairo/pull/10 gets merged. 1276 - svgcairo = appendPatch super.svgcairo (pkgs.fetchpatch { 1277 - url = "https://github.com/gtk2hs/svgcairo/commit/df6c6172b52ecbd32007529d86ba9913ba001306.patch"; 1278 - sha256 = "128qrns56y139vfzg1rbyqfi2xn8gxsmpnxv3zqf4v5spsnprxwh"; 1279 }); 1280 1281 # Missing -Iinclude parameter to doc-tests (pull has been accepted, so should be resolved when 0.5.3 released)
··· 1272 gi-cairo-render = doJailbreak super.gi-cairo-render; 1273 gi-cairo-connector = doJailbreak super.gi-cairo-connector; 1274 1275 + svgcairo = overrideCabal super.svgcairo (drv: { 1276 + patches = [ 1277 + # Remove when https://github.com/gtk2hs/svgcairo/pull/10 gets merged. 1278 + (pkgs.fetchpatch { 1279 + url = "https://github.com/gtk2hs/svgcairo/commit/df6c6172b52ecbd32007529d86ba9913ba001306.patch"; 1280 + sha256 = "128qrns56y139vfzg1rbyqfi2xn8gxsmpnxv3zqf4v5spsnprxwh"; 1281 + }) 1282 + # The update here breaks svgcairo: 1283 + # https://github.com/NixOS/nixpkgs/commit/08fcd73d9dc9a28aa901210b259d9bfb3c228018 1284 + # and updating the call to the header with the correct name fixes it. 1285 + (pkgs.fetchpatch { 1286 + url = "https://github.com/dalpd/svgcairo/commit/4dc6d8d3a6c24be0b8c1fd73b282ff247e7b1e6f.patch"; 1287 + sha256 = "1pq9ld9z67zsxj8vqjf82qwckcp69lvvnrjb7wsyb5jc6jaj3q0a"; 1288 + }) 1289 + ]; 1290 }); 1291 1292 # Missing -Iinclude parameter to doc-tests (pull has been accepted, so should be resolved when 0.5.3 released)
-1
pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
··· 4716 - SVD2HS 4717 - svfactor 4718 - svg-builder-fork 4719 - - svgcairo 4720 - svgutils 4721 - svm-light-utils 4722 - svm-simple
··· 4716 - SVD2HS 4717 - svfactor 4718 - svg-builder-fork 4719 - svgutils 4720 - svm-light-utils 4721 - svm-simple
+2
pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml
··· 149 - pretty-simple 150 - spago 151 - termonad 152 domenkozar: 153 - cachix 154 - cachix-api
··· 149 - pretty-simple 150 - spago 151 - termonad 152 + dalpd: 153 + - svgcairo 154 domenkozar: 155 - cachix 156 - cachix-api
+1 -2
pkgs/development/haskell-modules/hackage-packages.nix
··· 258925 libraryPkgconfigDepends = [ librsvg ]; 258926 description = "Binding to the libsvg-cairo library"; 258927 license = lib.licenses.bsd3; 258928 - hydraPlatforms = lib.platforms.none; 258929 - broken = true; 258930 }) {inherit (pkgs) librsvg;}; 258931 258932 "svgone" = callPackage
··· 258925 libraryPkgconfigDepends = [ librsvg ]; 258926 description = "Binding to the libsvg-cairo library"; 258927 license = lib.licenses.bsd3; 258928 + maintainers = with lib.maintainers; [ dalpd ]; 258929 }) {inherit (pkgs) librsvg;}; 258930 258931 "svgone" = callPackage