mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-12-23 04:13:05 +01:00
29 lines
703 B
Nix
29 lines
703 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
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; {
|
|
description = "Docker image for local development of sites based on Craft CMS";
|
|
homepage = "https://github.com/codemonauts/docker-craft-cms-dev-env";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|