Commit Graph

54 Commits

Author SHA1 Message Date
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
Pierre Bourdon
cbb288204d
file: backport patch to fix a 5.39 regression
This bug is causing diffoscope to fail to build with file 5.39.
2020-06-28 11:18:38 +02:00
R. RyanTM
0d60bd97b0 file: 5.38 -> 5.39 2020-06-19 10:57:08 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
zowoq
25fb1a02a3 file: 5.37 -> 5.38 2019-12-31 09:27:18 +01:00
Robin Gloster
ecff7d3a56
file: *Flags are lists 2019-12-30 11:13:38 +01:00
Robert Scott
99273fc555 file: add patch for CVE-2019-18218
upstream patch 46a8443f76.patch
doesn't apply directly, debian have a version which has been adapted for
5.37.
2019-10-26 18:13:12 +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
Will Dietz
7822281b68 file: 5.36 -> 5.37
https://github.com/file/file/blob/FILE5_37/ChangeLog
2019-05-18 08:22:50 +02:00
Will Dietz
7aea4cc094 Revert "Merge #56170: Revert "file: 5.35 -> 5.36" (staging)"
Try this again, seems to work now.

Motivated by new version possibly fixing security issues
described here:

https://github.com/NixOS/nixpkgs/issues/56360

This reverts commit 7d47102bbc, reversing
changes made to 2ed8187107.
2019-02-27 16:45:48 -06:00
Will Dietz
c2239ffde6
Revert "file: 5.35 -> 5.36" 2019-02-21 17:10:39 -06:00
Will Dietz
c1d1bd2391 file: 5.35 -> 5.36
https://mailman.astron.com/pipermail/file/2019-February/000073.html
2019-02-21 12:48:53 -06:00
Vladyslav Mykhailichenko
eee82aee37 file: 5.34 -> 5.35 2018-10-20 09:52:31 +02:00
Uli Baum
7be0521a25 file: 5.33 -> 5.34
fixes CVE-2018-10360
2018-08-01 09:04:54 +02:00
Matthew Bauer
09fed91ec8 file: build on windows 2018-07-21 17:00:05 -04:00
R. RyanTM
02b022a9b2 file: 5.32 -> 5.33
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

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

These checks were done:

