ess/default.nix

22 lines
552 B
Nix
Raw Normal View History

2025-04-08 14:45:30 +00:00
{
pkgs ? (
let
inherit (builtins) fetchTree fromJSON readFile;
2025-04-08 14:45:30 +00:00
inherit ((fromJSON (readFile ./flake.lock)).nodes) nixpkgs;
in
2025-04-08 14:45:30 +00:00
import (fetchTree nixpkgs.locked) {}
),
buildGoModule ? pkgs.buildGoModule,
}:
2025-04-08 14:45:30 +00:00
buildGoModule {
pname = "ess";
version = "2.16.1";
pwd = ./.;
src = ./.;
2025-04-08 14:45:30 +00:00
vendorHash = "sha256-ooTP3mS7AEzwJm1JKebL0V2lqVge3WnpFZcbr1f/LIg=";
meta = {
description = "ess (env-sample-sync): automatically and safely synchronize env.sample files with .env";
license = pkgs.lib.licenses.bsd2;
};
}