Commit Graph

22 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Jonas Chevalier
a7cb88c3de
tree-wide: unify Bash completions outputs (#103421)
Use $out/share/bash-completion/completions to store the Bash completions
2020-11-12 21:22:18 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Patrick Hilhorst
593e11fd94
treewide: fix redirected urls
According to https://repology.org/repository/nix_unstable/problems, we have a
lot of packages that have http links that redirect to https as their homepage.
This commit updates all these packages to use the https links as their
homepage.

The following script was used to make these updates:

```

curl https://repology.org/api/v1/repository/nix_unstable/problems \
    | jq '.[] | .problem' -r \
    | rg 'Homepage link "(.+)" is a permanent redirect to "(.+)" and should be updated' --replace 's@$1@$2@' \
    | sort | uniq > script.sed

find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```
2020-01-22 11:26:22 +01:00
c0bw3b
9367367dfd Treewide: fix URL permanent redirects
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01:00
Bas van Dijk
d6cf06b950 tracecmd: 2.8.3 -> 2.9-dev & kernelshark: 0.9.8 -> 1.1.0 2019-10-31 16:07:39 -05:00
volth
08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00: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
Bas van Dijk
c9c895062f trace-cmd/kernelshark: downgrade to the trace-cmd-stable-v2.8 branch 2019-07-27 20:33:33 +02:00
Bas van Dijk
7803c04c7c kernelshark: 0.9.8-f97e28a -> 1.0.0 2019-07-27 20:02:58 +02:00
Bas van Dijk
d9e3118ab0 kernelshark: remove doxygen and graphviz because they aren't used 2019-07-25 22:17:43 +02:00
Bas van Dijk
585de35cd6 kernelshark: install documentation 2019-07-25 22:13:17 +02:00
Bas van Dijk
4542cca0b2 trace-cmd: 2.8-0c957d2 -> 2.9-dev-1517dc3 2019-07-25 21:36:09 +02:00
Bas van Dijk
d1466e7006 trace-cmd: 2.8-c8d9e1a -> 2.8-0c957d2 2019-07-25 21:36:09 +02:00
Bas van Dijk
fa5a346244 kernelshark: init at 0.9.8-c8d9e1a 2019-07-25 21:36:09 +02:00
Bas van Dijk
a9b4881f94 trace-cmd: 2.6 -> 2.8-c8d9e1a 2019-07-25 21:36:09 +02:00
worldofpeace
cab7c6cbd9 treewide: use dontConfigure 2019-07-01 04:23:51 -04:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Tuomas Tynkkynen
bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03:00
Austin Seipp
6e9b561a88 nixpkgs: trace-cmd 2.5.3 -> 2.6
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-08-31 03:17:18 -05:00
Tuomas Tynkkynen
663c972385 trace-cmd: Fix build by adding docbook_xsl dependency
Gets rid of this build error:

make -C /tmp/nix-build-trace-cmd-2.5.3.drv-0/trace-cmd/Documentation all
      ASCIIDOC            trace-cmd-hist.1.xsl
*********************************
** No docbook.xsl is installed **
** Can't make man pages        **
*********************************
Makefile:59: recipe for target '/tmp/nix-build-trace-cmd-2.5.3.drv-0/trace-cmd/Documentation/trace-cmd-hist.1' failed
2015-04-23 06:32:54 +03:00
Austin Seipp
003f5a87b3 nixpkgs: add trace-cmd 2.5.3
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2015-04-18 14:45:47 -05:00