Skip to content

Commit

Permalink
feat: add two working custom pkg sloth and rusty-rain
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Jan 17, 2024
1 parent ed254a9 commit 1817ac4
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 4 deletions.
7 changes: 4 additions & 3 deletions pkgs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ let
inherit (self.inputs) agenix git-leave mind radicle;
in
{
findUnicode = pkgs.callPackage ./findUnicode.nix { };
greenlight = pkgs.callPackage ./greenlight.nix { };
overlayed = pkgs.callPackage ./overlayed.nix { };
git-along = pkgs.callPackage ./git-along.nix { };
rust-sloth = pkgs.callPackage ./rust-sloth.nix { };
rusty-rain = pkgs.callPackage ./rusty-rain { };
thorium = pkgs.callPackage ./thorium.nix { };

# Replace with custom crafted package
findUnicode = pkgs.callPackage ./findUnicode.nix { };

# Import packages defined in foreign repositories
inherit (agenix.packages.${system}) agenix;
inherit (git-leave.packages.${system}) git-leave;
Expand Down
1 change: 0 additions & 1 deletion pkgs/git-along.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ buildGoModule rec {
description = "Manage project configuration and environment in side branches";
homepage = "https://github.com/nyarly/git-along";
maintainers = [ "mrnossiom" ];
platforms = platforms.linux;
mainProgram = "git-along";
};
}
Expand Down
25 changes: 25 additions & 0 deletions pkgs/rust-sloth.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{ lib, rustPlatform, fetchFromGitHub }:

rustPlatform.buildRustPackage rec {
pname = "rust-sloth";
version = "0.1.0";

src = fetchFromGitHub {
owner = "ecumene";
repo = pname;
rev = "c2ba76199cf8727d2eb7c60a60817ecd9fcd4058";
hash = "sha256-r//ifFQgsSU+MS7eHL2jOKr7gBCBHg/mDMW98q4gPXA=";
};

cargoHash = "sha256-FFnmMhoaEagatQkMdkSi7slsYZ7uL3l91S2azYF8LQU=";

meta = with lib; {
description = "A 3D software rasterizer... for the terminal!";
homepage = "https://github.com/ecumene/rust-sloth";
license = licenses.isc;
maintainers = [ "mrnossiom" ];
mainProgram = "sloth";
};
}


Loading

0 comments on commit 1817ac4

Please sign in to comment.