Commit graph

24 commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01: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
Freezeboy
8f87a61de2 Replace platforms.linux with platforms.darwin for expressions that compile on darwin too (too restrictive platforms) 2019-02-18 10:56:58 +01:00
Jörg Thalheim
c054af4e58
filegive: use buildGoPackage 2018-12-11 22:08:05 +00:00
John Ericson
2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
Matthew Bauer
143978a477 treewide: remove platform assertions
linux: readd assertion
2018-05-03 13:09:20 -05:00
John Ericson
ba52ae5048 treewide: isArm -> isAarch32
Following legacy packing conventions, `isArm` was defined just for
32-bit ARM instruction set. This is confusing to non packagers though,
because Aarch64 is an ARM instruction set.

The official ARM overview for ARMv8[1] is surprisingly not confusing,
given the overall state of affairs for ARM naming conventions, and
offers us a solution. It divides the nomenclature into three levels:

```
ISA:             ARMv8   {-A, -R, -M}
                 /    \
Mode:     Aarch32     Aarch64
             |         /   \
Encoding:   A64      A32   T32
```

At the top is the overall v8 instruction set archicture. Second are the
two modes, defined by bitwidth but differing in other semantics too, and
buttom are the encodings, (hopefully?) isomorphic if they encode the
same mode.

The 32 bit encodings are mostly backwards compatible with previous
non-Thumb and Thumb encodings, and if so we can pun the mode names to
instead mean "sets of compatable or isomorphic encodings", and then
voilà we have nice names for 32-bit and 64-bit arm instruction sets
which do not use the word ARM so as to not confused either laymen or
experienced ARM packages.

[1]: https://developer.arm.com/products/architecture/a-profile
2018-04-25 15:28:55 -04:00
Pascal Wittmann
d0f75b4391 filegive: move from googlecode to github 2015-08-15 21:04:32 +02:00
Peter Simons
2d326e5032 Merge remote-tracking branch 'origin/master' into staging.
Conflicts:
	pkgs/desktops/e18/enlightenment.nix
2014-08-04 16:51:47 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Eelco Dolstra
40f7b0f9df Another attempt to eradicate ensureDir
See c556a6ea46.
2014-06-30 14:56:10 +02:00
Lluís Batlle i Rossell
b1a2c74394 Filegive: update to 0.7.4.
Compatibility with IE/chrome, report TLS connections, cipherings,
useragents, etc.
2014-01-18 16:06:35 +01:00
Lluís Batlle i Rossell
1b794c098b filegive update to 0.7.1 2013-10-07 09:34:25 +02:00
Lluís Batlle i Rossell
d19d528f97 Fixing filegie url 2013-10-01 09:19:46 +02:00
Lluís Batlle i Rossell
d71b3724de Updating filegive to 0.7 2013-09-30 22:33:06 +02:00
Evgeny Egorochkin
a42ba6d8fe filegive: change url so that it's friendlyto automated processing. This changes the tarball a
little(likely metadata) but it still builds.
2013-07-14 02:08:48 +03:00
Lluís Batlle i Rossell
f93971ef0c filegive: update to 0.6.1 2013-05-22 19:21:11 +02:00
Lluís Batlle i Rossell
e087ce095e filegive: update to 0.5.2
(fixing miniupnpd support)
2013-05-07 12:19:38 +02:00
Lluís Batlle i Rossell
a5adbf19a6 filegive: fixing licence, adding maintainer 2013-05-04 10:08:52 +04:00
Lluís Batlle i Rossell
5465a118e1 filegive: update to 0.5.1
nat-pmp, fixed upnp bugs, ...
2013-05-04 01:04:17 +04:00
Evgeny Egorochkin
6414a306a4 filegive: bump version to 0.3.1 2013-05-02 13:15:50 +03:00
Lluís Batlle i Rossell
28f87c0eb5 Adding description to filegive 2013-05-02 11:34:42 +04:00
Lluís Batlle i Rossell
bd55358159 Adding filegive, my file sending program 2013-05-02 11:32:58 +04:00