1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 15:11:35 +00:00
Commit graph

2040 commits

Author SHA1 Message Date
Profpatsch c84dad316a lib/generators: print paths without quotes & move function down 2018-04-25 15:31:17 +02:00
John Ericson cf0dd1dbd2
Merge pull request #39172 from obsidiansystems/ios-cross
ios-sdk-pkgs: Init from iOS SDK from XCode
2018-04-19 17:00:05 -04:00
Ken Micklas ef3db7d14c ios-sdk-pkgs: Init from iOS SDK from XCode 2018-04-19 16:09:30 -04:00
John Ericson 53686e8995
Merge pull request #38485 from obsidiansystems/nixos-nixpkgs-options
nixpkgs module: Clean up platform options
2018-04-19 14:59:58 -04:00
John Wiegley 4cfdcedb71 Fix a typo: types.openSignifiantByte -> types.openSignificantByte 2018-04-13 18:41:53 -07:00
Jörg Thalheim 0fe11dbedd
Merge pull request #38611 from volth/nat-sort
lib: add naturalSort
2018-04-08 22:44:15 +01:00
volth 3f8c9106ea
lib: add naturalSort (move the example IPs to private space) 2018-04-08 13:54:39 +00:00
volth 25c2fd80b1 lib: add naturalSort 2018-04-08 13:18:13 +00:00
Silvan Mosberger e1dee4efcb lib: make extensible
This allows the lib fixed point to be extended with

  myLib = lib.extend (self: super: {
    foo = "foo";
  })

With this it's possible to have the new modified lib attrset available to all
modules when using evalModules

  myLib.evalModules {
    modules = [ ({ lib, ... }: {
      options.bar = lib.mkOption {
	default = lib.foo;
      };
    }) ];
  }

  => { config = { bar = "foo"; ... }; options = ...; }
2018-04-07 13:21:49 -04:00
John Ericson c6f7d43678 nixpkgs module: Clean up platform options
- `localSystem` is added, it strictly supercedes system

 - `crossSystem`'s description mentions `localSystem` (and vice versa).

 - No more weird special casing I don't even understand

TEMP
2018-04-06 12:41:44 -04:00
Profpatsch fa71407f36 lib/generators: introduce a sane default for mkValueString
So far, `mkValueString` defaulted to `toString`,
which is a bad match for most configuration file formats,
especially because how booleans are formatted.
This also improves error messages for unsupported types.