- built on NixOS
- ran ‘/nix/store/n5afz3w8g0mj9pf5qcndb3kdz4jbljca-file-5.33/bin/file --help’ got 0 exit code
- ran ‘/nix/store/n5afz3w8g0mj9pf5qcndb3kdz4jbljca-file-5.33/bin/file help’ got 0 exit code
- found 5.33 with grep in /nix/store/n5afz3w8g0mj9pf5qcndb3kdz4jbljca-file-5.33
- directory tree listing: https://gist.github.com/b6f0a44bc22e88f13fe5dbc4f56d9296
2018-04-17 02:45:07 -07:00
Will Dietz
2060f547df file: fix for cross
For whatever reason "selfNativeBuildInput = true"
doesn't seeem to do the trick here?
(reasons may include "it's not intended to solve this problem" ;))
2018-01-24 09:33:37 -06:00
Franz Pletz
84ec7ef6c3
file: 5.31 -> 5.32 for CVE-2017-1000249 2017-09-05 20:22:01 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Tuomas Tynkkynen
f1d8069ee8 file: 5.30 -> 5.31 2017-06-11 19:35:48 +03:00
Renaud
1129f92f65 file: 5.28 -> 5.30 2017-03-17 19:43:50 +01:00
Gabriel Ebner
14c038dd03 file: 5.25 -> 5.28 2016-06-20 18:23:39 +02:00
William A. Kennington III
bd0120202e file: 5.24 -> 5.25 2015-09-22 14:30:16 -07:00
William A. Kennington III
754f21df19 file: Fix hash 2015-07-17 14:37:48 -07:00
William A. Kennington III
fd5f56dc50 file: 5.23 -> 5.24 2015-07-17 14:37:20 -07:00
William A. Kennington III
333f145d76 Merge branch 'master.upstream' into staging.upstream 2015-07-13 15:11:31 -07:00
Tuomas Tynkkynen
2ad7463144 pythonPackages.magic: Fix loading libmagic.so
Even with the previous `python.patch` file around, libmagic.so isn't
found. Instead patch it to use an absolute path, using a similar
approach that is used by the `python_magic` package (which is another
libmagic python wrapper library as well).
2015-07-13 08:29:05 +02:00
William A. Kennington III
ef253212f4 Merge branch 'master.upstream' into staging.upstream 2015-06-26 17:25:49 -07:00
Vladimír Čunát
9e1704c1bb file: add another mirror (macports, fixes #8500) 2015-06-25 16:14:28 +02:00
William A. Kennington III
d12cc767bd file: 5.22 -> 5.23 2015-06-18 23:33:29 -07:00
William A. Kennington III
c167a3be92 file: 5.17 -> 5.22 2015-03-26 00:54:58 -07:00
Joseph Abrahamson
d6dd4fd9d0 Platforms for file derivation to include darwin 2015-02-04 15:41:14 -05:00
Luca Bruno
7926b587c3 file: fails to build on darwin 2014-08-09 14:37:03 +02:00
Vladimír Čunát
58857096fb file: update to fix CVE-2014-2270, CVE-2013-7345 2014-03-25 23:02:37 +01:00
Vladimír Čunát
f573b58428 file: minor update 5.12 -> 5.14 2013-06-30 09:00:11 +02:00
Bjørn Forsman
52531cef21 file: bump from 5.11 to 5.12 2013-02-18 11:46:47 +01:00
Peter Simons
f67d5a9a39 Merge branch 'master' into stdenv-updates.
Conflicts have been resolved in:

        pkgs/tools/misc/file/default.nix
        pkgs/top-level/all-packages.nix
        pkgs/top-level/python-packages.nix
2012-11-21 16:20:36 +01:00
Rickard Nilsson
43c9c791e0 file: Add extra source URL 2012-11-06 11:23:48 +01:00
Eelco Dolstra
76431dad65 * Make file 5.11 the default.
svn path=/nixpkgs/branches/stdenv-updates/; revision=34114
2012-05-15 16:34:07 +00:00
Rob Vermaas
97cac0a58c Added i3wm. Added newer version of file. (this time tested, I screwed up a patch by garbas)
svn path=/nixpkgs/trunk/; revision=33952
2012-04-30 14:34:57 +00:00
Rob Vermaas
0823167b43 Revert my previous 2 commits.
svn path=/nixpkgs/trunk/; revision=33951
2012-04-30 14:28:08 +00:00
Rob Vermaas
0362f55a22 add missing files from previous commit
svn path=/nixpkgs/trunk/; revision=33950
2012-04-30 13:45:50 +00:00
Eelco Dolstra
a1e444b3b0 * file updated to 5.04.
svn path=/nixpkgs/trunk/; revision=25324
2010-12-30 18:31:27 +00:00
Eelco Dolstra
b7c7550c43 * Replace the Python "magic" module with the (apparently) more
common one from the "file" package.

svn path=/nixpkgs/trunk/; revision=25322
2010-12-29 19:19:56 +00:00
Rob Vermaas
93f767d897 * bumped version for file
svn path=/nixpkgs/trunk/; revision=16018
2009-06-22 11:41:14 +00:00
Wouter den Breejen
033c61867b Version bump
svn path=/nixpkgs/trunk/; revision=12280
2008-07-06 17:47:10 +00:00
Eelco Dolstra
7f91ba32ec * file 4.23.
svn path=/nixpkgs/trunk/; revision=10002
2007-12-31 17:56:13 +00:00
Eelco Dolstra
a0159dee8e * Reverted r6713, r6711, r4623, r3660, r2237. There rewrote fetchurl
URLs to http://nix.cs.uu.nl/dist/tarballs.  With content-addressable
  mirror support (r9190, NIXPKGS-70) this is no longer necessary:
  fetchurl will try to download from that location automatically.  So
  we can keep the original URLs.

svn path=/nixpkgs/trunk/; revision=9192
2007-08-24 12:32:36 +00:00
Eelco Dolstra
1442e8ec22 * Copy a bunch of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=6711
2006-10-12 13:50:54 +00:00