Skip to content

Instantly share code, notes, and snippets.

View drupol's full-sized avatar

Pol Dellaiera drupol

View GitHub Profile
@drupol
drupol / package.nix
Created November 26, 2025 20:12
pkgs/by-name/me/meshtasticd/package.nix
{
stdenv,
fetchFromGitHub,
platformio,
writableTmpDirAsHomeHook,
}:
let
platform-native = fetchFromGitHub {
owner = "meshtastic";
repo = "platform-native";
@drupol
drupol / swh.svg
Created April 2, 2025 07:24
swh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@drupol
drupol / flake.nix
Last active March 27, 2025 09:00
flake.nix for Node
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs@{ ... }:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin" ];
@drupol
drupol / postgres.nix
Created April 2, 2024 12:24
postgres.nix
{ lib
, dockerTools
, writeText
, writeShellScriptBin
, postgresql
, bash
, coreutils
, nss_wrapper
}:
@drupol
drupol / flake.nix
Created March 22, 2024 10:36
flake.nix
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
};
outputs = inputs @ { self, flake-parts, ... }: flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
perSystem = { config, self', inputs', pkgs, system, lib, ... }: let
@drupol
drupol / guix.scm
Created March 18, 2024 12:42
guix.scm
(use-modules (guix)
(guix build-system gnu))
(define-public datetime
(package
(name "datetime")
(version "1.0")
(source (local-file "./src" #:recursive? #t))
(build-system gnu-build-system)
(arguments
@drupol
drupol / CITATION.cff
Created March 12, 2024 08:07
CITATION.cff
# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!
cff-version: 1.2.0
title: Reproducible Builds
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
<?php
declare(strict_types=1);
namespace loophp\ComposerStripNondeterminism\Service;
use FilesystemIterator;
use loophp\ComposerStripNondeterminism\Iterator\SortedIterator;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
@drupol
drupol / flake.nix
Created November 21, 2023 09:14
flake.nix
{
description = "PHP development shell";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
systems.url = "github:nix-systems/default";
nixpkgs_php7429.url = "github:NixOS/nixpkgs/1d8b8365a02efbf668311dc9db06cb98d49e7302";
};
outputs = inputs @ { self, flake-parts, ... }: flake-parts.lib.mkFlake { inherit inputs; } {
@drupol
drupol / flake.nix
Last active November 21, 2023 09:18
flake.nix
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.php7429.url = "github:NixOS/nixpkgs/1d8b8365a02efbf668311dc9db06cb98d49e7302";
outputs = { self, nixpkgs, php7429 }:
let
pkgs = import nixpkgs { system = "x86_64-linux"; };
nixpkgs_php7429 = import php7429 { system = "x86_64-linux"; };
in
{