mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-23 05:37:27 +03:00
ydotool: move to pkgs/by-name, add meta.mainProgram, refactor
This commit is contained in:
parent
aac3aeaf2f
commit
6722b4ade9
@ -1,13 +1,21 @@
|
||||
{ lib, stdenv, fetchFromGitHub, cmake, scdoc, util-linux, xorg }:
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
scdoc,
|
||||
util-linux,
|
||||
xorg,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "ydotool";
|
||||
version = "1.0.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ReimuNotMoe";
|
||||
repo = "ydotool";
|
||||
rev = "v${version}";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-MtanR+cxz6FsbNBngqLE+ITKPZFHmWGsD1mBDk0OVng=";
|
||||
};
|
||||
|
||||
@ -19,13 +27,20 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ cmake scdoc ];
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
scdoc
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/ReimuNotMoe/ydotool";
|
||||
meta = {
|
||||
description = "Generic Linux command-line automation tool";
|
||||
license = licenses.agpl3Plus;
|
||||
maintainers = with maintainers; [ willibutz kraem ];
|
||||
platforms = with platforms; linux;
|
||||
homepage = "https://github.com/ReimuNotMoe/ydotool";
|
||||
license = lib.licenses.agpl3Plus;
|
||||
mainProgram = "ydotool";
|
||||
maintainers = with lib.maintainers; [
|
||||
willibutz
|
||||
kraem
|
||||
];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
})
|
@ -4766,8 +4766,6 @@ with pkgs;
|
||||
|
||||
wtype = callPackage ../tools/wayland/wtype { };
|
||||
|
||||
ydotool = callPackage ../tools/wayland/ydotool { };
|
||||
|
||||
cambalache = callPackage ../development/tools/cambalache { };
|
||||
|
||||
cambrinary = python3Packages.callPackage ../applications/misc/cambrinary { };
|
||||
|
Loading…
Reference in New Issue
Block a user