actiongraph added

This commit is contained in:
Jakub Kropáček 2024-11-16 08:49:18 +01:00
parent a6e4b77bbb
commit f30d04715a
2 changed files with 34 additions and 0 deletions

View file

@ -11,6 +11,8 @@
packages = [
pkgs.sqlc
(pkgs.callPackage ./nix/sql-migrate.nix {})
(pkgs.callPackage ./nix/actiongraph.nix {})
pkgs.sqlite
];
};
};

32
nix/actiongraph.nix Normal file
View file

@ -0,0 +1,32 @@
{ stdenv
, lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "actiongraph";
version = "1.0.0";
src = fetchFromGitHub {
owner = "icio";
repo = "actiongraph";
rev = "3cf5d9b3415761ba1efef5d97b2289f4190e0b8c";
hash = "sha256-EaX8xLDViUsXrkbQ+wM4OdkgL6iVRhZSH4ZT44Cnwj8=";
};
vendorHash = "sha256-C1LdcC/SrtpsDdHN+JlKxeOP33FkA3AVixYX063OFTI=";
ldflags = [
"-s"
"-w"
];
doCheck = true;
meta = with lib; {
homepage = "https://github.com/icio/actiongraph";
description = "Go build actiongraph debug visualiser";
license = licenses.mit;
};
}