-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
1,147 additions
and
960 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
lib, | ||
rustPlatform, | ||
fetchFromGitHub, | ||
}: | ||
|
||
rustPlatform.buildRustPackage { | ||
pname = "iro"; | ||
version = "0-unstable-2024-10-24"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "kyoheiu"; | ||
repo = "iro"; | ||
rev = "ba4adc00e13da9086389357b0e92e608928a8b39"; | ||
hash = "sha256-hGGrEGG1LyzfUCEnV7ahhRO0GrLk28xDWZEFqUHk1rE="; | ||
}; | ||
|
||
cargoHash = "sha256-ZP0YO+5juxFGc2rtvNBvknlTJBrtr8HiuN6/kKW1WNU="; | ||
|
||
meta = { | ||
description = "CLI tool to convet Hex color code or RGB to color code, RGB, HSL and color name"; | ||
homepage = "https://github.com/kyoheiu/iro"; | ||
license = lib.licenses.mit; | ||
maintainers = with lib.maintainers; [ airrnot ]; | ||
mainProgram = "iro"; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,37 @@ | ||
{ lib | ||
, stdenv | ||
, fetchFromGitHub | ||
, zig_0_11 | ||
{ | ||
lib, | ||
stdenv, | ||
fetchFromGitHub, | ||
zig_0_13, | ||
apple-sdk_11, | ||
}: | ||
|
||
stdenv.mkDerivation { | ||
let | ||
zig = zig_0_13; | ||
in | ||
stdenv.mkDerivation (finalAttrs: { | ||
pname = "minizign"; | ||
version = "unstable-2023-08-13"; | ||
version = "0.1.4"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "jedisct1"; | ||
repo = "zig-minisign"; | ||
rev = "47edc26d0c7bcfb531fe08e3b2411d8dda516d47"; | ||
hash = "sha256-zyxjUFxg+VufEVycYGCQPdjERE3p5Vz5iIi2UDujEjI="; | ||
rev = finalAttrs.version; | ||
hash = "sha256-Su66UohRc9C4INIp+7NHiW28sUq5YBfrI0EoEbGojG0="; | ||
}; | ||
|
||
nativeBuildInputs = [ | ||
zig_0_11.hook | ||
zig.hook | ||
]; | ||
|
||
meta = with lib; { | ||
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ]; | ||
|
||
meta = { | ||
description = "Minisign reimplemented in Zig"; | ||
homepage = "https://github.com/jedisct1/zig-minisign"; | ||
license = licenses.isc; | ||
maintainers = with maintainers; [ figsoda ]; | ||
license = lib.licenses.isc; | ||
maintainers = with lib.maintainers; [ figsoda ]; | ||
mainProgram = "minizign"; | ||
inherit (zig_0_11.meta) platforms; | ||
inherit (zig.meta) platforms; | ||
}; | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.