Add a test to codify the formatting.
2018-03-29 16:53:06 +02:00
Profpatsch a7e45fdd8e lib/generators: improve documentation a bit 2018-03-29 16:53:06 +02:00
Profpatsch 219ba583b2 lib/generators: improve toPretty
* properly escape strings
* remove one check for booleans
* improve error message
2018-03-29 16:53:06 +02:00
Franz Pletz e6f4614e85
lib/modules: fix typo 2018-03-28 02:28:15 +02:00
Shea Levy 26e8d58cb5
libseccomp: Disable only on RISC-V if Linux.
The isSeccomputable flag treated Linux without seccomp as just a
normal variant, when it really should be treated as a special case
incurring complexity debt to support.
2018-03-27 08:16:24 -04:00
Shea Levy cdf9a78a3e
kexectools: Disable only on RISC-V if Linux.
The isKexecable flag treated Linux without kexec as just a normal
variant, when it really should be treated as a special case incurring
complexity debt to support.
2018-03-27 08:15:07 -04:00
Matthew Justin Bauer 8f3091939b
Merge pull request #37752 from ryantm/fix-urls
treewide: use more HTTPS URLs
2018-03-25 00:40:17 -05: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
Shea Levy 20f51922c0
riscv-pk: Set platforms properly 2018-03-24 08:44:26 -04:00
Eelco Dolstra 7db841512a
Remove obsolete /nix/var/nix/{manifests,channel-cache} 2018-03-20 18:26:13 +01:00
John Ericson d9a1800239 lib: Add lib.platforms.windows 2018-03-20 12:47:45 -04:00
John Ericson 3c8ae01a45 lib: Make platforms.all actually match all platforms
Otherwise obscure cross-compilations are hampered. `all` breaks all but
the initial derivation (which we can't even write yet) in an open world
setting however, so we really shouldn't have it.
2018-03-20 12:46:19 -04:00
John Ericson 175d4ab1db lib: Make platform predicates greppable
Should have commited on here and on merged master to begin with, but I
didn't, so instead I cherry-pick.

(cherry picked from commit 88c04a8b6b)
2018-03-20 12:35:20 -04:00
John Ericson 88c04a8b6b lib: Make platform predicates greppable 2018-03-19 22:20:48 -04:00
John Ericson 3c331bff5b
Merge pull request #37395 from obsidiansystems/lib-meta-platform
lib: Factor in tiny bit of `meta.platform` checking
2018-03-19 20:12:50 -04:00
John Ericson e547bd0dc4 lib: Factor in tiny bit of meta.platform checking
I need it in stdenv and release-lib, so that seems motivation enough.
2018-03-19 19:29:16 -04:00
John Ericson c22e2f86c7
Merge pull request #37359 from obsidiansystems/lib-darwin-reorg
lib: Split Darwin into macOS and iOS
2018-03-19 15:08:06 -04:00
John Ericson bbfa2f9701 lib: Split Darwin into macOS and iOS
I noticed LLVM accepts `ios` as its own OS in platform triples; a
recent change as far as I know. I see it also accepts `macos*` for macOS
(formerly OS X). If it's now customary to distinguish iOS like so
(rather than guessing from the aarch, lets add both so our OSes are
still disjoint, and make Darwin a family instead.

But changing the config everywhere would probably be a mass rebuild, and
I'm not sure how well other software supports OSes besides "darwin", so
I'm keeping that the default name for macOS for now.
2018-03-19 12:02:49 -04:00
Moritz Küttel d17e6f2c3e add the CPAL-1.0 license
The 'Common Public Attribution License 1.0' is used
for projectlibre and required for packaging it into nixpkgs.
2018-03-18 19:30:50 +00:00
John Ericson 2fa2197a96
Merge pull request #34444 from obsidiansystems/meta-check
lib: Fix #30902
2018-03-18 13:51:03 -04:00
John Ericson c26252af3e lib, stdenv: Check meta.platforms against host platform and be open world
First, we need check against the host platform, not the build platform.
That's simple enough.

Second, we move away from exahustive finite case analysis (i.e.
exhaustively listing all platforms the package builds on). That only
work in a closed-world setting, where we know all platforms we might
build one. But with cross compilation, we may be building for arbitrary
platforms, So we need fancier filters. This is the closed world to open
world change.

The solution is instead of having a list of systems (strings in the form
"foo-bar"), we have a list of of systems or "patterns", i.e. attributes
that partially match the output of the parsers in `lib.systems.parse`.
The "check meta" logic treats the systems strings as an exact whitelist
just as before, but treats the patterns as a fuzzy whitelist,
intersecting the actual `hostPlatform` with the pattern and then
checking for equality. (This is done using `matchAttrs`).

The default convenience lists for `meta.platforms` are now changed to be
lists of patterns (usually a single pattern) in
`lib/systems/for-meta.nix` for maximum flexibility under this new
system.

Fixes #30902
2018-03-15 00:44:34 -04:00
John Ericson 2e87550ace
Merge pull request #36985 from obsidiansystems/no-allBut
treewide: get rid of platforms.allBut
2018-03-14 18:57:28 -04: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
Shea Levy b66d7dc0ce
lib.isStorePath: Fix derivation detection 2018-03-09 17:21:31 -05:00
Shea Levy 6fcf691545
lib-tests: Don't depend on /bin/sh
https://hydra.nixos.org/build/70748333
2018-03-08 08:36:35 -05:00
Jan Malakhovski 610b5b8045 rename lib/maintainers-list.nix into maintainers/maintainer-list.nix
Many commits unrelated to `lib` touch that file, this will make `git log ./lib` much saner.

This is what I meant in https://github.com/NixOS/nixpkgs/pull/36119#issuecomment-370184101.
2018-03-06 14:15:21 +00:00
Jörg Thalheim 07bc1ddace
Merge pull request #36250 from sengaya/add-ansible-lint
ansible-lint: init at 3.4.20
2018-03-06 00:12:37 +00:00
Graham Christensen 5e8bdb8972
maintainers: remove null fields 2018-03-05 11:14:35 -05:00
Graham Christensen 059a71a611
lib/options: teach showOptions about funny option names
Handle the case where options have funny symbols inside of them.

Example:

If I reference the following attribute without it being defined:

  security.acme.certs."example.com".webroot

I now get the error:

    The option `security.acme.certs."example.com".webroot' is used but
    not defined.

where before I got:

    The option `security.acme.certs.example.com.webroot' is used but
    not defined.

which is not true.
2018-03-05 09:58:06 -05:00
Jörg Thalheim 73774ef8f9
Merge pull request #36168 from ryantm/majorminor
a single version attribute for expressions previously using "majorVersion"
2018-03-04 20:06:48 +00:00
Ryan Mulligan a9d0778cd4 lib: add versions library 2018-03-04 06:28:34 -08:00
Thilo Uttendorfer 861e2de8a8 ansible-lint: init at 3.4.20 2018-03-04 14:14:00 +01:00
Shea Levy f1eb2f35a6
lib/tests: Add check-eval.nix to run simple tests.
This can be used by evaluation-only tools to validate tests are still
working.
2018-03-04 06:28:49 -05:00
Graham Christensen f7da7fa0c3 Revert "Revert "Convert maintainer file entries to attributes, add github handles"" 2018-03-04 05:13:19 +01:00
Graham Christensen b9f1a76f30 Revert "Convert maintainer file entries to attributes, add github handles"
This reverts commit aa47bac04f.
2018-03-03 22:34:17 -05:00
Graham Christensen 52963931cd Revert "lib/maintainers: correct wrong (clashing) github handles"
This reverts commit 8e4c39adeb.
2018-03-03 22:34:17 -05:00
Graham Christensen 43217601b0 Revert "lib/maintainers: add new maintainers before maintainers merge"
This reverts commit aecebe8280.
2018-03-03 22:34:17 -05:00
Graham Christensen 3e55c5d1f7 Revert "lib/maintainers: rename file to maintainers-list.nix"
This reverts commit 24684008df.
2018-03-03 22:34:17 -05:00
Profpatsch 24684008df lib/maintainers: rename file to maintainers-list.nix
Based on a request by @oxij:
“Can we also rename this file to `maintainers/maintainers-list.nix` while we at
this? Motivation: much saner `git log ./lib`.”
2018-03-04 03:26:44 +01:00
Profpatsch aecebe8280 lib/maintainers: add new maintainers before maintainers merge
Add new maintainers that were added before merging the new `maintainers.nix`
file format.
2018-03-04 03:26:44 +01:00
Profpatsch 8e4c39adeb lib/maintainers: correct wrong (clashing) github handles
Corrected every handle that had no commits to nixpkgs, manually researched the
correct handles by looking at maintained packages & blames/history on Github.
2018-03-04 03:26:44 +01:00
Profpatsch aa47bac04f Convert maintainer file entries to attributes, add github handles
Based on https://github.com/NixOS/nixpkgs/pull/34842, the
nix-instantiate output was pretty-printed and the validity of the github handles
manually verified, by automatically checking whether the user handles exist on
github (https://github.com/userhandle, status 200 or 404).
Each handle under 5 characters was manually checked (because the collision
probability with non-maintainer accounts is high), each missing entry was
manually researched.

The script used is kept in `maintainers/scripts` as an example of how to work
with the mainainers list through nix’ JSON interface.
2018-03-04 03:26:44 +01:00
Jörg Thalheim fe2acc2b2c
Merge pull request #36215 from xnaveira/py-junos-eznc
Py junos eznc
2018-03-03 17:35:58 +00:00
Vladimír Čunát 7b2cf5b12e
lib.addPassthru: removed as scheduled 2018-03-03 17:57:38 +01:00
Andrey Golovizin cc2aa6f358 pythonPackages.pymetar: add myself as maintainer 2018-03-02 16:46:36 +01:00
Xavier Naveira 284c6a5990 pythonPackages.scp: init at 0.10.2 2018-03-02 15:24:00 +01:00
timor 7e54a70960 maintainers: add myself 2018-03-01 23:54:04 +01:00
Erik Arvstedt f9f360883b untrunc: init at 2018.01.13 2018-03-01 20:30:48 +01:00
babariviere 6967498370 fix LD_PRELOAD error for bear 2018-03-01 18:14:24 +01:00
lejonet 565f22d27a nixos/ceph: init module (#35299)
All 5 daemon types can be enabled and configured through the module and the module both creates the ceph.conf required but also creates and enables specific services for each daemon, based on the systemd service files that upstream provides.
2018-03-01 11:47:13 +00:00
John Ericson 2482e2858e prebuilt android tools: Init using SDK
Expose as an option for the cross stdenv.
2018-02-27 14:15:39 -05:00
John Ericson dfc5d7835d
Merge pull request #35247 from telent/mips32
lib, treewide: Add missing MIPS arches, and fix existing usage
2018-02-27 14:01:15 -05:00
Teo Klestrup Röijezon c4bd96ee17 maintainers: add teozkr 2018-02-26 23:52:52 +01:00
Luka Blaskovic f65414ea07 maintainers: add lblasc 2018-02-26 09:16:57 +00:00
Shea Levy 3c57e770cf
Only build libseccomp on supported systems 2018-02-24 23:05:08 -05:00
Shea Levy 0ac6d4aeb6
gnu-efi: Fix aarch64 cross-build 2018-02-24 22:15:48 -05:00
Shea Levy 87270fb306
gnu-efi: Only build on efi-enabled systems 2018-02-24 21:49:31 -05:00
Shea Levy 63fa1fcb04
kexectools: Only build on kexecable architectures. 2018-02-24 10:37:54 -05:00
Daniel Barlow 9c50ae6898 lib, treewide: Add missing MIPS arches, and fix existing usage
Existing "mips64el" should be "mipsel".

This is just the barest minimum so that nixpkgs can recognize them as
systems - although required for building individual derivations onto
MIPS boards, it is not sufficient if you want to actually build nixos on
those targets
2018-02-23 20:43:42 -05:00
Vasyl Solovei c2b781a70e
maintainers: add svsdep 2018-02-23 06:56:56 +01:00
Franz Pletz 512fb52ed4
Merge pull request #35356 from troydm/master
rtl8192eu: init at 4.4.1
2018-02-22 23:46:35 +00:00
troydm 89d660f7f1 rtl8192eu: init at 4.4.1 2018-02-22 21:18:01 +02:00
Jörg Thalheim d4385d7fc3
Merge pull request #35134 from xeji/mfcl2720dw
mfcl2720dwlpr / mfcl2720dwcupswrapper: init at 3.2.0-1
2018-02-21 10:28:24 +00:00
Jörg Thalheim 599a223838
z88dk: init at unstable-2018-02-20 (#35244)
fixes #35039
2018-02-20 22:06:25 +00:00
lewo 040fb6c1a0
Merge pull request #35117 from suvash/add-docker-credential-gcr
docker-credential-gcr: init at 1.4.3
2018-02-20 12:32:46 +01:00
Jörg Thalheim b7fb6edf2e
Merge pull request #35178 from limeytexan/perl-BSD-Resource
perl-BSD-Resource: init at 1.2911
2018-02-20 11:03:30 +00:00
Shea Levy 32d3533b29
riscv: Compile console support into the kernel. 2018-02-19 22:43:18 -05:00
Shea Levy 6173f2f945
linux_riscv: Add 4.16-rc1.
Fixes #35148.
2018-02-19 12:14:22 -05:00
Michael Brantley a83716f256 perl-BSD-Resource: init at 1.2911 2018-02-19 09:38:45 -05:00
xeji e612f70393 new maintainer: xeji 2018-02-18 19:16:18 +01:00
Suvash Thapaliya c7e01acef2
docker-credential-gcr: init at 1.4.3
Docker authentication helper for Google Cloud (gcr.io) repositories
2018-02-18 15:48:30 +01:00
Shea Levy e288febee0
Add riscv{32,64} crossSystems. 2018-02-18 00:09:25 -05:00
Joachim F 5b98e8e231
Merge pull request #35001 from NinjaTrappeur/excelsior
fixedsys-excelsior: init at 3.00.
2018-02-17 18:35:51 +00:00
Anderson Torres ef5860db3e
Merge pull request #33446 from AndersonTorres/upload-jwasm
Jwasm: init at git-2017-11-22
2018-02-17 13:13:26 -02:00
Luke Sandell 635011f219 wsjtx: init at 1.8.0 (#33247) 2018-02-17 11:06:27 +00:00
Félix Baylac-Jacqué 91744fc76f
fixedsys-excelsior: init at 3.00. 2018-02-17 12:04:12 +01:00
Joachim F faf072166b
Merge pull request #29869 from Nadrieril/syncserver-fup
syncserver service: follow-up of #28189
2018-02-17 10:09:42 +00:00
Joachim F 3b9874452d
Merge pull request #34564 from StijnDW/master
Add new package "ncpamixer"
2018-02-16 22:09:04 +00:00
Stijn DW 71d1f053b7 Add StijnDW to maintainers list 2018-02-16 22:47:16 +01:00
Vladimír Čunát b5aaaf87a7
Merge staging and PR #35021
It's the last staging commit (mostly) built on Hydra,
and a minimal fix for Darwin regression in pysqlite.
2018-02-16 09:13:12 +01:00
Tad Fisher 9b7467eecb acpica-tools: init at 20180209 (#34883) 2018-02-15 20:50:57 +00:00
0x4A6F 4ef3b1bc48 Adding @0x4A6F to maintainers.nix (#34984)
* Adding @0x4A6F to maintainers.nix

* Removing decimal from handle

* Convert handle from Hex to ASCII
2018-02-15 07:46:14 +00:00
Tuomas Tynkkynen e4bfe5aac9 treewide: Drop kernelHeadersBaseConfig
Nothing actually needs this.
2018-02-14 01:47:28 +02:00
Tuomas Tynkkynen 1a06373c0a Merge remote-tracking branch 'upstream/master' into staging
Conflicts:
	pkgs/development/libraries/libclc/default.nix
	pkgs/top-level/all-packages.nix
2018-02-13 16:42:55 +02:00
Niko Pavlinek 0601c4e872 yokadi: init at 1.1.1 2018-02-12 21:01:48 +01:00
Vladimír Čunát 040bde9052
Merge #34866: nixos doc: efficient comparisons
This solves most of the performance regression from a7d75ab (#33898).
2018-02-12 08:31:43 +01:00
Profpatsch 53e790e7a8 maintainers: capitalize the Profpatsch attribute (vanity)
Since I’m already at it, this has been bothering me for a while.
2018-02-12 07:24:50 +01:00
adisbladis 0fb2ac4e20
Merge pull request #34830 from andrew-d/adunham/lego
lego: init at unstable-2018-02-02
2018-02-12 11:32:43 +08:00
Jan Malakhovski a3a8c1f54d lib: export option location in optionAttrSetToDocList 2018-02-11 22:04:09 +00:00
Will Dietz f090bbb248 Drop "isGlibc", but keep isMusl.
gnu "abi" doesn't mean glibc (mingw, apparently).
2018-02-11 14:55:17 -06:00
Will Dietz 2dfee94fe7 lib/systems: musl, libc predicates
Note this doesn't actually provide musl support yet,
just improves our "system" code to understand
musl-based triples and non-glibc linux configurations.
2018-02-11 14:20:14 -06:00
Andrew Dunham ac5e4d4990 lego: init at unstable-2018-02-02 2018-02-11 12:17:25 -08:00
Andreas Rammhold 7fad46051e
Merge pull request #34681 from xurei/master
postman: init at 5.5.2
2018-02-11 20:43:53 +01:00
Olivier Bourdoux 63a4cbfb43 postman: init at 5.5.2 2018-02-11 18:39:44 +01:00
Jörg Thalheim 78ab1b0a17
Merge pull request #34845 from yesbox/bfs_init
bfs: init at 1.2.1
2018-02-11 17:37:06 +00:00
Jesper Geertsen Jonsson 4cb393cf12 Adds license "BSD Zero Clause License" 2018-02-11 16:19:01 +01:00
Jesper Geertsen Jonsson 559047c67f Adds Jesper as maintainer :) 2018-02-11 16:18:19 +01:00
Frederik Rietdijk 27217271e1
Merge pull request #34826 from va1entin/pynacl
pythonPackages.pynacl: 0.3.0 -> 1.2.1
2018-02-11 08:48:56 +00:00
Valentin Heidelberger 97982f264a pythonPackages.pynacl: 0.3.0 -> 1.2.1 2018-02-11 01:52:38 +01:00
Robert Helgesson a7ed44ccad
lib: make use of visible variable in doRename
The `visible` variable was not hooked up previously. It is used to
determine whether the renamed option should be shown in the
documentation.
2018-02-10 10:29:33 +01:00
Graham Christensen 5aabf0fc34
Merge pull request #33898 from oxij/nixos/related-packages-v5
nixos: doc: implement related packages in the manual (again)
2018-02-09 20:36:27 -05:00
Jan Malakhovski 660806066a nixos, lib: implement relatedPackages option
This allows one to specify "related packages" in NixOS that get rendered into
the configuration.nix(5) man page. The interface philosophy is pretty much
stolen from TeX bibliography.

See the next several commits for examples.
2018-02-09 19:51:06 +00:00
Jan Malakhovski ee3220440d lib: implement compare, splitByAndCompare, and compareLists 2018-02-09 19:51:05 +00:00
symphorien 0146074560 nixos/tests: add predictable-interface-names.nix (#34305) 2018-02-09 18:40:39 +00:00
Matthieu Chevrier 00970f76f9 theharvester: init at 2.7.1 (#34704) 2018-02-09 09:00:15 +00:00
mkgvt f41eb52bc9 rename: init at 1.9 (#34719) 2018-02-09 08:05:11 +00:00
Robert Schütz c65e36c9ca lib/types: add types.nonEmptyListOf 2018-02-08 10:01:49 +01:00
Daiderd Jordan c0aa8f5fb8
Merge pull request #34630 from varunpatro/lsusb
lsusb for OSX
2018-02-07 18:34:41 +01:00
Varun Patro 768fe4f230
Add 'varunpatro' to maintainers list. 2018-02-07 14:00:46 +08:00
Michael Raskin 907474e649
Merge pull request #33088 from exFalso/add-subdl
init subdl package
2018-02-06 21:32:53 +00:00
Tuomas Tynkkynen c9d1bf3e76 platforms.nix: Include RPi 3 serial port in the kernel config 2018-02-06 22:14:09 +02:00
Bignaux Ronan 65f90f9c67 assaultcube: init at official master branch , rev = "9f537b0876a39d7686e773040469fbb1417de18b" (#34623)
* assaultcube: init at official git master branch
2018-02-05 16:06:49 +01:00
Graham Christensen 92b786a2fb
Merge pull request #30068 from mpickering/osm2xmap
libroxml: init at 2.3.0 and osm2xmap: init at 2.0 c1f7b68
2018-02-03 13:58:35 -05:00
Matthew Pickering 5dbaf18b69 Add mpickering to maintainers list 2018-02-03 18:35:54 +00:00
Răzvan Flavius Panda 4a7ae5c6b7 AntTweakBar: init at 1.16 2018-02-03 13:31:10 +02:00
Shea Levy 43f647e5b4
Merge branch 'dynamic-function-args' 2018-02-02 09:41:16 -05:00
Kevin Liu 93532b0d3a
looking-glass-client: init at a10 2018-02-02 01:46:00 +01:00
Frederik Rietdijk d30735f889
Merge pull request #34188 from dotlambda/home-assistant
home-assistant: init at 0.62.1
2018-02-01 08:44:48 +00:00
Franz Pletz c7885866e4
Merge pull request #34414 from dotlambda/postfix
postfix: Correct license
2018-02-01 08:34:33 +00:00
Shea Levy 943592f698
Add setFunctionArgs lib function.
Among other things, this will allow *2nix tools to output plain data
while still being composable with the traditional
callPackage/.override interfaces.
2018-01-31 14:02:19 -05:00
John Ericson afb87a66b3 lib: Avoid double import 2018-01-31 00:13:11 -05:00
John Ericson ad78ba1efa lib: Better use the module type system in platform parsing
I need some module system types here so I can next fix meta-checks for
derivations. I'd like to use a "proper" record type here, but submodule
types seem overkill so holding off with ad-hoc stuff for now. In
practice, all I need for the next step are the `.check` functions so
this is good, especially as the submodule check function is shallow,
saving full inductive type-checking for a later step.
2018-01-30 22:03:06 -05:00
Robert Schütz dff396484d postfix: Correct license 2018-01-30 13:15:41 +01:00
Jörg Thalheim add22af095
Merge pull request #34381 from JohnAZoidberg/less
nixos/less configure less with module
2018-01-30 10:41:39 +00:00
Felix Breidenstein 6a2ead51ad Add f-breidenstein as maintainer 2018-01-30 11:01:05 +01:00
Stefan Frijters 6c744fc93d pyprof2calltree: init at 1.4.3 (#34379) 2018-01-30 09:09:36 +00:00
Daniel Schaefer 192c2330d0 nixos/less configure less with module 2018-01-29 18:40:22 +07:00
adisbladis 19c87f87fb
Merge pull request #33882 from tilpner/goxel-init
goxel: init at 0.7.2
2018-01-28 22:32:59 +08:00
Graham Christensen 140f0a802c
Merge pull request #34096 from scode/scode/flameshot
flameshot: init at 0.5.0
2018-01-28 07:44:12 -05:00
Renato Alves 43b72ba4c5
Add Renato Alves (unode) to maintainers 2018-01-27 16:41:02 +01:00
John Ericson 57b01b1bcf lib, openssl: Get rid of openssl.system
We compute it on the fly, careful to avoid any mass rebuilds for now.
2018-01-26 21:22:00 -05:00
John Ericson 16a50f5a07 lib: Remove examples platforms' bigEndian attr
They still have `parsed.cpu.significantByte` which has the same info.
2018-01-26 21:22:00 -05:00
John Ericson 71f814a889 lib, glibc: Get rid of withTLS
glibc removed the underlying flag in 2011 in
83cd14204559abbb52635006832eaf4d2f42514a [1].

This gets us one step closer to fixing #34274: the cross stdenv for
aarch64-unknown-linux-gnu at least evals now.

Thanks to @Dezgeg for doing all the research for this.

[1]: https://sourceware.org/git/?p=glibc.git;a=commit;h=83cd14204559abbb52635006832eaf4d2f42514a
2018-01-26 23:29:06 +02:00
John Ericson 14725b94d5
Merge pull request #34269 from obsidiansystems/lib-riscv-wasm
lib: Allow parsing platform configs with arch of `{riscv,wasm}{32,64}`
2018-01-26 13:09:12 -05:00
John Ericson d1478c91c3 lib: Allow parsing platform configs with arch of {riscv,wasm}{32,64}
Also add `isRiscv` and `isWasm` predicates.
2018-01-26 12:44:05 -05:00
Orivej Desh 3989b33e74
Merge pull request #34245 from orivej/addPassthru
addPassthru: fix argument order
2018-01-25 10:37:36 +00:00
Samuel Leathers efdb0983da
Merge pull request #34199 from arcadio/kallisto
kallisto: init at 0.43.1
2018-01-24 20:43:24 -07:00
Orivej Desh ce1d740fa6 addPassthru: fix argument order
addPassthru became unused in #33057, but its signature was changed at the same
time.  This commit restores the original signature and updates the warning and
the changelog.
2018-01-24 23:06:12 +00:00
Arcadio Rubio García a7333e9ced kallisto: init at 0.43.1 2018-01-24 16:16:46 +00:00
チルノ b23e92eac1 tewisay: init at git-2017-04-14 (#33488) 2018-01-21 22:31:51 +00:00
Nicolas Mattia 1d47908879 gpp: init at 2.25 and add @nmattia as maintainer (#34098)
* maintainers: add nmattia
* gpp: init at 2.25

GPP is a handy preprocessing tool, not yet present in the package set.
2018-01-21 19:17:31 +00:00
Peter Schuller f08394436a flameshot: init at 0.5.0 2018-01-21 10:56:40 -08:00
Matan Shenhav c8300a0596 pythonPackage.python-oauth2: init at 1.0.1 2018-01-20 13:54:05 +00:00
Marek Mahut 9844e027c4 mencal: init at 3.0 2018-01-17 16:24:59 +02:00
Leon Schuermann a6dca04272
woof: init at 2012-05-31 2018-01-17 21:59:18 +08:00
y0no 7e0402632d bettercap: init at 1.6.2 (#33902) 2018-01-16 07:40:49 +00:00
tilpner fb1d094672
goxel: init at 0.7.2 2018-01-16 03:23:18 +01:00
Ashley Gillman 271d4a7ca0 dcm2niix: init at 1.0.20170130 2018-01-15 16:45:03 +10:00
Vladimír Čunát 67e8392383
Merge #33057: stdenv meta checks: make them lazy
Closes #22277 - it's superseded;  I have some WIP on evaluation
performance, but best do that in a separate PR/thread.
2018-01-14 21:41:31 +01:00
Jan Malakhovski 41df994001 lib: deprecate addPassthru 2018-01-14 19:54:47 +00:00
Jan Malakhovski 85cd22cf7d treewide: replace addPassthru 2018-01-14 19:53:57 +00:00
Jan Malakhovski 8606dd8556 lib: change the order of arguments of addPassthru 2018-01-14 13:24:30 +00:00
Graham Christensen 34b4d41a84
Merge pull request #33792 from paraseba/scidvspc
scid-vs-pc: init at version 4.18.1
2018-01-13 21:16:19 -05:00
Jörg Thalheim a100ed0ae3
Merge pull request #33793 from sellout/add/flootty
flootty: init at 3.2.1
2018-01-13 17:46:28 +00:00
xurei b9ae8efca5 libzxcvbn: init at 2.3 (#33822)
* Add package libzxcvbn

* zxcvbn-c: name after the project not the library
2018-01-13 10:40:45 +00:00
Greg Pfeil 38deb53542
Merge branch 'master' into add/flootty 2018-01-12 15:08:44 -07:00
Florian Engel 48776d58b1 lolcat: 42.1.0 -> 90.8.8 2018-01-12 20:18:54 +01:00
Gregory Pfeil 79db7c0616 flootty: init at 3.2.1 2018-01-12 10:32:50 -07:00
Sebastian Galkin 6b6e95ae1f Add paraseba as maintainer 2018-01-12 14:39:44 -02:00
Shea Levy 4e78aeb441
callCabal2nix: Fix calling with a path in the store. 2018-01-11 10:17:56 -05:00
Luz e056315a3e librepcb-unstable: init at 2017-12-29 (#33630) 2018-01-11 09:20:00 +00:00
Andreas Rammhold 32f6c9a73d
Merge pull request #33633 from samueldr/feature/dbeaver
dbeaver: inits at 4.3.2
2018-01-10 19:30:38 +00:00
Peter Simons a45ae5463b
Merge pull request #33312 from ElvishJerricco/composable-filter-source
Added composable version of `filterSource` to `lib`
2018-01-10 07:23:07 +01:00
Will Fancher 7e5f37d73b Added lib.cleanSourceWith as composable version of filterSource 2018-01-09 18:59:03 -05:00
Christian Kauhaus 18cf038d6f Update my e-mail address
My work address is more appropriate now.
2018-01-09 12:09:36 +01:00
Samuel Dionne-Riel b6829f5d6a maintainers: Adds samueldr. 2018-01-08 18:22:13 -05:00
Yegor Timoshenko ad26bfd316
lib/maintainers: fix typo 2018-01-08 15:12:00 +00:00
Alex Griffin a05e7a56d3 maintainers: add ajgrf 2018-01-06 09:09:30 -06:00
Orivej Desh a2a7d86942
Merge pull request #33252 from dzabraev/master
pysigset: init at 0.3.2
2018-01-06 03:13:15 +00:00
AndersonTorres 1d28f2ba69 Add watcom-1.0 license 2018-01-05 01:48:11 -02:00
Joachim F cf944e4c12
Merge pull request #33344 from dtzWill/feature/icesl
icesl: init at 2.1.10
2018-01-04 19:29:11 +00:00
Ryan Trinkle e1e5860ab5
Merge pull request #33346 from ryantrinkle/init-thunderbolt
Init thunderbolt at 0.9.2
2018-01-03 17:31:57 -05:00
Profpatsch 319722113e lib/generators: abort on pattern match failure 2018-01-03 23:13:50 +01:00
Jan Malakhovski b1ca8517ee lib: generalize addPassthru to extendDerivation 2018-01-03 12:20:24 +00:00
Ryan Trinkle 70cf769082 maintainers: add ryantrinkle 2018-01-02 14:27:20 -05:00
Merlin Göttlinger 60e76dfff8 icesl: init at 2.1.10 2018-01-02 13:19:47 -06:00
John Ericson 1ecebbd939
Merge pull request #33240 from velovix/master
lxterminal: init at 0.3.1
2018-01-02 10:05:28 -05:00
Jörg Thalheim 2563f7d2af
Merge pull request #33298 from chreekat/perl-vidir
perl-vidir: init at 0.040
2018-01-02 08:12:58 +01:00
Bryan Richter 453be1677e
perl-vidir: init at 0.040 2018-01-01 16:13:21 -05:00
Maxim Dzabraev 548a14a7b7 add new maintainer 2017-12-31 20:36:20 +03:00
Thomas Tuegel 6da5e73ad8
Merge pull request #27593 from bugworm/qtstyleplugin-kvantum
qtstyleplugin-kvantum: init at 0.10.4
2017-12-31 08:40:26 -06:00
Tyler Compton b1d1679d5c lxterminal: init at 0.3.1 2017-12-31 03:28:06 -07:00
David Asabina 8dbfe6990e maintainers: add @vidbina 2017-12-30 21:58:27 +01:00
Sébastien Maccagnoni 9db8e22679
gnomeExtensions.mediaplayer: init at 3.5 2017-12-30 20:00:22 +01:00
Adam Fidel 6a6e34b81e fastpbkdf2: init at version 1.0.0 (#33155) 2017-12-30 05:26:08 +03:00
Maciek Starzyk 8bf2a0971e miller: init at 5.2.2 2017-12-29 21:55:42 +01:00
John Mercier 78d76e4b55 jbake: init at 2.5.1 2017-12-29 03:26:13 +01:00
Joe Doyle e9886dde9b csfml: init at 2.4 (#33000) 2017-12-28 22:04:02 +01:00
hyphon81 50a6403b09
maintainers: Add hyphon81 2017-12-28 17:46:44 +01:00
exfalso 9cfe7e74e0 subdl: init at 4cf5789 2017-12-26 20:53:18 +00:00
Ivan Jager 36d0180057 altcoins.aeon: init at 0.9.14.0 2017-12-22 15:20:21 -06:00
Thane Gill ede2a5768f Add Thane Gill to maintainers 2017-12-14 17:26:27 -08:00
Joachim F fbc452c836
Merge pull request #32202 from ilya-kolpakov/python-quandl
pythonPackages.quandl: 3.0.0 -> 3.2.1
2017-12-14 16:49:19 +00:00
Sarah Brofeldt 8f8b9f1a50
Merge pull request #32597 from Enzime/add/syncplay
Add syncplay 1.5.0
2017-12-12 20:54:11 +01:00
André-Patrick Bubel bd384b0ae9 maintainers: Add moredread 2017-12-12 14:32:12 +01:00
Michael Hoang a1ab4788dd syncplay: init at 1.5.0 2017-12-13 00:06:12 +11:00
Pierre-Étienne Meunier a13fc5f4cc maintainers.nix: add pmeunier 2017-12-12 04:58:45 -06:00
Orivej Desh c7bf1b8a0e
Merge pull request #32036 from mbode/flink-1_3_2
flink: init at 1.3.2
2017-12-09 17:53:57 +00:00
Nadrieril 8851ef84c8 firefox.syncserver service: Add nadrieril to maintainers 2017-12-08 22:18:57 +00:00
Pascal Wittmann ae7e3a3a41
Merge pull request #32378 from markuskowa/master
airspy: init at 1.0.9
2017-12-07 12:38:38 +01:00
John Ericson cc20d402d4
Merge pull request #32361 from obsidiansystems/gcc-simplify-flags
gcc: Simplify configure flags
2017-12-07 00:59:49 -05:00
Izorkin 3025eb446b
mydumper: init at 0.9.3 2017-12-07 09:41:32 +08:00
Markus Kowalewski e832834a14 airspy: init at 1.0.9 2017-12-06 00:37:05 -08:00
John Ericson 43d5c5d6db Merge commit '703a9f93c1254f7bdf0350ca0462de0d78033c62' into gcc-simplify-flags 2017-12-05 17:58:16 -05:00
John Ericson 992bd2f6d3 Merge commit 'ab77a6bb1e7d2ff475210ad392f1a9bd1bb6ba3a' into gcc-simplify-flags 2017-12-05 17:41:15 -05:00
John Ericson 93cd0685c5 Merge commit '71186e73455a4e06e96a31da34b76f84e545ba1f' into gcc-simplify-flags 2017-12-05 17:09:41 -05:00
John Ericson c8d435476d lib: Unbreak pogoplug example platform
Vendor needed to be made valid
2017-12-05 14:17:00 -05:00
Bert Moens b8b7428a81 pcscd: add plugin for ACS ACR38U smart card reader 2017-12-05 20:11:17 +01:00
John Ericson 1fe9798ac2 lib, gcc: No inherit (platform) gcc; in {host,build,target}Platform 2017-12-05 13:52:20 -05:00
Ryan Trinkle 83048c4fe0 nixpkgs.lib: Add types.strMatching 2017-12-02 13:28:00 -05:00
Ryan Trinkle 6281eb123b nixpkgs.lib: Add escapeNixString 2017-12-02 13:28:00 -05:00
Jörg Thalheim ae096444a2
simgrid: 3.15 -> 3.17 (#32114)
* simgrid: 3.15 -> 3.17 + clean + add options

* Add myself as maintainer

* Fix typo
2017-12-01 22:14:24 +00:00
Ingolf Wagner 4896b37236
maintainers: changed email and nice of maintainer mrVanDalo 2017-12-01 13:10:55 -03:00
Maximilian Bode ea37640791 flink: init at 1.3.2 2017-11-29 02:01:32 +00:00
Mike Playle 3aecf95548 libamqpcpp: init at 2.7.4 2017-11-29 01:54:32 +00:00
Ilya Kolpakov 3e7a07b7a8 maintainers: add ilya-kolpakov <ilya.kolpakov@gmail.com> 2017-11-28 09:33:22 +01:00
MERCIER Michael 8fa00adf1a Add myself as maintainer 2017-11-27 17:58:49 +01:00
Renaud 819d089772
Merge pull request #31538 from c0bw3b/pkg/libsmbios
libsmbios: 2.3.2 -> 2.3.3
2017-11-26 18:19:14 +01:00
Christian Kögler 88df1a6374 maintainers: add ck3d
Closes #32047
2017-11-26 00:45:43 +00:00
Jörg Thalheim 428f52e2d9
Merge pull request #31956 from xaverdh/master
oneko: init at 1.2.5
2017-11-25 16:01:56 +00:00
Renaud 9083624cfc lib.licenses: add Open Software License
OSL and derivatives (AFL and NPOSL)
2017-11-25 16:08:17 +01:00
Thomas Kim Pham bd1864aec9 kompose: init at 1.5.0 (#32026) 2017-11-25 14:24:52 +00:00
Jörg Thalheim b0bf60a4e2
Merge pull request #32010 from pcarrier/pcarrier/minijail
minijail: init at android-8.0.0_r34
2017-11-25 10:09:09 +00:00
Pierre Carrier cb05c04f4e minijail: init at android-8.0.0_r34 2017-11-25 00:27:00 -05:00
Vladimír Čunát 7dfa97969a
Merge branch 'staging' (older one)
Hydra seems OK-ish, except that some aarch64 jobs need restarting
after qt4 timing out for the first time:
https://hydra.nixos.org/eval/1412641?compare=1412561
2017-11-24 18:36:54 +01:00
Yurii Rashkovskii fcec492c62 gdbgui: init at 0.9.0.1
Feature rich browser-based frontend with data structure visualizations
(like DDD), and gdb terminal access. Compatible with C, C++, golang,
Rust, fortran. Written in Python and JavaScript

gdbgui is at the top of the GDB Front Ends
list on https://sourceware.org/gdb/wiki/GDB%20Front%20Ends
2017-11-23 20:19:54 +07:00
Dominik Xaver Hörl ecdc401cc3 oneko: init at 1.2.5 2017-11-23 14:07:20 +01:00
Profpatsch 8e00dcd242 lib/generators: add mkValueString to mkKeyValueDefault generator
This means the generation of values can now be influenced, even down from e.g.
an INI generator.
Breaks the interface of `mkKeyValueDefault` to match its interface to other
generator functions. It might me sensible to rename `mkKeyValue` and
`mkKeyValueSet` to conform to the `toX`-style of generator functions.
2017-11-22 21:53:59 +01:00
Thomas Strobel c4aa4572f8 new license: Open Software License 3.0 2017-11-22 12:14:23 +01:00
Orivej Desh b8e1e7191e Merge branch 'master' into staging
* master: (80 commits)
  lkl: Supports aarch64
  wimlib: nitpicks
  gitAndTools.git-codeowners: 0.1.1 -> 0.1.2
  wimlib: init at 1.12.0
  kernel: improve modDirVersion error message
  releaseTools.sourceTarball: Clean up temporary files
  dotnetPackages.SmartIrc4net: rehash source
  migmix: make it a fixed-output derivation
  vm: Create /dev/full
  samba: 4.6.8 -> 4.6.11 to address CVEs CVE-2017-14746 & CVE-2017-15275
  microcodeIntel: 20170707 -> 20171117
  sshd: Remove ripemd160 MACs
  kernel config: Enable MEDIA_CONTROLLER
  linux: 4.4.99 -> 4.4.100
  linux: 4.9.63 -> 4.9.64
  nix-bash-completions: 0.4 -> 0.5
  linux: 4.14 -> 4.14.1
  linux: 4.13.14 -> 4.13.15
  nix-zsh-completions: 0.3.3 -> 0.3.5
  dns-root-data: use a stable URL that I maintain anyway
  ...
2017-11-21 22:48:36 +00:00
Eshin Kunishima 05ce88e6dd
migmix: init at 20150712 2017-11-21 20:28:27 +09:00
Orivej Desh 3c81b7639a lib: delete reference to lib/sandbox.nix
after it was deleted in 0fe7bde3d8
2017-11-19 10:19:21 +00:00
Orivej Desh daf8311ce1 Revert "lib: delete reference to lib/sandbox.nix"
This reverts commit 9ee089ae05.

0fe7bde3d8 is not in master yet and it would break
master if it were: https://github.com/NixOS/nixpkgs/pull/31803#pullrequestreview-77638434
2017-11-19 10:14:07 +00:00
Orivej Desh 9ee089ae05 lib: delete reference to lib/sandbox.nix
after it was deleted in 0fe7bde3d8
2017-11-19 09:03:43 +00:00
Orivej Desh b089c21506 Merge branch 'master' into staging
* master: (39 commits)
  python.pkgs.pybfd: move to python-modules
  documentation: python 2.6 is no more
  documentation: python3Packages is python36Packages
  wireguard: 0.0.20171101 -> 0.0.20171111
  php_excel: init at 1.0.2
  libxl: init at 3.8.1
  matrix-synapse: 0.24.1 -> 0.25.1
  grafana: 4.6.1 -> 4.6.2
  linux: 4.4.98 -> 4.4.99
  linux: 4.9.62 -> 4.9.63
  linux: 4.13.13 -> 4.13.14
  nixos/zsh: add the type for enableAutosuggestions option
  zsh-powerlevel9k: init at 2017-11-10
  fio: 3.1 -> 3.2
  filebench: rehash source
  nano: 2.8.7 -> 2.9.0
  bonnie: replace dead source link
  less: 520 -> 529
  strace: 4.19 -> 4.20
  iperf: 3.2 -> 3.3
  ...
2017-11-19 08:30:14 +00:00
Pierre Chevalier 81ea7d2dcb zsh-powerlevel9k: init at 2017-11-10
To use, add this option to your configuration.nix:
`programs.zsh.promptInit = "source ${pkgs.zsh-powerlevel9k}/share/zsh-powerlevel9k/powerlevel9k.zsh-theme";`
2017-11-18 21:27:04 +00:00
Orivej Desh 1161741351 Merge branch 'master' into staging
* master: (28 commits)
  go_1_9: skip flaky TestWaitGroupMisuse2
  erlangR18: fix patch hashes with fetchpatch
  xml2: replace dead links
  nixos/pam: fix docs about path to u2f_keys file
  cinelerra: add a note about parallel building
  msmtp: install docs and examples (#31769)
  kernel: Fix out-of-tree modules on aarch64
  nixos/tests/acme: update terms of service to fix test
  gixy: init at 0.1.8
  pythonPackages.ConfigArgParse: 0.9.3 -> 0.12.0, refactor, move to python-modules
  mono: init at 4.8
  wal-g: fix license so not to break evaluation
  wal-g: init at 0.1.2
  maintainers: add backuitist
  nixos/prometheus: Correct documentation for external_labels
  spidermonkey: replace broken links
  vagrant: removed custom rake gem
  vagrant: 2.0.0 -> 2.0.1
  nixos/prometheus: add external_labels option
  nixos/prometheus: add scrape_configs.honor_labels
  ...
2017-11-17 18:06:22 +00:00
Orivej Desh d7aefea2ef maintainers: add backuitist 2017-11-17 12:23:44 +00:00
Orivej Desh d99a2fc093 Merge branch 'master' into staging
* master: (293 commits)
  go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle
  qsyncthingtray: fix build
  qt56.qtwebengine: fix build
  stdman: d860212 -> 2017.04.02
  jackett: use mono50
  hg-git: disable with python3
  hg-git: 0.8.5 -> 0.8.10
  xfce4-settings: enable parallel building
  gcc-snapshot: mark as broken
  heaptrack: 2017-02-14 -> 2017-10-30
  nixos-container: Modify existing test to cover show-ip command
  nixos-container: Make show-ip work together with ipv4 + netmask
  linux-copperhead: 4.13.12.a -> 4.13.13.a
  matterbridge: 1.1.0 -> 1.4.1
  nixos/nghttpx: add module for the nghttpx proxy server (#31680)
  mattermost: 4.3.0 -> 4.4.0
  breakpad: delete
  simp_le: 0.2.0 -> 0.6.1
  certbot: 0.11.1 -> 0.19.0
  afl: 2.51b -> 2.52b
  ...
2017-11-17 05:35:09 +00:00
Samuel Leathers 07bd44b558
dotty: init at 0.4.0-RC1 2017-11-15 11:13:39 -05:00