Commit graph

90 commits

Author SHA1 Message Date
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
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
Bjørn Forsman
7ad5e816fa basex: fix build
An unmatched double quote in installPhase broke the build in the last update.
Fix it.

Reported by @solson (thanks!).

Fixes: 21b9c04a2c ("basex: 8.6.6 -> 9.4.3")
2020-10-25 08:12:25 +01:00
Michiel Leenaars
21b9c04a2c basex: 8.6.6 -> 9.4.3 2020-10-08 19:56:19 +02:00
Patrick Hilhorst
f7e390e6d4 treewide: fix redirected urls (run 3)
Related:
 - 9fc5e7e473
 - 593e11fd94
 - 508ae42a0f

Since the last time I ran this script, the Repology API changed, so I had to
adapt the script used in the previous PR. The new API should be more robust, so
overall this is a positive (no more grepping the error messages for our relevant
data but just a nice json structure).

Here's the new script I used:

```sh
curl https://repology.org/api/v1/repository/nix_unstable/problems \
   | jq -r '.[] | select(.type == "homepage_permanent_https_redirect") | .data | "s@\(.url)@\(.target)@"' \
   | sort | uniq | tee script.sed
find -name '*.nix' | xargs -P4 -- sed -f script.sed -i
```

I will also add this script to `maintainers/scripts`.
2020-10-02 09:01:35 -07:00
R. RyanTM
551147ab22 html-xml-utils: 7.8 -> 7.9 2020-08-14 03:47:36 +00:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Christine Koppelt
60fade5c03 sablotron: remove 2019-11-08 22:25:08 +01:00
R. RyanTM
8ce6912b80 html-xml-utils: 7.7 -> 7.8
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/html-xml-utils/versions
2019-10-22 10:10:02 +02:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
Vladimír Čunát
6756cc5408
jing-trang: fixup build
Thanks to lopsided98.  Fixes #68307.
2019-09-08 18:19:51 +02: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
Graham Christensen
4ec201e7b7
xmloscopy: buildInputs -> nativeBuildInputs 2019-08-05 22:59:57 -04:00
Graham Christensen
b8c0210fcc
xmloscopy: name -> pname 2019-08-05 22:02:47 -04:00
Graham Christensen
16584b52f3
xmloscopy: with 2019-08-05 22:02:13 -04:00
Graham Christensen
a428849ce7
xmloscopy: 0.1.2 -> 0.1.3 2019-08-05 21:56:09 -04:00
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Silvan Mosberger
57bccb3cb8 treewide: http -> https sources (#42676)
* treewide: http -> https sources

This updates the source urls of all top-level packages from http to
https where possible.

* buildtorrent: fix url and tab -> spaces
2018-06-28 20:43:35 +02:00
Ryan Mulligan
af9d10a91b treewide: fix derivation names 2018-05-28 05:59:57 -07:00
Graham Christensen
07c025424e
xmlformat: init at 1.04 2018-04-30 20:52:09 -04:00
R. RyanTM
d50a31a710 html-xml-utils: 7.6 -> 7.7
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/html-xml-utils/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxaddid help’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxaddid -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxcite -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxextract --help’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxextract help’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxextract -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxcopy -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxincl -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxpipe -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxremove help’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxremove -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxselect help’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxselect -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxtabletrans -v’ and found version 7.7
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxuncdata --help’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxwls -h’ got 0 exit code
- ran ‘/nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7/bin/hxref -v’ and found version 7.7
- found 7.7 with grep in /nix/store/bgy2cxgllc9d8ll74s3lglhfygjw4c63-html-xml-utils-7.7
- directory tree listing: https://gist.github.com/f303211f05f8424805b5314ae0ff7c9e
2018-04-30 15:01:58 -07:00
Graham Christensen
6e4a51fe54
xmloscopy: 0.1.1 -> 0.1.2
Ugh this is embarassing
2018-03-24 22:47:51 -04:00
Graham Christensen
72a4c54c71
xmloscopy: init at 0.1.1 2018-03-24 22:42:39 -04:00
Ryan Mulligan
6e14edc72c html-xml-utils: 7.1 -> 7.6
Semi-automatic update. These checks were performed:

- built on NixOS
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxaddid -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxcite -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxextract --help` got 0 exit code
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxextract help` got 0 exit code
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxextract -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxcopy -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxincl -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxnum -V` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxnum -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxnum --version` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxpipe -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxremove -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxselect -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxtabletrans -v` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxuncdata --help` got 0 exit code
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxuncdata --help` and found version 7.6
- ran `/nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6/bin/hxref -v` and found version 7.6
- found 7.6 with grep in /nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6
- found 7.6 in filename of file in /nix/store/zmpviib2f0h0qh15j4qnzqxxkx2734n8-html-xml-utils-7.6
2018-02-26 18:43:19 -08:00
Orivej Desh
66239387a5 xml2: replace dead links 2017-11-17 16:54:20 +00:00
Peter Simons
39c70b3c87 trang: update to latest github version 2017-11-10 13:53:03 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Bjørn Forsman
0a7d124eb0 basex: 8.6.4 -> 8.6.6 2017-09-11 17:24:33 +02:00
Yegor Timoshenko
90f0c3b93e html-xml-utils: 6.9 → 7.1, macOS support 2017-07-17 21:46:02 +03:00
Linus Heckemann
3c3a25acc5 jing-trang: use jre_headless
This halves its closure size.
2017-06-07 15:18:41 +02:00
Robin Gloster
9516b038b7
basex: 8.3.1 -> 8.6.4 2017-05-21 20:27:44 +02:00
Matthew Bauer
aac48708c1 jing-trang: supports all unix
This is needed to build the manual on macOS.
2017-05-02 20:52:19 +02:00
edef
447ba91858 rnv: fix missing rec (#23162) 2017-02-25 01:40:02 +01:00
Leon Isenberg
d556f53517 rnv: init at 1.7.11 2017-02-24 08:26:09 +01:00
Frederik Rietdijk
923793f99a xpf: use python2 2017-02-08 19:58:00 +01:00
Vladimír Čunát
cb6a81c607
jing-trang: fixup indentation problems 2016-11-05 10:17:56 +01:00
Vladimír Čunát
fbb33ab8c9 saxon: use our standard share/java/*.jar location 2016-11-05 10:17:44 +01:00
Vladimír Čunát
c6fcd28e2d
jing-trang: add back and update; removed in #20142
This fixes the tarball, as we use jing to validate nixpkgs manual!
/cc maintainer @bjornfor.
2016-11-05 10:03:29 +01:00
Tim Steinbach
6dd1796b0e
Remove trang
Source no longer exists
2016-11-04 10:54:09 -04:00
Tim Steinbach
7329435fab
Remove jing
No longer exists
2016-11-04 10:27:01 -04:00
Bjørn Forsman
7ffbe5174f sablotron: update source URL
The current URL no longer works, switch to a sourceforge mirror URL.
Fixes issue #18337.
2016-09-08 15:33:31 +02:00
Tuomas Tynkkynen
048a30e4e4 treewide: Fix dev references to libxml2 2016-08-30 03:02:32 +03:00
Tuomas Tynkkynen
21f17d69f6 treewide: Add lots of meta.platforms
Build-tested on x86_64 Linux & Mac.
2016-08-02 21:42:43 +03:00
Tuomas Tynkkynen
2258b21e4b treewide: Add lots of platforms to packages with no meta
Build-tested on x86_64 Linux and on Darwin.
2016-08-02 21:17:44 +03:00
Vladimír Čunát
0b192a0976 Merge branch 'master' into staging
That's to get mesa rebuild from master, as it's nontrivial.
2016-05-23 09:02:10 +02:00
Robert Helgesson
b717faf49f xml2: add platforms field 2016-05-22 14:34:05 +02:00
Tuomas Tynkkynen
3672f3edcb treewide: Make explicit that 'dev' output of libxslt is used 2016-05-19 10:00:48 +02:00
Robin Gloster
9820cb1bf2 use dontBuild instead of hacks
changes:
 * buildPhase = "true"
 * buildPhase = ":"
2016-05-04 10:11:04 +00:00