This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
systems.url = "github:nix-systems/default"; | |
flake-compat.url = "github:nix-community/flake-compat"; | |
php-active = { | |
url = "https://www.php.net/releases/active"; | |
flake = false; | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
systems.url = "github:nix-systems/default"; | |
pear = { | |
url = "https://pear.php.net/install-pear-nozlib.phar"; | |
flake = false; | |
}; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv | |
, lib | |
, makeBinaryWrapper | |
, fetchFromGitHub | |
, fetchurl | |
, cmake | |
, glew | |
, SDL2 | |
, zlib | |
, minizip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/nixos/nix:2.17.0 | |
variables: | |
COMPOSER_ALLOW_SUPERUSER: 1 | |
default: | |
before_script: | |
- echo experimental-features = nix-command flakes >> /etc/nix/nix.conf | |
- echo access-tokens = github.com=${GITHUB_TOKEN} >> /etc/nix/nix.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "My custom shell env"; | |
inputs = { | |
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
}; | |
outputs = inputs@{ flake-parts, ... }: | |
flake-parts.lib.mkFlake { inherit inputs; } { | |
systems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
description = "PHP App demo"; | |
inputs.nixpkgs.url = "nixpkgs/nixpkgs-unstable"; | |
inputs.flake-utils.url = "github:numtide/flake-utils"; | |
inputs.phps.url = "github:loophp/nix-shell"; | |
outputs = { self, nixpkgs, flake-utils, phps }: flake-utils.lib.eachDefaultSystem | |
(system: | |
let |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenvNoCC, fetchFromGitHub, php, unzip, _7zz }: | |
stdenvNoCC.mkDerivation (finalAttrs: { | |
pname = "drupal"; | |
version = "10.0.9"; | |
nativeBuildInputs = [ | |
unzip | |
_7zz | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ stdenv, lib, fetchFromGitHub, php }: | |
stdenv.mkDerivation (finalAttrs: | |
let | |
src = fetchFromGitHub { | |
owner = "sebastianbergmann"; | |
repo = "phpunit"; | |
rev = finalAttrs.version; | |
hash = "sha256-VcQRSss2dssfkJ+iUb5qT+FJ10GHiFDzySigcmuVI+8="; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "../../slides.typ": * | |
#import "../../themes/university.typ": * | |
#show: slides.with( | |
authors: "Andreas Kröpelin", | |
short-authors: "A. Kröpelin", | |
title: [`typst-slides`: Easily creating slides in Typst ], | |
subtitle: "An overview over all the features", | |
short-title: "Slides template demo", | |
date: "April 2023", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ lib, stdenvNoCC, fetchFromGitHub, php }: | |
let | |
version = "2023.01.21"; | |
src = fetchFromGitHub { | |
owner = "phpactor"; | |
repo = "phpactor"; | |
rev = version; | |
hash = "sha256-jWZgBEaffjQ5wCStSEe+eIi7BJt6XAQFEjmq5wvW5V8="; |