Commit Graph

17 Commits

Author SHA1 Message Date
Felix Buehler
09e3b7a570 treewide: remove all updateWalker/downloadURLRegexp 2022-01-26 21:46:08 +01:00
Sergei Trofimovich
03bfd9f53e barcode: pull upstream fix for -fno-common toolchains
Without the change build fails as:

    $ nix build --impure --expr 'with import ./.{}; barcode.override { stdenv = clang12Stdenv; }' -L
    ...
    barcode> ld: barcode.h:126: multiple definition of `streaming';
      main.o:/build/barcode-0.99/./barcode.h:126: first defined here
2022-01-16 17:57:24 +00: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
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
c0bw3b
0498ccd076 Treewide: use HTTPS on GNU domains
HTTP -> HTTPS for :
- http://gnu.org/
- http://www.gnu.org/
- http://elpa.gnu.org/
- http://lists.gnu.org/
- http://gcc.gnu.org/
- http://ftp.gnu.org/ (except in fetchurl mirrors)
- http://bugs.gnu.org/
2018-12-02 15:51:59 +01:00
Pascal Wittmann
828bb68c20
barcode: add license
see issue #43716
2018-07-22 17:38:28 +02:00
John Ericson
f79f80dbf2 treewide: get rid of platforms.allBut
Negative reasoning like `allBut` is a bad idea with an open world of
platforms. Concretely, if we add a new, quite different sort of
platform, existing packages with `allBut` will claim they work on it
even though they probably won't.
2018-03-14 18:44:42 -04:00
Franz Pletz
aff1f4ab94 Use general hardening flag toggle lists
The following parameters are now available:

  * hardeningDisable
    To disable specific hardening flags
  * hardeningEnable
    To enable specific hardening flags

Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.

cc-wrapper supports the following flags:

  * fortify
  * stackprotector
  * pie (disabled by default)
  * pic
  * strictoverflow
  * format
  * relro
  * bindnow
2016-03-05 18:55:26 +01:00
Robin Gloster
e339a9a20e barcode: turn off format hardening 2016-02-10 23:27:37 +00:00
Joachim Fasting
2889b153c5 barcode: reimplement using mkDerivation 2015-11-24 14:45:15 +01:00
Michael Raskin
a27e27c1f9 Fix barcode src 2014-09-01 09:07:54 +04:00
Michael Raskin
92ad86bb5e Allow search for updates for GNU Barcode 2014-08-31 19:32:21 +04:00
Luca Bruno
64f2ab4fb7 barcode: unsupported on darwin 2014-08-09 14:30:13 +02:00
Nixpkgs Monitor
f7296b70f8 barcode: update from 0.98 to 0.99 2013-12-18 18:18:18 +02:00
Evgeny Egorochkin
da4be371e9 make package use mirror:// for gnu, savannah and gnome repositories where possible 2013-07-14 05:23:06 +03:00
Michael Raskin
da28284b28 Adding missing files for barcode
svn path=/nixpkgs/trunk/; revision=24174
2010-10-08 09:11:57 +00:00