Skip to content

Commit

Permalink
chore: added package metas
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Jan 6, 2025
1 parent 317a2c8 commit 574cba7
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: cp ./target/aarch64-unknown-none-softfloat/doc/kernel/index.html ./target/aarch64-unknown-none-softfloat/doc/index.html

- name: Add redirect (change later to /index.html when we move to subdomain)
run: echo '<meta http-equiv="refresh" content="0;url=/sark/kernel/index.html">' > target/aarch64-unknown-none-softfloat/doc/index.html
run: echo '<meta http-equiv="refresh" content="0;url=/kernel/">' > target/aarch64-unknown-none-softfloat/doc/index.html

- name: Remove lock file
run: rm target/aarch64-unknown-none-softfloat/doc/.lock
Expand Down
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name = "sark"
version = "0.1.0"
authors = ["Sokhibjon Orzikulov <[email protected]>"]
edition = "2021"
homepage = "https://sark.kibertexnik.uz"
repository = "https://github.com/kibertexnik/sark"
description = "Monolith kernel for Raspberry Pi"
keywords = ["raspberry", "kernel"]
license = "MIT OR Apache-2.0"

[profile.release]
lto = true
Expand Down
8 changes: 4 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
in
pkgs.rustPlatform.buildRustPackage {
pname = "sark";
version = manifest.version;
version = manifest.package.version;
cargoLock.lockFile = ./Cargo.lock;
src = pkgs.lib.cleanSource ./.;

Expand Down Expand Up @@ -64,9 +64,9 @@ in
NIX_LDFLAGS = "-L${(getLibFolder pkgs.libiconv)}";

meta = with lib; {
homepage = manifest.workspace.package.homepage;
description = "Sokhibjon's ARM RaspberryPi Kernel";
license = with lib.licenses; [asl20];
homepage = manifest.package.homepage;
description = manifest.package.description;
license = with lib.licenses; [asl20 mit];
platforms = with platforms; linux ++ darwin;

maintainers = [
Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
};

outputs = {
self,
nixpkgs,
fenix,
flake-utils,
Expand Down

0 comments on commit 574cba7

Please sign in to comment.