Commit Graph

174 Commits

Author SHA1 Message Date
Benjamin Hipple
2115a2037c fetchcargo: use flat tar.gz file for vendored src instead of recursive hash dir
This has several advantages:

1. It takes up less space on disk in-between builds in the nix store.
2. It uses less space in the binary cache for vendor derivation packages.
3. It uses less network traffic downloading from the binary cache.
4. It plays nicely with hashed mirrors like tarballs.nixos.org, which only
   substitute --flat hashes on single files (not recursive directory hashes).
5. It's consistent with how simple `fetchurl` src derivations work.
6. It provides a stronger abstraction between input src-package and output
   package, e.g., it's harder to accidentally depend on the src derivation at
   runtime by referencing something like `${src}/etc/index.html`. Likewise, in
   the store it's harder to get confused with something that is just there as a
   build-time dependency vs. a runtime dependency, since the build-time
   src dependencies are tarred up.

Disadvantages are:
1. It takes slightly longer to untar at the start of a build.

As currently implemented, this attaches the compacted vendor.tar.gz feature as a
rider on `verifyCargoDeps`, since both of them are relatively newly implemented
behavior that change the `cargoSha256`.

If this PR is accepted, I will push forward the remaining rust packages with a
series of treewide PRs to update the `cargoSha256`s.
2020-02-10 10:17:29 -05:00
R. RyanTM
6bc3c1b306 doxygen: 1.8.15 -> 1.8.17 2020-02-06 20:13:56 +01:00
Robin Gloster
981ae25113
treewide: NIX_*_COMPILE -> string 2019-12-31 00:07:21 +01:00
Jan Tojnar
239e4c1f06
doxygen: switch to python3
Also move the build-time dependencies to nativeBuildInputs, and drop perl as it no longer seems to be necessary (CMake is not looking for it any more).
2019-12-15 01:50:38 +01:00
Jan Tojnar
1c2019fe01
gtk-doc: clean up
* use buildPythonApplication instead of symlinking
   * but do not propagate Python
