~artemis/cap

f7e351e74a2bccc39161143bdf0c2c12785ae152 — Artémis 10 months ago fcb702f
made a proper nix shell so now i can easily work on nixos! its my first ever!!!
3 files changed, 7 insertions(+), 21 deletions(-)

A .vscode/settings.json
D default.nix
A shell.nix
A .vscode/settings.json => .vscode/settings.json +3 -0
@@ 0,0 1,3 @@
{
    "nixEnvSelector.nixFile": "${workspaceRoot}/shell.nix"
}
\ No newline at end of file

D default.nix => default.nix +0 -21
@@ 1,21 0,0 @@
{ lib, fetchFromSourcehut, buildGoModule }:
buildGoModule rec {
  pname = "cap";
  version = "0.1.6";

  src = fetchFromSourcehut {
    owner = "~artemis";
    repo = "cap";
    rev = "v${version}";
    sha256 = "sha256-JqIdqe3stODapFYqc6N9N3E/paCL0EW7gKf3smCmns4=";
  };

  vendorHash = "sha256-A2Dzc4HtcCPelx0l/1GR2z3LB0gcVcI0B8NJyN22J7c=";

  meta = with lib; {
    description = "a simple to use website builder that's meant to be easy to use by default";
    homepage = "https://git.sr.ht/~artemis/cap";
    license = licenses.free;
    platforms = platforms.linux ++ platforms.darwin ++ platforms.windows;
  };
}

A shell.nix => shell.nix +4 -0
@@ 0,0 1,4 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
  nativeBuildInputs = with pkgs; [ go python3Full imagemagick ];
}