-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
color-scheme-generator: init at 0.9.2.1 #362977
Open
nikolaizombie1
wants to merge
15
commits into
NixOS:master
Choose a base branch
from
nikolaizombie1:publish-color-scheme-generator-v0.9.2.1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+43
−0
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a6139a2
color-scheme-generator: init at v0.9.2.1
nikolaizombie1 14cf716
Add nikolaizombie1 to maintainers-list.nix
nikolaizombie1 c5db6ea
incorporate changes from reviewer.
nikolaizombie1 b7bd99e
Made maintainer-list.nix sorted.
nikolaizombie1 1a984de
Sort maintainer-list.nix and format package.nix.
nikolaizombie1 7cdf805
Merge branch 'master' into publish-color-scheme-generator-v0.9.2.1
nikolaizombie1 1f1f22c
Fix errors durring last commit
nikolaizombie1 8c39d61
Format package.nix correctly.
nikolaizombie1 63ca814
Fix breaking chnages on maintainer-list.nix
nikolaizombie1 6d72985
Sort fixed list.
nikolaizombie1 180d33e
Remove duplicate entry.
nikolaizombie1 f702ddf
Revert package.nix to first commit on branch.
nikolaizombie1 767e957
Sort and format maintainer-list.nix.
nikolaizombie1 ec002c1
Update maintainer-list.nix
nikolaizombie1 c0a6bd2
Change githubId to unsigned int.
nikolaizombie1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15892,6 +15892,12 @@ | |
github = "NiklasVousten"; | ||
githubId = 24965952; | ||
}; | ||
nikolaizombie1 = { | ||
name = "Fabio J. Matos Nieves"; | ||
email = "[email protected]"; | ||
githubId = 70602908; | ||
github = "nikolaizombie1"; | ||
}; | ||
nikstur = { | ||
email = "[email protected]"; | ||
name = "nikstur"; | ||
|
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,37 @@ | ||
{ | ||
rustPlatform, | ||
fetchFromGitHub, | ||
lib, | ||
perl, | ||
}: | ||
|
||
rustPlatform.buildRustPackage rec { | ||
pname = "color-scheme-generator"; | ||
version = "0.9.2.1"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "nikolaizombie1"; | ||
repo = "color_scheme_generator"; | ||
tag = "v${version}"; | ||
hash = "sha256-tSoM6MP58vOoKRMQjNq8nKMiVTfS9N/mckchAPcUM0g="; | ||
}; | ||
|
||
cargoHash = "sha256-A8ld2c8ZcqaZN29Fz085FQy8UpugIDMOKT01r+SfCcc="; | ||
|
||
nativeBuildInputs = [ perl ]; | ||
|
||
meta = { | ||
description = "Quickly generate color schemes for waybar from an image."; | ||
longDescription = '' | ||
color_scheme_generator is a command line utility used to analyze images and generate color themes from them given a path to an image. | ||
|
||
This command line utility behaves like a standard UNIX utility where the path to the image can be either piped in or sent a command line argument. | ||
|
||
The intended purpose of this application is to automatically create color themes for Waybar, but it can be used for the bar in AwesomeWM or other applications to theme based on the on an image. This utility has a cache for the image analysis. This means that once an image has been analyzed once, the result will be saved in the cache and when an image is analyzed again, the results will be returned instantly | ||
|
||
''; | ||
homepage = "https://github.com/nikolaizombie1/color_scheme_generator"; | ||
license = with lib.licenses; [ gpl3 ]; | ||
maintainers = with lib.maintainers; [ nikolaizombie1 ]; | ||
}; | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems we need this because the crates are trying to vendor a version of openssl and sqlite. We can avoid rebuilding these by forcing it to use the libraries already in Nixpkgs