Unverified Commit 1ccdb33c authored by Dennis Gosnell's avatar Dennis Gosnell Committed by GitHub
Browse files

Merge pull request #245459 from pacien/drop_ldgallery

ldgallery: drop package
parents 9ae5c2de f747a635
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3061,7 +3061,6 @@ broken-packages:
  - l-bfgs-b
  - LC3
  - lcs
  - ldgallery-compiler
  - ldif
  - ld-intervals
  - leaf
+0 −2
Original line number Diff line number Diff line
@@ -327,8 +327,6 @@ package-maintainers:
    - tasty-expected-failure
    - lhs2tex
    - rec-def
  pacien:
    - ldgallery-compiler
  peti:
    - cabal2spec
    - funcmp
+0 −2
Original line number Diff line number Diff line
@@ -9,8 +9,6 @@ self: super: {

  dconf2nix = self.callPackage ../tools/haskell/dconf2nix/dconf2nix.nix { };

  ldgallery-compiler = self.callPackage ../../tools/graphics/ldgallery/compiler { };

  # Used by maintainers/scripts/regenerate-hackage-packages.sh, and generated
  # from the latest master instead of the current version on Hackage.
  cabal2nix-unstable = self.callPackage ./cabal2nix-unstable.nix { };
+0 −42
Original line number Diff line number Diff line
# generated with cabal2nix by ./generate.sh
{ mkDerivation, aeson, base, cmdargs, containers, data-ordlist
, directory, fetchgit, filepath, Glob, hpack, lib, parallel-io
, process, safe, text, time, yaml
}:
mkDerivation {
  pname = "ldgallery-compiler";
  version = "2.1";
  src = fetchgit {
    url = "https://github.com/pacien/ldgallery.git";
    sha256 = "184zysh5qwkbki8mn0br87h65yi5j39qwnmhz05z3ir9wfiniq4b";
    rev = "11bbbae2850b9c45da697a8ed9626495a50a38c0";
    fetchSubmodules = true;
  };
  postUnpack = "sourceRoot+=/compiler; echo source root reset to $sourceRoot";
  isLibrary = true;
  isExecutable = true;
  enableSeparateDataOutput = true;
  libraryHaskellDepends = [
    aeson base cmdargs containers data-ordlist directory filepath Glob
    parallel-io process safe text time yaml
  ];
  libraryToolDepends = [ hpack ];
  executableHaskellDepends = [
    aeson base cmdargs containers data-ordlist directory filepath Glob
    parallel-io process safe text time yaml
  ];
  testHaskellDepends = [
    aeson base cmdargs containers data-ordlist directory filepath Glob
    parallel-io process safe text time yaml
  ];
  prePatch = "hpack";
  homepage = "https://ldgallery.pacien.org";
  description = "A static generator which turns a collection of tagged pictures into a searchable web gallery";
  license = lib.licenses.agpl3Only;
  mainProgram = "ldgallery";
  maintainers = [ lib.maintainers.pacien ];

  # Does not compile with ghc-9.2
  hydraPlatforms = lib.platforms.none;
  broken = true;
}
+0 −19
Original line number Diff line number Diff line
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p cabal2nix

set -euo pipefail

if [ "$#" -ne 1 ] || [[ "$1" == -* ]]; then
  echo "Regenerates the nix file for the ldgallery-compiler package."
  echo "Usage: $0 <git release tag>"
  exit 1
fi

echo "# generated with cabal2nix by ./generate.sh" > default.nix

cabal2nix \
  --maintainer pacien \
  --subpath compiler \
  --revision $1 \
  "https://github.com/pacien/ldgallery.git" \
  >> default.nix
Loading