60 Commits

Author SHA1 Message Date
SandaruKasa d4e5c45837 procps: add doc, man, dev outputs 2026-06-05 06:58:23 +03:00
SandaruKasa 54439a1843 procps: enable __structuredAttrs & strictDeps 2026-06-05 06:58:23 +03:00
Michael Daniels 6e8af4c7a9 procps: rm unused argument 2026-05-10 16:48:06 -04:00
Michael Daniels c4c59c9cbd procps: 4.0.5 -> 4.0.6
Changelog: https://gitlab.com/procps-ng/procps/-/blob/v4.0.6/NEWS
2026-02-07 15:39:37 -05:00
Randy Eckenrode fe82968a08 procps-ng: fix build on non-Linux
- Disable `pidwait`, which fails to build on non-Linux due to requiring
  `pidof_open`; and
- Apply patch from upstream to avoid using `SIGPOLL` on Darwin.
2026-01-27 18:33:12 -05:00
Michael Daniels f4efcfea0f procps: 4.0.4 -> 4.0.5
Changelog: https://gitlab.com/procps-ng/procps/-/releases/v4.0.5
2026-01-12 08:46:43 -05:00
Michael Daniels 53ce6aeeb5 procps: adopt 2026-01-11 14:30:32 -05:00
zowoq fbc832e54a procps: fix runHook
fixes https://github.com/NixOS/nixpkgs/commit/ec8cebbdc94fddab2c7d0a7a5368d14f87aec77f
2025-09-26 13:14:53 +10:00
Pol Dellaiera c6e588c6ca procps: use systemdLibs 2025-09-03 14:31:03 +02:00
Pol Dellaiera ec8cebbdc9 procps: add missing phase hooks 2025-09-03 14:31:03 +02:00
Pol Dellaiera de62b31325 procps: use lib.optionals 2025-09-03 14:31:03 +02:00
Pol Dellaiera 514ca33745 procps: use finalAttrs pattern 2025-09-03 14:31:03 +02:00
Wolfgang Walther 5a0711127c treewide: run nixfmt 1.0.0 2025-07-24 13:55:40 +02:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Sergei Trofimovich 4cac65085c procps: fix watchOnly = true; build
Without the change the build fails as:

    $ nix build --impure --expr 'with import ./. {}; procps.override { withSystemd = false; watchOnly = true; }' -L
    ...
    procps> build flags: -j16 SHELL=.../bash usrbin_execdir=\$\(out\)/bin watch PKG_LDFLAGS=
    procps> make: *** No rule to make target 'watch'.  Stop.

While at it dropped unused `PKG_LDFLAGS=` flag.
2024-10-17 10:54:02 +01:00
Thomas Gerbet 8878d5a682 procps: remove typeteris from the maintainers
https://github.com/NixOS/nixpkgs/pull/298505#issuecomment-2198112591
2024-09-30 21:32:11 +02:00
Thomas Gerbet f978ecc43e procps: 3.3.17 -> 4.0.4
Changes:
https://gitlab.com/procps-ng/procps/-/releases/v4.0.0
https://gitlab.com/procps-ng/procps/-/releases/v4.0.3
https://gitlab.com/procps-ng/procps/-/releases/v4.0.4
2024-09-30 21:32:11 +02:00
Artturin e0464e4788 treewide: replace stdenv.is with stdenv.hostPlatform.is
In preparation for the deprecation of `stdenv.isX`.

These shorthands are not conducive to cross-compilation because they
hide the platforms.

Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way

One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059

There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.

