dotfiles/home-manager/pkgs/docker-craft-cms-dev-env.nix

30 lines
703 B
Nix
Raw Normal View History

2024-05-28 14:38:22 +02:00
{
lib,
stdenv,
fetchFromGitHub,
}:
2023-05-12 23:26:23 +02:00
stdenv.mkDerivation rec {
pname = "docker-craft-cms-dev-env";
version = "unstable-2023-04-14";
src = fetchFromGitHub {
owner = "codemonauts";
repo = "docker-craft-cms-dev-env";
rev = "5053d61654bc720fd61e011642e925a99d81baa0";
hash = "sha256-VNL/cyECDx0FSn2xMHMQDbJ3d0y7SEKPZ2EzotQy/PA=";
};
postInstall = ''
mkdir -p $out/bin
cp -r $src/bin/craft $out/bin/craft
'';
meta = with lib; {
2024-05-28 14:38:22 +02:00
description = "Docker image for local development of sites based on Craft CMS";
2023-05-12 23:26:23 +02:00
homepage = "https://github.com/codemonauts/docker-craft-cms-dev-env";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}