mirror of
https://github.com/thilobillerbeck/dotfiles.git
synced 2024-11-15 05:18:48 +01:00
28 lines
698 B
Nix
28 lines
698 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; [ ];
|
|
};
|
|
}
|