```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
2024-09-25 00:04:37 +03:00
Travis A. Everett 8f413d8a44 binlore: migrate override lore to package passthru
Lore overrides have been included with binlore's source up to now, but
this hasn't worked very well. (It isn't as easy to self-service for
people working in nixpkgs, and its use of partial pnames for matching
breaks down around some edge cases like version numbers appearing
early in perl pnames, or multiple packages having identical pnames.)
2024-07-04 11:15:05 -05:00
Jussi Kuokkanen 95cc312a68 pkgs/os-specific: remove licenses.gpl2 2024-06-21 12:28:43 +03:00
Ingo Blechschmidt 2e223c782a procps: enable 8bit support, thereby fix #275220 2023-12-18 21:06:23 +01:00
Scott Worley d5938b21cf procps: Backport the CVE-2023-4016 fix
The upstream patch from the 4.x branch: https://gitlab.com/procps-ng/procps/-/commit/2c933ecba3bb1d3041a5a7a53a7b4078a6003413.diff
2023-10-28 23:17:06 -07:00
Adam Joseph 42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
Yureka 9cbe4d60b1 pkgsMusl.procps: fix build (#204212) 2022-12-03 12:27:39 +01:00
github-actions[bot] 62a63cc986 Merge staging-next into staging 2022-11-18 00:02:41 +00:00
Dmitry Bogatov aa9bbf6fcf pkgsStatic.procps: disable systemd support on static build 2022-11-17 19:13:54 +01:00
Aaron Jheng 8c7c33237b procps: 3.3.16 -> 3.3.17 2022-11-04 11:55:46 +00:00
Sandro Jäckel 152114997f procps-ng: cleanup, format, remove ? null from inputs 2021-03-18 00:49:28 +00:00
Jonathan Ringer 9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Edward Tjörnhammar edf43c7c6f procps-ng: apply sanity check patch of SC_ARG_MAX 2020-12-02 14:46:53 +01:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM c0e0177560 procps: 3.3.15 -> 3.3.16 2019-12-30 16:19:48 +01:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
rnhmjoj 87bfe6e115 procps: lower priority to solve collisions with coreutils 2019-05-08 16:00:18 +02:00
Vladimír Čunát 5ae438a3e7 procps(-ng): drop the bootstrapping hack
On master/staging the bootstrap mistake has been fixed,
and it no longer pulls procps, so such a hack isn't required.
2018-08-30 18:01:07 +02:00
Alexey Lebedeff 86b097432a procps: enable systemd support when available
`ps` can show various systemd-related information, like a unit to
which a process belongs. But when it's not compiled it, it shows only
'?' in such fields.

Can be tested with:

    ps -o unit= ax
2018-07-27 10:41:42 +02:00
Matthew Bauer b802570fc2 procps: clarify compatibility 2018-07-09 11:59:56 -04:00
Matthew Bauer f4c4a4cc1b watch: remove
This can be built in the procps-ng/default.nix expression.
2018-07-09 11:59:32 -04:00
xeji f96c5effd6 procps-ng: 3.3.14 -> 3.3.15 (#41324)
https://nvd.nist.gov/vuln/detail/CVE-2018-1124

Closes #41082
2018-06-01 19:25:27 +00:00
Will Dietz 38ef327aec procps-ng: Use official release tarballs, fix version.
Also no need to re-generate config bits,
which is good since we encountered an error when trying to do so.

Fixes #39538.
2018-04-26 09:23:49 -05:00
Will Dietz dde9c099e9 procps-ng: switch URL style to (hopefully) fix problems with hash
See:
https://github.com/NixOS/nixpkgs/issues/39154

Not sure why we're seeing that behavior re:fetchFromGitLab,
but for now use a likely-to-be-stable URL instead.

Fixes #39154.

(although the issue warrants some additional investigation IMO)
2018-04-19 13:15:23 -05:00
Will Dietz 54c6a9c710 procps-ng: 3.3.13 -> 3.3.14
* patches were from upstream, merged in this update \o/
* "addressses" incorrect hash by moving to latest version
2018-04-19 13:15:23 -05:00
Will Dietz c95720ca14 procps-ng: 3.3.12 -> 3.3.13
https://gitlab.com/procps-ng/procps/tags/v3.3.13

Patch to fix new version w/musl.
2018-04-05 12:40:27 -05:00
Eric Wolf 59a9165b9d procps-ng: took maintainership 2018-03-24 14:46:59 +01:00
Eric Wolf 67b23ee0d9 procps-ng: updated project location
- use the real project location and not some sf.net mirror
- the meta attribute shouldn't point users to a website cluttered
  with ads (sf.net) where they probably just follow the link
  to the real project location
- adapted the build to the new archive
2018-03-24 14:42:12 +01:00
Ben Gamari c3bf521f18 procps: Enable cross-compilation 2018-01-22 20:25:44 -05:00
Matthew Justin Bauer 2eacddf0dc treewide: homepage URL fixes (#28475)
* pgadmin: use https homepage

* msn-pecan: move homepage to github

google code is now unavailable

* pidgin-latex: use https for homepage

* pidgin-opensteamworks: use github for homepage

google code is unavailable

* putty: use https for homepage

* ponylang: use https for homepage

* picolisp: use https for homepage

* phonon: use https for homepage

* pugixml: use https for homepage

* pioneer: use https for homepage

* packer: use https for homepage

* pokerth: usee https for homepage

* procps-ng: use https for homepage

* pycaml: use https for homepage

* proot: move homepage to .github.io

* pius: use https for homepage

* pdfread: use https for homepage

* postgresql: use https for homepage

* ponysay: move homepage to new site

* prometheus: use https for homepage

* powerdns: use https for homepage

* pm-utils: use https for homepage

* patchelf: move homepage to https

* tesseract: move homepage to github

* quodlibet: move homepage from google code

* jbrout: move homepage from google code

* eiskaltdcpp: move homepage to github

* nodejs: use https to homepage

* nix: use https for homepage

* pdf2djvu: move homepage from google code

* game-music-emu: move homepage from google code

* vacuum: move homepae from google code
2017-08-22 20:50:04 +02:00
John Ericson 16be434b0b Merge accepted cross compilation PRs into staging 2017-06-28 23:17:21 -04:00
hsloan b8ed3c65bb propcps: Rely on cc-wrapper to export this env var 2017-06-28 21:24:25 -04:00
David McFarland a08024bcb0 procps-ng: allow cygwin 2017-06-26 09:33:09 -03:00