Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
36 lines
710 B
Nix
36 lines
710 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
libX11,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "xmcp";
|
|
version = "0-unstable-2020-10-10";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "blblapco";
|
|
repo = "xmcp";
|
|
rev = "ee56225f1665f9edc04fe5c165809f2fe160a420";
|
|
sha256 = "sha256-B3YkYrVEg6UJ2ApaVook4N2XvrCboxDMUG5CN9I79Sg=";
|
|
};
|
|
|
|
buildInputs = [ libX11 ];
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
install -Dm0755 xmcp $out/bin/xmcp
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Tiny color picker for X11";
|
|
homepage = "https://github.com/blblapco/xmcp";
|
|
license = licenses.gpl3Plus;
|
|
maintainers = [ ];
|
|
platforms = platforms.linux;
|
|
mainProgram = "xmcp";
|
|
};
|
|
}
|