Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added PeakRDL package and it's dependencies #47

Merged
merged 1 commit into from
Oct 2, 2024
Merged

Conversation

HU90m
Copy link
Member

@HU90m HU90m commented Jun 3, 2024

If you want to have a play:

nix run .#peakrdl -- --help

FYI: @jwnrt

@nbdd0121
Copy link
Collaborator

nbdd0121 commented Jun 3, 2024

I don't think we want to add all dependencies to flake packages output. If you want to expose them you can make dependencies of peakrdl be passthru attributes.

pkgs/peakrdl.nix Outdated
inherit description;
homepage = "https://github.com/SystemRDL/${name}";
license = lib.licenses.gpl3;
mainProgram = name;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably isn't correct for non-binary packages.

@HU90m HU90m force-pushed the peakrdl branch 2 times, most recently from 1b2ce5a to e1cf9e8 Compare September 24, 2024 20:29
@HU90m HU90m requested a review from nbdd0121 September 24, 2024 20:30
@nbdd0121
Copy link
Collaborator

pkgs/default.nix conflicts with veridian

pkgs/peakrdl.nix Outdated
license = lib.licenses.gpl3;
};
};
in rec {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like this in rec { can be removed, and have in peakrdl added to the very end?

pkgs/peakrdl.nix Outdated
# Copyright lowRISC Contributors.
# SPDX-License-Identifier: MIT
{pkgs}: let
inherit (pkgs) python3Packages fetchFromGitHub lib;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These can be part of parameters if you use callPackage.

@nbdd0121 nbdd0121 merged commit fa04c98 into lowRISC:main Oct 2, 2024
3 checks passed
@HU90m HU90m deleted the peakrdl branch October 2, 2024 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants