{"id":18464757,"url":"https://github.com/norfairking/haskell-dependency-graph-nix","last_synced_at":"2025-04-08T08:31:20.551Z","repository":{"id":67627863,"uuid":"575369177","full_name":"NorfairKing/haskell-dependency-graph-nix","owner":"NorfairKing","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-08T07:02:55.000Z","size":7,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T09:22:00.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NorfairKing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-07T11:05:04.000Z","updated_at":"2024-05-16T19:09:53.000Z","dependencies_parsed_at":"2024-11-06T09:11:06.646Z","dependency_job_id":"3b100cda-2a03-416b-bd92-b31013c163b0","html_url":"https://github.com/NorfairKing/haskell-dependency-graph-nix","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Fhaskell-dependency-graph-nix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Fhaskell-dependency-graph-nix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Fhaskell-dependency-graph-nix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NorfairKing%2Fhaskell-dependency-graph-nix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NorfairKing","download_url":"https://codeload.github.com/NorfairKing/haskell-dependency-graph-nix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247804435,"owners_count":20998980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-06T09:10:58.858Z","updated_at":"2025-04-08T08:31:20.241Z","avatar_url":"https://github.com/NorfairKing.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Haskell Dependency Graph Nix\n\nProduce a dependency graph of Haskell Packages from Nix\n\n## Quick Start\n\nAdd this repository as a flake:\n\n``` nix\n{\n  inputs = {\n    haskell-dependency-graph-nix.url = \"github:NorfairKing/haskell-dependency-graph-nix\";\n  };\n}\n```\n\nProduce a dependency graph:\n``` nix\n{\n  outputs = { self, haskell-dependency-graph-nix }: {\n    checks.x86-64_linux.dependency-graph = haskell-dependency-graph-nix.lib.x86-64_linux.makeDependencyGraph {\n      packages = [\n        \"foobar\"\n        \"foobar-gen\"\n      ];\n    };\n  };\n}\n```\n\n## API Reference\n\n### `makeDependencyDot`\n\nMake a Graphviz .dot file with a graph representing the interdependencies of given packages.\n\n```\nmakeDependencyDot {\n  name = \"foobar-graph\";\n  packages = [\n    \"foobar\"\n    \"foobar-gen\"\n  ];\n};\n```\n\nSee `./nix/makeDependencyDot`.\n\n### `makeDependencyGraph`\n\nMake a rendered dependency graph using Graphviz.\n\nExample:\n\n```\nmakeDependencyGraph {\n  name = \"foobar-graph\";\n  packages = [\n    \"foobar\"\n    \"foobar-gen\"\n  ];\n};\n```\n\nSee `./nix/makeDependencyGraph`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorfairking%2Fhaskell-dependency-graph-nix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnorfairking%2Fhaskell-dependency-graph-nix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnorfairking%2Fhaskell-dependency-graph-nix/lists"}