base45: migrate from nimPackages

This commit is contained in:
Emery Hemingway 2023-10-31 16:34:08 +00:00
parent 3d5455ac3b
commit 53c5ce37bd
2 changed files with 6 additions and 8 deletions

View File

@ -1,18 +1,18 @@
{ lib, buildNimPackage, fetchFromSourcehut }:
buildNimPackage rec {
buildNimPackage (finalAttrs: {
pname = "base45";
version = "20230124";
src = fetchFromSourcehut {
owner = "~ehmry";
repo = pname;
rev = version;
repo = finalAttrs.pname;
rev = finalAttrs.version;
hash = "sha256-9he+14yYVGt2s1IuRLPRsv23xnJzERkWRvIHr3PxFYk=";
};
meta = src.meta // {
meta = finalAttrs.src.meta // {
description = "Base45 library for Nim";
license = lib.licenses.unlicense;
mainProgram = pname;
mainProgram = finalAttrs.pname;
maintainers = with lib.maintainers; [ ehmry ];
};
}
})

View File

@ -18,8 +18,6 @@ lib.makeScope newScope (self:
atlas = callPackage ../development/nim-packages/atlas { };
base45 = callPackage ../development/nim-packages/base45 { };
bumpy = callPackage ../development/nim-packages/bumpy { };
chroma = callPackage ../development/nim-packages/chroma { };