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

hyprsome: init at 0.1.12 #352677

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions maintainers/maintainer-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2815,6 +2815,12 @@
githubId = 24254289;
name = "Payas Relekar";
};
bhasherbel = {
email = "nixos.maintainer@bhasher.com";
github = "bhasherbel";
githubId = 45831883;
name = "Brieuc Dubois";
};
bhipple = {
email = "bhipple@protonmail.com";
github = "bhipple";
Expand Down
27 changes: 27 additions & 0 deletions pkgs/by-name/hy/hyprsome/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
lib,
rustPlatform,
fetchFromGitHub,
}:

rustPlatform.buildRustPackage rec {
pname = "hyprsome";
version = "0.1.12";

src = fetchFromGitHub {
owner = "sopa0";
repo = "${pname}";
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
repo = "${pname}";
repo = "hyprsome";

pkgs/README.md:

Always prefer using a hardcoded string (don't use pname, for example).

rev = "985e1a3b03b5118c98c03983f60ea9f74775858c";
hash = "sha256-JiOV9c23yOhaVW2NHgs8rjM8l9qt181Tigf5sCnPep8=";
};

cargoHash = "sha256-OVtfoTcohMLBV+W0wbKtAxfnmjFGUJbs70nLts39g+U=";

meta = with lib; {
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
meta = with lib; {
meta = {

with lib; is discouraged #208242

description = "Awesome-like workspaces for Hyprland";
homepage = "https://crates.io/crates/hyprsome";
Copy link
Contributor

Choose a reason for hiding this comment

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

I would expect a homepage has a link to the source code?

license = licenses.gpl3;
maintainers = with maintainers; [ bhasherbel ];
platforms = platforms.linux;
};
}