depot/third_party/nixpkgs/pkgs/development/nim-packages/preserves/default.nix
Default email 83405b6dd2 Project import generated by Copybara.
GitOrigin-RevId: ac718d02867a84b42522a0ece52d841188208f2c
2023-03-15 17:39:30 +01:00

20 lines
584 B
Nix

{ lib, stdenv, buildNimPackage, fetchFromGitea, npeg }:
buildNimPackage rec {
pname = "preserves";
version = "20221102";
src = fetchFromGitea {
domain = "git.syndicate-lang.org";
owner = "ehmry";
repo = "${pname}-nim";
rev = version;
hash = "sha256-oRsq1ugtrOvTn23596BXRy71TQZ4h/Vv6JGqBTZdoKY=";
};
propagatedBuildInputs = [ npeg ];
doCheck = !stdenv.isDarwin;
meta = src.meta // {
description = "Nim implementation of the Preserves data language";
license = lib.licenses.unlicense;
maintainers = with lib.maintainers; [ ehmry ];
};
}