new package: minorg added

This commit is contained in:
Barna Máté 2025-02-01 19:40:53 +01:00
parent 15916d79ef
commit a48f6543ca
4 changed files with 30 additions and 2 deletions

View file

@ -31,6 +31,10 @@
logseq-publish-spa = import ./packages/logseq-spa.nix {
inherit pkgs lib stdenv;
};
minorg = import ./packages/minorg.nix {
inherit pkgs lib;
};
};
templates = {
elixir-devshell = {

View file

@ -14,8 +14,8 @@ stdenv.mkDerivation (finalAttrs: {
rev = "353b3654d00d6a5df2bb7b8bfef93766cdaad01c";
hash = "sha256-rbK6lXb7ZyWPdsSze2to0h9g+XCGqyEyLlCAMqayzOQ=";
};
nativeBuildInputs = [
yarn
nativeBuildInputs = with pkgs; [
nodejs
makeWrapper
pkg-config

23
packages/minorg.nix Normal file
View file

@ -0,0 +1,23 @@
{
lib,
pkgs,
}:
pkgs.buildNimPackage (finalAttrs: {
pname = "minorg";
version = "v2.4.6";
src = pkgs.fetchFromGitHub {
owner = "pysan3";
repo = "minorg";
rev = "2d57a9c10997691decf17d2aba6d1f631f686511";
hash = "sha256-hEVDttCJt05S2LH2oOs0X0xSASFTu6nIWhpPjNP/qyo=";
};
#lockFile = ./nimble.lock;
nimbleFile = "./nimble.lock";
nimFlags = [
"-d:NimblePkgVersion=${finalAttrs.version}"
];
})

View file

@ -29,6 +29,7 @@
devShell = pkgs.mkShell {
buildInputs = [
elixir
elixir-ls
];
};
}