1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
Commit graph

49 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
Peter Hoeg 1340776965
dict: look for config in /etc (#94050)
Previously it was impossible to configure dict/dictd system-wide as it
was looking for a config file in the nix store. Instead use /etc so it
becomes usable.
2020-07-28 18:12:20 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
R. RyanTM 002b16d965 dict: 1.12.1 -> 1.13.0 2020-04-05 12:14:16 +00:00
Frederik Rietdijk 5f4734b1dd Merge remote-tracking branch 'upstream/gcc-8' into staging-next
Earlier the gcc8 branch was merged instead of the gcc-8 branch (note the dash)...
2019-09-08 20:44:26 +02:00
Franz Pletz de85797565
Merge remote-tracking branch 'origin/master' into gcc-8 2019-09-03 22:15:07 +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
Robin Gloster 0cd9da1295
libmaa: fix build with gcc8 2019-06-17 07:25:56 +02:00
Bob van der Linden 2b5a3087ff
libmaa: /var/run -> /run 2019-04-11 20:05:35 +02:00
Chris Martin 199ef0912b
dict: fix datadir path 2019-02-14 11:56:35 -07:00
c0bw3b 0f868d8116 Treewide: use HTTPS on SourceForge 2018-12-02 15:33:08 +01:00
John Ericson db965063b3 treewide: Make configureFlags lists 2018-08-03 17:06:03 -04:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Matthew Bauer 0ac07da0ec dict: fix datadir path
/run/current-system/sw is the correct profile.
2018-06-16 20:14:51 -04:00
Ryan Mulligan b189247ba0 treewide: use more HTTPS URLs
Uses the HTTPS url for cases where the existing URL has a permanent
redirect. For each domain, at least one fixed derivation URL was
downloaded to test the domain is properly serving downloads.

Also fixes jbake source URL, which was broken.
2018-03-24 22:04:25 -07:00
Yegor Timoshenko 506c89c30a maintainers: remove mornfall from packages 2018-01-17 05:17:33 +00:00
Orivej Desh 676b2ef431 dict: disable parallel building 2017-11-27 14:56:33 +00:00
Peter Hoeg 41e7e1304e dict: enable the default upstream server so the client works out of the box 2017-09-07 17:17:49 +08:00
Matthias Beyer c3f3e56697 dictd-db: Add deu2eng / eng2deu 2017-01-05 18:07:22 +01:00
Edward Tjörnhammar f59a1ee660
move dictd* in toplevel dicts to dictdDBs 2016-10-19 08:43:30 +02:00
Edward Tjörnhammar 5929a5d958
dictdWiktionary: 20140118 -> 20161001 2016-10-19 08:43:30 +02:00
Domen Kožar 557b329608 dictd-db: get rid of builderDefs #4210 2016-08-31 10:41:25 +02: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
zimbatm 69ce5cb656 use the sourceforge mirrors everywhere
find pkgs -name "*.nix" -exec sed -r \
    "s|https?://downloads.sourceforge.net/|mirror://sourceforge/|g" -i {} \;
2016-02-28 12:07:42 +00:00
wmertens e5703d21a7 Fix glibclocales reference
Environment is auto-added if supported on the platform
2015-01-19 14:10:45 +01:00
Pascal Wittmann 8d67b9a240 transformed meta.maintainers of some packages into lists 2014-09-13 13:52:02 +02:00
Eelco Dolstra 40f7b0f9df Another attempt to eradicate ensureDir
See c556a6ea46.
2014-06-30 14:56:10 +02:00
Eelco Dolstra 1da6a7d4a9 Remove illegal meta.src attributes 2014-06-05 13:04:18 +02:00
Petr Rockai cdac4b69c9 Revert "Revert "dictd: Update to latest upstream (0.12.1)."" and add the
missing libmaa.nix.

This reverts commit d59778678a.
2014-01-31 13:18:06 +01:00
Eelco Dolstra d59778678a Revert "dictd: Update to latest upstream (0.12.1)."
This reverts commit 8162222071 since it
breaks evaluation (libmaa.nix is missing).
2014-01-31 13:07:25 +01:00
Petr Rockai 8162222071 dictd: Update to latest upstream (0.12.1). 2014-01-29 22:13:32 +01:00
Petr Rockai 83acdb6f87 dictd-wiktionary: Update to a more recent dump. 2014-01-29 22:13:32 +01:00
Petr Rockai 6f5be260b4 Adopt packages. 2014-01-28 17:31:17 +01:00
Petr Rockai b5451c73b6 dictd-wiktionary: Let dictd serve an offline copy of wiktionary.
@vcunat: add -O to python, as it takes lots of time to process
2013-05-18 13:24:30 +02:00
Petr Rockai c7fbe02429 dictd-wordnet: Make wordnet available via local dictd. 2013-05-18 13:24:30 +02:00
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Eelco Dolstra 98bab41c33 * Clean up the "dict" package. For some reason "configureFlags"
didn't get passed properly.

svn path=/nixpkgs/trunk/; revision=21069
2010-04-14 10:55:50 +00:00
Eelco Dolstra 7f5b839524 * Removed selectVersion. There's no good reason to write
`selectVersion ./foo "bar"' instead of `import ./foo/bar.nix'.
* Replaced `with args' with formal function arguments in several
  packages.
* Renamed several files to `default.nix'.  As a general rule, version
  numbers should only be included in the filename when there is a
  reason to keep multiple versions of a package in Nixpkgs.
  Otherwise, it just makes it harder to update the package.

svn path=/nixpkgs/trunk/; revision=18403
2009-11-18 09:39:59 +00:00
Marc Weber 52647ea3b0 FullDepEntry -> fullDepEntry, PackEntry -> packEntry
svn path=/nixpkgs/trunk/; revision=15662
2009-05-19 23:25:58 +00:00
Eelco Dolstra fcad0b0a5a * Cleaned up a lot of description fields that contained newlines.
Some of these should be longDescriptions, but most others just
  shouldn't contain newlines.  E.g. write

    description = "Bla";

  and not

    description = ''
      Bla
    '';

  This pollutes "nix-env -qa --description" output.

svn path=/nixpkgs/trunk/; revision=14310
2009-03-03 13:27:40 +00:00
Lluís Batlle i Rossell 5a9098ea36 Fixing the dict-1.9.15 url, setting it to sourceforge mirror.
The old didn't work for me for several days.

svn path=/nixpkgs/trunk/; revision=13830
2009-01-24 20:58:29 +00:00
Michael Raskin c5363217ad meta.function -> passthru.function, not killing other contents of passthru
svn path=/nixpkgs/trunk/; revision=13190
2008-11-04 21:24:10 +00:00
Michael Raskin 87ff8d6347 Changed builderDefs to use composedArgsAndFun, reduced number of nulls, made overrides in builderDefsPackage to work in an intuitive manner.
svn path=/nixpkgs/trunk/; revision=12655
2008-08-19 05:54:09 +00:00
Michael Raskin 07cad2fc45 Now Dictd dictionary collection works to full extent.
svn path=/nixpkgs/trunk/; revision=11007
2008-03-07 07:30:56 +00:00
Michael Raskin 7786a5ad1e Some updates to dict dictionaries.
svn path=/nixpkgs/trunk/; revision=11005
2008-03-07 05:54:54 +00:00
Michael Raskin 7b6c7dd65f Made entries for a few dictd dictionaries
svn path=/nixpkgs/trunk/; revision=10979
2008-03-06 12:02:10 +00:00
Michael Raskin a463854cd7 Commented out work in progress
svn path=/nixpkgs/trunk/; revision=10977
2008-03-06 04:44:46 +00:00
Michael Raskin 3b2f272341 Added dict and working on adding dictionaries
svn path=/nixpkgs/trunk/; revision=10976
2008-03-06 04:39:05 +00:00