Merge pull request #154689 from legendofmiracles/pinsel

pinsel: init at unstable-2021-09-13

authored by

legendofmiracles and committed by
GitHub
996536a2 197f637e

+36
+34
pkgs/tools/misc/pinsel/default.nix
··· 1 + { lib, stdenv, fetchFromGitHub, pkg-config, gtk3, lua, glib }: 2 + 3 + stdenv.mkDerivation rec { 4 + pname = "pinsel"; 5 + version = "unstable-2021-09-13"; 6 + 7 + src = fetchFromGitHub { 8 + owner = "Nooo37"; 9 + repo = pname; 10 + rev = "24b0205ca041511b3efb2a75ef296539442f9f54"; 11 + sha256 = "sha256-w+jiKypZODsmZq3uWGNd8PZhe1SowHj0thcQTX8WHfQ="; 12 + }; 13 + 14 + strictDeps = true; 15 + 16 + nativeBuildInputs = [ pkg-config glib ]; 17 + 18 + buildInputs = [ lua gtk3 ]; 19 + 20 + makeFlags = [ "INSTALLDIR=${placeholder "out"}/bin" ]; 21 + 22 + preInstall = '' 23 + mkdir -p $out/bin 24 + ''; 25 + 26 + meta = with lib; { 27 + description = "Minimal screenshot annotation tool with lua config"; 28 + homepage = "https://github.com/Nooo37/pinsel"; 29 + # no license 30 + license = licenses.unfree; 31 + maintainers = with maintainers; [ lom ]; 32 + mainProgram = "pinsel"; 33 + }; 34 + }
+2
pkgs/top-level/all-packages.nix
··· 8724 8724 8725 8725 pinnwand = callPackage ../servers/pinnwand { }; 8726 8726 8727 + pinsel = callPackage ../tools/misc/pinsel { }; 8728 + 8727 8729 piping-server-rust = callPackage ../servers/piping-server-rust { 8728 8730 inherit (darwin.apple_sdk.frameworks) CoreServices Security; 8729 8731 };