mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
pinsel: init at unstable-2021-09-13
This commit is contained in:
parent
7c50aeaf11
commit
d1556aac13
2 changed files with 36 additions and 0 deletions
34
pkgs/tools/misc/pinsel/default.nix
Normal file
34
pkgs/tools/misc/pinsel/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib, stdenv, fetchFromGitHub, pkg-config, gtk3, lua, glib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pinsel";
|
||||
version = "unstable-2021-09-13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Nooo37";
|
||||
repo = pname;
|
||||
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";
|
||||
};
|
||||
}
|
|
@ -8720,6 +8720,8 @@ with pkgs;
|
|||
|
||||
pinnwand = callPackage ../servers/pinnwand { };
|
||||
|
||||
pinsel = callPackage ../tools/misc/pinsel { };
|
||||
|
||||
piping-server-rust = callPackage ../servers/piping-server-rust {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices Security;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue