Commit Graph

36 Commits

Author SHA1 Message Date
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +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
ajs124
a2267f6341 xfsprogs: 4.19 -> 5.10 2021-01-02 18:45:22 +01: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
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +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
John Ericson
24270193b7 Merge remote-tracking branch 'upstream/staging' into fix/cross-xfsprogs 2018-12-02 12:32:03 -05:00
eburimu
0b695faa07 xfsprogs: fix cross compilation 2018-12-02 00:44:25 -05:00
Ivan Kozik
77255a3cd7 xfsprogs: 4.14.0 -> 4.19.0
xfsprogs started using icu in bff5d1a4e8df8a23957e5739850754991ad2b9c8, part of v4.16.0

xfsprogs-4.15.0-docdir.patch is needed to avoid cyclic references in the outputs.

./glibc-2.27.patch is no longer necessary as it was included in xfsprogs 8041435de7ed028a27ecca64302945ad455c69a6
2018-12-02 02:12:45 +00:00
Benjamin Hipple
5cc335cd55 xfsprogs: swap src url to HTTPS
This swaps the fetchgit call to be more consistent with the majority of other
NixPkgs fetchgit calls. Moreover, almost every network will be able to do HTTPS,
while some enterprise networks may limit external SSH access.
2018-06-09 19:35:39 -04:00
Will Dietz
06e093c270 xfsprogs: replace glibc-2.27 patch w/upstream variant
This version also works w/musl :)

https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/patch/?id=8041435de7ed028a27ecca64302945ad455c69a6
2018-03-26 14:53:50 -05:00
Shea Levy
cd843345ff
xfsprogs: Fix build on glibc-2.27 2018-03-17 21:58:14 -04:00
Tuomas Tynkkynen
95c67a600f xfsprogs: 4.13.1 -> 4.14.0 2017-11-29 23:40:33 +02:00
Tuomas Tynkkynen
e85768b0df xfsprogs: 4.11.0 -> 4.13.1 2017-10-25 19:36:30 +03:00
Franz Pletz
4d10bb5efc
xfstools: remove unused patch 2017-08-28 00:54:42 +02:00
Tuomas Tynkkynen
2712554f4f xfsprogs: 4.5.0 -> 4.11.0 2017-07-20 17:14:28 +03:00
Tuomas Tynkkynen
a17216af4c treewide: Shuffle outputs
Make either 'bin' or 'out' the first output.
2016-08-29 14:49:51 +03:00
Matthew
5d433e35d5 xfsprogs: propagate libuuid
Before, this would fail because libuuid needed to be available.

> echo '#include <xfs/xfs.h>' | cc -E -
2016-08-11 00:50:16 +03:00
Tuomas Tynkkynen
f80508df5f xfsprogs: 4.2.0 -> 4.5.0 2016-08-08 16:46:34 +03:00
Luca Bruno
5b0352a6a4 Merge branch 'master' into closure-size 2015-12-11 18:31:00 +01:00
Tuomas Tynkkynen
24480efffc xfsprogs: Extend patch to make xfs_mdrestore and xfs_quota work
Previously these tools were failing to start with:

xfs_mdrestore: error while loading shared libraries: libxfs.so.0: \
        cannot open shared object file: No such file or directory
xfs_quota: error while loading shared libraries: libxcmd.so.0: \
        cannot open shared object file: No such file or directory

Extend the 4.2.0-sharedlibs.patch to make those programs work as well.
2015-11-20 00:17:23 +02:00
Vladimír Čunát
5227fb1dd5 Merge commit staging+systemd into closure-size
Many non-conflict problems weren't (fully) resolved in this commit yet.
2015-10-03 13:33:37 +02:00
William A. Kennington III
5293bc1302 xfsprogs: 3.2.2 -> 4.2.0 2015-09-18 14:52:52 -07:00
Vladimír Čunát
d6dd3b8bd1 a few packages: work-arounds with split outputs
There's something wrong with imake-based packages,
but I couldn't find out what, so disabling transfig in libgcrypt for now.
2015-05-05 11:56:32 +02:00
Vladimír Čunát
e81e2785c7 xfsprogs: fix outputs and references 2015-04-21 09:02:40 +02:00
William A. Kennington III
02f75f91f1 xfsprogs: 3.2.1 -> 3.2.2 2014-12-16 15:22:53 -08:00
William A. Kennington III
2c40aca91d xfsprogs: Add missing patch 2014-09-19 18:21:05 -07:00
William A. Kennington III
acaf6b4334 xfsprogs: Actually fix library rpath 2014-09-19 16:14:50 -07:00
William A. Kennington III
9d1acf8559 xfsprogs: 3.1.11 -> 3.2.1 2014-09-19 15:34:36 -07:00
Alexander Kjeldaas
f1b7cb7ceb Added lib output to xfsprogs.
This only contains static archives since xfsprogs is compiled
with dynamic libraries disabled.
2014-06-28 20:43:51 -05:00
Nixpkgs Monitor
75bef13fca xfsprogs: update from 3.1.8 to 3.1.11 2013-12-14 00:46:44 +02:00
Lluís Batlle i Rossell
4a380e1eb1 Updating xfsprogs
svn path=/nixpkgs/trunk/; revision=34417
2012-06-10 14:41:22 +00:00
Lluís Batlle i Rossell
4163c5c98a Trying to fix the urls for xfsprogs
svn path=/nixpkgs/branches/stdenv-updates/; revision=23776
2010-09-14 08:40:05 +00:00
Lluís Batlle i Rossell
6fd70d9c47 Updating xfsprogs and making it build.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23704
2010-09-09 17:47:37 +00:00
Eelco Dolstra
ab708d5b6e * xfsprogs updated to 3.0.3.
* xfsprogs: don't use shared libraries because libxfs.so isn't
  installed for some reason, so mkfs.xfs doesn't work.

svn path=/nixpkgs/trunk/; revision=18842
2009-12-08 16:58:22 +00:00
Eelco Dolstra
c726012afe * Refactoring: move most filesystem utilities / FUSE filesystems to
tools/filesystems.  Previously they were all over the place.

svn path=/nixpkgs/trunk/; revision=18809
2009-12-04 15:39:49 +00:00