diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-10-20 22:09:03 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-10-20 22:09:03 +0000 |
commit | 50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e (patch) | |
tree | f2556b911180125ccbb7ed0e78a54e92da89adce /nixpkgs/pkgs/by-name/pe | |
parent | 4c16d4548a98563c9d9ad76f4e5b2202864ccd54 (diff) | |
parent | cfc75eec4603c06503ae750f88cf397e00796ea8 (diff) | |
download | nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.gz nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.bz2 nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.lz nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.xz nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.tar.zst nixlib-50c21d167f7114fa1dbd95e5c4fb30eeb1a2d02e.zip |
Merge commit 'cfc75eec4603c06503ae750f88cf397e00796ea8'
Conflicts: nixpkgs/pkgs/build-support/rust/build-rust-package/default.nix
Diffstat (limited to 'nixpkgs/pkgs/by-name/pe')
-rw-r--r-- | nixpkgs/pkgs/by-name/pe/pekwm/package.nix | 78 | ||||
-rw-r--r-- | nixpkgs/pkgs/by-name/pe/pesign/package.nix | 52 |
2 files changed, 130 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/pe/pekwm/package.nix b/nixpkgs/pkgs/by-name/pe/pekwm/package.nix new file mode 100644 index 000000000000..b6baed455925 --- /dev/null +++ b/nixpkgs/pkgs/by-name/pe/pekwm/package.nix @@ -0,0 +1,78 @@ +{ lib +, stdenv +, fetchFromGitHub +, awk +, cmake +, grep +, libXext +, libXft +, libXinerama +, libXpm +, libXrandr +, libjpeg +, libpng +, pkg-config +, runtimeShell +, sed +}: + +stdenv.mkDerivation (finalAttrs: { + pname = "pekwm"; + version = "0.3.0"; + + src = fetchFromGitHub { + owner = "pekdon"; + repo = "pekwm"; + rev = "release-${finalAttrs.version}"; + hash= "sha256-hA+TBAs9NMcc5DKIkzyUHWck3Xht+yeCO54xJ6oXXuQ="; + }; + + nativeBuildInputs = [ + cmake + pkg-config + ]; + + buildInputs = [ + libXext + libXft + libXinerama + libXpm + libXrandr + libjpeg + libpng + ]; + + outputs = [ "out" "man" ]; + + strictDeps = true; + + cmakeFlags = [ + "-DAWK=${lib.getBin awk}/bin/awk" + "-DGREP=${lib.getBin grep}/bin/grep" + "-DSED=${lib.getBin sed}/bin/sed" + "-DSH=${runtimeShell}" + ]; + + meta = { + homepage = "https://www.pekwm.se/"; + description = "A lightweight window manager"; + longDescription = '' + pekwm is a window manager that once upon a time was based on the aewm++ + window manager, but it has evolved enough that it no longer resembles + aewm++ at all. It has a much expanded feature-set, including window + grouping (similar to ion, pwm, or fluxbox), autoproperties, xinerama, + keygrabber that supports keychains, and much more. + + - Lightweight and Unobtrusive, a window manager shouldn't be noticed. + - Very configurable, we all work and think in different ways. + - Automatic properties, for all the lazy people, make things appear as + they should when starting applications. + - Chainable Keygrabber, usability for everyone. + ''; + changelog = "https://raw.githubusercontent.com/pekwm/pekwm/release-${finalAttrs.version}/NEWS.md"; + license = lib.licenses.gpl2Plus; + mainProgram = "pekwm"; + maintainers = [ lib.maintainers.AndersonTorres ]; + platforms = lib.platforms.linux; + }; +}) diff --git a/nixpkgs/pkgs/by-name/pe/pesign/package.nix b/nixpkgs/pkgs/by-name/pe/pesign/package.nix new file mode 100644 index 000000000000..b39db9cd430b --- /dev/null +++ b/nixpkgs/pkgs/by-name/pe/pesign/package.nix @@ -0,0 +1,52 @@ +{ lib +, stdenv +, fetchFromGitHub +, pkg-config +, nss +, efivar +, util-linux +, popt +, nspr +, mandoc +}: + +stdenv.mkDerivation rec { + pname = "pesign"; + version = "116"; + + src = fetchFromGitHub { + owner = "rhboot"; + repo = "pesign"; + rev = version; + hash = "sha256-cuOSD/ZHkilgguDFJviIZCG8kceRWw2JgssQuWN02Do="; + }; + + # nss-util is missing because it is already contained in nss + # Red Hat seems to be shipping a separate nss-util: + # https://centos.pkgs.org/7/centos-x86_64/nss-util-devel-3.44.0-4.el7_7.x86_64.rpm.html + # containing things we already have in `nss`. + # We can ignore all the errors pertaining to a missing + # nss-util.pc I suppose. + buildInputs = [ efivar util-linux nss popt nspr mandoc ]; + nativeBuildInputs = [ pkg-config ]; + + makeFlags = [ "INSTALLROOT=$(out)" ]; + + postInstall = '' + mv $out/usr/bin $out/bin + mv $out/usr/share $out/share + + rm -rf $out/usr + rm -rf $out/etc + rm -rf $out/run + ''; + + meta = with lib; { + description = "Signing tools for PE-COFF binaries. Compliant with the PE and Authenticode specifications."; + homepage = "https://github.com/rhboot/pesign"; + license = licenses.gpl2Only; + maintainers = with maintainers; [ raitobezarius ]; + # efivar is currently Linux-only. + platforms = platforms.linux; + }; +} |