* Add lxml & anytree for gtkdoc-mkhtml2
2019-12-15 01:50:35 +01:00
John Ericson
d0d5136cce Merge remote-tracking branch 'upstream/master' into wrapper-pname-support 2019-11-24 17:25:07 +00:00
John Ericson
9b090ccbca treewide: Get rid of most parseDrvName without breaking compat
That is because this commit should be merged to both master and
release-19.09.
2019-11-24 17:22:28 +00:00
Roland Freikamp
d95112aa73 mkdocs: update meta-information (#68113)
* mkdocs: update meta-information
+ add rkoe as maintainer
2019-11-23 23:23:47 +01:00
Jan Tojnar
dafa543bf8
gnome-doc-utils: do not propagate Python
That breaks packages that rely on Python like itstool does.

https://github.com/NixOS/nixpkgs/pull/72342#issuecomment-548250501
2019-11-01 02:26:58 +01:00
Frederik Rietdijk
ad8bd84fc9 Merge master into staging-next 2019-10-20 16:22:45 +02:00
zimbatm
639a0eafcb
mdsh: 0.2.0 -> 0.3.0 2019-10-20 00:33:28 +02:00
worldofpeace
62e029cc2b gtk-doc: fix on darwin
We can't use shell scripts as shebangs so we drop using .withPackages
and just add pygments to the build env to satiate meson's checks.

https://github.com/NixOS/nixpkgs/pull/71221#issuecomment-543372945
2019-10-18 12:01:38 -04:00
worldofpeace
f03b26c134 gtk-doc: 1.30 -> 1.32
Drop patch for "Wrong permissions for style CSS file".
It was fixed in 1.31

https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_32/NEWS
2019-10-12 17:25:59 -04:00
zimbatm
90c89eac6e
mdsh: 0.1.4 -> 0.2.0 2019-10-08 13:16:12 +02:00
zimbatm
ee00d08ed0
mdsh: use the verifyCargoDeps option 2019-09-30 17:09:52 +00:00
Jan Tojnar
cdf426488b
Merge branch 'master' into staging-next
Fixed trivial conflicts caused by removing rec.
2019-09-06 03:20:09 +02:00
Jan Tojnar
72e7d569a7
tree-wide: s/GTK+/GTK/g
GTK was renamed.
2019-09-06 02:54:53 +02:00
volth
7bb6b373ab treewide: name -> pname (#67513) 2019-08-31 07:41:22 -04:00
zimbatm
bffe156bd2
mdsh: 0.1.3 -> 0.1.4 2019-08-01 12:02:53 +02:00
Domen Kožar
e765dde910
antora: include site-generator-default 2019-07-23 10:16:15 +02:00
worldofpeace
9096648a2e Revert "Revert "gtk-doc: fix css file permissions""
This reverts commit 451be596d3.
2019-06-03 15:54:46 -04:00
worldofpeace
93cac33f95 Revert "Revert "gtk-doc: build with meson""
This reverts commit 7c1568645b.
2019-06-03 15:54:27 -04:00
worldofpeace
7d1ac249df Revert "Revert "gtk-doc: 1.29 -> 1.30""
This reverts commit b41ef4c7ba.
2019-06-03 15:54:04 -04:00
Alyssa Ross
062210bdff treewide: update cargoSha256 hashes for cargo-vendor upgrade
A recent upgrade of cargo-vendor changed its output slightly, which
broke all cargoSha256 hashes in nixpkgs.
See https://github.com/NixOS/nixpkgs/issues/60668 for more information.

Since then, a few hashes have been fixed in master by hand, but there
were a lot still to do, so I did all of the ones left over with some
scripts I wrote.

The one hash I wasn’t able to update was habitat's, because it’s
currently broken and the build doesn’t get far enough to produce a
hash anyway.
2019-06-01 15:17:52 +00:00
Vladimír Čunát
b41ef4c7ba Revert "gtk-doc: 1.29 -> 1.30"
This reverts commit 765079fbf9.
Problems, usually around https://gitlab.gnome.org/GNOME/gtk-doc/issues/84
2019-05-26 11:03:50 +02:00
Vladimír Čunát
7c1568645b Revert "gtk-doc: build with meson"
This reverts commit 064ca0afe9.
The previous gtk-doc version won't build with our current meson.
2019-05-26 11:03:50 +02:00
Vladimír Čunát
451be596d3 Revert "gtk-doc: fix css file permissions"
This reverts commit 0e2768050a.
Let's revert the gtk-doc update for now; it causes too many problems.
2019-05-26 11:03:50 +02:00
worldofpeace
0e2768050a gtk-doc: fix css file permissions
Fixes https://gitlab.gnome.org/GNOME/gtk-doc/issues/84 which
was breaking the documentation build for glib.

The patch was based off an upstream pr [0] but
completed with the requested changes.

[0]: https://gitlab.gnome.org/GNOME/gtk-doc/merge_requests/27
2019-05-18 15:05:54 -04:00
worldofpeace
064ca0afe9 gtk-doc: build with meson 2019-05-18 15:05:39 -04:00
worldofpeace
f73ffce2d4 gtk-doc: add missing pygments
Also drop six since it was removed in the last release[0]

[0]: https://gitlab.gnome.org/GNOME/gtk-doc/blob/GTK_DOC_1_29/NEWS#L4
2019-05-18 15:05:24 -04:00
Daniel Schaefer
06fad89bd6 treewide: Update meta of packages hosted on gnome
- Update homepage URLs
- Add missing meta entries
2019-05-13 03:01:25 -04:00
Daniel Schaefer
b85ccbac54 treewide: Add passthru.updateScript to gnome pkgs
`updateScript` lets us update packages automatically.
For packages that are hosted on the gnome mirror it's very easy to add
that. Inspired by https://github.com/NixOS/nixpkgs/issues/36150
2019-05-12 22:23:48 +02:00
R. RyanTM
765079fbf9 gtk-doc: 1.29 -> 1.30
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gtk-doc/versions
2019-05-11 08:13:27 -07:00
zimbatm
e0a927556b
mdsh: 0.1.2 -> 0.1.3 2019-02-19 21:56:42 +01:00
zimbatm
4fad0de82a
mdsh: init at 0.1.2 2019-02-17 11:18:04 +01:00
Vladimír Čunát
ff101946a8
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1503899
2019-02-06 14:24:46 +01:00
Pascal Wittmann
895bc4cefe
gtk-doc: 1.28 -> 1.29 2019-02-01 17:36:49 +01:00
Frederik Rietdijk
4af059cd15 gnome-doc-utils: fix native deps 2019-01-15 10:16:11 +01:00
Vladimír Čunát
1ec9f8b62f
doxygen: 1.8.14 -> 1.8.15
I thought of filing a PR, but it would seem a useless step,
even though the release seems to bring lots of changes:
http://www.doxygen.nl/manual/changelog.html#log_1_8_15

My relatively simple use case still works (atop 18.09).
2019-01-02 17:21:42 +01:00
Vladimír Čunát
de96413bbf
doxygen: add sourceforge as mirror
It turns out the upstream URL is very slow (for me at least).
We get caching through nixos.org, but this shouldn't hurt anyway.
2019-01-02 17:08:02 +01:00
Vladimír Čunát
f0c41f0bbf
doxygen: change URL
The homepage was 301 Moved Permanently.  Note: https won't work.
2019-01-02 16:59:09 +01:00
tilpner
04e2dd4c4f
mkdocs: 0.17.5 -> 1.0.4 2018-12-15 00:48:32 +01:00
Uli Baum
d6ecbe1410 gtk-doc: don't build with dblatex by default
make it optional: withDblatex ? false
This removes the dependency of gtk-doc on texlive.
2018-09-17 01:33:20 +02:00
John Ericson
db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
Frederik Rietdijk
81c539ee0b
Merge pull request #43838 from aneeshusa/gtk-doc-support-python-3
gtk-doc: support python3
2018-07-21 19:13:54 +02:00
Aneesh Agrawal
dddac8b684 gtk-doc: support python3 2018-07-21 10:09:25 -07:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
R. RyanTM
69fd5adcc4 mkdocs: 0.17.4 -> 0.17.5
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mkdocs/versions.

These checks were done:

- built on NixOS
- /nix/store/fymw02lywin6zmf8i4ami2lm47vwj0wk-mkdocs-0.17.5/bin/.mkdocs-wrapped passed the binary check.
- /nix/store/fymw02lywin6zmf8i4ami2lm47vwj0wk-mkdocs-0.17.5/bin/mkdocs passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 0.17.5 with grep in /nix/store/fymw02lywin6zmf8i4ami2lm47vwj0wk-mkdocs-0.17.5
- directory tree listing: https://gist.github.com/270332eda9d075a9b90d1867c2326b6c
- du listing: https://gist.github.com/3e1c186f1be8c8e099b160f6d254b4e6
2018-07-07 22:44:43 -07:00
R. RyanTM
9fb100dc28 mkdocs: 0.17.3 -> 0.17.4 (#41988)
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/mkdocs/versions.

These checks were done:

- built on NixOS
- /nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4/bin/.mkdocs-wrapped passed the binary check.
- /nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4/bin/mkdocs passed the binary check.
- 2 of 2 passed binary check by having a zero exit code.
- 2 of 2 passed binary check by having the new version present in output.
- found 0.17.4 with grep in /nix/store/jvkm61ryls5w90v32pisdy2w9hv4sjjb-mkdocs-0.17.4
- directory tree listing: https://gist.github.com/51f000d43eea93f02bf57debed7ac8bc
- du listing: https://gist.github.com/6f535d35f7a3c2d0e393e4e0fd0682c8
2018-06-17 18:39:58 +02:00
Daiderd Jordan
9424d15561
gtk-doc: don't use pythonEnv for binaries 2018-05-28 19:12:42 +02:00