Merge pull request #121521 from fortuneteller2k/add-xcolor
xcolor: init at unstable-2021-02-02
This commit is contained in:
commit
d19a57aa07
2 changed files with 28 additions and 0 deletions
26
pkgs/tools/graphics/xcolor/default.nix
Normal file
26
pkgs/tools/graphics/xcolor/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ lib, rustPlatform, fetchFromGitHub, pkg-config, libX11, libXcursor, libxcb, python3 }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "xcolor";
|
||||
version = "unstable-2021-02-02";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Soft";
|
||||
repo = pname;
|
||||
rev = "0e99e67cd37000bf563aa1e89faae796ec25f163";
|
||||
sha256 = "sha256-rHqK05dN5lrvDNbRCWGghI7KJwWzNCuRDEThEeMzmio=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-lHOT/P1Sh1b53EkPIQM3l9Tozdqh60qlUDdjthj32jM=";
|
||||
|
||||
nativeBuildInputs = [ pkg-config python3 ];
|
||||
|
||||
buildInputs = [ libX11 libXcursor libxcb ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Lightweight color picker for X11";
|
||||
homepage = "https://github.com/Soft/xcolor";
|
||||
maintainers = with lib.maintainers; [ fortuneteller2k ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
|
@ -31275,5 +31275,7 @@ in
|
|||
|
||||
lc3tools = callPackage ../development/tools/lc3tools {};
|
||||
|
||||
xcolor = callPackage ../tools/graphics/xcolor { };
|
||||
|
||||
zktree = callPackage ../applications/misc/zktree {};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue