diff --git a/pkgs/osm/level0/default.nix b/pkgs/osm/level0/default.nix
index 93022bdb4ee70710692ac9672e0c2496be9e49e6..deb24e354018bda441d6002dc4bad7e2aa09e88c 100644
--- a/pkgs/osm/level0/default.nix
+++ b/pkgs/osm/level0/default.nix
@@ -1,35 +1,25 @@
{
lib,
fetchFromGitHub,
conf ? null,
}:
-stdenvNoCC.mkDerivation rec {
+php.buildComposerProject (finalAttrs: {
pname = "level0";
src = fetchFromGitHub {
owner = "Zverik";
repo = "Level0";
};
--replace-fail "../www" "$out/www" \
--replace-fail "source " "#source "
configFile = lib.optionalString (conf != null) (builtins.toFile "config.php" conf);
meta = {
description = "Web-based OpenStreetMap Editor";
@@ -37,4 +27,4 @@ homepage = "https://github.com/Zverik/Level0";
license = lib.licenses.wtfpl;
maintainers = [ lib.maintainers.sikmir ];
};
-}
+})
diff --git a/pkgs/suckless/imscript/default.nix b/pkgs/suckless/imscript/default.nix
index 31d6891c9eb39d32d980a4f810aa535f4830a643..1276d83ee025225670ea7a3017d4d50730987a2c 100644
--- a/pkgs/suckless/imscript/default.nix
+++ b/pkgs/suckless/imscript/default.nix
@@ -3,6 +3,8 @@ lib,
stdenv,
fetchFromSourcehut,
installShellFiles,
libpng,
libjpeg,
libtiff,
@@ -14,18 +16,20 @@ }:
stdenv.mkDerivation (finalAttrs: {
pname = "imscript";
src = fetchFromSourcehut {
owner = "~coco";
repo = "imscript";
};
nativeBuildInputs = [ installShellFiles ];
buildInputs = [
libpng
libjpeg
libtiff
application/octet-stream
This content has been proxied by September (3851b).