Commit graph

19 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
AndersonTorres
aeffc753fa joe: cleanup
Add a longDescription, and also add myself as maintainer.
2021-01-03 23:19:42 -03: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
Vladyslav M
cc78571c49 joe: 4.4 -> 4.6 2018-02-21 01:28:51 +02:00
ndowens
876dead5b6 joe: 4.2 -> 4.4 2017-03-19 15:41:35 -05: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
Matthias Beyer
5e6bb86f5d joe: 4.1 -> 4.2 2016-05-16 16:12:20 +02:00
Matthias Beyer
1adaab27e2 joe: Move version to own variable 2015-09-25 15:40:28 +02:00
Matthias Beyer
0a818afe22 joe: 4.0 -> 4.1 2015-09-25 15:37:16 +02:00
Pascal Wittmann
59943d69f9 joe: update from 3.7 to 4.0, add meta-information 2015-05-31 16:30:24 +02:00
Shea Levy
5300731177 Joe: Bump to 3.7 2012-07-31 16:30:50 -04:00
Yury G. Kudryashov
81aac8d84d meta.homepage added to several packages
svn path=/nixpkgs/trunk/; revision=10417
2008-01-30 19:49:42 +00:00
Eelco Dolstra
607b0d3e80 * Rewrite all the SourceForge URLs to mirror://sourceforge/.
find . -name "*.nix" | while read fn; do sed 's^http://[a-z]*.dl.sourceforge.net/sourceforge/^mirror://sourceforge/^g' < $fn > $fn.new; mv $fn.new $fn; done

svn path=/nixpkgs/trunk/; revision=9198
2007-08-27 13:01:33 +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
ef9b025dbe * Remove a bunch of unused Nix expressions.
svn path=/nixpkgs/trunk/; revision=6716
2006-10-12 15:43:01 +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
Merijn de Jonge
4440283683 Joe doen't need its own builder script
svn path=/nixpkgs/trunk/; revision=4683
2006-02-03 08:53:06 +00:00
Merijn de Jonge
1cc7a09617 added Joe (Joe's own editor). Yes!
svn path=/nixpkgs/trunk/; revision=4679
2006-02-02 16:30:01 +00:00