2022-01-02 16:48:54 +00:00
|
|
|
{ lib, buildNimPackage, fetchFromGitHub }:
|
2021-09-02 17:03:01 +00:00
|
|
|
|
2023-08-02 13:23:28 +00:00
|
|
|
buildNimPackage (final: prev: {
|
2021-09-02 17:03:01 +00:00
|
|
|
pname = "flatty";
|
2022-07-30 16:45:16 +00:00
|
|
|
version = "0.3.4";
|
2022-01-02 16:48:54 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "treeform";
|
2023-08-02 13:23:28 +00:00
|
|
|
repo = "flatty";
|
|
|
|
rev = final.version;
|
2022-07-30 16:45:16 +00:00
|
|
|
hash = "sha256-ZmhjehmEJHm5qNlsGQvyYLajUdwhWt1+AtRppRrNtgA=";
|
2022-01-02 16:48:54 +00:00
|
|
|
};
|
|
|
|
|
2023-08-02 13:23:28 +00:00
|
|
|
doCheck = false; # tests fail with Nim-2.0.0
|
2022-01-02 16:48:54 +00:00
|
|
|
|
2023-08-02 13:23:28 +00:00
|
|
|
meta = final.src.meta // {
|
|
|
|
description = "Tools and serializer for plain flat binary files";
|
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
maintainers = [ lib.maintainers.ehmry ];
|
|
|
|
};
|
|
|
|
})
|