{"id":35240587,"url":"https://github.com/scalaprops/scalaprops-deriving","last_synced_at":"2026-04-08T13:31:13.256Z","repository":{"id":35084021,"uuid":"204021143","full_name":"scalaprops/scalaprops-deriving","owner":"scalaprops","description":"scalaz-deriving instances for scalaprops. generation of arbitrary case classes / ADTs instances","archived":false,"fork":false,"pushed_at":"2026-04-07T06:21:06.000Z","size":108,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-07T07:25:32.413Z","etag":null,"topics":["compiler-plugin","macros","scalaprops","scalaz","typeclass-derivation"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scalaprops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-08-23T15:06:19.000Z","updated_at":"2026-04-07T06:21:13.000Z","dependencies_parsed_at":"2023-12-05T00:24:58.588Z","dependency_job_id":"c0df39b1-a185-4405-b276-1519e8764465","html_url":"https://github.com/scalaprops/scalaprops-deriving","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/scalaprops/scalaprops-deriving","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalaprops%2Fscalaprops-deriving","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalaprops%2Fscalaprops-deriving/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalaprops%2Fscalaprops-deriving/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalaprops%2Fscalaprops-deriving/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scalaprops","download_url":"https://codeload.github.com/scalaprops/scalaprops-deriving/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalaprops%2Fscalaprops-deriving/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31558380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T10:21:54.569Z","status":"ssl_error","status_checked_at":"2026-04-08T10:21:38.171Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compiler-plugin","macros","scalaprops","scalaz","typeclass-derivation"],"created_at":"2025-12-30T05:00:31.469Z","updated_at":"2026-04-08T13:31:13.248Z","avatar_url":"https://github.com/scalaprops.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# scalaprops-deriving\n\n[![scaladoc](https://javadoc.io/badge2/com.github.scalaprops/scalaprops-deriving_2.13/javadoc.svg)](https://javadoc.io/doc/com.github.scalaprops/scalaprops-deriving_2.13)\n\n[scalaz-deriving](https://github.com/scalaz/scalaz-deriving) instances for [scalaprops](https://github.com/scalaprops/scalaprops)\n\n### build.sbt\n\n```scala\nlibraryDependencies += \"com.github.scalaprops\" %% \"scalaprops-deriving\" % \"0.3.0\"\n```\n\n### macro example\n\n```scala\npackage example\n\nimport scalaprops.{Cogen, Gen}\nimport scalaz.Deriving\nimport scalaprops.ScalapropsDeriving._\n\nsealed trait A extends Any\nobject A {\n  implicit val genInstance: Gen[A] =\n    Deriving.gen[Gen, A]\n  implicit val cogenInstance: Cogen[A] =\n    Deriving.gen[Cogen, A]\n}\n\nfinal case class B(x: Int) extends AnyVal with A\nobject B {\n  implicit val genInstance: Gen[B] =\n    Deriving.gen[Gen, B]\n  implicit val cogenInstance: Cogen[B] =\n    Deriving.gen[Cogen, B]\n}\n\n// support recursive data structure!\nfinal case class C(y: Boolean, z: Option[A]) extends A\nobject C {\n  implicit val genInstance: Gen[C] =\n    Deriving.gen[Gen, C]\n  implicit val cogenInstance: Cogen[C] =\n    Deriving.gen[Cogen, C]\n}\n```\n\n### compiler plugin example\n\n#### build.sbt\n\n```scala\naddCompilerPlugin(\"org.scalaz\" %% \"deriving-plugin\" % \"3.0.0-M6\")\n```\n\n#### source code\n\n```scala\nimport scalaprops.{Cogen, Gen}\nimport scalaz.annotation.deriving\nimport scalaprops.ScalapropsDeriving._\n\n@deriving(Gen, Cogen)\nsealed trait A extends Any\n@deriving(Gen, Cogen)\nfinal case class B(x: Int) extends AnyVal with A\n@deriving(Gen, Cogen)\nfinal case class C(y: Boolean, z: Option[A]) extends A\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalaprops%2Fscalaprops-deriving","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscalaprops%2Fscalaprops-deriving","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalaprops%2Fscalaprops-deriving/lists"}