Files
nixpkgs/pkgs/by-name/pi/pinsel/package.nix
Dark Steveneq 646b892680
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
push sheeet
2025-10-09 14:15:47 +02:00

49 lines
848 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
pkg-config,
gtk3,
lua,
glib,
}:
stdenv.mkDerivation {
pname = "pinsel";
version = "unstable-2021-09-13";
src = fetchFromGitHub {
owner = "Nooo37";
repo = "pinsel";
rev = "24b0205ca041511b3efb2a75ef296539442f9f54";
sha256 = "sha256-w+jiKypZODsmZq3uWGNd8PZhe1SowHj0thcQTX8WHfQ=";
};
strictDeps = true;
nativeBuildInputs = [
pkg-config
glib
];
buildInputs = [
lua
gtk3
];
makeFlags = [ "INSTALLDIR=${placeholder "out"}/bin" ];
preInstall = ''
mkdir -p $out/bin
'';
meta = with lib; {
description = "Minimal screenshot annotation tool with lua config";
homepage = "https://github.com/Nooo37/pinsel";
# no license
license = licenses.unfree;
maintainers = with maintainers; [ lom ];
mainProgram = "pinsel";
};
}