Commit Graph

36 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
Niklas Hambüchen
58957e42be gphoto2: Switch to Github, allow building from repo.
Github is where upstream's development happens now,
and building from repo makes adding patches and overriding the commit easier.

Also use pname+version, see #103997.
2020-11-16 22:42:56 +01:00
R. RyanTM
c6edffbbe8 gphoto2: 2.5.23 -> 2.5.26 2020-11-01 17:21:12 -08: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
R. RyanTM
a144498de6 gphoto2: 2.5.20 -> 2.5.23
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gphoto2/versions
2019-06-23 14:13:11 +02:00
R. RyanTM
c727b69ad6 gphoto2: 2.5.17 -> 2.5.20
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/gphoto2/versions
2019-03-21 19:22:33 -07:00
Markus Kowalewski
c809cfb197
gphoto2fs: add license + homepage 2018-09-01 16:55:08 +02:00
Markus Hauck
294f823146 gphoto2: 2.5.15 -> 2.5.17 2018-04-21 14:41:43 +02:00
Vladyslav M
969674ff3d gphoto2: 2.5.11 -> 2.5.15 2018-02-26 12:45:39 +02:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
ndowens
89e2a4c390 gphoto2: 2.5.8 -> 2.5.11 2017-03-22 20:52:41 -05:00
Bjørn Forsman
bd01fad0ed Captialize meta.description of all packages
In line with the Nixpkgs manual.

A mechanical change, done with this command:

  find pkgs -name "*.nix" | \
      while read f; do \
          sed -e 's/description\s*=\s*"\([a-z]\)/description = "\u\1/' -i "$f"; \
      done

I manually skipped some:

* Descriptions starting with an abbreviation, a user name or package name
* Frequently generated expressions (haskell-packages.nix)
2016-06-20 13:55:52 +02:00
Joachim Fasting
43a1582ef3 gphoto2fs: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Cillian de Róiste
44c1a72a6b gphoto2: update from 2.5.5 to 2.5.8 2015-10-25 19:08:13 +01:00
Mathnerd314
eb7404d97a all-packages: Use callPackage where possible 2015-09-14 22:27:19 -06:00
Moritz Ulrich
ed62f798b2 gphoto2: update from 2.5.3 to 2.5.5 2014-10-11 01:57:57 +02:00
Evgeny Egorochkin
ab9dcd9ad0 gphoto2: update from 2.5.2 to 2.5.3 2014-02-04 21:58:25 +02:00
Jack Cummings
bbbf625b7d Cherry-picking gphoto update by Jack Cummings, too 2013-06-08 19:32:52 +04:00
Vladimír Čunát
7a25aa94cd gphoto*: update for changed libgphoto version 2013-04-20 12:44:05 +02:00
Eelco Dolstra
ab3eeabfed Rename buildNativeInputs -> nativeBuildInputs
Likewise for propagatedBuildNativeInputs, etc.  "buildNativeInputs"
sounds like an imperative rather than a noun phrase.
2012-12-28 19:20:09 +01:00
Eelco Dolstra
5553546c21 Remove a bunch of unreferenced files
Plus a small number of obsolete packages (like old versions of qemu).
2012-11-29 13:43:37 +01:00
Jack Cummings
1db34880d7 - gphoto2-2.4.14, libgphoto2-2.4.14 2012-10-20 21:59:25 -07:00
Yury G. Kudryashov
3b672f9b75 (lib)gphoto-2.4.11
svn path=/nixpkgs/trunk/; revision=31412
2012-01-07 19:41:59 +00:00
Michael Raskin
feed5f087f Try selecting packages to build based on their being maintained
svn path=/nixpkgs/trunk/; revision=16844
2009-08-25 05:46:48 +00:00
Michael Raskin
4ba8f74591 Adding Gphoto2FS - filesystem for attached cameras
svn path=/nixpkgs/trunk/; revision=16841
2009-08-24 21:35:45 +00:00
Eelco Dolstra
adf97c3ad8 * gphoto2 updated to 2.4.5.
svn path=/nixpkgs/branches/stdenv-updates/; revision=15067
2009-04-15 13:39:41 +00:00
Eelco Dolstra
ba6845d03e * gphoto updated to 2.4.2.
svn path=/nixpkgs/trunk/; revision=12900
2008-09-22 17:06:31 +00: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
Yury G. Kudryashov
8294a83e5d gphoto2 upgraded to 2.4.0
svn path=/nixpkgs/trunk/; revision=9722
2007-11-16 17:28:17 +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
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
Armijn Hemel
9ecd455774 update to 2.2.0
svn path=/nixpkgs/trunk/; revision=5627
2006-07-06 21:12:18 +00:00
Eelco Dolstra
321e4da7e8 * Copy more files.
svn path=/nixpkgs/trunk/; revision=4646
2006-01-31 16:37:40 +00:00
Armijn Hemel
6d76f21f43 add gphoto2
svn path=/nixpkgs/trunk/; revision=4638
2006-01-31 14:22:08 +00:00