diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS
index 1027ccc9cba..62971ba2c72 100644
--- a/.github/CODEOWNERS
+++ b/.github/CODEOWNERS
@@ -58,11 +58,11 @@
/doc/languages-frameworks/python.section.md @FRidh
# Haskell
-/pkgs/development/compilers/ghc @basvandijk
-/pkgs/development/haskell-modules @basvandijk
-/pkgs/development/haskell-modules/default.nix @basvandijk
-/pkgs/development/haskell-modules/generic-builder.nix @basvandijk
-/pkgs/development/haskell-modules/hoogle.nix @basvandijk
+/pkgs/development/compilers/ghc @basvandijk @cdepillabout
+/pkgs/development/haskell-modules @basvandijk @cdepillabout
+/pkgs/development/haskell-modules/default.nix @basvandijk @cdepillabout
+/pkgs/development/haskell-modules/generic-builder.nix @basvandijk @cdepillabout
+/pkgs/development/haskell-modules/hoogle.nix @basvandijk @cdepillabout
# Perl
/pkgs/development/interpreters/perl @volth
@@ -107,8 +107,8 @@
# Eclipse
/pkgs/applications/editors/eclipse @rycee
-# https://github.com/NixOS/nixpkgs/issues/31401
-/lib/licenses.nix @ghost
+# Licenses
+/lib/licenses.nix @alyssais
# Qt / KDE
/pkgs/applications/kde @ttuegel
@@ -130,6 +130,12 @@
/nixos/tests/hardened.nix @joachifm
/pkgs/os-specific/linux/kernel/hardened-config.nix @joachifm
+# Network Time Daemons
+/pkgs/tools/networking/chrony @thoughtpolice
+/pkgs/tools/networking/ntp @thoughtpolice
+/pkgs/tools/networking/openntpd @thoughtpolice
+/nixos/modules/services/networking/ntp @thoughtpolice
+
# Dhall
/pkgs/development/dhall-modules @Gabriel439 @Profpatsch
/pkgs/development/interpreters/dhall @Gabriel439 @Profpatsch
@@ -139,3 +145,19 @@
# Bazel
/pkgs/development/tools/build-managers/bazel @mboes @Profpatsch
+
+# NixOS modules for e-mail and dns services
+/nixos/modules/services/mail/mailman.nix @peti
+/nixos/modules/services/mail/postfix.nix @peti
+/nixos/modules/services/networking/bind.nix @peti
+/nixos/modules/services/mail/rspamd.nix @peti
+
+# Emacs
+/pkgs/applications/editors/emacs-modes @adisbladis
+/pkgs/applications/editors/emacs @adisbladis
+/pkgs/top-level/emacs-packages.nix @adisbladis
+
+# Prometheus exporter modules and tests
+/nixos/modules/services/monitoring/prometheus/exporters.nix @WilliButz
+/nixos/modules/services/monitoring/prometheus/exporters.xml @WilliButz
+/nixos/tests/prometheus-exporters.nix @WilliButz
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 466d8d2c359..d7463385ae5 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -8,5 +8,4 @@
## Technical details
-Please run `nix-shell -p nix-info --run "nix-info -m"` and paste the
-results.
+Please run `nix run nixpkgs.nix-info -c nix-info -m` and paste the result.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 00000000000..8cc9a80758d
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,37 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: ''
+labels: '0.kind: bug'
+assignees: ''
+
+---
+
+**Describe the bug**
+A clear and concise description of what the bug is.
+
+**To Reproduce**
+Steps to reproduce the behavior:
+1. ...
+2. ...
+3. ...
+
+**Expected behavior**
+A clear and concise description of what you expected to happen.
+
+**Screenshots**
+If applicable, add screenshots to help explain your problem.
+
+**Additional context**
+Add any other context about the problem here.
+
+**Metadata**
+Please run `nix run nixpkgs.nix-info -c nix-info -m` and paste the result.
+
+Maintainer information:
+```yaml
+# a list of nixpkgs attributes affected by the problem
+attribute:
+# a list of nixos modules affected by the problem
+module:
+```
diff --git a/.github/ISSUE_TEMPLATE/packaging_request.md b/.github/ISSUE_TEMPLATE/packaging_request.md
new file mode 100644
index 00000000000..1ddcd983f31
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/packaging_request.md
@@ -0,0 +1,18 @@
+---
+name: Packaging requests
+about: For packages that are missing
+title: ''
+labels: '0.kind: packaging request'
+assignees: ''
+
+---
+
+**Project description**
+_describe the project a little_
+
+**Metadata**
+
+* homepage URL:
+* source URL:
+* license: mit, bsd, gpl2+ , ...
+* platforms: unix, linux, darwin, ...
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 834a2e81c13..a4f1c61e8f5 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -15,7 +15,9 @@
- [ ] Tested compilation of all pkgs that depend on this change using `nix-shell -p nix-review --run "nix-review wip"`
- [ ] Tested execution of all binary files (usually in `./result/bin/`)
- [ ] Determined the impact on package closure size (by running `nix path-info -S` before and after)
-- [ ] Assured whether relevant documentation is up to date
+- [ ] Ensured that relevant documentation is up to date
- [ ] Fits [CONTRIBUTING.md](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).
----
+###### Notify maintainers
+
+cc @
diff --git a/.version b/.version
index ba19dc3bb41..88b8320330d 100644
--- a/.version
+++ b/.version
@@ -1 +1 @@
-19.09
\ No newline at end of file
+20.03
\ No newline at end of file
diff --git a/README.md b/README.md
index 8cdbb73595b..b34438e41a8 100644
--- a/README.md
+++ b/README.md
@@ -1,47 +1,113 @@
-[
](https://nixos.org/nixos)
+
+
+
-[](https://www.codetriage.com/nixos/nixpkgs)
+
+
+
+
-Nixpkgs is a collection of packages for the [Nix](https://nixos.org/nix/) package
-manager. It is periodically built and tested by the [Hydra](https://hydra.nixos.org/)
-build daemon as so-called channels. To get channel information via git, add
-[nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels.git) as a remote:
+[Nixpkgs](https://github.com/nixos/nixpkgs) is a collection of over
+40,000 software packages that can be installed with the
+[Nix](https://nixos.org/nix/) package manager. It also implements
+[NixOS](https://nixos.org/nixos/), a purely-functional Linux distribution.
-```
-% git remote add channels https://github.com/NixOS/nixpkgs-channels.git
-```
+# Manuals
-For stability and maximum binary package support, it is recommended to maintain
-custom changes on top of one of the channels, e.g. `nixos-19.03` for the latest
-release and `nixos-unstable` for the latest successful build of master:
+* [NixOS Manual](https://nixos.org/nixos/manual) - how to install, configure, and maintain a purely-functional Linux distribution
+* [Nixpkgs Manual](https://nixos.org/nixpkgs/manual/) - contributing to Nixpkgs and using programming-language-specific Nix expressions
+* [Nix Package Manager Manual](https://nixos.org/nix/manual) - how to write Nix expresssions (programs), and how to use Nix command line tools
-```
-% git remote update channels
-% git rebase channels/nixos-19.03
-```
-
-For pull requests, please rebase onto nixpkgs `master`.
-
-[NixOS](https://nixos.org/nixos/) Linux distribution source code is located inside
-`nixos/` folder.
-
-* [NixOS installation instructions](https://nixos.org/nixos/manual/#ch-installation)
-* [Documentation (Nix Expression Language chapter)](https://nixos.org/nix/manual/#ch-expression-language)
-* [Manual (How to write packages for Nix)](https://nixos.org/nixpkgs/manual/)
-* [Manual (NixOS)](https://nixos.org/nixos/manual/)
-* [Community maintained wiki](https://nixos.wiki/)
-* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
-* [Continuous package builds for 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
-* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
-* [Tests for 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)
-
-Communication:
+# Community
* [Discourse Forum](https://discourse.nixos.org/)
* [IRC - #nixos on freenode.net](irc://irc.freenode.net/#nixos)
+* [NixOS Weekly](https://weekly.nixos.org/)
+* [Community-maintained wiki](https://nixos.wiki/)
-Note: MIT license does not apply to the packages built by Nixpkgs, merely to
-the package descriptions (Nix expressions, build scripts, and so on). It also
-might not apply to patches included in Nixpkgs, which may be derivative works
-of the packages to which they apply. The aforementioned artifacts are all
-covered by the licenses of the respective packages.
+# Other Project Repositories
+
+The sources of all offical Nix-related projects are in the [NixOS
+organization on GitHub](https://github.com/NixOS/). Here are some of
+the main ones:
+
+* [Nix](https://github.com/NixOS/nix) - the purely functional package manager
+* [NixOps](https://github.com/NixOS/nixops) - the tool to remotely deploy NixOS machines
+* [Nix RFCs](https://github.com/NixOS/rfcs) - the formal process for making substantial changes to the community
+* [NixOS homepage](https://github.com/NixOS/nixos-homepage) - the [NixOS.org](https://nixos.org) website
+* [hydra](https://github.com/NixOS/hydra) - our continuous integration system
+* [NixOS Artwork](https://github.com/NixOS/nixos-artwork) - NixOS artwork
+
+# Continuous Integration and Distribution
+
+Nixpkgs and NixOS are built and tested by our continuous integration
+system, [Hydra](https://hydra.nixos.org/).
+
+* [Continuous package builds for unstable/master](https://hydra.nixos.org/jobset/nixos/trunk-combined)
+* [Continuous package builds for the NixOS 19.03 release](https://hydra.nixos.org/jobset/nixos/release-19.03)
+* [Tests for unstable/master](https://hydra.nixos.org/job/nixos/trunk-combined/tested#tabs-constituents)
+* [Tests for the NixOS 19.03 release](https://hydra.nixos.org/job/nixos/release-19.03/tested#tabs-constituents)
+
+Artifacts successfully built with Hydra are published to cache at
+https://cache.nixos.org/. When successful build and test criteria are
+met, the Nixpkgs expressions are distributed via [Nix
+channels](https://nixos.org/nix/manual/#sec-channels). The channels
+are provided via a read-only mirror of the Nixpkgs repository called
+[nixpkgs-channels](https://github.com/NixOS/nixpkgs-channels).
+
+# Contributing
+
+Nixpkgs is among the most active projects on GitHub. While thousands
+of open issues and pull requests might seem a lot at first, it helps
+consider it in the context of the scope of the project. Nixpkgs
+describes how to build over 40,000 pieces of software and implements a
+Linux distribution. The [GitHub Insights](https://github.com/NixOS/nixpkgs/pulse)
+page gives a sense of the project activity.
+
+Community contributions are always welcome through GitHub Issues and
+Pull Requests. When pull requests are made, our tooling automation bot,
+[OfBorg](https://github.com/NixOS/ofborg) will perform various checks
+to help ensure expression quality.
+
+The *Nixpkgs maintainers* are people who have assigned themselves to
+maintain specific individual packages. We encourage people who care
+about a package to assign themselves as a maintainer. When a pull
+request is made against a package, OfBorg will notify the appropriate
+maintainer(s). The *Nixpkgs committers* are people who have been given
+permission to merge.
+
+Most contributions are based on and merged into these branches:
+
+* `master` is the main branch where all small contributions go
+* `staging` is branched from master, changes that have a big impact on
+ Hydra builds go to this branch
+* `staging-next` is branched from staging and only fixes to stabilize
+ and security fixes with a big impact on Hydra builds should be
+ contributed to this branch. This branch is merged into master when
+ deemed of sufficiently high quality
+
+For more information about contributing to the project, please visit
+the [contributing page](https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md).
+
+# Donations
+
+The infrastructure for NixOS and related projects is maintained by a
+nonprofit organization, the [NixOS
+Foundation](https://nixos.org/nixos/foundation.html). To ensure the
+continuity and expansion of the NixOS infrastructure, we are looking
+for donations to our organization.
+
+You can donate to the NixOS foundation by using Open Collective:
+
+
+
+# License
+
+Nixpkgs is licensed under the [MIT License](COPYING).
+
+Note: MIT license does not apply to the packages built by Nixpkgs,
+merely to the files in this repository (the Nix expressions, build
+scripts, NixOS modules, etc.). It also might not apply to patches
+included in Nixpkgs, which may be derivative works of the packages to
+which they apply. The aforementioned artifacts are all covered by the
+licenses of the respective packages.
diff --git a/doc/Makefile b/doc/Makefile
index 5badfe4138d..e7ca31b20d7 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -8,10 +8,10 @@ debug:
nix-shell --run "xmloscopy --docbook5 ./manual.xml ./manual-full.xml"
.PHONY: format
-format:
+format: doc-support/result
find . -iname '*.xml' -type f | while read f; do \
echo $$f ;\
- xmlformat --config-file "$$XMLFORMAT_CONFIG" -i $$f ;\
+ xmlformat --config-file "doc-support/result/xmlformat.conf" -i $$f ;\
done
.PHONY: fix-misc-xml
@@ -21,19 +21,19 @@ fix-misc-xml:
.PHONY: clean
clean:
- rm -f ${MD_TARGETS} .version manual-full.xml functions/library/locations.xml functions/library/generated
+ rm -f ${MD_TARGETS} doc-support/result .version manual-full.xml functions/library/locations.xml functions/library/generated
rm -rf ./out/ ./highlightjs
.PHONY: validate
-validate: manual-full.xml
- jing "$$RNG" manual-full.xml
+validate: manual-full.xml doc-support/result
+ jing doc-support/result/docbook.rng manual-full.xml
-out/html/index.html: manual-full.xml style.css highlightjs
+out/html/index.html: doc-support/result manual-full.xml style.css highlightjs
mkdir -p out/html
- xsltproc ${xsltFlags} \
+ xsltproc \
--nonet --xinclude \
--output $@ \
- "$$XSL/docbook/xhtml/docbook.xsl" \
+ doc-support/result/xhtml.xsl \
./manual-full.xml
mkdir -p out/html/highlightjs/
@@ -43,49 +43,48 @@ out/html/index.html: manual-full.xml style.css highlightjs
cp ./style.css out/html/style.css
mkdir -p out/html/images/callouts
- cp "$$XSL/docbook/images/callouts/"*.svg out/html/images/callouts/
+ cp doc-support/result/xsl/docbook/images/callouts/*.svg out/html/images/callouts/
chmod u+w -R out/html/
out/epub/manual.epub: manual-full.xml
mkdir -p out/epub/scratch
- xsltproc ${xsltFlags} --nonet \
+ xsltproc --nonet \
--output out/epub/scratch/ \
- "$$XSL/docbook/epub/docbook.xsl" \
+ doc-support/result/epub.xsl \
./manual-full.xml
cp ./overrides.css out/epub/scratch/OEBPS
cp ./style.css out/epub/scratch/OEBPS
mkdir -p out/epub/scratch/OEBPS/images/callouts/
- cp "$$XSL/docbook/images/callouts/"*.svg out/epub/scratch/OEBPS/images/callouts/
+ cp doc-support/result/xsl/docbook/images/callouts/*.svg out/epub/scratch/OEBPS/images/callouts/
echo "application/epub+zip" > mimetype
zip -0Xq "out/epub/manual.epub" mimetype
rm mimetype
cd "out/epub/scratch/" && zip -Xr9D "../manual.epub" *
rm -rf "out/epub/scratch/"
-highlightjs:
+highlightjs: doc-support/result
mkdir -p highlightjs
- cp -r "$$HIGHLIGHTJS/highlight.pack.js" highlightjs/
- cp -r "$$HIGHLIGHTJS/LICENSE" highlightjs/
- cp -r "$$HIGHLIGHTJS/mono-blue.css" highlightjs/
- cp -r "$$HIGHLIGHTJS/loader.js" highlightjs/
+ cp -r doc-support/result/highlightjs/highlight.pack.js highlightjs/
+ cp -r doc-support/result/highlightjs/LICENSE highlightjs/
+ cp -r doc-support/result/highlightjs/mono-blue.css highlightjs/
+ cp -r doc-support/result/highlightjs/loader.js highlightjs/
manual-full.xml: ${MD_TARGETS} .version functions/library/locations.xml functions/library/generated *.xml **/*.xml **/**/*.xml
xmllint --nonet --xinclude --noxincludenode manual.xml --output manual-full.xml
-.version:
- nix-instantiate --eval \
- -E '(import ../lib).version' > .version
+.version: doc-support/result
+ ln -rfs ./doc-support/result/version .version
-functions/library/locations.xml:
- nix-build ./lib-function-locations.nix \
- --out-link $@
+doc-support/result: doc-support/default.nix
+ (cd doc-support; nix-build)
-functions/library/generated: functions/library/locations.xml
- nix-build ./lib-function-docs.nix \
- --arg locationsXml $< \
- --out-link $@
+functions/library/locations.xml: doc-support/result
+ ln -rfs ./doc-support/result/function-locations.xml functions/library/locations.xml
+
+functions/library/generated: doc-support/result
+ ln -rfs ./doc-support/result/function-docs functions/library/generated
%.section.xml: %.section.md
pandoc $^ -w docbook+smart \
diff --git a/doc/coding-conventions.xml b/doc/coding-conventions.xml
index 58ce9c7e627..48356247a49 100644
--- a/doc/coding-conventions.xml
+++ b/doc/coding-conventions.xml
@@ -921,7 +921,7 @@ src = fetchFromGitHub {
You can convert between formats with nix-hash, for example:
-$ nix-hash --type sha256 --to-base32 HASH
+$ nix-hash --type sha256 --to-base32 HASH
@@ -1038,7 +1038,7 @@ patches = [ ./0001-changes.patch ];
Move to the root directory of the source code you're patching.
-$ cd the/program/source
+$ cd the/program/source
@@ -1046,8 +1046,8 @@ $ cd the/program/source
If a git repository is not already present, create one and stage all of
the source files.
-$ git init
-$ git add .
+$ git init
+$ git add .
@@ -1060,7 +1060,7 @@ $ git add .
Use git to create a diff, and pipe the output to a patch file:
-$ git diff > nixpkgs/pkgs/the/package/0001-changes.patch
+$ git diff > nixpkgs/pkgs/the/package/0001-changes.patch
diff --git a/doc/contributing.xml b/doc/contributing.xml
index d28442b7a2c..523c1c9c8f0 100644
--- a/doc/contributing.xml
+++ b/doc/contributing.xml
@@ -12,9 +12,9 @@ xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc
You can quickly check your edits with make:
- $ cd /path/to/nixpkgs/doc
- $ nix-shell
- [nix-shell]$ make
+$ cd /path/to/nixpkgs/doc
+$ nix-shell
+[nix-shell]$ make
If you experience problems, run make debug to help
@@ -24,10 +24,10 @@ xlink:href="https://github.com/NixOS/nixpkgs/tree/master/doc">doc
After making modifications to the manual, it's important to build it before
committing. You can do that as follows:
- $ cd /path/to/nixpkgs/doc
- $ nix-shell
- [nix-shell]$ make clean
- [nix-shell]$ nix-build .
+$ cd /path/to/nixpkgs/doc
+$ nix-shell
+[nix-shell]$ make clean
+[nix-shell]$ nix-build .
If the build succeeds, the manual will be in
./result/share/doc/nixpkgs/manual.html.
diff --git a/doc/default.nix b/doc/default.nix
index 7ceaec28af3..d9051167dee 100644
--- a/doc/default.nix
+++ b/doc/default.nix
@@ -1,8 +1,7 @@
{ pkgs ? (import ./.. { }), nixpkgs ? { }}:
let
lib = pkgs.lib;
- locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; };
- functionDocs = import ./lib-function-docs.nix { inherit locationsXml pkgs; };
+ doc-support = import ./doc-support { inherit pkgs nixpkgs; };
in pkgs.stdenv.mkDerivation {
name = "nixpkgs-manual";
@@ -10,30 +9,8 @@ in pkgs.stdenv.mkDerivation {
src = ./.;
- # Hacking on these variables? Make sure to close and open
- # nix-shell between each test, maybe even:
- # $ nix-shell --run "make clean all"
- # otherwise they won't reapply :)
- HIGHLIGHTJS = pkgs.documentation-highlighter;
- XSL = "${pkgs.docbook_xsl_ns}/xml/xsl";
- RNG = "${pkgs.docbook5}/xml/rng/docbook/docbook.rng";
- XMLFORMAT_CONFIG = ../nixos/doc/xmlformat.conf;
- xsltFlags = lib.concatStringsSep " " [
- "--param section.autolabel 1"
- "--param section.label.includes.component.label 1"
- "--stringparam html.stylesheet 'style.css overrides.css highlightjs/mono-blue.css'"
- "--stringparam html.script './highlightjs/highlight.pack.js ./highlightjs/loader.js'"
- "--param xref.with.number.and.title 1"
- "--param toc.section.depth 3"
- "--stringparam admon.style ''"
- "--stringparam callout.graphics.extension .svg"
- ];
-
postPatch = ''
- rm -rf ./functions/library/locations.xml
- ln -s ${locationsXml} ./functions/library/locations.xml
- ln -s ${functionDocs} ./functions/library/generated
- echo ${lib.version} > .version
+ ln -s ${doc-support} ./doc-support/result
'';
installPhase = ''
diff --git a/doc/doc-support/default.nix b/doc/doc-support/default.nix
new file mode 100644
index 00000000000..53990b67719
--- /dev/null
+++ b/doc/doc-support/default.nix
@@ -0,0 +1,45 @@
+{ pkgs ? (import ../.. {}), nixpkgs ? { }}:
+let
+ locationsXml = import ./lib-function-locations.nix { inherit pkgs nixpkgs; };
+ functionDocs = import ./lib-function-docs.nix { inherit locationsXml pkgs; };
+ version = pkgs.lib.version;
+
+ epub-xsl = pkgs.writeText "epub.xsl" ''
+
+
+
+
+
+ '';
+
+ xhtml-xsl = pkgs.writeText "xhtml.xsl" ''
+
+
+
+
+
+ '';
+in pkgs.runCommand "doc-support" {}
+''
+ mkdir result
+ (
+ cd result
+ ln -s ${locationsXml} ./function-locations.xml
+ ln -s ${functionDocs} ./function-docs
+
+ ln -s ${pkgs.docbook5}/xml/rng/docbook/docbook.rng ./docbook.rng
+ ln -s ${pkgs.docbook_xsl_ns}/xml/xsl ./xsl
+ ln -s ${epub-xsl} ./epub.xsl
+ ln -s ${xhtml-xsl} ./xhtml.xsl
+
+ ln -s ${../../nixos/doc/xmlformat.conf} ./xmlformat.conf
+ ln -s ${pkgs.documentation-highlighter} ./highlightjs
+
+ echo -n "${version}" > ./version
+ )
+ mv result $out
+''
diff --git a/doc/lib-function-docs.nix b/doc/doc-support/lib-function-docs.nix
similarity index 97%
rename from doc/lib-function-docs.nix
rename to doc/doc-support/lib-function-docs.nix
index 421f848d25a..5199b949e7b 100644
--- a/doc/lib-function-docs.nix
+++ b/doc/doc-support/lib-function-docs.nix
@@ -6,7 +6,7 @@
with pkgs; stdenv.mkDerivation {
name = "nixpkgs-lib-docs";
- src = ./../lib;
+ src = ./../../lib;
buildInputs = [ nixdoc ];
installPhase = ''
diff --git a/doc/lib-function-locations.nix b/doc/doc-support/lib-function-locations.nix
similarity index 95%
rename from doc/lib-function-locations.nix
rename to doc/doc-support/lib-function-locations.nix
index ae7036e4626..68edd270985 100644
--- a/doc/lib-function-locations.nix
+++ b/doc/doc-support/lib-function-locations.nix
@@ -14,10 +14,10 @@ let
builtins.map
(subsetname: {
subsetname = subsetname;
- functions = libDefPos toplib."${subsetname}";
+ functions = libDefPos toplib.${subsetname};
})
(builtins.filter
- (name: builtins.isAttrs toplib."${name}")
+ (name: builtins.isAttrs toplib.${name})
(builtins.attrNames toplib));
nixpkgsLib = pkgs.lib;
diff --git a/doc/doc-support/parameters.xml b/doc/doc-support/parameters.xml
new file mode 100644
index 00000000000..bc13e2b70de
--- /dev/null
+++ b/doc/doc-support/parameters.xml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/doc/functions.xml b/doc/functions.xml
index 1f2d00b9e1a..96bd95958ea 100644
--- a/doc/functions.xml
+++ b/doc/functions.xml
@@ -16,7 +16,9 @@
+
+
diff --git a/doc/functions/appimagetools.xml b/doc/functions/appimagetools.xml
index 4205c6da385..e6dbc22f48d 100644
--- a/doc/functions/appimagetools.xml
+++ b/doc/functions/appimagetools.xml
@@ -52,7 +52,7 @@ spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: off
$ file -k type2.AppImage
type2.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) (Lepton 3.x), scale 232-60668, spot sensor temperature -4.187500, color scheme 15, show scale bar, calibration: offset -0.000000, slope 0.000000 (Lepton 2.x), scale 4111-45000, spot sensor temperature 412442.250000, color scheme 3, minimum point enabled, calibration: offset -75402534979642766821519867692934234112.000000, slope 5815371847733706829839455140374904832.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=79dcc4e55a61c293c5e19edbd8d65b202842579f, stripped\012- data
-
+
Note how the type 1 AppImage is described as an ISO 9660 CD-ROM
diff --git a/doc/functions/dockertools.xml b/doc/functions/dockertools.xml
index e95ce1979de..a284182bb04 100644
--- a/doc/functions/dockertools.xml
+++ b/doc/functions/dockertools.xml
@@ -312,7 +312,23 @@ hello latest de2bf4786de6 About a minute ago 25.2MB
Maximum number of layers to create.
- Default: 24
+ Default: 100
+
+
+ Maximum: 125
+
+
+
+
+
+ extraCommands optional
+
+
+
+ Shell commands to run while building the final layer, without access
+ to most of the layer contents. Changes to this layer are "on top"
+ of all the other layers, so can create additional directories
+ and files.
@@ -480,9 +496,9 @@ pullImage {
nix-prefetch-docker command can be used to get required
image parameters:
-
-$ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql --image-tag 5
-
+
+$ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql --image-tag 5
+
Since a given imageName may transparently refer to a
manifest list of images which support multiple architectures and/or
@@ -491,17 +507,17 @@ $ nix run nixpkgs.nix-prefetch-docker -c nix-prefetch-docker --image-name mysql
By default it will match the OS and architecture of the host the command is
run on.
-
-$ nix-prefetch-docker --image-name mysql --image-tag 5 --arch x86_64 --os linux
-
+
+$ nix-prefetch-docker --image-name mysql --image-tag 5 --arch x86_64 --os linux
+
Desired image name and tag can be set using
and
arguments:
-
-$ nix-prefetch-docker --image-name mysql --image-tag 5 --final-image-name eu.gcr.io/my-project/mysql --final-image-tag prod
-
+
+$ nix-prefetch-docker --image-name mysql --image-tag 5 --final-image-name eu.gcr.io/my-project/mysql --final-image-tag prod
+
@@ -537,7 +553,7 @@ exportImage {
name = someLayeredImage.name;
}
-
+
diff --git a/doc/functions/ocitools.xml b/doc/functions/ocitools.xml
new file mode 100644
index 00000000000..163bee2382e
--- /dev/null
+++ b/doc/functions/ocitools.xml
@@ -0,0 +1,76 @@
+
+ pkgs.ociTools
+
+
+ pkgs.ociTools is a set of functions for creating
+ containers according to the
+ OCI
+ container specification v1.0.0. Beyond that it makes no assumptions
+ about the container runner you choose to use to run the created container.
+
+
+
+ buildContainer
+
+
+ This function creates a simple OCI container that runs a single command
+ inside of it. An OCI container consists of a config.json
+ and a rootfs directory.The nix store of the container will contain all
+ referenced dependencies of the given command.
+
+
+
+ The parameters of buildContainer with an example value
+ are described below:
+
+
+
+ Build Container
+
+buildContainer {
+ args = [ (with pkgs; writeScript "run.sh" ''
+ #!${bash}/bin/bash
+ ${coreutils}/bin/exec ${bash}/bin/bash
+ '').outPath ];
+
+ mounts = {
+ "/data" = {
+ type = "none";
+ source = "/var/lib/mydata";
+ options = [ "bind" ];
+ };
+ };
+
+ readonly = false;
+}
+
+
+
+
+
+ args specifies a set of arguments to run inside the container.
+ This is the only required argument for buildContainer.
+ All referenced packages inside the derivation will be made available
+ inside the container
+
+
+
+
+ mounts specifies additional mount points chosen by the
+ user. By default only a minimal set of necessary filesystems are mounted
+ into the container (e.g procfs, cgroupfs)
+
+
+
+
+ readonly makes the container's rootfs read-only if it is set to true.
+ The default value is false false.
+
+
+
+
+
+
diff --git a/doc/functions/prefer-remote-fetch.xml b/doc/functions/prefer-remote-fetch.xml
index 2ccad921806..3e43fd28ade 100644
--- a/doc/functions/prefer-remote-fetch.xml
+++ b/doc/functions/prefer-remote-fetch.xml
@@ -10,16 +10,16 @@
upload while the builder can fetch faster directly from the source. To use
it, put the following snippet as a new overlay:
- self: super:
- (super.prefer-remote-fetch self super)
-
+self: super:
+ (super.prefer-remote-fetch self super)
+
A full configuration example for that sets the overlay up for your own
account, could look like this
-
- $ mkdir ~/.config/nixpkgs/overlays/
- $ cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF
- self: super: super.prefer-remote-fetch self super
- EOF
-
+
+$ mkdir ~/.config/nixpkgs/overlays/
+$ cat > ~/.config/nixpkgs/overlays/prefer-remote-fetch.nix <<EOF
+ self: super: super.prefer-remote-fetch self super
+EOF
+
diff --git a/doc/functions/snap/example-firefox.nix b/doc/functions/snap/example-firefox.nix
new file mode 100644
index 00000000000..d58c98a65a2
--- /dev/null
+++ b/doc/functions/snap/example-firefox.nix
@@ -0,0 +1,28 @@
+let
+ inherit (import { }) snapTools firefox;
+in snapTools.makeSnap {
+ meta = {
+ name = "nix-example-firefox";
+ summary = firefox.meta.description;
+ architectures = [ "amd64" ];
+ apps.nix-example-firefox = {
+ command = "${firefox}/bin/firefox";
+ plugs = [
+ "pulseaudio"
+ "camera"
+ "browser-support"
+ "avahi-observe"
+ "cups-control"
+ "desktop"
+ "desktop-legacy"
+ "gsettings"
+ "home"
+ "network"
+ "mount-observe"
+ "removable-media"
+ "x11"
+ ];
+ };
+ confinement = "strict";
+ };
+}
diff --git a/doc/functions/snap/example-hello.nix b/doc/functions/snap/example-hello.nix
new file mode 100644
index 00000000000..123da80c547
--- /dev/null
+++ b/doc/functions/snap/example-hello.nix
@@ -0,0 +1,12 @@
+let
+ inherit (import { }) snapTools hello;
+in snapTools.makeSnap {
+ meta = {
+ name = "hello";
+ summary = hello.meta.description;
+ description = hello.meta.longDescription;
+ architectures = [ "amd64" ];
+ confinement = "strict";
+ apps.hello.command = "${hello}/bin/hello";
+ };
+}
diff --git a/doc/functions/snaptools.xml b/doc/functions/snaptools.xml
new file mode 100644
index 00000000000..d0e3efdf6c6
--- /dev/null
+++ b/doc/functions/snaptools.xml
@@ -0,0 +1,74 @@
+
+ pkgs.snapTools
+
+
+ pkgs.snapTools is a set of functions for creating
+ Snapcraft images. Snap and Snapcraft is not used to perform these operations.
+
+
+
+ The makeSnap Function
+
+
+ makeSnap takes a single named argument,
+ meta. This argument mirrors
+ the upstream
+ snap.yaml format exactly.
+
+
+
+ The base should not be be specified, as
+ makeSnap will force set it.
+
+
+
+ Currently, makeSnap does not support creating GUI
+ stubs.
+
+
+
+
+ Build a Hello World Snap
+
+
+ Making a Hello World Snap
+
+ The following expression packages GNU Hello as a Snapcraft snap.
+
+
+
+ nix-build this expression and install it with
+ snap install ./result --dangerous.
+ hello will now be the Snapcraft version of the package.
+
+
+
+
+
+ Build a Hello World Snap
+
+
+ Making a Graphical Snap
+
+ Graphical programs require many more integrations with the host. This
+ example uses Firefox as an example, because it is one of the most
+ complicated programs we could package.
+
+
+
+ nix-build this expression and install it with
+ snap install ./result --dangerous.
+ nix-example-firefox will now be the Snapcraft version of
+ the Firefox package.
+
+
+ The specific meaning behind plugs can be looked up in the
+ Snapcraft
+ interface documentation.
+
+
+
+
diff --git a/doc/functions/trivial-builders.xml b/doc/functions/trivial-builders.xml
index 1fd92ecfe26..0211a4f3172 100644
--- a/doc/functions/trivial-builders.xml
+++ b/doc/functions/trivial-builders.xml
@@ -35,25 +35,25 @@
An example of using runCommand is provided below.
- (import <nixpkgs> {}).runCommand "my-example" {} ''
- echo My example command is running
+(import <nixpkgs> {}).runCommand "my-example" {} ''
+ echo My example command is running
- mkdir $out
+ mkdir $out
- echo I can write data to the Nix store > $out/message
+ echo I can write data to the Nix store > $out/message
- echo I can also run basic commands like:
+ echo I can also run basic commands like:
- echo ls
- ls
+ echo ls
+ ls
- echo whoami
- whoami
+ echo whoami
+ whoami
- echo date
- date
- ''
-
+ echo date
+ date
+''
+
diff --git a/doc/languages-frameworks/android.section.md b/doc/languages-frameworks/android.section.md
index 237f3441874..f268c552566 100644
--- a/doc/languages-frameworks/android.section.md
+++ b/doc/languages-frameworks/android.section.md
@@ -185,10 +185,9 @@ with import {};
androidenv.emulateApp {
name = "emulate-MyAndroidApp";
- platformVersion = "24";
- abiVersion = "armeabi-v7a"; # mips, x86 or x86_64
- systemImageType = "default";
- useGoogleAPIs = false;
+ platformVersion = "28";
+ abiVersion = "x86_64"; # armeabi-v7a, mips, x86
+ systemImageType = "google_apis_playstore";
}
```
@@ -201,7 +200,7 @@ with import {};
androidenv.emulateApp {
name = "emulate-MyAndroidApp";
platformVersion = "24";
- abiVersion = "armeabi-v7a"; # mips, x86 or x86_64
+ abiVersion = "armeabi-v7a"; # mips, x86, x86_64
systemImageType = "default";
useGoogleAPIs = false;
app = ./MyApp.apk;
diff --git a/doc/languages-frameworks/beam.xml b/doc/languages-frameworks/beam.xml
index ac7a83ed426..dee7f2d7419 100644
--- a/doc/languages-frameworks/beam.xml
+++ b/doc/languages-frameworks/beam.xml
@@ -131,8 +131,8 @@
in beamPackages, use the following command:
-
-$ nix-env -f "<nixpkgs>" -qaP -A beamPackages
+
+$ nix-env -f "<nixpkgs>" -qaP -A beamPackages
beamPackages.esqlite esqlite-0.2.1
beamPackages.goldrush goldrush-0.1.7
beamPackages.ibrowse ibrowse-4.2.2
@@ -140,16 +140,16 @@ beamPackages.jiffy jiffy-0.14.5
beamPackages.lager lager-3.0.2
beamPackages.meck meck-0.8.3
beamPackages.rebar3-pc pc-1.1.0
-
+
To install any of those packages into your profile, refer to them by their
attribute path (first column):
-
-$ nix-env -f "<nixpkgs>" -iA beamPackages.ibrowse
-
+
+$ nix-env -f "<nixpkgs>" -iA beamPackages.ibrowse
+
The attribute path of any BEAM package corresponds to the name of that
@@ -178,22 +178,22 @@ $ nix-env -f "<nixpkgs>" -iA beamPackages.ibrowse
- { stdenv, fetchFromGitHub, buildRebar3, ibrowse, jsx, erlware_commons }:
+{ stdenv, fetchFromGitHub, buildRebar3, ibrowse, jsx, erlware_commons }:
- buildRebar3 rec {
- name = "hex2nix";
- version = "0.0.1";
+buildRebar3 rec {
+ name = "hex2nix";
+ version = "0.0.1";
- src = fetchFromGitHub {
- owner = "ericbmerritt";
- repo = "hex2nix";
- rev = "${version}";
- sha256 = "1w7xjidz1l5yjmhlplfx7kphmnpvqm67w99hd2m7kdixwdxq0zqg";
- };
+ src = fetchFromGitHub {
+ owner = "ericbmerritt";
+ repo = "hex2nix";
+ rev = "${version}";
+ sha256 = "1w7xjidz1l5yjmhlplfx7kphmnpvqm67w99hd2m7kdixwdxq0zqg";
+ };
- beamDeps = [ ibrowse jsx erlware_commons ];
- }
-
+ beamDeps = [ ibrowse jsx erlware_commons ];
+}
+
Such derivations are callable with
@@ -228,29 +228,29 @@ $ nix-env -f "<nixpkgs>" -iA beamPackages.ibrowse
- { buildErlangMk, fetchHex, cowlib, ranch }:
+{ buildErlangMk, fetchHex, cowlib, ranch }:
- buildErlangMk {
- name = "cowboy";
- version = "1.0.4";
+buildErlangMk {
+ name = "cowboy";
+ version = "1.0.4";
- src = fetchHex {
- pkg = "cowboy";
- version = "1.0.4";
- sha256 = "6a0edee96885fae3a8dd0ac1f333538a42e807db638a9453064ccfdaa6b9fdac";
- };
+ src = fetchHex {
+ pkg = "cowboy";
+ version = "1.0.4";
+ sha256 = "6a0edee96885fae3a8dd0ac1f333538a42e807db638a9453064ccfdaa6b9fdac";
+ };
- beamDeps = [ cowlib ranch ];
+ beamDeps = [ cowlib ranch ];
- meta = {
- description = ''
- Small, fast, modular HTTP server written in Erlang
- '';
- license = stdenv.lib.licenses.isc;
- homepage = https://github.com/ninenines/cowboy;
- };
- }
-
+ meta = {
+ description = ''
+ Small, fast, modular HTTP server written in Erlang
+ '';
+ license = stdenv.lib.licenses.isc;
+ homepage = https://github.com/ninenines/cowboy;
+ };
+}
+
@@ -262,56 +262,56 @@ $ nix-env -f "<nixpkgs>" -iA beamPackages.ibrowse
- { buildMix, fetchHex, plug, absinthe }:
+{ buildMix, fetchHex, plug, absinthe }:
- buildMix {
- name = "absinthe_plug";
- version = "1.0.0";
+buildMix {
+ name = "absinthe_plug";
+ version = "1.0.0";
- src = fetchHex {
- pkg = "absinthe_plug";
- version = "1.0.0";
- sha256 = "08459823fe1fd4f0325a8bf0c937a4520583a5a26d73b193040ab30a1dfc0b33";
- };
+ src = fetchHex {
+ pkg = "absinthe_plug";
+ version = "1.0.0";
+ sha256 = "08459823fe1fd4f0325a8bf0c937a4520583a5a26d73b193040ab30a1dfc0b33";
+ };
- beamDeps = [ plug absinthe ];
+ beamDeps = [ plug absinthe ];
- meta = {
- description = ''
- A plug for Absinthe, an experimental GraphQL toolkit
- '';
- license = stdenv.lib.licenses.bsd3;
- homepage = https://github.com/CargoSense/absinthe_plug;
- };
- }
-
+ meta = {
+ description = ''
+ A plug for Absinthe, an experimental GraphQL toolkit
+ '';
+ license = stdenv.lib.licenses.bsd3;
+ homepage = https://github.com/CargoSense/absinthe_plug;
+ };
+}
+
Alternatively, we can use buildHex as a shortcut:
- { buildHex, buildMix, plug, absinthe }:
+{ buildHex, buildMix, plug, absinthe }:
- buildHex {
- name = "absinthe_plug";
- version = "1.0.0";
+buildHex {
+ name = "absinthe_plug";
+ version = "1.0.0";
- sha256 = "08459823fe1fd4f0325a8bf0c937a4520583a5a26d73b193040ab30a1dfc0b33";
+ sha256 = "08459823fe1fd4f0325a8bf0c937a4520583a5a26d73b193040ab30a1dfc0b33";
- builder = buildMix;
+ builder = buildMix;
- beamDeps = [ plug absinthe ];
+ beamDeps = [ plug absinthe ];
- meta = {
- description = ''
- A plug for Absinthe, an experimental GraphQL toolkit
- '';
- license = stdenv.lib.licenses.bsd3;
- homepage = https://github.com/CargoSense/absinthe_plug;
- };
- }
-
+ meta = {
+ description = ''
+ A plug for Absinthe, an experimental GraphQL toolkit
+ '';
+ license = stdenv.lib.licenses.bsd3;
+ homepage = https://github.com/CargoSense/absinthe_plug;
+ };
+}
+
@@ -330,47 +330,47 @@ $ nix-env -f "<nixpkgs>" -iA beamPackages.ibrowse
could do the following:
-
- $ nix-shell -A beamPackages.ibrowse.env --run "erl"
- Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
+
+$ nix-shell -A beamPackages.ibrowse.env --run "erl"
+Erlang/OTP 18 [erts-7.0] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]
- Eshell V7.0 (abort with ^G)
- 1> m(ibrowse).
- Module: ibrowse
- MD5: 3b3e0137d0cbb28070146978a3392945
- Compiled: January 10 2016, 23:34
- Object file: /nix/store/g1rlf65rdgjs4abbyj4grp37ry7ywivj-ibrowse-4.2.2/lib/erlang/lib/ibrowse-4.2.2/ebin/ibrowse.beam
- Compiler options: [{outdir,"/tmp/nix-build-ibrowse-4.2.2.drv-0/hex-source-ibrowse-4.2.2/_build/default/lib/ibrowse/ebin"},
- debug_info,debug_info,nowarn_shadow_vars,
- warn_unused_import,warn_unused_vars,warnings_as_errors,
- {i,"/tmp/nix-build-ibrowse-4.2.2.drv-0/hex-source-ibrowse-4.2.2/_build/default/lib/ibrowse/include"}]
- Exports:
- add_config/1 send_req_direct/7
- all_trace_off/0 set_dest/3
- code_change/3 set_max_attempts/3
- get_config_value/1 set_max_pipeline_size/3
- get_config_value/2 set_max_sessions/3
- get_metrics/0 show_dest_status/0
- get_metrics/2 show_dest_status/1
- handle_call/3 show_dest_status/2
- handle_cast/2 spawn_link_worker_process/1
- handle_info/2 spawn_link_worker_process/2
- init/1 spawn_worker_process/1
- module_info/0 spawn_worker_process/2
- module_info/1 start/0
- rescan_config/0 start_link/0
- rescan_config/1 stop/0
- send_req/3 stop_worker_process/1
- send_req/4 stream_close/1
- send_req/5 stream_next/1
- send_req/6 terminate/2
- send_req_direct/4 trace_off/0
- send_req_direct/5 trace_off/2
- send_req_direct/6 trace_on/0
- trace_on/2
- ok
- 2>
-
+Eshell V7.0 (abort with ^G)
+1> m(ibrowse).
+Module: ibrowse
+MD5: 3b3e0137d0cbb28070146978a3392945
+Compiled: January 10 2016, 23:34
+Object file: /nix/store/g1rlf65rdgjs4abbyj4grp37ry7ywivj-ibrowse-4.2.2/lib/erlang/lib/ibrowse-4.2.2/ebin/ibrowse.beam
+Compiler options: [{outdir,"/tmp/nix-build-ibrowse-4.2.2.drv-0/hex-source-ibrowse-4.2.2/_build/default/lib/ibrowse/ebin"},
+debug_info,debug_info,nowarn_shadow_vars,
+warn_unused_import,warn_unused_vars,warnings_as_errors,
+{i,"/tmp/nix-build-ibrowse-4.2.2.drv-0/hex-source-ibrowse-4.2.2/_build/default/lib/ibrowse/include"}]
+Exports:
+add_config/1 send_req_direct/7
+all_trace_off/0 set_dest/3
+code_change/3 set_max_attempts/3
+get_config_value/1 set_max_pipeline_size/3
+get_config_value/2 set_max_sessions/3
+get_metrics/0 show_dest_status/0
+get_metrics/2 show_dest_status/1
+handle_call/3 show_dest_status/2
+handle_cast/2 spawn_link_worker_process/1
+handle_info/2 spawn_link_worker_process/2
+init/1 spawn_worker_process/1
+module_info/0 spawn_worker_process/2
+module_info/1 start/0
+rescan_config/0 start_link/0
+rescan_config/1 stop/0
+send_req/3 stop_worker_process/1
+send_req/4 stream_close/1
+send_req/5 stream_next/1
+send_req/6 terminate/2
+send_req_direct/4 trace_off/0
+send_req_direct/5 trace_off/2
+send_req_direct/6 trace_on/0
+trace_on/2
+ok
+2>
+
Notice the -A beamPackages.ibrowse.env. That is the key
@@ -408,7 +408,7 @@ let
in
drv
-
+
Building in a Shell (for Mix Projects)
@@ -474,7 +474,7 @@ plt:
analyze: build plt
$(NIX_SHELL) --run "mix dialyzer --no-compile"
-
+
Using a shell.nix as described (see
@@ -513,9 +513,9 @@ analyze: build plt
nixpkgs repository:
-
-$ nix-build -A beamPackages
-
+
+$ nix-build -A beamPackages
+
That will attempt to build every package in beamPackages.
diff --git a/doc/languages-frameworks/crystal.section.md b/doc/languages-frameworks/crystal.section.md
new file mode 100644
index 00000000000..07bfc65a553
--- /dev/null
+++ b/doc/languages-frameworks/crystal.section.md
@@ -0,0 +1,71 @@
+# Crystal
+
+## Building a Crystal package
+
+This section uses [Mint](https://github.com/mint-lang/mint) as an example for how to build a Crystal package.
+
+If the Crystal project has any dependencies, the first step is to get a `shards.nix` file encoding those. Get a copy of the project and go to its root directory such that its `shard.lock` file is in the current directory, then run `crystal2nix` in it
+```bash
+$ git clone https://github.com/mint-lang/mint
+$ cd mint
+$ git checkout 0.5.0
+$ nix-shell -p crystal2nix --run crystal2nix
+```
+
+This should have generated a `shards.nix` file.
+
+Next create a Nix file for your derivation and use `pkgs.crystal.buildCrystalPackage` as follows:
+```nix
+with import {};
+crystal.buildCrystalPackage rec {
+ pname = "mint";
+ version = "0.5.0";
+
+ src = fetchFromGitHub {
+ owner = "mint-lang";
+ repo = "mint";
+ rev = version;
+ sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl";
+ };
+
+ # Insert the path to your shards.nix file here
+ shardsFile = ./shards.nix;
+
+ ...
+}
+```
+
+This won't build anything yet, because we haven't told it what files build. We can specify a mapping from binary names to source files with the `crystalBinaries` attribute. The project's compilation instructions should show this. For Mint, the binary is called "mint", which is compiled from the source file `src/mint.cr`, so we'll specify this as follows:
+
+```nix
+ crystalBinaries.mint.src = "src/mint.cr";
+
+ # ...
+```
+
+Additionally you can override the default `crystal build` options (which are currently `--release --progress --no-debug --verbose`) with
+
+```nix
+ crystalBinaries.mint.options = [ "--release" "--verbose" ];
+```
+
+Depending on the project, you might need additional steps to get it to compile successfully. In Mint's case, we need to link against openssl, so in the end the Nix file looks as follows:
+
+```nix
+with import {};
+crystal.buildCrystalPackage rec {
+ version = "0.5.0";
+ pname = "mint";
+ src = fetchFromGitHub {
+ owner = "mint-lang";
+ repo = "mint";
+ rev = version;
+ sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl";
+ };
+
+ shardsFile = ./shards.nix;
+ crystalBinaries.mint.src = "src/mint.cr";
+
+ buildInputs = [ openssl_1_0_2 ];
+}
+```
diff --git a/doc/languages-frameworks/gnome.xml b/doc/languages-frameworks/gnome.xml
new file mode 100644
index 00000000000..9e0f21a6c74
--- /dev/null
+++ b/doc/languages-frameworks/gnome.xml
@@ -0,0 +1,263 @@
+
+ GNOME
+
+
+ Packaging GNOME applications
+
+
+ Programs in the GNOME universe are written in various languages but they all use GObject-based libraries like GLib, GTK or GStreamer. These libraries are often modular, relying on looking into certain directories to find their modules. However, due to Nix’s specific file system organization, this will fail without our intervention. Fortunately, the libraries usually allow overriding the directories through environment variables, either natively or thanks to a patch in nixpkgs. Wrapping the executables to ensure correct paths are available to the application constitutes a significant part of packaging a modern desktop application. In this section, we will describe various modules needed by such applications, environment variables needed to make the modules load, and finally a script that will do the work for us.
+
+
+
+ Settings
+
+
+ GSettings API is often used for storing settings. GSettings schemas are required, to know the type and other metadata of the stored values. GLib looks for glib-2.0/schemas/gschemas.compiled files inside the directories of XDG_DATA_DIRS.
+
+
+
+ On Linux, GSettings API is implemented using dconf backend. You will need to add dconf GIO module to GIO_EXTRA_MODULES variable, otherwise the memory backend will be used and the saved settings will not be persistent.
+
+
+
+ Last you will need the dconf database D-Bus service itself. You can enable it using .
+
+
+
+ Some applications will also require gsettings-desktop-schemas for things like reading proxy configuration or user interface customization. This dependency is often not mentioned by upstream, you should grep for org.gnome.desktop and org.gnome.system to see if the schemas are needed.
+
+
+
+
+ Icons
+
+
+ When an application uses icons, an icon theme should be available in XDG_DATA_DIRS. The package for the default, icon-less hicolor-icon-theme contains a setup hook that will pick up icon themes from buildInputs and pass it to our wrapper. Unfortunately, relying on that would mean every user has to download the theme included in the package expression no matter their preference. For that reason, we leave the installation of icon theme on the user. If you use one of the desktop environments, you probably already have an icon theme installed.
+
+
+
+
+ GTK Themes
+
+
+ Previously, a GTK theme needed to be in XDG_DATA_DIRS. This is no longer necessary for most programs since GTK incorporated Adwaita theme. Some programs (for example, those designed for elementary HIG) might require a special theme like pantheon.elementary-gtk-theme.
+
+
+
+
+ GObject introspection typelibs
+
+
+ GObject introspection allows applications to use C libraries in other languages easily. It does this through typelib files searched in GI_TYPELIB_PATH.
+
+
+
+
+ Various plug-ins
+
+
+ If your application uses GStreamer or Grilo, you should set GST_PLUGIN_SYSTEM_PATH_1_0 and GRL_PLUGIN_PATH, respectively.
+
+
+
+
+
+ Onto wrapGAppsHook
+
+
+ Given the requirements above, the package expression would become messy quickly:
+
+preFixup = ''
+ for f in $(find $out/bin/ $out/libexec/ -type f -executable); do
+ wrapProgram "$f" \
+ --prefix GIO_EXTRA_MODULES : "${getLib gnome3.dconf}/lib/gio/modules" \
+ --prefix XDG_DATA_DIRS : "$out/share" \
+ --prefix XDG_DATA_DIRS : "$out/share/gsettings-schemas/${name}" \
+ --prefix XDG_DATA_DIRS : "${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}" \
+ --prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share" \
+ --prefix GI_TYPELIB_PATH : "${lib.makeSearchPath "lib/girepository-1.0" [ pango json-glib ]}"
+ done
+'';
+
+ Fortunately, there is wrapGAppsHook, that does the wrapping for us. In particular, it works in conjunction with other setup hooks that will populate the variable:
+
+
+
+ wrapGAppsHook itself will add the package’s share directory to XDG_DATA_DIRS.
+
+
+
+
+ glib setup hook will populate GSETTINGS_SCHEMAS_PATH and then wrapGAppsHook will prepend it to XDG_DATA_DIRS.
+
+
+
+
+ gnome3.dconf.lib is a dependency of wrapGAppsHook, which then also adds it to the GIO_EXTRA_MODULES variable.
+
+
+
+
+ hicolor-icon-theme’s setup hook will add icon themes to XDG_ICON_DIRS which is prepended to XDG_DATA_DIRS by wrapGAppsHook.
+
+
+
+
+ gobject-introspection setup hook populates GI_TYPELIB_PATH variable with lib/girepository-1.0 directories of dependencies, which is then added to wrapper by wrapGAppsHook. It also adds share directories of dependencies to XDG_DATA_DIRS, which is intended to promote GIR files but it also pollutes the closures of packages using wrapGAppsHook.
+
+
+
+ The setup hook currently does not work in expressions with strictDeps enabled, like Python packages. In those cases, you will need to disable it with strictDeps = false;.
+
+
+
+
+
+ Setup hooks of gst_all_1.gstreamer and gnome3.grilo will populate the GST_PLUGIN_SYSTEM_PATH_1_0 and GRL_PLUGIN_PATH variables, respectively, which will then be added to the wrapper by wrapGAppsHook.
+
+
+
+
+
+
+ You can also pass additional arguments to makeWrapper using gappsWrapperArgs in preFixup hook:
+
+preFixup = ''
+ gappsWrapperArgs+=(
+ # Thumbnailers
+ --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
+ --prefix XDG_DATA_DIRS : "${librsvg}/share"
+ --prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
+ )
+'';
+
+
+
+
+
+ Updating GNOME packages
+
+
+ Most GNOME package offer updateScript, it is therefore possible to update to latest source tarball by running nix-shell maintainers/scripts/update.nix --argstr package gnome3.nautilus or even en masse with nix-shell maintainers/scripts/update.nix --argstr path gnome3. Read the package’s NEWS file to see what changed.
+
+
+
+
+ Frequently encountered issues
+
+
+
+
+ GLib-GIO-ERROR **: 06:04:50.903: No GSettings schemas are installed on the system
+
+
+
+ There are no schemas avalable in XDG_DATA_DIRS. Temporarily add a random package containing schemas like gsettings-desktop-schemas to buildInputs. glib and wrapGAppsHook setup hooks will take care of making the schemas available to application and you will see the actual missing schemas with the next error. Or you can try looking through the source code for the actual schemas used.
+
+
+
+
+
+ GLib-GIO-ERROR **: 06:04:50.903: Settings schema ‘org.gnome.foo’ is not installed
+
+
+
+ Package is missing some GSettings schemas. You can find out the package containing the schema with nix-locate org.gnome.foo.gschema.xml and let the hooks handle the wrapping as above.
+
+
+
+
+
+ When using wrapGAppsHook with special derivers you can end up with double wrapped binaries.
+
+
+
+ This is because derivers like python.pkgs.buildPythonApplication or qt5.mkDerivation have setup-hooks automatically added that produce wrappers with makeWrapper. The simplest way to workaround that is to disable the wrapGAppsHook automatic wrapping with dontWrapGApps = true; and pass the arguments it intended to pass to makeWrapper to another.
+
+
+ In the case of a Python application it could look like:
+
+python3.pkgs.buildPythonApplication {
+ pname = "gnome-music";
+ version = "3.32.2";
+
+ nativeBuildInputs = [
+ wrapGAppsHook
+ gobject-introspection
+ ...
+ ];
+
+ dontWrapGApps = true;
+
+ # Arguments to be passed to `makeWrapper`, only used by buildPython*
+ makeWrapperArgs = [
+ "\${gappsWrapperArgs[@]}"
+ ];
+}
+
+ And for a QT app like:
+
+mkDerivation {
+ pname = "calibre";
+ version = "3.47.0";
+
+ nativeBuildInputs = [
+ wrapGAppsHook
+ qmake
+ ...
+ ];
+
+ dontWrapGApps = true;
+
+ # Arguments to be passed to `makeWrapper`, only used by qt5’s mkDerivation
+ qtWrapperArgs [
+ "\${gappsWrapperArgs[@]}"
+ ];
+}
+
+
+
+
+
+
+ I am packaging a project that cannot be wrapped, like a library or GNOME Shell extension.
+
+
+
+ You can rely on applications depending on the library set the necessary environment variables but that it often easy to miss. Instead we recommend to patch the paths in the source code whenever possible. Here are some examples:
+
+
+
+ Replacing a GI_TYPELIB_PATH in GNOME Shell extension – we are using substituteAll to include the path to a typelib into a patch.
+
+
+
+
+ The following examples are hardcoding GSettings schema paths. To get the schema paths we use the functions
+
+
+
+ glib.getSchemaPath Takes a nix package attribute as an argument.
+
+
+
+
+ glib.makeSchemaPath Takes a package output like $out and a derivation name. You should use this if the schemas you need to hardcode are in the same derivation.
+
+
+
+
+
+ Hard-coding GSettings schema path in Vala plug-in (dynamically loaded library) – here, substituteAll cannot be used since the schema comes from the same package preventing us from pass its path to the function, probably due to a Nix bug.
+
+
+ Hard-coding GSettings schema path in C library – nothing special other than using Coccinelle patch to generate the patch itself.
+
+
+
+
+
+
+
+
+
diff --git a/doc/languages-frameworks/go.xml b/doc/languages-frameworks/go.xml
index 6f6e7925a1b..b2b4962cb5f 100644
--- a/doc/languages-frameworks/go.xml
+++ b/doc/languages-frameworks/go.xml
@@ -218,12 +218,12 @@ deis = buildGoPackage rec {
bin includes program binaries. You can test build a Go
binary as follows:
- $ nix-build -A deis.bin
-
+$ nix-build -A deis.bin
+
or build all outputs with:
- $ nix-build -A deis.all
-
+$ nix-build -A deis.all
+
bin output will be installed by default with
nix-env -i or systemPackages.
diff --git a/doc/languages-frameworks/idris.section.md b/doc/languages-frameworks/idris.section.md
index 50979d76d98..e88015f08e3 100644
--- a/doc/languages-frameworks/idris.section.md
+++ b/doc/languages-frameworks/idris.section.md
@@ -11,10 +11,21 @@ $ # On non-NixOS
$ nix-env -i nixpkgs.idris
```
-This however only provides the `prelude` and `base` libraries. To install additional libraries:
+This however only provides the `prelude` and `base` libraries. To install idris with additional libraries, you can use the `idrisPackages.with-packages` function, e.g. in an overlay in `~/.config/nixpkgs/overlays/my-idris.nix`:
+
+```nix
+self: super: {
+ myIdris = with self.idrisPackages; with-packages [ contrib pruviloj ];
+}
+```
+
+And then:
```
-$ nix-env -iE 'pkgs: pkgs.idrisPackages.with-packages (with pkgs.idrisPackages; [ contrib pruviloj ])'
+$ # On NixOS
+$ nix-env -iA nixos.myIdris
+$ # On non-NixOS
+$ nix-env -iA nixpkgs.myIdris
```
To see all available Idris packages:
@@ -113,3 +124,21 @@ in another file (say `default.nix`) to be able to build it with
```
$ nix-build -A yaml
```
+
+## Passing options to `idris` commands
+
+The `build-idris-package` function provides also optional input values to set additional options for the used `idris` commands.
+
+Specifically, you can set `idrisBuildOptions`, `idrisTestOptions`, `idrisInstallOptions` and `idrisDocOptions` to provide additional options to the `idris` command respectively when building, testing, installing and generating docs for your package.
+
+For example you could set
+
+```
+build-idris-package {
+ idrisBuildOptions = [ "--log" "1" "--verbose" ]
+
+ ...
+}
+```
+
+to require verbose output during `idris` build phase.
diff --git a/doc/languages-frameworks/index.xml b/doc/languages-frameworks/index.xml
index 4564df98fe9..5836294b774 100644
--- a/doc/languages-frameworks/index.xml
+++ b/doc/languages-frameworks/index.xml
@@ -14,6 +14,7 @@
+
@@ -32,4 +33,5 @@
+
diff --git a/doc/languages-frameworks/java.xml b/doc/languages-frameworks/java.xml
index 667a795a8d3..68a1a097984 100644
--- a/doc/languages-frameworks/java.xml
+++ b/doc/languages-frameworks/java.xml
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
name = "...";
src = fetchurl { ... };
- buildInputs = [ jdk ant ];
+ nativeBuildInputs = [ jdk ant ];
buildPhase = "ant";
}
@@ -30,7 +30,8 @@ stdenv.mkDerivation {
foo.jar in its share/java
directory, and another package declares the attribute
-buildInputs = [ jdk libfoo ];
+buildInputs = [ libfoo ];
+nativeBuildInputs = [ jdk ];
then CLASSPATH will be set to
/nix/store/...-libfoo/share/java/foo.jar.
@@ -46,7 +47,7 @@ buildInputs = [ jdk libfoo ];
script to run it using the OpenJRE. You can use
makeWrapper for this:
-buildInputs = [ makeWrapper ];
+nativeBuildInputs = [ makeWrapper ];
installPhase =
''
@@ -68,7 +69,7 @@ installPhase =
can be done in a generic fashion with the --set argument
of makeWrapper:
- --set JAVA_HOME ${jdk.home}
+--set JAVA_HOME ${jdk.home}
@@ -76,7 +77,7 @@ installPhase =
It is possible to use a different Java compiler than javac
from the OpenJDK. For instance, to use the GNU Java Compiler:
-buildInputs = [ gcj ant ];
+nativeBuildInputs = [ gcj ant ];
Here, Ant will automatically use gij (the GNU Java
Runtime) instead of the OpenJRE.
diff --git a/doc/languages-frameworks/lua.xml b/doc/languages-frameworks/lua.xml
index 21014029996..5144bb24ff6 100644
--- a/doc/languages-frameworks/lua.xml
+++ b/doc/languages-frameworks/lua.xml
@@ -29,7 +29,7 @@ fileSystem = buildLuaPackage {
maintainers = with maintainers; [ flosse ];
};
};
-
+
diff --git a/doc/languages-frameworks/ocaml.xml b/doc/languages-frameworks/ocaml.xml
index 0deadf2edd0..b7006ecba99 100644
--- a/doc/languages-frameworks/ocaml.xml
+++ b/doc/languages-frameworks/ocaml.xml
@@ -62,7 +62,7 @@ buildDunePackage rec {
maintainers = with stdenv.lib.maintainers; [ sternenseemann ];
};
}
-
+
Here is a second example, this time using a source archive generated with
@@ -93,5 +93,5 @@ buildDunePackage rec {
maintainers = [ maintainers.eqyiel ];
};
}
-
+
diff --git a/doc/languages-frameworks/perl.xml b/doc/languages-frameworks/perl.xml
index a675e666586..065212a0e18 100644
--- a/doc/languages-frameworks/perl.xml
+++ b/doc/languages-frameworks/perl.xml
@@ -47,13 +47,13 @@ foo = import ../path/to/foo.nix {
in all-packages.nix. You can test building a Perl
package as follows:
-$ nix-build -A perlPackages.ClassC3
+$ nix-build -A perlPackages.ClassC3
buildPerlPackage adds perl- to the
start of the name attribute, so the package above is actually called
perl-Class-C3-0.21. So to install it, you can say:
-$ nix-env -i perl-Class-C3
+$ nix-env -i perl-Class-C3
(Of course you can also install using the attribute name: nix-env -i
-A perlPackages.ClassC3.)
@@ -75,7 +75,8 @@ $ nix-env -i perl-Class-C3
It adds the contents of the PERL5LIB environment variable
to #! .../bin/perl line of Perl scripts as
-Idir flags. This ensures
- that a script can find its dependencies.
+ that a script can find its dependencies. (This can cause this shebang line
+ to become too long for Darwin to handle; see the note below.)
@@ -137,6 +138,36 @@ ClassC3Componentised = buildPerlPackage rec {
+
+ On Darwin, if a script has too many
+ -Idir flags in its first line
+ (its “shebang line”), it will not run. This can be worked around by calling
+ the shortenPerlShebang function from the
+ postInstall phase:
+
+{ stdenv, buildPerlPackage, fetchurl, shortenPerlShebang }:
+
+ImageExifTool = buildPerlPackage {
+ pname = "Image-ExifTool";
+ version = "11.50";
+
+ src = fetchurl {
+ url = "https://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-11.50.tar.gz";
+ sha256 = "0d8v48y94z8maxkmw1rv7v9m0jg2dc8xbp581njb6yhr7abwqdv3";
+ };
+
+ buildInputs = stdenv.lib.optional stdenv.isDarwin shortenPerlShebang;
+ postInstall = stdenv.lib.optional stdenv.isDarwin ''
+ shortenPerlShebang $out/bin/exiftool
+ '';
+};
+
+ This will remove the -I flags from the shebang line,
+ rewrite them in the use lib form, and put them on the next
+ line instead. This function can be given any number of Perl scripts as
+ arguments; it will modify them in-place.
+
+
Generation from CPAN
@@ -148,7 +179,7 @@ ClassC3Componentised = buildPerlPackage rec {
-$ nix-env -i nix-generate-from-cpan
+$ nix-env -i nix-generate-from-cpan
@@ -156,7 +187,7 @@ $ nix-env -i nix-generate-from-cpan
unpacks the corresponding package, and prints a Nix expression on standard
output. For example:
-$ nix-generate-from-cpan XML::Simple
+$ nix-generate-from-cpan XML::Simple
XMLSimple = buildPerlPackage rec {
name = "XML-Simple-2.22";
src = fetchurl {
diff --git a/doc/languages-frameworks/python.section.md b/doc/languages-frameworks/python.section.md
index b72616a7565..88dc42ebc6c 100644
--- a/doc/languages-frameworks/python.section.md
+++ b/doc/languages-frameworks/python.section.md
@@ -540,7 +540,8 @@ and the aliases
#### `buildPythonPackage` function
The `buildPythonPackage` function is implemented in
-`pkgs/development/interpreters/python/build-python-package.nix`
+`pkgs/development/interpreters/python/mk-python-derivation`
+using setup hooks.
The following is an example:
```nix
@@ -594,6 +595,7 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
* `catchConflicts ? true`: If `true`, abort package build if a package name appears more than once in dependency tree. Default is `true`.
* `disabled` ? false: If `true`, package is not build for the particular Python interpreter version.
* `dontWrapPythonPrograms ? false`: Skip wrapping of python programs.
+* `permitUserSite ? false`: Skip setting the `PYTHONNOUSERSITE` environment variable in wrapped programs.
* `installFlags ? []`: A list of strings. Arguments to be passed to `pip install`. To pass options to `python setup.py install`, use `--install-option`. E.g., `installFlags=["--install-option='--cpp_implementation'"]`.
* `format ? "setuptools"`: Format of the source. Valid options are `"setuptools"`, `"pyproject"`, `"flit"`, `"wheel"`, and `"other"`. `"setuptools"` is for when the source has a `setup.py` and `setuptools` is used to build a wheel, `flit`, in case `flit` should be used to build a wheel, and `wheel` in case a wheel is provided. Use `other` when a custom `buildPhase` and/or `installPhase` is needed.
* `makeWrapperArgs ? []`: A list of strings. Arguments to be passed to `makeWrapper`, which wraps generated binaries. By default, the arguments to `makeWrapper` set `PATH` and `PYTHONPATH` environment variables before calling the binary. Additional arguments here can allow a developer to set environment variables which will be available when the binary is run. For example, `makeWrapperArgs = ["--set FOO BAR" "--set BAZ QUX"]`.
@@ -602,6 +604,7 @@ All parameters from `stdenv.mkDerivation` function are still supported. The foll
* `preShellHook`: Hook to execute commands before `shellHook`.
* `postShellHook`: Hook to execute commands after `shellHook`.
* `removeBinByteCode ? true`: Remove bytecode from `/bin`. Bytecode is only created when the filenames end with `.py`.
+* `setupPyGlobalFlags ? []`: List of flags passed to `setup.py` command.
* `setupPyBuildFlags ? []`: List of flags passed to `setup.py build_ext` command.
The `stdenv.mkDerivation` function accepts various parameters for describing build inputs (see "Specifying dependencies"). The following are of special
@@ -635,7 +638,7 @@ with import {};
};
});
};
- in pkgs.python3.override {inherit packageOverrides;};
+ in pkgs.python3.override {inherit packageOverrides; self = python;};
in python.withPackages(ps: [ps.blaze])).env
```
@@ -756,6 +759,7 @@ specified packages in its path.
* `extraLibs`: List of packages installed inside the environment.
* `postBuild`: Shell command executed after the build of environment.
* `ignoreCollisions`: Ignore file collisions inside the environment (default is `false`).
+* `permitUserSite`: Skip setting the `PYTHONNOUSERSITE` environment variable in wrapped binaries in the environment.
#### `python.withPackages` function
@@ -794,6 +798,22 @@ such as `ignoreCollisions = true` or `postBuild`. If you need them, you have to
Python 2 namespace packages may provide `__init__.py` that collide. In that case `python.buildEnv`
should be used with `ignoreCollisions = true`.
+#### Setup hooks
+
+The following are setup hooks specifically for Python packages. Most of these are
+used in `buildPythonPackage`.
+
+- `flitBuildHook` to build a wheel using `flit`.
+- `pipBuildHook` to build a wheel using `pip` and PEP 517. Note a build system (e.g. `setuptools` or `flit`) should still be added as `nativeBuildInput`.
+- `pipInstallHook` to install wheels.
+- `pytestCheckHook` to run tests with `pytest`.
+- `pythonCatchConflictsHook` to check whether a Python package is not already existing.
+- `pythonImportsCheckHook` to check whether importing the listed modules works.
+- `pythonRemoveBinBytecode` to remove bytecode from the `/bin` folder.
+- `setuptoolsBuildHook` to build a wheel using `setuptools`.
+- `setuptoolsCheckHook` to run tests with `python setup.py test`.
+- `wheelUnpackHook` to move a wheel to the correct folder so it can be installed with the `pipInstallHook`.
+
### Development mode
Development or editable mode is supported. To develop Python packages
diff --git a/doc/languages-frameworks/qt.xml b/doc/languages-frameworks/qt.xml
index b9b605b81da..3332ce8c06e 100644
--- a/doc/languages-frameworks/qt.xml
+++ b/doc/languages-frameworks/qt.xml
@@ -4,71 +4,182 @@
Qt
- Qt is a comprehensive desktop and mobile application development toolkit for
- C++. Legacy support is available for Qt 3 and Qt 4, but all current
- development uses Qt 5. The Qt 5 packages in Nixpkgs are updated frequently to
- take advantage of new features, but older versions are typically retained
- until their support window ends. The most important consideration in
- packaging Qt-based software is ensuring that each package and all its
- dependencies use the same version of Qt 5; this consideration motivates most
- of the tools described below.
+ This section describes the differences between Nix expressions for Qt
+ libraries and applications and Nix expressions for other C++ software. Some
+ knowledge of the latter is assumed. There are primarily two problems which
+ the Qt infrastructure is designed to address: ensuring consistent versioning
+ of all dependencies and finding dependencies at runtime.
-
- Packaging Libraries for Nixpkgs
+
+ Nix expression for a Qt package (default.nix)
+
+{ mkDerivation, lib, qtbase }:
+mkDerivation {
+ pname = "myapp";
+ version = "1.0";
+
+ buildInputs = [ qtbase ];
+}
+
+
+
+
+
+
+ Import mkDerivation and Qt (such as
+ qtbase modules directly. Do not
+ import Qt package sets; the Qt versions of dependencies may not be
+ coherent, causing build and runtime failures.
+
+
+
+
+ Use mkDerivation instead of
+ stdenv.mkDerivation. mkDerivation
+ is a wrapper around stdenv.mkDerivation which
+ applies some Qt-specific settings.
+ This deriver accepts the same arguments as
+ stdenv.mkDerivation; refer to
+ for details.
+
+
+ To use another deriver instead of
+ stdenv.mkDerivation, use
+ mkDerivationWith:
+
+mkDerivationWith myDeriver {
+ # ...
+}
+
+ If you cannot use mkDerivationWith, please refer to
+ .
+
+
+
+
+ mkDerivation accepts the same arguments as
+ stdenv.mkDerivation, such as
+ buildInputs.
+
+
+
+
+
+ Locating runtime dependencies
+
+ Qt applications need to be wrapped to find runtime dependencies. If you
+ cannot use mkDerivation or
+ mkDerivationWith above, include
+ wrapQtAppsHook in nativeBuildInputs:
+
+stdenv.mkDerivation {
+ # ...
+
+ nativeBuildInputs = [ wrapQtAppsHook ];
+}
+
+
+
+
+
+ Entries added to qtWrapperArgs are used to modify the
+ wrappers created by wrapQtAppsHook. The entries are
+ passed as arguments to .
+
+mkDerivation {
+ # ...
+
+ qtWrapperArgs = [ ''--prefix PATH : /path/to/bin'' ];
+}
+
+
+
+
+ Set dontWrapQtApps to stop applications from being
+ wrapped automatically. It is required to wrap applications manually with
+ wrapQtApp, using the syntax of
+ :
+
+mkDerivation {
+ # ...
+
+ dontWrapQtApps = true;
+ preFixup = ''
+ wrapQtApp "$out/bin/myapp" --prefix PATH : /path/to/bin
+ '';
+}
+
+
+
+
- Whenever possible, libraries that use Qt 5 should be built with each
- available version. Packages providing libraries should be added to the
- top-level function mkLibsForQt5, which is used to build a
- set of libraries for every Qt 5 version. A special
- callPackage function is used in this scope to ensure that
- the entire dependency tree uses the same Qt 5 version. Import dependencies
- unqualified, i.e., qtbase not
- qt5.qtbase. Do not import a package
- set such as qt5 or libsForQt5.
+ wrapQtAppsHook ignores files that are non-ELF executables.
+ This means that scripts won't be automatically wrapped so you'll need to manually
+ wrap them as previously mentioned. An example of when you'd always need to do this
+ is with Python applications that use PyQT.
+
-
- If a library does not support a particular version of Qt 5, it is best to
- mark it as broken by setting its meta.broken attribute. A
- package may be marked broken for certain versions by testing the
- qtbase.version attribute, which will always give the
- current Qt 5 version.
-
-
+
+ Libraries are built with every available version of Qt. Use the meta.broken
+ attribute to disable the package for unsupported Qt versions:
+
+mkDerivation {
+ # ...
-
- Packaging Applications for Nixpkgs
+ # Disable this library with Qt < 5.9.0
+ meta.broken = builtins.compareVersions qtbase.version "5.9.0" < 0;
+}
+
+
-
- Call your application expression using
- libsForQt5.callPackage instead of
- callPackage. Import dependencies unqualified, i.e.,
- qtbase not qt5.qtbase. Do
- not import a package set such as qt5 or
- libsForQt5.
-
+
+ Adding a library to Nixpkgs
+
+ Add a Qt library to all-packages.nix by adding it to the
+ collection inside mkLibsForQt5. This ensures that the
+ library is built with every available version of Qt as needed.
+
+ Adding a Qt library to all-packages.nix
+
+{
+ # ...
-
- Qt 5 maintains strict backward compatibility, so it is generally best to
- build an application package against the latest version using the
- libsForQt5 library set. In case a package does not build
- with the latest Qt version, it is possible to pick a set pinned to a
- particular version, e.g. libsForQt55 for Qt 5.5, if that
- is the latest version the package supports. If a package must be pinned to
- an older Qt version, be sure to file a bug upstream; because Qt is strictly
- backwards-compatible, any incompatibility is by definition a bug in the
- application.
-
+ mkLibsForQt5 = self: with self; {
+ # ...
+
+ mylib = callPackage ../path/to/mylib {};
+ };
+
+ # ...
+}
+
+
+
+
+
+
+ Adding an application to Nixpkgs
+
+ Add a Qt application to all-packages.nix using
+ libsForQt5.callPackage instead of the usual
+ callPackage. The former ensures that all dependencies
+ are built with the same version of Qt.
+
+ Adding a Qt application to all-packages.nix
+
+{
+ # ...
+
+ myapp = libsForQt5.callPackage ../path/to/myapp/ {};
+
+ # ...
+}
+
+
+
+
-
- When testing applications in Nixpkgs, it is a common practice to build the
- package with nix-build and run it using the created
- symbolic link. This will not work with Qt applications, however, because
- they have many hard runtime requirements that can only be guaranteed if the
- package is actually installed. To test a Qt application, install it with
- nix-env or run it inside nix-shell.
-
-
diff --git a/doc/languages-frameworks/ruby.section.md b/doc/languages-frameworks/ruby.section.md
new file mode 100644
index 00000000000..e4c4ffce043
--- /dev/null
+++ b/doc/languages-frameworks/ruby.section.md
@@ -0,0 +1,365 @@
+---
+title: Ruby
+author: Michael Fellinger
+date: 2019-05-23
+---
+
+# Ruby
+
+## User Guide
+
+### Using Ruby
+
+#### Overview
+
+Several versions of Ruby interpreters are available on Nix, as well as over 250 gems and many applications written in Ruby.
+The attribute `ruby` refers to the default Ruby interpreter, which is currently
+MRI 2.5. It's also possible to refer to specific versions, e.g. `ruby_2_6`, `jruby`, or `mruby`.
+
+In the nixpkgs tree, Ruby packages can be found throughout, depending on what
+they do, and are called from the main package set. Ruby gems, however are
+separate sets, and there's one default set for each interpreter (currently MRI
+only).
+
+There are two main approaches for using Ruby with gems.
+One is to use a specifically locked `Gemfile` for an application that has very strict dependencies.
+The other is to depend on the common gems, which we'll explain further down, and
+rely on them being updated regularly.
+
+The interpreters have common attributes, namely `gems`, and `withPackages`. So
+you can refer to `ruby.gems.nokogiri`, or `ruby_2_5.gems.nokogiri` to get the
+Nokogiri gem already compiled and ready to use.
+
+Since not all gems have executables like `nokogiri`, it's usually more
+convenient to use the `withPackages` function like this:
+`ruby.withPackages (p: with p; [ nokogiri ])`. This will also make sure that the
+Ruby in your environment will be able to find the gem and it can be used in your
+Ruby code (for example via `ruby` or `irb` executables) via `require "nokogiri"`
+as usual.
+
+#### Temporary Ruby environment with `nix-shell`
+
+Rather than having a single Ruby environment shared by all Ruby
+development projects on a system, Nix allows you to create separate
+environments per project. `nix-shell` gives you the possibility to
+temporarily load another environment akin to a combined `chruby` or
+`rvm` and `bundle exec`.
+
+There are two methods for loading a shell with Ruby packages. The first and
+recommended method is to create an environment with `ruby.withPackages` and load
+that.
+
+```shell
+nix-shell -p "ruby.withPackages (ps: with ps; [ nokogiri pry ])"
+```
+
+The other method, which is not recommended, is to create an environment and list
+all the packages directly.
+
+```shell
+nix-shell -p ruby.gems.nokogiri ruby.gems.pry
+```
+
+Again, it's possible to launch the interpreter from the shell. The Ruby
+interpreter has the attribute `gems` which contains all Ruby gems for that
+specific interpreter.
+
+##### Load environment from `.nix` expression
+
+As explained in the Nix manual, `nix-shell` can also load an expression from a
+`.nix` file. Say we want to have Ruby 2.5, `nokogori`, and `pry`. Consider a
+`shell.nix` file with:
+
+```nix
+with import {};
+ruby.withPackages (ps: with ps; [ nokogiri pry ])
+```
+
+What's happening here?
+
+1. We begin with importing the Nix Packages collections. `import `
+ imports the `` function, `{}` calls it and the `with` statement
+ brings all attributes of `nixpkgs` in the local scope. These attributes form
+ the main package set.
+2. Then we create a Ruby environment with the `withPackages` function.
+3. The `withPackages` function expects us to provide a function as an argument
+ that takes the set of all ruby gems and returns a list of packages to include
+ in the environment. Here, we select the packages `nokogiri` and `pry` from
+ the package set.
+
+##### Execute command with `--run`
+
+A convenient flag for `nix-shell` is `--run`. It executes a command in the
+`nix-shell`. We can e.g. directly open a `pry` REPL:
+
+```shell
+nix-shell -p "ruby.withPackages (ps: with ps; [ nokogiri pry ])" --run "pry"
+```
+
+Or immediately require `nokogiri` in pry:
+
+```shell
+nix-shell -p "ruby.withPackages (ps: with ps; [ nokogiri pry ])" --run "pry -rnokogiri"
+```
+
+Or run a script using this environment:
+
+```shell
+nix-shell -p "ruby.withPackages (ps: with ps; [ nokogiri pry ])" --run "ruby example.rb"
+```
+
+##### Using `nix-shell` as shebang
+
+In fact, for the last case, there is a more convenient method. You can add a
+[shebang](https://en.wikipedia.org/wiki/Shebang_(Unix)) to your script
+specifying which dependencies `nix-shell` needs. With the following shebang, you
+can just execute `./example.rb`, and it will run with all dependencies.
+
+```ruby
+#! /usr/bin/env nix-shell
+#! nix-shell -i ruby -p "ruby.withPackages (ps: with ps; [ nokogiri rest-client ])"
+
+require 'nokogiri'
+require 'rest-client'
+
+body = RestClient.get('http://example.com').body
+puts Nokogiri::HTML(body).at('h1').text
+```
+
+### Developing with Ruby
+
+#### Using an existing Gemfile
+
+In most cases, you'll already have a `Gemfile.lock` listing all your dependencies.
+This can be used to generate a `gemset.nix` which is used to fetch the gems and
+combine them into a single environment.
+The reason why you need to have a separate file for this, is that Nix requires
+you to have a checksum for each input to your build.
+Since the `Gemfile.lock` that `bundler` generates doesn't provide us with
+checksums, we have to first download each gem, calculate its SHA256, and store
+it in this separate file.
+
+So the steps from having just a `Gemfile` to a `gemset.nix` are:
+
+```shell
+bundle lock
+bundix
+```
+
+If you already have a `Gemfile.lock`, you can simply run `bundix` and it will
+work the same.
+
+To update the gems in your `Gemfile.lock`, you may use the `bundix -l` flag,
+which will create a new `Gemfile.lock` in case the `Gemfile` has a more recent
+time of modification.
+
+Once the `gemset.nix` is generated, it can be used in a
+`bundlerEnv` derivation. Here is an example you could use for your `shell.nix`:
+
+```nix
+# ...
+let
+ gems = bundlerEnv {
+ name = "gems-for-some-project";
+ gemdir = ./.;
+ };
+in mkShell { buildInputs = [ gems gems.wrappedRuby ]; }
+```
+
+With this file in your directory, you can run `nix-shell` to build and use the gems.
+The important parts here are `bundlerEnv` and `wrappedRuby`.
+
+The `bundlerEnv` is a wrapper over all the gems in your gemset. This means that
+all the `/lib` and `/bin` directories will be available, and the executables of
+all gems (even of indirect dependencies) will end up in your `$PATH`.
+The `wrappedRuby` provides you with all executables that come with Ruby itself,
+but wrapped so they can easily find the gems in your gemset.
+
+One common issue that you might have is that you have Ruby 2.6, but also
+`bundler` in your gemset. That leads to a conflict for `/bin/bundle` and
+`/bin/bundler`. You can resolve this by wrapping either your Ruby or your gems
+in a `lowPrio` call. So in order to give the `bundler` from your gemset
+priority, it would be used like this:
+
+```nix
+# ...
+mkShell { buildInputs = [ gems (lowPrio gems.wrappedRuby) ]; }
+```
+
+
+#### Gem-specific configurations and workarounds
+
+In some cases, especially if the gem has native extensions, you might need to
+modify the way the gem is built.
+
+This is done via a common configuration file that includes all of the
+workarounds for each gem.
+
+This file lives at `/pkgs/development/ruby-modules/gem-config/default.nix`,
+since it already contains a lot of entries, it should be pretty easy to add the
+modifications you need for your needs.
+
+In the meanwhile, or if the modification is for a private gem, you can also add
+the configuration to only your own environment.
+
+Two places that allow this modification are the `ruby` derivation, or `bundlerEnv`.
+
+Here's the `ruby` one:
+
+```nix
+{ pg_version ? "10", pkgs ? import { } }:
+let
+ myRuby = pkgs.ruby.override {
+ defaultGemConfig = pkgs.defaultGemConfig // {
+ pg = attrs: {
+ buildFlags =
+ [ "--with-pg-config=${pkgs."postgresql_${pg_version}"}/bin/pg_config" ];
+ };
+ };
+ };
+in myRuby.withPackages (ps: with ps; [ pg ])
+```
+
+And an example with `bundlerEnv`:
+
+```nix
+{ pg_version ? "10", pkgs ? import { } }:
+let
+ gems = pkgs.bundlerEnv {
+ name = "gems-for-some-project";
+ gemdir = ./.;
+ gemConfig = pkgs.defaultGemConfig // {
+ pg = attrs: {
+ buildFlags =
+ [ "--with-pg-config=${pkgs."postgresql_${pg_version}"}/bin/pg_config" ];
+ };
+ };
+ };
+in mkShell { buildInputs = [ gems gems.wrappedRuby ]; }
+```
+
+And finally via overlays:
+
+```nix
+{ pg_version ? "10" }:
+let
+ pkgs = import {
+ overlays = [
+ (self: super: {
+ defaultGemConfig = super.defaultGemConfig // {
+ pg = attrs: {
+ buildFlags = [
+ "--with-pg-config=${
+ pkgs."postgresql_${pg_version}"
+ }/bin/pg_config"
+ ];
+ };
+ };
+ })
+ ];
+ };
+in pkgs.ruby.withPackages (ps: with ps; [ pg ])
+```
+
+Then we can get whichever postgresql version we desire and the `pg` gem will
+always reference it correctly:
+
+```shell
+$ nix-shell --argstr pg_version 9_4 --run 'ruby -rpg -e "puts PG.library_version"'
+90421
+
+$ nix-shell --run 'ruby -rpg -e "puts PG.library_version"'
+100007
+```
+
+Of course for this use-case one could also use overlays since the configuration
+for `pg` depends on the `postgresql` alias, but for demonstration purposes this
+has to suffice.
+
+#### Adding a gem to the default gemset
+
+Now that you know how to get a working Ruby environment with Nix, it's time to
+go forward and start actually developing with Ruby.
+We will first have a look at how Ruby gems are packaged on Nix. Then, we will
+look at how you can use development mode with your code.
+
+All gems in the standard set are automatically generated from a single
+`Gemfile`. The dependency resolution is done with `bundler` and makes it more
+likely that all gems are compatible to each other.
+
+In order to add a new gem to nixpkgs, you can put it into the
+`/pkgs/development/ruby-modules/with-packages/Gemfile` and run
+`./maintainers/scripts/update-ruby-packages`.
+
+To test that it works, you can then try using the gem with:
+
+```shell
+NIX_PATH=nixpkgs=$PWD nix-shell -p "ruby.withPackages (ps: with ps; [ name-of-your-gem ])"
+```
+
+#### Packaging applications
+
+A common task is to add a ruby executable to nixpkgs, popular examples would be
+`chef`, `jekyll`, or `sass`. A good way to do that is to use the `bundlerApp`
+function, that allows you to make a package that only exposes the listed
+executables, otherwise the package may cause conflicts through common paths like
+`bin/rake` or `bin/bundler` that aren't meant to be used.
+
+The absolute easiest way to do that is to write a
+`Gemfile` along these lines:
+
+```ruby
+source 'https://rubygems.org' do
+ gem 'mdl'
+end
+```
+
+If you want to package a specific version, you can use the standard Gemfile
+syntax for that, e.g. `gem 'mdl', '0.5.0'`, but if you want the latest stable
+version anyway, it's easier to update by simply running the `bundle lock` and
+`bundix` steps again.
+
+Now you can also also make a `default.nix` that looks like this:
+
+```nix
+{ lib, bundlerApp }:
+
+bundlerApp {
+ pname = "mdl";
+ gemdir = ./.;
+ exes = [ "mdl" ];
+}
+```
+
+All that's left to do is to generate the corresponding `Gemfile.lock` and
+`gemset.nix` as described above in the `Using an existing Gemfile` section.
+
+##### Packaging executables that require wrapping
+
+Sometimes your app will depend on other executables at runtime, and tries to
+find it through the `PATH` environment variable.
+
+In this case, you can provide a `postBuild` hook to `bundlerApp` that wraps the
+gem in another script that prefixes the `PATH`.
+
+Of course you could also make a custom `gemConfig` if you know exactly how to
+patch it, but it's usually much easier to maintain with a simple wrapper so the
+patch doesn't have to be adjusted for each version.
+
+Here's another example:
+
+```nix
+{ lib, bundlerApp, makeWrapper, git, gnutar, gzip }:
+
+bundlerApp {
+ pname = "r10k";
+ gemdir = ./.;
+ exes = [ "r10k" ];
+
+ buildInputs = [ makeWrapper ];
+
+ postBuild = ''
+ wrapProgram $out/bin/r10k --prefix PATH : ${lib.makeBinPath [ git gnutar gzip ]}
+ '';
+}
+```
diff --git a/doc/languages-frameworks/rust.section.md b/doc/languages-frameworks/rust.section.md
index 14b36f55f52..2d9338f2e89 100644
--- a/doc/languages-frameworks/rust.section.md
+++ b/doc/languages-frameworks/rust.section.md
@@ -336,9 +336,9 @@ with import {};
let src = fetchFromGitHub {
owner = "mozilla";
repo = "nixpkgs-mozilla";
- # commit from: 2018-03-27
- rev = "2945b0b6b2fd19e7d23bac695afd65e320efcebe";
- sha256 = "034m1dryrzh2lmjvk3c0krgip652dql46w5yfwpvh7gavd3iypyw";
+ # commit from: 2019-05-15
+ rev = "9f35c4b09fd44a77227e79ff0c1b4b6a69dff533";
+ sha256 = "18h0nvh55b5an4gmlgfbvwbyqj91bklf1zymis6lbdh75571qaz0";
};
in
with import "${src.out}/rust-overlay.nix" pkgs pkgs;
diff --git a/doc/languages-frameworks/texlive.xml b/doc/languages-frameworks/texlive.xml
index 5792a16963a..97f274933be 100644
--- a/doc/languages-frameworks/texlive.xml
+++ b/doc/languages-frameworks/texlive.xml
@@ -26,7 +26,7 @@
texlive.combine {
inherit (texlive) scheme-small collection-langkorean algorithms cm-super;
}
-
+
There are all the schemes, collections and a few thousand packages, as
defined upstream (perhaps with tiny differences).
@@ -44,7 +44,7 @@ texlive.combine {
# elem tlType [ "run" "bin" "doc" "source" ]
# there are also other attributes: version, name
}
-
+
diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md
index c450a09f7bd..537e7b93e52 100644
--- a/doc/languages-frameworks/vim.section.md
+++ b/doc/languages-frameworks/vim.section.md
@@ -21,7 +21,7 @@ At the moment we support three different methods for managing plugins:
Adding custom .vimrc lines can be done using the following code:
-```
+```nix
vim_configurable.customize {
# `name` specifies the name of the executable and package
name = "vim-with-plugins";
@@ -32,11 +32,11 @@ vim_configurable.customize {
}
```
-This configuration is used when vim is invoked with the command specified as name, in this case `vim-with-plugins`.
+This configuration is used when Vim is invoked with the command specified as name, in this case `vim-with-plugins`.
For Neovim the `configure` argument can be overridden to achieve the same:
-```
+```nix
neovim.override {
configure = {
customRC = ''
@@ -46,10 +46,10 @@ neovim.override {
}
```
-If you want to use `neovim-qt` as a graphical editor, you can configure it by overriding neovim in an overlay
-or passing it an overridden neovimn:
+If you want to use `neovim-qt` as a graphical editor, you can configure it by overriding Neovim in an overlay
+or passing it an overridden Neovimn:
-```
+```nix
neovim-qt.override {
neovim = neovim.override {
configure = {
@@ -63,16 +63,16 @@ neovim-qt.override {
## Managing plugins with Vim packages
-To store you plugins in Vim packages (the native vim plugin manager, see `:help packages`) the following example can be used:
+To store you plugins in Vim packages (the native Vim plugin manager, see `:help packages`) the following example can be used:
-```
+```nix
vim_configurable.customize {
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
# loaded on launch
start = [ youcompleteme fugitive ];
# manually loadable by calling `:packadd $plugin-name`
- # however, if a vim plugin has a dependency that is not explicitly listed in
- # opt that dependency will always be added to start to avoid confusion.
+ # however, if a Vim plugin has a dependency that is not explicitly listed in
+ # opt that dependency will always be added to start to avoid confusion.
opt = [ phpCompletion elm-vim ];
# To automatically load a plugin when opening a filetype, add vimrc lines like:
# autocmd FileType php :packadd phpCompletion
@@ -83,7 +83,7 @@ vim_configurable.customize {
`myVimPackage` is an arbitrary name for the generated package. You can choose any name you like.
For Neovim the syntax is:
-```
+```nix
neovim.override {
configure = {
customRC = ''
@@ -92,7 +92,7 @@ neovim.override {
packages.myVimPackage = with pkgs.vimPlugins; {
# see examples below how to use custom packages
start = [ ];
- # If a vim plugin has a dependency that is not explicitly listed in
+ # If a Vim plugin has a dependency that is not explicitly listed in
# opt that dependency will always be added to start to avoid confusion.
opt = [ ];
};
@@ -102,7 +102,7 @@ neovim.override {
The resulting package can be added to `packageOverrides` in `~/.nixpkgs/config.nix` to make it installable:
-```
+```nix
{
packageOverrides = pkgs: with pkgs; {
myVim = vim_configurable.customize {
@@ -126,7 +126,7 @@ After that you can install your special grafted `myVim` or `myNeovim` packages.
To use [vim-plug](https://github.com/junegunn/vim-plug) to manage your Vim
plugins the following example can be used:
-```
+```nix
vim_configurable.customize {
vimrcConfig.packages.myVimPackage = with pkgs.vimPlugins; {
# loaded on launch
@@ -137,7 +137,7 @@ vim_configurable.customize {
For Neovim the syntax is:
-```
+```nix
neovim.override {
configure = {
customRC = ''
@@ -161,89 +161,112 @@ assuming that "using latest version" is ok most of the time.
First create a vim-scripts file having one plugin name per line. Example:
- "tlib"
- {'name': 'vim-addon-sql'}
- {'filetype_regex': '\%(vim)$', 'names': ['reload', 'vim-dev-plugin']}
+```
+"tlib"
+{'name': 'vim-addon-sql'}
+{'filetype_regex': '\%(vim)$', 'names': ['reload', 'vim-dev-plugin']}
+```
Such vim-scripts file can be read by VAM as well like this:
- call vam#Scripts(expand('~/.vim-scripts'), {})
+```vim
+call vam#Scripts(expand('~/.vim-scripts'), {})
+```
Create a default.nix file:
- { nixpkgs ? import {}, compiler ? "ghc7102" }:
- nixpkgs.vim_configurable.customize { name = "vim"; vimrcConfig.vam.pluginDictionaries = [ "vim-addon-vim2nix" ]; }
+```nix
+{ nixpkgs ? import {}, compiler ? "ghc7102" }:
+nixpkgs.vim_configurable.customize { name = "vim"; vimrcConfig.vam.pluginDictionaries = [ "vim-addon-vim2nix" ]; }
+```
Create a generate.vim file:
- ActivateAddons vim-addon-vim2nix
- let vim_scripts = "vim-scripts"
- call nix#ExportPluginsForNix({
- \ 'path_to_nixpkgs': eval('{"'.substitute(substitute(substitute($NIX_PATH, ':', ',', 'g'), '=',':', 'g'), '\([:,]\)', '"\1"',"g").'"}')["nixpkgs"],
- \ 'cache_file': '/tmp/vim2nix-cache',
- \ 'try_catch': 0,
- \ 'plugin_dictionaries': ["vim-addon-manager"]+map(readfile(vim_scripts), 'eval(v:val)')
- \ })
+```vim
+ActivateAddons vim-addon-vim2nix
+let vim_scripts = "vim-scripts"
+call nix#ExportPluginsForNix({
+\ 'path_to_nixpkgs': eval('{"'.substitute(substitute(substitute($NIX_PATH, ':', ',', 'g'), '=',':', 'g'), '\([:,]\)', '"\1"',"g").'"}')["nixpkgs"],
+\ 'cache_file': '/tmp/vim2nix-cache',
+\ 'try_catch': 0,
+\ 'plugin_dictionaries': ["vim-addon-manager"]+map(readfile(vim_scripts), 'eval(v:val)')
+\ })
+```
Then run
- nix-shell -p vimUtils.vim_with_vim2nix --command "vim -c 'source generate.vim'"
+```bash
+nix-shell -p vimUtils.vim_with_vim2nix --command "vim -c 'source generate.vim'"
+```
You should get a Vim buffer with the nix derivations (output1) and vam.pluginDictionaries (output2).
-You can add your vim to your system's configuration file like this and start it by "vim-my":
+You can add your Vim to your system's configuration file like this and start it by "vim-my":
- my-vim =
- let plugins = let inherit (vimUtils) buildVimPluginFrom2Nix; in {
- copy paste output1 here
- }; in vim_configurable.customize {
- name = "vim-my";
+```
+my-vim =
+ let plugins = let inherit (vimUtils) buildVimPluginFrom2Nix; in {
+ copy paste output1 here
+ }; in vim_configurable.customize {
+ name = "vim-my";
- vimrcConfig.vam.knownPlugins = plugins; # optional
- vimrcConfig.vam.pluginDictionaries = [
- copy paste output2 here
- ];
-
- # Pathogen would be
- # vimrcConfig.pathogen.knownPlugins = plugins; # plugins
- # vimrcConfig.pathogen.pluginNames = ["tlib"];
- };
+ vimrcConfig.vam.knownPlugins = plugins; # optional
+ vimrcConfig.vam.pluginDictionaries = [
+ copy paste output2 here
+ ];
+ # Pathogen would be
+ # vimrcConfig.pathogen.knownPlugins = plugins; # plugins
+ # vimrcConfig.pathogen.pluginNames = ["tlib"];
+ };
+```
Sample output1:
- "reload" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
- name = "reload";
- src = fetchgit {
- url = "git://github.com/xolox/vim-reload";
- rev = "0a601a668727f5b675cb1ddc19f6861f3f7ab9e1";
- sha256 = "0vb832l9yxj919f5hfg6qj6bn9ni57gnjd3bj7zpq7d4iv2s4wdh";
- };
- dependencies = ["nim-misc"];
+```
+"reload" = buildVimPluginFrom2Nix { # created by nix#NixDerivation
+ name = "reload";
+ src = fetchgit {
+ url = "git://github.com/xolox/vim-reload";
+ rev = "0a601a668727f5b675cb1ddc19f6861f3f7ab9e1";
+ sha256 = "0vb832l9yxj919f5hfg6qj6bn9ni57gnjd3bj7zpq7d4iv2s4wdh";
+ };
+ dependencies = ["nim-misc"];
- };
- [...]
+};
+[...]
+```
Sample output2:
- [
- ''vim-addon-manager''
- ''tlib''
- { "name" = ''vim-addon-sql''; }
- { "filetype_regex" = ''\%(vim)$$''; "names" = [ ''reload'' ''vim-dev-plugin'' ]; }
- ]
-
+```nix
+[
+ ''vim-addon-manager''
+ ''tlib''
+ { "name" = ''vim-addon-sql''; }
+ { "filetype_regex" = ''\%(vim)$$''; "names" = [ ''reload'' ''vim-dev-plugin'' ]; }
+]
+```
## Adding new plugins to nixpkgs
-In `pkgs/misc/vim-plugins/vim-plugin-names` we store the plugin names
-for all vim plugins we automatically generate plugins for.
-The format of this file `github username/github repository`:
-For example https://github.com/scrooloose/nerdtree becomes `scrooloose/nerdtree`.
-After adding your plugin to this file run the `./update.py` in the same folder.
-This will updated a file called `generated.nix` and make your plugin accessible in the
-`vimPlugins` attribute set (`vimPlugins.nerdtree` in our example).
-If additional steps to the build process of the plugin are required, add an
-override to the `pkgs/misc/vim-plugins/default.nix` in the same directory.
+Nix expressions for Vim plugins are stored in [pkgs/misc/vim-plugins](/pkgs/misc/vim-plugins). For the vast majority of plugins, Nix expressions are automatically generated by running [`./update.py`](/pkgs/misc/vim-plugins/update.py). This creates a [generated.nix](/pkgs/misc/vim-plugins/generated.nix) file based on the plugins listed in [vim-plugin-names](/pkgs/misc/vim-plugins/vim-plugin-names). Plugins are listed in alphabetical order in `vim-plugin-names` using the format `[github username]/[repository]`. For example https://github.com/scrooloose/nerdtree becomes `scrooloose/nerdtree`.
+
+Some plugins require overrides in order to function properly. Overrides are placed in [overrides.nix](/pkgs/misc/vim-plugins/overrides.nix). Overrides are most often required when a plugin requires some dependencies, or extra steps are required during the build process. For example `deoplete-fish` requires both `deoplete-nvim` and `vim-fish`, and so the following override was added:
+
+```
+deoplete-fish = super.deoplete-fish.overrideAttrs(old: {
+ dependencies = with super; [ deoplete-nvim vim-fish ];
+});
+```
+
+Sometimes plugins require an override that must be changed when the plugin is updated. This can cause issues when Vim plugins are auto-updated but the associated override isn't updated. For these plugins, the override should be written so that it specifies all information required to install the plugin, and running `./update.py` doesn't change the derivation for the plugin. Manually updating the override is required to update these types of plugins. An example of such a plugin is `LanguageClient-neovim`.
+
+To add a new plugin:
+
+ 1. run `./update.py` and create a commit named "vimPlugins: Update",
+ 2. add the new plugin to [vim-plugin-names](/pkgs/misc/vim-plugins/vim-plugin-names) and add overrides if required to [overrides.nix](/pkgs/misc/vim-plugins/overrides.nix),
+ 3. run `./update.py` again and create a commit named "vimPlugins.[name]: init at [version]" (where `name` and `version` can be found in [generated.nix](/pkgs/misc/vim-plugins/generated.nix)), and
+ 4. create a pull request.
## Important repositories
@@ -252,4 +275,3 @@ override to the `pkgs/misc/vim-plugins/default.nix` in the same directory.
- [vim2nix](https://github.com/MarcWeber/vim-addon-vim2nix) which generates the
.nix code
-
diff --git a/doc/meta.xml b/doc/meta.xml
index ccbc812a862..58c390a68b8 100644
--- a/doc/meta.xml
+++ b/doc/meta.xml
@@ -30,7 +30,7 @@ meta = with stdenv.lib; {
The meta-attributes of a package can be queried from the command-line using
nix-env:
-$ nix-env -qa hello --json
+$ nix-env -qa hello --json
{
"hello": {
"meta": {
@@ -70,7 +70,7 @@ $ nix-env -qa hello --json
nix-env knows about the description
field specifically:
-$ nix-env -qa hello --description
+$ nix-env -qa hello --description
hello-2.3 A program that produces a familiar, friendly greeting
@@ -272,11 +272,9 @@ meta.platforms = stdenv.lib.platforms.linux;
This attribute is special in that it is not actually under the
meta attribute set but rather under the
- passthru attribute set. This is due to a current
- limitation of Nix, and will change as soon as Nixpkgs will be able to
- depend on a new enough version of Nix. See
- the relevant
- issue for more details.
+ passthru attribute set. This is due to how
+ meta attributes work, and the fact that they
+ are supposed to contain only metadata, not derivations.
diff --git a/doc/package-notes.xml b/doc/package-notes.xml
index 29b6b2420b5..d2c660e22a9 100644
--- a/doc/package-notes.xml
+++ b/doc/package-notes.xml
@@ -92,9 +92,9 @@ modulesTree = [kernel]
If needed you can also run make menuconfig:
-$ nix-env -i ncurses
-$ export NIX_CFLAGS_LINK=-lncurses
-$ make menuconfig ARCH=arch
+$ nix-env -i ncurses
+$ export NIX_CFLAGS_LINK=-lncurses
+$ make menuconfig ARCH=arch
@@ -142,8 +142,8 @@ $ make menuconfig ARCH=arch
The generator is invoked as follows:
-$ cd pkgs/servers/x11/xorg
-$ cat tarballs-7.5.list extra.list old.list \
+$ cd pkgs/servers/x11/xorg
+$ cat tarballs-7.5.list extra.list old.list \
| perl ./generate-expr-from-tarballs.pl
For each of the tarballs in the .list files, the script
@@ -160,8 +160,8 @@ $ cat tarballs-7.5.list extra.list old.list \
A file like tarballs-7.5.list contains all tarballs in
a X.org release. It can be generated like this:
-$ export i="mirror://xorg/X11R7.4/src/everything/"
-$ cat $(PRINT_PATH=1 nix-prefetch-url $i | tail -n 1) \
+$ export i="mirror://xorg/X11R7.4/src/everything/"
+$ cat $(PRINT_PATH=1 nix-prefetch-url $i | tail -n 1) \
| perl -e 'while (<>) { if (/(href|HREF)="([^"]*.bz2)"/) { print "$ENV{'i'}$2\n"; }; }' \
| sort > tarballs-7.4.list
@@ -210,7 +210,7 @@ $ cat $(PRINT_PATH=1 nix-prefetch-url $i | tail -n 1) \
often available. It is possible to list available Eclipse packages by
issuing the command:
-$ nix-env -f '<nixpkgs>' -qaP -A eclipses --description
+$ nix-env -f '<nixpkgs>' -qaP -A eclipses --description
Once an Eclipse variant is installed it can be run using the
eclipse command, as expected. From within Eclipse it is
@@ -250,7 +250,7 @@ packageOverrides = pkgs: {
available for installation using eclipseWithPlugins by
running
-$ nix-env -f '<nixpkgs>' -qaP -A eclipses.plugins --description
+$ nix-env -f '<nixpkgs>' -qaP -A eclipses.plugins --description
@@ -325,6 +325,18 @@ packageOverrides = pkgs: {
elm2nix.
+
+ Kakoune
+
+
+ Kakoune can be built to autoload plugins:
+(kakoune.override {
+ configure = {
+ plugins = with pkgs.kakounePlugins; [ parinfer-rust ];
+ };
+})
+
+
Interactive shell helpers
diff --git a/doc/package-specific-user-notes.xml b/doc/package-specific-user-notes.xml
index ef9198d1de2..ef23b022c88 100644
--- a/doc/package-specific-user-notes.xml
+++ b/doc/package-specific-user-notes.xml
@@ -6,7 +6,7 @@
answer some of the frequently asked questions
related to Nixpkgs use.
- Some useful information related to package use
+ Some useful information related to package use
can be found in package-specific development notes.
@@ -196,7 +196,7 @@ overrides = self: super: rec {
haskell-mode = self.melpaPackages.haskell-mode;
...
};
-((emacsPackagesNgGen emacs).overrideScope' overrides).emacsWithPackages (p: with p; [
+((emacsPackagesGen emacs).overrideScope' overrides).emacsWithPackages (p: with p; [
# here both these package will use haskell-mode of our own choice
ghc-mod
dante
@@ -409,11 +409,19 @@ overrides = self: super: rec {
- Citrix Receiver
+ Citrix Receiver & Citrix Workspace App
- The Citrix
- Receiver is a remote desktop viewer which provides access to
+
+
+ Please note that the citrix_receiver package has been deprecated since its
+ development was discontinued by upstream
+ and has been replaced by the citrix workspace app.
+
+
+ Citrix Receiver and
+ Citrix Workspace App
+ are a remote desktop viewers which provide access to
XenDesktop
installations.
@@ -423,30 +431,35 @@ overrides = self: super: rec {
The tarball archive needs to be downloaded manually as the license
- agreements of the vendor need to be accepted first. This is available at
- the
- download
- page at citrix.com. Then run nix-prefetch-url
- file://$PWD/linuxx64-$version.tar.gz. With the archive available
+ agreements of the vendor for
+ Citrix Receiver
+ or Citrix Workspace
+ need to be accepted first.
+ Then run nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz.
+ With the archive available
in the store the package can be built and installed with Nix.
-
- Note: it's recommended to install Citrix
- Receiver using nix-env -i or globally to
- ensure that the .desktop files are installed properly
- into $XDG_CONFIG_DIRS. Otherwise it won't be possible to
- open .ica files automatically from the browser to start
- a Citrix connection.
-
+
+ Caution with nix-shell installs
+
+ It's recommended to install Citrix Receiver
+ and/or Citrix Workspace using
+ nix-env -i or globally to
+ ensure that the .desktop files are installed properly
+ into $XDG_CONFIG_DIRS. Otherwise it won't be possible to
+ open .ica files automatically from the browser to start
+ a Citrix connection.
+
+
Custom certificates
- The Citrix Receiver in nixpkgs trusts
- several certificates
+ The Citrix Workspace App
+ in nixpkgs trust several certificates
from the
Mozilla database by default. However several companies using Citrix
might require their own corporate certificate. On distros with imperative
@@ -459,7 +472,7 @@ overrides = self: super: rec {
{ config.allowUnfree = true; };
let extraCerts = [ ./custom-cert-1.pem ./custom-cert-2.pem /* ... */ ]; in
-citrix_receiver.override {
+citrix_workspace.override {
inherit extraCerts;
}]]>
diff --git a/doc/platform-notes.xml b/doc/platform-notes.xml
index b75b50dbb96..157d3fe2fcd 100644
--- a/doc/platform-notes.xml
+++ b/doc/platform-notes.xml
@@ -20,14 +20,14 @@
scripts.
- stdenv.mkDerivation {
- name = "libfoo-1.2.3";
- # ...
- buildPhase = ''
- $CC -o hello hello.c
- '';
- }
-
+stdenv.mkDerivation {
+ name = "libfoo-1.2.3";
+ # ...
+ buildPhase = ''
+ $CC -o hello hello.c
+ '';
+}
+
@@ -39,12 +39,12 @@
fixupPhase.
- stdenv.mkDerivation {
- name = "libfoo-1.2.3";
- # ...
- makeFlags = stdenv.lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/libfoo.dylib";
- }
-
+stdenv.mkDerivation {
+ name = "libfoo-1.2.3";
+ # ...
+ makeFlags = stdenv.lib.optional stdenv.isDarwin "LDFLAGS=-Wl,-install_name,$(out)/lib/libfoo.dylib";
+}
+
@@ -62,19 +62,19 @@
1 manpage.
- dyld: Library not loaded: /nix/store/7hnmbscpayxzxrixrgxvvlifzlxdsdir-jq-1.5-lib/lib/libjq.1.dylib
- Referenced from: /private/tmp/nix-build-jq-1.5.drv-0/jq-1.5/tests/../jq
- Reason: image not found
- ./tests/jqtest: line 5: 75779 Abort trap: 6
-
+dyld: Library not loaded: /nix/store/7hnmbscpayxzxrixrgxvvlifzlxdsdir-jq-1.5-lib/lib/libjq.1.dylib
+Referenced from: /private/tmp/nix-build-jq-1.5.drv-0/jq-1.5/tests/../jq
+Reason: image not found
+./tests/jqtest: line 5: 75779 Abort trap: 6
+
- stdenv.mkDerivation {
- name = "libfoo-1.2.3";
- # ...
- doInstallCheck = true;
- installCheckTarget = "check";
- }
-
+stdenv.mkDerivation {
+ name = "libfoo-1.2.3";
+ # ...
+ doInstallCheck = true;
+ installCheckTarget = "check";
+}
+
@@ -85,15 +85,15 @@
on xcode.
- stdenv.mkDerivation {
- name = "libfoo-1.2.3";
- # ...
- prePatch = ''
- substituteInPlace Makefile \
- --replace '/usr/bin/xcrun clang' clang
- '';
- }
-
+stdenv.mkDerivation {
+ name = "libfoo-1.2.3";
+ # ...
+ prePatch = ''
+ substituteInPlace Makefile \
+ --replace '/usr/bin/xcrun clang' clang
+ '';
+}
+
The package xcbuild can be used to build projects that
really depend on Xcode. However, this replacement is not 100% compatible
diff --git a/doc/quick-start.xml b/doc/quick-start.xml
index 86c17ca4e9f..292d66864a4 100644
--- a/doc/quick-start.xml
+++ b/doc/quick-start.xml
@@ -9,8 +9,8 @@
Checkout the Nixpkgs source tree:
-$ git clone https://github.com/NixOS/nixpkgs
-$ cd nixpkgs
+$ git clone https://github.com/NixOS/nixpkgs
+$ cd nixpkgs
@@ -23,7 +23,7 @@ $ cd nixpkgs
See for some hints on the tree
organisation. Create a directory for your package, e.g.
-$ mkdir pkgs/development/libraries/libfoo
+$ mkdir pkgs/development/libraries/libfoo
@@ -34,8 +34,8 @@ $ mkdir pkgs/development/libraries/libfoo
as arguments, and returns a build of the package in the Nix store. The
expression should usually be called default.nix.
-$ emacs pkgs/development/libraries/libfoo/default.nix
-$ git add pkgs/development/libraries/libfoo/default.nix
+$ emacs pkgs/development/libraries/libfoo/default.nix
+$ git add pkgs/development/libraries/libfoo/default.nix
You can have a look at the existing Nix expressions under
@@ -180,7 +180,7 @@ $ git add pkgs/development/libraries/libfoo/default.nix
with some descriptive name for the variable, e.g.
libfoo.
-$ emacs pkgs/top-level/all-packages.nix
+$ emacs pkgs/top-level/all-packages.nix
The attributes in that file are sorted by category (like “Development /
@@ -193,7 +193,7 @@ $ emacs pkgs/top-level/all-packages.nix
To test whether the package builds, run the following command from the
root of the nixpkgs source tree:
-$ nix-build -A libfoo
+$ nix-build -A libfoo
where libfoo should be the variable name defined in the
previous step. You may want to add the flag to keep
the temporary build directory in case something fails. If the build
@@ -205,13 +205,17 @@ $ nix-build -A libfoo
If you want to install the package into your profile (optional), do
-$ nix-env -f . -iA libfoo
+$ nix-env -f . -iA libfoo
- Optionally commit the new package and open a pull request, or send a patch
- to https://groups.google.com/forum/#!forum/nix-devel.
+ Optionally commit the new package and open a pull request to nixpkgs, or
+ use
+ the Patches category on Discourse for sending a patch without a
+ GitHub account.
diff --git a/doc/reviewing-contributions.xml b/doc/reviewing-contributions.xml
index 6e3b6face3a..5aa950625ef 100644
--- a/doc/reviewing-contributions.xml
+++ b/doc/reviewing-contributions.xml
@@ -153,11 +153,11 @@
nixpkgs-unstable for easier review by running the following commands
from a nixpkgs clone.
-$ git remote add channels https://github.com/NixOS/nixpkgs-channels.git $ git remote add channels https://github.com/NixOS/nixpkgs-channels.git
-$ git fetch channels nixos-unstable
-$ git fetch origin pull/PRNUMBER/head
-$ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD $ git fetch channels nixos-unstable
+$ git fetch origin pull/PRNUMBER/head
+$ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD
@@ -197,7 +197,7 @@ $ git rebase --onto nixos-unstable BASEBRANCH FETCH_HEAD
-$ nix-shell -p nix-review --run "nix-review pr PRNUMBER"
+$ nix-shell -p nix-review --run "nix-review pr PRNUMBER"
diff --git a/doc/stdenv.xml b/doc/stdenv.xml
index 00d1ec87098..f8c2aff9785 100644
--- a/doc/stdenv.xml
+++ b/doc/stdenv.xml
@@ -31,9 +31,28 @@ stdenv.mkDerivation {
separate Nix expression from pkgs/all-packages.nix, you
need to pass it as a function argument.) Specifying a
name and a src is the absolute minimum
- you need to do. Many packages have dependencies that are not provided in the
- standard environment. It’s usually sufficient to specify those
- dependencies in the buildInputs attribute:
+ Nix requires. For convenience, you can also use pname and
+ version attributes and mkDerivation
+ will automatically set name to
+ "${pname}-${version}" by default. Since
+ RFC 0035,
+ this is preferred for packages in Nixpkgs, as it allows us to reuse the
+ version easily:
+
+stdenv.mkDerivation rec {
+ pname = "libfoo";
+ version = "1.2.3";
+ src = fetchurl {
+ url = "http://example.org/libfoo-source-${version}.tar.bz2";
+ sha256 = "0x2g1jqygyr5wiwg4ma1nd7w4ydpy82z9gkcv8vh2v8dn3y58v5m";
+ };
+}
+
+
+
+ Many packages have dependencies that are not provided in the standard
+ environment. It’s usually sufficient to specify those dependencies in the
+ buildInputs attribute:
stdenv.mkDerivation {
name = "libfoo-1.2.3";
@@ -324,7 +343,7 @@ let f(h, t, i) = i + (if i <= 0 then h else t - 1)
let f(h, h + 1, i) = i + (if i <= 0 then h else (h + 1) - 1)
let f(h, h + 1, i) = i + (if i <= 0 then h else h)
let f(h, h + 1, i) = i + h
-
+
This is where "sum-like" comes in from above: We can just sum all of the
host offsets to get the host offset of the transitive dependency. The target
offset is the transitive dependency is simply the host offset + 1, just as
@@ -680,7 +699,7 @@ passthru = {
-
+
passthru.updateScript
@@ -709,19 +728,16 @@ passthru.updateScript = writeScript "update-zoom-us" ''
passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ];
- Note that the update scripts will be run in parallel by default; you
- should avoid running git commit or any other commands
- that cannot handle that.
+
+
+ The script will be usually run from the root of the Nixpkgs repository
+ but you should not rely on that. Also note that the update scripts will
+ be run in parallel by default; you should avoid running git
+ commit or any other commands that cannot handle that.
For information about how to run the updates, execute
-
- nix-shell
-
- maintainers/scripts/update.nix
-
-
- .
+ nix-shell maintainers/scripts/update.nix.
@@ -770,7 +786,7 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
set, the default value is used, which is $prePhases
unpackPhase patchPhase $preConfigurePhases configurePhase
$preBuildPhases buildPhase checkPhase $preInstallPhases installPhase
- fixupPhase $preDistPhases distPhase $postPhases.
+ fixupPhase installCheckPhase $preDistPhases distPhase $postPhases.
Usually, if you just want to add a few phases, it’s more convenient
@@ -971,6 +987,16 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
+
+
+ dontUnpack
+
+
+
+ Set to true to skip the unpack phase.
+
+
+
dontMakeSourcesWritable
@@ -1093,6 +1119,16 @@ passthru.updateScript = [ ../../update.sh pname "--requested-release=unstable" ]
+
+
+ dontConfigure
+
+
+
+ Set to true to skip the configure phase.
+
+
+
configureFlagsArray
@@ -1563,6 +1599,16 @@ installTargets = "install-bin install-doc";
Variables controlling the fixup phase
+
+
+ dontFixup
+
+
+
+ Set to true to skip the fixup phase.
+
+
+
dontStrip
@@ -2213,7 +2259,7 @@ someVar=$(stripHash $name)
array by doing something like
addEnvHooks "$hostOffset" myBashFunction
-
+
@@ -2365,7 +2411,7 @@ addEnvHooks "$hostOffset" myBashFunction
The Bintools Wrapper was only just recently split off from CC Wrapper,
so the division of labor is still being worked out. For example, it
- shouldn't care about about the C standard library, but just take a
+ shouldn't care about the C standard library, but just take a
derivation with the dynamic loader (which happens to be the glibc on
linux). Dependency finding however is a task both wrappers will continue
to need to share, and probably the most important to understand. It is
@@ -2583,13 +2629,11 @@ addEnvHooks "$hostOffset" myBashFunction
- GStreamer
+ GNOME platform
- Adds the GStreamer plugins subdirectory of each build input to the
- GST_PLUGIN_SYSTEM_PATH_1_0 or
- GST_PLUGIN_SYSTEM_PATH environment variable.
+ Hooks related to GNOME platform and related libraries like GLib, GTK and GStreamer are described in .
@@ -2651,8 +2695,8 @@ addEnvHooks "$hostOffset" myBashFunction
that is supposed to be inspected, add breakpointHook
to nativeBuildInputs.
- nativeBuildInputs = [ breakpointHook ];
-
+nativeBuildInputs = [ breakpointHook ];
+
When a build failure happens there will be an instruction printed that
shows how to attach with cntr to the build sandbox.
@@ -2668,6 +2712,49 @@ addEnvHooks "$hostOffset" myBashFunction
+
+
+ installShellFiles
+
+
+
+ This hook helps with installing manpages and shell completion files. It
+ exposes 2 shell functions installManPage and
+ installShellCompletion that can be used from your
+ postInstall hook.
+
+
+ The installManPage function takes one or more paths
+ to manpages to install. The manpages must have a section suffix, and may
+ optionally be compressed (with .gz suffix). This
+ function will place them into the correct directory.
+
+
+ The installShellCompletion function takes one or more
+ paths to shell completion files. By default it will autodetect the shell
+ type from the completion file extension, but you may also specify it by
+ passing one of --bash, --fish, or
+ --zsh. These flags apply to all paths listed after
+ them (up until another shell flag is given). Each path may also have a
+ custom installation name provided by providing a flag --name
+ NAME before the path. If this flag is not provided, zsh
+ completions will be renamed automatically such that
+ foobar.zsh becomes _foobar.
+
+nativeBuildInputs = [ installShellFiles ];
+postInstall = ''
+ installManPage doc/foobar.1 doc/barfoo.3
+ # explicit behavior
+ installShellCompletion --bash --name foobar.bash share/completions.bash
+ installShellCompletion --fish --name foobar.fish share/completions.fish
+ installShellCompletion --zsh --name _foobar share/completions.zsh
+ # implicit behavior
+ installShellCompletion share/completions/foobar.{bash,fish,zsh}
+'';
+
+
+
+
libiconv, libintl
@@ -2847,7 +2934,7 @@ addEnvHooks "$hostOffset" myBashFunction
printf(help_message);
^
cc1plus: some warnings being treated as errors
-
+
@@ -2869,7 +2956,7 @@ cc1plus: some warnings being treated as errors
bin/blib.a(bios_console.o): In function `bios_handle_cup':
/tmp/nix-build-ipxe-20141124-5cbdc41.drv-0/ipxe-5cbdc41/src/arch/i386/firmware/pcbios/bios_console.c:86: undefined reference to `__stack_chk_fail'
-
+
@@ -2898,19 +2985,19 @@ bin/blib.a(bios_console.o): In function `bios_handle_cup':
malloc.c:404:15: error: return type is an incomplete type
malloc.c:410:19: error: storage size of 'ms' isn't known
-
+
strdup.h:22:1: error: expected identifier or '(' before '__extension__'
-
+
strsep.c:65:23: error: register name not specified for 'delim'
-
+
installwatch.c:3751:5: error: conflicting types for '__open_2'
-
+
fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open with O_CREAT or O_TMPFILE in second argument needs 3 arguments
-
+
@@ -2935,7 +3022,7 @@ fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute erro
ccbLfRgg.s: Assembler messages:
ccbLfRgg.s:33: Error: missing or invalid displacement expression `private_key_len@GOTOFF'
-
+
@@ -2999,7 +3086,7 @@ ccbLfRgg.s:33: Error: missing or invalid displacement expression `private_key_le
intel_drv.so: undefined symbol: vgaHWFreeHWRec
-
+
diff --git a/doc/submitting-changes.xml b/doc/submitting-changes.xml
index bc090fd757c..a04ec08b048 100644
--- a/doc/submitting-changes.xml
+++ b/doc/submitting-changes.xml
@@ -36,8 +36,8 @@
-$ git checkout 0998212
-$ git checkout -b 'fix/pkg-name-update'
+$ git checkout 0998212
+$ git checkout -b 'fix/pkg-name-update'
@@ -514,7 +514,7 @@ The original commit message describing the reason why the world was torn apart.
(cherry picked from commit abcdef)
Reason: I just had a gut feeling that this would also be wanted by people from
the stone age.
-
+
diff --git a/lib/attrsets.nix b/lib/attrsets.nix
index d374d229f59..086c3d746fc 100644
--- a/lib/attrsets.nix
+++ b/lib/attrsets.nix
@@ -354,7 +354,7 @@ rec {
=> { a = ["x" "y"]; b = ["z"] }
*/
zipAttrsWith = f: sets: zipAttrsWithNames (concatMap attrNames sets) f sets;
- /* Like `zipAttrsWith' with `(name: values: value)' as the function.
+ /* Like `zipAttrsWith' with `(name: values: values)' as the function.
Example:
zipAttrs [{a = "x";} {a = "y"; b = "z";}]
diff --git a/lib/customisation.nix b/lib/customisation.nix
index 1f5eb0d11e8..3be36fcd719 100644
--- a/lib/customisation.nix
+++ b/lib/customisation.nix
@@ -47,7 +47,7 @@ rec {
/* `makeOverridable` takes a function from attribute set to attribute set and
- injects `override` attibute which can be used to override arguments of
+ injects `override` attribute which can be used to override arguments of
the function.
nix-repl> x = {a, b}: { result = a + b; }
diff --git a/lib/default.nix b/lib/default.nix
index 8735b647679..18d2dfae1e1 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -50,7 +50,7 @@ let
filesystem = callLibs ./filesystem.nix;
# back-compat aliases
- platforms = systems.forMeta;
+ platforms = systems.doubles;
inherit (builtins) add addErrorContext attrNames concatLists
deepSeq elem elemAt filter genericClosure genList getAttr
@@ -71,7 +71,7 @@ let
zipAttrsWithNames zipAttrsWith zipAttrs recursiveUpdateUntil
recursiveUpdate matchAttrs overrideExisting getOutput getBin
getLib getDev chooseDevOutputs zipWithNames zip;
- inherit (lists) singleton foldr fold foldl foldl' imap0 imap1
+ inherit (lists) singleton forEach foldr fold foldl foldl' imap0 imap1
concatMap flatten remove findSingle findFirst any all count
optional optionals toList range partition zipListsWith zipLists
reverseList listDfs toposort sort naturalSort compareLists take
diff --git a/lib/deprecated.nix b/lib/deprecated.nix
index 15de5045661..155d6f0c361 100644
--- a/lib/deprecated.nix
+++ b/lib/deprecated.nix
@@ -24,7 +24,7 @@ rec {
let arg = (merger init (defaultMergeArg init x));
# now add the function with composed args already applied to the final attrs
base = (setAttrMerge "passthru" {} (f arg)
- ( z: z // rec {
+ ( z: z // {
function = foldArgs merger f arg;
args = (lib.attrByPath ["passthru" "args"] {} z) // x;
} ));
diff --git a/lib/kernel.nix b/lib/kernel.nix
index 5923011774b..36ea3083828 100644
--- a/lib/kernel.nix
+++ b/lib/kernel.nix
@@ -1,7 +1,7 @@
{ lib, version }:
with lib;
-rec {
+{
# Common patterns/legacy
whenAtLeast = ver: mkIf (versionAtLeast version ver);
whenOlder = ver: mkIf (versionOlder version ver);
diff --git a/lib/licenses.nix b/lib/licenses.nix
index 53a84999bc8..83e1ec7748d 100644
--- a/lib/licenses.nix
+++ b/lib/licenses.nix
@@ -7,7 +7,7 @@ let
in
-lib.mapAttrs (n: v: v // { shortName = n; }) rec {
+lib.mapAttrs (n: v: v // { shortName = n; }) {
/* License identifiers from spdx.org where possible.
* If you cannot find your license here, then look for a similar license or
* add it to this list. The URL mentioned above is a good source for inspiration.
@@ -434,12 +434,12 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
lgpl21 = spdx {
spdxId = "LGPL-2.1-only";
- fullName = "GNU Library General Public License v2.1 only";
+ fullName = "GNU Lesser General Public License v2.1 only";
};
lgpl21Plus = spdx {
spdxId = "LGPL-2.1-or-later";
- fullName = "GNU Library General Public License v2.1 or later";
+ fullName = "GNU Lesser General Public License v2.1 or later";
};
lgpl3 = spdx {
@@ -457,9 +457,9 @@ lib.mapAttrs (n: v: v // { shortName = n; }) rec {
fullName = "libpng License";
};
- libpng2 = {
- fullName = "libpng License v2"; # 1.6.36+
- url = "http://www.libpng.org/pub/png/src/libpng-LICENSE.txt";
+ libpng2 = spdx {
+ spdxId = "libpng-2.0"; # Used since libpng 1.6.36.
+ fullName = "PNG Reference Library version 2";
};
libtiff = spdx {
diff --git a/lib/lists.nix b/lib/lists.nix
index 30d87ece664..f9f30412770 100644
--- a/lib/lists.nix
+++ b/lib/lists.nix
@@ -21,6 +21,19 @@ rec {
*/
singleton = x: [x];
+ /* Apply the function to each element in the list. Same as `map`, but arguments
+ flipped.
+
+ Type: forEach :: [a] -> (a -> b) -> [b]
+
+ Example:
+ forEach [ 1 2 ] (x:
+ toString x
+ )
+ => [ "1" "2" ]
+ */
+ forEach = xs: f: map f xs;
+
/* “right fold” a binary function `op` between successive elements of
`list` with `nul' as the starting value, i.e.,
`foldr op nul [x_1 x_2 ... x_n] == op x_1 (op x_2 ... (op x_n nul))`.
@@ -75,7 +88,7 @@ rec {
/* Strict version of `foldl`.
The difference is that evaluation is forced upon access. Usually used
- with small whole results (in contract with lazily-generated list or large
+ with small whole results (in contrast with lazily-generated list or large
lists where only a part is consumed.)
Type: foldl' :: (b -> a -> b) -> b -> [a] -> b
@@ -446,11 +459,11 @@ rec {
if length list < 2
then # finish
{ result = list; }
- else if dfsthis ? "cycle"
+ else if dfsthis ? cycle
then # there's a cycle, starting from the current vertex, return it
{ cycle = reverseList ([ dfsthis.cycle ] ++ dfsthis.visited);
inherit (dfsthis) loops; }
- else if toporest ? "cycle"
+ else if toporest ? cycle
then # there's a cycle somewhere else in the graph, return it
toporest
# Slow, but short. Can be made a bit faster with an explicit stack.
diff --git a/lib/modules.nix b/lib/modules.nix
index 0869eae1982..c3c903c1dfa 100644
--- a/lib/modules.nix
+++ b/lib/modules.nix
@@ -323,16 +323,14 @@ rec {
else
mergeDefinitions loc opt.type defs';
- # Check whether the option is defined, and apply the ‘apply’
- # function to the merged value. This allows options to yield a
- # value computed from the definitions.
- value =
- if !res.isDefined then
- throw "The option `${showOption loc}' is used but not defined."
- else if opt ? apply then
- opt.apply res.mergedValue
- else
- res.mergedValue;
+
+ # The value with a check that it is defined
+ valueDefined = if res.isDefined then res.mergedValue else
+ throw "The option `${showOption loc}' is used but not defined.";
+
+ # Apply the 'apply' function to the merged value. This allows options to
+ # yield a value computed from the definitions
+ value = if opt ? apply then opt.apply valueDefined else valueDefined;
in opt //
{ value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
diff --git a/lib/options.nix b/lib/options.nix
index a16a980398d..e5c0631a543 100644
--- a/lib/options.nix
+++ b/lib/options.nix
@@ -36,7 +36,7 @@ rec {
example ? null,
# String describing the option.
description ? null,
- # Related packages used in the manual (see `genRelatedPackages` in ../nixos/doc/manual/default.nix).
+ # Related packages used in the manual (see `genRelatedPackages` in ../nixos/lib/make-options-doc/default.nix).
relatedPackages ? null,
# Option type, providing type-checking and value merging.
type ? null,
@@ -101,7 +101,7 @@ rec {
mergeOneOption = loc: defs:
if defs == [] then abort "This case should never happen."
else if length defs != 1 then
- throw "The unique option `${showOption loc}' is defined multiple times, in ${showFiles (getFiles defs)}."
+ throw "The unique option `${showOption loc}' is defined multiple times, in:\n - ${concatStringsSep "\n - " (getFiles defs)}."
else (head defs).value;
/* "Merge" option definitions by checking that they all have the same value. */
diff --git a/lib/sources.nix b/lib/sources.nix
index 0ffadea8f1b..51bcf5559e3 100644
--- a/lib/sources.nix
+++ b/lib/sources.nix
@@ -36,29 +36,62 @@ rec {
# allowing you to chain multiple calls together without any
# intermediate copies being put in the nix store.
#
- # lib.cleanSourceWith f (lib.cleanSourceWith g ./.) # Succeeds!
- # builtins.filterSource f (builtins.filterSource g ./.) # Fails!
- cleanSourceWith = { filter, src }:
+ # lib.cleanSourceWith {
+ # filter = f;
+ # src = lib.cleanSourceWith {
+ # filter = g;
+ # src = ./.;
+ # };
+ # }
+ # # Succeeds!
+ #
+ # builtins.filterSource f (builtins.filterSource g ./.)
+ # # Fails!
+ #
+ # Parameters:
+ #
+ # src: A path or cleanSourceWith result to filter and/or rename.
+ #
+ # filter: A function (path -> type -> bool)
+ # Optional with default value: constant true (include everything)
+ # The function will be combined with the && operator such
+ # that src.filter is called lazily.
+ # For implementing a filter, see
+ # https://nixos.org/nix/manual/#builtin-filterSource
+ #
+ # name: Optional name to use as part of the store path.
+ # This defaults `src.name` or otherwise `baseNameOf src`.
+ # We recommend setting `name` whenever `src` is syntactically `./.`.
+ # Otherwise, you depend on `./.`'s name in the parent directory,
+ # which can cause inconsistent names, defeating caching.
+ #
+ cleanSourceWith = { filter ? _path: _type: true, src, name ? null }:
let
isFiltered = src ? _isLibCleanSourceWith;
origSrc = if isFiltered then src.origSrc else src;
filter' = if isFiltered then name: type: filter name type && src.filter name type else filter;
+ name' = if name != null then name else if isFiltered then src.name else baseNameOf src;
in {
inherit origSrc;
filter = filter';
- outPath = builtins.filterSource filter' origSrc;
+ outPath = builtins.path { filter = filter'; path = origSrc; name = name'; };
_isLibCleanSourceWith = true;
+ name = name';
};
# Filter sources by a list of regular expressions.
#
# E.g. `src = sourceByRegex ./my-subproject [".*\.py$" "^database.sql$"]`
- sourceByRegex = src: regexes: cleanSourceWith {
- filter = (path: type:
- let relPath = lib.removePrefix (toString src + "/") (toString path);
- in lib.any (re: builtins.match re relPath != null) regexes);
- inherit src;
- };
+ sourceByRegex = src: regexes:
+ let
+ isFiltered = src ? _isLibCleanSourceWith;
+ origSrc = if isFiltered then src.origSrc else src;
+ in lib.cleanSourceWith {
+ filter = (path: type:
+ let relPath = lib.removePrefix (toString origSrc + "/") (toString path);
+ in lib.any (re: builtins.match re relPath != null) regexes);
+ inherit src;
+ };
# Get all files ending with the specified suffices from the given
# directory or its descendants. E.g. `sourceFilesBySuffices ./dir
diff --git a/lib/systems/default.nix b/lib/systems/default.nix
index 5e6d277be7d..0c0cdf1f11b 100644
--- a/lib/systems/default.nix
+++ b/lib/systems/default.nix
@@ -3,7 +3,6 @@
rec {
doubles = import ./doubles.nix { inherit lib; };
- forMeta = import ./for-meta.nix { inherit lib; };
parse = import ./parse.nix { inherit lib; };
inspect = import ./inspect.nix { inherit lib; };
platforms = import ./platforms.nix { inherit lib; };
@@ -15,7 +14,9 @@ rec {
# `parsed` is inferred from args, both because there are two options with one
# clearly prefered, and to prevent cycles. A simpler fixed point where the RHS
# always just used `final.*` would fail on both counts.
- elaborate = args: let
+ elaborate = args': let
+ args = if lib.isString args' then { system = args'; }
+ else args';
final = {
# Prefer to parse `config` as it is strictly more informative.
parsed = parse.mkSystemFromString (if args ? config then args.config else args.system);
@@ -57,13 +58,13 @@ rec {
uname = {
# uname -s
system = {
- "linux" = "Linux";
- "windows" = "Windows";
- "darwin" = "Darwin";
- "netbsd" = "NetBSD";
- "freebsd" = "FreeBSD";
- "openbsd" = "OpenBSD";
- "wasi" = "Wasi";
+ linux = "Linux";
+ windows = "Windows";
+ darwin = "Darwin";
+ netbsd = "NetBSD";
+ freebsd = "FreeBSD";
+ openbsd = "OpenBSD";
+ wasi = "Wasi";
}.${final.parsed.kernel.name} or null;
# uname -p
@@ -85,10 +86,10 @@ rec {
else if final.isx86_64 then "x86_64"
else if final.isx86 then "i386"
else {
- "powerpc" = "ppc";
- "powerpcle" = "ppc";
- "powerpc64" = "ppc64";
- "powerpc64le" = "ppc64le";
+ powerpc = "ppc";
+ powerpcle = "ppc";
+ powerpc64 = "ppc64";
+ powerpc64le = "ppc64le";
}.${final.parsed.cpu.name} or final.parsed.cpu.name;
emulator = pkgs: let
diff --git a/lib/systems/doubles.nix b/lib/systems/doubles.nix
index c6877ebef0b..8e02fcb5de0 100644
--- a/lib/systems/doubles.nix
+++ b/lib/systems/doubles.nix
@@ -13,19 +13,27 @@ let
"i686-cygwin" "i686-freebsd" "i686-linux" "i686-netbsd" "i686-openbsd"
- "x86_64-cygwin" "x86_64-darwin" "x86_64-freebsd" "x86_64-linux"
+ "x86_64-cygwin" "x86_64-freebsd" "x86_64-linux"
"x86_64-netbsd" "x86_64-openbsd" "x86_64-solaris"
+ "x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin"
+
"x86_64-windows" "i686-windows"
"wasm64-wasi" "wasm32-wasi"
+
+ "powerpc64le-linux"
+
+ "riscv32-linux" "riscv64-linux"
+
+ "aarch64-none" "avr-none" "arm-none" "i686-none" "x86_64-none" "powerpc-none" "msp430-none" "riscv64-none" "riscv32-none"
];
allParsed = map parse.mkSystemFromString all;
filterDoubles = f: map parse.doubleFromSystem (lists.filter f allParsed);
-in rec {
+in {
inherit all;
none = [];
@@ -36,6 +44,7 @@ in rec {
i686 = filterDoubles predicates.isi686;
x86_64 = filterDoubles predicates.isx86_64;
mips = filterDoubles predicates.isMips;
+ riscv = filterDoubles predicates.isRiscV;
cygwin = filterDoubles predicates.isCygwin;
darwin = filterDoubles predicates.isDarwin;
@@ -50,5 +59,7 @@ in rec {
wasi = filterDoubles predicates.isWasi;
windows = filterDoubles predicates.isWindows;
+ embedded = filterDoubles predicates.isNone;
+
mesaPlatforms = ["i686-linux" "x86_64-linux" "x86_64-darwin" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "armv7a-linux" "aarch64-linux" "powerpc64le-linux"];
}
diff --git a/lib/systems/examples.nix b/lib/systems/examples.nix
index d17af9fcc14..511ae197948 100644
--- a/lib/systems/examples.nix
+++ b/lib/systems/examples.nix
@@ -24,27 +24,27 @@ rec {
platform = platforms.powernv;
};
- sheevaplug = rec {
+ sheevaplug = {
config = "armv5tel-unknown-linux-gnueabi";
platform = platforms.sheevaplug;
};
- raspberryPi = rec {
+ raspberryPi = {
config = "armv6l-unknown-linux-gnueabihf";
platform = platforms.raspberrypi;
};
- armv7l-hf-multiplatform = rec {
+ armv7l-hf-multiplatform = {
config = "armv7l-unknown-linux-gnueabihf";
platform = platforms.armv7l-hf-multiplatform;
};
- aarch64-multiplatform = rec {
+ aarch64-multiplatform = {
config = "aarch64-unknown-linux-gnu";
platform = platforms.aarch64-multiplatform;
};
- armv7a-android-prebuilt = rec {
+ armv7a-android-prebuilt = {
config = "armv7a-unknown-linux-androideabi";
sdkVer = "24";
ndkVer = "18b";
@@ -52,7 +52,7 @@ rec {
useAndroidPrebuilt = true;
};
- aarch64-android-prebuilt = rec {
+ aarch64-android-prebuilt = {
config = "aarch64-unknown-linux-android";
sdkVer = "24";
ndkVer = "18b";
@@ -65,17 +65,17 @@ rec {
inherit (platform.gcc) fpu;
};
- pogoplug4 = rec {
+ pogoplug4 = {
config = "armv5tel-unknown-linux-gnueabi";
platform = platforms.pogoplug4;
};
- ben-nanonote = rec {
+ ben-nanonote = {
config = "mipsel-unknown-linux-uclibc";
platform = platforms.ben_nanonote;
};
- fuloongminipc = rec {
+ fuloongminipc = {
config = "mipsel-unknown-linux-gnu";
platform = platforms.fuloong2f_n32;
};
@@ -97,6 +97,18 @@ rec {
riscv64 = riscv "64";
riscv32 = riscv "32";
+ riscv64-embedded = {
+ config = "riscv64-none-elf";
+ libc = "newlib";
+ platform = platforms.riscv-multiplatform "64";
+ };
+
+ riscv32-embedded = {
+ config = "riscv32-none-elf";
+ libc = "newlib";
+ platform = platforms.riscv-multiplatform "32";
+ };
+
msp430 = {
config = "msp430-elf";
libc = "newlib";
@@ -224,4 +236,9 @@ rec {
useLLVM = true;
};
+ # Ghcjs
+ ghcjs = {
+ config = "js-unknown-ghcjs";
+ platform = {};
+ };
}
diff --git a/lib/systems/for-meta.nix b/lib/systems/for-meta.nix
deleted file mode 100644
index 17ae94deb7d..00000000000
--- a/lib/systems/for-meta.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-{ lib }:
-let
- inherit (lib.systems) parse;
- inherit (lib.systems.inspect) patterns;
-
- abis = lib.mapAttrs (_: abi: builtins.removeAttrs abi [ "assertions" ]) parse.abis;
-
-in rec {
- all = [ {} ]; # `{}` matches anything
- none = [];
-
- arm = [ patterns.isAarch32 ];
- aarch64 = [ patterns.isAarch64 ];
- x86 = [ patterns.isx86 ];
- i686 = [ patterns.isi686 ];
- x86_64 = [ patterns.isx86_64 ];
- mips = [ patterns.isMips ];
- riscv = [ patterns.isRiscV ];
-
- cygwin = [ patterns.isCygwin ];
- darwin = [ patterns.isDarwin ];
- freebsd = [ patterns.isFreeBSD ];
- # Should be better, but MinGW is unclear.
- gnu = [
- { kernel = parse.kernels.linux; abi = abis.gnu; }
- { kernel = parse.kernels.linux; abi = abis.gnueabi; }
- { kernel = parse.kernels.linux; abi = abis.gnueabihf; }
- ];
- illumos = [ patterns.isSunOS ];
- linux = [ patterns.isLinux ];
- netbsd = [ patterns.isNetBSD ];
- openbsd = [ patterns.isOpenBSD ];
- unix = patterns.isUnix; # Actually a list
- windows = [ patterns.isWindows ];
- wasi = [ patterns.isWasi ];
-
- inherit (lib.systems.doubles) mesaPlatforms;
-}
diff --git a/lib/systems/inspect.nix b/lib/systems/inspect.nix
index 1c90af88879..8a983b3d363 100644
--- a/lib/systems/inspect.nix
+++ b/lib/systems/inspect.nix
@@ -12,7 +12,7 @@ rec {
isx86_32 = { cpu = { family = "x86"; bits = 32; }; };
isx86_64 = { cpu = { family = "x86"; bits = 64; }; };
isPowerPC = { cpu = cpuTypes.powerpc; };
- isPower = { cpu = { family = "power"; }; };
+ isPower = { cpu = { family = "power"; }; };
isx86 = { cpu = { family = "x86"; }; };
isAarch32 = { cpu = { family = "arm"; bits = 32; }; };
isAarch64 = { cpu = { family = "arm"; bits = 64; }; };
@@ -23,6 +23,7 @@ rec {
isMsp430 = { cpu = { family = "msp430"; }; };
isAvr = { cpu = { family = "avr"; }; };
isAlpha = { cpu = { family = "alpha"; }; };
+ isJavaScript = { cpu = cpuTypes.js; };
is32bit = { cpu = { bits = 32; }; };
is64bit = { cpu = { bits = 64; }; };
@@ -44,6 +45,8 @@ rec {
isCygwin = { kernel = kernels.windows; abi = abis.cygnus; };
isMinGW = { kernel = kernels.windows; abi = abis.gnu; };
isWasi = { kernel = kernels.wasi; };
+ isGhcjs = { kernel = kernels.ghcjs; };
+ isNone = { kernel = kernels.none; };
isAndroid = [ { abi = abis.android; } { abi = abis.androideabi; } ];
isMusl = with abis; map (a: { abi = a; }) [ musl musleabi musleabihf ];
diff --git a/lib/systems/parse.nix b/lib/systems/parse.nix
index 7f5912a13a7..5e12df32ffd 100644
--- a/lib/systems/parse.nix
+++ b/lib/systems/parse.nix
@@ -106,11 +106,13 @@ rec {
wasm32 = { bits = 32; significantByte = littleEndian; family = "wasm"; };
wasm64 = { bits = 64; significantByte = littleEndian; family = "wasm"; };
-
+
alpha = { bits = 64; significantByte = littleEndian; family = "alpha"; };
msp430 = { bits = 16; significantByte = littleEndian; family = "msp430"; };
avr = { bits = 8; family = "avr"; };
+
+ js = { bits = 32; significantByte = littleEndian; family = "js"; };
};
# Determine where two CPUs are compatible with each other. That is,
@@ -271,6 +273,7 @@ rec {
solaris = { execFormat = elf; families = { }; };
wasi = { execFormat = wasm; families = { }; };
windows = { execFormat = pe; families = { }; };
+ ghcjs = { execFormat = unknown; families = { }; };
} // { # aliases
# 'darwin' is the kernel for all of them. We choose macOS by default.
darwin = kernels.macos;
@@ -384,6 +387,8 @@ rec {
then { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; }
else if (elem (elemAt l 2) ["eabi" "eabihf" "elf"])
then { cpu = elemAt l 0; vendor = "unknown"; kernel = elemAt l 1; abi = elemAt l 2; }
+ else if (elemAt l 2 == "ghcjs")
+ then { cpu = elemAt l 0; vendor = "unknown"; kernel = elemAt l 2; }
else throw "Target specification with 3 components is ambiguous";
"4" = { cpu = elemAt l 0; vendor = elemAt l 1; kernel = elemAt l 2; abi = elemAt l 3; };
}.${toString (length l)}
@@ -403,7 +408,7 @@ rec {
getKernel = name: kernels.${name} or (throw "Unknown kernel: ${name}");
getAbi = name: abis.${name} or (throw "Unknown ABI: ${name}");
- parsed = rec {
+ parsed = {
cpu = getCpu args.cpu;
vendor =
/**/ if args ? vendor then getVendor args.vendor
@@ -428,7 +433,7 @@ rec {
mkSystemFromString = s: mkSystemFromSkeleton (mkSkeletonFromList (lib.splitString "-" s));
- doubleFromSystem = { cpu, vendor, kernel, abi, ... }:
+ doubleFromSystem = { cpu, kernel, abi, ... }:
/**/ if abi == abis.cygnus then "${cpu.name}-cygwin"
else if kernel.families ? darwin then "${cpu.name}-darwin"
else "${cpu.name}-${kernel.name}";
diff --git a/lib/systems/platforms.nix b/lib/systems/platforms.nix
index a2b43c970a4..ab3cf1d5430 100644
--- a/lib/systems/platforms.nix
+++ b/lib/systems/platforms.nix
@@ -456,16 +456,16 @@ rec {
};
selectBySystem = system: {
- "i486-linux" = pc32;
- "i586-linux" = pc32;
- "i686-linux" = pc32;
- "x86_64-linux" = pc64;
- "armv5tel-linux" = sheevaplug;
- "armv6l-linux" = raspberrypi;
- "armv7a-linux" = armv7l-hf-multiplatform;
- "armv7l-linux" = armv7l-hf-multiplatform;
- "aarch64-linux" = aarch64-multiplatform;
- "mipsel-linux" = fuloong2f_n32;
- "powerpc64le-linux" = powernv;
+ i486-linux = pc32;
+ i586-linux = pc32;
+ i686-linux = pc32;
+ x86_64-linux = pc64;
+ armv5tel-linux = sheevaplug;
+ armv6l-linux = raspberrypi;
+ armv7a-linux = armv7l-hf-multiplatform;
+ armv7l-linux = armv7l-hf-multiplatform;
+ aarch64-linux = aarch64-multiplatform;
+ mipsel-linux = fuloong2f_n32;
+ powerpc64le-linux = powernv;
}.${system} or pcBase;
}
diff --git a/lib/tests/modules.sh b/lib/tests/modules.sh
index eadaa0521b3..cf344122cf4 100755
--- a/lib/tests/modules.sh
+++ b/lib/tests/modules.sh
@@ -71,6 +71,15 @@ checkConfigError 'The option value .* in .* is not of type.*positive integer.*'
checkConfigOutput "42" config.value ./declare-int-between-value.nix ./define-value-int-positive.nix
checkConfigError 'The option value .* in .* is not of type.*between.*-21 and 43.*inclusive.*' config.value ./declare-int-between-value.nix ./define-value-int-negative.nix
+# Check either types
+# types.either
+checkConfigOutput "42" config.value ./declare-either.nix ./define-value-int-positive.nix
+checkConfigOutput "\"24\"" config.value ./declare-either.nix ./define-value-string.nix
+# types.oneOf
+checkConfigOutput "42" config.value ./declare-oneOf.nix ./define-value-int-positive.nix
+checkConfigOutput "[ ]" config.value ./declare-oneOf.nix ./define-value-list.nix
+checkConfigOutput "\"24\"" config.value ./declare-oneOf.nix ./define-value-string.nix
+
# Check mkForce without submodules.
set -- config.enable ./declare-enable.nix ./define-enable.nix
checkConfigOutput "true" "$@"
diff --git a/lib/tests/modules/declare-either.nix b/lib/tests/modules/declare-either.nix
new file mode 100644
index 00000000000..5a0fa978a13
--- /dev/null
+++ b/lib/tests/modules/declare-either.nix
@@ -0,0 +1,5 @@
+{ lib, ... }: {
+ options.value = lib.mkOption {
+ type = lib.types.either lib.types.int lib.types.str;
+ };
+}
diff --git a/lib/tests/modules/declare-oneOf.nix b/lib/tests/modules/declare-oneOf.nix
new file mode 100644
index 00000000000..df092a14f81
--- /dev/null
+++ b/lib/tests/modules/declare-oneOf.nix
@@ -0,0 +1,9 @@
+{ lib, ... }: {
+ options.value = lib.mkOption {
+ type = lib.types.oneOf [
+ lib.types.int
+ (lib.types.listOf lib.types.int)
+ lib.types.str
+ ];
+ };
+}
diff --git a/lib/tests/release.nix b/lib/tests/release.nix
index d9a8a006725..737d142d253 100644
--- a/lib/tests/release.nix
+++ b/lib/tests/release.nix
@@ -1,11 +1,9 @@
{ pkgs ? import ((import ../.).cleanSource ../..) {} }:
-pkgs.stdenv.mkDerivation {
- name = "nixpkgs-lib-tests";
- buildInputs = [ pkgs.nix ];
+pkgs.runCommandNoCC "nixpkgs-lib-tests" {
+ buildInputs = [ pkgs.nix (import ./check-eval.nix) ];
NIX_PATH="nixpkgs=${pkgs.path}";
-
- buildCommand = ''
+} ''
datadir="${pkgs.nix}/share"
export TEST_ROOT=$(pwd)/test-tmp
export NIX_BUILD_HOOK=
@@ -22,10 +20,5 @@ pkgs.stdenv.mkDerivation {
cd ${pkgs.path}/lib/tests
bash ./modules.sh
- [[ "$(nix-instantiate --eval --strict misc.nix)" == "[ ]" ]]
-
- [[ "$(nix-instantiate --eval --strict systems.nix)" == "[ ]" ]]
-
touch $out
- '';
-}
+''
diff --git a/lib/tests/systems.nix b/lib/tests/systems.nix
index 161e3e7d07a..5748c09b564 100644
--- a/lib/tests/systems.nix
+++ b/lib/tests/systems.nix
@@ -12,19 +12,19 @@ let
expected = lib.sort lib.lessThan y;
};
in with lib.systems.doubles; lib.runTests {
- testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows);
+ testall = mseteq all (linux ++ darwin ++ freebsd ++ openbsd ++ netbsd ++ illumos ++ wasi ++ windows ++ embedded);
- testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7l-linux" ];
- testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" ];
+ testarm = mseteq arm [ "armv5tel-linux" "armv6l-linux" "armv7l-linux" "arm-none" "armv7a-darwin" ];
+ testi686 = mseteq i686 [ "i686-linux" "i686-freebsd" "i686-netbsd" "i686-openbsd" "i686-cygwin" "i686-windows" "i686-none" "i686-darwin" ];
testmips = mseteq mips [ "mipsel-linux" ];
- testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" ];
+ testx86_64 = mseteq x86_64 [ "x86_64-linux" "x86_64-darwin" "x86_64-freebsd" "x86_64-openbsd" "x86_64-netbsd" "x86_64-cygwin" "x86_64-solaris" "x86_64-windows" "x86_64-none" ];
testcygwin = mseteq cygwin [ "i686-cygwin" "x86_64-cygwin" ];
- testdarwin = mseteq darwin [ "x86_64-darwin" ];
+ testdarwin = mseteq darwin [ "x86_64-darwin" "i686-darwin" "aarch64-darwin" "armv7a-darwin" ];
testfreebsd = mseteq freebsd [ "i686-freebsd" "x86_64-freebsd" ];
testgnu = mseteq gnu (linux /* ++ kfreebsd ++ ... */);
testillumos = mseteq illumos [ "x86_64-solaris" ];
- testlinux = mseteq linux [ "i686-linux" "x86_64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "aarch64-linux" "mipsel-linux" ];
+ testlinux = mseteq linux [ "aarch64-linux" "armv5tel-linux" "armv6l-linux" "armv7l-linux" "i686-linux" "mipsel-linux" "riscv32-linux" "riscv64-linux" "x86_64-linux" "powerpc64le-linux" ];
testnetbsd = mseteq netbsd [ "i686-netbsd" "x86_64-netbsd" ];
testopenbsd = mseteq openbsd [ "i686-openbsd" "x86_64-openbsd" ];
testwindows = mseteq windows [ "i686-cygwin" "x86_64-cygwin" "i686-windows" "x86_64-windows" ];
diff --git a/lib/trivial.nix b/lib/trivial.nix
index f2710a6f033..54c66cfce7b 100644
--- a/lib/trivial.nix
+++ b/lib/trivial.nix
@@ -134,7 +134,7 @@ rec {
On each release the first letter is bumped and a new animal is chosen
starting with that new letter.
*/
- codeName = "Loris";
+ codeName = "Markhor";
/* Returns the current nixpkgs version suffix as string. */
versionSuffix =
diff --git a/lib/types.nix b/lib/types.nix
index b225119299d..5e9a28ac4f0 100644
--- a/lib/types.nix
+++ b/lib/types.nix
@@ -42,7 +42,7 @@ rec {
# Default type functor
defaultFunctor = name: {
inherit name;
- type = types."${name}" or null;
+ type = types.${name} or null;
wrapped = null;
payload = null;
binOp = a: b: null;
@@ -107,11 +107,11 @@ rec {
merge = mergeEqualOption;
};
- int = mkOptionType rec {
+ int = mkOptionType {
name = "int";
description = "signed integer";
check = isInt;
- merge = mergeOneOption;
+ merge = mergeEqualOption;
};
# Specialized subdomains of int
@@ -136,7 +136,7 @@ rec {
sign = bit: range: ign (0 - (range / 2)) (range / 2 - 1)
"signedInt${toString bit}" "${toString bit} bit signed integer";
- in rec {
+ in {
/* An int with a fixed range.
*
* Example:
@@ -172,18 +172,18 @@ rec {
# Alias of u16 for a port number
port = ints.u16;
- float = mkOptionType rec {
+ float = mkOptionType {
name = "float";
description = "floating point number";
check = isFloat;
- merge = mergeOneOption;
+ merge = mergeEqualOption;
};
str = mkOptionType {
name = "str";
description = "string";
check = isString;
- merge = mergeOneOption;
+ merge = mergeEqualOption;
};
strMatching = pattern: mkOptionType {
@@ -217,7 +217,8 @@ rec {
# Deprecated; should not be used because it quietly concatenates
# strings, which is usually not what you want.
- string = separatedString "";
+ string = warn "types.string is deprecated because it quietly concatenates strings"
+ (separatedString "");
attrs = mkOptionType {
name = "attrs";
@@ -243,7 +244,7 @@ rec {
name = "path";
# Hacky: there is no ‘isPath’ primop.
check = x: builtins.substring 0 1 (toString x) == "/";
- merge = mergeOneOption;
+ merge = mergeEqualOption;
};
# drop this in the future:
@@ -415,7 +416,7 @@ rec {
name = "enum";
description = "one of ${concatMapStringsSep ", " show values}";
check = flip elem values;
- merge = mergeOneOption;
+ merge = mergeEqualOption;
functor = (defaultFunctor name) // { payload = values; binOp = a: b: unique (a ++ b); };
};
@@ -443,6 +444,13 @@ rec {
functor = (defaultFunctor name) // { wrapped = [ t1 t2 ]; };
};
+ # Any of the types in the given list
+ oneOf = ts:
+ let
+ head' = if ts == [] then throw "types.oneOf needs to get at least one type in its argument" else head ts;
+ tail' = tail ts;
+ in foldl' either head' tail';
+
# Either value of type `finalType` or `coercedType`, the latter is
# converted to `finalType` using `coerceFunc`.
coercedTo = coercedType: coerceFunc: finalType:
diff --git a/lib/versions.nix b/lib/versions.nix
index 8f7f98ff5e1..2c05445b3dd 100644
--- a/lib/versions.nix
+++ b/lib/versions.nix
@@ -7,7 +7,7 @@ let
in
-rec {
+{
/* Get the major version string from a string.
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix
index 3171681c0db..058561eb624 100644
--- a/maintainers/maintainer-list.nix
+++ b/maintainers/maintainer-list.nix
@@ -7,6 +7,7 @@
# Optional
github = "GithubUsername";
+ githubId = your-github-id;
keys = [{
longkeyid = "rsa2048/0x0123456789ABCDEF";
fingerprint = "AAAA BBBB CCCC DDDD EEEE FFFF 0000 1111 2222 3333";
@@ -19,6 +20,7 @@
- `name` is your, preferably real, name,
- `email` is your maintainer email address, and
- `github` is your GitHub handle (as it appears in the URL of your profile page, `https://github.com/`),
+ - `githubId` is your GitHub user ID, which can be found at `https://api.github.com/users/`,
- `keys` is a list of your PGP/GPG key IDs and fingerprints.
`handle == github` is strongly preferred whenever `github` is an acceptable attribute name and is short and convenient.
@@ -38,10 +40,17 @@
See `./scripts/check-maintainer-github-handles.sh` for an example on how to work with this data.
*/
{
+ "00-matt" = {
+ name = "Matt Smith";
+ email = "matt@offtopica.uk";
+ github = "00-matt";
+ githubId = 48835712;
+ };
"0x4A6F" = {
email = "0x4A6F@shackspace.de";
name = "Joachim Ernst";
github = "0x4A6F";
+ githubId = 9675338;
keys = [{
longkeyid = "rsa8192/0x87027528B006D66D";
fingerprint = "F466 A548 AD3F C1F1 8C88 4576 8702 7528 B006 D66D";
@@ -50,28 +59,49 @@
"1000101" = {
email = "jan.hrnko@satoshilabs.com";
github = "1000101";
+ githubId = 791309;
name = "Jan Hrnko";
};
a1russell = {
email = "adamlr6+pub@gmail.com";
github = "a1russell";
+ githubId = 241628;
name = "Adam Russell";
};
aanderse = {
email = "aaron@fosslib.net";
github = "aanderse";
+ githubId = 7755101;
name = "Aaron Andersen";
};
+ aaronjanse = {
+ email = "aaron@ajanse.me";
+ github = "aaronjanse";
+ githubId = 16829510;
+ name = "Aaron Janse";
+ };
aaronschif = {
email = "aaronschif@gmail.com";
github = "aaronschif";
+ githubId = 2258953;
name = "Aaron Schif";
};
abaldeau = {
email = "andreas@baldeau.net";
github = "baldo";
+ githubId = 178750;
name = "Andreas Baldeau";
};
+ abbe = {
+ email = "ashish.is@lostca.se";
+ github = "wahjava";
+ githubId = 2255192;
+ name = "Ashish SHUKLA";
+ keys = [{
+ longkeyid = "rsa4096/0xC746CFA9E74FA4B0";
+ fingerprint = "F682 CDCC 39DC 0FEA E116 20B6 C746 CFA9 E74F A4B0";
+ }];
+ };
abbradar = {
email = "ab@fmap.me";
github = "abbradar";
@@ -80,31 +110,37 @@
abhi18av = {
email = "abhi18av@gmail.com";
github = "abhi18av";
+ githubId = 12799326;
name = "Abhinav Sharma";
};
abigailbuccaneer = {
email = "abigailbuccaneer@gmail.com";
github = "abigailbuccaneer";
+ githubId = 908758;
name = "Abigail Bunyan";
};
aborsu = {
email = "a.borsu@gmail.com";
github = "aborsu";
+ githubId = 5033617;
name = "Augustin Borsu";
};
aboseley = {
email = "adam.boseley@gmail.com";
github = "aboseley";
+ githubId = 13504599;
name = "Adam Boseley";
};
abuibrahim = {
email = "ruslan@babayev.com";
github = "abuibrahim";
+ githubId = 2321000;
name = "Ruslan Babayev";
};
acowley = {
email = "acowley@gmail.com";
github = "acowley";
+ githubId = 124545;
name = "Anthony Cowley";
};
adamt = {
@@ -115,61 +151,73 @@
adelbertc = {
email = "adelbertc@gmail.com";
github = "adelbertc";
+ githubId = 1332980;
name = "Adelbert Chang";
};
adev = {
email = "adev@adev.name";
github = "adevress";
+ githubId = 1773511;
name = "Adrien Devresse";
};
adisbladis = {
email = "adis@blad.is";
github = "adisbladis";
+ githubId = 63286;
name = "Adam Hose";
};
Adjective-Object = {
email = "mhuan13@gmail.com";
github = "Adjective-Object";
+ githubId = 1174858;
name = "Maxwell Huang-Hobbs";
};
adnelson = {
email = "ithinkican@gmail.com";
github = "adnelson";
+ githubId = 5091511;
name = "Allen Nelson";
};
adolfogc = {
email = "adolfo.garcia.cr@gmail.com";
github = "adolfogc";
+ githubId = 1250775;
name = "Adolfo E. García Castro";
};
aepsil0n = {
email = "eduard.bopp@aepsil0n.de";
github = "aepsil0n";
+ githubId = 3098430;
name = "Eduard Bopp";
};
aerialx = {
email = "aaron+nixos@aaronlindsay.com";
github = "AerialX";
+ githubId = 117295;
name = "Aaron Lindsay";
};
aespinosa = {
email = "allan.espinosa@outlook.com";
github = "aespinosa";
+ githubId = 58771;
name = "Allan Espinosa";
};
aethelz = {
email = "aethelz@protonmail.com";
github = "aethelz";
+ githubId = 10677343;
name = "Eugene";
};
aflatter = {
email = "flatter@fastmail.fm";
github = "aflatter";
+ githubId = 168;
name = "Alexander Flatter";
};
afldcr = {
email = "alex@fldcr.com";
github = "afldcr";
+ githubId = 335271;
name = "James Alexander Feldman-Crough";
};
aforemny = {
@@ -180,36 +228,43 @@
afranchuk = {
email = "alex.franchuk@gmail.com";
github = "afranchuk";
+ githubId = 4296804;
name = "Alex Franchuk";
};
aherrmann = {
email = "andreash87@gmx.ch";
github = "aherrmann";
+ githubId = 732652;
name = "Andreas Herrmann";
};
ahmedtd = {
email = "ahmed.taahir@gmail.com";
github = "ahmedtd";
+ githubId = 1017202;
name = "Taahir Ahmed";
};
ahuzik = {
email = "ales.guzik@gmail.com";
github = "alesguzik";
+ githubId = 209175;
name = "Ales Huzik";
};
aij = {
email = "aij+git@mrph.org";
github = "aij";
+ githubId = 4732885;
name = "Ivan Jager";
};
ajs124 = {
email = "nix@ajs124.de";
github = "ajs124";
+ githubId = 1229027;
name = "Andreas Schrägle";
};
ajgrf = {
email = "a@ajgrf.com";
github = "ajgrf";
+ githubId = 10733175;
name = "Alex Griffin";
};
ak = {
@@ -220,36 +275,54 @@
akavel = {
email = "czapkofan@gmail.com";
github = "akavel";
+ githubId = 273837;
name = "Mateusz Czapliński";
};
akaWolf = {
email = "akawolf0@gmail.com";
github = "akaWolf";
+ githubId = 5836586;
name = "Artjom Vejsel";
};
akc = {
email = "akc@akc.is";
github = "akc";
+ githubId = 1318982;
name = "Anders Claesson";
};
akru = {
email = "mail@akru.me";
github = "akru";
+ githubId = 786394;
name = "Alexander Krupenkin ";
};
+ alexarice = {
+ email = "alexrice999@hotmail.co.uk";
+ github = "alexarice";
+ githubId = 17208985;
+ name = "Alex Rice";
+ };
+ alexbakker = {
+ email = "ab@alexbakker.me";
+ github = "alexbakker";
+ name = "Alexander Bakker";
+ };
alexchapman = {
email = "alex@farfromthere.net";
github = "AJChapman";
+ githubId = 8316672;
name = "Alex Chapman";
};
alexfmpe = {
email = "alexandre.fmp.esteves@gmail.com";
github = "alexfmpe";
+ githubId = 2335822;
name = "Alexandre Esteves";
};
alexvorobiev = {
email = "alexander.vorobiev@gmail.com";
github = "alexvorobiev";
+ githubId = 782180;
name = "Alex Vorobiev";
};
algorith = {
@@ -259,8 +332,15 @@
alibabzo = {
email = "alistair.bill@gmail.com";
github = "alibabzo";
+ githubId = 2822871;
name = "Alistair Bill";
};
+ alkeryn = {
+ email = "plbraundev@gmail.com";
+ github = "Alkeryn";
+ githubId = 11599075;
+ name = "Pierre-Louis Braun";
+ };
all = {
email = "nix-commits@lists.science.uu.nl";
name = "Nix Committers";
@@ -268,6 +348,7 @@
allonsy = {
email = "linuxbash8@gmail.com";
github = "allonsy";
+ githubId = 5892756;
name = "Alec Snyder";
};
alunduil = {
@@ -278,6 +359,7 @@
amar1729 = {
email = "amar.paul16@gmail.com";
github = "amar1729";
+ githubId = 15623522;
name = "Amar Paul";
};
ambrop72 = {
@@ -288,11 +370,13 @@
amiddelk = {
email = "amiddelk@gmail.com";
github = "amiddelk";
+ githubId = 1358320;
name = "Arie Middelkoop";
};
amiloradovsky = {
email = "miloradovsky@gmail.com";
github = "amiloradovsky";
+ githubId = 20530052;
name = "Andrew Miloradovsky";
};
aminb = {
@@ -303,31 +387,43 @@
aminechikhaoui = {
email = "amine.chikhaoui91@gmail.com";
github = "AmineChikhaoui";
+ githubId = 5149377;
name = "Amine Chikhaoui";
};
amorsillo = {
email = "andrew.morsillo@gmail.com";
github = "AndrewMorsillo";
+ githubId = 858965;
name = "Andrew Morsillo";
};
andersk = {
email = "andersk@mit.edu";
github = "andersk";
+ githubId = 26471;
name = "Anders Kaseorg";
};
+ anderslundstedt = {
+ email = "git@anderslundstedt.se";
+ github = "anderslundstedt";
+ githubId = 4514101;
+ name = "Anders Lundstedt";
+ };
AndersonTorres = {
email = "torres.anderson.85@protonmail.com";
github = "AndersonTorres";
+ githubId = 5954806;
name = "Anderson Torres";
};
anderspapitto = {
email = "anderspapitto@gmail.com";
github = "anderspapitto";
+ githubId = 1388690;
name = "Anders Papitto";
};
andir = {
email = "andreas@rammhold.de";
github = "andir";
+ githubId = 638836;
name = "Andreas Rammhold";
};
andreabedini = {
@@ -343,21 +439,25 @@
andrestylianos = {
email = "andre.stylianos@gmail.com";
github = "andrestylianos";
+ githubId = 7112447;
name = "Andre S. Ramos";
};
andrew-d = {
email = "andrew@du.nham.ca";
github = "andrew-d";
+ githubId = 1079173;
name = "Andrew Dunham";
};
andrewchambers = {
email = "ac@acha.ninja";
github = "andrewchambers";
+ githubId = 962885;
name = "Andrew Chambers";
};
andrewrk = {
email = "superjoe30@gmail.com";
github = "andrewrk";
+ githubId = 106511;
name = "Andrew Kelley";
};
andsild = {
@@ -368,26 +468,37 @@
aneeshusa = {
email = "aneeshusa@gmail.com";
github = "aneeshusa";
+ githubId = 2085567;
name = "Aneesh Agrawal";
};
+ angristan = {
+ email = "angristan@pm.me";
+ github = "angristan";
+ githubId = 11699655;
+ name = "Stanislas Lange";
+ };
ankhers = {
- email = "justin.k.wood@gmail.com";
+ email = "me@ankhers.dev";
github = "ankhers";
+ githubId = 750786;
name = "Justin Wood";
};
anpryl = {
email = "anpryl@gmail.com";
github = "anpryl";
+ githubId = 5327697;
name = "Anatolii Prylutskyi";
};
anton-dessiatov = {
email = "anton.dessiatov@gmail.com";
github = "anton-dessiatov";
+ githubId = 2873280;
name = "Anton Desyatov";
};
Anton-Latukha = {
email = "anton.latuka+nixpkgs@gmail.com";
github = "Anton-Latukha";
+ githubId = 20933385;
name = "Anton Latukha";
};
antono = {
@@ -398,51 +509,61 @@
antonxy = {
email = "anton.schirg@posteo.de";
github = "antonxy";
+ githubId = 4194320;
name = "Anton Schirg";
};
apeschar = {
email = "albert@peschar.net";
github = "apeschar";
+ githubId = 122977;
name = "Albert Peschar";
};
apeyroux = {
email = "alex@px.io";
github = "apeyroux";
+ githubId = 1078530;
name = "Alexandre Peyroux";
};
ar1a = {
email = "aria@ar1as.space";
github = "ar1a";
+ githubId = 8436007;
name = "Aria Edmonds";
};
arcadio = {
email = "arc@well.ox.ac.uk";
github = "arcadio";
+ githubId = 56009;
name = "Arcadio Rubio García";
};
ardumont = {
email = "eniotna.t@gmail.com";
github = "ardumont";
+ githubId = 718812;
name = "Antoine R. Dumont";
};
aristid = {
email = "aristidb@gmail.com";
github = "aristidb";
+ githubId = 30712;
name = "Aristid Breitkreuz";
};
ariutta = {
email = "anders.riutta@gmail.com";
github = "ariutta";
+ githubId = 1296771;
name = "Anders Riutta";
};
arobyn = {
email = "shados@shados.net";
github = "shados";
+ githubId = 338268;
name = "Alexei Robyn";
};
artemist = {
email = "me@artem.ist";
github = "artemist";
+ githubId = 1226638;
name = "Artemis Tosini";
keys = [{
longkeyid = "rsa4096/0x4FDC96F161E7BA8A";
@@ -452,51 +573,73 @@
artuuge = {
email = "artuuge@gmail.com";
github = "artuuge";
+ githubId = 10285250;
name = "Artur E. Ruuge";
};
ashalkhakov = {
email = "artyom.shalkhakov@gmail.com";
github = "ashalkhakov";
+ githubId = 1270502;
name = "Artyom Shalkhakov";
};
ashgillman = {
email = "gillmanash@gmail.com";
github = "ashgillman";
+ githubId = 816777;
name = "Ashley Gillman";
};
+ ashkitten = {
+ email = "ashlea@protonmail.com";
+ github = "ashkitten";
+ githubId = 9281956;
+ name = "ash lea";
+ };
aske = {
email = "aske@fmap.me";
github = "aske";
+ githubId = 869771;
name = "Kirill Boltaev";
};
asppsa = {
email = "asppsa@gmail.com";
github = "asppsa";
+ githubId = 453170;
name = "Alastair Pharo";
};
astro = {
email = "astro@spaceboyz.net";
github = "astro";
+ githubId = 12923;
name = "Astro";
};
astsmtl = {
email = "astsmtl@yandex.ru";
github = "astsmtl";
+ githubId = 2093941;
name = "Alexander Tsamutali";
};
asymmetric = {
email = "lorenzo@mailbox.org";
github = "asymmetric";
+ githubId = 101816;
name = "Lorenzo Manacorda";
};
aszlig = {
email = "aszlig@nix.build";
github = "aszlig";
+ githubId = 192147;
name = "aszlig";
};
+ athas = {
+ email = "athas@sigkill.dk";
+ github = "athas";
+ githubId = 55833;
+ name = "Troels Henriksen";
+ };
atnnn = {
email = "etienne@atnnn.com";
github = "atnnn";
+ githubId = 706854;
name = "Etienne Laurin";
};
auntie = {
@@ -507,11 +650,13 @@
avaq = {
email = "avaq+nixos@xs4all.nl";
github = "avaq";
+ githubId = 1217745;
name = "Aldwin Vlasblom";
};
avery = {
email = "averyl+nixos@protonmail.com";
github = "AveryLychee";
+ githubId = 9147625;
name = "Avery Lychee";
};
averelld = {
@@ -519,29 +664,44 @@
github = "averelld";
name = "averelld";
};
+ avitex = {
+ email = "theavitex@gmail.com";
+ github = "avitex";
+ githubId = 5110816;
+ name = "avitex";
+ keys = [{
+ longkeyid = "rsa4096/0x8B366C443CABE942";
+ fingerprint = "271E 136C 178E 06FA EA4E B854 8B36 6C44 3CAB E942";
+ }];
+ };
avnik = {
email = "avn@avnik.info";
github = "avnik";
+ githubId = 153538;
name = "Alexander V. Nikolaev";
};
aw = {
email = "aw-nixos@meterriblecrew.net";
github = "herrwiese";
+ githubId = 206242;
name = "Andreas Wiese";
};
aycanirican = {
email = "iricanaycan@gmail.com";
github = "aycanirican";
+ githubId = 135230;
name = "Aycan iRiCAN";
};
babariviere = {
email = "babariviere@protonmail.com";
github = "babariviere";
+ githubId = 12128029;
name = "babariviere";
};
bachp = {
email = "pascal.bach@nextrem.ch";
github = "bachp";
+ githubId = 333807;
name = "Pascal Bach";
};
backuitist = {
@@ -561,96 +721,115 @@
balsoft = {
email = "balsoft75@gmail.com";
github = "balsoft";
+ githubId = 18467667;
name = "Alexander Bantyev";
};
bandresen = {
email = "bandresen@gmail.com";
github = "bandresen";
+ githubId = 80325;
name = "Benjamin Andresen";
};
baracoder = {
email = "baracoder@googlemail.com";
github = "baracoder";
+ githubId = 127523;
name = "Herman Fries";
};
barrucadu = {
email = "mike@barrucadu.co.uk";
github = "barrucadu";
+ githubId = 75235;
name = "Michael Walker";
};
basvandijk = {
email = "v.dijk.bas@gmail.com";
github = "basvandijk";
+ githubId = 576355;
name = "Bas van Dijk";
};
Baughn = {
email = "sveina@gmail.com";
github = "Baughn";
+ githubId = 45811;
name = "Svein Ove Aas";
};
bb010g = {
email = "me@bb010g.com";
github = "bb010g";
+ githubId = 340132;
name = "Brayden Banks";
};
bbarker = {
email = "brandon.barker@gmail.com";
github = "bbarker";
+ githubId = 916366;
name = "Brandon Elam Barker";
};
bbigras = {
email = "bigras.bruno@gmail.com";
github = "bbigras";
+ githubId = 24027;
name = "Bruno Bigras";
};
bcarrell = {
email = "brandoncarrell@gmail.com";
github = "bcarrell";
+ githubId = 1015044;
name = "Brandon Carrell";
};
bcdarwin = {
email = "bcdarwin@gmail.com";
github = "bcdarwin";
+ githubId = 164148;
name = "Ben Darwin";
};
bdesham = {
email = "benjamin@esham.io";
github = "bdesham";
+ githubId = 354230;
name = "Benjamin Esham";
};
bdimcheff = {
email = "brandon@dimcheff.com";
github = "bdimcheff";
+ githubId = 14111;
name = "Brandon Dimcheff";
};
bendlas = {
email = "herwig@bendlas.net";
github = "bendlas";
+ githubId = 214787;
name = "Herwig Hochleitner";
};
benley = {
email = "benley@gmail.com";
github = "benley";
+ githubId = 1432730;
name = "Benjamin Staffin";
};
bennofs = {
email = "benno.fuenfstueck@gmail.com";
github = "bennofs";
+ githubId = 3192959;
name = "Benno Fünfstück";
};
benpye = {
email = "ben@curlybracket.co.uk";
github = "benpye";
+ githubId = 442623;
name = "Ben Pye";
};
benwbooth = {
email = "benwbooth@gmail.com";
github = "benwbooth";
+ githubId = 75972;
name = "Ben Booth";
};
berce = {
email = "bert.moens@gmail.com";
github = "berce";
+ githubId = 10439709;
name = "Bert Moens";
};
berdario = {
@@ -661,31 +840,43 @@
bergey = {
email = "bergey@teallabs.org";
github = "bergey";
+ githubId = 251106;
name = "Daniel Bergey";
};
+ betaboon = {
+ email = "betaboon@0x80.ninja";
+ github = "betaboon";
+ githubId = 7346933;
+ name = "betaboon";
+ };
bfortz = {
email = "bernard.fortz@gmail.com";
github = "bfortz";
+ githubId = 16426882;
name = "Bernard Fortz";
};
bgamari = {
email = "ben@smart-cactus.org";
github = "bgamari";
+ githubId = 1010174;
name = "Ben Gamari";
};
bhall = {
email = "brendan.j.hall@bath.edu";
github = "brendan-hall";
+ githubId = 34919100;
name = "Brendan Hall";
};
bhipple = {
email = "bhipple@protonmail.com";
github = "bhipple";
+ githubId = 2071583;
name = "Benjamin Hipple";
};
binarin = {
email = "binarin@binarin.ru";
github = "binarin";
+ githubId = 185443;
name = "Alexey Lebedeff";
};
bjg = {
@@ -695,11 +886,13 @@
bjornfor = {
email = "bjorn.forsman@gmail.com";
github = "bjornfor";
+ githubId = 133602;
name = "Bjørn Forsman";
};
bkchr = {
email = "nixos@kchr.de";
github = "bkchr";
+ githubId = 5718007;
name = "Bastian Köcher";
};
bluescreen303 = {
@@ -710,21 +903,25 @@
bobakker = {
email = "bobakk3r@gmail.com";
github = "bobakker";
+ githubId = 10221570;
name = "Bo Bakker";
};
bobvanderlinden = {
email = "bobvanderlinden@gmail.com";
github = "bobvanderlinden";
+ githubId = 6375609;
name = "Bob van der Linden";
};
bodil = {
email = "nix@bodil.org";
github = "bodil";
+ githubId = 17880;
name = "Bodil Stokke";
};
boj = {
email = "brian@uncannyworks.com";
github = "boj";
+ githubId = 50839;
name = "Brian Jones";
};
boothead = {
@@ -735,185 +932,211 @@
borisbabic = {
email = "boris.ivan.babic@gmail.com";
github = "borisbabic";
+ githubId = 1743184;
name = "Boris Babić";
};
bosu = {
email = "boriss@gmail.com";
github = "bosu";
+ githubId = 3465841;
name = "Boris Sukholitko";
};
bradediger = {
email = "brad@bradediger.com";
github = "bradediger";
+ githubId = 4621;
name = "Brad Ediger";
};
brainrape = {
email = "martonboros@gmail.com";
github = "brainrape";
+ githubId = 302429;
name = "Marton Boros";
};
bramd = {
email = "bram@bramd.nl";
github = "bramd";
+ githubId = 86652;
name = "Bram Duvigneau";
};
braydenjw = {
email = "nixpkgs@willenborg.ca";
github = "braydenjw";
+ githubId = 2506621;
name = "Brayden Willenborg";
};
brian-dawn = {
email = "brian.t.dawn@gmail.com";
github = "brian-dawn";
+ githubId = 1274409;
name = "Brian Dawn";
};
brianhicks = {
email = "brian@brianthicks.com";
github = "BrianHicks";
+ githubId = 355401;
name = "Brian Hicks";
};
bricewge = {
email = "bricewge@gmail.com";
github = "bricewge";
+ githubId = 5525646;
name = "Brice Waegeneire";
};
bstrik = {
email = "dutchman55@gmx.com";
github = "bstrik";
+ githubId = 7716744;
name = "Berno Strik";
};
buffet = {
email = "niclas@countingsort.com";
github = "buffet";
+ githubId = 33751841;
name = "Niclas Meyer";
};
bugworm = {
email = "bugworm@zoho.com";
github = "bugworm";
+ githubId = 7214361;
name = "Roman Gerasimenko";
};
bzizou = {
email = "Bruno@bzizou.net";
github = "bzizou";
+ githubId = 2647566;
name = "Bruno Bzeznik";
};
c0bw3b = {
email = "c0bw3b@gmail.com";
github = "c0bw3b";
+ githubId = 24417923;
name = "Renaud";
};
c0deaddict = {
email = "josvanbakel@protonmail.com";
github = "c0deaddict";
+ githubId = 510553;
name = "Jos van Bakel";
};
- c0dehero = {
- email = "codehero@nerdpol.ch";
- name = "CodeHero";
- };
calbrecht = {
email = "christian.albrecht@mayflower.de";
github = "calbrecht";
+ githubId = 1516457;
name = "Christian Albrecht";
};
callahad = {
email = "dan.callahan@gmail.com";
github = "callahad";
+ githubId = 24193;
name = "Dan Callahan";
};
calvertvl = {
email = "calvertvl@gmail.com";
github = "calvertvl";
+ githubId = 7435854;
name = "Victor Calvert";
};
campadrenalin = {
email = "campadrenalin@gmail.com";
github = "campadrenalin";
+ githubId = 289492;
name = "Philip Horger";
};
candeira = {
email = "javier@candeira.com";
github = "candeira";
+ githubId = 91694;
name = "Javier Candeira";
};
canndrew = {
email = "shum@canndrew.org";
github = "canndrew";
+ githubId = 5555066;
name = "Andrew Cann";
};
carlosdagos = {
email = "m@cdagostino.io";
github = "carlosdagos";
+ githubId = 686190;
name = "Carlos D'Agostino";
};
carlsverre = {
email = "accounts@carlsverre.com";
github = "carlsverre";
+ githubId = 82591;
name = "Carl Sverre";
};
cartr = {
email = "carter.sande@duodecima.technology";
github = "cartr";
+ githubId = 5241813;
name = "Carter Sande";
};
casey = {
email = "casey@rodarmor.net";
github = "casey";
+ githubId = 1945;
name = "Casey Rodarmor";
};
catern = {
email = "sbaugh@catern.com";
github = "catern";
+ githubId = 5394722;
name = "Spencer Baugh";
};
caugner = {
email = "nixos@caugner.de";
github = "caugner";
+ githubId = 495429;
name = "Claas Augner";
};
cbley = {
email = "claudio.bley@gmail.com";
github = "avdv";
+ githubId = 3471749;
name = "Claudio Bley";
};
cdepillabout = {
email = "cdep.illabout@gmail.com";
github = "cdepillabout";
+ githubId = 64804;
name = "Dennis Gosnell";
};
ceedubs = {
email = "ceedubs@gmail.com";
github = "ceedubs";
+ githubId = 977929;
name = "Cody Allen";
};
- cf6b88f = {
- email = "elmo.todurov@eesti.ee";
- github = "cf6b88f";
- name = "Elmo Todurov";
- };
cfouche = {
email = "chaddai.fouche@gmail.com";
github = "Chaddai";
+ githubId = 5771456;
name = "Chaddaï Fouché";
};
chaduffy = {
email = "charles@dyfis.net";
github = "charles-dyfis-net";
+ githubId = 22370;
name = "Charles Duffy";
};
changlinli = {
email = "mail@changlinli.com";
github = "changlinli";
+ githubId = 1762540;
name = "Changlin Li";
};
CharlesHD = {
email = "charleshdespointes@gmail.com";
github = "CharlesHD";
+ githubId = 6608071;
name = "Charles Huyghues-Despointes";
};
chaoflow = {
email = "flo@chaoflow.net";
github = "chaoflow";
+ githubId = 89596;
name = "Florian Friesdorf";
};
chattered = {
@@ -923,106 +1146,137 @@
ChengCat = {
email = "yu@cheng.cat";
github = "ChengCat";
+ githubId = 33503784;
name = "Yucheng Zhang";
};
chessai = {
email = "chessai1996@gmail.com";
github = "chessai";
+ githubId = 18648043;
name = "Daniel Cartwright";
};
chiiruno = {
email = "okinan@protonmail.com";
github = "chiiruno";
+ githubId = 30435868;
name = "Okina Matara";
};
choochootrain = {
email = "hurshal@imap.cc";
github = "choochootrain";
+ githubId = 803961;
name = "Hurshal Patel";
};
chpatrick = {
email = "chpatrick@gmail.com";
github = "chpatrick";
+ githubId = 832719;
name = "Patrick Chilton";
};
chreekat = {
email = "b@chreekat.net";
github = "chreekat";
+ githubId = 538538;
name = "Bryan Richter";
};
chris-martin = {
email = "ch.martin@gmail.com";
github = "chris-martin";
+ githubId = 399718;
name = "Chris Martin";
};
chrisaw = {
email = "home@chrisaw.com";
github = "cawilliamson";
+ githubId = 1141769;
name = "Christopher A. Williamson";
};
chrisjefferson = {
email = "chris@bubblescope.net";
github = "chrisjefferson";
+ githubId = 811527;
name = "Christopher Jefferson";
};
chrisrosset = {
email = "chris@rosset.org.uk";
github = "chrisrosset";
+ githubId = 1103294;
name = "Christopher Rosset";
};
christopherpoole = {
email = "mail@christopherpoole.net";
github = "christopherpoole";
+ githubId = 2245737;
name = "Christopher Mark Poole";
};
ciil = {
email = "simon@lackerbauer.com";
github = "ciil";
+ githubId = 3956062;
name = "Simon Lackerbauer";
};
+ cizra = {
+ email = "todurov+nix@gmail.com";
+ github = "cizra";
+ githubId = 2131991;
+ name = "Elmo Todurov";
+ };
ck3d = {
email = "ck3d@gmx.de";
github = "ck3d";
+ githubId = 25088352;
name = "Christian Kögler";
};
- ckampka = {
+ kampka = {
email = "christian@kampka.net";
github = "kampka";
+ githubId = 422412;
name = "Christian Kampka";
+ keys = [{
+ longkeyid = "ed25519/0x1CBE9645DD68E915";
+ fingerprint = "F7FA 0BD0 8775 337C F6AB 4A14 1CBE 9645 DD68 E915";
+ }];
};
ckauhaus = {
email = "kc@flyingcircus.io";
github = "ckauhaus";
+ githubId = 1448923;
name = "Christian Kauhaus";
};
cko = {
email = "christine.koppelt@gmail.com";
github = "cko";
+ githubId = 68239;
name = "Christine Koppelt";
};
clacke = {
email = "claes.wallin@greatsinodevelopment.com";
github = "clacke";
+ githubId = 199180;
name = "Claes Wallin";
};
cleverca22 = {
email = "cleverca22@gmail.com";
github = "cleverca22";
+ githubId = 848609;
name = "Michael Bishop";
};
cmcdragonkai = {
email = "roger.qiu@matrix.ai";
github = "cmcdragonkai";
+ githubId = 640797;
name = "Roger Qiu";
};
cmfwyp = {
email = "cmfwyp@riseup.net";
github = "cmfwyp";
+ githubId = 20808761;
name = "cmfwyp";
};
cobbal = {
email = "andrew.cobb@gmail.com";
github = "cobbal";
+ githubId = 180339;
name = "Andrew Cobb";
};
coconnor = {
@@ -1033,51 +1287,67 @@
codsl = {
email = "codsl@riseup.net";
github = "codsl";
+ githubId = 6402559;
name = "codsl";
};
codyopel = {
email = "codyopel@gmail.com";
github = "codyopel";
+ githubId = 5561189;
name = "Cody Opel";
};
+ cohencyril = {
+ email = "cyril.cohen@inria.fr";
+ github = "CohenCyril";
+ githubId = 298705;
+ name = "Cyril Cohen";
+ };
colemickens = {
email = "cole.mickens@gmail.com";
github = "colemickens";
+ githubId = 327028;
name = "Cole Mickens";
};
colescott = {
email = "colescottsf@gmail.com";
github = "colescott";
+ githubId = 5684605;
name = "Cole Scott";
};
copumpkin = {
email = "pumpkingod@gmail.com";
github = "copumpkin";
+ githubId = 2623;
name = "Dan Peebles";
};
corngood = {
email = "corngood@gmail.com";
github = "corngood";
+ githubId = 3077118;
name = "David McFarland";
};
coroa = {
email = "jonas@chaoflow.net";
github = "coroa";
+ githubId = 2552981;
name = "Jonas Hörsch";
};
costrouc = {
email = "chris.ostrouchov@gmail.com";
github = "costrouc";
+ githubId = 1740337;
name = "Chris Ostrouchov";
};
couchemar = {
email = "couchemar@yandex.ru";
github = "couchemar";
+ githubId = 1573344;
name = "Andrey Pavlov";
};
cpages = {
email = "page@ruiec.cat";
github = "cpages";
+ githubId = 411324;
name = "Carles Pagès";
};
cransom = {
@@ -1088,76 +1358,105 @@
CrazedProgrammer = {
email = "crazedprogrammer@gmail.com";
github = "CrazedProgrammer";
+ githubId = 12202789;
name = "CrazedProgrammer";
};
cryptix = {
email = "cryptix@riseup.net";
github = "cryptix";
+ githubId = 111202;
name = "Henry Bubert";
};
CrystalGamma = {
email = "nixos@crystalgamma.de";
github = "CrystalGamma";
+ githubId = 6297001;
name = "Jona Stubbe";
};
csingley = {
email = "csingley@gmail.com";
github = "csingley";
+ githubId = 398996;
name = "Christopher Singley";
};
cstrahan = {
email = "charles@cstrahan.com";
github = "cstrahan";
+ githubId = 143982;
name = "Charles Strahan";
};
cwoac = {
email = "oliver@codersoffortune.net";
github = "cwoac";
+ githubId = 1382175;
name = "Oliver Matthews";
};
+ cypherpunk2140 = {
+ email = "stefan.mihaila@pm.me";
+ github = "cypherpunk2140";
+ githubId = 2217136;
+ name = "Ștefan D. Mihăilă";
+ keys = [
+ { longkeyid = "rsa4096/6E68A39BF16A3ECB";
+ fingerprint = "CBC9 C7CC 51F0 4A61 3901 C723 6E68 A39B F16A 3ECB";
+ }
+ { longkeyid = "rsa4096/6220AD7846220A52";
+ fingerprint = "7EAB 1447 5BBA 7DDE 7092 7276 6220 AD78 4622 0A52";
+ }
+ ];
+ };
dalance = {
email = "dalance@gmail.com";
github = "dalance";
+ githubId = 4331004;
name = "Naoya Hatta";
};
DamienCassou = {
email = "damien@cassou.me";
github = "DamienCassou";
+ githubId = 217543;
name = "Damien Cassou";
};
danbst = {
email = "abcz2.uprola@gmail.com";
github = "danbst";
+ githubId = 743057;
name = "Danylo Hlynskyi";
};
dancek = {
email = "hannu.hartikainen@gmail.com";
github = "dancek";
+ githubId = 245394;
name = "Hannu Hartikainen";
};
danharaj = {
email = "dan@obsidian.systems";
github = "danharaj";
+ githubId = 23366017;
name = "Dan Haraj";
};
danieldk = {
email = "me@danieldk.eu";
github = "danieldk";
+ githubId = 49398;
name = "Daniël de Kok";
};
danielfullmer = {
email = "danielrf12@gmail.com";
github = "danielfullmer";
+ githubId = 1298344;
name = "Daniel Fullmer";
};
das-g = {
email = "nixpkgs@raphael.dasgupta.ch";
github = "das-g";
+ githubId = 97746;
name = "Raphael Das Gupta";
};
das_j = {
email = "janne@hess.ooo";
github = "dasJ";
+ githubId = 4971975;
name = "Janne Heß";
};
dasuxullebt = {
@@ -1167,11 +1466,13 @@
david50407 = {
email = "me@davy.tw";
github = "david50407";
+ githubId = 841969;
name = "David Kuo";
};
davidak = {
email = "post@davidak.de";
github = "davidak";
+ githubId = 91113;
name = "David Kleuker";
};
davidrusu = {
@@ -1182,56 +1483,73 @@
davorb = {
email = "davor@davor.se";
github = "davorb";
+ githubId = 798427;
name = "Davor Babic";
};
dawidsowa = {
email = "dawid_sowa@posteo.net";
github = "dawidsowa";
+ githubId = 49904992;
name = "Dawid Sowa";
};
dbohdan = {
email = "dbohdan@dbohdan.com";
github = "dbohdan";
+ githubId = 3179832;
name = "D. Bohdan";
};
dbrock = {
email = "daniel@brockman.se";
github = "dbrock";
+ githubId = 14032;
name = "Daniel Brockman";
};
deepfire = {
email = "_deepfire@feelingofgreen.ru";
github = "deepfire";
+ githubId = 452652;
name = "Kosyrev Serge";
};
+ delan = {
+ name = "Delan Azabani";
+ email = "delan@azabani.com";
+ github = "delan";
+ githubId = 465303;
+ };
delroth = {
email = "delroth@gmail.com";
github = "delroth";
+ githubId = 202798;
name = "Pierre Bourdon";
};
deltaevo = {
email = "deltaduartedavid@gmail.com";
github = "DeltaEvo";
+ githubId = 8864716;
name = "Duarte David";
};
demin-dmitriy = {
email = "demindf@gmail.com";
github = "demin-dmitriy";
+ githubId = 5503422;
name = "Dmitriy Demin";
};
demize = {
email = "johannes@kyriasis.com";
github = "kyrias";
+ githubId = 2285387;
name = "Johannes Löthberg";
};
demyanrogozhin = {
email = "demyan.rogozhin@gmail.com";
github = "demyanrogozhin";
+ githubId = 62989;
name = "Demyan Rogozhin";
};
derchris = {
email = "derchris@me.com";
github = "derchrisuk";
+ githubId = 706758;
name = "Christian Gerbrandt";
};
DerGuteMoritz = {
@@ -1242,11 +1560,13 @@
dermetfan = {
email = "serverkorken@gmail.com";
github = "dermetfan";
+ githubId = 4956158;
name = "Robin Stumm";
};
DerTim1 = {
email = "tim.digel@active-group.de";
github = "DerTim1";
+ githubId = 21953890;
name = "Tim Digel";
};
desiderius = {
@@ -1257,21 +1577,25 @@
devhell = {
email = "\"^\"@regexmail.net";
github = "devhell";
+ githubId = 896182;
name = "devhell";
};
dezgeg = {
email = "tuomas.tynkkynen@iki.fi";
github = "dezgeg";
+ githubId = 579369;
name = "Tuomas Tynkkynen";
};
dfordivam = {
email = "dfordivam+nixpkgs@gmail.com";
github = "dfordivam";
+ githubId = 681060;
name = "Divam";
};
dfoxfranke = {
email = "dfoxfranke@gmail.com";
github = "dfoxfranke";
+ githubId = 4708206;
name = "Daniel Fox Franke";
};
dgonyeo = {
@@ -1282,61 +1606,91 @@
dhkl = {
email = "david@davidslab.com";
github = "dhl";
+ githubId = 265220;
name = "David Leung";
};
dipinhora = {
email = "dipinhora+github@gmail.com";
github = "dipinhora";
+ githubId = 11946442;
name = "Dipin Hora";
};
disassembler = {
email = "disasm@gmail.com";
github = "disassembler";
+ githubId = 651205;
name = "Samuel Leathers";
};
disserman = {
email = "disserman@gmail.com";
github = "divi255";
+ githubId = 40633781;
name = "Sergei S.";
};
dizfer = {
email = "david@izquierdofernandez.com";
github = "dizfer";
+ githubId = 8852888;
name = "David Izquierdo";
};
Dje4321 = {
email = "dje4321@gmail.com";
github = "dje4321";
+ githubId = 10913120;
name = "Dje4321";
};
+ dkabot = {
+ email = "dkabot@dkabot.com";
+ github = "dkabot";
+ githubId = 1316469;
+ name = "Naomi Morse";
+ };
dmalikov = {
email = "malikov.d.y@gmail.com";
github = "dmalikov";
+ githubId = 997543;
name = "Dmitry Malikov";
};
DmitryTsygankov = {
email = "dmitry.tsygankov@gmail.com";
github = "DmitryTsygankov";
+ githubId = 425354;
name = "Dmitry Tsygankov";
};
dmjio = {
email = "djohnson.m@gmail.com";
github = "dmjio";
+ githubId = 875324;
name = "David Johnson";
};
+ dmvianna = {
+ email = "dmlvianna@gmail.com";
+ github = "dmvianna";
+ githubId = 1708810;
+ name = "Daniel Vianna";
+ };
dochang = {
email = "dochang@gmail.com";
github = "dochang";
+ githubId = 129093;
name = "Desmond O. Chang";
};
domenkozar = {
email = "domen@dev.si";
github = "domenkozar";
+ githubId = 126339;
name = "Domen Kozar";
};
+ doronbehar = {
+ email = "me@doronbehar.com";
+ github = "doronbehar";
+ githubId = 10998835;
+ name = "Doron Behar";
+ };
dotlambda = {
email = "rschuetz17@gmail.com";
github = "dotlambda";
+ githubId = 6806011;
name = "Robert Schütz";
};
doublec = {
@@ -1347,16 +1701,19 @@
dpaetzel = {
email = "david.a.paetzel@gmail.com";
github = "dpaetzel";
+ githubId = 974130;
name = "David Pätzel";
};
dpflug = {
email = "david@pflug.email";
github = "dpflug";
+ githubId = 108501;
name = "David Pflug";
};
drets = {
email = "dmitryrets@gmail.com";
github = "drets";
+ githubId = 6199462;
name = "Dmytro Rets";
};
drewkett = {
@@ -1366,17 +1723,29 @@
dsferruzza = {
email = "david.sferruzza@gmail.com";
github = "dsferruzza";
+ githubId = 1931963;
name = "David Sferruzza";
};
dtzWill = {
email = "w@wdtz.org";
github = "dtzWill";
+ githubId = 817330;
name = "Will Dietz";
keys = [{
longkeyid = "rsa4096/0xFD42C7D0D41494C8";
fingerprint = "389A 78CB CD88 5E0C 4701 DEB9 FD42 C7D0 D414 94C8";
}];
};
+ dump_stack = {
+ email = "root@dumpstack.io";
+ github = "jollheef";
+ githubId = 1749762;
+ name = "Mikhail Klementev";
+ keys = [{
+ longkeyid = "rsa4096/0x1525585D1B43C62A";
+ fingerprint = "5DD7 C6F6 0630 F08E DAE7 4711 1525 585D 1B43 C62A";
+ }];
+ };
dxf = {
email = "dingxiangfei2009@gmail.com";
github = "dingxiangfei2009";
@@ -1385,46 +1754,61 @@
dysinger = {
email = "tim@dysinger.net";
github = "dysinger";
+ githubId = 447;
name = "Tim Dysinger";
};
dywedir = {
email = "dywedir@gra.red";
github = "dywedir";
+ githubId = 399312;
name = "Vladyslav M.";
};
dzabraev = {
email = "dzabraew@gmail.com";
github = "dzabraev";
+ githubId = 15128988;
name = "Maksim Dzabraev";
};
e-user = {
email = "nixos@sodosopa.io";
github = "e-user";
+ githubId = 93086;
name = "Alexander Kahl";
};
eadwu = {
email = "edmund.wu@protonmail.com";
github = "eadwu";
+ githubId = 22758444;
name = "Edmund Wu";
};
+ ealasu = {
+ email = "emanuel.alasu@gmail.com";
+ github = "ealasu";
+ githubId = 1362096;
+ name = "Emanuel Alasu";
+ };
eamsden = {
email = "edward@blackriversoft.com";
github = "eamsden";
+ githubId = 54573;
name = "Edward Amsden";
};
earldouglas = {
email = "james@earldouglas.com";
github = "earldouglas";
+ githubId = 424946;
name = "James Earl Douglas";
};
earvstedt = {
email = "erik.arvstedt@gmail.com";
github = "erikarvstedt";
+ githubId = 36110478;
name = "Erik Arvstedt";
};
ebzzry = {
email = "ebzzry@ebzzry.io";
github = "ebzzry";
+ githubId = 7875;
name = "Rommel Martinez";
};
edanaher = {
@@ -1435,41 +1819,61 @@
edef = {
email = "edef@edef.eu";
github = "edef1c";
+ githubId = 50854;
name = "edef";
};
embr = {
email = "hi@liclac.eu";
github = "liclac";
+ githubId = 428026;
name = "embr";
};
+ emily = {
+ email = "nixpkgs@emily.moe";
+ github = "emilazy";
+ githubId = 18535642;
+ name = "Emily";
+ };
+ endocrimes = {
+ email = "dani@builds.terrible.systems";
+ github = "endocrimes";
+ githubId = 1330683;
+ name = "Danielle Lancashire";
+ };
ederoyd46 = {
email = "matt@ederoyd.co.uk";
github = "ederoyd46";
+ githubId = 119483;
name = "Matthew Brown";
};
eduarrrd = {
email = "e.bachmakov@gmail.com";
github = "eduarrrd";
+ githubId = 1181393;
name = "Eduard Bachmakov";
};
edude03 = {
email = "michael@melenion.com";
github = "edude03";
+ githubId = 494483;
name = "Michael Francis";
};
edwtjo = {
email = "ed@cflags.cc";
github = "edwtjo";
+ githubId = 54799;
name = "Edward Tjörnhammar";
};
eelco = {
email = "eelco.dolstra@logicblox.com";
github = "edolstra";
+ githubId = 1148549;
name = "Eelco Dolstra";
};
ehegnes = {
email = "eric.hegnes@gmail.com";
github = "ehegnes";
+ githubId = 884970;
name = "Eric Hegnes";
};
ehmry = {
@@ -1479,56 +1883,67 @@
eikek = {
email = "eike.kettner@posteo.de";
github = "eikek";
+ githubId = 701128;
name = "Eike Kettner";
};
ekleog = {
email = "leo@gaspard.io";
github = "ekleog";
+ githubId = 411447;
name = "Leo Gaspard";
};
elasticdog = {
email = "aaron@elasticdog.com";
github = "elasticdog";
+ githubId = 4742;
name = "Aaron Bull Schaefer";
};
eleanor = {
email = "dejan@proteansec.com";
github = "proteansec";
+ githubId = 1753498;
name = "Dejan Lukan";
};
eliasp = {
email = "mail@eliasprobst.eu";
github = "eliasp";
+ githubId = 48491;
name = "Elias Probst";
};
elijahcaine = {
email = "elijahcainemv@gmail.com";
github = "pop";
+ githubId = 1897147;
name = "Elijah Caine";
};
elitak = {
email = "elitak@gmail.com";
github = "elitak";
+ githubId = 769073;
name = "Eric Litak";
};
ellis = {
email = "nixos@ellisw.net";
github = "ellis";
+ githubId = 97852;
name = "Ellis Whitehead";
};
elohmeier = {
email = "elo-nixos@nerdworks.de";
github = "elohmeier";
+ githubId = 2536303;
name = "Enno Lohmeier";
};
elseym = {
email = "elseym@me.com";
github = "elseym";
+ githubId = 907478;
name = "Simon Waibl";
};
elvishjerricco = {
email = "elvishjerricco@gmail.com";
github = "ElvishJerricco";
+ githubId = 1365692;
name = "Will Fancher";
};
emmanuelrosa = {
@@ -1539,16 +1954,25 @@
endgame = {
email = "jack@jackkelly.name";
github = "endgame";
+ githubId = 231483;
name = "Jack Kelly";
};
+ enorris = {
+ name = "Eric Norris";
+ email = "erictnorris@gmail.com";
+ github = "ericnorris";
+ githubId = 1906605;
+ };
enzime = {
email = "enzime@users.noreply.github.com";
github = "enzime";
+ githubId = 10492681;
name = "Michael Hoang";
};
eperuffo = {
email = "info@emanueleperuffo.com";
github = "emanueleperuffo";
+ githubId = 5085029;
name = "Emanuele Peruffo";
};
epitrochoid = {
@@ -1558,16 +1982,19 @@
eqyiel = {
email = "ruben@maher.fyi";
github = "eqyiel";
+ githubId = 3422442;
name = "Ruben Maher";
};
eraserhd = {
email = "jason.m.felice@gmail.com";
github = "eraserhd";
+ githubId = 147284;
name = "Jason Felice";
};
ericbmerritt = {
email = "eric@afiniate.com";
github = "ericbmerritt";
+ githubId = 4828;
name = "Eric Merritt";
};
ericsagnes = {
@@ -1578,11 +2005,13 @@
ericson2314 = {
email = "John.Ericson@Obsidian.Systems";
github = "ericson2314";
+ githubId = 1055245;
name = "John Ericson";
};
erictapen = {
email = "justin.humm@posteo.de";
github = "erictapen";
+ githubId = 11532355;
name = "Justin Humm";
keys = [{
longkeyid = "rsa4096/0x438871E000AA178E";
@@ -1592,11 +2021,13 @@
erikryb = {
email = "erik.rybakken@math.ntnu.no";
github = "erikryb";
+ githubId = 3787281;
name = "Erik Rybakken";
};
erosennin = {
email = "ag@sologoc.com";
github = "erosennin";
+ githubId = 1583484;
name = "Andrey Golovizin";
};
ertes = {
@@ -1611,65 +2042,83 @@
ethercrow = {
email = "ethercrow@gmail.com";
github = "ethercrow";
+ githubId = 222467;
name = "Dmitry Ivanov";
};
etu = {
email = "elis@hirwing.se";
github = "etu";
+ githubId = 461970;
name = "Elis Hirwing";
keys = [{
longkeyid = "rsa4096/0xD57EFA625C9A925F";
fingerprint = "67FE 98F2 8C44 CF22 1828 E12F D57E FA62 5C9A 925F";
}];
};
+ evanjs = {
+ email = "evanjsx@gmail.com";
+ github = "evanjs";
+ githubId = 1847524;
+ name = "Evan Stoll";
+ };
evck = {
email = "eric@evenchick.com";
github = "ericevenchick";
+ githubId = 195032;
name = "Eric Evenchick";
};
exfalso = {
email = "0slemi0@gmail.com";
github = "exfalso";
+ githubId = 1042674;
name = "Andras Slemmer";
};
exi = {
email = "nixos@reckling.org";
github = "exi";
+ githubId = 449463;
name = "Reno Reckling";
};
exlevan = {
email = "exlevan@gmail.com";
github = "exlevan";
+ githubId = 873530;
name = "Alexey Levan";
};
expipiplus1 = {
email = "nix@monoid.al";
github = "expipiplus1";
+ githubId = 857308;
name = "Joe Hermaszewski";
};
eyjhb = {
email = "eyjhbb@gmail.com";
github = "eyJhb";
+ githubId = 25955146;
name = "eyJhb";
};
f--t = {
email = "git@f-t.me";
github = "f--t";
+ githubId = 2817965;
name = "f--t";
};
- f-breidenstein = {
+ fleaz = {
email = "mail@felixbreidenstein.de";
- github = "f-breidenstein";
+ github = "fleaz";
+ githubId = 2489598;
name = "Felix Breidenstein";
};
fadenb = {
email = "tristan.helmich+nixos@gmail.com";
github = "fadenb";
+ githubId = 878822;
name = "Tristan Helmich";
};
falsifian = {
email = "james.cook@utoronto.ca";
github = "falsifian";
+ githubId = 225893;
name = "James Cook";
};
fare = {
@@ -1677,6 +2126,12 @@
github = "fare";
name = "Francois-Rene Rideau";
};
+ farlion = {
+ email = "florian.peter@gmx.at";
+ github = "workflow";
+ githubId = 1276854;
+ name = "Florian Peter";
+ };
fdns = {
email = "fdns02@gmail.com";
github = "fdns";
@@ -1685,66 +2140,79 @@
ffinkdevs = {
email = "fink@h0st.space";
github = "ffinkdevs";
+ githubId = 45924649;
name = "Fabian Fink";
};
fgaz = {
email = "fgaz@fgaz.me";
github = "fgaz";
+ githubId = 8182846;
name = "Francesco Gazzetta";
};
FireyFly = {
email = "nix@firefly.nu";
github = "FireyFly";
+ githubId = 415760;
name = "Jonas Höglund";
};
flexw = {
email = "felix.weilbach@t-online.de";
github = "FlexW";
+ githubId = 19961516;
name = "Felix Weilbach";
};
flokli = {
email = "flokli@flokli.de";
github = "flokli";
+ githubId = 183879;
name = "Florian Klink";
};
FlorianFranzen = {
email = "Florian.Franzen@gmail.com";
github = "FlorianFranzen";
+ githubId = 781077;
name = "Florian Franzen";
};
florianjacob = {
email = "projects+nixos@florianjacob.de";
github = "florianjacob";
+ githubId = 1109959;
name = "Florian Jacob";
};
flosse = {
email = "mail@markus-kohlhase.de";
github = "flosse";
+ githubId = 276043;
name = "Markus Kohlhase";
};
fluffynukeit = {
email = "dan@fluffynukeit.com";
github = "fluffynukeit";
+ githubId = 844574;
name = "Daniel Austin";
};
fmthoma = {
email = "f.m.thoma@googlemail.com";
github = "fmthoma";
+ githubId = 5918766;
name = "Franz Thoma";
};
forkk = {
email = "forkk@forkk.net";
github = "forkk";
+ githubId = 1300078;
name = "Andrew Okin";
};
fornever = {
email = "friedrich@fornever.me";
github = "fornever";
+ githubId = 92793;
name = "Friedrich von Never";
};
fpletz = {
email = "fpletz@fnordicwalking.de";
github = "fpletz";
+ githubId = 114159;
name = "Franz Pletz";
keys = [{
longkeyid = "rsa4096/0x846FDED7792617B4";
@@ -1754,6 +2222,7 @@
fps = {
email = "mista.tapas@gmx.net";
github = "fps";
+ githubId = 84968;
name = "Florian Paul Schmidt";
};
@@ -1766,11 +2235,13 @@
fredeb = {
email = "im@fredeb.dev";
github = "fredeeb";
+ githubId = 7551358;
name = "Frede Emil";
};
freepotion = {
email = "free.potion@yandex.ru";
github = "freepotion";
+ githubId = 42352817;
name = "Free Potion";
};
freezeboy = {
@@ -1786,31 +2257,37 @@
fridh = {
email = "fridh@fridh.nl";
github = "fridh";
+ githubId = 2129135;
name = "Frederik Rietdijk";
};
frlan = {
email = "frank@frank.uvena.de";
github = "frlan";
+ githubId = 1010248;
name = "Frank Lanitz";
};
fro_ozen = {
email = "fro_ozen@gmx.de";
github = "froozen";
+ githubId = 1943632;
name = "fro_ozen";
};
frontsideair = {
email = "photonia@gmail.com";
github = "frontsideair";
+ githubId = 868283;
name = "Fatih Altinok";
};
ftrvxmtrx = {
email = "ftrvxmtrx@gmail.com";
github = "ftrvxmtrx";
+ githubId = 248148;
name = "Siarhei Zirukin";
};
fuerbringer = {
email = "severin@fuerbringer.info";
github = "fuerbringer";
+ githubId = 10528737;
name = "Severin Fürbringer";
};
funfunctor = {
@@ -1820,16 +2297,19 @@
fusion809 = {
email = "brentonhorne77@gmail.com";
github = "fusion809";
+ githubId = 4717341;
name = "Brenton Horne";
};
fuuzetsu = {
email = "fuuzetsu@fuuzetsu.co.uk";
github = "fuuzetsu";
+ githubId = 893115;
name = "Mateusz Kowalczyk";
};
fuwa = {
email = "echowss@gmail.com";
github = "fuwa0529";
+ githubId = 40521440;
name = "Haruka Akiyama";
};
fuzzy-id = {
@@ -1839,16 +2319,19 @@
fxfactorial = {
email = "edgar.factorial@gmail.com";
github = "fxfactorial";
+ githubId = 3036816;
name = "Edgar Aroutiounian";
};
gabesoft = {
email = "gabesoft@gmail.com";
github = "gabesoft";
+ githubId = 606000;
name = "Gabriel Adomnicai";
};
gal_bolle = {
email = "florent.becker@ens-lyon.org";
github = "FlorentBecker";
+ githubId = 7047019;
name = "Florent Becker";
};
garbas = {
@@ -1859,6 +2342,7 @@
garrison = {
email = "jim@garrison.cc";
github = "garrison";
+ githubId = 91987;
name = "Jim Garrison";
};
gavin = {
@@ -1869,86 +2353,109 @@
gebner = {
email = "gebner@gebner.org";
github = "gebner";
+ githubId = 313929;
name = "Gabriel Ebner";
};
geistesk = {
email = "post@0x21.biz";
github = "geistesk";
+ githubId = 8402811;
name = "Alvar Penning";
};
genesis = {
email = "ronan@aimao.org";
github = "bignaux";
+ githubId = 149484;
name = "Ronan Bignaux";
};
georgewhewell = {
email = "georgerw@gmail.com";
github = "georgewhewell";
+ githubId = 1176131;
name = "George Whewell";
};
gerschtli = {
email = "tobias.happ@gmx.de";
github = "Gerschtli";
+ githubId = 10353047;
name = "Tobias Happ";
};
ggpeti = {
email = "ggpeti@gmail.com";
github = "ggpeti";
+ githubId = 3217744;
name = "Peter Ferenczy";
};
gilligan = {
email = "tobias.pflug@gmail.com";
github = "gilligan";
+ githubId = 27668;
name = "Tobias Pflug";
};
giogadi = {
email = "lgtorres42@gmail.com";
github = "giogadi";
+ githubId = 1713676;
name = "Luis G. Torres";
};
gleber = {
email = "gleber.p@gmail.com";
github = "gleber";
+ githubId = 33185;
name = "Gleb Peregud";
};
glenns = {
email = "glenn.searby@gmail.com";
github = "glenns";
+ githubId = 615606;
name = "Glenn Searby";
};
+ gloaming = {
+ email = "ch9871@gmail.com";
+ github = "gloaming";
+ githubId = 10156748;
+ name = "Craig Hall";
+ };
globin = {
email = "mail@glob.in";
github = "globin";
+ githubId = 1447245;
name = "Robin Gloster";
};
gnidorah = {
email = "gnidorah@yandex.com";
github = "gnidorah";
+ githubId = 12064730;
name = "Alex Ivanov";
};
goibhniu = {
email = "cillian.deroiste@gmail.com";
github = "cillianderoiste";
+ githubId = 643494;
name = "Cillian de Róiste";
};
Gonzih = {
email = "gonzih@gmail.com";
github = "Gonzih";
+ githubId = 266275;
name = "Max Gonzih";
};
goodrone = {
email = "goodrone@gmail.com";
github = "goodrone";
+ githubId = 1621335;
name = "Andrew Trachenko";
};
gpyh = {
email = "yacine.hmito@gmail.com";
github = "yacinehmito";
+ githubId = 6893840;
name = "Yacine Hmito";
};
grahamc = {
email = "graham@grahamc.com";
github = "grahamc";
+ githubId = 76716;
name = "Graham Christensen";
};
grburst = {
@@ -1959,6 +2466,7 @@
greydot = {
email = "lanablack@amok.cc";
github = "greydot";
+ githubId = 7385287;
name = "Lana Black";
};
gridaphobe = {
@@ -1969,229 +2477,303 @@
guibert = {
email = "david.guibert@gmail.com";
github = "dguibert";
+ githubId = 1178864;
name = "David Guibert";
};
groodt = {
email = "groodt@gmail.com";
github = "groodt";
+ githubId = 343415;
name = "Greg Roodt";
};
guibou = {
email = "guillaum.bouchard@gmail.com";
github = "guibou";
+ githubId = 9705357;
name = "Guillaume Bouchard";
};
guillaumekoenig = {
email = "guillaume.edward.koenig@gmail.com";
github = "guillaumekoenig";
+ githubId = 10654650;
name = "Guillaume Koenig";
};
guyonvarch = {
email = "joris@guyonvarch.me";
github = "guyonvarch";
+ githubId = 6768842;
name = "Joris Guyonvarch";
};
hakuch = {
email = "hakuch@gmail.com";
github = "hakuch";
+ githubId = 1498782;
name = "Jesse Haber-Kucharsky";
};
hamhut1066 = {
email = "github@hamhut1066.com";
- github = "hamhut1066";
+ github = "moredhel";
+ githubId = 1742172;
name = "Hamish Hutchings";
};
hansjoergschurr = {
email = "commits@schurr.at";
github = "hansjoergschurr";
+ githubId = 9850776;
name = "Hans-Jörg Schurr";
};
HaoZeke = {
email = "r95g10@gmail.com";
github = "haozeke";
+ githubId = 4336207;
name = "Rohit Goswami";
};
haslersn = {
email = "haslersn@fius.informatik.uni-stuttgart.de";
github = "haslersn";
+ githubId = 33969028;
name = "Sebastian Hasler";
};
havvy = {
email = "ryan.havvy@gmail.com";
github = "havvy";
+ githubId = 731722;
name = "Ryan Scheel";
};
hax404 = {
email = "hax404foogit@hax404.de";
github = "hax404";
+ githubId = 1379411;
name = "Georg Haas";
};
hbunke = {
email = "bunke.hendrik@gmail.com";
github = "hbunke";
+ githubId = 1768793;
name = "Hendrik Bunke";
};
hce = {
email = "hc@hcesperer.org";
github = "hce";
+ githubId = 147689;
name = "Hans-Christian Esperer";
};
hectorj = {
email = "hector.jusforgues+nixos@gmail.com";
github = "hectorj";
+ githubId = 2427959;
name = "Hector Jusforgues";
};
hedning = {
email = "torhedinbronner@gmail.com";
github = "hedning";
+ githubId = 71978;
name = "Tor Hedin Brønner";
};
heel = {
email = "parizhskiy@gmail.com";
github = "heel";
+ githubId = 287769;
name = "Sergii Paryzhskyi";
};
helkafen = {
email = "arnaudpourseb@gmail.com";
github = "Helkafen";
+ githubId = 2405974;
name = "Sébastian Méric de Bellefon";
};
henrytill = {
email = "henrytill@gmail.com";
github = "henrytill";
+ githubId = 6430643;
name = "Henry Till";
};
+ herberteuler = {
+ email = "herberteuler@gmail.com";
+ github = "herberteuler";
+ githubId = 1401179;
+ name = "Guanpeng Xu";
+ };
hhm = {
email = "heehooman+nixpkgs@gmail.com";
github = "hhm0";
+ githubId = 3656888;
name = "hhm";
};
hinton = {
email = "t@larkery.com";
name = "Tom Hinton";
};
+ hkjn = {
+ email = "me@hkjn.me";
+ name = "Henrik Jonsson";
+ github = "hkjn";
+ keys = [{
+ longkeyid = "rsa4096/0x03EFBF839A5FDC15";
+ fingerprint = "D618 7A03 A40A 3D56 62F5 4B46 03EF BF83 9A5F DC15";
+ }];
+ };
hlolli = {
email = "hlolli@gmail.com";
github = "hlolli";
+ githubId = 6074754;
name = "Hlodver Sigurdsson";
};
+ hugoreeves = {
+ email = "hugolreeves@gmail.com";
+ github = "hugoreeves";
+ githubId = 20039091;
+ name = "Hugo Reeves";
+ };
hodapp = {
email = "hodapp87@gmail.com";
github = "Hodapp87";
+ githubId = 896431;
name = "Chris Hodapp";
};
hrdinka = {
email = "c.nix@hrdinka.at";
github = "hrdinka";
+ githubId = 1436960;
name = "Christoph Hrdinka";
};
hschaeidt = {
email = "he.schaeidt@gmail.com";
github = "hschaeidt";
+ githubId = 1614615;
name = "Hendrik Schaeidt";
};
htr = {
email = "hugo@linux.com";
github = "htr";
+ githubId = 39689;
name = "Hugo Tavares Reis";
};
hyphon81 = {
email = "zero812n@gmail.com";
github = "hyphon81";
+ githubId = 12491746;
name = "Masato Yonekawa";
};
iand675 = {
email = "ian@iankduncan.com";
github = "iand675";
+ githubId = 69209;
name = "Ian Duncan";
};
ianwookim = {
email = "ianwookim@gmail.com";
github = "wavewave";
+ githubId = 1031119;
name = "Ian-Woo Kim";
};
iblech = {
email = "iblech@speicherleck.de";
github = "iblech";
+ githubId = 3661115;
name = "Ingo Blechschmidt";
};
idontgetoutmuch = {
email = "dominic@steinitz.org";
github = "idontgetoutmuch";
+ githubId = 1550265;
name = "Dominic Steinitz";
};
igsha = {
email = "igor.sharonov@gmail.com";
github = "igsha";
+ githubId = 5345170;
name = "Igor Sharonov";
};
iimog = {
email = "iimog@iimog.org";
github = "iimog";
+ githubId = 7403236;
name = "Markus J. Ankenbrand";
};
ikervagyok = {
email = "ikervagyok@gmail.com";
github = "ikervagyok";
+ githubId = 7481521;
name = "Balázs Lengyel";
};
ilikeavocadoes = {
email = "ilikeavocadoes@hush.com";
github = "ilikeavocadoes";
+ githubId = 36193715;
name = "Lassi Haasio";
};
illegalprime = {
email = "themichaeleden@gmail.com";
github = "illegalprime";
+ githubId = 4401220;
name = "Michael Eden";
};
ilya-kolpakov = {
email = "ilya.kolpakov@gmail.com";
github = "ilya-kolpakov";
+ githubId = 592849;
name = "Ilya Kolpakov";
};
imalison = {
email = "IvanMalison@gmail.com";
github = "IvanMalison";
+ githubId = 1246619;
name = "Ivan Malison";
};
imalsogreg = {
email = "imalsogreg@gmail.com";
github = "imalsogreg";
+ githubId = 993484;
name = "Greg Hale";
};
imuli = {
email = "i@imu.li";
github = "imuli";
+ githubId = 4085046;
name = "Imuli";
};
infinisil = {
- email = "infinisil@icloud.com";
+ email = "contact@infinisil.com";
github = "infinisil";
name = "Silvan Mosberger";
};
ingenieroariel = {
email = "ariel@nunez.co";
github = "ingenieroariel";
+ githubId = 54999;
name = "Ariel Nunez";
};
ironpinguin = {
email = "michele@catalano.de";
github = "ironpinguin";
+ githubId = 137306;
name = "Michele Catalano";
};
ivan = {
email = "ivan@ludios.org";
github = "ivan";
+ githubId = 4458;
name = "Ivan Kozik";
};
ivan-tkatchev = {
email = "tkatchev@gmail.com";
name = "Ivan Tkatchev";
};
+ ivanbrennan = {
+ email = "ivan.brennan@gmail.com";
+ github = "ivanbrennan";
+ githubId = 1672874;
+ name = "Ivan Brennan";
+ keys = [{
+ longkeyid = "rsa4096/0x79C3C47DC652EA54";
+ fingerprint = "7311 2700 AB4F 4CDF C68C F6A5 79C3 C47D C652 EA54";
+ }];
+ };
ivegotasthma = {
email = "ivegotasthma@protonmail.com";
github = "ivegotasthma";
+ githubId = 2437675;
name = "John Doe";
keys = [{
longkeyid = "rsa4096/09AC52AEA87817A4";
@@ -2201,71 +2783,95 @@
ixmatus = {
email = "parnell@digitalmentat.com";
github = "ixmatus";
+ githubId = 30714;
name = "Parnell Springmeyer";
};
ixxie = {
email = "matan@fluxcraft.net";
github = "ixxie";
+ githubId = 20320695;
name = "Matan Bendix Shenhav";
};
izorkin = {
email = "Izorkin@gmail.com";
github = "izorkin";
+ githubId = 26877687;
name = "Yurii Izorkin";
};
+ jasoncarr = {
+ email = "jcarr250@gmail.com";
+ github = "jasoncarr0";
+ name = "Jason Carr";
+ };
j-keck = {
email = "jhyphenkeck@gmail.com";
github = "j-keck";
+ githubId = 3081095;
name = "Jürgen Keck";
};
+ j03 = {
+ email = "github@johannesloetzsch.de";
+ github = "johannesloetzsch";
+ name = "Johannes Lötzsch";
+ };
jagajaga = {
email = "ars.seroka@gmail.com";
github = "jagajaga";
+ githubId = 2179419;
name = "Arseniy Seroka";
};
jakelogemann = {
email = "jake.logemann@gmail.com";
github = "jakelogemann";
+ githubId = 820715;
name = "Jake Logemann";
};
jakewaksbaum = {
email = "jake.waksbaum@gmail.com";
github = "jbaum98";
+ githubId = 5283991;
name = "Jake Waksbaum";
};
jammerful = {
email = "jammerful@gmail.com";
github = "jammerful";
+ githubId = 20176306;
name = "jammerful";
};
jansol = {
email = "jan.solanti@paivola.fi";
github = "jansol";
+ githubId = 2588851;
name = "Jan Solanti";
};
javaguirre = {
email = "contacto@javaguirre.net";
github = "javaguirre";
+ githubId = 488556;
name = "Javier Aguirre";
};
jb55 = {
email = "jb55@jb55.com";
github = "jb55";
+ githubId = 45598;
name = "William Casarin";
};
jbedo = {
email = "cu@cua0.org";
github = "jbedo";
+ githubId = 372912;
name = "Justin Bedő";
};
jbgi = {
email = "jb@giraudeau.info";
github = "jbgi";
+ githubId = 221929;
name = "Jean-Baptiste Giraudeau";
};
jchw = {
email = "johnwchadwick@gmail.com";
github = "jchv";
+ githubId = 938744;
name = "John Chadwick";
};
jcumming = {
@@ -2275,31 +2881,46 @@
jD91mZM2 = {
email = "me@krake.one";
github = "jD91mZM2";
+ githubId = 12830969;
name = "jD91mZM2";
};
jdagilliland = {
email = "jdagilliland@gmail.com";
github = "jdagilliland";
+ githubId = 1383440;
name = "Jason Gilliland";
};
+ jdanek = {
+ email = "jdanek@redhat.com";
+ github = "jdanekrh";
+ keys = [{
+ longkeyid = "ed25519/0x69275CADF15D872E";
+ fingerprint = "D4A6 F051 AD58 2E7C BCED 5439 6927 5CAD F15D 872E";
+ }];
+ name = "Jiri Daněk";
+ };
jdehaas = {
email = "qqlq@nullptr.club";
github = "jeroendehaas";
+ githubId = 117874;
name = "Jeroen de Haas";
};
jefdaj = {
email = "jefdaj@gmail.com";
github = "jefdaj";
+ githubId = 1198065;
name = "Jeffrey David Johnson";
};
jensbin = {
email = "jensbin+git@pm.me";
github = "jensbin";
+ githubId = 1608697;
name = "Jens Binkert";
};
jerith666 = {
email = "github@matt.mchenryfamily.org";
github = "jerith666";
+ githubId = 854319;
name = "Matt McHenry";
};
jeschli = {
@@ -2310,6 +2931,7 @@
jethro = {
email = "jethrokuan95@gmail.com";
github = "jethrokuan";
+ githubId = 1667473;
name = "Jethro Kuan";
};
jfb = {
@@ -2320,71 +2942,85 @@
jflanglois = {
email = "yourstruly@julienlanglois.me";
github = "jflanglois";
+ githubId = 18501;
name = "Julien Langlois";
};
jfrankenau = {
email = "johannes@frankenau.net";
github = "jfrankenau";
+ githubId = 2736480;
name = "Johannes Frankenau";
};
jgeerds = {
email = "jascha@geerds.org";
github = "jgeerds";
+ githubId = 1473909;
name = "Jascha Geerds";
};
jgertm = {
email = "jger.tm@gmail.com";
github = "jgertm";
+ githubId = 6616642;
name = "Tim Jaeger";
};
jgillich = {
email = "jakob@gillich.me";
github = "jgillich";
+ githubId = 347965;
name = "Jakob Gillich";
};
jglukasik = {
email = "joseph@jgl.me";
github = "jglukasik";
+ githubId = 6445082;
name = "Joseph Lukasik";
};
jhhuh = {
email = "jhhuh.note@gmail.com";
github = "jhhuh";
+ githubId = 5843245;
name = "Ji-Haeng Huh";
};
jhillyerd = {
email = "james+nixos@hillyerd.com";
github = "jhillyerd";
+ githubId = 2502736;
name = "James Hillyerd";
};
jirkamarsik = {
email = "jiri.marsik89@gmail.com";
github = "jirkamarsik";
+ githubId = 184898;
name = "Jirka Marsik";
};
jlesquembre = {
email = "jl@lafuente.me";
github = "jlesquembre";
+ githubId = 1058504;
name = "José Luis Lafuente";
};
jluttine = {
email = "jaakko.luttinen@iki.fi";
github = "jluttine";
+ githubId = 2195834;
name = "Jaakko Luttinen";
};
jmagnusj = {
email = "jmagnusj@gmail.com";
github = "magnusjonsson";
+ githubId = 8900;
name = "Johan Magnus Jonsson";
};
jmettes = {
email = "jonathan@jmettes.com";
github = "jmettes";
+ githubId = 587870;
name = "Jonathan Mettes";
};
joachifm = {
email = "joachifm@fastmail.fm";
github = "joachifm";
+ githubId = 41977;
name = "Joachim Fasting";
};
joamaki = {
@@ -2395,50 +3031,79 @@
joelburget = {
email = "joelburget@gmail.com";
github = "joelburget";
+ githubId = 310981;
name = "Joel Burget";
};
joelmo = {
email = "joel.moberg@gmail.com";
github = "joelmo";
+ githubId = 336631;
name = "Joel Moberg";
};
joelteon = {
email = "me@joelt.io";
name = "Joel Taylor";
};
+ joepie91 = {
+ email = "admin@cryto.net";
+ name = "Sven Slootweg";
+ github = "joepie91";
+ };
+ joesalisbury = {
+ email = "salisbury.joseph@gmail.com";
+ github = "JosephSalisbury";
+ name = "Joe Salisbury";
+ };
johanot = {
email = "write@ownrisk.dk";
github = "johanot";
+ githubId = 998763;
name = "Johan Thomsen";
};
johbo = {
email = "johannes@bornhold.name";
github = "johbo";
+ githubId = 117805;
name = "Johannes Bornhold";
};
johnazoidberg = {
email = "git@danielschaefer.me";
github = "johnazoidberg";
+ githubId = 5307138;
name = "Daniel Schäfer";
};
johnchildren = {
email = "john.a.children@gmail.com";
github = "johnchildren";
+ githubId = 32305209;
name = "John Children";
};
johnmh = {
email = "johnmh@openblox.org";
github = "johnmh";
+ githubId = 2576152;
name = "John M. Harris, Jr.";
};
johnramsden = {
email = "johnramsden@riseup.net";
github = "johnramsden";
+ githubId = 8735102;
name = "John Ramsden";
};
+ jojosch = {
+ name = "Johannes Schleifenbaum";
+ email = "johannes@js-webcoding.de";
+ github = "jojosch";
+ githubId = 327488;
+ keys = [{
+ longkeyid = "ed25519/059093B1A278BCD0";
+ fingerprint = "7249 70E6 A661 D84E 8B47 678A 0590 93B1 A278 BCD0";
+ }];
+ };
joko = {
email = "ioannis.koutras@gmail.com";
github = "jokogr";
+ githubId = 1252547;
keys = [{
# compare with https://keybase.io/joko
longkeyid = "rsa2048/0x85EAE7D9DF56C5CA";
@@ -2449,56 +3114,85 @@
jonafato = {
email = "jon@jonafato.com";
github = "jonafato";
+ githubId = 392720;
name = "Jon Banafato";
};
jonathanreeve = {
email = "jon.reeve@gmail.com";
github = "JonathanReeve";
+ githubId = 1843676;
name = "Jonathan Reeve";
};
joncojonathan = {
email = "joncojonathan@gmail.com";
github = "joncojonathan";
+ githubId = 11414454;
name = "Jonathan Haddock";
};
+ jonringer = {
+ email = "jonringer117@gmail.com";
+ github = "jonringer";
+ githubId = 7673602;
+ name = "Jonathan Ringer";
+ };
+ jorise = {
+ email = "info@jorisengbers.nl";
+ github = "JorisE";
+ githubId = 1767283;
+ name = "Joris Engbers";
+ };
jorsn = {
name = "Johannes Rosenberger";
email = "johannes@jorsn.eu";
github = "jorsn";
+ githubId = 4646725;
};
jpdoyle = {
email = "joethedoyle@gmail.com";
github = "jpdoyle";
+ githubId = 1918771;
name = "Joe Doyle";
};
jpierre03 = {
email = "nix@prunetwork.fr";
github = "jpierre03";
+ githubId = 954536;
name = "Jean-Pierre PRUNARET";
};
jpotier = {
email = "jpo.contributes.to.nixos@marvid.fr";
github = "jpotier";
+ githubId = 752510;
name = "Martin Potier";
};
jqueiroz = {
email = "nixos@johnjq.com";
github = "jqueiroz";
+ githubId = 4968215;
name = "Jonathan Queiroz";
};
jraygauthier = {
email = "jraygauthier@gmail.com";
github = "jraygauthier";
+ githubId = 4611077;
name = "Raymond Gauthier";
};
+ jtobin = {
+ email = "jared@jtobin.io";
+ github = "jtobin";
+ githubId = 1414434;
+ name = "Jared Tobin";
+ };
jtojnar = {
email = "jtojnar@gmail.com";
github = "jtojnar";
+ githubId = 705123;
name = "Jan Tojnar";
};
juaningan = {
email = "juaningan@gmail.com";
github = "juaningan";
+ githubId = 810075;
name = "Juan Rodal";
};
juliendehos = {
@@ -2509,11 +3203,13 @@
justinwoo = {
email = "moomoowoo@gmail.com";
github = "justinwoo";
+ githubId = 2396926;
name = "Justin Woo";
};
jwiegley = {
email = "johnw@newartisans.com";
github = "jwiegley";
+ githubId = 8460;
name = "John Wiegley";
};
jwilberding = {
@@ -2528,21 +3224,25 @@
jzellner = {
email = "jeffz@eml.cc";
github = "sofuture";
+ githubId = 66669;
name = "Jeff Zellner";
};
kaiha = {
email = "kai.harries@gmail.com";
github = "kaiha";
+ githubId = 6544084;
name = "Kai Harries";
};
kalbasit = {
email = "wael.nasreddine@gmail.com";
github = "kalbasit";
+ githubId = 87115;
name = "Wael Nasreddine";
};
kamilchm = {
email = "kamil.chm@gmail.com";
github = "kamilchm";
+ githubId = 1621930;
name = "Kamil Chmielewski";
};
kampfschlaefer = {
@@ -2557,61 +3257,95 @@
kazcw = {
email = "kaz@lambdaverse.org";
github = "kazcw";
+ githubId = 1047859;
name = "Kaz Wesley";
};
+ kcalvinalvin = {
+ email = "calvin@kcalvinalvin.info";
+ github = "kcalvinalvin";
+ githubId = 37185887;
+ name = "Calvin Kim";
+ };
kentjames = {
email = "jameschristopherkent@gmail.com";
github = "kentjames";
+ githubId = 2029444;
name = "James Kent";
};
kevincox = {
email = "kevincox@kevincox.ca";
github = "kevincox";
+ githubId = 494012;
name = "Kevin Cox";
};
khumba = {
email = "bog@khumba.net";
github = "khumba";
+ githubId = 788813;
name = "Bryan Gardiner";
};
KibaFox = {
email = "kiba.fox@foxypossibilities.com";
github = "KibaFox";
+ githubId = 16481032;
name = "Kiba Fox";
};
kierdavis = {
email = "kierdavis@gmail.com";
github = "kierdavis";
+ githubId = 845652;
name = "Kier Davis";
};
+ killercup = {
+ email = "killercup@gmail.com";
+ github = "killercup";
+ githubId = 20063;
+ name = "Pascal Hertleif";
+ };
kiloreux = {
email = "kiloreux@gmail.com";
github = "kiloreux";
+ githubId = 6282557;
name = "Kiloreux Emperex";
};
+ kim0 = {
+ email = "email.ahmedkamal@googlemail.com";
+ github = "kim0";
+ name = "Ahmed Kamal";
+ };
kimburgess = {
email = "kim@acaprojects.com";
github = "kimburgess";
+ githubId = 843652;
name = "Kim Burgess";
};
kini = {
email = "keshav.kini@gmail.com";
github = "kini";
+ githubId = 691290;
name = "Keshav Kini";
};
kirelagin = {
email = "kirelagin@gmail.com";
github = "kirelagin";
+ githubId = 451835;
name = "Kirill Elagin";
};
+ kirikaza = {
+ email = "k@kirikaza.ru";
+ github = "kirikaza";
+ name = "Kirill Kazakov";
+ };
kisonecat = {
email = "kisonecat@gmail.com";
github = "kisonecat";
+ githubId = 148352;
name = "Jim Fowler";
};
kiwi = {
email = "envy1988@gmail.com";
github = "Kiwi";
+ githubId = 35715;
name = "Robert Djubek";
keys = [{
longkeyid = "rsa4096/0x156C88A5B0A04B2A";
@@ -2621,6 +3355,7 @@
kjuvi = {
email = "quentin.vaucher@pm.me";
github = "kjuvi";
+ githubId = 17534323;
name = "Quentin Vaucher";
};
kkallio = {
@@ -2631,31 +3366,44 @@
email = "klntsky@gmail.com";
name = "Vladimir Kalnitsky";
github = "klntsky";
+ githubId = 18447310;
};
kmeakin = {
email = "karlwfmeakin@gmail.com";
name = "Karl Meakin";
github = "Kmeakin";
+ githubId = 19665139;
+ };
+
+ kmein = {
+ email = "kieran.meinhardt@gmail.com";
+ name = "Kierán Meinhardt";
+ github = "kmein";
+ githubId = 10352507;
};
knedlsepp = {
email = "josef.kemetmueller@gmail.com";
github = "knedlsepp";
+ githubId = 3287933;
name = "Josef Kemetmüller";
};
knl = {
email = "nikola@knezevic.co";
github = "knl";
+ githubId = 361496;
name = "Nikola Knežević";
};
kolaente = {
email = "k@knt.li";
github = "kolaente";
+ githubId = 13721712;
name = "Konrad Langenberg";
};
konimex = {
email = "herdiansyah@netc.eu";
github = "konimex";
+ githubId = 15692230;
name = "Muhammad Herdiansyah";
};
koral = {
@@ -2666,58 +3414,80 @@
kovirobi = {
email = "kovirobi@gmail.com";
github = "kovirobi";
+ githubId = 1903418;
name = "Kovacsics Robert";
};
kquick = {
email = "quick@sparq.org";
github = "kquick";
+ githubId = 787421;
name = "Kevin Quick";
};
kragniz = {
email = "louis@kragniz.eu";
github = "kragniz";
+ githubId = 735008;
name = "Louis Taylor";
};
krav = {
email = "kristoffer@microdisko.no";
github = "krav";
+ githubId = 4032;
name = "Kristoffer Thømt Ravneberg";
};
kroell = {
email = "nixosmainter@makroell.de";
github = "rokk4";
+ githubId = 17659803;
name = "Matthias Axel Kröll";
};
kristoff3r = {
email = "k.soeholm@gmail.com";
github = "kristoff3r";
+ githubId = 160317;
name = "Kristoffer Søholm";
};
ktf = {
email = "giulio.eulisse@cern.ch";
github = "ktf";
+ githubId = 10544;
name = "Giuluo Eulisse";
};
+ ktor = {
+ email = "kruszewsky@gmail.com";
+ github = "ktor";
+ name = "Pawel Kruszewski";
+ };
ktosiek = {
email = "tomasz.kontusz@gmail.com";
github = "ktosiek";
+ githubId = 278013;
name = "Tomasz Kontusz";
};
kuznero = {
email = "roman@kuznero.com";
github = "kuznero";
+ githubId = 449813;
name = "Roman Kuznetsov";
};
kylewlacy = {
email = "kylelacy+nix@pm.me";
github = "kylewlacy";
+ githubId = 1362179;
name = "Kyle Lacy";
};
lasandell = {
email = "lasandell@gmail.com";
github = "lasandell";
+ githubId = 2034420;
name = "Luke Sandell";
};
+ lambda-11235 = {
+ email = "taranlynn0@gmail.com";
+ github = "lambda-11235";
+ githubId = 16354815;
+ name = "Taran Lynn";
+ };
lassulus = {
email = "lassulus@gmail.com";
github = "Lassulus";
@@ -2726,26 +3496,31 @@
layus = {
email = "layus.on@gmail.com";
github = "layus";
+ githubId = 632767;
name = "Guillaume Maudoux";
};
lblasc = {
email = "lblasc@znode.net";
github = "lblasc";
+ githubId = 32152;
name = "Luka Blaskovic";
};
ldesgoui = {
email = "ldesgoui@gmail.com";
github = "ldesgoui";
+ githubId = 2472678;
name = "Lucas Desgouilles";
};
league = {
email = "league@contrapunctus.net";
github = "league";
+ githubId = 50286;
name = "Christopher League";
};
leahneukirchen = {
email = "leah@vuxu.org";
github = "leahneukirchen";
+ githubId = 139;
name = "Leah Neukirchen";
};
lebastr = {
@@ -2756,26 +3531,31 @@
ledif = {
email = "refuse@gmail.com";
github = "ledif";
+ githubId = 307744;
name = "Adam Fidel";
};
leemachin = {
email = "me@mrl.ee";
github = "leemachin";
+ githubId = 736291;
name = "Lee Machin";
};
leenaars = {
email = "ml.software@leenaa.rs";
github = "leenaars";
+ githubId = 4158274;
name = "Michiel Leenaars";
};
lejonet = {
email = "daniel@kuehn.se";
github = "lejonet";
+ githubId = 567634;
name = "Daniel Kuehn";
};
leo60228 = {
email = "iakornfeld@gmail.com";
github = "leo60228";
+ githubId = 8355305;
name = "leo60228";
};
leonardoce = {
@@ -2786,101 +3566,136 @@
lethalman = {
email = "lucabru@src.gnome.org";
github = "lethalman";
+ githubId = 480920;
name = "Luca Bruno";
};
lewo = {
email = "lewo@abesis.fr";
github = "nlewo";
+ githubId = 3425311;
name = "Antoine Eiche";
};
lheckemann = {
email = "git@sphalerite.org";
github = "lheckemann";
+ githubId = 341954;
name = "Linus Heckemann";
};
lhvwb = {
email = "nathaniel.baxter@gmail.com";
github = "nathanielbaxter";
+ githubId = 307589;
name = "Nathaniel Baxter";
};
+ lightbulbjim = {
+ email = "chris@killred.net";
+ github = "lightbulbjim";
+ name = "Chris Rendle-Short";
+ };
lightdiscord = {
email = "root@arnaud.sh";
github = "lightdiscord";
+ githubId = 24509182;
name = "Arnaud Pascal";
};
lihop = {
email = "nixos@leroy.geek.nz";
github = "lihop";
+ githubId = 3696783;
name = "Leroy Hopson";
};
lilyball = {
email = "lily@sb.org";
github = "lilyball";
+ githubId = 714;
name = "Lily Ballard";
};
limeytexan = {
email = "limeytexan@gmail.com";
github = "limeytexan";
+ githubId = 36448130;
name = "Michael Brantley";
};
linarcx = {
email = "linarcx@gmail.com";
github = "linarcx";
+ githubId = 10884422;
name = "Kaveh Ahangar";
};
linc01n = {
email = "git@lincoln.hk";
github = "linc01n";
+ githubId = 667272;
name = "Lincoln Lee";
};
linquize = {
email = "linquize@yahoo.com.hk";
github = "linquize";
+ githubId = 791115;
name = "Linquize";
};
linus = {
email = "linusarver@gmail.com";
github = "listx";
+ githubId = 725613;
name = "Linus Arver";
};
+ livnev = {
+ email = "lev@liv.nev.org.uk";
+ github = "livnev";
+ githubId = 3964494;
+ name = "Lev Livnev";
+ keys = [{
+ longkeyid = "rsa2048/0x68FF81E6A7850F49";
+ fingerprint = "74F5 E5CC 19D3 B5CB 608F 6124 68FF 81E6 A785 0F49";
+ }];
+ };
luis = {
email = "luis.nixos@gmail.com";
github = "Luis-Hebendanz";
+ githubId = 22085373;
name = "Luis Hebendanz";
};
lionello = {
email = "lio@lunesu.com";
github = "lionello";
+ githubId = 591860;
name = "Lionello Lunesu";
};
lluchs = {
email = "lukas.werling@gmail.com";
github = "lluchs";
+ githubId = 516527;
name = "Lukas Werling";
};
lnl7 = {
email = "daiderd@gmail.com";
github = "lnl7";
+ githubId = 689294;
name = "Daiderd Jordan";
};
lo1tuma = {
email = "schreck.mathias@gmail.com";
github = "lo1tuma";
+ githubId = 169170;
name = "Mathias Schreck";
};
loewenheim = {
email = "loewenheim@mailbox.org";
github = "loewenheim";
+ githubId = 7622248;
name = "Sebastian Zivota";
};
lopsided98 = {
email = "benwolsieffer@gmail.com";
github = "lopsided98";
+ githubId = 5624721;
name = "Ben Wolsieffer";
};
loskutov = {
email = "ignat.loskutov@gmail.com";
github = "loskutov";
+ githubId = 1202012;
name = "Ignat Loskutov";
};
lovek323 = {
@@ -2891,16 +3706,19 @@
lowfatcomputing = {
email = "andreas.wagner@lowfatcomputing.org";
github = "lowfatcomputing";
+ githubId = 10626;
name = "Andreas Wagner";
};
lschuermann = {
email = "leon.git@is.currently.online";
github = "lschuermann";
+ githubId = 5341193;
name = "Leon Schuermann";
};
lsix = {
email = "lsix@lancelotsix.com";
github = "lsix";
+ githubId = 724339;
name = "Lancelot SIX";
};
ltavard = {
@@ -2911,46 +3729,61 @@
lucas8 = {
email = "luc.linux@mailoo.org";
github = "lucas8";
+ githubId = 2025623;
name = "Luc Chabassier";
};
lucus16 = {
email = "lars.jellema@gmail.com";
github = "Lucus16";
+ githubId = 2487922;
name = "Lars Jellema";
};
ludo = {
email = "ludo@gnu.org";
github = "civodul";
+ githubId = 1168435;
name = "Ludovic Courtès";
};
lufia = {
email = "lufia@lufia.org";
github = "lufia";
+ githubId = 1784379;
name = "Kyohei Kadota";
};
luispedro = {
email = "luis@luispedro.org";
github = "luispedro";
+ githubId = 79334;
name = "Luis Pedro Coelho";
};
lukeadams = {
email = "luke.adams@belljar.io";
github = "lukeadams";
+ githubId = 3508077;
name = "Luke Adams";
};
+ lukebfox = {
+ email = "lbentley-fox1@sheffield.ac.uk";
+ github = "lukebfox";
+ githubId = 34683288;
+ name = "Luke Bentley-Fox";
+ };
lukego = {
email = "luke@snabb.co";
github = "lukego";
+ githubId = 13791;
name = "Luke Gorrie";
};
luz = {
email = "luz666@daum.net";
github = "Luz";
+ githubId = 208297;
name = "Luz";
};
lw = {
email = "lw@fmap.me";
github = "lolwat97";
+ githubId = 2057309;
name = "Sergey Sofeychuk";
};
lyt = {
@@ -2964,66 +3797,85 @@
ma27 = {
email = "maximilian@mbosch.me";
github = "ma27";
+ githubId = 6025220;
name = "Maximilian Bosch";
};
ma9e = {
email = "sean@lfo.team";
- github = "ma9e";
+ github = "furrycatherder";
+ githubId = 36235154;
name = "Sean Haugh";
};
madjar = {
email = "georges.dubus@compiletoi.net";
github = "madjar";
+ githubId = 109141;
name = "Georges Dubus";
};
mafo = {
email = "Marc.Fontaine@gmx.de";
github = "MarcFontaine";
+ githubId = 1433367;
name = "Marc Fontaine";
};
+ magenbluten = {
+ email = "magenbluten@codemonkey.cc";
+ github = "magenbluten";
+ githubId = 1140462;
+ name = "magenbluten";
+ };
magnetophon = {
email = "bart@magnetophon.nl";
github = "magnetophon";
+ githubId = 7645711;
name = "Bart Brouns";
};
mahe = {
email = "matthias.mh.herrmann@gmail.com";
github = "2chilled";
+ githubId = 1238350;
name = "Matthias Herrmann";
};
makefu = {
email = "makefu@syntax-fehler.de";
github = "makefu";
+ githubId = 115218;
name = "Felix Richter";
};
malyn = {
email = "malyn@strangeGizmo.com";
github = "malyn";
+ githubId = 346094;
name = "Michael Alyn Miller";
};
manveru = {
email = "m.fellinger@gmail.com";
github = "manveru";
+ githubId = 3507;
name = "Michael Fellinger";
};
marcweber = {
email = "marco-oweber@gmx.de";
github = "marcweber";
+ githubId = 34086;
name = "Marc Weber";
};
marenz = {
email = "marenz@arkom.men";
github = "marenz2569";
+ githubId = 12773269;
name = "Markus Schmidl";
};
markus1189 = {
email = "markus1189@gmail.com";
github = "markus1189";
+ githubId = 591567;
name = "Markus Hauck";
};
markuskowa = {
email = "markus.kowalewski@gmail.com";
github = "markuskowa";
+ githubId = 26470037;
name = "Markus Kowalewski";
};
markWot = {
@@ -3034,25 +3886,30 @@
email = "mariusdavid@laposte.net";
name = "Marius David";
github = "marius851000";
+ githubId = 22586596;
};
marsam = {
email = "marsam@users.noreply.github.com";
github = "marsam";
+ githubId = 65531;
name = "Mario Rodas";
};
martijnvermaat = {
email = "martijn@vermaat.name";
github = "martijnvermaat";
+ githubId = 623509;
name = "Martijn Vermaat";
};
martingms = {
email = "martin@mg.am";
github = "martingms";
+ githubId = 458783;
name = "Martin Gammelsæter";
};
marzipankaiser = {
email = "nixos@gaisseml.de";
github = "marzipankaiser";
+ githubId = 2551444;
name = "Marcial Gaißert";
keys = [{
longkeyid = "rsa2048/0xB629036BE399EEE9";
@@ -3062,16 +3919,19 @@
matejc = {
email = "cotman.matej@gmail.com";
github = "matejc";
+ githubId = 854770;
name = "Matej Cotman";
};
mathnerd314 = {
email = "mathnerd314.gph+hs@gmail.com";
github = "mathnerd314";
+ githubId = 322214;
name = "Mathnerd314";
};
matklad = {
email = "aleksey.kladov@gmail.com";
github = "matklad";
+ githubId = 1711539;
name = "matklad";
};
matthewbauer = {
@@ -3082,6 +3942,7 @@
matthiasbeyer = {
email = "mail@beyermatthias.de";
github = "matthiasbeyer";
+ githubId = 427866;
name = "Matthias Beyer";
};
matti-kariluoma = {
@@ -3092,76 +3953,91 @@
maurer = {
email = "matthew.r.maurer+nix@gmail.com";
github = "maurer";
+ githubId = 136037;
name = "Matthew Maurer";
};
mbakke = {
email = "mbakke@fastmail.com";
github = "mbakke";
+ githubId = 1269099;
name = "Marius Bakke";
};
mbbx6spp = {
email = "me@susanpotter.net";
github = "mbbx6spp";
+ githubId = 564;
name = "Susan Potter";
};
mbe = {
email = "brandonedens@gmail.com";
github = "brandonedens";
+ githubId = 396449;
name = "Brandon Edens";
};
mbode = {
email = "maxbode@gmail.com";
github = "mbode";
+ githubId = 9051309;
name = "Maximilian Bode";
};
mboes = {
email = "mboes@tweag.net";
github = "mboes";
+ githubId = 51356;
name = "Mathieu Boespflug";
};
mbrgm = {
email = "marius@yeai.de";
github = "mbrgm";
+ githubId = 2971615;
name = "Marius Bergmann";
};
mcmtroffaes = {
email = "matthias.troffaes@gmail.com";
github = "mcmtroffaes";
+ githubId = 158568;
name = "Matthias C. M. Troffaes";
};
mdaiter = {
email = "mdaiter8121@gmail.com";
github = "mdaiter";
+ githubId = 1377571;
name = "Matthew S. Daiter";
};
mdevlamynck = {
email = "matthias.devlamynck@mailoo.org";
github = "mdevlamynck";
+ githubId = 4378377;
name = "Matthias Devlamynck";
};
meditans = {
email = "meditans@gmail.com";
github = "meditans";
+ githubId = 4641445;
name = "Carlo Nucera";
};
megheaiulian = {
email = "iulian.meghea@gmail.com";
github = "megheaiulian";
+ githubId = 1788114;
name = "Meghea Iulian";
};
mehandes = {
email = "niewskici@gmail.com";
github = "mehandes";
+ githubId = 32581276;
name = "Matt Deming";
};
meisternu = {
email = "meister@krutt.org";
github = "meisternu";
+ githubId = 8263431;
name = "Matt Miemiec";
};
melchips = {
email = "truphemus.francois@gmail.com";
github = "melchips";
+ githubId = 365721;
name = "Francois Truphemus";
};
melsigl = {
@@ -3172,45 +4048,59 @@
melkor333 = {
email = "samuel@ton-kunst.ch";
github = "melkor333";
+ githubId = 6412377;
name = "Samuel Ruprecht";
};
metabar = {
email = "softs@metabarcoding.org";
name = "Celine Mercier";
};
+ metadark = {
+ email = "kira.bruneau@gmail.com";
+ name = "Kira Bruneau";
+ github = "metadark";
+ githubId = 382041;
+ };
mfossen = {
email = "msfossen@gmail.com";
github = "mfossen";
+ githubId = 3300322;
name = "Mitchell Fossen";
};
mgdelacroix = {
email = "mgdelacroix@gmail.com";
github = "mgdelacroix";
+ githubId = 223323;
name = "Miguel de la Cruz";
};
mgregoire = {
email = "gregoire@martinache.net";
github = "M-Gregoire";
+ githubId = 9469313;
name = "Gregoire Martinache";
};
mgttlinger = {
email = "megoettlinger@gmail.com";
github = "mgttlinger";
+ githubId = 5120487;
name = "Merlin Göttlinger";
};
mguentner = {
email = "code@klandest.in";
github = "mguentner";
+ githubId = 668926;
name = "Maximilian Güntner";
};
mhaselsteiner = {
email = "magdalena.haselsteiner@gmx.at";
github = "mhaselsteiner";
+ githubId = 20536514;
name = "Magdalena Haselsteiner";
};
mic92 = {
email = "joerg@thalheim.io";
github = "mic92";
+ githubId = 96200;
name = "Jörg Thalheim";
keys = [{
# compare with https://keybase.io/Mic92
@@ -3226,6 +4116,7 @@
michalrus = {
email = "m@michalrus.com";
github = "michalrus";
+ githubId = 4366292;
name = "Michal Rus";
};
michelk = {
@@ -3233,34 +4124,45 @@
github = "michelk";
name = "Michel Kuhlmann";
};
+ michojel = {
+ email = "mic.liamg@gmail.com";
+ github = "michojel";
+ githubId = 21156022;
+ name = "Michal Minář";
+ };
mickours = {
email = "mickours@gmail.com<";
github = "mickours";
+ githubId = 837312;
name = "Michael Mercier";
};
midchildan = {
email = "midchildan+nix@gmail.com";
github = "midchildan";
+ githubId = 7343721;
name = "midchildan";
};
mikefaille = {
email = "michael@faille.io";
github = "mikefaille";
+ githubId = 978196;
name = "Michaël Faille";
};
mikoim = {
email = "ek@esh.ink";
github = "mikoim";
+ githubId = 3958340;
name = "Eshin Kunishima";
};
miltador = {
email = "miltador@yandex.ua";
name = "Vasiliy Solovey";
};
- mimadrid = {
- email = "mimadrid@ucm.es";
- github = "mimadrid";
- name = "Miguel Madrid";
+ mimame = {
+ email = "miguel.madrid.mencia@gmail.com";
+ github = "mimame";
+ githubId = 3269878;
+ name = "Miguel Madrid Mencía";
};
minijackson = {
email = "minijackson@riseup.net";
@@ -3275,36 +4177,43 @@
mirrexagon = {
email = "mirrexagon@mirrexagon.com";
github = "mirrexagon";
+ githubId = 1776903;
name = "Andrew Abbott";
};
mjanczyk = {
email = "m@dragonvr.pl";
github = "mjanczyk";
+ githubId = 1001112;
name = "Marcin Janczyk";
};
mjp = {
email = "mike@mythik.co.uk";
github = "MikePlayle";
+ githubId = 16974598;
name = "Mike Playle";
};
mkazulak = {
email = "kazulakm@gmail.com";
github = "mulderr";
+ githubId = 5698461;
name = "Maciej Kazulak";
};
mkg = {
email = "mkg@vt.edu";
github = "mkgvt";
+ githubId = 22477669;
name = "Mark K Gardner";
};
mlieberman85 = {
email = "mlieberman85@gmail.com";
github = "mlieberman85";
+ githubId = 622577;
name = "Michael Lieberman";
};
mmahut = {
email = "marek.mahut@gmail.com";
github = "mmahut";
+ githubId = 104795;
name = "Marek Mahut";
};
mmlb = {
@@ -3315,21 +4224,25 @@
mnacamura = {
email = "m.nacamura@gmail.com";
github = "mnacamura";
+ githubId = 45770;
name = "Mitsuhiro Nakamura";
};
moaxcp = {
email = "moaxcp@gmail.com";
github = "moaxcp";
+ githubId = 7831184;
name = "John Mercier";
};
modulistic = {
email = "modulistic@gmail.com";
github = "modulistic";
+ githubId = 1902456;
name = "Pablo Costa";
};
mog = {
email = "mog-lists@rldn.net";
github = "mogorman";
+ githubId = 64710;
name = "Matthew O'Gorman";
};
Mogria = {
@@ -3340,36 +4253,43 @@
monsieurp = {
email = "monsieurp@gentoo.org";
github = "monsieurp";
+ githubId = 350116;
name = "Patrice Clement";
};
montag451 = {
email = "montag451@laposte.net";
github = "montag451";
+ githubId = 249317;
name = "montag451";
};
moosingin3space = {
email = "moosingin3space@gmail.com";
github = "moosingin3space";
+ githubId = 830082;
name = "Nathan Moos";
};
moredread = {
email = "code@apb.name";
github = "moredread";
+ githubId = 100848;
name = "André-Patrick Bubel";
};
moretea = {
email = "maarten@moretea.nl";
github = "moretea";
+ githubId = 99988;
name = "Maarten Hoogendoorn";
};
MostAwesomeDude = {
email = "cds@corbinsimpson.com";
github = "MostAwesomeDude";
+ githubId = 118035;
name = "Corbin Simpson";
};
mounium = {
email = "muoniurn@gmail.com";
github = "mounium";
+ githubId = 20026143;
name = "Katona László";
};
MP2E = {
@@ -3380,13 +4300,21 @@
mpcsh = {
email = "m@mpc.sh";
github = "mpcsh";
+ githubId = 2894019;
name = "Mark Cohen";
};
mpickering = {
email = "matthewtpickering@gmail.com";
github = "mpickering";
+ githubId = 1216657;
name = "Matthew Pickering";
};
+ mpoquet = {
+ email = "millian.poquet@gmail.com";
+ github = "mpoquet";
+ githubId = 3502831;
+ name = "Millian Poquet";
+ };
mpscholten = {
email = "marc@mpscholten.de";
github = "mpscholten";
@@ -3395,6 +4323,7 @@
mpsyco = {
email = "fr.st-amour@gmail.com";
github = "fstamour";
+ githubId = 2881922;
name = "Francis St-Amour";
};
mredaelli = {
@@ -3405,11 +4334,19 @@
mrkkrp = {
email = "markkarpov92@gmail.com";
github = "mrkkrp";
+ githubId = 8165792;
name = "Mark Karpov";
};
+ mrmebelman = {
+ email = "burzakovskij@protonmail.com";
+ github = "MrMebelMan";
+ githubId = 15896005;
+ name = "Vladyslav Burzakovskyy";
+ };
mrVanDalo = {
email = "contact@ingolf-wagner.de";
github = "mrVanDalo";
+ githubId = 839693;
name = "Ingolf Wanger";
};
msackman = {
@@ -3423,26 +4360,31 @@
mschristiansen = {
email = "mikkel@rheosystems.com";
github = "mschristiansen";
+ githubId = 437005;
name = "Mikkel Christiansen";
};
msiedlarek = {
email = "mikolaj@siedlarek.pl";
github = "msiedlarek";
+ githubId = 133448;
name = "Mikołaj Siedlarek";
};
mstarzyk = {
email = "mstarzyk@gmail.com";
github = "mstarzyk";
+ githubId = 111304;
name = "Maciek Starzyk";
};
msteen = {
email = "emailmatthijs@gmail.com";
github = "msteen";
+ githubId = 788953;
name = "Matthijs Steen";
};
mt-caret = {
email = "mtakeda.enigsol@gmail.com";
github = "mt-caret";
+ githubId = 4996739;
name = "Masayuki Takeda";
};
MtP = {
@@ -3453,46 +4395,55 @@
mtreskin = {
email = "zerthurd@gmail.com";
github = "Zert";
+ githubId = 39034;
name = "Max Treskin";
};
mudri = {
email = "lamudri@gmail.com";
github = "laMudri";
+ githubId = 5139265;
name = "James Wood";
};
muflax = {
email = "mail@muflax.com";
github = "muflax";
+ githubId = 69918;
name = "Stefan Dorn";
};
mvnetbiz = {
email = "mvnetbiz@gmail.com";
github = "mvnetbiz";
+ githubId = 6455574;
name = "Matt Votava";
};
mwilsoninsight = {
email = "max.wilson@insight.com";
github = "mwilsoninsight";
+ githubId = 47782621;
name = "Max Wilson";
};
myrl = {
email = "myrl.0xf@gmail.com";
github = "myrl";
+ githubId = 9636071;
name = "Myrl Hex";
};
nadrieril = {
email = "nadrieril@gmail.com";
github = "nadrieril";
+ githubId = 6783654;
name = "Nadrieril Feneanar";
};
nalbyuites = {
email = "ashijit007@gmail.com";
github = "nalbyuites";
+ githubId = 1009523;
name = "Ashijit Pramanik";
};
namore = {
email = "namor@hemio.de";
github = "namore";
+ githubId = 1222539;
name = "Roman Naumann";
};
nand0p = {
@@ -3507,138 +4458,181 @@
nathan-gs = {
email = "nathan@nathan.gs";
github = "nathan-gs";
+ githubId = 330943;
name = "Nathan Bijnens";
};
+ nathyong = {
+ email = "nathyong@noreply.github.com";
+ github = "nathyong";
+ githubId = 818502;
+ name = "Nathan Yong";
+ };
nckx = {
email = "github@tobias.gr";
github = "nckx";
+ githubId = 364510;
name = "Tobias Geerinckx-Rice";
};
ndowens = {
email = "ndowens04@gmail.com";
github = "ndowens";
+ githubId = 117743;
name = "Nathan Owens";
};
neeasade = {
email = "nathanisom27@gmail.com";
github = "neeasade";
+ githubId = 3747396;
name = "Nathan Isom";
};
neonfuz = {
email = "neonfuz@gmail.com";
github = "neonfuz";
+ githubId = 2590830;
name = "Sage Raflik";
};
nequissimus = {
email = "tim@nequissimus.com";
github = "nequissimus";
+ githubId = 628342;
name = "Tim Steinbach";
};
netixx = {
email = "dev.espinetfrancois@gmail.com";
github = "netixx";
+ githubId = 1488603;
name = "François Espinet";
};
nikitavoloboev = {
email = "nikita.voloboev@gmail.com";
github = "nikitavoloboev";
+ githubId = 6391776;
name = "Nikita Voloboev";
};
nfjinjing = {
email = "nfjinjing@gmail.com";
- github = "nfjinjing";
name = "Jinjing Wang";
};
nh2 = {
email = "mail@nh2.me";
github = "nh2";
+ githubId = 399535;
name = "Niklas Hambüchen";
};
nhooyr = {
email = "anmol@aubble.com";
github = "nhooyr";
+ githubId = 10180857;
name = "Anmol Sethi";
};
nickhu = {
email = "me@nickhu.co.uk";
github = "nickhu";
+ githubId = 450276;
name = "Nick Hu";
};
nicknovitski = {
email = "nixpkgs@nicknovitski.com";
github = "nicknovitski";
+ githubId = 151337;
name = "Nick Novitski";
};
nico202 = {
email = "anothersms@gmail.com";
github = "nico202";
+ githubId = 8214542;
name = "Nicolò Balzarotti";
};
NikolaMandic = {
email = "nikola@mandic.email";
github = "NikolaMandic";
+ githubId = 4368690;
name = "Ratko Mladic";
};
ninjatrappeur = {
email = "felix@alternativebit.fr";
github = "ninjatrappeur";
+ githubId = 1219785;
name = "Félix Baylac-Jacqué";
};
nioncode = {
email = "nioncode+github@gmail.com";
github = "nioncode";
+ githubId = 3159451;
name = "Nicolas Schneider";
};
nipav = {
email = "niko.pavlinek@gmail.com";
github = "nipav";
+ githubId = 16385648;
name = "Niko Pavlinek";
};
nixy = {
email = "nixy@nixy.moe";
github = "nixy";
+ githubId = 7588406;
name = "Andrew R. M.";
};
nmattia = {
email = "nicolas@nmattia.com";
github = "nmattia";
+ githubId = 6930756;
name = "Nicolas Mattia";
};
nocent = {
email = "nocent@protonmail.ch";
github = "nocent";
+ githubId = 25505957;
name = "nocent";
};
nocoolnametom = {
email = "nocoolnametom@gmail.com";
github = "nocoolnametom";
+ githubId = 810877;
name = "Tom Doggett";
};
nomeata = {
email = "mail@joachim-breitner.de";
github = "nomeata";
+ githubId = 148037;
name = "Joachim Breitner";
};
noneucat = {
email = "andy@lolc.at";
github = "noneucat";
+ githubId = 40049608;
name = "Andy Chun";
};
notthemessiah = {
email = "brian.cohen.88@gmail.com";
github = "notthemessiah";
+ githubId = 2946283;
name = "Brian Cohen";
};
np = {
email = "np.nix@nicolaspouillard.fr";
github = "np";
+ githubId = 5548;
name = "Nicolas Pouillard";
};
nphilou = {
email = "nphilou@gmail.com";
github = "nphilou";
+ githubId = 9939720;
name = "Philippe Nguyen";
};
+ nrdxp = {
+ email = "tim.deh@pm.me";
+ github = "nrdxp";
+ githubId = 34083928;
+ name = "Tim DeHerrera";
+ };
+ nshalman = {
+ email = "nahamu@gmail.com";
+ github = "nshalman";
+ githubId = 20391;
+ name = "Nahum Shalman";
+ };
nslqqq = {
email = "nslqqq@gmail.com";
name = "Nikita Mikhailov";
@@ -3646,51 +4640,61 @@
nthorne = {
email = "notrupertthorne@gmail.com";
github = "nthorne";
+ githubId = 1839979;
name = "Niklas Thörne";
};
numinit = {
email = "me@numin.it";
github = "numinit";
+ githubId = 369111;
name = "Morgan Jones";
};
nyanloutre = {
email = "paul@nyanlout.re";
github = "nyanloutre";
+ githubId = 7677321;
name = "Paul Trehiou";
};
nyarly = {
email = "nyarly@gmail.com";
github = "nyarly";
+ githubId = 127548;
name = "Judson Lester";
};
nzhang-zh = {
email = "n.zhang.hp.au@gmail.com";
github = "nzhang-zh";
+ githubId = 30825096;
name = "Ning Zhang";
};
obadz = {
email = "obadz-nixos@obadz.com";
github = "obadz";
+ githubId = 3359345;
name = "obadz";
};
ocharles = {
email = "ollie@ocharles.org.uk";
github = "ocharles";
+ githubId = 20878;
name = "Oliver Charles";
};
odi = {
email = "oliver.dunkl@gmail.com";
github = "odi";
+ githubId = 158758;
name = "Oliver Dunkl";
};
offline = {
email = "jaka@x-truder.net";
github = "offlinehacker";
+ githubId = 585547;
name = "Jaka Hudoklin";
};
oida = {
email = "oida@posteo.de";
github = "oida";
+ githubId = 7249506;
name = "oida";
};
okasu = {
@@ -3700,11 +4704,13 @@
olcai = {
email = "dev@timan.info";
github = "olcai";
+ githubId = 20923;
name = "Erik Timan";
};
olejorgenb = {
email = "olejorgenb@yahoo.no";
github = "olejorgenb";
+ githubId = 72201;
name = "Ole Jørgen Brønner";
};
olynch = {
@@ -3715,16 +4721,19 @@
omnipotententity = {
email = "omnipotententity@gmail.com";
github = "omnipotententity";
+ githubId = 1538622;
name = "Michael Reilly";
};
OPNA2608 = {
email = "christoph.neidahl@gmail.com";
github = "OPNA2608";
+ githubId = 23431373;
name = "Christoph Neidahl";
};
orbekk = {
email = "kjetil.orbekk@gmail.com";
github = "orbekk";
+ githubId = 19862;
name = "KJ Ørbekk";
};
orbitz = {
@@ -3735,21 +4744,25 @@
orivej = {
email = "orivej@gmx.fr";
github = "orivej";
+ githubId = 101514;
name = "Orivej Desh";
};
osener = {
email = "ozan@ozansener.com";
github = "osener";
+ githubId = 111265;
name = "Ozan Sener";
};
otwieracz = {
email = "slawek@otwiera.cz";
github = "otwieracz";
+ githubId = 108072;
name = "Slawomir Gonet";
};
oxij = {
email = "oxij@oxij.org";
github = "oxij";
+ githubId = 391919;
name = "Jan Malakhovski";
keys = [{
longkeyid = "rsa2048/0x0E6CA66E5C557AA8";
@@ -3759,66 +4772,85 @@
oyren = {
email = "m.scheuren@oyra.eu";
github = "oyren";
+ githubId = 15930073;
name = "Moritz Scheuren";
};
pacien = {
email = "b4gx3q.nixpkgs@pacien.net";
github = "pacien";
+ githubId = 1449319;
name = "Pacien Tran-Girard";
};
paddygord = {
email = "pgpatrickgordon@gmail.com";
github = "paddygord";
+ githubId = 10776658;
name = "Patrick Gordon";
};
paholg = {
email = "paho@paholg.com";
github = "paholg";
+ githubId = 4908217;
name = "Paho Lurie-Gregg";
};
pakhfn = {
email = "pakhfn@gmail.com";
github = "pakhfn";
+ githubId = 11016164;
name = "Fedor Pakhomov";
};
+ pamplemousse = {
+ email = "xav.maso@gmail.com";
+ github = "Pamplemousse";
+ githubId = 2647236;
+ name = "Xavier Maso";
+ };
panaeon = {
email = "vitalii.voloshyn@gmail.com";
github = "panaeon";
+ githubId = 686076;
name = "Vitalii Voloshyn";
};
pandaman = {
email = "kointosudesuyo@infoseek.jp";
github = "pandaman64";
+ githubId = 1788628;
name = "pandaman";
};
paperdigits = {
email = "mica@silentumbrella.com";
github = "paperdigits";
+ githubId = 71795;
name = "Mica Semrick";
};
paraseba = {
email = "paraseba@gmail.com";
github = "paraseba";
+ githubId = 20792;
name = "Sebastian Galkin";
};
pashev = {
email = "pashev.igor@gmail.com";
github = "ip1981";
+ githubId = 131844;
name = "Igor Pashev";
};
patternspandemic = {
email = "patternspandemic@live.com";
github = "patternspandemic";
+ githubId = 15645854;
name = "Brad Christensen";
};
pawelpacana = {
email = "pawel.pacana@gmail.com";
github = "pawelpacana";
+ githubId = 116740;
name = "Paweł Pacana";
};
pbogdan = {
email = "ppbogdan@gmail.com";
github = "pbogdan";
+ githubId = 157610;
name = "Piotr Bogdan";
};
pcarrier = {
@@ -3829,76 +4861,97 @@
periklis = {
email = "theopompos@gmail.com";
github = "periklis";
+ githubId = 152312;
name = "Periklis Tsirakidis";
};
pesterhazy = {
email = "pesterhazy@gmail.com";
github = "pesterhazy";
+ githubId = 106328;
name = "Paulus Esterhazy";
};
petabyteboy = {
email = "me@pbb.lc";
github = "petabyteboy";
+ githubId = 3250809;
name = "Milan Pässler";
};
peterhoeg = {
email = "peter@hoeg.com";
github = "peterhoeg";
+ githubId = 722550;
name = "Peter Hoeg";
};
peterromfeldhk = {
email = "peter.romfeld.hk@gmail.com";
github = "peterromfeldhk";
+ githubId = 5515707;
name = "Peter Romfeld";
};
peti = {
email = "simons@cryp.to";
github = "peti";
+ githubId = 28323;
name = "Peter Simons";
};
philandstuff = {
email = "philip.g.potter@gmail.com";
github = "philandstuff";
+ githubId = 581269;
name = "Philip Potter";
};
phile314 = {
email = "nix@314.ch";
github = "phile314";
+ githubId = 1640697;
name = "Philipp Hausmann";
};
Phlogistique = {
email = "noe.rubinstein@gmail.com";
github = "Phlogistique";
+ githubId = 421510;
name = "Noé Rubinstein";
};
phreedom = {
email = "phreedom@yandex.ru";
github = "phreedom";
+ githubId = 62577;
name = "Evgeny Egorochkin";
};
phryneas = {
email = "mail@lenzw.de";
github = "phryneas";
+ githubId = 4282439;
name = "Lenz Weber";
};
phunehehe = {
email = "phunehehe@gmail.com";
github = "phunehehe";
+ githubId = 627831;
name = "Hoang Xuan Phu";
};
pierrechevalier83 = {
email = "pierrechevalier83@gmail.com";
github = "pierrechevalier83";
+ githubId = 5790907;
name = "Pierre Chevalier";
};
+ pierreis = {
+ email = "pierre@pierre.is";
+ github = "pierreis";
+ githubId = 203973;
+ name = "Pierre Matri";
+ };
pierrer = {
email = "pierrer@pi3r.be";
github = "pierrer";
+ githubId = 93115;
name = "Pierre Radermecker";
};
pierron = {
email = "nixos@nbp.name";
github = "nbp";
+ githubId = 1179566;
name = "Nicolas B. Pierron";
};
piotr = {
@@ -3908,16 +4961,19 @@
pjbarnoy = {
email = "pjbarnoy@gmail.com";
github = "pjbarnoy";
+ githubId = 119460;
name = "Perry Barnoy";
};
pjones = {
email = "pjones@devalot.com";
github = "pjones";
+ githubId = 3737;
name = "Peter Jones";
};
pkmx = {
email = "pkmx.tw@gmail.com";
github = "pkmx";
+ githubId = 610615;
name = "Chih-Mao Chen";
};
plchldr = {
@@ -3928,16 +4984,19 @@
plcplc = {
email = "plcplc@gmail.com";
github = "plcplc";
+ githubId = 358550;
name = "Philip Lykke Carlsen";
};
plumps = {
email = "maks.bronsky@web.de";
github = "plumps";
+ githubId = 13000278;
name = "Maksim Bronsky";
};
pmahoney = {
email = "pat@polycrystal.org";
github = "pmahoney";
+ githubId = 103822;
name = "Patrick Mahoney";
};
pmeunier = {
@@ -3948,21 +5007,25 @@
pmiddend = {
email = "pmidden@secure.mailbox.org";
github = "pmiddend";
+ githubId = 178496;
name = "Philipp Middendorf";
};
pmyjavec = {
email = "pauly@myjavec.com";
github = "pmyjavec";
+ githubId = 315096;
name = "Pauly Myjavec";
};
pnelson = {
email = "me@pnelson.ca";
github = "pnelson";
+ githubId = 579773;
name = "Philip Nelson";
};
pneumaticat = {
email = "kevin@potatofrom.space";
github = "pneumaticat";
+ githubId = 11365056;
name = "Kevin Liu";
};
polyrod = {
@@ -3973,21 +5036,36 @@
pombeirp = {
email = "nix@endgr.33mail.com";
github = "PombeirP";
+ githubId = 138074;
name = "Pedro Pombeiro";
};
pradeepchhetri = {
email = "pradeep.chhetri89@gmail.com";
github = "pradeepchhetri";
+ githubId = 2232667;
name = "Pradeep Chhetri";
};
+ pradyuman = {
+ email = "me@pradyuman.co";
+ github = "pradyuman";
+ githubId = 9904569;
+ name = "Pradyuman Vig";
+ keys = [
+ { longkeyid = "rsa4096/4F74D5361C4CA31E";
+ fingerprint = "240B 57DE 4271 2480 7CE3 EAC8 4F74 D536 1C4C A31E";
+ }
+ ];
+ };
prikhi = {
email = "pavan.rikhi@gmail.com";
github = "prikhi";
+ githubId = 1304102;
name = "Pavan Rikhi";
};
primeos = {
email = "dev.primeos@gmail.com";
github = "primeos";
+ githubId = 7537109;
name = "Michael Weiss";
keys = [
{ longkeyid = "ed25519/0x130826A6C2A389FD"; # Git only
@@ -4001,26 +5079,41 @@
Profpatsch = {
email = "mail@profpatsch.de";
github = "Profpatsch";
+ githubId = 3153638;
name = "Profpatsch";
};
proglodyte = {
email = "proglodyte23@gmail.com";
github = "proglodyte";
+ githubId = 18549627;
name = "Proglodyte";
};
+ protoben = {
+ email = "protob3n@gmail.com";
+ github = "protoben";
+ githubId = 4633847;
+ name = "Ben Hamlin";
+ };
prusnak = {
- email = "stick@gk2.sk";
+ email = "pavol@rusnak.io";
github = "prusnak";
+ githubId = 42201;
name = "Pavol Rusnak";
+ keys = [{
+ longkeyid = "rsa4096/0x91F3B339B9A02A3D";
+ fingerprint = "86E6 792F C27B FD47 8860 C110 91F3 B339 B9A0 2A3D";
+ }];
};
pshendry = {
email = "paul@pshendry.com";
github = "pshendry";
+ githubId = 1829032;
name = "Paul Hendry";
};
psibi = {
email = "sibi@psibi.in";
github = "psibi";
+ githubId = 737477;
name = "Sibi";
};
pstn = {
@@ -4030,50 +5123,71 @@
pSub = {
email = "mail@pascal-wittmann.de";
github = "pSub";
+ githubId = 83842;
name = "Pascal Wittmann";
};
psyanticy = {
email = "iuns@outlook.fr";
github = "PsyanticY";
+ githubId = 20524473;
name = "Psyanticy";
};
ptival = {
email = "valentin.robert.42@gmail.com";
github = "Ptival";
+ githubId = 478606;
name = "Valentin Robert";
};
ptrhlm = {
email = "ptrhlm0@gmail.com";
github = "ptrhlm";
+ githubId = 9568176;
name = "Piotr Halama";
};
+ puckipedia = {
+ email = "puck@puckipedia.com";
+ github = "puckipedia";
+ githubId = 488734;
+ name = "Puck Meerburg";
+ };
puffnfresh = {
email = "brian@brianmckenna.org";
github = "puffnfresh";
+ githubId = 37715;
name = "Brian McKenna";
};
pxc = {
email = "patrick.callahan@latitudeengineering.com";
name = "Patrick Callahan";
};
+ pyrolagus = {
+ email = "pyrolagus@gmail.com";
+ github = "PyroLagus";
+ githubId = 4579165;
+ name = "Danny Bautista";
+ };
q3k = {
email = "q3k@q3k.org";
github = "q3k";
+ githubId = 315234;
name = "Serge Bazanski";
};
qknight = {
email = "js@lastlog.de";
github = "qknight";
+ githubId = 137406;
name = "Joachim Schiele";
};
qoelet = {
email = "kenny@machinesung.com";
github = "qoelet";
+ githubId = 115877;
name = "Kenny Shen";
};
qyliss = {
email = "hi@alyssa.is";
github = "alyssais";
+ githubId = 2768870;
name = "Alyssa Ross";
keys = [{
longkeyid = "rsa4096/736CCDF9EF51BD97";
@@ -4088,36 +5202,43 @@
raquelgb = {
email = "raquel.garcia.bautista@gmail.com";
github = "raquelgb";
+ githubId = 1246959;
name = "Raquel García";
};
ragge = {
email = "r.dahlen@gmail.com";
github = "ragnard";
+ githubId = 882;
name = "Ragnar Dahlen";
};
ralith = {
email = "ben.e.saunders@gmail.com";
github = "ralith";
+ githubId = 104558;
name = "Benjamin Saunders";
};
ramkromberg = {
email = "ramkromberg@mail.com";
github = "ramkromberg";
+ githubId = 14829269;
name = "Ram Kromberg";
};
rardiol = {
email = "ricardo.ardissone@gmail.com";
github = "rardiol";
+ githubId = 11351304;
name = "Ricardo Ardissone";
};
rasendubi = {
email = "rasen.dubi@gmail.com";
github = "rasendubi";
+ githubId = 1366419;
name = "Alexey Shmalko";
};
raskin = {
email = "7c6f434c@mail.ru";
github = "7c6f434c";
+ githubId = 1891350;
name = "Michael Raskin";
};
ravloony = {
@@ -4127,101 +5248,121 @@
rawkode = {
email = "david.andrew.mckay@gmail.com";
github = "rawkode";
+ githubId = 145816;
name = "David McKay";
};
razvan = {
email = "razvan.panda@gmail.com";
github = "razvan-panda";
+ githubId = 1758708;
name = "Răzvan Flavius Panda";
};
rbasso = {
email = "rbasso@sharpgeeks.net";
github = "rbasso";
+ githubId = 16487165;
name = "Rafael Basso";
};
rbrewer = {
email = "rwb123@gmail.com";
github = "rbrewer123";
+ githubId = 743058;
name = "Rob Brewer";
};
rdnetto = {
email = "rdnetto@gmail.com";
github = "rdnetto";
+ githubId = 1973389;
name = "Reuben D'Netto";
};
redbaron = {
email = "ivanov.maxim@gmail.com";
github = "redbaron";
+ githubId = 16624;
name = "Maxim Ivanov";
};
redfish64 = {
email = "engler@gmail.com";
github = "redfish64";
+ githubId = 1922770;
name = "Tim Engler";
};
redvers = {
email = "red@infect.me";
github = "redvers";
+ githubId = 816465;
name = "Redvers Davies";
};
refnil = {
email = "broemartino@gmail.com";
github = "refnil";
+ githubId = 1142322;
name = "Martin Lavoie";
};
regnat = {
email = "regnat@regnat.ovh";
github = "regnat";
+ githubId = 7226587;
name = "Théophane Hufschmitt";
};
relrod = {
email = "ricky@elrod.me";
github = "relrod";
+ githubId = 43930;
name = "Ricky Elrod";
};
rembo10 = {
email = "rembo10@users.noreply.github.com";
github = "rembo10";
+ githubId = 801525;
name = "rembo10";
};
renatoGarcia = {
email = "fgarcia.renato@gmail.com";
github = "renatoGarcia";
+ githubId = 220211;
name = "Renato Garcia";
};
rencire = {
email = "546296+rencire@users.noreply.github.com";
github = "rencire";
+ githubId = 546296;
name = "Eric Ren";
};
renzo = {
email = "renzocarbonara@gmail.com";
github = "k0001";
+ githubId = 3302;
name = "Renzo Carbonara";
};
retrry = {
email = "retrry@gmail.com";
github = "retrry";
+ githubId = 500703;
name = "Tadas Barzdžius";
};
rexim = {
email = "reximkut@gmail.com";
github = "rexim";
+ githubId = 165283;
name = "Alexey Kutepov";
};
rht = {
email = "rhtbot@protonmail.com";
github = "rht";
+ githubId = 395821;
name = "rht";
};
richardipsum = {
email = "richardipsum@fastmail.co.uk";
github = "richardipsum";
+ githubId = 10631029;
name = "Richard Ipsum";
};
rick68 = {
email = "rick68@gmail.com";
github = "rick68";
+ githubId = 42619;
name = "Wei-Ming Yang";
};
rickynils = {
@@ -4232,32 +5373,44 @@
ris = {
email = "code@humanleg.org.uk";
github = "risicle";
+ githubId = 807447;
name = "Robert Scott";
};
rittelle = {
email = "rittelle@posteo.de";
github = "rittelle";
+ githubId = 33598633;
name = "Lennart Rittel";
};
rixed = {
email = "rixed-github@happyleptic.org";
github = "rixed";
+ githubId = 449990;
name = "Cedric Cellier";
};
rkoe = {
email = "rk@simple-is-better.org";
github = "rkoe";
+ githubId = 2507744;
name = "Roland Koebler";
};
rlupton20 = {
email = "richard.lupton@gmail.com";
github = "rlupton20";
+ githubId = 13752145;
name = "Richard Lupton";
};
rnhmjoj = {
- email = "micheleguerinirocco@me.com";
+ email = "rnhmjoj@inventati.org";
github = "rnhmjoj";
+ githubId = 2817565;
name = "Michele Guerini Rocco";
+ keys =
+ [
+ { longkeyid = "ed25519/0xBFBAF4C975F76450";
+ fingerprint = "92B2 904F D293 C94D C4C9 3E6B BFBA F4C9 75F7 6450";
+ }
+ ];
};
rob = {
email = "rob.vermaas@gmail.com";
@@ -4272,91 +5425,115 @@
robbinch = {
email = "robbinch33@gmail.com";
github = "robbinch";
+ githubId = 12312980;
name = "Robbin C.";
};
roberth = {
email = "nixpkgs@roberthensing.nl";
github = "roberth";
+ githubId = 496447;
name = "Robert Hensing";
};
robertodr = {
email = "roberto.diremigio@gmail.com";
github = "robertodr";
+ githubId = 3708689;
name = "Roberto Di Remigio";
};
robgssp = {
email = "robgssp@gmail.com";
github = "robgssp";
+ githubId = 521306;
name = "Rob Glossop";
};
roblabla = {
email = "robinlambertz+dev@gmail.com";
github = "roblabla";
+ githubId = 1069318;
name = "Robin Lambertz";
};
roconnor = {
email = "roconnor@theorem.ca";
github = "roconnor";
+ githubId = 852967;
name = "Russell O'Connor";
};
+ roelvandijk = {
+ email = "roel@lambdacube.nl";
+ github = "roelvandijk";
+ githubId = 710906;
+ name = "Roel van Dijk";
+ };
romildo = {
email = "malaquias@gmail.com";
github = "romildo";
+ githubId = 1217934;
name = "José Romildo Malaquias";
};
rongcuid = {
email = "rongcuid@outlook.com";
github = "rongcuid";
+ githubId = 1312525;
name = "Rongcui Dong";
};
roosemberth = {
email = "roosembert.palacios+nixpkgs@gmail.com";
github = "roosemberth";
+ githubId = 3621083;
name = "Roosembert (Roosemberth) Palacios";
};
royneary = {
email = "christian@ulrich.earth";
github = "royneary";
+ githubId = 1942810;
name = "Christian Ulrich";
};
rprospero = {
email = "rprospero+nix@gmail.com";
github = "rprospero";
+ githubId = 1728853;
name = "Adam Washington";
};
rps = {
email = "robbpseaton@gmail.com";
github = "robertseaton";
+ githubId = 221121;
name = "Robert P. Seaton";
};
rszibele = {
email = "richard@szibele.com";
github = "rszibele";
+ githubId = 1387224;
name = "Richard Szibele";
};
rtreffer = {
email = "treffer+nixos@measite.de";
github = "rtreffer";
+ githubId = 61306;
name = "Rene Treffer";
};
rushmorem = {
email = "rushmore@webenchanter.com";
github = "rushmorem";
+ githubId = 4958190;
name = "Rushmore Mushambi";
};
ruuda = {
email = "dev+nix@veniogames.com";
github = "ruuda";
+ githubId = 506953;
name = "Ruud van Asseldonk";
};
rvl = {
email = "dev+nix@rodney.id.au";
github = "rvl";
+ githubId = 1019641;
name = "Rodney Lorrimar";
};
rvlander = {
email = "rvlander@gaetanandre.eu";
github = "rvlander";
+ githubId = 5236428;
name = "Gaëtan André";
};
rvolosatovs = {
@@ -4367,6 +5544,7 @@
ryanartecona = {
email = "ryanartecona@gmail.com";
github = "ryanartecona";
+ githubId = 889991;
name = "Ryan Artecona";
};
ryansydnor = {
@@ -4377,56 +5555,65 @@
ryantm = {
email = "ryan@ryantm.com";
github = "ryantm";
+ githubId = 4804;
name = "Ryan Mulligan";
};
ryantrinkle = {
email = "ryan.trinkle@gmail.com";
github = "ryantrinkle";
+ githubId = 1156448;
name = "Ryan Trinkle";
};
rybern = {
email = "ryan.bernstein@columbia.edu";
github = "rybern";
+ githubId = 4982341;
name = "Ryan Bernstein";
};
rycee = {
email = "robert@rycee.net";
github = "rycee";
+ githubId = 798147;
name = "Robert Helgesson";
+ keys = [{
+ longkeyid = "rsa4096/0x3573356C25C424D4";
+ fingerprint = "36CA CF52 D098 CC0E 78FB 0CB1 3573 356C 25C4 24D4";
+ }];
};
ryneeverett = {
email = "ryneeverett@gmail.com";
github = "ryneeverett";
+ githubId = 3280280;
name = "Ryne Everett";
};
rzetterberg = {
email = "richard.zetterberg@gmail.com";
github = "rzetterberg";
+ githubId = 766350;
name = "Richard Zetterberg";
};
- s1lvester = {
- email = "s1lvester@bockhacker.me";
- github = "s1lvester";
- name = "Markus Silvester";
- };
samdroid-apps = {
email = "sam@sam.today";
github = "samdroid-apps";
+ githubId = 6022042;
name = "Sam Parkinson";
};
samrose = {
email = "samuel.rose@gmail.com";
github = "samrose";
+ githubId = 115821;
name = "Sam Rose";
};
samueldr = {
email = "samuel@dionne-riel.com";
github = "samueldr";
+ githubId = 132835;
name = "Samuel Dionne-Riel";
};
samuelrivas = {
email = "samuelrivas@gmail.com";
github = "samuelrivas";
+ githubId = 107703;
name = "Samuel Rivas";
};
sander = {
@@ -4437,26 +5624,31 @@
sargon = {
email = "danielehlers@mindeye.net";
github = "sargon";
+ githubId = 178904;
name = "Daniel Ehlers";
};
saschagrunert = {
email = "mail@saschagrunert.de";
github = "saschagrunert";
+ githubId = 695473;
name = "Sascha Grunert";
};
sauyon = {
email = "s@uyon.co";
github = "sauyon";
+ githubId = 2347889;
name = "Sauyon Lee";
};
sb0 = {
email = "sb@m-labs.hk";
github = "sbourdeauducq";
+ githubId = 720864;
name = "Sébastien Bourdeauducq";
};
sboosali = {
email = "SamBoosalis@gmail.com";
github = "sboosali";
+ githubId = 2320433;
name = "Sam Boosalis";
};
scalavision = {
@@ -4467,6 +5659,7 @@
schmitthenner = {
email = "development@schmitthenner.eu";
github = "fkz";
+ githubId = 354463;
name = "Fabian Schmitthenner";
};
schmittlauch = {
@@ -4476,6 +5669,7 @@
schneefux = {
email = "schneefux+nixos_pkg@schneefux.xyz";
github = "schneefux";
+ githubId = 15379000;
name = "schneefux";
};
schristo = {
@@ -4485,81 +5679,108 @@
scode = {
email = "peter.schuller@infidyne.com";
github = "scode";
+ githubId = 59476;
name = "Peter Schuller";
};
scolobb = {
email = "sivanov@colimite.fr";
github = "scolobb";
+ githubId = 11320;
name = "Sergiu Ivanov";
};
screendriver = {
email = "nix@echooff.de";
github = "screendriver";
+ githubId = 149248;
name = "Christian Rackerseder";
};
Scriptkiddi = {
email = "nixos@scriptkiddi.de";
github = "scriptkiddi";
+ githubId = 3598650;
name = "Fritz Otlinghaus";
};
+ scubed2 = {
+ email = "scubed2@gmail.com";
+ github = "scubed2";
+ name = "Sterling Stein";
+ };
sdll = {
email = "sasha.delly@gmail.com";
github = "sdll";
+ githubId = 17913919;
name = "Sasha Illarionov";
};
SeanZicari = {
email = "sean.zicari@gmail.com";
github = "SeanZicari";
+ githubId = 2343853;
name = "Sean Zicari";
};
sellout = {
email = "greg@technomadic.org";
github = "sellout";
+ githubId = 33031;
name = "Greg Pfeil";
};
sengaya = {
email = "tlo@sengaya.de";
github = "sengaya";
+ githubId = 1286668;
name = "Thilo Uttendorfer";
};
sephalon = {
email = "me@sephalon.net";
github = "sephalon";
+ githubId = 893474;
name = "Stefan Wiehler";
};
sepi = {
email = "raffael@mancini.lu";
github = "sepi";
+ githubId = 529649;
name = "Raffael Mancini";
};
seppeljordan = {
email = "sebastian.jordan.mail@googlemail.com";
github = "seppeljordan";
+ githubId = 4805746;
name = "Sebastian Jordan";
};
seqizz = {
email = "seqizz@gmail.com";
github = "seqizz";
+ githubId = 307899;
name = "Gurkan Gur";
};
sfrijters = {
email = "sfrijters@gmail.com";
github = "sfrijters";
+ githubId = 918365;
name = "Stefan Frijters";
};
+ sgo = {
+ email = "stig@stig.io";
+ github = "stigtsp";
+ githubId = 75371;
+ name = "Stig Palmquist";
+ };
sgraf = {
email = "sgraf1337@gmail.com";
github = "sgraf812";
+ githubId = 1151264;
name = "Sebastian Graf";
};
shanemikel = {
email = "shanemikel1@gmail.com";
github = "shanemikel";
+ githubId = 6720672;
name = "Shane Pearlman";
};
shawndellysse = {
email = "sdellysse@gmail.com";
github = "shawndellysse";
+ githubId = 293035;
name = "Shawn Dellysse";
};
shazow = {
@@ -4570,16 +5791,19 @@
sheenobu = {
email = "sheena.artrip@gmail.com";
github = "sheenobu";
+ githubId = 1443459;
name = "Sheena Artrip";
};
sheganinans = {
email = "sheganinans@gmail.com";
github = "sheganinans";
+ githubId = 2146203;
name = "Aistis Raulinaitis";
};
shell = {
email = "cam.turn@gmail.com";
github = "VShell";
+ githubId = 251028;
name = "Shell Turner";
};
shlevy = {
@@ -4595,46 +5819,65 @@
shou = {
email = "x+g@shou.io";
github = "Shou";
+ githubId = 819413;
name = "Benedict Aas";
};
siddharthist = {
email = "langston.barrett@gmail.com";
- github = "siddharthist";
+ github = "langston-barrett";
+ githubId = 4294323;
name = "Langston Barrett";
};
siers = {
email = "veinbahs+nixpkgs@gmail.com";
github = "siers";
+ githubId = 235147;
name = "Raitis Veinbahs";
};
sifmelcara = {
email = "ming@culpring.com";
github = "sifmelcara";
+ githubId = 10496191;
name = "Ming Chuan";
};
sigma = {
email = "yann.hodique@gmail.com";
github = "sigma";
+ githubId = 16090;
name = "Yann Hodique";
};
+ sikmir = {
+ email = "sikmir@gmail.com";
+ github = "sikmir";
+ githubId = 688044;
+ name = "Nikolay Korotkiy";
+ keys = [{
+ longkeyid = "rsa2048/0xD1DE6D7F693663A5";
+ fingerprint = "ADF4 C13D 0E36 1240 BD01 9B51 D1DE 6D7F 6936 63A5";
+ }];
+ };
simonvandel = {
email = "simon.vandel@gmail.com";
github = "simonvandel";
+ githubId = 2770647;
name = "Simon Vandel Sillesen";
};
sivteck = {
email = "sivaram1992@gmail.com";
github = "sivteck";
+ githubId = 8017899;
name = "Sivaram Balakrishnan";
};
sjagoe = {
email = "simon@simonjagoe.com";
github = "sjagoe";
+ githubId = 80012;
name = "Simon Jagoe";
};
sjau = {
email = "nixos@sjau.ch";
github = "sjau";
+ githubId = 848812;
name = "Stephan Jau";
};
sjmackenzie = {
@@ -4649,6 +5892,7 @@
skeidel = {
email = "svenkeidel@gmail.com";
github = "svenkeidel";
+ githubId = 266500;
name = "Sven Keidel";
};
skrzyp = {
@@ -4658,11 +5902,13 @@
sleexyz = {
email = "freshdried@gmail.com";
github = "sleexyz";
+ githubId = 1505617;
name = "Sean Lee";
};
smakarov = {
email = "setser200018@gmail.com";
github = "setser";
+ githubId = 12733495;
name = "Sergey Makarov";
keys = [{
longkeyid = "rsa2048/6AA23A1193B7064B";
@@ -4672,6 +5918,7 @@
smaret = {
email = "sebastien.maret@icloud.com";
github = "smaret";
+ githubId = 95471;
name = "Sébastien Maret";
keys = [{
longkeyid = "rsa4096/0x86E30E5A0F5FC59C";
@@ -4681,31 +5928,37 @@
smironov = {
email = "grrwlf@gmail.com";
github = "grwlf";
+ githubId = 4477729;
name = "Sergey Mironov";
};
sna = {
email = "abouzahra.9@wright.edu";
github = "s-na";
+ githubId = 20214715;
name = "S. Nordin Abouzahra";
};
snaar = {
email = "snaar@snaar.net";
github = "snaar";
+ githubId = 602439;
name = "Serguei Narojnyi";
};
snyh = {
email = "snyh@snyh.org";
github = "snyh";
+ githubId = 1437166;
name = "Xia Bin";
};
solson = {
email = "scott@solson.me";
github = "solson";
+ githubId = 26806;
name = "Scott Olson";
};
sondr3 = {
email = "nilsen.sondre@gmail.com";
github = "sondr3";
+ githubId = 2280539;
name = "Sondre Nilsen";
keys = [{
longkeyid = "ed25519/0x25676BCBFFAD76B1";
@@ -4715,31 +5968,37 @@
sorki = {
email = "srk@48.io";
github = "sorki";
+ githubId = 115308;
name = "Richard Marko";
};
sorpaas = {
email = "hi@that.world";
github = "sorpaas";
+ githubId = 6277322;
name = "Wei Tang";
};
spacefrogg = {
email = "spacefrogg-nixos@meterriblecrew.net";
github = "spacefrogg";
+ githubId = 167881;
name = "Michael Raitza";
};
spacekookie = {
email = "kookie@spacekookie.de";
github = "spacekookie";
+ githubId = 7669898;
name = "Katharina Fey";
};
spencerjanssen = {
email = "spencerjanssen@gmail.com";
github = "spencerjanssen";
+ githubId = 2600039;
name = "Spencer Janssen";
};
spinus = {
email = "tomasz.czyz@gmail.com";
github = "spinus";
+ githubId = 950799;
name = "Tomasz Czyż";
};
sprock = {
@@ -4750,6 +6009,7 @@
spwhitt = {
email = "sw@swhitt.me";
github = "spwhitt";
+ githubId = 1414088;
name = "Spencer Whitt";
};
srghma = {
@@ -4760,136 +6020,185 @@
srgom = {
email = "srgom@users.noreply.github.com";
github = "srgom";
+ githubId = 8103619;
name = "SRGOM";
};
srhb = {
email = "sbrofeldt@gmail.com";
github = "srhb";
+ githubId = 219362;
name = "Sarah Brofeldt";
};
SShrike = {
email = "severen@shrike.me";
github = "severen";
+ githubId = 4061736;
name = "Severen Redwood";
};
+ steell = {
+ email = "steve@steellworks.com";
+ github = "Steell";
+ githubId = 1699155;
+ name = "Steve Elliott";
+ };
stephenmw = {
email = "stephen@q5comm.com";
github = "stephenmw";
+ githubId = 231788;
name = "Stephen Weinberg";
};
+ sterfield = {
+ email = "sterfield@gmail.com";
+ github = "sterfield";
+ githubId = 5747061;
+ name = "Guillaume Loetscher";
+ };
sternenseemann = {
email = "post@lukasepple.de";
github = "sternenseemann";
+ githubId = 3154475;
name = "Lukas Epple";
};
+ steshaw = {
+ name = "Steven Shaw";
+ email = "steven@steshaw.org";
+ github = "steshaw";
+ githubId = 45735;
+ keys = [{
+ longkeyid = "rsa4096/0x1D9A17DFD23DCB91";
+ fingerprint = "0AFE 77F7 474D 1596 EE55 7A29 1D9A 17DF D23D CB91";
+ }];
+ };
stesie = {
email = "stesie@brokenpipe.de";
github = "stesie";
+ githubId = 113068;
name = "Stefan Siegl";
};
steve-chavez = {
email = "stevechavezast@gmail.com";
github = "steve-chavez";
+ githubId = 1829294;
name = "Steve Chávez";
};
steveej = {
email = "mail@stefanjunker.de";
github = "steveej";
+ githubId = 1181362;
name = "Stefan Junker";
};
StijnDW = {
email = "stekke@airmail.cc";
github = "StijnDW";
+ githubId = 1751956;
name = "Stijn DW";
};
StillerHarpo = {
email = "florianengel39@gmail.com";
github = "StillerHarpo";
+ githubId = 25526706;
name = "Florian Engel";
};
stites = {
email = "sam@stites.io";
github = "stites";
+ githubId = 1694705;
name = "Sam Stites";
};
stumoss = {
email = "samoss@gmail.com";
github = "stumoss";
+ githubId = 638763;
name = "Stuart Moss";
};
suhr = {
email = "suhr@i2pmail.org";
github = "suhr";
+ githubId = 65870;
name = "Сухарик";
};
SuprDewd = {
email = "suprdewd@gmail.com";
github = "SuprDewd";
+ githubId = 187109;
name = "Bjarki Ágúst Guðmundsson";
};
suvash = {
email = "suvash+nixpkgs@gmail.com";
github = "suvash";
+ githubId = 144952;
name = "Suvash Thapaliya";
};
sveitser = {
email = "sveitser@gmail.com";
github = "sveitser";
+ githubId = 1040871;
name = "Mathis Antony";
};
svsdep = {
email = "svsdep@gmail.com";
github = "svsdep";
+ githubId = 36695359;
name = "Vasyl Solovei";
};
swarren83 = {
email = "shawn.w.warren@gmail.com";
github = "swarren83";
+ githubId = 4572854;
name = "Shawn Warren";
};
swdunlop = {
email = "swdunlop@gmail.com";
github = "swdunlop";
+ githubId = 120188;
name = "Scott W. Dunlop";
};
swflint = {
email = "swflint@flintfam.org";
github = "swflint";
+ githubId = 1771109;
name = "Samuel W. Flint";
};
swistak35 = {
email = "me@swistak35.com";
github = "swistak35";
+ githubId = 332289;
name = "Rafał Łasocha";
};
symphorien = {
email = "symphorien_nixpkgs@xlumurb.eu";
github = "symphorien";
+ githubId = 12595971;
name = "Guillaume Girol";
};
synthetica = {
email = "nix@hilhorst.be";
github = "Synthetica9";
+ githubId = 7075751;
name = "Patrick Hilhorst";
};
szczyp = {
email = "qb@szczyp.com";
github = "szczyp";
+ githubId = 203195;
name = "Szczyp";
};
sztupi = {
email = "attila.sztupak@gmail.com";
github = "sztupi";
+ githubId = 143103;
name = "Attila Sztupak";
};
t184256 = {
email = "monk@unboiled.info";
github = "t184256";
+ githubId = 5991987;
name = "Alexander Sosedkin";
};
tadeokondrak = {
email = "me@tadeo.ca";
github = "tadeokondrak";
+ githubId = 4098453;
name = "Tadeo Kondrak";
keys = [{
longkeyid = "ed25519/0xFBE607FCC49516D3";
@@ -4899,11 +6208,13 @@
tadfisher = {
email = "tadfisher@gmail.com";
github = "tadfisher";
+ githubId = 129148;
name = "Tad Fisher";
};
taeer = {
email = "taeer@necsi.edu";
github = "Radvendii";
+ githubId = 1239929;
name = "Taeer Bar-Yam";
};
taha = {
@@ -4914,76 +6225,91 @@
tailhook = {
email = "paul@colomiets.name";
github = "tailhook";
+ githubId = 321799;
name = "Paul Colomiets";
};
taketwo = {
email = "alexandrov88@gmail.com";
github = "taketwo";
+ githubId = 1241736;
name = "Sergey Alexandrov";
};
takikawa = {
email = "asumu@igalia.com";
github = "takikawa";
+ githubId = 64192;
name = "Asumu Takikawa";
};
taktoa = {
email = "taktoa@gmail.com";
github = "taktoa";
+ githubId = 553443;
name = "Remy Goldschmidt";
};
taku0 = {
email = "mxxouy6x3m_github@tatapa.org";
github = "taku0";
+ githubId = 870673;
name = "Takuo Yonezawa";
};
talyz = {
email = "kim.lindberger@gmail.com";
github = "talyz";
+ githubId = 63433;
name = "Kim Lindberger";
};
taneb = {
email = "nvd1234@gmail.com";
github = "Taneb";
+ githubId = 1901799;
name = "Nathan van Doorn";
};
tari = {
email = "peter@taricorp.net";
github = "tari";
+ githubId = 506181;
name = "Peter Marheine";
};
tavyc = {
email = "octavian.cerna@gmail.com";
github = "tavyc";
+ githubId = 3650609;
name = "Octavian Cerna";
};
tazjin = {
email = "mail@tazj.in";
github = "tazjin";
+ githubId = 1552853;
name = "Vincent Ambo";
};
tbenst = {
email = "nix@tylerbenster.com";
github = "tbenst";
+ githubId = 863327;
name = "Tyler Benster";
};
teh = {
email = "tehunger@gmail.com";
github = "teh";
+ githubId = 139251;
name = "Tom Hunger";
};
telotortium = {
email = "rirelan@gmail.com";
github = "telotortium";
+ githubId = 1755789;
name = "Robert Irelan";
};
teozkr = {
email = "teo@nullable.se";
github = "teozkr";
+ githubId = 649832;
name = "Teo Klestrup Röijezon";
};
terlar = {
email = "terlar@gmail.com";
github = "terlar";
+ githubId = 280235;
name = "Terje Larsen";
};
tesq0 = {
@@ -4999,26 +6325,31 @@
tex = {
email = "milan.svoboda@centrum.cz";
github = "tex";
+ githubId = 27386;
name = "Milan Svoboda";
};
tg-x = {
email = "*@tg-x.net";
github = "tg-x";
+ githubId = 378734;
name = "TG ⊗ Θ";
};
thall = {
email = "niclas.thall@gmail.com";
github = "thall";
+ githubId = 102452;
name = "Niclas Thall";
};
thammers = {
email = "jawr@gmx.de";
github = "tobias-hammerschmidt";
+ githubId = 2543259;
name = "Tobias Hammerschmidt";
};
thanegill = {
email = "me@thanegill.com";
github = "thanegill";
+ githubId = 1141680;
name = "Thane Gill";
};
the-kenny = {
@@ -5029,11 +6360,19 @@
thedavidmeister = {
email = "thedavidmeister@gmail.com";
github = "thedavidmeister";
+ githubId = 629710;
name = "David Meister";
};
+ thefloweringash = {
+ email = "lorne@cons.org.nz";
+ github = "thefloweringash";
+ githubId = 42933;
+ name = "Andrew Childs";
+ };
thesola10 = {
email = "thesola10@bobile.fr";
github = "thesola10";
+ githubId = 7287268;
keys = [{
longkeyid = "rsa4096/0x89245619BEBB95BA";
fingerprint = "1D05 13A6 1AC4 0D8D C6D6 5F2C 8924 5619 BEBB 95BA";
@@ -5043,31 +6382,37 @@
theuni = {
email = "ct@flyingcircus.io";
github = "ctheune";
+ githubId = 1220572;
name = "Christian Theune";
};
thiagokokada = {
email = "thiagokokada@gmail.com";
github = "thiagokokada";
+ githubId = 844343;
name = "Thiago K. Okada";
};
ThomasMader = {
email = "thomas.mader@gmail.com";
github = "ThomasMader";
+ githubId = 678511;
name = "Thomas Mader";
};
thoughtpolice = {
email = "aseipp@pobox.com";
github = "thoughtpolice";
+ githubId = 3416;
name = "Austin Seipp";
};
thpham = {
email = "thomas.pham@ithings.ch";
github = "thpham";
+ githubId = 224674;
name = "Thomas Pham";
};
tilpner = {
email = "till@hoeppner.ws";
github = "tilpner";
+ githubId = 4322055;
name = "Till Höppner";
};
timbertson = {
@@ -5078,31 +6423,37 @@
timokau = {
email = "timokau@zoho.com";
github = "timokau";
+ githubId = 3799330;
name = "Timo Kaufmann";
};
timor = {
email = "timor.dd@googlemail.com";
github = "timor";
+ githubId = 174156;
name = "timor";
};
timput = {
email = "tim@timput.com";
github = "TimPut";
+ githubId = 2845239;
name = "Tim Put";
};
tiramiseb = {
email = "sebastien@maccagnoni.eu";
github = "tiramiseb";
+ githubId = 1292007;
name = "Sébastien Maccagnoni";
};
titanous = {
email = "jonathan@titanous.com";
github = "titanous";
+ githubId = 13026;
name = "Jonathan Rudenberg";
};
tmplt = {
email = "tmplt@dragons.rocks";
github = "tmplt";
+ githubId = 6118602;
name = "Viktor";
};
tnias = {
@@ -5112,62 +6463,80 @@
};
tobim = {
email = "nix@tobim.fastmail.fm";
- github = "tobimpub";
+ github = "tobim";
+ githubId = 858790;
name = "Tobias Mayer";
};
+ tobiasBora = {
+ email = "tobias.bora.list@gmail.com";
+ github = "tobiasBora";
+ githubId = 2164118;
+ name = "Tobias Bora";
+ };
tohl = {
email = "tom@logand.com";
github = "tohl";
+ githubId = 12159013;
name = "Tomas Hlavaty";
};
tokudan = {
email = "git@danielfrank.net";
github = "tokudan";
+ githubId = 692610;
name = "Daniel Frank";
};
tomahna = {
email = "kevin.rauscher@tomahna.fr";
github = "Tomahna";
+ githubId = 8577941;
name = "Kevin Rauscher";
};
tomberek = {
email = "tomberek@gmail.com";
github = "tomberek";
+ githubId = 178444;
name = "Thomas Bereknyei";
};
tomsmeets = {
email = "tom.tsmeets@gmail.com";
github = "tomsmeets";
+ githubId = 6740669;
name = "Tom Smeets";
};
toonn = {
email = "nnoot@toonn.io";
github = "toonn";
+ githubId = 1486805;
name = "Toon Nolten";
};
travisbhartwell = {
email = "nafai@travishartwell.net";
github = "travisbhartwell";
+ githubId = 10110;
name = "Travis B. Hartwell";
};
treemo = {
email = "matthieu.chevrier@treemo.fr";
github = "treemo";
+ githubId = 207457;
name = "Matthieu Chevrier";
};
trevorj = {
email = "nix@trevor.joynson.io";
github = "akatrevorjay";
+ githubId = 1312290;
name = "Trevor Joynson";
};
trino = {
email = "muehlhans.hubert@ekodia.de";
github = "hmuehlhans";
+ githubId = 9870613;
name = "Hubert Mühlhans";
};
troydm = {
email = "d.geurkov@gmail.com";
github = "troydm";
+ githubId = 483735;
name = "Dmitry Geurkov";
};
tstrobel = {
@@ -5177,11 +6546,13 @@
ttuegel = {
email = "ttuegel@mailbox.org";
github = "ttuegel";
+ githubId = 563054;
name = "Thomas Tuegel";
};
tv = {
email = "tv@krebsco.de";
github = "4z3";
+ githubId = 427872;
name = "Tomislav Viljetić";
};
tvestelind = {
@@ -5192,6 +6563,7 @@
tvorog = {
email = "marszaripov@gmail.com";
github = "tvorog";
+ githubId = 1325161;
name = "Marsel Zaripov";
};
tweber = {
@@ -5204,44 +6576,62 @@
github = "twey";
name = "James ‘Twey’ Kay";
};
+ twhitehead = {
+ name = "Tyson Whitehead";
+ email = "twhitehead@gmail.com";
+ github = "twhitehead";
+ githubId = 787843;
+ keys = [{
+ longkeyid = "rsa2048/0x594258F0389D2802";
+ fingerprint = "E631 8869 586F 99B4 F6E6 D785 5942 58F0 389D 2802";
+ }];
+ };
typetetris = {
email = "ericwolf42@mail.com";
github = "typetetris";
+ githubId = 1983821;
name = "Eric Wolf";
};
udono = {
email = "udono@virtual-things.biz";
github = "udono";
+ githubId = 347983;
name = "Udo Spallek";
};
unode = {
email = "alves.rjc@gmail.com";
github = "unode";
+ githubId = 122319;
name = "Renato Alves";
};
uralbash = {
email = "root@uralbash.ru";
github = "uralbash";
+ githubId = 619015;
name = "Svintsov Dmitry";
};
uri-canva = {
email = "uri@canva.com";
github = "uri-canva";
+ githubId = 33242106;
name = "Uri Baghin";
};
uskudnik = {
email = "urban.skudnik@gmail.com";
github = "uskudnik";
+ githubId = 120451;
name = "Urban Skudnik";
};
utdemir = {
email = "me@utdemir.com";
github = "utdemir";
+ githubId = 928084;
name = "Utku Demir";
};
uvnikita = {
email = "uv.nikita@gmail.com";
github = "uvNikita";
+ githubId = 1084748;
name = "Nikita Uvarov";
};
uwap = {
@@ -5252,13 +6642,21 @@
va1entin = {
email = "github@valentinsblog.com";
github = "va1entin";
+ githubId = 31535155;
name = "Valentin Heidelberger";
};
vaibhavsagar = {
email = "vaibhavsagar@gmail.com";
github = "vaibhavsagar";
+ githubId = 1525767;
name = "Vaibhav Sagar";
};
+ valebes = {
+ email = "valebes@gmail.com";
+ github = "valebes";
+ githubid = 10956211;
+ name = "Valerio Besozzi";
+ };
valeriangalliat = {
email = "val@codejam.info";
github = "valeriangalliat";
@@ -5267,37 +6665,44 @@
vandenoever = {
email = "jos@vandenoever.info";
github = "vandenoever";
+ githubId = 608417;
name = "Jos van den Oever";
};
vanschelven = {
email = "klaas@vanschelven.com";
github = "vanschelven";
+ githubId = 223833;
name = "Klaas van Schelven";
};
vanzef = {
email = "vanzef@gmail.com";
github = "vanzef";
+ githubId = 12428837;
name = "Ivan Solyankin";
};
varunpatro = {
email = "varun.kumar.patro@gmail.com";
github = "varunpatro";
+ githubId = 6943308;
name = "Varun Patro";
};
vbgl = {
email = "Vincent.Laporte@gmail.com";
github = "vbgl";
+ githubId = 2612464;
name = "Vincent Laporte";
};
vbmithr = {
email = "vb@luminar.eu.org";
github = "vbmithr";
+ githubId = 797581;
name = "Vincent Bernardoff";
};
vcunat = {
name = "Vladimír Čunát";
email = "v@cunat.cz"; # vcunat@gmail.com predominated in commits before 2019/03
github = "vcunat";
+ githubId = 1785925;
keys = [{
longkeyid = "rsa4096/0xE747DF1F9575A3AA";
fingerprint = "B600 6460 B60A 80E7 8206 2449 E747 DF1F 9575 A3AA";
@@ -5306,31 +6711,47 @@
vdemeester = {
email = "vincent@sbr.pm";
github = "vdemeester";
+ githubId = 6508;
name = "Vincent Demeester";
};
velovix = {
email = "xaviosx@gmail.com";
github = "velovix";
+ githubId = 2856634;
name = "Tyler Compton";
};
veprbl = {
email = "veprbl@gmail.com";
github = "veprbl";
+ githubId = 245573;
name = "Dmitry Kalinkin";
};
vidbina = {
email = "vid@bina.me";
github = "vidbina";
+ githubId = 335406;
name = "David Asabina";
};
vifino = {
email = "vifino@tty.sh";
github = "vifino";
+ githubId = 5837359;
name = "Adrian Pistol";
};
+ vika_nezrimaya = {
+ email = "vika@fireburn.ru";
+ github = "kisik21";
+ githubId = 7953163;
+ name = "Vika Shleina";
+ keys = [{
+ longkeyid = "rsa4096/0x5402B9B5497BACDB";
+ fingerprint = "A03C D09C 36CF D9F6 1ADF AF11 5402 B9B5 497B ACDB";
+ }];
+ };
vinymeuh = {
email = "vinymeuh@gmail.com";
github = "vinymeuh";
+ githubId = 118959;
name = "VinyMeuh";
};
viric = {
@@ -5338,6 +6759,12 @@
github = "viric";
name = "Lluís Batlle i Rossell";
};
+ virusdave = {
+ email = "dave.nicponski@gmail.com";
+ github = "virusdave";
+ githubId = 6148271;
+ name = "Dave Nicponski";
+ };
vizanto = {
email = "danny@prime.vc";
github = "vizanto";
@@ -5346,21 +6773,25 @@
vklquevs = {
email = "vklquevs@gmail.com";
github = "vklquevs";
+ githubId = 1771234;
name = "vklquevs";
};
vlaci = {
email = "laszlo.vasko@outlook.com";
github = "vlaci";
+ githubId = 1771332;
name = "László Vaskó";
};
vlstill = {
email = "xstill@fi.muni.cz";
github = "vlstill";
+ githubId = 4070422;
name = "Vladimír Štill";
};
vmandela = {
email = "venkat.mandela@gmail.com";
github = "vmandela";
+ githubId = 849772;
name = "Venkateswara Rao Mandela";
};
vmchale = {
@@ -5371,11 +6802,13 @@
volhovm = {
email = "volhovm.cs@gmail.com";
github = "volhovm";
+ githubId = 5604643;
name = "Mikhail Volkhov";
};
volth = {
email = "jaroslavas@volth.com";
github = "volth";
+ githubId = 508305;
name = "Jaroslavas Pocepko";
};
vozz = {
@@ -5385,26 +6818,37 @@
vrthra = {
email = "rahul@gopinath.org";
github = "vrthra";
+ githubId = 70410;
name = "Rahul Gopinath";
};
vskilet = {
email = "victor@sene.ovh";
github = "vskilet";
+ githubId = 7677567;
name = "Victor SENE";
};
+ vyorkin = {
+ email = "vasiliy.yorkin@gmail.com";
+ github = "vyorkin";
+ githubId = 988849;
+ name = "Vasiliy Yorkin";
+ };
vyp = {
email = "elisp.vim@gmail.com";
github = "vyp";
+ githubId = 3889405;
name = "vyp";
};
waynr = {
name = "Wayne Warren";
email = "wayne.warren.s@gmail.com";
github = "waynr";
+ githubId = 1441126;
};
wchresta = {
email = "wchresta.nix@chrummibei.ch";
github = "wchresta";
+ githubId = 34962284;
name = "wchresta";
};
wedens = {
@@ -5414,6 +6858,7 @@
willibutz = {
email = "willibutz@posteo.de";
github = "willibutz";
+ githubId = 20464732;
name = "Willi Butz";
};
willtim = {
@@ -5427,36 +6872,43 @@
winpat = {
email = "patrickwinter@posteo.ch";
github = "winpat";
+ githubId = 6016963;
name = "Patrick Winter";
};
wizeman = {
email = "rcorreia@wizy.org";
github = "wizeman";
+ githubId = 168610;
name = "Ricardo M. Correia";
};
wjlroe = {
email = "willroe@gmail.com";
github = "wjlroe";
+ githubId = 43315;
name = "William Roe";
};
wmertens = {
email = "Wout.Mertens@gmail.com";
github = "wmertens";
+ githubId = 54934;
name = "Wout Mertens";
};
woffs = {
email = "github@woffs.de";
github = "woffs";
+ githubId = 895853;
name = "Frank Doepper";
};
womfoo = {
email = "kranium@gikos.net";
github = "womfoo";
+ githubId = 1595132;
name = "Kranium Gikos Mendoza";
};
worldofpeace = {
email = "worldofpeace@protonmail.ch";
github = "worldofpeace";
+ githubId = 28888242;
name = "Worldofpeace";
};
wscott = {
@@ -5467,31 +6919,37 @@
wucke13 = {
email = "info@wucke13.de";
github = "wucke13";
+ githubId = 20400405;
name = "Wucke";
};
wykurz = {
email = "wykurz@gmail.com";
github = "wykurz";
+ githubId = 483465;
name = "Mateusz Wykurz";
};
wyvie = {
email = "elijahrum@gmail.com";
github = "wyvie";
+ githubId = 3992240;
name = "Elijah Rum";
};
xaverdh = {
email = "hoe.dom@gmx.de";
github = "xaverdh";
+ githubId = 11050617;
name = "Dominik Xaver Hörl";
};
xbreak = {
email = "xbreak@alphaware.se";
github = "xbreak";
+ githubId = 13489144;
name = "Calle Rosenquist";
};
xeji = {
email = "xeji@cat3.de";
github = "xeji";
+ githubId = 36407913;
name = "Uli Baum";
};
xnaveira = {
@@ -5502,31 +6960,37 @@
xnwdd = {
email = "nwdd+nixos@no.team";
github = "xnwdd";
+ githubId = 3028542;
name = "Guillermo NWDD";
};
xrelkd = {
email = "46590321+xrelkd@users.noreply.github.com";
github = "xrelkd";
+ githubId = 46590321;
name = "xrelkd";
};
xurei = {
email = "olivier.bourdoux@gmail.com";
github = "xurei";
+ githubId = 621695;
name = "Olivier Bourdoux";
};
xvapx = {
email = "marti.serra.coscollano@gmail.com";
github = "xvapx";
+ githubId = 11824817;
name = "Marti Serra";
};
xwvvvvwx = {
email = "davidterry@posteo.de";
github = "xwvvvvwx";
+ githubId = 6689924;
name = "David Terry";
};
xzfc = {
email = "xzfcpw@gmail.com";
github = "xzfc";
+ githubId = 5121426;
name = "Albert Safin";
};
y0no = {
@@ -5537,91 +7001,108 @@
yarny = {
email = "41838844+Yarny0@users.noreply.github.com";
github = "Yarny0";
+ githubId = 41838844;
name = "Yarny";
};
yarr = {
email = "savraz@gmail.com";
github = "Eternity-Yarr";
+ githubId = 3705333;
name = "Dmitry V.";
};
yegortimoshenko = {
email = "yegortimoshenko@riseup.net";
github = "yegortimoshenko";
+ githubId = 1643293;
name = "Yegor Timoshenko";
};
yesbox = {
email = "jesper.geertsen.jonsson@gmail.com";
github = "yesbox";
+ githubId = 4113027;
name = "Jesper Geertsen Jonsson";
};
ylwghst = {
email = "ylwghst@onionmail.info";
github = "ylwghst";
+ githubId = 26011724;
name = "Burim Augustin Berisa";
};
yochai = {
email = "yochai@titat.info";
github = "yochai";
+ githubId = 1322201;
name = "Yochai";
};
yorickvp = {
email = "yorickvanpelt@gmail.com";
github = "yorickvp";
+ githubId = 647076;
name = "Yorick van Pelt";
};
yrashk = {
email = "yrashk@gmail.com";
github = "yrashk";
+ githubId = 452;
name = "Yurii Rashkovskii";
};
ysndr = {
email = "me@ysndr.de";
github = "ysndr";
+ githubId = 7040031;
name = "Yannik Sander";
};
yuriaisaka = {
email = "yuri.aisaka+nix@gmail.com";
github = "yuriaisaka";
+ githubId = 687198;
name = "Yuri Aisaka";
};
yurrriq = {
email = "eric@ericb.me";
github = "yurrriq";
+ githubId = 1866448;
name = "Eric Bailey";
};
z77z = {
email = "maggesi@math.unifi.it";
github = "maggesi";
+ githubId = 1809783;
name = "Marco Maggesi";
};
zachcoyle = {
email = "zach.coyle@gmail.com";
github = "zachcoyle";
+ githubId = 908716;
name = "Zach Coyle";
};
zagy = {
email = "cz@flyingcircus.io";
github = "zagy";
+ githubId = 568532;
name = "Christian Zagrodnick";
};
zalakain = {
- email = "contact@unaizalakain.info";
+ email = "ping@umazalakain.info";
github = "umazalakain";
- name = "Unai Zalakain";
+ name = "Uma Zalakain";
};
zaninime = {
email = "francesco@zanini.me";
github = "zaninime";
+ githubId = 450885;
name = "Francesco Zanini";
};
zarelit = {
email = "david@zarel.net";
github = "zarelit";
+ githubId = 3449926;
name = "David Costa";
};
zauberpony = {
email = "elmar@athmer.org";
github = "zauberpony";
+ githubId = 250877;
name = "Elmar Athmer";
};
zef = {
@@ -5631,46 +7112,73 @@
zgrannan = {
email = "zgrannan@gmail.com";
github = "zgrannan";
+ githubId = 1141948;
name = "Zack Grannan";
};
zimbatm = {
email = "zimbatm@zimbatm.com";
github = "zimbatm";
+ githubId = 3248;
name = "zimbatm";
};
Zimmi48 = {
email = "theo.zimmermann@univ-paris-diderot.fr";
github = "Zimmi48";
+ githubId = 1108325;
name = "Théo Zimmermann";
};
zohl = {
email = "zohl@fmap.me";
github = "zohl";
+ githubId = 6067895;
name = "Al Zohali";
};
zookatron = {
email = "tim@zookatron.com";
github = "zookatron";
+ githubId = 1772064;
name = "Tim Zook";
};
zoomulator = {
email = "zoomulator@gmail.com";
github = "zoomulator";
+ githubId = 1069303;
name = "Kim Simmons";
};
zraexy = {
email = "zraexy@gmail.com";
github = "zraexy";
+ githubId = 8100652;
name = "David Mell";
};
zx2c4 = {
email = "Jason@zx2c4.com";
github = "zx2c4";
+ githubId = 10643;
name = "Jason A. Donenfeld";
};
zzamboni = {
email = "diego@zzamboni.org";
github = "zzamboni";
+ githubId = 32876;
name = "Diego Zamboni";
};
+ turbomack = {
+ email = "marek.faj@gmail.com";
+ github = "turboMaCk";
+ githubId = 2130305;
+ name = "Marek Fajkus";
+ };
+ melling = {
+ email = "mattmelling@fastmail.com";
+ github = "mattmelling";
+ githubId = 1215331;
+ name = "Matt Melling";
+ };
+ wd15 = {
+ email = "daniel.wheeler2@gmail.com";
+ github = "wd15";
+ githubId = 1986844;
+ name = "Daniel Wheeler";
+ };
}
diff --git a/maintainers/scripts/hydra-eval-failures.py b/maintainers/scripts/hydra-eval-failures.py
index 23669502e46..6e7ec2dbc00 100755
--- a/maintainers/scripts/hydra-eval-failures.py
+++ b/maintainers/scripts/hydra-eval-failures.py
@@ -11,13 +11,15 @@ import click
import requests
from pyquery import PyQuery as pq
+def map_dict (f, d):
+ for k,v in d.items():
+ d[k] = f(v)
maintainers_json = subprocess.check_output([
- 'nix-instantiate', '-E', 'import ./maintainers/maintainer-list.nix {}', '--eval', '--json'
+ 'nix-instantiate', '-A', 'lib.maintainers', '--eval', '--strict', '--json'
])
maintainers = json.loads(maintainers_json)
-MAINTAINERS = {v: k for k, v in maintainers.items()}
-
+MAINTAINERS = map_dict(lambda v: v.get('github', None), maintainers)
def get_response_text(url):
return pq(requests.get(url).text) # IO
@@ -38,30 +40,39 @@ def get_maintainers(attr_name):
'-A',
'.'.join(nixname[1:]) + '.meta',
EVAL_FILE[nixname[0]],
+ '--arg',
+ 'nixpkgs',
+ './.',
'--json'])
meta = json.loads(meta_json)
- if meta.get('maintainers'):
- return [MAINTAINERS[name] for name in meta['maintainers'] if MAINTAINERS.get(name)]
+ return meta.get('maintainers', [])
except:
return []
+def filter_github_users(maintainers):
+ github_only = []
+ for i in maintainers:
+ if i.get('github'):
+ github_only.append(i)
+ return github_only
+
def print_build(table_row):
a = pq(table_row)('a')[1]
print("- [ ] [{}]({})".format(a.text, a.get('href')), flush=True)
-
- maintainers = get_maintainers(a.text)
- if maintainers:
- print(" - maintainers: {}".format(", ".join(map(lambda u: '@' + u, maintainers))))
+
+ job_maintainers = filter_github_users(get_maintainers(a.text))
+ if job_maintainers:
+ print(" - maintainers: {}".format(" ".join(map(lambda u: '@' + u.get('github'), job_maintainers))))
# TODO: print last three persons that touched this file
# TODO: pinpoint the diff that broke this build, or maybe it's transient or maybe it never worked?
-
+
sys.stdout.flush()
@click.command()
@click.option(
'--jobset',
- default="nixos/release-17.09",
- help='Hydra project like nixos/release-17.09')
+ default="nixos/release-19.09",
+ help='Hydra project like nixos/release-19.09')
def cli(jobset):
"""
Given a Hydra project, inspect latest evaluation
@@ -93,6 +104,7 @@ def cli(jobset):
print_build(tr)
+
if __name__ == "__main__":
try:
cli()
diff --git a/maintainers/scripts/luarocks-config.lua b/maintainers/scripts/luarocks-config.lua
new file mode 100644
index 00000000000..89e74c00ea8
--- /dev/null
+++ b/maintainers/scripts/luarocks-config.lua
@@ -0,0 +1,4 @@
+rocks_servers = {
+ "https://luarocks.org"
+}
+version_check_on_fail = false
diff --git a/maintainers/scripts/luarocks-packages.csv b/maintainers/scripts/luarocks-packages.csv
index a7989c74b21..a6fbcd5a0be 100644
--- a/maintainers/scripts/luarocks-packages.csv
+++ b/maintainers/scripts/luarocks-packages.csv
@@ -1,41 +1,70 @@
-# nix name, luarocks name, server, version/additionnal args
-ansicolors,
-argparse,
-basexx,
-binaryheap,
-dkjson
-fifo
-http
-inspect
-ldoc
-lgi
-lpeg_patterns
-lpty
-lrexlib-gnu,
-lrexlib-posix,
-ltermbox,
-lua-cmsgpack,
-lua_cliargs,
-lua-iconv,
-lua-messagepack,
-lua-term,
-lua-toml,
-luabitop,
-luaevent,
-luacheck
-luaffi,,http://luarocks.org/dev,
-luuid,
-markdown,
-penlight,
-rapidjson,
-say,
-std__debug,std._debug,
-std_normalize,std.normalize,
-luv,
-luasystem,
-mediator_lua,,http://luarocks.org/manifests/teto
-mpack,,http://luarocks.org/manifests/teto
-nvim-client,,http://luarocks.org/manifests/teto
-busted,,http://luarocks.org/manifests/teto
-luassert,,http://luarocks.org/manifests/teto
-coxpcall,,https://luarocks.org/manifests/hisham,1.17.0-1
+# nix name, luarocks name, server, version,luaversion,maintainers
+alt-getopt,,,,,arobyn
+ansicolors,,,,,
+argparse,,,,,
+basexx,,,,,
+binaryheap,,,,,vcunat
+bit32,,,,lua5_1,lblasc
+busted,,,,,
+cjson,lua-cjson,,,,
+compat53,,,,,vcunat
+coxpcall,,,1.17.0-1,,
+cqueues,,,,,vcunat
+cyrussasl,,,,,vcunat
+digestif,,http://luarocks.org/dev,,lua5_3,
+dkjson,,,,,
+fifo,,,,,
+http,,,,,vcunat
+inspect,,,,,
+ldoc,,,,,
+lgi,,,,,
+ljsyscall,,,,lua5_1,lblasc
+lpeg,,,,,vyp
+lpeg_patterns,,,,,
+lpeglabel,,,,,
+lpty,,,,,
+lrexlib-gnu,,,,,
+lrexlib-pcre,,,,,vyp
+lrexlib-posix,,,,,
+ltermbox,,,,,
+lua-cmsgpack,,,,,
+lua-iconv,,,,,
+lua-lsp,,http://luarocks.org/dev,,,
+lua-messagepack,,,,,
+lua-term,,,,,
+lua-toml,,,,,
+lua-zlib,,,,,koral
+lua_cliargs,,,,,
+luabitop,,,,,
+luacheck,,,,,
+luadbi,,,,,
+luadbi-mysql,,,,,
+luadbi-postgresql,,,,,
+luadbi-sqlite3,,,,,
+luaevent,,,,,
+luaexpat,,,1.3.0-1,,arobyn flosse
+luaffi,,http://luarocks.org/dev,,,
+luafilesystem,,,1.7.0-2,,flosse vcunat
+luaossl,,,,lua5_1,vcunat
+luaposix,,,,,vyp lblasc
+luasec,,,,,flosse
+luasocket,,,,,
+luasql-sqlite3,,,,,vyp
+luassert,,,,,
+luasystem,,,,,
+luautf8,,,,,pstn
+luazip,,,,,
+lua-yajl,,,,,pstn
+luuid,,,,,
+luv,,,,,
+markdown,,,,,
+mediator_lua,,,,,
+mpack,,,,,
+moonscript,,,,,arobyn
+nvim-client,,,,,
+penlight,,,,,
+rapidjson,,,,,
+say,,,,,
+std__debug,std._debug,,,,
+std_normalize,std.normalize,,,,
+stdlib,,,,,vyp
diff --git a/maintainers/scripts/nixpkgs-lint.nix b/maintainers/scripts/nixpkgs-lint.nix
index be2a92509f8..6d99c94bf33 100644
--- a/maintainers/scripts/nixpkgs-lint.nix
+++ b/maintainers/scripts/nixpkgs-lint.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper perl perlPackages.XMLSimple ];
- unpackPhase = "true";
+ dontUnpack = true;
buildPhase = "true";
installPhase =
diff --git a/maintainers/scripts/update-discord b/maintainers/scripts/update-discord
new file mode 100755
index 00000000000..23ec6e401be
--- /dev/null
+++ b/maintainers/scripts/update-discord
@@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+# script to generate `pkgs/networking/instant-messengers/discord/default.nix`
+
+set -e
+exec >${1:?usage: $0 }
+
+cat <&1
-
# stop the script upon C-C
set -eu -o pipefail
-if [ $# -lt 1 ]; then
- print_help
- exit 1
-fi
-
CSV_FILE="maintainers/scripts/luarocks-packages.csv"
TMP_FILE="$(mktemp)"
+# Set in the update-luarocks-shell.nix
+NIXPKGS_PATH="$LUAROCKS_NIXPKGS_PATH"
+export LUAROCKS_CONFIG="$NIXPKGS_PATH/maintainers/scripts/luarocks-config.lua"
-exit_trap()
-{
- local lc="$BASH_COMMAND" rc=$?
- test $rc -eq 0 || echo -e "*** error $rc: $lc.\nGenerated temporary file in $TMP_FILE" >&2
+# 10 is a pretty arbitrary number of simultaneous jobs, but it is generally
+# impolite to hit a webserver with *too* many simultaneous connections :)
+PARALLEL_JOBS=10
+
+exit_trap() {
+ local lc="$BASH_COMMAND" rc=$?
+ test $rc -eq 0 || echo -e "*** error $rc: $lc.\nGenerated temporary file in $TMP_FILE" >&2
}
-trap exit_trap EXIT
print_help() {
echo "Usage: $0 "
echo "(most likely pkgs/development/lua-modules/generated-packages.nix)"
- echo ""
- echo " -c to set the list of luarocks package to generate"
- exit 1
+ echo ""
+ echo " -c to set the list of luarocks package to generate"
+ exit 1
}
+if [ $# -lt 1 ]; then
+ print_help
+ exit 1
+fi
+
+trap exit_trap EXIT
while getopts ":hc:" opt; do
- case $opt in
+ case $opt in
h)
- print_help
- ;;
+ print_help
+ ;;
c)
- echo "Loading package list from $OPTARG !" >&2
- CSV_FILE="$OPTARG"
- ;;
+ echo "Loading package list from $OPTARG !" >&2
+ CSV_FILE="$OPTARG"
+ ;;
\?)
- echo "Invalid option: -$OPTARG" >&2
- ;;
- esac
- shift $((OPTIND-1))
+ echo "Invalid option: -$OPTARG" >&2
+ ;;
+ esac
+ shift $((OPTIND - 1))
done
GENERATED_NIXFILE="$1"
@@ -72,43 +77,60 @@ FOOTER="
/* GENERATED */
"
-
-function convert_pkg () {
+function convert_pkg() {
nix_pkg_name="$1"
lua_pkg_name="$2"
- server="${3:+--server=$3}"
- version="${4:-}"
+ server="$3"
+ pkg_version="$4"
+ lua_version="$5"
+ maintainers="$6"
- echo "looking at $lua_pkg_name (version $version) from server [$server]" >&2
- cmd="luarocks nix $server $lua_pkg_name $version"
- drv="$nix_pkg_name = $($cmd)"
- if [ $? -ne 0 ]; then
- echo "Failed to convert $pkg" >&2
- echo "$drv" >&2
+ if [ "${nix_pkg_name:0:1}" == "#" ]; then
+ echo "Skipping comment ${*}" >&2
+ return
+ fi
+ if [ -z "$lua_pkg_name" ]; then
+ echo "Using nix_name as lua_pkg_name for '$nix_pkg_name'" >&2
+ lua_pkg_name="$nix_pkg_name"
+ fi
+
+ echo "Building expression for $lua_pkg_name (version $pkg_version) from server [$server]" >&2
+ luarocks_args=(nix)
+ if [[ -n $server ]]; then
+ luarocks_args+=("--only-server=$server")
+ fi
+ if [[ -n $maintainers ]]; then
+ luarocks_args+=("--maintainers=$maintainers")
+ fi
+ if [[ -n $lua_version ]]; then
+ lua_drv_path=$(nix-build --no-out-link "$NIXPKGS_PATH" -A "$lua_version")
+ luarocks_args+=("--lua-dir=$lua_drv_path/bin")
+ fi
+ luarocks_args+=("$lua_pkg_name")
+ if [[ -n $pkg_version ]]; then
+ luarocks_args+=("$pkg_version")
+ fi
+ echo "Running 'luarocks ${luarocks_args[*]}'" >&2
+ if drv="$nix_pkg_name = $(luarocks "${luarocks_args[@]}")"; then
+ echo "$drv"
else
- echo "$drv" | tee -a "$TMP_FILE"
+ echo "Failed to convert $nix_pkg_name" >&2
+ return 1
fi
}
# params needed when called via callPackage
echo "$HEADER" | tee "$TMP_FILE"
-# list of packages with format
-# name,server,version
-while IFS=, read -r nix_pkg_name lua_pkg_name server version
-do
- if [ "${nix_pkg_name:0:1}" == "#" ]; then
- echo "Skipping comment ${nix_pkg_name}" >&2
- continue
- fi
- if [ -z "$lua_pkg_name" ]; then
- echo "Using nix_name as lua_pkg_name" >&2
- lua_pkg_name="$nix_pkg_name"
- fi
- convert_pkg "$nix_pkg_name" "$lua_pkg_name" "$server" "$version"
-done < "$CSV_FILE"
+# Ensure parallel can run our bash function
+export -f convert_pkg
+export SHELL=bash
+# Read each line in the csv file and run convert_pkg for each, in parallel
+parallel --group --keep-order --halt now,fail=1 --jobs "$PARALLEL_JOBS" --colsep ',' convert_pkg {} <"$CSV_FILE" | tee -a "$TMP_FILE"
# close the set
echo "$FOOTER" | tee -a "$TMP_FILE"
cp "$TMP_FILE" "$GENERATED_NIXFILE"
+
+# vim: set ts=4 sw=4 ft=sh:
diff --git a/maintainers/scripts/update-luarocks-shell.nix b/maintainers/scripts/update-luarocks-shell.nix
new file mode 100644
index 00000000000..23a940b3691
--- /dev/null
+++ b/maintainers/scripts/update-luarocks-shell.nix
@@ -0,0 +1,9 @@
+{ nixpkgs ? import ../.. { }
+}:
+with nixpkgs;
+mkShell {
+ buildInputs = [
+ bash luarocks-nix nix-prefetch-scripts parallel
+ ];
+ LUAROCKS_NIXPKGS_PATH = toString nixpkgs.path;
+}
diff --git a/maintainers/scripts/update-ruby-packages b/maintainers/scripts/update-ruby-packages
new file mode 100755
index 00000000000..fef6b75ded0
--- /dev/null
+++ b/maintainers/scripts/update-ruby-packages
@@ -0,0 +1,13 @@
+#!/usr/bin/env nix-shell
+#!nix-shell -i bash -p bundler bundix
+
+set -euf -o pipefail
+
+(
+ cd pkgs/development/ruby-modules/with-packages
+ rm -f gemset.nix Gemfile.lock
+ bundle lock
+ bundix
+ mv gemset.nix ../../../top-level/ruby-packages.nix
+ rm -f Gemfile.lock
+)
diff --git a/maintainers/scripts/update.nix b/maintainers/scripts/update.nix
index 120cd5552f4..04723cb8a36 100755
--- a/maintainers/scripts/update.nix
+++ b/maintainers/scripts/update.nix
@@ -20,7 +20,9 @@ let
in
[x] ++ nubOn f xs;
- pkgs = import ./../../default.nix { };
+ pkgs = import ./../../default.nix {
+ overlays = [];
+ };
packagesWith = cond: return: set:
nubOn (pkg: pkg.updateScript)
@@ -67,9 +69,12 @@ let
let
attrSet = pkgs.lib.attrByPath (pkgs.lib.splitString "." path) null pkgs;
in
- packagesWith (name: pkg: builtins.hasAttr "updateScript" pkg)
- (name: pkg: pkg)
- attrSet;
+ if attrSet == null then
+ builtins.throw "Attribute path `${path}` does not exists."
+ else
+ packagesWith (name: pkg: builtins.hasAttr "updateScript" pkg)
+ (name: pkg: pkg)
+ attrSet;
packageByName = name:
let
@@ -122,9 +127,17 @@ let
packageData = package: {
name = package.name;
pname = (builtins.parseDrvName package.name).name;
- updateScript = pkgs.lib.toList package.updateScript;
+ updateScript = map builtins.toString (pkgs.lib.toList package.updateScript);
};
+ packagesJson = pkgs.writeText "packages.json" (builtins.toJSON (map packageData packages));
+
+ optionalArgs =
+ pkgs.lib.optional (max-workers != null) "--max-workers=${max-workers}"
+ ++ pkgs.lib.optional (keep-going == "true") "--keep-going";
+
+ args = [ packagesJson ] ++ optionalArgs;
+
in pkgs.stdenv.mkDerivation {
name = "nixpkgs-update-script";
buildCommand = ''
@@ -139,6 +152,6 @@ in pkgs.stdenv.mkDerivation {
'';
shellHook = ''
unset shellHook # do not contaminate nested shells
- exec ${pkgs.python3.interpreter} ${./update.py} ${pkgs.writeText "packages.json" (builtins.toJSON (map packageData packages))}${pkgs.lib.optionalString (max-workers != null) " --max-workers=${max-workers}"}${pkgs.lib.optionalString (keep-going == "true") " --keep-going"}
+ exec ${pkgs.python3.interpreter} ${./update.py} ${builtins.concatStringsSep " " args}
'';
}
diff --git a/nixos/doc/manual/Makefile b/nixos/doc/manual/Makefile
index 9ff599a0090..b86a7600575 100644
--- a/nixos/doc/manual/Makefile
+++ b/nixos/doc/manual/Makefile
@@ -24,7 +24,7 @@ fix-misc-xml:
clean:
rm -f manual-combined.xml generated
-generated: ./options-to-docbook.xsl
+generated:
nix-build ../../release.nix \
--attr manualGeneratedSources.x86_64-linux \
--out-link ./generated
diff --git a/nixos/doc/manual/administration/cleaning-store.xml b/nixos/doc/manual/administration/cleaning-store.xml
index f078b8c3ba3..526803e429b 100644
--- a/nixos/doc/manual/administration/cleaning-store.xml
+++ b/nixos/doc/manual/administration/cleaning-store.xml
@@ -11,12 +11,12 @@
Nix’s garbage collector to remove old, unreferenced
packages. This is easy:
-$ nix-collect-garbage
+$ nix-collect-garbage
Alternatively, you can use a systemd unit that does the same in the
background:
-# systemctl start nix-gc.service
+# systemctl start nix-gc.service
You can tell NixOS in configuration.nix to run this unit
automatically at certain points in time, for instance, every night at 03:15:
@@ -31,11 +31,11 @@ $ nix-collect-garbage
configurations. The following command deletes old roots, removing the ability
to roll back to them:
-$ nix-collect-garbage -d
+$ nix-collect-garbage -d
You can also do this for specific profiles, e.g.
-$ nix-env -p /nix/var/nix/profiles/per-user/eelco/profile --delete-generations old
+$ nix-env -p /nix/var/nix/profiles/per-user/eelco/profile --delete-generations old
Note that NixOS system configurations are stored in the profile
/nix/var/nix/profiles/system.
@@ -45,7 +45,7 @@ $ nix-env -p /nix/var/nix/profiles/per-user/eelco/profile --delete-generations o
Nix store) is to run Nix’s store optimiser, which seeks out identical files
in the store and replaces them with hard links to a single copy.
-$ nix-store --optimise
+$ nix-store --optimise
Since this command needs to read the entire Nix store, it can take quite a
while to finish.
diff --git a/nixos/doc/manual/administration/container-networking.xml b/nixos/doc/manual/administration/container-networking.xml
index 2ee8bfdd50f..42486f01fe8 100644
--- a/nixos/doc/manual/administration/container-networking.xml
+++ b/nixos/doc/manual/administration/container-networking.xml
@@ -11,10 +11,10 @@
10.233.0.0/16. You can get the container’s IPv4 address
as follows:
-# nixos-container show-ip foo
+# nixos-container show-ip foo
10.233.4.2
-$ ping -c1 10.233.4.2
+$ ping -c1 10.233.4.2
64 bytes from 10.233.4.2: icmp_seq=1 ttl=64 time=0.106 ms
diff --git a/nixos/doc/manual/administration/control-groups.xml b/nixos/doc/manual/administration/control-groups.xml
index bb8b7f83d9e..16d03cc0d1a 100644
--- a/nixos/doc/manual/administration/control-groups.xml
+++ b/nixos/doc/manual/administration/control-groups.xml
@@ -16,7 +16,7 @@
systemd hierarchy, which is what systemd uses to keep
track of the processes belonging to each service or user session:
-$ systemd-cgls
+$ systemd-cgls
├─user
│ └─eelco
│ └─c1
diff --git a/nixos/doc/manual/administration/imperative-containers.xml b/nixos/doc/manual/administration/imperative-containers.xml
index 9bb62bc2ece..7ded0c11786 100644
--- a/nixos/doc/manual/administration/imperative-containers.xml
+++ b/nixos/doc/manual/administration/imperative-containers.xml
@@ -29,6 +29,13 @@
= true;
users.users.root.openssh.authorizedKeys.keys = ["ssh-dss AAAAB3N…"];
'
+
+ By default the next free address in the 10.233.0.0/16 subnet will be chosen
+ as container IP. This behavior can be altered by setting --host-address and
+ --local-address:
+
+# nixos-container create test --config-file test-container.nix \
+ --local-address 10.235.1.2 --host-address 10.235.1.1
diff --git a/nixos/doc/manual/administration/logging.xml b/nixos/doc/manual/administration/logging.xml
index a41936b373d..da4877fcdf0 100644
--- a/nixos/doc/manual/administration/logging.xml
+++ b/nixos/doc/manual/administration/logging.xml
@@ -11,14 +11,14 @@
The command journalctl allows you to see the contents of
the journal. For example,
-$ journalctl -b
+$ journalctl -b
shows all journal entries since the last reboot. (The output of
journalctl is piped into less by
default.) You can use various options and match operators to restrict output
to messages of interest. For instance, to get all messages from PostgreSQL:
-$ journalctl -u postgresql.service
+$ journalctl -u postgresql.service
-- Logs begin at Mon, 2013-01-07 13:28:01 CET, end at Tue, 2013-01-08 01:09:57 CET. --
...
Jan 07 15:44:14 hagbard postgres[2681]: [2-1] LOG: database system is shut down
@@ -29,7 +29,7 @@ Jan 07 15:45:13 hagbard postgres[2500]: [1-1] LOG: database system is ready to
Or to get all messages since the last reboot that have at least a
“critical” severity level:
-$ journalctl -b -p crit
+$ journalctl -b -p crit
Dec 17 21:08:06 mandark sudo[3673]: pam_unix(sudo:auth): auth could not identify password for [alice]
Dec 29 01:30:22 mandark kernel[6131]: [1053513.909444] CPU6: Core temperature above threshold, cpu clock throttled (total events = 1)
diff --git a/nixos/doc/manual/administration/rollback.xml b/nixos/doc/manual/administration/rollback.xml
index 07c6acaa469..fb87810ba46 100644
--- a/nixos/doc/manual/administration/rollback.xml
+++ b/nixos/doc/manual/administration/rollback.xml
@@ -33,7 +33,7 @@
where N is the number of the NixOS system
configuration. To get a list of the available configurations, do:
-$ ls -l /nix/var/nix/profiles/system-*-link
+$ ls -l /nix/var/nix/profiles/system-*-link
...
lrwxrwxrwx 1 root root 78 Aug 12 13:54 /nix/var/nix/profiles/system-268-link -> /nix/store/202b...-nixos-13.07pre4932_5a676e4-4be1055
diff --git a/nixos/doc/manual/administration/service-mgmt.xml b/nixos/doc/manual/administration/service-mgmt.xml
index 0c2085c8155..1b9c745eb59 100644
--- a/nixos/doc/manual/administration/service-mgmt.xml
+++ b/nixos/doc/manual/administration/service-mgmt.xml
@@ -21,7 +21,7 @@
systemd. Without any arguments, it shows the status of
active units:
-$ systemctl
+$ systemctl
-.mount loaded active mounted /
swapfile.swap loaded active active /swapfile
sshd.service loaded active running SSH Daemon
@@ -33,7 +33,7 @@ graphical.target loaded active active Graphical Interface
You can ask for detailed status information about a unit, for instance, the
PostgreSQL database service:
-$ systemctl status postgresql.service
+$ systemctl status postgresql.service
postgresql.service - PostgreSQL Server
Loaded: loaded (/nix/store/pn3q73mvh75gsrl8w7fdlfk3fq5qm5mw-unit/postgresql.service)
Active: active (running) since Mon, 2013-01-07 15:55:57 CET; 9h ago
diff --git a/nixos/doc/manual/administration/store-corruption.xml b/nixos/doc/manual/administration/store-corruption.xml
index a4ca3b651e2..b9d11152d5e 100644
--- a/nixos/doc/manual/administration/store-corruption.xml
+++ b/nixos/doc/manual/administration/store-corruption.xml
@@ -18,7 +18,7 @@
If the corruption is in a path in the closure of the NixOS system
configuration, you can fix it by doing
-# nixos-rebuild switch --repair
+# nixos-rebuild switch --repair
This will cause Nix to check every path in the closure, and if its
cryptographic hash differs from the hash recorded in Nix’s database, the
@@ -28,7 +28,7 @@
You can also scan the entire Nix store for corrupt paths:
-# nix-store --verify --check-contents --repair
+# nix-store --verify --check-contents --repair
Any corrupt paths will be redownloaded if they’re available in a binary
cache; otherwise, they cannot be repaired.
diff --git a/nixos/doc/manual/administration/user-sessions.xml b/nixos/doc/manual/administration/user-sessions.xml
index 1d95cfb22b6..80daf6bdbff 100644
--- a/nixos/doc/manual/administration/user-sessions.xml
+++ b/nixos/doc/manual/administration/user-sessions.xml
@@ -10,7 +10,7 @@
allows querying and manipulating user sessions. For instance, to list all
user sessions:
-$ loginctl
+$ loginctl
SESSION UID USER SEAT
c1 500 eelco seat0
c3 0 root seat0
@@ -21,7 +21,7 @@ $ loginctl
devices attached to the system; usually, there is only one seat.) To get
information about a session:
-$ loginctl session-status c3
+$ loginctl session-status c3
c3 - root (0)
Since: Tue, 2013-01-08 01:17:56 CET; 4min 42s ago
Leader: 2536 (login)
diff --git a/nixos/doc/manual/configuration/ad-hoc-packages.xml b/nixos/doc/manual/configuration/ad-hoc-packages.xml
index 19159d8db5b..c7e882d846f 100644
--- a/nixos/doc/manual/configuration/ad-hoc-packages.xml
+++ b/nixos/doc/manual/configuration/ad-hoc-packages.xml
@@ -9,7 +9,7 @@
With the command nix-env, you can install and uninstall
packages from the command line. For instance, to install Mozilla Thunderbird:
-$ nix-env -iA nixos.thunderbird
+$ nix-env -iA nixos.thunderbird
If you invoke this as root, the package is installed in the Nix profile
/nix/var/nix/profiles/default and visible to all users
of the system; otherwise, the package ends up in
@@ -25,7 +25,7 @@ $ nix-env -iA nixos.thunderbird
Packages come from the NixOS channel. You typically upgrade a package by
updating to the latest version of the NixOS channel:
-$ nix-channel --update nixos
+$ nix-channel --update nixos
and then running nix-env -i again. Other packages in the
profile are not affected; this is the crucial difference
@@ -34,21 +34,21 @@ $ nix-channel --update nixos
their current versions in the NixOS channel. You can however upgrade all
packages for which there is a newer version by doing:
-$ nix-env -u '*'
+$ nix-env -u '*'
A package can be uninstalled using the flag:
-$ nix-env -e thunderbird
+$ nix-env -e thunderbird
Finally, you can roll back an undesirable nix-env action:
-$ nix-env --rollback
+$ nix-env --rollback
diff --git a/nixos/doc/manual/configuration/adding-custom-packages.xml b/nixos/doc/manual/configuration/adding-custom-packages.xml
index cdcfa10b820..182641055e4 100644
--- a/nixos/doc/manual/configuration/adding-custom-packages.xml
+++ b/nixos/doc/manual/configuration/adding-custom-packages.xml
@@ -14,8 +14,8 @@
xlink:href="http://nixos.org/nixpkgs/manual">Nixpkgs
manual. In short, you clone Nixpkgs:
-$ git clone https://github.com/NixOS/nixpkgs
-$ cd nixpkgs
+$ git clone https://github.com/NixOS/nixpkgs
+$ cd nixpkgs
Then you write and test the package as described in the Nixpkgs manual.
Finally, you add it to environment.systemPackages, e.g.
@@ -65,8 +65,8 @@ stdenv.mkDerivation rec {
This allows testing the package easily:
-$ nix-build my-hello.nix
-$ ./result/bin/hello
+$ nix-build my-hello.nix
+$ ./result/bin/hello
Hello, world!
diff --git a/nixos/doc/manual/configuration/customizing-packages.xml b/nixos/doc/manual/configuration/customizing-packages.xml
index 03b5bb53197..34e6ab4b24d 100644
--- a/nixos/doc/manual/configuration/customizing-packages.xml
+++ b/nixos/doc/manual/configuration/customizing-packages.xml
@@ -24,8 +24,8 @@
Apart from high-level options, it’s possible to tweak a package in almost
arbitrary ways, such as changing or disabling dependencies of a package. For
- instance, the Emacs package in Nixpkgs by default has a dependency on GTK+ 2.
- If you want to build it against GTK+ 3, you can specify that as follows:
+ instance, the Emacs package in Nixpkgs by default has a dependency on GTK 2.
+ If you want to build it against GTK 3, you can specify that as follows:
= [ (pkgs.emacs.override { gtk = pkgs.gtk3; }) ];
@@ -33,7 +33,7 @@
function that produces Emacs, with the original arguments amended by the set
of arguments specified by you. So here the function argument
gtk gets the value pkgs.gtk3, causing
- Emacs to depend on GTK+ 3. (The parentheses are necessary because in Nix,
+ Emacs to depend on GTK 3. (The parentheses are necessary because in Nix,
function application binds more weakly than list construction, so without
them, would be a list with
two elements.)
diff --git a/nixos/doc/manual/configuration/declarative-packages.xml b/nixos/doc/manual/configuration/declarative-packages.xml
index c9acbefea60..5fb3bcb9f8f 100644
--- a/nixos/doc/manual/configuration/declarative-packages.xml
+++ b/nixos/doc/manual/configuration/declarative-packages.xml
@@ -22,7 +22,7 @@
You can get a list of the available packages as follows:
-$ nix-env -qaP '*' --description
+$ nix-env -qaP '*' --description
nixos.firefox firefox-23.0 Mozilla Firefox - the browser, reloaded
...
diff --git a/nixos/doc/manual/configuration/ipv6-config.xml b/nixos/doc/manual/configuration/ipv6-config.xml
index e9ab7cce4eb..675a5d9a260 100644
--- a/nixos/doc/manual/configuration/ipv6-config.xml
+++ b/nixos/doc/manual/configuration/ipv6-config.xml
@@ -39,7 +39,7 @@
= {
address = "fe00::1";
interface = "enp0s3";
-}
+};
diff --git a/nixos/doc/manual/configuration/matrix.xml b/nixos/doc/manual/configuration/matrix.xml
index 66965460a15..ef8d5cbda88 100644
--- a/nixos/doc/manual/configuration/matrix.xml
+++ b/nixos/doc/manual/configuration/matrix.xml
@@ -33,91 +33,91 @@
installation instructions of Synapse .
+let
+ fqdn =
let
- fqdn =
- let
- join = hostName: domain: hostName + optionalString (domain != null) ".${domain}";
- in join config.networking.hostName config.networking.domain;
- in {
- networking = {
- hostName = "myhostname";
- domain = "example.org";
- };
- networking.firewall.allowedTCPPorts = [ 80 443 ];
+ join = hostName: domain: hostName + optionalString (domain != null) ".${domain}";
+ in join config.networking.hostName config.networking.domain;
+in {
+ networking = {
+ hostName = "myhostname";
+ domain = "example.org";
+ };
+ networking.firewall.allowedTCPPorts = [ 80 443 ];
- services.nginx = {
- enable = true;
- # only recommendedProxySettings and recommendedGzipSettings are strictly required,
- # but the rest make sense as well
- recommendedTlsSettings = true;
- recommendedOptimisation = true;
- recommendedGzipSettings = true;
- recommendedProxySettings = true;
+ services.nginx = {
+ enable = true;
+ # only recommendedProxySettings and recommendedGzipSettings are strictly required,
+ # but the rest make sense as well
+ recommendedTlsSettings = true;
+ recommendedOptimisation = true;
+ recommendedGzipSettings = true;
+ recommendedProxySettings = true;
- virtualHosts = {
- # This host section can be placed on a different host than the rest,
- # i.e. to delegate from the host being accessible as ${config.networking.domain}
- # to another host actually running the Matrix homeserver.
- "${config.networking.domain}" = {
- locations."= /.well-known/matrix/server".extraConfig =
- let
- # use 443 instead of the default 8448 port to unite
- # the client-server and server-server port for simplicity
- server = { "m.server" = "${fqdn}:443"; };
- in ''
- add_header Content-Type application/json;
- return 200 '${builtins.toJSON server}';
- '';
- locations."= /.well-known/matrix/client".extraConfig =
- let
- client = {
- "m.homeserver" = { "base_url" = "https://${fqdn}"; };
- "m.identity_server" = { "base_url" = "https://vector.im"; };
- };
- # ACAO required to allow riot-web on any URL to request this json file
- in ''
- add_header Content-Type application/json;
- add_header Access-Control-Allow-Origin *;
- return 200 '${builtins.toJSON client}';
- '';
- };
-
- # Reverse proxy for Matrix client-server and server-server communication
- ${fqdn} = {
- enableACME = true;
- forceSSL = true;
-
- # Or do a redirect instead of the 404, or whatever is appropriate for you.
- # But do not put a Matrix Web client here! See the Riot Web section below.
- locations."/".extraConfig = ''
- return 404;
- '';
-
- # forward all Matrix API calls to the synapse Matrix homeserver
- locations."/_matrix" = {
- proxyPass = "http://[::1]:8008";
+ virtualHosts = {
+ # This host section can be placed on a different host than the rest,
+ # i.e. to delegate from the host being accessible as ${config.networking.domain}
+ # to another host actually running the Matrix homeserver.
+ "${config.networking.domain}" = {
+ locations."= /.well-known/matrix/server".extraConfig =
+ let
+ # use 443 instead of the default 8448 port to unite
+ # the client-server and server-server port for simplicity
+ server = { "m.server" = "${fqdn}:443"; };
+ in ''
+ add_header Content-Type application/json;
+ return 200 '${builtins.toJSON server}';
+ '';
+ locations."= /.well-known/matrix/client".extraConfig =
+ let
+ client = {
+ "m.homeserver" = { "base_url" = "https://${fqdn}"; };
+ "m.identity_server" = { "base_url" = "https://vector.im"; };
};
- };
+ # ACAO required to allow riot-web on any URL to request this json file
+ in ''
+ add_header Content-Type application/json;
+ add_header Access-Control-Allow-Origin *;
+ return 200 '${builtins.toJSON client}';
+ '';
+ };
+
+ # Reverse proxy for Matrix client-server and server-server communication
+ ${fqdn} = {
+ enableACME = true;
+ forceSSL = true;
+
+ # Or do a redirect instead of the 404, or whatever is appropriate for you.
+ # But do not put a Matrix Web client here! See the Riot Web section below.
+ locations."/".extraConfig = ''
+ return 404;
+ '';
+
+ # forward all Matrix API calls to the synapse Matrix homeserver
+ locations."/_matrix" = {
+ proxyPass = "http://[::1]:8008"; # without a trailing /
};
};
- services.matrix-synapse = {
- enable = true;
- server_name = config.networking.domain;
- listeners = [
- {
- port = 8008;
- bind_address = "::1";
- type = "http";
- tls = false;
- x_forwarded = true;
- resources = [
- { names = [ "client" "federation" ]; compress = false; }
- ];
- }
- ];
- };
};
-
+ };
+ services.matrix-synapse = {
+ enable = true;
+ server_name = config.networking.domain;
+ listeners = [
+ {
+ port = 8008;
+ bind_address = "::1";
+ type = "http";
+ tls = false;
+ x_forwarded = true;
+ resources = [
+ { names = [ "client" "federation" ]; compress = false; }
+ ];
+ }
+ ];
+ };
+};
+
@@ -141,15 +141,15 @@
. To
create a new user or admin, run the following after you have set the secret
and have rebuilt NixOS:
-
- $ nix run nixpkgs.matrix-synapse
- $ register_new_matrix_user -k <your-registration-shared-secret> http://localhost:8008
- New user localpart: <your-username>
- Password:
- Confirm password:
- Make admin [no]:
- Success!
-
+
+$ nix run nixpkgs.matrix-synapse
+$ register_new_matrix_user -k your-registration-shared-secret http://localhost:8008
+New user localpart: your-username
+Password:
+Confirm password:
+Make admin [no]:
+Success!
+
In the example, this would create a user with the Matrix Identifier
@your-username:example.org. Note that the registration
secret ends up in the nix store and therefore is world-readable by any user
@@ -177,16 +177,16 @@
Matrix Now! for a list of existing clients and their supported
featureset.
- services.nginx.virtualHosts."riot.${fqdn}" = {
- enableACME = true;
- forceSSL = true;
- serverAliases = [
- "riot.${config.networking.domain}"
- ];
+services.nginx.virtualHosts."riot.${fqdn}" = {
+ enableACME = true;
+ forceSSL = true;
+ serverAliases = [
+ "riot.${config.networking.domain}"
+ ];
- root = pkgs.riot-web;
- };
-
+ root = pkgs.riot-web;
+};
+
diff --git a/nixos/doc/manual/configuration/modularity.xml b/nixos/doc/manual/configuration/modularity.xml
index 724abd31ca4..7ad0ae80a48 100644
--- a/nixos/doc/manual/configuration/modularity.xml
+++ b/nixos/doc/manual/configuration/modularity.xml
@@ -106,21 +106,21 @@ The unique option `services.httpd.adminAddr' is defined multiple times, in `/etc
configuration option is. The command allows you
to find out:
-$ nixos-option
+$ nixos-option
true
-$ nixos-option
+$ nixos-option
[ "tun" "ipv6" "loop" ... ]
Interactive exploration of the configuration is possible using nix
repl, a read-eval-print loop for Nix expressions. A typical use:
-$ nix repl '<nixpkgs/nixos>'
+$ nix repl '<nixpkgs/nixos>'
-nix-repl> config.
+nix-repl> config.
"mandark"
-nix-repl> map (x: x.hostName) config.
+nix-repl> map (x: x.hostName) config.
[ "example.org" "example.gov" ]
@@ -129,17 +129,17 @@ nix-repl> map (x: x.hostName) config.
+{ imports = [ (netConfig "nixos.localdomain") ]; }
+
diff --git a/nixos/doc/manual/configuration/profiles.xml b/nixos/doc/manual/configuration/profiles.xml
index c0a8f55785f..9d08f7f7bed 100644
--- a/nixos/doc/manual/configuration/profiles.xml
+++ b/nixos/doc/manual/configuration/profiles.xml
@@ -16,7 +16,7 @@
imports = [
<nixpkgs/nixos/modules/profiles/profile-name.nix>
];
-
+
Even if some of these profiles seem only useful in the context of install
media, many are actually intended to be used in real installs.
diff --git a/nixos/doc/manual/configuration/profiles/clone-config.xml b/nixos/doc/manual/configuration/profiles/clone-config.xml
index 234835845e2..04fa1643d0f 100644
--- a/nixos/doc/manual/configuration/profiles/clone-config.xml
+++ b/nixos/doc/manual/configuration/profiles/clone-config.xml
@@ -11,4 +11,11 @@
creating the image in the first place. As a result it allows users to edit
and rebuild the live-system.
+
+
+ On images where the installation media also becomes an installation target,
+ copying over configuration.nix should be disabled by
+ setting installer.cloneConfig to false.
+ For example, this is done in sd-image-aarch64.nix.
+
diff --git a/nixos/doc/manual/configuration/profiles/installation-device.xml b/nixos/doc/manual/configuration/profiles/installation-device.xml
index 3dcdf403d89..192ae955b68 100644
--- a/nixos/doc/manual/configuration/profiles/installation-device.xml
+++ b/nixos/doc/manual/configuration/profiles/installation-device.xml
@@ -6,33 +6,31 @@
Installation Device
- Provides a basic configuration for installation devices like CDs. This means
- enabling hardware scans, using the
- Clone Config profile to guarantee
- /etc/nixos/configuration.nix exists (for
- nixos-rebuild to work), a copy of the Nixpkgs channel
- snapshot used to create the install media.
+ Provides a basic configuration for installation devices like CDs.
+ This enables redistributable firmware, includes the
+ Clone Config profile
+ and a copy of the Nixpkgs channel, so nixos-install
+ works out of the box.
-
- Additionally, documentation for
- Nixpkgs and NixOS
- are forcefully enabled (to override the
+ Documentation for Nixpkgs
+ and NixOS are
+ forcefully enabled (to override the
Minimal profile preference); the
- NixOS manual is shown automatically on TTY 8, sudo and udisks are disabled.
- Autologin is enabled as root.
+ NixOS manual is shown automatically on TTY 8, udisks is disabled.
+ Autologin is enabled as nixos user, while passwordless
+ login as both root and nixos is possible.
+ Passwordless sudo is enabled too.
+ wpa_supplicant is
+ enabled, but configured to not autostart.
+
+
+ It is explained how to login, start the ssh server, and if available,
+ how to start the display manager.
- A message is shown to the user to start a display manager if needed, ssh with
- are enabled (but
- doesn't autostart). WPA Supplicant is also enabled without autostart.
-
-
-
- Finally, vim is installed, root is set to not have a password, the kernel is
- made more silent for remote public IP installs, and several settings are
- tweaked so that the installer has a better chance of succeeding under
- low-memory environments.
+ Several settings are tweaked so that the installer has a better chance of
+ succeeding under low-memory environments.
diff --git a/nixos/doc/manual/configuration/user-mgmt.xml b/nixos/doc/manual/configuration/user-mgmt.xml
index 66c1c6eb3a1..4b1710f3a2b 100644
--- a/nixos/doc/manual/configuration/user-mgmt.xml
+++ b/nixos/doc/manual/configuration/user-mgmt.xml
@@ -44,7 +44,7 @@
A user ID (uid) is assigned automatically. You can also specify a uid
manually by adding
- uid = 1000;
+uid = 1000;
to the user specification.
diff --git a/nixos/doc/manual/configuration/wireless.xml b/nixos/doc/manual/configuration/wireless.xml
index 7c7b3b4a65a..9c0e3a8d7aa 100644
--- a/nixos/doc/manual/configuration/wireless.xml
+++ b/nixos/doc/manual/configuration/wireless.xml
@@ -37,7 +37,7 @@
If you are using WPA2 you can generate pskRaw key using
wpa_passphrase:
-$ wpa_passphrase ESSID PSK
+$ wpa_passphrase ESSID PSK
network={
ssid="echelon"
#psk="abcdefgh"
@@ -54,10 +54,10 @@ network={
or you can use it to directly generate the
wpa_supplicant.conf:
-# wpa_passphrase ESSID PSK > /etc/wpa_supplicant.conf
+# wpa_passphrase ESSID PSK > /etc/wpa_supplicant.conf
After you have edited the wpa_supplicant.conf, you need to
restart the wpa_supplicant service.
-# systemctl restart wpa_supplicant.service
+# systemctl restart wpa_supplicant.service
diff --git a/nixos/doc/manual/configuration/x-windows.xml b/nixos/doc/manual/configuration/x-windows.xml
index 798d1fbdfd8..f6f659b02af 100644
--- a/nixos/doc/manual/configuration/x-windows.xml
+++ b/nixos/doc/manual/configuration/x-windows.xml
@@ -125,10 +125,12 @@
You will need to reboot after enabling this driver to prevent a clash with
other kernel modules.
+
- Note: for recent AMD GPUs you most likely want to keep either the defaults
+ For recent AMD GPUs you most likely want to keep either the defaults
or "amdgpu" (both free).
+
Touchpads
@@ -157,4 +159,140 @@
versions.
+
+ Custom XKB layouts
+
+ It is possible to install custom
+
+ XKB
+
+ keyboard layouts using the option
+ .
+ As a first example, we are going to create a layout based on the basic US
+ layout, with an additional layer to type some greek symbols by pressing the
+ right-alt key.
+
+
+ To do this we are going to create a us-greek file
+ with a xkb_symbols section.
+
+
+xkb_symbols "us-greek"
+{
+ include "us(basic)" // includes the base US keys
+ include "level3(ralt_switch)" // configures right alt as a third level switch
+
+ key <LatA> { [ a, A, Greek_alpha ] };
+ key <LatB> { [ b, B, Greek_beta ] };
+ key <LatG> { [ g, G, Greek_gamma ] };
+ key <LatD> { [ d, D, Greek_delta ] };
+ key <LatZ> { [ z, Z, Greek_zeta ] };
+};
+
+
+ To install the layout, the filepath, a description and the list of
+ languages must be given:
+
+
+.us-greek = {
+ description = "US layout with alt-gr greek";
+ languages = [ "eng" ];
+ symbolsFile = /path/to/us-greek;
+}
+
+
+
+ The name should match the one given to the
+ xkb_symbols block.
+
+
+
+ The layout should now be installed and ready to use: try it by
+ running setxkbmap us-greek and type
+ <alt>+a. To change the default the usual
+
+ option can still be used.
+
+
+ A layout can have several other components besides
+ xkb_symbols, for example we will define new
+ keycodes for some multimedia key and bind these to some symbol.
+
+
+ Use the xev utility from
+ pkgs.xorg.xev to find the codes of the keys of
+ interest, then create a media-key file to hold
+ the keycodes definitions
+
+
+xkb_keycodes "media"
+{
+ <volUp> = 123;
+ <volDown> = 456;
+}
+
+
+ Now use the newly define keycodes in media-sym:
+
+
+xkb_symbols "media"
+{
+ key.type = "ONE_LEVEL";
+ key <volUp> { [ XF86AudioLowerVolume ] };
+ key <volDown> { [ XF86AudioRaiseVolume ] };
+}
+
+
+ As before, to install the layout do
+
+
+.media = {
+ description = "Multimedia keys remapping";
+ languages = [ "eng" ];
+ symbolsFile = /path/to/media-key;
+ keycodesFile = /path/to/media-sym;
+};
+
+
+
+ The function pkgs.writeText <filename> <content>
+ can be useful if you prefer to keep the layout definitions
+ inside the NixOS configuration.
+
+
+
+ Unfortunately, the Xorg server does not (currently) support setting a
+ keymap directly but relies instead on XKB rules to select the matching
+ components (keycodes, types, ...) of a layout. This means that components
+ other than symbols won't be loaded by default. As a workaround, you
+ can set the keymap using setxkbmap at the start of the
+ session with:
+
+
+ = "setxkbmap -keycodes media";
+
+
+ If you are manually starting the X server, you should set the argument
+ -xkbdir /etc/X11/xkb, otherwise X won't find your layout files.
+ For example with xinit run
+ $ xinit -- -xkbdir /etc/X11/xkb
+
+
+ To learn how to write layouts take a look at the XKB
+
+ documentation
+ . More example layouts can also be found
+
+ here
+ .
+
+
diff --git a/nixos/doc/manual/configuration/xfce.xml b/nixos/doc/manual/configuration/xfce.xml
index 77d5d963279..6ac99c6b2be 100644
--- a/nixos/doc/manual/configuration/xfce.xml
+++ b/nixos/doc/manual/configuration/xfce.xml
@@ -11,7 +11,7 @@
xfce.enable = true;
default = "xfce";
};
-
+
Optionally, compton can be enabled for nice graphical
@@ -24,7 +24,7 @@
shadow = true;
fadeDelta = 4;
};
-
+
Some Xfce programs are not installed automatically. To install them manually
@@ -37,7 +37,7 @@
To enable Thunar volume support, put
= true;
-
+
into your configuration.nix.
@@ -58,14 +58,14 @@
on start (look at journalctl --user -b).
Thunar:2410): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.UDisks2VolumeMonitor is not supported
-
+
This is caused by some needed GNOME services not running. This is all fixed
by enabling "Launch GNOME services on startup" in the Advanced tab of the
Session and Startup settings panel. Alternatively, you can run this command
to do the same thing.
-$ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
-
+$ xfconf-query -c xfce4-session -p /compat/LaunchGNOME -s true
+
A log-out and re-log will be needed for this to take effect.
diff --git a/nixos/doc/manual/default.nix b/nixos/doc/manual/default.nix
index 7fc0ad702f8..f9de2db1a08 100644
--- a/nixos/doc/manual/default.nix
+++ b/nixos/doc/manual/default.nix
@@ -5,55 +5,6 @@ with pkgs;
let
lib = pkgs.lib;
- # Remove invisible and internal options.
- optionsListVisible = lib.filter (opt: opt.visible && !opt.internal) (lib.optionAttrSetToDocList options);
-
- # Replace functions by the string
- substFunction = x:
- if builtins.isAttrs x then lib.mapAttrs (name: substFunction) x
- else if builtins.isList x then map substFunction x
- else if lib.isFunction x then ""
- else x;
-
- # Generate DocBook documentation for a list of packages. This is
- # what `relatedPackages` option of `mkOption` from
- # ../../../lib/options.nix influences.
- #
- # Each element of `relatedPackages` can be either
- # - a string: that will be interpreted as an attribute name from `pkgs`,
- # - a list: that will be interpreted as an attribute path from `pkgs`,
- # - an attrset: that can specify `name`, `path`, `package`, `comment`
- # (either of `name`, `path` is required, the rest are optional).
- genRelatedPackages = packages:
- let
- unpack = p: if lib.isString p then { name = p; }
- else if lib.isList p then { path = p; }
- else p;
- describe = args:
- let
- title = args.title or null;
- name = args.name or (lib.concatStringsSep "." args.path);
- path = args.path or [ args.name ];
- package = args.package or (lib.attrByPath path (throw "Invalid package attribute path `${toString path}'") pkgs);
- in ""
- + "${lib.optionalString (title != null) "${title} aka "}pkgs.${name} (${package.meta.name})"
- + lib.optionalString (!package.meta.available) " [UNAVAILABLE]"
- + ": ${package.meta.description or "???"}."
- + lib.optionalString (args ? comment) "\n${args.comment}"
- # Lots of `longDescription's break DocBook, so we just wrap them into
- + lib.optionalString (package.meta ? longDescription) "\n${package.meta.longDescription}"
- + "";
- in "${lib.concatStringsSep "\n" (map (p: describe (unpack p)) packages)}";
-
- optionsListDesc = lib.flip map optionsListVisible (opt: opt // {
- # Clean up declaration sites to not refer to the NixOS source tree.
- declarations = map stripAnyPrefixes opt.declarations;
- }
- // lib.optionalAttrs (opt ? example) { example = substFunction opt.example; }
- // lib.optionalAttrs (opt ? default) { default = substFunction opt.default; }
- // lib.optionalAttrs (opt ? type) { type = substFunction opt.type; }
- // lib.optionalAttrs (opt ? relatedPackages && opt.relatedPackages != []) { relatedPackages = genRelatedPackages opt.relatedPackages; });
-
# We need to strip references to /nix/store/* from options,
# including any `extraSources` if some modules came from elsewhere,
# or else the build will fail.
@@ -63,37 +14,13 @@ let
prefixesToStrip = map (p: "${toString p}/") ([ ../../.. ] ++ extraSources);
stripAnyPrefixes = lib.flip (lib.fold lib.removePrefix) prefixesToStrip;
- # Custom "less" that pushes up all the things ending in ".enable*"
- # and ".package*"
- optionLess = a: b:
- let
- ise = lib.hasPrefix "enable";
- isp = lib.hasPrefix "package";
- cmp = lib.splitByAndCompare ise lib.compare
- (lib.splitByAndCompare isp lib.compare lib.compare);
- in lib.compareLists cmp a.loc b.loc < 0;
-
- # Customly sort option list for the man page.
- optionsList = lib.sort optionLess optionsListDesc;
-
- # Convert the list of options into an XML file.
- optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);
-
- optionsDocBook = runCommand "options-db.xml" {} ''
- optionsXML=${optionsXML}
- if grep /nixpkgs/nixos/modules $optionsXML; then
- echo "The manual appears to depend on the location of Nixpkgs, which is bad"
- echo "since this prevents sharing via the NixOS channel. This is typically"
- echo "caused by an option default that refers to a relative path (see above"
- echo "for hints about the offending path)."
- exit 1
- fi
- ${buildPackages.libxslt.bin}/bin/xsltproc \
- --stringparam revision '${revision}' \
- -o intermediate.xml ${./options-to-docbook.xsl} $optionsXML
- ${buildPackages.libxslt.bin}/bin/xsltproc \
- -o "$out" ${./postprocess-option-descriptions.xsl} intermediate.xml
- '';
+ optionsDoc = buildPackages.nixosOptionsDoc {
+ inherit options revision;
+ transformOptions = opt: opt // {
+ # Clean up declaration sites to not refer to the NixOS source tree.
+ declarations = map stripAnyPrefixes opt.declarations;
+ };
+ };
sources = lib.sourceFilesBySuffices ./. [".xml"];
@@ -108,7 +35,7 @@ let
generatedSources = runCommand "generated-docbook" {} ''
mkdir $out
ln -s ${modulesDoc} $out/modules.xml
- ln -s ${optionsDocBook} $out/options-db.xml
+ ln -s ${optionsDoc.optionsDocBook} $out/options-db.xml
printf "%s" "${version}" > $out/version
'';
@@ -234,22 +161,7 @@ let
in rec {
inherit generatedSources;
- # The NixOS options in JSON format.
- optionsJSON = runCommand "options-json"
- { meta.description = "List of NixOS options in JSON format";
- }
- ''
- # Export list of options in different format.
- dst=$out/share/doc/nixos
- mkdir -p $dst
-
- cp ${builtins.toFile "options.json" (builtins.unsafeDiscardStringContext (builtins.toJSON
- (builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList))))
- } $dst/options.json
-
- mkdir -p $out/nix-support
- echo "file json $dst/options.json" >> $out/nix-support/hydra-build-products
- ''; # */
+ inherit (optionsDoc) optionsJSON optionsXML optionsDocBook;
# Generate the NixOS manual.
manualHTML = runCommand "nixos-manual-html"
diff --git a/nixos/doc/manual/development/building-nixos.xml b/nixos/doc/manual/development/building-nixos.xml
index 23d9ddf88a7..56a596baed0 100644
--- a/nixos/doc/manual/development/building-nixos.xml
+++ b/nixos/doc/manual/development/building-nixos.xml
@@ -14,14 +14,14 @@
Default CD/DVD configurations are available inside
nixos/modules/installer/cd-dvd.
-$ git clone https://github.com/NixOS/nixpkgs.git
-$ cd nixpkgs/nixos
-$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
+$ git clone https://github.com/NixOS/nixpkgs.git
+$ cd nixpkgs/nixos
+$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
Before burning your CD/DVD, you can check the content of the image by
mounting anywhere like suggested by the following command:
-# mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso
+# mount -o loop -t iso9660 ./result/iso/cd.iso /mnt/iso
diff --git a/nixos/doc/manual/development/building-parts.xml b/nixos/doc/manual/development/building-parts.xml
index b4791b72970..88369fb891b 100644
--- a/nixos/doc/manual/development/building-parts.xml
+++ b/nixos/doc/manual/development/building-parts.xml
@@ -8,8 +8,8 @@
With the command nix-build, you can build specific parts
of your NixOS configuration. This is done as follows:
-$ cd /path/to/nixpkgs/nixos
-$ nix-build -A config.option
+$ cd /path/to/nixpkgs/nixos
+$ nix-build -A config.option
where option is a NixOS option with type
“derivation” (i.e. something that can be built). Attributes of interest
include:
@@ -28,7 +28,7 @@ $ nix-build -A config.option
A shortcut to build this is:
-$ nix-build -A system
+$ nix-build -A system
@@ -66,9 +66,9 @@ $ nix-build -A system
test whether the kernel and the initial ramdisk boot correctly, by using
QEMU’s and options:
-$ nix-build -A config.system.build.initialRamdisk -o initrd
-$ nix-build -A config.system.build.kernel -o kernel
-$ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/null
+$ nix-build -A config.system.build.initialRamdisk -o initrd
+$ nix-build -A config.system.build.kernel -o kernel
+$ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/null
@@ -99,15 +99,15 @@ $ qemu-system-x86_64 -kernel ./kernel/bzImage -initrd ./initrd/initrd -hda /dev/
contain dots (e.g. httpd.service), you need to put
them between quotes, like this:
-$ nix-build -A 'config.systemd.units."httpd.service".unit'
+$ nix-build -A 'config.systemd.units."httpd.service".unit'
You can also test individual units, without rebuilding the whole system,
by putting them in /run/systemd/system:
-$ cp $(nix-build -A 'config.systemd.units."httpd.service".unit')/httpd.service \
+$ cp $(nix-build -A 'config.systemd.units."httpd.service".unit')/httpd.service \
/run/systemd/system/tmp-httpd.service
-# systemctl daemon-reload
-# systemctl start tmp-httpd.service
+# systemctl daemon-reload
+# systemctl start tmp-httpd.service
Note that the unit must not have the same name as any unit in
/etc/systemd/system since those take precedence over
diff --git a/nixos/doc/manual/development/option-types.xml b/nixos/doc/manual/development/option-types.xml
index 069cc36573d..8fcbb627342 100644
--- a/nixos/doc/manual/development/option-types.xml
+++ b/nixos/doc/manual/development/option-types.xml
@@ -346,6 +346,18 @@
+
+
+ types.oneOf [ t1 t2 ... ]
+
+
+
+ Type t1 or type t2 and so forth,
+ e.g. with types; oneOf [ int str bool ]. Multiple definitions
+ cannot be merged.
+
+
+
types.coercedTo from f to
diff --git a/nixos/doc/manual/development/releases.xml b/nixos/doc/manual/development/releases.xml
index f45fecd16c3..1cdec64f69b 100755
--- a/nixos/doc/manual/development/releases.xml
+++ b/nixos/doc/manual/development/releases.xml
@@ -98,6 +98,16 @@
stableBranch set to false.
+
+
+ Remove attributes that we know we will not be able to support,
+ especially if there is a stable alternative. E.g. Check that our
+ Linux kernels'
+
+ projected end-of-life are after our release projected
+ end-of-life
+
+
Edit changelog at
@@ -210,6 +220,30 @@
+
+ Release Management Team
+
+ For each release there are two release managers. After each release the
+ release manager having managed two releases steps down and the release
+ management team of the last release appoints a new release manager.
+
+
+ This makes sure a release management team always consists of one release
+ manager who already has managed one release and one release manager being
+ introduced to their role, making it easier to pass on knowledge and
+ experience.
+
+
+ A release manager's role and responsibilities are:
+
+
+ manage the release process
+ start discussions about features and changes for a given release
+ create a roadmap
+ release in cooperation with Eelco Dolstra
+ decide which bug fixes, features, etc... get backported after a release
+
+
Release schedule
diff --git a/nixos/doc/manual/development/running-nixos-tests-interactively.xml b/nixos/doc/manual/development/running-nixos-tests-interactively.xml
index c15ad448317..e390d62fde2 100644
--- a/nixos/doc/manual/development/running-nixos-tests-interactively.xml
+++ b/nixos/doc/manual/development/running-nixos-tests-interactively.xml
@@ -9,17 +9,17 @@
The test itself can be run interactively. This is particularly useful when
developing or debugging a test:
-$ nix-build nixos/tests/login.nix -A driver
-$ ./result/bin/nixos-test-driver
+$ nix-build nixos/tests/login.nix -A driver
+$ ./result/bin/nixos-test-driver
starting VDE switch for network 1
->
+>
You can then take any Perl statement, e.g.
-> startAll
-> testScript
-> $machine->succeed("touch /tmp/foo")
-> print($machine->succeed("pwd")) # Show stdout of command
+> startAll
+> testScript
+> $machine->succeed("touch /tmp/foo")
+> print($machine->succeed("pwd")) # Show stdout of command
The function testScript executes the entire test script
and drops you back into the test driver command line upon its completion.
@@ -30,8 +30,8 @@ starting VDE switch for network 1
To just start and experiment with the VMs, run:
-$ nix-build nixos/tests/login.nix -A driver
-$ ./result/bin/nixos-run-vms
+$ nix-build nixos/tests/login.nix -A driver
+$ ./result/bin/nixos-run-vms
The script nixos-run-vms starts the virtual machines
defined by test.
diff --git a/nixos/doc/manual/development/running-nixos-tests.xml b/nixos/doc/manual/development/running-nixos-tests.xml
index eadbe1ea4f2..13ae1ed9369 100644
--- a/nixos/doc/manual/development/running-nixos-tests.xml
+++ b/nixos/doc/manual/development/running-nixos-tests.xml
@@ -12,12 +12,12 @@
xlink:href="https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/login.nix">login.nix,
you just do:
-$ nix-build '<nixpkgs/nixos/tests/login.nix>'
+$ nix-build '<nixpkgs/nixos/tests/login.nix>'
or, if you don’t want to rely on NIX_PATH:
-$ cd /my/nixpkgs/nixos/tests
-$ nix-build login.nix
+$ cd /my/nixpkgs/nixos/tests
+$ nix-build login.nix
…
running the VM test script
machine: QEMU running (pid 8841)
@@ -30,7 +30,7 @@ machine: QEMU running (pid 8841)
fast, as no disk image needs to be created. Afterwards, you can view a
pretty-printed log of the test:
-$ firefox result/log.html
+$ firefox result/log.html
diff --git a/nixos/doc/manual/development/sources.xml b/nixos/doc/manual/development/sources.xml
index eec9b56b1c0..3c30c782746 100644
--- a/nixos/doc/manual/development/sources.xml
+++ b/nixos/doc/manual/development/sources.xml
@@ -11,10 +11,10 @@
modify NixOS, however, you should check out the latest sources from Git. This
is as follows:
-$ git clone https://github.com/NixOS/nixpkgs
-$ cd nixpkgs
-$ git remote add channels https://github.com/NixOS/nixpkgs-channels
-$ git remote update channels
+$ git clone https://github.com/NixOS/nixpkgs
+$ cd nixpkgs
+$ git remote add channels https://github.com/NixOS/nixpkgs-channels
+$ git remote update channels
This will check out the latest Nixpkgs sources to
./nixpkgs the NixOS sources to
@@ -32,23 +32,23 @@ $ git remote update channels
not have caught up yet and you’ll have to rebuild everything from source.
So you may want to create a local branch based on your current NixOS version:
-$ nixos-version
+$ nixos-version
17.09pre104379.6e0b727 (Hummingbird)
-$ git checkout -b local 6e0b727
+$ git checkout -b local 6e0b727
Or, to base your local branch on the latest version available in a NixOS
channel:
-$ git remote update channels
-$ git checkout -b local channels/nixos-17.03
+$ git remote update channels
+$ git checkout -b local channels/nixos-17.03
(Replace nixos-17.03 with the name of the channel you want
to use.) You can use git merge or git
rebase to keep your local branch in sync with the channel, e.g.
-$ git remote update channels
-$ git merge channels/nixos-17.03
+$ git remote update channels
+$ git merge channels/nixos-17.03
You can use git cherry-pick to copy commits from your
local branch to the upstream branch.
@@ -58,7 +58,7 @@ $ git merge channels/nixos-17.03
tell nixos-rebuild about them using the
flag:
-# nixos-rebuild switch -I nixpkgs=/my/sources/nixpkgs
+# nixos-rebuild switch -I nixpkgs=/my/sources/nixpkgs
@@ -67,7 +67,7 @@ $ git merge channels/nixos-17.03
/my/sources/nixpkgs, or change the
default by adding a symlink in ~/.nix-defexpr:
-$ ln -s /my/sources/nixpkgs ~/.nix-defexpr/nixpkgs
+$ ln -s /my/sources/nixpkgs ~/.nix-defexpr/nixpkgs
You may want to delete the symlink
~/.nix-defexpr/channels_root to prevent root’s NixOS
diff --git a/nixos/doc/manual/development/testing-installer.xml b/nixos/doc/manual/development/testing-installer.xml
index 63f5f3de7f4..902f995fbc1 100644
--- a/nixos/doc/manual/development/testing-installer.xml
+++ b/nixos/doc/manual/development/testing-installer.xml
@@ -8,15 +8,15 @@
Building, burning, and booting from an installation CD is rather tedious, so
here is a quick way to see if the installer works properly:
-# mount -t tmpfs none /mnt
-# nixos-generate-config --root /mnt
-$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-install
-# ./result/bin/nixos-install
+# mount -t tmpfs none /mnt
+# nixos-generate-config --root /mnt
+$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-install
+# ./result/bin/nixos-install
To start a login shell in the new NixOS installation in
/mnt:
-$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-enter
-# ./result/bin/nixos-enter
+$ nix-build '<nixpkgs/nixos>' -A config.system.build.nixos-enter
+# ./result/bin/nixos-enter
diff --git a/nixos/doc/manual/development/writing-nixos-tests.xml b/nixos/doc/manual/development/writing-nixos-tests.xml
index 4a2615c9407..6be2d0a4d23 100644
--- a/nixos/doc/manual/development/writing-nixos-tests.xml
+++ b/nixos/doc/manual/development/writing-nixos-tests.xml
@@ -397,9 +397,9 @@ startAll;
- $machine->systemctl("list-jobs --no-pager"); // runs `systemctl list-jobs --no-pager`
- $machine->systemctl("list-jobs --no-pager", "any-user"); // spawns a shell for `any-user` and runs `systemctl --user list-jobs --no-pager`
-
+$machine->systemctl("list-jobs --no-pager"); // runs `systemctl list-jobs --no-pager`
+$machine->systemctl("list-jobs --no-pager", "any-user"); // spawns a shell for `any-user` and runs `systemctl --user list-jobs --no-pager`
+
@@ -410,10 +410,10 @@ startAll;
To test user units declared by systemd.user.services the
optional $user argument can be used:
- $machine->start;
- $machine->waitForX;
- $machine->waitForUnit("xautolock.service", "x-session-user");
-
+$machine->start;
+$machine->waitForX;
+$machine->waitForUnit("xautolock.service", "x-session-user");
+
This applies to systemctl, getUnitInfo,
waitForUnit, startJob and
stopJob.
diff --git a/nixos/doc/manual/installation/changing-config.xml b/nixos/doc/manual/installation/changing-config.xml
index 1a116ec0b65..48193d986ab 100644
--- a/nixos/doc/manual/installation/changing-config.xml
+++ b/nixos/doc/manual/installation/changing-config.xml
@@ -9,10 +9,18 @@
changed something in that file, you
should do
-# nixos-rebuild switch
+# nixos-rebuild switch
+
to build the new configuration, make it the default configuration for
booting, and try to realise the configuration in the running system (e.g., by
restarting system services).
+
+
+ This command doesn't start/stop user
+ services automatically. nixos-rebuild only runs a
+ daemon-reload for each user with running user services.
+
+
@@ -23,7 +31,8 @@
You can also do
-# nixos-rebuild test
+# nixos-rebuild test
+
to build the configuration and switch the running system to it, but without
making it the boot default. So if (say) the configuration locks up your
machine, you can just reboot to get back to a working configuration.
@@ -31,7 +40,8 @@
There is also
-# nixos-rebuild boot
+# nixos-rebuild boot
+
to build the configuration and make it the boot default, but not switch to it
now (so it will only take effect after the next reboot).
@@ -39,7 +49,8 @@
You can make your configuration show up in a different submenu of the GRUB 2
boot screen by giving it a different profile name, e.g.
-# nixos-rebuild switch -p test
+# nixos-rebuild switch -p test
+
which causes the new configuration (and previous ones created using
-p test) to show up in the GRUB submenu “NixOS - Profile
'test'”. This can be useful to separate test configurations from
@@ -48,7 +59,8 @@
Finally, you can do
-$ nixos-rebuild build
+$ nixos-rebuild build
+
to build the configuration but nothing more. This is useful to see whether
everything compiles cleanly.
@@ -58,8 +70,8 @@ $ nixos-rebuild build
virtual machine that contains the desired configuration.
Just do
-$ nixos-rebuild build-vm
-$ ./result/bin/run-*-vm
+$ nixos-rebuild build-vm
+$ ./result/bin/run-*-vm
The VM does not have any data from your host system, so your existing user
accounts and home directories will not be available unless you have set
@@ -74,12 +86,12 @@ $ ./result/bin/run-*-vm
guest. For instance, the following will forward host port 2222 to guest port
22 (SSH):
-$ QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-*-vm
+$ QEMU_NET_OPTS="hostfwd=tcp::2222-:22" ./result/bin/run-*-vm
allowing you to log in via SSH (assuming you have set the appropriate
passwords or SSH authorized keys):
-$ ssh -p 2222 localhost
+$ ssh -p 2222 localhost
diff --git a/nixos/doc/manual/installation/installing-from-other-distro.xml b/nixos/doc/manual/installation/installing-from-other-distro.xml
index d1e49a2a159..8ed45899fd7 100644
--- a/nixos/doc/manual/installation/installing-from-other-distro.xml
+++ b/nixos/doc/manual/installation/installing-from-other-distro.xml
@@ -47,8 +47,8 @@
Short version:
-$ curl https://nixos.org/nix/install | sh
-$ . $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell
+$ curl https://nixos.org/nix/install | sh
+$ . $HOME/.nix-profile/etc/profile.d/nix.sh # …or open a fresh shell
More details in the
the nixpkgs channel by default.
-$ nix-channel --list
+$ nix-channel --list
nixpkgs https://nixos.org/channels/nixpkgs-unstable
As that channel gets released without running the NixOS tests, it will be
safer to use the nixos-* channels instead:
-$ nix-channel --add https://nixos.org/channels/nixos-version nixpkgs
+$ nix-channel --add https://nixos.org/channels/nixos-version nixpkgs
You may want to throw in a nix-channel --update for good
measure.
@@ -89,7 +89,7 @@ $ nix-channel --add https://nixos.org/channels/nixos-version
-$ nix-env -iE "_: with import <nixpkgs/nixos> { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ]"
+$ nix-env -iE "_: with import <nixpkgs/nixos> { configuration = {}; }; with config.system.build; [ nixos-generate-config nixos-install nixos-enter manual.manpages ]"
@@ -116,7 +116,7 @@ $ nix-channel --add https://nixos.org/channels/nixos-version
Generate your NixOS configuration:
-$ sudo `which nixos-generate-config` --root /mnt
+$ sudo `which nixos-generate-config` --root /mnt
You'll probably want to edit the configuration files. Refer to the
nixos-generate-config step in
@@ -148,8 +148,8 @@ $ nix-channel --add https://nixos.org/channels/nixos-version
-$ sudo groupadd -g 30000 nixbld
-$ sudo useradd -u 30000 -g nixbld -G nixbld nixbld
+$ sudo groupadd -g 30000 nixbld
+$ sudo useradd -u 30000 -g nixbld -G nixbld nixbld
@@ -161,7 +161,7 @@ $ sudo useradd -u 30000 -g nixbld -G nixbld nixbld
existing systems without the help of a rescue USB drive or similar.
-$ sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt
+$ sudo PATH="$PATH" NIX_PATH="$NIX_PATH" `which nixos-install` --root /mnt
Again, please refer to the nixos-install step in
for more information.
@@ -175,8 +175,8 @@ $ sudo useradd -u 30000 -g nixbld -G nixbld nixbld
Optionally, you may want to clean up your non-NixOS distribution:
-$ sudo userdel nixbld
-$ sudo groupdel nixbld
+$ sudo userdel nixbld
+$ sudo groupdel nixbld
If you do not wish to keep the Nix package manager installed either, run
something like sudo rm -rv ~/.nix-* /nix and remove the
@@ -193,7 +193,7 @@ $ sudo groupdel nixbld
Generate your NixOS configuration:
-$ sudo `which nixos-generate-config` --root /
+$ sudo `which nixos-generate-config` --root /
Note that this will place the generated configuration files in
/etc/nixos. You'll probably want to edit the
@@ -212,21 +212,21 @@ $ sudo groupdel nixbld
users.users.root.initialHashedPassword = "";
-
+
Build the NixOS closure and install it in the system
profile:
-$ nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-config=/etc/nixos/configuration.nix -iA system
+$ nix-env -p /nix/var/nix/profiles/system -f '<nixpkgs/nixos>' -I nixos-config=/etc/nixos/configuration.nix -iA system
Change ownership of the /nix tree to root (since your
Nix install was probably single user):
-$ sudo chown -R 0.0 /nix
+$ sudo chown -R 0.0 /nix
@@ -284,16 +284,16 @@ $ sudo groupdel nixbld
Let's create the files:
-$ sudo touch /etc/NIXOS
-$ sudo touch /etc/NIXOS_LUSTRATE
-
+$ sudo touch /etc/NIXOS
+$ sudo touch /etc/NIXOS_LUSTRATE
+
Let's also make sure the NixOS configuration files are kept once we reboot
on NixOS:
-$ echo etc/nixos | sudo tee -a /etc/NIXOS_LUSTRATE
-
+$ echo etc/nixos | sudo tee -a /etc/NIXOS_LUSTRATE
+
@@ -312,8 +312,9 @@ $ echo etc/nixos | sudo tee -a /etc/NIXOS_LUSTRATE
-$ sudo mv -v /boot /boot.bak &&
- sudo /nix/var/nix/profiles/system/bin/switch-to-configuration boot
+$ sudo mv -v /boot /boot.bak &&
+sudo /nix/var/nix/profiles/system/bin/switch-to-configuration boot
+
Cross your fingers, reboot, hopefully you should get a NixOS prompt!
diff --git a/nixos/doc/manual/installation/installing-usb.xml b/nixos/doc/manual/installation/installing-usb.xml
index c0372e8ebd9..83598635acc 100644
--- a/nixos/doc/manual/installation/installing-usb.xml
+++ b/nixos/doc/manual/installation/installing-usb.xml
@@ -15,16 +15,16 @@
On macOS
-
-$ diskutil list
+
+$ diskutil list
[..]
/dev/diskN (external, physical):
#: TYPE NAME SIZE IDENTIFIER
[..]
-$ diskutil unmountDisk diskN
+$ diskutil unmountDisk diskN
Unmount of all volumes on diskN was successful
-$ sudo dd if=nix.iso of=/dev/rdiskN
-
+$ sudo dd if=nix.iso of=/dev/rdiskN
+
Using the 'raw' rdiskN device instead of
diskN completes in minutes instead of hours. After
dd completes, a GUI dialog "The disk you inserted was
diff --git a/nixos/doc/manual/installation/installing.xml b/nixos/doc/manual/installation/installing.xml
index 9687c21a01e..f1e1568c034 100644
--- a/nixos/doc/manual/installation/installing.xml
+++ b/nixos/doc/manual/installation/installing.xml
@@ -29,13 +29,14 @@
- You are logged-in automatically as root. (The
- root user account has an empty password.)
+ You are logged-in automatically as nixos.
+ The nixos user account has an empty password so you
+ can use sudo without a password.
If you downloaded the graphical ISO image, you can run systemctl
- start display-manager to start KDE. If you want to continue on the
+ start display-manager to start the desktop environment. If you want to continue on the
terminal, you can use loadkeys to switch to your
preferred keyboard layout. (We even provide neo2 via loadkeys de
neo!)
@@ -65,9 +66,9 @@
If you would like to continue the installation from a different machine you
- need to activate the SSH daemon via systemctl start
- sshd. In order to be able to login you also need to set a
- password for root using passwd.
+ need to activate the SSH daemon via systemctl start
+ sshd. You then must set a password for either root or
+ nixos with passwd> to be able to login.
@@ -110,7 +111,7 @@
Create a GPT partition table.
-# parted /dev/sda -- mklabel gpt
+# parted /dev/sda -- mklabel gpt
@@ -118,14 +119,14 @@
Add the root partition. This will fill the disk
except for the end part, where the swap will live, and the space left in
front (512MiB) which will be used by the boot partition.
-# parted /dev/sda -- mkpart primary 512MiB -8GiB
+# parted /dev/sda -- mkpart primary 512MiB -8GiB
Next, add a swap partition. The size required will
vary according to needs, here a 8GiB one is created.
-# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
+# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
The swap partition size rules are no different than for other Linux
@@ -140,8 +141,8 @@
the ESP (EFI system partition) as its /boot
partition. It uses the initially reserved 512MiB at the start of the
disk.
-# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
-# parted /dev/sda -- set 3 boot on
+# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
+# parted /dev/sda -- set 3 boot on
@@ -172,21 +173,21 @@
Create a MBR partition table.
-# parted /dev/sda -- mklabel msdos
+# parted /dev/sda -- mklabel msdos
Add the root partition. This will fill the the disk
except for the end part, where the swap will live.
-# parted /dev/sda -- mkpart primary 1MiB -8GiB
+# parted /dev/sda -- mkpart primary 1MiB -8GiB
Finally, add a swap partition. The size required
will vary according to needs, here a 8GiB one is created.
-# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
+# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
The swap partition size rules are no different than for other Linux
@@ -218,7 +219,7 @@
since this makes the file system configuration independent from device
changes. For example:
-# mkfs.ext4 -L nixos /dev/sda1
+# mkfs.ext4 -L nixos /dev/sda1
@@ -227,7 +228,7 @@
recommended to assign a label to the swap partition: . For example:
-# mkswap -L swap /dev/sda2
+# mkswap -L swap /dev/sda2
@@ -242,7 +243,7 @@
it’s recommended to assign a label to the boot partition:
. For example:
-# mkfs.fat -F 32 -n boot /dev/sda3
+# mkfs.fat -F 32 -n boot /dev/sda3
@@ -273,7 +274,7 @@
Mount the target file system on which NixOS should be installed on
/mnt, e.g.
-# mount /dev/disk/by-label/nixos /mnt
+# mount /dev/disk/by-label/nixos /mnt
@@ -287,8 +288,8 @@
Mount the boot file system on /mnt/boot, e.g.
-# mkdir -p /mnt/boot
-# mount /dev/disk/by-label/boot /mnt/boot
+# mkdir -p /mnt/boot
+# mount /dev/disk/by-label/boot /mnt/boot
@@ -303,7 +304,7 @@
the build actions that it may spawn) may need quite a bit of RAM,
depending on your configuration.
-# swapon /dev/sda2
+# swapon /dev/sda2
@@ -325,16 +326,16 @@
The command nixos-generate-config can generate an
initial configuration file for you:
-# nixos-generate-config --root /mnt
+# nixos-generate-config --root /mnt
You should then edit /mnt/etc/nixos/configuration.nix
to suit your needs:
-# nano /mnt/etc/nixos/configuration.nix
+# nano /mnt/etc/nixos/configuration.nix
If you’re using the graphical ISO image, other editors may be available
(such as vim). If you have network access, you can also
install other editors — for instance, you can install Emacs by running
- nix-env -i emacs.
+ nix-env -f '<nixpkgs>' -iA emacs.
@@ -391,7 +392,11 @@
hardware-configuration.nix is included from
configuration.nix and will be overwritten by future
invocations of nixos-generate-config; thus, you
- generally should not modify it.)
+ generally should not modify it.) Additionally, you may want to look at
+ Hardware
+ configuration for known-hardware at this point or after
+ installation.
+
@@ -412,7 +417,7 @@
Do the installation:
-# nixos-install
+# nixos-install
Cross fingers. If this fails due to a temporary problem (such as a network
issue while downloading binaries from the NixOS binary cache), you can
just re-run nixos-install. Otherwise, fix your
@@ -439,7 +444,7 @@ Retype new UNIX password: ***
If everything went well:
-# reboot
+# reboot
@@ -460,16 +465,16 @@ Retype new UNIX password: ***
You’ll probably want to create some user accounts as well, which can be
done with useradd:
-$ useradd -c 'Eelco Dolstra' -m eelco
-$ passwd eelco
+$ useradd -c 'Eelco Dolstra' -m eelco
+$ passwd eelco
You may also want to install some software. For instance,
-$ nix-env -qa \*
+$ nix-env -qaP \*
shows what packages are available, and
-$ nix-env -i w3m
+$ nix-env -f '<nixpkgs>' -iA w3m
install the w3m browser.
@@ -489,19 +494,19 @@ $ nix-env -i w3m
Example partition schemes for NixOS on /dev/sda (MBR)
-# parted /dev/sda -- mklabel msdos
-# parted /dev/sda -- mkpart primary 1MiB -8GiB
-# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
+# parted /dev/sda -- mklabel msdos
+# parted /dev/sda -- mkpart primary 1MiB -8GiB
+# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
Example partition schemes for NixOS on /dev/sda (UEFI)
-# parted /dev/sda -- mklabel gpt
-# parted /dev/sda -- mkpart primary 512MiB -8GiB
-# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
-# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
-# parted /dev/sda -- set 3 boot on
+# parted /dev/sda -- mklabel gpt
+# parted /dev/sda -- mkpart primary 512MiB -8GiB
+# parted /dev/sda -- mkpart primary linux-swap -8GiB 100%
+# parted /dev/sda -- mkpart ESP fat32 1MiB 512MiB
+# parted /dev/sda -- set 3 boot on
@@ -509,23 +514,23 @@ $ nix-env -i w3m
With a partitioned disk.
-# mkfs.ext4 -L nixos /dev/sda1
-# mkswap -L swap /dev/sda2
-# swapon /dev/sda2
-# mkfs.fat -F 32 -n boot /dev/sda3 # (for UEFI systems only)
-# mount /dev/disk/by-label/nixos /mnt
-# mkdir -p /mnt/boot # (for UEFI systems only)
-# mount /dev/disk/by-label/boot /mnt/boot # (for UEFI systems only)
-# nixos-generate-config --root /mnt
-# nano /mnt/etc/nixos/configuration.nix
-# nixos-install
-# reboot
+# mkfs.ext4 -L nixos /dev/sda1
+# mkswap -L swap /dev/sda2
+# swapon /dev/sda2
+# mkfs.fat -F 32 -n boot /dev/sda3 # (for UEFI systems only)
+# mount /dev/disk/by-label/nixos /mnt
+# mkdir -p /mnt/boot # (for UEFI systems only)
+# mount /dev/disk/by-label/boot /mnt/boot # (for UEFI systems only)
+# nixos-generate-config --root /mnt
+# nano /mnt/etc/nixos/configuration.nix
+# nixos-install
+# reboot
NixOS Configuration
-
+
{ config, pkgs, ... }: {
imports = [
# Include the results of the hardware scan.
@@ -543,7 +548,7 @@ $ nix-env -i w3m
# Enable the OpenSSH server.
services.sshd.enable = true;
}
-
+
diff --git a/nixos/doc/manual/man-nixos-enter.xml b/nixos/doc/manual/man-nixos-enter.xml
index 42edaa1ae5b..1481db46712 100644
--- a/nixos/doc/manual/man-nixos-enter.xml
+++ b/nixos/doc/manual/man-nixos-enter.xml
@@ -34,6 +34,12 @@
shell-command
+
+
+
+
+
+
@@ -100,6 +106,16 @@
+
+
+
+
+
+
+ Suppresses all output from the activation script of the target system.
+
+
+
diff --git a/nixos/doc/manual/man-nixos-generate-config.xml b/nixos/doc/manual/man-nixos-generate-config.xml
index 160ada9fff3..61531a8f01c 100644
--- a/nixos/doc/manual/man-nixos-generate-config.xml
+++ b/nixos/doc/manual/man-nixos-generate-config.xml
@@ -13,18 +13,18 @@
- nixos-generate-config
+ nixos-generate-config
-
+
root
-
+
@@ -154,7 +154,7 @@
file systems on /mnt and
/mnt/boot, you would run:
-$ nixos-generate-config --root /mnt
+$ nixos-generate-config --root /mnt
The resulting file
/mnt/etc/nixos/hardware-configuration.nix might look
@@ -204,7 +204,7 @@ $ nixos-generate-config --root /mnt
After installation, if your hardware configuration changes, you can run:
-$ nixos-generate-config
+$ nixos-generate-config
to update /etc/nixos/hardware-configuration.nix. Your
/etc/nixos/configuration.nix will
diff --git a/nixos/doc/manual/man-nixos-install.xml b/nixos/doc/manual/man-nixos-install.xml
index 25f4f40613a..4fb94ee7494 100644
--- a/nixos/doc/manual/man-nixos-install.xml
+++ b/nixos/doc/manual/man-nixos-install.xml
@@ -13,72 +13,72 @@
- nixos-install
+ nixos-install
path
-
+
root
-
+
path
-
+
-
+
-
+
-
+
-
+
-
+
number
-
+
number
-
+
name value
-
+
-
+
@@ -255,12 +255,12 @@
on an ext4 file system created in
/dev/sda1:
-$ mkfs.ext4 /dev/sda1
-$ mount /dev/sda1 /mnt
-$ nixos-generate-config --root /mnt
-$ # edit /mnt/etc/nixos/configuration.nix
-$ nixos-install
-$ reboot
+$ mkfs.ext4 /dev/sda1
+$ mount /dev/sda1 /mnt
+$ nixos-generate-config --root /mnt
+$ # edit /mnt/etc/nixos/configuration.nix
+$ nixos-install
+$ reboot
diff --git a/nixos/doc/manual/man-nixos-option.xml b/nixos/doc/manual/man-nixos-option.xml
index d436cce742a..3e316e10d4e 100644
--- a/nixos/doc/manual/man-nixos-option.xml
+++ b/nixos/doc/manual/man-nixos-option.xml
@@ -13,19 +13,19 @@
- nixos-option
+ nixos-option
path
-
+
-
+
-
+
option.name
@@ -103,13 +103,13 @@
Examples
Investigate option values:
-$ nixos-option boot.loader
+$ nixos-option boot.loader
This attribute set contains:
generationsDir
grub
initScript
-$ nixos-option boot.loader.grub.enable
+$ nixos-option boot.loader.grub.enable
Value:
true
diff --git a/nixos/doc/manual/man-nixos-rebuild.xml b/nixos/doc/manual/man-nixos-rebuild.xml
index 0b0c0b8f6ea..a83c4fb965e 100644
--- a/nixos/doc/manual/man-nixos-rebuild.xml
+++ b/nixos/doc/manual/man-nixos-rebuild.xml
@@ -7,45 +7,47 @@
NixOS
+
nixos-rebuild
reconfigure a NixOS machine
+
- nixos-rebuild
+ nixos-rebuild
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -54,33 +56,34 @@
-
+
-
+
-
+
-
+
-
+
builder-spec
+
-
+
-
+
@@ -90,10 +93,41 @@
+
+
+ path
+
+
+
+
+
+
+
+
+
+
+
+
+ number
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Description
+
This command updates the system so that it corresponds to the configuration
specified in /etc/nixos/configuration.nix. Thus, every
@@ -101,11 +135,14 @@
NixOS module, you must run nixos-rebuild to make the
changes take effect. It builds the new system in
/nix/store, runs its activation script, and stop and
- (re)starts any system services if needed.
+ (re)starts any system services if needed. Please note that user services need
+ to be started manually as they aren't detected by the activation script at the moment.
+
This command has one required argument, which specifies the desired
operation. It must be one of the following:
+
@@ -122,6 +159,7 @@
+
@@ -135,6 +173,7 @@
+
@@ -149,6 +188,7 @@
+
@@ -160,13 +200,14 @@
the current directory, which points to the output of the top-level
“system” derivation. This is essentially the same as doing
-$ nix-build /path/to/nixpkgs/nixos -A system
+$ nix-build /path/to/nixpkgs/nixos -A system
Note that you do not need to be root to run
nixos-rebuild build.
+
@@ -178,6 +219,7 @@ $ nix-build /path/to/nixpkgs/nixos -A system
+
@@ -192,6 +234,7 @@ $ nix-build /path/to/nixpkgs/nixos -A system
+
@@ -202,6 +245,7 @@ $ nix-build /path/to/nixpkgs/nixos -A system
+
@@ -215,16 +259,18 @@ $ nix-build /path/to/nixpkgs/nixos -A system
at the script that starts the VM. Thus, to test a NixOS configuration in
a virtual machine, you should do the following:
-$ nixos-rebuild build-vm
-$ ./result/bin/run-*-vm
+$ nixos-rebuild build-vm
+$ ./result/bin/run-*-vm
+
The VM is implemented using the qemu package. For
best performance, you should load the kvm-intel or
kvm-amd kernel modules to get hardware
virtualisation.
+
The VM mounts the Nix store of the host through the 9P file system. The
host Nix store is read-only, so Nix commands that modify the Nix store
@@ -232,6 +278,7 @@ $ ./result/bin/run-*-vm
nixos-rebuild; to change the VM’s configuration,
you must halt the VM and re-run the commands above.
+
The VM has its own ext3 root file system, which is
automatically created when the VM is first started, and is persistent
@@ -242,6 +289,7 @@ $ ./result/bin/run-*-vm
+
@@ -264,11 +312,13 @@ $ ./result/bin/run-*-vm
+
Options
This command accepts the following options:
+
@@ -280,6 +330,7 @@ $ ./result/bin/run-*-vm
+
@@ -291,6 +342,7 @@ $ ./result/bin/run-*-vm
+
@@ -306,6 +358,7 @@ $ ./result/bin/run-*-vm
+
@@ -319,6 +372,7 @@ $ ./result/bin/run-*-vm
+
@@ -333,6 +387,7 @@ $ ./result/bin/run-*-vm
+
builder-spec
@@ -352,6 +407,7 @@ $ ./result/bin/run-*-vm
+
@@ -375,13 +431,14 @@ $ ./result/bin/run-*-vm
test.nix without affecting the default system
profile, you would do:
-$ nixos-rebuild switch -p test -I nixos-config=./test.nix
+$ nixos-rebuild switch -p test -I nixos-config=./test.nix
The new configuration will appear in the GRUB 2 submenu “NixOS -
Profile 'test'”.
+
@@ -407,6 +464,7 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
+
@@ -419,6 +477,7 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
be accessible over ssh, and for the commands ,
and you need root access.
+
If is not explicitly specified,
will implicitly be set to the same value as
@@ -427,6 +486,7 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
place remotely (and no build artifacts will be copied to the local
machine).
+
You can include a remote user name in the host name
(user@host). You can also set ssh options by
@@ -435,6 +495,7 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
+
In addition, nixos-rebuild accepts various Nix-related
flags, including / ,
@@ -443,8 +504,10 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
. See the Nix manual for details.
+
Environment
+
@@ -457,6 +520,7 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
+
NIX_SSHOPTS
@@ -470,9 +534,12 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
+
Files
+
+
/run/current-system
@@ -483,6 +550,7 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
+
/nix/var/nix/profiles/system
@@ -494,8 +562,10 @@ $ nixos-rebuild switch -p test -I nixos-config=./test.nix
+
+
Bugs
diff --git a/nixos/doc/manual/man-pages.xml b/nixos/doc/manual/man-pages.xml
index 0390dda6468..f5a1dd2d69f 100644
--- a/nixos/doc/manual/man-pages.xml
+++ b/nixos/doc/manual/man-pages.xml
@@ -6,7 +6,7 @@
EelcoDolstra
Author
- 2007-2018Eelco Dolstra
+ 2007-2019Eelco Dolstra
diff --git a/nixos/doc/manual/release-notes/release-notes.xml b/nixos/doc/manual/release-notes/release-notes.xml
index 02b59147721..444862c5739 100644
--- a/nixos/doc/manual/release-notes/release-notes.xml
+++ b/nixos/doc/manual/release-notes/release-notes.xml
@@ -8,6 +8,7 @@
This section lists the release notes for each stable version of NixOS and
current unstable revision.
+
diff --git a/nixos/doc/manual/release-notes/rl-1509.xml b/nixos/doc/manual/release-notes/rl-1509.xml
index e500c9d6342..5c4d9970178 100644
--- a/nixos/doc/manual/release-notes/rl-1509.xml
+++ b/nixos/doc/manual/release-notes/rl-1509.xml
@@ -627,7 +627,7 @@ nix-env -f "<nixpkgs>" -iA haskellPackages.pandoc
In case of an infinite loop, use the --show-trace
command line argument and read the line just above the error message.
-$ nixos-rebuild build --show-trace
+$ nixos-rebuild build --show-trace
…
while evaluating the module argument `pkgs' in "/etc/nixos/my-module.nix":
infinite recursion encountered
diff --git a/nixos/doc/manual/release-notes/rl-1703.xml b/nixos/doc/manual/release-notes/rl-1703.xml
index 6ca79e2bc00..14b31b232e9 100644
--- a/nixos/doc/manual/release-notes/rl-1703.xml
+++ b/nixos/doc/manual/release-notes/rl-1703.xml
@@ -626,17 +626,17 @@
xlink:href="https://nixos.org/nixpkgs/manual/#sec-overlays-install">
overlays. For example, the following code:
- let
- pkgs = import <nixpkgs> {};
- in
- pkgs.overridePackages (self: super: ...)
+let
+ pkgs = import <nixpkgs> {};
+in
+ pkgs.overridePackages (self: super: ...)
should be replaced by:
- let
- pkgs = import <nixpkgs> {};
- in
- import pkgs.path { overlays = [(self: super: ...)]; }
+let
+ pkgs = import <nixpkgs> {};
+in
+ import pkgs.path { overlays = [(self: super: ...)]; }
@@ -730,7 +730,7 @@
- jre now defaults to GTK+ UI by default. This improves
+ jre now defaults to GTK UI by default. This improves
visual consistency and makes Java follow system font style, improving the
situation on HighDPI displays. This has a cost of increased closure size;
for server and other headless workloads it's recommended to use
diff --git a/nixos/doc/manual/release-notes/rl-1909.xml b/nixos/doc/manual/release-notes/rl-1909.xml
index 60b4a3bc17b..58ab7207f53 100644
--- a/nixos/doc/manual/release-notes/rl-1909.xml
+++ b/nixos/doc/manual/release-notes/rl-1909.xml
@@ -23,6 +23,98 @@
End of support is planned for end of April 2020, handing over to 20.03.
+
+
+ PHP now defaults to PHP 7.3, updated from 7.2.
+
+
+
+
+ PHP 7.1 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 19.09 release.
+
+
+
+
+ The binfmt module is now easier to use. Additional systems can
+ be added through .
+ For instance, boot.binfmt.emulatedSystems = [
+ "wasm32-wasi" "x86_64-windows" "aarch64-linux" ]; will
+ set up binfmt interpreters for each of those listed systems.
+
+
+
+
+ The installer now uses a less privileged nixos user whereas before we logged in as root.
+ To gain root privileges use sudo -i without a password.
+
+
+
+
+ We've updated to Xfce 4.14, which brings a new module .
+ If you'd like to upgrade, please switch from the module as it
+ will be deprecated in a future release. They're incompatibilities with the current Xfce module; it doesn't support
+ and it isn't recommended to use
+ and simultaneously or to downgrade from Xfce 4.14 after upgrading.
+
+
+
+
+ The GNOME 3 desktop manager module sports an interface to enable/disable core services, applications, and optional GNOME packages
+ like games.
+
+ This can be achieved with the following options which the desktop manager default enables, excluding games.
+
+
+
+
+
+ With these options we hope to give users finer grained control over their systems. Prior to this change you'd either have to manually
+ disable options or use which only excluded the optional applications.
+ is now unguarded, it can exclude any package installed with
+ in the GNOME 3 module.
+
+
+
+
+ Orthogonal to the previous changes to the GNOME 3 desktop manager module, we've updated all default services and applications
+ to match as close as possible to a default reference GNOME 3 experience.
+
+
+ The following changes were enacted in
+
+
+ Applications removed from defaults:
+ accerciser
+ dconf-editor
+ evolution
+ gnome-documents
+ gnome-nettool
+ gnome-power-manager
+ gnome-todo
+ gnome-tweaks
+ gnome-usage
+ gucharmap
+ nautilus-sendto
+ vinagre
+
+
+ Applications added to defaults:
+ cheese
+ geary
+
+
+ The following changes were enacted in
+
+
+ Applications added to defaults:
+ gnome-color-manager
+ orca
+
+
+ Services enabled:
+
+
+
@@ -37,6 +129,49 @@
The following new services were added since the last release:
+
+
+
+ ./programs/dwm-status.nix
+
+
+
+
+ The new hardware.printers module allows to declaratively configure CUPS printers
+ via the ensurePrinters and
+ ensureDefaultPrinter options.
+ ensurePrinters will never delete existing printers,
+ but will make sure that the given printers are configured as declared.
+
+
+
+
+ There is a new and module
+ for the program of the same name. If you previously had system-config-printer enabled through some other
+ means you should migrate to using one of these modules.
+
+
+ If you're a user of the following desktopManager modules no action is needed:
+
+
+
+
+
+
+
+
+
+
+
+
+ Note Mate uses programs.system-config-printer as it doesn't
+ use it as a service, but its graphical interface directly.
+
+
+
+
+
+
- The options and
- have been removed
- because the alertmanager service is now using systemd's
- DynamicUser mechanism which obviates these options.
+ PostgreSQL 9.4 is scheduled EOL during the 19.09 life cycle and has been removed.
- The NetworkManager systemd unit was renamed back from network-manager.service to
- NetworkManager.service for better compatibility with other applications expecting this name.
- The same applies to ModemManager where modem-manager.service is now called ModemManager.service again.
+ The options and
+ have been removed
+ because the alertmanager service is now using systemd's
+ DynamicUser mechanism which obviates these options.
- The and
- options were removed as they are managed internally by the nzbget. The
- option hadn't actually been used by
- the module for some time and so was removed as cleanup.
+ The NetworkManager systemd unit was renamed back from network-manager.service to
+ NetworkManager.service for better compatibility with other applications expecting this name.
+ The same applies to ModemManager where modem-manager.service is now called ModemManager.service again.
- The module has been removed, see
- instead for a free software fork of Emby.
+ The and
+ options were removed as they are managed internally by the nzbget. The
+ option hadn't actually been used by
+ the module for some time and so was removed as cleanup.
+
+
+
+
+ The option was removed, as it was only used by the wordpress
+ apache-httpd service to wait for mysql to have started up.
+ This can be accomplished by either describing a dependency on mysql.service (preferred)
+ or waiting for the (hardcoded) /run/mysqld/mysql.sock file to appear.
+
+
+
+
+ The module has been removed, see
+ instead for a free software fork of Emby.
- See the Jellyfin documentation:
-
- Migrating from Emby to Jellyfin
-
+ See the Jellyfin documentation:
+
+ Migrating from Emby to Jellyfin
+
+
+
+ IPv6 Privacy Extensions are now enabled by default for undeclared
+ interfaces. The previous behaviour was quite misleading — even though
+ the default value for
+ was
+ true, undeclared interfaces would not prefer temporary
+ addresses. Now, interfaces not mentioned in the config will prefer
+ temporary addresses. EUI64 addresses can still be set as preferred by
+ explicitly setting the option to false for the
+ interface in question.
+
+
+
+
+ Since Bittorrent Sync was superseded by Resilio Sync in 2016, the
+ bittorrentSync, bittorrentSync14,
+ and bittorrentSync16 packages have been removed in
+ favor of resilio-sync.
+
+
+ The corresponding module, has been
+ replaced by the module.
+
+
+
+
+ The httpd service no longer attempts to start the postgresql service. If you have come to depend
+ on this behaviour then you can preserve the behavior with the following configuration:
+ systemd.services.httpd.after = [ "postgresql.service" ];
+
+
+ The option has been
+ marked as deprecated. You may still use this feature, but it will be
+ removed in a future release of NixOS. You are encouraged to convert any
+ httpd subservices you may have written to a full NixOS module.
+
+
+ Most of the httpd subservices packaged with NixOS have been replaced with
+ full NixOS modules including LimeSurvey, WordPress, and Zabbix. These
+ modules can be enabled using the ,
+ , ,
+ and options.
+
+
+
+
+ The option
+ was renamed to
+ (capital L). This follows
+
+ upstreams renaming
+ of the setting.
+
+
+
+
+ As of this release the NixOps feature autoLuks is deprecated. It no longer works
+ with our systemd version without manual intervention.
+
+
+ Whenever the usage of the module is detected the evaluation will fail with a message
+ explaining why and how to deal with the situation.
+
+
+ A new knob named nixops.enableDeprecatedAutoLuks
+ has been introduced to disable the eval failure and to acknowledge the notice was received and read.
+ If you plan on using the feature please note that it might break with subsequent updates.
+
+
+ Make sure you set the _netdev option for each of the file systems referring to block
+ devices provided by the autoLuks module. Not doing this might render the system in a
+ state where it doesn't boot anymore.
+
+
+ If you are actively using the autoLuks module please let us know in
+ issue #62211.
+
+
+
+
+ The setopt declarations will be evaluated at the end of /etc/zshrc, so any code in ,
+ and may break if it relies on those options being set.
+
+
+
+
+ The prometheus-nginx-exporter package now uses the offical exporter provided by NGINX Inc.
+ Its metrics are differently structured and are incompatible to the old ones. For information about the metrics,
+ have a look at the official repo.
+
+
+
+
+ The shibboleth-sp package has been updated to version 3.
+ It is largely backward compatible, for further information refer to the
+ release notes
+ and upgrade guide.
+
+
+ Nodejs 8 is scheduled EOL under the lifetime of 19.09 and has been dropped.
+
+
+
+
+ By default, prometheus exporters are now run with DynamicUser enabled.
+ Exporters that need a real user, now run under a seperate user and group which follow the pattern <exporter-name>-exporter, instead of the previous default nobody and nogroup.
+ Only some exporters are affected by the latter, namely the exporters dovecot, node, postfix and varnish.
+
+
+
+
+ The ibus-qt package is not installed by default anymore when is set to ibus.
+ If IBus support in Qt 4.x applications is required, add the ibus-qt package to your manually.
+
+
+
+
+ The CUPS Printing service now uses socket-based activation by
+ default, only starting when needed. The previous behavior can
+ be restored by setting
+ to
+ false.
+
+
+
+
+ The module has been removed from nixpkgs due to lack of maintainer.
+
+
+
+
+ The module has been removed from nixpkgs due to lack of maintainer.
+
+
+
+
+ Squid 3 has been removed and the derivation now refers to Squid 4.
+
+
+
+
+ The option has been replaced by
+ . The new option allows setting extra
+ configuration while being better type-checked and mergeable.
+
+
+
+
+ No service depends on keys.target anymore which is a systemd
+ target that indicates if all NixOps keys were successfully uploaded.
+ Instead, <key-name>-key.service should be used to define
+ a dependency of a key in a service. The full issue behind the keys.target
+ dependency is described at NixOS/nixpkgs#67265.
+
+
+ The following services are affected by this:
+
+ services.dovecot2
+ services.nsd
+ services.softether
+ services.strongswan
+ services.strongswan-swanctl
+ services.httpd
+
+
+
+
+
+ The option has been replaced by a read-only option for each certificate you define. This will be
+ a subdirectory of /var/lib/acme. You can use this read-only option to figure out where the certificates are stored for a specific certificate. For example,
+ the option will use this directory option to find the certs for the virtual host.
+
+
+ and options have been removed. To execute a service before certificates
+ are provisioned or renewed add a RequiredBy=acme-${cert}.service to any service.
+
+
+ Furthermore, the acme module will not automatically add a dependency on lighttpd.service anymore. If you are using certficates provided by letsencrypt
+ for lighttpd, then you should depend on the certificate service acme-${cert}.service> manually.
+
+
+ For nginx, the dependencies are still automatically managed when is enabled just like before. What changed is that nginx now directly depends on the specific certificates that it needs,
+ instead of depending on the catch-all acme-certificates.target. This target unit was also removed from the codebase.
+ This will mean nginx will no longer depend on certificates it isn't explicitly managing and fixes a bug with certificate renewal
+ ordering racing with nginx restarting which could lead to nginx getting in a broken state as described at
+ NixOS/nixpkgs#60180.
+
+
+
+
+ The old deprecated emacs package sets have been dropped.
+ What used to be called emacsPackagesNg is now simply called emacsPackages.
+
+
+
+
+ is now disabled by default if stateVersion is 19.09 or higher.
+ Previously the xterm desktopManager was enabled when xserver was enabled, but it isn't useful for all people so it didn't make sense to
+ have any desktopManager enabled default.
+
+
+
+
+ The WeeChat plugin pkgs.weechatScripts.weechat-xmpp has been removed as it doesn't receive
+ any updates from upstream and depends on outdated Python2-based modules.
+
+
+
+
+ Old unsupported versions (logstash5,
+ kibana5,
+ filebeat5,
+ heartbeat5,
+ metricbeat5,
+ packetbeat5) of the ELK-stack and Elastic beats have been removed.
+
+
+
+
+ For NixOS 19.03, both Prometheus 1 and 2 were available to allow for
+ a seamless transition from version 1 to 2 with existing setups.
+ Because Prometheus 1 is no longer developed, it was removed.
+ Prometheus 2 is now configured with services.prometheus.
+
+
+
+
+ Citrix Receiver (citrix_receiver) has been dropped in favor of Citrix Workspace
+ (citrix_workspace).
+
+
@@ -158,10 +538,255 @@
- The hunspellDicts.fr-any dictionary now ships with fr_FR.{aff,dic}
- which is linked to fr-toutesvariantes.{aff,dic}.
+ The hunspellDicts.fr-any dictionary now ships with fr_FR.{aff,dic}
+ which is linked to fr-toutesvariantes.{aff,dic}.
+
+
+ The mysql service now runs as mysql
+ user. Previously, systemd did execute it as root, and mysql dropped privileges
+ itself.
+ This includes ExecStartPre= and
+ ExecStartPost= phases.
+ To accomplish that, runtime and data directory setup was delegated to
+ RuntimeDirectory and tmpfiles.
+
+
+
+
+ With the upgrade to systemd version 242 the systemd-timesyncd
+ service is no longer using DynamicUser=yes. In order for the
+ upgrade to work we rely on an activation script to move the state from the old
+ to the new directory. The older directory (prior 19.09) was
+ /var/lib/private/systemd/timesync.
+
+
+ As long as the system.config.stateVersion is below
+ 19.09 the state folder will migrated to its proper location
+ (/var/lib/systemd/timesync), if required.
+
+
+
+
+ The package avahi is now built to look up service
+ definitions from /etc/avahi/services instead of its
+ output directory in the nix store. Accordingly the module
+ now supports custom service definitions via
+ , which are then placed
+ in the aforementioned directory. See
+ avahi.service5
+ for more information on custom service definitions.
+
+
+
+
+ Since version 0.1.19, cargo-vendor honors package
+ includes that are specified in the Cargo.toml
+ file of Rust crates. rustPlatform.buildRustPackage uses
+ cargo-vendor to collect and build dependent crates.
+ Since this change in cargo-vendor changes the set of
+ vendored files for most Rust packages, the hash that use used to verify
+ the dependencies, cargoSha256, also changes.
+
+
+ The cargoSha256 hashes of all in-tree derivations that
+ use buildRustPackage have been updated to reflect this
+ change. However, third-party derivations that use
+ buildRustPackage may have to be updated as well.
+
+
+
+
+ The consul package was upgraded past version 1.5,
+ so its deprecated legacy UI is no longer available.
+
+
+
+
+ The default resample-method for PulseAudio has been changed from the upstream default speex-float-1
+ to speex-float-5. Be aware that low-powered ARM-based and MIPS-based boards will struggle with this
+ so you'll need to set back to speex-float-1.
+
+
+
+
+ The phabricator package and associated httpd.extraSubservice, as well as the
+ phd service have been removed from nixpkgs due to lack of maintainer.
+
+
+
+
+ The mercurial httpd.extraSubservice has been removed from nixpkgs due to lack of maintainer.
+
+
+
+
+ The trac httpd.extraSubservice has been removed from nixpkgs because it was unmaintained.
+
+
+
+
+ The foswiki package and associated httpd.extraSubservice have been removed
+ from nixpkgs due to lack of maintainer.
+
+
+
+
+ The tomcat-connector httpd.extraSubservice has been removed from nixpkgs.
+
+
+
+
+ It's now possible to change configuration in
+ services.nextcloud after the initial deploy
+ since all config parameters are persisted in an additional config file generated by the module.
+ Previously core configuration like database parameters were set using their imperative
+ installer after creating /var/lib/nextcloud.
+
+
+
+
+ There exists now lib.forEach, which is like map, but with
+ arguments flipped. When mapping function body spans many lines (or has nested
+ maps), it is often hard to follow which list is modified.
+
+
+ Previous solution to this problem was either to use lib.flip map
+ idiom or extract that anonymous mapping function to a named one. Both can still be used
+ but lib.forEach is preferred over lib.flip map.
+
+
+ The /etc/sysctl.d/nixos.conf file containing all the options set via
+ boot.kernel.sysctl was moved to
+ /etc/sysctl.d/60-nixos.conf, as
+ sysctl.d5
+ recommends prefixing all filenames in /etc/sysctl.d with a
+ two-digit number and a dash to simplify the ordering of the files.
+
+
+
+
+ We now install the sysctl snippets shipped with systemd.
+
+ This enables:
+
+ Loose reverse path filtering
+
+
+ Source route filtering
+
+
+
+ fq_codel as a packet scheduler (this helps to fight bufferbloat)
+
+
+
+ This also configures the kernel to pass coredumps to systemd-coredump,
+ and restricts the SysRq key combinations to the sync command only.
+ These sysctl snippets can be found in /etc/sysctl.d/50-*.conf,
+ and overridden via boot.kernel.sysctl
+ (which will place the parameters in /etc/sysctl.d/60-nixos.conf).
+
+
+
+
+ Coredumps are now acquired by systemd-coredump by default.
+ systemd-coredump behaviour can still be modified via
+ .
+ To stick to the old behaviour (having the kernel dump to a file called core
+ in the working directory), without piping it through systemd-coredump, set
+ to "core".
+
+
+
+
+ systemd.packages option now also supports generators and
+ shutdown scripts. Old systemd.generator-packages option has
+ been removed.
+
+
+
+
+ The rmilter package was removed with associated module and options due deprecation by upstream developer.
+ Use rspamd in proxy mode instead.
+
+
+
+
+ systemd cgroup accounting via the
+ systemd.enableCgroupAccounting
+ option is now enabled by default. It now also enables the more recent Block IO and IP accounting
+ features.
+
+
+
+
+ We no longer enable custom font rendering settings with by default.
+ The defaults from fontconfig are sufficient.
+
+
+
+
+ The crashplan package and the
+ crashplan service have been removed from nixpkgs due to
+ crashplan shutting down the service, while the crashplansb
+ package and crashplan-small-business service have been
+ removed from nixpkgs due to lack of maintainer.
+
+
+ The redis module was hardcoded to use the redis user,
+ /run/redis as runtime directory and
+ /var/lib/redis as state directory.
+ Note that the NixOS module for Redis now disables kernel support for Transparent Huge Pages (THP),
+ because this features causes major performance problems for Redis,
+ e.g. (https://redis.io/topics/latency).
+
+
+
+
+ Using adds a default emoji font noto-fonts-emoji.
+
+ Users of the following options will have this enabled by default:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ The altcoins categorization of packages has
+ been removed. You now access these packages at the top level,
+ ie. nix-shell -p dogecoin instead of
+ nix-shell -p altcoins.dogecoin, etc.
+
+
+
+
+ Ceph has been upgraded to v14.2.1.
+ See the release notes for details.
+ The mgr dashboard as well as osds backed by loop-devices is no longer explicitly supported by the package and module.
+ Note: There's been some issues with python-cherrypy, which is used by the dashboard
+ and prometheus mgr modules (and possibly others), hence 0000-dont-check-cherrypy-version.patch.
+
+
+
+
+ pkgs.weechat is now compiled against pkgs.python3.
+ Weechat also recommends to use Python3
+ in their docs.
+
+
diff --git a/nixos/doc/manual/release-notes/rl-2003.xml b/nixos/doc/manual/release-notes/rl-2003.xml
new file mode 100644
index 00000000000..c84bc8dbb37
--- /dev/null
+++ b/nixos/doc/manual/release-notes/rl-2003.xml
@@ -0,0 +1,80 @@
+
+ Release 20.03 (“Markhor”, 2020.03/??)
+
+
+ Highlights
+
+
+ In addition to numerous new and upgraded packages, this release has the
+ following highlights:
+
+
+
+
+
+ Support is planned until the end of October 2020, handing over to 20.09.
+
+
+
+
+
+
+ New Services
+
+
+ The following new services were added since the last release:
+
+
+
+
+
+
+
+
+
+
+
+ Backward Incompatibilities
+
+
+ When upgrading from a previous release, please be aware of the following
+ incompatible changes:
+
+
+
+
+
+
+
+
+
+
+ Other Notable Changes
+
+
+
+
+
+
+
+
diff --git a/nixos/lib/build-vms.nix b/nixos/lib/build-vms.nix
index a5580f4712e..1bad63b9194 100644
--- a/nixos/lib/build-vms.nix
+++ b/nixos/lib/build-vms.nix
@@ -32,14 +32,14 @@ rec {
import ./eval-config.nix {
inherit system;
- modules = configurations ++
+ modules = configurations ++ extraConfigurations;
+ baseModules = (import ../modules/module-list.nix) ++
[ ../modules/virtualisation/qemu-vm.nix
../modules/testing/test-instrumentation.nix # !!! should only get added for automated test runs
{ key = "no-manual"; documentation.nixos.enable = false; }
{ key = "qemu"; system.build.qemu = qemu; }
- ] ++ optional minimal ../modules/testing/minimal-kernel.nix
- ++ extraConfigurations;
- extraArgs = { inherit nodes; };
+ { key = "nodes"; _module.args.nodes = nodes; }
+ ] ++ optional minimal ../modules/testing/minimal-kernel.nix;
};
@@ -54,11 +54,11 @@ rec {
machinesNumbered = zipLists machines (range 1 254);
- nodes_ = flip map machinesNumbered (m: nameValuePair m.fst
+ nodes_ = forEach machinesNumbered (m: nameValuePair m.fst
[ ( { config, nodes, ... }:
let
interfacesNumbered = zipLists config.virtualisation.vlans (range 1 255);
- interfaces = flip map interfacesNumbered ({ fst, snd }:
+ interfaces = forEach interfacesNumbered ({ fst, snd }:
nameValuePair "eth${toString snd}" { ipv4.addresses =
[ { address = "192.168.${toString fst}.${toString m.snd}";
prefixLength = 24;
@@ -67,7 +67,7 @@ rec {
in
{ key = "ip-address";
config =
- { networking.hostName = m.fst;
+ { networking.hostName = mkDefault m.fst;
networking.interfaces = listToAttrs interfaces;
@@ -88,7 +88,7 @@ rec {
"${config.networking.hostName}\n"));
virtualisation.qemu.options =
- flip map interfacesNumbered
+ forEach interfacesNumbered
({ fst, snd }: qemuNICFlags snd fst m.snd);
};
}
diff --git a/nixos/lib/make-ext4-fs.nix b/nixos/lib/make-ext4-fs.nix
index 47c6374c81a..932adcd9796 100644
--- a/nixos/lib/make-ext4-fs.nix
+++ b/nixos/lib/make-ext4-fs.nix
@@ -1,9 +1,14 @@
# Builds an ext4 image containing a populated /nix/store with the closure
-# of store paths passed in the storePaths parameter. The generated image
-# is sized to only fit its contents, with the expectation that a script
-# resizes the filesystem at boot time.
+# of store paths passed in the storePaths parameter, in addition to the
+# contents of a directory that can be populated with commands. The
+# generated image is sized to only fit its contents, with the expectation
+# that a script resizes the filesystem at boot time.
{ pkgs
+# List of derivations to be included
, storePaths
+# Shell commands to populate the ./files directory.
+# All files in that directory are copied to the root of the FS.
+, populateImageCommands ? ""
, volumeLabel
, uuid ? "44444444-4444-4444-8888-888888888888"
, e2fsprogs
@@ -23,13 +28,17 @@ pkgs.stdenv.mkDerivation {
buildCommand =
''
+ (
+ mkdir -p ./files
+ ${populateImageCommands}
+ )
# Add the closures of the top-level store objects.
storePaths=$(cat ${sdClosureInfo}/store-paths)
# Make a crude approximation of the size of the target image.
# If the script starts failing, increase the fudge factors here.
- numInodes=$(find $storePaths | wc -l)
- numDataBlocks=$(du -c -B 4096 --apparent-size $storePaths | awk '$2 == "total" { print int($1 * 1.03) }')
+ numInodes=$(find $storePaths ./files | wc -l)
+ numDataBlocks=$(du -s -c -B 4096 --apparent-size $storePaths ./files | tail -1 | awk '{ print int($1 * 1.03) }')
bytes=$((2 * 4096 * $numInodes + 4096 * $numDataBlocks))
echo "Creating an EXT4 image of $bytes bytes (numInodes=$numInodes, numDataBlocks=$numDataBlocks)"
@@ -47,6 +56,12 @@ pkgs.stdenv.mkDerivation {
echo "copying store paths to image..."
cptofs -t ext4 -i $out $storePaths /nix/store/
+ (
+ echo "copying files to image..."
+ cd ./files
+ cptofs -t ext4 -i $out ./* /
+ )
+
# I have ended up with corrupted images sometimes, I suspect that happens when the build machine's disk gets full during the build.
if ! fsck.ext4 -n -f $out; then
echo "--- Fsck failed for EXT4 image of $bytes bytes (numInodes=$numInodes, numDataBlocks=$numDataBlocks) ---"
diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix
new file mode 100644
index 00000000000..35c8b543dec
--- /dev/null
+++ b/nixos/lib/make-options-doc/default.nix
@@ -0,0 +1,164 @@
+/* Generate JSON, XML and DocBook documentation for given NixOS options.
+
+ Minimal example:
+
+ { pkgs, }:
+
+ let
+ eval = import (pkgs.path + "/nixos/lib/eval-config.nix") {
+ baseModules = [
+ ../module.nix
+ ];
+ modules = [];
+ };
+ in pkgs.nixosOptionsDoc {
+ options = eval.options;
+ }
+
+*/
+{ pkgs
+, lib
+, options
+, transformOptions ? lib.id # function for additional tranformations of the options
+, revision ? "" # Specify revision for the options
+}:
+
+let
+ # Replace functions by the string
+ substFunction = x:
+ if builtins.isAttrs x then lib.mapAttrs (name: substFunction) x
+ else if builtins.isList x then map substFunction x
+ else if lib.isFunction x then ""
+ else x;
+
+ optionsListDesc = lib.flip map optionsListVisible
+ (opt: transformOptions opt
+ // lib.optionalAttrs (opt ? example) { example = substFunction opt.example; }
+ // lib.optionalAttrs (opt ? default) { default = substFunction opt.default; }
+ // lib.optionalAttrs (opt ? type) { type = substFunction opt.type; }
+ // lib.optionalAttrs (opt ? relatedPackages && opt.relatedPackages != []) { relatedPackages = genRelatedPackages opt.relatedPackages; }
+ );
+
+ # Generate DocBook documentation for a list of packages. This is
+ # what `relatedPackages` option of `mkOption` from
+ # ../../../lib/options.nix influences.
+ #
+ # Each element of `relatedPackages` can be either
+ # - a string: that will be interpreted as an attribute name from `pkgs`,
+ # - a list: that will be interpreted as an attribute path from `pkgs`,
+ # - an attrset: that can specify `name`, `path`, `package`, `comment`
+ # (either of `name`, `path` is required, the rest are optional).
+ genRelatedPackages = packages:
+ let
+ unpack = p: if lib.isString p then { name = p; }
+ else if lib.isList p then { path = p; }
+ else p;
+ describe = args:
+ let
+ title = args.title or null;
+ name = args.name or (lib.concatStringsSep "." args.path);
+ path = args.path or [ args.name ];
+ package = args.package or (lib.attrByPath path (throw "Invalid package attribute path `${toString path}'") pkgs);
+ in ""
+ + "${lib.optionalString (title != null) "${title} aka "}pkgs.${name} (${package.meta.name})"
+ + lib.optionalString (!package.meta.available) " [UNAVAILABLE]"
+ + ": ${package.meta.description or "???"}."
+ + lib.optionalString (args ? comment) "\n${args.comment}"
+ # Lots of `longDescription's break DocBook, so we just wrap them into
+ + lib.optionalString (package.meta ? longDescription) "\n${package.meta.longDescription}"
+ + "";
+ in "${lib.concatStringsSep "\n" (map (p: describe (unpack p)) packages)}";
+
+ # Custom "less" that pushes up all the things ending in ".enable*"
+ # and ".package*"
+ optionLess = a: b:
+ let
+ ise = lib.hasPrefix "enable";
+ isp = lib.hasPrefix "package";
+ cmp = lib.splitByAndCompare ise lib.compare
+ (lib.splitByAndCompare isp lib.compare lib.compare);
+ in lib.compareLists cmp a.loc b.loc < 0;
+
+ # Remove invisible and internal options.
+ optionsListVisible = lib.filter (opt: opt.visible && !opt.internal) (lib.optionAttrSetToDocList options);
+
+ # Customly sort option list for the man page.
+ optionsList = lib.sort optionLess optionsListDesc;
+
+ # Convert the list of options into an XML file.
+ optionsXML = builtins.toFile "options.xml" (builtins.toXML optionsList);
+
+ optionsNix = builtins.listToAttrs (map (o: { name = o.name; value = removeAttrs o ["name" "visible" "internal"]; }) optionsList);
+
+ # TODO: declarations: link to github
+ singleAsciiDoc = name: value: ''
+ == ${name}
+
+ ${value.description}
+
+ [discrete]
+ === details
+
+ Type:: ${value.type}
+ ${ if lib.hasAttr "default" value
+ then ''
+ Default::
+ +
+ ----
+ ${builtins.toJSON value.default}
+ ----
+ ''
+ else "No Default:: {blank}"
+ }
+ ${ if value.readOnly
+ then "Read Only:: {blank}"
+ else ""
+ }
+ ${ if lib.hasAttr "example" value
+ then ''
+ Example::
+ +
+ ----
+ ${builtins.toJSON value.example}
+ ----
+ ''
+ else "No Example:: {blank}"
+ }
+ '';
+
+in {
+ inherit optionsNix;
+
+ optionsAsciiDoc = lib.concatStringsSep "\n" (lib.mapAttrsToList singleAsciiDoc optionsNix);
+
+ optionsJSON = pkgs.runCommand "options.json"
+ { meta.description = "List of NixOS options in JSON format";
+ }
+ ''
+ # Export list of options in different format.
+ dst=$out/share/doc/nixos
+ mkdir -p $dst
+
+ cp ${builtins.toFile "options.json" (builtins.unsafeDiscardStringContext (builtins.toJSON optionsNix))} $dst/options.json
+
+ mkdir -p $out/nix-support
+ echo "file json $dst/options.json" >> $out/nix-support/hydra-build-products
+ ''; # */
+
+ optionsDocBook = pkgs.runCommand "options-docbook.xml" {} ''
+ optionsXML=${optionsXML}
+ if grep /nixpkgs/nixos/modules $optionsXML; then
+ echo "The manual appears to depend on the location of Nixpkgs, which is bad"
+ echo "since this prevents sharing via the NixOS channel. This is typically"
+ echo "caused by an option default that refers to a relative path (see above"
+ echo "for hints about the offending path)."
+ exit 1
+ fi
+
+ ${pkgs.libxslt.bin}/bin/xsltproc \
+ --stringparam revision '${revision}' \
+ -o intermediate.xml ${./options-to-docbook.xsl} $optionsXML
+ ${pkgs.libxslt.bin}/bin/xsltproc \
+ -o "$out" ${./postprocess-option-descriptions.xsl} intermediate.xml
+ '';
+}
diff --git a/nixos/doc/manual/options-to-docbook.xsl b/nixos/lib/make-options-doc/options-to-docbook.xsl
similarity index 100%
rename from nixos/doc/manual/options-to-docbook.xsl
rename to nixos/lib/make-options-doc/options-to-docbook.xsl
diff --git a/nixos/doc/manual/postprocess-option-descriptions.xsl b/nixos/lib/make-options-doc/postprocess-option-descriptions.xsl
similarity index 100%
rename from nixos/doc/manual/postprocess-option-descriptions.xsl
rename to nixos/lib/make-options-doc/postprocess-option-descriptions.xsl
diff --git a/nixos/lib/qemu-flags.nix b/nixos/lib/qemu-flags.nix
index 779f0377a51..774f66b4804 100644
--- a/nixos/lib/qemu-flags.nix
+++ b/nixos/lib/qemu-flags.nix
@@ -17,9 +17,9 @@ in
else throw "Unknown QEMU serial device for system '${pkgs.stdenv.hostPlatform.system}'";
qemuBinary = qemuPkg: {
- "x86_64-linux" = "${qemuPkg}/bin/qemu-kvm -cpu kvm64";
- "armv7l-linux" = "${qemuPkg}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
- "aarch64-linux" = "${qemuPkg}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host";
- "x86_64-darwin" = "${qemuPkg}/bin/qemu-kvm -cpu kvm64";
+ x86_64-linux = "${qemuPkg}/bin/qemu-kvm -cpu kvm64";
+ armv7l-linux = "${qemuPkg}/bin/qemu-system-arm -enable-kvm -machine virt -cpu host";
+ aarch64-linux = "${qemuPkg}/bin/qemu-system-aarch64 -enable-kvm -machine virt,gic-version=host -cpu host";
+ x86_64-darwin = "${qemuPkg}/bin/qemu-kvm -cpu kvm64";
}.${pkgs.stdenv.hostPlatform.system} or "${qemuPkg}/bin/qemu-kvm";
}
diff --git a/nixos/lib/test-driver/Machine.pm b/nixos/lib/test-driver/Machine.pm
index 006da889671..4d3d63cd2db 100644
--- a/nixos/lib/test-driver/Machine.pm
+++ b/nixos/lib/test-driver/Machine.pm
@@ -31,9 +31,17 @@ sub new {
if (!$startCommand) {
# !!! merge with qemu-vm.nix.
+ my $netBackend = "-netdev user,id=net0";
+ my $netFrontend = "-device virtio-net-pci,netdev=net0";
+
+ $netBackend .= "," . $args->{netBackendArgs}
+ if defined $args->{netBackendArgs};
+
+ $netFrontend .= "," . $args->{netFrontendArgs}
+ if defined $args->{netFrontendArgs};
+
$startCommand =
- "qemu-kvm -m 384 " .
- "-net nic,model=virtio \$QEMU_OPTS ";
+ "qemu-kvm -m 384 $netBackend $netFrontend \$QEMU_OPTS ";
if (defined $args->{hda}) {
if ($args->{hdaInterface} eq "scsi") {
diff --git a/nixos/lib/testing.nix b/nixos/lib/testing.nix
index a13e76a6956..76706877103 100644
--- a/nixos/lib/testing.nix
+++ b/nixos/lib/testing.nix
@@ -24,7 +24,7 @@ in rec {
buildInputs = [ makeWrapper perl ];
- unpackPhase = "true";
+ dontUnpack = true;
preferLocalBuild = true;
diff --git a/nixos/lib/testing/jquery.nix b/nixos/lib/testing/jquery.nix
index 103721cadc3..e272f66a576 100644
--- a/nixos/lib/testing/jquery.nix
+++ b/nixos/lib/testing/jquery.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
sha256 = "1v956yf5spw0156rni5z77hzqwmby7ajwdcd6mkhb6zvl36awr90";
};
- unpackPhase = "true";
+ dontUnpack = true;
installPhase =
''
diff --git a/nixos/lib/utils.nix b/nixos/lib/utils.nix
index b68e55a40b9..a522834e429 100644
--- a/nixos/lib/utils.nix
+++ b/nixos/lib/utils.nix
@@ -24,4 +24,116 @@ rec {
throw "${shell} is not a shell package"
else
shell;
+
+ /* Recurse into a list or an attrset, searching for attrs named like
+ the value of the "attr" parameter, and return an attrset where the
+ names are the corresponding jq path where the attrs were found and
+ the values are the values of the attrs.
+
+ Example:
+ recursiveGetAttrWithJqPrefix {
+ example = [
+ {
+ irrelevant = "not interesting";
+ }
+ {
+ ignored = "ignored attr";
+ relevant = {
+ secret = {
+ _secret = "/path/to/secret";
+ };
+ };
+ }
+ ];
+ } "_secret" -> { ".example[1].relevant.secret" = "/path/to/secret"; }
+ */
+ recursiveGetAttrWithJqPrefix = item: attr:
+ let
+ recurse = prefix: item:
+ if item ? ${attr} then
+ nameValuePair prefix item.${attr}
+ else if isAttrs item then
+ map (name: recurse (prefix + "." + name) item.${name}) (attrNames item)
+ else if isList item then
+ imap0 (index: item: recurse (prefix + "[${toString index}]") item) item
+ else
+ [];
+ in listToAttrs (flatten (recurse "" item));
+
+ /* Takes an attrset and a file path and generates a bash snippet that
+ outputs a JSON file at the file path with all instances of
+
+ { _secret = "/path/to/secret" }
+
+ in the attrset replaced with the contents of the file
+ "/path/to/secret" in the output JSON.
+
+ When a configuration option accepts an attrset that is finally
+ converted to JSON, this makes it possible to let the user define
+ arbitrary secret values.
+
+ Example:
+ If the file "/path/to/secret" contains the string
+ "topsecretpassword1234",
+
+ genJqSecretsReplacementSnippet {
+ example = [
+ {
+ irrelevant = "not interesting";
+ }
+ {
+ ignored = "ignored attr";
+ relevant = {
+ secret = {
+ _secret = "/path/to/secret";
+ };
+ };
+ }
+ ];
+ } "/path/to/output.json"
+
+ would generate a snippet that, when run, outputs the following
+ JSON file at "/path/to/output.json":
+
+ {
+ "example": [
+ {
+ "irrelevant": "not interesting"
+ },
+ {
+ "ignored": "ignored attr",
+ "relevant": {
+ "secret": "topsecretpassword1234"
+ }
+ }
+ ]
+ }
+ */
+ genJqSecretsReplacementSnippet = genJqSecretsReplacementSnippet' "_secret";
+
+ # Like genJqSecretsReplacementSnippet, but allows the name of the
+ # attr which identifies the secret to be changed.
+ genJqSecretsReplacementSnippet' = attr: set: output:
+ let
+ secrets = recursiveGetAttrWithJqPrefix set attr;
+ in ''
+ if [[ -h '${output}' ]]; then
+ rm '${output}'
+ fi
+ ''
+ + concatStringsSep
+ "\n"
+ (imap1 (index: name: "export secret${toString index}=$(<'${secrets.${name}}')")
+ (attrNames secrets))
+ + "\n"
+ + "${pkgs.jq}/bin/jq >'${output}' '"
+ + concatStringsSep
+ " | "
+ (imap1 (index: name: ''${name} = $ENV.secret${toString index}'')
+ (attrNames secrets))
+ + ''
+ ' <<'EOF'
+ ${builtins.toJSON set}
+ EOF
+ '';
}
diff --git a/nixos/maintainers/option-usages.nix b/nixos/maintainers/option-usages.nix
index a67a0ab960e..11247666ecd 100644
--- a/nixos/maintainers/option-usages.nix
+++ b/nixos/maintainers/option-usages.nix
@@ -102,7 +102,7 @@ let
# builtins multiply by 4 the memory usage and the time used to compute
# each options.
tryCollectOptions = moduleResult:
- flip map (excludeOptions (collect isOption moduleResult)) (opt:
+ forEach (excludeOptions (collect isOption moduleResult)) (opt:
{ name = showOption opt.loc; } // builtins.tryEval (strict opt.value));
in
keepNames (
diff --git a/nixos/maintainers/scripts/ec2/amazon-image.nix b/nixos/maintainers/scripts/ec2/amazon-image.nix
index 88d95e67544..31e15537179 100644
--- a/nixos/maintainers/scripts/ec2/amazon-image.nix
+++ b/nixos/maintainers/scripts/ec2/amazon-image.nix
@@ -17,7 +17,7 @@ in {
name = mkOption {
type = types.str;
description = "The name of the generated derivation";
- default = "nixos-disk-image";
+ default = "nixos-amazon-image-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}";
};
contents = mkOption {
@@ -42,7 +42,7 @@ in {
format = mkOption {
type = types.enum [ "raw" "qcow2" "vpc" ];
- default = "qcow2";
+ default = "vpc";
description = "The image format to output";
};
};
@@ -51,7 +51,9 @@ in {
inherit lib config;
inherit (cfg) contents format name;
pkgs = import ../../../.. { inherit (pkgs) system; }; # ensure we use the regular qemu-kvm package
- partitionTableType = if config.ec2.hvm then "legacy" else "none";
+ partitionTableType = if config.ec2.efi then "efi"
+ else if config.ec2.hvm then "legacy"
+ else "none";
diskSize = cfg.sizeMB;
fsType = "ext4";
configFile = pkgs.writeText "configuration.nix"
@@ -61,7 +63,27 @@ in {
${optionalString config.ec2.hvm ''
ec2.hvm = true;
''}
+ ${optionalString config.ec2.efi ''
+ ec2.efi = true;
+ ''}
}
'';
+ postVM = ''
+ extension=''${diskImage##*.}
+ friendlyName=$out/${cfg.name}.$extension
+ mv "$diskImage" "$friendlyName"
+ diskImage=$friendlyName
+
+ mkdir -p $out/nix-support
+ echo "file ${cfg.format} $diskImage" >> $out/nix-support/hydra-build-products
+
+ ${pkgs.jq}/bin/jq -n \
+ --arg label ${lib.escapeShellArg config.system.nixos.label} \
+ --arg system ${lib.escapeShellArg pkgs.stdenv.hostPlatform.system} \
+ --arg logical_bytes "$(${pkgs.qemu}/bin/qemu-img info --output json "$diskImage" | ${pkgs.jq}/bin/jq '."virtual-size"')" \
+ --arg file "$diskImage" \
+ '$ARGS.named' \
+ > $out/nix-support/image-info.json
+ '';
};
}
diff --git a/nixos/maintainers/scripts/ec2/create-amis.sh b/nixos/maintainers/scripts/ec2/create-amis.sh
index 790cc6cbc53..c4149e3e8ff 100755
--- a/nixos/maintainers/scripts/ec2/create-amis.sh
+++ b/nixos/maintainers/scripts/ec2/create-amis.sh
@@ -1,279 +1,296 @@
#!/usr/bin/env nix-shell
-#! nix-shell -i bash -p qemu ec2_ami_tools jq ec2_api_tools awscli
+#!nix-shell -p awscli -p jq -p qemu -i bash
-# To start with do: nix-shell -p awscli --run "aws configure"
+# Uploads and registers NixOS images built from the
+# amazonImage attribute. Images are uploaded and
+# registered via a home region, and then copied to other regions.
-set -e
-set -o pipefail
+# The home region requires an s3 bucket, and a "vmimport" IAM role
+# with access to the S3 bucket. Configuration of the vmimport role is
+# documented in
+# https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
-version=$(nix-instantiate --eval --strict '' -A lib.version | sed s/'"'//g)
-major=${version:0:5}
-echo "NixOS version is $version ($major)"
+# set -x
+set -euo pipefail
-stateDir=/home/deploy/amis/ec2-image-$version
-echo "keeping state in $stateDir"
-mkdir -p $stateDir
+# configuration
+state_dir=/home/deploy/amis/ec2-images
+home_region=eu-west-1
+bucket=nixos-amis
-rm -f ec2-amis.nix
+regions=(eu-west-1 eu-west-2 eu-west-3 eu-central-1
+ us-east-1 us-east-2 us-west-1 us-west-2
+ ca-central-1
+ ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2
+ ap-south-1 ap-east-1
+ sa-east-1)
-types="hvm"
-stores="ebs"
-regions="eu-west-1 eu-west-2 eu-west-3 eu-central-1 us-east-1 us-east-2 us-west-1 us-west-2 ca-central-1 ap-southeast-1 ap-southeast-2 ap-northeast-1 ap-northeast-2 sa-east-1 ap-south-1"
+log() {
+ echo "$@" >&2
+}
-for type in $types; do
- link=$stateDir/$type
- imageFile=$link/nixos.qcow2
- system=x86_64-linux
- arch=x86_64
+if [ -z "$1" ]; then
+ log "Usage: ./upload-amazon-image.sh IMAGE_OUTPUT"
+ exit 1
+fi
- # Build the image.
- if ! [ -L $link ]; then
- if [ $type = pv ]; then hvmFlag=false; else hvmFlag=true; fi
+# result of the amazon-image from nixos/release.nix
+store_path=$1
- echo "building image type '$type'..."
- nix-build -o $link \
- '' \
- -A config.system.build.amazonImage \
- --arg configuration "{ imports = [ ]; ec2.hvm = $hvmFlag; }"
+if [ ! -e "$store_path" ]; then
+ log "Store path: $store_path does not exist, fetching..."
+ nix-store --realise "$store_path"
+fi
+
+if [ ! -d "$store_path" ]; then
+ log "store_path: $store_path is not a directory. aborting"
+ exit 1
+fi
+
+read_image_info() {
+ if [ ! -e "$store_path/nix-support/image-info.json" ]; then
+ log "Image missing metadata"
+ exit 1
+ fi
+ jq -r "$1" "$store_path/nix-support/image-info.json"
+}
+
+# We handle a single image per invocation, store all attributes in
+# globals for convenience.
+image_label=$(read_image_info .label)
+image_system=$(read_image_info .system)
+image_file=$(read_image_info .file)
+image_logical_bytes=$(read_image_info .logical_bytes)
+
+# Derived attributes
+
+image_logical_gigabytes=$((($image_logical_bytes-1)/1024/1024/1024+1)) # Round to the next GB
+
+case "$image_system" in
+ aarch64-linux)
+ amazon_arch=arm64
+ ;;
+ x86_64-linux)
+ amazon_arch=x86_64
+ ;;
+ *)
+ log "Unknown system: $image_system"
+ exit 1
+esac
+
+image_name="NixOS-${image_label}-${image_system}"
+image_description="NixOS ${image_label} ${image_system}"
+
+log "Image Details:"
+log " Name: $image_name"
+log " Description: $image_description"
+log " Size (gigabytes): $image_logical_gigabytes"
+log " System: $image_system"
+log " Amazon Arch: $amazon_arch"
+
+read_state() {
+ local state_key=$1
+ local type=$2
+
+ cat "$state_dir/$state_key.$type" 2>/dev/null || true
+}
+
+write_state() {
+ local state_key=$1
+ local type=$2
+ local val=$3
+
+ mkdir -p $state_dir
+ echo "$val" > "$state_dir/$state_key.$type"
+}
+
+wait_for_import() {
+ local region=$1
+ local task_id=$2
+ local state snapshot_id
+ log "Waiting for import task $task_id to be completed"
+ while true; do
+ read state progress snapshot_id < <(
+ aws ec2 describe-import-snapshot-tasks --region $region --import-task-ids "$task_id" | \
+ jq -r '.ImportSnapshotTasks[].SnapshotTaskDetail | "\(.Status) \(.Progress) \(.SnapshotId)"'
+ )
+ log " ... state=$state progress=$progress snapshot_id=$snapshot_id"
+ case "$state" in
+ active)
+ sleep 10
+ ;;
+ completed)
+ echo "$snapshot_id"
+ return
+ ;;
+ *)
+ log "Unexpected snapshot import state: '${state}'"
+ exit 1
+ ;;
+ esac
+ done
+}
+
+wait_for_image() {
+ local region=$1
+ local ami_id=$2
+ local state
+ log "Waiting for image $ami_id to be available"
+
+ while true; do
+ read state < <(
+ aws ec2 describe-images --image-ids "$ami_id" --region $region | \
+ jq -r ".Images[].State"
+ )
+ log " ... state=$state"
+ case "$state" in
+ pending)
+ sleep 10
+ ;;
+ available)
+ return
+ ;;
+ *)
+ log "Unexpected AMI state: '${state}'"
+ exit 1
+ ;;
+ esac
+ done
+}
+
+
+make_image_public() {
+ local region=$1
+ local ami_id=$2
+
+ wait_for_image $region "$ami_id"
+
+ log "Making image $ami_id public"
+
+ aws ec2 modify-image-attribute \
+ --image-id "$ami_id" --region "$region" --launch-permission 'Add={Group=all}' >&2
+}
+
+upload_image() {
+ local region=$1
+
+ local aws_path=${image_file#/}
+
+ local state_key="$region.$image_label.$image_system"
+ local task_id=$(read_state "$state_key" task_id)
+ local snapshot_id=$(read_state "$state_key" snapshot_id)
+ local ami_id=$(read_state "$state_key" ami_id)
+
+ if [ -z "$task_id" ]; then
+ log "Checking for image on S3"
+ if ! aws s3 ls --region "$region" "s3://${bucket}/${aws_path}" >&2; then
+ log "Image missing from aws, uploading"
+ aws s3 cp --region $region "$image_file" "s3://${bucket}/${aws_path}" >&2
+ fi
+
+ log "Importing image from S3 path s3://$bucket/$aws_path"
+
+ task_id=$(aws ec2 import-snapshot --disk-container "{
+ \"Description\": \"nixos-image-${image_label}-${image_system}\",
+ \"Format\": \"vhd\",
+ \"UserBucket\": {
+ \"S3Bucket\": \"$bucket\",
+ \"S3Key\": \"$aws_path\"
+ }
+ }" --region $region | jq -r '.ImportTaskId')
+
+ write_state "$state_key" task_id "$task_id"
fi
- for store in $stores; do
+ if [ -z "$snapshot_id" ]; then
+ snapshot_id=$(wait_for_import "$region" "$task_id")
+ write_state "$state_key" snapshot_id "$snapshot_id"
+ fi
- bucket=nixos-amis
- bucketDir="$version-$type-$store"
+ if [ -z "$ami_id" ]; then
+ log "Registering snapshot $snapshot_id as AMI"
- prevAmi=
- prevRegion=
+ local block_device_mappings=(
+ "DeviceName=/dev/sda1,Ebs={SnapshotId=$snapshot_id,VolumeSize=$image_logical_gigabytes,DeleteOnTermination=true,VolumeType=gp2}"
+ )
- for region in $regions; do
+ local extra_flags=(
+ --root-device-name /dev/sda1
+ --sriov-net-support simple
+ --ena-support
+ --virtualization-type hvm
+ )
- name=nixos-$version-$arch-$type-$store
- description="NixOS $system $version ($type-$store)"
+ block_device_mappings+=(DeviceName=/dev/sdb,VirtualName=ephemeral0)
+ block_device_mappings+=(DeviceName=/dev/sdc,VirtualName=ephemeral1)
+ block_device_mappings+=(DeviceName=/dev/sdd,VirtualName=ephemeral2)
+ block_device_mappings+=(DeviceName=/dev/sde,VirtualName=ephemeral3)
- amiFile=$stateDir/$region.$type.$store.ami-id
+ ami_id=$(
+ aws ec2 register-image \
+ --name "$image_name" \
+ --description "$image_description" \
+ --region $region \
+ --architecture $amazon_arch \
+ --block-device-mappings "${block_device_mappings[@]}" \
+ "${extra_flags[@]}" \
+ | jq -r '.ImageId'
+ )
- if ! [ -e $amiFile ]; then
+ write_state "$state_key" ami_id "$ami_id"
+ fi
- echo "doing $name in $region..."
+ make_image_public $region "$ami_id"
- if [ -n "$prevAmi" ]; then
- ami=$(aws ec2 copy-image \
- --region "$region" \
- --source-region "$prevRegion" --source-image-id "$prevAmi" \
- --name "$name" --description "$description" | jq -r '.ImageId')
- if [ "$ami" = null ]; then break; fi
- else
+ echo "$ami_id"
+}
- if [ $store = s3 ]; then
+copy_to_region() {
+ local region=$1
+ local from_region=$2
+ local from_ami_id=$3
- # Bundle the image.
- imageDir=$stateDir/$type-bundled
+ state_key="$region.$image_label.$image_system"
+ ami_id=$(read_state "$state_key" ami_id)
- # Convert the image to raw format.
- rawFile=$stateDir/$type.raw
- if ! [ -e $rawFile ]; then
- qemu-img convert -f qcow2 -O raw $imageFile $rawFile.tmp
- mv $rawFile.tmp $rawFile
- fi
+ if [ -z "$ami_id" ]; then
+ log "Copying $from_ami_id to $region"
+ ami_id=$(
+ aws ec2 copy-image \
+ --region "$region" \
+ --source-region "$from_region" \
+ --source-image-id "$from_ami_id" \
+ --name "$image_name" \
+ --description "$image_description" \
+ | jq -r '.ImageId'
+ )
- if ! [ -d $imageDir ]; then
- rm -rf $imageDir.tmp
- mkdir -p $imageDir.tmp
- ec2-bundle-image \
- -d $imageDir.tmp \
- -i $rawFile --arch $arch \
- --user "$AWS_ACCOUNT" -c "$EC2_CERT" -k "$EC2_PRIVATE_KEY"
- mv $imageDir.tmp $imageDir
- fi
+ write_state "$state_key" ami_id "$ami_id"
+ fi
- # Upload the bundle to S3.
- if ! [ -e $imageDir/uploaded ]; then
- echo "uploading bundle to S3..."
- ec2-upload-bundle \
- -m $imageDir/$type.raw.manifest.xml \
- -b "$bucket/$bucketDir" \
- -a "$AWS_ACCESS_KEY_ID" -s "$AWS_SECRET_ACCESS_KEY" \
- --location EU
- touch $imageDir/uploaded
- fi
+ make_image_public $region "$ami_id"
- extraFlags="--image-location $bucket/$bucketDir/$type.raw.manifest.xml"
+ echo "$ami_id"
+}
- else
+upload_all() {
+ home_image_id=$(upload_image "$home_region")
+ jq -n \
+ --arg key "$home_region.$image_system" \
+ --arg value "$home_image_id" \
+ '$ARGS.named'
- # Convert the image to vhd format so we don't have
- # to upload a huge raw image.
- vhdFile=$stateDir/$type.vhd
- if ! [ -e $vhdFile ]; then
- qemu-img convert -f qcow2 -O vpc $imageFile $vhdFile.tmp
- mv $vhdFile.tmp $vhdFile
- fi
-
- vhdFileLogicalBytes="$(qemu-img info "$vhdFile" | grep ^virtual\ size: | cut -f 2 -d \( | cut -f 1 -d \ )"
- vhdFileLogicalGigaBytes=$(((vhdFileLogicalBytes-1)/1024/1024/1024+1)) # Round to the next GB
-
- echo "Disk size is $vhdFileLogicalBytes bytes. Will be registered as $vhdFileLogicalGigaBytes GB."
-
- taskId=$(cat $stateDir/$region.$type.task-id 2> /dev/null || true)
- volId=$(cat $stateDir/$region.$type.vol-id 2> /dev/null || true)
- snapId=$(cat $stateDir/$region.$type.snap-id 2> /dev/null || true)
-
- # Import the VHD file.
- if [ -z "$snapId" -a -z "$volId" -a -z "$taskId" ]; then
- echo "importing $vhdFile..."
- taskId=$(ec2-import-volume $vhdFile --no-upload -f vhd \
- -O "$AWS_ACCESS_KEY_ID" -W "$AWS_SECRET_ACCESS_KEY" \
- -o "$AWS_ACCESS_KEY_ID" -w "$AWS_SECRET_ACCESS_KEY" \
- --region "$region" -z "${region}a" \
- --bucket "$bucket" --prefix "$bucketDir/" \
- | tee /dev/stderr \
- | sed 's/.*\(import-vol-[0-9a-z]\+\).*/\1/ ; t ; d')
- echo -n "$taskId" > $stateDir/$region.$type.task-id
- fi
-
- if [ -z "$snapId" -a -z "$volId" ]; then
- ec2-resume-import $vhdFile -t "$taskId" --region "$region" \
- -O "$AWS_ACCESS_KEY_ID" -W "$AWS_SECRET_ACCESS_KEY" \
- -o "$AWS_ACCESS_KEY_ID" -w "$AWS_SECRET_ACCESS_KEY"
- fi
-
- # Wait for the volume creation to finish.
- if [ -z "$snapId" -a -z "$volId" ]; then
- echo "waiting for import to finish..."
- while true; do
- volId=$(aws ec2 describe-conversion-tasks --conversion-task-ids "$taskId" --region "$region" | jq -r .ConversionTasks[0].ImportVolume.Volume.Id)
- if [ "$volId" != null ]; then break; fi
- sleep 10
- done
-
- echo -n "$volId" > $stateDir/$region.$type.vol-id
- fi
-
- # Delete the import task.
- if [ -n "$volId" -a -n "$taskId" ]; then
- echo "removing import task..."
- ec2-delete-disk-image -t "$taskId" --region "$region" \
- -O "$AWS_ACCESS_KEY_ID" -W "$AWS_SECRET_ACCESS_KEY" \
- -o "$AWS_ACCESS_KEY_ID" -w "$AWS_SECRET_ACCESS_KEY" || true
- rm -f $stateDir/$region.$type.task-id
- fi
-
- # Create a snapshot.
- if [ -z "$snapId" ]; then
- echo "creating snapshot..."
- # FIXME: this can fail with InvalidVolume.NotFound. Eventual consistency yay.
- snapId=$(aws ec2 create-snapshot --volume-id "$volId" --region "$region" --description "$description" | jq -r .SnapshotId)
- if [ "$snapId" = null ]; then exit 1; fi
- echo -n "$snapId" > $stateDir/$region.$type.snap-id
- fi
-
- # Wait for the snapshot to finish.
- echo "waiting for snapshot to finish..."
- while true; do
- status=$(aws ec2 describe-snapshots --snapshot-ids "$snapId" --region "$region" | jq -r .Snapshots[0].State)
- if [ "$status" = completed ]; then break; fi
- sleep 10
- done
-
- # Delete the volume.
- if [ -n "$volId" ]; then
- echo "deleting volume..."
- aws ec2 delete-volume --volume-id "$volId" --region "$region" || true
- rm -f $stateDir/$region.$type.vol-id
- fi
-
- blockDeviceMappings="DeviceName=/dev/sda1,Ebs={SnapshotId=$snapId,VolumeSize=$vhdFileLogicalGigaBytes,DeleteOnTermination=true,VolumeType=gp2}"
- extraFlags=""
-
- if [ $type = pv ]; then
- extraFlags+=" --root-device-name /dev/sda1"
- else
- extraFlags+=" --root-device-name /dev/sda1"
- extraFlags+=" --sriov-net-support simple"
- extraFlags+=" --ena-support"
- fi
-
- blockDeviceMappings+=" DeviceName=/dev/sdb,VirtualName=ephemeral0"
- blockDeviceMappings+=" DeviceName=/dev/sdc,VirtualName=ephemeral1"
- blockDeviceMappings+=" DeviceName=/dev/sdd,VirtualName=ephemeral2"
- blockDeviceMappings+=" DeviceName=/dev/sde,VirtualName=ephemeral3"
- fi
-
- if [ $type = hvm ]; then
- extraFlags+=" --sriov-net-support simple"
- extraFlags+=" --ena-support"
- fi
-
- # Register the AMI.
- if [ $type = pv ]; then
- kernel=$(aws ec2 describe-images --owner amazon --filters "Name=name,Values=pv-grub-hd0_1.05-$arch.gz" | jq -r .Images[0].ImageId)
- if [ "$kernel" = null ]; then break; fi
- echo "using PV-GRUB kernel $kernel"
- extraFlags+=" --virtualization-type paravirtual --kernel $kernel"
- else
- extraFlags+=" --virtualization-type hvm"
- fi
-
- ami=$(aws ec2 register-image \
- --name "$name" \
- --description "$description" \
- --region "$region" \
- --architecture "$arch" \
- --block-device-mappings $blockDeviceMappings \
- $extraFlags | jq -r .ImageId)
- if [ "$ami" = null ]; then break; fi
- fi
-
- echo -n "$ami" > $amiFile
- echo "created AMI $ami of type '$type' in $region..."
-
- else
- ami=$(cat $amiFile)
- fi
-
- echo "region = $region, type = $type, store = $store, ami = $ami"
-
- if [ -z "$prevAmi" ]; then
- prevAmi="$ami"
- prevRegion="$region"
- fi
- done
+ for region in "${regions[@]}"; do
+ if [ "$region" = "$home_region" ]; then
+ continue
+ fi
+ copied_image_id=$(copy_to_region "$region" "$home_region" "$home_image_id")
+ jq -n \
+ --arg key "$region.$image_system" \
+ --arg value "$copied_image_id" \
+ '$ARGS.named'
done
+}
-done
-
-for type in $types; do
- link=$stateDir/$type
- system=x86_64-linux
- arch=x86_64
-
- for store in $stores; do
-
- for region in $regions; do
-
- name=nixos-$version-$arch-$type-$store
- amiFile=$stateDir/$region.$type.$store.ami-id
- ami=$(cat $amiFile)
-
- echo "region = $region, type = $type, store = $store, ami = $ami"
-
- echo -n "waiting for AMI..."
- while true; do
- status=$(aws ec2 describe-images --image-ids "$ami" --region "$region" | jq -r .Images[0].State)
- if [ "$status" = available ]; then break; fi
- sleep 10
- echo -n '.'
- done
- echo
-
- # Make the image public.
- aws ec2 modify-image-attribute \
- --image-id "$ami" --region "$region" --launch-permission 'Add={Group=all}'
-
- echo " \"$major\".$region.$type-$store = \"$ami\";" >> ec2-amis.nix
- done
-
- done
-
-done
+upload_all | jq --slurp from_entries
diff --git a/nixos/modules/config/fonts/fontconfig-penultimate.nix b/nixos/modules/config/fonts/fontconfig-penultimate.nix
index 04fa8b9559a..7e311a21acf 100644
--- a/nixos/modules/config/fonts/fontconfig-penultimate.nix
+++ b/nixos/modules/config/fonts/fontconfig-penultimate.nix
@@ -35,8 +35,8 @@ let
then "fontconfig"
else "fontconfig_${version}";
makeCache = fontconfig: pkgs.makeFontsCache { inherit fontconfig; fontDirectories = config.fonts.fonts; };
- cache = makeCache pkgs."${fcPackage}";
- cache32 = makeCache pkgs.pkgsi686Linux."${fcPackage}";
+ cache = makeCache pkgs.${fcPackage};
+ cache32 = makeCache pkgs.pkgsi686Linux.${fcPackage};
in
pkgs.writeText "fc-00-nixos-cache.conf" ''
@@ -52,85 +52,11 @@ let
'';
+ # local configuration file
localConf = pkgs.writeText "fc-local.conf" cfg.localConf;
- # The configuration to be included in /etc/font/
- penultimateConf = pkgs.runCommand "font-penultimate-conf" {
- preferLocalBuild = true;
- } ''
- support_folder=$out/etc/fonts/conf.d
- latest_folder=$out/etc/fonts/${latestVersion}/conf.d
-
- mkdir -p $support_folder
- mkdir -p $latest_folder
-
- ln -s ${supportFontsConf} $support_folder/../fonts.conf
- ln -s ${latestPkg.out}/etc/fonts/fonts.conf \
- $latest_folder/../fonts.conf
-
- # fontconfig-penultimate various configuration files
- ln -s ${pkgs.fontconfig-penultimate}/etc/fonts/conf.d/*.conf \
- $support_folder
- ln -s ${pkgs.fontconfig-penultimate}/etc/fonts/conf.d/*.conf \
- $latest_folder
-
- ln -s ${cacheConfSupport} $support_folder/00-nixos-cache.conf
- ln -s ${cacheConfLatest} $latest_folder/00-nixos-cache.conf
-
- rm $support_folder/10-antialias.conf $latest_folder/10-antialias.conf
- ln -s ${antialiasConf} $support_folder/10-antialias.conf
- ln -s ${antialiasConf} $latest_folder/10-antialias.conf
-
- rm $support_folder/10-hinting.conf $latest_folder/10-hinting.conf
- ln -s ${hintingConf} $support_folder/10-hinting.conf
- ln -s ${hintingConf} $latest_folder/10-hinting.conf
-
- ${optionalString cfg.useEmbeddedBitmaps ''
- rm $support_folder/10-no-embedded-bitmaps.conf
- rm $latest_folder/10-no-embedded-bitmaps.conf
- ''}
-
- rm $support_folder/10-subpixel.conf $latest_folder/10-subpixel.conf
- ln -s ${subpixelConf} $support_folder/10-subpixel.conf
- ln -s ${subpixelConf} $latest_folder/10-subpixel.conf
-
- ${optionalString (cfg.dpi != 0) ''
- ln -s ${dpiConf} $support_folder/11-dpi.conf
- ln -s ${dpiConf} $latest_folder/11-dpi.conf
- ''}
-
- ${optionalString (!cfg.includeUserConf) ''
- rm $support_folder/50-user.conf
- rm $latest_folder/50-user.conf
- ''}
-
- # 51-local.conf
- rm $latest_folder/51-local.conf
- substitute \
- ${pkgs.fontconfig-penultimate}/etc/fonts/conf.d/51-local.conf \
- $latest_folder/51-local.conf \
- --replace local.conf /etc/fonts/${latestVersion}/local.conf
-
- # local.conf (indirect priority 51)
- ${optionalString (cfg.localConf != "") ''
- ln -s ${localConf} $out/etc/fonts/local.conf
- ln -s ${localConf} $out/etc/fonts/${latestVersion}/local.conf
- ''}
-
- ln -s ${defaultFontsConf} $support_folder/52-default-fonts.conf
- ln -s ${defaultFontsConf} $latest_folder/52-default-fonts.conf
-
- ${optionalString cfg.allowBitmaps ''
- rm $support_folder/53-no-bitmaps.conf
- rm $latest_folder/53-no-bitmaps.conf
- ''}
-
- ${optionalString (!cfg.allowType1) ''
- ln -s ${rejectType1} $support_folder/53-no-type1.conf
- ln -s ${rejectType1} $latest_folder/53-no-type1.conf
- ''}
- '';
-
+ # rendering settings configuration files
+ # priority 10
hintingConf = pkgs.writeText "fc-10-hinting.conf" ''
@@ -199,6 +125,8 @@ let
'';
+ # default fonts configuration file
+ # priority 52
defaultFontsConf =
let genDefault = fonts: name:
optionalString (fonts != []) ''
@@ -228,7 +156,9 @@ let
'';
- rejectType1 = pkgs.writeText "fc-53-no-type1.conf" ''
+ # reject Type 1 fonts
+ # priority 53
+ rejectType1 = pkgs.writeText "fc-53-nixos-reject-type1.conf" ''
@@ -245,6 +175,88 @@ let
'';
+ # The configuration to be included in /etc/font/
+ penultimateConf = pkgs.runCommand "fontconfig-penultimate-conf" {
+ preferLocalBuild = true;
+ } ''
+ support_folder=$out/etc/fonts/conf.d
+ latest_folder=$out/etc/fonts/${latestVersion}/conf.d
+
+ mkdir -p $support_folder
+ mkdir -p $latest_folder
+
+ # fonts.conf
+ ln -s ${supportFontsConf} $support_folder/../fonts.conf
+ ln -s ${latestPkg.out}/etc/fonts/fonts.conf \
+ $latest_folder/../fonts.conf
+
+ # fontconfig-penultimate various configuration files
+ ln -s ${pkgs.fontconfig-penultimate}/etc/fonts/conf.d/*.conf \
+ $support_folder
+ ln -s ${pkgs.fontconfig-penultimate}/etc/fonts/conf.d/*.conf \
+ $latest_folder
+
+ ln -s ${cacheConfSupport} $support_folder/00-nixos-cache.conf
+ ln -s ${cacheConfLatest} $latest_folder/00-nixos-cache.conf
+
+ rm $support_folder/10-antialias.conf $latest_folder/10-antialias.conf
+ ln -s ${antialiasConf} $support_folder/10-antialias.conf
+ ln -s ${antialiasConf} $latest_folder/10-antialias.conf
+
+ rm $support_folder/10-hinting.conf $latest_folder/10-hinting.conf
+ ln -s ${hintingConf} $support_folder/10-hinting.conf
+ ln -s ${hintingConf} $latest_folder/10-hinting.conf
+
+ ${optionalString cfg.useEmbeddedBitmaps ''
+ rm $support_folder/10-no-embedded-bitmaps.conf
+ rm $latest_folder/10-no-embedded-bitmaps.conf
+ ''}
+
+ rm $support_folder/10-subpixel.conf $latest_folder/10-subpixel.conf
+ ln -s ${subpixelConf} $support_folder/10-subpixel.conf
+ ln -s ${subpixelConf} $latest_folder/10-subpixel.conf
+
+ ${optionalString (cfg.dpi != 0) ''
+ ln -s ${dpiConf} $support_folder/11-dpi.conf
+ ln -s ${dpiConf} $latest_folder/11-dpi.conf
+ ''}
+
+ # 50-user.conf
+ ${optionalString (!cfg.includeUserConf) ''
+ rm $support_folder/50-user.conf
+ rm $latest_folder/50-user.conf
+ ''}
+
+ # 51-local.conf
+ rm $latest_folder/51-local.conf
+ substitute \
+ ${pkgs.fontconfig-penultimate}/etc/fonts/conf.d/51-local.conf \
+ $latest_folder/51-local.conf \
+ --replace local.conf /etc/fonts/${latestVersion}/local.conf
+
+ # local.conf (indirect priority 51)
+ ${optionalString (cfg.localConf != "") ''
+ ln -s ${localConf} $support_folder/../local.conf
+ ln -s ${localConf} $latest_folder/../local.conf
+ ''}
+
+ # 52-nixos-default-fonts.conf
+ ln -s ${defaultFontsConf} $support_folder/52-nixos-default-fonts.conf
+ ln -s ${defaultFontsConf} $latest_folder/52-nixos-default-fonts.conf
+
+ # 53-no-bitmaps.conf
+ ${optionalString cfg.allowBitmaps ''
+ rm $support_folder/53-no-bitmaps.conf
+ rm $latest_folder/53-no-bitmaps.conf
+ ''}
+
+ ${optionalString (!cfg.allowType1) ''
+ # 53-nixos-reject-type1.conf
+ ln -s ${rejectType1} $support_folder/53-nixos-reject-type1.conf
+ ln -s ${rejectType1} $latest_folder/53-nixos-reject-type1.conf
+ ''}
+ '';
+
in
{
@@ -257,7 +269,7 @@ in
penultimate = {
enable = mkOption {
type = types.bool;
- default = true;
+ default = false;
description = ''
Enable fontconfig-penultimate settings to supplement the
NixOS defaults by providing per-font rendering defaults and
diff --git a/nixos/modules/config/fonts/fontconfig-ultimate.nix b/nixos/modules/config/fonts/fontconfig-ultimate.nix
index 45328f3eaf1..84d90899dff 100644
--- a/nixos/modules/config/fonts/fontconfig-ultimate.nix
+++ b/nixos/modules/config/fonts/fontconfig-ultimate.nix
@@ -79,7 +79,7 @@ in
config = mkIf (config.fonts.fontconfig.enable && cfg.enable) {
fonts.fontconfig.confPackages = [ confPkg ];
- environment.variables."INFINALITY_FT" = cfg.preset;
+ environment.variables.INFINALITY_FT = cfg.preset;
};
diff --git a/nixos/modules/config/fonts/fontconfig.nix b/nixos/modules/config/fonts/fontconfig.nix
index 724158f7382..8f227c42326 100644
--- a/nixos/modules/config/fonts/fontconfig.nix
+++ b/nixos/modules/config/fonts/fontconfig.nix
@@ -14,250 +14,254 @@ Low number means high priority.
*/
-{ config, lib, pkgs, ... }:
+{ config, pkgs, lib, ... }:
with lib;
-let cfg = config.fonts.fontconfig;
+let
+ cfg = config.fonts.fontconfig;
- fcBool = x: "" + (boolToString x) + "";
+ fcBool = x: "" + (boolToString x) + "";
- # back-supported fontconfig version and package
- # version is used for font cache generation
- supportVersion = "210";
- supportPkg = pkgs."fontconfig_${supportVersion}";
+ # back-supported fontconfig version and package
+ # version is used for font cache generation
+ supportVersion = "210";
+ supportPkg = pkgs."fontconfig_${supportVersion}";
- # latest fontconfig version and package
- # version is used for configuration folder name, /etc/fonts/VERSION/
- # note: format differs from supportVersion and can not be used with makeCacheConf
- latestVersion = pkgs.fontconfig.configVersion;
- latestPkg = pkgs.fontconfig;
+ # latest fontconfig version and package
+ # version is used for configuration folder name, /etc/fonts/VERSION/
+ # note: format differs from supportVersion and can not be used with makeCacheConf
+ latestVersion = pkgs.fontconfig.configVersion;
+ latestPkg = pkgs.fontconfig;
- # supported version fonts.conf
- supportFontsConf = pkgs.makeFontsConf { fontconfig = supportPkg; fontDirectories = config.fonts.fonts; };
+ # supported version fonts.conf
+ supportFontsConf = pkgs.makeFontsConf { fontconfig = supportPkg; fontDirectories = config.fonts.fonts; };
- # configuration file to read fontconfig cache
- # version dependent
- # priority 0
- cacheConfSupport = makeCacheConf { version = supportVersion; };
- cacheConfLatest = makeCacheConf {};
+ # configuration file to read fontconfig cache
+ # version dependent
+ # priority 0
+ cacheConfSupport = makeCacheConf { version = supportVersion; };
+ cacheConfLatest = makeCacheConf {};
- # generate the font cache setting file for a fontconfig version
- # use latest when no version is passed
- makeCacheConf = { version ? null }:
- let
- fcPackage = if version == null
- then "fontconfig"
- else "fontconfig_${version}";
- makeCache = fontconfig: pkgs.makeFontsCache { inherit fontconfig; fontDirectories = config.fonts.fonts; };
- cache = makeCache pkgs."${fcPackage}";
- cache32 = makeCache pkgs.pkgsi686Linux."${fcPackage}";
- in
- pkgs.writeText "fc-00-nixos-cache.conf" ''
-
-
-
-
- ${concatStringsSep "\n" (map (font: "${font}") config.fonts.fonts)}
-
- ${cache}
- ${optionalString (pkgs.stdenv.isx86_64 && cfg.cache32Bit) ''
- ${cache32}
- ''}
-
- '';
-
- # rendering settings configuration file
- # priority 10
- renderConf = pkgs.writeText "fc-10-nixos-rendering.conf" ''
+ # generate the font cache setting file for a fontconfig version
+ # use latest when no version is passed
+ makeCacheConf = { version ? null }:
+ let
+ fcPackage = if version == null
+ then "fontconfig"
+ else "fontconfig_${version}";
+ makeCache = fontconfig: pkgs.makeFontsCache { inherit fontconfig; fontDirectories = config.fonts.fonts; };
+ cache = makeCache pkgs.${fcPackage};
+ cache32 = makeCache pkgs.pkgsi686Linux.${fcPackage};
+ in
+ pkgs.writeText "fc-00-nixos-cache.conf" ''
-
-
-
-
- ${fcBool cfg.hinting.enable}
-
-
- ${fcBool cfg.hinting.autohint}
-
-
- hintslight
-
-
- ${fcBool cfg.antialias}
-
-
- ${cfg.subpixel.rgba}
-
-
- lcd${cfg.subpixel.lcdfilter}
-
-
-
- ${optionalString (cfg.dpi != 0) ''
-
-
- ${toString cfg.dpi}
-
-
+
+ ${concatStringsSep "\n" (map (font: "${font}") config.fonts.fonts)}
+
+ ${cache}
+ ${optionalString (pkgs.stdenv.isx86_64 && cfg.cache32Bit) ''
+ ${cache32}
''}
-
'';
- # local configuration file
- # priority 51
- localConf = pkgs.writeText "fc-local.conf" cfg.localConf;
+ # rendering settings configuration file
+ # priority 10
+ renderConf = pkgs.writeText "fc-10-nixos-rendering.conf" ''
+
+
+
- # default fonts configuration file
- # priority 52
- defaultFontsConf =
- let genDefault = fonts: name:
- optionalString (fonts != []) ''
-
- ${name}
-
- ${concatStringsSep ""
- (map (font: ''
- ${font}
- '') fonts)}
-
-
- '';
- in
- pkgs.writeText "fc-52-nixos-default-fonts.conf" ''
-
-
-
-
-
- ${genDefault cfg.defaultFonts.sansSerif "sans-serif"}
-
- ${genDefault cfg.defaultFonts.serif "serif"}
-
- ${genDefault cfg.defaultFonts.monospace "monospace"}
-
-
- '';
-
- # bitmap font options
- # priority 53
- rejectBitmaps = pkgs.writeText "fc-53-nixos-bitmaps.conf" ''
-
-
-
-
- ${optionalString (!cfg.allowBitmaps) ''
-
-
-
-
- false
-
-
-
- ''}
-
-
-
-
- ${fcBool cfg.useEmbeddedBitmaps}
+
+
+
+ ${fcBool cfg.hinting.enable}
+
+
+ ${fcBool cfg.hinting.autohint}
+
+
+ hintslight
+
+
+ ${fcBool cfg.antialias}
+
+
+ ${cfg.subpixel.rgba}
+
+
+ lcd${cfg.subpixel.lcdfilter}
-
- '';
-
- # reject Type 1 fonts
- # priority 53
- rejectType1 = pkgs.writeText "fc-53-nixos-reject-type1.conf" ''
-
-
-
-
-
-
-
-
- Type 1
-
-
-
-
-
- '';
-
- # fontconfig configuration package
- confPkg = pkgs.runCommand "fontconfig-conf" { preferLocalBuild = true; } ''
- support_folder=$out/etc/fonts
- latest_folder=$out/etc/fonts/${latestVersion}
-
- mkdir -p $support_folder/conf.d
- mkdir -p $latest_folder/conf.d
-
- # fonts.conf
- ln -s ${supportFontsConf} $support_folder/fonts.conf
- ln -s ${latestPkg.out}/etc/fonts/fonts.conf \
- $latest_folder/fonts.conf
-
- # fontconfig default config files
- ln -s ${supportPkg.out}/etc/fonts/conf.d/*.conf \
- $support_folder/conf.d/
- ln -s ${latestPkg.out}/etc/fonts/conf.d/*.conf \
- $latest_folder/conf.d/
-
- # update latest 51-local.conf path to look at the latest local.conf
- rm $latest_folder/conf.d/51-local.conf
-
- substitute ${latestPkg.out}/etc/fonts/conf.d/51-local.conf \
- $latest_folder/conf.d/51-local.conf \
- --replace local.conf /etc/fonts/${latestVersion}/local.conf
-
- # 00-nixos-cache.conf
- ln -s ${cacheConfSupport} \
- $support_folder/conf.d/00-nixos-cache.conf
- ln -s ${cacheConfLatest} $latest_folder/conf.d/00-nixos-cache.conf
-
- # 10-nixos-rendering.conf
- ln -s ${renderConf} $support_folder/conf.d/10-nixos-rendering.conf
- ln -s ${renderConf} $latest_folder/conf.d/10-nixos-rendering.conf
-
- # 50-user.conf
- ${optionalString (! cfg.includeUserConf) ''
- rm $support_folder/conf.d/50-user.conf
- rm $latest_folder/conf.d/50-user.conf
+ ${optionalString (cfg.dpi != 0) ''
+
+
+ ${toString cfg.dpi}
+
+
''}
- # local.conf (indirect priority 51)
- ${optionalString (cfg.localConf != "") ''
- ln -s ${localConf} $support_folder/local.conf
- ln -s ${localConf} $latest_folder/local.conf
- ''}
+
+ '';
- # 52-nixos-default-fonts.conf
- ln -s ${defaultFontsConf} $support_folder/conf.d/52-nixos-default-fonts.conf
- ln -s ${defaultFontsConf} $latest_folder/conf.d/52-nixos-default-fonts.conf
+ # local configuration file
+ localConf = pkgs.writeText "fc-local.conf" cfg.localConf;
- # 53-nixos-bitmaps.conf
- ln -s ${rejectBitmaps} $support_folder/conf.d/53-nixos-bitmaps.conf
- ln -s ${rejectBitmaps} $latest_folder/conf.d/53-nixos-bitmaps.conf
+ # default fonts configuration file
+ # priority 52
+ defaultFontsConf =
+ let genDefault = fonts: name:
+ optionalString (fonts != []) ''
+
+ ${name}
+
+ ${concatStringsSep ""
+ (map (font: ''
+ ${font}
+ '') fonts)}
+
+
+ '';
+ in
+ pkgs.writeText "fc-52-nixos-default-fonts.conf" ''
+
+
+
- ${optionalString (! cfg.allowType1) ''
- # 53-nixos-reject-type1.conf
- ln -s ${rejectType1} $support_folder/conf.d/53-nixos-reject-type1.conf
- ln -s ${rejectType1} $latest_folder/conf.d/53-nixos-reject-type1.conf
- ''}
- '';
+
+ ${genDefault cfg.defaultFonts.sansSerif "sans-serif"}
- # Package with configuration files
- # this merge all the packages in the fonts.fontconfig.confPackages list
- fontconfigEtc = pkgs.buildEnv {
- name = "fontconfig-etc";
- paths = cfg.confPackages;
- ignoreCollisions = true;
- };
+ ${genDefault cfg.defaultFonts.serif "serif"}
+
+ ${genDefault cfg.defaultFonts.monospace "monospace"}
+
+ ${genDefault cfg.defaultFonts.emoji "emoji"}
+
+
+ '';
+
+ # bitmap font options
+ # priority 53
+ rejectBitmaps = pkgs.writeText "fc-53-no-bitmaps.conf" ''
+
+
+
+
+ ${optionalString (!cfg.allowBitmaps) ''
+
+
+
+
+ false
+
+
+
+ ''}
+
+
+
+
+ ${fcBool cfg.useEmbeddedBitmaps}
+
+
+
+
+ '';
+
+ # reject Type 1 fonts
+ # priority 53
+ rejectType1 = pkgs.writeText "fc-53-nixos-reject-type1.conf" ''
+
+
+
+
+
+
+
+
+ Type 1
+
+
+
+
+
+ '';
+
+ # fontconfig configuration package
+ confPkg = pkgs.runCommand "fontconfig-conf" {
+ preferLocalBuild = true;
+ } ''
+ support_folder=$out/etc/fonts/conf.d
+ latest_folder=$out/etc/fonts/${latestVersion}/conf.d
+
+ mkdir -p $support_folder
+ mkdir -p $latest_folder
+
+ # fonts.conf
+ ln -s ${supportFontsConf} $support_folder/../fonts.conf
+ ln -s ${latestPkg.out}/etc/fonts/fonts.conf \
+ $latest_folder/../fonts.conf
+
+ # fontconfig default config files
+ ln -s ${supportPkg.out}/etc/fonts/conf.d/*.conf \
+ $support_folder/
+ ln -s ${latestPkg.out}/etc/fonts/conf.d/*.conf \
+ $latest_folder/
+
+ # update latest 51-local.conf path to look at the latest local.conf
+ rm $latest_folder/51-local.conf
+
+ substitute ${latestPkg.out}/etc/fonts/conf.d/51-local.conf \
+ $latest_folder/51-local.conf \
+ --replace local.conf /etc/fonts/${latestVersion}/local.conf
+
+ # 00-nixos-cache.conf
+ ln -s ${cacheConfSupport} \
+ $support_folder/00-nixos-cache.conf
+ ln -s ${cacheConfLatest} $latest_folder/00-nixos-cache.conf
+
+ # 10-nixos-rendering.conf
+ ln -s ${renderConf} $support_folder/10-nixos-rendering.conf
+ ln -s ${renderConf} $latest_folder/10-nixos-rendering.conf
+
+ # 50-user.conf
+ ${optionalString (!cfg.includeUserConf) ''
+ rm $support_folder/50-user.conf
+ rm $latest_folder/50-user.conf
+ ''}
+
+ # local.conf (indirect priority 51)
+ ${optionalString (cfg.localConf != "") ''
+ ln -s ${localConf} $support_folder/../local.conf
+ ln -s ${localConf} $latest_folder/../local.conf
+ ''}
+
+ # 52-nixos-default-fonts.conf
+ ln -s ${defaultFontsConf} $support_folder/52-nixos-default-fonts.conf
+ ln -s ${defaultFontsConf} $latest_folder/52-nixos-default-fonts.conf
+
+ # 53-no-bitmaps.conf
+ ln -s ${rejectBitmaps} $support_folder/53-no-bitmaps.conf
+ ln -s ${rejectBitmaps} $latest_folder/53-no-bitmaps.conf
+
+ ${optionalString (!cfg.allowType1) ''
+ # 53-nixos-reject-type1.conf
+ ln -s ${rejectType1} $support_folder/53-nixos-reject-type1.conf
+ ln -s ${rejectType1} $latest_folder/53-nixos-reject-type1.conf
+ ''}
+ '';
+
+ # Package with configuration files
+ # this merge all the packages in the fonts.fontconfig.confPackages list
+ fontconfigEtc = pkgs.buildEnv {
+ name = "fontconfig-etc";
+ paths = cfg.confPackages;
+ ignoreCollisions = true;
+ };
in
{
@@ -342,6 +346,21 @@ in
in case multiple languages must be supported.
'';
};
+
+ emoji = mkOption {
+ type = types.listOf types.str;
+ default = ["Noto Color Emoji"];
+ description = ''
+ System-wide default emoji font(s). Multiple fonts may be listed
+ in case a font does not support all emoji.
+
+ Note that fontconfig matches color emoji fonts preferentially,
+ so if you want to use a black and white font while having
+ a color font installed (eg. Noto Color Emoji installed alongside
+ Noto Emoji), fontconfig will still choose the color font even
+ when it is later in the list.
+ '';
+ };
};
hinting = {
diff --git a/nixos/modules/config/fonts/fonts.nix b/nixos/modules/config/fonts/fonts.nix
index 0dd01df9da7..abb806b601a 100644
--- a/nixos/modules/config/fonts/fonts.nix
+++ b/nixos/modules/config/fonts/fonts.nix
@@ -43,6 +43,7 @@ with lib;
pkgs.xorg.fontmiscmisc
pkgs.xorg.fontcursormisc
pkgs.unifont
+ pkgs.noto-fonts-emoji
];
};
diff --git a/nixos/modules/config/gtk/gtk-icon-cache.nix b/nixos/modules/config/gtk/gtk-icon-cache.nix
index 9c5d993b9c5..86a6bfb5af4 100644
--- a/nixos/modules/config/gtk/gtk-icon-cache.nix
+++ b/nixos/modules/config/gtk/gtk-icon-cache.nix
@@ -7,7 +7,7 @@ with lib;
type = types.bool;
default = config.services.xserver.enable;
description = ''
- Whether to build icon theme caches for GTK+ applications.
+ Whether to build icon theme caches for GTK applications.
'';
};
};
diff --git a/nixos/modules/config/krb5/default.nix b/nixos/modules/config/krb5/default.nix
index 87021a27d34..ff16ffcf9c6 100644
--- a/nixos/modules/config/krb5/default.nix
+++ b/nixos/modules/config/krb5/default.nix
@@ -15,7 +15,7 @@ let
realms = optionalAttrs (lib.all (value: value != null) [
cfg.defaultRealm cfg.kdc cfg.kerberosAdminServer
]) {
- "${cfg.defaultRealm}" = {
+ ${cfg.defaultRealm} = {
kdc = cfg.kdc;
admin_server = cfg.kerberosAdminServer;
};
@@ -25,7 +25,7 @@ let
cfg.domainRealm cfg.defaultRealm
]) {
".${cfg.domainRealm}" = cfg.defaultRealm;
- "${cfg.domainRealm}" = cfg.defaultRealm;
+ ${cfg.domainRealm} = cfg.defaultRealm;
};
};
diff --git a/nixos/modules/config/timezone.nix b/nixos/modules/config/locale.nix
similarity index 62%
rename from nixos/modules/config/timezone.nix
rename to nixos/modules/config/locale.nix
index b15948f6e2e..6f056588187 100644
--- a/nixos/modules/config/timezone.nix
+++ b/nixos/modules/config/locale.nix
@@ -9,6 +9,8 @@ let
timezone = types.nullOr (types.addCheck types.str nospace)
// { description = "null or string without spaces"; };
+ lcfg = config.location;
+
in
{
@@ -37,12 +39,45 @@ in
};
};
+
+ location = {
+
+ latitude = mkOption {
+ type = types.float;
+ description = ''
+ Your current latitude, between
+ -90.0 and 90.0. Must be provided
+ along with longitude.
+ '';
+ };
+
+ longitude = mkOption {
+ type = types.float;
+ description = ''
+ Your current longitude, between
+ between -180.0 and 180.0. Must be
+ provided along with latitude.
+ '';
+ };
+
+ provider = mkOption {
+ type = types.enum [ "manual" "geoclue2" ];
+ default = "manual";
+ description = ''
+ The location provider to use for determining your location. If set to
+ manual you must also provide latitude/longitude.
+ '';
+ };
+
+ };
};
config = {
environment.sessionVariables.TZDIR = "/etc/zoneinfo";
+ services.geoclue2.enable = mkIf (lcfg.provider == "geoclue2") true;
+
# This way services are restarted when tzdata changes.
systemd.globalEnvironment.TZDIR = tzdir;
diff --git a/nixos/modules/config/malloc.nix b/nixos/modules/config/malloc.nix
index 5fca39aa2e2..31a659ee83f 100644
--- a/nixos/modules/config/malloc.nix
+++ b/nixos/modules/config/malloc.nix
@@ -6,7 +6,7 @@ let
# The set of alternative malloc(3) providers.
providers = {
- "graphene-hardened" = rec {
+ graphene-hardened = {
libPath = "${pkgs.graphene-hardened-malloc}/lib/libhardened_malloc.so";
description = ''
An allocator designed to mitigate memory corruption attacks, such as
@@ -14,16 +14,25 @@ let
'';
};
- "jemalloc" = {
+ jemalloc = {
libPath = "${pkgs.jemalloc}/lib/libjemalloc.so";
description = ''
A general purpose allocator that emphasizes fragmentation avoidance
and scalable concurrency support.
'';
};
+
+ scudo = {
+ libPath = "${pkgs.llvmPackages.compiler-rt}/lib/linux/libclang_rt.scudo-x86_64.so";
+ description = ''
+ A user-mode allocator based on LLVM Sanitizer’s CombinedAllocator,
+ which aims at providing additional mitigations against heap based
+ vulnerabilities, while maintaining good performance.
+ '';
+ };
};
- providerConf = providers."${cfg.provider}";
+ providerConf = providers.${cfg.provider};
# An output that contains only the shared library, to avoid
# needlessly bloating the system closure
@@ -70,17 +79,13 @@ in
and/or service failure.
-
-
-
- Changing this option does not affect the current session.
-
-
'';
};
};
config = mkIf (cfg.provider != "libc") {
- environment.variables.LD_PRELOAD = providerLibPath;
+ environment.etc."ld-nix.so.preload".text = ''
+ ${providerLibPath}
+ '';
};
}
diff --git a/nixos/modules/config/networking.nix b/nixos/modules/config/networking.nix
index 25253cf02e1..a89667ea221 100644
--- a/nixos/modules/config/networking.nix
+++ b/nixos/modules/config/networking.nix
@@ -7,16 +7,6 @@ with lib;
let
cfg = config.networking;
- dnsmasqResolve = config.services.dnsmasq.enable &&
- config.services.dnsmasq.resolveLocalQueries;
- hasLocalResolver = config.services.bind.enable ||
- config.services.unbound.enable ||
- dnsmasqResolve;
-
- resolvconfOptions = cfg.resolvconfOptions
- ++ optional cfg.dnsSingleRequest "single-request"
- ++ optional cfg.dnsExtensionMechanism "edns0";
-
localhostMapped4 = cfg.hosts ? "127.0.0.1" && elem "localhost" cfg.hosts."127.0.0.1";
localhostMapped6 = cfg.hosts ? "::1" && elem "localhost" cfg.hosts."::1";
@@ -64,48 +54,6 @@ in
'';
};
- networking.dnsSingleRequest = lib.mkOption {
- type = types.bool;
- default = false;
- description = ''
- Recent versions of glibc will issue both ipv4 (A) and ipv6 (AAAA)
- address queries at the same time, from the same port. Sometimes upstream
- routers will systemically drop the ipv4 queries. The symptom of this problem is
- that 'getent hosts example.com' only returns ipv6 (or perhaps only ipv4) addresses. The
- workaround for this is to specify the option 'single-request' in
- /etc/resolv.conf. This option enables that.
- '';
- };
-
- networking.dnsExtensionMechanism = lib.mkOption {
- type = types.bool;
- default = true;
- description = ''
- Enable the edns0 option in resolv.conf. With
- that option set, glibc supports use of the extension mechanisms for
- DNS (EDNS) specified in RFC 2671. The most popular user of that feature is DNSSEC,
- which does not work without it.
- '';
- };
-
- networking.extraResolvconfConf = lib.mkOption {
- type = types.lines;
- default = "";
- example = "libc=NO";
- description = ''
- Extra configuration to append to resolvconf.conf.
- '';
- };
-
- networking.resolvconfOptions = lib.mkOption {
- type = types.listOf types.str;
- default = [];
- example = [ "ndots:1" "rotate" ];
- description = ''
- Set the options in /etc/resolv.conf.
- '';
- };
-
networking.timeServers = mkOption {
default = [
"0.nixos.pool.ntp.org"
@@ -223,55 +171,26 @@ in
environment.etc =
{ # /etc/services: TCP/UDP port assignments.
- "services".source = pkgs.iana-etc + "/etc/services";
+ services.source = pkgs.iana-etc + "/etc/services";
# /etc/protocols: IP protocol numbers.
- "protocols".source = pkgs.iana-etc + "/etc/protocols";
+ protocols.source = pkgs.iana-etc + "/etc/protocols";
# /etc/hosts: Hostname-to-IP mappings.
- "hosts".text = let
+ hosts.text = let
oneToString = set: ip: ip + " " + concatStringsSep " " set.${ip};
allToString = set: concatMapStringsSep "\n" (oneToString set) (attrNames set);
in ''
- ${allToString cfg.hosts}
+ ${allToString (filterAttrs (_: v: v != []) cfg.hosts)}
${cfg.extraHosts}
'';
# /etc/host.conf: resolver configuration file
"host.conf".text = cfg.hostConf;
- # /etc/resolvconf.conf: Configuration for openresolv.
- "resolvconf.conf".text =
- ''
- # This is the default, but we must set it here to prevent
- # a collision with an apparently unrelated environment
- # variable with the same name exported by dhcpcd.
- interface_order='lo lo[0-9]*'
- '' + optionalString config.services.nscd.enable ''
- # Invalidate the nscd cache whenever resolv.conf is
- # regenerated.
- libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
- '' + optionalString (length resolvconfOptions > 0) ''
- # Options as described in resolv.conf(5)
- resolv_conf_options='${concatStringsSep " " resolvconfOptions}'
- '' + optionalString hasLocalResolver ''
- # This hosts runs a full-blown DNS resolver.
- name_servers='127.0.0.1'
- '' + optionalString dnsmasqResolve ''
- dnsmasq_conf=/etc/dnsmasq-conf.conf
- dnsmasq_resolv=/etc/dnsmasq-resolv.conf
- '' + cfg.extraResolvconfConf + ''
- '';
-
- } // optionalAttrs config.services.resolved.enable {
- # symlink the dynamic stub resolver of resolv.conf as recommended by upstream:
- # https://www.freedesktop.org/software/systemd/man/systemd-resolved.html#/etc/resolv.conf
- "resolv.conf".source = "/run/systemd/resolve/stub-resolv.conf";
- } // optionalAttrs (config.services.resolved.enable && dnsmasqResolve) {
- "dnsmasq-resolv.conf".source = "/run/systemd/resolve/resolv.conf";
} // optionalAttrs (pkgs.stdenv.hostPlatform.libc == "glibc") {
# /etc/rpc: RPC program numbers.
- "rpc".source = pkgs.glibc.out + "/etc/rpc";
+ rpc.source = pkgs.glibc.out + "/etc/rpc";
};
networking.proxy.envVars =
@@ -295,26 +214,6 @@ in
# Install the proxy environment variables
environment.sessionVariables = cfg.proxy.envVars;
- # This is needed when /etc/resolv.conf is being overriden by networkd
- # and other configurations. If the file is destroyed by an environment
- # activation then it must be rebuilt so that applications which interface
- # with /etc/resolv.conf directly don't break.
- system.activationScripts.resolvconf = stringAfter [ "etc" "specialfs" "var" ]
- ''
- # Systemd resolved controls its own resolv.conf
- rm -f /run/resolvconf/interfaces/systemd
- ${optionalString config.services.resolved.enable ''
- rm -rf /run/resolvconf/interfaces
- mkdir -p /run/resolvconf/interfaces
- ln -s /run/systemd/resolve/resolv.conf /run/resolvconf/interfaces/systemd
- ''}
-
- # Make sure resolv.conf is up to date if not managed manually or by systemd
- ${optionalString (!config.environment.etc?"resolv.conf") ''
- ${pkgs.openresolv}/bin/resolvconf -u
- ''}
- '';
-
};
}
diff --git a/nixos/modules/config/no-x-libs.nix b/nixos/modules/config/no-x-libs.nix
index aad02a9ca4e..74cf74d7418 100644
--- a/nixos/modules/config/no-x-libs.nix
+++ b/nixos/modules/config/no-x-libs.nix
@@ -34,7 +34,7 @@ with lib;
networkmanager-openvpn = super.networkmanager-openvpn.override { withGnome = false; };
networkmanager-vpnc = super.networkmanager-vpnc.override { withGnome = false; };
networkmanager-iodine = super.networkmanager-iodine.override { withGnome = false; };
- pinentry = super.pinentry.override { gtk2 = null; gcr = null; qt = null; };
+ pinentry = super.pinentry.override { gtk2 = null; gcr = null; qt4 = null; qt5 = null; };
gobject-introspection = super.gobject-introspection.override { x11Support = false; };
}));
};
diff --git a/nixos/modules/config/power-management.nix b/nixos/modules/config/power-management.nix
index 0277f1ad11e..64cdf50f141 100644
--- a/nixos/modules/config/power-management.nix
+++ b/nixos/modules/config/power-management.nix
@@ -78,7 +78,7 @@ in
};
# Service executed before suspending/hibernating.
- systemd.services."pre-sleep" =
+ systemd.services.pre-sleep =
{ description = "Pre-Sleep Actions";
wantedBy = [ "sleep.target" ];
before = [ "sleep.target" ];
@@ -89,7 +89,7 @@ in
serviceConfig.Type = "oneshot";
};
- systemd.services."post-resume" =
+ systemd.services.post-resume =
{ description = "Post-Resume Actions";
after = [ "suspend.target" "hibernate.target" "hybrid-sleep.target" ];
script =
diff --git a/nixos/modules/config/pulseaudio.nix b/nixos/modules/config/pulseaudio.nix
index e61a3a73120..5c3e3930258 100644
--- a/nixos/modules/config/pulseaudio.nix
+++ b/nixos/modules/config/pulseaudio.nix
@@ -245,6 +245,9 @@ in {
# Disable flat volumes to enable relative ones
hardware.pulseaudio.daemon.config.flat-volumes = mkDefault "no";
+ # Upstream defaults to speex-float-1 which results in audible artifacts
+ hardware.pulseaudio.daemon.config.resample-method = mkDefault "speex-float-5";
+
# Allow PulseAudio to get realtime priority using rtkit.
security.rtkit.enable = true;
diff --git a/nixos/modules/config/qt5.nix b/nixos/modules/config/qt5.nix
new file mode 100644
index 00000000000..7de1c0f5d55
--- /dev/null
+++ b/nixos/modules/config/qt5.nix
@@ -0,0 +1,102 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.qt5;
+
+ isQGnome = cfg.platformTheme == "gnome" && cfg.style == "adwaita";
+ isQtStyle = cfg.platformTheme == "gtk2" && cfg.style != "adwaita";
+
+ packages = if isQGnome then [ pkgs.qgnomeplatform pkgs.adwaita-qt ]
+ else if isQtStyle then [ pkgs.qtstyleplugins ]
+ else throw "`qt5.platformTheme` ${cfg.platformTheme} and `qt5.style` ${cfg.style} are not compatible.";
+
+in
+
+{
+
+ options = {
+ qt5 = {
+
+ enable = mkEnableOption "Qt5 theming configuration";
+
+ platformTheme = mkOption {
+ type = types.enum [
+ "gtk2"
+ "gnome"
+ ];
+ example = "gnome";
+ relatedPackages = [
+ "qgnomeplatform"
+ ["libsForQt5" "qtstyleplugins"]
+ ];
+ description = ''
+ Selects the platform theme to use for Qt5 applications.
+ The options are
+
+
+ gtk
+ Use GTK theme with
+ qtstyleplugins
+
+
+
+ gnome
+ Use GNOME theme with
+ qgnomeplatform
+
+
+
+ '';
+ };
+
+ style = mkOption {
+ type = types.enum [
+ "adwaita"
+ "cleanlooks"
+ "gtk2"
+ "motif"
+ "plastique"
+ ];
+ example = "adwaita";
+ relatedPackages = [
+ "adwaita-qt"
+ ["libsForQt5" "qtstyleplugins"]
+ ];
+ description = ''
+ Selects the style to use for Qt5 applications.
+ The options are
+
+
+ adwaita
+ Use Adwaita Qt style with
+ adwaita
+
+
+
+ cleanlooks
+ gtk2
+ motif
+ plastique
+ Use styles from
+ qtstyleplugins
+
+
+
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+
+ environment.variables.QT_QPA_PLATFORMTHEME = cfg.platformTheme;
+
+ environment.variables.QT_STYLE_OVERRIDE = cfg.style;
+
+ environment.systemPackages = packages;
+
+ };
+}
diff --git a/nixos/modules/config/resolvconf.nix b/nixos/modules/config/resolvconf.nix
new file mode 100644
index 00000000000..406c6a7ac32
--- /dev/null
+++ b/nixos/modules/config/resolvconf.nix
@@ -0,0 +1,149 @@
+# /etc files related to networking, such as /etc/services.
+
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.networking.resolvconf;
+
+ resolvconfOptions = cfg.extraOptions
+ ++ optional cfg.dnsSingleRequest "single-request"
+ ++ optional cfg.dnsExtensionMechanism "edns0";
+
+ configText =
+ ''
+ # This is the default, but we must set it here to prevent
+ # a collision with an apparently unrelated environment
+ # variable with the same name exported by dhcpcd.
+ interface_order='lo lo[0-9]*'
+ '' + optionalString config.services.nscd.enable ''
+ # Invalidate the nscd cache whenever resolv.conf is
+ # regenerated.
+ libc_restart='${pkgs.systemd}/bin/systemctl try-restart --no-block nscd.service 2> /dev/null'
+ '' + optionalString (length resolvconfOptions > 0) ''
+ # Options as described in resolv.conf(5)
+ resolv_conf_options='${concatStringsSep " " resolvconfOptions}'
+ '' + optionalString cfg.useLocalResolver ''
+ # This hosts runs a full-blown DNS resolver.
+ name_servers='127.0.0.1'
+ '' + cfg.extraConfig;
+
+in
+
+{
+
+ options = {
+
+ networking.resolvconf = {
+
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ internal = true;
+ description = ''
+ DNS configuration is managed by resolvconf.
+ '';
+ };
+
+ useHostResolvConf = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ In containers, whether to use the
+ resolv.conf supplied by the host.
+ '';
+ };
+
+ dnsSingleRequest = lib.mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Recent versions of glibc will issue both ipv4 (A) and ipv6 (AAAA)
+ address queries at the same time, from the same port. Sometimes upstream
+ routers will systemically drop the ipv4 queries. The symptom of this problem is
+ that 'getent hosts example.com' only returns ipv6 (or perhaps only ipv4) addresses. The
+ workaround for this is to specify the option 'single-request' in
+ /etc/resolv.conf. This option enables that.
+ '';
+ };
+
+ dnsExtensionMechanism = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Enable the edns0 option in resolv.conf. With
+ that option set, glibc supports use of the extension mechanisms for
+ DNS (EDNS) specified in RFC 2671. The most popular user of that feature is DNSSEC,
+ which does not work without it.
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = types.lines;
+ default = "";
+ example = "libc=NO";
+ description = ''
+ Extra configuration to append to resolvconf.conf.
+ '';
+ };
+
+ extraOptions = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = [ "ndots:1" "rotate" ];
+ description = ''
+ Set the options in /etc/resolv.conf.
+ '';
+ };
+
+ useLocalResolver = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Use local DNS server for resolving.
+ '';
+ };
+
+ };
+
+ };
+
+ config = mkMerge [
+ {
+ networking.resolvconf.enable = !(config.environment.etc ? "resolv.conf");
+
+ environment.etc."resolvconf.conf".text =
+ if !cfg.enable then
+ # Force-stop any attempts to use resolvconf
+ ''
+ echo "resolvconf is disabled on this system but was used anyway:" >&2
+ echo "$0 $*" >&2
+ exit 1
+ ''
+ else configText;
+ }
+
+ (mkIf cfg.enable {
+ environment.systemPackages = [ pkgs.openresolv ];
+
+ systemd.services.resolvconf = {
+ description = "resolvconf update";
+
+ before = [ "network-pre.target" ];
+ wants = [ "network-pre.target" ];
+ wantedBy = [ "multi-user.target" ];
+ restartTriggers = [ config.environment.etc."resolvconf.conf".source ];
+
+ serviceConfig = {
+ Type = "oneshot";
+ ExecStart = "${pkgs.openresolv}/bin/resolvconf -u";
+ RemainAfterExit = true;
+ };
+ };
+
+ })
+ ];
+
+}
diff --git a/nixos/modules/config/shells-environment.nix b/nixos/modules/config/shells-environment.nix
index 6379b52870e..9dfc1add829 100644
--- a/nixos/modules/config/shells-environment.nix
+++ b/nixos/modules/config/shells-environment.nix
@@ -163,7 +163,7 @@ in
l = "ls -alh";
};
- environment.etc."shells".text =
+ environment.etc.shells.text =
''
${concatStringsSep "\n" (map utils.toShellPath cfg.shells)}
/bin/sh
@@ -171,7 +171,7 @@ in
# For resetting environment with `. /etc/set-environment` when needed
# and discoverability (see motivation of #30418).
- environment.etc."set-environment".source = config.system.build.setEnvironment;
+ environment.etc.set-environment.source = config.system.build.setEnvironment;
system.build.setEnvironment = pkgs.writeText "set-environment"
''
diff --git a/nixos/modules/config/sysctl.nix b/nixos/modules/config/sysctl.nix
index 0c6a7e2431a..fb2b58eed72 100644
--- a/nixos/modules/config/sysctl.nix
+++ b/nixos/modules/config/sysctl.nix
@@ -42,22 +42,16 @@ in
config = {
- environment.etc."sysctl.d/nixos.conf".text =
+ environment.etc."sysctl.d/60-nixos.conf".text =
concatStrings (mapAttrsToList (n: v:
optionalString (v != null) "${n}=${if v == false then "0" else toString v}\n"
) config.boot.kernel.sysctl);
systemd.services.systemd-sysctl =
{ wantedBy = [ "multi-user.target" ];
- restartTriggers = [ config.environment.etc."sysctl.d/nixos.conf".source ];
+ restartTriggers = [ config.environment.etc."sysctl.d/60-nixos.conf".source ];
};
- # Enable hardlink and symlink restrictions. See
- # https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=800179c9b8a1e796e441674776d11cd4c05d61d7
- # for details.
- boot.kernel.sysctl."fs.protected_hardlinks" = true;
- boot.kernel.sysctl."fs.protected_symlinks" = true;
-
# Hide kernel pointers (e.g. in /proc/modules) for unprivileged
# users as these make it easier to exploit kernel vulnerabilities.
boot.kernel.sysctl."kernel.kptr_restrict" = 1;
diff --git a/nixos/modules/config/system-path.nix b/nixos/modules/config/system-path.nix
index fae2fc74008..aba9bc0945b 100644
--- a/nixos/modules/config/system-path.nix
+++ b/nixos/modules/config/system-path.nix
@@ -135,6 +135,9 @@ in
# outputs TODO: note that the tools will often not be linked by default
postBuild =
''
+ # Remove wrapped binaries, they shouldn't be accessible via PATH.
+ find $out/bin -maxdepth 1 -name ".*-wrapped" -type l -delete
+
if [ -x $out/bin/glib-compile-schemas -a -w $out/share/glib-2.0/schemas ]; then
$out/bin/glib-compile-schemas $out/share/glib-2.0/schemas
fi
diff --git a/nixos/modules/config/terminfo.nix b/nixos/modules/config/terminfo.nix
index 4fd6ba5ea60..b86ce2dbf05 100644
--- a/nixos/modules/config/terminfo.nix
+++ b/nixos/modules/config/terminfo.nix
@@ -8,7 +8,7 @@
"/share/terminfo"
];
- environment.etc."terminfo" = {
+ environment.etc.terminfo = {
source = "${config.system.path}/share/terminfo";
};
diff --git a/nixos/modules/config/update-users-groups.pl b/nixos/modules/config/update-users-groups.pl
index ef5e6346f02..59cea51c611 100644
--- a/nixos/modules/config/update-users-groups.pl
+++ b/nixos/modules/config/update-users-groups.pl
@@ -267,6 +267,7 @@ foreach my $line (-f "/etc/shadow" ? read_file("/etc/shadow") : ()) {
next if !defined $u;
$hashedPassword = "!" if !$spec->{mutableUsers};
$hashedPassword = $u->{hashedPassword} if defined $u->{hashedPassword} && !$spec->{mutableUsers}; # FIXME
+ chomp $hashedPassword;
push @shadowNew, join(":", $name, $hashedPassword, @rest) . "\n";
$shadowSeen{$name} = 1;
}
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix
index c3f228c9bcc..ba79bd3d6ec 100644
--- a/nixos/modules/config/users-groups.nix
+++ b/nixos/modules/config/users-groups.nix
@@ -181,7 +181,7 @@ let
};
hashedPassword = mkOption {
- type = with types; uniq (nullOr str);
+ type = with types; nullOr str;
default = null;
description = ''
Specifies the hashed password for the user.
@@ -191,7 +191,7 @@ let
};
password = mkOption {
- type = with types; uniq (nullOr str);
+ type = with types; nullOr str;
default = null;
description = ''
Specifies the (clear text) password for the user.
@@ -203,7 +203,7 @@ let
};
passwordFile = mkOption {
- type = with types; uniq (nullOr string);
+ type = with types; nullOr str;
default = null;
description = ''
The full path to a file that contains the user's password. The password
@@ -215,7 +215,7 @@ let
};
initialHashedPassword = mkOption {
- type = with types; uniq (nullOr str);
+ type = with types; nullOr str;
default = null;
description = ''
Specifies the initial hashed password for the user, i.e. the
@@ -230,7 +230,7 @@ let
};
initialPassword = mkOption {
- type = with types; uniq (nullOr str);
+ type = with types; nullOr str;
default = null;
description = ''
Specifies the initial password for the user, i.e. the
@@ -304,7 +304,7 @@ let
};
members = mkOption {
- type = with types; listOf string;
+ type = with types; listOf str;
default = [];
description = ''
The user names of the group members, added to the
@@ -546,11 +546,11 @@ in {
environment.systemPackages = systemShells;
environment.etc = {
- "subuid" = {
+ subuid = {
text = subuidFile;
mode = "0644";
};
- "subgid" = {
+ subgid = {
text = subgidFile;
mode = "0644";
};
@@ -564,7 +564,10 @@ in {
};
}) (filterAttrs (_: u: u.packages != []) cfg.users));
- environment.profiles = [ "/etc/profiles/per-user/$USER" ];
+ environment.profiles = [
+ "$HOME/.nix-profile"
+ "/etc/profiles/per-user/$USER"
+ ];
assertions = [
{ assertion = !cfg.enforceIdUniqueness || (uidsAreUnique && gidsAreUnique);
diff --git a/nixos/modules/config/vte.nix b/nixos/modules/config/vte.nix
new file mode 100644
index 00000000000..d4a8c926fef
--- /dev/null
+++ b/nixos/modules/config/vte.nix
@@ -0,0 +1,52 @@
+# VTE
+
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+let
+
+ vteInitSnippet = ''
+ # Show current working directory in VTE terminals window title.
+ # Supports both bash and zsh, requires interactive shell.
+ . ${pkgs.vte}/etc/profile.d/vte.sh
+ '';
+
+in
+
+{
+
+ options = {
+
+ programs.bash.vteIntegration = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Whether to enable Bash integration for VTE terminals.
+ This allows it to preserve the current directory of the shell
+ across terminals.
+ '';
+ };
+
+ programs.zsh.vteIntegration = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Whether to enable Zsh integration for VTE terminals.
+ This allows it to preserve the current directory of the shell
+ across terminals.
+ '';
+ };
+
+ };
+
+ config = mkMerge [
+ (mkIf config.programs.bash.vteIntegration {
+ programs.bash.interactiveShellInit = mkBefore vteInitSnippet;
+ })
+
+ (mkIf config.programs.zsh.vteIntegration {
+ programs.zsh.interactiveShellInit = vteInitSnippet;
+ })
+ ];
+}
diff --git a/nixos/modules/config/xdg/portal.nix b/nixos/modules/config/xdg/portal.nix
new file mode 100644
index 00000000000..bdbbfda2bb4
--- /dev/null
+++ b/nixos/modules/config/xdg/portal.nix
@@ -0,0 +1,58 @@
+{ config, pkgs ,lib ,... }:
+
+with lib;
+
+{
+ options.xdg.portal = {
+ enable =
+ mkEnableOption "xdg desktop integration"//{
+ default = false;
+ };
+
+ extraPortals = mkOption {
+ type = types.listOf types.package;
+ default = [];
+ description = ''
+ List of additional portals to add to path. Portals allow interaction
+ with system, like choosing files or taking screenshots. At minimum,
+ a desktop portal implementation should be listed. GNOME and KDE already
+ adds xdg-desktop-portal-gtk; and
+ xdg-desktop-portal-kde respectively. On other desktop
+ environments you probably want to add them yourself.
+ '';
+ };
+
+ gtkUsePortal = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Sets environment variable GTK_USE_PORTAL to 1.
+ This is needed for packages ran outside Flatpak to respect and use XDG Desktop Portals.
+ For example, you'd need to set this for non-flatpak Firefox to use native filechoosers.
+ Defaults to false to respect its opt-in nature.
+ '';
+ };
+ };
+
+ config =
+ let
+ cfg = config.xdg.portal;
+ packages = [ pkgs.xdg-desktop-portal ] ++ cfg.extraPortals;
+
+ in mkIf cfg.enable {
+
+ assertions = [
+ { assertion = (cfg.gtkUsePortal -> cfg.extraPortals != []);
+ message = "Setting xdg.portal.gtkUsePortal to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.";
+ }
+ ];
+
+ services.dbus.packages = packages;
+ systemd.packages = packages;
+
+ environment.variables = {
+ GTK_USE_PORTAL = mkIf cfg.gtkUsePortal "1";
+ XDG_DESKTOP_PORTAL_PATH = map (p: "${p}/share/xdg-desktop-portal/portals") cfg.extraPortals;
+ };
+ };
+}
diff --git a/nixos/modules/hardware/device-tree.nix b/nixos/modules/hardware/device-tree.nix
new file mode 100644
index 00000000000..f57502d4c83
--- /dev/null
+++ b/nixos/modules/hardware/device-tree.nix
@@ -0,0 +1,56 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.hardware.deviceTree;
+in {
+ options = {
+ hardware.deviceTree = {
+ enable = mkOption {
+ default = pkgs.stdenv.hostPlatform.platform.kernelDTB or false;
+ type = types.bool;
+ description = ''
+ Build device tree files. These are used to describe the
+ non-discoverable hardware of a system.
+ '';
+ };
+
+ base = mkOption {
+ default = "${config.boot.kernelPackages.kernel}/dtbs";
+ defaultText = "\${config.boot.kernelPackages.kernel}/dtbs";
+ example = literalExample "pkgs.deviceTree_rpi";
+ type = types.path;
+ description = ''
+ The package containing the base device-tree (.dtb) to boot. Contains
+ device trees bundled with the Linux kernel by default.
+ '';
+ };
+
+ overlays = mkOption {
+ default = [];
+ example = literalExample
+ "[\"\${pkgs.deviceTree_rpi.overlays}/w1-gpio.dtbo\"]";
+ type = types.listOf types.path;
+ description = ''
+ A path containing device tree overlays (.dtbo) to be applied to all
+ base device-trees.
+ '';
+ };
+
+ package = mkOption {
+ default = null;
+ type = types.nullOr types.path;
+ internal = true;
+ description = ''
+ A path containing the result of applying `overlays` to `base`.
+ '';
+ };
+ };
+ };
+
+ config = mkIf (cfg.enable) {
+ hardware.deviceTree.package = if (cfg.overlays != [])
+ then pkgs.deviceTree.applyOverlays cfg.base cfg.overlays else cfg.base;
+ };
+}
diff --git a/nixos/modules/hardware/ksm.nix b/nixos/modules/hardware/ksm.nix
index d6ac69b5d65..99d46c25236 100644
--- a/nixos/modules/hardware/ksm.nix
+++ b/nixos/modules/hardware/ksm.nix
@@ -1,9 +1,24 @@
{ config, lib, ... }:
-{
- options.hardware.enableKSM = lib.mkEnableOption "Kernel Same-Page Merging";
+with lib;
- config = lib.mkIf config.hardware.enableKSM {
+let
+ cfg = config.hardware.ksm;
+
+in {
+ options.hardware.ksm = {
+ enable = mkEnableOption "Kernel Same-Page Merging";
+ sleep = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ description = ''
+ How many milliseconds ksmd should sleep between scans.
+ Setting it to null uses the kernel's default time.
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
systemd.services.enable-ksm = {
description = "Enable Kernel Same-Page Merging";
wantedBy = [ "multi-user.target" ];
@@ -11,6 +26,7 @@
script = ''
if [ -e /sys/kernel/mm/ksm ]; then
echo 1 > /sys/kernel/mm/ksm/run
+ ${optionalString (cfg.sleep != null) ''echo ${toString cfg.sleep} > /sys/kernel/mm/ksm/sleep_millisecs''}
fi
'';
};
diff --git a/nixos/modules/hardware/nitrokey.nix b/nixos/modules/hardware/nitrokey.nix
index 60fc95a7582..02e4c3f46f8 100644
--- a/nixos/modules/hardware/nitrokey.nix
+++ b/nixos/modules/hardware/nitrokey.nix
@@ -36,6 +36,6 @@ in
{ inherit (cfg) group; }
))
];
- users.groups."${cfg.group}" = {};
+ users.groups.${cfg.group} = {};
};
}
diff --git a/nixos/modules/hardware/opengl.nix b/nixos/modules/hardware/opengl.nix
index 6b7b8069fd4..57cac56bd8a 100644
--- a/nixos/modules/hardware/opengl.nix
+++ b/nixos/modules/hardware/opengl.nix
@@ -11,9 +11,9 @@ let
videoDrivers = config.services.xserver.videoDrivers;
makePackage = p: pkgs.buildEnv {
- name = "mesa-drivers+txc-${p.mesa_drivers.version}";
+ name = "mesa-drivers+txc-${p.mesa.version}";
paths =
- [ p.mesa_drivers
+ [ p.mesa.drivers
(if cfg.s3tcSupport then p.libtxc_dxtn else p.libtxc_dxtn_s2tc)
];
};
@@ -118,6 +118,19 @@ in
set. This can be used to add OpenCL drivers, VA-API/VDPAU drivers etc.
'';
};
+
+ setLdLibraryPath = mkOption {
+ type = types.bool;
+ internal = true;
+ default = false;
+ description = ''
+ Whether the LD_LIBRARY_PATH environment variable
+ should be set to the locations of driver libraries. Drivers which
+ rely on overriding libraries should set this to true. Drivers which
+ support libglvnd and other dispatch libraries
+ instead of overriding libraries should not set this.
+ '';
+ };
};
};
@@ -145,11 +158,8 @@ in
)
];
- environment.sessionVariables.LD_LIBRARY_PATH =
- [ "/run/opengl-driver/lib" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/lib";
-
- environment.variables.XDG_DATA_DIRS =
- [ "/run/opengl-driver/share" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/share";
+ environment.sessionVariables.LD_LIBRARY_PATH = mkIf cfg.setLdLibraryPath
+ ([ "/run/opengl-driver/lib" ] ++ optional cfg.driSupport32Bit "/run/opengl-driver-32/lib");
hardware.opengl.package = mkDefault (makePackage pkgs);
hardware.opengl.package32 = mkDefault (makePackage pkgs.pkgsi686Linux);
diff --git a/nixos/modules/hardware/openrazer.nix b/nixos/modules/hardware/openrazer.nix
new file mode 100644
index 00000000000..883db7f2f4f
--- /dev/null
+++ b/nixos/modules/hardware/openrazer.nix
@@ -0,0 +1,133 @@
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+let
+ cfg = config.hardware.openrazer;
+ kernelPackages = config.boot.kernelPackages;
+
+ toPyBoolStr = b: if b then "True" else "False";
+
+ daemonExe = "${pkgs.openrazer-daemon}/bin/openrazer-daemon --config ${daemonConfFile}";
+
+ daemonConfFile = pkgs.writeTextFile {
+ name = "razer.conf";
+ text = ''
+ [General]
+ verbose_logging = ${toPyBoolStr cfg.verboseLogging}
+
+ [Startup]
+ sync_effects_enabled = ${toPyBoolStr cfg.syncEffectsEnabled}
+ devices_off_on_screensaver = ${toPyBoolStr cfg.devicesOffOnScreensaver}
+ mouse_battery_notifier = ${toPyBoolStr cfg.mouseBatteryNotifier}
+
+ [Statistics]
+ key_statistics = ${toPyBoolStr cfg.keyStatistics}
+ '';
+ };
+
+ dbusServiceFile = pkgs.writeTextFile rec {
+ name = "org.razer.service";
+ destination = "/share/dbus-1/services/${name}";
+ text = ''
+ [D-BUS Service]
+ Name=org.razer
+ Exec=${daemonExe}
+ SystemdService=openrazer-daemon.service
+ '';
+ };
+
+ drivers = [
+ "razerkbd"
+ "razermouse"
+ "razerfirefly"
+ "razerkraken"
+ "razermug"
+ "razercore"
+ ];
+in
+{
+ options = {
+ hardware.openrazer = {
+ enable = mkEnableOption "OpenRazer drivers and userspace daemon.";
+
+ verboseLogging = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to enable verbose logging. Logs debug messages.
+ '';
+ };
+
+ syncEffectsEnabled = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Set the sync effects flag to true so any assignment of
+ effects will work across devices.
+ '';
+ };
+
+ devicesOffOnScreensaver = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Turn off the devices when the systems screensaver kicks in.
+ '';
+ };
+
+ mouseBatteryNotifier = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Mouse battery notifier.
+ '';
+ };
+
+ keyStatistics = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Collects number of keypresses per hour per key used to
+ generate a heatmap.
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ boot.extraModulePackages = [ kernelPackages.openrazer ];
+ boot.kernelModules = drivers;
+
+ # Makes the man pages available so you can succesfully run
+ # > systemctl --user help openrazer-daemon
+ environment.systemPackages = [ pkgs.python3Packages.openrazer-daemon.man ];
+
+ services.udev.packages = [ kernelPackages.openrazer ];
+ services.dbus.packages = [ dbusServiceFile ];
+
+ # A user must be a member of the plugdev group in order to start
+ # the openrazer-daemon. Therefore we make sure that the plugdev
+ # group exists.
+ users.groups.plugdev = {};
+
+ systemd.user.services.openrazer-daemon = {
+ description = "Daemon to manage razer devices in userspace";
+ unitConfig.Documentation = "man:openrazer-daemon(8)";
+ # Requires a graphical session so the daemon knows when the screensaver
+ # starts. See the 'devicesOffOnScreensaver' option.
+ wantedBy = [ "graphical-session.target" ];
+ partOf = [ "graphical-session.target" ];
+ serviceConfig = {
+ Type = "dbus";
+ BusName = "org.razer";
+ ExecStart = "${daemonExe} --foreground";
+ Restart = "always";
+ };
+ };
+ };
+
+ meta = {
+ maintainers = with lib.maintainers; [ roelvandijk ];
+ };
+}
diff --git a/nixos/modules/hardware/printers.nix b/nixos/modules/hardware/printers.nix
new file mode 100644
index 00000000000..56b91933477
--- /dev/null
+++ b/nixos/modules/hardware/printers.nix
@@ -0,0 +1,135 @@
+{ config, lib, pkgs, ... }:
+with lib;
+let
+ cfg = config.hardware.printers;
+ ppdOptionsString = options: optionalString (options != {})
+ (concatStringsSep " "
+ (mapAttrsToList (name: value: "-o '${name}'='${value}'") options)
+ );
+ ensurePrinter = p: ''
+ ${pkgs.cups}/bin/lpadmin -p '${p.name}' -E \
+ ${optionalString (p.location != null) "-L '${p.location}'"} \
+ ${optionalString (p.description != null) "-D '${p.description}'"} \
+ -v '${p.deviceUri}' \
+ -m '${p.model}' \
+ ${ppdOptionsString p.ppdOptions}
+ '';
+ ensureDefaultPrinter = name: ''
+ ${pkgs.cups}/bin/lpoptions -d '${name}'
+ '';
+
+ # "graph but not # or /" can't be implemented as regex alone due to missing lookahead support
+ noInvalidChars = str: all (c: c != "#" && c != "/") (stringToCharacters str);
+ printerName = (types.addCheck (types.strMatching "[[:graph:]]+") noInvalidChars)
+ // { description = "printable string without spaces, # and /"; };
+
+
+in {
+ options = {
+ hardware.printers = {
+ ensureDefaultPrinter = mkOption {
+ type = types.nullOr printerName;
+ default = null;
+ description = ''
+ Ensures the named printer is the default CUPS printer / printer queue.
+ '';
+ };
+ ensurePrinters = mkOption {
+ description = ''
+ Will regularly ensure that the given CUPS printers are configured as declared here.
+ If a printer's options are manually changed afterwards, they will be overwritten eventually.
+ This option will never delete any printer, even if removed from this list.
+ You can check existing printers with lpstat -s
+ and remove printers with lpadmin -x <printer-name>.
+ Printers not listed here can still be manually configured.
+ '';
+ default = [];
+ type = types.listOf (types.submodule {
+ options = {
+ name = mkOption {
+ type = printerName;
+ example = "BrotherHL_Workroom";
+ description = ''
+ Name of the printer / printer queue.
+ May contain any printable characters except "/", "#", and space.
+ '';
+ };
+ location = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "Workroom";
+ description = ''
+ Optional human-readable location.
+ '';
+ };
+ description = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "Brother HL-5140";
+ description = ''
+ Optional human-readable description.
+ '';
+ };
+ deviceUri = mkOption {
+ type = types.str;
+ example = [
+ "ipp://printserver.local/printers/BrotherHL_Workroom"
+ "usb://HP/DESKJET%20940C?serial=CN16E6C364BH"
+ ];
+ description = ''
+ How to reach the printer.
+ lpinfo -v shows a list of supported device URIs and schemes.
+ '';
+ };
+ model = mkOption {
+ type = types.str;
+ example = literalExample ''
+ gutenprint.''${lib.version.majorMinor (lib.getVersion pkgs.cups)}://brother-hl-5140/expert
+ '';
+ description = ''
+ Location of the ppd driver file for the printer.
+ lpinfo -m shows a list of supported models.
+ '';
+ };
+ ppdOptions = mkOption {
+ type = types.attrsOf types.str;
+ example = {
+ PageSize = "A4";
+ Duplex = "DuplexNoTumble";
+ };
+ default = {};
+ description = ''
+ Sets PPD options for the printer.
+ lpoptions [-p printername] -l shows suported PPD options for the given printer.
+ '';
+ };
+ };
+ });
+ };
+ };
+ };
+
+ config = mkIf (cfg.ensurePrinters != [] && config.services.printing.enable) {
+ systemd.services.ensure-printers = let
+ cupsUnit = if config.services.printing.startWhenNeeded then "cups.socket" else "cups.service";
+ in {
+ description = "Ensure NixOS-configured CUPS printers";
+ wantedBy = [ "multi-user.target" ];
+ requires = [ cupsUnit ];
+ # in contrast to cups.socket, for cups.service, this is actually not enough,
+ # as the cups service reports its activation before clients can actually interact with it.
+ # Because of this, commands like `lpinfo -v` will report a bad file descriptor
+ # due to the missing UNIX socket without sufficient sleep time.
+ after = [ cupsUnit ];
+
+ serviceConfig = {
+ Type = "oneshot";
+ };
+
+ # sleep 10 is required to wait until cups.service is actually initialized and has created its UNIX socket file
+ script = (optionalString (!config.services.printing.startWhenNeeded) "sleep 10\n")
+ + (concatMapStringsSep "\n" ensurePrinter cfg.ensurePrinters)
+ + optionalString (cfg.ensureDefaultPrinter != null) (ensureDefaultPrinter cfg.ensureDefaultPrinter);
+ };
+ };
+}
diff --git a/nixos/modules/hardware/raid/hpsa.nix b/nixos/modules/hardware/raid/hpsa.nix
index 3a65cb800a9..4d7af138292 100644
--- a/nixos/modules/hardware/raid/hpsa.nix
+++ b/nixos/modules/hardware/raid/hpsa.nix
@@ -4,11 +4,11 @@ with lib;
let
hpssacli = pkgs.stdenv.mkDerivation rec {
- name = "hpssacli-${version}";
+ pname = "hpssacli";
version = "2.40-13.0";
src = pkgs.fetchurl {
- url = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${name}_amd64.deb";
+ url = "https://downloads.linux.hpe.com/SDR/downloads/MCP/Ubuntu/pool/non-free/${pname}-${version}_amd64.deb";
sha256 = "11w7fwk93lmfw0yya4jpjwdmgjimqxx6412sqa166g1pz4jil4sw";
};
diff --git a/nixos/modules/hardware/video/amdgpu-pro.nix b/nixos/modules/hardware/video/amdgpu-pro.nix
index ab9e0c92020..8e91e9d2baa 100644
--- a/nixos/modules/hardware/video/amdgpu-pro.nix
+++ b/nixos/modules/hardware/video/amdgpu-pro.nix
@@ -30,10 +30,11 @@ in
nixpkgs.config.xorg.abiCompat = "1.19";
services.xserver.drivers = singleton
- { name = "amdgpu"; modules = [ package ]; libPath = [ package ]; };
+ { name = "amdgpu"; modules = [ package ]; };
hardware.opengl.package = package;
hardware.opengl.package32 = package32;
+ hardware.opengl.setLdLibraryPath = true;
boot.extraModulePackages = [ package ];
diff --git a/nixos/modules/hardware/video/ati.nix b/nixos/modules/hardware/video/ati.nix
index 6102919f015..0aab7bd6b92 100644
--- a/nixos/modules/hardware/video/ati.nix
+++ b/nixos/modules/hardware/video/ati.nix
@@ -21,10 +21,11 @@ in
nixpkgs.config.xorg.abiCompat = "1.17";
services.xserver.drivers = singleton
- { name = "fglrx"; modules = [ ati_x11 ]; libPath = [ "${ati_x11}/lib" ]; };
+ { name = "fglrx"; modules = [ ati_x11 ]; };
hardware.opengl.package = ati_x11;
hardware.opengl.package32 = pkgs.pkgsi686Linux.linuxPackages.ati_drivers_x11.override { libsOnly = true; kernel = null; };
+ hardware.opengl.setLdLibraryPath = true;
environment.systemPackages = [ ati_x11 ];
@@ -32,7 +33,7 @@ in
boot.blacklistedKernelModules = [ "radeon" ];
- environment.etc."ati".source = "${ati_x11}/etc/ati";
+ environment.etc.ati.source = "${ati_x11}/etc/ati";
};
diff --git a/nixos/modules/hardware/video/nvidia.nix b/nixos/modules/hardware/video/nvidia.nix
index 9f2360f41c6..3ab2afc9740 100644
--- a/nixos/modules/hardware/video/nvidia.nix
+++ b/nixos/modules/hardware/video/nvidia.nix
@@ -1,6 +1,6 @@
# This module provides the proprietary NVIDIA X11 / OpenGL drivers.
-{ stdenv, config, lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
with lib;
@@ -88,7 +88,7 @@ in
};
hardware.nvidia.optimus_prime.nvidiaBusId = lib.mkOption {
- type = lib.types.string;
+ type = lib.types.str;
default = "";
example = "PCI:1:0:0";
description = ''
@@ -98,7 +98,7 @@ in
};
hardware.nvidia.optimus_prime.intelBusId = lib.mkOption {
- type = lib.types.string;
+ type = lib.types.str;
default = "";
example = "PCI:0:2:0";
description = ''
@@ -138,7 +138,6 @@ in
services.xserver.drivers = singleton {
name = "nvidia";
modules = [ nvidia_x11.bin ];
- libPath = [ nvidia_x11 ];
deviceSection = optionalString optimusCfg.enable
''
BusID "${optimusCfg.nvidiaBusId}"
diff --git a/nixos/modules/i18n/input-method/ibus.nix b/nixos/modules/i18n/input-method/ibus.nix
index f8e021f551e..8109ef76c40 100644
--- a/nixos/modules/i18n/input-method/ibus.nix
+++ b/nixos/modules/i18n/input-method/ibus.nix
@@ -55,7 +55,7 @@ in
# Without dconf enabled it is impossible to use IBus
environment.systemPackages = with pkgs; [
- ibus-qt gnome3.dconf ibusAutostart
+ gnome3.dconf ibusAutostart
];
environment.variables = {
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
index 917b3758d38..1578e1547bc 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-base.nix
@@ -1,23 +1,37 @@
# This module contains the basic configuration for building a graphical NixOS
# installation CD.
-{ config, lib, pkgs, ... }:
+{ lib, pkgs, ... }:
with lib;
{
imports = [ ./installation-cd-base.nix ];
+ # Whitelist wheel users to do anything
+ # This is useful for things like pkexec
+ #
+ # WARNING: this is dangerous for systems
+ # outside the installation-cd and shouldn't
+ # be used anywhere else.
+ security.polkit.extraConfig = ''
+ polkit.addRule(function(action, subject) {
+ if (subject.isInGroup("wheel")) {
+ return polkit.Result.YES;
+ }
+ });
+ '';
+
services.xserver = {
enable = true;
# Don't start the X server by default.
autorun = mkForce false;
- # Automatically login as root.
+ # Automatically login as nixos.
displayManager.slim = {
enable = true;
- defaultUser = "root";
+ defaultUser = "nixos";
autoLogin = true;
};
@@ -33,7 +47,6 @@ with lib;
# Enable sound in graphical iso's.
hardware.pulseaudio.enable = true;
- hardware.pulseaudio.systemWide = true; # Needed since we run plasma as root.
environment.systemPackages = [
# Include gparted for partitioning disks.
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix
index 42b5ec88227..0b813bbf37b 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-gnome.nix
@@ -1,7 +1,7 @@
# This module defines a NixOS installation CD that contains X11 and
# GNOME 3.
-{ config, lib, pkgs, ... }:
+{ lib, ... }:
with lib;
diff --git a/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix b/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
index 1c3c9cb30b4..559899b0a3b 100644
--- a/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
+++ b/nixos/modules/installer/cd-dvd/installation-cd-graphical-kde.nix
@@ -1,5 +1,5 @@
# This module defines a NixOS installation CD that contains X11 and
-# Plasma5.
+# Plasma 5.
{ config, lib, pkgs, ... }:
@@ -13,9 +13,6 @@ with lib;
enable = true;
enableQt4Support = false;
};
-
- # Enable touchpad support for many laptops.
- synaptics.enable = true;
};
environment.systemPackages = with pkgs; [
@@ -30,15 +27,20 @@ with lib;
Version=1.0
Type=Application
Name=NixOS Manual
- Exec=firefox ${config.system.build.manual.manualHTMLIndex}
+ Exec=firefox ${config.system.build.manual.manual}/share/doc/nixos/index.html
Icon=text-html
'';
+ homeDir = "/home/nixos/";
+ desktopDir = homeDir + "Desktop/";
+
in ''
- mkdir -p /root/Desktop
- ln -sfT ${manualDesktopFile} /root/Desktop/nixos-manual.desktop
- ln -sfT ${pkgs.konsole}/share/applications/org.kde.konsole.desktop /root/Desktop/org.kde.konsole.desktop
- ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop /root/Desktop/gparted.desktop
+ mkdir -p ${desktopDir}
+ chown nixos ${homeDir} ${desktopDir}
+
+ ln -sfT ${manualDesktopFile} ${desktopDir + "nixos-manual.desktop"}
+ ln -sfT ${pkgs.gparted}/share/applications/gparted.desktop ${desktopDir + "gparted.desktop"}
+ ln -sfT ${pkgs.konsole}/share/applications/org.kde.konsole.desktop ${desktopDir + "org.kde.konsole.desktop"}
'';
}
diff --git a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
index 5f7194e92a3..2d34406a032 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-aarch64.nix
@@ -26,8 +26,15 @@ in
# Also increase the amount of CMA to ensure the virtual console on the RPi3 works.
boot.kernelParams = ["cma=32M" "console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0"];
+ boot.initrd.availableKernelModules = [
+ # Allows early (earlier) modesetting for the Raspberry Pi
+ "vc4" "bcm2835_dma" "i2c_bcm2835"
+ # Allows early (earlier) modesetting for Allwinner SoCs
+ "sun4i_drm" "sun8i_drm_hdmi" "sun8i_mixer"
+ ];
+
sdImage = {
- populateBootCommands = let
+ populateFirmwareCommands = let
configTxt = pkgs.writeText "config.txt" ''
kernel=u-boot-rpi3.bin
@@ -43,10 +50,17 @@ in
avoid_warnings=1
'';
in ''
- (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
- cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin boot/u-boot-rpi3.bin
- cp ${configTxt} boot/config.txt
- ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
+ (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
+ cp ${pkgs.ubootRaspberryPi3_64bit}/u-boot.bin firmware/u-boot-rpi3.bin
+ cp ${configTxt} firmware/config.txt
'';
+ populateRootCommands = ''
+ mkdir -p ./files/boot
+ ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot
+ '';
};
+
+ # the installation media is also the installation target,
+ # so we don't want to provide the installation configuration.nix.
+ installer.cloneConfig = false;
}
diff --git a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
index 71448f74c36..651d1a36dc1 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-armv7l-multiplatform.nix
@@ -29,7 +29,7 @@ in
boot.kernelParams = ["console=ttyS0,115200n8" "console=ttymxc0,115200n8" "console=ttyAMA0,115200n8" "console=ttyO0,115200n8" "console=ttySAC2,115200n8" "console=tty0"];
sdImage = {
- populateBootCommands = let
+ populateFirmwareCommands = let
configTxt = pkgs.writeText "config.txt" ''
# Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
# when attempting to show low-voltage or overtemperature warnings.
@@ -46,11 +46,18 @@ in
enable_uart=1
'';
in ''
- (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
- cp ${pkgs.ubootRaspberryPi2}/u-boot.bin boot/u-boot-rpi2.bin
- cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin boot/u-boot-rpi3.bin
- cp ${configTxt} boot/config.txt
- ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
+ (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
+ cp ${pkgs.ubootRaspberryPi2}/u-boot.bin firmware/u-boot-rpi2.bin
+ cp ${pkgs.ubootRaspberryPi3_32bit}/u-boot.bin firmware/u-boot-rpi3.bin
+ cp ${configTxt} firmware/config.txt
'';
+ populateRootCommands = ''
+ mkdir -p ./files/boot
+ ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot
+ '';
};
+
+ # the installation media is also the installation target,
+ # so we don't want to provide the installation configuration.nix.
+ installer.cloneConfig = false;
}
diff --git a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
index 96e06670694..2a131d9ce98 100644
--- a/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image-raspberrypi.nix
@@ -22,7 +22,7 @@ in
boot.kernelPackages = pkgs.linuxPackages_rpi;
sdImage = {
- populateBootCommands = let
+ populateFirmwareCommands = let
configTxt = pkgs.writeText "config.txt" ''
# Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
# when attempting to show low-voltage or overtemperature warnings.
@@ -35,11 +35,18 @@ in
kernel=u-boot-rpi1.bin
'';
in ''
- (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
- cp ${pkgs.ubootRaspberryPiZero}/u-boot.bin boot/u-boot-rpi0.bin
- cp ${pkgs.ubootRaspberryPi}/u-boot.bin boot/u-boot-rpi1.bin
- cp ${configTxt} boot/config.txt
- ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./boot
+ (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/firmware/)
+ cp ${pkgs.ubootRaspberryPiZero}/u-boot.bin firmware/u-boot-rpi0.bin
+ cp ${pkgs.ubootRaspberryPi}/u-boot.bin firmware/u-boot-rpi1.bin
+ cp ${configTxt} firmware/config.txt
'';
+ populateRootCommands = ''
+ mkdir -p ./files/boot
+ ${extlinux-conf-builder} -t 3 -c ${config.system.build.toplevel} -d ./files/boot
+ '';
};
+
+ # the installation media is also the installation target,
+ # so we don't want to provide the installation configuration.nix.
+ installer.cloneConfig = false;
}
diff --git a/nixos/modules/installer/cd-dvd/sd-image.nix b/nixos/modules/installer/cd-dvd/sd-image.nix
index 69746a8e979..0a015044155 100644
--- a/nixos/modules/installer/cd-dvd/sd-image.nix
+++ b/nixos/modules/installer/cd-dvd/sd-image.nix
@@ -1,8 +1,12 @@
# This module creates a bootable SD card image containing the given NixOS
-# configuration. The generated image is MBR partitioned, with a FAT /boot
-# partition, and ext4 root partition. The generated image is sized to fit
-# its contents, and a boot script automatically resizes the root partition
-# to fit the device on the first boot.
+# configuration. The generated image is MBR partitioned, with a FAT
+# /boot/firmware partition, and ext4 root partition. The generated image
+# is sized to fit its contents, and a boot script automatically resizes
+# the root partition to fit the device on the first boot.
+#
+# The firmware partition is built with expectation to hold the Raspberry
+# Pi firmware and bootloader, and be removed and replaced with a firmware
+# build for the target SoC for other board families.
#
# The derivation for the SD image will be placed in
# config.system.build.sdImage
@@ -14,12 +18,18 @@ with lib;
let
rootfsImage = pkgs.callPackage ../../../lib/make-ext4-fs.nix ({
inherit (config.sdImage) storePaths;
+ populateImageCommands = config.sdImage.populateRootCommands;
volumeLabel = "NIXOS_SD";
} // optionalAttrs (config.sdImage.rootPartitionUUID != null) {
uuid = config.sdImage.rootPartitionUUID;
});
in
{
+ imports = [
+ (mkRemovedOptionModule [ "sdImage" "bootPartitionID" ] "The FAT partition for SD image now only holds the Raspberry Pi firmware files. Use firmwarePartitionID to configure that partition's ID.")
+ (mkRemovedOptionModule [ "sdImage" "bootSize" ] "The boot files for SD image have been moved to the main ext4 partition. The FAT partition now only holds the Raspberry Pi firmware files. Changing its size may not be required.")
+ ];
+
options.sdImage = {
imageName = mkOption {
default = "${config.sdImage.imageBaseName}-${config.system.nixos.label}-${pkgs.stdenv.hostPlatform.system}.img";
@@ -43,17 +53,17 @@ in
'';
};
- bootPartitionID = mkOption {
- type = types.string;
+ firmwarePartitionID = mkOption {
+ type = types.str;
default = "0x2178694e";
description = ''
- Volume ID for the /boot partition on the SD card. This value must be a
- 32-bit hexadecimal number.
+ Volume ID for the /boot/firmware partition on the SD card. This value
+ must be a 32-bit hexadecimal number.
'';
};
rootPartitionUUID = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
example = "14e19a7b-0ae0-484d-9d54-43bd6fdc20c7";
description = ''
@@ -61,29 +71,44 @@ in
'';
};
- bootSize = mkOption {
+ firmwareSize = mkOption {
type = types.int;
- default = 120;
+ # As of 2019-08-18 the Raspberry pi firmware + u-boot takes ~18MiB
+ default = 30;
description = ''
- Size of the /boot partition, in megabytes.
+ Size of the /boot/firmware partition, in megabytes.
'';
};
- populateBootCommands = mkOption {
- example = literalExample "'' cp \${pkgs.myBootLoader}/u-boot.bin boot/ ''";
+ populateFirmwareCommands = mkOption {
+ example = literalExample "'' cp \${pkgs.myBootLoader}/u-boot.bin firmware/ ''";
description = ''
- Shell commands to populate the ./boot directory.
+ Shell commands to populate the ./firmware directory.
All files in that directory are copied to the
- /boot partition on the SD image.
+ /boot/firmware partition on the SD image.
+ '';
+ };
+
+ populateRootCommands = mkOption {
+ example = literalExample "''\${extlinux-conf-builder} -t 3 -c \${config.system.build.toplevel} -d ./files/boot''";
+ description = ''
+ Shell commands to populate the ./files directory.
+ All files in that directory are copied to the
+ root (/) partition on the SD image. Use this to
+ populate the ./files/boot (/boot) directory.
'';
};
};
config = {
fileSystems = {
- "/boot" = {
- device = "/dev/disk/by-label/NIXOS_BOOT";
+ "/boot/firmware" = {
+ device = "/dev/disk/by-label/FIRMWARE";
fsType = "vfat";
+ # Alternatively, this could be removed from the configuration.
+ # The filesystem is not needed at runtime, it could be treated
+ # as an opaque blob instead of a discrete FAT32 filesystem.
+ options = [ "nofail" "noauto" ];
};
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
@@ -105,39 +130,44 @@ in
echo "${pkgs.stdenv.buildPlatform.system}" > $out/nix-support/system
echo "file sd-image $img" >> $out/nix-support/hydra-build-products
- # Create the image file sized to fit /boot and /, plus 20M of slack
+ # Gap in front of the first partition, in MiB
+ gap=8
+
+ # Create the image file sized to fit /boot/firmware and /, plus slack for the gap.
rootSizeBlocks=$(du -B 512 --apparent-size ${rootfsImage} | awk '{ print $1 }')
- bootSizeBlocks=$((${toString config.sdImage.bootSize} * 1024 * 1024 / 512))
- imageSize=$((rootSizeBlocks * 512 + bootSizeBlocks * 512 + 20 * 1024 * 1024))
+ firmwareSizeBlocks=$((${toString config.sdImage.firmwareSize} * 1024 * 1024 / 512))
+ imageSize=$((rootSizeBlocks * 512 + firmwareSizeBlocks * 512 + gap * 1024 * 1024))
truncate -s $imageSize $img
# type=b is 'W95 FAT32', type=83 is 'Linux'.
+ # The "bootable" partition is where u-boot will look file for the bootloader
+ # information (dtbs, extlinux.conf file).
sfdisk $img <&2 || true
+LOCALE_ARCHIVE="$system/sw/lib/locale/locale-archive" chroot "$mountPoint" "$system/activate" >>$PIPE_TARGET 2>&1 || true
exec chroot "$mountPoint" "${command[@]}"
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl
index b7e5b99a9e0..cfdbdaabf5c 100644
--- a/nixos/modules/installer/tools/nixos-generate-config.pl
+++ b/nixos/modules/installer/tools/nixos-generate-config.pl
@@ -258,6 +258,16 @@ foreach my $path (glob "/sys/class/{block,mmc_host}/*") {
}
}
+# Add bcache module, if needed.
+my @bcacheDevices = glob("/dev/bcache*");
+if (scalar @bcacheDevices > 0) {
+ push @initrdAvailableKernelModules, "bcache";
+}
+
+# Prevent unbootable systems if LVM snapshots are present at boot time.
+if (`lsblk -o TYPE` =~ "lvm") {
+ push @initrdKernelModules, "dm-snapshot";
+}
my $virt = `systemd-detect-virt`;
chomp $virt;
@@ -319,10 +329,19 @@ my @swapDevices;
if (@swaps) {
shift @swaps;
foreach my $swap (@swaps) {
- $swap =~ /^(\S+)\s/;
- next unless -e $1;
- my $dev = findStableDevPath $1;
- push @swapDevices, "{ device = \"$dev\"; }";
+ my @fields = split ' ', $swap;
+ my $swapFilename = $fields[0];
+ my $swapType = $fields[1];
+ next unless -e $swapFilename;
+ my $dev = findStableDevPath $swapFilename;
+ if ($swapType =~ "partition") {
+ push @swapDevices, "{ device = \"$dev\"; }";
+ } elsif ($swapType =~ "file") {
+ # swap *files* are more likely specified in configuration.nix, so
+ # ignore them here.
+ } else {
+ die "Unsupported swap type: $swapType\n";
+ }
}
}
@@ -422,6 +441,10 @@ EOF
}
}
+ # Don't emit tmpfs entry for /tmp, because it most likely comes from the
+ # boot.tmpOnTmpfs option in configuration.nix (managed declaratively).
+ next if ($mountPoint eq "/tmp" && $fsType eq "tmpfs");
+
# Emit the filesystem.
$fileSystems .= <nixos-generate-config
+ saves to /etc/nixos/configuration.nix.
+
+ This is an internal option. No backward compatibility is guaranteed.
+ Use at your own risk!
+
+ Note that this string gets spliced into a Perl script. The perl
+ variable $bootLoaderConfig can be used to
+ splice in the boot loader configuration.
+ '';
+ };
+
config = {
+ system.nixos-generate-config.configuration = mkDefault ''
+ # Edit this configuration file to define what should be installed on
+ # your system. Help is available in the configuration.nix(5) man page
+ # and in the NixOS manual (accessible by running ‘nixos-help’).
+
+ { config, pkgs, ... }:
+
+ {
+ imports =
+ [ # Include the results of the hardware scan.
+ ./hardware-configuration.nix
+ ];
+
+ $bootLoaderConfig
+ # networking.hostName = "nixos"; # Define your hostname.
+ # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
+
+ # Configure network proxy if necessary
+ # networking.proxy.default = "http://user:password\@proxy:port/";
+ # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
+
+ # Select internationalisation properties.
+ # i18n = {
+ # consoleFont = "Lat2-Terminus16";
+ # consoleKeyMap = "us";
+ # defaultLocale = "en_US.UTF-8";
+ # };
+
+ # Set your time zone.
+ # time.timeZone = "Europe/Amsterdam";
+
+ # List packages installed in system profile. To search, run:
+ # \$ nix search wget
+ # environment.systemPackages = with pkgs; [
+ # wget vim
+ # ];
+
+ # Some programs need SUID wrappers, can be configured further or are
+ # started in user sessions.
+ # programs.mtr.enable = true;
+ # programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
+
+ # List services that you want to enable:
+
+ # Enable the OpenSSH daemon.
+ # services.openssh.enable = true;
+
+ # Open ports in the firewall.
+ # networking.firewall.allowedTCPPorts = [ ... ];
+ # networking.firewall.allowedUDPPorts = [ ... ];
+ # Or disable the firewall altogether.
+ # networking.firewall.enable = false;
+
+ # Enable CUPS to print documents.
+ # services.printing.enable = true;
+
+ # Enable sound.
+ # sound.enable = true;
+ # hardware.pulseaudio.enable = true;
+
+ # Enable the X11 windowing system.
+ # services.xserver.enable = true;
+ # services.xserver.layout = "us";
+ # services.xserver.xkbOptions = "eurosign:e";
+
+ # Enable touchpad support.
+ # services.xserver.libinput.enable = true;
+
+ # Enable the KDE Desktop Environment.
+ # services.xserver.displayManager.sddm.enable = true;
+ # services.xserver.desktopManager.plasma5.enable = true;
+
+ # Define a user account. Don't forget to set a password with ‘passwd’.
+ # users.users.jane = {
+ # isNormalUser = true;
+ # extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
+ # };
+
+ # This value determines the NixOS release with which your system is to be
+ # compatible, in order to avoid breaking some software such as database
+ # servers. You should change this only after NixOS release notes say you
+ # should.
+ system.stateVersion = "${config.system.nixos.release}"; # Did you read the comment?
+
+ }
+ '';
+
environment.systemPackages =
[ nixos-build-vms
nixos-install
diff --git a/nixos/modules/misc/crashdump.nix b/nixos/modules/misc/crashdump.nix
index 6e0b49fa9af..3c47e79d051 100644
--- a/nixos/modules/misc/crashdump.nix
+++ b/nixos/modules/misc/crashdump.nix
@@ -58,7 +58,6 @@ in
"crashkernel=${crashdump.reservedMemory}"
"nmi_watchdog=panic"
"softlockup_panic=1"
- "idle=poll"
];
kernelPatches = [ {
name = "crashdump-config";
diff --git a/nixos/modules/misc/documentation.nix b/nixos/modules/misc/documentation.nix
index 834ac0de912..deecb005270 100644
--- a/nixos/modules/misc/documentation.nix
+++ b/nixos/modules/misc/documentation.nix
@@ -49,11 +49,7 @@ let
if [ -z "$browser" ]; then
browser="$(type -P xdg-open || true)"
if [ -z "$browser" ]; then
- browser="$(type -P w3m || true)"
- if [ -z "$browser" ]; then
- echo "$0: unable to start a web browser; please set \$BROWSER"
- exit 1
- fi
+ browser="${pkgs.w3m-nographics}/bin/w3m"
fi
fi
exec "$browser" ${manual.manualHTMLIndex}
@@ -187,8 +183,6 @@ in
})
(mkIf cfg.doc.enable {
- # TODO(@oxij): put it here and remove from profiles?
- # environment.systemPackages = [ pkgs.w3m ]; # w3m-nox?
environment.pathsToLink = [ "/share/doc" ];
environment.extraOutputsToInstall = [ "doc" ] ++ optional cfg.dev.enable "devdoc";
})
diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix
index 5b7fa5d2b98..ac6af1ce8b7 100644
--- a/nixos/modules/misc/ids.nix
+++ b/nixos/modules/misc/ids.nix
@@ -44,7 +44,7 @@
vsftpd = 7;
ftp = 8;
bitlbee = 9;
- avahi = 10;
+ #avahi = 10; # removed 2019-05-22
nagios = 11;
atd = 12;
postfix = 13;
@@ -145,7 +145,7 @@
#notbit = 111; # unused
aerospike = 111;
ngircd = 112;
- btsync = 113;
+ #btsync = 113; # unused
minecraft = 114;
vault = 115;
rippled = 116;
@@ -251,7 +251,7 @@
gale = 223;
matrix-synapse = 224;
rspamd = 225;
- rmilter = 226;
+ # rmilter = 226; # unused, removed 2019-08-22
cfdyndns = 227;
gammu-smsd = 228;
pdnsd = 229;
@@ -340,6 +340,7 @@
cockroachdb = 313;
zoneminder = 314;
paperless = 315;
+ #mailman = 316; # removed 2019-08-30
# When adding a uid, make sure it doesn't match an existing gid. And don't use uids above 399!
@@ -358,7 +359,7 @@
vsftpd = 7;
ftp = 8;
bitlbee = 9;
- avahi = 10;
+ #avahi = 10; # removed 2019-05-22
#nagios = 11; # unused
atd = 12;
postfix = 13;
@@ -457,7 +458,7 @@
#notbit = 111; # unused
aerospike = 111;
#ngircd = 112; # unused
- btsync = 113;
+ #btsync = 113; # unused
#minecraft = 114; # unused
vault = 115;
#ripped = 116; # unused
@@ -516,7 +517,7 @@
tss = 176;
#memcached = 177; # unused, removed 2018-01-03
#ntp = 179; # unused
- #zabbix = 180; # unused
+ zabbix = 180;
#redis = 181; # unused, removed 2018-01-03
#unifi = 183; # unused
#uptimed = 184; # unused
@@ -559,7 +560,7 @@
gale = 223;
matrix-synapse = 224;
rspamd = 225;
- rmilter = 226;
+ # rmilter = 226; # unused, removed 2019-08-22
cfdyndns = 227;
pdnsd = 229;
octoprint = 230;
@@ -640,6 +641,7 @@
cockroachdb = 313;
zoneminder = 314;
paperless = 315;
+ #mailman = 316; # removed 2019-08-30
# When adding a gid, make sure it doesn't match an existing
# uid. Users and groups with the same name should have equal
diff --git a/nixos/modules/misc/nixops-autoluks.nix b/nixos/modules/misc/nixops-autoluks.nix
new file mode 100644
index 00000000000..20c143286af
--- /dev/null
+++ b/nixos/modules/misc/nixops-autoluks.nix
@@ -0,0 +1,43 @@
+{ config, options, lib, ... }:
+let
+ path = [ "deployment" "autoLuks" ];
+ hasAutoLuksConfig = lib.hasAttrByPath path config && (lib.attrByPath path {} config) != {};
+
+ inherit (config.nixops) enableDeprecatedAutoLuks;
+in {
+ options.nixops.enableDeprecatedAutoLuks = lib.mkEnableOption "Enable the deprecated NixOps AutoLuks module";
+
+ config = {
+ assertions = [
+ {
+ assertion = if hasAutoLuksConfig then hasAutoLuksConfig && enableDeprecatedAutoLuks else true;
+ message = ''
+ ⚠️ !!! WARNING !!! ⚠️
+
+ NixOps autoLuks is deprecated. The feature was never widely used and the maintenance did outgrow the benefit.
+ If you still want to use the module:
+ a) Please raise your voice in the issue tracking usage of the module:
+ https://github.com/NixOS/nixpkgs/issues/62211
+ b) make sure you set the `_netdev` option for each of the file
+ systems referring to block devices provided by the autoLuks module.
+
+ ⚠️ If you do not set the option your system will not boot anymore! ⚠️
+
+ {
+ fileSystems."/secret" = { options = [ "_netdev" ]; };
+ }
+
+ b) set the option >nixops.enableDeprecatedAutoLuks = true< to remove this error.
+
+
+ For more details read through the following resources:
+ - https://github.com/NixOS/nixops/pull/1156
+ - https://github.com/NixOS/nixpkgs/issues/47550
+ - https://github.com/NixOS/nixpkgs/issues/62211
+ - https://github.com/NixOS/nixpkgs/pull/61321
+ '';
+ }
+ ];
+ };
+
+}
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix
index 9d19dd2a7ff..afb74581e23 100644
--- a/nixos/modules/misc/nixpkgs.nix
+++ b/nixos/modules/misc/nixpkgs.nix
@@ -19,7 +19,7 @@ let
lhs = optCall lhs_ { inherit pkgs; };
rhs = optCall rhs_ { inherit pkgs; };
in
- lhs // rhs //
+ recursiveUpdate lhs rhs //
optionalAttrs (lhs ? packageOverrides) {
packageOverrides = pkgs:
optCall lhs.packageOverrides pkgs //
@@ -196,7 +196,6 @@ in
system = mkOption {
type = types.str;
example = "i686-linux";
- default = { system = builtins.currentSystem; };
description = ''
Specifies the Nix platform type on which NixOS should be built.
It is better to specify nixpkgs.localSystem instead.
diff --git a/nixos/modules/misc/version.nix b/nixos/modules/misc/version.nix
index c576cf4cb92..773724ffbd5 100644
--- a/nixos/modules/misc/version.nix
+++ b/nixos/modules/misc/version.nix
@@ -1,4 +1,4 @@
-{ options, config, lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
with lib;
@@ -85,7 +85,7 @@ in
# Generate /etc/os-release. See
# https://www.freedesktop.org/software/systemd/man/os-release.html for the
# format.
- environment.etc."os-release".text =
+ environment.etc.os-release.text =
''
NAME=NixOS
ID=nixos
@@ -95,6 +95,7 @@ in
PRETTY_NAME="NixOS ${cfg.version} (${cfg.codeName})"
LOGO="nix-snowflake"
HOME_URL="https://nixos.org/"
+ DOCUMENTATION_URL="https://nixos.org/nixos/manual/index.html"
SUPPORT_URL="https://nixos.org/nixos/support.html"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
'';
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix
index bc8bcc0cd8f..fb8453f1d53 100644
--- a/nixos/modules/module-list.nix
+++ b/nixos/modules/module-list.nix
@@ -11,6 +11,7 @@
./config/xdg/icons.nix
./config/xdg/menus.nix
./config/xdg/mime.nix
+ ./config/xdg/portal.nix
./config/appstream.nix
./config/xdg/sounds.nix
./config/gtk/gtk-icon-cache.nix
@@ -19,22 +20,25 @@
./config/iproute2.nix
./config/krb5/default.nix
./config/ldap.nix
+ ./config/locale.nix
./config/malloc.nix
./config/networking.nix
./config/no-x-libs.nix
./config/nsswitch.nix
./config/power-management.nix
./config/pulseaudio.nix
+ ./config/qt5.nix
+ ./config/resolvconf.nix
./config/shells-environment.nix
./config/swap.nix
./config/sysctl.nix
./config/system-environment.nix
./config/system-path.nix
./config/terminfo.nix
- ./config/timezone.nix
./config/unix-odbc-drivers.nix
./config/users-groups.nix
./config/vpnc.nix
+ ./config/vte.nix
./config/zram.nix
./hardware/acpilight.nix
./hardware/all-firmware.nix
@@ -44,15 +48,19 @@
./hardware/cpu/amd-microcode.nix
./hardware/cpu/intel-microcode.nix
./hardware/digitalbitbox.nix
+ ./hardware/device-tree.nix
./hardware/sensor/iio.nix
./hardware/ksm.nix
./hardware/ledger.nix
./hardware/logitech.nix
./hardware/mcelog.nix
./hardware/network/b43.nix
+ ./hardware/network/intel-2200bg.nix
./hardware/nitrokey.nix
./hardware/opengl.nix
+ ./hardware/openrazer.nix
./hardware/pcmcia.nix
+ ./hardware/printers.nix
./hardware/raid/hpsa.nix
./hardware/steam-hardware.nix
./hardware/usb-wwan.nix
@@ -84,6 +92,7 @@
./misc/nixpkgs.nix
./misc/passthru.nix
./misc/version.nix
+ ./misc/nixops-autoluks.nix
./programs/adb.nix
./programs/atop.nix
./programs/autojump.nix
@@ -91,18 +100,27 @@
./programs/bcc.nix
./programs/blcr.nix
./programs/browserpass.nix
+ ./programs/captive-browser.nix
./programs/ccache.nix
./programs/cdemu.nix
./programs/chromium.nix
+ ./programs/clickshare.nix
./programs/command-not-found/command-not-found.nix
./programs/criu.nix
./programs/dconf.nix
./programs/digitalbitbox/default.nix
./programs/dmrconfig.nix
./programs/environment.nix
+ ./programs/evince.nix
+ ./programs/file-roller.nix
./programs/firejail.nix
./programs/fish.nix
./programs/freetds.nix
+ ./programs/fuse.nix
+ ./programs/gnome-disks.nix
+ ./programs/gnome-documents.nix
+ ./programs/gnome-terminal.nix
+ ./programs/gpaste.nix
./programs/gnupg.nix
./programs/gphoto2.nix
./programs/iftop.nix
@@ -122,6 +140,7 @@
./programs/qt5ct.nix
./programs/screen.nix
./programs/sedutil.nix
+ ./programs/seahorse.nix
./programs/slock.nix
./programs/shadow.nix
./programs/shell.nix
@@ -132,15 +151,19 @@
./programs/sysdig.nix
./programs/systemtap.nix
./programs/sway.nix
+ ./programs/system-config-printer.nix
./programs/thefuck.nix
./programs/tmux.nix
+ ./programs/tsm-client.nix
./programs/udevil.nix
+ ./programs/usbtop.nix
./programs/venus.nix
./programs/vim.nix
./programs/wavemon.nix
./programs/way-cooler.nix
./programs/waybar.nix
./programs/wireshark.nix
+ ./programs/x2goserver.nix
./programs/xfs_quota.nix
./programs/xonsh.nix
./programs/xss-lock.nix
@@ -182,27 +205,30 @@
./services/amqp/activemq/default.nix
./services/amqp/rabbitmq.nix
./services/audio/alsa.nix
+ ./services/audio/jack.nix
./services/audio/icecast.nix
./services/audio/liquidsoap.nix
./services/audio/mpd.nix
./services/audio/mopidy.nix
+ ./services/audio/roon-server.nix
./services/audio/slimserver.nix
./services/audio/snapserver.nix
./services/audio/squeezelite.nix
+ ./services/audio/spotifyd.nix
./services/audio/ympd.nix
./services/backup/automysqlbackup.nix
./services/backup/bacula.nix
./services/backup/borgbackup.nix
./services/backup/duplicati.nix
- ./services/backup/crashplan.nix
- ./services/backup/crashplan-small-business.nix
./services/backup/duplicity.nix
./services/backup/mysql-backup.nix
./services/backup/postgresql-backup.nix
+ ./services/backup/postgresql-wal-receiver.nix
./services/backup/restic.nix
./services/backup/restic-rest-server.nix
./services/backup/rsnapshot.nix
./services/backup/tarsnap.nix
+ ./services/backup/tsm.nix
./services/backup/znapzend.nix
./services/cluster/hadoop/default.nix
./services/cluster/kubernetes/addons/dns.nix
@@ -258,6 +284,7 @@
./services/databases/virtuoso.nix
./services/desktops/accountsservice.nix
./services/desktops/bamf.nix
+ ./services/desktops/blueman.nix
./services/desktops/deepin/deepin.nix
./services/desktops/dleyna-renderer.nix
./services/desktops/dleyna-server.nix
@@ -266,30 +293,24 @@
./services/desktops/flatpak.nix
./services/desktops/geoclue2.nix
./services/desktops/gsignond.nix
+ ./services/desktops/gvfs.nix
./services/desktops/pipewire.nix
./services/desktops/gnome3/at-spi2-core.nix
./services/desktops/gnome3/chrome-gnome-shell.nix
- ./services/desktops/gnome3/evince.nix
./services/desktops/gnome3/evolution-data-server.nix
- ./services/desktops/gnome3/file-roller.nix
./services/desktops/gnome3/glib-networking.nix
- ./services/desktops/gnome3/gnome-disks.nix
- ./services/desktops/gnome3/gnome-documents.nix
./services/desktops/gnome3/gnome-keyring.nix
./services/desktops/gnome3/gnome-online-accounts.nix
./services/desktops/gnome3/gnome-remote-desktop.nix
./services/desktops/gnome3/gnome-online-miners.nix
./services/desktops/gnome3/gnome-settings-daemon.nix
- ./services/desktops/gnome3/gnome-terminal-server.nix
./services/desktops/gnome3/gnome-user-share.nix
- ./services/desktops/gnome3/gpaste.nix
- ./services/desktops/gnome3/gvfs.nix
./services/desktops/gnome3/rygel.nix
- ./services/desktops/gnome3/seahorse.nix
./services/desktops/gnome3/sushi.nix
./services/desktops/gnome3/tracker.nix
./services/desktops/gnome3/tracker-miners.nix
./services/desktops/profile-sync-daemon.nix
+ ./services/desktops/system-config-printer.nix
./services/desktops/telepathy.nix
./services/desktops/tumbler.nix
./services/desktops/zeitgeist.nix
@@ -324,6 +345,7 @@
./services/hardware/tcsd.nix
./services/hardware/tlp.nix
./services/hardware/thinkfan.nix
+ ./services/hardware/throttled.nix
./services/hardware/trezord.nix
./services/hardware/triggerhappy.nix
./services/hardware/u2f.nix
@@ -359,6 +381,7 @@
./services/mail/mail.nix
./services/mail/mailcatcher.nix
./services/mail/mailhog.nix
+ ./services/mail/mailman.nix
./services/mail/mlmmj.nix
./services/mail/offlineimap.nix
./services/mail/opendkim.nix
@@ -370,7 +393,6 @@
./services/mail/spamassassin.nix
./services/mail/rspamd.nix
./services/mail/rss2email.nix
- ./services/mail/rmilter.nix
./services/mail/roundcube.nix
./services/mail/nullmailer.nix
./services/misc/airsonic.nix
@@ -390,6 +412,7 @@
./services/misc/couchpotato.nix
./services/misc/devmon.nix
./services/misc/dictd.nix
+ ./services/misc/dwm-status.nix
./services/misc/dysnomia.nix
./services/misc/disnix.nix
./services/misc/docker-registry.nix
@@ -411,6 +434,7 @@
./services/misc/gollum.nix
./services/misc/gpsd.nix
./services/misc/headphones.nix
+ ./services/misc/greenclip.nix
./services/misc/home-assistant.nix
./services/misc/ihaskell.nix
./services/misc/irkerd.nix
@@ -419,13 +443,13 @@
./services/misc/logkeys.nix
./services/misc/leaps.nix
./services/misc/lidarr.nix
- ./services/misc/mantisbt.nix
./services/misc/mathics.nix
./services/misc/matrix-synapse.nix
./services/misc/mbpfan.nix
./services/misc/mediatomb.nix
./services/misc/mesos-master.nix
./services/misc/mesos-slave.nix
+ ./services/misc/metabase.nix
./services/misc/mwlib.nix
./services/misc/nix-daemon.nix
./services/misc/nix-gc.nix
@@ -439,7 +463,6 @@
./services/misc/packagekit.nix
./services/misc/paperless.nix
./services/misc/parsoid.nix
- ./services/misc/phd.nix
./services/misc/plex.nix
./services/misc/tautulli.nix
./services/misc/pykms.nix
@@ -463,6 +486,7 @@
./services/misc/synergy.nix
./services/misc/sysprof.nix
./services/misc/taskserver
+ ./services/misc/tiddlywiki.nix
./services/misc/tzupdate.nix
./services/misc/uhub.nix
./services/misc/weechat.nix
@@ -486,6 +510,7 @@
./services/monitoring/heapster.nix
./services/monitoring/incron.nix
./services/monitoring/kapacitor.nix
+ ./services/monitoring/loki.nix
./services/monitoring/longview.nix
./services/monitoring/monit.nix
./services/monitoring/munin.nix
@@ -502,13 +527,14 @@
./services/monitoring/scollector.nix
./services/monitoring/smartd.nix
./services/monitoring/sysstat.nix
- ./services/monitoring/systemhealth.nix
./services/monitoring/teamviewer.nix
./services/monitoring/telegraf.nix
+ ./services/monitoring/thanos.nix
./services/monitoring/ups.nix
./services/monitoring/uptime.nix
./services/monitoring/vnstat.nix
./services/monitoring/zabbix-agent.nix
+ ./services/monitoring/zabbix-proxy.nix
./services/monitoring/zabbix-server.nix
./services/network-filesystems/beegfs.nix
./services/network-filesystems/cachefilesd.nix
@@ -540,9 +566,7 @@
./services/networking/autossh.nix
./services/networking/bird.nix
./services/networking/bitlbee.nix
- ./services/networking/btsync.nix
./services/networking/charybdis.nix
- ./services/networking/chrony.nix
./services/networking/cjdns.nix
./services/networking/cntlm.nix
./services/networking/connman.nix
@@ -589,6 +613,7 @@
./services/networking/iodine.nix
./services/networking/iperf3.nix
./services/networking/ircd-hybrid/default.nix
+ ./services/networking/jormungandr.nix
./services/networking/iwd.nix
./services/networking/keepalived/default.nix
./services/networking/keybase.nix
@@ -609,6 +634,7 @@
./services/networking/morty.nix
./services/networking/miredo.nix
./services/networking/mstpd.nix
+ ./services/networking/mtprotoproxy.nix
./services/networking/murmur.nix
./services/networking/mxisd.nix
./services/networking/namecoind.nix
@@ -623,13 +649,15 @@
./services/networking/nntp-proxy.nix
./services/networking/nsd.nix
./services/networking/ntopng.nix
- ./services/networking/ntpd.nix
+ ./services/networking/ntp/chrony.nix
+ ./services/networking/ntp/ntpd.nix
+ ./services/networking/ntp/openntpd.nix
./services/networking/nullidentdmod.nix
./services/networking/nylon.nix
./services/networking/ocserv.nix
+ ./services/networking/ofono.nix
./services/networking/oidentd.nix
./services/networking/openfire.nix
- ./services/networking/openntpd.nix
./services/networking/openvpn.nix
./services/networking/ostinato.nix
./services/networking/owamp.nix
@@ -675,9 +703,11 @@
./services/networking/supybot.nix
./services/networking/syncthing.nix
./services/networking/syncthing-relay.nix
+ ./services/networking/syncplay.nix
./services/networking/tcpcrypt.nix
./services/networking/teamspeak3.nix
./services/networking/tedicross.nix
+ ./services/networking/thelounge.nix
./services/networking/tinc.nix
./services/networking/tinydns.nix
./services/networking/tftpd.nix
@@ -747,6 +777,7 @@
./services/system/uptimed.nix
./services/torrent/deluge.nix
./services/torrent/flexget.nix
+ ./services/torrent/magnetico.nix
./services/torrent/opentracker.nix
./services/torrent/peerflix.nix
./services/torrent/transmission.nix
@@ -757,12 +788,16 @@
./services/web-apps/atlassian/crowd.nix
./services/web-apps/atlassian/jira.nix
./services/web-apps/codimd.nix
+ ./services/web-apps/cryptpad.nix
./services/web-apps/documize.nix
./services/web-apps/frab.nix
./services/web-apps/icingaweb2/icingaweb2.nix
./services/web-apps/icingaweb2/module-monitoring.nix
+ ./services/web-apps/limesurvey.nix
./services/web-apps/mattermost.nix
+ ./services/web-apps/mediawiki.nix
./services/web-apps/miniflux.nix
+ ./services/web-apps/moodle.nix
./services/web-apps/nextcloud.nix
./services/web-apps/nexus.nix
./services/web-apps/pgpkeyserver-lite.nix
@@ -771,9 +806,12 @@
./services/web-apps/tt-rss.nix
./services/web-apps/selfoss.nix
./services/web-apps/virtlyst.nix
+ ./services/web-apps/wordpress.nix
./services/web-apps/youtrack.nix
+ ./services/web-apps/zabbix.nix
./services/web-servers/apache-httpd/default.nix
./services/web-servers/caddy.nix
+ ./services/web-servers/darkhttpd.nix
./services/web-servers/fcgiwrap.nix
./services/web-servers/hitch/default.nix
./services/web-servers/hydron.nix
@@ -795,6 +833,8 @@
./services/web-servers/uwsgi.nix
./services/web-servers/varnish/default.nix
./services/web-servers/zope2.nix
+ ./services/x11/extra-layouts.nix
+ ./services/x11/clight.nix
./services/x11/colord.nix
./services/x11/compton.nix
./services/x11/unclutter.nix
@@ -813,6 +853,7 @@
./services/x11/hardware/multitouch.nix
./services/x11/hardware/synaptics.nix
./services/x11/hardware/wacom.nix
+ ./services/x11/hardware/cmt.nix
./services/x11/gdk-pixbuf.nix
./services/x11/redshift.nix
./services/x11/urxvtd.nix
@@ -834,7 +875,6 @@
./system/activation/activation-script.nix
./system/activation/top-level.nix
./system/boot/binfmt.nix
- ./system/boot/coredump.nix
./system/boot/emergency-mode.nix
./system/boot/grow-partition.nix
./system/boot/initrd-network.nix
@@ -911,6 +951,7 @@
./virtualisation/openvswitch.nix
./virtualisation/parallels-guest.nix
./virtualisation/qemu-guest-agent.nix
+ ./virtualisation/railcar.nix
./virtualisation/rkt.nix
./virtualisation/virtualbox-guest.nix
./virtualisation/virtualbox-host.nix
diff --git a/nixos/modules/profiles/hardened.nix b/nixos/modules/profiles/hardened.nix
index 87bf66333c6..626d8b1d2bd 100644
--- a/nixos/modules/profiles/hardened.nix
+++ b/nixos/modules/profiles/hardened.nix
@@ -14,8 +14,6 @@ with lib;
nix.allowedUsers = mkDefault [ "@users" ];
- environment.memoryAllocator.provider = mkDefault "graphene-hardened";
-
security.hideProcessInformation = mkDefault true;
security.lockKernelModules = mkDefault true;
@@ -26,7 +24,9 @@ with lib;
security.allowSimultaneousMultithreading = mkDefault false;
- security.virtualization.flushL1DataCache = mkDefault "always";
+ security.forcePageTableIsolation = mkDefault true;
+
+ security.virtualisation.flushL1DataCache = mkDefault "always";
security.apparmor.enable = mkDefault true;
@@ -43,8 +43,8 @@ with lib;
# Disable legacy virtual syscalls
"vsyscall=none"
- # Enable PTI even if CPU claims to be safe from meltdown
- "pti=on"
+ # Enable page allocator randomization
+ "page_alloc.shuffle=1"
];
boot.blacklistedKernelModules = [
@@ -89,4 +89,34 @@ with lib;
#
# The value is taken from the KSPP recommendations (Debian uses 4096).
boot.kernel.sysctl."vm.mmap_min_addr" = mkDefault 65536;
+
+ # Disable ftrace debugging
+ boot.kernel.sysctl."kernel.ftrace_enabled" = mkDefault false;
+
+ # Enable strict reverse path filtering (that is, do not attempt to route
+ # packets that "obviously" do not belong to the iface's network; dropped
+ # packets are logged as martians).
+ boot.kernel.sysctl."net.ipv4.conf.all.log_martians" = mkDefault true;
+ boot.kernel.sysctl."net.ipv4.conf.all.rp_filter" = mkDefault "1";
+ boot.kernel.sysctl."net.ipv4.conf.default.log_martians" = mkDefault true;
+ boot.kernel.sysctl."net.ipv4.conf.default.rp_filter" = mkDefault "1";
+
+ # Ignore broadcast ICMP (mitigate SMURF)
+ boot.kernel.sysctl."net.ipv4.icmp_echo_ignore_broadcasts" = mkDefault true;
+
+ # Ignore incoming ICMP redirects (note: default is needed to ensure that the
+ # setting is applied to interfaces added after the sysctls are set)
+ boot.kernel.sysctl."net.ipv4.conf.all.accept_redirects" = mkDefault false;
+ boot.kernel.sysctl."net.ipv4.conf.all.secure_redirects" = mkDefault false;
+ boot.kernel.sysctl."net.ipv4.conf.default.accept_redirects" = mkDefault false;
+ boot.kernel.sysctl."net.ipv4.conf.default.secure_redirects" = mkDefault false;
+ boot.kernel.sysctl."net.ipv6.conf.all.accept_redirects" = mkDefault false;
+ boot.kernel.sysctl."net.ipv6.conf.default.accept_redirects" = mkDefault false;
+
+ # Ignore outgoing ICMP redirects (this is ipv4 only)
+ boot.kernel.sysctl."net.ipv4.conf.all.send_redirects" = mkDefault false;
+ boot.kernel.sysctl."net.ipv4.conf.default.send_redirects" = mkDefault false;
+
+ # Restrict userfaultfd syscalls to processes with the SYS_PTRACE capability
+ boot.kernel.sysctl."vm.unprivileged_userfaultfd" = mkDefault false;
}
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index 580ea4a58e5..fd30220ce1c 100644
--- a/nixos/modules/profiles/installation-device.nix
+++ b/nixos/modules/profiles/installation-device.nix
@@ -32,20 +32,39 @@ with lib;
#services.rogue.enable = true;
# Disable some other stuff we don't need.
- security.sudo.enable = mkDefault false;
services.udisks2.enable = mkDefault false;
+ # Use less privileged nixos user
+ users.users.nixos = {
+ isNormalUser = true;
+ extraGroups = [ "wheel" "networkmanager" "video" ];
+ # Allow the graphical user to login without password
+ initialHashedPassword = "";
+ };
+
+ # Allow the user to log in as root without a password.
+ users.users.root.initialHashedPassword = "";
+
+ # Allow passwordless sudo from nixos user
+ security.sudo = {
+ enable = mkDefault true;
+ wheelNeedsPassword = mkForce false;
+ };
+
# Automatically log in at the virtual consoles.
- services.mingetty.autologinUser = "root";
+ services.mingetty.autologinUser = "nixos";
# Some more help text.
- services.mingetty.helpLine =
- ''
+ services.mingetty.helpLine = ''
+ The "nixos" and "root" accounts have empty passwords.
- The "root" account has an empty password. ${
- optionalString config.services.xserver.enable
- "Type `systemctl start display-manager' to\nstart the graphical user interface."}
- '';
+ Type `sudo systemctl start sshd` to start the SSH daemon.
+ You then must set a password for either "root" or "nixos"
+ with `passwd` to be able to login.
+ '' + optionalString config.services.xserver.enable ''
+ Type `sudo systemctl start display-manager' to
+ start the graphical user interface.
+ '';
# Allow sshd to be started manually through "systemctl start sshd".
services.openssh = {
@@ -86,8 +105,5 @@ with lib;
# because we have the firewall enabled. This makes installs from the
# console less cumbersome if the machine has a public IP.
networking.firewall.logRefusedConnections = mkDefault false;
-
- # Allow the user to log in as root without a password.
- users.users.root.initialHashedPassword = "";
};
}
diff --git a/nixos/modules/programs/atop.nix b/nixos/modules/programs/atop.nix
index 4651cdb76e0..7ef8d687ca1 100644
--- a/nixos/modules/programs/atop.nix
+++ b/nixos/modules/programs/atop.nix
@@ -30,7 +30,7 @@ in
};
config = mkIf (cfg.settings != {}) {
- environment.etc."atoprc".text =
+ environment.etc.atoprc.text =
concatStrings (mapAttrsToList (n: v: "${n} ${toString v}\n") cfg.settings);
};
}
diff --git a/nixos/modules/programs/bash/bash.nix b/nixos/modules/programs/bash/bash.nix
index a7e57b8608d..548babac38c 100644
--- a/nixos/modules/programs/bash/bash.nix
+++ b/nixos/modules/programs/bash/bash.nix
@@ -98,7 +98,7 @@ in
if [ "$TERM" != "dumb" -o -n "$INSIDE_EMACS" ]; then
PROMPT_COLOR="1;31m"
let $UID && PROMPT_COLOR="1;32m"
- if [ -n "$INSIDE_EMACS" ]; then
+ if [ -n "$INSIDE_EMACS" -o "$TERM" == "eterm" -o "$TERM" == "eterm-color" ]; then
# Emacs term mode doesn't support xterm title escape sequence (\e]0;)
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]\\$\[\033[0m\] "
else
@@ -159,7 +159,7 @@ in
};
- environment.etc."profile".text =
+ environment.etc.profile.text =
''
# /etc/profile: DO NOT EDIT -- this file has been generated automatically.
# This file is read for login shells.
@@ -184,7 +184,7 @@ in
fi
'';
- environment.etc."bashrc".text =
+ environment.etc.bashrc.text =
''
# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically.
@@ -212,7 +212,7 @@ in
# Configuration for readline in bash. We use "option default"
# priority to allow user override using both .text and .source.
- environment.etc."inputrc".source = mkOptionDefault ./inputrc;
+ environment.etc.inputrc.source = mkOptionDefault ./inputrc;
users.defaultUserShell = mkDefault pkgs.bashInteractive;
diff --git a/nixos/modules/programs/captive-browser.nix b/nixos/modules/programs/captive-browser.nix
new file mode 100644
index 00000000000..55d474e5c9d
--- /dev/null
+++ b/nixos/modules/programs/captive-browser.nix
@@ -0,0 +1,122 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.programs.captive-browser;
+in
+{
+ ###### interface
+
+ options = {
+ programs.captive-browser = {
+ enable = mkEnableOption "captive browser";
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.captive-browser;
+ defaultText = "pkgs.captive-browser";
+ description = "Which package to use for captive-browser";
+ };
+
+ interface = mkOption {
+ type = types.str;
+ description = "your public network interface (wlp3s0, wlan0, eth0, ...)";
+ };
+
+ # the options below are the same as in "captive-browser.toml"
+ browser = mkOption {
+ type = types.str;
+ default = concatStringsSep " " [ ''${pkgs.chromium}/bin/chromium''
+ ''--user-data-dir=$HOME/.chromium-captive''
+ ''--proxy-server="socks5://$PROXY"''
+ ''--host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost"''
+ ''--no-first-run''
+ ''--new-window''
+ ''--incognito''
+ ''http://cache.nixos.org/''
+ ];
+ description = ''
+ The shell (/bin/sh) command executed once the proxy starts.
+ When browser exits, the proxy exits. An extra env var PROXY is available.
+
+ Here, we use a separate Chrome instance in Incognito mode, so that
+ it can run (and be waited for) alongside the default one, and that
+ it maintains no state across runs. To configure this browser open a
+ normal window in it, settings will be preserved.
+
+ @volth: chromium is to open a plain HTTP (not HTTPS nor redirect to HTTPS!) website.
+ upstream uses http://example.com but I have seen captive portals whose DNS server resolves "example.com" to 127.0.0.1
+ '';
+ };
+
+ dhcp-dns = mkOption {
+ type = types.str;
+ description = ''
+ The shell (/bin/sh) command executed to obtain the DHCP
+ DNS server address. The first match of an IPv4 regex is used.
+ IPv4 only, because let's be real, it's a captive portal.
+ '';
+ };
+
+ socks5-addr = mkOption {
+ type = types.str;
+ default = "localhost:1666";
+ description = ''the listen address for the SOCKS5 proxy server'';
+ };
+
+ bindInterface = mkOption {
+ default = true;
+ type = types.bool;
+ description = ''
+ Binds captive-browser to the network interface declared in
+ cfg.interface. This can be used to avoid collisions
+ with private subnets.
+ '';
+ };
+ };
+ };
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ programs.captive-browser.dhcp-dns = mkOptionDefault (
+ if config.networking.networkmanager.enable then
+ "${pkgs.networkmanager}/bin/nmcli dev show ${escapeShellArg cfg.interface} | ${pkgs.gnugrep}/bin/fgrep IP4.DNS"
+ else if config.networking.dhcpcd.enable then
+ "${pkgs.dhcpcd}/bin/dhcpcd -U ${escapeShellArg cfg.interface} | ${pkgs.gnugrep}/bin/fgrep domain_name_servers"
+ else if config.networking.useNetworkd then
+ "${cfg.package}/bin/systemd-networkd-dns ${escapeShellArg cfg.interface}"
+ else
+ "${config.security.wrapperDir}/udhcpc --quit --now -f -i ${escapeShellArg cfg.interface} -O dns --script ${
+ pkgs.writeScript "udhcp-script" ''
+ #!/bin/sh
+ if [ "$1" = bound ]; then
+ echo "$dns"
+ fi
+ ''}"
+ );
+
+ security.wrappers.udhcpc = {
+ capabilities = "cap_net_raw+p";
+ source = "${pkgs.busybox}/bin/udhcpc";
+ };
+
+ security.wrappers.captive-browser = {
+ capabilities = "cap_net_raw+p";
+ source = pkgs.writeScript "captive-browser" ''
+ #!${pkgs.bash}/bin/bash
+ export XDG_CONFIG_HOME=${pkgs.writeTextDir "captive-browser.toml" ''
+ browser = """${cfg.browser}"""
+ dhcp-dns = """${cfg.dhcp-dns}"""
+ socks5-addr = """${cfg.socks5-addr}"""
+ ${optionalString cfg.bindInterface ''
+ bind-device = """${cfg.interface}"""
+ ''}
+ ''}
+ exec ${cfg.package}/bin/captive-browser
+ '';
+ };
+ };
+}
diff --git a/nixos/modules/programs/clickshare.nix b/nixos/modules/programs/clickshare.nix
new file mode 100644
index 00000000000..9980a7daf52
--- /dev/null
+++ b/nixos/modules/programs/clickshare.nix
@@ -0,0 +1,21 @@
+{ config, lib, pkgs, ... }:
+
+{
+
+ options.programs.clickshare-csc1.enable =
+ lib.options.mkEnableOption ''
+ Barco ClickShare CSC-1 driver/client.
+ This allows users in the clickshare
+ group to access and use a ClickShare USB dongle
+ that is connected to the machine
+ '';
+
+ config = lib.modules.mkIf config.programs.clickshare-csc1.enable {
+ environment.systemPackages = [ pkgs.clickshare-csc1 ];
+ services.udev.packages = [ pkgs.clickshare-csc1 ];
+ users.groups.clickshare = {};
+ };
+
+ meta.maintainers = [ lib.maintainers.yarny ];
+
+}
diff --git a/nixos/modules/programs/dconf.nix b/nixos/modules/programs/dconf.nix
index b7bfb8504b6..eeebc3558bd 100644
--- a/nixos/modules/programs/dconf.nix
+++ b/nixos/modules/programs/dconf.nix
@@ -34,11 +34,11 @@ in
services.dbus.packages = [ pkgs.gnome3.dconf ];
- environment.variables.GIO_EXTRA_MODULES = optional cfg.enable
- "${pkgs.gnome3.dconf.lib}/lib/gio/modules";
- # https://github.com/NixOS/nixpkgs/pull/31891
- #environment.variables.XDG_DATA_DIRS = optional cfg.enable
- # "$(echo ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas-*)";
+ # For dconf executable
+ environment.systemPackages = [ pkgs.gnome3.dconf ];
+
+ # Needed for unwrapped applications
+ environment.variables.GIO_EXTRA_MODULES = mkIf cfg.enable [ "${pkgs.gnome3.dconf.lib}/lib/gio/modules" ];
};
}
diff --git a/nixos/modules/programs/environment.nix b/nixos/modules/programs/environment.nix
index 3c6d356ef99..66eb8348266 100644
--- a/nixos/modules/programs/environment.nix
+++ b/nixos/modules/programs/environment.nix
@@ -21,11 +21,11 @@ in
PAGER = mkDefault "less -R";
EDITOR = mkDefault "nano";
XCURSOR_PATH = [ "$HOME/.icons" ];
+ XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
};
- environment.profiles =
- [ "$HOME/.nix-profile"
- "/nix/var/nix/profiles/default"
+ environment.profiles = mkAfter
+ [ "/nix/var/nix/profiles/default"
"/run/current-system/sw"
];
diff --git a/nixos/modules/services/desktops/gnome3/evince.nix b/nixos/modules/programs/evince.nix
similarity index 53%
rename from nixos/modules/services/desktops/gnome3/evince.nix
rename to nixos/modules/programs/evince.nix
index 5f040a16f06..473fddb09d0 100644
--- a/nixos/modules/services/desktops/gnome3/evince.nix
+++ b/nixos/modules/programs/evince.nix
@@ -6,14 +6,21 @@ with lib;
{
+ # Added 2019-08-09
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "evince" "enable" ]
+ [ "programs" "evince" "enable" ])
+ ];
+
###### interface
options = {
- services.gnome3.evince = {
+ programs.evince = {
enable = mkEnableOption
- "systemd and dbus services for Evince, the GNOME document viewer";
+ "Evince, the GNOME document viewer";
};
@@ -22,7 +29,7 @@ with lib;
###### implementation
- config = mkIf config.services.gnome3.evince.enable {
+ config = mkIf config.programs.evince.enable {
environment.systemPackages = [ pkgs.evince ];
diff --git a/nixos/modules/services/desktops/gnome3/file-roller.nix b/nixos/modules/programs/file-roller.nix
similarity index 57%
rename from nixos/modules/services/desktops/gnome3/file-roller.nix
rename to nixos/modules/programs/file-roller.nix
index 7fb558a9895..64f6a94e764 100644
--- a/nixos/modules/services/desktops/gnome3/file-roller.nix
+++ b/nixos/modules/programs/file-roller.nix
@@ -6,11 +6,18 @@ with lib;
{
+ # Added 2019-08-09
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "file-roller" "enable" ]
+ [ "programs" "file-roller" "enable" ])
+ ];
+
###### interface
options = {
- services.gnome3.file-roller = {
+ programs.file-roller = {
enable = mkEnableOption "File Roller, an archive manager for GNOME";
@@ -21,7 +28,7 @@ with lib;
###### implementation
- config = mkIf config.services.gnome3.file-roller.enable {
+ config = mkIf config.programs.file-roller.enable {
environment.systemPackages = [ pkgs.gnome3.file-roller ];
diff --git a/nixos/modules/programs/firejail.nix b/nixos/modules/programs/firejail.nix
index 46ee4bc0f7a..74c3e4425a7 100644
--- a/nixos/modules/programs/firejail.nix
+++ b/nixos/modules/programs/firejail.nix
@@ -5,7 +5,7 @@ with lib;
let
cfg = config.programs.firejail;
- wrappedBins = pkgs.stdenv.mkDerivation rec {
+ wrappedBins = pkgs.stdenv.mkDerivation {
name = "firejail-wrapped-binaries";
nativeBuildInputs = with pkgs; [ makeWrapper ];
buildCommand = ''
diff --git a/nixos/modules/programs/fuse.nix b/nixos/modules/programs/fuse.nix
new file mode 100644
index 00000000000..c15896efbb5
--- /dev/null
+++ b/nixos/modules/programs/fuse.nix
@@ -0,0 +1,37 @@
+{ config, lib, ... }:
+
+with lib;
+
+let
+ cfg = config.programs.fuse;
+in {
+ meta.maintainers = with maintainers; [ primeos ];
+
+ options.programs.fuse = {
+ mountMax = mkOption {
+ # In the C code it's an "int" (i.e. signed and at least 16 bit), but
+ # negative numbers obviously make no sense:
+ type = types.ints.between 0 32767; # 2^15 - 1
+ default = 1000;
+ description = ''
+ Set the maximum number of FUSE mounts allowed to non-root users.
+ '';
+ };
+
+ userAllowOther = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Allow non-root users to specify the allow_other or allow_root mount
+ options, see mount.fuse3(8).
+ '';
+ };
+ };
+
+ config = {
+ environment.etc."fuse.conf".text = ''
+ ${optionalString (!cfg.userAllowOther) "#"}user_allow_other
+ mount_max = ${toString cfg.mountMax}
+ '';
+ };
+}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-disks.nix b/nixos/modules/programs/gnome-disks.nix
similarity index 57%
rename from nixos/modules/services/desktops/gnome3/gnome-disks.nix
rename to nixos/modules/programs/gnome-disks.nix
index 139534cdb89..1cf839a6ddb 100644
--- a/nixos/modules/services/desktops/gnome3/gnome-disks.nix
+++ b/nixos/modules/programs/gnome-disks.nix
@@ -1,4 +1,4 @@
-# GNOME Disks daemon.
+# GNOME Disks.
{ config, pkgs, lib, ... }:
@@ -6,17 +6,24 @@ with lib;
{
+ # Added 2019-08-09
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "gnome-disks" "enable" ]
+ [ "programs" "gnome-disks" "enable" ])
+ ];
+
###### interface
options = {
- services.gnome3.gnome-disks = {
+ programs.gnome-disks = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
- Whether to enable GNOME Disks daemon, a service designed to
+ Whether to enable GNOME Disks daemon, a program designed to
be a UDisks2 graphical front-end.
'';
};
@@ -28,7 +35,7 @@ with lib;
###### implementation
- config = mkIf config.services.gnome3.gnome-disks.enable {
+ config = mkIf config.programs.gnome-disks.enable {
environment.systemPackages = [ pkgs.gnome3.gnome-disk-utility ];
diff --git a/nixos/modules/services/desktops/gnome3/gnome-documents.nix b/nixos/modules/programs/gnome-documents.nix
similarity index 61%
rename from nixos/modules/services/desktops/gnome3/gnome-documents.nix
rename to nixos/modules/programs/gnome-documents.nix
index f6efb668424..bfa3d409ee3 100644
--- a/nixos/modules/services/desktops/gnome3/gnome-documents.nix
+++ b/nixos/modules/programs/gnome-documents.nix
@@ -1,4 +1,4 @@
-# GNOME Documents daemon.
+# GNOME Documents.
{ config, pkgs, lib, ... }:
@@ -6,17 +6,24 @@ with lib;
{
+ # Added 2019-08-09
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "gnome-documents" "enable" ]
+ [ "programs" "gnome-documents" "enable" ])
+ ];
+
###### interface
options = {
- services.gnome3.gnome-documents = {
+ programs.gnome-documents = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
- Whether to enable GNOME Documents services, a document
+ Whether to enable GNOME Documents, a document
manager application for GNOME.
'';
};
@@ -28,7 +35,7 @@ with lib;
###### implementation
- config = mkIf config.services.gnome3.gnome-documents.enable {
+ config = mkIf config.programs.gnome-documents.enable {
environment.systemPackages = [ pkgs.gnome3.gnome-documents ];
diff --git a/nixos/modules/programs/gnome-terminal.nix b/nixos/modules/programs/gnome-terminal.nix
new file mode 100644
index 00000000000..0036677a157
--- /dev/null
+++ b/nixos/modules/programs/gnome-terminal.nix
@@ -0,0 +1,36 @@
+# GNOME Terminal.
+
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+let
+
+ cfg = config.programs.gnome-terminal;
+
+in
+
+{
+
+ # Added 2019-08-19
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "gnome-terminal-server" "enable" ]
+ [ "programs" "gnome-terminal" "enable" ])
+ ];
+
+ options = {
+
+ programs.gnome-terminal.enable = mkEnableOption "GNOME Terminal";
+
+ };
+
+ config = mkIf cfg.enable {
+ environment.systemPackages = [ pkgs.gnome3.gnome-terminal ];
+ services.dbus.packages = [ pkgs.gnome3.gnome-terminal ];
+ systemd.packages = [ pkgs.gnome3.gnome-terminal ];
+
+ programs.bash.vteIntegration = true;
+ programs.zsh.vteIntegration = true;
+ };
+}
diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix
index 9618d61a1f5..bcbc994efe9 100644
--- a/nixos/modules/programs/gnupg.nix
+++ b/nixos/modules/programs/gnupg.nix
@@ -83,7 +83,8 @@ in
systemd.user.sockets.dirmngr = mkIf cfg.dirmngr.enable {
wantedBy = [ "sockets.target" ];
};
-
+
+ environment.systemPackages = with pkgs; [ cfg.package ];
systemd.packages = [ cfg.package ];
environment.interactiveShellInit = ''
diff --git a/nixos/modules/services/desktops/gnome3/gpaste.nix b/nixos/modules/programs/gpaste.nix
similarity index 65%
rename from nixos/modules/services/desktops/gnome3/gpaste.nix
rename to nixos/modules/programs/gpaste.nix
index 5a8258775e0..4f6deb77e5e 100644
--- a/nixos/modules/services/desktops/gnome3/gpaste.nix
+++ b/nixos/modules/programs/gpaste.nix
@@ -1,12 +1,20 @@
-# GPaste daemon.
+# GPaste.
{ config, lib, pkgs, ... }:
with lib;
{
+
+ # Added 2019-08-09
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "gpaste" "enable" ]
+ [ "programs" "gpaste" "enable" ])
+ ];
+
###### interface
options = {
- services.gnome3.gpaste = {
+ programs.gpaste = {
enable = mkOption {
type = types.bool;
default = false;
@@ -18,10 +26,9 @@ with lib;
};
###### implementation
- config = mkIf config.services.gnome3.gpaste.enable {
+ config = mkIf config.programs.gpaste.enable {
environment.systemPackages = [ pkgs.gnome3.gpaste ];
services.dbus.packages = [ pkgs.gnome3.gpaste ];
- services.xserver.desktopManager.gnome3.sessionPath = [ pkgs.gnome3.gpaste ];
systemd.packages = [ pkgs.gnome3.gpaste ];
};
}
diff --git a/nixos/modules/programs/less.nix b/nixos/modules/programs/less.nix
index 9fdf99e9c69..e19935b77ca 100644
--- a/nixos/modules/programs/less.nix
+++ b/nixos/modules/programs/less.nix
@@ -54,8 +54,8 @@ in
type = types.attrsOf types.str;
default = {};
example = {
- "h" = "noaction 5\e(";
- "l" = "noaction 5\e)";
+ h = "noaction 5\e(";
+ l = "noaction 5\e)";
};
description = "Defines new command keys.";
};
@@ -74,7 +74,7 @@ in
type = types.attrsOf types.str;
default = {};
example = {
- "\e" = "abort";
+ e = "abort";
};
description = "Defines new line-editing keys.";
};
@@ -111,11 +111,11 @@ in
environment.systemPackages = [ pkgs.less ];
environment.variables = {
- "LESSKEY_SYSTEM" = toString lessKey;
+ LESSKEY_SYSTEM = toString lessKey;
} // optionalAttrs (cfg.lessopen != null) {
- "LESSOPEN" = cfg.lessopen;
+ LESSOPEN = cfg.lessopen;
} // optionalAttrs (cfg.lessclose != null) {
- "LESSCLOSE" = cfg.lessclose;
+ LESSCLOSE = cfg.lessclose;
};
warnings = optional (
diff --git a/nixos/modules/programs/mtr.nix b/nixos/modules/programs/mtr.nix
index 1fdec4c04f6..75b710c1584 100644
--- a/nixos/modules/programs/mtr.nix
+++ b/nixos/modules/programs/mtr.nix
@@ -4,6 +4,7 @@ with lib;
let
cfg = config.programs.mtr;
+
in {
options = {
programs.mtr = {
@@ -15,13 +16,22 @@ in {
setcap wrapper for it.
'';
};
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.mtr;
+ description = ''
+ The package to use.
+ '';
+ };
};
};
config = mkIf cfg.enable {
- environment.systemPackages = with pkgs; [ mtr ];
+ environment.systemPackages = with pkgs; [ cfg.package ];
+
security.wrappers.mtr-packet = {
- source = "${pkgs.mtr}/bin/mtr-packet";
+ source = "${cfg.package}/bin/mtr-packet";
capabilities = "cap_net_raw+p";
};
};
diff --git a/nixos/modules/programs/nano.nix b/nixos/modules/programs/nano.nix
index 6a4d46338e1..5837dd46d7c 100644
--- a/nixos/modules/programs/nano.nix
+++ b/nixos/modules/programs/nano.nix
@@ -35,7 +35,7 @@ in
###### implementation
config = lib.mkIf (cfg.nanorc != "" || cfg.syntaxHighlight) {
- environment.etc."nanorc".text = lib.concatStrings [ cfg.nanorc
+ environment.etc.nanorc.text = lib.concatStrings [ cfg.nanorc
(lib.optionalString cfg.syntaxHighlight ''${LF}include "${pkgs.nano}/share/nano/*.nanorc"'') ];
};
diff --git a/nixos/modules/programs/npm.nix b/nixos/modules/programs/npm.nix
index 5fdd4fa841a..b351d80c7ac 100644
--- a/nixos/modules/programs/npm.nix
+++ b/nixos/modules/programs/npm.nix
@@ -36,7 +36,7 @@ in
###### implementation
config = lib.mkIf cfg.enable {
- environment.etc."npmrc".text = cfg.npmrc;
+ environment.etc.npmrc.text = cfg.npmrc;
environment.variables.NPM_CONFIG_GLOBALCONFIG = "/etc/npmrc";
diff --git a/nixos/modules/programs/nylas-mail.nix b/nixos/modules/programs/nylas-mail.nix
deleted file mode 100644
index 08a6cd0a604..00000000000
--- a/nixos/modules/programs/nylas-mail.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- cfg = config.services.nylas-mail;
-in {
- ###### interface
- options = {
- services.nylas-mail = {
-
- enable = mkEnableOption ''
- nylas-mail - Open-source mail client built on the modern web with Electron, React, and Flux
- '';
-
- gnome3-keyring = mkOption {
- type = types.bool;
- default = true;
- description = "Enable gnome3 keyring for nylas-mail.";
- };
- };
- };
-
-
- ###### implementation
-
- config = mkIf cfg.enable {
-
- environment.systemPackages = [ pkgs.nylas-mail-bin ];
-
- services.gnome3.gnome-keyring = mkIf cfg.gnome3-keyring {
- enable = true;
- };
-
- };
-}
diff --git a/nixos/modules/programs/plotinus.nix b/nixos/modules/programs/plotinus.nix
index 065e72d6c37..e3549c79588 100644
--- a/nixos/modules/programs/plotinus.nix
+++ b/nixos/modules/programs/plotinus.nix
@@ -18,7 +18,7 @@ in
enable = mkOption {
default = false;
description = ''
- Whether to enable the Plotinus GTK+3 plugin. Plotinus provides a
+ Whether to enable the Plotinus GTK 3 plugin. Plotinus provides a
popup (triggered by Ctrl-Shift-P) to search the menus of a
compatible application.
'';
diff --git a/nixos/modules/programs/plotinus.xml b/nixos/modules/programs/plotinus.xml
index 902cd89e0c4..8fc8c22c6d7 100644
--- a/nixos/modules/programs/plotinus.xml
+++ b/nixos/modules/programs/plotinus.xml
@@ -13,10 +13,10 @@
- Plotinus is a searchable command palette in every modern GTK+ application.
+ Plotinus is a searchable command palette in every modern GTK application.
- When in a GTK+3 application and Plotinus is enabled, you can press
+ When in a GTK 3 application and Plotinus is enabled, you can press
Ctrl+Shift+P to open the command palette. The command
palette provides a searchable list of of all menu items in the application.
diff --git a/nixos/modules/programs/screen.nix b/nixos/modules/programs/screen.nix
index c1daaa58f16..4fd800dbae7 100644
--- a/nixos/modules/programs/screen.nix
+++ b/nixos/modules/programs/screen.nix
@@ -24,7 +24,7 @@ in
###### implementation
config = mkIf (cfg.screenrc != "") {
- environment.etc."screenrc".text = cfg.screenrc;
+ environment.etc.screenrc.text = cfg.screenrc;
environment.systemPackages = [ pkgs.screen ];
};
diff --git a/nixos/modules/programs/seahorse.nix b/nixos/modules/programs/seahorse.nix
new file mode 100644
index 00000000000..c08b0a85374
--- /dev/null
+++ b/nixos/modules/programs/seahorse.nix
@@ -0,0 +1,44 @@
+# Seahorse.
+
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+{
+
+ # Added 2019-08-27
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "seahorse" "enable" ]
+ [ "programs" "seahorse" "enable" ])
+ ];
+
+
+ ###### interface
+
+ options = {
+
+ programs.seahorse = {
+
+ enable = mkEnableOption "Seahorse, a GNOME application for managing encryption keys and passwords in the GNOME Keyring";
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf config.programs.seahorse.enable {
+
+ environment.systemPackages = [
+ pkgs.gnome3.seahorse
+ ];
+
+ services.dbus.packages = [
+ pkgs.gnome3.seahorse
+ ];
+
+ };
+
+}
diff --git a/nixos/modules/programs/shell.nix b/nixos/modules/programs/shell.nix
index 9842e2bef64..b7f7b91b5fb 100644
--- a/nixos/modules/programs/shell.nix
+++ b/nixos/modules/programs/shell.nix
@@ -12,7 +12,7 @@ with lib;
''
# Set up the per-user profile.
mkdir -m 0755 -p "$NIX_USER_PROFILE_DIR"
- if [ "$(stat --printf '%u' "$NIX_USER_PROFILE_DIR")" != "$(id -u)" ]; then
+ if [ "$(stat -c '%u' "$NIX_USER_PROFILE_DIR")" != "$(id -u)" ]; then
echo "WARNING: the per-user profile dir $NIX_USER_PROFILE_DIR should belong to user id $(id -u)" >&2
fi
@@ -34,7 +34,7 @@ with lib;
# Create the per-user garbage collector roots directory.
NIX_USER_GCROOTS_DIR="/nix/var/nix/gcroots/per-user/$USER"
mkdir -m 0755 -p "$NIX_USER_GCROOTS_DIR"
- if [ "$(stat --printf '%u' "$NIX_USER_GCROOTS_DIR")" != "$(id -u)" ]; then
+ if [ "$(stat -c '%u' "$NIX_USER_GCROOTS_DIR")" != "$(id -u)" ]; then
echo "WARNING: the per-user gcroots dir $NIX_USER_GCROOTS_DIR should belong to user id $(id -u)" >&2
fi
diff --git a/nixos/modules/programs/ssh.nix b/nixos/modules/programs/ssh.nix
index 46965dd35b7..733b8f7636f 100644
--- a/nixos/modules/programs/ssh.nix
+++ b/nixos/modules/programs/ssh.nix
@@ -21,7 +21,7 @@ let
knownHostsText = (flip (concatMapStringsSep "\n") knownHosts
(h: assert h.hostNames != [];
- concatStringsSep "," h.hostNames + " "
+ optionalString h.certAuthority "@cert-authority " + concatStringsSep "," h.hostNames + " "
+ (if h.publicKey != null then h.publicKey else readFile h.publicKeyFile)
)) + "\n";
@@ -128,6 +128,14 @@ in
default = {};
type = types.loaOf (types.submodule ({ name, ... }: {
options = {
+ certAuthority = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ This public key is an SSH certificate authority, rather than an
+ individual host's key.
+ '';
+ };
hostNames = mkOption {
type = types.listOf types.str;
default = [];
@@ -227,6 +235,7 @@ in
systemd.user.services.ssh-agent = mkIf cfg.startAgent
{ description = "SSH Agent";
wantedBy = [ "default.target" ];
+ unitConfig.ConditionUser = "!@system";
serviceConfig =
{ ExecStartPre = "${pkgs.coreutils}/bin/rm -f %t/ssh-agent";
ExecStart =
diff --git a/nixos/modules/programs/system-config-printer.nix b/nixos/modules/programs/system-config-printer.nix
new file mode 100644
index 00000000000..34592dd7064
--- /dev/null
+++ b/nixos/modules/programs/system-config-printer.nix
@@ -0,0 +1,32 @@
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+{
+
+ ###### interface
+
+ options = {
+
+ programs.system-config-printer = {
+
+ enable = mkEnableOption "system-config-printer, a Graphical user interface for CUPS administration";
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf config.programs.system-config-printer.enable {
+
+ environment.systemPackages = [
+ pkgs.system-config-printer
+ ];
+
+ services.system-config-printer.enable = true;
+
+ };
+
+}
diff --git a/nixos/modules/programs/thefuck.nix b/nixos/modules/programs/thefuck.nix
index 21ed6603c1b..b909916158d 100644
--- a/nixos/modules/programs/thefuck.nix
+++ b/nixos/modules/programs/thefuck.nix
@@ -17,7 +17,7 @@ in
alias = mkOption {
default = "fuck";
- type = types.string;
+ type = types.str;
description = ''
`thefuck` needs an alias to be configured.
diff --git a/nixos/modules/programs/tmux.nix b/nixos/modules/programs/tmux.nix
index 3d5a37274ae..ed077e3daa7 100644
--- a/nixos/modules/programs/tmux.nix
+++ b/nixos/modules/programs/tmux.nix
@@ -177,7 +177,7 @@ in {
systemPackages = [ pkgs.tmux ];
variables = {
- TMUX_TMPDIR = lib.optional cfg.secureSocket ''''${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}'';
+ TMUX_TMPDIR = lib.optional cfg.secureSocket ''''${XDG_RUNTIME_DIR:-"/run/user/$(id -u)"}'';
};
};
};
diff --git a/nixos/modules/programs/tsm-client.nix b/nixos/modules/programs/tsm-client.nix
new file mode 100644
index 00000000000..eb6f1247528
--- /dev/null
+++ b/nixos/modules/programs/tsm-client.nix
@@ -0,0 +1,287 @@
+{ config, lib, pkgs, ... }:
+
+let
+
+ inherit (builtins) length map;
+ inherit (lib.attrsets) attrNames filterAttrs hasAttr mapAttrs mapAttrsToList optionalAttrs;
+ inherit (lib.modules) mkDefault mkIf;
+ inherit (lib.options) literalExample mkEnableOption mkOption;
+ inherit (lib.strings) concatStringsSep optionalString toLower;
+ inherit (lib.types) addCheck attrsOf lines loaOf nullOr package path port str strMatching submodule;
+
+ # Checks if given list of strings contains unique
+ # elements when compared without considering case.
+ # Type: checkIUnique :: [string] -> bool
+ # Example: checkIUnique ["foo" "Foo"] => false
+ checkIUnique = lst:
+ let
+ lenUniq = l: length (lib.lists.unique l);
+ in
+ lenUniq lst == lenUniq (map toLower lst);
+
+ # TSM rejects servername strings longer than 64 chars.
+ servernameType = strMatching ".{1,64}";
+
+ serverOptions = { name, config, ... }: {
+ options.name = mkOption {
+ type = servernameType;
+ example = "mainTsmServer";
+ description = ''
+ Local name of the IBM TSM server,
+ must be uncapitalized and no longer than 64 chars.
+ The value will be used for the
+ server
+ directive in dsm.sys.
+ '';
+ };
+ options.server = mkOption {
+ type = strMatching ".+";
+ example = "tsmserver.company.com";
+ description = ''
+ Host/domain name or IP address of the IBM TSM server.
+ The value will be used for the
+ tcpserveraddress
+ directive in dsm.sys.
+ '';
+ };
+ options.port = mkOption {
+ type = addCheck port (p: p<=32767);
+ default = 1500; # official default
+ description = ''
+ TCP port of the IBM TSM server.
+ The value will be used for the
+ tcpport
+ directive in dsm.sys.
+ TSM does not support ports above 32767.
+ '';
+ };
+ options.node = mkOption {
+ type = strMatching ".+";
+ example = "MY-TSM-NODE";
+ description = ''
+ Target node name on the IBM TSM server.
+ The value will be used for the
+ nodename
+ directive in dsm.sys.
+ '';
+ };
+ options.genPasswd = mkEnableOption ''
+ automatic client password generation.
+ This option influences the
+ passwordaccess
+ directive in dsm.sys.
+ The password will be stored in the directory
+ given by the option .
+ Caution:
+ If this option is enabled and the server forces
+ to renew the password (e.g. on first connection),
+ a random password will be generated and stored
+ '';
+ options.passwdDir = mkOption {
+ type = path;
+ example = "/home/alice/tsm-password";
+ description = ''
+ Directory that holds the TSM
+ node's password information.
+ The value will be used for the
+ passworddir
+ directive in dsm.sys.
+ '';
+ };
+ options.includeExclude = mkOption {
+ type = lines;
+ default = "";
+ example = ''
+ exclude.dir /nix/store
+ include.encrypt /home/.../*
+ '';
+ description = ''
+ include.* and
+ exclude.* directives to be
+ used when sending files to the IBM TSM server.
+ The lines will be written into a file that the
+ inclexcl
+ directive in dsm.sys points to.
+ '';
+ };
+ options.extraConfig = mkOption {
+ # TSM option keys are case insensitive;
+ # we have to ensure there are no keys that
+ # differ only by upper and lower case.
+ type = addCheck
+ (attrsOf (nullOr str))
+ (attrs: checkIUnique (attrNames attrs));
+ default = {};
+ example.compression = "yes";
+ example.passwordaccess = null;
+ description = ''
+ Additional key-value pairs for the server stanza.
+ Values must be strings, or null
+ for the key not to be used in the stanza
+ (e.g. to overrule values generated by other options).
+ '';
+ };
+ options.text = mkOption {
+ type = lines;
+ example = literalExample
+ ''lib.modules.mkAfter "compression no"'';
+ description = ''
+ Additional text lines for the server stanza.
+ This option can be used if certion configuration keys
+ must be used multiple times or ordered in a certain way
+ as the option can't
+ control the order of lines in the resulting stanza.
+ Note that the server
+ line at the beginning of the stanza is
+ not part of this option's value.
+ '';
+ };
+ options.stanza = mkOption {
+ type = str;
+ internal = true;
+ visible = false;
+ description = "Server stanza text generated from the options.";
+ };
+ config.name = mkDefault name;
+ # Client system-options file directives are explained here:
+ # https://www.ibm.com/support/knowledgecenter/SSEQVQ_8.1.8/client/c_opt_usingopts.html
+ config.extraConfig =
+ mapAttrs (lib.trivial.const mkDefault) (
+ {
+ commmethod = "v6tcpip"; # uses v4 or v6, based on dns lookup result
+ tcpserveraddress = config.server;
+ tcpport = builtins.toString config.port;
+ nodename = config.node;
+ passwordaccess = if config.genPasswd then "generate" else "prompt";
+ passworddir = ''"${config.passwdDir}"'';
+ } // optionalAttrs (config.includeExclude!="") {
+ inclexcl = ''"${pkgs.writeText "inclexcl.dsm.sys" config.includeExclude}"'';
+ }
+ );
+ config.text =
+ let
+ attrset = filterAttrs (k: v: v!=null) config.extraConfig;
+ mkLine = k: v: k + optionalString (v!="") " ${v}";
+ lines = mapAttrsToList mkLine attrset;
+ in
+ concatStringsSep "\n" lines;
+ config.stanza = ''
+ server ${config.name}
+ ${config.text}
+ '';
+ };
+
+ options.programs.tsmClient = {
+ enable = mkEnableOption ''
+ IBM Spectrum Protect (Tivoli Storage Manager, TSM)
+ client command line applications with a
+ client system-options file "dsm.sys"
+ '';
+ servers = mkOption {
+ type = loaOf (submodule [ serverOptions ]);
+ default = {};
+ example.mainTsmServer = {
+ server = "tsmserver.company.com";
+ node = "MY-TSM-NODE";
+ extraConfig.compression = "yes";
+ };
+ description = ''
+ Server definitions ("stanzas")
+ for the client system-options file.
+ '';
+ };
+ defaultServername = mkOption {
+ type = nullOr servernameType;
+ default = null;
+ example = "mainTsmServer";
+ description = ''
+ If multiple server stanzas are declared with
+ ,
+ this option may be used to name a default
+ server stanza that IBM TSM uses in the absence of
+ a user-defined dsm.opt file.
+ This option translates to a
+ defaultserver configuration line.
+ '';
+ };
+ dsmSysText = mkOption {
+ type = lines;
+ readOnly = true;
+ description = ''
+ This configuration key contains the effective text
+ of the client system-options file "dsm.sys".
+ It should not be changed, but may be
+ used to feed the configuration into other
+ TSM-depending packages used on the system.
+ '';
+ };
+ package = mkOption {
+ type = package;
+ default = pkgs.tsm-client;
+ defaultText = "pkgs.tsm-client";
+ example = literalExample "pkgs.tsm-client-withGui";
+ description = ''
+ The TSM client derivation to be
+ added to the system environment.
+ It will called with .override
+ to add paths to the client system-options file.
+ '';
+ };
+ wrappedPackage = mkOption {
+ type = package;
+ readOnly = true;
+ description = ''
+ The TSM client derivation, wrapped with the path
+ to the client system-options file "dsm.sys".
+ This option is to provide the effective derivation
+ for other modules that want to call TSM executables.
+ '';
+ };
+ };
+
+ cfg = config.programs.tsmClient;
+
+ assertions = [
+ {
+ assertion = checkIUnique (mapAttrsToList (k: v: v.name) cfg.servers);
+ message = ''
+ TSM servernames contain duplicate name
+ (note that case doesn't matter!)
+ '';
+ }
+ {
+ assertion = (cfg.defaultServername!=null)->(hasAttr cfg.defaultServername cfg.servers);
+ message = "TSM defaultServername not found in list of servers";
+ }
+ ];
+
+ dsmSysText = ''
+ **** IBM Spectrum Protect (Tivoli Storage Manager)
+ **** client system-options file "dsm.sys".
+ **** Do not edit!
+ **** This file is generated by NixOS configuration.
+
+ ${optionalString (cfg.defaultServername!=null) "defaultserver ${cfg.defaultServername}"}
+
+ ${concatStringsSep "\n" (mapAttrsToList (k: v: v.stanza) cfg.servers)}
+ '';
+
+in
+
+{
+
+ inherit options;
+
+ config = mkIf cfg.enable {
+ inherit assertions;
+ programs.tsmClient.dsmSysText = dsmSysText;
+ programs.tsmClient.wrappedPackage = cfg.package.override rec {
+ dsmSysCli = pkgs.writeText "dsm.sys" cfg.dsmSysText;
+ dsmSysApi = dsmSysCli;
+ };
+ environment.systemPackages = [ cfg.wrappedPackage ];
+ };
+
+ meta.maintainers = [ lib.maintainers.yarny ];
+
+}
diff --git a/nixos/modules/programs/usbtop.nix b/nixos/modules/programs/usbtop.nix
new file mode 100644
index 00000000000..c1b6ee38caa
--- /dev/null
+++ b/nixos/modules/programs/usbtop.nix
@@ -0,0 +1,21 @@
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+let
+ cfg = config.programs.usbtop;
+in {
+ options = {
+ programs.usbtop.enable = mkEnableOption "usbtop and required kernel module";
+ };
+
+ config = mkIf cfg.enable {
+ environment.systemPackages = with pkgs; [
+ usbtop
+ ];
+
+ boot.kernelModules = [
+ "usbmon"
+ ];
+ };
+}
diff --git a/nixos/modules/programs/x2goserver.nix b/nixos/modules/programs/x2goserver.nix
new file mode 100644
index 00000000000..77a1a0da799
--- /dev/null
+++ b/nixos/modules/programs/x2goserver.nix
@@ -0,0 +1,148 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.programs.x2goserver;
+
+ defaults = {
+ superenicer = { enable = cfg.superenicer.enable; };
+ };
+ confText = generators.toINI {} (recursiveUpdate defaults cfg.settings);
+ x2goServerConf = pkgs.writeText "x2goserver.conf" confText;
+
+ x2goAgentOptions = pkgs.writeText "x2goagent.options" ''
+ X2GO_NXOPTIONS=""
+ X2GO_NXAGENT_DEFAULT_OPTIONS="${concatStringsSep " " cfg.nxagentDefaultOptions}"
+ '';
+
+in {
+ options.programs.x2goserver = {
+ enable = mkEnableOption "x2goserver" // {
+ description = ''
+ Enables the x2goserver module.
+ NOTE: This will create a good amount of symlinks in `/usr/local/bin`
+ '';
+ };
+
+ superenicer = {
+ enable = mkEnableOption "superenicer" // {
+ description = ''
+ Enables the SupeReNicer code in x2gocleansessions, this will renice
+ suspended sessions to nice level 19 and renice them to level 0 if the
+ session becomes marked as running again
+ '';
+ };
+ };
+
+ nxagentDefaultOptions = mkOption {
+ type = types.listOf types.str;
+ default = [ "-extension GLX" "-nolisten tcp" ];
+ example = [ "-extension GLX" "-nolisten tcp" ];
+ description = ''
+ List of default nx agent options.
+ '';
+ };
+
+ settings = mkOption {
+ type = types.attrsOf types.attrs;
+ default = {};
+ description = ''
+ x2goserver.conf ini configuration as nix attributes. See
+ `x2goserver.conf(5)` for details
+ '';
+ example = literalExample ''
+ superenicer = {
+ "enable" = "yes";
+ "idle-nice-level" = 19;
+ };
+ telekinesis = { "enable" = "no"; };
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+
+ environment.systemPackages = [ pkgs.x2goserver ];
+
+ users.groups.x2go = {};
+ users.users.x2go = {
+ home = "/var/lib/x2go/db";
+ group = "x2go";
+ };
+
+ security.wrappers.x2gosqliteWrapper = {
+ source = "${pkgs.x2goserver}/lib/x2go/libx2go-server-db-sqlite3-wrapper.pl";
+ owner = "x2go";
+ group = "x2go";
+ setgid = true;
+ };
+ security.wrappers.x2goprintWrapper = {
+ source = "${pkgs.x2goserver}/bin/x2goprint";
+ owner = "x2go";
+ group = "x2go";
+ setgid = true;
+ };
+
+ systemd.tmpfiles.rules = with pkgs; [
+ "d /var/lib/x2go/ - x2go x2go - -"
+ "d /var/lib/x2go/db - x2go x2go - -"
+ "d /var/lib/x2go/conf - x2go x2go - -"
+ "d /run/x2go 0755 x2go x2go - -"
+ ] ++
+ # x2goclient sends SSH commands with preset PATH set to
+ # "/usr/local/bin;/usr/bin;/bin". Since we cannot filter arbitrary ssh
+ # commands, we have to make the following executables available.
+ map (f: "L+ /usr/local/bin/${f} - - - - ${x2goserver}/bin/${f}") [
+ "x2goagent" "x2gobasepath" "x2gocleansessions" "x2gocmdexitmessage"
+ "x2godbadmin" "x2gofeature" "x2gofeaturelist" "x2gofm" "x2gogetapps"
+ "x2gogetservers" "x2golistdesktops" "x2golistmounts" "x2golistsessions"
+ "x2golistsessions_root" "x2golistshadowsessions" "x2gomountdirs"
+ "x2gopath" "x2goprint" "x2goresume-desktopsharing" "x2goresume-session"
+ "x2goruncommand" "x2goserver-run-extensions" "x2gosessionlimit"
+ "x2gosetkeyboard" "x2goshowblocks" "x2gostartagent"
+ "x2gosuspend-desktopsharing" "x2gosuspend-session"
+ "x2goterminate-desktopsharing" "x2goterminate-session"
+ "x2goumount-session" "x2goversion"
+ ] ++ [
+ "L+ /usr/local/bin/awk - - - - ${gawk}/bin/awk"
+ "L+ /usr/local/bin/chmod - - - - ${coreutils}/bin/chmod"
+ "L+ /usr/local/bin/cp - - - - ${coreutils}/bin/cp"
+ "L+ /usr/local/bin/sed - - - - ${gnused}/bin/sed"
+ "L+ /usr/local/bin/setsid - - - - ${utillinux}/bin/setsid"
+ "L+ /usr/local/bin/xrandr - - - - ${xorg.xrandr}/bin/xrandr"
+ "L+ /usr/local/bin/xmodmap - - - - ${xorg.xmodmap}/bin/xmodmap"
+ ];
+
+ systemd.services.x2goserver = {
+ description = "X2Go Server Daemon";
+ wantedBy = [ "multi-user.target" ];
+ unitConfig.Documentation = "man:x2goserver.conf(5)";
+ serviceConfig = {
+ Type = "forking";
+ ExecStart = "${pkgs.x2goserver}/bin/x2gocleansessions";
+ PIDFile = "/run/x2go/x2goserver.pid";
+ User = "x2go";
+ Group = "x2go";
+ RuntimeDirectory = "x2go";
+ StateDirectory = "x2go";
+ };
+ preStart = ''
+ if [ ! -e /var/lib/x2go/setup_ran ]
+ then
+ mkdir -p /var/lib/x2go/conf
+ cp -r ${pkgs.x2goserver}/etc/x2go/* /var/lib/x2go/conf/
+ ln -sf ${x2goServerConf} /var/lib/x2go/conf/x2goserver.conf
+ ln -sf ${x2goAgentOptions} /var/lib/x2go/conf/x2goagent.options
+ ${pkgs.x2goserver}/bin/x2godbadmin --createdb
+ touch /var/lib/x2go/setup_ran
+ fi
+ '';
+ };
+
+ # https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=276
+ security.sudo.extraConfig = ''
+ Defaults env_keep+=QT_GRAPHICSSYSTEM
+ '';
+ };
+}
diff --git a/nixos/modules/programs/xfs_quota.nix b/nixos/modules/programs/xfs_quota.nix
index 648fd9a8a94..c03e59a5b4a 100644
--- a/nixos/modules/programs/xfs_quota.nix
+++ b/nixos/modules/programs/xfs_quota.nix
@@ -61,7 +61,7 @@ in
description = "Setup of xfs_quota projects. Make sure the filesystem is mounted with the pquota option.";
example = {
- "projname" = {
+ projname = {
id = 50;
path = "/xfsprojects/projname";
sizeHardLimit = "50g";
diff --git a/nixos/modules/programs/xonsh.nix b/nixos/modules/programs/xonsh.nix
index ceab9b5db93..1590020f7b6 100644
--- a/nixos/modules/programs/xonsh.nix
+++ b/nixos/modules/programs/xonsh.nix
@@ -26,6 +26,7 @@ in
package = mkOption {
type = types.package;
+ default = pkgs.xonsh;
example = literalExample "pkgs.xonsh.override { configFile = \"/path/to/xonshrc\"; }";
description = ''
xonsh package to use.
@@ -44,13 +45,13 @@ in
config = mkIf cfg.enable {
- environment.etc."xonshrc".text = cfg.config;
+ environment.etc.xonshrc.text = cfg.config;
- environment.systemPackages = [ pkgs.xonsh ];
+ environment.systemPackages = [ cfg.package ];
environment.shells =
[ "/run/current-system/sw/bin/xonsh"
- "${pkgs.xonsh}/bin/xonsh"
+ "${cfg.package}/bin/xonsh"
];
};
diff --git a/nixos/modules/programs/xss-lock.nix b/nixos/modules/programs/xss-lock.nix
index 070463311db..a7ad9b89db4 100644
--- a/nixos/modules/programs/xss-lock.nix
+++ b/nixos/modules/programs/xss-lock.nix
@@ -12,7 +12,7 @@ in
lockerCommand = mkOption {
default = "${pkgs.i3lock}/bin/i3lock";
example = literalExample ''''${pkgs.i3lock-fancy}/bin/i3lock-fancy'';
- type = types.string;
+ type = types.separatedString " ";
description = "Locker to be used with xsslock";
};
diff --git a/nixos/modules/programs/yabar.nix b/nixos/modules/programs/yabar.nix
index db085211366..5de9331ac52 100644
--- a/nixos/modules/programs/yabar.nix
+++ b/nixos/modules/programs/yabar.nix
@@ -76,7 +76,7 @@ in
font = mkOption {
default = "sans bold 9";
example = "Droid Sans, FontAwesome Bold 9";
- type = types.string;
+ type = types.str;
description = ''
The font that will be used to draw the status bar.
@@ -95,7 +95,7 @@ in
extra = mkOption {
default = {};
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
description = ''
An attribute set which contains further attributes of a bar.
@@ -107,7 +107,7 @@ in
type = types.attrsOf(types.submodule {
options.exec = mkOption {
example = "YABAR_DATE";
- type = types.string;
+ type = types.str;
description = ''
The type of the indicator to be executed.
'';
@@ -125,7 +125,7 @@ in
options.extra = mkOption {
default = {};
- type = types.attrsOf (types.either types.string types.int);
+ type = types.attrsOf (types.either types.str types.int);
description = ''
An attribute set which contains further attributes of a indicator.
diff --git a/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix b/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix
index 89087a229eb..7184e5d9b9a 100644
--- a/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix
+++ b/nixos/modules/programs/zsh/zsh-syntax-highlighting.nix
@@ -33,7 +33,7 @@ in
patterns = mkOption {
default = {};
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
example = literalExample ''
{
@@ -50,7 +50,7 @@ in
};
styles = mkOption {
default = {};
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
example = literalExample ''
{
diff --git a/nixos/modules/programs/zsh/zsh.nix b/nixos/modules/programs/zsh/zsh.nix
index bdb37eae23e..c66c29ed45f 100644
--- a/nixos/modules/programs/zsh/zsh.nix
+++ b/nixos/modules/programs/zsh/zsh.nix
@@ -69,9 +69,7 @@ in
promptInit = mkOption {
default = ''
- if [ "$TERM" != dumb ]; then
- autoload -U promptinit && promptinit && prompt walters
- fi
+ autoload -U promptinit && promptinit && prompt walters && setopt prompt_sp
'';
description = ''
Shell script code used to initialise the zsh prompt.
@@ -135,7 +133,7 @@ in
programs.zsh.shellAliases = mapAttrs (name: mkDefault) cfge.shellAliases;
- environment.etc."zshenv".text =
+ environment.etc.zshenv.text =
''
# /etc/zshenv: DO NOT EDIT -- this file has been generated automatically.
# This file is read for all shells.
@@ -159,7 +157,7 @@ in
fi
'';
- environment.etc."zprofile".text =
+ environment.etc.zprofile.text =
''
# /etc/zprofile: DO NOT EDIT -- this file has been generated automatically.
# This file is read for login shells.
@@ -178,7 +176,7 @@ in
fi
'';
- environment.etc."zshrc".text =
+ environment.etc.zshrc.text =
''
# /etc/zshrc: DO NOT EDIT -- this file has been generated automatically.
# This file is read for interactive shells.
@@ -194,8 +192,6 @@ in
HISTSIZE=${toString cfg.histSize}
HISTFILE=${cfg.histFile}
- ${optionalString (cfg.setOptions != []) "setopt ${concatStringsSep " " cfg.setOptions}"}
-
HELPDIR="${pkgs.zsh}/share/zsh/$ZSH_VERSION/help"
# Tell zsh how to find installed completions
@@ -209,17 +205,27 @@ in
${cfg.interactiveShellInit}
+ ${optionalString (cfg.setOptions != []) "setopt ${concatStringsSep " " cfg.setOptions}"}
+
${zshAliases}
${cfg.promptInit}
+ # Need to disable features to support TRAMP
+ if [ "$TERM" = dumb ]; then
+ unsetopt zle prompt_cr prompt_subst
+ unset RPS1 RPROMPT
+ PS1='$ '
+ PROMPT='$ '
+ fi
+
# Read system-wide modifications.
if test -f /etc/zshrc.local; then
. /etc/zshrc.local
fi
'';
- environment.etc."zinputrc".source = ./zinputrc;
+ environment.etc.zinputrc.source = ./zinputrc;
environment.systemPackages = [ pkgs.zsh ]
++ optional cfg.enableCompletion pkgs.nix-zsh-completions;
diff --git a/nixos/modules/rename.nix b/nixos/modules/rename.nix
index b2c030fb779..0c7c45a4708 100644
--- a/nixos/modules/rename.nix
+++ b/nixos/modules/rename.nix
@@ -19,6 +19,7 @@ with lib;
let value = getAttrFromPath [ "services" "ddclient" "domain" ] config;
in if value != "" then [ value ] else []))
(mkRemovedOptionModule [ "services" "ddclient" "homeDir" ] "")
+ (mkRenamedOptionModule [ "services" "flatpak" "extraPortals" ] [ "xdg" "portal" "extraPortals" ])
(mkRenamedOptionModule [ "services" "i2pd" "extIp" ] [ "services" "i2pd" "address" ])
(mkRenamedOptionModule [ "services" "kubernetes" "apiserver" "admissionControl" ] [ "services" "kubernetes" "apiserver" "enableAdmissionPlugins" ])
(mkRenamedOptionModule [ "services" "kubernetes" "apiserver" "address" ] ["services" "kubernetes" "apiserver" "bindAddress"])
@@ -33,6 +34,7 @@ with lib;
(mkRenamedOptionModule [ "services" "kubernetes" "etcd" "caFile" ] [ "services" "kubernetes" "apiserver" "etcd" "caFile" ])
(mkRemovedOptionModule [ "services" "kubernetes" "kubelet" "applyManifests" ] "")
(mkRemovedOptionModule [ "services" "kubernetes" "kubelet" "cadvisorPort" ] "")
+ (mkRemovedOptionModule [ "services" "kubernetes" "kubelet" "allowPrivileged" ] "")
(mkRenamedOptionModule [ "services" "kubernetes" "proxy" "address" ] ["services" "kubernetes" "proxy" "bindAddress"])
(mkRemovedOptionModule [ "services" "kubernetes" "verbose" ] "")
(mkRenamedOptionModule [ "services" "logstash" "address" ] [ "services" "logstash" "listenAddress" ])
@@ -50,6 +52,11 @@ with lib;
(mkRemovedOptionModule [ "services" "misc" "nzbget" "openFirewall" ] "The port used by nzbget is managed through the web interface so you should adjust your firewall rules accordingly.")
(mkRemovedOptionModule [ "services" "prometheus" "alertmanager" "user" ] "The alertmanager service is now using systemd's DynamicUser mechanism which obviates a user setting.")
(mkRemovedOptionModule [ "services" "prometheus" "alertmanager" "group" ] "The alertmanager service is now using systemd's DynamicUser mechanism which obviates a group setting.")
+ (mkRemovedOptionModule [ "services" "prometheus" "alertmanagerURL" ] ''
+ Due to incompatibility, the alertmanagerURL option has been removed,
+ please use 'services.prometheus2.alertmanagers' instead.
+ '')
+ (mkRenamedOptionModule [ "services" "prometheus2" ] [ "services" "prometheus" ])
(mkRenamedOptionModule [ "services" "tor" "relay" "portSpec" ] [ "services" "tor" "relay" "port" ])
(mkRenamedOptionModule [ "services" "vmwareGuest" ] [ "virtualisation" "vmware" "guest" ])
(mkRenamedOptionModule [ "jobs" ] [ "systemd" "services" ])
@@ -62,11 +69,13 @@ with lib;
(mkRemovedOptionModule [ "security" "setuidOwners" ] "Use security.wrappers instead")
(mkRemovedOptionModule [ "security" "setuidPrograms" ] "Use security.wrappers instead")
+ (mkRenamedOptionModule [ "security" "virtualization" "flushL1DataCache" ] [ "security" "virtualisation" "flushL1DataCache" ])
+
# PAM
(mkRenamedOptionModule [ "security" "pam" "enableU2F" ] [ "security" "pam" "u2f" "enable" ])
- (mkRemovedOptionModule [ "services" "rmilter" "bindInetSockets" ] "Use services.rmilter.bindSocket.* instead")
- (mkRemovedOptionModule [ "services" "rmilter" "bindUnixSockets" ] "Use services.rmilter.bindSocket.* instead")
+ # rmilter/rspamd
+ (mkRemovedOptionModule [ "services" "rmilter" ] "Use services.rspamd.* instead to set up milter service")
# Xsession script
(mkRenamedOptionModule [ "services" "xserver" "displayManager" "job" "logsXsession" ] [ "services" "xserver" "displayManager" "job" "logToFile" ])
@@ -113,9 +122,10 @@ with lib;
# murmur
(mkRenamedOptionModule [ "services" "murmur" "welcome" ] [ "services" "murmur" "welcometext" ])
+ (mkRemovedOptionModule [ "services" "murmur" "pidfile" ] "Hardcoded to /run/murmur/murmurd.pid now")
# parsoid
- (mkRemovedOptionModule [ "services" "parsoid" "interwikis" ] [ "services" "parsoid" "wikis" ])
+ (mkRemovedOptionModule [ "services" "parsoid" "interwikis" ] "Use services.parsoid.wikis instead")
# plexpy / tautulli
(mkRenamedOptionModule [ "services" "plexpy" ] [ "services" "tautulli" ])
@@ -170,6 +180,12 @@ with lib;
The starting time can be configured via services.postgresqlBackup.startAt.
'')
+ # phpfpm
+ (mkRemovedOptionModule [ "services" "phpfpm" "poolConfigs" ] "Use services.phpfpm.pools instead.")
+
+ # zabbixServer
+ (mkRenamedOptionModule [ "services" "zabbixServer" "dbServer" ] [ "services" "zabbixServer" "database" "host" ])
+
# Profile splitting
(mkRenamedOptionModule [ "virtualisation" "growPartition" ] [ "boot" "growPartition" ])
@@ -211,6 +227,11 @@ with lib;
(mkRemovedOptionModule [ "services" "logstash" "enableWeb" ] "The web interface was removed from logstash")
(mkRemovedOptionModule [ "boot" "zfs" "enableLegacyCrypto" ] "The corresponding package was removed from nixpkgs.")
(mkRemovedOptionModule [ "services" "winstone" ] "The corresponding package was removed from nixpkgs.")
+ (mkRemovedOptionModule [ "services" "mysql" "pidDir" ] "Don't wait for pidfiles, describe dependencies through systemd")
+ (mkRemovedOptionModule [ "services" "mysql" "rootPassword" ] "Use socket authentication or set the password outside of the nix store.")
+ (mkRemovedOptionModule [ "services" "zabbixServer" "dbPassword" ] "Use services.zabbixServer.database.passwordFile instead.")
+ (mkRemovedOptionModule [ "systemd" "generator-packages" ] "Use systemd.packages instead.")
+ (mkRemovedOptionModule [ "systemd" "coredump" "enable" ] "Enabled by default. Set boot.kernel.sysctl.\"kernel.core_pattern\" = \"core\"; to disable.")
# ZSH
(mkRenamedOptionModule [ "programs" "zsh" "enableSyntaxHighlighting" ] [ "programs" "zsh" "syntaxHighlighting" "enable" ])
@@ -238,7 +259,28 @@ with lib;
# binfmt
(mkRenamedOptionModule [ "boot" "binfmtMiscRegistrations" ] [ "boot" "binfmt" "registrations" ])
- ] ++ (flip map [ "blackboxExporter" "collectdExporter" "fritzboxExporter"
+ # ACME
+ (mkRemovedOptionModule [ "security" "acme" "directory"] "ACME Directory is now hardcoded to /var/lib/acme and its permisisons are managed by systemd. See https://github.com/NixOS/nixpkgs/issues/53852 for more info.")
+ (mkRemovedOptionModule [ "security" "acme" "preDelay"] "This option has been removed. If you want to make sure that something executes before certificates are provisioned, add a RequiredBy=acme-\${cert}.service to the service you want to execute before the cert renewal")
+ (mkRemovedOptionModule [ "security" "acme" "activationDelay"] "This option has been removed. If you want to make sure that something executes before certificates are provisioned, add a RequiredBy=acme-\${cert}.service to the service you want to execute before the cert renewal")
+
+ # KSM
+ (mkRenamedOptionModule [ "hardware" "enableKSM" ] [ "hardware" "ksm" "enable" ])
+
+ # resolvconf
+ (mkRenamedOptionModule [ "networking" "dnsSingleRequest" ] [ "networking" "resolvconf" "dnsSingleRequest" ])
+ (mkRenamedOptionModule [ "networking" "dnsExtensionMechanism" ] [ "networking" "resolvconf" "dnsExtensionMechanism" ])
+ (mkRenamedOptionModule [ "networking" "extraResolvconfConf" ] [ "networking" "resolvconf" "extraConfig" ])
+ (mkRenamedOptionModule [ "networking" "resolvconfOptions" ] [ "networking" "resolvconf" "extraOptions" ])
+
+ # Redis
+ (mkRemovedOptionModule [ "services" "redis" "user" ] "The redis module now is hardcoded to the redis user.")
+ (mkRemovedOptionModule [ "services" "redis" "dbpath" ] "The redis module now uses /var/lib/redis as data directory.")
+ (mkRemovedOptionModule [ "services" "redis" "dbFilename" ] "The redis module now uses /var/lib/redis/dump.rdb as database dump location.")
+ (mkRemovedOptionModule [ "services" "redis" "appendOnlyFilename" ] "This option was never used.")
+ (mkRemovedOptionModule [ "services" "redis" "pidFile" ] "This option was removed.")
+
+ ] ++ (forEach [ "blackboxExporter" "collectdExporter" "fritzboxExporter"
"jsonExporter" "minioExporter" "nginxExporter" "nodeExporter"
"snmpExporter" "unifiExporter" "varnishExporter" ]
(opt: mkRemovedOptionModule [ "services" "prometheus" "${opt}" ] ''
diff --git a/nixos/modules/security/acme.nix b/nixos/modules/security/acme.nix
index 092704c6fc3..b321c04e574 100644
--- a/nixos/modules/security/acme.nix
+++ b/nixos/modules/security/acme.nix
@@ -80,25 +80,11 @@ let
'';
};
- activationDelay = mkOption {
- type = types.nullOr types.str;
- default = null;
- description = ''
- Systemd time span expression to delay copying new certificates to main
- state directory. See systemd.time
- 7.
- '';
- };
-
- preDelay = mkOption {
- type = types.lines;
- default = "";
- description = ''
- Commands to run after certificates are re-issued but before they are
- activated. Typically the new certificate is published to DNS.
-
- Executed in the same directory with the new certificate.
- '';
+ directory = mkOption {
+ type = types.str;
+ readOnly = true;
+ default = "/var/lib/acme/${name}";
+ description = "Directory where certificate and other state is stored.";
};
extraDomains = mkOption {
@@ -126,13 +112,6 @@ in
options = {
security.acme = {
- directory = mkOption {
- default = "/var/lib/acme";
- type = types.str;
- description = ''
- Directory where certs and other state will be stored by default.
- '';
- };
validMin = mkOption {
type = types.int;
@@ -181,7 +160,11 @@ in
default = { };
type = with types; attrsOf (submodule certOpts);
description = ''
- Attribute set of certificates to get signed and renewed.
+ Attribute set of certificates to get signed and renewed. Creates
+ acme-''${cert}.{service,timer} systemd units for
+ each certificate defined here. Other services can add dependencies
+ to those units if they rely on the certificates being present,
+ or trigger restarts of the service if certificates get renewed.
'';
example = literalExample ''
{
@@ -209,8 +192,7 @@ in
servicesLists = mapAttrsToList certToServices cfg.certs;
certToServices = cert: data:
let
- cpath = lpath + optionalString (data.activationDelay != null) ".staging";
- lpath = "${cfg.directory}/${cert}";
+ lpath = "acme/${cert}";
rights = if data.allowKeysForGroup then "750" else "700";
cmdline = [ "-v" "-d" data.domain "--default_root" data.webroot "--valid_min" cfg.validMin ]
++ optionals (data.email != null) [ "--email" data.email ]
@@ -224,79 +206,27 @@ in
serviceConfig = {
Type = "oneshot";
SuccessExitStatus = [ "0" "1" ];
- PermissionsStartOnly = true;
User = data.user;
Group = data.group;
PrivateTmp = true;
+ StateDirectory = lpath;
+ StateDirectoryMode = rights;
+ WorkingDirectory = "/var/lib/${lpath}";
+ ExecStart = "${pkgs.simp_le}/bin/simp_le ${escapeShellArgs cmdline}";
+ ExecStopPost =
+ let
+ script = pkgs.writeScript "acme-post-stop" ''
+ #!${pkgs.runtimeShell} -e
+ ${data.postRun}
+ '';
+ in
+ "+${script}";
};
- path = with pkgs; [ simp_le systemd ];
- preStart = ''
- mkdir -p '${cfg.directory}'
- chown 'root:root' '${cfg.directory}'
- chmod 755 '${cfg.directory}'
- if [ ! -d '${cpath}' ]; then
- mkdir '${cpath}'
- fi
- chmod ${rights} '${cpath}'
- chown -R '${data.user}:${data.group}' '${cpath}'
- mkdir -p '${data.webroot}/.well-known/acme-challenge'
- chown -R '${data.user}:${data.group}' '${data.webroot}/.well-known/acme-challenge'
- '';
- script = ''
- cd '${cpath}'
- set +e
- simp_le ${escapeShellArgs cmdline}
- EXITCODE=$?
- set -e
- echo "$EXITCODE" > /tmp/lastExitCode
- exit "$EXITCODE"
- '';
- postStop = ''
- cd '${cpath}'
- if [ -e /tmp/lastExitCode ] && [ "$(cat /tmp/lastExitCode)" = "0" ]; then
- ${if data.activationDelay != null then ''
-
- ${data.preDelay}
-
- if [ -d '${lpath}' ]; then
- systemd-run --no-block --on-active='${data.activationDelay}' --unit acme-setlive-${cert}.service
- else
- systemctl --wait start acme-setlive-${cert}.service
- fi
- '' else data.postRun}
-
- # noop ensuring that the "if" block is non-empty even if
- # activationDelay == null and postRun == ""
- true
- fi
- '';
-
- before = [ "acme-certificates.target" ];
- wantedBy = [ "acme-certificates.target" ];
- };
- delayService = {
- description = "Set certificate for ${cert} live";
- path = with pkgs; [ rsync ];
- serviceConfig = {
- Type = "oneshot";
- };
- script = ''
- rsync -a --delete-after '${cpath}/' '${lpath}'
- '';
- postStop = data.postRun;
};
selfsignedService = {
description = "Create preliminary self-signed certificate for ${cert}";
path = [ pkgs.openssl ];
- preStart = ''
- if [ ! -d '${cpath}' ]
- then
- mkdir -p '${cpath}'
- chmod ${rights} '${cpath}'
- chown '${data.user}:${data.group}' '${cpath}'
- fi
- '';
script =
''
workdir="$(mktemp -d)"
@@ -318,50 +248,41 @@ in
-out $workdir/server.crt
# Copy key to destination
- cp $workdir/server.key ${cpath}/key.pem
+ cp $workdir/server.key /var/lib/${lpath}/key.pem
# Create fullchain.pem (same format as "simp_le ... -f fullchain.pem" creates)
- cat $workdir/{server.crt,ca.crt} > "${cpath}/fullchain.pem"
+ cat $workdir/{server.crt,ca.crt} > "/var/lib/${lpath}/fullchain.pem"
# Create full.pem for e.g. lighttpd
- cat $workdir/{server.key,server.crt,ca.crt} > "${cpath}/full.pem"
+ cat $workdir/{server.key,server.crt,ca.crt} > "/var/lib/${lpath}/full.pem"
# Give key acme permissions
- chown '${data.user}:${data.group}' "${cpath}/"{key,fullchain,full}.pem
- chmod ${rights} "${cpath}/"{key,fullchain,full}.pem
+ chown '${data.user}:${data.group}' "/var/lib/${lpath}/"{key,fullchain,full}.pem
+ chmod ${rights} "/var/lib/${lpath}/"{key,fullchain,full}.pem
'';
serviceConfig = {
Type = "oneshot";
- PermissionsStartOnly = true;
PrivateTmp = true;
+ StateDirectory = lpath;
User = data.user;
Group = data.group;
};
unitConfig = {
# Do not create self-signed key when key already exists
- ConditionPathExists = "!${cpath}/key.pem";
+ ConditionPathExists = "!/var/lib/${lpath}/key.pem";
};
- before = [
- "acme-selfsigned-certificates.target"
- ];
- wantedBy = [
- "acme-selfsigned-certificates.target"
- ];
};
in (
[ { name = "acme-${cert}"; value = acmeService; } ]
++ optional cfg.preliminarySelfsigned { name = "acme-selfsigned-${cert}"; value = selfsignedService; }
- ++ optional (data.activationDelay != null) { name = "acme-setlive-${cert}"; value = delayService; }
);
servicesAttr = listToAttrs services;
- injectServiceDep = {
- after = [ "acme-selfsigned-certificates.target" ];
- wants = [ "acme-selfsigned-certificates.target" "acme-certificates.target" ];
- };
in
- servicesAttr //
- (if config.services.nginx.enable then { nginx = injectServiceDep; } else {}) //
- (if config.services.lighttpd.enable then { lighttpd = injectServiceDep; } else {});
+ servicesAttr;
+
+ systemd.tmpfiles.rules =
+ flip mapAttrsToList cfg.certs
+ (cert: data: "d ${data.webroot}/.well-known/acme-challenge - ${data.user} ${data.group}");
systemd.timers = flip mapAttrs' cfg.certs (cert: data: nameValuePair
("acme-${cert}")
@@ -378,8 +299,8 @@ in
})
);
- systemd.targets."acme-selfsigned-certificates" = mkIf cfg.preliminarySelfsigned {};
- systemd.targets."acme-certificates" = {};
+ systemd.targets.acme-selfsigned-certificates = mkIf cfg.preliminarySelfsigned {};
+ systemd.targets.acme-certificates = {};
})
];
diff --git a/nixos/modules/security/acme.xml b/nixos/modules/security/acme.xml
index ef71fe53d0c..9d0a1995e0f 100644
--- a/nixos/modules/security/acme.xml
+++ b/nixos/modules/security/acme.xml
@@ -59,10 +59,8 @@ http {
The private key key.pem and certificate
fullchain.pem will be put into
- /var/lib/acme/foo.example.com. The target directory can
- be configured with the option .
+ /var/lib/acme/foo.example.com.
-
Refer to for all available configuration
options for the security.acme
diff --git a/nixos/modules/security/auditd.nix b/nixos/modules/security/auditd.nix
index 6abac244dac..9d26cfbcfb1 100644
--- a/nixos/modules/security/auditd.nix
+++ b/nixos/modules/security/auditd.nix
@@ -6,6 +6,10 @@ with lib;
options.security.auditd.enable = mkEnableOption "the Linux Audit daemon";
config = mkIf config.security.auditd.enable {
+ boot.kernelParams = [ "audit=1" ];
+
+ environment.systemPackages = [ pkgs.audit ];
+
systemd.services.auditd = {
description = "Linux Audit daemon";
wantedBy = [ "basic.target" ];
diff --git a/nixos/modules/security/chromium-suid-sandbox.nix b/nixos/modules/security/chromium-suid-sandbox.nix
index be6acb3f1f5..2255477f26e 100644
--- a/nixos/modules/security/chromium-suid-sandbox.nix
+++ b/nixos/modules/security/chromium-suid-sandbox.nix
@@ -24,6 +24,6 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [ sandbox ];
- security.wrappers."${sandbox.passthru.sandboxExecutableName}".source = "${sandbox}/bin/${sandbox.passthru.sandboxExecutableName}";
+ security.wrappers.${sandbox.passthru.sandboxExecutableName}.source = "${sandbox}/bin/${sandbox.passthru.sandboxExecutableName}";
};
}
diff --git a/nixos/modules/security/misc.nix b/nixos/modules/security/misc.nix
index bf474ac0a54..16e3bfb1419 100644
--- a/nixos/modules/security/misc.nix
+++ b/nixos/modules/security/misc.nix
@@ -48,13 +48,25 @@ with lib;
e.g., shared caches). This attack vector is unproven.
Disabling SMT is a supplement to the L1 data cache flushing mitigation
- (see )
+ (see )
versus malicious VM guests (SMT could "bring back" previously flushed
data).
'';
};
- security.virtualization.flushL1DataCache = mkOption {
+ security.forcePageTableIsolation = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to force-enable the Page Table Isolation (PTI) Linux kernel
+ feature even on CPU models that claim to be safe from Meltdown.
+
+ This hardening feature is most beneficial to systems that run untrusted
+ workloads that rely on address space isolation for security.
+ '';
+ };
+
+ security.virtualisation.flushL1DataCache = mkOption {
type = types.nullOr (types.enum [ "never" "cond" "always" ]);
default = null;
description = ''
@@ -114,8 +126,12 @@ with lib;
boot.kernelParams = [ "nosmt" ];
})
- (mkIf (config.security.virtualization.flushL1DataCache != null) {
- boot.kernelParams = [ "kvm-intel.vmentry_l1d_flush=${config.security.virtualization.flushL1DataCache}" ];
+ (mkIf config.security.forcePageTableIsolation {
+ boot.kernelParams = [ "pti=on" ];
+ })
+
+ (mkIf (config.security.virtualisation.flushL1DataCache != null) {
+ boot.kernelParams = [ "kvm-intel.vmentry_l1d_flush=${config.security.virtualisation.flushL1DataCache}" ];
})
];
}
diff --git a/nixos/modules/security/pam.nix b/nixos/modules/security/pam.nix
index 89e71c5136e..9c7ddc2f4ee 100644
--- a/nixos/modules/security/pam.nix
+++ b/nixos/modules/security/pam.nix
@@ -685,7 +685,7 @@ in
};
id = mkOption {
example = "42";
- type = types.string;
+ type = types.str;
description = "client id";
};
diff --git a/nixos/modules/security/polkit.nix b/nixos/modules/security/polkit.nix
index 7f1de81d5b7..f2b2df4004c 100644
--- a/nixos/modules/security/polkit.nix
+++ b/nixos/modules/security/polkit.nix
@@ -85,7 +85,7 @@ in
security.wrappers = {
pkexec.source = "${pkgs.polkit.bin}/bin/pkexec";
- "polkit-agent-helper-1".source = "${pkgs.polkit.out}/lib/polkit-1/polkit-agent-helper-1";
+ polkit-agent-helper-1.source = "${pkgs.polkit.out}/lib/polkit-1/polkit-agent-helper-1";
};
systemd.tmpfiles.rules = [
diff --git a/nixos/modules/security/prey.nix b/nixos/modules/security/prey.nix
index 1c643f2e1a5..b899ccb6c3e 100644
--- a/nixos/modules/security/prey.nix
+++ b/nixos/modules/security/prey.nix
@@ -4,7 +4,7 @@ with lib;
let
cfg = config.services.prey;
- myPrey = pkgs."prey-bash-client".override {
+ myPrey = pkgs.prey-bash-client.override {
apiKey = cfg.apiKey;
deviceKey = cfg.deviceKey;
};
diff --git a/nixos/modules/security/sudo.nix b/nixos/modules/security/sudo.nix
index 573588aaeec..10ee036be84 100644
--- a/nixos/modules/security/sudo.nix
+++ b/nixos/modules/security/sudo.nix
@@ -91,7 +91,7 @@ in
type = with types; listOf (submodule {
options = {
users = mkOption {
- type = with types; listOf (either string int);
+ type = with types; listOf (either str int);
description = ''
The usernames / UIDs this rule should apply for.
'';
@@ -99,7 +99,7 @@ in
};
groups = mkOption {
- type = with types; listOf (either string int);
+ type = with types; listOf (either str int);
description = ''
The groups / GIDs this rule should apply for.
'';
@@ -107,7 +107,7 @@ in
};
host = mkOption {
- type = types.string;
+ type = types.str;
default = "ALL";
description = ''
For what host this rule should apply.
@@ -115,7 +115,7 @@ in
};
runAs = mkOption {
- type = with types; string;
+ type = with types; str;
default = "ALL:ALL";
description = ''
Under which user/group the specified command is allowed to run.
@@ -130,11 +130,11 @@ in
description = ''
The commands for which the rule should apply.
'';
- type = with types; listOf (either string (submodule {
+ type = with types; listOf (either str (submodule {
options = {
command = mkOption {
- type = with types; string;
+ type = with types; str;
description = ''
A command being either just a path to a binary to allow any arguments,
the full command with arguments pre-set or with "" used as the argument,
diff --git a/nixos/modules/security/wrappers/default.nix b/nixos/modules/security/wrappers/default.nix
index dcb9c8d4ed5..47738e7962e 100644
--- a/nixos/modules/security/wrappers/default.nix
+++ b/nixos/modules/security/wrappers/default.nix
@@ -7,7 +7,7 @@ let
programs =
(lib.mapAttrsToList
- (n: v: (if v ? "program" then v else v // {program=n;}))
+ (n: v: (if v ? program then v else v // {program=n;}))
wrappers);
securityWrapper = pkgs.stdenv.mkDerivation {
@@ -74,15 +74,15 @@ let
mkWrappedPrograms =
builtins.map
- (s: if (s ? "capabilities")
+ (s: if (s ? capabilities)
then mkSetcapProgram
({ owner = "root";
group = "root";
} // s)
else if
- (s ? "setuid" && s.setuid) ||
- (s ? "setgid" && s.setgid) ||
- (s ? "permissions")
+ (s ? setuid && s.setuid) ||
+ (s ? setgid && s.setgid) ||
+ (s ? permissions)
then mkSetuidProgram s
else mkSetuidProgram
({ owner = "root";
diff --git a/nixos/modules/services/admin/oxidized.nix b/nixos/modules/services/admin/oxidized.nix
index 687cdfb5ba5..39112c3970d 100644
--- a/nixos/modules/services/admin/oxidized.nix
+++ b/nixos/modules/services/admin/oxidized.nix
@@ -97,8 +97,8 @@ in
preStart = ''
mkdir -p ${cfg.dataDir}/.config/oxidized
- cp -v ${cfg.routerDB} ${cfg.dataDir}/.config/oxidized/router.db
- cp -v ${cfg.configFile} ${cfg.dataDir}/.config/oxidized/config
+ ln -f -s ${cfg.routerDB} ${cfg.dataDir}/.config/oxidized/router.db
+ ln -f -s ${cfg.configFile} ${cfg.dataDir}/.config/oxidized/config
'';
serviceConfig = {
diff --git a/nixos/modules/services/amqp/activemq/default.nix b/nixos/modules/services/amqp/activemq/default.nix
index 27bfd91cd2d..7729da27304 100644
--- a/nixos/modules/services/amqp/activemq/default.nix
+++ b/nixos/modules/services/amqp/activemq/default.nix
@@ -40,7 +40,7 @@ in {
'';
};
configurationURI = mkOption {
- type = types.string;
+ type = types.str;
default = "xbean:activemq.xml";
description = ''
The URI that is passed along to the BrokerFactory to
@@ -51,7 +51,7 @@ in {
'';
};
baseDir = mkOption {
- type = types.string;
+ type = types.str;
default = "/var/activemq";
description = ''
The base directory where ActiveMQ stores its persistent data and logs.
@@ -81,7 +81,7 @@ in {
'';
};
extraJavaOptions = mkOption {
- type = types.string;
+ type = types.separatedString " ";
default = "";
example = "-Xmx2G -Xms2G -XX:MaxPermSize=512M";
description = ''
diff --git a/nixos/modules/services/audio/alsa.nix b/nixos/modules/services/audio/alsa.nix
index 376aad66e23..f632644af09 100644
--- a/nixos/modules/services/audio/alsa.nix
+++ b/nixos/modules/services/audio/alsa.nix
@@ -64,7 +64,7 @@ in
};
volumeStep = mkOption {
- type = types.string;
+ type = types.str;
default = "1";
example = "1%";
description = ''
@@ -99,7 +99,7 @@ in
boot.kernelModules = optional config.sound.enableOSSEmulation "snd_pcm_oss";
- systemd.services."alsa-store" =
+ systemd.services.alsa-store =
{ description = "Store Sound Card State";
wantedBy = [ "multi-user.target" ];
unitConfig.RequiresMountsFor = "/var/lib/alsa";
diff --git a/nixos/modules/services/audio/jack.nix b/nixos/modules/services/audio/jack.nix
new file mode 100644
index 00000000000..aa3351f401a
--- /dev/null
+++ b/nixos/modules/services/audio/jack.nix
@@ -0,0 +1,290 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.jack;
+
+ pcmPlugin = cfg.jackd.enable && cfg.alsa.enable;
+ loopback = cfg.jackd.enable && cfg.loopback.enable;
+
+ enable32BitAlsaPlugins = cfg.alsa.support32Bit && pkgs.stdenv.isx86_64 && pkgs.pkgsi686Linux.alsaLib != null;
+
+ umaskNeeded = versionOlder cfg.jackd.package.version "1.9.12";
+ bridgeNeeded = versionAtLeast cfg.jackd.package.version "1.9.12";
+in {
+ options = {
+ services.jack = {
+ jackd = {
+ enable = mkEnableOption ''
+ JACK Audio Connection Kit. You need to add yourself to the "jackaudio" group
+ '';
+
+ package = mkOption {
+ # until jack1 promiscuous mode is fixed
+ internal = true;
+ type = types.package;
+ default = pkgs.jack2;
+ defaultText = "pkgs.jack2";
+ example = literalExample "pkgs.jack1";
+ description = ''
+ The JACK package to use.
+ '';
+ };
+
+ extraOptions = mkOption {
+ type = types.listOf types.str;
+ default = [
+ "-dalsa"
+ ];
+ example = literalExample ''
+ [ "-dalsa" "--device" "hw:1" ];
+ '';
+ description = ''
+ Specifies startup command line arguments to pass to JACK server.
+ '';
+ };
+
+ session = mkOption {
+ type = types.lines;
+ description = ''
+ Commands to run after JACK is started.
+ '';
+ };
+
+ };
+
+ alsa = {
+ enable = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Route audio to/from generic ALSA-using applications using ALSA JACK PCM plugin.
+ '';
+ };
+
+ support32Bit = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to support sound for 32-bit ALSA applications on 64-bit system.
+ '';
+ };
+ };
+
+ loopback = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Create ALSA loopback device, instead of using PCM plugin. Has broader
+ application support (things like Steam will work), but may need fine-tuning
+ for concrete hardware.
+ '';
+ };
+
+ index = mkOption {
+ type = types.int;
+ default = 10;
+ description = ''
+ Index of an ALSA loopback device.
+ '';
+ };
+
+ config = mkOption {
+ type = types.lines;
+ description = ''
+ ALSA config for loopback device.
+ '';
+ };
+
+ dmixConfig = mkOption {
+ type = types.lines;
+ default = "";
+ example = ''
+ period_size 2048
+ periods 2
+ '';
+ description = ''
+ For music production software that still doesn't support JACK natively you
+ would like to put buffer/period adjustments here
+ to decrease dmix device latency.
+ '';
+ };
+
+ session = mkOption {
+ type = types.lines;
+ description = ''
+ Additional commands to run to setup loopback device.
+ '';
+ };
+ };
+
+ };
+
+ };
+
+ config = mkMerge [
+
+ (mkIf pcmPlugin {
+ sound.extraConfig = ''
+ pcm_type.jack {
+ libs.native = ${pkgs.alsaPlugins}/lib/alsa-lib/libasound_module_pcm_jack.so ;
+ ${lib.optionalString enable32BitAlsaPlugins
+ "libs.32Bit = ${pkgs.pkgsi686Linux.alsaPlugins}/lib/alsa-lib/libasound_module_pcm_jack.so ;"}
+ }
+ pcm.!default {
+ @func getenv
+ vars [ PCM ]
+ default "plug:jack"
+ }
+ '';
+ })
+
+ (mkIf loopback {
+ boot.kernelModules = [ "snd-aloop" ];
+ boot.kernelParams = [ "snd-aloop.index=${toString cfg.loopback.index}" ];
+ sound.extraConfig = cfg.loopback.config;
+ })
+
+ (mkIf cfg.jackd.enable {
+ services.jack.jackd.session = ''
+ ${lib.optionalString bridgeNeeded "${pkgs.a2jmidid}/bin/a2jmidid -e &"}
+ '';
+ # https://alsa.opensrc.org/Jack_and_Loopback_device_as_Alsa-to-Jack_bridge#id06
+ services.jack.loopback.config = ''
+ pcm.loophw00 {
+ type hw
+ card ${toString cfg.loopback.index}
+ device 0
+ subdevice 0
+ }
+ pcm.amix {
+ type dmix
+ ipc_key 219345
+ slave {
+ pcm loophw00
+ ${cfg.loopback.dmixConfig}
+ }
+ }
+ pcm.asoftvol {
+ type softvol
+ slave.pcm "amix"
+ control { name Master }
+ }
+ pcm.cloop {
+ type hw
+ card ${toString cfg.loopback.index}
+ device 1
+ subdevice 0
+ format S32_LE
+ }
+ pcm.loophw01 {
+ type hw
+ card ${toString cfg.loopback.index}
+ device 0
+ subdevice 1
+ }
+ pcm.ploop {
+ type hw
+ card ${toString cfg.loopback.index}
+ device 1
+ subdevice 1
+ format S32_LE
+ }
+ pcm.aduplex {
+ type asym
+ playback.pcm "asoftvol"
+ capture.pcm "loophw01"
+ }
+ pcm.!default {
+ type plug
+ slave.pcm aduplex
+ }
+ '';
+ services.jack.loopback.session = ''
+ alsa_in -j cloop -dcloop &
+ alsa_out -j ploop -dploop &
+ while [ "$(jack_lsp cloop)" == "" ] || [ "$(jack_lsp ploop)" == "" ]; do sleep 1; done
+ jack_connect cloop:capture_1 system:playback_1
+ jack_connect cloop:capture_2 system:playback_2
+ jack_connect system:capture_1 ploop:playback_1
+ jack_connect system:capture_2 ploop:playback_2
+ '';
+
+ assertions = [
+ {
+ assertion = !(cfg.alsa.enable && cfg.loopback.enable);
+ message = "For JACK both alsa and loopback options shouldn't be used at the same time.";
+ }
+ ];
+
+ users.users.jackaudio = {
+ group = "jackaudio";
+ extraGroups = [ "audio" ];
+ description = "JACK Audio system service user";
+ };
+ # http://jackaudio.org/faq/linux_rt_config.html
+ security.pam.loginLimits = [
+ { domain = "@jackaudio"; type = "-"; item = "rtprio"; value = "99"; }
+ { domain = "@jackaudio"; type = "-"; item = "memlock"; value = "unlimited"; }
+ ];
+ users.groups.jackaudio = {};
+
+ environment = {
+ systemPackages = [ cfg.jackd.package ];
+ etc."alsa/conf.d/50-jack.conf".source = "${pkgs.alsaPlugins}/etc/alsa/conf.d/50-jack.conf";
+ variables.JACK_PROMISCUOUS_SERVER = "jackaudio";
+ };
+
+ services.udev.extraRules = ''
+ ACTION=="add", SUBSYSTEM=="sound", ATTRS{id}!="Loopback", TAG+="systemd", ENV{SYSTEMD_WANTS}="jack.service"
+ '';
+
+ systemd.services.jack = {
+ description = "JACK Audio Connection Kit";
+ serviceConfig = {
+ User = "jackaudio";
+ ExecStart = "${cfg.jackd.package}/bin/jackd ${lib.escapeShellArgs cfg.jackd.extraOptions}";
+ LimitRTPRIO = 99;
+ LimitMEMLOCK = "infinity";
+ } // optionalAttrs umaskNeeded {
+ UMask = "007";
+ };
+ path = [ cfg.jackd.package ];
+ environment = {
+ JACK_PROMISCUOUS_SERVER = "jackaudio";
+ JACK_NO_AUDIO_RESERVATION = "1";
+ };
+ restartIfChanged = false;
+ };
+ systemd.services.jack-session = {
+ description = "JACK session";
+ script = ''
+ jack_wait -w
+ ${cfg.jackd.session}
+ ${lib.optionalString cfg.loopback.enable cfg.loopback.session}
+ '';
+ serviceConfig = {
+ RemainAfterExit = true;
+ User = "jackaudio";
+ StateDirectory = "jack";
+ LimitRTPRIO = 99;
+ LimitMEMLOCK = "infinity";
+ };
+ path = [ cfg.jackd.package ];
+ environment = {
+ JACK_PROMISCUOUS_SERVER = "jackaudio";
+ HOME = "/var/lib/jack";
+ };
+ wantedBy = [ "jack.service" ];
+ partOf = [ "jack.service" ];
+ after = [ "jack.service" ];
+ restartIfChanged = false;
+ };
+ })
+
+ ];
+
+ meta.maintainers = [ maintainers.gnidorah ];
+}
diff --git a/nixos/modules/services/audio/mopidy.nix b/nixos/modules/services/audio/mopidy.nix
index e2f4ec39f94..a534b692f17 100644
--- a/nixos/modules/services/audio/mopidy.nix
+++ b/nixos/modules/services/audio/mopidy.nix
@@ -70,25 +70,25 @@ in {
config = mkIf cfg.enable {
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - mopidy mopidy - -"
+ ];
+
systemd.services.mopidy = {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "sound.target" ];
description = "mopidy music player daemon";
- preStart = "mkdir -p ${cfg.dataDir} && chown -R mopidy:mopidy ${cfg.dataDir}";
serviceConfig = {
ExecStart = "${mopidyEnv}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)}";
User = "mopidy";
- PermissionsStartOnly = true;
};
};
systemd.services.mopidy-scan = {
description = "mopidy local files scanner";
- preStart = "mkdir -p ${cfg.dataDir} && chown -R mopidy:mopidy ${cfg.dataDir}";
serviceConfig = {
ExecStart = "${mopidyEnv}/bin/mopidy --config ${concatStringsSep ":" ([mopidyConf] ++ cfg.extraConfigFiles)} local scan";
User = "mopidy";
- PermissionsStartOnly = true;
Type = "oneshot";
};
};
@@ -98,7 +98,7 @@ in {
group = "mopidy";
extraGroups = [ "audio" ];
description = "Mopidy daemon user";
- home = "${cfg.dataDir}";
+ home = cfg.dataDir;
};
users.groups.mopidy.gid = gid;
diff --git a/nixos/modules/services/audio/roon-server.nix b/nixos/modules/services/audio/roon-server.nix
new file mode 100644
index 00000000000..4eda3c5708d
--- /dev/null
+++ b/nixos/modules/services/audio/roon-server.nix
@@ -0,0 +1,73 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ name = "roon-server";
+ cfg = config.services.roon-server;
+in {
+ options = {
+ services.roon-server = {
+ enable = mkEnableOption "Roon Server";
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for the server.
+
+ UDP: 9003
+ TCP: 9100 - 9200
+ '';
+ };
+ user = mkOption {
+ type = types.str;
+ default = "roon-server";
+ description = ''
+ User to run the Roon Server as.
+ '';
+ };
+ group = mkOption {
+ type = types.str;
+ default = "roon-server";
+ description = ''
+ Group to run the Roon Server as.
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.services.roon-server = {
+ after = [ "network.target" ];
+ description = "Roon Server";
+ wantedBy = [ "multi-user.target" ];
+
+ environment.ROON_DATAROOT = "/var/lib/${name}";
+
+ serviceConfig = {
+ ExecStart = "${pkgs.roon-server}/opt/start.sh";
+ LimitNOFILE = 8192;
+ User = cfg.user;
+ Group = cfg.group;
+ StateDirectory = name;
+ };
+ };
+
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPortRanges = [
+ { from = 9100; to = 9200; }
+ ];
+ allowedUDPPorts = [ 9003 ];
+ };
+
+
+ users.groups.${cfg.group} = {};
+ users.users.${cfg.user} =
+ if cfg.user == "roon-server" then {
+ isSystemUser = true;
+ description = "Roon Server user";
+ groups = [ cfg.group "audio" ];
+ }
+ else {};
+ };
+}
diff --git a/nixos/modules/services/audio/slimserver.nix b/nixos/modules/services/audio/slimserver.nix
index 640403d2c97..8f94a2b4940 100644
--- a/nixos/modules/services/audio/slimserver.nix
+++ b/nixos/modules/services/audio/slimserver.nix
@@ -42,15 +42,17 @@ in {
config = mkIf cfg.enable {
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - slimserver slimserver - -"
+ ];
+
systemd.services.slimserver = {
after = [ "network.target" ];
description = "Slim Server for Logitech Squeezebox Players";
wantedBy = [ "multi-user.target" ];
- preStart = "mkdir -p ${cfg.dataDir} && chown -R slimserver:slimserver ${cfg.dataDir}";
serviceConfig = {
User = "slimserver";
- PermissionsStartOnly = true;
# Issue 40589: Disable broken image/video support (audio still works!)
ExecStart = "${cfg.package}/slimserver.pl --logdir ${cfg.dataDir}/logs --prefsdir ${cfg.dataDir}/prefs --cachedir ${cfg.dataDir}/cache --noimage --novideo";
};
diff --git a/nixos/modules/services/audio/snapserver.nix b/nixos/modules/services/audio/snapserver.nix
index f709dd7fe16..b0b9264e816 100644
--- a/nixos/modules/services/audio/snapserver.nix
+++ b/nixos/modules/services/audio/snapserver.nix
@@ -4,7 +4,6 @@ with lib;
let
- package = "snapcast";
name = "snapserver";
cfg = config.services.snapserver;
diff --git a/nixos/modules/services/audio/spotifyd.nix b/nixos/modules/services/audio/spotifyd.nix
new file mode 100644
index 00000000000..e3556b2559c
--- /dev/null
+++ b/nixos/modules/services/audio/spotifyd.nix
@@ -0,0 +1,42 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.spotifyd;
+ spotifydConf = pkgs.writeText "spotifyd.conf" cfg.config;
+in
+{
+ options = {
+ services.spotifyd = {
+ enable = mkEnableOption "spotifyd, a Spotify playing daemon";
+
+ config = mkOption {
+ default = "";
+ type = types.lines;
+ description = ''
+ Configuration for Spotifyd. For syntax and directives, see
+ https://github.com/Spotifyd/spotifyd#Configuration.
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.services.spotifyd = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" "sound.target" ];
+ description = "spotifyd, a Spotify playing daemon";
+ serviceConfig = {
+ ExecStart = "${pkgs.spotifyd}/bin/spotifyd --no-daemon --cache_path /var/cache/spotifyd --config ${spotifydConf}";
+ Restart = "always";
+ RestartSec = 12;
+ DynamicUser = true;
+ CacheDirectory = "spotifyd";
+ SupplementaryGroups = ["audio"];
+ };
+ };
+ };
+
+ meta.maintainers = [ maintainers.anderslundstedt ];
+}
diff --git a/nixos/modules/services/audio/ympd.nix b/nixos/modules/services/audio/ympd.nix
index 919b7662251..551bd941fe6 100644
--- a/nixos/modules/services/audio/ympd.nix
+++ b/nixos/modules/services/audio/ympd.nix
@@ -23,7 +23,7 @@ in {
mpd = {
host = mkOption {
- type = types.string;
+ type = types.str;
default = "localhost";
description = "The host where MPD is listening.";
example = "localhost";
diff --git a/nixos/modules/services/backup/automysqlbackup.nix b/nixos/modules/services/backup/automysqlbackup.nix
index b845f370fb7..1884f3536a9 100644
--- a/nixos/modules/services/backup/automysqlbackup.nix
+++ b/nixos/modules/services/backup/automysqlbackup.nix
@@ -41,7 +41,7 @@ in
};
config = mkOption {
- type = with types; attrsOf (either (either str (either int bool)) (listOf str));
+ type = with types; attrsOf (oneOf [ str int bool (listOf str) ]);
default = {};
description = ''
automysqlbackup configuration. Refer to
diff --git a/nixos/modules/services/backup/crashplan-small-business.nix b/nixos/modules/services/backup/crashplan-small-business.nix
deleted file mode 100644
index 790dafefe66..00000000000
--- a/nixos/modules/services/backup/crashplan-small-business.nix
+++ /dev/null
@@ -1,73 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-let
- cfg = config.services.crashplansb;
- crashplansb = pkgs.crashplansb.override { maxRam = cfg.maxRam; };
-in
-
-with lib;
-
-{
- options = {
- services.crashplansb = {
- enable = mkOption {
- default = false;
- type = types.bool;
- description = ''
- Starts crashplan for small business background service.
- '';
- };
- maxRam = mkOption {
- default = "1024m";
- example = "2G";
- type = types.str;
- description = ''
- Maximum amount of ram that the crashplan engine should use.
- '';
- };
- openPorts = mkOption {
- description = "Open ports in the firewall for crashplan.";
- default = true;
- type = types.bool;
- };
- ports = mkOption {
- # https://support.code42.com/Administrator/6/Planning_and_installing/TCP_and_UDP_ports_used_by_the_Code42_platform
- # used ports can also be checked in the desktop app console using the command connection.info
- description = "which ports to open.";
- default = [ 4242 4243 4244 4247 ];
- type = types.listOf types.int;
- };
- };
- };
-
- config = mkIf cfg.enable {
- environment.systemPackages = [ crashplansb ];
- networking.firewall.allowedTCPPorts = mkIf cfg.openPorts cfg.ports;
-
- systemd.services.crashplansb = {
- description = "CrashPlan Backup Engine";
-
- wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
-
- preStart = ''
- install -d -m 755 ${crashplansb.vardir}
- install -d -m 700 ${crashplansb.vardir}/conf
- install -d -m 700 ${crashplansb.manifestdir}
- install -d -m 700 ${crashplansb.vardir}/cache
- install -d -m 700 ${crashplansb.vardir}/backupArchives
- install -d -m 777 ${crashplansb.vardir}/log
- cp -avn ${crashplansb}/conf.template/* ${crashplansb.vardir}/conf
- '';
-
- serviceConfig = {
- Type = "forking";
- EnvironmentFile = "${crashplansb}/bin/run.conf";
- ExecStart = "${crashplansb}/bin/CrashPlanEngine start";
- ExecStop = "${crashplansb}/bin/CrashPlanEngine stop";
- PIDFile = "${crashplansb.vardir}/CrashPlanEngine.pid";
- WorkingDirectory = crashplansb;
- };
- };
- };
-}
diff --git a/nixos/modules/services/backup/crashplan.nix b/nixos/modules/services/backup/crashplan.nix
deleted file mode 100644
index c540cc6e2ae..00000000000
--- a/nixos/modules/services/backup/crashplan.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-let
- cfg = config.services.crashplan;
- crashplan = pkgs.crashplan;
-in
-
-with lib;
-
-{
- options = {
- services.crashplan = {
- enable = mkOption {
- default = false;
- type = types.bool;
- description = ''
- Starts crashplan background service.
- '';
- };
- };
- };
-
- config = mkIf cfg.enable {
- environment.systemPackages = [ crashplan ];
-
- systemd.services.crashplan = {
- description = "CrashPlan Backup Engine";
-
- wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
-
- preStart = ''
- ensureDir() {
- dir=$1
- mode=$2
-
- if ! test -e $dir; then
- ${pkgs.coreutils}/bin/mkdir -m $mode -p $dir
- elif [ "$(${pkgs.coreutils}/bin/stat -c %a $dir)" != "$mode" ]; then
- ${pkgs.coreutils}/bin/chmod $mode $dir
- fi
- }
-
- ensureDir ${crashplan.vardir} 755
- ensureDir ${crashplan.vardir}/conf 700
- ensureDir ${crashplan.manifestdir} 700
- ensureDir ${crashplan.vardir}/cache 700
- ensureDir ${crashplan.vardir}/backupArchives 700
- ensureDir ${crashplan.vardir}/log 777
- cp -avn ${crashplan}/conf.template/* ${crashplan.vardir}/conf
- for x in app.asar bin install.vars lang lib libc42archive64.so libc52archive.so libjniwrap64.so libjniwrap.so libjtux64.so libjtux.so libleveldb64.so libleveldb.so libmd564.so libmd5.so share skin upgrade; do
- rm -f ${crashplan.vardir}/$x;
- ln -sf ${crashplan}/$x ${crashplan.vardir}/$x;
- done
- '';
-
- serviceConfig = {
- Type = "forking";
- EnvironmentFile = "${crashplan}/bin/run.conf";
- ExecStart = "${crashplan}/bin/CrashPlanEngine start";
- ExecStop = "${crashplan}/bin/CrashPlanEngine stop";
- PIDFile = "${crashplan.vardir}/CrashPlanEngine.pid";
- WorkingDirectory = crashplan;
- };
- };
- };
-}
diff --git a/nixos/modules/services/backup/duplicati.nix b/nixos/modules/services/backup/duplicati.nix
index 80287f30b81..0ff720c5897 100644
--- a/nixos/modules/services/backup/duplicati.nix
+++ b/nixos/modules/services/backup/duplicati.nix
@@ -19,13 +19,22 @@ in
};
interface = mkOption {
- default = "lo";
+ default = "127.0.0.1";
type = types.str;
description = ''
Listening interface for the web UI
Set it to "any" to listen on all available interfaces
'';
};
+
+ user = mkOption {
+ default = "duplicati";
+ type = types.str;
+ description = ''
+ Duplicati runs as it's own user. It will only be able to backup world-readable files.
+ Run as root with special care.
+ '';
+ };
};
};
@@ -37,14 +46,15 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
- User = "duplicati";
+ User = cfg.user;
Group = "duplicati";
+ StateDirectory = "duplicati";
ExecStart = "${pkgs.duplicati}/bin/duplicati-server --webservice-interface=${cfg.interface} --webservice-port=${toString cfg.port} --server-datafolder=/var/lib/duplicati";
Restart = "on-failure";
};
};
- users.users.duplicati = {
+ users.users.duplicati = lib.optionalAttrs (cfg.user == "duplicati") {
uid = config.ids.uids.duplicati;
home = "/var/lib/duplicati";
createHome = true;
diff --git a/nixos/modules/services/backup/mysql-backup.nix b/nixos/modules/services/backup/mysql-backup.nix
index ba6e154f6b3..dbd5605143f 100644
--- a/nixos/modules/services/backup/mysql-backup.nix
+++ b/nixos/modules/services/backup/mysql-backup.nix
@@ -103,7 +103,7 @@ in
}];
systemd = {
- timers."mysql-backup" = {
+ timers.mysql-backup = {
description = "Mysql backup timer";
wantedBy = [ "timers.target" ];
timerConfig = {
@@ -112,7 +112,7 @@ in
Unit = "mysql-backup.service";
};
};
- services."mysql-backup" = {
+ services.mysql-backup = {
description = "Mysql backup service";
enable = true;
serviceConfig = {
diff --git a/nixos/modules/services/backup/postgresql-backup.nix b/nixos/modules/services/backup/postgresql-backup.nix
index 17b410a97f3..13a36ae32ac 100644
--- a/nixos/modules/services/backup/postgresql-backup.nix
+++ b/nixos/modules/services/backup/postgresql-backup.nix
@@ -81,7 +81,7 @@ in {
};
pgdumpOptions = mkOption {
- type = types.string;
+ type = types.separatedString " ";
default = "-Cbo";
description = ''
Command line options for pg_dump. This options is not used
diff --git a/nixos/modules/services/backup/postgresql-wal-receiver.nix b/nixos/modules/services/backup/postgresql-wal-receiver.nix
new file mode 100644
index 00000000000..d9a37037992
--- /dev/null
+++ b/nixos/modules/services/backup/postgresql-wal-receiver.nix
@@ -0,0 +1,203 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ receiverSubmodule = {
+ options = {
+ postgresqlPackage = mkOption {
+ type = types.package;
+ example = literalExample "pkgs.postgresql_11";
+ description = ''
+ PostgreSQL package to use.
+ '';
+ };
+
+ directory = mkOption {
+ type = types.path;
+ example = literalExample "/mnt/pg_wal/main/";
+ description = ''
+ Directory to write the output to.
+ '';
+ };
+
+ statusInterval = mkOption {
+ type = types.int;
+ default = 10;
+ description = ''
+ Specifies the number of seconds between status packets sent back to the server.
+ This allows for easier monitoring of the progress from server.
+ A value of zero disables the periodic status updates completely,
+ although an update will still be sent when requested by the server, to avoid timeout disconnect.
+ '';
+ };
+
+ slot = mkOption {
+ type = types.str;
+ default = "";
+ example = "some_slot_name";
+ description = ''
+ Require pg_receivewal to use an existing replication slot (see
+ Section 26.2.6 of the PostgreSQL manual).
+ When this option is used, pg_receivewal will report a flush position to the server,
+ indicating when each segment has been synchronized to disk so that the server can remove that segment if it is not otherwise needed.
+
+ When the replication client of pg_receivewal is configured on the server as a synchronous standby,
+ then using a replication slot will report the flush position to the server, but only when a WAL file is closed.
+ Therefore, that configuration will cause transactions on the primary to wait for a long time and effectively not work satisfactorily.
+ The option must be specified in addition to make this work correctly.
+ '';
+ };
+
+ synchronous = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Flush the WAL data to disk immediately after it has been received.
+ Also send a status packet back to the server immediately after flushing, regardless of .
+
+ This option should be specified if the replication client of pg_receivewal is configured on the server as a synchronous standby,
+ to ensure that timely feedback is sent to the server.
+ '';
+ };
+
+ compress = mkOption {
+ type = types.ints.between 0 9;
+ default = 0;
+ description = ''
+ Enables gzip compression of write-ahead logs, and specifies the compression level
+ (0 through 9, 0 being no compression and 9 being best compression).
+ The suffix .gz will automatically be added to all filenames.
+
+ This option requires PostgreSQL >= 10.
+ '';
+ };
+
+ connection = mkOption {
+ type = types.str;
+ example = "postgresql://user@somehost";
+ description = ''
+ Specifies parameters used to connect to the server, as a connection string.
+ See Section 34.1.1 of the PostgreSQL manual for more information.
+
+ Because pg_receivewal doesn't connect to any particular database in the cluster,
+ database name in the connection string will be ignored.
+ '';
+ };
+
+ extraArgs = mkOption {
+ type = with types; listOf str;
+ default = [ ];
+ example = literalExample ''
+ [
+ "--no-sync"
+ ]
+ '';
+ description = ''
+ A list of extra arguments to pass to the pg_receivewal command.
+ '';
+ };
+
+ environment = mkOption {
+ type = with types; attrsOf str;
+ default = { };
+ example = literalExample ''
+ {
+ PGPASSFILE = "/private/passfile";
+ PGSSLMODE = "require";
+ }
+ '';
+ description = ''
+ Environment variables passed to the service.
+ Usable parameters are listed in Section 34.14 of the PostgreSQL manual.
+ '';
+ };
+ };
+ };
+
+in {
+ options = {
+ services.postgresqlWalReceiver = {
+ receivers = mkOption {
+ type = with types; attrsOf (submodule receiverSubmodule);
+ default = { };
+ example = literalExample ''
+ {
+ main = {
+ postgresqlPackage = pkgs.postgresql_11;
+ directory = /mnt/pg_wal/main/;
+ slot = "main_wal_receiver";
+ connection = "postgresql://user@somehost";
+ };
+ }
+ '';
+ description = ''
+ PostgreSQL WAL receivers.
+ Stream write-ahead logs from a PostgreSQL server using pg_receivewal (formerly pg_receivexlog).
+ See the man page for more information.
+ '';
+ };
+ };
+ };
+
+ config = let
+ receivers = config.services.postgresqlWalReceiver.receivers;
+ in mkIf (receivers != { }) {
+ users = {
+ users.postgres = {
+ uid = config.ids.uids.postgres;
+ group = "postgres";
+ description = "PostgreSQL server user";
+ };
+
+ groups.postgres = {
+ gid = config.ids.gids.postgres;
+ };
+ };
+
+ assertions = concatLists (attrsets.mapAttrsToList (name: config: [
+ {
+ assertion = config.compress > 0 -> versionAtLeast config.postgresqlPackage.version "10";
+ message = "Invalid configuration for WAL receiver \"${name}\": compress requires PostgreSQL version >= 10.";
+ }
+ ]) receivers);
+
+ systemd.tmpfiles.rules = mapAttrsToList (name: config: ''
+ d ${escapeShellArg config.directory} 0750 postgres postgres - -
+ '') receivers;
+
+ systemd.services = with attrsets; mapAttrs' (name: config: nameValuePair "postgresql-wal-receiver-${name}" {
+ description = "PostgreSQL WAL receiver (${name})";
+ wantedBy = [ "multi-user.target" ];
+
+ serviceConfig = {
+ User = "postgres";
+ Group = "postgres";
+ KillSignal = "SIGINT";
+ Restart = "always";
+ RestartSec = 30;
+ };
+
+ inherit (config) environment;
+
+ script = let
+ receiverCommand = postgresqlPackage:
+ if (versionAtLeast postgresqlPackage.version "10")
+ then "${postgresqlPackage}/bin/pg_receivewal"
+ else "${postgresqlPackage}/bin/pg_receivexlog";
+ in ''
+ ${receiverCommand config.postgresqlPackage} \
+ --no-password \
+ --directory=${escapeShellArg config.directory} \
+ --status-interval=${toString config.statusInterval} \
+ --dbname=${escapeShellArg config.connection} \
+ ${optionalString (config.compress > 0) "--compress=${toString config.compress}"} \
+ ${optionalString (config.slot != "") "--slot=${escapeShellArg config.slot}"} \
+ ${optionalString config.synchronous "--synchronous"} \
+ ${concatStringsSep " " config.extraArgs}
+ '';
+ }) receivers;
+ };
+
+ meta.maintainers = with maintainers; [ pacien ];
+}
diff --git a/nixos/modules/services/backup/rsnapshot.nix b/nixos/modules/services/backup/rsnapshot.nix
index bb5dcab1dcf..6635a51ec2c 100644
--- a/nixos/modules/services/backup/rsnapshot.nix
+++ b/nixos/modules/services/backup/rsnapshot.nix
@@ -2,7 +2,7 @@
with lib;
-let
+let
cfg = config.services.rsnapshot;
cfgfile = pkgs.writeText "rsnapshot.conf" ''
config_version 1.2
@@ -52,7 +52,7 @@ in
cronIntervals = mkOption {
default = {};
example = { hourly = "0 * * * *"; daily = "50 21 * * *"; };
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
description = ''
Periodicity at which intervals should be run by cron.
Note that the intervals also have to exist in configuration
diff --git a/nixos/modules/services/backup/tsm.nix b/nixos/modules/services/backup/tsm.nix
new file mode 100644
index 00000000000..6c238745797
--- /dev/null
+++ b/nixos/modules/services/backup/tsm.nix
@@ -0,0 +1,106 @@
+{ config, lib, ... }:
+
+let
+
+ inherit (lib.attrsets) hasAttr;
+ inherit (lib.modules) mkDefault mkIf;
+ inherit (lib.options) mkEnableOption mkOption;
+ inherit (lib.types) nullOr strMatching;
+
+ options.services.tsmBackup = {
+ enable = mkEnableOption ''
+ automatic backups with the
+ IBM Spectrum Protect (Tivoli Storage Manager, TSM) client.
+ This also enables
+
+ '';
+ command = mkOption {
+ type = strMatching ".+";
+ default = "backup";
+ example = "incr";
+ description = ''
+ The actual command passed to the
+ dsmc executable to start the backup.
+ '';
+ };
+ servername = mkOption {
+ type = strMatching ".+";
+ example = "mainTsmServer";
+ description = ''
+ Create a systemd system service
+ tsm-backup.service that starts
+ a backup based on the given servername's stanza.
+ Note that this server's
+ will default to
+ /var/lib/tsm-backup/password
+ (but may be overridden);
+ also, the service will use
+ /var/lib/tsm-backup as
+ HOME when calling
+ dsmc.
+ '';
+ };
+ autoTime = mkOption {
+ type = nullOr (strMatching ".+");
+ default = null;
+ example = "12:00";
+ description = ''
+ The backup service will be invoked
+ automatically at the given date/time,
+ which must be in the format described in
+ systemd.time5.
+ The default null
+ disables automatic backups.
+ '';
+ };
+ };
+
+ cfg = config.services.tsmBackup;
+ cfgPrg = config.programs.tsmClient;
+
+ assertions = [
+ {
+ assertion = hasAttr cfg.servername cfgPrg.servers;
+ message = "TSM service servername not found in list of servers";
+ }
+ {
+ assertion = cfgPrg.servers.${cfg.servername}.genPasswd;
+ message = "TSM service requires automatic password generation";
+ }
+ ];
+
+in
+
+{
+
+ inherit options;
+
+ config = mkIf cfg.enable {
+ inherit assertions;
+ programs.tsmClient.enable = true;
+ programs.tsmClient.servers.${cfg.servername}.passwdDir =
+ mkDefault "/var/lib/tsm-backup/password";
+ systemd.services.tsm-backup = {
+ description = "IBM Spectrum Protect (Tivoli Storage Manager) Backup";
+ # DSM_LOG needs a trailing slash to have it treated as a directory.
+ # `/var/log` would be littered with TSM log files otherwise.
+ environment.DSM_LOG = "/var/log/tsm-backup/";
+ # TSM needs a HOME dir to store certificates.
+ environment.HOME = "/var/lib/tsm-backup";
+ # for exit status description see
+ # https://www.ibm.com/support/knowledgecenter/en/SSEQVQ_8.1.8/client/c_sched_rtncode.html
+ serviceConfig.SuccessExitStatus = "4 8";
+ # The `-se` option must come after the command.
+ # The `-optfile` option suppresses a `dsm.opt`-not-found warning.
+ serviceConfig.ExecStart =
+ "${cfgPrg.wrappedPackage}/bin/dsmc ${cfg.command} -se='${cfg.servername}' -optfile=/dev/null";
+ serviceConfig.LogsDirectory = "tsm-backup";
+ serviceConfig.StateDirectory = "tsm-backup";
+ serviceConfig.StateDirectoryMode = "0750";
+ startAt = mkIf (cfg.autoTime!=null) cfg.autoTime;
+ };
+ };
+
+ meta.maintainers = [ lib.maintainers.yarny ];
+
+}
diff --git a/nixos/modules/services/backup/zfs-replication.nix b/nixos/modules/services/backup/zfs-replication.nix
new file mode 100644
index 00000000000..5a64304275d
--- /dev/null
+++ b/nixos/modules/services/backup/zfs-replication.nix
@@ -0,0 +1,90 @@
+{ lib, pkgs, config, ... }:
+
+with lib;
+
+let
+ cfg = config.services.zfs.autoReplication;
+ recursive = optionalString cfg.recursive " --recursive";
+ followDelete = optionalString cfg.followDelete " --follow-delete";
+in {
+ options = {
+ services.zfs.autoReplication = {
+ enable = mkEnableOption "ZFS snapshot replication.";
+
+ followDelete = mkOption {
+ description = "Remove remote snapshots that don't have a local correspondant.";
+ default = true;
+ type = types.bool;
+ };
+
+ host = mkOption {
+ description = "Remote host where snapshots should be sent.";
+ example = "example.com";
+ type = types.str;
+ };
+
+ identityFilePath = mkOption {
+ description = "Path to SSH key used to login to host.";
+ example = "/home/username/.ssh/id_rsa";
+ type = types.path;
+ };
+
+ localFilesystem = mkOption {
+ description = "Local ZFS fileystem from which snapshots should be sent. Defaults to the attribute name.";
+ example = "pool/file/path";
+ type = types.str;
+ };
+
+ remoteFilesystem = mkOption {
+ description = "Remote ZFS filesystem where snapshots should be sent.";
+ example = "pool/file/path";
+ type = types.str;
+ };
+
+ recursive = mkOption {
+ description = "Recursively discover snapshots to send.";
+ default = true;
+ type = types.bool;
+ };
+
+ username = mkOption {
+ description = "Username used by SSH to login to remote host.";
+ example = "username";
+ type = types.str;
+ };
+ };
+ };
+
+ config = lib.mkIf cfg.enable {
+ environment.systemPackages = [
+ pkgs.lz4
+ ];
+
+ systemd.services.zfs-replication = {
+ after = [
+ "zfs-snapshot-daily.service"
+ "zfs-snapshot-frequent.service"
+ "zfs-snapshot-hourly.service"
+ "zfs-snapshot-monthly.service"
+ "zfs-snapshot-weekly.service"
+ ];
+ description = "ZFS Snapshot Replication";
+ documentation = [
+ "https://github.com/alunduil/zfs-replicate"
+ ];
+ restartIfChanged = false;
+ serviceConfig.ExecStart = "${pkgs.zfs-replicate}/bin/zfs-replicate${recursive} -l ${escapeShellArg cfg.username} -i ${escapeShellArg cfg.identityFilePath}${followDelete} ${escapeShellArg cfg.host} ${escapeShellArg cfg.remoteFilesystem} ${escapeShellArg cfg.localFilesystem}";
+ wantedBy = [
+ "zfs-snapshot-daily.service"
+ "zfs-snapshot-frequent.service"
+ "zfs-snapshot-hourly.service"
+ "zfs-snapshot-monthly.service"
+ "zfs-snapshot-weekly.service"
+ ];
+ };
+ };
+
+ meta = {
+ maintainers = with lib.maintainers; [ alunduil ];
+ };
+}
diff --git a/nixos/modules/services/backup/znapzend.nix b/nixos/modules/services/backup/znapzend.nix
index 9c7f8465572..f317078ddda 100644
--- a/nixos/modules/services/backup/znapzend.nix
+++ b/nixos/modules/services/backup/znapzend.nix
@@ -361,7 +361,7 @@ in
environment.systemPackages = [ pkgs.znapzend ];
systemd.services = {
- "znapzend" = {
+ znapzend = {
description = "ZnapZend - ZFS Backup System";
wantedBy = [ "zfs.target" ];
after = [ "zfs.target" ];
diff --git a/nixos/modules/services/cluster/hadoop/hdfs.nix b/nixos/modules/services/cluster/hadoop/hdfs.nix
index a38b6a78d3a..4f4b0a92108 100644
--- a/nixos/modules/services/cluster/hadoop/hdfs.nix
+++ b/nixos/modules/services/cluster/hadoop/hdfs.nix
@@ -24,7 +24,7 @@ with lib;
config = mkMerge [
(mkIf cfg.hdfs.namenode.enabled {
- systemd.services."hdfs-namenode" = {
+ systemd.services.hdfs-namenode = {
description = "Hadoop HDFS NameNode";
wantedBy = [ "multi-user.target" ];
@@ -44,7 +44,7 @@ with lib;
};
})
(mkIf cfg.hdfs.datanode.enabled {
- systemd.services."hdfs-datanode" = {
+ systemd.services.hdfs-datanode = {
description = "Hadoop HDFS DataNode";
wantedBy = [ "multi-user.target" ];
diff --git a/nixos/modules/services/cluster/hadoop/yarn.nix b/nixos/modules/services/cluster/hadoop/yarn.nix
index 5345a2732d7..c92020637e4 100644
--- a/nixos/modules/services/cluster/hadoop/yarn.nix
+++ b/nixos/modules/services/cluster/hadoop/yarn.nix
@@ -35,7 +35,7 @@ with lib;
})
(mkIf cfg.yarn.resourcemanager.enabled {
- systemd.services."yarn-resourcemanager" = {
+ systemd.services.yarn-resourcemanager = {
description = "Hadoop YARN ResourceManager";
wantedBy = [ "multi-user.target" ];
@@ -53,7 +53,7 @@ with lib;
})
(mkIf cfg.yarn.nodemanager.enabled {
- systemd.services."yarn-nodemanager" = {
+ systemd.services.yarn-nodemanager = {
description = "Hadoop YARN NodeManager";
wantedBy = [ "multi-user.target" ];
diff --git a/nixos/modules/services/cluster/kubernetes/addon-manager.nix b/nixos/modules/services/cluster/kubernetes/addon-manager.nix
index ad7d17c9c28..17f2dde31a7 100644
--- a/nixos/modules/services/cluster/kubernetes/addon-manager.nix
+++ b/nixos/modules/services/cluster/kubernetes/addon-manager.nix
@@ -62,50 +62,19 @@ in
'';
};
- enable = mkEnableOption "Kubernetes addon manager";
-
- kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager";
- bootstrapAddonsKubeconfig = top.lib.mkKubeConfigOptions "Kubernetes addon manager bootstrap";
+ enable = mkEnableOption "Whether to enable Kubernetes addon manager.";
};
###### implementation
- config = let
-
- addonManagerPaths = filter (a: a != null) [
- cfg.kubeconfig.caFile
- cfg.kubeconfig.certFile
- cfg.kubeconfig.keyFile
- ];
- bootstrapAddonsPaths = filter (a: a != null) [
- cfg.bootstrapAddonsKubeconfig.caFile
- cfg.bootstrapAddonsKubeconfig.certFile
- cfg.bootstrapAddonsKubeconfig.keyFile
- ];
-
- in mkIf cfg.enable {
+ config = mkIf cfg.enable {
environment.etc."kubernetes/addons".source = "${addons}/";
- #TODO: Get rid of kube-addon-manager in the future for the following reasons
- # - it is basically just a shell script wrapped around kubectl
- # - it assumes that it is clusterAdmin or can gain clusterAdmin rights through serviceAccount
- # - it is designed to be used with k8s system components only
- # - it would be better with a more Nix-oriented way of managing addons
systemd.services.kube-addon-manager = {
description = "Kubernetes addon manager";
wantedBy = [ "kubernetes.target" ];
- after = [ "kube-node-online.target" ];
- before = [ "kubernetes.target" ];
- environment = {
- ADDON_PATH = "/etc/kubernetes/addons/";
- KUBECONFIG = top.lib.mkKubeConfig "kube-addon-manager" cfg.kubeconfig;
- };
- path = with pkgs; [ gawk kubectl ];
- preStart = ''
- until kubectl -n kube-system get serviceaccounts/default 2>/dev/null; do
- echo kubectl -n kube-system get serviceaccounts/default: exit status $?
- sleep 2
- done
- '';
+ after = [ "kube-apiserver.service" ];
+ environment.ADDON_PATH = "/etc/kubernetes/addons/";
+ path = [ pkgs.gawk ];
serviceConfig = {
Slice = "kubernetes.slice";
ExecStart = "${top.package}/bin/kube-addons";
@@ -115,52 +84,8 @@ in
Restart = "on-failure";
RestartSec = 10;
};
- unitConfig.ConditionPathExists = addonManagerPaths;
};
- systemd.paths.kube-addon-manager = {
- wantedBy = [ "kube-addon-manager.service" ];
- pathConfig = {
- PathExists = addonManagerPaths;
- PathChanged = addonManagerPaths;
- };
- };
-
- services.kubernetes.addonManager.kubeconfig.server = mkDefault top.apiserverAddress;
-
- systemd.services.kube-addon-manager-bootstrap = mkIf (top.apiserver.enable && top.addonManager.bootstrapAddons != {}) {
- wantedBy = [ "kube-control-plane-online.target" ];
- after = [ "kube-apiserver.service" ];
- before = [ "kube-control-plane-online.target" ];
- path = [ pkgs.kubectl ];
- environment = {
- KUBECONFIG = top.lib.mkKubeConfig "kube-addon-manager-bootstrap" cfg.bootstrapAddonsKubeconfig;
- };
- preStart = with pkgs; let
- files = mapAttrsToList (n: v: writeText "${n}.json" (builtins.toJSON v))
- cfg.bootstrapAddons;
- in ''
- until kubectl auth can-i '*' '*' -q 2>/dev/null; do
- echo kubectl auth can-i '*' '*': exit status $?
- sleep 2
- done
-
- kubectl apply -f ${concatStringsSep " \\\n -f " files}
- '';
- script = "echo Ok";
- unitConfig.ConditionPathExists = bootstrapAddonsPaths;
- };
-
- systemd.paths.kube-addon-manager-bootstrap = {
- wantedBy = [ "kube-addon-manager-bootstrap.service" ];
- pathConfig = {
- PathExists = bootstrapAddonsPaths;
- PathChanged = bootstrapAddonsPaths;
- };
- };
-
- services.kubernetes.addonManager.bootstrapAddonsKubeconfig.server = mkDefault top.apiserverAddress;
-
services.kubernetes.addonManager.bootstrapAddons = mkIf isRBACEnabled
(let
name = system:kube-addon-manager;
diff --git a/nixos/modules/services/cluster/kubernetes/addons/dashboard.nix b/nixos/modules/services/cluster/kubernetes/addons/dashboard.nix
index 2295694ffc7..70f96d75a46 100644
--- a/nixos/modules/services/cluster/kubernetes/addons/dashboard.nix
+++ b/nixos/modules/services/cluster/kubernetes/addons/dashboard.nix
@@ -74,7 +74,7 @@ in {
spec = {
replicas = 1;
revisionHistoryLimit = 10;
- selector.matchLabels."k8s-app" = "kubernetes-dashboard";
+ selector.matchLabels.k8s-app = "kubernetes-dashboard";
template = {
metadata = {
labels = {
@@ -169,23 +169,6 @@ in {
};
};
- kubernetes-dashboard-cm = {
- apiVersion = "v1";
- kind = "ConfigMap";
- metadata = {
- labels = {
- k8s-app = "kubernetes-dashboard";
- # Allows editing resource and makes sure it is created first.
- "addonmanager.kubernetes.io/mode" = "EnsureExists";
- };
- name = "kubernetes-dashboard-settings";
- namespace = "kube-system";
- };
- };
- };
-
- services.kubernetes.addonManager.bootstrapAddons = mkMerge [{
-
kubernetes-dashboard-sa = {
apiVersion = "v1";
kind = "ServiceAccount";
@@ -227,9 +210,20 @@ in {
};
type = "Opaque";
};
- }
-
- (optionalAttrs cfg.rbac.enable
+ kubernetes-dashboard-cm = {
+ apiVersion = "v1";
+ kind = "ConfigMap";
+ metadata = {
+ labels = {
+ k8s-app = "kubernetes-dashboard";
+ # Allows editing resource and makes sure it is created first.
+ "addonmanager.kubernetes.io/mode" = "EnsureExists";
+ };
+ name = "kubernetes-dashboard-settings";
+ namespace = "kube-system";
+ };
+ };
+ } // (optionalAttrs cfg.rbac.enable
(let
subjects = [{
kind = "ServiceAccount";
@@ -329,6 +323,6 @@ in {
inherit subjects;
};
})
- ))];
+ ));
};
}
diff --git a/nixos/modules/services/cluster/kubernetes/addons/dns.nix b/nixos/modules/services/cluster/kubernetes/addons/dns.nix
index ee0ac632ecf..47e588de3c9 100644
--- a/nixos/modules/services/cluster/kubernetes/addons/dns.nix
+++ b/nixos/modules/services/cluster/kubernetes/addons/dns.nix
@@ -73,7 +73,7 @@ in {
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
- "k8s-app" = "kube-dns";
+ k8s-app = "kube-dns";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/bootstrapping" = "rbac-defaults";
};
@@ -102,7 +102,7 @@ in {
};
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
- "k8s-app" = "kube-dns";
+ k8s-app = "kube-dns";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/bootstrapping" = "rbac-defaults";
};
@@ -130,7 +130,7 @@ in {
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
- "k8s-app" = "kube-dns";
+ k8s-app = "kube-dns";
"kubernetes.io/cluster-service" = "true";
};
name = "coredns";
@@ -144,7 +144,7 @@ in {
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = cfg.reconcileMode;
- "k8s-app" = "kube-dns";
+ k8s-app = "kube-dns";
"kubernetes.io/cluster-service" = "true";
};
name = "coredns";
@@ -175,7 +175,7 @@ in {
metadata = {
labels = {
"addonmanager.kubernetes.io/mode" = cfg.reconcileMode;
- "k8s-app" = "kube-dns";
+ k8s-app = "kube-dns";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/name" = "CoreDNS";
};
@@ -301,7 +301,7 @@ in {
};
labels = {
"addonmanager.kubernetes.io/mode" = "Reconcile";
- "k8s-app" = "kube-dns";
+ k8s-app = "kube-dns";
"kubernetes.io/cluster-service" = "true";
"kubernetes.io/name" = "CoreDNS";
};
diff --git a/nixos/modules/services/cluster/kubernetes/apiserver.nix b/nixos/modules/services/cluster/kubernetes/apiserver.nix
index f293dd79f42..33796bf2e08 100644
--- a/nixos/modules/services/cluster/kubernetes/apiserver.nix
+++ b/nixos/modules/services/cluster/kubernetes/apiserver.nix
@@ -290,32 +290,11 @@ in
###### implementation
config = mkMerge [
- (let
-
- apiserverPaths = filter (a: a != null) [
- cfg.clientCaFile
- cfg.etcd.caFile
- cfg.etcd.certFile
- cfg.etcd.keyFile
- cfg.kubeletClientCaFile
- cfg.kubeletClientCertFile
- cfg.kubeletClientKeyFile
- cfg.serviceAccountKeyFile
- cfg.tlsCertFile
- cfg.tlsKeyFile
- ];
- etcdPaths = filter (a: a != null) [
- config.services.etcd.trustedCaFile
- config.services.etcd.certFile
- config.services.etcd.keyFile
- ];
-
- in mkIf cfg.enable {
+ (mkIf cfg.enable {
systemd.services.kube-apiserver = {
description = "Kubernetes APIServer Service";
- wantedBy = [ "kube-control-plane-online.target" ];
- after = [ "certmgr.service" ];
- before = [ "kube-control-plane-online.target" ];
+ wantedBy = [ "kubernetes.target" ];
+ after = [ "network.target" ];
serviceConfig = {
Slice = "kubernetes.slice";
ExecStart = ''${top.package}/bin/kube-apiserver \
@@ -386,15 +365,6 @@ in
Restart = "on-failure";
RestartSec = 5;
};
- unitConfig.ConditionPathExists = apiserverPaths;
- };
-
- systemd.paths.kube-apiserver = mkIf top.apiserver.enable {
- wantedBy = [ "kube-apiserver.service" ];
- pathConfig = {
- PathExists = apiserverPaths;
- PathChanged = apiserverPaths;
- };
};
services.etcd = {
@@ -408,18 +378,6 @@ in
initialAdvertisePeerUrls = mkDefault ["https://${top.masterAddress}:2380"];
};
- systemd.services.etcd = {
- unitConfig.ConditionPathExists = etcdPaths;
- };
-
- systemd.paths.etcd = {
- wantedBy = [ "etcd.service" ];
- pathConfig = {
- PathExists = etcdPaths;
- PathChanged = etcdPaths;
- };
- };
-
services.kubernetes.addonManager.bootstrapAddons = mkIf isRBACEnabled {
apiserver-kubelet-api-admin-crb = {
diff --git a/nixos/modules/services/cluster/kubernetes/controller-manager.nix b/nixos/modules/services/cluster/kubernetes/controller-manager.nix
index b94e8bd86d4..0b73d090f24 100644
--- a/nixos/modules/services/cluster/kubernetes/controller-manager.nix
+++ b/nixos/modules/services/cluster/kubernetes/controller-manager.nix
@@ -104,31 +104,11 @@ in
};
###### implementation
- config = let
-
- controllerManagerPaths = filter (a: a != null) [
- cfg.kubeconfig.caFile
- cfg.kubeconfig.certFile
- cfg.kubeconfig.keyFile
- cfg.rootCaFile
- cfg.serviceAccountKeyFile
- cfg.tlsCertFile
- cfg.tlsKeyFile
- ];
-
- in mkIf cfg.enable {
- systemd.services.kube-controller-manager = rec {
+ config = mkIf cfg.enable {
+ systemd.services.kube-controller-manager = {
description = "Kubernetes Controller Manager Service";
- wantedBy = [ "kube-control-plane-online.target" ];
+ wantedBy = [ "kubernetes.target" ];
after = [ "kube-apiserver.service" ];
- before = [ "kube-control-plane-online.target" ];
- environment.KUBECONFIG = top.lib.mkKubeConfig "kube-controller-manager" cfg.kubeconfig;
- preStart = ''
- until kubectl auth can-i get /api -q 2>/dev/null; do
- echo kubectl auth can-i get /api: exit status $?
- sleep 2
- done
- '';
serviceConfig = {
RestartSec = "30s";
Restart = "on-failure";
@@ -140,7 +120,7 @@ in
"--cluster-cidr=${cfg.clusterCidr}"} \
${optionalString (cfg.featureGates != [])
"--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
- --kubeconfig=${environment.KUBECONFIG} \
+ --kubeconfig=${top.lib.mkKubeConfig "kube-controller-manager" cfg.kubeconfig} \
--leader-elect=${boolToString cfg.leaderElect} \
${optionalString (cfg.rootCaFile!=null)
"--root-ca-file=${cfg.rootCaFile}"} \
@@ -161,16 +141,7 @@ in
User = "kubernetes";
Group = "kubernetes";
};
- path = top.path ++ [ pkgs.kubectl ];
- unitConfig.ConditionPathExists = controllerManagerPaths;
- };
-
- systemd.paths.kube-controller-manager = {
- wantedBy = [ "kube-controller-manager.service" ];
- pathConfig = {
- PathExists = controllerManagerPaths;
- PathChanged = controllerManagerPaths;
- };
+ path = top.path;
};
services.kubernetes.pki.certs = with top.lib; {
diff --git a/nixos/modules/services/cluster/kubernetes/default.nix b/nixos/modules/services/cluster/kubernetes/default.nix
index 5e46bfc4240..3790ac9b691 100644
--- a/nixos/modules/services/cluster/kubernetes/default.nix
+++ b/nixos/modules/services/cluster/kubernetes/default.nix
@@ -72,13 +72,6 @@ let
default = null;
};
};
-
- kubeConfigDefaults = {
- server = mkDefault cfg.kubeconfig.server;
- caFile = mkDefault cfg.kubeconfig.caFile;
- certFile = mkDefault cfg.kubeconfig.certFile;
- keyFile = mkDefault cfg.kubeconfig.keyFile;
- };
in {
###### interface
@@ -263,29 +256,6 @@ in {
wantedBy = [ "multi-user.target" ];
};
- systemd.targets.kube-control-plane-online = {
- wantedBy = [ "kubernetes.target" ];
- before = [ "kubernetes.target" ];
- };
-
- systemd.services.kube-control-plane-online = rec {
- description = "Kubernetes control plane is online";
- wantedBy = [ "kube-control-plane-online.target" ];
- after = [ "kube-scheduler.service" "kube-controller-manager.service" ];
- before = [ "kube-control-plane-online.target" ];
- path = [ pkgs.curl ];
- preStart = ''
- until curl -Ssf ${cfg.apiserverAddress}/healthz do
- echo curl -Ssf ${cfg.apiserverAddress}/healthz: exit status $?
- sleep 3
- done
- '';
- script = "echo Ok";
- serviceConfig = {
- TimeoutSec = "500";
- };
- };
-
systemd.tmpfiles.rules = [
"d /opt/cni/bin 0755 root root -"
"d /run/kubernetes 0755 kubernetes kubernetes -"
@@ -309,8 +279,6 @@ in {
services.kubernetes.apiserverAddress = mkDefault ("https://${if cfg.apiserver.advertiseAddress != null
then cfg.apiserver.advertiseAddress
else "${cfg.masterAddress}:${toString cfg.apiserver.securePort}"}");
-
- services.kubernetes.kubeconfig.server = mkDefault cfg.apiserverAddress;
})
];
}
diff --git a/nixos/modules/services/cluster/kubernetes/flannel.nix b/nixos/modules/services/cluster/kubernetes/flannel.nix
index d9437427d6d..d799e638fc9 100644
--- a/nixos/modules/services/cluster/kubernetes/flannel.nix
+++ b/nixos/modules/services/cluster/kubernetes/flannel.nix
@@ -14,36 +14,25 @@ let
buildInputs = [ pkgs.makeWrapper ];
} ''
mkdir -p $out
- cp ${pkgs.kubernetes.src}/cluster/centos/node/bin/mk-docker-opts.sh $out/mk-docker-opts.sh
# bashInteractive needed for `compgen`
- makeWrapper ${pkgs.bashInteractive}/bin/bash $out/mk-docker-opts --add-flags "$out/mk-docker-opts.sh"
+ makeWrapper ${pkgs.bashInteractive}/bin/bash $out/mk-docker-opts --add-flags "${pkgs.kubernetes}/bin/mk-docker-opts.sh"
'';
in
{
###### interface
options.services.kubernetes.flannel = {
- enable = mkEnableOption "flannel networking";
- kubeconfig = top.lib.mkKubeConfigOptions "Kubernetes flannel";
+ enable = mkEnableOption "enable flannel networking";
};
###### implementation
- config = let
-
- flannelPaths = filter (a: a != null) [
- cfg.kubeconfig.caFile
- cfg.kubeconfig.certFile
- cfg.kubeconfig.keyFile
- ];
- kubeconfig = top.lib.mkKubeConfig "flannel" cfg.kubeconfig;
-
- in mkIf cfg.enable {
+ config = mkIf cfg.enable {
services.flannel = {
enable = mkDefault true;
network = mkDefault top.clusterCidr;
- inherit storageBackend kubeconfig;
- nodeName = top.kubelet.hostname;
+ inherit storageBackend;
+ nodeName = config.services.kubernetes.kubelet.hostname;
};
services.kubernetes.kubelet = {
@@ -60,64 +49,22 @@ in
systemd.services.mk-docker-opts = {
description = "Pre-Docker Actions";
- wantedBy = [ "flannel.target" ];
- before = [ "flannel.target" ];
path = with pkgs; [ gawk gnugrep ];
script = ''
${mkDockerOpts}/mk-docker-opts -d /run/flannel/docker
systemctl restart docker
'';
- unitConfig.ConditionPathExists = [ "/run/flannel/subnet.env" ];
serviceConfig.Type = "oneshot";
};
systemd.paths.flannel-subnet-env = {
- wantedBy = [ "mk-docker-opts.service" ];
+ wantedBy = [ "flannel.service" ];
pathConfig = {
- PathExists = [ "/run/flannel/subnet.env" ];
- PathChanged = [ "/run/flannel/subnet.env" ];
+ PathModified = "/run/flannel/subnet.env";
Unit = "mk-docker-opts.service";
};
};
- systemd.targets.flannel = {
- wantedBy = [ "kube-node-online.target" ];
- before = [ "kube-node-online.target" ];
- };
-
- systemd.services.flannel = {
- wantedBy = [ "flannel.target" ];
- after = [ "kubelet.target" ];
- before = [ "flannel.target" ];
- path = with pkgs; [ iptables kubectl ];
- environment.KUBECONFIG = kubeconfig;
- preStart = let
- args = [
- "--selector=kubernetes.io/hostname=${top.kubelet.hostname}"
- # flannel exits if node is not registered yet, before that there is no podCIDR
- "--output=jsonpath={.items[0].spec.podCIDR}"
- # if jsonpath cannot be resolved exit with status 1
- "--allow-missing-template-keys=false"
- ];
- in ''
- until kubectl get nodes ${concatStringsSep " " args} 2>/dev/null; do
- echo Waiting for ${top.kubelet.hostname} to be RegisteredNode
- sleep 1
- done
- '';
- unitConfig.ConditionPathExists = flannelPaths;
- };
-
- systemd.paths.flannel = {
- wantedBy = [ "flannel.service" ];
- pathConfig = {
- PathExists = flannelPaths;
- PathChanged = flannelPaths;
- };
- };
-
- services.kubernetes.flannel.kubeconfig.server = mkDefault top.apiserverAddress;
-
systemd.services.docker = {
environment.DOCKER_OPTS = "-b none";
serviceConfig.EnvironmentFile = "-/run/flannel/docker";
@@ -144,6 +91,7 @@ in
# give flannel som kubernetes rbac permissions if applicable
services.kubernetes.addonManager.bootstrapAddons = mkIf ((storageBackend == "kubernetes") && (elem "RBAC" top.apiserver.authorizationMode)) {
+
flannel-cr = {
apiVersion = "rbac.authorization.k8s.io/v1beta1";
kind = "ClusterRole";
@@ -179,6 +127,7 @@ in
name = "flannel-client";
}];
};
+
};
};
}
diff --git a/nixos/modules/services/cluster/kubernetes/kubelet.nix b/nixos/modules/services/cluster/kubernetes/kubelet.nix
index ccc8a16e788..250da4c807e 100644
--- a/nixos/modules/services/cluster/kubernetes/kubelet.nix
+++ b/nixos/modules/services/cluster/kubernetes/kubelet.nix
@@ -28,13 +28,6 @@ let
kubeconfig = top.lib.mkKubeConfig "kubelet" cfg.kubeconfig;
- manifests = pkgs.buildEnv {
- name = "kubernetes-manifests";
- paths = mapAttrsToList (name: manifest:
- pkgs.writeTextDir "${name}.json" (builtins.toJSON manifest)
- ) cfg.manifests;
- };
-
manifestPath = "kubernetes/manifests";
taintOptions = with lib.types; { name, ... }: {
@@ -68,12 +61,6 @@ in
type = str;
};
- allowPrivileged = mkOption {
- description = "Whether to allow Kubernetes containers to request privileged mode.";
- default = false;
- type = bool;
- };
-
clusterDns = mkOption {
description = "Use alternative DNS.";
default = "10.1.0.1";
@@ -241,28 +228,21 @@ in
###### implementation
config = mkMerge [
- (let
-
- kubeletPaths = filter (a: a != null) [
- cfg.kubeconfig.caFile
- cfg.kubeconfig.certFile
- cfg.kubeconfig.keyFile
- cfg.clientCaFile
- cfg.tlsCertFile
- cfg.tlsKeyFile
- ];
-
- in mkIf cfg.enable {
+ (mkIf cfg.enable {
services.kubernetes.kubelet.seedDockerImages = [infraContainer];
systemd.services.kubelet = {
description = "Kubernetes Kubelet Service";
- wantedBy = [ "kubelet.target" ];
- after = [ "kube-control-plane-online.target" ];
- before = [ "kubelet.target" ];
+ wantedBy = [ "kubernetes.target" ];
+ after = [ "network.target" "docker.service" "kube-apiserver.service" ];
path = with pkgs; [ gitMinimal openssh docker utillinux iproute ethtool thin-provisioning-tools iptables socat ] ++ top.path;
preStart = ''
- rm -f /opt/cni/bin/* || true
+ ${concatMapStrings (img: ''
+ echo "Seeding docker image: ${img}"
+ docker load <${img}
+ '') cfg.seedDockerImages}
+
+ rm /opt/cni/bin/* || true
${concatMapStrings (package: ''
echo "Linking cni package: ${package}"
ln -fs ${package}/bin/* /opt/cni/bin
@@ -276,7 +256,6 @@ in
RestartSec = "1000ms";
ExecStart = ''${top.package}/bin/kubelet \
--address=${cfg.address} \
- --allow-privileged=${boolToString cfg.allowPrivileged} \
--authentication-token-webhook \
--authentication-token-webhook-cache-ttl="10s" \
--authorization-mode=Webhook \
@@ -315,56 +294,6 @@ in
'';
WorkingDirectory = top.dataDir;
};
- unitConfig.ConditionPathExists = kubeletPaths;
- };
-
- systemd.paths.kubelet = {
- wantedBy = [ "kubelet.service" ];
- pathConfig = {
- PathExists = kubeletPaths;
- PathChanged = kubeletPaths;
- };
- };
-
- systemd.services.docker.before = [ "kubelet.service" ];
-
- systemd.services.docker-seed-images = {
- wantedBy = [ "docker.service" ];
- after = [ "docker.service" ];
- before = [ "kubelet.service" ];
- path = with pkgs; [ docker ];
- preStart = ''
- ${concatMapStrings (img: ''
- echo "Seeding docker image: ${img}"
- docker load <${img}
- '') cfg.seedDockerImages}
- '';
- script = "echo Ok";
- serviceConfig.Type = "oneshot";
- serviceConfig.RemainAfterExit = true;
- serviceConfig.Slice = "kubernetes.slice";
- };
-
- systemd.services.kubelet-online = {
- wantedBy = [ "kube-node-online.target" ];
- after = [ "flannel.target" "kubelet.target" ];
- before = [ "kube-node-online.target" ];
- # it is complicated. flannel needs kubelet to run the pause container before
- # it discusses the node CIDR with apiserver and afterwards configures and restarts
- # dockerd. Until then prevent creating any pods because they have to be recreated anyway
- # because the network of docker0 has been changed by flannel.
- script = let
- docker-env = "/run/flannel/docker";
- flannel-date = "stat --print=%Y ${docker-env}";
- docker-date = "systemctl show --property=ActiveEnterTimestamp --value docker";
- in ''
- until test -f ${docker-env} ; do sleep 1 ; done
- while test `${flannel-date}` -gt `date +%s --date="$(${docker-date})"` ; do
- sleep 1
- done
- '';
- serviceConfig.Type = "oneshot";
- serviceConfig.Slice = "kubernetes.slice";
};
# Allways include cni plugins
@@ -411,16 +340,5 @@ in
};
})
- {
- systemd.targets.kubelet = {
- wantedBy = [ "kube-node-online.target" ];
- before = [ "kube-node-online.target" ];
- };
-
- systemd.targets.kube-node-online = {
- wantedBy = [ "kubernetes.target" ];
- before = [ "kubernetes.target" ];
- };
- }
];
}
diff --git a/nixos/modules/services/cluster/kubernetes/pki.nix b/nixos/modules/services/cluster/kubernetes/pki.nix
index e68660e8bdd..733479e24c9 100644
--- a/nixos/modules/services/cluster/kubernetes/pki.nix
+++ b/nixos/modules/services/cluster/kubernetes/pki.nix
@@ -27,11 +27,12 @@ let
certmgrAPITokenPath = "${top.secretsPath}/${cfsslAPITokenBaseName}";
cfsslAPITokenLength = 32;
- clusterAdminKubeconfig = with cfg.certs.clusterAdmin; {
- server = top.apiserverAddress;
- certFile = cert;
- keyFile = key;
- };
+ clusterAdminKubeconfig = with cfg.certs.clusterAdmin;
+ top.lib.mkKubeConfig "cluster-admin" {
+ server = top.apiserverAddress;
+ certFile = cert;
+ keyFile = key;
+ };
remote = with config.services; "https://${kubernetes.masterAddress}:${toString cfssl.port}";
in
@@ -118,12 +119,6 @@ in
cfsslCertPathPrefix = "${config.services.cfssl.dataDir}/cfssl";
cfsslCert = "${cfsslCertPathPrefix}.pem";
cfsslKey = "${cfsslCertPathPrefix}-key.pem";
- cfsslPort = toString config.services.cfssl.port;
-
- certmgrPaths = [
- top.caFile
- certmgrAPITokenPath
- ];
in
{
@@ -173,40 +168,13 @@ in
chown cfssl "${cfsslAPITokenPath}" && chmod 400 "${cfsslAPITokenPath}"
'')]);
- systemd.targets.cfssl-online = {
- wantedBy = [ "network-online.target" ];
- after = [ "cfssl.service" "network-online.target" "cfssl-online.service" ];
- };
-
- systemd.services.cfssl-online = {
- description = "Wait for ${remote} to be reachable.";
- wantedBy = [ "cfssl-online.target" ];
- before = [ "cfssl-online.target" ];
- path = [ pkgs.curl ];
- preStart = ''
- until curl --fail-early -fskd '{}' ${remote}/api/v1/cfssl/info -o /dev/null; do
- echo curl ${remote}/api/v1/cfssl/info: exit status $?
- sleep 2
- done
- '';
- script = "echo Ok";
- serviceConfig = {
- TimeoutSec = "300";
- };
- };
-
systemd.services.kube-certmgr-bootstrap = {
description = "Kubernetes certmgr bootstrapper";
- wantedBy = [ "cfssl-online.target" ];
- after = [ "cfssl-online.target" ];
- before = [ "certmgr.service" ];
- path = with pkgs; [ curl cfssl ];
+ wantedBy = [ "certmgr.service" ];
+ after = [ "cfssl.target" ];
script = concatStringsSep "\n" [''
set -e
- mkdir -p $(dirname ${certmgrAPITokenPath})
- mkdir -p $(dirname ${top.caFile})
-
# If there's a cfssl (cert issuer) running locally, then don't rely on user to
# manually paste it in place. Just symlink.
# otherwise, create the target file, ready for users to insert the token
@@ -218,18 +186,15 @@ in
fi
''
(optionalString (cfg.pkiTrustOnBootstrap) ''
- if [ ! -s "${top.caFile}" ]; then
- until test -s ${top.caFile}.json; do
- sleep 2
- curl --fail-early -fskd '{}' ${remote}/api/v1/cfssl/info -o ${top.caFile}.json
- done
- cfssljson -f ${top.caFile}.json -stdout >${top.caFile}
- rm ${top.caFile}.json
+ if [ ! -f "${top.caFile}" ] || [ $(cat "${top.caFile}" | wc -c) -lt 1 ]; then
+ ${pkgs.curl}/bin/curl --fail-early -f -kd '{}' ${remote}/api/v1/cfssl/info | \
+ ${pkgs.cfssl}/bin/cfssljson -stdout >${top.caFile}
fi
'')
];
serviceConfig = {
- TimeoutSec = "500";
+ RestartSec = "10s";
+ Restart = "on-failure";
};
};
@@ -265,28 +230,35 @@ in
mapAttrs mkSpec cfg.certs;
};
- systemd.services.certmgr = {
- wantedBy = [ "cfssl-online.target" ];
- after = [ "cfssl-online.target" "kube-certmgr-bootstrap.service" ];
- preStart = ''
- while ! test -s ${certmgrAPITokenPath} ; do
- sleep 1
- echo Waiting for ${certmgrAPITokenPath}
- done
- '';
- unitConfig.ConditionPathExists = certmgrPaths;
- };
+ #TODO: Get rid of kube-addon-manager in the future for the following reasons
+ # - it is basically just a shell script wrapped around kubectl
+ # - it assumes that it is clusterAdmin or can gain clusterAdmin rights through serviceAccount
+ # - it is designed to be used with k8s system components only
+ # - it would be better with a more Nix-oriented way of managing addons
+ systemd.services.kube-addon-manager = mkIf top.addonManager.enable (mkMerge [{
+ environment.KUBECONFIG = with cfg.certs.addonManager;
+ top.lib.mkKubeConfig "addon-manager" {
+ server = top.apiserverAddress;
+ certFile = cert;
+ keyFile = key;
+ };
+ }
- systemd.paths.certmgr = {
- wantedBy = [ "certmgr.service" ];
- pathConfig = {
- PathExists = certmgrPaths;
- PathChanged = certmgrPaths;
- };
- };
+ (optionalAttrs (top.addonManager.bootstrapAddons != {}) {
+ serviceConfig.PermissionsStartOnly = true;
+ preStart = with pkgs;
+ let
+ files = mapAttrsToList (n: v: writeText "${n}.json" (builtins.toJSON v))
+ top.addonManager.bootstrapAddons;
+ in
+ ''
+ export KUBECONFIG=${clusterAdminKubeconfig}
+ ${kubectl}/bin/kubectl apply -f ${concatStringsSep " \\\n -f " files}
+ '';
+ })]);
- environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (cfg.etcClusterAdminKubeconfig != null)
- (top.lib.mkKubeConfig "cluster-admin" clusterAdminKubeconfig);
+ environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (!isNull cfg.etcClusterAdminKubeconfig)
+ clusterAdminKubeconfig;
environment.systemPackages = mkIf (top.kubelet.enable || top.proxy.enable) [
(pkgs.writeScriptBin "nixos-kubernetes-node-join" ''
@@ -312,22 +284,38 @@ in
exit 1
fi
- do_restart=$(test -s ${certmgrAPITokenPath} && echo -n y || echo -n n)
-
echo $token > ${certmgrAPITokenPath}
chmod 600 ${certmgrAPITokenPath}
- if [ y = $do_restart ]; then
- echo "Restarting certmgr..." >&1
- systemctl restart certmgr
- fi
+ echo "Restarting certmgr..." >&1
+ systemctl restart certmgr
- echo "Node joined succesfully" >&1
+ echo "Waiting for certs to appear..." >&1
+
+ ${optionalString top.kubelet.enable ''
+ while [ ! -f ${cfg.certs.kubelet.cert} ]; do sleep 1; done
+ echo "Restarting kubelet..." >&1
+ systemctl restart kubelet
+ ''}
+
+ ${optionalString top.proxy.enable ''
+ while [ ! -f ${cfg.certs.kubeProxyClient.cert} ]; do sleep 1; done
+ echo "Restarting kube-proxy..." >&1
+ systemctl restart kube-proxy
+ ''}
+
+ ${optionalString top.flannel.enable ''
+ while [ ! -f ${cfg.certs.flannelClient.cert} ]; do sleep 1; done
+ echo "Restarting flannel..." >&1
+ systemctl restart flannel
+ ''}
+
+ echo "Node joined succesfully"
'')];
# isolate etcd on loopback at the master node
# easyCerts doesn't support multimaster clusters anyway atm.
- services.etcd = mkIf top.apiserver.enable (with cfg.certs.etcd; {
+ services.etcd = with cfg.certs.etcd; {
listenClientUrls = ["https://127.0.0.1:2379"];
listenPeerUrls = ["https://127.0.0.1:2380"];
advertiseClientUrls = ["https://etcd.local:2379"];
@@ -336,11 +324,19 @@ in
certFile = mkDefault cert;
keyFile = mkDefault key;
trustedCaFile = mkDefault caCert;
- });
+ };
networking.extraHosts = mkIf (config.services.etcd.enable) ''
127.0.0.1 etcd.${top.addons.dns.clusterDomain} etcd.local
'';
+ services.flannel = with cfg.certs.flannelClient; {
+ kubeconfig = top.lib.mkKubeConfig "flannel" {
+ server = top.apiserverAddress;
+ certFile = cert;
+ keyFile = key;
+ };
+ };
+
services.kubernetes = {
apiserver = mkIf top.apiserver.enable (with cfg.certs.apiServer; {
@@ -360,13 +356,6 @@ in
proxyClientCertFile = mkDefault cfg.certs.apiserverProxyClient.cert;
proxyClientKeyFile = mkDefault cfg.certs.apiserverProxyClient.key;
});
- addonManager = mkIf top.addonManager.enable {
- kubeconfig = with cfg.certs.addonManager; {
- certFile = mkDefault cert;
- keyFile = mkDefault key;
- };
- bootstrapAddonsKubeconfig = clusterAdminKubeconfig;
- };
controllerManager = mkIf top.controllerManager.enable {
serviceAccountKeyFile = mkDefault cfg.certs.serviceAccount.key;
rootCaFile = cfg.certs.controllerManagerClient.caCert;
@@ -375,12 +364,6 @@ in
keyFile = mkDefault key;
};
};
- flannel = mkIf top.flannel.enable {
- kubeconfig = with cfg.certs.flannelClient; {
- certFile = cert;
- keyFile = key;
- };
- };
scheduler = mkIf top.scheduler.enable {
kubeconfig = with cfg.certs.schedulerClient; {
certFile = mkDefault cert;
diff --git a/nixos/modules/services/cluster/kubernetes/proxy.nix b/nixos/modules/services/cluster/kubernetes/proxy.nix
index 23f4d97b703..bd4bf04ea83 100644
--- a/nixos/modules/services/cluster/kubernetes/proxy.nix
+++ b/nixos/modules/services/cluster/kubernetes/proxy.nix
@@ -45,28 +45,12 @@ in
};
###### implementation
- config = let
-
- proxyPaths = filter (a: a != null) [
- cfg.kubeconfig.caFile
- cfg.kubeconfig.certFile
- cfg.kubeconfig.keyFile
- ];
-
- in mkIf cfg.enable {
- systemd.services.kube-proxy = rec {
+ config = mkIf cfg.enable {
+ systemd.services.kube-proxy = {
description = "Kubernetes Proxy Service";
- wantedBy = [ "kube-node-online.target" ];
- after = [ "kubelet-online.service" ];
- before = [ "kube-node-online.target" ];
- environment.KUBECONFIG = top.lib.mkKubeConfig "kube-proxy" cfg.kubeconfig;
- path = with pkgs; [ iptables conntrack_tools kubectl ];
- preStart = ''
- until kubectl auth can-i get nodes/${top.kubelet.hostname} -q 2>/dev/null; do
- echo kubectl auth can-i get nodes/${top.kubelet.hostname}: exit status $?
- sleep 2
- done
- '';
+ wantedBy = [ "kubernetes.target" ];
+ after = [ "kube-apiserver.service" ];
+ path = with pkgs; [ iptables conntrack_tools ];
serviceConfig = {
Slice = "kubernetes.slice";
ExecStart = ''${top.package}/bin/kube-proxy \
@@ -75,7 +59,7 @@ in
"--cluster-cidr=${top.clusterCidr}"} \
${optionalString (cfg.featureGates != [])
"--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
- --kubeconfig=${environment.KUBECONFIG} \
+ --kubeconfig=${top.lib.mkKubeConfig "kube-proxy" cfg.kubeconfig} \
${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
${cfg.extraOpts}
'';
@@ -83,15 +67,6 @@ in
Restart = "on-failure";
RestartSec = 5;
};
- unitConfig.ConditionPathExists = proxyPaths;
- };
-
- systemd.paths.kube-proxy = {
- wantedBy = [ "kube-proxy.service" ];
- pathConfig = {
- PathExists = proxyPaths;
- PathChanged = proxyPaths;
- };
};
services.kubernetes.pki.certs = {
diff --git a/nixos/modules/services/cluster/kubernetes/scheduler.nix b/nixos/modules/services/cluster/kubernetes/scheduler.nix
index a0e48454295..5f6113227d9 100644
--- a/nixos/modules/services/cluster/kubernetes/scheduler.nix
+++ b/nixos/modules/services/cluster/kubernetes/scheduler.nix
@@ -56,35 +56,18 @@ in
};
###### implementation
- config = let
-
- schedulerPaths = filter (a: a != null) [
- cfg.kubeconfig.caFile
- cfg.kubeconfig.certFile
- cfg.kubeconfig.keyFile
- ];
-
- in mkIf cfg.enable {
- systemd.services.kube-scheduler = rec {
+ config = mkIf cfg.enable {
+ systemd.services.kube-scheduler = {
description = "Kubernetes Scheduler Service";
- wantedBy = [ "kube-control-plane-online.target" ];
+ wantedBy = [ "kubernetes.target" ];
after = [ "kube-apiserver.service" ];
- before = [ "kube-control-plane-online.target" ];
- environment.KUBECONFIG = top.lib.mkKubeConfig "kube-scheduler" cfg.kubeconfig;
- path = [ pkgs.kubectl ];
- preStart = ''
- until kubectl auth can-i get /api -q 2>/dev/null; do
- echo kubectl auth can-i get /api: exit status $?
- sleep 2
- done
- '';
serviceConfig = {
Slice = "kubernetes.slice";
ExecStart = ''${top.package}/bin/kube-scheduler \
--address=${cfg.address} \
${optionalString (cfg.featureGates != [])
"--feature-gates=${concatMapStringsSep "," (feature: "${feature}=true") cfg.featureGates}"} \
- --kubeconfig=${environment.KUBECONFIG} \
+ --kubeconfig=${top.lib.mkKubeConfig "kube-scheduler" cfg.kubeconfig} \
--leader-elect=${boolToString cfg.leaderElect} \
--port=${toString cfg.port} \
${optionalString (cfg.verbosity != null) "--v=${toString cfg.verbosity}"} \
@@ -96,15 +79,6 @@ in
Restart = "on-failure";
RestartSec = 5;
};
- unitConfig.ConditionPathExists = schedulerPaths;
- };
-
- systemd.paths.kube-scheduler = {
- wantedBy = [ "kube-scheduler.service" ];
- pathConfig = {
- PathExists = schedulerPaths;
- PathChanged = schedulerPaths;
- };
};
services.kubernetes.pki.certs = {
diff --git a/nixos/modules/services/computing/boinc/client.nix b/nixos/modules/services/computing/boinc/client.nix
index 8abe3c5b8c9..a7edac02538 100644
--- a/nixos/modules/services/computing/boinc/client.nix
+++ b/nixos/modules/services/computing/boinc/client.nix
@@ -105,19 +105,18 @@ in
isSystemUser = true;
};
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - boinc - - -"
+ ];
+
systemd.services.boinc = {
description = "BOINC Client";
- after = ["network.target" "local-fs.target"];
+ after = ["network.target"];
wantedBy = ["multi-user.target"];
- preStart = ''
- mkdir -p ${cfg.dataDir}
- chown boinc ${cfg.dataDir}
- '';
script = ''
${fhsEnvExecutable} --dir ${cfg.dataDir} --redirectio ${allowRemoteGuiRpcFlag}
'';
serviceConfig = {
- PermissionsStartOnly = true; # preStart must be run as root
User = "boinc";
Nice = 10;
};
diff --git a/nixos/modules/services/continuous-integration/gitlab-runner.nix b/nixos/modules/services/continuous-integration/gitlab-runner.nix
index 3ceaa6f5ff3..3d307b1abcf 100644
--- a/nixos/modules/services/continuous-integration/gitlab-runner.nix
+++ b/nixos/modules/services/continuous-integration/gitlab-runner.nix
@@ -111,7 +111,10 @@ in
config = mkIf cfg.enable {
systemd.services.gitlab-runner = {
path = cfg.packages;
- environment = config.networking.proxy.envVars;
+ environment = config.networking.proxy.envVars // {
+ # Gitlab runner will not start if the HOME variable is not set
+ HOME = cfg.workDir;
+ };
description = "Gitlab Runner";
after = [ "network.target" ]
++ optional hasDocker "docker.service";
diff --git a/nixos/modules/services/continuous-integration/hydra/default.nix b/nixos/modules/services/continuous-integration/hydra/default.nix
index c7fe4eeeab9..2da10a9a5e2 100644
--- a/nixos/modules/services/continuous-integration/hydra/default.nix
+++ b/nixos/modules/services/continuous-integration/hydra/default.nix
@@ -43,7 +43,7 @@ in
###### interface
options = {
- services.hydra = rec {
+ services.hydra = {
enable = mkOption {
type = types.bool;
@@ -275,6 +275,7 @@ in
${pkgs.sudo}/bin/sudo -u ${config.services.postgresql.superUser} ${config.services.postgresql.package}/bin/createdb -O hydra hydra
touch ${baseDir}/.db-created
fi
+ echo "create extension if not exists pg_trgm" | ${pkgs.sudo}/bin/sudo -u ${config.services.postgresql.superUser} -- ${config.services.postgresql.package}/bin/psql hydra
''}
if [ ! -e ${cfg.gcRootsDir} ]; then
@@ -379,6 +380,23 @@ in
};
};
+ systemd.services.hydra-notify =
+ { wantedBy = [ "multi-user.target" ];
+ requires = [ "hydra-init.service" ];
+ after = [ "hydra-init.service" ];
+ restartTriggers = [ hydraConf ];
+ environment = env // {
+ PGPASSFILE = "${baseDir}/pgpass-queue-runner";
+ };
+ serviceConfig =
+ { ExecStart = "@${cfg.package}/bin/hydra-notify hydra-notify";
+ # FIXME: run this under a less privileged user?
+ User = "hydra-queue-runner";
+ Restart = "always";
+ RestartSec = 5;
+ };
+ };
+
# If there is less than a certain amount of free disk space, stop
# the queue/evaluator to prevent builds from failing or aborting.
systemd.services.hydra-check-space =
@@ -416,6 +434,8 @@ in
hydra-users hydra-queue-runner hydra
hydra-users hydra-www hydra
hydra-users root hydra
+ # The postgres user is used to create the pg_trgm extension for the hydra database
+ hydra-users postgres postgres
'';
services.postgresql.authentication = optionalString haveLocalDB
diff --git a/nixos/modules/services/databases/cassandra.nix b/nixos/modules/services/databases/cassandra.nix
index 68893886802..90c094f68b6 100644
--- a/nixos/modules/services/databases/cassandra.nix
+++ b/nixos/modules/services/databases/cassandra.nix
@@ -8,18 +8,21 @@ let
cassandraConfig = flip recursiveUpdate cfg.extraConfig
({ commitlog_sync = "batch";
commitlog_sync_batch_window_in_ms = 2;
+ start_native_transport = cfg.allowClients;
+ cluster_name = cfg.clusterName;
partitioner = "org.apache.cassandra.dht.Murmur3Partitioner";
endpoint_snitch = "SimpleSnitch";
- seed_provider =
- [{ class_name = "org.apache.cassandra.locator.SimpleSeedProvider";
- parameters = [ { seeds = "127.0.0.1"; } ];
- }];
data_file_directories = [ "${cfg.homeDir}/data" ];
commitlog_directory = "${cfg.homeDir}/commitlog";
saved_caches_directory = "${cfg.homeDir}/saved_caches";
- } // (if builtins.compareVersions cfg.package.version "3" >= 0
- then { hints_directory = "${cfg.homeDir}/hints"; }
- else {})
+ } // (lib.optionalAttrs (cfg.seedAddresses != []) {
+ seed_provider = [{
+ class_name = "org.apache.cassandra.locator.SimpleSeedProvider";
+ parameters = [ { seeds = concatStringsSep "," cfg.seedAddresses; } ];
+ }];
+ }) // (lib.optionalAttrs (lib.versionAtLeast cfg.package.version "3") {
+ hints_directory = "${cfg.homeDir}/hints";
+ })
);
cassandraConfigWithAddresses = cassandraConfig //
( if cfg.listenAddress == null
@@ -39,15 +42,42 @@ let
mkdir -p "$out"
echo "$cassandraYaml" > "$out/cassandra.yaml"
- ln -s "$cassandraEnvPkg" "$out/cassandra-env.sh"
ln -s "$cassandraLogbackConfig" "$out/logback.xml"
+
+ cp "$cassandraEnvPkg" "$out/cassandra-env.sh"
+
+ # Delete default JMX Port, otherwise we can't set it using env variable
+ sed -i '/JMX_PORT="7199"/d' "$out/cassandra-env.sh"
+
+ # Delete default password file
+ sed -i '/-Dcom.sun.management.jmxremote.password.file=\/etc\/cassandra\/jmxremote.password/d' "$out/cassandra-env.sh"
'';
};
+ defaultJmxRolesFile = builtins.foldl'
+ (left: right: left + right) ""
+ (map (role: "${role.username} ${role.password}") cfg.jmxRoles);
+ fullJvmOptions = cfg.jvmOpts
+ ++ lib.optionals (cfg.jmxRoles != []) [
+ "-Dcom.sun.management.jmxremote.authenticate=true"
+ "-Dcom.sun.management.jmxremote.password.file=${cfg.jmxRolesFile}"
+ ]
+ ++ lib.optionals cfg.remoteJmx [
+ "-Djava.rmi.server.hostname=${cfg.rpcAddress}"
+ ];
in {
options.services.cassandra = {
enable = mkEnableOption ''
Apache Cassandra – Scalable and highly available database.
'';
+ clusterName = mkOption {
+ type = types.str;
+ default = "Test Cluster";
+ description = ''
+ The name of the cluster.
+ This setting prevents nodes in one logical cluster from joining
+ another. All nodes in a cluster must have the same value.
+ '';
+ };
user = mkOption {
type = types.str;
default = defaultUser;
@@ -162,6 +192,28 @@ in {
XML logback configuration for cassandra
'';
};
+ seedAddresses = mkOption {
+ type = types.listOf types.str;
+ default = [ "127.0.0.1" ];
+ description = ''
+ The addresses of hosts designated as contact points in the cluster. A
+ joining node contacts one of the nodes in the seeds list to learn the
+ topology of the ring.
+ Set to 127.0.0.1 for a single node cluster.
+ '';
+ };
+ allowClients = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Enables or disables the native transport server (CQL binary protocol).
+ This server uses the same address as the rpcAddress,
+ but the port it uses is not rpc_port but
+ native_transport_port. See the official Cassandra
+ docs for more information on these variables and set them using
+ extraConfig.
+ '';
+ };
extraConfig = mkOption {
type = types.attrs;
default = {};
@@ -178,11 +230,11 @@ in {
example = literalExample "null";
description = ''
Set the interval how often full repairs are run, i.e.
- `nodetool repair --full` is executed. See
+ nodetool repair --full is executed. See
https://cassandra.apache.org/doc/latest/operating/repair.html
for more information.
- Set to `null` to disable full repairs.
+ Set to null to disable full repairs.
'';
};
fullRepairOptions = mkOption {
@@ -199,45 +251,160 @@ in {
example = literalExample "null";
description = ''
Set the interval how often incremental repairs are run, i.e.
- `nodetool repair` is executed. See
+ nodetool repair is executed. See
https://cassandra.apache.org/doc/latest/operating/repair.html
for more information.
- Set to `null` to disable incremental repairs.
+ Set to null to disable incremental repairs.
'';
};
incrementalRepairOptions = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
example = [ "--partitioner-range" ];
description = ''
Options passed through to the incremental repair command.
'';
};
+ maxHeapSize = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "4G";
+ description = ''
+ Must be left blank or set together with heapNewSize.
+ If left blank a sensible value for the available amount of RAM and CPU
+ cores is calculated.
+
+ Override to set the amount of memory to allocate to the JVM at
+ start-up. For production use you may wish to adjust this for your
+ environment. MAX_HEAP_SIZE is the total amount of memory dedicated
+ to the Java heap. HEAP_NEWSIZE refers to the size of the young
+ generation.
+
+ The main trade-off for the young generation is that the larger it
+ is, the longer GC pause times will be. The shorter it is, the more
+ expensive GC will be (usually).
+ '';
+ };
+ heapNewSize = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "800M";
+ description = ''
+ Must be left blank or set together with heapNewSize.
+ If left blank a sensible value for the available amount of RAM and CPU
+ cores is calculated.
+
+ Override to set the amount of memory to allocate to the JVM at
+ start-up. For production use you may wish to adjust this for your
+ environment. HEAP_NEWSIZE refers to the size of the young
+ generation.
+
+ The main trade-off for the young generation is that the larger it
+ is, the longer GC pause times will be. The shorter it is, the more
+ expensive GC will be (usually).
+
+ The example HEAP_NEWSIZE assumes a modern 8-core+ machine for decent pause
+ times. If in doubt, and if you do not particularly want to tweak, go with
+ 100 MB per physical CPU core.
+ '';
+ };
+ mallocArenaMax = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ example = 4;
+ description = ''
+ Set this to control the amount of arenas per-thread in glibc.
+ '';
+ };
+ remoteJmx = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Cassandra ships with JMX accessible *only* from localhost.
+ To enable remote JMX connections set to true.
+
+ Be sure to also enable authentication and/or TLS.
+ See: https://wiki.apache.org/cassandra/JmxSecurity
+ '';
+ };
+ jmxPort = mkOption {
+ type = types.int;
+ default = 7199;
+ description = ''
+ Specifies the default port over which Cassandra will be available for
+ JMX connections.
+ For security reasons, you should not expose this port to the internet.
+ Firewall it if needed.
+ '';
+ };
+ jmxRoles = mkOption {
+ default = [];
+ description = ''
+ Roles that are allowed to access the JMX (e.g. nodetool)
+ BEWARE: The passwords will be stored world readable in the nix-store.
+ It's recommended to use your own protected file using
+ jmxRolesFile
+
+ Doesn't work in versions older than 3.11 because they don't like that
+ it's world readable.
+ '';
+ type = types.listOf (types.submodule {
+ options = {
+ username = mkOption {
+ type = types.str;
+ description = "Username for JMX";
+ };
+ password = mkOption {
+ type = types.str;
+ description = "Password for JMX";
+ };
+ };
+ });
+ };
+ jmxRolesFile = mkOption {
+ type = types.nullOr types.path;
+ default = if (lib.versionAtLeast cfg.package.version "3.11")
+ then pkgs.writeText "jmx-roles-file" defaultJmxRolesFile
+ else null;
+ example = "/var/lib/cassandra/jmx.password";
+ description = ''
+ Specify your own jmx roles file.
+
+ Make sure the permissions forbid "others" from reading the file if
+ you're using Cassandra below version 3.11.
+ '';
+ };
};
config = mkIf cfg.enable {
assertions =
- [ { assertion =
- (cfg.listenAddress == null || cfg.listenInterface == null)
- && !(cfg.listenAddress == null && cfg.listenInterface == null);
+ [ { assertion = (cfg.listenAddress == null) != (cfg.listenInterface == null);
message = "You have to set either listenAddress or listenInterface";
}
- { assertion =
- (cfg.rpcAddress == null || cfg.rpcInterface == null)
- && !(cfg.rpcAddress == null && cfg.rpcInterface == null);
+ { assertion = (cfg.rpcAddress == null) != (cfg.rpcInterface == null);
message = "You have to set either rpcAddress or rpcInterface";
}
+ { assertion = (cfg.maxHeapSize == null) == (cfg.heapNewSize == null);
+ message = "If you set either of maxHeapSize or heapNewSize you have to set both";
+ }
+ { assertion = cfg.remoteJmx -> cfg.jmxRolesFile != null;
+ message = ''
+ If you want JMX available remotely you need to set a password using
+ jmxRoles or jmxRolesFile if
+ using Cassandra older than v3.11.
+ '';
+ }
];
users = mkIf (cfg.user == defaultUser) {
- extraUsers."${defaultUser}" =
+ extraUsers.${defaultUser} =
{ group = cfg.group;
home = cfg.homeDir;
createHome = true;
uid = config.ids.uids.cassandra;
description = "Cassandra service user";
};
- extraGroups."${defaultUser}".gid = config.ids.gids.cassandra;
+ extraGroups.${defaultUser}.gid = config.ids.gids.cassandra;
};
systemd.services.cassandra =
@@ -245,7 +412,12 @@ in {
after = [ "network.target" ];
environment =
{ CASSANDRA_CONF = "${cassandraEtc}";
- JVM_OPTS = builtins.concatStringsSep " " cfg.jvmOpts;
+ JVM_OPTS = builtins.concatStringsSep " " fullJvmOptions;
+ MAX_HEAP_SIZE = toString cfg.maxHeapSize;
+ HEAP_NEWSIZE = toString cfg.heapNewSize;
+ MALLOC_ARENA_MAX = toString cfg.mallocArenaMax;
+ LOCAL_JMX = if cfg.remoteJmx then "no" else "yes";
+ JMX_PORT = toString cfg.jmxPort;
};
wantedBy = [ "multi-user.target" ];
serviceConfig =
diff --git a/nixos/modules/services/databases/couchdb.nix b/nixos/modules/services/databases/couchdb.nix
index 5ddf8ba4bfb..53224db1d89 100644
--- a/nixos/modules/services/databases/couchdb.nix
+++ b/nixos/modules/services/databases/couchdb.nix
@@ -56,7 +56,7 @@ in {
user = mkOption {
- type = types.string;
+ type = types.str;
default = "couchdb";
description = ''
User account under which couchdb runs.
@@ -64,7 +64,7 @@ in {
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "couchdb";
description = ''
Group account under which couchdb runs.
@@ -106,7 +106,7 @@ in {
};
bindAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "127.0.0.1";
description = ''
Defines the IP address by which CouchDB will be accessible.
@@ -138,7 +138,7 @@ in {
};
configFile = mkOption {
- type = types.string;
+ type = types.path;
description = ''
Configuration file for persisting runtime changes. File
needs to be readable and writable from couchdb user/group.
@@ -160,7 +160,7 @@ in {
systemd.tmpfiles.rules = [
"d '${dirOf cfg.uriFile}' - ${cfg.user} ${cfg.group} - -"
- "d '${dirOf cfg.logFile}' - ${cfg.user} ${cfg.group} - -"
+ "f '${cfg.logFile}' - ${cfg.user} ${cfg.group} - -"
"d '${cfg.databaseDir}' - ${cfg.user} ${cfg.group} - -"
"d '${cfg.viewIndexDir}' - ${cfg.user} ${cfg.group} - -"
];
@@ -169,11 +169,9 @@ in {
description = "CouchDB Server";
wantedBy = [ "multi-user.target" ];
- preStart =
- ''
+ preStart = ''
touch ${cfg.configFile}
- touch -a ${cfg.logFile}
- '';
+ '';
environment = mkIf useVersion2 {
# we are actually specifying 4 configuration files:
diff --git a/nixos/modules/services/databases/firebird.nix b/nixos/modules/services/databases/firebird.nix
index cc81b440450..042c9841df5 100644
--- a/nixos/modules/services/databases/firebird.nix
+++ b/nixos/modules/services/databases/firebird.nix
@@ -95,6 +95,11 @@ in
environment.systemPackages = [cfg.package];
+ systemd.tmpfiles.rules = [
+ "d '${dataDir}' 0700 ${cfg.user} - - -"
+ "d '${systemDir}' 0700 ${cfg.user} - - -"
+ ];
+
systemd.services.firebird =
{ description = "Firebird Super-Server";
@@ -104,21 +109,16 @@ in
# is a better way
preStart =
''
- mkdir -m 0700 -p \
- "${dataDir}" \
- "${systemDir}" \
- /var/log/firebird
-
if ! test -e "${systemDir}/security2.fdb"; then
cp ${firebird}/security2.fdb "${systemDir}"
fi
- chown -R ${cfg.user} "${dataDir}" "${systemDir}" /var/log/firebird
chmod -R 700 "${dataDir}" "${systemDir}" /var/log/firebird
'';
- serviceConfig.PermissionsStartOnly = true; # preStart must be run as root
serviceConfig.User = cfg.user;
+ serviceConfig.LogsDirectory = "firebird";
+ serviceConfig.LogsDirectoryMode = "0700";
serviceConfig.ExecStart = ''${firebird}/bin/fbserver -d'';
# TODO think about shutdown
diff --git a/nixos/modules/services/databases/foundationdb.nix b/nixos/modules/services/databases/foundationdb.nix
index 490c5e9d005..8f8d0da7c8d 100644
--- a/nixos/modules/services/databases/foundationdb.nix
+++ b/nixos/modules/services/databases/foundationdb.nix
@@ -140,7 +140,7 @@ in
};
logSize = mkOption {
- type = types.string;
+ type = types.str;
default = "10MiB";
description = ''
Roll over to a new log file after the current log file
@@ -149,7 +149,7 @@ in
};
maxLogSize = mkOption {
- type = types.string;
+ type = types.str;
default = "100MiB";
description = ''
Delete the oldest log file when the total size of all log
@@ -171,7 +171,7 @@ in
};
memory = mkOption {
- type = types.string;
+ type = types.str;
default = "8GiB";
description = ''
Maximum memory used by the process. The default value is
@@ -193,7 +193,7 @@ in
};
storageMemory = mkOption {
- type = types.string;
+ type = types.str;
default = "1GiB";
description = ''
Maximum memory used for data storage. The default value is
@@ -359,6 +359,13 @@ in
}
];
+ systemd.tmpfiles.rules = [
+ "d /etc/foundationdb 0755 ${cfg.user} ${cfg.group} - -"
+ "d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group} - -"
+ "d '${cfg.logDir}' 0770 ${cfg.user} ${cfg.group} - -"
+ "F '${cfg.pidfile}' - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.foundationdb = {
description = "FoundationDB Service";
@@ -396,25 +403,12 @@ in
path = [ pkg pkgs.coreutils ];
preStart = ''
- rm -f ${cfg.pidfile} && \
- touch ${cfg.pidfile} && \
- chown -R ${cfg.user}:${cfg.group} ${cfg.pidfile}
-
- for x in "${cfg.logDir}" "${cfg.dataDir}"; do
- [ ! -d "$x" ] && mkdir -m 0770 -vp "$x";
- chown -R ${cfg.user}:${cfg.group} "$x";
- done
-
- [ ! -d /etc/foundationdb ] && \
- mkdir -m 0775 -vp /etc/foundationdb && \
- chown -R ${cfg.user}:${cfg.group} "/etc/foundationdb"
-
if [ ! -f /etc/foundationdb/fdb.cluster ]; then
cf=/etc/foundationdb/fdb.cluster
desc=$(tr -dc A-Za-z0-9 /dev/null | head -c8)
rand=$(tr -dc A-Za-z0-9 /dev/null | head -c8)
echo ''${desc}:''${rand}@${initialIpAddr}:${builtins.toString cfg.listenPortStart} > $cf
- chmod 0664 $cf && chown -R ${cfg.user}:${cfg.group} $cf
+ chmod 0664 $cf
touch "${cfg.dataDir}/.first_startup"
fi
'';
diff --git a/nixos/modules/services/databases/foundationdb.xml b/nixos/modules/services/databases/foundationdb.xml
index bf4b644c9b8..b0b1ebeab45 100644
--- a/nixos/modules/services/databases/foundationdb.xml
+++ b/nixos/modules/services/databases/foundationdb.xml
@@ -47,14 +47,14 @@ services.foundationdb.package = pkgs.foundationdb52; # FoundationDB 5.2.x
After running nixos-rebuild, you can verify whether
FoundationDB is running by executing fdbcli (which is
added to ):
-
-$ sudo -u foundationdb fdbcli
+
+$ sudo -u foundationdb fdbcli
Using cluster file `/etc/foundationdb/fdb.cluster'.
The database is available.
Welcome to the fdbcli. For help, type `help'.
-fdb> status
+fdb> status
Using cluster file `/etc/foundationdb/fdb.cluster'.
@@ -72,8 +72,8 @@ Cluster:
...
-fdb>
-
+fdb>
+
@@ -82,8 +82,8 @@ fdb>
cluster status, as a quick example. (This example uses
nix-shell shebang support to automatically supply the
necessary Python modules).
-
-a@link> cat fdb-status.py
+
+a@link> cat fdb-status.py
#! /usr/bin/env nix-shell
#! nix-shell -i python -p python pythonPackages.foundationdb52
@@ -103,11 +103,11 @@ def main():
if __name__ == "__main__":
main()
-a@link> chmod +x fdb-status.py
-a@link> ./fdb-status.py
+a@link> chmod +x fdb-status.py
+a@link> ./fdb-status.py
FoundationDB available: True
-a@link>
-
+a@link>
+
@@ -266,10 +266,10 @@ services.foundationdb.dataDir = "/data/fdb";
every node a coordinator automatically:
-
-fdbcli> configure double ssd
-fdbcli> coordinators auto
-
+
+fdbcli> configure double ssd
+fdbcli> coordinators auto
+
This will transparently update all the servers within seconds, and
@@ -386,10 +386,10 @@ services.foundationdb.extraReadWritePaths = [ "/opt/fdb-backups" ];
You can now perform a backup:
-
-$ sudo -u foundationdb fdbbackup start -t default -d file:///opt/fdb-backups
-$ sudo -u foundationdb fdbbackup status -t default
-
+
+$ sudo -u foundationdb fdbbackup start -t default -d file:///opt/fdb-backups
+$ sudo -u foundationdb fdbbackup status -t default
+
Known limitations
diff --git a/nixos/modules/services/databases/hbase.nix b/nixos/modules/services/databases/hbase.nix
index 52f2d95b4e0..2d1a47bbaa3 100644
--- a/nixos/modules/services/databases/hbase.nix
+++ b/nixos/modules/services/databases/hbase.nix
@@ -53,7 +53,7 @@ in {
user = mkOption {
- type = types.string;
+ type = types.str;
default = "hbase";
description = ''
User account under which HBase runs.
@@ -61,7 +61,7 @@ in {
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "hbase";
description = ''
Group account under which HBase runs.
@@ -94,6 +94,11 @@ in {
config = mkIf config.services.hbase.enable {
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - ${cfg.user} ${cfg.group} - -"
+ "d '${cfg.logDir}' - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.hbase = {
description = "HBase Server";
wantedBy = [ "multi-user.target" ];
@@ -103,19 +108,7 @@ in {
HBASE_LOG_DIR = cfg.logDir;
};
- preStart =
- ''
- mkdir -p ${cfg.dataDir};
- mkdir -p ${cfg.logDir};
-
- if [ "$(id -u)" = 0 ]; then
- chown ${cfg.user}:${cfg.group} ${cfg.dataDir}
- chown ${cfg.user}:${cfg.group} ${cfg.logDir}
- fi
- '';
-
serviceConfig = {
- PermissionsStartOnly = true;
User = cfg.user;
Group = cfg.group;
ExecStart = "${cfg.package}/bin/hbase --config ${configDir} master start";
diff --git a/nixos/modules/services/databases/influxdb.nix b/nixos/modules/services/databases/influxdb.nix
index 6868050c844..2f176a03872 100644
--- a/nixos/modules/services/databases/influxdb.nix
+++ b/nixos/modules/services/databases/influxdb.nix
@@ -129,13 +129,13 @@ in
user = mkOption {
default = "influxdb";
description = "User account under which influxdb runs";
- type = types.string;
+ type = types.str;
};
group = mkOption {
default = "influxdb";
description = "Group under which influxdb runs";
- type = types.string;
+ type = types.str;
};
dataDir = mkOption {
diff --git a/nixos/modules/services/databases/memcached.nix b/nixos/modules/services/databases/memcached.nix
index 052ff1f308e..84d2c8674f4 100644
--- a/nixos/modules/services/databases/memcached.nix
+++ b/nixos/modules/services/databases/memcached.nix
@@ -86,7 +86,24 @@ in
in "${memcached}/bin/memcached ${networking} -m ${toString cfg.maxMemory} -c ${toString cfg.maxConnections} ${concatStringsSep " " cfg.extraOptions}";
User = cfg.user;
+
+ # Filesystem access
+ ProtectSystem = "strict";
+ ProtectHome = true;
+ PrivateTmp = true;
+ PrivateDevices = true;
+ ProtectKernelTunables = true;
+ ProtectKernelModules = true;
+ ProtectControlGroups = true;
RuntimeDirectory = "memcached";
+ # Caps
+ CapabilityBoundingSet = "";
+ NoNewPrivileges = true;
+ # Misc.
+ LockPersonality = true;
+ RestrictRealtime = true;
+ PrivateMounts = true;
+ MemoryDenyWriteExecute = true;
};
};
};
diff --git a/nixos/modules/services/databases/mongodb.nix b/nixos/modules/services/databases/mongodb.nix
index c458a1d648a..12879afed47 100644
--- a/nixos/modules/services/databases/mongodb.nix
+++ b/nixos/modules/services/databases/mongodb.nix
@@ -65,9 +65,9 @@ in
default = false;
description = "Enable client authentication. Creates a default superuser with username root!";
};
-
+
initialRootPassword = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = "Password for the root user if auth is enabled.";
};
diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix
index 7e3c230fff7..df74cfc9a26 100644
--- a/nixos/modules/services/databases/mysql.nix
+++ b/nixos/modules/services/databases/mysql.nix
@@ -18,16 +18,12 @@ let
in (pName mysql == pName pkgs.mysql57)
&& ((builtins.compareVersions mysql.version "5.7") >= 0);
- pidFile = "${cfg.pidDir}/mysqld.pid";
-
- mysqldAndInstallOptions =
- "--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${mysql}";
mysqldOptions =
- "${mysqldAndInstallOptions} --pid-file=${pidFile}";
+ "--user=${cfg.user} --datadir=${cfg.dataDir} --basedir=${mysql}";
# For MySQL 5.7+, --insecure creates the root user without password
# (earlier versions and MariaDB do this by default).
installOptions =
- "${mysqldAndInstallOptions} ${lib.optionalString isMysqlAtLeast57 "--insecure"}";
+ "${mysqldOptions} ${lib.optionalString isMysqlAtLeast57 "--insecure"}";
in
@@ -80,11 +76,6 @@ in
description = "Location where MySQL stores its table files";
};
- pidDir = mkOption {
- default = "/run/mysqld";
- description = "Location of the file which stores the PID of the MySQL server";
- };
-
extraOptions = mkOption {
type = types.lines;
default = "";
@@ -213,12 +204,6 @@ in
'';
};
- # FIXME: remove this option; it's a really bad idea.
- rootPassword = mkOption {
- default = null;
- description = "Path to a file containing the root password, modified on the first startup. Not specifying a root password will leave the root password empty.";
- };
-
replication = {
role = mkOption {
type = types.enum [ "master" "slave" "none" ];
@@ -296,6 +281,10 @@ in
${cfg.extraOptions}
'';
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' 0700 ${cfg.user} mysql -"
+ ];
+
systemd.services.mysql = let
hasNotify = (cfg.package == pkgs.mariadb);
in {
@@ -313,130 +302,122 @@ in
pkgs.nettools
];
- preStart =
- ''
- if ! test -e ${cfg.dataDir}/mysql; then
- mkdir -m 0700 -p ${cfg.dataDir}
- chown -R ${cfg.user} ${cfg.dataDir}
- ${mysql}/bin/mysql_install_db --defaults-file=/etc/my.cnf ${installOptions}
- touch /tmp/mysql_init
- fi
-
- mkdir -m 0755 -p ${cfg.pidDir}
- chown -R ${cfg.user} ${cfg.pidDir}
- '';
+ preStart = ''
+ if ! test -e ${cfg.dataDir}/mysql; then
+ ${mysql}/bin/mysql_install_db --defaults-file=/etc/my.cnf ${installOptions}
+ touch /tmp/mysql_init
+ fi
+ '';
serviceConfig = {
+ User = cfg.user;
+ Group = "mysql";
Type = if hasNotify then "notify" else "simple";
RuntimeDirectory = "mysqld";
+ RuntimeDirectoryMode = "0755";
# The last two environment variables are used for starting Galera clusters
ExecStart = "${mysql}/bin/mysqld --defaults-file=/etc/my.cnf ${mysqldOptions} $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION";
- };
+ ExecStartPost =
+ let
+ setupScript = pkgs.writeScript "mysql-setup" ''
+ #!${pkgs.runtimeShell} -e
- postStart = ''
- ${lib.optionalString (!hasNotify) ''
- # Wait until the MySQL server is available for use
- count=0
- while [ ! -e /run/mysqld/mysqld.sock ]
- do
- if [ $count -eq 30 ]
+ ${optionalString (!hasNotify) ''
+ # Wait until the MySQL server is available for use
+ count=0
+ while [ ! -e /run/mysqld/mysqld.sock ]
+ do
+ if [ $count -eq 30 ]
+ then
+ echo "Tried 30 times, giving up..."
+ exit 1
+ fi
+
+ echo "MySQL daemon not yet started. Waiting for 1 second..."
+ count=$((count++))
+ sleep 1
+ done
+ ''}
+
+ if [ -f /tmp/mysql_init ]
then
- echo "Tried 30 times, giving up..."
- exit 1
+ ${concatMapStrings (database: ''
+ # Create initial databases
+ if ! test -e "${cfg.dataDir}/${database.name}"; then
+ echo "Creating initial database: ${database.name}"
+ ( echo 'create database `${database.name}`;'
+
+ ${optionalString (database.schema != null) ''
+ echo 'use `${database.name}`;'
+
+ # TODO: this silently falls through if database.schema does not exist,
+ # we should catch this somehow and exit, but can't do it here because we're in a subshell.
+ if [ -f "${database.schema}" ]
+ then
+ cat ${database.schema}
+ elif [ -d "${database.schema}" ]
+ then
+ cat ${database.schema}/mysql-databases/*.sql
+ fi
+ ''}
+ ) | ${mysql}/bin/mysql -u root -N
+ fi
+ '') cfg.initialDatabases}
+
+ ${optionalString (cfg.replication.role == "master")
+ ''
+ # Set up the replication master
+
+ ( echo "use mysql;"
+ echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
+ echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
+ echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
+ ) | ${mysql}/bin/mysql -u root -N
+ ''}
+
+ ${optionalString (cfg.replication.role == "slave")
+ ''
+ # Set up the replication slave
+
+ ( echo "stop slave;"
+ echo "change master to master_host='${cfg.replication.masterHost}', master_user='${cfg.replication.masterUser}', master_password='${cfg.replication.masterPassword}';"
+ echo "start slave;"
+ ) | ${mysql}/bin/mysql -u root -N
+ ''}
+
+ ${optionalString (cfg.initialScript != null)
+ ''
+ # Execute initial script
+ # using toString to avoid copying the file to nix store if given as path instead of string,
+ # as it might contain credentials
+ cat ${toString cfg.initialScript} | ${mysql}/bin/mysql -u root -N
+ ''}
+
+ rm /tmp/mysql_init
fi
- echo "MySQL daemon not yet started. Waiting for 1 second..."
- count=$((count++))
- sleep 1
- done
- ''}
+ ${optionalString (cfg.ensureDatabases != []) ''
+ (
+ ${concatMapStrings (database: ''
+ echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
+ '') cfg.ensureDatabases}
+ ) | ${mysql}/bin/mysql -u root -N
+ ''}
- if [ -f /tmp/mysql_init ]
- then
- ${concatMapStrings (database:
+ ${concatMapStrings (user:
''
- # Create initial databases
- if ! test -e "${cfg.dataDir}/${database.name}"; then
- echo "Creating initial database: ${database.name}"
- ( echo 'create database `${database.name}`;'
-
- ${optionalString (database.schema != null) ''
- echo 'use `${database.name}`;'
-
- # TODO: this silently falls through if database.schema does not exist,
- # we should catch this somehow and exit, but can't do it here because we're in a subshell.
- if [ -f "${database.schema}" ]
- then
- cat ${database.schema}
- elif [ -d "${database.schema}" ]
- then
- cat ${database.schema}/mysql-databases/*.sql
- fi
- ''}
- ) | ${mysql}/bin/mysql -u root -N
- fi
- '') cfg.initialDatabases}
-
- ${optionalString (cfg.replication.role == "master")
- ''
- # Set up the replication master
-
- ( echo "use mysql;"
- echo "CREATE USER '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' IDENTIFIED WITH mysql_native_password;"
- echo "SET PASSWORD FOR '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}' = PASSWORD('${cfg.replication.masterPassword}');"
- echo "GRANT REPLICATION SLAVE ON *.* TO '${cfg.replication.masterUser}'@'${cfg.replication.slaveHost}';"
+ ( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
+ ${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
+ echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
+ '') user.ensurePermissions)}
) | ${mysql}/bin/mysql -u root -N
- ''}
-
- ${optionalString (cfg.replication.role == "slave")
- ''
- # Set up the replication slave
-
- ( echo "stop slave;"
- echo "change master to master_host='${cfg.replication.masterHost}', master_user='${cfg.replication.masterUser}', master_password='${cfg.replication.masterPassword}';"
- echo "start slave;"
- ) | ${mysql}/bin/mysql -u root -N
- ''}
-
- ${optionalString (cfg.initialScript != null)
- ''
- # Execute initial script
- # using toString to avoid copying the file to nix store if given as path instead of string,
- # as it might contain credentials
- cat ${toString cfg.initialScript} | ${mysql}/bin/mysql -u root -N
- ''}
-
- ${optionalString (cfg.rootPassword != null)
- ''
- # Change root password
-
- ( echo "use mysql;"
- echo "update user set Password=password('$(cat ${cfg.rootPassword})') where User='root';"
- echo "flush privileges;"
- ) | ${mysql}/bin/mysql -u root -N
- ''}
-
- rm /tmp/mysql_init
- fi
-
- ${optionalString (cfg.ensureDatabases != []) ''
- (
- ${concatMapStrings (database: ''
- echo "CREATE DATABASE IF NOT EXISTS \`${database}\`;"
- '') cfg.ensureDatabases}
- ) | ${mysql}/bin/mysql -u root -N
- ''}
-
- ${concatMapStrings (user:
- ''
- ( echo "CREATE USER IF NOT EXISTS '${user.name}'@'localhost' IDENTIFIED WITH ${if isMariaDB then "unix_socket" else "auth_socket"};"
- ${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
- echo "GRANT ${permission} ON ${database} TO '${user.name}'@'localhost';"
- '') user.ensurePermissions)}
- ) | ${mysql}/bin/mysql -u root -N
- '') cfg.ensureUsers}
-
- ''; # */
+ '') cfg.ensureUsers}
+ '';
+ in
+ # ensureDatbases & ensureUsers depends on this script being run as root
+ # when the user has secured their mysql install
+ "+${setupScript}";
+ };
};
};
diff --git a/nixos/modules/services/databases/openldap.nix b/nixos/modules/services/databases/openldap.nix
index c2f458c0379..5bf57a1bf9c 100644
--- a/nixos/modules/services/databases/openldap.nix
+++ b/nixos/modules/services/databases/openldap.nix
@@ -47,26 +47,26 @@ in
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "openldap";
description = "User account under which slapd runs.";
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "openldap";
description = "Group account under which slapd runs.";
};
urlList = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [ "ldap:///" ];
description = "URL list slapd should listen on.";
example = [ "ldaps:///" ];
};
dataDir = mkOption {
- type = types.string;
+ type = types.path;
default = "/var/db/openldap";
description = "The database directory.";
};
@@ -237,8 +237,8 @@ in
config = mkIf cfg.enable {
assertions = [
{
- assertion = cfg.rootpwFile != null || cfg.rootpw != null;
- message = "Either services.openldap.rootpw or services.openldap.rootpwFile must be set";
+ assertion = cfg.configDir != null || cfg.rootpwFile != null || cfg.rootpw != null;
+ message = "services.openldap: Unless configDir is set, either rootpw or rootpwFile must be set";
}
];
diff --git a/nixos/modules/services/databases/opentsdb.nix b/nixos/modules/services/databases/opentsdb.nix
index b26fa9093ef..c4bd71f3d60 100644
--- a/nixos/modules/services/databases/opentsdb.nix
+++ b/nixos/modules/services/databases/opentsdb.nix
@@ -34,7 +34,7 @@ in {
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "opentsdb";
description = ''
User account under which OpenTSDB runs.
@@ -42,7 +42,7 @@ in {
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "opentsdb";
description = ''
Group account under which OpenTSDB runs.
diff --git a/nixos/modules/services/databases/pgmanage.nix b/nixos/modules/services/databases/pgmanage.nix
index 1050c2dd481..0f8634dab31 100644
--- a/nixos/modules/services/databases/pgmanage.nix
+++ b/nixos/modules/services/databases/pgmanage.nix
@@ -59,8 +59,8 @@ in {
type = types.attrsOf types.str;
default = {};
example = {
- "nuc-server" = "hostaddr=192.168.0.100 port=5432 dbname=postgres";
- "mini-server" = "hostaddr=127.0.0.1 port=5432 dbname=postgres sslmode=require";
+ nuc-server = "hostaddr=192.168.0.100 port=5432 dbname=postgres";
+ mini-server = "hostaddr=127.0.0.1 port=5432 dbname=postgres sslmode=require";
};
description = ''
pgmanage requires at least one PostgreSQL server be defined.
@@ -192,13 +192,13 @@ in {
};
};
users = {
- users."${pgmanage}" = {
+ users.${pgmanage} = {
name = pgmanage;
group = pgmanage;
home = cfg.sqlRoot;
createHome = true;
};
- groups."${pgmanage}" = {
+ groups.${pgmanage} = {
name = pgmanage;
};
};
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index 5661edbee2d..7bba4dacddc 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -6,23 +6,10 @@ let
cfg = config.services.postgresql;
- # see description of extraPlugins
- postgresqlAndPlugins = pg:
- if cfg.extraPlugins == [] then pg
- else pkgs.buildEnv {
- name = "postgresql-and-plugins-${(builtins.parseDrvName pg.name).version}";
- paths = [ pg pg.lib ] ++ cfg.extraPlugins;
- buildInputs = [ pkgs.makeWrapper ];
- postBuild =
- ''
- mkdir -p $out/bin
- rm $out/bin/{pg_config,postgres,pg_ctl}
- cp --target-directory=$out/bin ${pg}/bin/{postgres,pg_config,pg_ctl}
- wrapProgram $out/bin/postgres --set NIX_PGLIBDIR $out/lib
- '';
- };
-
- postgresql = postgresqlAndPlugins cfg.package;
+ postgresql =
+ if cfg.extraPlugins == []
+ then cfg.package
+ else cfg.package.withPackages (_: cfg.extraPlugins);
# The main PostgreSQL configuration file.
configFile = pkgs.writeText "postgresql.conf"
@@ -55,7 +42,7 @@ in
package = mkOption {
type = types.package;
- example = literalExample "pkgs.postgresql_9_6";
+ example = literalExample "pkgs.postgresql_11";
description = ''
PostgreSQL package to use.
'';
@@ -71,7 +58,7 @@ in
dataDir = mkOption {
type = types.path;
- example = "/var/lib/postgresql/9.6";
+ example = "/var/lib/postgresql/11";
description = ''
Data directory for PostgreSQL.
'';
@@ -94,6 +81,10 @@ in
default = "";
description = ''
Defines the mapping from system users to database users.
+
+ The general form is:
+
+ map-name system-username database-username
'';
};
@@ -192,17 +183,11 @@ in
extraPlugins = mkOption {
type = types.listOf types.path;
default = [];
- example = literalExample "[ (pkgs.postgis.override { postgresql = pkgs.postgresql_9_4; }) ]";
+ example = literalExample "with pkgs.postgresql_11.pkgs; [ postgis pg_repack ]";
description = ''
- When this list contains elements a new store path is created.
- PostgreSQL and the elements are symlinked into it. Then pg_config,
- postgres and pg_ctl are copied to make them use the new
- $out/lib directory as pkglibdir. This makes it possible to use postgis
- without patching the .sql files which reference $libdir/postgis-1.5.
+ List of PostgreSQL plugins. PostgreSQL version for each plugin should
+ match version for services.postgresql.package value.
'';
- # Note: the duplication of executables is about 4MB size.
- # So a nicer solution was patching postgresql to allow setting the
- # libdir explicitely.
};
extraConfig = mkOption {
@@ -243,7 +228,7 @@ in
# systems!
mkDefault (if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
else if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql_9_5
- else pkgs.postgresql_9_4);
+ else throw "postgresql_9_4 was removed, please upgrade your postgresql version.");
services.postgresql.dataDir =
mkDefault (if versionAtLeast config.system.stateVersion "17.09" then "/var/lib/postgresql/${config.services.postgresql.package.psqlSchema}"
@@ -270,6 +255,10 @@ in
environment.systemPackages = [ postgresql ];
+ environment.pathsToLink = [
+ "/share/postgresql"
+ ];
+
systemd.services.postgresql =
{ description = "PostgreSQL Server";
@@ -345,13 +334,13 @@ in
fi
'' + optionalString (cfg.ensureDatabases != []) ''
${concatMapStrings (database: ''
- $PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${database}'" | grep -q 1 || $PSQL -tAc "CREATE DATABASE ${database}"
+ $PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${database}'" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE "${database}"'
'') cfg.ensureDatabases}
'' + ''
${concatMapStrings (user: ''
$PSQL -tAc "SELECT 1 FROM pg_roles WHERE rolname='${user.name}'" | grep -q 1 || $PSQL -tAc "CREATE USER ${user.name}"
${concatStringsSep "\n" (mapAttrsToList (database: permission: ''
- $PSQL -tAc "GRANT ${permission} ON ${database} TO ${user.name}"
+ $PSQL -tAc 'GRANT ${permission} ON ${database} TO ${user.name}'
'') user.ensurePermissions)}
'') cfg.ensureUsers}
'';
diff --git a/nixos/modules/services/databases/postgresql.xml b/nixos/modules/services/databases/postgresql.xml
index 14f4d4909bc..72d4a8249a3 100644
--- a/nixos/modules/services/databases/postgresql.xml
+++ b/nixos/modules/services/databases/postgresql.xml
@@ -27,10 +27,10 @@
configuration.nix:
= true;
- = pkgs.postgresql_9_4;
+ = pkgs.postgresql_11;
Note that you are required to specify the desired version of PostgreSQL
- (e.g. pkgs.postgresql_9_4). Since upgrading your
+ (e.g. pkgs.postgresql_11). Since upgrading your
PostgreSQL version requires a database dump and reload (see below), NixOS
cannot provide a default value for
such as the most recent
@@ -42,17 +42,17 @@
whether PostgreSQL works by running psql:
-$ psql
+$ psql
psql (9.2.9)
Type "help" for help.
-alice=>
+alice=>
-->
By default, PostgreSQL stores its databases in
- /var/db/postgresql. You can override this using
+ /var/lib/postgresql/$psqlSchema. You can override this using
, e.g.
= "/data/postgresql";
@@ -74,4 +74,70 @@ alice=>
here.
+
+ Plugins
+
+
+ Plugins collection for each PostgreSQL version can be accessed with
+ .pkgs. For example, for
+ pkgs.postgresql_11 package, its plugin collection is
+ accessed by pkgs.postgresql_11.pkgs:
+
+$ nix repl '<nixpkgs>'
+
+Loading '<nixpkgs>'...
+Added 10574 variables.
+
+nix-repl> postgresql_11.pkgs.<TAB><TAB>
+postgresql_11.pkgs.cstore_fdw postgresql_11.pkgs.pg_repack
+postgresql_11.pkgs.pg_auto_failover postgresql_11.pkgs.pg_safeupdate
+postgresql_11.pkgs.pg_bigm postgresql_11.pkgs.pg_similarity
+postgresql_11.pkgs.pg_cron postgresql_11.pkgs.pg_topn
+postgresql_11.pkgs.pg_hll postgresql_11.pkgs.pgjwt
+postgresql_11.pkgs.pg_partman postgresql_11.pkgs.pgroonga
+...
+
+
+
+ To add plugins via NixOS configuration, set services.postgresql.extraPlugins:
+
+ = pkgs.postgresql_11;
+ = with pkgs.postgresql_11.pkgs; [
+ pg_repack
+ postgis
+];
+
+
+
+ You can build custom PostgreSQL-with-plugins (to be used outside of NixOS) using
+ function .withPackages. For example, creating a custom
+ PostgreSQL package in an overlay can look like:
+
+self: super: {
+ postgresql_custom = self.postgresql_11.withPackages (ps: [
+ ps.pg_repack
+ ps.postgis
+ ]);
+}
+
+
+
+ Here's a recipe on how to override a particular plugin through an overlay:
+
+self: super: {
+ postgresql_11 = super.postgresql_11.override { this = self.postgresql_11; } // {
+ pkgs = super.postgresql_11.pkgs // {
+ pg_repack = super.postgresql_11.pkgs.pg_repack.overrideAttrs (_: {
+ name = "pg_repack-v20181024";
+ src = self.fetchzip {
+ url = "https://github.com/reorg/pg_repack/archive/923fa2f3c709a506e111cc963034bf2fd127aa00.tar.gz";
+ sha256 = "17k6hq9xaax87yz79j773qyigm4fwk8z4zh5cyp6z0sxnwfqxxw5";
+ };
+ });
+ };
+ };
+}
+
+
+
diff --git a/nixos/modules/services/databases/redis.nix b/nixos/modules/services/databases/redis.nix
index c04cc1283b2..9c389d80a6d 100644
--- a/nixos/modules/services/databases/redis.nix
+++ b/nixos/modules/services/databases/redis.nix
@@ -8,17 +8,19 @@ let
condOption = name: value: if value != null then "${name} ${toString value}" else "";
redisConfig = pkgs.writeText "redis.conf" ''
- pidfile ${cfg.pidFile}
port ${toString cfg.port}
${condOption "bind" cfg.bind}
${condOption "unixsocket" cfg.unixSocket}
+ daemonize yes
+ supervised systemd
loglevel ${cfg.logLevel}
logfile ${cfg.logfile}
syslog-enabled ${redisBool cfg.syslog}
+ pidfile /run/redis/redis.pid
databases ${toString cfg.databases}
${concatMapStrings (d: "save ${toString (builtins.elemAt d 0)} ${toString (builtins.elemAt d 1)}\n") cfg.save}
- dbfilename ${cfg.dbFilename}
- dir ${toString cfg.dbpath}
+ dbfilename dump.rdb
+ dir /var/lib/redis
${if cfg.slaveOf != null then "slaveof ${cfg.slaveOf.ip} ${toString cfg.slaveOf.port}" else ""}
${condOption "masterauth" cfg.masterAuth}
${condOption "requirepass" cfg.requirePass}
@@ -40,7 +42,12 @@ in
enable = mkOption {
type = types.bool;
default = false;
- description = "Whether to enable the Redis server.";
+ description = ''
+ Whether to enable the Redis server. Note that the NixOS module for
+ Redis disables kernel support for Transparent Huge Pages (THP),
+ because this features causes major performance problems for Redis,
+ e.g. (https://redis.io/topics/latency).
+ '';
};
package = mkOption {
@@ -50,18 +57,6 @@ in
description = "Which Redis derivation to use.";
};
- user = mkOption {
- type = types.str;
- default = "redis";
- description = "User account under which Redis runs.";
- };
-
- pidFile = mkOption {
- type = types.path;
- default = "/var/lib/redis/redis.pid";
- description = "";
- };
-
port = mkOption {
type = types.int;
default = 6379;
@@ -95,7 +90,7 @@ in
type = with types; nullOr path;
default = null;
description = "The path to the socket to bind to.";
- example = "/run/redis.sock";
+ example = "/run/redis/redis.sock";
};
logLevel = mkOption {
@@ -131,18 +126,6 @@ in
example = [ [900 1] [300 10] [60 10000] ];
};
- dbFilename = mkOption {
- type = types.str;
- default = "dump.rdb";
- description = "The filename where to dump the DB.";
- };
-
- dbpath = mkOption {
- type = types.path;
- default = "/var/lib/redis";
- description = "The DB will be written inside this directory, with the filename specified using the 'dbFilename' configuration.";
- };
-
slaveOf = mkOption {
default = null; # { ip, port }
description = "An attribute set with two attributes: ip and port to which this redis instance acts as a slave.";
@@ -170,12 +153,6 @@ in
description = "By default data is only periodically persisted to disk, enable this option to use an append-only file for improved persistence.";
};
- appendOnlyFilename = mkOption {
- type = types.str;
- default = "appendonly.aof";
- description = "Filename for the append-only file (stored inside of dbpath)";
- };
-
appendFsync = mkOption {
type = types.str;
default = "everysec"; # no, always, everysec
@@ -217,26 +194,17 @@ in
allowedTCPPorts = [ cfg.port ];
};
- users.users.redis =
- { name = cfg.user;
- description = "Redis database user";
- };
+ users.users.redis.description = "Redis database user";
environment.systemPackages = [ cfg.package ];
- systemd.services.redis_init =
- { description = "Redis Server Initialisation";
-
- wantedBy = [ "redis.service" ];
- before = [ "redis.service" ];
-
- serviceConfig.Type = "oneshot";
-
- script = ''
- install -d -m0700 -o ${cfg.user} ${cfg.dbpath}
- chown -R ${cfg.user} ${cfg.dbpath}
- '';
- };
+ systemd.services.disable-transparent-huge-pages = {
+ description = "Disable Transparent Huge Pages (required by Redis)";
+ before = [ "redis.service" ];
+ wantedBy = [ "redis.service" ];
+ script = "echo never > /sys/kernel/mm/transparent_hugepage/enabled";
+ serviceConfig.Type = "oneshot";
+ };
systemd.services.redis =
{ description = "Redis Server";
@@ -246,7 +214,10 @@ in
serviceConfig = {
ExecStart = "${cfg.package}/bin/redis-server ${redisConfig}";
- User = cfg.user;
+ RuntimeDirectory = "redis";
+ StateDirectory = "redis";
+ Type = "notify";
+ User = "redis";
};
};
diff --git a/nixos/modules/services/databases/riak.nix b/nixos/modules/services/databases/riak.nix
index ac086cf5599..885215209bd 100644
--- a/nixos/modules/services/databases/riak.nix
+++ b/nixos/modules/services/databases/riak.nix
@@ -29,7 +29,7 @@ in
};
nodeName = mkOption {
- type = types.string;
+ type = types.str;
default = "riak@127.0.0.1";
description = ''
Name of the Erlang node.
@@ -37,7 +37,7 @@ in
};
distributedCookie = mkOption {
- type = types.string;
+ type = types.str;
default = "riak";
description = ''
Cookie for distributed node communication. All nodes in the
diff --git a/nixos/modules/services/desktops/blueman.nix b/nixos/modules/services/desktops/blueman.nix
new file mode 100644
index 00000000000..18ad610247e
--- /dev/null
+++ b/nixos/modules/services/desktops/blueman.nix
@@ -0,0 +1,25 @@
+# blueman service
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.blueman;
+in {
+ ###### interface
+ options = {
+ services.blueman = {
+ enable = mkEnableOption "blueman";
+ };
+ };
+
+ ###### implementation
+ config = mkIf cfg.enable {
+
+ environment.systemPackages = [ pkgs.blueman ];
+
+ services.dbus.packages = [ pkgs.blueman ];
+
+ systemd.packages = [ pkgs.blueman ];
+ };
+}
diff --git a/nixos/modules/services/desktops/deepin/deepin.nix b/nixos/modules/services/desktops/deepin/deepin.nix
index 7ec326e599e..931bac58ace 100644
--- a/nixos/modules/services/desktops/deepin/deepin.nix
+++ b/nixos/modules/services/desktops/deepin/deepin.nix
@@ -33,8 +33,11 @@
environment.systemPackages = [
pkgs.deepin.dde-api
pkgs.deepin.dde-calendar
+ pkgs.deepin.dde-control-center
pkgs.deepin.dde-daemon
pkgs.deepin.dde-dock
+ pkgs.deepin.dde-launcher
+ pkgs.deepin.dde-file-manager
pkgs.deepin.dde-session-ui
pkgs.deepin.deepin-anything
pkgs.deepin.deepin-image-viewer
@@ -44,8 +47,11 @@
services.dbus.packages = [
pkgs.deepin.dde-api
pkgs.deepin.dde-calendar
+ pkgs.deepin.dde-control-center
pkgs.deepin.dde-daemon
pkgs.deepin.dde-dock
+ pkgs.deepin.dde-launcher
+ pkgs.deepin.dde-file-manager
pkgs.deepin.dde-session-ui
pkgs.deepin.deepin-anything
pkgs.deepin.deepin-image-viewer
@@ -55,6 +61,7 @@
systemd.packages = [
pkgs.deepin.dde-api
pkgs.deepin.dde-daemon
+ pkgs.deepin.dde-file-manager
pkgs.deepin.deepin-anything
];
diff --git a/nixos/modules/services/desktops/flatpak.nix b/nixos/modules/services/desktops/flatpak.nix
index cfca1893bd8..7fb0024f37d 100644
--- a/nixos/modules/services/desktops/flatpak.nix
+++ b/nixos/modules/services/desktops/flatpak.nix
@@ -15,38 +15,39 @@ in {
options = {
services.flatpak = {
enable = mkEnableOption "flatpak";
-
- extraPortals = mkOption {
- type = types.listOf types.package;
- default = [];
- description = ''
- List of additional portals to add to path. Portals allow interaction
- with system, like choosing files or taking screenshots. At minimum,
- a desktop portal implementation should be listed. GNOME already
- adds xdg-desktop-portal-gtk; for KDE, there
- is xdg-desktop-portal-kde. Other desktop
- environments will probably want to do the same.
- '';
- };
};
};
###### implementation
config = mkIf cfg.enable {
+
+ assertions = [
+ { assertion = (config.xdg.portal.enable == true);
+ message = "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable.";
+ }
+ ];
+
environment.systemPackages = [ pkgs.flatpak ];
- services.dbus.packages = [ pkgs.flatpak pkgs.xdg-desktop-portal ] ++ cfg.extraPortals;
+ services.dbus.packages = [ pkgs.flatpak ];
- systemd.packages = [ pkgs.flatpak pkgs.xdg-desktop-portal ] ++ cfg.extraPortals;
+ systemd.packages = [ pkgs.flatpak ];
environment.profiles = [
"$HOME/.local/share/flatpak/exports"
"/var/lib/flatpak/exports"
];
- environment.variables = {
- XDG_DESKTOP_PORTAL_PATH = map (p: "${p}/share/xdg-desktop-portal/portals") cfg.extraPortals;
+ # It has been possible since https://github.com/flatpak/flatpak/releases/tag/1.3.2
+ # to build a SELinux policy module.
+
+ users.users.flatpak = {
+ description = "Flatpak system helper";
+ group = "flatpak";
+ isSystemUser = true;
};
+
+ users.groups.flatpak = { };
};
}
diff --git a/nixos/modules/services/desktops/flatpak.xml b/nixos/modules/services/desktops/flatpak.xml
index 8045d5fa14f..8f080b25022 100644
--- a/nixos/modules/services/desktops/flatpak.xml
+++ b/nixos/modules/services/desktops/flatpak.xml
@@ -21,7 +21,7 @@
configuration.nix:
= true;
-
+
For the sandboxed apps to work correctly, desktop integration portals need to
@@ -29,28 +29,28 @@
in other cases, you will need to add something like the following to your
configuration.nix:
- = [ pkgs.xdg-desktop-portal-gtk ];
-
+ = [ pkgs.xdg-desktop-portal-gtk ];
+
Then, you will need to add a repository, for example,
Flathub,
either using the following commands:
-
- flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
- flatpak update
-
+
+$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
+$ flatpak update
+
or by opening the
repository
file in GNOME Software.
Finally, you can search and install programs:
-
- flatpak search bustle
- flatpak install flathub org.freedesktop.Bustle
- flatpak run org.freedesktop.Bustle
-
+
+$ flatpak search bustle
+$ flatpak install flathub org.freedesktop.Bustle
+$ flatpak run org.freedesktop.Bustle
+
Again, GNOME Software offers graphical interface for these tasks.
diff --git a/nixos/modules/services/desktops/geoclue2.nix b/nixos/modules/services/desktops/geoclue2.nix
index a16dbc04a5f..6007dddf50c 100644
--- a/nixos/modules/services/desktops/geoclue2.nix
+++ b/nixos/modules/services/desktops/geoclue2.nix
@@ -188,15 +188,28 @@ in
systemd.packages = [ package ];
+ users.users.geoclue = {
+ isSystemUser = true;
+ home = "/var/lib/geoclue";
+ group = "geoclue";
+ description = "Geoinformation service";
+ };
+
+ users.groups.geoclue = {};
+
+ systemd.tmpfiles.rules = [
+ "d /var/lib/geoclue 0755 geoclue geoclue"
+ ];
+
# restart geoclue service when the configuration changes
- systemd.services."geoclue".restartTriggers = [
+ systemd.services.geoclue.restartTriggers = [
config.environment.etc."geoclue/geoclue.conf".source
];
# this needs to run as a user service, since it's associated with the
# user who is making the requests
systemd.user.services = mkIf cfg.enableDemoAgent {
- "geoclue-agent" = {
+ geoclue-agent = {
description = "Geoclue agent";
script = "${package}/libexec/geoclue-2.0/demos/agent";
# this should really be `partOf = [ "geoclue.service" ]`, but
@@ -206,12 +219,12 @@ in
};
};
- services.geoclue2.appConfig."epiphany" = {
+ services.geoclue2.appConfig.epiphany = {
isAllowed = true;
isSystem = false;
};
- services.geoclue2.appConfig."firefox" = {
+ services.geoclue2.appConfig.firefox = {
isAllowed = true;
isSystem = false;
};
diff --git a/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix b/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix
index 2740a22c7ca..3d2b3ed85e3 100644
--- a/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix
+++ b/nixos/modules/services/desktops/gnome3/chrome-gnome-shell.nix
@@ -23,5 +23,7 @@ with lib;
environment.systemPackages = [ pkgs.chrome-gnome-shell ];
services.dbus.packages = [ pkgs.chrome-gnome-shell ];
+
+ nixpkgs.config.firefox.enableGnomeExtensions = true;
};
}
diff --git a/nixos/modules/services/desktops/gnome3/glib-networking.nix b/nixos/modules/services/desktops/gnome3/glib-networking.nix
index 186668d7d38..fcd58509d6f 100644
--- a/nixos/modules/services/desktops/gnome3/glib-networking.nix
+++ b/nixos/modules/services/desktops/gnome3/glib-networking.nix
@@ -22,11 +22,11 @@ with lib;
config = mkIf config.services.gnome3.glib-networking.enable {
- services.dbus.packages = [ pkgs.gnome3.glib-networking ];
+ services.dbus.packages = [ pkgs.glib-networking ];
- systemd.packages = [ pkgs.gnome3.glib-networking ];
+ systemd.packages = [ pkgs.glib-networking ];
- environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gnome3.glib-networking.out}/lib/gio/modules" ];
+ environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.glib-networking.out}/lib/gio/modules" ];
};
diff --git a/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix b/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
index 4286251357f..748a025414a 100644
--- a/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
+++ b/nixos/modules/services/desktops/gnome3/gnome-online-accounts.nix
@@ -30,9 +30,9 @@ with lib;
config = mkIf config.services.gnome3.gnome-online-accounts.enable {
- environment.systemPackages = [ pkgs.gnome3.gnome-online-accounts ];
+ environment.systemPackages = [ pkgs.gnome-online-accounts ];
- services.dbus.packages = [ pkgs.gnome3.gnome-online-accounts ];
+ services.dbus.packages = [ pkgs.gnome-online-accounts ];
};
diff --git a/nixos/modules/services/desktops/gnome3/gnome-terminal-server.nix b/nixos/modules/services/desktops/gnome3/gnome-terminal-server.nix
deleted file mode 100644
index fd14efee5f2..00000000000
--- a/nixos/modules/services/desktops/gnome3/gnome-terminal-server.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-# GNOME Documents daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
- ###### interface
-
- options = {
-
- services.gnome3.gnome-terminal-server = {
-
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to enable GNOME Terminal server service,
- needed for gnome-terminal.
- '';
- };
-
- };
-
- };
-
-
- ###### implementation
-
- config = mkIf config.services.gnome3.gnome-terminal-server.enable {
-
- environment.systemPackages = [ pkgs.gnome3.gnome-terminal ];
-
- services.dbus.packages = [ pkgs.gnome3.gnome-terminal ];
-
- systemd.packages = [ pkgs.gnome3.gnome-terminal ];
-
- };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/gnome-user-share.nix b/nixos/modules/services/desktops/gnome3/gnome-user-share.nix
index 1f6ce2ae968..f8396287770 100644
--- a/nixos/modules/services/desktops/gnome3/gnome-user-share.nix
+++ b/nixos/modules/services/desktops/gnome3/gnome-user-share.nix
@@ -12,14 +12,7 @@ with lib;
services.gnome3.gnome-user-share = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to enable GNOME User Share, a service that exports the
- contents of the Public folder in your home directory on the local network.
- '';
- };
+ enable = mkEnableOption "GNOME User Share, a user-level file sharing service for GNOME";
};
@@ -30,12 +23,13 @@ with lib;
config = mkIf config.services.gnome3.gnome-user-share.enable {
- environment.systemPackages = [ pkgs.gnome3.gnome-user-share ];
+ environment.systemPackages = [
+ pkgs.gnome3.gnome-user-share
+ ];
- services.xserver.displayManager.sessionCommands = with pkgs.gnome3; ''
- # Don't let gnome-control-center depend upon gnome-user-share
- export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${gnome-user-share}/share/gsettings-schemas/${gnome-user-share.name}
- '';
+ systemd.packages = [
+ pkgs.gnome3.gnome-user-share
+ ];
};
diff --git a/nixos/modules/services/desktops/gnome3/gvfs.nix b/nixos/modules/services/desktops/gnome3/gvfs.nix
deleted file mode 100644
index 4e99d191f18..00000000000
--- a/nixos/modules/services/desktops/gnome3/gvfs.nix
+++ /dev/null
@@ -1,43 +0,0 @@
-# gvfs backends
-
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-
- ###### interface
-
- options = {
-
- services.gnome3.gvfs = {
-
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to enable gvfs backends, userspace virtual filesystem used
- by GNOME components via D-Bus.
- '';
- };
-
- };
-
- };
-
-
- ###### implementation
-
- config = mkIf config.services.gnome3.gvfs.enable {
-
- environment.systemPackages = [ pkgs.gnome3.gvfs ];
-
- services.dbus.packages = [ pkgs.gnome3.gvfs ];
-
- systemd.packages = [ pkgs.gnome3.gvfs ];
-
- services.udev.packages = [ pkgs.libmtp.bin ];
-
- };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/seahorse.nix b/nixos/modules/services/desktops/gnome3/seahorse.nix
deleted file mode 100644
index 9631157934f..00000000000
--- a/nixos/modules/services/desktops/gnome3/seahorse.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-# Seahorse daemon.
-
-{ config, pkgs, lib, ... }:
-
-with lib;
-
-{
-
- ###### interface
-
- options = {
-
- services.gnome3.seahorse = {
-
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Whether to enable Seahorse search provider for the GNOME Shell activity search.
- '';
- };
-
- };
-
- };
-
-
- ###### implementation
-
- config = mkIf config.services.gnome3.seahorse.enable {
-
- environment.systemPackages = [ pkgs.gnome3.seahorse pkgs.gnome3.dconf ];
-
- services.dbus.packages = [ pkgs.gnome3.seahorse ];
-
- };
-
-}
diff --git a/nixos/modules/services/desktops/gnome3/tracker-miners.nix b/nixos/modules/services/desktops/gnome3/tracker-miners.nix
index 20154fc2fed..b390d8368c6 100644
--- a/nixos/modules/services/desktops/gnome3/tracker-miners.nix
+++ b/nixos/modules/services/desktops/gnome3/tracker-miners.nix
@@ -30,11 +30,11 @@ with lib;
config = mkIf config.services.gnome3.tracker-miners.enable {
- environment.systemPackages = [ pkgs.gnome3.tracker-miners ];
+ environment.systemPackages = [ pkgs.tracker-miners ];
- services.dbus.packages = [ pkgs.gnome3.tracker-miners ];
+ services.dbus.packages = [ pkgs.tracker-miners ];
- systemd.packages = [ pkgs.gnome3.tracker-miners ];
+ systemd.packages = [ pkgs.tracker-miners ];
};
diff --git a/nixos/modules/services/desktops/gnome3/tracker.nix b/nixos/modules/services/desktops/gnome3/tracker.nix
index c061f789049..2e829274226 100644
--- a/nixos/modules/services/desktops/gnome3/tracker.nix
+++ b/nixos/modules/services/desktops/gnome3/tracker.nix
@@ -30,11 +30,11 @@ with lib;
config = mkIf config.services.gnome3.tracker.enable {
- environment.systemPackages = [ pkgs.gnome3.tracker ];
+ environment.systemPackages = [ pkgs.tracker ];
- services.dbus.packages = [ pkgs.gnome3.tracker ];
+ services.dbus.packages = [ pkgs.tracker ];
- systemd.packages = [ pkgs.gnome3.tracker ];
+ systemd.packages = [ pkgs.tracker ];
};
diff --git a/nixos/modules/services/desktops/gvfs.nix b/nixos/modules/services/desktops/gvfs.nix
new file mode 100644
index 00000000000..1d002eac41d
--- /dev/null
+++ b/nixos/modules/services/desktops/gvfs.nix
@@ -0,0 +1,59 @@
+# GVfs
+
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.services.gvfs;
+
+in
+
+{
+
+ # Added 2019-08-19
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "gnome3" "gvfs" "enable" ]
+ [ "services" "gvfs" "enable" ])
+ ];
+
+ ###### interface
+
+ options = {
+
+ services.gvfs = {
+
+ enable = mkEnableOption "GVfs, a userspace virtual filesystem";
+
+ # gvfs can be built with multiple configurations
+ package = mkOption {
+ type = types.package;
+ default = pkgs.gnome3.gvfs;
+ description = "Which GVfs package to use.";
+ };
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ environment.systemPackages = [ cfg.package ];
+
+ services.dbus.packages = [ cfg.package ];
+
+ systemd.packages = [ cfg.package ];
+
+ services.udev.packages = [ pkgs.libmtp.bin ];
+
+ # Needed for unwrapped applications
+ environment.variables.GIO_EXTRA_MODULES = [ "${cfg.package}/lib/gio/modules" ];
+
+ };
+
+}
diff --git a/nixos/modules/services/desktops/profile-sync-daemon.nix b/nixos/modules/services/desktops/profile-sync-daemon.nix
index e4e47cfbd43..a8ac22ac127 100644
--- a/nixos/modules/services/desktops/profile-sync-daemon.nix
+++ b/nixos/modules/services/desktops/profile-sync-daemon.nix
@@ -34,7 +34,7 @@ in {
psd = {
enable = true;
description = "Profile Sync daemon";
- wants = [ "psd-resync.service" "local-fs.target" ];
+ wants = [ "psd-resync.service" ];
wantedBy = [ "default.target" ];
path = with pkgs; [ rsync kmod gawk nettools utillinux profile-sync-daemon ];
unitConfig = {
diff --git a/nixos/modules/services/desktops/system-config-printer.nix b/nixos/modules/services/desktops/system-config-printer.nix
new file mode 100644
index 00000000000..8a80be266b2
--- /dev/null
+++ b/nixos/modules/services/desktops/system-config-printer.nix
@@ -0,0 +1,38 @@
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+{
+
+ ###### interface
+
+ options = {
+
+ services.system-config-printer = {
+
+ enable = mkEnableOption "system-config-printer, a service for CUPS administration used by printing interfaces";
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf config.services.system-config-printer.enable {
+
+ services.dbus.packages = [
+ pkgs.system-config-printer
+ ];
+
+ systemd.packages = [
+ pkgs.system-config-printer
+ ];
+
+ services.udev.packages = [
+ pkgs.system-config-printer
+ ];
+
+ };
+
+}
diff --git a/nixos/modules/services/desktops/tumbler.nix b/nixos/modules/services/desktops/tumbler.nix
index ccbb6d1434d..d18088d4634 100644
--- a/nixos/modules/services/desktops/tumbler.nix
+++ b/nixos/modules/services/desktops/tumbler.nix
@@ -23,7 +23,7 @@ in
package = mkOption {
type = types.package;
- default = pkgs.xfce4-13.tumbler;
+ default = pkgs.xfce4-14.tumbler;
description = "Which tumbler package to use";
example = pkgs.xfce4-12.tumbler;
};
diff --git a/nixos/modules/services/development/bloop.nix b/nixos/modules/services/development/bloop.nix
index 56904b7c40e..226718a9e80 100644
--- a/nixos/modules/services/development/bloop.nix
+++ b/nixos/modules/services/development/bloop.nix
@@ -9,6 +9,20 @@ let
in {
options.services.bloop = {
+ extraOptions = mkOption {
+ type = types.listOf types.str;
+ default = [ ];
+ example = [
+ "-J-Xmx2G"
+ "-J-XX:MaxInlineLevel=20"
+ "-J-XX:+UseParallelGC"
+ ];
+ description = ''
+ Specifies additional command line argument to pass to bloop
+ java process.
+ '';
+ };
+
install = mkOption {
type = types.bool;
default = false;
@@ -25,10 +39,13 @@ in {
systemd.user.services.bloop = {
description = "Bloop Scala build server";
+ environment = {
+ PATH = mkForce "${makeBinPath [ config.programs.java.package ]}";
+ };
serviceConfig = {
- Type = "simple";
- ExecStart = ''${pkgs.bloop}/bin/blp-server'';
- Restart = "always";
+ Type = "simple";
+ ExecStart = ''${pkgs.bloop}/bin/bloop server'';
+ Restart = "always";
};
};
diff --git a/nixos/modules/services/editors/emacs.xml b/nixos/modules/services/editors/emacs.xml
index 1ac53c818a7..03483f69fa2 100644
--- a/nixos/modules/services/editors/emacs.xml
+++ b/nixos/modules/services/editors/emacs.xml
@@ -9,6 +9,7 @@
Damien Cassou @DamienCassou
Thomas Tuegel @ttuegel
Rodney Lorrimar @rvl
+ Adam Hoese @adisbladis
-->
Emacs is an
@@ -58,7 +59,7 @@
The latest stable version of Emacs 25 using the
GTK+ 2
+ xlink:href="http://www.gtk.org">GTK 2
widget toolkit.
@@ -95,7 +96,8 @@
also available in Nixpkgs:
Zile,
mg,
- Yi.
+ Yi,
+ jmacs.
@@ -129,15 +131,6 @@
Emacs packages through nixpkgs.
-
-
- This documentation describes the new Emacs packages framework in NixOS
- 16.03 (emacsPackagesNg) which should not be confused
- with the previous and deprecated framework
- (emacs24Packages).
-
-
-
The first step to declare the list of packages you want in your Emacs
installation is to create a dedicated derivation. This can be done in a
@@ -163,7 +156,7 @@ $ ./result/bin/emacs
let
myEmacs = pkgs.emacs;
- emacsWithPackages = (pkgs.emacsPackagesNgGen myEmacs).emacsWithPackages;
+ emacsWithPackages = (pkgs.emacsPackagesGen myEmacs).emacsWithPackages;
in
emacsWithPackages (epkgs: (with epkgs.melpaStablePackages; [
magit # ; Integrate git <C-x g>
@@ -238,8 +231,8 @@ in
You can check that it works by executing this in a terminal:
-$ nix-build emacs.nix
-$ ./result/bin/emacs -q
+$ nix-build emacs.nix
+$ ./result/bin/emacs -q
and then typing M-x package-initialize. Check that you
can use all the packages you want in this Emacs instance. For example, try
@@ -261,10 +254,10 @@ $ ./result/bin/emacs -q
Querying Emacs packages
" -qaP -A emacsPackagesNg.elpaPackages
-nix-env -f "" -qaP -A emacsPackagesNg.melpaPackages
-nix-env -f "" -qaP -A emacsPackagesNg.melpaStablePackages
-nix-env -f "" -qaP -A emacsPackagesNg.orgPackages
+nix-env -f "" -qaP -A emacsPackages.elpaPackages
+nix-env -f "" -qaP -A emacsPackages.melpaPackages
+nix-env -f "" -qaP -A emacsPackages.melpaStablePackages
+nix-env -f "" -qaP -A emacsPackages.orgPackages
]]>
@@ -328,7 +321,7 @@ https://nixos.org/nixpkgs/manual/#sec-modify-via-packageOverrides
If you want, you can tweak the Emacs package itself from your
emacs.nix. For example, if you want to have a
- GTK+3-based Emacs instead of the default GTK+2-based binary and remove the
+ GTK 3-based Emacs instead of the default GTK 2-based binary and remove the
automatically generated emacs.desktop (useful is you
only use emacsclient), you can change your file
emacs.nix in this way:
@@ -356,7 +349,7 @@ in [...]
After building this file as shown in , you
- will get an GTK3-based Emacs binary pre-loaded with your favorite packages.
+ will get an GTK 3-based Emacs binary pre-loaded with your favorite packages.
@@ -403,9 +396,9 @@ in [...]
To start the daemon, execute the following:
-$ nixos-rebuild switch # to activate the new configuration.nix
-$ systemctl --user daemon-reload # to force systemd reload
-$ systemctl --user start emacs.service # to start the Emacs daemon
+$ nixos-rebuild switch # to activate the new configuration.nix
+$ systemctl --user daemon-reload # to force systemd reload
+$ systemctl --user start emacs.service # to start the Emacs daemon
The server should now be ready to serve Emacs clients.
@@ -551,7 +544,7 @@ emacsclient --create-frame --tty # opens a new frame on the current terminal
(NixOS), or run
- nix-env -i pkgs.docbook5
+ nix-env -f '<nixpkgs>' -iA docbook5
(Nix).
diff --git a/nixos/modules/services/games/factorio.nix b/nixos/modules/services/games/factorio.nix
index d04673a6c8b..f3831156f45 100644
--- a/nixos/modules/services/games/factorio.nix
+++ b/nixos/modules/services/games/factorio.nix
@@ -55,7 +55,7 @@ in
'';
};
saveName = mkOption {
- type = types.string;
+ type = types.str;
default = "default";
description = ''
The name of the savegame that will be used by the server.
@@ -81,7 +81,7 @@ in
'';
};
stateDirName = mkOption {
- type = types.string;
+ type = types.str;
default = "factorio";
description = ''
Name of the directory under /var/lib holding the server's data.
@@ -102,14 +102,14 @@ in
'';
};
game-name = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = "Factorio Game";
description = ''
Name of the game as it will appear in the game listing.
'';
};
description = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = "";
description = ''
Description of the game that will appear in the listing.
@@ -130,28 +130,28 @@ in
'';
};
username = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = ''
Your factorio.com login credentials. Required for games with visibility public.
'';
};
password = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = ''
Your factorio.com login credentials. Required for games with visibility public.
'';
};
token = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = ''
Authentication token. May be used instead of 'password' above.
'';
};
game-password = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = ''
Game password.
diff --git a/nixos/modules/services/games/minecraft-server.nix b/nixos/modules/services/games/minecraft-server.nix
index 39a68f4b553..eb9288fca58 100644
--- a/nixos/modules/services/games/minecraft-server.nix
+++ b/nixos/modules/services/games/minecraft-server.nix
@@ -118,7 +118,7 @@ in {
};
serverProperties = mkOption {
- type = with types; attrsOf (either bool (either int str));
+ type = with types; attrsOf (oneOf [ bool int str ]);
default = {};
example = literalExample ''
{
diff --git a/nixos/modules/services/games/terraria.nix b/nixos/modules/services/games/terraria.nix
index 31f8edca20c..a59b74c0b4c 100644
--- a/nixos/modules/services/games/terraria.nix
+++ b/nixos/modules/services/games/terraria.nix
@@ -4,7 +4,7 @@ with lib;
let
cfg = config.services.terraria;
- worldSizeMap = { "small" = 1; "medium" = 2; "large" = 3; };
+ worldSizeMap = { small = 1; medium = 2; large = 3; };
valFlag = name: val: optionalString (val != null) "-${name} \"${escape ["\\" "\""] (toString val)}\"";
boolFlag = name: val: optionalString val "-${name}";
flags = [
diff --git a/nixos/modules/services/hardware/80-net-setup-link.rules b/nixos/modules/services/hardware/80-net-setup-link.rules
deleted file mode 100644
index 18547f170a3..00000000000
--- a/nixos/modules/services/hardware/80-net-setup-link.rules
+++ /dev/null
@@ -1,13 +0,0 @@
-# Copied from systemd 203.
-ACTION=="remove", GOTO="net_name_slot_end"
-SUBSYSTEM!="net", GOTO="net_name_slot_end"
-NAME!="", GOTO="net_name_slot_end"
-
-IMPORT{cmdline}="net.ifnames"
-ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
-
-NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
-NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
-NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
-
-LABEL="net_name_slot_end"
diff --git a/nixos/modules/services/hardware/freefall.nix b/nixos/modules/services/hardware/freefall.nix
index 066ccaa4d7c..83f1e8c84f2 100644
--- a/nixos/modules/services/hardware/freefall.nix
+++ b/nixos/modules/services/hardware/freefall.nix
@@ -28,7 +28,7 @@ in {
};
devices = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [ "/dev/sda" ];
description = ''
Device paths to all internal spinning hard drives.
diff --git a/nixos/modules/services/hardware/fwupd.nix b/nixos/modules/services/hardware/fwupd.nix
index cad9fa20de0..6c341bcbf24 100644
--- a/nixos/modules/services/hardware/fwupd.nix
+++ b/nixos/modules/services/hardware/fwupd.nix
@@ -8,8 +8,8 @@ let
cfg = config.services.fwupd;
originalEtc =
let
- mkEtcFile = n: nameValuePair n { source = "${pkgs.fwupd}/etc/${n}"; };
- in listToAttrs (map mkEtcFile pkgs.fwupd.filesInstalledToEtc);
+ mkEtcFile = n: nameValuePair n { source = "${cfg.package}/etc/${n}"; };
+ in listToAttrs (map mkEtcFile cfg.package.filesInstalledToEtc);
extraTrustedKeys =
let
mkName = p: "pki/fwupd/${baseNameOf (toString p)}";
@@ -24,7 +24,7 @@ let
"fwupd/remotes.d/fwupd-tests.conf" = {
source = pkgs.runCommand "fwupd-tests-enabled.conf" {} ''
sed "s,^Enabled=false,Enabled=true," \
- "${pkgs.fwupd.installedTests}/etc/fwupd/remotes.d/fwupd-tests.conf" > "$out"
+ "${cfg.package.installedTests}/etc/fwupd/remotes.d/fwupd-tests.conf" > "$out"
'';
};
} else {};
@@ -43,7 +43,7 @@ in {
};
blacklistDevices = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
example = [ "2082b5e0-7a64-478a-b1b2-e3404fab6dad" ];
description = ''
@@ -52,7 +52,7 @@ in {
};
blacklistPlugins = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [ "test" ];
example = [ "udev" ];
description = ''
@@ -77,13 +77,21 @@ in {
installed tests.
'';
};
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.fwupd;
+ description = ''
+ Which fwupd package to use.
+ '';
+ };
};
};
###### implementation
config = mkIf cfg.enable {
- environment.systemPackages = [ pkgs.fwupd ];
+ environment.systemPackages = [ cfg.package ];
environment.etc = {
"fwupd/daemon.conf" = {
@@ -102,11 +110,11 @@ in {
} // originalEtc // extraTrustedKeys // testRemote;
- services.dbus.packages = [ pkgs.fwupd ];
+ services.dbus.packages = [ cfg.package ];
- services.udev.packages = [ pkgs.fwupd ];
+ services.udev.packages = [ cfg.package ];
- systemd.packages = [ pkgs.fwupd ];
+ systemd.packages = [ cfg.package ];
systemd.tmpfiles.rules = [
"d /var/lib/fwupd 0755 root root -"
diff --git a/nixos/modules/services/hardware/sane.nix b/nixos/modules/services/hardware/sane.nix
index fe05c5a5c06..b344dfc2061 100644
--- a/nixos/modules/services/hardware/sane.nix
+++ b/nixos/modules/services/hardware/sane.nix
@@ -76,7 +76,7 @@ in
};
hardware.sane.configDir = mkOption {
- type = types.string;
+ type = types.str;
internal = true;
description = "The value of SANE_CONFIG_DIR.";
};
@@ -124,7 +124,7 @@ in
environment.sessionVariables = env;
services.udev.packages = backends;
- users.groups."scanner".gid = config.ids.gids.scanner;
+ users.groups.scanner.gid = config.ids.gids.scanner;
})
(mkIf config.services.saned.enable {
@@ -152,7 +152,7 @@ in
};
};
- users.users."scanner" = {
+ users.users.scanner = {
uid = config.ids.uids.scanner;
group = "scanner";
};
diff --git a/nixos/modules/services/hardware/sane_extra_backends/brscan4_etc_files.nix b/nixos/modules/services/hardware/sane_extra_backends/brscan4_etc_files.nix
index bd114f0d2cc..6bf31982b71 100644
--- a/nixos/modules/services/hardware/sane_extra_backends/brscan4_etc_files.nix
+++ b/nixos/modules/services/hardware/sane_extra_backends/brscan4_etc_files.nix
@@ -19,7 +19,7 @@ nix-shell -E 'with import { }; brscan4-etc-files.override{netDevices=[
*/
-with lib;
+with lib;
let
@@ -33,14 +33,14 @@ let
addAllNetDev = xs: concatStringsSep "\n" (map addNetDev xs);
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "brscan4-etc-files-0.4.3-3";
src = "${brscan4}/opt/brother/scanner/brscan4";
nativeBuildInputs = [ brscan4 ];
- configurePhase = ":";
+ dontConfigure = true;
buildPhase = ''
TARGET_DIR="$out/etc/opt/brother/scanner/brscan4"
diff --git a/nixos/modules/services/hardware/tcsd.nix b/nixos/modules/services/hardware/tcsd.nix
index d4b0a9495d7..3876280ee6b 100644
--- a/nixos/modules/services/hardware/tcsd.nix
+++ b/nixos/modules/services/hardware/tcsd.nix
@@ -49,13 +49,13 @@ in
user = mkOption {
default = "tss";
- type = types.string;
+ type = types.str;
description = "User account under which tcsd runs.";
};
group = mkOption {
default = "tss";
- type = types.string;
+ type = types.str;
description = "Group account under which tcsd runs.";
};
@@ -65,19 +65,19 @@ in
description = ''
The location of the system persistent storage file.
The system persistent storage file holds keys and data across
- restarts of the TCSD and system reboots.
+ restarts of the TCSD and system reboots.
'';
};
firmwarePCRs = mkOption {
default = "0,1,2,3,4,5,6,7";
- type = types.string;
+ type = types.str;
description = "PCR indices used in the TPM for firmware measurements.";
};
kernelPCRs = mkOption {
default = "8,9,10,11,12";
- type = types.string;
+ type = types.str;
description = "PCR indices used in the TPM for kernel measurements.";
};
diff --git a/nixos/modules/services/hardware/throttled.nix b/nixos/modules/services/hardware/throttled.nix
new file mode 100644
index 00000000000..7617c4492d7
--- /dev/null
+++ b/nixos/modules/services/hardware/throttled.nix
@@ -0,0 +1,30 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.throttled;
+in {
+ options = {
+ services.throttled = {
+ enable = mkEnableOption "fix for Intel CPU throttling";
+
+ extraConfig = mkOption {
+ type = types.str;
+ default = "";
+ description = "Alternative configuration";
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.packages = [ pkgs.throttled ];
+ # The upstream package has this in Install, but that's not enough, see the NixOS manual
+ systemd.services.lenovo_fix.wantedBy = [ "multi-user.target" ];
+
+ environment.etc."lenovo_fix.conf".source =
+ if cfg.extraConfig != ""
+ then pkgs.writeText "lenovo_fix.conf" cfg.extraConfig
+ else "${pkgs.throttled}/etc/lenovo_fix.conf";
+ };
+}
diff --git a/nixos/modules/services/hardware/tlp.nix b/nixos/modules/services/hardware/tlp.nix
index 092ff051a04..4f8af797828 100644
--- a/nixos/modules/services/hardware/tlp.nix
+++ b/nixos/modules/services/hardware/tlp.nix
@@ -60,11 +60,11 @@ in
powerManagement.cpufreq.max = null;
powerManagement.cpufreq.min = null;
- systemd.sockets."systemd-rfkill".enable = false;
+ systemd.sockets.systemd-rfkill.enable = false;
systemd.services = {
"systemd-rfkill@".enable = false;
- "systemd-rfkill".enable = false;
+ systemd-rfkill.enable = false;
tlp = {
description = "TLP system startup/shutdown";
diff --git a/nixos/modules/services/hardware/trezord.nix b/nixos/modules/services/hardware/trezord.nix
index c06a0665d02..62824ed7350 100644
--- a/nixos/modules/services/hardware/trezord.nix
+++ b/nixos/modules/services/hardware/trezord.nix
@@ -4,6 +4,12 @@ with lib;
let
cfg = config.services.trezord;
in {
+
+ ### docs
+
+ meta = {
+ doc = ./trezord.xml;
+ };
### interface
@@ -16,6 +22,22 @@ in {
Enable Trezor bridge daemon, for use with Trezor hardware bitcoin wallets.
'';
};
+
+ emulator.enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Enable Trezor emulator support.
+ '';
+ };
+
+ emulator.port = mkOption {
+ type = types.port;
+ default = 21324;
+ description = ''
+ Listening port for the Trezor emulator.
+ '';
+ };
};
};
@@ -44,7 +66,7 @@ in {
path = [];
serviceConfig = {
Type = "simple";
- ExecStart = "${pkgs.trezord}/bin/trezord-go";
+ ExecStart = "${pkgs.trezord}/bin/trezord-go ${optionalString cfg.emulator.enable "-e ${builtins.toString cfg.emulator.port}"}";
User = "trezord";
};
};
diff --git a/nixos/modules/services/hardware/trezord.xml b/nixos/modules/services/hardware/trezord.xml
new file mode 100644
index 00000000000..972d409d9d0
--- /dev/null
+++ b/nixos/modules/services/hardware/trezord.xml
@@ -0,0 +1,26 @@
+
+ Trezor
+
+ Trezor is an open-source cryptocurrency hardware wallet and security token
+ allowing secure storage of private keys.
+
+
+ It offers advanced features such U2F two-factor authorization, SSH login
+ through
+ Trezor SSH agent,
+ GPG and a
+ password manager.
+ For more information, guides and documentation, see .
+
+
+ To enable Trezor support, add the following to your configuration.nix:
+
+ = true;
+
+ This will add all necessary udev rules and start Trezor Bridge.
+
+
diff --git a/nixos/modules/services/hardware/triggerhappy.nix b/nixos/modules/services/hardware/triggerhappy.nix
index bffe7353b10..f9f5234bdc3 100644
--- a/nixos/modules/services/hardware/triggerhappy.nix
+++ b/nixos/modules/services/hardware/triggerhappy.nix
@@ -17,7 +17,7 @@ let
${cfg.extraConfig}
'';
- bindingCfg = { config, ... }: {
+ bindingCfg = { ... }: {
options = {
keys = mkOption {
@@ -102,7 +102,6 @@ in
systemd.services.triggerhappy = {
wantedBy = [ "multi-user.target" ];
- after = [ "local-fs.target" ];
description = "Global hotkey daemon";
serviceConfig = {
ExecStart = "${pkgs.triggerhappy}/bin/thd ${optionalString (cfg.user != "root") "--user ${cfg.user}"} --socket ${socket} --triggers ${configFile} --deviceglob /dev/input/event*";
diff --git a/nixos/modules/services/hardware/udev.nix b/nixos/modules/services/hardware/udev.nix
index 0266286aaac..83ab93bd7cf 100644
--- a/nixos/modules/services/hardware/udev.nix
+++ b/nixos/modules/services/hardware/udev.nix
@@ -85,7 +85,7 @@ let
for i in $import_progs $run_progs; do
if [[ ! -x $i ]]; then
echo "FAIL"
- echo "$i is called in udev rules but not installed by udev"
+ echo "$i is called in udev rules but is not executable or does not exist"
exit 1
fi
done
@@ -116,10 +116,6 @@ let
exit 1
fi
- ${optionalString config.networking.usePredictableInterfaceNames ''
- cp ${./80-net-setup-link.rules} $out/80-net-setup-link.rules
- ''}
-
# If auto-configuration is disabled, then remove
# udev's 80-drivers.rules file, which contains rules for
# automatically calling modprobe.
@@ -282,6 +278,8 @@ in
services.udev.path = [ pkgs.coreutils pkgs.gnused pkgs.gnugrep pkgs.utillinux udev ];
+ boot.kernelParams = mkIf (!config.networking.usePredictableInterfaceNames) [ "net.ifnames=0" ];
+
environment.etc =
[ { source = udevRules;
target = "udev/rules.d";
diff --git a/nixos/modules/services/hardware/upower.nix b/nixos/modules/services/hardware/upower.nix
index 1da47349c07..5e7ac7a6e65 100644
--- a/nixos/modules/services/hardware/upower.nix
+++ b/nixos/modules/services/hardware/upower.nix
@@ -5,8 +5,11 @@
with lib;
let
+
cfg = config.services.upower;
+
in
+
{
###### interface
@@ -49,55 +52,7 @@ in
services.udev.packages = [ cfg.package ];
- systemd.services.upower =
- { description = "Power Management Daemon";
- path = [ pkgs.glib.out ]; # needed for gdbus
- serviceConfig =
- { Type = "dbus";
- BusName = "org.freedesktop.UPower";
- ExecStart = "@${cfg.package}/libexec/upowerd upowerd";
- Restart = "on-failure";
- # Upstream lockdown:
- # Filesystem lockdown
- ProtectSystem = "strict";
- # Needed by keyboard backlight support
- ProtectKernelTunables = false;
- ProtectControlGroups = true;
- ReadWritePaths = "/var/lib/upower";
- ProtectHome = true;
- PrivateTmp = true;
-
- # Network
- # PrivateNetwork=true would block udev's netlink socket
- RestrictAddressFamilies = "AF_UNIX AF_NETLINK";
-
- # Execute Mappings
- MemoryDenyWriteExecute = true;
-
- # Modules
- ProtectKernelModules = true;
-
- # Real-time
- RestrictRealtime = true;
-
- # Privilege escalation
- NoNewPrivileges = true;
- };
- };
-
- system.activationScripts.upower =
- ''
- mkdir -m 0755 -p /var/lib/upower
- '';
-
- # The upower daemon seems to get stuck after doing a suspend
- # (i.e. subsequent suspend requests will say "Sleep has already
- # been requested and is pending"). So as a workaround, restart
- # the daemon.
- powerManagement.resumeCommands =
- ''
- ${config.systemd.package}/bin/systemctl try-restart upower
- '';
+ systemd.packages = [ cfg.package ];
};
diff --git a/nixos/modules/services/logging/SystemdJournal2Gelf.nix b/nixos/modules/services/logging/SystemdJournal2Gelf.nix
index e90d9e7a12b..f26aef7262b 100644
--- a/nixos/modules/services/logging/SystemdJournal2Gelf.nix
+++ b/nixos/modules/services/logging/SystemdJournal2Gelf.nix
@@ -16,7 +16,7 @@ in
};
graylogServer = mkOption {
- type = types.string;
+ type = types.str;
example = "graylog2.example.com:11201";
description = ''
Host and port of your graylog2 input. This should be a GELF
@@ -25,7 +25,7 @@ in
};
extraOptions = mkOption {
- type = types.string;
+ type = types.separatedString " ";
default = "";
description = ''
Any extra flags to pass to SystemdJournal2Gelf. Note that
@@ -56,4 +56,4 @@ in
};
};
};
-}
\ No newline at end of file
+}
diff --git a/nixos/modules/services/logging/awstats.nix b/nixos/modules/services/logging/awstats.nix
index 612ae06d0a7..a92ff3bee49 100644
--- a/nixos/modules/services/logging/awstats.nix
+++ b/nixos/modules/services/logging/awstats.nix
@@ -4,6 +4,7 @@ with lib;
let
cfg = config.services.awstats;
+ httpd = config.services.httpd;
package = pkgs.awstats;
in
@@ -31,7 +32,7 @@ in
};
updateAt = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
example = "hourly";
description = ''
@@ -49,7 +50,7 @@ in
description = ''Enable the awstats web service. This switches on httpd.'';
};
urlPrefix = mkOption {
- type = types.string;
+ type = types.str;
default = "/awstats";
description = "The URL prefix under which the awstats service appears.";
};
@@ -67,50 +68,43 @@ in
environment.etc."awstats/awstats.conf".source = pkgs.runCommand "awstats.conf"
{ preferLocalBuild = true; }
( let
- cfg-httpd = config.services.httpd;
logFormat =
- if cfg-httpd.logFormat == "combined" then "1" else
- if cfg-httpd.logFormat == "common" then "4" else
- throw "awstats service doesn't support Apache log format `${cfg-httpd.logFormat}`";
+ if httpd.logFormat == "combined" then "1" else
+ if httpd.logFormat == "common" then "4" else
+ throw "awstats service doesn't support Apache log format `${httpd.logFormat}`";
in
''
sed \
-e 's|^\(DirData\)=.*$|\1="${cfg.vardir}"|' \
-e 's|^\(DirIcons\)=.*$|\1="icons"|' \
-e 's|^\(CreateDirDataIfNotExists\)=.*$|\1=1|' \
- -e 's|^\(SiteDomain\)=.*$|\1="${cfg-httpd.hostName}"|' \
- -e 's|^\(LogFile\)=.*$|\1="${cfg-httpd.logDir}/access_log"|' \
+ -e 's|^\(SiteDomain\)=.*$|\1="${httpd.hostName}"|' \
+ -e 's|^\(LogFile\)=.*$|\1="${httpd.logDir}/access_log"|' \
-e 's|^\(LogFormat\)=.*$|\1=${logFormat}|' \
< '${package.out}/wwwroot/cgi-bin/awstats.model.conf' > "$out"
echo '${cfg.extraConfig}' >> "$out"
'');
- # The httpd sub-service showing awstats.
- services.httpd.enable = mkIf cfg.service.enable true;
- services.httpd.extraSubservices = mkIf cfg.service.enable [ { function = { serverInfo, ... }: {
- extraConfig =
- ''
- Alias ${cfg.service.urlPrefix}/classes "${package.out}/wwwroot/classes/"
- Alias ${cfg.service.urlPrefix}/css "${package.out}/wwwroot/css/"
- Alias ${cfg.service.urlPrefix}/icons "${package.out}/wwwroot/icon/"
- ScriptAlias ${cfg.service.urlPrefix}/ "${package.out}/wwwroot/cgi-bin/"
+ systemd.tmpfiles.rules = optionals cfg.service.enable [
+ "d '${cfg.vardir}' - ${httpd.user} ${httpd.group} - -"
+ "Z '${cfg.vardir}' - ${httpd.user} ${httpd.group} - -"
+ ];
-
- Options None
- AllowOverride None
- Order allow,deny
- Allow from all
-
- '';
- startupScript =
- let
- inherit (serverInfo.serverConfig) user group;
- in pkgs.writeScript "awstats_startup.sh"
- ''
- mkdir -p '${cfg.vardir}'
- chown '${user}:${group}' '${cfg.vardir}'
- '';
- };}];
+ # The httpd sub-service showing awstats.
+ services.httpd = optionalAttrs cfg.service.enable {
+ enable = true;
+ extraConfig = ''
+ Alias ${cfg.service.urlPrefix}/classes "${package.out}/wwwroot/classes/"
+ Alias ${cfg.service.urlPrefix}/css "${package.out}/wwwroot/css/"
+ Alias ${cfg.service.urlPrefix}/icons "${package.out}/wwwroot/icon/"
+ ScriptAlias ${cfg.service.urlPrefix}/ "${package.out}/wwwroot/cgi-bin/"
+
+
+ Options None
+ Require all granted
+
+ '';
+ };
systemd.services.awstats-update = mkIf (cfg.updateAt != null) {
description = "awstats log collector";
diff --git a/nixos/modules/services/logging/graylog.nix b/nixos/modules/services/logging/graylog.nix
index 74a7b3c9b47..a889a44d4b2 100644
--- a/nixos/modules/services/logging/graylog.nix
+++ b/nixos/modules/services/logging/graylog.nix
@@ -108,7 +108,7 @@ in
};
extraConfig = mkOption {
- type = types.str;
+ type = types.lines;
default = "";
description = "Any other configuration options you might want to add";
};
@@ -134,6 +134,10 @@ in
};
};
+ systemd.tmpfiles.rules = [
+ "d '${cfg.messageJournalDir}' - ${cfg.user} - - -"
+ ];
+
systemd.services.graylog = with pkgs; {
description = "Graylog Server";
wantedBy = [ "multi-user.target" ];
@@ -143,25 +147,22 @@ in
};
path = [ pkgs.jre_headless pkgs.which pkgs.procps ];
preStart = ''
- mkdir -p /var/lib/graylog -m 755
-
rm -rf /var/lib/graylog/plugins || true
mkdir -p /var/lib/graylog/plugins -m 755
+ mkdir -p "$(dirname ${cfg.nodeIdFile})"
+ chown -R ${cfg.user} "$(dirname ${cfg.nodeIdFile})"
+
for declarativeplugin in `ls ${glPlugins}/bin/`; do
ln -sf ${glPlugins}/bin/$declarativeplugin /var/lib/graylog/plugins/$declarativeplugin
done
for includedplugin in `ls ${cfg.package}/plugin/`; do
ln -s ${cfg.package}/plugin/$includedplugin /var/lib/graylog/plugins/$includedplugin || true
done
- chown -R ${cfg.user} /var/lib/graylog
-
- mkdir -p ${cfg.messageJournalDir} -m 755
- chown -R ${cfg.user} ${cfg.messageJournalDir}
'';
serviceConfig = {
User="${cfg.user}";
- PermissionsStartOnly=true;
+ StateDirectory = "graylog";
ExecStart = "${cfg.package}/bin/graylogctl run";
};
};
diff --git a/nixos/modules/services/logging/heartbeat.nix b/nixos/modules/services/logging/heartbeat.nix
index b595ac07bf5..56fb4deabda 100644
--- a/nixos/modules/services/logging/heartbeat.nix
+++ b/nixos/modules/services/logging/heartbeat.nix
@@ -54,16 +54,18 @@ in
config = mkIf cfg.enable {
+ systemd.tmpfiles.rules = [
+ "d '${cfg.stateDir}' - nobody nogroup - -"
+ ];
+
systemd.services.heartbeat = with pkgs; {
description = "heartbeat log shipper";
wantedBy = [ "multi-user.target" ];
preStart = ''
mkdir -p "${cfg.stateDir}"/{data,logs}
- chown nobody:nogroup "${cfg.stateDir}"/{data,logs}
'';
serviceConfig = {
User = "nobody";
- PermissionsStartOnly = true;
AmbientCapabilities = "cap_net_raw";
ExecStart = "${pkgs.heartbeat}/bin/heartbeat -c \"${heartbeatYml}\" -path.data \"${cfg.stateDir}/data\" -path.logs \"${cfg.stateDir}/logs\"";
};
diff --git a/nixos/modules/services/logging/logcheck.nix b/nixos/modules/services/logging/logcheck.nix
index f139190a170..6d8be5b926d 100644
--- a/nixos/modules/services/logging/logcheck.nix
+++ b/nixos/modules/services/logging/logcheck.nix
@@ -23,9 +23,9 @@ let
flags = "-r ${rulesDir} -c ${configFile} -L ${logFiles} -${levelFlag} -m ${cfg.mailTo}";
levelFlag = getAttrFromPath [cfg.level]
- { "paranoid" = "p";
- "server" = "s";
- "workstation" = "w";
+ { paranoid = "p";
+ server = "s";
+ workstation = "w";
};
cronJob = ''
@@ -155,7 +155,7 @@ in
config = mkOption {
default = "FQDN=1";
- type = types.string;
+ type = types.lines;
description = ''
Config options that you would like in logcheck.conf.
'';
diff --git a/nixos/modules/services/logging/logstash.nix b/nixos/modules/services/logging/logstash.nix
index 9b707e9deb5..4943e8d7db3 100644
--- a/nixos/modules/services/logging/logstash.nix
+++ b/nixos/modules/services/logging/logstash.nix
@@ -53,7 +53,7 @@ in
type = types.package;
default = pkgs.logstash;
defaultText = "pkgs.logstash";
- example = literalExample "pkgs.logstash5";
+ example = literalExample "pkgs.logstash";
description = "Logstash package to use.";
};
diff --git a/nixos/modules/services/logging/rsyslogd.nix b/nixos/modules/services/logging/rsyslogd.nix
index 1ea96b8f132..b924d94e0b0 100644
--- a/nixos/modules/services/logging/rsyslogd.nix
+++ b/nixos/modules/services/logging/rsyslogd.nix
@@ -46,7 +46,7 @@ in
};
defaultConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = defaultConf;
description = ''
The default syslog.conf file configures a
@@ -56,7 +56,7 @@ in
};
extraConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = "";
example = "news.* -/var/log/news";
description = ''
diff --git a/nixos/modules/services/mail/davmail.nix b/nixos/modules/services/mail/davmail.nix
index 5b5cc294e5c..374a3dd75c1 100644
--- a/nixos/modules/services/mail/davmail.nix
+++ b/nixos/modules/services/mail/davmail.nix
@@ -7,7 +7,7 @@ let
cfg = config.services.davmail;
configType = with types;
- either (either (attrsOf configType) str) (either int bool) // {
+ oneOf [ (attrsOf configType) str int bool ] // {
description = "davmail config type (str, int, bool or attribute set thereof)";
};
diff --git a/nixos/modules/services/mail/dovecot.nix b/nixos/modules/services/mail/dovecot.nix
index 139011dca23..cdbb776454b 100644
--- a/nixos/modules/services/mail/dovecot.nix
+++ b/nixos/modules/services/mail/dovecot.nix
@@ -344,8 +344,7 @@ in
systemd.services.dovecot2 = {
description = "Dovecot IMAP/POP3 server";
- after = [ "keys.target" "network.target" ];
- wants = [ "keys.target" ];
+ after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
restartTriggers = [ cfg.configFile ];
diff --git a/nixos/modules/services/mail/dspam.nix b/nixos/modules/services/mail/dspam.nix
index 167b5aeccc8..72b8c4c08b9 100644
--- a/nixos/modules/services/mail/dspam.nix
+++ b/nixos/modules/services/mail/dspam.nix
@@ -113,19 +113,14 @@ in {
Group = cfg.group;
RuntimeDirectory = optional (cfg.domainSocket == defaultSock) "dspam";
RuntimeDirectoryMode = optional (cfg.domainSocket == defaultSock) "0750";
- PermissionsStartOnly = true;
+ StateDirectory = "dspam";
+ StateDirectoryMode = "0750";
+ LogsDirectory = "dspam";
+ LogsDirectoryMode = "0750";
# DSPAM segfaults on just about every error
Restart = "on-abort";
RestartSec = "1s";
};
-
- preStart = ''
- mkdir -m750 -p /var/lib/dspam
- chown -R "${cfg.user}:${cfg.group}" /var/lib/dspam
-
- mkdir -m750 -p /var/log/dspam
- chown -R "${cfg.user}:${cfg.group}" /var/log/dspam
- '';
};
}
diff --git a/nixos/modules/services/mail/exim.nix b/nixos/modules/services/mail/exim.nix
index c0581129135..47812dd1e40 100644
--- a/nixos/modules/services/mail/exim.nix
+++ b/nixos/modules/services/mail/exim.nix
@@ -21,7 +21,7 @@ in
};
config = mkOption {
- type = types.string;
+ type = types.lines;
default = "";
description = ''
Verbatim Exim configuration. This should not contain exim_user,
@@ -30,7 +30,7 @@ in
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "exim";
description = ''
User to use when no root privileges are required.
@@ -42,7 +42,7 @@ in
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "exim";
description = ''
Group to use when no root privileges are required.
@@ -50,7 +50,7 @@ in
};
spoolDir = mkOption {
- type = types.string;
+ type = types.path;
default = "/var/spool/exim";
description = ''
Location of the spool directory of exim.
diff --git a/nixos/modules/services/mail/mailman.nix b/nixos/modules/services/mail/mailman.nix
new file mode 100644
index 00000000000..e917209f3d1
--- /dev/null
+++ b/nixos/modules/services/mail/mailman.nix
@@ -0,0 +1,297 @@
+{ config, pkgs, lib, ... }: # mailman.nix
+
+with lib;
+
+let
+
+ cfg = config.services.mailman;
+
+ mailmanPyEnv = pkgs.python3.withPackages (ps: with ps; [mailman mailman-hyperkitty]);
+
+ mailmanExe = with pkgs; stdenv.mkDerivation {
+ name = "mailman-" + python3Packages.mailman.version;
+ buildInputs = [makeWrapper];
+ unpackPhase = ":";
+ installPhase = ''
+ mkdir -p $out/bin
+ makeWrapper ${mailmanPyEnv}/bin/mailman $out/bin/mailman \
+ --set MAILMAN_CONFIG_FILE /etc/mailman.cfg
+ '';
+ };
+
+ mailmanWeb = pkgs.python3Packages.mailman-web.override {
+ serverEMail = cfg.siteOwner;
+ archiverKey = cfg.hyperkittyApiKey;
+ allowedHosts = cfg.webHosts;
+ };
+
+ mailmanWebPyEnv = pkgs.python3.withPackages (x: with x; [mailman-web]);
+
+ mailmanWebExe = with pkgs; stdenv.mkDerivation {
+ inherit (mailmanWeb) name;
+ buildInputs = [makeWrapper];
+ unpackPhase = ":";
+ installPhase = ''
+ mkdir -p $out/bin
+ makeWrapper ${mailmanWebPyEnv}/bin/django-admin $out/bin/mailman-web \
+ --set DJANGO_SETTINGS_MODULE settings
+ '';
+ };
+
+ mailmanCfg = ''
+ [mailman]
+ site_owner: ${cfg.siteOwner}
+ layout: fhs
+
+ [paths.fhs]
+ bin_dir: ${pkgs.python3Packages.mailman}/bin
+ var_dir: /var/lib/mailman
+ queue_dir: $var_dir/queue
+ template_dir: $var_dir/templates
+ log_dir: $var_dir/log
+ lock_dir: $var_dir/lock
+ etc_dir: /etc
+ ext_dir: $etc_dir/mailman.d
+ pid_file: /run/mailman/master.pid
+ '' + optionalString (cfg.hyperkittyApiKey != null) ''
+ [archiver.hyperkitty]
+ class: mailman_hyperkitty.Archiver
+ enable: yes
+ configuration: ${pkgs.writeText "mailman-hyperkitty.cfg" mailmanHyperkittyCfg}
+ '';
+
+ mailmanHyperkittyCfg = ''
+ [general]
+ # This is your HyperKitty installation, preferably on the localhost. This
+ # address will be used by Mailman to forward incoming emails to HyperKitty
+ # for archiving. It does not need to be publicly available, in fact it's
+ # better if it is not.
+ base_url: ${cfg.hyperkittyBaseUrl}
+
+ # Shared API key, must be the identical to the value in HyperKitty's
+ # settings.
+ api_key: ${cfg.hyperkittyApiKey}
+ '';
+
+in {
+
+ ###### interface
+
+ options = {
+
+ services.mailman = {
+
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Enable Mailman on this host. Requires an active Postfix installation.";
+ };
+
+ siteOwner = mkOption {
+ type = types.str;
+ default = "postmaster@example.org";
+ description = ''
+ Certain messages that must be delivered to a human, but which can't
+ be delivered to a list owner (e.g. a bounce from a list owner), will
+ be sent to this address. It should point to a human.
+ '';
+ };
+
+ webRoot = mkOption {
+ type = types.path;
+ default = "${mailmanWeb}/${pkgs.python3.sitePackages}";
+ defaultText = "pkgs.python3Packages.mailman-web";
+ description = ''
+ The web root for the Hyperkity + Postorius apps provided by Mailman.
+ This variable can be set, of course, but it mainly exists so that site
+ admins can refer to it in their own hand-written httpd configuration files.
+ '';
+ };
+
+ webHosts = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ The list of hostnames and/or IP addresses from which the Mailman Web
+ UI will accept requests. By default, "localhost" and "127.0.0.1" are
+ enabled. All additional names under which your web server accepts
+ requests for the UI must be listed here or incoming requests will be
+ rejected.
+ '';
+ };
+
+ hyperkittyBaseUrl = mkOption {
+ type = types.str;
+ default = "http://localhost/hyperkitty/";
+ description = ''
+ Where can Mailman connect to Hyperkitty's internal API, preferably on
+ localhost?
+ '';
+ };
+
+ hyperkittyApiKey = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ The shared secret used to authenticate Mailman's internal
+ communication with Hyperkitty. Must be set to enable support for the
+ Hyperkitty archiver. Note that this secret is going to be visible to
+ all local users in the Nix store.
+ '';
+ };
+
+ };
+ };
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ assertions = [
+ { assertion = cfg.enable -> config.services.postfix.enable;
+ message = "Mailman requires Postfix";
+ }
+ ];
+
+ users.users.mailman = { description = "GNU Mailman"; isSystemUser = true; };
+
+ environment = {
+ systemPackages = [ mailmanExe mailmanWebExe pkgs.sassc ];
+ etc."mailman.cfg".text = mailmanCfg;
+ };
+
+ services.postfix = {
+ relayDomains = [ "hash:/var/lib/mailman/data/postfix_domains" ];
+ recipientDelimiter = "+"; # bake recipient addresses in mail envelopes via VERP
+ config = {
+ transport_maps = [ "hash:/var/lib/mailman/data/postfix_lmtp" ];
+ local_recipient_maps = [ "hash:/var/lib/mailman/data/postfix_lmtp" ];
+ owner_request_special = "no"; # Mailman handles -owner addresses on its own
+ };
+ };
+
+ systemd.services.mailman = {
+ description = "GNU Mailman Master Process";
+ after = [ "network.target" ];
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ ExecStart = "${mailmanExe}/bin/mailman start";
+ ExecStop = "${mailmanExe}/bin/mailman stop";
+ User = "mailman";
+ Type = "forking";
+ StateDirectory = "mailman";
+ StateDirectoryMode = "0700";
+ RuntimeDirectory = "mailman";
+ PIDFile = "/run/mailman/master.pid";
+ };
+ };
+
+ systemd.services.mailman-web = {
+ description = "Init Postorius DB";
+ before = [ "httpd.service" ];
+ requiredBy = [ "httpd.service" ];
+ script = ''
+ ${mailmanWebExe}/bin/mailman-web migrate
+ rm -rf static
+ ${mailmanWebExe}/bin/mailman-web collectstatic
+ ${mailmanWebExe}/bin/mailman-web compress
+ '';
+ serviceConfig = {
+ User = config.services.httpd.user;
+ Type = "oneshot";
+ StateDirectory = "mailman-web";
+ StateDirectoryMode = "0700";
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.mailman-daily = {
+ description = "Trigger daily Mailman events";
+ startAt = "daily";
+ serviceConfig = {
+ ExecStart = "${mailmanExe}/bin/mailman digests --send";
+ User = "mailman";
+ };
+ };
+
+ systemd.services.hyperkitty = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "GNU Hyperkitty QCluster Process";
+ after = [ "network.target" ];
+ wantedBy = [ "mailman.service" "multi-user.target" ];
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web qcluster";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.hyperkitty-minutely = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "Trigger minutely Hyperkitty events";
+ startAt = "minutely";
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web runjobs minutely";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.hyperkitty-quarter-hourly = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "Trigger quarter-hourly Hyperkitty events";
+ startAt = "*:00/15";
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web runjobs quarter_hourly";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.hyperkitty-hourly = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "Trigger hourly Hyperkitty events";
+ startAt = "hourly";
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web runjobs hourly";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.hyperkitty-daily = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "Trigger daily Hyperkitty events";
+ startAt = "daily";
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web runjobs daily";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.hyperkitty-weekly = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "Trigger weekly Hyperkitty events";
+ startAt = "weekly";
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web runjobs weekly";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ systemd.services.hyperkitty-yearly = {
+ enable = cfg.hyperkittyApiKey != null;
+ description = "Trigger yearly Hyperkitty events";
+ startAt = "yearly";
+ serviceConfig = {
+ ExecStart = "${mailmanWebExe}/bin/mailman-web runjobs yearly";
+ User = config.services.httpd.user;
+ WorkingDirectory = "/var/lib/mailman-web";
+ };
+ };
+
+ };
+
+}
diff --git a/nixos/modules/services/mail/mlmmj.nix b/nixos/modules/services/mail/mlmmj.nix
index 11565bc02f8..7ae00f3e501 100644
--- a/nixos/modules/services/mail/mlmmj.nix
+++ b/nixos/modules/services/mail/mlmmj.nix
@@ -137,7 +137,7 @@ in
${pkgs.postfix}/bin/postmap ${stateDir}/transports
'';
- systemd.services."mlmmj-maintd" = {
+ systemd.services.mlmmj-maintd = {
description = "mlmmj maintenance daemon";
serviceConfig = {
User = cfg.user;
@@ -146,7 +146,7 @@ in
};
};
- systemd.timers."mlmmj-maintd" = {
+ systemd.timers.mlmmj-maintd = {
description = "mlmmj maintenance timer";
timerConfig.OnUnitActiveSec = cfg.maintInterval;
wantedBy = [ "timers.target" ];
diff --git a/nixos/modules/services/mail/nullmailer.nix b/nixos/modules/services/mail/nullmailer.nix
index 9997d287013..2c2910e0aa9 100644
--- a/nixos/modules/services/mail/nullmailer.nix
+++ b/nixos/modules/services/mail/nullmailer.nix
@@ -14,7 +14,7 @@ with lib;
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "nullmailer";
description = ''
User to use to run nullmailer-send.
@@ -22,7 +22,7 @@ with lib;
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "nullmailer";
description = ''
Group to use to run nullmailer-send.
diff --git a/nixos/modules/services/mail/opendkim.nix b/nixos/modules/services/mail/opendkim.nix
index 7855efb46c7..253823cbaf9 100644
--- a/nixos/modules/services/mail/opendkim.nix
+++ b/nixos/modules/services/mail/opendkim.nix
@@ -101,13 +101,16 @@ in {
environment.systemPackages = [ pkgs.opendkim ];
+ systemd.tmpfiles.rules = [
+ "d '${cfg.keyPath}' - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.opendkim = {
description = "OpenDKIM signing and verification daemon";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
- mkdir -p "${cfg.keyPath}"
cd "${cfg.keyPath}"
if ! test -f ${cfg.selector}.private; then
${pkgs.opendkim}/bin/opendkim-genkey -s ${cfg.selector} -d all-domains-generic-key
@@ -116,7 +119,6 @@ in {
cat ${cfg.selector}.txt
echo "-------------------------------------------------------------"
fi
- chown ${cfg.user}:${cfg.group} ${cfg.selector}.private
'';
serviceConfig = {
@@ -124,7 +126,6 @@ in {
User = cfg.user;
Group = cfg.group;
RuntimeDirectory = optional (cfg.socket == defaultSock) "opendkim";
- PermissionsStartOnly = true;
};
};
diff --git a/nixos/modules/services/mail/pfix-srsd.nix b/nixos/modules/services/mail/pfix-srsd.nix
index 9599854352c..38984f896d6 100644
--- a/nixos/modules/services/mail/pfix-srsd.nix
+++ b/nixos/modules/services/mail/pfix-srsd.nix
@@ -40,7 +40,7 @@ with lib;
systemPackages = [ pkgs.pfixtools ];
};
- systemd.services."pfix-srsd" = {
+ systemd.services.pfix-srsd = {
description = "Postfix sender rewriting scheme daemon";
before = [ "postfix.service" ];
#note that we use requires rather than wants because postfix
diff --git a/nixos/modules/services/mail/postfix.nix b/nixos/modules/services/mail/postfix.nix
index d43733484ff..d5fd76da970 100644
--- a/nixos/modules/services/mail/postfix.nix
+++ b/nixos/modules/services/mail/postfix.nix
@@ -13,6 +13,7 @@ let
|| cfg.extraAliases != "";
haveTransport = cfg.transport != "";
haveVirtual = cfg.virtual != "";
+ haveLocalRecipients = cfg.localRecipients != null;
clientAccess =
optional (cfg.dnsBlacklistOverrides != "")
@@ -244,6 +245,7 @@ let
aliasesFile = pkgs.writeText "postfix-aliases" aliases;
virtualFile = pkgs.writeText "postfix-virtual" cfg.virtual;
+ localRecipientMapFile = pkgs.writeText "postfix-local-recipient-map" (concatMapStrings (x: x + " ACCEPT\n") cfg.localRecipients);
checkClientAccessFile = pkgs.writeText "postfix-check-client-access" cfg.dnsBlacklistOverrides;
mainCfFile = pkgs.writeText "postfix-main.cf" mainCf;
masterCfFile = pkgs.writeText "postfix-master.cf" masterCfContent;
@@ -445,7 +447,7 @@ in
};
config = mkOption {
- type = with types; attrsOf (either bool (either str (listOf str)));
+ type = with types; attrsOf (oneOf [ bool str (listOf str) ]);
description = ''
The main.cf configuration file as key value set.
'';
@@ -506,6 +508,19 @@ in
'';
};
+ localRecipients = mkOption {
+ type = with types; nullOr (listOf str);
+ default = null;
+ description = ''
+ List of accepted local users. Specify a bare username, an
+ "@domain.tld" wild-card, or a complete
+ "user@domain.tld" address. If set, these names end
+ up in the local recipient map -- see the local(8) man-page -- and
+ effectively replace the system user database lookup that's otherwise
+ used by default.
+ '';
+ };
+
transport = mkOption {
default = "";
description = "
@@ -515,7 +530,7 @@ in
dnsBlacklists = mkOption {
default = [];
- type = with types; listOf string;
+ type = with types; listOf str;
description = "dns blacklist servers to use with smtpd_client_restrictions";
};
@@ -742,6 +757,7 @@ in
// optionalAttrs haveAliases { alias_maps = [ "${cfg.aliasMapType}:/etc/postfix/aliases" ]; }
// optionalAttrs haveTransport { transport_maps = [ "hash:/etc/postfix/transport" ]; }
// optionalAttrs haveVirtual { virtual_alias_maps = [ "${cfg.virtualMapType}:/etc/postfix/virtual" ]; }
+ // optionalAttrs haveLocalRecipients { local_recipient_maps = [ "hash:/etc/postfix/local_recipients" ] ++ optional haveAliases "$alias_maps"; }
// optionalAttrs (cfg.dnsBlacklists != []) { smtpd_client_restrictions = clientRestrictions; }
// optionalAttrs cfg.useSrs {
sender_canonical_maps = [ "tcp:127.0.0.1:10001" ];
@@ -861,19 +877,22 @@ in
}
(mkIf haveAliases {
- services.postfix.aliasFiles."aliases" = aliasesFile;
+ services.postfix.aliasFiles.aliases = aliasesFile;
})
(mkIf haveTransport {
- services.postfix.mapFiles."transport" = transportFile;
+ services.postfix.mapFiles.transport = transportFile;
})
(mkIf haveVirtual {
- services.postfix.mapFiles."virtual" = virtualFile;
+ services.postfix.mapFiles.virtual = virtualFile;
+ })
+ (mkIf haveLocalRecipients {
+ services.postfix.mapFiles.local_recipients = localRecipientMapFile;
})
(mkIf cfg.enableHeaderChecks {
- services.postfix.mapFiles."header_checks" = headerChecksFile;
+ services.postfix.mapFiles.header_checks = headerChecksFile;
})
(mkIf (cfg.dnsBlacklists != []) {
- services.postfix.mapFiles."client_access" = checkClientAccessFile;
+ services.postfix.mapFiles.client_access = checkClientAccessFile;
})
]);
}
diff --git a/nixos/modules/services/mail/postgrey.nix b/nixos/modules/services/mail/postgrey.nix
index 8e2b9c5dbc5..88fb7f0b4ad 100644
--- a/nixos/modules/services/mail/postgrey.nix
+++ b/nixos/modules/services/mail/postgrey.nix
@@ -7,12 +7,12 @@ with lib; let
natural = with types; addCheck int (x: x >= 0);
natural' = with types; addCheck int (x: x > 0);
- socket = with types; addCheck (either (submodule unixSocket) (submodule inetSocket)) (x: x ? "path" || x ? "port");
+ socket = with types; addCheck (either (submodule unixSocket) (submodule inetSocket)) (x: x ? path || x ? port);
inetSocket = with types; {
options = {
addr = mkOption {
- type = nullOr string;
+ type = nullOr str;
default = null;
example = "127.0.0.1";
description = "The address to bind to. Localhost if null";
@@ -34,7 +34,7 @@ with lib; let
};
mode = mkOption {
- type = string;
+ type = str;
default = "0777";
description = "Mode of the unix socket";
};
@@ -63,17 +63,17 @@ in {
description = "Socket to bind to";
};
greylistText = mkOption {
- type = string;
+ type = str;
default = "Greylisted for %%s seconds";
description = "Response status text for greylisted messages; use %%s for seconds left until greylisting is over and %%r for mail domain of recipient";
};
greylistAction = mkOption {
- type = string;
+ type = str;
default = "DEFER_IF_PERMIT";
description = "Response status for greylisted messages (see access(5))";
};
greylistHeader = mkOption {
- type = string;
+ type = str;
default = "X-Greylist: delayed %%t seconds by postgrey-%%v at %%h; %%d";
description = "Prepend header to greylisted mails; use %%t for seconds delayed due to greylisting, %%v for the version of postgrey, %%d for the date, and %%h for the host";
};
@@ -88,7 +88,7 @@ in {
description = "Delete entries from whitelist if they haven't been seen for N days";
};
retryWindow = mkOption {
- type = either string natural;
+ type = either str natural;
default = 2;
example = "12h";
description = "Allow N days for the first retry. Use string with appended 'h' to specify time in hours";
@@ -151,7 +151,7 @@ in {
};
systemd.services.postgrey = let
- bind-flag = if cfg.socket ? "path" then
+ bind-flag = if cfg.socket ? path then
''--unix=${cfg.socket.path} --socketmode=${cfg.socket.mode}''
else
''--inet=${optionalString (cfg.socket.addr != null) (cfg.socket.addr + ":")}${toString cfg.socket.port}'';
diff --git a/nixos/modules/services/mail/rmilter.nix b/nixos/modules/services/mail/rmilter.nix
deleted file mode 100644
index 466365b6b30..00000000000
--- a/nixos/modules/services/mail/rmilter.nix
+++ /dev/null
@@ -1,252 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
- rspamdCfg = config.services.rspamd;
- postfixCfg = config.services.postfix;
- cfg = config.services.rmilter;
-
- inetSocket = addr: port: "inet:${addr}:${toString port}";
- unixSocket = sock: "unix:${sock}";
-
- systemdSocket = if cfg.bindSocket.type == "unix" then cfg.bindSocket.path
- else "${cfg.bindSocket.address}:${toString cfg.bindSocket.port}";
- rmilterSocket = if cfg.bindSocket.type == "unix" then unixSocket cfg.bindSocket.path
- else inetSocket cfg.bindSocket.address cfg.bindSocket.port;
-
- rmilterConf = ''
- pidfile = /run/rmilter/rmilter.pid;
- bind_socket = ${if cfg.socketActivation then "fd:3" else rmilterSocket};
- tempdir = /tmp;
- '' + (with cfg.rspamd; if enable then ''
- spamd {
- servers = ${concatStringsSep ", " servers};
- connect_timeout = 1s;
- results_timeout = 20s;
- error_time = 10;
- dead_time = 300;
- maxerrors = 10;
- reject_message = "${rejectMessage}";
- ${optionalString (length whitelist != 0) "whitelist = ${concatStringsSep ", " whitelist};"}
-
- # rspamd_metric - metric for using with rspamd
- # Default: "default"
- rspamd_metric = "default";
- ${extraConfig}
- };
- '' else "") + cfg.extraConfig;
-
- rmilterConfigFile = pkgs.writeText "rmilter.conf" rmilterConf;
-
-in
-
-{
-
- ###### interface
-
- options = {
-
- services.rmilter = {
-
- enable = mkOption {
- type = types.bool;
- default = false;
- description = "Whether to run the rmilter daemon.";
- };
-
- debug = mkOption {
- type = types.bool;
- default = false;
- description = "Whether to run the rmilter daemon in debug mode.";
- };
-
- user = mkOption {
- type = types.string;
- default = "rmilter";
- description = ''
- User to use when no root privileges are required.
- '';
- };
-
- group = mkOption {
- type = types.string;
- default = "rmilter";
- description = ''
- Group to use when no root privileges are required.
- '';
- };
-
- bindSocket.type = mkOption {
- type = types.enum [ "unix" "inet" ];
- default = "unix";
- description = ''
- What kind of socket rmilter should listen on. Either "unix"
- for an Unix domain socket or "inet" for a TCP socket.
- '';
- };
-
- bindSocket.path = mkOption {
- type = types.str;
- default = "/run/rmilter.sock";
- description = ''
- Path to Unix domain socket to listen on.
- '';
- };
-
- bindSocket.address = mkOption {
- type = types.str;
- default = "[::1]";
- example = "0.0.0.0";
- description = ''
- Inet address to listen on.
- '';
- };
-
- bindSocket.port = mkOption {
- type = types.int;
- default = 11990;
- description = ''
- Inet port to listen on.
- '';
- };
-
- socketActivation = mkOption {
- type = types.bool;
- default = true;
- description = ''
- Enable systemd socket activation for rmilter.
-
- Disabling socket activation is not recommended when a Unix
- domain socket is used and could lead to incorrect
- permissions.
- '';
- };
-
- rspamd = {
- enable = mkOption {
- type = types.bool;
- default = rspamdCfg.enable;
- description = "Whether to use rspamd to filter mails";
- };
-
- servers = mkOption {
- type = types.listOf types.str;
- default = ["r:/run/rspamd/rspamd.sock"];
- description = ''
- Spamd socket definitions.
- Is server name is prefixed with r: it is rspamd server.
- '';
- };
-
- whitelist = mkOption {
- type = types.listOf types.str;
- default = [ ];
- description = "list of ips or nets that should be not checked with spamd";
- };
-
- rejectMessage = mkOption {
- type = types.str;
- default = "Spam message rejected; If this is not spam contact abuse";
- description = "reject message for spam";
- };
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- description = "Custom snippet to append to end of `spamd' section";
- };
- };
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- description = "Custom snippet to append to rmilter config";
- };
-
- postfix = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = "Add rmilter to postfix main.conf";
- };
-
- configFragment = mkOption {
- type = types.str;
- description = "Addon to postfix configuration";
- default = ''
- smtpd_milters = ${rmilterSocket}
- milter_protocol = 6
- milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}
- '';
- };
- };
-
- };
-
- };
-
-
- ###### implementation
-
- config = mkMerge [
-
- (mkIf cfg.enable {
- warnings = [
- ''`config.services.rmilter' is deprecated, `rmilter' deprecated and unsupported by upstream, and will be removed from next releases. Use built-in rspamd milter instead.''
- ];
-
- users.users = singleton {
- name = cfg.user;
- description = "rmilter daemon";
- uid = config.ids.uids.rmilter;
- group = cfg.group;
- };
-
- users.groups = singleton {
- name = cfg.group;
- gid = config.ids.gids.rmilter;
- };
-
- systemd.services.rmilter = {
- description = "Rmilter Service";
-
- wantedBy = [ "multi-user.target" ];
- after = [ "network.target" ];
-
- serviceConfig = {
- ExecStart = "${pkgs.rmilter}/bin/rmilter ${optionalString cfg.debug "-d"} -n -c ${rmilterConfigFile}";
- ExecReload = "${pkgs.coreutils}/bin/kill -USR1 $MAINPID";
- User = cfg.user;
- Group = cfg.group;
- PermissionsStartOnly = true;
- Restart = "always";
- RuntimeDirectory = "rmilter";
- RuntimeDirectoryMode = "0750";
- };
-
- };
-
- systemd.sockets.rmilter = mkIf cfg.socketActivation {
- description = "Rmilter service socket";
- wantedBy = [ "sockets.target" ];
- socketConfig = {
- ListenStream = systemdSocket;
- SocketUser = cfg.user;
- SocketGroup = cfg.group;
- SocketMode = "0660";
- };
- };
- })
-
- (mkIf (cfg.enable && cfg.rspamd.enable && rspamdCfg.enable) {
- users.users.${cfg.user}.extraGroups = [ rspamdCfg.group ];
- })
-
- (mkIf (cfg.enable && cfg.postfix.enable) {
- services.postfix.extraConfig = cfg.postfix.configFragment;
- users.users.${postfixCfg.user}.extraGroups = [ cfg.group ];
- })
- ];
-}
diff --git a/nixos/modules/services/mail/roundcube.nix b/nixos/modules/services/mail/roundcube.nix
index e8b2e11bf72..bdedfa1bb70 100644
--- a/nixos/modules/services/mail/roundcube.nix
+++ b/nixos/modules/services/mail/roundcube.nix
@@ -4,6 +4,7 @@ with lib;
let
cfg = config.services.roundcube;
+ fpm = config.services.phpfpm.pools.roundcube;
in
{
options.services.roundcube = {
@@ -105,7 +106,7 @@ in
extraConfig = ''
location ~* \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:/run/phpfpm/roundcube;
+ fastcgi_pass unix:${fpm.socket};
include ${pkgs.nginx}/conf/fastcgi_params;
include ${pkgs.nginx}/conf/fastcgi.conf;
}
@@ -119,24 +120,27 @@ in
enable = true;
};
- services.phpfpm.poolConfigs.roundcube = ''
- listen = /run/phpfpm/roundcube
- listen.owner = nginx
- listen.group = nginx
- listen.mode = 0660
- user = nginx
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 2
- pm.min_spare_servers = 1
- pm.max_spare_servers = 20
- pm.max_requests = 500
- php_admin_value[error_log] = 'stderr'
- php_admin_flag[log_errors] = on
- php_admin_value[post_max_size] = 25M
- php_admin_value[upload_max_filesize] = 25M
- catch_workers_output = yes
- '';
+ services.phpfpm.pools.roundcube = {
+ user = "nginx";
+ phpOptions = ''
+ error_log = 'stderr'
+ log_errors = on
+ post_max_size = 25M
+ upload_max_filesize = 25M
+ '';
+ settings = mapAttrs (name: mkDefault) {
+ "listen.owner" = "nginx";
+ "listen.group" = "nginx";
+ "listen.mode" = "0660";
+ "pm" = "dynamic";
+ "pm.max_children" = 75;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 1;
+ "pm.max_spare_servers" = 20;
+ "pm.max_requests" = 500;
+ "catch_workers_output" = true;
+ };
+ };
systemd.services.phpfpm-roundcube.after = [ "roundcube-setup.service" ];
systemd.services.roundcube-setup = let
diff --git a/nixos/modules/services/mail/rspamd.nix b/nixos/modules/services/mail/rspamd.nix
index c9ba8678021..89aa9d17ff7 100644
--- a/nixos/modules/services/mail/rspamd.nix
+++ b/nixos/modules/services/mail/rspamd.nix
@@ -5,7 +5,6 @@ with lib;
let
cfg = config.services.rspamd;
- opts = options.services.rspamd;
postfixCfg = config.services.postfix;
bindSocketOpts = {options, config, ... }: {
@@ -309,7 +308,7 @@ in
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "rspamd";
description = ''
User to use when no root privileges are required.
@@ -317,7 +316,7 @@ in
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "rspamd";
description = ''
Group to use when no root privileges are required.
@@ -332,7 +331,7 @@ in
};
config = mkOption {
- type = with types; attrsOf (either bool (either str (listOf str)));
+ type = with types; attrsOf (oneOf [ bool str (listOf str) ]);
description = ''
Addon to postfix configuration
'';
@@ -388,7 +387,7 @@ in
gid = config.ids.gids.rspamd;
};
- environment.etc."rspamd".source = rspamdDir;
+ environment.etc.rspamd.source = rspamdDir;
systemd.services.rspamd = {
description = "Rspamd Service";
diff --git a/nixos/modules/services/mail/rss2email.nix b/nixos/modules/services/mail/rss2email.nix
index a123736005a..c1e5964c453 100644
--- a/nixos/modules/services/mail/rss2email.nix
+++ b/nixos/modules/services/mail/rss2email.nix
@@ -30,7 +30,7 @@ in {
};
config = mkOption {
- type = with types; attrsOf (either str (either int bool));
+ type = with types; attrsOf (oneOf [ str int bool ]);
default = {};
description = ''
The configuration to give rss2email.
@@ -43,9 +43,8 @@ in {
[DEFAULT] block along with the
to parameter.
- See
- https://github.com/rss2email/rss2email/blob/master/r2e.1
- for more information on which parameters are accepted.
+ See man r2e for more information on which
+ parameters are accepted.
'';
};
diff --git a/nixos/modules/services/misc/airsonic.nix b/nixos/modules/services/misc/airsonic.nix
index 8b2ec82c770..919d3b2f6e6 100644
--- a/nixos/modules/services/misc/airsonic.nix
+++ b/nixos/modules/services/misc/airsonic.nix
@@ -34,7 +34,7 @@ in {
};
listenAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "127.0.0.1";
description = ''
The host name or IP address on which to bind Airsonic.
@@ -105,7 +105,7 @@ in {
config = mkIf cfg.enable {
systemd.services.airsonic = {
description = "Airsonic Media Server";
- after = [ "local-fs.target" "network.target" ];
+ after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
@@ -138,8 +138,8 @@ in {
services.nginx = mkIf (cfg.virtualHost != null) {
enable = true;
- virtualHosts."${cfg.virtualHost}" = {
- locations."${cfg.contextPath}".proxyPass = "http://${cfg.listenAddress}:${toString cfg.port}";
+ virtualHosts.${cfg.virtualHost} = {
+ locations.${cfg.contextPath}.proxyPass = "http://${cfg.listenAddress}:${toString cfg.port}";
};
};
diff --git a/nixos/modules/services/misc/apache-kafka.nix b/nixos/modules/services/misc/apache-kafka.nix
index 363ac4411e1..798e902ccae 100644
--- a/nixos/modules/services/misc/apache-kafka.nix
+++ b/nixos/modules/services/misc/apache-kafka.nix
@@ -46,7 +46,7 @@ in {
hostname = mkOption {
description = "Hostname the broker should bind to.";
default = "localhost";
- type = types.string;
+ type = types.str;
};
logDirs = mkOption {
@@ -54,13 +54,13 @@ in {
default = [ "/tmp/kafka-logs" ];
type = types.listOf types.path;
};
-
+
zookeeper = mkOption {
description = "Zookeeper connection string";
default = "localhost:2181";
- type = types.string;
+ type = types.str;
};
-
+
extraProperties = mkOption {
description = "Extra properties for server.properties.";
type = types.nullOr types.lines;
@@ -79,8 +79,8 @@ in {
log4jProperties = mkOption {
description = "Kafka log4j property configuration.";
default = ''
- log4j.rootLogger=INFO, stdout
-
+ log4j.rootLogger=INFO, stdout
+
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n
@@ -131,6 +131,8 @@ in {
home = head cfg.logDirs;
};
+ systemd.tmpfiles.rules = map (logDir: "d '${logDir} 0700 apache-kafka - - -") cfg.logDirs;
+
systemd.services.apache-kafka = {
description = "Apache Kafka Daemon";
wantedBy = [ "multi-user.target" ];
@@ -145,15 +147,8 @@ in {
${serverConfig}
'';
User = "apache-kafka";
- PermissionsStartOnly = true;
SuccessExitStatus = "0 143";
};
- preStart = ''
- mkdir -m 0700 -p ${concatStringsSep " " cfg.logDirs}
- if [ "$(id -u)" = 0 ]; then
- chown apache-kafka ${concatStringsSep " " cfg.logDirs};
- fi
- '';
};
};
diff --git a/nixos/modules/services/misc/couchpotato.nix b/nixos/modules/services/misc/couchpotato.nix
index 70aa895f76d..528af486b41 100644
--- a/nixos/modules/services/misc/couchpotato.nix
+++ b/nixos/modules/services/misc/couchpotato.nix
@@ -19,16 +19,11 @@ in
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
- preStart = ''
- mkdir -p /var/lib/couchpotato
- chown -R couchpotato:couchpotato /var/lib/couchpotato
- '';
-
serviceConfig = {
Type = "simple";
User = "couchpotato";
Group = "couchpotato";
- PermissionsStartOnly = "true";
+ StateDirectory = "couchpotato";
ExecStart = "${pkgs.couchpotato}/bin/couchpotato";
Restart = "on-failure";
};
diff --git a/nixos/modules/services/misc/cpuminer-cryptonight.nix b/nixos/modules/services/misc/cpuminer-cryptonight.nix
index f31526f8d10..907b9d90da2 100644
--- a/nixos/modules/services/misc/cpuminer-cryptonight.nix
+++ b/nixos/modules/services/misc/cpuminer-cryptonight.nix
@@ -28,15 +28,15 @@ in
'';
};
url = mkOption {
- type = types.string;
+ type = types.str;
description = "URL of mining server";
};
user = mkOption {
- type = types.string;
+ type = types.str;
description = "Username for mining server";
};
pass = mkOption {
- type = types.string;
+ type = types.str;
default = "x";
description = "Password for mining server";
};
@@ -63,4 +63,4 @@ in
};
-}
\ No newline at end of file
+}
diff --git a/nixos/modules/services/misc/dwm-status.nix b/nixos/modules/services/misc/dwm-status.nix
new file mode 100644
index 00000000000..b98a42e6a6d
--- /dev/null
+++ b/nixos/modules/services/misc/dwm-status.nix
@@ -0,0 +1,73 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.dwm-status;
+
+ order = concatMapStringsSep "," (feature: ''"${feature}"'') cfg.order;
+
+ configFile = pkgs.writeText "dwm-status.toml" ''
+ order = [${order}]
+
+ ${cfg.extraConfig}
+ '';
+in
+
+{
+
+ ###### interface
+
+ options = {
+
+ services.dwm-status = {
+
+ enable = mkEnableOption "dwm-status user service";
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.dwm-status;
+ defaultText = "pkgs.dwm-status";
+ example = "pkgs.dwm-status.override { enableAlsaUtils = false; }";
+ description = ''
+ Which dwm-status package to use.
+ '';
+ };
+
+ order = mkOption {
+ type = types.listOf (types.enum [ "audio" "backlight" "battery" "cpu_load" "network" "time" ]);
+ description = ''
+ List of enabled features in order.
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = types.lines;
+ default = "";
+ description = ''
+ Extra config in TOML format.
+ '';
+ };
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ services.upower.enable = elem "battery" cfg.order;
+
+ systemd.user.services.dwm-status = {
+ description = "Highly performant and configurable DWM status service";
+ wantedBy = [ "graphical-session.target" ];
+ partOf = [ "graphical-session.target" ];
+
+ serviceConfig.ExecStart = "${cfg.package}/bin/dwm-status ${configFile}";
+ };
+
+ };
+
+}
diff --git a/nixos/modules/services/misc/dysnomia.nix b/nixos/modules/services/misc/dysnomia.nix
index 61ea822890e..33a6fb15264 100644
--- a/nixos/modules/services/misc/dysnomia.nix
+++ b/nixos/modules/services/misc/dysnomia.nix
@@ -8,9 +8,9 @@ let
printProperties = properties:
concatMapStrings (propertyName:
let
- property = properties."${propertyName}";
+ property = properties.${propertyName};
in
- if isList property then "${propertyName}=(${lib.concatMapStrings (elem: "\"${toString elem}\" ") (properties."${propertyName}")})\n"
+ if isList property then "${propertyName}=(${lib.concatMapStrings (elem: "\"${toString elem}\" ") (properties.${propertyName})})\n"
else "${propertyName}=\"${toString property}\"\n"
) (builtins.attrNames properties);
@@ -31,7 +31,7 @@ let
${concatMapStrings (containerName:
let
- containerProperties = cfg.containers."${containerName}";
+ containerProperties = cfg.containers.${containerName};
in
''
cat > ${containerName} <gitea instance.
@@ -277,7 +288,47 @@ in
};
config = mkIf cfg.enable {
- services.postgresql.enable = mkIf usePostgresql (mkDefault true);
+ assertions = [
+ { assertion = cfg.database.createDatabase -> cfg.database.user == cfg.user;
+ message = "services.gitea.database.user must match services.gitea.user if the database is to be automatically provisioned";
+ }
+ ];
+
+ services.postgresql = optionalAttrs (usePostgresql && cfg.database.createDatabase) {
+ enable = mkDefault true;
+
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ services.mysql = optionalAttrs (useMysql && cfg.database.createDatabase) {
+ enable = mkDefault true;
+ package = mkDefault pkgs.mariadb;
+
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ systemd.tmpfiles.rules = [
+ "d '${cfg.stateDir}' - ${cfg.user} gitea - -"
+ "d '${cfg.stateDir}/conf' - ${cfg.user} gitea - -"
+ "d '${cfg.stateDir}/custom' - ${cfg.user} gitea - -"
+ "d '${cfg.stateDir}/custom/conf' - ${cfg.user} gitea - -"
+ "d '${cfg.repositoryRoot}' - ${cfg.user} gitea - -"
+ "Z '${cfg.stateDir}' - ${cfg.user} gitea - -"
+
+ # If we have a folder or symlink with gitea locales, remove it
+ # And symlink the current gitea locales in place
+ "L+ '${cfg.stateDir}/conf/locale' - - - - ${gitea.out}/locale"
+ ];
systemd.services.gitea = {
description = "gitea";
@@ -288,28 +339,36 @@ in
preStart = let
runConfig = "${cfg.stateDir}/custom/conf/app.ini";
secretKey = "${cfg.stateDir}/custom/conf/secret_key";
+ jwtSecret = "${cfg.stateDir}/custom/conf/jwt_secret";
in ''
- # Make sure that the stateDir exists, as well as the conf dir in there
- mkdir -p ${cfg.stateDir}/conf
-
# copy custom configuration and generate a random secret key if needed
${optionalString (cfg.useWizard == false) ''
- mkdir -p ${cfg.stateDir}/custom/conf
cp -f ${configFile} ${runConfig}
if [ ! -e ${secretKey} ]; then
- head -c 16 /dev/urandom | base64 > ${secretKey}
+ ${gitea.bin}/bin/gitea generate secret SECRET_KEY > ${secretKey}
fi
- KEY=$(head -n1 ${secretKey})
- DBPASS=$(head -n1 ${cfg.database.passwordFile})
+ if [ ! -e ${jwtSecret} ]; then
+ ${gitea.bin}/bin/gitea generate secret LFS_JWT_SECRET > ${jwtSecret}
+ fi
+
+ KEY="$(head -n1 ${secretKey})"
+ DBPASS="$(head -n1 ${cfg.database.passwordFile})"
+ JWTSECRET="$(head -n1 ${jwtSecret})"
+ ${if (cfg.mailerPasswordFile == null) then ''
+ MAILERPASSWORD="#mailerpass#"
+ '' else ''
+ MAILERPASSWORD="$(head -n1 ${cfg.mailerPasswordFile} || :)"
+ ''}
sed -e "s,#secretkey#,$KEY,g" \
-e "s,#dbpass#,$DBPASS,g" \
+ -e "s,#jwtsecet#,$JWTSECET,g" \
+ -e "s,#mailerpass#,$MAILERPASSWORD,g" \
-i ${runConfig}
- chmod 640 ${runConfig} ${secretKey}
+ chmod 640 ${runConfig} ${secretKey} ${jwtSecret}
''}
- mkdir -p ${cfg.repositoryRoot}
# update all hooks' binary paths
HOOKS=$(find ${cfg.repositoryRoot} -mindepth 4 -maxdepth 6 -type f -wholename "*git/hooks/*")
if [ "$HOOKS" ]
@@ -319,43 +378,19 @@ in
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/bash,${pkgs.bash}/bin/bash,g' $HOOKS
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/perl,${pkgs.perl}/bin/perl,g' $HOOKS
fi
- # If we have a folder or symlink with gitea locales, remove it
- if [ -e ${cfg.stateDir}/conf/locale ]
- then
- rm -r ${cfg.stateDir}/conf/locale
- fi
- # And symlink the current gitea locales in place
- ln -s ${gitea.out}/locale ${cfg.stateDir}/conf/locale
+
# update command option in authorized_keys
if [ -r ${cfg.stateDir}/.ssh/authorized_keys ]
then
sed -ri 's,/nix/store/[a-z0-9.-]+/bin/gitea,${gitea.bin}/bin/gitea,g' ${cfg.stateDir}/.ssh/authorized_keys
fi
- '' + optionalString (usePostgresql && cfg.database.createDatabase) ''
- if ! test -e "${cfg.stateDir}/db-created"; then
- echo "CREATE ROLE ${cfg.database.user}
- WITH ENCRYPTED PASSWORD '$(head -n1 ${cfg.database.passwordFile})'
- NOCREATEDB NOCREATEROLE LOGIN" |
- ${pkgs.sudo}/bin/sudo -u ${pg.superUser} ${pg.package}/bin/psql
- ${pkgs.sudo}/bin/sudo -u ${pg.superUser} \
- ${pg.package}/bin/createdb \
- --owner=${cfg.database.user} \
- --encoding=UTF8 \
- --lc-collate=C \
- --lc-ctype=C \
- --template=template0 \
- ${cfg.database.name}
- touch "${cfg.stateDir}/db-created"
- fi
- '' + ''
- chown ${cfg.user} -R ${cfg.stateDir}
'';
serviceConfig = {
Type = "simple";
User = cfg.user;
+ Group = "gitea";
WorkingDirectory = cfg.stateDir;
- PermissionsStartOnly = true;
ExecStart = "${gitea.bin}/bin/gitea web";
Restart = "always";
};
@@ -367,15 +402,17 @@ in
};
};
- users = mkIf (cfg.user == "gitea") {
- users.gitea = {
+ users.users = mkIf (cfg.user == "gitea") {
+ gitea = {
description = "Gitea Service";
home = cfg.stateDir;
- createHome = true;
useDefaultShell = true;
+ group = "gitea";
};
};
+ users.groups.gitea = {};
+
warnings = optional (cfg.database.password != "")
''config.services.gitea.database.password will be stored as plaintext
in the Nix store. Use database.passwordFile instead.'';
diff --git a/nixos/modules/services/misc/gitlab.nix b/nixos/modules/services/misc/gitlab.nix
index 71277b48ecd..66da6864fca 100644
--- a/nixos/modules/services/misc/gitlab.nix
+++ b/nixos/modules/services/misc/gitlab.nix
@@ -1,6 +1,4 @@
-{ config, lib, pkgs, ... }:
-
-# TODO: support non-postgresql
+{ config, lib, pkgs, utils, ... }:
with lib;
@@ -12,14 +10,12 @@ let
gitlabSocket = "${cfg.statePath}/tmp/sockets/gitlab.socket";
gitalySocket = "${cfg.statePath}/tmp/sockets/gitaly.socket";
pathUrlQuote = url: replaceStrings ["/"] ["%2F"] url;
- pgSuperUser = config.services.postgresql.superUser;
databaseConfig = {
production = {
adapter = "postgresql";
database = cfg.databaseName;
host = cfg.databaseHost;
- password = cfg.databasePassword;
username = cfg.databaseUsername;
encoding = "utf8";
pool = cfg.databasePool;
@@ -52,7 +48,7 @@ let
gitlab_url = "http+unix://${pathUrlQuote gitlabSocket}";
http_settings.self_signed_cert = false;
repos_path = "${cfg.statePath}/repositories";
- secret_file = "${cfg.statePath}/config/gitlab_shell_secret";
+ secret_file = "${cfg.statePath}/gitlab_shell_secret";
log_file = "${cfg.statePath}/log/gitlab-shell.log";
custom_hooks_dir = "${cfg.statePath}/custom_hooks";
redis = {
@@ -66,13 +62,6 @@ let
redisConfig.production.url = "redis://localhost:6379/";
- secretsConfig.production = {
- secret_key_base = cfg.secrets.secret;
- otp_key_base = cfg.secrets.otp;
- db_key_base = cfg.secrets.db;
- openid_connect_signing_key = cfg.secrets.jws;
- };
-
gitlabConfig = {
# These are the default settings from config/gitlab.example.yml
production = flip recursiveUpdate cfg.extraConfig {
@@ -109,7 +98,7 @@ let
gitlab_shell = {
path = "${cfg.packages.gitlab-shell}";
hooks_path = "${cfg.statePath}/shell/hooks";
- secret_file = "${cfg.statePath}/config/gitlab_shell_secret";
+ secret_file = "${cfg.statePath}/gitlab_shell_secret";
upload_pack = true;
receive_pack = true;
};
@@ -132,24 +121,19 @@ let
HOME = "${cfg.statePath}/home";
UNICORN_PATH = "${cfg.statePath}/";
GITLAB_PATH = "${cfg.packages.gitlab}/share/gitlab/";
- GITLAB_STATE_PATH = cfg.statePath;
- GITLAB_UPLOADS_PATH = "${cfg.statePath}/uploads";
SCHEMA = "${cfg.statePath}/db/schema.rb";
+ GITLAB_UPLOADS_PATH = "${cfg.statePath}/uploads";
GITLAB_LOG_PATH = "${cfg.statePath}/log";
- GITLAB_SHELL_PATH = "${cfg.packages.gitlab-shell}";
- GITLAB_SHELL_CONFIG_PATH = "${cfg.statePath}/shell/config.yml";
- GITLAB_SHELL_SECRET_PATH = "${cfg.statePath}/config/gitlab_shell_secret";
- GITLAB_SHELL_HOOKS_PATH = "${cfg.statePath}/shell/hooks";
GITLAB_REDIS_CONFIG_FILE = pkgs.writeText "redis.yml" (builtins.toJSON redisConfig);
prometheus_multiproc_dir = "/run/gitlab";
RAILS_ENV = "production";
};
- gitlab-rake = pkgs.stdenv.mkDerivation rec {
+ gitlab-rake = pkgs.stdenv.mkDerivation {
name = "gitlab-rake";
buildInputs = [ pkgs.makeWrapper ];
dontBuild = true;
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rake $out/bin/gitlab-rake \
@@ -160,11 +144,11 @@ let
'';
};
- gitlab-rails = pkgs.stdenv.mkDerivation rec {
+ gitlab-rails = pkgs.stdenv.mkDerivation {
name = "gitlab-rails";
buildInputs = [ pkgs.makeWrapper ];
dontBuild = true;
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
makeWrapper ${cfg.packages.gitlab.rubyEnv}/bin/rails $out/bin/gitlab-rails \
@@ -185,10 +169,11 @@ let
address: "${cfg.smtp.address}",
port: ${toString cfg.smtp.port},
${optionalString (cfg.smtp.username != null) ''user_name: "${cfg.smtp.username}",''}
- ${optionalString (cfg.smtp.password != null) ''password: "${cfg.smtp.password}",''}
+ ${optionalString (cfg.smtp.passwordFile != null) ''password: "@smtpPassword@",''}
domain: "${cfg.smtp.domain}",
${optionalString (cfg.smtp.authentication != null) "authentication: :${cfg.smtp.authentication},"}
enable_starttls_auto: ${toString cfg.smtp.enableStartTLSAuto},
+ ca_file: "/etc/ssl/certs/ca-certificates.crt",
openssl_verify_mode: '${cfg.smtp.opensslVerifyMode}'
}
end
@@ -249,13 +234,33 @@ in {
databaseHost = mkOption {
type = types.str;
- default = "127.0.0.1";
- description = "Gitlab database hostname.";
+ default = "";
+ description = ''
+ Gitlab database hostname. An empty string means use
+ local unix socket connection
.
+ '';
};
- databasePassword = mkOption {
- type = types.str;
- description = "Gitlab database user password.";
+ databasePasswordFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
+ description = ''
+ File containing the Gitlab database user password.
+
+ This should be a string, not a nix path, since nix paths are
+ copied into the world-readable nix store.
+ '';
+ };
+
+ databaseCreateLocally = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Whether a database should be automatically created on the
+ local host. Set this to false if you plan
+ on provisioning a local database yourself or use an external
+ one.
+ '';
};
databaseName = mkOption {
@@ -343,10 +348,15 @@ in {
'';
};
- initialRootPassword = mkOption {
- type = types.str;
+ initialRootPasswordFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
description = ''
- Initial password of the root account if this is a new install.
+ File containing the initial password of the root account if
+ this is a new install.
+
+ This should be a string, not a nix path, since nix paths are
+ copied into the world-readable nix store.
'';
};
@@ -370,15 +380,20 @@ in {
};
username = mkOption {
- type = types.nullOr types.str;
+ type = with types; nullOr str;
default = null;
description = "Username of the SMTP server for Gitlab.";
};
- password = mkOption {
- type = types.nullOr types.str;
+ passwordFile = mkOption {
+ type = types.nullOr types.path;
default = null;
- description = "Password of the SMTP server for Gitlab.";
+ description = ''
+ File containing the password of the SMTP server for Gitlab.
+
+ This should be a string, not a nix path, since nix paths
+ are copied into the world-readable nix store.
+ '';
};
domain = mkOption {
@@ -388,7 +403,7 @@ in {
};
authentication = mkOption {
- type = types.nullOr types.str;
+ type = with types; nullOr str;
default = null;
description = "Authentitcation type to use, see http://api.rubyonrails.org/classes/ActionMailer/Base.html";
};
@@ -406,68 +421,125 @@ in {
};
};
- secrets.secret = mkOption {
- type = types.str;
+ secrets.secretFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
description = ''
- The secret is used to encrypt variables in the DB. If
- you change or lose this key you will be unable to access variables
- stored in database.
+ A file containing the secret used to encrypt variables in
+ the DB. If you change or lose this key you will be unable to
+ access variables stored in database.
Make sure the secret is at least 30 characters and all random,
no regular words or you'll be exposed to dictionary attacks.
+
+ This should be a string, not a nix path, since nix paths are
+ copied into the world-readable nix store.
'';
};
- secrets.db = mkOption {
- type = types.str;
+ secrets.dbFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
description = ''
- The secret is used to encrypt variables in the DB. If
- you change or lose this key you will be unable to access variables
- stored in database.
+ A file containing the secret used to encrypt variables in
+ the DB. If you change or lose this key you will be unable to
+ access variables stored in database.
Make sure the secret is at least 30 characters and all random,
no regular words or you'll be exposed to dictionary attacks.
+
+ This should be a string, not a nix path, since nix paths are
+ copied into the world-readable nix store.
'';
};
- secrets.otp = mkOption {
- type = types.str;
+ secrets.otpFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
description = ''
- The secret is used to encrypt secrets for OTP tokens. If
- you change or lose this key, users which have 2FA enabled for login
- won't be able to login anymore.
+ A file containing the secret used to encrypt secrets for OTP
+ tokens. If you change or lose this key, users which have 2FA
+ enabled for login won't be able to login anymore.
Make sure the secret is at least 30 characters and all random,
no regular words or you'll be exposed to dictionary attacks.
+
+ This should be a string, not a nix path, since nix paths are
+ copied into the world-readable nix store.
'';
};
- secrets.jws = mkOption {
- type = types.str;
+ secrets.jwsFile = mkOption {
+ type = with types; nullOr path;
+ default = null;
description = ''
- The secret is used to encrypt session keys. If you change or lose
- this key, users will be disconnected.
+ A file containing the secret used to encrypt session
+ keys. If you change or lose this key, users will be
+ disconnected.
Make sure the secret is an RSA private key in PEM format. You can
generate one with
openssl genrsa 2048
+
+ This should be a string, not a nix path, since nix paths are
+ copied into the world-readable nix store.
'';
};
extraConfig = mkOption {
type = types.attrs;
default = {};
- example = {
- gitlab = {
- default_projects_features = {
- builds = false;
+ example = literalExample ''
+ {
+ gitlab = {
+ default_projects_features = {
+ builds = false;
+ };
+ };
+ omniauth = {
+ enabled = true;
+ auto_sign_in_with_provider = "openid_connect";
+ allow_single_sign_on = ["openid_connect"];
+ block_auto_created_users = false;
+ providers = [
+ {
+ name = "openid_connect";
+ label = "OpenID Connect";
+ args = {
+ name = "openid_connect";
+ scope = ["openid" "profile"];
+ response_type = "code";
+ issuer = "https://keycloak.example.com/auth/realms/My%20Realm";
+ discovery = true;
+ client_auth_method = "query";
+ uid_field = "preferred_username";
+ client_options = {
+ identifier = "gitlab";
+ secret = { _secret = "/var/keys/gitlab_oidc_secret"; };
+ redirect_uri = "https://git.example.com/users/auth/openid_connect/callback";
+ };
+ };
+ }
+ ];
};
};
- };
+ '';
description = ''
- Extra options to be merged into config/gitlab.yml as nix
- attribute set.
+ Extra options to be added under
+ production in
+ config/gitlab.yml, as a nix attribute
+ set.
+
+ Options containing secret data should be set to an attribute
+ set containing the attribute _secret - a
+ string pointing to a file containing the value the option
+ should be set to. See the example to get a better picture of
+ this: in the resulting
+ config/gitlab.yml file, the
+ production.omniauth.providers[0].args.client_options.secret
+ key will be set to the contents of the
+ /var/keys/gitlab_oidc_secret file.
'';
};
};
@@ -475,12 +547,66 @@ in {
config = mkIf cfg.enable {
+ assertions = [
+ {
+ assertion = cfg.databaseCreateLocally -> (cfg.user == cfg.databaseUsername);
+ message = "For local automatic database provisioning services.gitlab.user and services.gitlab.databaseUsername should be identical.";
+ }
+ {
+ assertion = (cfg.databaseHost != "") -> (cfg.databasePasswordFile != null);
+ message = "When services.gitlab.databaseHost is customized, services.gitlab.databasePasswordFile must be set!";
+ }
+ {
+ assertion = cfg.initialRootPasswordFile != null;
+ message = "services.gitlab.initialRootPasswordFile must be set!";
+ }
+ {
+ assertion = cfg.secrets.secretFile != null;
+ message = "services.gitlab.secrets.secretFile must be set!";
+ }
+ {
+ assertion = cfg.secrets.dbFile != null;
+ message = "services.gitlab.secrets.dbFile must be set!";
+ }
+ {
+ assertion = cfg.secrets.otpFile != null;
+ message = "services.gitlab.secrets.otpFile must be set!";
+ }
+ {
+ assertion = cfg.secrets.jwsFile != null;
+ message = "services.gitlab.secrets.jwsFile must be set!";
+ }
+ ];
+
environment.systemPackages = [ pkgs.git gitlab-rake gitlab-rails cfg.packages.gitlab-shell ];
# Redis is required for the sidekiq queue runner.
services.redis.enable = mkDefault true;
+
# We use postgres as the main data store.
- services.postgresql.enable = mkDefault true;
+ services.postgresql = optionalAttrs cfg.databaseCreateLocally {
+ enable = true;
+ ensureUsers = singleton { name = cfg.databaseUsername; };
+ };
+ # The postgresql module doesn't currently support concepts like
+ # objects owners and extensions; for now we tack on what's needed
+ # here.
+ systemd.services.postgresql.postStart = mkAfter (optionalString cfg.databaseCreateLocally ''
+ $PSQL -tAc "SELECT 1 FROM pg_database WHERE datname = '${cfg.databaseName}'" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE "${cfg.databaseName}" OWNER "${cfg.databaseUsername}"'
+ current_owner=$($PSQL -tAc "SELECT pg_catalog.pg_get_userbyid(datdba) FROM pg_catalog.pg_database WHERE datname = '${cfg.databaseName}'")
+ if [[ "$current_owner" != "${cfg.databaseUsername}" ]]; then
+ $PSQL -tAc 'ALTER DATABASE "${cfg.databaseName}" OWNER TO "${cfg.databaseUsername}"'
+ if [[ -e "${config.services.postgresql.dataDir}/.reassigning_${cfg.databaseName}" ]]; then
+ echo "Reassigning ownership of database ${cfg.databaseName} to user ${cfg.databaseUsername} failed on last boot. Failing..."
+ exit 1
+ fi
+ touch "${config.services.postgresql.dataDir}/.reassigning_${cfg.databaseName}"
+ $PSQL "${cfg.databaseName}" -tAc "REASSIGN OWNED BY \"$current_owner\" TO \"${cfg.databaseUsername}\""
+ rm "${config.services.postgresql.dataDir}/.reassigning_${cfg.databaseName}"
+ fi
+ $PSQL '${cfg.databaseName}' -tAc "CREATE EXTENSION IF NOT EXISTS pg_trgm"
+ '');
+
# Use postfix to send out mails.
services.postfix.enable = mkDefault true;
@@ -502,22 +628,38 @@ in {
systemd.tmpfiles.rules = [
"d /run/gitlab 0755 ${cfg.user} ${cfg.group} -"
"d ${gitlabEnv.HOME} 0750 ${cfg.user} ${cfg.group} -"
+ "z ${gitlabEnv.HOME}/.ssh/authorized_keys 0600 ${cfg.user} ${cfg.group} -"
"d ${cfg.backupPath} 0750 ${cfg.user} ${cfg.group} -"
+ "d ${cfg.statePath} 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/builds 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/config 0750 ${cfg.user} ${cfg.group} -"
+ "D ${cfg.statePath}/config/initializers 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/db 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/log 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/repositories 2770 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/shell 0750 ${cfg.user} ${cfg.group} -"
+ "d ${cfg.statePath}/tmp 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/tmp/pids 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/tmp/sockets 0750 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/uploads 0700 ${cfg.user} ${cfg.group} -"
+ "d ${cfg.statePath}/custom_hooks 0700 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/custom_hooks/pre-receive.d 0700 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/custom_hooks/post-receive.d 0700 ${cfg.user} ${cfg.group} -"
"d ${cfg.statePath}/custom_hooks/update.d 0700 ${cfg.user} ${cfg.group} -"
+ "d ${gitlabConfig.production.shared.path} 0750 ${cfg.user} ${cfg.group} -"
"d ${gitlabConfig.production.shared.path}/artifacts 0750 ${cfg.user} ${cfg.group} -"
"d ${gitlabConfig.production.shared.path}/lfs-objects 0750 ${cfg.user} ${cfg.group} -"
"d ${gitlabConfig.production.shared.path}/pages 0750 ${cfg.user} ${cfg.group} -"
+ "L+ ${cfg.statePath}/lib - - - - ${cfg.packages.gitlab}/share/gitlab/lib"
+ "L+ /run/gitlab/config - - - - ${cfg.statePath}/config"
+ "L+ /run/gitlab/log - - - - ${cfg.statePath}/log"
+ "L+ /run/gitlab/tmp - - - - ${cfg.statePath}/tmp"
+ "L+ /run/gitlab/uploads - - - - ${cfg.statePath}/uploads"
+
+ "L+ /run/gitlab/shell-config.yml - - - - ${pkgs.writeText "config.yml" (builtins.toJSON gitlabShellConfig)}"
+
+ "L+ ${cfg.statePath}/config/unicorn.rb - - - - ${./defaultUnicornConfig.rb}"
+ "L+ ${cfg.statePath}/config/initializers/extra-gitlab.rb - - - - ${extraGitlabRb}"
];
systemd.services.gitlab-sidekiq = {
@@ -570,6 +712,7 @@ in {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = with pkgs; [
+ exiftool
gitAndTools.git
gnutar
gzip
@@ -609,81 +752,75 @@ in {
gnupg
];
preStart = ''
- cp -rf ${cfg.packages.gitlab}/share/gitlab/db/* ${cfg.statePath}/db
- rm -rf ${cfg.statePath}/config
- mkdir ${cfg.statePath}/config
- if [ -e ${cfg.statePath}/lib ]; then
- rm ${cfg.statePath}/lib
- fi
+ cp -f ${cfg.packages.gitlab}/share/gitlab/VERSION ${cfg.statePath}/VERSION
+ rm -rf ${cfg.statePath}/db/*
+ cp -rf --no-preserve=mode ${cfg.packages.gitlab}/share/gitlab/config.dist/* ${cfg.statePath}/config
+ cp -rf --no-preserve=mode ${cfg.packages.gitlab}/share/gitlab/db/* ${cfg.statePath}/db
- ln -sf ${cfg.packages.gitlab}/share/gitlab/lib ${cfg.statePath}/lib
- [ -L /run/gitlab/config ] || ln -sf ${cfg.statePath}/config /run/gitlab/config
- [ -L /run/gitlab/log ] || ln -sf ${cfg.statePath}/log /run/gitlab/log
- [ -L /run/gitlab/tmp ] || ln -sf ${cfg.statePath}/tmp /run/gitlab/tmp
- [ -L /run/gitlab/uploads ] || ln -sf ${cfg.statePath}/uploads /run/gitlab/uploads
- cp ${cfg.packages.gitlab}/share/gitlab/VERSION ${cfg.statePath}/VERSION
- cp -rf ${cfg.packages.gitlab}/share/gitlab/config.dist/* ${cfg.statePath}/config
- ln -sf ${extraGitlabRb} ${cfg.statePath}/config/initializers/extra-gitlab.rb
- ${optionalString cfg.smtp.enable ''
- ln -sf ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb
- ''}
- ${pkgs.openssl}/bin/openssl rand -hex 32 > ${cfg.statePath}/config/gitlab_shell_secret
-
- # JSON is a subset of YAML
- ln -sf ${pkgs.writeText "gitlab.yml" (builtins.toJSON gitlabConfig)} ${cfg.statePath}/config/gitlab.yml
- ln -sf ${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} ${cfg.statePath}/config/database.yml
- ln -sf ${pkgs.writeText "secrets.yml" (builtins.toJSON secretsConfig)} ${cfg.statePath}/config/secrets.yml
- ln -sf ${./defaultUnicornConfig.rb} ${cfg.statePath}/config/unicorn.rb
-
- # Install the shell required to push repositories
- ln -sf ${pkgs.writeText "config.yml" (builtins.toJSON gitlabShellConfig)} /run/gitlab/shell-config.yml
- [ -L ${cfg.statePath}/shell/hooks ] || ln -sf ${cfg.packages.gitlab-shell}/hooks ${cfg.statePath}/shell/hooks
${cfg.packages.gitlab-shell}/bin/install
- chown -R ${cfg.user}:${cfg.group} ${cfg.statePath}/
- chmod -R ug+rwX,o-rwx+X ${cfg.statePath}/
- chown -R ${cfg.user}:${cfg.group} /run/gitlab
+ ${optionalString cfg.smtp.enable ''
+ install -m u=rw ${smtpSettings} ${cfg.statePath}/config/initializers/smtp_settings.rb
+ ${optionalString (cfg.smtp.passwordFile != null) ''
+ smtp_password=$(<'${cfg.smtp.passwordFile}')
+ ${pkgs.replace}/bin/replace-literal -e '@smtpPassword@' "$smtp_password" '${cfg.statePath}/config/initializers/smtp_settings.rb'
+ ''}
+ ''}
- if ! test -e "${cfg.statePath}/db-created"; then
- if [ "${cfg.databaseHost}" = "127.0.0.1" ]; then
- ${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql postgres -c "CREATE ROLE ${cfg.databaseUsername} WITH LOGIN NOCREATEDB NOCREATEROLE ENCRYPTED PASSWORD '${cfg.databasePassword}'"
- ${pkgs.sudo}/bin/sudo -u ${pgSuperUser} ${config.services.postgresql.package}/bin/createdb --owner ${cfg.databaseUsername} ${cfg.databaseName}
+ (
+ umask u=rwx,g=,o=
- # enable required pg_trgm extension for gitlab
- ${pkgs.sudo}/bin/sudo -u ${pgSuperUser} psql ${cfg.databaseName} -c "CREATE EXTENSION IF NOT EXISTS pg_trgm"
+ ${pkgs.openssl}/bin/openssl rand -hex 32 > ${cfg.statePath}/gitlab_shell_secret
+
+ ${if cfg.databasePasswordFile != null then ''
+ export db_password="$(<'${cfg.databasePasswordFile}')"
+
+ if [[ -z "$db_password" ]]; then
+ >&2 echo "Database password was an empty string!"
+ exit 1
+ fi
+
+ ${pkgs.jq}/bin/jq <${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} \
+ '.production.password = $ENV.db_password' \
+ >'${cfg.statePath}/config/database.yml'
+ ''
+ else ''
+ ${pkgs.jq}/bin/jq <${pkgs.writeText "database.yml" (builtins.toJSON databaseConfig)} \
+ >'${cfg.statePath}/config/database.yml'
+ ''
+ }
+
+ ${utils.genJqSecretsReplacementSnippet
+ gitlabConfig
+ "${cfg.statePath}/config/gitlab.yml"
+ }
+
+ if [[ -h '${cfg.statePath}/config/secrets.yml' ]]; then
+ rm '${cfg.statePath}/config/secrets.yml'
fi
- ${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${gitlab-rake}/bin/gitlab-rake db:schema:load
+ export secret="$(<'${cfg.secrets.secretFile}')"
+ export db="$(<'${cfg.secrets.dbFile}')"
+ export otp="$(<'${cfg.secrets.otpFile}')"
+ export jws="$(<'${cfg.secrets.jwsFile}')"
+ ${pkgs.jq}/bin/jq -n '{production: {secret_key_base: $ENV.secret,
+ otp_key_base: $ENV.otp,
+ db_key_base: $ENV.db,
+ openid_connect_signing_key: $ENV.jws}}' \
+ > '${cfg.statePath}/config/secrets.yml'
+ )
- touch "${cfg.statePath}/db-created"
- fi
+ initial_root_password="$(<'${cfg.initialRootPasswordFile}')"
+ ${gitlab-rake}/bin/gitlab-rake gitlab:db:configure GITLAB_ROOT_PASSWORD="$initial_root_password" \
+ GITLAB_ROOT_EMAIL='${cfg.initialRootEmail}'
- # Always do the db migrations just to be sure the database is up-to-date
- ${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${gitlab-rake}/bin/gitlab-rake db:migrate
+ # We remove potentially broken links to old gitlab-shell versions
+ rm -Rf ${cfg.statePath}/repositories/**/*.git/hooks
- if ! test -e "${cfg.statePath}/db-seeded"; then
- ${pkgs.sudo}/bin/sudo -u ${cfg.user} ${gitlab-rake}/bin/gitlab-rake db:seed_fu \
- GITLAB_ROOT_PASSWORD='${cfg.initialRootPassword}' GITLAB_ROOT_EMAIL='${cfg.initialRootEmail}'
- touch "${cfg.statePath}/db-seeded"
- fi
-
- # The gitlab:shell:create_hooks task seems broken for fixing links
- # so we instead delete all the hooks and create them anew
- rm -f ${cfg.statePath}/repositories/**/*.git/hooks
- ${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${gitlab-rake}/bin/gitlab-rake gitlab:shell:create_hooks
-
- ${pkgs.sudo}/bin/sudo -u ${cfg.user} -H ${pkgs.git}/bin/git config --global core.autocrlf "input"
-
- # Change permissions in the last step because some of the
- # intermediary scripts like to create directories as root.
- chmod -R u+rwX,go-rwx+X ${gitlabEnv.HOME}
- chmod -R ug+rwX,o-rwx ${cfg.statePath}/repositories
- chmod -R ug-s ${cfg.statePath}/repositories
- find ${cfg.statePath}/repositories -type d -print0 | xargs -0 chmod g+s
+ ${pkgs.git}/bin/git config --global core.autocrlf "input"
'';
serviceConfig = {
- PermissionsStartOnly = true; # preStart must be run as root
Type = "simple";
User = cfg.user;
Group = cfg.group;
diff --git a/nixos/modules/services/misc/gitlab.xml b/nixos/modules/services/misc/gitlab.xml
index ab99d7bd3a6..b6171a9a194 100644
--- a/nixos/modules/services/misc/gitlab.xml
+++ b/nixos/modules/services/misc/gitlab.xml
@@ -54,8 +54,8 @@
services.gitlab = {
enable = true;
- databasePassword = "eXaMpl3";
- initialRootPassword = "UseNixOS!";
+ databasePasswordFile = "/var/keys/gitlab/db_password";
+ initialRootPasswordFile = "/var/keys/gitlab/root_password";
https = true;
host = "git.example.com";
port = 443;
@@ -67,38 +67,10 @@ services.gitlab = {
port = 25;
};
secrets = {
- db = "uPgq1gtwwHiatiuE0YHqbGa5lEIXH7fMsvuTNgdzJi8P0Dg12gibTzBQbq5LT7PNzcc3BP9P1snHVnduqtGF43PgrQtU7XL93ts6gqe9CBNhjtaqUwutQUDkygP5NrV6";
- secret = "devzJ0Tz0POiDBlrpWmcsjjrLaltyiAdS8TtgT9YNBOoUcDsfppiY3IXZjMVtKgXrFImIennFGOpPN8IkP8ATXpRgDD5rxVnKuTTwYQaci2NtaV1XxOQGjdIE50VGsR3";
- otp = "e1GATJVuS2sUh7jxiPzZPre4qtzGGaS22FR50Xs1TerRVdgI3CBVUi5XYtQ38W4xFeS4mDqi5cQjExE838iViSzCdcG19XSL6qNsfokQP9JugwiftmhmCadtsnHErBMI";
- jws = ''
- -----BEGIN RSA PRIVATE KEY-----
- MIIEpAIBAAKCAQEArrtx4oHKwXoqUbMNqnHgAklnnuDon3XG5LJB35yPsXKv/8GK
- ke92wkI+s1Xkvsp8tg9BIY/7c6YK4SR07EWL+dB5qwctsWR2Q8z+/BKmTx9D99pm
- hnsjuNIXTF7BXrx3RX6BxZpH5Vzzh9nCwWKT/JCFqtwH7afNGGL7aMf+hdaiUg/Q
- SD05yRObioiO4iXDolsJOhrnbZvlzVHl1ZYxFJv0H6/Snc0BBA9Fl/3uj6ANpbjP
- eXF1SnJCqT87bj46r5NdVauzaRxAsIfqHroHK4UZ98X5LjGQFGvSqTvyjPBS4I1i
- s7VJU28ObuutHxIxSlH0ibn4HZqWmKWlTS652wIDAQABAoIBAGtPcUTTw2sJlR3x
- 4k2wfAvLexkHNbZhBdKEa5JiO5mWPuLKwUiZEY2CU7Gd6csG3oqNWcm7/IjtC7dz
- xV8p4yp8T4yq7vQIJ93B80NqTLtBD2QTvG2RCMJEPMzJUObWxkVmyVpLQyZo7KOd
- KE/OM+aj94OUeEYLjRkSCScz1Gvq/qFG/nAy7KPCmN9JDHuhX26WHo2Rr1OnPNT/
- 7diph0bB9F3b8gjjNTqXDrpdAqVOgR/PsjEBz6DMY+bdyMIn87q2yfmMexxRofN6
- LulpzSaa6Yup8N8H6PzVO6KAkQuf1aQRj0sMwGk1IZEnj6I0KbuHIZkw21Nc6sf2
- ESFySDECgYEA1PnCNn5tmLnwe62Ttmrzl20zIS3Me1gUVJ1NTfr6+ai0I9iMYU21
- 5czuAjJPm9JKQF2vY8UAaCj2ZoObtHa/anb3xsCd8NXoM3iJq5JDoXI1ldz3Y+ad
- U/bZUg1DLRvAniTuXmw9iOTwTwPxlDIGq5k+wG2Xmi1lk7zH8ezr9BMCgYEA0gfk
- EhgcmPH8Z5cU3YYwOdt6HSJOM0OyN4k/5gnkv+HYVoJTj02gkrJmLr+mi1ugKj46
- 7huYO9TVnrKP21tmbaSv1dp5hS3letVRIxSloEtVGXmmdvJvBRzDWos+G+KcvADi
- fFCz6w8v9NmO40CB7y/3SxTmSiSxDQeoi9LhDBkCgYEAsPgMWm25sfOnkY2NNUIv
- wT8bAlHlHQT2d8zx5H9NttBpR3P0ShJhuF8N0sNthSQ7ULrIN5YGHYcUH+DyLAWU
- TuomP3/kfa+xL7vUYb269tdJEYs4AkoppxBySoz8qenqpz422D0G8M6TpIS5Y5Qi
- GMrQ6uLl21YnlpiCaFOfSQMCgYEAmZxj1kgEQmhZrnn1LL/D7czz1vMMNrpAUhXz
- wg9iWmSXkU3oR1sDIceQrIhHCo2M6thwyU0tXjUft93pEQocM/zLDaGoVxtmRxxV
- J08mg8IVD3jFoyFUyWxsBIDqgAKRl38eJsXvkO+ep3mm49Z+Ma3nM+apN3j2dQ0w
- 3HLzXaECgYBFLMEAboVFwi5+MZjGvqtpg2PVTisfuJy2eYnPwHs+AXUgi/xRNFjI
- YHEa7UBPb5TEPSzWImQpETi2P5ywcUYL1EbN/nqPWmjFnat8wVmJtV4sUpJhubF4
- Vqm9LxIWc1uQ1q1HDCejRIxIN3aSH+wgRS3Kcj8kCTIoXd1aERb04g==
- -----END RSA PRIVATE KEY-----
- '';
+ dbFile = "/var/keys/gitlab/db";
+ secretFile = "/var/keys/gitlab/secret";
+ otpFile = "/var/keys/gitlab/otp";
+ jwsFile = "/var/keys/gitlab/jws";
};
extraConfig = {
gitlab = {
@@ -113,12 +85,16 @@ services.gitlab = {
- If you're setting up a new Gitlab instance, generate new secrets. You for
- instance use tr -dc A-Za-z0-9 < /dev/urandom | head -c
- 128 to generate a new secret. Gitlab encrypts sensitive data
- stored in the database. If you're restoring an existing Gitlab instance, you
- must specify the secrets secret from config/secrets.yml
- located in your Gitlab state folder.
+ If you're setting up a new Gitlab instance, generate new
+ secrets. You for instance use tr -dc A-Za-z0-9 <
+ /dev/urandom | head -c 128 > /var/keys/gitlab/db to
+ generate a new db secret. Make sure the files can be read by, and
+ only by, the user specified by services.gitlab.user. Gitlab
+ encrypts sensitive data stored in the database. If you're restoring
+ an existing Gitlab instance, you must specify the secrets secret
+ from config/secrets.yml located in your Gitlab
+ state folder.
@@ -138,13 +114,13 @@ services.gitlab = {
For example, to backup a Gitlab instance:
-
-$ sudo -u git -H gitlab-rake gitlab:backup:create
-
+
+$ sudo -u git -H gitlab-rake gitlab:backup:create
+
A list of all availabe rake tasks can be obtained by running:
-
-$ sudo -u git -H gitlab-rake -T
-
+
+$ sudo -u git -H gitlab-rake -T
+
diff --git a/nixos/modules/services/misc/gitolite.nix b/nixos/modules/services/misc/gitolite.nix
index c7f2a168f8a..cc69f81bbcc 100644
--- a/nixos/modules/services/misc/gitolite.nix
+++ b/nixos/modules/services/misc/gitolite.nix
@@ -143,21 +143,37 @@ in
users.users.${cfg.user} = {
description = "Gitolite user";
home = cfg.dataDir;
- createHome = true;
uid = config.ids.uids.gitolite;
group = cfg.group;
useDefaultShell = true;
};
- users.groups."${cfg.group}".gid = config.ids.gids.gitolite;
+ users.groups.${cfg.group}.gid = config.ids.gids.gitolite;
- systemd.services."gitolite-init" = {
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' 0750 ${cfg.user} ${cfg.group} - -"
+ "d '${cfg.dataDir}'/.gitolite - ${cfg.user} ${cfg.group} - -"
+ "d '${cfg.dataDir}'/.gitolite/logs - ${cfg.user} ${cfg.group} - -"
+
+ "Z ${cfg.dataDir} 0750 ${cfg.user} ${cfg.group} - -"
+ ];
+
+ systemd.services.gitolite-init = {
description = "Gitolite initialization";
wantedBy = [ "multi-user.target" ];
unitConfig.RequiresMountsFor = cfg.dataDir;
- serviceConfig.User = "${cfg.user}";
- serviceConfig.Type = "oneshot";
- serviceConfig.RemainAfterExit = true;
+ environment = {
+ GITOLITE_RC = ".gitolite.rc";
+ GITOLITE_RC_DEFAULT = "${rcDir}/gitolite.rc.default";
+ };
+
+ serviceConfig = {
+ Type = "oneshot";
+ User = cfg.user;
+ Group = cfg.group;
+ WorkingDirectory = "~";
+ RemainAfterExit = true;
+ };
path = [ pkgs.gitolite pkgs.git pkgs.perl pkgs.bash pkgs.diffutils config.programs.ssh.package ];
script =
@@ -187,11 +203,6 @@ in
'';
in
''
- cd ${cfg.dataDir}
- mkdir -p .gitolite/logs
-
- GITOLITE_RC=.gitolite.rc
- GITOLITE_RC_DEFAULT=${rcDir}/gitolite.rc.default
if ( [[ ! -e "$GITOLITE_RC" ]] && [[ ! -L "$GITOLITE_RC" ]] ) ||
( [[ -f "$GITOLITE_RC" ]] && diff -q "$GITOLITE_RC" "$GITOLITE_RC_DEFAULT" >/dev/null ) ||
( [[ -L "$GITOLITE_RC" ]] && [[ "$(readlink "$GITOLITE_RC")" =~ ^/nix/store/ ]] )
diff --git a/nixos/modules/services/misc/gollum.nix b/nixos/modules/services/misc/gollum.nix
index d1823bc6d4d..7653b415bf0 100644
--- a/nixos/modules/services/misc/gollum.nix
+++ b/nixos/modules/services/misc/gollum.nix
@@ -75,27 +75,24 @@ in
users.groups.gollum = { };
+ systemd.tmpfiles.rules = [
+ "d '${cfg.stateDir}' - ${config.users.users.gollum.name} ${config.users.groups.gollum.name} - -"
+ ];
+
systemd.services.gollum = {
description = "Gollum wiki";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.git ];
- preStart = let
- userName = config.users.users.gollum.name;
- groupName = config.users.groups.gollum.name;
- in ''
- # All of this is safe to be run on an existing repo
- mkdir -p ${cfg.stateDir}
+ preStart = ''
+ # This is safe to be run on an existing repo
git init ${cfg.stateDir}
- chmod 755 ${cfg.stateDir}
- chown -R ${userName}:${groupName} ${cfg.stateDir}
'';
serviceConfig = {
User = config.users.users.gollum.name;
Group = config.users.groups.gollum.name;
- PermissionsStartOnly = true;
ExecStart = ''
${pkgs.gollum}/bin/gollum \
--port ${toString cfg.port} \
diff --git a/nixos/modules/services/misc/greenclip.nix b/nixos/modules/services/misc/greenclip.nix
new file mode 100644
index 00000000000..9152a782d7f
--- /dev/null
+++ b/nixos/modules/services/misc/greenclip.nix
@@ -0,0 +1,31 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.greenclip;
+in {
+
+ options.services.greenclip = {
+ enable = mkEnableOption "Greenclip daemon";
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.haskellPackages.greenclip;
+ defaultText = "pkgs.haskellPackages.greenclip";
+ description = "greenclip derivation to use.";
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.user.services.greenclip = {
+ enable = true;
+ description = "greenclip daemon";
+ wantedBy = [ "graphical-session.target" ];
+ after = [ "graphical-session.target" ];
+ serviceConfig.ExecStart = "${cfg.package}/bin/greenclip daemon";
+ };
+
+ environment.systemPackages = [ cfg.package ];
+ };
+}
diff --git a/nixos/modules/services/misc/jackett.nix b/nixos/modules/services/misc/jackett.nix
index a07f20e5c24..f2dc6635df9 100644
--- a/nixos/modules/services/misc/jackett.nix
+++ b/nixos/modules/services/misc/jackett.nix
@@ -34,6 +34,13 @@ in
default = "jackett";
description = "Group under which Jackett runs.";
};
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.jackett;
+ defaultText = "pkgs.jackett";
+ description = "Jackett package to use.";
+ };
};
};
@@ -51,7 +58,7 @@ in
Type = "simple";
User = cfg.user;
Group = cfg.group;
- ExecStart = "${pkgs.jackett}/bin/Jackett --NoUpdates --DataFolder '${cfg.dataDir}'";
+ ExecStart = "${cfg.package}/bin/Jackett --NoUpdates --DataFolder '${cfg.dataDir}'";
Restart = "on-failure";
};
};
diff --git a/nixos/modules/services/misc/lidarr.nix b/nixos/modules/services/misc/lidarr.nix
index f466402abfc..40755c16217 100644
--- a/nixos/modules/services/misc/lidarr.nix
+++ b/nixos/modules/services/misc/lidarr.nix
@@ -9,6 +9,37 @@ in
options = {
services.lidarr = {
enable = mkEnableOption "Lidarr";
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.lidarr;
+ defaultText = "pkgs.lidarr";
+ description = "The Lidarr package to use";
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for Lidarr
+ '';
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "lidarr";
+ description = ''
+ User account under which Lidarr runs.
+ '';
+ };
+
+ group = mkOption {
+ type = types.str;
+ default = "lidarr";
+ description = ''
+ Group under which Lidarr runs.
+ '';
+ };
};
};
@@ -20,9 +51,9 @@ in
serviceConfig = {
Type = "simple";
- User = "lidarr";
- Group = "lidarr";
- ExecStart = "${pkgs.lidarr}/bin/Lidarr";
+ User = cfg.user;
+ Group = cfg.group;
+ ExecStart = "${cfg.package}/bin/Lidarr";
Restart = "on-failure";
StateDirectory = "lidarr";
@@ -30,12 +61,22 @@ in
};
};
- users.users.lidarr = {
- uid = config.ids.uids.lidarr;
- home = "/var/lib/lidarr";
- group = "lidarr";
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPorts = [ 8686 ];
};
- users.groups.lidarr.gid = config.ids.gids.lidarr;
+ users.users = mkIf (cfg.user == "lidarr") {
+ lidarr = {
+ group = cfg.group;
+ home = "/var/lib/lidarr";
+ uid = config.ids.uids.lidarr;
+ };
+ };
+
+ users.groups = mkIf (cfg.group == "lidarr") {
+ lidarr = {
+ gid = config.ids.gids.lidarr;
+ };
+ };
};
}
diff --git a/nixos/modules/services/misc/logkeys.nix b/nixos/modules/services/misc/logkeys.nix
index ad13d9eaa67..0082db63a06 100644
--- a/nixos/modules/services/misc/logkeys.nix
+++ b/nixos/modules/services/misc/logkeys.nix
@@ -11,7 +11,7 @@ in {
device = mkOption {
description = "Use the given device as keyboard input event device instead of /dev/input/eventX default.";
default = null;
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
example = "/dev/input/event15";
};
};
diff --git a/nixos/modules/services/misc/mantisbt.nix b/nixos/modules/services/misc/mantisbt.nix
deleted file mode 100644
index 7e3474feb67..00000000000
--- a/nixos/modules/services/misc/mantisbt.nix
+++ /dev/null
@@ -1,68 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-let
- cfg = config.services.mantisbt;
-
- freshInstall = cfg.extraConfig == "";
-
- # combined code+config directory
- mantisbt = let
- config_inc = pkgs.writeText "config_inc.php" ("Java KeyStore file containing the certificates.
+ '';
+ };
+
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for Metabase.
+ '';
+ };
+ };
+
+ };
+
+ config = mkIf cfg.enable {
+
+ systemd.services.metabase = {
+ description = "Metabase server";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" ];
+ environment = {
+ MB_PLUGINS_DIR = "${dataDir}/plugins";
+ MB_DB_FILE = "${dataDir}/metabase.db";
+ MB_JETTY_HOST = cfg.listen.ip;
+ MB_JETTY_PORT = toString cfg.listen.port;
+ } // optionalAttrs (cfg.ssl.enable) {
+ MB_JETTY_SSL = true;
+ MB_JETTY_SSL_PORT = toString cfg.ssl.port;
+ MB_JETTY_SSL_KEYSTORE = cfg.ssl.keystore;
+ };
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = baseNameOf dataDir;
+ ExecStart = "${pkgs.metabase}/bin/metabase";
+ };
+ };
+
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPorts = [ cfg.listen.port ] ++ optional cfg.ssl.enable cfg.ssl.port;
+ };
+
+ };
+}
diff --git a/nixos/modules/services/misc/mwlib.nix b/nixos/modules/services/misc/mwlib.nix
index a8edecff2a1..6b41b552a86 100644
--- a/nixos/modules/services/misc/mwlib.nix
+++ b/nixos/modules/services/misc/mwlib.nix
@@ -165,7 +165,7 @@ in
}; # options.services
- config = {
+ config = {
systemd.services.mwlib-nserve = mkIf cfg.nserve.enable
{
@@ -191,7 +191,6 @@ in
description = "mwlib job queue server";
wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
preStart = ''
mkdir -pv '${cfg.qserve.datadir}'
@@ -218,7 +217,7 @@ in
description = "mwlib worker";
wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
+ after = [ "network.target" ];
preStart = ''
mkdir -pv '${cfg.nslave.cachedir}'
diff --git a/nixos/modules/services/misc/nix-daemon.nix b/nixos/modules/services/misc/nix-daemon.nix
index 8db3c44246f..3826f728afd 100644
--- a/nixos/modules/services/misc/nix-daemon.nix
+++ b/nixos/modules/services/misc/nix-daemon.nix
@@ -8,7 +8,9 @@ let
nix = cfg.package.out;
- isNix20 = versionAtLeast (getVersion nix) "2.0pre";
+ nixVersion = getVersion nix;
+
+ isNix20 = versionAtLeast nixVersion "2.0pre";
makeNixBuildUser = nr:
{ name = "nixbld${toString nr}";
@@ -61,6 +63,9 @@ let
builders =
''}
system-features = ${toString cfg.systemFeatures}
+ ${optionalString (versionAtLeast nixVersion "2.3pre") ''
+ sandbox-fallback = false
+ ''}
$extraOptions
END
'' + optionalString cfg.checkConfig (
@@ -272,10 +277,12 @@ in
binaryCaches = mkOption {
type = types.listOf types.str;
- default = [ https://cache.nixos.org/ ];
description = ''
List of binary cache URLs used to obtain pre-built binaries
of Nix packages.
+
+ By default https://cache.nixos.org/ is added,
+ to override it use lib.mkForce [].
'';
};
@@ -386,6 +393,7 @@ in
config = {
nix.binaryCachePublicKeys = [ "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" ];
+ nix.binaryCaches = [ "https://cache.nixos.org/" ];
environment.etc."nix/nix.conf".source = nixConf;
@@ -464,7 +472,7 @@ in
fi
'';
- nix.nrBuildUsers = mkDefault (lib.max 32 cfg.maxJobs);
+ nix.nrBuildUsers = mkDefault (lib.max 32 (if cfg.maxJobs == "auto" then 0 else cfg.maxJobs));
users.users = nixbldUsers;
@@ -492,12 +500,12 @@ in
optionals (pkgs.stdenv.isx86_64 && pkgs.hostPlatform.platform ? gcc.arch) (
# a x86_64 builder can run code for `platform.gcc.arch` and minor architectures:
[ "gccarch-${pkgs.hostPlatform.platform.gcc.arch}" ] ++ {
- "sandybridge" = [ "gccarch-westmere" ];
- "ivybridge" = [ "gccarch-westmere" "gccarch-sandybridge" ];
- "haswell" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" ];
- "broadwell" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" ];
- "skylake" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" "gccarch-broadwell" ];
- "skylake-avx512" = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" "gccarch-broadwell" "gccarch-skylake" ];
+ sandybridge = [ "gccarch-westmere" ];
+ ivybridge = [ "gccarch-westmere" "gccarch-sandybridge" ];
+ haswell = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" ];
+ broadwell = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" ];
+ skylake = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" "gccarch-broadwell" ];
+ skylake-avx512 = [ "gccarch-westmere" "gccarch-sandybridge" "gccarch-ivybridge" "gccarch-haswell" "gccarch-broadwell" "gccarch-skylake" ];
}.${pkgs.hostPlatform.platform.gcc.arch} or []
)
);
diff --git a/nixos/modules/services/misc/nixos-manual.nix b/nixos/modules/services/misc/nixos-manual.nix
index df3e71c80de..20ba3d8ef0b 100644
--- a/nixos/modules/services/misc/nixos-manual.nix
+++ b/nixos/modules/services/misc/nixos-manual.nix
@@ -54,7 +54,7 @@ in
(mkIf (cfg.showManual && cfgd.enable && cfgd.nixos.enable) {
boot.extraTTYs = [ "tty${toString cfg.ttyNumber}" ];
- systemd.services."nixos-manual" = {
+ systemd.services.nixos-manual = {
description = "NixOS Manual";
wantedBy = [ "multi-user.target" ];
serviceConfig = {
diff --git a/nixos/modules/services/misc/octoprint.nix b/nixos/modules/services/misc/octoprint.nix
index baa7c3ade52..8950010773c 100644
--- a/nixos/modules/services/misc/octoprint.nix
+++ b/nixos/modules/services/misc/octoprint.nix
@@ -7,7 +7,7 @@ let
cfg = config.services.octoprint;
baseConfig = {
- plugins.cura.cura_engine = "${pkgs.curaengine_stable}/bin/CuraEngine";
+ plugins.curalegacy.cura_engine = "${pkgs.curaengine_stable}/bin/CuraEngine";
server.host = cfg.host;
server.port = cfg.port;
webcam.ffmpeg = "${pkgs.ffmpeg.bin}/bin/ffmpeg";
@@ -97,6 +97,10 @@ in
gid = config.ids.gids.octoprint;
});
+ systemd.tmpfiles.rules = [
+ "d '${cfg.stateDir}' - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.octoprint = {
description = "OctoPrint, web interface for 3D printers";
wantedBy = [ "multi-user.target" ];
@@ -105,7 +109,6 @@ in
environment.PYTHONPATH = makeSearchPathOutput "lib" pkgs.python.sitePackages [ pluginsEnv ];
preStart = ''
- mkdir -p "${cfg.stateDir}"
if [ -e "${cfg.stateDir}/config.yaml" ]; then
${pkgs.yaml-merge}/bin/yaml-merge "${cfg.stateDir}/config.yaml" "${cfgUpdate}" > "${cfg.stateDir}/config.yaml.tmp"
mv "${cfg.stateDir}/config.yaml.tmp" "${cfg.stateDir}/config.yaml"
@@ -113,14 +116,12 @@ in
cp "${cfgUpdate}" "${cfg.stateDir}/config.yaml"
chmod 600 "${cfg.stateDir}/config.yaml"
fi
- chown -R ${cfg.user}:${cfg.group} "${cfg.stateDir}"
'';
serviceConfig = {
ExecStart = "${pkgs.octoprint}/bin/octoprint serve -b ${cfg.stateDir}";
User = cfg.user;
Group = cfg.group;
- PermissionsStartOnly = true;
};
};
diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix
index 4e6cd80e242..3985dc0b303 100644
--- a/nixos/modules/services/misc/paperless.nix
+++ b/nixos/modules/services/misc/paperless.nix
@@ -50,7 +50,7 @@ in
};
ocrLanguages = mkOption {
- type = with types; nullOr (listOf string);
+ type = with types; nullOr (listOf str);
default = null;
description = ''
Languages available for OCR via Tesseract, specified as
diff --git a/nixos/modules/services/misc/phd.nix b/nixos/modules/services/misc/phd.nix
deleted file mode 100644
index e605ce5de16..00000000000
--- a/nixos/modules/services/misc/phd.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
-
- cfg = config.services.phd;
-
-in
-
-{
-
- ###### interface
-
- options = {
-
- services.phd = {
-
- enable = mkOption {
- default = false;
- description = "
- Enable daemons for phabricator.
- ";
- };
-
- };
-
- };
-
- ###### implementation
-
- config = mkIf cfg.enable {
-
- systemd.services.phd = {
- path = [ pkgs.phabricator pkgs.php pkgs.mercurial pkgs.git pkgs.subversion ];
-
- after = [ "httpd.service" ];
- wantedBy = [ "multi-user.target" ];
-
- serviceConfig = {
- ExecStart = "${pkgs.phabricator}/phabricator/bin/phd start";
- ExecStop = "${pkgs.phabricator}/phabricator/bin/phd stop";
- User = "wwwrun";
- RestartSec = "30s";
- Restart = "always";
- StartLimitInterval = "1m";
- };
- };
-
- };
-
-}
diff --git a/nixos/modules/services/misc/pykms.nix b/nixos/modules/services/misc/pykms.nix
index ef90d124a28..ab00086e591 100644
--- a/nixos/modules/services/misc/pykms.nix
+++ b/nixos/modules/services/misc/pykms.nix
@@ -9,7 +9,7 @@ in {
meta.maintainers = with lib.maintainers; [ peterhoeg ];
options = {
- services.pykms = rec {
+ services.pykms = {
enable = mkOption {
type = types.bool;
default = false;
diff --git a/nixos/modules/services/misc/redmine.nix b/nixos/modules/services/misc/redmine.nix
index 91ddf2c3edf..24b9e27ac2d 100644
--- a/nixos/modules/services/misc/redmine.nix
+++ b/nixos/modules/services/misc/redmine.nix
@@ -1,8 +1,10 @@
{ config, lib, pkgs, ... }:
-with lib;
-
let
+ inherit (lib) mkDefault mkEnableOption mkIf mkOption types;
+ inherit (lib) concatStringsSep literalExample mapAttrsToList;
+ inherit (lib) optional optionalAttrs optionalString singleton versionAtLeast;
+
cfg = config.services.redmine;
bundle = "${cfg.package}/share/redmine/bin/bundle";
@@ -11,11 +13,11 @@ let
production:
adapter: ${cfg.database.type}
database: ${cfg.database.name}
- host: ${cfg.database.host}
+ host: ${if (cfg.database.type == "postgresql" && cfg.database.socket != null) then cfg.database.socket else cfg.database.host}
port: ${toString cfg.database.port}
username: ${cfg.database.user}
password: #dbpass#
- ${optionalString (cfg.database.socket != null) "socket: ${cfg.database.socket}"}
+ ${optionalString (cfg.database.type == "mysql2" && cfg.database.socket != null) "socket: ${cfg.database.socket}"}
'';
configurationYml = pkgs.writeText "configuration.yml" ''
@@ -50,16 +52,15 @@ let
'';
});
+ mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql2";
+ pgsqlLocal = cfg.database.createLocally && cfg.database.type == "postgresql";
+
in
{
options = {
services.redmine = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = "Enable the Redmine service.";
- };
+ enable = mkEnableOption "Redmine";
# default to the 4.x series not forcing major version upgrade of those on the 3.x series
package = mkOption {
@@ -107,7 +108,8 @@ in
description = ''
Extra configuration in configuration.yml.
- See https://guides.rubyonrails.org/action_mailer_basics.html#action-mailer-configuration
+ See
+ for details.
'';
example = literalExample ''
email_delivery:
@@ -124,7 +126,8 @@ in
description = ''
Extra configuration in additional_environment.rb.
- See https://svn.redmine.org/redmine/trunk/config/additional_environment.rb.example
+ See
+ for details.
'';
example = literalExample ''
config.logger.level = Logger::DEBUG
@@ -169,13 +172,14 @@ in
host = mkOption {
type = types.str;
- default = (if cfg.database.socket != null then "localhost" else "127.0.0.1");
+ default = "localhost";
description = "Database host address.";
};
port = mkOption {
type = types.int;
- default = 3306;
+ default = if cfg.database.type == "postgresql" then 5432 else 3306;
+ defaultText = "3306";
description = "Database host port.";
};
@@ -213,10 +217,20 @@ in
socket = mkOption {
type = types.nullOr types.path;
- default = null;
+ default =
+ if mysqlLocal then "/run/mysqld/mysqld.sock"
+ else if pgsqlLocal then "/run/postgresql"
+ else null;
+ defaultText = "/run/mysqld/mysqld.sock";
example = "/run/mysqld/mysqld.sock";
description = "Path to the unix socket file to use for authentication.";
};
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Create the database and database user locally.";
+ };
};
};
};
@@ -227,12 +241,37 @@ in
{ assertion = cfg.database.passwordFile != null || cfg.database.password != "" || cfg.database.socket != null;
message = "one of services.redmine.database.socket, services.redmine.database.passwordFile, or services.redmine.database.password must be set";
}
- { assertion = cfg.database.socket != null -> (cfg.database.type == "mysql2");
- message = "Socket authentication is only available for the mysql2 database type";
+ { assertion = cfg.database.createLocally -> cfg.database.user == cfg.user;
+ message = "services.redmine.database.user must be set to ${cfg.user} if services.redmine.database.createLocally is set true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.socket != null;
+ message = "services.redmine.database.socket must be set if services.redmine.database.createLocally is set to true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.host == "localhost";
+ message = "services.redmine.database.host must be set to localhost if services.redmine.database.createLocally is set to true";
}
];
- environment.systemPackages = [ cfg.package ];
+ services.mysql = mkIf mysqlLocal {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ services.postgresql = mkIf pgsqlLocal {
+ enable = true;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
# create symlinks for the basic directory layout the redmine package expects
systemd.tmpfiles.rules = [
@@ -259,7 +298,7 @@ in
];
systemd.services.redmine = {
- after = [ "network.target" (if cfg.database.type == "mysql2" then "mysql.service" else "postgresql.service") ];
+ after = [ "network.target" ] ++ optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
wantedBy = [ "multi-user.target" ];
environment.RAILS_ENV = "production";
environment.RAILS_CACHE = "${cfg.stateDir}/cache";
diff --git a/nixos/modules/services/misc/serviio.nix b/nixos/modules/services/misc/serviio.nix
index 8808f2d2193..9868192724b 100644
--- a/nixos/modules/services/misc/serviio.nix
+++ b/nixos/modules/services/misc/serviio.nix
@@ -10,7 +10,7 @@ let
#!${pkgs.bash}/bin/sh
SERVIIO_HOME=${pkgs.serviio}
-
+
# Setup the classpath
SERVIIO_CLASS_PATH="$SERVIIO_HOME/lib/*:$SERVIIO_HOME/config"
@@ -21,13 +21,13 @@ let
# Execute the JVM in the foreground
exec ${pkgs.jre}/bin/java -Xmx512M -Xms20M -XX:+UseG1GC -XX:GCTimeRatio=1 -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 $JAVA_OPTS -classpath "$SERVIIO_CLASS_PATH" org.serviio.MediaServer "$@"
'';
-
+
in {
###### interface
options = {
services.serviio = {
-
+
enable = mkOption {
type = types.bool;
default = false;
@@ -52,7 +52,7 @@ in {
config = mkIf cfg.enable {
systemd.services.serviio = {
description = "Serviio Media Server";
- after = [ "local-fs.target" "network.target" ];
+ after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.serviio ];
serviceConfig = {
@@ -64,7 +64,7 @@ in {
};
users.users = [
- {
+ {
name = "serviio";
group = "serviio";
home = cfg.dataDir;
@@ -75,16 +75,16 @@ in {
];
users.groups = [
- { name = "serviio";}
+ { name = "serviio";}
];
networking.firewall = {
- allowedTCPPorts = [
+ allowedTCPPorts = [
8895 # serve UPnP responses
23423 # console
23424 # mediabrowser
];
- allowedUDPPorts = [
+ allowedUDPPorts = [
1900 # UPnP service discovey
];
};
diff --git a/nixos/modules/services/misc/snapper.nix b/nixos/modules/services/misc/snapper.nix
index 62b344d11b0..6f3aaa973a0 100644
--- a/nixos/modules/services/misc/snapper.nix
+++ b/nixos/modules/services/misc/snapper.nix
@@ -44,7 +44,7 @@ in
configs = mkOption {
default = { };
example = literalExample {
- "home" = {
+ home = {
subvolume = "/home";
extraConfig = ''
ALLOW_USERS="alice"
diff --git a/nixos/modules/services/misc/subsonic.nix b/nixos/modules/services/misc/subsonic.nix
index 1612b197f35..152917d345c 100644
--- a/nixos/modules/services/misc/subsonic.nix
+++ b/nixos/modules/services/misc/subsonic.nix
@@ -17,7 +17,7 @@ let cfg = config.services.subsonic; in {
};
listenAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "0.0.0.0";
description = ''
The host name or IP address on which to bind Subsonic.
@@ -105,7 +105,7 @@ let cfg = config.services.subsonic; in {
config = mkIf cfg.enable {
systemd.services.subsonic = {
description = "Personal media streamer";
- after = [ "local-fs.target" "network.target" ];
+ after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
script = ''
${pkgs.jre}/bin/java -Xmx${toString cfg.maxMemory}m \
diff --git a/nixos/modules/services/misc/synergy.nix b/nixos/modules/services/misc/synergy.nix
index b89cb41ac3a..bfab8c534d8 100644
--- a/nixos/modules/services/misc/synergy.nix
+++ b/nixos/modules/services/misc/synergy.nix
@@ -83,7 +83,7 @@ in
config = mkMerge [
(mkIf cfgC.enable {
- systemd.user.services."synergy-client" = {
+ systemd.user.services.synergy-client = {
after = [ "network.target" "graphical-session.target" ];
description = "Synergy client";
wantedBy = optional cfgC.autoStart "graphical-session.target";
@@ -93,7 +93,7 @@ in
};
})
(mkIf cfgS.enable {
- systemd.user.services."synergy-server" = {
+ systemd.user.services.synergy-server = {
after = [ "network.target" "graphical-session.target" ];
description = "Synergy server";
wantedBy = optional cfgS.autoStart "graphical-session.target";
diff --git a/nixos/modules/services/misc/taskserver/default.nix b/nixos/modules/services/misc/taskserver/default.nix
index 07dbee69db0..8a57277fafe 100644
--- a/nixos/modules/services/misc/taskserver/default.nix
+++ b/nixos/modules/services/misc/taskserver/default.nix
@@ -411,7 +411,7 @@ in {
} else {
cert = "${cfg.pki.manual.server.cert}";
key = "${cfg.pki.manual.server.key}";
- crl = "${cfg.pki.manual.server.crl}";
+ ${mapNullable (_: "crl") cfg.pki.manual.server.crl} = "${cfg.pki.manual.server.crl}";
});
ca.cert = if needToCreateCA then "${cfg.dataDir}/keys/ca.cert"
diff --git a/nixos/modules/services/misc/taskserver/doc.xml b/nixos/modules/services/misc/taskserver/doc.xml
index 5eac8d9ef78..5656bb85b37 100644
--- a/nixos/modules/services/misc/taskserver/doc.xml
+++ b/nixos/modules/services/misc/taskserver/doc.xml
@@ -105,7 +105,7 @@
Now in order to import the alice user to another machine
alicebox, all we need to do is something like this:
-$ ssh server nixos-taskserver user export my-company alice | sh
+$ ssh server nixos-taskserver user export my-company alice | sh
Of course, if no SSH daemon is available on the server you can also copy
& paste it directly into a shell.
diff --git a/nixos/modules/services/misc/tiddlywiki.nix b/nixos/modules/services/misc/tiddlywiki.nix
new file mode 100644
index 00000000000..2adc08f6cfe
--- /dev/null
+++ b/nixos/modules/services/misc/tiddlywiki.nix
@@ -0,0 +1,52 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.services.tiddlywiki;
+ listenParams = concatStrings (mapAttrsToList (n: v: " '${n}=${toString v}' ") cfg.listenOptions);
+ exe = "${pkgs.nodePackages.tiddlywiki}/lib/node_modules/.bin/tiddlywiki";
+ name = "tiddlywiki";
+ dataDir = "/var/lib/" + name;
+
+in {
+
+ options.services.tiddlywiki = {
+
+ enable = mkEnableOption "TiddlyWiki nodejs server";
+
+ listenOptions = mkOption {
+ type = types.attrs;
+ default = {};
+ example = {
+ credentials = "../credentials.csv";
+ readers="(authenticated)";
+ port = 3456;
+ };
+ description = ''
+ Parameters passed to --listen command.
+ Refer to
+ for details on supported values.
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd = {
+ services.tiddlywiki = {
+ description = "TiddlyWiki nodejs server";
+ after = [ "network.target" ];
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ Type = "simple";
+ Restart = "on-failure";
+ DynamicUser = true;
+ StateDirectory = name;
+ ExecStartPre = "-${exe} ${dataDir} --init server";
+ ExecStart = "${exe} ${dataDir} --listen ${listenParams}";
+ };
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/misc/uhub.nix b/nixos/modules/services/misc/uhub.nix
index 005951b9231..753580c3e40 100644
--- a/nixos/modules/services/misc/uhub.nix
+++ b/nixos/modules/services/misc/uhub.nix
@@ -51,7 +51,7 @@ in
};
address = mkOption {
- type = types.string;
+ type = types.str;
default = "any";
description = "Address to bind the hub to.";
};
@@ -83,7 +83,7 @@ in
description = "Whether to enable the Sqlite authentication database plugin";
};
file = mkOption {
- type = types.string;
+ type = types.path;
example = "/var/db/uhub-users";
description = "Path to user database. Use the uhub-passwd utility to create the database and add/remove users.";
};
@@ -96,7 +96,7 @@ in
description = "Whether to enable the logging plugin.";
};
file = mkOption {
- type = types.string;
+ type = types.str;
default = "";
description = "Path of log file.";
};
@@ -117,7 +117,7 @@ in
default = "";
type = types.lines;
description = ''
- Welcome message displayed to clients after connecting
+ Welcome message displayed to clients after connecting
and with the !motd command.
'';
};
@@ -183,4 +183,4 @@ in
};
};
-}
\ No newline at end of file
+}
diff --git a/nixos/modules/services/misc/zoneminder.nix b/nixos/modules/services/misc/zoneminder.nix
index 01720ba432e..3bff04e7127 100644
--- a/nixos/modules/services/misc/zoneminder.nix
+++ b/nixos/modules/services/misc/zoneminder.nix
@@ -2,6 +2,7 @@
let
cfg = config.services.zoneminder;
+ fpm = config.services.phpfpm.pools.zoneminder;
pkg = pkgs.zoneminder;
dirName = pkg.dirName;
@@ -10,7 +11,7 @@ let
group = {
nginx = config.services.nginx.group;
none = user;
- }."${cfg.webserver}";
+ }.${cfg.webserver};
useNginx = cfg.webserver == "nginx";
@@ -19,8 +20,6 @@ let
useCustomDir = cfg.storageDir != null;
- socket = "/run/phpfpm/${dirName}.sock";
-
zms = "/cgi-bin/zms";
dirs = dirList: [ dirName ] ++ map (e: "${dirName}/${e}") dirList;
@@ -50,7 +49,7 @@ let
ZM_DB_TYPE=mysql
ZM_DB_HOST=${cfg.database.host}
ZM_DB_NAME=${cfg.database.name}
- ZM_DB_USER=${if cfg.database.createLocally then user else cfg.database.username}
+ ZM_DB_USER=${cfg.database.username}
ZM_DB_PASS=${cfg.database.password}
# Web
@@ -155,6 +154,7 @@ in {
default = "zmpass";
description = ''
Username for accessing the database.
+ Not used if createLocally is set.
'';
};
};
@@ -189,12 +189,21 @@ in {
config = lib.mkIf cfg.enable {
+ assertions = [
+ { assertion = cfg.database.createLocally -> cfg.database.username == user;
+ message = "services.zoneminder.database.username must be set to ${user} if services.zoneminder.database.createLocally is set true";
+ }
+ ];
+
environment.etc = {
"zoneminder/60-defaults.conf".source = defaultsFile;
"zoneminder/80-nixos.conf".source = configFile;
};
- networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [ cfg.port ];
+ networking.firewall.allowedTCPPorts = lib.mkIf cfg.openFirewall [
+ cfg.port
+ 6802 # zmtrigger
+ ];
services = {
fcgiwrap = lib.mkIf useNginx {
@@ -204,10 +213,9 @@ in {
};
mysql = lib.mkIf cfg.database.createLocally {
+ enable = true;
+ package = lib.mkDefault pkgs.mariadb;
ensureDatabases = [ cfg.database.name ];
- initialDatabases = [{
- inherit (cfg.database) name; schema = "${pkg}/share/zoneminder/db/zm_create.sql";
- }];
ensureUsers = [{
name = cfg.database.username;
ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
@@ -217,7 +225,7 @@ in {
nginx = lib.mkIf useNginx {
enable = true;
virtualHosts = {
- "${cfg.hostname}" = {
+ ${cfg.hostname} = {
default = true;
root = "${pkg}/share/zoneminder/www";
listen = [ { addr = "0.0.0.0"; inherit (cfg) port; } ];
@@ -229,6 +237,8 @@ in {
location / {
try_files $uri $uri/ /index.php?$args =404;
+ rewrite ^/skins/.*/css/fonts/(.*)$ /fonts/$1 permanent;
+
location ~ /api/(css|img|ico) {
rewrite ^/api(.+)$ /api/app/webroot/$1 break;
try_files $uri $uri/ =404;
@@ -254,7 +264,7 @@ in {
fastcgi_pass ${fcgi.socketType}:${fcgi.socketAddress};
}
- location /cache {
+ location /cache/ {
alias /var/cache/${dirName};
}
@@ -266,7 +276,7 @@ in {
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_param HTTP_PROXY "";
- fastcgi_pass unix:${socket};
+ fastcgi_pass unix:${fpm.socket};
}
}
'';
@@ -276,36 +286,33 @@ in {
phpfpm = lib.mkIf useNginx {
pools.zoneminder = {
- listen = socket;
+ inherit user group;
phpOptions = ''
date.timezone = "${config.time.timeZone}"
${lib.concatStringsSep "\n" (map (e:
"extension=${e.pkg}/lib/php/extensions/${e.name}.so") phpExtensions)}
'';
- extraConfig = ''
- user = ${user}
- group = ${group}
+ settings = lib.mapAttrs (name: lib.mkDefault) {
+ "listen.owner" = user;
+ "listen.group" = group;
+ "listen.mode" = "0660";
- listen.owner = ${user}
- listen.group = ${group}
- listen.mode = 0660
-
- pm = dynamic
- pm.start_servers = 1
- pm.min_spare_servers = 1
- pm.max_spare_servers = 2
- pm.max_requests = 500
- pm.max_children = 5
- pm.status_path = /$pool-status
- ping.path = /$pool-ping
- '';
+ "pm" = "dynamic";
+ "pm.start_servers" = 1;
+ "pm.min_spare_servers" = 1;
+ "pm.max_spare_servers" = 2;
+ "pm.max_requests" = 500;
+ "pm.max_children" = 5;
+ "pm.status_path" = "/$pool-status";
+ "ping.path" = "/$pool-ping";
+ };
};
};
};
systemd.services = {
- zoneminder = with pkgs; rec {
+ zoneminder = with pkgs; {
inherit (zoneminder.meta) description;
documentation = [ "https://zoneminder.readthedocs.org/en/latest/" ];
path = [
@@ -313,11 +320,16 @@ in {
procps
psmisc
];
- after = [ "mysql.service" "nginx.service" ];
+ after = [ "nginx.service" ] ++ lib.optional cfg.database.createLocally "mysql.service";
wantedBy = [ "multi-user.target" ];
restartTriggers = [ defaultsFile configFile ];
- preStart = lib.mkIf useCustomDir ''
+ preStart = lib.optionalString useCustomDir ''
install -dm775 -o ${user} -g ${group} ${cfg.storageDir}/{${lib.concatStringsSep "," libDirs}}
+ '' + lib.optionalString cfg.database.createLocally ''
+ if ! test -e "/var/lib/${dirName}/db-created"; then
+ ${config.services.mysql.package}/bin/mysql < ${pkg}/share/zoneminder/db/zm_create.sql
+ touch "/var/lib/${dirName}/db-created"
+ fi
'';
serviceConfig = {
User = user;
@@ -344,11 +356,11 @@ in {
};
};
- users.groups."${user}" = {
+ users.groups.${user} = {
gid = config.ids.gids.zoneminder;
};
- users.users."${user}" = {
+ users.users.${user} = {
uid = config.ids.uids.zoneminder;
group = user;
inherit home;
diff --git a/nixos/modules/services/misc/zookeeper.nix b/nixos/modules/services/misc/zookeeper.nix
index 50c84e3c6b8..5d91e44a199 100644
--- a/nixos/modules/services/misc/zookeeper.nix
+++ b/nixos/modules/services/misc/zookeeper.nix
@@ -121,6 +121,7 @@ in {
systemd.tmpfiles.rules = [
"d '${cfg.dataDir}' 0700 zookeeper - - -"
+ "Z '${cfg.dataDir}' 0700 zookeeper - - -"
];
systemd.services.zookeeper = {
diff --git a/nixos/modules/services/monitoring/alerta.nix b/nixos/modules/services/monitoring/alerta.nix
index 8f4258e26de..34f2d41706a 100644
--- a/nixos/modules/services/monitoring/alerta.nix
+++ b/nixos/modules/services/monitoring/alerta.nix
@@ -1,4 +1,4 @@
-{ options, config, lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
with lib;
@@ -83,6 +83,10 @@ in
};
config = mkIf cfg.enable {
+ systemd.tmpfiles.rules = [
+ "d '${cfg.logDir}' - alerta alerta - -"
+ ];
+
systemd.services.alerta = {
description = "Alerta Monitoring System";
wantedBy = [ "multi-user.target" ];
@@ -94,12 +98,7 @@ in
ExecStart = "${pkgs.python36Packages.alerta-server}/bin/alertad run --port ${toString cfg.port} --host ${cfg.bind}";
User = "alerta";
Group = "alerta";
- PermissionsStartOnly = true;
};
- preStart = ''
- mkdir -p ${cfg.logDir}
- chown alerta:alerta ${cfg.logDir}
- '';
};
environment.systemPackages = [ pkgs.python36Packages.alerta ];
diff --git a/nixos/modules/services/monitoring/apcupsd.nix b/nixos/modules/services/monitoring/apcupsd.nix
index 49957e65290..75218aa1d46 100644
--- a/nixos/modules/services/monitoring/apcupsd.nix
+++ b/nixos/modules/services/monitoring/apcupsd.nix
@@ -91,7 +91,7 @@ in
BATTERYLEVEL 50
MINUTES 5
'';
- type = types.string;
+ type = types.lines;
description = ''
Contents of the runtime configuration file, apcupsd.conf. The default
settings makes apcupsd autodetect USB UPSes, limit network access to
@@ -106,7 +106,7 @@ in
example = {
doshutdown = ''# shell commands to notify that the computer is shutting down'';
};
- type = types.attrsOf types.string;
+ type = types.attrsOf types.lines;
description = ''
Each attribute in this option names an apcupsd event and the string
value it contains will be executed in a shell, in response to that
diff --git a/nixos/modules/services/monitoring/bosun.nix b/nixos/modules/services/monitoring/bosun.nix
index 8bf741adb6e..b1c12cce1f8 100644
--- a/nixos/modules/services/monitoring/bosun.nix
+++ b/nixos/modules/services/monitoring/bosun.nix
@@ -41,7 +41,7 @@ in {
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "bosun";
description = ''
User account under which bosun runs.
@@ -49,7 +49,7 @@ in {
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "bosun";
description = ''
Group account under which bosun runs.
@@ -57,7 +57,7 @@ in {
};
opentsdbHost = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = "localhost:4242";
description = ''
Host and port of the OpenTSDB database that stores bosun data.
@@ -66,7 +66,7 @@ in {
};
influxHost = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
example = "localhost:8086";
description = ''
@@ -75,7 +75,7 @@ in {
};
listenAddress = mkOption {
- type = types.string;
+ type = types.str;
default = ":8070";
description = ''
The host address and port that bosun's web interface will listen on.
diff --git a/nixos/modules/services/monitoring/cadvisor.nix b/nixos/modules/services/monitoring/cadvisor.nix
index 6ca420a05b2..695a8c42e85 100644
--- a/nixos/modules/services/monitoring/cadvisor.nix
+++ b/nixos/modules/services/monitoring/cadvisor.nix
@@ -84,6 +84,16 @@ in {
type = types.bool;
description = "Cadvisor storage driver, enable secure communication.";
};
+
+ extraOptions = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ Additional cadvisor options.
+
+ See for available options.
+ '';
+ };
};
};
@@ -112,6 +122,7 @@ in {
-logtostderr=true \
-listen_ip="${cfg.listenAddress}" \
-port="${toString cfg.port}" \
+ ${escapeShellArgs cfg.extraOptions} \
${optionalString (cfg.storageDriver != null) ''
-storage_driver "${cfg.storageDriver}" \
-storage_driver_user "${cfg.storageDriverHost}" \
diff --git a/nixos/modules/services/monitoring/datadog-agent.nix b/nixos/modules/services/monitoring/datadog-agent.nix
index ce3d53fb2c1..02a9f316fc3 100644
--- a/nixos/modules/services/monitoring/datadog-agent.nix
+++ b/nixos/modules/services/monitoring/datadog-agent.nix
@@ -42,9 +42,9 @@ let
# Apply the configured extraIntegrations to the provided agent
# package. See the documentation of `dd-agent/integrations-core.nix`
# for detailed information on this.
- datadogPkg = cfg.package.overrideAttrs(_: {
- python = (pkgs.datadog-integrations-core cfg.extraIntegrations).python;
- });
+ datadogPkg = cfg.package.override {
+ pythonPackages = pkgs.datadog-integrations-core cfg.extraIntegrations;
+ };
in {
options.services.datadog-agent = {
enable = mkOption {
@@ -60,7 +60,7 @@ in {
defaultText = "pkgs.datadog-agent";
description = ''
Which DataDog v6 agent package to use. Note that the provided
- package is expected to have an overridable `python`-attribute
+ package is expected to have an overridable `pythonPackages`-attribute
which configures the Python environment with the Datadog
checks.
'';
@@ -87,7 +87,7 @@ in {
description = "The hostname to show in the Datadog dashboard (optional)";
default = null;
example = "mymachine.mydomain";
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
};
logLevel = mkOption {
diff --git a/nixos/modules/services/monitoring/dd-agent/dd-agent.nix b/nixos/modules/services/monitoring/dd-agent/dd-agent.nix
index abc8d65d58f..5ee6b092a6a 100644
--- a/nixos/modules/services/monitoring/dd-agent/dd-agent.nix
+++ b/nixos/modules/services/monitoring/dd-agent/dd-agent.nix
@@ -145,47 +145,46 @@ in {
description = "The hostname to show in the Datadog dashboard (optional)";
default = null;
example = "mymachine.mydomain";
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
};
postgresqlConfig = mkOption {
description = "Datadog PostgreSQL integration configuration";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.lines;
};
nginxConfig = mkOption {
description = "Datadog nginx integration configuration";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.lines;
};
mongoConfig = mkOption {
description = "MongoDB integration configuration";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.lines;
};
jmxConfig = mkOption {
description = "JMX integration configuration";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.lines;
};
processConfig = mkOption {
description = ''
Process integration configuration
-
- See http://docs.datadoghq.com/integrations/process/
+ See
'';
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.lines;
};
};
config = mkIf cfg.enable {
- environment.systemPackages = [ pkgs."dd-agent" pkgs.sysstat pkgs.procps ];
+ environment.systemPackages = [ pkgs.dd-agent pkgs.sysstat pkgs.procps ];
users.users.datadog = {
description = "Datadog Agent User";
diff --git a/nixos/modules/services/monitoring/fusion-inventory.nix b/nixos/modules/services/monitoring/fusion-inventory.nix
index 9c976c65ea4..b90579bb70c 100644
--- a/nixos/modules/services/monitoring/fusion-inventory.nix
+++ b/nixos/modules/services/monitoring/fusion-inventory.nix
@@ -51,7 +51,7 @@ in {
description = "FusionInventory user";
};
- systemd.services."fusion-inventory" = {
+ systemd.services.fusion-inventory = {
description = "Fusion Inventory Agent";
wantedBy = [ "multi-user.target" ];
diff --git a/nixos/modules/services/monitoring/grafana-reporter.nix b/nixos/modules/services/monitoring/grafana-reporter.nix
index 827cf6322cf..b5a78e4583e 100644
--- a/nixos/modules/services/monitoring/grafana-reporter.nix
+++ b/nixos/modules/services/monitoring/grafana-reporter.nix
@@ -1,4 +1,4 @@
-{ options, config, lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
with lib;
diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix
index 5d3f2e6ac28..bf1084eecc3 100644
--- a/nixos/modules/services/monitoring/grafana.nix
+++ b/nixos/modules/services/monitoring/grafana.nix
@@ -503,12 +503,12 @@ in {
message = "Cannot set both adminPassword and adminPasswordFile";
}
{
- assertion = cfg.security.secretKeyFile != opt.security.secretKeyFile.default -> cfg.security.secretKeyFile == null;
+ assertion = cfg.security.secretKey != opt.security.secretKey.default -> cfg.security.secretKeyFile == null;
message = "Cannot set both secretKey and secretKeyFile";
}
{
assertion = cfg.smtp.password != opt.smtp.password.default -> cfg.smtp.passwordFile == null;
- message = "Cannot set both password and secretKeyFile";
+ message = "Cannot set both password and passwordFile";
}
];
@@ -552,6 +552,8 @@ in {
description = "Grafana user";
home = cfg.dataDir;
createHome = true;
+ group = "grafana";
};
+ users.groups.grafana = {};
};
}
diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix
index d6473220c14..64cb6c3da1e 100644
--- a/nixos/modules/services/monitoring/graphite.nix
+++ b/nixos/modules/services/monitoring/graphite.nix
@@ -11,7 +11,7 @@ let
graphiteLocalSettingsDir = pkgs.runCommand "graphite_local_settings" {
inherit graphiteLocalSettings;
- preferLocalBuild = true;
+ preferLocalBuild = true;
} ''
mkdir -p $out
ln -s $graphiteLocalSettings $out/graphite_local_settings.py
@@ -215,7 +215,7 @@ in {
storageAggregation = mkOption {
description = "Defines how to aggregate data to lower-precision retentions.";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = ''
[all_min]
pattern = \.min$
@@ -227,7 +227,7 @@ in {
storageSchemas = mkOption {
description = "Defines retention rates for storing metrics.";
default = "";
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = ''
[apache_busyWorkers]
pattern = ^servers\.www.*\.workers\.busyWorkers$
@@ -238,14 +238,14 @@ in {
blacklist = mkOption {
description = "Any metrics received which match one of the experssions will be dropped.";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = "^some\.noisy\.metric\.prefix\..*";
};
whitelist = mkOption {
description = "Only metrics received which match one of the experssions will be persisted.";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = ".*";
};
@@ -255,7 +255,7 @@ in {
in a search and replace fashion.
'';
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = ''
[post]
_sum$ =
@@ -272,7 +272,7 @@ in {
relayRules = mkOption {
description = "Relay rules are used to send certain metrics to a certain backend.";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = ''
[example]
pattern = ^mydata\.foo\..+
@@ -289,7 +289,7 @@ in {
aggregationRules = mkOption {
description = "Defines if and how received metrics will be aggregated.";
default = null;
- type = types.uniq (types.nullOr types.string);
+ type = types.nullOr types.str;
example = ''
.applications..all.requests (60) = sum .applications..*.requests
.applications..all.latency (60) = avg .applications..*.latency
diff --git a/nixos/modules/services/monitoring/heapster.nix b/nixos/modules/services/monitoring/heapster.nix
index fbdff2eb5db..6da0831b4c5 100644
--- a/nixos/modules/services/monitoring/heapster.nix
+++ b/nixos/modules/services/monitoring/heapster.nix
@@ -15,19 +15,19 @@ in {
source = mkOption {
description = "Heapster metric source";
example = "kubernetes:https://kubernetes.default";
- type = types.string;
+ type = types.str;
};
sink = mkOption {
description = "Heapster metic sink";
example = "influxdb:http://localhost:8086";
- type = types.string;
+ type = types.str;
};
extraOpts = mkOption {
description = "Heapster extra options";
default = "";
- type = types.string;
+ type = types.separatedString " ";
};
package = mkOption {
diff --git a/nixos/modules/services/monitoring/kapacitor.nix b/nixos/modules/services/monitoring/kapacitor.nix
index a4bdfa8f805..9b4ff3c5612 100644
--- a/nixos/modules/services/monitoring/kapacitor.nix
+++ b/nixos/modules/services/monitoring/kapacitor.nix
@@ -1,4 +1,4 @@
-{ options, config, lib, pkgs, ... }:
+{ config, lib, pkgs, ... }:
with lib;
@@ -116,17 +116,17 @@ in
url = mkOption {
description = "The URL to an InfluxDB server that serves as the default database";
example = "http://localhost:8086";
- type = types.string;
+ type = types.str;
};
username = mkOption {
description = "The username to connect to the remote InfluxDB server";
- type = types.string;
+ type = types.str;
};
password = mkOption {
description = "The password to connect to the remote InfluxDB server";
- type = types.string;
+ type = types.str;
};
};
@@ -137,7 +137,7 @@ in
description = "The URL to the Alerta REST API";
default = "http://localhost:5000";
example = "http://localhost:5000";
- type = types.string;
+ type = types.str;
};
token = mkOption {
@@ -163,6 +163,10 @@ in
config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.kapacitor ];
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.kapacitor = {
description = "Kapacitor Real-Time Stream Processing Engine";
wantedBy = [ "multi-user.target" ];
@@ -171,12 +175,7 @@ in
ExecStart = "${pkgs.kapacitor}/bin/kapacitord -config ${kapacitorConf}";
User = "kapacitor";
Group = "kapacitor";
- PermissionsStartOnly = true;
};
- preStart = ''
- mkdir -p ${cfg.dataDir}
- chown ${cfg.user}:${cfg.group} ${cfg.dataDir}
- '';
};
users.users.kapacitor = {
diff --git a/nixos/modules/services/monitoring/loki.nix b/nixos/modules/services/monitoring/loki.nix
new file mode 100644
index 00000000000..f4eec7e0d28
--- /dev/null
+++ b/nixos/modules/services/monitoring/loki.nix
@@ -0,0 +1,112 @@
+{ config, lib, pkgs, ... }:
+
+let
+ inherit (lib) escapeShellArgs literalExample mkEnableOption mkIf mkOption types;
+
+ cfg = config.services.loki;
+
+ prettyJSON = conf:
+ pkgs.runCommand "loki-config.json" { } ''
+ echo '${builtins.toJSON conf}' | ${pkgs.jq}/bin/jq 'del(._module)' > $out
+ '';
+
+in {
+ options.services.loki = {
+ enable = mkEnableOption "loki";
+
+ user = mkOption {
+ type = types.str;
+ default = "loki";
+ description = ''
+ User under which the Loki service runs.
+ '';
+ };
+
+ group = mkOption {
+ type = types.str;
+ default = "loki";
+ description = ''
+ Group under which the Loki service runs.
+ '';
+ };
+
+ dataDir = mkOption {
+ type = types.path;
+ default = "/var/lib/loki";
+ description = ''
+ Specify the directory for Loki.
+ '';
+ };
+
+ configuration = mkOption {
+ type = types.attrs;
+ default = {};
+ description = ''
+ Specify the configuration for Loki in Nix.
+ '';
+ };
+
+ configFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ Specify a configuration file that Loki should use.
+ '';
+ };
+
+ extraFlags = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ example = literalExample [ "--server.http-listen-port=3101" ];
+ description = ''
+ Specify a list of additional command line flags,
+ which get escaped and are then passed to Loki.
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+ assertions = [{
+ assertion = (
+ (cfg.configuration == {} -> cfg.configFile != null) &&
+ (cfg.configFile != null -> cfg.configuration == {})
+ );
+ message = ''
+ Please specify either
+ 'services.loki.configuration' or
+ 'services.loki.configFile'.
+ '';
+ }];
+
+ users.groups.${cfg.group} = { };
+ users.users.${cfg.user} = {
+ description = "Loki Service User";
+ group = cfg.group;
+ home = cfg.dataDir;
+ createHome = true;
+ isSystemUser = true;
+ };
+
+ systemd.services.loki = {
+ description = "Loki Service Daemon";
+ wantedBy = [ "multi-user.target" ];
+
+ serviceConfig = let
+ conf = if cfg.configFile == null
+ then prettyJSON cfg.configuration
+ else cfg.configFile;
+ in
+ {
+ ExecStart = "${pkgs.grafana-loki}/bin/loki --config.file=${conf} ${escapeShellArgs cfg.extraFlags}";
+ User = cfg.user;
+ Restart = "always";
+ PrivateTmp = true;
+ ProtectHome = true;
+ ProtectSystem = "full";
+ DevicePolicy = "closed";
+ NoNewPrivileges = true;
+ WorkingDirectory = cfg.dataDir;
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/monitoring/monit.nix b/nixos/modules/services/monitoring/monit.nix
index 32e14ab21ff..ca935227217 100644
--- a/nixos/modules/services/monitoring/monit.nix
+++ b/nixos/modules/services/monitoring/monit.nix
@@ -23,7 +23,7 @@ in
environment.systemPackages = [ pkgs.monit ];
- environment.etc."monitrc" = {
+ environment.etc.monitrc = {
text = cfg.config;
mode = "0400";
};
@@ -39,7 +39,7 @@ in
KillMode = "process";
Restart = "always";
};
- restartTriggers = [ config.environment.etc."monitrc".source ];
+ restartTriggers = [ config.environment.etc.monitrc.source ];
};
};
diff --git a/nixos/modules/services/monitoring/munin.nix b/nixos/modules/services/monitoring/munin.nix
index ffe223fedbe..8af0650c738 100644
--- a/nixos/modules/services/monitoring/munin.nix
+++ b/nixos/modules/services/monitoring/munin.nix
@@ -233,7 +233,7 @@ in
# In the meantime this at least suppresses a useless graph full of
# NaNs in the output.
default = [ "munin_stats" ];
- type = with types; listOf string;
+ type = with types; listOf str;
description = ''
Munin plugins to disable, even if
munin-node-configure --suggest tries to enable
diff --git a/nixos/modules/services/monitoring/nagios.nix b/nixos/modules/services/monitoring/nagios.nix
index 7f65236ed3d..6a3b9776946 100644
--- a/nixos/modules/services/monitoring/nagios.nix
+++ b/nixos/modules/services/monitoring/nagios.nix
@@ -36,7 +36,7 @@ let
# Uid/gid that the daemon runs under.
nagios_user=nagios
- nagios_group=nogroup
+ nagios_group=nagios
# Misc. options.
illegal_macro_output_chars=`~$&|'"<>
@@ -58,9 +58,7 @@ let
Options ExecCGI
- AllowOverride None
- Order allow,deny
- Allow from all
+ Require all granted
SetEnv NAGIOS_CGI_CONFIG ${cfg.cgiConfigFile}
@@ -68,9 +66,7 @@ let
Options None
- AllowOverride None
- Order allow,deny
- Allow from all
+ Require all granted
'';
@@ -149,9 +145,11 @@ in
description = "Nagios user ";
uid = config.ids.uids.nagios;
home = nagiosState;
- createHome = true;
+ group = "nagios";
};
+ users.groups.nagios = { };
+
# This isn't needed, it's just so that the user can type "nagiostats
# -c /etc/nagios.cfg".
environment.etc = [
@@ -169,16 +167,13 @@ in
serviceConfig = {
User = "nagios";
+ Group = "nagios";
Restart = "always";
RestartSec = 2;
- PermissionsStartOnly = true;
+ LogsDirectory = "nagios";
+ StateDirectory = "nagios";
};
- preStart = ''
- mkdir -m 0755 -p ${nagiosState} ${nagiosLogDir}
- chown nagios ${nagiosState} ${nagiosLogDir}
- '';
-
script = ''
for i in ${toString cfg.plugins}; do
export PATH=$i/bin:$i/sbin:$i/libexec:$PATH
diff --git a/nixos/modules/services/monitoring/netdata.nix b/nixos/modules/services/monitoring/netdata.nix
index a49555cf677..463b1b882ac 100644
--- a/nixos/modules/services/monitoring/netdata.nix
+++ b/nixos/modules/services/monitoring/netdata.nix
@@ -8,6 +8,7 @@ let
wrappedPlugins = pkgs.runCommand "wrapped-plugins" { preferLocalBuild = true; } ''
mkdir -p $out/libexec/netdata/plugins.d
ln -s /run/wrappers/bin/apps.plugin $out/libexec/netdata/plugins.d/apps.plugin
+ ln -s /run/wrappers/bin/freeipmi.plugin $out/libexec/netdata/plugins.d/freeipmi.plugin
'';
plugins = [
@@ -140,15 +141,23 @@ in {
path = (with pkgs; [ gawk curl ]) ++ lib.optional cfg.python.enable
(pkgs.python3.withPackages cfg.python.extraPackages);
serviceConfig = {
+ Environment="PYTHONPATH=${pkgs.netdata}/libexec/netdata/python.d/python_modules";
+ ExecStart = "${pkgs.netdata}/bin/netdata -P /run/netdata/netdata.pid -D -c ${configFile}";
+ ExecReload = "${pkgs.utillinux}/bin/kill -s HUP -s USR1 -s USR2 $MAINPID";
+ TimeoutStopSec = 60;
+ # User and group
User = cfg.user;
Group = cfg.group;
- Environment="PYTHONPATH=${pkgs.netdata}/libexec/netdata/python.d/python_modules";
- PermissionsStartOnly = true;
- ExecStart = "${pkgs.netdata}/bin/netdata -D -c ${configFile}";
- TimeoutStopSec = 60;
+ # Runtime directory and mode
+ RuntimeDirectory = "netdata";
+ RuntimeDirectoryMode = "0755";
+ # Performance
+ LimitNOFILE = "30000";
};
};
+ systemd.enableCgroupAccounting = true;
+
security.wrappers."apps.plugin" = {
source = "${pkgs.netdata}/libexec/netdata/plugins.d/apps.plugin.org";
capabilities = "cap_dac_read_search,cap_sys_ptrace+ep";
@@ -157,6 +166,18 @@ in {
permissions = "u+rx,g+rx,o-rwx";
};
+ security.wrappers."freeipmi.plugin" = {
+ source = "${pkgs.netdata}/libexec/netdata/plugins.d/freeipmi.plugin.org";
+ capabilities = "cap_dac_override,cap_fowner+ep";
+ owner = cfg.user;
+ group = cfg.group;
+ permissions = "u+rx,g+rx,o-rwx";
+ };
+
+ security.pam.loginLimits = [
+ { domain = "netdata"; type = "soft"; item = "nofile"; value = "10000"; }
+ { domain = "netdata"; type = "hard"; item = "nofile"; value = "30000"; }
+ ];
users.users = optional (cfg.user == defaultUser) {
name = defaultUser;
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix
index d8384e0d35b..191c0bff9c8 100644
--- a/nixos/modules/services/monitoring/prometheus/default.nix
+++ b/nixos/modules/services/monitoring/prometheus/default.nix
@@ -4,37 +4,14 @@ with lib;
let
cfg = config.services.prometheus;
- cfg2 = config.services.prometheus2;
- promUser = "prometheus";
- promGroup = "prometheus";
- stateDir =
- if cfg.stateDir != null
- then cfg.stateDir
- else
- if cfg.dataDir != null
- then
- # This assumes /var/lib/ is a prefix of cfg.dataDir.
- # This is checked as an assertion below.
- removePrefix stateDirBase cfg.dataDir
- else "prometheus";
- stateDirBase = "/var/lib/";
- workingDir = stateDirBase + stateDir;
- workingDir2 = stateDirBase + cfg2.stateDir;
+ workingDir = "/var/lib/" + cfg.stateDir;
# a wrapper that verifies that the configuration is valid
- promtoolCheck = what: name: file: pkgs.runCommand "${name}-${what}-checked"
- { buildInputs = [ cfg.package ]; } ''
- ln -s ${file} $out
- promtool ${what} $out
- '';
-
- # a wrapper that verifies that the configuration is valid for
- # prometheus 2
- prom2toolCheck = what: name: file:
+ promtoolCheck = what: name: file:
pkgs.runCommand
"${name}-${replaceStrings [" "] [""] what}-checked"
- { buildInputs = [ cfg2.package ]; } ''
+ { buildInputs = [ cfg.package ]; } ''
ln -s ${file} $out
promtool ${what} $out
'';
@@ -45,65 +22,34 @@ let
echo '${builtins.toJSON x}' | ${pkgs.jq}/bin/jq . > $out
'';
- # This becomes the main config file for Prometheus 1
+ generatedPrometheusYml = writePrettyJSON "prometheus.yml" promConfig;
+
+ # This becomes the main config file for Prometheus
promConfig = {
global = filterValidPrometheus cfg.globalConfig;
- rule_files = map (promtoolCheck "check-rules" "rules") (cfg.ruleFiles ++ [
+ rule_files = map (promtoolCheck "check rules" "rules") (cfg.ruleFiles ++ [
(pkgs.writeText "prometheus.rules" (concatStringsSep "\n" cfg.rules))
]);
scrape_configs = filterValidPrometheus cfg.scrapeConfigs;
+ alerting = {
+ inherit (cfg) alertmanagers;
+ };
};
- generatedPrometheusYml = writePrettyJSON "prometheus.yml" promConfig;
-
prometheusYml = let
yml = if cfg.configText != null then
pkgs.writeText "prometheus.yml" cfg.configText
else generatedPrometheusYml;
- in promtoolCheck "check-config" "prometheus.yml" yml;
+ in promtoolCheck "check config" "prometheus.yml" yml;
cmdlineArgs = cfg.extraFlags ++ [
- "-storage.local.path=${workingDir}/metrics"
- "-config.file=${prometheusYml}"
- "-web.listen-address=${cfg.listenAddress}"
- "-alertmanager.notification-queue-capacity=${toString cfg.alertmanagerNotificationQueueCapacity}"
- "-alertmanager.timeout=${toString cfg.alertmanagerTimeout}s"
+ "--storage.tsdb.path=${workingDir}/data/"
+ "--config.file=${prometheusYml}"
+ "--web.listen-address=${cfg.listenAddress}"
+ "--alertmanager.notification-queue-capacity=${toString cfg.alertmanagerNotificationQueueCapacity}"
+ "--alertmanager.timeout=${toString cfg.alertmanagerTimeout}s"
] ++
- optional (cfg.alertmanagerURL != []) "-alertmanager.url=${concatStringsSep "," cfg.alertmanagerURL}" ++
- optional (cfg.webExternalUrl != null) "-web.external-url=${cfg.webExternalUrl}";
-
- # This becomes the main config file for Prometheus 2
- promConfig2 = {
- global = filterValidPrometheus cfg2.globalConfig;
- rule_files = map (prom2toolCheck "check rules" "rules") (cfg2.ruleFiles ++ [
- (pkgs.writeText "prometheus.rules" (concatStringsSep "\n" cfg2.rules))
- ]);
- scrape_configs = filterValidPrometheus cfg2.scrapeConfigs;
- alerting = optionalAttrs (cfg2.alertmanagerURL != []) {
- alertmanagers = [{
- static_configs = [{
- targets = cfg2.alertmanagerURL;
- }];
- }];
- };
- };
-
- generatedPrometheus2Yml = writePrettyJSON "prometheus.yml" promConfig2;
-
- prometheus2Yml = let
- yml = if cfg2.configText != null then
- pkgs.writeText "prometheus.yml" cfg2.configText
- else generatedPrometheus2Yml;
- in prom2toolCheck "check config" "prometheus.yml" yml;
-
- cmdlineArgs2 = cfg2.extraFlags ++ [
- "--storage.tsdb.path=${workingDir2}/data/"
- "--config.file=${prometheus2Yml}"
- "--web.listen-address=${cfg2.listenAddress}"
- "--alertmanager.notification-queue-capacity=${toString cfg2.alertmanagerNotificationQueueCapacity}"
- "--alertmanager.timeout=${toString cfg2.alertmanagerTimeout}s"
- ] ++
- optional (cfg2.webExternalUrl != null) "--web.external-url=${cfg2.webExternalUrl}";
+ optional (cfg.webExternalUrl != null) "--web.external-url=${cfg.webExternalUrl}";
filterValidPrometheus = filterAttrsListRecursive (n: v: !(n == "_module" || v == null));
filterAttrsListRecursive = pred: x:
@@ -518,331 +464,159 @@ let
};
in {
- options = {
- services.prometheus = {
+ options.services.prometheus = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Enable the Prometheus monitoring daemon.
- '';
- };
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Enable the Prometheus monitoring daemon.
+ '';
+ };
- package = mkOption {
- type = types.package;
- default = pkgs.prometheus;
- defaultText = "pkgs.prometheus";
- description = ''
- The prometheus package that should be used.
- '';
- };
+ package = mkOption {
+ type = types.package;
+ default = pkgs.prometheus;
+ defaultText = "pkgs.prometheus";
+ description = ''
+ The prometheus package that should be used.
+ '';
+ };
- listenAddress = mkOption {
- type = types.str;
- default = "0.0.0.0:9090";
- description = ''
- Address to listen on for the web interface, API, and telemetry.
- '';
- };
+ listenAddress = mkOption {
+ type = types.str;
+ default = "0.0.0.0:9090";
+ description = ''
+ Address to listen on for the web interface, API, and telemetry.
+ '';
+ };
- dataDir = mkOption {
- type = types.nullOr types.path;
- default = null;
- description = ''
- Directory to store Prometheus metrics data.
- This option is deprecated, please use .
- '';
- };
+ stateDir = mkOption {
+ type = types.str;
+ default = "prometheus2";
+ description = ''
+ Directory below /var/lib to store Prometheus metrics data.
+ This directory will be created automatically using systemd's StateDirectory mechanism.
+ '';
+ };
- stateDir = mkOption {
- type = types.nullOr types.str;
- default = null;
- description = ''
- Directory below ${stateDirBase} to store Prometheus metrics data.
- This directory will be created automatically using systemd's StateDirectory mechanism.
- Defaults to prometheus.
- '';
- };
+ extraFlags = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ Extra commandline options when launching Prometheus.
+ '';
+ };
- extraFlags = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- Extra commandline options when launching Prometheus.
- '';
- };
+ configText = mkOption {
+ type = types.nullOr types.lines;
+ default = null;
+ description = ''
+ If non-null, this option defines the text that is written to
+ prometheus.yml. If null, the contents of prometheus.yml is generated
+ from the structured config options.
+ '';
+ };
- configText = mkOption {
- type = types.nullOr types.lines;
- default = null;
- description = ''
- If non-null, this option defines the text that is written to
- prometheus.yml. If null, the contents of prometheus.yml is generated
- from the structured config options.
- '';
- };
+ globalConfig = mkOption {
+ type = promTypes.globalConfig;
+ default = {};
+ description = ''
+ Parameters that are valid in all configuration contexts. They
+ also serve as defaults for other configuration sections
+ '';
+ };
- globalConfig = mkOption {
- type = promTypes.globalConfig;
- default = {};
- description = ''
- Parameters that are valid in all configuration contexts. They
- also serve as defaults for other configuration sections
- '';
- };
+ rules = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ Alerting and/or Recording rules to evaluate at runtime.
+ '';
+ };
- rules = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- Alerting and/or Recording rules to evaluate at runtime.
- '';
- };
+ ruleFiles = mkOption {
+ type = types.listOf types.path;
+ default = [];
+ description = ''
+ Any additional rules files to include in this configuration.
+ '';
+ };
- ruleFiles = mkOption {
- type = types.listOf types.path;
- default = [];
- description = ''
- Any additional rules files to include in this configuration.
- '';
- };
+ scrapeConfigs = mkOption {
+ type = types.listOf promTypes.scrape_config;
+ default = [];
+ description = ''
+ A list of scrape configurations.
+ '';
+ };
- scrapeConfigs = mkOption {
- type = types.listOf promTypes.scrape_config;
- default = [];
- description = ''
- A list of scrape configurations.
- '';
- };
+ alertmanagers = mkOption {
+ type = types.listOf types.attrs;
+ example = literalExample ''
+ [ {
+ scheme = "https";
+ path_prefix = "/alertmanager";
+ static_configs = [ {
+ targets = [
+ "prometheus.domain.tld"
+ ];
+ } ];
+ } ]
+ '';
+ default = [];
+ description = ''
+ A list of alertmanagers to send alerts to.
+ See the official documentation for more information.
+ '';
+ };
- alertmanagerURL = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- List of Alertmanager URLs to send notifications to.
- '';
- };
+ alertmanagerNotificationQueueCapacity = mkOption {
+ type = types.int;
+ default = 10000;
+ description = ''
+ The capacity of the queue for pending alert manager notifications.
+ '';
+ };
- alertmanagerNotificationQueueCapacity = mkOption {
- type = types.int;
- default = 10000;
- description = ''
- The capacity of the queue for pending alert manager notifications.
- '';
- };
+ alertmanagerTimeout = mkOption {
+ type = types.int;
+ default = 10;
+ description = ''
+ Alert manager HTTP API timeout (in seconds).
+ '';
+ };
- alertmanagerTimeout = mkOption {
- type = types.int;
- default = 10;
- description = ''
- Alert manager HTTP API timeout (in seconds).
- '';
- };
+ webExternalUrl = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "https://example.com/";
+ description = ''
+ The URL under which Prometheus is externally reachable (for example,
+ if Prometheus is served via a reverse proxy).
+ '';
+ };
+ };
- webExternalUrl = mkOption {
- type = types.nullOr types.str;
- default = null;
- example = "https://example.com/";
- description = ''
- The URL under which Prometheus is externally reachable (for example,
- if Prometheus is served via a reverse proxy).
- '';
+ config = mkIf cfg.enable {
+ users.groups.prometheus.gid = config.ids.gids.prometheus;
+ users.users.prometheus = {
+ description = "Prometheus daemon user";
+ uid = config.ids.uids.prometheus;
+ group = "prometheus";
+ };
+ systemd.services.prometheus = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ ExecStart = "${cfg.package}/bin/prometheus" +
+ optionalString (length cmdlineArgs != 0) (" \\\n " +
+ concatStringsSep " \\\n " cmdlineArgs);
+ User = "prometheus";
+ Restart = "always";
+ WorkingDirectory = workingDir;
+ StateDirectory = cfg.stateDir;
};
};
- services.prometheus2 = {
-
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Enable the Prometheus 2 monitoring daemon.
- '';
- };
-
- package = mkOption {
- type = types.package;
- default = pkgs.prometheus_2;
- defaultText = "pkgs.prometheus_2";
- description = ''
- The prometheus2 package that should be used.
- '';
- };
-
- listenAddress = mkOption {
- type = types.str;
- default = "0.0.0.0:9090";
- description = ''
- Address to listen on for the web interface, API, and telemetry.
- '';
- };
-
- stateDir = mkOption {
- type = types.str;
- default = "prometheus2";
- description = ''
- Directory below ${stateDirBase} to store Prometheus metrics data.
- This directory will be created automatically using systemd's StateDirectory mechanism.
- Defaults to prometheus2.
- '';
- };
-
- extraFlags = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- Extra commandline options when launching Prometheus 2.
- '';
- };
-
- configText = mkOption {
- type = types.nullOr types.lines;
- default = null;
- description = ''
- If non-null, this option defines the text that is written to
- prometheus.yml. If null, the contents of prometheus.yml is generated
- from the structured config options.
- '';
- };
-
- globalConfig = mkOption {
- type = promTypes.globalConfig;
- default = {};
- description = ''
- Parameters that are valid in all configuration contexts. They
- also serve as defaults for other configuration sections
- '';
- };
-
- rules = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- Alerting and/or Recording rules to evaluate at runtime.
- '';
- };
-
- ruleFiles = mkOption {
- type = types.listOf types.path;
- default = [];
- description = ''
- Any additional rules files to include in this configuration.
- '';
- };
-
- scrapeConfigs = mkOption {
- type = types.listOf promTypes.scrape_config;
- default = [];
- description = ''
- A list of scrape configurations.
- '';
- };
-
- alertmanagerURL = mkOption {
- type = types.listOf types.str;
- default = [];
- description = ''
- List of Alertmanager URLs to send notifications to.
- '';
- };
-
- alertmanagerNotificationQueueCapacity = mkOption {
- type = types.int;
- default = 10000;
- description = ''
- The capacity of the queue for pending alert manager notifications.
- '';
- };
-
- alertmanagerTimeout = mkOption {
- type = types.int;
- default = 10;
- description = ''
- Alert manager HTTP API timeout (in seconds).
- '';
- };
-
- webExternalUrl = mkOption {
- type = types.nullOr types.str;
- default = null;
- example = "https://example.com/";
- description = ''
- The URL under which Prometheus is externally reachable (for example,
- if Prometheus is served via a reverse proxy).
- '';
- };
- };
- };
-
- config = mkMerge [
- (mkIf (cfg.enable || cfg2.enable) {
- users.groups.${promGroup}.gid = config.ids.gids.prometheus;
- users.users.${promUser} = {
- description = "Prometheus daemon user";
- uid = config.ids.uids.prometheus;
- group = promGroup;
- };
- })
- (mkIf cfg.enable {
- warnings =
- optional (cfg.dataDir != null) ''
- The option services.prometheus.dataDir is deprecated, please use
- services.prometheus.stateDir.
- '';
- assertions = [
- {
- assertion = !(cfg.dataDir != null && cfg.stateDir != null);
- message =
- "The options services.prometheus.dataDir and services.prometheus.stateDir" +
- " can't both be set at the same time! It's recommended to only set the latter" +
- " since the former is deprecated.";
- }
- {
- assertion = cfg.dataDir != null -> hasPrefix stateDirBase cfg.dataDir;
- message =
- "The option services.prometheus.dataDir should have ${stateDirBase} as a prefix!";
- }
- {
- assertion = cfg.stateDir != null -> !hasPrefix "/" cfg.stateDir;
- message =
- "The option services.prometheus.stateDir shouldn't be an absolute directory." +
- " It should be a directory relative to ${stateDirBase}.";
- }
- {
- assertion = cfg2.stateDir != null -> !hasPrefix "/" cfg2.stateDir;
- message =
- "The option services.prometheus2.stateDir shouldn't be an absolute directory." +
- " It should be a directory relative to ${stateDirBase}.";
- }
- ];
- systemd.services.prometheus = {
- wantedBy = [ "multi-user.target" ];
- after = [ "network.target" ];
- serviceConfig = {
- ExecStart = "${cfg.package}/bin/prometheus" +
- optionalString (length cmdlineArgs != 0) (" \\\n " +
- concatStringsSep " \\\n " cmdlineArgs);
- User = promUser;
- Restart = "always";
- WorkingDirectory = workingDir;
- StateDirectory = stateDir;
- };
- };
- })
- (mkIf cfg2.enable {
- systemd.services.prometheus2 = {
- wantedBy = [ "multi-user.target" ];
- after = [ "network.target" ];
- serviceConfig = {
- ExecStart = "${cfg2.package}/bin/prometheus" +
- optionalString (length cmdlineArgs2 != 0) (" \\\n " +
- concatStringsSep " \\\n " cmdlineArgs2);
- User = promUser;
- Restart = "always";
- WorkingDirectory = workingDir2;
- StateDirectory = cfg2.stateDir;
- };
- };
- })
- ];
+ };
}
diff --git a/nixos/modules/services/monitoring/prometheus/exporters.nix b/nixos/modules/services/monitoring/prometheus/exporters.nix
index fa53107ef24..84486aa98a4 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters.nix
@@ -1,8 +1,10 @@
-{ config, pkgs, lib, ... }:
-
-with lib;
+{ config, pkgs, lib, options, ... }:
let
+ inherit (lib) concatStrings foldl foldl' genAttrs literalExample maintainers
+ mapAttrsToList mkDefault mkEnableOption mkIf mkMerge mkOption
+ optional types;
+
cfg = config.services.prometheus.exporters;
# each attribute in `exporterOpts` is expected to have specified:
@@ -17,24 +19,31 @@ let
# Note that `extraOpts` is optional, but a script for the exporter's
# systemd service must be provided by specifying either
# `serviceOpts.script` or `serviceOpts.serviceConfig.ExecStart`
- exporterOpts = {
- blackbox = import ./exporters/blackbox.nix { inherit config lib pkgs; };
- collectd = import ./exporters/collectd.nix { inherit config lib pkgs; };
- dnsmasq = import ./exporters/dnsmasq.nix { inherit config lib pkgs; };
- dovecot = import ./exporters/dovecot.nix { inherit config lib pkgs; };
- fritzbox = import ./exporters/fritzbox.nix { inherit config lib pkgs; };
- json = import ./exporters/json.nix { inherit config lib pkgs; };
- minio = import ./exporters/minio.nix { inherit config lib pkgs; };
- nginx = import ./exporters/nginx.nix { inherit config lib pkgs; };
- node = import ./exporters/node.nix { inherit config lib pkgs; };
- postfix = import ./exporters/postfix.nix { inherit config lib pkgs; };
- snmp = import ./exporters/snmp.nix { inherit config lib pkgs; };
- surfboard = import ./exporters/surfboard.nix { inherit config lib pkgs; };
- tor = import ./exporters/tor.nix { inherit config lib pkgs; };
- unifi = import ./exporters/unifi.nix { inherit config lib pkgs; };
- varnish = import ./exporters/varnish.nix { inherit config lib pkgs; };
- bind = import ./exporters/bind.nix { inherit config lib pkgs; };
- };
+
+ exporterOpts = genAttrs [
+ "bind"
+ "blackbox"
+ "collectd"
+ "dnsmasq"
+ "dovecot"
+ "fritzbox"
+ "json"
+ "mail"
+ "minio"
+ "nginx"
+ "node"
+ "postfix"
+ "postgres"
+ "rspamd"
+ "snmp"
+ "surfboard"
+ "tor"
+ "unifi"
+ "varnish"
+ "wireguard"
+ ] (name:
+ import (./. + "/exporters/${name}.nix") { inherit config lib pkgs options; }
+ );
mkExporterOpts = ({ name, port }: {
enable = mkEnableOption "the prometheus ${name} exporter";
@@ -80,7 +89,7 @@ let
};
user = mkOption {
type = types.str;
- default = "nobody";
+ default = "${name}-exporter";
description = ''
User name under which the ${name} exporter shall be run.
Has no effect when is true.
@@ -88,7 +97,7 @@ let
};
group = mkOption {
type = types.str;
- default = "nobody";
+ default = "${name}-exporter";
description = ''
Group under which the ${name} exporter shall be run.
Has no effect when is true.
@@ -96,9 +105,10 @@ let
};
});
- mkSubModule = { name, port, extraOpts, ... }: {
+ mkSubModule = { name, port, extraOpts, imports }: {
${name} = mkOption {
type = types.submodule {
+ inherit imports;
options = (mkExporterOpts {
inherit name port;
} // extraOpts);
@@ -111,13 +121,26 @@ let
mkSubModules = (foldl' (a: b: a//b) {}
(mapAttrsToList (name: opts: mkSubModule {
inherit name;
- inherit (opts) port serviceOpts;
+ inherit (opts) port;
extraOpts = opts.extraOpts or {};
+ imports = opts.imports or [];
}) exporterOpts)
);
mkExporterConf = { name, conf, serviceOpts }:
+ let
+ enableDynamicUser = serviceOpts.serviceConfig.DynamicUser or true;
+ in
mkIf conf.enable {
+ warnings = conf.warnings or [];
+ users.users."${name}-exporter" = (mkIf (conf.user == "${name}-exporter" && !enableDynamicUser) {
+ description = "Prometheus ${name} exporter service user";
+ isSystemUser = true;
+ inherit (conf) group;
+ });
+ users.groups = (mkIf (conf.group == "${name}-exporter" && !enableDynamicUser) {
+ "${name}-exporter" = {};
+ });
networking.firewall.extraCommands = mkIf conf.openFirewall (concatStrings [
"ip46tables -A nixos-fw ${conf.firewallFilter} "
"-m comment --comment ${name}-exporter -j nixos-fw-accept"
@@ -128,7 +151,8 @@ let
serviceConfig.Restart = mkDefault "always";
serviceConfig.PrivateTmp = mkDefault true;
serviceConfig.WorkingDirectory = mkDefault /tmp;
- } serviceOpts ] ++ optional (!(serviceOpts.serviceConfig.DynamicUser or false)) {
+ serviceConfig.DynamicUser = mkDefault enableDynamicUser;
+ } serviceOpts ] ++ optional (!enableDynamicUser) {
serviceConfig.User = conf.user;
serviceConfig.Group = conf.group;
});
@@ -153,17 +177,25 @@ in
};
config = mkMerge ([{
- assertions = [{
+ assertions = [ {
assertion = (cfg.snmp.configurationPath == null) != (cfg.snmp.configuration == null);
message = ''
Please ensure you have either `services.prometheus.exporters.snmp.configuration'
or `services.prometheus.exporters.snmp.configurationPath' set!
'';
- }];
+ } {
+ assertion = (cfg.mail.configFile == null) != (cfg.mail.configuration == {});
+ message = ''
+ Please specify either 'services.prometheus.exporters.mail.configuration'
+ or 'services.prometheus.exporters.mail.configFile'.
+ '';
+ } ];
}] ++ [(mkIf config.services.minio.enable {
services.prometheus.exporters.minio.minioAddress = mkDefault "http://localhost:9000";
services.prometheus.exporters.minio.minioAccessKey = mkDefault config.services.minio.accessKey;
services.prometheus.exporters.minio.minioAccessSecret = mkDefault config.services.minio.secretKey;
+ })] ++ [(mkIf config.services.rspamd.enable {
+ services.prometheus.exporters.rspamd.url = mkDefault "http://localhost:11334/stat";
})] ++ (mapAttrsToList (name: conf:
mkExporterConf {
inherit name;
diff --git a/nixos/modules/services/monitoring/prometheus/exporters.xml b/nixos/modules/services/monitoring/prometheus/exporters.xml
index 7a0a1bdf2c1..c2d4b05996a 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters.xml
+++ b/nixos/modules/services/monitoring/prometheus/exporters.xml
@@ -17,7 +17,7 @@
exporter, it provides hardware and OS metrics from the host it's
running on. The exporter could be configured as follows:
- services.promtheus.exporters.node = {
+ services.prometheus.exporters.node = {
enable = true;
enabledCollectors = [
"logind"
@@ -112,65 +112,67 @@
directory, which will be called postfix.nix and contains all exporter
specific options and configuration:
- # nixpgs/nixos/modules/services/prometheus/exporters/postfix.nix
- { config, lib, pkgs }:
+# nixpgs/nixos/modules/services/prometheus/exporters/postfix.nix
+{ config, lib, pkgs, options }:
- with lib;
+with lib;
- let
- # for convenience we define cfg here
- cfg = config.services.prometheus.exporters.postfix;
- in
- {
- port = 9154; # The postfix exporter listens on this port by default
+let
+ # for convenience we define cfg here
+ cfg = config.services.prometheus.exporters.postfix;
+in
+{
+ port = 9154; # The postfix exporter listens on this port by default
- # `extraOpts` is an attribute set which contains additional options
- # (and optional overrides for default options).
- # Note that this attribute is optional.
- extraOpts = {
- telemetryPath = mkOption {
- type = types.str;
- default = "/metrics";
- description = ''
- Path under which to expose metrics.
- '';
- };
- logfilePath = mkOption {
- type = types.path;
- default = /var/log/postfix_exporter_input.log;
- example = /var/log/mail.log;
- description = ''
- Path where Postfix writes log entries.
- This file will be truncated by this exporter!
- '';
- };
- showqPath = mkOption {
- type = types.path;
- default = /var/spool/postfix/public/showq;
- example = /var/lib/postfix/queue/public/showq;
- description = ''
- Path at which Postfix places its showq socket.
- '';
- };
- };
+ # `extraOpts` is an attribute set which contains additional options
+ # (and optional overrides for default options).
+ # Note that this attribute is optional.
+ extraOpts = {
+ telemetryPath = mkOption {
+ type = types.str;
+ default = "/metrics";
+ description = ''
+ Path under which to expose metrics.
+ '';
+ };
+ logfilePath = mkOption {
+ type = types.path;
+ default = /var/log/postfix_exporter_input.log;
+ example = /var/log/mail.log;
+ description = ''
+ Path where Postfix writes log entries.
+ This file will be truncated by this exporter!
+ '';
+ };
+ showqPath = mkOption {
+ type = types.path;
+ default = /var/spool/postfix/public/showq;
+ example = /var/lib/postfix/queue/public/showq;
+ description = ''
+ Path at which Postfix places its showq socket.
+ '';
+ };
+ };
- # `serviceOpts` is an attribute set which contains configuration
- # for the exporter's systemd service. One of
- # `serviceOpts.script` and `serviceOpts.serviceConfig.ExecStart`
- # has to be specified here. This will be merged with the default
- # service confiuration.
- serviceOpts = {
- serviceConfig = {
- ExecStart = ''
- ${pkgs.prometheus-postfix-exporter}/bin/postfix_exporter \
- --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
- --web.telemetry-path ${cfg.telemetryPath} \
- ${concatStringsSep " \\\n " cfg.extraFlags}
- '';
- };
- };
- }
-
+ # `serviceOpts` is an attribute set which contains configuration
+ # for the exporter's systemd service. One of
+ # `serviceOpts.script` and `serviceOpts.serviceConfig.ExecStart`
+ # has to be specified here. This will be merged with the default
+ # service confiuration.
+ # Note that by default 'DynamicUser' is 'true'.
+ serviceOpts = {
+ serviceConfig = {
+ DynamicUser = false;
+ ExecStart = ''
+ ${pkgs.prometheus-postfix-exporter}/bin/postfix_exporter \
+ --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
+ --web.telemetry-path ${cfg.telemetryPath} \
+ ${concatStringsSep " \\\n " cfg.extraFlags}
+ '';
+ };
+ };
+}
+
@@ -184,4 +186,42 @@
+
+ Updating an exporter module
+
+ Should an exporter option change at some point, it is possible to add
+ information about the change to the exporter definition similar to
+ nixpkgs/nixos/modules/rename.nix:
+
+{ config, lib, pkgs, options }:
+
+with lib;
+
+let
+ cfg = config.services.prometheus.exporters.nginx;
+in
+{
+ port = 9113;
+ extraOpts = {
+ # additional module options
+ # ...
+ };
+ serviceOpts = {
+ # service configuration
+ # ...
+ };
+ imports = [
+ # 'services.prometheus.exporters.nginx.telemetryEndpoint' -> 'services.prometheus.exporters.nginx.telemetryPath'
+ (mkRenamedOptionModule [ "telemetryEndpoint" ] [ "telemetryPath" ])
+
+ # removed option 'services.prometheus.exporters.nginx.insecure'
+ (mkRemovedOptionModule [ "insecure" ] ''
+ This option was replaced by 'prometheus.exporters.nginx.sslVerify' which defaults to true.
+ '')
+ ({ options.warnings = options.warnings; })
+ ];
+}
+
+
+
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/bind.nix b/nixos/modules/services/monitoring/prometheus/exporters/bind.nix
index a9746c4d65d..972632b5a24 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/bind.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/bind.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -39,7 +39,6 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-bind-exporter}/bin/bind_exporter \
-web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix b/nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix
index d09d1c4f366..ca4366121e1 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/blackbox.nix
@@ -1,9 +1,16 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
let
cfg = config.services.prometheus.exporters.blackbox;
+
+ checkConfig = file: pkgs.runCommand "checked-blackbox-exporter.conf" {
+ preferLocalBuild = true;
+ buildInputs = [ pkgs.buildPackages.prometheus-blackbox-exporter ]; } ''
+ ln -s ${file} $out
+ blackbox_exporter --config.check --config.file $out
+ '';
in
{
port = 9115;
@@ -18,11 +25,10 @@ in
serviceOpts = {
serviceConfig = {
AmbientCapabilities = [ "CAP_NET_RAW" ]; # for ping probes
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-blackbox-exporter}/bin/blackbox_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
- --config.file ${cfg.configFile} \
+ --config.file ${checkConfig cfg.configFile} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix b/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix
index 0eba3527162..1cc34641809 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/collectd.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -64,7 +64,6 @@ in
'' else "";
in {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-collectd-exporter}/bin/collectd_exporter \
-log.format ${cfg.logFormat} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/dnsmasq.nix b/nixos/modules/services/monitoring/prometheus/exporters/dnsmasq.nix
index b1fab85109a..e9fa26cb1f5 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/dnsmasq.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/dnsmasq.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -26,7 +26,6 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-dnsmasq-exporter}/bin/dnsmasq_exporter \
--listen ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix b/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix
index c47e87a3dc3..a01074758ff 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/dovecot.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -39,8 +39,8 @@ in
mail_plugins = $mail_plugins old_stats
service old-stats {
unix_listener old-stats {
- user = nobody
- group = nobody
+ user = dovecot-exporter
+ group = dovecot-exporter
}
}
''';
@@ -59,6 +59,7 @@ in
};
serviceOpts = {
serviceConfig = {
+ DynamicUser = false;
ExecStart = ''
${pkgs.prometheus-dovecot-exporter}/bin/dovecot_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/fritzbox.nix b/nixos/modules/services/monitoring/prometheus/exporters/fritzbox.nix
index a3f1d9d3132..9526597b8c9 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/fritzbox.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/fritzbox.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -26,9 +26,8 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
- ${pkgs.prometheus-fritzbox-exporter}/bin/fritzbox_exporter \
+ ${pkgs.prometheus-fritzbox-exporter}/bin/exporter \
-listen-address ${cfg.listenAddress}:${toString cfg.port} \
-gateway-address ${cfg.gatewayAddress} \
-gateway-port ${toString cfg.gatewayPort} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/json.nix b/nixos/modules/services/monitoring/prometheus/exporters/json.nix
index a5494e85e01..82a55bafc98 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/json.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/json.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -24,7 +24,6 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-json-exporter}/bin/prometheus-json-exporter \
--port ${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/mail.nix b/nixos/modules/services/monitoring/prometheus/exporters/mail.nix
new file mode 100644
index 00000000000..7d8c6fb6140
--- /dev/null
+++ b/nixos/modules/services/monitoring/prometheus/exporters/mail.nix
@@ -0,0 +1,157 @@
+{ config, lib, pkgs, options }:
+
+with lib;
+
+let
+ cfg = config.services.prometheus.exporters.mail;
+
+ configurationFile = pkgs.writeText "prometheus-mail-exporter.conf" (builtins.toJSON (
+ # removes the _module attribute, null values and converts attrNames to lowercase
+ mapAttrs' (name: value:
+ if name == "servers"
+ then nameValuePair (toLower name)
+ ((map (srv: (mapAttrs' (n: v: nameValuePair (toLower n) v)
+ (filterAttrs (n: v: !(n == "_module" || v == null)) srv)
+ ))) value)
+ else nameValuePair (toLower name) value
+ ) (filterAttrs (n: _: !(n == "_module")) cfg.configuration)
+ ));
+
+ serverOptions.options = {
+ name = mkOption {
+ type = types.str;
+ description = ''
+ Value for label 'configname' which will be added to all metrics.
+ '';
+ };
+ server = mkOption {
+ type = types.str;
+ description = ''
+ Hostname of the server that should be probed.
+ '';
+ };
+ port = mkOption {
+ type = types.int;
+ example = 587;
+ description = ''
+ Port to use for SMTP.
+ '';
+ };
+ from = mkOption {
+ type = types.str;
+ example = "exporteruser@domain.tld";
+ description = ''
+ Content of 'From' Header for probing mails.
+ '';
+ };
+ to = mkOption {
+ type = types.str;
+ example = "exporteruser@domain.tld";
+ description = ''
+ Content of 'To' Header for probing mails.
+ '';
+ };
+ detectionDir = mkOption {
+ type = types.path;
+ example = "/var/spool/mail/exporteruser/new";
+ description = ''
+ Directory in which new mails for the exporter user are placed.
+ Note that this needs to exist when the exporter starts.
+ '';
+ };
+ login = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "exporteruser@domain.tld";
+ description = ''
+ Username to use for SMTP authentication.
+ '';
+ };
+ passphrase = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ Password to use for SMTP authentication.
+ '';
+ };
+ };
+
+ exporterOptions.options = {
+ monitoringInterval = mkOption {
+ type = types.str;
+ example = "10s";
+ description = ''
+ Time interval between two probe attempts.
+ '';
+ };
+ mailCheckTimeout = mkOption {
+ type = types.str;
+ description = ''
+ Timeout until mails are considered "didn't make it".
+ '';
+ };
+ disableFileDelition = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Disables the exporter's function to delete probing mails.
+ '';
+ };
+ servers = mkOption {
+ type = types.listOf (types.submodule serverOptions);
+ default = [];
+ example = literalExample ''
+ [ {
+ name = "testserver";
+ server = "smtp.domain.tld";
+ port = 587;
+ from = "exporteruser@domain.tld";
+ to = "exporteruser@domain.tld";
+ detectionDir = "/path/to/Maildir/new";
+ } ]
+ '';
+ description = ''
+ List of servers that should be probed.
+ '';
+ };
+ };
+in
+{
+ port = 9225;
+ extraOpts = {
+ configFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ Specify the mailexporter configuration file to use.
+ '';
+ };
+ configuration = mkOption {
+ type = types.submodule exporterOptions;
+ default = {};
+ description = ''
+ Specify the mailexporter configuration file to use.
+ '';
+ };
+ telemetryPath = mkOption {
+ type = types.str;
+ default = "/metrics";
+ description = ''
+ Path under which to expose metrics.
+ '';
+ };
+ };
+ serviceOpts = {
+ serviceConfig = {
+ DynamicUser = false;
+ ExecStart = ''
+ ${pkgs.prometheus-mail-exporter}/bin/mailexporter \
+ --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
+ --config.file ${
+ if cfg.configuration != {} then configurationFile else cfg.configFile
+ } \
+ ${concatStringsSep " \\\n " cfg.extraFlags}
+ '';
+ };
+ };
+}
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/minio.nix b/nixos/modules/services/monitoring/prometheus/exporters/minio.nix
index 3cc4ffdbc8f..ab3e3d7d5d5 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/minio.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/minio.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -50,7 +50,6 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-minio-exporter}/bin/minio-exporter \
-web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix b/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix
index 431dd8b4ead..554377df37b 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/nginx.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -16,32 +16,39 @@ in
Can be enabled with services.nginx.statusPage = true.
'';
};
- telemetryEndpoint = mkOption {
+ telemetryPath = mkOption {
type = types.str;
default = "/metrics";
description = ''
Path under which to expose metrics.
'';
};
- insecure = mkOption {
+ sslVerify = mkOption {
type = types.bool;
default = true;
description = ''
- Ignore server certificate if using https.
+ Whether to perform certificate verification for https.
'';
};
+
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
- ${pkgs.prometheus-nginx-exporter}/bin/nginx_exporter \
- --nginx.scrape_uri '${cfg.scrapeUri}' \
- --telemetry.address ${cfg.listenAddress}:${toString cfg.port} \
- --telemetry.endpoint ${cfg.telemetryEndpoint} \
- --insecure ${toString cfg.insecure} \
+ ${pkgs.prometheus-nginx-exporter}/bin/nginx-prometheus-exporter \
+ --nginx.scrape-uri '${cfg.scrapeUri}' \
+ --nginx.ssl-verify ${toString cfg.sslVerify} \
+ --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
+ --web.telemetry-path ${cfg.telemetryPath} \
${concatStringsSep " \\\n " cfg.extraFlags}
'';
};
};
+ imports = [
+ (mkRenamedOptionModule [ "telemetryEndpoint" ] [ "telemetryPath" ])
+ (mkRemovedOptionModule [ "insecure" ] ''
+ This option was replaced by 'prometheus.exporters.nginx.sslVerify'.
+ '')
+ ({ options.warnings = options.warnings; })
+ ];
}
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/node.nix b/nixos/modules/services/monitoring/prometheus/exporters/node.nix
index ee7bf39f199..adc2abe0b91 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/node.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/node.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -9,7 +9,7 @@ in
port = 9100;
extraOpts = {
enabledCollectors = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
example = ''[ "systemd" ]'';
description = ''
@@ -27,13 +27,13 @@ in
};
serviceOpts = {
serviceConfig = {
+ DynamicUser = false;
RuntimeDirectory = "prometheus-node-exporter";
ExecStart = ''
${pkgs.prometheus-node-exporter}/bin/node_exporter \
${concatMapStringsSep " " (x: "--collector." + x) cfg.enabledCollectors} \
${concatMapStringsSep " " (x: "--no-collector." + x) cfg.disabledCollectors} \
- --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
- ${concatStringsSep " \\\n " cfg.extraFlags}
+ --web.listen-address ${cfg.listenAddress}:${toString cfg.port} ${concatStringsSep " " cfg.extraFlags}
'';
};
};
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/postfix.nix b/nixos/modules/services/monitoring/prometheus/exporters/postfix.nix
index efe78ebcba8..f40819e826b 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/postfix.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/postfix.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -62,6 +62,7 @@ in
};
serviceOpts = {
serviceConfig = {
+ DynamicUser = false;
ExecStart = ''
${pkgs.prometheus-postfix-exporter}/bin/postfix_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/postgres.nix b/nixos/modules/services/monitoring/prometheus/exporters/postgres.nix
new file mode 100644
index 00000000000..1ece73a1159
--- /dev/null
+++ b/nixos/modules/services/monitoring/prometheus/exporters/postgres.nix
@@ -0,0 +1,47 @@
+{ config, lib, pkgs, options }:
+
+with lib;
+
+let
+ cfg = config.services.prometheus.exporters.postgres;
+in
+{
+ port = 9187;
+ extraOpts = {
+ telemetryPath = mkOption {
+ type = types.str;
+ default = "/metrics";
+ description = ''
+ Path under which to expose metrics.
+ '';
+ };
+ dataSourceName = mkOption {
+ type = types.str;
+ default = "user=postgres database=postgres host=/run/postgresql sslmode=disable";
+ example = "postgresql://username:password@localhost:5432/postgres?sslmode=disable";
+ description = ''
+ Accepts PostgreSQL URI form and key=value form arguments.
+ '';
+ };
+ runAsLocalSuperUser = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to run the exporter as the local 'postgres' super user.
+ '';
+ };
+ };
+ serviceOpts = {
+ environment.DATA_SOURCE_NAME = cfg.dataSourceName;
+ serviceConfig = {
+ DynamicUser = false;
+ User = mkIf cfg.runAsLocalSuperUser (mkForce "postgres");
+ ExecStart = ''
+ ${pkgs.prometheus-postgres-exporter}/bin/postgres_exporter \
+ --web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
+ --web.telemetry-path ${cfg.telemetryPath} \
+ ${concatStringsSep " \\\n " cfg.extraFlags}
+ '';
+ };
+ };
+}
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/rspamd.nix b/nixos/modules/services/monitoring/prometheus/exporters/rspamd.nix
new file mode 100644
index 00000000000..1f02ae20724
--- /dev/null
+++ b/nixos/modules/services/monitoring/prometheus/exporters/rspamd.nix
@@ -0,0 +1,92 @@
+{ config, lib, pkgs, options }:
+
+with lib;
+
+let
+ cfg = config.services.prometheus.exporters.rspamd;
+
+ prettyJSON = conf:
+ pkgs.runCommand "rspamd-exporter-config.yml" { } ''
+ echo '${builtins.toJSON conf}' | ${pkgs.buildPackages.jq}/bin/jq '.' > $out
+ '';
+
+ generateConfig = extraLabels: (map (path: {
+ name = "rspamd_${replaceStrings [ "." " " ] [ "_" "_" ] path}";
+ path = "$.${path}";
+ labels = extraLabels;
+ }) [
+ "actions.'add header'"
+ "actions.'no action'"
+ "actions.'rewrite subject'"
+ "actions.'soft reject'"
+ "actions.greylist"
+ "actions.reject"
+ "bytes_allocated"
+ "chunks_allocated"
+ "chunks_freed"
+ "chunks_oversized"
+ "connections"
+ "control_connections"
+ "ham_count"
+ "learned"
+ "pools_allocated"
+ "pools_freed"
+ "read_only"
+ "scanned"
+ "shared_chunks_allocated"
+ "spam_count"
+ "total_learns"
+ ]) ++ [{
+ name = "rspamd_statfiles";
+ type = "object";
+ path = "$.statfiles[*]";
+ labels = recursiveUpdate {
+ symbol = "$.symbol";
+ type = "$.type";
+ } extraLabels;
+ values = {
+ revision = "$.revision";
+ size = "$.size";
+ total = "$.total";
+ used = "$.used";
+ languages = "$.languages";
+ users = "$.users";
+ };
+ }];
+in
+{
+ port = 7980;
+ extraOpts = {
+ listenAddress = {}; # not used
+
+ url = mkOption {
+ type = types.str;
+ description = ''
+ URL to the rspamd metrics endpoint.
+ Defaults to http://localhost:11334/stat when
+ is true.
+ '';
+ };
+
+ extraLabels = mkOption {
+ type = types.attrsOf types.str;
+ default = {
+ host = config.networking.hostName;
+ };
+ defaultText = "{ host = config.networking.hostName; }";
+ example = literalExample ''
+ {
+ host = config.networking.hostName;
+ custom_label = "some_value";
+ }
+ '';
+ description = "Set of labels added to each metric.";
+ };
+ };
+ serviceOpts.serviceConfig.ExecStart = ''
+ ${pkgs.prometheus-json-exporter}/bin/prometheus-json-exporter \
+ --port ${toString cfg.port} \
+ ${cfg.url} ${prettyJSON (generateConfig cfg.extraLabels)} \
+ ${concatStringsSep " \\\n " cfg.extraFlags}
+ '';
+}
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/snmp.nix b/nixos/modules/services/monitoring/prometheus/exporters/snmp.nix
index 0d919412432..fe7ae8a8ac9 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/snmp.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/snmp.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -57,7 +57,6 @@ in
else "${pkgs.writeText "snmp-eporter-conf.yml" (builtins.toJSON cfg.configuration)}";
in {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-snmp-exporter.bin}/bin/snmp_exporter \
--config.file=${configFile} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/surfboard.nix b/nixos/modules/services/monitoring/prometheus/exporters/surfboard.nix
index 715dba06a3d..81c5c70ed93 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/surfboard.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/surfboard.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -20,7 +20,6 @@ in
description = "Prometheus exporter for surfboard cable modem";
unitConfig.Documentation = "https://github.com/ipstatic/surfboard_exporter";
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-surfboard-exporter}/bin/surfboard_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/tor.nix b/nixos/modules/services/monitoring/prometheus/exporters/tor.nix
index e0ae8380242..36c473677ef 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/tor.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/tor.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -26,7 +26,6 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-tor-exporter}/bin/prometheus-tor-exporter \
-b ${cfg.listenAddress} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix b/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix
index 011dcbe208e..9aa0f1b85aa 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/unifi.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -51,7 +51,6 @@ in
};
serviceOpts = {
serviceConfig = {
- DynamicUser = true;
ExecStart = ''
${pkgs.prometheus-unifi-exporter}/bin/unifi_exporter \
-telemetry.addr ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/varnish.nix b/nixos/modules/services/monitoring/prometheus/exporters/varnish.nix
index aaed76175b8..12153fa021e 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/varnish.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/varnish.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs }:
+{ config, lib, pkgs, options }:
with lib;
@@ -68,8 +68,8 @@ in
serviceOpts = {
path = [ pkgs.varnish ];
serviceConfig = {
- DynamicUser = true;
RestartSec = mkDefault 1;
+ DynamicUser = false;
ExecStart = ''
${pkgs.prometheus-varnish-exporter}/bin/prometheus_varnish_exporter \
--web.listen-address ${cfg.listenAddress}:${toString cfg.port} \
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix b/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix
new file mode 100644
index 00000000000..8ae2c927b58
--- /dev/null
+++ b/nixos/modules/services/monitoring/prometheus/exporters/wireguard.nix
@@ -0,0 +1,61 @@
+{ config, lib, pkgs, options }:
+
+with lib;
+
+let
+ cfg = config.services.prometheus.exporters.wireguard;
+in {
+ port = 9586;
+ extraOpts = {
+ verbose = mkEnableOption "Verbose logging mode for prometheus-wireguard-exporter";
+
+ wireguardConfig = mkOption {
+ type = with types; nullOr (either path str);
+ default = null;
+
+ description = ''
+ Path to the Wireguard Config to
+ add the peer's name to the stats of a peer.
+
+ Please note that networking.wg-quick is required for this feature
+ as networking.wireguard uses
+ wg8
+ to set the peers up.
+ '';
+ };
+
+ singleSubnetPerField = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ By default, all allowed IPs and subnets are comma-separated in the
+ allowed_ips field. With this option enabled,
+ a single IP and subnet will be listed in fields like allowed_ip_0,
+ allowed_ip_1 and so on.
+ '';
+ };
+
+ withRemoteIp = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether or not the remote IP of a WireGuard peer should be exposed via prometheus.
+ '';
+ };
+ };
+ serviceOpts = {
+ path = [ pkgs.wireguard-tools ];
+
+ serviceConfig = {
+ AmbientCapabilities = [ "CAP_NET_ADMIN" ];
+ ExecStart = ''
+ ${pkgs.prometheus-wireguard-exporter}/bin/prometheus_wireguard_exporter \
+ -p ${toString cfg.port} \
+ ${optionalString cfg.verbose "-v"} \
+ ${optionalString cfg.singleSubnetPerField "-s"} \
+ ${optionalString cfg.withRemoteIp "-r"} \
+ ${optionalString (cfg.wireguardConfig != null) "-n ${cfg.wireguardConfig}"}
+ '';
+ };
+ };
+}
diff --git a/nixos/modules/services/monitoring/riemann-dash.nix b/nixos/modules/services/monitoring/riemann-dash.nix
index 7eb4d888b0c..16eb8300850 100644
--- a/nixos/modules/services/monitoring/riemann-dash.nix
+++ b/nixos/modules/services/monitoring/riemann-dash.nix
@@ -59,18 +59,20 @@ in {
group = "riemanndash";
};
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - riemanndash riemanndash - -"
+ ];
+
systemd.services.riemann-dash = {
wantedBy = [ "multi-user.target" ];
wants = [ "riemann.service" ];
after = [ "riemann.service" ];
preStart = ''
- mkdir -p ${cfg.dataDir}/config
- chown -R riemanndash:riemanndash ${cfg.dataDir}
+ mkdir -p '${cfg.dataDir}/config'
'';
serviceConfig = {
User = "riemanndash";
ExecStart = "${launcher}/bin/riemann-dash";
- PermissionsStartOnly = true;
};
};
diff --git a/nixos/modules/services/monitoring/riemann-tools.nix b/nixos/modules/services/monitoring/riemann-tools.nix
index 4e8832dadc5..86a11694e7b 100644
--- a/nixos/modules/services/monitoring/riemann-tools.nix
+++ b/nixos/modules/services/monitoring/riemann-tools.nix
@@ -11,7 +11,7 @@ let
healthLauncher = writeScriptBin "riemann-health" ''
#!/bin/sh
- exec ${pkgs.riemann-tools}/bin/riemann-health --host ${riemannHost}
+ exec ${pkgs.riemann-tools}/bin/riemann-health ${builtins.concatStringsSep " " cfg.extraArgs} --host ${riemannHost}
'';
@@ -34,8 +34,16 @@ in {
Address of the host riemann node. Defaults to localhost.
'';
};
+ extraArgs = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ A list of commandline-switches forwarded to a riemann-tool.
+ See for example `riemann-health --help` for available options.
+ '';
+ example = ["-p 5555" "--timeout=30" "--attribute=myattribute=42"];
+ };
};
-
};
config = mkIf cfg.enableHealth {
@@ -54,7 +62,6 @@ in {
serviceConfig = {
User = "riemanntools";
ExecStart = "${healthLauncher}/bin/riemann-health";
- PermissionsStartOnly = true;
};
};
diff --git a/nixos/modules/services/monitoring/scollector.nix b/nixos/modules/services/monitoring/scollector.nix
index fbded746a5f..38cd2213de7 100644
--- a/nixos/modules/services/monitoring/scollector.nix
+++ b/nixos/modules/services/monitoring/scollector.nix
@@ -51,7 +51,7 @@ in {
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "scollector";
description = ''
User account under which scollector runs.
@@ -59,7 +59,7 @@ in {
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "scollector";
description = ''
Group account under which scollector runs.
@@ -67,7 +67,7 @@ in {
};
bosunHost = mkOption {
- type = types.string;
+ type = types.str;
default = "localhost:8070";
description = ''
Host and port of the bosun server that will store the collected
@@ -116,7 +116,6 @@ in {
path = [ pkgs.coreutils pkgs.iproute ];
serviceConfig = {
- PermissionsStartOnly = true;
User = cfg.user;
Group = cfg.group;
ExecStart = "${cfg.package.bin}/bin/scollector -conf=${conf} ${lib.concatStringsSep " " cfg.extraOpts}";
diff --git a/nixos/modules/services/monitoring/systemhealth.nix b/nixos/modules/services/monitoring/systemhealth.nix
deleted file mode 100644
index 32d4314d5f7..00000000000
--- a/nixos/modules/services/monitoring/systemhealth.nix
+++ /dev/null
@@ -1,133 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- cfg = config.services.systemhealth;
-
- systemhealth = with pkgs; stdenv.mkDerivation {
- name = "systemhealth-1.0";
- src = fetchurl {
- url = "https://www.brianlane.com/downloads/systemhealth/systemhealth-1.0.tar.bz2";
- sha256 = "1q69lz7hmpbdpbz36zb06nzfkj651413n9icx0njmyr3xzq1j9qy";
- };
- buildInputs = [ python ];
- installPhase = ''
- mkdir -p $out/bin
- # Make it work for kernels 3.x, not so different than 2.6
- sed -i 's/2\.6/4.0/' system_health.py
- cp system_health.py $out/bin
- '';
- };
-
- rrdDir = "/var/lib/health/rrd";
- htmlDir = "/var/lib/health/html";
-
- configFile = rrdDir + "/.syshealthrc";
- # The program will try to read $HOME/.syshealthrc, so we set the proper home.
- command = "HOME=${rrdDir} ${systemhealth}/bin/system_health.py";
-
- cronJob = ''
- */5 * * * * wwwrun ${command} --log
- 5 * * * * wwwrun ${command} --graph
- '';
-
- nameEqualName = s: "${s} = ${s}";
- interfacesSection = concatStringsSep "\n" (map nameEqualName cfg.interfaces);
-
- driveLine = d: "${d.path} = ${d.name}";
- drivesSection = concatStringsSep "\n" (map driveLine cfg.drives);
-
-in
-{
- options = {
- services.systemhealth = {
- enable = mkOption {
- default = false;
- description = ''
- Enable the system health monitor and its generation of graphs.
- '';
- };
-
- urlPrefix = mkOption {
- default = "/health";
- description = ''
- The URL prefix under which the System Health web pages appear in httpd.
- '';
- };
-
- interfaces = mkOption {
- default = [ "lo" ];
- example = [ "lo" "eth0" "eth1" ];
- description = ''
- Interfaces to monitor (minimum one).
- '';
- };
-
- drives = mkOption {
- default = [ ];
- example = [ { name = "root"; path = "/"; } ];
- description = ''
- Drives to monitor.
- '';
- };
- };
- };
-
- config = mkIf cfg.enable {
- services.cron.systemCronJobs = [ cronJob ];
-
- system.activationScripts.systemhealth = stringAfter [ "var" ]
- ''
- mkdir -p ${rrdDir} ${htmlDir}
- chown wwwrun:wwwrun ${rrdDir} ${htmlDir}
-
- cat >${configFile} << EOF
- [paths]
- rrdtool = ${pkgs.rrdtool}/bin/rrdtool
- loadavg_rrd = loadavg
- ps = /run/current-system/sw/bin/ps
- df = /run/current-system/sw/bin/df
- meminfo_rrd = meminfo
- uptime_rrd = uptime
- rrd_path = ${rrdDir}
- png_path = ${htmlDir}
-
- [processes]
-
- [interfaces]
- ${interfacesSection}
-
- [drives]
- ${drivesSection}
-
- [graphs]
- width = 400
- time = ['-3hours', '-32hours', '-8days', '-5weeks', '-13months']
- height = 100
-
- [external]
-
- EOF
-
- chown wwwrun:wwwrun ${configFile}
-
- ${pkgs.su}/bin/su -s "/bin/sh" -c "${command} --check" wwwrun
- ${pkgs.su}/bin/su -s "/bin/sh" -c "${command} --html" wwwrun
- '';
-
- services.httpd.extraSubservices = [
- { function = f: {
- extraConfig = ''
- Alias ${cfg.urlPrefix} ${htmlDir}
-
-
- Order allow,deny
- Allow from all
-
- '';
- };
- }
- ];
- };
-}
diff --git a/nixos/modules/services/monitoring/thanos.nix b/nixos/modules/services/monitoring/thanos.nix
new file mode 100644
index 00000000000..215cd43fd86
--- /dev/null
+++ b/nixos/modules/services/monitoring/thanos.nix
@@ -0,0 +1,801 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.thanos;
+
+ nullOpt = type: description: mkOption {
+ type = types.nullOr type;
+ default = null;
+ inherit description;
+ };
+
+ optionToArgs = opt: v : optional (v != null) ''--${opt}="${toString v}"'';
+ flagToArgs = opt: v : optional v ''--${opt}'';
+ listToArgs = opt: vs : map (v: ''--${opt}="${v}"'') vs;
+ attrsToArgs = opt: kvs: mapAttrsToList (k: v: ''--${opt}=${k}=\"${v}\"'') kvs;
+
+ mkParamDef = type: default: description: mkParam type (description + ''
+
+ Defaults to ${toString default} in Thanos
+ when set to null.
+ '');
+
+ mkParam = type: description: {
+ toArgs = optionToArgs;
+ option = nullOpt type description;
+ };
+
+ mkFlagParam = description: {
+ toArgs = flagToArgs;
+ option = mkOption {
+ type = types.bool;
+ default = false;
+ inherit description;
+ };
+ };
+
+ mkListParam = opt: description: {
+ toArgs = _opt: listToArgs opt;
+ option = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ inherit description;
+ };
+ };
+
+ mkAttrsParam = opt: description: {
+ toArgs = _opt: attrsToArgs opt;
+ option = mkOption {
+ type = types.attrsOf types.str;
+ default = {};
+ inherit description;
+ };
+ };
+
+ mkStateDirParam = opt: default: description: {
+ toArgs = _opt: stateDir: optionToArgs opt "/var/lib/${stateDir}";
+ option = mkOption {
+ type = types.str;
+ inherit default;
+ inherit description;
+ };
+ };
+
+ toYAML = name: attrs: pkgs.runCommandNoCC name {
+ preferLocalBuild = true;
+ json = builtins.toFile "${name}.json" (builtins.toJSON attrs);
+ nativeBuildInputs = [ pkgs.remarshal ];
+ } ''json2yaml -i $json -o $out'';
+
+ thanos = cmd: "${cfg.package}/bin/thanos ${cmd}" +
+ (let args = cfg.${cmd}.arguments;
+ in optionalString (length args != 0) (" \\\n " +
+ concatStringsSep " \\\n " args));
+
+ argumentsOf = cmd: concatLists (collect isList
+ (flip mapParamsRecursive params.${cmd} (path: param:
+ let opt = concatStringsSep "." path;
+ v = getAttrFromPath path cfg.${cmd};
+ in param.toArgs opt v)));
+
+ mkArgumentsOption = cmd: mkOption {
+ type = types.listOf types.str;
+ default = argumentsOf cmd;
+ description = ''
+ Arguments to the thanos ${cmd} command.
+
+ Defaults to a list of arguments formed by converting the structured
+ options of to a list of arguments.
+
+ Overriding this option will cause none of the structured options to have
+ any effect. So only set this if you know what you're doing!
+ '';
+ };
+
+ mapParamsRecursive =
+ let noParam = attr: !(attr ? toArgs && attr ? option);
+ in mapAttrsRecursiveCond noParam;
+
+ paramsToOptions = mapParamsRecursive (_path: param: param.option);
+
+ params = {
+
+ log = {
+
+ log.level = mkParamDef (types.enum ["debug" "info" "warn" "error" "fatal"]) "info" ''
+ Log filtering level.
+ '';
+
+ log.format = mkParam types.str ''
+ Log format to use.
+ '';
+ };
+
+ tracing = cfg: {
+ tracing.config-file = {
+ toArgs = _opt: path: optionToArgs "tracing.config-file" path;
+ option = mkOption {
+ type = with types; nullOr str;
+ default = if cfg.tracing.config == null then null
+ else toString (toYAML "tracing.yaml" cfg.tracing.config);
+ defaultText = ''
+ if config.services.thanos..tracing.config == null then null
+ else toString (toYAML "tracing.yaml" config.services.thanos..tracing.config);
+ '';
+ description = ''
+ Path to YAML file that contains tracing configuration.
+ '';
+ };
+ };
+
+ tracing.config =
+ {
+ toArgs = _opt: _attrs: [];
+ option = nullOpt types.attrs ''
+ Tracing configuration.
+
+ When not null the attribute set gets converted to
+ a YAML file and stored in the Nix store. The option
+ will default to its path.
+
+ If is set this option has no effect.
+ '';
+ };
+ };
+
+ common = cfg: params.log // params.tracing cfg // {
+
+ http-address = mkParamDef types.str "0.0.0.0:10902" ''
+ Listen host:port for HTTP endpoints.
+ '';
+
+ grpc-address = mkParamDef types.str "0.0.0.0:10901" ''
+ Listen ip:port address for gRPC endpoints (StoreAPI).
+
+ Make sure this address is routable from other components.
+ '';
+
+ grpc-server-tls-cert = mkParam types.str ''
+ TLS Certificate for gRPC server, leave blank to disable TLS
+ '';
+
+ grpc-server-tls-key = mkParam types.str ''
+ TLS Key for the gRPC server, leave blank to disable TLS
+ '';
+
+ grpc-server-tls-client-ca = mkParam types.str ''
+ TLS CA to verify clients against.
+
+ If no client CA is specified, there is no client verification on server side.
+ (tls.NoClientCert)
+ '';
+ };
+
+ objstore = cfg: {
+
+ objstore.config-file = {
+ toArgs = _opt: path: optionToArgs "objstore.config-file" path;
+ option = mkOption {
+ type = with types; nullOr str;
+ default = if cfg.objstore.config == null then null
+ else toString (toYAML "objstore.yaml" cfg.objstore.config);
+ defaultText = ''
+ if config.services.thanos..objstore.config == null then null
+ else toString (toYAML "objstore.yaml" config.services.thanos..objstore.config);
+ '';
+ description = ''
+ Path to YAML file that contains object store configuration.
+ '';
+ };
+ };
+
+ objstore.config =
+ {
+ toArgs = _opt: _attrs: [];
+ option = nullOpt types.attrs ''
+ Object store configuration.
+
+ When not null the attribute set gets converted to
+ a YAML file and stored in the Nix store. The option
+ will default to its path.
+
+ If is set this option has no effect.
+ '';
+ };
+ };
+
+ sidecar = params.common cfg.sidecar // params.objstore cfg.sidecar // {
+
+ prometheus.url = mkParamDef types.str "http://localhost:9090" ''
+ URL at which to reach Prometheus's API.
+
+ For better performance use local network.
+ '';
+
+ tsdb.path = {
+ toArgs = optionToArgs;
+ option = mkOption {
+ type = types.str;
+ default = "/var/lib/${config.services.prometheus.stateDir}/data";
+ defaultText = "/var/lib/\${config.services.prometheus.stateDir}/data";
+ description = ''
+ Data directory of TSDB.
+ '';
+ };
+ };
+
+ reloader.config-file = mkParam types.str ''
+ Config file watched by the reloader.
+ '';
+
+ reloader.config-envsubst-file = mkParam types.str ''
+ Output file for environment variable substituted config file.
+ '';
+
+ reloader.rule-dirs = mkListParam "reloader.rule-dir" ''
+ Rule directories for the reloader to refresh.
+ '';
+
+ };
+
+ store = params.common cfg.store // params.objstore cfg.store // {
+
+ stateDir = mkStateDirParam "data-dir" "thanos-store" ''
+ Data directory relative to /var/lib
+ in which to cache remote blocks.
+ '';
+
+ index-cache-size = mkParamDef types.str "250MB" ''
+ Maximum size of items held in the index cache.
+ '';
+
+ chunk-pool-size = mkParamDef types.str "2GB" ''
+ Maximum size of concurrently allocatable bytes for chunks.
+ '';
+
+ store.grpc.series-sample-limit = mkParamDef types.int 0 ''
+ Maximum amount of samples returned via a single Series call.
+
+ 0 means no limit.
+
+ NOTE: for efficiency we take 120 as the number of samples in chunk (it
+ cannot be bigger than that), so the actual number of samples might be
+ lower, even though the maximum could be hit.
+ '';
+
+ store.grpc.series-max-concurrency = mkParamDef types.int 20 ''
+ Maximum number of concurrent Series calls.
+ '';
+
+ sync-block-duration = mkParamDef types.str "3m" ''
+ Repeat interval for syncing the blocks between local and remote view.
+ '';
+
+ block-sync-concurrency = mkParamDef types.int 20 ''
+ Number of goroutines to use when syncing blocks from object storage.
+ '';
+ };
+
+ query = params.common cfg.query // {
+
+ grpc-client-tls-secure = mkFlagParam ''
+ Use TLS when talking to the gRPC server
+ '';
+
+ grpc-client-tls-cert = mkParam types.str ''
+ TLS Certificates to use to identify this client to the server
+ '';
+
+ grpc-client-tls-key = mkParam types.str ''
+ TLS Key for the client's certificate
+ '';
+
+ grpc-client-tls-ca = mkParam types.str ''
+ TLS CA Certificates to use to verify gRPC servers
+ '';
+
+ grpc-client-server-name = mkParam types.str ''
+ Server name to verify the hostname on the returned gRPC certificates.
+ See
+ '';
+
+ web.route-prefix = mkParam types.str ''
+ Prefix for API and UI endpoints.
+
+ This allows thanos UI to be served on a sub-path. This option is
+ analogous to of Promethus.
+ '';
+
+ web.external-prefix = mkParam types.str ''
+ Static prefix for all HTML links and redirect URLs in the UI query web
+ interface.
+
+ Actual endpoints are still served on / or the
+ . This allows thanos UI to be served
+ behind a reverse proxy that strips a URL sub-path.
+ '';
+
+ web.prefix-header = mkParam types.str ''
+ Name of HTTP request header used for dynamic prefixing of UI links and
+ redirects.
+
+ This option is ignored if the option
+ web.external-prefix is set.
+
+ Security risk: enable this option only if a reverse proxy in front of
+ thanos is resetting the header.
+
+ The setting web.prefix-header="X-Forwarded-Prefix"
+ can be useful, for example, if Thanos UI is served via Traefik reverse
+ proxy with PathPrefixStrip option enabled, which
+ sends the stripped prefix value in X-Forwarded-Prefix
+ header. This allows thanos UI to be served on a sub-path.
+ '';
+
+ query.timeout = mkParamDef types.str "2m" ''
+ Maximum time to process query by query node.
+ '';
+
+ query.max-concurrent = mkParamDef types.int 20 ''
+ Maximum number of queries processed concurrently by query node.
+ '';
+
+ query.replica-label = mkParam types.str ''
+ Label to treat as a replica indicator along which data is
+ deduplicated.
+
+ Still you will be able to query without deduplication using
+ dedup=false parameter.
+ '';
+
+ selector-labels = mkAttrsParam "selector-label" ''
+ Query selector labels that will be exposed in info endpoint.
+ '';
+
+ store.addresses = mkListParam "store" ''
+ Addresses of statically configured store API servers.
+
+ The scheme may be prefixed with dns+ or
+ dnssrv+ to detect store API servers through
+ respective DNS lookups.
+ '';
+
+ store.sd-files = mkListParam "store.sd-files" ''
+ Path to files that contain addresses of store API servers. The path
+ can be a glob pattern.
+ '';
+
+ store.sd-interval = mkParamDef types.str "5m" ''
+ Refresh interval to re-read file SD files. It is used as a resync fallback.
+ '';
+
+ store.sd-dns-interval = mkParamDef types.str "30s" ''
+ Interval between DNS resolutions.
+ '';
+
+ store.unhealthy-timeout = mkParamDef types.str "5m" ''
+ Timeout before an unhealthy store is cleaned from the store UI page.
+ '';
+
+ query.auto-downsampling = mkFlagParam ''
+ Enable automatic adjustment (step / 5) to what source of data should
+ be used in store gateways if no
+ max_source_resolution param is specified.
+ '';
+
+ query.partial-response = mkFlagParam ''
+ Enable partial response for queries if no
+ partial_response param is specified.
+ '';
+
+ query.default-evaluation-interval = mkParamDef types.str "1m" ''
+ Set default evaluation interval for sub queries.
+ '';
+
+ store.response-timeout = mkParamDef types.str "0ms" ''
+ If a Store doesn't send any data in this specified duration then a
+ Store will be ignored and partial data will be returned if it's
+ enabled. 0 disables timeout.
+ '';
+ };
+
+ rule = params.common cfg.rule // params.objstore cfg.rule // {
+
+ labels = mkAttrsParam "label" ''
+ Labels to be applied to all generated metrics.
+
+ Similar to external labels for Prometheus,
+ used to identify ruler and its blocks as unique source.
+ '';
+
+ stateDir = mkStateDirParam "data-dir" "thanos-rule" ''
+ Data directory relative to /var/lib.
+ '';
+
+ rule-files = mkListParam "rule-file" ''
+ Rule files that should be used by rule manager. Can be in glob format.
+ '';
+
+ eval-interval = mkParamDef types.str "30s" ''
+ The default evaluation interval to use.
+ '';
+
+ tsdb.block-duration = mkParamDef types.str "2h" ''
+ Block duration for TSDB block.
+ '';
+
+ tsdb.retention = mkParamDef types.str "48h" ''
+ Block retention time on local disk.
+ '';
+
+ alertmanagers.urls = mkListParam "alertmanagers.url" ''
+ Alertmanager replica URLs to push firing alerts.
+
+ Ruler claims success if push to at least one alertmanager from
+ discovered succeeds. The scheme may be prefixed with
+ dns+ or dnssrv+ to detect
+ Alertmanager IPs through respective DNS lookups. The port defaults to
+ 9093 or the SRV record's value. The URL path is
+ used as a prefix for the regular Alertmanager API path.
+ '';
+
+ alertmanagers.send-timeout = mkParamDef types.str "10s" ''
+ Timeout for sending alerts to alertmanager.
+ '';
+
+ alert.query-url = mkParam types.str ''
+ The external Thanos Query URL that would be set in all alerts 'Source' field.
+ '';
+
+ alert.label-drop = mkListParam "alert.label-drop" ''
+ Labels by name to drop before sending to alertmanager.
+
+ This allows alert to be deduplicated on replica label.
+
+ Similar Prometheus alert relabelling
+ '';
+
+ web.route-prefix = mkParam types.str ''
+ Prefix for API and UI endpoints.
+
+ This allows thanos UI to be served on a sub-path.
+
+ This option is analogous to --web.route-prefix of Promethus.
+ '';
+
+ web.external-prefix = mkParam types.str ''
+ Static prefix for all HTML links and redirect URLs in the UI query web
+ interface.
+
+ Actual endpoints are still served on / or the
+ . This allows thanos UI to be served
+ behind a reverse proxy that strips a URL sub-path.
+ '';
+
+ web.prefix-header = mkParam types.str ''
+ Name of HTTP request header used for dynamic prefixing of UI links and
+ redirects.
+
+ This option is ignored if the option
+ is set.
+
+ Security risk: enable this option only if a reverse proxy in front of
+ thanos is resetting the header.
+
+ The header X-Forwarded-Prefix can be useful, for
+ example, if Thanos UI is served via Traefik reverse proxy with
+ PathPrefixStrip option enabled, which sends the
+ stripped prefix value in X-Forwarded-Prefix
+ header. This allows thanos UI to be served on a sub-path.
+ '';
+
+ query.addresses = mkListParam "query" ''
+ Addresses of statically configured query API servers.
+
+ The scheme may be prefixed with dns+ or
+ dnssrv+ to detect query API servers through
+ respective DNS lookups.
+ '';
+
+ query.sd-files = mkListParam "query.sd-files" ''
+ Path to file that contain addresses of query peers.
+ The path can be a glob pattern.
+ '';
+
+ query.sd-interval = mkParamDef types.str "5m" ''
+ Refresh interval to re-read file SD files. (used as a fallback)
+ '';
+
+ query.sd-dns-interval = mkParamDef types.str "30s" ''
+ Interval between DNS resolutions.
+ '';
+ };
+
+ compact = params.log // params.tracing cfg.compact // params.objstore cfg.compact // {
+
+ http-address = mkParamDef types.str "0.0.0.0:10902" ''
+ Listen host:port for HTTP endpoints.
+ '';
+
+ stateDir = mkStateDirParam "data-dir" "thanos-compact" ''
+ Data directory relative to /var/lib
+ in which to cache blocks and process compactions.
+ '';
+
+ consistency-delay = mkParamDef types.str "30m" ''
+ Minimum age of fresh (non-compacted) blocks before they are being
+ processed. Malformed blocks older than the maximum of consistency-delay
+ and 30m0s will be removed.
+ '';
+
+ retention.resolution-raw = mkParamDef types.str "0d" ''
+ How long to retain raw samples in bucket.
+
+ 0d - disables this retention
+ '';
+
+ retention.resolution-5m = mkParamDef types.str "0d" ''
+ How long to retain samples of resolution 1 (5 minutes) in bucket.
+
+ 0d - disables this retention
+ '';
+
+ retention.resolution-1h = mkParamDef types.str "0d" ''
+ How long to retain samples of resolution 2 (1 hour) in bucket.
+
+ 0d - disables this retention
+ '';
+
+ startAt = {
+ toArgs = _opt: startAt: flagToArgs "wait" (startAt == null);
+ option = nullOpt types.str ''
+ When this option is set to a systemd.time
+ specification the Thanos compactor will run at the specified period.
+
+ When this option is null the Thanos compactor service
+ will run continuously. So it will not exit after all compactions have
+ been processed but wait for new work.
+ '';
+ };
+
+ block-sync-concurrency = mkParamDef types.int 20 ''
+ Number of goroutines to use when syncing block metadata from object storage.
+ '';
+
+ compact.concurrency = mkParamDef types.int 1 ''
+ Number of goroutines to use when compacting groups.
+ '';
+ };
+
+ downsample = params.log // params.tracing cfg.downsample // params.objstore cfg.downsample // {
+
+ stateDir = mkStateDirParam "data-dir" "thanos-downsample" ''
+ Data directory relative to /var/lib
+ in which to cache blocks and process downsamplings.
+ '';
+
+ };
+
+ receive = params.common cfg.receive // params.objstore cfg.receive // {
+
+ remote-write.address = mkParamDef types.str "0.0.0.0:19291" ''
+ Address to listen on for remote write requests.
+ '';
+
+ stateDir = mkStateDirParam "tsdb.path" "thanos-receive" ''
+ Data directory relative to /var/lib of TSDB.
+ '';
+
+ labels = mkAttrsParam "labels" ''
+ External labels to announce.
+
+ This flag will be removed in the future when handling multiple tsdb
+ instances is added.
+ '';
+
+ tsdb.retention = mkParamDef types.str "15d" ''
+ How long to retain raw samples on local storage.
+
+ 0d - disables this retention
+ '';
+ };
+
+ };
+
+ assertRelativeStateDir = cmd: {
+ assertions = [
+ {
+ assertion = !hasPrefix "/" cfg.${cmd}.stateDir;
+ message =
+ "The option services.thanos.${cmd}.stateDir should not be an absolute directory." +
+ " It should be a directory relative to /var/lib.";
+ }
+ ];
+ };
+
+in {
+
+ options.services.thanos = {
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.thanos;
+ defaultText = "pkgs.thanos";
+ description = ''
+ The thanos package that should be used.
+ '';
+ };
+
+ sidecar = paramsToOptions params.sidecar // {
+ enable = mkEnableOption
+ "the Thanos sidecar for Prometheus server";
+ arguments = mkArgumentsOption "sidecar";
+ };
+
+ store = paramsToOptions params.store // {
+ enable = mkEnableOption
+ "the Thanos store node giving access to blocks in a bucket provider.";
+ arguments = mkArgumentsOption "store";
+ };
+
+ query = paramsToOptions params.query // {
+ enable = mkEnableOption
+ ("the Thanos query node exposing PromQL enabled Query API " +
+ "with data retrieved from multiple store nodes");
+ arguments = mkArgumentsOption "query";
+ };
+
+ rule = paramsToOptions params.rule // {
+ enable = mkEnableOption
+ ("the Thanos ruler service which evaluates Prometheus rules against" +
+ " given Query nodes, exposing Store API and storing old blocks in bucket");
+ arguments = mkArgumentsOption "rule";
+ };
+
+ compact = paramsToOptions params.compact // {
+ enable = mkEnableOption
+ "the Thanos compactor which continuously compacts blocks in an object store bucket";
+ arguments = mkArgumentsOption "compact";
+ };
+
+ downsample = paramsToOptions params.downsample // {
+ enable = mkEnableOption
+ "the Thanos downsampler which continuously downsamples blocks in an object store bucket";
+ arguments = mkArgumentsOption "downsample";
+ };
+
+ receive = paramsToOptions params.receive // {
+ enable = mkEnableOption
+ ("the Thanos receiver which accept Prometheus remote write API requests " +
+ "and write to local tsdb (EXPERIMENTAL, this may change drastically without notice)");
+ arguments = mkArgumentsOption "receive";
+ };
+ };
+
+ config = mkMerge [
+
+ (mkIf cfg.sidecar.enable {
+ assertions = [
+ {
+ assertion = config.services.prometheus.enable;
+ message =
+ "Please enable services.prometheus when enabling services.thanos.sidecar.";
+ }
+ {
+ assertion = !(config.services.prometheus.globalConfig.external_labels == null ||
+ config.services.prometheus.globalConfig.external_labels == {});
+ message =
+ "services.thanos.sidecar requires uniquely identifying external labels " +
+ "to be configured in the Prometheus server. " +
+ "Please set services.prometheus.globalConfig.external_labels.";
+ }
+ ];
+ systemd.services.thanos-sidecar = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" "prometheus.service" ];
+ serviceConfig = {
+ User = "prometheus";
+ Restart = "always";
+ ExecStart = thanos "sidecar";
+ };
+ };
+ })
+
+ (mkIf cfg.store.enable (mkMerge [
+ (assertRelativeStateDir "store")
+ {
+ systemd.services.thanos-store = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = cfg.store.stateDir;
+ Restart = "always";
+ ExecStart = thanos "store";
+ };
+ };
+ }
+ ]))
+
+ (mkIf cfg.query.enable {
+ systemd.services.thanos-query = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ Restart = "always";
+ ExecStart = thanos "query";
+ };
+ };
+ })
+
+ (mkIf cfg.rule.enable (mkMerge [
+ (assertRelativeStateDir "rule")
+ {
+ systemd.services.thanos-rule = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = cfg.rule.stateDir;
+ Restart = "always";
+ ExecStart = thanos "rule";
+ };
+ };
+ }
+ ]))
+
+ (mkIf cfg.compact.enable (mkMerge [
+ (assertRelativeStateDir "compact")
+ {
+ systemd.services.thanos-compact =
+ let wait = cfg.compact.startAt == null; in {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ Type = if wait then "simple" else "oneshot";
+ Restart = if wait then "always" else "no";
+ DynamicUser = true;
+ StateDirectory = cfg.compact.stateDir;
+ ExecStart = thanos "compact";
+ };
+ } // optionalAttrs (!wait) { inherit (cfg.compact) startAt; };
+ }
+ ]))
+
+ (mkIf cfg.downsample.enable (mkMerge [
+ (assertRelativeStateDir "downsample")
+ {
+ systemd.services.thanos-downsample = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = cfg.downsample.stateDir;
+ Restart = "always";
+ ExecStart = thanos "downsample";
+ };
+ };
+ }
+ ]))
+
+ (mkIf cfg.receive.enable (mkMerge [
+ (assertRelativeStateDir "receive")
+ {
+ systemd.services.thanos-receive = {
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = cfg.receive.stateDir;
+ Restart = "always";
+ ExecStart = thanos "receive";
+ };
+ };
+ }
+ ]))
+
+ ];
+}
diff --git a/nixos/modules/services/monitoring/ups.nix b/nixos/modules/services/monitoring/ups.nix
index bc755612fd9..1bdc4e4410f 100644
--- a/nixos/modules/services/monitoring/ups.nix
+++ b/nixos/modules/services/monitoring/ups.nix
@@ -55,7 +55,7 @@ let
description = mkOption {
default = "";
- type = types.string;
+ type = types.str;
description = ''
Description of the UPS.
'';
@@ -71,7 +71,7 @@ let
summary = mkOption {
default = "";
- type = types.string;
+ type = types.lines;
description = ''
Lines which would be added inside ups.conf for handling this UPS.
'';
@@ -225,7 +225,7 @@ in
''
maxstartdelay = ${toString cfg.maxStartDelay}
- ${flip concatStringsSep (flip map (attrValues cfg.ups) (ups: ups.summary)) "
+ ${flip concatStringsSep (forEach (attrValues cfg.ups) (ups: ups.summary)) "
"}
'';
diff --git a/nixos/modules/services/monitoring/uptime.nix b/nixos/modules/services/monitoring/uptime.nix
index c0993f3bc2e..245badc3e44 100644
--- a/nixos/modules/services/monitoring/uptime.nix
+++ b/nixos/modules/services/monitoring/uptime.nix
@@ -57,7 +57,7 @@ in {
nodeEnv = mkOption {
description = "The node environment to run in (development, production, etc.)";
- type = types.string;
+ type = types.str;
default = "production";
};
diff --git a/nixos/modules/services/monitoring/zabbix-agent.nix b/nixos/modules/services/monitoring/zabbix-agent.nix
index 0519e7c2ad6..856b9432892 100644
--- a/nixos/modules/services/monitoring/zabbix-agent.nix
+++ b/nixos/modules/services/monitoring/zabbix-agent.nix
@@ -1,73 +1,118 @@
-# Zabbix agent daemon.
{ config, lib, pkgs, ... }:
-with lib;
-
let
-
cfg = config.services.zabbixAgent;
- zabbix = cfg.package;
+ inherit (lib) mkDefault mkEnableOption mkIf mkOption;
+ inherit (lib) attrValues concatMapStringsSep literalExample optionalString types;
- stateDir = "/run/zabbix";
+ user = "zabbix-agent";
+ group = "zabbix-agent";
- logDir = "/var/log/zabbix";
+ moduleEnv = pkgs.symlinkJoin {
+ name = "zabbix-agent-module-env";
+ paths = attrValues cfg.modules;
+ };
- pidFile = "${stateDir}/zabbix_agentd.pid";
-
- configFile = pkgs.writeText "zabbix_agentd.conf"
- ''
- Server = ${cfg.server}
-
- LogFile = ${logDir}/zabbix_agentd
-
- PidFile = ${pidFile}
-
- StartAgents = 1
-
- ${config.services.zabbixAgent.extraConfig}
- '';
+ configFile = pkgs.writeText "zabbix_agent.conf" ''
+ LogType = console
+ Server = ${cfg.server}
+ ListenIP = ${cfg.listen.ip}
+ ListenPort = ${toString cfg.listen.port}
+ ${optionalString (cfg.modules != {}) "LoadModulePath = ${moduleEnv}/lib"}
+ ${concatMapStringsSep "\n" (name: "LoadModule = ${name}") (builtins.attrNames cfg.modules)}
+ ${cfg.extraConfig}
+ '';
in
{
-
- ###### interface
+ # interface
options = {
services.zabbixAgent = {
+ enable = mkEnableOption "the Zabbix Agent";
- enable = mkOption {
- default = false;
+ package = mkOption {
+ type = types.package;
+ default = pkgs.zabbix.agent;
+ defaultText = "pkgs.zabbix.agent";
+ description = "The Zabbix package to use.";
+ };
+
+ extraPackages = mkOption {
+ type = types.listOf types.package;
+ default = with pkgs; [ nettools ];
+ defaultText = "[ nettools ]";
+ example = "[ nettools mysql ]";
description = ''
- Whether to run the Zabbix monitoring agent on this machine.
- It will send monitoring data to a Zabbix server.
+ Packages to be added to the Zabbix PATH.
+ Typically used to add executables for scripts, but can be anything.
'';
};
- package = mkOption {
- type = types.attrs; # Note: pkgs.zabbixXY isn't a derivation, but an attrset of { server = ...; agent = ...; }.
- default = pkgs.zabbix;
- defaultText = "pkgs.zabbix";
- example = literalExample "pkgs.zabbix34";
- description = ''
- The Zabbix package to use.
+ modules = mkOption {
+ type = types.attrsOf types.package;
+ description = "A set of modules to load.";
+ default = {};
+ example = literalExample ''
+ {
+ "dummy.so" = pkgs.stdenv.mkDerivation {
+ name = "zabbix-dummy-module-''${cfg.package.version}";
+ src = cfg.package.src;
+ buildInputs = [ cfg.package ];
+ sourceRoot = "zabbix-''${cfg.package.version}/src/modules/dummy";
+ installPhase = '''
+ mkdir -p $out/lib
+ cp dummy.so $out/lib/
+ ''';
+ };
+ }
'';
};
server = mkOption {
- default = "127.0.0.1";
+ type = types.str;
description = ''
The IP address or hostname of the Zabbix server to connect to.
'';
};
+ listen = {
+ ip = mkOption {
+ type = types.str;
+ default = "0.0.0.0";
+ description = ''
+ List of comma delimited IP addresses that the agent should listen on.
+ '';
+ };
+
+ port = mkOption {
+ type = types.port;
+ default = 10050;
+ description = ''
+ Agent will listen on this port for connections from the server.
+ '';
+ };
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for the Zabbix Agent.
+ '';
+ };
+
+ # TODO: for bonus points migrate this to https://github.com/NixOS/rfcs/pull/42
extraConfig = mkOption {
default = "";
type = types.lines;
description = ''
- Configuration that is injected verbatim into the configuration file.
+ Configuration that is injected verbatim into the configuration file. Refer to
+
+ for details on supported values.
'';
};
@@ -75,38 +120,38 @@ in
};
-
- ###### implementation
+ # implementation
config = mkIf cfg.enable {
- users.users = mkIf (!config.services.zabbixServer.enable) (singleton
- { name = "zabbix";
- uid = config.ids.uids.zabbix;
- description = "Zabbix daemon user";
- });
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPorts = [ cfg.listen.port ];
+ };
- systemd.services."zabbix-agent" =
- { description = "Zabbix Agent";
+ users.users.${user} = {
+ description = "Zabbix Agent daemon user";
+ inherit group;
+ };
- wantedBy = [ "multi-user.target" ];
+ users.groups.${group} = { };
- path = [ pkgs.nettools ];
+ systemd.services.zabbix-agent = {
+ description = "Zabbix Agent";
- preStart =
- ''
- mkdir -m 0755 -p ${stateDir} ${logDir}
- chown zabbix ${stateDir} ${logDir}
- '';
+ wantedBy = [ "multi-user.target" ];
- serviceConfig.ExecStart = "@${zabbix.agent}/sbin/zabbix_agentd zabbix_agentd --config ${configFile}";
- serviceConfig.Type = "forking";
- serviceConfig.RemainAfterExit = true;
- serviceConfig.Restart = "always";
- serviceConfig.RestartSec = 2;
+ path = [ "/run/wrappers" ] ++ cfg.extraPackages;
+
+ serviceConfig = {
+ ExecStart = "@${cfg.package}/sbin/zabbix_agentd zabbix_agentd -f --config ${configFile}";
+ Restart = "always";
+ RestartSec = 2;
+
+ User = user;
+ Group = group;
+ PrivateTmp = true;
};
-
- environment.systemPackages = [ zabbix.agent ];
+ };
};
diff --git a/nixos/modules/services/monitoring/zabbix-proxy.nix b/nixos/modules/services/monitoring/zabbix-proxy.nix
new file mode 100644
index 00000000000..9d214469c3b
--- /dev/null
+++ b/nixos/modules/services/monitoring/zabbix-proxy.nix
@@ -0,0 +1,299 @@
+{ config, lib, pkgs, ... }:
+
+let
+ cfg = config.services.zabbixProxy;
+ pgsql = config.services.postgresql;
+ mysql = config.services.mysql;
+
+ inherit (lib) mkDefault mkEnableOption mkIf mkOption;
+ inherit (lib) attrValues concatMapStringsSep literalExample optional optionalAttrs optionalString types;
+
+ user = "zabbix";
+ group = "zabbix";
+ runtimeDir = "/run/zabbix";
+ stateDir = "/var/lib/zabbix";
+ passwordFile = "${runtimeDir}/zabbix-dbpassword.conf";
+
+ moduleEnv = pkgs.symlinkJoin {
+ name = "zabbix-proxy-module-env";
+ paths = attrValues cfg.modules;
+ };
+
+ configFile = pkgs.writeText "zabbix_proxy.conf" ''
+ LogType = console
+ ListenIP = ${cfg.listen.ip}
+ ListenPort = ${toString cfg.listen.port}
+ Server = ${cfg.server}
+ # TODO: set to cfg.database.socket if database type is pgsql?
+ DBHost = ${optionalString (cfg.database.createLocally != true) cfg.database.host}
+ ${optionalString (cfg.database.createLocally != true) "DBPort = ${cfg.database.port}"}
+ DBName = ${cfg.database.name}
+ DBUser = ${cfg.database.user}
+ ${optionalString (cfg.database.passwordFile != null) "Include ${passwordFile}"}
+ ${optionalString (mysqlLocal && cfg.database.socket != null) "DBSocket = ${cfg.database.socket}"}
+ SocketDir = ${runtimeDir}
+ FpingLocation = /run/wrappers/bin/fping
+ ${optionalString (cfg.modules != {}) "LoadModulePath = ${moduleEnv}/lib"}
+ ${concatMapStringsSep "\n" (name: "LoadModule = ${name}") (builtins.attrNames cfg.modules)}
+ ${cfg.extraConfig}
+ '';
+
+ mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql";
+ pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql";
+
+in
+
+{
+ # interface
+
+ options = {
+
+ services.zabbixProxy = {
+ enable = mkEnableOption "the Zabbix Proxy";
+
+ server = mkOption {
+ type = types.str;
+ description = ''
+ The IP address or hostname of the Zabbix server to connect to.
+ '';
+ };
+
+ package = mkOption {
+ type = types.package;
+ default =
+ if cfg.database.type == "mysql" then pkgs.zabbix.proxy-mysql
+ else if cfg.database.type == "pgsql" then pkgs.zabbix.proxy-pgsql
+ else pkgs.zabbix.proxy-sqlite;
+ defaultText = "pkgs.zabbix.proxy-pgsql";
+ description = "The Zabbix package to use.";
+ };
+
+ extraPackages = mkOption {
+ type = types.listOf types.package;
+ default = with pkgs; [ nettools nmap traceroute ];
+ defaultText = "[ nettools nmap traceroute ]";
+ description = ''
+ Packages to be added to the Zabbix PATH.
+ Typically used to add executables for scripts, but can be anything.
+ '';
+ };
+
+ modules = mkOption {
+ type = types.attrsOf types.package;
+ description = "A set of modules to load.";
+ default = {};
+ example = literalExample ''
+ {
+ "dummy.so" = pkgs.stdenv.mkDerivation {
+ name = "zabbix-dummy-module-''${cfg.package.version}";
+ src = cfg.package.src;
+ buildInputs = [ cfg.package ];
+ sourceRoot = "zabbix-''${cfg.package.version}/src/modules/dummy";
+ installPhase = '''
+ mkdir -p $out/lib
+ cp dummy.so $out/lib/
+ ''';
+ };
+ }
+ '';
+ };
+
+ database = {
+ type = mkOption {
+ type = types.enum [ "mysql" "pgsql" "sqlite" ];
+ example = "mysql";
+ default = "pgsql";
+ description = "Database engine to use.";
+ };
+
+ host = mkOption {
+ type = types.str;
+ default = "localhost";
+ description = "Database host address.";
+ };
+
+ port = mkOption {
+ type = types.int;
+ default = if cfg.database.type == "mysql" then mysql.port else pgsql.port;
+ description = "Database host port.";
+ };
+
+ name = mkOption {
+ type = types.str;
+ default = if cfg.database.type == "sqlite" then "${stateDir}/zabbix.db" else "zabbix";
+ defaultText = "zabbix";
+ description = "Database name.";
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "zabbix";
+ description = "Database user.";
+ };
+
+ passwordFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/keys/zabbix-dbpassword";
+ description = ''
+ A file containing the password corresponding to
+ .
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/postgresql";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Whether to create a local database automatically.";
+ };
+ };
+
+ listen = {
+ ip = mkOption {
+ type = types.str;
+ default = "0.0.0.0";
+ description = ''
+ List of comma delimited IP addresses that the trapper should listen on.
+ Trapper will listen on all network interfaces if this parameter is missing.
+ '';
+ };
+
+ port = mkOption {
+ type = types.port;
+ default = 10051;
+ description = ''
+ Listen port for trapper.
+ '';
+ };
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for the Zabbix Proxy.
+ '';
+ };
+
+ # TODO: for bonus points migrate this to https://github.com/NixOS/rfcs/pull/42
+ extraConfig = mkOption {
+ default = "";
+ type = types.lines;
+ description = ''
+ Configuration that is injected verbatim into the configuration file. Refer to
+
+ for details on supported values.
+ '';
+ };
+
+ };
+
+ };
+
+ # implementation
+
+ config = mkIf cfg.enable {
+
+ assertions = [
+ { assertion = !config.services.zabbixServer.enable;
+ message = "Please choose one of services.zabbixServer or services.zabbixProxy.";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
+ message = "services.zabbixProxy.database.user must be set to ${user} if services.zabbixProxy.database.createLocally is set true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null;
+ message = "a password cannot be specified if services.zabbixProxy.database.createLocally is set to true";
+ }
+ ];
+
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPorts = [ cfg.listen.port ];
+ };
+
+ services.mysql = optionalAttrs mysqlLocal {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ services.postgresql = optionalAttrs pgsqlLocal {
+ enable = true;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ users.users.${user} = {
+ description = "Zabbix daemon user";
+ uid = config.ids.uids.zabbix;
+ inherit group;
+ };
+
+ users.groups.${group} = {
+ gid = config.ids.gids.zabbix;
+ };
+
+ security.wrappers = {
+ fping.source = "${pkgs.fping}/bin/fping";
+ };
+
+ systemd.services.zabbix-proxy = {
+ description = "Zabbix Proxy";
+
+ wantedBy = [ "multi-user.target" ];
+ after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+
+ path = [ "/run/wrappers" ] ++ cfg.extraPackages;
+ preStart = optionalString pgsqlLocal ''
+ if ! test -e "${stateDir}/db-created"; then
+ cat ${cfg.package}/share/zabbix/database/postgresql/schema.sql | ${pgsql.package}/bin/psql ${cfg.database.name}
+ touch "${stateDir}/db-created"
+ fi
+ '' + optionalString mysqlLocal ''
+ if ! test -e "${stateDir}/db-created"; then
+ cat ${cfg.package}/share/zabbix/database/mysql/schema.sql | ${mysql.package}/bin/mysql ${cfg.database.name}
+ touch "${stateDir}/db-created"
+ fi
+ '' + optionalString (cfg.database.type == "sqlite") ''
+ if ! test -e "${cfg.database.name}"; then
+ ${pkgs.sqlite}/bin/sqlite3 "${cfg.database.name}" < ${cfg.package}/share/zabbix/database/sqlite3/schema.sql
+ fi
+ '' + optionalString (cfg.database.passwordFile != null) ''
+ # create a copy of the supplied password file in a format zabbix can consume
+ touch ${passwordFile}
+ chmod 0600 ${passwordFile}
+ echo -n "DBPassword = " > ${passwordFile}
+ cat ${cfg.database.passwordFile} >> ${passwordFile}
+ '';
+
+ serviceConfig = {
+ ExecStart = "@${cfg.package}/sbin/zabbix_proxy zabbix_proxy -f --config ${configFile}";
+ Restart = "always";
+ RestartSec = 2;
+
+ User = user;
+ Group = group;
+ RuntimeDirectory = "zabbix";
+ StateDirectory = "zabbix";
+ PrivateTmp = true;
+ };
+ };
+
+ };
+
+}
diff --git a/nixos/modules/services/monitoring/zabbix-server.nix b/nixos/modules/services/monitoring/zabbix-server.nix
index fdeab6af441..4b4049ed360 100644
--- a/nixos/modules/services/monitoring/zabbix-server.nix
+++ b/nixos/modules/services/monitoring/zabbix-server.nix
@@ -1,125 +1,292 @@
-# Zabbix server daemon.
{ config, lib, pkgs, ... }:
-with lib;
-
let
-
cfg = config.services.zabbixServer;
+ pgsql = config.services.postgresql;
+ mysql = config.services.mysql;
- stateDir = "/run/zabbix";
+ inherit (lib) mkDefault mkEnableOption mkIf mkOption;
+ inherit (lib) attrValues concatMapStringsSep literalExample optional optionalAttrs optionalString types;
- logDir = "/var/log/zabbix";
+ user = "zabbix";
+ group = "zabbix";
+ runtimeDir = "/run/zabbix";
+ stateDir = "/var/lib/zabbix";
+ passwordFile = "${runtimeDir}/zabbix-dbpassword.conf";
- libDir = "/var/lib/zabbix";
+ moduleEnv = pkgs.symlinkJoin {
+ name = "zabbix-server-module-env";
+ paths = attrValues cfg.modules;
+ };
- pidFile = "${stateDir}/zabbix_server.pid";
+ configFile = pkgs.writeText "zabbix_server.conf" ''
+ LogType = console
+ ListenIP = ${cfg.listen.ip}
+ ListenPort = ${toString cfg.listen.port}
+ # TODO: set to cfg.database.socket if database type is pgsql?
+ DBHost = ${optionalString (cfg.database.createLocally != true) cfg.database.host}
+ ${optionalString (cfg.database.createLocally != true) "DBPort = ${cfg.database.port}"}
+ DBName = ${cfg.database.name}
+ DBUser = ${cfg.database.user}
+ ${optionalString (cfg.database.passwordFile != null) "Include ${passwordFile}"}
+ ${optionalString (mysqlLocal && cfg.database.socket != null) "DBSocket = ${cfg.database.socket}"}
+ SocketDir = ${runtimeDir}
+ FpingLocation = /run/wrappers/bin/fping
+ ${optionalString (cfg.modules != {}) "LoadModulePath = ${moduleEnv}/lib"}
+ ${concatMapStringsSep "\n" (name: "LoadModule = ${name}") (builtins.attrNames cfg.modules)}
+ ${cfg.extraConfig}
+ '';
- configFile = pkgs.writeText "zabbix_server.conf"
- ''
- LogFile = ${logDir}/zabbix_server
-
- PidFile = ${pidFile}
-
- ${optionalString (cfg.dbServer != "localhost") ''
- DBHost = ${cfg.dbServer}
- ''}
-
- DBName = zabbix
-
- DBUser = zabbix
-
- ${optionalString (cfg.dbPassword != "") ''
- DBPassword = ${cfg.dbPassword}
- ''}
-
- ${config.services.zabbixServer.extraConfig}
- '';
-
- useLocalPostgres = cfg.dbServer == "localhost" || cfg.dbServer == "";
+ mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql";
+ pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql";
in
{
-
- ###### interface
+ # interface
options = {
- services.zabbixServer.enable = mkOption {
- default = false;
- type = types.bool;
- description = ''
- Whether to run the Zabbix server on this machine.
- '';
- };
+ services.zabbixServer = {
+ enable = mkEnableOption "the Zabbix Server";
- services.zabbixServer.dbServer = mkOption {
- default = "localhost";
- type = types.str;
- description = ''
- Hostname or IP address of the database server.
- Use an empty string ("") to use peer authentication.
- '';
- };
+ package = mkOption {
+ type = types.package;
+ default = if cfg.database.type == "mysql" then pkgs.zabbix.server-mysql else pkgs.zabbix.server-pgsql;
+ defaultText = "pkgs.zabbix.server-pgsql";
+ description = "The Zabbix package to use.";
+ };
- services.zabbixServer.dbPassword = mkOption {
- default = "";
- type = types.str;
- description = "Password used to connect to the database server.";
- };
+ extraPackages = mkOption {
+ type = types.listOf types.package;
+ default = with pkgs; [ nettools nmap traceroute ];
+ defaultText = "[ nettools nmap traceroute ]";
+ description = ''
+ Packages to be added to the Zabbix PATH.
+ Typically used to add executables for scripts, but can be anything.
+ '';
+ };
+
+ modules = mkOption {
+ type = types.attrsOf types.package;
+ description = "A set of modules to load.";
+ default = {};
+ example = literalExample ''
+ {
+ "dummy.so" = pkgs.stdenv.mkDerivation {
+ name = "zabbix-dummy-module-''${cfg.package.version}";
+ src = cfg.package.src;
+ buildInputs = [ cfg.package ];
+ sourceRoot = "zabbix-''${cfg.package.version}/src/modules/dummy";
+ installPhase = '''
+ mkdir -p $out/lib
+ cp dummy.so $out/lib/
+ ''';
+ };
+ }
+ '';
+ };
+
+ database = {
+ type = mkOption {
+ type = types.enum [ "mysql" "pgsql" ];
+ example = "mysql";
+ default = "pgsql";
+ description = "Database engine to use.";
+ };
+
+ host = mkOption {
+ type = types.str;
+ default = "localhost";
+ description = "Database host address.";
+ };
+
+ port = mkOption {
+ type = types.int;
+ default = if cfg.database.type == "mysql" then mysql.port else pgsql.port;
+ description = "Database host port.";
+ };
+
+ name = mkOption {
+ type = types.str;
+ default = "zabbix";
+ description = "Database name.";
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "zabbix";
+ description = "Database user.";
+ };
+
+ passwordFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/keys/zabbix-dbpassword";
+ description = ''
+ A file containing the password corresponding to
+ .
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/postgresql";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Whether to create a local database automatically.";
+ };
+ };
+
+ listen = {
+ ip = mkOption {
+ type = types.str;
+ default = "0.0.0.0";
+ description = ''
+ List of comma delimited IP addresses that the trapper should listen on.
+ Trapper will listen on all network interfaces if this parameter is missing.
+ '';
+ };
+
+ port = mkOption {
+ type = types.port;
+ default = 10051;
+ description = ''
+ Listen port for trapper.
+ '';
+ };
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for the Zabbix Server.
+ '';
+ };
+
+ # TODO: for bonus points migrate this to https://github.com/NixOS/rfcs/pull/42
+ extraConfig = mkOption {
+ default = "";
+ type = types.lines;
+ description = ''
+ Configuration that is injected verbatim into the configuration file. Refer to
+
+ for details on supported values.
+ '';
+ };
- services.zabbixServer.extraConfig = mkOption {
- default = "";
- type = types.lines;
- description = ''
- Configuration that is injected verbatim into the configuration file.
- '';
};
};
- ###### implementation
+ # implementation
config = mkIf cfg.enable {
- services.postgresql.enable = useLocalPostgres;
+ assertions = [
+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
+ message = "services.zabbixServer.database.user must be set to ${user} if services.zabbixServer.database.createLocally is set true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null;
+ message = "a password cannot be specified if services.zabbixServer.database.createLocally is set to true";
+ }
+ ];
- users.users = singleton
- { name = "zabbix";
- uid = config.ids.uids.zabbix;
- description = "Zabbix daemon user";
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPorts = [ cfg.listen.port ];
+ };
+
+ services.mysql = optionalAttrs mysqlLocal {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ services.postgresql = optionalAttrs pgsqlLocal {
+ enable = true;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ users.users.${user} = {
+ description = "Zabbix daemon user";
+ uid = config.ids.uids.zabbix;
+ inherit group;
+ };
+
+ users.groups.${group} = {
+ gid = config.ids.gids.zabbix;
+ };
+
+ security.wrappers = {
+ fping.source = "${pkgs.fping}/bin/fping";
+ };
+
+ systemd.services.zabbix-server = {
+ description = "Zabbix Server";
+
+ wantedBy = [ "multi-user.target" ];
+ after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+
+ path = [ "/run/wrappers" ] ++ cfg.extraPackages;
+ preStart = ''
+ # pre 19.09 compatibility
+ if test -e "${runtimeDir}/db-created"; then
+ mv "${runtimeDir}/db-created" "${stateDir}/"
+ fi
+ '' + optionalString pgsqlLocal ''
+ if ! test -e "${stateDir}/db-created"; then
+ cat ${cfg.package}/share/zabbix/database/postgresql/schema.sql | ${pgsql.package}/bin/psql ${cfg.database.name}
+ cat ${cfg.package}/share/zabbix/database/postgresql/images.sql | ${pgsql.package}/bin/psql ${cfg.database.name}
+ cat ${cfg.package}/share/zabbix/database/postgresql/data.sql | ${pgsql.package}/bin/psql ${cfg.database.name}
+ touch "${stateDir}/db-created"
+ fi
+ '' + optionalString mysqlLocal ''
+ if ! test -e "${stateDir}/db-created"; then
+ cat ${cfg.package}/share/zabbix/database/mysql/schema.sql | ${mysql.package}/bin/mysql ${cfg.database.name}
+ cat ${cfg.package}/share/zabbix/database/mysql/images.sql | ${mysql.package}/bin/mysql ${cfg.database.name}
+ cat ${cfg.package}/share/zabbix/database/mysql/data.sql | ${mysql.package}/bin/mysql ${cfg.database.name}
+ touch "${stateDir}/db-created"
+ fi
+ '' + optionalString (cfg.database.passwordFile != null) ''
+ # create a copy of the supplied password file in a format zabbix can consume
+ touch ${passwordFile}
+ chmod 0600 ${passwordFile}
+ echo -n "DBPassword = " > ${passwordFile}
+ cat ${cfg.database.passwordFile} >> ${passwordFile}
+ '';
+
+ serviceConfig = {
+ ExecStart = "@${cfg.package}/sbin/zabbix_server zabbix_server -f --config ${configFile}";
+ Restart = "always";
+ RestartSec = 2;
+
+ User = user;
+ Group = group;
+ RuntimeDirectory = "zabbix";
+ StateDirectory = "zabbix";
+ PrivateTmp = true;
};
+ };
- systemd.services."zabbix-server" =
- { description = "Zabbix Server";
-
- wantedBy = [ "multi-user.target" ];
- after = optional useLocalPostgres "postgresql.service";
-
- preStart =
- ''
- mkdir -m 0755 -p ${stateDir} ${logDir} ${libDir}
- chown zabbix ${stateDir} ${logDir} ${libDir}
-
- if ! test -e "${libDir}/db-created"; then
- ${pkgs.su}/bin/su -s "$SHELL" ${config.services.postgresql.superUser} -c '${pkgs.postgresql}/bin/createuser --no-superuser --no-createdb --no-createrole zabbix' || true
- ${pkgs.su}/bin/su -s "$SHELL" ${config.services.postgresql.superUser} -c '${pkgs.postgresql}/bin/createdb --owner zabbix zabbix' || true
- cat ${pkgs.zabbix.server}/share/zabbix/db/schema/postgresql.sql | ${pkgs.su}/bin/su -s "$SHELL" zabbix -c '${pkgs.postgresql}/bin/psql zabbix'
- cat ${pkgs.zabbix.server}/share/zabbix/db/data/images_pgsql.sql | ${pkgs.su}/bin/su -s "$SHELL" zabbix -c '${pkgs.postgresql}/bin/psql zabbix'
- cat ${pkgs.zabbix.server}/share/zabbix/db/data/data.sql | ${pkgs.su}/bin/su -s "$SHELL" zabbix -c '${pkgs.postgresql}/bin/psql zabbix'
- touch "${libDir}/db-created"
- fi
- '';
-
- path = [ pkgs.nettools ];
-
- serviceConfig.ExecStart = "@${pkgs.zabbix.server}/sbin/zabbix_server zabbix_server --config ${configFile}";
- serviceConfig.Type = "forking";
- serviceConfig.Restart = "always";
- serviceConfig.RestartSec = 2;
- serviceConfig.PIDFile = pidFile;
- };
+ systemd.services.httpd.after =
+ optional (config.services.zabbixWeb.enable && mysqlLocal) "mysql.service" ++
+ optional (config.services.zabbixWeb.enable && pgsqlLocal) "postgresql.service";
};
diff --git a/nixos/modules/services/network-filesystems/beegfs.nix b/nixos/modules/services/network-filesystems/beegfs.nix
index 86b1bb9160f..2e03a422665 100644
--- a/nixos/modules/services/network-filesystems/beegfs.nix
+++ b/nixos/modules/services/network-filesystems/beegfs.nix
@@ -69,7 +69,7 @@ let
# functions to generate systemd.service entries
systemdEntry = service: cfgFile: (mapAttrs' ( name: cfg:
- (nameValuePair "beegfs-${service}-${name}" (mkIf cfg."${service}".enable {
+ (nameValuePair "beegfs-${service}-${name}" (mkIf cfg.${service}.enable {
wantedBy = [ "multi-user.target" ];
requires = [ "network-online.target" ];
after = [ "network-online.target" ];
diff --git a/nixos/modules/services/network-filesystems/ceph.nix b/nixos/modules/services/network-filesystems/ceph.nix
index 4e3bc839d40..656a2d21b86 100644
--- a/nixos/modules/services/network-filesystems/ceph.nix
+++ b/nixos/modules/services/network-filesystems/ceph.nix
@@ -3,22 +3,22 @@
with lib;
let
- ceph = pkgs.ceph;
cfg = config.services.ceph;
+
# function that translates "camelCaseOptions" to "camel case options", credits to tilpner in #nixos@freenode
- translateOption = replaceStrings upperChars (map (s: " ${s}") lowerChars);
- generateDaemonList = (daemonType: daemons: extraServiceConfig:
- mkMerge (
- map (daemon:
- { "ceph-${daemonType}-${daemon}" = generateServiceFile daemonType daemon cfg.global.clusterName ceph extraServiceConfig; }
- ) daemons
- )
- );
- generateServiceFile = (daemonType: daemonId: clusterName: ceph: extraServiceConfig: {
+ expandCamelCase = replaceStrings upperChars (map (s: " ${s}") lowerChars);
+ expandCamelCaseAttrs = mapAttrs' (name: value: nameValuePair (expandCamelCase name) value);
+
+ makeServices = (daemonType: daemonIds: extraServiceConfig:
+ mkMerge (map (daemonId:
+ { "ceph-${daemonType}-${daemonId}" = makeService daemonType daemonId cfg.global.clusterName pkgs.ceph extraServiceConfig; })
+ daemonIds));
+
+ makeService = (daemonType: daemonId: clusterName: ceph: extraServiceConfig: {
enable = true;
description = "Ceph ${builtins.replaceStrings lowerChars upperChars daemonType} daemon ${daemonId}";
- after = [ "network-online.target" "local-fs.target" "time-sync.target" ] ++ optional (daemonType == "osd") "ceph-mon.target";
- wants = [ "network-online.target" "local-fs.target" "time-sync.target" ];
+ after = [ "network-online.target" "time-sync.target" ] ++ optional (daemonType == "osd") "ceph-mon.target";
+ wants = [ "network-online.target" "time-sync.target" ];
partOf = [ "ceph-${daemonType}.target" ];
wantedBy = [ "ceph-${daemonType}.target" ];
@@ -34,28 +34,34 @@ let
Restart = "on-failure";
StartLimitBurst = "5";
StartLimitInterval = "30min";
- ExecStart = "${ceph.out}/bin/${if daemonType == "rgw" then "radosgw" else "ceph-${daemonType}"} -f --cluster ${clusterName} --id ${if daemonType == "rgw" then "client.${daemonId}" else daemonId} --setuser ceph --setgroup ceph";
+ ExecStart = ''${ceph.out}/bin/${if daemonType == "rgw" then "radosgw" else "ceph-${daemonType}"} \
+ -f --cluster ${clusterName} --id ${daemonId} --setuser ceph \
+ --setgroup ${if daemonType == "osd" then "disk" else "ceph"}'';
} // extraServiceConfig
- // optionalAttrs (daemonType == "osd") { ExecStartPre = "${ceph.out}/libexec/ceph/ceph-osd-prestart.sh --id ${daemonId} --cluster ${clusterName}"; };
- } // optionalAttrs (builtins.elem daemonType [ "mds" "mon" "rgw" "mgr" ]) { preStart = ''
+ // optionalAttrs (daemonType == "osd") { ExecStartPre = ''${ceph.lib}/libexec/ceph/ceph-osd-prestart.sh \
+ --id ${daemonId} --cluster ${clusterName}''; };
+ } // optionalAttrs (builtins.elem daemonType [ "mds" "mon" "rgw" "mgr" ]) {
+ preStart = ''
daemonPath="/var/lib/ceph/${if daemonType == "rgw" then "radosgw" else daemonType}/${clusterName}-${daemonId}"
- if [ ! -d ''$daemonPath ]; then
- mkdir -m 755 -p ''$daemonPath
- chown -R ceph:ceph ''$daemonPath
+ if [ ! -d $daemonPath ]; then
+ mkdir -m 755 -p $daemonPath
+ chown -R ceph:ceph $daemonPath
fi
'';
} // optionalAttrs (daemonType == "osd") { path = [ pkgs.getopt ]; }
);
- generateTargetFile = (daemonType:
+
+ makeTarget = (daemonType:
{
"ceph-${daemonType}" = {
description = "Ceph target allowing to start/stop all ceph-${daemonType} services at once";
partOf = [ "ceph.target" ];
+ wantedBy = [ "ceph.target" ];
before = [ "ceph.target" ];
};
}
);
-in
+in
{
options.services.ceph = {
# Ceph has a monolithic configuration file but different sections for
@@ -82,11 +88,19 @@ in
'';
};
+ mgrModulePath = mkOption {
+ type = types.path;
+ default = "${pkgs.ceph.lib}/lib/ceph/mgr";
+ description = ''
+ Path at which to find ceph-mgr modules.
+ '';
+ };
+
monInitialMembers = mkOption {
type = with types; nullOr commas;
default = null;
example = ''
- node0, node1, node2
+ node0, node1, node2
'';
description = ''
List of hosts that will be used as monitors at startup.
@@ -157,6 +171,27 @@ in
A comma-separated list of subnets that will be used as cluster networks in the cluster.
'';
};
+
+ rgwMimeTypesFile = mkOption {
+ type = with types; nullOr path;
+ default = "${pkgs.mime-types}/etc/mime.types";
+ description = ''
+ Path to mime types used by radosgw.
+ '';
+ };
+ };
+
+ extraConfig = mkOption {
+ type = with types; attrsOf str;
+ default = {};
+ example = ''
+ {
+ "ms bind ipv6" = "true";
+ };
+ '';
+ description = ''
+ Extra configuration to add to the global section. Use for setting values that are common for all daemons in the cluster.
+ '';
};
mgr = {
@@ -216,6 +251,7 @@ in
to the id part in ceph i.e. [ "name1" ] would result in osd.name1
'';
};
+
extraConfig = mkOption {
type = with types; attrsOf str;
default = {
@@ -296,9 +332,6 @@ in
{ assertion = cfg.global.fsid != "";
message = "fsid has to be set to a valid uuid for the cluster to function";
}
- { assertion = cfg.mgr.enable == true;
- message = "ceph 12.x requires atleast 1 MGR daemon enabled for the cluster to function";
- }
{ assertion = cfg.mon.enable == true -> cfg.mon.daemons != [];
message = "have to set id of atleast one MON if you're going to enable Monitor";
}
@@ -313,21 +346,19 @@ in
}
];
- warnings = optional (cfg.global.monInitialMembers == null)
+ warnings = optional (cfg.global.monInitialMembers == null)
''Not setting up a list of members in monInitialMembers requires that you set the host variable for each mon daemon or else the cluster won't function'';
-
+
environment.etc."ceph/ceph.conf".text = let
- # Translate camelCaseOptions to the expected camel case option for ceph.conf
- translatedGlobalConfig = mapAttrs' (name: value: nameValuePair (translateOption name) value) cfg.global;
# Merge the extraConfig set for mgr daemons, as mgr don't have their own section
- globalAndMgrConfig = translatedGlobalConfig // optionalAttrs cfg.mgr.enable cfg.mgr.extraConfig;
+ globalSection = expandCamelCaseAttrs (cfg.global // cfg.extraConfig // optionalAttrs cfg.mgr.enable cfg.mgr.extraConfig);
# Remove all name-value pairs with null values from the attribute set to avoid making empty sections in the ceph.conf
- globalConfig = mapAttrs' (name: value: nameValuePair (translateOption name) value) (filterAttrs (name: value: value != null) globalAndMgrConfig);
+ globalSection' = filterAttrs (name: value: value != null) globalSection;
totalConfig = {
- "global" = globalConfig;
- } // optionalAttrs (cfg.mon.enable && cfg.mon.extraConfig != {}) { "mon" = cfg.mon.extraConfig; }
- // optionalAttrs (cfg.mds.enable && cfg.mds.extraConfig != {}) { "mds" = cfg.mds.extraConfig; }
- // optionalAttrs (cfg.osd.enable && cfg.osd.extraConfig != {}) { "osd" = cfg.osd.extraConfig; }
+ global = globalSection';
+ } // optionalAttrs (cfg.mon.enable && cfg.mon.extraConfig != {}) { mon = cfg.mon.extraConfig; }
+ // optionalAttrs (cfg.mds.enable && cfg.mds.extraConfig != {}) { mds = cfg.mds.extraConfig; }
+ // optionalAttrs (cfg.osd.enable && cfg.osd.extraConfig != {}) { osd = cfg.osd.extraConfig; }
// optionalAttrs (cfg.client.enable && cfg.client.extraConfig != {}) cfg.client.extraConfig;
in
generators.toINI {} totalConfig;
@@ -336,31 +367,36 @@ in
name = "ceph";
uid = config.ids.uids.ceph;
description = "Ceph daemon user";
+ group = "ceph";
+ extraGroups = [ "disk" ];
};
-
users.groups = singleton {
name = "ceph";
gid = config.ids.gids.ceph;
};
systemd.services = let
- services = []
- ++ optional cfg.mon.enable (generateDaemonList "mon" cfg.mon.daemons { RestartSec = "10"; })
- ++ optional cfg.mds.enable (generateDaemonList "mds" cfg.mds.daemons { StartLimitBurst = "3"; })
- ++ optional cfg.osd.enable (generateDaemonList "osd" cfg.osd.daemons { StartLimitBurst = "30"; RestartSec = "20s"; })
- ++ optional cfg.rgw.enable (generateDaemonList "rgw" cfg.rgw.daemons { })
- ++ optional cfg.mgr.enable (generateDaemonList "mgr" cfg.mgr.daemons { StartLimitBurst = "3"; });
- in
+ services = []
+ ++ optional cfg.mon.enable (makeServices "mon" cfg.mon.daemons { RestartSec = "10"; })
+ ++ optional cfg.mds.enable (makeServices "mds" cfg.mds.daemons { StartLimitBurst = "3"; })
+ ++ optional cfg.osd.enable (makeServices "osd" cfg.osd.daemons { StartLimitBurst = "30";
+ RestartSec = "20s";
+ PrivateDevices = "no"; # osd needs disk access
+ })
+ ++ optional cfg.rgw.enable (makeServices "rgw" cfg.rgw.daemons { })
+ ++ optional cfg.mgr.enable (makeServices "mgr" cfg.mgr.daemons { StartLimitBurst = "3"; });
+ in
mkMerge services;
systemd.targets = let
targets = [
- { "ceph" = { description = "Ceph target allowing to start/stop all ceph service instances at once"; }; }
- ] ++ optional cfg.mon.enable (generateTargetFile "mon")
- ++ optional cfg.mds.enable (generateTargetFile "mds")
- ++ optional cfg.osd.enable (generateTargetFile "osd")
- ++ optional cfg.rgw.enable (generateTargetFile "rgw")
- ++ optional cfg.mgr.enable (generateTargetFile "mgr");
+ { ceph = { description = "Ceph target allowing to start/stop all ceph service instances at once";
+ wantedBy = [ "multi-user.target" ]; }; }
+ ] ++ optional cfg.mon.enable (makeTarget "mon")
+ ++ optional cfg.mds.enable (makeTarget "mds")
+ ++ optional cfg.osd.enable (makeTarget "osd")
+ ++ optional cfg.rgw.enable (makeTarget "rgw")
+ ++ optional cfg.mgr.enable (makeTarget "mgr");
in
mkMerge targets;
diff --git a/nixos/modules/services/network-filesystems/davfs2.nix b/nixos/modules/services/network-filesystems/davfs2.nix
index c16e12378d7..100d458d536 100644
--- a/nixos/modules/services/network-filesystems/davfs2.nix
+++ b/nixos/modules/services/network-filesystems/davfs2.nix
@@ -21,7 +21,7 @@ in
};
davUser = mkOption {
- type = types.string;
+ type = types.str;
default = "davfs2";
description = ''
When invoked by root the mount.davfs daemon will run as this user.
@@ -30,7 +30,7 @@ in
};
davGroup = mkOption {
- type = types.string;
+ type = types.str;
default = "davfs2";
description = ''
The group of the running mount.davfs daemon. Ordinary users must be
diff --git a/nixos/modules/services/network-filesystems/drbd.nix b/nixos/modules/services/network-filesystems/drbd.nix
index 57b1fbb597c..4ab74ed8e1c 100644
--- a/nixos/modules/services/network-filesystems/drbd.nix
+++ b/nixos/modules/services/network-filesystems/drbd.nix
@@ -23,7 +23,7 @@ let cfg = config.services.drbd; in
services.drbd.config = mkOption {
default = "";
- type = types.string;
+ type = types.lines;
description = ''
Contents of the drbd.conf configuration file.
'';
diff --git a/nixos/modules/services/network-filesystems/glusterfs.nix b/nixos/modules/services/network-filesystems/glusterfs.nix
index 00875c6c4a1..d70092999f6 100644
--- a/nixos/modules/services/network-filesystems/glusterfs.nix
+++ b/nixos/modules/services/network-filesystems/glusterfs.nix
@@ -156,7 +156,7 @@ in
wantedBy = [ "multi-user.target" ];
requires = lib.optional cfg.useRpcbind "rpcbind.service";
- after = [ "network.target" "local-fs.target" ] ++ lib.optional cfg.useRpcbind "rpcbind.service";
+ after = [ "network.target" ] ++ lib.optional cfg.useRpcbind "rpcbind.service";
preStart = ''
install -m 0755 -d /var/log/glusterfs
diff --git a/nixos/modules/services/network-filesystems/ipfs.nix b/nixos/modules/services/network-filesystems/ipfs.nix
index f19bf9d8139..b6d881afd7b 100644
--- a/nixos/modules/services/network-filesystems/ipfs.nix
+++ b/nixos/modules/services/network-filesystems/ipfs.nix
@@ -208,9 +208,9 @@ in {
config = mkIf cfg.enable {
environment.systemPackages = [ wrapped ];
- environment.etc."fuse.conf" = mkIf cfg.autoMount { text = ''
- user_allow_other
- ''; };
+ programs.fuse = mkIf cfg.autoMount {
+ userAllowOther = true;
+ };
users.users = mkIf (cfg.user == "ipfs") {
ipfs = {
@@ -236,7 +236,6 @@ in {
systemd.services.ipfs-init = recursiveUpdate commonEnv {
description = "IPFS Initializer";
- after = [ "local-fs.target" ];
before = [ "ipfs.service" "ipfs-offline.service" "ipfs-norouting.service" ];
script = ''
@@ -263,21 +262,21 @@ in {
systemd.services.ipfs = recursiveUpdate baseService {
description = "IPFS Daemon";
wantedBy = mkIf (cfg.defaultMode == "online") [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" "ipfs-init.service" ];
+ after = [ "network.target" "ipfs-init.service" ];
conflicts = [ "ipfs-offline.service" "ipfs-norouting.service"];
};
systemd.services.ipfs-offline = recursiveUpdate baseService {
description = "IPFS Daemon (offline mode)";
wantedBy = mkIf (cfg.defaultMode == "offline") [ "multi-user.target" ];
- after = [ "local-fs.target" "ipfs-init.service" ];
+ after = [ "ipfs-init.service" ];
conflicts = [ "ipfs.service" "ipfs-norouting.service"];
};
systemd.services.ipfs-norouting = recursiveUpdate baseService {
description = "IPFS Daemon (no routing mode)";
wantedBy = mkIf (cfg.defaultMode == "norouting") [ "multi-user.target" ];
- after = [ "local-fs.target" "ipfs-init.service" ];
+ after = [ "ipfs-init.service" ];
conflicts = [ "ipfs.service" "ipfs-offline.service"];
};
diff --git a/nixos/modules/services/network-filesystems/kbfs.nix b/nixos/modules/services/network-filesystems/kbfs.nix
index 7b2eea3b585..263b70d04a5 100644
--- a/nixos/modules/services/network-filesystems/kbfs.nix
+++ b/nixos/modules/services/network-filesystems/kbfs.nix
@@ -48,6 +48,7 @@ in {
requires = [ "keybase.service" ];
after = [ "keybase.service" ];
path = [ "/run/wrappers" ];
+ unitConfig.ConditionUser = "!@system";
serviceConfig = {
ExecStartPre = "${pkgs.coreutils}/bin/mkdir -p ${cfg.mountPoint}";
ExecStart = "${pkgs.kbfs}/bin/kbfsfuse ${toString cfg.extraFlags} ${cfg.mountPoint}";
diff --git a/nixos/modules/services/network-filesystems/openafs/lib.nix b/nixos/modules/services/network-filesystems/openafs/lib.nix
index 1cc9bed847a..e068ee761c2 100644
--- a/nixos/modules/services/network-filesystems/openafs/lib.nix
+++ b/nixos/modules/services/network-filesystems/openafs/lib.nix
@@ -3,7 +3,7 @@
let
inherit (lib) concatStringsSep mkOption types;
-in rec {
+in {
mkCellServDB = cellName: db: ''
>${cellName}
diff --git a/nixos/modules/services/network-filesystems/rsyncd.nix b/nixos/modules/services/network-filesystems/rsyncd.nix
index 054057d52ab..b17ec3aa930 100644
--- a/nixos/modules/services/network-filesystems/rsyncd.nix
+++ b/nixos/modules/services/network-filesystems/rsyncd.nix
@@ -35,7 +35,7 @@ in
};
motd = mkOption {
- type = types.string;
+ type = types.str;
default = "";
description = ''
Message of the day to display to clients on each connect.
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix
index 10dc5831121..055508a3224 100644
--- a/nixos/modules/services/network-filesystems/samba.nix
+++ b/nixos/modules/services/network-filesystems/samba.nix
@@ -86,10 +86,10 @@ in
If you use the firewall consider adding the following:
-
- networking.firewall.allowedTCPPorts = [ 139 445 ];
- networking.firewall.allowedUDPPorts = [ 137 138 ];
-
+
+ networking.firewall.allowedTCPPorts = [ 139 445 ];
+ networking.firewall.allowedUDPPorts = [ 137 138 ];
+
'';
};
@@ -234,10 +234,10 @@ in
# Refer to https://github.com/samba-team/samba/tree/master/packaging/systemd
# for correct use with systemd
services = {
- "samba-smbd" = daemonService "smbd" "";
- "samba-nmbd" = mkIf cfg.enableNmbd (daemonService "nmbd" "");
- "samba-winbindd" = mkIf cfg.enableWinbindd (daemonService "winbindd" "");
- "samba-setup" = {
+ samba-smbd = daemonService "smbd" "";
+ samba-nmbd = mkIf cfg.enableNmbd (daemonService "nmbd" "");
+ samba-winbindd = mkIf cfg.enableWinbindd (daemonService "winbindd" "");
+ samba-setup = {
description = "Samba Setup Task";
script = setupScript;
unitConfig.RequiresMountsFor = "/var/lib/samba";
diff --git a/nixos/modules/services/network-filesystems/u9fs.nix b/nixos/modules/services/network-filesystems/u9fs.nix
index 4f37fc2a9e5..77961b78cad 100644
--- a/nixos/modules/services/network-filesystems/u9fs.nix
+++ b/nixos/modules/services/network-filesystems/u9fs.nix
@@ -55,6 +55,7 @@ in
sockets.u9fs = {
description = "U9fs Listening Socket";
wantedBy = [ "sockets.target" ];
+ after = [ "network.target" ];
inherit (cfg) listenStreams;
socketConfig.Accept = "yes";
};
diff --git a/nixos/modules/services/network-filesystems/yandex-disk.nix b/nixos/modules/services/network-filesystems/yandex-disk.nix
index e93f45b4986..0aa01ef9e6d 100644
--- a/nixos/modules/services/network-filesystems/yandex-disk.nix
+++ b/nixos/modules/services/network-filesystems/yandex-disk.nix
@@ -29,7 +29,7 @@ in
username = mkOption {
default = "";
- type = types.string;
+ type = types.str;
description = ''
Your yandex.com login name.
'';
@@ -37,7 +37,7 @@ in
password = mkOption {
default = "";
- type = types.string;
+ type = types.str;
description = ''
Your yandex.com password. Warning: it will be world-readable in /nix/store.
'';
@@ -57,7 +57,7 @@ in
excludes = mkOption {
default = "";
- type = types.string;
+ type = types.commas;
example = "data,backup";
description = ''
Comma-separated list of directories which are excluded from synchronization.
diff --git a/nixos/modules/services/networking/aria2.nix b/nixos/modules/services/networking/aria2.nix
index 98eb0086101..156fef14479 100644
--- a/nixos/modules/services/networking/aria2.nix
+++ b/nixos/modules/services/networking/aria2.nix
@@ -47,8 +47,8 @@ in
'';
};
downloadDir = mkOption {
- type = types.string;
- default = "${downloadDir}";
+ type = types.path;
+ default = downloadDir;
description = ''
Directory to store downloaded files.
'';
@@ -66,7 +66,7 @@ in
description = "Specify a port number for JSON-RPC/XML-RPC server to listen to. Possible Values: 1024-65535";
};
rpcSecret = mkOption {
- type = types.string;
+ type = types.str;
default = "aria2rpc";
description = ''
Set RPC secret authorization token.
@@ -74,7 +74,7 @@ in
'';
};
extraArguments = mkOption {
- type = types.string;
+ type = types.separatedString " ";
example = "--rpc-listen-all --remote-time=true";
default = "";
description = ''
@@ -102,22 +102,19 @@ in
users.groups.aria2.gid = config.ids.gids.aria2;
+ systemd.tmpfiles.rules = [
+ "d '${homeDir}' 0770 aria2 aria2 - -"
+ "d '${config.services.aria2.downloadDir}' 0770 aria2 aria2 - -"
+ ];
+
systemd.services.aria2 = {
description = "aria2 Service";
- after = [ "local-fs.target" "network.target" ];
+ after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
preStart = ''
- mkdir -m 0770 -p "${homeDir}"
- chown aria2:aria2 "${homeDir}"
- if [[ ! -d "${config.services.aria2.downloadDir}" ]]
- then
- mkdir -m 0770 -p "${config.services.aria2.downloadDir}"
- chown aria2:aria2 "${config.services.aria2.downloadDir}"
- fi
if [[ ! -e "${sessionFile}" ]]
then
touch "${sessionFile}"
- chown aria2:aria2 "${sessionFile}"
fi
cp -f "${settingsFile}" "${settingsDir}/aria2.conf"
'';
@@ -128,7 +125,6 @@ in
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
User = "aria2";
Group = "aria2";
- PermissionsStartOnly = true;
};
};
};
diff --git a/nixos/modules/services/networking/autossh.nix b/nixos/modules/services/networking/autossh.nix
index 9ea17469870..a8d9a027e9f 100644
--- a/nixos/modules/services/networking/autossh.nix
+++ b/nixos/modules/services/networking/autossh.nix
@@ -20,12 +20,12 @@ in
type = types.listOf (types.submodule {
options = {
name = mkOption {
- type = types.string;
+ type = types.str;
example = "socks-peer";
description = "Name of the local AutoSSH session";
};
user = mkOption {
- type = types.string;
+ type = types.str;
example = "bill";
description = "Name of the user the AutoSSH session should run as";
};
@@ -40,7 +40,7 @@ in
'';
};
extraArguments = mkOption {
- type = types.string;
+ type = types.separatedString " ";
example = "-N -D4343 bill@socks.example.net";
description = ''
Arguments to be passed to AutoSSH and retransmitted to SSH
@@ -99,7 +99,6 @@ in
serviceConfig = {
User = "${s.user}";
- PermissionsStartOnly = true;
# AutoSSH may exit with 0 code if the SSH session was
# gracefully terminated by either local or remote side.
Restart = "on-success";
diff --git a/nixos/modules/services/networking/avahi-daemon.nix b/nixos/modules/services/networking/avahi-daemon.nix
index 4c91a0c415b..ddcfe3d77e2 100644
--- a/nixos/modules/services/networking/avahi-daemon.nix
+++ b/nixos/modules/services/networking/avahi-daemon.nix
@@ -1,10 +1,8 @@
-# Avahi daemon.
{ config, lib, pkgs, ... }:
with lib;
let
-
cfg = config.services.avahi;
yesNo = yes : if yes then "yes" else "no";
@@ -39,215 +37,245 @@ let
enable-reflector=${yesNo reflector}
${extraConfig}
'';
-
in
-
{
-
- ###### interface
-
- options = {
-
- services.avahi = {
-
- enable = mkOption {
- default = false;
- description = ''
- Whether to run the Avahi daemon, which allows Avahi clients
- to use Avahi's service discovery facilities and also allows
- the local machine to advertise its presence and services
- (through the mDNS responder implemented by `avahi-daemon').
- '';
- };
-
- hostName = mkOption {
- type = types.str;
- description = ''
- Host name advertised on the LAN. If not set, avahi will use the value
- of config.networking.hostName.
- '';
- };
-
- domainName = mkOption {
- type = types.str;
- default = "local";
- description = ''
- Domain name for all advertisements.
- '';
- };
-
- browseDomains = mkOption {
- default = [ ];
- example = [ "0pointer.de" "zeroconf.org" ];
- description = ''
- List of non-local DNS domains to be browsed.
- '';
- };
-
- ipv4 = mkOption {
- default = true;
- description = ''Whether to use IPv4'';
- };
-
- ipv6 = mkOption {
- default = false;
- description = ''Whether to use IPv6'';
- };
-
- interfaces = mkOption {
- type = types.nullOr (types.listOf types.str);
- default = null;
- description = ''
- List of network interfaces that should be used by the avahi-daemon.
- Other interfaces will be ignored. If null all local interfaces
- except loopback and point-to-point will be used.
- '';
- };
-
- allowPointToPoint = mkOption {
- default = false;
- description= ''
- Whether to use POINTTOPOINT interfaces. Might make mDNS unreliable due to usually large
- latencies with such links and opens a potential security hole by allowing mDNS access from Internet
- connections. Use with care and YMMV!
- '';
- };
-
- wideArea = mkOption {
- default = true;
- description = ''Whether to enable wide-area service discovery.'';
- };
-
- reflector = mkOption {
- default = false;
- description = ''Reflect incoming mDNS requests to all allowed network interfaces.'';
- };
-
- publish = {
- enable = mkOption {
- default = false;
- description = ''Whether to allow publishing in general.'';
- };
-
- userServices = mkOption {
- default = false;
- description = ''Whether to publish user services. Will set addresses=true.'';
- };
-
- addresses = mkOption {
- default = false;
- description = ''Whether to register mDNS address records for all local IP addresses.'';
- };
-
- hinfo = mkOption {
- default = false;
- description = ''
- Whether to register an mDNS HINFO record which contains information about the
- local operating system and CPU.
- '';
- };
-
- workstation = mkOption {
- default = false;
- description = ''Whether to register a service of type "_workstation._tcp" on the local LAN.'';
- };
-
- domain = mkOption {
- default = false;
- description = ''Whether to announce the locally used domain name for browsing by other hosts.'';
- };
-
- };
-
- nssmdns = mkOption {
- default = false;
- description = ''
- Whether to enable the mDNS NSS (Name Service Switch) plug-in.
- Enabling it allows applications to resolve names in the `.local'
- domain by transparently querying the Avahi daemon.
- '';
- };
-
- cacheEntriesMax = mkOption {
- default = null;
- type = types.nullOr types.int;
- description = ''
- Number of resource records to be cached per interface. Use 0 to
- disable caching. Avahi daemon defaults to 4096 if not set.
- '';
- };
-
- extraConfig = mkOption {
- default = "";
- type = types.lines;
- description = ''
- Extra config to append to avahi-daemon.conf.
- '';
- };
-
+ options.services.avahi = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to run the Avahi daemon, which allows Avahi clients
+ to use Avahi's service discovery facilities and also allows
+ the local machine to advertise its presence and services
+ (through the mDNS responder implemented by `avahi-daemon').
+ '';
};
+ hostName = mkOption {
+ type = types.str;
+ default = config.networking.hostName;
+ defaultText = literalExample "config.networking.hostName";
+ description = ''
+ Host name advertised on the LAN. If not set, avahi will use the value
+ of .
+ '';
+ };
+
+ domainName = mkOption {
+ type = types.str;
+ default = "local";
+ description = ''
+ Domain name for all advertisements.
+ '';
+ };
+
+ browseDomains = mkOption {
+ type = types.listOf types.str;
+ default = [ ];
+ example = [ "0pointer.de" "zeroconf.org" ];
+ description = ''
+ List of non-local DNS domains to be browsed.
+ '';
+ };
+
+ ipv4 = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Whether to use IPv4.";
+ };
+
+ ipv6 = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Whether to use IPv6.";
+ };
+
+ interfaces = mkOption {
+ type = types.nullOr (types.listOf types.str);
+ default = null;
+ description = ''
+ List of network interfaces that should be used by the avahi-daemon.
+ Other interfaces will be ignored. If null, all local interfaces
+ except loopback and point-to-point will be used.
+ '';
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Whether to open the firewall for UDP port 5353.
+ '';
+ };
+
+ allowPointToPoint = mkOption {
+ type = types.bool;
+ default = false;
+ description= ''
+ Whether to use POINTTOPOINT interfaces. Might make mDNS unreliable due to usually large
+ latencies with such links and opens a potential security hole by allowing mDNS access from Internet
+ connections.
+ '';
+ };
+
+ wideArea = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Whether to enable wide-area service discovery.";
+ };
+
+ reflector = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Reflect incoming mDNS requests to all allowed network interfaces.";
+ };
+
+ extraServiceFiles = mkOption {
+ type = with types; attrsOf (either str path);
+ default = {};
+ example = literalExample ''
+ {
+ ssh = "''${pkgs.avahi}/etc/avahi/services/ssh.service";
+ smb = '''
+
+
+
+ %h
+
+ _smb._tcp
+ 445
+
+
+ ''';
+ }
+ '';
+ description = ''
+ Specify custom service definitions which are placed in the avahi service directory.
+ See the avahi.service
+ 5 manpage for detailed information.
+ '';
+ };
+
+ publish = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Whether to allow publishing in general.";
+ };
+
+ userServices = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Whether to publish user services. Will set addresses=true.";
+ };
+
+ addresses = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Whether to register mDNS address records for all local IP addresses.";
+ };
+
+ hinfo = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to register a mDNS HINFO record which contains information about the
+ local operating system and CPU.
+ '';
+ };
+
+ workstation = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to register a service of type "_workstation._tcp" on the local LAN.
+ '';
+ };
+
+ domain = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Whether to announce the locally used domain name for browsing by other hosts.";
+ };
+ };
+
+ nssmdns = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to enable the mDNS NSS (Name Service Switch) plug-in.
+ Enabling it allows applications to resolve names in the `.local'
+ domain by transparently querying the Avahi daemon.
+ '';
+ };
+
+ cacheEntriesMax = mkOption {
+ type = types.nullOr types.int;
+ default = null;
+ description = ''
+ Number of resource records to be cached per interface. Use 0 to
+ disable caching. Avahi daemon defaults to 4096 if not set.
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = types.lines;
+ default = "";
+ description = ''
+ Extra config to append to avahi-daemon.conf.
+ '';
+ };
};
-
- ###### implementation
-
config = mkIf cfg.enable {
+ users.users.avahi = {
+ description = "avahi-daemon privilege separation user";
+ home = "/var/empty";
+ group = "avahi";
+ isSystemUser = true;
+ };
- services.avahi.hostName = mkDefault config.networking.hostName;
-
- users.users = singleton
- { name = "avahi";
- uid = config.ids.uids.avahi;
- description = "`avahi-daemon' privilege separation user";
- home = "/var/empty";
- };
-
- users.groups = singleton
- { name = "avahi";
- gid = config.ids.gids.avahi;
- };
+ users.groups.avahi = {};
system.nssModules = optional cfg.nssmdns pkgs.nssmdns;
environment.systemPackages = [ pkgs.avahi ];
- systemd.sockets.avahi-daemon =
- { description = "Avahi mDNS/DNS-SD Stack Activation Socket";
- listenStreams = [ "/run/avahi-daemon/socket" ];
- wantedBy = [ "sockets.target" ];
- };
+ environment.etc = (mapAttrs' (n: v: nameValuePair
+ "avahi/services/${n}.service"
+ { ${if types.path.check v then "source" else "text"} = v; }
+ ) cfg.extraServiceFiles);
- systemd.services.avahi-daemon =
- { description = "Avahi mDNS/DNS-SD Stack";
- wantedBy = [ "multi-user.target" ];
- requires = [ "avahi-daemon.socket" ];
+ systemd.sockets.avahi-daemon = {
+ description = "Avahi mDNS/DNS-SD Stack Activation Socket";
+ listenStreams = [ "/run/avahi-daemon/socket" ];
+ wantedBy = [ "sockets.target" ];
+ };
- serviceConfig."NotifyAccess" = "main";
- serviceConfig."BusName" = "org.freedesktop.Avahi";
- serviceConfig."Type" = "dbus";
+ systemd.tmpfiles.rules = [ "d /run/avahi-daemon - avahi avahi -" ];
- path = [ pkgs.coreutils pkgs.avahi ];
+ systemd.services.avahi-daemon = {
+ description = "Avahi mDNS/DNS-SD Stack";
+ wantedBy = [ "multi-user.target" ];
+ requires = [ "avahi-daemon.socket" ];
- preStart = "mkdir -p /run/avahi-daemon";
+ # Make NSS modules visible so that `avahi_nss_support ()' can
+ # return a sensible value.
+ environment.LD_LIBRARY_PATH = config.system.nssModules.path;
- script =
- ''
- # Make NSS modules visible so that `avahi_nss_support ()' can
- # return a sensible value.
- export LD_LIBRARY_PATH="${config.system.nssModules.path}"
+ path = [ pkgs.coreutils pkgs.avahi ];
- exec ${pkgs.avahi}/sbin/avahi-daemon --syslog -f "${avahiDaemonConf}"
- '';
+ serviceConfig = {
+ NotifyAccess = "main";
+ BusName = "org.freedesktop.Avahi";
+ Type = "dbus";
+ ExecStart = "${pkgs.avahi}/sbin/avahi-daemon --syslog -f ${avahiDaemonConf}";
};
+ };
services.dbus.enable = true;
services.dbus.packages = [ pkgs.avahi ];
- # Enabling Avahi without exposing it in the firewall doesn't make
- # sense.
- networking.firewall.allowedUDPPorts = [ 5353 ];
-
+ networking.firewall.allowedUDPPorts = mkIf cfg.openFirewall [ 5353 ];
};
-
}
diff --git a/nixos/modules/services/networking/babeld.nix b/nixos/modules/services/networking/babeld.nix
index 3dfd80f6ff5..de863461eab 100644
--- a/nixos/modules/services/networking/babeld.nix
+++ b/nixos/modules/services/networking/babeld.nix
@@ -52,7 +52,7 @@ in
example =
{
type = "tunnel";
- "split-horizon" = true;
+ split-horizon = true;
};
};
@@ -66,8 +66,8 @@ in
example =
{ enp0s2 =
{ type = "wired";
- "hello-interval" = 5;
- "split-horizon" = "auto";
+ hello-interval = 5;
+ split-horizon = "auto";
};
};
};
diff --git a/nixos/modules/services/networking/bind.nix b/nixos/modules/services/networking/bind.nix
index 98486cefd52..06af4dbcca4 100644
--- a/nixos/modules/services/networking/bind.nix
+++ b/nixos/modules/services/networking/bind.nix
@@ -33,7 +33,7 @@ let
${cfg.extraConfig}
${ concatMapStrings
- ({ name, file, master ? true, slaves ? [], masters ? [] }:
+ ({ name, file, master ? true, slaves ? [], masters ? [], extraConfig ? "" }:
''
zone "${name}" {
type ${if master then "master" else "slave"};
@@ -52,6 +52,7 @@ let
''
}
allow-query { any; };
+ ${extraConfig}
};
'')
cfg.zones }
@@ -131,6 +132,7 @@ in
file = "/var/dns/example.com";
masters = ["192.168.0.1"];
slaves = [];
+ extraConfig = "";
}];
};
@@ -168,7 +170,9 @@ in
###### implementation
- config = mkIf config.services.bind.enable {
+ config = mkIf cfg.enable {
+
+ networking.resolvconf.useLocalResolver = mkDefault true;
users.users = singleton
{ name = bindUser;
@@ -184,7 +188,7 @@ in
preStart = ''
mkdir -m 0755 -p /etc/bind
if ! [ -f "/etc/bind/rndc.key" ]; then
- ${pkgs.bind.out}/sbin/rndc-confgen -r /dev/urandom -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
+ ${pkgs.bind.out}/sbin/rndc-confgen -c /etc/bind/rndc.key -u ${bindUser} -a -A hmac-sha256 2>/dev/null
fi
${pkgs.coreutils}/bin/mkdir -p /run/named
diff --git a/nixos/modules/services/networking/bird.nix b/nixos/modules/services/networking/bird.nix
index 555733aab7c..4ae35875c0f 100644
--- a/nixos/modules/services/networking/bird.nix
+++ b/nixos/modules/services/networking/bird.nix
@@ -14,15 +14,6 @@ let
bird6 = "1.9.x with IPv6 suport";
bird2 = "2.x";
}.${variant};
- configFile = pkgs.stdenv.mkDerivation {
- name = "${variant}.conf";
- text = cfg.config;
- preferLocalBuild = true;
- buildCommand = ''
- echo -n "$text" > $out
- ${pkg}/bin/${birdBin} -d -p -c $out
- '';
- };
in {
###### interface
options = {
@@ -41,14 +32,24 @@ let
###### implementation
config = mkIf cfg.enable {
environment.systemPackages = [ pkg ];
+
+ environment.etc."bird/${variant}.conf".source = pkgs.writeTextFile {
+ name = "${variant}.conf";
+ text = cfg.config;
+ checkPhase = ''
+ ${pkg}/bin/${birdBin} -d -p -c $out
+ '';
+ };
+
systemd.services.${variant} = {
description = "BIRD Internet Routing Daemon (${descr})";
wantedBy = [ "multi-user.target" ];
reloadIfChanged = true;
+ restartTriggers = [ config.environment.etc."bird/${variant}.conf".source ];
serviceConfig = {
Type = "forking";
Restart = "on-failure";
- ExecStart = "${pkg}/bin/${birdBin} -c ${configFile} -u ${variant} -g ${variant}";
+ ExecStart = "${pkg}/bin/${birdBin} -c /etc/bird/${variant}.conf -u ${variant} -g ${variant}";
ExecReload = "${pkg}/bin/${birdc} configure";
ExecStop = "${pkg}/bin/${birdc} down";
CapabilityBoundingSet = [ "CAP_CHOWN" "CAP_FOWNER" "CAP_DAC_OVERRIDE" "CAP_SETUID" "CAP_SETGID"
diff --git a/nixos/modules/services/networking/bitcoind.nix b/nixos/modules/services/networking/bitcoind.nix
index e9426556459..1439d739da9 100644
--- a/nixos/modules/services/networking/bitcoind.nix
+++ b/nixos/modules/services/networking/bitcoind.nix
@@ -28,7 +28,7 @@ let
"-datadir=${cfg.dataDir}"
"-pid=${pidFile}"
];
- hexStr = types.strMatching "[0-9a-f]+";
+
rpcUserOpts = { name, ... }: {
options = {
name = mkOption {
@@ -59,8 +59,8 @@ in {
package = mkOption {
type = types.package;
- default = pkgs.altcoins.bitcoind;
- defaultText = "pkgs.altcoins.bitcoind";
+ default = pkgs.bitcoind;
+ defaultText = "pkgs.bitcoind";
description = "The package providing bitcoin binaries.";
};
configFile = mkOption {
diff --git a/nixos/modules/services/networking/btsync.nix b/nixos/modules/services/networking/btsync.nix
deleted file mode 100644
index 33e85ef58e6..00000000000
--- a/nixos/modules/services/networking/btsync.nix
+++ /dev/null
@@ -1,324 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- cfg = config.services.btsync;
-
- bittorrentSync = cfg.package;
-
- listenAddr = cfg.httpListenAddr + ":" + (toString cfg.httpListenPort);
-
- optionalEmptyStr = b: v: optionalString (b != "") v;
-
- webUIConfig = optionalString cfg.enableWebUI
- ''
- "webui":
- {
- ${optionalEmptyStr cfg.httpLogin "\"login\": \"${cfg.httpLogin}\","}
- ${optionalEmptyStr cfg.httpPass "\"password\": \"${cfg.httpPass}\","}
- ${optionalEmptyStr cfg.apiKey "\"api_key\": \"${cfg.apiKey}\","}
- ${optionalEmptyStr cfg.directoryRoot "\"directory_root\": \"${cfg.directoryRoot}\","}
- "listen": "${listenAddr}"
- }
- '';
-
- knownHosts = e:
- optionalString (e ? "knownHosts")
- (concatStringsSep "," (map (v: "\"${v}\"") e."knownHosts"));
-
- sharedFoldersRecord =
- concatStringsSep "," (map (entry:
- let helper = attr: v:
- if (entry ? attr) then boolToString entry.attr else boolToString v;
- in
- ''
- {
- "secret": "${entry.secret}",
- "dir": "${entry.directory}",
-
- "use_relay_server": ${helper "useRelayServer" true},
- "use_tracker": ${helper "useTracker" true},
- "use_dht": ${helper "useDHT" false},
-
- "search_lan": ${helper "searchLAN" true},
- "use_sync_trash": ${helper "useSyncTrash" true},
-
- "known_hosts": [${knownHosts entry}]
- }
- '') cfg.sharedFolders);
-
- sharedFoldersConfig = optionalString (cfg.sharedFolders != [])
- ''
- "shared_folders":
- [
- ${sharedFoldersRecord}
- ]
- '';
-
- configFile = pkgs.writeText "btsync.config"
- ''
- {
- "device_name": "${cfg.deviceName}",
- "storage_path": "${cfg.storagePath}",
- "listening_port": ${toString cfg.listeningPort},
- "use_gui": false,
-
- "check_for_updates": ${boolToString cfg.checkForUpdates},
- "use_upnp": ${boolToString cfg.useUpnp},
- "download_limit": ${toString cfg.downloadLimit},
- "upload_limit": ${toString cfg.uploadLimit},
- "lan_encrypt_data": ${boolToString cfg.encryptLAN},
-
- ${webUIConfig}
- ${sharedFoldersConfig}
- }
- '';
-in
-{
- options = {
- services.btsync = {
- enable = mkOption {
- type = types.bool;
- default = false;
- description = ''
- If enabled, start the Bittorrent Sync daemon. Once enabled, you can
- interact with the service through the Web UI, or configure it in your
- NixOS configuration. Enabling the btsync service
- also installs a systemd user unit which can be used to start
- user-specific copies of the daemon. Once installed, you can use
- systemctl --user start btsync as your user to start
- the daemon using the configuration file located at
- $HOME/.config/btsync.conf.
- '';
- };
-
- deviceName = mkOption {
- type = types.str;
- example = "Voltron";
- description = ''
- Name of the Bittorrent Sync device.
- '';
- };
-
- listeningPort = mkOption {
- type = types.int;
- default = 0;
- example = 44444;
- description = ''
- Listening port. Defaults to 0 which randomizes the port.
- '';
- };
-
- checkForUpdates = mkOption {
- type = types.bool;
- default = true;
- description = ''
- Determines whether to check for updates and alert the user
- about them in the UI.
- '';
- };
-
- useUpnp = mkOption {
- type = types.bool;
- default = true;
- description = ''
- Use Universal Plug-n-Play (UPnP)
- '';
- };
-
- downloadLimit = mkOption {
- type = types.int;
- default = 0;
- example = 1024;
- description = ''
- Download speed limit. 0 is unlimited (default).
- '';
- };
-
- uploadLimit = mkOption {
- type = types.int;
- default = 0;
- example = 1024;
- description = ''
- Upload speed limit. 0 is unlimited (default).
- '';
- };
-
- httpListenAddr = mkOption {
- type = types.str;
- default = "0.0.0.0";
- example = "1.2.3.4";
- description = ''
- HTTP address to bind to.
- '';
- };
-
- httpListenPort = mkOption {
- type = types.int;
- default = 9000;
- description = ''
- HTTP port to bind on.
- '';
- };
-
- httpLogin = mkOption {
- type = types.str;
- example = "allyourbase";
- default = "";
- description = ''
- HTTP web login username.
- '';
- };
-
- httpPass = mkOption {
- type = types.str;
- example = "arebelongtous";
- default = "";
- description = ''
- HTTP web login password.
- '';
- };
-
- encryptLAN = mkOption {
- type = types.bool;
- default = true;
- description = "Encrypt LAN data.";
- };
-
- enableWebUI = mkOption {
- type = types.bool;
- default = false;
- description = ''
- Enable Web UI for administration. Bound to the specified
- httpListenAddress and
- httpListenPort.
- '';
- };
-
- package = mkOption {
- type = types.package;
- example = literalExample "pkgs.bittorrentSync20";
- description = ''
- Branch of bittorrent sync to use.
- '';
- };
-
- storagePath = mkOption {
- type = types.path;
- default = "/var/lib/btsync/";
- description = ''
- Where BitTorrent Sync will store it's database files (containing
- things like username info and licenses). Generally, you should not
- need to ever change this.
- '';
- };
-
- apiKey = mkOption {
- type = types.str;
- default = "";
- description = "API key, which enables the developer API.";
- };
-
- directoryRoot = mkOption {
- type = types.str;
- default = "";
- example = "/media";
- description = "Default directory to add folders in the web UI.";
- };
-
- sharedFolders = mkOption {
- default = [];
- example =
- [ { secret = "AHMYFPCQAHBM7LQPFXQ7WV6Y42IGUXJ5Y";
- directory = "/home/user/sync_test";
- useRelayServer = true;
- useTracker = true;
- useDHT = false;
- searchLAN = true;
- useSyncTrash = true;
- knownHosts =
- [ "192.168.1.2:4444"
- "192.168.1.3:4444"
- ];
- }
- ];
- description = ''
- Shared folder list. If enabled, web UI must be
- disabled. Secrets can be generated using btsync
- --generate-secret. Note that this secret will be
- put inside the Nix store, so it is realistically not very
- secret.
-
- If you would like to be able to modify the contents of this
- directories, it is recommended that you make your user a
- member of the btsync group.
-
- Directories in this list should be in the
- btsync group, and that group must have
- write access to the directory. It is also recommended that
- chmod g+s is applied to the directory
- so that any sub directories created will also belong to
- the btsync group. Also,
- setfacl -d -m group:btsync:rwx and
- setfacl -m group:btsync:rwx should also
- be applied so that the sub directories are writable by
- the group.
- '';
- };
- };
- };
-
- config = mkIf cfg.enable {
- assertions =
- [ { assertion = cfg.deviceName != "";
- message = "Device name cannot be empty.";
- }
- { assertion = cfg.enableWebUI -> cfg.sharedFolders == [];
- message = "If using shared folders, the web UI cannot be enabled.";
- }
- { assertion = cfg.apiKey != "" -> cfg.enableWebUI;
- message = "If you're using an API key, you must enable the web server.";
- }
- ];
-
- services.btsync.package = mkOptionDefault pkgs.bittorrentSync14;
-
- users.users.btsync = {
- description = "Bittorrent Sync Service user";
- home = cfg.storagePath;
- createHome = true;
- uid = config.ids.uids.btsync;
- group = "btsync";
- };
-
- users.groups = [
- { name = "btsync";
- }];
-
- systemd.services.btsync = with pkgs; {
- description = "Bittorrent Sync Service";
- wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
- serviceConfig = {
- Restart = "on-abort";
- UMask = "0002";
- User = "btsync";
- ExecStart =
- "${bittorrentSync}/bin/btsync --nodaemon --config ${configFile}";
- };
- };
-
- systemd.user.services.btsync = with pkgs; {
- description = "Bittorrent Sync user service";
- after = [ "network.target" "local-fs.target" ];
- serviceConfig = {
- Restart = "on-abort";
- ExecStart =
- "${bittorrentSync}/bin/btsync --nodaemon --config %h/.config/btsync.conf";
- };
- };
-
- environment.systemPackages = [ cfg.package ];
- };
-}
diff --git a/nixos/modules/services/networking/charybdis.nix b/nixos/modules/services/networking/charybdis.nix
index 3d02dc8d137..da26246e703 100644
--- a/nixos/modules/services/networking/charybdis.nix
+++ b/nixos/modules/services/networking/charybdis.nix
@@ -21,14 +21,14 @@ in
enable = mkEnableOption "Charybdis IRC daemon";
config = mkOption {
- type = types.string;
+ type = types.str;
description = ''
Charybdis IRC daemon configuration file.
'';
};
statedir = mkOption {
- type = types.string;
+ type = types.path;
default = "/var/lib/charybdis";
description = ''
Location of the state directory of charybdis.
@@ -36,7 +36,7 @@ in
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "ircd";
description = ''
Charybdis IRC daemon user.
@@ -44,7 +44,7 @@ in
};
group = mkOption {
- type = types.string;
+ type = types.str;
default = "ircd";
description = ''
Charybdis IRC daemon group.
@@ -83,6 +83,10 @@ in
gid = config.ids.gids.ircd;
};
+ systemd.tmpfiles.rules = [
+ "d ${cfg.statedir} - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.charybdis = {
description = "Charybdis IRC daemon";
wantedBy = [ "multi-user.target" ];
@@ -93,16 +97,11 @@ in
ExecStart = "${charybdis}/bin/charybdis -foreground -logfile /dev/stdout -configfile ${configFile}";
Group = cfg.group;
User = cfg.user;
- PermissionsStartOnly = true; # preStart needs to run with root permissions
};
- preStart = ''
- ${coreutils}/bin/mkdir -p ${cfg.statedir}
- ${coreutils}/bin/chown ${cfg.user}:${cfg.group} ${cfg.statedir}
- '';
};
}
-
+
(mkIf (cfg.motd != null) {
environment.etc."charybdis/ircd.motd".text = cfg.motd;
})
diff --git a/nixos/modules/services/networking/cjdns.nix b/nixos/modules/services/networking/cjdns.nix
index c40962f4aa8..3fb85b16cbe 100644
--- a/nixos/modules/services/networking/cjdns.nix
+++ b/nixos/modules/services/networking/cjdns.nix
@@ -44,9 +44,7 @@ let
parseModules = x:
x // { connectTo = mapAttrs (name: value: { inherit (value) password publicKey; }) x.connectTo; };
- # would be nice to merge 'cfg' with a //,
- # but the json nesting is wacky.
- cjdrouteConf = builtins.toJSON ( {
+ cjdrouteConf = builtins.toJSON ( recursiveUpdate {
admin = {
bind = cfg.admin.bind;
password = "@CJDNS_ADMIN_PASSWORD@";
@@ -71,7 +69,7 @@ let
security = [ { exemptAngel = 1; setuser = "nobody"; } ];
- });
+ } cfg.extraConfig);
in
@@ -91,6 +89,16 @@ in
'';
};
+ extraConfig = mkOption {
+ type = types.attrs;
+ default = {};
+ example = { router.interface.tunDevice = "tun10"; };
+ description = ''
+ Extra configuration, given as attrs, that will be merged recursively
+ with the rest of the JSON generated by this module, at the root node.
+ '';
+ };
+
confFile = mkOption {
type = types.nullOr types.path;
default = null;
@@ -246,7 +254,10 @@ in
if cfg.confFile != null then "${pkg}/bin/cjdroute < ${cfg.confFile}" else
''
source /etc/cjdns.keys
- echo '${cjdrouteConf}' | sed \
+ (cat <<'EOF'
+ ${cjdrouteConf}
+ EOF
+ ) | sed \
-e "s/@CJDNS_ADMIN_PASSWORD@/$CJDNS_ADMIN_PASSWORD/g" \
-e "s/@CJDNS_PRIVATE_KEY@/$CJDNS_PRIVATE_KEY/g" \
| ${pkg}/bin/cjdroute
diff --git a/nixos/modules/services/networking/connman.nix b/nixos/modules/services/networking/connman.nix
index c3ca6fbe725..31127f79049 100644
--- a/nixos/modules/services/networking/connman.nix
+++ b/nixos/modules/services/networking/connman.nix
@@ -45,7 +45,7 @@ in {
};
networkInterfaceBlacklist = mkOption {
- type = with types; listOf string;
+ type = with types; listOf str;
default = [ "vmnet" "vboxnet" "virbr" "ifb" "ve" ];
description = ''
Default blacklisted interfaces, this includes NixOS containers interfaces (ve).
@@ -53,7 +53,7 @@ in {
};
extraFlags = mkOption {
- type = with types; listOf string;
+ type = with types; listOf str;
default = [ ];
example = [ "--nodnsproxy" ];
description = ''
@@ -82,7 +82,7 @@ in {
environment.systemPackages = [ connman ];
- systemd.services."connman" = {
+ systemd.services.connman = {
description = "Connection service";
wantedBy = [ "multi-user.target" ];
after = [ "syslog.target" ];
@@ -95,7 +95,7 @@ in {
};
};
- systemd.services."connman-vpn" = mkIf cfg.enableVPN {
+ systemd.services.connman-vpn = mkIf cfg.enableVPN {
description = "ConnMan VPN service";
wantedBy = [ "multi-user.target" ];
after = [ "syslog.target" ];
@@ -108,7 +108,7 @@ in {
};
};
- systemd.services."net-connman-vpn" = mkIf cfg.enableVPN {
+ systemd.services.net-connman-vpn = mkIf cfg.enableVPN {
description = "D-BUS Service";
serviceConfig = {
Name = "net.connman.vpn";
diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix
index 3a92a883fbf..689cbc8a986 100644
--- a/nixos/modules/services/networking/consul.nix
+++ b/nixos/modules/services/networking/consul.nix
@@ -15,7 +15,7 @@ let
++ cfg.extraConfigFiles;
devices = attrValues (filterAttrs (_: i: i != null) cfg.interface);
- systemdDevices = flip map devices
+ systemdDevices = forEach devices
(i: "sys-subsystem-net-devices-${utils.escapeSystemdPath i}.device");
in
{
@@ -156,7 +156,7 @@ in
config = mkIf cfg.enable (
mkMerge [{
- users.users."consul" = {
+ users.users.consul = {
description = "Consul agent daemon user";
uid = config.ids.uids.consul;
# The shell is needed for health checks
diff --git a/nixos/modules/services/networking/ddclient.nix b/nixos/modules/services/networking/ddclient.nix
index 9a2e13e9553..04ce5ca3a87 100644
--- a/nixos/modules/services/networking/ddclient.nix
+++ b/nixos/modules/services/networking/ddclient.nix
@@ -20,8 +20,8 @@ let
wildcard=YES
quiet=${boolToStr cfg.quiet}
verbose=${boolToStr cfg.verbose}
- ${lib.concatStringsSep "," cfg.domains}
${cfg.extraConfig}
+ ${lib.concatStringsSep "," cfg.domains}
'';
in
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index c217ccaa405..7b278603455 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -162,7 +162,7 @@ in
wantedBy = [ "multi-user.target" ] ++ optional (!hasDefaultGatewaySet) "network-online.target";
wants = [ "network.target" "systemd-udev-settle.service" ];
- before = [ "network.target" ];
+ before = [ "network-online.target" ];
after = [ "systemd-udev-settle.service" ];
# Stopping dhcpcd during a reconfiguration is undesirable
diff --git a/nixos/modules/services/networking/dnschain.nix b/nixos/modules/services/networking/dnschain.nix
index 0c2add424ba..5b58ea9b0c9 100644
--- a/nixos/modules/services/networking/dnschain.nix
+++ b/nixos/modules/services/networking/dnschain.nix
@@ -136,10 +136,16 @@ in
"/.dns/127.0.0.1#${toString cfg.dns.port}"
];
- services.pdns-recursor.forwardZones = mkIf cfgs.pdns-recursor.resolveDNSChainQueries
- { bit = "127.0.0.1:${toString cfg.dns.port}";
- dns = "127.0.0.1:${toString cfg.dns.port}";
- };
+ services.pdns-recursor = mkIf cfgs.pdns-recursor.resolveDNSChainQueries {
+ forwardZones =
+ { bit = "127.0.0.1:${toString cfg.dns.port}";
+ dns = "127.0.0.1:${toString cfg.dns.port}";
+ };
+ luaConfig =''
+ addNTA("bit", "namecoin doesn't support DNSSEC")
+ addNTA("dns", "namecoin doesn't support DNSSEC")
+ '';
+ };
users.users = singleton {
name = username;
diff --git a/nixos/modules/services/networking/dnscrypt-proxy.xml b/nixos/modules/services/networking/dnscrypt-proxy.xml
index f90eef69848..afc7880392a 100644
--- a/nixos/modules/services/networking/dnscrypt-proxy.xml
+++ b/nixos/modules/services/networking/dnscrypt-proxy.xml
@@ -18,7 +18,7 @@
To enable the client proxy, set
= true;
-
+
@@ -36,7 +36,7 @@
the other client to it:
= 43;
-
+
@@ -47,7 +47,7 @@
= true;
= [ "127.0.0.1#43" ];
}
-
+
@@ -59,7 +59,7 @@
= true;
= [ "127.0.0.1@43" ];
}
-
+
diff --git a/nixos/modules/services/networking/dnsmasq.nix b/nixos/modules/services/networking/dnsmasq.nix
index 24d16046c63..714a5903bff 100644
--- a/nixos/modules/services/networking/dnsmasq.nix
+++ b/nixos/modules/services/networking/dnsmasq.nix
@@ -79,7 +79,7 @@ in
###### implementation
- config = mkIf config.services.dnsmasq.enable {
+ config = mkIf cfg.enable {
networking.nameservers =
optional cfg.resolveLocalQueries "127.0.0.1";
@@ -92,6 +92,15 @@ in
description = "Dnsmasq daemon user";
};
+ networking.resolvconf = mkIf cfg.resolveLocalQueries {
+ useLocalResolver = mkDefault true;
+
+ extraConfig = ''
+ dnsmasq_conf=/etc/dnsmasq-conf.conf
+ dnsmasq_resolv=/etc/dnsmasq-resolv.conf
+ '';
+ };
+
systemd.services.dnsmasq = {
description = "Dnsmasq Daemon";
after = [ "network.target" "systemd-resolved.service" ];
diff --git a/nixos/modules/services/networking/firewall.nix b/nixos/modules/services/networking/firewall.nix
index 4ea891262e5..5b3aa19af3b 100644
--- a/nixos/modules/services/networking/firewall.nix
+++ b/nixos/modules/services/networking/firewall.nix
@@ -58,7 +58,7 @@ let
${text}
''; in "${dir}/bin/${name}";
- defaultInterface = { default = mapAttrs (name: value: cfg."${name}") commonOptions; };
+ defaultInterface = { default = mapAttrs (name: value: cfg.${name}) commonOptions; };
allInterfaces = defaultInterface // cfg.interfaces;
startScript = writeShScript "firewall-start" ''
diff --git a/nixos/modules/services/networking/git-daemon.nix b/nixos/modules/services/networking/git-daemon.nix
index c0020349ec7..a638a3083fb 100644
--- a/nixos/modules/services/networking/git-daemon.nix
+++ b/nixos/modules/services/networking/git-daemon.nix
@@ -115,7 +115,7 @@ in
gid = config.ids.gids.git;
};
- systemd.services."git-daemon" = {
+ systemd.services.git-daemon = {
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
script = "${pkgs.git}/bin/git daemon --reuseaddr "
diff --git a/nixos/modules/services/networking/gogoclient.nix b/nixos/modules/services/networking/gogoclient.nix
index 9d16f0efb43..c9b03bca711 100644
--- a/nixos/modules/services/networking/gogoclient.nix
+++ b/nixos/modules/services/networking/gogoclient.nix
@@ -34,7 +34,7 @@ in
password = mkOption {
default = "";
- type = types.string;
+ type = types.str;
description = ''
Path to a file (as a string), containing your gogoNET password, if any.
'';
diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix
index 7add48308f8..2915b54f05b 100644
--- a/nixos/modules/services/networking/hostapd.nix
+++ b/nixos/modules/services/networking/hostapd.nix
@@ -30,10 +30,11 @@ let
ctrl_interface=/run/hostapd
ctrl_interface_group=${cfg.group}
- ${if cfg.wpa then ''
+ ${optionalString cfg.wpa ''
wpa=2
wpa_passphrase=${cfg.wpaPassphrase}
- '' else ""}
+ ''}
+ ${optionalString cfg.noScan "noscan=1"}
${cfg.extraConfig}
'' ;
@@ -69,10 +70,18 @@ in
'';
};
+ noScan = mkOption {
+ default = false;
+ description = ''
+ Do not scan for overlapping BSSs in HT40+/- mode.
+ Caution: turning this on will violate regulatory requirements!
+ '';
+ };
+
driver = mkOption {
default = "nl80211";
example = "hostapd";
- type = types.string;
+ type = types.str;
description = ''
Which driver hostapd will use.
Most applications will probably use the default.
@@ -82,7 +91,7 @@ in
ssid = mkOption {
default = "nixos";
example = "mySpecialSSID";
- type = types.string;
+ type = types.str;
description = "SSID to be used in IEEE 802.11 management frames.";
};
@@ -110,7 +119,7 @@ in
group = mkOption {
default = "wheel";
example = "network";
- type = types.string;
+ type = types.str;
description = ''
Members of this group can control hostapd.
'';
@@ -126,7 +135,7 @@ in
wpaPassphrase = mkOption {
default = "my_sekret";
example = "any_64_char_string";
- type = types.string;
+ type = types.str;
description = ''
WPA-PSK (pre-shared-key) passphrase. Clients will need this
passphrase to associate with this access point.
@@ -162,6 +171,7 @@ in
after = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
bindsTo = [ "sys-subsystem-net-devices-${escapedInterface}.device" ];
requiredBy = [ "network-link-${cfg.interface}.service" ];
+ wantedBy = [ "multi-user.target" ];
serviceConfig =
{ ExecStart = "${pkgs.hostapd}/bin/hostapd ${configFile}";
diff --git a/nixos/modules/services/networking/hylafax/systemd.nix b/nixos/modules/services/networking/hylafax/systemd.nix
index ef177e4be34..b9b9b9dca4f 100644
--- a/nixos/modules/services/networking/hylafax/systemd.nix
+++ b/nixos/modules/services/networking/hylafax/systemd.nix
@@ -7,7 +7,7 @@ let
inherit (lib) concatStringsSep optionalString;
cfg = config.services.hylafax;
- mapModems = lib.flip map (lib.attrValues cfg.modems);
+ mapModems = lib.forEach (lib.attrValues cfg.modems);
mkConfigFile = name: conf:
# creates hylafax config file,
@@ -68,7 +68,7 @@ let
inherit (cfg) spoolAreaPath;
};
- sockets."hylafax-hfaxd" = {
+ sockets.hylafax-hfaxd = {
description = "HylaFAX server socket";
documentation = [ "man:hfaxd(8)" ];
wantedBy = [ "multi-user.target" ];
@@ -77,7 +77,7 @@ let
socketConfig.Accept = true;
};
- paths."hylafax-faxq" = {
+ paths.hylafax-faxq = {
description = "HylaFAX queue manager sendq watch";
documentation = [ "man:faxq(8)" "man:sendq(5)" ];
wantedBy = [ "multi-user.target" ];
@@ -87,11 +87,11 @@ let
timers = mkMerge [
(
mkIf (cfg.faxcron.enable.frequency!=null)
- { "hylafax-faxcron".timerConfig.Persistent = true; }
+ { hylafax-faxcron.timerConfig.Persistent = true; }
)
(
mkIf (cfg.faxqclean.enable.frequency!=null)
- { "hylafax-faxqclean".timerConfig.Persistent = true; }
+ { hylafax-faxqclean.timerConfig.Persistent = true; }
)
];
@@ -121,7 +121,7 @@ let
in
service: service // { serviceConfig = apply service; };
- services."hylafax-spool" = {
+ services.hylafax-spool = {
description = "HylaFAX spool area preparation";
documentation = [ "man:hylafax-server(4)" ];
script = ''
@@ -140,7 +140,7 @@ let
unitConfig.RequiresMountsFor = [ cfg.spoolAreaPath ];
};
- services."hylafax-faxq" = {
+ services.hylafax-faxq = {
description = "HylaFAX queue manager";
documentation = [ "man:faxq(8)" ];
requires = [ "hylafax-spool.service" ];
@@ -178,7 +178,7 @@ let
serviceConfig.PrivateNetwork = null;
};
- services."hylafax-faxcron" = rec {
+ services.hylafax-faxcron = rec {
description = "HylaFAX spool area maintenance";
documentation = [ "man:faxcron(8)" ];
after = [ "hylafax-spool.service" ];
@@ -194,7 +194,7 @@ let
];
};
- services."hylafax-faxqclean" = rec {
+ services.hylafax-faxqclean = rec {
description = "HylaFAX spool area queue cleaner";
documentation = [ "man:faxqclean(8)" ];
after = [ "hylafax-spool.service" ];
diff --git a/nixos/modules/services/networking/iperf3.nix b/nixos/modules/services/networking/iperf3.nix
index 742404a5692..0fe378b225d 100644
--- a/nixos/modules/services/networking/iperf3.nix
+++ b/nixos/modules/services/networking/iperf3.nix
@@ -19,6 +19,11 @@ let
default = null;
description = "Bind to the specific interface associated with the given address.";
};
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Open ports in the firewall for iperf3.";
+ };
verbose = mkOption {
type = types.bool;
default = false;
@@ -52,6 +57,11 @@ let
};
imp = {
+
+ networking.firewall = mkIf cfg.openFirewall {
+ allowedTCPPorts = [ cfg.port ];
+ };
+
systemd.services.iperf3 = {
description = "iperf3 daemon";
unitConfig.Documentation = "man:iperf3(1) https://iperf.fr/iperf-doc.php";
diff --git a/nixos/modules/services/networking/ircd-hybrid/default.nix b/nixos/modules/services/networking/ircd-hybrid/default.nix
index 2bd898edf89..f5abe61a1ba 100644
--- a/nixos/modules/services/networking/ircd-hybrid/default.nix
+++ b/nixos/modules/services/networking/ircd-hybrid/default.nix
@@ -121,7 +121,7 @@ in
users.groups.ircd.gid = config.ids.gids.ircd;
- systemd.services."ircd-hybrid" = {
+ systemd.services.ircd-hybrid = {
description = "IRCD Hybrid server";
after = [ "started networking" ];
wantedBy = [ "multi-user.target" ];
diff --git a/nixos/modules/services/networking/iwd.nix b/nixos/modules/services/networking/iwd.nix
index 18ed20e2888..839fa48d9a4 100644
--- a/nixos/modules/services/networking/iwd.nix
+++ b/nixos/modules/services/networking/iwd.nix
@@ -26,6 +26,7 @@ in {
systemd.tmpfiles.rules = [
"d /var/lib/iwd 0700 root root -"
+ "d /var/lib/ead 0700 root root -"
];
};
diff --git a/nixos/modules/services/networking/jormungandr.nix b/nixos/modules/services/networking/jormungandr.nix
new file mode 100644
index 00000000000..85e804d6cf2
--- /dev/null
+++ b/nixos/modules/services/networking/jormungandr.nix
@@ -0,0 +1,100 @@
+{ config, lib, pkgs, ... }:
+
+let
+ cfg = config.services.jormungandr;
+
+ inherit (lib) mkEnableOption mkIf mkOption;
+ inherit (lib) optionalString types;
+
+ dataDir = "/var/lib/jormungandr";
+
+ # Default settings so far, as the service matures we will
+ # move these out as separate settings
+ configSettings = {
+ storage = dataDir;
+ p2p = {
+ public_address = "/ip4/127.0.0.1/tcp/8299";
+ messages = "high";
+ blocks = "high";
+ };
+ rest = {
+ listen = "127.0.0.1:8607";
+ };
+ };
+
+ configFile = if cfg.configFile == null then
+ pkgs.writeText "jormungandr.yaml" (builtins.toJSON configSettings)
+ else cfg.configFile;
+
+in {
+
+ options = {
+
+ services.jormungandr = {
+ enable = mkEnableOption "jormungandr service";
+
+ configFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/var/lib/jormungandr/node.yaml";
+ description = ''
+ The path of the jormungandr blockchain configuration file in YAML format.
+ If no file is specified, a file is generated using the other options.
+ '';
+ };
+
+ secretFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/etc/secret/jormungandr.yaml";
+ description = ''
+ The path of the jormungandr blockchain secret node configuration file in
+ YAML format. Do not store this in nix store!
+ '';
+ };
+
+ genesisBlockHash = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ example = "d70495af81ae8600aca3e642b2427327cb6001ec4d7a0037e96a00dabed163f9";
+ description = ''
+ Set the genesis block hash (the hash of the block0) so we can retrieve
+ the genesis block (and the blockchain configuration) from the existing
+ storage or from the network.
+ '';
+ };
+
+ genesisBlockFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/var/lib/jormungandr/block-0.bin";
+ description = ''
+ The path of the genesis block file if we are hosting it locally.
+ '';
+ };
+
+ };
+ };
+
+ config = mkIf cfg.enable {
+
+ systemd.services.jormungandr = {
+ description = "jormungandr server";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" ];
+ environment = {
+ RUST_BACKTRACE = "full";
+ };
+ serviceConfig = {
+ DynamicUser = true;
+ StateDirectory = baseNameOf dataDir;
+ ExecStart = ''
+ ${pkgs.jormungandr}/bin/jormungandr --config ${configFile} \
+ ${optionalString (cfg.secretFile != null) " --secret ${cfg.secretFile}"} \
+ ${optionalString (cfg.genesisBlockHash != null) " --genesis-block-hash ${cfg.genesisBlockHash}"} \
+ ${optionalString (cfg.genesisBlockFile != null) " --genesis-block ${cfg.genesisBlockFile}"}
+ '';
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/networking/keybase.nix b/nixos/modules/services/networking/keybase.nix
index a149f16a84c..85f52be8a6a 100644
--- a/nixos/modules/services/networking/keybase.nix
+++ b/nixos/modules/services/networking/keybase.nix
@@ -26,6 +26,7 @@ in {
systemd.user.services.keybase = {
description = "Keybase service";
+ unitConfig.ConditionUser = "!@system";
serviceConfig = {
ExecStart = ''
${pkgs.keybase}/bin/keybase service --auto-forked
diff --git a/nixos/modules/services/networking/kippo.nix b/nixos/modules/services/networking/kippo.nix
index 40c38254a57..bdea6a1d1ca 100644
--- a/nixos/modules/services/networking/kippo.nix
+++ b/nixos/modules/services/networking/kippo.nix
@@ -11,7 +11,7 @@ with lib;
let
cfg = config.services.kippo;
in
-rec {
+{
options = {
services.kippo = {
enable = mkOption {
@@ -26,22 +26,22 @@ rec {
};
hostname = mkOption {
default = "nas3";
- type = types.string;
+ type = types.str;
description = ''Hostname for kippo to present to SSH login'';
};
varPath = mkOption {
default = "/var/lib/kippo";
- type = types.string;
+ type = types.path;
description = ''Path of read/write files needed for operation and configuration.'';
};
logPath = mkOption {
default = "/var/log/kippo";
- type = types.string;
+ type = types.path;
description = ''Path of log files needed for operation and configuration.'';
};
pidPath = mkOption {
default = "/run/kippo";
- type = types.string;
+ type = types.path;
description = ''Path of pid files needed for operation.'';
};
extraConfig = mkOption {
@@ -109,8 +109,8 @@ rec {
serviceConfig.ExecStart = "${pkgs.kippo.twisted}/bin/twistd -y ${pkgs.kippo}/src/kippo.tac --syslog --rundir=${cfg.varPath}/ --pidfile=${cfg.pidPath}/kippo.pid --prefix=kippo -n";
serviceConfig.PermissionsStartOnly = true;
- serviceConfig.User = "kippo";
- serviceConfig.Group = "kippo";
+ serviceConfig.User = "kippo";
+ serviceConfig.Group = "kippo";
};
};
}
diff --git a/nixos/modules/services/networking/kresd.nix b/nixos/modules/services/networking/kresd.nix
index ca34ff9df4e..fc516c01230 100644
--- a/nixos/modules/services/networking/kresd.nix
+++ b/nixos/modules/services/networking/kresd.nix
@@ -80,8 +80,11 @@ in
# Syntax depends on being IPv6 or IPv4.
(iface: if elem ":" (stringToCharacters iface) then "[${iface}]:53" else "${iface}:53")
cfg.interfaces;
- socketConfig.ListenDatagram = listenStreams;
- socketConfig.FreeBind = true;
+ socketConfig = {
+ ListenDatagram = listenStreams;
+ FreeBind = true;
+ FileDescriptorName = "dns";
+ };
};
systemd.sockets.kresd-tls = mkIf (cfg.listenTLS != []) rec {
diff --git a/nixos/modules/services/networking/logmein-hamachi.nix b/nixos/modules/services/networking/logmein-hamachi.nix
index 406626a8a34..11cbdda2f84 100644
--- a/nixos/modules/services/networking/logmein-hamachi.nix
+++ b/nixos/modules/services/networking/logmein-hamachi.nix
@@ -35,7 +35,7 @@ in
description = "LogMeIn Hamachi Daemon";
wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
+ after = [ "network.target" ];
serviceConfig = {
Type = "forking";
diff --git a/nixos/modules/services/networking/minidlna.nix b/nixos/modules/services/networking/minidlna.nix
index 1858f03cac1..0947471adbc 100644
--- a/nixos/modules/services/networking/minidlna.nix
+++ b/nixos/modules/services/networking/minidlna.nix
@@ -96,18 +96,12 @@ in
{ description = "MiniDLNA Server";
wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
-
- preStart =
- ''
- mkdir -p /var/cache/minidlna
- chown -R minidlna:minidlna /var/cache/minidlna
- '';
+ after = [ "network.target" ];
serviceConfig =
{ User = "minidlna";
Group = "minidlna";
- PermissionsStartOnly = true;
+ CacheDirectory = "minidlna";
RuntimeDirectory = "minidlna";
PIDFile = "/run/minidlna/pid";
ExecStart =
diff --git a/nixos/modules/services/networking/morty.nix b/nixos/modules/services/networking/morty.nix
index cc81e27e939..1b3084fe9ab 100644
--- a/nixos/modules/services/networking/morty.nix
+++ b/nixos/modules/services/networking/morty.nix
@@ -27,7 +27,7 @@ in
};
key = mkOption {
- type = types.string;
+ type = types.str;
default = "";
description = "HMAC url validation key (hexadecimal encoded).
Leave blank to disable. Without validation key, anyone can
@@ -56,7 +56,7 @@ in
};
listenAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "127.0.0.1";
description = "The address on which the service listens";
defaultText = "127.0.0.1 (localhost)";
diff --git a/nixos/modules/services/networking/mosquitto.nix b/nixos/modules/services/networking/mosquitto.nix
index 1d49c137723..d2feb93e2b7 100644
--- a/nixos/modules/services/networking/mosquitto.nix
+++ b/nixos/modules/services/networking/mosquitto.nix
@@ -49,7 +49,7 @@ in
host = mkOption {
default = "127.0.0.1";
example = "0.0.0.0";
- type = types.string;
+ type = types.str;
description = ''
Host to listen on without SSL.
'';
@@ -88,7 +88,7 @@ in
host = mkOption {
default = "0.0.0.0";
example = "localhost";
- type = types.string;
+ type = types.str;
description = ''
Host to listen on with SSL.
'';
@@ -135,7 +135,7 @@ in
};
acl = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
example = [ "topic read A/B" "topic A/#" ];
description = ''
Control client access to topics on the broker.
diff --git a/nixos/modules/services/networking/mtprotoproxy.nix b/nixos/modules/services/networking/mtprotoproxy.nix
new file mode 100644
index 00000000000..d896f227b82
--- /dev/null
+++ b/nixos/modules/services/networking/mtprotoproxy.nix
@@ -0,0 +1,110 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.services.mtprotoproxy;
+
+ configOpts = {
+ PORT = cfg.port;
+ USERS = cfg.users;
+ SECURE_ONLY = cfg.secureOnly;
+ } // lib.optionalAttrs (cfg.adTag != null) { AD_TAG = cfg.adTag; }
+ // cfg.extraConfig;
+
+ convertOption = opt:
+ if isString opt || isInt opt then
+ builtins.toJSON opt
+ else if isBool opt then
+ if opt then "True" else "False"
+ else if isList opt then
+ "[" + concatMapStringsSep "," convertOption opt + "]"
+ else if isAttrs opt then
+ "{" + concatStringsSep "," (mapAttrsToList (name: opt: "${builtins.toJSON name}: ${convertOption opt}") opt) + "}"
+ else
+ throw "Invalid option type";
+
+ configFile = pkgs.writeText "config.py" (concatStringsSep "\n" (mapAttrsToList (name: opt: "${name} = ${convertOption opt}") configOpts));
+
+in
+
+{
+
+ ###### interface
+
+ options = {
+
+ services.mtprotoproxy = {
+
+ enable = mkEnableOption "mtprotoproxy";
+
+ port = mkOption {
+ type = types.int;
+ default = 3256;
+ description = ''
+ TCP port to accept mtproto connections on.
+ '';
+ };
+
+ users = mkOption {
+ type = types.attrsOf types.str;
+ example = {
+ tg = "00000000000000000000000000000000";
+ tg2 = "0123456789abcdef0123456789abcdef";
+ };
+ description = ''
+ Allowed users and their secrets. A secret is a 32 characters long hex string.
+ '';
+ };
+
+ secureOnly = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ Don't allow users to connect in non-secure mode (without random padding).
+ '';
+ };
+
+ adTag = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ # Taken from mtproxyproto's repo.
+ example = "3c09c680b76ee91a4c25ad51f742267d";
+ description = ''
+ Tag for advertising that can be obtained from @MTProxybot.
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = types.attrs;
+ default = {};
+ example = {
+ STATS_PRINT_PERIOD = 600;
+ };
+ description = ''
+ Extra configuration options for mtprotoproxy.
+ '';
+ };
+
+ };
+
+ };
+
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ systemd.services.mtprotoproxy = {
+ description = "MTProto Proxy Daemon";
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ ExecStart = "${pkgs.mtprotoproxy}/bin/mtprotoproxy ${configFile}";
+ DynamicUser = true;
+ };
+ };
+
+ };
+
+}
diff --git a/nixos/modules/services/networking/murmur.nix b/nixos/modules/services/networking/murmur.nix
index a6e90feff7e..082953d2f6a 100644
--- a/nixos/modules/services/networking/murmur.nix
+++ b/nixos/modules/services/networking/murmur.nix
@@ -4,6 +4,7 @@ with lib;
let
cfg = config.services.murmur;
+ forking = cfg.logFile != null;
configFile = pkgs.writeText "murmurd.ini" ''
database=/var/lib/murmur/murmur.sqlite
dbDriver=QSQLITE
@@ -12,8 +13,8 @@ let
autobanTimeframe=${toString cfg.autobanTimeframe}
autobanTime=${toString cfg.autobanTime}
- logfile=/var/log/murmur/murmurd.log
- pidfile=${cfg.pidfile}
+ logfile=${optionalString (cfg.logFile != null) cfg.logFile}
+ ${optionalString forking "pidfile=/run/murmur/murmurd.pid"}
welcometext="${cfg.welcometext}"
port=${toString cfg.port}
@@ -78,10 +79,11 @@ in
description = "The amount of time an IP ban lasts (in seconds).";
};
- pidfile = mkOption {
- type = types.path;
- default = "/run/murmur/murmurd.pid";
- description = "Path to PID file for Murmur daemon.";
+ logFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/var/log/murmur/murmurd.log";
+ description = "Path to the log file for Murmur daemon. Empty means log to journald.";
};
welcometext = mkOption {
@@ -232,7 +234,7 @@ in
extraConfig = mkOption {
type = types.lines;
default = "";
- description = "Extra configuration to put into mumur.ini.";
+ description = "Extra configuration to put into murmur.ini.";
};
};
};
@@ -251,19 +253,13 @@ in
after = [ "network-online.target "];
serviceConfig = {
- Type = "forking";
- RuntimeDirectory = "murmur";
- PIDFile = cfg.pidfile;
- Restart = "always";
+ # murmurd doesn't fork when logging to the console.
+ Type = if forking then "forking" else "simple";
+ PIDFile = mkIf forking "/run/murmur/murmurd.pid";
+ RuntimeDirectory = mkIf forking "murmur";
User = "murmur";
ExecStart = "${pkgs.murmur}/bin/murmurd -ini ${configFile}";
- PermissionsStartOnly = true;
};
-
- preStart = ''
- mkdir -p /var/log/murmur
- chown -R murmur /var/log/murmur
- '';
};
};
}
diff --git a/nixos/modules/services/networking/namecoind.nix b/nixos/modules/services/networking/namecoind.nix
index a569ca87e26..c8ee0a2f564 100644
--- a/nixos/modules/services/networking/namecoind.nix
+++ b/nixos/modules/services/networking/namecoind.nix
@@ -175,7 +175,7 @@ in
serviceConfig = {
User = "namecoin";
Group = "namecoin";
- ExecStart = "${pkgs.altcoins.namecoind}/bin/namecoind -conf=${configFile} -datadir=${dataDir} -printtoconsole";
+ ExecStart = "${pkgs.namecoind}/bin/namecoind -conf=${configFile} -datadir=${dataDir} -printtoconsole";
ExecStop = "${pkgs.coreutils}/bin/kill -KILL $MAINPID";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
Nice = "10";
diff --git a/nixos/modules/services/networking/ndppd.nix b/nixos/modules/services/networking/ndppd.nix
index ba17f1ba825..92088623517 100644
--- a/nixos/modules/services/networking/ndppd.nix
+++ b/nixos/modules/services/networking/ndppd.nix
@@ -142,7 +142,7 @@ in {
messages, and respond to them according to a set of rules.
'';
default = {};
- example = { "eth0".rules."1111::/64" = {}; };
+ example = { eth0.rules."1111::/64" = {}; };
};
};
@@ -153,7 +153,7 @@ in {
'' ];
services.ndppd.proxies = mkIf (cfg.interface != null && cfg.network != null) {
- "${cfg.interface}".rules."${cfg.network}" = {};
+ ${cfg.interface}.rules.${cfg.network} = {};
};
systemd.services.ndppd = {
diff --git a/nixos/modules/services/networking/networkmanager.nix b/nixos/modules/services/networking/networkmanager.nix
index 5e554447181..db4d0e328e2 100644
--- a/nixos/modules/services/networking/networkmanager.nix
+++ b/nixos/modules/services/networking/networkmanager.nix
@@ -1,6 +1,5 @@
{ config, lib, pkgs, ... }:
-with pkgs;
with lib;
let
@@ -9,14 +8,18 @@ let
dynamicHostsEnabled =
cfg.dynamicHosts.enable && cfg.dynamicHosts.hostsDirs != {};
+ delegateWireless = config.networking.wireless.enable == true && cfg.unmanaged != [];
+
# /var/lib/misc is for dnsmasq.leases.
stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
- configFile = writeText "NetworkManager.conf" ''
+ configFile = pkgs.writeText "NetworkManager.conf" ''
[main]
plugins=keyfile
dhcp=${cfg.dhcp}
dns=${cfg.dns}
+ # If resolvconf is disabled that means that resolv.conf is managed by some other module.
+ rc-manager=${if config.networking.resolvconf.enable then "resolvconf" else "unmanaged"}
[keyfile]
${optionalString (cfg.unmanaged != [])
@@ -64,25 +67,25 @@ let
});
'';
- ns = xs: writeText "nameservers" (
+ ns = xs: pkgs.writeText "nameservers" (
concatStrings (map (s: "nameserver ${s}\n") xs)
);
- overrideNameserversScript = writeScript "02overridedns" ''
+ overrideNameserversScript = pkgs.writeScript "02overridedns" ''
#!/bin/sh
- tmp=`${coreutils}/bin/mktemp`
- ${gnused}/bin/sed '/nameserver /d' /etc/resolv.conf > $tmp
- ${gnugrep}/bin/grep 'nameserver ' /etc/resolv.conf | \
- ${gnugrep}/bin/grep -vf ${ns (cfg.appendNameservers ++ cfg.insertNameservers)} > $tmp.ns
- ${optionalString (cfg.appendNameservers != []) "${coreutils}/bin/cat $tmp $tmp.ns ${ns cfg.appendNameservers} > /etc/resolv.conf"}
- ${optionalString (cfg.insertNameservers != []) "${coreutils}/bin/cat $tmp ${ns cfg.insertNameservers} $tmp.ns > /etc/resolv.conf"}
- ${coreutils}/bin/rm -f $tmp $tmp.ns
+ PATH=${with pkgs; makeBinPath [ gnused gnugrep coreutils ]}
+ tmp=$(mktemp)
+ sed '/nameserver /d' /etc/resolv.conf > $tmp
+ grep 'nameserver ' /etc/resolv.conf | \
+ grep -vf ${ns (cfg.appendNameservers ++ cfg.insertNameservers)} > $tmp.ns
+ cat $tmp ${ns cfg.insertNameservers} $tmp.ns ${ns cfg.appendNameservers} > /etc/resolv.conf
+ rm -f $tmp $tmp.ns
'';
dispatcherTypesSubdirMap = {
- "basic" = "";
- "pre-up" = "pre-up.d/";
- "pre-down" = "pre-down.d/";
+ basic = "";
+ pre-up = "pre-up.d/";
+ pre-down = "pre-down.d/";
};
macAddressOpt = mkOption {
@@ -90,11 +93,29 @@ let
default = "preserve";
example = "00:11:22:33:44:55";
description = ''
- "XX:XX:XX:XX:XX:XX": MAC address of the interface.
- permanent: use the permanent MAC address of the device.
- preserve: don’t change the MAC address of the device upon activation.
- random: generate a randomized value upon each connect.
- stable: generate a stable, hashed MAC address.
+ Set the MAC address of the interface.
+
+
+ "XX:XX:XX:XX:XX:XX"
+ MAC address of the interface
+
+
+ "permanent"
+ Use the permanent MAC address of the device
+
+
+ "preserve"
+ Don’t change the MAC address of the device upon activation
+
+
+ "random"
+ Generate a randomized value upon each connect
+
+
+ "stable"
+ Generate a stable, hashed MAC address
+
+
'';
};
@@ -123,26 +144,46 @@ in {
default = "";
description = ''
Configuration appended to the generated NetworkManager.conf.
+ Refer to
+
+ https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
+
+ or
+
+ NetworkManager.conf
+ 5
+
+ for more information.
'';
};
unmanaged = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
description = ''
List of interfaces that will not be managed by NetworkManager.
- Interface name can be specified here, but if you need more fidelity
- see "Device List Format" in NetworkManager.conf man page.
+ Interface name can be specified here, but if you need more fidelity,
+ refer to
+
+ https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html#device-spec
+
+ or the "Device List Format" Appendix of
+
+ NetworkManager.conf
+ 5
+ .
'';
};
# Ugly hack for using the correct gnome3 packageSet
basePackages = mkOption {
type = types.attrsOf types.package;
- default = { inherit networkmanager modemmanager wpa_supplicant
+ default = { inherit (pkgs)
+ networkmanager modemmanager crda
networkmanager-openvpn networkmanager-vpnc
networkmanager-openconnect networkmanager-fortisslvpn
- networkmanager-l2tp networkmanager-iodine; };
+ networkmanager-l2tp networkmanager-iodine; }
+ // optionalAttrs (!delegateWireless) { inherit (pkgs) wpa_supplicant; };
internal = true;
};
@@ -219,67 +260,15 @@ in {
Set the DNS (resolv.conf) processing mode.
- Options:
-
-
- "default"
-
- NetworkManager will update /etc/resolv.conf to
- reflect the nameservers provided by currently active connections.
-
-
-
- "dnsmasq"
-
-
- Enable NetworkManager's dnsmasq integration. NetworkManager will
- run dnsmasq as a local caching nameserver, using a "split DNS"
- configuration if you are connected to a VPN, and then update
- resolv.conf to point to the local nameserver.
-
-
- It is possible to pass custom options to the dnsmasq instance by
- adding them to files in the
- /etc/NetworkManager/dnsmasq.d/ directory.
-
-
- When multiple upstream servers are available, dnsmasq will
- initially contact them in parallel and then use the fastest to
- respond, probing again other servers after some time. This
- behavior can be modified passing the
- all-servers or strict-order
- options to dnsmasq (see the manual page for more details).
-
-
- Note that this option causes NetworkManager to launch and manage
- its own instance of the dnsmasq daemon, which is
- not the same as setting
- services.dnsmasq.enable = true;.
-
-
-
-
- "unbound"
-
- NetworkManager will talk to unbound and dnssec-triggerd,
- providing a "split DNS" configuration with DNSSEC support.
- /etc/resolv.conf will be managed by
- dnssec-trigger daemon.
-
-
-
- "systemd-resolved"
-
- NetworkManager will push the DNS configuration to systemd-resolved.
-
-
-
- "none"
-
- NetworkManager will not modify resolv.conf.
-
-
-
+ A description of these modes can be found in the main section of
+
+ https://developer.gnome.org/NetworkManager/stable/NetworkManager.conf.html
+
+ or in
+
+ NetworkManager.conf
+ 5
+ .
'';
};
@@ -391,8 +380,11 @@ in {
config = mkIf cfg.enable {
assertions = [
- { assertion = config.networking.wireless.enable == false;
- message = "You can not use networking.networkmanager with networking.wireless";
+ { assertion = config.networking.wireless.enable == true -> cfg.unmanaged != [];
+ message = ''
+ You can not use networking.networkmanager with networking.wireless.
+ Except if you mark some interfaces as unmanaged by NetworkManager.
+ '';
}
{ assertion = !dynamicHostsEnabled || (dynamicHostsEnabled && cfg.dns == "dnsmasq");
message = ''
@@ -421,13 +413,10 @@ in {
{ source = "${networkmanager-l2tp}/lib/NetworkManager/VPN/nm-l2tp-service.name";
target = "NetworkManager/VPN/nm-l2tp-service.name";
}
- { source = "${networkmanager_strongswan}/lib/NetworkManager/VPN/nm-strongswan-service.name";
- target = "NetworkManager/VPN/nm-strongswan-service.name";
- }
{ source = "${networkmanager-iodine}/lib/NetworkManager/VPN/nm-iodine-service.name";
target = "NetworkManager/VPN/nm-iodine-service.name";
}
- ] ++ optional (cfg.appendNameservers == [] || cfg.insertNameservers == [])
+ ] ++ optional (cfg.appendNameservers != [] || cfg.insertNameservers != [])
{ source = overrideNameserversScript;
target = "NetworkManager/dispatcher.d/02overridedns";
}
@@ -436,11 +425,15 @@ in {
target = "NetworkManager/dispatcher.d/${dispatcherTypesSubdirMap.${s.type}}03userscript${lib.fixedWidthNumber 4 i}";
mode = "0544";
}) cfg.dispatcherScripts
- ++ optional (dynamicHostsEnabled)
+ ++ optional dynamicHostsEnabled
{ target = "NetworkManager/dnsmasq.d/dyndns.conf";
text = concatMapStrings (n: ''
hostsdir=/run/NetworkManager/hostsdirs/${n}
'') (attrNames cfg.dynamicHosts.hostsDirs);
+ }
+ ++ optional cfg.enableStrongSwan
+ { source = "${pkgs.networkmanager_strongswan}/lib/NetworkManager/VPN/nm-strongswan-service.name";
+ target = "NetworkManager/VPN/nm-strongswan-service.name";
};
environment.systemPackages = cfg.packages;
@@ -466,7 +459,7 @@ in {
systemd.packages = cfg.packages;
- systemd.services."NetworkManager" = {
+ systemd.services.NetworkManager = {
wantedBy = [ "network.target" ];
restartTriggers = [ configFile ];
@@ -477,6 +470,10 @@ in {
'';
};
+ systemd.services.NetworkManager-wait-online = {
+ wantedBy = [ "network-online.target" ];
+ };
+
systemd.services.nm-setup-hostsdirs = mkIf dynamicHostsEnabled {
wantedBy = [ "NetworkManager.service" ];
before = [ "NetworkManager.service" ];
@@ -492,7 +489,7 @@ in {
};
};
- systemd.services."NetworkManager-dispatcher" = {
+ systemd.services.NetworkManager-dispatcher = {
wantedBy = [ "network.target" ];
restartTriggers = [ configFile ];
@@ -500,18 +497,17 @@ in {
path = [ pkgs.iproute pkgs.utillinux pkgs.coreutils ];
};
- # Turn off NixOS' network management
- networking = {
+ # Turn off NixOS' network management when networking is managed entirely by NetworkManager
+ networking = (mkIf (!delegateWireless) {
useDHCP = false;
- # use mkDefault to trigger the assertion about the conflict above
- wireless.enable = lib.mkDefault false;
- };
+ # Use mkDefault to trigger the assertion about the conflict above
+ wireless.enable = mkDefault false;
+ }) // (mkIf cfg.enableStrongSwan {
+ networkmanager.packages = [ pkgs.networkmanager_strongswan ];
+ });
security.polkit.extraConfig = polkitConf;
- networking.networkmanager.packages =
- mkIf cfg.enableStrongSwan [ pkgs.networkmanager_strongswan ];
-
services.dbus.packages =
optional cfg.enableStrongSwan pkgs.strongswanNM ++ cfg.packages;
diff --git a/nixos/modules/services/networking/nix-serve.nix b/nixos/modules/services/networking/nix-serve.nix
index ca458d089dc..347d87b3f38 100644
--- a/nixos/modules/services/networking/nix-serve.nix
+++ b/nixos/modules/services/networking/nix-serve.nix
@@ -19,7 +19,7 @@ in
};
bindAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "0.0.0.0";
description = ''
IP address where nix-serve will bind its listening socket.
@@ -44,7 +44,7 @@ in
};
extraParams = mkOption {
- type = types.string;
+ type = types.separatedString " ";
default = "";
description = ''
Extra command line parameters for nix-serve.
diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix
index 8b918dab86d..bc0966e6b8e 100644
--- a/nixos/modules/services/networking/nsd.nix
+++ b/nixos/modules/services/networking/nsd.nix
@@ -916,9 +916,8 @@ in
systemd.services.nsd = {
description = "NSD authoritative only domain name service";
- after = [ "keys.target" "network.target" ];
+ after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
- wants = [ "keys.target" ];
serviceConfig = {
ExecStart = "${nsdPkg}/sbin/nsd -d -c ${nsdEnv}/nsd.conf";
@@ -955,7 +954,7 @@ in
'';
};
- systemd.timers."nsd-dnssec" = mkIf dnssec {
+ systemd.timers.nsd-dnssec = mkIf dnssec {
description = "Automatic DNSSEC key rollover";
wantedBy = [ "nsd.service" ];
@@ -966,7 +965,7 @@ in
};
};
- systemd.services."nsd-dnssec" = mkIf dnssec {
+ systemd.services.nsd-dnssec = mkIf dnssec {
description = "DNSSEC key rollover";
wantedBy = [ "nsd.service" ];
diff --git a/nixos/modules/services/networking/chrony.nix b/nixos/modules/services/networking/ntp/chrony.nix
similarity index 91%
rename from nixos/modules/services/networking/chrony.nix
rename to nixos/modules/services/networking/ntp/chrony.nix
index 77f70257700..c74476c7a15 100644
--- a/nixos/modules/services/networking/chrony.nix
+++ b/nixos/modules/services/networking/ntp/chrony.nix
@@ -9,11 +9,11 @@ let
keyFile = "${stateDir}/chrony.keys";
configFile = pkgs.writeText "chrony.conf" ''
- ${concatMapStringsSep "\n" (server: "server " + server) cfg.servers}
+ ${concatMapStringsSep "\n" (server: "server " + server + " iburst") cfg.servers}
${optionalString
(cfg.initstepslew.enabled && (cfg.servers != []))
- "initstepslew ${toString cfg.initstepslew.threshold} ${concatStringsSep " " cfg.initstepslew.servers}"
+ "initstepslew ${toString cfg.initstepslew.threshold} ${concatStringsSep " " cfg.servers}"
}
driftfile ${stateDir}/chrony.drift
@@ -24,7 +24,7 @@ let
${cfg.extraConfig}
'';
- chronyFlags = "-m -u chrony -f ${configFile} ${toString cfg.extraFlags}";
+ chronyFlags = "-n -m -u chrony -f ${configFile} ${toString cfg.extraFlags}";
in
{
options = {
@@ -48,7 +48,6 @@ in
default = {
enabled = true;
threshold = 1000; # by default, same threshold as 'ntpd -g' (1000s)
- servers = cfg.servers;
};
description = ''
Allow chronyd to make a rapid measurement of the system clock error at
@@ -76,6 +75,8 @@ in
};
config = mkIf cfg.enable {
+ meta.maintainers = with lib.maintainers; [ thoughtpolice ];
+
environment.systemPackages = [ pkgs.chrony ];
users.groups = singleton
@@ -115,7 +116,7 @@ in
unitConfig.ConditionCapability = "CAP_SYS_TIME";
serviceConfig =
- { Type = "forking";
+ { Type = "simple";
ExecStart = "${pkgs.chrony}/bin/chronyd ${chronyFlags}";
ProtectHome = "yes";
diff --git a/nixos/modules/services/networking/ntpd.nix b/nixos/modules/services/networking/ntp/ntpd.nix
similarity index 98%
rename from nixos/modules/services/networking/ntpd.nix
rename to nixos/modules/services/networking/ntp/ntpd.nix
index 588d1c6edb0..1197c84f045 100644
--- a/nixos/modules/services/networking/ntpd.nix
+++ b/nixos/modules/services/networking/ntp/ntpd.nix
@@ -96,6 +96,7 @@ in
###### implementation
config = mkIf config.services.ntp.enable {
+ meta.maintainers = with lib.maintainers; [ thoughtpolice ];
# Make tools such as ntpq available in the system path.
environment.systemPackages = [ pkgs.ntp ];
diff --git a/nixos/modules/services/networking/openntpd.nix b/nixos/modules/services/networking/ntp/openntpd.nix
similarity index 94%
rename from nixos/modules/services/networking/openntpd.nix
rename to nixos/modules/services/networking/ntp/openntpd.nix
index 57638ebc9c0..471d15b1687 100644
--- a/nixos/modules/services/networking/openntpd.nix
+++ b/nixos/modules/services/networking/ntp/openntpd.nix
@@ -40,7 +40,7 @@ in
};
extraOptions = mkOption {
- type = with types; string;
+ type = with types; separatedString " ";
default = "";
example = "-s";
description = ''
@@ -52,6 +52,7 @@ in
###### implementation
config = mkIf cfg.enable {
+ meta.maintainers = with lib.maintainers; [ thoughtpolice ];
services.timesyncd.enable = mkForce false;
# Add ntpctl to the environment for status checking
diff --git a/nixos/modules/services/networking/nylon.nix b/nixos/modules/services/networking/nylon.nix
index b061ce34ed2..7c171281a92 100644
--- a/nixos/modules/services/networking/nylon.nix
+++ b/nixos/modules/services/networking/nylon.nix
@@ -65,7 +65,7 @@ let
};
acceptInterface = mkOption {
- type = types.string;
+ type = types.str;
default = "lo";
description = ''
Tell nylon which interface to listen for client requests on, default is "lo".
@@ -73,7 +73,7 @@ let
};
bindInterface = mkOption {
- type = types.string;
+ type = types.str;
default = "enp3s0f0";
description = ''
Tell nylon which interface to use as an uplink, default is "enp3s0f0".
@@ -89,7 +89,7 @@ let
};
allowedIPRanges = mkOption {
- type = with types; listOf string;
+ type = with types; listOf str;
default = [ "192.168.0.0/16" "127.0.0.1/8" "172.16.0.1/12" "10.0.0.0/8" ];
description = ''
Allowed client IP ranges are evaluated first, defaults to ARIN IPv4 private ranges:
@@ -98,7 +98,7 @@ let
};
deniedIPRanges = mkOption {
- type = with types; listOf string;
+ type = with types; listOf str;
default = [ "0.0.0.0/0" ];
description = ''
Denied client IP ranges, these gets evaluated after the allowed IP ranges, defaults to all IPv4 addresses:
diff --git a/nixos/modules/services/networking/ofono.nix b/nixos/modules/services/networking/ofono.nix
new file mode 100644
index 00000000000..40ef9433de0
--- /dev/null
+++ b/nixos/modules/services/networking/ofono.nix
@@ -0,0 +1,44 @@
+# Ofono daemon.
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+ cfg = config.services.ofono;
+
+ plugin_path =
+ lib.concatMapStringsSep ":"
+ (plugin: "${plugin}/lib/ofono/plugins")
+ cfg.plugins
+ ;
+
+in
+
+{
+ ###### interface
+ options = {
+ services.ofono = {
+ enable = mkEnableOption "Ofono";
+
+ plugins = mkOption {
+ type = types.listOf types.package;
+ default = [];
+ example = literalExample "[ pkgs.modem-manager-gui ]";
+ description = ''
+ The list of plugins to install.
+ '';
+ };
+ };
+ };
+
+ ###### implementation
+ config = mkIf cfg.enable {
+ services.dbus.packages = [ pkgs.ofono ];
+
+ systemd.packages = [ pkgs.ofono ];
+
+ systemd.services.ofono.environment.OFONO_PLUGIN_PATH = mkIf (cfg.plugins != []) plugin_path;
+
+ };
+}
diff --git a/nixos/modules/services/networking/openvpn.nix b/nixos/modules/services/networking/openvpn.nix
index b94b4026fd9..05be97e66a3 100644
--- a/nixos/modules/services/networking/openvpn.nix
+++ b/nixos/modules/services/networking/openvpn.nix
@@ -85,7 +85,7 @@ in
{
server = {
config = '''
- # Simplest server configuration: http://openvpn.net/index.php/documentation/miscellaneous/static-key-mini-howto.html.
+ # Simplest server configuration: https://community.openvpn.net/openvpn/wiki/StaticKeyMiniHowto
# server :
dev tun
ifconfig 10.8.0.1 10.8.0.2
@@ -182,12 +182,12 @@ in
options = {
username = mkOption {
description = "The username to store inside the credentials file.";
- type = types.string;
+ type = types.str;
};
password = mkOption {
description = "The password to store inside the credentials file.";
- type = types.string;
+ type = types.str;
};
};
});
diff --git a/nixos/modules/services/networking/ostinato.nix b/nixos/modules/services/networking/ostinato.nix
index 13f784dc53c..5e8cce5b89a 100644
--- a/nixos/modules/services/networking/ostinato.nix
+++ b/nixos/modules/services/networking/ostinato.nix
@@ -50,7 +50,7 @@ in
rpcServer = {
address = mkOption {
- type = types.string;
+ type = types.str;
default = "0.0.0.0";
description = ''
By default, the Drone RPC server will listen on all interfaces and
@@ -63,7 +63,7 @@ in
portList = {
include = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
example = ''[ "eth*" "lo*" ]'';
description = ''
diff --git a/nixos/modules/services/networking/pdns-recursor.nix b/nixos/modules/services/networking/pdns-recursor.nix
index d07deb9dcc6..ebfdd9f35b7 100644
--- a/nixos/modules/services/networking/pdns-recursor.nix
+++ b/nixos/modules/services/networking/pdns-recursor.nix
@@ -6,25 +6,27 @@ let
dataDir = "/var/lib/pdns-recursor";
username = "pdns-recursor";
- cfg = config.services.pdns-recursor;
- zones = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZones;
+ cfg = config.services.pdns-recursor;
- configFile = pkgs.writeText "recursor.conf" ''
- local-address=${cfg.dns.address}
- local-port=${toString cfg.dns.port}
- allow-from=${concatStringsSep "," cfg.dns.allowFrom}
+ oneOrMore = type: with types; either type (listOf type);
+ valueType = with types; oneOf [ int str bool path ];
+ configType = with types; attrsOf (nullOr (oneOrMore valueType));
- webserver-address=${cfg.api.address}
- webserver-port=${toString cfg.api.port}
- webserver-allow-from=${concatStringsSep "," cfg.api.allowFrom}
+ toBool = val: if val then "yes" else "no";
+ serialize = val: with types;
+ if str.check val then val
+ else if int.check val then toString val
+ else if path.check val then toString val
+ else if bool.check val then toBool val
+ else if builtins.isList val then (concatMapStringsSep "," serialize val)
+ else "";
- forward-zones=${concatStringsSep "," zones}
- export-etc-hosts=${if cfg.exportHosts then "yes" else "no"}
- dnssec=${cfg.dnssecValidation}
- serve-rfc1918=${if cfg.serveRFC1918 then "yes" else "no"}
+ configFile = pkgs.writeText "recursor.conf"
+ (concatStringsSep "\n"
+ (flip mapAttrsToList cfg.settings
+ (name: val: "${name}=${serialize val}")));
- ${cfg.extraConfig}
- '';
+ mkDefaultAttrs = mapAttrs (n: v: mkDefault v);
in {
options.services.pdns-recursor = {
@@ -117,18 +119,56 @@ in {
'';
};
- extraConfig = mkOption {
+ settings = mkOption {
+ type = configType;
+ default = { };
+ example = literalExample ''
+ {
+ loglevel = 8;
+ log-common-errors = true;
+ }
+ '';
+ description = ''
+ PowerDNS Recursor settings. Use this option to configure Recursor
+ settings not exposed in a NixOS option or to bypass one.
+ See the full documentation at
+
+ for the available options.
+ '';
+ };
+
+ luaConfig = mkOption {
type = types.lines;
default = "";
description = ''
- Extra options to be appended to the configuration file.
+ The content Lua configuration file for PowerDNS Recursor. See
+ .
'';
};
};
config = mkIf cfg.enable {
- users.users."${username}" = {
+ services.pdns-recursor.settings = mkDefaultAttrs {
+ local-address = cfg.dns.address;
+ local-port = cfg.dns.port;
+ allow-from = cfg.dns.allowFrom;
+
+ webserver-address = cfg.api.address;
+ webserver-port = cfg.api.port;
+ webserver-allow-from = cfg.api.allowFrom;
+
+ forward-zones = mapAttrsToList (zone: uri: "${zone}.=${uri}") cfg.forwardZones;
+ export-etc-hosts = cfg.exportHosts;
+ dnssec = cfg.dnssecValidation;
+ serve-rfc1918 = cfg.serveRFC1918;
+ lua-config-file = pkgs.writeText "recursor.lua" cfg.luaConfig;
+
+ log-timestamp = false;
+ disable-syslog = true;
+ };
+
+ users.users.${username} = {
home = dataDir;
createHome = true;
uid = config.ids.uids.pdns-recursor;
@@ -150,8 +190,7 @@ in {
AmbientCapabilities = "cap_net_bind_service";
ExecStart = ''${pkgs.pdns-recursor}/bin/pdns_recursor \
--config-dir=${dataDir} \
- --socket-dir=${dataDir} \
- --disable-syslog
+ --socket-dir=${dataDir}
'';
};
@@ -165,4 +204,10 @@ in {
'';
};
};
+
+ imports = [
+ (mkRemovedOptionModule [ "services" "pdns-recursor" "extraConfig" ]
+ "To change extra Recursor settings use services.pdns-recursor.settings instead.")
+ ];
+
}
diff --git a/nixos/modules/services/networking/polipo.nix b/nixos/modules/services/networking/polipo.nix
index 529115a1c6e..dbe3b738097 100644
--- a/nixos/modules/services/networking/polipo.nix
+++ b/nixos/modules/services/networking/polipo.nix
@@ -30,7 +30,7 @@ in
};
proxyAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "127.0.0.1";
description = "IP address on which Polipo will listen.";
};
@@ -51,7 +51,7 @@ in
};
parentProxy = mkOption {
- type = types.string;
+ type = types.str;
default = "";
example = "localhost:8124";
description = ''
@@ -61,7 +61,7 @@ in
};
socksParentProxy = mkOption {
- type = types.string;
+ type = types.str;
default = "";
example = "localhost:9050";
description = ''
@@ -74,7 +74,7 @@ in
type = types.lines;
default = "";
description = ''
- Polio configuration. Contents will be added
+ Polio configuration. Contents will be added
verbatim to the configuration file.
'';
};
@@ -111,4 +111,4 @@ in
};
-}
\ No newline at end of file
+}
diff --git a/nixos/modules/services/networking/pptpd.nix b/nixos/modules/services/networking/pptpd.nix
index d8b9e8f8341..3e7753b9dd3 100644
--- a/nixos/modules/services/networking/pptpd.nix
+++ b/nixos/modules/services/networking/pptpd.nix
@@ -8,13 +8,13 @@ with lib;
enable = mkEnableOption "pptpd, the Point-to-Point Tunneling Protocol daemon";
serverIp = mkOption {
- type = types.string;
+ type = types.str;
description = "The server-side IP address.";
default = "10.124.124.1";
};
clientIpRange = mkOption {
- type = types.string;
+ type = types.str;
description = "The range from which client IPs are drawn.";
default = "10.124.124.2-11";
};
diff --git a/nixos/modules/services/networking/prosody.nix b/nixos/modules/services/networking/prosody.nix
index 40bd9015b1e..1ae063aa6bb 100644
--- a/nixos/modules/services/networking/prosody.nix
+++ b/nixos/modules/services/networking/prosody.nix
@@ -297,7 +297,7 @@ in
};
dataDir = mkOption {
- type = types.string;
+ type = types.path;
description = "Directory where Prosody stores its data";
default = "/var/lib/prosody";
};
diff --git a/nixos/modules/services/networking/quassel.nix b/nixos/modules/services/networking/quassel.nix
index b223a48e055..b495b3948fb 100644
--- a/nixos/modules/services/networking/quassel.nix
+++ b/nixos/modules/services/networking/quassel.nix
@@ -104,6 +104,10 @@ in
gid = config.ids.gids.quassel;
}];
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' - ${user} - - -"
+ ];
+
systemd.services.quassel =
{ description = "Quassel IRC client daemon";
@@ -111,11 +115,6 @@ in
after = [ "network.target" ] ++ optional config.services.postgresql.enable "postgresql.service"
++ optional config.services.mysql.enable "mysql.service";
- preStart = ''
- mkdir -p ${cfg.dataDir}
- chown ${user} ${cfg.dataDir}
- '';
-
serviceConfig =
{
ExecStart = concatStringsSep " " ([
@@ -126,7 +125,6 @@ in
] ++ optional cfg.requireSSL "--require-ssl"
++ optional (cfg.certificateFile != null) "--ssl-cert=${cfg.certificateFile}");
User = user;
- PermissionsStartOnly = true;
};
};
diff --git a/nixos/modules/services/networking/quicktun.nix b/nixos/modules/services/networking/quicktun.nix
index 5bcf923f909..fb783c83646 100644
--- a/nixos/modules/services/networking/quicktun.nix
+++ b/nixos/modules/services/networking/quicktun.nix
@@ -93,18 +93,18 @@ with lib;
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
environment = {
- "INTERFACE" = name;
- "TUN_MODE" = toString qtcfg.tunMode;
- "REMOTE_ADDRESS" = qtcfg.remoteAddress;
- "LOCAL_ADDRESS" = qtcfg.localAddress;
- "LOCAL_PORT" = toString qtcfg.localPort;
- "REMOTE_PORT" = toString qtcfg.remotePort;
- "REMOTE_FLOAT" = toString qtcfg.remoteFloat;
- "PRIVATE_KEY" = qtcfg.privateKey;
- "PUBLIC_KEY" = qtcfg.publicKey;
- "TIME_WINDOW" = toString qtcfg.timeWindow;
- "TUN_UP_SCRIPT" = pkgs.writeScript "quicktun-${name}-up.sh" qtcfg.upScript;
- "SUID" = "nobody";
+ INTERFACE = name;
+ TUN_MODE = toString qtcfg.tunMode;
+ REMOTE_ADDRESS = qtcfg.remoteAddress;
+ LOCAL_ADDRESS = qtcfg.localAddress;
+ LOCAL_PORT = toString qtcfg.localPort;
+ REMOTE_PORT = toString qtcfg.remotePort;
+ REMOTE_FLOAT = toString qtcfg.remoteFloat;
+ PRIVATE_KEY = qtcfg.privateKey;
+ PUBLIC_KEY = qtcfg.publicKey;
+ TIME_WINDOW = toString qtcfg.timeWindow;
+ TUN_UP_SCRIPT = pkgs.writeScript "quicktun-${name}-up.sh" qtcfg.upScript;
+ SUID = "nobody";
};
serviceConfig = {
Type = "simple";
diff --git a/nixos/modules/services/networking/radicale.nix b/nixos/modules/services/networking/radicale.nix
index d6fabbcd470..1daced4a6c7 100644
--- a/nixos/modules/services/networking/radicale.nix
+++ b/nixos/modules/services/networking/radicale.nix
@@ -41,7 +41,7 @@ in
};
services.radicale.config = mkOption {
- type = types.string;
+ type = types.str;
default = "";
description = ''
Radicale configuration, this will set the service
@@ -50,7 +50,7 @@ in
};
services.radicale.extraArgs = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
description = "Extra arguments passed to the Radicale daemon.";
};
diff --git a/nixos/modules/services/networking/rdnssd.nix b/nixos/modules/services/networking/rdnssd.nix
index 887772f6e5f..bccab805bee 100644
--- a/nixos/modules/services/networking/rdnssd.nix
+++ b/nixos/modules/services/networking/rdnssd.nix
@@ -35,6 +35,11 @@ in
config = mkIf config.services.rdnssd.enable {
+ assertions = [{
+ assertion = config.networking.resolvconf.enable;
+ message = "rdnssd needs resolvconf to work (probably something sets up a static resolv.conf)";
+ }];
+
systemd.services.rdnssd = {
description = "RDNSS daemon";
after = [ "network.target" ];
diff --git a/nixos/modules/services/networking/resilio.nix b/nixos/modules/services/networking/resilio.nix
index ee7f82ac7be..9b25aa57583 100644
--- a/nixos/modules/services/networking/resilio.nix
+++ b/nixos/modules/services/networking/resilio.nix
@@ -249,7 +249,7 @@ in
systemd.services.resilio = with pkgs; {
description = "Resilio Sync Service";
wantedBy = [ "multi-user.target" ];
- after = [ "network.target" "local-fs.target" ];
+ after = [ "network.target" ];
serviceConfig = {
Restart = "on-abort";
UMask = "0002";
diff --git a/nixos/modules/services/networking/shadowsocks.nix b/nixos/modules/services/networking/shadowsocks.nix
index fe6d65a5f96..af12db590f0 100644
--- a/nixos/modules/services/networking/shadowsocks.nix
+++ b/nixos/modules/services/networking/shadowsocks.nix
@@ -35,10 +35,10 @@ in
};
localAddress = mkOption {
- type = types.str;
- default = "0.0.0.0";
+ type = types.coercedTo types.str singleton (types.listOf types.str);
+ default = [ "[::0]" "0.0.0.0" ];
description = ''
- Local address to which the server binds.
+ Local addresses to which the server binds.
'';
};
diff --git a/nixos/modules/services/networking/shout.nix b/nixos/modules/services/networking/shout.nix
index f511a9af256..e548ec66962 100644
--- a/nixos/modules/services/networking/shout.nix
+++ b/nixos/modules/services/networking/shout.nix
@@ -35,7 +35,7 @@ in {
};
listenAddress = mkOption {
- type = types.string;
+ type = types.str;
default = "0.0.0.0";
description = "IP interface to listen on for http connections.";
};
diff --git a/nixos/modules/services/networking/smokeping.nix b/nixos/modules/services/networking/smokeping.nix
index fab3ed5bb39..d4d0594a9cd 100644
--- a/nixos/modules/services/networking/smokeping.nix
+++ b/nixos/modules/services/networking/smokeping.nix
@@ -55,7 +55,7 @@ in
description = "Enable the smokeping service";
};
alertConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = ''
to = root@localhost
from = smokeping@localhost
@@ -73,19 +73,20 @@ in
description = "Configuration for alerts.";
};
cgiUrl = mkOption {
- type = types.string;
- default = "http://${cfg.hostName}:${builtins.toString cfg.port}/smokeping.cgi";
+ type = types.str;
+ default = "http://${cfg.hostName}:${toString cfg.port}/smokeping.cgi";
+ defaultText = "http://\${hostName}:\${toString port}/smokeping.cgi";
example = "https://somewhere.example.com/smokeping.cgi";
description = "URL to the smokeping cgi.";
};
config = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.lines;
default = null;
description = "Full smokeping config supplied by the user. Overrides " +
"and replaces any other configuration supplied.";
};
databaseConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = ''
step = 300
pings = 20
@@ -101,17 +102,17 @@ in
'';
example = literalExample ''
# near constant pings.
- step = 30
- pings = 20
- # consfn mrhb steps total
- AVERAGE 0.5 1 10080
- AVERAGE 0.5 12 43200
- MIN 0.5 12 43200
- MAX 0.5 12 43200
- AVERAGE 0.5 144 7200
- MAX 0.5 144 7200
- MIN 0.5 144 7200
- '';
+ step = 30
+ pings = 20
+ # consfn mrhb steps total
+ AVERAGE 0.5 1 10080
+ AVERAGE 0.5 12 43200
+ MIN 0.5 12 43200
+ MAX 0.5 12 43200
+ AVERAGE 0.5 144 7200
+ MAX 0.5 144 7200
+ MIN 0.5 144 7200
+ '';
description = ''Configure the ping frequency and retention of the rrd files.
Once set, changing the interval will require deletion or migration of all
the collected data.'';
@@ -122,14 +123,15 @@ in
description = "Any additional customization not already included.";
};
hostName = mkOption {
- type = types.string;
+ type = types.str;
default = config.networking.hostName;
example = "somewhere.example.com";
description = "DNS name for the urls generated in the cgi.";
};
imgUrl = mkOption {
- type = types.string;
- default = "http://${cfg.hostName}:${builtins.toString cfg.port}/cache";
+ type = types.str;
+ default = "http://${cfg.hostName}:${toString cfg.port}/cache";
+ defaultText = "http://\${hostName}:\${toString port}/cache";
example = "https://somewhere.example.com/cache";
description = "Base url for images generated in the cgi.";
};
@@ -140,19 +142,19 @@ in
description = "DNS name for the urls generated in the cgi.";
};
mailHost = mkOption {
- type = types.string;
+ type = types.str;
default = "";
example = "localhost";
description = "Use this SMTP server to send alerts";
};
owner = mkOption {
- type = types.string;
+ type = types.str;
default = "nobody";
example = "Joe Admin";
description = "Real name of the owner of the instance";
};
ownerEmail = mkOption {
- type = types.string;
+ type = types.str;
default = "no-reply@${cfg.hostName}";
example = "no-reply@yourdomain.com";
description = "Email contact for owner";
@@ -170,7 +172,7 @@ in
description = "TCP port to use for the web server.";
};
presentationConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = ''
+ charts
menu = Charts
@@ -211,12 +213,12 @@ in
description = "presentation graph style";
};
presentationTemplate = mkOption {
- type = types.string;
+ type = types.str;
default = "${pkgs.smokeping}/etc/basepage.html.dist";
description = "Default page layout for the web UI.";
};
probeConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = ''
+ FPing
binary = ${config.security.wrapperDir}/fping
@@ -230,12 +232,12 @@ in
description = "Use this sendmail compatible script to deliver alerts";
};
smokeMailTemplate = mkOption {
- type = types.string;
+ type = types.str;
default = "${cfg.package}/etc/smokemail.dist";
description = "Specify the smokemail template for alerts.";
};
targetConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = ''
probe = FPing
menu = Top
@@ -253,7 +255,7 @@ in
description = "Target configuration";
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "smokeping";
description = "User that runs smokeping and (optionally) thttpd";
};
@@ -275,7 +277,7 @@ in
];
security.wrappers = {
fping.source = "${pkgs.fping}/bin/fping";
- "fping6".source = "${pkgs.fping}/bin/fping6";
+ fping6.source = "${pkgs.fping}/bin/fping6";
};
environment.systemPackages = [ pkgs.fping ];
users.users = singleton {
diff --git a/nixos/modules/services/networking/softether.nix b/nixos/modules/services/networking/softether.nix
index 0046dcd366f..2dc73d81b25 100644
--- a/nixos/modules/services/networking/softether.nix
+++ b/nixos/modules/services/networking/softether.nix
@@ -50,7 +50,7 @@ in
};
dataDir = mkOption {
- type = types.string;
+ type = types.path;
default = "/var/lib/softether";
description = ''
Data directory for SoftEther VPN.
@@ -68,10 +68,8 @@ in
mkMerge [{
environment.systemPackages = [ package ];
- systemd.services."softether-init" = {
+ systemd.services.softether-init = {
description = "SoftEther VPN services initial task";
- after = [ "keys.target" ];
- wants = [ "keys.target" ];
wantedBy = [ "network.target" ];
serviceConfig = {
Type = "oneshot";
diff --git a/nixos/modules/services/networking/squid.nix b/nixos/modules/services/networking/squid.nix
index b220c21b604..9d063b92aa1 100644
--- a/nixos/modules/services/networking/squid.nix
+++ b/nixos/modules/services/networking/squid.nix
@@ -159,11 +159,10 @@ in
serviceConfig = {
Type="forking";
PIDFile="/run/squid.pid";
- PermissionsStartOnly = true;
ExecStart = "${pkgs.squid}/bin/squid -YCs -f ${squidConfig}";
};
};
};
-}
\ No newline at end of file
+}
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix
index 89f56a726f4..91fc7d72bc6 100644
--- a/nixos/modules/services/networking/ssh/sshd.nix
+++ b/nixos/modules/services/networking/ssh/sshd.nix
@@ -4,7 +4,15 @@ with lib;
let
- sshconf = pkgs.runCommand "sshd.conf-validated" { nativeBuildInputs = [ cfgc.package ]; } ''
+ # The splicing information needed for nativeBuildInputs isn't available
+ # on the derivations likely to be used as `cfgc.package`.
+ # This middle-ground solution ensures *an* sshd can do their basic validation
+ # on the configuration.
+ validationPackage = if pkgs.stdenv.buildPlatform == pkgs.stdenv.hostPlatform
+ then [ cfgc.package ]
+ else [ pkgs.buildPackages.openssh ];
+
+ sshconf = pkgs.runCommand "sshd.conf-validated" { nativeBuildInputs = [ validationPackage ]; } ''
cat >$out <
'';
- single = f: name: value: { "${name}" = f value; };
+ single = f: name: value: { ${name} = f value; };
mkStrParam = mkParamOfType types.str;
mkOptionalStrParam = mkStrParam null;
diff --git a/nixos/modules/services/networking/strongswan-swanctl/param-lib.nix b/nixos/modules/services/networking/strongswan-swanctl/param-lib.nix
index 193ad27f035..2bbb39a7604 100644
--- a/nixos/modules/services/networking/strongswan-swanctl/param-lib.nix
+++ b/nixos/modules/services/networking/strongswan-swanctl/param-lib.nix
@@ -21,7 +21,7 @@ rec {
mkConf = indent : ps :
concatMapStringsSep "\n"
(name:
- let value = ps."${name}";
+ let value = ps.${name};
indentation = replicate indent " ";
in
indentation + (
@@ -58,7 +58,7 @@ rec {
) set);
# Recursively map over every parameter in the given attribute set.
- mapParamsRecursive = mapAttrsRecursiveCond' (as: (!(as ? "_type" && as._type == "param")));
+ mapParamsRecursive = mapAttrsRecursiveCond' (as: (!(as ? _type && as._type == "param")));
mapAttrsRecursiveCond' = cond: f: set:
let
@@ -67,7 +67,7 @@ rec {
g =
name: value:
if isAttrs value && cond value
- then { "${name}" = recurse (path ++ [name]) value; }
+ then { ${name} = recurse (path ++ [name]) value; }
else f (path ++ [name]) name value;
in mapAttrs'' g set;
in recurse [] set;
@@ -77,6 +77,6 @@ rec {
# Extract the options from the given set of parameters.
paramsToOptions = ps :
- mapParamsRecursive (_path: name: param: { "${name}" = param.option; }) ps;
+ mapParamsRecursive (_path: name: param: { ${name} = param.option; }) ps;
}
diff --git a/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix b/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
index d4f7e95f859..808cb863a9c 100644
--- a/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
+++ b/nixos/modules/services/networking/strongswan-swanctl/swanctl-params.nix
@@ -6,7 +6,7 @@
#
# git clone https://github.com/strongswan/strongswan.git
# cd strongswan
-# git diff 5.5.3..5.6.0 src/swanctl/swanctl.opt
+# git diff 5.7.2..5.8.0 src/swanctl/swanctl.opt
lib: with (import ./param-constructors.nix lib);
@@ -227,6 +227,22 @@ in {
irrespective of the value of this option (even when set to no).
'';
+ childless = mkEnumParam [ "allow" "force" "never" ] "allow" ''
+ Use childless IKE_SA initiation (RFC 6023) for IKEv2. Acceptable values
+ are allow (the default), force and
+ never. If set to allow, responders
+ will accept childless IKE_SAs (as indicated via notify in the IKE_SA_INIT
+ response) while initiators continue to create regular IKE_SAs with the
+ first CHILD_SA created during IKE_AUTH, unless the IKE_SA is initiated
+ explicitly without any children (which will fail if the responder does not
+ support or has disabled this extension). If set to
+ force, only childless initiation is accepted and the
+ first CHILD_SA is created with a separate CREATE_CHILD_SA exchange
+ (e.g. to use an independent DH exchange for all CHILD_SAs). Finally,
+ setting the option to never disables support for
+ childless IKE_SAs as responder.
+ '';
+
send_certreq = mkYesNoParam yes ''
Send certificate request payloads to offer trusted root CA certificates to
the peer. Certificate requests help the peer to choose an appropriate
@@ -350,6 +366,16 @@ in {
name from either the pools section or an external pool.
'';
+ if_id_in = mkStrParam "0" ''
+ XFRM interface ID set on inbound policies/SA, can be overridden by child
+ config, see there for details.
+ '';
+
+ if_id_out = mkStrParam "0" ''
+ XFRM interface ID set on outbound policies/SA, can be overridden by child
+ config, see there for details.
+ '';
+
mediation = mkYesNoParam no ''
Whether this connection is a mediation connection, that is, whether this
connection is used to mediate other connections using the IKEv2 Mediation
@@ -799,7 +825,7 @@ in {
Updown script to invoke on CHILD_SA up and down events.
'';
- hostaccess = mkYesNoParam yes ''
+ hostaccess = mkYesNoParam no ''
Hostaccess variable to pass to updown script.
'';
@@ -960,6 +986,26 @@ in {
mask requires at least Linux 4.19.
'';
+ if_id_in = mkStrParam "0" ''
+ XFRM interface ID set on inbound policies/SA. This allows installing
+ duplicate policies/SAs and associates them with an interface with the
+ same ID. The special value %unique sets a unique
+ interface ID on each CHILD_SA instance, beyond that the value
+ %unique-dir assigns a different unique interface ID
+ for each CHILD_SA direction (in/out).
+ '';
+
+ if_id_out = mkStrParam "0" ''
+ XFRM interface ID set on outbound policies/SA. This allows installing
+ duplicate policies/SAs and associates them with an interface with the
+ same ID. The special value %unique sets a unique
+ interface ID on each CHILD_SA instance, beyond that the value
+ %unique-dir assigns a different unique interface ID
+ for each CHILD_SA direction (in/out).
+
+ The daemon will not install routes for CHILD_SAs that have this option set.
+ '';
+
tfc_padding = mkParamOfType (with lib.types; either int (enum ["mtu"])) 0 ''
Pads ESP packets with additional data to have a consistent ESP packet
size for improved Traffic Flow Confidentiality. The padding defines the
diff --git a/nixos/modules/services/networking/strongswan.nix b/nixos/modules/services/networking/strongswan.nix
index 41b69039ba7..4ff9c486059 100644
--- a/nixos/modules/services/networking/strongswan.nix
+++ b/nixos/modules/services/networking/strongswan.nix
@@ -151,8 +151,7 @@ in
description = "strongSwan IPSec Service";
wantedBy = [ "multi-user.target" ];
path = with pkgs; [ kmod iproute iptables utillinux ]; # XXX Linux
- wants = [ "keys.target" ];
- after = [ "network-online.target" "keys.target" ];
+ after = [ "network-online.target" ];
environment = {
STRONGSWAN_CONF = strongswanConf { inherit setup connections ca secretsFile managePlugins enabledPlugins; };
};
diff --git a/nixos/modules/services/networking/stubby.nix b/nixos/modules/services/networking/stubby.nix
index 3fbf6eb60e9..b38bcd4cec0 100644
--- a/nixos/modules/services/networking/stubby.nix
+++ b/nixos/modules/services/networking/stubby.nix
@@ -168,7 +168,7 @@ in
default = defaultUpstream;
type = types.lines;
description = ''
- Add additional upstreams. See stubby
+ Replace default upstreams. See stubby
1 for an
example of the entry formatting. In Strict mode, at least one of the
following settings must be supplied for each nameserver:
diff --git a/nixos/modules/services/networking/stunnel.nix b/nixos/modules/services/networking/stunnel.nix
index 89a14966eca..cbc899f2b4d 100644
--- a/nixos/modules/services/networking/stunnel.nix
+++ b/nixos/modules/services/networking/stunnel.nix
@@ -35,12 +35,12 @@ let
clientConfig = {
options = {
accept = mkOption {
- type = types.string;
+ type = types.str;
description = "IP:Port on which connections should be accepted.";
};
connect = mkOption {
- type = types.string;
+ type = types.str;
description = "IP:Port destination to connect to.";
};
@@ -63,7 +63,7 @@ let
};
verifyHostname = mkOption {
- type = with types; nullOr string;
+ type = with types; nullOr str;
default = null;
description = "If set, stunnel checks if the provided certificate is valid for the given hostname.";
};
@@ -88,13 +88,13 @@ in
};
user = mkOption {
- type = with types; nullOr string;
+ type = with types; nullOr str;
default = "nobody";
description = "The user under which stunnel runs.";
};
group = mkOption {
- type = with types; nullOr string;
+ type = with types; nullOr str;
default = "nogroup";
description = "The group under which stunnel runs.";
};
diff --git a/nixos/modules/services/networking/syncplay.nix b/nixos/modules/services/networking/syncplay.nix
new file mode 100644
index 00000000000..e3147c10502
--- /dev/null
+++ b/nixos/modules/services/networking/syncplay.nix
@@ -0,0 +1,80 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.syncplay;
+
+ cmdArgs =
+ [ "--port" cfg.port ]
+ ++ optionals (cfg.salt != null) [ "--salt" cfg.salt ]
+ ++ optionals (cfg.certDir != null) [ "--tls" cfg.certDir ];
+
+in
+{
+ options = {
+ services.syncplay = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "If enabled, start the Syncplay server.";
+ };
+
+ port = mkOption {
+ type = types.int;
+ default = 8999;
+ description = ''
+ TCP port to bind to.
+ '';
+ };
+
+ salt = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ Salt to allow room operator passwords generated by this server
+ instance to still work when the server is restarted.
+ '';
+ };
+
+ certDir = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ TLS certificates directory to use for encryption. See
+ .
+ '';
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "nobody";
+ description = ''
+ User to use when running Syncplay.
+ '';
+ };
+
+ group = mkOption {
+ type = types.str;
+ default = "nogroup";
+ description = ''
+ Group to use when running Syncplay.
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.services.syncplay = {
+ description = "Syncplay Service";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target "];
+
+ serviceConfig = {
+ ExecStart = "${pkgs.syncplay}/bin/syncplay-server ${escapeShellArgs cmdArgs}";
+ User = cfg.user;
+ Group = cfg.group;
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/networking/syncthing.nix b/nixos/modules/services/networking/syncthing.nix
index e011172ffa7..165fd5970cf 100644
--- a/nixos/modules/services/networking/syncthing.nix
+++ b/nixos/modules/services/networking/syncthing.nix
@@ -291,7 +291,7 @@ in {
group = mkOption {
type = types.str;
- default = "nogroup";
+ default = defaultUser;
description = ''
Syncthing will be run under this group (group will not be created if it doesn't exist.
This can be your user name).
@@ -372,16 +372,18 @@ in {
systemd.packages = [ pkgs.syncthing ];
- users = mkIf (cfg.systemService && cfg.user == defaultUser) {
- users."${defaultUser}" =
+ users.users = mkIf (cfg.systemService && cfg.user == defaultUser) {
+ ${defaultUser} =
{ group = cfg.group;
home = cfg.dataDir;
createHome = true;
uid = config.ids.uids.syncthing;
description = "Syncthing daemon user";
};
+ };
- groups."${defaultUser}".gid =
+ users.groups = mkIf (cfg.systemService && cfg.group == defaultUser) {
+ ${defaultUser}.gid =
config.ids.gids.syncthing;
};
@@ -403,18 +405,12 @@ in {
Group = cfg.group;
ExecStartPre = mkIf (cfg.declarative.cert != null || cfg.declarative.key != null)
"+${pkgs.writers.writeBash "syncthing-copy-keys" ''
- mkdir -p ${cfg.configDir}
- chown ${cfg.user}:${cfg.group} ${cfg.configDir}
- chmod 700 ${cfg.configDir}
+ install -dm700 -o ${cfg.user} -g ${cfg.group} ${cfg.configDir}
${optionalString (cfg.declarative.cert != null) ''
- cp ${toString cfg.declarative.cert} ${cfg.configDir}/cert.pem
- chown ${cfg.user}:${cfg.group} ${cfg.configDir}/cert.pem
- chmod 400 ${cfg.configDir}/cert.pem
+ install -Dm400 -o ${cfg.user} -g ${cfg.group} ${toString cfg.declarative.cert} ${cfg.configDir}/cert.pem
''}
${optionalString (cfg.declarative.key != null) ''
- cp ${toString cfg.declarative.key} ${cfg.configDir}/key.pem
- chown ${cfg.user}:${cfg.group} ${cfg.configDir}/key.pem
- chmod 400 ${cfg.configDir}/key.pem
+ install -Dm400 -o ${cfg.user} -g ${cfg.group} ${toString cfg.declarative.key} ${cfg.configDir}/key.pem
''}
''}"
;
@@ -426,7 +422,9 @@ in {
'';
};
};
- syncthing-init = {
+ syncthing-init = mkIf (
+ cfg.declarative.devices != {} || cfg.declarative.folders != {}
+ ) {
after = [ "syncthing.service" ];
wantedBy = [ "multi-user.target" ];
diff --git a/nixos/modules/services/networking/teamspeak3.nix b/nixos/modules/services/networking/teamspeak3.nix
index 9ea9c83e37c..fadb32dcd77 100644
--- a/nixos/modules/services/networking/teamspeak3.nix
+++ b/nixos/modules/services/networking/teamspeak3.nix
@@ -111,16 +111,15 @@ in
gid = config.ids.gids.teamspeak;
};
+ systemd.tmpfiles.rules = [
+ "d '${cfg.logPath}' - ${user} ${group} - -"
+ ];
+
systemd.services.teamspeak3-server = {
description = "Teamspeak3 voice communication server daemon";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
- preStart = ''
- mkdir -p ${cfg.logPath}
- chown ${user}:${group} ${cfg.logPath}
- '';
-
serviceConfig = {
ExecStart = ''
${ts3}/bin/ts3server \
@@ -135,7 +134,6 @@ in
WorkingDirectory = cfg.dataDir;
User = user;
Group = group;
- PermissionsStartOnly = true;
};
};
};
diff --git a/nixos/modules/services/networking/thelounge.nix b/nixos/modules/services/networking/thelounge.nix
new file mode 100644
index 00000000000..b1d23372955
--- /dev/null
+++ b/nixos/modules/services/networking/thelounge.nix
@@ -0,0 +1,75 @@
+{ pkgs, lib, config, ... }:
+
+with lib;
+
+let
+ cfg = config.services.thelounge;
+ dataDir = "/var/lib/thelounge";
+ configJsData = "module.exports = " + builtins.toJSON (
+ { private = cfg.private; port = cfg.port; } // cfg.extraConfig
+ );
+in {
+ options.services.thelounge = {
+ enable = mkEnableOption "The Lounge web IRC client";
+
+ private = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Make your The Lounge instance private. You will need to configure user
+ accounts by using the (thelounge) command or by adding
+ entries in ${dataDir}/users. You might need to restart
+ The Lounge after making changes to the state directory.
+ '';
+ };
+
+ port = mkOption {
+ type = types.port;
+ default = 9000;
+ description = "TCP port to listen on for http connections.";
+ };
+
+ extraConfig = mkOption {
+ default = {};
+ type = types.attrs;
+ example = literalExample ''{
+ reverseProxy = true;
+ defaults = {
+ name = "Your Network";
+ host = "localhost";
+ port = 6697;
+ };
+ }'';
+ description = ''
+ The Lounge's config.js contents as attribute set (will be
+ converted to JSON to generate the configuration file).
+
+ The options defined here will be merged to the default configuration file.
+ Note: In case of duplicate configuration, options from have priority.
+
+ Documentation:
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+ users.users.thelounge = {
+ description = "thelounge service user";
+ group = "thelounge";
+ };
+ users.groups.thelounge = {};
+ systemd.services.thelounge = {
+ description = "The Lounge web IRC client";
+ wantedBy = [ "multi-user.target" ];
+ environment = { THELOUNGE_HOME = dataDir; };
+ preStart = "ln -sf ${pkgs.writeText "config.js" configJsData} ${dataDir}/config.js";
+ serviceConfig = {
+ User = "thelounge";
+ StateDirectory = baseNameOf dataDir;
+ ExecStart = "${pkgs.thelounge}/bin/thelounge start";
+ };
+ };
+
+ environment.systemPackages = [ pkgs.thelounge ];
+ };
+}
diff --git a/nixos/modules/services/networking/toxvpn.nix b/nixos/modules/services/networking/toxvpn.nix
index 7830dfb1834..9e97faeebc1 100644
--- a/nixos/modules/services/networking/toxvpn.nix
+++ b/nixos/modules/services/networking/toxvpn.nix
@@ -8,7 +8,7 @@ with lib;
enable = mkEnableOption "toxvpn running on startup";
localip = mkOption {
- type = types.string;
+ type = types.str;
default = "10.123.123.1";
description = "your ip on the vpn";
};
@@ -20,10 +20,10 @@ with lib;
};
auto_add_peers = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
example = ''[ "toxid1" "toxid2" ]'';
- description = "peers to automacally connect to on startup";
+ description = "peers to automatically connect to on startup";
};
};
};
diff --git a/nixos/modules/services/networking/unbound.nix b/nixos/modules/services/networking/unbound.nix
index 1a35979ad44..3cf82e8839b 100644
--- a/nixos/modules/services/networking/unbound.nix
+++ b/nixos/modules/services/networking/unbound.nix
@@ -101,6 +101,8 @@ in
isSystemUser = true;
};
+ networking.resolvconf.useLocalResolver = mkDefault true;
+
systemd.services.unbound = {
description = "Unbound recursive Domain Name Server";
after = [ "network.target" ];
diff --git a/nixos/modules/services/networking/unifi.nix b/nixos/modules/services/networking/unifi.nix
index c82e0af2803..c922ba15960 100644
--- a/nixos/modules/services/networking/unifi.nix
+++ b/nixos/modules/services/networking/unifi.nix
@@ -146,6 +146,11 @@ in
where = where;
}) mountPoints;
+ systemd.tmpfiles.rules = [
+ "e '${stateDir}' 0700 unifi - - -"
+ "d '${stateDir}/data' 0700 unifi - - -"
+ ];
+
systemd.services.unifi = {
description = "UniFi controller daemon";
wantedBy = [ "multi-user.target" ];
@@ -157,14 +162,9 @@ in
environment.LD_LIBRARY_PATH = with pkgs.stdenv; "${cc.cc.lib}/lib";
preStart = ''
- # Ensure privacy of state and data.
- chown unifi "${stateDir}" "${stateDir}/data"
- chmod 0700 "${stateDir}" "${stateDir}/data"
-
# Create the volatile webapps
rm -rf "${stateDir}/webapps"
mkdir -p "${stateDir}/webapps"
- chown unifi "${stateDir}/webapps"
ln -s "${cfg.unifiPackage}/webapps/ROOT" "${stateDir}/webapps/ROOT"
'';
@@ -176,8 +176,8 @@ in
Type = "simple";
ExecStart = "${(removeSuffix "\n" cmd)} start";
ExecStop = "${(removeSuffix "\n" cmd)} stop";
+ Restart = "on-failure";
User = "unifi";
- PermissionsStartOnly = true;
UMask = "0077";
WorkingDirectory = "${stateDir}";
};
diff --git a/nixos/modules/services/networking/vsftpd.nix b/nixos/modules/services/networking/vsftpd.nix
index 31e1e65fa9c..67be60da567 100644
--- a/nixos/modules/services/networking/vsftpd.nix
+++ b/nixos/modules/services/networking/vsftpd.nix
@@ -164,7 +164,7 @@ in
};
anonymousUmask = mkOption {
- type = types.string;
+ type = types.str;
default = "077";
example = "002";
description = "Anonymous write umask.";
diff --git a/nixos/modules/services/networking/websockify.nix b/nixos/modules/services/networking/websockify.nix
index 4b76350ecf8..d9177df65bd 100644
--- a/nixos/modules/services/networking/websockify.nix
+++ b/nixos/modules/services/networking/websockify.nix
@@ -44,9 +44,9 @@ let cfg = config.services.networking.websockify; in {
scriptArgs = "%i";
};
- systemd.targets."default-websockify" = {
+ systemd.targets.default-websockify = {
description = "Target to start all default websockify@ services";
- unitConfig."X-StopOnReconfiguration" = true;
+ unitConfig.X-StopOnReconfiguration = true;
wants = mapAttrsToList (name: value: "websockify@${name}:${toString value}.service") cfg.portMap;
wantedBy = [ "multi-user.target" ];
};
diff --git a/nixos/modules/services/networking/wireguard.nix b/nixos/modules/services/networking/wireguard.nix
index 3a65f7ff32c..4176da2c8cb 100644
--- a/nixos/modules/services/networking/wireguard.nix
+++ b/nixos/modules/services/networking/wireguard.nix
@@ -229,8 +229,61 @@ let
'';
};
+ generatePeerUnit = { interfaceName, interfaceCfg, peer }:
+ let
+ keyToUnitName = replaceChars
+ [ "/" "-" " " "+" "=" ]
+ [ "-" "\\x2d" "\\x20" "\\x2b" "\\x3d" ];
+ unitName = keyToUnitName peer.publicKey;
+ psk =
+ if peer.presharedKey != null
+ then pkgs.writeText "wg-psk" peer.presharedKey
+ else peer.presharedKeyFile;
+ in nameValuePair "wireguard-${interfaceName}-peer-${unitName}"
+ {
+ description = "WireGuard Peer - ${interfaceName} - ${peer.publicKey}";
+ requires = [ "wireguard-${interfaceName}.service" ];
+ after = [ "wireguard-${interfaceName}.service" ];
+ wantedBy = [ "multi-user.target" "wireguard-${interfaceName}.service" ];
+ environment.DEVICE = interfaceName;
+ environment.WG_ENDPOINT_RESOLUTION_RETRIES = "infinity";
+ path = with pkgs; [ iproute wireguard-tools ];
- generateSetupServiceUnit = name: values:
+ serviceConfig = {
+ Type = "oneshot";
+ RemainAfterExit = true;
+ };
+
+ script = let
+ wg_setup = "wg set ${interfaceName} peer ${peer.publicKey}" +
+ optionalString (psk != null) " preshared-key ${psk}" +
+ optionalString (peer.endpoint != null) " endpoint ${peer.endpoint}" +
+ optionalString (peer.persistentKeepalive != null) " persistent-keepalive ${toString peer.persistentKeepalive}" +
+ optionalString (peer.allowedIPs != []) " allowed-ips ${concatStringsSep "," peer.allowedIPs}";
+ route_setup =
+ optionalString (interfaceCfg.allowedIPsAsRoutes != false)
+ (concatMapStringsSep "\n"
+ (allowedIP:
+ "ip route replace ${allowedIP} dev ${interfaceName} table ${interfaceCfg.table}"
+ ) peer.allowedIPs);
+ in ''
+ ${wg_setup}
+ ${route_setup}
+ '';
+
+ postStop = let
+ route_destroy = optionalString (interfaceCfg.allowedIPsAsRoutes != false)
+ (concatMapStringsSep "\n"
+ (allowedIP:
+ "ip route delete ${allowedIP} dev ${interfaceName} table ${interfaceCfg.table}"
+ ) peer.allowedIPs);
+ in ''
+ wg set ${interfaceName} peer ${peer.publicKey} remove
+ ${route_destroy}
+ '';
+ };
+
+ generateInterfaceUnit = name: values:
# exactly one way to specify the private key must be set
#assert (values.privateKey != null) != (values.privateKeyFile != null);
let privKey = if values.privateKeyFile != null then values.privateKeyFile else pkgs.writeText "wg-key" values.privateKey;
@@ -245,14 +298,12 @@ let
path = with pkgs; [ kmod iproute wireguard-tools ];
serviceConfig = {
- Type = "simple";
- Restart = "on-failure";
- RestartSec = "5s";
+ Type = "oneshot";
RemainAfterExit = true;
};
script = ''
- ${optionalString (!config.boot.isContainer) "modprobe wireguard"}
+ ${optionalString (!config.boot.isContainer) "modprobe wireguard || true"}
${values.preSetup}
@@ -265,25 +316,8 @@ let
wg set ${name} private-key ${privKey} ${
optionalString (values.listenPort != null) " listen-port ${toString values.listenPort}"}
- ${concatMapStringsSep "\n" (peer:
- assert (peer.presharedKeyFile == null) || (peer.presharedKey == null); # at most one of the two must be set
- let psk = if peer.presharedKey != null then pkgs.writeText "wg-psk" peer.presharedKey else peer.presharedKeyFile;
- in
- "wg set ${name} peer ${peer.publicKey}" +
- optionalString (psk != null) " preshared-key ${psk}" +
- optionalString (peer.endpoint != null) " endpoint ${peer.endpoint}" +
- optionalString (peer.persistentKeepalive != null) " persistent-keepalive ${toString peer.persistentKeepalive}" +
- optionalString (peer.allowedIPs != []) " allowed-ips ${concatStringsSep "," peer.allowedIPs}"
- ) values.peers}
-
ip link set up dev ${name}
- ${optionalString (values.allowedIPsAsRoutes != false) (concatStringsSep "\n" (concatMap (peer:
- (map (allowedIP:
- "ip route replace ${allowedIP} dev ${name} table ${values.table}"
- ) peer.allowedIPs)
- ) values.peers))}
-
${values.postSetup}
'';
@@ -335,7 +369,12 @@ in
###### implementation
- config = mkIf cfg.enable {
+ config = mkIf cfg.enable (let
+ all_peers = flatten
+ (mapAttrsToList (interfaceName: interfaceCfg:
+ map (peer: { inherit interfaceName interfaceCfg peer;}) interfaceCfg.peers
+ ) cfg.interfaces);
+ in {
assertions = (attrValues (
mapAttrs (name: value: {
@@ -346,19 +385,24 @@ in
mapAttrs (name: value: {
assertion = value.generatePrivateKeyFile -> (value.privateKey == null);
message = "networking.wireguard.interfaces.${name}.generatePrivateKey must not be set if networking.wireguard.interfaces.${name}.privateKey is set.";
- }) cfg.interfaces));
-
+ }) cfg.interfaces))
+ ++ map ({ interfaceName, peer, ... }: {
+ assertion = (peer.presharedKey == null) || (peer.presharedKeyFile == null);
+ message = "networking.wireguard.interfaces.${interfaceName} peer «${peer.publicKey}» has both presharedKey and presharedKeyFile set, but only one can be used.";
+ }) all_peers;
boot.extraModulePackages = [ kernel.wireguard ];
environment.systemPackages = [ pkgs.wireguard-tools ];
- systemd.services = (mapAttrs' generateSetupServiceUnit cfg.interfaces)
+ systemd.services =
+ (mapAttrs' generateInterfaceUnit cfg.interfaces)
+ // (listToAttrs (map generatePeerUnit all_peers))
// (mapAttrs' generateKeyServiceUnit
(filterAttrs (name: value: value.generatePrivateKeyFile) cfg.interfaces));
systemd.paths = mapAttrs' generatePathUnit
(filterAttrs (name: value: value.privateKeyFile != null) cfg.interfaces);
- };
+ });
}
diff --git a/nixos/modules/services/networking/wpa_supplicant.nix b/nixos/modules/services/networking/wpa_supplicant.nix
index 0bd9edf4a41..63e59e7c8fa 100644
--- a/nixos/modules/services/networking/wpa_supplicant.nix
+++ b/nixos/modules/services/networking/wpa_supplicant.nix
@@ -204,6 +204,7 @@ in {
environment.systemPackages = [ pkgs.wpa_supplicant ];
services.dbus.packages = [ pkgs.wpa_supplicant ];
+ services.udev.packages = [ pkgs.crda ];
# FIXME: start a separate wpa_supplicant instance per interface.
systemd.services.wpa_supplicant = let
diff --git a/nixos/modules/services/networking/xinetd.nix b/nixos/modules/services/networking/xinetd.nix
index 2d7cd5cebb4..8dc6f845ed8 100644
--- a/nixos/modules/services/networking/xinetd.nix
+++ b/nixos/modules/services/networking/xinetd.nix
@@ -53,7 +53,7 @@ in
services.xinetd.extraDefaults = mkOption {
default = "";
- type = types.string;
+ type = types.lines;
description = ''
Additional configuration lines added to the default section of xinetd's configuration.
'';
@@ -70,13 +70,13 @@ in
options = {
name = mkOption {
- type = types.string;
+ type = types.str;
example = "login";
description = "Name of the service.";
};
protocol = mkOption {
- type = types.string;
+ type = types.str;
default = "tcp";
description =
"Protocol of the service. Usually tcp or udp.";
@@ -90,25 +90,25 @@ in
};
user = mkOption {
- type = types.string;
+ type = types.str;
default = "nobody";
description = "User account for the service";
};
server = mkOption {
- type = types.string;
+ type = types.str;
example = "/foo/bin/ftpd";
description = "Path of the program that implements the service.";
};
serverArgs = mkOption {
- type = types.string;
+ type = types.separatedString " ";
default = "";
description = "Command-line arguments for the server program.";
};
flags = mkOption {
- type = types.string;
+ type = types.str;
default = "";
description = "";
};
diff --git a/nixos/modules/services/networking/xl2tpd.nix b/nixos/modules/services/networking/xl2tpd.nix
index d0a3ed7bb5e..7dbe51422d9 100644
--- a/nixos/modules/services/networking/xl2tpd.nix
+++ b/nixos/modules/services/networking/xl2tpd.nix
@@ -8,13 +8,13 @@ with lib;
enable = mkEnableOption "xl2tpd, the Layer 2 Tunnelling Protocol Daemon";
serverIp = mkOption {
- type = types.string;
+ type = types.str;
description = "The server-side IP address.";
default = "10.125.125.1";
};
clientIpRange = mkOption {
- type = types.string;
+ type = types.str;
description = "The range from which client IPs are drawn.";
default = "10.125.125.2-11";
};
diff --git a/nixos/modules/services/networking/zerobin.nix b/nixos/modules/services/networking/zerobin.nix
index 06ccd7032e6..78de246a816 100644
--- a/nixos/modules/services/networking/zerobin.nix
+++ b/nixos/modules/services/networking/zerobin.nix
@@ -74,7 +74,7 @@ in
};
config = mkIf (cfg.enable) {
- users.users."${cfg.user}" =
+ users.users.${cfg.user} =
if cfg.user == "zerobin" then {
isSystemUser = true;
group = cfg.group;
@@ -82,7 +82,7 @@ in
createHome = true;
}
else {};
- users.groups."${cfg.group}" = {};
+ users.groups.${cfg.group} = {};
systemd.services.zerobin = {
enable = true;
diff --git a/nixos/modules/services/networking/zeronet.nix b/nixos/modules/services/networking/zeronet.nix
index 611a51c74ce..f4988a90268 100644
--- a/nixos/modules/services/networking/zeronet.nix
+++ b/nixos/modules/services/networking/zeronet.nix
@@ -86,20 +86,17 @@ in with lib; {
'';
};
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' 750 zeronet zeronet - -"
+ "d '${cfg.logDir}' 750 zeronet zeronet - -"
+ ];
+
systemd.services.zeronet = {
description = "zeronet";
after = [ "network.target" (optionalString cfg.tor "tor.service") ];
wantedBy = [ "multi-user.target" ];
- preStart = ''
- # Ensure folder exists or create it and permissions are correct
- mkdir -p ${escapeShellArg cfg.dataDir} ${escapeShellArg cfg.logDir}
- chmod 750 ${escapeShellArg cfg.dataDir} ${escapeShellArg cfg.logDir}
- chown zeronet:zeronet ${escapeShellArg cfg.dataDir} ${escapeShellArg cfg.logDir}
- '';
-
serviceConfig = {
- PermissionsStartOnly = true;
PrivateTmp = "yes";
User = "zeronet";
Group = "zeronet";
diff --git a/nixos/modules/services/networking/znc/default.nix b/nixos/modules/services/networking/znc/default.nix
index 46bff6954cd..05f97bfa539 100644
--- a/nixos/modules/services/networking/znc/default.nix
+++ b/nixos/modules/services/networking/znc/default.nix
@@ -62,9 +62,9 @@ let
concatStringsSep "\n" (toLines cfg.config);
semanticTypes = with types; rec {
- zncAtom = nullOr (either (either int bool) str);
+ zncAtom = nullOr (oneOf [ int bool str ]);
zncAttr = attrsOf (nullOr zncConf);
- zncAll = either (either zncAtom (listOf zncAtom)) zncAttr;
+ zncAll = oneOf [ zncAtom (listOf zncAtom) zncAttr ];
zncConf = attrsOf (zncAll // {
# Since this is a recursive type and the description by default contains
# the description of its subtypes, infinite recursion would occur without
diff --git a/nixos/modules/services/printing/cupsd.nix b/nixos/modules/services/printing/cupsd.nix
index 9e9bdedff12..3fcae611dc7 100644
--- a/nixos/modules/services/printing/cupsd.nix
+++ b/nixos/modules/services/printing/cupsd.nix
@@ -60,6 +60,8 @@ let
TempDir ${cfg.tempDir}
+ SetEnv PATH /var/lib/cups/path/lib/cups/filter:/var/lib/cups/path/bin
+
# User and group used to run external programs, including
# those that actually send the job to the printer. Note that
# Udev sets the group of printer devices to `lp', so we want
@@ -76,8 +78,6 @@ let
'') cfg.listenAddresses}
Listen /run/cups/cups.sock
- SetEnv PATH /var/lib/cups/path/lib/cups/filter:/var/lib/cups/path/bin
-
DefaultShared ${if cfg.defaultShared then "Yes" else "No"}
Browsing ${if cfg.browsing then "Yes" else "No"}
@@ -127,7 +127,7 @@ in
startWhenNeeded = mkOption {
type = types.bool;
- default = false;
+ default = true;
description = ''
If set, CUPS is socket-activated; that is,
instead of having it permanently running as a daemon,
@@ -287,20 +287,35 @@ in
};
environment.systemPackages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
- environment.etc."cups".source = "/var/lib/cups";
+ environment.etc.cups.source = "/var/lib/cups";
services.dbus.packages = [ cups.out ] ++ optional polkitEnabled cups-pk-helper;
+ # Allow asswordless printer admin for members of wheel group
+ security.polkit.extraConfig = mkIf polkitEnabled ''
+ polkit.addRule(function(action, subject) {
+ if (action.id == "org.opensuse.cupspkhelper.mechanism.all-edit" &&
+ subject.isInGroup("wheel")){
+ return polkit.Result.YES;
+ }
+ });
+ '';
+
# Cups uses libusb to talk to printers, and does not use the
# linux kernel driver. If the driver is not in a black list, it
# gets loaded, and then cups cannot access the printers.
boot.blacklistedKernelModules = [ "usblp" ];
+ # Some programs like print-manager rely on this value to get
+ # printer test pages.
+ environment.sessionVariables.CUPS_DATADIR = "${bindir}/share/cups";
+
systemd.packages = [ cups.out ];
systemd.sockets.cups = mkIf cfg.startWhenNeeded {
wantedBy = [ "sockets.target" ];
- listenStreams = map (x: replaceStrings ["localhost"] ["127.0.0.1"] (removePrefix "*:" x)) cfg.listenAddresses;
+ listenStreams = [ "/run/cups/cups.sock" ]
+ ++ map (x: replaceStrings ["localhost"] ["127.0.0.1"] (removePrefix "*:" x)) cfg.listenAddresses;
};
systemd.services.cups =
@@ -362,10 +377,10 @@ in
{ description = "CUPS Remote Printer Discovery";
wantedBy = [ "multi-user.target" ];
- wants = [ "cups.service" "avahi-daemon.service" ];
- bindsTo = [ "cups.service" "avahi-daemon.service" ];
- partOf = [ "cups.service" "avahi-daemon.service" ];
- after = [ "cups.service" "avahi-daemon.service" ];
+ wants = [ "avahi-daemon.service" ] ++ optional (!cfg.startWhenNeeded) "cups.service";
+ bindsTo = [ "avahi-daemon.service" ] ++ optional (!cfg.startWhenNeeded) "cups.service";
+ partOf = [ "avahi-daemon.service" ] ++ optional (!cfg.startWhenNeeded) "cups.service";
+ after = [ "avahi-daemon.service" ] ++ optional (!cfg.startWhenNeeded) "cups.service";
path = [ cups ];
@@ -421,4 +436,7 @@ in
security.pam.services.cups = {};
};
+
+ meta.maintainers = with lib.maintainers; [ matthewbauer ];
+
}
diff --git a/nixos/modules/services/scheduling/fcron.nix b/nixos/modules/services/scheduling/fcron.nix
index f77b3bcd592..e43ca014e14 100644
--- a/nixos/modules/services/scheduling/fcron.nix
+++ b/nixos/modules/services/scheduling/fcron.nix
@@ -143,7 +143,6 @@ in
};
systemd.services.fcron = {
description = "fcron daemon";
- after = [ "local-fs.target" ];
wantedBy = [ "multi-user.target" ];
path = [ pkgs.fcron ];
diff --git a/nixos/modules/services/search/elasticsearch.nix b/nixos/modules/services/search/elasticsearch.nix
index 6b688c640d5..91d8f544e16 100644
--- a/nixos/modules/services/search/elasticsearch.nix
+++ b/nixos/modules/services/search/elasticsearch.nix
@@ -131,6 +131,7 @@ in {
description = "Extra elasticsearch plugins";
default = [];
type = types.listOf types.package;
+ example = lib.literalExample "[ pkgs.elasticsearchPlugins.discovery-ec2 ]";
};
};
diff --git a/nixos/modules/services/search/kibana.nix b/nixos/modules/services/search/kibana.nix
index c096af731ad..43a63aa8fdc 100644
--- a/nixos/modules/services/search/kibana.nix
+++ b/nixos/modules/services/search/kibana.nix
@@ -9,7 +9,7 @@ let
lt6_6 = builtins.compareVersions cfg.package.version "6.6" < 0;
cfgFile = pkgs.writeText "kibana.json" (builtins.toJSON (
- (filterAttrsRecursive (n: v: v != null) ({
+ (filterAttrsRecursive (n: v: v != null && v != []) ({
server.host = cfg.listenAddress;
server.port = cfg.port;
server.ssl.certificate = cfg.cert;
@@ -150,7 +150,7 @@ in {
description = "Kibana package to use";
default = pkgs.kibana;
defaultText = "pkgs.kibana";
- example = "pkgs.kibana5";
+ example = "pkgs.kibana";
type = types.package;
};
diff --git a/nixos/modules/services/security/bitwarden_rs/default.nix b/nixos/modules/services/security/bitwarden_rs/default.nix
index bb036ee020f..80fd65891ff 100644
--- a/nixos/modules/services/security/bitwarden_rs/default.nix
+++ b/nixos/modules/services/security/bitwarden_rs/default.nix
@@ -36,7 +36,7 @@ in {
};
config = mkOption {
- type = attrsOf (nullOr (either (either bool int) str));
+ type = attrsOf (nullOr (oneOf [ bool int str ]));
default = {};
example = literalExample ''
{
diff --git a/nixos/modules/services/security/fprot.nix b/nixos/modules/services/security/fprot.nix
index b1ca4ab2345..47449039146 100644
--- a/nixos/modules/services/security/fprot.nix
+++ b/nixos/modules/services/security/fprot.nix
@@ -67,7 +67,7 @@ in {
services.cron.systemCronJobs = [ "*/${toString cfg.updater.frequency} * * * * root start fprot-updater" ];
- systemd.services."fprot-updater" = {
+ systemd.services.fprot-updater = {
serviceConfig = {
Type = "oneshot";
RemainAfterExit = false;
diff --git a/nixos/modules/services/security/haka.nix b/nixos/modules/services/security/haka.nix
index b64a1b4d03e..618e689924f 100644
--- a/nixos/modules/services/security/haka.nix
+++ b/nixos/modules/services/security/haka.nix
@@ -69,7 +69,7 @@ in
configFile = mkOption {
default = "empty.lua";
example = "/srv/haka/myfilter.lua";
- type = types.string;
+ type = types.str;
description = ''
Specify which configuration file Haka uses.
It can be absolute path or a path relative to the sample directory of
@@ -80,7 +80,7 @@ in
interfaces = mkOption {
default = [ "eth0" ];
example = [ "any" ];
- type = with types; listOf string;
+ type = with types; listOf str;
description = ''
Specify which interface(s) Haka listens to.
Use 'any' to listen to all interfaces.
diff --git a/nixos/modules/services/security/munge.nix b/nixos/modules/services/security/munge.nix
index 1c4f8e20552..89178886471 100644
--- a/nixos/modules/services/security/munge.nix
+++ b/nixos/modules/services/security/munge.nix
@@ -19,7 +19,7 @@ in
password = mkOption {
default = "/etc/munge/munge.key";
- type = types.string;
+ type = types.path;
description = ''
The path to a daemon's secret key.
'';
diff --git a/nixos/modules/services/security/oauth2_proxy.nix b/nixos/modules/services/security/oauth2_proxy.nix
index 61f203ef9e7..bb03f7fc9e4 100644
--- a/nixos/modules/services/security/oauth2_proxy.nix
+++ b/nixos/modules/services/security/oauth2_proxy.nix
@@ -284,7 +284,7 @@ in
####################################################
# UPSTREAM Configuration
upstream = mkOption {
- type = with types; coercedTo string (x: [x]) (listOf string);
+ type = with types; coercedTo str (x: [x]) (listOf str);
default = [];
description = ''
The http url(s) of the upstream endpoint or file://
@@ -523,7 +523,7 @@ in
};
keyFile = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.path;
default = null;
description = ''
oauth2_proxy allows passing sensitive configuration via environment variables.
diff --git a/nixos/modules/services/security/oauth2_proxy_nginx.nix b/nixos/modules/services/security/oauth2_proxy_nginx.nix
index a9ad5497a65..be6734f439f 100644
--- a/nixos/modules/services/security/oauth2_proxy_nginx.nix
+++ b/nixos/modules/services/security/oauth2_proxy_nginx.nix
@@ -6,14 +6,14 @@ in
{
options.services.oauth2_proxy.nginx = {
proxy = mkOption {
- type = types.string;
+ type = types.str;
default = config.services.oauth2_proxy.httpAddress;
description = ''
The address of the reverse proxy endpoint for oauth2_proxy
'';
};
virtualHosts = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
description = ''
A list of nginx virtual hosts to put behind the oauth2 proxy
diff --git a/nixos/modules/services/security/physlock.nix b/nixos/modules/services/security/physlock.nix
index 97fbd6aae6e..61bcd84f2e6 100644
--- a/nixos/modules/services/security/physlock.nix
+++ b/nixos/modules/services/security/physlock.nix
@@ -99,7 +99,7 @@ in
# for physlock -l and physlock -L
environment.systemPackages = [ pkgs.physlock ];
- systemd.services."physlock" = {
+ systemd.services.physlock = {
enable = true;
description = "Physlock";
wantedBy = optional cfg.lockOn.suspend "suspend.target"
diff --git a/nixos/modules/services/security/sks.nix b/nixos/modules/services/security/sks.nix
index 1b7a2ad1398..a91060dc659 100644
--- a/nixos/modules/services/security/sks.nix
+++ b/nixos/modules/services/security/sks.nix
@@ -108,7 +108,7 @@ in {
hkpAddress = "'" + (builtins.concatStringsSep " " cfg.hkpAddress) + "'" ;
hkpPort = builtins.toString cfg.hkpPort;
in {
- "sks-db" = {
+ sks-db = {
description = "SKS database server";
after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
diff --git a/nixos/modules/services/security/sshguard.nix b/nixos/modules/services/security/sshguard.nix
index 3892cd5c72b..4a174564dd2 100644
--- a/nixos/modules/services/security/sshguard.nix
+++ b/nixos/modules/services/security/sshguard.nix
@@ -106,16 +106,24 @@ in {
path = with pkgs; [ iptables ipset iproute systemd ];
- postStart = ''
- ${pkgs.ipset}/bin/ipset -quiet create -exist sshguard4 hash:ip family inet
- ${pkgs.ipset}/bin/ipset -quiet create -exist sshguard6 hash:ip family inet6
+ # The sshguard ipsets must exist before we invoke
+ # iptables. sshguard creates the ipsets after startup if
+ # necessary, but if we let sshguard do it, we can't reliably add
+ # the iptables rules because postStart races with the creation
+ # of the ipsets. So instead, we create both the ipsets and
+ # firewall rules before sshguard starts.
+ preStart = ''
+ ${pkgs.ipset}/bin/ipset -quiet create -exist sshguard4 hash:net family inet
+ ${pkgs.ipset}/bin/ipset -quiet create -exist sshguard6 hash:net family inet6
${pkgs.iptables}/bin/iptables -I INPUT -m set --match-set sshguard4 src -j DROP
${pkgs.iptables}/bin/ip6tables -I INPUT -m set --match-set sshguard6 src -j DROP
'';
- preStop = ''
+ postStop = ''
${pkgs.iptables}/bin/iptables -D INPUT -m set --match-set sshguard4 src -j DROP
${pkgs.iptables}/bin/ip6tables -D INPUT -m set --match-set sshguard6 src -j DROP
+ ${pkgs.ipset}/bin/ipset -quiet destroy sshguard4
+ ${pkgs.ipset}/bin/ipset -quiet destroy sshguard6
'';
unitConfig.Documentation = "man:sshguard(8)";
diff --git a/nixos/modules/services/security/tor.nix b/nixos/modules/services/security/tor.nix
index 6f4852c3ba1..ed862387cce 100644
--- a/nixos/modules/services/security/tor.nix
+++ b/nixos/modules/services/security/tor.nix
@@ -81,7 +81,7 @@ let
${optionalString (elem cfg.relay.role ["bridge" "private-bridge"]) ''
BridgeRelay 1
- ServerTransportPlugin ${concatStringsSep "," cfg.relay.bridgeTransports} exec ${obfs4}/bin/obfs4proxy managed
+ ServerTransportPlugin ${concatStringsSep "," cfg.relay.bridgeTransports} exec ${pkgs.obfs4}/bin/obfs4proxy managed
ExtORPort auto
${optionalString (cfg.relay.role == "private-bridge") ''
ExtraInfoStatistics 0
@@ -722,7 +722,6 @@ in
systemd.services.tor-init =
{ description = "Tor Daemon Init";
wantedBy = [ "tor.service" ];
- after = [ "local-fs.target" ];
script = ''
install -m 0700 -o tor -g tor -d ${torDirectory} ${torDirectory}/onion
install -m 0750 -o tor -g tor -d ${torRunDirectory}
diff --git a/nixos/modules/services/security/usbguard.nix b/nixos/modules/services/security/usbguard.nix
index 88d2f69db57..4ced5acd9bd 100644
--- a/nixos/modules/services/security/usbguard.nix
+++ b/nixos/modules/services/security/usbguard.nix
@@ -39,6 +39,16 @@ in {
services.usbguard = {
enable = mkEnableOption "USBGuard daemon";
+ package = mkOption {
+ type = types.package;
+ default = pkgs.usbguard;
+ defaultText = "pkgs.usbguard";
+ description = ''
+ The usbguard package to use. If you do not need the Qt GUI, use
+ pkgs.usbguard-nox to save disk space.
+ '';
+ };
+
ruleFile = mkOption {
type = types.path;
default = "/var/lib/usbguard/rules.conf";
@@ -179,13 +189,13 @@ in {
config = mkIf cfg.enable {
- environment.systemPackages = [ pkgs.usbguard ];
+ environment.systemPackages = [ cfg.package ];
systemd.services.usbguard = {
description = "USBGuard daemon";
wantedBy = [ "basic.target" ];
- wants = [ "systemd-udevd.service" "local-fs.target" ];
+ wants = [ "systemd-udevd.service" ];
# make sure an empty rule file and required directories exist
preStart = ''
@@ -195,7 +205,7 @@ in {
serviceConfig = {
Type = "simple";
- ExecStart = ''${pkgs.usbguard}/bin/usbguard-daemon -P -k -c ${daemonConfFile}'';
+ ExecStart = ''${cfg.package}/bin/usbguard-daemon -P -k -c ${daemonConfFile}'';
Restart = "on-failure";
};
};
diff --git a/nixos/modules/services/security/vault.nix b/nixos/modules/services/security/vault.nix
index 8176c168ca9..d5962ba9af9 100644
--- a/nixos/modules/services/security/vault.nix
+++ b/nixos/modules/services/security/vault.nix
@@ -70,7 +70,7 @@ in
};
storageBackend = mkOption {
- type = types.enum [ "inmem" "file" "consul" "zookeeper" "s3" "azure" "dynamodb" "etcd" "mssql" "mysql" "postgresql" "swift" "gcs" ];
+ type = types.enum [ "inmem" "file" "consul" "zookeeper" "s3" "azure" "dynamodb" "etcd" "mssql" "mysql" "postgresql" "swift" "gcs" "raft" ];
default = "inmem";
description = "The name of the type of storage backend";
};
diff --git a/nixos/modules/services/system/cgmanager.nix b/nixos/modules/services/system/cgmanager.nix
index 59d3deced86..d3d57aa7692 100644
--- a/nixos/modules/services/system/cgmanager.nix
+++ b/nixos/modules/services/system/cgmanager.nix
@@ -14,7 +14,6 @@ in {
config = mkIf cfg.enable {
systemd.services.cgmanager = {
wantedBy = [ "multi-user.target" ];
- after = [ "local-fs.target" ];
description = "Cgroup management daemon";
restartIfChanged = false;
serviceConfig = {
diff --git a/nixos/modules/services/system/cloud-init.nix b/nixos/modules/services/system/cloud-init.nix
index 3ad555f78ef..15fe822aec6 100644
--- a/nixos/modules/services/system/cloud-init.nix
+++ b/nixos/modules/services/system/cloud-init.nix
@@ -112,8 +112,6 @@ in
systemd.services.cloud-init-local =
{ description = "Initial cloud-init job (pre-networking)";
wantedBy = [ "multi-user.target" ];
- wants = [ "local-fs.target" ];
- after = [ "local-fs.target" ];
path = path;
serviceConfig =
{ Type = "oneshot";
@@ -127,9 +125,9 @@ in
systemd.services.cloud-init =
{ description = "Initial cloud-init job (metadata service crawler)";
wantedBy = [ "multi-user.target" ];
- wants = [ "local-fs.target" "network-online.target" "cloud-init-local.service"
+ wants = [ "network-online.target" "cloud-init-local.service"
"sshd.service" "sshd-keygen.service" ];
- after = [ "local-fs.target" "network-online.target" "cloud-init-local.service" ];
+ after = [ "network-online.target" "cloud-init-local.service" ];
before = [ "sshd.service" "sshd-keygen.service" ];
requires = [ "network.target "];
path = path;
diff --git a/nixos/modules/services/system/dbus.nix b/nixos/modules/services/system/dbus.nix
index e0458021844..936646a5fd7 100644
--- a/nixos/modules/services/system/dbus.nix
+++ b/nixos/modules/services/system/dbus.nix
@@ -44,8 +44,10 @@ in
message bus. Specifically, files in the following directories
will be included into their respective DBus configuration paths:
pkg/etc/dbus-1/system.d
+ pkg/share/dbus-1/system.d
pkg/share/dbus-1/system-services
pkg/etc/dbus-1/session.d
+ pkg/share/dbus-1/session.d
pkg/share/dbus-1/services
'';
};
diff --git a/nixos/modules/services/system/kerberos/default.nix b/nixos/modules/services/system/kerberos/default.nix
index 26ac85de402..c55241c4cff 100644
--- a/nixos/modules/services/system/kerberos/default.nix
+++ b/nixos/modules/services/system/kerberos/default.nix
@@ -1,4 +1,4 @@
-{pkgs, config, lib, ...}:
+{config, lib, ...}:
let
inherit (lib) mkOption mkIf types length attrNames;
diff --git a/nixos/modules/services/system/kerberos/heimdal.nix b/nixos/modules/services/system/kerberos/heimdal.nix
index d0f470f836e..f0e56c7951a 100644
--- a/nixos/modules/services/system/kerberos/heimdal.nix
+++ b/nixos/modules/services/system/kerberos/heimdal.nix
@@ -2,7 +2,7 @@
let
inherit (lib) mkIf concatStringsSep concatMapStrings toList mapAttrs
- mapAttrsToList attrValues;
+ mapAttrsToList;
cfg = config.services.kerberos_server;
kerberos = config.krb5.kerberos;
stateDir = "/var/heimdal";
diff --git a/nixos/modules/services/system/kerberos/mit.nix b/nixos/modules/services/system/kerberos/mit.nix
index a53d9dd0c6b..25d7d51e808 100644
--- a/nixos/modules/services/system/kerberos/mit.nix
+++ b/nixos/modules/services/system/kerberos/mit.nix
@@ -2,7 +2,7 @@
let
inherit (lib) mkIf concatStrings concatStringsSep concatMapStrings toList
- mapAttrs mapAttrsToList attrValues;
+ mapAttrs mapAttrsToList;
cfg = config.services.kerberos_server;
kerberos = config.krb5.kerberos;
stateDir = "/var/lib/krb5kdc";
diff --git a/nixos/modules/services/system/localtime.nix b/nixos/modules/services/system/localtime.nix
index c7e897c9644..c3c0b432b49 100644
--- a/nixos/modules/services/system/localtime.nix
+++ b/nixos/modules/services/system/localtime.nix
@@ -20,35 +20,24 @@ in {
};
config = mkIf cfg.enable {
- services.geoclue2.enable = true;
+ services.geoclue2 = {
+ enable = true;
+ appConfig.localtime = {
+ isAllowed = true;
+ isSystem = true;
+ };
+ };
- # so polkit will pick up the rules
- environment.systemPackages = [ pkgs.localtime ];
-
- users.users = [{
- name = "localtimed";
- description = "Taskserver user";
- }];
+ # We use the 'out' output, since localtime has its 'bin' output
+ # first, so that is what we get if we use the derivation bare.
+ # Install the polkit rules.
+ environment.systemPackages = [ pkgs.localtime.out ];
+ # Install the systemd unit.
+ systemd.packages = [ pkgs.localtime.out ];
systemd.services.localtime = {
- description = "localtime service";
wantedBy = [ "multi-user.target" ];
- partOf = [ "geoclue.service "];
-
- serviceConfig = {
- Restart = "on-failure";
- # TODO: make it work with dbus
- #DynamicUser = true;
- Nice = 10;
- User = "localtimed";
- PrivateTmp = "yes";
- PrivateDevices = true;
- PrivateNetwork = "yes";
- NoNewPrivileges = "yes";
- ProtectSystem = "strict";
- ProtectHome = true;
- ExecStart = "${pkgs.localtime}/bin/localtimed";
- };
+ serviceConfig.Restart = "on-failure";
};
};
}
diff --git a/nixos/modules/services/system/nscd.conf b/nixos/modules/services/system/nscd.conf
index 603a5d01acc..2b7523a7346 100644
--- a/nixos/modules/services/system/nscd.conf
+++ b/nixos/modules/services/system/nscd.conf
@@ -7,46 +7,28 @@
# is not aware of the path in which the nss modules live. As a workaround, we
# have `enable-cache yes` with an explicit ttl of 0
server-user nscd
-threads 1
-paranoia no
-debug-level 0
enable-cache passwd yes
positive-time-to-live passwd 0
negative-time-to-live passwd 0
-suggested-size passwd 211
-check-files passwd yes
-persistent passwd no
shared passwd yes
enable-cache group yes
positive-time-to-live group 0
negative-time-to-live group 0
-suggested-size group 211
-check-files group yes
-persistent group no
shared group yes
enable-cache netgroup yes
positive-time-to-live netgroup 0
negative-time-to-live netgroup 0
-suggested-size netgroup 211
-check-files netgroup yes
-persistent netgroup no
shared netgroup yes
enable-cache hosts yes
positive-time-to-live hosts 600
negative-time-to-live hosts 0
-suggested-size hosts 211
-check-files hosts yes
-persistent hosts no
shared hosts yes
enable-cache services yes
positive-time-to-live services 0
negative-time-to-live services 0
-suggested-size services 211
-check-files services yes
-persistent services no
shared services yes
diff --git a/nixos/modules/services/system/nscd.nix b/nixos/modules/services/system/nscd.nix
index fd1570d1198..e11f7e049d8 100644
--- a/nixos/modules/services/system/nscd.nix
+++ b/nixos/modules/services/system/nscd.nix
@@ -39,11 +39,6 @@ in
config = mkIf cfg.enable {
environment.etc."nscd.conf".text = cfg.config;
- users.users.nscd =
- { isSystemUser = true;
- description = "Name service cache daemon user";
- };
-
systemd.services.nscd =
{ description = "Name Service Cache Daemon";
@@ -51,22 +46,23 @@ in
environment = { LD_LIBRARY_PATH = nssModulesPath; };
- preStart =
- ''
- mkdir -m 0755 -p /run/nscd
- rm -f /run/nscd/nscd.pid
- mkdir -m 0755 -p /var/db/nscd
- '';
-
restartTriggers = [
config.environment.etc.hosts.source
config.environment.etc."nsswitch.conf".source
config.environment.etc."nscd.conf".source
];
+ # We use DynamicUser because in default configurations nscd doesn't
+ # create any files that need to survive restarts. However, in some
+ # configurations, nscd needs to be started as root; it will drop
+ # privileges after all the NSS modules have read their configuration
+ # files. So prefix the ExecStart command with "!" to prevent systemd
+ # from dropping privileges early. See ExecStart in systemd.service(5).
serviceConfig =
- { ExecStart = "@${pkgs.glibc.bin}/sbin/nscd nscd";
+ { ExecStart = "!@${pkgs.glibc.bin}/sbin/nscd nscd";
Type = "forking";
+ DynamicUser = true;
+ RuntimeDirectory = "nscd";
PIDFile = "/run/nscd/nscd.pid";
Restart = "always";
ExecReload =
@@ -75,15 +71,6 @@ in
"${pkgs.glibc.bin}/sbin/nscd --invalidate hosts"
];
};
-
- # Urgggggh... Nscd forks before opening its socket and writing
- # its pid. So wait until it's ready.
- postStart =
- ''
- while ! ${pkgs.glibc.bin}/sbin/nscd -g > /dev/null; do
- sleep 0.2
- done
- '';
};
};
diff --git a/nixos/modules/services/torrent/deluge.nix b/nixos/modules/services/torrent/deluge.nix
index 84f0437b941..0c72505395d 100644
--- a/nixos/modules/services/torrent/deluge.nix
+++ b/nixos/modules/services/torrent/deluge.nix
@@ -5,8 +5,33 @@ with lib;
let
cfg = config.services.deluge;
cfg_web = config.services.deluge.web;
- openFilesLimit = 4096;
+ openFilesLimit = 4096;
+ listenPortsDefault = [ 6881 6889 ];
+
+ listToRange = x: { from = elemAt x 0; to = elemAt x 1; };
+
+ configDir = "${cfg.dataDir}/.config/deluge";
+ configFile = pkgs.writeText "core.conf" (builtins.toJSON cfg.config);
+ declarativeLockFile = "${configDir}/.declarative";
+
+ preStart = if cfg.declarative then ''
+ if [ -e ${declarativeLockFile} ]; then
+ # Was declarative before, no need to back up anything
+ ln -sf ${configFile} ${configDir}/core.conf
+ ln -sf ${cfg.authFile} ${configDir}/auth
+ else
+ # Declarative for the first time, backup stateful files
+ ln -sb --suffix=.stateful ${configFile} ${configDir}/core.conf
+ ln -sb --suffix=.stateful ${cfg.authFile} ${configDir}/auth
+ echo "Autogenerated file that signifies that this server configuration is managed declaratively by NixOS" \
+ > ${declarativeLockFile}
+ fi
+ '' else ''
+ if [ -e ${declarativeLockFile} ]; then
+ rm ${declarativeLockFile}
+ fi
+ '';
in {
options = {
services = {
@@ -15,54 +40,215 @@ in {
openFilesLimit = mkOption {
default = openFilesLimit;
- example = 8192;
description = ''
Number of files to allow deluged to open.
'';
};
+
+ config = mkOption {
+ type = types.attrs;
+ default = {};
+ example = literalExample ''
+ {
+ download_location = "/srv/torrents/";
+ max_upload_speed = "1000.0";
+ share_ratio_limit = "2.0";
+ allow_remote = true;
+ daemon_port = 58846;
+ listen_ports = [ ${toString listenPortsDefault} ];
+ }
+ '';
+ description = ''
+ Deluge core configuration for the core.conf file. Only has an effect
+ when is set to
+ true. String values must be quoted, integer and
+ boolean values must not. See
+
+ for the availaible options.
+ '';
+ };
+
+ declarative = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to use a declarative deluge configuration.
+ Only if set to true, the options
+ ,
+ and
+ will be
+ applied.
+ '';
+ };
+
+ openFirewall = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Whether to open the firewall for the ports in
+ . It only takes effet if
+ is set to
+ true.
+
+ It does NOT apply to the daemon port nor the web UI port. To access those
+ ports secuerly check the documentation
+
+ or use a VPN or configure certificates for deluge.
+ '';
+ };
+
+ dataDir = mkOption {
+ type = types.path;
+ default = "/var/lib/deluge";
+ description = ''
+ The directory where deluge will create files.
+ '';
+ };
+
+ authFile = mkOption {
+ type = types.path;
+ example = "/run/keys/deluge-auth";
+ description = ''
+ The file managing the authentication for deluge, the format of this
+ file is straightforward, each line contains a
+ username:password:level tuple in plaintext. It only has an effect
+ when is set to
+ true.
+ See for
+ more informations.
+ '';
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "deluge";
+ description = ''
+ User account under which deluge runs.
+ '';
+ };
+
+ group = mkOption {
+ type = types.str;
+ default = "deluge";
+ description = ''
+ Group under which deluge runs.
+ '';
+ };
+
+ extraPackages = mkOption {
+ type = types.listOf types.package;
+ default = [];
+ description = ''
+ Extra packages available at runtime to enable Deluge's plugins. For example,
+ extraction utilities are required for the built-in "Extractor" plugin.
+ This always contains unzip, gnutar, xz, p7zip and bzip2.
+ '';
+ };
};
- deluge.web.enable = mkEnableOption "Deluge Web daemon";
+ deluge.web = {
+ enable = mkEnableOption "Deluge Web daemon";
+
+ port = mkOption {
+ type = types.port;
+ default = 8112;
+ description = ''
+ Deluge web UI port.
+ '';
+ };
+
+ openFirewall = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Open ports in the firewall for deluge web daemon
+ '';
+ };
+ };
};
};
config = mkIf cfg.enable {
+ # Provide a default set of `extraPackages`.
+ services.deluge.extraPackages = with pkgs; [ unzip gnutar xz p7zip bzip2 ];
+
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' 0770 ${cfg.user} ${cfg.group}"
+ "d '${cfg.dataDir}/.config' 0770 ${cfg.user} ${cfg.group}"
+ "d '${cfg.dataDir}/.config/deluge' 0770 ${cfg.user} ${cfg.group}"
+ ]
+ ++ optional (cfg.config ? download_location)
+ "d '${cfg.config.download_location}' 0770 ${cfg.user} ${cfg.group}"
+ ++ optional (cfg.config ? torrentfiles_location)
+ "d '${cfg.config.torrentfiles_location}' 0770 ${cfg.user} ${cfg.group}"
+ ++ optional (cfg.config ? move_completed_path)
+ "d '${cfg.config.move_completed_path}' 0770 ${cfg.user} ${cfg.group}";
+
systemd.services.deluged = {
after = [ "network.target" ];
description = "Deluge BitTorrent Daemon";
wantedBy = [ "multi-user.target" ];
- path = [ pkgs.deluge ];
+ path = [ pkgs.deluge ] ++ cfg.extraPackages;
serviceConfig = {
- ExecStart = "${pkgs.deluge}/bin/deluged -d";
- # To prevent "Quit & shutdown daemon" from working; we want systemd to manage it!
+ ExecStart = ''
+ ${pkgs.deluge}/bin/deluged \
+ --do-not-daemonize \
+ --config ${configDir}
+ '';
+ # To prevent "Quit & shutdown daemon" from working; we want systemd to
+ # manage it!
Restart = "on-success";
- User = "deluge";
- Group = "deluge";
+ User = cfg.user;
+ Group = cfg.group;
+ UMask = "0002";
LimitNOFILE = cfg.openFilesLimit;
};
+ preStart = preStart;
};
systemd.services.delugeweb = mkIf cfg_web.enable {
- after = [ "network.target" ];
+ after = [ "network.target" "deluged.service"];
+ requires = [ "deluged.service" ];
description = "Deluge BitTorrent WebUI";
wantedBy = [ "multi-user.target" ];
path = [ pkgs.deluge ];
- serviceConfig.ExecStart = "${pkgs.deluge}/bin/deluge --ui web";
- serviceConfig.User = "deluge";
- serviceConfig.Group = "deluge";
+ serviceConfig = {
+ ExecStart = ''
+ ${pkgs.deluge}/bin/deluge-web \
+ --config ${configDir} \
+ --port ${toString cfg.web.port}
+ '';
+ User = cfg.user;
+ Group = cfg.group;
+ };
};
+ networking.firewall = mkMerge [
+ (mkIf (cfg.declarative && cfg.openFirewall && !(cfg.config.random_port or true)) {
+ allowedTCPPortRanges = singleton (listToRange (cfg.config.listen_ports or listenPortsDefault));
+ allowedUDPPortRanges = singleton (listToRange (cfg.config.listen_ports or listenPortsDefault));
+ })
+ (mkIf (cfg.web.openFirewall) {
+ allowedTCPPorts = [ cfg.web.port ];
+ })
+ ];
+
environment.systemPackages = [ pkgs.deluge ];
- users.users.deluge = {
- group = "deluge";
- uid = config.ids.uids.deluge;
- home = "/var/lib/deluge/";
- createHome = true;
- description = "Deluge Daemon user";
+ users.users = mkIf (cfg.user == "deluge") {
+ deluge = {
+ group = cfg.group;
+ uid = config.ids.uids.deluge;
+ home = cfg.dataDir;
+ description = "Deluge Daemon user";
+ };
};
- users.groups.deluge.gid = config.ids.gids.deluge;
+ users.groups = mkIf (cfg.group == "deluge") {
+ deluge = {
+ gid = config.ids.gids.deluge;
+ };
+ };
};
}
diff --git a/nixos/modules/services/torrent/flexget.nix b/nixos/modules/services/torrent/flexget.nix
index ca63f529a5d..6ac85f8fa17 100644
--- a/nixos/modules/services/torrent/flexget.nix
+++ b/nixos/modules/services/torrent/flexget.nix
@@ -19,7 +19,7 @@ in {
user = mkOption {
default = "deluge";
example = "some_user";
- type = types.string;
+ type = types.str;
description = "The user under which to run flexget.";
};
@@ -33,7 +33,7 @@ in {
interval = mkOption {
default = "10m";
example = "1h";
- type = types.string;
+ type = types.str;
description = "When to perform a flexget run. See man 7 systemd.time for the format.";
};
diff --git a/nixos/modules/services/torrent/magnetico.nix b/nixos/modules/services/torrent/magnetico.nix
new file mode 100644
index 00000000000..02fa2ac0750
--- /dev/null
+++ b/nixos/modules/services/torrent/magnetico.nix
@@ -0,0 +1,214 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.magnetico;
+
+ dataDir = "/var/lib/magnetico";
+
+ credFile = with cfg.web;
+ if credentialsFile != null
+ then credentialsFile
+ else pkgs.writeText "magnetico-credentials"
+ (concatStrings (mapAttrsToList
+ (user: hash: "${user}:${hash}\n")
+ cfg.web.credentials));
+
+ # default options in magneticod/main.go
+ dbURI = concatStrings
+ [ "sqlite3://${dataDir}/database.sqlite3"
+ "?_journal_mode=WAL"
+ "&_busy_timeout=3000"
+ "&_foreign_keys=true"
+ ];
+
+ crawlerArgs = with cfg.crawler; escapeShellArgs
+ ([ "--database=${dbURI}"
+ "--indexer-addr=${address}:${toString port}"
+ "--indexer-max-neighbors=${toString maxNeighbors}"
+ "--leech-max-n=${toString maxLeeches}"
+ ] ++ extraOptions);
+
+ webArgs = with cfg.web; escapeShellArgs
+ ([ "--database=${dbURI}"
+ (if (cfg.web.credentialsFile != null || cfg.web.credentials != { })
+ then "--credentials=${toString credFile}"
+ else "--no-auth")
+ ] ++ extraOptions);
+
+in {
+
+ ###### interface
+
+ options.services.magnetico = {
+ enable = mkEnableOption "Magnetico, Bittorrent DHT crawler";
+
+ crawler.address = mkOption {
+ type = types.str;
+ default = "0.0.0.0";
+ example = "1.2.3.4";
+ description = ''
+ Address to be used for indexing DHT nodes.
+ '';
+ };
+
+ crawler.port = mkOption {
+ type = types.port;
+ default = 0;
+ description = ''
+ Port to be used for indexing DHT nodes.
+ This port should be added to
+ .
+ '';
+ };
+
+ crawler.maxNeighbors = mkOption {
+ type = types.ints.positive;
+ default = 1000;
+ description = ''
+ Maximum number of simultaneous neighbors of an indexer.
+ Be careful changing this number: high values can very
+ easily cause your network to be congested or even crash
+ your router.
+ '';
+ };
+
+ crawler.maxLeeches = mkOption {
+ type = types.ints.positive;
+ default = 200;
+ description = ''
+ Maximum number of simultaneous leeches.
+ '';
+ };
+
+ crawler.extraOptions = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ Extra command line arguments to pass to magneticod.
+ '';
+ };
+
+ web.address = mkOption {
+ type = types.str;
+ default = "localhost";
+ example = "1.2.3.4";
+ description = ''
+ Address the web interface will listen to.
+ '';
+ };
+
+ web.port = mkOption {
+ type = types.port;
+ default = 8080;
+ description = ''
+ Port the web interface will listen to.
+ '';
+ };
+
+ web.credentials = mkOption {
+ type = types.attrsOf types.str;
+ default = {};
+ example = lib.literalExample ''
+ {
+ myuser = "$2y$12$YE01LZ8jrbQbx6c0s2hdZO71dSjn2p/O9XsYJpz.5968yCysUgiaG";
+ }
+ '';
+ description = ''
+ The credentials to access the web interface, in case authentication is
+ enabled, in the format username:hash. If unset no
+ authentication will be required.
+
+ Usernames must start with a lowercase ([a-z]) ASCII character, might
+ contain non-consecutive underscores except at the end, and consists of
+ small-case a-z characters and digits 0-9. The
+ htpasswd tool from the apacheHttpd
+ package may be used to generate the hash: htpasswd
+ -bnBC 12 username password
+
+
+
+ The hashes will be stored world-readable in the nix store.
+ Consider using the credentialsFile option if you
+ don't want this.
+
+
+ '';
+ };
+
+ web.credentialsFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ The path to the file holding the credentials to access the web
+ interface. If unset no authentication will be required.
+
+ The file must constain user names and password hashes in the format
+ username:hash , one for each line. Usernames must
+ start with a lowecase ([a-z]) ASCII character, might contain
+ non-consecutive underscores except at the end, and consists of
+ small-case a-z characters and digits 0-9.
+ The htpasswd tool from the apacheHttpd
+ package may be used to generate the hash:
+ htpasswd -bnBC 12 username password
+ '';
+ };
+
+ web.extraOptions = mkOption {
+ type = types.listOf types.str;
+ default = [];
+ description = ''
+ Extra command line arguments to pass to magneticow.
+ '';
+ };
+
+ };
+
+ ###### implementation
+
+ config = mkIf cfg.enable {
+
+ users.users.magnetico = {
+ description = "Magnetico daemons user";
+ };
+
+ systemd.services.magneticod = {
+ description = "Magnetico DHT crawler";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" ];
+
+ serviceConfig = {
+ User = "magnetico";
+ Restart = "on-failure";
+ ExecStart = "${pkgs.magnetico}/bin/magneticod ${crawlerArgs}";
+ };
+ };
+
+ systemd.services.magneticow = {
+ description = "Magnetico web interface";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" "magneticod.service"];
+
+ serviceConfig = {
+ User = "magnetico";
+ StateDirectory = "magnetico";
+ Restart = "on-failure";
+ ExecStart = "${pkgs.magnetico}/bin/magneticow ${webArgs}";
+ };
+ };
+
+ assertions =
+ [
+ {
+ assertion = cfg.web.credentialsFile != null || cfg.web.credentials != { };
+ message = ''
+ The options services.magnetico.web.credentialsFile and
+ services.magnetico.web.credentials are mutually exclusives.
+ '';
+ }
+ ];
+
+ };
+
+}
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix
index f544928fb6b..7409eb8cdcb 100644
--- a/nixos/modules/services/torrent/transmission.nix
+++ b/nixos/modules/services/torrent/transmission.nix
@@ -84,13 +84,25 @@ in
The directory where transmission will create files.
'';
};
+
+ user = mkOption {
+ type = types.str;
+ default = "transmission";
+ description = "User account under which Transmission runs.";
+ };
+
+ group = mkOption {
+ type = types.str;
+ default = "transmission";
+ description = "Group account under which Transmission runs.";
+ };
};
};
config = mkIf cfg.enable {
systemd.services.transmission = {
description = "Transmission BitTorrent Service";
- after = [ "local-fs.target" "network.target" ] ++ optional apparmor "apparmor.service";
+ after = [ "network.target" ] ++ optional apparmor "apparmor.service";
requires = mkIf apparmor [ "apparmor.service" ];
wantedBy = [ "multi-user.target" ];
@@ -99,7 +111,8 @@ in
serviceConfig.ExecStartPre = preStart;
serviceConfig.ExecStart = "${pkgs.transmission}/bin/transmission-daemon -f --port ${toString config.services.transmission.port}";
serviceConfig.ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
- serviceConfig.User = "transmission";
+ serviceConfig.User = cfg.user;
+ serviceConfig.Group = cfg.group;
# NOTE: transmission has an internal umask that also must be set (in settings.json)
serviceConfig.UMask = "0002";
};
@@ -107,14 +120,19 @@ in
# It's useful to have transmission in path, e.g. for remote control
environment.systemPackages = [ pkgs.transmission ];
- users.groups.transmission.gid = config.ids.gids.transmission;
- users.users.transmission = {
- group = "transmission";
- uid = config.ids.uids.transmission;
- description = "Transmission BitTorrent user";
- home = homeDir;
- createHome = true;
- };
+ users.users = optionalAttrs (cfg.user == "transmission") (singleton
+ { name = "transmission";
+ group = cfg.group;
+ uid = config.ids.uids.transmission;
+ description = "Transmission BitTorrent user";
+ home = homeDir;
+ createHome = true;
+ });
+
+ users.groups = optionalAttrs (cfg.group == "transmission") (singleton
+ { name = "transmission";
+ gid = config.ids.gids.transmission;
+ });
# AppArmor profile
security.apparmor.profiles = mkIf apparmor [
diff --git a/nixos/modules/services/ttys/agetty.nix b/nixos/modules/services/ttys/agetty.nix
index b50de496e97..f127d8a0276 100644
--- a/nixos/modules/services/ttys/agetty.nix
+++ b/nixos/modules/services/ttys/agetty.nix
@@ -92,7 +92,7 @@ in
restartIfChanged = false;
};
- systemd.services."console-getty" =
+ systemd.services.console-getty =
{ serviceConfig.ExecStart = [
"" # override upstream default with an empty ExecStart
(gettyCmd "--noclear --keep-baud console 115200,38400,9600 $TERM")
diff --git a/nixos/modules/services/web-apps/atlassian/confluence.nix b/nixos/modules/services/web-apps/atlassian/confluence.nix
index 15744d90cc7..59185fdbd36 100644
--- a/nixos/modules/services/web-apps/atlassian/confluence.nix
+++ b/nixos/modules/services/web-apps/atlassian/confluence.nix
@@ -142,12 +142,23 @@ in
};
config = mkIf cfg.enable {
- users.users."${cfg.user}" = {
+ users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
};
- users.groups."${cfg.group}" = {};
+ users.groups.${cfg.group} = {};
+
+ systemd.tmpfiles.rules = [
+ "d '${cfg.home}' - ${cfg.user} - - -"
+ "d /run/confluence - - - - -"
+
+ "L+ /run/confluence/home - - - - ${cfg.home}"
+ "L+ /run/confluence/logs - - - - ${cfg.home}/logs"
+ "L+ /run/confluence/temp - - - - ${cfg.home}/temp"
+ "L+ /run/confluence/work - - - - ${cfg.home}/work"
+ "L+ /run/confluence/server.xml - - - - ${cfg.home}/server.xml"
+ ];
systemd.services.confluence = {
description = "Atlassian Confluence";
@@ -167,12 +178,6 @@ in
preStart = ''
mkdir -p ${cfg.home}/{logs,work,temp,deploy}
- mkdir -p /run/confluence
- ln -sf ${cfg.home}/{logs,work,temp,server.xml} /run/confluence
- ln -sf ${cfg.home} /run/confluence/home
-
- chown ${cfg.user} ${cfg.home}
-
sed -e 's,port="8090",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
'' + (lib.optionalString cfg.proxy.enable ''
-e 's,protocol="org.apache.coyote.http11.Http11NioProtocol",protocol="org.apache.coyote.http11.Http11NioProtocol" proxyName="${cfg.proxy.name}" proxyPort="${toString cfg.proxy.port}" scheme="${cfg.proxy.scheme}",' \
@@ -184,7 +189,6 @@ in
User = cfg.user;
Group = cfg.group;
PrivateTmp = true;
- PermissionsStartOnly = true;
ExecStart = "${pkg}/bin/start-confluence.sh -fg";
ExecStop = "${pkg}/bin/stop-confluence.sh";
};
diff --git a/nixos/modules/services/web-apps/atlassian/crowd.nix b/nixos/modules/services/web-apps/atlassian/crowd.nix
index c144b21bdaf..ceab656b15e 100644
--- a/nixos/modules/services/web-apps/atlassian/crowd.nix
+++ b/nixos/modules/services/web-apps/atlassian/crowd.nix
@@ -110,12 +110,22 @@ in
};
config = mkIf cfg.enable {
- users.users."${cfg.user}" = {
+ users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
};
- users.groups."${cfg.group}" = {};
+ users.groups.${cfg.group} = {};
+
+ systemd.tmpfiles.rules = [
+ "d '${cfg.home}' - ${cfg.user} ${cfg.group} - -"
+ "d /run/atlassian-crowd - - - - -"
+
+ "L+ /run/atlassian-crowd/database - - - - ${cfg.home}/database"
+ "L+ /run/atlassian-crowd/logs - - - - ${cfg.home}/logs"
+ "L+ /run/atlassian-crowd/work - - - - ${cfg.home}/work"
+ "L+ /run/atlassian-crowd/server.xml - - - - ${cfg.home}/server.xml"
+ ];
systemd.services.atlassian-crowd = {
description = "Atlassian Crowd";
@@ -136,12 +146,6 @@ in
rm -rf ${cfg.home}/work
mkdir -p ${cfg.home}/{logs,database,work}
- mkdir -p /run/atlassian-crowd
- ln -sf ${cfg.home}/{database,logs,work,server.xml} /run/atlassian-crowd
-
- chown ${cfg.user}:${cfg.group} ${cfg.home}
- chown ${cfg.user}:${cfg.group} ${cfg.home}/{logs,database,work}
-
sed -e 's,port="8095",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
'' + (lib.optionalString cfg.proxy.enable ''
-e 's,compression="on",compression="off" protocol="HTTP/1.1" proxyName="${cfg.proxy.name}" proxyPort="${toString cfg.proxy.port}" scheme="${cfg.proxy.scheme}" secure="${boolToString cfg.proxy.secure}",' \
@@ -153,7 +157,6 @@ in
User = cfg.user;
Group = cfg.group;
PrivateTmp = true;
- PermissionsStartOnly = true;
ExecStart = "${pkg}/start_crowd.sh -fg";
};
};
diff --git a/nixos/modules/services/web-apps/atlassian/jira.nix b/nixos/modules/services/web-apps/atlassian/jira.nix
index 0b3a5722d6c..ce04982e8a9 100644
--- a/nixos/modules/services/web-apps/atlassian/jira.nix
+++ b/nixos/modules/services/web-apps/atlassian/jira.nix
@@ -148,12 +148,23 @@ in
};
config = mkIf cfg.enable {
- users.users."${cfg.user}" = {
+ users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
};
- users.groups."${cfg.group}" = {};
+ users.groups.${cfg.group} = {};
+
+ systemd.tmpfiles.rules = [
+ "d '${cfg.home}' - ${cfg.user} - - -"
+ "d /run/atlassian-jira - - - - -"
+
+ "L+ /run/atlassian-jira/home - - - - ${cfg.home}"
+ "L+ /run/atlassian-jira/logs - - - - ${cfg.home}/logs"
+ "L+ /run/atlassian-jira/work - - - - ${cfg.home}/work"
+ "L+ /run/atlassian-jira/temp - - - - ${cfg.home}/temp"
+ "L+ /run/atlassian-jira/server.xml - - - - ${cfg.home}/server.xml"
+ ];
systemd.services.atlassian-jira = {
description = "Atlassian JIRA";
@@ -174,12 +185,6 @@ in
preStart = ''
mkdir -p ${cfg.home}/{logs,work,temp,deploy}
- mkdir -p /run/atlassian-jira
- ln -sf ${cfg.home}/{logs,work,temp,server.xml} /run/atlassian-jira
- ln -sf ${cfg.home} /run/atlassian-jira/home
-
- chown ${cfg.user} ${cfg.home}
-
sed -e 's,port="8080",port="${toString cfg.listenPort}" address="${cfg.listenAddress}",' \
'' + (lib.optionalString cfg.proxy.enable ''
-e 's,protocol="HTTP/1.1",protocol="HTTP/1.1" proxyName="${cfg.proxy.name}" proxyPort="${toString cfg.proxy.port}" scheme="${cfg.proxy.scheme}" secure="${toString cfg.proxy.secure}",' \
@@ -191,7 +196,6 @@ in
User = cfg.user;
Group = cfg.group;
PrivateTmp = true;
- PermissionsStartOnly = true;
ExecStart = "${pkg}/bin/start-jira.sh -fg";
ExecStop = "${pkg}/bin/stop-jira.sh";
};
diff --git a/nixos/modules/services/web-apps/cryptpad.nix b/nixos/modules/services/web-apps/cryptpad.nix
new file mode 100644
index 00000000000..69a89107d31
--- /dev/null
+++ b/nixos/modules/services/web-apps/cryptpad.nix
@@ -0,0 +1,54 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.cryptpad;
+in
+{
+ options.services.cryptpad = {
+ enable = mkEnableOption "the Cryptpad service";
+
+ package = mkOption {
+ default = pkgs.cryptpad;
+ defaultText = "pkgs.cryptpad";
+ type = types.package;
+ description = "
+ Cryptpad package to use.
+ ";
+ };
+
+ configFile = mkOption {
+ type = types.path;
+ default = "${cfg.package}/lib/node_modules/cryptpad/config/config.example.js";
+ defaultText = "\${cfg.package}/lib/node_modules/cryptpad/config/config.example.js";
+ description = ''
+ Path to the JavaScript configuration file.
+
+ See
+ for a configuration example.
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.services.cryptpad = {
+ description = "Cryptpad Service";
+ wantedBy = [ "multi-user.target" ];
+ after = [ "networking.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ Environment = [
+ "CRYPTPAD_CONFIG=${cfg.configFile}"
+ "HOME=%S/cryptpad"
+ ];
+ ExecStart = "${cfg.package}/bin/cryptpad";
+ PrivateTmp = true;
+ Restart = "always";
+ StateDirectory = "cryptpad";
+ WorkingDirectory = "%S/cryptpad";
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/web-apps/frab.nix b/nixos/modules/services/web-apps/frab.nix
index fb95e024817..7914e5cc0ee 100644
--- a/nixos/modules/services/web-apps/frab.nix
+++ b/nixos/modules/services/web-apps/frab.nix
@@ -19,7 +19,7 @@ let
RAILS_SERVE_STATIC_FILES = "1";
} // cfg.extraEnvironment;
- frab-rake = pkgs.stdenv.mkDerivation rec {
+ frab-rake = pkgs.stdenv.mkDerivation {
name = "frab-rake";
buildInputs = [ package.env pkgs.makeWrapper ];
phases = "installPhase fixupPhase";
@@ -182,16 +182,16 @@ in
users.groups = [ { name = cfg.group; } ];
+ systemd.tmpfiles.rules = [
+ "d '${cfg.statePath}/system/attachments' - ${cfg.user} ${cfg.group} - -"
+ ];
+
systemd.services.frab = {
after = [ "network.target" "gitlab.service" ];
wantedBy = [ "multi-user.target" ];
environment = frabEnv;
preStart = ''
- mkdir -p ${cfg.statePath}/system/attachments
- chown ${cfg.user}:${cfg.group} -R ${cfg.statePath}
-
- mkdir /run/frab -p
ln -sf ${pkgs.writeText "frab-database.yml" databaseConfig} /run/frab/database.yml
ln -sf ${cfg.statePath}/system /run/frab/system
@@ -204,7 +204,6 @@ in
'';
serviceConfig = {
- PermissionsStartOnly = true;
PrivateTmp = true;
PrivateDevices = true;
Type = "simple";
@@ -213,6 +212,7 @@ in
TimeoutSec = "300s";
Restart = "on-failure";
RestartSec = "10s";
+ RuntimeDirectory = "frab";
WorkingDirectory = "${package}/share/frab";
ExecStart = "${frab-rake}/bin/frab-bundle exec rails server " +
"--binding=${cfg.listenAddress} --port=${toString cfg.listenPort}";
diff --git a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
index 910e1d937bf..d9ad7e9e3d3 100644
--- a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
+++ b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
@@ -1,14 +1,16 @@
{ config, lib, pkgs, ... }: with lib; let
cfg = config.services.icingaweb2;
+ fpm = config.services.phpfpm.pools.${poolName};
poolName = "icingaweb2";
- phpfpmSocketName = "/var/run/phpfpm/${poolName}.sock";
defaultConfig = {
global = {
- module_path = "${pkgs.icingaweb2}/modules${optionalString (builtins.length config.modulePath > 0) ":${concatStringsSep ":" config.modulePath}"}";
+ module_path = "${pkgs.icingaweb2}/modules";
};
};
in {
+ meta.maintainers = with maintainers; [ das_j ];
+
options.services.icingaweb2 = with types; {
enable = mkEnableOption "the icingaweb2 web interface";
@@ -162,33 +164,32 @@ in {
};
config = mkIf cfg.enable {
- services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") {
- "${poolName}" = ''
- listen = "${phpfpmSocketName}"
- listen.owner = nginx
- listen.group = nginx
- listen.mode = 0600
- user = icingaweb2
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 2
- pm.min_spare_servers = 2
- pm.max_spare_servers = 10
- '';
+ services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
+ ${poolName} = {
+ user = "icingaweb2";
+ phpOptions = ''
+ extension = ${pkgs.phpPackages.imagick}/lib/php/extensions/imagick.so
+ date.timezone = "${cfg.timezone}"
+ '';
+ settings = mapAttrs (name: mkDefault) {
+ "listen.owner" = "nginx";
+ "listen.group" = "nginx";
+ "listen.mode" = "0600";
+ "pm" = "dynamic";
+ "pm.max_children" = 75;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 2;
+ "pm.max_spare_servers" = 10;
+ };
+ };
};
- services.phpfpm.phpOptions = mkIf (cfg.pool == "${poolName}")
- ''
- extension = ${pkgs.phpPackages.imagick}/lib/php/extensions/imagick.so
- date.timezone = "${cfg.timezone}"
- '';
-
systemd.services."phpfpm-${poolName}".serviceConfig.ReadWritePaths = [ "/etc/icingaweb2" ];
services.nginx = {
enable = true;
virtualHosts = mkIf (cfg.virtualHost != null) {
- "${cfg.virtualHost}" = {
+ ${cfg.virtualHost} = {
root = "${pkgs.icingaweb2}/public";
extraConfig = ''
@@ -206,7 +207,7 @@ in {
include ${config.services.nginx.package}/conf/fastcgi.conf;
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
- fastcgi_pass unix:${phpfpmSocketName};
+ fastcgi_pass unix:${fpm.socket};
fastcgi_param SCRIPT_FILENAME ${pkgs.icingaweb2}/public/index.php;
'';
};
@@ -215,7 +216,7 @@ in {
# /etc/icingaweb2
environment.etc = let
- doModule = name: optionalAttrs (cfg.modules."${name}".enable) { "icingaweb2/enabledModules/${name}".source = "${pkgs.icingaweb2}/modules/${name}"; };
+ doModule = name: optionalAttrs (cfg.modules.${name}.enable) { "icingaweb2/enabledModules/${name}".source = "${pkgs.icingaweb2}/modules/${name}"; };
in {}
# Module packages
// (mapAttrs' (k: v: nameValuePair "icingaweb2/enabledModules/${k}" { source = v; }) cfg.modulePackages)
diff --git a/nixos/modules/services/web-apps/icingaweb2/module-monitoring.nix b/nixos/modules/services/web-apps/icingaweb2/module-monitoring.nix
index 167e5e38956..e9c1d4ffe5e 100644
--- a/nixos/modules/services/web-apps/icingaweb2/module-monitoring.nix
+++ b/nixos/modules/services/web-apps/icingaweb2/module-monitoring.nix
@@ -58,7 +58,7 @@ in {
};
backends = mkOption {
- default = { "icinga" = { resource = "icinga_ido"; }; };
+ default = { icinga = { resource = "icinga_ido"; }; };
description = "Monitoring backends to define";
type = attrsOf (submodule ({ name, ... }: {
options = {
diff --git a/nixos/modules/services/web-apps/limesurvey.nix b/nixos/modules/services/web-apps/limesurvey.nix
new file mode 100644
index 00000000000..68b57a9b90d
--- /dev/null
+++ b/nixos/modules/services/web-apps/limesurvey.nix
@@ -0,0 +1,283 @@
+{ config, lib, pkgs, ... }:
+
+let
+
+ inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption;
+ inherit (lib) mapAttrs optional optionalString types;
+
+ cfg = config.services.limesurvey;
+ fpm = config.services.phpfpm.pools.limesurvey;
+
+ user = "limesurvey";
+ group = config.services.httpd.group;
+ stateDir = "/var/lib/limesurvey";
+
+ pkg = pkgs.limesurvey;
+
+ configType = with types; oneOf [ (attrsOf configType) str int bool ] // {
+ description = "limesurvey config type (str, int, bool or attribute set thereof)";
+ };
+
+ limesurveyConfig = pkgs.writeText "config.php" ''
+
+ '';
+
+ mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql";
+ pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql";
+
+in
+{
+ # interface
+
+ options.services.limesurvey = {
+ enable = mkEnableOption "Limesurvey web application.";
+
+ database = {
+ type = mkOption {
+ type = types.enum [ "mysql" "pgsql" "odbc" "mssql" ];
+ example = "pgsql";
+ default = "mysql";
+ description = "Database engine to use.";
+ };
+
+ host = mkOption {
+ type = types.str;
+ default = "localhost";
+ description = "Database host address.";
+ };
+
+ port = mkOption {
+ type = types.int;
+ default = if cfg.database.type == "pgsql" then 5442 else 3306;
+ defaultText = "3306";
+ description = "Database host port.";
+ };
+
+ name = mkOption {
+ type = types.str;
+ default = "limesurvey";
+ description = "Database name.";
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "limesurvey";
+ description = "Database user.";
+ };
+
+ passwordFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/keys/limesurvey-dbpassword";
+ description = ''
+ A file containing the password corresponding to
+ .
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default =
+ if mysqlLocal then "/run/mysqld/mysqld.sock"
+ else if pgsqlLocal then "/run/postgresql"
+ else null
+ ;
+ defaultText = "/run/mysqld/mysqld.sock";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = cfg.database.type == "mysql";
+ defaultText = "true";
+ description = ''
+ Create the database and database user locally.
+ This currently only applies if database type "mysql" is selected.
+ '';
+ };
+ };
+
+ virtualHost = mkOption {
+ type = types.submodule ({
+ options = import ../web-servers/apache-httpd/per-server-options.nix {
+ inherit lib;
+ forMainServer = false;
+ };
+ });
+ example = {
+ hostName = "survey.example.org";
+ enableSSL = true;
+ adminAddr = "webmaster@example.org";
+ sslServerCert = "/var/lib/acme/survey.example.org/full.pem";
+ sslServerKey = "/var/lib/acme/survey.example.org/key.pem";
+ };
+ description = ''
+ Apache configuration can be done by adapting services.httpd.virtualHosts.<name>.
+ See for further information.
+ '';
+ };
+
+ poolConfig = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {
+ "pm" = "dynamic";
+ "pm.max_children" = 32;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 2;
+ "pm.max_spare_servers" = 4;
+ "pm.max_requests" = 500;
+ };
+ description = ''
+ Options for the LimeSurvey PHP pool. See the documentation on php-fpm.conf
+ for details on configuration directives.
+ '';
+ };
+
+ config = mkOption {
+ type = configType;
+ default = {};
+ description = ''
+ LimeSurvey configuration. Refer to
+
+ for details on supported values.
+ '';
+ };
+ };
+
+ # implementation
+
+ config = mkIf cfg.enable {
+
+ assertions = [
+ { assertion = cfg.database.createLocally -> cfg.database.type == "mysql";
+ message = "services.limesurvey.createLocally is currently only supported for database type 'mysql'";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
+ message = "services.limesurvey.database.user must be set to ${user} if services.limesurvey.database.createLocally is set true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.socket != null;
+ message = "services.limesurvey.database.socket must be set if services.limesurvey.database.createLocally is set to true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null;
+ message = "a password cannot be specified if services.limesurvey.database.createLocally is set to true";
+ }
+ ];
+
+ services.limesurvey.config = mapAttrs (name: mkDefault) {
+ runtimePath = "${stateDir}/tmp/runtime";
+ components = {
+ db = {
+ connectionString = "${cfg.database.type}:dbname=${cfg.database.name};host=${if pgsqlLocal then cfg.database.socket else cfg.database.host};port=${toString cfg.database.port}" +
+ optionalString mysqlLocal ";socket=${cfg.database.socket}";
+ username = cfg.database.user;
+ password = mkIf (cfg.database.passwordFile != null) "file_get_contents(\"${toString cfg.database.passwordFile}\");";
+ tablePrefix = "limesurvey_";
+ };
+ assetManager.basePath = "${stateDir}/tmp/assets";
+ urlManager = {
+ urlFormat = "path";
+ showScriptName = false;
+ };
+ };
+ config = {
+ tempdir = "${stateDir}/tmp";
+ uploaddir = "${stateDir}/upload";
+ force_ssl = mkIf cfg.virtualHost.enableSSL "on";
+ config.defaultlang = "en";
+ };
+ };
+
+ services.mysql = mkIf mysqlLocal {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = {
+ "${cfg.database.name}.*" = "SELECT, CREATE, INSERT, UPDATE, DELETE, ALTER, DROP, INDEX";
+ };
+ }
+ ];
+ };
+
+ services.phpfpm.pools.limesurvey = {
+ inherit user group;
+ phpEnv.LIMESURVEY_CONFIG = "${limesurveyConfig}";
+ settings = {
+ "listen.owner" = config.services.httpd.user;
+ "listen.group" = config.services.httpd.group;
+ } // cfg.poolConfig;
+ };
+
+ services.httpd = {
+ enable = true;
+ adminAddr = mkDefault cfg.virtualHost.adminAddr;
+ extraModules = [ "proxy_fcgi" ];
+ virtualHosts = [ (mkMerge [
+ cfg.virtualHost {
+ documentRoot = mkForce "${pkg}/share/limesurvey";
+ extraConfig = ''
+ Alias "/tmp" "${stateDir}/tmp"
+
+ AllowOverride all
+ Require all granted
+ Options -Indexes +FollowSymlinks
+
+
+ Alias "/upload" "${stateDir}/upload"
+
+ AllowOverride all
+ Require all granted
+ Options -Indexes
+
+
+
+
+
+ SetHandler "proxy:unix:${fpm.socket}|fcgi://localhost/"
+
+
+
+ AllowOverride all
+ Options -Indexes
+ DirectoryIndex index.php
+
+ '';
+ }
+ ]) ];
+ };
+
+ systemd.tmpfiles.rules = [
+ "d ${stateDir} 0750 ${user} ${group} - -"
+ "d ${stateDir}/tmp 0750 ${user} ${group} - -"
+ "d ${stateDir}/tmp/assets 0750 ${user} ${group} - -"
+ "d ${stateDir}/tmp/runtime 0750 ${user} ${group} - -"
+ "d ${stateDir}/tmp/upload 0750 ${user} ${group} - -"
+ "C ${stateDir}/upload 0750 ${user} ${group} - ${pkg}/share/limesurvey/upload"
+ ];
+
+ systemd.services.limesurvey-init = {
+ wantedBy = [ "multi-user.target" ];
+ before = [ "phpfpm-limesurvey.service" ];
+ after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+ environment.LIMESURVEY_CONFIG = limesurveyConfig;
+ script = ''
+ # update or install the database as required
+ ${pkgs.php}/bin/php ${pkg}/share/limesurvey/application/commands/console.php updatedb || \
+ ${pkgs.php}/bin/php ${pkg}/share/limesurvey/application/commands/console.php install admin password admin admin@example.com verbose
+ '';
+ serviceConfig = {
+ User = user;
+ Group = group;
+ Type = "oneshot";
+ };
+ };
+
+ systemd.services.httpd.after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+
+ users.users.${user}.group = group;
+
+ };
+}
diff --git a/nixos/modules/services/web-apps/matomo-doc.xml b/nixos/modules/services/web-apps/matomo-doc.xml
index 021a89be3f6..8485492c51c 100644
--- a/nixos/modules/services/web-apps/matomo-doc.xml
+++ b/nixos/modules/services/web-apps/matomo-doc.xml
@@ -21,18 +21,18 @@
passwordless database authentication via the UNIX_SOCKET authentication
plugin with the following SQL commands:
- # For MariaDB
- INSTALL PLUGIN unix_socket SONAME 'auth_socket';
- CREATE DATABASE matomo;
- CREATE USER 'matomo'@'localhost' IDENTIFIED WITH unix_socket;
- GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost';
+# For MariaDB
+INSTALL PLUGIN unix_socket SONAME 'auth_socket';
+CREATE DATABASE matomo;
+CREATE USER 'matomo'@'localhost' IDENTIFIED WITH unix_socket;
+GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost';
- # For MySQL
- INSTALL PLUGIN auth_socket SONAME 'auth_socket.so';
- CREATE DATABASE matomo;
- CREATE USER 'matomo'@'localhost' IDENTIFIED WITH auth_socket;
- GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost';
-
+# For MySQL
+INSTALL PLUGIN auth_socket SONAME 'auth_socket.so';
+CREATE DATABASE matomo;
+CREATE USER 'matomo'@'localhost' IDENTIFIED WITH auth_socket;
+GRANT ALL PRIVILEGES ON matomo.* TO 'matomo'@'localhost';
+
Then fill in matomo as database user and database name,
and leave the password field blank. This authentication works by allowing
only the matomo unix user to authenticate as the
diff --git a/nixos/modules/services/web-apps/matomo.nix b/nixos/modules/services/web-apps/matomo.nix
index 14aca45a342..d9f840408cc 100644
--- a/nixos/modules/services/web-apps/matomo.nix
+++ b/nixos/modules/services/web-apps/matomo.nix
@@ -176,7 +176,7 @@ in {
# Use User-Private Group scheme to protect Matomo data, but allow administration / backup via 'matomo' group
# Copy config folder
chmod g+s "${dataDir}"
- cp -r "${cfg.package}/config" "${dataDir}/"
+ cp -r "${cfg.package}/share/config" "${dataDir}/"
chmod -R u+rwX,g+rwX,o-rwx "${dataDir}"
# check whether user setup has already been done
@@ -225,22 +225,24 @@ in {
serviceConfig.UMask = "0007";
};
- services.phpfpm.poolConfigs = let
+ services.phpfpm.pools = let
# workaround for when both are null and need to generate a string,
# which is illegal, but as assertions apparently are being triggered *after* config generation,
# we have to avoid already throwing errors at this previous stage.
socketOwner = if (cfg.nginx != null) then config.services.nginx.user
else if (cfg.webServerUser != null) then cfg.webServerUser else "";
in {
- ${pool} = ''
- listen = "${phpSocket}"
- listen.owner = ${socketOwner}
- listen.group = root
- listen.mode = 0600
- user = ${user}
- env[PIWIK_USER_PATH] = ${dataDir}
- ${cfg.phpfpmProcessManagerConfig}
- '';
+ ${pool} = {
+ listen = phpSocket;
+ extraConfig = ''
+ listen.owner = ${socketOwner}
+ listen.group = root
+ listen.mode = 0600
+ user = ${user}
+ env[PIWIK_USER_PATH] = ${dataDir}
+ ${cfg.phpfpmProcessManagerConfig}
+ '';
+ };
};
diff --git a/nixos/modules/services/web-apps/mediawiki.nix b/nixos/modules/services/web-apps/mediawiki.nix
new file mode 100644
index 00000000000..ec2568bf952
--- /dev/null
+++ b/nixos/modules/services/web-apps/mediawiki.nix
@@ -0,0 +1,468 @@
+{ config, pkgs, lib, ... }:
+
+let
+
+ inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption;
+ inherit (lib) concatStringsSep literalExample mapAttrsToList optional optionals optionalString types;
+
+ cfg = config.services.mediawiki;
+ fpm = config.services.phpfpm.pools.mediawiki;
+ user = "mediawiki";
+ group = config.services.httpd.group;
+ cacheDir = "/var/cache/mediawiki";
+ stateDir = "/var/lib/mediawiki";
+
+ pkg = pkgs.stdenv.mkDerivation rec {
+ pname = "mediawiki-full";
+ version = src.version;
+ src = cfg.package;
+
+ installPhase = ''
+ mkdir -p $out
+ cp -r * $out/
+
+ rm -rf $out/share/mediawiki/skins/*
+ rm -rf $out/share/mediawiki/extensions/*
+
+ ${concatStringsSep "\n" (mapAttrsToList (k: v: ''
+ ln -s ${v} $out/share/mediawiki/skins/${k}
+ '') cfg.skins)}
+
+ ${concatStringsSep "\n" (mapAttrsToList (k: v: ''
+ ln -s ${v} $out/share/mediawiki/extensions/${k}
+ '') cfg.extensions)}
+ '';
+ };
+
+ mediawikiScripts = pkgs.runCommand "mediawiki-scripts" {
+ buildInputs = [ pkgs.makeWrapper ];
+ preferLocalBuild = true;
+ } ''
+ mkdir -p $out/bin
+ for i in changePassword.php createAndPromote.php userOptions.php edit.php nukePage.php update.php; do
+ makeWrapper ${pkgs.php}/bin/php $out/bin/mediawiki-$(basename $i .php) \
+ --set MEDIAWIKI_CONFIG ${mediawikiConfig} \
+ --add-flags ${pkg}/share/mediawiki/maintenance/$i
+ done
+ '';
+
+ mediawikiConfig = pkgs.writeText "LocalSettings.php" ''
+ database.user.
+ '';
+ };
+
+ tablePrefix = mkOption {
+ type = types.nullOr types.str;
+ default = null;
+ description = ''
+ If you only have access to a single database and wish to install more than
+ one version of MediaWiki, or have other applications that also use the
+ database, you can give the table names a unique prefix to stop any naming
+ conflicts or confusion.
+ See .
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default = if cfg.database.createLocally then "/run/mysqld/mysqld.sock" else null;
+ defaultText = "/run/mysqld/mysqld.sock";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = cfg.database.type == "mysql";
+ defaultText = "true";
+ description = ''
+ Create the database and database user locally.
+ This currently only applies if database type "mysql" is selected.
+ '';
+ };
+ };
+
+ virtualHost = mkOption {
+ type = types.submodule ({
+ options = import ../web-servers/apache-httpd/per-server-options.nix {
+ inherit lib;
+ forMainServer = false;
+ };
+ });
+ example = literalExample ''
+ {
+ hostName = "mediawiki.example.org";
+ enableSSL = true;
+ adminAddr = "webmaster@example.org";
+ sslServerCert = "/var/lib/acme/mediawiki.example.org/full.pem";
+ sslServerKey = "/var/lib/acme/mediawiki.example.org/key.pem";
+ }
+ '';
+ description = ''
+ Apache configuration can be done by adapting .
+ See for further information.
+ '';
+ };
+
+ poolConfig = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {
+ "pm" = "dynamic";
+ "pm.max_children" = 32;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 2;
+ "pm.max_spare_servers" = 4;
+ "pm.max_requests" = 500;
+ };
+ description = ''
+ Options for the MediaWiki PHP pool. See the documentation on php-fpm.conf
+ for details on configuration directives.
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = types.lines;
+ description = ''
+ Any additional text to be appended to MediaWiki's
+ LocalSettings.php configuration file. For configuration
+ settings, see .
+ '';
+ default = "";
+ example = ''
+ $wgEnableEmail = false;
+ '';
+ };
+
+ };
+ };
+
+ # implementation
+ config = mkIf cfg.enable {
+
+ assertions = [
+ { assertion = cfg.database.createLocally -> cfg.database.type == "mysql";
+ message = "services.mediawiki.createLocally is currently only supported for database type 'mysql'";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
+ message = "services.mediawiki.database.user must be set to ${user} if services.mediawiki.database.createLocally is set true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.socket != null;
+ message = "services.mediawiki.database.socket must be set if services.mediawiki.database.createLocally is set to true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null;
+ message = "a password cannot be specified if services.mediawiki.database.createLocally is set to true";
+ }
+ ];
+
+ services.mediawiki.skins = {
+ MonoBook = "${cfg.package}/share/mediawiki/skins/MonoBook";
+ Timeless = "${cfg.package}/share/mediawiki/skins/Timeless";
+ Vector = "${cfg.package}/share/mediawiki/skins/Vector";
+ };
+
+ services.mysql = mkIf cfg.database.createLocally {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ services.phpfpm.pools.mediawiki = {
+ inherit user group;
+ phpEnv.MEDIAWIKI_CONFIG = "${mediawikiConfig}";
+ settings = {
+ "listen.owner" = config.services.httpd.user;
+ "listen.group" = config.services.httpd.group;
+ } // cfg.poolConfig;
+ };
+
+ services.httpd = {
+ enable = true;
+ adminAddr = mkDefault cfg.virtualHost.adminAddr;
+ extraModules = [ "proxy_fcgi" ];
+ virtualHosts = [ (mkMerge [
+ cfg.virtualHost {
+ documentRoot = mkForce "${pkg}/share/mediawiki";
+ extraConfig = ''
+
+
+
+ SetHandler "proxy:unix:${fpm.socket}|fcgi://localhost/"
+
+
+
+ Require all granted
+ DirectoryIndex index.php
+ AllowOverride All
+
+ '' + optionalString (cfg.uploadsDir != null) ''
+ Alias "/images" "${cfg.uploadsDir}"
+
+ Require all granted
+
+ '';
+ }
+ ]) ];
+ };
+
+ systemd.tmpfiles.rules = [
+ "d '${stateDir}' 0750 ${user} ${group} - -"
+ "d '${cacheDir}' 0750 ${user} ${group} - -"
+ ] ++ optionals (cfg.uploadsDir != null) [
+ "d '${cfg.uploadsDir}' 0750 ${user} ${group} - -"
+ "Z '${cfg.uploadsDir}' 0750 ${user} ${group} - -"
+ ];
+
+ systemd.services.mediawiki-init = {
+ wantedBy = [ "multi-user.target" ];
+ before = [ "phpfpm-mediawiki.service" ];
+ after = optional cfg.database.createLocally "mysql.service";
+ script = ''
+ if ! test -e "${stateDir}/secret.key"; then
+ tr -dc A-Za-z0-9 /dev/null | head -c 64 > ${stateDir}/secret.key
+ fi
+
+ echo "exit( wfGetDB( DB_MASTER )->tableExists( 'user' ) ? 1 : 0 );" | \
+ ${pkgs.php}/bin/php ${pkg}/share/mediawiki/maintenance/eval.php --conf ${mediawikiConfig} && \
+ ${pkgs.php}/bin/php ${pkg}/share/mediawiki/maintenance/install.php \
+ --confpath /tmp \
+ --scriptpath / \
+ --dbserver ${cfg.database.host}${optionalString (cfg.database.socket != null) ":${cfg.database.socket}"} \
+ --dbport ${toString cfg.database.port} \
+ --dbname ${cfg.database.name} \
+ ${optionalString (cfg.database.tablePrefix != null) "--dbprefix ${cfg.database.tablePrefix}"} \
+ --dbuser ${cfg.database.user} \
+ ${optionalString (cfg.database.passwordFile != null) "--dbpassfile ${cfg.database.passwordFile}"} \
+ --passfile ${cfg.passwordFile} \
+ ${cfg.name} \
+ admin
+
+ ${pkgs.php}/bin/php ${pkg}/share/mediawiki/maintenance/update.php --conf ${mediawikiConfig} --quick
+ '';
+
+ serviceConfig = {
+ Type = "oneshot";
+ User = user;
+ Group = group;
+ PrivateTmp = true;
+ };
+ };
+
+ systemd.services.httpd.after = optional (cfg.database.createLocally && cfg.database.type == "mysql") "mysql.service";
+
+ users.users.${user}.group = group;
+
+ environment.systemPackages = [ mediawikiScripts ];
+ };
+}
diff --git a/nixos/modules/services/web-apps/moodle.nix b/nixos/modules/services/web-apps/moodle.nix
new file mode 100644
index 00000000000..7f71b86a6fe
--- /dev/null
+++ b/nixos/modules/services/web-apps/moodle.nix
@@ -0,0 +1,300 @@
+{ config, lib, pkgs, ... }:
+
+let
+ inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption types;
+ inherit (lib) concatStringsSep literalExample mapAttrsToList optional optionalString;
+
+ cfg = config.services.moodle;
+ fpm = config.services.phpfpm.pools.moodle;
+
+ user = "moodle";
+ group = config.services.httpd.group;
+ stateDir = "/var/lib/moodle";
+
+ moodleConfig = pkgs.writeText "config.php" ''
+ dbtype = '${ { mysql = "mariadb"; pgsql = "pgsql"; }.${cfg.database.type} }';
+ $CFG->dblibrary = 'native';
+ $CFG->dbhost = '${cfg.database.host}';
+ $CFG->dbname = '${cfg.database.name}';
+ $CFG->dbuser = '${cfg.database.user}';
+ ${optionalString (cfg.database.passwordFile != null) "$CFG->dbpass = file_get_contents('${cfg.database.passwordFile}');"}
+ $CFG->prefix = 'mdl_';
+ $CFG->dboptions = array (
+ 'dbpersist' => 0,
+ 'dbport' => '${toString cfg.database.port}',
+ ${optionalString (cfg.database.socket != null) "'dbsocket' => '${cfg.database.socket}',"}
+ 'dbcollation' => 'utf8mb4_unicode_ci',
+ );
+
+ $CFG->wwwroot = '${if cfg.virtualHost.enableSSL then "https" else "http"}://${cfg.virtualHost.hostName}';
+ $CFG->dataroot = '${stateDir}';
+ $CFG->admin = 'admin';
+
+ $CFG->directorypermissions = 02777;
+ $CFG->disableupdateautodeploy = true;
+
+ $CFG->pathtogs = '${pkgs.ghostscript}/bin/gs';
+ $CFG->pathtophp = '${pkgs.php}/bin/php';
+ $CFG->pathtodu = '${pkgs.coreutils}/bin/du';
+ $CFG->aspellpath = '${pkgs.aspell}/bin/aspell';
+ $CFG->pathtodot = '${pkgs.graphviz}/bin/dot';
+
+ require_once('${cfg.package}/share/moodle/lib/setup.php');
+
+ // There is no php closing tag in this file,
+ // it is intentional because it prevents trailing whitespace problems!
+ '';
+
+ mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql";
+ pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql";
+in
+{
+ # interface
+ options.services.moodle = {
+ enable = mkEnableOption "Moodle web application";
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.moodle;
+ defaultText = "pkgs.moodle";
+ description = "The Moodle package to use.";
+ };
+
+ initialPassword = mkOption {
+ type = types.str;
+ example = "correcthorsebatterystaple";
+ description = ''
+ Specifies the initial password for the admin, i.e. the password assigned if the user does not already exist.
+ The password specified here is world-readable in the Nix store, so it should be changed promptly.
+ '';
+ };
+
+ database = {
+ type = mkOption {
+ type = types.enum [ "mysql" "pgsql" ];
+ default = "mysql";
+ description = ''Database engine to use.'';
+ };
+
+ host = mkOption {
+ type = types.str;
+ default = "localhost";
+ description = "Database host address.";
+ };
+
+ port = mkOption {
+ type = types.int;
+ description = "Database host port.";
+ default = {
+ mysql = 3306;
+ pgsql = 5432;
+ }.${cfg.database.type};
+ defaultText = "3306";
+ };
+
+ name = mkOption {
+ type = types.str;
+ default = "moodle";
+ description = "Database name.";
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "moodle";
+ description = "Database user.";
+ };
+
+ passwordFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/keys/moodle-dbpassword";
+ description = ''
+ A file containing the password corresponding to
+ .
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default =
+ if mysqlLocal then "/run/mysqld/mysqld.sock"
+ else if pgsqlLocal then "/run/postgresql"
+ else null;
+ defaultText = "/run/mysqld/mysqld.sock";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Create the database and database user locally.";
+ };
+ };
+
+ virtualHost = mkOption {
+ type = types.submodule ({
+ options = import ../web-servers/apache-httpd/per-server-options.nix {
+ inherit lib;
+ forMainServer = false;
+ };
+ });
+ example = {
+ hostName = "moodle.example.org";
+ enableSSL = true;
+ adminAddr = "webmaster@example.org";
+ sslServerCert = "/var/lib/acme/moodle.example.org/full.pem";
+ sslServerKey = "/var/lib/acme/moodle.example.org/key.pem";
+ };
+ description = ''
+ Apache configuration can be done by adapting .
+ See for further information.
+ '';
+ };
+
+ poolConfig = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {
+ "pm" = "dynamic";
+ "pm.max_children" = 32;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 2;
+ "pm.max_spare_servers" = 4;
+ "pm.max_requests" = 500;
+ };
+ description = ''
+ Options for the Moodle PHP pool. See the documentation on php-fpm.conf
+ for details on configuration directives.
+ '';
+ };
+ };
+
+ # implementation
+ config = mkIf cfg.enable {
+
+ assertions = [
+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
+ message = "services.moodle.database.user must be set to ${user} if services.moodle.database.createLocally is set true";
+ }
+ { assertion = cfg.database.createLocally -> cfg.database.passwordFile == null;
+ message = "a password cannot be specified if services.moodle.database.createLocally is set to true";
+ }
+ ];
+
+ services.mysql = mkIf mysqlLocal {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = {
+ "${cfg.database.name}.*" = "SELECT, INSERT, UPDATE, DELETE, CREATE, CREATE TEMPORARY TABLES, DROP, INDEX, ALTER";
+ };
+ }
+ ];
+ };
+
+ services.postgresql = mkIf pgsqlLocal {
+ enable = true;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.database.user;
+ ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ services.phpfpm.pools.moodle = {
+ inherit user group;
+ phpEnv.MOODLE_CONFIG = "${moodleConfig}";
+ phpOptions = ''
+ zend_extension = opcache.so
+ opcache.enable = 1
+ '';
+ settings = {
+ "listen.owner" = config.services.httpd.user;
+ "listen.group" = config.services.httpd.group;
+ } // cfg.poolConfig;
+ };
+
+ services.httpd = {
+ enable = true;
+ adminAddr = mkDefault cfg.virtualHost.adminAddr;
+ extraModules = [ "proxy_fcgi" ];
+ virtualHosts = [ (mkMerge [
+ cfg.virtualHost {
+ documentRoot = mkForce "${cfg.package}/share/moodle";
+ extraConfig = ''
+
+
+
+ SetHandler "proxy:unix:${fpm.socket}|fcgi://localhost/"
+
+
+ Options -Indexes
+ DirectoryIndex index.php
+
+ '';
+ }
+ ]) ];
+ };
+
+ systemd.tmpfiles.rules = [
+ "d '${stateDir}' 0750 ${user} ${group} - -"
+ ];
+
+ systemd.services.moodle-init = {
+ wantedBy = [ "multi-user.target" ];
+ before = [ "phpfpm-moodle.service" ];
+ after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+ environment.MOODLE_CONFIG = moodleConfig;
+ script = ''
+ ${pkgs.php}/bin/php ${cfg.package}/share/moodle/admin/cli/check_database_schema.php && rc=$? || rc=$?
+
+ [ "$rc" == 1 ] && ${pkgs.php}/bin/php ${cfg.package}/share/moodle/admin/cli/upgrade.php \
+ --non-interactive \
+ --allow-unstable
+
+ [ "$rc" == 2 ] && ${pkgs.php}/bin/php ${cfg.package}/share/moodle/admin/cli/install_database.php \
+ --agree-license \
+ --adminpass=${cfg.initialPassword}
+
+ true
+ '';
+ serviceConfig = {
+ User = user;
+ Group = group;
+ Type = "oneshot";
+ };
+ };
+
+ systemd.services.moodle-cron = {
+ description = "Moodle cron service";
+ after = [ "moodle-init.service" ];
+ environment.MOODLE_CONFIG = moodleConfig;
+ serviceConfig = {
+ User = user;
+ Group = group;
+ ExecStart = "${pkgs.php}/bin/php ${cfg.package}/share/moodle/admin/cli/cron.php";
+ };
+ };
+
+ systemd.timers.moodle-cron = {
+ description = "Moodle cron timer";
+ wantedBy = [ "timers.target" ];
+ timerConfig = {
+ OnCalendar = "minutely";
+ };
+ };
+
+ systemd.services.httpd.after = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+
+ users.users.${user}.group = group;
+
+ };
+}
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix
index bb39a5d1d71..db5dc915c89 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -1,9 +1,10 @@
-{ config, lib, pkgs, ... }@args:
+{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.services.nextcloud;
+ fpm = config.services.phpfpm.pools.nextcloud;
phpPackage = pkgs.php73;
phpPackages = pkgs.php73Packages;
@@ -101,10 +102,10 @@ in {
phpOptions = mkOption {
type = types.attrsOf types.str;
default = {
- "short_open_tag" = "Off";
- "expose_php" = "Off";
- "error_reporting" = "E_ALL & ~E_DEPRECATED & ~E_STRICT";
- "display_errors" = "stderr";
+ short_open_tag = "Off";
+ expose_php = "Off";
+ error_reporting = "E_ALL & ~E_DEPRECATED & ~E_STRICT";
+ display_errors = "stderr";
"opcache.enable_cli" = "1";
"opcache.interned_strings_buffer" = "8";
"opcache.max_accelerated_files" = "10000";
@@ -112,23 +113,31 @@ in {
"opcache.revalidate_freq" = "1";
"opcache.fast_shutdown" = "1";
"openssl.cafile" = "/etc/ssl/certs/ca-certificates.crt";
- "catch_workers_output" = "yes";
+ catch_workers_output = "yes";
};
description = ''
Options for PHP's php.ini file for nextcloud.
'';
};
- poolConfig = mkOption {
- type = types.lines;
- default = ''
- pm = dynamic
- pm.max_children = 32
- pm.start_servers = 2
- pm.min_spare_servers = 2
- pm.max_spare_servers = 4
- pm.max_requests = 500
+ poolSettings = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {
+ "pm" = "dynamic";
+ "pm.max_children" = "32";
+ "pm.start_servers" = "2";
+ "pm.min_spare_servers" = "2";
+ "pm.max_spare_servers" = "4";
+ "pm.max_requests" = "500";
+ };
+ description = ''
+ Options for nextcloud's PHP pool. See the documentation on php-fpm.conf for details on configuration directives.
'';
+ };
+
+ poolConfig = mkOption {
+ type = types.nullOr types.lines;
+ default = null;
description = ''
Options for nextcloud's PHP pool. See the documentation on php-fpm.conf for details on configuration directives.
'';
@@ -286,9 +295,14 @@ in {
message = "Please specify exactly one of adminpass or adminpassFile";
}
];
+
+ warnings = optional (cfg.poolConfig != null) ''
+ Using config.services.nextcloud.poolConfig is deprecated and will become unsupported in a future release.
+ Please migrate your configuration to config.services.nextcloud.poolSettings.
+ '';
}
- { systemd.timers."nextcloud-cron" = {
+ { systemd.timers.nextcloud-cron = {
wantedBy = [ "timers.target" ];
timerConfig.OnBootSec = "5m";
timerConfig.OnUnitActiveSec = "15m";
@@ -296,9 +310,24 @@ in {
};
systemd.services = {
- "nextcloud-setup" = let
+ nextcloud-setup = let
+ c = cfg.config;
+ writePhpArrary = a: "[${concatMapStringsSep "," (val: ''"${toString val}"'') a}]";
overrideConfig = pkgs.writeText "nextcloud-config.php" ''
[
[ 'path' => '${cfg.home}/apps', 'url' => '/apps', 'writable' => false ],
@@ -309,19 +338,27 @@ in {
${optionalString cfg.caching.apcu "'memcache.local' => '\\OC\\Memcache\\APCu',"}
'log_type' => 'syslog',
'log_level' => '${builtins.toString cfg.logLevel}',
- ${optionalString (cfg.config.overwriteProtocol != null) "'overwriteprotocol' => '${cfg.config.overwriteProtocol}',"}
+ ${optionalString (c.overwriteProtocol != null) "'overwriteprotocol' => '${c.overwriteProtocol}',"}
+ ${optionalString (c.dbname != null) "'dbname' => '${c.dbname}',"}
+ ${optionalString (c.dbhost != null) "'dbhost' => '${c.dbhost}',"}
+ ${optionalString (c.dbport != null) "'dbport' => '${toString c.dbport}',"}
+ ${optionalString (c.dbuser != null) "'dbuser' => '${c.dbuser}',"}
+ ${optionalString (c.dbtableprefix != null) "'dbtableprefix' => '${toString c.dbtableprefix}',"}
+ ${optionalString (c.dbpass != null) "'dbpassword' => '${c.dbpass}',"}
+ ${optionalString (c.dbpassFile != null) "'dbpassword' => nix_read_pwd(),"}
+ 'dbtype' => '${c.dbtype}',
+ 'trusted_domains' => ${writePhpArrary ([ cfg.hostName ] ++ c.extraTrustedDomains)},
];
'';
occInstallCmd = let
- c = cfg.config;
- adminpass = if c.adminpassFile != null
- then ''"$(<"${toString c.adminpassFile}")"''
- else ''"${toString c.adminpass}"'';
dbpass = if c.dbpassFile != null
then ''"$(<"${toString c.dbpassFile}")"''
else if c.dbpass != null
then ''"${toString c.dbpass}"''
else null;
+ adminpass = if c.adminpassFile != null
+ then ''"$(<"${toString c.adminpassFile}")"''
+ else ''"${toString c.adminpass}"'';
installFlags = concatStringsSep " \\\n "
(mapAttrsToList (k: v: "${k} ${toString v}") {
"--database" = ''"${c.dbtype}"'';
@@ -373,13 +410,13 @@ in {
'';
serviceConfig.Type = "oneshot";
};
- "nextcloud-cron" = {
+ nextcloud-cron = {
environment.NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config";
serviceConfig.Type = "oneshot";
serviceConfig.User = "nextcloud";
serviceConfig.ExecStart = "${phpPackage}/bin/php -f ${pkgs.nextcloud}/cron.php";
};
- "nextcloud-update-plugins" = mkIf cfg.autoUpdateApps.enable {
+ nextcloud-update-plugins = mkIf cfg.autoUpdateApps.enable {
serviceConfig.Type = "oneshot";
serviceConfig.ExecStart = "${occ}/bin/nextcloud-occ app:update --all";
startAt = cfg.autoUpdateApps.startAt;
@@ -387,25 +424,20 @@ in {
};
services.phpfpm = {
- pools.nextcloud = let
- phpAdminValues = (toKeyValue
- (foldr (a: b: a // b) {}
- (mapAttrsToList (k: v: { "php_admin_value[${k}]" = v; })
- phpOptions)));
- in {
- phpOptions = phpOptionsExtensions;
+ pools.nextcloud = {
+ user = "nextcloud";
+ group = "nginx";
+ phpOptions = phpOptionsExtensions + phpOptionsStr;
phpPackage = phpPackage;
- listen = "/run/phpfpm/nextcloud";
- extraConfig = ''
- listen.owner = nginx
- listen.group = nginx
- user = nextcloud
- group = nginx
- ${cfg.poolConfig}
- env[NEXTCLOUD_CONFIG_DIR] = ${cfg.home}/config
- env[PATH] = /run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin
- ${phpAdminValues}
- '';
+ phpEnv = {
+ NEXTCLOUD_CONFIG_DIR = "${cfg.home}/config";
+ PATH = "/run/wrappers/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/usr/bin:/bin";
+ };
+ settings = mapAttrs (name: mkDefault) {
+ "listen.owner" = "nginx";
+ "listen.group" = "nginx";
+ } // cfg.poolSettings;
+ extraConfig = cfg.poolConfig;
};
};
@@ -422,7 +454,7 @@ in {
services.nginx = {
enable = true;
virtualHosts = {
- "${cfg.hostName}" = {
+ ${cfg.hostName} = {
root = pkgs.nextcloud;
locations = {
"= /robots.txt" = {
@@ -466,7 +498,7 @@ in {
fastcgi_param HTTPS ${if cfg.https then "on" else "off"};
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
- fastcgi_pass unix:/run/phpfpm/nextcloud;
+ fastcgi_pass unix:${fpm.socket};
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_read_timeout 120s;
diff --git a/nixos/modules/services/web-apps/nextcloud.xml b/nixos/modules/services/web-apps/nextcloud.xml
index d78d866086a..d66e0f0c299 100644
--- a/nixos/modules/services/web-apps/nextcloud.xml
+++ b/nixos/modules/services/web-apps/nextcloud.xml
@@ -42,10 +42,12 @@
services.postgresql = {
enable = true;
- initialScript = pkgs.writeText "psql-init" ''
- CREATE ROLE nextcloud WITH LOGIN;
- CREATE DATABASE nextcloud WITH OWNER nextcloud;
- '';
+ ensureDatabases = [ "nextcloud" ];
+ ensureUsers = [
+ { name = "nextcloud";
+ ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
+ }
+ ];
};
# ensure that postgres is running *before* running the setup
@@ -63,17 +65,22 @@
are used internally to configure an HTTP server using
PHP-FPM
and nginx. The config attribute set is
- used for the config.php which is used for the
- application's configuration. Beware: this isn't entirely pure
- since the config is modified by the application's runtime!
+ used by the imperative installer and all values are written to an additional file
+ to ensure that changes can be applied by changing the module's options.
- In case the application serves multiple hosts (those are checked with
+ In case the application serves multiple domains (those are checked with
$_SERVER['HTTP_HOST'])
- those can be added using
+ it's needed to add them to
services.nextcloud.config.extraTrustedDomains.
+
+
+ Auto updates for Nextcloud apps can be enabled using
+ services.nextcloud.autoUpdateApps.
+
+
Pitfalls
@@ -87,35 +94,24 @@
- Right now changes to the services.nextcloud.config
- attribute set won't take effect after the first install (except
- services.nextcloud.config.extraTrustedDomains)
- since the actual configuration file is generated by the NextCloud installer
- which also sets up critical parts such as the database structure.
+ All configuration parameters are also stored in
+ /var/lib/nextcloud/config/override.config.php which is generated by
+ the module and linked from the store to ensure that all values from config.php
+ can be modified by the module.
+ However config.php manages the application's state and shouldn't be touched
+ manually because of that.
-
- Warning: don't delete config.php! This file
+
+ Don't delete config.php! This file
tracks the application's state and a deletion can cause unwanted
- side-effects!
-
+ side-effects!
+
-
- Warning: don't rerun nextcloud-occ
+
+ Don't rerun nextcloud-occ
maintenance:install! This command tries to install the application
- and can cause unwanted side-effects!
-
-
-
- The issues are known and reported in
- #49783,
- for now it's unfortunately necessary to manually work around these issues.
-
-
-
- Right now app installation and configuration is done imperatively in the nextcloud web ui or via the nextcloud-occ command line utility.
- You can activate auto updates for your apps via
- services.nextcloud.autoUpdateApps.
-
+ and can cause unwanted side-effects!
+
diff --git a/nixos/modules/services/web-apps/nexus.nix b/nixos/modules/services/web-apps/nexus.nix
index 052dbed6d4f..3af97e146d0 100644
--- a/nixos/modules/services/web-apps/nexus.nix
+++ b/nixos/modules/services/web-apps/nexus.nix
@@ -80,14 +80,14 @@ in
};
config = mkIf cfg.enable {
- users.users."${cfg.user}" = {
+ users.users.${cfg.user} = {
isSystemUser = true;
group = cfg.group;
home = cfg.home;
createHome = true;
};
- users.groups."${cfg.group}" = {};
+ users.groups.${cfg.group} = {};
systemd.services.nexus = {
description = "Sonatype Nexus3";
diff --git a/nixos/modules/services/web-apps/pgpkeyserver-lite.nix b/nixos/modules/services/web-apps/pgpkeyserver-lite.nix
index 93f69bd1265..ad70ba70bbe 100644
--- a/nixos/modules/services/web-apps/pgpkeyserver-lite.nix
+++ b/nixos/modules/services/web-apps/pgpkeyserver-lite.nix
@@ -60,7 +60,7 @@ in
services.nginx.virtualHosts = let
hkpPort = builtins.toString cfg.hkpPort;
in {
- "${cfg.hostname}" = {
+ ${cfg.hostname} = {
root = webPkg;
locations = {
"/pks".extraConfig = ''
diff --git a/nixos/modules/services/web-apps/restya-board.nix b/nixos/modules/services/web-apps/restya-board.nix
index 2e5e0ea6622..1e7882488ac 100644
--- a/nixos/modules/services/web-apps/restya-board.nix
+++ b/nixos/modules/services/web-apps/restya-board.nix
@@ -9,11 +9,11 @@ with lib;
let
cfg = config.services.restya-board;
+ fpm = config.services.phpfpm.pools.${poolName};
runDir = "/run/restya-board";
poolName = "restya-board";
- phpfpmSocketName = "/run/phpfpm/${poolName}.sock";
in
@@ -178,9 +178,10 @@ in
config = mkIf cfg.enable {
- services.phpfpm.poolConfigs = {
- "${poolName}" = {
- listen = phpfpmSocketName;
+ services.phpfpm.pools = {
+ ${poolName} = {
+ inherit (cfg) user group;
+
phpOptions = ''
date.timezone = "CET"
@@ -191,25 +192,23 @@ in
auth_password = ${cfg.email.password}
''}
'';
- extraConfig = ''
- listen.owner = nginx
- listen.group = nginx
- listen.mode = 0600
- user = ${cfg.user}
- group = ${cfg.group}
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 10
- pm.min_spare_servers = 5
- pm.max_spare_servers = 20
- pm.max_requests = 500
- catch_workers_output = 1
- '';
+ settings = mapAttrs (name: mkDefault) {
+ "listen.owner" = "nginx";
+ "listen.group" = "nginx";
+ "listen.mode" = "0600";
+ "pm" = "dynamic";
+ "pm.max_children" = 75;
+ "pm.start_servers" = 10;
+ "pm.min_spare_servers" = 5;
+ "pm.max_spare_servers" = 20;
+ "pm.max_requests" = 500;
+ "catch_workers_output" = 1;
+ };
};
};
services.nginx.enable = true;
- services.nginx.virtualHosts."${cfg.virtualHost.serverName}" = {
+ services.nginx.virtualHosts.${cfg.virtualHost.serverName} = {
listen = [ { addr = cfg.virtualHost.listenHost; port = cfg.virtualHost.listenPort; } ];
serverName = cfg.virtualHost.serverName;
root = runDir;
@@ -217,7 +216,6 @@ in
index index.html index.php;
gzip on;
- gzip_disable "msie6";
gzip_comp_level 6;
gzip_min_length 1100;
@@ -241,7 +239,7 @@ in
tryFiles = "$uri =404";
extraConfig = ''
include ${pkgs.nginx}/conf/fastcgi_params;
- fastcgi_pass unix:${phpfpmSocketName};
+ fastcgi_pass unix:${fpm.socket};
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PHP_VALUE "upload_max_filesize=9G \n post_max_size=9G \n max_execution_time=200 \n max_input_time=200 \n memory_limit=256M";
diff --git a/nixos/modules/services/web-apps/selfoss.nix b/nixos/modules/services/web-apps/selfoss.nix
index cd0f743a5fb..d5a660ebf28 100644
--- a/nixos/modules/services/web-apps/selfoss.nix
+++ b/nixos/modules/services/web-apps/selfoss.nix
@@ -4,7 +4,6 @@ let
cfg = config.services.selfoss;
poolName = "selfoss_pool";
- phpfpmSocketName = "/run/phpfpm/${poolName}.sock";
dataDir = "/var/lib/selfoss";
@@ -115,22 +114,22 @@ in
};
config = mkIf cfg.enable {
-
- services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") {
- "${poolName}" = ''
- listen = "${phpfpmSocketName}";
- listen.owner = nginx
- listen.group = nginx
- listen.mode = 0600
- user = nginx
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 10
- pm.min_spare_servers = 5
- pm.max_spare_servers = 20
- pm.max_requests = 500
- catch_workers_output = 1
- '';
+ services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
+ ${poolName} = {
+ user = "nginx";
+ settings = mapAttrs (name: mkDefault) {
+ "listen.owner" = "nginx";
+ "listen.group" = "nginx";
+ "listen.mode" = "0600";
+ "pm" = "dynamic";
+ "pm.max_children" = 75;
+ "pm.start_servers" = 10;
+ "pm.min_spare_servers" = 5;
+ "pm.max_spare_servers" = 20;
+ "pm.max_requests" = 500;
+ "catch_workers_output" = 1;
+ };
+ };
};
systemd.services.selfoss-config = {
diff --git a/nixos/modules/services/web-apps/tt-rss.nix b/nixos/modules/services/web-apps/tt-rss.nix
index 08297c7275a..abe4748591e 100644
--- a/nixos/modules/services/web-apps/tt-rss.nix
+++ b/nixos/modules/services/web-apps/tt-rss.nix
@@ -15,7 +15,9 @@ let
else cfg.database.port;
poolName = "tt-rss";
- phpfpmSocketName = "/run/phpfpm/${poolName}.sock";
+
+ mysqlLocal = cfg.database.createLocally && cfg.database.type == "mysql";
+ pgsqlLocal = cfg.database.createLocally && cfg.database.type == "pgsql";
tt-rss-config = pkgs.writeText "config.php" ''
0 from pg_tables where tableowner = user"} \
| tail -n+3 | head -n-2 | sed -e 's/[ \n\t]*//')
@@ -629,18 +630,18 @@ let
serviceConfig = {
User = "${cfg.user}";
+ Group = "tt_rss";
ExecStart = "${pkgs.php}/bin/php ${cfg.root}/update.php --daemon";
StandardOutput = "syslog";
StandardError = "syslog";
- PermissionsStartOnly = true;
};
wantedBy = [ "multi-user.target" ];
- requires = ["${dbService}"];
- after = ["network.target" "${dbService}"];
+ requires = optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
+ after = [ "network.target" ] ++ optional mysqlLocal "mysql.service" ++ optional pgsqlLocal "postgresql.service";
};
- services.mysql = optionalAttrs (cfg.database.type == "mysql") {
+ services.mysql = mkIf mysqlLocal {
enable = true;
package = mkDefault pkgs.mysql;
ensureDatabases = [ cfg.database.name ];
@@ -654,17 +655,22 @@ let
];
};
- services.postgresql = optionalAttrs (cfg.database.type == "pgsql") {
+ services.postgresql = mkIf pgsqlLocal {
enable = mkDefault true;
+ ensureDatabases = [ cfg.database.name ];
+ ensureUsers = [
+ { name = cfg.user;
+ ensurePermissions = { "DATABASE ${cfg.database.name}" = "ALL PRIVILEGES"; };
+ }
+ ];
};
- users = optionalAttrs (cfg.user == "tt_rss") {
- users.tt_rss = {
- description = "tt-rss service user";
- isSystemUser = true;
- group = "tt_rss";
- };
- groups.tt_rss = {};
+ users.users.tt_rss = optionalAttrs (cfg.user == "tt_rss") {
+ description = "tt-rss service user";
+ isSystemUser = true;
+ group = "tt_rss";
};
+
+ users.groups.tt_rss = {};
};
}
diff --git a/nixos/modules/services/web-apps/wordpress.nix b/nixos/modules/services/web-apps/wordpress.nix
new file mode 100644
index 00000000000..88475437058
--- /dev/null
+++ b/nixos/modules/services/web-apps/wordpress.nix
@@ -0,0 +1,367 @@
+{ config, pkgs, lib, ... }:
+
+let
+ inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption types;
+ inherit (lib) any attrValues concatMapStringsSep flatten literalExample;
+ inherit (lib) mapAttrs' mapAttrsToList nameValuePair optional optionalAttrs optionalString;
+
+ eachSite = config.services.wordpress;
+ user = "wordpress";
+ group = config.services.httpd.group;
+ stateDir = hostName: "/var/lib/wordpress/${hostName}";
+
+ pkg = hostName: cfg: pkgs.stdenv.mkDerivation rec {
+ pname = "wordpress-${hostName}";
+ version = src.version;
+ src = cfg.package;
+
+ installPhase = ''
+ mkdir -p $out
+ cp -r * $out/
+
+ # symlink the wordpress config
+ ln -s ${wpConfig hostName cfg} $out/share/wordpress/wp-config.php
+ # symlink uploads directory
+ ln -s ${cfg.uploadsDir} $out/share/wordpress/wp-content/uploads
+
+ # https://github.com/NixOS/nixpkgs/pull/53399
+ #
+ # Symlinking works for most plugins and themes, but Avada, for instance, fails to
+ # understand the symlink, causing its file path stripping to fail. This results in
+ # requests that look like: https://example.com/wp-content//nix/store/...plugin/path/some-file.js
+ # Since hard linking directories is not allowed, copying is the next best thing.
+
+ # copy additional plugin(s) and theme(s)
+ ${concatMapStringsSep "\n" (theme: "cp -r ${theme} $out/share/wordpress/wp-content/themes/${theme.name}") cfg.themes}
+ ${concatMapStringsSep "\n" (plugin: "cp -r ${plugin} $out/share/wordpress/wp-content/plugins/${plugin.name}") cfg.plugins}
+ '';
+ };
+
+ wpConfig = hostName: cfg: pkgs.writeText "wp-config-${hostName}.php" ''
+
+ '';
+
+ siteOpts = { lib, name, ... }:
+ {
+ options = {
+ package = mkOption {
+ type = types.package;
+ default = pkgs.wordpress;
+ description = "Which WordPress package to use.";
+ };
+
+ uploadsDir = mkOption {
+ type = types.path;
+ default = "/var/lib/wordpress/${name}/uploads";
+ description = ''
+ This directory is used for uploads of pictures. The directory passed here is automatically
+ created and permissions adjusted as required.
+ '';
+ };
+
+ plugins = mkOption {
+ type = types.listOf types.path;
+ default = [];
+ description = ''
+ List of path(s) to respective plugin(s) which are copied from the 'plugins' directory.
+ These plugins need to be packaged before use, see example.
+ '';
+ example = ''
+ # Wordpress plugin 'embed-pdf-viewer' installation example
+ embedPdfViewerPlugin = pkgs.stdenv.mkDerivation {
+ name = "embed-pdf-viewer-plugin";
+ # Download the theme from the wordpress site
+ src = pkgs.fetchurl {
+ url = https://downloads.wordpress.org/plugin/embed-pdf-viewer.2.0.3.zip;
+ sha256 = "1rhba5h5fjlhy8p05zf0p14c9iagfh96y91r36ni0rmk6y891lyd";
+ };
+ # We need unzip to build this package
+ buildInputs = [ pkgs.unzip ];
+ # Installing simply means copying all files to the output directory
+ installPhase = "mkdir -p $out; cp -R * $out/";
+ };
+
+ And then pass this theme to the themes list like this:
+ plugins = [ embedPdfViewerPlugin ];
+ '';
+ };
+
+ themes = mkOption {
+ type = types.listOf types.path;
+ default = [];
+ description = ''
+ List of path(s) to respective theme(s) which are copied from the 'theme' directory.
+ These themes need to be packaged before use, see example.
+ '';
+ example = ''
+ # For shits and giggles, let's package the responsive theme
+ responsiveTheme = pkgs.stdenv.mkDerivation {
+ name = "responsive-theme";
+ # Download the theme from the wordpress site
+ src = pkgs.fetchurl {
+ url = https://downloads.wordpress.org/theme/responsive.3.14.zip;
+ sha256 = "0rjwm811f4aa4q43r77zxlpklyb85q08f9c8ns2akcarrvj5ydx3";
+ };
+ # We need unzip to build this package
+ buildInputs = [ pkgs.unzip ];
+ # Installing simply means copying all files to the output directory
+ installPhase = "mkdir -p $out; cp -R * $out/";
+ };
+
+ And then pass this theme to the themes list like this:
+ themes = [ responsiveTheme ];
+ '';
+ };
+
+ database = {
+ host = mkOption {
+ type = types.str;
+ default = "localhost";
+ description = "Database host address.";
+ };
+
+ port = mkOption {
+ type = types.port;
+ default = 3306;
+ description = "Database host port.";
+ };
+
+ name = mkOption {
+ type = types.str;
+ default = "wordpress";
+ description = "Database name.";
+ };
+
+ user = mkOption {
+ type = types.str;
+ default = "wordpress";
+ description = "Database user.";
+ };
+
+ passwordFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/keys/wordpress-dbpassword";
+ description = ''
+ A file containing the password corresponding to
+ .
+ '';
+ };
+
+ tablePrefix = mkOption {
+ type = types.str;
+ default = "wp_";
+ description = ''
+ The $table_prefix is the value placed in the front of your database tables.
+ Change the value if you want to use something other than wp_ for your database
+ prefix. Typically this is changed if you are installing multiple WordPress blogs
+ in the same database.
+
+ See .
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ defaultText = "/run/mysqld/mysqld.sock";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+
+ createLocally = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Create the database and database user locally.";
+ };
+ };
+
+ virtualHost = mkOption {
+ type = types.submodule ({
+ options = import ../web-servers/apache-httpd/per-server-options.nix {
+ inherit lib;
+ forMainServer = false;
+ };
+ });
+ example = literalExample ''
+ {
+ enableSSL = true;
+ adminAddr = "webmaster@example.org";
+ sslServerCert = "/var/lib/acme/wordpress.example.org/full.pem";
+ sslServerKey = "/var/lib/acme/wordpress.example.org/key.pem";
+ }
+ '';
+ description = ''
+ Apache configuration can be done by adapting .
+ '';
+ };
+
+ poolConfig = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {
+ "pm" = "dynamic";
+ "pm.max_children" = 32;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 2;
+ "pm.max_spare_servers" = 4;
+ "pm.max_requests" = 500;
+ };
+ description = ''
+ Options for the WordPress PHP pool. See the documentation on php-fpm.conf
+ for details on configuration directives.
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = types.lines;
+ default = "";
+ description = ''
+ Any additional text to be appended to the wp-config.php
+ configuration file. This is a PHP script. For configuration
+ settings, see .
+ '';
+ example = ''
+ define( 'AUTOSAVE_INTERVAL', 60 ); // Seconds
+ '';
+ };
+ };
+
+ config.virtualHost.hostName = mkDefault name;
+ };
+in
+{
+ # interface
+ options = {
+ services.wordpress = mkOption {
+ type = types.attrsOf (types.submodule siteOpts);
+ default = {};
+ description = "Specification of one or more WordPress sites to serve via Apache.";
+ };
+ };
+
+ # implementation
+ config = mkIf (eachSite != {}) {
+
+ assertions = mapAttrsToList (hostName: cfg:
+ { assertion = cfg.database.createLocally -> cfg.database.user == user;
+ message = "services.wordpress.${hostName}.database.user must be ${user} if the database is to be automatically provisioned";
+ }
+ ) eachSite;
+
+ services.mysql = mkIf (any (v: v.database.createLocally) (attrValues eachSite)) {
+ enable = true;
+ package = mkDefault pkgs.mariadb;
+ ensureDatabases = mapAttrsToList (hostName: cfg: cfg.database.name) eachSite;
+ ensureUsers = mapAttrsToList (hostName: cfg:
+ { name = cfg.database.user;
+ ensurePermissions = { "${cfg.database.name}.*" = "ALL PRIVILEGES"; };
+ }
+ ) eachSite;
+ };
+
+ services.phpfpm.pools = mapAttrs' (hostName: cfg: (
+ nameValuePair "wordpress-${hostName}" {
+ inherit user group;
+ settings = {
+ "listen.owner" = config.services.httpd.user;
+ "listen.group" = config.services.httpd.group;
+ } // cfg.poolConfig;
+ }
+ )) eachSite;
+
+ services.httpd = {
+ enable = true;
+ extraModules = [ "proxy_fcgi" ];
+ virtualHosts = mapAttrsToList (hostName: cfg:
+ (mkMerge [
+ cfg.virtualHost {
+ documentRoot = mkForce "${pkg hostName cfg}/share/wordpress";
+ extraConfig = ''
+
+
+
+ SetHandler "proxy:unix:${config.services.phpfpm.pools."wordpress-${hostName}".socket}|fcgi://localhost/"
+
+
+
+ # standard wordpress .htaccess contents
+
+ RewriteEngine On
+ RewriteBase /
+ RewriteRule ^index\.php$ - [L]
+ RewriteCond %{REQUEST_FILENAME} !-f
+ RewriteCond %{REQUEST_FILENAME} !-d
+ RewriteRule . /index.php [L]
+
+
+ DirectoryIndex index.php
+ Require all granted
+ Options +FollowSymLinks
+
+
+ # https://wordpress.org/support/article/hardening-wordpress/#securing-wp-config-php
+
+ Require all denied
+
+ '';
+ }
+ ])
+ ) eachSite;
+ };
+
+ systemd.tmpfiles.rules = flatten (mapAttrsToList (hostName: cfg: [
+ "d '${stateDir hostName}' 0750 ${user} ${group} - -"
+ "d '${cfg.uploadsDir}' 0750 ${user} ${group} - -"
+ "Z '${cfg.uploadsDir}' 0750 ${user} ${group} - -"
+ ]) eachSite);
+
+ systemd.services = mkMerge [
+ (mapAttrs' (hostName: cfg: (
+ nameValuePair "wordpress-init-${hostName}" {
+ wantedBy = [ "multi-user.target" ];
+ before = [ "phpfpm-wordpress-${hostName}.service" ];
+ after = optional cfg.database.createLocally "mysql.service";
+ script = ''
+ if ! test -e "${stateDir hostName}/secret-keys.php"; then
+ echo "> "${stateDir hostName}/secret-keys.php"
+ ${pkgs.curl}/bin/curl -s https://api.wordpress.org/secret-key/1.1/salt/ >> "${stateDir hostName}/secret-keys.php"
+ echo "?>" >> "${stateDir hostName}/secret-keys.php"
+ chmod 440 "${stateDir hostName}/secret-keys.php"
+ fi
+ '';
+
+ serviceConfig = {
+ Type = "oneshot";
+ User = user;
+ Group = group;
+ };
+ })) eachSite)
+
+ (optionalAttrs (any (v: v.database.createLocally) (attrValues eachSite)) {
+ httpd.after = [ "mysql.service" ];
+ })
+ ];
+
+ users.users.${user}.group = group;
+
+ };
+}
diff --git a/nixos/modules/services/web-apps/youtrack.nix b/nixos/modules/services/web-apps/youtrack.nix
index 691cbdc8d1d..830edac20ba 100644
--- a/nixos/modules/services/web-apps/youtrack.nix
+++ b/nixos/modules/services/web-apps/youtrack.nix
@@ -28,28 +28,28 @@ in
The interface youtrack will listen on.
'';
default = "127.0.0.1";
- type = types.string;
+ type = types.str;
};
baseUrl = mkOption {
description = ''
Base URL for youtrack. Will be auto-detected and stored in database.
'';
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
};
extraParams = mkOption {
default = {};
description = ''
- Extra parameters to pass to youtrack. See
+ Extra parameters to pass to youtrack. See
https://www.jetbrains.com/help/youtrack/standalone/YouTrack-Java-Start-Parameters.html
for more information.
'';
example = {
"jetbrains.youtrack.overrideRootPassword" = "tortuga";
};
- type = types.attrsOf types.string;
+ type = types.attrsOf types.str;
};
package = mkOption {
@@ -73,7 +73,7 @@ in
description = ''
Where to keep the youtrack database.
'';
- type = types.string;
+ type = types.path;
default = "/var/lib/youtrack";
};
@@ -83,7 +83,7 @@ in
If null, do not setup anything.
'';
default = null;
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
};
jvmOpts = mkOption {
@@ -92,7 +92,7 @@ in
See https://www.jetbrains.com/help/youtrack/standalone/Configure-JVM-Options.html
for more information.
'';
- type = types.string;
+ type = types.separatedString " ";
example = "-XX:MetaspaceSize=250m";
default = "";
};
@@ -101,7 +101,7 @@ in
description = ''
Maximum Java heap size
'';
- type = types.string;
+ type = types.str;
default = "1g";
};
@@ -109,7 +109,7 @@ in
description = ''
Maximum java Metaspace memory.
'';
- type = types.string;
+ type = types.str;
default = "350m";
};
};
diff --git a/nixos/modules/services/web-apps/zabbix.nix b/nixos/modules/services/web-apps/zabbix.nix
new file mode 100644
index 00000000000..09538726b7c
--- /dev/null
+++ b/nixos/modules/services/web-apps/zabbix.nix
@@ -0,0 +1,223 @@
+{ config, lib, pkgs, ... }:
+
+let
+
+ inherit (lib) mkDefault mkEnableOption mkForce mkIf mkMerge mkOption types;
+ inherit (lib) literalExample mapAttrs optionalString;
+
+ cfg = config.services.zabbixWeb;
+ fpm = config.services.phpfpm.pools.zabbix;
+
+ user = "zabbix";
+ group = "zabbix";
+ stateDir = "/var/lib/zabbix";
+
+ zabbixConfig = pkgs.writeText "zabbix.conf.php" ''
+ database.user.
+ '';
+ };
+
+ socket = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ example = "/run/postgresql";
+ description = "Path to the unix socket file to use for authentication.";
+ };
+ };
+
+ virtualHost = mkOption {
+ type = types.submodule ({
+ options = import ../web-servers/apache-httpd/per-server-options.nix {
+ inherit lib;
+ forMainServer = false;
+ };
+ });
+ example = {
+ hostName = "zabbix.example.org";
+ enableSSL = true;
+ adminAddr = "webmaster@example.org";
+ sslServerCert = "/var/lib/acme/zabbix.example.org/full.pem";
+ sslServerKey = "/var/lib/acme/zabbix.example.org/key.pem";
+ };
+ description = ''
+ Apache configuration can be done by adapting services.httpd.virtualHosts.<name>.
+ See for further information.
+ '';
+ };
+
+ poolConfig = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {
+ "pm" = "dynamic";
+ "pm.max_children" = 32;
+ "pm.start_servers" = 2;
+ "pm.min_spare_servers" = 2;
+ "pm.max_spare_servers" = 4;
+ "pm.max_requests" = 500;
+ };
+ description = ''
+ Options for the Zabbix PHP pool. See the documentation on php-fpm.conf for details on configuration directives.
+ '';
+ };
+
+ };
+ };
+
+ # implementation
+
+ config = mkIf cfg.enable {
+
+ systemd.tmpfiles.rules = [
+ "d '${stateDir}' 0750 ${user} ${group} - -"
+ "d '${stateDir}/session' 0750 ${user} ${config.services.httpd.group} - -"
+ ];
+
+ services.phpfpm.pools.zabbix = {
+ inherit user;
+ group = config.services.httpd.group;
+ phpOptions = ''
+ # https://www.zabbix.com/documentation/current/manual/installation/install
+ memory_limit = 128M
+ post_max_size = 16M
+ upload_max_filesize = 2M
+ max_execution_time = 300
+ max_input_time = 300
+ session.auto_start = 0
+ mbstring.func_overload = 0
+ always_populate_raw_post_data = -1
+ # https://bbs.archlinux.org/viewtopic.php?pid=1745214#p1745214
+ session.save_path = ${stateDir}/session
+ '' + optionalString (config.time.timeZone != null) ''
+ date.timezone = "${config.time.timeZone}"
+ '' + optionalString (cfg.database.type == "oracle") ''
+ extension=${pkgs.phpPackages.oci8}/lib/php/extensions/oci8.so
+ '';
+ phpEnv.ZABBIX_CONFIG = "${zabbixConfig}";
+ settings = {
+ "listen.owner" = config.services.httpd.user;
+ "listen.group" = config.services.httpd.group;
+ } // cfg.poolConfig;
+ };
+
+ services.httpd = {
+ enable = true;
+ adminAddr = mkDefault cfg.virtualHost.adminAddr;
+ extraModules = [ "proxy_fcgi" ];
+ virtualHosts = [ (mkMerge [
+ cfg.virtualHost {
+ documentRoot = mkForce "${cfg.package}/share/zabbix";
+ extraConfig = ''
+
+
+
+ SetHandler "proxy:unix:${fpm.socket}|fcgi://localhost/"
+
+
+ AllowOverride all
+ Options -Indexes
+ DirectoryIndex index.php
+
+ '';
+ }
+ ]) ];
+ };
+
+ users.users.${user} = mapAttrs (name: mkDefault) {
+ description = "Zabbix daemon user";
+ uid = config.ids.uids.zabbix;
+ inherit group;
+ };
+
+ users.groups.${group} = mapAttrs (name: mkDefault) {
+ gid = config.ids.gids.zabbix;
+ };
+
+ };
+}
diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix
index a8fb11f114e..098160ee369 100644
--- a/nixos/modules/services/web-servers/apache-httpd/default.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/default.nix
@@ -8,8 +8,6 @@ let
httpd = mainCfg.package.out;
- version24 = !versionOlder httpd.version "2.4";
-
httpdConf = mainCfg.configFile;
php = mainCfg.phpPackage.override { apacheHttpd = httpd.dev; /* otherwise it only gets .out */ };
@@ -23,10 +21,9 @@ let
else [{ip = "*"; port = 80;}];
getListen = cfg:
- let list = (lib.optional (cfg.port != 0) {ip = "*"; port = cfg.port;}) ++ cfg.listen;
- in if list == []
- then defaultListen cfg
- else list;
+ if cfg.listen == []
+ then defaultListen cfg
+ else cfg.listen;
listenToString = l: "${l.ip}:${toString l.port}";
@@ -107,11 +104,10 @@ let
"auth_basic" "auth_digest"
# Authentication: is the user who he claims to be?
- "authn_file" "authn_dbm" "authn_anon"
- (if version24 then "authn_core" else "authn_alias")
+ "authn_file" "authn_dbm" "authn_anon" "authn_core"
# Authorization: is the user allowed access?
- "authz_user" "authz_groupfile" "authz_host"
+ "authz_user" "authz_groupfile" "authz_host" "authz_core"
# Other modules.
"ext_filter" "include" "log_config" "env" "mime_magic"
@@ -119,14 +115,9 @@ let
"mime" "dav" "status" "autoindex" "asis" "info" "dav_fs"
"vhost_alias" "negotiation" "dir" "imagemap" "actions" "speling"
"userdir" "alias" "rewrite" "proxy" "proxy_http"
- ]
- ++ optionals version24 [
+ "unixd" "cache" "cache_disk" "slotmem_shm" "socache_shmcb"
"mpm_${mainCfg.multiProcessingModule}"
- "authz_core"
- "unixd"
- "cache" "cache_disk"
- "slotmem_shm"
- "socache_shmcb"
+
# For compatibility with old configurations, the new module mod_access_compat is provided.
"access_compat"
]
@@ -135,19 +126,8 @@ let
++ extraApacheModules;
- allDenied = if version24 then ''
- Require all denied
- '' else ''
- Order deny,allow
- Deny from all
- '';
-
- allGranted = if version24 then ''
- Require all granted
- '' else ''
- Order allow,deny
- Allow from all
- '';
+ allDenied = "Require all denied";
+ allGranted = "Require all granted";
loggingConf = (if mainCfg.logFormat != "none" then ''
@@ -180,9 +160,9 @@ let
sslConf = ''
- SSLSessionCache ${if version24 then "shmcb" else "shm"}:${mainCfg.stateDir}/ssl_scache(512000)
+ SSLSessionCache shmcb:${mainCfg.stateDir}/ssl_scache(512000)
- ${if version24 then "Mutex" else "SSLMutex"} posixsem
+ Mutex posixsem
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
@@ -322,9 +302,7 @@ let
ServerRoot ${httpd}
- ${optionalString version24 ''
- DefaultRuntimeDir ${mainCfg.stateDir}/runtime
- ''}
+ DefaultRuntimeDir ${mainCfg.stateDir}/runtime
PidFile ${mainCfg.stateDir}/httpd.pid
@@ -358,7 +336,7 @@ let
++ optional enablePerl { name = "perl"; path = "${mod_perl}/modules/mod_perl.so"; }
++ concatMap (svc: svc.extraModules) allSubservices
++ extraForeignModules;
- in concatMapStrings load allModules
+ in concatMapStrings load (unique allModules)
}
AddHandler type-map var
@@ -397,14 +375,6 @@ let
# Generate directives for the main server.
${perServerConf true mainCfg}
- # Always enable virtual hosts; it doesn't seem to hurt.
- ${let
- listen = concatMap getListen allHosts;
- uniqueListen = uniqList {inputList = listen;};
- directives = concatMapStrings (listen: "NameVirtualHost ${listenToString listen}\n") uniqueListen;
- in optionalString (!version24) directives
- }
-
${let
makeVirtualHost = vhost: ''
@@ -667,7 +637,7 @@ in
message = "SSL is enabled for httpd, but sslServerCert and/or sslServerKey haven't been specified."; }
];
- warnings = map (cfg: ''apache-httpd's port option is deprecated. Use listen = [{/*ip = "*"; */ port = ${toString cfg.port};}]; instead'' ) (lib.filter (cfg: cfg.port != 0) allHosts);
+ warnings = map (cfg: "apache-httpd's extraSubservices option is deprecated. Most existing subservices have been ported to the NixOS module system. Please update your configuration accordingly.") (lib.filter (cfg: cfg.extraSubservices != []) allHosts);
users.users = optionalAttrs (mainCfg.user == "wwwrun") (singleton
{ name = "wwwrun";
@@ -700,8 +670,7 @@ in
{ description = "Apache HTTPD";
wantedBy = [ "multi-user.target" ];
- wants = [ "keys.target" ];
- after = [ "network.target" "fs.target" "postgresql.service" "keys.target" ];
+ after = [ "network.target" "fs.target" ];
path =
[ httpd pkgs.coreutils pkgs.gnugrep ]
@@ -717,10 +686,10 @@ in
''
mkdir -m 0750 -p ${mainCfg.stateDir}
[ $(id -u) != 0 ] || chown root.${mainCfg.group} ${mainCfg.stateDir}
- ${optionalString version24 ''
- mkdir -m 0750 -p "${mainCfg.stateDir}/runtime"
- [ $(id -u) != 0 ] || chown root.${mainCfg.group} "${mainCfg.stateDir}/runtime"
- ''}
+
+ mkdir -m 0750 -p "${mainCfg.stateDir}/runtime"
+ [ $(id -u) != 0 ] || chown root.${mainCfg.group} "${mainCfg.stateDir}/runtime"
+
mkdir -m 0700 -p ${mainCfg.logDir}
# Get rid of old semaphores. These tend to accumulate across
diff --git a/nixos/modules/services/web-servers/apache-httpd/foswiki.nix b/nixos/modules/services/web-servers/apache-httpd/foswiki.nix
deleted file mode 100644
index 8c1ac8935a4..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/foswiki.nix
+++ /dev/null
@@ -1,78 +0,0 @@
-{ config, pkgs, lib, serverInfo, ... }:
-let
- inherit (pkgs) foswiki;
- inherit (serverInfo.serverConfig) user group;
- inherit (config) vardir;
-in
-{
- options.vardir = lib.mkOption {
- type = lib.types.path;
- default = "/var/www/foswiki";
- description = "The directory where variable foswiki data will be stored and served from.";
- };
-
- # TODO: this will probably need to be better customizable
- extraConfig =
- let httpd-conf = pkgs.runCommand "foswiki-httpd.conf"
- { preferLocalBuild = true; }
- ''
- substitute '${foswiki}/foswiki_httpd_conf.txt' "$out" \
- --replace /var/www/foswiki/ "${vardir}/"
- '';
- in
- ''
- RewriteEngine on
- RewriteRule /foswiki/(.*) ${vardir}/$1
-
-
- Require all granted
-
-
- Include ${httpd-conf}
-
- Options FollowSymlinks
-
- '';
-
- /** This handles initial setup and updates.
- It will probably need some tweaking, maybe per-site. */
- startupScript = pkgs.writeScript "foswiki_startup.sh" (
- let storeLink = "${vardir}/package"; in
- ''
- [ -e '${storeLink}' ] || needs_setup=1
- mkdir -p '${vardir}'
- cd '${vardir}'
- ln -sf -T '${foswiki}' '${storeLink}'
-
- if [ -n "$needs_setup" ]; then # do initial setup
- mkdir -p bin lib
- # setup most of data/ as copies only
- cp -r '${foswiki}'/data '${vardir}/'
- rm -r '${vardir}'/data/{System,mime.types}
- ln -sr -t '${vardir}/data/' '${storeLink}'/data/{System,mime.types}
-
- ln -sr '${storeLink}/locale' .
-
- mkdir pub
- ln -sr '${storeLink}/pub/System' pub/
-
- mkdir templates
- ln -sr '${storeLink}'/templates/* templates/
-
- ln -sr '${storeLink}/tools' .
-
- mkdir -p '${vardir}'/working/{logs,tmp}
- ln -sr '${storeLink}/working/README' working/ # used to check dir validity
-
- chown -R '${user}:${group}' .
- chmod +w -R .
- fi
-
- # bin/* and lib/* shall always be overwritten, in case files are added
- ln -srf '${storeLink}'/bin/* '${vardir}/bin/'
- ln -srf '${storeLink}'/lib/* '${vardir}/lib/'
- ''
- /* Symlinking bin/ one-by-one ensures that ${vardir}/lib/LocalSite.cfg
- is used instead of ${foswiki}/... */
- );
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/limesurvey.nix b/nixos/modules/services/web-servers/apache-httpd/limesurvey.nix
deleted file mode 100644
index 5c387700a5d..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/limesurvey.nix
+++ /dev/null
@@ -1,196 +0,0 @@
-{ config, lib, pkgs, serverInfo, ... }:
-
-with lib;
-
-let
-
- httpd = serverInfo.serverConfig.package;
-
- version24 = !versionOlder httpd.version "2.4";
-
- allGranted = if version24 then ''
- Require all granted
- '' else ''
- Order allow,deny
- Allow from all
- '';
-
- limesurveyConfig = pkgs.writeText "config.php" ''
-
- '';
-
- limesurveyRoot = "${pkgs.limesurvey}/share/limesurvey/";
-
-in rec {
-
- extraConfig = ''
- Alias ${config.urlPrefix}/tmp ${config.dataDir}/tmp
-
-
- ${allGranted}
- Options -Indexes +FollowSymlinks
-
-
- Alias ${config.urlPrefix}/upload ${config.dataDir}/upload
-
-
- ${allGranted}
- Options -Indexes
-
-
- ${if config.urlPrefix != "" then ''
- Alias ${config.urlPrefix} ${limesurveyRoot}
- '' else ''
- RewriteEngine On
- RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
- RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
- ''}
-
-
- DirectoryIndex index.php
-
- '';
-
- globalEnvVars = [
- { name = "LIMESURVEY_CONFIG"; value = limesurveyConfig; }
- ];
-
- documentRoot = if config.urlPrefix == "" then limesurveyRoot else null;
-
- enablePHP = true;
-
- options = {
-
- id = mkOption {
- default = "main";
- description = ''
- A unique identifier necessary to keep multiple Limesurvey server
- instances on the same machine apart. This is used to
- disambiguate the administrative scripts, which get names like
- mediawiki-$id-change-password.
- '';
- };
-
- urlPrefix = mkOption {
- default = "";
- description = "Url prefix for site.";
- type = types.str;
- };
-
- dbType = mkOption {
- default = "pgsql";
- description = "Type of database for limesurvey, for now, only pgsql.";
- type = types.enum ["pgsql"];
- };
-
- dbName = mkOption {
- default = "limesurvey";
- description = "Name of the database that holds the limesurvey data.";
- type = types.str;
- };
-
- dbHost = mkOption {
- default = "localhost";
- description = "Limesurvey database host.";
- type = types.str;
- };
-
- dbPort = mkOption {
- default = 5432;
- description = "Limesurvey database port.";
- type = types.int;
- };
-
- dbUser = mkOption {
- default = "limesurvey";
- description = "Limesurvey database user.";
- type = types.str;
- };
-
- dbPassword = mkOption {
- example = "foobar";
- description = "Limesurvey database password.";
- type = types.str;
- };
-
- adminUser = mkOption {
- description = "Limesurvey admin username.";
- default = "admin";
- type = types.str;
- };
-
- adminPassword = mkOption {
- description = "Default limesurvey admin password.";
- default = "admin";
- type = types.str;
- };
-
- adminEmail = mkOption {
- description = "Limesurvey admin email.";
- default = "admin@admin.com";
- type = types.str;
- };
-
- forceSSL = mkOption {
- default = false;
- description = "Force use of HTTPS connection.";
- type = types.bool;
- };
-
- siteName = mkOption {
- default = "LimeSurvey";
- description = "LimeSurvey name of the site.";
- type = types.str;
- };
-
- defaultLang = mkOption {
- default = "en";
- description = "LimeSurvey default language.";
- type = types.str;
- };
-
- dataDir = mkOption {
- default = "/var/lib/limesurvey";
- description = "LimeSurvey data directory.";
- type = types.path;
- };
- };
-
- startupScript = pkgs.writeScript "limesurvey_startup.sh" ''
- if [ ! -f ${config.dataDir}/.created ]; then
- mkdir -p ${config.dataDir}/{tmp/runtime,tmp/assets,tmp/upload,upload}
- chmod -R ug+rw ${config.dataDir}
- chmod -R o-rwx ${config.dataDir}
- chown -R wwwrun:wwwrun ${config.dataDir}
-
- ${pkgs.postgresql}/bin/createuser --no-superuser --no-createdb --no-createrole "${config.dbUser}" || true
- ${pkgs.postgresql}/bin/createdb "${config.dbName}" -O "${config.dbUser}" || true
- ${pkgs.sudo}/bin/sudo -u postgres ${pkgs.postgresql}/bin/psql -U postgres -d postgres -c "alter user ${config.dbUser} with password '${config.dbPassword}';" || true
-
- ${pkgs.limesurvey}/bin/limesurvey-console install '${config.adminUser}' '${config.adminPassword}' '${config.adminUser}' '${config.adminEmail}'
-
- touch ${config.dataDir}/.created
- fi
- '';
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix b/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
deleted file mode 100644
index 6234478014c..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/mediawiki.nix
+++ /dev/null
@@ -1,349 +0,0 @@
-{ config, lib, pkgs, serverInfo, php, ... }:
-
-with lib;
-
-let
-
- httpd = serverInfo.serverConfig.package;
-
- version24 = !versionOlder httpd.version "2.4";
-
- allGranted = if version24 then ''
- Require all granted
- '' else ''
- Order allow,deny
- Allow from all
- '';
-
- mediawikiConfig = pkgs.writeText "LocalSettings.php"
- ''
-
- '';
-
- # Unpack Mediawiki and put the config file in its root directory.
- mediawikiRoot = pkgs.stdenv.mkDerivation rec {
- name= "mediawiki-1.31.1";
-
- src = pkgs.fetchurl {
- url = "https://releases.wikimedia.org/mediawiki/1.31/${name}.tar.gz";
- sha256 = "13x48clij21cmysjkpnx68vggchrdasqp7b290j87xlfgjhdhnnf";
- };
-
- skins = config.skins;
- extensions = config.extensions;
-
- buildPhase =
- ''
- for skin in $skins; do
- cp -prvd $skin/* skins/
- done
- for extension in $extensions; do
- cp -prvd $extension/* extensions/
- done
- ''; # */
-
- installPhase =
- ''
- mkdir -p $out
- cp -r * $out
- cp ${mediawikiConfig} $out/LocalSettings.php
- sed -i \
- -e 's|/bin/bash|${pkgs.bash}/bin/bash|g' \
- -e 's|/usr/bin/timeout|${pkgs.coreutils}/bin/timeout|g' \
- $out/includes/shell/limit.sh \
- $out/includes/GlobalFunctions.php
- '';
- };
-
- mediawikiScripts = pkgs.runCommand "mediawiki-${config.id}-scripts" {
- buildInputs = [ pkgs.makeWrapper ];
- preferLocalBuild = true;
- } ''
- mkdir -p $out/bin
- for i in changePassword.php createAndPromote.php userOptions.php edit.php nukePage.php update.php; do
- makeWrapper ${php}/bin/php $out/bin/mediawiki-${config.id}-$(basename $i .php) \
- --add-flags ${mediawikiRoot}/maintenance/$i
- done
- '';
-
-in
-
-{
-
- extraConfig =
- ''
- ${optionalString config.enableUploads ''
- Alias ${config.urlPrefix}/images ${config.uploadDir}
-
-
- ${allGranted}
- Options -Indexes
-
- ''}
-
- ${if config.urlPrefix != "" then "Alias ${config.urlPrefix} ${mediawikiRoot}" else ''
- RewriteEngine On
- RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
- RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
- ${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedDirs}
- ${concatMapStringsSep "\n" (u: "RewriteCond %{REQUEST_URI} !^${u.urlPath}") serverInfo.vhostConfig.servedFiles}
- RewriteRule ${if config.enableUploads
- then "!^/images"
- else "^.*\$"
- } %{DOCUMENT_ROOT}/${if config.articleUrlPrefix == ""
- then ""
- else "${config.articleUrlPrefix}/"
- }index.php [L]
- ''}
-
-
- ${allGranted}
- DirectoryIndex index.php
-
-
- ${optionalString (config.articleUrlPrefix != "") ''
- Alias ${config.articleUrlPrefix} ${mediawikiRoot}/index.php
- ''}
- '';
-
- documentRoot = if config.urlPrefix == "" then mediawikiRoot else null;
-
- enablePHP = true;
-
- options = {
-
- id = mkOption {
- default = "main";
- description = ''
- A unique identifier necessary to keep multiple MediaWiki server
- instances on the same machine apart. This is used to
- disambiguate the administrative scripts, which get names like
- mediawiki-$id-change-password.
- '';
- };
-
- dbType = mkOption {
- default = "postgres";
- example = "mysql";
- description = "Database type.";
- };
-
- dbName = mkOption {
- default = "mediawiki";
- description = "Name of the database that holds the MediaWiki data.";
- };
-
- dbServer = mkOption {
- default = ""; # use a Unix domain socket
- example = "10.0.2.2";
- description = ''
- The location of the database server. Leave empty to use a
- database server running on the same machine through a Unix
- domain socket.
- '';
- };
-
- dbUser = mkOption {
- default = "mediawiki";
- description = "The user name for accessing the database.";
- };
-
- dbPassword = mkOption {
- default = "";
- example = "foobar";
- description = ''
- The password of the database user. Warning: this is stored in
- cleartext in the Nix store!
- '';
- };
-
- emergencyContact = mkOption {
- default = serverInfo.serverConfig.adminAddr;
- example = "admin@example.com";
- description = ''
- Emergency contact e-mail address. Defaults to the Apache
- admin address.
- '';
- };
-
- passwordSender = mkOption {
- default = serverInfo.serverConfig.adminAddr;
- example = "password@example.com";
- description = ''
- E-mail address from which password confirmations originate.
- Defaults to the Apache admin address.
- '';
- };
-
- siteName = mkOption {
- default = "MediaWiki";
- example = "Foobar Wiki";
- description = "Name of the wiki";
- };
-
- logo = mkOption {
- default = "";
- example = "/images/logo.png";
- description = "The URL of the site's logo (which should be a 135x135px image).";
- };
-
- urlPrefix = mkOption {
- default = "/w";
- description = ''
- The URL prefix under which the Mediawiki service appears.
- '';
- };
-
- articleUrlPrefix = mkOption {
- default = "/wiki";
- example = "";
- description = ''
- The URL prefix under which article pages appear,
- e.g. http://server/wiki/Page. Leave empty to use the main URL
- prefix, e.g. http://server/w/index.php?title=Page.
- '';
- };
-
- enableUploads = mkOption {
- default = false;
- description = "Whether to enable file uploads.";
- };
-
- uploadDir = mkOption {
- default = throw "You must specify `uploadDir'.";
- example = "/data/mediawiki-upload";
- description = "The directory that stores uploaded files.";
- };
-
- defaultSkin = mkOption {
- default = "";
- example = "nostalgia";
- description = "Set this value to change the default skin used by MediaWiki.";
- };
-
- skins = mkOption {
- default = [];
- type = types.listOf types.path;
- description =
- ''
- List of paths whose content is copied to the ‘skins’
- subdirectory of the MediaWiki installation.
- '';
- };
-
- extensions = mkOption {
- default = [];
- type = types.listOf types.path;
- description =
- ''
- List of paths whose content is copied to the 'extensions'
- subdirectory of the MediaWiki installation.
- '';
- };
-
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- example =
- ''
- $wgEnableEmail = false;
- '';
- description = ''
- Any additional text to be appended to MediaWiki's
- configuration file. This is a PHP script. For configuration
- settings, see .
- '';
- };
-
- };
-
- extraPath = [ mediawikiScripts ];
-
- # !!! Need to specify that Apache has a dependency on PostgreSQL!
-
- startupScript = pkgs.writeScript "mediawiki_startup.sh"
- # Initialise the database automagically if we're using a Postgres
- # server on localhost.
- (optionalString (config.dbType == "postgres" && config.dbServer == "") ''
- if ! ${pkgs.postgresql}/bin/psql -l | grep -q ' ${config.dbName} ' ; then
- ${pkgs.postgresql}/bin/createuser --no-superuser --no-createdb --no-createrole "${config.dbUser}" || true
- ${pkgs.postgresql}/bin/createdb "${config.dbName}" -O "${config.dbUser}"
- ( echo 'CREATE LANGUAGE plpgsql;'
- cat ${mediawikiRoot}/maintenance/postgres/tables.sql
- echo 'CREATE TEXT SEARCH CONFIGURATION public.default ( COPY = pg_catalog.english );'
- echo COMMIT
- ) | ${pkgs.postgresql}/bin/psql -U "${config.dbUser}" "${config.dbName}"
- fi
- ${php}/bin/php ${mediawikiRoot}/maintenance/update.php
- '');
-
- robotsEntries = optionalString (config.articleUrlPrefix != "")
- ''
- User-agent: *
- Disallow: ${config.urlPrefix}/
- Disallow: ${config.articleUrlPrefix}/Special:Search
- Disallow: ${config.articleUrlPrefix}/Special:Random
- '';
-
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/mercurial.nix b/nixos/modules/services/web-servers/apache-httpd/mercurial.nix
deleted file mode 100644
index 4b8ee2b17ea..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/mercurial.nix
+++ /dev/null
@@ -1,75 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-let
- inherit (pkgs) mercurial;
- inherit (lib) mkOption;
-
- urlPrefix = config.urlPrefix;
-
- cgi = pkgs.stdenv.mkDerivation {
- name = "mercurial-cgi";
- buildCommand = ''
- mkdir -p $out
- cp -v ${mercurial}/share/cgi-bin/hgweb.cgi $out
- sed -i "s|/path/to/repo/or/config|$out/hgweb.config|" $out/hgweb.cgi
- echo "
- [collections]
- ${config.dataDir} = ${config.dataDir}
- [web]
- style = gitweb
- allow_push = *
- " > $out/hgweb.config
- '';
- };
-
-in {
-
- extraConfig = ''
- RewriteEngine on
- RewriteRule /(.*) ${cgi}/hgweb.cgi/$1
-
-
- AuthType Basic
- AuthName "Mercurial repositories"
- AuthUserFile ${config.dataDir}/hgusers
-
- Require valid-user
-
-
-
- Order allow,deny
- Allow from all
- AllowOverride All
- Options ExecCGI
- AddHandler cgi-script .cgi
- PassEnv PYTHONPATH
-
- '';
-
- robotsEntries = ''
- User-agent: *
- Disallow: ${urlPrefix}
- '';
-
- extraServerPath = [ pkgs.python ];
-
- globalEnvVars = [ { name = "PYTHONPATH"; value = "${mercurial}/lib/${pkgs.python.libPrefix}/site-packages"; } ];
-
- options = {
- urlPrefix = mkOption {
- default = "/hg";
- description = "
- The URL prefix under which the Mercurial service appears.
- Use the empty string to have it appear in the server root.
- ";
- };
-
- dataDir = mkOption {
- example = "/data/mercurial";
- description = "
- Path to the directory that holds the repositories.
- ";
- };
- };
-
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/per-server-options.nix b/nixos/modules/services/web-servers/apache-httpd/per-server-options.nix
index 4bbd041b6e0..9d747549c27 100644
--- a/nixos/modules/services/web-servers/apache-httpd/per-server-options.nix
+++ b/nixos/modules/services/web-servers/apache-httpd/per-server-options.nix
@@ -24,14 +24,6 @@ with lib;
'';
};
- port = mkOption {
- type = types.int;
- default = 0;
- description = ''
- Port for the server. Option will be removed, use instead.
- '';
- };
-
listen = mkOption {
type = types.listOf (types.submodule (
{
@@ -41,7 +33,7 @@ with lib;
description = "port to listen on";
};
ip = mkOption {
- type = types.string;
+ type = types.str;
default = "*";
description = "Ip to listen on. 0.0.0.0 for ipv4 only, * for all.";
};
diff --git a/nixos/modules/services/web-servers/apache-httpd/phabricator.nix b/nixos/modules/services/web-servers/apache-httpd/phabricator.nix
deleted file mode 100644
index efd4a7b5f0f..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/phabricator.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-let
- phabricatorRoot = pkgs.phabricator;
-in {
-
- enablePHP = true;
- extraApacheModules = [ "mod_rewrite" ];
- DocumentRoot = "${phabricatorRoot}/phabricator/webroot";
-
- options = {
- git = mkOption {
- default = true;
- description = "Enable git repositories.";
- };
- mercurial = mkOption {
- default = true;
- description = "Enable mercurial repositories.";
- };
- subversion = mkOption {
- default = true;
- description = "Enable subversion repositories.";
- };
- };
-
- extraConfig = ''
- DocumentRoot ${phabricatorRoot}/phabricator/webroot
-
- RewriteEngine on
- RewriteRule ^/rsrc/(.*) - [L,QSA]
- RewriteRule ^/favicon.ico - [L,QSA]
- RewriteRule ^(.*)$ /index.php?__path__=$1 [B,L,QSA]
- '';
-
- extraServerPath = [
- "${pkgs.which}"
- "${pkgs.diffutils}"
- ] ++
- (if config.mercurial then ["${pkgs.mercurial}"] else []) ++
- (if config.subversion then ["${pkgs.subversion.out}"] else []) ++
- (if config.git then ["${pkgs.git}"] else []);
-
- startupScript = pkgs.writeScript "activatePhabricator" ''
- mkdir -p /var/repo
- chown wwwrun /var/repo
- '';
-
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix b/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
deleted file mode 100644
index a883bb2b343..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/tomcat-connector.nix
+++ /dev/null
@@ -1,103 +0,0 @@
-{ config, pkgs, serverInfo, lib, ... }:
-
-let
- extraWorkersProperties = lib.optionalString (config ? extraWorkersProperties) config.extraWorkersProperties;
-
- workersProperties = pkgs.writeText "workers.properties" ''
-# Define list of workers that will be used
-# for mapping requests
-# The configuration directives are valid
-# for the mod_jk version 1.2.18 and later
-#
-worker.list=loadbalancer,status
-
-# Define Node1
-# modify the host as your host IP or DNS name.
-worker.node1.port=8009
-worker.node1.host=localhost
-worker.node1.type=ajp13
-worker.node1.lbfactor=1
-
-# Load-balancing behaviour
-worker.loadbalancer.type=lb
-worker.loadbalancer.balance_workers=node1
-
-# Status worker for managing load balancer
-worker.status.type=status
-
-${extraWorkersProperties}
- '';
-in
-{
-
- options = {
- extraWorkersProperties = lib.mkOption {
- default = "";
- description = "Additional configuration for the workers.properties file.";
- };
- };
-
- extraModules = [
- { name = "jk"; path = "${pkgs.tomcat_connectors}/modules/mod_jk.so"; }
- ];
-
- extraConfig = ''
-# Where to find workers.properties
-JkWorkersFile ${workersProperties}
-
-# Where to put jk logs
-JkLogFile ${serverInfo.serverConfig.logDir}/mod_jk.log
-
-# Set the jk log level [debug/error/info]
-JkLogLevel info
-
-# Select the log format
-JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
-
-# JkOptions indicates to send SSK KEY SIZE
-# Note: Changed from +ForwardURICompat.
-# See http://tomcat.apache.org/security-jk.html
-JkOptions +ForwardKeySize +ForwardURICompatUnparsed -ForwardDirectories
-
-# JkRequestLogFormat
-JkRequestLogFormat "%w %V %T"
-
-# Mount your applications
-JkMount /__application__/* loadbalancer
-
-# You can use external file for mount points.
-# It will be checked for updates each 60 seconds.
-# The format of the file is: /url=worker
-# /examples/*=loadbalancer
-#JkMountFile uriworkermap.properties
-
-# Add shared memory.
-# This directive is present with 1.2.10 and
-# later versions of mod_jk, and is needed for
-# for load balancing to work properly
-# Note: Replaced JkShmFile logs/jk.shm due to SELinux issues. Refer to
-# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225452
-JkShmFile ${serverInfo.serverConfig.stateDir}/jk.shm
-
-# Static files in all Tomcat webapp context directories are served by apache
-JkAutoAlias /var/tomcat/webapps
-
-# All requests go to worker by default
-JkMount /* loadbalancer
-# Serve some static files using httpd
-#JkUnMount /*.html loadbalancer
-#JkUnMount /*.jpg loadbalancer
-#JkUnMount /*.gif loadbalancer
-#JkUnMount /*.css loadbalancer
-#JkUnMount /*.png loadbalancer
-#JkUnMount /*.js loadbalancer
-
-# Add jkstatus for managing runtime data
-
-JkMount status
-Order deny,allow
-Deny from all
-Allow from 127.0.0.1
-
- '';
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/trac.nix b/nixos/modules/services/web-servers/apache-httpd/trac.nix
deleted file mode 100644
index 28b411a64b6..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/trac.nix
+++ /dev/null
@@ -1,121 +0,0 @@
-{ config, lib, pkgs, serverInfo, ... }:
-
-with lib;
-
-let
-
- # Build a Subversion instance with Apache modules and Swig/Python bindings.
- subversion = pkgs.subversion.override {
- bdbSupport = true;
- httpServer = true;
- pythonBindings = true;
- apacheHttpd = httpd;
- };
-
- httpd = serverInfo.serverConfig.package;
-
- versionPre24 = versionOlder httpd.version "2.4";
-
-in
-
-{
-
- options = {
-
- projectsLocation = mkOption {
- description = "URL path in which Trac projects can be accessed";
- default = "/projects";
- };
-
- projects = mkOption {
- description = "List of projects that should be provided by Trac. If they are not defined yet empty projects are created.";
- default = [];
- example =
- [ { identifier = "myproject";
- name = "My Project";
- databaseURL="postgres://root:password@/tracdb";
- subversionRepository="/data/subversion/myproject";
- }
- ];
- };
-
- user = mkOption {
- default = "wwwrun";
- description = "User account under which Trac runs.";
- };
-
- group = mkOption {
- default = "wwwrun";
- description = "Group under which Trac runs.";
- };
-
- ldapAuthentication = {
- enable = mkOption {
- default = false;
- description = "Enable the ldap authentication in trac";
- };
-
- url = mkOption {
- default = "ldap://127.0.0.1/dc=example,dc=co,dc=ke?uid?sub?(objectClass=inetOrgPerson)";
- description = "URL of the LDAP authentication";
- };
-
- name = mkOption {
- default = "Trac server";
- description = "AuthName";
- };
- };
-
- };
-
- extraModules = singleton
- { name = "python"; path = "${pkgs.mod_python}/modules/mod_python.so"; };
-
- extraConfig = ''
-
- SetHandler mod_python
- PythonHandler trac.web.modpython_frontend
- PythonOption TracEnvParentDir /var/trac/projects
- PythonOption TracUriRoot ${config.projectsLocation}
- PythonOption PYTHON_EGG_CACHE /var/trac/egg-cache
-
- ${if config.ldapAuthentication.enable then ''
-
- AuthType Basic
- AuthName "${config.ldapAuthentication.name}"
- AuthBasicProvider "ldap"
- AuthLDAPURL "${config.ldapAuthentication.url}"
- ${if versionPre24 then "authzldapauthoritative Off" else ""}
- require valid-user
-
- '' else ""}
- '';
-
- globalEnvVars = singleton
- { name = "PYTHONPATH";
- value =
- makeSearchPathOutput "lib" "lib/${pkgs.python.libPrefix}/site-packages"
- [ pkgs.mod_python
- pkgs.pythonPackages.trac
- pkgs.pythonPackages.setuptools
- pkgs.pythonPackages.genshi
- pkgs.pythonPackages.psycopg2
- subversion
- ];
- };
-
- startupScript = pkgs.writeScript "activateTrac" ''
- mkdir -p /var/trac
- chown ${config.user}:${config.group} /var/trac
-
- ${concatMapStrings (project:
- ''
- if [ ! -d /var/trac/${project.identifier} ]
- then
- export PYTHONPATH=${pkgs.pythonPackages.psycopg2}/lib/${pkgs.python.libPrefix}/site-packages
- ${pkgs.pythonPackages.trac}/bin/trac-admin /var/trac/${project.identifier} initenv "${project.name}" "${project.databaseURL}" svn "${project.subversionRepository}"
- fi
- '' ) (config.projects)}
- '';
-
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/wordpress.nix b/nixos/modules/services/web-servers/apache-httpd/wordpress.nix
deleted file mode 100644
index c68bfd25f6a..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/wordpress.nix
+++ /dev/null
@@ -1,285 +0,0 @@
-{ config, lib, pkgs, serverInfo, ... }:
-# http://codex.wordpress.org/Hardening_WordPress
-
-with lib;
-
-let
- # Our bare-bones wp-config.php file using the above settings
- wordpressConfig = pkgs.writeText "wp-config.php" ''
-
- RewriteEngine On
- RewriteBase /
- RewriteRule ^index\.php$ - [L]
-
- # add a trailing slash to /wp-admin
- RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
-
- RewriteCond %{REQUEST_FILENAME} -f [OR]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule ^ - [L]
- RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
- RewriteRule ^(.*\.php)$ $1 [L]
- RewriteRule . index.php [L]
-
-
- ${config.extraHtaccess}
- '';
-
- # WP translation can be found here:
- # https://github.com/nixcloud/wordpress-translations
- supportedLanguages = {
- en_GB = { revision="d6c005372a5318fd758b710b77a800c86518be13"; sha256="0qbbsi87k47q4rgczxx541xz4z4f4fr49hw4lnaxkdsf5maz8p9p"; };
- de_DE = { revision="3c62955c27baaae98fd99feb35593d46562f4736"; sha256="1shndgd11dk836dakrjlg2arwv08vqx6j4xjh4jshvwmjab6ng6p"; };
- zh_ZN = { revision="12b9f811e8cae4b6ee41de343d35deb0a8fdda6d"; sha256="1339ggsxh0g6lab37jmfxicsax4h702rc3fsvv5azs7mcznvwh47"; };
- fr_FR = { revision="688c8b1543e3d38d9e8f57e0a6f2a2c3c8b588bd"; sha256="1j41iak0i6k7a4wzyav0yrllkdjjskvs45w53db8vfm8phq1n014"; };
- };
-
- downloadLanguagePack = language: revision: sha256s:
- pkgs.stdenv.mkDerivation rec {
- name = "wp_${language}";
- src = pkgs.fetchFromGitHub {
- owner = "nixcloud";
- repo = "wordpress-translations";
- rev = revision;
- sha256 = sha256s;
- };
- installPhase = "mkdir -p $out; cp -R * $out/";
- };
-
- selectedLanguages = map (lang: downloadLanguagePack lang supportedLanguages.${lang}.revision supportedLanguages.${lang}.sha256) (config.languages);
-
- # The wordpress package itself
- wordpressRoot = pkgs.stdenv.mkDerivation rec {
- name = "wordpress";
- src = config.package;
- installPhase = ''
- mkdir -p $out
- # copy all the wordpress files we downloaded
- cp -R * $out/
-
- # symlink the wordpress config
- ln -s ${wordpressConfig} $out/wp-config.php
- # symlink custom .htaccess
- ln -s ${htaccess} $out/.htaccess
- # symlink uploads directory
- ln -s ${config.wordpressUploads} $out/wp-content/uploads
-
- # remove bundled plugins(s) coming with wordpress
- rm -Rf $out/wp-content/plugins/*
- # remove bundled themes(s) coming with wordpress
- rm -Rf $out/wp-content/themes/*
-
- # copy additional theme(s)
- ${concatMapStrings (theme: "cp -r ${theme} $out/wp-content/themes/${theme.name}\n") config.themes}
- # copy additional plugin(s)
- ${concatMapStrings (plugin: "cp -r ${plugin} $out/wp-content/plugins/${plugin.name}\n") (config.plugins) }
-
- # symlink additional translation(s)
- mkdir -p $out/wp-content/languages
- ${concatMapStrings (language: "ln -s ${language}/*.mo ${language}/*.po $out/wp-content/languages/\n") (selectedLanguages) }
- '';
- };
-
-in
-
-{
-
- # And some httpd extraConfig to make things work nicely
- extraConfig = ''
-
- DirectoryIndex index.php
- Allow from *
- Options FollowSymLinks
- AllowOverride All
-
- '';
-
- enablePHP = true;
-
- options = {
- package = mkOption {
- type = types.path;
- default = pkgs.wordpress;
- description = ''
- Path to the wordpress sources.
- Upgrading? We have a test! nix-build ./nixos/tests/wordpress.nix
- '';
- };
- dbHost = mkOption {
- default = "localhost";
- description = "The location of the database server.";
- example = "localhost";
- };
- dbName = mkOption {
- default = "wordpress";
- description = "Name of the database that holds the Wordpress data.";
- example = "localhost";
- };
- dbUser = mkOption {
- default = "wordpress";
- description = "The dbUser, read: the username, for the database.";
- example = "wordpress";
- };
- dbPassword = mkOption {
- default = "wordpress";
- description = ''
- The mysql password to the respective dbUser.
-
- Warning: this password is stored in the world-readable Nix store. It's
- recommended to use the $dbPasswordFile option since that gives you control over
- the security of the password. $dbPasswordFile also takes precedence over $dbPassword.
- '';
- example = "wordpress";
- };
- dbPasswordFile = mkOption {
- type = types.str;
- default = toString (pkgs.writeTextFile {
- name = "wordpress-dbpassword";
- text = config.dbPassword;
- });
- example = "/run/keys/wordpress-dbpassword";
- description = ''
- Path to a file that contains the mysql password to the respective dbUser.
- The file should be readable by the user: config.services.httpd.user.
-
- $dbPasswordFile takes precedence over the $dbPassword option.
-
- This defaults to a file in the world-readable Nix store that contains the value
- of the $dbPassword option. It's recommended to override this with a path not in
- the Nix store. Tip: use nixops key management:
-
- '';
- };
- tablePrefix = mkOption {
- default = "wp_";
- description = ''
- The $table_prefix is the value placed in the front of your database tables. Change the value if you want to use something other than wp_ for your database prefix. Typically this is changed if you are installing multiple WordPress blogs in the same database. See .
- '';
- };
- wordpressUploads = mkOption {
- default = "/data/uploads";
- description = ''
- This directory is used for uploads of pictures and must be accessible (read: owned) by the httpd running user. The directory passed here is automatically created and permissions are given to the httpd running user.
- '';
- };
- plugins = mkOption {
- default = [];
- type = types.listOf types.path;
- description =
- ''
- List of path(s) to respective plugin(s) which are symlinked from the 'plugins' directory. Note: These plugins need to be packaged before use, see example.
- '';
- example = ''
- # Wordpress plugin 'akismet' installation example
- akismetPlugin = pkgs.stdenv.mkDerivation {
- name = "akismet-plugin";
- # Download the theme from the wordpress site
- src = pkgs.fetchurl {
- url = https://downloads.wordpress.org/plugin/akismet.3.1.zip;
- sha256 = "1i4k7qyzna08822ncaz5l00wwxkwcdg4j9h3z2g0ay23q640pclg";
- };
- # We need unzip to build this package
- buildInputs = [ pkgs.unzip ];
- # Installing simply means copying all files to the output directory
- installPhase = "mkdir -p $out; cp -R * $out/";
- };
-
- And then pass this theme to the themes list like this:
- plugins = [ akismetPlugin ];
- '';
- };
- themes = mkOption {
- default = [];
- type = types.listOf types.path;
- description =
- ''
- List of path(s) to respective theme(s) which are symlinked from the 'theme' directory. Note: These themes need to be packaged before use, see example.
- '';
- example = ''
- # For shits and giggles, let's package the responsive theme
- responsiveTheme = pkgs.stdenv.mkDerivation {
- name = "responsive-theme";
- # Download the theme from the wordpress site
- src = pkgs.fetchurl {
- url = http://wordpress.org/themes/download/responsive.1.9.7.6.zip;
- sha256 = "06i26xlc5kdnx903b1gfvnysx49fb4kh4pixn89qii3a30fgd8r8";
- };
- # We need unzip to build this package
- buildInputs = [ pkgs.unzip ];
- # Installing simply means copying all files to the output directory
- installPhase = "mkdir -p $out; cp -R * $out/";
- };
-
- And then pass this theme to the themes list like this:
- themes = [ responsiveTheme ];
- '';
- };
- languages = mkOption {
- default = [];
- description = "Installs wordpress language packs based on the list, see wordpress.nix for possible translations.";
- example = "[ \"en_GB\" \"de_DE\" ];";
- };
- extraConfig = mkOption {
- type = types.lines;
- default = "";
- example =
- ''
- define( 'AUTOSAVE_INTERVAL', 60 ); // Seconds
- '';
- description = ''
- Any additional text to be appended to Wordpress's wp-config.php
- configuration file. This is a PHP script. For configuration
- settings, see .
- '';
- };
- extraHtaccess = mkOption {
- default = "";
- example =
- ''
- php_value upload_max_filesize 20M
- php_value post_max_size 20M
- '';
- description = ''
- Any additional text to be appended to Wordpress's .htaccess file.
- '';
- };
- };
-
- documentRoot = wordpressRoot;
-
- # FIXME adding the user has to be done manually for the time being
- startupScript = pkgs.writeScript "init-wordpress.sh" ''
- #!/bin/sh
- mkdir -p ${config.wordpressUploads}
- chown ${serverInfo.serverConfig.user} ${config.wordpressUploads}
-
- # we should use systemd dependencies here
- if [ ! -d ${serverInfo.fullConfig.services.mysql.dataDir}/${config.dbName} ]; then
- echo "Need to create the database '${config.dbName}' and grant permissions to user named '${config.dbUser}'."
- # Wait until MySQL is up
- while [ ! -e ${serverInfo.fullConfig.services.mysql.pidDir}/mysqld.pid ]; do
- sleep 1
- done
- ${pkgs.mysql}/bin/mysql -e 'CREATE DATABASE ${config.dbName};'
- ${pkgs.mysql}/bin/mysql -e "GRANT ALL ON ${config.dbName}.* TO ${config.dbUser}@localhost IDENTIFIED BY \"$(cat ${config.dbPasswordFile})\";"
- else
- echo "Good, no need to do anything database related."
- fi
- '';
-}
diff --git a/nixos/modules/services/web-servers/apache-httpd/zabbix.nix b/nixos/modules/services/web-servers/apache-httpd/zabbix.nix
deleted file mode 100644
index cab16593bcb..00000000000
--- a/nixos/modules/services/web-servers/apache-httpd/zabbix.nix
+++ /dev/null
@@ -1,84 +0,0 @@
-{ config, lib, pkgs, serverInfo, ... }:
-
-with lib;
-
-let
-
- # The Zabbix PHP frontend needs to be able to write its
- # configuration settings (the connection info to the database) to
- # the "conf" subdirectory. So symlink $out/conf to some directory
- # outside of the Nix store where we want to keep this stateful info.
- # Note that different instances of the frontend will therefore end
- # up with their own copies of the PHP sources. !!! Alternatively,
- # we could generate zabbix.conf.php declaratively.
- zabbixPHP = pkgs.runCommand "${pkgs.zabbix.server.name}-php" {}
- ''
- cp -rs ${pkgs.zabbix.server}/share/zabbix/php "$out"
- chmod -R u+w $out
- ln -s "${if config.configFile == null
- then "${config.stateDir}/zabbix.conf.php"
- else config.configFile}" "$out/conf/zabbix.conf.php"
- '';
-
-in
-
-{
-
- enablePHP = true;
-
- phpOptions =
- ''
- post_max_size = 32M
- max_execution_time = 300
- max_input_time = 300
- '';
-
- extraConfig = ''
- Alias ${config.urlPrefix}/ ${zabbixPHP}/
-
-
- DirectoryIndex index.php
- Order deny,allow
- Allow from *
-
- '';
-
- startupScript = pkgs.writeScript "zabbix-startup-hook" ''
- mkdir -p ${config.stateDir}
- chown -R ${serverInfo.serverConfig.user} ${config.stateDir}
- '';
-
- # The frontend needs "ps" to find out whether zabbix_server is running.
- extraServerPath = [ pkgs.procps ];
-
- options = {
-
- urlPrefix = mkOption {
- default = "/zabbix";
- description = "
- The URL prefix under which the Zabbix service appears.
- Use the empty string to have it appear in the server root.
- ";
- };
-
- configFile = mkOption {
- default = null;
- type = types.nullOr types.path;
- description = ''
- The configuration file (zabbix.conf.php) which contains the database
- connection settings. If not set, the configuration settings will created
- by the web installer.
- '';
- };
-
- stateDir = mkOption {
- default = "/var/lib/zabbix/frontend";
- description = "
- Directory where the dynamically generated configuration data
- of the PHP frontend will be stored.
- ";
- };
-
- };
-
-}
diff --git a/nixos/modules/services/web-servers/caddy.nix b/nixos/modules/services/web-servers/caddy.nix
index d0b936cb019..132c50735d9 100644
--- a/nixos/modules/services/web-servers/caddy.nix
+++ b/nixos/modules/services/web-servers/caddy.nix
@@ -27,13 +27,13 @@ in {
ca = mkOption {
default = "https://acme-v02.api.letsencrypt.org/directory";
example = "https://acme-staging-v02.api.letsencrypt.org/directory";
- type = types.string;
+ type = types.str;
description = "Certificate authority ACME server. The default (Let's Encrypt production server) should be fine for most people.";
};
email = mkOption {
default = "";
- type = types.string;
+ type = types.str;
description = "Email address (for Let's Encrypt certificate)";
};
@@ -70,7 +70,7 @@ in {
{ CADDYPATH = cfg.dataDir; };
serviceConfig = {
ExecStart = ''
- ${cfg.package.bin}/bin/caddy -root=/var/tmp -conf=${configFile} \
+ ${cfg.package}/bin/caddy -root=/var/tmp -conf=${configFile} \
-ca=${cfg.ca} -email=${cfg.email} ${optionalString cfg.agree "-agree"}
'';
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
diff --git a/nixos/modules/services/web-servers/darkhttpd.nix b/nixos/modules/services/web-servers/darkhttpd.nix
new file mode 100644
index 00000000000..d6649fd472d
--- /dev/null
+++ b/nixos/modules/services/web-servers/darkhttpd.nix
@@ -0,0 +1,77 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.darkhttpd;
+
+ args = concatStringsSep " " ([
+ cfg.rootDir
+ "--port ${toString cfg.port}"
+ "--addr ${cfg.address}"
+ ] ++ cfg.extraArgs
+ ++ optional cfg.hideServerId "--no-server-id"
+ ++ optional config.networking.enableIPv6 "--ipv6");
+
+in {
+ options.services.darkhttpd = with types; {
+ enable = mkEnableOption "DarkHTTPd web server";
+
+ port = mkOption {
+ default = 80;
+ type = ints.u16;
+ description = ''
+ Port to listen on.
+ Pass 0 to let the system choose any free port for you.
+ '';
+ };
+
+ address = mkOption {
+ default = "127.0.0.1";
+ type = str;
+ description = ''
+ Address to listen on.
+ Pass `all` to listen on all interfaces.
+ '';
+ };
+
+ rootDir = mkOption {
+ type = path;
+ description = ''
+ Path from which to serve files.
+ '';
+ };
+
+ hideServerId = mkOption {
+ type = bool;
+ default = true;
+ description = ''
+ Don't identify the server type in headers or directory listings.
+ '';
+ };
+
+ extraArgs = mkOption {
+ type = listOf str;
+ default = [];
+ description = ''
+ Additional configuration passed to the executable.
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.services.darkhttpd = {
+ description = "Dark HTTPd";
+ wants = [ "network.target" ];
+ after = [ "network.target" ];
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ DynamicUser = true;
+ ExecStart = "${pkgs.darkhttpd}/bin/darkhttpd ${args}";
+ AmbientCapabilities = lib.mkIf (cfg.port < 1024) [ "CAP_NET_BIND_SERVICE" ];
+ Restart = "on-failure";
+ RestartSec = "2s";
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/web-servers/hydron.nix b/nixos/modules/services/web-servers/hydron.nix
index ed63230bc78..a4a5a435b2e 100644
--- a/nixos/modules/services/web-servers/hydron.nix
+++ b/nixos/modules/services/web-servers/hydron.nix
@@ -2,7 +2,6 @@
let
cfg = config.services.hydron;
- postgres = config.services.postgresql;
in with lib; {
options.services.hydron = {
enable = mkEnableOption "hydron";
@@ -81,40 +80,40 @@ in with lib; {
};
config = mkIf cfg.enable {
- security.sudo.enable = cfg.enable;
- services.postgresql.enable = cfg.enable;
services.hydron.passwordFile = mkDefault (pkgs.writeText "hydron-password-file" cfg.password);
services.hydron.postgresArgsFile = mkDefault (pkgs.writeText "hydron-postgres-args" cfg.postgresArgs);
services.hydron.postgresArgs = mkDefault ''
{
"driver": "postgres",
- "connection": "user=hydron password=${cfg.password} dbname=hydron sslmode=disable"
+ "connection": "user=hydron password=${cfg.password} host=/run/postgresql dbname=hydron sslmode=disable"
}
'';
+ services.postgresql = {
+ enable = true;
+ ensureDatabases = [ "hydron" ];
+ ensureUsers = [
+ { name = "hydron";
+ ensurePermissions = { "DATABASE hydron" = "ALL PRIVILEGES"; };
+ }
+ ];
+ };
+
+ systemd.tmpfiles.rules = [
+ "d '${cfg.dataDir}' 0750 hydron hydron - -"
+ "d '${cfg.dataDir}/.hydron' - hydron hydron - -"
+ "d '${cfg.dataDir}/images' - hydron hydron - -"
+ "Z '${cfg.dataDir}' - hydron hydron - -"
+
+ "L+ '${cfg.dataDir}/.hydron/db_conf.json' - - - - ${cfg.postgresArgsFile}"
+ ];
+
systemd.services.hydron = {
description = "hydron";
after = [ "network.target" "postgresql.service" ];
wantedBy = [ "multi-user.target" ];
- preStart = ''
- # Ensure folder exists or create it and permissions are correct
- mkdir -p ${escapeShellArg cfg.dataDir}/{.hydron,images}
- ln -sf ${escapeShellArg cfg.postgresArgsFile} ${escapeShellArg cfg.dataDir}/.hydron/db_conf.json
- chmod 750 ${escapeShellArg cfg.dataDir}
- chown -R hydron:hydron ${escapeShellArg cfg.dataDir}
-
- # Ensure the database is correct or create it
- ${pkgs.sudo}/bin/sudo -u ${postgres.superUser} ${postgres.package}/bin/createuser \
- -SDR hydron || true
- ${pkgs.sudo}/bin/sudo -u ${postgres.superUser} ${postgres.package}/bin/createdb \
- -T template0 -E UTF8 -O hydron hydron || true
- ${pkgs.sudo}/bin/sudo -u hydron ${postgres.package}/bin/psql \
- -c "ALTER ROLE hydron WITH PASSWORD '$(cat ${escapeShellArg cfg.passwordFile})';" || true
- '';
-
serviceConfig = {
- PermissionsStartOnly = true;
User = "hydron";
Group = "hydron";
ExecStart = "${pkgs.hydron}/bin/hydron serve"
@@ -139,7 +138,7 @@ in with lib; {
description = "Automatically import paths into hydron and possibly fetch tags";
after = [ "network.target" "hydron.service" ];
wantedBy = [ "timers.target" ];
-
+
timerConfig = {
Persistent = true;
OnCalendar = cfg.interval;
@@ -148,11 +147,10 @@ in with lib; {
users = {
groups.hydron.gid = config.ids.gids.hydron;
-
+
users.hydron = {
description = "hydron server service user";
home = cfg.dataDir;
- createHome = true;
group = "hydron";
uid = config.ids.uids.hydron;
};
diff --git a/nixos/modules/services/web-servers/lighttpd/cgit.nix b/nixos/modules/services/web-servers/lighttpd/cgit.nix
index e6a054c296d..9f25dc34f3f 100644
--- a/nixos/modules/services/web-servers/lighttpd/cgit.nix
+++ b/nixos/modules/services/web-servers/lighttpd/cgit.nix
@@ -42,6 +42,8 @@ in
configText = mkOption {
default = "";
example = ''
+ source-filter=''${pkgs.cgit}/lib/cgit/filters/syntax-highlighting.py
+ about-filter=''${pkgs.cgit}/lib/cgit/filters/about-formatting.sh
cache-size=1000
scan-path=/srv/git
'';
diff --git a/nixos/modules/services/web-servers/lighttpd/collectd.nix b/nixos/modules/services/web-servers/lighttpd/collectd.nix
index e70c980d524..3f262451c2c 100644
--- a/nixos/modules/services/web-servers/lighttpd/collectd.nix
+++ b/nixos/modules/services/web-servers/lighttpd/collectd.nix
@@ -12,7 +12,7 @@ let
defaultCollectionCgi = config.services.collectd.package.overrideDerivation(old: {
name = "collection.cgi";
- configurePhase = "true";
+ dontConfigure = true;
buildPhase = "true";
installPhase = ''
substituteInPlace contrib/collection.cgi --replace '"/etc/collection.conf"' '$ENV{COLLECTION_CONF}'
diff --git a/nixos/modules/services/web-servers/nginx/default.nix b/nixos/modules/services/web-servers/nginx/default.nix
index c486d6c8613..e597f34700a 100644
--- a/nixos/modules/services/web-servers/nginx/default.nix
+++ b/nixos/modules/services/web-servers/nginx/default.nix
@@ -4,23 +4,25 @@ with lib;
let
cfg = config.services.nginx;
+ certs = config.security.acme.certs;
+ vhostsConfigs = mapAttrsToList (vhostName: vhostConfig: vhostConfig) virtualHosts;
+ acmeEnabledVhosts = filter (vhostConfig: vhostConfig.enableACME && vhostConfig.useACMEHost == null) vhostsConfigs;
virtualHosts = mapAttrs (vhostName: vhostConfig:
let
serverName = if vhostConfig.serverName != null
then vhostConfig.serverName
else vhostName;
- acmeDirectory = config.security.acme.directory;
in
vhostConfig // {
inherit serverName;
} // (optionalAttrs vhostConfig.enableACME {
- sslCertificate = "${acmeDirectory}/${serverName}/fullchain.pem";
- sslCertificateKey = "${acmeDirectory}/${serverName}/key.pem";
- sslTrustedCertificate = "${acmeDirectory}/${serverName}/fullchain.pem";
+ sslCertificate = "${certs.${serverName}.directory}/fullchain.pem";
+ sslCertificateKey = "${certs.${serverName}.directory}/key.pem";
+ sslTrustedCertificate = "${certs.${serverName}.directory}/full.pem";
}) // (optionalAttrs (vhostConfig.useACMEHost != null) {
- sslCertificate = "${acmeDirectory}/${vhostConfig.useACMEHost}/fullchain.pem";
- sslCertificateKey = "${acmeDirectory}/${vhostConfig.useACMEHost}/key.pem";
- sslTrustedCertificate = "${acmeDirectory}/${vhostConfig.useACMEHost}/fullchain.pem";
+ sslCertificate = "${certs.${vhostConfig.useACMEHost}.directory}/fullchain.pem";
+ sslCertificateKey = "${certs.${vhostConfig.useACMEHost}.directory}/key.pem";
+ sslTrustedCertificate = "${certs.${vhostConfig.useACMEHost}.directory}/fullchain.pem";
})
) cfg.virtualHosts;
enableIPv6 = config.networking.enableIPv6;
@@ -64,7 +66,7 @@ let
include ${cfg.package}/conf/uwsgi_params;
${optionalString (cfg.resolver.addresses != []) ''
- resolver ${toString cfg.resolver.addresses} ${optionalString (cfg.resolver.valid != "") "valid=${cfg.resolver.valid}"};
+ resolver ${toString cfg.resolver.addresses} ${optionalString (cfg.resolver.valid != "") "valid=${cfg.resolver.valid}"} ${optionalString (!cfg.resolver.ipv6) "ipv6=off"};
''}
${upstreamConfig}
@@ -92,7 +94,6 @@ let
${optionalString (cfg.recommendedGzipSettings) ''
gzip on;
- gzip_disable "msie6";
gzip_proxied any;
gzip_comp_level 5;
gzip_types
@@ -162,6 +163,10 @@ let
${cfg.appendConfig}
'';
+ configPath = if cfg.enableReload
+ then "/etc/nginx/nginx.conf"
+ else configFile;
+
vhosts = concatStringsSep "\n" (mapAttrsToList (vhostName: vhost:
let
onlySSL = vhost.onlySSL || vhost.enableSSL;
@@ -269,17 +274,6 @@ let
${optionalString (config.proxyPass != null && cfg.recommendedProxySettings) "include ${recommendedProxyConfig};"}
}
'') (sortProperties (mapAttrsToList (k: v: v // { location = k; }) locations)));
- mkBasicAuth = vhostName: authDef: let
- htpasswdFile = pkgs.writeText "${vhostName}.htpasswd" (
- concatStringsSep "\n" (mapAttrsToList (user: password: ''
- ${user}:{PLAIN}${password}
- '') authDef)
- );
- in ''
- auth_basic secured;
- auth_basic_user_file ${htpasswdFile};
- '';
-
mkHtpasswd = vhostName: authDef: pkgs.writeText "${vhostName}.htpasswd" (
concatStringsSep "\n" (mapAttrsToList (user: password: ''
${user}:{PLAIN}${password}
@@ -442,6 +436,16 @@ in
";
};
+ enableReload = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Reload nginx when configuration file changes (instead of restart).
+ The configuration file is exposed at /etc/nginx/nginx.conf.
+ See also systemd.services.*.restartIfChanged.
+ '';
+ };
+
stateDir = mkOption {
default = "/var/spool/nginx";
description = "
@@ -468,7 +472,7 @@ in
};
clientMaxBodySize = mkOption {
- type = types.string;
+ type = types.str;
default = "10m";
description = "Set nginx global client_max_body_size.";
};
@@ -521,6 +525,15 @@ in
An optional valid parameter allows overriding it
'';
};
+ ipv6 = mkOption {
+ type = types.bool;
+ default = true;
+ description = ''
+ By default, nginx will look up both IPv4 and IPv6 addresses while resolving.
+ If looking up of IPv6 addresses is not desired, the ipv6=off parameter can be
+ specified.
+ '';
+ };
};
};
description = ''
@@ -634,16 +647,17 @@ in
systemd.services.nginx = {
description = "Nginx Web Server";
- after = [ "network.target" ];
wantedBy = [ "multi-user.target" ];
+ wants = concatLists (map (vhostConfig: ["acme-${vhostConfig.serverName}.service" "acme-selfsigned-${vhostConfig.serverName}.service"]) acmeEnabledVhosts);
+ after = [ "network.target" ] ++ map (vhostConfig: "acme-selfsigned-${vhostConfig.serverName}.service") acmeEnabledVhosts;
stopIfChanged = false;
preStart =
''
${cfg.preStart}
- ${cfg.package}/bin/nginx -c ${configFile} -p ${cfg.stateDir} -t
+ ${cfg.package}/bin/nginx -c ${configPath} -p ${cfg.stateDir} -t
'';
serviceConfig = {
- ExecStart = "${cfg.package}/bin/nginx -c ${configFile} -p ${cfg.stateDir}";
+ ExecStart = "${cfg.package}/bin/nginx -c ${configPath} -p ${cfg.stateDir}";
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
Restart = "always";
RestartSec = "10s";
@@ -651,10 +665,23 @@ in
};
};
+ environment.etc."nginx/nginx.conf" = mkIf cfg.enableReload {
+ source = configFile;
+ };
+
+ systemd.services.nginx-config-reload = mkIf cfg.enableReload {
+ wantedBy = [ "nginx.service" ];
+ restartTriggers = [ configFile ];
+ script = ''
+ if ${pkgs.systemd}/bin/systemctl -q is-active nginx.service ; then
+ ${pkgs.systemd}/bin/systemctl reload nginx.service
+ fi
+ '';
+ serviceConfig.RemainAfterExit = true;
+ };
+
security.acme.certs = filterAttrs (n: v: v != {}) (
let
- vhostsConfigs = mapAttrsToList (vhostName: vhostConfig: vhostConfig) virtualHosts;
- acmeEnabledVhosts = filter (vhostConfig: vhostConfig.enableACME && vhostConfig.useACMEHost == null) vhostsConfigs;
acmePairs = map (vhostConfig: { name = vhostConfig.serverName; value = {
user = cfg.user;
group = lib.mkDefault cfg.group;
diff --git a/nixos/modules/services/web-servers/phpfpm/default.nix b/nixos/modules/services/web-servers/phpfpm/default.nix
index ffafbc5e92f..4ab7e3f0c0a 100644
--- a/nixos/modules/services/web-servers/phpfpm/default.nix
+++ b/nixos/modules/services/web-servers/phpfpm/default.nix
@@ -4,41 +4,27 @@ with lib;
let
cfg = config.services.phpfpm;
- enabled = cfg.poolConfigs != {} || cfg.pools != {};
- stateDir = "/run/phpfpm";
+ runtimeDir = "/run/phpfpm";
- poolConfigs =
- (mapAttrs mapPoolConfig cfg.poolConfigs) //
- (mapAttrs mapPool cfg.pools);
+ toStr = value:
+ if true == value then "yes"
+ else if false == value then "no"
+ else toString value;
- mapPoolConfig = n: p: {
- phpPackage = cfg.phpPackage;
- phpOptions = cfg.phpOptions;
- config = p;
- };
-
- mapPool = n: p: {
- phpPackage = p.phpPackage;
- phpOptions = p.phpOptions;
- config = ''
- listen = ${p.listen}
- ${p.extraConfig}
- '';
- };
-
- fpmCfgFile = pool: conf: pkgs.writeText "phpfpm-${pool}.conf" ''
+ fpmCfgFile = pool: poolOpts: pkgs.writeText "phpfpm-${pool}.conf" ''
[global]
- error_log = syslog
- daemonize = no
- ${cfg.extraConfig}
+ ${concatStringsSep "\n" (mapAttrsToList (n: v: "${n} = ${toStr v}") cfg.settings)}
+ ${optionalString (cfg.extraConfig != null) cfg.extraConfig}
[${pool}]
- ${conf}
+ ${concatStringsSep "\n" (mapAttrsToList (n: v: "${n} = ${toStr v}") poolOpts.settings)}
+ ${concatStringsSep "\n" (mapAttrsToList (n: v: "env[${n}] = ${toStr v}") poolOpts.phpEnv)}
+ ${optionalString (poolOpts.extraConfig != null) poolOpts.extraConfig}
'';
- phpIni = pool: pkgs.runCommand "php.ini" {
- inherit (pool) phpPackage phpOptions;
+ phpIni = poolOpts: pkgs.runCommand "php.ini" {
+ inherit (poolOpts) phpPackage phpOptions;
preferLocalBuild = true;
nixDefaults = ''
sendmail_path = "/run/wrappers/bin/sendmail -t -i"
@@ -48,13 +34,138 @@ let
cat $phpPackage/etc/php.ini $nixDefaultsPath $phpOptionsPath > $out
'';
+ poolOpts = { name, ... }:
+ let
+ poolOpts = cfg.pools.${name};
+ in
+ {
+ options = {
+ socket = mkOption {
+ type = types.str;
+ readOnly = true;
+ description = ''
+ Path to the unix socket file on which to accept FastCGI requests.
+ This option is read-only and managed by NixOS.
+ '';
+ };
+
+ listen = mkOption {
+ type = types.str;
+ default = "";
+ example = "/path/to/unix/socket";
+ description = ''
+ The address on which to accept FastCGI requests.
+ '';
+ };
+
+ phpPackage = mkOption {
+ type = types.package;
+ default = cfg.phpPackage;
+ defaultText = "config.services.phpfpm.phpPackage";
+ description = ''
+ The PHP package to use for running this PHP-FPM pool.
+ '';
+ };
+
+ phpOptions = mkOption {
+ type = types.lines;
+ default = cfg.phpOptions;
+ defaultText = "config.services.phpfpm.phpOptions";
+ description = ''
+ "Options appended to the PHP configuration file php.ini used for this PHP-FPM pool."
+ '';
+ };
+
+ phpEnv = lib.mkOption {
+ type = with types; attrsOf str;
+ default = {};
+ description = ''
+ Environment variables used for this PHP-FPM pool.
+ '';
+ example = literalExample ''
+ {
+ HOSTNAME = "$HOSTNAME";
+ TMP = "/tmp";
+ TMPDIR = "/tmp";
+ TEMP = "/tmp";
+ }
+ '';
+ };
+
+ user = mkOption {
+ type = types.str;
+ description = "User account under which this pool runs.";
+ };
+
+ group = mkOption {
+ type = types.str;
+ description = "Group account under which this pool runs.";
+ };
+
+ settings = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {};
+ description = ''
+ PHP-FPM pool directives. Refer to the "List of pool directives" section of
+
+ for details. Note that settings names must be enclosed in quotes (e.g.
+ "pm.max_children" instead of pm.max_children).
+ '';
+ example = literalExample ''
+ {
+ "pm" = "dynamic";
+ "pm.max_children" = 75;
+ "pm.start_servers" = 10;
+ "pm.min_spare_servers" = 5;
+ "pm.max_spare_servers" = 20;
+ "pm.max_requests" = 500;
+ }
+ '';
+ };
+
+ extraConfig = mkOption {
+ type = with types; nullOr lines;
+ default = null;
+ description = ''
+ Extra lines that go into the pool configuration.
+ See the documentation on php-fpm.conf for
+ details on configuration directives.
+ '';
+ };
+ };
+
+ config = {
+ socket = if poolOpts.listen == "" then "${runtimeDir}/${name}.sock" else poolOpts.listen;
+ group = mkDefault poolOpts.user;
+
+ settings = mapAttrs (name: mkDefault){
+ listen = poolOpts.socket;
+ user = poolOpts.user;
+ group = poolOpts.group;
+ };
+ };
+ };
+
in {
options = {
services.phpfpm = {
+ settings = mkOption {
+ type = with types; attrsOf (oneOf [ str int bool ]);
+ default = {};
+ description = ''
+ PHP-FPM global directives. Refer to the "List of global php-fpm.conf directives" section of
+
+ for details. Note that settings names must be enclosed in quotes (e.g.
+ "pm.max_children" instead of pm.max_children).
+ You need not specify the options error_log or
+ daemonize here, since they are generated by NixOS.
+ '';
+ };
+
extraConfig = mkOption {
- type = types.lines;
- default = "";
+ type = with types; nullOr lines;
+ default = null;
description = ''
Extra configuration that should be put in the global section of
the PHP-FPM configuration file. Do not specify the options
@@ -80,64 +191,56 @@ in {
''
date.timezone = "CET"
'';
- description =
- "Options appended to the PHP configuration file php.ini.";
- };
-
- poolConfigs = mkOption {
- default = {};
- type = types.attrsOf types.lines;
- example = literalExample ''
- { mypool = '''
- listen = /run/phpfpm/mypool
- user = nobody
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 10
- pm.min_spare_servers = 5
- pm.max_spare_servers = 20
- pm.max_requests = 500
- ''';
- }
- '';
description = ''
- A mapping between PHP-FPM pool names and their configurations.
- See the documentation on php-fpm.conf for
- details on configuration directives. If no pools are defined,
- the phpfpm service is disabled.
+ Options appended to the PHP configuration file php.ini.
'';
};
pools = mkOption {
- type = types.attrsOf (types.submodule (import ./pool-options.nix {
- inherit lib config;
- }));
+ type = types.attrsOf (types.submodule poolOpts);
default = {};
example = literalExample ''
{
mypool = {
- listen = "/path/to/unix/socket";
+ user = "php";
+ group = "php";
phpPackage = pkgs.php;
- extraConfig = '''
- user = nobody
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 10
- pm.min_spare_servers = 5
- pm.max_spare_servers = 20
- pm.max_requests = 500
+ settings = '''
+ "pm" = "dynamic";
+ "pm.max_children" = 75;
+ "pm.start_servers" = 10;
+ "pm.min_spare_servers" = 5;
+ "pm.max_spare_servers" = 20;
+ "pm.max_requests" = 500;
''';
}
}'';
description = ''
- PHP-FPM pools. If no pools or poolConfigs are defined, the PHP-FPM
+ PHP-FPM pools. If no pools are defined, the PHP-FPM
service is disabled.
'';
};
};
};
- config = mkIf enabled {
+ config = mkIf (cfg.pools != {}) {
+
+ warnings =
+ mapAttrsToList (pool: poolOpts: ''
+ Using config.services.phpfpm.pools.${pool}.listen is deprecated and will become unsupported in a future release. Please reference the read-only option config.services.phpfpm.pools.${pool}.socket to access the path of your socket.
+ '') (filterAttrs (pool: poolOpts: poolOpts.listen != "") cfg.pools) ++
+ mapAttrsToList (pool: poolOpts: ''
+ Using config.services.phpfpm.pools.${pool}.extraConfig is deprecated and will become unsupported in a future release. Please migrate your configuration to config.services.phpfpm.pools.${pool}.settings.
+ '') (filterAttrs (pool: poolOpts: poolOpts.extraConfig != null) cfg.pools) ++
+ optional (cfg.extraConfig != null) ''
+ Using config.services.phpfpm.extraConfig is deprecated and will become unsupported in a future release. Please migrate your configuration to config.services.phpfpm.settings.
+ ''
+ ;
+
+ services.phpfpm.settings = {
+ error_log = "syslog";
+ daemonize = false;
+ };
systemd.slices.phpfpm = {
description = "PHP FastCGI Process manager pools slice";
@@ -148,18 +251,15 @@ in {
wantedBy = [ "multi-user.target" ];
};
- systemd.services = flip mapAttrs' poolConfigs (pool: poolConfig:
+ systemd.services = mapAttrs' (pool: poolOpts:
nameValuePair "phpfpm-${pool}" {
description = "PHP FastCGI Process Manager service for pool ${pool}";
after = [ "network.target" ];
wantedBy = [ "phpfpm.target" ];
partOf = [ "phpfpm.target" ];
- preStart = ''
- mkdir -p ${stateDir}
- '';
serviceConfig = let
- cfgFile = fpmCfgFile pool poolConfig.config;
- iniFile = phpIni poolConfig;
+ cfgFile = fpmCfgFile pool poolOpts;
+ iniFile = phpIni poolOpts;
in {
Slice = "phpfpm.slice";
PrivateDevices = true;
@@ -168,10 +268,12 @@ in {
# XXX: We need AF_NETLINK to make the sendmail SUID binary from postfix work
RestrictAddressFamilies = "AF_UNIX AF_INET AF_INET6 AF_NETLINK";
Type = "notify";
- ExecStart = "${poolConfig.phpPackage}/bin/php-fpm -y ${cfgFile} -c ${iniFile}";
+ ExecStart = "${poolOpts.phpPackage}/bin/php-fpm -y ${cfgFile} -c ${iniFile}";
ExecReload = "${pkgs.coreutils}/bin/kill -USR2 $MAINPID";
+ RuntimeDirectory = "phpfpm";
+ RuntimeDirectoryPreserve = true; # Relevant when multiple processes are running
};
}
- );
+ ) cfg.pools;
};
}
diff --git a/nixos/modules/services/web-servers/phpfpm/pool-options.nix b/nixos/modules/services/web-servers/phpfpm/pool-options.nix
deleted file mode 100644
index d9ad7eff71f..00000000000
--- a/nixos/modules/services/web-servers/phpfpm/pool-options.nix
+++ /dev/null
@@ -1,57 +0,0 @@
-{ lib, config }:
-
-let
- fpmCfg = config.services.phpfpm;
-in
-
-with lib; {
-
- options = {
-
- listen = mkOption {
- type = types.str;
- example = "/path/to/unix/socket";
- description = ''
- The address on which to accept FastCGI requests.
- '';
- };
-
- phpPackage = mkOption {
- type = types.package;
- default = fpmCfg.phpPackage;
- defaultText = "config.services.phpfpm.phpPackage";
- description = ''
- The PHP package to use for running this PHP-FPM pool.
- '';
- };
-
- phpOptions = mkOption {
- type = types.lines;
- default = fpmCfg.phpOptions;
- defaultText = "config.services.phpfpm.phpOptions";
- description = ''
- "Options appended to the PHP configuration file php.ini used for this PHP-FPM pool."
- '';
- };
-
- extraConfig = mkOption {
- type = types.lines;
- example = ''
- user = nobody
- pm = dynamic
- pm.max_children = 75
- pm.start_servers = 10
- pm.min_spare_servers = 5
- pm.max_spare_servers = 20
- pm.max_requests = 500
- '';
-
- description = ''
- Extra lines that go into the pool configuration.
- See the documentation on php-fpm.conf for
- details on configuration directives.
- '';
- };
- };
-}
-
diff --git a/nixos/modules/services/web-servers/traefik.nix b/nixos/modules/services/web-servers/traefik.nix
index 5bac895d43a..8de7df0d446 100644
--- a/nixos/modules/services/web-servers/traefik.nix
+++ b/nixos/modules/services/web-servers/traefik.nix
@@ -67,7 +67,7 @@ in {
group = mkOption {
default = "traefik";
- type = types.string;
+ type = types.str;
example = "docker";
description = ''
Set the group that traefik runs under.
diff --git a/nixos/modules/services/web-servers/uwsgi.nix b/nixos/modules/services/web-servers/uwsgi.nix
index 3f858d90fa4..af70f32f32d 100644
--- a/nixos/modules/services/web-servers/uwsgi.nix
+++ b/nixos/modules/services/web-servers/uwsgi.nix
@@ -72,7 +72,7 @@ in {
};
runDir = mkOption {
- type = types.string;
+ type = types.path;
default = "/run/uwsgi";
description = "Where uWSGI communication sockets can live";
};
diff --git a/nixos/modules/services/web-servers/zope2.nix b/nixos/modules/services/web-servers/zope2.nix
index 4cad2a2ff77..3abd506827c 100644
--- a/nixos/modules/services/web-servers/zope2.nix
+++ b/nixos/modules/services/web-servers/zope2.nix
@@ -11,7 +11,7 @@ let
name = mkOption {
default = "${name}";
- type = types.string;
+ type = types.str;
description = "The name of the zope2 instance. If undefined, the name of the attribute set will be used.";
};
@@ -23,19 +23,19 @@ let
http_address = mkOption {
default = "localhost:8080";
- type = types.string;
+ type = types.str;
description = "Give a port and address for the HTTP server.";
};
user = mkOption {
default = "zope2";
- type = types.string;
+ type = types.str;
description = "The name of the effective user for the Zope process.";
};
clientHome = mkOption {
default = "/var/lib/zope2/${name}";
- type = types.string;
+ type = types.path;
description = "Home directory of zope2 instance.";
};
extra = mkOption {
@@ -52,7 +52,7 @@ let
'';
- type = types.string;
+ type = types.lines;
description = "Extra zope.conf";
};
diff --git a/nixos/modules/services/x11/clight.nix b/nixos/modules/services/x11/clight.nix
new file mode 100644
index 00000000000..4daf6d8d9db
--- /dev/null
+++ b/nixos/modules/services/x11/clight.nix
@@ -0,0 +1,115 @@
+{ config, pkgs, lib, ... }:
+
+with lib;
+
+let
+ cfg = config.services.clight;
+
+ toConf = v:
+ if builtins.isFloat v then toString v
+ else if isInt v then toString v
+ else if isBool v then boolToString v
+ else if isString v then ''"${escape [''"''] v}"''
+ else if isList v then "[ " + concatMapStringsSep ", " toConf v + " ]"
+ else abort "clight.toConf: unexpected type (v = ${v})";
+
+ clightConf = pkgs.writeText "clight.conf"
+ (concatStringsSep "\n" (mapAttrsToList
+ (name: value: "${toString name} = ${toConf value};")
+ (filterAttrs
+ (_: value: value != null)
+ cfg.settings)));
+in {
+ options.services.clight = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Whether to enable clight or not.
+ '';
+ };
+
+ temperature = {
+ day = mkOption {
+ type = types.int;
+ default = 5500;
+ description = ''
+ Colour temperature to use during the day, between
+ 1000 and 25000 K.
+ '';
+ };
+ night = mkOption {
+ type = types.int;
+ default = 3700;
+ description = ''
+ Colour temperature to use at night, between
+ 1000 and 25000 K.
+ '';
+ };
+ };
+
+ settings = let
+ validConfigTypes = with types; either int (either str (either bool float));
+ in mkOption {
+ type = with types; attrsOf (nullOr (either validConfigTypes (listOf validConfigTypes)));
+ default = {};
+ example = { captures = 20; gamma_long_transition = true; ac_capture_timeouts = [ 120 300 60 ]; };
+ description = ''
+ Additional configuration to extend clight.conf. See
+ for a
+ sample configuration file.
+ '';
+ };
+ };
+
+ config = mkIf cfg.enable {
+ boot.kernelModules = [ "i2c_dev" ];
+ environment.systemPackages = with pkgs; [ clight clightd ];
+ services.dbus.packages = with pkgs; [ clight clightd ];
+ services.upower.enable = true;
+
+ services.clight.settings = {
+ gamma_temp = with cfg.temperature; mkDefault [ day night ];
+ } // (optionalAttrs (config.location.provider == "manual") {
+ latitude = mkDefault config.location.latitude;
+ longitude = mkDefault config.location.longitude;
+ });
+
+ services.geoclue2.appConfig.clightc = {
+ isAllowed = true;
+ isSystem = true;
+ };
+
+ systemd.services.clightd = {
+ requires = [ "polkit.service" ];
+ wantedBy = [ "multi-user.target" ];
+
+ description = "Bus service to manage various screen related properties (gamma, dpms, backlight)";
+ serviceConfig = {
+ Type = "dbus";
+ BusName = "org.clightd.clightd";
+ Restart = "on-failure";
+ RestartSec = 5;
+ ExecStart = ''
+ ${pkgs.clightd}/bin/clightd
+ '';
+ };
+ };
+
+ systemd.user.services.clight = {
+ after = [ "upower.service" "clightd.service" ];
+ wants = [ "upower.service" "clightd.service" ];
+ partOf = [ "graphical-session.target" ];
+ wantedBy = [ "graphical-session.target" ];
+
+ description = "C daemon to adjust screen brightness to match ambient brightness, as computed capturing frames from webcam";
+ serviceConfig = {
+ Restart = "on-failure";
+ RestartSec = 5;
+ ExecStart = ''
+ ${pkgs.clight}/bin/clight --conf-file ${clightConf}
+ '';
+ };
+ };
+ };
+}
diff --git a/nixos/modules/services/x11/compton.nix b/nixos/modules/services/x11/compton.nix
index 11db0a133d6..a94a76ff0c0 100644
--- a/nixos/modules/services/x11/compton.nix
+++ b/nixos/modules/services/x11/compton.nix
@@ -7,52 +7,35 @@ let
cfg = config.services.compton;
+ pairOf = x: with types; addCheck (listOf x) (y: length y == 2);
+
floatBetween = a: b: with lib; with types;
addCheck str (x: versionAtLeast x a && versionOlder x b);
- pairOf = x: with types; addCheck (listOf x) (y: lib.length y == 2);
+ toConf = attrs: concatStringsSep "\n"
+ (mapAttrsToList
+ (k: v: let
+ sep = if isAttrs v then ":" else "=";
+ # Basically a tinkered lib.generators.mkKeyValueDefault
+ mkValueString = v:
+ if isBool v then boolToString v
+ else if isInt v then toString v
+ else if isFloat v then toString v
+ else if isString v then ''"${escape [ ''"'' ] v}"''
+ else if isList v then "[ "
+ + concatMapStringsSep " , " mkValueString v
+ + " ]"
+ else if isAttrs v then "{ "
+ + concatStringsSep " "
+ (mapAttrsToList
+ (key: value: "${toString key}=${mkValueString value};")
+ v)
+ + " }"
+ else abort "compton.mkValueString: unexpected type (v = ${v})";
+ in "${escape [ sep ] k}${sep}${mkValueString v};")
+ attrs);
- opacityRules = optionalString (length cfg.opacityRules != 0)
- (concatMapStringsSep ",\n" (rule: ''"${rule}"'') cfg.opacityRules);
-
- configFile = pkgs.writeText "compton.conf"
- (optionalString cfg.fade ''
- # fading
- fading = true;
- fade-delta = ${toString cfg.fadeDelta};
- fade-in-step = ${elemAt cfg.fadeSteps 0};
- fade-out-step = ${elemAt cfg.fadeSteps 1};
- fade-exclude = ${toJSON cfg.fadeExclude};
- '' +
- optionalString cfg.shadow ''
-
- # shadows
- shadow = true;
- shadow-offset-x = ${toString (elemAt cfg.shadowOffsets 0)};
- shadow-offset-y = ${toString (elemAt cfg.shadowOffsets 1)};
- shadow-opacity = ${cfg.shadowOpacity};
- shadow-exclude = ${toJSON cfg.shadowExclude};
- '' + ''
-
- # opacity
- active-opacity = ${cfg.activeOpacity};
- inactive-opacity = ${cfg.inactiveOpacity};
-
- wintypes:
- {
- popup_menu = { opacity = ${cfg.menuOpacity}; }
- dropdown_menu = { opacity = ${cfg.menuOpacity}; }
- };
-
- opacity-rule = [
- ${opacityRules}
- ];
-
- # other options
- backend = ${toJSON cfg.backend};
- vsync = ${lib.boolToString cfg.vSync};
- refresh-rate = ${toString cfg.refreshRate};
- '' + cfg.extraOptions);
+ configFile = pkgs.writeText "compton.conf" (toConf cfg.settings);
in {
@@ -98,7 +81,7 @@ in {
example = [
"window_type *= 'menu'"
"name ~= 'Firefox$'"
- "focused = 1"
+ "focused = 1"
];
description = ''
List of conditions of windows that should not be faded.
@@ -138,7 +121,7 @@ in {
example = [
"window_type *= 'menu'"
"name ~= 'Firefox$'"
- "focused = 1"
+ "focused = 1"
];
description = ''
List of conditions of windows that should have no shadow.
@@ -173,6 +156,15 @@ in {
'';
};
+ wintypes = mkOption {
+ type = types.attrs;
+ default = { popup_menu = { opacity = cfg.menuOpacity; }; dropdown_menu = { opacity = cfg.menuOpacity; }; };
+ example = {};
+ description = ''
+ Rules for specific window types.
+ '';
+ };
+
opacityRules = mkOption {
type = types.listOf types.str;
default = [];
@@ -201,7 +193,7 @@ in {
let
res = x != "none";
msg = "The type of services.compton.vSync has changed to bool:"
- + " interpreting ${x} as ${lib.boolToString res}";
+ + " interpreting ${x} as ${boolToString res}";
in
if isBool x then x
else warn msg res;
@@ -222,23 +214,13 @@ in {
'';
};
- package = mkOption {
- type = types.package;
- default = pkgs.compton;
- defaultText = "pkgs.compton";
- example = literalExample "pkgs.compton";
- description = ''
- Compton derivation to use.
- '';
- };
-
- extraOptions = mkOption {
- type = types.lines;
- default = "";
- example = ''
- unredir-if-possible = true;
- dbe = true;
- '';
+ settings = let
+ configTypes = with types; oneOf [ bool int float str ];
+ # types.loaOf converts lists to sets
+ loaOf = t: with types; either (listOf t) (attrsOf t);
+ in mkOption {
+ type = loaOf (types.either configTypes (loaOf (types.either configTypes (loaOf configTypes))));
+ default = {};
description = ''
Additional Compton configuration.
'';
@@ -246,6 +228,42 @@ in {
};
config = mkIf cfg.enable {
+ services.compton.settings = let
+ # Hard conversion to float, literally lib.toInt but toFloat
+ toFloat = str: let
+ may_be_float = builtins.fromJSON str;
+ in if builtins.isFloat may_be_float
+ then may_be_float
+ else throw "Could not convert ${str} to float.";
+ in {
+ # fading
+ fading = mkDefault cfg.fade;
+ fade-delta = mkDefault cfg.fadeDelta;
+ fade-in-step = mkDefault (toFloat (elemAt cfg.fadeSteps 0));
+ fade-out-step = mkDefault (toFloat (elemAt cfg.fadeSteps 1));
+ fade-exclude = mkDefault cfg.fadeExclude;
+
+ # shadows
+ shadow = mkDefault cfg.shadow;
+ shadow-offset-x = mkDefault (elemAt cfg.shadowOffsets 0);
+ shadow-offset-y = mkDefault (elemAt cfg.shadowOffsets 1);
+ shadow-opacity = mkDefault (toFloat cfg.shadowOpacity);
+ shadow-exclude = mkDefault cfg.shadowExclude;
+
+ # opacity
+ active-opacity = mkDefault (toFloat cfg.activeOpacity);
+ inactive-opacity = mkDefault (toFloat cfg.inactiveOpacity);
+
+ wintypes = mkDefault cfg.wintypes;
+
+ opacity-rule = mkDefault cfg.opacityRules;
+
+ # other options
+ backend = mkDefault cfg.backend;
+ vsync = mkDefault cfg.vSync;
+ refresh-rate = mkDefault cfg.refreshRate;
+ };
+
systemd.user.services.compton = {
description = "Compton composite manager";
wantedBy = [ "graphical-session.target" ];
@@ -257,13 +275,13 @@ in {
};
serviceConfig = {
- ExecStart = "${cfg.package}/bin/compton --config ${configFile}";
+ ExecStart = "${pkgs.compton}/bin/compton --config ${configFile}";
RestartSec = 3;
Restart = "always";
};
};
- environment.systemPackages = [ cfg.package ];
+ environment.systemPackages = [ pkgs.compton ];
};
}
diff --git a/nixos/modules/services/x11/desktop-managers/default.nix b/nixos/modules/services/x11/desktop-managers/default.nix
index 2b1e9169e5f..dfb84113e13 100644
--- a/nixos/modules/services/x11/desktop-managers/default.nix
+++ b/nixos/modules/services/x11/desktop-managers/default.nix
@@ -18,9 +18,9 @@ in
# determines the default: later modules (if enabled) are preferred.
# E.g., if Plasma 5 is enabled, it supersedes xterm.
imports = [
- ./none.nix ./xterm.nix ./xfce.nix ./plasma5.nix ./lumina.nix
+ ./none.nix ./xterm.nix ./xfce.nix ./xfce4-14.nix ./plasma5.nix ./lumina.nix
./lxqt.nix ./enlightenment.nix ./gnome3.nix ./kodi.nix ./maxx.nix
- ./mate.nix ./pantheon.nix
+ ./mate.nix ./pantheon.nix ./surf-display.nix
];
options = {
diff --git a/nixos/modules/services/x11/desktop-managers/enlightenment.nix b/nixos/modules/services/x11/desktop-managers/enlightenment.nix
index 04e380b6153..9914b668709 100644
--- a/nixos/modules/services/x11/desktop-managers/enlightenment.nix
+++ b/nixos/modules/services/x11/desktop-managers/enlightenment.nix
@@ -25,30 +25,30 @@ in
};
- config = mkIf (xcfg.enable && cfg.enable) {
+ config = mkIf cfg.enable {
environment.systemPackages = [
e.efl e.enlightenment
e.terminology e.econnman
pkgs.xorg.xauth # used by kdesu
- pkgs.gtk2 # To get GTK+'s themes.
+ pkgs.gtk2 # To get GTK's themes.
pkgs.tango-icon-theme
- pkgs.gnome2.gnomeicontheme
+ pkgs.gnome2.gnome_icon_theme
pkgs.xorg.xcursorthemes
];
- environment.pathsToLink = [
- "/etc/enlightenment"
- "/share/enlightenment"
- "/share/elementary"
+ environment.pathsToLink = [
+ "/etc/enlightenment"
+ "/share/enlightenment"
+ "/share/elementary"
"/share/locale"
];
services.xserver.desktopManager.session = [
{ name = "Enlightenment";
start = ''
- # Set GTK_DATA_PREFIX so that GTK+ can find the themes
+ # Set GTK_DATA_PREFIX so that GTK can find the themes
export GTK_DATA_PREFIX=${config.system.path}
# find theme engines
export GTK_PATH=${config.system.path}/lib/gtk-3.0:${config.system.path}/lib/gtk-2.0
diff --git a/nixos/modules/services/x11/desktop-managers/gnome3.nix b/nixos/modules/services/x11/desktop-managers/gnome3.nix
index ef6820d3326..30c5250221c 100644
--- a/nixos/modules/services/x11/desktop-managers/gnome3.nix
+++ b/nixos/modules/services/x11/desktop-managers/gnome3.nix
@@ -3,7 +3,9 @@
with lib;
let
+
cfg = config.services.xserver.desktopManager.gnome3;
+ serviceCfg = config.services.gnome3;
# Prioritize nautilus by default when opening directories
mimeAppsList = pkgs.writeTextFile {
@@ -15,20 +17,27 @@ let
'';
};
- nixos-gsettings-desktop-schemas = pkgs.runCommand "nixos-gsettings-desktop-schemas" { preferLocalBuild = true; }
+ nixos-gsettings-desktop-schemas = let
+ defaultPackages = with pkgs; [ gsettings-desktop-schemas gnome3.gnome-shell ];
+ in
+ pkgs.runCommand "nixos-gsettings-desktop-schemas" { preferLocalBuild = true; }
''
mkdir -p $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
- cp -rf ${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
- ${concatMapStrings (pkg: "cp -rf ${pkg}/share/gsettings-schemas/*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas\n") cfg.extraGSettingsOverridePackages}
+ ${concatMapStrings
+ (pkg: "cp -rf ${pkg}/share/gsettings-schemas/*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas\n")
+ (defaultPackages ++ cfg.extraGSettingsOverridePackages)}
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
[org.gnome.desktop.background]
- picture-uri='${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png'
+ picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png'
[org.gnome.desktop.screensaver]
- picture-uri='${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png'
+ picture-uri='file://${pkgs.nixos-artwork.wallpapers.simple-dark-gray-bottom}/share/artwork/gnome/nix-wallpaper-simple-dark-gray_bottom.png'
+
+ [org.gnome.shell]
+ favorite-apps=[ 'org.gnome.Epiphany.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]
${cfg.extraGSettingsOverrides}
EOF
@@ -38,10 +47,19 @@ let
flashbackEnabled = cfg.flashback.enableMetacity || length cfg.flashback.customSessions > 0;
-in {
+in
+
+{
options = {
+ services.gnome3 = {
+ core-os-services.enable = mkEnableOption "essential services for GNOME3";
+ core-shell.enable = mkEnableOption "GNOME Shell services";
+ core-utilities.enable = mkEnableOption "GNOME core utilities";
+ games.enable = mkEnableOption "GNOME games";
+ };
+
services.xserver.desktopManager.gnome3 = {
enable = mkOption {
default = false;
@@ -114,59 +132,40 @@ in {
};
- config = mkIf cfg.enable {
+ config = mkMerge [
+ (mkIf (cfg.enable || flashbackEnabled) {
+ services.gnome3.core-os-services.enable = true;
+ services.gnome3.core-shell.enable = true;
+ services.gnome3.core-utilities.enable = mkDefault true;
- # Enable helpful DBus services.
- security.polkit.enable = true;
- services.udisks2.enable = true;
- services.accounts-daemon.enable = true;
- services.dleyna-renderer.enable = mkDefault true;
- services.dleyna-server.enable = mkDefault true;
- services.gnome3.at-spi2-core.enable = true;
- services.gnome3.evince.enable = mkDefault true;
- services.gnome3.evolution-data-server.enable = true;
- services.gnome3.file-roller.enable = mkDefault true;
- services.gnome3.glib-networking.enable = true;
- services.gnome3.gnome-disks.enable = mkDefault true;
- services.gnome3.gnome-documents.enable = mkDefault true;
- services.gnome3.gnome-keyring.enable = true;
- services.gnome3.gnome-online-accounts.enable = mkDefault true;
- services.gnome3.gnome-remote-desktop.enable = mkDefault true;
- services.gnome3.gnome-settings-daemon.enable = true;
- services.gnome3.gnome-terminal-server.enable = mkDefault true;
- services.gnome3.gnome-user-share.enable = mkDefault true;
- services.gnome3.gvfs.enable = true;
- services.gnome3.rygel.enable = mkDefault true;
- services.gnome3.seahorse.enable = mkDefault true;
- services.gnome3.sushi.enable = mkDefault true;
- services.gnome3.tracker.enable = mkDefault true;
- services.gnome3.tracker-miners.enable = mkDefault true;
- hardware.pulseaudio.enable = mkDefault true;
- services.telepathy.enable = mkDefault true;
- networking.networkmanager.enable = mkDefault true;
- services.upower.enable = config.powerManagement.enable;
- services.dbus.packages =
- optional config.services.printing.enable pkgs.system-config-printer ++
- optional flashbackEnabled pkgs.gnome3.gnome-screensaver;
- services.colord.enable = mkDefault true;
- services.packagekit.enable = mkDefault true;
- hardware.bluetooth.enable = mkDefault true;
- services.hardware.bolt.enable = mkDefault true;
- services.xserver.libinput.enable = mkDefault true; # for controlling touchpad settings via gnome control center
- systemd.packages = [ pkgs.gnome3.vino ];
- services.flatpak.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
+ services.xserver.displayManager.extraSessionFilePackages = [ pkgs.gnome3.gnome-session ];
- # If gnome3 is installed, build vim for gtk3 too.
- nixpkgs.config.vim.gui = "gtk3";
+ environment.extraInit = ''
+ ${concatMapStrings (p: ''
+ if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then
+ export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name}
+ fi
- fonts.fonts = [
- pkgs.dejavu_fonts pkgs.cantarell-fonts
- pkgs.source-sans-pro
- pkgs.source-code-pro # Default monospace font in 3.32
- ];
+ if [ -d "${p}/lib/girepository-1.0" ]; then
+ export GI_TYPELIB_PATH=$GI_TYPELIB_PATH''${GI_TYPELIB_PATH:+:}${p}/lib/girepository-1.0
+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
+ fi
+ '') cfg.sessionPath}
+ '';
- services.xserver.displayManager.extraSessionFilePackages = [ pkgs.gnome3.gnome-session ]
- ++ map
+ environment.systemPackages = cfg.sessionPath;
+
+ environment.variables.GNOME_SESSION_DEBUG = mkIf cfg.debug "1";
+
+ # Override GSettings schemas
+ environment.variables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";
+
+ # If gnome3 is installed, build vim for gtk3 too.
+ nixpkgs.config.vim.gui = "gtk3";
+ })
+
+ (mkIf flashbackEnabled {
+ services.xserver.displayManager.extraSessionFilePackages = map
(wm: pkgs.gnome3.gnome-flashback.mkSessionForWm {
inherit (wm) wmName wmLabel wmCommand;
}) (optional cfg.flashback.enableMetacity {
@@ -175,75 +174,179 @@ in {
wmCommand = "${pkgs.gnome3.metacity}/bin/metacity";
} ++ cfg.flashback.customSessions);
- environment.extraInit = ''
- ${concatMapStrings (p: ''
- if [ -d "${p}/share/gsettings-schemas/${p.name}" ]; then
- export XDG_DATA_DIRS=$XDG_DATA_DIRS''${XDG_DATA_DIRS:+:}${p}/share/gsettings-schemas/${p.name}
- fi
+ security.pam.services.gnome-screensaver = {
+ enableGnomeKeyring = true;
+ };
- if [ -d "${p}/lib/girepository-1.0" ]; then
- export GI_TYPELIB_PATH=$GI_TYPELIB_PATH''${GI_TYPELIB_PATH:+:}${p}/lib/girepository-1.0
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH''${LD_LIBRARY_PATH:+:}${p}/lib
- fi
- '') cfg.sessionPath}
- '';
+ services.dbus.packages = [
+ pkgs.gnome3.gnome-screensaver
+ ];
+ })
+ (mkIf serviceCfg.core-os-services.enable {
+ hardware.bluetooth.enable = mkDefault true;
+ hardware.pulseaudio.enable = mkDefault true;
+ programs.dconf.enable = true;
+ security.polkit.enable = true;
+ services.accounts-daemon.enable = true;
+ services.dleyna-renderer.enable = mkDefault true;
+ services.dleyna-server.enable = mkDefault true;
+ services.gnome3.at-spi2-core.enable = true;
+ services.gnome3.evolution-data-server.enable = true;
+ services.gnome3.gnome-keyring.enable = true;
+ services.gnome3.gnome-online-accounts.enable = mkDefault true;
+ services.gnome3.gnome-online-miners.enable = true;
+ services.gnome3.tracker-miners.enable = mkDefault true;
+ services.gnome3.tracker.enable = mkDefault true;
+ services.hardware.bolt.enable = mkDefault true;
+ services.packagekit.enable = mkDefault true;
+ services.udisks2.enable = true;
+ services.upower.enable = config.powerManagement.enable;
+ services.xserver.libinput.enable = mkDefault true; # for controlling touchpad settings via gnome control center
- services.geoclue2.enable = mkDefault true;
- # GNOME should have its own geoclue agent
- services.geoclue2.enableDemoAgent = false;
+ xdg.portal.enable = true;
+ xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
- services.geoclue2.appConfig."gnome-datetime-panel" = {
- isAllowed = true;
- isSystem = true;
- };
- services.geoclue2.appConfig."gnome-color-panel" = {
- isAllowed = true;
- isSystem = true;
- };
- services.geoclue2.appConfig."org.gnome.Shell" = {
- isAllowed = true;
- isSystem = true;
- };
+ networking.networkmanager.enable = mkDefault true;
- environment.variables.GNOME_SESSION_DEBUG = optionalString cfg.debug "1";
-
- # Override default mimeapps
- environment.variables.XDG_DATA_DIRS = [ "${mimeAppsList}/share" ];
-
- # Override GSettings schemas
- environment.variables.NIX_GSETTINGS_OVERRIDES_DIR = "${nixos-gsettings-desktop-schemas}/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas";
-
- # Let nautilus find extensions
- # TODO: Create nautilus-with-extensions package
- environment.variables.NAUTILUS_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-3.0";
-
- services.xserver.updateDbusEnvironment = true;
-
- environment.variables.GIO_EXTRA_MODULES = [ "${lib.getLib pkgs.gnome3.dconf}/lib/gio/modules"
- "${pkgs.gnome3.gvfs}/lib/gio/modules" ];
- environment.systemPackages = pkgs.gnome3.corePackages ++ cfg.sessionPath
- ++ (pkgs.gnome3.removePackagesByName pkgs.gnome3.optionalPackages config.environment.gnome3.excludePackages) ++ [
- pkgs.xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
- ];
-
- # Use the correct gnome3 packageSet
- networking.networkmanager.basePackages =
- { inherit (pkgs) networkmanager modemmanager wpa_supplicant;
+ # Use the correct gnome3 packageSet
+ networking.networkmanager.basePackages = {
+ inherit (pkgs) networkmanager modemmanager wpa_supplicant crda;
inherit (pkgs.gnome3) networkmanager-openvpn networkmanager-vpnc
- networkmanager-openconnect networkmanager-fortisslvpn
- networkmanager-iodine networkmanager-l2tp; };
+ networkmanager-openconnect networkmanager-fortisslvpn
+ networkmanager-iodine networkmanager-l2tp;
+ };
- # Needed for themes and backgrounds
- environment.pathsToLink = [
- "/share"
- "/share/nautilus-python/extensions"
- ];
+ services.xserver.updateDbusEnvironment = true;
- security.pam.services.gnome-screensaver = mkIf flashbackEnabled {
- enableGnomeKeyring = true;
- };
- };
+ # Needed for themes and backgrounds
+ environment.pathsToLink = [
+ "/share" # TODO: https://github.com/NixOS/nixpkgs/issues/47173
+ ];
+ })
+ (mkIf serviceCfg.core-shell.enable {
+ services.colord.enable = mkDefault true;
+ services.gnome3.chrome-gnome-shell.enable = mkDefault true;
+ services.gnome3.glib-networking.enable = true;
+ services.gnome3.gnome-remote-desktop.enable = mkDefault true;
+ services.gnome3.gnome-settings-daemon.enable = true;
+ services.gnome3.gnome-user-share.enable = mkDefault true;
+ services.gnome3.rygel.enable = mkDefault true;
+ services.gvfs.enable = true;
+ services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+ services.telepathy.enable = mkDefault true;
+ systemd.packages = [ pkgs.gnome3.vino ];
+
+ services.avahi.enable = mkDefault true;
+
+ xdg.portal.extraPortals = [ pkgs.gnome3.gnome-shell ];
+
+ services.geoclue2.enable = mkDefault true;
+ services.geoclue2.enableDemoAgent = false; # GNOME has its own geoclue agent
+
+ services.geoclue2.appConfig.gnome-datetime-panel = {
+ isAllowed = true;
+ isSystem = true;
+ };
+ services.geoclue2.appConfig.gnome-color-panel = {
+ isAllowed = true;
+ isSystem = true;
+ };
+ services.geoclue2.appConfig."org.gnome.Shell" = {
+ isAllowed = true;
+ isSystem = true;
+ };
+
+ fonts.fonts = with pkgs; [
+ cantarell-fonts
+ dejavu_fonts
+ source-code-pro # Default monospace font in 3.32
+ source-sans-pro
+ ];
+
+ # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-32/elements/core/meta-gnome-core-shell.bst
+ environment.systemPackages = with pkgs.gnome3; [
+ adwaita-icon-theme
+ gnome-backgrounds
+ gnome-bluetooth
+ gnome-color-manager
+ gnome-control-center
+ gnome-getting-started-docs
+ gnome-shell
+ gnome-shell-extensions
+ gnome-themes-extra
+ gnome-user-docs
+ pkgs.orca
+ pkgs.glib # for gsettings
+ pkgs.gnome-menus
+ pkgs.gtk3.out # for gtk-launch
+ pkgs.hicolor-icon-theme
+ pkgs.shared-mime-info # for update-mime-database
+ pkgs.xdg-user-dirs # Update user dirs as described in http://freedesktop.org/wiki/Software/xdg-user-dirs/
+ vino
+ ];
+ })
+
+ # Adapt from https://gitlab.gnome.org/GNOME/gnome-build-meta/blob/gnome-3-32/elements/core/meta-gnome-core-utilities.bst
+ (mkIf serviceCfg.core-utilities.enable {
+ environment.systemPackages = (with pkgs.gnome3; removePackagesByName [
+ baobab
+ cheese
+ eog
+ epiphany
+ geary
+ gedit
+ gnome-calculator
+ gnome-calendar
+ gnome-characters
+ gnome-clocks
+ gnome-contacts
+ gnome-font-viewer
+ gnome-logs
+ gnome-maps
+ gnome-music
+ gnome-photos
+ gnome-screenshot
+ gnome-software
+ gnome-system-monitor
+ gnome-weather
+ nautilus
+ simple-scan
+ totem
+ yelp
+ # Unsure if sensible for NixOS
+ /* gnome-boxes */
+ ] config.environment.gnome3.excludePackages);
+
+ # Enable default programs
+ programs.evince.enable = mkDefault true;
+ programs.file-roller.enable = mkDefault true;
+ programs.gnome-disks.enable = mkDefault true;
+ programs.gnome-terminal.enable = mkDefault true;
+ programs.seahorse.enable = mkDefault true;
+ services.gnome3.sushi.enable = mkDefault true;
+
+ # Let nautilus find extensions
+ # TODO: Create nautilus-with-extensions package
+ environment.variables.NAUTILUS_EXTENSION_DIR = "${config.system.path}/lib/nautilus/extensions-3.0";
+
+ # Override default mimeapps for nautilus
+ environment.variables.XDG_DATA_DIRS = [ "${mimeAppsList}/share" ];
+
+ environment.pathsToLink = [
+ "/share/nautilus-python/extensions"
+ ];
+ })
+
+ (mkIf serviceCfg.games.enable {
+ environment.systemPackages = (with pkgs.gnome3; removePackagesByName [
+ aisleriot atomix five-or-more four-in-a-row gnome-chess gnome-klotski
+ gnome-mahjongg gnome-mines gnome-nibbles gnome-robots gnome-sudoku
+ gnome-taquin gnome-tetravex hitori iagno lightsoff quadrapassel
+ swell-foop tali
+ ] config.environment.gnome3.excludePackages);
+ })
+ ];
}
diff --git a/nixos/modules/services/x11/desktop-managers/lumina.nix b/nixos/modules/services/x11/desktop-managers/lumina.nix
index 957b6ab63bb..2224bcd5a2a 100644
--- a/nixos/modules/services/x11/desktop-managers/lumina.nix
+++ b/nixos/modules/services/x11/desktop-managers/lumina.nix
@@ -21,7 +21,7 @@ in
};
- config = mkIf (xcfg.enable && cfg.enable) {
+ config = mkIf cfg.enable {
services.xserver.desktopManager.session = singleton {
name = "lumina";
diff --git a/nixos/modules/services/x11/desktop-managers/lxqt.nix b/nixos/modules/services/x11/desktop-managers/lxqt.nix
index 686bbd0dcf9..bf53082b267 100644
--- a/nixos/modules/services/x11/desktop-managers/lxqt.nix
+++ b/nixos/modules/services/x11/desktop-managers/lxqt.nix
@@ -26,7 +26,7 @@ in
};
- config = mkIf (xcfg.enable && cfg.enable) {
+ config = mkIf cfg.enable {
services.xserver.desktopManager.session = singleton {
name = "lxqt";
@@ -58,7 +58,8 @@ in
# Link some extra directories in /run/current-system/software/share
environment.pathsToLink = [ "/share" ];
- environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gvfs}/lib/gio/modules" ];
+ services.gvfs.enable = true;
+ services.gvfs.package = pkgs.gvfs;
services.upower.enable = config.powerManagement.enable;
};
diff --git a/nixos/modules/services/x11/desktop-managers/mate.nix b/nixos/modules/services/x11/desktop-managers/mate.nix
index bf6685ff7ea..d7a871c9c70 100644
--- a/nixos/modules/services/x11/desktop-managers/mate.nix
+++ b/nixos/modules/services/x11/desktop-managers/mate.nix
@@ -42,13 +42,13 @@ in
};
- config = mkIf (xcfg.enable && cfg.enable) {
+ config = mkIf cfg.enable {
services.xserver.desktopManager.session = singleton {
name = "mate";
bgSupport = true;
start = ''
- # Set GTK_DATA_PREFIX so that GTK+ can find the themes
+ # Set GTK_DATA_PREFIX so that GTK can find the themes
export GTK_DATA_PREFIX=${config.system.path}
# Find theme engines
@@ -94,16 +94,21 @@ in
];
programs.dconf.enable = true;
+ # Shell integration for VTE terminals
+ programs.bash.vteIntegration = mkDefault true;
+ programs.zsh.vteIntegration = mkDefault true;
+
+ # Mate uses this for printing
+ programs.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+
services.gnome3.at-spi2-core.enable = true;
services.gnome3.gnome-keyring.enable = true;
services.gnome3.gnome-settings-daemon.enable = true;
services.gnome3.gnome-settings-daemon.package = pkgs.mate.mate-settings-daemon;
- services.gnome3.gvfs.enable = true;
+ services.gvfs.enable = true;
services.upower.enable = config.powerManagement.enable;
- security.pam.services."mate-screensaver".unixAuth = true;
-
- environment.variables.GIO_EXTRA_MODULES = [ "${pkgs.gnome3.gvfs}/lib/gio/modules" ];
+ security.pam.services.mate-screensaver.unixAuth = true;
environment.pathsToLink = [ "/share" ];
};
diff --git a/nixos/modules/services/x11/desktop-managers/maxx.nix b/nixos/modules/services/x11/desktop-managers/maxx.nix
index 6a698658bdd..1c04104df41 100644
--- a/nixos/modules/services/x11/desktop-managers/maxx.nix
+++ b/nixos/modules/services/x11/desktop-managers/maxx.nix
@@ -10,7 +10,7 @@ in {
enable = mkEnableOption "MaXX desktop environment";
};
- config = mkIf (xcfg.enable && cfg.enable) {
+ config = mkIf cfg.enable {
environment.systemPackages = [ pkgs.maxx ];
# there is hardcoded path in binaries
diff --git a/nixos/modules/services/x11/desktop-managers/pantheon.nix b/nixos/modules/services/x11/desktop-managers/pantheon.nix
index 9a0f77a856a..e313a194c34 100644
--- a/nixos/modules/services/x11/desktop-managers/pantheon.nix
+++ b/nixos/modules/services/x11/desktop-managers/pantheon.nix
@@ -99,9 +99,9 @@ in
fi
'') cfg.sessionPath}
- # Makes qt applications look less alien
- export QT_QPA_PLATFORMTHEME=gtk3
- export QT_STYLE_OVERRIDE=adwaita
+ # Settings from elementary-default-settings
+ export GTK_CSD=1
+ export GTK_MODULES=$GTK_MODULES:pantheon-filechooser-module
fi
'';
@@ -113,21 +113,19 @@ in
services.colord.enable = mkDefault true;
services.pantheon.files.enable = mkDefault true;
services.tumbler.enable = mkDefault true;
- services.dbus.packages = mkMerge [
- ([ pkgs.pantheon.switchboard-plug-power ])
- (mkIf config.services.printing.enable ([pkgs.system-config-printer]) )
+ services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+ services.dbus.packages = [
+ pkgs.pantheon.switchboard-plug-power
];
services.pantheon.contractor.enable = mkDefault true;
services.gnome3.at-spi2-core.enable = true;
- services.gnome3.evince.enable = mkDefault true;
services.gnome3.evolution-data-server.enable = true;
- services.gnome3.file-roller.enable = mkDefault true;
- # TODO: gnome-keyring's xdg autostarts will still be in the environment (from elementary-session-settings) if disabled forcefully
services.gnome3.glib-networking.enable = true;
+ # TODO: gnome-keyring's xdg autostarts will still be in the environment (from elementary-session-settings) if disabled forcefully
services.gnome3.gnome-keyring.enable = true;
services.gnome3.gnome-settings-daemon.enable = true;
services.gnome3.gnome-settings-daemon.package = pkgs.pantheon.elementary-settings-daemon;
- services.gnome3.gvfs.enable = true;
+ services.gvfs.enable = true;
services.gnome3.rygel.enable = mkDefault true;
services.gsignond.enable = mkDefault true;
services.gsignond.plugins = with pkgs.gsignondPlugins; [ lastfm mail oauth ];
@@ -136,7 +134,6 @@ in
services.xserver.libinput.enable = mkDefault true;
services.xserver.updateDbusEnvironment = true;
services.zeitgeist.enable = mkDefault true;
-
services.geoclue2.enable = mkDefault true;
# pantheon has pantheon-agent-geoclue2
services.geoclue2.enableDemoAgent = false;
@@ -145,9 +142,25 @@ in
isSystem = true;
};
+ programs.dconf.enable = true;
+ programs.evince.enable = mkDefault true;
+ programs.file-roller.enable = mkDefault true;
+ # Otherwise you can't store NetworkManager Secrets with
+ # "Store the password only for this user"
+ programs.nm-applet.enable = true;
+
+ # Shell integration for VTE terminals
+ programs.bash.vteIntegration = mkDefault true;
+ programs.zsh.vteIntegration = mkDefault true;
+
+ # Harmonize Qt5 applications under Pantheon
+ qt5.enable = true;
+ qt5.platformTheme = "gnome";
+ qt5.style = "adwaita";
+
networking.networkmanager.enable = mkDefault true;
networking.networkmanager.basePackages =
- { inherit (pkgs) networkmanager modemmanager wpa_supplicant;
+ { inherit (pkgs) networkmanager modemmanager wpa_supplicant crda;
inherit (pkgs.gnome3) networkmanager-openvpn networkmanager-vpnc
networkmanager-openconnect networkmanager-fortisslvpn
networkmanager-iodine networkmanager-l2tp; };
@@ -157,11 +170,6 @@ in
environment.variables.GNOME_SESSION_DEBUG = optionalString cfg.debug "1";
- environment.variables.GIO_EXTRA_MODULES = [
- "${lib.getLib pkgs.gnome3.dconf}/lib/gio/modules"
- "${pkgs.gnome3.gvfs}/lib/gio/modules"
- ];
-
environment.pathsToLink = [
# FIXME: modules should link subdirs of `/share` rather than relying on this
"/share"
@@ -183,10 +191,10 @@ in
glib-networking
gnome-menus
gnome3.adwaita-icon-theme
- gnome3.dconf
gtk3.out
hicolor-icon-theme
lightlocker
+ onboard
plank
qgnomeplatform
shared-mime-info
@@ -195,7 +203,7 @@ in
]);
fonts.fonts = with pkgs; [
- opensans-ttf
+ open-sans
roboto-mono
pantheon.elementary-redacted-script # needed by screenshot-tool
];
diff --git a/nixos/modules/services/x11/desktop-managers/plasma5.nix b/nixos/modules/services/x11/desktop-managers/plasma5.nix
index a9e55eb846c..b10755df4dc 100644
--- a/nixos/modules/services/x11/desktop-managers/plasma5.nix
+++ b/nixos/modules/services/x11/desktop-managers/plasma5.nix
@@ -21,6 +21,13 @@ in
description = "Enable the Plasma 5 (KDE 5) desktop environment.";
};
+ phononBackend = mkOption {
+ type = types.enum [ "gstreamer" "vlc" ];
+ default = "gstreamer";
+ example = "vlc";
+ description = "Phonon audio backend to install.";
+ };
+
enableQt4Support = mkOption {
type = types.bool;
default = true;
@@ -36,7 +43,7 @@ in
config = mkMerge [
- (mkIf (xcfg.enable && cfg.enable) {
+ (mkIf cfg.enable {
services.xserver.desktopManager.session = singleton {
name = "plasma5";
bgSupport = true;
@@ -64,8 +71,8 @@ in
};
security.wrappers = {
- kcheckpass.source = "${lib.getBin plasma5.kscreenlocker}/lib/libexec/kcheckpass";
- "start_kdeinit".source = "${lib.getBin pkgs.kinit}/lib/libexec/kf5/start_kdeinit";
+ kcheckpass.source = "${lib.getBin plasma5.kscreenlocker}/libexec/kcheckpass";
+ start_kdeinit.source = "${lib.getBin pkgs.kinit}/libexec/kf5/start_kdeinit";
kwin_wayland = {
source = "${lib.getBin plasma5.kwin}/bin/kwin_wayland";
capabilities = "cap_sys_nice+ep";
@@ -161,16 +168,17 @@ in
qtvirtualkeyboard
- libsForQt56.phonon-backend-gstreamer
- libsForQt5.phonon-backend-gstreamer
-
xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
]
- ++ lib.optionals cfg.enableQt4Support [ pkgs.phonon-backend-gstreamer ]
+ # Phonon audio backend
+ ++ lib.optional (cfg.phononBackend == "gstreamer") libsForQt5.phonon-backend-gstreamer
+ ++ lib.optional (cfg.phononBackend == "gstreamer" && cfg.enableQt4Support) pkgs.phonon-backend-gstreamer
+ ++ lib.optional (cfg.phononBackend == "vlc") libsForQt5.phonon-backend-vlc
+ ++ lib.optional (cfg.phononBackend == "vlc" && cfg.enableQt4Support) pkgs.phonon-backend-vlc
# Optional hardware support features
- ++ lib.optional config.hardware.bluetooth.enable bluedevil
+ ++ lib.optionals config.hardware.bluetooth.enable [ bluedevil bluez-qt ]
++ lib.optional config.networking.networkmanager.enable plasma-nm
++ lib.optional config.hardware.pulseaudio.enable plasma-pa
++ lib.optional config.powerManagement.enable powerdevil
@@ -202,8 +210,8 @@ in
# Enable helpful DBus services.
services.udisks2.enable = true;
services.upower.enable = config.powerManagement.enable;
- services.dbus.packages =
- mkIf config.services.printing.enable [ pkgs.system-config-printer ];
+ services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+ services.xserver.libinput.enable = mkDefault true;
# Extra UDEV rules used by Solid
services.udev.packages = [
@@ -225,6 +233,9 @@ in
security.pam.services.sddm.enableKwallet = true;
security.pam.services.slim.enableKwallet = true;
+ xdg.portal.enable = true;
+ xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
+
# Update the start menu for each user that is currently logged in
system.userActivationScripts.plasmaSetup = ''
# The KDE icon cache is supposed to update itself
diff --git a/nixos/modules/services/x11/desktop-managers/surf-display.nix b/nixos/modules/services/x11/desktop-managers/surf-display.nix
new file mode 100644
index 00000000000..140dde828da
--- /dev/null
+++ b/nixos/modules/services/x11/desktop-managers/surf-display.nix
@@ -0,0 +1,127 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.xserver.desktopManager.surf-display;
+
+ surfDisplayConf = ''
+ # Surf Kiosk Display: Wrap around surf browser and turn your
+ # system into a browser screen in KIOSK-mode.
+
+ # default download URI for all display screens if not configured individually
+ DEFAULT_WWW_URI="${cfg.defaultWwwUri}"
+
+ # Enforce fixed resolution for all displays (default: not set):
+ #DEFAULT_RESOLUTION="1920x1080"
+
+ # HTTP proxy URL, if needed (default: not set).
+ #HTTP_PROXY_URL="http://webcache:3128"
+
+ # Setting for internal inactivity timer to restart surf-display
+ # if the user goes inactive/idle.
+ INACTIVITY_INTERVAL="${builtins.toString cfg.inactivityInterval}"
+
+ # log to syslog instead of .xsession-errors
+ LOG_TO_SYSLOG="yes"
+
+ # Launch pulseaudio daemon if not already running.
+ WITH_PULSEAUDIO="yes"
+
+ # screensaver settings, see "man 1 xset" for possible options
+ SCREENSAVER_SETTINGS="${cfg.screensaverSettings}"
+
+ # disable right and middle pointer device click in browser sessions while keeping
+ # scrolling wheels' functionality intact... (consider "pointer" subcommand on
+ # xmodmap man page for details).
+ POINTER_BUTTON_MAP="${cfg.pointerButtonMap}"
+
+ # Hide idle mouse pointer.
+ HIDE_IDLE_POINTER="${cfg.hideIdlePointer}"
+
+ ${cfg.extraConfig}
+ '';
+
+in {
+ options = {
+ services.xserver.desktopManager.surf-display = {
+ enable = mkEnableOption "surf-display as a kiosk browser session";
+
+ defaultWwwUri = mkOption {
+ type = types.str;
+ default = "${pkgs.surf-display}/share/surf-display/empty-page.html";
+ example = "https://www.example.com/";
+ description = "Default URI to display.";
+ };
+
+ inactivityInterval = mkOption {
+ type = types.int;
+ default = 300;
+ example = "0";
+ description = ''
+ Setting for internal inactivity timer to restart surf-display if the
+ user goes inactive/idle to get a fresh session for the next user of
+ the kiosk.
+
+ If this value is set to zero, the whole feature of restarting due to
+ inactivity is disabled.
+ '';
+ };
+
+ screensaverSettings = mkOption {
+ type = types.separatedString " ";
+ default = "";
+ description = ''
+ Screensaver settings, see man 1 xset for possible options.
+ '';
+ };
+
+ pointerButtonMap = mkOption {
+ type = types.str;
+ default = "1 0 0 4 5 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0";
+ description = ''
+ Disable right and middle pointer device click in browser sessions
+ while keeping scrolling wheels' functionality intact. See pointer
+ subcommand on man xmodmap for details.
+ '';
+ };
+
+ hideIdlePointer = mkOption {
+ type = types.str;
+ default = "yes";
+ example = "no";
+ description = "Hide idle mouse pointer.";
+ };
+
+ extraConfig = mkOption {
+ type = types.lines;
+ default = "";
+ example = ''
+ # Enforce fixed resolution for all displays (default: not set):
+ DEFAULT_RESOLUTION="1920x1080"
+
+ # HTTP proxy URL, if needed (default: not set).
+ HTTP_PROXY_URL="http://webcache:3128"
+
+ # Configure individual display screens with host specific parameters:
+ DISPLAYS['display-host-0']="www_uri=https://www.displayserver.comany.net/display-1/index.html"
+ DISPLAYS['display-host-1']="www_uri=https://www.displayserver.comany.net/display-2/index.html"
+ DISPLAYS['display-host-2']="www_uri=https://www.displayserver.comany.net/display-3/index.html|res=1920x1280"
+ DISPLAYS['display-host-3']="www_uri=https://www.displayserver.comany.net/display-4/index.html"|res=1280x1024"
+ DISPLAYS['display-host-local-file']="www_uri=file:///usr/share/doc/surf-display/empty-page.html"
+ '';
+ description = ''
+ Extra configuration options to append to /etc/default/surf-display.
+ '';
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ services.xserver.displayManager.extraSessionFilePackages = [
+ pkgs.surf-display
+ ];
+
+ environment.etc."default/surf-display".text = surfDisplayConf;
+ };
+}
diff --git a/nixos/modules/services/x11/desktop-managers/xfce.nix b/nixos/modules/services/x11/desktop-managers/xfce.nix
index 6852154378d..e3249aef50c 100644
--- a/nixos/modules/services/x11/desktop-managers/xfce.nix
+++ b/nixos/modules/services/x11/desktop-managers/xfce.nix
@@ -48,7 +48,7 @@ in
config = mkIf cfg.enable {
environment.systemPackages = with pkgs.xfce // pkgs; [
- # Get GTK+ themes and gtk-update-icon-cache
+ # Get GTK themes and gtk-update-icon-cache
gtk2.out
# Supplies some abstract icons such as:
@@ -66,7 +66,6 @@ in
exo
garcon
gtk-xfce-engine
- gvfs
libxfce4ui
tumbler
xfconf
@@ -100,10 +99,6 @@ in
"/share/gtksourceview-2.0"
];
- environment.variables = {
- GIO_EXTRA_MODULES = [ "${pkgs.xfce.gvfs}/lib/gio/modules" ];
- };
-
services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
services.xserver.desktopManager.session = [{
@@ -112,10 +107,10 @@ in
start = ''
${cfg.extraSessionCommands}
- # Set GTK_PATH so that GTK+ can find the theme engines.
+ # Set GTK_PATH so that GTK can find the theme engines.
export GTK_PATH="${config.system.path}/lib/gtk-2.0:${config.system.path}/lib/gtk-3.0"
- # Set GTK_DATA_PREFIX so that GTK+ can find the Xfce themes.
+ # Set GTK_DATA_PREFIX so that GTK can find the Xfce themes.
export GTK_DATA_PREFIX=${config.system.path}
${pkgs.runtimeShell} ${pkgs.xfce.xinitrc} &
@@ -128,5 +123,7 @@ in
# Enable helpful DBus services.
services.udisks2.enable = true;
services.upower.enable = config.powerManagement.enable;
+ services.gvfs.enable = true;
+ services.gvfs.package = pkgs.xfce.gvfs;
};
}
diff --git a/nixos/modules/services/x11/desktop-managers/xfce4-14.nix b/nixos/modules/services/x11/desktop-managers/xfce4-14.nix
new file mode 100644
index 00000000000..57d1268d655
--- /dev/null
+++ b/nixos/modules/services/x11/desktop-managers/xfce4-14.nix
@@ -0,0 +1,156 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.xserver.desktopManager.xfce4-14;
+in
+
+{
+ # added 2019-08-18
+ # needed to preserve some semblance of UI familarity
+ # with original XFCE module
+ imports = [
+ (mkRenamedOptionModule
+ [ "services" "xserver" "desktopManager" "xfce4-14" "extraSessionCommands" ]
+ [ "services" "xserver" "displayManager" "sessionCommands" ])
+ ];
+
+ options = {
+ services.xserver.desktopManager.xfce4-14 = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Enable the Xfce desktop environment.";
+ };
+
+ # TODO: support thunar plugins
+ # thunarPlugins = mkOption {
+ # default = [];
+ # type = types.listOf types.package;
+ # example = literalExample "[ pkgs.xfce4-14.thunar-archive-plugin ]";
+ # description = ''
+ # A list of plugin that should be installed with Thunar.
+ # '';
+ # };
+
+ noDesktop = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Don't install XFCE desktop components (xfdesktop, panel and notification daemon).";
+ };
+
+ enableXfwm = mkOption {
+ type = types.bool;
+ default = true;
+ description = "Enable the XFWM (default) window manager.";
+ };
+ };
+ };
+
+ config = mkIf cfg.enable {
+ environment.systemPackages = with pkgs.xfce4-14 // pkgs; [
+ glib # for gsettings
+ gtk3.out # gtk-update-icon-cache
+
+ gnome3.adwaita-icon-theme
+ hicolor-icon-theme
+ tango-icon-theme
+ xfce4-icon-theme
+
+ desktop-file-utils
+ shared-mime-info # for update-mime-database
+
+ # For a polkit authentication agent
+ polkit_gnome
+
+ # Needed by Xfce's xinitrc script
+ xdg-user-dirs # Update user dirs as described in https://freedesktop.org/wiki/Software/xdg-user-dirs/
+
+ exo
+ garcon
+ gtk-xfce-engine
+ libxfce4ui
+ xfconf
+
+ mousepad
+ ristretto
+ xfce4-appfinder
+ xfce4-screenshooter
+ xfce4-session
+ xfce4-settings
+ xfce4-terminal
+
+ # TODO: resync patch for plugins
+ #(thunar.override { thunarPlugins = cfg.thunarPlugins; })
+ thunar
+ ] # TODO: NetworkManager doesn't belong here
+ ++ optional config.networking.networkmanager.enable networkmanagerapplet
+ ++ optional config.hardware.pulseaudio.enable xfce4-pulseaudio-plugin
+ ++ optional config.powerManagement.enable xfce4-power-manager
+ ++ optional cfg.enableXfwm xfwm4
+ ++ optionals (!cfg.noDesktop) [
+ xfce4-panel
+ xfce4-notifyd
+ xfdesktop
+ ];
+
+ environment.pathsToLink = [
+ "/share/xfce4"
+ "/lib/xfce4"
+ "/share/gtksourceview-3.0"
+ "/share/gtksourceview-4.0"
+ ];
+
+ # Use the correct gnome3 packageSet
+ networking.networkmanager.basePackages = mkIf config.networking.networkmanager.enable {
+ inherit (pkgs) networkmanager modemmanager wpa_supplicant crda;
+ inherit (pkgs.gnome3) networkmanager-openvpn networkmanager-vpnc
+ networkmanager-openconnect networkmanager-fortisslvpn
+ networkmanager-iodine networkmanager-l2tp;
+ };
+
+ services.xserver.desktopManager.session = [{
+ name = "xfce4-14";
+ bgSupport = true;
+ start = ''
+ # Set GTK_PATH so that GTK can find the theme engines.
+ export GTK_PATH="${config.system.path}/lib/gtk-2.0:${config.system.path}/lib/gtk-3.0"
+
+ # Set GTK_DATA_PREFIX so that GTK can find the Xfce themes.
+ export GTK_DATA_PREFIX=${config.system.path}
+
+ ${pkgs.runtimeShell} ${pkgs.xfce4-14.xinitrc} &
+ waitPID=$!
+ '';
+ }];
+
+ services.xserver.updateDbusEnvironment = true;
+ services.xserver.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
+
+ # Enable helpful DBus services.
+ services.udisks2.enable = true;
+ security.polkit.enable = true;
+ services.accounts-daemon.enable = true;
+ services.upower.enable = config.powerManagement.enable;
+ services.gnome3.glib-networking.enable = true;
+ services.gvfs.enable = true;
+ services.gvfs.package = pkgs.xfce.gvfs;
+ services.tumbler.enable = true;
+ services.system-config-printer.enable = (mkIf config.services.printing.enable (mkDefault true));
+ services.xserver.libinput.enable = mkDefault true; # used in xfce4-settings-manager
+
+ # Enable default programs
+ programs.dconf.enable = true;
+
+ # Shell integration for VTE terminals
+ programs.bash.vteIntegration = mkDefault true;
+ programs.zsh.vteIntegration = mkDefault true;
+
+ # Systemd services
+ systemd.packages = with pkgs.xfce4-14; [
+ thunar
+ ] ++ optional (!cfg.noDesktop) xfce4-notifyd;
+
+ };
+}
diff --git a/nixos/modules/services/x11/desktop-managers/xterm.nix b/nixos/modules/services/x11/desktop-managers/xterm.nix
index 6ff1ef0e4c9..1408df31295 100644
--- a/nixos/modules/services/x11/desktop-managers/xterm.nix
+++ b/nixos/modules/services/x11/desktop-managers/xterm.nix
@@ -13,13 +13,13 @@ in
services.xserver.desktopManager.xterm.enable = mkOption {
type = types.bool;
- default = true;
+ default = (versionOlder config.system.stateVersion "19.09");
description = "Enable a xterm terminal as a desktop manager.";
};
};
- config = mkIf (config.services.xserver.enable && cfg.enable) {
+ config = mkIf cfg.enable {
services.xserver.desktopManager.session = singleton
{ name = "xterm";
diff --git a/nixos/modules/services/x11/display-managers/default.nix b/nixos/modules/services/x11/display-managers/default.nix
index 0e87e6adbab..bf6b048654b 100644
--- a/nixos/modules/services/x11/display-managers/default.nix
+++ b/nixos/modules/services/x11/display-managers/default.nix
@@ -109,7 +109,7 @@ let
# Allow the user to setup a custom session type.
if test -x ~/.xsession; then
- exec ~/.xsession
+ eval exec ~/.xsession "$@"
fi
if test "$1"; then
diff --git a/nixos/modules/services/x11/display-managers/gdm.nix b/nixos/modules/services/x11/display-managers/gdm.nix
index 3edf7c8d9ca..3f1669d0851 100644
--- a/nixos/modules/services/x11/display-managers/gdm.nix
+++ b/nixos/modules/services/x11/display-managers/gdm.nix
@@ -14,6 +14,23 @@ let
exec "$@"
'';
+ # Solves problems like:
+ # https://wiki.archlinux.org/index.php/Talk:Bluetooth_headset#GDMs_pulseaudio_instance_captures_bluetooth_headset
+ # Instead of blacklisting plugins, we use Fedora's PulseAudio configuration for GDM:
+ # https://src.fedoraproject.org/rpms/gdm/blob/master/f/default.pa-for-gdm
+ pulseConfig = pkgs.writeText "default.pa" ''
+ load-module module-device-restore
+ load-module module-card-restore
+ load-module module-udev-detect
+ load-module module-native-protocol-unix
+ load-module module-default-device-restore
+ load-module module-rescue-streams
+ load-module module-always-sink
+ load-module module-intended-roles
+ load-module module-suspend-on-idle
+ load-module module-position-event-sounds
+ '';
+
in
{
@@ -79,6 +96,14 @@ in
type = types.bool;
};
+ autoSuspend = mkOption {
+ default = true;
+ description = ''
+ Suspend the machine after inactivity.
+ '';
+ type = types.bool;
+ };
+
};
};
@@ -126,6 +151,11 @@ in
GDM_X_SESSION_WRAPPER = "${xSessionWrapper}";
};
execCmd = "exec ${gdm}/bin/gdm";
+ preStart = optionalString config.hardware.pulseaudio.enable ''
+ mkdir -p /run/gdm/.config/pulse
+ ln -sf ${pulseConfig} /run/gdm/.config/pulse/default.pa
+ chown -R gdm:gdm /run/gdm/.config
+ '';
};
# Because sd_login_monitor_new requires /run/systemd/machines
@@ -154,10 +184,40 @@ in
systemd.user.services.dbus.wantedBy = [ "default.target" ];
- programs.dconf.profiles.gdm = pkgs.writeText "dconf-gdm-profile" ''
- system-db:local
- ${gdm}/share/dconf/profile/gdm
- '';
+ programs.dconf.profiles.gdm =
+ let
+ customDconf = pkgs.writeTextFile {
+ name = "gdm-dconf";
+ destination = "/dconf/gdm-custom";
+ text = ''
+ ${optionalString (!cfg.gdm.autoSuspend) ''
+ [org/gnome/settings-daemon/plugins/power]
+ sleep-inactive-ac-type='nothing'
+ sleep-inactive-battery-type='nothing'
+ sleep-inactive-ac-timeout=0
+ sleep-inactive-battery-timeout=0
+ ''}
+ '';
+ };
+
+ customDconfDb = pkgs.stdenv.mkDerivation {
+ name = "gdm-dconf-db";
+ buildCommand = ''
+ ${pkgs.gnome3.dconf}/bin/dconf compile $out ${customDconf}/dconf
+ '';
+ };
+ in pkgs.stdenv.mkDerivation {
+ name = "dconf-gdm-profile";
+ buildCommand = ''
+ # Check that the GDM profile starts with what we expect.
+ if [ $(head -n 1 ${gdm}/share/dconf/profile/gdm) != "user-db:user" ]; then
+ echo "GDM dconf profile changed, please update gdm.nix"
+ exit 1
+ fi
+ # Insert our custom DB behind it.
+ sed '2ifile-db:${customDconfDb}' ${gdm}/share/dconf/profile/gdm > $out
+ '';
+ };
# Use AutomaticLogin if delay is zero, because it's immediate.
# Otherwise with TimedLogin with zero seconds the prompt is still
diff --git a/nixos/modules/services/x11/display-managers/lightdm.nix b/nixos/modules/services/x11/display-managers/lightdm.nix
index afa0cebbc52..c26a5b61535 100644
--- a/nixos/modules/services/x11/display-managers/lightdm.nix
+++ b/nixos/modules/services/x11/display-managers/lightdm.nix
@@ -6,7 +6,7 @@ let
xcfg = config.services.xserver;
dmcfg = xcfg.displayManager;
- xEnv = config.systemd.services."display-manager".environment;
+ xEnv = config.systemd.services.display-manager.environment;
cfg = dmcfg.lightdm;
dmDefault = xcfg.desktopManager.default;
@@ -114,7 +114,7 @@ in
};
name = mkOption {
- type = types.string;
+ type = types.str;
description = ''
The name of a .desktop file in the directory specified
in the 'package' option.
@@ -232,36 +232,41 @@ in
# Enable the accounts daemon to find lightdm's dbus interface
environment.systemPackages = [ lightdm ];
- security.pam.services.lightdm = {
- allowNullPassword = true;
- startSession = true;
- };
- security.pam.services.lightdm-greeter = {
- allowNullPassword = true;
- startSession = true;
- text = ''
- auth required pam_env.so envfile=${config.system.build.pamEnvironment}
- auth required pam_permit.so
+ security.pam.services.lightdm.text = ''
+ auth substack login
+ account include login
+ password substack login
+ session include login
+ '';
- account required pam_permit.so
+ security.pam.services.lightdm-greeter.text = ''
+ auth required pam_succeed_if.so audit quiet_success user = lightdm
+ auth optional pam_permit.so
- password required pam_deny.so
+ account required pam_succeed_if.so audit quiet_success user = lightdm
+ account sufficient pam_unix.so
+
+ password required pam_deny.so
+
+ session required pam_succeed_if.so audit quiet_success user = lightdm
+ session required pam_env.so envfile=${config.system.build.pamEnvironment}
+ session optional ${pkgs.systemd}/lib/security/pam_systemd.so
+ session optional pam_keyinit.so force revoke
+ session optional pam_permit.so
+ '';
- session required pam_env.so envfile=${config.system.build.pamEnvironment}
- session required pam_unix.so
- session optional ${pkgs.systemd}/lib/security/pam_systemd.so
- '';
- };
security.pam.services.lightdm-autologin.text = ''
- auth requisite pam_nologin.so
- auth required pam_succeed_if.so uid >= 1000 quiet
- auth required pam_permit.so
+ auth requisite pam_nologin.so
- account include lightdm
+ auth required pam_succeed_if.so uid >= 1000 quiet
+ auth required pam_permit.so
- password include lightdm
+ account sufficient pam_unix.so
- session include lightdm
+ password requisite pam_unix.so nullok sha512
+
+ session optional pam_keyinit.so revoke
+ session include login
'';
users.users.lightdm = {
diff --git a/nixos/modules/services/x11/display-managers/sddm.nix b/nixos/modules/services/x11/display-managers/sddm.nix
index d1ed345ac57..c6cb281c2cc 100644
--- a/nixos/modules/services/x11/display-managers/sddm.nix
+++ b/nixos/modules/services/x11/display-managers/sddm.nix
@@ -7,7 +7,7 @@ let
xcfg = config.services.xserver;
dmcfg = xcfg.displayManager;
cfg = dmcfg.sddm;
- xEnv = config.systemd.services."display-manager".environment;
+ xEnv = config.systemd.services.display-manager.environment;
inherit (pkgs) sddm;
diff --git a/nixos/modules/services/x11/extra-layouts.nix b/nixos/modules/services/x11/extra-layouts.nix
new file mode 100644
index 00000000000..1af98a1318b
--- /dev/null
+++ b/nixos/modules/services/x11/extra-layouts.nix
@@ -0,0 +1,168 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ layouts = config.services.xserver.extraLayouts;
+
+ layoutOpts = {
+ options = {
+ description = mkOption {
+ type = types.str;
+ description = "A short description of the layout.";
+ };
+
+ languages = mkOption {
+ type = types.listOf types.str;
+ description =
+ ''
+ A list of languages provided by the layout.
+ (Use ISO 639-2 codes, for example: "eng" for english)
+ '';
+ };
+
+ compatFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ The path to the xkb compat file.
+ This file sets the compatibility state, used to preserve
+ compatibility with xkb-unaware programs.
+ It must contain a xkb_compat "name" { ... } block.
+ '';
+ };
+
+ geometryFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ The path to the xkb geometry file.
+ This (completely optional) file describes the physical layout of
+ keyboard, which maybe be used by programs to depict it.
+ It must contain a xkb_geometry "name" { ... } block.
+ '';
+ };
+
+ keycodesFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ The path to the xkb keycodes file.
+ This file specifies the range and the interpretation of the raw
+ keycodes sent by the keyboard.
+ It must contain a xkb_keycodes "name" { ... } block.
+ '';
+ };
+
+ symbolsFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ The path to the xkb symbols file.
+ This is the most important file: it defines which symbol or action
+ maps to each key and must contain a
+ xkb_symbols "name" { ... } block.
+ '';
+ };
+
+ typesFile = mkOption {
+ type = types.nullOr types.path;
+ default = null;
+ description = ''
+ The path to the xkb types file.
+ This file specifies the key types that can be associated with
+ the various keyboard keys.
+ It must contain a xkb_types "name" { ... } block.
+ '';
+ };
+
+ };
+ };
+
+in
+
+{
+
+ ###### interface
+
+ options.services.xserver = {
+ extraLayouts = mkOption {
+ type = types.attrsOf (types.submodule layoutOpts);
+ default = {};
+ example = literalExample
+ ''
+ {
+ mine = {
+ description = "My custom xkb layout.";
+ languages = [ "eng" ];
+ symbolsFile = /path/to/my/layout;
+ };
+ }
+ '';
+ description = ''
+ Extra custom layouts that will be included in the xkb configuration.
+ Information on how to create a new layout can be found here:
+ .
+ For more examples see
+
+ '';
+ };
+
+ };
+
+ ###### implementation
+
+ config = mkIf (layouts != { }) {
+
+ # We don't override xkeyboard_config directly to
+ # reduce the amount of packages to be recompiled.
+ # Only the following packages are necessary to set
+ # a custom layout anyway:
+ nixpkgs.overlays = lib.singleton (self: super: {
+
+ xkb_patched = self.xorg.xkeyboardconfig_custom {
+ layouts = config.services.xserver.extraLayouts;
+ };
+
+ xorg = super.xorg // {
+ xorgserver = super.xorg.xorgserver.overrideAttrs (old: {
+ configureFlags = old.configureFlags ++ [
+ "--with-xkb-bin-directory=${self.xorg.xkbcomp}/bin"
+ "--with-xkb-path=${self.xkb_patched}/share/X11/xkb"
+ ];
+ });
+
+ setxkbmap = super.xorg.setxkbmap.overrideAttrs (old: {
+ postInstall =
+ ''
+ mkdir -p $out/share
+ ln -sfn ${self.xkb_patched}/etc/X11 $out/share/X11
+ '';
+ });
+
+ xkbcomp = super.xorg.xkbcomp.overrideAttrs (old: {
+ configureFlags = "--with-xkb-config-root=${self.xkb_patched}/share/X11/xkb";
+ });
+
+ };
+
+ ckbcomp = super.ckbcomp.override {
+ xkeyboard_config = self.xkb_patched;
+ };
+
+ xkbvalidate = super.xkbvalidate.override {
+ libxkbcommon = self.libxkbcommon.override {
+ xkeyboard_config = self.xkb_patched;
+ };
+ };
+
+ });
+
+ services.xserver = {
+ xkbDir = "${pkgs.xkb_patched}/etc/X11/xkb";
+ exportConfiguration = config.services.xserver.displayManager.startx.enable;
+ };
+
+ };
+
+}
diff --git a/nixos/modules/services/x11/gdk-pixbuf.nix b/nixos/modules/services/x11/gdk-pixbuf.nix
index 2dc8eabd95a..9ad926369ec 100644
--- a/nixos/modules/services/x11/gdk-pixbuf.nix
+++ b/nixos/modules/services/x11/gdk-pixbuf.nix
@@ -5,21 +5,21 @@ with lib;
let
cfg = config.services.xserver.gdk-pixbuf;
- # Get packages to generate the cache for. We always include gdk_pixbuf.
- effectivePackages = unique ([pkgs.gdk_pixbuf] ++ cfg.modulePackages);
+ # Get packages to generate the cache for. We always include gdk-pixbuf.
+ effectivePackages = unique ([pkgs.gdk-pixbuf] ++ cfg.modulePackages);
# Generate the cache file by running gdk-pixbuf-query-loaders for each
# package and concatenating the results.
loadersCache = pkgs.runCommand "gdk-pixbuf-loaders.cache" { preferLocalBuild = true; } ''
(
for package in ${concatStringsSep " " effectivePackages}; do
- module_dir="$package/${pkgs.gdk_pixbuf.moduleDir}"
+ module_dir="$package/${pkgs.gdk-pixbuf.moduleDir}"
if [[ ! -d $module_dir ]]; then
echo "Warning (services.xserver.gdk-pixbuf): missing module directory $module_dir" 1>&2
continue
fi
GDK_PIXBUF_MODULEDIR="$module_dir" \
- ${pkgs.gdk_pixbuf.dev}/bin/gdk-pixbuf-query-loaders
+ ${pkgs.gdk-pixbuf.dev}/bin/gdk-pixbuf-query-loaders
done
) > "$out"
'';
diff --git a/nixos/modules/services/x11/hardware/cmt.nix b/nixos/modules/services/x11/hardware/cmt.nix
new file mode 100644
index 00000000000..95353e92098
--- /dev/null
+++ b/nixos/modules/services/x11/hardware/cmt.nix
@@ -0,0 +1,54 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+
+cfg = config.services.xserver.cmt;
+etcPath = "X11/xorg.conf.d";
+
+in {
+
+ options = {
+
+ services.xserver.cmt = {
+ enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "Enable chrome multitouch input (cmt). Touchpad drivers that are configured for chromebooks.";
+ };
+ models = mkOption {
+ type = types.enum [ "atlas" "banjo" "candy" "caroline" "cave" "celes" "clapper" "cyan" "daisy" "elan" "elm" "enguarde" "eve" "expresso" "falco" "gandof" "glimmer" "gnawty" "heli" "kevin" "kip" "leon" "lulu" "orco" "pbody" "peppy" "pi" "pit" "puppy" "quawks" "rambi" "samus" "snappy" "spring" "squawks" "swanky" "winky" "wolf" "auron_paine" "auron_yuna" "daisy_skate" "nyan_big" "nyan_blaze" "veyron_jaq" "veyron_jerry" "veyron_mighty" "veyron_minnie" "veyron_speedy" ];
+ example = "banjo";
+ description = ''
+ Which models to enable cmt for. Enter the Code Name for your Chromebook.
+ Code Name can be found at .
+ '';
+ };
+ }; #closes services
+ }; #closes options
+
+ config = mkIf cfg.enable {
+
+ services.xserver.modules = [ pkgs.xf86_input_cmt ];
+
+ environment.etc = {
+ "${etcPath}/40-touchpad-cmt.conf" = {
+ source = "${pkgs.chromium-xorg-conf}/40-touchpad-cmt.conf";
+ };
+ "${etcPath}/50-touchpad-cmt-${cfg.models}.conf" = {
+ source = "${pkgs.chromium-xorg-conf}/50-touchpad-cmt-${cfg.models}.conf";
+ };
+ "${etcPath}/60-touchpad-cmt-${cfg.models}.conf" = {
+ source = "${pkgs.chromium-xorg-conf}/60-touchpad-cmt-${cfg.models}.conf";
+ };
+ };
+
+ assertions = [
+ {
+ assertion = !config.services.xserver.libinput.enable;
+ message = "cmt and libinput are incompatible, you cannot enable both (in services.xserver).";
+ }
+ ];
+ };
+}
diff --git a/nixos/modules/services/x11/hardware/libinput.nix b/nixos/modules/services/x11/hardware/libinput.nix
index 58fe702d496..bd289976532 100644
--- a/nixos/modules/services/x11/hardware/libinput.nix
+++ b/nixos/modules/services/x11/hardware/libinput.nix
@@ -41,13 +41,13 @@ in {
};
accelSpeed = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description = "Cursor acceleration (how fast speed increases from minSpeed to maxSpeed).";
};
buttonMapping = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description =
''
@@ -61,7 +61,7 @@ in {
};
calibrationMatrix = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
description =
''
@@ -178,7 +178,7 @@ in {
};
additionalOptions = mkOption {
- type = types.str;
+ type = types.lines;
default = "";
example =
''
diff --git a/nixos/modules/services/x11/hardware/synaptics.nix b/nixos/modules/services/x11/hardware/synaptics.nix
index f032c593885..22af869f1f8 100644
--- a/nixos/modules/services/x11/hardware/synaptics.nix
+++ b/nixos/modules/services/x11/hardware/synaptics.nix
@@ -44,19 +44,19 @@ in {
};
accelFactor = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = "0.001";
description = "Cursor acceleration (how fast speed increases from minSpeed to maxSpeed).";
};
minSpeed = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = "0.6";
description = "Cursor speed factor for precision finger motion.";
};
maxSpeed = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = "1.0";
description = "Cursor speed factor for highest-speed finger motion.";
};
@@ -167,7 +167,7 @@ in {
services.xserver.modules = [ pkg.out ];
- environment.etc."${etcFile}".source =
+ environment.etc.${etcFile}.source =
"${pkg.out}/share/X11/xorg.conf.d/70-synaptics.conf";
environment.systemPackages = [ pkg ];
diff --git a/nixos/modules/services/x11/redshift.nix b/nixos/modules/services/x11/redshift.nix
index b7dd7debcb6..21b0b33553a 100644
--- a/nixos/modules/services/x11/redshift.nix
+++ b/nixos/modules/services/x11/redshift.nix
@@ -5,9 +5,26 @@ with lib;
let
cfg = config.services.redshift;
+ lcfg = config.location;
in {
+ imports = [
+ (mkChangedOptionModule [ "services" "redshift" "latitude" ] [ "location" "latitude" ]
+ (config:
+ let value = getAttrFromPath [ "services" "redshift" "latitude" ] config;
+ in if value == null then
+ throw "services.redshift.latitude is set to null, you can remove this"
+ else builtins.fromJSON value))
+ (mkChangedOptionModule [ "services" "redshift" "longitude" ] [ "location" "longitude" ]
+ (config:
+ let value = getAttrFromPath [ "services" "redshift" "longitude" ] config;
+ in if value == null then
+ throw "services.redshift.longitude is set to null, you can remove this"
+ else builtins.fromJSON value))
+ (mkRenamedOptionModule [ "services" "redshift" "provider" ] [ "location" "provider" ])
+ ];
+
options.services.redshift = {
enable = mkOption {
type = types.bool;
@@ -18,35 +35,6 @@ in {
'';
};
- latitude = mkOption {
- type = types.nullOr types.str;
- default = null;
- description = ''
- Your current latitude, between
- -90.0 and 90.0. Must be provided
- along with longitude.
- '';
- };
-
- longitude = mkOption {
- type = types.nullOr types.str;
- default = null;
- description = ''
- Your current longitude, between
- between -180.0 and 180.0. Must be
- provided along with latitude.
- '';
- };
-
- provider = mkOption {
- type = types.enum [ "manual" "geoclue2" ];
- default = "manual";
- description = ''
- The location provider to use for determining your location. If set to
- manual you must also provide latitude/longitude.
- '';
- };
-
temperature = {
day = mkOption {
type = types.int;
@@ -106,27 +94,19 @@ in {
};
config = mkIf cfg.enable {
- assertions = [
- {
- assertion =
- if cfg.provider == "manual"
- then (cfg.latitude != null && cfg.longitude != null)
- else (cfg.latitude == null && cfg.longitude == null);
- message = "Latitude and longitude must be provided together, and with provider set to null.";
- }
- ];
-
# needed so that .desktop files are installed, which geoclue cares about
environment.systemPackages = [ cfg.package ];
- services.geoclue2.enable = mkIf (cfg.provider == "geoclue2") true;
+ services.geoclue2.appConfig.redshift = {
+ isAllowed = true;
+ isSystem = true;
+ };
- systemd.user.services.redshift =
+ systemd.user.services.redshift =
let
- providerString =
- if cfg.provider == "manual"
- then "${cfg.latitude}:${cfg.longitude}"
- else cfg.provider;
+ providerString = if lcfg.provider == "manual"
+ then "${toString lcfg.latitude}:${toString lcfg.longitude}"
+ else lcfg.provider;
in
{
description = "Redshift colour temperature adjuster";
diff --git a/nixos/modules/services/x11/window-managers/xmonad.nix b/nixos/modules/services/x11/window-managers/xmonad.nix
index a6055f26789..0e131412276 100644
--- a/nixos/modules/services/x11/window-managers/xmonad.nix
+++ b/nixos/modules/services/x11/window-managers/xmonad.nix
@@ -59,7 +59,7 @@ in
config = mkOption {
default = null;
- type = with lib.types; nullOr (either path string);
+ type = with lib.types; nullOr (either path str);
description = ''
Configuration from which XMonad gets compiled. If no value
is specified, the xmonad config from $HOME/.xmonad is taken.
diff --git a/nixos/modules/services/x11/xautolock.nix b/nixos/modules/services/x11/xautolock.nix
index cbe000058dc..3e03131ca11 100644
--- a/nixos/modules/services/x11/xautolock.nix
+++ b/nixos/modules/services/x11/xautolock.nix
@@ -129,10 +129,10 @@ in
assertion = cfg.killer != null -> cfg.killtime >= 10;
message = "killtime has to be at least 10 minutes according to `man xautolock`";
}
- ] ++ (lib.flip map [ "locker" "notifier" "nowlocker" "killer" ]
+ ] ++ (lib.forEach [ "locker" "notifier" "nowlocker" "killer" ]
(option:
{
- assertion = cfg."${option}" != null -> builtins.substring 0 1 cfg."${option}" == "/";
+ assertion = cfg.${option} != null -> builtins.substring 0 1 cfg.${option} == "/";
message = "Please specify a canonical path for `services.xserver.xautolock.${option}`";
})
);
diff --git a/nixos/modules/services/x11/xserver.nix b/nixos/modules/services/x11/xserver.nix
index e767b0eda31..a8406544a72 100644
--- a/nixos/modules/services/x11/xserver.nix
+++ b/nixos/modules/services/x11/xserver.nix
@@ -4,8 +4,6 @@ with lib;
let
- kernelPackages = config.boot.kernelPackages;
-
# Abbreviations.
cfg = config.services.xserver;
xorg = pkgs.xorg;
@@ -16,6 +14,9 @@ let
# Alias so people can keep using "virtualbox" instead of "vboxvideo".
virtualbox = { modules = [ xorg.xf86videovboxvideo ]; driverName = "vboxvideo"; };
+ # Alias so that "radeon" uses the xf86-video-ati driver.
+ radeon = { modules = [ xorg.xf86videoati ]; driverName = "ati"; };
+
# modesetting does not have a xf86videomodesetting package as it is included in xorgserver
modesetting = {};
};
@@ -77,7 +78,7 @@ let
in imap1 mkHead cfg.xrandrHeads;
xrandrDeviceSection = let
- monitors = flip map xrandrHeads (h: ''
+ monitors = forEach xrandrHeads (h: ''
Option "monitor-${h.config.output}" "${h.name}"
'');
# First option is indented through the space in the config but any
@@ -243,7 +244,7 @@ in
videoDrivers = mkOption {
type = types.listOf types.str;
# !!! We'd like "nv" here, but it segfaults the X server.
- default = [ "ati" "cirrus" "vesa" "vmware" "modesetting" ];
+ default = [ "radeon" "cirrus" "vesa" "vmware" "modesetting" ];
example = [
"ati_unfree" "amdgpu" "amdgpu-pro"
"nv" "nvidia" "nvidiaLegacy390" "nvidiaLegacy340" "nvidiaLegacy304"
@@ -347,6 +348,7 @@ in
xkbDir = mkOption {
type = types.path;
+ default = "${pkgs.xkeyboard_config}/etc/X11/xkb";
description = ''
Path used for -xkbdir xserver parameter.
'';
@@ -657,16 +659,15 @@ in
systemd.services.display-manager =
{ description = "X11 Server";
- after = [ "systemd-udev-settle.service" "local-fs.target" "acpid.service" "systemd-logind.service" ];
+ after = [ "systemd-udev-settle.service" "acpid.service" "systemd-logind.service" ];
wants = [ "systemd-udev-settle.service" ];
restartIfChanged = false;
environment =
- {
- LD_LIBRARY_PATH = concatStringsSep ":" ([ "/run/opengl-driver/lib" ]
- ++ concatLists (catAttrs "libPath" cfg.drivers));
- } // cfg.displayManager.job.environment;
+ optionalAttrs config.hardware.opengl.setLdLibraryPath
+ { LD_LIBRARY_PATH = pkgs.addOpenGLRunpath.driverLink; }
+ // cfg.displayManager.job.environment;
preStart =
''
@@ -708,14 +709,12 @@ in
xorg.xf86inputevdev.out
];
- services.xserver.xkbDir = mkDefault "${pkgs.xkeyboard_config}/etc/X11/xkb";
-
system.extraDependencies = singleton (pkgs.runCommand "xkb-validated" {
inherit (cfg) xkbModel layout xkbVariant xkbOptions;
nativeBuildInputs = [ pkgs.xkbvalidate ];
preferLocalBuild = true;
} ''
- validate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions"
+ xkbvalidate "$xkbModel" "$layout" "$xkbVariant" "$xkbOptions"
touch "$out"
'');
diff --git a/nixos/modules/system/activation/activation-script.nix b/nixos/modules/system/activation/activation-script.nix
index 74c150a848d..ddfd1af4a31 100644
--- a/nixos/modules/system/activation/activation-script.nix
+++ b/nixos/modules/system/activation/activation-script.nix
@@ -218,7 +218,7 @@ in
systemd.user = {
services.nixos-activation = {
- description = "Run user specific NixOS activation";
+ description = "Run user-specific NixOS activation";
script = config.system.userActivationScripts.script;
unitConfig.ConditionUser = "!@system";
serviceConfig.Type = "oneshot";
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix
index 5c88d27b6c6..f67d2900561 100644
--- a/nixos/modules/system/activation/top-level.nix
+++ b/nixos/modules/system/activation/top-level.nix
@@ -46,8 +46,8 @@ let
ln -s ${kernelPath} $out/kernel
ln -s ${config.system.modulesTree} $out/kernel-modules
- ${optionalString (pkgs.stdenv.hostPlatform.platform.kernelDTB or false) ''
- ln -s ${config.boot.kernelPackages.kernel}/dtbs $out/dtbs
+ ${optionalString (config.hardware.deviceTree.package != null) ''
+ ln -s ${config.hardware.deviceTree.package} $out/dtbs
''}
echo -n "$kernelParams" > $out/kernel-params
diff --git a/nixos/modules/system/boot/binfmt.nix b/nixos/modules/system/boot/binfmt.nix
index d6c0f050486..a32c9dc1f2b 100644
--- a/nixos/modules/system/boot/binfmt.nix
+++ b/nixos/modules/system/boot/binfmt.nix
@@ -115,6 +115,14 @@ let
magicOrExtension = ''\x7fELF\x02\x01\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\xf3\x00'';
mask = ''\xff\xff\xff\xff\xff\xff\xff\x00\xff\xff\xff\xff\xff\xff\xff\xff\xfe\xff\xff\xff'';
};
+ wasm32-wasi = {
+ magicOrExtension = ''\x00asm'';
+ mask = ''\xff\xff\xff\xff'';
+ };
+ wasm64-wasi = {
+ magicOrExtension = ''\x00asm'';
+ mask = ''\xff\xff\xff\xff'';
+ };
x86_64-windows = {
magicOrExtension = ".exe";
recognitionType = "extension";
@@ -226,11 +234,12 @@ in {
emulatedSystems = mkOption {
default = [];
+ example = [ "wasm32-wasi" "x86_64-windows" "aarch64-linux" ];
description = ''
List of systems to emulate. Will also configure Nix to
support your new systems.
'';
- type = types.listOf types.string;
+ type = types.listOf types.str;
};
};
};
diff --git a/nixos/modules/system/boot/coredump.nix b/nixos/modules/system/boot/coredump.nix
deleted file mode 100644
index 30f367da766..00000000000
--- a/nixos/modules/system/boot/coredump.nix
+++ /dev/null
@@ -1,66 +0,0 @@
-{ config, lib, pkgs, ... }:
-
-with lib;
-
-{
-
- options = {
-
- systemd.coredump = {
-
- enable = mkOption {
- default = false;
- type = types.bool;
- description = ''
- Enables storing core dumps in systemd.
- Note that this alone is not enough to enable core dumps. The maximum
- file size for core dumps must be specified in limits.conf as well. See
- and the limits.conf(5)
- man page (these specify the core dump limits for user login sessions)
- and (where e.g.
- DefaultLimitCORE=1000000 can be specified to set
- the core dump limit for systemd system-level services).
- '';
- };
-
- extraConfig = mkOption {
- default = "";
- type = types.lines;
- example = "Storage=journal";
- description = ''
- Extra config options for systemd-coredump. See coredump.conf(5) man page
- for available options.
- '';
- };
- };
-
- };
-
- config = mkMerge [
- (mkIf config.systemd.coredump.enable {
-
- systemd.additionalUpstreamSystemUnits = [ "systemd-coredump.socket" "systemd-coredump@.service" ];
-
- environment.etc."systemd/coredump.conf".text =
- ''
- [Coredump]
- ${config.systemd.coredump.extraConfig}
- '';
-
- # Have the kernel pass core dumps to systemd's coredump helper binary.
- # From systemd's 50-coredump.conf file. See:
- #
- boot.kernel.sysctl."kernel.core_pattern" = "|${pkgs.systemd}/lib/systemd/systemd-coredump %P %u %g %s %t %c %e";
- })
-
- (mkIf (!config.systemd.coredump.enable) {
- boot.kernel.sysctl."kernel.core_pattern" = mkDefault "core";
-
- systemd.extraConfig =
- ''
- DefaultLimitCORE=0:infinity
- '';
- })
- ];
-
-}
diff --git a/nixos/modules/system/boot/kernel.nix b/nixos/modules/system/boot/kernel.nix
index ab919099d11..50dbf2f8365 100644
--- a/nixos/modules/system/boot/kernel.nix
+++ b/nixos/modules/system/boot/kernel.nix
@@ -36,6 +36,7 @@ in
boot.kernelPackages = mkOption {
default = pkgs.linuxPackages;
+ type = types.unspecified // { merge = mergeEqualOption; };
apply = kernelPackages: kernelPackages.extend (self: super: {
kernel = super.kernel.override {
inherit randstructSeed;
@@ -196,7 +197,7 @@ in
# (so you don't need to reboot to have changes take effect).
boot.kernelParams =
[ "loglevel=${toString config.boot.consoleLogLevel}" ] ++
- optionals config.boot.vesa [ "vga=0x317" ];
+ optionals config.boot.vesa [ "vga=0x317" "nomodeset" ];
boot.kernel.sysctl."kernel.printk" = mkDefault config.boot.consoleLogLevel;
@@ -260,7 +261,7 @@ in
source = kernelModulesConf;
};
- systemd.services."systemd-modules-load" =
+ systemd.services.systemd-modules-load =
{ wantedBy = [ "multi-user.target" ];
restartTriggers = [ kernelModulesConf ];
serviceConfig =
diff --git a/nixos/modules/system/boot/kernel_config.nix b/nixos/modules/system/boot/kernel_config.nix
index fbbd0982b2c..a316782dfc5 100644
--- a/nixos/modules/system/boot/kernel_config.nix
+++ b/nixos/modules/system/boot/kernel_config.nix
@@ -9,7 +9,6 @@ let
mergeAnswer = winners: locs: defs:
let
values = map (x: x.value) defs;
- freeformAnswer = intersectLists values winners;
inter = intersectLists values winners;
winner = head winners;
in
diff --git a/nixos/modules/system/boot/kexec.nix b/nixos/modules/system/boot/kexec.nix
index fd2cb94b756..27a8e0217c5 100644
--- a/nixos/modules/system/boot/kexec.nix
+++ b/nixos/modules/system/boot/kexec.nix
@@ -4,7 +4,7 @@
config = lib.mkIf (lib.any (lib.meta.platformMatch pkgs.stdenv.hostPlatform) pkgs.kexectools.meta.platforms) {
environment.systemPackages = [ pkgs.kexectools ];
- systemd.services."prepare-kexec" =
+ systemd.services.prepare-kexec =
{ description = "Preparation for kexec";
wantedBy = [ "kexec.target" ];
before = [ "systemd-kexec.service" ];
diff --git a/nixos/modules/system/boot/loader/generations-dir/generations-dir.nix b/nixos/modules/system/boot/loader/generations-dir/generations-dir.nix
index ff90a9b4617..2d27611946e 100644
--- a/nixos/modules/system/boot/loader/generations-dir/generations-dir.nix
+++ b/nixos/modules/system/boot/loader/generations-dir/generations-dir.nix
@@ -7,8 +7,8 @@ let
generationsDirBuilder = pkgs.substituteAll {
src = ./generations-dir-builder.sh;
isExecutable = true;
- inherit (pkgs.buildPackages) bash;
- path = with pkgs.buildPackages; [coreutils gnused gnugrep];
+ inherit (pkgs) bash;
+ path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
inherit (config.boot.loader.generationsDir) copyKernels;
};
diff --git a/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix b/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix
index 5f5dbe1092d..af39c7bb684 100644
--- a/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix
+++ b/nixos/modules/system/boot/loader/generic-extlinux-compatible/default.nix
@@ -8,7 +8,7 @@ let
timeoutStr = if blCfg.timeout == null then "-1" else toString blCfg.timeout;
- builder = import ./extlinux-conf-builder.nix { pkgs = pkgs.buildPackages; };
+ builder = import ./extlinux-conf-builder.nix { inherit pkgs; };
in
{
options = {
diff --git a/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.nix b/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.nix
index 9ac6b6b1224..576a07c1d27 100644
--- a/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.nix
+++ b/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.nix
@@ -3,6 +3,6 @@
pkgs.substituteAll {
src = ./extlinux-conf-builder.sh;
isExecutable = true;
- path = [pkgs.buildPackages.coreutils pkgs.buildPackages.gnused pkgs.buildPackages.gnugrep];
- inherit (pkgs.buildPackages) bash;
+ path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
+ inherit (pkgs) bash;
}
diff --git a/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh b/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh
index c780a89b102..0092ee92b62 100644
--- a/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh
+++ b/nixos/modules/system/boot/loader/generic-extlinux-compatible/extlinux-conf-builder.sh
@@ -75,9 +75,8 @@ addEntry() {
copyToKernelsDir "$path/kernel"; kernel=$result
copyToKernelsDir "$path/initrd"; initrd=$result
- # XXX UGLY: maybe the system config should have a top-level "dtbs" entry?
- dtbDir=$(readlink -m "$path/kernel/../dtbs")
- if [ -d "$dtbDir" ]; then
+ dtbDir=$(readlink -m "$path/dtbs")
+ if [ -e "$dtbDir" ]; then
copyToKernelsDir "$dtbDir"; dtbs=$result
fi
diff --git a/nixos/modules/system/boot/loader/grub/grub.nix b/nixos/modules/system/boot/loader/grub/grub.nix
index 99aa7759c95..e13f0421d38 100644
--- a/nixos/modules/system/boot/loader/grub/grub.nix
+++ b/nixos/modules/system/boot/loader/grub/grub.nix
@@ -8,7 +8,7 @@ let
efi = config.boot.loader.efi;
- grubPkgs =
+ grubPkgs =
# Package set of targeted architecture
if cfg.forcei686 then pkgs.pkgsi686Linux else pkgs;
@@ -72,7 +72,7 @@ let
else "${convertedFont}");
});
- bootDeviceCounters = fold (device: attr: attr // { "${device}" = (attr."${device}" or 0) + 1; }) {}
+ bootDeviceCounters = fold (device: attr: attr // { ${device} = (attr.${device} or 0) + 1; }) {}
(concatMap (args: args.devices) cfg.mirroredBoots);
convertedFont = (pkgs.runCommand "grub-font-converted.pf2" {}
@@ -333,7 +333,7 @@ in
};
backgroundColor = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
example = "#7EBAE4";
default = null;
description = ''
@@ -360,6 +360,7 @@ in
font = mkOption {
type = types.nullOr types.path;
default = "${realGrub}/share/grub/unicode.pf2";
+ defaultText = ''"''${pkgs.grub2}/share/grub/unicode.pf2"'';
description = ''
Path to a TrueType, OpenType, or pf2 font to be used by Grub.
'';
@@ -398,7 +399,7 @@ in
example = "text";
type = types.str;
description = ''
- The gfxpayload to pass to GRUB when loading a graphical boot interface under EFI.
+ The gfxpayload to pass to GRUB when loading a graphical boot interface under EFI.
'';
};
@@ -407,7 +408,7 @@ in
example = "keep";
type = types.str;
description = ''
- The gfxpayload to pass to GRUB when loading a graphical boot interface under BIOS.
+ The gfxpayload to pass to GRUB when loading a graphical boot interface under BIOS.
'';
};
@@ -534,7 +535,7 @@ in
default = false;
type = types.bool;
description = ''
- Whether to force the use of a ia32 boot loader on x64 systems. Required
+ Whether to force the use of a ia32 boot loader on x64 systems. Required
to install and run NixOS on 64bit x86 systems with 32bit (U)EFI.
'';
};
@@ -553,7 +554,7 @@ in
systemHasTPM = mkOption {
default = "";
example = "YES_TPM_is_activated";
- type = types.string;
+ type = types.str;
description = ''
Assertion that the target system has an activated TPM. It is a safety
check before allowing the activation of 'trustedBoot.enable'. TrustedBoot
@@ -683,7 +684,7 @@ in
assertion = if args.efiSysMountPoint == null then true else hasPrefix "/" args.efiSysMountPoint;
message = "EFI paths must be absolute, not ${args.efiSysMountPoint}";
}
- ] ++ flip map args.devices (device: {
+ ] ++ forEach args.devices (device: {
assertion = device == "nodev" || hasPrefix "/" device;
message = "GRUB devices must be absolute paths, not ${device} in ${args.path}";
}));
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl
index a36b3c180eb..a09c5dc4761 100644
--- a/nixos/modules/system/boot/loader/grub/install-grub.pl
+++ b/nixos/modules/system/boot/loader/grub/install-grub.pl
@@ -407,6 +407,29 @@ addEntry("NixOS - Default", $defaultConfig);
$conf .= "$extraEntries\n" unless $extraEntriesBeforeNixOS;
+# Find all the children of the current default configuration
+# Do not search for grand children
+my @links = sort (glob "$defaultConfig/fine-tune/*");
+foreach my $link (@links) {
+
+ my $entryName = "";
+
+ my $cfgName = readFile("$link/configuration-name");
+
+ my $date = strftime("%F", localtime(lstat($link)->mtime));
+ my $version =
+ -e "$link/nixos-version"
+ ? readFile("$link/nixos-version")
+ : basename((glob(dirname(Cwd::abs_path("$link/kernel")) . "/lib/modules/*"))[0]);
+
+ if ($cfgName) {
+ $entryName = $cfgName;
+ } else {
+ $entryName = "($date - $version)";
+ }
+ addEntry("NixOS - $entryName", $link);
+}
+
my $grubBootPath = $grubBoot->path;
# extraEntries could refer to @bootRoot@, which we have to substitute
$conf =~ s/\@bootRoot\@/$grubBootPath/g;
diff --git a/nixos/modules/system/boot/loader/init-script/init-script.nix b/nixos/modules/system/boot/loader/init-script/init-script.nix
index 385a2603678..374d9524ff1 100644
--- a/nixos/modules/system/boot/loader/init-script/init-script.nix
+++ b/nixos/modules/system/boot/loader/init-script/init-script.nix
@@ -7,8 +7,8 @@ let
initScriptBuilder = pkgs.substituteAll {
src = ./init-script-builder.sh;
isExecutable = true;
- inherit (pkgs.buildPackages) bash;
- path = with pkgs.buildPackages; [coreutils gnused gnugrep];
+ inherit (pkgs) bash;
+ path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
};
in
diff --git a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
index 7db60daa60b..1c8354e5269 100644
--- a/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
+++ b/nixos/modules/system/boot/loader/raspberrypi/raspberrypi.nix
@@ -10,7 +10,7 @@ let
builderUboot = import ./uboot-builder.nix { inherit pkgs configTxt; inherit (cfg) version; };
builderGeneric = import ./raspberrypi-builder.nix { inherit pkgs configTxt; };
- builder =
+ builder =
if cfg.uboot.enable then
"${builderUboot} -g ${toString cfg.uboot.configurationLimit} -t ${timeoutStr} -c"
else
@@ -86,7 +86,7 @@ in
firmwareConfig = mkOption {
default = null;
- type = types.nullOr types.string;
+ type = types.nullOr types.lines;
description = ''
Extra options that will be appended to /boot/config.txt file.
For possible values, see: https://www.raspberrypi.org/documentation/configuration/config-txt/
diff --git a/nixos/modules/system/boot/loader/raspberrypi/uboot-builder.nix b/nixos/modules/system/boot/loader/raspberrypi/uboot-builder.nix
index 94599a0081c..9d4f8a93d28 100644
--- a/nixos/modules/system/boot/loader/raspberrypi/uboot-builder.nix
+++ b/nixos/modules/system/boot/loader/raspberrypi/uboot-builder.nix
@@ -18,17 +18,18 @@ let
extlinuxConfBuilder =
import ../generic-extlinux-compatible/extlinux-conf-builder.nix {
- pkgs = pkgs.buildPackages;
+ inherit pkgs;
};
in
pkgs.substituteAll {
src = ./uboot-builder.sh;
isExecutable = true;
- inherit (pkgs.buildPackages) bash;
- path = with pkgs.buildPackages; [coreutils gnused gnugrep];
+ inherit (pkgs) bash;
+ path = [pkgs.coreutils pkgs.gnused pkgs.gnugrep];
firmware = pkgs.raspberrypifw;
inherit uboot;
inherit configTxt;
inherit extlinuxConfBuilder;
inherit version;
}
+
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
index 940d4c0eb97..f48a085ce57 100644
--- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
+++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot-builder.py
@@ -133,7 +133,9 @@ def get_generations(profile=None):
universal_newlines=True)
gen_lines = gen_list.split('\n')
gen_lines.pop()
- return [ (profile, int(line.split()[0])) for line in gen_lines ]
+
+ configurationLimit = @configurationLimit@
+ return [ (profile, int(line.split()[0])) for line in gen_lines ][-configurationLimit:]
def remove_old_entries(gens):
rex_profile = re.compile("^@efiSysMountPoint@/loader/entries/nixos-(.*)-generation-.*\.conf$")
@@ -154,7 +156,7 @@ def remove_old_entries(gens):
except ValueError:
pass
for path in glob.iglob("@efiSysMountPoint@/efi/nixos/*"):
- if not path in known_paths:
+ if not path in known_paths and not os.path.isdir(path):
os.unlink(path)
def get_profiles():
diff --git a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
index ad464a456bc..22d459ceb04 100644
--- a/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
+++ b/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix
@@ -12,7 +12,7 @@ let
isExecutable = true;
- inherit (pkgs.buildPackages) python3;
+ inherit (pkgs) python3;
systemd = config.systemd.package;
@@ -22,6 +22,8 @@ let
editor = if cfg.editor then "True" else "False";
+ configurationLimit = if cfg.configurationLimit == null then 0 else cfg.configurationLimit;
+
inherit (cfg) consoleMode;
inherit (efi) efiSysMountPoint canTouchEfiVariables;
@@ -57,6 +59,19 @@ in {
'';
};
+ configurationLimit = mkOption {
+ default = null;
+ example = 120;
+ type = types.nullOr types.int;
+ description = ''
+ Maximum number of latest generations in the boot menu.
+ Useful to prevent boot partition running out of disk space.
+
+ null means no limit i.e. all generations
+ that were not garbage collected yet.
+ '';
+ };
+
consoleMode = mkOption {
default = "keep";
diff --git a/nixos/modules/system/boot/luksroot.nix b/nixos/modules/system/boot/luksroot.nix
index 9dcb683eff4..a4029d766b0 100644
--- a/nixos/modules/system/boot/luksroot.nix
+++ b/nixos/modules/system/boot/luksroot.nix
@@ -438,6 +438,7 @@ in
default =
[ "aes" "aes_generic" "blowfish" "twofish"
"serpent" "cbc" "xts" "lrw" "sha1" "sha256" "sha512"
+ "af_alg" "algif_skcipher"
(if pkgs.stdenv.hostPlatform.system == "x86_64-linux" then "aes_x86_64" else "aes_i586")
];
@@ -475,7 +476,7 @@ in
boot.initrd.luks.devices = mkOption {
default = { };
- example = { "luksroot".device = "/dev/disk/by-uuid/430e9eff-d852-4f68-aa3b-2fa3599ebe08"; };
+ example = { luksroot.device = "/dev/disk/by-uuid/430e9eff-d852-4f68-aa3b-2fa3599ebe08"; };
description = ''
The encrypted disk that should be opened before the root
filesystem is mounted. Both LVM-over-LUKS and LUKS-over-LVM
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix
index 63a6f7fbe09..f2060e21509 100644
--- a/nixos/modules/system/boot/networkd.nix
+++ b/nixos/modules/system/boot/networkd.nix
@@ -10,7 +10,7 @@ let
checkLink = checkUnitConfig "Link" [
(assertOnlyFields [
- "Description" "Alias" "MACAddressPolicy" "MACAddress" "NamePolicy" "Name"
+ "Description" "Alias" "MACAddressPolicy" "MACAddress" "NamePolicy" "OriginalName"
"MTUBytes" "BitsPerSecond" "Duplex" "AutoNegotiation" "WakeOnLan" "Port"
"TCPSegmentationOffload" "TCP6SegmentationOffload" "GenericSegmentationOffload"
"GenericReceiveOffload" "LargeReceiveOffload" "RxChannels" "TxChannels"
@@ -55,6 +55,27 @@ let
(assertMacAddress "MACAddress")
];
+ # NOTE The PrivateKey directive is missing on purpose here, please
+ # do not add it to this list. The nix store is world-readable let's
+ # refrain ourselves from providing a footgun.
+ checkWireGuard = checkUnitConfig "WireGuard" [
+ (assertOnlyFields [
+ "PrivateKeyFile" "ListenPort" "FwMark"
+ ])
+ (assertRange "FwMark" 1 4294967295)
+ ];
+
+ # NOTE The PresharedKey directive is missing on purpose here, please
+ # do not add it to this list. The nix store is world-readable,let's
+ # refrain ourselves from providing a footgun.
+ checkWireGuardPeer = checkUnitConfig "WireGuardPeer" [
+ (assertOnlyFields [
+ "PublicKey" "PresharedKeyFile" "AllowedIPs"
+ "Endpoint" "PersistentKeepalive"
+ ])
+ (assertRange "PersistentKeepalive" 1 65535)
+ ];
+
checkVlan = checkUnitConfig "VLAN" [
(assertOnlyFields ["Id" "GVRP" "MVRP" "LooseBinding" "ReorderHeader"])
(assertRange "Id" 0 4094)
@@ -203,7 +224,7 @@ let
checkRoute = checkUnitConfig "Route" [
(assertOnlyFields [
- "Gateway" "GatewayOnlink" "Destination" "Source" "Metric"
+ "Gateway" "GatewayOnLink" "Destination" "Source" "Metric"
"IPv6Preference" "Scope" "PreferredSource" "Table" "Protocol" "Type"
"InitialCongestionWindow" "InitialAdvertisedReceiveWindow" "QuickAck"
"MTUBytes"
@@ -320,6 +341,46 @@ let
'';
};
+ wireguardConfig = mkOption {
+ default = {};
+ example = {
+ PrivateKeyFile = "/etc/wireguard/secret.key";
+ ListenPort = 51820;
+ FwMark = 42;
+ };
+ type = types.addCheck (types.attrsOf unitOption) checkWireGuard;
+ description = ''
+ Each attribute in this set specifies an option in the
+ [WireGuard] section of the unit. See
+ systemd.netdev
+ 5 for details.
+ Use PrivateKeyFile instead of
+ PrivateKey: the nix store is
+ world-readable.
+ '';
+ };
+
+ wireguardPeers = mkOption {
+ default = [];
+ example = [ { wireguardPeerConfig={
+ Endpoint = "192.168.1.1:51820";
+ PublicKey = "27s0OvaBBdHoJYkH9osZpjpgSOVNw+RaKfboT/Sfq0g=";
+ PresharedKeyFile = "/etc/wireguard/psk.key";
+ AllowedIPs = [ "10.0.0.1/32" ];
+ PersistentKeepalive = 15;
+ };}];
+ type = with types; listOf (submodule wireguardPeerOptions);
+ description = ''
+ Each item in this array specifies an option in the
+ [WireGuardPeer] section of the unit. See
+ systemd.netdev
+ 5 for details.
+ Use PresharedKeyFile instead of
+ PresharedKey: the nix store is
+ world-readable.
+ '';
+ };
+
vlanConfig = mkOption {
default = {};
example = { Id = "4"; };
@@ -450,6 +511,23 @@ let
};
};
+ wireguardPeerOptions = {
+ options = {
+ wireguardPeerConfig = mkOption {
+ default = {};
+ example = { };
+ type = types.addCheck (types.attrsOf unitOption) checkWireGuardPeer;
+ description = ''
+ Each attribute in this set specifies an option in the
+ [WireGuardPeer] section of the unit. See
+ systemd.network
+ 5 for details.
+ '';
+ };
+ };
+ };
+
+
networkOptions = commonNetworkOptions // {
networkConfig = mkOption {
@@ -669,7 +747,7 @@ let
};
};
- commonMatchText = def: ''
+ commonMatchText = def: optionalString (def.matchConfig != {}) ''
[Match]
${attrsToSection def.matchConfig}
'';
@@ -732,6 +810,16 @@ let
${attrsToSection def.bondConfig}
''}
+ ${optionalString (def.wireguardConfig != { }) ''
+ [WireGuard]
+ ${attrsToSection def.wireguardConfig}
+
+ ''}
+ ${flip concatMapStrings def.wireguardPeers (x: ''
+ [WireGuardPeer]
+ ${attrsToSection x.wireguardPeerConfig}
+
+ '')}
${def.extraConfig}
'';
};
diff --git a/nixos/modules/system/boot/resolved.nix b/nixos/modules/system/boot/resolved.nix
index 5c66cf4a6e6..3ea96f8e464 100644
--- a/nixos/modules/system/boot/resolved.nix
+++ b/nixos/modules/system/boot/resolved.nix
@@ -3,6 +3,10 @@
with lib;
let
cfg = config.services.resolved;
+
+ dnsmasqResolve = config.services.dnsmasq.enable &&
+ config.services.dnsmasq.resolveLocalQueries;
+
in
{
@@ -126,6 +130,12 @@ in
config = mkIf cfg.enable {
+ assertions = [
+ { assertion = !config.networking.useHostResolvConf;
+ message = "Using host resolv.conf is not supported with systemd-resolved";
+ }
+ ];
+
systemd.additionalUpstreamSystemUnits = [
"systemd-resolved.service"
];
@@ -135,21 +145,30 @@ in
restartTriggers = [ config.environment.etc."systemd/resolved.conf".source ];
};
- environment.etc."systemd/resolved.conf".text = ''
- [Resolve]
- ${optionalString (config.networking.nameservers != [])
- "DNS=${concatStringsSep " " config.networking.nameservers}"}
- ${optionalString (cfg.fallbackDns != [])
- "FallbackDNS=${concatStringsSep " " cfg.fallbackDns}"}
- ${optionalString (cfg.domains != [])
- "Domains=${concatStringsSep " " cfg.domains}"}
- LLMNR=${cfg.llmnr}
- DNSSEC=${cfg.dnssec}
- ${config.services.resolved.extraConfig}
- '';
+ environment.etc = {
+ "systemd/resolved.conf".text = ''
+ [Resolve]
+ ${optionalString (config.networking.nameservers != [])
+ "DNS=${concatStringsSep " " config.networking.nameservers}"}
+ ${optionalString (cfg.fallbackDns != [])
+ "FallbackDNS=${concatStringsSep " " cfg.fallbackDns}"}
+ ${optionalString (cfg.domains != [])
+ "Domains=${concatStringsSep " " cfg.domains}"}
+ LLMNR=${cfg.llmnr}
+ DNSSEC=${cfg.dnssec}
+ ${config.services.resolved.extraConfig}
+ '';
+
+ # symlink the dynamic stub resolver of resolv.conf as recommended by upstream:
+ # https://www.freedesktop.org/software/systemd/man/systemd-resolved.html#/etc/resolv.conf
+ "resolv.conf".source = "/run/systemd/resolve/stub-resolv.conf";
+ } // optionalAttrs dnsmasqResolve {
+ "dnsmasq-resolv.conf".source = "/run/systemd/resolve/resolv.conf";
+ };
# If networkmanager is enabled, ask it to interface with resolved.
networking.networkmanager.dns = "systemd-resolved";
+
};
}
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index 67cbe720ddc..b817a45deba 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -44,13 +44,13 @@ EOF
*) to ignore the error and continue
EOF
- read reply
+ read -n 1 reply
if [ -n "$allowShell" -a "$reply" = f ]; then
exec setsid @shell@ -c "exec @shell@ < /dev/$console >/dev/$console 2>/dev/$console"
elif [ -n "$allowShell" -a "$reply" = i ]; then
echo "Starting interactive shell..."
- setsid @shell@ -c "@shell@ < /dev/$console >/dev/$console 2>/dev/$console" || fail
+ setsid @shell@ -c "exec @shell@ < /dev/$console >/dev/$console 2>/dev/$console" || fail
elif [ "$reply" = r ]; then
echo "Rebooting..."
reboot -f
diff --git a/nixos/modules/system/boot/stage-1.nix b/nixos/modules/system/boot/stage-1.nix
index 788e3f4a2ab..4c2d130d5a5 100644
--- a/nixos/modules/system/boot/stage-1.nix
+++ b/nixos/modules/system/boot/stage-1.nix
@@ -217,13 +217,11 @@ let
--replace ata_id ${extraUtils}/bin/ata_id \
--replace scsi_id ${extraUtils}/bin/scsi_id \
--replace cdrom_id ${extraUtils}/bin/cdrom_id \
- --replace ${pkgs.utillinux}/sbin/blkid ${extraUtils}/bin/blkid \
- --replace /sbin/blkid ${extraUtils}/bin/blkid \
+ --replace ${pkgs.coreutils}/bin/basename ${extraUtils}/bin/basename \
+ --replace ${pkgs.utillinux}/bin/blkid ${extraUtils}/bin/blkid \
--replace ${pkgs.lvm2}/sbin ${extraUtils}/bin \
- --replace /sbin/mdadm ${extraUtils}/bin/mdadm \
+ --replace ${pkgs.mdadm}/sbin ${extraUtils}/sbin \
--replace ${pkgs.bash}/bin/sh ${extraUtils}/bin/sh \
- --replace /usr/bin/readlink ${extraUtils}/bin/readlink \
- --replace /usr/bin/basename ${extraUtils}/bin/basename \
--replace ${udev}/bin/udevadm ${extraUtils}/bin/udevadm
done
diff --git a/nixos/modules/system/boot/stage-2.nix b/nixos/modules/system/boot/stage-2.nix
index 55e6b19c67f..6b0b4722730 100644
--- a/nixos/modules/system/boot/stage-2.nix
+++ b/nixos/modules/system/boot/stage-2.nix
@@ -4,19 +4,20 @@ with lib;
let
+ useHostResolvConf = config.networking.resolvconf.enable && config.networking.useHostResolvConf;
+
bootStage2 = pkgs.substituteAll {
src = ./stage-2-init.sh;
shellDebug = "${pkgs.bashInteractive}/bin/bash";
shell = "${pkgs.bash}/bin/bash";
isExecutable = true;
inherit (config.nix) readOnlyStore;
- inherit (config.networking) useHostResolvConf;
+ inherit useHostResolvConf;
inherit (config.system.build) earlyMountScript;
- path = lib.makeBinPath [
+ path = lib.makeBinPath ([
pkgs.coreutils
pkgs.utillinux
- pkgs.openresolv
- ];
+ ] ++ lib.optional useHostResolvConf pkgs.openresolv);
fsPackagesPath = lib.makeBinPath config.system.fsPackages;
postBootCommands = pkgs.writeText "local-cmds"
''
diff --git a/nixos/modules/system/boot/systemd-nspawn.nix b/nixos/modules/system/boot/systemd-nspawn.nix
index 34a34091a7d..db6e06b4107 100644
--- a/nixos/modules/system/boot/systemd-nspawn.nix
+++ b/nixos/modules/system/boot/systemd-nspawn.nix
@@ -117,7 +117,7 @@ in {
environment.etc."systemd/nspawn".source = generateUnits "nspawn" units [] [];
- systemd.targets."multi-user".wants = [ "machines.target" ];
+ systemd.targets.multi-user.wants = [ "machines.target" ];
};
}
diff --git a/nixos/modules/system/boot/systemd-unit-options.nix b/nixos/modules/system/boot/systemd-unit-options.nix
index 63f974b704f..c1f2c98afcd 100644
--- a/nixos/modules/system/boot/systemd-unit-options.nix
+++ b/nixos/modules/system/boot/systemd-unit-options.nix
@@ -6,7 +6,7 @@ with import ./systemd-lib.nix { inherit config lib pkgs; };
let
checkService = checkUnitConfig "Service" [
(assertValueOneOf "Type" [
- "simple" "forking" "oneshot" "dbus" "notify" "idle"
+ "exec" "simple" "forking" "oneshot" "dbus" "notify" "idle"
])
(assertValueOneOf "Restart" [
"no" "on-success" "on-failure" "on-abnormal" "on-abort" "always"
@@ -226,7 +226,7 @@ in rec {
environment = mkOption {
default = {};
- type = with types; attrsOf (nullOr (either str (either path package)));
+ type = with types; attrsOf (nullOr (oneOf [ str path package ]));
example = { PATH = "/foo/bar/bin"; LANG = "nl_NL.UTF-8"; };
description = "Environment variables passed to the service's processes.";
};
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 18ee2ef1b8f..2287a82418f 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -76,6 +76,10 @@ let
"systemd-journald-dev-log.socket"
"syslog.socket"
+ # Coredumps.
+ "systemd-coredump.socket"
+ "systemd-coredump@.service"
+
# SysV init compatibility.
"systemd-initctl.socket"
"systemd-initctl.service"
@@ -108,11 +112,13 @@ let
# Hibernate / suspend.
"hibernate.target"
"suspend.target"
+ "suspend-then-hibernate.target"
"sleep.target"
"hybrid-sleep.target"
"systemd-hibernate.service"
"systemd-hybrid-sleep.service"
"systemd-suspend.service"
+ "systemd-suspend-then-hibernate.service"
# Reboot stuff.
"reboot.target"
@@ -186,6 +192,9 @@ let
"sockets.target"
"sound.target"
"systemd-exit.service"
+ "systemd-tmpfiles-clean.service"
+ "systemd-tmpfiles-clean.timer"
+ "systemd-tmpfiles-setup.service"
"timers.target"
];
@@ -319,7 +328,7 @@ let
[Service]
${let env = cfg.globalEnvironment // def.environment;
in concatMapStrings (n:
- let s = optionalString (env."${n}" != null)
+ let s = optionalString (env.${n} != null)
"Environment=${builtins.toJSON "${n}=${env.${n}}"}\n";
# systemd max line length is now 1MiB
# https://github.com/systemd/systemd/commit/e6dde451a51dc5aaa7f4d98d39b8fe735f73d2af
@@ -424,7 +433,8 @@ in
systemd.packages = mkOption {
default = [];
type = types.listOf types.package;
- description = "Packages providing systemd units.";
+ example = literalExample "[ pkgs.systemd-cryptsetup-generator ]";
+ description = "Packages providing systemd units and hooks.";
};
systemd.targets = mkOption {
@@ -486,7 +496,7 @@ in
systemd.generators = mkOption {
type = types.attrsOf types.path;
default = {};
- example = { "systemd-gpt-auto-generator" = "/dev/null"; };
+ example = { systemd-gpt-auto-generator = "/dev/null"; };
description = ''
Definition of systemd generators.
For each NAME = VALUE pair of the attrSet, a link is generated from
@@ -494,11 +504,14 @@ in
'';
};
- systemd.generator-packages = mkOption {
- default = [];
- type = types.listOf types.package;
- example = literalExample "[ pkgs.systemd-cryptsetup-generator ]";
- description = "Packages providing systemd generators.";
+ systemd.shutdown = mkOption {
+ type = types.attrsOf types.path;
+ default = {};
+ description = ''
+ Definition of systemd shutdown executables.
+ For each NAME = VALUE pair of the attrSet, a link is generated from
+ /etc/systemd/system-shutdown/NAME to VALUE.
+ '';
};
systemd.defaultUnit = mkOption {
@@ -517,7 +530,7 @@ in
};
systemd.globalEnvironment = mkOption {
- type = with types; attrsOf (nullOr (either str (either path package)));
+ type = with types; attrsOf (nullOr (oneOf [ str path package ]));
default = {};
example = { TZ = "CET"; };
description = ''
@@ -526,13 +539,23 @@ in
};
systemd.enableCgroupAccounting = mkOption {
- default = false;
+ default = true;
type = types.bool;
description = ''
Whether to enable cgroup accounting.
'';
};
+ systemd.coredump.extraConfig = mkOption {
+ default = "";
+ type = types.lines;
+ example = "Storage=journal";
+ description = ''
+ Extra config options for systemd-coredump. See coredump.conf(5) man page
+ for available options.
+ '';
+ };
+
systemd.extraConfig = mkOption {
default = "";
type = types.lines;
@@ -758,18 +781,21 @@ in
environment.systemPackages = [ systemd ];
environment.etc = let
- # generate contents for /etc/systemd/system-generators from
- # systemd.generators and systemd.generator-packages
- generators = pkgs.runCommand "system-generators" {
+ # generate contents for /etc/systemd/system-${type} from attrset of links and packages
+ hooks = type: links: pkgs.runCommand "system-${type}" {
preferLocalBuild = true;
- packages = cfg.generator-packages;
- } ''
+ packages = cfg.packages;
+ } ''
+ set -e
mkdir -p $out
for package in $packages
do
- ln -s $package/lib/systemd/system-generators/* $out/
- done;
- ${concatStrings (mapAttrsToList (generator: target: "ln -s ${target} $out/${generator};\n") cfg.generators)}
+ for hook in $package/lib/systemd/system-${type}/*
+ do
+ ln -s $hook $out/
+ done
+ done
+ ${concatStrings (mapAttrsToList (exec: target: "ln -s ${target} $out/${exec};\n") links)}
'';
in ({
"systemd/system".source = generateUnits "system" cfg.units upstreamSystemUnits upstreamSystemWants;
@@ -780,11 +806,12 @@ in
[Manager]
${optionalString config.systemd.enableCgroupAccounting ''
DefaultCPUAccounting=yes
+ DefaultBlockIOAccounting=yes
DefaultIOAccounting=yes
DefaultBlockIOAccounting=yes
- DefaultMemoryAccounting=yes
- DefaultTasksAccounting=yes
+ DefaultIPAccounting=yes
''}
+ DefaultLimitCORE=infinity
${config.systemd.extraConfig}
'';
@@ -808,6 +835,12 @@ in
${config.services.journald.extraConfig}
'';
+ "systemd/coredump.conf".text =
+ ''
+ [Coredump]
+ ${config.systemd.coredump.extraConfig}
+ '';
+
"systemd/logind.conf".text = ''
[Login]
KillUserProcesses=${if config.services.logind.killUserProcesses then "yes" else "no"}
@@ -821,6 +854,10 @@ in
[Sleep]
'';
+ # install provided sysctl snippets
+ "sysctl.d/50-coredump.conf".source = "${systemd}/example/sysctl.d/50-coredump.conf";
+ "sysctl.d/50-default.conf".source = "${systemd}/example/sysctl.d/50-default.conf";
+
"tmpfiles.d/systemd.conf".source = "${systemd}/example/tmpfiles.d/systemd.conf";
"tmpfiles.d/x11.conf".source = "${systemd}/example/tmpfiles.d/x11.conf";
@@ -831,7 +868,8 @@ in
${concatStringsSep "\n" cfg.tmpfiles.rules}
'';
- "systemd/system-generators" = { source = generators; };
+ "systemd/system-generators" = { source = hooks "generators" cfg.generators; };
+ "systemd/system-shutdown" = { source = hooks "shutdown" cfg.shutdown; };
});
services.dbus.enable = true;
@@ -940,7 +978,6 @@ in
# Don't bother with certain units in containers.
systemd.services.systemd-remount-fs.unitConfig.ConditionVirtualization = "!container";
systemd.services.systemd-random-seed.unitConfig.ConditionVirtualization = "!container";
-
};
# FIXME: Remove these eventually.
@@ -949,5 +986,4 @@ in
(mkRenamedOptionModule [ "boot" "systemd" "targets" ] [ "systemd" "targets" ])
(mkRenamedOptionModule [ "boot" "systemd" "services" ] [ "systemd" "services" ])
];
-
}
diff --git a/nixos/modules/system/boot/timesyncd.nix b/nixos/modules/system/boot/timesyncd.nix
index 8d8bfe5900a..8282cdd6f3a 100644
--- a/nixos/modules/system/boot/timesyncd.nix
+++ b/nixos/modules/system/boot/timesyncd.nix
@@ -40,6 +40,15 @@ with lib;
users.users.systemd-timesync.uid = config.ids.uids.systemd-timesync;
users.groups.systemd-timesync.gid = config.ids.gids.systemd-timesync;
+ system.activationScripts.systemd-timesyncd-migration = mkIf (versionOlder config.system.stateVersion "19.09") ''
+ # workaround an issue of systemd-timesyncd not starting due to upstream systemd reverting their dynamic users changes
+ # - https://github.com/NixOS/nixpkgs/pull/61321#issuecomment-492423742
+ # - https://github.com/systemd/systemd/issues/12131
+ if [ -L /var/lib/systemd/timesync ]; then
+ rm /var/lib/systemd/timesync
+ mv /var/lib/private/systemd/timesync /var/lib/systemd/timesync
+ fi
+ '';
};
}
diff --git a/nixos/modules/tasks/auto-upgrade.nix b/nixos/modules/tasks/auto-upgrade.nix
index 91f4ae79ee9..7fe06699191 100644
--- a/nixos/modules/tasks/auto-upgrade.nix
+++ b/nixos/modules/tasks/auto-upgrade.nix
@@ -53,6 +53,16 @@ let cfg = config.system.autoUpgrade; in
'';
};
+ allowReboot = mkOption {
+ default = false;
+ type = types.bool;
+ description = ''
+ Reboot the system into the new generation instead of a switch
+ if the new generation uses a different kernel, kernel modules
+ or initrd than the booted system.
+ '';
+ };
+
};
};
@@ -78,11 +88,23 @@ let cfg = config.system.autoUpgrade; in
HOME = "/root";
} // config.networking.proxy.envVars;
- path = [ pkgs.gnutar pkgs.xz.bin pkgs.gitMinimal config.nix.package.out ];
+ path = with pkgs; [ coreutils gnutar xz.bin gzip gitMinimal config.nix.package.out ];
- script = ''
- ${config.system.build.nixos-rebuild}/bin/nixos-rebuild switch ${toString cfg.flags}
- '';
+ script = let
+ nixos-rebuild = "${config.system.build.nixos-rebuild}/bin/nixos-rebuild";
+ in
+ if cfg.allowReboot then ''
+ ${nixos-rebuild} boot ${toString cfg.flags}
+ booted="$(readlink /run/booted-system/{initrd,kernel,kernel-modules})"
+ built="$(readlink /nix/var/nix/profiles/system/{initrd,kernel,kernel-modules})"
+ if [ "$booted" = "$built" ]; then
+ ${nixos-rebuild} switch ${toString cfg.flags}
+ else
+ /run/current-system/sw/bin/shutdown -r +1
+ fi
+ '' else ''
+ ${nixos-rebuild} switch ${toString cfg.flags}
+ '';
startAt = cfg.dates;
};
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix
index 43764bb82f1..688c77cb22d 100644
--- a/nixos/modules/tasks/filesystems.nix
+++ b/nixos/modules/tasks/filesystems.nix
@@ -12,7 +12,7 @@ let
fileSystems' = toposort fsBefore (attrValues config.fileSystems);
- fileSystems = if fileSystems' ? "result"
+ fileSystems = if fileSystems' ? result
then # use topologically sorted fileSystems everywhere
fileSystems'.result
else # the assertion below will catch this,
@@ -211,7 +211,7 @@ in
ls = sep: concatMapStringsSep sep (x: x.mountPoint);
notAutoResizable = fs: fs.autoResize && !(hasPrefix "ext" fs.fsType || fs.fsType == "f2fs");
in [
- { assertion = ! (fileSystems' ? "cycle");
+ { assertion = ! (fileSystems' ? cycle);
message = "The ‘fileSystems’ option can't be topologically sorted: mountpoint dependency path ${ls " -> " fileSystems'.cycle} loops to ${ls ", " fileSystems'.loops}";
}
{ assertion = ! (any notAutoResizable fileSystems);
diff --git a/nixos/modules/tasks/filesystems/nfs.nix b/nixos/modules/tasks/filesystems/nfs.nix
index d3a558738f4..e0e8bb1f03d 100644
--- a/nixos/modules/tasks/filesystems/nfs.nix
+++ b/nixos/modules/tasks/filesystems/nfs.nix
@@ -56,7 +56,6 @@ in
boot.initrd.kernelModules = mkIf inInitrd [ "nfs" ];
systemd.packages = [ pkgs.nfs-utils ];
- systemd.generator-packages = [ pkgs.nfs-utils ];
environment.etc = {
"idmapd.conf".source = idmapdConfFile;
diff --git a/nixos/modules/tasks/filesystems/xfs.nix b/nixos/modules/tasks/filesystems/xfs.nix
index c6a90bcf1a5..98038701ca5 100644
--- a/nixos/modules/tasks/filesystems/xfs.nix
+++ b/nixos/modules/tasks/filesystems/xfs.nix
@@ -18,6 +18,7 @@ in
boot.initrd.extraUtilsCommands = mkIf inInitrd
''
copy_bin_and_libs ${pkgs.xfsprogs.bin}/bin/fsck.xfs
+ copy_bin_and_libs ${pkgs.xfsprogs.bin}/bin/xfs_repair
'';
# Trick just to set 'sh' after the extraUtils nuke-refs.
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix
index 37a19fb9fc8..2ed8c5aa292 100644
--- a/nixos/modules/tasks/filesystems/zfs.nix
+++ b/nixos/modules/tasks/filesystems/zfs.nix
@@ -1,8 +1,6 @@
{ config, lib, pkgs, utils, ... }:
#
-# todo:
-# - crontab for scrubs, etc
-# - zfs tunables
+# TODO: zfs tunables
with utils;
with lib;
@@ -13,6 +11,7 @@ let
cfgSnapshots = config.services.zfs.autoSnapshot;
cfgSnapFlags = cfgSnapshots.flags;
cfgScrub = config.services.zfs.autoScrub;
+ cfgTrim = config.services.zfs.trim;
inInitrd = any (fs: fs == "zfs") config.boot.initrd.supportedFilesystems;
inSystem = any (fs: fs == "zfs") config.boot.supportedFilesystems;
@@ -24,11 +23,9 @@ let
kernel = config.boot.kernelPackages;
packages = if config.boot.zfs.enableUnstable then {
- spl = null;
zfs = kernel.zfsUnstable;
zfsUser = pkgs.zfsUnstable;
} else {
- spl = kernel.spl;
zfs = kernel.zfs;
zfsUser = pkgs.zfs;
};
@@ -181,10 +178,9 @@ in
requestEncryptionCredentials = mkOption {
type = types.bool;
- default = config.boot.zfs.enableUnstable;
+ default = true;
description = ''
Request encryption keys or passwords for all encrypted datasets on import.
- Dataset encryption is only supported in zfsUnstable at the moment.
For root pools the encryption key can be supplied via both an
interactive prompt (keylocation=prompt) and from a file
(keylocation=file://). Note that for data pools the encryption key can
@@ -271,14 +267,26 @@ in
};
};
- services.zfs.autoScrub = {
- enable = mkOption {
- default = false;
- type = types.bool;
+ services.zfs.trim = {
+ enable = mkEnableOption "Enables periodic TRIM on all ZFS pools.";
+
+ interval = mkOption {
+ default = "weekly";
+ type = types.str;
+ example = "daily";
description = ''
- Enables periodic scrubbing of ZFS pools.
+ How often we run trim. For most desktop and server systems
+ a sufficient trimming frequency is once a week.
+
+ The format is described in
+ systemd.time
+ 7.
'';
};
+ };
+
+ services.zfs.autoScrub = {
+ enable = mkEnableOption "Enables periodic scrubbing of ZFS pools.";
interval = mkOption {
default = "Sun, 02:00";
@@ -316,17 +324,13 @@ in
assertion = !cfgZfs.forceImportAll || cfgZfs.forceImportRoot;
message = "If you enable boot.zfs.forceImportAll, you must also enable boot.zfs.forceImportRoot";
}
- {
- assertion = cfgZfs.requestEncryptionCredentials -> cfgZfs.enableUnstable;
- message = "This feature is only available for zfs unstable. Set the NixOS option boot.zfs.enableUnstable.";
- }
];
virtualisation.lxd.zfsSupport = true;
boot = {
- kernelModules = [ "zfs" ] ++ optional (!cfgZfs.enableUnstable) "spl";
- extraModulePackages = with packages; [ zfs ] ++ optional (!cfgZfs.enableUnstable) spl;
+ kernelModules = [ "zfs" ];
+ extraModulePackages = with packages; [ zfs ];
};
boot.initrd = mkIf inInitrd {
@@ -465,7 +469,7 @@ in
map createSyncService allPools ++
map createZfsService [ "zfs-mount" "zfs-share" "zfs-zed" ]);
- systemd.targets."zfs-import" =
+ systemd.targets.zfs-import =
let
services = map (pool: "zfs-import-${pool}.service") dataPools;
in
@@ -475,7 +479,7 @@ in
wantedBy = [ "zfs.target" ];
};
- systemd.targets."zfs".wantedBy = [ "multi-user.target" ];
+ systemd.targets.zfs.wantedBy = [ "multi-user.target" ];
})
(mkIf enableAutoSnapshots {
@@ -542,5 +546,17 @@ in
};
};
})
+
+ (mkIf cfgTrim.enable {
+ systemd.services.zpool-trim = {
+ description = "ZFS pools trim";
+ after = [ "zfs-import.target" ];
+ path = [ packages.zfsUser ];
+ startAt = cfgTrim.interval;
+ script = ''
+ zpool list -H -o name | xargs -n1 zpool trim
+ '';
+ };
+ })
];
}
diff --git a/nixos/modules/tasks/kbd.nix b/nixos/modules/tasks/kbd.nix
index 6d34f897d18..c6ba998b19e 100644
--- a/nixos/modules/tasks/kbd.nix
+++ b/nixos/modules/tasks/kbd.nix
@@ -73,7 +73,7 @@ in
config = mkMerge [
(mkIf (!setVconsole) {
- systemd.services."systemd-vconsole-setup".enable = false;
+ systemd.services.systemd-vconsole-setup.enable = false;
})
(mkIf setVconsole (mkMerge [
@@ -83,7 +83,7 @@ in
# virtual consoles.
environment.etc."vconsole.conf".source = vconsoleConf;
# Provide kbd with additional packages.
- environment.etc."kbd".source = "${kbdEnv}/share";
+ environment.etc.kbd.source = "${kbdEnv}/share";
boot.initrd.preLVMCommands = mkBefore ''
kbd_mode ${if isUnicode then "-u" else "-a"} -C /dev/console
@@ -99,7 +99,7 @@ in
'') config.i18n.consoleColors}
'';
- systemd.services."systemd-vconsole-setup" =
+ systemd.services.systemd-vconsole-setup =
{ before = [ "display-manager.service" ];
after = [ "systemd-udev-settle.service" ];
restartTriggers = [ vconsoleConf kbdEnv ];
diff --git a/nixos/modules/tasks/network-interfaces-scripted.nix b/nixos/modules/tasks/network-interfaces-scripted.nix
index c12ada7a030..1726d05115e 100644
--- a/nixos/modules/tasks/network-interfaces-scripted.nix
+++ b/nixos/modules/tasks/network-interfaces-scripted.nix
@@ -103,7 +103,7 @@ let
script =
''
- ${optionalString (!config.environment.etc?"resolv.conf") ''
+ ${optionalString config.networking.resolvconf.enable ''
# Set the static DNS configuration, if given.
${pkgs.openresolv}/sbin/resolvconf -m 1 -a static < cfg.enableIPv6;
message = ''
Temporary addresses are only needed when IPv6 is enabled.
@@ -967,8 +967,8 @@ in
"net.ipv6.conf.default.disable_ipv6" = mkDefault (!cfg.enableIPv6);
"net.ipv6.conf.all.forwarding" = mkDefault (any (i: i.proxyARP) interfaces);
} // listToAttrs (flip concatMap (filter (i: i.proxyARP) interfaces)
- (i: flip map [ "4" "6" ] (v: nameValuePair "net.ipv${v}.conf.${i.name}.proxy_arp" true)))
- // listToAttrs (flip map (filter (i: i.preferTempAddress) interfaces)
+ (i: forEach [ "4" "6" ] (v: nameValuePair "net.ipv${v}.conf.${i.name}.proxy_arp" true)))
+ // listToAttrs (forEach (filter (i: i.preferTempAddress) interfaces)
(i: nameValuePair "net.ipv6.conf.${i.name}.use_tempaddr" 2));
# Capabilities won't work unless we have at-least a 4.3 Linux
@@ -994,7 +994,7 @@ in
domainname "${cfg.domain}"
'';
- environment.etc."hostid" = mkIf (cfg.hostId != null)
+ environment.etc.hostid = mkIf (cfg.hostId != null)
{ source = pkgs.runCommand "gen-hostid" { preferLocalBuild = true; } ''
hi="${cfg.hostId}"
${if pkgs.stdenv.isBigEndian then ''
@@ -1007,7 +1007,7 @@ in
# static hostname configuration needed for hostnamectl and the
# org.freedesktop.hostname1 dbus service (both provided by systemd)
- environment.etc."hostname" = mkIf (cfg.hostName != "")
+ environment.etc.hostname = mkIf (cfg.hostName != "")
{
text = cfg.hostName + "\n";
};
@@ -1017,7 +1017,6 @@ in
pkgs.iproute
pkgs.iputils
pkgs.nettools
- pkgs.openresolv
]
++ optionals config.networking.wireless.enable [
pkgs.wirelesstools # FIXME: obsolete?
@@ -1028,7 +1027,7 @@ in
# The network-interfaces target is kept for backwards compatibility.
# New modules must NOT use it.
- systemd.targets."network-interfaces" =
+ systemd.targets.network-interfaces =
{ description = "All Network Interfaces (deprecated)";
wantedBy = [ "network.target" ];
before = [ "network.target" ];
@@ -1051,7 +1050,7 @@ in
${cfg.localCommands}
'';
};
- } // (listToAttrs (flip map interfaces (i:
+ } // (listToAttrs (forEach interfaces (i:
let
deviceDependency = if (config.boot.isContainer || i.name == "lo")
then []
@@ -1087,7 +1086,24 @@ in
virtualisation.vswitch = mkIf (cfg.vswitches != { }) { enable = true; };
- services.udev.packages = mkIf (cfg.wlanInterfaces != {}) [
+ services.udev.packages = [
+ (pkgs.writeTextFile rec {
+ name = "ipv6-privacy-extensions.rules";
+ destination = "/etc/udev/rules.d/98-${name}";
+ text = ''
+ # enable and prefer IPv6 privacy addresses by default
+ ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.%k.use_tempaddr=2"
+ '';
+ })
+ (pkgs.writeTextFile rec {
+ name = "ipv6-privacy-extensions.rules";
+ destination = "/etc/udev/rules.d/99-${name}";
+ text = concatMapStrings (i: ''
+ # enable IPv6 privacy addresses but prefer EUI-64 addresses for ${i.name}
+ ACTION=="add", SUBSYSTEM=="net", RUN+="${pkgs.procps}/bin/sysctl net.ipv6.conf.${i.name}.use_tempaddr=1"
+ '') (filter (i: !i.preferTempAddress) interfaces);
+ })
+ ] ++ lib.optional (cfg.wlanInterfaces != {})
(pkgs.writeTextFile {
name = "99-zzz-40-wlanInterfaces.rules";
destination = "/etc/udev/rules.d/99-zzz-40-wlanInterfaces.rules";
@@ -1146,13 +1162,13 @@ in
in
flip (concatMapStringsSep "\n") (attrNames wlanDeviceInterfaces) (device:
let
- interfaces = wlanListDeviceFirst device wlanDeviceInterfaces."${device}";
+ interfaces = wlanListDeviceFirst device wlanDeviceInterfaces.${device};
curInterface = elemAt interfaces 0;
newInterfaces = drop 1 interfaces;
in ''
# It is important to have that rule first as overwriting the NAME attribute also prevents the
# next rules from matching.
- ${flip (concatMapStringsSep "\n") (wlanListDeviceFirst device wlanDeviceInterfaces."${device}") (interface:
+ ${flip (concatMapStringsSep "\n") (wlanListDeviceFirst device wlanDeviceInterfaces.${device}) (interface:
''ACTION=="add", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", ENV{INTERFACE}=="${interface._iName}", ${systemdAttrs interface._iName}, RUN+="${newInterfaceScript device interface}"'')}
# Add the required, new WLAN interfaces to the default WLAN interface with the
@@ -1161,8 +1177,7 @@ in
# Generate the same systemd events for both 'add' and 'move' udev events.
ACTION=="move", SUBSYSTEM=="net", ENV{DEVTYPE}=="wlan", NAME=="${device}", ${systemdAttrs curInterface._iName}
'');
- }) ];
-
+ });
};
}
diff --git a/nixos/modules/tasks/swraid.nix b/nixos/modules/tasks/swraid.nix
index 93e03c44c86..8fa19194bed 100644
--- a/nixos/modules/tasks/swraid.nix
+++ b/nixos/modules/tasks/swraid.nix
@@ -6,51 +6,12 @@
services.udev.packages = [ pkgs.mdadm ];
+ systemd.packages = [ pkgs.mdadm ];
+
boot.initrd.availableKernelModules = [ "md_mod" "raid0" "raid1" "raid10" "raid456" ];
boot.initrd.extraUdevRulesCommands = ''
cp -v ${pkgs.mdadm}/lib/udev/rules.d/*.rules $out/
'';
- systemd.services.mdadm-shutdown = {
- wantedBy = [ "final.target"];
- after = [ "umount.target" ];
-
- unitConfig = {
- DefaultDependencies = false;
- };
-
- serviceConfig = {
- Type = "oneshot";
- ExecStart = ''${pkgs.mdadm}/bin/mdadm --wait-clean --scan'';
- };
- };
-
- systemd.services."mdmon@" = {
- description = "MD Metadata Monitor on /dev/%I";
-
- unitConfig.DefaultDependencies = false;
-
- serviceConfig = {
- Type = "forking";
- Environment = "IMSM_NO_PLATFORM=1";
- ExecStart = ''${pkgs.mdadm}/bin/mdmon --offroot --takeover %I'';
- KillMode = "none";
- };
- };
-
- systemd.services."mdadm-grow-continue@" = {
- description = "Manage MD Reshape on /dev/%I";
-
- unitConfig.DefaultDependencies = false;
-
- serviceConfig = {
- ExecStart = ''${pkgs.mdadm}/bin/mdadm --grow --continue /dev/%I'';
- StandardInput = "null";
- StandardOutput = "null";
- StandardError = "null";
- KillMode = "none";
- };
- };
-
}
diff --git a/nixos/modules/testing/test-instrumentation.nix b/nixos/modules/testing/test-instrumentation.nix
index ed4cfa7805e..1a11d9ce7c2 100644
--- a/nixos/modules/testing/test-instrumentation.nix
+++ b/nixos/modules/testing/test-instrumentation.nix
@@ -129,9 +129,6 @@ with import ../../lib/qemu-flags.nix { inherit pkgs; };
users.users.root.initialHashedPassword = mkOverride 150 "";
services.xserver.displayManager.job.logToJournal = true;
-
- # set default stateVersion to avoid warnings during eval
- system.stateVersion = mkDefault "18.03";
};
}
diff --git a/nixos/modules/virtualisation/amazon-image.nix b/nixos/modules/virtualisation/amazon-image.nix
index d67790702f1..aadfc5add35 100644
--- a/nixos/modules/virtualisation/amazon-image.nix
+++ b/nixos/modules/virtualisation/amazon-image.nix
@@ -25,6 +25,9 @@ in
{ assertion = cfg.hvm;
message = "Paravirtualized EC2 instances are no longer supported.";
}
+ { assertion = cfg.efi -> cfg.hvm;
+ message = "EC2 instances using EFI must be HVM instances.";
+ }
];
boot.growPartition = cfg.hvm;
@@ -35,10 +38,14 @@ in
autoResize = true;
};
- boot.extraModulePackages =
- [ config.boot.kernelPackages.ixgbevf
- config.boot.kernelPackages.ena
- ];
+ fileSystems."/boot" = mkIf cfg.efi {
+ device = "/dev/disk/by-label/ESP";
+ fsType = "vfat";
+ };
+
+ boot.extraModulePackages = [
+ config.boot.kernelPackages.ena
+ ];
boot.initrd.kernelModules = [ "xen-blkfront" "xen-netfront" ];
boot.initrd.availableKernelModules = [ "ixgbevf" "ena" "nvme" ];
boot.kernelParams = mkIf cfg.hvm [ "console=ttyS0" ];
@@ -51,8 +58,10 @@ in
# Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd.
boot.loader.grub.version = if cfg.hvm then 2 else 1;
- boot.loader.grub.device = if cfg.hvm then "/dev/xvda" else "nodev";
+ boot.loader.grub.device = if (cfg.hvm && !cfg.efi) then "/dev/xvda" else "nodev";
boot.loader.grub.extraPerEntryConfig = mkIf (!cfg.hvm) "root (hd0)";
+ boot.loader.grub.efiSupport = cfg.efi;
+ boot.loader.grub.efiInstallAsRemovable = cfg.efi;
boot.loader.timeout = 0;
boot.initrd.network.enable = true;
@@ -138,7 +147,7 @@ in
networking.timeServers = [ "169.254.169.123" ];
# udisks has become too bloated to have in a headless system
- # (e.g. it depends on GTK+).
+ # (e.g. it depends on GTK).
services.udisks2.enable = false;
};
}
diff --git a/nixos/modules/virtualisation/amazon-options.nix b/nixos/modules/virtualisation/amazon-options.nix
index 15de8638bba..2e807131e93 100644
--- a/nixos/modules/virtualisation/amazon-options.nix
+++ b/nixos/modules/virtualisation/amazon-options.nix
@@ -1,4 +1,4 @@
-{ config, lib, ... }:
+{ config, lib, pkgs, ... }:
{
options = {
ec2 = {
@@ -9,6 +9,13 @@
Whether the EC2 instance is a HVM instance.
'';
};
+ efi = lib.mkOption {
+ default = pkgs.stdenv.hostPlatform.isAarch64;
+ internal = true;
+ description = ''
+ Whether the EC2 instance is using EFI.
+ '';
+ };
};
};
}
diff --git a/nixos/modules/virtualisation/anbox.nix b/nixos/modules/virtualisation/anbox.nix
index 9cb89e7b292..da5df358073 100644
--- a/nixos/modules/virtualisation/anbox.nix
+++ b/nixos/modules/virtualisation/anbox.nix
@@ -56,7 +56,7 @@ in
dns = mkOption {
default = "1.1.1.1";
- type = types.string;
+ type = types.str;
description = ''
Container DNS server.
'';
@@ -100,12 +100,7 @@ in
wantedBy = [ "multi-user.target" ];
after = [ "systemd-udev-settle.service" ];
preStart = let
- initsh = let
- ip = cfg.ipv4.container.address;
- gw = cfg.ipv4.gateway.address;
- dns = cfg.ipv4.dns;
- in
- pkgs.writeText "nixos-init" (''
+ initsh = pkgs.writeText "nixos-init" (''
#!/system/bin/sh
setprop nixos.version ${config.system.nixos.version}
diff --git a/nixos/modules/virtualisation/azure-agent.nix b/nixos/modules/virtualisation/azure-agent.nix
index 770cefbcd51..036b1036f92 100644
--- a/nixos/modules/virtualisation/azure-agent.nix
+++ b/nixos/modules/virtualisation/azure-agent.nix
@@ -166,7 +166,6 @@ in
wantedBy = [ "sshd.service" "waagent.service" ];
before = [ "sshd.service" "waagent.service" ];
- after = [ "local-fs.target" ];
path = [ pkgs.coreutils ];
script =
diff --git a/nixos/modules/virtualisation/azure-image.nix b/nixos/modules/virtualisation/azure-image.nix
index dd2108ccc37..e91dd72ff5d 100644
--- a/nixos/modules/virtualisation/azure-image.nix
+++ b/nixos/modules/virtualisation/azure-image.nix
@@ -26,7 +26,6 @@ in
wantedBy = [ "sshd.service" "waagent.service" ];
before = [ "sshd.service" "waagent.service" ];
- after = [ "local-fs.target" ];
path = [ pkgs.coreutils ];
script =
diff --git a/nixos/modules/virtualisation/brightbox-image.nix b/nixos/modules/virtualisation/brightbox-image.nix
index e716982c510..d0efbcc808a 100644
--- a/nixos/modules/virtualisation/brightbox-image.nix
+++ b/nixos/modules/virtualisation/brightbox-image.nix
@@ -111,7 +111,7 @@ in
# Always include cryptsetup so that NixOps can use it.
environment.systemPackages = [ pkgs.cryptsetup ];
- systemd.services."fetch-ec2-data" =
+ systemd.services.fetch-ec2-data =
{ description = "Fetch EC2 Data";
wantedBy = [ "multi-user.target" "sshd.service" ];
diff --git a/nixos/modules/virtualisation/cloudstack-config.nix b/nixos/modules/virtualisation/cloudstack-config.nix
index 81c54567627..78afebdc5dd 100644
--- a/nixos/modules/virtualisation/cloudstack-config.nix
+++ b/nixos/modules/virtualisation/cloudstack-config.nix
@@ -1,4 +1,4 @@
-{ config, lib, pkgs, ... }:
+{ lib, pkgs, ... }:
with lib;
diff --git a/nixos/modules/virtualisation/containers.nix b/nixos/modules/virtualisation/containers.nix
index d10c4feecb4..9c9f8fc0c21 100644
--- a/nixos/modules/virtualisation/containers.nix
+++ b/nixos/modules/virtualisation/containers.nix
@@ -138,7 +138,7 @@ let
--bind-ro=/nix/var/nix/daemon-socket \
--bind="/nix/var/nix/profiles/per-container/$INSTANCE:/nix/var/nix/profiles" \
--bind="/nix/var/nix/gcroots/per-container/$INSTANCE:/nix/var/nix/gcroots" \
- --link-journal=try-guest \
+ ${optionalString (!cfg.ephemeral) "--link-journal=try-guest"} \
--setenv PRIVATE_NETWORK="$PRIVATE_NETWORK" \
--setenv HOST_BRIDGE="$HOST_BRIDGE" \
--setenv HOST_ADDRESS="$HOST_ADDRESS" \
@@ -147,6 +147,7 @@ let
--setenv LOCAL_ADDRESS6="$LOCAL_ADDRESS6" \
--setenv HOST_PORT="$HOST_PORT" \
--setenv PATH="$PATH" \
+ ${optionalString cfg.ephemeral "--ephemeral"} \
${if cfg.additionalCapabilities != null && cfg.additionalCapabilities != [] then
''--capability="${concatStringsSep " " cfg.additionalCapabilities}"'' else ""
} \
@@ -247,12 +248,18 @@ let
Type = "notify";
+ RuntimeDirectory = lib.optional cfg.ephemeral "containers/%i";
+
# Note that on reboot, systemd-nspawn returns 133, so this
# unit will be restarted. On poweroff, it returns 0, so the
# unit won't be restarted.
RestartForceExitStatus = "133";
SuccessExitStatus = "133";
+ # Some containers take long to start
+ # especially when you automatically start many at once
+ TimeoutStartSec = cfg.timeoutStartSec;
+
Restart = "on-failure";
Slice = "machine.slice";
@@ -330,7 +337,7 @@ let
networkOptions = {
hostBridge = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
example = "br0";
description = ''
@@ -380,7 +387,7 @@ let
};
hostAddress6 = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
example = "fc00::1";
description = ''
@@ -402,7 +409,7 @@ let
};
localAddress6 = mkOption {
- type = types.nullOr types.string;
+ type = types.nullOr types.str;
default = null;
example = "fc00::2";
description = ''
@@ -419,6 +426,8 @@ let
{
extraVeths = {};
additionalCapabilities = [];
+ ephemeral = false;
+ timeoutStartSec = "15s";
allowedDevices = [];
hostAddress = null;
hostAddress6 = null;
@@ -445,7 +454,7 @@ in
type = types.bool;
default = !config.boot.isContainer;
description = ''
- Whether to enable support for nixos containers.
+ Whether to enable support for NixOS containers.
'';
};
@@ -465,20 +474,24 @@ in
merge = loc: defs: (import ../../lib/eval-config.nix {
inherit system;
modules =
- let extraConfig =
- { boot.isContainer = true;
- networking.hostName = mkDefault name;
- networking.useDHCP = false;
- assertions = [
- {
- assertion = config.privateNetwork -> stringLength name < 12;
- message = ''
- Container name `${name}` is too long: When `privateNetwork` is enabled, container names can
- not be longer than 11 characters, because the container's interface name is derived from it.
- This might be fixed in the future. See https://github.com/NixOS/nixpkgs/issues/38509
- '';
- }
- ];
+ let
+ extraConfig = {
+ _file = "module at ${__curPos.file}:${toString __curPos.line}";
+ config = {
+ boot.isContainer = true;
+ networking.hostName = mkDefault name;
+ networking.useDHCP = false;
+ assertions = [
+ {
+ assertion = config.privateNetwork -> stringLength name < 12;
+ message = ''
+ Container name `${name}` is too long: When `privateNetwork` is enabled, container names can
+ not be longer than 11 characters, because the container's interface name is derived from it.
+ This might be fixed in the future. See https://github.com/NixOS/nixpkgs/issues/38509
+ '';
+ }
+ ];
+ };
};
in [ extraConfig ] ++ (map (x: x.value) defs);
prefix = [ "containers" name ];
@@ -507,6 +520,26 @@ in
information.
'';
};
+
+ ephemeral = mkOption {
+ type = types.bool;
+ default = false;
+ description = ''
+ Runs container in ephemeral mode with the empty root filesystem at boot.
+ This way container will be bootstrapped from scratch on each boot
+ and will be cleaned up on shutdown leaving no traces behind.
+ Useful for completely stateless, reproducible containers.
+
+ Note that this option might require to do some adjustments to the container configuration,
+ e.g. you might want to set
+ systemd.network.networks.$interface.dhcpConfig.ClientIdentifier to "mac"
+ if you use macvlans option.
+ This way dhcp client identifier will be stable between the container restarts.
+
+ Note that the container journal will not be linked to the host if this option is enabled.
+ '';
+ };
+
enableTun = mkOption {
type = types.bool;
default = false;
@@ -532,7 +565,7 @@ in
};
interfaces = mkOption {
- type = types.listOf types.string;
+ type = types.listOf types.str;
default = [];
example = [ "eth1" "eth2" ];
description = ''
@@ -567,6 +600,18 @@ in
'';
};
+ timeoutStartSec = mkOption {
+ type = types.str;
+ default = "1min";
+ description = ''
+ Time for the container to start. In case of a timeout,
+ the container processes get killed.
+ See systemd.time
+ 7
+ for more information about the format.
+ '';
+ };
+
bindMounts = mkOption {
type = with types; loaOf (submodule bindMountOpts);
default = {};
@@ -655,12 +700,14 @@ in
unit = {
description = "Container '%i'";
- unitConfig.RequiresMountsFor = [ "/var/lib/containers/%i" ];
+ unitConfig.RequiresMountsFor = "/var/lib/containers/%i";
path = [ pkgs.iproute ];
- environment.INSTANCE = "%i";
- environment.root = "/var/lib/containers/%i";
+ environment = {
+ root = "/var/lib/containers/%i";
+ INSTANCE = "%i";
+ };
preStart = preStartScript dummyConfig;
@@ -682,14 +729,14 @@ in
serviceConfig = serviceDirectives dummyConfig;
};
in {
- systemd.targets."multi-user".wants = [ "machines.target" ];
+ systemd.targets.multi-user.wants = [ "machines.target" ];
systemd.services = listToAttrs (filter (x: x.value != null) (
# The generic container template used by imperative containers
[{ name = "container@"; value = unit; }]
# declarative containers
++ (mapAttrsToList (name: cfg: nameValuePair "container@${name}" (let
- config = cfg // (
+ containerConfig = cfg // (
if cfg.enableTun then
{
allowedDevices = cfg.allowedDevices
@@ -699,19 +746,24 @@ in
}
else {});
in
- unit // {
- preStart = preStartScript config;
- script = startScript config;
- postStart = postStartScript config;
- serviceConfig = serviceDirectives config;
+ recursiveUpdate unit {
+ preStart = preStartScript containerConfig;
+ script = startScript containerConfig;
+ postStart = postStartScript containerConfig;
+ serviceConfig = serviceDirectives containerConfig;
+ unitConfig.RequiresMountsFor = lib.optional (!containerConfig.ephemeral) "/var/lib/containers/%i";
+ environment.root = if containerConfig.ephemeral then "/run/containers/%i" else "/var/lib/containers/%i";
} // (
- if config.autoStart then
+ if containerConfig.autoStart then
{
wantedBy = [ "machines.target" ];
wants = [ "network.target" ];
after = [ "network.target" ];
- restartTriggers = [ config.path ];
- reloadIfChanged = true;
+ restartTriggers = [
+ containerConfig.path
+ config.environment.etc."containers/${name}.conf".source
+ ];
+ restartIfChanged = true;
}
else {})
)) config.containers)
diff --git a/nixos/modules/virtualisation/docker-containers.nix b/nixos/modules/virtualisation/docker-containers.nix
index 3e882a1383f..59b0943f591 100644
--- a/nixos/modules/virtualisation/docker-containers.nix
+++ b/nixos/modules/virtualisation/docker-containers.nix
@@ -5,7 +5,7 @@ let
cfg = config.docker-containers;
dockerContainer =
- { name, config, ... }: {
+ { ... }: {
options = {
diff --git a/nixos/modules/virtualisation/ec2-data.nix b/nixos/modules/virtualisation/ec2-data.nix
index db3dd9949c1..82451787e8a 100644
--- a/nixos/modules/virtualisation/ec2-data.nix
+++ b/nixos/modules/virtualisation/ec2-data.nix
@@ -64,7 +64,7 @@ with lib;
serviceConfig.RemainAfterExit = true;
};
- systemd.services."print-host-key" =
+ systemd.services.print-host-key =
{ description = "Print SSH Host Key";
wantedBy = [ "multi-user.target" ];
after = [ "sshd.service" ];
diff --git a/nixos/modules/virtualisation/google-compute-config.nix b/nixos/modules/virtualisation/google-compute-config.nix
index 2ee22b80f2f..327324f2921 100644
--- a/nixos/modules/virtualisation/google-compute-config.nix
+++ b/nixos/modules/virtualisation/google-compute-config.nix
@@ -2,7 +2,6 @@
with lib;
let
gce = pkgs.google-compute-engine;
- cfg = config.virtualisation.googleComputeImage;
in
{
imports = [
@@ -22,7 +21,7 @@ in
boot.initrd.kernelModules = [ "virtio_scsi" ];
boot.kernelModules = [ "virtio_pci" "virtio_net" ];
- # Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd.
+ # Generate a GRUB menu.
boot.loader.grub.device = "/dev/sda";
boot.loader.timeout = 0;
@@ -30,12 +29,16 @@ in
# way to select them anyway.
boot.loader.grub.configurationLimit = 0;
- # Allow root logins only using the SSH key that the user specified
- # at instance creation time.
+ # Allow root logins only using SSH keys
+ # and disable password authentication in general
services.openssh.enable = true;
services.openssh.permitRootLogin = "prohibit-password";
services.openssh.passwordAuthentication = mkDefault false;
+ # enable OS Login. This also requires setting enable-oslogin=TRUE metadata on
+ # instance or project level
+ security.googleOsLogin.enable = true;
+
# Use GCE udev rules for dynamic disk volumes
services.udev.packages = [ gce ];
@@ -66,171 +69,80 @@ in
# GC has 1460 MTU
networking.interfaces.eth0.mtu = 1460;
- security.googleOsLogin.enable = true;
-
- systemd.services.google-clock-skew-daemon = {
- description = "Google Compute Engine Clock Skew Daemon";
- after = [
- "network.target"
- "google-instance-setup.service"
- "google-network-setup.service"
- ];
- requires = ["network.target"];
- wantedBy = ["multi-user.target"];
- serviceConfig = {
- Type = "simple";
- ExecStart = "${gce}/bin/google_clock_skew_daemon --debug";
- };
- };
-
systemd.services.google-instance-setup = {
description = "Google Compute Engine Instance Setup";
- after = ["local-fs.target" "network-online.target" "network.target" "rsyslog.service"];
- before = ["sshd.service"];
- wants = ["local-fs.target" "network-online.target" "network.target"];
- wantedBy = [ "sshd.service" "multi-user.target" ];
- path = with pkgs; [ ethtool openssh ];
+ after = [ "network-online.target" "network.target" "rsyslog.service" ];
+ before = [ "sshd.service" ];
+ path = with pkgs; [ coreutils ethtool openssh ];
serviceConfig = {
- ExecStart = "${gce}/bin/google_instance_setup --debug";
+ ExecStart = "${gce}/bin/google_instance_setup";
+ StandardOutput="journal+console";
Type = "oneshot";
};
+ wantedBy = [ "sshd.service" "multi-user.target" ];
};
systemd.services.google-network-daemon = {
description = "Google Compute Engine Network Daemon";
- after = ["local-fs.target" "network-online.target" "network.target" "rsyslog.service" "google-instance-setup.service"];
- wants = ["local-fs.target" "network-online.target" "network.target"];
- requires = ["network.target"];
- partOf = ["network.target"];
- wantedBy = [ "multi-user.target" ];
+ after = [ "network-online.target" "network.target" "google-instance-setup.service" ];
path = with pkgs; [ iproute ];
serviceConfig = {
- ExecStart = "${gce}/bin/google_network_daemon --debug";
+ ExecStart = "${gce}/bin/google_network_daemon";
+ StandardOutput="journal+console";
+ Type="simple";
};
+ wantedBy = [ "multi-user.target" ];
};
+ systemd.services.google-clock-skew-daemon = {
+ description = "Google Compute Engine Clock Skew Daemon";
+ after = [ "network.target" "google-instance-setup.service" "google-network-daemon.service" ];
+ serviceConfig = {
+ ExecStart = "${gce}/bin/google_clock_skew_daemon";
+ StandardOutput="journal+console";
+ Type = "simple";
+ };
+ wantedBy = ["multi-user.target"];
+ };
+
+
systemd.services.google-shutdown-scripts = {
description = "Google Compute Engine Shutdown Scripts";
after = [
- "local-fs.target"
"network-online.target"
"network.target"
"rsyslog.service"
- "systemd-resolved.service"
"google-instance-setup.service"
"google-network-daemon.service"
];
- wants = [ "local-fs.target" "network-online.target" "network.target"];
- wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.coreutils}/bin/true";
- ExecStop = "${gce}/bin/google_metadata_script_runner --debug --script-type shutdown";
- Type = "oneshot";
+ ExecStop = "${gce}/bin/google_metadata_script_runner --script-type shutdown";
RemainAfterExit = true;
- TimeoutStopSec = "infinity";
+ StandardOutput="journal+console";
+ TimeoutStopSec = "0";
+ Type = "oneshot";
};
+ wantedBy = [ "multi-user.target" ];
};
systemd.services.google-startup-scripts = {
description = "Google Compute Engine Startup Scripts";
after = [
- "local-fs.target"
"network-online.target"
"network.target"
"rsyslog.service"
"google-instance-setup.service"
"google-network-daemon.service"
];
- wants = ["local-fs.target" "network-online.target" "network.target"];
- wantedBy = [ "multi-user.target" ];
serviceConfig = {
- ExecStart = "${gce}/bin/google_metadata_script_runner --debug --script-type startup";
+ ExecStart = "${gce}/bin/google_metadata_script_runner --script-type startup";
KillMode = "process";
+ StandardOutput = "journal+console";
Type = "oneshot";
};
+ wantedBy = [ "multi-user.target" ];
};
-
- # Settings taken from https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google_config/sysctl/11-gce-network-security.conf
- boot.kernel.sysctl = {
- # Turn on SYN-flood protections. Starting with 2.6.26, there is no loss
- # of TCP functionality/features under normal conditions. When flood
- # protections kick in under high unanswered-SYN load, the system
- # should remain more stable, with a trade off of some loss of TCP
- # functionality/features (e.g. TCP Window scaling).
- "net.ipv4.tcp_syncookies" = mkDefault "1";
-
- # ignores source-routed packets
- "net.ipv4.conf.all.accept_source_route" = mkDefault "0";
-
- # ignores source-routed packets
- "net.ipv4.conf.default.accept_source_route" = mkDefault "0";
-
- # ignores ICMP redirects
- "net.ipv4.conf.all.accept_redirects" = mkDefault "0";
-
- # ignores ICMP redirects
- "net.ipv4.conf.default.accept_redirects" = mkDefault "0";
-
- # ignores ICMP redirects from non-GW hosts
- "net.ipv4.conf.all.secure_redirects" = mkDefault "1";
-
- # ignores ICMP redirects from non-GW hosts
- "net.ipv4.conf.default.secure_redirects" = mkDefault "1";
-
- # don't allow traffic between networks or act as a router
- "net.ipv4.ip_forward" = mkDefault "0";
-
- # don't allow traffic between networks or act as a router
- "net.ipv4.conf.all.send_redirects" = mkDefault "0";
-
- # don't allow traffic between networks or act as a router
- "net.ipv4.conf.default.send_redirects" = mkDefault "0";
-
- # reverse path filtering - IP spoofing protection
- "net.ipv4.conf.all.rp_filter" = mkDefault "1";
-
- # reverse path filtering - IP spoofing protection
- "net.ipv4.conf.default.rp_filter" = mkDefault "1";
-
- # ignores ICMP broadcasts to avoid participating in Smurf attacks
- "net.ipv4.icmp_echo_ignore_broadcasts" = mkDefault "1";
-
- # ignores bad ICMP errors
- "net.ipv4.icmp_ignore_bogus_error_responses" = mkDefault "1";
-
- # logs spoofed, source-routed, and redirect packets
- "net.ipv4.conf.all.log_martians" = mkDefault "1";
-
- # log spoofed, source-routed, and redirect packets
- "net.ipv4.conf.default.log_martians" = mkDefault "1";
-
- # implements RFC 1337 fix
- "net.ipv4.tcp_rfc1337" = mkDefault "1";
-
- # randomizes addresses of mmap base, heap, stack and VDSO page
- "kernel.randomize_va_space" = mkDefault "2";
-
- # Reboot the machine soon after a kernel panic.
- "kernel.panic" = mkDefault "10";
-
- ## Not part of the original config
-
- # provides protection from ToCToU races
- "fs.protected_hardlinks" = mkDefault "1";
-
- # provides protection from ToCToU races
- "fs.protected_symlinks" = mkDefault "1";
-
- # makes locating kernel addresses more difficult
- "kernel.kptr_restrict" = mkDefault "1";
-
- # set ptrace protections
- "kernel.yama.ptrace_scope" = mkOverride 500 "1";
-
- # set perf only available to root
- "kernel.perf_event_paranoid" = mkDefault "2";
-
- };
-
+ environment.etc."sysctl.d/11-gce-network-security.conf".source = "${gce}/sysctl.d/11-gce-network-security.conf";
}
diff --git a/nixos/modules/virtualisation/kvmgt.nix b/nixos/modules/virtualisation/kvmgt.nix
index 132815a0ad6..36ef6d17df6 100644
--- a/nixos/modules/virtualisation/kvmgt.nix
+++ b/nixos/modules/virtualisation/kvmgt.nix
@@ -4,13 +4,16 @@ with lib;
let
cfg = config.virtualisation.kvmgt;
+
kernelPackages = config.boot.kernelPackages;
+
vgpuOptions = {
uuid = mkOption {
- type = types.string;
+ type = types.str;
description = "UUID of VGPU device. You can generate one with libossp_uuid.";
};
};
+
in {
options = {
virtualisation.kvmgt = {
@@ -20,7 +23,7 @@ in {
'';
# multi GPU support is under the question
device = mkOption {
- type = types.string;
+ type = types.str;
default = "0000:00:02.0";
description = "PCI ID of graphics card. You can figure it with ls /sys/class/mdev_bus.";
};
@@ -32,7 +35,7 @@ in {
and find info about device via cat /sys/bus/pci/devices/*/mdev_supported_types/i915-GVTg_V5_4/description
'';
example = {
- "i915-GVTg_V5_8" = {
+ i915-GVTg_V5_8 = {
uuid = "a297db4a-f4c2-11e6-90f6-d3b88d6c9525";
};
};
@@ -45,23 +48,32 @@ in {
assertion = versionAtLeast kernelPackages.kernel.version "4.16";
message = "KVMGT is not properly supported for kernels older than 4.16";
};
- boot.kernelParams = [ "i915.enable_gvt=1" ];
+
+ boot.kernelModules = [ "kvmgt" ];
+
+ boot.extraModprobeConfig = ''
+ options i915 enable_gvt=1
+ '';
+
+ systemd.paths = mapAttrs' (name: value:
+ nameValuePair "kvmgt-${name}" {
+ description = "KVMGT VGPU ${name} path";
+ wantedBy = [ "multi-user.target" ];
+ pathConfig = {
+ PathExists = "/sys/bus/pci/devices/${cfg.device}/mdev_supported_types/${name}/create";
+ };
+ }
+ ) cfg.vgpus;
+
systemd.services = mapAttrs' (name: value:
nameValuePair "kvmgt-${name}" {
description = "KVMGT VGPU ${name}";
serviceConfig = {
- Type = "forking";
+ Type = "oneshot";
RemainAfterExit = true;
- Restart = "on-failure";
- RestartSec = 5;
ExecStart = "${pkgs.runtimeShell} -c 'echo ${value.uuid} > /sys/bus/pci/devices/${cfg.device}/mdev_supported_types/${name}/create'";
ExecStop = "${pkgs.runtimeShell} -c 'echo 1 > /sys/bus/pci/devices/${cfg.device}/${value.uuid}/remove'";
};
- unitConfig = {
- StartLimitBurst = 5;
- StartLimitIntervalSec = 30;
- };
- wantedBy = [ "multi-user.target" ];
}
) cfg.vgpus;
};
diff --git a/nixos/modules/virtualisation/libvirtd.nix b/nixos/modules/virtualisation/libvirtd.nix
index f4d7af1664a..16b79d86919 100644
--- a/nixos/modules/virtualisation/libvirtd.nix
+++ b/nixos/modules/virtualisation/libvirtd.nix
@@ -23,14 +23,16 @@ let
''}
${cfg.qemuVerbatimConfig}
'';
+ dirName = "libvirt";
+ subDirs = list: [ dirName ] ++ map (e: "${dirName}/${e}") list;
in {
###### interface
- options = {
+ options.virtualisation.libvirtd = {
- virtualisation.libvirtd.enable = mkOption {
+ enable = mkOption {
type = types.bool;
default = false;
description = ''
@@ -41,7 +43,7 @@ in {
'';
};
- virtualisation.libvirtd.qemuPackage = mkOption {
+ qemuPackage = mkOption {
type = types.package;
default = pkgs.qemu;
description = ''
@@ -51,7 +53,7 @@ in {
'';
};
- virtualisation.libvirtd.extraConfig = mkOption {
+ extraConfig = mkOption {
type = types.lines;
default = "";
description = ''
@@ -60,7 +62,7 @@ in {
'';
};
- virtualisation.libvirtd.qemuRunAsRoot = mkOption {
+ qemuRunAsRoot = mkOption {
type = types.bool;
default = true;
description = ''
@@ -72,7 +74,7 @@ in {
'';
};
- virtualisation.libvirtd.qemuVerbatimConfig = mkOption {
+ qemuVerbatimConfig = mkOption {
type = types.lines;
default = ''
namespaces = []
@@ -84,7 +86,7 @@ in {
'';
};
- virtualisation.libvirtd.qemuOvmf = mkOption {
+ qemuOvmf = mkOption {
type = types.bool;
default = true;
description = ''
@@ -93,7 +95,7 @@ in {
'';
};
- virtualisation.libvirtd.extraOptions = mkOption {
+ extraOptions = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "--verbose" ];
@@ -102,7 +104,19 @@ in {
'';
};
- virtualisation.libvirtd.onShutdown = mkOption {
+ onBoot = mkOption {
+ type = types.enum ["start" "ignore" ];
+ default = "start";
+ description = ''
+ Specifies the action to be done to / on the guests when the host boots.
+ The "start" option starts all guests that were running prior to shutdown
+ regardless of their autostart settings. The "ignore" option will not
+ start the formally running guest on boot. However, any guest marked as
+ autostart will still be automatically started by libvirtd.
+ '';
+ };
+
+ onShutdown = mkOption {
type = types.enum ["shutdown" "suspend" ];
default = "suspend";
description = ''
@@ -113,6 +127,14 @@ in {
'';
};
+ allowedBridges = mkOption {
+ type = types.listOf types.str;
+ default = [ "virbr0" ];
+ description = ''
+ List of bridge devices that can be used by qemu:///session
+ '';
+ };
+
};
@@ -120,7 +142,12 @@ in {
config = mkIf cfg.enable {
- environment.systemPackages = with pkgs; [ libvirt libressl.nc cfg.qemuPackage ];
+ environment = {
+ # this file is expected in /etc/qemu and not sysconfdir (/var/lib)
+ etc."qemu/bridge.conf".text = lib.concatMapStringsSep "\n" (e:
+ "allow ${e}") cfg.allowedBridges;
+ systemPackages = with pkgs; [ libvirt libressl.nc cfg.qemuPackage ];
+ };
boot.kernelModules = [ "tun" ];
@@ -134,30 +161,15 @@ in {
group = "qemu-libvirtd";
};
+ security.wrappers.qemu-bridge-helper = {
+ source = "/run/${dirName}/nix-helpers/qemu-bridge-helper";
+ };
+
systemd.packages = [ pkgs.libvirt ];
- systemd.services.libvirtd = {
- description = "Libvirt Virtual Machine Management Daemon";
-
- wantedBy = [ "multi-user.target" ];
- after = [ "systemd-udev-settle.service" ]
- ++ optional vswitch.enable "vswitchd.service";
-
- environment.LIBVIRTD_ARGS = ''--config "${configFile}" ${concatStringsSep " " cfg.extraOptions}'';
-
- path = [ cfg.qemuPackage ] # libvirtd requires qemu-img to manage disk images
- ++ optional vswitch.enable vswitch.package;
-
- preStart = ''
- mkdir -p /var/log/libvirt/qemu -m 755
- rm -f /var/run/libvirtd.pid
-
- mkdir -p /var/lib/libvirt
- mkdir -p /var/lib/libvirt/dnsmasq
-
- chmod 755 /var/lib/libvirt
- chmod 755 /var/lib/libvirt/dnsmasq
-
+ systemd.services.libvirtd-config = {
+ description = "Libvirt Virtual Machine Management Daemon - configuration";
+ script = ''
# Copy default libvirt network config .xml files to /var/lib
# Files modified by the user will not be overwritten
for i in $(cd ${pkgs.libvirt}/var/lib && echo \
@@ -169,21 +181,45 @@ in {
done
# Copy generated qemu config to libvirt directory
- cp -f ${qemuConfigFile} /var/lib/libvirt/qemu.conf
+ cp -f ${qemuConfigFile} /var/lib/${dirName}/qemu.conf
# stable (not GC'able as in /nix/store) paths for using in section of xml configs
- mkdir -p /run/libvirt/nix-emulators
for emulator in ${pkgs.libvirt}/libexec/libvirt_lxc ${cfg.qemuPackage}/bin/qemu-kvm ${cfg.qemuPackage}/bin/qemu-system-*; do
- ln -s --force "$emulator" /run/libvirt/nix-emulators/
+ ln -s --force "$emulator" /run/${dirName}/nix-emulators/
+ done
+
+ for helper in libexec/qemu-bridge-helper bin/qemu-pr-helper; do
+ ln -s --force ${cfg.qemuPackage}/$helper /run/${dirName}/nix-helpers/
done
${optionalString cfg.qemuOvmf ''
- mkdir -p /run/libvirt/nix-ovmf
- ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_CODE.fd /run/libvirt/nix-ovmf/
- ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_VARS.fd /run/libvirt/nix-ovmf/
+ ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_CODE.fd /run/${dirName}/nix-ovmf/
+ ln -s --force ${pkgs.OVMF.fd}/FV/OVMF_VARS.fd /run/${dirName}/nix-ovmf/
''}
'';
+ serviceConfig = {
+ Type = "oneshot";
+ RuntimeDirectoryPreserve = "yes";
+ LogsDirectory = subDirs [ "qemu" ];
+ RuntimeDirectory = subDirs [ "nix-emulators" "nix-helpers" "nix-ovmf" ];
+ StateDirectory = subDirs [ "dnsmasq" ];
+ };
+ };
+
+ systemd.services.libvirtd = {
+ description = "Libvirt Virtual Machine Management Daemon";
+
+ wantedBy = [ "multi-user.target" ];
+ requires = [ "libvirtd-config.service" ];
+ after = [ "systemd-udev-settle.service" "libvirtd-config.service" ]
+ ++ optional vswitch.enable "vswitchd.service";
+
+ environment.LIBVIRTD_ARGS = ''--config "${configFile}" ${concatStringsSep " " cfg.extraOptions}'';
+
+ path = [ cfg.qemuPackage ] # libvirtd requires qemu-img to manage disk images
+ ++ optional vswitch.enable vswitch.package;
+
serviceConfig = {
Type = "notify";
KillMode = "process"; # when stopping, leave the VMs alone
@@ -197,13 +233,14 @@ in {
path = with pkgs; [ coreutils libvirt gawk ];
restartIfChanged = false;
+ environment.ON_BOOT = "${cfg.onBoot}";
environment.ON_SHUTDOWN = "${cfg.onShutdown}";
};
systemd.sockets.virtlogd = {
description = "Virtual machine log manager socket";
wantedBy = [ "sockets.target" ];
- listenStreams = [ "/run/libvirt/virtlogd-sock" ];
+ listenStreams = [ "/run/${dirName}/virtlogd-sock" ];
};
systemd.services.virtlogd = {
@@ -215,7 +252,7 @@ in {
systemd.sockets.virtlockd = {
description = "Virtual machine lock manager socket";
wantedBy = [ "sockets.target" ];
- listenStreams = [ "/run/libvirt/virtlockd-sock" ];
+ listenStreams = [ "/run/${dirName}/virtlockd-sock" ];
};
systemd.services.virtlockd = {
diff --git a/nixos/modules/virtualisation/openvswitch.nix b/nixos/modules/virtualisation/openvswitch.nix
index 47e07e7432c..edec3740230 100644
--- a/nixos/modules/virtualisation/openvswitch.nix
+++ b/nixos/modules/virtualisation/openvswitch.nix
@@ -54,7 +54,7 @@ in {
# The path to the an initialized version of the database
db = pkgs.stdenv.mkDerivation {
name = "vswitch.db";
- unpackPhase = "true";
+ dontUnpack = true;
buildPhase = "true";
buildInputs = with pkgs; [
cfg.package
diff --git a/nixos/modules/virtualisation/parallels-guest.nix b/nixos/modules/virtualisation/parallels-guest.nix
index 4e0f2cae299..828419fb4b9 100644
--- a/nixos/modules/virtualisation/parallels-guest.nix
+++ b/nixos/modules/virtualisation/parallels-guest.nix
@@ -47,7 +47,7 @@ in
config = mkIf config.hardware.parallels.enable {
services.xserver = {
drivers = singleton
- { name = "prlvideo"; modules = [ prl-tools ]; libPath = [ prl-tools ]; };
+ { name = "prlvideo"; modules = [ prl-tools ]; };
screenSection = ''
Option "NoMTRR"
@@ -65,6 +65,7 @@ in
hardware.opengl.package = prl-tools;
hardware.opengl.package32 = pkgs.pkgsi686Linux.linuxPackages.prl-tools.override { libsOnly = true; kernel = null; };
+ hardware.opengl.setLdLibraryPath = true;
services.udev.packages = [ prl-tools ];
diff --git a/nixos/modules/virtualisation/railcar.nix b/nixos/modules/virtualisation/railcar.nix
new file mode 100644
index 00000000000..12da1c75fc3
--- /dev/null
+++ b/nixos/modules/virtualisation/railcar.nix
@@ -0,0 +1,125 @@
+{ config, lib, pkgs, ... }:
+
+with lib;
+
+let
+ cfg = config.services.railcar;
+ generateUnit = name: containerConfig:
+ let
+ container = pkgs.ociTools.buildContainer {
+ args = [
+ (pkgs.writeShellScript "run.sh" containerConfig.cmd).outPath
+ ];
+ };
+ in
+ nameValuePair "railcar-${name}" {
+ enable = true;
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ ExecStart = ''
+ ${cfg.package}/bin/railcar -r ${cfg.stateDir} run ${name} -b ${container}
+ '';
+ Type = containerConfig.runType;
+ };
+ };
+ mount = with types; (submodule {
+ options = {
+ type = mkOption {
+ type = str;
+ default = "none";
+ description = ''
+ The type of the filesystem to be mounted.
+ Linux: filesystem types supported by the kernel as listed in
+ `/proc/filesystems` (e.g., "minix", "ext2", "ext3", "jfs", "xfs",
+ "reiserfs", "msdos", "proc", "nfs", "iso9660"). For bind mounts
+ (when options include either bind or rbind), the type is a dummy,
+ often "none" (not listed in /proc/filesystems).
+ '';
+ };
+ source = mkOption {
+ type = str;
+ description = "Source for the in-container mount";
+ };
+ options = mkOption {
+ type = loaOf (str);
+ default = [ "bind" ];
+ description = ''
+ Mount options of the filesystem to be used.
+
+ Support optoions are listed in the mount(8) man page. Note that
+ both filesystem-independent and filesystem-specific options
+ are listed.
+ '';
+ };
+ };
+ });
+in
+{
+ options.services.railcar = {
+ enable = mkEnableOption "railcar";
+
+ containers = mkOption {
+ default = {};
+ description = "Declarative container configuration";
+ type = with types; loaOf (submodule ({ name, config, ... }: {
+ options = {
+ cmd = mkOption {
+ type = types.lines;
+ description = "Command or script to run inside the container";
+ };
+
+ mounts = mkOption {
+ type = with types; attrsOf mount;
+ default = {};
+ description = ''
+ A set of mounts inside the container.
+
+ The defaults have been chosen for simple bindmounts, meaning
+ that you only need to provide the "source" parameter.
+ '';
+ example = ''
+ { "/data" = { source = "/var/lib/data"; }; }
+ '';
+ };
+
+ runType = mkOption {
+ type = types.str;
+ default = "oneshot";
+ description = "The systemd service run type";
+ };
+
+ os = mkOption {
+ type = types.str;
+ default = "linux";
+ description = "OS type of the container";
+ };
+
+ arch = mkOption {
+ type = types.str;
+ default = "x86_64";
+ description = "Computer architecture type of the container";
+ };
+ };
+ }));
+ };
+
+ stateDir = mkOption {
+ type = types.path;
+ default = ''/var/railcar'';
+ description = "Railcar persistent state directory";
+ };
+
+ package = mkOption {
+ type = types.package;
+ default = pkgs.railcar;
+ description = "Railcar package to use";
+ };
+ };
+
+ config = mkIf cfg.enable {
+ systemd.services = flip mapAttrs' cfg.containers (name: containerConfig:
+ generateUnit name containerConfig
+ );
+ };
+}
+
diff --git a/nixos/modules/virtualisation/virtualbox-host.nix b/nixos/modules/virtualisation/virtualbox-host.nix
index 41bcb909fb5..6081d4153a6 100644
--- a/nixos/modules/virtualisation/virtualbox-host.nix
+++ b/nixos/modules/virtualisation/virtualbox-host.nix
@@ -122,7 +122,7 @@ in
# Since we lack the right setuid/setcap binaries, set up a host-only network by default.
} (mkIf cfg.addNetworkInterface {
- systemd.services."vboxnet0" =
+ systemd.services.vboxnet0 =
{ description = "VirtualBox vboxnet0 Interface";
requires = [ "dev-vboxnetctl.device" ];
after = [ "dev-vboxnetctl.device" ];
diff --git a/nixos/modules/virtualisation/vmware-guest.nix b/nixos/modules/virtualisation/vmware-guest.nix
index d18778f8158..f418f849759 100644
--- a/nixos/modules/virtualisation/vmware-guest.nix
+++ b/nixos/modules/virtualisation/vmware-guest.nix
@@ -33,7 +33,7 @@ in
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
};
- environment.etc."vmware-tools".source = "${open-vm-tools}/etc/vmware-tools/*";
+ environment.etc.vmware-tools.source = "${open-vm-tools}/etc/vmware-tools/*";
services.xserver = mkIf (!cfg.headless) {
videoDrivers = mkOverride 50 [ "vmware" ];
diff --git a/nixos/modules/virtualisation/xen-dom0.nix b/nixos/modules/virtualisation/xen-dom0.nix
index 70e575b6c0d..06d5c63476f 100644
--- a/nixos/modules/virtualisation/xen-dom0.nix
+++ b/nixos/modules/virtualisation/xen-dom0.nix
@@ -119,7 +119,7 @@ in
virtualisation.xen.domains = {
extraConfig = mkOption {
- type = types.string;
+ type = types.lines;
default = "";
description =
''
diff --git a/nixos/release-combined.nix b/nixos/release-combined.nix
index b9a9515f94e..9e2109d88b5 100644
--- a/nixos/release-combined.nix
+++ b/nixos/release-combined.nix
@@ -68,8 +68,10 @@ in rec {
nixos.tests.chromium.x86_64-linux or []
(all nixos.tests.firefox)
(all nixos.tests.firewall)
- (except ["aarch64-linux"] nixos.tests.gnome3)
- (except ["aarch64-linux"] nixos.tests.pantheon)
+ (all nixos.tests.fontconfig-default-fonts)
+ (all nixos.tests.gnome3-xorg)
+ (all nixos.tests.gnome3)
+ (all nixos.tests.pantheon)
nixos.tests.installer.zfsroot.x86_64-linux or [] # ZFS is 64bit only
(except ["aarch64-linux"] nixos.tests.installer.lvm)
(except ["aarch64-linux"] nixos.tests.installer.luksroot)
@@ -103,7 +105,7 @@ in rec {
#(all nixos.tests.keymap.neo)
#(all nixos.tests.keymap.qwertz)
(all nixos.tests.plasma5)
- #(all nixos.tests.lightdm)
+ (all nixos.tests.lightdm)
(all nixos.tests.login)
(all nixos.tests.misc)
(all nixos.tests.mutableUsers)
@@ -135,6 +137,7 @@ in rec {
(all nixos.tests.switchTest)
(all nixos.tests.udisks2)
(all nixos.tests.xfce)
+ (all nixos.tests.xfce4-14)
nixpkgs.tarball
(all allSupportedNixpkgs.emacs)
diff --git a/nixos/release-small.nix b/nixos/release-small.nix
index b5b09dc38d0..84af457801a 100644
--- a/nixos/release-small.nix
+++ b/nixos/release-small.nix
@@ -11,7 +11,7 @@ let
nixpkgsSrc = nixpkgs; # urgh
- pkgs = import ./.. {};
+ pkgs = import ./.. { system = "x86_64-linux"; };
lib = pkgs.lib;
diff --git a/nixos/release.nix b/nixos/release.nix
index df2c52ccd0b..c7c60965890 100644
--- a/nixos/release.nix
+++ b/nixos/release.nix
@@ -196,6 +196,22 @@ in rec {
);
+ # A disk image that can be imported to Amazon EC2 and registered as an AMI
+ amazonImage = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (system:
+
+ with import nixpkgs { inherit system; };
+
+ hydraJob ((import lib/eval-config.nix {
+ inherit system;
+ modules =
+ [ versionModule
+ ./maintainers/scripts/ec2/amazon-image.nix
+ ];
+ }).config.system.build.amazonImage)
+
+ );
+
+
# Ensure that all packages used by the minimal NixOS config end up in the channel.
dummy = forAllSystems (system: pkgs.runCommand "dummy"
{ toplevel = (import lib/eval-config.nix {
diff --git a/nixos/tests/acme.nix b/nixos/tests/acme.nix
index 4669a092433..8cfdea4a16e 100644
--- a/nixos/tests/acme.nix
+++ b/nixos/tests/acme.nix
@@ -3,19 +3,49 @@ let
in import ./make-test.nix {
name = "acme";
- nodes = {
+ nodes = rec {
letsencrypt = ./common/letsencrypt;
+ acmeStandalone = { config, pkgs, ... }: {
+ imports = [ commonConfig ];
+ networking.firewall.allowedTCPPorts = [ 80 ];
+ networking.extraHosts = ''
+ ${config.networking.primaryIPAddress} standalone.com
+ '';
+ security.acme.certs."standalone.com" = {
+ webroot = "/var/lib/acme/acme-challenges";
+ };
+ systemd.targets."acme-finished-standalone.com" = {};
+ systemd.services."acme-standalone.com" = {
+ wants = [ "acme-finished-standalone.com.target" ];
+ before = [ "acme-finished-standalone.com.target" ];
+ };
+ services.nginx.enable = true;
+ services.nginx.virtualHosts."standalone.com" = {
+ locations."/.well-known/acme-challenge".root = "/var/lib/acme/acme-challenges";
+ };
+ };
+
webserver = { config, pkgs, ... }: {
imports = [ commonConfig ];
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.extraHosts = ''
- ${config.networking.primaryIPAddress} example.com
+ ${config.networking.primaryIPAddress} a.example.com
+ ${config.networking.primaryIPAddress} b.example.com
'';
+ # A target remains active. Use this to probe the fact that
+ # a service fired eventhough it is not RemainAfterExit
+ systemd.targets."acme-finished-a.example.com" = {};
+ systemd.services."acme-a.example.com" = {
+ wants = [ "acme-finished-a.example.com.target" ];
+ before = [ "acme-finished-a.example.com.target" ];
+ };
+
services.nginx.enable = true;
- services.nginx.virtualHosts."example.com" = {
+
+ services.nginx.virtualHosts."a.example.com" = {
enableACME = true;
forceSSL = true;
locations."/".root = pkgs.runCommand "docroot" {} ''
@@ -23,17 +53,63 @@ in import ./make-test.nix {
echo hello world > "$out/index.html"
'';
};
+
+ nesting.clone = [
+ ({pkgs, ...}: {
+
+ networking.extraHosts = ''
+ ${config.networking.primaryIPAddress} b.example.com
+ '';
+ systemd.targets."acme-finished-b.example.com" = {};
+ systemd.services."acme-b.example.com" = {
+ wants = [ "acme-finished-b.example.com.target" ];
+ before = [ "acme-finished-b.example.com.target" ];
+ };
+ services.nginx.virtualHosts."b.example.com" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/".root = pkgs.runCommand "docroot" {} ''
+ mkdir -p "$out"
+ echo hello world > "$out/index.html"
+ '';
+ };
+ })
+ ];
};
client = commonConfig;
};
- testScript = ''
- $letsencrypt->waitForUnit("default.target");
- $letsencrypt->waitForUnit("boulder.service");
- $webserver->waitForUnit("default.target");
- $webserver->waitForUnit("acme-certificates.target");
- $client->waitForUnit("default.target");
- $client->succeed('curl https://example.com/ | grep -qF "hello world"');
- '';
+ testScript = {nodes, ...}:
+ let
+ newServerSystem = nodes.webserver2.config.system.build.toplevel;
+ switchToNewServer = "${newServerSystem}/bin/switch-to-configuration test";
+ in
+ # Note, waitForUnit does not work for oneshot services that do not have RemainAfterExit=true,
+ # this is because a oneshot goes from inactive => activating => inactive, and never
+ # reaches the active state. To work around this, we create some mock target units which
+ # get pulled in by the oneshot units. The target units linger after activation, and hence we
+ # can use them to probe that a oneshot fired. It is a bit ugly, but it is the best we can do
+ ''
+ $client->waitForUnit("default.target");
+ $letsencrypt->waitForUnit("default.target");
+ $letsencrypt->waitForUnit("boulder.service");
+
+ subtest "can request certificate with HTTPS-01 challenge", sub {
+ $acmeStandalone->waitForUnit("default.target");
+ $acmeStandalone->succeed("systemctl start acme-standalone.com.service");
+ $acmeStandalone->waitForUnit("acme-finished-standalone.com.target");
+ };
+
+ subtest "Can request certificate for nginx service", sub {
+ $webserver->waitForUnit("acme-finished-a.example.com.target");
+ $client->succeed('curl https://a.example.com/ | grep -qF "hello world"');
+ };
+
+ subtest "Can add another certificate for nginx service", sub {
+ $webserver->succeed("/run/current-system/fine-tune/child-1/bin/switch-to-configuration test");
+ $webserver->waitForUnit("acme-finished-b.example.com.target");
+ $client->succeed('curl https://b.example.com/ | grep -qF "hello world"');
+ };
+ '';
}
diff --git a/nixos/tests/all-tests.nix b/nixos/tests/all-tests.nix
index 20736d030e8..e2c62cd306d 100644
--- a/nixos/tests/all-tests.nix
+++ b/nixos/tests/all-tests.nix
@@ -36,6 +36,7 @@ in
borgbackup = handleTest ./borgbackup.nix {};
buildbot = handleTest ./buildbot.nix {};
cadvisor = handleTestOn ["x86_64-linux"] ./cadvisor.nix {};
+ cassandra = handleTest ./cassandra.nix {};
ceph = handleTestOn ["x86_64-linux"] ./ceph.nix {};
certmgr = handleTest ./certmgr.nix {};
cfssl = handleTestOn ["x86_64-linux"] ./cfssl.nix {};
@@ -46,6 +47,7 @@ in
codimd = handleTest ./codimd.nix {};
colord = handleTest ./colord.nix {};
containers-bridge = handleTest ./containers-bridge.nix {};
+ containers-ephemeral = handleTest ./containers-ephemeral.nix {};
containers-extra_veth = handleTest ./containers-extra_veth.nix {};
containers-hosts = handleTest ./containers-hosts.nix {};
containers-imperative = handleTest ./containers-imperative.nix {};
@@ -55,7 +57,7 @@ in
containers-physical_interfaces = handleTest ./containers-physical_interfaces.nix {};
containers-restart_networking = handleTest ./containers-restart_networking.nix {};
containers-tmpfs = handleTest ./containers-tmpfs.nix {};
- #couchdb = handleTest ./couchdb.nix {}; # spidermonkey-1.8.5 is marked as broken
+ couchdb = handleTest ./couchdb.nix {};
deluge = handleTest ./deluge.nix {};
dhparams = handleTest ./dhparams.nix {};
dnscrypt-proxy = handleTestOn ["x86_64-linux"] ./dnscrypt-proxy.nix {};
@@ -72,16 +74,20 @@ in
#ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {};
ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {};
ecryptfs = handleTest ./ecryptfs.nix {};
- ejabberd = handleTest ./ejabberd.nix {};
+ ejabberd = handleTest ./xmpp/ejabberd.nix {};
elk = handleTestOn ["x86_64-linux"] ./elk.nix {};
env = handleTest ./env.nix {};
etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
+ etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
ferm = handleTest ./ferm.nix {};
firefox = handleTest ./firefox.nix {};
firewall = handleTest ./firewall.nix {};
fish = handleTest ./fish.nix {};
flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
flatpak = handleTest ./flatpak.nix {};
+ flatpak-builder = handleTest ./flatpak-builder.nix {};
+ fluentd = handleTest ./fluentd.nix {};
+ fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
fsck = handleTest ./fsck.nix {};
fwupd = handleTestOn ["x86_64-linux"] ./fwupd.nix {}; # libsmbios is unsupported on aarch64
gdk-pixbuf = handleTest ./gdk-pixbuf.nix {};
@@ -89,14 +95,18 @@ in
gitlab = handleTest ./gitlab.nix {};
gitolite = handleTest ./gitolite.nix {};
gjs = handleTest ./gjs.nix {};
- gnome3 = handleTestOn ["x86_64-linux"] ./gnome3.nix {}; # libsmbios is unsupported on aarch64
- gnome3-gdm = handleTestOn ["x86_64-linux"] ./gnome3-gdm.nix {}; # libsmbios is unsupported on aarch64
+ glib-networking = handleTest ./glib-networking.nix {};
+ glusterfs = handleTest ./glusterfs.nix {};
+ gnome3-xorg = handleTest ./gnome3-xorg.nix {};
+ gnome3 = handleTest ./gnome3.nix {};
+ gnome-photos = handleTest ./gnome-photos.nix {};
gocd-agent = handleTest ./gocd-agent.nix {};
gocd-server = handleTest ./gocd-server.nix {};
google-oslogin = handleTest ./google-oslogin {};
graphene = handleTest ./graphene.nix {};
grafana = handleTest ./grafana.nix {};
graphite = handleTest ./graphite.nix {};
+ graylog = handleTest ./graylog.nix {};
hadoop.hdfs = handleTestOn [ "x86_64-linux" ] ./hadoop/hdfs.nix {};
hadoop.yarn = handleTestOn [ "x86_64-linux" ] ./hadoop/yarn.nix {};
handbrake = handleTestOn ["x86_64-linux"] ./handbrake.nix {};
@@ -109,6 +119,7 @@ in
hound = handleTest ./hound.nix {};
hydra = handleTest ./hydra {};
i3wm = handleTest ./i3wm.nix {};
+ icingaweb2 = handleTest ./icingaweb2.nix {};
iftop = handleTest ./iftop.nix {};
incron = handleTest ./incron.nix {};
influxdb = handleTest ./influxdb.nix {};
@@ -119,6 +130,7 @@ in
jackett = handleTest ./jackett.nix {};
jellyfin = handleTest ./jellyfin.nix {};
jenkins = handleTest ./jenkins.nix {};
+ jormungandr = handleTest ./jormungandr.nix {};
kafka = handleTest ./kafka.nix {};
kerberos = handleTest ./kerberos/default.nix {};
kernel-latest = handleTest ./kernel-latest.nix {};
@@ -133,19 +145,26 @@ in
latestKernel.login = handleTest ./login.nix { latestKernel = true; };
ldap = handleTest ./ldap.nix {};
leaps = handleTest ./leaps.nix {};
+ libgdata = handleTest ./libgdata.nix {};
+ libxmlb = handleTest ./libxmlb.nix {};
lidarr = handleTest ./lidarr.nix {};
- #lightdm = handleTest ./lightdm.nix {};
+ lightdm = handleTest ./lightdm.nix {};
+ limesurvey = handleTest ./limesurvey.nix {};
login = handleTest ./login.nix {};
+ loki = handleTest ./loki.nix {};
#logstash = handleTest ./logstash.nix {};
mailcatcher = handleTest ./mailcatcher.nix {};
mathics = handleTest ./mathics.nix {};
matrix-synapse = handleTest ./matrix-synapse.nix {};
+ mediawiki = handleTest ./mediawiki.nix {};
memcached = handleTest ./memcached.nix {};
mesos = handleTest ./mesos.nix {};
+ metabase = handleTest ./metabase.nix {};
miniflux = handleTest ./miniflux.nix {};
minio = handleTest ./minio.nix {};
misc = handleTest ./misc.nix {};
mongodb = handleTest ./mongodb.nix {};
+ moodle = handleTest ./moodle.nix {};
morty = handleTest ./morty.nix {};
mosquitto = handleTest ./mosquitto.nix {};
mpd = handleTest ./mpd.nix {};
@@ -161,6 +180,7 @@ in
nat.standalone = handleTest ./nat.nix { withFirewall = false; };
ndppd = handleTest ./ndppd.nix {};
neo4j = handleTest ./neo4j.nix {};
+ nesting = handleTest ./nesting.nix {};
netdata = handleTest ./netdata.nix {};
networking.networkd = handleTest ./networking.nix { networkd = true; };
networking.scripted = handleTest ./networking.nix { networkd = false; };
@@ -174,6 +194,7 @@ in
nginx = handleTest ./nginx.nix {};
nginx-sso = handleTest ./nginx-sso.nix {};
nix-ssh-serve = handleTest ./nix-ssh-serve.nix {};
+ nixos-generate-config = handleTest ./nixos-generate-config.nix {};
novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {};
nsd = handleTest ./nsd.nix {};
nzbget = handleTest ./nzbget.nix {};
@@ -201,19 +222,21 @@ in
plotinus = handleTest ./plotinus.nix {};
postgis = handleTest ./postgis.nix {};
postgresql = handleTest ./postgresql.nix {};
+ postgresql-wal-receiver = handleTest ./postgresql-wal-receiver.nix {};
powerdns = handleTest ./powerdns.nix {};
predictable-interface-names = handleTest ./predictable-interface-names.nix {};
printing = handleTest ./printing.nix {};
prometheus = handleTest ./prometheus.nix {};
- prometheus2 = handleTest ./prometheus-2.nix {};
prometheus-exporters = handleTest ./prometheus-exporters.nix {};
- prosody = handleTest ./prosody.nix {};
+ prosody = handleTest ./xmpp/prosody.nix {};
+ prosodyMysql = handleTest ./xmpp/prosody-mysql.nix {};
proxy = handleTest ./proxy.nix {};
quagga = handleTest ./quagga.nix {};
quake3 = handleTest ./quake3.nix {};
rabbitmq = handleTest ./rabbitmq.nix {};
radarr = handleTest ./radarr.nix {};
radicale = handleTest ./radicale.nix {};
+ redis = handleTest ./redis.nix {};
redmine = handleTest ./redmine.nix {};
roundcube = handleTest ./roundcube.nix {};
rspamd = handleTest ./rspamd.nix {};
@@ -238,15 +261,19 @@ in
syncthing-relay = handleTest ./syncthing-relay.nix {};
systemd = handleTest ./systemd.nix {};
systemd-confinement = handleTest ./systemd-confinement.nix {};
+ systemd-timesyncd = handleTest ./systemd-timesyncd.nix {};
+ systemd-networkd-wireguard = handleTest ./systemd-networkd-wireguard.nix {};
pdns-recursor = handleTest ./pdns-recursor.nix {};
taskserver = handleTest ./taskserver.nix {};
telegraf = handleTest ./telegraf.nix {};
+ tiddlywiki = handleTest ./tiddlywiki.nix {};
tinydns = handleTest ./tinydns.nix {};
- tomcat = handleTest ./tomcat.nix {};
tor = handleTest ./tor.nix {};
transmission = handleTest ./transmission.nix {};
+ trezord = handleTest ./trezord.nix {};
udisks2 = handleTest ./udisks2.nix {};
upnp = handleTest ./upnp.nix {};
+ uwsgi = handleTest ./uwsgi.nix {};
vault = handleTest ./vault.nix {};
virtualbox = handleTestOn ["x86_64-linux"] ./virtualbox.nix {};
wireguard = handleTest ./wireguard {};
@@ -255,6 +282,7 @@ in
xautolock = handleTest ./xautolock.nix {};
xdg-desktop-portal = handleTest ./xdg-desktop-portal.nix {};
xfce = handleTest ./xfce.nix {};
+ xfce4-14 = handleTest ./xfce4-14.nix {};
xmonad = handleTest ./xmonad.nix {};
xrdp = handleTest ./xrdp.nix {};
xss-lock = handleTest ./xss-lock.nix {};
diff --git a/nixos/tests/avahi.nix b/nixos/tests/avahi.nix
index 56b21a40155..ae4f54d5266 100644
--- a/nixos/tests/avahi.nix
+++ b/nixos/tests/avahi.nix
@@ -15,6 +15,7 @@ import ./make-test.nix ({ pkgs, ... } : {
publish.enable = true;
publish.userServices = true;
publish.workstation = true;
+ extraServiceFiles.ssh = "${pkgs.avahi}/etc/avahi/services/ssh.service";
};
};
in {
@@ -56,5 +57,11 @@ import ./make-test.nix ({ pkgs, ... } : {
$one->succeed("getent hosts two.local >&2");
$two->succeed("getent hosts one.local >&2");
$two->succeed("getent hosts two.local >&2");
+
+ # extra service definitions
+ $one->succeed("avahi-browse -r -t _ssh._tcp | tee out >&2");
+ $one->succeed("test `wc -l < out` -gt 0");
+ $two->succeed("avahi-browse -r -t _ssh._tcp | tee out >&2");
+ $two->succeed("test `wc -l < out` -gt 0");
'';
})
diff --git a/nixos/tests/beegfs.nix b/nixos/tests/beegfs.nix
index 9c241fd2301..3465272f559 100644
--- a/nixos/tests/beegfs.nix
+++ b/nixos/tests/beegfs.nix
@@ -23,7 +23,7 @@ let
}
];
- environment.etc."${connAuthFile}" = {
+ environment.etc.${connAuthFile} = {
enable = true;
text = "ThisIsALousySecret";
mode = "0600";
@@ -47,7 +47,7 @@ let
];
environment.systemPackages = with pkgs; [ beegfs ];
- environment.etc."${connAuthFile}" = {
+ environment.etc.${connAuthFile} = {
enable = true;
text = "ThisIsALousySecret";
mode = "0600";
@@ -57,7 +57,7 @@ let
services.beegfs.default = {
mgmtdHost = "mgmt";
connAuthFile = "/etc/${connAuthFile}";
- "${service}" = {
+ ${service} = {
enable = true;
storeDir = "/data";
};
diff --git a/nixos/tests/boot.nix b/nixos/tests/boot.nix
index c9bb1e77c6d..57d8006d7ac 100644
--- a/nixos/tests/boot.nix
+++ b/nixos/tests/boot.nix
@@ -17,46 +17,33 @@ let
];
}).config.system.build.isoImage;
- makeBootTest = name: machineConfig:
- makeTest {
- inherit iso;
- name = "boot-" + name;
- nodes = { };
- testScript =
- ''
- my $machine = createMachine({ ${machineConfig}, qemuFlags => '-m 768' });
- $machine->start;
- $machine->waitForUnit("multi-user.target");
- $machine->succeed("nix verify -r --no-trust /run/current-system");
+ perlAttrs = params: "{ ${concatStringsSep ", " (mapAttrsToList (name: param: "${name} => ${builtins.toJSON param}") params)} }";
- # Test whether the channel got installed correctly.
- $machine->succeed("nix-instantiate --dry-run '' -A hello");
- $machine->succeed("nix-env --dry-run -iA nixos.procps");
+ makeBootTest = name: extraConfig:
+ let
+ machineConfig = perlAttrs ({ qemuFlags = "-m 768"; } // extraConfig);
+ in
+ makeTest {
+ inherit iso;
+ name = "boot-" + name;
+ nodes = { };
+ testScript =
+ ''
+ my $machine = createMachine(${machineConfig});
+ $machine->start;
+ $machine->waitForUnit("multi-user.target");
+ $machine->succeed("nix verify -r --no-trust /run/current-system");
- $machine->shutdown;
- '';
- };
-in {
+ # Test whether the channel got installed correctly.
+ $machine->succeed("nix-instantiate --dry-run '' -A hello");
+ $machine->succeed("nix-env --dry-run -iA nixos.procps");
- biosCdrom = makeBootTest "bios-cdrom" ''
- cdrom => glob("${iso}/iso/*.iso")
- '';
+ $machine->shutdown;
+ '';
+ };
- biosUsb = makeBootTest "bios-usb" ''
- usb => glob("${iso}/iso/*.iso")
- '';
-
- uefiCdrom = makeBootTest "uefi-cdrom" ''
- cdrom => glob("${iso}/iso/*.iso"),
- bios => '${pkgs.OVMF.fd}/FV/OVMF.fd'
- '';
-
- uefiUsb = makeBootTest "uefi-usb" ''
- usb => glob("${iso}/iso/*.iso"),
- bios => '${pkgs.OVMF.fd}/FV/OVMF.fd'
- '';
-
- netboot = let
+ makeNetbootTest = name: extraConfig:
+ let
config = (import ../lib/eval-config.nix {
inherit system;
modules =
@@ -65,35 +52,55 @@ in {
{ key = "serial"; }
];
}).config;
- ipxeScriptDir = pkgs.writeTextFile {
- name = "ipxeScriptDir";
- text = ''
- #!ipxe
- dhcp
- kernel bzImage init=${config.system.build.toplevel}/init ${toString config.boot.kernelParams} console=ttyS0
- initrd initrd
- boot
- '';
- destination = "/boot.ipxe";
- };
ipxeBootDir = pkgs.symlinkJoin {
name = "ipxeBootDir";
paths = [
config.system.build.netbootRamdisk
config.system.build.kernel
- ipxeScriptDir
+ config.system.build.netbootIpxeScript
];
};
+ machineConfig = perlAttrs ({
+ qemuFlags = "-boot order=n -m 2000";
+ netBackendArgs = "tftp=${ipxeBootDir},bootfile=netboot.ipxe";
+ } // extraConfig);
in
makeTest {
- name = "boot-netboot";
+ name = "boot-netboot-" + name;
nodes = { };
testScript =
''
- my $machine = createMachine({ qemuFlags => '-boot order=n -net nic,model=e1000 -net user,tftp=${ipxeBootDir}/,bootfile=boot.ipxe -m 2000M' });
+ my $machine = createMachine(${machineConfig});
$machine->start;
$machine->waitForUnit("multi-user.target");
$machine->shutdown;
'';
};
+in {
+
+ biosCdrom = makeBootTest "bios-cdrom" {
+ cdrom = "${iso}/iso/${iso.isoName}";
+ };
+
+ biosUsb = makeBootTest "bios-usb" {
+ usb = "${iso}/iso/${iso.isoName}";
+ };
+
+ uefiCdrom = makeBootTest "uefi-cdrom" {
+ cdrom = "${iso}/iso/${iso.isoName}";
+ bios = "${pkgs.OVMF.fd}/FV/OVMF.fd";
+ };
+
+ uefiUsb = makeBootTest "uefi-usb" {
+ usb = "${iso}/iso/${iso.isoName}";
+ bios = "${pkgs.OVMF.fd}/FV/OVMF.fd";
+ };
+
+ biosNetboot = makeNetbootTest "bios" {};
+
+ uefiNetboot = makeNetbootTest "uefi" {
+ bios = "${pkgs.OVMF.fd}/FV/OVMF.fd";
+ # Custom ROM is needed for EFI PXE boot. I failed to understand exactly why, because QEMU should still use iPXE for EFI.
+ netFrontendArgs = "romfile=${pkgs.ipxe}/ipxe.efirom";
+ };
}
diff --git a/nixos/tests/borgbackup.nix b/nixos/tests/borgbackup.nix
index fdb87dbea43..165f64b0d6d 100644
--- a/nixos/tests/borgbackup.nix
+++ b/nixos/tests/borgbackup.nix
@@ -44,7 +44,7 @@ in {
client = { ... }: {
services.borgbackup.jobs = {
- local = rec {
+ local = {
paths = dataDir;
repo = localRepo;
preHook = ''
diff --git a/nixos/tests/cassandra.nix b/nixos/tests/cassandra.nix
index 60d0c6d7606..c55733c9be7 100644
--- a/nixos/tests/cassandra.nix
+++ b/nixos/tests/cassandra.nix
@@ -1,71 +1,117 @@
-import ./make-test.nix ({ pkgs, ...}:
+import ./make-test.nix ({ pkgs, lib, ... }:
let
# Change this to test a different version of Cassandra:
testPackage = pkgs.cassandra;
- cassandraCfg =
+ clusterName = "NixOS Automated-Test Cluster";
+
+ testRemoteAuth = lib.versionAtLeast testPackage.version "3.11";
+ jmxRoles = [{ username = "me"; password = "password"; }];
+ jmxRolesFile = ./cassandra-jmx-roles;
+ jmxAuthArgs = "-u ${(builtins.elemAt jmxRoles 0).username} -pw ${(builtins.elemAt jmxRoles 0).password}";
+ jmxPort = 7200; # Non-standard port so it doesn't accidentally work
+
+ # Would usually be assigned to 512M
+ numMaxHeapSize = "400";
+ getHeapLimitCommand = ''
+ nodetool info -p ${toString jmxPort} | grep "^Heap Memory" | awk \'{print $NF}\'
+ '';
+ checkHeapLimitCommand = ''
+ [ 1 -eq "$(echo "$(${getHeapLimitCommand}) < ${numMaxHeapSize}" | ${pkgs.bc}/bin/bc)" ]
+ '';
+
+ cassandraCfg = ipAddress:
{ enable = true;
- listenAddress = null;
- listenInterface = "eth1";
- rpcAddress = null;
- rpcInterface = "eth1";
- extraConfig =
- { start_native_transport = true;
- seed_provider =
- [{ class_name = "org.apache.cassandra.locator.SimpleSeedProvider";
- parameters = [ { seeds = "cass0"; } ];
- }];
- };
+ inherit clusterName;
+ listenAddress = ipAddress;
+ rpcAddress = ipAddress;
+ seedAddresses = [ "192.168.1.1" ];
package = testPackage;
+ maxHeapSize = "${numMaxHeapSize}M";
+ heapNewSize = "100M";
+ inherit jmxPort;
};
- nodeCfg = extra: {pkgs, config, ...}:
- { environment.systemPackages = [ testPackage ];
- networking.firewall.enable = false;
- services.cassandra = cassandraCfg // extra;
- virtualisation.memorySize = 1024;
+ nodeCfg = ipAddress: extra: {pkgs, config, ...}: rec {
+ environment.systemPackages = [ testPackage ];
+ networking = {
+ firewall.allowedTCPPorts = [ 7000 9042 services.cassandra.jmxPort ];
+ useDHCP = false;
+ interfaces.eth1.ipv4.addresses = pkgs.lib.mkOverride 0 [
+ { address = ipAddress; prefixLength = 24; }
+ ];
};
+ services.cassandra = cassandraCfg ipAddress // extra;
+ virtualisation.memorySize = 1024;
+ };
in
{
name = "cassandra-ci";
nodes = {
- cass0 = nodeCfg {};
- cass1 = nodeCfg {};
- cass2 = nodeCfg { jvmOpts = [ "-Dcassandra.replace_address=cass1" ]; };
+ cass0 = nodeCfg "192.168.1.1" {};
+ cass1 = nodeCfg "192.168.1.2" (lib.optionalAttrs testRemoteAuth { inherit jmxRoles; remoteJmx = true; });
+ cass2 = nodeCfg "192.168.1.3" { jvmOpts = [ "-Dcassandra.replace_address=cass1" ]; };
};
- testScript = ''
- subtest "timers exist", sub {
+ testScript = let
+ jmxPortS = toString jmxPort;
+ in ''
+ # Check configuration
+ subtest "Timers exist", sub {
$cass0->succeed("systemctl list-timers | grep cassandra-full-repair.timer");
$cass0->succeed("systemctl list-timers | grep cassandra-incremental-repair.timer");
};
- subtest "can connect via cqlsh", sub {
+ subtest "Can connect via cqlsh", sub {
$cass0->waitForUnit("cassandra.service");
$cass0->waitUntilSucceeds("nc -z cass0 9042");
$cass0->succeed("echo 'show version;' | cqlsh cass0");
};
- subtest "nodetool is operational", sub {
+ subtest "Nodetool is operational", sub {
$cass0->waitForUnit("cassandra.service");
- $cass0->waitUntilSucceeds("nc -z localhost 7199");
- $cass0->succeed("nodetool status --resolve-ip | egrep '^UN[[:space:]]+cass0'");
+ $cass0->waitUntilSucceeds("nc -z localhost ${jmxPortS}");
+ $cass0->succeed("nodetool status -p ${jmxPortS} --resolve-ip | egrep '^UN[[:space:]]+cass0'");
};
- subtest "bring up cluster", sub {
+ subtest "Cluster name was set", sub {
+ $cass0->waitForUnit("cassandra.service");
+ $cass0->waitUntilSucceeds("nc -z localhost ${jmxPortS}");
+ $cass0->waitUntilSucceeds("nodetool describecluster -p ${jmxPortS} | grep 'Name: ${clusterName}'");
+ };
+ subtest "Heap limit set correctly", sub {
+ # Nodetool takes a while until it can display info
+ $cass0->waitUntilSucceeds('nodetool info -p ${jmxPortS}');
+ $cass0->succeed('${checkHeapLimitCommand}');
+ };
+
+ # Check cluster interaction
+ subtest "Bring up cluster", sub {
$cass1->waitForUnit("cassandra.service");
- $cass1->waitUntilSucceeds("nodetool status | egrep -c '^UN' | grep 2");
- $cass0->succeed("nodetool status --resolve-ip | egrep '^UN[[:space:]]+cass1'");
+ $cass1->waitUntilSucceeds("nodetool -p ${jmxPortS} ${jmxAuthArgs} status | egrep -c '^UN' | grep 2");
+ $cass0->succeed("nodetool status -p ${jmxPortS} --resolve-ip | egrep '^UN[[:space:]]+cass1'");
};
- subtest "break and fix node", sub {
+ '' + lib.optionalString testRemoteAuth ''
+ subtest "Remote authenticated jmx", sub {
+ # Doesn't work if not enabled
+ $cass0->waitUntilSucceeds("nc -z localhost ${jmxPortS}");
+ $cass1->fail("nc -z 192.168.1.1 ${toString jmxPort}");
+ $cass1->fail("nodetool -p ${jmxPortS} -h 192.168.1.1 status");
+
+ # Works if enabled
+ $cass1->waitUntilSucceeds("nc -z localhost ${toString jmxPort}");
+ $cass0->succeed("nodetool -p ${jmxPortS} -h 192.168.1.2 ${jmxAuthArgs} status");
+ };
+ '' + ''
+ subtest "Break and fix node", sub {
$cass1->block;
- $cass0->waitUntilSucceeds("nodetool status --resolve-ip | egrep -c '^DN[[:space:]]+cass1'");
- $cass0->succeed("nodetool status | egrep -c '^UN' | grep 1");
+ $cass0->waitUntilSucceeds("nodetool status -p ${jmxPortS} --resolve-ip | egrep -c '^DN[[:space:]]+cass1'");
+ $cass0->succeed("nodetool status -p ${jmxPortS} | egrep -c '^UN' | grep 1");
$cass1->unblock;
- $cass1->waitUntilSucceeds("nodetool status | egrep -c '^UN' | grep 2");
- $cass0->succeed("nodetool status | egrep -c '^UN' | grep 2");
+ $cass1->waitUntilSucceeds("nodetool -p ${jmxPortS} ${jmxAuthArgs} status | egrep -c '^UN' | grep 2");
+ $cass0->succeed("nodetool status -p ${jmxPortS} | egrep -c '^UN' | grep 2");
};
- subtest "replace crashed node", sub {
+ subtest "Replace crashed node", sub {
$cass1->crash;
$cass2->waitForUnit("cassandra.service");
- $cass0->waitUntilFails("nodetool status --resolve-ip | egrep '^UN[[:space:]]+cass1'");
- $cass0->waitUntilSucceeds("nodetool status --resolve-ip | egrep '^UN[[:space:]]+cass2'");
+ $cass0->waitUntilFails("nodetool status -p ${jmxPortS} --resolve-ip | egrep '^UN[[:space:]]+cass1'");
+ $cass0->waitUntilSucceeds("nodetool status -p ${jmxPortS} --resolve-ip | egrep '^UN[[:space:]]+cass2'");
};
'';
})
diff --git a/nixos/tests/ceph.nix b/nixos/tests/ceph.nix
index 7408029c460..57120ff978f 100644
--- a/nixos/tests/ceph.nix
+++ b/nixos/tests/ceph.nix
@@ -1,12 +1,13 @@
-import ./make-test.nix ({pkgs, ...}: rec {
+import ./make-test.nix ({pkgs, lib, ...}: {
name = "All-in-one-basic-ceph-cluster";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ lejonet ];
+ maintainers = [ johanot lejonet ];
};
nodes = {
aio = { pkgs, ... }: {
virtualisation = {
+ memorySize = 1536;
emptyDiskImages = [ 20480 20480 ];
vlans = [ 1 ];
};
@@ -24,9 +25,6 @@ import ./make-test.nix ({pkgs, ...}: rec {
ceph
xfsprogs
];
- nixpkgs.config.packageOverrides = super: {
- ceph = super.ceph.override({ nss = super.nss; libxfs = super.libxfs; libaio = super.libaio; jemalloc = super.jemalloc; });
- };
boot.kernelModules = [ "xfs" ];
@@ -51,6 +49,9 @@ import ./make-test.nix ({pkgs, ...}: rec {
enable = true;
daemons = [ "0" "1" ];
};
+
+ # So that we don't have to battle systemd when bootstraping
+ systemd.targets.ceph.wantedBy = lib.mkForce [];
};
};
@@ -61,24 +62,26 @@ import ./make-test.nix ({pkgs, ...}: rec {
# Create the ceph-related directories
$aio->mustSucceed(
- "mkdir -p /var/lib/ceph/mgr/ceph-aio/",
- "mkdir -p /var/lib/ceph/mon/ceph-aio/",
- "mkdir -p /var/lib/ceph/osd/ceph-{0..1}/",
- "chown ceph:ceph -R /var/lib/ceph/"
+ "mkdir -p /var/lib/ceph/mgr/ceph-aio",
+ "mkdir -p /var/lib/ceph/mon/ceph-aio",
+ "mkdir -p /var/lib/ceph/osd/ceph-{0,1}",
+ "chown ceph:ceph -R /var/lib/ceph/",
+ "mkdir -p /etc/ceph",
+ "chown ceph:ceph -R /etc/ceph"
);
# Bootstrap ceph-mon daemon
$aio->mustSucceed(
- "mkdir -p /var/lib/ceph/bootstrap-osd && chown ceph:ceph /var/lib/ceph/bootstrap-osd",
"sudo -u ceph ceph-authtool --create-keyring /tmp/ceph.mon.keyring --gen-key -n mon. --cap mon 'allow *'",
- "ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --set-uid=0 --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *'",
- "ceph-authtool /tmp/ceph.mon.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring",
- "monmaptool --create --add aio 192.168.1.1 --fsid 066ae264-2a5d-4729-8001-6ad265f50b03 /tmp/monmap",
+ "sudo -u ceph ceph-authtool --create-keyring /etc/ceph/ceph.client.admin.keyring --gen-key -n client.admin --cap mon 'allow *' --cap osd 'allow *' --cap mds 'allow *' --cap mgr 'allow *'",
+ "sudo -u ceph ceph-authtool /tmp/ceph.mon.keyring --import-keyring /etc/ceph/ceph.client.admin.keyring",
+ "monmaptool --create --add aio 192.168.1.1 --fsid 066ae264-2a5d-4729-8001-6ad265f50b03 /tmp/monmap",
"sudo -u ceph ceph-mon --mkfs -i aio --monmap /tmp/monmap --keyring /tmp/ceph.mon.keyring",
- "touch /var/lib/ceph/mon/ceph-aio/done",
+ "sudo -u ceph touch /var/lib/ceph/mon/ceph-aio/done",
"systemctl start ceph-mon-aio"
);
$aio->waitForUnit("ceph-mon-aio");
+ $aio->mustSucceed("ceph mon enable-msgr2");
# Can't check ceph status until a mon is up
$aio->succeed("ceph -s | grep 'mon: 1 daemons'");
@@ -90,6 +93,7 @@ import ./make-test.nix ({pkgs, ...}: rec {
);
$aio->waitForUnit("ceph-mgr-aio");
$aio->waitUntilSucceeds("ceph -s | grep 'quorum aio'");
+ $aio->waitUntilSucceeds("ceph -s | grep 'mgr: aio(active,'");
# Bootstrap both OSDs
$aio->mustSucceed(
@@ -112,8 +116,8 @@ import ./make-test.nix ({pkgs, ...}: rec {
"systemctl start ceph-osd-1"
);
- $aio->waitUntilSucceeds("ceph osd stat | grep '2 osds: 2 up, 2 in'");
- $aio->waitUntilSucceeds("ceph -s | grep 'mgr: aio(active)'");
+ $aio->waitUntilSucceeds("ceph osd stat | grep -e '2 osds: 2 up[^,]*, 2 in'");
+ $aio->waitUntilSucceeds("ceph -s | grep 'mgr: aio(active,'");
$aio->waitUntilSucceeds("ceph -s | grep 'HEALTH_OK'");
$aio->mustSucceed(
@@ -135,5 +139,23 @@ import ./make-test.nix ({pkgs, ...}: rec {
"ceph osd pool ls | grep 'aio-test'",
"ceph osd pool delete aio-other-test aio-other-test --yes-i-really-really-mean-it"
);
+
+ # As we disable the target in the config, we still want to test that it works as intended
+ $aio->mustSucceed(
+ "systemctl stop ceph-osd-0",
+ "systemctl stop ceph-osd-1",
+ "systemctl stop ceph-mgr-aio",
+ "systemctl stop ceph-mon-aio"
+ );
+ $aio->succeed("systemctl start ceph.target");
+ $aio->waitForUnit("ceph-mon-aio");
+ $aio->waitForUnit("ceph-mgr-aio");
+ $aio->waitForUnit("ceph-osd-0");
+ $aio->waitForUnit("ceph-osd-1");
+ $aio->succeed("ceph -s | grep 'mon: 1 daemons'");
+ $aio->waitUntilSucceeds("ceph -s | grep 'quorum aio'");
+ $aio->waitUntilSucceeds("ceph osd stat | grep -e '2 osds: 2 up[^,]*, 2 in'");
+ $aio->waitUntilSucceeds("ceph -s | grep 'mgr: aio(active,'");
+ $aio->waitUntilSucceeds("ceph -s | grep 'HEALTH_OK'");
'';
})
diff --git a/nixos/tests/cjdns.nix b/nixos/tests/cjdns.nix
index e03bb988254..6660eecf05b 100644
--- a/nixos/tests/cjdns.nix
+++ b/nixos/tests/cjdns.nix
@@ -23,8 +23,7 @@ import ./make-test.nix ({ pkgs, ...} : {
maintainers = [ ehmry ];
};
- nodes = rec
- { # Alice finds peers over over ETHInterface.
+ nodes = { # Alice finds peers over over ETHInterface.
alice =
{ ... }:
{ imports = [ basicConfig ];
diff --git a/nixos/tests/cockroachdb.nix b/nixos/tests/cockroachdb.nix
index 56c624d8cf2..496283fddc7 100644
--- a/nixos/tests/cockroachdb.nix
+++ b/nixos/tests/cockroachdb.nix
@@ -100,7 +100,7 @@ in import ./make-test.nix ({ pkgs, ...} : {
meta.maintainers = with pkgs.stdenv.lib.maintainers;
[ thoughtpolice ];
- nodes = rec {
+ nodes = {
node1 = makeNode "country=us,region=east,dc=1" "192.168.1.1" null;
node2 = makeNode "country=us,region=west,dc=2b" "192.168.1.2" "192.168.1.1";
node3 = makeNode "country=eu,region=west,dc=2" "192.168.1.3" "192.168.1.1";
diff --git a/nixos/tests/common/letsencrypt/default.nix b/nixos/tests/common/letsencrypt/default.nix
index 8fe59bf4e70..58d87c64e34 100644
--- a/nixos/tests/common/letsencrypt/default.nix
+++ b/nixos/tests/common/letsencrypt/default.nix
@@ -56,11 +56,11 @@
let
softhsm = pkgs.stdenv.mkDerivation rec {
- name = "softhsm-${version}";
+ pname = "softhsm";
version = "1.3.8";
src = pkgs.fetchurl {
- url = "https://dist.opendnssec.org/source/${name}.tar.gz";
+ url = "https://dist.opendnssec.org/source/${pname}-${version}.tar.gz";
sha256 = "0flmnpkgp65ym7w3qyg78d3fbmvq3aznmi66rgd420n33shf7aif";
};
diff --git a/nixos/tests/containers-ephemeral.nix b/nixos/tests/containers-ephemeral.nix
new file mode 100644
index 00000000000..1ef8717d9a0
--- /dev/null
+++ b/nixos/tests/containers-ephemeral.nix
@@ -0,0 +1,56 @@
+# Test for NixOS' container support.
+
+import ./make-test.nix ({ pkgs, ...} : {
+ name = "containers-ephemeral";
+
+ machine = { pkgs, ... }: {
+ virtualisation.memorySize = 768;
+ virtualisation.writableStore = true;
+
+ containers.webserver = {
+ ephemeral = true;
+ privateNetwork = true;
+ hostAddress = "10.231.136.1";
+ localAddress = "10.231.136.2";
+ config = {
+ services.nginx = {
+ enable = true;
+ virtualHosts.localhost = {
+ root = (pkgs.runCommand "localhost" {} ''
+ mkdir "$out"
+ echo hello world > "$out/index.html"
+ '');
+ };
+ };
+ networking.firewall.allowedTCPPorts = [ 80 ];
+ };
+ };
+ };
+
+ testScript = ''
+ $machine->succeed("nixos-container list") =~ /webserver/ or die;
+
+ # Start the webserver container.
+ $machine->succeed("nixos-container start webserver");
+
+ # Check that container got its own root folder
+ $machine->succeed("ls /run/containers/webserver");
+
+ # Check that container persistent directory is not created
+ $machine->fail("ls /var/lib/containers/webserver");
+
+ # Since "start" returns after the container has reached
+ # multi-user.target, we should now be able to access it.
+ my $ip = $machine->succeed("nixos-container show-ip webserver");
+ chomp $ip;
+ $machine->succeed("ping -n -c1 $ip");
+ $machine->succeed("curl --fail http://$ip/ > /dev/null");
+
+ # Stop the container.
+ $machine->succeed("nixos-container stop webserver");
+ $machine->fail("curl --fail --connect-timeout 2 http://$ip/ > /dev/null");
+
+ # Check that container's root folder was removed
+ $machine->fail("ls /run/containers/webserver");
+ '';
+})
diff --git a/nixos/tests/containers-imperative.nix b/nixos/tests/containers-imperative.nix
index 0c101037aa7..2e7e4b2f1d6 100644
--- a/nixos/tests/containers-imperative.nix
+++ b/nixos/tests/containers-imperative.nix
@@ -35,7 +35,17 @@ import ./make-test.nix ({ pkgs, ...} : {
];
};
- testScript =
+ testScript = let
+ tmpfilesContainerConfig = pkgs.writeText "container-config-tmpfiles" ''
+ {
+ systemd.tmpfiles.rules = [ "d /foo - - - - -" ];
+ systemd.services.foo = {
+ serviceConfig.Type = "oneshot";
+ script = "ls -al /foo";
+ wantedBy = [ "multi-user.target" ];
+ };
+ }
+ ''; in
''
# Make sure we have a NixOS tree (required by ‘nixos-container create’).
$machine->succeed("PAGER=cat nix-env -qa -A nixos.hello >&2");
@@ -93,6 +103,15 @@ import ./make-test.nix ({ pkgs, ...} : {
$machine->succeed("nixos-container stop $id1");
$machine->succeed("nixos-container start $id1");
+ # Ensure tmpfiles are present
+ $machine->log("creating container tmpfiles");
+ $machine->succeed("nixos-container create tmpfiles --config-file ${tmpfilesContainerConfig}");
+ $machine->log("created, starting…");
+ $machine->succeed("nixos-container start tmpfiles");
+ $machine->log("done starting, investigating…");
+ $machine->succeed("echo \$(nixos-container run tmpfiles -- systemctl is-active foo.service) | grep -q active;");
+ $machine->succeed("nixos-container destroy tmpfiles");
+
# Execute commands via the root shell.
$machine->succeed("nixos-container run $id1 -- uname") =~ /Linux/ or die;
diff --git a/nixos/tests/containers-reloadable.nix b/nixos/tests/containers-reloadable.nix
index 9726ca0cb0e..f41dea91b1e 100644
--- a/nixos/tests/containers-reloadable.nix
+++ b/nixos/tests/containers-reloadable.nix
@@ -1,11 +1,11 @@
import ./make-test.nix ({ pkgs, lib, ...} :
let
- client_base = rec {
+ client_base = {
containers.test1 = {
autoStart = true;
config = {
- environment.etc."check".text = "client_base";
+ environment.etc.check.text = "client_base";
};
};
@@ -29,7 +29,7 @@ in {
imports = [ client_base ];
containers.test1.config = {
- environment.etc."check".text = lib.mkForce "client_c1";
+ environment.etc.check.text = lib.mkForce "client_c1";
services.httpd.enable = true;
services.httpd.adminAddr = "nixos@example.com";
};
@@ -38,7 +38,7 @@ in {
imports = [ client_base ];
containers.test1.config = {
- environment.etc."check".text = lib.mkForce "client_c2";
+ environment.etc.check.text = lib.mkForce "client_c2";
services.nginx.enable = true;
};
};
diff --git a/nixos/tests/containers-restart_networking.nix b/nixos/tests/containers-restart_networking.nix
index 0fb3b591e9f..df15f5b2f45 100644
--- a/nixos/tests/containers-restart_networking.nix
+++ b/nixos/tests/containers-restart_networking.nix
@@ -1,7 +1,7 @@
# Test for NixOS' container support.
let
- client_base = rec {
+ client_base = {
networking.firewall.enable = false;
containers.webserver = {
diff --git a/nixos/tests/containers-tmpfs.nix b/nixos/tests/containers-tmpfs.nix
index 05c21f4907b..e29fe6bbf03 100644
--- a/nixos/tests/containers-tmpfs.nix
+++ b/nixos/tests/containers-tmpfs.nix
@@ -3,7 +3,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "containers-tmpfs";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ ckampka ];
+ maintainers = [ kampka ];
};
machine =
diff --git a/nixos/tests/deluge.nix b/nixos/tests/deluge.nix
index b4be5e465cc..b58030409b5 100644
--- a/nixos/tests/deluge.nix
+++ b/nixos/tests/deluge.nix
@@ -5,25 +5,58 @@ import ./make-test.nix ({ pkgs, ...} : {
};
nodes = {
- server =
+ simple = {
+ services.deluge = {
+ enable = true;
+ web = {
+ enable = true;
+ openFirewall = true;
+ };
+ };
+ };
+
+ declarative =
{ ... }:
- { services.deluge = {
+ {
+ services.deluge = {
enable = true;
- web.enable = true;
+ openFirewall = true;
+ declarative = true;
+ config = {
+ allow_remote = true;
+ download_location = "/var/lib/deluge/my-download";
+ daemon_port = 58846;
+ listen_ports = [ 6881 6889 ];
+ };
+ web = {
+ enable = true;
+ port = 3142;
+ };
+ authFile = pkgs.writeText "deluge-auth" ''
+ localclient:a7bef72a890:10
+ andrew:password:10
+ user3:anotherpass:5
+ '';
};
- networking.firewall.allowedTCPPorts = [ 8112 ];
+ environment.systemPackages = [ pkgs.deluge ];
};
- client = { };
};
testScript = ''
startAll;
- $server->waitForUnit("deluged");
- $server->waitForUnit("delugeweb");
- $client->waitForUnit("network.target");
- $client->waitUntilSucceeds("curl --fail http://server:8112");
+ $simple->waitForUnit("deluged");
+ $simple->waitForUnit("delugeweb");
+ $simple->waitForOpenPort("8112");
+ $declarative->waitForUnit("network.target");
+ $declarative->waitUntilSucceeds("curl --fail http://simple:8112");
+
+ $declarative->waitForUnit("deluged");
+ $declarative->waitForUnit("delugeweb");
+ $declarative->waitUntilSucceeds("curl --fail http://declarative:3142");
+ $declarative->succeed("deluge-console 'help' | grep -q 'rm - Remove a torrent'");
+ $declarative->succeed("deluge-console 'connect 127.0.0.1:58846 andrew password; help' | grep -q 'rm - Remove a torrent'");
'';
})
diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix
index f91121077ea..9ab1a71f331 100644
--- a/nixos/tests/docker-tools.nix
+++ b/nixos/tests/docker-tools.nix
@@ -68,6 +68,12 @@ import ./make-test.nix ({ pkgs, ... }: {
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.layered-on-top}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.layered-on-top.imageName}");
+ # Ensure layers are shared between images
+ $docker->succeed("docker load --input='${pkgs.dockerTools.examples.another-layered-image}'");
+ $docker->succeed("docker inspect ${pkgs.dockerTools.examples.layered-image.imageName} | ${pkgs.jq}/bin/jq -r '.[] | .RootFS.Layers | .[]' | sort > layers1.sha256");
+ $docker->succeed("docker inspect ${pkgs.dockerTools.examples.another-layered-image.imageName} | ${pkgs.jq}/bin/jq -r '.[] | .RootFS.Layers | .[]' | sort > layers2.sha256");
+ $docker->succeed('[ $(comm -1 -2 layers1.sha256 layers2.sha256 | wc -l) -ne 0 ]');
+
# Ensure order of layers is correct
$docker->succeed("docker load --input='${pkgs.dockerTools.examples.layersOrder}'");
$docker->succeed("docker run --rm ${pkgs.dockerTools.examples.layersOrder.imageName} cat /tmp/layer1 | grep -q layer1");
diff --git a/nixos/tests/elk.nix b/nixos/tests/elk.nix
index 95371ef4443..b33d98b85d6 100644
--- a/nixos/tests/elk.nix
+++ b/nixos/tests/elk.nix
@@ -178,13 +178,7 @@ let
'';
};
in mapAttrs mkElkTest {
- "ELK-5" = {
- elasticsearch = pkgs.elasticsearch5;
- logstash = pkgs.logstash5;
- kibana = pkgs.kibana5;
- journalbeat = pkgs.journalbeat5;
- };
- "ELK-6" =
+ ELK-6 =
if enableUnfree
then {
elasticsearch = pkgs.elasticsearch6;
@@ -198,7 +192,7 @@ in mapAttrs mkElkTest {
kibana = pkgs.kibana6-oss;
journalbeat = pkgs.journalbeat6;
};
- "ELK-7" =
+ ELK-7 =
if enableUnfree
then {
elasticsearch = pkgs.elasticsearch7;
diff --git a/nixos/tests/env.nix b/nixos/tests/env.nix
index 064c498204a..6c681905b19 100644
--- a/nixos/tests/env.nix
+++ b/nixos/tests/env.nix
@@ -7,7 +7,7 @@ import ./make-test.nix ({ pkgs, ...} : {
machine = { pkgs, ... }:
{
boot.kernelPackages = pkgs.linuxPackages;
- environment.etc."plainFile".text = ''
+ environment.etc.plainFile.text = ''
Hello World
'';
environment.etc."folder/with/file".text = ''
diff --git a/nixos/tests/etcd-cluster.nix b/nixos/tests/etcd-cluster.nix
index 3c4de5950a7..43fde7d5920 100644
--- a/nixos/tests/etcd-cluster.nix
+++ b/nixos/tests/etcd-cluster.nix
@@ -140,7 +140,7 @@ in {
};
subtest "should add another member", sub {
- $node1->succeed("etcdctl member add node3 https://node3:2380");
+ $node1->waitUntilSucceeds("etcdctl member add node3 https://node3:2380");
$node3->start();
$node3->waitForUnit("etcd.service");
$node3->waitUntilSucceeds("etcdctl member list | grep 'node3'");
diff --git a/nixos/tests/flannel.nix b/nixos/tests/flannel.nix
index 0b261a68477..9991c5eaa32 100644
--- a/nixos/tests/flannel.nix
+++ b/nixos/tests/flannel.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : rec {
+import ./make-test.nix ({ pkgs, ...} : {
name = "flannel";
meta = with pkgs.stdenv.lib.maintainers; {
diff --git a/nixos/tests/flatpak-builder.nix b/nixos/tests/flatpak-builder.nix
new file mode 100644
index 00000000000..49b97e8ca99
--- /dev/null
+++ b/nixos/tests/flatpak-builder.nix
@@ -0,0 +1,20 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, ... }:
+
+{
+ name = "flatpak-builder";
+ meta = {
+ maintainers = pkgs.flatpak-builder.meta.maintainers;
+ };
+
+ machine = { pkgs, ... }: {
+ services.flatpak.enable = true;
+ xdg.portal.enable = true;
+ environment.systemPackages = with pkgs; [ gnome-desktop-testing flatpak-builder ] ++ flatpak-builder.installedTestsDependencies;
+ virtualisation.diskSize = 2048;
+ };
+
+ testScript = ''
+ $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.flatpak-builder.installedTests}/share' --timeout 3600");
+ '';
+})
diff --git a/nixos/tests/fluentd.nix b/nixos/tests/fluentd.nix
new file mode 100644
index 00000000000..e5c4c3d2163
--- /dev/null
+++ b/nixos/tests/fluentd.nix
@@ -0,0 +1,46 @@
+import ./make-test.nix ({ pkgs, lib, ... }: {
+ name = "fluentd";
+
+ machine = { pkgs, ... }: {
+ services.fluentd = {
+ enable = true;
+ config = ''
+
+ @type http
+ port 9880
+
+
+
+ type copy
+
+ @type file
+ format json
+ path /tmp/fluentd
+ symlink_path /tmp/current-log
+
+
+ @type stdout
+
+
+ '';
+ };
+ };
+
+ testScript = let
+ testMessage = "an example log message";
+
+ payload = pkgs.writeText "test-message.json" (builtins.toJSON {
+ inherit testMessage;
+ });
+ in ''
+ $machine->start;
+ $machine->waitForUnit('fluentd.service');
+ $machine->waitForOpenPort(9880);
+
+ $machine->succeed("curl -fsSL -X POST -H 'Content-type: application/json' -d @${payload} http://localhost:9880/test.tag");
+
+ $machine->succeed("systemctl stop fluentd"); # blocking flush
+
+ $machine->succeed("grep '${testMessage}' /tmp/current-log");
+ '';
+})
diff --git a/nixos/tests/fontconfig-default-fonts.nix b/nixos/tests/fontconfig-default-fonts.nix
new file mode 100644
index 00000000000..1991cec9218
--- /dev/null
+++ b/nixos/tests/fontconfig-default-fonts.nix
@@ -0,0 +1,28 @@
+import ./make-test.nix ({ lib, ... }:
+{
+ name = "fontconfig-default-fonts";
+
+ machine = { config, pkgs, ... }: {
+ fonts.enableDefaultFonts = true; # Background fonts
+ fonts.fonts = with pkgs; [
+ noto-fonts-emoji
+ cantarell-fonts
+ twitter-color-emoji
+ source-code-pro
+ gentium
+ ];
+ fonts.fontconfig.defaultFonts = {
+ serif = [ "Gentium Plus" ];
+ sansSerif = [ "Cantarell" ];
+ monospace = [ "Source Code Pro" ];
+ emoji = [ "Twitter Color Emoji" ];
+ };
+ };
+
+ testScript = ''
+ $machine->succeed("fc-match serif | grep '\"Gentium Plus\"'");
+ $machine->succeed("fc-match sans-serif | grep '\"Cantarell\"'");
+ $machine->succeed("fc-match monospace | grep '\"Source Code Pro\"'");
+ $machine->succeed("fc-match emoji | grep '\"Twitter Color Emoji\"'");
+ '';
+})
diff --git a/nixos/tests/gdk-pixbuf.nix b/nixos/tests/gdk-pixbuf.nix
index 005c5111da2..9a62b593f46 100644
--- a/nixos/tests/gdk-pixbuf.nix
+++ b/nixos/tests/gdk-pixbuf.nix
@@ -3,12 +3,12 @@ import ./make-test.nix ({ pkgs, ... }: {
name = "gdk-pixbuf";
meta = {
- maintainers = pkgs.gdk_pixbuf.meta.maintainers;
+ maintainers = pkgs.gdk-pixbuf.meta.maintainers;
};
machine = { pkgs, ... }: {
environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
- environment.variables.XDG_DATA_DIRS = [ "${pkgs.gdk_pixbuf.installedTests}/share" ];
+ environment.variables.XDG_DATA_DIRS = [ "${pkgs.gdk-pixbuf.installedTests}/share" ];
# Tests allocate a lot of memory trying to exploit a CVE
# but qemu-system-i386 has a 2047M memory limit
diff --git a/nixos/tests/gitea.nix b/nixos/tests/gitea.nix
index cccf8c7cd44..b8ab6dabc8c 100644
--- a/nixos/tests/gitea.nix
+++ b/nixos/tests/gitea.nix
@@ -13,18 +13,8 @@ with pkgs.lib;
machine =
{ config, pkgs, ... }:
- { services.mysql.enable = true;
- services.mysql.package = pkgs.mariadb;
- services.mysql.ensureDatabases = [ "gitea" ];
- services.mysql.ensureUsers = [
- { name = "gitea";
- ensurePermissions = { "gitea.*" = "ALL PRIVILEGES"; };
- }
- ];
-
- services.gitea.enable = true;
+ { services.gitea.enable = true;
services.gitea.database.type = "mysql";
- services.gitea.database.socket = "/run/mysqld/mysqld.sock";
};
testScript = ''
@@ -42,10 +32,8 @@ with pkgs.lib;
machine =
{ config, pkgs, ... }:
- {
- services.gitea.enable = true;
+ { services.gitea.enable = true;
services.gitea.database.type = "postgres";
- services.gitea.database.passwordFile = pkgs.writeText "db-password" "secret";
};
testScript = ''
diff --git a/nixos/tests/gitlab.nix b/nixos/tests/gitlab.nix
index ac733461932..be0b3c8746a 100644
--- a/nixos/tests/gitlab.nix
+++ b/nixos/tests/gitlab.nix
@@ -21,7 +21,7 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
enable = true;
recommendedProxySettings = true;
virtualHosts = {
- "localhost" = {
+ localhost = {
locations."/".proxyPass = "http://unix:/run/gitlab/gitlab-workhorse.socket";
};
};
@@ -29,44 +29,14 @@ import ./make-test.nix ({ pkgs, lib, ...} : with lib; {
services.gitlab = {
enable = true;
- databasePassword = "dbPassword";
- inherit initialRootPassword;
+ databasePasswordFile = pkgs.writeText "dbPassword" "xo0daiF4";
+ initialRootPasswordFile = pkgs.writeText "rootPassword" initialRootPassword;
smtp.enable = true;
secrets = {
- secret = "secret";
- otp = "otpsecret";
- db = "dbsecret";
-
- # nix-shell -p openssl --run "openssl genrsa 2048"
- jws = ''
- -----BEGIN RSA PRIVATE KEY-----
- MIIEpAIBAAKCAQEA13/qEio76OWUtWO0WIz9lWnsTWOU8Esv4sQHDq9PCEFsLt21
- PAXrlWhLjjWcxGfsrDwnh7YErGHYL62BMSxMdFJolaknlQK/O/V8UETDe45VoHM+
- Znk270RfUcfYFgiihnXUZXVmL0om9TsQSk646wCcjCY9LxtxUyKNhvT7KjgYw2aX
- z34aw7M+Js3T2p1TjZPSC82GtmtKkJEKFMi5EjprLTDE7EdcUzr9Xuw+kQ+gRm9k
- 7FE+JQqSoprwE3Q0v2OAn3UhLMgg0gNFRnsc5l6IAshDzV+H22RPqKKlJjVjjfPY
- 0TQSvYLVApigHbDPH0BoCXfjFfQazbbP3OUHrwIDAQABAoIBAQCMU+tkcMQaYIV5
- qLdjgkwO467QpivyXcOM8wF1eosIYTHFQvIlZ+WEoSmyLQ8shlADyBgls01Pw1c3
- lNAv6RzQEmmwKzpvOh61OKH+0whIiOMRXHoh2IUBQZCgfHYlwvGyhUAN4WjtGmhM
- AG4XNTQNM5S9Xpkw97nP3Qwz+YskbbkrfqtCEVy9ro+4nhbjqPsuO3adbnkva4zR
- cyurRhrHgHU6LPjn5NHnHH4qw2faY2oAsL8pmpkTbO5IqWDvOcbjNfjVPgVoq26O
- bbaa1qs4nmc80qQgMjRPJef535xyf3eLsSlDvpf6O8sPrJzVR1zaqEqixpQCZDac
- +kRiSBrhAoGBAOwHiq0PuyJh6VzBu7ybqX6+gF/wA4Jkwzx6mbfaBgurvU1aospp
- kisIonAkxSbxllZMnjbkShZEdATYKeT9o5NEhnU4YnHfc5bJZbiWOZAzYGLcY7g8
- vDQ31pBItyY4pFgPbSpNlbUvUsoPVJ45RasRADDTNCzMzdjFQQXst2V9AoGBAOm7
- sSpzYfFPLEAhieAkuhtbsX58Boo46djiKVfzGftfp6F9aHTOfzGORU5jrZ16mSbS
- qkkC6BEFrATX2051dzzXC89fWoJYALrsffE5I3KlKXsCAWSnCP1MMxOfH+Ls61Mr
- 7pK/LKfvJt53mUH4jIdbmmFUDwbg18oBEH+x9PmbAoGAS/+JqXu9N67rIxDGUE6W
- 3tacI0f2+U9Uhe67/DTZaXyc8YFTlXU0uWKIWy+bw5RaYeM9tlL/f/f+m2i25KK+
- vrZ7zNag7CWU5GJovGyykDnauTpZaYM03mN0VPT08/uc/zXIYqyknbhlIeaZynCK
- fDB3LUF0NVCknz20WCIGU0kCgYEAkxY0ZXx61Dp4pFr2wwEZxQGs7uXpz64FKyEX
- 12r6nMATY4Lh6y/Px0W6w5vis8lk+5Ny6cNUevHQ0LNuJS+yu6ywl+1vrbrnqroM
- f3LvpcPeGLSoX8jl1VDQi7aFgG6LoKly1xJLbdsH4NPutB9PgBbbTghx9GgmI88L
- rPA2M6UCgYBOmkYJocNgxg6B1/n4Tb9fN1Q/XuJrFDE6NxVUoke+IIyMPRH7FC3m
- VMYzu+b7zTVJjaBb1cmJemxl/xajziWDofJYPefhdbOVU7HXtmJFY0IG3pVxU1zW
- 3bmDj5QAtCUDpuuNa6GEIT0YR4+D/V7o3DmlZ0tVIwKJmVJoQ2f5dw==
- -----END RSA PRIVATE KEY-----
- '';
+ secretFile = pkgs.writeText "secret" "Aig5zaic";
+ otpFile = pkgs.writeText "otpsecret" "Riew9mue";
+ dbFile = pkgs.writeText "dbsecret" "we2quaeZ";
+ jwsFile = pkgs.runCommand "oidcKeyBase" {} "${pkgs.openssl}/bin/openssl genrsa 2048 > $out";
};
};
};
diff --git a/nixos/tests/glib-networking.nix b/nixos/tests/glib-networking.nix
new file mode 100644
index 00000000000..c0bbb2b3554
--- /dev/null
+++ b/nixos/tests/glib-networking.nix
@@ -0,0 +1,17 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, ... }:
+
+{
+ name = "glib-networking";
+ meta = {
+ maintainers = pkgs.glib-networking.meta.maintainers;
+ };
+
+ machine = { pkgs, ... }: {
+ environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
+ };
+
+ testScript = ''
+ $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.glib-networking.installedTests}/share'");
+ '';
+})
diff --git a/nixos/tests/glusterfs.nix b/nixos/tests/glusterfs.nix
new file mode 100644
index 00000000000..9fd8bd2ed12
--- /dev/null
+++ b/nixos/tests/glusterfs.nix
@@ -0,0 +1,65 @@
+import ./make-test.nix ({ ... } :
+
+let
+ client = { pkgs, ... } : {
+ environment.systemPackages = [ pkgs.glusterfs ];
+ fileSystems = pkgs.lib.mkVMOverride
+ [ { mountPoint = "/gluster";
+ fsType = "glusterfs";
+ device = "server1:/gv0";
+ } ];
+ };
+
+ server = { pkgs, ... } : {
+ networking.firewall.enable = false;
+ services.glusterfs.enable = true;
+
+ # create a mount point for the volume
+ boot.initrd.postDeviceCommands = ''
+ ${pkgs.e2fsprogs}/bin/mkfs.ext4 -L data /dev/vdb
+ '';
+
+ virtualisation.emptyDiskImages = [ 1024 ];
+
+ fileSystems = pkgs.lib.mkVMOverride
+ [ { mountPoint = "/data";
+ device = "/dev/disk/by-label/data";
+ fsType = "ext4";
+ }
+ ];
+ };
+in {
+ name = "glusterfs";
+
+ nodes = {
+ server1 = server;
+ server2 = server;
+ client1 = client;
+ client2 = client;
+ };
+
+ testScript = ''
+ $server1->waitForUnit("glusterd.service");
+ $server2->waitForUnit("glusterd.service");
+
+ # establish initial contact
+ $server1->succeed("sleep 2");
+ $server1->succeed("gluster peer probe server2");
+ $server1->succeed("gluster peer probe server1");
+
+ $server1->succeed("gluster peer status | grep Connected");
+
+ # create volumes
+ $server1->succeed("mkdir -p /data/vg0");
+ $server2->succeed("mkdir -p /data/vg0");
+ $server1->succeed("gluster volume create gv0 server1:/data/vg0 server2:/data/vg0");
+ $server1->succeed("gluster volume start gv0");
+
+ # test clients
+ $client1->waitForUnit("gluster.mount");
+ $client2->waitForUnit("gluster.mount");
+
+ $client1->succeed("echo test > /gluster/file1");
+ $client2->succeed("grep test /gluster/file1");
+ '';
+})
diff --git a/nixos/tests/gnome-photos.nix b/nixos/tests/gnome-photos.nix
new file mode 100644
index 00000000000..2ecda1d68ce
--- /dev/null
+++ b/nixos/tests/gnome-photos.nix
@@ -0,0 +1,42 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, lib, ... }:
+
+let
+
+ # gsettings tool with access to gsettings-desktop-schemas
+ desktop-gsettings = with pkgs; stdenv.mkDerivation {
+ name = "desktop-gsettings";
+ dontUnpack = true;
+ nativeBuildInputs = [ glib wrapGAppsHook ];
+ buildInputs = [ gsettings-desktop-schemas ];
+ installPhase = ''
+ runHook preInstall
+ mkdir -p $out/bin
+ ln -s ${glib.bin}/bin/gsettings $out/bin/desktop-gsettings
+ runHook postInstall
+ '';
+ };
+
+in
+
+{
+ name = "gnome-photos";
+ meta = {
+ maintainers = pkgs.gnome-photos.meta.maintainers;
+ };
+
+ machine = { pkgs, ... }: {
+ imports = [ ./common/x11.nix ];
+ programs.dconf.enable = true;
+ services.gnome3.at-spi2-core.enable = true; # needed for dogtail
+ environment.systemPackages = with pkgs; [ gnome-desktop-testing desktop-gsettings ];
+ services.dbus.packages = with pkgs; [ gnome-photos ];
+ };
+
+ testScript = ''
+ $machine->waitForX;
+ # dogtail needs accessibility enabled
+ $machine->succeed("desktop-gsettings set org.gnome.desktop.interface toolkit-accessibility true 2>&1");
+ $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.gnome-photos.installedTests}/share' 2>&1");
+ '';
+})
diff --git a/nixos/tests/gnome3-gdm.nix b/nixos/tests/gnome3-gdm.nix
deleted file mode 100644
index c2808d87d99..00000000000
--- a/nixos/tests/gnome3-gdm.nix
+++ /dev/null
@@ -1,63 +0,0 @@
-import ./make-test.nix ({ pkgs, ...} : {
- name = "gnome3-gdm";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ lethalman ];
- };
-
- machine =
- { ... }:
-
- { imports = [ ./common/user-account.nix ];
-
- services.xserver.enable = true;
-
- services.xserver.displayManager.gdm = {
- enable = true;
- autoLogin = {
- enable = true;
- user = "alice";
- };
- };
- services.xserver.desktopManager.gnome3.enable = true;
-
- virtualisation.memorySize = 1024;
- };
-
- testScript = let
- # Keep line widths somewhat managable
- bus = "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus";
- gdbus = "${bus} gdbus";
- # Call javascript in gnome shell, returns a tuple (success, output), where
- # `success` is true if the dbus call was successful and output is what the
- # javascript evaluates to.
- eval = "call --session -d org.gnome.Shell -o /org/gnome/Shell -m org.gnome.Shell.Eval";
- # False when startup is done
- startingUp = "${gdbus} ${eval} Main.layoutManager._startingUp";
- # Hopefully gnome-terminal's wm class
- wmClass = "${gdbus} ${eval} global.display.focus_window.wm_class";
- in ''
- # wait for gdm to start
- $machine->waitForUnit("display-manager.service");
-
- # wait for alice to be logged in
- $machine->waitForUnit("default.target","alice");
-
- # Check that logging in has given the user ownership of devices.
- $machine->succeed("getfacl /dev/snd/timer | grep -q alice");
-
- # Wait for the wayland server
- $machine->waitForFile("/run/user/1000/wayland-0");
-
- # Wait for gnome shell, correct output should be "(true, 'false')"
- $machine->waitUntilSucceeds("su - alice -c '${startingUp} | grep -q true,..false'");
-
- # open a terminal
- $machine->succeed("su - alice -c '${bus} gnome-terminal'");
- # and check it's there
- $machine->waitUntilSucceeds("su - alice -c '${wmClass} | grep -q gnome-terminal-server'");
-
- # wait to get a nice screenshot
- $machine->sleep(20);
- $machine->screenshot("screen");
- '';
-})
diff --git a/nixos/tests/gnome3-xorg.nix b/nixos/tests/gnome3-xorg.nix
new file mode 100644
index 00000000000..f12361da037
--- /dev/null
+++ b/nixos/tests/gnome3-xorg.nix
@@ -0,0 +1,41 @@
+import ./make-test.nix ({ pkgs, ...} : {
+ name = "gnome3-xorg";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = pkgs.gnome3.maintainers;
+ };
+
+ machine =
+ { ... }:
+
+ { imports = [ ./common/user-account.nix ];
+
+ services.xserver.enable = true;
+
+ services.xserver.displayManager.gdm.enable = false;
+ services.xserver.displayManager.lightdm.enable = true;
+ services.xserver.displayManager.lightdm.autoLogin.enable = true;
+ services.xserver.displayManager.lightdm.autoLogin.user = "alice";
+ services.xserver.desktopManager.gnome3.enable = true;
+ services.xserver.desktopManager.default = "gnome-xorg";
+
+ virtualisation.memorySize = 1024;
+ };
+
+ testScript =
+ ''
+ $machine->waitForX;
+
+ # wait for alice to be logged in
+ $machine->waitForUnit("default.target","alice");
+
+ # Check that logging in has given the user ownership of devices.
+ $machine->succeed("getfacl /dev/snd/timer | grep -q alice");
+
+ $machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
+ $machine->succeed("xauth merge ~alice/.Xauthority");
+ $machine->waitForWindow(qr/alice.*machine/);
+ $machine->succeed("timeout 900 bash -c 'while read msg; do if [[ \$msg =~ \"GNOME Shell started\" ]]; then break; fi; done < <(journalctl -f)'");
+ $machine->sleep(10);
+ $machine->screenshot("screen");
+ '';
+})
diff --git a/nixos/tests/gnome3.nix b/nixos/tests/gnome3.nix
index b58c9e5a0e3..b6fe602a732 100644
--- a/nixos/tests/gnome3.nix
+++ b/nixos/tests/gnome3.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "gnome3";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco lethalman ];
+ maintainers = pkgs.gnome3.maintainers;
};
machine =
@@ -11,19 +11,34 @@ import ./make-test.nix ({ pkgs, ...} : {
services.xserver.enable = true;
- services.xserver.displayManager.gdm.enable = false;
- services.xserver.displayManager.lightdm.enable = true;
- services.xserver.displayManager.lightdm.autoLogin.enable = true;
- services.xserver.displayManager.lightdm.autoLogin.user = "alice";
+ services.xserver.displayManager.gdm = {
+ enable = true;
+ autoLogin = {
+ enable = true;
+ user = "alice";
+ };
+ };
+
services.xserver.desktopManager.gnome3.enable = true;
- services.xserver.desktopManager.default = "gnome-xorg";
virtualisation.memorySize = 1024;
};
- testScript =
- ''
- $machine->waitForX;
+ testScript = let
+ # Keep line widths somewhat managable
+ bus = "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus";
+ gdbus = "${bus} gdbus";
+ # Call javascript in gnome shell, returns a tuple (success, output), where
+ # `success` is true if the dbus call was successful and output is what the
+ # javascript evaluates to.
+ eval = "call --session -d org.gnome.Shell -o /org/gnome/Shell -m org.gnome.Shell.Eval";
+ # False when startup is done
+ startingUp = "${gdbus} ${eval} Main.layoutManager._startingUp";
+ # Hopefully gnome-terminal's wm class
+ wmClass = "${gdbus} ${eval} global.display.focus_window.wm_class";
+ in ''
+ # wait for gdm to start
+ $machine->waitForUnit("display-manager.service");
# wait for alice to be logged in
$machine->waitForUnit("default.target","alice");
@@ -31,11 +46,19 @@ import ./make-test.nix ({ pkgs, ...} : {
# Check that logging in has given the user ownership of devices.
$machine->succeed("getfacl /dev/snd/timer | grep -q alice");
- $machine->succeed("su - alice -c 'DISPLAY=:0.0 gnome-terminal &'");
- $machine->succeed("xauth merge ~alice/.Xauthority");
- $machine->waitForWindow(qr/alice.*machine/);
- $machine->succeed("timeout 900 bash -c 'while read msg; do if [[ \$msg =~ \"GNOME Shell started\" ]]; then break; fi; done < <(journalctl -f)'");
- $machine->sleep(10);
+ # Wait for the wayland server
+ $machine->waitForFile("/run/user/1000/wayland-0");
+
+ # Wait for gnome shell, correct output should be "(true, 'false')"
+ $machine->waitUntilSucceeds("su - alice -c '${startingUp} | grep -q true,..false'");
+
+ # open a terminal
+ $machine->succeed("su - alice -c '${bus} gnome-terminal'");
+ # and check it's there
+ $machine->waitUntilSucceeds("su - alice -c '${wmClass} | grep -q gnome-terminal-server'");
+
+ # wait to get a nice screenshot
+ $machine->sleep(20);
$machine->screenshot("screen");
'';
})
diff --git a/nixos/tests/grafana.nix b/nixos/tests/grafana.nix
index 9dc765a879b..7a1b4c8ffbb 100644
--- a/nixos/tests/grafana.nix
+++ b/nixos/tests/grafana.nix
@@ -1,25 +1,91 @@
-import ./make-test.nix ({ lib, ... }:
-{
- name = "grafana";
+import ./make-test.nix ({ lib, pkgs, ... }:
- meta = with lib.maintainers; {
- maintainers = [ willibutz ];
- };
+let
+ inherit (lib) mkMerge nameValuePair maintainers;
- machine = { ... }: {
+ baseGrafanaConf = {
services.grafana = {
enable = true;
addr = "localhost";
analytics.reporting.enable = false;
domain = "localhost";
- security.adminUser = "testusername";
+ security = {
+ adminUser = "testadmin";
+ adminPassword = "snakeoilpwd";
+ };
};
};
+ extraNodeConfs = {
+ postgresql = {
+ services.grafana.database = {
+ host = "127.0.0.1:5432";
+ user = "grafana";
+ };
+ services.postgresql = {
+ enable = true;
+ ensureDatabases = [ "grafana" ];
+ ensureUsers = [{
+ name = "grafana";
+ ensurePermissions."DATABASE grafana" = "ALL PRIVILEGES";
+ }];
+ };
+ systemd.services.grafana.after = [ "postgresql.service" ];
+ };
+
+ mysql = {
+ services.grafana.database.user = "grafana";
+ services.mysql = {
+ enable = true;
+ ensureDatabases = [ "grafana" ];
+ ensureUsers = [{
+ name = "grafana";
+ ensurePermissions."grafana.*" = "ALL PRIVILEGES";
+ }];
+ package = pkgs.mariadb;
+ };
+ systemd.services.grafana.after = [ "mysql.service" ];
+ };
+ };
+
+ nodes = builtins.listToAttrs (map (dbName:
+ nameValuePair dbName (mkMerge [
+ baseGrafanaConf
+ (extraNodeConfs.${dbName} or {})
+ ])) [ "sqlite" "postgresql" "mysql" ]);
+
+in {
+ name = "grafana";
+
+ meta = with maintainers; {
+ maintainers = [ willibutz ];
+ };
+
+ inherit nodes;
+
testScript = ''
- $machine->start;
- $machine->waitForUnit("grafana.service");
- $machine->waitForOpenPort(3000);
- $machine->succeed("curl -sSfL http://127.0.0.1:3000/");
+ startAll();
+
+ subtest "Grafana sqlite", sub {
+ $sqlite->waitForUnit("grafana.service");
+ $sqlite->waitForOpenPort(3000);
+ $sqlite->succeed("curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users | grep -q testadmin\@localhost");
+ };
+
+ subtest "Grafana postgresql", sub {
+ $postgresql->waitForUnit("grafana.service");
+ $postgresql->waitForUnit("postgresql.service");
+ $postgresql->waitForOpenPort(3000);
+ $postgresql->waitForOpenPort(5432);
+ $postgresql->succeed("curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users | grep -q testadmin\@localhost");
+ };
+
+ subtest "Grafana mysql", sub {
+ $mysql->waitForUnit("grafana.service");
+ $mysql->waitForUnit("mysql.service");
+ $mysql->waitForOpenPort(3000);
+ $mysql->waitForOpenPort(3306);
+ $mysql->succeed("curl -sSfN -u testadmin:snakeoilpwd http://127.0.0.1:3000/api/org/users | grep -q testadmin\@localhost");
+ };
'';
})
diff --git a/nixos/tests/graylog.nix b/nixos/tests/graylog.nix
new file mode 100644
index 00000000000..dc54afd1d26
--- /dev/null
+++ b/nixos/tests/graylog.nix
@@ -0,0 +1,111 @@
+import ./make-test.nix ({ pkgs, lib, ... }: {
+ name = "graylog";
+ meta.maintainers = with lib.maintainers; [ ma27 ];
+
+ machine = { pkgs, ... }: {
+ virtualisation.memorySize = 4096;
+ virtualisation.diskSize = 4096;
+
+ services.mongodb.enable = true;
+ services.elasticsearch.enable = true;
+ services.elasticsearch.package = pkgs.elasticsearch-oss;
+ services.elasticsearch.extraConf = ''
+ network.publish_host: 127.0.0.1
+ network.bind_host: 127.0.0.1
+ '';
+
+ services.graylog = {
+ enable = true;
+ passwordSecret = "YGhZ59wXMrYOojx5xdgEpBpDw2N6FbhM4lTtaJ1KPxxmKrUvSlDbtWArwAWMQ5LKx1ojHEVrQrBMVRdXbRyZLqffoUzHfssc";
+ elasticsearchHosts = [ "http://localhost:9200" ];
+
+ # `echo -n "nixos" | shasum -a 256`
+ rootPasswordSha2 = "6ed332bcfa615381511d4d5ba44a293bb476f368f7e9e304f0dff50230d1a85b";
+ };
+
+ environment.systemPackages = [ pkgs.jq ];
+
+ systemd.services.graylog.path = [ pkgs.netcat ];
+ systemd.services.graylog.preStart = ''
+ until nc -z localhost 9200; do
+ sleep 2
+ done
+ '';
+ };
+
+ testScript = let
+ payloads.login = pkgs.writeText "login.json" (builtins.toJSON {
+ host = "127.0.0.1:9000";
+ username = "admin";
+ password = "nixos";
+ });
+
+ payloads.input = pkgs.writeText "input.json" (builtins.toJSON {
+ title = "Demo";
+ global = false;
+ type = "org.graylog2.inputs.gelf.udp.GELFUDPInput";
+ node = "@node@";
+ configuration = {
+ bind_address = "0.0.0.0";
+ decompress_size_limit = 8388608;
+ number_worker_threads = 1;
+ override_source = null;
+ port = 12201;
+ recv_buffer_size = 262144;
+ };
+ });
+
+ payloads.gelf_message = pkgs.writeText "gelf.json" (builtins.toJSON {
+ host = "example.org";
+ short_message = "A short message";
+ full_message = "A long message";
+ version = "1.1";
+ level = 5;
+ facility = "Test";
+ });
+ in ''
+ $machine->start;
+ $machine->waitForUnit("graylog.service");
+ $machine->waitForOpenPort(9000);
+ $machine->succeed("curl -sSfL http://127.0.0.1:9000/");
+
+ my $session = $machine->succeed("curl -X POST "
+ . "-sSfL http://127.0.0.1:9000/api/system/sessions "
+ . "-d \$(cat ${payloads.login}) "
+ . "-H 'Content-Type: application/json' "
+ . "-H 'Accept: application/json' "
+ . "-H 'x-requested-by: cli' "
+ . "| jq .session_id | xargs echo"
+ );
+
+ chomp($session);
+
+ $machine->succeed("curl -X POST "
+ . "-sSfL http://127.0.0.1:9000/api/system/inputs -u $session:session "
+ . "-d \$(cat ${payloads.input} | sed -e \"s,\@node\@,\$(cat /var/lib/graylog/server/node-id),\") "
+ . "-H 'Accept: application/json' "
+ . "-H 'Content-Type: application/json' "
+ . "-H 'x-requested-by: cli' "
+ );
+
+ $machine->waitUntilSucceeds("test \"\$(curl -sSfL 'http://127.0.0.1:9000/api/cluster/inputstates' "
+ . "-u $session:session "
+ . "-H 'Accept: application/json' "
+ . "-H 'Content-Type: application/json' "
+ . "-H 'x-requested-by: cli'"
+ . "| jq 'to_entries[]|.value|.[0]|.state' | xargs echo"
+ . ")\" = \"RUNNING\""
+ );
+
+ $machine->succeed("echo -n \$(cat ${payloads.gelf_message}) | nc -w10 -u 127.0.0.1 12201");
+
+ $machine->succeed("test \"\$(curl -X GET "
+ . "-sSfL 'http://127.0.0.1:9000/api/search/universal/relative?query=*' "
+ . "-u $session:session "
+ . "-H 'Accept: application/json' "
+ . "-H 'Content-Type: application/json' "
+ . "-H 'x-requested-by: cli'"
+ . " | jq '.total_results' | xargs echo)\" = \"1\""
+ );
+ '';
+})
diff --git a/nixos/tests/hardened.nix b/nixos/tests/hardened.nix
index 1ff329bd98d..90f9793b370 100644
--- a/nixos/tests/hardened.nix
+++ b/nixos/tests/hardened.nix
@@ -28,7 +28,7 @@ import ./make-test.nix ({ pkgs, ...} : {
testScript =
let
- hardened-malloc-tests = pkgs.stdenv.mkDerivation rec {
+ hardened-malloc-tests = pkgs.stdenv.mkDerivation {
name = "hardened-malloc-tests-${pkgs.graphene-hardened-malloc.version}";
src = pkgs.graphene-hardened-malloc.src;
buildPhase = ''
diff --git a/nixos/tests/hocker-fetchdocker/machine.nix b/nixos/tests/hocker-fetchdocker/machine.nix
index 78343f0e02f..885adebe149 100644
--- a/nixos/tests/hocker-fetchdocker/machine.nix
+++ b/nixos/tests/hocker-fetchdocker/machine.nix
@@ -11,8 +11,8 @@
systemd.services.docker-load-fetchdocker-image = {
description = "Docker load hello-world-container";
wantedBy = [ "multi-user.target" ];
- wants = [ "docker.service" "local-fs.target" ];
- after = [ "docker.service" "local-fs.target" ];
+ wants = [ "docker.service" ];
+ after = [ "docker.service" ];
script = ''
${pkgs.hello-world-container}/compositeImage.sh | ${pkgs.docker}/bin/docker load
diff --git a/nixos/tests/hydra/create-trivial-project.sh b/nixos/tests/hydra/create-trivial-project.sh
index 39122c9b473..5aae2d5bf90 100755
--- a/nixos/tests/hydra/create-trivial-project.sh
+++ b/nixos/tests/hydra/create-trivial-project.sh
@@ -44,6 +44,8 @@ cat >data.json < $out; exit 0"];
};
}
@@ -17,7 +19,7 @@ let
createTrivialProject = pkgs.stdenv.mkDerivation {
name = "create-trivial-project";
- unpackPhase = ":";
+ dontUnpack = true;
buildInputs = [ pkgs.makeWrapper ];
installPhase = "install -m755 -D ${./create-trivial-project.sh} $out/bin/create-trivial-project.sh";
postFixup = ''
@@ -53,11 +55,16 @@ let
notificationSender = "example@example.com";
package = pkgs.hydra.override { inherit nix; };
+
+ extraConfig = ''
+ email_notification = 1
+ '';
};
+ services.postfix.enable = true;
nix = {
buildMachines = [{
hostName = "localhost";
- systems = [ "x86_64-linux" ];
+ systems = [ system ];
}];
binaryCaches = [];
@@ -68,12 +75,12 @@ let
# let the system boot up
$machine->waitForUnit("multi-user.target");
# test whether the database is running
- $machine->succeed("systemctl status postgresql.service");
+ $machine->waitForUnit("postgresql.service");
# test whether the actual hydra daemons are running
- $machine->succeed("systemctl status hydra-queue-runner.service");
- $machine->succeed("systemctl status hydra-init.service");
- $machine->succeed("systemctl status hydra-evaluator.service");
- $machine->succeed("systemctl status hydra-send-stats.service");
+ $machine->waitForUnit("hydra-init.service");
+ $machine->requireActiveUnit("hydra-queue-runner.service");
+ $machine->requireActiveUnit("hydra-evaluator.service");
+ $machine->requireActiveUnit("hydra-notify.service");
$machine->succeed("hydra-create-user admin --role admin --password admin");
@@ -84,6 +91,8 @@ let
$machine->succeed("create-trivial-project.sh");
$machine->waitUntilSucceeds('curl -L -s http://localhost:3000/build/1 -H "Accept: application/json" | jq .buildstatus | xargs test 0 -eq');
+
+ $machine->waitUntilSucceeds('journalctl -eu hydra-notify.service -o cat | grep -q "sending mail notification to hydra@localhost"');
'';
})));
diff --git a/nixos/tests/icingaweb2.nix b/nixos/tests/icingaweb2.nix
new file mode 100644
index 00000000000..ea1b94c526b
--- /dev/null
+++ b/nixos/tests/icingaweb2.nix
@@ -0,0 +1,71 @@
+import ./make-test.nix ({ pkgs, ... }: {
+ name = "icingaweb2";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ das_j ];
+ };
+
+ nodes = {
+ icingaweb2 = { config, pkgs, ... }: {
+ services.icingaweb2 = {
+ enable = true;
+
+ modulePackages = with pkgs.icingaweb2Modules; {
+ particles = theme-particles;
+ spring = theme-spring;
+ };
+
+ modules = {
+ doc.enable = true;
+ migrate.enable = true;
+ setup.enable = true;
+ test.enable = true;
+ translation.enable = true;
+ };
+
+ generalConfig = {
+ global = {
+ module_path = "${pkgs.icingaweb2}/modules";
+ };
+ };
+
+ authentications = {
+ icingaweb = {
+ backend = "external";
+ };
+ };
+
+ groupBackends = {
+ icingaweb = {
+ backend = "db";
+ resource = "icingaweb_db";
+ };
+ };
+
+ resources = {
+ # Not used, so no DB server needed
+ icingaweb_db = {
+ type = "db";
+ db = "mysql";
+ host = "localhost";
+ username = "icingaweb2";
+ password = "icingaweb2";
+ dbname = "icingaweb2";
+ };
+ };
+
+ roles = {
+ Administrators = {
+ users = "*";
+ permissions = "*";
+ };
+ };
+ };
+ };
+ };
+
+ testScript = ''
+ startAll();
+ $icingaweb2->waitForUnit("multi-user.target");
+ $icingaweb2->succeed("curl -sSf http://icingaweb2/authentication/login");
+ '';
+})
diff --git a/nixos/tests/initdb.nix b/nixos/tests/initdb.nix
new file mode 100644
index 00000000000..749d7857a13
--- /dev/null
+++ b/nixos/tests/initdb.nix
@@ -0,0 +1,26 @@
+let
+ pkgs = import { };
+in
+with import { inherit pkgs; system = builtins.currentSystem; };
+with pkgs.lib;
+
+makeTest {
+ name = "pg-initdb";
+
+ machine = {...}:
+ {
+ documentation.enable = false;
+ services.postgresql.enable = true;
+ services.postgresql.package = pkgs.postgresql_9_6;
+ environment.pathsToLink = [
+ "/share/postgresql"
+ ];
+ };
+
+ testScript = ''
+ $machine->start;
+ $machine->succeed("sudo -u postgres initdb -D /tmp/testpostgres2");
+ $machine->shutdown;
+ '';
+
+ }
\ No newline at end of file
diff --git a/nixos/tests/initrd-network-ssh/default.nix b/nixos/tests/initrd-network-ssh/default.nix
index b2209f297a4..796c50c610e 100644
--- a/nixos/tests/initrd-network-ssh/default.nix
+++ b/nixos/tests/initrd-network-ssh/default.nix
@@ -6,7 +6,7 @@ import ../make-test.nix ({ lib, ... }:
maintainers = [ willibutz ];
};
- nodes = with lib; rec {
+ nodes = with lib; {
server =
{ config, ... }:
{
diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix
index 5e363f5d09e..a136678c6ef 100644
--- a/nixos/tests/installer.nix
+++ b/nixos/tests/installer.nix
@@ -67,6 +67,7 @@ let
# partitions and filesystems.
testScriptFun = { bootLoader, createPartitions, grubVersion, grubDevice, grubUseEfi
, grubIdentifier, preBootCommands, extraConfig
+ , testCloneConfig
}:
let
iface = if grubVersion == 1 then "ide" else "virtio";
@@ -85,6 +86,7 @@ let
in if !isEfi && !(pkgs.stdenv.isi686 || pkgs.stdenv.isx86_64) then
throw "Non-EFI boot methods are only supported on i686 / x86_64"
else ''
+
$machine->start;
# Make sure that we get a login prompt etc.
@@ -185,6 +187,43 @@ let
${preBootCommands}
$machine->waitForUnit("network.target");
$machine->shutdown;
+
+ # Tests for validating clone configuration entries in grub menu
+ ${optionalString testCloneConfig ''
+ # Reboot Machine
+ $machine = createMachine({ ${hdFlags} qemuFlags => "${qemuFlags}", name => "clone-default-config" });
+ ${preBootCommands}
+ $machine->waitForUnit("multi-user.target");
+
+ # Booted configuration name should be Home
+ # This is not the name that shows in the grub menu.
+ # The default configuration is always shown as "Default"
+ $machine->succeed("cat /run/booted-system/configuration-name >&2");
+ $machine->succeed("cat /run/booted-system/configuration-name | grep Home");
+
+ # We should find **not** a file named /etc/gitconfig
+ $machine->fail("test -e /etc/gitconfig");
+
+ # Set grub to boot the second configuration
+ $machine->succeed("grub-reboot 1");
+
+ $machine->shutdown;
+
+ # Reboot Machine
+ $machine = createMachine({ ${hdFlags} qemuFlags => "${qemuFlags}", name => "clone-alternate-config" });
+ ${preBootCommands}
+
+ $machine->waitForUnit("multi-user.target");
+ # Booted configuration name should be Work
+ $machine->succeed("cat /run/booted-system/configuration-name >&2");
+ $machine->succeed("cat /run/booted-system/configuration-name | grep Work");
+
+ # We should find a file named /etc/gitconfig
+ $machine->succeed("test -e /etc/gitconfig");
+
+ $machine->shutdown;
+ ''}
+
'';
@@ -194,6 +233,7 @@ let
, bootLoader ? "grub" # either "grub" or "systemd-boot"
, grubVersion ? 2, grubDevice ? "/dev/vda", grubIdentifier ? "uuid", grubUseEfi ? false
, enableOCR ? false, meta ? {}
+ , testCloneConfig ? false
}:
makeTest {
inherit enableOCR;
@@ -269,11 +309,12 @@ let
testScript = testScriptFun {
inherit bootLoader createPartitions preBootCommands
- grubVersion grubDevice grubIdentifier grubUseEfi extraConfig;
+ grubVersion grubDevice grubIdentifier grubUseEfi extraConfig
+ testCloneConfig;
};
};
- makeLuksRootTest = name: luksFormatOpts: makeInstallerTest "luksroot-format2"
+ makeLuksRootTest = name: luksFormatOpts: makeInstallerTest name
{ createPartitions = ''
$machine->succeed(
"flock /dev/vda parted --script /dev/vda -- mklabel msdos"
@@ -304,6 +345,66 @@ let
'';
};
+ # The (almost) simplest partitioning scheme: a swap partition and
+ # one big filesystem partition.
+ simple-test-config = { createPartitions =
+ ''
+ $machine->succeed(
+ "flock /dev/vda parted --script /dev/vda -- mklabel msdos"
+ . " mkpart primary linux-swap 1M 1024M"
+ . " mkpart primary ext2 1024M -1s",
+ "udevadm settle",
+ "mkswap /dev/vda1 -L swap",
+ "swapon -L swap",
+ "mkfs.ext3 -L nixos /dev/vda2",
+ "mount LABEL=nixos /mnt",
+ );
+ '';
+ };
+
+ simple-uefi-grub-config =
+ { createPartitions =
+ ''
+ $machine->succeed(
+ "flock /dev/vda parted --script /dev/vda -- mklabel gpt"
+ . " mkpart ESP fat32 1M 50MiB" # /boot
+ . " set 1 boot on"
+ . " mkpart primary linux-swap 50MiB 1024MiB"
+ . " mkpart primary ext2 1024MiB -1MiB", # /
+ "udevadm settle",
+ "mkswap /dev/vda2 -L swap",
+ "swapon -L swap",
+ "mkfs.ext3 -L nixos /dev/vda3",
+ "mount LABEL=nixos /mnt",
+ "mkfs.vfat -n BOOT /dev/vda1",
+ "mkdir -p /mnt/boot",
+ "mount LABEL=BOOT /mnt/boot",
+ );
+ '';
+ bootLoader = "grub";
+ grubUseEfi = true;
+ };
+
+ clone-test-extraconfig = { extraConfig =
+ ''
+ environment.systemPackages = [ pkgs.grub2 ];
+ boot.loader.grub.configurationName = "Home";
+ nesting.clone = [
+ {
+ boot.loader.grub.configurationName = lib.mkForce "Work";
+
+ environment.etc = {
+ "gitconfig".text = "
+ [core]
+ gitproxy = none for work.com
+ ";
+ };
+ }
+ ];
+ '';
+ testCloneConfig = true;
+ };
+
in {
@@ -312,21 +413,10 @@ in {
# The (almost) simplest partitioning scheme: a swap partition and
# one big filesystem partition.
- simple = makeInstallerTest "simple"
- { createPartitions =
- ''
- $machine->succeed(
- "flock /dev/vda parted --script /dev/vda -- mklabel msdos"
- . " mkpart primary linux-swap 1M 1024M"
- . " mkpart primary ext2 1024M -1s",
- "udevadm settle",
- "mkswap /dev/vda1 -L swap",
- "swapon -L swap",
- "mkfs.ext3 -L nixos /dev/vda2",
- "mount LABEL=nixos /mnt",
- );
- '';
- };
+ simple = makeInstallerTest "simple" simple-test-config;
+
+ # Test cloned configurations with the simple grub configuration
+ simpleClone = makeInstallerTest "simpleClone" (simple-test-config // clone-test-extraconfig);
# Simple GPT/UEFI configuration using systemd-boot with 3 partitions: ESP, swap & root filesystem
simpleUefiSystemdBoot = makeInstallerTest "simpleUefiSystemdBoot"
@@ -351,28 +441,10 @@ in {
bootLoader = "systemd-boot";
};
- simpleUefiGrub = makeInstallerTest "simpleUefiGrub"
- { createPartitions =
- ''
- $machine->succeed(
- "flock /dev/vda parted --script /dev/vda -- mklabel gpt"
- . " mkpart ESP fat32 1M 50MiB" # /boot
- . " set 1 boot on"
- . " mkpart primary linux-swap 50MiB 1024MiB"
- . " mkpart primary ext2 1024MiB -1MiB", # /
- "udevadm settle",
- "mkswap /dev/vda2 -L swap",
- "swapon -L swap",
- "mkfs.ext3 -L nixos /dev/vda3",
- "mount LABEL=nixos /mnt",
- "mkfs.vfat -n BOOT /dev/vda1",
- "mkdir -p /mnt/boot",
- "mount LABEL=BOOT /mnt/boot",
- );
- '';
- bootLoader = "grub";
- grubUseEfi = true;
- };
+ simpleUefiGrub = makeInstallerTest "simpleUefiGrub" simple-uefi-grub-config;
+
+ # Test cloned configurations with the uefi grub configuration
+ simpleUefiGrubClone = makeInstallerTest "simpleUefiGrubClone" (simple-uefi-grub-config // clone-test-extraconfig);
# Same as the previous, but now with a separate /boot partition.
separateBoot = makeInstallerTest "separateBoot"
diff --git a/nixos/tests/ipv6.nix b/nixos/tests/ipv6.nix
index 14f24c29cfe..d11eba764da 100644
--- a/nixos/tests/ipv6.nix
+++ b/nixos/tests/ipv6.nix
@@ -1,14 +1,16 @@
# Test of IPv6 functionality in NixOS, including whether router
# solicication/advertisement using radvd works.
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test.nix ({ pkgs, lib, ...} : {
name = "ipv6";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ eelco ];
};
nodes =
- { client = { ... }: { };
+ # Remove the interface configuration provided by makeTest so that the
+ # interfaces are all configured implicitly
+ { client = { ... }: { networking.interfaces = lib.mkForce {}; };
server =
{ ... }:
@@ -73,6 +75,11 @@ import ./make-test.nix ({ pkgs, ...} : {
$client->succeed("curl --fail -g http://[$serverIp]");
$client->fail("curl --fail -g http://[$clientIp]");
};
+ subtest "privacy extensions", sub {
+ my $ip = waitForAddress $client, "eth1", "global temporary";
+ # Default route should have "src " in it
+ $client->succeed("ip r g ::2 | grep $ip");
+ };
# TODO: test reachability of a machine on another network.
'';
diff --git a/nixos/tests/jackett.nix b/nixos/tests/jackett.nix
index 399a0c27232..c749c32ad04 100644
--- a/nixos/tests/jackett.nix
+++ b/nixos/tests/jackett.nix
@@ -2,7 +2,7 @@ import ./make-test.nix ({ lib, ... }:
with lib;
-rec {
+{
name = "jackett";
meta.maintainers = with maintainers; [ etu ];
diff --git a/nixos/tests/jormungandr.nix b/nixos/tests/jormungandr.nix
new file mode 100644
index 00000000000..2abafc53ce5
--- /dev/null
+++ b/nixos/tests/jormungandr.nix
@@ -0,0 +1,77 @@
+import ./make-test.nix ({ pkgs, ... }: {
+ name = "jormungandr";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ mmahut ];
+ };
+
+ nodes = {
+ # Testing the Byzantine Fault Tolerant protocol
+ bft = { ... }: {
+ environment.systemPackages = [ pkgs.jormungandr ];
+ services.jormungandr.enable = true;
+ services.jormungandr.genesisBlockFile = "/var/lib/jormungandr/block-0.bin";
+ services.jormungandr.secretFile = "/etc/secrets/jormungandr.yaml";
+ };
+
+ # Testing the Ouroboros Genesis Praos protocol
+ genesis = { ... }: {
+ environment.systemPackages = [ pkgs.jormungandr ];
+ services.jormungandr.enable = true;
+ services.jormungandr.genesisBlockFile = "/var/lib/jormungandr/block-0.bin";
+ services.jormungandr.secretFile = "/etc/secrets/jormungandr.yaml";
+ };
+ };
+
+ testScript = ''
+ startAll;
+
+ ## Testing BFT
+ # Let's wait for the StateDirectory
+ $bft->waitForFile("/var/lib/jormungandr/");
+
+ # First, we generate the genesis file for our new blockchain
+ $bft->succeed("jcli genesis init > /root/genesis.yaml");
+
+ # We need to generate our secret key
+ $bft->succeed("jcli key generate --type=Ed25519 > /root/key.prv");
+
+ # We include the secret key into our services.jormungandr.secretFile
+ $bft->succeed("mkdir -p /etc/secrets");
+ $bft->succeed("echo -e \"bft:\\n signing_key:\" \$(cat /root/key.prv) > /etc/secrets/jormungandr.yaml");
+
+ # After that, we generate our public key from it
+ $bft->succeed("cat /root/key.prv | jcli key to-public > /root/key.pub");
+
+ # We add our public key as a consensus leader in the genesis configration file
+ $bft->succeed("sed -ie \"s/ed25519_pk1vvwp2s0n5jl5f4xcjurp2e92sj2awehkrydrlas4vgqr7xzt33jsadha32/\$(cat /root/key.pub)/\" /root/genesis.yaml");
+
+ # Now we can generate the genesis block from it
+ $bft->succeed("jcli genesis encode --input /root/genesis.yaml --output /var/lib/jormungandr/block-0.bin");
+
+ # We should have everything to start the service now
+ $bft->succeed("systemctl restart jormungandr");
+ $bft->waitForUnit("jormungandr.service");
+
+ # Now we can test if we are able to reach the REST API
+ $bft->waitUntilSucceeds("curl -L http://localhost:8607/api/v0/node/stats | grep uptime");
+
+ ## Testing Genesis
+ # Let's wait for the StateDirectory
+ $genesis->waitForFile("/var/lib/jormungandr/");
+
+ # Bootstraping the configuration
+ $genesis->succeed("jormungandr-bootstrap -g -p 8607 -s 1");
+
+ # Moving generated files in place
+ $genesis->succeed("mkdir -p /etc/secrets");
+ $genesis->succeed("mv pool-secret1.yaml /etc/secrets/jormungandr.yaml");
+ $genesis->succeed("mv block-0.bin /var/lib/jormungandr/");
+
+ # We should have everything to start the service now
+ $genesis->succeed("systemctl restart jormungandr");
+ $genesis->waitForUnit("jormungandr.service");
+
+ # Now we can create and delegate an account
+ $genesis->succeed("./create-account-and-delegate.sh | tee -a /tmp/delegate.log");
+ '';
+})
diff --git a/nixos/tests/kubernetes/base.nix b/nixos/tests/kubernetes/base.nix
index 212023859f6..f21634c4ffb 100644
--- a/nixos/tests/kubernetes/base.nix
+++ b/nixos/tests/kubernetes/base.nix
@@ -30,10 +30,7 @@ let
{ config, pkgs, lib, nodes, ... }:
mkMerge [
{
- boot = {
- postBootCommands = "rm -fr /var/lib/kubernetes/secrets /tmp/shared/*";
- kernel.sysctl = { "fs.inotify.max_user_instances" = 256; };
- };
+ boot.postBootCommands = "rm -fr /var/lib/kubernetes/secrets /tmp/shared/*";
virtualisation.memorySize = mkDefault 1536;
virtualisation.diskSize = mkDefault 4096;
networking = {
@@ -71,7 +68,7 @@ let
443 # kubernetes apiserver
];
})
- (optionalAttrs (machine ? "extraConfiguration") (machine.extraConfiguration { inherit config pkgs lib nodes; }))
+ (optionalAttrs (machine ? extraConfiguration) (machine.extraConfiguration { inherit config pkgs lib nodes; }))
(optionalAttrs (extraConfiguration != null) (extraConfiguration { inherit config pkgs lib nodes; }))
]
) machines;
diff --git a/nixos/tests/kubernetes/dns.nix b/nixos/tests/kubernetes/dns.nix
index e7db0a58ab6..46bcb01a526 100644
--- a/nixos/tests/kubernetes/dns.nix
+++ b/nixos/tests/kubernetes/dns.nix
@@ -77,7 +77,6 @@ let
singleNodeTest = {
test = ''
# prepare machine1 for test
- $machine1->waitForUnit("kubernetes.target");
$machine1->waitUntilSucceeds("kubectl get node machine1.${domain} | grep -w Ready");
$machine1->waitUntilSucceeds("docker load < ${redisImage}");
$machine1->waitUntilSucceeds("kubectl create -f ${redisPod}");
@@ -103,8 +102,6 @@ let
# Node token exchange
$machine1->waitUntilSucceeds("cp -f /var/lib/cfssl/apitoken.secret /tmp/shared/apitoken.secret");
$machine2->waitUntilSucceeds("cat /tmp/shared/apitoken.secret | nixos-kubernetes-node-join");
- $machine1->waitForUnit("kubernetes.target");
- $machine2->waitForUnit("kubernetes.target");
# prepare machines for test
$machine1->waitUntilSucceeds("kubectl get node machine2.${domain} | grep -w Ready");
diff --git a/nixos/tests/kubernetes/rbac.nix b/nixos/tests/kubernetes/rbac.nix
index 967fe506004..3ce7adcd0d7 100644
--- a/nixos/tests/kubernetes/rbac.nix
+++ b/nixos/tests/kubernetes/rbac.nix
@@ -94,8 +94,6 @@ let
singlenode = base // {
test = ''
- $machine1->waitForUnit("kubernetes.target");
-
$machine1->waitUntilSucceeds("kubectl get node machine1.my.zyx | grep -w Ready");
$machine1->waitUntilSucceeds("docker load < ${kubectlImage}");
@@ -118,8 +116,6 @@ let
# Node token exchange
$machine1->waitUntilSucceeds("cp -f /var/lib/cfssl/apitoken.secret /tmp/shared/apitoken.secret");
$machine2->waitUntilSucceeds("cat /tmp/shared/apitoken.secret | nixos-kubernetes-node-join");
- $machine1->waitForUnit("kubernetes.target");
- $machine2->waitForUnit("kubernetes.target");
$machine1->waitUntilSucceeds("kubectl get node machine2.my.zyx | grep -w Ready");
diff --git a/nixos/tests/ldap.nix b/nixos/tests/ldap.nix
index fe859876ed2..665b9ee09b5 100644
--- a/nixos/tests/ldap.nix
+++ b/nixos/tests/ldap.nix
@@ -115,7 +115,7 @@ in
);
slapdDatabases = {
- "${dbSuffix}" = {
+ ${dbSuffix} = {
conf = ''
dn: olcBackend={1}mdb,cn=config
objectClass: olcBackendConfig
diff --git a/nixos/tests/libgdata.nix b/nixos/tests/libgdata.nix
new file mode 100644
index 00000000000..10a3ca97dd2
--- /dev/null
+++ b/nixos/tests/libgdata.nix
@@ -0,0 +1,21 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, ... }:
+
+{
+ name = "libgdata";
+
+ meta = {
+ maintainers = pkgs.libgdata.meta.maintainers;
+ };
+
+ machine = { pkgs, ... }: {
+ environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
+ # # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyTlsBackend) for ‘gio-tls-backend’
+ # Bail out! libgdata:ERROR:../gdata/tests/common.c:134:gdata_test_init: assertion failed (child_error == NULL): TLS support is not available (g-tls-error-quark, 0)
+ services.gnome3.glib-networking.enable = true;
+ };
+
+ testScript = ''
+ $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.libgdata.installedTests}/share'");
+ '';
+})
diff --git a/nixos/tests/libxmlb.nix b/nixos/tests/libxmlb.nix
new file mode 100644
index 00000000000..3bee568ac5a
--- /dev/null
+++ b/nixos/tests/libxmlb.nix
@@ -0,0 +1,17 @@
+# run installed tests
+import ./make-test.nix ({ pkgs, ... }:
+
+{
+ name = "libxmlb";
+ meta = {
+ maintainers = pkgs.libxmlb.meta.maintainers;
+ };
+
+ machine = { pkgs, ... }: {
+ environment.systemPackages = with pkgs; [ gnome-desktop-testing ];
+ };
+
+ testScript = ''
+ $machine->succeed("gnome-desktop-testing-runner -d '${pkgs.libxmlb.installedTests}/share'");
+ '';
+})
diff --git a/nixos/tests/lidarr.nix b/nixos/tests/lidarr.nix
index 58bf82503f8..85fcbd21d8c 100644
--- a/nixos/tests/lidarr.nix
+++ b/nixos/tests/lidarr.nix
@@ -2,7 +2,7 @@ import ./make-test.nix ({ lib, ... }:
with lib;
-rec {
+{
name = "lidarr";
meta.maintainers = with maintainers; [ etu ];
diff --git a/nixos/tests/lightdm.nix b/nixos/tests/lightdm.nix
index 8a9a7408d29..c805f1ed9f3 100644
--- a/nixos/tests/lightdm.nix
+++ b/nixos/tests/lightdm.nix
@@ -1,7 +1,7 @@
import ./make-test.nix ({ pkgs, ...} : {
name = "lightdm";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ aszlig ];
+ maintainers = [ aszlig worldofpeace ];
};
machine = { ... }: {
diff --git a/nixos/tests/limesurvey.nix b/nixos/tests/limesurvey.nix
new file mode 100644
index 00000000000..ad66ada106b
--- /dev/null
+++ b/nixos/tests/limesurvey.nix
@@ -0,0 +1,21 @@
+import ./make-test.nix ({ pkgs, ... }: {
+ name = "limesurvey";
+ meta.maintainers = [ pkgs.stdenv.lib.maintainers.aanderse ];
+
+ machine =
+ { ... }:
+ { services.limesurvey.enable = true;
+ services.limesurvey.virtualHost.hostName = "example.local";
+ services.limesurvey.virtualHost.adminAddr = "root@example.local";
+
+ # limesurvey won't work without a dot in the hostname
+ networking.hosts."127.0.0.1" = [ "example.local" ];
+ };
+
+ testScript = ''
+ startAll;
+
+ $machine->waitForUnit('phpfpm-limesurvey.service');
+ $machine->succeed('curl http://example.local/') =~ /The following surveys are available/ or die;
+ '';
+})
diff --git a/nixos/tests/login.nix b/nixos/tests/login.nix
index 9844ad492e8..2a7c063d303 100644
--- a/nixos/tests/login.nix
+++ b/nixos/tests/login.nix
@@ -9,6 +9,7 @@ import ./make-test.nix ({ pkgs, latestKernel ? false, ... }:
machine =
{ pkgs, lib, ... }:
{ boot.kernelPackages = lib.mkIf latestKernel pkgs.linuxPackages_latest;
+ sound.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
};
testScript =
diff --git a/nixos/tests/loki.nix b/nixos/tests/loki.nix
new file mode 100644
index 00000000000..9c3058d02f8
--- /dev/null
+++ b/nixos/tests/loki.nix
@@ -0,0 +1,37 @@
+import ./make-test.nix ({ lib, pkgs, ... }:
+
+{
+ name = "loki";
+
+ meta = with lib.maintainers; {
+ maintainers = [ willibutz ];
+ };
+
+ machine = { ... }: {
+ services.loki = {
+ enable = true;
+ configFile = "${pkgs.grafana-loki.src}/cmd/loki/loki-local-config.yaml";
+ };
+ systemd.services.promtail = {
+ description = "Promtail service for Loki test";
+ wantedBy = [ "multi-user.target" ];
+
+ serviceConfig = {
+ ExecStart = ''
+ ${pkgs.grafana-loki}/bin/promtail --config.file ${pkgs.grafana-loki.src}/cmd/promtail/promtail-local-config.yaml
+ '';
+ DynamicUser = true;
+ };
+ };
+ };
+
+ testScript = ''
+ $machine->start;
+ $machine->waitForUnit("loki.service");
+ $machine->waitForUnit("promtail.service");
+ $machine->waitForOpenPort(3100);
+ $machine->waitForOpenPort(9080);
+ $machine->succeed("echo 'Loki Ingestion Test' > /var/log/testlog");
+ $machine->waitUntilSucceeds("${pkgs.grafana-loki}/bin/logcli --addr='http://localhost:3100' query --no-labels '{job=\"varlogs\",filename=\"/var/log/testlog\"}' | grep -q 'Loki Ingestion Test'");
+ '';
+})
diff --git a/nixos/tests/magnetico.nix b/nixos/tests/magnetico.nix
new file mode 100644
index 00000000000..bc7aef653ee
--- /dev/null
+++ b/nixos/tests/magnetico.nix
@@ -0,0 +1,28 @@
+import ./make-test.nix ({ pkgs, ...} : {
+ name = "magnetico";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ rnhmjoj ];
+ };
+
+ machine = { ... }: {
+ imports = [ ../modules/profiles/minimal.nix ];
+
+ networking.firewall.allowedTCPPorts = [ 9000 ];
+
+ services.magnetico = {
+ enable = true;
+ crawler.port = 9000;
+ web.credentials.user = "$2y$12$P88ZF6soFthiiAeXnz64aOWDsY3Dw7Yw8fZ6GtiqFNjknD70zDmNe";
+ };
+ };
+
+ testScript =
+ ''
+ startAll;
+ $machine->waitForUnit("magneticod");
+ $machine->waitForUnit("magneticow");
+ $machine->succeed("${pkgs.curl}/bin/curl -u user:password http://localhost:8080");
+ $machine->succeed("${pkgs.curl}/bin/curl -u user:wrongpwd http://localhost:8080") =~ "Unauthorised." or die;
+ $machine->shutdown();
+ '';
+})
diff --git a/nixos/tests/mediawiki.nix b/nixos/tests/mediawiki.nix
new file mode 100644
index 00000000000..6293e8a2f46
--- /dev/null
+++ b/nixos/tests/mediawiki.nix
@@ -0,0 +1,19 @@
+import ./make-test.nix ({ pkgs, lib, ... }: {
+ name = "mediawiki";
+ meta.maintainers = [ lib.maintainers.aanderse ];
+
+ machine =
+ { ... }:
+ { services.mediawiki.enable = true;
+ services.mediawiki.virtualHost.hostName = "localhost";
+ services.mediawiki.virtualHost.adminAddr = "root@example.com";
+ services.mediawiki.passwordFile = pkgs.writeText "password" "correcthorsebatterystaple";
+ };
+
+ testScript = ''
+ startAll;
+
+ $machine->waitForUnit('phpfpm-mediawiki.service');
+ $machine->succeed('curl -L http://localhost/') =~ /MediaWiki has been installed/ or die;
+ '';
+})
diff --git a/nixos/tests/metabase.nix b/nixos/tests/metabase.nix
new file mode 100644
index 00000000000..be9e5ed5b1e
--- /dev/null
+++ b/nixos/tests/metabase.nix
@@ -0,0 +1,20 @@
+import ./make-test.nix ({ pkgs, ... }: {
+ name = "metabase";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ mmahut ];
+ };
+
+ nodes = {
+ machine = { ... }: {
+ services.metabase.enable = true;
+ virtualisation.memorySize = 1024;
+ };
+ };
+
+ testScript = ''
+ startAll;
+ $machine->waitForUnit("metabase.service");
+ $machine->waitForOpenPort(3000);
+ $machine->waitUntilSucceeds("curl -L http://localhost:3000/setup | grep Metabase");
+ '';
+})
diff --git a/nixos/tests/moodle.nix b/nixos/tests/moodle.nix
new file mode 100644
index 00000000000..565a6b63694
--- /dev/null
+++ b/nixos/tests/moodle.nix
@@ -0,0 +1,22 @@
+import ./make-test.nix ({ pkgs, lib, ... }: {
+ name = "moodle";
+ meta.maintainers = [ lib.maintainers.aanderse ];
+
+ machine =
+ { ... }:
+ { services.moodle.enable = true;
+ services.moodle.virtualHost.hostName = "localhost";
+ services.moodle.virtualHost.adminAddr = "root@example.com";
+ services.moodle.initialPassword = "correcthorsebatterystaple";
+
+ # Ensure the virtual machine has enough memory to avoid errors like:
+ # Fatal error: Out of memory (allocated 152047616) (tried to allocate 33554440 bytes)
+ virtualisation.memorySize = 2000;
+ };
+
+ testScript = ''
+ startAll;
+ $machine->waitForUnit('phpfpm-moodle.service');
+ $machine->succeed('curl http://localhost/') =~ /You are not logged in/ or die;
+ '';
+})
diff --git a/nixos/tests/mosquitto.nix b/nixos/tests/mosquitto.nix
index 86b7f9c044d..b4c897c3ab5 100644
--- a/nixos/tests/mosquitto.nix
+++ b/nixos/tests/mosquitto.nix
@@ -16,7 +16,7 @@ let
"-t ${topic}"
];
-in rec {
+in {
name = "mosquitto";
meta = with pkgs.stdenv.lib; {
maintainers = with maintainers; [ peterhoeg ];
@@ -34,7 +34,7 @@ in rec {
enable = true;
host = "0.0.0.0";
checkPasswords = true;
- users."${username}" = {
+ users.${username} = {
inherit password;
acl = [
"topic readwrite ${topic}"
@@ -49,21 +49,40 @@ in rec {
testScript = let
file = "/tmp/msg";
- payload = "wootWOOT";
+ sub = args:
+ "(${cmd "sub"} -C 1 ${args} | tee ${file} &)";
in ''
startAll;
$server->waitForUnit("mosquitto.service");
$server->fail("test -f ${file}");
- $server->execute("(${cmd "sub"} -C 1 | tee ${file} &)");
-
$client1->fail("test -f ${file}");
- $client1->execute("(${cmd "sub"} -C 1 | tee ${file} &)");
+ $client2->fail("test -f ${file}");
- $client2->succeed("${cmd "pub"} -m ${payload}");
- $server->succeed("grep -q ${payload} ${file}");
+ # QoS = 0, so only one subscribers should get it
+ $server->execute("${sub "-q 0"}");
- $client1->succeed("grep -q ${payload} ${file}");
+ # we need to give the subscribers some time to connect
+ $client2->execute("sleep 5");
+ $client2->succeed("${cmd "pub"} -m FOO -q 0");
+
+ $server->waitUntilSucceeds("grep -q FOO ${file}");
+ $server->execute("rm ${file}");
+
+
+ # QoS = 1, so both subscribers should get it
+ $server->execute("${sub "-q 1"}");
+ $client1->execute("${sub "-q 1"}");
+
+ # we need to give the subscribers some time to connect
+ $client2->execute("sleep 5");
+ $client2->succeed("${cmd "pub"} -m BAR -q 1");
+
+ $server->waitUntilSucceeds("grep -q BAR ${file}");
+ $server->execute("rm ${file}");
+
+ $client1->waitUntilSucceeds("grep -q BAR ${file}");
+ $client1->execute("rm ${file}");
'';
})
diff --git a/nixos/tests/mumble.nix b/nixos/tests/mumble.nix
index dadd16fd9a0..652d49a24b1 100644
--- a/nixos/tests/mumble.nix
+++ b/nixos/tests/mumble.nix
@@ -63,8 +63,8 @@ in
$client2->sendChars("y");
# Find clients in logs
- $server->waitUntilSucceeds("grep -q 'client1' /var/log/murmur/murmurd.log");
- $server->waitUntilSucceeds("grep -q 'client2' /var/log/murmur/murmurd.log");
+ $server->waitUntilSucceeds("journalctl -eu murmur -o cat | grep -q client1");
+ $server->waitUntilSucceeds("journalctl -eu murmur -o cat | grep -q client2");
$server->sleep(5); # wait to get screenshot
$client1->screenshot("screen1");
diff --git a/nixos/tests/mysql.nix b/nixos/tests/mysql.nix
index cfe10bc41b0..05bd968de02 100644
--- a/nixos/tests/mysql.nix
+++ b/nixos/tests/mysql.nix
@@ -19,7 +19,7 @@ import ./make-test.nix ({ pkgs, ...} : {
services.mysql.initialScript = pkgs.writeText "mysql-init.sql" ''
CREATE USER 'passworduser'@'localhost' IDENTIFIED BY 'password123';
'';
- services.mysql.package = pkgs.mysql;
+ services.mysql.package = pkgs.mysql57;
};
mariadb =
@@ -28,6 +28,12 @@ import ./make-test.nix ({ pkgs, ...} : {
{
users.users.testuser = { };
services.mysql.enable = true;
+ services.mysql.initialScript = pkgs.writeText "mariadb-init.sql" ''
+ ALTER USER root@localhost IDENTIFIED WITH unix_socket;
+ DELETE FROM mysql.user WHERE password = ''' AND plugin = ''';
+ DELETE FROM mysql.user WHERE user = ''';
+ FLUSH PRIVILEGES;
+ '';
services.mysql.ensureDatabases = [ "testdb" ];
services.mysql.ensureUsers = [{
name = "testuser";
diff --git a/nixos/tests/ndppd.nix b/nixos/tests/ndppd.nix
index c53ff93a91f..6a6f602726d 100644
--- a/nixos/tests/ndppd.nix
+++ b/nixos/tests/ndppd.nix
@@ -37,7 +37,7 @@ import ./make-test.nix ({ pkgs, lib, ...} : {
};
services.ndppd = {
enable = true;
- proxies."eth1".rules."fd42::/112" = {};
+ proxies.eth1.rules."fd42::/112" = {};
};
containers.client = {
autoStart = true;
diff --git a/nixos/tests/nesting.nix b/nixos/tests/nesting.nix
new file mode 100644
index 00000000000..1306d6f8e0c
--- /dev/null
+++ b/nixos/tests/nesting.nix
@@ -0,0 +1,42 @@
+import ./make-test.nix {
+ name = "nesting";
+ nodes = {
+ clone = { pkgs, ... }: {
+ environment.systemPackages = [ pkgs.cowsay ];
+ nesting.clone = [
+ ({ pkgs, ... }: {
+ environment.systemPackages = [ pkgs.hello ];
+ })
+ ];
+ };
+ children = { pkgs, ... }: {
+ environment.systemPackages = [ pkgs.cowsay ];
+ nesting.children = [
+ ({ pkgs, ... }: {
+ environment.systemPackages = [ pkgs.hello ];
+ })
+ ];
+ };
+ };
+ testScript = ''
+ $clone->waitForUnit("default.target");
+ $clone->succeed("cowsay hey");
+ $clone->fail("hello");
+
+ # Nested clones do inherit from parent
+ $clone->succeed("/run/current-system/fine-tune/child-1/bin/switch-to-configuration test");
+ $clone->succeed("cowsay hey");
+ $clone->succeed("hello");
+
+
+ $children->waitForUnit("default.target");
+ $children->succeed("cowsay hey");
+ $children->fail("hello");
+
+ # Nested children do not inherit from parent
+ $children->succeed("/run/current-system/fine-tune/child-1/bin/switch-to-configuration test");
+ $children->fail("cowsay hey");
+ $children->succeed("hello");
+
+ '';
+}
diff --git a/nixos/tests/networking.nix b/nixos/tests/networking.nix
index ed9f287d558..7452768033a 100644
--- a/nixos/tests/networking.nix
+++ b/nixos/tests/networking.nix
@@ -21,7 +21,7 @@ let
useNetworkd = networkd;
firewall.checkReversePath = true;
firewall.allowedUDPPorts = [ 547 ];
- interfaces = mkOverride 0 (listToAttrs (flip map vlanIfs (n:
+ interfaces = mkOverride 0 (listToAttrs (forEach vlanIfs (n:
nameValuePair "eth${toString n}" {
ipv4.addresses = [ { address = "192.168.${toString n}.1"; prefixLength = 24; } ];
ipv6.addresses = [ { address = "fd00:1234:5678:${toString n}::1"; prefixLength = 64; } ];
@@ -440,12 +440,12 @@ let
virtual = {
name = "Virtual";
machine = {
- networking.interfaces."tap0" = {
+ networking.interfaces.tap0 = {
ipv4.addresses = [ { address = "192.168.1.1"; prefixLength = 24; } ];
ipv6.addresses = [ { address = "2001:1470:fffd:2096::"; prefixLength = 64; } ];
virtual = true;
};
- networking.interfaces."tun0" = {
+ networking.interfaces.tun0 = {
ipv4.addresses = [ { address = "192.168.1.2"; prefixLength = 24; } ];
ipv6.addresses = [ { address = "2001:1470:fffd:2097::"; prefixLength = 64; } ];
virtual = true;
@@ -510,7 +510,7 @@ let
'';
};
};
- nodes.client = { pkgs, ... }: with pkgs.lib; {
+ nodes.clientWithPrivacy = { pkgs, ... }: with pkgs.lib; {
virtualisation.vlans = [ 1 ];
networking = {
useNetworkd = networkd;
@@ -522,28 +522,46 @@ let
};
};
};
+ nodes.client = { pkgs, ... }: with pkgs.lib; {
+ virtualisation.vlans = [ 1 ];
+ networking = {
+ useNetworkd = networkd;
+ useDHCP = true;
+ interfaces.eth1 = {
+ preferTempAddress = false;
+ ipv4.addresses = mkOverride 0 [ ];
+ ipv6.addresses = mkOverride 0 [ ];
+ };
+ };
+ };
testScript = { ... }:
''
startAll;
$client->waitForUnit("network.target");
+ $clientWithPrivacy->waitForUnit("network.target");
$router->waitForUnit("network-online.target");
# Wait until we have an ip address
+ $clientWithPrivacy->waitUntilSucceeds("ip addr show dev eth1 | grep -q 'fd00:1234:5678:1:'");
$client->waitUntilSucceeds("ip addr show dev eth1 | grep -q 'fd00:1234:5678:1:'");
# Test vlan 1
+ $clientWithPrivacy->waitUntilSucceeds("ping -c 1 fd00:1234:5678:1::1");
$client->waitUntilSucceeds("ping -c 1 fd00:1234:5678:1::1");
# Test address used is temporary
- $client->waitUntilSucceeds("! ip route get fd00:1234:5678:1::1 | grep -q ':[a-f0-9]*ff:fe[a-f0-9]*:'");
+ $clientWithPrivacy->waitUntilSucceeds("! ip route get fd00:1234:5678:1::1 | grep -q ':[a-f0-9]*ff:fe[a-f0-9]*:'");
+
+ # Test address used is EUI-64
+ $client->waitUntilSucceeds("ip route get fd00:1234:5678:1::1 | grep -q ':[a-f0-9]*ff:fe[a-f0-9]*:'");
'';
};
routes = {
name = "routes";
machine = {
networking.useDHCP = false;
- networking.interfaces."eth0" = {
+ networking.interfaces.eth0 = {
ipv4.addresses = [ { address = "192.168.1.2"; prefixLength = 24; } ];
ipv6.addresses = [ { address = "2001:1470:fffd:2097::"; prefixLength = 64; } ];
ipv6.routes = [
diff --git a/nixos/tests/nextcloud/with-mysql-and-memcached.nix b/nixos/tests/nextcloud/with-mysql-and-memcached.nix
index c0d347238b4..aaf37ee4c81 100644
--- a/nixos/tests/nextcloud/with-mysql-and-memcached.nix
+++ b/nixos/tests/nextcloud/with-mysql-and-memcached.nix
@@ -50,7 +50,7 @@ in {
'';
};
- systemd.services."nextcloud-setup"= {
+ systemd.services.nextcloud-setup= {
requires = ["mysql.service"];
after = ["mysql.service"];
};
diff --git a/nixos/tests/nextcloud/with-postgresql-and-redis.nix b/nixos/tests/nextcloud/with-postgresql-and-redis.nix
index 0351d4db69a..81c269c2378 100644
--- a/nixos/tests/nextcloud/with-postgresql-and-redis.nix
+++ b/nixos/tests/nextcloud/with-postgresql-and-redis.nix
@@ -27,10 +27,7 @@ in {
dbtype = "pgsql";
dbname = "nextcloud";
dbuser = "nextcloud";
- dbhost = "localhost";
- dbpassFile = toString (pkgs.writeText "db-pass-file" ''
- hunter2
- '');
+ dbhost = "/run/postgresql";
inherit adminuser;
adminpassFile = toString (pkgs.writeText "admin-pass-file" ''
${adminpass}
@@ -54,7 +51,7 @@ in {
serviceConfig.PermissionsStartOnly = true;
};
- systemd.services."nextcloud-setup"= {
+ systemd.services.nextcloud-setup= {
requires = ["postgresql.service"];
after = [
"postgresql.service"
@@ -65,7 +62,7 @@ in {
# At the time of writing, redis creates its socket with the "nobody"
# group. I figure this is slightly less bad than making the socket world
# readable.
- systemd.services."chown-redis-socket" = {
+ systemd.services.chown-redis-socket = {
enable = true;
script = ''
until ${pkgs.redis}/bin/redis-cli ping; do
@@ -84,10 +81,12 @@ in {
services.postgresql = {
enable = true;
- initialScript = pkgs.writeText "psql-init" ''
- create role nextcloud with login password 'hunter2';
- create database nextcloud with owner nextcloud;
- '';
+ ensureDatabases = [ "nextcloud" ];
+ ensureUsers = [
+ { name = "nextcloud";
+ ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES";
+ }
+ ];
};
};
};
diff --git a/nixos/tests/nghttpx.nix b/nixos/tests/nghttpx.nix
index d41fa01aa9a..11611bfe106 100644
--- a/nixos/tests/nghttpx.nix
+++ b/nixos/tests/nghttpx.nix
@@ -15,7 +15,7 @@ in
services.nginx = {
enable = true;
- virtualHosts."server" = {
+ virtualHosts.server = {
locations."/".root = nginxRoot;
};
};
diff --git a/nixos/tests/nginx.nix b/nixos/tests/nginx.nix
index d66d99821c1..d0b7306ae83 100644
--- a/nixos/tests/nginx.nix
+++ b/nixos/tests/nginx.nix
@@ -3,15 +3,15 @@
# generated virtual hosts config.
# 2. whether the ETag header is properly generated whenever we're serving
# files in Nix store paths
-
+# 3. nginx doesn't restart on configuration changes (only reloads)
import ./make-test.nix ({ pkgs, ... }: {
name = "nginx";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ mbbx6spp ];
};
- nodes = let
- commonConfig = { pkgs, ... }: {
+ nodes = {
+ webserver = { pkgs, lib, ... }: {
services.nginx.enable = true;
services.nginx.commonHttpConfig = ''
log_format ceeformat '@cee: {"status":"$status",'
@@ -32,30 +32,42 @@ import ./make-test.nix ({ pkgs, ... }: {
location /favicon.ico { allow all; access_log off; log_not_found off; }
'';
};
+
services.nginx.virtualHosts.localhost = {
root = pkgs.runCommand "testdir" {} ''
mkdir "$out"
echo hello world > "$out/index.html"
'';
};
- };
- in {
- webserver = commonConfig;
- newwebserver = { pkgs, lib, ... }: {
- imports = [ commonConfig ];
- services.nginx.virtualHosts.localhost = {
- root = lib.mkForce (pkgs.runCommand "testdir2" {} ''
- mkdir "$out"
- echo hello world > "$out/index.html"
- '');
- };
+ services.nginx.enableReload = true;
+
+ nesting.clone = [
+ {
+ services.nginx.virtualHosts.localhost = {
+ root = lib.mkForce (pkgs.runCommand "testdir2" {} ''
+ mkdir "$out"
+ echo content changed > "$out/index.html"
+ '');
+ };
+ }
+
+ {
+ services.nginx.virtualHosts."1.my.test".listen = [ { addr = "127.0.0.1"; port = 8080; }];
+ }
+
+ {
+ services.nginx.package = pkgs.nginxUnstable;
+ }
+ ];
};
+
};
testScript = { nodes, ... }: let
- newServerSystem = nodes.newwebserver.config.system.build.toplevel;
- switch = "${newServerSystem}/bin/switch-to-configuration test";
+ etagSystem = "${nodes.webserver.config.system.build.toplevel}/fine-tune/child-1";
+ justReloadSystem = "${nodes.webserver.config.system.build.toplevel}/fine-tune/child-2";
+ reloadRestartSystem = "${nodes.webserver.config.system.build.toplevel}/fine-tune/child-3";
in ''
my $url = 'http://localhost/index.html';
@@ -77,9 +89,23 @@ import ./make-test.nix ({ pkgs, ... }: {
subtest "check ETag if serving Nix store paths", sub {
my $oldEtag = checkEtag;
- $webserver->succeed('${switch}');
+ $webserver->succeed("${etagSystem}/bin/switch-to-configuration test >&2");
+ $webserver->sleep(1); # race condition
my $newEtag = checkEtag;
die "Old ETag $oldEtag is the same as $newEtag" if $oldEtag eq $newEtag;
};
+
+ subtest "config is reloaded on nixos-rebuild switch", sub {
+ $webserver->succeed("${justReloadSystem}/bin/switch-to-configuration test >&2");
+ $webserver->waitForOpenPort("8080");
+ $webserver->fail("journalctl -u nginx | grep -q -i stopped");
+ $webserver->succeed("journalctl -u nginx | grep -q -i reloaded");
+ };
+
+ subtest "restart when nginx package changes", sub {
+ $webserver->succeed("${reloadRestartSystem}/bin/switch-to-configuration test >&2");
+ $webserver->waitForUnit("nginx");
+ $webserver->succeed("journalctl -u nginx | grep -q -i stopped");
+ };
'';
})
diff --git a/nixos/tests/nixos-generate-config.nix b/nixos/tests/nixos-generate-config.nix
new file mode 100644
index 00000000000..15a173e024b
--- /dev/null
+++ b/nixos/tests/nixos-generate-config.nix
@@ -0,0 +1,24 @@
+import ./make-test.nix ({ lib, ... } : {
+ name = "nixos-generate-config";
+ meta.maintainers = with lib.maintainers; [ basvandijk ];
+ machine = {
+ system.nixos-generate-config.configuration = ''
+ # OVERRIDDEN
+ { config, pkgs, ... }: {
+ imports = [ ./hardware-configuration.nix ];
+ $bootLoaderConfig
+ }
+ '';
+ };
+ testScript = ''
+ startAll;
+ $machine->waitForUnit("multi-user.target");
+ $machine->succeed("nixos-generate-config");
+
+ # Test if the configuration really is overridden
+ $machine->succeed("grep 'OVERRIDDEN' /etc/nixos/configuration.nix");
+
+ # Test of if the Perl variable $bootLoaderConfig is spliced correctly:
+ $machine->succeed("grep 'boot\\.loader\\.grub\\.enable = true;' /etc/nixos/configuration.nix");
+ '';
+})
diff --git a/nixos/tests/ostree.nix b/nixos/tests/ostree.nix
index 8b19004874e..d7ad84a1a5f 100644
--- a/nixos/tests/ostree.nix
+++ b/nixos/tests/ostree.nix
@@ -12,7 +12,7 @@ import ./make-test.nix ({ pkgs, lib, ... }: {
gnome-desktop-testing ostree gnupg (python3.withPackages (p: with p; [ pyyaml ]))
];
- environment.variables.GI_TYPELIB_PATH = lib.makeSearchPath "lib/girepository-1.0" (with pkgs; [ gtk3 pango.out ostree gdk_pixbuf atk ]); # for GJS tests
+ environment.variables.GI_TYPELIB_PATH = lib.makeSearchPath "lib/girepository-1.0" (with pkgs; [ gtk3 pango.out ostree gdk-pixbuf atk ]); # for GJS tests
};
testScript = ''
diff --git a/nixos/tests/pgmanage.nix b/nixos/tests/pgmanage.nix
index 110cbd5c5b4..bacaf3f4158 100644
--- a/nixos/tests/pgmanage.nix
+++ b/nixos/tests/pgmanage.nix
@@ -21,7 +21,7 @@ in
pgmanage = {
enable = true;
connections = {
- "${conn}" = "hostaddr=127.0.0.1 port=${toString config.services.postgresql.port} dbname=postgres";
+ ${conn} = "hostaddr=127.0.0.1 port=${toString config.services.postgresql.port} dbname=postgres";
};
};
};
diff --git a/nixos/tests/phabricator.nix b/nixos/tests/phabricator.nix
deleted file mode 100644
index db23331842c..00000000000
--- a/nixos/tests/phabricator.nix
+++ /dev/null
@@ -1,77 +0,0 @@
-import ./make-test.nix ({ pkgs, ... }: {
- name = "phabricator";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ ];
- };
-
- nodes = {
- storage =
- { ... }:
- { services.nfs.server.enable = true;
- services.nfs.server.exports = ''
- /repos 192.168.1.0/255.255.255.0(rw,no_root_squash)
- '';
- services.nfs.server.createMountPoints = true;
- };
-
- webserver =
- { pkgs, ... }:
- { fileSystems = pkgs.lib.mkVMOverride
- [ { mountPoint = "/repos";
- device = "storage:/repos";
- fsType = "nfs";
- }
- ];
- networking.firewall.enable = false;
- networking.useDHCP = false;
-
- services = {
- httpd = {
- enable = true;
- adminAddr = "root@localhost";
- virtualHosts = [{
- hostName = "phabricator.local";
- extraSubservices = [{serviceType = "phabricator";}];
- }];
- };
-
- phd = {
- enable = true;
- };
-
- mysql = {
- enable = true;
- package = pkgs.mysql;
- extraOptions = ''
- sql_mode=STRICT_ALL_TABLES
- '';
- };
- };
-
- environment.systemPackages = [ pkgs.php ];
- };
-
- client =
- { ... }:
- { imports = [ ./common/x11.nix ];
- services.xserver.desktopManager.plasma5.enable = true;
- };
- };
-
- testScript =
- ''
- startAll;
-
- $client->waitForX;
-
- $webserver->waitForUnit("mysql");
- $webserver->waitForUnit("httpd");
- $webserver->execute("cd /nix/store; less >/repos/log1");
-
- $client->sleep(30); # loading takes a long time
- $client->execute("konqueror http://webserver/ &");
- $client->sleep(90); # loading takes a long time
-
- $client->screenshot("screen");
- '';
-})
diff --git a/nixos/tests/php-pcre.nix b/nixos/tests/php-pcre.nix
index 19bde9babad..ae44aec7944 100644
--- a/nixos/tests/php-pcre.nix
+++ b/nixos/tests/php-pcre.nix
@@ -8,30 +8,25 @@ import ./make-test.nix ({ ...}: {
services.httpd = {
enable = true;
adminAddr = "please@dont.contact";
- extraSubservices = lib.singleton {
- function = f: {
- enablePHP = true;
- phpOptions = "pcre.jit = true";
+ enablePHP = true;
+ phpOptions = "pcre.jit = true";
+ extraConfig =
+ let
+ testRoot = pkgs.writeText "index.php"
+ ''
+
+ '';
+ in
+ ''
+ Alias / ${testRoot}/
- extraConfig =
- let
- testRoot = pkgs.writeText "index.php"
- ''
-
- '';
- in
- ''
- Alias / ${testRoot}/
-
-
- Require all granted
-
- '';
- };
- };
+
+ Require all granted
+
+ '';
};
};
testScript = { ... }:
diff --git a/nixos/tests/plasma5.nix b/nixos/tests/plasma5.nix
index 788c8719c8d..88d4ff33436 100644
--- a/nixos/tests/plasma5.nix
+++ b/nixos/tests/plasma5.nix
@@ -30,6 +30,7 @@ import ./make-test.nix ({ pkgs, ...} :
enable = true;
user = "alice";
};
+ hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
virtualisation.memorySize = 1024;
environment.systemPackages = [ sddm_theme ];
};
diff --git a/nixos/tests/postgresql-wal-receiver.nix b/nixos/tests/postgresql-wal-receiver.nix
new file mode 100644
index 00000000000..791b041ba95
--- /dev/null
+++ b/nixos/tests/postgresql-wal-receiver.nix
@@ -0,0 +1,86 @@
+{ system ? builtins.currentSystem
+, config ? { }
+, pkgs ? import ../.. { inherit system config; } }:
+
+with import ../lib/testing.nix { inherit system pkgs; };
+with pkgs.lib;
+
+let
+ postgresqlDataDir = "/var/db/postgresql/test";
+ replicationUser = "wal_receiver_user";
+ replicationSlot = "wal_receiver_slot";
+ replicationConn = "postgresql://${replicationUser}@localhost";
+ baseBackupDir = "/tmp/pg_basebackup";
+ walBackupDir = "/tmp/pg_wal";
+ recoveryConf = pkgs.writeText "recovery.conf" ''
+ restore_command = 'cp ${walBackupDir}/%f %p'
+ '';
+
+ makePostgresqlWalReceiverTest = subTestName: postgresqlPackage: makeTest {
+ name = "postgresql-wal-receiver-${subTestName}";
+ meta.maintainers = with maintainers; [ pacien ];
+
+ machine = { ... }: {
+ services.postgresql = {
+ package = postgresqlPackage;
+ enable = true;
+ dataDir = postgresqlDataDir;
+ extraConfig = ''
+ wal_level = archive # alias for replica on pg >= 9.6
+ max_wal_senders = 10
+ max_replication_slots = 10
+ '';
+ authentication = ''
+ host replication ${replicationUser} all trust
+ '';
+ initialScript = pkgs.writeText "init.sql" ''
+ create user ${replicationUser} replication;
+ select * from pg_create_physical_replication_slot('${replicationSlot}');
+ '';
+ };
+
+ services.postgresqlWalReceiver.receivers.main = {
+ inherit postgresqlPackage;
+ connection = replicationConn;
+ slot = replicationSlot;
+ directory = walBackupDir;
+ };
+ };
+
+ testScript = ''
+ # make an initial base backup
+ $machine->waitForUnit('postgresql');
+ $machine->waitForUnit('postgresql-wal-receiver-main');
+ # WAL receiver healthchecks PG every 5 seconds, so let's be sure they have connected each other
+ # required only for 9.4
+ $machine->sleep(5);
+ $machine->succeed('${postgresqlPackage}/bin/pg_basebackup --dbname=${replicationConn} --pgdata=${baseBackupDir}');
+
+ # create a dummy table with 100 records
+ $machine->succeed('sudo -u postgres psql --command="create table dummy as select * from generate_series(1, 100) as val;"');
+
+ # stop postgres and destroy data
+ $machine->systemctl('stop postgresql');
+ $machine->systemctl('stop postgresql-wal-receiver-main');
+ $machine->succeed('rm -r ${postgresqlDataDir}/{base,global,pg_*}');
+
+ # restore the base backup
+ $machine->succeed('cp -r ${baseBackupDir}/* ${postgresqlDataDir} && chown postgres:postgres -R ${postgresqlDataDir}');
+
+ # prepare WAL and recovery
+ $machine->succeed('chmod a+rX -R ${walBackupDir}');
+ $machine->execute('for part in ${walBackupDir}/*.partial; do mv $part ''${part%%.*}; done'); # make use of partial segments too
+ $machine->succeed('cp ${recoveryConf} ${postgresqlDataDir}/recovery.conf && chmod 666 ${postgresqlDataDir}/recovery.conf');
+
+ # replay WAL
+ $machine->systemctl('start postgresql');
+ $machine->waitForFile('${postgresqlDataDir}/recovery.done');
+ $machine->systemctl('restart postgresql');
+ $machine->waitForUnit('postgresql');
+
+ # check that our records have been restored
+ $machine->succeed('test $(sudo -u postgres psql --pset="pager=off" --tuples-only --command="select count(distinct val) from dummy;") -eq 100');
+ '';
+ };
+
+in mapAttrs makePostgresqlWalReceiverTest (import ../../pkgs/servers/sql/postgresql pkgs)
diff --git a/nixos/tests/printing.nix b/nixos/tests/printing.nix
index e8702c1ffbf..4d0df289cf7 100644
--- a/nixos/tests/printing.nix
+++ b/nixos/tests/printing.nix
@@ -1,33 +1,53 @@
# Test printing via CUPS.
-import ./make-test.nix ({pkgs, ... }: {
+import ./make-test.nix ({pkgs, ... }:
+let
+ printingServer = startWhenNeeded: {
+ services.printing.enable = true;
+ services.printing.startWhenNeeded = startWhenNeeded;
+ services.printing.listenAddresses = [ "*:631" ];
+ services.printing.defaultShared = true;
+ services.printing.extraConf =
+ ''
+
+ Order allow,deny
+ Allow from all
+
+ '';
+ networking.firewall.allowedTCPPorts = [ 631 ];
+ # Add a HP Deskjet printer connected via USB to the server.
+ hardware.printers.ensurePrinters = [{
+ name = "DeskjetLocal";
+ deviceUri = "usb://foobar/printers/foobar";
+ model = "drv:///sample.drv/deskjet.ppd";
+ }];
+ };
+ printingClient = startWhenNeeded: {
+ services.printing.enable = true;
+ services.printing.startWhenNeeded = startWhenNeeded;
+ # Add printer to the client as well, via IPP.
+ hardware.printers.ensurePrinters = [{
+ name = "DeskjetRemote";
+ deviceUri = "ipp://${if startWhenNeeded then "socketActivatedServer" else "serviceServer"}/printers/DeskjetLocal";
+ model = "drv:///sample.drv/deskjet.ppd";
+ }];
+ hardware.printers.ensureDefaultPrinter = "DeskjetRemote";
+ };
+
+in
+
+{
name = "printing";
meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ domenkozar eelco ];
+ maintainers = [ domenkozar eelco matthewbauer ];
};
nodes = {
+ socketActivatedServer = { ... }: (printingServer true);
+ serviceServer = { ... }: (printingServer false);
- server =
- { ... }:
- { services.printing.enable = true;
- services.printing.listenAddresses = [ "*:631" ];
- services.printing.defaultShared = true;
- services.printing.extraConf =
- ''
-
- Order allow,deny
- Allow from all
-
- '';
- networking.firewall.allowedTCPPorts = [ 631 ];
- };
-
- client =
- { ... }:
- { services.printing.enable = true;
- };
-
+ socketActivatedClient = { ... }: (printingClient true);
+ serviceClient = { ... }: (printingClient false);
};
testScript =
@@ -35,69 +55,60 @@ import ./make-test.nix ({pkgs, ... }: {
startAll;
# Make sure that cups is up on both sides.
- $server->waitForUnit("cups.service");
- $client->waitForUnit("cups.service");
- $client->sleep(10); # wait until cups is fully initialized
- $client->succeed("lpstat -r") =~ /scheduler is running/ or die;
- # check local encrypted connections work without error
- $client->succeed("lpstat -E -r") =~ /scheduler is running/ or die;
- # Test that UNIX socket is used for connections.
- $client->succeed("lpstat -H") =~ "/run/cups/cups.sock" or die;
- # Test that HTTP server is available too.
- $client->succeed("curl --fail http://localhost:631/");
- $client->succeed("curl --fail http://server:631/");
- $server->fail("curl --fail --connect-timeout 2 http://client:631/");
-
- # Add a HP Deskjet printer connected via USB to the server.
- $server->succeed("lpadmin -p DeskjetLocal -E -v usb://foobar/printers/foobar");
-
- # Add it to the client as well via IPP.
- $client->succeed("lpadmin -p DeskjetRemote -E -v ipp://server/printers/DeskjetLocal");
- $client->succeed("lpadmin -d DeskjetRemote");
-
- # Do some status checks.
- $client->succeed("lpstat -a") =~ /DeskjetRemote accepting requests/ or die;
- $client->succeed("lpstat -h server:631 -a") =~ /DeskjetLocal accepting requests/ or die;
- $client->succeed("cupsdisable DeskjetRemote");
- $client->succeed("lpq") =~ /DeskjetRemote is not ready.*no entries/s or die;
- $client->succeed("cupsenable DeskjetRemote");
- $client->succeed("lpq") =~ /DeskjetRemote is ready.*no entries/s or die;
-
- # Test printing various file types.
- foreach my $file ("${pkgs.groff.doc}/share/doc/*/examples/mom/penguin.pdf",
- "${pkgs.groff.doc}/share/doc/*/meref.ps",
- "${pkgs.cups.out}/share/doc/cups/images/cups.png",
- "${pkgs.pcre.doc}/share/doc/pcre/pcre.txt")
- {
- $file =~ /([^\/]*)$/; my $fn = $1;
-
- subtest "print $fn", sub {
-
- # Print the file on the client.
- $client->succeed("lp $file");
- $client->sleep(10);
- $client->succeed("lpq") =~ /active.*root.*$fn/ or die;
-
- # Ensure that a raw PCL file appeared in the server's queue
- # (showing that the right filters have been applied). Of
- # course, since there is no actual USB printer attached, the
- # file will stay in the queue forever.
- $server->waitForFile("/var/spool/cups/d*-001");
- $server->sleep(10);
- $server->succeed("lpq -a") =~ /$fn/ or die;
-
- # Delete the job on the client. It should disappear on the
- # server as well.
- $client->succeed("lprm");
- $client->sleep(10);
- $client->succeed("lpq -a") =~ /no entries/;
- Machine::retry sub {
- return 1 if $server->succeed("lpq -a") =~ /no entries/;
+ $serviceServer->waitForUnit("cups.service");
+ $serviceClient->waitForUnit("cups.service");
+ # wait until cups is fully initialized and ensure-printers has executed with 10s delay
+ $serviceClient->sleep(20);
+ $socketActivatedClient->waitUntilSucceeds("systemctl status ensure-printers | grep -q -E 'code=exited, status=0/SUCCESS'");
+ sub testPrinting {
+ my ($client, $server) = (@_);
+ my $clientHostname = $client->name();
+ my $serverHostname = $server->name();
+ $client->succeed("lpstat -r") =~ /scheduler is running/ or die;
+ # Test that UNIX socket is used for connections.
+ $client->succeed("lpstat -H") =~ "/var/run/cups/cups.sock" or die;
+ # Test that HTTP server is available too.
+ $client->succeed("curl --fail http://localhost:631/");
+ $client->succeed("curl --fail http://$serverHostname:631/");
+ $server->fail("curl --fail --connect-timeout 2 http://$clientHostname:631/");
+ # Do some status checks.
+ $client->succeed("lpstat -a") =~ /DeskjetRemote accepting requests/ or die;
+ $client->succeed("lpstat -h $serverHostname:631 -a") =~ /DeskjetLocal accepting requests/ or die;
+ $client->succeed("cupsdisable DeskjetRemote");
+ $client->succeed("lpq") =~ /DeskjetRemote is not ready.*no entries/s or die;
+ $client->succeed("cupsenable DeskjetRemote");
+ $client->succeed("lpq") =~ /DeskjetRemote is ready.*no entries/s or die;
+ # Test printing various file types.
+ foreach my $file ("${pkgs.groff.doc}/share/doc/*/examples/mom/penguin.pdf",
+ "${pkgs.groff.doc}/share/doc/*/meref.ps",
+ "${pkgs.cups.out}/share/doc/cups/images/cups.png",
+ "${pkgs.pcre.doc}/share/doc/pcre/pcre.txt")
+ {
+ $file =~ /([^\/]*)$/; my $fn = $1;
+ subtest "print $fn", sub {
+ # Print the file on the client.
+ $client->succeed("lp $file");
+ $client->waitUntilSucceeds("lpq | grep -q -E 'active.*root.*$fn'");
+ # Ensure that a raw PCL file appeared in the server's queue
+ # (showing that the right filters have been applied). Of
+ # course, since there is no actual USB printer attached, the
+ # file will stay in the queue forever.
+ $server->waitForFile("/var/spool/cups/d*-001");
+ $server->waitUntilSucceeds("lpq -a | grep -q -E '$fn'");
+ # Delete the job on the client. It should disappear on the
+ # server as well.
+ $client->succeed("lprm");
+ $client->waitUntilSucceeds("lpq -a | grep -q -E 'no entries'");
+ Machine::retry sub {
+ return 1 if $server->succeed("lpq -a") =~ /no entries/;
+ };
+ # The queue is empty already, so this should be safe.
+ # Otherwise, pairs of "c*"-"d*-001" files might persist.
+ $server->execute("rm /var/spool/cups/*");
};
- # The queue is empty already, so this should be safe.
- # Otherwise, pairs of "c*"-"d*-001" files might persist.
- $server->execute("rm /var/spool/cups/*");
- };
+ }
}
- '';
+ testPrinting($serviceClient, $serviceServer);
+ testPrinting($socketActivatedClient, $socketActivatedServer);
+ '';
})
diff --git a/nixos/tests/prometheus-2.nix b/nixos/tests/prometheus-2.nix
deleted file mode 100644
index d7035d49ad4..00000000000
--- a/nixos/tests/prometheus-2.nix
+++ /dev/null
@@ -1,67 +0,0 @@
-import ./make-test.nix {
- name = "prometheus-2";
-
- nodes = {
- one = { pkgs, ... }: {
- environment.systemPackages = [ pkgs.jq ];
- services.prometheus2 = {
- enable = true;
- scrapeConfigs = [
- {
- job_name = "prometheus";
- static_configs = [
- {
- targets = [ "127.0.0.1:9090" ];
- labels = { instance = "localhost"; };
- }
- ];
- }
- {
- job_name = "pushgateway";
- scrape_interval = "1s";
- static_configs = [
- {
- targets = [ "127.0.0.1:9091" ];
- }
- ];
- }
- ];
- rules = [
- ''
- groups:
- - name: test
- rules:
- - record: testrule
- expr: count(up{job="prometheus"})
- ''
- ];
- };
- services.prometheus.pushgateway = {
- enable = true;
- persistMetrics = true;
- persistence.interval = "1s";
- stateDir = "prometheus-pushgateway";
- };
- };
- };
-
- testScript = ''
- startAll;
- $one->waitForUnit("prometheus2.service");
- $one->waitForOpenPort(9090);
- $one->succeed("curl -s http://127.0.0.1:9090/metrics");
-
- # Let's test if pushing a metric to the pushgateway succeeds
- # and whether that metric gets ingested by prometheus.
- $one->waitForUnit("pushgateway.service");
- $one->succeed(
- "echo 'some_metric 3.14' | " .
- "curl --data-binary \@- http://127.0.0.1:9091/metrics/job/some_job");
- $one->waitUntilSucceeds(
- "curl -sf 'http://127.0.0.1:9090/api/v1/query?query=some_metric' " .
- "| jq '.data.result[0].value[1]' | grep '\"3.14\"'");
-
- # Let's test if the pushgateway persists metrics to the configured location.
- $one->waitUntilSucceeds("test -e /var/lib/prometheus-pushgateway/metrics");
- '';
-}
diff --git a/nixos/tests/prometheus-exporters.nix b/nixos/tests/prometheus-exporters.nix
index 140687a8182..9826b56b74d 100644
--- a/nixos/tests/prometheus-exporters.nix
+++ b/nixos/tests/prometheus-exporters.nix
@@ -1,6 +1,14 @@
-import ./make-test.nix ({ lib, pkgs, ... }:
+{ system ? builtins.currentSystem
+, config ? {}
+, pkgs ? import ../.. { inherit system config; }
+}:
+
let
- escape' = str: lib.replaceChars [''"'' "$" "\n"] [''\\\"'' "\\$" ""] str;
+ inherit (import ../lib/testing.nix { inherit system pkgs; }) makeTest;
+ inherit (pkgs.lib) concatStringsSep maintainers mapAttrs mkMerge
+ removeSuffix replaceChars singleton splitString;
+
+ escape' = str: replaceChars [''"'' "$" "\n"] [''\\\"'' "\\$" ""] str;
/*
* The attrset `exporterTests` contains one attribute
@@ -51,6 +59,25 @@ let
exporterTests = {
+ bind = {
+ exporterConfig = {
+ enable = true;
+ };
+ metricProvider = {
+ services.bind.enable = true;
+ services.bind.extraConfig = ''
+ statistics-channels {
+ inet 127.0.0.1 port 8053 allow { localhost; };
+ };
+ '';
+ };
+ exporterTest = ''
+ waitForUnit("prometheus-bind-exporter.service");
+ waitForOpenPort(9119);
+ succeed("curl -sSf http://localhost:9119/metrics | grep -q 'bind_query_recursions_total 0'");
+ '';
+ };
+
blackbox = {
exporterConfig = {
enable = true;
@@ -106,25 +133,6 @@ let
'';
};
- bind = {
- exporterConfig = {
- enable = true;
- };
- metricProvider = {
- services.bind.enable = true;
- services.bind.extraConfig = ''
- statistics-channels {
- inet 127.0.0.1 port 8053 allow { localhost; };
- };
- '';
- };
- exporterTest = ''
- waitForUnit("prometheus-bind-exporter.service");
- waitForOpenPort(9119);
- succeed("curl -sSf http://localhost:9119/metrics" | grep -q 'bind_query_recursions_total 0');
- '';
- };
-
dovecot = {
exporterConfig = {
enable = true;
@@ -180,6 +188,47 @@ let
'';
};
+ mail = {
+ exporterConfig = {
+ enable = true;
+ configuration = {
+ monitoringInterval = "2s";
+ mailCheckTimeout = "10s";
+ servers = [ {
+ name = "testserver";
+ server = "localhost";
+ port = 25;
+ from = "mail-exporter@localhost";
+ to = "mail-exporter@localhost";
+ detectionDir = "/var/spool/mail/mail-exporter/new";
+ } ];
+ };
+ };
+ metricProvider = {
+ services.postfix.enable = true;
+ systemd.services.prometheus-mail-exporter = {
+ after = [ "postfix.service" ];
+ requires = [ "postfix.service" ];
+ preStart = ''
+ mkdir -p 0600 mail-exporter/new
+ '';
+ serviceConfig = {
+ ProtectHome = true;
+ ReadOnlyPaths = "/";
+ ReadWritePaths = "/var/spool/mail";
+ WorkingDirectory = "/var/spool/mail";
+ };
+ };
+ users.users.mailexporter.isSystemUser = true;
+ };
+ exporterTest = ''
+ waitForUnit("postfix.service")
+ waitForUnit("prometheus-mail-exporter.service")
+ waitForOpenPort(9225)
+ waitUntilSucceeds("curl -sSf http://localhost:9225/metrics | grep -q 'mail_deliver_success{configname=\"testserver\"} 1'")
+ '';
+ };
+
nginx = {
exporterConfig = {
enable = true;
@@ -224,6 +273,46 @@ let
'';
};
+ postgres = {
+ exporterConfig = {
+ enable = true;
+ runAsLocalSuperUser = true;
+ };
+ metricProvider = {
+ services.postgresql.enable = true;
+ };
+ exporterTest = ''
+ waitForUnit("prometheus-postgres-exporter.service");
+ waitForOpenPort(9187);
+ waitForUnit("postgresql.service");
+ succeed("curl -sSf http://localhost:9187/metrics | grep -q 'pg_exporter_last_scrape_error 0'");
+ succeed("curl -sSf http://localhost:9187/metrics | grep -q 'pg_up 1'");
+ systemctl("stop postgresql.service");
+ succeed("curl -sSf http://localhost:9187/metrics | grep -qv 'pg_exporter_last_scrape_error 0'");
+ succeed("curl -sSf http://localhost:9187/metrics | grep -q 'pg_up 0'");
+ systemctl("start postgresql.service");
+ waitForUnit("postgresql.service");
+ succeed("curl -sSf http://localhost:9187/metrics | grep -q 'pg_exporter_last_scrape_error 0'");
+ succeed("curl -sSf http://localhost:9187/metrics | grep -q 'pg_up 1'");
+ '';
+ };
+
+ rspamd = {
+ exporterConfig = {
+ enable = true;
+ };
+ metricProvider = {
+ services.rspamd.enable = true;
+ };
+ exporterTest = ''
+ waitForUnit("rspamd.service");
+ waitForUnit("prometheus-rspamd-exporter.service");
+ waitForOpenPort(11334);
+ waitForOpenPort(7980);
+ waitUntilSucceeds("curl -sSf localhost:7980/metrics | grep -q 'rspamd_scanned{host=\"rspamd\"} 0'");
+ '';
+ };
+
snmp = {
exporterConfig = {
enable = true;
@@ -304,32 +393,53 @@ let
};
exporterTest = ''
waitForUnit("prometheus-varnish-exporter.service");
+ waitForOpenPort(6081);
waitForOpenPort(9131);
succeed("curl -sSf http://localhost:9131/metrics | grep -q 'varnish_up 1'");
'';
};
- };
- nodes = lib.mapAttrs (exporter: testConfig: lib.mkMerge [{
- services.prometheus.exporters.${exporter} = testConfig.exporterConfig;
- } testConfig.metricProvider or {}]) exporterTests;
+ wireguard = let snakeoil = import ./wireguard/snakeoil-keys.nix; in {
+ exporterConfig.enable = true;
+ metricProvider = {
+ networking.wireguard.interfaces.wg0 = {
+ ips = [ "10.23.42.1/32" "fc00::1/128" ];
+ listenPort = 23542;
- testScript = lib.concatStrings (lib.mapAttrsToList (exporter: testConfig: (''
- subtest "${exporter}", sub {
- ${"$"+exporter}->start();
- ${lib.concatStringsSep " " (map (line: ''
- ${"$"+exporter}->${line};
- '') (lib.splitString "\n" (lib.removeSuffix "\n" testConfig.exporterTest)))}
- ${"$"+exporter}->shutdown();
+ inherit (snakeoil.peer0) privateKey;
+
+ peers = singleton {
+ allowedIPs = [ "10.23.42.2/32" "fc00::2/128" ];
+
+ inherit (snakeoil.peer1) publicKey;
+ };
+ };
+ systemd.services.prometheus-wireguard-exporter.after = [ "wireguard-wg0.service" ];
+ };
+ exporterTest = ''
+ waitForUnit("prometheus-wireguard-exporter.service");
+ waitForOpenPort(9586);
+ waitUntilSucceeds("curl -sSf http://localhost:9586/metrics | grep '${snakeoil.peer1.publicKey}'");
+ '';
};
- '')) exporterTests);
+ };
in
-{
- name = "prometheus-exporters";
+mapAttrs (exporter: testConfig: (makeTest {
+ name = "prometheus-${exporter}-exporter";
- inherit nodes testScript;
+ nodes.${exporter} = mkMerge [{
+ services.prometheus.exporters.${exporter} = testConfig.exporterConfig;
+ } testConfig.metricProvider or {}];
- meta = with lib.maintainers; {
+ testScript = ''
+ ${"$"+exporter}->start();
+ ${concatStringsSep " " (map (line: ''
+ ${"$"+exporter}->${line};
+ '') (splitString "\n" (removeSuffix "\n" testConfig.exporterTest)))}
+ ${"$"+exporter}->shutdown();
+ '';
+
+ meta = with maintainers; {
maintainers = [ willibutz ];
};
-})
+})) exporterTests
diff --git a/nixos/tests/prometheus.nix b/nixos/tests/prometheus.nix
index f1b20a33d71..52f61046be3 100644
--- a/nixos/tests/prometheus.nix
+++ b/nixos/tests/prometheus.nix
@@ -1,48 +1,239 @@
-import ./make-test.nix {
- name = "prometheus";
+let
+ grpcPort = 19090;
+ queryPort = 9090;
+ minioPort = 9000;
+ pushgwPort = 9091;
- nodes = {
- one = { ... }: {
- services.prometheus = {
- enable = true;
- scrapeConfigs = [{
- job_name = "prometheus";
- static_configs = [{
- targets = [ "127.0.0.1:9090" ];
- labels = { instance = "localhost"; };
- }];
- }];
- rules = [ ''testrule = count(up{job="prometheus"})'' ];
+ s3 = {
+ accessKey = "BKIKJAA5BMMU2RHO6IBB";
+ secretKey = "V7f1CwQqAcwo80UEIJEjc5gVQUSSx5ohQ9GSrr12";
+ };
- # a very simple version of the alertmanager configuration just to see if
- # configuration checks & service startup are working
- alertmanager = {
- enable = true;
- listenAddress = "[::1]";
- port = 9093;
- configuration = {
- route.receiver = "webhook";
- receivers = [
- {
- name = "webhook";
- webhook_configs = [
- { url = "http://localhost"; }
- ];
- }
- ];
- };
- };
+ objstore.config = {
+ type = "S3";
+ config = {
+ bucket = "thanos-bucket";
+ endpoint = "s3:${toString minioPort}";
+ region = "us-east-1";
+ access_key = s3.accessKey;
+ secret_key = s3.secretKey;
+ insecure = true;
+ signature_version2 = false;
+ encrypt_sse = false;
+ put_user_metadata = {};
+ http_config = {
+ idle_conn_timeout = "0s";
+ insecure_skip_verify = false;
+ };
+ trace = {
+ enable = false;
};
};
};
- testScript = ''
- startAll;
- $one->waitForUnit("prometheus.service");
- $one->waitForOpenPort(9090);
- $one->succeed("curl -s http://127.0.0.1:9090/metrics");
- $one->waitForUnit("alertmanager.service");
- $one->waitForOpenPort("9093");
- $one->succeed("curl -f -s http://localhost:9093/");
+in import ./make-test.nix {
+ name = "prometheus";
+
+ nodes = {
+ prometheus = { pkgs, ... }: {
+ virtualisation.diskSize = 2 * 1024;
+ environment.systemPackages = [ pkgs.jq ];
+ networking.firewall.allowedTCPPorts = [ grpcPort ];
+ services.prometheus = {
+ enable = true;
+ scrapeConfigs = [
+ {
+ job_name = "prometheus";
+ static_configs = [
+ {
+ targets = [ "127.0.0.1:${toString queryPort}" ];
+ labels = { instance = "localhost"; };
+ }
+ ];
+ }
+ {
+ job_name = "pushgateway";
+ scrape_interval = "1s";
+ static_configs = [
+ {
+ targets = [ "127.0.0.1:${toString pushgwPort}" ];
+ }
+ ];
+ }
+ ];
+ rules = [
+ ''
+ groups:
+ - name: test
+ rules:
+ - record: testrule
+ expr: count(up{job="prometheus"})
+ ''
+ ];
+ globalConfig = {
+ external_labels = {
+ some_label = "required by thanos";
+ };
+ };
+ extraFlags = [
+ # Required by thanos
+ "--storage.tsdb.min-block-duration=5s"
+ "--storage.tsdb.max-block-duration=5s"
+ ];
+ };
+ services.prometheus.pushgateway = {
+ enable = true;
+ web.listen-address = ":${toString pushgwPort}";
+ persistMetrics = true;
+ persistence.interval = "1s";
+ stateDir = "prometheus-pushgateway";
+ };
+ services.thanos = {
+ sidecar = {
+ enable = true;
+ grpc-address = "0.0.0.0:${toString grpcPort}";
+ inherit objstore;
+ };
+
+ # TODO: Add some tests for these services:
+ #rule = {
+ # enable = true;
+ # http-address = "0.0.0.0:19194";
+ # grpc-address = "0.0.0.0:19193";
+ # query.addresses = [
+ # "localhost:19191"
+ # ];
+ # labels = {
+ # just = "some";
+ # nice = "labels";
+ # };
+ #};
+ #
+ #receive = {
+ # http-address = "0.0.0.0:19195";
+ # enable = true;
+ # labels = {
+ # just = "some";
+ # nice = "labels";
+ # };
+ #};
+ };
+ };
+
+ query = { pkgs, ... }: {
+ environment.systemPackages = [ pkgs.jq ];
+ services.thanos.query = {
+ enable = true;
+ http-address = "0.0.0.0:${toString queryPort}";
+ store.addresses = [
+ "prometheus:${toString grpcPort}"
+ ];
+ };
+ };
+
+ store = { pkgs, ... }: {
+ virtualisation.diskSize = 2 * 1024;
+ environment.systemPackages = with pkgs; [ jq thanos ];
+ services.thanos.store = {
+ enable = true;
+ http-address = "0.0.0.0:10902";
+ grpc-address = "0.0.0.0:${toString grpcPort}";
+ inherit objstore;
+ sync-block-duration = "1s";
+ };
+ services.thanos.compact = {
+ enable = true;
+ http-address = "0.0.0.0:10903";
+ inherit objstore;
+ consistency-delay = "5s";
+ };
+ services.thanos.query = {
+ enable = true;
+ http-address = "0.0.0.0:${toString queryPort}";
+ store.addresses = [
+ "localhost:${toString grpcPort}"
+ ];
+ };
+ };
+
+ s3 = { pkgs, ... } : {
+ # Minio requires at least 1GiB of free disk space to run.
+ virtualisation.diskSize = 2 * 1024;
+ networking.firewall.allowedTCPPorts = [ minioPort ];
+
+ services.minio = {
+ enable = true;
+ inherit (s3) accessKey secretKey;
+ };
+
+ environment.systemPackages = [ pkgs.minio-client ];
+ };
+ };
+
+ testScript = { nodes, ... } : ''
+ # Before starting the other machines we first make sure that our S3 service is online
+ # and has a bucket added for thanos:
+ $s3->start;
+ $s3->waitForUnit("minio.service");
+ $s3->waitForOpenPort(${toString minioPort});
+ $s3->succeed(
+ "mc config host add minio " .
+ "http://localhost:${toString minioPort} ${s3.accessKey} ${s3.secretKey} S3v4");
+ $s3->succeed("mc mb minio/thanos-bucket");
+
+ # Now that s3 has started we can start the other machines:
+ $prometheus->start;
+ $query->start;
+ $store->start;
+
+ # Check if prometheus responds to requests:
+ $prometheus->waitForUnit("prometheus.service");
+ $prometheus->waitForOpenPort(${toString queryPort});
+ $prometheus->succeed("curl -s http://127.0.0.1:${toString queryPort}/metrics");
+
+ # Let's test if pushing a metric to the pushgateway succeeds:
+ $prometheus->waitForUnit("pushgateway.service");
+ $prometheus->succeed(
+ "echo 'some_metric 3.14' | " .
+ "curl --data-binary \@- http://127.0.0.1:${toString pushgwPort}/metrics/job/some_job");
+
+ # Now check whether that metric gets ingested by prometheus.
+ # Since we'll check for the metric several times on different machines
+ # we abstract the test using the following function:
+
+ # Function to check if the metric "some_metric" has been received and returns the correct value.
+ local *Machine::waitForMetric = sub {
+ my ($self) = @_;
+ $self->waitUntilSucceeds(
+ "curl -sf 'http://127.0.0.1:${toString queryPort}/api/v1/query?query=some_metric' " .
+ "| jq '.data.result[0].value[1]' | grep '\"3.14\"'");
+ };
+
+ $prometheus->waitForMetric;
+
+ # Let's test if the pushgateway persists metrics to the configured location.
+ $prometheus->waitUntilSucceeds("test -e /var/lib/prometheus-pushgateway/metrics");
+
+ # Test thanos
+ $prometheus->waitForUnit("thanos-sidecar.service");
+
+ # Test if the Thanos query service can correctly retrieve the metric that was send above.
+ $query->waitForUnit("thanos-query.service");
+ $query->waitForMetric;
+
+ # Test if the Thanos sidecar has correctly uploaded its TSDB to S3, if the
+ # Thanos storage service has correctly downloaded it from S3 and if the Thanos
+ # query service running on $store can correctly retrieve the metric:
+ $store->waitForUnit("thanos-store.service");
+ $store->waitForMetric;
+
+ $store->waitForUnit("thanos-compact.service");
+
+ # Test if the Thanos bucket command is able to retrieve blocks from the S3 bucket
+ # and check if the blocks have the correct labels:
+ $store->succeed(
+ "thanos bucket ls" .
+ " --objstore.config-file=${nodes.store.config.services.thanos.store.objstore.config-file}" .
+ " --output=json | jq .thanos.labels.some_label | grep 'required by thanos'");
'';
}
diff --git a/nixos/tests/prosody.nix b/nixos/tests/prosody.nix
deleted file mode 100644
index a39bae7898d..00000000000
--- a/nixos/tests/prosody.nix
+++ /dev/null
@@ -1,38 +0,0 @@
-import ./make-test.nix {
- name = "prosody";
-
- machine = { pkgs, ... }: {
- services.prosody = {
- enable = true;
- # TODO: use a self-signed certificate
- c2sRequireEncryption = false;
- extraConfig = ''
- storage = "sql"
- '';
- virtualHosts.test = {
- domain = "example.com";
- enabled = true;
- };
- };
- environment.systemPackages = [
- (pkgs.callPackage ./xmpp-sendmessage.nix {})
- ];
- };
-
- testScript = ''
- $machine->waitForUnit('prosody.service');
- $machine->succeed('prosodyctl status') =~ /Prosody is running/;
-
- # set password to 'nothunter2' (it's asked twice)
- $machine->succeed('yes nothunter2 | prosodyctl adduser cthon98@example.com');
- # set password to 'y'
- $machine->succeed('yes | prosodyctl adduser azurediamond@example.com');
- # correct password to 'hunter2'
- $machine->succeed('yes hunter2 | prosodyctl passwd azurediamond@example.com');
-
- $machine->succeed("send-message");
-
- $machine->succeed('prosodyctl deluser cthon98@example.com');
- $machine->succeed('prosodyctl deluser azurediamond@example.com');
- '';
-}
diff --git a/nixos/tests/quake3.nix b/nixos/tests/quake3.nix
index fbb798515e1..4253ce4a867 100644
--- a/nixos/tests/quake3.nix
+++ b/nixos/tests/quake3.nix
@@ -4,7 +4,7 @@ let
# Build Quake with coverage instrumentation.
overrides = pkgs:
- rec {
+ {
quake3game = pkgs.quake3game.override (args: {
stdenv = pkgs.stdenvAdapters.addCoverageInstrumentation args.stdenv;
});
@@ -12,9 +12,9 @@ let
# Only allow the demo data to be used (only if it's unfreeRedistributable).
unfreePredicate = pkg: with pkgs.lib; let
- allowDrvPredicates = [ "quake3-demo" "quake3-pointrelease" ];
+ allowPackageNames = [ "quake3-demodata" "quake3-pointrelease" ];
allowLicenses = [ pkgs.lib.licenses.unfreeRedistributable ];
- in any (flip hasPrefix pkg.name) allowDrvPredicates &&
+ in elem pkg.pname allowPackageNames &&
elem (pkg.meta.license or null) allowLicenses;
in
@@ -42,7 +42,7 @@ rec {
{ server =
{ pkgs, ... }:
- { systemd.services."quake3-server" =
+ { systemd.services.quake3-server =
{ wantedBy = [ "multi-user.target" ];
script =
"${pkgs.quake3demo}/bin/quake3-server +set g_gametype 0 " +
diff --git a/nixos/tests/radarr.nix b/nixos/tests/radarr.nix
index 6b9a909e44b..9bc5607ccd5 100644
--- a/nixos/tests/radarr.nix
+++ b/nixos/tests/radarr.nix
@@ -2,7 +2,7 @@ import ./make-test.nix ({ lib, ... }:
with lib;
-rec {
+{
name = "radarr";
meta.maintainers = with maintainers; [ etu ];
diff --git a/nixos/tests/radicale.nix b/nixos/tests/radicale.nix
index bf22fc9291a..60796425564 100644
--- a/nixos/tests/radicale.nix
+++ b/nixos/tests/radicale.nix
@@ -85,7 +85,7 @@ in
$radicale->succeed('mv /tmp/collections-new/collection-root /tmp/collections');
$radicale->succeed('${switchToConfig "radicale2_verify"} >&2');
$radicale->waitUntilFails('systemctl status radicale');
- my ($retcode, $logs) = $radicale->execute('journalctl -u radicale -n 5');
+ my ($retcode, $logs) = $radicale->execute('journalctl -u radicale -n 10');
if ($retcode != 0 || index($logs, 'Verifying storage') == -1) {
die "Radicale 2 didn't verify storage"
}
diff --git a/nixos/tests/redis.nix b/nixos/tests/redis.nix
new file mode 100644
index 00000000000..325d93424dd
--- /dev/null
+++ b/nixos/tests/redis.nix
@@ -0,0 +1,26 @@
+import ./make-test.nix ({ pkgs, ...} : {
+ name = "redis";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ flokli ];
+ };
+
+ nodes = {
+ machine =
+ { pkgs, ... }:
+
+ {
+ services.redis.enable = true;
+ services.redis.unixSocket = "/run/redis/redis.sock";
+ };
+ };
+
+ testScript = ''
+ startAll;
+
+ $machine->waitForUnit("redis");
+ $machine->waitForOpenPort("6379");
+
+ $machine->succeed("redis-cli ping | grep PONG");
+ $machine->succeed("redis-cli -s /run/redis/redis.sock ping | grep PONG");
+ '';
+})
diff --git a/nixos/tests/redmine.nix b/nixos/tests/redmine.nix
index cbdb5c8d295..2d4df288b05 100644
--- a/nixos/tests/redmine.nix
+++ b/nixos/tests/redmine.nix
@@ -10,19 +10,9 @@ let
mysqlTest = package: makeTest {
machine =
{ config, pkgs, ... }:
- { services.mysql.enable = true;
- services.mysql.package = pkgs.mariadb;
- services.mysql.ensureDatabases = [ "redmine" ];
- services.mysql.ensureUsers = [
- { name = "redmine";
- ensurePermissions = { "redmine.*" = "ALL PRIVILEGES"; };
- }
- ];
-
- services.redmine.enable = true;
+ { services.redmine.enable = true;
services.redmine.package = package;
services.redmine.database.type = "mysql2";
- services.redmine.database.socket = "/run/mysqld/mysqld.sock";
services.redmine.plugins = {
redmine_env_auth = pkgs.fetchurl {
url = https://github.com/Intera/redmine_env_auth/archive/0.7.zip;
@@ -48,19 +38,9 @@ let
pgsqlTest = package: makeTest {
machine =
{ config, pkgs, ... }:
- { services.postgresql.enable = true;
- services.postgresql.ensureDatabases = [ "redmine" ];
- services.postgresql.ensureUsers = [
- { name = "redmine";
- ensurePermissions = { "DATABASE redmine" = "ALL PRIVILEGES"; };
- }
- ];
-
- services.redmine.enable = true;
+ { services.redmine.enable = true;
services.redmine.package = package;
services.redmine.database.type = "postgresql";
- services.redmine.database.host = "";
- services.redmine.database.port = 5432;
services.redmine.plugins = {
redmine_env_auth = pkgs.fetchurl {
url = https://github.com/Intera/redmine_env_auth/archive/0.7.zip;
diff --git a/nixos/tests/slurm.nix b/nixos/tests/slurm.nix
index 720c36d472e..4c2cd3c3d26 100644
--- a/nixos/tests/slurm.nix
+++ b/nixos/tests/slurm.nix
@@ -135,8 +135,8 @@ in {
subtest "check_slurm_dbd", sub {
# find the srun job from above in the database
- sleep 2;
- $submit->succeed("sacct | grep hostname");
+ sleep 5;
+ $control->succeed("sacct | grep hostname");
};
'';
})
diff --git a/nixos/tests/sonarr.nix b/nixos/tests/sonarr.nix
index 3d5c3b19b6e..3e84445099a 100644
--- a/nixos/tests/sonarr.nix
+++ b/nixos/tests/sonarr.nix
@@ -2,7 +2,7 @@ import ./make-test.nix ({ lib, ... }:
with lib;
-rec {
+{
name = "sonarr";
meta.maintainers = with maintainers; [ etu ];
diff --git a/nixos/tests/strongswan-swanctl.nix b/nixos/tests/strongswan-swanctl.nix
index 8bbebd42300..9bab9349ea7 100644
--- a/nixos/tests/strongswan-swanctl.nix
+++ b/nixos/tests/strongswan-swanctl.nix
@@ -65,16 +65,16 @@ in {
enable = true;
swanctl = {
connections = {
- "rw" = {
+ rw = {
local_addrs = [ moonIp ];
- local."main" = {
+ local.main = {
auth = "psk";
};
- remote."main" = {
+ remote.main = {
auth = "psk";
};
children = {
- "net" = {
+ net = {
local_ts = [ vlan0 ];
updown = "${strongswan}/libexec/ipsec/_updown iptables";
inherit esp_proposals;
@@ -85,8 +85,8 @@ in {
};
};
secrets = {
- ike."carol" = {
- id."main" = carolIp;
+ ike.carol = {
+ id.main = carolIp;
inherit secret;
};
};
@@ -107,19 +107,19 @@ in {
enable = true;
swanctl = {
connections = {
- "home" = {
+ home = {
local_addrs = [ carolIp ];
remote_addrs = [ moonIp ];
- local."main" = {
+ local.main = {
auth = "psk";
id = carolIp;
};
- remote."main" = {
+ remote.main = {
auth = "psk";
id = moonIp;
};
children = {
- "home" = {
+ home = {
remote_ts = [ vlan0 ];
start_action = "trap";
updown = "${strongswan}/libexec/ipsec/_updown iptables";
@@ -131,8 +131,8 @@ in {
};
};
secrets = {
- ike."moon" = {
- id."main" = moonIp;
+ ike.moon = {
+ id.main = moonIp;
inherit secret;
};
};
diff --git a/nixos/tests/subversion.nix b/nixos/tests/subversion.nix
deleted file mode 100644
index e7b99b10602..00000000000
--- a/nixos/tests/subversion.nix
+++ /dev/null
@@ -1,121 +0,0 @@
-import ./make-test.nix ({ pkgs, ...} :
-
-let
-
- # Build some packages with coverage instrumentation.
- overrides = pkgs:
- with pkgs.stdenvAdapters;
- let
- do = pkg: pkg.override (args: {
- stdenv = addCoverageInstrumentation args.stdenv;
- });
- in
- rec {
- apr = do pkgs.apr;
- aprutil = do pkgs.aprutil;
- apacheHttpd = do pkgs.apacheHttpd;
- mod_python = do pkgs.mod_python;
- subversion = do pkgs.subversion;
-
- # To build the kernel with coverage instrumentation, we need a
- # special patch to make coverage data available under /proc.
- linux = pkgs.linux.override (orig: {
- stdenv = overrideInStdenv pkgs.stdenv [ pkgs.keepBuildTree ];
- extraConfig =
- ''
- GCOV_KERNEL y
- GCOV_PROFILE_ALL y
- '';
- });
- };
-
-in
-
-{
- name = "subversion";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco ];
- };
-
- nodes =
- { webserver =
- { ... }:
-
- {
- services.httpd.enable = true;
- services.httpd.adminAddr = "e.dolstra@tudelft.nl";
- services.httpd.extraSubservices =
- [ { function = import ;
- urlPrefix = "";
- dataDir = "/data/subversion";
- userCreationDomain = "192.168.0.0/16";
- }
- ];
- nixpkgs.config.packageOverrides = overrides;
- };
-
- client =
- { pkgs, ... }:
-
- {
- environment.systemPackages = [ pkgs.subversion ];
- nixpkgs.config.packageOverrides = overrides;
- };
-
- };
-
- testScript =
- ''
- startAll;
-
- $webserver->waitForOpenPort(80);
-
- print STDERR $client->succeed("svn --version");
-
- print STDERR $client->succeed("curl --fail http://webserver/");
-
- # Create a new user through the web interface.
- $client->succeed("curl --fail -F username=alice -F fullname='Alice Lastname' -F address=alice\@example.org -F password=foobar -F password_again=foobar http://webserver/repoman/adduser");
-
- # Let Alice create a new repository.
- $client->succeed("curl --fail -u alice:foobar --form repo=xyzzy --form description=Xyzzy http://webserver/repoman/create");
-
- $client->succeed("curl --fail http://webserver/") =~ /alice/ or die;
-
- # Let Alice do a checkout.
- my $svnFlags = "--non-interactive --username alice --password foobar";
- $client->succeed("svn co $svnFlags http://webserver/repos/xyzzy wc");
- $client->succeed("echo hello > wc/world");
- $client->succeed("svn add wc/world");
- $client->succeed("svn ci $svnFlags -m 'Added world.' wc/world");
-
- # Create a new user on the server through the create-user.pl script.
- $webserver->execute("svn-server-create-user.pl bob bob\@example.org Bob");
- $webserver->succeed("svn-server-resetpw.pl bob fnord");
- $client->succeed("curl --fail http://webserver/") =~ /bob/ or die;
-
- # Bob should not have access to the repo.
- my $svnFlagsBob = "--non-interactive --username bob --password fnord";
- $client->fail("svn co $svnFlagsBob http://webserver/repos/xyzzy wc2");
-
- # Bob should not be able change the ACLs of the repo.
- # !!! Repoman should really return a 403 here.
- $client->succeed("curl --fail -u bob:fnord -F description=Xyzzy -F readers=alice,bob -F writers=alice -F watchers= -F tardirs= http://webserver/repoman/update/xyzzy")
- =~ /not authorised/ or die;
-
- # Give Bob access.
- $client->succeed("curl --fail -u alice:foobar -F description=Xyzzy -F readers=alice,bob -F writers=alice -F watchers= -F tardirs= http://webserver/repoman/update/xyzzy");
-
- # So now his checkout should succeed.
- $client->succeed("svn co $svnFlagsBob http://webserver/repos/xyzzy wc2");
-
- # Test ViewVC and WebSVN
- $client->succeed("curl --fail -u alice:foobar http://webserver/viewvc/xyzzy");
- $client->succeed("curl --fail -u alice:foobar http://webserver/websvn/xyzzy");
- $client->succeed("curl --fail -u alice:foobar http://webserver/repos-xml/xyzzy");
-
- # Stop Apache to gather all the coverage data.
- $webserver->stopJob("httpd");
- '';
-
-})
diff --git a/nixos/tests/syncthing-init.nix b/nixos/tests/syncthing-init.nix
index 811a466ff94..0de76b688bd 100644
--- a/nixos/tests/syncthing-init.nix
+++ b/nixos/tests/syncthing-init.nix
@@ -22,9 +22,13 @@ in {
};
testScript = ''
+ my $config;
+
$machine->waitForUnit("syncthing-init.service");
- $machine->succeed("cat /var/lib/syncthing/config.xml") =~ /${testId}/ or die;
- $machine->succeed("cat /var/lib/syncthing/config.xml") =~ /testFolder/ or die;
+ $config = $machine->succeed("cat /var/lib/syncthing/.config/syncthing/config.xml");
+
+ $config =~ /${testId}/ or die;
+ $config =~ /testFolder/ or die;
'';
})
diff --git a/nixos/tests/systemd-networkd-wireguard.nix b/nixos/tests/systemd-networkd-wireguard.nix
new file mode 100644
index 00000000000..f1ce1e791ce
--- /dev/null
+++ b/nixos/tests/systemd-networkd-wireguard.nix
@@ -0,0 +1,80 @@
+let generateNodeConf = { lib, pkgs, config, privkpath, pubk, peerId, nodeId, ...}: {
+ imports = [ common/user-account.nix ];
+ systemd.services.systemd-networkd.environment.SYSTEMD_LOG_LEVEL = "debug";
+ networking.useNetworkd = true;
+ networking.firewall.enable = false;
+ virtualisation.vlans = [ 1 ];
+ environment.systemPackages = with pkgs; [ wireguard-tools ];
+ boot.extraModulePackages = [ config.boot.kernelPackages.wireguard ];
+ systemd.network = {
+ enable = true;
+ netdevs = {
+ "90-wg0" = {
+ netdevConfig = { Kind = "wireguard"; Name = "wg0"; };
+ wireguardConfig = {
+ PrivateKeyFile = privkpath ;
+ ListenPort = 51820;
+ FwMark = 42;
+ };
+ wireguardPeers = [ {wireguardPeerConfig={
+ Endpoint = "192.168.1.${peerId}:51820";
+ PublicKey = pubk;
+ PresharedKeyFile = pkgs.writeText "psk.key" "yTL3sCOL33Wzi6yCnf9uZQl/Z8laSE+zwpqOHC4HhFU=";
+ AllowedIPs = [ "10.0.0.${peerId}/32" ];
+ PersistentKeepalive = 15;
+ };}];
+ };
+ };
+ networks = {
+ "99-nope" = {
+ matchConfig.Name = "eth*";
+ linkConfig.Unmanaged = true;
+ };
+ "90-wg0" = {
+ matchConfig = { Name = "wg0"; };
+ address = [ "10.0.0.${nodeId}/32" ];
+ routes = [
+ { routeConfig = { Gateway = "10.0.0.${nodeId}"; Destination = "10.0.0.0/24"; }; }
+ ];
+ };
+ "90-eth1" = {
+ matchConfig = { Name = "eth1"; };
+ address = [ "192.168.1.${nodeId}/24" ];
+ };
+ };
+ };
+ };
+in import ./make-test.nix ({pkgs, ... }: {
+ name = "networkd-wireguard";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ ninjatrappeur ];
+ };
+ nodes = {
+ node1 = { pkgs, ... }@attrs:
+ let localConf = {
+ privkpath = pkgs.writeText "priv.key" "GDiXWlMQKb379XthwX0haAbK6hTdjblllpjGX0heP00=";
+ pubk = "iRxpqj42nnY0Qz8MAQbSm7bXxXP5hkPqWYIULmvW+EE=";
+ nodeId = "1";
+ peerId = "2";
+ };
+ in generateNodeConf (attrs // localConf);
+
+ node2 = { pkgs, ... }@attrs:
+ let localConf = {
+ privkpath = pkgs.writeText "priv.key" "eHxSI2jwX/P4AOI0r8YppPw0+4NZnjOxfbS5mt06K2k=";
+ pubk = "27s0OvaBBdHoJYkH9osZpjpgSOVNw+RaKfboT/Sfq0g=";
+ nodeId = "2";
+ peerId = "1";
+ };
+ in generateNodeConf (attrs // localConf);
+ };
+testScript = ''
+ startAll;
+ $node1->waitForUnit('systemd-networkd-wait-online.service');
+ $node2->waitForUnit('systemd-networkd-wait-online.service');
+ $node1->succeed('ping -c 5 10.0.0.2');
+ $node2->succeed('ping -c 5 10.0.0.1');
+ # Is the fwmark set?
+ $node2->succeed('wg | grep -q 42');
+'';
+})
diff --git a/nixos/tests/systemd-timesyncd.nix b/nixos/tests/systemd-timesyncd.nix
new file mode 100644
index 00000000000..d12b8eb2bf7
--- /dev/null
+++ b/nixos/tests/systemd-timesyncd.nix
@@ -0,0 +1,52 @@
+# Regression test for systemd-timesync having moved the state directory without
+# upstream providing a migration path. https://github.com/systemd/systemd/issues/12131
+
+import ./make-test.nix (let
+ common = { lib, ... }: {
+ # override the `false` value from the qemu-vm base profile
+ services.timesyncd.enable = lib.mkForce true;
+ };
+ mkVM = conf: { imports = [ conf common ]; };
+in {
+ name = "systemd-timesyncd";
+ nodes = {
+ current = mkVM {};
+ pre1909 = mkVM ({lib, ... }: with lib; {
+ # create the path that should be migrated by our activation script when
+ # upgrading to a newer nixos version
+ system.stateVersion = "19.03";
+ system.activationScripts.simulate-old-timesync-state-dir = mkBefore ''
+ rm -f /var/lib/systemd/timesync
+ mkdir -p /var/lib/systemd /var/lib/private/systemd/timesync
+ ln -s /var/lib/private/systemd/timesync /var/lib/systemd/timesync
+ chown systemd-timesync: /var/lib/private/systemd/timesync
+ '';
+ });
+ };
+
+ testScript = ''
+ startAll;
+ $current->succeed('systemctl status systemd-timesyncd.service');
+ # on a new install with a recent systemd there should not be any
+ # leftovers from the dynamic user mess
+ $current->succeed('test -e /var/lib/systemd/timesync');
+ $current->succeed('test ! -L /var/lib/systemd/timesync');
+
+ # timesyncd should be running on the upgrading system since we fixed the
+ # file bits in the activation script
+ $pre1909->succeed('systemctl status systemd-timesyncd.service');
+
+ # the path should be gone after the migration
+ $pre1909->succeed('test ! -e /var/lib/private/systemd/timesync');
+
+ # and the new path should no longer be a symlink
+ $pre1909->succeed('test -e /var/lib/systemd/timesync');
+ $pre1909->succeed('test ! -L /var/lib/systemd/timesync');
+
+ # after a restart things should still work and not fail in the activation
+ # scripts and cause the boot to fail..
+ $pre1909->shutdown;
+ $pre1909->start;
+ $pre1909->succeed('systemctl status systemd-timesyncd.service');
+ '';
+})
diff --git a/nixos/tests/systemd.nix b/nixos/tests/systemd.nix
index 4d470126abe..4b71b4d6759 100644
--- a/nixos/tests/systemd.nix
+++ b/nixos/tests/systemd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix {
+import ./make-test.nix ({ pkgs, ... }: {
name = "systemd";
machine = { lib, ... }: {
@@ -21,6 +21,14 @@ import ./make-test.nix {
services.journald.extraConfig = "Storage=volatile";
services.xserver.displayManager.auto.user = "alice";
+ systemd.shutdown.test = pkgs.writeScript "test.shutdown" ''
+ #!${pkgs.stdenv.shell}
+ PATH=${lib.makeBinPath (with pkgs; [ utillinux coreutils ])}
+ mount -t 9p shared -o trans=virtio,version=9p2000.L /tmp/shared
+ touch /tmp/shared/shutdown-test
+ umount /tmp/shared
+ '';
+
systemd.services.testservice1 = {
description = "Test Service 1";
wantedBy = [ "multi-user.target" ];
@@ -63,11 +71,32 @@ import ./make-test.nix {
# Regression test for https://github.com/NixOS/nixpkgs/issues/35268
subtest "file system with x-initrd.mount is not unmounted", sub {
+ $machine->succeed('mountpoint -q /test-x-initrd-mount');
+ $machine->shutdown;
+ system('qemu-img', 'convert', '-O', 'raw',
+ 'vm-state-machine/empty2.qcow2', 'x-initrd-mount.raw');
+ my $extinfo = `${pkgs.e2fsprogs}/bin/dumpe2fs x-initrd-mount.raw`;
+ die "File system was not cleanly unmounted: $extinfo"
+ unless $extinfo =~ /^Filesystem state: *clean$/m;
+ };
+
+ subtest "systemd-shutdown works", sub {
$machine->shutdown;
$machine->waitForUnit('multi-user.target');
- # If the file system was unmounted during the shutdown the file system
- # has a last mount time, because the file system wasn't checked.
- $machine->fail('dumpe2fs /dev/vdb | grep -q "^Last mount time: *n/a"');
+ $machine->succeed('test -e /tmp/shared/shutdown-test');
};
+
+ # Test settings from /etc/sysctl.d/50-default.conf are applied
+ subtest "systemd sysctl settings are applied", sub {
+ $machine->waitForUnit('multi-user.target');
+ $machine->succeed('sysctl net.core.default_qdisc | grep -q "fq_codel"');
+ };
+
+ # Test cgroup accounting is enabled
+ subtest "systemd cgroup accounting is enabled", sub {
+ $machine->waitForUnit('multi-user.target');
+ $machine->succeed('systemctl show testservice1.service -p IOAccounting | grep -q "yes"');
+ $machine->succeed('systemctl status testservice1.service | grep -q "CPU:"');
+ };
'';
-}
+})
diff --git a/nixos/tests/tiddlywiki.nix b/nixos/tests/tiddlywiki.nix
new file mode 100644
index 00000000000..4a2014a4ec9
--- /dev/null
+++ b/nixos/tests/tiddlywiki.nix
@@ -0,0 +1,67 @@
+import ./make-test.nix ({ ... }: {
+ name = "tiddlywiki";
+ nodes = {
+ default = {
+ services.tiddlywiki.enable = true;
+ };
+ configured = {
+ boot.postBootCommands = ''
+ echo "username,password
+ somelogin,somesecret" > /var/lib/wikiusers.csv
+ '';
+ services.tiddlywiki = {
+ enable = true;
+ listenOptions = {
+ port = 3000;
+ credentials="../wikiusers.csv";
+ readers="(authenticated)";
+ };
+ };
+ };
+ };
+
+ testScript = ''
+ startAll;
+
+ subtest "by default works without configuration", sub {
+ $default->waitForUnit("tiddlywiki.service");
+ };
+
+ subtest "by default available on port 8080 without auth", sub {
+ $default->waitForUnit("tiddlywiki.service");
+ $default->waitForOpenPort(8080);
+ $default->succeed("curl --fail 127.0.0.1:8080");
+ };
+
+ subtest "by default creates empty wiki", sub {
+ $default->succeed("test -f /var/lib/tiddlywiki/tiddlywiki.info");
+ };
+
+ subtest "configured on port 3000 with basic auth", sub {
+ $configured->waitForUnit("tiddlywiki.service");
+ $configured->waitForOpenPort(3000);
+ $configured->fail("curl --fail 127.0.0.1:3000");
+ $configured->succeed("curl --fail 127.0.0.1:3000 --user somelogin:somesecret");
+ };
+
+ subtest "configured with different wikifolder", sub {
+ $configured->succeed("test -f /var/lib/tiddlywiki/tiddlywiki.info");
+ };
+
+ subtest "restart preserves changes", sub {
+ # given running wiki
+ $default->waitForUnit("tiddlywiki.service");
+ # with some changes
+ $default->succeed("curl --fail --request PUT --header 'X-Requested-With:TiddlyWiki' --data '{ \"title\": \"title\", \"text\": \"content\" }' --url 127.0.0.1:8080/recipes/default/tiddlers/somepage ");
+ $default->succeed("sleep 2"); # server syncs to filesystem on timer
+
+ # when wiki is cycled
+ $default->systemctl("restart tiddlywiki.service");
+ $default->waitForUnit("tiddlywiki.service");
+ $default->waitForOpenPort(8080);
+
+ # the change is preserved
+ $default->succeed("curl --fail 127.0.0.1:8080/recipes/default/tiddlers/somepage");
+ };
+ '';
+})
diff --git a/nixos/tests/tomcat.nix b/nixos/tests/tomcat.nix
deleted file mode 100644
index 8e7b886dd30..00000000000
--- a/nixos/tests/tomcat.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-import ./make-test.nix ({ pkgs, ...} : {
- name = "tomcat";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco ];
- };
-
- nodes = {
- server =
- { ... }:
-
- { services.tomcat.enable = true;
- services.httpd.enable = true;
- services.httpd.adminAddr = "foo@bar.com";
- services.httpd.extraSubservices =
- [ { serviceType = "tomcat-connector"; } ];
- networking.firewall.allowedTCPPorts = [ 80 ];
- };
-
- client = { };
- };
-
- testScript = ''
- startAll;
-
- $server->waitForUnit("tomcat");
- $client->waitForUnit("network.target");
- $client->waitUntilSucceeds("curl --fail http://server/examples/servlets/servlet/HelloWorldExample");
- $client->waitUntilSucceeds("curl --fail http://server/examples/jsp/jsp2/simpletag/hello.jsp");
- '';
-})
diff --git a/nixos/tests/trac.nix b/nixos/tests/trac.nix
deleted file mode 100644
index 8ec11ebda2c..00000000000
--- a/nixos/tests/trac.nix
+++ /dev/null
@@ -1,74 +0,0 @@
-import ./make-test.nix ({ pkgs, ... }: {
- name = "trac";
- meta = with pkgs.stdenv.lib.maintainers; {
- maintainers = [ eelco ];
- };
-
- nodes = {
- storage =
- { ... }:
- { services.nfs.server.enable = true;
- services.nfs.server.exports = ''
- /repos 192.168.1.0/255.255.255.0(rw,no_root_squash)
- '';
- services.nfs.server.createMountPoints = true;
- };
-
- postgresql =
- { pkgs, ... }:
- { services.postgresql.enable = true;
- services.postgresql.package = pkgs.postgresql;
- services.postgresql.enableTCPIP = true;
- services.postgresql.authentication = ''
- # Generated file; do not edit!
- local all all trust
- host all all 127.0.0.1/32 trust
- host all all ::1/128 trust
- host all all 192.168.1.0/24 trust
- '';
- };
-
- webserver =
- { pkgs, ... }:
- { fileSystems = pkgs.lib.mkVMOverride
- [ { mountPoint = "/repos";
- device = "storage:/repos";
- fsType = "nfs";
- }
- ];
- services.httpd.enable = true;
- services.httpd.adminAddr = "root@localhost";
- services.httpd.extraSubservices = [ { serviceType = "trac"; } ];
- environment.systemPackages = [ pkgs.pythonPackages.trac pkgs.subversion ];
- };
-
- client =
- { ... }:
- { imports = [ ./common/x11.nix ];
- services.xserver.desktopManager.plasma5.enable = true;
- };
- };
-
- testScript =
- ''
- startAll;
-
- $postgresql->waitForUnit("postgresql");
- $postgresql->succeed("createdb trac");
-
- $webserver->succeed("mkdir -p /repos/trac");
- $webserver->succeed("svnadmin create /repos/trac");
-
- $webserver->waitForUnit("httpd");
- $webserver->waitForFile("/var/trac");
- $webserver->succeed("mkdir -p /var/trac/projects/test");
- $webserver->succeed("PYTHONPATH=${pkgs.pythonPackages.psycopg2}/lib/${pkgs.python.libPrefix}/site-packages trac-admin /var/trac/projects/test initenv Test postgres://root\@postgresql/trac svn /repos/trac");
-
- $client->waitForX;
- $client->execute("konqueror http://webserver/projects/test &");
- $client->waitForWindow(qr/Test.*Konqueror/);
- $client->sleep(30); # loading takes a long time
-
- $client->screenshot("screen");
- '';
-})
diff --git a/nixos/tests/trezord.nix b/nixos/tests/trezord.nix
new file mode 100644
index 00000000000..1c85bf53934
--- /dev/null
+++ b/nixos/tests/trezord.nix
@@ -0,0 +1,20 @@
+import ./make-test.nix ({ pkgs, ... }: {
+ name = "trezord";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ mmahut ];
+ };
+
+ nodes = {
+ machine = { ... }: {
+ services.trezord.enable = true;
+ services.trezord.emulator.enable = true;
+ };
+ };
+
+ testScript = ''
+ startAll;
+ $machine->waitForUnit("trezord.service");
+ $machine->waitForOpenPort(21325);
+ $machine->waitUntilSucceeds("curl -L http://localhost:21325/status/ | grep Version");
+ '';
+})
diff --git a/nixos/tests/uwsgi.nix b/nixos/tests/uwsgi.nix
new file mode 100644
index 00000000000..afc03e74ed7
--- /dev/null
+++ b/nixos/tests/uwsgi.nix
@@ -0,0 +1,38 @@
+import ./make-test.nix ({ pkgs, ... }:
+{
+ name = "uwsgi";
+ meta = with pkgs.stdenv.lib.maintainers; {
+ maintainers = [ lnl7 ];
+ };
+ machine = { pkgs, ... }: {
+ services.uwsgi.enable = true;
+ services.uwsgi.plugins = [ "python3" ];
+ services.uwsgi.instance = {
+ type = "emperor";
+ vassals.hello = {
+ type = "normal";
+ master = true;
+ workers = 2;
+ http = ":8000";
+ module = "wsgi:application";
+ chdir = pkgs.writeTextDir "wsgi.py" ''
+ from flask import Flask
+ application = Flask(__name__)
+
+ @application.route("/")
+ def hello():
+ return "Hello World!"
+ '';
+ pythonPackages = self: with self; [ flask ];
+ };
+ };
+ };
+
+ testScript =
+ ''
+ $machine->waitForUnit('multi-user.target');
+ $machine->waitForUnit('uwsgi.service');
+ $machine->waitForOpenPort(8000);
+ $machine->succeed('curl -v 127.0.0.1:8000 | grep "Hello World!"');
+ '';
+})
diff --git a/nixos/tests/virtualbox.nix b/nixos/tests/virtualbox.nix
index 844ce47d743..32637d2c1ef 100644
--- a/nixos/tests/virtualbox.nix
+++ b/nixos/tests/virtualbox.nix
@@ -10,17 +10,10 @@
# to run 32-bit guests.
useKvmNestedVirt ? false,
# Whether to run 64-bit guests instead of 32-bit. Requires nested KVM.
- use64bitGuest ? false,
- # Whether to enable the virtual UART in VirtualBox guests, allowing to see
- # the guest console. There is currently a bug in VirtualBox where this will
- # cause a crash if running with SW virtualization
- # (https://www.virtualbox.org/ticket/18632). If you need to debug the tests
- # then enable this and nested KVM to work around the crash (see above).
- enableVBoxUART ? false
+ use64bitGuest ? false
}:
assert use64bitGuest -> useKvmNestedVirt;
-assert enableVBoxUART -> useKvmNestedVirt; # VirtualBox bug, see above
with import ../lib/testing.nix { inherit system pkgs; };
with pkgs.lib;
@@ -65,9 +58,6 @@ let
"init=${pkgs.writeScript "mini-init.sh" miniInit}"
];
- # XXX: Remove this once TSS location detection has been fixed in VirtualBox
- boot.kernelPackages = pkgs.linuxPackages_4_9;
-
fileSystems."/" = {
device = "vboxshare";
fsType = "vboxsf";
@@ -162,11 +152,9 @@ let
"--register"
];
- vmFlags = mkFlags (
- (optionals enableVBoxUART [
- "--uart1 0x3F8 4"
- "--uartmode1 client /run/virtualbox-log-${name}.sock"
- ]) ++ [
+ vmFlags = mkFlags ([
+ "--uart1 0x3F8 4"
+ "--uartmode1 client /run/virtualbox-log-${name}.sock"
"--memory 768"
"--audio none"
] ++ (attrs.vmFlags or []));
@@ -199,7 +187,7 @@ let
];
in {
machine = {
- systemd.sockets."vboxtestlog-${name}" = mkIf enableVBoxUART {
+ systemd.sockets."vboxtestlog-${name}" = {
description = "VirtualBox Test Machine Log Socket For ${name}";
wantedBy = [ "sockets.target" ];
before = [ "multi-user.target" ];
@@ -207,7 +195,7 @@ let
socketConfig.Accept = true;
};
- systemd.services."vboxtestlog-${name}@" = mkIf enableVBoxUART {
+ systemd.services."vboxtestlog-${name}@" = {
description = "VirtualBox Test Machine Log For ${name}";
serviceConfig.StandardInput = "socket";
serviceConfig.StandardOutput = "syslog";
diff --git a/nixos/tests/wordpress.nix b/nixos/tests/wordpress.nix
index 5003e25a7d5..774ef6293b5 100644
--- a/nixos/tests/wordpress.nix
+++ b/nixos/tests/wordpress.nix
@@ -6,48 +6,37 @@ import ./make-test.nix ({ pkgs, ... }:
maintainers = [ grahamc ]; # under duress!
};
- nodes =
- { web =
- { pkgs, ... }:
- {
- services.mysql = {
- enable = true;
- package = pkgs.mysql;
- };
- services.httpd = {
- enable = true;
- logPerVirtualHost = true;
- adminAddr="js@lastlog.de";
+ machine =
+ { ... }:
+ { services.httpd.adminAddr = "webmaster@site.local";
+ services.httpd.logPerVirtualHost = true;
- virtualHosts = [
- {
- hostName = "wordpress";
- extraSubservices =
- [
- {
- serviceType = "wordpress";
- dbPassword = "wordpress";
- dbHost = "127.0.0.1";
- languages = [ "de_DE" "en_GB" ];
- }
- ];
- }
- ];
- };
- };
+ services.wordpress."site1.local" = {
+ database.tablePrefix = "site1_";
+ };
+
+ services.wordpress."site2.local" = {
+ database.tablePrefix = "site2_";
+ };
+
+ networking.hosts."127.0.0.1" = [ "site1.local" "site2.local" ];
+
+ # required for wordpress-init.service to succeed
+ systemd.tmpfiles.rules = [
+ "F /var/lib/wordpress/site1.local/secret-keys.php 0440 wordpress wwwrun - -"
+ "F /var/lib/wordpress/site2.local/secret-keys.php 0440 wordpress wwwrun - -"
+ ];
};
- testScript =
- { ... }:
- ''
- startAll;
+ testScript = ''
+ startAll;
- $web->waitForUnit("mysql");
- $web->waitForUnit("httpd");
+ $machine->waitForUnit("httpd");
+ $machine->waitForUnit("phpfpm-wordpress-site1.local");
+ $machine->waitForUnit("phpfpm-wordpress-site2.local");
- $web->succeed("curl -L 127.0.0.1:80 | grep 'Welcome to the famous'");
-
-
- '';
+ $machine->succeed("curl -L site1.local | grep 'Welcome to the famous'");
+ $machine->succeed("curl -L site2.local | grep 'Welcome to the famous'");
+ '';
})
diff --git a/nixos/tests/xfce.nix b/nixos/tests/xfce.nix
index 12d8a050d47..6cb4fae2021 100644
--- a/nixos/tests/xfce.nix
+++ b/nixos/tests/xfce.nix
@@ -17,6 +17,10 @@ import ./make-test.nix ({ pkgs, ...} : {
services.xserver.desktopManager.xfce.enable = true;
environment.systemPackages = [ pkgs.xorg.xmessage ];
+
+ hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
+
+ virtualisation.memorySize = 1024;
};
testScript =
diff --git a/nixos/tests/xfce4-14.nix b/nixos/tests/xfce4-14.nix
new file mode 100644
index 00000000000..94378f0c8d3
--- /dev/null
+++ b/nixos/tests/xfce4-14.nix
@@ -0,0 +1,37 @@
+import ./make-test.nix ({ pkgs, ...} : {
+ name = "xfce4-14";
+
+ machine =
+ { pkgs, ... }:
+
+ { imports = [ ./common/user-account.nix ];
+
+ services.xserver.enable = true;
+
+ services.xserver.displayManager.auto.enable = true;
+ services.xserver.displayManager.auto.user = "alice";
+
+ services.xserver.desktopManager.xfce4-14.enable = true;
+
+ hardware.pulseaudio.enable = true; # needed for the factl test, /dev/snd/* exists without them but udev doesn't care then
+
+ virtualisation.memorySize = 1024;
+ };
+
+ testScript =
+ ''
+ $machine->waitForX;
+ $machine->waitForFile("/home/alice/.Xauthority");
+ $machine->succeed("xauth merge ~alice/.Xauthority");
+ $machine->waitForWindow(qr/xfce4-panel/);
+ $machine->sleep(10);
+
+ # Check that logging in has given the user ownership of devices.
+ $machine->succeed("getfacl /dev/snd/timer | grep -q alice");
+
+ $machine->succeed("su - alice -c 'DISPLAY=:0.0 xfce4-terminal &'");
+ $machine->waitForWindow(qr/Terminal/);
+ $machine->sleep(10);
+ $machine->screenshot("screen");
+ '';
+})
diff --git a/nixos/tests/xmonad.nix b/nixos/tests/xmonad.nix
index 4d3bc28cd34..79c15ccffec 100644
--- a/nixos/tests/xmonad.nix
+++ b/nixos/tests/xmonad.nix
@@ -26,7 +26,7 @@ import ./make-test.nix ({ pkgs, ...} : {
$machine->waitForFile("/home/alice/.Xauthority");
$machine->succeed("xauth merge ~alice/.Xauthority");
$machine->sendKeys("alt-ctrl-x");
- $machine->waitForWindow(qr/machine.*alice/);
+ $machine->waitForWindow(qr/alice.*machine/);
$machine->sleep(1);
$machine->screenshot("terminal");
$machine->waitUntilSucceeds("xmonad --restart");
diff --git a/nixos/tests/ejabberd.nix b/nixos/tests/xmpp/ejabberd.nix
similarity index 98%
rename from nixos/tests/ejabberd.nix
rename to nixos/tests/xmpp/ejabberd.nix
index 0691dfe780d..196a04aca30 100644
--- a/nixos/tests/ejabberd.nix
+++ b/nixos/tests/xmpp/ejabberd.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ... }: {
+import ../make-test.nix ({ pkgs, ... }: {
name = "ejabberd";
meta = with pkgs.stdenv.lib.maintainers; {
maintainers = [ ajs124 ];
@@ -45,8 +45,7 @@ import ./make-test.nix ({ pkgs, ... }: {
ip: "127.0.0.1"
module: ejabberd_service
access: local
- shaper_rule: fast
- ip: "127.0.0.1"
+ shaper: fast
## Disabling digest-md5 SASL authentication. digest-md5 requires plain-text
## password storage (see auth_password_format option).
@@ -181,7 +180,6 @@ import ./make-test.nix ({ pkgs, ... }: {
mod_client_state: {}
mod_configure: {} # requires mod_adhoc
## mod_delegation: {} # for xep0356
- mod_echo: {}
#mod_irc:
# host: "irc.@HOST@"
# default_encoding: "utf-8"
diff --git a/nixos/tests/xmpp/prosody-mysql.nix b/nixos/tests/xmpp/prosody-mysql.nix
new file mode 100644
index 00000000000..62b4a17421e
--- /dev/null
+++ b/nixos/tests/xmpp/prosody-mysql.nix
@@ -0,0 +1,77 @@
+import ../make-test.nix {
+ name = "prosody-mysql";
+
+ nodes = {
+ client = { nodes, pkgs, ... }: {
+ environment.systemPackages = [
+ (pkgs.callPackage ./xmpp-sendmessage.nix { connectTo = nodes.server.config.networking.primaryIPAddress; })
+ ];
+ };
+ server = { config, pkgs, ... }: {
+ nixpkgs.overlays = [
+ (self: super: {
+ prosody = super.prosody.override {
+ withDBI = true;
+ withExtraLibs = [ pkgs.luaPackages.luadbi-mysql ];
+ };
+ })
+ ];
+ networking.extraHosts = ''
+ ${config.networking.primaryIPAddress} example.com
+ '';
+ networking.firewall.enable = false;
+ services.prosody = {
+ enable = true;
+ # TODO: use a self-signed certificate
+ c2sRequireEncryption = false;
+ extraConfig = ''
+ storage = "sql"
+ sql = {
+ driver = "MySQL";
+ database = "prosody";
+ host = "mysql";
+ port = 3306;
+ username = "prosody";
+ password = "password123";
+ };
+ '';
+ virtualHosts.test = {
+ domain = "example.com";
+ enabled = true;
+ };
+ };
+ };
+ mysql = { config, pkgs, ... }: {
+ networking.firewall.enable = false;
+ services.mysql = {
+ enable = true;
+ initialScript = pkgs.writeText "mysql_init.sql" ''
+ CREATE DATABASE prosody;
+ CREATE USER 'prosody'@'server' IDENTIFIED BY 'password123';
+ GRANT ALL PRIVILEGES ON prosody.* TO 'prosody'@'server';
+ FLUSH PRIVILEGES;
+ '';
+ package = pkgs.mariadb;
+ };
+ };
+ };
+
+ testScript = { nodes, ... }: ''
+ $mysql->waitForUnit('mysql.service');
+ $server->waitForUnit('prosody.service');
+ $server->succeed('prosodyctl status') =~ /Prosody is running/;
+
+ # set password to 'nothunter2' (it's asked twice)
+ $server->succeed('yes nothunter2 | prosodyctl adduser cthon98@example.com');
+ # set password to 'y'
+ $server->succeed('yes | prosodyctl adduser azurediamond@example.com');
+ # correct password to 'hunter2'
+ $server->succeed('yes hunter2 | prosodyctl passwd azurediamond@example.com');
+
+ $client->succeed("send-message");
+
+ $server->succeed('prosodyctl deluser cthon98@example.com');
+ $server->succeed('prosodyctl deluser azurediamond@example.com');
+ '';
+}
+
diff --git a/nixos/tests/xmpp/prosody.nix b/nixos/tests/xmpp/prosody.nix
new file mode 100644
index 00000000000..8331c7b6d33
--- /dev/null
+++ b/nixos/tests/xmpp/prosody.nix
@@ -0,0 +1,46 @@
+import ../make-test.nix {
+ name = "prosody";
+
+ nodes = {
+ client = { nodes, pkgs, ... }: {
+ environment.systemPackages = [
+ (pkgs.callPackage ./xmpp-sendmessage.nix { connectTo = nodes.server.config.networking.primaryIPAddress; })
+ ];
+ };
+ server = { config, pkgs, ... }: {
+ networking.extraHosts = ''
+ ${config.networking.primaryIPAddress} example.com
+ '';
+ networking.firewall.enable = false;
+ services.prosody = {
+ enable = true;
+ # TODO: use a self-signed certificate
+ c2sRequireEncryption = false;
+ extraConfig = ''
+ storage = "sql"
+ '';
+ virtualHosts.test = {
+ domain = "example.com";
+ enabled = true;
+ };
+ };
+ };
+ };
+
+ testScript = { nodes, ... }: ''
+ $server->waitForUnit('prosody.service');
+ $server->succeed('prosodyctl status') =~ /Prosody is running/;
+
+ # set password to 'nothunter2' (it's asked twice)
+ $server->succeed('yes nothunter2 | prosodyctl adduser cthon98@example.com');
+ # set password to 'y'
+ $server->succeed('yes | prosodyctl adduser azurediamond@example.com');
+ # correct password to 'hunter2'
+ $server->succeed('yes hunter2 | prosodyctl passwd azurediamond@example.com');
+
+ $client->succeed("send-message");
+
+ $server->succeed('prosodyctl deluser cthon98@example.com');
+ $server->succeed('prosodyctl deluser azurediamond@example.com');
+ '';
+}
diff --git a/nixos/tests/xmpp-sendmessage.nix b/nixos/tests/xmpp/xmpp-sendmessage.nix
similarity index 100%
rename from nixos/tests/xmpp-sendmessage.nix
rename to nixos/tests/xmpp/xmpp-sendmessage.nix
diff --git a/pkgs/applications/altcoins/bitcoin-unlimited-const-comparators.patch b/pkgs/applications/altcoins/bitcoin-unlimited-const-comparators.patch
deleted file mode 100644
index 1b74a48a84a..00000000000
--- a/pkgs/applications/altcoins/bitcoin-unlimited-const-comparators.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/src/txmempool.h
-+++ b/src/txmempool.h
-@@ -204,7 +204,7 @@
- class CompareTxMemPoolEntryByDescendantScore
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- bool fUseADescendants = UseDescendantScore(a);
- bool fUseBDescendants = UseDescendantScore(b);
-@@ -226,7 +226,7 @@
- }
-
- // Calculate which score to use for an entry (avoiding division).
-- bool UseDescendantScore(const CTxMemPoolEntry &a)
-+ bool UseDescendantScore(const CTxMemPoolEntry &a) const
- {
- double f1 = (double)a.GetModifiedFee() * a.GetSizeWithDescendants();
- double f2 = (double)a.GetModFeesWithDescendants() * a.GetTxSize();
-@@ -241,7 +241,7 @@
- class CompareTxMemPoolEntryByScore
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- double f1 = (double)a.GetModifiedFee() * b.GetTxSize();
- double f2 = (double)b.GetModifiedFee() * a.GetTxSize();
-@@ -255,7 +255,7 @@
- class CompareTxMemPoolEntryByEntryTime
- {
- public:
-- bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b)
-+ bool operator()(const CTxMemPoolEntry& a, const CTxMemPoolEntry& b) const
- {
- return a.GetTime() < b.GetTime();
- }
diff --git a/pkgs/applications/altcoins/bitcoin-xt.nix b/pkgs/applications/altcoins/bitcoin-xt.nix
deleted file mode 100644
index 499bc4be4c8..00000000000
--- a/pkgs/applications/altcoins/bitcoin-xt.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
-, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, curl, libevent
-, withGui
-, Foundation, ApplicationServices, AppKit }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec{
-
- name = "bitcoin" + (toString (optional (!withGui) "d")) + "-xt-" + version;
- version = "0.11H";
-
- src = fetchFromGitHub {
- owner = "bitcoinxt";
- repo = "bitcoinxt";
- rev = "v${version}";
- sha256 = "1v43bynmidn2zdpky939km721x3ks91bzyh4200gji61qzsmyg62";
- };
-
- nativeBuildInputs = [ pkgconfig autoreconfHook ];
- buildInputs = [ openssl db48 boost zlib libevent
- miniupnpc utillinux protobuf curl ]
- ++ optionals withGui [ qt4 qrencode ]
- ++ optionals stdenv.isDarwin [ Foundation ApplicationServices AppKit ];
-
- configureFlags = [
- "--with-boost-libdir=${boost.out}/lib"
- "--with-libcurl-headers=${curl.dev}/include"
- ] ++ optionals withGui [ "--with-gui=qt4" ];
-
- enableParallelBuilding = true;
-
- meta = {
- description = "Peer-to-peer electronic cash system (XT client)";
- longDescription= ''
- Bitcoin is a free open source peer-to-peer electronic cash system that is
- completely decentralized, without the need for a central server or trusted
- parties. Users hold the crypto keys to their own money and transact directly
- with each other, with the help of a P2P network to check for double-spending.
-
- Bitcoin XT is an implementation of a Bitcoin full node, based upon the
- source code of Bitcoin Core. It is built by taking the latest stable
- Core release, applying a series of patches, and then doing deterministic
- builds so anyone can check the downloads correspond to the source code.
- '';
- homepage = https://bitcoinxt.software/;
- maintainers = with maintainers; [ jefdaj ];
- license = licenses.mit;
- broken = stdenv.isDarwin;
- platforms = platforms.unix;
- };
-}
diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix
deleted file mode 100644
index b6a47b2828c..00000000000
--- a/pkgs/applications/altcoins/default.nix
+++ /dev/null
@@ -1,103 +0,0 @@
-{ callPackage, boost155, boost165, openssl_1_1, haskellPackages, darwin, libsForQt5, libsForQt59, miniupnpc_2, python3, buildGo110Package }:
-
-rec {
-
- aeon = callPackage ./aeon { };
-
- bitcoin = libsForQt5.callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = true; };
- bitcoind = callPackage ./bitcoin.nix { miniupnpc = miniupnpc_2; withGui = false; };
- clightning = callPackage ./clightning.nix { };
-
- bitcoin-abc = libsForQt5.callPackage ./bitcoin-abc.nix { boost = boost165; withGui = true; };
- bitcoind-abc = callPackage ./bitcoin-abc.nix { boost = boost165; withGui = false; };
-
- bitcoin-unlimited = callPackage ./bitcoin-unlimited.nix {
- inherit (darwin.apple_sdk.frameworks) Foundation ApplicationServices AppKit;
- withGui = true;
- };
- bitcoind-unlimited = callPackage ./bitcoin-unlimited.nix {
- inherit (darwin.apple_sdk.frameworks) Foundation ApplicationServices AppKit;
- withGui = false;
- };
-
- bitcoin-classic = libsForQt5.callPackage ./bitcoin-classic.nix { boost = boost165; withGui = true; };
- bitcoind-classic = callPackage ./bitcoin-classic.nix { boost = boost165; withGui = false; };
-
- bitcoin-xt = callPackage ./bitcoin-xt.nix {
- inherit (darwin.apple_sdk.frameworks) Foundation ApplicationServices AppKit;
- boost = boost165; withGui = true;
- };
- bitcoind-xt = callPackage ./bitcoin-xt.nix {
- inherit (darwin.apple_sdk.frameworks) Foundation ApplicationServices AppKit;
- boost = boost165; withGui = false;
- };
-
- btc1 = callPackage ./btc1.nix {
- inherit (darwin.apple_sdk.frameworks) AppKit;
- boost = boost165;
- };
- btc1d = btc1.override { withGui = false; };
-
- cryptop = python3.pkgs.callPackage ./cryptop { };
-
- dashpay = callPackage ./dashpay.nix { };
-
- dcrd = callPackage ./dcrd.nix { };
- dcrwallet = callPackage ./dcrwallet.nix { };
-
- dero = callPackage ./dero.nix { boost = boost165; };
-
- dogecoin = callPackage ./dogecoin.nix { boost = boost165; withGui = true; };
- dogecoind = callPackage ./dogecoin.nix { boost = boost165; withGui = false; };
-
-
- freicoin = callPackage ./freicoin.nix { boost = boost155; };
- go-ethereum = callPackage ./go-ethereum.nix {
- inherit (darwin) libobjc;
- inherit (darwin.apple_sdk.frameworks) IOKit;
- };
- go-ethereum-classic = callPackage ./go-ethereum-classic {
- buildGoPackage = buildGo110Package;
- };
-
- litecoin = callPackage ./litecoin.nix {
- inherit (darwin.apple_sdk.frameworks) AppKit;
- };
- litecoind = litecoin.override { withGui = false; };
-
- masari = callPackage ./masari.nix { boost = boost165; };
-
- memorycoin = callPackage ./memorycoin.nix { boost = boost165; withGui = true; };
- memorycoind = callPackage ./memorycoin.nix { boost = boost165; withGui = false; };
-
- mist = callPackage ./mist.nix { };
-
- namecoin = callPackage ./namecoin.nix { withGui = true; };
- namecoind = callPackage ./namecoin.nix { withGui = false; };
-
- pivx = libsForQt59.callPackage ./pivx.nix { withGui = true; };
- pivxd = callPackage ./pivx.nix { withGui = false; };
-
- ethabi = callPackage ./ethabi.nix { };
-
- stellar-core = callPackage ./stellar-core.nix { };
-
- sumokoin = callPackage ./sumokoin.nix { boost = boost165; };
-
- wownero = callPackage ./wownero.nix {
- inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC;
- };
-
- zcash = callPackage ./zcash {
- withGui = false;
- openssl = openssl_1_1;
- };
-
- parity = callPackage ./parity { };
- parity-beta = callPackage ./parity/beta.nix { };
- parity-ui = callPackage ./parity-ui { };
-
- polkadot = callPackage ./polkadot { };
-
- particl-core = callPackage ./particl/particl-core.nix { miniupnpc = miniupnpc_2; };
-}
diff --git a/pkgs/applications/altcoins/go-ethereum-classic/default.nix b/pkgs/applications/altcoins/go-ethereum-classic/default.nix
deleted file mode 100644
index 7461e4c376a..00000000000
--- a/pkgs/applications/altcoins/go-ethereum-classic/default.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ lib, buildGoPackage, fetchgit }:
-
-buildGoPackage rec {
- name = "go-ethereum-classic-${version}";
- version = "4.0.0";
-
- goPackagePath = "github.com/ethereumproject/go-ethereum";
- subPackages = [ "cmd/evm" "cmd/geth" ];
-
- src = fetchgit {
- rev = "v${version}";
- url = "https://github.com/ethereumproject/go-ethereum";
- sha256 = "06f1w7s45q4zva1xjrx92xinsdrixl0m6zhx5hvdjmg3xqcbwr79";
- };
-
- goDeps = ./deps.nix;
-
- meta = {
- description = "Golang implementation of Ethereum Classic";
- homepage = https://github.com/ethereumproject/go-ethereum;
- license = with lib.licenses; [ lgpl3 gpl3 ];
- maintainers = with lib.maintainers; [ sorpaas ];
- };
-}
diff --git a/pkgs/applications/altcoins/go-ethereum-classic/deps.nix b/pkgs/applications/altcoins/go-ethereum-classic/deps.nix
deleted file mode 100644
index 0aa6755ee96..00000000000
--- a/pkgs/applications/altcoins/go-ethereum-classic/deps.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.2.0
-[
- {
- goPackagePath = "github.com/maruel/panicparse";
- fetch = {
- type = "git";
- url = "https://github.com/maruel/panicparse";
- rev = "ae43f192cef2add653fe1481a3070ed00a4a6981";
- sha256 = "11q8v4adbrazqvh24235s5nifck0d1083gbwv4dh5lhd10xlwdvr";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-runewidth";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-runewidth";
- rev = "97311d9f7767e3d6f422ea06661bc2c7a19e8a5d";
- sha256 = "0dxlrzn570xl7gb11hjy1v4p3gw3r41yvqhrffgw95ha3q9p50cg";
- };
- }
- {
- goPackagePath = "github.com/mitchellh/go-wordwrap";
- fetch = {
- type = "git";
- url = "https://github.com/mitchellh/go-wordwrap";
- rev = "ad45545899c7b13c020ea92b2072220eefad42b8";
- sha256 = "0ny1ddngvwfj3njn7pmqnf3l903lw73ynddw15x8ymp7hidv27v9";
- };
- }
- {
- goPackagePath = "github.com/nsf/termbox-go";
- fetch = {
- type = "git";
- url = "https://github.com/nsf/termbox-go";
- rev = "4163cd39dda1c0dda883a713640bc01e08951c24";
- sha256 = "1vzrhxf8823lrnwf1bfyxwlm52pph5iq2hgr1d0n07v8kjgqkrmx";
- };
- }
-]
diff --git a/pkgs/applications/altcoins/memorycoin.nix b/pkgs/applications/altcoins/memorycoin.nix
deleted file mode 100644
index 944c82250d4..00000000000
--- a/pkgs/applications/altcoins/memorycoin.nix
+++ /dev/null
@@ -1,56 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, openssl, db48, boost
-, zlib, qt4, qmake4Hook, utillinux, protobuf, qrencode
-, withGui }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec{
-
- name = "memorycoin" + (toString (optional (!withGui) "d")) + "-" + version;
- version = "0.8.5";
-
- src = fetchurl {
- url = "https://github.com/memorycoin/memorycoin/archive/v${version}.tar.gz";
- sha256 = "1iyh6dqrg0mirwci5br5n5qw3ghp2cs23wd8ygr56bh9ml4dr1m8";
- };
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ openssl db48 boost zlib utillinux protobuf ]
- ++ optionals withGui [ qt4 qmake4Hook qrencode ];
-
- qmakeFlags = ["USE_UPNP=-"];
- makeFlags = ["USE_UPNP=-"];
-
- configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
- ++ optionals withGui [ "--with-gui=qt4" ];
-
- preBuild = "unset AR;"
- + (toString (optional (!withGui) "cd src; cp makefile.unix Makefile"));
-
- installPhase =
- if withGui
- then "install -D bitcoin-qt $out/bin/memorycoin-qt"
- else "install -D bitcoind $out/bin/memorycoind";
-
- # `make build/version.o`:
- # make: *** No rule to make target 'build/build.h', needed by 'build/version.o'. Stop.
- enableParallelBuilding = false;
-
- meta = {
- description = "Peer-to-peer, CPU-based electronic cash system";
- longDescription= ''
- Memorycoin is a cryptocurrency that aims to empower the
- economically and financially marginalized. It allows individuals
- to participate in the internet economy even when they live in
- countries where credit card companies and PayPal(R) refuse to
- operate. Individuals can store and transfer wealth with just a
- memorized pass phrase.
-
- Memorycoin is based on the Bitcoin code, but with some key
- differences.
- '';
- homepage = http://www.bitcoin.org/;
- maintainers = with maintainers; [ AndersonTorres ];
- license = licenses.mit;
- platforms = [ "x86_64-linux" ];
- };
-}
diff --git a/pkgs/applications/altcoins/monero-gui/move-log-file.patch b/pkgs/applications/altcoins/monero-gui/move-log-file.patch
deleted file mode 100644
index ae733151622..00000000000
--- a/pkgs/applications/altcoins/monero-gui/move-log-file.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/main.cpp b/main.cpp
-index 79223c0..e80b317 100644
---- a/main.cpp
-+++ b/main.cpp
-@@ -115,6 +115,9 @@ int main(int argc, char *argv[])
- QCommandLineOption logPathOption(QStringList() << "l" << "log-file",
- QCoreApplication::translate("main", "Log to specified file"),
- QCoreApplication::translate("main", "file"));
-+ logPathOption.setDefaultValue(
-+ QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
-+ + "/monero-wallet-gui.log");
- parser.addOption(logPathOption);
- parser.addHelpOption();
- parser.process(app);
-diff --git a/Logger.cpp b/Logger.cpp
-index 6b1daba..c357762 100644
---- a/Logger.cpp
-+++ b/Logger.cpp
-@@ -28,8 +28,8 @@ static const QString defaultLogName = "monero-wallet-gui.log";
- static const QString appFolder = "Library/Logs";
- #else // linux + bsd
- //HomeLocation = "~"
-- static const QString osPath = QStandardPaths::standardLocations(QStandardPaths::HomeLocation).at(0);
-- static const QString appFolder = ".bitmonero";
-+ static const QString osPath = QStandardPaths::standardLocations(QStandardPaths::CacheLocation).at(0);
-+ static const QString appFolder = "bitmonero";
- #endif
-
-
diff --git a/pkgs/applications/altcoins/monero-gui/move-translations-dir.patch b/pkgs/applications/altcoins/monero-gui/move-translations-dir.patch
deleted file mode 100644
index ff17ce5da1c..00000000000
--- a/pkgs/applications/altcoins/monero-gui/move-translations-dir.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/TranslationManager.cpp b/TranslationManager.cpp
-index e7fc52a..83534cc 100644
---- a/TranslationManager.cpp
-+++ b/TranslationManager.cpp
-@@ -25,7 +25,7 @@ bool TranslationManager::setLanguage(const QString &language)
- return true;
- }
-
-- QString dir = qApp->applicationDirPath() + "/translations";
-+ QString dir = qApp->applicationDirPath() + "/../share/translations";
- QString filename = "monero-core_" + language;
-
- qDebug("%s: loading translation file '%s' from '%s'",
diff --git a/pkgs/applications/altcoins/parity/beta.nix b/pkgs/applications/altcoins/parity/beta.nix
deleted file mode 100644
index ed3f691122c..00000000000
--- a/pkgs/applications/altcoins/parity/beta.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-let
- version = "2.5.1";
- sha256 = "0nnrgc2qyqqld3znjigryqpg5jaqh3jnmin4a334dbr4jw50dz3d";
- cargoSha256 = "184vfhsalk5dims3k13zrsv4lmm45a7nm3r0b84g72q7hhbl8pkf";
-in
- import ./parity.nix { inherit version sha256 cargoSha256; }
diff --git a/pkgs/applications/altcoins/parity/default.nix b/pkgs/applications/altcoins/parity/default.nix
deleted file mode 100644
index 18e3dd4129e..00000000000
--- a/pkgs/applications/altcoins/parity/default.nix
+++ /dev/null
@@ -1,6 +0,0 @@
-let
- version = "2.4.6";
- sha256 = "0vfq1pyd92n60h9gimn4d5j56xanvl43sgxk9h2kb16amy0mmh3z";
- cargoSha256 = "04gi9vddahq1q207f83n3wriwdjnmmnby6mq4crdh7yx1p4b26m9";
-in
- import ./parity.nix { inherit version sha256 cargoSha256; }
diff --git a/pkgs/applications/audio/AMB-plugins/default.nix b/pkgs/applications/audio/AMB-plugins/default.nix
index 3ea7b90f84a..d9a05e0bf66 100644
--- a/pkgs/applications/audio/AMB-plugins/default.nix
+++ b/pkgs/applications/audio/AMB-plugins/default.nix
@@ -2,10 +2,10 @@
}:
stdenv.mkDerivation rec {
- name = "AMB-plugins-${version}";
+ pname = "AMB-plugins";
version = "0.8.1";
src = fetchurl {
- url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "0x4blm4visjqj0ndqr0cg776v3b7lvplpc8cgi9n51llhavn0jpl";
};
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
longDescription = ''
Mono and stereo to B-format panning, horizontal rotator, square, hexagon and cube decoders.
'';
- version = "${version}";
+ version = version;
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
diff --git a/pkgs/applications/audio/FIL-plugins/default.nix b/pkgs/applications/audio/FIL-plugins/default.nix
index b9322c37df0..cf383c1dd49 100644
--- a/pkgs/applications/audio/FIL-plugins/default.nix
+++ b/pkgs/applications/audio/FIL-plugins/default.nix
@@ -2,10 +2,10 @@
}:
stdenv.mkDerivation rec {
- name = "FIL-plugins-${version}";
+ pname = "FIL-plugins";
version = "0.3.0";
src = fetchurl {
- url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1scfv9j7jrp50r565haa4rvxn1vk2ss86xssl5qgcr8r45qz42qw";
};
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
All switches and controls are internally smoothed, so they can be used 'live' whithout any clicks or zipper noises.
This should make this plugin a good candidate for use in systems that allow automation of plugin control ports, such as Ardour, or for stage use.
'';
- version = "${version}";
+ version = version;
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/ladspa/index.html;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
diff --git a/pkgs/applications/audio/MMA/default.nix b/pkgs/applications/audio/MMA/default.nix
index ed7a8481f69..92f46abddd5 100644
--- a/pkgs/applications/audio/MMA/default.nix
+++ b/pkgs/applications/audio/MMA/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "16.06";
- name = "mma-${version}";
+ pname = "mma";
src = fetchurl {
url = "https://www.mellowood.ca/mma/mma-bin-${version}.tar.gz";
diff --git a/pkgs/applications/audio/a2jmidid/default.nix b/pkgs/applications/audio/a2jmidid/default.nix
index 70709ae4ac4..28331720048 100644
--- a/pkgs/applications/audio/a2jmidid/default.nix
+++ b/pkgs/applications/audio/a2jmidid/default.nix
@@ -4,8 +4,8 @@
let
inherit (python2Packages) python dbus-python;
-in stdenv.mkDerivation rec {
- name = "a2jmidid-${version}";
+in stdenv.mkDerivation {
+ pname = "a2jmidid";
version = "8";
src = fetchurl {
diff --git a/pkgs/applications/audio/abcde/default.nix b/pkgs/applications/audio/abcde/default.nix
index b602707b392..adb38d4bbba 100644
--- a/pkgs/applications/audio/abcde/default.nix
+++ b/pkgs/applications/audio/abcde/default.nix
@@ -6,7 +6,8 @@
let version = "2.9.3";
in
stdenv.mkDerivation {
- name = "abcde-${version}";
+ pname = "abcde";
+ inherit version;
src = fetchurl {
url = "https://abcde.einval.com/download/abcde-${version}.tar.gz";
sha256 = "091ip2iwb6b67bhjsj05l0sxyq2whqjycbzqpkfbpm4dlyxx0v04";
diff --git a/pkgs/applications/audio/adlplug/default.nix b/pkgs/applications/audio/adlplug/default.nix
index 5872f53d75d..631e0c9cca5 100644
--- a/pkgs/applications/audio/adlplug/default.nix
+++ b/pkgs/applications/audio/adlplug/default.nix
@@ -5,13 +5,13 @@
stdenv.mkDerivation rec {
inherit pname;
- version = "1.0.0";
+ version = "1.0.1";
src = fetchFromGitHub {
owner = "jpcima";
repo = "ADLplug";
rev = "v${version}";
- sha256 = "1rpd7v1rx74cv7nhs70ah0bly314rjzj70cp30mvhns2hzk66s3c";
+ sha256 = "0n9srdlgl1j528ap5xmllrqs1w6ibc5yf9sphvl1q9kjnizxrs2c";
fetchSubmodules = true;
};
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake pkgconfig ];
meta = with stdenv.lib; {
- description = "Synthesizer plugin for ADLMIDI and OPNMIDI (VST/LV2)";
+ description = "OPL3 and OPN2 FM Chip Synthesizer";
homepage = src.meta.homepage;
license = licenses.boost;
platforms = platforms.linux;
diff --git a/pkgs/applications/audio/aeolus/default.nix b/pkgs/applications/audio/aeolus/default.nix
index 7b80b32331b..389052d30e1 100644
--- a/pkgs/applications/audio/aeolus/default.nix
+++ b/pkgs/applications/audio/aeolus/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "aeolus-${version}";
+ pname = "aeolus";
version = "0.9.7";
src = fetchurl {
- url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "0lhbr95hmbfj8ynbcpawn7jzjbpvrkm6k2yda39yhqk1bzg38v2k";
};
diff --git a/pkgs/applications/audio/amarok/default.nix b/pkgs/applications/audio/amarok/default.nix
index 855d31aadbb..c72815d5ca2 100644
--- a/pkgs/applications/audio/amarok/default.nix
+++ b/pkgs/applications/audio/amarok/default.nix
@@ -3,15 +3,12 @@
, qca-qt5, qjson, qtquickcontrols2, qtscript, qtwebengine
, karchive, kcmutils, kconfig, kdnssd, kguiaddons, kinit, kirigami2, knewstuff, knotifyconfig, ktexteditor, kwindowsystem
, fftw, phonon, plasma-framework, threadweaver
-, curl, ffmpeg, gdk_pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
+, curl, ffmpeg, gdk-pixbuf, libaio, libmtp, loudmouth, lzo, lz4, mysql57, pcre, snappy, taglib, taglib_extras
}:
-let
+mkDerivation rec {
pname = "amarok";
- version = "2.9.0-20180618";
-
-in mkDerivation {
- name = "${pname}-${version}";
+ version = "2.9.0-20190824";
src = fetchgit {
# master has the Qt5 version as of April 2018 but a formal release has not
@@ -19,8 +16,8 @@ in mkDerivation {
# release is out
url = git://anongit.kde.org/amarok.git;
# url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
- rev = "5d43efa454b6a6c9c833a6f3d7f8ff3cae738c96";
- sha256 = "0fyrbgldg4wbb2darm4aav5fpzbacxzfjrdqwkhv9xr13j7zsvm3";
+ rev = "457fbda25a85a102bfda92aa7137e7ef5e4c8b00";
+ sha256 = "1ig2mg8pqany6m2zplkrvldcv4ibxwsypnyv5igm7nz7ax82cd5j";
};
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
@@ -29,7 +26,7 @@ in mkDerivation {
qca-qt5 qjson qtquickcontrols2 qtscript qtwebengine
karchive kcmutils kconfig kdnssd kguiaddons kinit kirigami2 knewstuff knotifyconfig ktexteditor kwindowsystem
phonon plasma-framework threadweaver
- curl fftw ffmpeg gdk_pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
+ curl fftw ffmpeg gdk-pixbuf libaio libmtp loudmouth lz4 lzo mysql57.server mysql57.server.static
pcre snappy taglib taglib_extras
];
diff --git a/pkgs/applications/audio/ams-lv2/default.nix b/pkgs/applications/audio/ams-lv2/default.nix
index 4a6be2cc55f..0750c38550b 100644
--- a/pkgs/applications/audio/ams-lv2/default.nix
+++ b/pkgs/applications/audio/ams-lv2/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig, python3
+{ stdenv, fetchFromGitHub, cairo, fftw, gtkmm2, lv2, lvtk, pkgconfig
, wafHook }:
stdenv.mkDerivation rec {
- name = "ams-lv2-${version}";
+ pname = "ams-lv2";
version = "1.2.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/ario/default.nix b/pkgs/applications/audio/ario/default.nix
index 02d818410df..4b48f5f1eea 100644
--- a/pkgs/applications/audio/ario/default.nix
+++ b/pkgs/applications/audio/ario/default.nix
@@ -5,10 +5,10 @@
stdenv.mkDerivation rec {
version = "1.6";
- name = "ario-${version}";
+ pname = "ario";
src = fetchurl {
- url = "mirror://sourceforge/ario-player/${name}.tar.gz";
+ url = "mirror://sourceforge/ario-player/${pname}-${version}.tar.gz";
sha256 = "16nhfb3h5pc7flagfdz7xy0iq6kvgy6h4bfpi523i57rxvlfshhl";
};
diff --git a/pkgs/applications/audio/artyFX/default.nix b/pkgs/applications/audio/artyFX/default.nix
index 91a0a1f140c..4b76ebdf605 100644
--- a/pkgs/applications/audio/artyFX/default.nix
+++ b/pkgs/applications/audio/artyFX/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub , cairomm, cmake, libjack2, libpthreadstubs, libXdmcp, libxshmfence, libsndfile, lv2, ntk, pkgconfig }:
stdenv.mkDerivation rec {
- name = "artyFX-${version}";
+ pname = "artyFX";
version = "1.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/asunder/default.nix b/pkgs/applications/audio/asunder/default.nix
index 9c42c98ba5e..e4c145b35c7 100644
--- a/pkgs/applications/audio/asunder/default.nix
+++ b/pkgs/applications/audio/asunder/default.nix
@@ -13,9 +13,9 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.9.3";
- name = "asunder-${version}";
+ pname = "asunder";
src = fetchurl {
- url = "http://littlesvr.ca/asunder/releases/${name}.tar.bz2";
+ url = "http://littlesvr.ca/asunder/releases/${pname}-${version}.tar.bz2";
sha256 = "1630i1df06y840v3fgdf75jxw1s8kwbfn5bhi0686viah0scccw5";
};
diff --git a/pkgs/applications/audio/audacious/default.nix b/pkgs/applications/audio/audacious/default.nix
index 68660b5d054..12e8237d485 100644
--- a/pkgs/applications/audio/audacious/default.nix
+++ b/pkgs/applications/audio/audacious/default.nix
@@ -7,7 +7,7 @@
}:
stdenv.mkDerivation rec {
- name = "audacious-${version}";
+ pname = "audacious";
version = "3.9";
src = fetchurl {
diff --git a/pkgs/applications/audio/audacious/qt-5.nix b/pkgs/applications/audio/audacious/qt-5.nix
index 019bde7cc64..baf7b108e50 100644
--- a/pkgs/applications/audio/audacious/qt-5.nix
+++ b/pkgs/applications/audio/audacious/qt-5.nix
@@ -2,7 +2,7 @@
mkDerivation, lib, fetchurl, fetchpatch,
gettext, pkgconfig,
qtbase,
- alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk_pixbuf, lame, libbs2b,
+ alsaLib, curl, faad2, ffmpeg, flac, fluidsynth, gdk-pixbuf, lame, libbs2b,
libcddb, libcdio, libcue, libjack2, libmad, libmms, libmodplug,
libmowgli, libnotify, libogg, libpulseaudio, libsamplerate, libsidplayfp,
libsndfile, libvorbis, libxml2, lirc, mpg123, neon, qtmultimedia, soxr,
@@ -45,7 +45,7 @@ mkDerivation {
qtbase
# Plugin dependencies
- alsaLib curl faad2 ffmpeg flac fluidsynth gdk_pixbuf lame libbs2b libcddb
+ alsaLib curl faad2 ffmpeg flac fluidsynth gdk-pixbuf lame libbs2b libcddb
libcdio libcue libjack2 libmad libmms libmodplug libmowgli
libnotify libogg libpulseaudio libsamplerate libsidplayfp libsndfile
libvorbis libxml2 lirc mpg123 neon qtmultimedia soxr wavpack
diff --git a/pkgs/applications/audio/audacity/default.nix b/pkgs/applications/audio/audacity/default.nix
index b685fda7683..6be40a7b93a 100644
--- a/pkgs/applications/audio/audacity/default.nix
+++ b/pkgs/applications/audio/audacity/default.nix
@@ -8,7 +8,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "2.3.2";
- name = "audacity-${version}";
+ pname = "audacity";
src = fetchurl {
url = "https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz";
diff --git a/pkgs/applications/audio/audio-recorder/default.nix b/pkgs/applications/audio/audio-recorder/default.nix
index 7b84cd02a62..534b87e9fa7 100644
--- a/pkgs/applications/audio/audio-recorder/default.nix
+++ b/pkgs/applications/audio/audio-recorder/default.nix
@@ -5,11 +5,11 @@
, pulseaudioSupport ? true, libpulseaudio ? null }:
stdenv.mkDerivation rec {
- name = "audio-recorder-${version}";
+ pname = "audio-recorder";
version = "2.1.3";
src = fetchurl {
- name = "${name}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
url = "${meta.homepage}/+archive/ubuntu/ppa/+files/audio-recorder_${version}%7Ebionic.tar.gz";
sha256 = "160pnmnmc9zwzyclsci3w1qwlgxkfx1y3x5ck6i587w78570an1r";
};
diff --git a/pkgs/applications/audio/avldrums-lv2/default.nix b/pkgs/applications/audio/avldrums-lv2/default.nix
index 75b6d8e2758..7ca5d83b48b 100644
--- a/pkgs/applications/audio/avldrums-lv2/default.nix
+++ b/pkgs/applications/audio/avldrums-lv2/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, pkgconfig, pango, cairo, libGLU, lv2 }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "avldrums.lv2";
- version = "0.3.1";
+ version = "0.3.5";
src = fetchFromGitHub {
owner = "x42";
repo = pname;
rev = "v${version}";
- sha256 = "0yhq3n5bahhqpj40mvlkxcjsdsw63jsbz20pl77bx2qj30w25i2j";
+ sha256 = "00n2varc7iwp0xbfi45hpq4vlpxxb2kbrdzvrc20qp2265994bqf";
fetchSubmodules = true;
};
diff --git a/pkgs/applications/audio/axoloti/default.nix b/pkgs/applications/audio/axoloti/default.nix
index e3f1b6acf87..fb9b3c9513f 100644
--- a/pkgs/applications/audio/axoloti/default.nix
+++ b/pkgs/applications/audio/axoloti/default.nix
@@ -4,12 +4,12 @@
stdenv.mkDerivation rec {
version = "1.0.12-2";
- name = "axoloti-${version}";
+ pname = "axoloti";
src = fetchFromGitHub {
owner = "axoloti";
repo = "axoloti";
- rev = "${version}";
+ rev = version;
sha256 = "1qffis277wshldr3i939b0r2x3a2mlr53samxqmr2nk1sfm2b4w9";
};
diff --git a/pkgs/applications/audio/axoloti/dfu-util.nix b/pkgs/applications/audio/axoloti/dfu-util.nix
index 07a78260991..e9fa6daecfe 100644
--- a/pkgs/applications/audio/axoloti/dfu-util.nix
+++ b/pkgs/applications/audio/axoloti/dfu-util.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, pkgconfig, libusb1-axoloti }:
stdenv.mkDerivation rec {
- name="dfu-util-${version}";
+ pname = "dfu-util";
version = "0.8";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libusb1-axoloti ];
src = fetchurl {
- url = "http://dfu-util.sourceforge.net/releases/${name}.tar.gz";
+ url = "http://dfu-util.sourceforge.net/releases/${pname}-${version}.tar.gz";
sha256 = "0n7h08avlzin04j93m6hkq9id6hxjiiix7ff9gc2n89aw6dxxjsm";
};
diff --git a/pkgs/applications/audio/baudline/default.nix b/pkgs/applications/audio/baudline/default.nix
index 6827d12b321..c35df95b24c 100644
--- a/pkgs/applications/audio/baudline/default.nix
+++ b/pkgs/applications/audio/baudline/default.nix
@@ -7,7 +7,7 @@ let
[ libXmu libXt libX11 libXext libXxf86vm libjack2 ];
in
stdenv.mkDerivation rec {
- name = "baudline-${version}";
+ pname = "baudline";
version = "1.08";
src =
diff --git a/pkgs/applications/audio/bitmeter/default.nix b/pkgs/applications/audio/bitmeter/default.nix
index fbe2c97042f..6f471f3a028 100644
--- a/pkgs/applications/audio/bitmeter/default.nix
+++ b/pkgs/applications/audio/bitmeter/default.nix
@@ -1,11 +1,11 @@
{ stdenv, autoreconfHook, fetchurl, libjack2, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
- name = "bitmeter-${version}";
+ pname = "bitmeter";
version = "1.2";
src = fetchurl {
- url = "https://devel.tlrmx.org/audio/source/${name}.tar.gz";
+ url = "https://devel.tlrmx.org/audio/source/${pname}-${version}.tar.gz";
sha256 = "09ck2gxqky701dc1p0ip61rrn16v0pdc7ih2hc2sd63zcw53g2a7";
};
diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix b/pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix
index 125c0f7a753..83586847190 100644
--- a/pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix
+++ b/pkgs/applications/audio/bitwig-studio/bitwig-studio1.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, alsaLib, bzip2, cairo, dpkg, freetype, gdk_pixbuf
+{ stdenv, fetchurl, alsaLib, bzip2, cairo, dpkg, freetype, gdk-pixbuf
, wrapGAppsHook, gtk2, gtk3, harfbuzz, jdk, lib, xorg
, libbsd, libjack2, libpng, ffmpeg
, libxkbcommon
@@ -6,7 +6,7 @@
, xdg_utils, zenity, zlib }:
stdenv.mkDerivation rec {
- name = "bitwig-studio-${version}";
+ pname = "bitwig-studio";
version = "1.3.16";
src = fetchurl {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
dontWrapGApps = true; # we only want $gappsWrapperArgs here
buildInputs = with xorg; [
- alsaLib bzip2.out cairo freetype gdk_pixbuf gtk2 gtk3 harfbuzz libX11 libXau
+ alsaLib bzip2.out cairo freetype gdk-pixbuf gtk2 gtk3 harfbuzz libX11 libXau
libXcursor libXdmcp libXext libXfixes libXrender libbsd libjack2 libpng libxcb
libxkbfile pixman xcbutil xcbutilwm zlib
];
diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix b/pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix
index 065dd01c862..345750e9e2a 100644
--- a/pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix
+++ b/pkgs/applications/audio/bitwig-studio/bitwig-studio2.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, bitwig-studio1,
- xdg_utils, zenity, ffmpeg, pulseaudio }:
+{ fetchurl, bitwig-studio1,
+ pulseaudio }:
bitwig-studio1.overrideAttrs (oldAttrs: rec {
name = "bitwig-studio-${version}";
diff --git a/pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix b/pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix
new file mode 100644
index 00000000000..3e9a2d380e2
--- /dev/null
+++ b/pkgs/applications/audio/bitwig-studio/bitwig-studio3.nix
@@ -0,0 +1,16 @@
+{ fetchurl, bitwig-studio1,
+ pulseaudio }:
+
+bitwig-studio1.overrideAttrs (oldAttrs: rec {
+ name = "bitwig-studio-${version}";
+ version = "3.0.1";
+
+ src = fetchurl {
+ url = "https://downloads.bitwig.com/stable/${version}/bitwig-studio-${version}.deb";
+ sha256 = "0k25p1j4kgnhm7p90qp1cz79xddgi6nh1nx1y5wz42x8qrpxya0s";
+ };
+
+ runtimeDependencies = [
+ pulseaudio
+ ];
+})
diff --git a/pkgs/applications/audio/bristol/default.nix b/pkgs/applications/audio/bristol/default.nix
index e1ed12b9bd2..504900d6595 100644
--- a/pkgs/applications/audio/bristol/default.nix
+++ b/pkgs/applications/audio/bristol/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, alsaLib, libjack2, pkgconfig, libpulseaudio, xorg }:
stdenv.mkDerivation rec {
- name = "bristol-${version}";
+ pname = "bristol";
version = "0.60.11";
src = fetchurl {
- url = "mirror://sourceforge/bristol/${name}.tar.gz";
+ url = "mirror://sourceforge/bristol/${pname}-${version}.tar.gz";
sha256 = "1fi2m4gmvxdi260821y09lxsimq82yv4k5bbgk3kyc3x1nyhn7vx";
};
diff --git a/pkgs/applications/audio/bs1770gain/default.nix b/pkgs/applications/audio/bs1770gain/default.nix
index adda9235364..2dee463aeee 100644
--- a/pkgs/applications/audio/bs1770gain/default.nix
+++ b/pkgs/applications/audio/bs1770gain/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ffmpeg, sox }:
stdenv.mkDerivation rec {
- name = "bs1770gain-${version}";
+ pname = "bs1770gain";
version = "0.5.2";
src = fetchurl {
- url = "mirror://sourceforge/bs1770gain/${name}.tar.gz";
+ url = "mirror://sourceforge/bs1770gain/${pname}-${version}.tar.gz";
sha256 = "1p6yz5q7czyf9ard65sp4kawdlkg40cfscr3b24znymmhs3p7rbk";
};
diff --git a/pkgs/applications/audio/cadence/default.nix b/pkgs/applications/audio/cadence/default.nix
index ef7eeab4b60..87efa6fb6b6 100644
--- a/pkgs/applications/audio/cadence/default.nix
+++ b/pkgs/applications/audio/cadence/default.nix
@@ -3,9 +3,7 @@
, pkgconfig
, qtbase
, makeWrapper
-, jack2Full
, python3Packages
-, a2jmidid
}:
stdenv.mkDerivation rec {
diff --git a/pkgs/applications/audio/calf/default.nix b/pkgs/applications/audio/calf/default.nix
index ba49682e7ea..0106e8b4584 100644
--- a/pkgs/applications/audio/calf/default.nix
+++ b/pkgs/applications/audio/calf/default.nix
@@ -1,13 +1,13 @@
-{ stdenv, fetchurl, fetchpatch, cairo, expat, fftwSinglePrec, fluidsynth, glib
+{ stdenv, fetchurl, cairo, expat, fftwSinglePrec, fluidsynth, glib
, gtk2, libjack2, ladspaH , libglade, lv2, pkgconfig }:
stdenv.mkDerivation rec {
- name = "calf-${version}";
- version = "0.90.2";
+ pname = "calf";
+ version = "0.90.3";
src = fetchurl {
- url = "https://calf-studio-gear.org/files/${name}.tar.gz";
- sha256 = "0bn4j1klw2yfxz8clbmasaydifq25rdfsv0n6iisxrzcj1lx7sgh";
+ url = "https://calf-studio-gear.org/files/${pname}-${version}.tar.gz";
+ sha256 = "17x4hylgq4dn9qycsdacfxy64f5cv57n2qgkvsdp524gnqzw4az3";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/audio/cantata/default.nix b/pkgs/applications/audio/cantata/default.nix
index 64e99768ded..bdbf6a45a6d 100644
--- a/pkgs/applications/audio/cantata/default.nix
+++ b/pkgs/applications/audio/cantata/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, vlc
+{ mkDerivation, lib, fetchFromGitHub, cmake, pkgconfig, vlc
, qtbase, qtmultimedia, qtsvg, qttools
# Cantata doesn't build with cdparanoia enabled so we disable that
@@ -35,7 +35,7 @@ let
withUdisks = (withTaglib && withDevices);
-in stdenv.mkDerivation rec {
+in mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub {
@@ -46,20 +46,20 @@ in stdenv.mkDerivation rec {
};
buildInputs = [ vlc qtbase qtmultimedia qtsvg ]
- ++ stdenv.lib.optionals withTaglib [ taglib taglib_extras ]
- ++ stdenv.lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
- ++ stdenv.lib.optional withCdda cdparanoia
- ++ stdenv.lib.optional withCddb libcddb
- ++ stdenv.lib.optional withLame lame
- ++ stdenv.lib.optional withMtp libmtp
- ++ stdenv.lib.optional withMusicbrainz libmusicbrainz5
- ++ stdenv.lib.optional withUdisks udisks2;
+ ++ lib.optionals withTaglib [ taglib taglib_extras ]
+ ++ lib.optionals withReplaygain [ ffmpeg speex mpg123 ]
+ ++ lib.optional withCdda cdparanoia
+ ++ lib.optional withCddb libcddb
+ ++ lib.optional withLame lame
+ ++ lib.optional withMtp libmtp
+ ++ lib.optional withMusicbrainz libmusicbrainz5
+ ++ lib.optional withUdisks udisks2;
nativeBuildInputs = [ cmake pkgconfig qttools ];
enableParallelBuilding = true;
- cmakeFlags = stdenv.lib.flatten [
+ cmakeFlags = lib.flatten [
(fstats withTaglib [ "TAGLIB" "TAGLIB_EXTRAS" ])
(fstats withReplaygain [ "FFMPEG" "MPG123" "SPEEXDSP" ])
(fstat withCdda "CDPARANOIA")
@@ -76,7 +76,7 @@ in stdenv.mkDerivation rec {
"-DENABLE_HTTPS_SUPPORT=ON"
];
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://github.com/cdrummond/cantata;
description = "A graphical client for MPD";
license = licenses.gpl3;
diff --git a/pkgs/applications/audio/caps/default.nix b/pkgs/applications/audio/caps/default.nix
index 1f53809e905..eabbf866837 100644
--- a/pkgs/applications/audio/caps/default.nix
+++ b/pkgs/applications/audio/caps/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "caps-${version}";
+ pname = "caps";
version = "0.9.26";
src = fetchurl {
url = "http://www.quitte.de/dsp/caps_${version}.tar.bz2";
diff --git a/pkgs/applications/audio/carla/default.nix b/pkgs/applications/audio/carla/default.nix
index af29c3dc9e0..98a4ddd29d6 100644
--- a/pkgs/applications/audio/carla/default.nix
+++ b/pkgs/applications/audio/carla/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, fftw, jack2,
- liblo, libpulseaudio, libsndfile, makeWrapper, pkgconfig, python3Packages,
+{ stdenv, fetchFromGitHub, alsaLib, file, fluidsynth, ffmpeg, jack2,
+ liblo, libpulseaudio, libsndfile, pkgconfig, python3Packages,
which, withFrontend ? true,
- withQt ? true, qtbase ? null,
+ withQt ? true, qtbase ? null, wrapQtAppsHook ? null,
withGtk2 ? true, gtk2 ? null,
withGtk3 ? true, gtk3 ? null }:
@@ -9,6 +9,7 @@ with stdenv.lib;
assert withFrontend -> python3Packages ? pyqt5;
assert withQt -> qtbase != null;
+assert withQt -> wrapQtAppsHook != null;
assert withGtk2 -> gtk2 != null;
assert withGtk3 -> gtk3 != null;
@@ -23,7 +24,9 @@ stdenv.mkDerivation rec {
sha256 = "0fqgncqlr86n38yy7pa118mswfacmfczj7w9xx6c6k0jav3wk29k";
};
- nativeBuildInputs = [ python3Packages.wrapPython pkgconfig which ];
+ nativeBuildInputs = [
+ python3Packages.wrapPython pkgconfig which wrapQtAppsHook
+ ];
pythonPath = with python3Packages; [
rdflib pyliblo
@@ -38,6 +41,7 @@ stdenv.mkDerivation rec {
installFlags = [ "PREFIX=$(out)" ];
+ dontWrapQtApps = true;
postFixup = ''
# Also sets program_PYTHONPATH and program_PATH variables
wrapPythonPrograms
@@ -48,10 +52,9 @@ stdenv.mkDerivation rec {
patchPythonScript "$out/share/carla/carla_settings.py"
for program in $out/bin/*; do
- wrapProgram "$program" \
+ wrapQtApp "$program" \
--prefix PATH : "$program_PATH:${which}/bin" \
- --set PYTHONNOUSERSITE true \
- --prefix QT_PLUGIN_PATH : "${qtbase.bin}/${qtbase.qtPluginPrefix}"
+ --set PYTHONNOUSERSITE true
done
'';
diff --git a/pkgs/applications/audio/caudec/default.nix b/pkgs/applications/audio/caudec/default.nix
index 04f0f9d3025..1ab39311258 100644
--- a/pkgs/applications/audio/caudec/default.nix
+++ b/pkgs/applications/audio/caudec/default.nix
@@ -4,8 +4,9 @@ let
version = "1.7.5";
in
-stdenv.mkDerivation rec {
- name = "caudec-${version}";
+stdenv.mkDerivation {
+ pname = "caudec";
+ inherit version;
src = fetchurl {
url = "http://caudec.net/downloads/caudec-${version}.tar.gz";
diff --git a/pkgs/applications/audio/cava/default.nix b/pkgs/applications/audio/cava/default.nix
index 439175b090a..5c5c262056e 100644
--- a/pkgs/applications/audio/cava/default.nix
+++ b/pkgs/applications/audio/cava/default.nix
@@ -2,7 +2,7 @@
libpulseaudio, ncurses }:
stdenv.mkDerivation rec {
- name = "cava-${version}";
+ pname = "cava";
version = "0.6.1";
buildInputs = [
diff --git a/pkgs/applications/audio/cd-discid/default.nix b/pkgs/applications/audio/cd-discid/default.nix
index 382d4a1b667..76f76c1e750 100644
--- a/pkgs/applications/audio/cd-discid/default.nix
+++ b/pkgs/applications/audio/cd-discid/default.nix
@@ -2,11 +2,11 @@
, IOKit ? null }:
stdenv.mkDerivation rec {
- name = "cd-discid-${version}";
+ pname = "cd-discid";
version = "1.4";
src = fetchurl {
- url = "http://linukz.org/download/${name}.tar.gz";
+ url = "http://linukz.org/download/${pname}-${version}.tar.gz";
sha256 = "0qrcvn7227qaayjcd5rm7z0k5q89qfy5qkdgwr5pd7ih0va8rmpz";
};
diff --git a/pkgs/applications/audio/cdparanoia/default.nix b/pkgs/applications/audio/cdparanoia/default.nix
index c419d141d1b..4e517ee636e 100644
--- a/pkgs/applications/audio/cdparanoia/default.nix
+++ b/pkgs/applications/audio/cdparanoia/default.nix
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl ./utils.patch
++ [./fix_private_keyword.patch];
- buildInputs = stdenv.lib.optional stdenv.isAarch64 autoreconfHook;
+ nativeBuildInputs = stdenv.lib.optional stdenv.isAarch64 autoreconfHook;
propagatedBuildInputs = stdenv.lib.optionals stdenv.isDarwin [
Carbon
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
- preConfigure = "unset CC" + stdenv.lib.optionalString stdenv.isAarch64 ''\n
+ preConfigure = "unset CC" + stdenv.lib.optionalString stdenv.isAarch64 '';
cp ${gnu-config}/config.sub configure.sub
cp ${gnu-config}/config.guess configure.guess
'';
diff --git a/pkgs/applications/audio/chuck/clang.patch b/pkgs/applications/audio/chuck/clang.patch
deleted file mode 100644
index 77227ef0fd4..00000000000
--- a/pkgs/applications/audio/chuck/clang.patch
+++ /dev/null
@@ -1,58 +0,0 @@
-diff --git a/src/ugen_osc.cpp b/src/ugen_osc.cpp
-index 6b93c6b..dbefe4f 100644
---- a/src/ugen_osc.cpp
-+++ b/src/ugen_osc.cpp
-@@ -1232,7 +1232,7 @@ CK_DLL_CTRL( gen5_coeffs )
- Chuck_Array8 * in_args = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
-
- // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
-- if(in_args<0) return;
-+ if(in_args!=0) return;
- size = in_args->size();
- if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
-
-@@ -1287,7 +1287,7 @@ CK_DLL_CTRL( gen7_coeffs )
- Chuck_Array8 * in_args = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
-
- // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
-- if(in_args<0) return;
-+ if(in_args!=0) return;
- size = in_args->size();
- if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
-
-@@ -1340,7 +1340,7 @@ CK_DLL_CTRL( gen9_coeffs )
- Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
-
- // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
-- if(weights<0) return;
-+ if(weights!=0) return;
- size = weights->size();
- if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
-
-@@ -1390,7 +1390,7 @@ CK_DLL_CTRL( gen10_coeffs )
- Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
-
- // fprintf(stdout, "calling gen10coeffs, %d\n", weights);
-- if(weights<0) return;
-+ if(weights!=0) return;
- size = weights->size();
- if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
-
-@@ -1441,7 +1441,7 @@ CK_DLL_CTRL( gen17_coeffs )
- Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
-
- // fprintf(stdout, "calling gen17coeffs, %d\n", weights);
-- if(weights<0) return;
-+ if(weights!=0) return;
- size = weights->size();
- if(size >= genX_MAX_COEFFS) size = genX_MAX_COEFFS - 1;
-
-@@ -1502,7 +1502,7 @@ CK_DLL_CTRL( curve_coeffs )
- Chuck_Array8 * weights = (Chuck_Array8 *)GET_CK_OBJECT(ARGS);
-
- // fprintf(stdout, "calling gen17coeffs, %d\n", weights);
-- if(weights<0) goto done;
-+ if(weights!=0) goto done;
-
- nargs = weights->size();
- if (nargs < 5 || (nargs % 3) != 2) { // check number of args
diff --git a/pkgs/applications/audio/chuck/darwin-limits.patch b/pkgs/applications/audio/chuck/darwin-limits.patch
index 3387f725544..dc98a172691 100644
--- a/pkgs/applications/audio/chuck/darwin-limits.patch
+++ b/pkgs/applications/audio/chuck/darwin-limits.patch
@@ -1,5 +1,5 @@
---- a/src/util_string.cpp 2014-10-27 22:52:11.875981552 +0100
-+++ b/src/util_string.cpp 2014-10-27 22:54:18.613001994 +0100
+--- a/src/core/util_string.cpp 2014-10-27 22:52:11.875981552 +0100
++++ b/src/core/util_string.cpp 2014-10-27 22:54:18.613001994 +0100
@@ -40,6 +40,10 @@
#include
#endif // __PLATFORM_LINUX__
diff --git a/pkgs/applications/audio/chuck/default.nix b/pkgs/applications/audio/chuck/default.nix
index c10556260c7..692485d0dcf 100644
--- a/pkgs/applications/audio/chuck/default.nix
+++ b/pkgs/applications/audio/chuck/default.nix
@@ -1,15 +1,14 @@
{ stdenv, lib, fetchurl, alsaLib, bison, flex, libsndfile, which
, AppKit, Carbon, CoreAudio, CoreMIDI, CoreServices, Kernel
-, xcbuild
}:
stdenv.mkDerivation rec {
- version = "1.3.5.2";
- name = "chuck-${version}";
+ version = "1.4.0.0";
+ pname = "chuck";
src = fetchurl {
url = "http://chuck.cs.princeton.edu/release/files/chuck-${version}.tgz";
- sha256 = "02z7sglax3j09grj5s1skmw8z6wz7b21hjrm95nrrdpwbxabh079";
+ sha256 = "1b17rsf7bv45gfhyhfmpz9d4rkxn24c0m2hgmpfjz3nlp0rf7bic";
};
nativeBuildInputs = [ flex bison which ];
@@ -18,16 +17,15 @@ stdenv.mkDerivation rec {
++ lib.optional (!stdenv.isDarwin) alsaLib
++ lib.optional stdenv.isDarwin [ AppKit Carbon CoreAudio CoreMIDI CoreServices Kernel ];
- patches = [ ./clang.patch ./darwin-limits.patch ];
+ patches = [ ./darwin-limits.patch ];
NIX_CFLAGS_COMPILE = lib.optional stdenv.isDarwin "-Wno-missing-sysroot";
NIX_LDFLAGS = lib.optional stdenv.isDarwin "-framework MultitouchSupport";
postPatch = ''
- substituteInPlace src/makefile --replace "/usr/bin" "$out/bin"
- substituteInPlace src/makefile.osx \
+ substituteInPlace src/core/makefile.x/makefile.osx \
--replace "weak_framework" "framework" \
- --replace "MACOSX_DEPLOYMENT_TARGET=10.5" "MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET"
+ --replace "MACOSX_DEPLOYMENT_TARGET=10.9" "MACOSX_DEPLOYMENT_TARGET=$MACOSX_DEPLOYMENT_TARGET"
'';
makeFlags = [ "-C src" "DESTDIR=$(out)/bin" ];
@@ -37,7 +35,7 @@ stdenv.mkDerivation rec {
description = "Programming language for real-time sound synthesis and music creation";
homepage = http://chuck.cs.princeton.edu;
license = licenses.gpl2;
- platforms = with platforms; linux ++ darwin;
+ platforms = platforms.unix;
maintainers = with maintainers; [ ftrvxmtrx ];
};
}
diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix
index 1b0dfebe22c..f48a429b389 100644
--- a/pkgs/applications/audio/clementine/default.nix
+++ b/pkgs/applications/audio/clementine/default.nix
@@ -67,7 +67,8 @@ let
'';
free = stdenv.mkDerivation {
- name = "clementine-free-${version}";
+ pname = "clementine-free";
+ inherit version;
inherit src patches nativeBuildInputs postPatch;
# gst_plugins needed for setup-hooks
@@ -95,7 +96,8 @@ let
# Unfree Spotify blob for Clementine
unfree = stdenv.mkDerivation {
- name = "clementine-blob-${version}";
+ pname = "clementine-blob";
+ inherit version;
# Use the same patches and sources as Clementine
inherit src nativeBuildInputs postPatch;
diff --git a/pkgs/applications/audio/cmus/default.nix b/pkgs/applications/audio/cmus/default.nix
index b574993338d..b88951c0fc5 100644
--- a/pkgs/applications/audio/cmus/default.nix
+++ b/pkgs/applications/audio/cmus/default.nix
@@ -101,7 +101,7 @@ let
in
stdenv.mkDerivation rec {
- name = "cmus-${version}";
+ pname = "cmus";
version = "2.8.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/cmusfm/default.nix b/pkgs/applications/audio/cmusfm/default.nix
index e528e9699a7..54f1050da46 100644
--- a/pkgs/applications/audio/cmusfm/default.nix
+++ b/pkgs/applications/audio/cmusfm/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, curl, libnotify, gdk_pixbuf }:
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, curl, libnotify, gdk-pixbuf }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "2018-10-11";
- name = "cmusfm-unstable-${version}";
+ pname = "cmusfm-unstable";
src = fetchFromGitHub {
owner = "Arkq";
repo = "cmusfm";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
# building
configureFlags = [ "--enable-libnotify" ];
nativeBuildInputs = [ autoreconfHook pkgconfig ];
- buildInputs = [ curl libnotify gdk_pixbuf ];
+ buildInputs = [ curl libnotify gdk-pixbuf ];
meta = with stdenv.lib; {
description = "Last.fm and Libre.fm standalone scrobbler for the cmus music player";
diff --git a/pkgs/applications/audio/cozy-audiobooks/default.nix b/pkgs/applications/audio/cozy-audiobooks/default.nix
index 53ab4fd6f2f..865bc130db9 100644
--- a/pkgs/applications/audio/cozy-audiobooks/default.nix
+++ b/pkgs/applications/audio/cozy-audiobooks/default.nix
@@ -1,6 +1,5 @@
{ stdenv, fetchFromGitHub
, ninja
-, boost
, meson
, pkgconfig
, wrapGAppsHook
@@ -12,7 +11,6 @@
, python3Packages
, file
, cairo
-, sqlite
, gettext
, gnome3
}:
@@ -24,6 +22,11 @@ python3Packages.buildPythonApplication rec {
pname = "cozy";
version = "0.6.7";
+ # Temporary fix
+ # See https://github.com/NixOS/nixpkgs/issues/57029
+ # and https://github.com/NixOS/nixpkgs/issues/56943
+ strictDeps = false;
+
src = fetchFromGitHub {
owner = "geigi";
repo = pname;
@@ -71,7 +74,7 @@ python3Packages.buildPythonApplication rec {
'';
meta = with stdenv.lib; {
- description = "A modern audio book player for Linux using GTK+ 3";
+ description = "A modern audio book player for Linux using GTK 3";
homepage = https://cozy.geigi.de/;
maintainers = [ maintainers.makefu ];
license = licenses.gpl3;
diff --git a/pkgs/applications/audio/csa/default.nix b/pkgs/applications/audio/csa/default.nix
index c3b3b944135..0b8afada020 100644
--- a/pkgs/applications/audio/csa/default.nix
+++ b/pkgs/applications/audio/csa/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "csa-${version}";
+ pname = "csa";
version = "0.5.100810";
src = fetchurl {
- url = "mirror://sourceforge/csa/${name}.tar.gz";
+ url = "mirror://sourceforge/csa/${pname}-${version}.tar.gz";
sha256 = "1syg81dzdil0dyx1mlx1n7if3qsf2iz243p2zv34a1acfqm509r3";
};
diff --git a/pkgs/applications/audio/csound/csound-manual/default.nix b/pkgs/applications/audio/csound/csound-manual/default.nix
index df0fcb0ee9c..5cc8d71383b 100644
--- a/pkgs/applications/audio/csound/csound-manual/default.nix
+++ b/pkgs/applications/audio/csound/csound-manual/default.nix
@@ -4,7 +4,7 @@
libxslt
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "csound-manual";
version = "unstable-2019-02-22";
diff --git a/pkgs/applications/audio/csound/csound-qt/default.nix b/pkgs/applications/audio/csound/csound-qt/default.nix
index e97341acbb4..d16d9331821 100644
--- a/pkgs/applications/audio/csound/csound-qt/default.nix
+++ b/pkgs/applications/audio/csound/csound-qt/default.nix
@@ -3,13 +3,13 @@
qtwebengine, qtxmlpatterns, rtmidi, fetchpatch }:
stdenv.mkDerivation rec {
- name = "csound-qt-${version}";
+ pname = "csound-qt";
version = "0.9.6-beta3";
src = fetchFromGitHub {
owner = "CsoundQt";
repo = "CsoundQt";
- rev = "${version}";
+ rev = version;
sha256 = "007jhkh0k6qk52r77i067999dwdiimazix6ggp2hvyc4pj6n5dip";
};
diff --git a/pkgs/applications/audio/csound/default.nix b/pkgs/applications/audio/csound/default.nix
index b11f525e9d2..758448c2fb3 100644
--- a/pkgs/applications/audio/csound/default.nix
+++ b/pkgs/applications/audio/csound/default.nix
@@ -13,11 +13,11 @@
}:
stdenv.mkDerivation rec {
- name = "csound-${version}";
+ pname = "csound";
# When updating, please check if https://github.com/csound/csound/issues/1078
# has been fixed in the new version so we can use the normal fluidsynth
# version and remove fluidsynth 1.x from nixpkgs again.
- version = "6.12.2";
+ version = "6.13.0";
enableParallelBuilding = true;
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
owner = "csound";
repo = "csound";
rev = version;
- sha256 = "01krxcf0alw9k7p5sv0s707600an4sl7lhw3bymbwgqrj0v2p9z2";
+ sha256 = "14822ybqyp31z18gky2y9zadr9dkbhabg97y139py73w7v3af1bh";
};
cmakeFlags = [ "-DBUILD_CSOUND_AC=0" ] # fails to find Score.hpp
diff --git a/pkgs/applications/audio/deadbeef/plugins/headerbar-gtk3.nix b/pkgs/applications/audio/deadbeef/plugins/headerbar-gtk3.nix
index dab3a97f6e7..b26360f0c46 100644
--- a/pkgs/applications/audio/deadbeef/plugins/headerbar-gtk3.nix
+++ b/pkgs/applications/audio/deadbeef/plugins/headerbar-gtk3.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, pkgconfig, libxml2, deadbeef, glib, gtk3 }:
stdenv.mkDerivation rec {
- name = "deadbeef-headerbar-gtk3-plugin-${version}";
+ pname = "deadbeef-headerbar-gtk3-plugin";
version = "1.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/deadbeef/plugins/infobar.nix b/pkgs/applications/audio/deadbeef/plugins/infobar.nix
index 92f566e3657..8a81101983f 100644
--- a/pkgs/applications/audio/deadbeef/plugins/infobar.nix
+++ b/pkgs/applications/audio/deadbeef/plugins/infobar.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, deadbeef, gtk3, libxml2 }:
stdenv.mkDerivation rec {
- name = "deadbeef-infobar-plugin-${version}";
+ pname = "deadbeef-infobar-plugin";
version = "1.4";
src = fetchurl {
@@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "DeadBeeF Infobar Plugin";
+ broken = true; # crashes DeaDBeeF and is abandoned (https://bitbucket.org/dsimbiriatin/deadbeef-infobar/issues/38/infobar-causes-deadbeef-180-to-crash)
+ description = "DeaDBeeF Infobar Plugin";
homepage = https://bitbucket.org/dsimbiriatin/deadbeef-infobar;
license = licenses.gpl2Plus;
maintainers = [ maintainers.jtojnar ];
diff --git a/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix b/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix
new file mode 100644
index 00000000000..699f9d86f68
--- /dev/null
+++ b/pkgs/applications/audio/deadbeef/plugins/lyricbar.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, pkgconfig, deadbeef, gtkmm3, libxmlxx3 }:
+
+stdenv.mkDerivation {
+ pname = "deadbeef-lyricbar-plugin";
+ version = "unstable-2019-01-29";
+
+ src = fetchFromGitHub {
+ owner = "C0rn3j";
+ repo = "deadbeef-lyricbar";
+ rev = "8f99b92ef827c451c43fc7dff38ae4f15c355e8e";
+ sha256 = "108hx5530f4xm8p9m2bk79nq7jkhcj39ad3vmxb2y6h6l2zv5kwl";
+ };
+
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ deadbeef gtkmm3 libxmlxx3 ];
+
+ buildFlags = [ "gtk3" ];
+
+ meta = with stdenv.lib; {
+ description = "Plugin for DeaDBeeF audio player that fetches and shows the song’s lyrics";
+ homepage = "https://github.com/C0rn3j/deadbeef-lyricbar";
+ license = licenses.mit;
+ maintainers = [ maintainers.jtojnar ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/audio/deadbeef/plugins/mpris2.nix b/pkgs/applications/audio/deadbeef/plugins/mpris2.nix
index 4d5367087c1..5b27f3c3f32 100644
--- a/pkgs/applications/audio/deadbeef/plugins/mpris2.nix
+++ b/pkgs/applications/audio/deadbeef/plugins/mpris2.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, deadbeef, glib }:
stdenv.mkDerivation rec {
- name = "deadbeef-mpris2-plugin-${version}";
+ pname = "deadbeef-mpris2-plugin";
version = "1.12";
src = fetchurl {
- url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${name}.tar.xz";
+ url = "https://github.com/Serranya/deadbeef-mpris2-plugin/releases/download/v${version}/${pname}-${version}.tar.xz";
sha256 = "0s3y4ka4qf38cypc0xspy79q0g5y1kqx6ldad7yr6a45nw6j95jh";
};
diff --git a/pkgs/applications/audio/denemo/default.nix b/pkgs/applications/audio/denemo/default.nix
index 6c1536c0a61..331e3fb9698 100644
--- a/pkgs/applications/audio/denemo/default.nix
+++ b/pkgs/applications/audio/denemo/default.nix
@@ -5,12 +5,12 @@
, portaudio, portmidi, fftw, makeWrapper }:
stdenv.mkDerivation rec {
- name = "denemo-${version}";
- version = "2.2.0";
+ pname = "denemo";
+ version = "2.3.0";
src = fetchurl {
url = "https://ftp.gnu.org/gnu/denemo/denemo-${version}.tar.gz";
- sha256 = "18zcs4xmfj4vpzi15dj7k5bjzzzlr3sjf9xhrrgy4samrrdpqzfh";
+ sha256 = "1blkcl3slbsq9jlhwcf2m9v9g38a0sjfhh9advgi2qr1gxri08by";
};
buildInputs = [
diff --git a/pkgs/applications/audio/dfasma/default.nix b/pkgs/applications/audio/dfasma/default.nix
index d16534b03d3..1785ca60060 100644
--- a/pkgs/applications/audio/dfasma/default.nix
+++ b/pkgs/applications/audio/dfasma/default.nix
@@ -27,7 +27,7 @@ let
};
in stdenv.mkDerivation rec {
- name = "dfasma-${version}";
+ pname = "dfasma";
version = "1.4.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/dirt/default.nix b/pkgs/applications/audio/dirt/default.nix
index 6d56f53bd16..1fcdda40896 100644
--- a/pkgs/applications/audio/dirt/default.nix
+++ b/pkgs/applications/audio/dirt/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, libsndfile, libsamplerate, liblo, libjack2 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "dirt-2018-01-01";
src = fetchFromGitHub {
repo = "Dirt";
diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix
index 1c41451b08f..054fc758d64 100644
--- a/pkgs/applications/audio/distrho/default.nix
+++ b/pkgs/applications/audio/distrho/default.nix
@@ -8,7 +8,7 @@ let
else if stdenv.hostPlatform.isWindows then "mingw"
else "linux";
in stdenv.mkDerivation rec {
- name = "distrho-ports-${version}";
+ pname = "distrho-ports";
version = "2018-04-16";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/dragonfly-reverb/default.nix b/pkgs/applications/audio/dragonfly-reverb/default.nix
index 494f512752b..da915f3fc3e 100644
--- a/pkgs/applications/audio/dragonfly-reverb/default.nix
+++ b/pkgs/applications/audio/dragonfly-reverb/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "dragonfly-reverb";
- version = "1.1.4";
+ version = "2.0.0";
src = fetchFromGitHub {
owner = "michaelwillis";
repo = "dragonfly-reverb";
rev = version;
- sha256 = "060g4ddh1z222n39wqj8jxj0zgmpjrgraw76qgyg6xkn15cn9q9y";
+ sha256 = "1qrbv4kk5v6ynx424h1i54qj0w8v6vpw81b759jawxvzzprpgq72";
fetchSubmodules = true;
};
@@ -26,9 +26,11 @@ stdenv.mkDerivation rec {
mkdir -p $out/lib/lv2/
mkdir -p $out/lib/vst/
cd bin
- cp -a DragonflyReverb $out/bin/
- cp -a DragonflyReverb-vst.so $out/lib/vst/
- cp -a DragonflyReverb.lv2/ $out/lib/lv2/
+ for bin in DragonflyHallReverb DragonflyRoomReverb; do
+ cp -a $bin $out/bin/
+ cp -a $bin-vst.so $out/lib/vst/
+ cp -a $bin.lv2/ $out/lib/lv2/ ;
+ done
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/drumgizmo/default.nix b/pkgs/applications/audio/drumgizmo/default.nix
index 53949da43e0..11b214f6bb3 100644
--- a/pkgs/applications/audio/drumgizmo/default.nix
+++ b/pkgs/applications/audio/drumgizmo/default.nix
@@ -3,12 +3,12 @@
}:
stdenv.mkDerivation rec {
- version = "0.9.16";
- name = "drumgizmo-${version}";
+ version = "0.9.17";
+ pname = "drumgizmo";
src = fetchurl {
- url = "https://www.drumgizmo.org/releases/${name}/${name}.tar.gz";
- sha256 = "0ivr61n9gpigsfgn20rh3n09li8sxh1q095r6wiw0shqhn3vaxlg";
+ url = "https://www.drumgizmo.org/releases/${pname}-${version}/${pname}-${version}.tar.gz";
+ sha256 = "177c27kz9srds7a659zz9yhp58z0zsk0ydwww7l3jkjlylm1p8x1";
};
configureFlags = [ "--enable-lv2" ];
diff --git a/pkgs/applications/audio/drumkv1/default.nix b/pkgs/applications/audio/drumkv1/default.nix
index f6430c7ee65..8f1f79169d7 100644
--- a/pkgs/applications/audio/drumkv1/default.nix
+++ b/pkgs/applications/audio/drumkv1/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, libjack2, alsaLib, libsndfile, liblo, lv2, qt5 }:
stdenv.mkDerivation rec {
- name = "drumkv1-${version}";
- version = "0.9.7";
+ pname = "drumkv1";
+ version = "0.9.9";
src = fetchurl {
- url = "mirror://sourceforge/drumkv1/${name}.tar.gz";
- sha256 = "1361dqdasrc98q9hcjdwsjx6agfimwnay430887fryi3pslkyd81";
+ url = "mirror://sourceforge/drumkv1/${pname}-${version}.tar.gz";
+ sha256 = "02sa29fdjgwcf7izly685gxvga3bxyyqvskvfiisgm2xg3h9r983";
};
buildInputs = [ libjack2 alsaLib libsndfile liblo lv2 qt5.qtbase qt5.qttools ];
diff --git a/pkgs/applications/audio/ecasound/default.nix b/pkgs/applications/audio/ecasound/default.nix
index a9d84eb6e6c..6c9cd628a51 100644
--- a/pkgs/applications/audio/ecasound/default.nix
+++ b/pkgs/applications/audio/ecasound/default.nix
@@ -14,12 +14,12 @@
# TODO: fix readline, ncurses, lilv, liblo, liboil and python. See configure log.
stdenv.mkDerivation rec {
- name = "ecasound-${version}";
- version = "2.9.1";
+ pname = "ecasound";
+ version = "2.9.2";
src = fetchurl {
url = "https://ecasound.seul.org/download/ecasound-${version}.tar.gz";
- sha256 = "1wyws3xc4f9pglrrqv6k9137sarv4asizqrxz8h0dn44rnzfiz1r";
+ sha256 = "15rcs28fq2wfvfs66p5na7adq88b55qszbhshpizgdbyqzgr2jf1";
};
buildInputs = [ alsaLib audiofile libjack2 liblo liboil libsamplerate libsndfile lilv lv2 ];
diff --git a/pkgs/applications/audio/eflite/default.nix b/pkgs/applications/audio/eflite/default.nix
index 4138a07ec06..2338c0ed376 100644
--- a/pkgs/applications/audio/eflite/default.nix
+++ b/pkgs/applications/audio/eflite/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, fetchpatch, flite, alsaLib, debug ? false }:
stdenv.mkDerivation rec {
- name = "eflite-${version}";
+ pname = "eflite";
version = "0.4.1";
src = fetchurl {
- url = "https://sourceforge.net/projects/eflite/files/eflite/${version}/${name}.tar.gz";
+ url = "https://sourceforge.net/projects/eflite/files/eflite/${version}/${pname}-${version}.tar.gz";
sha256 = "088p9w816s02s64grfs28gai3lnibzdjb9d1jwxzr8smbs2qbbci";
};
diff --git a/pkgs/applications/audio/ekho/default.nix b/pkgs/applications/audio/ekho/default.nix
index 209ffa05bf2..0e2c950051a 100644
--- a/pkgs/applications/audio/ekho/default.nix
+++ b/pkgs/applications/audio/ekho/default.nix
@@ -5,7 +5,8 @@
let
version = "5.8.2";
in stdenv.mkDerivation rec {
- name = "ekho-${version}";
+ pname = "ekho";
+ inherit version;
meta = with stdenv.lib; {
description = "Chinese text-to-speech software";
@@ -23,7 +24,7 @@ in stdenv.mkDerivation rec {
};
src = fetchurl {
- url = "mirror://sourceforge/e-guidedog/Ekho/${version}/${name}.tar.xz";
+ url = "mirror://sourceforge/e-guidedog/Ekho/${version}/${pname}-${version}.tar.xz";
sha256 = "0ym6lpcpsvwvsiwlzkl1509a2hljwcw7synngrmqjq1n49ww00nj";
};
diff --git a/pkgs/applications/audio/elisa/default.nix b/pkgs/applications/audio/elisa/default.nix
index 00e10a2ff1e..37c95430627 100644
--- a/pkgs/applications/audio/elisa/default.nix
+++ b/pkgs/applications/audio/elisa/default.nix
@@ -1,26 +1,28 @@
{ mkDerivation, fetchFromGitHub, lib
, extra-cmake-modules, kdoctools, wrapGAppsHook
, qtmultimedia, qtquickcontrols2, qtwebsockets
-, kconfig, kcmutils, kcrash, kdeclarative, kfilemetadata, kinit
-, baloo
+, kconfig, kcmutils, kcrash, kdeclarative, kfilemetadata, kinit, kirigami2
+, baloo, vlc
}:
mkDerivation rec {
- name = "elisa-${version}";
- version = "0.3.0";
+ pname = "elisa";
+ version = "0.4.2";
src = fetchFromGitHub {
owner = "KDE";
repo = "elisa";
rev = "v${version}";
- sha256 = "0bpkr5rp9nfa2wzm6w3xkhsfgf5dbgxbmhckjh9wkxal3mncpkg4";
+ sha256 = "0q098zaajwbpkrarrsdzpjhpsq2nxkqaxwzhr2gjlg08j9vqkpfm";
};
+ buildInputs = [ vlc ];
+
nativeBuildInputs = [ extra-cmake-modules kdoctools wrapGAppsHook ];
propagatedBuildInputs = [
qtmultimedia qtquickcontrols2 qtwebsockets
- kconfig kcmutils kcrash kdeclarative kfilemetadata kinit
+ kconfig kcmutils kcrash kdeclarative kfilemetadata kinit kirigami2
baloo
];
diff --git a/pkgs/applications/audio/eq10q/default.nix b/pkgs/applications/audio/eq10q/default.nix
index 651604c71a1..0308fad831d 100644
--- a/pkgs/applications/audio/eq10q/default.nix
+++ b/pkgs/applications/audio/eq10q/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, fetchpatch, cmake, fftw, gtkmm2, libxcb, lv2, pkgconfig
, xorg }:
stdenv.mkDerivation rec {
- name = "eq10q-${version}";
+ pname = "eq10q";
version = "2.2";
src = fetchurl {
- url = "mirror://sourceforge/project/eq10q/${name}.tar.gz";
+ url = "mirror://sourceforge/project/eq10q/${pname}-${version}.tar.gz";
sha256 = "16mhcav8gwkp29k9ki4dlkajlcgh1i2wvldabxb046d37dq4qzrk";
};
diff --git a/pkgs/applications/audio/espeak-ng/default.nix b/pkgs/applications/audio/espeak-ng/default.nix
index 5d0af8cf17a..043d5b9d2d3 100644
--- a/pkgs/applications/audio/espeak-ng/default.nix
+++ b/pkgs/applications/audio/espeak-ng/default.nix
@@ -4,7 +4,7 @@
, sonicSupport ? true, sonic }:
stdenv.mkDerivation rec {
- name = "espeak-ng-${version}";
+ pname = "espeak-ng";
version = "1.49.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/eteroj.lv2/default.nix b/pkgs/applications/audio/eteroj.lv2/default.nix
index 28e4879efdc..bbfe1ad5623 100644
--- a/pkgs/applications/audio/eteroj.lv2/default.nix
+++ b/pkgs/applications/audio/eteroj.lv2/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "eteroj.lv2";
version = "0.4.0";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "OpenMusicKontrollers";
diff --git a/pkgs/applications/audio/faust/faust1.nix b/pkgs/applications/audio/faust/faust1.nix
index 6e47d921d34..687608b4352 100644
--- a/pkgs/applications/audio/faust/faust1.nix
+++ b/pkgs/applications/audio/faust/faust1.nix
@@ -25,7 +25,8 @@ let
};
faust = stdenv.mkDerivation {
- name = "faust-${version}";
+ pname = "faust";
+ inherit version;
inherit src;
diff --git a/pkgs/applications/audio/faust/faust2.nix b/pkgs/applications/audio/faust/faust2.nix
index 383d2deb10b..21cd3fbdb25 100644
--- a/pkgs/applications/audio/faust/faust2.nix
+++ b/pkgs/applications/audio/faust/faust2.nix
@@ -20,7 +20,7 @@ let
src = fetchFromGitHub {
owner = "grame-cncm";
repo = "faust";
- rev = "${version}";
+ rev = version;
sha256 = "1pci8ac6sqrm3mb3yikmmr3iy35g3nj4iihazif1amqkbdz719rc";
fetchSubmodules = true;
};
@@ -35,7 +35,8 @@ let
faust = stdenv.mkDerivation {
- name = "faust-${version}";
+ pname = "faust";
+ inherit version;
inherit src;
diff --git a/pkgs/applications/audio/faust/faust2alsa.nix b/pkgs/applications/audio/faust/faust2alsa.nix
index 17cec46f6c6..6af5af9bbaf 100644
--- a/pkgs/applications/audio/faust/faust2alsa.nix
+++ b/pkgs/applications/audio/faust/faust2alsa.nix
@@ -4,7 +4,7 @@
, cairo
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, gtk2
, pango
@@ -20,7 +20,7 @@ faust.wrapWithBuildEnv {
cairo
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk2
pango
diff --git a/pkgs/applications/audio/faust/faustlive.nix b/pkgs/applications/audio/faust/faustlive.nix
index 754c4807060..3b6ca9e4053 100644
--- a/pkgs/applications/audio/faust/faustlive.nix
+++ b/pkgs/applications/audio/faust/faustlive.nix
@@ -3,8 +3,8 @@
, bc, coreutils, which
}:
-stdenv.mkDerivation rec {
- name = "faustlive-${version}";
+stdenv.mkDerivation {
+ pname = "faustlive";
version = "2017-12-05";
src = fetchFromGitHub {
owner = "grame-cncm";
diff --git a/pkgs/applications/audio/flac/default.nix b/pkgs/applications/audio/flac/default.nix
index fb5390cb46e..df3aa987c3f 100644
--- a/pkgs/applications/audio/flac/default.nix
+++ b/pkgs/applications/audio/flac/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libogg }:
stdenv.mkDerivation rec {
- name = "flac-1.3.2";
+ name = "flac-1.3.3";
src = fetchurl {
url = "http://downloads.xiph.org/releases/flac/${name}.tar.xz";
- sha256 = "0gymm2j3276kr9nz6vmgfwsdfrq6c449n40a0mzz8h6wc7nw7kwi";
+ sha256 = "0j0p9sf56a2fm2hkjnf7x3py5ir49jyavg4q5zdyd7bcf6yq4gi1";
};
buildInputs = [ libogg ];
diff --git a/pkgs/applications/audio/flac123/default.nix b/pkgs/applications/audio/flac123/default.nix
index f0863bfc50b..19ed2352355 100644
--- a/pkgs/applications/audio/flac123/default.nix
+++ b/pkgs/applications/audio/flac123/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, flac, libao, libogg, popt }:
stdenv.mkDerivation rec {
- name = "flac123-${version}";
+ pname = "flac123";
version = "0.0.12";
src = fetchurl {
- url = "mirror://sourceforge/flac-tools/${name}-release.tar.gz";
+ url = "mirror://sourceforge/flac-tools/${pname}-${version}-release.tar.gz";
sha256 = "0zg4ahkg7v81za518x32wldf42g0rrvlrcqhrg9sv3li9bayyxhr";
};
diff --git a/pkgs/applications/audio/flacon/default.nix b/pkgs/applications/audio/flacon/default.nix
index 2d2d88308cc..02317fee15f 100644
--- a/pkgs/applications/audio/flacon/default.nix
+++ b/pkgs/applications/audio/flacon/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "flacon-${version}";
+ pname = "flacon";
version = "5.4.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix
index 404c9cc825e..bb86787a3cf 100644
--- a/pkgs/applications/audio/fluidsynth/default.nix
+++ b/pkgs/applications/audio/fluidsynth/default.nix
@@ -19,7 +19,7 @@ in
with versionMap.${version};
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "fluidsynth-${fluidsynthVersion}";
version = fluidsynthVersion;
diff --git a/pkgs/applications/audio/fmit/default.nix b/pkgs/applications/audio/fmit/default.nix
index a61f7dc0a90..680694aa403 100644
--- a/pkgs/applications/audio/fmit/default.nix
+++ b/pkgs/applications/audio/fmit/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fftw, qtbase, qtmultimedia, qmake
+{ stdenv, mkDerivation, fetchFromGitHub, fftw, qtbase, qtmultimedia, qmake, itstool, wrapQtAppsHook
, alsaSupport ? true, alsaLib ? null
, jackSupport ? false, libjack2 ? null
, portaudioSupport ? false, portaudio ? null }:
@@ -9,18 +9,18 @@ assert portaudioSupport -> portaudio != null;
with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "fmit-${version}";
- version = "1.1.14";
+mkDerivation rec {
+ pname = "fmit";
+ version = "1.2.6";
src = fetchFromGitHub {
- sha256 = "18gvl8smcnigzldy1acs5h8rscf287b39xi4y2cl5armqbj0y38x";
- rev = "v${version}";
- repo = "fmit";
owner = "gillesdegottex";
+ repo = "fmit";
+ rev = "v${version}";
+ sha256 = "03nzkig5mw2rqwhwmg0qvc5cnk9bwh2wp13jh0mdrr935w0587mz";
};
- nativeBuildInputs = [ qmake ];
+ nativeBuildInputs = [ qmake itstool wrapQtAppsHook ];
buildInputs = [ fftw qtbase qtmultimedia ]
++ optionals alsaSupport [ alsaLib ]
++ optionals jackSupport [ libjack2 ]
diff --git a/pkgs/applications/audio/fmsynth/default.nix b/pkgs/applications/audio/fmsynth/default.nix
index 58d095080fe..5e95d717968 100644
--- a/pkgs/applications/audio/fmsynth/default.nix
+++ b/pkgs/applications/audio/fmsynth/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, gtkmm2, lv2, lvtk, pkgconfig }:
-stdenv.mkDerivation rec {
- name = "fmsynth-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "fmsynth-unstable";
version = "2015-02-07";
src = fetchFromGitHub {
owner = "Themaister";
diff --git a/pkgs/applications/audio/fomp/default.nix b/pkgs/applications/audio/fomp/default.nix
index 680fab4ca64..a92d331baad 100644
--- a/pkgs/applications/audio/fomp/default.nix
+++ b/pkgs/applications/audio/fomp/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, lv2, pkgconfig, python2, wafHook }:
stdenv.mkDerivation rec {
- name = "fomp-${version}";
+ pname = "fomp";
version = "1.0.0";
src = fetchurl {
- url = "https://download.drobilla.net/${name}.tar.bz2";
+ url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "1hh2xhknanqn3iwp12ihl6bf8p7bqxryms9qk7mh21lixl42b8k5";
};
diff --git a/pkgs/applications/audio/foo-yc20/default.nix b/pkgs/applications/audio/foo-yc20/default.nix
index 28b2cd98e02..b17561e1567 100644
--- a/pkgs/applications/audio/foo-yc20/default.nix
+++ b/pkgs/applications/audio/foo-yc20/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, libjack2, gtk2, lv2, faust, pkgconfig }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "git-2015-05-21";
- name = "foo-yc20-${version}";
+ pname = "foo-yc20";
src = fetchFromGitHub {
owner = "sampov2";
repo = "foo-yc20";
diff --git a/pkgs/applications/audio/freewheeling/default.nix b/pkgs/applications/audio/freewheeling/default.nix
index efb832ae625..a2588093309 100644
--- a/pkgs/applications/audio/freewheeling/default.nix
+++ b/pkgs/applications/audio/freewheeling/default.nix
@@ -7,7 +7,7 @@ let
in
stdenv.mkDerivation rec {
- name = "freewheeling-${version}";
+ pname = "freewheeling";
version = "0.6.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/game-music-emu/default.nix b/pkgs/applications/audio/game-music-emu/default.nix
index a0a79785283..d95b3eea596 100644
--- a/pkgs/applications/audio/game-music-emu/default.nix
+++ b/pkgs/applications/audio/game-music-emu/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.6.1";
- name = "game-music-emu-${version}";
+ pname = "game-music-emu";
src = fetchurl {
- url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${name}.tar.bz2";
+ url = "https://bitbucket.org/mpyne/game-music-emu/downloads/${pname}-${version}.tar.bz2";
sha256 = "08fk7zddpn7v93d0fa7fcypx7hvgwx9b5psj9l6m8b87k2hbw4fw";
};
diff --git a/pkgs/applications/audio/gigedit/default.nix b/pkgs/applications/audio/gigedit/default.nix
index e9ce20f6c80..d8fada45eb1 100644
--- a/pkgs/applications/audio/gigedit/default.nix
+++ b/pkgs/applications/audio/gigedit/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "gigedit-${version}";
+ pname = "gigedit";
version = "1.1.0";
src = fetchurl {
- url = "https://download.linuxsampler.org/packages/${name}.tar.bz2";
+ url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
sha256 = "087pc919q28r1vw31c7w4m14bqnp4md1i2wbmk8w0vmwv2cbx2ni";
};
diff --git a/pkgs/applications/audio/gmpc/default.nix b/pkgs/applications/audio/gmpc/default.nix
index 099e4428016..cae35b62519 100644
--- a/pkgs/applications/audio/gmpc/default.nix
+++ b/pkgs/applications/audio/gmpc/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "gmpc-${version}";
+ pname = "gmpc";
version = "11.8.16";
libmpd = stdenv.mkDerivation {
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
homepage = https://gmpclient.org;
description = "A GTK2 frontend for Music Player Daemon";
license = licenses.gpl2;
- maintainers = [ maintainers.rickynils ];
+ maintainers = [];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/gnome-podcasts/default.nix b/pkgs/applications/audio/gnome-podcasts/default.nix
index 670641fae75..eeafdc80344 100644
--- a/pkgs/applications/audio/gnome-podcasts/default.nix
+++ b/pkgs/applications/audio/gnome-podcasts/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, fetchpatch, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gnome3
+{ stdenv, fetchurl, fetchpatch, meson, ninja, gettext, cargo, rustc, python3, pkgconfig, gnome3
, glib, libhandy, gtk3, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook }:
# TODO: build from git for easier updates
# rustPlatform.buildRustPackage rec {
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "0.4.6";
- name = "gnome-podcasts-${version}";
+ pname = "gnome-podcasts";
src = fetchurl {
url = https://gitlab.gnome.org/World/podcasts/uploads/e59ac5d618d7daf4c7f33ba72957c466/gnome-podcasts-0.4.6.tar.xz;
diff --git a/pkgs/applications/audio/google-play-music-desktop-player/default.nix b/pkgs/applications/audio/google-play-music-desktop-player/default.nix
index 5951572dd24..b51b72f1c8a 100644
--- a/pkgs/applications/audio/google-play-music-desktop-player/default.nix
+++ b/pkgs/applications/audio/google-play-music-desktop-player/default.nix
@@ -1,5 +1,5 @@
{ stdenv, alsaLib, atk, cairo, cups, dbus, dpkg, expat, fontconfig, freetype
-, fetchurl, GConf, gdk_pixbuf, glib, gtk2, gtk3, libpulseaudio, makeWrapper, nspr
+, fetchurl, GConf, gdk-pixbuf, glib, gtk2, gtk3, libpulseaudio, makeWrapper, nspr
, nss, pango, udev, xorg
}:
@@ -16,7 +16,7 @@ let
fontconfig
freetype
GConf
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk2
gtk3
@@ -43,7 +43,8 @@ let
in
stdenv.mkDerivation {
- name = "google-play-music-desktop-player-${version}";
+ pname = "google-play-music-desktop-player";
+ inherit version;
src = fetchurl {
url = "https://github.com/MarshallOfSound/Google-Play-Music-Desktop-Player-UNOFFICIAL-/releases/download/v${version}/google-play-music-desktop-player_${version}_amd64.deb";
diff --git a/pkgs/applications/audio/gpodder/default.nix b/pkgs/applications/audio/gpodder/default.nix
index 79631156513..656018907a5 100644
--- a/pkgs/applications/audio/gpodder/default.nix
+++ b/pkgs/applications/audio/gpodder/default.nix
@@ -5,14 +5,14 @@
python3Packages.buildPythonApplication rec {
pname = "gpodder";
- version = "3.10.8";
+ version = "3.10.9";
format = "other";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
- sha256 = "0sx5z9qjl76fi0m8vmars0yasfaq6znq434d8zjwla22k5wflmwm";
+ sha256 = "1sdmr1sq1d4p492zp9kq3npl7p56yr0pr470z9r6xxcylax5mhfq";
};
patches = [
diff --git a/pkgs/applications/audio/gradio/default.nix b/pkgs/applications/audio/gradio/default.nix
index 3aea07235d8..c4a8f2fce02 100644
--- a/pkgs/applications/audio/gradio/default.nix
+++ b/pkgs/applications/audio/gradio/default.nix
@@ -18,8 +18,9 @@
let
version = "7.2";
-in stdenv.mkDerivation rec {
- name = "gradio-${version}";
+in stdenv.mkDerivation {
+ pname = "gradio";
+ inherit version;
src = fetchFromGitHub {
owner = "haecker-felix";
diff --git a/pkgs/applications/audio/greg/default.nix b/pkgs/applications/audio/greg/default.nix
index e7a23b6f204..e027680f5fe 100644
--- a/pkgs/applications/audio/greg/default.nix
+++ b/pkgs/applications/audio/greg/default.nix
@@ -3,7 +3,6 @@
with pythonPackages; buildPythonApplication rec {
pname = "greg";
version = "0.4.7";
- name = pname + "-" + version;
disabled = !isPy3k;
diff --git a/pkgs/applications/audio/gtkpod/default.nix b/pkgs/applications/audio/gtkpod/default.nix
index 0727ab56f7d..fd3632ee155 100644
--- a/pkgs/applications/audio/gtkpod/default.nix
+++ b/pkgs/applications/audio/gtkpod/default.nix
@@ -1,20 +1,20 @@
{ stdenv, fetchurl, pkgconfig, wrapGAppsHook, intltool, libgpod, curl, flac,
gnome3, gtk3, gettext, perlPackages, flex, libid3tag, gdl,
- libvorbis, gdk_pixbuf }:
+ libvorbis, gdk-pixbuf }:
stdenv.mkDerivation rec {
version = "2.1.5";
- name = "gtkpod-${version}";
+ pname = "gtkpod";
src = fetchurl {
- url = "mirror://sourceforge/gtkpod/${name}.tar.gz";
+ url = "mirror://sourceforge/gtkpod/${pname}-${version}.tar.gz";
sha256 = "0xisrpx069f7bjkyc8vqxb4k0480jmx1wscqxr6cpq1qj6pchzd5";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool ];
buildInputs = [
curl gettext
- flex libgpod libid3tag flac libvorbis gtk3 gdk_pixbuf
+ flex libgpod libid3tag flac libvorbis gtk3 gdk-pixbuf
gdl gnome3.adwaita-icon-theme gnome3.anjuta
] ++ (with perlPackages; [ perl XMLParser ]);
diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix
index 9df4308131e..91f4b1dcdfe 100644
--- a/pkgs/applications/audio/guitarix/default.nix
+++ b/pkgs/applications/audio/guitarix/default.nix
@@ -11,7 +11,7 @@ let
in
stdenv.mkDerivation rec {
- name = "guitarix-${version}";
+ pname = "guitarix";
version = "0.38.1";
src = fetchurl {
diff --git a/pkgs/applications/audio/gxplugins-lv2/default.nix b/pkgs/applications/audio/gxplugins-lv2/default.nix
index 62f11cbfb74..1f4323eb9d5 100644
--- a/pkgs/applications/audio/gxplugins-lv2/default.nix
+++ b/pkgs/applications/audio/gxplugins-lv2/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, xorg, xorgproto, cairo, lv2, pkgconfig }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "GxPlugins.lv2";
- version = "0.5";
+ version = "0.7";
src = fetchFromGitHub {
owner = "brummer10";
repo = pname;
rev = "v${version}";
- sha256 = "16r5bj7w726d9327flg530fn0bli4crkxjss7i56yhb1bsi39mbv";
+ sha256 = "0jqdqnkg7pg9plcbxy49p7gcs1aj6h0xf7y9gndmjmkw5yjn2940";
fetchSubmodules = true;
};
@@ -20,6 +19,12 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL_DIR=$(out)/lib/lv2" ];
+ configurePhase = ''
+ for i in GxBoobTube GxValveCaster; do
+ substituteInPlace $i.lv2/Makefile --replace "\$(shell which echo) -e" "echo -e"
+ done
+ '';
+
meta = with stdenv.lib; {
homepage = https://github.com/brummer10/GxPlugins.lv2;
description = "A set of extra lv2 plugins from the guitarix project";
diff --git a/pkgs/applications/audio/helio-workstation/default.nix b/pkgs/applications/audio/helio-workstation/default.nix
new file mode 100644
index 00000000000..bfd211316a7
--- /dev/null
+++ b/pkgs/applications/audio/helio-workstation/default.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchFromGitHub
+, alsaLib, freetype, xorg, curl, libGL, libjack2, gnome3
+, pkgconfig, makeWrapper
+}:
+
+stdenv.mkDerivation rec {
+ pname = "helio-workstation";
+ version = "2.2";
+
+ src = fetchFromGitHub {
+ owner = "helio-fm";
+ repo = pname;
+ rev = version;
+ fetchSubmodules = true;
+ sha256 = "16iwj4mjs1nm8dlk70q97svp3vkcgs7hdj9hfda9h67acn4a8vvk";
+ };
+
+ buildInputs = [
+ alsaLib freetype xorg.libX11 xorg.libXext xorg.libXinerama xorg.libXrandr
+ xorg.libXcursor xorg.libXcomposite curl libGL libjack2 gnome3.zenity
+ ];
+
+ nativeBuildInputs = [ pkgconfig makeWrapper ];
+
+ preBuild = "cd Projects/LinuxMakefile";
+ buildFlags = [ "CONFIG=Release64" ];
+
+ installPhase = ''
+ mkdir -p $out/bin
+ install -Dm755 build/Helio $out/bin
+ wrapProgram $out/bin/Helio --prefix PATH ":" ${gnome3.zenity}/bin
+
+ mkdir -p $out/share
+ cp -r ../Deployment/Linux/Debian/x64/usr/share/* $out/share
+ substituteInPlace $out/share/applications/Helio.desktop \
+ --replace "/usr/bin/helio" "$out/bin/Helio"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "One music sequencer for all major platforms, both desktop and mobile";
+ homepage = https://helio.fm/;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.suhr ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/audio/helm/default.nix b/pkgs/applications/audio/helm/default.nix
index fa76a1a26e8..64de722afe9 100644
--- a/pkgs/applications/audio/helm/default.nix
+++ b/pkgs/applications/audio/helm/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub , xorg, freetype, alsaLib, curl, libjack2
, lv2, pkgconfig, libGLU_combined }:
- stdenv.mkDerivation rec {
+ stdenv.mkDerivation {
version = "0.9.0";
- name = "helm-${version}";
+ pname = "helm";
src = fetchFromGitHub {
owner = "mtytel";
diff --git a/pkgs/applications/audio/hydrogen/default.nix b/pkgs/applications/audio/hydrogen/default.nix
index d68bfbf2ae4..50093f8a61d 100644
--- a/pkgs/applications/audio/hydrogen/default.nix
+++ b/pkgs/applications/audio/hydrogen/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "0.9.7";
- name = "hydrogen-${version}";
+ pname = "hydrogen";
src = fetchurl {
url = "https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz";
diff --git a/pkgs/applications/audio/i-score/default.nix b/pkgs/applications/audio/i-score/default.nix
index 69fc4b419c0..2cc39e64943 100644
--- a/pkgs/applications/audio/i-score/default.nix
+++ b/pkgs/applications/audio/i-score/default.nix
@@ -27,7 +27,7 @@
stdenv.mkDerivation rec {
version = "1.0.0-b31";
- name = "i-score-${version}";
+ pname = "i-score";
src = fetchFromGitHub {
owner = "OSSIA";
diff --git a/pkgs/applications/audio/iannix/default.nix b/pkgs/applications/audio/iannix/default.nix
index c26980e1bb2..a893390d74e 100644
--- a/pkgs/applications/audio/iannix/default.nix
+++ b/pkgs/applications/audio/iannix/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, alsaLib, pkgconfig, qtbase, qtscript, qmake
}:
-stdenv.mkDerivation rec {
- name = "iannix-${version}";
+stdenv.mkDerivation {
+ pname = "iannix";
version = "2016-01-31";
src = fetchFromGitHub {
owner = "iannix";
diff --git a/pkgs/applications/audio/id3v2/default.nix b/pkgs/applications/audio/id3v2/default.nix
index d2720fcace6..0fdb3b2a4a1 100644
--- a/pkgs/applications/audio/id3v2/default.nix
+++ b/pkgs/applications/audio/id3v2/default.nix
@@ -1,11 +1,11 @@
{stdenv, fetchurl, id3lib, groff, zlib}:
stdenv.mkDerivation rec {
- name = "id3v2-${version}";
+ pname = "id3v2";
version = "0.1.12";
src = fetchurl {
- url = "mirror://sourceforge/id3v2/${name}.tar.gz";
+ url = "mirror://sourceforge/id3v2/${pname}-${version}.tar.gz";
sha256 = "1gr22w8gar7zh5pyyvdy7cy26i47l57jp1l1nd60xfwx339zl1c1";
};
diff --git a/pkgs/applications/audio/infamousPlugins/default.nix b/pkgs/applications/audio/infamousPlugins/default.nix
index 2b8c041a074..341c4181842 100644
--- a/pkgs/applications/audio/infamousPlugins/default.nix
+++ b/pkgs/applications/audio/infamousPlugins/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, cairomm, cmake, lv2, libpthreadstubs, libXdmcp, libXft, ntk, pcre, fftwFloat, zita-resampler }:
stdenv.mkDerivation rec {
- name = "infamousPlugins-${version}";
+ pname = "infamousPlugins";
version = "0.3.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/ir.lv2/default.nix b/pkgs/applications/audio/ir.lv2/default.nix
index 84be6b866fa..9d3656a81f9 100644
--- a/pkgs/applications/audio/ir.lv2/default.nix
+++ b/pkgs/applications/audio/ir.lv2/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, fftw, gtk2, lv2, libsamplerate, libsndfile, pkgconfig, zita-convolver }:
stdenv.mkDerivation rec {
- name = "ir.lv2-${version}";
+ pname = "ir.lv2";
version = "1.2.4";
src = fetchFromGitHub {
owner = "tomszilagyi";
repo = "ir.lv2";
- rev = "${version}";
+ rev = version;
sha256 = "1p6makmgr898fakdxzl4agh48qqwgv1k1kwm8cgq187n0mhiknp6";
};
diff --git a/pkgs/applications/audio/jaaa/default.nix b/pkgs/applications/audio/jaaa/default.nix
index 33c74f2b044..92b2f8ac515 100644
--- a/pkgs/applications/audio/jaaa/default.nix
+++ b/pkgs/applications/audio/jaaa/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, alsaLib, libclthreads, libclxclient, libX11, libXft, libXrender, fftwFloat, libjack2, zita-alsa-pcmi }:
stdenv.mkDerivation rec {
- name = "jaaa-${version}";
+ pname = "jaaa";
version = "0.9.2";
src = fetchurl {
- url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1czksxx2g8na07k7g57qlz0vvkkgi5bzajcx7vc7jhb94hwmmxbc";
};
diff --git a/pkgs/applications/audio/jack-capture/default.nix b/pkgs/applications/audio/jack-capture/default.nix
index f11bba34c74..c62ccc4fc88 100644
--- a/pkgs/applications/audio/jack-capture/default.nix
+++ b/pkgs/applications/audio/jack-capture/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libjack2, libsndfile, pkgconfig }:
stdenv.mkDerivation rec {
- name = "jack_capture-${version}";
+ pname = "jack_capture";
version = "0.9.73";
src = fetchurl {
- url = "https://archive.notam02.no/arkiv/src/${name}.tar.gz";
+ url = "https://archive.notam02.no/arkiv/src/${pname}-${version}.tar.gz";
sha256 = "1pji0zdwm3kxjrkbzj7fnxhr8ncrc8pyqnwyrh47fhypgqjv1br1";
};
diff --git a/pkgs/applications/audio/jack-oscrolloscope/default.nix b/pkgs/applications/audio/jack-oscrolloscope/default.nix
index 75a8a6a4b1a..d31bc981e0c 100644
--- a/pkgs/applications/audio/jack-oscrolloscope/default.nix
+++ b/pkgs/applications/audio/jack-oscrolloscope/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, SDL, libjack2, libGLU_combined, pkgconfig }:
stdenv.mkDerivation rec {
- name = "jack_oscrolloscope-${version}";
+ pname = "jack_oscrolloscope";
version = "0.7";
src = fetchurl {
- url = "http://das.nasophon.de/download/${name}.tar.gz";
+ url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
sha256 = "1pl55in0sj7h5r06n1v91im7d18pplvhbjhjm1fdl39zwnyxiash";
};
diff --git a/pkgs/applications/audio/jackmix/default.nix b/pkgs/applications/audio/jackmix/default.nix
index 83644dd5ea5..fe7c83dd56f 100644
--- a/pkgs/applications/audio/jackmix/default.nix
+++ b/pkgs/applications/audio/jackmix/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, scons, qt4, lash, libjack2, jack ? libjack2 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "jackmix-0.5.2";
src = fetchurl {
url = https://github.com/kampfschlaefer/jackmix/archive/v0.5.2.tar.gz;
diff --git a/pkgs/applications/audio/jalv/default.nix b/pkgs/applications/audio/jalv/default.nix
index e2f0c7ea7af..a40d5101b34 100644
--- a/pkgs/applications/audio/jalv/default.nix
+++ b/pkgs/applications/audio/jalv/default.nix
@@ -2,12 +2,12 @@
, serd, sord , sratom, suil, wafHook }:
stdenv.mkDerivation rec {
- name = "jalv-${version}";
- version = "1.6.0";
+ pname = "jalv";
+ version = "1.6.2";
src = fetchurl {
- url = "https://download.drobilla.net/${name}.tar.bz2";
- sha256 = "1x2wpzzx2cgvz3dgdcgsj8dr0w3zsasy62mvl199bsdj5fbjaili";
+ url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
+ sha256 = "13al2hb9s3m7jgbg051x704bmzmcg4wb56cfh8z588kiyh0mxpaa";
};
nativeBuildInputs = [ pkgconfig wafHook ];
diff --git a/pkgs/applications/audio/japa/default.nix b/pkgs/applications/audio/japa/default.nix
index 18b7bcd1d56..a9eb15aabf3 100644
--- a/pkgs/applications/audio/japa/default.nix
+++ b/pkgs/applications/audio/japa/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.9.2";
- name = "japa-${version}";
+ pname = "japa";
src = fetchurl {
- url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1zmi4wg23hwsypg3h6y3qb72cbrihqcs19qrbzgs5a67d13q4897";
};
diff --git a/pkgs/applications/audio/keyfinder-cli/default.nix b/pkgs/applications/audio/keyfinder-cli/default.nix
index 344e6894baf..4bb1d63a1e7 100644
--- a/pkgs/applications/audio/keyfinder-cli/default.nix
+++ b/pkgs/applications/audio/keyfinder-cli/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libav, libkeyfinder }:
stdenv.mkDerivation rec {
- name = "keyfinder-cli-${version}";
+ pname = "keyfinder-cli";
version = "2015-09-13";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/keyfinder/default.nix b/pkgs/applications/audio/keyfinder/default.nix
index 55039e8508b..d47fc3b6190 100644
--- a/pkgs/applications/audio/keyfinder/default.nix
+++ b/pkgs/applications/audio/keyfinder/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libav_0_8, libkeyfinder, qtbase, qtxmlpatterns, qmake, taglib }:
stdenv.mkDerivation rec {
- name = "keyfinder-${version}";
+ pname = "keyfinder";
version = "2.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/kid3/default.nix b/pkgs/applications/audio/kid3/default.nix
index b4406dab70e..dfb07c4f456 100644
--- a/pkgs/applications/audio/kid3/default.nix
+++ b/pkgs/applications/audio/kid3/default.nix
@@ -3,24 +3,25 @@
, chromaprint, docbook_xml_dtd_45, docbook_xsl, libxslt
, id3lib, taglib, mp4v2, flac, libogg, libvorbis
, zlib, readline , qtbase, qttools, qtmultimedia, qtquickcontrols
-, makeWrapper
+, wrapQtAppsHook
}:
stdenv.mkDerivation rec {
- name = "kid3-${version}";
+ pname = "kid3";
version = "3.7.1";
src = fetchurl {
- url = "mirror://sourceforge/project/kid3/kid3/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/project/kid3/kid3/${version}/${pname}-${version}.tar.gz";
sha256 = "0xkrsjrbr3z8cn8hjf623l28r3b755gr11i0clv8d8i3s10vhbd8";
};
+ nativeBuildInputs = [ wrapQtAppsHook ];
buildInputs = with stdenv.lib;
[ pkgconfig cmake python ffmpeg phonon automoc4
chromaprint docbook_xml_dtd_45 docbook_xsl libxslt
id3lib taglib mp4v2 flac libogg libvorbis zlib readline
- qtbase qttools qtmultimedia qtquickcontrols makeWrapper ];
+ qtbase qttools qtmultimedia qtquickcontrols ];
cmakeFlags = [ "-DWITH_APPS=Qt;CLI" ];
NIX_LDFLAGS = "-lm -lpthread";
@@ -29,10 +30,6 @@ stdenv.mkDerivation rec {
export DOCBOOKDIR="${docbook_xsl}/xml/xsl/docbook/"
'';
- postInstall = ''
- wrapProgram $out/bin/kid3-qt --prefix QT_PLUGIN_PATH : $out/lib/qt5/plugins
- '';
-
enableParallelBuilding = true;
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/klick/default.nix b/pkgs/applications/audio/klick/default.nix
index 5e54609f8bf..f33245d8f1c 100644
--- a/pkgs/applications/audio/klick/default.nix
+++ b/pkgs/applications/audio/klick/default.nix
@@ -2,11 +2,11 @@
, libsamplerate, libsndfile, liblo, libjack2, boost }:
stdenv.mkDerivation rec {
- name = "klick-${version}";
+ pname = "klick";
version = "0.12.2";
src = fetchurl {
- url = "http://das.nasophon.de/download/${name}.tar.gz";
+ url = "http://das.nasophon.de/download/${pname}-${version}.tar.gz";
sha256 = "1289533c0849b1b66463bf27f7ce5f71736b655cfb7672ef884c7e6eb957ac42";
};
diff --git a/pkgs/applications/audio/klystrack/default.nix b/pkgs/applications/audio/klystrack/default.nix
new file mode 100644
index 00000000000..5e8dc060c28
--- /dev/null
+++ b/pkgs/applications/audio/klystrack/default.nix
@@ -0,0 +1,52 @@
+{ stdenv, fetchFromGitHub, fetchpatch
+, SDL2, SDL2_image
+, pkgconfig
+}:
+
+stdenv.mkDerivation rec {
+ pname = "klystrack";
+ version = "1.7.6";
+
+ src = fetchFromGitHub {
+ owner = "kometbomb";
+ repo = pname;
+ rev = version;
+ fetchSubmodules = true;
+ sha256 = "1h99sm2ddaq483hhk2s3z4bjbgn0d2h7qna7l7qq98wvhqix8iyz";
+ };
+
+ buildInputs = [
+ SDL2 SDL2_image
+ ];
+ nativeBuildInputs = [ pkgconfig ];
+
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/kometbomb/klystrack/commit/bb537595d02140176831c4a1b8e9121978b32d22.patch";
+ sha256 = "06gl9q0jwg039kpxb13lg9x0k59s11968qn4lybgkadvzmhxkgmi";
+ })
+ ];
+
+ buildFlags = [ "PREFIX=${placeholder "out"}" "CFG=release" ];
+
+ installPhase = ''
+ install -Dm755 bin.release/klystrack $out/bin/klystrack
+
+ mkdir -p $out/lib/klystrack
+ cp -R res $out/lib/klystrack
+ cp -R key $out/lib/klystrack
+
+ install -DT icon/256x256.png $out/share/icons/hicolor/256x256/apps/klystrack.png
+ mkdir -p $out/share/applications
+ substitute linux/klystrack.desktop $out/share/applications/klystrack.desktop \
+ --replace "klystrack %f" "$out/bin/klystrack %f"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A chiptune tracker";
+ homepage = "https://kometbomb.github.io/klystrack";
+ license = licenses.mit;
+ maintainers = with maintainers; [ suhr ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/audio/ladspa-plugins/default.nix b/pkgs/applications/audio/ladspa-plugins/default.nix
index a60b3db2fb8..44186abc3c4 100644
--- a/pkgs/applications/audio/ladspa-plugins/default.nix
+++ b/pkgs/applications/audio/ladspa-plugins/default.nix
@@ -2,7 +2,7 @@
, perlPackages }:
stdenv.mkDerivation rec {
- name = "swh-plugins-${version}";
+ pname = "swh-plugins";
version = "0.4.17";
diff --git a/pkgs/applications/audio/ladspa-sdk/default.nix b/pkgs/applications/audio/ladspa-sdk/default.nix
index 296a4f86a84..a7779ee8aee 100644
--- a/pkgs/applications/audio/ladspa-sdk/default.nix
+++ b/pkgs/applications/audio/ladspa-sdk/default.nix
@@ -1,16 +1,16 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "ladspa-sdk-${version}";
- version = "1.13";
+ pname = "ladspa-sdk";
+ version = "1.15";
src = fetchurl {
url = "https://www.ladspa.org/download/ladspa_sdk_${version}.tgz";
- sha256 = "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm";
+ sha256 = "1vgx54cgsnc3ncl9qbgjbmq12c444xjafjkgr348h36j16draaa2";
};
patchPhase = ''
cd src
- sed -i 's@/usr/@$(out)/@g' makefile
- sed -i 's@-mkdirhier@mkdir -p@g' makefile
+ sed -i 's@/usr/@$(out)/@g' Makefile
+ sed -i 's@-mkdirhier@mkdir -p@g' Makefile
'';
meta = {
diff --git a/pkgs/applications/audio/ladspa-sdk/ladspah.nix b/pkgs/applications/audio/ladspa-sdk/ladspah.nix
index 01acc0d01f7..3fad5de1de5 100644
--- a/pkgs/applications/audio/ladspa-sdk/ladspah.nix
+++ b/pkgs/applications/audio/ladspa-sdk/ladspah.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "ladspa.h-${version}";
- version = "1.13";
+ pname = "ladspa.h";
+ version = "1.15";
src = fetchurl {
url = "https://www.ladspa.org/download/ladspa_sdk_${version}.tgz";
- sha256 = "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm";
+ sha256 = "1vgx54cgsnc3ncl9qbgjbmq12c444xjafjkgr348h36j16draaa2";
};
installPhase = ''
diff --git a/pkgs/applications/audio/lash/default.nix b/pkgs/applications/audio/lash/default.nix
index 7fb5a01e2c8..e96972b0d1b 100644
--- a/pkgs/applications/audio/lash/default.nix
+++ b/pkgs/applications/audio/lash/default.nix
@@ -4,11 +4,11 @@
assert libuuid != null;
stdenv.mkDerivation rec {
- name = "lash-${version}";
+ pname = "lash";
version = "0.5.4";
src = fetchurl {
- url = "mirror://savannah/lash/${name}.tar.gz";
+ url = "mirror://savannah/lash/${pname}-${version}.tar.gz";
sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh";
};
diff --git a/pkgs/applications/audio/linuxband/default.nix b/pkgs/applications/audio/linuxband/default.nix
index a8e33c23dc0..b5a99150cb2 100644
--- a/pkgs/applications/audio/linuxband/default.nix
+++ b/pkgs/applications/audio/linuxband/default.nix
@@ -4,10 +4,10 @@ let
inherit (python2Packages) pyGtkGlade pygtksourceview python;
in stdenv.mkDerivation rec {
version = "12.02.1";
- name = "linuxband-${version}";
+ pname = "linuxband";
src = fetchurl {
- url = "http://linuxband.org/assets/sources/${name}.tar.gz";
+ url = "http://linuxband.org/assets/sources/${pname}-${version}.tar.gz";
sha256 = "1r71h4yg775m4gax4irrvygmrsclgn503ykmc2qwjsxa42ri4n2n";
};
diff --git a/pkgs/applications/audio/linuxsampler/default.nix b/pkgs/applications/audio/linuxsampler/default.nix
index f173e41321f..26fc2408d8a 100644
--- a/pkgs/applications/audio/linuxsampler/default.nix
+++ b/pkgs/applications/audio/linuxsampler/default.nix
@@ -2,11 +2,11 @@
, alsaLib, asio, libjack2, libgig, libsndfile, lv2 }:
stdenv.mkDerivation rec {
- name = "linuxsampler-${version}";
+ pname = "linuxsampler";
version = "2.1.0";
src = fetchurl {
- url = "https://download.linuxsampler.org/packages/${name}.tar.bz2";
+ url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
sha256 = "0fdxpw7jjfi058l95131d6d8538h05z7n94l60i6mhp9xbplj2jf";
};
diff --git a/pkgs/applications/audio/lmms/default.nix b/pkgs/applications/audio/lmms/default.nix
index 59e94e0bdad..d22065eb9fe 100644
--- a/pkgs/applications/audio/lmms/default.nix
+++ b/pkgs/applications/audio/lmms/default.nix
@@ -4,7 +4,7 @@
, qtbase, qtx11extras, qttools, SDL ? null }:
stdenv.mkDerivation rec {
- name = "lmms-${version}";
+ pname = "lmms";
version = "1.2.0-rc7";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/lollypop/default.nix b/pkgs/applications/audio/lollypop/default.nix
index c12ea885167..73d8d350f38 100644
--- a/pkgs/applications/audio/lollypop/default.nix
+++ b/pkgs/applications/audio/lollypop/default.nix
@@ -15,13 +15,12 @@
, gobject-introspection
, wrapGAppsHook
, lastFMSupport ? true
-, wikipediaSupport ? true
-, youtubeSupport ? true, youtube-dl
+, youtubeSupport ? true
}:
python3.pkgs.buildPythonApplication rec {
pname = "lollypop";
- version = "1.0.10";
+ version = "1.1.4.16";
format = "other";
doCheck = false;
@@ -30,7 +29,7 @@ python3.pkgs.buildPythonApplication rec {
url = "https://gitlab.gnome.org/World/lollypop";
rev = "refs/tags/${version}";
fetchSubmodules = true;
- sha256 = "118z1qhvpv7x5n63lpm4mf81pmv7gd450sa55i68mnjvry93h9h5";
+ sha256 = "1azfxc1vc1j4ph0zrfsgz2gac1vwmbj65j6wjlxx3nr8kia4mccl";
};
nativeBuildInputs = [
@@ -64,7 +63,6 @@ python3.pkgs.buildPythonApplication rec {
pygobject3
]
++ lib.optional lastFMSupport pylast
- ++ lib.optional wikipediaSupport wikipedia
++ lib.optional youtubeSupport youtube-dl
;
@@ -78,6 +76,15 @@ python3.pkgs.buildPythonApplication rec {
patchPythonScript "$out/libexec/lollypop-sp"
'';
+ # Produce only one wrapper using wrap-python passing
+ # gappsWrapperArgs to wrap-python additional wrapper
+ # argument
+ dontWrapGApps = true;
+
+ makeWrapperArgs = [
+ "\${gappsWrapperArgs[@]}"
+ ];
+
meta = with lib; {
description = "A modern music player for GNOME";
homepage = https://wiki.gnome.org/Apps/Lollypop;
diff --git a/pkgs/applications/audio/lsp-plugins/default.nix b/pkgs/applications/audio/lsp-plugins/default.nix
index d798a2bed53..f3abfbca145 100644
--- a/pkgs/applications/audio/lsp-plugins/default.nix
+++ b/pkgs/applications/audio/lsp-plugins/default.nix
@@ -5,14 +5,13 @@
stdenv.mkDerivation rec {
pname = "lsp-plugins";
- version = "1.1.5";
- name = "${pname}-${version}";
+ version = "1.1.9";
src = fetchFromGitHub {
owner = "sadko4u";
- repo = "${pname}";
- rev = "${name}";
- sha256 = "0xcxm47j7mz5vprjqqhi95gz62syp4y737h7cssxd3flqkgar7xr";
+ repo = pname;
+ rev = "${pname}-${version}";
+ sha256 = "1dzpl7f354rwp37bkr9h2yyafykcdn6m1qqfshqg77fj0pcsw8r2";
};
nativeBuildInputs = [ pkgconfig php expat ];
diff --git a/pkgs/applications/audio/ltc-tools/default.nix b/pkgs/applications/audio/ltc-tools/default.nix
index 81db133ff9a..c986e3af288 100644
--- a/pkgs/applications/audio/ltc-tools/default.nix
+++ b/pkgs/applications/audio/ltc-tools/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, pkgconfig, libltc, libsndfile, jack2}:
stdenv.mkDerivation rec {
- name = "ltc-tools-${version}";
+ pname = "ltc-tools";
version = "0.7.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/lv2bm/default.nix b/pkgs/applications/audio/lv2bm/default.nix
index d3821c51fbc..f1eddb62624 100644
--- a/pkgs/applications/audio/lv2bm/default.nix
+++ b/pkgs/applications/audio/lv2bm/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib, lilv, lv2, pkgconfig, serd, sord, sratom }:
-stdenv.mkDerivation rec {
- name = "lv2bm-${version}";
+stdenv.mkDerivation {
+ pname = "lv2bm";
version = "git-2015-11-29";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix b/pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix
index f355c540f30..6488d1bd65e 100644
--- a/pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/CharacterCompressor/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "CharacterCompressor-${version}";
+ pname = "CharacterCompressor";
version = "0.3.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/CompBus/default.nix b/pkgs/applications/audio/magnetophonDSP/CompBus/default.nix
index 90e4eabeef0..c5728b6e8b7 100644
--- a/pkgs/applications/audio/magnetophonDSP/CompBus/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/CompBus/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "CompBus-${version}";
+ pname = "CompBus";
version = "1.1.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix b/pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix
index 73dd7b48e9c..331e58c4bd2 100644
--- a/pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/ConstantDetuneChorus/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "constant-detune-chorus-${version}";
+ pname = "constant-detune-chorus";
version = "0.1.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix b/pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix
index 39065db6ede..046ee70e990 100644
--- a/pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/LazyLimiter/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "LazyLimiter-${version}";
+ pname = "LazyLimiter";
version = "0.3.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix b/pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix
index 362451988d3..aa7da17dafd 100644
--- a/pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/MBdistortion/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "MBdistortion-${version}";
+ pname = "MBdistortion";
version = "1.1.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix b/pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix
index 3f809aa7847..ae05866e57d 100644
--- a/pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/RhythmDelay/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "RhythmDelay-${version}";
+ pname = "RhythmDelay";
version = "2.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nix b/pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nix
index 740763889ff..718bbdaf49e 100644
--- a/pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/VoiceOfFaust/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jack, faust2lv2, helmholtz, mrpeach, puredata-with-plugins }:
stdenv.mkDerivation rec {
- name = "VoiceOfFaust-${version}";
+ pname = "VoiceOfFaust";
version = "1.1.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix b/pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix
index 6237628e600..356e95bf97c 100644
--- a/pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/pluginUtils/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "pluginUtils-${version}";
+ pname = "pluginUtils";
version = "1.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix b/pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix
index cb9247fd3d0..292cd3dfd86 100644
--- a/pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix
+++ b/pkgs/applications/audio/magnetophonDSP/shelfMultiBand/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
- name = "shelfMultiBand-${version}";
+ pname = "shelfMultiBand";
version = "0.6.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/mda-lv2/default.nix b/pkgs/applications/audio/mda-lv2/default.nix
index 26290e5bf88..901be5a23d0 100644
--- a/pkgs/applications/audio/mda-lv2/default.nix
+++ b/pkgs/applications/audio/mda-lv2/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, fftwSinglePrec, lv2, pkgconfig, python, wafHook }:
stdenv.mkDerivation rec {
- name = "mda-lv2-${version}";
+ pname = "mda-lv2";
version = "1.2.2";
src = fetchurl {
- url = "https://download.drobilla.net/${name}.tar.bz2";
+ url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "0hh40c5d2m0k5gb3vw031l6lqn59dg804an3mkmhkc7qv4gc6xm4";
};
diff --git a/pkgs/applications/audio/meterbridge/default.nix b/pkgs/applications/audio/meterbridge/default.nix
index d16107e4c29..4d2fa0e15b4 100644
--- a/pkgs/applications/audio/meterbridge/default.nix
+++ b/pkgs/applications/audio/meterbridge/default.nix
@@ -3,10 +3,10 @@
stdenv.mkDerivation rec {
version = "0.9.3";
- name = "meterbridge-${version}";
+ pname = "meterbridge";
src = fetchurl {
- url = "http://plugin.org.uk/meterbridge/${name}.tar.gz";
+ url = "http://plugin.org.uk/meterbridge/${pname}-${version}.tar.gz";
sha256 = "0s7n3czfpil94vsd7iblv4xrck9c7zvsz4r3yfbkqcv85pjz1viz";
};
diff --git a/pkgs/applications/audio/mhwaveedit/default.nix b/pkgs/applications/audio/mhwaveedit/default.nix
index db70e59218b..e4d6c0293df 100644
--- a/pkgs/applications/audio/mhwaveedit/default.nix
+++ b/pkgs/applications/audio/mhwaveedit/default.nix
@@ -3,7 +3,7 @@
, vorbis-tools }:
stdenv.mkDerivation rec {
- name = "mhwaveedit-${version}";
+ pname = "mhwaveedit";
version = "1.4.24";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/midisheetmusic/default.nix b/pkgs/applications/audio/midisheetmusic/default.nix
index 448977e5705..48052fc4ec8 100644
--- a/pkgs/applications/audio/midisheetmusic/default.nix
+++ b/pkgs/applications/audio/midisheetmusic/default.nix
@@ -5,7 +5,8 @@
let
version = "2.6";
in stdenv.mkDerivation {
- name = "midisheetmusic-${version}";
+ pname = "midisheetmusic";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/midisheetmusic/MidiSheetMusic-${version}-linux-src.tar.gz";
@@ -47,6 +48,7 @@ in stdenv.mkDerivation {
makeWrapper ${mono}/bin/mono $out/bin/midisheetmusic.mono.exe \
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ gtk2 cups ]} \
+ --prefix PATH : ${stdenv.lib.makeBinPath [ timidity ]} \
--add-flags $out/bin/.MidiSheetMusic.exe
'';
diff --git a/pkgs/applications/audio/milkytracker/default.nix b/pkgs/applications/audio/milkytracker/default.nix
index 6b3abeb1e23..7f86e2c2071 100644
--- a/pkgs/applications/audio/milkytracker/default.nix
+++ b/pkgs/applications/audio/milkytracker/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "1.02.00";
- name = "milkytracker-${version}";
+ pname = "milkytracker";
src = fetchFromGitHub {
owner = "milkytracker";
diff --git a/pkgs/applications/audio/mimic/default.nix b/pkgs/applications/audio/mimic/default.nix
index dcaffe3eb9b..e91b2c9360d 100644
--- a/pkgs/applications/audio/mimic/default.nix
+++ b/pkgs/applications/audio/mimic/default.nix
@@ -3,7 +3,7 @@
, pulseaudioSupport ? config.pulseaudio or false, libpulseaudio }:
stdenv.mkDerivation rec {
- name = "mimic-${version}";
+ pname = "mimic";
version = "1.2.0.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/mixxx/default.nix b/pkgs/applications/audio/mixxx/default.nix
index ff02d2a9e22..5cf9b1b8ab7 100644
--- a/pkgs/applications/audio/mixxx/default.nix
+++ b/pkgs/applications/audio/mixxx/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, makeWrapper, chromaprint, fetchpatch
+{ stdenv, mkDerivation, fetchFromGitHub, chromaprint
, fftw, flac, faad2, glibcLocales, mp4v2
, libid3tag, libmad, libopus, libshout, libsndfile, libusb1, libvorbis
, libGLU, libxcb, lilv, lv2, opusfile
@@ -6,19 +6,17 @@
, qtx11extras, rubberband, scons, sqlite, taglib, upower, vampSDK
}:
-stdenv.mkDerivation rec {
- name = "mixxx-${version}";
- version = "2.2.1";
+mkDerivation rec {
+ pname = "mixxx";
+ version = "2.2.2";
src = fetchFromGitHub {
owner = "mixxxdj";
repo = "mixxx";
rev = "release-${version}";
- sha256 = "1q6c2wfpprsx7s7nz1w0mhm2yhikj54jxcv61kwylxx3n5k2na9r";
+ sha256 = "0dmkvcsgq7abxqd4wms8c4w0mr5c53z7n5r8jgzp4swz9nmfjpfg";
};
- nativeBuildInputs = [ makeWrapper ];
-
buildInputs = [
chromaprint fftw flac faad2 glibcLocales mp4v2 libid3tag libmad libopus libshout libsndfile
libusb1 libvorbis libxcb libGLU lilv lv2 opusfile pkgconfig portaudio portmidi protobuf qtbase qtscript qtsvg
@@ -34,10 +32,9 @@ stdenv.mkDerivation rec {
"opus=1"
];
- fixupPhase = ''
- wrapProgram $out/bin/mixxx \
- --set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive;
- '';
+ qtWrapperArgs = [
+ "--set LOCALE_ARCHIVE ${glibcLocales}/lib/locale/locale-archive"
+ ];
meta = with stdenv.lib; {
homepage = https://mixxx.org;
diff --git a/pkgs/applications/audio/moc/default.nix b/pkgs/applications/audio/moc/default.nix
index 3ed330cc743..89d062d584e 100644
--- a/pkgs/applications/audio/moc/default.nix
+++ b/pkgs/applications/audio/moc/default.nix
@@ -30,7 +30,7 @@ let
in stdenv.mkDerivation rec {
- name = "moc-${version}";
+ pname = "moc";
version = "2.5.2";
src = fetchurl {
diff --git a/pkgs/applications/audio/mod-distortion/default.nix b/pkgs/applications/audio/mod-distortion/default.nix
index c66f7837322..c20f04ec947 100644
--- a/pkgs/applications/audio/mod-distortion/default.nix
+++ b/pkgs/applications/audio/mod-distortion/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, lv2 }:
-stdenv.mkDerivation rec {
- name = "mod-distortion-git-${version}";
+stdenv.mkDerivation {
+ pname = "mod-distortion-git";
version = "2016-08-19";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/monkeys-audio/default.nix b/pkgs/applications/audio/monkeys-audio/default.nix
index 1b3e89d4885..58bb4d3e327 100644
--- a/pkgs/applications/audio/monkeys-audio/default.nix
+++ b/pkgs/applications/audio/monkeys-audio/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
version = "3.99-u4-b5";
pname = "monkeys-audio";
- name = pname + "-" + version;
patches = [ ./buildfix.diff ];
diff --git a/pkgs/applications/audio/mopidy/default.nix b/pkgs/applications/audio/mopidy/default.nix
index 9015a8c749a..c574c862f52 100644
--- a/pkgs/applications/audio/mopidy/default.nix
+++ b/pkgs/applications/audio/mopidy/default.nix
@@ -4,13 +4,13 @@
pythonPackages.buildPythonApplication rec {
pname = "mopidy";
- version = "2.2.2";
+ version = "2.2.3";
src = fetchFromGitHub {
owner = "mopidy";
repo = "mopidy";
rev = "v${version}";
- sha256 = "01vl162c7ssf69b0m65ys9fxnsqnfa1whwbprnc063lkcnrnlkr1";
+ sha256 = "0i9rpnlmgrnkgmr9hyx9sky9gzj2cjhay84a0yaijwcb9nmr8nnc";
};
nativeBuildInputs = [ wrapGAppsHook ];
@@ -38,7 +38,7 @@ pythonPackages.buildPythonApplication rec {
SoundCloud, Google Play Music, and more
'';
license = licenses.asl20;
- maintainers = with maintainers; [ rickynils fpletz ];
+ maintainers = [ maintainers.fpletz ];
hydraPlatforms = [];
};
}
diff --git a/pkgs/applications/audio/mopidy/iris.nix b/pkgs/applications/audio/mopidy/iris.nix
index 41fc148e32d..3a663fd33c8 100644
--- a/pkgs/applications/audio/mopidy/iris.nix
+++ b/pkgs/applications/audio/mopidy/iris.nix
@@ -2,11 +2,11 @@
pythonPackages.buildPythonApplication rec {
pname = "Mopidy-Iris";
- version = "3.37.1";
+ version = "3.39.0";
src = pythonPackages.fetchPypi {
inherit pname version;
- sha256 = "0qcg456k7av0anymmmnlcn0v4642gbgk0nhic6w9bg9v5m0nj9ll";
+ sha256 = "1d2g66gvm7yaz4nbxlh23lj2xfkhi3hsg2k646m1za510f8dzlag";
};
propagatedBuildInputs = [
diff --git a/pkgs/applications/audio/mopidy/moped.nix b/pkgs/applications/audio/mopidy/moped.nix
index 3754bf763b2..d41fb12ae8d 100644
--- a/pkgs/applications/audio/mopidy/moped.nix
+++ b/pkgs/applications/audio/mopidy/moped.nix
@@ -20,7 +20,7 @@ pythonPackages.buildPythonApplication rec {
homepage = https://github.com/martijnboland/moped;
description = "A web client for Mopidy";
license = licenses.mit;
- maintainers = [ maintainers.rickynils ];
+ maintainers = [];
hydraPlatforms = [];
};
}
diff --git a/pkgs/applications/audio/mopidy/spotify.nix b/pkgs/applications/audio/mopidy/spotify.nix
index 9a6e1bef994..483852455aa 100644
--- a/pkgs/applications/audio/mopidy/spotify.nix
+++ b/pkgs/applications/audio/mopidy/spotify.nix
@@ -17,7 +17,7 @@ pythonPackages.buildPythonApplication rec {
homepage = https://www.mopidy.com/;
description = "Mopidy extension for playing music from Spotify";
license = licenses.asl20;
- maintainers = [ maintainers.rickynils ];
+ maintainers = [];
hydraPlatforms = [];
};
}
diff --git a/pkgs/applications/audio/mp3blaster/default.nix b/pkgs/applications/audio/mp3blaster/default.nix
index eb5aa7c036c..727133be78d 100644
--- a/pkgs/applications/audio/mp3blaster/default.nix
+++ b/pkgs/applications/audio/mp3blaster/default.nix
@@ -3,7 +3,7 @@ stdenv.mkDerivation rec {
version = "3.2.6";
- name = "mp3blaster-${version}";
+ pname = "mp3blaster";
src = fetchFromGitHub {
owner = "stragulus";
diff --git a/pkgs/applications/audio/mp3splt/default.nix b/pkgs/applications/audio/mp3splt/default.nix
index f2922e7eecf..f067c5af6df 100644
--- a/pkgs/applications/audio/mp3splt/default.nix
+++ b/pkgs/applications/audio/mp3splt/default.nix
@@ -3,11 +3,10 @@
stdenv.mkDerivation rec {
pname = "mp3splt";
version = "2.6.2";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://sourceforge/${pname}/${name}.tar.gz";
+ url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
sha256 = "1aiv20gypb6r84qabz8gblk8vi42cg3x333vk2pi3fyqvl82phry";
};
diff --git a/pkgs/applications/audio/mp3val/default.nix b/pkgs/applications/audio/mp3val/default.nix
index 7477bea7602..6c35779f6c4 100644
--- a/pkgs/applications/audio/mp3val/default.nix
+++ b/pkgs/applications/audio/mp3val/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "mp3val-${version}";
+ pname = "mp3val";
version = "0.1.8";
src = fetchurl {
- url = "mirror://sourceforge/mp3val/${name}-src.tar.gz";
+ url = "mirror://sourceforge/mp3val/${pname}-${version}-src.tar.gz";
sha256 = "17y3646ghr38r620vkrxin3dksxqig5yb3nn4cfv6arm7kz6x8cm";
};
diff --git a/pkgs/applications/audio/mpc/default.nix b/pkgs/applications/audio/mpc/default.nix
index 220e72b568a..b13e1cc037a 100644
--- a/pkgs/applications/audio/mpc/default.nix
+++ b/pkgs/applications/audio/mpc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, mpd_clientlib }:
stdenv.mkDerivation rec {
- name = "mpc-${version}";
+ pname = "mpc";
version = "0.28";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/mpc123/default.nix b/pkgs/applications/audio/mpc123/default.nix
index efaef97257e..f024e5a6a1d 100644
--- a/pkgs/applications/audio/mpc123/default.nix
+++ b/pkgs/applications/audio/mpc123/default.nix
@@ -2,10 +2,11 @@
let version = "0.2.4"; in
stdenv.mkDerivation rec {
- name = "mpc123-${version}";
+ pname = "mpc123";
+ inherit version;
src = fetchurl {
- url = "mirror://sourceforge/mpc123/version%20${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/mpc123/version%20${version}/${pname}-${version}.tar.gz";
sha256 = "0sf4pns0245009z6mbxpx7kqy4kwl69bc95wz9v23wgappsvxgy1";
};
diff --git a/pkgs/applications/audio/mpg123/default.nix b/pkgs/applications/audio/mpg123/default.nix
index 44f1c681ec1..b201bd65cae 100644
--- a/pkgs/applications/audio/mpg123/default.nix
+++ b/pkgs/applications/audio/mpg123/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "mpg123-1.25.10";
+ name = "mpg123-1.25.11";
src = fetchurl {
url = "mirror://sourceforge/mpg123/${name}.tar.bz2";
- sha256 = "08vhp8lz7d9ybhxcmkq3adwfryhivfvp0745k4r9kgz4wap3f4vc";
+ sha256 = "1cpal2zsm3zgi6f48vvwpg6wgkv42ndi7lk3zsg7sz52z83k61nz";
};
buildInputs = stdenv.lib.optional (!stdenv.isDarwin) alsaLib;
diff --git a/pkgs/applications/audio/mpg321/default.nix b/pkgs/applications/audio/mpg321/default.nix
index 3ffc5265f7a..65dfe3484b6 100644
--- a/pkgs/applications/audio/mpg321/default.nix
+++ b/pkgs/applications/audio/mpg321/default.nix
@@ -5,7 +5,7 @@
}:
stdenv.mkDerivation rec {
- name = "mpg321-${version}";
+ pname = "mpg321";
version = "0.3.2";
src = fetchurl {
diff --git a/pkgs/applications/audio/munt/default.nix b/pkgs/applications/audio/munt/default.nix
index 3d40e4c39f4..c9a1e9bea80 100644
--- a/pkgs/applications/audio/munt/default.nix
+++ b/pkgs/applications/audio/munt/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase, alsaLib, makeDesktopItem }:
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, qtbase, alsaLib, makeDesktopItem }:
let
desktopItem = makeDesktopItem rec {
@@ -8,7 +8,7 @@ let
genericName = "Munt synthesiser";
categories = "Audio;AudioVideo;";
};
-in stdenv.mkDerivation rec {
+in mkDerivation rec {
version = "2.3.0";
pname = "munt";
diff --git a/pkgs/applications/audio/muse/default.nix b/pkgs/applications/audio/muse/default.nix
index b3efa82ead4..02b1d8ea511 100644
--- a/pkgs/applications/audio/muse/default.nix
+++ b/pkgs/applications/audio/muse/default.nix
@@ -16,8 +16,8 @@
, gitAndTools
}:
-stdenv.mkDerivation rec {
- name = "muse-sequencer-${version}";
+stdenv.mkDerivation {
+ pname = "muse-sequencer";
version = "3.1pre1";
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/musescore/darwin.nix b/pkgs/applications/audio/musescore/darwin.nix
index e14594ae3b2..8b08aed62b8 100644
--- a/pkgs/applications/audio/musescore/darwin.nix
+++ b/pkgs/applications/audio/musescore/darwin.nix
@@ -8,8 +8,8 @@ in
with lib;
stdenv.mkDerivation rec {
- name = "musescore-darwin-${version}";
- version = "${concatStringsSep "." versionComponents}";
+ pname = "musescore-darwin";
+ version = concatStringsSep "." versionComponents;
src = fetchurl {
url = "ftp://ftp.osuosl.org/pub/musescore/releases/MuseScore-${concatStringsSep "." (take 3 versionComponents)}/MuseScore-${version}.dmg";
diff --git a/pkgs/applications/audio/musescore/default.nix b/pkgs/applications/audio/musescore/default.nix
index 9407a1c2688..5368fcb6165 100644
--- a/pkgs/applications/audio/musescore/default.nix
+++ b/pkgs/applications/audio/musescore/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, lib, fetchzip, cmake, pkgconfig
+{ stdenv, mkDerivation, lib, fetchzip, cmake, pkgconfig
, alsaLib, freetype, libjack2, lame, libogg, libpulseaudio, libsndfile, libvorbis
, portaudio, portmidi, qtbase, qtdeclarative, qtscript, qtsvg, qttools
, qtwebengine, qtxmlpatterns
}:
-stdenv.mkDerivation rec {
- name = "musescore-${version}";
- version = "3.0.5";
+mkDerivation rec {
+ pname = "musescore";
+ version = "3.2.3";
src = fetchzip {
- url = "https://download.musescore.com/releases/MuseScore-${version}/MuseScore-${version}.zip";
- sha256 = "1pbf6v0l3nixxr8k5igwhj09wnqvw92av6q6yjrbb3kyjh5br2d8";
+ url = "https://github.com/musescore/MuseScore/releases/download/v${version}/MuseScore-${version}.zip";
+ sha256 = "17mr0c8whw6vz86lp1j36rams4h8virc4z68fld0q3rpq6g05szs";
stripRoot = false;
};
diff --git a/pkgs/applications/audio/musly/default.nix b/pkgs/applications/audio/musly/default.nix
index 47370d4bc2f..e7a9e22c2d6 100644
--- a/pkgs/applications/audio/musly/default.nix
+++ b/pkgs/applications/audio/musly/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, eigen, libav_all }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "musly";
version = "unstable-2017-04-26";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/ncmpc/default.nix b/pkgs/applications/audio/ncmpc/default.nix
index 67fe983c26f..d89b61aa21f 100644
--- a/pkgs/applications/audio/ncmpc/default.nix
+++ b/pkgs/applications/audio/ncmpc/default.nix
@@ -2,7 +2,7 @@
, mpd_clientlib, gettext, boost }:
stdenv.mkDerivation rec {
- name = "ncmpc-${version}";
+ pname = "ncmpc";
version = "0.34";
src = fetchFromGitHub {
@@ -15,6 +15,12 @@ stdenv.mkDerivation rec {
buildInputs = [ glib ncurses mpd_clientlib boost ];
nativeBuildInputs = [ meson ninja pkgconfig gettext ];
+ mesonFlags = [
+ "-Dlirc=disabled"
+ "-Dregex=disabled"
+ "-Ddocumentation=disabled"
+ ];
+
meta = with stdenv.lib; {
description = "Curses-based interface for MPD (music player daemon)";
homepage = https://www.musicpd.org/clients/ncmpc/;
diff --git a/pkgs/applications/audio/ncmpcpp/default.nix b/pkgs/applications/audio/ncmpcpp/default.nix
index d35cefb8841..2ba36b4a50d 100644
--- a/pkgs/applications/audio/ncmpcpp/default.nix
+++ b/pkgs/applications/audio/ncmpcpp/default.nix
@@ -11,11 +11,11 @@ assert taglibSupport -> (taglib != null);
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "ncmpcpp-${version}";
+ pname = "ncmpcpp";
version = "0.8.2";
src = fetchurl {
- url = "https://ncmpcpp.rybczak.net/stable/${name}.tar.bz2";
+ url = "https://ncmpcpp.rybczak.net/stable/${pname}-${version}.tar.bz2";
sha256 = "0m0mjb049sl62vx13h9waavysa30mk0rphacksnvf94n13la62v5";
};
diff --git a/pkgs/applications/audio/ncpamixer/default.nix b/pkgs/applications/audio/ncpamixer/default.nix
index 8b715a24e3c..53ed9b3297c 100644
--- a/pkgs/applications/audio/ncpamixer/default.nix
+++ b/pkgs/applications/audio/ncpamixer/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
- name = "ncpamixer-${version}";
+ pname = "ncpamixer";
version = "1.3.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/non/default.nix b/pkgs/applications/audio/non/default.nix
index 44dd0d2d4ec..5f8c82b98d0 100644
--- a/pkgs/applications/audio/non/default.nix
+++ b/pkgs/applications/audio/non/default.nix
@@ -2,8 +2,8 @@
, libsndfile, ladspaH, liblrdf, liblo, libsigcxx, wafHook
}:
-stdenv.mkDerivation rec {
- name = "non-${version}";
+stdenv.mkDerivation {
+ pname = "non";
version = "2018-02-15";
src = fetchFromGitHub {
owner = "original-male";
diff --git a/pkgs/applications/audio/normalize/default.nix b/pkgs/applications/audio/normalize/default.nix
index 85c902d3839..490ecc967bb 100644
--- a/pkgs/applications/audio/normalize/default.nix
+++ b/pkgs/applications/audio/normalize/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libmad }:
stdenv.mkDerivation rec {
- name = "normalize-${version}";
+ pname = "normalize";
version = "0.7.7";
src = fetchurl {
- url = "mirror://savannah/normalize/${name}.tar.gz";
+ url = "mirror://savannah/normalize/${pname}-${version}.tar.gz";
sha256 = "1n5khss10vjjp6w69q9qcl4kqfkd0pr555lgqghrchn6rjms4mb0";
};
diff --git a/pkgs/applications/audio/nova-filters/default.nix b/pkgs/applications/audio/nova-filters/default.nix
index bb186687c66..0bb970500bd 100644
--- a/pkgs/applications/audio/nova-filters/default.nix
+++ b/pkgs/applications/audio/nova-filters/default.nix
@@ -1,8 +1,8 @@
{stdenv, fetchurl, sconsPackages, boost, ladspaH, pkgconfig }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "0.2-2";
- name = "nova-filters-${version}";
+ pname = "nova-filters";
src = fetchurl {
url = https://klingt.org/~tim/nova-filters/nova-filters_0.2-2.tar.gz;
diff --git a/pkgs/applications/audio/openmpt123/default.nix b/pkgs/applications/audio/openmpt123/default.nix
index f8f08369ab9..c9d69b5c7f2 100644
--- a/pkgs/applications/audio/openmpt123/default.nix
+++ b/pkgs/applications/audio/openmpt123/default.nix
@@ -3,8 +3,9 @@
let
version = "0.4.1";
-in stdenv.mkDerivation rec {
- name = "openmpt123-${version}";
+in stdenv.mkDerivation {
+ pname = "openmpt123";
+ inherit version;
src = fetchurl {
url = "https://lib.openmpt.org/files/libopenmpt/src/libopenmpt-${version}+release.autotools.tar.gz";
diff --git a/pkgs/applications/audio/padthv1/default.nix b/pkgs/applications/audio/padthv1/default.nix
index b2e5fb11ac3..b424bce2433 100644
--- a/pkgs/applications/audio/padthv1/default.nix
+++ b/pkgs/applications/audio/padthv1/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, pkgconfig, libjack2, alsaLib, libsndfile, liblo, lv2, qt5, fftw }:
+{ stdenv, fetchurl, pkgconfig, libjack2, alsaLib, libsndfile, liblo, lv2, qt5, fftw, mkDerivation }:
-stdenv.mkDerivation rec {
- name = "padthv1-${version}";
- version = "0.9.6";
+mkDerivation rec {
+ pname = "padthv1";
+ version = "0.9.9";
src = fetchurl {
- url = "mirror://sourceforge/padthv1/${name}.tar.gz";
- sha256 = "0ddvlpjlg6zr9ckanqhisw0sgm8rxibvj1aj5dxzs9xb2wlwd8rr";
+ url = "mirror://sourceforge/padthv1/${pname}-${version}.tar.gz";
+ sha256 = "0axansxwa3vfc1n6a7jbaqyz6wmsffi37i4ggsl08gmqywz255xb";
};
buildInputs = [ libjack2 alsaLib libsndfile liblo lv2 qt5.qtbase qt5.qttools fftw ];
diff --git a/pkgs/applications/audio/pamix/default.nix b/pkgs/applications/audio/pamix/default.nix
index cc4a781ef66..2507f08e9e5 100644
--- a/pkgs/applications/audio/pamix/default.nix
+++ b/pkgs/applications/audio/pamix/default.nix
@@ -3,7 +3,7 @@
, libpulseaudio, ncurses }:
stdenv.mkDerivation rec {
- name = "pamix-${version}";
+ pname = "pamix";
version = "1.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/pamixer/default.nix b/pkgs/applications/audio/pamixer/default.nix
index 322a4e23846..7c452096785 100644
--- a/pkgs/applications/audio/pamixer/default.nix
+++ b/pkgs/applications/audio/pamixer/default.nix
@@ -1,27 +1,20 @@
{ stdenv, fetchFromGitHub, fetchpatch, boost, libpulseaudio }:
stdenv.mkDerivation rec {
- name = "pamixer-${version}";
- version = "1.3.1";
+ pname = "pamixer";
+ version = "1.4";
src = fetchFromGitHub {
owner = "cdemoulins";
repo = "pamixer";
rev = version;
- sha256 = "15zs2x4hnrpxphqn542b6qqm4ymvhkvbcfyffy69d6cki51chzzw";
+ sha256 = "1i14550n8paijwwnhksv5izgfqm3s5q2773bdfp6vyqybkll55f7";
};
- # Remove after https://github.com/cdemoulins/pamixer/pull/16 gets fixed
- patches = [(fetchpatch {
- url = "https://github.com/oxij/pamixer/commit/dea1cd967aa837940e5c0b04ef7ebc47a7a93d63.patch";
- sha256 = "0s77xmsiwywyyp6f4bjxg1sqdgms1k5fiy7na6ws0aswshfnzfjb";
- })];
-
buildInputs = [ boost libpulseaudio ];
installPhase = ''
- mkdir -p $out/bin
- cp pamixer $out/bin
+ install -Dm755 pamixer -t $out/bin
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/audio/paprefs/default.nix b/pkgs/applications/audio/paprefs/default.nix
index 6ad931d4867..9c59b5466c7 100644
--- a/pkgs/applications/audio/paprefs/default.nix
+++ b/pkgs/applications/audio/paprefs/default.nix
@@ -1,4 +1,14 @@
-{ fetchurl, stdenv, meson, ninja, gettext, pkgconfig, pulseaudioFull, gtkmm3, dbus-glib, wrapGAppsHook }:
+{ fetchurl
+, stdenv
+, meson
+, ninja
+, gettext
+, pkgconfig
+, pulseaudioFull
+, glibmm
+, gtkmm3
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
name = "paprefs-1.1";
@@ -8,9 +18,19 @@ stdenv.mkDerivation rec {
sha256 = "189z5p20hk0xv9vwvym293503j4pwl03xqk9hl7cl6dwgv0l7wkf";
};
- nativeBuildInputs = [ meson ninja gettext pkgconfig wrapGAppsHook ];
+ nativeBuildInputs = [
+ meson
+ ninja
+ gettext
+ pkgconfig
+ wrapGAppsHook
+ ];
- buildInputs = [ pulseaudioFull gtkmm3 dbus-glib ];
+ buildInputs = [
+ pulseaudioFull
+ glibmm
+ gtkmm3
+ ];
meta = with stdenv.lib; {
description = "PulseAudio Preferences";
diff --git a/pkgs/applications/audio/parlatype/default.nix b/pkgs/applications/audio/parlatype/default.nix
index 87257f4920d..1eb8b416a9a 100644
--- a/pkgs/applications/audio/parlatype/default.nix
+++ b/pkgs/applications/audio/parlatype/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchFromGitHub, pkgconfig, meson, gtk3, at-spi2-core, dbus, gst_all_1, sphinxbase, pocketsphinx, ninja, gettext, appstream-glib, python3, glib, gobject-introspection, gsettings-desktop-schemas, itstool, wrapGAppsHook, makeWrapper, hicolor-icon-theme }:
+{ stdenv, fetchFromGitHub, pkgconfig, meson, gtk3, at-spi2-core, dbus, gst_all_1, sphinxbase, pocketsphinx, ninja, gettext, appstream-glib, python3, glib, gobject-introspection, gsettings-desktop-schemas, itstool, wrapGAppsHook, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "parlatype";
- version = "1.6-beta";
+ version = "1.6.1";
src = fetchFromGitHub {
owner = "gkarsay";
repo = pname;
rev = "v${version}";
- sha256 = "0bi0djic9kf178s7vl3y83v4rzhvynlvyf64n94fy80n2f100dj9";
+ sha256 = "0b811lwiylrjirx88gi9az1b1b71j2i5a4a6g56wp9qxln6lzjj2";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/patchage/default.nix b/pkgs/applications/audio/patchage/default.nix
index 7f3940e0ae9..e7c4cab9af1 100644
--- a/pkgs/applications/audio/patchage/default.nix
+++ b/pkgs/applications/audio/patchage/default.nix
@@ -2,8 +2,8 @@
, gtkmm2, libjack2, pkgconfig, python2, wafHook
}:
-stdenv.mkDerivation rec {
- name = "patchage-${version}";
+stdenv.mkDerivation {
+ pname = "patchage";
version = "1.0.1";
src = fetchsvn {
url = http://svn.drobilla.net/lad/trunk/patchage/;
diff --git a/pkgs/applications/audio/pavucontrol/default.nix b/pkgs/applications/audio/pavucontrol/default.nix
index ce2979a5e53..fee86cb5bca 100644
--- a/pkgs/applications/audio/pavucontrol/default.nix
+++ b/pkgs/applications/audio/pavucontrol/default.nix
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
description = "PulseAudio Volume Control";
longDescription = ''
- PulseAudio Volume Control (pavucontrol) provides a GTK+
+ PulseAudio Volume Control (pavucontrol) provides a GTK
graphical user interface to connect to a PulseAudio server and
easily control the volume of all clients, sinks, etc.
'';
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
- maintainers = with maintainers; [ abbradar ];
+ maintainers = with maintainers; [ abbradar globin ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/pd-plugins/cyclone/default.nix b/pkgs/applications/audio/pd-plugins/cyclone/default.nix
index ae43bad5b2c..6440f6e787f 100644
--- a/pkgs/applications/audio/pd-plugins/cyclone/default.nix
+++ b/pkgs/applications/audio/pd-plugins/cyclone/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, puredata }:
stdenv.mkDerivation rec {
- name = "cyclone-${version}";
+ pname = "cyclone";
version = "0.3beta-2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/pd-plugins/helmholtz/default.nix b/pkgs/applications/audio/pd-plugins/helmholtz/default.nix
index faa914e1328..6c7a4b03ef5 100644
--- a/pkgs/applications/audio/pd-plugins/helmholtz/default.nix
+++ b/pkgs/applications/audio/pd-plugins/helmholtz/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, unzip, puredata }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "helmholtz";
src = fetchurl {
diff --git a/pkgs/applications/audio/pd-plugins/maxlib/default.nix b/pkgs/applications/audio/pd-plugins/maxlib/default.nix
index 0eb75d77c68..21ba375200b 100644
--- a/pkgs/applications/audio/pd-plugins/maxlib/default.nix
+++ b/pkgs/applications/audio/pd-plugins/maxlib/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, puredata }:
stdenv.mkDerivation rec {
- name = "maxlib-${version}";
+ pname = "maxlib";
version = "1.5.7";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/pd-plugins/mrpeach/default.nix b/pkgs/applications/audio/pd-plugins/mrpeach/default.nix
index 972a162b73f..028a4667cb2 100644
--- a/pkgs/applications/audio/pd-plugins/mrpeach/default.nix
+++ b/pkgs/applications/audio/pd-plugins/mrpeach/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, puredata }:
-stdenv.mkDerivation rec {
- name = "mrpeach-${version}";
+stdenv.mkDerivation {
+ pname = "mrpeach";
version = "1.1";
# this was to only usable url I could find:
diff --git a/pkgs/applications/audio/pd-plugins/puremapping/default.nix b/pkgs/applications/audio/pd-plugins/puremapping/default.nix
index 37d692a3ab5..c214d3fcf40 100644
--- a/pkgs/applications/audio/pd-plugins/puremapping/default.nix
+++ b/pkgs/applications/audio/pd-plugins/puremapping/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, puredata }:
stdenv.mkDerivation rec {
- name = "puremapping-${version}";
+ pname = "puremapping";
version = "20160130";
src = fetchurl {
diff --git a/pkgs/applications/audio/pd-plugins/timbreid/default.nix b/pkgs/applications/audio/pd-plugins/timbreid/default.nix
index f2e54b327fc..fa9660fbbf6 100644
--- a/pkgs/applications/audio/pd-plugins/timbreid/default.nix
+++ b/pkgs/applications/audio/pd-plugins/timbreid/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.7.0";
- name = "timbreid-${version}";
+ pname = "timbreid";
src = fetchurl {
url = "http://williambrent.conflations.com/pd/timbreID-${version}-src.zip";
diff --git a/pkgs/applications/audio/pd-plugins/zexy/default.nix b/pkgs/applications/audio/pd-plugins/zexy/default.nix
index d56462ccc84..cc307417c06 100644
--- a/pkgs/applications/audio/pd-plugins/zexy/default.nix
+++ b/pkgs/applications/audio/pd-plugins/zexy/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoconf, automake, puredata }:
stdenv.mkDerivation rec {
- name = "zexy-${version}";
+ pname = "zexy";
version = "2.2.4";
src = fetchurl {
- url = "https://puredata.info/downloads/zexy/releases/${version}/${name}.tar.gz";
+ url = "https://puredata.info/downloads/zexy/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "1xpgl82c2lc6zfswjsa7z10yhv5jb7a4znzh3nc7ffrzm1z8vylp";
};
diff --git a/pkgs/applications/audio/petrifoo/default.nix b/pkgs/applications/audio/petrifoo/default.nix
index d86e5aae2cd..8bbeffb1f7a 100644
--- a/pkgs/applications/audio/petrifoo/default.nix
+++ b/pkgs/applications/audio/petrifoo/default.nix
@@ -3,11 +3,11 @@
, pkgconfig, openssl }:
stdenv.mkDerivation rec {
- name = "petri-foo-${version}";
+ pname = "petri-foo";
version = "0.1.87";
src = fetchurl {
- url = "mirror://sourceforge/petri-foo/${name}.tar.bz2";
+ url = "mirror://sourceforge/petri-foo/${pname}-${version}.tar.bz2";
sha256 = "0b25iicgn8c42487fdw32ycfrll1pm2zjgy5djvgw6mfcaa4gizh";
};
diff --git a/pkgs/applications/audio/pianobooster/default.nix b/pkgs/applications/audio/pianobooster/default.nix
index 53afcdd2306..448b219a1af 100644
--- a/pkgs/applications/audio/pianobooster/default.nix
+++ b/pkgs/applications/audio/pianobooster/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, alsaLib, cmake, libGLU_combined, makeWrapper, qt4 }:
-stdenv.mkDerivation rec {
- name = "pianobooster-${version}";
+stdenv.mkDerivation {
+ pname = "pianobooster";
version = "0.6.4b";
src = fetchurl {
diff --git a/pkgs/applications/audio/picard/default.nix b/pkgs/applications/audio/picard/default.nix
index 1ecb8be09dd..04a62b5d159 100644
--- a/pkgs/applications/audio/picard/default.nix
+++ b/pkgs/applications/audio/picard/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, python3Packages, fetchFromGitHub, gettext, chromaprint }:
+{ stdenv, python3Packages, fetchFromGitHub, gettext, chromaprint, qt5 }:
let
pythonPackages = python3Packages;
@@ -13,7 +13,7 @@ in pythonPackages.buildPythonApplication rec {
sha256 = "1armg8vpvnbpk7rrfk9q7nj5gm56rza00ni9qwdyqpxp1xaz6apj";
};
- nativeBuildInputs = [ gettext ];
+ nativeBuildInputs = [ gettext qt5.wrapQtAppsHook qt5.qtbase ];
propagatedBuildInputs = with pythonPackages; [
pyqt5
@@ -22,15 +22,16 @@ in pythonPackages.buildPythonApplication rec {
discid
];
- installPhase = ''
- python setup.py install --prefix="$out"
- '';
-
prePatch = ''
# Pesky unicode punctuation.
substituteInPlace setup.cfg --replace "‘" "'"
'';
+ installPhase = ''
+ python setup.py install --prefix="$out"
+ wrapQtApp $out/bin/picard
+ '';
+
meta = with stdenv.lib; {
homepage = http://musicbrainz.org/doc/MusicBrainz_Picard;
description = "The official MusicBrainz tagger";
diff --git a/pkgs/applications/audio/pithos/default.nix b/pkgs/applications/audio/pithos/default.nix
index f2c798d1e6e..5d86e37dec8 100644
--- a/pkgs/applications/audio/pithos/default.nix
+++ b/pkgs/applications/audio/pithos/default.nix
@@ -1,33 +1,29 @@
-{ fetchFromGitHub, stdenv, pythonPackages, gtk3, gobject-introspection, libnotify
-, gst_all_1, wrapGAppsHook }:
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, appstream-glib
+, wrapGAppsHook, pythonPackages, gtk3, gnome3, gobject-introspection
+, libnotify, libsecret, gst_all_1 }:
pythonPackages.buildPythonApplication rec {
pname = "pithos";
- version = "1.1.2";
+ version = "1.4.1";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
- sha256 = "0zk9clfawsnwmgjbk7y5d526ksxd1pkh09ln6sb06v4ygaiifcxp";
+ sha256 = "0vaw0rfcdh4bsp9b8la9bs36kw0iwia54y5x060byxhff9av6nj4";
};
- # No tests in repo
- doCheck = false;
+ format = "other";
postPatch = ''
- substituteInPlace setup.py --replace "/usr/share" "$out/share"
+ chmod +x meson_post_install.py
+ patchShebangs meson_post_install.py
'';
- postInstall = ''
- mkdir -p $out/share/applications
- cp -v data/pithos.desktop $out/share/applications
- '';
-
- buildInputs = [ wrapGAppsHook ];
+ nativeBuildInputs = [ meson ninja pkgconfig appstream-glib wrapGAppsHook ];
propagatedBuildInputs =
- [ gtk3 gobject-introspection libnotify ] ++
+ [ gtk3 gobject-introspection libnotify libsecret gnome3.adwaita-icon-theme ] ++
(with gst_all_1; [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly gst-plugins-bad ]) ++
(with pythonPackages; [ pygobject3 pylast ]);
diff --git a/pkgs/applications/audio/playbar2/default.nix b/pkgs/applications/audio/playbar2/default.nix
index 16d5eb69cb9..8c21dc8f2ad 100644
--- a/pkgs/applications/audio/playbar2/default.nix
+++ b/pkgs/applications/audio/playbar2/default.nix
@@ -7,7 +7,7 @@
}:
stdenv.mkDerivation rec {
- name = "playbar2-${version}";
+ pname = "playbar2";
version = "2.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/plugin-torture/default.nix b/pkgs/applications/audio/plugin-torture/default.nix
index 5529998803c..f444ad6cb32 100644
--- a/pkgs/applications/audio/plugin-torture/default.nix
+++ b/pkgs/applications/audio/plugin-torture/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, boost, ladspaH, lilv, lv2, pkgconfig, serd, sord, sratom }:
-stdenv.mkDerivation rec {
- name = "plugin-torture-${version}";
+stdenv.mkDerivation {
+ pname = "plugin-torture";
version = "2016-07-25";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/pmidi/default.nix b/pkgs/applications/audio/pmidi/default.nix
index 9f51d300825..f9b3fbae213 100644
--- a/pkgs/applications/audio/pmidi/default.nix
+++ b/pkgs/applications/audio/pmidi/default.nix
@@ -3,7 +3,8 @@
, sourceSha256 ? "051mv6f13c8y13c1iv3279k1hhzpz4fm9sfczhgp9sim2bjdj055"
}:
stdenv.mkDerivation {
- name = "pmidi-${version}";
+ pname = "pmidi";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/pmidi/${version}/pmidi-${version}.tar.gz";
diff --git a/pkgs/applications/audio/ponymix/default.nix b/pkgs/applications/audio/ponymix/default.nix
index 5cfbb7bf5a4..6d168ec5661 100644
--- a/pkgs/applications/audio/ponymix/default.nix
+++ b/pkgs/applications/audio/ponymix/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libpulseaudio, libnotify, pkgconfig }:
stdenv.mkDerivation rec {
- name = "ponymix-${version}";
+ pname = "ponymix";
version = "5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/praat/default.nix b/pkgs/applications/audio/praat/default.nix
index 5db5035c835..9414f4211d7 100644
--- a/pkgs/applications/audio/praat/default.nix
+++ b/pkgs/applications/audio/praat/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, alsaLib, gtk2, pkgconfig }:
stdenv.mkDerivation rec {
- name = "praat-${version}";
+ pname = "praat";
version = "6.0.43";
src = fetchurl {
diff --git a/pkgs/applications/audio/pulseaudio-dlna/default.nix b/pkgs/applications/audio/pulseaudio-dlna/default.nix
index 72af8aff106..a9f56cca001 100644
--- a/pkgs/applications/audio/pulseaudio-dlna/default.nix
+++ b/pkgs/applications/audio/pulseaudio-dlna/default.nix
@@ -4,7 +4,7 @@
, faacSupport ? false, faac ? null
, flacSupport ? true, flac ? null
, soxSupport ? true, sox ? null
-, vorbisSupport ? true, vorbisTools ? null
+, vorbisSupport ? true, vorbisTools ? null
}:
assert mp3Support -> lame != null;
@@ -14,7 +14,10 @@ assert flacSupport -> flac != null;
assert soxSupport -> sox != null;
assert vorbisSupport -> vorbisTools != null;
-pythonPackages.buildPythonApplication rec {
+let
+ zeroconf = pythonPackages.callPackage ./zeroconf.nix { };
+
+in pythonPackages.buildPythonApplication {
pname = "pulseaudio-dlna";
version = "2017-11-01";
@@ -24,13 +27,14 @@ pythonPackages.buildPythonApplication rec {
rev = "4472928dd23f274193f14289f59daec411023ab0";
sha256 = "1dfn7036vrq49kxv4an7rayypnm5dlawsf02pfsldw877hzdamqk";
};
-
+
# pulseaudio-dlna has no tests
doCheck = false;
propagatedBuildInputs = with pythonPackages; [
dbus-python docopt requests setproctitle protobuf psutil futures
- chardet notify2 netifaces pyroute2 pygobject2 lxml zeroconf ]
+ chardet notify2 netifaces pyroute2 pygobject2 lxml ]
+ ++ [ zeroconf ]
++ stdenv.lib.optional mp3Support lame
++ stdenv.lib.optional opusSupport opusTools
++ stdenv.lib.optional faacSupport faac
diff --git a/pkgs/applications/audio/pulseaudio-dlna/zeroconf.nix b/pkgs/applications/audio/pulseaudio-dlna/zeroconf.nix
new file mode 100644
index 00000000000..328bd8b0b04
--- /dev/null
+++ b/pkgs/applications/audio/pulseaudio-dlna/zeroconf.nix
@@ -0,0 +1,30 @@
+{ stdenv
+, buildPythonPackage
+, fetchPypi
+, ifaddr
+, typing
+, pythonOlder
+, netifaces
+, six
+, enum-compat
+}:
+
+buildPythonPackage rec {
+ pname = "zeroconf";
+ version = "0.19.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "0ykzg730n915qbrq9bn5pn06bv6rb5zawal4sqjyfnjjm66snkj3";
+ };
+
+ propagatedBuildInputs = [ netifaces six enum-compat ifaddr ]
+ ++ stdenv.lib.optionals (pythonOlder "3.5") [ typing ];
+
+ meta = with stdenv.lib; {
+ description = "A pure python implementation of multicast DNS service discovery";
+ homepage = https://github.com/jstasiak/python-zeroconf;
+ license = licenses.lgpl21;
+ maintainers = [ ];
+ };
+}
diff --git a/pkgs/applications/audio/pulseaudio-modules-bt/default.nix b/pkgs/applications/audio/pulseaudio-modules-bt/default.nix
index 8a0762d5176..b8082c12c64 100644
--- a/pkgs/applications/audio/pulseaudio-modules-bt/default.nix
+++ b/pkgs/applications/audio/pulseaudio-modules-bt/default.nix
@@ -23,18 +23,19 @@ let
'';
in stdenv.mkDerivation rec {
- name = "pulseaudio-modules-bt-${version}";
- version = "1.1.99";
+ pname = "pulseaudio-modules-bt";
+ version = "1.3";
src = fetchFromGitHub {
owner = "EHfive";
repo = "pulseaudio-modules-bt";
rev = "v${version}";
- sha256 = "0x670xbd62r3fs9a8pa5p4ppvxn6m64hvlrqa702gvikcvyrmwcg";
+ sha256 = "00xmidcw4fvpbmg0nsm2gk5zw26fpyjbc0pjk6mzr570zbnyqqbn";
};
patches = [
./fix-install-path.patch
+ ./fix-aac-defaults.patch
];
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/pulseaudio-modules-bt/fix-aac-defaults.patch b/pkgs/applications/audio/pulseaudio-modules-bt/fix-aac-defaults.patch
new file mode 100644
index 00000000000..c94c5dd61f2
--- /dev/null
+++ b/pkgs/applications/audio/pulseaudio-modules-bt/fix-aac-defaults.patch
@@ -0,0 +1,15 @@
+diff --git a/src/modules/bluetooth/a2dp/a2dp_aac.c b/src/modules/bluetooth/a2dp/a2dp_aac.c
+index 394a7a0..cf5abaf 100644
+--- a/src/modules/bluetooth/a2dp/a2dp_aac.c
++++ b/src/modules/bluetooth/a2dp/a2dp_aac.c
+@@ -90,8 +90,8 @@ pa_aac_encoder_init(pa_a2dp_source_read_cb_t read_cb, pa_a2dp_source_read_buf_fr
+ info->read_pcm = read_cb;
+ info->read_buf_free = free_cb;
+ info->aacenc_handle_opened = false;
+- info->aac_enc_bitrate_mode = 5;
+- info->aac_afterburner = false;
++ info->aac_enc_bitrate_mode = 0;
++ info->aac_afterburner = true;
+ info->force_pa_fmt = PA_SAMPLE_INVALID;
+ return true;
+ }
diff --git a/pkgs/applications/audio/pulseeffects/default.nix b/pkgs/applications/audio/pulseeffects/default.nix
index 71b9d344246..83fb17189e1 100644
--- a/pkgs/applications/audio/pulseeffects/default.nix
+++ b/pkgs/applications/audio/pulseeffects/default.nix
@@ -47,13 +47,13 @@ let
];
in stdenv.mkDerivation rec {
pname = "pulseeffects";
- version = "4.6.0";
+ version = "4.6.6";
src = fetchFromGitHub {
owner = "wwmm";
repo = "pulseeffects";
rev = "v${version}";
- sha256 = "1ap07sw4j1a0al2hqh781m8ivlplxlaw515gkf65q100q80kr0zj";
+ sha256 = "15w1kc1b0i8wrkrbfzrvcscanxvcsz336bfyi1awb1lbclvd3sf4";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/puredata/default.nix b/pkgs/applications/audio/puredata/default.nix
index 6ade9042b53..5886a465409 100644
--- a/pkgs/applications/audio/puredata/default.nix
+++ b/pkgs/applications/audio/puredata/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "puredata-${version}";
+ pname = "puredata";
version = "0.49-0";
src = fetchurl {
diff --git a/pkgs/applications/audio/qjackctl/default.nix b/pkgs/applications/audio/qjackctl/default.nix
index 018dd39580f..0b50d3098aa 100644
--- a/pkgs/applications/audio/qjackctl/default.nix
+++ b/pkgs/applications/audio/qjackctl/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchurl, pkgconfig, alsaLib, libjack2, dbus, qtbase, qttools, qtx11extras }:
+{ stdenv, mkDerivation, fetchurl, pkgconfig, alsaLib, libjack2, dbus, qtbase, qttools, qtx11extras }:
-stdenv.mkDerivation rec {
- version = "0.5.7";
- name = "qjackctl-${version}";
+mkDerivation rec {
+ version = "0.5.9";
+ pname = "qjackctl";
# some dependencies such as killall have to be installed additionally
src = fetchurl {
- url = "mirror://sourceforge/qjackctl/${name}.tar.gz";
- sha256 = "1g6a5j74p45yisl28bw4fcc9nr6b710ikk459p4mp6djh9gs8v95";
+ url = "mirror://sourceforge/qjackctl/${pname}-${version}.tar.gz";
+ sha256 = "1saywsda9m124rmjp7i3n0llryaliabjxhqhvqr6dm983qy7pypk";
};
buildInputs = [
diff --git a/pkgs/applications/audio/qmidinet/default.nix b/pkgs/applications/audio/qmidinet/default.nix
index b596e74a264..d627f352e73 100644
--- a/pkgs/applications/audio/qmidinet/default.nix
+++ b/pkgs/applications/audio/qmidinet/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, qt5, alsaLib, libjack2 }:
stdenv.mkDerivation rec {
- version = "0.5.4";
- name = "qmidinet-${version}";
+ version = "0.5.5";
+ pname = "qmidinet";
src = fetchurl {
- url = "mirror://sourceforge/qmidinet/${name}.tar.gz";
- sha256 = "1il4b8v3azb33yg4fy78npi56xlkz4n60f17sgvckyxb2yj57jwq";
+ url = "mirror://sourceforge/qmidinet/${pname}-${version}.tar.gz";
+ sha256 = "0az20hh14g7k6h779dk1b6fshxnfj2664sj6ypgllzriwv430x9y";
};
hardeningDisable = [ "format" ];
diff --git a/pkgs/applications/audio/qmidiroute/default.nix b/pkgs/applications/audio/qmidiroute/default.nix
index 7f5191a02c2..2a83d98b6ea 100644
--- a/pkgs/applications/audio/qmidiroute/default.nix
+++ b/pkgs/applications/audio/qmidiroute/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.4.0";
- name = "qmidiroute-${version}";
+ pname = "qmidiroute";
src = fetchurl {
- url = "mirror://sourceforge/project/alsamodular/QMidiRoute/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/project/alsamodular/QMidiRoute/${version}/${pname}-${version}.tar.gz";
sha256 = "0vmjwarsxr5540rafhmdcc62yarf0w2l05bjjl9s28zzr5m39z3n";
};
diff --git a/pkgs/applications/audio/qmmp/default.nix b/pkgs/applications/audio/qmmp/default.nix
index 490f8639d38..ef52c65b105 100644
--- a/pkgs/applications/audio/qmmp/default.nix
+++ b/pkgs/applications/audio/qmmp/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, cmake, pkgconfig, xlibsWrapper
+{ stdenv, mkDerivation, fetchurl, cmake, pkgconfig, xlibsWrapper
, qtbase, qttools, qtmultimedia, qtx11extras
# transports
, curl, libmms
@@ -28,12 +28,12 @@
# Qmmp installs working .desktop file(s) all by itself, so we don't need to
# handle that.
-stdenv.mkDerivation rec {
- name = "qmmp-1.3.2";
+mkDerivation rec {
+ name = "qmmp-1.3.3";
src = fetchurl {
url = "http://qmmp.ylsoftware.com/files/${name}.tar.bz2";
- sha256 = "1rh063kcyg7gs9yj2r4v5irpnq4pjaxaxsgrw30mdr21xhhc15cz";
+ sha256 = "1777kqgvbkshqlawy00gbgwflxflwmjjidqdq29mhqszs76r6727";
};
nativeBuildInputs = [ cmake pkgconfig ];
diff --git a/pkgs/applications/audio/qsampler/default.nix b/pkgs/applications/audio/qsampler/default.nix
index b09aa835c9f..a878f4edad8 100644
--- a/pkgs/applications/audio/qsampler/default.nix
+++ b/pkgs/applications/audio/qsampler/default.nix
@@ -2,12 +2,12 @@
, liblscp, libgig, qtbase }:
stdenv.mkDerivation rec {
- name = "qsampler-${version}";
- version = "0.5.5";
+ pname = "qsampler";
+ version = "0.5.6";
src = fetchurl {
- url = "mirror://sourceforge/qsampler/${name}.tar.gz";
- sha256 = "1li2p8zknrdr62wlaassfvgski0rlbr3lvrzywbh32dq8j50w8zf";
+ url = "mirror://sourceforge/qsampler/${pname}-${version}.tar.gz";
+ sha256 = "0lx2mzyajmjckwfvgf8p8bahzpj0n0lflyip41jk32nwd2hzjhbs";
};
nativeBuildInputs = [ autoconf automake libtool pkgconfig qttools ];
diff --git a/pkgs/applications/audio/qsynth/default.nix b/pkgs/applications/audio/qsynth/default.nix
index b146513d735..81b7e35b630 100644
--- a/pkgs/applications/audio/qsynth/default.nix
+++ b/pkgs/applications/audio/qsynth/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, alsaLib, fluidsynth, libjack2, qt5, autoconf, pkgconfig }:
stdenv.mkDerivation rec {
- name = "qsynth-${version}";
- version = "0.5.6";
+ pname = "qsynth";
+ version = "0.5.7";
src = fetchurl {
- url = "mirror://sourceforge/qsynth/${name}.tar.gz";
- sha256 = "0h4hhja8qbyzd6v24flw9wr4mwl03nplryx1gyrppn7sg13l1sx6";
+ url = "mirror://sourceforge/qsynth/${pname}-${version}.tar.gz";
+ sha256 = "18im4w8agj60nkppwbkxqnhpp13z5li3w30kklv4lgs20rvgbvl6";
};
nativeBuildInputs = [ autoconf pkgconfig ];
diff --git a/pkgs/applications/audio/qtractor/default.nix b/pkgs/applications/audio/qtractor/default.nix
index 6c1f561ad74..2e504a3c9ec 100644
--- a/pkgs/applications/audio/qtractor/default.nix
+++ b/pkgs/applications/audio/qtractor/default.nix
@@ -1,20 +1,21 @@
{ alsaLib, autoconf, automake, dssi, fetchurl, libjack2
, ladspaH, ladspaPlugins, liblo, libmad, libsamplerate, libsndfile
, libtool, libvorbis, lilv, lv2, pkgconfig, qttools, qtbase, rubberband, serd
-, sord, sratom, stdenv, suil }:
+, sord, sratom, stdenv, suil, wrapQtAppsHook }:
stdenv.mkDerivation rec {
pname = "qtractor";
- version = "0.9.7";
+ version = "0.9.9";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
- sha256 = "0z97c8h0m7070bfq0qsbf8hwzwcqjs7dln7na4mngyhc6vqkg63s";
+ sha256 = "0qlbccdxyfy0f09y6qg1xkg12fm67bf2f2c27c22cg8lzk9ang5j";
};
nativeBuildInputs = [
- autoconf automake libtool pkgconfig qttools
+ autoconf automake libtool pkgconfig qttools wrapQtAppsHook
];
+
buildInputs =
[ alsaLib dssi libjack2 ladspaH
ladspaPlugins liblo libmad libsamplerate libsndfile libtool
diff --git a/pkgs/applications/audio/qtscrobbler/default.nix b/pkgs/applications/audio/qtscrobbler/default.nix
index 453da89953e..68e8e6402ac 100644
--- a/pkgs/applications/audio/qtscrobbler/default.nix
+++ b/pkgs/applications/audio/qtscrobbler/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, withMtp ? true, libmtp, pkgconfig, which, qt4, qmake4Hook }:
stdenv.mkDerivation rec {
- name = "qtscrobbler-${version}";
+ pname = "qtscrobbler";
version = "0.11";
src = fetchurl {
diff --git a/pkgs/applications/audio/quodlibet/default.nix b/pkgs/applications/audio/quodlibet/default.nix
index d457f25e316..c874bdd40d2 100644
--- a/pkgs/applications/audio/quodlibet/default.nix
+++ b/pkgs/applications/audio/quodlibet/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome3, gtk3, gdk_pixbuf,
+{ stdenv, fetchurl, python3, wrapGAppsHook, gettext, libsoup, gnome3, gtk3, gdk-pixbuf,
tag ? "", xvfb_run, dbus, glibcLocales, glib, glib-networking, gobject-introspection,
gst_all_1, withGstPlugins ? true,
xineBackend ? false, xineLib,
@@ -20,7 +20,7 @@ python3.pkgs.buildPythonApplication rec {
checkInputs = with python3.pkgs; [ pytest pytest_xdist pyflakes pycodestyle polib xvfb_run dbus.daemon glibcLocales ];
- buildInputs = [ gnome3.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk_pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
+ buildInputs = [ gnome3.adwaita-icon-theme libsoup glib glib-networking gtk3 webkitgtk gdk-pixbuf keybinder3 gtksourceview libmodplug libappindicator-gtk3 kakasi gobject-introspection ]
++ (if xineBackend then [ xineLib ] else with gst_all_1;
[ gstreamer gst-plugins-base ] ++ optionals withGstPlugins [ gst-plugins-good gst-plugins-ugly gst-plugins-bad ]);
@@ -46,11 +46,11 @@ python3.pkgs.buildPythonApplication rec {
preFixup = stdenv.lib.optionalString (kakasi != null) "gappsWrapperArgs+=(--prefix PATH : ${kakasi}/bin)";
meta = with stdenv.lib; {
- description = "GTK+-based audio player written in Python, using the Mutagen tagging library";
+ description = "GTK-based audio player written in Python, using the Mutagen tagging library";
license = licenses.gpl2Plus;
longDescription = ''
- Quod Libet is a GTK+-based audio player written in Python, using
+ Quod Libet is a GTK-based audio player written in Python, using
the Mutagen tagging library. It's designed around the idea that
you know how to organize your music better than we do. It lets
you make playlists based on regular expressions (don't worry,
diff --git a/pkgs/applications/audio/radiotray-ng/default.nix b/pkgs/applications/audio/radiotray-ng/default.nix
index 91d82d686d0..c0186a146be 100644
--- a/pkgs/applications/audio/radiotray-ng/default.nix
+++ b/pkgs/applications/audio/radiotray-ng/default.nix
@@ -39,14 +39,14 @@ let
pythonInputs = with python2.pkgs; [ python2 lxml ];
in
stdenv.mkDerivation rec {
- name = "radiotray-ng-${version}";
- version = "0.2.5";
+ pname = "radiotray-ng";
+ version = "0.2.6";
src = fetchFromGitHub {
owner = "ebruck";
repo = "radiotray-ng";
rev = "v${version}";
- sha256 = "1crvpn1mgrv7bd2k683mpgs59785mkrjvmp1f14iyq4qrr0f9zzi";
+ sha256 = "0khrfxjas2ldh0kksq7l811srqy16ahjxchvz0hhykx5hykymxlb";
};
nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook makeWrapper ];
@@ -64,9 +64,10 @@ stdenv.mkDerivation rec {
patches = [ ./no-dl-googletest.patch ];
postPatch = ''
- for x in debian/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do
+ for x in package/CMakeLists.txt include/radiotray-ng/common.hpp data/*.desktop; do
substituteInPlace $x --replace /usr $out
done
+ substituteInPlace package/CMakeLists.txt --replace /etc/xdg/autostart $out/etc/xdg/autostart
# We don't find the radiotray-ng-notification icon otherwise
substituteInPlace data/radiotray-ng.desktop \
diff --git a/pkgs/applications/audio/radiotray-ng/no-dl-googletest.patch b/pkgs/applications/audio/radiotray-ng/no-dl-googletest.patch
index 3578d2d72b0..3aee9751656 100644
--- a/pkgs/applications/audio/radiotray-ng/no-dl-googletest.patch
+++ b/pkgs/applications/audio/radiotray-ng/no-dl-googletest.patch
@@ -1,4 +1,4 @@
-From 2ce91cd2244e61d54e0c0a3b26851912240b0667 Mon Sep 17 00:00:00 2001
+From b6f7a9e2e0194c6baed63a33b7beff359080b8d9 Mon Sep 17 00:00:00 2001
From: Will Dietz
Date: Sat, 16 Mar 2019 11:40:00 -0500
Subject: [PATCH] don't download googletest
@@ -9,7 +9,7 @@ Subject: [PATCH] don't download googletest
2 files changed, 19 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index fc1b9de..301c266 100644
+index ddba1be..3396705 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -70,25 +70,7 @@ endif()
@@ -51,5 +51,5 @@ index 859c048..58ab5c2 100644
target_include_directories(${target} PRIVATE ${JSONCPP_INCLUDE_DIRS})
gtest_discover_tests(${target})
--
-2.21.GIT
+2.22.0
diff --git a/pkgs/applications/audio/rakarrack/default.nix b/pkgs/applications/audio/rakarrack/default.nix
index ec71cfb427c..36302458a75 100644
--- a/pkgs/applications/audio/rakarrack/default.nix
+++ b/pkgs/applications/audio/rakarrack/default.nix
@@ -2,11 +2,11 @@
libXpm, libjpeg, libpng, libsamplerate, libsndfile, zlib }:
stdenv.mkDerivation rec {
- name = "rakarrack-${version}";
+ pname = "rakarrack";
version = "0.6.1";
src = fetchurl {
- url = "mirror://sourceforge/rakarrack/${name}.tar.bz2";
+ url = "mirror://sourceforge/rakarrack/${pname}-${version}.tar.bz2";
sha256 = "1rpf63pdn54c4yg13k7cb1w1c7zsvl97c4qxcpz41c8l91xd55kn";
};
diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix
index fc6a78af0bc..9cff98f6137 100644
--- a/pkgs/applications/audio/reaper/default.nix
+++ b/pkgs/applications/audio/reaper/default.nix
@@ -1,16 +1,16 @@
{ stdenv, fetchurl, autoPatchelfHook, makeWrapper
, alsaLib, xorg
-, gnome3, gtk3, pango, gdk_pixbuf, cairo, glib, freetype
+, gtk3, pango, gdk-pixbuf, cairo, glib, freetype
, libpulseaudio, xdg_utils
}:
stdenv.mkDerivation rec {
- name = "reaper-${version}";
- version = "5.974";
+ pname = "reaper";
+ version = "5.981";
src = fetchurl {
url = "https://www.reaper.fm/files/${stdenv.lib.versions.major version}.x/reaper${builtins.replaceStrings ["."] [""] version}_linux_x86_64.tar.xz";
- sha256 = "0pmjdh4d1jsplv99nrgjn437bgjp7hqk6fynvqk3lbn1zw3wk0i9";
+ sha256 = "0v4347i0pgzlinas4431dfbv1h9fk6vihvahh73valxvhydyxr8q";
};
nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
xorg.libX11
xorg.libXi
- gdk_pixbuf
+ gdk-pixbuf
pango
cairo
glib
diff --git a/pkgs/applications/audio/redoflacs/default.nix b/pkgs/applications/audio/redoflacs/default.nix
index 1918fa9e3a9..e32fd42af32 100644
--- a/pkgs/applications/audio/redoflacs/default.nix
+++ b/pkgs/applications/audio/redoflacs/default.nix
@@ -2,7 +2,7 @@
, flac, sox }:
stdenv.mkDerivation rec {
- name = "redoflacs-${version}";
+ pname = "redoflacs";
version = "0.30.20150202";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/renoise/default.nix b/pkgs/applications/audio/renoise/default.nix
index ddbefd129ff..62625aa421d 100644
--- a/pkgs/applications/audio/renoise/default.nix
+++ b/pkgs/applications/audio/renoise/default.nix
@@ -14,7 +14,7 @@ let
in
stdenv.mkDerivation rec {
- name = "renoise-${version}";
+ pname = "renoise";
version = "3.1.0";
src =
diff --git a/pkgs/applications/audio/rhvoice/default.nix b/pkgs/applications/audio/rhvoice/default.nix
index 6516532df33..e3eb750496b 100644
--- a/pkgs/applications/audio/rhvoice/default.nix
+++ b/pkgs/applications/audio/rhvoice/default.nix
@@ -3,8 +3,9 @@
let
version = "unstable-2018-02-10";
-in stdenv.mkDerivation rec {
- name = "rhvoice-${version}";
+in stdenv.mkDerivation {
+ pname = "rhvoice";
+ inherit version;
src = fetchFromGitHub {
owner = "Olga-Yakovleva";
diff --git a/pkgs/applications/audio/rosegarden/default.nix b/pkgs/applications/audio/rosegarden/default.nix
index 55e3b55472b..9445bf3723c 100644
--- a/pkgs/applications/audio/rosegarden/default.nix
+++ b/pkgs/applications/audio/rosegarden/default.nix
@@ -3,12 +3,12 @@
, liblo, liblrdf, libsamplerate, libsndfile, lirc ? null, qtbase }:
stdenv.mkDerivation (rec {
- version = "18.12";
- name = "rosegarden-${version}";
+ version = "19.06";
+ pname = "rosegarden";
src = fetchurl {
- url = "mirror://sourceforge/rosegarden/${name}.tar.bz2";
- sha256 = "15i9fm0vkn3wsgahaxqi1j5zs0wc0j3wdwml0x49084gk2p328vb";
+ url = "mirror://sourceforge/rosegarden/${pname}-${version}.tar.bz2";
+ sha256 = "169qb58v2s8va59hzkih8nqb2aipsqlrbfs8q39ywqa8w5d60gcc";
};
patchPhase = ''
diff --git a/pkgs/applications/audio/rubyripper/default.nix b/pkgs/applications/audio/rubyripper/default.nix
index 9e0a3712c97..82aa86f795b 100644
--- a/pkgs/applications/audio/rubyripper/default.nix
+++ b/pkgs/applications/audio/rubyripper/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ruby, cdparanoia, makeWrapper }:
stdenv.mkDerivation rec {
version = "0.6.2";
- name = "rubyripper-${version}";
+ pname = "rubyripper";
src = fetchurl {
url = "https://rubyripper.googlecode.com/files/rubyripper-${version}.tar.bz2";
sha256 = "1fwyk3y0f45l2vi3a481qd7drsy82ccqdb8g2flakv58m45q0yl1";
diff --git a/pkgs/applications/audio/samplv1/default.nix b/pkgs/applications/audio/samplv1/default.nix
index 5d2b1645473..5a62a8a4292 100644
--- a/pkgs/applications/audio/samplv1/default.nix
+++ b/pkgs/applications/audio/samplv1/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, libjack2, alsaLib, liblo, libsndfile, lv2, qt5 }:
stdenv.mkDerivation rec {
- name = "samplv1-${version}";
- version = "0.9.7";
+ pname = "samplv1";
+ version = "0.9.9";
src = fetchurl {
- url = "mirror://sourceforge/samplv1/${name}.tar.gz";
- sha256 = "1vgmcjccpgqqlmmwfg6m91nph81p2xaxydjx82n4l1yrr9lidn9h";
+ url = "mirror://sourceforge/samplv1/${pname}-${version}.tar.gz";
+ sha256 = "1y61wb0bzm1cz7y8xxv6hp8mrkfb9zm9irg6zs4g6aanw539r6l8";
};
buildInputs = [ libjack2 alsaLib liblo libsndfile lv2 qt5.qtbase qt5.qttools];
diff --git a/pkgs/applications/audio/sayonara/default.nix b/pkgs/applications/audio/sayonara/default.nix
index fbe90c5377d..c4258174500 100644
--- a/pkgs/applications/audio/sayonara/default.nix
+++ b/pkgs/applications/audio/sayonara/default.nix
@@ -1,45 +1,82 @@
-{ stdenv, fetchurl, cmake, qt5, zlib, taglib, pkgconfig, pcre, gst_all_1 }:
+{ mkDerivation
+, cmake
+, fetchgit
+, gst_all_1
+, lib
+, libpulseaudio
+, ninja
+, pcre
+, pkgconfig
+, qtbase
+, qttools
+, taglib
+, zlib
+}:
-let
- version = "1.1.1-git1-20180828";
-in
-stdenv.mkDerivation {
- name = "sayonara-player-${version}";
+mkDerivation rec {
+ pname = "sayonara-player";
+ version = "1.5.1-stable5";
- src = fetchurl {
- url = "https://sayonara-player.com/sw/sayonara-player-${version}.tar.gz";
- sha256 = "0rvy47qvavrp03zjdrw025dmq9fq5aaii3q1qq8b94byarl0c5kn";
+ src = fetchgit {
+ url = "https://git.sayonara-player.com/sayonara.git";
+ rev = version;
+ sha256 = "13l7r3gaszrkyf4z8rdijfzxvcnilax4ki2mcm30wqk8d4g4qdzj";
};
- nativeBuildInputs = [ cmake pkgconfig ];
- buildInputs = with qt5; with gst_all_1;
- [ gstreamer gst-plugins-base gst-plugins-good gst-plugins-ugly
- pcre qtbase qttools taglib zlib
- ];
-
- # CMake Error at src/GUI/Resources/Icons/cmake_install.cmake:49 (file):
- # file cannot create directory: /usr/share/icons. Maybe need administrative
- # privileges.
- # Call Stack (most recent call first):
- # src/GUI/Resources/cmake_install.cmake:50 (include)
- # src/GUI/cmake_install.cmake:50 (include)
- # src/cmake_install.cmake:59 (include)
- # cmake_install.cmake:42 (include)
+ # all this can go with version 1.5.2
postPatch = ''
- substituteInPlace src/GUI/Resources/Icons/CMakeLists.txt \
- --replace "/usr/share" "$out/share"
+ # if we don't delete this, sayonara will look here instead of the provided taglib
+ rm -r src/3rdParty/taglib
+
+ for f in \
+ src/DBus/DBusNotifications.cpp \
+ src/Gui/Resources/Icons/CMakeLists.txt \
+ src/Utils/Utils.cpp \
+ test/Util/FileHelperTest.cpp \
+ ; do
+
+ substituteInPlace $f --replace /usr $out
+ done
+
+ substituteInPlace src/Components/Shutdown/Shutdown.cpp \
+ --replace /usr/bin/systemctl systemctl
'';
- # [ 65%] Building CXX object src/Components/Engine/CMakeFiles/say_comp_engine.dir/AbstractPipeline.cpp.o
- # /tmp/nix-build-sayonara-player-1.0.0-git5-20180115.drv-0/sayonara-player/src/Components/Engine/AbstractPipeline.cpp:28:32: fatal error: gst/app/gstappsink.h: No such file or directory
- # #include
+ nativeBuildInputs = [ cmake ninja pkgconfig qttools ];
+
+ buildInputs = [
+ libpulseaudio
+ pcre
+ qtbase
+ taglib
+ zlib
+ ]
+ ++ (with gst_all_1; [
+ gstreamer
+ gst-plugins-base
+ gst-plugins-good
+ gst-plugins-bad
+ gst-plugins-ugly
+ ]);
+
+ # we carry the patched taglib 1.11.1 that doesn't break ogg but sayonara just
+ # checks for the version
+ cmakeFlags = [
+ "-DWITH_SYSTEM_TAGLIB=ON"
+ ];
+
+ # gstreamer cannot otherwise be found
NIX_CFLAGS_COMPILE = "-I${gst_all_1.gst-plugins-base.dev}/include/gstreamer-1.0";
- meta = with stdenv.lib;
- { description = "Sayonara music player";
- homepage = https://sayonara-player.com/;
- license = licenses.gpl3;
- platforms = platforms.linux;
- maintainers = [ maintainers.deepfire ];
- };
+ postInstall = ''
+ qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
+ '';
+
+ meta = with lib; {
+ description = "Sayonara music player";
+ homepage = "https://sayonara-player.com/";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ deepfire ];
+ platforms = platforms.unix;
+ };
}
diff --git a/pkgs/applications/audio/schismtracker/default.nix b/pkgs/applications/audio/schismtracker/default.nix
index ab1a6e38738..f902b2dd41b 100644
--- a/pkgs/applications/audio/schismtracker/default.nix
+++ b/pkgs/applications/audio/schismtracker/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "20120105";
- name = "schismtracker-${version}";
+ pname = "schismtracker";
src = fetchurl {
- url = "http://schismtracker.org/dl/${name}.tar.bz2";
+ url = "http://schismtracker.org/dl/${pname}-${version}.tar.bz2";
sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii";
};
diff --git a/pkgs/applications/audio/seq24/default.nix b/pkgs/applications/audio/seq24/default.nix
index d47ede27ece..9bab024f021 100644
--- a/pkgs/applications/audio/seq24/default.nix
+++ b/pkgs/applications/audio/seq24/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, alsaLib, gtkmm2, libjack2, pkgconfig }:
stdenv.mkDerivation rec {
- name = "seq24-${version}";
+ pname = "seq24";
version = "0.9.3";
src = fetchurl {
- url = "https://launchpad.net/seq24/trunk/${version}/+download/${name}.tar.gz";
+ url = "https://launchpad.net/seq24/trunk/${version}/+download/${pname}-${version}.tar.gz";
sha256 = "1qpyb7355s21sgy6gibkybxpzx4ikha57a8w644lca6qy9mhcwi3";
};
diff --git a/pkgs/applications/audio/setbfree/default.nix b/pkgs/applications/audio/setbfree/default.nix
index 1047734a2c1..9502cb7b7e7 100644
--- a/pkgs/applications/audio/setbfree/default.nix
+++ b/pkgs/applications/audio/setbfree/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "setbfree-${version}";
+ pname = "setbfree";
version = "0.8.8";
src = fetchurl {
diff --git a/pkgs/applications/audio/sfxr-qt/default.nix b/pkgs/applications/audio/sfxr-qt/default.nix
index a98d1431d65..706d0faa3bc 100644
--- a/pkgs/applications/audio/sfxr-qt/default.nix
+++ b/pkgs/applications/audio/sfxr-qt/default.nix
@@ -1,12 +1,15 @@
-{ stdenv, fetchFromGitHub
+{ lib
+, mkDerivation
+, fetchFromGitHub
, cmake
-, qtbase, qtquickcontrols2
+, qtbase
+, qtquickcontrols2
, SDL
, python3
}:
-stdenv.mkDerivation rec {
- name = "sfxr-qt-${version}";
+mkDerivation rec {
+ pname = "sfxr-qt";
version = "1.2.0";
src = fetchFromGitHub {
owner = "agateau";
@@ -20,12 +23,13 @@ stdenv.mkDerivation rec {
(python3.withPackages (pp: with pp; [ pyyaml jinja2 ]))
];
buildInputs = [
- qtbase qtquickcontrols2
+ qtbase
+ qtquickcontrols2
SDL
];
configurePhase = "cmake . -DCMAKE_INSTALL_PREFIX=$out";
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://github.com/agateau/sfxr-qt;
description = "A sound effect generator, QtQuick port of sfxr";
license = licenses.gpl2;
diff --git a/pkgs/applications/audio/shntool/default.nix b/pkgs/applications/audio/shntool/default.nix
index 8645251b384..e3bfc60a40a 100644
--- a/pkgs/applications/audio/shntool/default.nix
+++ b/pkgs/applications/audio/shntool/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, flac }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "3.0.10";
- name = "shntool-${version}";
+ pname = "shntool";
src = fetchurl {
url = http://www.etree.org/shnutils/shntool/dist/src/shntool-3.0.10.tar.gz;
diff --git a/pkgs/applications/audio/sidplayfp/default.nix b/pkgs/applications/audio/sidplayfp/default.nix
index b857c5b6835..aff8c173d9f 100644
--- a/pkgs/applications/audio/sidplayfp/default.nix
+++ b/pkgs/applications/audio/sidplayfp/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "1.4.4";
- name = "sidplayfp-${version}";
+ pname = "sidplayfp";
src = fetchurl {
- url = "mirror://sourceforge/sidplay-residfp/sidplayfp/1.4/${name}.tar.gz";
+ url = "mirror://sourceforge/sidplay-residfp/sidplayfp/1.4/${pname}-${version}.tar.gz";
sha256 = "0arsrg3f0fsinal22qjmj3r6500bcbgqnx26fsz049ldl716kz1m";
};
diff --git a/pkgs/applications/audio/snapcast/default.nix b/pkgs/applications/audio/snapcast/default.nix
index 5730dec6b99..21a36cecbe5 100644
--- a/pkgs/applications/audio/snapcast/default.nix
+++ b/pkgs/applications/audio/snapcast/default.nix
@@ -32,7 +32,7 @@ let
in
stdenv.mkDerivation rec {
- name = "snapcast-${version}";
+ pname = "snapcast";
version = "0.15.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/snd/default.nix b/pkgs/applications/audio/snd/default.nix
index ac69e63979b..32e241cf557 100644
--- a/pkgs/applications/audio/snd/default.nix
+++ b/pkgs/applications/audio/snd/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "snd-19.3";
+ name = "snd-19.6";
src = fetchurl {
url = "mirror://sourceforge/snd/${name}.tar.gz";
- sha256 = "16j3fqyw361wdsr1076f0p3va2y7wdzq1lvr4ijz1ajmbxdlc723";
+ sha256 = "0s2qv8sznvw6559bi39qj9p072azh9qcb2b86w6w8clz2azjaa76";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/audio/sonata/default.nix b/pkgs/applications/audio/sonata/default.nix
index d5985f097e9..ce2a4e9d2c8 100644
--- a/pkgs/applications/audio/sonata/default.nix
+++ b/pkgs/applications/audio/sonata/default.nix
@@ -41,7 +41,7 @@ in buildPythonApplication rec {
longDescription = ''
Sonata is an elegant client for the Music Player Daemon.
- Written in Python and using the GTK+ 3 widget set, its features
+ Written in Python and using the GTK 3 widget set, its features
include:
- Expanded and collapsed views
diff --git a/pkgs/applications/audio/sonic-pi/default.nix b/pkgs/applications/audio/sonic-pi/default.nix
index ee72b6cdb1a..2a39caa0865 100644
--- a/pkgs/applications/audio/sonic-pi/default.nix
+++ b/pkgs/applications/audio/sonic-pi/default.nix
@@ -1,4 +1,6 @@
-{ stdenv
+{ mkDerivation
+, lib
+, qtbase
, fetchFromGitHub
, fftwSinglePrec
, ruby
@@ -6,22 +8,23 @@
, aubio
, cmake
, pkgconfig
-, qt5
-, libsForQt5
, boost
, bash
-, makeWrapper
, jack2Full
+, supercollider
+, qscintilla
+, qwt
}:
let
- supercollider = libsForQt5.callPackage ../../../development/interpreters/supercollider {
- fftw = fftwSinglePrec;
- };
-in stdenv.mkDerivation rec {
+ supercollider_single_prec = supercollider.override { fftw = fftwSinglePrec; };
+
+in
+
+mkDerivation rec {
version = "3.1.0";
- name = "sonic-pi-${version}";
+ pname = "sonic-pi";
src = fetchFromGitHub {
owner = "samaaron";
@@ -33,15 +36,14 @@ in stdenv.mkDerivation rec {
buildInputs = [
bash
cmake
- makeWrapper
pkgconfig
- qt5.qtbase
- libsForQt5.qscintilla
- libsForQt5.qwt
+ qtbase
+ qscintilla
+ qwt
ruby
libffi
aubio
- supercollider
+ supercollider_single_prec
boost
];
@@ -80,20 +82,23 @@ in stdenv.mkDerivation rec {
installPhase = ''
runHook preInstall
-
cp -r . $out
- wrapProgram $out/bin/sonic-pi \
+ runHook postInstall
+ '';
+
+ # $out/bin/sonic-pi is a shell script, and wrapQtAppsHook doesn't wrap them.
+ dontWrapQtApps = true;
+ preFixup = ''
+ wrapQtApp "$out/bin/sonic-pi" \
--prefix PATH : ${ruby}/bin:${bash}/bin:${supercollider}/bin:${jack2Full}/bin \
--set AUBIO_LIB "${aubio}/lib/libaubio.so"
-
- runHook postInstall
'';
meta = {
homepage = http://sonic-pi.net/;
description = "Free live coding synth for everyone originally designed to support computing and music lessons within schools";
- license = stdenv.lib.licenses.mit;
- maintainers = with stdenv.lib.maintainers; [ Phlogistique kamilchm ];
- platforms = stdenv.lib.platforms.linux;
+ license = lib.licenses.mit;
+ maintainers = with lib.maintainers; [ Phlogistique kamilchm ];
+ platforms = lib.platforms.linux;
};
}
diff --git a/pkgs/applications/audio/sonic-visualiser/default.nix b/pkgs/applications/audio/sonic-visualiser/default.nix
index d5f613b4594..501d097f29f 100644
--- a/pkgs/applications/audio/sonic-visualiser/default.nix
+++ b/pkgs/applications/audio/sonic-visualiser/default.nix
@@ -7,11 +7,11 @@
}:
stdenv.mkDerivation rec {
- name = "sonic-visualiser-${version}";
+ pname = "sonic-visualiser";
version = "2.4.1";
src = fetchurl {
- url = "https://code.soundsoftware.ac.uk/attachments/download/1185/${name}.tar.gz";
+ url = "https://code.soundsoftware.ac.uk/attachments/download/1185/${pname}-${version}.tar.gz";
sha256 = "06nlha70kgrby16nyhngrv5q846xagnxdinv608v7ga7vpywwmyb";
};
diff --git a/pkgs/applications/audio/sooperlooper/default.nix b/pkgs/applications/audio/sooperlooper/default.nix
index bf4d96c6fc4..768b40a1138 100644
--- a/pkgs/applications/audio/sooperlooper/default.nix
+++ b/pkgs/applications/audio/sooperlooper/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "sooperlooper-git-${version}";
+ pname = "sooperlooper-git";
version = "2016-07-19";
src = fetchFromGitHub {
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
and the engine can be run standalone on a computer without a monitor.
'';
- version = "${version}";
+ version = version;
homepage = http://essej.net/sooperlooper/index.html;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
diff --git a/pkgs/applications/audio/sorcer/default.nix b/pkgs/applications/audio/sorcer/default.nix
index cf0b5db81f6..5d8ae0928c9 100644
--- a/pkgs/applications/audio/sorcer/default.nix
+++ b/pkgs/applications/audio/sorcer/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub , boost, cairomm, cmake, libsndfile, lv2, ntk, pkgconfig, python }:
stdenv.mkDerivation rec {
- name = "sorcer-${version}";
+ pname = "sorcer";
version = "1.1.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/soundscape-renderer/default.nix b/pkgs/applications/audio/soundscape-renderer/default.nix
index babe4edff9d..30ff41da369 100644
--- a/pkgs/applications/audio/soundscape-renderer/default.nix
+++ b/pkgs/applications/audio/soundscape-renderer/default.nix
@@ -14,8 +14,8 @@
, libGLU_combined # Needed because help2man basically does a ./ssr-binaural --help and ssr-binaural needs libGL
}:
-stdenv.mkDerivation rec {
- name = "soundscape-renderer-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "soundscape-renderer-unstable";
version = "2016-11-03";
diff --git a/pkgs/applications/audio/spectmorph/default.nix b/pkgs/applications/audio/spectmorph/default.nix
index 9557770418e..7544a3520c7 100644
--- a/pkgs/applications/audio/spectmorph/default.nix
+++ b/pkgs/applications/audio/spectmorph/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libjack2, lv2, glib, qt5, libao, cairo, libsndfile, fftwFloat }:
stdenv.mkDerivation rec {
- name = "spectmorph-${version}";
- version = "0.4.1";
+ pname = "spectmorph";
+ version = "0.5.0";
src = fetchurl {
- url = "http://spectmorph.org/files/releases/${name}.tar.bz2";
- sha256 = "0z00yvv3jl8qsx6bz9msmg09mdnj5r5d4ws5bmnylwxk182whbrv";
+ url = "http://spectmorph.org/files/releases/${pname}-${version}.tar.bz2";
+ sha256 = "003wznv3sy1b4g55vqii9pr3i3bb3zmj7nqvwrz7vjsfn2xyd1bn";
};
buildInputs = [ libjack2 lv2 glib qt5.qtbase libao cairo libsndfile fftwFloat ];
diff --git a/pkgs/applications/audio/spectrojack/default.nix b/pkgs/applications/audio/spectrojack/default.nix
index 6614e370224..4c1682b1e0b 100644
--- a/pkgs/applications/audio/spectrojack/default.nix
+++ b/pkgs/applications/audio/spectrojack/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libjack2, fftwFloat, gtk2 }:
stdenv.mkDerivation rec {
- name = "spectrojack-${version}";
+ pname = "spectrojack";
version = "0.4.1";
src = fetchurl {
- url = "http://sed.free.fr/spectrojack/${name}.tar.gz";
+ url = "http://sed.free.fr/spectrojack/${pname}-${version}.tar.gz";
sha256 = "1kiwx0kag7kq7rhg0bvckfm8r7pqmbk76ppa39cq2980jb5v8rfp";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/audio/speech-denoiser/default.nix b/pkgs/applications/audio/speech-denoiser/default.nix
index 2401dc60b09..6598d24fb07 100644
--- a/pkgs/applications/audio/speech-denoiser/default.nix
+++ b/pkgs/applications/audio/speech-denoiser/default.nix
@@ -8,7 +8,7 @@ let
sha256 = "189l6lz8sz5vr6bjyzgcsrvksl1w6crqsg0q65r94b5yjsmjnpr4";
};
- rnnoise-nu = stdenv.mkDerivation rec {
+ rnnoise-nu = stdenv.mkDerivation {
pname = "rnnoise-nu";
version = "unstable-07-10-2019";
src = speech-denoiser-src;
@@ -18,7 +18,7 @@ let
installTargets = [ "install-rnnoise-nu" ];
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "speech-denoiser";
version = "unstable-07-10-2019";
diff --git a/pkgs/applications/audio/spek/default.nix b/pkgs/applications/audio/spek/default.nix
index 8af7888f74b..f4922e388c4 100644
--- a/pkgs/applications/audio/spek/default.nix
+++ b/pkgs/applications/audio/spek/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchzip, autoconf, automake, intltool, pkgconfig, ffmpeg, wxGTK }:
stdenv.mkDerivation rec {
- name = "spek-${version}";
+ pname = "spek";
version = "0.8.3";
src = fetchzip {
- name = "${name}-src";
+ name = "${pname}-${version}-src";
url = "https://github.com/alexkay/spek/archive/v${version}.tar.gz";
sha256 = "0y4hlhswpqkqpsglrhg5xbfy1a6f9fvasgdf336vhwcjqsc3k2xv";
};
diff --git a/pkgs/applications/audio/split2flac/default.nix b/pkgs/applications/audio/split2flac/default.nix
index 372e507ed0e..3c9565df919 100644
--- a/pkgs/applications/audio/split2flac/default.nix
+++ b/pkgs/applications/audio/split2flac/default.nix
@@ -18,7 +18,7 @@ let
'';
in stdenv.mkDerivation rec {
- name = "split2flac-${version}";
+ pname = "split2flac";
version = "122";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/spotify/default.nix b/pkgs/applications/audio/spotify/default.nix
index 6e926fe11c3..3f99e22a4cb 100644
--- a/pkgs/applications/audio/spotify/default.nix
+++ b/pkgs/applications/audio/spotify/default.nix
@@ -1,5 +1,5 @@
{ fetchurl, stdenv, squashfsTools, xorg, alsaLib, makeWrapper, openssl, freetype
-, glib, pango, cairo, atk, gdk_pixbuf, gtk2, cups, nspr, nss, libpng, libnotify
+, glib, pango, cairo, atk, gdk-pixbuf, gtk2, cups, nspr, nss, libpng, libnotify
, libgcrypt, systemd, fontconfig, dbus, expat, ffmpeg_3, curl, zlib, gnome3
, at-spi2-atk
}:
@@ -32,7 +32,7 @@ let
ffmpeg_3
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk2
libgcrypt
@@ -60,7 +60,8 @@ let
in
stdenv.mkDerivation {
- name = "spotify-${version}";
+ pname = "spotify";
+ inherit version;
# fetch from snapcraft instead of the debian repository most repos fetch from.
# That is a bit more cumbersome. But the debian repository only keeps the last
@@ -77,8 +78,6 @@ stdenv.mkDerivation {
buildInputs = [ squashfsTools makeWrapper ];
- doConfigure = false;
- doBuild = false;
dontStrip = true;
dontPatchELF = true;
diff --git a/pkgs/applications/audio/spotifyd/default.nix b/pkgs/applications/audio/spotifyd/default.nix
new file mode 100644
index 00000000000..9035a2a73c5
--- /dev/null
+++ b/pkgs/applications/audio/spotifyd/default.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl
+, withALSA ? true, alsaLib ? null
+, withPulseAudio ? false, libpulseaudio ? null
+, withPortAudio ? false, portaudio ? null
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "spotifyd";
+ version = "0.2.11";
+
+ src = fetchFromGitHub {
+ owner = "Spotifyd";
+ repo = "spotifyd";
+ rev = version;
+ sha256 = "1iybk9xrrvhrcl2xl5r2xhyn1ydhrgwnnb8ldhsw5c16b32z03q1";
+ };
+
+ cargoSha256 = "1dzg4sb95ixjfhx6n4w2rgrq4481vw01nsdrbm746mz7nm71csk3";
+
+ cargoBuildFlags = [
+ "--no-default-features"
+ "--features"
+ "${stdenv.lib.optionalString withALSA "alsa_backend,"}${stdenv.lib.optionalString withPulseAudio "pulseaudio_backend,"}${stdenv.lib.optionalString withPortAudio "portaudio_backend,"}"
+ ];
+
+ nativeBuildInputs = [ pkgconfig ];
+
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optional withALSA alsaLib
+ ++ stdenv.lib.optional withPulseAudio libpulseaudio
+ ++ stdenv.lib.optional withPortAudio portaudio;
+
+ meta = with stdenv.lib; {
+ description = "An open source Spotify client running as a UNIX daemon";
+ homepage = "https://github.com/Spotifyd/spotifyd";
+ license = with licenses; [ gpl3 ];
+ maintainers = [ maintainers.anderslundstedt ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/audio/spotifywm/default.nix b/pkgs/applications/audio/spotifywm/default.nix
index 64ae9491535..2380c8e5d9e 100644
--- a/pkgs/applications/audio/spotifywm/default.nix
+++ b/pkgs/applications/audio/spotifywm/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, spotify, xorg, runtimeShell }:
-stdenv.mkDerivation rec {
- name = "spotifywm-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "spotifywm-unstable";
version = "2016-11-28";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/ssrc/default.nix b/pkgs/applications/audio/ssrc/default.nix
index 19386b47794..1247bbc19f9 100644
--- a/pkgs/applications/audio/ssrc/default.nix
+++ b/pkgs/applications/audio/ssrc/default.nix
@@ -2,7 +2,6 @@
stdenv.mkDerivation rec {
pname = "ssrc";
- name = "${pname}-${version}";
version = "1.33";
src = fetchFromGitHub {
@@ -33,7 +32,7 @@ stdenv.mkDerivation rec {
without audible degradation.
'';
- version = "${version}";
+ version = version;
homepage = http://shibatch.sourceforge.net/;
license = licenses.gpl2;
maintainers = with maintainers; [ leenaars];
diff --git a/pkgs/applications/audio/strawberry/default.nix b/pkgs/applications/audio/strawberry/default.nix
new file mode 100644
index 00000000000..83455460123
--- /dev/null
+++ b/pkgs/applications/audio/strawberry/default.nix
@@ -0,0 +1,97 @@
+{ mkDerivation
+, stdenv
+, lib
+, fetchFromGitHub
+, cmake
+, pkgconfig
+, alsaLib
+, boost
+, chromaprint
+, fftw
+, gnutls
+, libcdio
+, libmtp
+, libpthreadstubs
+, libtasn1
+, libXdmcp
+, ninja
+, pcre
+, protobuf
+, sqlite
+, taglib
+, libpulseaudio ? null
+, libselinux ? null
+, libsepol ? null
+, p11_kit ? null
+, utillinux ? null
+, qtbase
+, qtx11extras
+, qttools
+, withGstreamer ? true
+, gst_all_1 ? null
+, withVlc ? true
+, vlc ? null
+}:
+
+mkDerivation rec {
+ pname = "strawberry";
+ version = "0.6.3";
+
+ src = fetchFromGitHub {
+ owner = "jonaski";
+ repo = pname;
+ rev = version;
+ sha256 = "01j5jzzicy895kg9sjy46lbcm5kvf3642d3q5wwb2fyvyq1fbcv0";
+ };
+
+ buildInputs = [
+ alsaLib
+ boost
+ chromaprint
+ fftw
+ gnutls
+ libcdio
+ libmtp
+ libpthreadstubs
+ libtasn1
+ libXdmcp
+ pcre
+ protobuf
+ sqlite
+ taglib
+ qtbase
+ qtx11extras
+ ]
+ ++ lib.optionals stdenv.isLinux [
+ libpulseaudio
+ libselinux
+ libsepol
+ p11_kit
+ utillinux
+ ]
+ ++ lib.optionals withGstreamer (with gst_all_1; [
+ gstreamer
+ gst-plugins-base
+ gst-plugins-good
+ gst-plugins-ugly
+ ])
+ ++ lib.optional withVlc vlc;
+
+ nativeBuildInputs = [ cmake ninja pkgconfig qttools ];
+
+ cmakeFlags = [
+ "-DUSE_SYSTEM_TAGLIB=ON"
+ ];
+
+ postInstall = ''
+ qtWrapperArgs+=(--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0")
+ '';
+
+ meta = with lib; {
+ description = "Music player and music collection organizer";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ peterhoeg ];
+ # upstream says darwin should work but they lack maintainers as of 0.6.3
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/audio/streamripper/default.nix b/pkgs/applications/audio/streamripper/default.nix
index 39d1c266a37..efa87a2f72c 100644
--- a/pkgs/applications/audio/streamripper/default.nix
+++ b/pkgs/applications/audio/streamripper/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl , glib, pkgconfig, libogg, libvorbis, libmad }:
stdenv.mkDerivation rec {
- name = "streamripper-${version}";
+ pname = "streamripper";
version = "1.64.6";
src = fetchurl {
- url = "mirror://sourceforge/streamripper/${name}.tar.gz";
+ url = "mirror://sourceforge/streamripper/${pname}-${version}.tar.gz";
sha256 = "0hnyv3206r0rfprn3k7k6a0j959kagsfyrmyjm3gsf3vkhp5zmy1";
};
diff --git a/pkgs/applications/audio/sunvox/default.nix b/pkgs/applications/audio/sunvox/default.nix
index 957ee50ca7a..1a3d1a96c85 100644
--- a/pkgs/applications/audio/sunvox/default.nix
+++ b/pkgs/applications/audio/sunvox/default.nix
@@ -12,7 +12,7 @@ let
else "x86";
in
stdenv.mkDerivation rec {
- name = "SunVox-${version}";
+ pname = "SunVox";
version = "1.9.4c";
src = fetchurl {
diff --git a/pkgs/applications/audio/svox/default.nix b/pkgs/applications/audio/svox/default.nix
index 5e26b6c1cdb..8acd8e0b88b 100644
--- a/pkgs/applications/audio/svox/default.nix
+++ b/pkgs/applications/audio/svox/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit }:
-stdenv.mkDerivation rec {
- name = "svox-${version}";
+stdenv.mkDerivation {
+ pname = "svox";
version = "2017-07-18";
src = fetchgit {
diff --git a/pkgs/applications/audio/swh-lv2/default.nix b/pkgs/applications/audio/swh-lv2/default.nix
index 6fa0eb7f8f2..b59752d7cc3 100644
--- a/pkgs/applications/audio/swh-lv2/default.nix
+++ b/pkgs/applications/audio/swh-lv2/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fftwSinglePrec, libxslt, lv2, pkgconfig }:
stdenv.mkDerivation rec {
- name = "swh-lv2-${version}";
+ pname = "swh-lv2";
version = "1.0.16";
src = fetchurl {
diff --git a/pkgs/applications/audio/synthv1/default.nix b/pkgs/applications/audio/synthv1/default.nix
index 170045704ef..1c373aefb4f 100644
--- a/pkgs/applications/audio/synthv1/default.nix
+++ b/pkgs/applications/audio/synthv1/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, qt5, libjack2, alsaLib, liblo, lv2 }:
stdenv.mkDerivation rec {
- name = "synthv1-${version}";
- version = "0.9.7";
+ pname = "synthv1";
+ version = "0.9.9";
src = fetchurl {
- url = "mirror://sourceforge/synthv1/${name}.tar.gz";
- sha256 = "0i70wm430fvksi3g985farrkhgb7mwhi7j06dl66cdj1n12jzzk7";
+ url = "mirror://sourceforge/synthv1/${pname}-${version}.tar.gz";
+ sha256 = "0cvamqzg74qfr7kzk3skimskmv0j3d1rmmpbpsmfcrg8srvyx9r2";
};
buildInputs = [ qt5.qtbase qt5.qttools libjack2 alsaLib liblo lv2 ];
diff --git a/pkgs/applications/audio/tambura/default.nix b/pkgs/applications/audio/tambura/default.nix
index a739d72898e..030bb2c01a7 100644
--- a/pkgs/applications/audio/tambura/default.nix
+++ b/pkgs/applications/audio/tambura/default.nix
@@ -1,12 +1,11 @@
{ stdenv, fetchFromGitHub, faust2jaqt, faust2lv2 }:
stdenv.mkDerivation rec {
pname = "Tambura";
- name = "${pname}-${version}";
version = "1.0";
src = fetchFromGitHub {
owner = "olilarkin";
- repo = "${pname}";
+ repo = pname;
rev = "v${version}";
sha256 = "1w80cmiyzca1wirf5gypg3hcix1ky777id8wnd3k92mn1jf4a24y";
};
diff --git a/pkgs/applications/audio/tetraproc/default.nix b/pkgs/applications/audio/tetraproc/default.nix
index 257963de256..40362fdd496 100644
--- a/pkgs/applications/audio/tetraproc/default.nix
+++ b/pkgs/applications/audio/tetraproc/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "tetraproc-${version}";
+ pname = "tetraproc";
version = "0.8.6";
src = fetchurl {
- url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "02155ljfwgvfgq9z258fb4z7jrz7qx022d054fj5gr0v007cv0r7";
};
diff --git a/pkgs/applications/audio/tomahawk/default.nix b/pkgs/applications/audio/tomahawk/default.nix
index 78bd4338353..c983123ca38 100644
--- a/pkgs/applications/audio/tomahawk/default.nix
+++ b/pkgs/applications/audio/tomahawk/default.nix
@@ -12,11 +12,11 @@ assert enableKDE -> kdelibs4 != null;
assert enableTelepathy -> telepathy-qt != null;
stdenv.mkDerivation rec {
- name = "tomahawk-${version}";
+ pname = "tomahawk";
version = "0.8.4";
src = fetchurl {
- url = "http://download.tomahawk-player.org/${name}.tar.bz2";
+ url = "http://download.tomahawk-player.org/${pname}-${version}.tar.bz2";
sha256 = "0j84h36wkjfjbsd7ybyji7rcc9wpjdbl0f1xdcc1g7h0nz34pc0g";
};
diff --git a/pkgs/applications/audio/transcribe/default.nix b/pkgs/applications/audio/transcribe/default.nix
index 29021e870af..8eb846ac9c5 100644
--- a/pkgs/applications/audio/transcribe/default.nix
+++ b/pkgs/applications/audio/transcribe/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchzip, wrapGAppsHook, alsaLib, atk, cairo, gdk_pixbuf
+{ stdenv, fetchzip, wrapGAppsHook, alsaLib, atk, cairo, gdk-pixbuf
, glib, gst_all_1, gtk3, libSM, libX11, libpng12, pango, zlib }:
stdenv.mkDerivation rec {
- name = "transcribe-${version}";
+ pname = "transcribe";
version = "8.72";
src = if stdenv.hostPlatform.system == "i686-linux" then
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
dontPatchELF = true;
libPath = with gst_all_1; stdenv.lib.makeLibraryPath [
- stdenv.cc.cc glib gtk3 atk pango cairo gdk_pixbuf alsaLib
+ stdenv.cc.cc glib gtk3 atk pango cairo gdk-pixbuf alsaLib
libX11 libSM libpng12 gstreamer gst-plugins-base zlib
];
diff --git a/pkgs/applications/audio/traverso/default.nix b/pkgs/applications/audio/traverso/default.nix
index 0c432acf4af..9188003ce66 100644
--- a/pkgs/applications/audio/traverso/default.nix
+++ b/pkgs/applications/audio/traverso/default.nix
@@ -2,8 +2,8 @@
, alsaLib, fftw, flac, lame, libjack2, libmad, libpulseaudio
, libsamplerate, libsndfile, libvorbis, portaudio, qtbase, wavpack
}:
-stdenv.mkDerivation rec {
- name = "traverso-${version}";
+stdenv.mkDerivation {
+ pname = "traverso";
version = "0.49.6";
src = fetchurl {
diff --git a/pkgs/applications/audio/tree-from-tags/Gemfile b/pkgs/applications/audio/tree-from-tags/Gemfile
new file mode 100644
index 00000000000..24f308f3f42
--- /dev/null
+++ b/pkgs/applications/audio/tree-from-tags/Gemfile
@@ -0,0 +1,3 @@
+source "https://rubygems.org"
+
+gem "taglib-ruby"
diff --git a/pkgs/applications/audio/tree-from-tags/Gemfile.lock b/pkgs/applications/audio/tree-from-tags/Gemfile.lock
new file mode 100644
index 00000000000..2ef77caa6f6
--- /dev/null
+++ b/pkgs/applications/audio/tree-from-tags/Gemfile.lock
@@ -0,0 +1,13 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ taglib-ruby (0.7.1)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ taglib-ruby
+
+BUNDLED WITH
+ 1.16.3
diff --git a/pkgs/applications/audio/tree-from-tags/default.nix b/pkgs/applications/audio/tree-from-tags/default.nix
new file mode 100644
index 00000000000..521133cb08f
--- /dev/null
+++ b/pkgs/applications/audio/tree-from-tags/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, bundlerEnv, ruby, fetchFromGitHub }:
+let
+ version = "1.1";
+ gems = bundlerEnv {
+ name = "tree-from-tags-${version}-gems";
+ inherit ruby;
+ gemdir = ./.;
+ };
+in stdenv.mkDerivation {
+ pname = "tree-from-tags";
+ inherit version;
+ src = fetchFromGitHub {
+ owner = "dbrock";
+ repo = "bongo";
+ rev = version;
+ sha256 = "1nszph9mn98flyhn1jq3y6mdh6jymjkvj5ng36ql016dj92apvhv";
+ };
+ buildInputs = [ gems ruby ];
+ installPhase = ''
+ mkdir -p $out/{bin,share}
+ cp tree-from-tags.rb $out/share/
+ bin=$out/bin/tree-from-tags
+# we are using bundle exec to start in the bundled environment
+ cat > $bin <" ""
substituteInPlace compile.mk --replace "-march=nocona" ""
- substituteInPlace Makefile \
- --replace "-Wl,-Bstatic" "" \
- --replace "-lglfw3" "-lglfw"
'';
enableParallelBuilding = true;
@@ -60,13 +64,12 @@ with stdenv.lib; stdenv.mkDerivation rec {
installPhase = ''
install -D -m755 -t $out/bin Rack
- cp -r res $out/
- mkdir -p $out/share/rack
- cp LICENSE.txt LICENSE-dist.txt $out/share/rack
+ mkdir -p $out/share/vcv-rack
+ cp -r res Core.json template.vcv LICENSE* cacert.pem $out/share/vcv-rack
# Override the default global resource file directory
- wrapProgram $out/bin/Rack --add-flags "-g $out"
+ wrapProgram $out/bin/Rack --add-flags "-s $out/share/vcv-rack"
'';
meta = with stdenv.lib; {
@@ -75,7 +78,7 @@ with stdenv.lib; stdenv.mkDerivation rec {
# The source is BSD-3 licensed, some of the art is CC-BY-NC 4.0 or under a
# no-derivatives clause
license = with licenses; [ bsd3 cc-by-nc-40 unfreeRedistributable ];
- maintainers = with maintainers; [ moredread ];
+ maintainers = with maintainers; [ moredread nathyong ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/audio/vcv-rack/glfw.patch b/pkgs/applications/audio/vcv-rack/glfw.patch
new file mode 100644
index 00000000000..77875415160
--- /dev/null
+++ b/pkgs/applications/audio/vcv-rack/glfw.patch
@@ -0,0 +1,13 @@
+diff --git a/src/init.c b/src/init.c
+index af4a579e..317e25b8 100644
+--- a/src/init.c
++++ b/src/init.c
+@@ -339,7 +339,7 @@ GLFWAPI GLFWerrorfun glfwSetErrorCallback(GLFWerrorfun cbfun)
+
+ char glfwOpenedFilename[1024];
+
+-const char *glfwGetOpenedFilename()
++GLFWAPI const char *glfwGetOpenedFilename()
+ {
+ if (glfwOpenedFilename[0])
+ {
diff --git a/pkgs/applications/audio/vcv-rack/rack-minimize-vendoring.patch b/pkgs/applications/audio/vcv-rack/rack-minimize-vendoring.patch
new file mode 100644
index 00000000000..eca9c2f13c0
--- /dev/null
+++ b/pkgs/applications/audio/vcv-rack/rack-minimize-vendoring.patch
@@ -0,0 +1,14 @@
+diff -ru a/Makefile b/Makefile
+--- a/Makefile 1970-01-01 01:00:01.000000000 +0100
++++ b/Makefile 1970-01-01 01:00:01.000000000 +0100
+@@ -21,8 +21,8 @@
+ build/dep/osdialog/osdialog_gtk2.c.o: FLAGS += $(shell pkg-config --cflags gtk+-2.0)
+
+ LDFLAGS += -rdynamic \
+- dep/lib/libglfw3.a dep/lib/libGLEW.a dep/lib/libjansson.a dep/lib/libspeexdsp.a dep/lib/libzip.a dep/lib/libz.a dep/lib/librtmidi.a dep/lib/librtaudio.a dep/lib/libcurl.a dep/lib/libssl.a dep/lib/libcrypto.a \
+- -lpthread -lGL -ldl -lX11 -lasound -ljack \
++ -lGLEW -ljansson -lspeexdsp -lzip -lz -lrtmidi -lrtaudio -lcurl -lssl -lcrypto \
++ -lpthread -lGL -ldl -lX11 -lasound -ljack -lglfw \
+ $(shell pkg-config --libs gtk+-2.0)
+ TARGET := Rack
+ endif
diff --git a/pkgs/applications/audio/vimpc/default.nix b/pkgs/applications/audio/vimpc/default.nix
index ce561b5db31..7f02ea9cefe 100644
--- a/pkgs/applications/audio/vimpc/default.nix
+++ b/pkgs/applications/audio/vimpc/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "0.09.2";
- name = "vimpc-${version}";
+ pname = "vimpc";
src = fetchFromGitHub {
owner = "boysetsfrog";
diff --git a/pkgs/applications/audio/vkeybd/default.nix b/pkgs/applications/audio/vkeybd/default.nix
index b7b0fba2d54..485edaa1ff2 100644
--- a/pkgs/applications/audio/vkeybd/default.nix
+++ b/pkgs/applications/audio/vkeybd/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, alsaLib, libX11, makeWrapper, tcl, tk }:
stdenv.mkDerivation rec {
- name = "vkeybd-${version}";
+ pname = "vkeybd";
version = "0.1.18d";
src = fetchurl {
- url = "ftp://ftp.suse.com/pub/people/tiwai/vkeybd/${name}.tar.bz2";
+ url = "ftp://ftp.suse.com/pub/people/tiwai/vkeybd/${pname}-${version}.tar.bz2";
sha256 = "0107b5j1gf7dwp7qb4w2snj4bqiyps53d66qzl2rwj4jfpakws5a";
};
diff --git a/pkgs/applications/audio/vmpk/default.nix b/pkgs/applications/audio/vmpk/default.nix
index dde96764fe6..2bc40a78af4 100644
--- a/pkgs/applications/audio/vmpk/default.nix
+++ b/pkgs/applications/audio/vmpk/default.nix
@@ -5,7 +5,8 @@
let
version = "0.5.1";
in stdenv.mkDerivation rec {
- name = "vmpk-${version}";
+ pname = "vmpk";
+ inherit version;
meta = with stdenv.lib; {
description = "Virtual MIDI Piano Keyboard";
@@ -15,7 +16,7 @@ in stdenv.mkDerivation rec {
};
src = fetchurl {
- url = "mirror://sourceforge/vmpk/${version}/${name}.tar.bz2";
+ url = "mirror://sourceforge/vmpk/${version}/${pname}-${version}.tar.bz2";
sha256 = "11fqnxgs9hr9255d93n7lazxzjwn8jpmn23nywdksh0pb1ffvfrc";
};
diff --git a/pkgs/applications/audio/vocal/default.nix b/pkgs/applications/audio/vocal/default.nix
index c89fe9ef26e..c4333b09f18 100644
--- a/pkgs/applications/audio/vocal/default.nix
+++ b/pkgs/applications/audio/vocal/default.nix
@@ -14,7 +14,6 @@
, libnotify
, sqlite
, gst_all_1
-, libsoup
, json-glib
, libgee
, wrapGAppsHook
@@ -22,13 +21,13 @@
stdenv.mkDerivation rec {
pname = "vocal";
- version = "2.4.1";
+ version = "2.4.2";
src = fetchFromGitHub {
owner = "needle-and-thread";
repo = pname;
rev = version;
- sha256 = "0jz72nmc6qmadsvcpk339x1fm4wg6yx9r1bagr7mcgnz3x5papnr";
+ sha256 = "1c4n89rdl9r13kmmh2qymmy9sa6shjwai7df48k2kfn0pnzq5mad";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix
index 382a1a8b2e2..79801f2e99f 100644
--- a/pkgs/applications/audio/whipper/default.nix
+++ b/pkgs/applications/audio/whipper/default.nix
@@ -30,7 +30,7 @@ python2.pkgs.buildPythonApplication rec {
];
makeWrapperArgs = [
- "--prefix" "PATH" ":" "${stdenv.lib.makeBinPath [ accuraterip-checksum cdrdao utillinux flac sox ]}"
+ "--prefix" "PATH" ":" (stdenv.lib.makeBinPath [ accuraterip-checksum cdrdao utillinux flac sox ])
];
# some tests require internet access
diff --git a/pkgs/applications/audio/wolf-shaper/default.nix b/pkgs/applications/audio/wolf-shaper/default.nix
index 562fdc1be8b..13bf1d674c7 100644
--- a/pkgs/applications/audio/wolf-shaper/default.nix
+++ b/pkgs/applications/audio/wolf-shaper/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub , libjack2, lv2, xorg, liblo, libGL, libXcursor, pkgconfig }:
stdenv.mkDerivation rec {
- name = "wolf-shaper-${version}";
- version = "0.1.6";
+ pname = "wolf-shaper";
+ version = "0.1.7";
src = fetchFromGitHub {
owner = "pdesaulniers";
repo = "wolf-shaper";
rev = "v${version}";
- sha256 = "01h5dm1nrr0i54ancwznr7wn4vpw08dw0b69v3axy32r5j7plw6s";
+ sha256 = "0lllgcbnnh1m95bp29hh17x170hl7170zizjrvy892qfkn36830d";
fetchSubmodules = true;
};
diff --git a/pkgs/applications/audio/x42-plugins/default.nix b/pkgs/applications/audio/x42-plugins/default.nix
index 7e43225eedc..22594d3ec85 100644
--- a/pkgs/applications/audio/x42-plugins/default.nix
+++ b/pkgs/applications/audio/x42-plugins/default.nix
@@ -3,12 +3,12 @@
, libGLU, lv2, gtk2, cairo, pango, fftwFloat, zita-convolver }:
stdenv.mkDerivation rec {
- version = "20190206";
- name = "x42-plugins-${version}";
+ version = "20190714";
+ pname = "x42-plugins";
src = fetchurl {
- url = "https://gareus.org/misc/x42-plugins/${name}.tar.xz";
- sha256 = "0rsp8lm8zr20l410whr98d61401rkphgpl8llbn5p2wsiw0q9aqd";
+ url = "https://gareus.org/misc/x42-plugins/${pname}-${version}.tar.xz";
+ sha256 = "1mifmdy9pi1lg0h4nsvyjjnnni41vhgg34lks94mrx46wq90bgx4";
};
nativeBuildInputs = [ pkgconfig ];
@@ -26,6 +26,8 @@ stdenv.mkDerivation rec {
patchPhase = ''
patchShebangs ./stepseq.lv2/gridgen.sh
+ patchShebangs ./matrixmixer.lv2/genttl.sh #TODO: remove at next update, see https://github.com/x42/matrixmixer.lv2/issues/2
+ patchShebangs ./matrixmixer.lv2/genhead.sh #TODO: remove at next update, see https://github.com/x42/matrixmixer.lv2/issues/2
sed -i 's|/usr/include/zita-convolver.h|${zita-convolver}/include/zita-convolver.h|g' ./convoLV2/Makefile
'';
diff --git a/pkgs/applications/audio/xsynth-dssi/default.nix b/pkgs/applications/audio/xsynth-dssi/default.nix
index a55b47a6c16..c0803ffa418 100644
--- a/pkgs/applications/audio/xsynth-dssi/default.nix
+++ b/pkgs/applications/audio/xsynth-dssi/default.nix
@@ -2,11 +2,11 @@
ladspaH, ladspaPlugins, liblo, pkgconfig }:
stdenv.mkDerivation rec {
- name = "xsynth-dssi-${version}";
+ pname = "xsynth-dssi";
version = "0.9.4";
src = fetchurl {
- url = "mirror://sourceforge/dssi/${name}.tar.gz";
+ url = "mirror://sourceforge/dssi/${pname}-${version}.tar.gz";
sha256 = "00nwv2pqjbmxqdc6xdm0cljq6z05lv4y6bibmhz1kih9lm0lklnk";
};
diff --git a/pkgs/applications/audio/yasr/default.nix b/pkgs/applications/audio/yasr/default.nix
index ca6d6240688..c8902f1dda4 100644
--- a/pkgs/applications/audio/yasr/default.nix
+++ b/pkgs/applications/audio/yasr/default.nix
@@ -1,12 +1,12 @@
{stdenv,fetchurl}:
stdenv.mkDerivation rec {
- name = "yasr-${version}";
+ pname = "yasr";
version = "0.6.9";
src = fetchurl {
- url = "https://sourceforge.net/projects/yasr/files/yasr/${version}/${name}.tar.gz";
+ url = "https://sourceforge.net/projects/yasr/files/yasr/${version}/${pname}-${version}.tar.gz";
sha256 = "1prv9r9y6jb5ga5578ldiw507fa414m60xhlvjl29278p3x7rwa1";
};
diff --git a/pkgs/applications/audio/ympd/default.nix b/pkgs/applications/audio/ympd/default.nix
index b800df016c9..7976f747717 100644
--- a/pkgs/applications/audio/ympd/default.nix
+++ b/pkgs/applications/audio/ympd/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, mpd_clientlib, openssl }:
stdenv.mkDerivation rec {
- name = "ympd-${version}";
+ pname = "ympd";
version = "1.3.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/audio/yoshimi/default.nix b/pkgs/applications/audio/yoshimi/default.nix
index 63bb966e388..0936fe5a8ed 100644
--- a/pkgs/applications/audio/yoshimi/default.nix
+++ b/pkgs/applications/audio/yoshimi/default.nix
@@ -5,12 +5,12 @@
assert stdenv ? glibc;
stdenv.mkDerivation rec {
- name = "yoshimi-${version}";
- version = "1.5.10.2";
+ pname = "yoshimi";
+ version = "1.5.11.3";
src = fetchurl {
- url = "mirror://sourceforge/yoshimi/${name}.tar.bz2";
- sha256 = "1rr99qkq80s8l2iv3x4ccxan07m15dvmd5s9b10386bfjbwbya01";
+ url = "mirror://sourceforge/yoshimi/${pname}-${version}.tar.bz2";
+ sha256 = "00w0ll94dpss9f1rnaxjmw6mgjx5q2dz8w4mc3wyrk4s4gbd7154";
};
buildInputs = [
diff --git a/pkgs/applications/audio/zam-plugins/default.nix b/pkgs/applications/audio/zam-plugins/default.nix
index 210d0f7e989..eeeb8ae2ea4 100644
--- a/pkgs/applications/audio/zam-plugins/default.nix
+++ b/pkgs/applications/audio/zam-plugins/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchgit , boost, libX11, libGLU_combined, liblo, libjack2, ladspaH, lv2, pkgconfig, rubberband, libsndfile, fftwFloat, libsamplerate }:
-stdenv.mkDerivation rec {
- name = "zam-plugins-${version}";
- version = "3.10";
+stdenv.mkDerivation {
+ pname = "zam-plugins";
+ version = "3.11";
src = fetchgit {
url = "https://github.com/zamaudio/zam-plugins.git";
deepClone = true;
- rev = "a3321af1892a6994d64fb705e48ae8adf8d7df20";
- sha256 = "0yqrs21ph2lx00p0jlc70qkmzfrnf9ihg1r3i9j5n2r903ljdg5p";
+ rev = "af338057e42dd5d07cba1889bfc74eda517c6147";
+ sha256 = "1qbskhcvy2k2xv0f32lw13smz5g72v0yy47zv6vnhnaiaqf3f2d5";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/audio/zita-njbridge/default.nix b/pkgs/applications/audio/zita-njbridge/default.nix
index faa90e684ae..1ec6946cf38 100644
--- a/pkgs/applications/audio/zita-njbridge/default.nix
+++ b/pkgs/applications/audio/zita-njbridge/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.4.4";
- name = "zita-njbridge-${version}";
+ pname = "zita-njbridge";
src = fetchurl {
- url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "https://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1l8rszdjhp0gq7mr54sdgfs6y6cmw11ssmqb1v9yrkrz5rmwzg8j";
};
diff --git a/pkgs/applications/audio/zynaddsubfx/default.nix b/pkgs/applications/audio/zynaddsubfx/default.nix
index 7bc1c07befa..e22bf9ed653 100644
--- a/pkgs/applications/audio/zynaddsubfx/default.nix
+++ b/pkgs/applications/audio/zynaddsubfx/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "zynaddsubfx-${version}";
+ pname = "zynaddsubfx";
version = "3.0.5";
src = fetchurl {
diff --git a/pkgs/applications/backup/areca/default.nix b/pkgs/applications/backup/areca/default.nix
index a9647b11eee..d02aa4b8444 100644
--- a/pkgs/applications/backup/areca/default.nix
+++ b/pkgs/applications/backup/areca/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, ant, jre, jdk, swt, acl, attr }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "areca-7.5";
src = fetchurl {
diff --git a/pkgs/applications/backup/crashplan/CrashPlanDesktop.patch b/pkgs/applications/backup/crashplan/CrashPlanDesktop.patch
deleted file mode 100644
index 7fa68ba4a38..00000000000
--- a/pkgs/applications/backup/crashplan/CrashPlanDesktop.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- ./scripts/CrashPlanDesktop 2016-03-02 21:01:58.000000000 -0500
-+++ ./scripts/CrashPlanDesktop-1 2016-03-18 20:52:10.117686266 -0400
-@@ -11,7 +11,7 @@
- cd ${TARGETDIR}
-
- if [ "_${VERSION_5_UI}" == "_true" ]; then
-- ${TARGETDIR}/electron/crashplan > ${TARGETDIR}/log/ui_output.log 2> ${TARGETDIR}/log/ui_error.log &
-+ ${TARGETDIR}/electron/crashplan &
- else
-- ${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop > ${TARGETDIR}/log/ui_output.log 2> ${TARGETDIR}/log/ui_error.log &
-+ ${JAVACOMMON} ${GUI_JAVA_OPTS} -classpath "./lib/com.backup42.desktop.jar:./lang:./skin" com.backup42.desktop.CPDesktop &
- fi
diff --git a/pkgs/applications/backup/crashplan/CrashPlanEngine.patch b/pkgs/applications/backup/crashplan/CrashPlanEngine.patch
deleted file mode 100644
index de2afe2da68..00000000000
--- a/pkgs/applications/backup/crashplan/CrashPlanEngine.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- ./scripts/CrashPlanEngine 2014-02-19 23:17:19.000000000 +0000
-+++ ./scripts/CrashPlanEngine.1 2014-07-24 17:36:37.330333581 +0100
-@@ -11,7 +11,7 @@
-
- cd $TARGETDIR
-
-- nice -n 19 $JAVACOMMON $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $TARGETDIR/log/engine_output.log 2> $TARGETDIR/log/engine_error.log &
-+ nice -n 19 $JAVACOMMON $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $VARDIR/log/engine_output.log 2> $VARDIR/log/engine_error.log &
-
- if [[ $! -gt 0 ]]; then
- echo $! > $PIDFILE
-@@ -26,7 +26,7 @@
-
- echo "Using Ubuntu 9.04 startup"
-
-- start-stop-daemon -v --pidfile $PIDFILE --make-pidfile --background --chdir $TARGETDIR --start --nicelevel 19 --exec $JAVACOMMON -- $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $TARGETDIR/log/engine_output.log 2> $TARGETDIR/log/engine_error.log
-+ start-stop-daemon -v --pidfile $PIDFILE --make-pidfile --background --chdir $TARGETDIR --start --nicelevel 19 --exec $JAVACOMMON -- $SRV_JAVA_OPTS -classpath $FULL_CP com.backup42.service.CPService > $VARDIR/log/engine_output.log 2> $VARDIR/log/engine_error.log
-
- # This test isn't as useful as one might like; start-stop-daemon can't accurately report the state of child processes when --background is used.
- # We use this mainly to report the specific error value returned by start-stop-daemon if something goes wrong, but be aware that a return value
-@@ -91,7 +91,6 @@
- DESC="CrashPlan Engine"
- NAME=CrashPlanEngine
- DAEMON=$TARGETDIR/lib/com.backup42.desktop.jar
--PIDFILE="$TARGETDIR/${NAME}.pid"
-
- if [[ -f $TARGETDIR/install.vars ]]; then
- . $TARGETDIR/install.vars
-@@ -100,6 +99,8 @@
- exit 1
- fi
-
-+PIDFILE="$VARDIR/${NAME}.pid"
-+
- if [[ ! -f $DAEMON ]]; then
- echo "Could not find JAR file $DAEMON"
- exit 0
diff --git a/pkgs/applications/backup/crashplan/crashplan-small-business.nix b/pkgs/applications/backup/crashplan/crashplan-small-business.nix
deleted file mode 100644
index 2016d21c592..00000000000
--- a/pkgs/applications/backup/crashplan/crashplan-small-business.nix
+++ /dev/null
@@ -1,103 +0,0 @@
-{ stdenv, fetchurl, makeWrapper, getopt, jre, cpio, gawk, gnugrep, gnused,
- procps, which, gtk2, atk, glib, pango, gdk_pixbuf, cairo, freetype,
- fontconfig, dbus, gconf, nss, nspr, alsaLib, cups, expat, udev,
- libX11, libxcb, libXi, libXcursor, libXdamage, libXrandr, libXcomposite,
- libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nodePackages,
- maxRam ? "1024m" }:
-
-stdenv.mkDerivation rec {
- version = "6.7.0";
- rev = "1512021600670_4503";
- pname = "CrashPlanSmb";
- name = "${pname}_${version}_${rev}";
-
- src = fetchurl {
- url = "https://web-eam-msp.crashplanpro.com/client/installers/${name}_Linux.tgz";
- sha256 = "0f7ykfxaqjlvv4hv12yc5z8y1vjsysdblv53byml7i1fy1r0q26q";
- };
-
- nativeBuildInputs = [ makeWrapper cpio nodePackages.asar ];
- buildInputs = [ getopt which ];
-
- vardir = "/var/lib/crashplan";
- manifestdir = "${vardir}/manifest";
-
- postPatch = ''
- # patch scripts/CrashPlanEngine
- substituteInPlace scripts/CrashPlanEngine \
- --replace /bin/ps ${procps}/bin/ps \
- --replace awk ${gawk}/bin/awk \
- --replace '`sed' '`${gnused}/bin/sed' \
- --replace grep ${gnugrep}/bin/grep \
- --replace TARGETDIR/log VARDIR/log \
- --replace TARGETDIR/\''${NAME} VARDIR/\''${NAME} \
- --replace \$TARGETDIR/bin/run.conf $out/bin/run.conf \
- --replace \$VARDIR ${vardir}
-
- # patch scripts/CrashPlanDesktop
- substituteInPlace scripts/CrashPlanDesktop \
- --replace awk ${gawk}/bin/awk \
- --replace "\"\$SCRIPTDIR/..\"" "$out" \
- --replace "\$(dirname \$SCRIPT)" "$out" \
- --replace "\''${TARGETDIR}/log" ${vardir}/log \
- --replace "\''${TARGETDIR}" "$out"
- '';
-
- installPhase = ''
- mkdir $out
- zcat -v ${pname}_${version}.cpi | (cd $out; cpio -i -d -v --no-preserve-owner)
-
- install -D -m 755 scripts/CrashPlanDesktop $out/bin/CrashPlanDesktop
- install -D -m 755 scripts/CrashPlanEngine $out/bin/CrashPlanEngine
- install -D -m 644 scripts/run.conf $out/bin/run.conf
- install -D -m 644 scripts/CrashPlan.desktop $out/share/applications/CrashPlan.desktop
-
- # unpack, patch and repack app.asar to stop electron from creating /usr/local/crashplan/log to store the ui logs.
- asar e $out/app.asar $out/app.asar-unpacked
- rm -v $out/app.asar
- substituteInPlace $out/app.asar-unpacked/shared_modules/shell/platform_paths.js \
- --replace "getLogFileParentPath();" "\"$vardir/log\";"
- asar p $out/app.asar-unpacked $out/app.asar
-
- mv -v $out/*.asar $out/electron/resources
- chmod 755 "$out/electron/crashplan"
-
- rm -r $out/log
- mv -v $out/conf $out/conf.template
- ln -s $vardir/log $out/log
- ln -s $vardir/cache $out/cache
- ln -s $vardir/conf $out/conf
-
- substituteInPlace $out/bin/run.conf \
- --replace "-Xmx1024m" "-Xmx${maxRam}"
-
- echo "JAVACOMMON=${jre}/bin/java" > $out/install.vars
- echo "APP_BASENAME=CrashPlan" >> $out/install.vars
- echo "TARGETDIR=$out" >> $out/install.vars
- echo "BINSDIR=$out/bin" >> $out/install.vars
- echo "MANIFESTDIR=${manifestdir}" >> $out/install.vars
- echo "VARDIR=${vardir}" >> $out/install.vars
- echo "INITDIR=" >> $out/install.vars
- echo "RUNLVLDIR=" >> $out/install.vars
- echo "INSTALLDATE=" >> $out/install.vars
-
- '';
-
- postFixup = ''
- patchelf --set-interpreter ${stdenv.glibc}/lib/ld-linux-x86-64.so.2 $out/electron/crashplan
- wrapProgram $out/bin/CrashPlanDesktop --prefix LD_LIBRARY_PATH ":" "${stdenv.lib.makeLibraryPath [
- stdenv.cc.cc.lib gtk2 atk glib pango gdk_pixbuf cairo freetype
- fontconfig dbus gconf nss nspr alsaLib cups expat udev
- libX11 libxcb libXi libXcursor libXdamage libXrandr libXcomposite
- libXext libXfixes libXrender libXtst libXScrnSaver]}"
- '';
-
- meta = with stdenv.lib; {
- description = "An online backup solution";
- homepage = http://www.crashplan.com/business/;
- license = licenses.unfree;
- platforms = [ "x86_64-linux" ];
- maintainers = with maintainers; [ xvapx ];
- broken = true; # 2018-12-06
- };
-}
diff --git a/pkgs/applications/backup/crashplan/default.nix b/pkgs/applications/backup/crashplan/default.nix
deleted file mode 100644
index 2c76891b3f9..00000000000
--- a/pkgs/applications/backup/crashplan/default.nix
+++ /dev/null
@@ -1,81 +0,0 @@
-{ stdenv, fetchurl, makeWrapper, jre, cpio, gawk, gnugrep, gnused, procps, gtk2, glib, libXtst }:
-
-stdenv.mkDerivation rec {
- version = "4.8.3";
- rev = "1"; #tracks unversioned changes that occur on download.code42.com from time to time
- name = "crashplan-${version}-r${rev}";
-
- src = fetchurl {
- url = "https://download.code42.com/installs/linux/install/CrashPlan/CrashPlan_${version}_Linux.tgz";
- sha256 = "c25d87ec1d442a396b668547e39b70d66dcfe02250cc57a25916ebb42a407113";
- };
-
- meta = with stdenv.lib; {
- description = "An online/offline backup solution";
- homepage = http://www.crashplan.org;
- license = licenses.unfree;
- maintainers = with maintainers; [ sztupi domenkozar jerith666 ];
- };
-
- buildInputs = [ makeWrapper cpio ];
-
- vardir = "/var/lib/crashplan";
-
- manifestdir = "${vardir}/manifest";
-
- patches = [ ./CrashPlanEngine.patch ./CrashPlanDesktop.patch ];
-
- installPhase = ''
- mkdir $out
- zcat -v CrashPlan_${version}.cpi | (cd $out; cpio -i -d -v --no-preserve-owner)
-
- # sed -i "s|manifest|${manifestdir}|g" $out/conf/default.service.xml
-
- # Fix for encoding troubles (CrashPlan ticket 178827)
- # Make sure the daemon is running using the same localization as
- # the (installing) user
- echo "" >> run.conf
- echo "LC_ALL=en_US.UTF-8" >> run.conf
-
- install -d -m 755 unpacked $out
-
- install -D -m 644 run.conf $out/bin/run.conf
- install -D -m 755 scripts/CrashPlanDesktop $out/bin/CrashPlanDesktop
- install -D -m 755 scripts/CrashPlanEngine $out/bin/CrashPlanEngine
- install -D -m 644 scripts/CrashPlan.desktop $out/share/applications/CrashPlan.desktop
-
- rm -r $out/log
- mv -v $out/conf $out/conf.template
- ln -s $vardir/log $out/log
- ln -s $vardir/cache $out/cache
- ln -s $vardir/backupArchives $out/backupArchives
- ln -s $vardir/conf $out/conf
-
- echo "JAVACOMMON=${jre}/bin/java" > $out/install.vars
- echo "APP_BASENAME=CrashPlan" >> $out/install.vars
- echo "TARGETDIR=${vardir}" >> $out/install.vars
- echo "BINSDIR=$out/bin" >> $out/install.vars
- echo "MANIFESTDIR=${manifestdir}" >> $out/install.vars
- echo "VARDIR=${vardir}" >> $out/install.vars
- echo "INITDIR=" >> $out/install.vars
- echo "RUNLVLDIR=" >> $out/install.vars
- echo "INSTALLDATE=" >> $out/install.vars
- '';
-
- postFixup = ''
- for f in $out/bin/CrashPlanDesktop $out/bin/CrashPlanEngine; do
- echo "substitutions in $f"
- substituteInPlace $f --replace /bin/ps ${procps}/bin/ps
- substituteInPlace $f --replace awk ${gawk}/bin/awk
- substituteInPlace $f --replace sed ${gnused}/bin/sed
- substituteInPlace $f --replace grep ${gnugrep}/bin/grep
- done
-
- substituteInPlace $out/share/applications/CrashPlan.desktop \
- --replace /usr/local $out \
- --replace crashplan/skin skin \
- --replace bin/CrashPlanDesktop CrashPlanDesktop
-
- wrapProgram $out/bin/CrashPlanDesktop --prefix LD_LIBRARY_PATH ":" "${stdenv.lib.makeLibraryPath [ gtk2 glib libXtst ]}"
- '';
-}
diff --git a/pkgs/applications/backup/deja-dup/default.nix b/pkgs/applications/backup/deja-dup/default.nix
index 4f8e520cb9f..7120a1934f6 100644
--- a/pkgs/applications/backup/deja-dup/default.nix
+++ b/pkgs/applications/backup/deja-dup/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, substituteAll, meson, ninja, pkgconfig, vala_0_40, gettext
-, gnome3, libnotify, itstool, glib, gtk3, libxml2
+, gnome3, libnotify, itstool, glib, gtk3, libxml2, gnome-online-accounts
, coreutils, libpeas, libsecret, pcre, libxkbcommon, wrapGAppsHook
, libpthreadstubs, libXdmcp, epoxy, at-spi2-core, dbus, libgpgerror
, appstream-glib, desktop-file-utils, duplicity
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
];
postPatch = ''
- substituteInPlace deja-dup/nautilus/NautilusExtension.c --subst-var-by DEJA_DUP_GSETTINGS_PATH $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas
+ substituteInPlace deja-dup/nautilus/NautilusExtension.c --subst-var-by DEJA_DUP_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
'';
nativeBuildInputs = [
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
buildInputs = [
libnotify libpeas glib gtk3 libsecret
pcre libxkbcommon libpthreadstubs libXdmcp epoxy gnome3.nautilus
- at-spi2-core dbus gnome3.gnome-online-accounts libgpgerror
+ at-spi2-core dbus gnome-online-accounts libgpgerror
];
propagatedUserEnvPkgs = [ duplicity ];
diff --git a/pkgs/applications/backup/vdmfec/default.nix b/pkgs/applications/backup/vdmfec/default.nix
index 3a480f70d4b..1366bb484a9 100644
--- a/pkgs/applications/backup/vdmfec/default.nix
+++ b/pkgs/applications/backup/vdmfec/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "vdmfec-${version}";
+ pname = "vdmfec";
version = "1.0";
src = fetchurl {
- url = "http://members.tripod.com/professor_tom/archives/${name}.tgz";
+ url = "http://members.tripod.com/professor_tom/archives/${pname}-${version}.tgz";
sha256 = "0i7q4ylx2xmzzq778anpkj4nqir5gf573n1lbpxnbc10ymsjq2rm";
};
diff --git a/pkgs/applications/altcoins/aeon/default.nix b/pkgs/applications/blockchains/aeon/default.nix
similarity index 96%
rename from pkgs/applications/altcoins/aeon/default.nix
rename to pkgs/applications/blockchains/aeon/default.nix
index 5a09641c70d..d65889be3ac 100644
--- a/pkgs/applications/altcoins/aeon/default.nix
+++ b/pkgs/applications/blockchains/aeon/default.nix
@@ -7,7 +7,8 @@ let
version = "0.12.9.0";
in
stdenv.mkDerivation {
- name = "aeon-${version}";
+ pname = "aeon";
+ inherit version;
src = fetchFromGitHub {
owner = "aeonix";
diff --git a/pkgs/applications/altcoins/bitcoin-abc.nix b/pkgs/applications/blockchains/bitcoin-abc.nix
similarity index 100%
rename from pkgs/applications/altcoins/bitcoin-abc.nix
rename to pkgs/applications/blockchains/bitcoin-abc.nix
diff --git a/pkgs/applications/altcoins/bitcoin-classic.nix b/pkgs/applications/blockchains/bitcoin-classic.nix
similarity index 91%
rename from pkgs/applications/altcoins/bitcoin-classic.nix
rename to pkgs/applications/blockchains/bitcoin-classic.nix
index ad48ea2a625..ddce5c3f715 100644
--- a/pkgs/applications/altcoins/bitcoin-classic.nix
+++ b/pkgs/applications/blockchains/bitcoin-classic.nix
@@ -16,15 +16,15 @@ stdenv.mkDerivation rec {
sha256 = "06ij9v7zbdnhxq9429nnxiw655cp8idldj18l7fmj94gqx07n5vh";
};
- patches = [ ./fix-bitcoin-qt-build.patch ];
-
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db48 boost zlib
miniupnpc utillinux protobuf libevent ]
++ optionals withGui [ qtbase qttools qrencode ];
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
- ++ optionals withGui [ "--with-gui=qt5" ];
+ ++ optionals withGui [ "--with-gui=qt5"
+ "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
+ ];
enableParallelBuilding = true;
diff --git a/pkgs/applications/altcoins/bitcoin-unlimited.nix b/pkgs/applications/blockchains/bitcoin-unlimited.nix
similarity index 79%
rename from pkgs/applications/altcoins/bitcoin-unlimited.nix
rename to pkgs/applications/blockchains/bitcoin-unlimited.nix
index 13ec55bb589..a75b20b3910 100644
--- a/pkgs/applications/altcoins/bitcoin-unlimited.nix
+++ b/pkgs/applications/blockchains/bitcoin-unlimited.nix
@@ -1,34 +1,32 @@
{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
-, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
-, withGui
+, zlib, miniupnpc, utillinux, protobuf, qrencode, libevent, python3
+, withGui, wrapQtAppsHook ? null, qtbase ? null, qttools ? null
, Foundation, ApplicationServices, AppKit }:
with stdenv.lib;
stdenv.mkDerivation rec {
-
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-unlimited-" + version;
- version = "1.0.3.0";
+ version = "1.6.0.1";
src = fetchFromGitHub {
owner = "bitcoinunlimited";
repo = "bitcoinunlimited";
- rev = "v${version}";
- sha256 = "0l02a7h502msrp4c02wgm7f3159ap8l61k4890vas99gq7ywxkcx";
+ rev = "bucash${version}";
+ sha256 = "0f0mnal4jf8xdj7w5m4rdlcqkrkbpxi88c006m5k45lmjmj141zr";
};
- nativeBuildInputs = [ pkgconfig autoreconfHook ];
+ nativeBuildInputs = [ pkgconfig autoreconfHook python3 ]
+ ++ optionals withGui [ wrapQtAppsHook qttools ];
buildInputs = [ openssl db48 boost zlib
miniupnpc utillinux protobuf libevent ]
- ++ optionals withGui [ qt4 qrencode ]
+ ++ optionals withGui [ qtbase qttools qrencode ]
++ optionals stdenv.isDarwin [ Foundation ApplicationServices AppKit ];
- patches = [
- ./bitcoin-unlimited-const-comparators.patch
- ];
-
configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ]
- ++ optionals withGui [ "--with-gui=qt4" ];
+ ++ optionals withGui [ "--with-gui=qt5"
+ "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin"
+ ];
enableParallelBuilding = true;
meta = {
diff --git a/pkgs/applications/altcoins/bitcoin.nix b/pkgs/applications/blockchains/bitcoin.nix
similarity index 76%
rename from pkgs/applications/altcoins/bitcoin.nix
rename to pkgs/applications/blockchains/bitcoin.nix
index d1802f774f2..b1d84f91251 100644
--- a/pkgs/applications/altcoins/bitcoin.nix
+++ b/pkgs/applications/blockchains/bitcoin.nix
@@ -1,20 +1,22 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, openssl, db48, boost, zeromq, rapidcheck
-, zlib, miniupnpc, qtbase ? null, qttools ? null, utillinux, protobuf, python3, qrencode, libevent
+, zlib, miniupnpc, qtbase ? null, qttools ? null, wrapQtAppsHook ? null, utillinux, protobuf, python3, qrencode, libevent
, withGui }:
with stdenv.lib;
stdenv.mkDerivation rec{
name = "bitcoin" + (toString (optional (!withGui) "d")) + "-" + version;
- version = "0.18.0";
+ version = "0.18.1";
src = fetchurl {
urls = [ "https://bitcoincore.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
"https://bitcoin.org/bin/bitcoin-core-${version}/bitcoin-${version}.tar.gz"
];
- sha256 = "5e4e6890e07b620a93fdb24605dae2bb53e8435b2a93d37558e1db1913df405f";
+ sha256 = "5c7d93f15579e37aa2d1dc79e8f5ac675f59045fceddf604ae0f1550eb03bf96";
};
- nativeBuildInputs = [ pkgconfig autoreconfHook ];
+ nativeBuildInputs =
+ [ pkgconfig autoreconfHook ]
+ ++ optional withGui wrapQtAppsHook;
buildInputs = [ openssl db48 boost zlib zeromq
miniupnpc protobuf libevent]
++ optionals stdenv.isLinux [ utillinux ]
@@ -34,10 +36,11 @@ stdenv.mkDerivation rec{
doCheck = true;
- # QT_PLUGIN_PATH needs to be set when executing QT, which is needed when testing Bitcoin's GUI.
- # See also https://github.com/NixOS/nixpkgs/issues/24256
- checkFlags = optionals withGui [ "QT_PLUGIN_PATH=${qtbase}/lib/qt-5.${versions.minor qtbase.version}/plugins" ]
- ++ [ "LC_ALL=C.UTF-8" ];
+ checkFlags =
+ [ "LC_ALL=C.UTF-8" ]
+ # QT_PLUGIN_PATH needs to be set when executing QT, which is needed when testing Bitcoin's GUI.
+ # See also https://github.com/NixOS/nixpkgs/issues/24256
+ ++ optional withGui "QT_PLUGIN_PATH=${qtbase}/${qtbase.qtPluginPrefix}";
enableParallelBuilding = true;
diff --git a/pkgs/applications/altcoins/btc1.nix b/pkgs/applications/blockchains/btc1.nix
similarity index 95%
rename from pkgs/applications/altcoins/btc1.nix
rename to pkgs/applications/blockchains/btc1.nix
index 2f85a894797..3241148aee1 100644
--- a/pkgs/applications/altcoins/btc1.nix
+++ b/pkgs/applications/blockchains/btc1.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, autoreconfHook, hexdump, openssl, db48
-, boost, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
+, boost, zlib, miniupnpc, qt4, protobuf, qrencode, libevent
, AppKit
, withGui ? !stdenv.isDarwin
}:
diff --git a/pkgs/applications/altcoins/clightning.nix b/pkgs/applications/blockchains/clightning.nix
similarity index 69%
rename from pkgs/applications/altcoins/clightning.nix
rename to pkgs/applications/blockchains/clightning.nix
index 5f81dc76ecf..b20a6b3e8aa 100644
--- a/pkgs/applications/altcoins/clightning.nix
+++ b/pkgs/applications/blockchains/clightning.nix
@@ -3,36 +3,32 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "clightning-${version}";
- version = "0.7.0";
+ pname = "clightning";
+ version = "0.7.2.1";
src = fetchurl {
url = "https://github.com/ElementsProject/lightning/releases/download/v${version}/clightning-v${version}.zip";
- sha256 = "448022c2433cbf19bbd0f726344b0500c0c21ee5cc2291edf6b622f094cb3a15";
+ sha256 = "3be716948efc1208b5e6a41e3034e4e4eecc5abbdac769fd1d999a104ac3a2ec";
};
enableParallelBuilding = true;
nativeBuildInputs = [ autoconf autogen automake libtool pkgconfig which unzip ];
- buildInputs = [ sqlite gmp zlib python3 ];
+ buildInputs =
+ let py3 = python3.withPackages (p: [ p.Mako ]);
+ in [ sqlite gmp zlib py3 ];
makeFlags = [ "prefix=$(out) VERSION=v${version}" ];
- patches = [
- # remove after 0.7.0
- (fetchpatch {
- name = "fix-0.7.0-build.patch";
- url = "https://github.com/ElementsProject/lightning/commit/ffc03d2bc84dc42f745959fbb6c8007cf0a6f701.patch";
- sha256 = "1m5fiz3m8k3nk09nldii8ij94bg6fqllqgdbiwj3sy12vihs8c4v";
- })
- ];
-
configurePhase = ''
./configure --prefix=$out --disable-developer --disable-valgrind
'';
postPatch = ''
- patchShebangs tools/generate-wire.py
+ patchShebangs \
+ tools/generate-wire.py \
+ tools/update-mocks.sh \
+ tools/mockup.sh
'';
doCheck = false;
diff --git a/pkgs/applications/altcoins/cryptop/default.nix b/pkgs/applications/blockchains/cryptop/default.nix
similarity index 100%
rename from pkgs/applications/altcoins/cryptop/default.nix
rename to pkgs/applications/blockchains/cryptop/default.nix
diff --git a/pkgs/applications/altcoins/dashpay.nix b/pkgs/applications/blockchains/dashpay.nix
similarity index 97%
rename from pkgs/applications/altcoins/dashpay.nix
rename to pkgs/applications/blockchains/dashpay.nix
index b2f2a457a99..03dcd6cb54e 100644
--- a/pkgs/applications/altcoins/dashpay.nix
+++ b/pkgs/applications/blockchains/dashpay.nix
@@ -8,7 +8,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "dashpay-${version}";
+ pname = "dashpay";
version = "0.12.2.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/altcoins/dcrd.nix b/pkgs/applications/blockchains/dcrd.nix
similarity index 96%
rename from pkgs/applications/altcoins/dcrd.nix
rename to pkgs/applications/blockchains/dcrd.nix
index cc3e83befa6..16d39e85da1 100644
--- a/pkgs/applications/altcoins/dcrd.nix
+++ b/pkgs/applications/blockchains/dcrd.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, go, buildGoPackage, dep, fetchgit, git, cacert }:
buildGoPackage rec {
- name = "dcrd-${version}";
+ pname = "dcrd";
version = "1.1.2";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/decred/dcrd";
diff --git a/pkgs/applications/altcoins/dcrwallet.nix b/pkgs/applications/blockchains/dcrwallet.nix
similarity index 96%
rename from pkgs/applications/altcoins/dcrwallet.nix
rename to pkgs/applications/blockchains/dcrwallet.nix
index 8d966684b23..163ed2615d3 100644
--- a/pkgs/applications/altcoins/dcrwallet.nix
+++ b/pkgs/applications/blockchains/dcrwallet.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, go, buildGoPackage, dep, fetchgit, git, cacert }:
buildGoPackage rec {
- name = "dcrwallet-${version}";
+ pname = "dcrwallet";
version = "1.1.2";
rev = "refs/tags/v${version}";
goPackagePath = "github.com/decred/dcrwallet";
diff --git a/pkgs/applications/altcoins/dero.nix b/pkgs/applications/blockchains/dero.nix
similarity index 96%
rename from pkgs/applications/altcoins/dero.nix
rename to pkgs/applications/blockchains/dero.nix
index 8405ea8f842..0ab63bb5395 100644
--- a/pkgs/applications/altcoins/dero.nix
+++ b/pkgs/applications/blockchains/dero.nix
@@ -2,7 +2,7 @@
, lmdb, miniupnpc, readline }:
stdenv.mkDerivation rec {
- name = "dero-${version}";
+ pname = "dero";
version = "0.11.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/altcoins/dogecoin.nix b/pkgs/applications/blockchains/dogecoin.nix
similarity index 85%
rename from pkgs/applications/altcoins/dogecoin.nix
rename to pkgs/applications/blockchains/dogecoin.nix
index 0452f401334..e5f149a0efe 100644
--- a/pkgs/applications/altcoins/dogecoin.nix
+++ b/pkgs/applications/blockchains/dogecoin.nix
@@ -1,24 +1,24 @@
{ stdenv , fetchFromGitHub
, pkgconfig, autoreconfHook
-, db5, openssl, boost, zlib, miniupnpc
+, db5, openssl, boost, zlib, miniupnpc, libevent
, protobuf, utillinux, qt4, qrencode
, withGui }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "dogecoin" + (toString (optional (!withGui) "d")) + "-" + version;
- version = "1.10.0";
+ version = "1.14.1";
src = fetchFromGitHub {
owner = "dogecoin";
repo = "dogecoin";
rev = "v${version}";
- sha256 = "04rddx20d4fps2w3h1jxa2j8iyqpjv2fh897z0z3r06qjvjzf7rr";
+ sha256 = "0nmbi5gmms16baqs3fmdp2xm0yf8wawnyz80gcmca4j5ph2zka1v";
};
nativeBuildInputs = [ pkgconfig autoreconfHook ];
buildInputs = [ openssl db5 openssl utillinux
- protobuf boost zlib miniupnpc ]
+ protobuf boost zlib miniupnpc libevent ]
++ optionals withGui [ qt4 qrencode ];
configureFlags = [ "--with-incompatible-bdb"
diff --git a/pkgs/applications/altcoins/ethabi.nix b/pkgs/applications/blockchains/ethabi.nix
similarity index 84%
rename from pkgs/applications/altcoins/ethabi.nix
rename to pkgs/applications/blockchains/ethabi.nix
index 10cf19ccb39..5bc81a6daf6 100644
--- a/pkgs/applications/altcoins/ethabi.nix
+++ b/pkgs/applications/blockchains/ethabi.nix
@@ -3,7 +3,7 @@
with rustPlatform;
buildRustPackage rec {
- name = "ethabi-${version}";
+ pname = "ethabi";
version = "7.0.0";
src = fetchFromGitHub {
@@ -13,7 +13,7 @@ buildRustPackage rec {
sha256 = "1gqd3vwsvv1wvi659qcdywgmh41swblpwmmxb033k8irw581dwq4";
};
- cargoSha256 = "0ckj5s5fr7xdqpnn4m9zwa1w71g6wwqqvax6f4xkijxdcx83n6c2";
+ cargoSha256 = "0zkdai31jf8f5syklaxq43ydjvp5xclr8pd6y1q6vkwjz6z49hzm";
cargoBuildFlags = ["--features cli"];
diff --git a/pkgs/applications/altcoins/exodus/default.nix b/pkgs/applications/blockchains/exodus/default.nix
similarity index 91%
rename from pkgs/applications/altcoins/exodus/default.nix
rename to pkgs/applications/blockchains/exodus/default.nix
index 6531640d93f..bc354a5213e 100644
--- a/pkgs/applications/altcoins/exodus/default.nix
+++ b/pkgs/applications/blockchains/exodus/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, lib, makeWrapper, fetchurl, unzip, glib, systemd, nss, nspr, gtk3-x11, gnome2,
-atk, cairo, gdk_pixbuf, xorg, xorg_sys_opengl, utillinux, alsaLib, dbus, at-spi2-atk,
+{ stdenv, lib, fetchurl, unzip, glib, systemd, nss, nspr, gtk3-x11, gnome2,
+atk, cairo, gdk-pixbuf, xorg, xorg_sys_opengl, utillinux, alsaLib, dbus, at-spi2-atk,
cups, vivaldi-ffmpeg-codecs, libpulseaudio }:
stdenv.mkDerivation rec {
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
gnome2.pango
atk
cairo
- gdk_pixbuf
+ gdk-pixbuf
xorg.libX11
xorg.libxcb
xorg.libXcomposite
diff --git a/pkgs/applications/altcoins/fix-bitcoin-qt-build.patch b/pkgs/applications/blockchains/fix-bitcoin-qt-build.patch
similarity index 100%
rename from pkgs/applications/altcoins/fix-bitcoin-qt-build.patch
rename to pkgs/applications/blockchains/fix-bitcoin-qt-build.patch
diff --git a/pkgs/applications/altcoins/freicoin.nix b/pkgs/applications/blockchains/freicoin.nix
similarity index 87%
rename from pkgs/applications/altcoins/freicoin.nix
rename to pkgs/applications/blockchains/freicoin.nix
index 78ce074eafd..6cf84f76f91 100644
--- a/pkgs/applications/altcoins/freicoin.nix
+++ b/pkgs/applications/blockchains/freicoin.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.8.6-2";
- name = "freicoin-${version}";
+ pname = "freicoin";
src = fetchFromGitHub {
owner = "freicoin";
@@ -34,5 +34,8 @@ stdenv.mkDerivation rec {
license = licenses.mit;
maintainers = [ maintainers.viric ];
platforms = platforms.linux;
+
+ # upstream doesn't support newer openssl versions, use 1.0.1 for testing
+ broken = true;
};
}
diff --git a/pkgs/applications/altcoins/go-ethereum.nix b/pkgs/applications/blockchains/go-ethereum.nix
similarity index 52%
rename from pkgs/applications/altcoins/go-ethereum.nix
rename to pkgs/applications/blockchains/go-ethereum.nix
index 1e16eb78cef..5f347fe91e9 100644
--- a/pkgs/applications/altcoins/go-ethereum.nix
+++ b/pkgs/applications/blockchains/go-ethereum.nix
@@ -1,8 +1,8 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, libobjc, IOKit, fetchpatch }:
+{ stdenv, buildGoPackage, fetchFromGitHub, libobjc, IOKit }:
buildGoPackage rec {
pname = "go-ethereum";
- version = "1.8.27";
+ version = "1.9.3";
goPackagePath = "github.com/ethereum/go-ethereum";
@@ -13,28 +13,17 @@ buildGoPackage rec {
# Fixes Cgo related build failures (see https://github.com/NixOS/nixpkgs/issues/25959 )
hardeningDisable = [ "fortify" ];
- # Apply ethereum/go-ethereum#19183 to fix the aarch64 build failure.
- #
- # TODO Remove this patch when upstream (https://github.com/ethereum/go-ethereum)
- # fix this problem in the future release.
- patches = [
- (fetchpatch {
- url = "https://github.com/ethereum/go-ethereum/commit/39bd2609.patch";
- sha256 = "1a362hzvcjk505hicv25kziy3c6s5an4j7rk4jibcxwgvygb3mz5";
- })
- ];
-
src = fetchFromGitHub {
owner = "ethereum";
repo = pname;
rev = "v${version}";
- sha256 = "1640y7lqy7bvjjgx6wp0cnbw632ls5fj4ixclr819lfz4p5dfhx1";
+ sha256 = "0lv6gxp34j26hqazcvyr4c7rsl1vljm6cfzkcmlapsjdgym505bg";
};
meta = with stdenv.lib; {
- homepage = https://ethereum.github.io/go-ethereum/;
+ homepage = "https://geth.ethereum.org/";
description = "Official golang implementation of the Ethereum protocol";
license = with licenses; [ lgpl3 gpl3 ];
- maintainers = with maintainers; [ adisbladis asymmetric lionello ];
+ maintainers = with maintainers; [ adisbladis asymmetric lionello xrelkd ];
};
}
diff --git a/pkgs/applications/blockchains/jormungandr/default.nix b/pkgs/applications/blockchains/jormungandr/default.nix
new file mode 100644
index 00000000000..8c276d6bb80
--- /dev/null
+++ b/pkgs/applications/blockchains/jormungandr/default.nix
@@ -0,0 +1,55 @@
+{ stdenv
+, lib
+, fetchgit
+, rustPlatform
+, openssl
+, pkgconfig
+, protobuf
+, darwin
+}:
+
+rustPlatform.buildRustPackage rec {
+ pname = "jormungandr";
+ version = "0.3.3";
+
+ src = fetchgit {
+ url = "https://github.com/input-output-hk/${pname}";
+ rev = "v${version}";
+ sha256 = "1fw3cl2rxnw9mww1b1z96x2iapwbpdgyp4ra19dhvfzmlvaiml5j";
+ fetchSubmodules = true;
+ };
+
+ cargoSha256 = "1ilp9ffaz3njv38mnqics4b5d7wh52mj4rwi71h5c0wzx4ww3zal";
+
+ nativeBuildInputs = [ pkgconfig protobuf ];
+ buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
+
+ patchPhase = ''
+ sed -i "s~SCRIPTPATH=.*~SCRIPTPATH=$out/templates/~g" scripts/bootstrap
+ '';
+
+ installPhase = ''
+ install -d $out/bin $out/templates
+ install -m755 target/*/release/jormungandr $out/bin/
+ install -m755 target/*/release/jcli $out/bin/
+ install -m755 scripts/send-transaction $out/templates
+ install -m755 scripts/jcli-helpers $out/bin/
+ install -m755 scripts/bootstrap $out/bin/jormungandr-bootstrap
+ install -m644 scripts/faucet-send-money.shtempl $out/templates/
+ install -m644 scripts/create-account-and-delegate.shtempl $out/templates/
+ install -m644 scripts/faucet-send-certificate.shtempl $out/templates/
+ '';
+
+ PROTOC = "${protobuf}/bin/protoc";
+
+ # Disabling integration tests
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ description = "An aspiring blockchain node";
+ homepage = "https://input-output-hk.github.io/jormungandr/";
+ license = licenses.mit;
+ maintainers = [ maintainers.mmahut ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/blockchains/ledger-live-desktop/default.nix b/pkgs/applications/blockchains/ledger-live-desktop/default.nix
new file mode 100644
index 00000000000..0417d2913de
--- /dev/null
+++ b/pkgs/applications/blockchains/ledger-live-desktop/default.nix
@@ -0,0 +1,50 @@
+{ stdenv, fetchurl, makeDesktopItem, makeWrapper, appimage-run }:
+
+stdenv.mkDerivation rec {
+ pname = "ledger-live-desktop";
+ version = "1.12.0";
+
+ src = fetchurl {
+ url = "https://github.com/LedgerHQ/${pname}/releases/download/v${version}/${pname}-${version}-linux-x86_64.AppImage";
+ sha256 = "0sn0ri8kqvy36d6vjwsb0mh54nwic58416m6q5drl1schsn6wyvj";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+ buildInputs = [ appimage-run ];
+
+ desktopIcon = fetchurl {
+ url = "https://raw.githubusercontent.com/LedgerHQ/${pname}/v${version}/build/icon.png";
+ sha256 = "1mmfaf0yk7xf1kgbs3ka8wsbz1qgh60xj6z91ica1i7lw2qbdd5h";
+ };
+
+ desktopItem = makeDesktopItem {
+ name = pname;
+ exec = "${placeholder "out"}/bin/${pname}";
+ icon = pname;
+ desktopName = "Ledger Live";
+ categories = "Utility;";
+ };
+
+ unpackPhase = ":";
+
+ installPhase = ''
+ runHook preInstall
+
+ ${desktopItem.buildCommand}
+ install -D $src $out/share/${src.name}
+ install -Dm -x ${desktopIcon} \
+ $out/share/icons/hicolor/1024x1024/apps/${pname}.png
+ makeWrapper ${appimage-run}/bin/appimage-run $out/bin/${pname} \
+ --add-flags $out/share/${src.name}
+
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Wallet app for Ledger Nano S and Ledger Blue";
+ homepage = "https://www.ledger.com/live";
+ license = licenses.mit;
+ maintainers = with maintainers; [ thedavidmeister ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/altcoins/litecoin.nix b/pkgs/applications/blockchains/litecoin.nix
similarity index 100%
rename from pkgs/applications/altcoins/litecoin.nix
rename to pkgs/applications/blockchains/litecoin.nix
diff --git a/pkgs/applications/blockchains/lnd.nix b/pkgs/applications/blockchains/lnd.nix
new file mode 100644
index 00000000000..27f10c963c0
--- /dev/null
+++ b/pkgs/applications/blockchains/lnd.nix
@@ -0,0 +1,22 @@
+{ buildGoModule, fetchFromGitHub, lib }:
+
+buildGoModule rec {
+ pname = "lnd";
+ version = "0.7.1-beta";
+
+ src = fetchFromGitHub {
+ owner = "lightningnetwork";
+ repo = "lnd";
+ rev = "v${version}";
+ sha256 = "1c0sm0lavdai4w6d283q54knggw9d42vvqmglnv2h9swbw1l23ry";
+ };
+
+ modSha256 = "13hjaf4bswk8g57lyxzdlqqp4a6ddl3qm6n4jja4b1h58mlbil73";
+
+ meta = with lib; {
+ description = "Lightning Network Daemon";
+ homepage = "https://github.com/lightningnetwork/lnd";
+ license = lib.licenses.mit;
+ maintainers = with maintainers; [ cypherpunk2140 ];
+ };
+}
diff --git a/pkgs/applications/altcoins/masari.nix b/pkgs/applications/blockchains/masari.nix
similarity index 96%
rename from pkgs/applications/altcoins/masari.nix
rename to pkgs/applications/blockchains/masari.nix
index 02a6d25df51..dfa005abb6e 100644
--- a/pkgs/applications/altcoins/masari.nix
+++ b/pkgs/applications/blockchains/masari.nix
@@ -2,7 +2,7 @@
, lmdb, miniupnpc, readline }:
stdenv.mkDerivation rec {
- name = "masari-${version}";
+ pname = "masari";
version = "0.1.4.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/altcoins/mist.nix b/pkgs/applications/blockchains/mist.nix
similarity index 100%
rename from pkgs/applications/altcoins/mist.nix
rename to pkgs/applications/blockchains/mist.nix
diff --git a/pkgs/applications/altcoins/monero-gui/default.nix b/pkgs/applications/blockchains/monero-gui/default.nix
similarity index 61%
rename from pkgs/applications/altcoins/monero-gui/default.nix
rename to pkgs/applications/blockchains/monero-gui/default.nix
index f597d6b6527..92f6f008021 100644
--- a/pkgs/applications/altcoins/monero-gui/default.nix
+++ b/pkgs/applications/blockchains/monero-gui/default.nix
@@ -1,5 +1,4 @@
-{ stdenv, fetchFromGitHub
-, makeWrapper, makeDesktopItem
+{ mkDerivation, lib, makeDesktopItem, fetchFromGitHub
, qtbase, qmake, qtmultimedia, qttools
, qtgraphicaleffects, qtdeclarative
, qtlocation, qtquickcontrols, qtquickcontrols2
@@ -9,29 +8,17 @@
, hidapi
}:
-with stdenv.lib;
+with lib;
-let
- qmlPath = qmlLib: "${qmlLib}/${qtbase.qtQmlPrefix}";
-
- qml2ImportPath = concatMapStringsSep ":" qmlPath [
- qtbase.bin qtmultimedia.bin qtgraphicaleffects
- qtdeclarative.bin qtlocation.bin
- qtquickcontrols qtquickcontrols2.bin
- qtwebchannel.bin qtwebengine.bin qtxmlpatterns
- ];
-
-in
-
-stdenv.mkDerivation rec {
- name = "monero-gui-${version}";
- version = "0.14.0.0";
+mkDerivation rec {
+ pname = "monero-gui";
+ version = "0.14.1.2";
src = fetchFromGitHub {
owner = "monero-project";
repo = "monero-gui";
rev = "v${version}";
- sha256 = "1l4kx2vidr7bpds43jdbwyaz0q1dy7sricpz061ff1fkappbxdh8";
+ sha256 = "1rm043r6y2mzy8pclnzbjjfxgps8pkfa2b92p66k8y8rdmgq6m1k";
};
nativeBuildInputs = [ qmake pkgconfig ];
@@ -43,13 +30,10 @@ stdenv.mkDerivation rec {
qtwebchannel qtwebengine qtx11extras
qtxmlpatterns monero unbound readline
boost libunwind libsodium pcsclite zeromq
- cppzmq makeWrapper hidapi
+ cppzmq hidapi
];
- patches = [
- ./move-log-file.patch
- ./move-translations-dir.patch
- ];
+ patches = [ ./move-log-file.patch ];
postPatch = ''
echo '
@@ -83,10 +67,6 @@ stdenv.mkDerivation rec {
mkdir -p $out/share/applications
cp ${desktopItem}/share/applications/* $out/share/applications
- # install translations
- mkdir -p $out/share/translations
- cp translations/*.qm $out/share/translations/
-
# install icons
for n in 16 24 32 48 64 96 128 256; do
size=$n"x"$n
@@ -94,18 +74,14 @@ stdenv.mkDerivation rec {
cp $src/images/appicons/$size.png \
$out/share/icons/hicolor/$size/apps/monero.png
done;
-
- # wrap runtime dependencies
- wrapProgram $out/bin/monero-wallet-gui \
- --set QML2_IMPORT_PATH "${qml2ImportPath}" \
- --set QT_PLUGIN_PATH "${qtbase.bin}/${qtbase.qtPluginPrefix}"
'';
meta = {
- description = "Private, secure, untraceable currency";
- homepage = https://getmonero.org/;
- license = licenses.bsd3;
- platforms = [ "x86_64-linux" ];
- maintainers = with maintainers; [ rnhmjoj ];
+ description = "Private, secure, untraceable currency";
+ homepage = https://getmonero.org/;
+ license = licenses.bsd3;
+ platforms = platforms.all;
+ badPlatforms = platforms.darwin;
+ maintainers = with maintainers; [ rnhmjoj ];
};
}
diff --git a/pkgs/applications/blockchains/monero-gui/move-log-file.patch b/pkgs/applications/blockchains/monero-gui/move-log-file.patch
new file mode 100644
index 00000000000..e540f1960d6
--- /dev/null
+++ b/pkgs/applications/blockchains/monero-gui/move-log-file.patch
@@ -0,0 +1,15 @@
+diff --git a/main.cpp b/main.cpp
+index a51568d..5a9f683 100644
+--- a/main.cpp
++++ b/main.cpp
+@@ -152,7 +152,9 @@ int main(int argc, char *argv[])
+ QCommandLineOption logPathOption(QStringList() << "l" << "log-file",
+ QCoreApplication::translate("main", "Log to specified file"),
+ QCoreApplication::translate("main", "file"));
+-
++ logPathOption.setDefaultValue(
++ QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
++ + "/monero-wallet-gui.log");
+ parser.addOption(logPathOption);
+ parser.addHelpOption();
+ parser.process(app);
diff --git a/pkgs/applications/altcoins/monero/default.nix b/pkgs/applications/blockchains/monero/default.nix
similarity index 86%
rename from pkgs/applications/altcoins/monero/default.nix
rename to pkgs/applications/blockchains/monero/default.nix
index 94c277f63eb..b6f07452861 100644
--- a/pkgs/applications/altcoins/monero/default.nix
+++ b/pkgs/applications/blockchains/monero/default.nix
@@ -2,6 +2,7 @@
, cmake, pkgconfig, git
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline, libsodium, hidapi
+, python3Packages
, CoreData, IOKit, PCSC
}:
@@ -10,13 +11,13 @@ assert stdenv.isDarwin -> IOKit != null;
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "monero-${version}";
- version = "0.14.0.2";
+ pname = "monero";
+ version = "0.14.1.0";
src = fetchgit {
url = "https://github.com/monero-project/monero.git";
rev = "v${version}";
- sha256 = "1471iy6c8dfdqcmcwcp0m7fp9xl74dcm5hqlfdfi217abhawfs8k";
+ sha256 = "1asa197fad81jfv12qgaa7y7pdr1r1pda96m9pvivkh4v30cx0nh";
};
nativeBuildInputs = [ cmake pkgconfig git ];
@@ -25,6 +26,7 @@ stdenv.mkDerivation rec {
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
libsodium hidapi
+ python3Packages.protobuf
] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
cmakeFlags = [
diff --git a/pkgs/applications/altcoins/namecoin.nix b/pkgs/applications/blockchains/namecoin.nix
similarity index 100%
rename from pkgs/applications/altcoins/namecoin.nix
rename to pkgs/applications/blockchains/namecoin.nix
diff --git a/pkgs/applications/altcoins/nano-wallet/CMakeLists.txt.patch b/pkgs/applications/blockchains/nano-wallet/CMakeLists.txt.patch
similarity index 100%
rename from pkgs/applications/altcoins/nano-wallet/CMakeLists.txt.patch
rename to pkgs/applications/blockchains/nano-wallet/CMakeLists.txt.patch
diff --git a/pkgs/applications/altcoins/nano-wallet/default.nix b/pkgs/applications/blockchains/nano-wallet/default.nix
similarity index 74%
rename from pkgs/applications/altcoins/nano-wallet/default.nix
rename to pkgs/applications/blockchains/nano-wallet/default.nix
index 58ab367c020..2b7ae5d9c6e 100644
--- a/pkgs/applications/altcoins/nano-wallet/default.nix
+++ b/pkgs/applications/blockchains/nano-wallet/default.nix
@@ -1,15 +1,16 @@
-{lib, stdenv, fetchFromGitHub, cmake, pkgconfig, boost, libGL, qtbase}:
+{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook, boost, libGL
+, qtbase}:
stdenv.mkDerivation rec {
- name = "nano-wallet-${version}";
- version = "18.0";
+ pname = "nano-wallet";
+ version = "19.0";
src = fetchFromGitHub {
owner = "nanocurrency";
repo = "raiblocks";
rev = "V${version}";
- sha256 = "03f9g1x7rs7vic9yzsjxsh5ddx9ys78rssbfghbccfw9qrwylh3y";
+ sha256 = "1y5fc4cvfqh33imjkh91sqhy5bb9kh0icwyvdgm1cl564vnjax80";
fetchSubmodules = true;
};
@@ -20,7 +21,7 @@ stdenv.mkDerivation rec {
cmakeFlags = let
options = {
- BOOST_ROOT = "${boost}";
+ BOOST_ROOT = boost;
Boost_USE_STATIC_LIBS = "OFF";
RAIBLOCKS_GUI = "ON";
RAIBLOCKS_TEST = "ON";
@@ -32,13 +33,19 @@ stdenv.mkDerivation rec {
optionToFlag = name: value: "-D${name}=${value}";
in lib.mapAttrsToList optionToFlag options;
- nativeBuildInputs = [ cmake pkgconfig ];
+ nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [ boost libGL qtbase ];
buildPhase = ''
make nano_wallet
'';
+ # Move executables under bin directory
+ postInstall = ''
+ mkdir -p $out/bin
+ mv $out/nano* $out/bin/
+ '';
+
checkPhase = ''
./core_test
'';
diff --git a/pkgs/applications/altcoins/parity-ui/default.nix b/pkgs/applications/blockchains/parity-ui/default.nix
similarity index 95%
rename from pkgs/applications/altcoins/parity-ui/default.nix
rename to pkgs/applications/blockchains/parity-ui/default.nix
index c59b2ccb8ac..0615aed2ca0 100644
--- a/pkgs/applications/altcoins/parity-ui/default.nix
+++ b/pkgs/applications/blockchains/parity-ui/default.nix
@@ -5,13 +5,13 @@ let
uiEnv = pkgs.callPackage ./env.nix { };
in stdenv.mkDerivation rec {
- name = "parity-ui-${version}";
+ pname = "parity-ui";
version = "0.3.4";
src = fetchurl {
url = "https://github.com/parity-js/shell/releases/download/v${version}/parity-ui_${version}_amd64.deb";
sha256 = "1xbd00r9ph8w2d6d2c5xg4b5l74ljzs50rpc6kahfznypmh4kr73";
- name = "${name}.deb";
+ name = "${pname}-${version}.deb";
};
nativeBuildInputs = [ makeWrapper nodePackages.asar ];
diff --git a/pkgs/applications/altcoins/parity-ui/env.nix b/pkgs/applications/blockchains/parity-ui/env.nix
similarity index 84%
rename from pkgs/applications/altcoins/parity-ui/env.nix
rename to pkgs/applications/blockchains/parity-ui/env.nix
index 625a008af91..a878bbf2e3e 100644
--- a/pkgs/applications/altcoins/parity-ui/env.nix
+++ b/pkgs/applications/blockchains/parity-ui/env.nix
@@ -1,11 +1,11 @@
{ stdenv, lib, zlib, glib, alsaLib, dbus, gtk2, atk, pango, freetype, fontconfig
-, libgnome-keyring3, gdk_pixbuf, cairo, cups, expat, libgpgerror, nspr
+, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpgerror, nspr
, nss, xorg, libcap, systemd, libnotify, libsecret, gnome2 }:
let
packages = [
stdenv.cc.cc zlib glib dbus gtk2 atk pango freetype libgnome-keyring3
- fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr nss
+ fontconfig gdk-pixbuf cairo cups expat libgpgerror alsaLib nspr nss
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr
xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify
diff --git a/pkgs/applications/blockchains/parity/beta.nix b/pkgs/applications/blockchains/parity/beta.nix
new file mode 100644
index 00000000000..a6d4660dff1
--- /dev/null
+++ b/pkgs/applications/blockchains/parity/beta.nix
@@ -0,0 +1,6 @@
+let
+ version = "2.6.2";
+ sha256 = "1j4249m5k3bi7di0wq6fm64zv3nlpgmg4hr5hnn94fyc09nz9n1r";
+ cargoSha256 = "1wr0i54zc3l6n0x6cvlq9zfy3bw9w5fcvdz4vmyym9r1nkvk31s7";
+in
+ import ./parity.nix { inherit version sha256 cargoSha256; }
diff --git a/pkgs/applications/blockchains/parity/default.nix b/pkgs/applications/blockchains/parity/default.nix
new file mode 100644
index 00000000000..88d24a87e13
--- /dev/null
+++ b/pkgs/applications/blockchains/parity/default.nix
@@ -0,0 +1,6 @@
+let
+ version = "2.5.7";
+ sha256 = "0aprs71cbf98dsvjz0kydngkvdg5x7dijji8j6xadgvsarl1ljnj";
+ cargoSha256 = "11mr5q5aynli9xm4wnxcypl3ij7f4b0p7l557yi9n0cvdraw8ki4";
+in
+ import ./parity.nix { inherit version sha256 cargoSha256; }
diff --git a/pkgs/applications/altcoins/parity/parity.nix b/pkgs/applications/blockchains/parity/parity.nix
similarity index 60%
rename from pkgs/applications/altcoins/parity/parity.nix
rename to pkgs/applications/blockchains/parity/parity.nix
index 9eb189f014e..7f28d97bf81 100644
--- a/pkgs/applications/altcoins/parity/parity.nix
+++ b/pkgs/applications/blockchains/parity/parity.nix
@@ -3,18 +3,19 @@
, cargoSha256
}:
-{ stdenv
+{ lib
, fetchFromGitHub
-, rustPlatform
-, pkgconfig
-, openssl
-, systemd
+, rustPlatform
+
, cmake
-, perl
+, openssl
+, pkgconfig
+, systemd
}:
-rustPlatform.buildRustPackage rec {
- name = "parity-${version}";
+rustPlatform.buildRustPackage {
+ pname = "parity";
+ inherit version;
inherit cargoSha256;
src = fetchFromGitHub {
@@ -24,19 +25,20 @@ rustPlatform.buildRustPackage rec {
inherit sha256;
};
- buildInputs = [
- pkgconfig cmake perl
- systemd.lib systemd.dev openssl openssl.dev
- ];
+ nativeBuildInputs = [ cmake pkgconfig ];
+
+ buildInputs = [ openssl systemd ];
+
+ cargoBuildFlags = [ "--features final" ];
# test result: FAILED. 80 passed; 12 failed; 0 ignored; 0 measured; 0 filtered out
doCheck = false;
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Fast, light, robust Ethereum implementation";
- homepage = http://parity.io;
+ homepage = "http://parity.io";
license = licenses.gpl3;
- maintainers = [ maintainers.akru ];
+ maintainers = with maintainers; [ akru xrelkd ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/altcoins/particl/particl-core.nix b/pkgs/applications/blockchains/particl/particl-core.nix
similarity index 97%
rename from pkgs/applications/altcoins/particl/particl-core.nix
rename to pkgs/applications/blockchains/particl/particl-core.nix
index f5efa0bb52c..613d57cd9c8 100644
--- a/pkgs/applications/altcoins/particl/particl-core.nix
+++ b/pkgs/applications/blockchains/particl/particl-core.nix
@@ -16,7 +16,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "particl-core-${version}";
+ pname = "particl-core";
version = "0.17.1.2";
src = fetchurl {
diff --git a/pkgs/applications/altcoins/pivx.nix b/pkgs/applications/blockchains/pivx.nix
similarity index 86%
rename from pkgs/applications/altcoins/pivx.nix
rename to pkgs/applications/blockchains/pivx.nix
index 995b8deccd9..c0833de7dbf 100644
--- a/pkgs/applications/altcoins/pivx.nix
+++ b/pkgs/applications/blockchains/pivx.nix
@@ -9,7 +9,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "pivx-${version}";
+ pname = "pivx";
version = "3.2.0";
src = fetchFromGitHub {
@@ -50,5 +50,12 @@ stdenv.mkDerivation rec {
homepage = https://www.dash.org;
maintainers = with maintainers; [ wucke13 ];
platforms = platforms.unix;
+
+ # upstream doesn't support newer openssl versions
+ # https://github.com/PIVX-Project/PIVX/issues/748
+ # "Your system is most probably using openssl 1.1 which is not the
+ # officialy supported version. Either use 1.0.1 or run again configure
+ # with the given option."
+ broken = true;
};
}
diff --git a/pkgs/applications/altcoins/polkadot/default.nix b/pkgs/applications/blockchains/polkadot/default.nix
similarity index 85%
rename from pkgs/applications/altcoins/polkadot/default.nix
rename to pkgs/applications/blockchains/polkadot/default.nix
index feedb22c26d..100c0f8ba41 100644
--- a/pkgs/applications/altcoins/polkadot/default.nix
+++ b/pkgs/applications/blockchains/polkadot/default.nix
@@ -6,7 +6,7 @@
}:
rustPlatform.buildRustPackage rec {
- name = "polkadot-${version}";
+ pname = "polkadot";
version = "0.2.17";
src = fetchFromGitHub {
@@ -16,7 +16,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0v7g03rbml2afw0splmyjh9nqpjg0ldjw09hyc0jqd3qlhgxiiyj";
};
- cargoSha256 = "0wwkaxqj2v5zach5xcqfzf6prc0gxy2v47janglp44xbxbx9xk08";
+ cargoSha256 = "19xcxpbkrbygghz9qi52vzviksxg28m7ibvl359vlhqv1cjxmpsq";
buildInputs = [ pkgconfig openssl openssl.dev ];
diff --git a/pkgs/applications/altcoins/stellar-core-dirty-version.patch b/pkgs/applications/blockchains/stellar-core-dirty-version.patch
similarity index 100%
rename from pkgs/applications/altcoins/stellar-core-dirty-version.patch
rename to pkgs/applications/blockchains/stellar-core-dirty-version.patch
diff --git a/pkgs/applications/altcoins/stellar-core.nix b/pkgs/applications/blockchains/stellar-core.nix
similarity index 100%
rename from pkgs/applications/altcoins/stellar-core.nix
rename to pkgs/applications/blockchains/stellar-core.nix
diff --git a/pkgs/applications/altcoins/sumokoin.nix b/pkgs/applications/blockchains/sumokoin.nix
similarity index 96%
rename from pkgs/applications/altcoins/sumokoin.nix
rename to pkgs/applications/blockchains/sumokoin.nix
index 026008b2761..ad65da057ae 100644
--- a/pkgs/applications/altcoins/sumokoin.nix
+++ b/pkgs/applications/blockchains/sumokoin.nix
@@ -2,7 +2,7 @@
, libunwind, lmdb, miniupnpc }:
stdenv.mkDerivation rec {
- name = "sumokoin-${version}";
+ pname = "sumokoin";
version = "0.2.0.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/blockchains/wasabiwallet/default.nix b/pkgs/applications/blockchains/wasabiwallet/default.nix
new file mode 100644
index 00000000000..6a5532f92c9
--- /dev/null
+++ b/pkgs/applications/blockchains/wasabiwallet/default.nix
@@ -0,0 +1,44 @@
+{ stdenv, fetchurl, makeDesktopItem, openssl, xorg, curl, fontconfig, krb5, zlib, dotnet-sdk }:
+
+stdenv.mkDerivation rec {
+ pname = "wasabiwallet";
+ version = "1.1.9";
+
+ src = fetchurl {
+ url = "https://github.com/zkSNACKs/WalletWasabi/releases/download/v${version}/WasabiLinux-${version}.tar.gz";
+ sha256 = "1dz05ivhadfjfp4yfpz492401yznm3rlnx7g4nqzxwh4cmqzisrm";
+ };
+
+ dontBuild = true;
+ dontPatchELF = true;
+
+ desktopItem = makeDesktopItem {
+ name = "wasabi";
+ exec = "wasabiwallet";
+ desktopName = "Wasabi";
+ genericName = "Bitcoin wallet";
+ comment = meta.description;
+ categories = "Application;Network;Utility;";
+ };
+
+ installPhase = ''
+ mkdir -p $out/opt/${pname} $out/bin $out/share/applications
+ cp -Rv . $out/opt/${pname}
+ cd $out/opt/${pname}
+ for i in $(find . -type f -name '*.so') wassabee
+ do
+ patchelf --set-rpath ${stdenv.lib.makeLibraryPath [ openssl stdenv.cc.cc.lib xorg.libX11 curl fontconfig.lib krb5 zlib dotnet-sdk ]} $i
+ done
+ patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" wassabee
+ ln -s $out/opt/${pname}/wassabee $out/bin/${pname}
+ cp -v $desktopItem/share/applications/* $out/share/applications
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Privacy focused Bitcoin wallet";
+ homepage = "https://wasabiwallet.io/";
+ license = licenses.mit;
+ platforms = [ "x86_64-linux" ];
+ maintainers = with maintainers; [ mmahut ];
+ };
+}
diff --git a/pkgs/applications/altcoins/wownero.nix b/pkgs/applications/blockchains/wownero.nix
similarity index 75%
rename from pkgs/applications/altcoins/wownero.nix
rename to pkgs/applications/blockchains/wownero.nix
index 6de12b09934..365afb5a241 100644
--- a/pkgs/applications/altcoins/wownero.nix
+++ b/pkgs/applications/blockchains/wownero.nix
@@ -1,22 +1,20 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, git
, boost, miniupnpc_2, openssl, unbound, cppzmq
, zeromq, pcsclite, readline, libsodium, rapidjson
-, CoreData, IOKit, PCSC
}:
-assert stdenv.isDarwin -> IOKit != null;
-
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "wownero-${version}";
+ pname = "wownero";
- version = "0.5.0.2";
+ version = "0.6.1.2";
src = fetchFromGitHub {
owner = "wownero";
repo = "wownero";
rev = "v${version}";
- sha256 = "120cfkl2q8qgl3ajxfkkri9bxlnvmr1mhb1wvcigch1lqyflff1w";
+ sha256 = "03q3pviyhrldpa3f4ly4d97jr39hvrz37chl102bap0790d9lk09";
+ fetchSubmodules = true;
};
nativeBuildInputs = [ cmake pkgconfig git ];
@@ -24,14 +22,12 @@ stdenv.mkDerivation rec {
buildInputs = [
boost miniupnpc_2 openssl unbound rapidjson
cppzmq zeromq pcsclite readline libsodium
- ] ++ optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
+ ];
cmakeFlags = [
"-DReadline_ROOT_DIR=${readline.dev}"
"-DMANUAL_SUBMODULES=ON"
- ] ++ optional stdenv.isDarwin "-DBoost_USE_MULTITHREADED=OFF";
-
- hardeningDisable = [ "fortify" ];
+ ];
meta = {
description = "Wownero is a fork of the cryptocurrency Monero with primary alterations";
@@ -44,7 +40,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://wownero.org/;
license = licenses.bsd3;
- platforms = platforms.all;
+ platforms = platforms.linux;
maintainers = with maintainers; [ fuwa ];
};
}
diff --git a/pkgs/applications/altcoins/zcash/default.nix b/pkgs/applications/blockchains/zcash/default.nix
similarity index 100%
rename from pkgs/applications/altcoins/zcash/default.nix
rename to pkgs/applications/blockchains/zcash/default.nix
diff --git a/pkgs/applications/altcoins/zcash/librustzcash/default.nix b/pkgs/applications/blockchains/zcash/librustzcash/default.nix
similarity index 86%
rename from pkgs/applications/altcoins/zcash/librustzcash/default.nix
rename to pkgs/applications/blockchains/zcash/librustzcash/default.nix
index b89582c09e6..634d4e8538a 100644
--- a/pkgs/applications/altcoins/zcash/librustzcash/default.nix
+++ b/pkgs/applications/blockchains/zcash/librustzcash/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
- name = "librustzcash-unstable-${version}";
+ pname = "librustzcash-unstable";
version = "2017-03-17";
src = fetchFromGitHub {
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "02l1f46frpvw1r6k1wfh77mrsnmsdvifqx0vnscxz4xgb9ia9d1c";
};
- cargoSha256 = "1b0kal53ggcr59hbrsdj8fifjycahrmzwq677n9h3fywv4r237m6";
+ cargoSha256 = "1xlq8vkzfyr5q8gxvzkwi8r1kxg4rg8l1ckdwfdxlkhnw0yscbra";
installPhase = ''
mkdir -p $out/lib
diff --git a/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix b/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix
index 38270a25c9c..accdea3ae2d 100644
--- a/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix
+++ b/pkgs/applications/display-managers/lightdm-enso-os-greeter/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchgit, pkgconfig
, dbus, pcre, epoxy, libXdmcp, at-spi2-core, libxklavier, libxkbcommon, libpthreadstubs
-, gtk3, vala, cmake, libgee, libX11, lightdm, gdk_pixbuf, clutter-gtk }:
+, gtk3, vala, cmake, libgee, libX11, lightdm, gdk-pixbuf, clutter-gtk }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "0.2.1";
- name = "lightdm-enso-os-greeter-${version}";
+ pname = "lightdm-enso-os-greeter";
src = fetchgit {
url = https://github.com/nick92/Enso-OS;
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
libX11
lightdm
libXdmcp
- gdk_pixbuf
+ gdk-pixbuf
clutter-gtk
libxklavier
at-spi2-core
diff --git a/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix b/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix
index 91446f73507..69635718e3b 100644
--- a/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix
+++ b/pkgs/applications/display-managers/lightdm-mini-greeter/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, lightdm, gtk3 }:
stdenv.mkDerivation rec {
- name = "lightdm-mini-greeter-${version}";
+ pname = "lightdm-mini-greeter";
version = "0.3.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/display-managers/lightdm/default.nix b/pkgs/applications/display-managers/lightdm/default.nix
index 61d65cb64b6..1df67578b3a 100644
--- a/pkgs/applications/display-managers/lightdm/default.nix
+++ b/pkgs/applications/display-managers/lightdm/default.nix
@@ -61,13 +61,12 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
"--sysconfdir=/etc"
"--disable-tests"
- "--disable-static"
"--disable-dmrc"
] ++ optional withQt4 "--enable-liblightdm-qt"
++ optional withQt5 "--enable-liblightdm-qt5";
installFlags = [
- "sysconfdir=${placeholder ''out''}/etc"
+ "sysconfdir=${placeholder "out"}/etc"
"localstatedir=\${TMPDIR}"
];
diff --git a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix
index 61db182f744..f892a9da50b 100644
--- a/pkgs/applications/display-managers/lightdm/gtk-greeter.nix
+++ b/pkgs/applications/display-managers/lightdm/gtk-greeter.nix
@@ -12,10 +12,11 @@ let
version = "2.0.6";
in
stdenv.mkDerivation rec {
- name = "lightdm-gtk-greeter-${version}";
+ pname = "lightdm-gtk-greeter";
+ inherit version;
src = fetchurl {
- url = "${meta.homepage}/${ver_branch}/${version}/+download/${name}.tar.gz";
+ url = "${meta.homepage}/${ver_branch}/${version}/+download/${pname}-${version}.tar.gz";
sha256 = "1pis5qyg95pg31dvnfqq34bzgj00hg4vs547r8h60lxjk81z8p15";
};
diff --git a/pkgs/applications/display-managers/ly/default.nix b/pkgs/applications/display-managers/ly/default.nix
index e8edcc3f634..2f0a770bc71 100644
--- a/pkgs/applications/display-managers/ly/default.nix
+++ b/pkgs/applications/display-managers/ly/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, linux-pam }:
stdenv.mkDerivation rec {
- name = "ly-${version}";
+ pname = "ly";
version = "0.2.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/display-managers/sddm/default.nix b/pkgs/applications/display-managers/sddm/default.nix
index b5d32493003..526041124bc 100644
--- a/pkgs/applications/display-managers/sddm/default.nix
+++ b/pkgs/applications/display-managers/sddm/default.nix
@@ -1,13 +1,14 @@
{ mkDerivation, lib, fetchFromGitHub
, cmake, extra-cmake-modules, pkgconfig, libxcb, libpthreadstubs
-, libXdmcp, libXau, qtbase, qtdeclarative, qttools, pam, systemd
+, libXdmcp, libXau, qtbase, qtdeclarative, qtquickcontrols2, qttools, pam, systemd
}:
let
version = "0.18.1";
-in mkDerivation rec {
- name = "sddm-${version}";
+in mkDerivation {
+ pname = "sddm";
+ inherit version;
src = fetchFromGitHub {
owner = "sddm";
@@ -29,7 +30,7 @@ in mkDerivation rec {
nativeBuildInputs = [ cmake extra-cmake-modules pkgconfig qttools ];
buildInputs = [
- libxcb libpthreadstubs libXdmcp libXau pam qtbase qtdeclarative systemd
+ libxcb libpthreadstubs libXdmcp libXau pam qtbase qtdeclarative qtquickcontrols2 systemd
];
cmakeFlags = [
diff --git a/pkgs/applications/editors/aewan/default.nix b/pkgs/applications/editors/aewan/default.nix
index 214b435429a..1bd73bebe03 100644
--- a/pkgs/applications/editors/aewan/default.nix
+++ b/pkgs/applications/editors/aewan/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib, ncurses }:
stdenv.mkDerivation rec {
- name = "aewan-${version}";
+ pname = "aewan";
version = "1.0.01";
src = fetchurl {
- url = "mirror://sourceforge/aewan/${name}.tar.gz";
+ url = "mirror://sourceforge/aewan/${pname}-${version}.tar.gz";
sha256 = "5266dec5e185e530b792522821c97dfa5f9e3892d0dca5e881d0c30ceac21817";
};
diff --git a/pkgs/applications/editors/amp/default.nix b/pkgs/applications/editors/amp/default.nix
new file mode 100644
index 00000000000..98692de4317
--- /dev/null
+++ b/pkgs/applications/editors/amp/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub, rustPlatform, openssl, pkgconfig, python3, xorg, cmake, libgit2 }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "amp";
+ # The latest release (0.5.2) does not compile, so we use a git snapshot instead.
+ version = "unstable-2019-06-09";
+
+ src = fetchFromGitHub {
+ owner = "jmacdonald";
+ repo = pname;
+ rev = "2c88e82a88ada8a5fd2620ef225192395a4533a2";
+ sha256 = "0ha1xiabq31s687gkrnszf3zc7b3sfdl79iyg5ygbc49mzvarp8c";
+ };
+
+ cargoSha256 = "1bvj2zg19ak4vi47vjkqlybz011kn5zq1j7zznr76zrryacw4lz1";
+
+ nativeBuildInputs = [ cmake pkgconfig ];
+ buildInputs = [ openssl python3 xorg.libxcb libgit2 ];
+
+ # Tests need to write to the theme directory in HOME.
+ preCheck = "export HOME=`mktemp -d`";
+
+ meta = with stdenv.lib; {
+ description = "A modern text editor inspired by Vim";
+ homepage = "https://amp.rs";
+ license = [ licenses.gpl3 ];
+ maintainers = [ maintainers.sb0 ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/editors/android-studio/common.nix b/pkgs/applications/editors/android-studio/common.nix
index 50a752b3eb9..0d406ad2d36 100644
--- a/pkgs/applications/editors/android-studio/common.nix
+++ b/pkgs/applications/editors/android-studio/common.nix
@@ -40,7 +40,7 @@
let
drvName = "android-studio-${channel}-${version}";
androidStudio = stdenv.mkDerivation {
- name = drvName;
+ name = "${drvName}-unwrapped";
src = fetchurl {
url = "https://dl.google.com/dl/android/studio/ide-zips/${version}/android-studio-ide-${build}-linux.tar.gz";
@@ -133,7 +133,7 @@ let
multiPkgs = pkgs: [ pkgs.ncurses5 ];
};
in runCommand
- "${drvName}-wrapper"
+ drvName
{
startScript = ''
#!${bash}/bin/bash
diff --git a/pkgs/applications/editors/android-studio/default.nix b/pkgs/applications/editors/android-studio/default.nix
index 2f90699014c..2a9129cfebf 100644
--- a/pkgs/applications/editors/android-studio/default.nix
+++ b/pkgs/applications/editors/android-studio/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, callPackage, makeFontsConf, gnome2 }:
+{ callPackage, makeFontsConf, gnome2 }:
let
mkStudio = opts: callPackage (import ./common.nix opts) {
@@ -8,21 +8,17 @@ let
inherit (gnome2) GConf gnome_vfs;
};
stableVersion = {
- version = "3.4.1.0"; # "Android Studio 3.4.1"
- build = "183.5522156";
- sha256Hash = "0y4l9d1yrvv1csx6vl4jnqgqy96y44rl6p8hcxrnbvrg61iqnj30";
- };
- betaVersion = {
- version = "3.5.0.15"; # "Android Studio 3.5 Beta 3"
- build = "191.5585527";
- sha256Hash = "0b9yj3rf3nk8y9qfmf5kjh8rwn73v7ghym1bhz864r079h7lwr53";
+ version = "3.5.0.21"; # "Android Studio 3.5"
+ build = "191.5791312";
+ sha256Hash = "0vvk2vhklxg9wfi4lv4sahs5ahhb1mki1msy3yixmr56vipgv52p";
};
+ betaVersion = stableVersion;
latestVersion = { # canary & dev
- version = "3.6.0.1"; # "Android Studio 3.6 Canary 1"
- build = "191.5595896";
- sha256Hash = "1nd0xmq1aplznxbsnmzgszbblj6vdyhir708mks5ss6achn21xxc";
+ version = "3.6.0.11"; # "Android Studio 3.6 Canary 11"
+ build = "192.5863777";
+ sha256Hash = "1wz4vcdj4225vffsq0ji4zgg9qaqlfd21x7c6nczhqvydbyrjzg8";
};
-in rec {
+in {
# Attributes are named by their corresponding release channels
stable = mkStudio (stableVersion // {
diff --git a/pkgs/applications/editors/aseprite/default.nix b/pkgs/applications/editors/aseprite/default.nix
index 7af3742349a..170fde7b9ca 100644
--- a/pkgs/applications/editors/aseprite/default.nix
+++ b/pkgs/applications/editors/aseprite/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, pkgconfig
-, curl, freetype, giflib, harfbuzz, libjpeg, libpng, libwebp, pixman, tinyxml, zlib
-, libX11, libXext, libXcursor, libXxf86vm
+{ stdenv, lib, callPackage, fetchFromGitHub, fetchpatch, cmake, ninja, pkgconfig
+, curl, freetype, giflib, libjpeg, libpng, libwebp, pixman, tinyxml, zlib
+, harfbuzzFull, glib, fontconfig, pcre
+, libX11, libXext, libXcursor, libXxf86vm, libGL
, unfree ? false
, cmark
}:
-# Unfree version is not redistributable:
-# https://dev.aseprite.org/2016/09/01/new-source-code-license/
-# Consider supporting the developer: https://aseprite.org/#buy
-
+let
+ skia = callPackage ./skia.nix {};
+in
stdenv.mkDerivation rec {
- name = "aseprite-${version}";
- version = if unfree then "1.2.9" else "1.1.7";
+ pname = "aseprite";
+ version = if unfree then "1.2.11" else "1.1.7";
src = fetchFromGitHub {
owner = "aseprite";
@@ -19,21 +19,27 @@ stdenv.mkDerivation rec {
rev = "v${version}";
fetchSubmodules = true;
sha256 = if unfree
- then "0a9xk163j0984n8nn6pqf27n83gr6w7g25wkiv591zx88pa6cpbd"
+ then "1illr51jpg5g6nx29rav9dllyy5lzyyn7lj2fhrnpz1ysqgaq5p8"
else "0gd49lns2bpzbkwax5jf9x1xmg1j8ij997kcxr2596cwiswnw4di";
};
- nativeBuildInputs = [ cmake pkgconfig ];
+ nativeBuildInputs = [
+ cmake pkgconfig
+ ] ++ lib.optionals unfree [ ninja ];
buildInputs = [
- curl freetype giflib harfbuzz libjpeg libpng libwebp pixman tinyxml zlib
+ curl freetype giflib libjpeg libpng libwebp pixman tinyxml zlib
libX11 libXext libXcursor libXxf86vm
- ] ++ lib.optionals unfree [ cmark harfbuzz ];
+ ] ++ lib.optionals unfree [
+ cmark
+ harfbuzzFull glib fontconfig pcre
+ skia libGL
+ ];
patches = lib.optionals unfree [
(fetchpatch {
- url = "https://github.com/aseprite/aseprite/commit/cfb4dac6feef1f39e161c23c886055a8f9acfd0d.patch";
- sha256 = "1qhjfpngg8b1vvb9w26lhjjfamfx57ih0p31km3r5l96nm85l7f9";
+ url = "https://github.com/lfont/aseprite/commit/f1ebc47012d3fed52306ed5922787b4b98cc0a7b.patch";
+ sha256 = "03xg7x6b9iv7z18vzlqxhcfphmx4v3qhs9f5rgf38ppyklca5jyw";
})
(fetchpatch {
url = "https://github.com/orivej/aseprite/commit/ea87e65b357ad0bd65467af5529183b5a48a8c17.patch";
@@ -67,6 +73,9 @@ stdenv.mkDerivation rec {
"-DENABLE_CAT=OFF"
"-DENABLE_CPIO=OFF"
"-DENABLE_TAR=OFF"
+ # UI backend.
+ "-DLAF_OS_BACKEND=skia"
+ "-DSKIA_DIR=${skia}"
];
postInstall = ''
@@ -87,6 +96,24 @@ stdenv.mkDerivation rec {
homepage = https://www.aseprite.org/;
description = "Animated sprite editor & pixel art tool";
license = if unfree then licenses.unfree else licenses.gpl2;
+ longDescription =
+ ''Aseprite is a program to create animated sprites. Its main features are:
+
+ - Sprites are composed by layers & frames (as separated concepts).
+ - Supported color modes: RGBA, Indexed (palettes up to 256 colors), and Grayscale.
+ - Load/save sequence of PNG files and GIF animations (and FLC, FLI, JPG, BMP, PCX, TGA).
+ - Export/import animations to/from Sprite Sheets.
+ - Tiled drawing mode, useful to draw patterns and textures.
+ - Undo/Redo for every operation.
+ - Real-time animation preview.
+ - Multiple editors support.
+ - Pixel-art specific tools like filled Contour, Polygon, Shading mode, etc.
+ - Onion skinning.
+ '' + lib.optionalString unfree
+ ''
+ This version is not redistributable: https://dev.aseprite.org/2016/09/01/new-source-code-license/
+ Consider supporting the developer: https://aseprite.org/#buy
+ '';
maintainers = with maintainers; [ orivej ];
platforms = platforms.linux;
};
diff --git a/pkgs/applications/editors/aseprite/skia-deps.nix b/pkgs/applications/editors/aseprite/skia-deps.nix
new file mode 100644
index 00000000000..e5655ca8315
--- /dev/null
+++ b/pkgs/applications/editors/aseprite/skia-deps.nix
@@ -0,0 +1,23 @@
+{ fetchgit }:
+{
+ angle2 = fetchgit {
+ url = "https://chromium.googlesource.com/angle/angle.git";
+ rev = "956ab4d9fab36be9929e63829475d4d69b2c681c";
+ sha256 = "0fcw04wwkn3ixr9l9k0d32n78r9g72p31ii9i5spsq2d0wlylr38";
+ };
+ dng_sdk = fetchgit {
+ url = "https://android.googlesource.com/platform/external/dng_sdk.git";
+ rev = "96443b262250c390b0caefbf3eed8463ba35ecae";
+ sha256 = "1rsr7njhj7c5p87hfznj069fdc3qqhvvnq9sa2rb8c4q849rlzx6";
+ };
+ piex = fetchgit {
+ url = "https://android.googlesource.com/platform/external/piex.git";
+ rev = "bb217acdca1cc0c16b704669dd6f91a1b509c406";
+ sha256 = "05ipmag6k55jmidbyvg5mkqm69zfw03gfkqhi9jnjlmlbg31y412";
+ };
+ sfntly = fetchgit {
+ url = "https://chromium.googlesource.com/external/github.com/googlei18n/sfntly.git";
+ rev = "b18b09b6114b9b7fe6fc2f96d8b15e8a72f66916";
+ sha256 = "0zf1h0dibmm38ldypccg4faacvskmd42vsk6zbxlfcfwjlqm6pp4";
+ };
+}
diff --git a/pkgs/applications/editors/aseprite/skia-make-deps.sh b/pkgs/applications/editors/aseprite/skia-make-deps.sh
new file mode 100755
index 00000000000..5e12c4f5c85
--- /dev/null
+++ b/pkgs/applications/editors/aseprite/skia-make-deps.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+
+FILTER=$1
+OUT=skia-deps.nix
+REVISION=89e4ca4352d05adc892f5983b108433f29b2c0c2
+DEPS=$(curl -s https://raw.githubusercontent.com/aseprite/skia/$REVISION/DEPS)
+THIRD_PARTY_DEPS=$(echo "$DEPS" | grep third_party | grep "#" -v | sed 's/"//g')
+
+function write_fetch_defs ()
+{
+ while read -r DEP; do
+ NAME=$(echo "$DEP" | cut -d: -f1 | cut -d/ -f3 | sed 's/ //g')
+ URL=$(echo "$DEP" | cut -d: -f2- | cut -d@ -f1 | sed 's/ //g')
+ REV=$(echo "$DEP" | cut -d: -f2- | cut -d@ -f2 | sed 's/[ ,]//g')
+
+ echo "Fetching $NAME@$REV"
+ PREFETCH=$(nix-prefetch-git --rev "$REV" "$URL")
+
+(
+cat <> "$OUT"
+
+ echo "----------"
+ echo
+ done <<< "$1"
+}
+
+echo "{ fetchgit }:" > "$OUT"
+echo "{" >> "$OUT"
+write_fetch_defs "$(echo "$THIRD_PARTY_DEPS" | grep -E "$FILTER")"
+echo "}" >> "$OUT"
diff --git a/pkgs/applications/editors/aseprite/skia.nix b/pkgs/applications/editors/aseprite/skia.nix
new file mode 100644
index 00000000000..8bf2adf484e
--- /dev/null
+++ b/pkgs/applications/editors/aseprite/skia.nix
@@ -0,0 +1,68 @@
+{ stdenv, lib, fetchFromGitHub, fetchgit, python2, gn, ninja
+, fontconfig, expat, icu58, libjpeg, libpng, libwebp, zlib
+, mesa, libX11
+}:
+
+let
+ # skia-deps.nix is generated by: ./skia-make-deps.sh 'angle2|dng_sdk|piex|sfntly'
+ depSrcs = import ./skia-deps.nix { inherit fetchgit; };
+in
+stdenv.mkDerivation {
+ name = "skia-aseprite-m71";
+
+ src = fetchFromGitHub {
+ owner = "aseprite";
+ repo = "skia";
+ # latest commit from aseprite-m71 branch
+ rev = "89e4ca4352d05adc892f5983b108433f29b2c0c2";
+ sha256 = "0n3vrkswvi6rib9zv2pzi18h3j5wm7flmgkgaikcm6q7iw4l2c7x";
+ };
+
+ nativeBuildInputs = [ python2 gn ninja ];
+
+ buildInputs = [
+ fontconfig expat icu58 libjpeg libpng libwebp zlib
+ mesa libX11
+ ];
+
+ preConfigure = with depSrcs; ''
+ mkdir -p third_party/externals
+ ln -s ${angle2} third_party/externals/angle2
+ ln -s ${dng_sdk} third_party/externals/dng_sdk
+ ln -s ${piex} third_party/externals/piex
+ ln -s ${sfntly} third_party/externals/sfntly
+ '';
+
+ configurePhase = ''
+ runHook preConfigure
+ gn gen out/Release --args="is_debug=false is_official_build=true"
+ runHook postConfigure
+ '';
+
+ buildPhase = ''
+ runHook preBuild
+ ninja -C out/Release skia
+ runHook postBuild
+ '';
+
+ installPhase = ''
+ mkdir -p $out
+
+ # Glob will match all subdirs.
+ shopt -s globstar
+
+ # All these paths are used in some way when building aseprite.
+ cp -r --parents -t $out/ \
+ include/codec \
+ include/config \
+ include/core \
+ include/effects \
+ include/gpu \
+ include/private \
+ include/utils \
+ out/Release/*.a \
+ src/gpu/**/*.h \
+ third_party/externals/angle2/include \
+ third_party/skcms/**/*.h
+ '';
+}
diff --git a/pkgs/applications/editors/atom/default.nix b/pkgs/applications/editors/atom/default.nix
index bc791d63d24..26deee3b859 100644
--- a/pkgs/applications/editors/atom/default.nix
+++ b/pkgs/applications/editors/atom/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, pkgs, fetchurl, makeWrapper, wrapGAppsHook, gvfs, gtk3, atomEnv }:
+{ stdenv, pkgs, fetchurl, wrapGAppsHook, gvfs, gtk3, atomEnv }:
let
versions = {
diff --git a/pkgs/applications/editors/atom/env.nix b/pkgs/applications/editors/atom/env.nix
index da78c39324a..46dd4a22864 100644
--- a/pkgs/applications/editors/atom/env.nix
+++ b/pkgs/applications/editors/atom/env.nix
@@ -1,12 +1,12 @@
{ stdenv, lib, zlib, glib, alsaLib, dbus, gtk3, atk, pango, freetype, fontconfig
-, libgnome-keyring3, gdk_pixbuf, cairo, cups, expat, libgpgerror, nspr
+, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpgerror, nspr
, gconf, nss, xorg, libcap, systemd, libnotify, libsecret
}:
let
packages = [
stdenv.cc.cc zlib glib dbus gtk3 atk pango freetype libgnome-keyring3
- fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss
+ fontconfig gdk-pixbuf cairo cups expat libgpgerror alsaLib nspr gconf nss
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr
xorg.libXcursor xorg.libxkbfile xorg.libXScrnSaver libcap systemd libnotify
diff --git a/pkgs/applications/editors/bonzomatic/default.nix b/pkgs/applications/editors/bonzomatic/default.nix
index 9f1db146448..a12ccd257f8 100644
--- a/pkgs/applications/editors/bonzomatic/default.nix
+++ b/pkgs/applications/editors/bonzomatic/default.nix
@@ -1,7 +1,6 @@
{ stdenv, makeWrapper, fetchFromGitHub, cmake, alsaLib, mesa_glu, libXcursor, libXinerama, libXrandr, xorgserver }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "bonzomatic";
version = "2018-03-29";
diff --git a/pkgs/applications/editors/brackets/default.nix b/pkgs/applications/editors/brackets/default.nix
index ce9f10f39c4..439b721632d 100644
--- a/pkgs/applications/editors/brackets/default.nix
+++ b/pkgs/applications/editors/brackets/default.nix
@@ -1,20 +1,20 @@
-{ stdenv, fetchurl, gtk2, glib, gdk_pixbuf, alsaLib, nss, nspr, gconf
+{ stdenv, fetchurl, gtk2, glib, gdk-pixbuf, alsaLib, nss, nspr, gconf
, cups, libgcrypt_1_5, systemd, dbus, libXdamage, expat }:
with stdenv.lib;
let
bracketsLibs = makeLibraryPath [
- gtk2 glib gdk_pixbuf stdenv.cc.cc.lib alsaLib nss nspr gconf cups libgcrypt_1_5 dbus systemd libXdamage expat
+ gtk2 glib gdk-pixbuf stdenv.cc.cc.lib alsaLib nss nspr gconf cups libgcrypt_1_5 dbus systemd libXdamage expat
];
in
stdenv.mkDerivation rec {
- name = "brackets-${version}";
+ pname = "brackets";
version = "1.9";
src = fetchurl {
url = "https://github.com/adobe/brackets/releases/download/release-${version}/Brackets.Release.${version}.64-bit.deb";
sha256 = "0c4l2rr0853xd21kw8hhxlmrx8mqwb7iqa2k24zvwyjp4nnwkgbp";
- name = "${name}.deb";
+ name = "${pname}-${version}.deb";
};
phases = [ "installPhase" "fixupPhase" ];
diff --git a/pkgs/applications/editors/bvi/default.nix b/pkgs/applications/editors/bvi/default.nix
index f5e14ff1e09..3237c543ee6 100644
--- a/pkgs/applications/editors/bvi/default.nix
+++ b/pkgs/applications/editors/bvi/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "bvi-${version}";
+ pname = "bvi";
version = "1.4.0";
src = fetchurl {
- url = "mirror://sourceforge/bvi/${name}.src.tar.gz";
+ url = "mirror://sourceforge/bvi/${pname}-${version}.src.tar.gz";
sha256 = "00pq9rv7s8inqxq2m3xshxi58691i3pxw9smibcrgh6768l3qnh1";
};
diff --git a/pkgs/applications/editors/bviplus/default.nix b/pkgs/applications/editors/bviplus/default.nix
index d08e006ec5b..2c6b153370e 100644
--- a/pkgs/applications/editors/bviplus/default.nix
+++ b/pkgs/applications/editors/bviplus/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "bviplus-${version}";
+ pname = "bviplus";
version = "0.9.4";
src = fetchurl {
diff --git a/pkgs/applications/editors/deadpixi-sam/default.nix b/pkgs/applications/editors/deadpixi-sam/default.nix
index 4ab11064eae..65ec4393912 100644
--- a/pkgs/applications/editors/deadpixi-sam/default.nix
+++ b/pkgs/applications/editors/deadpixi-sam/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2017-10-27";
- name = "deadpixi-sam-unstable-${version}";
+ pname = "deadpixi-sam-unstable";
src = fetchFromGitHub {
owner = "deadpixi";
diff --git a/pkgs/applications/editors/dhex/default.nix b/pkgs/applications/editors/dhex/default.nix
index f4581c4bece..efb3a2f9ffa 100644
--- a/pkgs/applications/editors/dhex/default.nix
+++ b/pkgs/applications/editors/dhex/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "dhex-${version}";
+ pname = "dhex";
version = "0.69";
src = fetchurl {
diff --git a/pkgs/applications/editors/dit/default.nix b/pkgs/applications/editors/dit/default.nix
index 12ca7a07140..2f83b0b8d99 100644
--- a/pkgs/applications/editors/dit/default.nix
+++ b/pkgs/applications/editors/dit/default.nix
@@ -1,11 +1,11 @@
{ lib, fetchurl, stdenv, libiconv, ncurses, lua }:
stdenv.mkDerivation rec {
- name = "dit-${version}";
+ pname = "dit";
version = "0.5";
src = fetchurl {
- url = "https://hisham.hm/dit/releases/${version}/${name}.tar.gz";
+ url = "https://hisham.hm/dit/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "05vhr1gl3bb5fg49v84xhmjaqdjw6djampvylw10ydvbpnpvjvjc";
};
diff --git a/pkgs/applications/editors/eclipse/default.nix b/pkgs/applications/editors/eclipse/default.nix
index 3fa46fc4d92..972a9daded4 100644
--- a/pkgs/applications/editors/eclipse/default.nix
+++ b/pkgs/applications/editors/eclipse/default.nix
@@ -13,10 +13,10 @@ assert stdenv ? glibc;
let
platform_major = "4";
- platform_minor = "10";
- year = "2018";
- month = "12";
- timestamp = "201812060815";
+ platform_minor = "12";
+ year = "2019";
+ month = "06";
+ timestamp = "201906051800";
in rec {
@@ -34,7 +34,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-cpp-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
- sha512 = "1f5yr7cydz4iw8c14yn713d44f1g1wkiqiwmb4ikdfx4l70rc5xxsdxv9b4mhm89b02cqnxdh9p5hivkssmnzg0km3ab5bx9mvzgzx7";
+ sha512 = "3mfljabrwbwq256vvsp9qjb96hzlbpwgnb3wz806pbyh0ibfq6s1hn8kh5aaa2da5821v0ykcxa12jagj7naqp4g91jqxp1wb1ygz2q";
};
};
@@ -46,7 +46,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-modeling-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
- sha512 = "18psh1lgqg21dmndyc0yr6rz7piqyk861j9mlhgv9xaq8nz11fb6lil594sk64yyv0qbgi98vp03f1p06zvhgs37k9rjkfjmzl7n97k";
+ sha512 = "18p6xz6rq4w6j39b2k9kjpz8s1nljfq44g2cmvxqjgjfkq8lk4ij73ssyv1raly4wkm7r22ixacswdjmyj942k5vpv9y11i91hp1scv";
};
};
@@ -58,7 +58,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-platform-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
- sha512 = "2zdvbjk05a00lbcad9v30rcr93j03d2pycdhpwrvrakr8z4yrxs6svamq9s294ry1w3lw04pgsnqklw6zjx6iil1kp51f374lkfpxn7";
+ sha512 = "0qiyk95qhdqcfgg5hgc7pcpbpjy9jnx7l3vb7s4cgijdz2xz0n5psh11lpj3whk2amh4iwkyx7kn8fxdq7lm03rlgx67cbk7p8my16m";
};
};
@@ -88,7 +88,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops${platform_major}/R-${platform_major}.${platform_minor}-${timestamp}/eclipse-SDK-${platform_major}.${platform_minor}-linux-gtk-x86_64.tar.gz";
- sha512 = "1kq14vhzcngfhl8kjs722rshny81gxv6wcgln46x7lnpg2274sb9dprhns62fpq97l0355cmg8mnny6fsd1nqibrw09xq932v86cfm8";
+ sha512 = "3bbc8d66ms7nhg6f8gb0bnzjqz26wixpipn4n9qf0azcplrv2j91z8hjw1fx39dx4pqnsf442bkgab4qqhkpks7qq54110l01q6gvy9";
};
};
@@ -100,7 +100,7 @@ in rec {
src =
fetchurl {
url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/technology/epp/downloads/release/${year}-${month}/R/eclipse-java-${year}-${month}-R-linux-gtk-x86_64.tar.gz";
- sha512 = "2xd5q7kg3aly7jnz2fijn06ljmnnd7ggwwzmndfhqwfzxpyjg1lnlln76pcd6chx7gnwdrl7khg0fs566ddabfjv17c46dj5fpw9y6j";
+ sha512 = "20qs1aagh4drsycvar3x42zy422zl34yg1p3vhxbqfbf7v3z1d3cxs9ah61x4bdxx9bkfwchasqp1wr15nflch9g0i50bdki3cgng1d";
};
};
diff --git a/pkgs/applications/editors/eclipse/plugins.nix b/pkgs/applications/editors/eclipse/plugins.nix
index b75324ee1ee..cf7980582ff 100644
--- a/pkgs/applications/editors/eclipse/plugins.nix
+++ b/pkgs/applications/editors/eclipse/plugins.nix
@@ -254,12 +254,12 @@ rec {
cdt = buildEclipseUpdateSite rec {
name = "cdt-${version}";
- version = "9.6.0";
+ version = "9.8.1";
src = fetchzip {
stripRoot = false;
- url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.6/${name}/${name}.zip";
- sha256 = "08rk3b1va57jcy4s161fx0xmb8dn47akhhxd2f28hspq6i2jqicm";
+ url = "https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/tools/cdt/releases/9.8/${name}/${name}.zip";
+ sha256 = "0kxmwz75i8mv4wics9n0hspxhzl3glf5ry2v5mnl5j9gcf73b0nv";
};
meta = with stdenv.lib; {
@@ -392,29 +392,6 @@ rec {
};
};
- emacsplus = buildEclipsePlugin rec {
- name = "emacsplus-${version}";
- version = "4.2.0";
-
- srcFeature = fetchurl {
- url = "http://www.mulgasoft.com/emacsplus/e4/update-site/features/com.mulgasoft.emacsplus.feature_${version}.jar";
- sha256 = "0wja3cd7gq8w25797fxnafvcncjnmlv8qkl5iwqj7zja2f45vka8";
- };
-
- srcPlugin = fetchurl {
- url = "http://www.mulgasoft.com/emacsplus/e4/update-site/plugins/com.mulgasoft.emacsplus_${version}.jar";
- sha256 = "08yw45nr90mlpdzim74vsvdaxj41sgpxcrqk5ia6l2dzvrqlsjs1";
- };
-
- meta = with stdenv.lib; {
- homepage = http://www.mulgasoft.com/emacsplus/;
- description = "Provides a more Emacs-like experience in the Eclipse text editors";
- license = licenses.epl10;
- platforms = platforms.all;
- maintainers = [ maintainers.rycee ];
- };
- };
-
findbugs = buildEclipsePlugin rec {
name = "findbugs-${version}";
version = "3.0.1.20150306-5afe4d1";
@@ -497,12 +474,12 @@ rec {
jdt = buildEclipseUpdateSite rec {
name = "jdt-${version}";
- version = "4.10";
+ version = "4.12";
src = fetchzip {
stripRoot = false;
- url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.10-201812060815/org.eclipse.jdt-4.10.zip;
- sha256 = "1h11w3zd6xy5w4sk6xnyb2a27wxwhp83qfx67ji7bzdrwbvljqkz";
+ url = https://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/eclipse/downloads/drops4/R-4.12-201906051800/org.eclipse.jdt-4.12.zip;
+ sha256 = "0qscvqg69z4554n1yhl0xg1xz8ln3qsbgfzi7cg3xnnwnxfqz9cb";
};
meta = with stdenv.lib; {
diff --git a/pkgs/applications/editors/edbrowse/default.nix b/pkgs/applications/editors/edbrowse/default.nix
index 0b6e28434f5..0de514233f8 100644
--- a/pkgs/applications/editors/edbrowse/default.nix
+++ b/pkgs/applications/editors/edbrowse/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
stdenv.mkDerivation rec {
- name = "edbrowse-${version}";
+ pname = "edbrowse";
version = "3.7.4";
buildInputs = [ curl pcre readline openssl duktape perl html-tidy ];
diff --git a/pkgs/applications/editors/edit/default.nix b/pkgs/applications/editors/edit/default.nix
index 17fa75fe634..27c13c0cb39 100644
--- a/pkgs/applications/editors/edit/default.nix
+++ b/pkgs/applications/editors/edit/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, unzip, pkgconfig, ncurses, libX11, libXft, cwebbin }:
-stdenv.mkDerivation rec {
- name = "edit-nightly-${version}";
+stdenv.mkDerivation {
+ pname = "edit-nightly";
version = "20160425";
src = fetchgit {
diff --git a/pkgs/applications/editors/elvis/default.nix b/pkgs/applications/editors/elvis/default.nix
index 078b8a03b5d..4b7e4c8a3ca 100644
--- a/pkgs/applications/editors/elvis/default.nix
+++ b/pkgs/applications/editors/elvis/default.nix
@@ -1,6 +1,6 @@
{ fetchurl, fetchpatch, stdenv, ncurses }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "elvis-2.2_0";
src = fetchurl {
diff --git a/pkgs/applications/editors/emacs-modes/auto-complete/default.nix b/pkgs/applications/editors/emacs-modes/auto-complete/default.nix
deleted file mode 100644
index 40f172316ef..00000000000
--- a/pkgs/applications/editors/emacs-modes/auto-complete/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-
-stdenv.mkDerivation rec {
- name = "auto-complete-1.3.1";
-
- src = fetchurl {
- url = "http://cx4a.org/pub/auto-complete/${name}.tar.bz2";
- sha256 = "124qxfp0pcphwlmrasbfrci48brxnrzc38h4wcf2sn20x1mvcrlj";
- };
-
- buildInputs = [ emacs ];
-
- preInstall = ''
- install -d $out/share/emacs/site-lisp
- '';
-
- installFlags = "DIR=$(out)/share/emacs/site-lisp";
-
- postInstall = ''
- ln -s javascript-mode $out/share/emacs/site-lisp/ac-dict/js2-mode
- '';
-
- meta = {
- description = "Auto-complete extension for Emacs";
- homepage = http://cx4a.org/software/auto-complete/;
- license = stdenv.lib.licenses.gpl3Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/bbdb/3.nix b/pkgs/applications/editors/emacs-modes/bbdb/3.nix
deleted file mode 100644
index d20ab53bf7e..00000000000
--- a/pkgs/applications/editors/emacs-modes/bbdb/3.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-
-stdenv.mkDerivation rec {
- name = "bbdb-3.1.2";
-
- src = fetchurl {
- url = "https://download.savannah.gnu.org/releases/bbdb/${name}.tar.gz";
- sha256 = "1gs16bbpiiy01w9pyg12868r57kx1v3hnw04gmqsmpc40l1hyy05";
- };
-
- buildInputs = [ emacs ];
-
- # Hack to disable documentation as there is no way to tell bbdb to
- # NOT build pdfs. I really don't want to pull in TexLive here...
- preConfigure = ''
- substituteInPlace ./Makefile.in \
- --replace "SUBDIRS = lisp doc tex" "SUBDIRS = lisp"
- '';
-
- meta = {
- homepage = https://savannah.nongnu.org/projects/bbdb/;
- description = "The Insidious Big Brother Database (BBDB), a contact management utility for Emacs, version 3";
- license = "GPL";
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/bbdb/default.nix b/pkgs/applications/editors/emacs-modes/bbdb/default.nix
deleted file mode 100644
index 689bcfc9adf..00000000000
--- a/pkgs/applications/editors/emacs-modes/bbdb/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{stdenv, fetchurl, emacs, texinfo, ctags}:
-
-stdenv.mkDerivation rec {
- name = "bbdb-2.36";
-
- src = fetchurl {
- # not using mirror:// because it produces a different file
- url = "http://bbdb.sourceforge.net/${name}.tar.gz";
- sha256 = "1rmw94l71ahfbynyy0bijfy488q9bl5ksl4zpvg7j9dbmgbh296r";
- };
-
- patches = [ ./install-infodir.patch ];
-
- buildInputs = [emacs texinfo ctags];
- configureFlags = [ "--with-package-dir=$$out/share/emacs/site-lisp" ];
- preInstall = "mkdir -p $out/info";
- installTargets = "install-pkg texinfo";
- postInstall = ''
- mv $out/info $out/share/
- mv "$out/share/emacs/site-lisp/lisp/bbdb/"* $out/share/emacs/site-lisp/
- mv $out/share/emacs/site-lisp/etc/bbdb $out/share/
- rm -rf $out/share/emacs/site-lisp/{lisp,etc}
- mv bits $out/share/bbdb/
- # Make optional modules from bbdb available for import, but symlink
- # them into the site-lisp directory to make it obvious that they are
- # not a genuine part of the distribution.
- ln -s "$out/share/bbdb/bits/"*.el $out/share/emacs/site-lisp/
- '';
-
- meta = {
- homepage = http://bbdb.sourceforge.net/;
- description = "The Insidious Big Brother Database (BBDB), a contact management utility for Emacs";
- license = "GPL";
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/bbdb/install-infodir.patch b/pkgs/applications/editors/emacs-modes/bbdb/install-infodir.patch
deleted file mode 100644
index 31ae6b26698..00000000000
--- a/pkgs/applications/editors/emacs-modes/bbdb/install-infodir.patch
+++ /dev/null
@@ -1,28 +0,0 @@
---- bbdb-2.35/texinfo/Makefile.in 2001-11-20 09:00:12.000000000 +0100
-+++ bbdb-2.35/texinfo/Makefile.in 2008-02-20 12:07:36.000000000 +0100
-@@ -27,22 +27,22 @@ all: info bbdb.dvi
- install-pkg: uninstall-pkg info
- @if test "x$(SYMLINKS)" = "xno" ; then \
- for i in `ls bbdb.info* ` ; do \
-- $(INSTALL_DATA) $$i $(PACKAGEDIR)/info/ ; \
-+ $(INSTALL_DATA) $$i $(infodir)/ ; \
- done ; \
- else \
- if test "x$(LINKPATH)" = "x" ; then \
- for i in `ls bbdb.info* ` ; do \
-- $(LN_S) `pwd`/$$i $(PACKAGEDIR)/info/$$i ; \
-+ $(LN_S) `pwd`/$$i $(infodir)/$$i ; \
- done ; \
- else \
- for i in `ls bbdb.info* ` ; do \
-- $(LN_S) $(LINKPATH)/texinfo/$$i $(PACKAGEDIR)/info/$$i ; \
-+ $(LN_S) $(LINKPATH)/texinfo/$$i $(infodir)/$$i ; \
- done ; \
- fi ; \
- fi
-
- uninstall-pkg:
-- -$(RM) $(PACKAGEDIR)/info/bbdb.info*
-+ -$(RM) $(infodir)/bbdb.info*
-
- info: bbdb.info
diff --git a/pkgs/applications/editors/emacs-modes/calfw/default.nix b/pkgs/applications/editors/emacs-modes/calfw/default.nix
deleted file mode 100644
index b8c61bb97af..00000000000
--- a/pkgs/applications/editors/emacs-modes/calfw/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ fetchgit, stdenv, emacs }:
-
-# TODO: byte-compile in build phase - a buildEmacsPackage that does
-# that would be nice
-
-stdenv.mkDerivation rec {
- name = "calfw-1.3-5-ga9b6615";
-
- src = fetchgit {
- url = "git://github.com/kiwanami/emacs-calfw.git";
- rev = "a9b6615b6666bbebe78257c557fd9a2e3a325d8d";
- sha256 = "524acc8fec7e64ebe0d370ddb1d96eee6a409d650b79011fa910c35225a7f393";
- };
-
- buildInputs = [ emacs ];
-
- installPhase =
- ''
- mkdir -p "$out/share/doc/${name}"
- cp -v readme.md "$out/share/doc/${name}"
-
- mkdir -p "$out/share/emacs/site-lisp/"
- cp *.el "$out/share/emacs/site-lisp/"
- '';
-
- meta = {
- description = "A calendar framework for Emacs";
-
- license = stdenv.lib.licenses.gpl3Plus;
-
- maintainers = with stdenv.lib.maintainers; [ ];
- platforms = stdenv.lib.platforms.unix;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/cask/default.nix b/pkgs/applications/editors/emacs-modes/cask/default.nix
deleted file mode 100644
index 34120db6aa7..00000000000
--- a/pkgs/applications/editors/emacs-modes/cask/default.nix
+++ /dev/null
@@ -1,54 +0,0 @@
-{ stdenv, fetchFromGitHub, emacs, python }:
-
-stdenv.mkDerivation rec {
- version = "0.8.4";
- name = "cask-${version}";
-
- src = fetchFromGitHub {
- owner = "cask";
- repo = "cask";
- rev = "v${version}";
- sha256 = "1p37lq8xpyq0rc7phxgsw3b73h8vf9rkpa5959rb5k46w6ps9686";
- };
-
- buildInputs = [ emacs python ];
-
- # byte-compiling emacs files automatically triggers cask's bootstrap
- # mechanism, what we don't want.
- dontBuild = true;
-
- installPhase = ''
- install -d "$out/share/emacs/site-lisp"
- install cask*.el* "$out/share/emacs/site-lisp"
-
- install -d "$out/bin"
- install bin/cask "$out/bin"
-
- # We also need to install cask's templates in order for 'cask
- # init' to work properly.
- install -d "$out/templates"
- install templates/* "$out/templates"
-
- # In order to work with cask's hard coded file paths (during bootstrap),
- # we have to create these links.
- ln -s "$out/share/emacs/site-lisp/"* "$out"
-
- # This file disables cask's self-updating function.
- touch "$out/.no-upgrade"
- '';
-
- meta = with stdenv.lib; {
- description = "Project management tool for Emacs";
- longDescription =
- ''
- Cask is a project management tool for Emacs that helps automate the
- package development cycle; development, dependencies, testing,
- building, packaging and more. Cask can also be used to manage
- dependencies for your local Emacs configuration.
- '';
- homepage = https://github.com/cask/cask;
- license = licenses.gpl3Plus;
- platforms = platforms.all;
- maintainers = [ ];
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/cedet/default.nix b/pkgs/applications/editors/emacs-modes/cedet/default.nix
index e350dc08e71..5fbe095c4f3 100644
--- a/pkgs/applications/editors/emacs-modes/cedet/default.nix
+++ b/pkgs/applications/editors/emacs-modes/cedet/default.nix
@@ -44,5 +44,8 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
homepage = http://cedet.sourceforge.net/;
+
+ # Fails with `semantic-idle.el:42:1:Error: Invalid function: class-p`
+ broken = true;
};
}
diff --git a/pkgs/applications/editors/emacs-modes/cedille/default.nix b/pkgs/applications/editors/emacs-modes/cedille/default.nix
index 2d1cbb75981..3af53cda492 100644
--- a/pkgs/applications/editors/emacs-modes/cedille/default.nix
+++ b/pkgs/applications/editors/emacs-modes/cedille/default.nix
@@ -1,7 +1,7 @@
{ stdenv, cedille, emacs }:
-stdenv.mkDerivation rec {
- name = "cedille-mode-${version}";
+stdenv.mkDerivation {
+ pname = "cedille-mode";
version = cedille.version;
src = cedille.src;
diff --git a/pkgs/applications/editors/emacs-modes/coffee/default.nix b/pkgs/applications/editors/emacs-modes/coffee/default.nix
deleted file mode 100644
index 495b1aca4b5..00000000000
--- a/pkgs/applications/editors/emacs-modes/coffee/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchgit, emacs }:
-
-stdenv.mkDerivation rec {
- name = "coffee-mode-0.4.1";
-
- src = fetchgit {
- url = "https://github.com/defunkt/coffee-mode.git";
- rev = "c45c5f7a529363bc7aa57db0f3df26389fd233d8";
- sha256 = "36a7792b5ffbcc5a580e8d5b2425494c60a8015cfde0e3f8a946a685da231ce2";
- };
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs --batch -f batch-byte-compile coffee-mode.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install coffee-mode.el coffee-mode.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Emacs major mode for CoffeeScript, unfancy JavaScript";
- homepage = https://github.com/defunkt/coffee-mode;
- license = stdenv.lib.licenses.gpl2Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix b/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix
index 6b51f117ad8..3d34c7a462e 100644
--- a/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix
+++ b/pkgs/applications/editors/emacs-modes/color-theme-solarized/default.nix
@@ -2,7 +2,7 @@
let
commit = "412713a0fcedd520d208a7b783fea03d710bcc61";
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "color-theme-solarized-1.0.0";
src = fetchzip {
@@ -30,5 +30,8 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.samuelrivas ];
license = licenses.mit;
platforms = platforms.all;
+
+ # Fails with `solarized-definitions.el:786:1:Warning: the function `rotatef' is not known to`
+ broken = true;
};
}
diff --git a/pkgs/applications/editors/emacs-modes/color-theme/default.nix b/pkgs/applications/editors/emacs-modes/color-theme/default.nix
deleted file mode 100644
index 407b9e58f0b..00000000000
--- a/pkgs/applications/editors/emacs-modes/color-theme/default.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{stdenv, fetchurl, emacs}:
-
-stdenv.mkDerivation rec {
- name = "color-theme-6.6.0";
-
- src = fetchurl {
- url = "mirror://savannah/color-theme/${name}.tar.gz";
- sha256 = "0yx1ghcjc66s1rl0v3d4r1k88ifw591hf814ly3d73acvh15zlsn";
- };
-
- # patches from http://aur.archlinux.org/packages.php?ID=54883
- patches = [ ./fix-build.patch ./gnus-bug.diff ];
-
- buildInputs = [ emacs ];
-
- installFlags = [ "ELISPDIR=$(out)/share/emacs/site-lisp" ];
- installTargets = "install-bin";
-
- meta = {
- description = "Emacs-lisp mode for skinning your Emacs";
- homepage = https://www.nongnu.org/color-theme;
- license = stdenv.lib.licenses.gpl2Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/color-theme/fix-build.patch b/pkgs/applications/editors/emacs-modes/color-theme/fix-build.patch
deleted file mode 100644
index cfc237c8cdc..00000000000
--- a/pkgs/applications/editors/emacs-modes/color-theme/fix-build.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- a/Makefile 2009-05-15 18:22:49.000000000 +0200
-+++ b/Makefile 2009-05-16 08:59:36.000000000 +0200
-@@ -15,6 +15,7 @@
- TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE))
- MANUAL = color-theme
- MISC = AUTHORS COPYING ChangeLog Makefile.defs Makefile $(AUTOLOADFILE).in
-+LOADPATH = "$(shell pwd)" "$(shell pwd)/themes"
- #AUTHORS CREDITS HISTORY NEWS README Makefile ChangeLog \
- #ChangeLog.2005 ChangeLog.2004 ChangeLog.2003 ChangeLog.2002 \
- #ChangeLog.2001 servers.pl color-theme-auto.in color-theme.texi
-@@ -47,7 +48,7 @@
-
- %.elc: %.el
- @$(EMACS) $(OPTIONCOMPILE) \
-- --eval '(setq load-path (cons "." load-path))' \
-+ --eval '(setq load-path (append load-path (list $(LOADPATH))))' \
- -f batch-byte-compile $<
-
- %.info: %.texi
diff --git a/pkgs/applications/editors/emacs-modes/color-theme/gnus-bug.diff b/pkgs/applications/editors/emacs-modes/color-theme/gnus-bug.diff
deleted file mode 100644
index 9d227df562e..00000000000
--- a/pkgs/applications/editors/emacs-modes/color-theme/gnus-bug.diff
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -Naur color-theme-6.6.0.orig/color-theme.el color-theme-6.6.0.new/color-theme.el
---- color-theme-6.6.0.orig/color-theme.el 2011-11-18 01:17:29.000000000 +0100
-+++ color-theme-6.6.0.new/color-theme.el 2011-11-18 01:24:07.000000000 +0100
-@@ -73,9 +73,10 @@
- "Non-nil if running XEmacs.")
-
- ;; Add this since it appears to miss in emacs-2x
--(or (fboundp 'replace-in-string)
-- (defun replace-in-string (target old new)
-- (replace-regexp-in-string old new target)))
-+(if (fboundp 'replace-in-string)
-+ (defalias 'color-theme-replace-in-string 'replace-in-string)
-+ (defsubst color-theme-replace-in-string (target old new &optional literal)
-+ (replace-regexp-in-string old new target nil literal)))
-
- ;; face-attr-construct has a problem in Emacs 20.7 and older when
- ;; dealing with inverse-video faces. Here is a short test to check
-@@ -1626,8 +1627,8 @@
- (add-to-list 'color-themes
- (list ',n
- (upcase-initials
-- (replace-in-string
-- (replace-in-string
-+ (color-theme-replace-in-string
-+ (color-theme-replace-in-string
- (symbol-name ',n) "^color-theme-" "") "-" " "))
- ,author))
- (defun ,n ()
diff --git a/pkgs/applications/editors/emacs-modes/cryptol/default.nix b/pkgs/applications/editors/emacs-modes/cryptol/default.nix
deleted file mode 100644
index 5b408ad7999..00000000000
--- a/pkgs/applications/editors/emacs-modes/cryptol/default.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-
-stdenv.mkDerivation rec {
- name = "cryptol-mode-${version}";
- version = "0.1.0";
-
- src = fetchurl {
- url = "https://github.com/thoughtpolice/cryptol-mode/archive/v${version}.tar.gz";
- sha256 = "1qyrqvfgpg1nyk1clv7v94r3amm02613hrak5732xzn6iak81cc0";
- };
-
- buildInputs = [ emacs ];
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install *.el *.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Emacs major mode for Cryptol";
- homepage = "https://thoughtpolice/cryptol-mode";
- license = stdenv.lib.licenses.gpl3Plus;
- platforms = stdenv.lib.platforms.all;
- maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/cua/builder.sh b/pkgs/applications/editors/emacs-modes/cua/builder.sh
deleted file mode 100644
index 6f7bb428c1a..00000000000
--- a/pkgs/applications/editors/emacs-modes/cua/builder.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-source $stdenv/setup
-
-mkdir -p $out/emacs/site-lisp
-cp $src $out/emacs/site-lisp/cua.el
diff --git a/pkgs/applications/editors/emacs-modes/cua/default.nix b/pkgs/applications/editors/emacs-modes/cua/default.nix
deleted file mode 100644
index 0305be28ad6..00000000000
--- a/pkgs/applications/editors/emacs-modes/cua/default.nix
+++ /dev/null
@@ -1,8 +0,0 @@
-{stdenv, fetchurl}: stdenv.mkDerivation {
- name = "cua-mode-2.10";
- builder = ./builder.sh;
- src = fetchurl {
- url = http://tarballs.nixos.org/cua-mode-2.10.el;
- sha256 = "01877xjbq0v9wrpcbnhvppdn9wxliwkkjg3dr6k795mjgslwhr1b";
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/d/default.nix b/pkgs/applications/editors/emacs-modes/d/default.nix
deleted file mode 100644
index 28736acded2..00000000000
--- a/pkgs/applications/editors/emacs-modes/d/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{stdenv, fetchurl, emacs}:
-
-# Note: Don't have a version, using date as fallback.
-let version = "20150111";
-
-in stdenv.mkDerivation {
- name = "emacs-d-${version}";
-
- src = fetchurl {
- url = "https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode/archive/53efec4d83c7cee8227597f010fe7fc400ff05f1.tar.gz";
- sha256 = "0vb0za51lc6qf1qgqisap4vzk36caa5k17zajjn034rhjsqfw0w7";
- };
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs -L . --batch -f batch-byte-compile *.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install *.el *.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Major mode for editing D code";
- homepage = https://github.com/Emacs-D-Mode-Maintainers/Emacs-D-Mode;
- license = stdenv.lib.licenses.gpl2;
- platforms = stdenv.lib.platforms.all;
- };
-
-}
diff --git a/pkgs/applications/editors/emacs-modes/darcsum/darcs_context b/pkgs/applications/editors/emacs-modes/darcsum/darcs_context
deleted file mode 100644
index 7e9de1ed80b..00000000000
--- a/pkgs/applications/editors/emacs-modes/darcsum/darcs_context
+++ /dev/null
@@ -1,7 +0,0 @@
-
-Context:
-
-[TAG 1.3
-Simon Michael **20131103203640
- Ignore-this: d12bac373e4aa0e5ffe6c390e1dfe269
-]
diff --git a/pkgs/applications/editors/emacs-modes/darcsum/default.nix b/pkgs/applications/editors/emacs-modes/darcsum/default.nix
deleted file mode 100644
index 0a1c2c77b2a..00000000000
--- a/pkgs/applications/editors/emacs-modes/darcsum/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-# To automatically load darcsum when needed, add the following to your emacs init file:
-#
-# (autoload 'darcsum-changes "darcsum" nil t)
-# (autoload 'darcsum-whatsnew "darcsum" nil t)
-# (autoload 'darcsum-view "darcsum" nil t)
-#
-# (These lines were copied from 50darcsum.el in the darcsum repository.)
-
-
-{ fetchdarcs, stdenv }:
-
-stdenv.mkDerivation {
- name = "darcsum-1.3";
-
- src = fetchdarcs {
- url = http://hub.darcs.net/simon/darcsum;
- context = ./darcs_context;
- sha256 = "18dyk2apmnjapd604a5njfqwjri1mc7lgjaajy9phicpibgdrwzh";
- };
-
- phases = [ "unpackPhase" "installPhase" ];
-
- installPhase = ''
- install -d "$out/share/emacs/site-lisp"
- install darcsum.el "$out/share/emacs/site-lisp"
- '';
-
- meta = {
- description = "A pcl-cvs like interface for managing darcs patches";
- homepage = http://hub.darcs.net/simon/darcsum;
- license = stdenv.lib.licenses.gpl2Plus;
- maintainers = [ stdenv.lib.maintainers.falsifian ];
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/ecb/default.nix b/pkgs/applications/editors/emacs-modes/ecb/default.nix
deleted file mode 100644
index 807bb91f850..00000000000
--- a/pkgs/applications/editors/emacs-modes/ecb/default.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-{ fetchurl, stdenv, emacs, cedet, jdee, texinfo }:
-
-stdenv.mkDerivation rec {
- name = "ecb-2.40";
-
- src = fetchurl {
- url = "mirror://sourceforge/ecb/${name}.tar.gz";
- sha256 = "0gp56ixfgnyk2j1fps4mk1yv1vpz81kivb3gq9f56jw4kdlhjrjs";
- };
-
- buildInputs = [ emacs ];
- propagatedBuildInputs = [ cedet jdee ];
- propagatedUserEnvPkgs = propagatedBuildInputs;
-
- patchPhase = ''
- sed -i "Makefile" \
- -e 's|CEDET[[:blank:]]*=.*$|CEDET = ${cedet}/share/emacs/site-lisp|g ;
- s|INSTALLINFO[[:blank:]]*=.*$|INSTALLINFO = ${texinfo}/bin/install-info|g ;
- s|MAKEINFO[[:blank:]]*=.*$|MAKEINFO = ${texinfo}/bin/makeinfo|g ;
- s|common/cedet.el|cedet.el|g'
- '';
-
- installPhase = ''
- mkdir -p "$out/share/emacs/site-lisp"
- cp -rv *.el *.elc ecb-images "$out/share/emacs/site-lisp"
-
- mkdir -p "$out/share/info"
- cp -v info-help/*.info* "$out/share/info"
- '';
-
- meta = {
- description = "ECB, the Emacs Code browser";
-
- longDescription = ''
- ECB stands for "Emacs Code Browser". While Emacs already has
- good editing support for many modes, its browsing support is
- somewhat lacking. That's where ECB comes in: it displays a
- number of informational windows that allow for easy source code
- navigation and overview.
- '';
-
- license = stdenv.lib.licenses.gpl2Plus;
-
- homepage = http://ecb.sourceforge.net/;
-
- maintainers = [ ];
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/elpa-generated.nix b/pkgs/applications/editors/emacs-modes/elpa-generated.nix
index 2c560ba599f..7737034973a 100644
--- a/pkgs/applications/editors/emacs-modes/elpa-generated.nix
+++ b/pkgs/applications/editors/emacs-modes/elpa-generated.nix
@@ -30,21 +30,21 @@
license = lib.licenses.free;
};
}) {};
- ada-mode = callPackage ({ cl-lib ? null
- , elpaBuild
+ ada-mode = callPackage ({ elpaBuild
, emacs
, fetchurl
, lib
+ , uniquify-files
, wisi }:
elpaBuild {
pname = "ada-mode";
ename = "ada-mode";
- version = "6.1.0";
+ version = "6.2.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/ada-mode-6.1.0.tar";
- sha256 = "1qa4kjv5xxlj50fghg5516cxn8ckv8vlyarcab2isxjnnxnb6g7s";
+ url = "https://elpa.gnu.org/packages/ada-mode-6.2.1.tar";
+ sha256 = "0lg2y28qs8ls70d43ikhy5zcwadh5ddfw4k59p7sqb79w0y3lbnq";
};
- packageRequires = [ cl-lib emacs wisi ];
+ packageRequires = [ emacs uniquify-files wisi ];
meta = {
homepage = "https://elpa.gnu.org/packages/ada-mode.html";
license = lib.licenses.free;
@@ -84,10 +84,10 @@
elpaBuild {
pname = "adjust-parens";
ename = "adjust-parens";
- version = "3.0";
+ version = "3.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/adjust-parens-3.0.tar";
- sha256 = "16gmrgdfyqs7i617669f7xy5mds1svbyfv12xhdjk96rbssfngzg";
+ url = "https://elpa.gnu.org/packages/adjust-parens-3.1.tar";
+ sha256 = "059v0njd52vxidr5xwv2jmknm2shnwpj3101069q6lsmz1wq242a";
};
packageRequires = [];
meta = {
@@ -95,6 +95,21 @@
license = lib.licenses.free;
};
}) {};
+ advice-patch = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "advice-patch";
+ ename = "advice-patch";
+ version = "0.1";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/advice-patch-0.1.el";
+ sha256 = "0mb7linzsnf72vzkn9h6w2i2b0h92h6qzkapyrv61vh5a67k1m0s";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/advice-patch.html";
+ license = lib.licenses.free;
+ };
+ }) {};
aggressive-indent = callPackage ({ cl-lib ? null
, elpaBuild
, emacs
@@ -163,10 +178,10 @@
elpaBuild {
pname = "arbitools";
ename = "arbitools";
- version = "0.97";
+ version = "0.977";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/arbitools-0.97.el";
- sha256 = "0fx1z4mw3v42xzixsj80xw56pg00bch04galkjbxbqzm25nl4aha";
+ url = "https://elpa.gnu.org/packages/arbitools-0.977.el";
+ sha256 = "0nvdy14lqvy2ca4vw2qlr2kg2vv4y4sr8sa7kqrpf8cg7k9q3mbv";
};
packageRequires = [ cl-lib ];
meta = {
@@ -189,7 +204,7 @@
license = lib.licenses.free;
};
}) {};
- async = callPackage ({ elpaBuild, fetchurl, lib }:
+ async = callPackage ({ cl-lib ? null, elpaBuild, fetchurl, lib, nadvice }:
elpaBuild {
pname = "async";
ename = "async";
@@ -198,7 +213,7 @@
url = "https://elpa.gnu.org/packages/async-1.9.2.tar";
sha256 = "17fnvrj7jww29sav6a6jpizclg4w2962m6h37akpii71gf0vrffw";
};
- packageRequires = [];
+ packageRequires = [ cl-lib nadvice ];
meta = {
homepage = "https://elpa.gnu.org/packages/async.html";
license = lib.licenses.free;
@@ -268,10 +283,10 @@
elpaBuild {
pname = "avy";
ename = "avy";
- version = "0.4.0";
+ version = "0.5.0";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/avy-0.4.0.tar";
- sha256 = "1vbp37ndv5930x120n0isxxxfs8d5wqlrbnxvp6h3ahbbv0zdcsn";
+ url = "https://elpa.gnu.org/packages/avy-0.5.0.tar";
+ sha256 = "1xfcml38qmrwdd0rkhwrvv2s7dbznwhk3vy9pjd6ljpg22wkb80d";
};
packageRequires = [ cl-lib emacs ];
meta = {
@@ -309,6 +324,21 @@
license = lib.licenses.free;
};
}) {};
+ bnf-mode = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "bnf-mode";
+ ename = "bnf-mode";
+ version = "0.4.2";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/bnf-mode-0.4.2.tar";
+ sha256 = "04wl563hxgjbhz6hhwvysdfvdni9fm7kahy5wxkyqxi1sy64gn7d";
+ };
+ packageRequires = [ cl-lib emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/bnf-mode.html";
+ license = lib.licenses.free;
+ };
+ }) {};
brief = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "brief";
@@ -332,10 +362,10 @@
elpaBuild {
pname = "buffer-expose";
ename = "buffer-expose";
- version = "0.4.1";
+ version = "0.4.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/buffer-expose-0.4.1.el";
- sha256 = "05b1mhcv3860g93a7myqqrhmb9gpp19b4bcxhmdbmf4m0f7p9fw4";
+ url = "https://elpa.gnu.org/packages/buffer-expose-0.4.3.el";
+ sha256 = "1blpvan31mvqhzal16sdn564jnfnn7xsfn8zb65ijndh23drljwd";
};
packageRequires = [ cl-lib emacs ];
meta = {
@@ -512,10 +542,10 @@
elpaBuild {
pname = "company";
ename = "company";
- version = "0.9.9";
+ version = "0.9.10";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/company-0.9.9.tar";
- sha256 = "1qinkz8gwgc27p3p3c9kddrrwx0jb4w0vgx7jq8fwpfj1n92m1rv";
+ url = "https://elpa.gnu.org/packages/company-0.9.10.tar";
+ sha256 = "1w6a11rzsx5iyxn76xarzbghm460j0ampqxlh4j12bswvbn7swnd";
};
packageRequires = [ emacs ];
meta = {
@@ -546,10 +576,10 @@
elpaBuild {
pname = "company-math";
ename = "company-math";
- version = "1.1";
+ version = "1.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/company-math-1.1.tar";
- sha256 = "10yi5jmv7njcaansgy2aw7wm1j3acch1j9x6lfg9mxk0j21zvgwp";
+ url = "https://elpa.gnu.org/packages/company-math-1.3.tar";
+ sha256 = "0fc9ms0s9w81sxp3qcfva3n3d2qys0pj19pnm621a6v1xdsc7i1l";
};
packageRequires = [ company math-symbol-lists ];
meta = {
@@ -591,21 +621,6 @@
license = lib.licenses.free;
};
}) {};
- counsel-ebdb = callPackage ({ ebdb, elpaBuild, fetchurl, ivy, lib }:
- elpaBuild {
- pname = "counsel-ebdb";
- ename = "counsel-ebdb";
- version = "1";
- src = fetchurl {
- url = "https://elpa.gnu.org/packages/counsel-ebdb-1.el";
- sha256 = "0p919gq871rxlrn6lpjbwws7h6i2gc9vgcxzj8bzgz8xk5hq9mis";
- };
- packageRequires = [ ebdb ivy ];
- meta = {
- homepage = "https://elpa.gnu.org/packages/counsel-ebdb.html";
- license = lib.licenses.free;
- };
- }) {};
crisp = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "crisp";
@@ -705,10 +720,10 @@
elpaBuild {
pname = "debbugs";
ename = "debbugs";
- version = "0.17";
+ version = "0.19";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/debbugs-0.17.tar";
- sha256 = "0zclh2nxj5p10n214sxyxy3ca07l5s9p5spk0xp1smr6nzn0w7gb";
+ url = "https://elpa.gnu.org/packages/debbugs-0.19.tar";
+ sha256 = "0cpby8f088cqb5mpd756a2mb706x763k15cg2xdmmsxl415k3yw4";
};
packageRequires = [ cl-lib emacs soap-client ];
meta = {
@@ -716,7 +731,7 @@
license = lib.licenses.free;
};
}) {};
- delight = callPackage ({ elpaBuild, fetchurl, lib }:
+ delight = callPackage ({ cl-lib ? null, elpaBuild, fetchurl, lib, nadvice }:
elpaBuild {
pname = "delight";
ename = "delight";
@@ -725,7 +740,7 @@
url = "https://elpa.gnu.org/packages/delight-1.5.el";
sha256 = "0kzlvzwmn6zj0874086q2xw0pclyi7wlkq48zh2lkd2796xm8vw7";
};
- packageRequires = [];
+ packageRequires = [ cl-lib nadvice ];
meta = {
homepage = "https://elpa.gnu.org/packages/delight.html";
license = lib.licenses.free;
@@ -750,10 +765,10 @@
elpaBuild {
pname = "diff-hl";
ename = "diff-hl";
- version = "1.8.6";
+ version = "1.8.7";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/diff-hl-1.8.6.tar";
- sha256 = "02hvi5jxv2anf62lw878bdz6xk7xjhjd5q85pqihmadbpj6i6pfq";
+ url = "https://elpa.gnu.org/packages/diff-hl-1.8.7.tar";
+ sha256 = "1qcwicflvm6dxcflnlg891hyzwp2q79fdkdbdwp1440a0j09riam";
};
packageRequires = [ cl-lib emacs ];
meta = {
@@ -810,10 +825,10 @@
elpaBuild {
pname = "disk-usage";
ename = "disk-usage";
- version = "1.3.1";
+ version = "1.3.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/disk-usage-1.3.1.el";
- sha256 = "1jkwlg7w4090a7byfjh30mjz1libls8n71pphmn3973hqwaclnr7";
+ url = "https://elpa.gnu.org/packages/disk-usage-1.3.3.el";
+ sha256 = "0h1jwznd41gi0vg830ilfgm01q05zknikzahwasm9cizwm2wyizj";
};
packageRequires = [ emacs ];
meta = {
@@ -840,10 +855,10 @@
elpaBuild {
pname = "djvu";
ename = "djvu";
- version = "1.0.1";
+ version = "1.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/djvu-1.0.1.el";
- sha256 = "1am4cm9csc5df3mbdby7j197j8yxv0x0maf6kfmn2ww1iwcyv8x6";
+ url = "https://elpa.gnu.org/packages/djvu-1.1.el";
+ sha256 = "0njgyx09q225hliacsnjk8wallg5i6xkz6bj501pb05nwqfbvfk7";
};
packageRequires = [];
meta = {
@@ -900,10 +915,10 @@
elpaBuild {
pname = "ebdb";
ename = "ebdb";
- version = "0.6.6";
+ version = "0.6.11";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/ebdb-0.6.6.tar";
- sha256 = "1jgx099z9xg47v698qjbk5q70bakfw7zxaj25z4jz1mq64fvk6b5";
+ url = "https://elpa.gnu.org/packages/ebdb-0.6.11.tar";
+ sha256 = "1ljcp4vy8z5xbcrlf33xgi63a2px4fhx6928qhwr7sy7jwil2s6n";
};
packageRequires = [ cl-lib emacs seq ];
meta = {
@@ -930,10 +945,10 @@
elpaBuild {
pname = "ebdb-i18n-chn";
ename = "ebdb-i18n-chn";
- version = "1.2";
+ version = "1.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/ebdb-i18n-chn-1.2.el";
- sha256 = "1qgrlk625mhfd6n1mc0kqfzbisnb61kx3vrrl3bzlz4viq3kcc10";
+ url = "https://elpa.gnu.org/packages/ebdb-i18n-chn-1.3.el";
+ sha256 = "1w7xgagscyjxrw4xl8bz6wf7skvdvk5qdcp5p7kxl4r9nhjffj20";
};
packageRequires = [ ebdb pyim ];
meta = {
@@ -956,6 +971,21 @@
license = lib.licenses.free;
};
}) {};
+ eev = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "eev";
+ ename = "eev";
+ version = "20190517";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/eev-20190517.tar";
+ sha256 = "0hgjdax0kg2w7bf3idl6mw6m8j2wkh1253px42v2lbaxp6897m07";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/eev.html";
+ license = lib.licenses.free;
+ };
+ }) {};
eglot = callPackage ({ elpaBuild
, emacs
, fetchurl
@@ -985,10 +1015,10 @@
elpaBuild {
pname = "el-search";
ename = "el-search";
- version = "1.11.4";
+ version = "1.12.6.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/el-search-1.11.4.tar";
- sha256 = "152kx9s72h94n6nsrn84cmfb264cdw61ny5fn0n3fa581ipy34nm";
+ url = "https://elpa.gnu.org/packages/el-search-1.12.6.1.tar";
+ sha256 = "150f4rirg107hmzpv8ifa32k2mgf07smbf9z44ln5rh8n17xwqah";
};
packageRequires = [ cl-print emacs stream ];
meta = {
@@ -1087,10 +1117,10 @@
elpaBuild {
pname = "excorporate";
ename = "excorporate";
- version = "0.8.1";
+ version = "0.8.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/excorporate-0.8.1.tar";
- sha256 = "1k89472x80wsn14y16km5bgynmmd2kbdfhylb3cc17jvdn1xr53y";
+ url = "https://elpa.gnu.org/packages/excorporate-0.8.3.tar";
+ sha256 = "04bsbiwgfbfd501qvwh0iwyk0xh442kjfj73b3876idwj3p8alr5";
};
packageRequires = [ emacs fsm nadvice soap-client url-http-ntlm ];
meta = {
@@ -1162,10 +1192,10 @@
elpaBuild {
pname = "flymake";
ename = "flymake";
- version = "1.0.5";
+ version = "1.0.8";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/flymake-1.0.5.el";
- sha256 = "1zxzad84gcbdfh3pp606sspy8zkgxvngbzbimc2cam4pjcmwfx1y";
+ url = "https://elpa.gnu.org/packages/flymake-1.0.8.el";
+ sha256 = "1hqxrqb227v4ncjjqx8im3c4mhg8w5yjbz9hpfcm5x8xnr2yd6bp";
};
packageRequires = [ emacs ];
meta = {
@@ -1177,10 +1207,10 @@
elpaBuild {
pname = "fountain-mode";
ename = "fountain-mode";
- version = "2.6.2";
+ version = "2.7.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/fountain-mode-2.6.2.el";
- sha256 = "0ysxk9ap919scg2zz0psw8hk1dj35ys9p0havswsjzm46k43xd6z";
+ url = "https://elpa.gnu.org/packages/fountain-mode-2.7.3.el";
+ sha256 = "1sz3qp3y52d05jd006zc99r4ryignpa2jgfk72rw3zfqmikzv15j";
};
packageRequires = [ emacs ];
meta = {
@@ -1207,10 +1237,10 @@
elpaBuild {
pname = "frog-menu";
ename = "frog-menu";
- version = "0.2.2";
+ version = "0.2.10";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/frog-menu-0.2.2.el";
- sha256 = "0kv31p42gmi01xalbvwksk10l28ascdr214bmv1z22dipv0zm30i";
+ url = "https://elpa.gnu.org/packages/frog-menu-0.2.10.el";
+ sha256 = "050qikvgh9v7kgvhznjsfrpyhs7iq1x63bryqdkrwlf668yhzi1m";
};
packageRequires = [ avy emacs posframe ];
meta = {
@@ -1252,10 +1282,10 @@
elpaBuild {
pname = "gited";
ename = "gited";
- version = "0.5.3";
+ version = "0.5.4";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/gited-0.5.3.tar";
- sha256 = "1bayfclczdzrmay8swszs8lliz5p4nnmjzzz2gh68rc16isjgh2z";
+ url = "https://elpa.gnu.org/packages/gited-0.5.4.tar";
+ sha256 = "07ckknggkqd733bnps21r46bacgyhd0v9wc0spid22hn0dnrfp12";
};
packageRequires = [ cl-lib emacs ];
meta = {
@@ -1308,6 +1338,23 @@
license = lib.licenses.free;
};
}) {};
+ gnu-elpa-keyring-update = callPackage ({ elpaBuild
+ , fetchurl
+ , lib }:
+ elpaBuild {
+ pname = "gnu-elpa-keyring-update";
+ ename = "gnu-elpa-keyring-update";
+ version = "2019.3";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/gnu-elpa-keyring-update-2019.3.tar";
+ sha256 = "1zw65kag25abimg088m4h8vj2nd4y5nc4qal6fsda0dldckfv1w0";
+ };
+ packageRequires = [];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/gnu-elpa-keyring-update.html";
+ license = lib.licenses.free;
+ };
+ }) {};
gnugo = callPackage ({ ascii-art-to-unicode
, cl-lib ? null
, elpaBuild
@@ -1332,10 +1379,10 @@
elpaBuild {
pname = "gnus-mock";
ename = "gnus-mock";
- version = "0.4.0";
+ version = "0.4.2";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/gnus-mock-0.4.0.tar";
- sha256 = "058bd4f8za9bxayrd2j5b05qvk8lxxm8mmfwxb73d7k15z3z3l3s";
+ url = "https://elpa.gnu.org/packages/gnus-mock-0.4.2.tar";
+ sha256 = "04ddmdm2hykgr2y9g2yzmjp3fszhaywwnxhiy608cpvqdjwlwhn7";
};
packageRequires = [];
meta = {
@@ -1373,12 +1420,12 @@
license = lib.licenses.free;
};
}) {};
- guess-language = callPackage ({ advice
- , cl-lib ? null
+ guess-language = callPackage ({ cl-lib ? null
, elpaBuild
, emacs
, fetchurl
- , lib }:
+ , lib
+ , nadvice }:
elpaBuild {
pname = "guess-language";
ename = "guess-language";
@@ -1387,7 +1434,7 @@
url = "https://elpa.gnu.org/packages/guess-language-0.0.1.el";
sha256 = "11a6m2337j4ncppaf59yr2vavvvsph2qh51d12zmq58g9wh3d7wz";
};
- packageRequires = [ advice cl-lib emacs ];
+ packageRequires = [ cl-lib emacs nadvice ];
meta = {
homepage = "https://elpa.gnu.org/packages/guess-language.html";
license = lib.licenses.free;
@@ -1408,21 +1455,6 @@
license = lib.licenses.free;
};
}) {};
- helm-ebdb = callPackage ({ ebdb, elpaBuild, fetchurl, helm, lib }:
- elpaBuild {
- pname = "helm-ebdb";
- ename = "helm-ebdb";
- version = "1";
- src = fetchurl {
- url = "https://elpa.gnu.org/packages/helm-ebdb-1.el";
- sha256 = "17gpna0hywxnhfwc9zsm2r35mskyfi416qqmmdba26r4zmpb9r63";
- };
- packageRequires = [ ebdb helm ];
- meta = {
- homepage = "https://elpa.gnu.org/packages/helm-ebdb.html";
- license = lib.licenses.free;
- };
- }) {};
highlight-escape-sequences = callPackage ({ elpaBuild
, fetchurl
, lib }:
@@ -1489,10 +1521,10 @@
elpaBuild {
pname = "hyperbole";
ename = "hyperbole";
- version = "7.0.2";
+ version = "7.0.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/hyperbole-7.0.2.tar";
- sha256 = "1hgwa740941a9s5wf1cqf76h3af8qbiiw9sc76biz6m3vx0hy1zs";
+ url = "https://elpa.gnu.org/packages/hyperbole-7.0.3.tar";
+ sha256 = "1mvplaxfjji00gg8rkhidfsdl8knwi6c0ai149zm4djsfaww3ikh";
};
packageRequires = [ emacs ];
meta = {
@@ -1534,10 +1566,10 @@
elpaBuild {
pname = "ivy";
ename = "ivy";
- version = "0.10.0";
+ version = "0.12.0";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/ivy-0.10.0.tar";
- sha256 = "01m58inpd8jbfvzqsrwigzjfld9a66nf36cbya26dmdy7vwdm8xm";
+ url = "https://elpa.gnu.org/packages/ivy-0.12.0.tar";
+ sha256 = "14q9kh48iabrnhwcmhlvgk7sg4a0j5c3zjp0yzj1ijrz5zbdhxxz";
};
packageRequires = [ emacs ];
meta = {
@@ -1684,10 +1716,10 @@
elpaBuild {
pname = "let-alist";
ename = "let-alist";
- version = "1.0.5";
+ version = "1.0.6";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/let-alist-1.0.5.el";
- sha256 = "0r7b9jni50la1m79kklml11syg8d2fmdlr83pv005sv1wh02jszw";
+ url = "https://elpa.gnu.org/packages/let-alist-1.0.6.el";
+ sha256 = "0szj7vnjzz4zci5fvz7xqgcpi4pzdyyf4qi2s8xar2hi7v3yaawr";
};
packageRequires = [ emacs ];
meta = {
@@ -1744,10 +1776,10 @@
elpaBuild {
pname = "load-relative";
ename = "load-relative";
- version = "1.3";
+ version = "1.3.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/load-relative-1.3.el";
- sha256 = "1hfxb2436jdsi9wfmsv47lkkpa5galjf5q81bqabbsv79rv59dps";
+ url = "https://elpa.gnu.org/packages/load-relative-1.3.1.el";
+ sha256 = "1m37scr82lqqy954fchjxrmdh4lngrl4d1yzxhp3yfjhsydizhrj";
};
packageRequires = [];
meta = {
@@ -1819,10 +1851,10 @@
elpaBuild {
pname = "math-symbol-lists";
ename = "math-symbol-lists";
- version = "1.1";
+ version = "1.2.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/math-symbol-lists-1.1.tar";
- sha256 = "06klvnqipz0n9slw72fxmhrydrw6bi9fs9vnn8hrja8gsqf8inlz";
+ url = "https://elpa.gnu.org/packages/math-symbol-lists-1.2.1.el";
+ sha256 = "015q44qg9snrpz04syz89f9f79pzg5h7w88nh84p38klynkx2f86";
};
packageRequires = [];
meta = {
@@ -2038,10 +2070,10 @@
elpaBuild {
pname = "nhexl-mode";
ename = "nhexl-mode";
- version = "1.2";
+ version = "1.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/nhexl-mode-1.2.el";
- sha256 = "031h22p564qdvr9khs05qcba06pmsk68cr7zyc7c04hfr3y3ziaf";
+ url = "https://elpa.gnu.org/packages/nhexl-mode-1.3.el";
+ sha256 = "1fcy4ybr12dvswmzaqkv4798snb1x1y7ldxwrsgjv5sx7bb5j60z";
};
packageRequires = [ cl-lib emacs ];
meta = {
@@ -2139,6 +2171,21 @@
license = lib.licenses.free;
};
}) {};
+ olivetti = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "olivetti";
+ ename = "olivetti";
+ version = "1.7.1";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/olivetti-1.7.1.el";
+ sha256 = "1bk41bqri0ycpab46c7a6i5k3js1pm5k6d76y91mp3l2izy2bxwj";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/olivetti.html";
+ license = lib.licenses.free;
+ };
+ }) {};
omn-mode = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "omn-mode";
@@ -2158,10 +2205,10 @@
elpaBuild {
pname = "on-screen";
ename = "on-screen";
- version = "1.3.2";
+ version = "1.3.3";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/on-screen-1.3.2.el";
- sha256 = "15d18mjgv1pnwl6kf3pr5w64q1322p1l1qlfvnckglwmzy5sl2qv";
+ url = "https://elpa.gnu.org/packages/on-screen-1.3.3.el";
+ sha256 = "0ga4hw23ki583li2z2hr7l6hk1nc2kdg4afndg06cm9jn158wza7";
};
packageRequires = [ cl-lib ];
meta = {
@@ -2173,10 +2220,10 @@
elpaBuild {
pname = "org";
ename = "org";
- version = "9.2.3";
+ version = "9.2.5";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/org-9.2.3.tar";
- sha256 = "0hqy4lns9q5p0l1ylgmlckqprn9sbasszhznanmv0rsh0gzhsbyw";
+ url = "https://elpa.gnu.org/packages/org-9.2.5.tar";
+ sha256 = "1pid1sykgz83i4ry5n8f270finag6sm7ckqxn5lkikyya43wlzx1";
};
packageRequires = [];
meta = {
@@ -2289,6 +2336,21 @@
license = lib.licenses.free;
};
}) {};
+ path-iterator = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "path-iterator";
+ ename = "path-iterator";
+ version = "1.0";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/path-iterator-1.0.tar";
+ sha256 = "0kgl7rhv9x23jyr6ahfy6ql447zpz9fnmfwldkpn69g7jdx6a3cc";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/path-iterator.html";
+ license = lib.licenses.free;
+ };
+ }) {};
peg = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "peg";
@@ -2304,6 +2366,36 @@
license = lib.licenses.free;
};
}) {};
+ persist = callPackage ({ elpaBuild, fetchurl, lib }:
+ elpaBuild {
+ pname = "persist";
+ ename = "persist";
+ version = "0.4";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/persist-0.4.tar";
+ sha256 = "0gpxy41qawzss2526j9a7lys60vqma1lvamn4bfabwza7gfhac0q";
+ };
+ packageRequires = [];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/persist.html";
+ license = lib.licenses.free;
+ };
+ }) {};
+ phps-mode = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "phps-mode";
+ ename = "phps-mode";
+ version = "0.2.8";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/phps-mode-0.2.8.tar";
+ sha256 = "16sdqh93d2i9dxjibbhx4afakn150qc6xy2ifd83kx85c67y95kl";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/phps-mode.html";
+ license = lib.licenses.free;
+ };
+ }) {};
pinentry = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "pinentry";
@@ -2338,10 +2430,10 @@
elpaBuild {
pname = "posframe";
ename = "posframe";
- version = "0.4.3";
+ version = "0.5.0";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/posframe-0.4.3.el";
- sha256 = "06q0p4qim6lha2xr9fxaspbzw01xn01ik9gxlld6hdhh19b65cmi";
+ url = "https://elpa.gnu.org/packages/posframe-0.5.0.el";
+ sha256 = "1fjnpwg1fj9j54nymh802vd4viggrg3qnqwh52281n7zv6xfv0qb";
};
packageRequires = [ emacs ];
meta = {
@@ -2469,8 +2561,7 @@
license = lib.licenses.free;
};
}) {};
- realgud = callPackage ({ cl-lib ? null
- , elpaBuild
+ realgud = callPackage ({ elpaBuild
, emacs
, fetchurl
, lib
@@ -2480,23 +2571,141 @@
elpaBuild {
pname = "realgud";
ename = "realgud";
- version = "1.4.5";
+ version = "1.5.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/realgud-1.4.5.tar";
- sha256 = "108wgxg7fb4byaiasgvbxv2hq7b00biq9f0mh9hy6vw4160y5w24";
+ url = "https://elpa.gnu.org/packages/realgud-1.5.1.tar";
+ sha256 = "01155sydricdvxy3djk64w2zc6x0q4j669bvz8m8rd766wsmida8";
};
- packageRequires = [
- cl-lib
- emacs
- load-relative
- loc-changes
- test-simple
- ];
+ packageRequires = [ emacs load-relative loc-changes test-simple ];
meta = {
homepage = "https://elpa.gnu.org/packages/realgud.html";
license = lib.licenses.free;
};
}) {};
+ realgud-ipdb = callPackage ({ elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , load-relative
+ , realgud }:
+ elpaBuild {
+ pname = "realgud-ipdb";
+ ename = "realgud-ipdb";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/realgud-ipdb-1.0.0.tar";
+ sha256 = "1ljh2igm6na92jdvnn4f51019v3klc6k03nayxf6qxzaxwq2w254";
+ };
+ packageRequires = [ emacs load-relative realgud ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/realgud-ipdb.html";
+ license = lib.licenses.free;
+ };
+ }) {};
+ realgud-jdb = callPackage ({ cl-lib ? null
+ , elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , load-relative
+ , realgud }:
+ elpaBuild {
+ pname = "realgud-jdb";
+ ename = "realgud-jdb";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/realgud-jdb-1.0.0.tar";
+ sha256 = "081lqsxbg6cxv8hz8s0z2gbdif9drp5b0crbixmwf164i4h8l4gc";
+ };
+ packageRequires = [ cl-lib emacs load-relative realgud ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/realgud-jdb.html";
+ license = lib.licenses.free;
+ };
+ }) {};
+ realgud-lldb = callPackage ({ elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , load-relative
+ , realgud }:
+ elpaBuild {
+ pname = "realgud-lldb";
+ ename = "realgud-lldb";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/realgud-lldb-1.0.2.tar";
+ sha256 = "0nqbvknhvw5lwf4i44q8wvh4y4s9mvs5kn7lskg3xicl464ag1d0";
+ };
+ packageRequires = [ emacs load-relative realgud ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/realgud-lldb.html";
+ license = lib.licenses.free;
+ };
+ }) {};
+ realgud-node-debug = callPackage ({ cl-lib ? null
+ , elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , load-relative
+ , realgud }:
+ elpaBuild {
+ pname = "realgud-node-debug";
+ ename = "realgud-node-debug";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/realgud-node-debug-1.0.0.tar";
+ sha256 = "1wyh6apy289a3qa1bnwv68x8pjkpqy4m18ygqnr4x759hjkq3nir";
+ };
+ packageRequires = [ cl-lib emacs load-relative realgud ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/realgud-node-debug.html";
+ license = lib.licenses.free;
+ };
+ }) {};
+ realgud-node-inspect = callPackage ({ cl-lib ? null
+ , elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , load-relative
+ , realgud }:
+ elpaBuild {
+ pname = "realgud-node-inspect";
+ ename = "realgud-node-inspect";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/realgud-node-inspect-1.0.0.tar";
+ sha256 = "16cx0rq4zx5k0y75j044dbqzrzs1df3r95rissmhfgsi5m2qf1h2";
+ };
+ packageRequires = [ cl-lib emacs load-relative realgud ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/realgud-node-inspect.html";
+ license = lib.licenses.free;
+ };
+ }) {};
+ realgud-trepan-ni = callPackage ({ cl-lib ? null
+ , elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , load-relative
+ , realgud }:
+ elpaBuild {
+ pname = "realgud-trepan-ni";
+ ename = "realgud-trepan-ni";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/realgud-trepan-ni-1.0.1.tar";
+ sha256 = "0vakfzlk4pgqi66mdvwqhzgdsnks6clgnj7cjjbi80v3ipkfdnak";
+ };
+ packageRequires = [ cl-lib emacs load-relative realgud ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/realgud-trepan-ni.html";
+ license = lib.licenses.free;
+ };
+ }) {};
register-list = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "register-list";
@@ -2516,10 +2725,10 @@
elpaBuild {
pname = "relint";
ename = "relint";
- version = "1.6";
+ version = "1.10";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/relint-1.6.el";
- sha256 = "17nyy3zqpqgs22lrrpdm0k56xnhj5l3y2y3lnmhcqw63xksgbsyk";
+ url = "https://elpa.gnu.org/packages/relint-1.10.el";
+ sha256 = "1l0lh4pkksw7brmhhbaikwzs4zkgd2962ks1zy7m262dvkhxjfv8";
};
packageRequires = [ xr ];
meta = {
@@ -2623,6 +2832,21 @@
license = lib.licenses.free;
};
}) {};
+ shelisp = callPackage ({ elpaBuild, fetchurl, lib }:
+ elpaBuild {
+ pname = "shelisp";
+ ename = "shelisp";
+ version = "0.9.1";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/shelisp-0.9.1.el";
+ sha256 = "15z8rpx8nhx53q77z5fqcpww255di80lb5mm28mnn2myalrr8b59";
+ };
+ packageRequires = [];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/shelisp.html";
+ license = lib.licenses.free;
+ };
+ }) {};
shen-mode = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "shen-mode";
@@ -2653,6 +2877,21 @@
license = lib.licenses.free;
};
}) {};
+ smalltalk-mode = callPackage ({ elpaBuild, fetchurl, lib }:
+ elpaBuild {
+ pname = "smalltalk-mode";
+ ename = "smalltalk-mode";
+ version = "3.2.92";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/smalltalk-mode-3.2.92.tar";
+ sha256 = "0zlp1pk88m1gybhnvcmm0bhrj6zvnjzhc26r1i4d56pyh6vwivfj";
+ };
+ packageRequires = [];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/smalltalk-mode.html";
+ license = lib.licenses.free;
+ };
+ }) {};
smart-yank = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "smart-yank";
@@ -2747,10 +2986,10 @@
elpaBuild {
pname = "sql-indent";
ename = "sql-indent";
- version = "1.3";
+ version = "1.4";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/sql-indent-1.3.tar";
- sha256 = "0zira8my1q975bad2h76bz4yddjzf0dskvy6x865np86rmzd0c9w";
+ url = "https://elpa.gnu.org/packages/sql-indent-1.4.tar";
+ sha256 = "1nilxfm30nb2la1463729rgbgbma7igkf0z325k8cbapqanb1wgl";
};
packageRequires = [ cl-lib ];
meta = {
@@ -2762,10 +3001,10 @@
elpaBuild {
pname = "ssh-deploy";
ename = "ssh-deploy";
- version = "3.0";
+ version = "3.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/ssh-deploy-3.0.tar";
- sha256 = "0lv9qwm1dhcd2l2mnhjfpqsz6xx0wabjg5j5sm3425fjsaqws6m7";
+ url = "https://elpa.gnu.org/packages/ssh-deploy-3.1.tar";
+ sha256 = "09m1ljp68rribypls5mzffmdv86jkg9wq4bdb7d1qkdjyr3f2hgn";
};
packageRequires = [ emacs ];
meta = {
@@ -2792,10 +3031,10 @@
elpaBuild {
pname = "svg";
ename = "svg";
- version = "0.2";
+ version = "1.0";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/svg-0.2.el";
- sha256 = "14yfi27v3zdzh1chcjiq4l63iwh0vd99wv1z4w7agr33540jybc5";
+ url = "https://elpa.gnu.org/packages/svg-1.0.el";
+ sha256 = "1hh0x7sz2rqb7zdhcm2q9knr8nnwqrsbz1zfp29k8l1318li9f62";
};
packageRequires = [ emacs ];
meta = {
@@ -2822,10 +3061,10 @@
elpaBuild {
pname = "system-packages";
ename = "system-packages";
- version = "1.0.10";
+ version = "1.0.11";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/system-packages-1.0.10.tar";
- sha256 = "1vwf2j0fxrsqmrgc7x5nkkg0vlhwgxppc4w7kb5is6dgrssskpb5";
+ url = "https://elpa.gnu.org/packages/system-packages-1.0.11.tar";
+ sha256 = "0xf2q5bslxpw0wycgi2k983lnfpw182rgdzq0f99f64kb7ifns9y";
};
packageRequires = [ emacs ];
meta = {
@@ -2908,6 +3147,21 @@
license = lib.licenses.free;
};
}) {};
+ tramp = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "tramp";
+ ename = "tramp";
+ version = "2.4.2.2";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/tramp-2.4.2.2.tar";
+ sha256 = "0bjfnxxyn8xgw10ybnjrza2gfwqifa3q7rh0bp6pidlhg45718p8";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/tramp.html";
+ license = lib.licenses.free;
+ };
+ }) {};
tramp-theme = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "tramp-theme";
@@ -2983,6 +3237,21 @@
license = lib.licenses.free;
};
}) {};
+ uniquify-files = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
+ elpaBuild {
+ pname = "uniquify-files";
+ ename = "uniquify-files";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/uniquify-files-1.0.1.tar";
+ sha256 = "0c4lf25503z71wz9f0v6ag5lmqfxz94lmq65xvzvhmqvkxvsgpm5";
+ };
+ packageRequires = [ emacs ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/uniquify-files.html";
+ license = lib.licenses.free;
+ };
+ }) {};
url-http-ntlm = callPackage ({ cl-lib ? null
, elpaBuild
, fetchurl
@@ -3052,6 +3321,23 @@
license = lib.licenses.free;
};
}) {};
+ verilog-mode = callPackage ({ elpaBuild
+ , fetchurl
+ , lib }:
+ elpaBuild {
+ pname = "verilog-mode";
+ ename = "verilog-mode";
+ version = "2019.6.21.103209889";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/verilog-mode-2019.6.21.103209889.el";
+ sha256 = "0hlcp2jhm30bzx6iabdb31aqv0dmmim30g9z5kqb0hl1bd1dnm9m";
+ };
+ packageRequires = [];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/verilog-mode.html";
+ license = lib.licenses.free;
+ };
+ }) {};
vigenere = callPackage ({ elpaBuild, emacs, fetchurl, lib }:
elpaBuild {
pname = "vigenere";
@@ -3134,10 +3420,10 @@
elpaBuild {
pname = "wcheck-mode";
ename = "wcheck-mode";
- version = "2016.1.30";
+ version = "2019.6.17";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/wcheck-mode-2016.1.30.el";
- sha256 = "0hzrxnslfl04h083njy7wp4hhgrqpyz0cnm73v348kr1i4wx9xjq";
+ url = "https://elpa.gnu.org/packages/wcheck-mode-2019.6.17.el";
+ sha256 = "0579a3p9swq0j0fca9s885kzv69y9lhhnqa6m4pzdgrr6pfrirqv";
};
packageRequires = [];
meta = {
@@ -3194,10 +3480,10 @@
elpaBuild {
pname = "websocket";
ename = "websocket";
- version = "1.8";
+ version = "1.11.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/websocket-1.8.tar";
- sha256 = "0dcxmnnm8z7cvsc7nkb822a1g6w03klp7cijjnfq0pz84p3w9cd9";
+ url = "https://elpa.gnu.org/packages/websocket-1.11.1.tar";
+ sha256 = "09s8qyi012djmm3vrj1qg1zqqy0h0cbcfzfkhybvqi4amy4jgliw";
};
packageRequires = [ cl-lib ];
meta = {
@@ -3235,21 +3521,41 @@
license = lib.licenses.free;
};
}) {};
- wisi = callPackage ({ cl-lib ? null, elpaBuild, emacs, fetchurl, lib, seq }:
+ wisi = callPackage ({ elpaBuild, emacs, fetchurl, lib, seq }:
elpaBuild {
pname = "wisi";
ename = "wisi";
- version = "2.1.0";
+ version = "2.2.1";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/wisi-2.1.0.tar";
- sha256 = "143xfdr7agyc52wz9zsx67rvvnjs4rlj7j3cbdhvs6wyl7whyg38";
+ url = "https://elpa.gnu.org/packages/wisi-2.2.1.tar";
+ sha256 = "1qvhx8bpms7gri7y6wniwqd6nmqxj4lip5l3sphbq2kjf4zq4qd4";
};
- packageRequires = [ cl-lib emacs seq ];
+ packageRequires = [ emacs seq ];
meta = {
homepage = "https://elpa.gnu.org/packages/wisi.html";
license = lib.licenses.free;
};
}) {};
+ wisitoken-grammar-mode = callPackage ({ elpaBuild
+ , emacs
+ , fetchurl
+ , lib
+ , mmm-mode
+ , wisi }:
+ elpaBuild {
+ pname = "wisitoken-grammar-mode";
+ ename = "wisitoken-grammar-mode";
+ version = "1.0.3";
+ src = fetchurl {
+ url = "https://elpa.gnu.org/packages/wisitoken-grammar-mode-1.0.3.tar";
+ sha256 = "1vljnhi35vix30xch9mziczg56ss1r615yn2pgdcw8wa8sm14crw";
+ };
+ packageRequires = [ emacs mmm-mode wisi ];
+ meta = {
+ homepage = "https://elpa.gnu.org/packages/wisitoken-grammar-mode.html";
+ license = lib.licenses.free;
+ };
+ }) {};
wpuzzle = callPackage ({ elpaBuild, fetchurl, lib }:
elpaBuild {
pname = "wpuzzle";
@@ -3269,10 +3575,10 @@
elpaBuild {
pname = "xclip";
ename = "xclip";
- version = "1.8";
+ version = "1.9";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/xclip-1.8.el";
- sha256 = "1ymc9dhpwbh92ad7w64p8xlrjdws5c9h90h47ckh6479h8r697xg";
+ url = "https://elpa.gnu.org/packages/xclip-1.9.el";
+ sha256 = "0xbs6fw0dfm5iynhdx62cwixzizjkrwrib6n0fjnsj31kajbkf3y";
};
packageRequires = [];
meta = {
@@ -3314,10 +3620,10 @@
elpaBuild {
pname = "xr";
ename = "xr";
- version = "1.10";
+ version = "1.13";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/xr-1.10.tar";
- sha256 = "16p68rj5h609pnbp7y0jiiq1zkbksh4qqi1q8yby3ldj5x9sfpwc";
+ url = "https://elpa.gnu.org/packages/xr-1.13.tar";
+ sha256 = "1km4x92pii8c4bcimks4xzhmwpypdf183z0zh7raj062jz4jb74r";
};
packageRequires = [];
meta = {
@@ -3362,10 +3668,10 @@
elpaBuild {
pname = "zones";
ename = "zones";
- version = "2018.12.28";
+ version = "2019.7.13";
src = fetchurl {
- url = "https://elpa.gnu.org/packages/zones-2018.12.28.el";
- sha256 = "1jd7wy5w96xppdlcl4dzq4wqhr2x6f4hzjps9f4kz256l4ia6hm0";
+ url = "https://elpa.gnu.org/packages/zones-2019.7.13.el";
+ sha256 = "0qp1ba2pkqx9d35g7z8hf8qs2k455krf2a92l4rka3ipsbnmq5k1";
};
packageRequires = [];
meta = {
diff --git a/pkgs/applications/editors/emacs-modes/elpa-packages.nix b/pkgs/applications/editors/emacs-modes/elpa-packages.nix
index b9f1ab53baa..a6bea779eae 100644
--- a/pkgs/applications/editors/emacs-modes/elpa-packages.nix
+++ b/pkgs/applications/editors/emacs-modes/elpa-packages.nix
@@ -4,45 +4,39 @@
To update the list of packages from MELPA,
-1. Clone https://github.com/ttuegel/emacs2nix.
-2. Run `./elpa-packages.sh` from emacs2nix.
-3. Copy the new `elpa-generated.nix` file into Nixpkgs.
-4. Check for evaluation errors: `nix-instantiate ./. -A emacsPackagesNg.elpaPackages`.
-5. `git add pkgs/applications/editors/emacs-modes/elpa-generated.nix && git commit -m "elpa-packages $(date -Idate)"`
+1. Run `./update-elpa`.
+2. Check for evaluation errors: `nix-instantiate ../../../.. -A emacsPackagesNg.elpaPackages`.
+3. `git commit -m "elpa-packages $(date -Idate)" -- elpa-generated.nix`
*/
-{ fetchurl, lib, stdenv, texinfo }:
+{ lib, stdenv, texinfo }:
-self:
+self: let
- let
+ markBroken = pkg: pkg.override {
+ elpaBuild = args: self.elpaBuild (args // {
+ meta = (args.meta or {}) // { broken = true; };
+ });
+ };
- imported = import ./elpa-generated.nix {
+ elpaBuild = import ../../../build-support/emacs/elpa.nix {
+ inherit lib stdenv texinfo;
+ inherit (self) emacs;
+ };
+
+ generateElpa = lib.makeOverridable ({
+ generated ? ./elpa-generated.nix
+ }: let
+
+ imported = import generated {
inherit (self) callPackage;
};
super = removeAttrs imported [ "dash" ];
- elpaBuild = import ../../../build-support/emacs/elpa.nix {
- inherit lib stdenv texinfo;
- inherit (self) emacs;
- };
-
- markBroken = pkg: pkg.override {
- elpaBuild = args: self.elpaBuild (args // {
- meta = (args.meta or {}) // { broken = true; };
- });
- };
-
overrides = {
- # upstream issue: missing footer
- ebdb-i18n-chn = markBroken super.ebdb-i18n-chn;
- el-search = markBroken super.el-search; # requires emacs-25
- iterators = markBroken super.iterators; # requires emacs-25
- midi-kbd = markBroken super.midi-kbd; # requires emacs-25
rcirc-menu = markBroken super.rcirc-menu; # Missing file header
- stream = markBroken super.stream; # requires emacs-25
cl-lib = null; # builtin
tle = null; # builtin
advice = null; # builtin
@@ -50,4 +44,6 @@ self:
elpaPackages = super // overrides;
- in elpaPackages // { inherit elpaBuild elpaPackages; }
+ in elpaPackages // { inherit elpaBuild; });
+
+in generateElpa { }
diff --git a/pkgs/applications/editors/emacs-modes/emacs-clang-complete-async/default.nix b/pkgs/applications/editors/emacs-modes/emacs-clang-complete-async/default.nix
deleted file mode 100644
index 66ac9a3d77e..00000000000
--- a/pkgs/applications/editors/emacs-modes/emacs-clang-complete-async/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ clangStdenv, fetchgit, llvmPackages }:
-
-clangStdenv.mkDerivation {
- name = "emacs-clang-complete-async-20130218";
- src = fetchgit {
- url = "git://github.com/Golevka/emacs-clang-complete-async.git";
- rev = "f01488971ec8b5752780d130fb84de0c16a46f31";
- sha256 = "01smjinrvx0w5z847a43fh2hyr6rrq1kaglfakbr6dcr313w89x9";
- };
-
- buildInputs = [ llvmPackages.llvm ];
-
- patches = [ ./fix-build.patch ];
-
- CFLAGS = "-I${llvmPackages.clang}/include";
- LDFLAGS = "-L${llvmPackages.clang}/lib";
-
- installPhase = ''
- mkdir -p $out/bin
- mkdir -p $out/share/emacs/site-lisp
- install -m 755 clang-complete $out/bin
- install -m 644 auto-complete-clang-async.el $out/share/emacs/site-lisp
- '';
-
- meta = {
- homepage = https://github.com/Golevka/emacs-clang-complete-async;
- description = "An emacs plugin to complete C and C++ code using libclang";
- license = clangStdenv.lib.licenses.gpl3Plus;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/emacs-clang-complete-async/fix-build.patch b/pkgs/applications/editors/emacs-modes/emacs-clang-complete-async/fix-build.patch
deleted file mode 100644
index 89de339a436..00000000000
--- a/pkgs/applications/editors/emacs-modes/emacs-clang-complete-async/fix-build.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- old/src/completion.h 2014-11-16 16:58:16.625150124 +0100
-+++ new/src/completion.h 2014-11-16 16:58:28.020207508 +0100
-@@ -3,6 +3,7 @@
-
-
- #include
-+#include
-
-
- typedef struct __completion_Session_struct
diff --git a/pkgs/applications/editors/emacs-modes/emacs-libvterm/default.nix b/pkgs/applications/editors/emacs-modes/emacs-libvterm/default.nix
deleted file mode 100644
index 8980dc1f0a9..00000000000
--- a/pkgs/applications/editors/emacs-modes/emacs-libvterm/default.nix
+++ /dev/null
@@ -1,57 +0,0 @@
-{ stdenv, fetchFromGitHub, cmake, emacs, libvterm-neovim }:
-
-let
- emacsSources = stdenv.mkDerivation {
- name = emacs.name + "-sources";
- src = emacs.src;
-
- configurePhase = ":";
- dontBuild = true;
- doCheck = false;
- fixupPhase = ":";
-
- installPhase = ''
- mkdir -p $out
- cp -a * $out
- '';
-
- };
-
- libvterm = libvterm-neovim.overrideAttrs(old: rec {
- pname = "libvterm-neovim";
- version = "2019-04-27";
- name = pname + "-" + version;
- src = fetchFromGitHub {
- owner = "neovim";
- repo = "libvterm";
- rev = "89675ffdda615ffc3f29d1c47a933f4f44183364";
- sha256 = "0l9ixbj516vl41v78fi302ws655xawl7s94gmx1kb3fmfgamqisy";
- };
- });
-
-
-in stdenv.mkDerivation rec {
- name = "emacs-libvterm-${version}";
- version = "unstable-2019-04-28";
-
- src = fetchFromGitHub {
- owner = "akermu";
- repo = "emacs-libvterm";
- rev = "6adcedf3e4aaadeeaff97437044fba17aeb466d4";
- sha256 = "1j6qr5bmajig3idhwsaa3zm72w13q9zn77z2dlrhhx3p4bbds3f8";
- };
-
- nativeBuildInputs = [ cmake ];
- buildInputs = [ emacs libvterm ];
-
- cmakeFlags = [
- "-DEMACS_SOURCE=${emacsSources}"
- "-DUSE_SYSTEM_LIBVTERM=True"
- ];
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install ../*.el $out/share/emacs/site-lisp
- install ../*.so $out/share/emacs/site-lisp
- '';
-}
diff --git a/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix b/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix
deleted file mode 100644
index 8e1d7092e6a..00000000000
--- a/pkgs/applications/editors/emacs-modes/emacs-w3m/default.nix
+++ /dev/null
@@ -1,61 +0,0 @@
-{ fetchcvs, stdenv, emacs, w3m, imagemagick, texinfo, autoreconfHook }:
-
-let date = "2013-03-21"; in
-stdenv.mkDerivation rec {
- name = "emacs-w3m-cvs${date}";
-
- # Get the source from CVS because the previous release (1.4.4) is old and
- # doesn't work with GNU Emacs 23.
- src = fetchcvs {
- inherit date;
- cvsRoot = ":pserver:anonymous@cvs.namazu.org:/storage/cvsroot";
- module = "emacs-w3m";
- sha256 = "1lmcj8rf83w13q8q68hh7sa1abc2m6j2zmfska92xdp7hslhdgc5";
- };
-
- nativeBuildInputs = [ autoreconfHook ];
- buildInputs = [ emacs w3m texinfo ];
-
- # XXX: Should we do the same for xpdf/evince, gv, gs, etc.?
- patchPhase = ''
- sed -i "w3m.el" \
- -e 's|defcustom w3m-command nil|defcustom w3m-command "${w3m}/bin/w3m"|g ;
- s|(w3m-which-command "display")|"${imagemagick.out}/bin/display"|g'
-
- sed -i "w3m-image.el" \
- -e 's|(w3m-which-command "convert")|"${imagemagick.out}/bin/convert"|g ;
- s|(w3m-which-command "identify")|"${imagemagick.out}/bin/identify"|g'
- '';
-
- configureFlags = [
- "--with-lispdir=$(out)/share/emacs/site-lisp"
- "--with-icondir=$(out)/share/emacs/site-lisp/images/w3m"
- ];
-
- postInstall = ''
- cd "$out/share/emacs/site-lisp"
- for i in ChangeLog*
- do
- mv -v "$i" "w3m-$i"
- done
- '';
-
- meta = {
- description = "Emacs-w3m, a simple Emacs interface to the w3m web browser";
-
- longDescription = ''
- Emacs/W3 used to be known as the most popular WEB browser on Emacs, but
- it worked so slowly that we wanted a simple and speedy alternative.
-
- w3m is a pager with WWW capability, developed by Akinori ITO. Although
- it is a pager, it can be used as a text-mode WWW browser. Then we
- developed a simple Emacs interface to w3m.
- '';
-
- license = stdenv.lib.licenses.gpl2Plus;
-
- homepage = http://emacs-w3m.namazu.org/;
-
- maintainers = [ ];
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/emacs2nix.nix b/pkgs/applications/editors/emacs-modes/emacs2nix.nix
new file mode 100644
index 00000000000..cedc56e97ce
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/emacs2nix.nix
@@ -0,0 +1,23 @@
+let
+ pkgs = import ../../../.. { };
+
+ src = pkgs.fetchgit {
+ url = "https://github.com/ttuegel/emacs2nix.git";
+ fetchSubmodules = true;
+ rev = "752fe1bd891425cb7a4a53cd7b98c194c1fe4518";
+ sha256 = "0asfdswh8sbnapbqhbz539zzxmv72f1iviha95iys34sgnd5k1nk";
+ };
+
+in pkgs.mkShell {
+
+ buildInputs = [
+ pkgs.bash
+ ];
+
+ EMACS2NIX = src;
+
+ shellHook = ''
+ export PATH=$PATH:${src}
+ '';
+
+}
diff --git a/pkgs/applications/editors/emacs-modes/emms/default.nix b/pkgs/applications/editors/emacs-modes/emms/default.nix
deleted file mode 100644
index f966989b5a3..00000000000
--- a/pkgs/applications/editors/emacs-modes/emms/default.nix
+++ /dev/null
@@ -1,73 +0,0 @@
-{ stdenv, fetchurl, emacs, texinfo
-, mpg321, vorbis-tools, taglib, mp3info, alsaUtils }:
-
-# XXX: EMMS also supports Xine, MPlayer, Jack, etc.
-
-stdenv.mkDerivation rec {
- name = "emms-3.0";
-
- src = fetchurl {
- # These guys don't use ftp.gnu.org...
- url = "https://www.gnu.org/software/emms/download/${name}.tar.gz";
- sha256 = "151mfx97x15lfpd1qc2sqbvhwhvg46axgh15qyqmdy42vh906xav";
- };
-
- buildInputs = [ emacs texinfo ];
-
- configurePhase = ''
- sed -i "Makefile" -e "s|PREFIX *=.*\$|PREFIX = $out|g ;
- s|/usr/sbin/install-info|install-info|g ;
- s|/usr/include/taglib|${taglib}/include/taglib|g ;
- s|/usr/lib|${taglib}/lib|g ;
- s|^all:\(.*\)\$|all:\1 emms-print-metadata|g"
- mkdir -p "$out/share/man/man1"
-
- sed -i "emms-player-mpg321-remote.el" \
- -e 's|emms-player-mpg321-remote-command[[:blank:]]\+"mpg321"|emms-player-mpg321-remote-command "${mpg321}/bin/mpg321"|g'
- sed -i "emms-player-simple.el" \
- -e 's|"ogg123"|"${vorbis-tools}/bin/ogg123"|g'
- sed -i "emms-info-ogginfo.el" \
- -e 's|emms-info-ogginfo-program-name[[:blank:]]\+"ogginfo"|emms-info-ogginfo-program-name "${vorbis-tools}/bin/ogginfo"|g'
- sed -i "emms-info-libtag.el" \
- -e "s|\"emms-print-metadata\"|\"$out/bin/emms-print-metadata\"|g"
- sed -i "emms-volume-amixer.el" \
- -e 's|"amixer"|"${alsaUtils}/bin/amixer"|g'
-
- # Use the libtag info back-end for MP3s since we're building it.
- sed -i "emms-setup.el" \
- -e 's|emms-info-mp3info|emms-info-libtag|g'
-
- # But use mp3info for the tag editor.
- sed -i "emms-info-mp3info.el" \
- -e 's|emms-info-mp3info-program-name[[:blank:]]\+"mp3info"|emms-info-mp3info-program-name "${mp3info}/bin/mp3info"|g'
- sed -i "emms-tag-editor.el" \
- -e 's|"mp3info"|"${mp3info}/bin/mp3info"|g'
- '';
-
- postInstall = ''
- mkdir -p "$out/bin" && cp emms-print-metadata "$out/bin"
- '';
-
- meta = {
- description = "GNU EMMS, The Emacs Multimedia System";
-
- longDescription = ''
- EMMS is the Emacs Multimedia System. It tries to be a clean and
- small application to play multimedia files from Emacs using
- external players. Many of it's ideas are derived from
- MpthreePlayer, but it tries to be more general and cleaner.
-
- The fact that EMMS is based on external players makes it
- powerful, because it supports all formats that those players
- support, with no effort from your side.
- '';
-
- homepage = https://www.gnu.org/software/emms/;
-
- license = stdenv.lib.licenses.gpl3Plus;
-
- maintainers = [ ];
- platforms = stdenv.lib.platforms.unix;
- broken = true;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/ensime/default.nix b/pkgs/applications/editors/emacs-modes/ensime/default.nix
deleted file mode 100644
index d776103a662..00000000000
--- a/pkgs/applications/editors/emacs-modes/ensime/default.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ stdenv, fetchurl, emacs, unzip, autoComplete, dash, s, scalaMode2, sbtMode }:
-
-stdenv.mkDerivation {
- name = "emacs-ensime-2014-09-04";
-
- src = fetchurl {
- url = "https://github.com/ensime/ensime-emacs/archive/d3820a3f362975f6e14b817988ec07bfef2b4dad.zip";
- sha256 = "0gwr0r92z2hh2x8g0hpxaar2vvfk1b91cp6v04gaasw0fvl5i7g5";
- };
-
- buildInputs = [ emacs unzip ];
- propagatedUserEnvPkgs = [ autoComplete dash s scalaMode2 sbtMode ];
-
- buildPhase = ''
- emacs -L . -L ${autoComplete}/share/emacs/site-lisp --batch -f batch-byte-compile *.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install *.el *.elc $out/share/emacs/site-lisp
- '';
-}
diff --git a/pkgs/applications/editors/emacs-modes/erlang/default.nix b/pkgs/applications/editors/emacs-modes/erlang/default.nix
deleted file mode 100644
index 463d7fc7e15..00000000000
--- a/pkgs/applications/editors/emacs-modes/erlang/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ stdenv, erlang }:
-
-stdenv.mkDerivation {
-
- name = "erlang-mode-${erlang.version}";
-
- buildInputs = [ ];
-
- inherit erlang;
-
- buildCommand = ''
- mkdir -p "$out/share/emacs/site-lisp"
- cp "$erlang/lib/erlang/lib/tools"*/emacs/*.el $out/share/emacs/site-lisp/
- '';
-
- # emacs highlighting */
-
- meta = with stdenv.lib; {
- homepage = https://github.com/erlang/otp;
- description = "Erlang mode for Emacs";
- license = licenses.asl20;
- platforms = platforms.unix;
- maintainers = [ maintainers.samuelrivas ];
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/ess/default.nix b/pkgs/applications/editors/emacs-modes/ess/default.nix
deleted file mode 100644
index ce335a5d482..00000000000
--- a/pkgs/applications/editors/emacs-modes/ess/default.nix
+++ /dev/null
@@ -1,21 +0,0 @@
-{ stdenv, fetchurl, emacs, texinfo }:
-
-stdenv.mkDerivation rec {
- name = "ess-14.09";
-
- src = fetchurl {
- url = "http://ess.r-project.org/downloads/ess/${name}.tgz";
- sha256 = "0wa507jfmq3k7x0vigd2yzb4j2190ix4wnnpv7ql4bjy0vfvmwdn";
- };
-
- buildInputs = [ emacs texinfo ];
-
- configurePhase = "makeFlags=PREFIX=$out";
-
- meta = {
- description = "Emacs Speaks Statistics";
- homepage = http://ess.r-project.org/;
- license = stdenv.lib.licenses.gpl2Plus;
- hydraPlatforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/flymake-cursor/default.nix b/pkgs/applications/editors/emacs-modes/flymake-cursor/default.nix
deleted file mode 100644
index eae338d241d..00000000000
--- a/pkgs/applications/editors/emacs-modes/flymake-cursor/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-
-stdenv.mkDerivation rec {
- name = "flymake-cursor-0.1.5";
-
- src = fetchurl {
- url = "http://www.emacswiki.org/emacs/download/flymake-cursor.el";
- sha256 = "10cpzrd588ya52blghxss5zkn6x8hc7bx1h0qbcdlybbmkjgpkxr";
- };
-
- phases = [ "buildPhase" "installPhase"];
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- cp $src flymake-cursor.el
- emacs --batch -f batch-byte-compile flymake-cursor.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install flymake-cursor.el flymake-cursor.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Displays flymake error msg in minibuffer after delay";
- homepage = http://www.emacswiki.org/emacs/flymake-cursor.el;
- license = stdenv.lib.licenses.publicDomain;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/gh/default.nix b/pkgs/applications/editors/emacs-modes/gh/default.nix
deleted file mode 100644
index aa59eace2ae..00000000000
--- a/pkgs/applications/editors/emacs-modes/gh/default.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, fetchgit, emacs, pcache, logito }:
-
-stdenv.mkDerivation rec {
- name = "gh-0.5.3";
-
- src = fetchgit {
- url = "https://github.com/sigma/gh.el.git";
- rev = "ef03b63d063ec22f03af449aa955c98dfad7f80e";
- sha256 = "1pciq16vl5l4kvj08q4ib1jzk2bb2y1makcsyaw8k9jblqviw756";
- };
-
- buildInputs = [ emacs ];
- propagatedUserEnvPkgs = [ pcache logito ];
-
- patchPhase = ''
- sed -i Makefile \
- -e "s|^ *EFLAGS *=|& -L ${pcache}/share/emacs/site-lisp -L ${logito}/share/emacs/site-lisp --eval '(setq user-emacs-directory \"./\")'|" \
- -e "s|/usr/local|$out|" \
- -e "s|/site-lisp/\$(PKGNAME)|/site-lisp|"
- '';
-
- buildPhase = "make lisp";
-
- meta = {
- description = "A (very early) GitHub client library for Emacs";
- homepage = https://github.com/sigma/gh.el;
- license = stdenv.lib.licenses.gpl2Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/gist/default.nix b/pkgs/applications/editors/emacs-modes/gist/default.nix
deleted file mode 100644
index 08471247f08..00000000000
--- a/pkgs/applications/editors/emacs-modes/gist/default.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ stdenv, fetchgit, emacs, gh, pcache, logito }:
-
-stdenv.mkDerivation rec {
- name = "gist-1.0";
-
- src = fetchgit {
- url = "https://github.com/sigma/gist.el.git";
- rev = "bbb457e4eaaf5f96cfaaa4f63021e3e542bfbfed";
- sha256 = "469f9df52076d0c6038183cff4b9415bca98de66c08814a60b69729b44bdf294";
- };
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs -L ${gh}/share/emacs/site-lisp \
- -L ${pcache}/share/emacs/site-lisp \
- -L ${logito}/share/emacs/site-lisp \
- --eval '(setq user-emacs-directory "./")' \
- --batch -f batch-byte-compile gist.el
- '';
-
- propagatedUserEnvPkgs = [ gh pcache logito ];
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install gist.el gist.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Emacs integration for gist.github.com";
- homepage = https://github.com/sigma/gist.el;
- license = stdenv.lib.licenses.gpl2Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/gn/default.nix b/pkgs/applications/editors/emacs-modes/gn/default.nix
deleted file mode 100644
index 39e7d1abf38..00000000000
--- a/pkgs/applications/editors/emacs-modes/gn/default.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ stdenv, fetchgit, emacs }:
-
-stdenv.mkDerivation {
- name = "gn-mode-2017-09-21";
- src = fetchgit {
- url = "https://chromium.googlesource.com/chromium/src/tools/gn";
- rev = "34f2780efb3fe14fe361ec161ad58440de5a6b36";
- sha256 = "10cisqz3l6ny3471yi7y1z8v622lpl65zh0liqr6absvmy63g866";
- };
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs --batch -f batch-byte-compile misc/emacs/gn-mode.el
- '';
-
- installPhase = ''
- mkdir -p $out/share/emacs/site-lisp/
- cp misc/emacs/gn-mode.el* $out/share/emacs/site-lisp/
- '';
-}
diff --git a/pkgs/applications/editors/emacs-modes/graphviz-dot/default.nix b/pkgs/applications/editors/emacs-modes/graphviz-dot/default.nix
deleted file mode 100644
index ce552257133..00000000000
--- a/pkgs/applications/editors/emacs-modes/graphviz-dot/default.nix
+++ /dev/null
@@ -1,25 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-
-stdenv.mkDerivation rec {
- name = "graphviz-dot-mode-0.3.3";
-
- src = fetchurl {
- url = "http://www.graphviz.org/Misc/graphviz-dot-mode.el";
- sha256 = "6465c18cfaa519a063cf664207613f70b0a17ac5eabcfaa949b3c4c289842953";
- };
-
- buildInputs = [ emacs ];
-
- unpackPhase = ":";
-
- installPhase = ''
- mkdir -p "$out/share/emacs/site-lisp"
- cp -v ${src} "$out/share/emacs/site-lisp/graphviz-dot-mode.el"
- emacs -batch --eval '(setq load-path (cons "." load-path))' -f batch-byte-compile "$out/share/emacs/site-lisp/graphviz-dot-mode.el"
- '';
-
- meta = {
- homepage = http://www.graphviz.org/;
- description = "An emacs mode for the DOT Language, used by graphviz";
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/haskell/default.nix b/pkgs/applications/editors/emacs-modes/haskell/default.nix
deleted file mode 100644
index 6b10766bedb..00000000000
--- a/pkgs/applications/editors/emacs-modes/haskell/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchFromGitHub, emacs, texinfo }:
-
-# Use "emacsMelpa.haskell-mode" instead.
-
-let
- version = "13.14-169-g0d3569d"; # git describe --tags
-in
-stdenv.mkDerivation {
- name = "haskell-mode-${version}";
-
- src = fetchFromGitHub {
- owner = "haskell";
- repo = "haskell-mode";
- rev = "v${version}";
- sha256 = "0v5iy9wy05hf44wy7qs0c9q0v34m4k6wrqg4kyvji61568k1yx3k";
- };
-
- buildInputs = [ emacs texinfo ];
-
- makeFlags = "VERSION=v${version} GIT_VERSION=v${version}";
-
- installPhase = ''
- mkdir -p $out/share/emacs/site-lisp
- cp *.el *.elc *.hs $out/share/emacs/site-lisp/
- mkdir -p $out/share/info
- cp -v *.info* $out/share/info/
- '';
-
- # The test suite must run *after* copying the generated files to $out
- # because "make check" implies "make clean".
- doInstallCheck = true;
- installCheckTarget = "check";
-
- meta = {
- homepage = https://github.com/haskell/haskell-mode;
- description = "Haskell mode for Emacs";
-
- platforms = stdenv.lib.platforms.unix;
- maintainers = [ stdenv.lib.maintainers.peti ];
- broken = true; # no longer compiles and this package is obsolete anyway
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/helm-words/default.nix b/pkgs/applications/editors/emacs-modes/helm-words/default.nix
index b28d0ae24a3..c6e1c5a50f4 100644
--- a/pkgs/applications/editors/emacs-modes/helm-words/default.nix
+++ b/pkgs/applications/editors/emacs-modes/helm-words/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchgit }:
stdenv.mkDerivation {
- name = "helm-words-20150413";
+ name = "helm-words-20190917";
src = fetchgit {
url = "https://github.com/pronobis/helm-words.git";
- rev = "637aa3a7e9cfd34e0127472c5b1f993a4da26185";
- sha256 = "19l8vysjygscr1nsddjz2yv0fjhbsswfq40rdny8zsmaa6qhpj35";
+ rev = "e6387ece1940a06695b9d910de3d90252efb8d29";
+ sha256 = "1ly0mbzlgc26fqvf7rxpmy698g0cf9qldrwrx022ar6r68l1h7xf";
};
installPhase = ''
diff --git a/pkgs/applications/editors/emacs-modes/hol_light/default.nix b/pkgs/applications/editors/emacs-modes/hol_light/default.nix
index c32669239f8..255b30d60ed 100644
--- a/pkgs/applications/editors/emacs-modes/hol_light/default.nix
+++ b/pkgs/applications/editors/emacs-modes/hol_light/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchsvn }:
stdenv.mkDerivation rec {
- name = "hol_light-mode-${version}";
+ pname = "hol_light-mode";
version = "73";
src = fetchsvn {
@@ -22,5 +22,8 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.all;
maintainers = [ stdenv.lib.maintainers.thoughtpolice ];
+
+ # Fails trying to fetch dependencies in build
+ # broken = true;
};
}
diff --git a/pkgs/applications/editors/emacs-modes/hsc3/default.nix b/pkgs/applications/editors/emacs-modes/hsc3/default.nix
index 199a5886e1d..75b72516a3c 100644
--- a/pkgs/applications/editors/emacs-modes/hsc3/default.nix
+++ b/pkgs/applications/editors/emacs-modes/hsc3/default.nix
@@ -6,7 +6,8 @@
let version = "0.15";
in stdenv.mkDerivation {
- name = "hsc3-mode-${version}";
+ pname = "hsc3-mode";
+ inherit version;
src = fetchurl {
url = mirror://hackage/hsc3-0.15/hsc3-0.15.tar.gz;
sha256 = "2f3b15655419cf8ebe25ab1c6ec22993b2589b4ffca7c3a75ce478ca78a0bde6";
diff --git a/pkgs/applications/editors/emacs-modes/htmlize/default.nix b/pkgs/applications/editors/emacs-modes/htmlize/default.nix
deleted file mode 100644
index c16f449c3a2..00000000000
--- a/pkgs/applications/editors/emacs-modes/htmlize/default.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-{ stdenv, fetchFromGitHub }:
-
-stdenv.mkDerivation {
- name = "htmlize-1.47";
-
- src = fetchFromGitHub {
- owner = "emacsmirror";
- repo = "htmlize";
- rev = "release/1.47";
- name = "htmlize-1.47-src";
- sha256 = "1vkqxgirc82vc44g7xhhr041arf93yirjin3h144kjyfkgkplnkp";
- };
-
- installPhase = ''
- mkdir -p $out/share/emacs/site-lisp
- cp htmlize.el $out/share/emacs/site-lisp/
- '';
-
- meta = {
- description = "Convert buffer text and decorations to HTML";
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/icicles/default.nix b/pkgs/applications/editors/emacs-modes/icicles/default.nix
index 17cf213a799..27dcd1063bf 100644
--- a/pkgs/applications/editors/emacs-modes/icicles/default.nix
+++ b/pkgs/applications/editors/emacs-modes/icicles/default.nix
@@ -21,7 +21,7 @@ let
in
stdenv.mkDerivation rec {
version = "2019-02-22";
- name = "icicles-${version}";
+ pname = "icicles";
srcs = forAll ({name, sha256}: fetchurl { url = "https://www.emacswiki.org/emacs/download/${name}"; inherit sha256; });
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
buildPhase = "emacs --batch -L . -f batch-byte-compile *.el";
- installPhase = "mkdir -p $out/share/emacs/site-lisp/emacswiki/${name}/; cp *.el *.elc $out/share/emacs/site-lisp/emacswiki/${name}/";
+ installPhase = "mkdir -p $out/share/emacs/site-lisp/emacswiki/${pname}-${version}/; cp *.el *.elc $out/share/emacs/site-lisp/emacswiki/${pname}-${version}/";
meta = {
homepage = https://www.emacswiki.org/emacs/Icicles;
diff --git a/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix b/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix
index 3cc8156337e..eaa0f2c2a5b 100644
--- a/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix
+++ b/pkgs/applications/editors/emacs-modes/ido-ubiquitous/default.nix
@@ -4,7 +4,8 @@ let
version = "3.6-4-gb659bf8";
in
stdenv.mkDerivation {
- name = "ido-ubiquitous-${version}";
+ pname = "ido-ubiquitous";
+ inherit version;
src = fetchFromGitHub {
owner = "DarwinAwardWinner";
diff --git a/pkgs/applications/editors/emacs-modes/idris/default.nix b/pkgs/applications/editors/emacs-modes/idris/default.nix
deleted file mode 100644
index 2e168b3abf7..00000000000
--- a/pkgs/applications/editors/emacs-modes/idris/default.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
- pname = "idris-mode";
- version = "0.9.18";
-
- src = fetchurl {
- url = "https://github.com/idris-hackers/${pname}/archive/${version}.tar.gz";
- sha256 = "06rw5lrxqqnw0kni3x9jm73x352d1vb683d41v8x3yzqfa2sxmwg";
- };
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs -L . --batch -f batch-byte-compile *.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install *.el *.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Emacs major mode for Idris";
- homepage = https://github.com/idris-hackers/idris-mode;
- license = stdenv.lib.licenses.gpl3;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/jabber/default.nix b/pkgs/applications/editors/emacs-modes/jabber/default.nix
deleted file mode 100644
index c0ddbc88cf2..00000000000
--- a/pkgs/applications/editors/emacs-modes/jabber/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ stdenv, fetchurl, emacs }:
-stdenv.mkDerivation rec {
- pname = "emacs-jabber";
- version = "0.8.0";
- name = "${pname}-${version}";
- src = fetchurl {
- url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
- sha256 = "75e3b7853de4783b8ab8270dcbe6a1e4f576224f77f7463116532e11c6498c26";
- };
- buildInputs = [ emacs ];
- meta = with stdenv.lib; {
- description = "A Jabber client for Emacs";
- longDescription = ''
- jabber.el is a Jabber client for Emacs. It may seem strange to have a
- chat client in an editor, but consider that chatting is, after all, just
- a special case of text editing.
- '';
- homepage = http://emacs-jabber.sourceforge.net/;
- license = licenses.gpl2Plus;
- maintainers = with maintainers; [ astsmtl ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/jade/default.nix b/pkgs/applications/editors/emacs-modes/jade/default.nix
deleted file mode 100644
index 925fa54c735..00000000000
--- a/pkgs/applications/editors/emacs-modes/jade/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchgit, emacs }:
-
-stdenv.mkDerivation {
- name = "jade-mode-0-20120802";
-
- src = fetchgit {
- url = "https://github.com/brianc/jade-mode.git";
- rev = "275ab149edb0f6bcfae6ac17ba456f3351191604";
- sha256 = "3cd2bebcd66e59d60b8e5e538e65a8ffdfc9a53b86443090a284e8329d7cb09b";
- };
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs --batch -L . -f batch-byte-compile *.el
- '';
-
- installPhase = ''
- mkdir -p $out/share/emacs/site-lisp
- cp *.el *.elc $out/share/emacs/site-lisp/
- '';
-
- meta = {
- description = "Emacs major mode for jade and stylus";
- homepage = https://github.com/brianc/jade-mode;
- license = stdenv.lib.licenses.gpl2Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/jdee/build-properties.patch b/pkgs/applications/editors/emacs-modes/jdee/build-properties.patch
deleted file mode 100644
index d0a733b912e..00000000000
--- a/pkgs/applications/editors/emacs-modes/jdee/build-properties.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Make sure `build.properties' is honored.
-
---- jde/build.xml
-+++ jde/build.xml
-@@ -14,6 +14,7 @@
-
-
-
-+
-
-
-
diff --git a/pkgs/applications/editors/emacs-modes/jdee/cedet-paths.patch b/pkgs/applications/editors/emacs-modes/jdee/cedet-paths.patch
deleted file mode 100644
index 8c866e2d1db..00000000000
--- a/pkgs/applications/editors/emacs-modes/jdee/cedet-paths.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-JDE insists on seeing CEDET's source tree layout, with various
-sub-directories (`common', `eieio', etc.). However, the installed CEDET
-is flat, with everything under ${cedet}/share/emacs/site-lisp.
-
---- jde/config/build.el (revision 90)
-+++ jde/config/build.el (working copy)
-@@ -50,10 +50,5 @@ PATHS are sub directories under CEDET-DI
- (jde-make-autoloads-and-compile (expand-file-name "@{build.lisp.dir}")
- "@{src.lisp.dir}"
- "@{cedet.dir}"
-- '("common"
-- "eieio"
-- "semantic"
-- "semantic/bovine"
-- "speedbar"
-- )
-+ '(".")
- "@{build.lisp.autoload.libname}")
diff --git a/pkgs/applications/editors/emacs-modes/jdee/default.nix b/pkgs/applications/editors/emacs-modes/jdee/default.nix
deleted file mode 100644
index 306fe66823c..00000000000
--- a/pkgs/applications/editors/emacs-modes/jdee/default.nix
+++ /dev/null
@@ -1,99 +0,0 @@
-{ fetchsvn, stdenv, emacs, cedet, ant }:
-
-let
- revision = "137";
-in
- stdenv.mkDerivation rec {
- name = "jdee-svn${revision}";
-
- # Last release is too old, so use SVN.
- # See http://www.emacswiki.org/emacs/JavaDevelopmentEnvironment .
- src = fetchsvn {
- url = "https://jdee.svn.sourceforge.net/svnroot/jdee/trunk/jdee";
- rev = revision;
- sha256 = "1z1y957glbqm7z3dhah9h4jysw3173pq1gpx5agfwcw614n516xz";
- };
-
- patchFlags = "-p1 --ignore-whitespace";
-
- patches = [
- ./build-properties.patch
- ./cedet-paths.patch ./elib-avltree.patch
- ./java-directory.patch
- ];
-
- configurePhase = ''
- mkdir -p "dist"
- cat > build.properties < /dev/null || git commit -m "elpa-packages: $(date --iso)" -- elpa-generated.nix
+
+curl -s -O https://raw.githubusercontent.com/nix-community/emacs-overlay/master/repos/melpa/recipes-archive-melpa.json
+env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPackages.melpaStablePackages
+env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate --show-trace ../../../../ -A emacsPackages.melpaPackages
+git diff --exit-code recipes-archive-melpa.json > /dev/null || git commit -m "melpa-packages: $(date --iso)" -- recipes-archive-melpa.json
diff --git a/pkgs/applications/editors/emacs-modes/update-melpa b/pkgs/applications/editors/emacs-modes/update-melpa
new file mode 100755
index 00000000000..5c636416a5e
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/update-melpa
@@ -0,0 +1,6 @@
+#! /usr/bin/env nix-shell
+#! nix-shell --show-trace ./updater-emacs.nix -i bash
+
+SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd -P )"
+
+exec emacs --fg-daemon=updater --quick -l $SCRIPT_DIR/update-melpa.el -f run-updater "$@"
diff --git a/pkgs/applications/editors/emacs-modes/update-melpa.el b/pkgs/applications/editors/emacs-modes/update-melpa.el
new file mode 100644
index 00000000000..b315777620e
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/update-melpa.el
@@ -0,0 +1,434 @@
+;; -*- lexical-binding: t -*-
+
+;; This is the updater for recipes-archive-melpa.json
+
+(require 'promise)
+(require 'semaphore-promise)
+(require 'url)
+(require 'json)
+(require 'cl)
+(require 'subr-x)
+(require 'seq)
+
+;; # Lib
+
+(defun alist-set (key value alist)
+ (cons
+ (cons key value)
+ (assq-delete-all
+ key alist)))
+
+(defun alist-update (key f alist)
+ (let ((value (alist-get key alist)))
+ (cons
+ (cons key (funcall f value))
+ (assq-delete-all
+ key alist))))
+
+
+(defun process-promise (semaphore program &rest args)
+ "Generate an asynchronous process and
+return Promise to resolve in that process."
+ (promise-then
+ (semaphore-promise-gated
+ semaphore
+ (lambda (resolve reject)
+ (funcall resolve (apply #'promise:make-process program args))))
+ #'car))
+
+(defun mangle-name (s)
+ (if (string-match "^[a-zA-Z].*" s)
+ s
+ (concat "_" s)))
+
+;; ## Shell promise + env
+
+(defun as-string (o)
+ (with-output-to-string (princ o)))
+
+(defun assocenv (env &rest namevals)
+ (let ((process-environment (copy-sequence env)))
+ (mapc (lambda (e)
+ (setenv (as-string (car e))
+ (cadr e)))
+ (seq-partition namevals 2))
+ process-environment))
+
+(defun shell-promise (semaphore env script)
+ (semaphore-promise-gated
+ semaphore
+ (lambda (resolve reject)
+ (let ((process-environment env))
+ (funcall resolve (promise:make-shell-command script))))))
+
+;; # Updater
+
+;; ## Previous Archive Reader
+
+(defun previous-commit (index ename variant)
+ (when-let (pdesc (and index (gethash ename index)))
+ (when-let (desc (and pdesc (gethash variant pdesc)))
+ (gethash 'commit desc))))
+
+(defun previous-sha256 (index ename variant)
+ (when-let (pdesc (and index (gethash ename index)))
+ (when-let (desc (and pdesc (gethash variant pdesc)))
+ (gethash 'sha256 desc))))
+
+(defun parse-previous-archive (filename)
+ (let ((idx (make-hash-table :test 'equal)))
+ (loop for desc in
+ (let ((json-object-type 'hash-table)
+ (json-array-type 'list)
+ (json-key-type 'symbol))
+ (json-read-file filename))
+ do (puthash (gethash 'ename desc)
+ desc idx))
+ idx))
+
+;; ## Prefetcher
+
+;; (defun latest-git-revision (url)
+;; (process-promise "git" "ls-remote" url))
+
+(defun prefetch (semaphore fetcher repo commit)
+ (promise-then
+ (apply 'process-promise
+ semaphore
+ (pcase fetcher
+ ("github" (list "nix-prefetch-url"
+ "--unpack" (concat "https://github.com/" repo "/archive/" commit ".tar.gz")))
+ ("gitlab" (list "nix-prefetch-url"
+ "--unpack" (concat "https://gitlab.com/" repo "/repository/archive.tar.gz?ref=" commit)))
+ ("bitbucket" (list "nix-prefetch-hg"
+ (concat "https://bitbucket.com/" repo) commit))
+ ("hg" (list "nix-prefetch-hg"
+ repo commit))
+ ("git" (list "nix-prefetch-git"
+ "--fetch-submodules"
+ "--url" repo
+ "--rev" commit))
+ (_ (throw 'unknown-fetcher fetcher))))
+ (lambda (res)
+ (pcase fetcher
+ ("git" (alist-get 'sha256 (json-read-from-string res)))
+ (_ (car (split-string res)))))))
+
+(defun source-sha (semaphore ename eprops aprops previous variant)
+ (let* ((fetcher (alist-get 'fetcher eprops))
+ (url (alist-get 'url eprops))
+ (repo (alist-get 'repo eprops))
+ (commit (gethash 'commit aprops))
+ (prev-commit (previous-commit previous ename variant))
+ (prev-sha256 (previous-sha256 previous ename variant)))
+ (if (and commit prev-sha256
+ (equal prev-commit commit))
+ (progn
+ (message "INFO: %s: re-using %s %s" ename prev-commit prev-sha256)
+ (promise-resolve `((sha256 . ,prev-sha256))))
+ (if (and commit (or repo url))
+ (promise-then
+ (prefetch semaphore fetcher (or repo url) commit)
+ (lambda (sha256)
+ (message "INFO: %s: prefetched repository %s %s" ename commit sha256)
+ `((sha256 . ,sha256)))
+ (lambda (err)
+ (message "ERROR: %s: during prefetch %s" ename err)
+ (promise-resolve
+ `((error . ,err)))))
+ (progn
+ (message "ERROR: %s: no commit information" ename)
+ (promise-resolve
+ `((error . "No commit information"))))))))
+
+(defun source-info (recipe archive source-sha)
+ (let* ((esym (car recipe))
+ (ename (symbol-name esym))
+ (eprops (cdr recipe))
+ (aentry (gethash esym archive))
+ (version (and aentry (gethash 'ver aentry)))
+ (deps (when-let (deps (gethash 'deps aentry))
+ (remove 'emacs (hash-table-keys deps))))
+ (aprops (and aentry (gethash 'props aentry)))
+ (commit (gethash 'commit aprops)))
+ (append `((version . ,version))
+ (when (< 0 (length deps))
+ `((deps . ,(sort deps 'string<))))
+ `((commit . ,commit))
+ source-sha)))
+
+(defun recipe-info (recipe-index ename)
+ (if-let (desc (gethash ename recipe-index))
+ (destructuring-bind (rcp-commit . rcp-sha256) desc
+ `((commit . ,rcp-commit)
+ (sha256 . ,rcp-sha256)))
+ `((error . "No recipe info"))))
+
+(defun start-fetch (semaphore recipe-index-promise recipes unstable-archive stable-archive previous)
+ (promise-all
+ (mapcar (lambda (entry)
+ (let* ((esym (car entry))
+ (ename (symbol-name esym))
+ (eprops (cdr entry))
+ (fetcher (alist-get 'fetcher eprops))
+ (url (alist-get 'url eprops))
+ (repo (alist-get 'repo eprops))
+
+ (unstable-aentry (gethash esym unstable-archive))
+ (unstable-aprops (and unstable-aentry (gethash 'props unstable-aentry)))
+ (unstable-commit (and unstable-aprops (gethash 'commit unstable-aprops)))
+
+ (stable-aentry (gethash esym stable-archive))
+ (stable-aprops (and stable-aentry (gethash 'props stable-aentry)))
+ (stable-commit (and stable-aprops (gethash 'commit stable-aprops)))
+
+ (unstable-shap (if unstable-aprops
+ (source-sha semaphore ename eprops unstable-aprops previous 'unstable)
+ (promise-resolve nil)))
+ (stable-shap (if (equal unstable-commit stable-commit)
+ unstable-shap
+ (if stable-aprops
+ (source-sha semaphore ename eprops stable-aprops previous 'stable)
+ (promise-resolve nil)))))
+
+ (promise-then
+ (promise-all (list recipe-index-promise unstable-shap stable-shap))
+ (lambda (res)
+ (seq-let [recipe-index unstable-sha stable-sha] res
+ (append `((ename . ,ename))
+ (if-let (desc (gethash ename recipe-index))
+ (destructuring-bind (rcp-commit . rcp-sha256) desc
+ (append `((commit . ,rcp-commit)
+ (sha256 . ,rcp-sha256))
+ (when (not unstable-aprops)
+ (message "ERROR: %s: not in archive" ename)
+ `((error . "Not in archive")))))
+ `((error . "No recipe info")))
+ `((fetcher . ,fetcher))
+ (if (or (equal "github" fetcher)
+ (equal "bitbucket" fetcher)
+ (equal "gitlab" fetcher))
+ `((repo . ,repo))
+ `((url . ,url)))
+ (when unstable-aprops `((unstable . ,(source-info entry unstable-archive unstable-sha))))
+ (when stable-aprops `((stable . ,(source-info entry stable-archive stable-sha))))))))))
+ recipes)))
+
+;; ## Emitter
+
+(defun emit-json (prefetch-semaphore recipe-index-promise recipes archive stable-archive previous)
+ (promise-then
+ (start-fetch
+ prefetch-semaphore
+ recipe-index-promise
+ (sort recipes (lambda (a b)
+ (string-lessp
+ (symbol-name (car a))
+ (symbol-name (car b)))))
+ archive stable-archive
+ previous)
+ (lambda (descriptors)
+ (message "Finished downloading %d descriptors" (length descriptors))
+ (let ((buf (generate-new-buffer "*recipes-archive*")))
+ (with-current-buffer buf
+ ;; (switch-to-buffer buf)
+ ;; (json-mode)
+ (insert
+ (let ((json-encoding-pretty-print t)
+ (json-encoding-default-indentation " "))
+ (json-encode descriptors)))
+ buf)))))
+
+;; ## Recipe indexer
+
+(defun http-get (url parser)
+ (promise-new
+ (lambda (resolve reject)
+ (url-retrieve
+ url (lambda (status)
+ (funcall resolve (condition-case err
+ (progn
+ (goto-char (point-min))
+ (search-forward "\n\n")
+ (message (buffer-substring (point-min) (point)))
+ (delete-region (point-min) (point))
+ (funcall parser))
+ (funcall reject err))))))))
+
+(defun json-read-buffer (buffer)
+ (with-current-buffer buffer
+ (save-excursion
+ (mark-whole-buffer)
+ (json-read))))
+
+(defun error-count (recipes-archive)
+ (length
+ (seq-filter
+ (lambda (desc)
+ (alist-get 'error desc))
+ recipes-archive)))
+
+;; (error-count (json-read-buffer "recipes-archive-melpa.json"))
+
+(defun latest-recipe-commit (semaphore repo base-rev recipe)
+ (shell-promise
+ semaphore (assocenv process-environment
+ "GIT_DIR" repo
+ "BASE_REV" base-rev
+ "RECIPE" recipe)
+ "exec git log --first-parent -n1 --pretty=format:%H $BASE_REV -- recipes/$RECIPE"))
+
+(defun latest-recipe-sha256 (semaphore repo base-rev recipe)
+ (promise-then
+ (shell-promise
+ semaphore (assocenv process-environment
+ "GIT_DIR" repo
+ "BASE_REV" base-rev
+ "RECIPE" recipe)
+ "exec nix-hash --flat --type sha256 --base32 <(
+ git cat-file blob $(
+ git ls-tree $BASE_REV recipes/$RECIPE | cut -f1 | cut -d' ' -f3
+ )
+ )")
+ (lambda (res)
+ (car
+ (split-string res)))))
+
+(defun index-recipe-commits (semaphore repo base-rev recipes)
+ (promise-then
+ (promise-all
+ (mapcar (lambda (recipe)
+ (promise-then
+ (latest-recipe-commit semaphore repo base-rev recipe)
+ (let ((sha256p (latest-recipe-sha256 semaphore repo base-rev recipe)))
+ (lambda (commit)
+ (promise-then sha256p
+ (lambda (sha256)
+ (message "Indexed Recipe %s %s %s" recipe commit sha256)
+ (cons recipe (cons commit sha256))))))))
+ recipes))
+ (lambda (rcp-commits)
+ (let ((idx (make-hash-table :test 'equal)))
+ (mapc (lambda (rcpc)
+ (puthash (car rcpc) (cdr rcpc) idx))
+ rcp-commits)
+ idx))))
+
+(defun with-melpa-checkout (resolve)
+ (let ((tmpdir (make-temp-file "melpa-" t)))
+ (promise-finally
+ (promise-then
+ (shell-promise
+ (semaphore-create 1 "dummy")
+ (assocenv process-environment "MELPA_DIR" tmpdir)
+ "cd $MELPA_DIR
+ (git init --bare
+ git remote add origin https://github.com/melpa/melpa.git
+ git fetch origin) 1>&2
+ echo -n $MELPA_DIR")
+ (lambda (dir)
+ (message "Created melpa checkout %s" dir)
+ (funcall resolve dir)))
+ (lambda ()
+ (delete-directory tmpdir t)
+ (message "Deleted melpa checkout %s" tmpdir)))))
+
+(defun list-recipes (repo base-rev)
+ (promise-then
+ (shell-promise nil (assocenv process-environment
+ "GIT_DIR" repo
+ "BASE_REV" base-rev)
+ "git ls-tree --name-only $BASE_REV recipes/")
+ (lambda (s)
+ (mapcar (lambda (n)
+ (substring n 8))
+ (split-string s)))))
+
+;; ## Main runner
+
+(defvar recipe-indexp)
+(defvar archivep)
+
+(defun run-updater ()
+ (message "Turning off logging to *Message* buffer")
+ (setq message-log-max nil)
+ (setenv "GIT_ASKPASS")
+ (setenv "SSH_ASKPASS")
+ (setq process-adaptive-read-buffering nil)
+
+ ;; Indexer and Prefetcher run in parallel
+
+ ;; Recipe Indexer
+ (setq recipe-indexp
+ (with-melpa-checkout
+ (lambda (repo)
+ (promise-then
+ (promise-then
+ (list-recipes repo "origin/master")
+ (lambda (recipe-names)
+ (promise:make-thread #'index-recipe-commits
+ ;; The indexer runs on a local git repository,
+ ;; so it is CPU bound.
+ ;; Adjust for core count + 2
+ (semaphore-create 6 "local-indexer")
+ repo "origin/master"
+ ;; (seq-take recipe-names 20)
+ recipe-names)))
+ (lambda (res)
+ (message "Indexed Recipes: %d" (hash-table-count res))
+ (defvar recipe-index res)
+ res)
+ (lambda (err)
+ (message "ERROR: %s" err))))))
+
+ ;; Prefetcher + Emitter
+ (setq archivep
+ (promise-then
+ (promise-then (promise-all
+ (list (http-get "https://melpa.org/recipes.json"
+ (lambda ()
+ (let ((json-object-type 'alist)
+ (json-array-type 'list)
+ (json-key-type 'symbol))
+ (json-read))))
+ (http-get "https://melpa.org/archive.json"
+ (lambda ()
+ (let ((json-object-type 'hash-table)
+ (json-array-type 'list)
+ (json-key-type 'symbol))
+ (json-read))))
+ (http-get "https://stable.melpa.org/archive.json"
+ (lambda ()
+ (let ((json-object-type 'hash-table)
+ (json-array-type 'list)
+ (json-key-type 'symbol))
+ (json-read))))))
+ (lambda (resolved)
+ (message "Finished download")
+ (seq-let [recipes-content archive-content stable-archive-content] resolved
+ ;; The prefetcher is network bound, so 64 seems a good estimate
+ ;; for parallel network connections
+ (promise:make-thread #'emit-json (semaphore-create 64 "prefetch-pool")
+ recipe-indexp
+ recipes-content
+ archive-content
+ stable-archive-content
+ (parse-previous-archive "recipes-archive-melpa.json")))))
+ (lambda (buf)
+ (with-current-buffer buf
+ (write-file "recipes-archive-melpa.json")))
+ (lambda (err)
+ (message "ERROR: %s" err))))
+
+ ;; Shutdown routine
+ (make-thread
+ (lambda ()
+ (promise-finally archivep
+ (lambda ()
+ ;; (message "Joining threads %s" (all-threads))
+ ;; (mapc (lambda (thr)
+ ;; (when (not (eq thr (current-thread)))
+ ;; (thread-join thr)))
+ ;; (all-threads))
+
+ (kill-emacs 0))))))
diff --git a/pkgs/applications/editors/emacs-modes/update-org b/pkgs/applications/editors/emacs-modes/update-org
new file mode 100755
index 00000000000..2119a167228
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/update-org
@@ -0,0 +1,4 @@
+#! /usr/bin/env nix-shell
+#! nix-shell --show-trace ./emacs2nix.nix -i bash
+
+exec org-packages.sh --names $EMACS2NIX/names.nix -o org-generated.nix
diff --git a/pkgs/applications/editors/emacs-modes/updater-emacs.nix b/pkgs/applications/editors/emacs-modes/updater-emacs.nix
new file mode 100644
index 00000000000..518ee67e451
--- /dev/null
+++ b/pkgs/applications/editors/emacs-modes/updater-emacs.nix
@@ -0,0 +1,40 @@
+let
+ pkgs = import ../../../.. {};
+
+ emacsEnv = (pkgs.emacsPackagesFor pkgs.emacs26).emacsWithPackages (epkgs: let
+
+ promise = epkgs.trivialBuild {
+ pname = "promise";
+ version = "1";
+ src = pkgs.fetchFromGitHub {
+ owner = "bendlas";
+ repo = "emacs-promise";
+ rev = "4da97087c5babbd8429b5ce62a8323b9b03c6022";
+ sha256 = "0yin7kj69g4zxs30pvk47cnfygxlaw7jc7chr3b36lz51yqczjsy";
+ };
+ };
+
+ semaphore = epkgs.trivialBuild {
+ pname = "semaphore";
+ version = "1";
+ packageRequires = [ promise ];
+ src = pkgs.fetchFromGitHub {
+ owner = "webnf";
+ repo = "semaphore.el";
+ rev = "93802cb093073bc6a6ccd797328dafffcef248e0";
+ sha256 = "09pfyp27m35sv340xarhld7xx2vv5fs5xj4418709iw6l6hpk853";
+ };
+ };
+
+ in [ promise semaphore ]);
+
+in pkgs.mkShell {
+ buildInputs = [
+ pkgs.git
+ pkgs.nix
+ pkgs.bash
+ pkgs.nix-prefetch-git
+ pkgs.nix-prefetch-hg
+ emacsEnv
+ ];
+}
diff --git a/pkgs/applications/editors/emacs-modes/writegood/default.nix b/pkgs/applications/editors/emacs-modes/writegood/default.nix
deleted file mode 100644
index 6d0631a4cb8..00000000000
--- a/pkgs/applications/editors/emacs-modes/writegood/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{stdenv, fetchurl, emacs}:
-
-let version = "2.0.2";
-
-in stdenv.mkDerivation {
- name = "writegood-mode-${version}";
- src = fetchurl {
- url = "https://github.com/bnbeckwith/writegood-mode/archive/v${version}.tar.gz";
- sha256 = "1ilbqj24vzpfh9n1wph7idj0914ga290jkpv9kr1pff3a0v5hf6k";
- };
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- emacs -L . --batch -f batch-byte-compile *.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install *.el *.elc $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Emacs minor mode that aids in finding common writing problems";
- homepage = https://github.com/bnbeckwith/writegood-mode;
- platforms = stdenv.lib.platforms.all;
- maintainers = [ stdenv.lib.maintainers.pSub ];
- license = stdenv.lib.licenses.gpl3;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/xml-rpc/default.nix b/pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
deleted file mode 100644
index 661430516b7..00000000000
--- a/pkgs/applications/editors/emacs-modes/xml-rpc/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{stdenv, fetchurl, emacs}:
-
-stdenv.mkDerivation rec {
- name = "xml-rpc-1.6.8";
-
- src = fetchurl {
- url = https://launchpadlibrarian.net/40270196/xml-rpc.el;
- sha256 = "0i8hf90yhrjwqrv7q1f2g1cff6ld8apqkka42fh01wkdys1fbm7b";
- };
-
- phases = [ "buildPhase" "installPhase"];
-
- buildInputs = [ emacs ];
-
- buildPhase = ''
- cp $src xml-rpc.el
- emacs --batch -f batch-byte-compile xml-rpc.el
- '';
-
- installPhase = ''
- install -d $out/share/emacs/site-lisp
- install xml-rpc.el* $out/share/emacs/site-lisp
- '';
-
- meta = {
- description = "Elisp implementation of clientside XML-RPC";
- homepage = https://launchpad.net/xml-rpc-el;
- license = stdenv.lib.licenses.gpl3Plus;
-
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/applications/editors/emacs-modes/yaoddmuse/default.nix b/pkgs/applications/editors/emacs-modes/yaoddmuse/default.nix
index e147fd53b22..209a99245ec 100644
--- a/pkgs/applications/editors/emacs-modes/yaoddmuse/default.nix
+++ b/pkgs/applications/editors/emacs-modes/yaoddmuse/default.nix
@@ -1,6 +1,6 @@
{stdenv, fetchurl, emacs}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "yaoddmuse-0.1.2";
src = fetchurl {
diff --git a/pkgs/applications/editors/emacs-modes/zeitgeist/default.nix b/pkgs/applications/editors/emacs-modes/zeitgeist/default.nix
index 3461787ab59..9403a51df53 100644
--- a/pkgs/applications/editors/emacs-modes/zeitgeist/default.nix
+++ b/pkgs/applications/editors/emacs-modes/zeitgeist/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation {
name = "zeitgeist-20120221";
- unpackPhase = "true";
+ dontUnpack = true;
src = fetchurl {
url = "https://raw.githubusercontent.com/alexmurray/dotfiles/master/.emacs.d/vendor/zeitgeist.el";
diff --git a/pkgs/applications/editors/emacs/25.nix b/pkgs/applications/editors/emacs/25.nix
index 852faeb7918..76009370473 100644
--- a/pkgs/applications/editors/emacs/25.nix
+++ b/pkgs/applications/editors/emacs/25.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, ncurses, xlibsWrapper, libXaw, libXpm, Xaw3d
, pkgconfig, gettext, libXft, dbus, libpng, libjpeg, libungif
, libtiff, librsvg, gconf, libxml2, imagemagick, gnutls, libselinux
-, alsaLib, cairo, acl, gpm, cf-private, AppKit, GSS, ImageIO
+, alsaLib, cairo, acl, gpm, AppKit, GSS, ImageIO
, withX ? !stdenv.isDarwin
, withGTK2 ? false, gtk2 ? null
, withGTK3 ? true, gtk3 ? null, gsettings-desktop-schemas ? null
@@ -62,11 +62,7 @@ stdenv.mkDerivation rec {
++ lib.optionals (withX && withGTK3) [ gtk3 gsettings-desktop-schemas ]
++ lib.optional (stdenv.isDarwin && withX) cairo
++ lib.optionals (withX && withXwidgets) [ webkitgtk24x-gtk3 glib-networking ]
- ++ lib.optionals stdenv.isDarwin [
- AppKit GSS ImageIO
- # Needed for CFNotificationCenterAddObserver symbols.
- cf-private
- ];
+ ++ lib.optionals stdenv.isDarwin [ AppKit GSS ImageIO ];
hardeningDisable = [ "format" ];
diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix
index 4eb988a782c..29a6a8773ef 100644
--- a/pkgs/applications/editors/emacs/default.nix
+++ b/pkgs/applications/editors/emacs/default.nix
@@ -1,13 +1,13 @@
-{ stdenv, lib, fetchpatch, fetchurl, ncurses, xlibsWrapper, libXaw, libXpm
+{ stdenv, lib, fetchurl, ncurses, xlibsWrapper, libXaw, libXpm
, Xaw3d, libXcursor, pkgconfig, gettext, libXft, dbus, libpng, libjpeg, libungif
, libtiff, librsvg, gconf, libxml2, imagemagick, gnutls, libselinux
-, alsaLib, cairo, acl, gpm, cf-private, AppKit, GSS, ImageIO, m17n_lib, libotf
+, alsaLib, cairo, acl, gpm, AppKit, GSS, ImageIO, m17n_lib, libotf
, systemd ? null
, withX ? !stdenv.isDarwin
, withNS ? stdenv.isDarwin
, withGTK2 ? false, gtk2-x11 ? null
, withGTK3 ? true, gtk3-x11 ? null, gsettings-desktop-schemas ? null
-, withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null, glib-networking ? null
+, withXwidgets ? false, webkitgtk ? null, wrapGAppsHook ? null
, withCsrc ? true
, srcRepo ? false, autoconf ? null, automake ? null, texinfo ? null
, siteStart ? ./site-start.el
@@ -31,12 +31,12 @@ let
in
stdenv.mkDerivation rec {
name = "emacs-${version}${versionModifier}";
- version = "26.2";
+ version = "26.3";
versionModifier = "";
src = fetchurl {
url = "mirror://gnu/emacs/${name}.tar.xz";
- sha256 = "13n5m60i47k96mpv5pp6km2ph9rv2m5lmbpzj929v02vpsfyc70m";
+ sha256 = "119ldpk7sgn9jlpyngv5y4z3i7bb8q3xp4p0qqi7i5nq39syd42d";
};
enableParallelBuilding = true;
@@ -61,17 +61,14 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isLinux [ dbus libselinux systemd ]
++ lib.optionals withX
[ xlibsWrapper libXaw Xaw3d libXpm libpng libjpeg libungif libtiff librsvg libXft
- imagemagick gconf ]
+ gconf ]
+ ++ lib.optionals (withX || withNS) [ imagemagick ]
++ lib.optionals (stdenv.isLinux && withX) [ m17n_lib libotf ]
++ lib.optional (withX && withGTK2) gtk2-x11
++ lib.optionals (withX && withGTK3) [ gtk3-x11 gsettings-desktop-schemas ]
++ lib.optional (stdenv.isDarwin && withX) cairo
++ lib.optionals (withX && withXwidgets) [ webkitgtk ]
- ++ lib.optionals withNS [
- AppKit GSS ImageIO
- # Needed for CFNotificationCenterAddObserver symbols.
- cf-private
- ];
+ ++ lib.optionals withNS [ AppKit GSS ImageIO ];
hardeningDisable = [ "format" ];
diff --git a/pkgs/applications/editors/emacs/macport.nix b/pkgs/applications/editors/emacs/macport.nix
index 7c21c1cae5e..649997171e9 100644
--- a/pkgs/applications/editors/emacs/macport.nix
+++ b/pkgs/applications/editors/emacs/macport.nix
@@ -1,22 +1,22 @@
{ stdenv, fetchurl, ncurses, pkgconfig, texinfo, libxml2, gnutls, gettext, autoconf, automake
-, cf-private, AppKit, Carbon, Cocoa, IOKit, OSAKit, Quartz, QuartzCore, WebKit
+, AppKit, Carbon, Cocoa, IOKit, OSAKit, Quartz, QuartzCore, WebKit
, ImageCaptureCore, GSS, ImageIO # These may be optional
}:
stdenv.mkDerivation rec {
- emacsVersion = "26.2";
+ emacsVersion = "26.3";
emacsName = "emacs-${emacsVersion}";
- macportVersion = "7.6";
+ macportVersion = "7.7";
name = "emacs-mac-${emacsVersion}-${macportVersion}";
src = fetchurl {
url = "mirror://gnu/emacs/${emacsName}.tar.xz";
- sha256 = "13n5m60i47k96mpv5pp6km2ph9rv2m5lmbpzj929v02vpsfyc70m";
+ sha256 = "119ldpk7sgn9jlpyngv5y4z3i7bb8q3xp4p0qqi7i5nq39syd42d";
};
macportSrc = fetchurl {
url = "ftp://ftp.math.s.chiba-u.ac.jp/emacs/${emacsName}-mac-${macportVersion}.tar.gz";
- sha256 = "00szqb74ds89m34sx5mq0gxhsrz64j691sxyvqncj10hw17d0y61";
+ sha256 = "18jadknm47ymbl7skrgc7y8xsdldcbgnlfl7qpgzm1ym8d92as6j";
};
hiresSrc = fetchurl {
@@ -33,8 +33,6 @@ stdenv.mkDerivation rec {
buildInputs = [ ncurses libxml2 gnutls texinfo gettext
AppKit Carbon Cocoa IOKit OSAKit Quartz QuartzCore WebKit
ImageCaptureCore GSS ImageIO # may be optional
- # Needed for CFNotificationCenterAddObserver symbols.
- cf-private
];
postUnpack = ''
diff --git a/pkgs/applications/editors/emacs/site-start.el b/pkgs/applications/editors/emacs/site-start.el
index 34addc33a59..de4708b8890 100644
--- a/pkgs/applications/editors/emacs/site-start.el
+++ b/pkgs/applications/editors/emacs/site-start.el
@@ -1,6 +1,7 @@
+;; -*- lexical-binding: t; -*-
(defun nix--profile-paths ()
- "Returns a list of all paths in the NIX_PROFILES environment
-variable, ordered from more-specific (the user profile) to the
+ "Return a list of all paths in NIX_PROFILES.
+The list is ordered from more-specific (the user profile) to the
least specific (the system profile)"
(reverse (split-string (or (getenv "NIX_PROFILES") ""))))
@@ -23,6 +24,7 @@ least specific (the system profile)"
;;; Make `woman' find the man pages
+(defvar woman-manpath)
(eval-after-load 'woman
'(setq woman-manpath
(append (mapcar (lambda (x) (concat x "/share/man/"))
@@ -30,6 +32,7 @@ least specific (the system profile)"
woman-manpath)))
;;; Make tramp work for remote NixOS machines
+(defvar tramp-remote-path)
(eval-after-load 'tramp-sh
;; TODO: We should also add the other `NIX_PROFILES' to this path.
;; However, these are user-specific, so we would need to discover
@@ -42,6 +45,7 @@ least specific (the system profile)"
;;; the current file:
;;; from: /nix/store/-emacs-/share/emacs/site-lisp/site-start.el
;;; to: /nix/store/-emacs-/share/emacs//src/
+(defvar find-function-C-source-directory)
(let ((emacs
(file-name-directory ; .../emacs/
(directory-file-name ; .../emacs/site-lisp
diff --git a/pkgs/applications/editors/featherpad/default.nix b/pkgs/applications/editors/featherpad/default.nix
index 76e00edaa04..e48fba1551e 100644
--- a/pkgs/applications/editors/featherpad/default.nix
+++ b/pkgs/applications/editors/featherpad/default.nix
@@ -1,10 +1,10 @@
-{ stdenv, fetchurl, pkgconfig, qt5, fetchFromGitHub }:
+{ stdenv, pkgconfig, qt5, fetchFromGitHub }:
with qt5;
stdenv.mkDerivation rec {
version = "0.10.0";
- name = "featherpad-${version}";
+ pname = "featherpad";
src = fetchFromGitHub {
owner = "tsujan";
repo = "FeatherPad";
diff --git a/pkgs/applications/editors/flpsed/default.nix b/pkgs/applications/editors/flpsed/default.nix
index 104206a1491..b8b11e5e831 100644
--- a/pkgs/applications/editors/flpsed/default.nix
+++ b/pkgs/applications/editors/flpsed/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, fltk13, ghostscript }:
stdenv.mkDerivation rec {
- name = "flpsed-${version}";
+ pname = "flpsed";
version = "0.7.3";
src = fetchurl {
- url = "http://www.flpsed.org/${name}.tar.gz";
+ url = "http://www.flpsed.org/${pname}-${version}.tar.gz";
sha256 = "0vngqxanykicabhfdznisv82k5ypkxwg0s93ms9ribvhpm8vf2xp";
};
diff --git a/pkgs/applications/editors/focuswriter/default.nix b/pkgs/applications/editors/focuswriter/default.nix
index ce553fa8b28..b08e3b5fa23 100644
--- a/pkgs/applications/editors/focuswriter/default.nix
+++ b/pkgs/applications/editors/focuswriter/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia }:
+{ stdenv, fetchurl, pkgconfig, qmake, qttools, hunspell, qtbase, qtmultimedia, mkDerivation }:
-stdenv.mkDerivation rec {
- name = "focuswriter-${version}";
- version = "1.7.2";
+mkDerivation rec {
+ pname = "focuswriter";
+ version = "1.7.3";
src = fetchurl {
url = "https://gottcode.org/focuswriter/focuswriter-${version}-src.tar.bz2";
- sha256 = "1qsfcrscm3s0h7wcl6qn8zi0irr70zdacjxsdk73kpk1dhl2j85k";
+ sha256 = "155wf7z1g2yx6fb41w29kcb0m2rhnk9ci5yw882yy86s4x20b1jq";
};
nativeBuildInputs = [ pkgconfig qmake qttools ];
diff --git a/pkgs/applications/editors/geany/default.nix b/pkgs/applications/editors/geany/default.nix
index 0ff56e9145f..a30a8f70224 100644
--- a/pkgs/applications/editors/geany/default.nix
+++ b/pkgs/applications/editors/geany/default.nix
@@ -7,10 +7,11 @@ let
in
stdenv.mkDerivation rec {
- name = "geany-${version}";
+ pname = "geany";
+ inherit version;
src = fetchurl {
- url = "https://download.geany.org/${name}.tar.bz2";
+ url = "https://download.geany.org/${pname}-${version}.tar.bz2";
sha256 = "179xfnvhcxsv54v2mlrhykqv2j7klniln5sffvqqpjmdvwyivvim";
};
diff --git a/pkgs/applications/editors/geany/with-vte.nix b/pkgs/applications/editors/geany/with-vte.nix
index ac35560c7f6..f7351454fb8 100644
--- a/pkgs/applications/editors/geany/with-vte.nix
+++ b/pkgs/applications/editors/geany/with-vte.nix
@@ -1,7 +1,7 @@
{ runCommand, makeWrapper, geany, gnome2 }:
let name = builtins.replaceStrings ["geany-"] ["geany-with-vte-"] geany.name;
in
-runCommand "${name}" { nativeBuildInputs = [ makeWrapper ]; inherit (geany.meta); } "
+runCommand name { nativeBuildInputs = [ makeWrapper ]; inherit (geany.meta); } "
mkdir -p $out
ln -s ${geany}/share $out
makeWrapper ${geany}/bin/geany $out/bin/geany --prefix LD_LIBRARY_PATH : ${gnome2.vte}/lib
diff --git a/pkgs/applications/editors/ghostwriter/default.nix b/pkgs/applications/editors/ghostwriter/default.nix
index a65954d7d2a..1e07902365d 100644
--- a/pkgs/applications/editors/ghostwriter/default.nix
+++ b/pkgs/applications/editors/ghostwriter/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
+{ stdenv, mkDerivation, fetchFromGitHub, qmake, pkgconfig, qttools, qtwebengine, hunspell }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "ghostwriter";
version = "1.8.0";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "wereturtle";
diff --git a/pkgs/applications/editors/gnome-builder/default.nix b/pkgs/applications/editors/gnome-builder/default.nix
index 63568bef6f7..740d65838c3 100644
--- a/pkgs/applications/editors/gnome-builder/default.nix
+++ b/pkgs/applications/editors/gnome-builder/default.nix
@@ -42,11 +42,11 @@ let
in
stdenv.mkDerivation rec {
pname = "gnome-builder";
- version = "3.32.0";
+ version = "3.32.4";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "00l7sshpndk995aw98mjmsc3mxhxzynlp7il551iwwjjdbc70qp4";
+ sha256 = "0xip58m206p8wa28p0a3y4ykylzr5xzmirjl3dspg4j25r08i8qr";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/editors/gobby/default.nix b/pkgs/applications/editors/gobby/default.nix
index e59def88de5..3abe2834db4 100644
--- a/pkgs/applications/editors/gobby/default.nix
+++ b/pkgs/applications/editors/gobby/default.nix
@@ -1,10 +1,10 @@
{ avahiSupport ? false # build support for Avahi in libinfinity
-, stdenv, fetchurl, fetchFromGitHub, autoconf, automake, pkgconfig, wrapGAppsHook
+, stdenv, fetchFromGitHub, autoconf, automake, pkgconfig, wrapGAppsHook
, gtkmm3, gsasl, gtksourceview3, libxmlxx, libinfinity, intltool, itstool, gnome3 }:
let
libinf = libinfinity.override { gtkWidgets = true; inherit avahiSupport; };
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
name = "gobby-unstable-2018-04-03";
src = fetchFromGitHub {
owner = "gobby";
diff --git a/pkgs/applications/editors/hecate/default.nix b/pkgs/applications/editors/hecate/default.nix
index 8aea8508aef..de57fb09215 100644
--- a/pkgs/applications/editors/hecate/default.nix
+++ b/pkgs/applications/editors/hecate/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
version = "0.0.1";
- name = "hecate-${version}";
+ pname = "hecate";
src = fetchFromGitHub {
owner = "evanmiller";
diff --git a/pkgs/applications/editors/heme/default.nix b/pkgs/applications/editors/heme/default.nix
index dce02b56890..4e67fc304b1 100644
--- a/pkgs/applications/editors/heme/default.nix
+++ b/pkgs/applications/editors/heme/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "heme-${version}";
+ pname = "heme";
version = "0.4.2";
src = fetchurl {
url = "mirror://sourceforge/project/heme/heme/heme-${version}/heme-${version}.tar.gz";
diff --git a/pkgs/applications/editors/hexcurse/default.nix b/pkgs/applications/editors/hexcurse/default.nix
index 22cc4d47e68..a6437f070b9 100644
--- a/pkgs/applications/editors/hexcurse/default.nix
+++ b/pkgs/applications/editors/hexcurse/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, ncurses }:
stdenv.mkDerivation rec {
- name = "hexcurse-${version}";
+ pname = "hexcurse";
version = "1.60.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/editors/hexedit/default.nix b/pkgs/applications/editors/hexedit/default.nix
index 4671df77554..09191b38e1b 100644
--- a/pkgs/applications/editors/hexedit/default.nix
+++ b/pkgs/applications/editors/hexedit/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "hexedit-${version}";
+ pname = "hexedit";
version = "1.2.13";
src = fetchurl {
- url = "http://rigaux.org/${name}.src.tgz";
+ url = "http://rigaux.org/${pname}-${version}.src.tgz";
sha256 = "1mwdp1ikk64cqmagnrrps5jkn3li3n47maiqh2qc1xbp1ains4ka";
};
diff --git a/pkgs/applications/editors/howl/default.nix b/pkgs/applications/editors/howl/default.nix
index e7f200a4c07..5e5f2f8563c 100644
--- a/pkgs/applications/editors/howl/default.nix
+++ b/pkgs/applications/editors/howl/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "howl-${version}";
+ pname = "howl";
version = "0.6";
# Use the release tarball containing pre-downloaded dependencies sources
diff --git a/pkgs/applications/editors/ht/default.nix b/pkgs/applications/editors/ht/default.nix
index 63864bc581d..fc1fe969bdc 100644
--- a/pkgs/applications/editors/ht/default.nix
+++ b/pkgs/applications/editors/ht/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "ht-${version}";
+ pname = "ht";
version = "2.1.0";
src = fetchurl {
diff --git a/pkgs/applications/editors/jedit/default.nix b/pkgs/applications/editors/jedit/default.nix
index 11322e8240c..21a6a847518 100644
--- a/pkgs/applications/editors/jedit/default.nix
+++ b/pkgs/applications/editors/jedit/default.nix
@@ -13,7 +13,8 @@ let
in
stdenv.mkDerivation {
- name = "jedit-${version}";
+ pname = "jedit";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/jedit/jedit${version}source.tar.bz2";
sha256 = "03wmbh90rl5lsc35d7jwcp9j5qyyzq1nccxf4fal8bmnx8n4si0x";
diff --git a/pkgs/applications/editors/jetbrains/default.nix b/pkgs/applications/editors/jetbrains/default.nix
index d4a65e083a6..a33b9531730 100644
--- a/pkgs/applications/editors/jetbrains/default.nix
+++ b/pkgs/applications/editors/jetbrains/default.nix
@@ -11,7 +11,7 @@ let
# Sorted alphabetically
buildClion = { name, version, src, license, description, wmClass, ... }:
- lib.overrideDerivation (mkJetBrainsProduct rec {
+ lib.overrideDerivation (mkJetBrainsProduct {
inherit name version src wmClass jdk;
product = "CLion";
meta = with stdenv.lib; {
@@ -121,7 +121,7 @@ let
});
buildIdea = { name, version, src, license, description, wmClass, ... }:
- (mkJetBrainsProduct rec {
+ (mkJetBrainsProduct {
inherit name version src wmClass jdk;
product = "IDEA";
meta = with stdenv.lib; {
@@ -156,7 +156,7 @@ let
});
buildPycharm = { name, version, src, license, description, wmClass, ... }:
- (mkJetBrainsProduct rec {
+ (mkJetBrainsProduct {
inherit name version src wmClass jdk;
product = "PyCharm";
meta = with stdenv.lib; {
@@ -183,7 +183,7 @@ let
};
buildRider = { name, version, src, license, description, wmClass, ... }:
- lib.overrideDerivation (mkJetBrainsProduct rec {
+ lib.overrideDerivation (mkJetBrainsProduct {
inherit name version src wmClass jdk;
product = "Rider";
meta = with stdenv.lib; {
@@ -209,7 +209,7 @@ let
});
buildRubyMine = { name, version, src, license, description, wmClass, ... }:
- (mkJetBrainsProduct rec {
+ (mkJetBrainsProduct {
inherit name version src wmClass jdk;
product = "RubyMine";
meta = with stdenv.lib; {
@@ -250,12 +250,12 @@ in
clion = buildClion rec {
name = "clion-${version}";
- version = "2019.1.3"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "C/C++ IDE. New. Intelligent. Cross-platform";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/cpp/CLion-${version}.tar.gz";
- sha256 = "04ykwylg2h5l28h7wb7v41nslb82fvcm6p4d6f9k8aw3zhkaalv4"; /* updated by script */
+ sha256 = "13y2c3vzlklwz9cd7anpfdc3dqwh714xivm1g59s6p4x9sy172lp"; /* updated by script */
};
wmClass = "jetbrains-clion";
update-channel = "CLion RELEASE"; # channel's id as in http://www.jetbrains.com/updates/updates.xml
@@ -263,12 +263,12 @@ in
datagrip = buildDataGrip rec {
name = "datagrip-${version}";
- version = "2019.1.3"; /* updated by script */
+ version = "2019.2.2"; /* updated by script */
description = "Your Swiss Army Knife for Databases and SQL";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/datagrip/${name}.tar.gz";
- sha256 = "0syp0y4j40j72gql67g6r02n6kndsrz4nmh55ac5g9xs7s4rd5vq"; /* updated by script */
+ sha256 = "1babydzmgaas1rxjv11yhgbp0l5scsdwy17l9927qwlbgccf24mb"; /* updated by script */
};
wmClass = "jetbrains-datagrip";
update-channel = "DataGrip RELEASE";
@@ -276,12 +276,12 @@ in
goland = buildGoland rec {
name = "goland-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "Up and Coming Go IDE";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/go/${name}.tar.gz";
- sha256 = "162mkjmbznxwn7z1zv3x4kik8wx0fvavcdfdmnn9pads5zg2s4b3"; /* updated by script */
+ sha256 = "16wmsf6c8x95d050grqgv6aaxlkc6pqhbqzlz6fzsngjnbkn64yj"; /* updated by script */
};
wmClass = "jetbrains-goland";
update-channel = "GoLand RELEASE";
@@ -289,12 +289,12 @@ in
idea-community = buildIdea rec {
name = "idea-community-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "Integrated Development Environment (IDE) by Jetbrains, community edition";
license = stdenv.lib.licenses.asl20;
src = fetchurl {
url = "https://download.jetbrains.com/idea/ideaIC-${version}.tar.gz";
- sha256 = "01mlnjs7ak7xv9zk3v9r99chrcnw10qkv49gsydsm6a0wqac29xg"; /* updated by script */
+ sha256 = "1pbqnyqly09m7lw6356dydbvppq4i94rsk7c3y40mrc285qzj413"; /* updated by script */
};
wmClass = "jetbrains-idea-ce";
update-channel = "IntelliJ IDEA RELEASE";
@@ -302,12 +302,12 @@ in
idea-ultimate = buildIdea rec {
name = "idea-ultimate-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "Integrated Development Environment (IDE) by Jetbrains, requires paid license";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/idea/ideaIU-${version}-no-jbr.tar.gz";
- sha256 = "09c8135rm45k7yyqadnf715i8k2jllqc1p5jdh6cnb29fwmyk5m5"; /* updated by script */
+ sha256 = "0mslmhakjjgwj76hbfw9dcidic6zprjfjryggic7dqywl7vjwc95"; /* updated by script */
};
wmClass = "jetbrains-idea";
update-channel = "IntelliJ IDEA RELEASE";
@@ -315,12 +315,12 @@ in
phpstorm = buildPhpStorm rec {
name = "phpstorm-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "Professional IDE for Web and PHP developers";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/webide/PhpStorm-${version}.tar.gz";
- sha256 = "1mc7xma1ybp0h1654p10vgp84fnsgvwsvprm86pnmfgks8307860"; /* updated by script */
+ sha256 = "1m198p6586dych6mrgwqxs486qndypsmnikl0rxx45ddrwfjl42g"; /* updated by script */
};
wmClass = "jetbrains-phpstorm";
update-channel = "PhpStorm RELEASE";
@@ -328,12 +328,12 @@ in
pycharm-community = buildPycharm rec {
name = "pycharm-community-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "PyCharm Community Edition";
license = stdenv.lib.licenses.asl20;
src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz";
- sha256 = "05axjd2b2648sxs93d84va90373i8nma541c619xvb967kx1gzdh"; /* updated by script */
+ sha256 = "0a3fi2wjj0166199pyhvvpaih9nx0xr6q7zf7jfj8i7khpkdk8i5"; /* updated by script */
};
wmClass = "jetbrains-pycharm-ce";
update-channel = "PyCharm RELEASE";
@@ -341,12 +341,12 @@ in
pycharm-professional = buildPycharm rec {
name = "pycharm-professional-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "PyCharm Professional Edition";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/python/${name}.tar.gz";
- sha256 = "1s9llgjxdg99fql62kx6skpd545xqmrxwpbg19mjrjlz6pm71z3r"; /* updated by script */
+ sha256 = "03i7qi0kcnx0irih468xaz7hzicaa5yh399r676drs22ak23qwrq"; /* updated by script */
};
wmClass = "jetbrains-pycharm";
update-channel = "PyCharm RELEASE";
@@ -354,12 +354,12 @@ in
rider = buildRider rec {
name = "rider-${version}";
- version = "2019.1.1"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "A cross-platform .NET IDE based on the IntelliJ platform and ReSharper";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/rider/JetBrains.Rider-${version}.tar.gz";
- sha256 = "0441y92b3xqf7xh8k4vc0m7dfm91psnrwlv3mjzbsv09jrk1kbq7"; /* updated by script */
+ sha256 = "1p0mlch7qvkvgxjscx6rl65v6h8g6fwk8rcb8s27qkcjm0d78ic8"; /* updated by script */
};
wmClass = "jetbrains-rider";
update-channel = "Rider RELEASE";
@@ -367,12 +367,12 @@ in
ruby-mine = buildRubyMine rec {
name = "ruby-mine-${version}";
- version = "2019.1.2"; /* updated by script */
+ version = "2019.2.1"; /* updated by script */
description = "The Most Intelligent Ruby and Rails IDE";
license = stdenv.lib.licenses.unfree;
src = fetchurl {
url = "https://download.jetbrains.com/ruby/RubyMine-${version}.tar.gz";
- sha256 = "1zhci8nkywv66bwc6hbyh4h3x61qhv2fbmfb5gkw9znkk1qa0q6v"; /* updated by script */
+ sha256 = "0l0kwc1mih55px8j6bvp1g3pxrv0scd9vpydwvkaqmq5x0r1n3jf"; /* updated by script */
};
wmClass = "jetbrains-rubymine";
update-channel = "RubyMine RELEASE";
diff --git a/pkgs/applications/editors/joe/default.nix b/pkgs/applications/editors/joe/default.nix
index b2ace8accd8..6f5839b3d06 100644
--- a/pkgs/applications/editors/joe/default.nix
+++ b/pkgs/applications/editors/joe/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "4.6";
- name = "joe-${version}";
+ pname = "joe";
src = fetchurl {
- url = "mirror://sourceforge/joe-editor/${name}.tar.gz";
+ url = "mirror://sourceforge/joe-editor/${pname}-${version}.tar.gz";
sha256 = "1pmr598xxxm9j9dl93kq4dv36zyw0q2dh6d7x07hf134y9hhlnj9";
};
diff --git a/pkgs/applications/editors/jucipp/default.nix b/pkgs/applications/editors/jucipp/default.nix
index 9547b82efa1..cb9f10281c7 100644
--- a/pkgs/applications/editors/jucipp/default.nix
+++ b/pkgs/applications/editors/jucipp/default.nix
@@ -6,7 +6,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "juicipp-${version}";
+ pname = "juicipp";
version = "1.2.3";
meta = {
diff --git a/pkgs/applications/editors/jupp/default.nix b/pkgs/applications/editors/jupp/default.nix
index 5e6406e33f2..4a44b35a0fa 100644
--- a/pkgs/applications/editors/jupp/default.nix
+++ b/pkgs/applications/editors/jupp/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
- name = "jupp-${version}";
+ pname = "jupp";
version = "3.1";
srcName = "joe-3.1jupp31";
diff --git a/pkgs/applications/editors/jupyter/kernel.nix b/pkgs/applications/editors/jupyter/kernel.nix
index 38c61dba751..43cea9fcae9 100644
--- a/pkgs/applications/editors/jupyter/kernel.nix
+++ b/pkgs/applications/editors/jupyter/kernel.nix
@@ -8,7 +8,7 @@ let
in {
displayName = "Python 3";
argv = [
- "${env.interpreter}"
+ env.interpreter
"-m"
"ipykernel_launcher"
"-f"
@@ -26,7 +26,7 @@ in
# Definitions is an attribute set.
- create = { definitions ? default }: with lib; stdenv.mkDerivation rec {
+ create = { definitions ? default }: with lib; stdenv.mkDerivation {
name = "jupyter-kernels";
@@ -37,15 +37,15 @@ in
installPhase = ''
mkdir kernels
- ${concatStringsSep "\n" (mapAttrsToList (kernelName: kernel:
+ ${concatStringsSep "\n" (mapAttrsToList (kernelName: unfilteredKernel:
let
- config = builtins.toJSON {
- display_name = if (kernel.displayName != "")
- then kernel.displayName
- else kernelName;
- argv = kernel.argv;
- language = kernel.language;
- };
+ allowedKernelKeys = ["argv" "displayName" "language" "interruptMode" "env" "metadata" "logo32" "logo64"];
+ kernel = filterAttrs (n: v: (any (x: x == n) allowedKernelKeys)) unfilteredKernel;
+ config = builtins.toJSON (
+ kernel
+ // {display_name = if (kernel.displayName != "") then kernel.displayName else kernelName;}
+ // (optionalAttrs (kernel ? interruptMode) { interrupt_mode = kernel.interruptMode; })
+ );
logo32 =
if (kernel.logo32 != null)
then "ln -s ${kernel.logo32} 'kernels/${kernelName}/logo-32x32.png';"
diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix
index 16596056c9a..065657d16e2 100644
--- a/pkgs/applications/editors/kakoune/default.nix
+++ b/pkgs/applications/editors/kakoune/default.nix
@@ -3,13 +3,13 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "kakoune-${version}";
- version = "2019.01.20";
+ pname = "kakoune-unwrapped";
+ version = "2019.07.01";
src = fetchFromGitHub {
repo = "kakoune";
owner = "mawww";
rev = "v${version}";
- sha256 = "04ak1jm7b1i03sx10z3fxw08rn692y2fj482jn5kpzfzj91b2ila";
+ sha256 = "0jdkldq5rygzc0wcxr1j4fmp2phciy8602ghhf6xq21a9bq2v639";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ncurses asciidoc docbook_xsl libxslt ];
@@ -25,6 +25,11 @@ stdenv.mkDerivation rec {
export version="v${version}"
'';
+ doInstallCheckPhase = true;
+ installCheckPhase = ''
+ $out/bin/kak -ui json -E "kill 0"
+ '';
+
meta = {
homepage = http://kakoune.org/;
description = "A vim inspired text editor";
diff --git a/pkgs/applications/editors/kakoune/plugins/default.nix b/pkgs/applications/editors/kakoune/plugins/default.nix
new file mode 100644
index 00000000000..61e2b3a5845
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/default.nix
@@ -0,0 +1,12 @@
+{ pkgs, parinfer-rust }:
+
+{
+ inherit parinfer-rust;
+
+ kak-ansi = pkgs.callPackage ./kak-ansi.nix { };
+ kak-auto-pairs = pkgs.callPackage ./kak-auto-pairs.nix { };
+ kak-buffers = pkgs.callPackage ./kak-buffers.nix { };
+ kak-fzf = pkgs.callPackage ./kak-fzf.nix { };
+ kak-powerline = pkgs.callPackage ./kak-powerline.nix { };
+ kak-vertical-selection = pkgs.callPackage ./kak-vertical-selection.nix { };
+}
diff --git a/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix b/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix
new file mode 100644
index 00000000000..408cba45fbe
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/kak-ansi.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ name = "kak-ansi";
+ version = "0.2.1";
+
+ src = fetchFromGitHub {
+ owner = "eraserhd";
+ repo = "kak-ansi";
+ rev = "v${version}";
+ sha256 = "0ddjih8hfyf6s4g7y46p1355kklaw1ydzzh61141i0r45wyb2d0d";
+ };
+
+ installPhase = ''
+ mkdir -p $out/bin $out/share/kak/autoload/plugins/
+ cp kak-ansi-filter $out/bin/
+ # Hard-code path of filter and don't try to build when Kakoune boots
+ sed '
+ /^declare-option.* ansi_filter /i\
+declare-option -hidden str ansi_filter %{'"$out"'/bin/kak-ansi-filter}
+ /^declare-option.* ansi_filter /,/^}/d
+ ' rc/ansi.kak >$out/share/kak/autoload/plugins/ansi.kak
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Kakoune support for rendering ANSI code";
+ homepage = "https://github.com/eraserhd/kak-ansi";
+ license = licenses.unlicense;
+ maintainers = with maintainers; [ eraserhd ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/editors/kakoune/plugins/kak-auto-pairs.nix b/pkgs/applications/editors/kakoune/plugins/kak-auto-pairs.nix
new file mode 100644
index 00000000000..48dc7106b62
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/kak-auto-pairs.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub }:
+stdenv.mkDerivation {
+ name = "kak-auto-pairs";
+ version = "2019-07-27";
+ src = fetchFromGitHub {
+ owner = "alexherbo2";
+ repo = "auto-pairs.kak";
+ rev = "886449b1a04d43e5deb2f0ef4b1aead6084c7a5f";
+ sha256 = "0knfhdvslzw1f1r1k16733yhkczrg3yijjz6n2qwira84iv3239j";
+ };
+
+ installPhase = ''
+ mkdir -p $out/share/kak/autoload/plugins
+ cp -r rc $out/share/kak/autoload/plugins/auto-pairs
+ '';
+
+ meta = with stdenv.lib;
+ { description = "Kakoune extension to enable automatic closing of pairs";
+ homepage = "https://github.com/alexherbo2/auto-pairs.kak";
+ license = licenses.publicDoman;
+ maintainers = with maintainers; [ nrdxp ];
+ platform = platforms.all;
+ };
+}
diff --git a/pkgs/applications/editors/kakoune/plugins/kak-buffers.nix b/pkgs/applications/editors/kakoune/plugins/kak-buffers.nix
new file mode 100644
index 00000000000..8a2474f0762
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/kak-buffers.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub }:
+stdenv.mkDerivation {
+ name = "kak-buffers";
+ version = "2019-04-03";
+ src = fetchFromGitHub {
+ owner = "Delapouite";
+ repo = "kakoune-buffers";
+ rev = "3b35b23ac2be661a37c085d34dd04d066450f757";
+ sha256 = "0f3g0v1sjinii3ig9753jjj35v2km4h9bcfw9xgzwz8b10d75bax";
+ };
+
+ installPhase = ''
+ mkdir -p $out/share/kak/autoload/plugins
+ cp -r buffers.kak $out/share/kak/autoload/plugins
+ '';
+
+ meta = with stdenv.lib;
+ { description = "Ease navigation between opened buffers in Kakoune";
+ homepage = "https://github.com/Delapouite/kakoune-buffers";
+ license = licenses.publicDoman;
+ maintainers = with maintainers; [ nrdxp ];
+ platform = platforms.all;
+ };
+}
diff --git a/pkgs/applications/editors/kakoune/plugins/kak-fzf.nix b/pkgs/applications/editors/kakoune/plugins/kak-fzf.nix
new file mode 100644
index 00000000000..9877c72252b
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/kak-fzf.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, fzf }:
+
+assert stdenv.lib.asserts.assertOneOf "fzf" fzf.pname [ "fzf" "skim" ];
+
+stdenv.mkDerivation {
+ name = "kak-fzf";
+ version = "2019-07-16";
+ src = fetchFromGitHub {
+ owner = "andreyorst";
+ repo = "fzf.kak";
+ rev = "ede90d3e02bceb714f997adfcbab8260b42e0a19";
+ sha256 = "18w90j3fpk2ddn68497s33n66aap8phw5636y1r7pqsa641zdxcv";
+ };
+
+ configurePhase = ''
+ if [[ -x "${fzf}/bin/fzf" ]]; then
+ fzfImpl='${fzf}/bin/fzf'
+ else
+ fzfImpl='${fzf}/bin/sk'
+ fi
+
+ substituteInPlace rc/fzf.kak \
+ --replace \'fzf\' \'"$fzfImpl"\'
+ '';
+
+ installPhase = ''
+ mkdir -p $out/share/kak/autoload/plugins
+ cp -r rc $out/share/kak/autoload/plugins/fzf
+ '';
+
+ meta = with stdenv.lib;
+ { description = "Kakoune plugin that brings integration with fzf";
+ homepage = "https://github.com/andreyorst/fzf.kak";
+ license = licenses.publicDoman;
+ maintainers = with maintainers; [ nrdxp ];
+ platform = platforms.all;
+ };
+}
diff --git a/pkgs/applications/editors/kakoune/plugins/kak-powerline.nix b/pkgs/applications/editors/kakoune/plugins/kak-powerline.nix
new file mode 100644
index 00000000000..76af06504ea
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/kak-powerline.nix
@@ -0,0 +1,29 @@
+{ stdenv, git, fetchFromGitHub }:
+stdenv.mkDerivation {
+ name = "kak-powerline";
+ version = "2019-07-23";
+ src = fetchFromGitHub {
+ owner = "andreyorst";
+ repo = "powerline.kak";
+ rev = "82b01eb6c97c7380b7da253db1fd484a5de13ea4";
+ sha256 = "1480wp2jc7c84z1wqmpf09lzny6kbnbhiiym2ffaddxrd4ns9i6z";
+ };
+
+ configurePhase = ''
+ substituteInPlace rc/modules/git.kak \
+ --replace \'git\' \'${git}/bin/git\'
+ '';
+
+ installPhase = ''
+ mkdir -p $out/share/kak/autoload/plugins
+ cp -r rc $out/share/kak/autoload/plugins/powerline
+ '';
+
+ meta = with stdenv.lib;
+ { description = "Kakoune modeline, but with passion";
+ homepage = "https://github.com/andreyorst/powerline.kak";
+ license = licenses.publicDoman;
+ maintainers = with maintainers; [ nrdxp ];
+ platform = platforms.all;
+ };
+}
diff --git a/pkgs/applications/editors/kakoune/plugins/kak-vertical-selection.nix b/pkgs/applications/editors/kakoune/plugins/kak-vertical-selection.nix
new file mode 100644
index 00000000000..280fb664b8f
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/plugins/kak-vertical-selection.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub }:
+stdenv.mkDerivation {
+ name = "kak-vertical-selection";
+ version = "2019-04-11";
+ src = fetchFromGitHub {
+ owner = "occivink";
+ repo = "kakoune-vertical-selection";
+ rev = "c420f8b867ce47375fac303886e31623669a42b7";
+ sha256 = "13jdyd2j45wvgqvxdzw9zww14ly93bqjb6700zzxj7mkbiff6wsb";
+ };
+
+ installPhase = ''
+ mkdir -p $out/share/kak/autoload/plugins
+ cp -r vertical-selection.kak $out/share/kak/autoload/plugins
+ '';
+
+ meta = with stdenv.lib;
+ { description = "Select up and down lines that match the same pattern in Kakoune";
+ homepage = "https://github.com/occivink/kakoune-vertical-selection";
+ license = licenses.publicDoman;
+ maintainers = with maintainers; [ nrdxp ];
+ platform = platforms.all;
+ };
+}
diff --git a/pkgs/applications/editors/kakoune/wrapper.nix b/pkgs/applications/editors/kakoune/wrapper.nix
new file mode 100644
index 00000000000..b4cc823880e
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/wrapper.nix
@@ -0,0 +1,44 @@
+{ stdenv, bash }:
+with stdenv.lib;
+
+kakoune:
+
+let
+ getPlugins = { plugins ? [] }: plugins;
+
+ wrapper = { configure ? {} }:
+ stdenv.mkDerivation rec {
+ pname = "kakoune";
+ version = getVersion kakoune;
+
+ src = ./.;
+ buildCommand = ''
+ mkdir -p $out/share/kak
+ for plugin in ${strings.escapeShellArgs (getPlugins configure)}; do
+ if [[ -d $plugin/share/kak/autoload ]]; then
+ find "$plugin/share/kak/autoload" -type f -name '*.kak'| while read rcfile; do
+ printf 'source "%s"\n' "$rcfile"
+ done
+ fi
+ done >>$out/share/kak/plugins.kak
+
+ mkdir -p $out/bin
+ substitute ${src}/wrapper.sh $out/bin/kak \
+ --subst-var-by bash "${bash}" \
+ --subst-var-by kakoune "${kakoune}" \
+ --subst-var-by out "$out"
+ chmod +x $out/bin/kak
+ '';
+
+ preferLocalBuild = true;
+ buildInputs = [ bash kakoune ];
+ passthru = { unwrapped = kakoune; };
+
+ meta = kakoune.meta // {
+ # prefer wrapper over the package
+ priority = (kakoune.meta.priority or 0) - 1;
+ hydraPlatforms = [];
+ };
+ };
+in
+ makeOverridable wrapper
diff --git a/pkgs/applications/editors/kakoune/wrapper.sh b/pkgs/applications/editors/kakoune/wrapper.sh
new file mode 100644
index 00000000000..48a971a10c6
--- /dev/null
+++ b/pkgs/applications/editors/kakoune/wrapper.sh
@@ -0,0 +1,30 @@
+#!@bash@/bin/bash
+
+# We use the -E option to load plugins. This only makes sense when we are
+# starting a new session, so we detect that. Also, Kakoune can only handle
+# one -E option, so we prepend loading plugins to an existing one.
+args=( "$@" )
+loadPlugins=true
+EValueOffset=-1
+pluginScript='@out@/share/kak/plugins.kak'
+
+for (( i = 0; i < ${#args[@]}; i++ )); do
+ case "${args[i]}" in
+ -n|-c|-l|-p|-clear|-version) loadPlugins=false;;
+ -E) EValueOffset=$(( i + 1 ));;
+ --) break;;
+ esac
+ case "${args[i]}" in
+ -E|-c|-e|-s|-p|-f|-i|-ui|-debug) i=$(( i + 1 ));;
+ esac
+done
+
+if [[ $loadPlugins = true ]]; then
+ if (( EValueOffset >= 0 )); then
+ args[EValueOffset]="source '$pluginScript'"$'\n'"${args[EValueOffset]}"
+ else
+ args=( "-E" "source '$pluginScript'" "${args[@]}" )
+ fi
+fi
+
+exec @kakoune@/bin/kak "${args[@]}"
diff --git a/pkgs/applications/editors/kdevelop5/kdev-php.nix b/pkgs/applications/editors/kdevelop5/kdev-php.nix
index 085affa5f7e..e367b586f30 100644
--- a/pkgs/applications/editors/kdevelop5/kdev-php.nix
+++ b/pkgs/applications/editors/kdevelop5/kdev-php.nix
@@ -1,15 +1,12 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, kdevelop-pg-qt }:
-let
- pname = "kdev-php";
- version = "5.3.2";
-in
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+ pname = "kdev-php";
+ version = "5.4.2";
src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
- sha256 = "0yjn7y7al2xs8g0mrjvcym8gbjy4wmiv7lsljcrasjd7ymag1wgs";
+ sha256 = "1ilazq2y671wifcrh7pa0zf9yqymqxwj1m2kd389ik2p6wm68jx8";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
@@ -19,7 +16,7 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.aanderse ];
platforms = platforms.linux;
description = "PHP support for KDevelop";
- homepage = https://www.kdevelop.org;
+ homepage = "https://www.kdevelop.org";
license = [ licenses.gpl2 ];
};
}
diff --git a/pkgs/applications/editors/kdevelop5/kdev-python.nix b/pkgs/applications/editors/kdevelop5/kdev-python.nix
index 4fbf3ed297c..1052c5e1ba3 100644
--- a/pkgs/applications/editors/kdevelop5/kdev-python.nix
+++ b/pkgs/applications/editors/kdevelop5/kdev-python.nix
@@ -1,15 +1,12 @@
{ stdenv, lib, fetchurl, cmake, extra-cmake-modules, threadweaver, ktexteditor, kdevelop-unwrapped, python }:
-let
- pname = "kdev-python";
- version = "5.3.2";
-in
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+ pname = "kdev-python";
+ version = "5.4.2";
src = fetchurl {
url = "https://github.com/KDE/${pname}/archive/v${version}.tar.gz";
- sha256 = "0gqv1abzfpxkrf538rb62d2291lmlra8rghm9q9r3x8a46wh96zm";
+ sha256 = "1nnspa1mixdb5z0a8m4nbpsk6c4s81iwrirhrl7091hsw02bsx3f";
};
cmakeFlags = [
@@ -23,7 +20,7 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.aanderse ];
platforms = platforms.linux;
description = "Python support for KDevelop";
- homepage = https://www.kdevelop.org;
+ homepage = "https://www.kdevelop.org";
license = [ licenses.gpl2 ];
};
}
diff --git a/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix b/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix
index fac18c0b129..0ed4fe0aaad 100644
--- a/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix
+++ b/pkgs/applications/editors/kdevelop5/kdevelop-pg-qt.nix
@@ -2,7 +2,7 @@
let
pname = "kdevelop-pg-qt";
- version = "2.1.0";
+ version = "2.2.0";
in
stdenv.mkDerivation rec {
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
- sha256 = "20d84d25bd40610bd6c0964e4fe0642e56c41b76a65575122dc5196649621e5d";
+ sha256 = "01a4y98hf8zlrdf5l8f4izqh4n3j3xs93j8ny5a3f4z50nb6hxq7";
};
nativeBuildInputs = [ cmake pkgconfig extra-cmake-modules ];
diff --git a/pkgs/applications/editors/kdevelop5/kdevelop.nix b/pkgs/applications/editors/kdevelop5/kdevelop.nix
index 23ec887ad62..4c2011b5b03 100644
--- a/pkgs/applications/editors/kdevelop5/kdevelop.nix
+++ b/pkgs/applications/editors/kdevelop5/kdevelop.nix
@@ -7,17 +7,13 @@
, libksysguard, konsole, llvmPackages, makeWrapper, kpurpose, boost
}:
-let
- pname = "kdevelop";
- version = "5.3.2";
- qtVersion = "5.${lib.versions.minor qtbase.version}";
-in
mkDerivation rec {
- name = "${pname}-${version}";
+ pname = "kdevelop";
+ version = "5.4.2";
src = fetchurl {
- url = "mirror://kde/stable/${pname}/${version}/src/${name}.tar.xz";
- sha256 = "0akgdnvrab6mbwnmvgzsplk0qh83k1hnm5xc06yxr1s1a5sxbk08";
+ url = "mirror://kde/stable/${pname}/${version}/src/${pname}-${version}.tar.xz";
+ sha256 = "1i665m4jd1r5bl77pcfybpn9szxzccrajs4m0prqwhlj93d57qjj";
};
nativeBuildInputs = [
@@ -43,20 +39,14 @@ mkDerivation rec {
"-DCLANG_BUILTIN_DIR=${llvmPackages.clang-unwrapped}/lib/clang/${(builtins.parseDrvName llvmPackages.clang.name).version}/include"
];
- postPatch = ''
- # FIXME: temporary until https://invent.kde.org/kde/kdevelop/merge_requests/8 is merged
- substituteInPlace kdevplatform/language/backgroundparser/parsejob.cpp --replace \
- 'if (internalFilePath.startsWith(dataPath.canonicalPath() + QStringLiteral("/kdev"))) {' \
- 'if (internalFilePath.startsWith(dataPath.canonicalPath() + QStringLiteral("/kdev")) || localFile.startsWith(path + QStringLiteral("/kdev"))) {'
- '';
+ dontWrapQtApps = true;
postInstall = ''
# The kdevelop! script (shell environment) needs qdbus and kioclient5 in PATH.
wrapProgram "$out/bin/kdevelop!" \
--prefix PATH ":" "${lib.makeBinPath [ qttools kde-cli-tools ]}"
- wrapProgram "$out/bin/kdevelop" \
- --prefix QT_PLUGIN_PATH : $out/lib/qt-${qtVersion}/plugins
+ wrapQtApp "$out/bin/kdevelop"
# Fix the (now wrapped) kdevelop! to find things in right places:
# - Fixup the one use where KDEV_BASEDIR is assumed to contain kdevelop.
@@ -76,7 +66,7 @@ mkDerivation rec {
programing languages. It is based on KDevPlatform, KDE and Qt
libraries and is under development since 1998.
'';
- homepage = https://www.kdevelop.org;
+ homepage = "https://www.kdevelop.org";
license = with licenses; [ gpl2Plus lgpl2Plus ];
};
}
diff --git a/pkgs/applications/editors/kodestudio/default.nix b/pkgs/applications/editors/kodestudio/default.nix
index b212773712c..a106c316674 100644
--- a/pkgs/applications/editors/kodestudio/default.nix
+++ b/pkgs/applications/editors/kodestudio/default.nix
@@ -20,8 +20,9 @@ let
in
- stdenv.mkDerivation rec {
- name = "kodestudio-${version}";
+ stdenv.mkDerivation {
+ pname = "kodestudio";
+ inherit version;
src = fetchurl {
url = urlStr;
diff --git a/pkgs/applications/editors/leafpad/default.nix b/pkgs/applications/editors/leafpad/default.nix
index c3b46cf61df..508d2329edc 100644
--- a/pkgs/applications/editors/leafpad/default.nix
+++ b/pkgs/applications/editors/leafpad/default.nix
@@ -2,9 +2,9 @@
stdenv.mkDerivation rec {
version = "0.8.18.1";
- name = "leafpad-${version}";
+ pname = "leafpad";
src = fetchurl {
- url = "https://download.savannah.gnu.org/releases/leafpad/${name}.tar.gz";
+ url = "https://download.savannah.gnu.org/releases/leafpad/${pname}-${version}.tar.gz";
sha256 = "0b0az2wvqgvam7w0ns1j8xp2llslm1rx6h7zcsy06a7j0yp257cm";
};
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
];
meta = with stdenv.lib; {
- description = "A notepad clone for GTK+ 2.0";
+ description = "A notepad clone for GTK 2.0";
homepage = http://tarot.freeshell.org/leafpad;
platforms = platforms.linux;
maintainers = [ maintainers.flosse ];
diff --git a/pkgs/applications/editors/leo-editor/default.nix b/pkgs/applications/editors/leo-editor/default.nix
index a2274be463e..bd433436eb0 100644
--- a/pkgs/applications/editors/leo-editor/default.nix
+++ b/pkgs/applications/editors/leo-editor/default.nix
@@ -1,7 +1,7 @@
{ stdenv, python3, fetchFromGitHub, makeWrapper, makeDesktopItem }:
stdenv.mkDerivation rec {
- name = "leo-editor-${version}";
+ pname = "leo-editor";
version = "5.7.3";
src = fetchFromGitHub {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper python3 ];
propagatedBuildInputs = with python3.pkgs; [ pyqt5 docutils ];
- desktopItem = makeDesktopItem rec {
+ desktopItem = makeDesktopItem {
name = "leo-editor";
exec = "leo %U";
icon = "leoapp32";
diff --git a/pkgs/applications/editors/lighttable/default.nix b/pkgs/applications/editors/lighttable/default.nix
index dfd6543c598..90e8c73e075 100644
--- a/pkgs/applications/editors/lighttable/default.nix
+++ b/pkgs/applications/editors/lighttable/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, zlib, glib, alsaLib, makeDesktopItem
-, dbus, gtk2, atk, pango, freetype, fontconfig, libgnome-keyring3, gdk_pixbuf
+, dbus, gtk2, atk, pango, freetype, fontconfig, libgnome-keyring3, gdk-pixbuf
, cairo, cups, expat, libgpgerror, nspr, gnome2, nss, xorg, systemd, libnotify
}:
let
libPath = stdenv.lib.makeLibraryPath [
stdenv.cc.cc zlib glib dbus gtk2 atk pango freetype libgnome-keyring3 nss
- fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr gnome2.GConf
+ fontconfig gdk-pixbuf cairo cups expat libgpgerror alsaLib nspr gnome2.GConf
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
xorg.libXcomposite xorg.libXi xorg.libXfixes libnotify xorg.libXrandr
xorg.libXcursor
@@ -21,13 +21,13 @@ let
in
stdenv.mkDerivation rec {
- name = "lighttable-${version}";
+ pname = "lighttable";
version = "0.8.1";
src =
fetchurl {
name = "LightTableLinux64.tar.gz";
- url = "https://github.com/LightTable/LightTable/releases/download/${version}/${name}-linux.tar.gz";
+ url = "https://github.com/LightTable/LightTable/releases/download/${version}/${pname}-${version}-linux.tar.gz";
sha256 = "06fj725xfhf3fwrf7dya7ijmxq3v76kfmd4lr2067a92zhlwr5pv";
};
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
installPhase = ''
tar xf ${src}
mkdir -p $out/{bin,share/LightTable}
- mv ./${name}-linux/* $out/share/LightTable
+ mv ./${pname}-${version}-linux/* $out/share/LightTable
patchelf \
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
diff --git a/pkgs/applications/editors/manuskript/default.nix b/pkgs/applications/editors/manuskript/default.nix
index ecbe7e8b719..a9d8ffec43e 100644
--- a/pkgs/applications/editors/manuskript/default.nix
+++ b/pkgs/applications/editors/manuskript/default.nix
@@ -1,9 +1,11 @@
-{ stdenv, zlib, fetchFromGitHub, python3Packages }:
+{ stdenv, zlib, fetchFromGitHub, python3Packages, wrapQtAppsHook }:
python3Packages.buildPythonApplication rec {
pname = "manuskript";
version = "0.9.0";
+ format = "other";
+
src = fetchFromGitHub {
repo = pname;
owner = "olivierkes";
@@ -11,6 +13,8 @@ python3Packages.buildPythonApplication rec {
sha256 = "13y1s0kba1ib6g977n7h920kyr7abdw03kpal512m7iwa9g2kdw8";
};
+ nativeBuildInputs = [ wrapQtAppsHook ];
+
propagatedBuildInputs = [
python3Packages.pyqt5
python3Packages.lxml
@@ -30,6 +34,10 @@ python3Packages.buildPythonApplication rec {
cp -r sample-projects/ $out/share/${pname}
'';
+ postFixup = ''
+ wrapQtApp $out/bin/manuskript
+ '';
+
doCheck = false;
meta = {
diff --git a/pkgs/applications/editors/mg/default.nix b/pkgs/applications/editors/mg/default.nix
index 4fb8d51b969..de1a5ce7879 100644
--- a/pkgs/applications/editors/mg/default.nix
+++ b/pkgs/applications/editors/mg/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libbsd, ncurses, buildPackages }:
stdenv.mkDerivation rec {
- name = "mg-${version}";
+ pname = "mg";
version = "20171014";
src = fetchurl {
- url = "http://homepage.boetes.org/software/mg/${name}.tar.gz";
+ url = "http://homepage.boetes.org/software/mg/${pname}-${version}.tar.gz";
sha256 = "0hakfikzsml7z0hja8m8mcahrmfy2piy81bq9nccsjplyfc9clai";
};
diff --git a/pkgs/applications/editors/micro/default.nix b/pkgs/applications/editors/micro/default.nix
index fab3646efdf..e6b93f20c48 100644
--- a/pkgs/applications/editors/micro/default.nix
+++ b/pkgs/applications/editors/micro/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "micro-${version}";
+ pname = "micro";
version = "1.4.1";
goPackagePath = "github.com/zyedidia/micro";
diff --git a/pkgs/applications/editors/mindforger/default.nix b/pkgs/applications/editors/mindforger/default.nix
index a027242c5ee..9cfcf95e78b 100644
--- a/pkgs/applications/editors/mindforger/default.nix
+++ b/pkgs/applications/editors/mindforger/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, qmake, qtbase, qtwebkit }:
stdenv.mkDerivation rec {
- name = "mindforger-${version}";
+ pname = "mindforger";
version = "1.48.2";
src = fetchurl {
diff --git a/pkgs/applications/editors/moe/default.nix b/pkgs/applications/editors/moe/default.nix
index 3f7eba73ca4..4e960524b94 100644
--- a/pkgs/applications/editors/moe/default.nix
+++ b/pkgs/applications/editors/moe/default.nix
@@ -5,11 +5,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "moe-${version}";
+ pname = "moe";
version = "1.10";
src = fetchurl {
- url = "mirror://gnu/moe/${name}.tar.lz";
+ url = "mirror://gnu/moe/${pname}-${version}.tar.lz";
sha256 = "0fymywdiy9xqppcmvgs7mf7d3gfrky3jp5jkxs2l3v93asml9zcc";
};
diff --git a/pkgs/applications/editors/monodevelop/default.nix b/pkgs/applications/editors/monodevelop/default.nix
index c2917aa394f..3a21eec07f4 100644
--- a/pkgs/applications/editors/monodevelop/default.nix
+++ b/pkgs/applications/editors/monodevelop/default.nix
@@ -7,10 +7,10 @@
stdenv.mkDerivation rec {
version = "5.9.4.5";
revision = "8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b";
- name = "monodevelop-${version}";
+ pname = "monodevelop";
src = fetchurl {
- url = "https://download.mono-project.com/sources/monodevelop/${name}.tar.bz2";
+ url = "https://download.mono-project.com/sources/monodevelop/${pname}-${version}.tar.bz2";
sha256 = "0bim4bfv3zwijafl9g0cx3159zq43dlcv74mnyrda41j4p52w5ji";
};
diff --git a/pkgs/applications/editors/music/tuxguitar/default.nix b/pkgs/applications/editors/music/tuxguitar/default.nix
index 1b1c6eaf9e5..70f99fa749b 100644
--- a/pkgs/applications/editors/music/tuxguitar/default.nix
+++ b/pkgs/applications/editors/music/tuxguitar/default.nix
@@ -7,10 +7,10 @@ let metadata = assert stdenv.hostPlatform.system == "i686-linux" || stdenv.hostP
{ arch = "x86_64"; sha256 = "12af47jhlrh9aq5b3d13l7cdhlndgnfpy61gz002hajbq7i00ixh"; };
in stdenv.mkDerivation rec {
version = "1.2";
- name = "tuxguitar-${version}";
+ pname = "tuxguitar";
src = fetchurl {
- url = "mirror://sourceforge/tuxguitar/${name}-linux-${metadata.arch}.tar.gz";
+ url = "mirror://sourceforge/tuxguitar/${pname}-${version}-linux-${metadata.arch}.tar.gz";
sha256 = metadata.sha256;
};
diff --git a/pkgs/applications/editors/nano/default.nix b/pkgs/applications/editors/nano/default.nix
index 6bbdaf77a69..aea585ce8d6 100644
--- a/pkgs/applications/editors/nano/default.nix
+++ b/pkgs/applications/editors/nano/default.nix
@@ -19,12 +19,12 @@ let
};
in stdenv.mkDerivation rec {
- name = "nano-${version}";
- version = "3.2";
+ pname = "nano";
+ version = "4.4";
src = fetchurl {
- url = "mirror://gnu/nano/${name}.tar.xz";
- sha256 = "0jb3zq0v84xb0chyynkcp2jhs9660wmpkic294p4p6c96npp69yi";
+ url = "mirror://gnu/nano/${pname}-${version}.tar.xz";
+ sha256 = "1iw2ypq34g1gfqyhgka2fz5yj5vrlz85q6zk7amgyj286ph25wia";
};
nativeBuildInputs = [ texinfo ] ++ optional enableNls gettext;
diff --git a/pkgs/applications/editors/nano/nanorc/default.nix b/pkgs/applications/editors/nano/nanorc/default.nix
index fb30036e146..eab37fba19a 100644
--- a/pkgs/applications/editors/nano/nanorc/default.nix
+++ b/pkgs/applications/editors/nano/nanorc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
- name = "nanorc-${version}";
+stdenv.mkDerivation {
+ pname = "nanorc";
version = "2018-09-05";
src = fetchFromGitHub {
diff --git a/pkgs/applications/editors/ne/default.nix b/pkgs/applications/editors/ne/default.nix
index 9bc6425bc41..96687ab81d6 100644
--- a/pkgs/applications/editors/ne/default.nix
+++ b/pkgs/applications/editors/ne/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
- name = "ne-${version}";
+ pname = "ne";
version = "3.1.2";
src = fetchFromGitHub {
owner = "vigna";
diff --git a/pkgs/applications/editors/nedit/default.nix b/pkgs/applications/editors/nedit/default.nix
index 6fff6df8cdd..b1b3a416178 100644
--- a/pkgs/applications/editors/nedit/default.nix
+++ b/pkgs/applications/editors/nedit/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, xlibsWrapper, motif, libXpm }:
stdenv.mkDerivation rec {
- name = "nedit-${version}";
+ pname = "nedit";
version = "5.7";
src = fetchurl {
- url = "mirror://sourceforge/nedit/nedit-source/${name}-src.tar.gz";
+ url = "mirror://sourceforge/nedit/nedit-source/${pname}-${version}-src.tar.gz";
sha256 = "0ym1zhjx9976rf2z5nr7dj4mjkxcicimhs686snjhdcpzxwsrndd";
};
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix
index 5d623cdfc6d..7d558dfb893 100644
--- a/pkgs/applications/editors/neovim/default.nix
+++ b/pkgs/applications/editors/neovim/default.nix
@@ -20,14 +20,14 @@ let
));
in
stdenv.mkDerivation rec {
- name = "neovim-unwrapped-${version}";
- version = "0.3.5";
+ pname = "neovim-unwrapped";
+ version = "0.3.8";
src = fetchFromGitHub {
owner = "neovim";
repo = "neovim";
rev = "v${version}";
- sha256 = "113lrr9gwimvvzlkwlishm4cjqcf30xq9jfxn7vh41ckgnbiwf3w";
+ sha256 = "15flii3p4g9f65xy9jpkb8liajrvhm5ck4j39z6d6b1nkxr6ghwb";
};
patches = [
@@ -37,6 +37,7 @@ in
./system_rplugin_manifest.patch
];
+ dontFixCmake = true;
enableParallelBuilding = true;
buildInputs = [
@@ -76,7 +77,7 @@ in
disallowedReferences = [ stdenv.cc ];
cmakeFlags = [
- "-DLUA_PRG=${neovimLuaEnv}/bin/lua"
+ "-DLUA_PRG=${neovimLuaEnv.interpreter}"
"-DGPERF_PRG=${gperf}/bin/gperf"
]
++ optional doCheck "-DBUSTED_PRG=${neovimLuaEnv}/bin/busted"
@@ -121,7 +122,7 @@ in
# those contributions were copied from Vim (identified in the commit logs
# by the vim-patch token). See LICENSE for details."
license = with licenses; [ asl20 vim ];
- maintainers = with maintainers; [ manveru garbas rvolosatovs ];
+ maintainers = with maintainers; [ manveru rvolosatovs ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/editors/neovim/neovim-remote.nix b/pkgs/applications/editors/neovim/neovim-remote.nix
index 52888c5f85d..92ff745d1a6 100644
--- a/pkgs/applications/editors/neovim/neovim-remote.nix
+++ b/pkgs/applications/editors/neovim/neovim-remote.nix
@@ -4,14 +4,14 @@ with stdenv.lib;
pythonPackages.buildPythonApplication rec {
pname = "neovim-remote";
- version = "2.1.7";
+ version = "2.2.0";
disabled = !pythonPackages.isPy3k;
src = fetchFromGitHub {
owner = "mhinz";
repo = "neovim-remote";
rev = "v${version}";
- sha256 = "014c8xvb7shy00vjx0b1k8zr7iknxskqab1aqvz9md3bn5rwkxm5";
+ sha256 = "0vvwygyar835z947d5zgjywyhl7ajj63z0l8sb7w9kj1w5snb43x";
};
propagatedBuildInputs = with pythonPackages; [ pynvim psutil ];
diff --git a/pkgs/applications/editors/neovim/qt.nix b/pkgs/applications/editors/neovim/qt.nix
index 3004bf544c4..83b14b4ea37 100644
--- a/pkgs/applications/editors/neovim/qt.nix
+++ b/pkgs/applications/editors/neovim/qt.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchFromGitHub, cmake, doxygen, makeWrapper
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, doxygen, makeWrapper
, msgpack, neovim, pythonPackages, qtbase }:
let
- unwrapped = stdenv.mkDerivation rec {
+ unwrapped = mkDerivation rec {
pname = "neovim-qt-unwrapped";
- version = "0.2.11";
+ version = "0.2.12";
src = fetchFromGitHub {
owner = "equalsraf";
repo = "neovim-qt";
rev = "v${version}";
- sha256 = "0pc1adxc89p2rdvb6nxyqr9sjzqz9zw2dg7a4ardxsl3a8jga1wh";
+ sha256 = "09s3044j0y8nmyi8ykslfii6fx7k9mckmdvb0jn2xmdabpb60i20";
};
cmakeFlags = [
@@ -24,7 +24,7 @@ let
jinja2 python msgpack
]);
- nativeBuildInputs = [ cmake doxygen makeWrapper ];
+ nativeBuildInputs = [ cmake doxygen ];
enableParallelBuilding = true;
diff --git a/pkgs/applications/editors/neovim/wrapper.nix b/pkgs/applications/editors/neovim/wrapper.nix
index 7d76bc1fd1a..ec799c0fa49 100644
--- a/pkgs/applications/editors/neovim/wrapper.nix
+++ b/pkgs/applications/editors/neovim/wrapper.nix
@@ -12,7 +12,8 @@ neovim:
let
wrapper = {
- withPython ? true, extraPythonPackages ? (_: []) /* the function you would have passed to python.withPackages */
+ extraMakeWrapperArgs ? ""
+ , withPython ? true, extraPythonPackages ? (_: []) /* the function you would have passed to python.withPackages */
, withPython3 ? true, extraPython3Packages ? (_: []) /* the function you would have passed to python.withPackages */
, withNodeJs? false
, withRuby ? true
@@ -99,7 +100,7 @@ let
# Only display the log on error since it will contain a few normally
# irrelevant messages.
if ! $out/bin/nvim \
- -u ${vimUtils.vimrcFile (configure // { customRC = ""; })} \
+ -u ${vimUtils.vimrcFile (configure // { customRC = ""; beforePlugins = ''filetype indent plugin on | syn on''; })} \
-i NONE -n \
-E -V1rplugins.log -s \
+UpdateRemotePlugins +quit! > outfile 2>&1; then
@@ -113,7 +114,7 @@ let
# https://github.com/neovim/neovim/issues/9413
wrapProgram $out/bin/nvim \
--set NVIM_SYSTEM_RPLUGIN_MANIFEST $out/rplugin.vim \
- --add-flags "-u ${vimUtils.vimrcFile configure}"
+ --add-flags "-u ${vimUtils.vimrcFile configure}" ${extraMakeWrapperArgs}
'';
preferLocalBuild = true;
diff --git a/pkgs/applications/editors/netbeans/default.nix b/pkgs/applications/editors/netbeans/default.nix
index fa547875a17..ba01304f723 100644
--- a/pkgs/applications/editors/netbeans/default.nix
+++ b/pkgs/applications/editors/netbeans/default.nix
@@ -3,7 +3,7 @@
}:
let
- version = "10.0";
+ version = "11.0";
desktopItem = makeDesktopItem {
name = "netbeans";
exec = "netbeans";
@@ -15,10 +15,11 @@ let
};
in
stdenv.mkDerivation {
- name = "netbeans-${version}";
+ pname = "netbeans";
+ inherit version;
src = fetchurl {
url = "mirror://apache/incubator/netbeans/incubating-netbeans/incubating-${version}/incubating-netbeans-${version}-bin.zip";
- sha512 = "ba83575f42c1d5515e2a5336a621bc2b4087b2e0bcacb6edb76f376f8272555609bdd4eefde8beae8ffc6c1a7db2fb721b844638ce27933c3dd78f71cbb41ad8";
+ sha512 = "15mv59njrnq3sjfzb0n7xcc79kpixygf37cxvbswnvm651cw6lb1i9w8wbjivh0z4zcf3f62vbmshxh5pkaxqpqsg0iyy6gddfbwzwx";
};
buildCommand = ''
diff --git a/pkgs/applications/editors/notepadqq/default.nix b/pkgs/applications/editors/notepadqq/default.nix
index ab79c3e780b..efda2c58360 100644
--- a/pkgs/applications/editors/notepadqq/default.nix
+++ b/pkgs/applications/editors/notepadqq/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit}:
+{ mkDerivation, lib, fetchFromGitHub, pkgconfig, which, qtbase, qtsvg, qttools, qtwebkit }:
-let
+mkDerivation rec {
+ pname = "notepadqq";
version = "1.4.8";
-in stdenv.mkDerivation {
- name = "notepadqq-${version}";
src = fetchFromGitHub {
owner = "notepadqq";
repo = "notepadqq";
@@ -24,13 +23,19 @@ in stdenv.mkDerivation {
export LRELEASE="lrelease"
'';
+ dontWrapQtApps = true;
+
+ preFixup = ''
+ wrapQtApp $out/bin/notepadqq
+ '';
+
enableParallelBuilding = true;
- meta = {
+ meta = with lib; {
homepage = https://notepadqq.com/;
description = "Notepad++-like editor for the Linux desktop";
- license = stdenv.lib.licenses.gpl3;
- platforms = stdenv.lib.platforms.linux;
- maintainers = with stdenv.lib.maintainers; [ rszibele ];
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.rszibele ];
};
}
diff --git a/pkgs/applications/editors/nvi/default.nix b/pkgs/applications/editors/nvi/default.nix
index 82c89ebdca6..a7a6b35a24a 100644
--- a/pkgs/applications/editors/nvi/default.nix
+++ b/pkgs/applications/editors/nvi/default.nix
@@ -1,6 +1,6 @@
{ fetchurl, stdenv, ncurses }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "nvi-1.79";
src = fetchurl {
diff --git a/pkgs/applications/editors/okteta/default.nix b/pkgs/applications/editors/okteta/default.nix
index ffa80bc68ca..287758e0fd8 100644
--- a/pkgs/applications/editors/okteta/default.nix
+++ b/pkgs/applications/editors/okteta/default.nix
@@ -3,12 +3,12 @@
, qca-qt5, shared-mime-info }:
stdenv.mkDerivation rec {
- name = "okteta-${version}";
- version = "0.26.1";
+ pname = "okteta";
+ version = "0.26.2";
src = fetchurl {
- url = "mirror://kde/stable/okteta/${version}/src/${name}.tar.xz";
- sha256 = "1bqq3ax47xym3ikwn6xsshs1b5gpfg5djrnkzszqnp127f1fxi54";
+ url = "mirror://kde/stable/okteta/${version}/src/${pname}-${version}.tar.xz";
+ sha256 = "0k38hd9wq6jvzy0225y61rzr7lgwbac1haalhsrfpmyjy6d833dv";
};
nativeBuildInputs = [ qtscript extra-cmake-modules kdoctools ];
diff --git a/pkgs/applications/editors/quilter/default.nix b/pkgs/applications/editors/quilter/default.nix
index b22b04bac65..49ebe579ed4 100644
--- a/pkgs/applications/editors/quilter/default.nix
+++ b/pkgs/applications/editors/quilter/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, meson, ninja, python3
+{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3
, gtk3, desktop-file-utils, gtksourceview, webkitgtk, gtkspell3, pantheon
, libgee, discount, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "quilter";
- version = "1.8.4";
+ version = "1.9.5";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
- sha256 = "14qbkkz1l4zj6kwds5d82swnh3ynj6diyvjl0pafgp5i1i27j4rh";
+ sha256 = "119ri6lkzqapi5k0v818qkhg1916jj9s6bh72yqvc2wmyjnn2dbw";
};
nativeBuildInputs = [
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
description = "Focus on your writing - designed for elementary OS";
homepage = https://github.com/lainsce/quilter;
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ worldofpeace ];
+ maintainers = pantheon.maintainers;
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/editors/rednotebook/default.nix b/pkgs/applications/editors/rednotebook/default.nix
index de9a089ec8c..11a5b4c7ba3 100644
--- a/pkgs/applications/editors/rednotebook/default.nix
+++ b/pkgs/applications/editors/rednotebook/default.nix
@@ -1,17 +1,17 @@
{ lib, buildPythonApplication, fetchFromGitHub
-, gdk_pixbuf, glib, gobject-introspection, gtk3, gtksourceview, pango, webkitgtk
+, gdk-pixbuf, glib, gobject-introspection, gtk3, gtksourceview, pango, webkitgtk
, pygobject3, pyyaml
}:
buildPythonApplication rec {
pname = "rednotebook";
- version = "2.8";
+ version = "2.11.1";
src = fetchFromGitHub {
owner = "jendrikseipp";
repo = "rednotebook";
rev = "v${version}";
- sha256 = "0k75lw3p6jx30ngvn8iipk1763gazkbrsad3fpl3sqppaqaggryj";
+ sha256 = "04c7a0wgmdl88v9386y1052c38ajbkryiwhqps5lx34d4g7r6hm1";
};
# We have not packaged tests.
@@ -20,7 +20,7 @@ buildPythonApplication rec {
nativeBuildInputs = [ gobject-introspection ];
propagatedBuildInputs = [
- gdk_pixbuf glib gtk3 gtksourceview pango webkitgtk
+ gdk-pixbuf glib gtk3 gtksourceview pango webkitgtk
pygobject3 pyyaml
];
@@ -30,6 +30,10 @@ buildPythonApplication rec {
"--suffix XDG_DATA_DIRS : $XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
];
+ # Until gobject-introspection in nativeBuildInputs is supported.
+ # https://github.com/NixOS/nixpkgs/issues/56943#issuecomment-472568643
+ strictDeps = false;
+
meta = with lib; {
homepage = http://rednotebook.sourceforge.net/;
description = "A modern journal that includes a calendar navigation, customizable templates, export functionality and word clouds";
diff --git a/pkgs/applications/editors/retext/default.nix b/pkgs/applications/editors/retext/default.nix
index 3288b8e90ad..d1028ec6ce8 100644
--- a/pkgs/applications/editors/retext/default.nix
+++ b/pkgs/applications/editors/retext/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, python3, fetchFromGitHub, makeWrapper, buildEnv, aspellDicts
+{ stdenv, python3, fetchFromGitHub, makeWrapper, buildEnv, aspellDicts
# Use `lib.collect lib.isDerivation aspellDicts;` to make all dictionaries
# available.
, enchantAspellDicts ? with aspellDicts; [ en en-computers en-science ]
@@ -8,7 +8,7 @@ let
version = "7.0.4";
python = let
packageOverrides = self: super: {
- markdown = super.markdown.overridePythonAttrs(old: rec {
+ markdown = super.markdown.overridePythonAttrs(old: {
src = super.fetchPypi {
version = "3.0.1";
pname = "Markdown";
@@ -16,7 +16,7 @@ let
};
});
- chardet = super.chardet.overridePythonAttrs(old: rec {
+ chardet = super.chardet.overridePythonAttrs(old: {
src = super.fetchPypi {
version = "2.3.0";
pname = "chardet";
@@ -35,7 +35,7 @@ in python.pkgs.buildPythonApplication {
src = fetchFromGitHub {
owner = "retext-project";
repo = "retext";
- rev = "${version}";
+ rev = version;
sha256 = "1zcapywspc9v5zf5cxqkcy019np9n41gmryqixj66zsvd544c6si";
};
diff --git a/pkgs/applications/editors/rstudio/default.nix b/pkgs/applications/editors/rstudio/default.nix
index 27c956dcd14..933644cc471 100644
--- a/pkgs/applications/editors/rstudio/default.nix
+++ b/pkgs/applications/editors/rstudio/default.nix
@@ -4,6 +4,7 @@
, llvmPackages
}:
+with stdenv.lib;
let
verMajor = "1";
verMinor = "2";
@@ -13,7 +14,8 @@ let
gwtVer = "2.8.1";
in
stdenv.mkDerivation rec {
- name = "RStudio-${version}";
+ pname = "RStudio";
+ inherit version;
nativeBuildInputs = [ cmake unzip ant jdk makeWrapper pandoc ];
@@ -46,7 +48,13 @@ stdenv.mkDerivation rec {
sha256 = "19x000m3jwnkqgi6ic81lkzyjvvxcfacw2j0vcfcaknvvagzhyhb";
};
- hunspellDictionaries = with stdenv.lib; filter isDerivation (attrValues hunspellDicts);
+ hunspellDictionaries = filter isDerivation (unique (attrValues hunspellDicts));
+ # These dicts contain identically-named dict files, so we only keep the
+ # -large versions in case of clashes
+ largeDicts = filter (d: hasInfix "-large-wordlist" d) hunspellDictionaries;
+ otherDicts = filter (d: !(hasAttr "dictFileName" d &&
+ elem d.dictFileName (map (d: d.dictFileName) largeDicts))) hunspellDictionaries;
+ dictionaries = largeDicts ++ otherDicts;
mathJaxSrc = fetchurl {
url = https://s3.amazonaws.com/rstudio-buildtools/mathjax-26.zip;
@@ -76,7 +84,7 @@ stdenv.mkDerivation rec {
mv gwt-${gwtVer} $GWT_LIB_DIR/gwt/${gwtVer}
mkdir dependencies/common/dictionaries
- for dict in ${builtins.concatStringsSep " " hunspellDictionaries}; do
+ for dict in ${builtins.concatStringsSep " " dictionaries}; do
for i in "$dict/share/hunspell/"*; do
ln -sv $i dependencies/common/dictionaries/
done
@@ -98,7 +106,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [ "-DRSTUDIO_TARGET=Desktop" "-DQT_QMAKE_EXECUTABLE=$NIX_QT5_TMP/bin/qmake" ];
desktopItem = makeDesktopItem {
- name = name;
+ name = "${pname}-${version}";
exec = "rstudio %F";
icon = "rstudio";
desktopName = "RStudio";
diff --git a/pkgs/applications/editors/scite/default.nix b/pkgs/applications/editors/scite/default.nix
index 2f4693982a9..78dd0d09541 100644
--- a/pkgs/applications/editors/scite/default.nix
+++ b/pkgs/applications/editors/scite/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, gtk2 }:
-stdenv.mkDerivation rec {
- name = "scite-${version}";
+stdenv.mkDerivation {
+ pname = "scite";
version = "4.0.5";
src = fetchurl {
diff --git a/pkgs/applications/editors/sigil/default.nix b/pkgs/applications/editors/sigil/default.nix
index bae3c58b8e1..ac171f60ead 100644
--- a/pkgs/applications/editors/sigil/default.nix
+++ b/pkgs/applications/editors/sigil/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, makeWrapper
, boost, xercesc
, qtbase, qttools, qtwebkit, qtxmlpatterns
, python3, python3Packages
}:
-stdenv.mkDerivation rec {
- name = "sigil-${version}";
- version = "0.9.13";
+mkDerivation rec {
+ pname = "sigil";
+ version = "0.9.14";
src = fetchFromGitHub {
- sha256 = "05wnq7av7fgqgcqd88qjwgn55vr4ciy4f0rgi722f52vy97bw9bj";
+ sha256 = "0fmfbfpnmhclbbv9cbr1xnv97si6ls7331kk3ix114iqkngqwgl1";
rev = version;
repo = "Sigil";
owner = "Sigil-Ebook";
@@ -17,17 +17,18 @@ stdenv.mkDerivation rec {
pythonPath = with python3Packages; [ lxml ];
- propagatedBuildInputs = with python3Packages; [ lxml ];
-
nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
buildInputs = [
boost xercesc qtbase qttools qtwebkit qtxmlpatterns
- python3 python3Packages.lxml ];
+ python3Packages.lxml ];
+
+ dontWrapQtApps = true;
preFixup = ''
wrapProgram "$out/bin/sigil" \
- --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3Packages.lxml})
+ --prefix PYTHONPATH : $PYTHONPATH \
+ ''${qtWrapperArgs[@]}
'';
enableParallelBuilding = true;
@@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
description = "Free, open source, multi-platform ebook (ePub) editor";
homepage = https://github.com/Sigil-Ebook/Sigil/;
license = licenses.gpl3;
- maintainers =[ maintainers.ramkromberg ];
+ # currently unmaintained
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/editors/standardnotes/default.nix b/pkgs/applications/editors/standardnotes/default.nix
index 454b7ad554b..5a13d91aef2 100644
--- a/pkgs/applications/editors/standardnotes/default.nix
+++ b/pkgs/applications/editors/standardnotes/default.nix
@@ -1,21 +1,22 @@
{ stdenv, appimage-run, fetchurl, runtimeShell }:
let
- version = "3.0.6";
+ version = "3.0.15";
plat = {
- "i386-linux" = "i386";
- "x86_64-linux" = "x86_64";
+ i386-linux = "i386";
+ x86_64-linux = "x86_64";
}.${stdenv.hostPlatform.system};
sha256 = {
- "i386-linux" = "0czhlbacjks9x8y2w46nzlvk595psqhqw0vl0bvsq7sz768dk0ni";
- "x86_64-linux" = "0haji9h8rrm9yvqdv6i2y6xdd0yhsssjjj83hmf6cb868lwyigsf";
+ i386-linux = "0v2nsis6vb1lnhmjd28vrfxqwwpycv02j0nvjlfzcgj4b3400j7a";
+ x86_64-linux = "130n586cw0836zsbwqcz3pp3h0d4ny74ngqs4k4cvfb92556r7xh";
}.${stdenv.hostPlatform.system};
in
-stdenv.mkDerivation rec {
- name = "standardnotes-${version}";
+stdenv.mkDerivation {
+ pname = "standardnotes";
+ inherit version;
src = fetchurl {
url = "https://github.com/standardnotes/desktop/releases/download/v${version}/standard-notes-${version}-${plat}.AppImage";
@@ -24,7 +25,7 @@ stdenv.mkDerivation rec {
buildInputs = [ appimage-run ];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/{bin,share}
diff --git a/pkgs/applications/editors/sublime/3/common.nix b/pkgs/applications/editors/sublime/3/common.nix
index 214e53262b5..8e52237d949 100644
--- a/pkgs/applications/editors/sublime/3/common.nix
+++ b/pkgs/applications/editors/sublime/3/common.nix
@@ -1,13 +1,11 @@
{ buildVersion, x32sha256, x64sha256, dev ? false }:
-{ fetchurl, stdenv, xorg, glib, glibcLocales, gtk2, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
-, pkexecPath ? "/run/wrappers/bin/pkexec", gksuSupport ? false, gksu
+{ fetchurl, stdenv, xorg, glib, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
+, pkexecPath ? "/run/wrappers/bin/pkexec"
, writeScript, common-updater-scripts, curl, gnugrep
, openssl, bzip2, bash, unzip, zip
}:
-assert gksuSupport -> gksu != null;
-
let
pname = "sublimetext3";
packageAttribute = "sublime3${stdenv.lib.optionalString dev "-dev"}";
@@ -15,10 +13,8 @@ let
primaryBinary = "sublime_text";
primaryBinaryAliases = [ "subl" "sublime" "sublime3" ];
downloadUrl = "https://download.sublimetext.com/sublime_text_3_build_${buildVersion}_${arch}.tar.bz2";
- downloadArchiveType = "tar.bz2";
versionUrl = "https://www.sublimetext.com/${if dev then "3dev" else "3"}";
- versionFile = "pkgs/applications/editors/sublime/3/packages.nix";
- usesGtk2 = stdenv.lib.versionOlder buildVersion "3181";
+ versionFile = builtins.toString ./packages.nix;
archSha256 =
if stdenv.hostPlatform.system == "i686-linux" then
x32sha256
@@ -30,24 +26,22 @@ let
else
"x64";
- libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib (if usesGtk2 then gtk2 else gtk3) cairo pango ];
- redirects = [ "/usr/bin/pkexec=${pkexecPath}" ]
- ++ stdenv.lib.optional gksuSupport "/usr/bin/gksudo=${gksu}/bin/gksudo";
+ libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ];
+ redirects = [ "/usr/bin/pkexec=${pkexecPath}" ];
in let
binaryPackage = stdenv.mkDerivation {
pname = "${pname}-bin";
version = buildVersion;
src = fetchurl {
- name = "${pname}-bin-${buildVersion}.${downloadArchiveType}";
url = downloadUrl;
sha256 = archSha256;
};
dontStrip = true;
dontPatchELF = true;
- buildInputs = stdenv.lib.optionals (!usesGtk2) [ glib gtk3 ]; # for GSETTINGS_SCHEMAS_PATH
- nativeBuildInputs = [ zip unzip makeWrapper ] ++ stdenv.lib.optional (!usesGtk2) wrapGAppsHook;
+ buildInputs = [ glib gtk3 ]; # for GSETTINGS_SCHEMAS_PATH
+ nativeBuildInputs = [ zip unzip makeWrapper wrapGAppsHook ];
# make exec.py in Default.sublime-package use own bash with an LD_PRELOAD instead of "/bin/bash"
patchPhase = ''
@@ -76,7 +70,7 @@ in let
$binary
done
- # Rewrite pkexec|gksudo argument. Note that we can't delete bytes in binary.
+ # Rewrite pkexec argument. Note that we cannot delete bytes in binary.
sed -i -e 's,/bin/cp\x00,cp\x00\x00\x00\x00\x00\x00,g' ${primaryBinary}
runHook postBuild
@@ -105,7 +99,7 @@ in let
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
--set NIX_REDIRECTS ${builtins.concatStringsSep ":" redirects} \
--set LOCALE_ARCHIVE "${glibcLocales.out}/lib/locale/locale-archive" \
- ${stdenv.lib.optionalString (!usesGtk2) ''"''${gappsWrapperArgs[@]}"''}
+ "''${gappsWrapperArgs[@]}"
# Without this, plugin_host crashes, even though it has the rpath
wrapProgram $out/plugin_host --prefix LD_PRELOAD : ${stdenv.cc.cc.lib}/lib${stdenv.lib.optionalString stdenv.is64bit "64"}/libgcc_s.so.1:${openssl.out}/lib/libssl.so:${bzip2.out}/lib/libbz2.so
@@ -152,7 +146,7 @@ in stdenv.mkDerivation (rec {
meta = with stdenv.lib; {
description = "Sophisticated text editor for code, markup and prose";
homepage = https://www.sublimetext.com/;
- maintainers = with maintainers; [ wmertens demin-dmitriy zimbatm ];
+ maintainers = with maintainers; [ jtojnar wmertens demin-dmitriy zimbatm ];
license = licenses.unfree;
platforms = [ "x86_64-linux" "i686-linux" ];
};
diff --git a/pkgs/applications/editors/sublime/3/packages.nix b/pkgs/applications/editors/sublime/3/packages.nix
index b8fef39d3ea..82d92ba2fe1 100644
--- a/pkgs/applications/editors/sublime/3/packages.nix
+++ b/pkgs/applications/editors/sublime/3/packages.nix
@@ -3,7 +3,7 @@
let
common = opts: callPackage (import ./common.nix opts);
in
- rec {
+ {
sublime3-dev = common {
buildVersion = "3208";
dev = true;
diff --git a/pkgs/applications/editors/supertux-editor/default.nix b/pkgs/applications/editors/supertux-editor/default.nix
index a6d624d4b1e..6714f917315 100644
--- a/pkgs/applications/editors/supertux-editor/default.nix
+++ b/pkgs/applications/editors/supertux-editor/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, mono, gtk-sharp-2_0, pkgconfig, makeWrapper, gnome2, gtk2 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "git-2014-08-20";
- name = "supertux-editor-${version}";
+ pname = "supertux-editor";
src = fetchFromGitHub {
owner = "SuperTux";
diff --git a/pkgs/applications/editors/tecoc/default.nix b/pkgs/applications/editors/tecoc/default.nix
index dd986b346a3..48af4a99dad 100644
--- a/pkgs/applications/editors/tecoc/default.nix
+++ b/pkgs/applications/editors/tecoc/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
- name = "tecoc-git-${version}";
+ pname = "tecoc-git";
version = "20150606";
src = fetchFromGitHub {
@@ -28,9 +28,9 @@ stdenv.mkDerivation rec {
makeFlags = [ "CC=${stdenv.cc}/bin/cc" "-C src/" ];
installPhase = ''
- mkdir -p $out/bin $out/share/doc/${name} $out/lib/teco/macros
+ mkdir -p $out/bin $out/share/doc/${pname}-${version} $out/lib/teco/macros
cp src/tecoc $out/bin
- cp src/aaout.txt doc/* $out/share/doc/${name}
+ cp src/aaout.txt doc/* $out/share/doc/${pname}-${version}
cp lib/* lib2/* $out/lib/teco/macros
(cd $out/bin
ln -s tecoc Make
diff --git a/pkgs/applications/editors/texmacs/darwin.nix b/pkgs/applications/editors/texmacs/darwin.nix
index dfb2e49e0c8..5d5843890e1 100644
--- a/pkgs/applications/editors/texmacs/darwin.nix
+++ b/pkgs/applications/editors/texmacs/darwin.nix
@@ -15,7 +15,8 @@ let
};
in
stdenv.mkDerivation {
- name = "TeXmacs-${version}";
+ pname = "TeXmacs";
+ inherit version;
src= fetchurl {
url = "http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-${version}-src.tar.gz";
diff --git a/pkgs/applications/editors/texmacs/default.nix b/pkgs/applications/editors/texmacs/default.nix
index ac5ac34d214..2c391cae517 100644
--- a/pkgs/applications/editors/texmacs/default.nix
+++ b/pkgs/applications/editors/texmacs/default.nix
@@ -1,5 +1,5 @@
{ stdenv, callPackage,
- fetchurl, guile_1_8, qt4, zlib, xmodmap, which, makeWrapper, freetype,
+ fetchurl, guile_1_8, qt4, xmodmap, which, makeWrapper, freetype,
tex ? null,
aspell ? null,
ghostscriptX ? null,
diff --git a/pkgs/applications/editors/texmaker/default.nix b/pkgs/applications/editors/texmaker/default.nix
index 79ece9d62a9..2a4459ddc3e 100644
--- a/pkgs/applications/editors/texmaker/default.nix
+++ b/pkgs/applications/editors/texmaker/default.nix
@@ -3,10 +3,9 @@
stdenv.mkDerivation rec {
pname = "texmaker";
version = "5.0.3";
- name = "${pname}-${version}";
src = fetchurl {
- url = "http://www.xm1math.net/texmaker/${name}.tar.bz2";
+ url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
sha256 = "0vrj9w5lk3vf6138n5bz8phmy3xp5kv4dq1rgirghcf4hbxdyx30";
};
diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix
index 50113dd1566..04e2cb45e28 100644
--- a/pkgs/applications/editors/texstudio/default.nix
+++ b/pkgs/applications/editors/texstudio/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "texstudio";
version = "2.12.16";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "${pname}-org";
diff --git a/pkgs/applications/editors/textadept/default.nix b/pkgs/applications/editors/textadept/default.nix
index 79cad6a9782..85006e51b66 100644
--- a/pkgs/applications/editors/textadept/default.nix
+++ b/pkgs/applications/editors/textadept/default.nix
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchhg, fetchurl, gtk2, glib, pkgconfig, unzip, ncurses, zip }:
stdenv.mkDerivation rec {
version = "10.2";
- name = "textadept-${version}";
+ pname = "textadept";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
diff --git a/pkgs/applications/editors/texworks/default.nix b/pkgs/applications/editors/texworks/default.nix
index 86904c11f74..8042363f73c 100644
--- a/pkgs/applications/editors/texworks/default.nix
+++ b/pkgs/applications/editors/texworks/default.nix
@@ -4,7 +4,7 @@
, withPython ? true, python3 }:
stdenv.mkDerivation rec {
- name = "texworks-${version}";
+ pname = "texworks";
version = "0.6.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/editors/thonny/default.nix b/pkgs/applications/editors/thonny/default.nix
index 5f87aad8a87..a6179452f4d 100644
--- a/pkgs/applications/editors/thonny/default.nix
+++ b/pkgs/applications/editors/thonny/default.nix
@@ -4,13 +4,13 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "thonny";
- version = "3.1.2";
+ version = "3.2.0b7";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "1simqqxm72k5zhavhllkinsyw8ggy6fjs5ppj82g3l5g3919pfna";
+ sha256 = "0p0hi5rj873cszx9rpbjjq51vs6xys3rlq9v1rya710i3fnw0hqh";
};
propagatedBuildInputs = with python3.pkgs; [
diff --git a/pkgs/applications/editors/tiled/default.nix b/pkgs/applications/editors/tiled/default.nix
index 4fa93d78235..b0b80a4ec00 100644
--- a/pkgs/applications/editors/tiled/default.nix
+++ b/pkgs/applications/editors/tiled/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake
, python, qtbase, qttools }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "tiled";
version = "1.2.4";
diff --git a/pkgs/applications/editors/tweak/default.nix b/pkgs/applications/editors/tweak/default.nix
index aa3b4b99d7a..6bfce921d0f 100644
--- a/pkgs/applications/editors/tweak/default.nix
+++ b/pkgs/applications/editors/tweak/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "tweak-${version}";
+ pname = "tweak";
version = "3.02";
src = fetchurl {
- url = "https://www.chiark.greenend.org.uk/~sgtatham/tweak/${name}.tar.gz";
+ url = "https://www.chiark.greenend.org.uk/~sgtatham/tweak/${pname}-${version}.tar.gz";
sha256 = "06js54pr5hwpwyxj77zs5s40n5aqvaw48dkj7rid2d47pyqijk2v";
};
diff --git a/pkgs/applications/editors/typora/default.nix b/pkgs/applications/editors/typora/default.nix
index 03a8a55c780..7273b7252ca 100644
--- a/pkgs/applications/editors/typora/default.nix
+++ b/pkgs/applications/editors/typora/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, makeWrapper, electron_3, dpkg, gtk3, glib, gsettings-desktop-schemas, wrapGAppsHook }:
+{ stdenv, fetchurl, makeWrapper, electron_5, dpkg, gtk3, glib, gsettings-desktop-schemas, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "typora";
- version = "0.9.70";
+ version = "0.9.73";
src = fetchurl {
url = "https://www.typora.io/linux/typora_${version}_amd64.deb";
- sha256 = "08bgllbvgrpdkk9bryj4s16n274ps4igwrzdvsdbyw8wpp44vcy2";
+ sha256 = "1fgcb4bx5pw8ah5j30d38gw7qi1cmqarfhvgdns9f2n0d57bvvw3";
};
nativeBuildInputs = [
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
'';
postFixup = ''
- makeWrapper ${electron_3}/bin/electron $out/bin/typora \
+ makeWrapper ${electron_5}/bin/electron $out/bin/typora \
--add-flags $out/share/typora \
"''${gappsWrapperArgs[@]}" \
--prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ stdenv.cc.cc ]}"
@@ -50,6 +50,6 @@ stdenv.mkDerivation rec {
homepage = https://typora.io;
license = licenses.unfree;
maintainers = with maintainers; [ jensbin worldofpeace ];
- inherit (electron_3.meta) platforms;
+ platforms = [ "x86_64-linux"];
};
}
diff --git a/pkgs/applications/editors/uemacs/default.nix b/pkgs/applications/editors/uemacs/default.nix
index 551fa67d986..0a2df6b6d4b 100644
--- a/pkgs/applications/editors/uemacs/default.nix
+++ b/pkgs/applications/editors/uemacs/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, ncurses }:
-stdenv.mkDerivation rec {
- name = "uemacs-${version}";
+stdenv.mkDerivation {
+ pname = "uemacs";
version = "2014-12-08";
src = fetchgit {
diff --git a/pkgs/applications/editors/vbindiff/default.nix b/pkgs/applications/editors/vbindiff/default.nix
index 8d3a5353c98..d1aa59569e6 100644
--- a/pkgs/applications/editors/vbindiff/default.nix
+++ b/pkgs/applications/editors/vbindiff/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "vbindiff-${version}";
+ pname = "vbindiff";
version = "3.0_beta5";
buildInputs = [ ncurses ];
src = fetchurl {
- url = "https://www.cjmweb.net/vbindiff/${name}.tar.gz";
+ url = "https://www.cjmweb.net/vbindiff/${pname}-${version}.tar.gz";
sha256 = "1f1kj4jki08bnrwpzi663mjfkrx4wnfpzdfwd2qgijlkx5ysjkgh";
};
diff --git a/pkgs/applications/editors/vim/common.nix b/pkgs/applications/editors/vim/common.nix
index 2e3d092225f..567da2a08f2 100644
--- a/pkgs/applications/editors/vim/common.nix
+++ b/pkgs/applications/editors/vim/common.nix
@@ -1,12 +1,12 @@
{ lib, fetchFromGitHub }:
rec {
- version = "8.1.0675";
+ version = "8.1.1967";
src = fetchFromGitHub {
owner = "vim";
repo = "vim";
rev = "v${version}";
- sha256 = "00nlh8f2rf0af3n434s0lp6idxlg4l7mi1lrlbz0xld9dsrzdmas";
+ sha256 = "0cdfi67jwv8j982i1jxdfqv4aqglig8f0hzadgygk69i0wwkymwk";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix
index 9fdbdba8e18..d21d0ad5ee0 100644
--- a/pkgs/applications/editors/vim/configurable.nix
+++ b/pkgs/applications/editors/vim/configurable.nix
@@ -1,6 +1,6 @@
# TODO tidy up eg The patchelf code is patching gvim even if you don't build it..
# but I have gvim with python support now :) - Marc
-{ source ? "default", callPackage, fetchurl, stdenv, ncurses, pkgconfig, gettext
+{ source ? "default", callPackage, stdenv, ncurses, pkgconfig, gettext
, writeText, config, glib, gtk2-x11, gtk3-x11, lua, python, perl, tcl, ruby
, libX11, libXext, libSM, libXpm, libXt, libXaw, libXau, libXmu
, libICE
@@ -10,7 +10,7 @@
, runtimeShell
# apple frameworks
-, CoreServices, CoreData, Cocoa, Foundation, libobjc, cf-private
+, CoreServices, CoreData, Cocoa, Foundation, libobjc
, features ? "huge" # One of tiny, small, normal, big or huge
, wrapPythonDrv ? false
@@ -68,12 +68,12 @@ let
in stdenv.mkDerivation rec {
- name = "vim_configurable-${version}";
+ pname = "vim_configurable";
inherit (common) version postPatch hardeningDisable enableParallelBuilding meta;
src = builtins.getAttr source {
- "default" = common.src; # latest release
+ default = common.src; # latest release
};
patches = [ ./cflags-prune.diff ] ++ stdenv.lib.optional ftNixSupport ./ft-nix-support.patch;
@@ -132,7 +132,7 @@ in stdenv.mkDerivation rec {
libXmu glib libICE ]
++ stdenv.lib.optional (guiSupport == "gtk2") gtk2-x11
++ stdenv.lib.optional (guiSupport == "gtk3") gtk3-x11
- ++ stdenv.lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc cf-private ]
+ ++ stdenv.lib.optionals darwinSupport [ CoreServices CoreData Cocoa Foundation libobjc ]
++ stdenv.lib.optional luaSupport lua
++ stdenv.lib.optional pythonSupport python
++ stdenv.lib.optional tclSupport tcl
diff --git a/pkgs/applications/editors/vim/default.nix b/pkgs/applications/editors/vim/default.nix
index 2f34a6ddeb6..ae4e9ac8a9c 100644
--- a/pkgs/applications/editors/vim/default.nix
+++ b/pkgs/applications/editors/vim/default.nix
@@ -6,24 +6,20 @@
sha256 = "18ifhv5q9prd175q3vxbqf6qyvkk6bc7d2lhqdk0q78i68kv9y0c";
}
# apple frameworks
-, cf-private, Carbon, Cocoa
+, Carbon, Cocoa
}:
let
common = callPackage ./common.nix {};
in
-stdenv.mkDerivation rec {
- name = "vim-${version}";
+stdenv.mkDerivation {
+ pname = "vim";
inherit (common) version src postPatch hardeningDisable enableParallelBuilding meta;
nativeBuildInputs = [ gettext pkgconfig ];
buildInputs = [ ncurses ]
- ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [
- Carbon Cocoa
- # Needed for OBJC_CLASS_$_NSArray symbols.
- cf-private
- ];
+ ++ stdenv.lib.optionals stdenv.hostPlatform.isDarwin [ Carbon Cocoa ];
configureFlags = [
"--enable-multibyte"
diff --git a/pkgs/applications/editors/vim/macvim-sparkle.patch b/pkgs/applications/editors/vim/macvim-sparkle.patch
new file mode 100644
index 00000000000..e0ba5145b3e
--- /dev/null
+++ b/pkgs/applications/editors/vim/macvim-sparkle.patch
@@ -0,0 +1,106 @@
+diff --git a/src/MacVim/English.lproj/MainMenu.nib/designable.nib b/src/MacVim/English.lproj/MainMenu.nib/designable.nib
+index bdbcfdb9e..5efc78ab6 100644
+--- a/src/MacVim/English.lproj/MainMenu.nib/designable.nib
++++ b/src/MacVim/English.lproj/MainMenu.nib/designable.nib
+@@ -24,11 +24,6 @@
+
+
+
+-
+
+@@ -206,6 +201,5 @@
+
+
+
+-
+
+
+diff --git a/src/MacVim/English.lproj/Preferences.nib/designable.nib b/src/MacVim/English.lproj/Preferences.nib/designable.nib
+index 889450913..38afc3416 100644
+--- a/src/MacVim/English.lproj/Preferences.nib/designable.nib
++++ b/src/MacVim/English.lproj/Preferences.nib/designable.nib
+@@ -88,14 +88,10 @@
+
+
+ Checks for updates and presents a dialog box showing the release notes and prompt for whether you want to install the new version.
+-
++
+
+
+
+-
+-
+-
+-
+
+
+
+@@ -186,16 +182,13 @@
+
+
+ MacVim will automatically download and install updates without prompting. The updated version will be used the next time MacVim starts.
+-
++
+
+
+
+
+
+
+-
+-
+-
+
+
+
+diff --git a/src/MacVim/MacVim.xcodeproj/project.pbxproj b/src/MacVim/MacVim.xcodeproj/project.pbxproj
+index 648c4290d..c7dd99d1e 100644
+--- a/src/MacVim/MacVim.xcodeproj/project.pbxproj
++++ b/src/MacVim/MacVim.xcodeproj/project.pbxproj
+@@ -66,8 +66,6 @@
+ 1DFE25A50C527BC4003000F7 /* PSMTabBarControl.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D493DB90C52533B00AB718C /* PSMTabBarControl.framework */; };
+ 52818B031C1C08CE00F59085 /* QLStephen.qlgenerator in Copy QuickLookPlugin */ = {isa = PBXBuildFile; fileRef = 52818AFF1C1C075300F59085 /* QLStephen.qlgenerator */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
+ 528DA66A1426D4F9003380F1 /* macvim-askpass in Copy Scripts */ = {isa = PBXBuildFile; fileRef = 528DA6691426D4EB003380F1 /* macvim-askpass */; };
+- 52A364731C4A5789005757EC /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 52A364721C4A5789005757EC /* Sparkle.framework */; };
+- 52A364761C4A57C1005757EC /* Sparkle.framework in Copy Frameworks */ = {isa = PBXBuildFile; fileRef = 52A364721C4A5789005757EC /* Sparkle.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
+ 52B7ED9B1C4A4D6900AFFF15 /* dsa_pub.pem in Resources */ = {isa = PBXBuildFile; fileRef = 52B7ED9A1C4A4D6900AFFF15 /* dsa_pub.pem */; };
+ 8D11072A0486CEB800E47090 /* MainMenu.nib in Resources */ = {isa = PBXBuildFile; fileRef = 29B97318FDCFA39411CA2CEA /* MainMenu.nib */; };
+ 8D11072B0486CEB800E47090 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 089C165CFE840E0CC02AAC07 /* InfoPlist.strings */; };
+@@ -124,7 +122,6 @@
+ dstPath = "";
+ dstSubfolderSpec = 10;
+ files = (
+- 52A364761C4A57C1005757EC /* Sparkle.framework in Copy Frameworks */,
+ 1D493DBA0C52534300AB718C /* PSMTabBarControl.framework in Copy Frameworks */,
+ );
+ name = "Copy Frameworks";
+@@ -250,7 +247,6 @@
+ 32CA4F630368D1EE00C91783 /* MacVim_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MacVim_Prefix.pch; sourceTree = ""; };
+ 52818AFA1C1C075300F59085 /* QuickLookStephen.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = QuickLookStephen.xcodeproj; path = qlstephen/QuickLookStephen.xcodeproj; sourceTree = ""; };
+ 528DA6691426D4EB003380F1 /* macvim-askpass */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = "macvim-askpass"; sourceTree = ""; };
+- 52A364721C4A5789005757EC /* Sparkle.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Sparkle.framework; sourceTree = ""; };
+ 52B7ED9A1C4A4D6900AFFF15 /* dsa_pub.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = dsa_pub.pem; sourceTree = ""; };
+ 8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist; path = Info.plist; sourceTree = ""; };
+ 8D1107320486CEB800E47090 /* MacVim.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MacVim.app; sourceTree = BUILT_PRODUCTS_DIR; };
+@@ -264,7 +260,6 @@
+ 1DFE25A50C527BC4003000F7 /* PSMTabBarControl.framework in Frameworks */,
+ 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */,
+ 1D8B5A53104AF9FF002E59D5 /* Carbon.framework in Frameworks */,
+- 52A364731C4A5789005757EC /* Sparkle.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+@@ -443,7 +438,6 @@
+ 29B97323FDCFA39411CA2CEA /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+- 52A364721C4A5789005757EC /* Sparkle.framework */,
+ 1D8B5A52104AF9FF002E59D5 /* Carbon.framework */,
+ 1D493DB30C52533B00AB718C /* PSMTabBarControl.xcodeproj */,
+ 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */,
diff --git a/pkgs/applications/editors/vim/macvim.nix b/pkgs/applications/editors/vim/macvim.nix
index c97b17bd9af..6081bbc8b0c 100644
--- a/pkgs/applications/editors/vim/macvim.nix
+++ b/pkgs/applications/editors/vim/macvim.nix
@@ -1,55 +1,73 @@
-{ stdenv, fetchFromGitHub, ncurses, gettext
-, pkgconfig, python, ruby, tcl, perl, luajit
+{ stdenv, fetchFromGitHub, runCommand, ncurses, gettext
+, pkgconfig, cscope, ruby, tcl, perl, luajit
, darwin
+
+, usePython27 ? false
+, python27 ? null, python37 ? null
}:
-stdenv.mkDerivation rec {
- name = "macvim-${version}";
+let
+ python = if usePython27
+ then { pkg = python27; name = "python"; }
+ else { pkg = python37; name = "python3"; };
+in
+assert python.pkg != null;
- version = "7.4.909";
+let
+ # Building requires a few system tools to be in PATH.
+ # Some of these we could patch into the relevant source files (such as xcodebuild and
+ # qlmanage) but some are used by Xcode itself and we have no choice but to put them in PATH.
+ # Symlinking them in this way is better than just putting all of /usr/bin in there.
+ buildSymlinks = runCommand "macvim-build-symlinks" {} ''
+ mkdir -p $out/bin
+ ln -s /usr/bin/xcrun /usr/bin/xcodebuild /usr/bin/tiffutil /usr/bin/qlmanage $out/bin
+ '';
+in
+
+stdenv.mkDerivation {
+ pname = "macvim";
+
+ version = "8.1.1722";
src = fetchFromGitHub {
owner = "macvim-dev";
repo = "macvim";
- rev = "75aa7774645adb586ab9010803773bd80e659254";
- sha256 = "0k04jimbms6zffh8i8fjm2y51q01m5kga2n4djipd3pxij1qy89y";
+ rev = "snapshot-157";
+ sha256 = "1gmgc4pwaqy78gj4p7iib94n7j52ir0aa03ks595h3vy1hkcwwky";
};
enableParallelBuilding = true;
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ pkgconfig buildSymlinks ];
buildInputs = [
- gettext ncurses luajit ruby tcl perl python
+ gettext ncurses cscope luajit ruby tcl perl python.pkg
];
- patches = [ ./macvim.patch ];
+ patches = [ ./macvim.patch ./macvim-sparkle.patch ];
+ # The sparkle patch modified the nibs, so we have to recompile them
postPatch = ''
- substituteInPlace src/MacVim/mvim --replace "# VIM_APP_DIR=/Applications" "VIM_APP_DIR=$out/Applications"
-
- # Don't create custom icons.
- substituteInPlace src/MacVim/icons/Makefile --replace '$(MAKE) -C makeicns' ""
- substituteInPlace src/MacVim/icons/make_icons.py --replace "dont_create = False" "dont_create = True"
-
- # Full path to xcodebuild
- substituteInPlace src/Makefile --replace "xcodebuild" "/usr/bin/xcodebuild"
+ for nib in MainMenu Preferences; do
+ /usr/bin/ibtool --compile src/MacVim/English.lproj/$nib.nib/keyedobjects.nib src/MacVim/English.lproj/$nib.nib
+ done
'';
configureFlags = [
- #"--enable-cscope" # TODO: cscope doesn't build on Darwin yet
+ "--enable-cscope"
"--enable-fail-if-missing"
"--with-features=huge"
"--enable-gui=macvim"
"--enable-multibyte"
"--enable-nls"
"--enable-luainterp=dynamic"
- "--enable-pythoninterp=dynamic"
+ "--enable-${python.name}interp=dynamic"
"--enable-perlinterp=dynamic"
"--enable-rubyinterp=dynamic"
"--enable-tclinterp=yes"
"--without-local-dir"
"--with-luajit"
"--with-lua-prefix=${luajit}"
+ "--with-${python.name}-command=${python.pkg}/bin/${python.name}"
"--with-ruby-command=${ruby}/bin/ruby"
"--with-tclsh=${tcl}/bin/tclsh"
"--with-tlib=ncurses"
@@ -58,8 +76,8 @@ stdenv.mkDerivation rec {
makeFlags = ''PREFIX=$(out) CPPFLAGS="-Wno-error"'';
- # This is unfortunate, but we need to use the same compiler as XCode,
- # but XCode doesn't provide a way to configure the compiler.
+ # This is unfortunate, but we need to use the same compiler as Xcode,
+ # but Xcode doesn't provide a way to configure the compiler.
#
# If you're willing to modify the system files, you can do this:
# http://hamelot.co.uk/programming/add-gcc-compiler-to-xcode-6/
@@ -72,10 +90,18 @@ stdenv.mkDerivation rec {
configureFlagsArray+=(
"--with-developer-dir=$DEV_DIR"
)
- '';
+ ''
+ # For some reason having LD defined causes PSMTabBarControl to fail at link-time as it
+ # passes arguments to ld that it meant for clang.
+ + ''
+ unset LD
+ ''
+ ;
postConfigure = ''
substituteInPlace src/auto/config.mk --replace "PERL_CFLAGS =" "PERL_CFLAGS = -I${darwin.libutil}/include"
+
+ substituteInPlace src/MacVim/vimrc --subst-var-by CSCOPE ${cscope}/bin/cscope
'';
postInstall = ''
@@ -83,13 +109,11 @@ stdenv.mkDerivation rec {
cp -r src/MacVim/build/Release/MacVim.app $out/Applications
rm -rf $out/MacVim.app
- rm $out/bin/{Vimdiff,Vimtutor,Vim,ex,rVim,rview,view}
+ rm $out/bin/*
- cp src/MacVim/mvim $out/bin
cp src/vimtutor $out/bin
-
- for prog in "vimdiff" "vi" "vim" "ex" "rvim" "rview" "view"; do
- ln -s $out/bin/mvim $out/bin/$prog
+ for prog in mvim ex vi vim vimdiff view rvim rvimdiff rview; do
+ ln -s $out/Applications/MacVim.app/Contents/bin/mvim $out/bin/$prog
done
# Fix rpaths
@@ -97,17 +121,19 @@ stdenv.mkDerivation rec {
libperl=$(dirname $(find ${perl} -name "libperl.dylib"))
install_name_tool -add_rpath ${luajit}/lib $exe
install_name_tool -add_rpath ${tcl}/lib $exe
- install_name_tool -add_rpath ${python}/lib $exe
+ install_name_tool -add_rpath ${python.pkg}/lib $exe
install_name_tool -add_rpath $libperl $exe
install_name_tool -add_rpath ${ruby}/lib $exe
+
+ # Remove manpages from tools we aren't providing
+ find $out/share/man \( -name eVim.1 -or -name xxd.1 \) -delete
'';
meta = with stdenv.lib; {
- broken = true; # needs ruby 2.2
description = "Vim - the text editor - for macOS";
- homepage = https://github.com/b4winckler/macvim;
+ homepage = https://github.com/macvim-dev/macvim;
license = licenses.vim;
- maintainers = with maintainers; [ cstrahan ];
+ maintainers = with maintainers; [ cstrahan lilyball ];
platforms = platforms.darwin;
};
}
diff --git a/pkgs/applications/editors/vim/macvim.patch b/pkgs/applications/editors/vim/macvim.patch
index e8f34aba537..8cb96a9ebba 100644
--- a/pkgs/applications/editors/vim/macvim.patch
+++ b/pkgs/applications/editors/vim/macvim.patch
@@ -1,65 +1,98 @@
diff --git a/src/MacVim/MacVim.xcodeproj/project.pbxproj b/src/MacVim/MacVim.xcodeproj/project.pbxproj
-index c384bf7..bf1ce96 100644
+index e519018de..556a4127d 100644
--- a/src/MacVim/MacVim.xcodeproj/project.pbxproj
+++ b/src/MacVim/MacVim.xcodeproj/project.pbxproj
-@@ -437,6 +437,8 @@
- /* Begin PBXProject section */
- 29B97313FDCFA39411CA2CEA /* Project object */ = {
- isa = PBXProject;
-+ attributes = {
-+ };
- buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "MacVim" */;
- compatibilityVersion = "Xcode 2.4";
- developmentRegion = English;
-@@ -632,6 +634,7 @@
- INSTALL_PATH = "$(HOME)/Applications";
+@@ -1007,6 +1007,7 @@
+ LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = "";
ONLY_ACTIVE_ARCH = YES;
+ OTHER_LDFLAGS = "-headerpad_max_install_names";
+ PRODUCT_BUNDLE_IDENTIFIER = org.vim.MacVim;
PRODUCT_NAME = MacVim;
VERSIONING_SYSTEM = "apple-generic";
- WARNING_CFLAGS = "-Wall";
-@@ -662,6 +665,7 @@
- INSTALL_PATH = "$(HOME)/Applications";
+@@ -1039,6 +1040,7 @@
+ LD_RUNPATH_SEARCH_PATHS = "@loader_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = "";
ONLY_ACTIVE_ARCH = YES;
+ OTHER_LDFLAGS = "-headerpad_max_install_names";
+ PRODUCT_BUNDLE_IDENTIFIER = org.vim.MacVim;
PRODUCT_NAME = MacVim;
VERSIONING_SYSTEM = "apple-generic";
- WRAPPER_EXTENSION = app;
+diff --git a/src/MacVim/vimrc b/src/MacVim/vimrc
+index 23a06bf37..dfb10fe94 100644
+--- a/src/MacVim/vimrc
++++ b/src/MacVim/vimrc
+@@ -14,35 +14,5 @@ set backspace+=indent,eol,start
+ " translated to English).
+ set langmenu=none
+
+-" Python2
+-" MacVim is configured by default to use the pre-installed System python2
+-" version. However, following code tries to find a Homebrew, MacPorts or
+-" an installation from python.org:
+-if exists("&pythondll") && exists("&pythonhome")
+- if filereadable("/usr/local/Frameworks/Python.framework/Versions/2.7/Python")
+- " Homebrew python 2.7
+- set pythondll=/usr/local/Frameworks/Python.framework/Versions/2.7/Python
+- elseif filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python")
+- " MacPorts python 2.7
+- set pythondll=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
+- elseif filereadable("/Library/Frameworks/Python.framework/Versions/2.7/Python")
+- " https://www.python.org/downloads/mac-osx/
+- set pythondll=/Library/Frameworks/Python.framework/Versions/2.7/Python
+- endif
+-endif
+-
+-" Python3
+-" MacVim is configured by default to use Homebrew python3 version
+-" If this cannot be found, following code tries to find a MacPorts
+-" or an installation from python.org:
+-if exists("&pythonthreedll") && exists("&pythonthreehome") &&
+- \ !filereadable(&pythonthreedll)
+- if filereadable("/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python")
+- " MacPorts python 3.7
+- set pythonthreedll=/opt/local/Library/Frameworks/Python.framework/Versions/3.7/Python
+- elseif filereadable("/Library/Frameworks/Python.framework/Versions/3.7/Python")
+- " https://www.python.org/downloads/mac-osx/
+- set pythonthreedll=/Library/Frameworks/Python.framework/Versions/3.7/Python
+- endif
+-endif
+-
++" Default cscopeprg to the Nix-installed path
++set cscopeprg=@CSCOPE@
diff --git a/src/Makefile b/src/Makefile
-index 84a93f7..e23196d 100644
+index 32810d0a7..13a05f349 100644
--- a/src/Makefile
+++ b/src/Makefile
-@@ -1306,7 +1306,7 @@ MACVIMGUI_SRC = gui.c gui_beval.c MacVim/gui_macvim.m MacVim/MMBackend.m \
+@@ -1385,7 +1385,7 @@ MACVIMGUI_SRC = gui.c gui_beval.c MacVim/gui_macvim.m MacVim/MMBackend.m \
MacVim/MacVim.m
- MACVIMGUI_OBJ = objects/gui.o objects/gui_beval.o objects/pty.o \
+ MACVIMGUI_OBJ = objects/gui.o objects/gui_beval.o \
objects/gui_macvim.o objects/MMBackend.o objects/MacVim.o
-MACVIMGUI_DEFS = -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe
-+MACVIMGUI_DEFS = -DMACOS_X_UNIX -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe
++MACVIMGUI_DEFS = -DMACOS_X_DARWIN -DFEAT_GUI_MACVIM -Wall -Wno-unknown-pragmas -pipe
MACVIMGUI_IPATH =
MACVIMGUI_LIBS_DIR =
MACVIMGUI_LIBS1 = -framework Cocoa -framework Carbon
diff --git a/src/auto/configure b/src/auto/configure
-index cdc0819..8e2fd16 100755
+index 9e6a82f4a..3c6d1a89b 100755
--- a/src/auto/configure
+++ b/src/auto/configure
-@@ -5383,10 +5383,7 @@ $as_echo "no" >&6; }
+@@ -5829,10 +5829,7 @@ $as_echo "not found" >&6; }
+
+ for path in "${vi_cv_path_mzscheme_pfx}/lib" "${SCHEME_LIB}"; do
+ if test "X$path" != "X"; then
+- if test "x$MACOS_X" = "xyes"; then
+- MZSCHEME_LIBS="-framework Racket"
+- MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
+- elif test -f "${path}/libmzscheme3m.a"; then
++ if test -f "${path}/libmzscheme3m.a"; then
+ MZSCHEME_LIBS="${path}/libmzscheme3m.a"
+ MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
+ elif test -f "${path}/libracket3m.a"; then
+@@ -6217,23 +6214,6 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
fi
- if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
-- if test "x$MACOSX" = "xyes"; then
-- MZSCHEME_LIBS="-framework Racket"
-- MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
-- elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
-+ if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
- MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
- MZSCHEME_CFLAGS="-DMZ_PRECISE_GC"
- elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libracket3m.a"; then
-@@ -5731,23 +5728,6 @@ $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
- fi
-
- if test "x$MACOSX" = "xyes"; then
+ if test "x$MACOS_X" = "xyes"; then
- dir=/System/Library/Perl
- darwindir=$dir/darwin
- if test -d $darwindir; then
@@ -80,21 +113,22 @@ index cdc0819..8e2fd16 100755
PERL_LIBS=`echo "$PERL_LIBS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
PERL_CFLAGS=`echo "$PERL_CFLAGS" | sed -e 's/-arch\ ppc//' -e 's/-arch\ i386//' -e 's/-arch\ x86_64//'`
fi
-@@ -5954,13 +5934,6 @@ __:
+@@ -6456,13 +6436,7 @@ __:
eof
eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
rm -f -- "${tmp_mkf}"
-- if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
+- if test "x$MACOS_X" = "xyes" && test -n "${python_PYTHONFRAMEWORK}" && ${vi_cv_path_python} -c \
- "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
- vi_cv_path_python_plibs="-framework Python"
- if test "x${vi_cv_path_python}" != "x/usr/bin/python" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
- vi_cv_path_python_plibs="-F${python_PYTHONFRAMEWORKPREFIX} -framework Python"
- fi
- else
- if test "${vi_cv_var_python_version}" = "1.4"; then
- vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
- else
-@@ -5979,7 +5952,6 @@ eof
++
+ vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
+ if test -n "${python_LINKFORSHARED}" && test -n "${python_PYTHONFRAMEWORKPREFIX}"; then
+ python_link_symbol=`echo ${python_LINKFORSHARED} | sed 's/\([^ \t][^ \t]*[ \t][ \t]*[^ \t][^ \t]*\)[ \t].*/\1/'`
+@@ -6477,7 +6451,6 @@ eof
fi
vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_BASEMODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//`
@@ -102,7 +136,7 @@ index cdc0819..8e2fd16 100755
fi
-@@ -6055,13 +6027,6 @@ rm -f core conftest.err conftest.$ac_objext \
+@@ -6556,13 +6529,6 @@ rm -f core conftest.err conftest.$ac_objext \
$as_echo "no" >&6; }
fi
@@ -116,11 +150,11 @@ index cdc0819..8e2fd16 100755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compile and link flags for Python are sane" >&5
$as_echo_n "checking if compile and link flags for Python are sane... " >&6; }
cflags_save=$CFLAGS
-@@ -6919,11 +6884,7 @@ $as_echo "$tclver - OK" >&6; };
+@@ -7456,11 +7422,7 @@ $as_echo "$tclver - OK" >&6; };
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of Tcl include" >&5
$as_echo_n "checking for location of Tcl include... " >&6; }
-- if test "x$MACOSX" != "xyes"; then
+- if test "x$MACOS_X" != "xyes"; then
tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
- else
- tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
@@ -128,104 +162,63 @@ index cdc0819..8e2fd16 100755
TCL_INC=
for try in $tclinc; do
if test -f "$try/tcl.h"; then
-@@ -6941,12 +6902,8 @@ $as_echo "" >&6; }
+@@ -7478,12 +7440,8 @@ $as_echo "" >&6; }
if test -z "$SKIP_TCL"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for location of tclConfig.sh script" >&5
$as_echo_n "checking for location of tclConfig.sh script... " >&6; }
-- if test "x$MACOSX" != "xyes"; then
+- if test "x$MACOS_X" != "xyes"; then
tclcnf=`echo $tclinc | sed s/include/lib/g`
tclcnf="$tclcnf `echo $tclinc | sed s/include/lib64/g`"
- else
- tclcnf="/System/Library/Frameworks/Tcl.framework"
- fi
for try in $tclcnf; do
- if test -f $try/tclConfig.sh; then
+ if test -f "$try/tclConfig.sh"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $try/tclConfig.sh" >&5
-@@ -7120,10 +7077,6 @@ $as_echo "$rubyhdrdir" >&6; }
+@@ -7673,10 +7631,6 @@ $as_echo "$rubyhdrdir" >&6; }
if test -f "$rubylibdir/$librubya"; then
librubyarg="$librubyarg"
RUBY_LIBS="$RUBY_LIBS -L$rubylibdir"
-- elif test -d "/System/Library/Frameworks/Ruby.framework"; then
+- elif test "$vi_cv_path_ruby" = "/usr/bin/ruby" -a -d "/System/Library/Frameworks/Ruby.framework"; then
- RUBY_LIBS="-framework Ruby"
-- RUBY_CFLAGS="-DRUBY_VERSION=$rubyversion"
+- RUBY_CFLAGS="$RUBY_CFLAGS -DRUBY_VERSION=$rubyversion"
- librubyarg=
fi
if test "X$librubyarg" != "X"; then
-diff --git a/src/if_python.c b/src/if_python.c
-index 1d87cac..9d28df0 100644
---- a/src/if_python.c
-+++ b/src/if_python.c
-@@ -55,11 +55,7 @@
-
- #define PY_SSIZE_T_CLEAN
-
--#ifdef FEAT_GUI_MACVIM
--# include
--#else
--# include
--#endif
-+#include
-
- #if !defined(PY_VERSION_HEX) || PY_VERSION_HEX < 0x02050000
- # undef PY_SSIZE_T_CLEAN
-diff --git a/src/if_ruby.c b/src/if_ruby.c
-index 1deb83e..ac23878 100644
---- a/src/if_ruby.c
-+++ b/src/if_ruby.c
-@@ -106,17 +106,9 @@
- # define rb_check_type rb_check_type_stub
- #endif
-
--#ifdef FEAT_GUI_MACVIM
--# include
--#else
--# include
--#endif
-+#include
- #ifdef RUBY19_OR_LATER
--# ifdef FEAT_GUI_MACVIM
--# include
--# else
--# include
--# endif
-+# include
- #endif
-
- #undef off_t /* ruby defines off_t as _int64, Mingw uses long */
diff --git a/src/vim.h b/src/vim.h
-index 4c93908..edc6bd7 100644
+index cb5be6c97..b703b31cd 100644
--- a/src/vim.h
+++ b/src/vim.h
-@@ -308,18 +308,6 @@
- # define UNUSED
+@@ -241,18 +241,6 @@
+ # define SUN_SYSTEM
#endif
--/* if we're compiling in C++ (currently only KVim), the system
+-/* If we're compiling in C++ (currently only KVim), the system
- * headers must have the correct prototypes or nothing will build.
-- * conversely, our prototypes might clash due to throw() specifiers and
+- * Conversely, our prototypes might clash due to throw() specifiers and
- * cause compilation failures even though the headers are correct. For
- * a concrete example, gcc-3.2 enforces exception specifications, and
- * glibc-2.2.5 has them in their system headers.
- */
-#if !defined(__cplusplus) && defined(UNIX) \
-- && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
+- && !defined(MACOS_X) /* MACOS_X doesn't yet support osdef.h */
-# include "auto/osdef.h" /* bring missing declarations in */
-#endif
-
- #ifdef __EMX__
- # define getcwd _getcwd2
- # define chdir _chdir2
+ #ifdef AMIGA
+ # include "os_amiga.h"
+ #endif
diff --git a/src/vimtutor b/src/vimtutor
-index 70d9ec7..b565a1a 100755
+index 1e8769b25..47078b0e7 100755
--- a/src/vimtutor
+++ b/src/vimtutor
-@@ -16,7 +16,7 @@ seq="vim vim8 vim75 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
+@@ -16,7 +16,7 @@ seq="vim vim81 vim80 vim8 vim74 vim73 vim72 vim71 vim70 vim7 vim6 vi"
if test "$1" = "-g"; then
# Try to use the GUI version of Vim if possible, it will fall back
# on Vim if Gvim is not installed.
-- seq="gvim gvim8 gvim75 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
-+ seq="mvim gvim gvim8 gvim75 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
+- seq="gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
++ seq="mvim gvim gvim81 gvim80 gvim8 gvim74 gvim73 gvim72 gvim71 gvim70 gvim7 gvim6 $seq"
shift
fi
diff --git a/pkgs/applications/editors/vis/default.nix b/pkgs/applications/editors/vis/default.nix
index 7825188fea9..1bda6958206 100644
--- a/pkgs/applications/editors/vis/default.nix
+++ b/pkgs/applications/editors/vis/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "vis-${version}";
+ pname = "vis";
version = "0.5";
src = fetchFromGitHub {
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
--prefix VIS_PATH : "\$HOME/.config:$out/share/vis"
'';
- desktopItem = makeDesktopItem rec {
+ desktopItem = makeDesktopItem {
name = "vis";
exec = "vis %U";
type = "Application";
diff --git a/pkgs/applications/editors/vscode/generic.nix b/pkgs/applications/editors/vscode/generic.nix
index 10a981f59bf..7b7209a5e1f 100644
--- a/pkgs/applications/editors/vscode/generic.nix
+++ b/pkgs/applications/editors/vscode/generic.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, makeDesktopItem
+{ stdenv, lib, makeDesktopItem
, unzip, libsecret, libXScrnSaver, wrapGAppsHook
, gtk2, atomEnv, at-spi2-atk, autoPatchelfHook
, systemd, fontconfig
@@ -11,7 +11,7 @@
let
inherit (stdenv.hostPlatform) system;
in
- stdenv.mkDerivation rec {
+ stdenv.mkDerivation {
inherit pname version src sourceRoot;
diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix
index bb0f90ed4fe..6f7e3ad0ba4 100644
--- a/pkgs/applications/editors/vscode/vscode.nix
+++ b/pkgs/applications/editors/vscode/vscode.nix
@@ -1,25 +1,23 @@
-{ stdenv, lib, callPackage, fetchurl, fetchpatch, isInsiders ? false }:
+{ stdenv, lib, callPackage, fetchurl, isInsiders ? false }:
let
inherit (stdenv.hostPlatform) system;
plat = {
- "i686-linux" = "linux-ia32";
- "x86_64-linux" = "linux-x64";
- "x86_64-darwin" = "darwin";
+ x86_64-linux = "linux-x64";
+ x86_64-darwin = "darwin";
}.${system};
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
sha256 = {
- "i686-linux" = "1xl8bk1m7d930dp7nw4770vk14cppci0ag079y8d39xqnvs24mr0";
- "x86_64-linux" = "0mq6gzz7338h4ragiar55xxby0x7whcd9nvnfk46bri162bacjbg";
- "x86_64-darwin" = "0pgj515k2bkpz953shmnalfw6yz8sg07jsxqk1rni9s3khrrd25h";
+ x86_64-linux = "1wxaxz2q4qizh6f23ipz8ihay6bpjdq0545vijqd84fqazcji6sq";
+ x86_64-darwin = "1gb9w3hvw3avn852an5v8m1ia64fkavnvaawjfc3455b248iiqvk";
}.${system};
in
callPackage ./generic.nix rec {
- version = "1.34.0";
+ version = "1.38.1";
pname = "vscode";
executableName = "code" + lib.optionalString isInsiders "-insiders";
@@ -50,6 +48,6 @@ in
downloadPage = https://code.visualstudio.com/Updates;
license = licenses.unfree;
maintainers = with maintainers; [ eadwu synthetica ];
- platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix
index 7058c00602c..b526d8fe327 100644
--- a/pkgs/applications/editors/vscode/vscodium.nix
+++ b/pkgs/applications/editors/vscode/vscodium.nix
@@ -1,28 +1,26 @@
-{ stdenv, lib, callPackage, fetchurl, fetchpatch }:
+{ stdenv, callPackage, fetchurl }:
let
inherit (stdenv.hostPlatform) system;
plat = {
- "i686-linux" = "linux-ia32";
- "x86_64-linux" = "linux-x64";
- "x86_64-darwin" = "darwin";
+ x86_64-linux = "linux-x64";
+ x86_64-darwin = "darwin";
}.${system};
archive_fmt = if system == "x86_64-darwin" then "zip" else "tar.gz";
sha256 = {
- "i686-linux" = "1vr3mblg5223k56yqi9fqwa7yg8qi4r3nkw6ssf87gs8jwfxa47l";
- "x86_64-linux" = "1vqq365zw44ll22i06bxxviyywv1v2f71c2mricrz3faz25c3lvm";
- "x86_64-darwin" = "0pa5cz8kq45q375b74kaa8qn1h0r1mp9amh5gsprg3hx89xzvhxi";
+ x86_64-linux = "15m7mfb8gmx3pwydc37blj0rxwgmkrnqfj6y79rpqlr2dg92gwlb";
+ x86_64-darwin = "080k4fnfa5ylmmya6zprgci3gld9mrbqsfnk53hgcny91ykl5xj5";
}.${system};
in
callPackage ./generic.nix rec {
- version = "1.34.0";
+ version = "1.38.1";
pname = "vscodium";
- executableName = "vscodium";
+ executableName = "codium";
longName = "VSCodium";
shortName = "Codium";
@@ -49,6 +47,6 @@ in
downloadPage = https://github.com/VSCodium/vscodium/releases;
license = licenses.mit;
maintainers = with maintainers; [];
- platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
+ platforms = [ "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/pkgs/applications/editors/vscode/with-extensions.nix b/pkgs/applications/editors/vscode/with-extensions.nix
index 88bea0c0809..074e6b8b12d 100644
--- a/pkgs/applications/editors/vscode/with-extensions.nix
+++ b/pkgs/applications/editors/vscode/with-extensions.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, runCommand, buildEnv, vscode, makeWrapper
+{ lib, runCommand, buildEnv, vscode, makeWrapper
, vscodeExtensions ? [] }:
/*
@@ -68,6 +68,7 @@ runCommand "${wrappedPkgName}-with-extensions-${wrappedPkgVersion}" {
ln -sT "${vscode}/share/pixmaps/code.png" "$out/share/pixmaps/code.png"
ln -sT "${vscode}/share/applications/${executableName}.desktop" "$out/share/applications/${executableName}.desktop"
+ ln -sT "${vscode}/share/applications/${executableName}-url-handler.desktop" "$out/share/applications/${executableName}-url-handler.desktop"
makeWrapper "${vscode}/bin/${executableName}" "$out/bin/${executableName}" ${lib.optionalString (vscodeExtensions != []) ''
--add-flags "--extensions-dir ${combinedExtensionsDrv}/share/${wrappedPkgName}/extensions"
''}
diff --git a/pkgs/applications/editors/wily/default.nix b/pkgs/applications/editors/wily/default.nix
index ce67cc2d648..aab3aecd7d6 100644
--- a/pkgs/applications/editors/wily/default.nix
+++ b/pkgs/applications/editors/wily/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.13.42";
- name = "wily-${version}";
+ pname = "wily";
src = fetchurl {
- url = "mirror://sourceforge/wily/${name}.tar.gz";
+ url = "mirror://sourceforge/wily/${pname}-${version}.tar.gz";
sha256 = "1jy4czk39sh365b0mjpj4d5wmymj98x163vmwzyx3j183jqrhm2z";
};
diff --git a/pkgs/applications/editors/wxhexeditor/default.nix b/pkgs/applications/editors/wxhexeditor/default.nix
index c345e8a95d5..4725d8143b4 100644
--- a/pkgs/applications/editors/wxhexeditor/default.nix
+++ b/pkgs/applications/editors/wxhexeditor/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, wxGTK, autoconf, automake, libtool, python, gettext }:
stdenv.mkDerivation rec {
- name = "wxHexEditor-${version}";
+ pname = "wxHexEditor";
version = "0.24";
src = fetchFromGitHub {
@@ -26,11 +26,10 @@ stdenv.mkDerivation rec {
url = https://github.com/EUA/wxHexEditor/commit/d0fa3ddc3e9dc9b05f90b650991ef134f74eed01.patch;
sha256 = "1wcb70hrnhq72frj89prcqylpqs74xrfz3kdfdkq84p5qfz9svyj";
})
+ ./missing-semicolon.patch
];
- buildPhase = ''
- make OPTFLAGS="-fopenmp"
- '';
+ makeFlags = [ "OPTFLAGS=-fopenmp" ];
meta = {
description = "Hex Editor / Disk Editor for Huge Files or Devices";
diff --git a/pkgs/applications/editors/wxhexeditor/missing-semicolon.patch b/pkgs/applications/editors/wxhexeditor/missing-semicolon.patch
new file mode 100644
index 00000000000..75722c9c7c5
--- /dev/null
+++ b/pkgs/applications/editors/wxhexeditor/missing-semicolon.patch
@@ -0,0 +1,35 @@
+diff --git a/src/HexDialogs.cpp b/src/HexDialogs.cpp
+index 091a6f9..12e6a78 100644
+--- a/src/HexDialogs.cpp
++++ b/src/HexDialogs.cpp
+@@ -420,7 +420,7 @@ void FindDialog::OnChar( wxKeyEvent& event ){
+ }
+
+ void FindDialog::EventHandler( wxCommandEvent& event ){
+- WX_CLEAR_ARRAY(parent->HighlightArray )
++ WX_CLEAR_ARRAY(parent->HighlightArray );
+ parent->HighlightArray.Shrink();
+
+ if( event.GetId() == btnFind->GetId())
+diff --git a/src/HexEditorCtrl/HexEditorCtrl.cpp b/src/HexEditorCtrl/HexEditorCtrl.cpp
+index 7a3b0e2..f12097f 100644
+--- a/src/HexEditorCtrl/HexEditorCtrl.cpp
++++ b/src/HexEditorCtrl/HexEditorCtrl.cpp
+@@ -64,9 +64,9 @@ HexEditorCtrl::~HexEditorCtrl( void ){
+ Dynamic_Disconnector();
+ Clear();
+
+- WX_CLEAR_ARRAY(MainTagArray)
+- WX_CLEAR_ARRAY(HighlightArray)
+- WX_CLEAR_ARRAY(CompareArray)
++ WX_CLEAR_ARRAY(MainTagArray);
++ WX_CLEAR_ARRAY(HighlightArray);
++ WX_CLEAR_ARRAY(CompareArray);
+
+ MainTagArray.Shrink();
+ HighlightArray.Shrink();
+@@ -1224,4 +1224,3 @@ void wxHugeScrollBar::OnOffsetScroll( wxScrollEvent& event ){
+ #endif
+ event.Skip();
+ }
+-
diff --git a/pkgs/applications/editors/xmlcopyeditor/default.nix b/pkgs/applications/editors/xmlcopyeditor/default.nix
index 229e37d0080..eeda097db25 100644
--- a/pkgs/applications/editors/xmlcopyeditor/default.nix
+++ b/pkgs/applications/editors/xmlcopyeditor/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, aspell, boost, expat, expect, intltool, libxml2, libxslt, pcre, wxGTK, xercesc }:
+{ stdenv, fetchurl, aspell, boost, expat, intltool, libxml2, libxslt, pcre, wxGTK, xercesc }:
stdenv.mkDerivation rec {
- name = "xmlcopyeditor-${version}";
+ pname = "xmlcopyeditor";
version = "1.2.1.3";
src = fetchurl {
- name = "${name}.tar.gz";
- url = "mirror://sourceforge/xml-copy-editor/${name}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
+ url = "mirror://sourceforge/xml-copy-editor/${pname}-${version}.tar.gz";
sha256 = "0bwxn89600jbrkvlwyawgc0c0qqxpl453mbgcb9qbbxl8984ns4v";
};
diff --git a/pkgs/applications/editors/yi/wrapper.nix b/pkgs/applications/editors/yi/wrapper.nix
index e20c0a3cbca..fe5fcc1724b 100644
--- a/pkgs/applications/editors/yi/wrapper.nix
+++ b/pkgs/applications/editors/yi/wrapper.nix
@@ -8,10 +8,10 @@ let
yiEnv = haskellPackages.ghcWithPackages
(self: [ self.yi ] ++ extraPackages self);
in
-stdenv.mkDerivation rec {
- name = "yi-custom-${version}";
+stdenv.mkDerivation {
+ pname = "yi-custom";
version = "0.0.0.1";
- unpackPhase = "true";
+ dontUnpack = true;
nativeBuildInputs = [ makeWrapper ];
buildCommand = ''
diff --git a/pkgs/applications/gis/grass/default.nix b/pkgs/applications/gis/grass/default.nix
index b7cf84ff959..360d94d1b82 100644
--- a/pkgs/applications/gis/grass/default.nix
+++ b/pkgs/applications/gis/grass/default.nix
@@ -1,19 +1,23 @@
-{ stdenv, fetchurl, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
+{ stdenv, fetchFromGitHub, flex, bison, pkgconfig, zlib, libtiff, libpng, fftw
, cairo, readline, ffmpeg, makeWrapper, wxGTK30, netcdf, blas
-, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages, libLAS
+, proj, gdal, geos, sqlite, postgresql, mysql, python2Packages, libLAS, proj-datumgrid
}:
-stdenv.mkDerivation {
- name = "grass-7.2.2";
- src = fetchurl {
- url = https://grass.osgeo.org/grass72/source/grass-7.2.2.tar.gz;
- sha256 = "0yzljbrxlqp4wbw08n1dvmm4vmwkg8glf1ff4xyh589r5ryb7gxv";
+stdenv.mkDerivation rec {
+ name = "grass";
+ version = "7.6.1";
+
+ src = with stdenv.lib; fetchFromGitHub {
+ owner = "OSGeo";
+ repo = "grass";
+ rev = "${name}_${replaceStrings ["."] ["_"] version}";
+ sha256 = "1amjk9rz7vw5ha7nyl5j2bfwj5if9w62nlwx5qbp1x7spldimlll";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo
+ buildInputs = [ flex bison zlib proj gdal libtiff libpng fftw sqlite cairo proj
readline ffmpeg makeWrapper wxGTK30 netcdf geos postgresql mysql.connector-c blas
- libLAS ]
+ libLAS proj-datumgrid ]
++ (with python2Packages; [ python dateutil wxPython30 numpy ]);
# On Darwin the installer tries to symlink the help files into a system
@@ -22,6 +26,8 @@ stdenv.mkDerivation {
configureFlags = [
"--with-proj-share=${proj}/share/proj"
+ "--with-proj-includes=${proj.dev}/include"
+ "--with-proj-lib=${proj}/lib"
"--without-opengl"
"--with-readline"
"--with-wxwidgets"
@@ -49,9 +55,11 @@ stdenv.mkDerivation {
scripts/d.what.vect/d.what.vect.py \
scripts/g.extension/g.extension.py \
scripts/g.extension.all/g.extension.all.py \
+ scripts/r.drain/r.drain.py \
scripts/r.pack/r.pack.py \
scripts/r.tileset/r.tileset.py \
scripts/r.unpack/r.unpack.py \
+ scripts/v.clip/v.clip.py \
scripts/v.rast.stats/v.rast.stats.py \
scripts/v.to.lines/v.to.lines.py \
scripts/v.what.strds/v.what.strds.py \
@@ -72,13 +80,15 @@ stdenv.mkDerivation {
done
'';
+ NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" ];
+
postInstall = ''
- wrapProgram $out/bin/grass72 \
+ wrapProgram $out/bin/grass76 \
--set PYTHONPATH $PYTHONPATH \
--set GRASS_PYTHON ${python2Packages.python}/bin/${python2Packages.python.executable} \
--suffix LD_LIBRARY_PATH ':' '${gdal}/lib'
- ln -s $out/grass-*/lib $out/lib
- ln -s $out/grass-*/include $out/include
+ ln -s $out/grass*/lib $out/lib
+ ln -s $out/grass*/include $out/include
'';
enableParallelBuilding = true;
diff --git a/pkgs/applications/gis/openorienteering-mapper/default.nix b/pkgs/applications/gis/openorienteering-mapper/default.nix
index a5a0492ab87..244f37b10df 100644
--- a/pkgs/applications/gis/openorienteering-mapper/default.nix
+++ b/pkgs/applications/gis/openorienteering-mapper/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, gdal, cmake, ninja, proj, clipper, zlib, qtbase, qttools
- , qtlocation, qtsensors, doxygen, cups, makeWrapper, qtimageformats
+, qtlocation, qtsensors, doxygen, cups, wrapQtAppsHook, qtimageformats
}:
stdenv.mkDerivation rec {
- name = "OpenOrienteering-Mapper-${version}";
+ pname = "OpenOrienteering-Mapper";
version = "0.8.4";
buildInputs = [ gdal qtbase qttools qtlocation qtimageformats
qtsensors clipper zlib proj doxygen cups];
- nativeBuildInputs = [ cmake makeWrapper ninja ];
+ nativeBuildInputs = [ cmake wrapQtAppsHook ninja ];
src = fetchFromGitHub {
owner = "OpenOrienteering";
@@ -20,9 +20,6 @@ stdenv.mkDerivation rec {
cmakeFlags =
[
- # Required by the build to be specified
- "-DPROJ4_ROOT=${proj}"
-
# Building the manual and bundling licenses fails
"-DLICENSING_PROVIDER:BOOL=OFF"
"-DMapper_MANUAL_QTHELP:BOOL=OFF"
@@ -43,14 +40,14 @@ stdenv.mkDerivation rec {
"-DMapper_PACKAGE_GDAL=0"
]);
+ # Needs to be available when proj_api.h gets evaluted by CPP
+ NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
postInstall =
stdenv.lib.optionalString stdenv.isDarwin ''
# Fixes "This application failed to start because it could not find or load the Qt
# platform plugin "cocoa"."
- wrapProgram $out/Mapper.app/Contents/MacOS/Mapper \
- --set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms \
- --set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtimageformats}/${qtbase.qtPluginPrefix}
+ wrapQtApp $out/Mapper.app/Contents/MacOS/Mapper
mkdir -p $out/bin
ln -s $out/Mapper.app/Contents/MacOS/Mapper $out/bin/mapper
'';
diff --git a/pkgs/applications/gis/qgis/default.nix b/pkgs/applications/gis/qgis/default.nix
index 0c76a489f13..f272fd04dd0 100644
--- a/pkgs/applications/gis/qgis/default.nix
+++ b/pkgs/applications/gis/qgis/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, makeWrapper, symlinkJoin
+{ lib, makeWrapper, symlinkJoin
, qgis-unwrapped, extraPythonPackages ? (ps: [ ])
}:
with lib;
diff --git a/pkgs/applications/gis/qgis/unwrapped.nix b/pkgs/applications/gis/qgis/unwrapped.nix
index 6e7fb375eab..a57b180d5b2 100644
--- a/pkgs/applications/gis/qgis/unwrapped.nix
+++ b/pkgs/applications/gis/qgis/unwrapped.nix
@@ -1,6 +1,6 @@
-{ stdenv, lib, fetchurl, cmake, ninja, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl
+{ stdenv, lib, fetchFromGitHub, cmake, ninja, flex, bison, proj, geos, xlibsWrapper, sqlite, gsl
, qwt, fcgi, python3Packages, libspatialindex, libspatialite, postgresql
-, txt2tags, openssl, libzip, hdf5, netcdf
+, txt2tags, openssl, libzip, hdf5, netcdf, exiv2
, qtbase, qtwebkit, qtsensors, qca-qt5, qtkeychain, qscintilla, qtserialport, qtxmlpatterns
, withGrass ? true, grass
}:
@@ -10,12 +10,15 @@ let
[ qscintilla-qt5 gdal jinja2 numpy psycopg2
chardet dateutil pyyaml pytz requests urllib3 pygments pyqt5 sip owslib six ];
in stdenv.mkDerivation rec {
- version = "3.4.8";
- name = "qgis-unwrapped-${version}";
+ version = "3.8.0";
+ pname = "qgis";
+ name = "${pname}-unwrapped-${version}";
- src = fetchurl {
- url = "http://qgis.org/downloads/qgis-${version}.tar.bz2";
- sha256 = "13dy9y7ipv25x3k31njhjljdav36xay6s82g6ywaqf1xxh3s567w";
+ src = fetchFromGitHub {
+ owner = "qgis";
+ repo = "QGIS";
+ rev = "final-${lib.replaceStrings ["."] ["_"] version}";
+ sha256 = "11jqj6lavpw9piv0rm8vvbgd99zhcxl6yfjg699wlrjlyf71xac5";
};
passthru = {
@@ -23,7 +26,7 @@ in stdenv.mkDerivation rec {
inherit python3Packages;
};
- buildInputs = [ openssl proj geos xlibsWrapper sqlite gsl qwt
+ buildInputs = [ openssl proj geos xlibsWrapper sqlite gsl qwt exiv2
fcgi libspatialindex libspatialite postgresql txt2tags libzip hdf5 netcdf
qtbase qtwebkit qtsensors qca-qt5 qtkeychain qscintilla qtserialport qtxmlpatterns] ++
(stdenv.lib.optional withGrass grass) ++ pythonBuildInputs;
@@ -36,7 +39,7 @@ in stdenv.mkDerivation rec {
# build to use PYQT5_SIP_DIR consistently.
postPatch = ''
substituteInPlace cmake/FindPyQt5.py \
- --replace 'pyqtcfg.pyqt_sip_dir' '"${python3Packages.pyqt5}/share/sip/PyQt5"'
+ --replace 'sip_dir = cfg.default_sip_dir' 'sip_dir = "${python3Packages.pyqt5}/share/sip/PyQt5"'
'';
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF"
diff --git a/pkgs/applications/gis/saga/default.nix b/pkgs/applications/gis/saga/default.nix
index 4738bfba14a..feb79f444b8 100644
--- a/pkgs/applications/gis/saga/default.nix
+++ b/pkgs/applications/gis/saga/default.nix
@@ -2,8 +2,9 @@
libharu, opencv, vigra, postgresql, Cocoa,
unixODBC , poppler, hdf4, hdf5, netcdf, sqlite, qhull, giflib }:
-stdenv.mkDerivation rec {
- name = "saga-6.3.0";
+stdenv.mkDerivation {
+ pname = "saga";
+ version = "7.3.0";
# See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
# for why the have additional buildInputs on darwin
@@ -14,13 +15,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- patches = [ ./finite-6.3.0.patch];
-
CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11 -Wno-narrowing";
src = fetchurl {
- url = "mirror://sourceforge/project/saga-gis/SAGA%20-%206/SAGA%20-%206.3.0/saga-6.3.0.tar.gz";
- sha256 = "0hyjim8fcp3mna1hig22nnn4ki3j6b7096am2amcs99sdr09jjxv";
+ url = "https://sourceforge.net/projects/saga-gis/files/SAGA%20-%207/SAGA%20-%207.3.0/saga-7.3.0.tar.gz";
+ sha256 = "1g7v6vx7b8mfhbbg03pdk4kyks20maqbcdbasnxazhs8pl2zih7k";
};
meta = with stdenv.lib; {
diff --git a/pkgs/applications/gis/saga/finite-6.3.0.patch b/pkgs/applications/gis/saga/finite-6.3.0.patch
deleted file mode 100644
index 91c9543edfd..00000000000
--- a/pkgs/applications/gis/saga/finite-6.3.0.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-diff --git a/src/tools/imagery/imagery_maxent/me.cpp b/src/tools/imagery/imagery_maxent/me.cpp
-index c5da854..d3e9cff 100755
---- a/src/tools/imagery/imagery_maxent/me.cpp
-+++ b/src/tools/imagery/imagery_maxent/me.cpp
-@@ -21,7 +21,7 @@
- #ifdef _SAGA_MSW
- #define isinf(x) (!_finite(x))
- #else
--#define isinf(x) (!finite(x))
-+#define isinf(x) (!isfinite(x))
- #endif
-
- /** The input array contains a set of log probabilities lp1, lp2, lp3
-@@ -47,7 +47,7 @@ double sumLogProb(vector& logprobs)
- /** returns log (e^logprob1 + e^logprob2). */
- double sumLogProb(double logprob1, double logprob2)
- {
-- if (isinf(logprob1) && isinf(logprob2))
-+ if (isinf(logprob1) && isinf(logprob2))
- return logprob1; // both prob1 and prob2 are 0, return log 0.
- if (logprob1>logprob2)
- return logprob1+log(1+exp(logprob2-logprob1));
-@@ -70,8 +70,8 @@ void MaxEntModel::print(ostream& ostrm, MaxEntTrainer& trainer)
- for (FtMap::iterator it = _index.begin(); it!=_index.end(); it++) {
- unsigned long i = it->second;
- for (unsigned long c = 0; c<_classes; c++) {
-- ostrm << "lambda(" << trainer.className(c) << ", "
-- << trainer.getStr(it->first) << ")="
-+ ostrm << "lambda(" << trainer.className(c) << ", "
-+ << trainer.getStr(it->first) << ")="
- << _lambda[i+c] << endl;
- }
- }
-@@ -86,7 +86,7 @@ int MaxEntModel::getProbs(MaxEntEvent& event, vector& probs)
- double s = 0;
- for (unsigned int f = 0; fsecond+c];
- }
- probs[c] = s;
-@@ -142,10 +142,10 @@ double MaxEntModel::getObsCounts(EventSet& events, vector& obsCounts)
- double ftSum = 0;
- for (unsigned long j=0; jsecond+c] += count;
- else { // new feature, need to expand obsCounts and _lambda
-- for (unsigned int k = 0; k<_classes; k++)
-+ for (unsigned int k = 0; k<_classes; k++)
- obsCounts.push_back(0);
- obsCounts[_lambda.size()+c] += count;
- addFeature(e[j]);
diff --git a/pkgs/applications/gis/saga/lts.nix b/pkgs/applications/gis/saga/lts.nix
deleted file mode 100644
index ca0034aa970..00000000000
--- a/pkgs/applications/gis/saga/lts.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ stdenv, fetchgit, gdal, wxGTK30, proj, libiodbc, lzma, jasper,
- libharu, opencv, vigra, postgresql, autoreconfHook, Cocoa
- , unixODBC , poppler, hdf4, hdf5, netcdf, sqlite, qhull, giflib }:
-
-stdenv.mkDerivation rec {
- name = "saga-2.3.2";
-
- # See https://groups.google.com/forum/#!topic/nix-devel/h_vSzEJAPXs
- # for why the have additional buildInputs on darwin
- buildInputs = [ autoreconfHook gdal wxGTK30 proj libharu opencv vigra
- postgresql libiodbc lzma jasper
- unixODBC poppler hdf4.out hdf5 netcdf sqlite qhull giflib ]
- ++ stdenv.lib.optional stdenv.isDarwin Cocoa ;
-
- enableParallelBuilding = true;
-
- CXXFLAGS = stdenv.lib.optionalString stdenv.cc.isClang "-std=c++11 -Wno-narrowing";
-
- sourceRoot = "code-b6f474f/saga-gis";
-
- patches = [ ./clang_patch.patch ./finite.patch];
-
- src = fetchgit {
- url = "https://git.code.sf.net/p/saga-gis/code.git";
- rev = "b6f474f8af4af7f0ff82548cc6f88c53547d91f5";
- sha256 = "0iakynai8mhcwj6wxvafkqhd7b417ss7hyhbcp9wf6092l6vc2zd";
- };
-
- meta = with stdenv.lib; {
- description = "System for Automated Geoscientific Analyses";
- homepage = http://www.saga-gis.org;
- license = licenses.gpl2Plus;
- maintainers = [ maintainers.mpickering ];
- platforms = with platforms; unix;
- };
-}
diff --git a/pkgs/applications/gis/whitebox-tools/default.nix b/pkgs/applications/gis/whitebox-tools/default.nix
index f6adf7857ed..84d7f3ddb49 100644
--- a/pkgs/applications/gis/whitebox-tools/default.nix
+++ b/pkgs/applications/gis/whitebox-tools/default.nix
@@ -1,18 +1,21 @@
{ stdenv, rustPlatform , fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
- name = "whitebox_tools-${version}";
- version = "0.9.0";
+ pname = "whitebox_tools";
+ version = "0.16.0";
src = fetchFromGitHub {
owner = "jblindsay";
repo = "whitebox-tools";
- rev = "6221cdf327be70f0ee4f2053b76bfa01c3f37caa";
- sha256 = "1423ga964mz7qkl88vkcm8qfprsksx04aq4sz9v5ghnmdzzvl89x";
+ rev = "v${version}";
+ sha256 = "1vs4hf2x3qjnffs9kjx56rzl67kpcy8xvng6p0r9fp9mfnblxg6j";
};
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
- cargoSha256 = "1gbgirng21ak0kl3fiyr6lxwzrjd5v79gcrbzf941nb8y8rlvz7k";
+ cargoSha256 = "1y3vk8bzsaisx7wrncjxcqdh355f2wk4n59vq5qgj37fph2zpy7f";
+
+ # failures: structures::polyline::test::test_polyline_split
+ doCheck = false;
meta = with stdenv.lib; {
description = "An advanced geospatial data analysis platform";
diff --git a/pkgs/applications/graphics/ImageMagick/7.0.nix b/pkgs/applications/graphics/ImageMagick/7.0.nix
index f61215f83e2..654363d36f2 100644
--- a/pkgs/applications/graphics/ImageMagick/7.0.nix
+++ b/pkgs/applications/graphics/ImageMagick/7.0.nix
@@ -13,14 +13,14 @@ let
else throw "ImageMagick is not supported on this platform.";
cfg = {
- version = "7.0.8-46";
- sha256 = "1si3rv3b9jgjkwyny5ja76s8c0z9vyic28fm63j1jrqdd2jyq3pk";
+ version = "7.0.8-58";
+ sha256 = "0yfw32nydwy7ag7ina1zc6yssa146x4v35hjv6v59bci9mmj9fb1";
patches = [];
};
in
-stdenv.mkDerivation rec {
- name = "imagemagick-${version}";
+stdenv.mkDerivation {
+ pname = "imagemagick";
inherit (cfg) version;
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/ImageMagick/default.nix b/pkgs/applications/graphics/ImageMagick/default.nix
index ecc6a5b00de..993d4ba7ecd 100644
--- a/pkgs/applications/graphics/ImageMagick/default.nix
+++ b/pkgs/applications/graphics/ImageMagick/default.nix
@@ -31,8 +31,8 @@ let
};
in
-stdenv.mkDerivation rec {
- name = "imagemagick-${version}";
+stdenv.mkDerivation {
+ pname = "imagemagick";
inherit (cfg) version;
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/PythonMagick/default.nix b/pkgs/applications/graphics/PythonMagick/default.nix
index 938df76e257..e35a0190d8b 100644
--- a/pkgs/applications/graphics/PythonMagick/default.nix
+++ b/pkgs/applications/graphics/PythonMagick/default.nix
@@ -3,7 +3,7 @@
{ stdenv, fetchurl, python, pkgconfig, imagemagick, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "pythonmagick-${version}";
+ pname = "pythonmagick";
version = "0.9.16";
src = fetchurl {
diff --git a/pkgs/applications/graphics/ahoviewer/default.nix b/pkgs/applications/graphics/ahoviewer/default.nix
index 5210af4df7a..fb06266cdc5 100644
--- a/pkgs/applications/graphics/ahoviewer/default.nix
+++ b/pkgs/applications/graphics/ahoviewer/default.nix
@@ -7,7 +7,7 @@
assert useUnrar -> unrar != null;
stdenv.mkDerivation rec {
- name = "ahoviewer-${version}";
+ pname = "ahoviewer";
version = "1.6.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/alchemy/default.nix b/pkgs/applications/graphics/alchemy/default.nix
index 09664889f35..5132d5950aa 100644
--- a/pkgs/applications/graphics/alchemy/default.nix
+++ b/pkgs/applications/graphics/alchemy/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, runtimeShell }:
stdenv.mkDerivation rec {
- name = "alchemy-${version}";
+ pname = "alchemy";
version = "008";
enableParallelBuilding = true;
diff --git a/pkgs/applications/graphics/animbar/default.nix b/pkgs/applications/graphics/animbar/default.nix
index 0d6b538b107..c4f1b4218d0 100644
--- a/pkgs/applications/graphics/animbar/default.nix
+++ b/pkgs/applications/graphics/animbar/default.nix
@@ -1,12 +1,11 @@
-{ stdenv, lib, fetchurl, cmake, qt4, file, gcc }:
+{ stdenv, lib, fetchurl, cmake, qt4, file }:
stdenv.mkDerivation rec {
pname = "animbar";
version = "1.2";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://sourceforge/${pname}/${name}.tar.bz2";
+ url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.bz2";
sha256 = "0836nwcpyfdrapyj3hbg3wh149ihc26pc78h01adpc7c0r7d9pr9";
};
diff --git a/pkgs/applications/graphics/antimony/default.nix b/pkgs/applications/graphics/antimony/default.nix
index 0257a109568..3c39aadda98 100644
--- a/pkgs/applications/graphics/antimony/default.nix
+++ b/pkgs/applications/graphics/antimony/default.nix
@@ -8,8 +8,8 @@ let
gitBranch = "develop";
gitTag = "0.9.3";
in
- stdenv.mkDerivation rec {
- name = "antimony-${version}";
+ stdenv.mkDerivation {
+ pname = "antimony";
version = "2018-10-20";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/apitrace/default.nix b/pkgs/applications/graphics/apitrace/default.nix
index c98c323fc79..5ce36f4f10e 100644
--- a/pkgs/applications/graphics/apitrace/default.nix
+++ b/pkgs/applications/graphics/apitrace/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python2, libdwarf, qtbase, qtwebkit }:
stdenv.mkDerivation rec {
- name = "apitrace-${version}";
+ pname = "apitrace";
version = "7.1-572-g${builtins.substring 0 8 src.rev}";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/autotrace/autofig.nix b/pkgs/applications/graphics/autotrace/autofig.nix
index 31ee0ff0d07..0f53965786b 100644
--- a/pkgs/applications/graphics/autotrace/autofig.nix
+++ b/pkgs/applications/graphics/autotrace/autofig.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "autofig-0.1";
src = fetchurl {
diff --git a/pkgs/applications/graphics/autotrace/default.nix b/pkgs/applications/graphics/autotrace/default.nix
index cc08dce906c..57e95dfef10 100644
--- a/pkgs/applications/graphics/autotrace/default.nix
+++ b/pkgs/applications/graphics/autotrace/default.nix
@@ -6,11 +6,11 @@
# libpng16.so.16 rather than libpng12.
stdenv.mkDerivation rec {
- name = "autotrace-${version}";
+ pname = "autotrace";
version = "0.31.1";
src = fetchurl {
- url = "mirror://sourceforge/autotrace/AutoTrace/0.31.1/${name}.tar.gz";
+ url = "mirror://sourceforge/autotrace/AutoTrace/0.31.1/${pname}-${version}.tar.gz";
sha256 = "1xmgja5fv48mdbsa51inf7ksz36nqd6bsaybrk5xgprm6cy946js";
};
diff --git a/pkgs/applications/graphics/avocode/default.nix b/pkgs/applications/graphics/avocode/default.nix
index a413b722732..5e1cba31b7e 100644
--- a/pkgs/applications/graphics/avocode/default.nix
+++ b/pkgs/applications/graphics/avocode/default.nix
@@ -1,20 +1,21 @@
{ stdenv, makeDesktopItem, fetchurl, unzip
-, gdk_pixbuf, glib, gtk3, atk, at-spi2-atk, pango, cairo, freetype, fontconfig, dbus, nss, nspr, alsaLib, cups, expat, udev, gnome3
-, xorg, mozjpeg, makeWrapper, wrapGAppsHook, hicolor-icon-theme, libuuid
+, gdk-pixbuf, glib, gtk3, atk, at-spi2-atk, pango, cairo, freetype, fontconfig, dbus, nss, nspr, alsaLib, cups, expat, udev, gnome3
+, xorg, mozjpeg, makeWrapper, wrapGAppsHook, hicolor-icon-theme, libuuid, at-spi2-core
}:
stdenv.mkDerivation rec {
- name = "avocode-${version}";
- version = "3.7.2";
+ pname = "avocode";
+ version = "3.9.2";
src = fetchurl {
url = "https://media.avocode.com/download/avocode-app/${version}/avocode-${version}-linux.zip";
- sha256 = "0qwghs9q91ifywvrn8jgnnqzfrbbsi4lf92ikxq0dmdv734pdw0c";
+ sha256 = "18yzw7bss1dkmmd8lxr9x8s46qmpnqci202g16zrp6j9jdj094d3";
};
libPath = stdenv.lib.makeLibraryPath (with xorg; [
stdenv.cc.cc.lib
- gdk_pixbuf
+ at-spi2-core.out
+ gdk-pixbuf
glib
gtk3
atk
diff --git a/pkgs/applications/graphics/awesomebump/default.nix b/pkgs/applications/graphics/awesomebump/default.nix
index df742645e86..b827a12f81c 100644
--- a/pkgs/applications/graphics/awesomebump/default.nix
+++ b/pkgs/applications/graphics/awesomebump/default.nix
@@ -22,8 +22,9 @@ let
install -D bin-linux/QtnPEG $out/bin/QtnPEG
'';
};
-in stdenv.mkDerivation rec {
- name = "awesomebump-${version}";
+in stdenv.mkDerivation {
+ pname = "awesomebump";
+ inherit version;
inherit src;
diff --git a/pkgs/applications/graphics/azpainter/default.nix b/pkgs/applications/graphics/azpainter/default.nix
new file mode 100644
index 00000000000..b2060f5db31
--- /dev/null
+++ b/pkgs/applications/graphics/azpainter/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, autoreconfHook
+, libX11, libXext, libXi
+, freetype, fontconfig
+, libpng, libjpeg
+, zlib
+}:
+
+stdenv.mkDerivation rec {
+ pname = "azpainter";
+ version = "2.1.4";
+
+ src = fetchFromGitHub {
+ owner = "Symbian9";
+ repo = pname;
+ rev = "refs/tags/v${version}";
+ sha256 = "1hrr9lhsbjyzar3nxvli6cazr7zhyzh0p8hwpg4g9ga6njs8vi8m";
+ };
+
+ nativeBuildInputs = [ autoreconfHook ];
+
+ buildInputs = [
+ libX11 libXext libXi
+ freetype fontconfig
+ libpng libjpeg
+ zlib
+ ];
+
+ configureFlags = [
+ "--with-freetype-dir=${stdenv.lib.getDev freetype}/include/freetype2"
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Full color painting software for illustration drawing";
+ homepage = "https://osdn.net/projects/azpainter";
+ license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ dtzWill ];
+ };
+}
diff --git a/pkgs/applications/graphics/c3d/default.nix b/pkgs/applications/graphics/c3d/default.nix
index 7e1c6d7c8c4..ad86e66204b 100644
--- a/pkgs/applications/graphics/c3d/default.nix
+++ b/pkgs/applications/graphics/c3d/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchgit, cmake, itk, Cocoa }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+stdenv.mkDerivation {
pname = "c3d";
version = "2018-10-04";
diff --git a/pkgs/applications/graphics/darktable/default.nix b/pkgs/applications/graphics/darktable/default.nix
index e16ef45fe1e..d3c7691ccff 100644
--- a/pkgs/applications/graphics/darktable/default.nix
+++ b/pkgs/applications/graphics/darktable/default.nix
@@ -8,7 +8,7 @@
stdenv.mkDerivation rec {
version = "2.6.2";
- name = "darktable-${version}";
+ pname = "darktable";
src = fetchurl {
url = "https://github.com/darktable-org/darktable/releases/download/release-${version}/darktable-${version}.tar.xz";
@@ -52,6 +52,6 @@ stdenv.mkDerivation rec {
homepage = https://www.darktable.org;
license = licenses.gpl3Plus;
platforms = platforms.linux ++ platforms.darwin;
- maintainers = with maintainers; [ goibhniu rickynils flosse mrVanDalo ];
+ maintainers = with maintainers; [ goibhniu flosse mrVanDalo ];
};
}
diff --git a/pkgs/applications/graphics/deskew/default.nix b/pkgs/applications/graphics/deskew/default.nix
index 71e2d82ea7c..c35aaa044ae 100644
--- a/pkgs/applications/graphics/deskew/default.nix
+++ b/pkgs/applications/graphics/deskew/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
- name = "deskew-${version}";
+ pname = "deskew";
version = "1.25";
src = fetchFromBitbucket {
diff --git a/pkgs/applications/graphics/dia/default.nix b/pkgs/applications/graphics/dia/default.nix
index 0ce160242e5..a1f96337d74 100644
--- a/pkgs/applications/graphics/dia/default.nix
+++ b/pkgs/applications/graphics/dia/default.nix
@@ -3,8 +3,8 @@ libxml2, gettext, python, libxml2Python, docbook5, docbook_xsl,
libxslt, intltool, libart_lgpl, withGNOME ? false, libgnomeui, hicolor-icon-theme,
gtk-mac-integration-gtk2 }:
-stdenv.mkDerivation rec {
- name = "dia-${version}";
+stdenv.mkDerivation {
+ pname = "dia";
version = "0.97.3.20170622";
src = fetchgit {
diff --git a/pkgs/applications/graphics/digikam/default.nix b/pkgs/applications/graphics/digikam/default.nix
index cf2376b3733..1fc15af7244 100644
--- a/pkgs/applications/graphics/digikam/default.nix
+++ b/pkgs/applications/graphics/digikam/default.nix
@@ -52,13 +52,13 @@
mkDerivation rec {
pname = "digikam";
- version = "6.1.0";
+ version = "6.2.0";
src = fetchFromGitHub {
owner = "KDE";
repo = "digikam";
rev = "v${version}";
- sha256 = "0h0jqfgpanhxfi3r7cgip58ppypqx79z6c5jj7i7f19hp2zziip8";
+ sha256 = "1l1nb1nwicmip2jxhn5gzr7h60igvns0zs3kzp36r6qf4wvg3v2z";
};
nativeBuildInputs = [ cmake doxygen extra-cmake-modules kdoctools wrapGAppsHook ];
@@ -105,6 +105,8 @@ mkDerivation rec {
threadweaver
];
+ enableParallelBuilding = true;
+
cmakeFlags = [
"-DENABLE_MYSQLSUPPORT=1"
"-DENABLE_INTERNALMYSQL=1"
diff --git a/pkgs/applications/graphics/djview/default.nix b/pkgs/applications/graphics/djview/default.nix
index d90fb41c03b..1917640fd2e 100644
--- a/pkgs/applications/graphics/djview/default.nix
+++ b/pkgs/applications/graphics/djview/default.nix
@@ -3,11 +3,11 @@
, darwin }:
stdenv.mkDerivation rec {
- name = "djview-${version}";
+ pname = "djview";
version = "4.10.6";
src = fetchurl {
- url = "mirror://sourceforge/djvu/${name}.tar.gz";
+ url = "mirror://sourceforge/djvu/${pname}-${version}.tar.gz";
sha256 = "08bwv8ppdzhryfcnifgzgdilb12jcnivl4ig6hd44f12d76z6il4";
};
diff --git a/pkgs/applications/graphics/draftsight/default.nix b/pkgs/applications/graphics/draftsight/default.nix
index 30101bb9477..e59d14f7dd6 100644
--- a/pkgs/applications/graphics/draftsight/default.nix
+++ b/pkgs/applications/graphics/draftsight/default.nix
@@ -6,7 +6,8 @@
let version = "2018SP2"; in
stdenv.mkDerivation {
- name = "draftsight-${version}";
+ pname = "draftsight";
+ inherit version;
nativeBuildInputs = [ dpkg makeWrapper ];
diff --git a/pkgs/applications/graphics/drawio/default.nix b/pkgs/applications/graphics/drawio/default.nix
new file mode 100644
index 00000000000..3f922530e73
--- /dev/null
+++ b/pkgs/applications/graphics/drawio/default.nix
@@ -0,0 +1,94 @@
+{ stdenv, lib, fetchurl, rpmextract, autoPatchelfHook, wrapGAppsHook
+
+# Dynamic libraries
+, alsaLib, atk, at-spi2-atk, at-spi2-core, cairo, dbus, cups, expat
+, gdk-pixbuf, glib, gtk3, libX11, libXScrnSaver, libXcomposite, libXcursor
+, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender, libXtst
+, libxcb, libuuid, nspr, nss, pango
+
+, systemd
+}:
+
+stdenv.mkDerivation rec {
+ pname = "drawio";
+ version = "11.1.4";
+
+ src = fetchurl {
+ url = "https://github.com/jgraph/drawio-desktop/releases/download/v${version}/draw.io-x86_64-${version}.rpm";
+ sha256 = "0ca8wkkdr7kbb8il84nq05qgd5ykjq15fdv9432wr5p9xmqixz1q";
+ };
+
+ nativeBuildInputs = [
+ autoPatchelfHook
+ rpmextract
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ alsaLib
+ atk
+ at-spi2-atk
+ at-spi2-core
+ cairo
+ cups
+ dbus
+ expat
+ gdk-pixbuf
+ glib
+ gtk3
+ libX11
+ libXScrnSaver
+ libXcomposite
+ libXcursor
+ libXdamage
+ libXext
+ libXfixes
+ libXi
+ libXrandr
+ libXrender
+ libXtst
+ libxcb
+ libuuid
+ nspr
+ nss
+ pango
+ systemd
+ ];
+
+ runtimeDependencies = [
+ systemd.lib
+ ];
+
+ dontBuild = true;
+ dontConfigure = true;
+
+ unpackPhase = "rpmextract ${src}";
+
+ installPhase = ''
+ mkdir -p $out/share
+ cp -r opt/draw.io $out/share/
+
+ # Application icon
+ mkdir -p $out/share/icons/hicolor
+ cp -r usr/share/icons/hicolor/* $out/share/icons/hicolor/
+
+ # XDG desktop item
+ cp -r usr/share/applications $out/share/applications
+
+ # Symlink wrapper
+ mkdir -p $out/bin
+ ln -s $out/share/draw.io/drawio $out/bin/drawio
+
+ # Update binary path
+ substituteInPlace $out/share/applications/drawio.desktop \
+ --replace /opt/draw.io/drawio $out/bin/drawio
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A desktop application for creating diagrams";
+ homepage = https://about.draw.io/;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ danieldk ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/graphics/drawpile/default.nix b/pkgs/applications/graphics/drawpile/default.nix
index cba103b0e9e..46bfe64dd03 100644
--- a/pkgs/applications/graphics/drawpile/default.nix
+++ b/pkgs/applications/graphics/drawpile/default.nix
@@ -1,4 +1,5 @@
-{ stdenv
+{ lib
+, mkDerivation
, fetchurl
, cmake
, extra-cmake-modules
@@ -31,7 +32,7 @@
, enableKisTablet ? false # enable improved graphics tablet support
}:
-with stdenv.lib;
+with lib;
let
commonDeps = [
@@ -57,13 +58,13 @@ let
qtx11extras
];
-in stdenv.mkDerivation rec {
- name = "drawpile-${version}";
- version = "2.1.8";
+in mkDerivation rec {
+ pname = "drawpile";
+ version = "2.1.11";
src = fetchurl {
url = "https://drawpile.net/files/src/drawpile-${version}.tar.gz";
- sha256 = "1gm58zb7nh9h6v0i5pr49sfi17piik5jj757nhl0wrd10nwkipn5";
+ sha256 = "00r5vzracvjk369rri2jxzgfaa1ll4qj5gdmzgflvidz8420bcvm";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/graphics/exrtools/default.nix b/pkgs/applications/graphics/exrtools/default.nix
index 7980d09fed1..c8928540bb6 100644
--- a/pkgs/applications/graphics/exrtools/default.nix
+++ b/pkgs/applications/graphics/exrtools/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, openexr, libpng12, libjpeg }:
stdenv.mkDerivation rec {
- name = "exrtools-${version}";
+ pname = "exrtools";
version = "0.4";
src = fetchurl {
- url = "http://scanline.ca/exrtools/${name}.tar.gz";
+ url = "http://scanline.ca/exrtools/${pname}-${version}.tar.gz";
sha256 = "0jpkskqs1yjiighab4s91jy0c0qxcscwadfn94xy2mm2bx2qwp4z";
};
diff --git a/pkgs/applications/graphics/fbida/default.nix b/pkgs/applications/graphics/fbida/default.nix
index 33d65a86076..f5560a9b203 100644
--- a/pkgs/applications/graphics/fbida/default.nix
+++ b/pkgs/applications/graphics/fbida/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, libjpeg, libexif, libungif, libtiff, libpng, libwebp, libdrm
, pkgconfig, freetype, fontconfig, which, imagemagick, curl, sane-backends, libXpm
-, epoxy, poppler, mesa_noglu, lirc }:
+, epoxy, poppler, mesa, lirc }:
stdenv.mkDerivation rec {
name = "fbida-2.14";
-
+
src = fetchurl {
url = "http://dl.bytesex.org/releases/fbida/${name}.tar.gz";
sha256 = "0f242mix20rgsqz1llibhsz4r2pbvx6k32rmky0zjvnbaqaw1dwm";
@@ -14,9 +14,9 @@ stdenv.mkDerivation rec {
buildInputs = [
libexif libjpeg libpng libungif freetype fontconfig libtiff libwebp
imagemagick curl sane-backends libdrm libXpm epoxy poppler lirc
- mesa_noglu
+ mesa
];
-
+
makeFlags = [ "prefix=$(out)" "verbose=yes" "STRIP=" "JPEG_VER=62" ];
patchPhase = ''
diff --git a/pkgs/applications/graphics/feh/default.nix b/pkgs/applications/graphics/feh/default.nix
index 6fdc4f741ac..fef068eaf0f 100644
--- a/pkgs/applications/graphics/feh/default.nix
+++ b/pkgs/applications/graphics/feh/default.nix
@@ -5,12 +5,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "feh-${version}";
- version = "3.1.3";
+ pname = "feh";
+ version = "3.2.1";
src = fetchurl {
- url = "https://feh.finalrewind.org/${name}.tar.bz2";
- sha256 = "1vsnxf4as3vyzjfhd8frzb1a8i7wnq7ck5ljx7qxqrnfqvxl1s4z";
+ url = "https://feh.finalrewind.org/${pname}-${version}.tar.bz2";
+ sha256 = "070axq8jpibcabmjfv4fmjmpk3k349vzvh4qhsi4n62bkcwl35wg";
};
outputs = [ "out" "man" "doc" ];
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
description = "A light-weight image viewer";
homepage = "https://feh.finalrewind.org/";
license = licenses.mit;
- maintainers = [ maintainers.viric maintainers.willibutz ];
+ maintainers = with maintainers; [ viric willibutz globin ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/graphics/fig2dev/default.nix b/pkgs/applications/graphics/fig2dev/default.nix
index 1e54152fff4..ae38730226a 100644
--- a/pkgs/applications/graphics/fig2dev/default.nix
+++ b/pkgs/applications/graphics/fig2dev/default.nix
@@ -4,7 +4,8 @@ let
version = "3.2.7a";
in stdenv.mkDerivation {
- name = "fig2dev-${version}";
+ pname = "fig2dev";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/mcj/fig2dev-${version}.tar.xz";
diff --git a/pkgs/applications/graphics/fondo/default.nix b/pkgs/applications/graphics/fondo/default.nix
index af6eaa2904a..920b529d61c 100644
--- a/pkgs/applications/graphics/fondo/default.nix
+++ b/pkgs/applications/graphics/fondo/default.nix
@@ -1,14 +1,31 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, glib, gsettings-desktop-schemas, gtk3, libgee, json-glib, glib-networking, libsoup, libunity, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, python3
+, glib
+, gsettings-desktop-schemas
+, gtk3
+, libgee
+, json-glib
+, glib-networking
+, libsoup
+, libunity
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "fondo";
- version = "1.2.2";
+ version = "1.3.2";
src = fetchFromGitHub {
owner = "calo001";
repo = pname;
rev = version;
- sha256 = "0mh3s2726zf3va6nj7kj2nbmq5q65xrbnsllss3sqf8a838zqfn6";
+ sha256 = "0w7qai261l9m7ckzxc2gj3ywa55wm6p5br1xdk7607ql44lfpgba";
};
nativeBuildInputs = [
@@ -32,6 +49,14 @@ stdenv.mkDerivation rec {
pantheon.granite
];
+ patches = [
+ # Fix hardcoded FHS gsettings path
+ (fetchpatch {
+ url = "https://github.com/calo001/fondo/commit/98afdd834201321a3242f0b53bfba4b2ffa04a4c.patch";
+ sha256 = "0vvgbgjja6vyrk6in3sgv8jbl4bwxkm6fhllgjzq7r65gkj4jg79";
+ })
+ ];
+
postPatch = ''
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
diff --git a/pkgs/applications/graphics/fontmatrix/default.nix b/pkgs/applications/graphics/fontmatrix/default.nix
index 8ca093b90c3..3b866297603 100644
--- a/pkgs/applications/graphics/fontmatrix/default.nix
+++ b/pkgs/applications/graphics/fontmatrix/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, qt4 }:
stdenv.mkDerivation rec {
- name = "fontmatrix-${version}";
+ pname = "fontmatrix";
version = "0.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/freecad/default.nix b/pkgs/applications/graphics/freecad/default.nix
index c3177a8c7aa..ee7586709dc 100644
--- a/pkgs/applications/graphics/freecad/default.nix
+++ b/pkgs/applications/graphics/freecad/default.nix
@@ -1,28 +1,49 @@
-{ stdenv, fetchurl, cmake, coin3d, xercesc, ode, eigen, qt4, opencascade, gts
-, hdf5, vtk, medfile, zlib, python27Packages, swig, gfortran, fetchpatch
-, soqt, libf2c, makeWrapper, makeDesktopItem
-, mpi ? null }:
+{ stdenv, mkDerivation, fetchurl, fetchpatch, cmake, ninja, coin3d, xercesc, ode
+, eigen, qtbase, qttools, qtwebkit, opencascade-occt, gts, hdf5, vtk, medfile
+, zlib, python3Packages, swig, gfortran, libXmu, soqt, libf2c, libGLU
+, makeWrapper, pkgconfig, mpi ? null }:
assert mpi != null;
let
- pythonPackages = python27Packages;
-in stdenv.mkDerivation rec {
- name = "freecad-${version}";
- version = "0.18.1";
+ pythonPackages = python3Packages;
+in mkDerivation rec {
+ pname = "freecad";
+ version = "0.18.3";
src = fetchurl {
url = "https://github.com/FreeCAD/FreeCAD/archive/${version}.tar.gz";
- sha256 = "0lamrs84zv99v4z7yi6d9amjmnh7r6frairc2aajgfic380720bc";
+ sha256 = "07j7azgnicmd8cqnyskp15y44ykgj5qqz5y3w1jdynrv3yrvk1kz";
};
- buildInputs = [ cmake coin3d xercesc ode eigen qt4 opencascade gts
- zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile
+ nativeBuildInputs = [ cmake ninja pkgconfig pythonPackages.pyside2-tools ];
+ buildInputs = [ cmake coin3d xercesc ode eigen opencascade-occt gts
+ zlib swig gfortran soqt libf2c makeWrapper mpi vtk hdf5 medfile
+ libGLU libXmu qtbase qttools qtwebkit
] ++ (with pythonPackages; [
- matplotlib pycollada pyside pysideShiboken pysideTools pivy python boost
+ matplotlib pycollada shiboken2 pyside2 pyside2-tools pivy python boost
]);
- enableParallelBuilding = true;
+ # Fix missing app icon on Wayland. Has been upstreamed and should be safe to
+ # remove in versions >= 0.19
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/FreeCAD/FreeCAD/commit/c4d2a358ca125d51d059dfd72dcbfba326196dfc.patch";
+ sha256 = "0yqc9zrxgi2c2xcidm8wh7a9yznkphqvjqm9742qm5fl20p8gl4h";
+ })
+ ];
+
+ cmakeFlags = [
+ "-DBUILD_QT5=ON"
+ "-DSHIBOKEN_INCLUDE_DIR=${pythonPackages.shiboken2}/include"
+ "-DSHIBOKEN_LIBRARY=Shiboken2::libshiboken"
+ ("-DPYSIDE_INCLUDE_DIR=${pythonPackages.pyside2}/include"
+ + ";${pythonPackages.pyside2}/include/PySide2/QtCore"
+ + ";${pythonPackages.pyside2}/include/PySide2/QtWidgets"
+ + ";${pythonPackages.pyside2}/include/PySide2/QtGui"
+ )
+ "-DPYSIDE_LIBRARY=PySide2::pyside2"
+ ];
# This should work on both x86_64, and i686 linux
preBuild = ''
@@ -32,18 +53,23 @@ in stdenv.mkDerivation rec {
# Their main() removes PYTHONPATH=, and we rely on it.
preConfigure = ''
sed '/putenv("PYTHONPATH/d' -i src/Main/MainGui.cpp
+
+ qtWrapperArgs+=(--prefix PYTHONPATH : "$PYTHONPATH")
'';
- postInstall = ''
- wrapProgram $out/bin/FreeCAD --prefix PYTHONPATH : $PYTHONPATH \
- --set COIN_GL_NO_CURRENT_CONTEXT_CHECK 1
+ qtWrapperArgs = [
+ "--set COIN_GL_NO_CURRENT_CONTEXT_CHECK 1"
+ ];
+
+ postFixup = ''
+ mv $out/share/doc $out
'';
-
+
meta = with stdenv.lib; {
description = "General purpose Open Source 3D CAD/MCAD/CAx/CAE/PLM modeler";
- homepage = https://www.freecadweb.org/;
+ homepage = "https://www.freecadweb.org/";
license = licenses.lgpl2Plus;
- maintainers = [ maintainers.viric ];
+ maintainers = with maintainers; [ viric gebner ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/graphics/fstl/default.nix b/pkgs/applications/graphics/fstl/default.nix
index b1437508a50..1d712a63fbd 100644
--- a/pkgs/applications/graphics/fstl/default.nix
+++ b/pkgs/applications/graphics/fstl/default.nix
@@ -1,6 +1,7 @@
-{stdenv, fetchFromGitHub, qtbase, mesa_glu}:
-stdenv.mkDerivation rec {
- name = "fstl-${version}";
+{ stdenv, fetchFromGitHub, mkDerivation, qtbase, mesa_glu }:
+
+mkDerivation rec {
+ pname = "fstl";
version = "0.9.3";
buildInputs = [qtbase mesa_glu];
diff --git a/pkgs/applications/graphics/gcolor2/default.nix b/pkgs/applications/graphics/gcolor2/default.nix
index 025b3ae65ec..2762748bc1a 100644
--- a/pkgs/applications/graphics/gcolor2/default.nix
+++ b/pkgs/applications/graphics/gcolor2/default.nix
@@ -2,7 +2,8 @@
let version = "0.4"; in
stdenv.mkDerivation {
- name = "gcolor2-${version}";
+ pname = "gcolor2";
+ inherit version;
arch = if stdenv.hostPlatform.system == "x86_64-linux" then "amd64" else "386";
src = fetchurl {
@@ -25,7 +26,7 @@ stdenv.mkDerivation {
++ (with perlPackages; [ perl XMLParser ]);
meta = {
- description = "Simple GTK+2 color selector";
+ description = "Simple GTK 2 color selector";
homepage = http://gcolor2.sourceforge.net/;
license = stdenv.lib.licenses.gpl2Plus;
maintainers = with stdenv.lib.maintainers; [ notthemessiah ];
diff --git a/pkgs/applications/graphics/gcolor3/default.nix b/pkgs/applications/graphics/gcolor3/default.nix
index ed350b2b0ee..c7555b612f7 100644
--- a/pkgs/applications/graphics/gcolor3/default.nix
+++ b/pkgs/applications/graphics/gcolor3/default.nix
@@ -1,9 +1,10 @@
-{ stdenv, fetchFromGitLab, gnome3, meson, ninja, gettext, pkgconfig, libxml2, gtk3, hicolor-icon-theme, wrapGAppsHook }:
+{ stdenv, fetchFromGitLab, meson, ninja, gettext, pkgconfig, libxml2, gtk3, hicolor-icon-theme, wrapGAppsHook }:
let
version = "2.3.1";
in stdenv.mkDerivation {
- name = "gcolor3-${version}";
+ pname = "gcolor3";
+ inherit version;
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
diff --git a/pkgs/applications/graphics/geeqie/default.nix b/pkgs/applications/graphics/geeqie/default.nix
index 4e1e7138e77..4275c6f0dcf 100644
--- a/pkgs/applications/graphics/geeqie/default.nix
+++ b/pkgs/applications/graphics/geeqie/default.nix
@@ -1,19 +1,31 @@
{ stdenv, fetchurl, pkgconfig, autoconf, automake, gettext, intltool
, gtk3, lcms2, exiv2, libchamplain, clutter-gtk, ffmpegthumbnailer, fbida
-, wrapGAppsHook
+, wrapGAppsHook, fetchpatch
}:
stdenv.mkDerivation rec {
- name = "geeqie-${version}";
+ pname = "geeqie";
version = "1.4";
src = fetchurl {
- url = "http://geeqie.org/${name}.tar.xz";
+ url = "http://geeqie.org/${pname}-${version}.tar.xz";
sha256 = "0ciygvcxb78pqg59r6p061mkbpvkgv2rv3r79j3kgv3kalb3ln2w";
};
- # Do not build the changelog as this requires markdown.
- patches = [ ./geeqie-no-changelog.patch ];
+ patches = [
+ # Do not build the changelog as this requires markdown.
+ (fetchpatch {
+ name = "geeqie-1.4-goodbye-changelog.patch";
+ url = "https://src.fedoraproject.org/rpms/geeqie/raw/132fb04a1a5e74ddb333d2474f7edb9a39dc8d27/f/geeqie-1.4-goodbye-changelog.patch";
+ sha256 = "00a35dds44kjjdqsbbfk0x9y82jspvsbpm2makcm1ivzlhjjgszn";
+ })
+ # Fixes build with exiv2 0.27.1
+ (fetchpatch {
+ name = "geeqie-exiv2-0.27.patch";
+ url = "https://git.archlinux.org/svntogit/packages.git/plain/trunk/geeqie-exiv2-0.27.patch?h=packages/geeqie&id=dee28a8b3e9039b9cd6927b5a93ef2a07cd8271d";
+ sha256 = "05skpbyp8pcq92psgijyccc8liwfy2cpwprw6m186pf454yb5y9p";
+ })
+ ];
preConfigure = "./autogen.sh";
@@ -34,11 +46,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
meta = with stdenv.lib; {
- description = "Lightweight GTK+ based image viewer";
+ description = "Lightweight GTK based image viewer";
longDescription =
''
- Geeqie is a lightweight GTK+ based image viewer for Unix like
+ Geeqie is a lightweight GTK based image viewer for Unix like
operating systems. It features: EXIF, IPTC and XMP metadata
browsing and editing interoperability; easy integration with other
software; geeqie works on files and directories, there is no need to
diff --git a/pkgs/applications/graphics/geeqie/geeqie-no-changelog.patch b/pkgs/applications/graphics/geeqie/geeqie-no-changelog.patch
deleted file mode 100644
index 1b8833b135f..00000000000
--- a/pkgs/applications/graphics/geeqie/geeqie-no-changelog.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- geeqie-1.4.orig/Makefile.am 2017-12-31 07:31:21.000000000 -0500
-+++ geeqie-1.4/Makefile.am 2018-01-01 15:05:58.742068166 -0500
-@@ -10,9 +10,9 @@
- readmedir = @readmedir@
-
- if HAVE_MARKDOWN
--readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS README.html ChangeLog.html
-+readme_DATA = README.md COPYING TODO README.lirc AUTHORS README.html
- else
--readme_DATA = README.md COPYING ChangeLog TODO README.lirc AUTHORS ChangeLog.html
-+readme_DATA = README.md COPYING TODO README.lirc AUTHORS
- endif
-
- desktopdir = $(datadir)/applications
diff --git a/pkgs/applications/graphics/gimp/default.nix b/pkgs/applications/graphics/gimp/default.nix
index 657a9dd27e5..e3994b1b412 100644
--- a/pkgs/applications/graphics/gimp/default.nix
+++ b/pkgs/applications/graphics/gimp/default.nix
@@ -1,38 +1,36 @@
-{ stdenv, fetchurl, substituteAll, pkgconfig, intltool, babl, gegl, gtk2, glib, gdk_pixbuf, isocodes
+{ stdenv, fetchurl, substituteAll, pkgconfig, intltool, babl, gegl, gtk2, glib, gdk-pixbuf, isocodes
, pango, cairo, freetype, fontconfig, lcms, libpng, libjpeg, poppler, poppler_data, libtiff
, libmng, librsvg, libwmf, zlib, libzip, ghostscript, aalib, shared-mime-info
, python2Packages, libexif, gettext, xorg, glib-networking, libmypaint, gexiv2
, harfbuzz, mypaint-brushes, libwebp, libheif, libgudev, openexr
-, AppKit, Cocoa, gtk-mac-integration-gtk2, cf-private }:
+, AppKit, Cocoa, gtk-mac-integration-gtk2 }:
let
inherit (python2Packages) pygtk wrapPython python;
in stdenv.mkDerivation rec {
pname = "gimp";
- version = "2.10.10";
+ version = "2.10.12";
src = fetchurl {
url = "http://download.gimp.org/pub/gimp/v${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
- sha256 = "0xwck5nbpb945s1cyij3kfqw1pchbhx8i5vf5hgywyjw4r1z5l8j";
+ sha256 = "0wdcr8d2ink4swn5r4v13bsiya6s3xm4ya97sdbhs4l40y7bb03x";
};
nativeBuildInputs = [ pkgconfig intltool gettext wrapPython ];
propagatedBuildInputs = [ gegl ]; # needed by gimp-2.0.pc
buildInputs = [
- babl gegl gtk2 glib gdk_pixbuf pango cairo gexiv2 harfbuzz isocodes
+ babl gegl gtk2 glib gdk-pixbuf pango cairo gexiv2 harfbuzz isocodes
freetype fontconfig lcms libpng libjpeg poppler poppler_data libtiff openexr
libmng librsvg libwmf zlib libzip ghostscript aalib shared-mime-info libwebp libheif
python pygtk libexif xorg.libXpm glib-networking libmypaint mypaint-brushes
] ++ stdenv.lib.optionals stdenv.isDarwin [
- # cf-private is needed to get some things not in swift-corefoundation.
- # For instance _OBJC_CLASS_$_NSArray is missing.
- AppKit Cocoa gtk-mac-integration-gtk2 cf-private
+ AppKit Cocoa gtk-mac-integration-gtk2
] ++ stdenv.lib.optionals stdenv.isLinux [ libgudev ];
pythonPath = [ pygtk ];
# Check if librsvg was built with --disable-pixbuf-loader.
- PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk_pixbuf.moduleDir}";
+ PKG_CONFIG_GDK_PIXBUF_2_0_GDK_PIXBUF_MODULEDIR = "${librsvg}/${gdk-pixbuf.moduleDir}";
preConfigure = ''
# The check runs before glib-networking is registered
diff --git a/pkgs/applications/graphics/gimp/plugins/default.nix b/pkgs/applications/graphics/gimp/plugins/default.nix
index 1787b1d9e7f..2c520f21f84 100644
--- a/pkgs/applications/graphics/gimp/plugins/default.nix
+++ b/pkgs/applications/graphics/gimp/plugins/default.nix
@@ -152,22 +152,24 @@ stdenv.lib.makeScope pkgs.newScope (self: with self; {
installPhase = "installPlugins src/gimp-lqr-plugin";
};
- gmic = pkgs.gmic.gimpPlugin;
+ gmic = pkgs.gmic-qt.override {
+ variant = "gimp";
+ };
ufraw = pkgs.ufraw.gimpPlugin;
gimplensfun = pluginDerivation rec {
- version = "0.2.4";
+ version = "unstable-2018-10-21";
name = "gimplensfun-${version}";
src = fetchFromGitHub {
owner = "seebk";
repo = "GIMP-Lensfun";
- rev = version;
- sha256 = "0zlmp9v732qmzj083mnk5z421s57mnckmpjhiw890wmmwzj2lhxz";
+ rev = "1c5a5c1534b5faf098b7441f8840d22835592f17";
+ sha256 = "1jj3n7spkjc63aipwdqsvq9gi07w13bb1v8iqzvxwzld2kxa3c8w";
};
- buildInputs = with pkgs; [ lensfun exiv2 ];
+ buildInputs = with pkgs; [ lensfun gexiv2 ];
installPhase = "
installPlugins gimp-lensfun
diff --git a/pkgs/applications/graphics/giv/build.patch b/pkgs/applications/graphics/giv/build.patch
deleted file mode 100644
index f57689fd3fa..00000000000
--- a/pkgs/applications/graphics/giv/build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Get the environment propagated to scons forked childs, and correct the dicom plugin about
-a typedef of size_t that failed at least on x86_64-linux.
-
-diff --git a/SConstruct b/SConstruct
-index 9e752d6..f93f27f 100644
---- a/SConstruct
-+++ b/SConstruct
-@@ -9,13 +9,7 @@ else:
-
- commit_id = os.popen('git rev-parse HEAD').read().replace('\n','')
-
--env = Environment(LIBPATH=[],
-- CPPFLAGS = cppflags + ['-Wno-deprecated-declarations',
-- '-Wno-reorder',
-- '-Wno-unused-but-set-variable',
-- '-Wno-unused-function'],
-- CXXFLAGS=['-std=c++1y']
-- )
-+env = Environment(ENV = os.environ)
-
- env['SBOX'] = False
- env['COMMITIDSHORT'] = commit_id[0:6]
diff --git a/pkgs/applications/graphics/giv/default.nix b/pkgs/applications/graphics/giv/default.nix
deleted file mode 100644
index c5eb126cfbf..00000000000
--- a/pkgs/applications/graphics/giv/default.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ stdenv, fetchFromGitHub, gdk_pixbuf, scons, pkgconfig, gtk2, glib
-, pcre, cfitsio, perl, gob2, vala, libtiff, json-glib }:
-
-stdenv.mkDerivation rec {
- name = "giv-${version}";
- version = "0.9.26";
-
- src = fetchFromGitHub {
- owner = "dov";
- repo = "giv";
- rev = "v${version}";
- sha256 = "1sfm8j3hvqij6z3h8xz724d7hjqqbzljl2a6pp4yjpnnrxksnic2";
- };
-
- hardeningDisable = [ "format" ];
-
- prePatch = ''
- sed -i s,/usr/bin/perl,${perl}/bin/perl, doc/eperl
- sed -i s,/usr/local,$out, SConstruct
- '';
-
- patches = [ ./build.patch ];
-
- nativeBuildInputs = [ scons pkgconfig vala perl gob2 ];
- buildInputs = [ gdk_pixbuf gtk2 glib pcre cfitsio libtiff json-glib ];
-
- meta = with stdenv.lib; {
- description = "Cross platform image and hierarchical vector viewer based";
- homepage = http://giv.sourceforge.net/giv/;
- license = licenses.gpl2Plus;
- maintainers = with maintainers; [ ];
- platforms = with platforms; linux;
- };
-}
diff --git a/pkgs/applications/graphics/glabels/default.nix b/pkgs/applications/graphics/glabels/default.nix
index dadae22bf0c..6bc59cd7d02 100644
--- a/pkgs/applications/graphics/glabels/default.nix
+++ b/pkgs/applications/graphics/glabels/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "glabels-${version}";
+ pname = "glabels";
version = "3.4.1";
src = fetchurl {
- url = "mirror://gnome/sources/glabels/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0f2rki8i27pkd9r0gz03cdl1g4vnmvp0j49nhxqn275vi8lmgr0q";
};
@@ -25,6 +25,13 @@ stdenv.mkDerivation rec {
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH"
'';
+ passthru = {
+ updateScript = gnome3.updateScript {
+ packageName = pname;
+ versionPolicy = "none";
+ };
+ };
+
meta = with stdenv.lib; {
description = "Create labels and business cards";
homepage = https://glabels.org/;
diff --git a/pkgs/applications/graphics/gnome-photos/default.nix b/pkgs/applications/graphics/gnome-photos/default.nix
new file mode 100644
index 00000000000..f591dd5a60d
--- /dev/null
+++ b/pkgs/applications/graphics/gnome-photos/default.nix
@@ -0,0 +1,125 @@
+{ stdenv
+, fetchurl
+, at-spi2-core
+, babl
+, dbus
+, desktop-file-utils
+, dleyna-renderer
+, gdk-pixbuf
+, gegl
+, geocode-glib
+, gettext
+, gexiv2
+, gfbgraph
+, glib
+, gnome-online-accounts
+, gnome3
+, gobject-introspection
+, grilo
+, grilo-plugins
+, gsettings-desktop-schemas
+, gtk3
+, itstool
+, libdazzle
+, libgdata
+, libxml2
+, meson
+, ninja
+, nixosTests
+, pkgconfig
+, python3
+, tracker
+, tracker-miners
+, wrapGAppsHook
+}:
+
+stdenv.mkDerivation rec {
+ pname = "gnome-photos";
+ version = "3.32.1";
+
+ outputs = [ "out" "installedTests" ];
+
+ src = fetchurl {
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0nxa2jz1g73wypdsj19r4plf4hfkhs9mpl7gbhsiyqp1rkn84ahn";
+ };
+
+ patches = [
+ ./installed-tests-path.patch
+ ];
+
+ nativeBuildInputs = [
+ desktop-file-utils
+ gettext
+ gobject-introspection # for setup hook
+ glib # for setup hook
+ itstool
+ libxml2
+ meson
+ ninja
+ pkgconfig
+ (python3.withPackages (pkgs: with pkgs; [
+ dogtail
+ pygobject3
+ pyatspi
+ ]))
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ babl
+ dbus
+ dleyna-renderer
+ gdk-pixbuf
+ gegl
+ geocode-glib
+ gexiv2
+ gfbgraph
+ glib
+ gnome-online-accounts
+ gnome3.adwaita-icon-theme
+ grilo
+ grilo-plugins
+ gsettings-desktop-schemas
+ gtk3
+ libdazzle
+ libgdata
+ tracker
+ tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
+
+ at-spi2-core # for tests
+ ];
+
+ mesonFlags = [
+ "-Dinstalled_tests=true"
+ "-Dinstalled_test_prefix=${placeholder "installedTests"}"
+ ];
+
+ postPatch = ''
+ chmod +x meson_post_install.py
+ patchShebangs meson_post_install.py
+ patchShebangs tests/basic.py
+ '';
+
+ postFixup = ''
+ wrapProgram "${placeholder "installedTests"}/libexec/installed-tests/gnome-photos/basic.py" "''${gappsWrapperArgs[@]}"
+ '';
+
+ passthru = {
+ updateScript = gnome3.updateScript {
+ packageName = pname;
+ };
+
+ tests = {
+ installed-tests = nixosTests.gnome-photos;
+ };
+ };
+
+ meta = with stdenv.lib; {
+ description = "Access, organize and share your photos";
+ homepage = https://wiki.gnome.org/Apps/Photos;
+ license = licenses.gpl3Plus;
+ maintainers = gnome3.maintainers;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/graphics/gnome-photos/installed-tests-path.patch b/pkgs/applications/graphics/gnome-photos/installed-tests-path.patch
new file mode 100644
index 00000000000..218108328dd
--- /dev/null
+++ b/pkgs/applications/graphics/gnome-photos/installed-tests-path.patch
@@ -0,0 +1,23 @@
+diff --git a/meson.build b/meson.build
+index dee932dc..f8851913 100644
+--- a/meson.build
++++ b/meson.build
+@@ -16,8 +16,8 @@
+ photos_docdir = join_paths(photos_datadir, 'doc', meson.project_name())
+ photos_libdir = join_paths(photos_prefix, get_option('libdir'), meson.project_name())
+
+-photos_installed_test_metadir = join_paths(photos_datadir, 'installed-tests', meson.project_name())
+-photos_installed_test_execdir = join_paths(photos_libexecdir, 'installed-tests', meson.project_name())
++photos_installed_test_metadir = join_paths(get_option('installed_test_prefix'), 'share', 'installed-tests', meson.project_name())
++photos_installed_test_execdir = join_paths(get_option('installed_test_prefix'), 'libexec', 'installed-tests', meson.project_name())
+
+ photos_namespace = 'org.gnome.Photos'
+
+diff --git a/meson_options.txt b/meson_options.txt
+index f34b5cc0..8e09970b 100644
+--- a/meson_options.txt
++++ b/meson_options.txt
+@@ -1,2 +1,3 @@
+ option('dogtail', type: 'boolean', value: true, description: 'test using dogtail')
+ option('installed_tests', type: 'boolean', value: false, description: 'Enable installation of some test cases')
++option('installed_test_prefix', type: 'string', value: '', description: 'Prefix for installed tests')
diff --git a/pkgs/applications/graphics/gnuclad/default.nix b/pkgs/applications/graphics/gnuclad/default.nix
index b3671ead377..2535f7514f1 100644
--- a/pkgs/applications/graphics/gnuclad/default.nix
+++ b/pkgs/applications/graphics/gnuclad/default.nix
@@ -2,14 +2,16 @@
}:
stdenv.mkDerivation rec {
- name = "gnuclad-${version}";
+ pname = "gnuclad";
version = "0.2.4";
src = fetchurl {
- url = "https://launchpad.net/gnuclad/trunk/${lib.versions.majorMinor version}/+download/${name}.tar.gz";
+ url = "https://launchpad.net/gnuclad/trunk/${lib.versions.majorMinor version}/+download/${pname}-${version}.tar.gz";
sha256 = "0ka2kscpjff7gflsargv3r9fdaxhkf3nym9mfaln3pnq6q7fwdki";
};
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=catch-value" ];
+
nativeBuildInputs = [ pkgconfig ];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/graphics/goxel/default.nix b/pkgs/applications/graphics/goxel/default.nix
index 488c3eacc01..e4ab5639ba6 100644
--- a/pkgs/applications/graphics/goxel/default.nix
+++ b/pkgs/applications/graphics/goxel/default.nix
@@ -2,14 +2,14 @@
, glfw3, gtk3, libpng12 }:
stdenv.mkDerivation rec {
- name = "goxel-${version}";
- version = "0.8.3";
+ pname = "goxel";
+ version = "0.10.0";
src = fetchFromGitHub {
owner = "guillaumechereau";
repo = "goxel";
rev = "v${version}";
- sha256 = "03hyy0i65zdplggaxlndgyvffvnb9g5kvxq2qbicirvz5zcsghk2";
+ sha256 = "1mdw4bs7hvfn0yngd9ial5wzlfkcbhr3wzldb1w7s3s48agixkdr";
};
patches = [ ./disable-imgui_ini.patch ];
diff --git a/pkgs/applications/graphics/grafx2/default.nix b/pkgs/applications/graphics/grafx2/default.nix
index b1580d73b64..039bb1917d3 100644
--- a/pkgs/applications/graphics/grafx2/default.nix
+++ b/pkgs/applications/graphics/grafx2/default.nix
@@ -3,10 +3,10 @@
stdenv.mkDerivation rec {
version = "2.4.2035";
- name = "grafx2-${version}";
+ pname = "grafx2";
src = fetchurl {
- url = "https://grafx2.googlecode.com/files/${name}-src.tgz";
+ url = "https://grafx2.googlecode.com/files/${pname}-${version}-src.tgz";
sha256 = "0svsy6rqmdj11b400c242i2ixihyz0hds0dgicqz6g6dcgmcl62q";
};
diff --git a/pkgs/applications/graphics/graphicsmagick/1.3.32-darwin-png-strlcat-fix.patch b/pkgs/applications/graphics/graphicsmagick/1.3.32-darwin-png-strlcat-fix.patch
new file mode 100644
index 00000000000..91eacecbf8c
--- /dev/null
+++ b/pkgs/applications/graphics/graphicsmagick/1.3.32-darwin-png-strlcat-fix.patch
@@ -0,0 +1,42 @@
+# reduced version of commit f30492f40f78d867b43422215057dd21de4ba447
+# from upstream hg repository:
+RegisterPNGImage(): Pass correct size value to strlcat().
+
+diff -r 95c4711e8bee -r f30492f40f78 coders/png.c
+--- a/coders/png.c Mon Jun 17 07:24:30 2019 -0500
++++ b/coders/png.c Mon Jun 17 18:54:43 2019 -0500
+@@ -6427,26 +6427,26 @@
+
+ *version='\0';
+ #if defined(PNG_LIBPNG_VER_STRING)
+- (void) strlcat(version,"libpng ",MaxTextExtent);
+- (void) strlcat(version,PNG_LIBPNG_VER_STRING,MaxTextExtent);
++ (void) strlcat(version,"libpng ",sizeof(version));
++ (void) strlcat(version,PNG_LIBPNG_VER_STRING,sizeof(version));
+ #if (PNG_LIBPNG_VER > 10005)
+ if (LocaleCompare(PNG_LIBPNG_VER_STRING,png_get_header_ver(NULL)) != 0)
+ {
+- (void) strlcat(version,",",MaxTextExtent);
+- (void) strlcat(version,png_get_libpng_ver(NULL),MaxTextExtent);
++ (void) strlcat(version,",",sizeof(version));
++ (void) strlcat(version,png_get_libpng_ver(NULL),sizeof(version));
+ }
+ #endif
+ #endif
+
+ #if defined(ZLIB_VERSION)
+ if (*version != '\0')
+- (void) strlcat(version,", ",MaxTextExtent);
+- (void) strlcat(version,"zlib ",MaxTextExtent);
+- (void) strlcat(version,ZLIB_VERSION,MaxTextExtent);
++ (void) strlcat(version,", ",sizeof(version));
++ (void) strlcat(version,"zlib ",sizeof(version));
++ (void) strlcat(version,ZLIB_VERSION,sizeof(version));
+ if (LocaleCompare(ZLIB_VERSION,zlib_version) != 0)
+ {
+- (void) strlcat(version,",",MaxTextExtent);
+- (void) strlcat(version,zlib_version,MaxTextExtent);
++ (void) strlcat(version,",",sizeof(version));
++ (void) strlcat(version,zlib_version,sizeof(version));
+ }
+ #endif
diff --git a/pkgs/applications/graphics/graphicsmagick/compat.nix b/pkgs/applications/graphics/graphicsmagick/compat.nix
index bd1ce2ed893..9517aa78ee4 100644
--- a/pkgs/applications/graphics/graphicsmagick/compat.nix
+++ b/pkgs/applications/graphics/graphicsmagick/compat.nix
@@ -1,10 +1,10 @@
{ stdenv, graphicsmagick }:
-stdenv.mkDerivation rec {
- name = "graphicsmagick-imagemagick-compat-${version}";
+stdenv.mkDerivation {
+ pname = "graphicsmagick-imagemagick-compat";
inherit (graphicsmagick) version;
- unpackPhase = "true";
+ dontUnpack = true;
buildPhase = "true";
utils = [
diff --git a/pkgs/applications/graphics/graphicsmagick/default.nix b/pkgs/applications/graphics/graphicsmagick/default.nix
index c93b4fe958d..403a5285e15 100644
--- a/pkgs/applications/graphics/graphicsmagick/default.nix
+++ b/pkgs/applications/graphics/graphicsmagick/default.nix
@@ -3,16 +3,17 @@
, libwebp, quantumdepth ? 8, fixDarwinDylibNames }:
stdenv.mkDerivation rec {
- name = "graphicsmagick-${version}";
- version = "1.3.31";
+ pname = "graphicsmagick";
+ version = "1.3.32";
src = fetchurl {
url = "mirror://sourceforge/graphicsmagick/GraphicsMagick-${version}.tar.xz";
- sha256 = "0y22740f25qxsqqqg26xqlfp920dm57b7hrgaqmx7azksrcvnsq9";
+ sha256 = "1qclp9i31idpcbbqswmnq2q11lmv0a7cvdb1y72xcky8sshaahmq";
};
patches = [
./disable-popen.patch
+ ./1.3.32-darwin-png-strlcat-fix.patch
];
configureFlags = [
diff --git a/pkgs/applications/graphics/gscan2pdf/default.nix b/pkgs/applications/graphics/gscan2pdf/default.nix
index 9ec82ea2a94..9af1a0fc914 100644
--- a/pkgs/applications/graphics/gscan2pdf/default.nix
+++ b/pkgs/applications/graphics/gscan2pdf/default.nix
@@ -1,17 +1,20 @@
-{ stdenv, fetchurl, perlPackages, makeWrapper, wrapGAppsHook,
+{ stdenv, fetchurl, perlPackages, wrapGAppsHook,
+ # libs
librsvg, sane-backends, sane-frontends,
- imagemagick, libtiff, djvulibre, poppler_utils, ghostscript, unpaper,
- xvfb_run, hicolor-icon-theme, liberation_ttf, file, pdftk }:
+ # runtime dependencies
+ imagemagick, libtiff, djvulibre, poppler_utils, ghostscript, unpaper, pdftk,
+ # test dependencies
+ xvfb_run, liberation_ttf, file, tesseract }:
with stdenv.lib;
perlPackages.buildPerlPackage rec {
- name = "gscan2pdf-${version}";
- version = "2.3.0";
+ pname = "gscan2pdf";
+ version = "2.5.5";
src = fetchurl {
- url = "mirror://sourceforge/gscan2pdf/${version}/${name}.tar.xz";
- sha256 = "0mcsmly0j9pmyzh6py8r6sfa30hc6gv300hqq3dxj4hv653vhkk9";
+ url = "mirror://sourceforge/gscan2pdf/${version}/${pname}-${version}.tar.xz";
+ sha256 = "0gfhjmv768hx2l3jk2mjhh1snkgkaddgw70s14jq8kxhhzvhlmv8";
};
nativeBuildInputs = [ wrapGAppsHook ];
@@ -66,7 +69,8 @@ perlPackages.buildPerlPackage rec {
--prefix PATH : "${djvulibre}/bin" \
--prefix PATH : "${poppler_utils}/bin" \
--prefix PATH : "${ghostscript}/bin" \
- --prefix PATH : "${unpaper}/bin"
+ --prefix PATH : "${unpaper}/bin" \
+ --prefix PATH : "${pdftk}/bin"
'';
enableParallelBuilding = true;
@@ -76,16 +80,17 @@ perlPackages.buildPerlPackage rec {
outputs = [ "out" "man" ];
checkInputs = [
- xvfb_run
- hicolor-icon-theme
imagemagick
libtiff
djvulibre
poppler_utils
ghostscript
- file
- pdftk
unpaper
+ pdftk
+
+ xvfb_run
+ file
+ tesseract # tests are expecting tesseract 3.x precisely
];
checkPhase = ''
@@ -97,7 +102,6 @@ perlPackages.buildPerlPackage rec {
description = "A GUI to produce PDFs or DjVus from scanned documents";
homepage = http://gscan2pdf.sourceforge.net/;
license = licenses.gpl3;
- maintainers = [ maintainers.pacien ];
+ maintainers = with maintainers; [ pacien ];
};
}
-
diff --git a/pkgs/applications/graphics/gthumb/default.nix b/pkgs/applications/graphics/gthumb/default.nix
index e88c9222b87..f24d57786ef 100644
--- a/pkgs/applications/graphics/gthumb/default.nix
+++ b/pkgs/applications/graphics/gthumb/default.nix
@@ -1,34 +1,93 @@
-{ stdenv, fetchurl, gnome3, itstool, libxml2, pkgconfig, intltool,
- exiv2, libjpeg, libtiff, gst_all_1, libraw, libsoup, libsecret,
- glib, gtk3, gsettings-desktop-schemas,
- libchamplain, librsvg, libwebp, json-glib, webkitgtk, lcms2, bison,
- flex, wrapGAppsHook, shared-mime-info }:
+{ stdenv
+, fetchurl
+, fetchpatch
+, gnome3
+, pkgconfig
+, meson
+, ninja
+, exiv2
+, libjpeg
+, libtiff
+, gst_all_1
+, libraw
+, libsoup
+, libsecret
+, glib
+, gtk3
+, gsettings-desktop-schemas
+, libchamplain
+, librsvg
+, libwebp
+, json-glib
+, webkitgtk
+, lcms2
+, bison
+, flex
+, clutter-gtk
+, wrapGAppsHook
+, shared-mime-info
+, python3
+, desktop-file-utils
+, itstool
+}:
-let
+stdenv.mkDerivation rec {
pname = "gthumb";
- version = "3.6.2";
-in stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+ version = "3.8.0";
src = fetchurl {
- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0rjb0bsjhn7nyl5jyjgrypvr6qdr9dc2g586j3lzan96a2vnpgy9";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1l2s1facq1r6yvqjqc34aqfzlvb3nhkhn79xisxbbdlgrrxdq52f";
};
- nativeBuildInputs = [ itstool libxml2 intltool pkgconfig bison flex wrapGAppsHook ];
+ nativeBuildInputs = [
+ bison
+ desktop-file-utils
+ flex
+ itstool
+ meson
+ ninja
+ pkgconfig
+ python3
+ wrapGAppsHook
+ ];
buildInputs = [
- glib gtk3 gsettings-desktop-schemas gst_all_1.gstreamer gst_all_1.gst-plugins-base
- exiv2 libjpeg libtiff libraw libsoup libsecret libchamplain
- librsvg libwebp json-glib webkitgtk lcms2 gnome3.adwaita-icon-theme
+ clutter-gtk
+ exiv2
+ glib
+ gnome3.adwaita-icon-theme
+ gsettings-desktop-schemas
+ gst_all_1.gst-plugins-base
+ gst_all_1.gstreamer
+ gtk3
+ json-glib
+ lcms2
+ libchamplain
+ libjpeg
+ libraw
+ librsvg
+ libsecret
+ libsoup
+ libtiff
+ libwebp
+ webkitgtk
];
- enableParallelBuilding = true;
-
- configureFlags = [
- "--enable-libchamplain"
+ mesonFlags = [
+ "-Dlibchamplain=true"
];
+ postPatch = ''
+ chmod +x gthumb/make-gthumb-h.py
+
+ patchShebangs data/gschemas/make-enums.py \
+ gthumb/make-gthumb-h.py \
+ po/make-potfiles-in.py \
+ postinstall.py \
+ gthumb/make-authors-tab.py
+ '';
+
preFixup = ''
gappsWrapperArgs+=(--prefix XDG_DATA_DIRS : "${shared-mime-info}/share")
'';
@@ -40,10 +99,10 @@ in stdenv.mkDerivation rec {
};
meta = with stdenv.lib; {
- homepage = https://wiki.gnome.org/Apps/gthumb;
+ homepage = "https://wiki.gnome.org/Apps/Gthumb";
description = "Image browser and viewer for GNOME";
platforms = platforms.linux;
- license = licenses.gpl2;
- maintainers = [ maintainers.mimadrid ];
+ license = licenses.gpl2Plus;
+ maintainers = [ maintainers.mimame ];
};
}
diff --git a/pkgs/applications/graphics/guetzli/default.nix b/pkgs/applications/graphics/guetzli/default.nix
index 061dc2b69a6..d7b96425968 100644
--- a/pkgs/applications/graphics/guetzli/default.nix
+++ b/pkgs/applications/graphics/guetzli/default.nix
@@ -3,7 +3,8 @@ let
version = "1.0.1";
in
stdenv.mkDerivation {
- name = "guetzli-${version}";
+ pname = "guetzli";
+ inherit version;
src = fetchFromGitHub {
owner = "google";
repo = "guetzli";
diff --git a/pkgs/applications/graphics/hugin/default.nix b/pkgs/applications/graphics/hugin/default.nix
index 6be43cffea5..d7888da15ef 100644
--- a/pkgs/applications/graphics/hugin/default.nix
+++ b/pkgs/applications/graphics/hugin/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, cmake, fetchurl, gnumake, makeWrapper, pkgconfig
+{ stdenv, cmake, fetchurl, gnumake, makeWrapper, pkgconfig, fetchpatch
, autopanosiftc, boost, cairo, enblend-enfuse, exiv2, fftw, flann, gettext
, glew, ilmbase, lcms2, lensfun, libjpeg, libpng, libtiff, libX11, libXi
, libXmu, libGLU_combined, openexr, panotools, perlPackages, sqlite, vigra, wxGTK, zlib
@@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "1l925qslp98gg7yzmgps10h6dq0nb60wbfk345anlxsv0g2ifizr";
};
+ patches = [
+ # Fixes build with exiv2 0.27.1
+ (fetchpatch {
+ url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/hugin-exiv2-0.27.1.patch?h=packages/hugin";
+ sha256 = "1yxvlpvrhyrfd2w6kwx1w3mncsvlzdhp0w7xchy8q6kc2kd5nf7r";
+ })
+ ];
+
buildInputs = [
boost cairo exiv2 fftw flann gettext glew ilmbase lcms2 lensfun libjpeg
libpng libtiff libX11 libXi libXmu libGLU_combined openexr panotools sqlite vigra
diff --git a/pkgs/applications/graphics/ideogram/default.nix b/pkgs/applications/graphics/ideogram/default.nix
new file mode 100644
index 00000000000..0efb0874183
--- /dev/null
+++ b/pkgs/applications/graphics/ideogram/default.nix
@@ -0,0 +1,70 @@
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, pkgconfig
+, python3
+, glib
+, gtk3
+, meson
+, ninja
+, libgee
+, pantheon
+, desktop-file-utils
+, xorg
+, hicolor-icon-theme
+, wrapGAppsHook
+}:
+
+stdenv.mkDerivation rec {
+ pname = "ideogram";
+ version = "1.2.2";
+
+ src = fetchFromGitHub {
+ owner = "cassidyjames";
+ repo = pname;
+ rev = version;
+ sha256 = "1qakgg3y4n2vcnykk2004ndvwmjbk2yy0p4j30mlb7p14dxscif6";
+ };
+
+ nativeBuildInputs = [
+ desktop-file-utils
+ hicolor-icon-theme # for setup-hook
+ meson
+ ninja
+ pantheon.vala
+ pkgconfig
+ python3
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ gtk3
+ libgee
+ pantheon.granite
+ xorg.libX11
+ xorg.libXtst
+ ];
+
+ patches = [
+ # See: https://github.com/cassidyjames/ideogram/issues/26
+ (fetchpatch {
+ url = "https://github.com/cassidyjames/ideogram/commit/65994ee11bd21f8316b057cec01afbf50639a708.patch";
+ sha256 = "12vrvvggpqq53dmhbm7gbbbigncn19m1fjln9wxaady21m0w776c";
+ })
+ ];
+
+ postPatch = ''
+ chmod +x meson/post_install.py
+ patchShebangs meson/post_install.py
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Insert emoji anywhere, even in non-native apps - designed for elementary OS";
+ homepage = https://github.com/cassidyjames/ideogram;
+ license = licenses.gpl2Plus;
+ maintainers = pantheon.maintainers;
+ platforms = platforms.linux;
+ };
+
+}
diff --git a/pkgs/applications/graphics/image_optim/default.nix b/pkgs/applications/graphics/image_optim/default.nix
index f093a79f374..385f9825e46 100644
--- a/pkgs/applications/graphics/image_optim/default.nix
+++ b/pkgs/applications/graphics/image_optim/default.nix
@@ -1,4 +1,4 @@
-{ lib, bundlerApp, fetchurl, ruby, makeWrapper,
+{ lib, bundlerApp, bundlerUpdateScript, makeWrapper,
withPngcrush ? true, pngcrush ? null,
withPngout ? true, pngout ? null,
withAdvpng ? true, advancecomp ? null,
@@ -45,8 +45,6 @@ bundlerApp {
pname = "image_optim";
gemdir = ./.;
- inherit ruby;
-
exes = [ "image_optim" ];
buildInputs = [ makeWrapper ];
@@ -56,11 +54,13 @@ bundlerApp {
--prefix PATH : ${makeBinPath optionalDepsPath}
'';
+ passthru.updateScript = bundlerUpdateScript "image_optim";
+
meta = with lib; {
description = "Command line tool and ruby interface to optimize (lossless compress, optionally lossy) jpeg, png, gif and svg images using external utilities (advpng, gifsicle, jhead, jpeg-recompress, jpegoptim, jpegrescan, jpegtran, optipng, pngcrush, pngout, pngquant, svgo)";
homepage = https://github.com/toy/image_optim;
license = licenses.mit;
- maintainers = with maintainers; [ srghma ];
+ maintainers = with maintainers; [ srghma nicknovitski ];
platforms = platforms.all;
};
}
diff --git a/pkgs/applications/graphics/image_optim/update.sh b/pkgs/applications/graphics/image_optim/update.sh
deleted file mode 100755
index 8afd7f90436..00000000000
--- a/pkgs/applications/graphics/image_optim/update.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/usr/bin/env nix-shell
-#!nix-shell -i bash -p bundix bundler
-
-SCRIPT_DIR=$(dirname "$(readlink -f "$BASH_SOURCE")")
-
-cd $SCRIPT_DIR
-
-bundle lock --update
-bundix
diff --git a/pkgs/applications/graphics/imagej/default.nix b/pkgs/applications/graphics/imagej/default.nix
index 0bbd543a307..6472712bcb4 100644
--- a/pkgs/applications/graphics/imagej/default.nix
+++ b/pkgs/applications/graphics/imagej/default.nix
@@ -7,8 +7,8 @@
# on linux systems, but we here do not attempt to fix it.)
let
- imagej150 = stdenv.mkDerivation rec {
- name = "imagej-${version}";
+ imagej150 = stdenv.mkDerivation {
+ pname = "imagej";
version = "150";
src = fetchurl {
diff --git a/pkgs/applications/graphics/imgcat/default.nix b/pkgs/applications/graphics/imgcat/default.nix
index 862d3a9dff5..1fa3ec8ccc6 100644
--- a/pkgs/applications/graphics/imgcat/default.nix
+++ b/pkgs/applications/graphics/imgcat/default.nix
@@ -1,25 +1,24 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, ncurses }:
stdenv.mkDerivation rec {
- name = "imgcat-${version}";
- version = "2.3.0";
+ pname = "imgcat";
+ version = "2.3.1";
- buildInputs = [ autoconf automake libtool ncurses ];
+ nativeBuildInputs = [ autoconf automake libtool ];
+ buildInputs = [ ncurses ];
preConfigure = ''
${autoconf}/bin/autoconf
sed -i -e "s|-ltermcap|-L ${ncurses}/lib -lncurses|" Makefile
'';
- preInstall = ''
- makeFlagsArray=(PREFIX="$out");
- '';
+ makeFlags = [ "PREFIX=$(out)" ];
src = fetchFromGitHub {
owner = "eddieantonio";
- repo = "imgcat";
- rev = "3d854c72f785dce0eecd9485767a7f972d54890c";
- sha256 = "0m83c33rzxvs0w214njql2c7q3fg06wnyijch3l2s88i7frl121f";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0frz40rjwi73nx2dlqvmnn56zwr29bmnngfb11hhwr7v58yfajdi";
};
NIX_CFLAGS_COMPILE = "-Wno-error";
diff --git a/pkgs/applications/graphics/imlibsetroot/default.nix b/pkgs/applications/graphics/imlibsetroot/default.nix
index a881c0fc1f9..49868bbd831 100644
--- a/pkgs/applications/graphics/imlibsetroot/default.nix
+++ b/pkgs/applications/graphics/imlibsetroot/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, libX11, libXinerama, imlib2 }:
-stdenv.mkDerivation rec {
- name = "imlibsetroot-${version}";
+stdenv.mkDerivation {
+ pname = "imlibsetroot";
version = "1.2";
src = fetchurl {
url = "https://robotmonkeys.net/wp-content/uploads/2010/03/imlibsetroot-12.tar.gz";
diff --git a/pkgs/applications/graphics/imv/default.nix b/pkgs/applications/graphics/imv/default.nix
index cdbf5f44687..5f06feb7c62 100644
--- a/pkgs/applications/graphics/imv/default.nix
+++ b/pkgs/applications/graphics/imv/default.nix
@@ -1,32 +1,60 @@
-{ stdenv, fetchFromGitHub, SDL2, SDL2_ttf
+{ stdenv, fetchFromGitHub
, freeimage, fontconfig, pkgconfig
, asciidoc, docbook_xsl, libxslt, cmocka
+, librsvg, pango, libxkbcommon, wayland
+, libGLU
}:
stdenv.mkDerivation rec {
- name = "imv-${version}";
- version = "3.0.0";
+ pname = "imv";
+ version = "4.0.1";
src = fetchFromGitHub {
owner = "eXeC64";
repo = "imv";
rev = "v${version}";
- sha256 = "0j5aykdkm1g518ism5y5flhwxvjvl92ksq989fhl2wpnv0la82jp";
+ sha256 = "sha256:01fbkbwwsyr00k3mwans8jfb9p4gl02v6z62vgx0pkgrzxjkcz07";
};
+ preBuild = ''
+ # Version is 4.0.1, but Makefile was not updated
+ sed -i 's/echo v4\.0\.0/echo v4.0.1/' Makefile
+ '';
+
+ nativeBuildInputs = [
+ asciidoc
+ cmocka
+ docbook_xsl
+ libxslt
+ ];
+
buildInputs = [
- SDL2 SDL2_ttf freeimage fontconfig pkgconfig
- asciidoc docbook_xsl libxslt cmocka
+ freeimage
+ libGLU
+ librsvg
+ libxkbcommon
+ pango
+ pkgconfig
+ wayland
];
installFlags = [ "PREFIX=$(out)" "CONFIGPREFIX=$(out)/etc" ];
+ postFixup = ''
+ # The `bin/imv` script assumes imv-wayland or imv-x11 in PATH,
+ # so we have to fix those to the binaries we installed into the /nix/store
+
+ sed -i "s|\bimv-wayland\b|$out/bin/imv-wayland|" $out/bin/imv
+ sed -i "s|\bimv-x11\b|$out/bin/imv-x11|" $out/bin/imv
+ '';
+
+ doCheck = true;
+
meta = with stdenv.lib; {
description = "A command line image viewer for tiling window managers";
- homepage = https://github.com/eXeC64/imv;
+ homepage = https://github.com/eXeC64/imv;
license = licenses.gpl2;
- maintainers = with maintainers; [ rnhmjoj ];
+ maintainers = with maintainers; [ rnhmjoj markus1189 ];
platforms = [ "i686-linux" "x86_64-linux" ];
};
}
-
diff --git a/pkgs/applications/graphics/inkscape/default.nix b/pkgs/applications/graphics/inkscape/default.nix
index 1729f3c5cda..547e2914399 100644
--- a/pkgs/applications/graphics/inkscape/default.nix
+++ b/pkgs/applications/graphics/inkscape/default.nix
@@ -3,6 +3,7 @@
, glibmm, libsigcxx, lcms, boost, gettext, makeWrapper
, gsl, python2, poppler, imagemagick, libwpg, librevenge
, libvisio, libcdr, libexif, potrace, cmake, hicolor-icon-theme
+, librsvg, wrapGAppsHook
}:
let
@@ -40,7 +41,7 @@ stdenv.mkDerivation rec {
--replace '"python-interpreter", "python"' '"python-interpreter", "${python2Env}/bin/python"'
'';
- nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env ]
+ nativeBuildInputs = [ pkgconfig cmake makeWrapper python2Env wrapGAppsHook ]
++ (with perlPackages; [ perl XMLParser ]);
buildInputs = [
libXft libpng zlib popt boehmgc
@@ -48,6 +49,8 @@ stdenv.mkDerivation rec {
gsl poppler imagemagick libwpg librevenge
libvisio libcdr libexif potrace hicolor-icon-theme
+ librsvg # for loading icons
+
python2Env perlPackages.perl
];
diff --git a/pkgs/applications/graphics/ipe/default.nix b/pkgs/applications/graphics/ipe/default.nix
index d4a7e396cb0..ae2db5181cc 100644
--- a/pkgs/applications/graphics/ipe/default.nix
+++ b/pkgs/applications/graphics/ipe/default.nix
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sourceRoot = "${name}/src";
- IPEPREFIX="${placeholder "out"}";
+ IPEPREFIX=placeholder "out";
URWFONTDIR="${texlive}/texmf-dist/fonts/type1/urw/";
LUA_PACKAGE = "lua";
diff --git a/pkgs/applications/graphics/jbrout/default.nix b/pkgs/applications/graphics/jbrout/default.nix
index 42ed667dee9..4eb7518cc10 100644
--- a/pkgs/applications/graphics/jbrout/default.nix
+++ b/pkgs/applications/graphics/jbrout/default.nix
@@ -3,7 +3,7 @@
let
inherit (pythonPackages) python;
in pythonPackages.buildPythonApplication rec {
- name = "jbrout-${version}";
+ pname = "jbrout";
version = "338";
src = fetchsvn {
diff --git a/pkgs/applications/graphics/jpeg-archive/default.nix b/pkgs/applications/graphics/jpeg-archive/default.nix
index 8002da55703..97c15d2eec0 100644
--- a/pkgs/applications/graphics/jpeg-archive/default.nix
+++ b/pkgs/applications/graphics/jpeg-archive/default.nix
@@ -1,7 +1,7 @@
-{ lib, stdenv, fetchFromGitHub, mozjpeg, makeWrapper, coreutils, parallel, findutils }:
+{ stdenv, fetchFromGitHub, mozjpeg, makeWrapper, coreutils, parallel, findutils }:
-stdenv.mkDerivation rec {
- name = "jpeg-archive-${version}";
+stdenv.mkDerivation {
+ pname = "jpeg-archive";
version = "2.2.0"; # can be found here https://github.com/danielgtaylor/jpeg-archive/blob/master/src/util.c#L15
# update with
diff --git a/pkgs/applications/graphics/jpeginfo/default.nix b/pkgs/applications/graphics/jpeginfo/default.nix
index f438bf6f7ed..e15aedd77e1 100644
--- a/pkgs/applications/graphics/jpeginfo/default.nix
+++ b/pkgs/applications/graphics/jpeginfo/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libjpeg }:
stdenv.mkDerivation rec {
- name = "jpeginfo-${version}";
+ pname = "jpeginfo";
version = "1.6.1";
src = fetchurl {
- url = "https://www.kokkonen.net/tjko/src/${name}.tar.gz";
+ url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
sha256 = "0lvn3pnylyj56158d3ix9w1gas1s29klribw9bz1xym03p7k37k2";
};
diff --git a/pkgs/applications/graphics/jpegoptim/default.nix b/pkgs/applications/graphics/jpegoptim/default.nix
index b24b14698e6..cc1ca3a0ff2 100644
--- a/pkgs/applications/graphics/jpegoptim/default.nix
+++ b/pkgs/applications/graphics/jpegoptim/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "1.4.6";
- name = "jpegoptim-${version}";
+ pname = "jpegoptim";
src = fetchurl {
- url = "https://www.kokkonen.net/tjko/src/${name}.tar.gz";
+ url = "https://www.kokkonen.net/tjko/src/${pname}-${version}.tar.gz";
sha256 = "1dss7907fclfl8zsw0bl4qcw0hhz6fqgi3867w0jyfm3q9jfpcc8";
};
diff --git a/pkgs/applications/graphics/k3d/default.nix b/pkgs/applications/graphics/k3d/default.nix
index 301dc902dce..1487fb8adba 100644
--- a/pkgs/applications/graphics/k3d/default.nix
+++ b/pkgs/applications/graphics/k3d/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
version = "0.8.0.6";
- name = "k3d-${version}";
+ pname = "k3d";
src = fetchFromGitHub {
owner = "K-3D";
repo = "k3d";
- rev = name;
+ rev = "${pname}-${version}";
sha256 = "0vdjjg6h8mxm2n8mvkkg2mvd27jn2xx90hnmx23cbd35mpz9p4aa";
};
diff --git a/pkgs/applications/graphics/kgraphviewer/default.nix b/pkgs/applications/graphics/kgraphviewer/default.nix
index e70fafa24b6..9b96b30c62b 100644
--- a/pkgs/applications/graphics/kgraphviewer/default.nix
+++ b/pkgs/applications/graphics/kgraphviewer/default.nix
@@ -5,11 +5,11 @@
}:
mkDerivation rec {
- name = "kgraphviewer-${version}";
+ pname = "kgraphviewer";
version = "2.4.3";
src = fetchurl {
- url = "mirror://kde/stable/kgraphviewer/${version}/${name}.tar.xz";
+ url = "mirror://kde/stable/kgraphviewer/${version}/${pname}-${version}.tar.xz";
sha256 = "1h6pgg89gvxl8gw7wmkabyqqrzad5pxyv5lsmn1fl4ir8lcc5q2l";
};
diff --git a/pkgs/applications/graphics/kipi-plugins/default.nix b/pkgs/applications/graphics/kipi-plugins/default.nix
deleted file mode 100644
index de51422d1da..00000000000
--- a/pkgs/applications/graphics/kipi-plugins/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- stdenv, fetchurl,
- extra-cmake-modules,
- karchive, kconfig, ki18n, kiconthemes, kio, kservice, kwindowsystem, kxmlgui,
- libkipi, qtbase, qtsvg, qtxmlpatterns
-}:
-
-stdenv.mkDerivation rec {
- pname = "kipi-plugins";
- version = "5.9.1";
-
- src = fetchurl {
- url = "http://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
- sha256 = "0hjm05nkz0w926sn4lav5258rda6zkd6gfnqd8hh3fa2q0dd7cq4";
- };
-
- nativeBuildInputs = [ extra-cmake-modules ];
- buildInputs = [
- karchive kconfig ki18n kiconthemes kio kservice kwindowsystem kxmlgui libkipi
- qtbase qtsvg qtxmlpatterns
- ];
-
- meta = {
- description = "Plugins for KDE-based image applications";
- license = stdenv.lib.licenses.gpl2;
- homepage = https://www.digikam.org;
- maintainers = with stdenv.lib.maintainers; [ ttuegel ];
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/applications/graphics/kodelife/default.nix b/pkgs/applications/graphics/kodelife/default.nix
new file mode 100644
index 00000000000..b86560d1319
--- /dev/null
+++ b/pkgs/applications/graphics/kodelife/default.nix
@@ -0,0 +1,53 @@
+{ stdenv
+, fetchzip
+, alsaLib
+, glib
+, gst_all_1
+, libGLU_combined
+, xorg
+}:
+
+stdenv.mkDerivation rec {
+ pname = "kodelife";
+ version = "0.8.3.93";
+
+ src = fetchzip {
+ url = "https://hexler.net/pub/${pname}/${pname}-${version}-linux-x86_64.zip";
+ sha256 = "1gidh0745g5mc8h5ypm2wamv1paymnrq3nh3yx1j70jwjg8v2v7g";
+ };
+
+ dontConfigure = true;
+ dontBuild = true;
+ dontStrip = true;
+ dontPatchELF = true;
+
+ installPhase = ''
+ mkdir -p $out/bin
+ mv KodeLife $out/bin
+ '';
+
+ preFixup = let
+ libPath = stdenv.lib.makeLibraryPath [
+ stdenv.cc.cc.lib
+ alsaLib
+ glib
+ gst_all_1.gstreamer
+ gst_all_1.gst-plugins-base
+ libGLU_combined
+ xorg.libX11
+ ];
+ in ''
+ patchelf \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ --set-rpath "${libPath}" \
+ $out/bin/KodeLife
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://hexler.net/products/kodelife";
+ description = "Real-time GPU shader editor";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ prusnak ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/graphics/krita/default.nix b/pkgs/applications/graphics/krita/default.nix
index c08bd52c989..30f7739167c 100644
--- a/pkgs/applications/graphics/krita/default.nix
+++ b/pkgs/applications/graphics/krita/default.nix
@@ -4,25 +4,17 @@
, kio, kcrash
, boost, libraw, fftw, eigen, exiv2, libheif, lcms2, gsl, openexr, giflib
, openjpeg, opencolorio, vc, poppler, curl, ilmbase
-, qtmultimedia, qtx11extras
+, qtmultimedia, qtx11extras, quazip
, python3Packages
}:
-let
-
-major = "4.1";
-minor = "8";
-patch = null;
-
-in
-
mkDerivation rec {
- name = "krita-${version}";
- version = "${major}.${minor}";
+ pname = "krita";
+ version = "4.2.6";
src = fetchurl {
- url = "https://download.kde.org/stable/krita/${major}.${minor}/${name}.tar.gz";
- sha256 = "0h2rplc76r82b8smk61zci1ijj9xkjmf20pdqa8fc2lz4zicjxh4";
+ url = "https://download.kde.org/stable/${pname}/${version}/${pname}-${version}.tar.xz";
+ sha256 = "0qdaw8xx3h91v8iw6nw2h276ka8hflaq4r4qwz5mqfd3h254jzym";
};
nativeBuildInputs = [ cmake extra-cmake-modules python3Packages.sip makeWrapper ];
@@ -32,7 +24,7 @@ mkDerivation rec {
ki18n kitemmodels kitemviews kwindowsystem kio kcrash
boost libraw fftw eigen exiv2 lcms2 gsl openexr libheif giflib
openjpeg opencolorio poppler curl ilmbase
- qtmultimedia qtx11extras
+ qtmultimedia qtx11extras quazip
python3Packages.pyqt5
] ++ lib.optional (stdenv.hostPlatform.isi686 || stdenv.hostPlatform.isx86_64) vc;
diff --git a/pkgs/applications/graphics/ktikz/default.nix b/pkgs/applications/graphics/ktikz/default.nix
index 25abcd9d41d..4ddc2074f2f 100644
--- a/pkgs/applications/graphics/ktikz/default.nix
+++ b/pkgs/applications/graphics/ktikz/default.nix
@@ -1,70 +1,54 @@
-{ stdenv, fetchFromGitHub, gettext, poppler, qt5 , pkgconfig }:
-
-# Warning: You will also need a working pdflatex installation containing
-# at least auctex and pgf.
+{ stdenv, fetchFromGitHub, fetchpatch
+, pkgconfig, wrapQtAppsHook
+, poppler, qt5, gnuplot
+}:
# This package only builds ktikz without KDE integration because KDE4 is
# deprecated and upstream does not (yet ?) support KDE5.
# See historical versions of this file for building ktikz with KDE4.
stdenv.mkDerivation rec {
- version = "unstable-20161122";
- name = "qtikz-${version}";
+ version = "0.12";
+ pname = "qtikz";
+
+ meta = with stdenv.lib; {
+ description = "Editor for the TikZ language";
+ homepage = "https://github.com/fhackenberger/ktikz";
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.layus ];
+ longDescription = ''
+ You will also need a working *tex installation in your PATH, containing at least `preview` and `pgf`.
+ '';
+ };
src = fetchFromGitHub {
owner = "fhackenberger";
repo = "ktikz";
- rev = "be66c8b1ff7e6b791b65af65e83c4926f307cf5a";
- sha256 = "15jx53sjlnky4yg3ry1i1c29g28v1jbbvhbz66h7a49pfxa40fj3";
+ rev = version;
+ sha256 = "1s83x8r2yi64wc6ah2iz09dj3qahy0fkxx6cfgpkavjw9x0j0582";
};
- meta = with stdenv.lib; {
- description = "Editor for the TikZ language";
- license = licenses.gpl2;
- platforms = platforms.linux;
- maintainers = [ maintainers.layus ];
- };
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/fhackenberger/ktikz/commit/972685a406517bb85eb561f2c8e26f029eacd7db.patch";
+ sha256 = "13z40rcd4m4n088v7z2ns17lnpn0z3rzp31lsamic3qdcwjwa5k8";
+ })
+ ];
- conf = ''
- # installation prefix:
- PREFIX = @out@
-
- # install desktop file here (*nix only):
- DESKTOP_INSTALL_DIR = @out@/share/applications
-
- # install mimetype here:
- MIME_INSTALL_DIR = @out@/share/mime/packages
-
- # install doc here:
- MAN_INSTALL_DIR = @out@/share/man
-
- CONFIG -= debug
- CONFIG += release
-
- # qmake command:
- QMAKECOMMAND = qmake
- # lrelease command:
- LRELEASECOMMAND = lrelease
- # qcollectiongenerator command:
- QCOLLECTIONGENERATORCOMMAND = qhelpgenerator
-
- # TikZ documentation default file path:
- TIKZ_DOCUMENTATION_DEFAULT = @out@/share/doc/texmf/pgf/pgfmanual.pdf.gz
- '';
-
- # 1. Configuration is done by overwriting qtikzconfig.pri
- # 2. Recent Qt removed QString::fromAscii in favor of QString::fromLatin1
- patchPhase = ''
- echo "$conf" | sed "s!@out@!$out!g" > qmake/qtikzconfig.pri
- find -name "*.cpp" -exec sed -i s/fromAscii/fromLatin1/g "{}" \;
- '';
-
- configurePhase = ''
- qmake PREFIX="$out" ./qtikz.pro
- '';
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gettext qt5.full poppler ];
+ nativeBuildInputs = [ pkgconfig qt5.qttools qt5.qmake wrapQtAppsHook ];
+ QT_PLUGIN_PATH = "${qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}";
+ buildInputs = [ qt5.qtbase poppler ];
enableParallelBuilding = true;
+
+ qmakeFlags = [
+ "DESKTOP_INSTALL_DIR=${placeholder "out"}/share/applications"
+ "MIME_INSTALL_DIR=${placeholder "out"}/share/mime/packages"
+ # qcollectiongenerator does no more exist in `qt5.qttools`.
+ # It was merged with qhelpgenerator at some point.
+ "QCOLLECTIONGENERATORCOMMAND=qhelpgenerator"
+ ];
+
+ qtWrapperArgs = [ ''--prefix PATH : "${gnuplot}/bin"'' ];
}
diff --git a/pkgs/applications/graphics/leocad/default.nix b/pkgs/applications/graphics/leocad/default.nix
index ada55f0351e..201a4fe113e 100644
--- a/pkgs/applications/graphics/leocad/default.nix
+++ b/pkgs/applications/graphics/leocad/default.nix
@@ -6,14 +6,14 @@ set the variable LEOCAD_LIB=/path/to/libs/ or use option -l /path/to/libs/
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, zlib }:
stdenv.mkDerivation rec {
- name = "leocad-${version}";
- version = "18.02";
+ pname = "leocad";
+ version = "19.07.1";
src = fetchFromGitHub {
owner = "leozide";
repo = "leocad";
rev = "v${version}";
- sha256 = "0rb4kjyrr9ry85cfpbk52l19vvwn7lrh2kmj2lwq531smnygn5m3";
+ sha256 = "02kv1m18g6s4dady9jv4sjivfkrp192bmdw2a3d9lzlp60zks0p2";
};
nativeBuildInputs = [ qmake4Hook ];
diff --git a/pkgs/applications/graphics/luminance-hdr/default.nix b/pkgs/applications/graphics/luminance-hdr/default.nix
index 867c0a55838..94899c937a8 100644
--- a/pkgs/applications/graphics/luminance-hdr/default.nix
+++ b/pkgs/applications/graphics/luminance-hdr/default.nix
@@ -1,23 +1,25 @@
-{ stdenv, cmake, fetchurl, pkgconfig, boost, exiv2, fftwFloat, gsl
+{ stdenv, cmake, fetchFromGitHub, pkgconfig, boost, exiv2, fftwFloat, gsl
, ilmbase, lcms2, libraw, libtiff, openexr
-, qtbase, qtdeclarative, qttools, qtwebengine
+, qtbase, qtdeclarative, qttools, qtwebengine, eigen
}:
stdenv.mkDerivation rec {
- name = "luminance-hdr-2.5.1";
+ pname = "luminance-hdr";
+ version = "2.6.0";
- src = fetchurl {
- url = "mirror://sourceforge/qtpfsgui/${name}.tar.bz2";
- sha256 = "15hnyk9yjkkc97dmnrg2ipfgwqxprlcyv2kyvbls4d54zc56x658";
+ src = fetchFromGitHub {
+ owner = "LuminanceHDR";
+ repo = "LuminanceHDR";
+ rev = "v.${version}";
+ sha256 = "1izmgjjp8mgyxv57sjjr05z7g7059ykb5wchlcn4wrnnb6aslnvn";
};
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR";
- buildInputs =
- [
- qtbase qtdeclarative qttools qtwebengine
- boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
- ];
+ buildInputs = [
+ qtbase qtdeclarative qttools qtwebengine eigen
+ boost exiv2 fftwFloat gsl ilmbase lcms2 libraw libtiff openexr
+ ];
nativeBuildInputs = [ cmake pkgconfig ];
diff --git a/pkgs/applications/graphics/mcomix/default.nix b/pkgs/applications/graphics/mcomix/default.nix
index eea0e501cb8..7ae5286f762 100644
--- a/pkgs/applications/graphics/mcomix/default.nix
+++ b/pkgs/applications/graphics/mcomix/default.nix
@@ -19,7 +19,7 @@ python27Packages.buildPythonApplication rec {
MComix is an user-friendly, customizable image viewer. It is specifically
designed to handle comic books, but also serves as a generic viewer.
It reads images in ZIP, RAR, 7Zip or tar archives as well as plain image
- files. It is written in Python and uses GTK+ through the PyGTK bindings,
+ files. It is written in Python and uses GTK through the PyGTK bindings,
and runs on both Linux and Windows.
MComix is a fork of the Comix project, and aims to add bug fixes and
diff --git a/pkgs/applications/graphics/meh/default.nix b/pkgs/applications/graphics/meh/default.nix
index c25c1277ee0..7ad8c388a20 100644
--- a/pkgs/applications/graphics/meh/default.nix
+++ b/pkgs/applications/graphics/meh/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, libX11, libXext, libjpeg, libpng, giflib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "meh-unstable-2015-04-11";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/meme/default.nix b/pkgs/applications/graphics/meme/default.nix
index 2fddc39e0d0..5f8a0bb6eed 100644
--- a/pkgs/applications/graphics/meme/default.nix
+++ b/pkgs/applications/graphics/meme/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "meme-unstable-${version}";
+ pname = "meme-unstable";
version = "2017-09-10";
owner = "nomad-software";
diff --git a/pkgs/applications/graphics/mirage/default.nix b/pkgs/applications/graphics/mirage/default.nix
index 515b834b41e..fbe8f10c72f 100644
--- a/pkgs/applications/graphics/mirage/default.nix
+++ b/pkgs/applications/graphics/mirage/default.nix
@@ -1,16 +1,18 @@
{ stdenv, fetchurl, pythonPackages, libX11, gettext }:
pythonPackages.buildPythonApplication rec {
- name = "mirage-${version}";
+ pname = "mirage";
version = "0.9.5.2";
src = fetchurl {
- url = "mirror://sourceforge/mirageiv/${name}.tar.bz2";
+ url = "mirror://sourceforge/mirageiv/${pname}-${version}.tar.bz2";
sha256 = "d214a1b6d99d1d1e83da5848a2cef181f6781e0990e93f7ebff5880b0c43f43c";
};
doCheck = false;
+ nativeBuildInputs = [ gettext ];
+
buildInputs = [ stdenv libX11 gettext ];
patchPhase = ''
diff --git a/pkgs/applications/graphics/mozjpeg/default.nix b/pkgs/applications/graphics/mozjpeg/default.nix
index b48fd891a6a..63cc4a3a8d3 100644
--- a/pkgs/applications/graphics/mozjpeg/default.nix
+++ b/pkgs/applications/graphics/mozjpeg/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "3.3.1";
- name = "mozjpeg-${version}";
+ pname = "mozjpeg";
src = fetchFromGitHub {
owner = "mozilla";
diff --git a/pkgs/applications/graphics/mtpaint/default.nix b/pkgs/applications/graphics/mtpaint/default.nix
index 8a2a218d989..7274bdacd9d 100644
--- a/pkgs/applications/graphics/mtpaint/default.nix
+++ b/pkgs/applications/graphics/mtpaint/default.nix
@@ -22,9 +22,9 @@ stdenv.mkDerivation rec {
];
meta = {
- description = "A simple GTK+1/2 painting program";
+ description = "A simple GTK painting program";
longDescription = ''
- mtPaint is a simple GTK+1/2 painting program designed for
+ mtPaint is a simple GTK painting program designed for
creating icons and pixel based artwork. It can edit indexed palette
or 24 bit RGB images and offers basic painting and palette manipulation
tools. It also has several other more powerful features such as channels,
diff --git a/pkgs/applications/graphics/mypaint/default.nix b/pkgs/applications/graphics/mypaint/default.nix
index 36c7e7e2fb3..1b51732b918 100644
--- a/pkgs/applications/graphics/mypaint/default.nix
+++ b/pkgs/applications/graphics/mypaint/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, gtk3, intltool, json_c, lcms2, libpng, librsvg, gobject-introspection, hicolor-icon-theme
-, gdk_pixbuf, pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
+, gdk-pixbuf, pkgconfig, python2Packages, scons, swig, wrapGAppsHook }:
let
inherit (python2Packages) python pycairo pygobject3 numpy;
-in stdenv.mkDerivation rec {
- name = "mypaint-${version}";
+in stdenv.mkDerivation {
+ pname = "mypaint";
version = "1.2.1";
src = fetchFromGitHub {
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
- gtk3 gdk_pixbuf json_c lcms2 libpng librsvg pycairo pygobject3 python hicolor-icon-theme
+ gtk3 gdk-pixbuf json_c lcms2 libpng librsvg pycairo pygobject3 python hicolor-icon-theme
];
propagatedBuildInputs = [ numpy ];
diff --git a/pkgs/applications/graphics/nomacs/default.nix b/pkgs/applications/graphics/nomacs/default.nix
index 05d047f7227..62fae518b92 100644
--- a/pkgs/applications/graphics/nomacs/default.nix
+++ b/pkgs/applications/graphics/nomacs/default.nix
@@ -1,9 +1,8 @@
{ stdenv
+, mkDerivation
, fetchFromGitHub
, cmake
, pkgconfig
-, wrapGAppsHook
-, gsettings-desktop-schemas
, qtbase
, qttools
@@ -16,16 +15,20 @@
, quazip
}:
-stdenv.mkDerivation rec {
- version = "3.10.2";
+mkDerivation rec {
+ pname = "nomacs";
+ version = "3.12";
+
src = fetchFromGitHub {
owner = "nomacs";
repo = "nomacs";
rev = version;
- sha256 = "0v2gsdc8caswf2b5aa023d8kil1fqf4r9mlg15180h3c92f8jzvh";
+ sha256 = "12582i5v85da7vwjxj8grj99hxg34ij5cn3b1578wspdfw1xfy1i";
};
- name = "nomacs-${version}";
+ patches = [
+ ./nomacs-iostream.patch
+ ];
enableParallelBuilding = true;
@@ -34,8 +37,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [cmake
- pkgconfig
- wrapGAppsHook];
+ pkgconfig];
buildInputs = [qtbase
qttools
@@ -44,13 +46,13 @@ stdenv.mkDerivation rec {
opencv
libraw
libtiff
- quazip
- gsettings-desktop-schemas];
+ quazip];
cmakeFlags = ["-DENABLE_OPENCV=ON"
"-DENABLE_RAW=ON"
"-DENABLE_TIFF=ON"
"-DENABLE_QUAZIP=ON"
+ "-DENABLE_TRANSLATIONS=ON"
"-DUSE_SYSTEM_QUAZIP=ON"];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/graphics/nomacs/nomacs-iostream.patch b/pkgs/applications/graphics/nomacs/nomacs-iostream.patch
new file mode 100644
index 00000000000..53224e0260e
--- /dev/null
+++ b/pkgs/applications/graphics/nomacs/nomacs-iostream.patch
@@ -0,0 +1,26 @@
+diff --git a/src/DkCore/DkMetaData.cpp b/src/DkCore/DkMetaData.cpp
+index d195757e..affec7be 100644
+--- a/src/DkCore/DkMetaData.cpp
++++ b/src/DkCore/DkMetaData.cpp
+@@ -42,6 +42,8 @@
+ #include
+ #pragma warning(pop) // no warnings from includes - end
+
++#include
++
+ namespace nmc {
+
+ // DkMetaDataT --------------------------------------------------------------------
+diff --git a/src/DkGui/DkNoMacs.cpp b/src/DkGui/DkNoMacs.cpp
+index 6a412f70..bbfba233 100644
+--- a/src/DkGui/DkNoMacs.cpp
++++ b/src/DkGui/DkNoMacs.cpp
+@@ -96,6 +96,8 @@
+ #include
+ #endif
+
++#include
++
+ namespace nmc {
+
+ DkNomacsOSXEventFilter::DkNomacsOSXEventFilter(QObject *parent) : QObject(parent) {
diff --git a/pkgs/applications/graphics/openimageio/2.x.nix b/pkgs/applications/graphics/openimageio/2.x.nix
new file mode 100644
index 00000000000..4e61fccaa37
--- /dev/null
+++ b/pkgs/applications/graphics/openimageio/2.x.nix
@@ -0,0 +1,58 @@
+{ stdenv
+, fetchFromGitHub
+, boost
+, cmake
+, ilmbase
+, libjpeg
+, libpng
+, libtiff
+, opencolorio
+, openexr
+, robin-map
+, unzip
+}:
+
+stdenv.mkDerivation rec {
+ pname = "openimageio";
+ version = "2.0.10";
+
+ src = fetchFromGitHub {
+ owner = "OpenImageIO";
+ repo = "oiio";
+ rev = "Release-${version}";
+ sha256 = "0k60kgfahsqcgmydsf1kh1qzshn8mksaw772z48a40qnx28pfjys";
+ };
+
+ outputs = [ "bin" "out" "dev" "doc" ];
+
+ nativeBuildInputs = [
+ cmake
+ unzip
+ ];
+
+ buildInputs = [
+ boost
+ ilmbase
+ libjpeg
+ libpng
+ libtiff
+ opencolorio
+ openexr
+ robin-map
+ ];
+
+ cmakeFlags = [
+ "-DUSE_PYTHON=OFF"
+ "-DUSE_QT=OFF"
+ # GNUInstallDirs
+ "-DCMAKE_INSTALL_LIBDIR=lib" # needs relative path for pkgconfig
+ ];
+
+ meta = with stdenv.lib; {
+ homepage = http://www.openimageio.org;
+ description = "A library and tools for reading and writing images";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ goibhniu jtojnar ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/graphics/openimageio/default.nix b/pkgs/applications/graphics/openimageio/default.nix
index f405ca01200..7225efadebd 100644
--- a/pkgs/applications/graphics/openimageio/default.nix
+++ b/pkgs/applications/graphics/openimageio/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "openimageio-${version}";
+ pname = "openimageio";
version = "1.8.16";
src = fetchFromGitHub {
@@ -15,28 +15,23 @@ stdenv.mkDerivation rec {
outputs = [ "bin" "out" "dev" "doc" ];
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake unzip ];
buildInputs = [
boost ilmbase libjpeg libpng
libtiff opencolorio openexr
- unzip
];
cmakeFlags = [
"-DUSE_PYTHON=OFF"
];
- preBuild = ''
- makeFlags="ILMBASE_HOME=${ilmbase.dev} OPENEXR_HOME=${openexr.dev} USE_PYTHON=0
- INSTALLDIR=$out dist_dir="
- '';
-
- postInstall = ''
- mkdir -p $bin
- mv $out/bin $bin/
- '';
-
- enableParallelBuilding = true;
+ makeFlags = [
+ "ILMBASE_HOME=${ilmbase.dev}"
+ "OPENEXR_HOME=${openexr.dev}"
+ "USE_PYTHON=0"
+ "INSTALLDIR=${placeholder "out"}"
+ "dist_dir="
+ ];
meta = with stdenv.lib; {
homepage = http://www.openimageio.org;
@@ -44,5 +39,6 @@ stdenv.mkDerivation rec {
license = licenses.bsd3;
maintainers = [ maintainers.goibhniu ];
platforms = platforms.unix;
+ badPlatforms = [ "x86_64-darwin" ];
};
}
diff --git a/pkgs/applications/graphics/openscad/default.nix b/pkgs/applications/graphics/openscad/default.nix
index ca3dac34dca..9f7fbc8421b 100644
--- a/pkgs/applications/graphics/openscad/default.nix
+++ b/pkgs/applications/graphics/openscad/default.nix
@@ -1,10 +1,33 @@
-{ stdenv, fetchFromGitHub, qt5, libsForQt5
-, bison, flex, eigen, boost, libGLU_combined, glew, opencsg, cgal
-, mpfr, gmp, glib, pkgconfig, harfbuzz, gettext, freetype, fontconfig
-, double-conversion, lib3mf, libzip
+{ stdenv
+, fetchFromGitHub
+, qtbase
+, qtmultimedia
+, qscintilla
+, bison
+, flex
+, eigen
+, boost
+, libGLU_combined
+, glew
+, opencsg
+, cgal
+, mpfr
+, gmp
+, glib
+, pkgconfig
+, harfbuzz
+, gettext
+, freetype
+, fontconfig
+, double-conversion
+, lib3mf
+, libzip
+, mkDerivation
+, qtmacextras
+, qmake
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "openscad";
version = "2019.05";
@@ -15,14 +38,14 @@ stdenv.mkDerivation rec {
sha256 = "1qz384jqgk75zxk7sqd22ma9pyd94kh4h6a207ldx7p9rny6vc5l";
};
- nativeBuildInputs = [ bison flex pkgconfig gettext qt5.qmake ];
+ nativeBuildInputs = [ bison flex pkgconfig gettext qmake ];
buildInputs = [
eigen boost glew opencsg cgal mpfr gmp glib
harfbuzz lib3mf libzip double-conversion freetype fontconfig
+ qtbase qtmultimedia qscintilla
] ++ stdenv.lib.optional stdenv.isLinux libGLU_combined
- ++ (with qt5; [qtbase qtmultimedia] ++ stdenv.lib.optional stdenv.isDarwin qtmacextras)
- ++ (with libsForQt5; [qscintilla])
+ ++ stdenv.lib.optional stdenv.isDarwin qtmacextras
;
qmakeFlags = [ "VERSION=${version}" ];
diff --git a/pkgs/applications/graphics/paraview/default.nix b/pkgs/applications/graphics/paraview/default.nix
index cf13c6fb05e..13a00991265 100644
--- a/pkgs/applications/graphics/paraview/default.nix
+++ b/pkgs/applications/graphics/paraview/default.nix
@@ -5,7 +5,7 @@ stdenv, fetchFromGitHub, cmake, makeWrapper
}:
stdenv.mkDerivation rec {
- name = "paraview-${version}";
+ pname = "paraview";
version = "5.6.0";
# fetching from GitHub instead of taking an "official" source
diff --git a/pkgs/applications/graphics/pbrt/default.nix b/pkgs/applications/graphics/pbrt/default.nix
index 3cc7166b4e4..78f6d8bcbaf 100644
--- a/pkgs/applications/graphics/pbrt/default.nix
+++ b/pkgs/applications/graphics/pbrt/default.nix
@@ -1,9 +1,9 @@
{stdenv, fetchFromGitHub, flex, bison, cmake, git, zlib}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "2018-08-15";
- name = "pbrt-v3-${version}";
+ pname = "pbrt-v3";
src = fetchFromGitHub {
rev = "86b5821308088deea70b207bc8c22219d0103d65";
diff --git a/pkgs/applications/graphics/pdfcpu/default.nix b/pkgs/applications/graphics/pdfcpu/default.nix
new file mode 100644
index 00000000000..7b1077d18a9
--- /dev/null
+++ b/pkgs/applications/graphics/pdfcpu/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "pdfcpu";
+ version = "0.2.4";
+
+ src = fetchFromGitHub {
+ owner = "pdfcpu";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0inlwrpv5zkcv48g5gq1xdrvd7w1zkhf8p57fpr2cpd7hd3am7n8";
+ };
+
+ modSha256 = "1nagb3k2ghfw27g4vcmn7v8s5flg387jpf1l18gw6c44a1xjcivs";
+
+ subPackages = [ "cmd/pdfcpu" ];
+
+ meta = with stdenv.lib; {
+ description = "A PDF processor written in Go";
+ homepage = https://pdfcpu.io;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ doronbehar ];
+ platforms = platforms.all;
+ };
+}
+
diff --git a/pkgs/applications/graphics/pencil/default.nix b/pkgs/applications/graphics/pencil/default.nix
index de758271004..37857fc459e 100644
--- a/pkgs/applications/graphics/pencil/default.nix
+++ b/pkgs/applications/graphics/pencil/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, lib, makeWrapper,
# build dependencies
alsaLib, atk, cairo, cups, dbus, expat, fontconfig,
- freetype, gdk_pixbuf, glib, gnome2, nspr, nss, xorg,
+ freetype, gdk-pixbuf, glib, gnome2, nspr, nss, xorg,
glibc, systemd
}:
stdenv.mkDerivation rec {
version = "3.0.4";
- name = "pencil-${version}";
+ pname = "pencil";
src = fetchurl {
url = "http://pencil.evolus.vn/dl/V${version}/Pencil_${version}_amd64.deb";
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
expat
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.GConf
gnome2.gtk
diff --git a/pkgs/applications/graphics/photivo/default.nix b/pkgs/applications/graphics/photivo/default.nix
index 4843898eb64..09b5bd37839 100644
--- a/pkgs/applications/graphics/photivo/default.nix
+++ b/pkgs/applications/graphics/photivo/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchhg, fetchpatch, cmake, qt4, fftw, graphicsmagick_q16,
lcms2, lensfun, pkgconfig, libjpeg, exiv2, liblqr1 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "photivo-2014-01-25";
src = fetchhg {
@@ -37,5 +37,6 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
platforms = platforms.linux;
license = licenses.gpl3;
+ broken = true; # exiv2 0.27.1 FTBFS
};
}
diff --git a/pkgs/applications/graphics/photoqt/default.nix b/pkgs/applications/graphics/photoqt/default.nix
index 7571bb29bec..68afdd8694b 100644
--- a/pkgs/applications/graphics/photoqt/default.nix
+++ b/pkgs/applications/graphics/photoqt/default.nix
@@ -1,23 +1,36 @@
-{ stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw
+{ stdenv, fetchurl, cmake, exiv2, graphicsmagick, libraw, fetchpatch
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools, qtgraphicaleffects
+, extra-cmake-modules, poppler, kimageformats, libarchive, libdevil
}:
stdenv.mkDerivation rec {
- name = "photoqt-${version}";
- version = "1.5.1";
+ pname = "photoqt";
+ version = "1.7.1";
src = fetchurl {
- url = "https://photoqt.org/pkgs/photoqt-${version}.tar.gz";
- sha256 = "17kkpzkmzfnigs26jjyd75iy58qffjsclif81cmviq73lzmqy0b1";
+ url = "https://${pname}.org/pkgs/${pname}-${version}.tar.gz";
+ sha256 = "1qvxdh3cbjcywqx0da2qp8z092660qyzv5yknqbps2zr12qqb103";
};
- patches = [ ./photoqt-1.5.1-qt-5.9.patch ];
+ patches = [
+ # Fixes build with exiv2 0.27.1
+ (fetchpatch {
+ url = "https://gitlab.com/luspi/photoqt/commit/c6fd41478e818f3a651d40f96cab3d790e1c09a4.patch";
+ sha256 = "1j2pdr7hm3js7lswhb4qkf9sj9viclhjqz50qxpyd7pqrl1gf2va";
+ })
+ ];
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake extra-cmake-modules qttools ];
buildInputs = [
- qtbase qtquickcontrols qttools exiv2 graphicsmagick
+ qtbase qtquickcontrols exiv2 graphicsmagick poppler
qtmultimedia qtdeclarative libraw qtgraphicaleffects
+ kimageformats libarchive
+ ];
+
+ cmakeFlags = [
+ "-DFREEIMAGE=OFF"
+ "-DDEVIL=OFF"
];
preConfigure = ''
diff --git a/pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patch b/pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patch
deleted file mode 100644
index daa982b5f3a..00000000000
--- a/pkgs/applications/graphics/photoqt/photoqt-1.5.1-qt-5.9.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 97abcb5..fd4877a 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -50,7 +50,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O3 -Wall")
- #### FIND REQUIRED PACKAGES ####
- ################################
-
--FIND_PACKAGE(Qt5 COMPONENTS LinguistTools Quick Widgets Core Svg REQUIRED)
-+FIND_PACKAGE(Qt5 COMPONENTS LinguistTools Quick Widgets Core Svg Sql Xml REQUIRED)
- SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMake" ${CMAKE_MODULE_PATH})
- FIND_PACKAGE(Magick)
- FIND_PACKAGE(Exiv2)
diff --git a/pkgs/applications/graphics/phototonic/default.nix b/pkgs/applications/graphics/phototonic/default.nix
index 7da1d4b612f..5e7fb5cf7a0 100644
--- a/pkgs/applications/graphics/phototonic/default.nix
+++ b/pkgs/applications/graphics/phototonic/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, qtbase, qmake, exiv2 }:
stdenv.mkDerivation rec {
- name = "phototonic-${version}";
+ pname = "phototonic";
version = "2.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/potrace/default.nix b/pkgs/applications/graphics/potrace/default.nix
index 132136da658..f50af2925a3 100644
--- a/pkgs/applications/graphics/potrace/default.nix
+++ b/pkgs/applications/graphics/potrace/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
- name = "potrace-${version}";
+ pname = "potrace";
version = "1.15";
src = fetchurl {
diff --git a/pkgs/applications/graphics/pqiv/default.nix b/pkgs/applications/graphics/pqiv/default.nix
index ec4ce69d5e8..1ad51e92d47 100644
--- a/pkgs/applications/graphics/pqiv/default.nix
+++ b/pkgs/applications/graphics/pqiv/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation (rec {
- name = "pqiv-${version}";
+ pname = "pqiv";
version = "2.11";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/processing3/default.nix b/pkgs/applications/graphics/processing/default.nix
similarity index 80%
rename from pkgs/applications/graphics/processing3/default.nix
rename to pkgs/applications/graphics/processing/default.nix
index 6f90131db12..9972ea75709 100644
--- a/pkgs/applications/graphics/processing3/default.nix
+++ b/pkgs/applications/graphics/processing/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, fetchurl, xmlstarlet, makeWrapper, ant, jdk, rsync, javaPackages, libXxf86vm, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- version = "3.4";
- name = "processing3-${version}";
+ pname = "processing";
+ version = "3.5.3";
src = fetchFromGitHub {
owner = "processing";
repo = "processing";
- rev = "processing-0265-${version}";
- sha256 = "12wpxgn2wd5vbasx9584w5yb1s319smq1zh8m7dvp7gkqw9plwp4";
+ rev = "processing-0269-${version}";
+ sha256 = "0ajniy3a0i0rx7is46r85yh3ah4zm4ra1gbllmihw9pmnfjgfajn";
};
nativeBuildInputs = [ ant rsync makeWrapper ];
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
${xmlstarlet}/bin/xmlstarlet ed --inplace -P -d '//get[@src="http://download.processing.org/reference.zip"]' build/build.xml
install -D -m0444 ${fetchurl {
url = http://download.processing.org/reference.zip;
- sha256 = "0ai0cr62gc7n6y22ki3qibyj1qnlaxv1miqxmmahfk3hpbyfqz9n";
+ sha256 = "198bpk8mzns6w5h0zdf50wr6iv7sgdi6v7jznj5rbsnpgyilxz35";
}
} ./java/reference.zip
@@ -39,16 +39,16 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir $out
- cp -dpR build/linux/work $out/${name}
+ cp -dpR build/linux/work $out/${pname}
- rmdir $out/${name}/java
- ln -s ${jdk} $out/${name}/java
+ rmdir $out/${pname}/java
+ ln -s ${jdk} $out/${pname}/java
- makeWrapper $out/${name}/processing $out/bin/processing \
+ makeWrapper $out/${pname}/processing $out/bin/processing \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} \
--prefix _JAVA_OPTIONS " " -Dawt.useSystemAAFontSettings=lcd \
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
- makeWrapper $out/${name}/processing-java $out/bin/processing-java \
+ makeWrapper $out/${pname}/processing-java $out/bin/processing-java \
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name} \
--prefix _JAVA_OPTIONS " " -Dawt.useSystemAAFontSettings=lcd \
--prefix LD_LIBRARY_PATH : ${libXxf86vm}/lib
diff --git a/pkgs/applications/graphics/qcomicbook/default.nix b/pkgs/applications/graphics/qcomicbook/default.nix
index c37e21ec898..4d416a7c106 100644
--- a/pkgs/applications/graphics/qcomicbook/default.nix
+++ b/pkgs/applications/graphics/qcomicbook/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools, qtx11extras, poppler }:
stdenv.mkDerivation rec {
- name = "qcomicbook-${version}";
+ pname = "qcomicbook";
version = "0.9.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/qiv/default.nix b/pkgs/applications/graphics/qiv/default.nix
index ce08e2b1be9..750217d9918 100644
--- a/pkgs/applications/graphics/qiv/default.nix
+++ b/pkgs/applications/graphics/qiv/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation (rec {
version = "2.3.2";
- name = "qiv-${version}";
+ pname = "qiv";
src = fetchurl {
- url = "https://spiegl.de/qiv/download/${name}.tgz";
+ url = "https://spiegl.de/qiv/download/${pname}-${version}.tgz";
sha256 = "1mc0f2nnas4q0d7zc9r6g4z93i32xlx0p9hl4fn5zkyml24a1q28";
};
diff --git a/pkgs/applications/graphics/qtpfsgui/default.nix b/pkgs/applications/graphics/qtpfsgui/default.nix
deleted file mode 100644
index 4be7d230b5f..00000000000
--- a/pkgs/applications/graphics/qtpfsgui/default.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{stdenv, fetchurl, qt4, qmake4Hook, exiv2, openexr, fftwSinglePrec, libtiff, ilmbase }:
-
-stdenv.mkDerivation rec {
- name = "qtpfsgui-1.9.3";
-
- src = fetchurl {
- url = "mirror://sourceforge/qtpfsgui/${name}.tar.gz";
- sha256 = "1mlg9dry4mfnnjlnwsw375hzsiagssdhccfmapx5nh6ykqrslsh1";
- };
-
- buildInputs = [ qt4 exiv2 openexr fftwSinglePrec libtiff ];
- nativeBuildInputs = [ qmake4Hook ];
-
- hardeningDisable = [ "format" ];
-
- preConfigure = ''
- export CPATH="${ilmbase.dev}/include/OpenEXR:$CPATH"
- '';
-
- qmakeFlags = [
- "EXIV2PATH=${exiv2.dev}/include/exiv2"
- "OPENEXRDIR=${openexr.dev}/include/OpenEXR"
- "FFTW3DIR=${fftwSinglePrec.dev}/include"
- "LIBTIFFDIR=${libtiff.dev}/include"
- ];
-
- meta = {
- homepage = http://qtpfsgui.sourceforge.net/;
- description = "Qtpfsqui, a graphical application for high dynamic range (HDR) imaging";
-
- longDescription =
- '' Qtpfsgui is an open source graphical user interface application that
- aims to provide a workflow for high dynamic range (HDR) imaging.
- '';
-
- license = stdenv.lib.licenses.gpl2Plus;
-
- maintainers = [ ];
- platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/applications/graphics/rapcad/default.nix b/pkgs/applications/graphics/rapcad/default.nix
index b300c0071fa..7e9547c1067 100644
--- a/pkgs/applications/graphics/rapcad/default.nix
+++ b/pkgs/applications/graphics/rapcad/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "0.9.8";
- name = "rapcad-${version}";
+ pname = "rapcad";
src = fetchFromGitHub {
owner = "gilesbathgate";
diff --git a/pkgs/applications/graphics/rapid-photo-downloader/default.nix b/pkgs/applications/graphics/rapid-photo-downloader/default.nix
index b244bed9294..28d05480dae 100644
--- a/pkgs/applications/graphics/rapid-photo-downloader/default.nix
+++ b/pkgs/applications/graphics/rapid-photo-downloader/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, python3Packages
+{ stdenv, mkDerivationWith, fetchurl, python3Packages
, file, intltool, gobject-introspection, libgudev
, udisks, gexiv2, gst_all_1, libnotify
-, exiftool, gdk_pixbuf, libmediainfo, vmtouch
+, exiftool, gdk-pixbuf, libmediainfo, vmtouch
}:
-python3Packages.buildPythonApplication rec {
+mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "rapid-photo-downloader";
- version = "0.9.14";
+ version = "0.9.16";
src = fetchurl {
url = "https://launchpad.net/rapid/pyqt/${version}/+download/${pname}-${version}.tar.gz";
- sha256 = "1nywkkyxlpzq3s9anza9k67j5689pfclfha218frih36qdb0j258";
+ sha256 = "0ij3li17jcqjx79ldv6zg2ckn8m2l9n4xvvq2x79y4q8yx9fqg85";
};
# Disable version check and fix install tests
@@ -33,7 +33,7 @@ python3Packages.buildPythonApplication rec {
# NOTE: Without gobject-introspection in buildInputs, launching fails with
# "Namespace [Notify / GExiv2 / GUdev] not available"
buildInputs = [
- gdk_pixbuf
+ gdk-pixbuf
gexiv2
gobject-introspection
gst_all_1.gst-libav
@@ -64,6 +64,7 @@ python3Packages.buildPythonApplication rec {
requests
colorlog
pyprind
+ tenacity
];
makeWrapperArgs = [
@@ -72,6 +73,7 @@ python3Packages.buildPythonApplication rec {
"--prefix PATH : ${stdenv.lib.makeBinPath [ exiftool vmtouch ]}"
"--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libmediainfo ]}"
"--prefix GST_PLUGIN_SYSTEM_PATH_1_0 : \"$GST_PLUGIN_SYSTEM_PATH_1_0\""
+ "\${qtWrapperArgs[@]}"
];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/graphics/renderdoc/default.nix b/pkgs/applications/graphics/renderdoc/default.nix
index 3fd4521d7cd..594429503a3 100644
--- a/pkgs/applications/graphics/renderdoc/default.nix
+++ b/pkgs/applications/graphics/renderdoc/default.nix
@@ -13,7 +13,7 @@ let
in
stdenv.mkDerivation rec {
version = "1.4";
- name = "renderdoc-${version}";
+ pname = "renderdoc";
src = fetchFromGitHub {
owner = "baldurk";
diff --git a/pkgs/applications/graphics/runwayml/default.nix b/pkgs/applications/graphics/runwayml/default.nix
new file mode 100644
index 00000000000..c527ce2b229
--- /dev/null
+++ b/pkgs/applications/graphics/runwayml/default.nix
@@ -0,0 +1,45 @@
+{ lib
+, fetchurl
+, appimageTools
+, symlinkJoin
+}:
+
+let
+ pname = "runwayml";
+ version = "0.9.0";
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "https://runway-releases.s3.amazonaws.com/Runway%20${version}.AppImage";
+ sha256 = "0rg7ipp7kx0l4qgcymfg5d3saz0c6d2j0c6rf28rwqgbm92gbjjq";
+ name="${pname}-${version}.AppImage";
+ };
+
+ binary = appimageTools.wrapType2 {
+ name = pname;
+ inherit src;
+ };
+ # we only use this to extract the icon
+ appimage-contents = appimageTools.extractType2 {
+ inherit name src;
+ };
+
+in
+ symlinkJoin {
+ inherit name;
+ paths = [ binary ];
+
+ postBuild = ''
+ mkdir -p $out/share/pixmaps/ $out/share/applications
+ cp ${appimage-contents}/usr/share/icons/hicolor/1024x1024/apps/runway.png $out/share/pixmaps/runway.png
+ sed 's:Exec=AppRun:Exec=runwayml:' ${appimage-contents}/runway.desktop > $out/share/applications/runway.desktop
+ '';
+
+ meta = with lib; {
+ description = "Machine learning for creators";
+ homepage = https://runwayml.com/;
+ license = licenses.unfree;
+ maintainers = with maintainers; [ prusnak ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/graphics/sane/backends/dsseries/default.nix b/pkgs/applications/graphics/sane/backends/dsseries/default.nix
index 01c203b407c..d4165be3784 100644
--- a/pkgs/applications/graphics/sane/backends/dsseries/default.nix
+++ b/pkgs/applications/graphics/sane/backends/dsseries/default.nix
@@ -1,18 +1,18 @@
{ stdenv, fetchurl, rpmextract }:
stdenv.mkDerivation rec {
- name = "libsane-dsseries-${version}";
+ pname = "libsane-dsseries";
version = "1.0.5-1";
src = fetchurl {
- url = "https://download.brother.com/welcome/dlf100974/${name}.x86_64.rpm";
+ url = "https://download.brother.com/welcome/dlf100974/${pname}-${version}.x86_64.rpm";
sha256 = "1wfdbfbf51cc7njzikdg48kwpnpc0pg5s6p0s0y3z0q7y59x2wbq";
};
nativeBuildInputs = [ rpmextract ];
unpackCmd = ''
- mkdir ${name} && pushd ${name}
+ mkdir ${pname}-${version} && pushd ${pname}-${version}
rpmextract $curSrc
popd
'';
diff --git a/pkgs/applications/graphics/sane/frontends.nix b/pkgs/applications/graphics/sane/frontends.nix
index f6994db81e4..66473c4a155 100644
--- a/pkgs/applications/graphics/sane/frontends.nix
+++ b/pkgs/applications/graphics/sane/frontends.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, sane-backends, libX11, gtk2, pkgconfig, libusb ? null }:
stdenv.mkDerivation rec {
- name = "sane-frontends-${version}";
+ pname = "sane-frontends";
version = "1.0.14";
src = fetchurl {
- url = "https://alioth.debian.org/frs/download.php/latestfile/175/${name}.tar.gz";
+ url = "https://alioth.debian.org/frs/download.php/latestfile/175/${pname}-${version}.tar.gz";
sha256 = "1ad4zr7rcxpda8yzvfkq1rfjgx9nl6lan5a628wvpdbh3fn9v0z7";
};
diff --git a/pkgs/applications/graphics/scantailor/advanced.nix b/pkgs/applications/graphics/scantailor/advanced.nix
index d55441e39fa..63f16f688ac 100644
--- a/pkgs/applications/graphics/scantailor/advanced.nix
+++ b/pkgs/applications/graphics/scantailor/advanced.nix
@@ -3,7 +3,7 @@
, qtbase, qttools }:
stdenv.mkDerivation rec {
- name = "scantailor-advanced-${version}";
+ pname = "scantailor-advanced";
version = "1.0.16";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/scantailor/default.nix b/pkgs/applications/graphics/scantailor/default.nix
index 395179ff70a..14efe48f30d 100644
--- a/pkgs/applications/graphics/scantailor/default.nix
+++ b/pkgs/applications/graphics/scantailor/default.nix
@@ -1,6 +1,6 @@
{stdenv, fetchurl, qt4, cmake, libjpeg, libtiff, boost }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "scantailor-0.9.12.1";
src = fetchurl {
diff --git a/pkgs/applications/graphics/screencloud/default.nix b/pkgs/applications/graphics/screencloud/default.nix
index 292ae9c8faa..88bbbd9d864 100644
--- a/pkgs/applications/graphics/screencloud/default.nix
+++ b/pkgs/applications/graphics/screencloud/default.nix
@@ -2,7 +2,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "screencloud-${version}";
+ pname = "screencloud";
version = "1.2.0";
# API Keys. According to the author of the AUR package, these are only used
diff --git a/pkgs/applications/graphics/shotwell/default.nix b/pkgs/applications/graphics/shotwell/default.nix
index c8ada0e85fe..79bc743fbf0 100644
--- a/pkgs/applications/graphics/shotwell/default.nix
+++ b/pkgs/applications/graphics/shotwell/default.nix
@@ -1,6 +1,5 @@
{ stdenv
, fetchurl
-, fetchpatch
, meson
, ninja
, gtk3
@@ -25,7 +24,7 @@
, librest
, gettext
, desktop-file-utils
-, gdk_pixbuf
+, gdk-pixbuf
, librsvg
, wrapGAppsHook
, gobject-introspection
@@ -78,7 +77,7 @@ stdenv.mkDerivation rec {
libraw
json-glib
glib
- gdk_pixbuf
+ gdk-pixbuf
librsvg
librest
gcr
diff --git a/pkgs/applications/graphics/shutter/default.nix b/pkgs/applications/graphics/shutter/default.nix
index 5800fb6df3c..957692b4ba1 100644
--- a/pkgs/applications/graphics/shutter/default.nix
+++ b/pkgs/applications/graphics/shutter/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, perlPackages, makeWrapper, imagemagick, gdk_pixbuf, librsvg
+{ stdenv, fetchurl, perlPackages, makeWrapper, imagemagick, gdk-pixbuf, librsvg
, hicolor-icon-theme, procps
}:
@@ -13,16 +13,16 @@ let
EncodeLocale TryTiny TypesSerialiser LWPMediaTypes
];
in
-stdenv.mkDerivation rec {
- name = "shutter-0.94.2";
+stdenv.mkDerivation {
+ name = "shutter-0.94.3";
src = fetchurl {
- url = "https://launchpad.net/shutter/0.9x/0.94.2/+download/shutter-0.94.2.tar.gz";
- sha256 = "0mas7npm935j4rhqqjn226822s9sa4bsxrkp0b5fjj3z096k6vw0";
+ url = "https://launchpad.net/shutter/0.9x/0.94.3/+download/shutter-0.94.3.tar.gz";
+ sha256 = "01wv5k6zqfqa2rss461lpdpjxpfk4awzfdc6j2qk6bh4g4zgmgl5";
};
nativeBuildInputs = [ makeWrapper ];
- buildInputs = [ perlPackages.perl procps gdk_pixbuf librsvg ] ++ perlModules;
+ buildInputs = [ perlPackages.perl procps gdk-pixbuf librsvg ] ++ perlModules;
installPhase = ''
mkdir -p "$out"
diff --git a/pkgs/applications/graphics/swingsane/default.nix b/pkgs/applications/graphics/swingsane/default.nix
index d0f2a48c589..f56646e5aed 100644
--- a/pkgs/applications/graphics/swingsane/default.nix
+++ b/pkgs/applications/graphics/swingsane/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeDesktopItem, unzip, jre, runtimeShell }:
stdenv.mkDerivation rec {
- name = "swingsane-${version}";
+ pname = "swingsane";
version = "0.2";
src = fetchurl {
diff --git a/pkgs/applications/graphics/synfigstudio/default.nix b/pkgs/applications/graphics/synfigstudio/default.nix
index b399dd2d228..188f7cb2934 100644
--- a/pkgs/applications/graphics/synfigstudio/default.nix
+++ b/pkgs/applications/graphics/synfigstudio/default.nix
@@ -6,7 +6,7 @@
let
version = "1.0.2";
- ETL = stdenv.mkDerivation rec {
+ ETL = stdenv.mkDerivation {
name = "ETL-0.04.19";
src = fetchFromGitHub {
@@ -21,8 +21,9 @@ let
nativeBuildInputs = [ autoreconfHook ];
};
- synfig = stdenv.mkDerivation rec {
- name = "synfig-${version}";
+ synfig = stdenv.mkDerivation {
+ pname = "synfig";
+ inherit version;
src = fetchFromGitHub {
repo = "synfig";
@@ -46,8 +47,9 @@ let
meta.broken = true;
};
in
-stdenv.mkDerivation rec {
- name = "synfigstudio-${version}";
+stdenv.mkDerivation {
+ pname = "synfigstudio";
+ inherit version;
src = fetchFromGitHub {
repo = "synfig";
diff --git a/pkgs/applications/graphics/tesseract/tesseract3.nix b/pkgs/applications/graphics/tesseract/tesseract3.nix
index db0e06434aa..157c0b9742b 100644
--- a/pkgs/applications/graphics/tesseract/tesseract3.nix
+++ b/pkgs/applications/graphics/tesseract/tesseract3.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, pkgconfig
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig
, leptonica, libpng, libtiff, icu, pango, opencl-headers }:
stdenv.mkDerivation rec {
- name = "tesseract-${version}";
+ pname = "tesseract";
version = "3.05.00";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/tesseract/tesseract4.nix b/pkgs/applications/graphics/tesseract/tesseract4.nix
index df321023c74..548f58a50fb 100644
--- a/pkgs/applications/graphics/tesseract/tesseract4.nix
+++ b/pkgs/applications/graphics/tesseract/tesseract4.nix
@@ -2,14 +2,14 @@
, leptonica, libpng, libtiff, icu, pango, opencl-headers }:
stdenv.mkDerivation rec {
- name = "tesseract-${version}";
- version = "4.0.0";
+ pname = "tesseract";
+ version = "4.1.0";
src = fetchFromGitHub {
owner = "tesseract-ocr";
repo = "tesseract";
rev = version;
- sha256 = "1b5fi2vibc4kk9b30kkk4ais4bw8fbbv24bzr5709194hb81cav8";
+ sha256 = "06i7abxy2ifmdx1fak81cx0kns85n8hvp0339jk6242fhshibljx";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/graphics/timelapse-deflicker/default.nix b/pkgs/applications/graphics/timelapse-deflicker/default.nix
index b4ddb143685..8355545e8dd 100644
--- a/pkgs/applications/graphics/timelapse-deflicker/default.nix
+++ b/pkgs/applications/graphics/timelapse-deflicker/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, makeWrapper, perl, perlPackages }:
stdenv.mkDerivation rec {
- name = "timelapse-deflicker-${version}";
+ pname = "timelapse-deflicker";
version = "0.1.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/graphics/ufraw/default.nix b/pkgs/applications/graphics/ufraw/default.nix
index 50cd9485a3e..131d83f0d58 100644
--- a/pkgs/applications/graphics/ufraw/default.nix
+++ b/pkgs/applications/graphics/ufraw/default.nix
@@ -1,38 +1,70 @@
-{ fetchurl, stdenv, pkgconfig, gtk2, gettext, bzip2, zlib
-, withGimpPlugin ? true, gimp ? null
-, libjpeg, libtiff, cfitsio, exiv2, lcms2, gtkimageview, lensfun }:
+{ stdenv
+, fetchFromGitHub
+
+, autoconf
+, automake
+, autoreconfHook
+, bzip2
+, cfitsio
+, exiv2
+, gettext
+, gimp ? null
+, gtk2
+, gtkimageview
+, lcms2
+, lensfun
+, libjpeg
+, libtiff
+, perl
+, pkgconfig
+, zlib
+
+, withGimpPlugin ? true
+}:
assert withGimpPlugin -> gimp != null;
-stdenv.mkDerivation rec {
- name = "ufraw-0.22";
+stdenv.mkDerivation {
+ pname = "ufraw";
+ version = "unstable-2019-06-12";
- src = fetchurl {
- # XXX: These guys appear to mutate uploaded tarballs!
- url = "mirror://sourceforge/ufraw/${name}.tar.gz";
- sha256 = "0pm216pg0vr44gwz9vcvq3fsf8r5iayljhf5nis2mnw7wn6d5azp";
+ # The original ufraw repo is unmaintained and broken;
+ # this is a fork that collects patches
+ src = fetchFromGitHub {
+ owner = "sergiomb2";
+ repo = "ufraw";
+ rev = "c65b4237dcb430fb274e4778afaf5df9a18e04e6";
+ sha256 = "02icn67bsinvgliy62qa6v7gmwgp2sh15jvm8iiz3c7g1h74f0b7";
};
outputs = [ "out" ] ++ stdenv.lib.optional withGimpPlugin "gimpPlugin";
- nativeBuildInputs = [ pkgconfig gettext ];
+ nativeBuildInputs = [ autoconf automake autoreconfHook gettext perl pkgconfig ];
+
buildInputs = [
- gtk2 gtkimageview bzip2 zlib
- libjpeg libtiff cfitsio exiv2 lcms2 lensfun
+ bzip2
+ cfitsio
+ exiv2
+ gtk2
+ gtkimageview
+ lcms2
+ lensfun
+ libjpeg
+ libtiff
+ zlib
] ++ stdenv.lib.optional withGimpPlugin gimp;
configureFlags = [
- "--enable-extras"
- "--enable-dst-correction"
"--enable-contrast"
+ "--enable-dst-correction"
] ++ stdenv.lib.optional withGimpPlugin "--with-gimp";
postInstall = stdenv.lib.optionalString withGimpPlugin ''
moveToOutput "lib/gimp" "$gimpPlugin"
'';
- meta = {
- homepage = http://ufraw.sourceforge.net/;
+ meta = with stdenv.lib; {
+ homepage = https://github.com/sergiomb2/ufraw;
description = "Utility to read and manipulate raw images from digital cameras";
@@ -46,9 +78,9 @@ stdenv.mkDerivation rec {
the camera's tone curves.
'';
- license = stdenv.lib.licenses.gpl2Plus;
+ license = licenses.gpl2Plus;
- maintainers = [ ];
- platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux; # needs GTK+
+ maintainers = with maintainers; [ gloaming ];
+ platforms = with platforms; all;
};
}
diff --git a/pkgs/applications/graphics/unigine-valley/default.nix b/pkgs/applications/graphics/unigine-valley/default.nix
index 3a139f3740c..09abfc60a52 100644
--- a/pkgs/applications/graphics/unigine-valley/default.nix
+++ b/pkgs/applications/graphics/unigine-valley/default.nix
@@ -27,7 +27,8 @@ let
in
stdenv.mkDerivation rec {
- name = "unigine-valley-${version}";
+ pname = "unigine-valley";
+ inherit version;
src = fetchurl {
url = "http://assets.unigine.com/d/Unigine_Valley-${version}.run";
diff --git a/pkgs/applications/graphics/viewnior/default.nix b/pkgs/applications/graphics/viewnior/default.nix
index 5afd7a0237d..4f5fb12faa6 100644
--- a/pkgs/applications/graphics/viewnior/default.nix
+++ b/pkgs/applications/graphics/viewnior/default.nix
@@ -1,21 +1,21 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk2, libpng, exiv2, lcms
-, intltool, gettext, shared-mime-info, glib, gdk_pixbuf, perl}:
+, intltool, gettext, shared-mime-info, glib, gdk-pixbuf, perl}:
stdenv.mkDerivation rec {
- name = "viewnior-${version}";
+ pname = "viewnior";
version = "1.6";
src = fetchFromGitHub {
owner = "xsisqox";
repo = "Viewnior";
- rev = name;
+ rev = "${pname}-${version}";
sha256 = "06ppv3r85l3id4ij6h4y5fgm3nib2587fdrdv9fccyi75zk7fs0p";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs =
[ pkgconfig gtk2 libpng exiv2 lcms intltool gettext
- shared-mime-info glib gdk_pixbuf perl
+ shared-mime-info glib gdk-pixbuf perl
];
preFixup = ''
diff --git a/pkgs/applications/graphics/write_stylus/default.nix b/pkgs/applications/graphics/write_stylus/default.nix
index e11bc3dd5bb..232eeeb0115 100644
--- a/pkgs/applications/graphics/write_stylus/default.nix
+++ b/pkgs/applications/graphics/write_stylus/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, qtbase, qtsvg, libglvnd, fetchurl, makeDesktopItem }:
stdenv.mkDerivation rec {
- name = "write_stylus-${version}";
+ pname = "write_stylus";
version = "209";
desktopItem = makeDesktopItem {
diff --git a/pkgs/applications/graphics/xaos/default.nix b/pkgs/applications/graphics/xaos/default.nix
index 182f68f3112..e80362c386b 100644
--- a/pkgs/applications/graphics/xaos/default.nix
+++ b/pkgs/applications/graphics/xaos/default.nix
@@ -2,11 +2,11 @@
, libXt, zlib, gettext, intltool, perl }:
stdenv.mkDerivation rec {
- name = "xaos-${version}";
+ pname = "xaos";
version = "3.6";
src = fetchurl {
- url = "mirror://sourceforge/xaos/${name}.tar.gz";
+ url = "mirror://sourceforge/xaos/${pname}-${version}.tar.gz";
sha256 = "15cd1cx1dyygw6g2nhjqq3bsfdj8sj8m4va9n75i0f3ryww3x7wq";
};
diff --git a/pkgs/applications/graphics/xfig/default.nix b/pkgs/applications/graphics/xfig/default.nix
index 429af12b9bb..fe5a1370332 100644
--- a/pkgs/applications/graphics/xfig/default.nix
+++ b/pkgs/applications/graphics/xfig/default.nix
@@ -6,7 +6,8 @@ let
version = "3.2.7a";
in stdenv.mkDerivation {
- name = "xfig-${version}";
+ pname = "xfig";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/mcj/xfig-${version}.tar.xz";
diff --git a/pkgs/applications/graphics/xfractint/default.nix b/pkgs/applications/graphics/xfractint/default.nix
index 2269f1c18f1..ae4765fc9e7 100644
--- a/pkgs/applications/graphics/xfractint/default.nix
+++ b/pkgs/applications/graphics/xfractint/default.nix
@@ -1,6 +1,5 @@
{stdenv, fetchurl, libX11, libXft}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "xfractint";
version = "20.04p14";
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
diff --git a/pkgs/applications/graphics/xournalpp/default.nix b/pkgs/applications/graphics/xournalpp/default.nix
index 30a8907275b..41539f32b07 100644
--- a/pkgs/applications/graphics/xournalpp/default.nix
+++ b/pkgs/applications/graphics/xournalpp/default.nix
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
-, fetchpatch
, cmake
, gettext
@@ -14,39 +13,26 @@
, hicolor-icon-theme
, libsndfile
, libxml2
+, libzip
, pcre
, poppler
, portaudio
, zlib
-
-# Plugins don't appear to be working in this version, so disable them by not
-# building with Lua support by default. In a future version, try switching this
-# to 'true' and seeing if the top-level Plugin menu appears.
-, withLua ? false, lua
+# plugins
+, withLua ? true, lua
}:
stdenv.mkDerivation rec {
- name = "xournalpp-${version}";
- version = "1.0.8";
+ pname = "xournalpp";
+ version = "1.0.12";
src = fetchFromGitHub {
owner = "xournalpp";
repo = "xournalpp";
rev = version;
- sha256 = "01q84xjp9z1krna10gjj562km6i3wdq8cg7paxax1k6bh52ryvf6";
+ sha256 = "0yg70hsx58s3wb5kzccivrqa7kvmdapygxmif1j64hddah2rqcn9";
};
- patches = [
- # This patch removes the unused 'xopp-recording.sh' file which breaks the
- # cmake build; this patch isn't in a release yet, and should be removed at
- # or after 1.0.9 is released.
- (fetchpatch {
- name = "remove-xopp-recording.sh.patch";
- url = "https://github.com/xournalpp/xournalpp/commit/a17a3f2c80c607a22d0fdeb66d38358bea7e4d85.patch";
- sha256 = "10pcpvklm6kr0lv2xrsbpg2037ni9j6dmxgjf56p466l3gz60iwy";
- })
- ];
-
nativeBuildInputs = [ cmake gettext pkgconfig wrapGAppsHook ];
buildInputs =
[ glib
@@ -55,6 +41,7 @@ stdenv.mkDerivation rec {
hicolor-icon-theme
libsndfile
libxml2
+ libzip
pcre
poppler
portaudio
@@ -62,6 +49,8 @@ stdenv.mkDerivation rec {
]
++ lib.optional withLua lua;
+ hardeningDisable = [ "format" ];
+
enableParallelBuilding = true;
meta = with stdenv.lib; {
diff --git a/pkgs/applications/graphics/xzgv/default.nix b/pkgs/applications/graphics/xzgv/default.nix
index 69ab67dffb7..de3f3a78988 100644
--- a/pkgs/applications/graphics/xzgv/default.nix
+++ b/pkgs/applications/graphics/xzgv/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, gtk2, libexif, pkgconfig, texinfo }:
stdenv.mkDerivation rec {
- name = "xzgv-${version}";
+ pname = "xzgv";
version = "0.9.2";
src = fetchurl {
url = "mirror://sourceforge/xzgv/xzgv-${version}.tar.gz";
diff --git a/pkgs/applications/graphics/yacreader/default.nix b/pkgs/applications/graphics/yacreader/default.nix
index 3cf42343658..e545dd5a723 100644
--- a/pkgs/applications/graphics/yacreader/default.nix
+++ b/pkgs/applications/graphics/yacreader/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "yacreader-${version}";
+ pname = "yacreader";
version = "9.5.0";
src = fetchurl {
- url = "https://github.com/YACReader/yacreader/releases/download/${version}/${name}-src.tar.xz";
+ url = "https://github.com/YACReader/yacreader/releases/download/${version}/${pname}-${version}-src.tar.xz";
sha256 = "0cv5y76kjvsqsv4fp99j8np5pm4m76868i1nn40q6hy573dmxwm6";
};
diff --git a/pkgs/applications/graphics/yed/default.nix b/pkgs/applications/graphics/yed/default.nix
index 799ceef1bed..0038d41475f 100644
--- a/pkgs/applications/graphics/yed/default.nix
+++ b/pkgs/applications/graphics/yed/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchzip, makeWrapper, unzip, jre }:
stdenv.mkDerivation rec {
- name = "yEd-${version}";
+ pname = "yEd";
version = "3.19";
src = fetchzip {
- url = "https://www.yworks.com/resources/yed/demo/${name}.zip";
+ url = "https://www.yworks.com/resources/yed/demo/${pname}-${version}.zip";
sha256 = "0l70pc7wl2ghfkjab9w2mbx7crwha7xwkrpmspsi5c6q56dw7s33";
};
diff --git a/pkgs/applications/graphics/zgrviewer/default.nix b/pkgs/applications/graphics/zgrviewer/default.nix
index ac3d303a7a6..db07b9e1db4 100644
--- a/pkgs/applications/graphics/zgrviewer/default.nix
+++ b/pkgs/applications/graphics/zgrviewer/default.nix
@@ -2,9 +2,8 @@
stdenv.mkDerivation rec {
version = "0.9.0";
pname = "zgrviewer";
- name="${pname}-${version}";
src = fetchurl {
- url = "mirror://sourceforge/zvtm/${pname}/${version}/${name}.zip";
+ url = "mirror://sourceforge/zvtm/${pname}/${version}/${pname}-${version}.zip";
sha256 = "1yg2rck81sqqrgfi5kn6c1bz42dr7d0zqpcsdjhicssi1y159f23";
};
buildInputs = [jre unzip];
diff --git a/pkgs/applications/graphics/zgv/default.nix b/pkgs/applications/graphics/zgv/default.nix
index 7a49e5b2cb7..8ef705f7ef4 100644
--- a/pkgs/applications/graphics/zgv/default.nix
+++ b/pkgs/applications/graphics/zgv/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, SDL, SDL_image, libjpeg, libpng, libtiff }:
stdenv.mkDerivation rec {
- name = "zgv-${version}";
+ pname = "zgv";
version = "5.9";
src = fetchurl {
- url = "https://www.svgalib.org/rus/zgv/${name}.tar.gz";
+ url = "https://www.svgalib.org/rus/zgv/${pname}-${version}.tar.gz";
sha256 = "1fk4i9x0cpnpn3llam0zy2pkmhlr2hy3iaxhxg07v9sizd4dircj";
};
diff --git a/pkgs/applications/kde/akonadi/0001-Revert-Make-Akonadi-installation-properly-relocatabl.patch b/pkgs/applications/kde/akonadi/0001-Revert-Make-Akonadi-installation-properly-relocatabl.patch
index 24ed20fd83f..c3964c5c05b 100644
--- a/pkgs/applications/kde/akonadi/0001-Revert-Make-Akonadi-installation-properly-relocatabl.patch
+++ b/pkgs/applications/kde/akonadi/0001-Revert-Make-Akonadi-installation-properly-relocatabl.patch
@@ -9,11 +9,11 @@ This reverts commit b2bb55f13f2ac783f89cc414de8c39f62fa2096a.
KF5AkonadiConfig.cmake.in | 6 +++---
2 files changed, 3 insertions(+), 6 deletions(-)
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 9788bea94..15bad00fd 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -285,9 +285,6 @@ configure_package_config_file(
+Index: akonadi-19.08.0/CMakeLists.txt
+===================================================================
+--- akonadi-19.08.0.orig/CMakeLists.txt
++++ akonadi-19.08.0/CMakeLists.txt
+@@ -306,9 +306,6 @@ configure_package_config_file(
"${CMAKE_CURRENT_SOURCE_DIR}/KF5AkonadiConfig.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/KF5AkonadiConfig.cmake"
INSTALL_DESTINATION ${CMAKECONFIG_INSTALL_DIR}
@@ -23,13 +23,13 @@ index 9788bea94..15bad00fd 100644
)
install(FILES
-diff --git a/KF5AkonadiConfig.cmake.in b/KF5AkonadiConfig.cmake.in
-index 75abede50..10f039376 100644
---- a/KF5AkonadiConfig.cmake.in
-+++ b/KF5AkonadiConfig.cmake.in
-@@ -13,8 +13,8 @@ find_dependency(KF5ConfigWidgets "@KF5_VERSION@")
- find_dependency(Qt5DBus "@QT_REQUIRED_VERSION@")
- find_dependency(Qt5Network "@QT_REQUIRED_VERSION@")
+Index: akonadi-19.08.0/KF5AkonadiConfig.cmake.in
+===================================================================
+--- akonadi-19.08.0.orig/KF5AkonadiConfig.cmake.in
++++ akonadi-19.08.0/KF5AkonadiConfig.cmake.in
+@@ -26,8 +26,8 @@ if(BUILD_TESTING)
+ find_dependency(Qt5Test "@QT_REQUIRED_VERSION@")
+ endif()
-set_and_check(AKONADI_DBUS_INTERFACES_DIR "@PACKAGE_AKONADI_DBUS_INTERFACES_INSTALL_DIR@")
-set_and_check(AKONADI_INCLUDE_DIR "@PACKAGE_AKONADI_INCLUDE_DIR@")
@@ -38,15 +38,12 @@ index 75abede50..10f039376 100644
find_dependency(Boost "@Boost_MINIMUM_VERSION@")
-@@ -22,7 +22,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/KF5AkonadiTargets.cmake)
+@@ -35,7 +35,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/KF5Ako
include(${CMAKE_CURRENT_LIST_DIR}/KF5AkonadiMacros.cmake)
# The directory where akonadi-xml.xsd and kcfg2dbus.xsl are installed
-set(KF5Akonadi_DATA_DIR "@PACKAGE_KF5Akonadi_DATA_DIR@")
+set(KF5Akonadi_DATA_DIR "@KF5Akonadi_DATA_DIR@")
-
+
####################################################################################
# CMAKE_AUTOMOC
---
-2.15.1
-
diff --git a/pkgs/applications/kde/akonadi/akonadi-paths.patch b/pkgs/applications/kde/akonadi/akonadi-paths.patch
index fcbbbbb72eb..ba6bbedeeae 100644
--- a/pkgs/applications/kde/akonadi/akonadi-paths.patch
+++ b/pkgs/applications/kde/akonadi/akonadi-paths.patch
@@ -1,8 +1,8 @@
-diff --git a/src/akonadicontrol/agentmanager.cpp b/src/akonadicontrol/agentmanager.cpp
-index d85c1a79b..8df02710c 100644
---- a/src/akonadicontrol/agentmanager.cpp
-+++ b/src/akonadicontrol/agentmanager.cpp
-@@ -78,12 +78,12 @@ AgentManager::AgentManager(bool verbose, QObject *parent)
+Index: akonadi-19.08.0/src/akonadicontrol/agentmanager.cpp
+===================================================================
+--- akonadi-19.08.0.orig/src/akonadicontrol/agentmanager.cpp
++++ akonadi-19.08.0/src/akonadicontrol/agentmanager.cpp
+@@ -78,12 +78,12 @@ AgentManager::AgentManager(bool verbose,
mStorageController = new Akonadi::ProcessControl;
mStorageController->setShutdownTimeout(15 * 1000); // the server needs more time for shutdown if we are using an internal mysqld
connect(mStorageController, &Akonadi::ProcessControl::unableToStart, this, &AgentManager::serverFailure);
@@ -17,11 +17,11 @@ index d85c1a79b..8df02710c 100644
}
}
-diff --git a/src/akonadicontrol/agentprocessinstance.cpp b/src/akonadicontrol/agentprocessinstance.cpp
-index be1cc4afb..6d0c1d7e5 100644
---- a/src/akonadicontrol/agentprocessinstance.cpp
-+++ b/src/akonadicontrol/agentprocessinstance.cpp
-@@ -62,7 +62,7 @@ bool AgentProcessInstance::start(const AgentType &agentInfo)
+Index: akonadi-19.08.0/src/akonadicontrol/agentprocessinstance.cpp
+===================================================================
+--- akonadi-19.08.0.orig/src/akonadicontrol/agentprocessinstance.cpp
++++ akonadi-19.08.0/src/akonadicontrol/agentprocessinstance.cpp
+@@ -62,7 +62,7 @@ bool AgentProcessInstance::start(const A
} else {
Q_ASSERT(agentInfo.launchMethod == AgentType::Launcher);
const QStringList arguments = QStringList() << executable << identifier();
@@ -30,11 +30,11 @@ index be1cc4afb..6d0c1d7e5 100644
mController->start(agentLauncherExec, arguments);
}
return true;
-diff --git a/src/server/storage/dbconfigmysql.cpp b/src/server/storage/dbconfigmysql.cpp
-index dfff6fc29..419e54a5b 100644
---- a/src/server/storage/dbconfigmysql.cpp
-+++ b/src/server/storage/dbconfigmysql.cpp
-@@ -82,7 +82,6 @@ bool DbConfigMysql::init(QSettings &settings)
+Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
+===================================================================
+--- akonadi-19.08.0.orig/src/server/storage/dbconfigmysql.cpp
++++ akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
+@@ -83,7 +83,6 @@ bool DbConfigMysql::init(QSettings &sett
// determine default settings depending on the driver
QString defaultHostName;
QString defaultOptions;
@@ -42,7 +42,7 @@ index dfff6fc29..419e54a5b 100644
QString defaultCleanShutdownCommand;
#ifndef Q_OS_WIN
-@@ -90,16 +89,7 @@ bool DbConfigMysql::init(QSettings &settings)
+@@ -92,16 +91,7 @@ bool DbConfigMysql::init(QSettings &sett
#endif
const bool defaultInternalServer = true;
@@ -59,8 +59,8 @@ index dfff6fc29..419e54a5b 100644
+ const QString mysqladminPath = QLatin1String(NIXPKGS_MYSQL_MYSQLADMIN);
if (!mysqladminPath.isEmpty()) {
#ifndef Q_OS_WIN
- defaultCleanShutdownCommand = QStringLiteral("%1 --defaults-file=%2/mysql.conf --socket=%3/mysql.socket shutdown")
-@@ -109,10 +99,10 @@ bool DbConfigMysql::init(QSettings &settings)
+ defaultCleanShutdownCommand = QStringLiteral("%1 --defaults-file=%2/mysql.conf --socket=%3/%4 shutdown")
+@@ -111,10 +101,10 @@ bool DbConfigMysql::init(QSettings &sett
#endif
}
@@ -73,7 +73,7 @@ index dfff6fc29..419e54a5b 100644
qCDebug(AKONADISERVER_LOG) << "Found mysqlcheck: " << mMysqlCheckPath;
mInternalServer = settings.value(QStringLiteral("QMYSQL/StartServer"), defaultInternalServer).toBool();
-@@ -129,7 +119,7 @@ bool DbConfigMysql::init(QSettings &settings)
+@@ -131,7 +121,7 @@ bool DbConfigMysql::init(QSettings &sett
mUserName = settings.value(QStringLiteral("User")).toString();
mPassword = settings.value(QStringLiteral("Password")).toString();
mConnectionOptions = settings.value(QStringLiteral("Options"), defaultOptions).toString();
@@ -82,7 +82,7 @@ index dfff6fc29..419e54a5b 100644
mCleanServerShutdownCommand = settings.value(QStringLiteral("CleanServerShutdownCommand"), defaultCleanShutdownCommand).toString();
settings.endGroup();
-@@ -139,9 +129,6 @@ bool DbConfigMysql::init(QSettings &settings)
+@@ -141,9 +131,6 @@ bool DbConfigMysql::init(QSettings &sett
// intentionally not namespaced as we are the only one in this db instance when using internal mode
mDatabaseName = QStringLiteral("akonadi");
}
@@ -92,7 +92,7 @@ index dfff6fc29..419e54a5b 100644
qCDebug(AKONADISERVER_LOG) << "Using mysqld:" << mMysqldPath;
-@@ -150,9 +137,6 @@ bool DbConfigMysql::init(QSettings &settings)
+@@ -152,9 +139,6 @@ bool DbConfigMysql::init(QSettings &sett
settings.setValue(QStringLiteral("Name"), mDatabaseName);
settings.setValue(QStringLiteral("Host"), mHostName);
settings.setValue(QStringLiteral("Options"), mConnectionOptions);
@@ -102,7 +102,7 @@ index dfff6fc29..419e54a5b 100644
settings.setValue(QStringLiteral("StartServer"), mInternalServer);
settings.endGroup();
settings.sync();
-@@ -206,7 +190,7 @@ bool DbConfigMysql::startInternalServer()
+@@ -209,7 +193,7 @@ bool DbConfigMysql::startInternalServer(
#endif
// generate config file
@@ -111,56 +111,35 @@ index dfff6fc29..419e54a5b 100644
const QString localConfig = StandardDirs::locateResourceFile("config", QStringLiteral("mysql-local.conf"));
const QString actualConfig = StandardDirs::saveDir("data") + QLatin1String("/mysql.conf");
if (globalConfig.isEmpty()) {
-diff --git a/src/server/storage/dbconfigpostgresql.cpp b/src/server/storage/dbconfigpostgresql.cpp
-index 6b50ae50e..f94a8c5eb 100644
---- a/src/server/storage/dbconfigpostgresql.cpp
-+++ b/src/server/storage/dbconfigpostgresql.cpp
-@@ -58,7 +58,6 @@ bool DbConfigPostgresql::init(QSettings &settings)
+Index: akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
+===================================================================
+--- akonadi-19.08.0.orig/src/server/storage/dbconfigpostgresql.cpp
++++ akonadi-19.08.0/src/server/storage/dbconfigpostgresql.cpp
+@@ -140,9 +140,7 @@ bool DbConfigPostgresql::init(QSettings
// determine default settings depending on the driver
QString defaultHostName;
QString defaultOptions;
- QString defaultServerPath;
QString defaultInitDbPath;
+- QString defaultPgUpgradePath;
QString defaultPgData;
-@@ -70,35 +69,7 @@ bool DbConfigPostgresql::init(QSettings &settings)
+ #ifndef Q_WS_WIN // We assume that PostgreSQL is running as service on Windows
+@@ -153,12 +151,8 @@ bool DbConfigPostgresql::init(QSettings
mInternalServer = settings.value(QStringLiteral("QPSQL/StartServer"), defaultInternalServer).toBool();
if (mInternalServer) {
-- QStringList postgresSearchPath;
+- const auto paths = postgresSearchPaths(QStringLiteral("/usr/lib/postgresql"));
-
--#ifdef POSTGRES_PATH
-- const QString dir(QStringLiteral(POSTGRES_PATH));
-- if (QDir(dir).exists()) {
-- postgresSearchPath << QStringLiteral(POSTGRES_PATH);
-- }
--#endif
-- postgresSearchPath << QStringLiteral("/usr/bin")
-- << QStringLiteral("/usr/sbin")
-- << QStringLiteral("/usr/local/sbin");
-- // Locale all versions in /usr/lib/postgresql (i.e. /usr/lib/postgresql/X.Y) in reversed
-- // sorted order, so we search from the newest one to the oldest.
-- QStringList postgresVersionedSearchPaths;
-- QDir versionedDir(QStringLiteral("/usr/lib/postgresql"));
-- if (versionedDir.exists()) {
-- const auto versionedDirs = versionedDir.entryInfoList(QDir::Dirs | QDir::NoDotAndDotDot, QDir::Name | QDir::Reversed);
-- for (const auto &path : versionedDirs) {
-- // Don't break once PostgreSQL 10 is released, but something more future-proof will be needed
-- if (path.fileName().startsWith(QLatin1String("10."))) {
-- postgresVersionedSearchPaths.prepend(path.absoluteFilePath() + QStringLiteral("/bin"));
-- } else {
-- postgresVersionedSearchPaths.append(path.absoluteFilePath() + QStringLiteral("/bin"));
-- }
-- }
-- }
-- postgresSearchPath.append(postgresVersionedSearchPaths);
-- defaultServerPath = QStandardPaths::findExecutable(QStringLiteral("pg_ctl"), postgresSearchPath);
-- defaultInitDbPath = QStandardPaths::findExecutable(QStringLiteral("initdb"), postgresSearchPath);
+- defaultServerPath = QStandardPaths::findExecutable(QStringLiteral("pg_ctl"), paths);
+- defaultInitDbPath = QStandardPaths::findExecutable(QStringLiteral("initdb"), paths);
+ defaultInitDbPath = QLatin1String(NIXPKGS_POSTGRES_INITDB);
defaultHostName = Utils::preferredSocketDirectory(StandardDirs::saveDir("data", QStringLiteral("db_misc")));
+- defaultPgUpgradePath = QStandardPaths::findExecutable(QStringLiteral("pg_upgrade"), paths);
defaultPgData = StandardDirs::saveDir("data", QStringLiteral("db_data"));
}
-@@ -118,10 +89,7 @@ bool DbConfigPostgresql::init(QSettings &settings)
+
+@@ -177,20 +171,14 @@ bool DbConfigPostgresql::init(QSettings
mUserName = settings.value(QStringLiteral("User")).toString();
mPassword = settings.value(QStringLiteral("Password")).toString();
mConnectionOptions = settings.value(QStringLiteral("Options"), defaultOptions).toString();
@@ -172,7 +151,18 @@ index 6b50ae50e..f94a8c5eb 100644
qCDebug(AKONADISERVER_LOG) << "Found pg_ctl:" << mServerPath;
mInitDbPath = settings.value(QStringLiteral("InitDbPath"), defaultInitDbPath).toString();
if (mInternalServer && mInitDbPath.isEmpty()) {
-@@ -142,7 +110,6 @@ bool DbConfigPostgresql::init(QSettings &settings)
+ mInitDbPath = defaultInitDbPath;
+ }
+ qCDebug(AKONADISERVER_LOG) << "Found initdb:" << mServerPath;
+- mPgUpgradePath = settings.value(QStringLiteral("UpgradePath"), defaultPgUpgradePath).toString();
+- if (mInternalServer && mPgUpgradePath.isEmpty()) {
+- mPgUpgradePath = defaultPgUpgradePath;
+- }
++ mPgUpgradePath = QLatin1String(NIXPKGS_POSTGRES_PG_UPGRADE);
+ qCDebug(AKONADISERVER_LOG) << "Found pg_upgrade:" << mPgUpgradePath;
+ mPgData = settings.value(QStringLiteral("PgData"), defaultPgData).toString();
+ if (mPgData.isEmpty()) {
+@@ -206,7 +194,6 @@ bool DbConfigPostgresql::init(QSettings
settings.setValue(QStringLiteral("Port"), mHostPort);
}
settings.setValue(QStringLiteral("Options"), mConnectionOptions);
@@ -180,6 +170,3 @@ index 6b50ae50e..f94a8c5eb 100644
settings.setValue(QStringLiteral("InitDbPath"), mInitDbPath);
settings.setValue(QStringLiteral("StartServer"), mInternalServer);
settings.endGroup();
---
-2.18.1
-
diff --git a/pkgs/applications/kde/akonadi/akonadi-timestamps.patch b/pkgs/applications/kde/akonadi/akonadi-timestamps.patch
index 25a835f5ba2..e299a6991f0 100644
--- a/pkgs/applications/kde/akonadi/akonadi-timestamps.patch
+++ b/pkgs/applications/kde/akonadi/akonadi-timestamps.patch
@@ -1,8 +1,8 @@
-Index: akonadi-17.04.0/src/server/storage/dbconfigmysql.cpp
+Index: akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
===================================================================
---- akonadi-17.04.0.orig/src/server/storage/dbconfigmysql.cpp
-+++ akonadi-17.04.0/src/server/storage/dbconfigmysql.cpp
-@@ -229,8 +229,7 @@ bool DbConfigMysql::startInternalServer(
+--- akonadi-19.08.0.orig/src/server/storage/dbconfigmysql.cpp
++++ akonadi-19.08.0/src/server/storage/dbconfigmysql.cpp
+@@ -235,8 +235,7 @@ bool DbConfigMysql::startInternalServer(
bool confUpdate = false;
QFile actualFile(actualConfig);
// update conf only if either global (or local) is newer than actual
diff --git a/pkgs/applications/kde/akonadi/default.nix b/pkgs/applications/kde/akonadi/default.nix
index cba0b1e59e3..b9a96394a67 100644
--- a/pkgs/applications/kde/akonadi/default.nix
+++ b/pkgs/applications/kde/akonadi/default.nix
@@ -25,6 +25,7 @@ mkDerivation {
''-DNIXPKGS_MYSQL_MYSQL_INSTALL_DB=\"${lib.getBin mysql}/bin/mysql_install_db\"''
''-DNIXPKGS_MYSQL_MYSQLCHECK=\"${lib.getBin mysql}/bin/mysqlcheck\"''
''-DNIXPKGS_POSTGRES_PG_CTL=\"\"''
+ ''-DNIXPKGS_POSTGRES_PG_UPGRADE=\"\"''
''-DNIXPKGS_POSTGRES_INITDB=\"\"''
];
preConfigure = ''
diff --git a/pkgs/applications/kde/ark/default.nix b/pkgs/applications/kde/ark/default.nix
index 598857f2e70..6015cb69d77 100644
--- a/pkgs/applications/kde/ark/default.nix
+++ b/pkgs/applications/kde/ark/default.nix
@@ -1,37 +1,39 @@
{
- mkDerivation, lib, makeWrapper,
+ mkDerivation, lib, config,
extra-cmake-modules, kdoctools,
- karchive, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, kitemmodels,
- khtml, kio, kparts, kpty, kservice, kwidgetsaddons, libarchive,
+ breeze-icons, karchive, kconfig, kcrash, kdbusaddons, ki18n,
+ kiconthemes, kitemmodels, khtml, kio, kparts, kpty, kservice, kwidgetsaddons,
+
+ libarchive, libzip,
# Archive tools
- p7zip, unzip, zip,
+ p7zip, lrzip,
# Unfree tools
unfreeEnableUnrar ? false, unrar,
}:
+let
+ extraTools = [ p7zip lrzip ] ++ lib.optional unfreeEnableUnrar unrar;
+in
+
mkDerivation {
name = "ark";
- nativeBuildInputs = [ extra-cmake-modules kdoctools makeWrapper ];
- propagatedBuildInputs = [
- karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio kitemmodels
- kparts kpty kservice kwidgetsaddons libarchive
- ];
- outputs = [ "out" "dev" ];
- postFixup =
- let
- PATH =
- lib.makeBinPath
- ([ p7zip unzip zip ] ++ lib.optional unfreeEnableUnrar unrar);
- in ''
- wrapProgram "$out/bin/ark" --prefix PATH : "${PATH}"
- '';
meta = {
license = with lib.licenses;
[ gpl2 lgpl3 ] ++ lib.optional unfreeEnableUnrar unfree;
maintainers = [ lib.maintainers.ttuegel ];
};
+
+ outputs = [ "out" "dev" ];
+ nativeBuildInputs = [ extra-cmake-modules kdoctools ];
+ buildInputs = [ libarchive libzip ] ++ extraTools;
+ propagatedBuildInputs = [
+ breeze-icons karchive kconfig kcrash kdbusaddons khtml ki18n kiconthemes kio
+ kitemmodels kparts kpty kservice kwidgetsaddons
+ ];
+
+ qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath extraTools) ];
}
diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix
index a2e10ee2c02..9b146aa5036 100644
--- a/pkgs/applications/kde/default.nix
+++ b/pkgs/applications/kde/default.nix
@@ -38,7 +38,7 @@ let
let
inherit (args) name;
sname = args.sname or name;
- inherit (srcs."${sname}") src version;
+ inherit (srcs.${sname}) src version;
mkDerivation =
libsForQt5.callPackage ({ mkDerivation }: mkDerivation) {};
in
@@ -60,7 +60,7 @@ let
inherit mkDerivation;
# Team of maintainers assigned to the KDE PIM suite
- kdepimTeam = with lib.maintainers; [ ttuegel vandenoever ];
+ kdepimTeam = with lib.maintainers; [ ttuegel vandenoever nyanloutre ];
};
in {
akonadi = callPackage ./akonadi {};
@@ -109,12 +109,14 @@ let
kdialog = callPackage ./kdialog.nix {};
keditbookmarks = callPackage ./keditbookmarks.nix {};
kfind = callPackage ./kfind.nix {};
+ kgeography = callPackage ./kgeography.nix {};
kget = callPackage ./kget.nix {};
kgpg = callPackage ./kgpg.nix {};
khelpcenter = callPackage ./khelpcenter.nix {};
kidentitymanagement = callPackage ./kidentitymanagement.nix {};
kig = callPackage ./kig.nix {};
kimap = callPackage ./kimap.nix {};
+ kipi-plugins = callPackage ./kipi-plugins.nix {};
kitinerary = callPackage ./kitinerary.nix {};
kio-extras = callPackage ./kio-extras.nix {};
kldap = callPackage ./kldap.nix {};
@@ -127,6 +129,7 @@ let
kmix = callPackage ./kmix.nix {};
kmplot = callPackage ./kmplot.nix {};
knotes = callPackage ./knotes.nix {};
+ kolf = callPackage ./kolf.nix {};
kolourpaint = callPackage ./kolourpaint.nix {};
kompare = callPackage ./kompare.nix {};
konsole = callPackage ./konsole.nix {};
@@ -170,6 +173,7 @@ let
pim-sieve-editor = callPackage ./pim-sieve-editor.nix {};
print-manager = callPackage ./print-manager.nix {};
spectacle = callPackage ./spectacle.nix {};
+ yakuake = callPackage ./yakuake.nix {};
# Okteta was removed from kde applications and will now be released independently
# Lets keep an alias for compatibility reasons
inherit okteta;
diff --git a/pkgs/applications/kde/fetch.sh b/pkgs/applications/kde/fetch.sh
index bd96cb96693..ee19f5cebfe 100644
--- a/pkgs/applications/kde/fetch.sh
+++ b/pkgs/applications/kde/fetch.sh
@@ -1 +1 @@
-WGET_ARGS=( https://download.kde.org/stable/applications/19.04.1/ )
+WGET_ARGS=( https://download.kde.org/stable/applications/19.08.1/ )
diff --git a/pkgs/applications/kde/kate.nix b/pkgs/applications/kde/kate.nix
index e6b4f6b6bdd..95ff6cf198b 100644
--- a/pkgs/applications/kde/kate.nix
+++ b/pkgs/applications/kde/kate.nix
@@ -13,6 +13,7 @@ mkDerivation {
license = with lib.licenses; [ gpl3 lgpl3 lgpl2 ];
maintainers = [ lib.maintainers.ttuegel ];
};
+
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ libgit2 ];
propagatedBuildInputs = [
diff --git a/pkgs/applications/kde/kcalc.nix b/pkgs/applications/kde/kcalc.nix
index 3cb89cb4daa..4e2a308b17f 100644
--- a/pkgs/applications/kde/kcalc.nix
+++ b/pkgs/applications/kde/kcalc.nix
@@ -2,7 +2,7 @@
mkDerivation, lib,
extra-cmake-modules, kdoctools,
gmp, kconfig, kconfigwidgets, kcrash, kguiaddons, ki18n, kinit,
- knotifications, kxmlgui,
+ knotifications, kxmlgui, mpfr,
}:
mkDerivation {
@@ -14,6 +14,6 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
gmp kconfig kconfigwidgets kcrash kguiaddons ki18n kinit knotifications
- kxmlgui
+ kxmlgui mpfr
];
}
diff --git a/pkgs/applications/kde/kdenlive.nix b/pkgs/applications/kde/kdenlive.nix
index a42210e6e40..b7c691e9594 100644
--- a/pkgs/applications/kde/kdenlive.nix
+++ b/pkgs/applications/kde/kdenlive.nix
@@ -1,6 +1,8 @@
{ mkDerivation
, lib
, extra-cmake-modules
+, breeze-icons
+, breeze-qt5
, kdoctools
, kconfig
, kcrash
@@ -19,7 +21,8 @@
, shared-mime-info
, libv4l
, kfilemetadata
-, ffmpeg
+, ffmpeg-full
+, frei0r
, phonon-backend-gstreamer
, qtdeclarative
, qtquickcontrols
@@ -37,6 +40,8 @@ mkDerivation {
kdoctools
];
buildInputs = [
+ breeze-icons
+ breeze-qt5
kconfig
kcrash
kdbusaddons
@@ -59,15 +64,19 @@ mkDerivation {
qtwebkit
shared-mime-info
libv4l
- ffmpeg
+ ffmpeg-full
+ frei0r
rttr
kpurpose
kdeclarative
];
+ patches = [ ./mlt-path.patch ];
+ inherit mlt;
postPatch =
# Module Qt5::Concurrent must be included in `find_package` before it is used.
''
sed -i CMakeLists.txt -e '/find_package(Qt5 REQUIRED/ s|)| Concurrent)|'
+ substituteAllInPlace src/kdenlivesettings.kcfg
'';
meta = {
license = with lib.licenses; [ gpl2Plus ];
diff --git a/pkgs/applications/kde/kdepim-addons.nix b/pkgs/applications/kde/kdepim-addons.nix
index 75c1bf5be8b..0fe33ea017d 100644
--- a/pkgs/applications/kde/kdepim-addons.nix
+++ b/pkgs/applications/kde/kdepim-addons.nix
@@ -5,7 +5,7 @@
incidenceeditor, kcalcore, kcalutils, kconfig, kdbusaddons, kdeclarative,
kdepim-apps-libs, kholidays, ki18n, kmime, ktexteditor, ktnef, libgravatar,
libksieve, mailcommon, mailimporter, messagelib, poppler, prison, kpkpass,
- kitinerary
+ kitinerary, kontactinterface
}:
mkDerivation {
@@ -20,6 +20,6 @@ mkDerivation {
incidenceeditor kcalcore kcalutils kconfig kdbusaddons kdeclarative
kdepim-apps-libs kholidays ki18n kmime ktexteditor ktnef libgravatar
libksieve mailcommon mailimporter messagelib poppler prison kpkpass
- kitinerary
+ kitinerary kontactinterface
];
}
diff --git a/pkgs/applications/kde/kgeography.nix b/pkgs/applications/kde/kgeography.nix
new file mode 100644
index 00000000000..c96c198cca9
--- /dev/null
+++ b/pkgs/applications/kde/kgeography.nix
@@ -0,0 +1,15 @@
+{ mkDerivation, lib
+, cmake, extra-cmake-modules, qtbase
+, kconfigwidgets, kxmlgui, kcrash, kdoctools
+, kitemviews
+}:
+
+mkDerivation {
+ name = "kgeography";
+ meta = {
+ license = with lib.licenses; [ gpl2 ];
+ maintainers = [ lib.maintainers.globin ];
+ };
+ nativeBuildInputs = [ cmake extra-cmake-modules ];
+ buildInputs = [ qtbase kconfigwidgets kxmlgui kcrash kdoctools kitemviews ];
+}
diff --git a/pkgs/applications/kde/kipi-plugins.nix b/pkgs/applications/kde/kipi-plugins.nix
new file mode 100644
index 00000000000..5fb953acbd6
--- /dev/null
+++ b/pkgs/applications/kde/kipi-plugins.nix
@@ -0,0 +1,23 @@
+{
+ mkDerivation, lib,
+ extra-cmake-modules,
+ karchive, kconfig, ki18n, kiconthemes, kio, kservice, kwindowsystem, kxmlgui,
+ libkipi, qtbase, qtsvg, qtxmlpatterns
+}:
+
+mkDerivation {
+ name = "kipi-plugins";
+
+ nativeBuildInputs = [ extra-cmake-modules ];
+ buildInputs = [
+ karchive kconfig ki18n kiconthemes kio kservice kwindowsystem kxmlgui libkipi
+ qtbase qtsvg qtxmlpatterns
+ ];
+
+ meta = {
+ description = "Plugins for KDE-based image applications";
+ license = lib.licenses.gpl2;
+ homepage = https://cgit.kde.org/kipi-plugins.git;
+ maintainers = with lib.maintainers; [ ttuegel ];
+ };
+}
diff --git a/pkgs/applications/kde/kmail.nix b/pkgs/applications/kde/kmail.nix
index a58b3b8c45d..ab24f15a14b 100644
--- a/pkgs/applications/kde/kmail.nix
+++ b/pkgs/applications/kde/kmail.nix
@@ -7,7 +7,7 @@
kmail-account-wizard, kmailtransport, knotifications, knotifyconfig,
kontactinterface, kparts, kpty, kservice, ktextwidgets, ktnef, kwallet,
kwidgetsaddons, kwindowsystem, kxmlgui, libgravatar, libksieve, mailcommon,
- messagelib, pim-sieve-editor, qtscript, qtwebengine,
+ messagelib, pim-sieve-editor, qtscript, qtwebengine, akonadi
}:
mkDerivation {
@@ -25,6 +25,6 @@ mkDerivation {
ktextwidgets ktnef kwidgetsaddons kwindowsystem kxmlgui libgravatar
libksieve mailcommon messagelib pim-sieve-editor qtscript qtwebengine
];
- propagatedUserEnvPkgs = [ kdepim-runtime kwallet ];
+ propagatedUserEnvPkgs = [ kdepim-runtime kwallet akonadi ];
patches = [ ./kmail.patch ];
}
diff --git a/pkgs/applications/kde/knotes.nix b/pkgs/applications/kde/knotes.nix
index 6aa3206acc7..ced046c2f4e 100644
--- a/pkgs/applications/kde/knotes.nix
+++ b/pkgs/applications/kde/knotes.nix
@@ -1,5 +1,5 @@
{
- mkDerivation, lib,
+ mkDerivation,
extra-cmake-modules, kdoctools,
kcompletion, kconfig, kconfigwidgets, kcoreaddons, kcrash,
kdbusaddons, kdnssd, kglobalaccel, kiconthemes, kitemmodels,
diff --git a/pkgs/applications/kde/kolf.nix b/pkgs/applications/kde/kolf.nix
new file mode 100644
index 00000000000..f9fa31b665b
--- /dev/null
+++ b/pkgs/applications/kde/kolf.nix
@@ -0,0 +1,16 @@
+{ lib
+, mkDerivation
+, extra-cmake-modules
+, kdoctools
+, libkdegames, kconfig, kio, ktextwidgets
+}:
+
+mkDerivation {
+ name = "kolf";
+ nativeBuildInputs = [ extra-cmake-modules kdoctools ];
+ buildInputs = [ libkdegames kio ktextwidgets ];
+ meta = {
+ license = with lib.licenses; [ gpl2 ];
+ maintainers = with lib.maintainers; [ peterhoeg ];
+ };
+}
diff --git a/pkgs/applications/kde/ktouch.nix b/pkgs/applications/kde/ktouch.nix
index 64179f2e64d..7e300ea7157 100644
--- a/pkgs/applications/kde/ktouch.nix
+++ b/pkgs/applications/kde/ktouch.nix
@@ -3,7 +3,8 @@
, kconfig, kconfigwidgets, kcoreaddons, kdeclarative, ki18n
, kitemviews, kcmutils, kio, knewstuff, ktexteditor, kwidgetsaddons
, kwindowsystem, kxmlgui, qtscript, qtdeclarative, kqtquickcharts
-, qtx11extras, qtgraphicaleffects, qtxmlpatterns, xorg
+, qtx11extras, qtgraphicaleffects, qtxmlpatterns, qtquickcontrols2
+, xorg
}:
@@ -19,7 +20,7 @@
kconfig kconfigwidgets kcoreaddons kdeclarative ki18n
kitemviews kcmutils kio knewstuff ktexteditor kwidgetsaddons
kwindowsystem kxmlgui qtscript qtdeclarative kqtquickcharts
- qtx11extras qtgraphicaleffects qtxmlpatterns
+ qtx11extras qtgraphicaleffects qtxmlpatterns qtquickcontrols2
xorg.libxkbfile xorg.libxcb
];
diff --git a/pkgs/applications/kde/mlt-path.patch b/pkgs/applications/kde/mlt-path.patch
new file mode 100644
index 00000000000..9bfb66c1a83
--- /dev/null
+++ b/pkgs/applications/kde/mlt-path.patch
@@ -0,0 +1,22 @@
+diff -ruN old/src/kdenlivesettings.kcfg new/src/kdenlivesettings.kcfg
+--- old/src/kdenlivesettings.kcfg 2019-09-10 23:20:27.555392353 -0400
++++ new/src/kdenlivesettings.kcfg 2019-09-10 23:25:47.533964155 -0400
+@@ -378,14 +378,14 @@
+
+
+
+-
++
+
+-
++ @mlt@/share/mlt/profiles
+
+
+-
++
+
+-
++ @mlt@/bin/melt
+
+
+
diff --git a/pkgs/applications/kde/okular.nix b/pkgs/applications/kde/okular.nix
index 39fb232b342..377fbe3339a 100644
--- a/pkgs/applications/kde/okular.nix
+++ b/pkgs/applications/kde/okular.nix
@@ -1,18 +1,18 @@
{
stdenv, mkDerivation, lib,
extra-cmake-modules, kdoctools,
- chmlib ? null, discount, djvulibre, ebook_tools, kactivities, karchive, kbookmarks,
- kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons,
- kdegraphics-mobipocket, kiconthemes, kjs, khtml, kio, kparts, kpty, kwallet,
- kwindowsystem, libkexiv2, libspectre, libzip, phonon, poppler, qca-qt5,
- qtdeclarative, qtsvg, threadweaver, kcrash
+ breeze-icons, chmlib ? null, discount, djvulibre, ebook_tools, kactivities,
+ karchive, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
+ kdbusaddons, kdegraphics-mobipocket, kiconthemes, kjs, khtml, kio, kparts,
+ kpty, kwallet, kwindowsystem, libkexiv2, libspectre, libzip, phonon, poppler,
+ qca-qt5, qtdeclarative, qtsvg, threadweaver, kcrash
}:
mkDerivation {
name = "okular";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
- discount djvulibre ebook_tools kactivities karchive kbookmarks
+ breeze-icons discount djvulibre ebook_tools kactivities karchive kbookmarks
kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
kdegraphics-mobipocket kiconthemes kjs khtml kio kparts kpty kwallet
kwindowsystem libkexiv2 libspectre libzip phonon poppler qca-qt5
diff --git a/pkgs/applications/kde/pimcommon.nix b/pkgs/applications/kde/pimcommon.nix
index bbbcca13d98..cd9ff2528fa 100644
--- a/pkgs/applications/kde/pimcommon.nix
+++ b/pkgs/applications/kde/pimcommon.nix
@@ -4,7 +4,7 @@
akonadi, akonadi-contacts, akonadi-mime, grantlee, karchive, kcodecs,
kcompletion, kconfig, kconfigwidgets, kcontacts, kdbusaddons,
kiconthemes, kimap, kio, kitemmodels, kjobwidgets, knewstuff, kpimtextedit,
- kwallet, kwindowsystem, libkdepim, qtwebengine
+ kpurpose, kwallet, kwindowsystem, libkdepim, qtwebengine
}:
mkDerivation {
@@ -17,7 +17,7 @@ mkDerivation {
buildInputs = [
akonadi-mime grantlee karchive kcodecs kcompletion kconfigwidgets
kdbusaddons kiconthemes kio kitemmodels kjobwidgets knewstuff kpimtextedit
- kwallet kwindowsystem libkdepim qtwebengine
+ kpurpose kwallet kwindowsystem libkdepim qtwebengine
];
propagatedBuildInputs = [
akonadi akonadi-contacts kconfig kcontacts kimap
diff --git a/pkgs/applications/kde/srcs.nix b/pkgs/applications/kde/srcs.nix
index 43deb08c39f..9e5346be9cd 100644
--- a/pkgs/applications/kde/srcs.nix
+++ b/pkgs/applications/kde/srcs.nix
@@ -3,1723 +3,1739 @@
{
akonadi = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-19.04.1.tar.xz";
- sha256 = "b157c4199e3b913c4f684f56ed9d76bef67b3c120c319c88ae24bded6fc927bc";
- name = "akonadi-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-19.08.1.tar.xz";
+ sha256 = "32233b59c696a5053f2ee4b7368804635a04e2a5f6d3605848eadafa0306c44d";
+ name = "akonadi-19.08.1.tar.xz";
};
};
akonadi-calendar = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-calendar-19.04.1.tar.xz";
- sha256 = "6ef352dc20998416b8d379b085edfcfba5bcf6a5f448e11a4e51aca6b3241e48";
- name = "akonadi-calendar-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-calendar-19.08.1.tar.xz";
+ sha256 = "5e8c66d4c86e6458469dbb393458ee8b5e6afc1b4712ce8395709d4226864d6c";
+ name = "akonadi-calendar-19.08.1.tar.xz";
};
};
akonadi-calendar-tools = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-calendar-tools-19.04.1.tar.xz";
- sha256 = "6a8eb905d0e5a1602ce59d5cf28322d844dc178c4daf98db1cf9e0c95eeb3531";
- name = "akonadi-calendar-tools-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-calendar-tools-19.08.1.tar.xz";
+ sha256 = "033fae40bcbdcfa52981026f783b7cc8fecde384d6683747cd3f307bd43b2570";
+ name = "akonadi-calendar-tools-19.08.1.tar.xz";
};
};
akonadiconsole = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadiconsole-19.04.1.tar.xz";
- sha256 = "33846348b0308eaf4ca81e8d577ce0eb6c17d49632e034607506413e86531262";
- name = "akonadiconsole-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadiconsole-19.08.1.tar.xz";
+ sha256 = "9a0f88903757eaf0d3271d4438b3a170640b7cb01a7b2f0fbf10a75fa0093184";
+ name = "akonadiconsole-19.08.1.tar.xz";
};
};
akonadi-contacts = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-contacts-19.04.1.tar.xz";
- sha256 = "4c58a73db7924250e47fb030657dc768fe44405806ec2d94ee00a264b414febc";
- name = "akonadi-contacts-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-contacts-19.08.1.tar.xz";
+ sha256 = "f182883b4cc16034a798feb966df268e84d9c5b8d3c6e14d5698f7ead85a21d7";
+ name = "akonadi-contacts-19.08.1.tar.xz";
};
};
akonadi-import-wizard = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-import-wizard-19.04.1.tar.xz";
- sha256 = "2699ca57ea6a04228875dd795255fd32a1120e2e5c4834290aea3270c43403e7";
- name = "akonadi-import-wizard-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-import-wizard-19.08.1.tar.xz";
+ sha256 = "d66088ded8917f6034de8981ce71d5d0e1808f6d58f7fdb7e0a806ff0834e27b";
+ name = "akonadi-import-wizard-19.08.1.tar.xz";
};
};
akonadi-mime = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-mime-19.04.1.tar.xz";
- sha256 = "4572aa7c953cc641a98ae3c2685dcdf259d621dcbbab1ccb7d11e2748c67b1a8";
- name = "akonadi-mime-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-mime-19.08.1.tar.xz";
+ sha256 = "0a4f4652a665229b290431adb59940890effba0804fe33a0e79a24322f90b35c";
+ name = "akonadi-mime-19.08.1.tar.xz";
};
};
akonadi-notes = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-notes-19.04.1.tar.xz";
- sha256 = "e503101e8806485ecf6ef22d1bafd8c299676ca75a388499e5418b8641604277";
- name = "akonadi-notes-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-notes-19.08.1.tar.xz";
+ sha256 = "44896f17fc2f625f9fc8c77690acd787291c5e08e8261c5d113c94045bd5bdd8";
+ name = "akonadi-notes-19.08.1.tar.xz";
};
};
akonadi-search = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akonadi-search-19.04.1.tar.xz";
- sha256 = "8438876407e9fd8fa08afe6942ab8dd3677202bc2ff1eba4fd7a49dd926f26d6";
- name = "akonadi-search-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akonadi-search-19.08.1.tar.xz";
+ sha256 = "c68387f3452bcd390f1c99549531c72d95db0def29d8ba10330e68891b0d0b53";
+ name = "akonadi-search-19.08.1.tar.xz";
};
};
akregator = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/akregator-19.04.1.tar.xz";
- sha256 = "b2e731a3eac0a68865a90b71f17307c3aea8db304bf6663b551bc95907a490f1";
- name = "akregator-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/akregator-19.08.1.tar.xz";
+ sha256 = "b73fcf1c509398ff496864f0105491792b5b15f37c52f9a8ca74ca254a75494a";
+ name = "akregator-19.08.1.tar.xz";
};
};
analitza = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/analitza-19.04.1.tar.xz";
- sha256 = "b96da492805a48faff72e93e1b8b211c468b041fe217489eb097d554773d3381";
- name = "analitza-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/analitza-19.08.1.tar.xz";
+ sha256 = "f963a8abe31d4c0d2b0e0a7e78ec78ced8eb7a0af60df1620ccc2f2409df6a91";
+ name = "analitza-19.08.1.tar.xz";
};
};
ark = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ark-19.04.1.tar.xz";
- sha256 = "6d348b2b9566ce0b8a1ba1b56d0a8c5d434d4748c479c5a853fdcdecfec753e6";
- name = "ark-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ark-19.08.1.tar.xz";
+ sha256 = "b5638bc4559d775d0a0c2aee022cadc021543bf92e8be6b9b803c50e7e7f1835";
+ name = "ark-19.08.1.tar.xz";
};
};
artikulate = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/artikulate-19.04.1.tar.xz";
- sha256 = "11a54ef7abf001bd3debcaf46bc60764af55a2dbda6320c3c220461374f74432";
- name = "artikulate-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/artikulate-19.08.1.tar.xz";
+ sha256 = "856488a4914ae0cfa594106b4d5c7b5ffd996b009075dfa009ab9cdd2cbc2f9d";
+ name = "artikulate-19.08.1.tar.xz";
};
};
audiocd-kio = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/audiocd-kio-19.04.1.tar.xz";
- sha256 = "fad61ea586db7a4ce202fbb16854f69a20e8e16518dd60c27112447a904edb98";
- name = "audiocd-kio-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/audiocd-kio-19.08.1.tar.xz";
+ sha256 = "e072ed20f07fe246267b3e7c459812fe63d94125a1d2fbcda1c0403e9fe0a520";
+ name = "audiocd-kio-19.08.1.tar.xz";
};
};
baloo-widgets = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/baloo-widgets-19.04.1.tar.xz";
- sha256 = "7f7f0b3ba1bbdb3a47cdfa85830295b4b91fa5ac6c87b41d1cf29c354d8a4cf6";
- name = "baloo-widgets-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/baloo-widgets-19.08.1.tar.xz";
+ sha256 = "83429a70de735edc4714dc1b6f1a5a8c7d3d68a93165e98d2cadeecafa82af7b";
+ name = "baloo-widgets-19.08.1.tar.xz";
};
};
blinken = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/blinken-19.04.1.tar.xz";
- sha256 = "87fbf14568692885e7a496a8dae0c4f53a2837d1a824f9c7cf1038a7e8c861ca";
- name = "blinken-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/blinken-19.08.1.tar.xz";
+ sha256 = "dbe7b13bc6cad69f049f9eefa56f99012bc0906233193bf951477b3f5c8eb87e";
+ name = "blinken-19.08.1.tar.xz";
};
};
bomber = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/bomber-19.04.1.tar.xz";
- sha256 = "1359ebcaab26acd2dfa738160f9dd7a86e5bfa3d3b2f8a86c656ee187ad6c3fe";
- name = "bomber-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/bomber-19.08.1.tar.xz";
+ sha256 = "750110da07a1e316e2a55d043a0e988c91e6e57866b941a5cce1b6f569096f4f";
+ name = "bomber-19.08.1.tar.xz";
};
};
bovo = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/bovo-19.04.1.tar.xz";
- sha256 = "46b5286349ba7765b81edf92f834c3e8e5c0ecd65466deb5fa593477e76f0763";
- name = "bovo-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/bovo-19.08.1.tar.xz";
+ sha256 = "0d923b6b0eaf2ffd7a1eca833d1f110cc6fdaade3b11d07e8fa53a244a778658";
+ name = "bovo-19.08.1.tar.xz";
};
};
calendarsupport = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/calendarsupport-19.04.1.tar.xz";
- sha256 = "9b44e868a24494c3ce595dc71e8981f97a8ce75dc4646e1417ebde973ee5f535";
- name = "calendarsupport-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/calendarsupport-19.08.1.tar.xz";
+ sha256 = "74d1b19a924f2aad7f5a034a7e3b11f2ed5bb94cd21458f0255a64ac6163de97";
+ name = "calendarsupport-19.08.1.tar.xz";
};
};
cantor = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/cantor-19.04.1.tar.xz";
- sha256 = "95ce049f38182f9c0f7fb749c0940c24a51cc88053d218148ac82e925d9dfbb1";
- name = "cantor-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/cantor-19.08.1.tar.xz";
+ sha256 = "93b43426c3383718e6ff7b62f073e3c39371a519b98e890c2b7c15cb5086c039";
+ name = "cantor-19.08.1.tar.xz";
};
};
cervisia = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/cervisia-19.04.1.tar.xz";
- sha256 = "fe72361330b055922e4ae66edb2e6958897b7c443ab3066ab7bbef1b8fd9d41b";
- name = "cervisia-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/cervisia-19.08.1.tar.xz";
+ sha256 = "726c8d4bd942280e08891e15e47d0a0a88ee951addb3c10e1e9955fad2794b7f";
+ name = "cervisia-19.08.1.tar.xz";
};
};
dolphin = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/dolphin-19.04.1.tar.xz";
- sha256 = "72cab4d9f49ac05d3e0e8e1ff67cf29c0cacbe2c3a43506eca4c849ea878370a";
- name = "dolphin-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/dolphin-19.08.1.tar.xz";
+ sha256 = "a612dac0cf50301af46ad5fa29aad630bb33a8a4bd416a4d6023b65fb00f25cc";
+ name = "dolphin-19.08.1.tar.xz";
};
};
dolphin-plugins = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/dolphin-plugins-19.04.1.tar.xz";
- sha256 = "dc528e93d3f7809b8480da5134ead3886205a172a85b25ffdd5720ec67892105";
- name = "dolphin-plugins-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/dolphin-plugins-19.08.1.tar.xz";
+ sha256 = "ce2452d9f878dfcff45739ff9eb4a3bde69c449c36182dee6b768f362e75ae2e";
+ name = "dolphin-plugins-19.08.1.tar.xz";
};
};
dragon = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/dragon-19.04.1.tar.xz";
- sha256 = "f8acfc09aeec180850345f8881f963c19a3956cd7e07e42463bbe95ff2227ab8";
- name = "dragon-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/dragon-19.08.1.tar.xz";
+ sha256 = "b015dbba4b8278a4987164f12a9d9e42745d2eb1772da8b8b0c849b28ba03c90";
+ name = "dragon-19.08.1.tar.xz";
};
};
eventviews = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/eventviews-19.04.1.tar.xz";
- sha256 = "1fae8263d17a802393e5b1ece80879b66303f4d5bc8cc040cf142d6d5e8cc763";
- name = "eventviews-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/eventviews-19.08.1.tar.xz";
+ sha256 = "a44d82e774017171f2eef3ef94b3c5b2765ce08fab5eec0a87b286fd5ea815f7";
+ name = "eventviews-19.08.1.tar.xz";
};
};
ffmpegthumbs = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ffmpegthumbs-19.04.1.tar.xz";
- sha256 = "76f912f09c01698ed020bce2109f7cb893a9ca3ca7c014b118c0f97b4b4982ae";
- name = "ffmpegthumbs-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ffmpegthumbs-19.08.1.tar.xz";
+ sha256 = "527ef798db833e71e2faf315fc89596716bd2bd7d11c78bc1bb2ef9b1549a71b";
+ name = "ffmpegthumbs-19.08.1.tar.xz";
};
};
filelight = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/filelight-19.04.1.tar.xz";
- sha256 = "7595efbff5cbbe59b3fc4f6af69b9557107bc8661f38951577947503ac7883bd";
- name = "filelight-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/filelight-19.08.1.tar.xz";
+ sha256 = "170e633e0d2f8c9b13cccfd5957590100be435f9e7258e84c6f15fabc636768e";
+ name = "filelight-19.08.1.tar.xz";
};
};
granatier = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/granatier-19.04.1.tar.xz";
- sha256 = "372dd577805457425bb9c35b5f434089aa2bb7c1e6f54908b2be60d4dda2cb22";
- name = "granatier-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/granatier-19.08.1.tar.xz";
+ sha256 = "3015a25f961ae3d746db2814a322bfb204e4e39cd95145fbf2aa819f1dc0417e";
+ name = "granatier-19.08.1.tar.xz";
};
};
grantlee-editor = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/grantlee-editor-19.04.1.tar.xz";
- sha256 = "b07f3c3179010b1d9a9170bc6e2b85517c3dfbd277336316882f4503823e076a";
- name = "grantlee-editor-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/grantlee-editor-19.08.1.tar.xz";
+ sha256 = "77661ac1d125349cd3439d130164ad172f0022376d6c6038c860c0440939e52c";
+ name = "grantlee-editor-19.08.1.tar.xz";
};
};
grantleetheme = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/grantleetheme-19.04.1.tar.xz";
- sha256 = "fdcf77c996123daea0559cc2ac4251b330e2c4388104ee95f814af770fc33d8b";
- name = "grantleetheme-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/grantleetheme-19.08.1.tar.xz";
+ sha256 = "61ec8f4902573727d5a292ba55c3663b267d3b1b8017c003ac3445164c2627cb";
+ name = "grantleetheme-19.08.1.tar.xz";
};
};
gwenview = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/gwenview-19.04.1.tar.xz";
- sha256 = "636498100284be86194d328c40ed70166cc96a5fc7665090e4a1ca9538b2f13c";
- name = "gwenview-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/gwenview-19.08.1.tar.xz";
+ sha256 = "1ed46507ea30c43e4672b51996ac413683a863978999be91a9df135f9369f3cb";
+ name = "gwenview-19.08.1.tar.xz";
};
};
incidenceeditor = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/incidenceeditor-19.04.1.tar.xz";
- sha256 = "f0f5191e4246068fb941fde10df87b76b5ca1d6f491d864e4b7e4acacebcae58";
- name = "incidenceeditor-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/incidenceeditor-19.08.1.tar.xz";
+ sha256 = "591781da9b3bc4b0f366ffa8de658aa31f48e1f435a434669b7c11b5f3a55403";
+ name = "incidenceeditor-19.08.1.tar.xz";
};
};
juk = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/juk-19.04.1.tar.xz";
- sha256 = "f141c0e33eccd931438a1b1fe37810951ab177b3fe853d6dd387f28f59382e51";
- name = "juk-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/juk-19.08.1.tar.xz";
+ sha256 = "f91de1fa697fba3fe73a086b0f3c254959fbceb769d3752353ee2078b86611f9";
+ name = "juk-19.08.1.tar.xz";
};
};
k3b = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/k3b-19.04.1.tar.xz";
- sha256 = "8de611bec14deee5b5c2b340fa4b32d22a7df93a72b657979118b510396f0942";
- name = "k3b-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/k3b-19.08.1.tar.xz";
+ sha256 = "8995f39457932fb6597f0f6124e0dfe09ecb2a25a6ec8506ce3ef870da293749";
+ name = "k3b-19.08.1.tar.xz";
};
};
kaccounts-integration = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kaccounts-integration-19.04.1.tar.xz";
- sha256 = "0e37dc9b7b1520ea16afc7209da3cbaab1d43c3909896eba2f0422fb23f15433";
- name = "kaccounts-integration-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kaccounts-integration-19.08.1.tar.xz";
+ sha256 = "7436bb0c8e024122d7137971749ef975878dee557befa4b95bc02ce0801a8450";
+ name = "kaccounts-integration-19.08.1.tar.xz";
};
};
kaccounts-providers = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kaccounts-providers-19.04.1.tar.xz";
- sha256 = "006ccdc20738b8f77155e849b83987b9c9eeb50acf4e88d2fb948060c5f51011";
- name = "kaccounts-providers-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kaccounts-providers-19.08.1.tar.xz";
+ sha256 = "ce885be3c0d59b7f65373fbadc8ff4510998f9067d3a7c96dc1eb05df78b071b";
+ name = "kaccounts-providers-19.08.1.tar.xz";
};
};
kaddressbook = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kaddressbook-19.04.1.tar.xz";
- sha256 = "15e84e6785e20e4f48020c093555e6c28930fcd946aa3421c56956564eba84fd";
- name = "kaddressbook-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kaddressbook-19.08.1.tar.xz";
+ sha256 = "8091a3bd77ec17757386d71a98a0ef2b6d68e35ca2f9f9b71e4e36c2a3cce5c9";
+ name = "kaddressbook-19.08.1.tar.xz";
};
};
kajongg = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kajongg-19.04.1.tar.xz";
- sha256 = "5139ec428d4951b8e3dca8d30134002bc06b186c5c63c69831b3a98b49198475";
- name = "kajongg-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kajongg-19.08.1.tar.xz";
+ sha256 = "ae40b7ceb7c591f8d92371e3c7584eeae0d84e4680927834eca7ffacd5b9bbf6";
+ name = "kajongg-19.08.1.tar.xz";
};
};
kalarm = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kalarm-19.04.1.tar.xz";
- sha256 = "e8a58584e765c1d98beb4b6bcac0ab835dcb1f1c1bab8cf1c01fa01a2a56bbfd";
- name = "kalarm-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kalarm-19.08.1.tar.xz";
+ sha256 = "9eb7c6b160e82ae8d5d294ebd781ef2ac5579e556a564c70598c08925e2021fa";
+ name = "kalarm-19.08.1.tar.xz";
};
};
kalarmcal = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kalarmcal-19.04.1.tar.xz";
- sha256 = "69a265ad7e82034974a47c795b81ee8768873dcb76018dc794a9905365111646";
- name = "kalarmcal-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kalarmcal-19.08.1.tar.xz";
+ sha256 = "add9ee09287491236c9a25cfcb32d437845d094d8fef3682954f561dc2917984";
+ name = "kalarmcal-19.08.1.tar.xz";
};
};
kalgebra = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kalgebra-19.04.1.tar.xz";
- sha256 = "689d65f1a62623fc67d5de0a551aef03b241d85b105f31e91bd873d3b818c74f";
- name = "kalgebra-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kalgebra-19.08.1.tar.xz";
+ sha256 = "c9859e0b2b847652007a3244bc658f7e160fe88fc70ea7da6e60f003f54f46c9";
+ name = "kalgebra-19.08.1.tar.xz";
};
};
kalzium = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kalzium-19.04.1.tar.xz";
- sha256 = "80798b3dca98cdd5ae24bbe7f077ecbe8def6bb96ad02a66ff69cb5312a459f5";
- name = "kalzium-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kalzium-19.08.1.tar.xz";
+ sha256 = "2519866172476bec297e9d02ff917b1c676b980edc2f20a9c3297bc255e045f0";
+ name = "kalzium-19.08.1.tar.xz";
};
};
kamera = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kamera-19.04.1.tar.xz";
- sha256 = "3d5f97ac4b454c1512762f4039003d5745372aafa4fda4f293bda885ee70984f";
- name = "kamera-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kamera-19.08.1.tar.xz";
+ sha256 = "109a030ef55b941758e8d4a58b2abed4c5e1bb7e13e8d239b7132867c801acf5";
+ name = "kamera-19.08.1.tar.xz";
};
};
kamoso = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kamoso-19.04.1.tar.xz";
- sha256 = "72f31d26319aed86daf200db7cc0bbe1e6ad77d891b644001ffd4c992a68e796";
- name = "kamoso-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kamoso-19.08.1.tar.xz";
+ sha256 = "76d7a9ea70646f8e86e912b72bd9f9ab42711f0cd53c7bed1403a274de036675";
+ name = "kamoso-19.08.1.tar.xz";
};
};
kanagram = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kanagram-19.04.1.tar.xz";
- sha256 = "70b0f7b20f2ebd951e3a10097990f9232cd1e3e6c11441d93513d435a7cb7f38";
- name = "kanagram-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kanagram-19.08.1.tar.xz";
+ sha256 = "85ba60dc1485f61054847262832edd112224a618effe8759a2dcc8ee73b130a6";
+ name = "kanagram-19.08.1.tar.xz";
};
};
kapman = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kapman-19.04.1.tar.xz";
- sha256 = "7714a0cbd8e24f3ce46679d1f16d690c8bc62a988f0b3175095e0f0c23ce1400";
- name = "kapman-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kapman-19.08.1.tar.xz";
+ sha256 = "e80057b4fa9b8af86ecae30871005d4c7508bbc99618cf36dcf1c9c7fa905321";
+ name = "kapman-19.08.1.tar.xz";
};
};
kapptemplate = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kapptemplate-19.04.1.tar.xz";
- sha256 = "5985705081aa94d282d173277e5717eede6f923eef4ed2d99182c46fbd1c9fd3";
- name = "kapptemplate-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kapptemplate-19.08.1.tar.xz";
+ sha256 = "c1e5d239ce3749e72bcce30dfc8c0a12c3d347b72a2566caa0d23dcc930499a2";
+ name = "kapptemplate-19.08.1.tar.xz";
};
};
kate = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kate-19.04.1.tar.xz";
- sha256 = "af55513f00af1712a39631352e393dbd2f63ec6bd471831b44853a16d4bfbe8f";
- name = "kate-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kate-19.08.1.tar.xz";
+ sha256 = "5389e1620a7eb8d7bab7396ee0db1a886fbdd44c8415291db6a917e89dcc77b7";
+ name = "kate-19.08.1.tar.xz";
};
};
katomic = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/katomic-19.04.1.tar.xz";
- sha256 = "2addfb86ec0043ab81046d64862e8fbeb3b4dd3b8d18f618ac8c39d995a05ce5";
- name = "katomic-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/katomic-19.08.1.tar.xz";
+ sha256 = "05453f2a1cba1a9bb7c558e9628361685d9b9b44fc4d65599eb05fec6ca3bd5d";
+ name = "katomic-19.08.1.tar.xz";
};
};
kbackup = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kbackup-19.04.1.tar.xz";
- sha256 = "29bed4258ec218edf05702808d0cfbff757016b7f3a80eb99e18610ab398036f";
- name = "kbackup-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kbackup-19.08.1.tar.xz";
+ sha256 = "93ec83cdb8cb1ad28f444f85aaec2270fbbf3108b3ce0cf22f42a737e0f9cc59";
+ name = "kbackup-19.08.1.tar.xz";
};
};
kblackbox = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kblackbox-19.04.1.tar.xz";
- sha256 = "9b5d57d0058c2458b7e24bd885d164cc1523d0c45827082e55af6ce669992431";
- name = "kblackbox-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kblackbox-19.08.1.tar.xz";
+ sha256 = "478b235e9498e9c5bf1c3626db651c85cf41bdd824dec484bccd38f6e73ffcc7";
+ name = "kblackbox-19.08.1.tar.xz";
};
};
kblocks = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kblocks-19.04.1.tar.xz";
- sha256 = "0ae62f1aa9aeaa58f6e5fd62d6281159ef8a2bbee28d84b9d7a2ab207ec95390";
- name = "kblocks-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kblocks-19.08.1.tar.xz";
+ sha256 = "15afc3b7083fc1ea08d6caa196d883a6ec7f9603302b5774c7ad97eea833f449";
+ name = "kblocks-19.08.1.tar.xz";
};
};
kblog = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kblog-19.04.1.tar.xz";
- sha256 = "6c162cd25a67c4fddbdc1063942fdfad1bbb239c714f205ae4f89585c2f65e93";
- name = "kblog-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kblog-19.08.1.tar.xz";
+ sha256 = "e1926ebfb352f6b8c35963fdece240b03be8d3ec094cee46ba694e2869c85cae";
+ name = "kblog-19.08.1.tar.xz";
};
};
kbounce = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kbounce-19.04.1.tar.xz";
- sha256 = "729662f29e1b5b17b775bfa6895088cf3a7ee4ce3d4f2bc3db4f69ab0f07ca12";
- name = "kbounce-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kbounce-19.08.1.tar.xz";
+ sha256 = "e3d67ab3fac471b07a45abbcd78d02912392ad3f25e9d48b70a050bfda4a5fb0";
+ name = "kbounce-19.08.1.tar.xz";
};
};
kbreakout = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kbreakout-19.04.1.tar.xz";
- sha256 = "9f40bb1c2d2e29a1098e371ffd0e97595d8e23cc7af2111fd143b67fac1393ad";
- name = "kbreakout-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kbreakout-19.08.1.tar.xz";
+ sha256 = "1f086f6794b40c6054f0c00d7fbebecea845f2ee7e7e3253efe33942f4ebe19e";
+ name = "kbreakout-19.08.1.tar.xz";
};
};
kbruch = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kbruch-19.04.1.tar.xz";
- sha256 = "ab9033b6b8758803a87f046d05c9f6a5d247d1929bad147628cb6c2e5ba65b00";
- name = "kbruch-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kbruch-19.08.1.tar.xz";
+ sha256 = "74b387e6eafc5fac8b7a75df6f8d61a2b4b0380a82b5c43f3a10c9b75855318f";
+ name = "kbruch-19.08.1.tar.xz";
};
};
kcachegrind = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcachegrind-19.04.1.tar.xz";
- sha256 = "4b862becaa415601dc33391814637d8f089f2e2732192111ec029beb89991ac2";
- name = "kcachegrind-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcachegrind-19.08.1.tar.xz";
+ sha256 = "e677f82e5527caecb0cdacad3f001665c40ba9e6a542a6a4d91fb898b45026c1";
+ name = "kcachegrind-19.08.1.tar.xz";
};
};
kcalc = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcalc-19.04.1.tar.xz";
- sha256 = "46d992a9e746231b57398b9bcdbe3933f6601e3cee7e3932ccc2e312779a4c91";
- name = "kcalc-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcalc-19.08.1.tar.xz";
+ sha256 = "7b3c110a97b851e8db03302484cadc59a59ec8378501ee61dd094ac2c7caa203";
+ name = "kcalc-19.08.1.tar.xz";
};
};
kcalcore = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcalcore-19.04.1.tar.xz";
- sha256 = "d14bf2f8270c0072e415cf8fe87c0fb8eefad1b95a8713e184bba3e3ae6002f9";
- name = "kcalcore-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcalcore-19.08.1.tar.xz";
+ sha256 = "8c1bbd8e7673907de2c3682cbc1c4fe4a165cbe0b9a2fe399c4b0ae73894228a";
+ name = "kcalcore-19.08.1.tar.xz";
};
};
kcalutils = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcalutils-19.04.1.tar.xz";
- sha256 = "8856a1e812f81848f1e2adc179182349acfac9e189b55f29afeb020c148909ec";
- name = "kcalutils-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcalutils-19.08.1.tar.xz";
+ sha256 = "b0f17fd7ced68d03666038ee97e6ca96bd504fc8b7f0ae9b53443cefb57558d7";
+ name = "kcalutils-19.08.1.tar.xz";
};
};
kcharselect = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcharselect-19.04.1.tar.xz";
- sha256 = "c54570a6f968b2ccbe42c0a8dbaecb1f263fbd392f67b2d735ade492553ff9ec";
- name = "kcharselect-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcharselect-19.08.1.tar.xz";
+ sha256 = "8b5c418e9b35a12eeaa1ebf7834f2a13613926e824699e13214fe35276c42457";
+ name = "kcharselect-19.08.1.tar.xz";
};
};
kcolorchooser = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcolorchooser-19.04.1.tar.xz";
- sha256 = "bfc2cdafd709d8829e19367151f59725152af2f4a80c583df671a9df1378e57a";
- name = "kcolorchooser-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcolorchooser-19.08.1.tar.xz";
+ sha256 = "a36cccbbf5dda16c0d97bff2ce415e678481fee5c2a7640b2c2db2f0ea7c70cb";
+ name = "kcolorchooser-19.08.1.tar.xz";
};
};
kcontacts = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcontacts-19.04.1.tar.xz";
- sha256 = "1773a5ddcec46dbf72cef2bbcc8c3143a0ba18ce6fa462ba642011b36b9cc088";
- name = "kcontacts-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcontacts-19.08.1.tar.xz";
+ sha256 = "020177eb155d3df44314e89da1824916d125aab48131fce76c2131b40eae8f39";
+ name = "kcontacts-19.08.1.tar.xz";
};
};
kcron = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kcron-19.04.1.tar.xz";
- sha256 = "a58e8c99072e10a0b0a6acfecbbadef822c6f2818202bbaccdbee6b2a5b7e951";
- name = "kcron-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kcron-19.08.1.tar.xz";
+ sha256 = "e60eb14cb2aef0b0398088930102d68817c96a83c54895af6626693fc18c7ed9";
+ name = "kcron-19.08.1.tar.xz";
};
};
kdav = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdav-19.04.1.tar.xz";
- sha256 = "356e59f904f075521df60499b7f84d7868dbb78968b04fd15be6d359c154e737";
- name = "kdav-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdav-19.08.1.tar.xz";
+ sha256 = "38f34f39e165ba3a843acbc9efc3296c111a6bfa8c5ba23e1f55f98860b84d41";
+ name = "kdav-19.08.1.tar.xz";
};
};
kdebugsettings = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdebugsettings-19.04.1.tar.xz";
- sha256 = "f04334f954d48fbd5a7bf41327563081966fb31950c131a943cf0a1a86281aa2";
- name = "kdebugsettings-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdebugsettings-19.08.1.tar.xz";
+ sha256 = "4195a000558b56d849eb6e79880c5140fc30cd8b0657d4a9932035434f4c2649";
+ name = "kdebugsettings-19.08.1.tar.xz";
};
};
kde-dev-scripts = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kde-dev-scripts-19.04.1.tar.xz";
- sha256 = "aa039d08b0e151703b6be0571d254d3656589d0b8422214110c460bd1f2aa6c2";
- name = "kde-dev-scripts-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kde-dev-scripts-19.08.1.tar.xz";
+ sha256 = "36af795eaa175f142556949fa4cc678a6d3fdad3607d169877d94bea785850d1";
+ name = "kde-dev-scripts-19.08.1.tar.xz";
};
};
kde-dev-utils = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kde-dev-utils-19.04.1.tar.xz";
- sha256 = "9bca818e44f80ece758c0430aebcaf56252bbdffed6c8f65d04ccb4d019f2d9b";
- name = "kde-dev-utils-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kde-dev-utils-19.08.1.tar.xz";
+ sha256 = "c529bb33dbd3b80e5c4737c3be0d17e88901ece48d3b19e61c8c14adab60177c";
+ name = "kde-dev-utils-19.08.1.tar.xz";
};
};
kdeedu-data = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdeedu-data-19.04.1.tar.xz";
- sha256 = "751ec4df18d4ec3e7498a279bb891d6eb9a835fd786c8dd77ee883c9b55a0c30";
- name = "kdeedu-data-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdeedu-data-19.08.1.tar.xz";
+ sha256 = "107dff744219210c732aa007d97c8c8d8e87cff5cd446d987b8ac2600ea1f1b7";
+ name = "kdeedu-data-19.08.1.tar.xz";
};
};
kdegraphics-mobipocket = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdegraphics-mobipocket-19.04.1.tar.xz";
- sha256 = "345be42b0fb4f2040ce1430c872c0d20b0abaa266159a19beac1b067b2723821";
- name = "kdegraphics-mobipocket-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdegraphics-mobipocket-19.08.1.tar.xz";
+ sha256 = "b1760e3a22869715881f571c0bc79c1b91876e41f508a5ba53659be774a6628c";
+ name = "kdegraphics-mobipocket-19.08.1.tar.xz";
};
};
kdegraphics-thumbnailers = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdegraphics-thumbnailers-19.04.1.tar.xz";
- sha256 = "e82515177c1c465c1d499095ff51d71caf286505a0fd3b9bfd2f1cdc1744706e";
- name = "kdegraphics-thumbnailers-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdegraphics-thumbnailers-19.08.1.tar.xz";
+ sha256 = "86a81ff786168778cbe0ad7c185320dbf052b1df2e6269f14323df04b48ed2ff";
+ name = "kdegraphics-thumbnailers-19.08.1.tar.xz";
};
};
kdenetwork-filesharing = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdenetwork-filesharing-19.04.1.tar.xz";
- sha256 = "5f3ae681f58a9877c7133778ff44c7be2a96cf26afbff10465984dae033251bd";
- name = "kdenetwork-filesharing-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdenetwork-filesharing-19.08.1.tar.xz";
+ sha256 = "b7d229d06926ad53dcffd4508fde70060260a03cdfc6b59551f5ea551274bdac";
+ name = "kdenetwork-filesharing-19.08.1.tar.xz";
};
};
kdenlive = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdenlive-19.04.1.tar.xz";
- sha256 = "feb3202ee1aa0f47acc12ad7d6ca78977a4c9af0d705f8792ca2f8e3e6defbe5";
- name = "kdenlive-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdenlive-19.08.1.tar.xz";
+ sha256 = "0d19c0d24e16518fd3b57eddffeb7d004723942889bd62e869749f02a1dcc036";
+ name = "kdenlive-19.08.1.tar.xz";
};
};
kdepim-addons = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdepim-addons-19.04.1.tar.xz";
- sha256 = "d4e36a6d0043ad0ed5e3c427559bfaa29523578f99b613c82c3aaef16b2a7882";
- name = "kdepim-addons-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdepim-addons-19.08.1.tar.xz";
+ sha256 = "eff8e21ae66bf99a33c946886e7d84f5d717b123b06f86e891c9528858b9ec32";
+ name = "kdepim-addons-19.08.1.tar.xz";
};
};
kdepim-apps-libs = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdepim-apps-libs-19.04.1.tar.xz";
- sha256 = "c3530a810a1eddfa06a27f24b723f971e7e2e144bbb2dac7ff30e7dec948a15d";
- name = "kdepim-apps-libs-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdepim-apps-libs-19.08.1.tar.xz";
+ sha256 = "40a265cde8770a3fd6181b656da49d460dc67ed06d175067da0092116cd9862e";
+ name = "kdepim-apps-libs-19.08.1.tar.xz";
};
};
kdepim-runtime = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdepim-runtime-19.04.1.tar.xz";
- sha256 = "1587eca5a206768917443bd5274c03d8cbb2cbc6dcbe60449110c326b1aa0744";
- name = "kdepim-runtime-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdepim-runtime-19.08.1.tar.xz";
+ sha256 = "d7dd6c0108f6c7a37dc1ac0d7b9449664c76ecd3ca4f303f3a1b214862a4b20e";
+ name = "kdepim-runtime-19.08.1.tar.xz";
};
};
kdesdk-kioslaves = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdesdk-kioslaves-19.04.1.tar.xz";
- sha256 = "80bbbdc91bc6a2b0c47a47044fdb2e107b89c63dd358b694c1c3f8e7cd1bbb16";
- name = "kdesdk-kioslaves-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdesdk-kioslaves-19.08.1.tar.xz";
+ sha256 = "4bf6d32a33f53b7668313d0e5be81568934b8309f86c9554b25e9346344b2051";
+ name = "kdesdk-kioslaves-19.08.1.tar.xz";
};
};
kdesdk-thumbnailers = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdesdk-thumbnailers-19.04.1.tar.xz";
- sha256 = "554d291605ac8827a2a4f6513a2230d9f9b0b8fcd6a37b0acd41c4db81fa3442";
- name = "kdesdk-thumbnailers-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdesdk-thumbnailers-19.08.1.tar.xz";
+ sha256 = "3da4aa540435fbc848bfc4f1b39f37145072e0856da31b4f5ac3d89719308f03";
+ name = "kdesdk-thumbnailers-19.08.1.tar.xz";
};
};
kdf = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdf-19.04.1.tar.xz";
- sha256 = "835881e8f829c3c64ca529019f599ce89b95139d502673d5e6fb560a98eedce5";
- name = "kdf-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdf-19.08.1.tar.xz";
+ sha256 = "2aedb0a4f64d2417728b67e4a289488b59153683d5dd15bca259a64f9c51325e";
+ name = "kdf-19.08.1.tar.xz";
};
};
kdialog = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdialog-19.04.1.tar.xz";
- sha256 = "48e77dc4827af2445f8ac583bef319b7fd274f9b84a19635bf673801e96b259a";
- name = "kdialog-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdialog-19.08.1.tar.xz";
+ sha256 = "6b2ed8636d50d13104b0029f33b11943d6f7087297ad089d61c76a57d3b425a0";
+ name = "kdialog-19.08.1.tar.xz";
};
};
kdiamond = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kdiamond-19.04.1.tar.xz";
- sha256 = "a7588f21e7151c1053787f75a17c1062a9c0b43611b824632ed1b8689f4996f3";
- name = "kdiamond-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kdiamond-19.08.1.tar.xz";
+ sha256 = "20280e44742d57508b0a0c4a70f7545bdbacf913300ca35f427801b46c808f8e";
+ name = "kdiamond-19.08.1.tar.xz";
};
};
keditbookmarks = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/keditbookmarks-19.04.1.tar.xz";
- sha256 = "05788d55020f330b52bd8641e47990c90c7585871489993888ce0f40fa1686db";
- name = "keditbookmarks-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/keditbookmarks-19.08.1.tar.xz";
+ sha256 = "f023c7b3d362c19373e3f886300420488ef53835f753c318f9fd9c0bb7e53a8a";
+ name = "keditbookmarks-19.08.1.tar.xz";
};
};
kfind = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kfind-19.04.1.tar.xz";
- sha256 = "496dd642473bfaa881387d2fb3a3507a9bf8c84b8a6874525221b561a50ef9fd";
- name = "kfind-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kfind-19.08.1.tar.xz";
+ sha256 = "a4910d5a3f2b918090084c776ca16bf1e9ae47ced0c2e4eb2a3d0071204527de";
+ name = "kfind-19.08.1.tar.xz";
};
};
kfloppy = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kfloppy-19.04.1.tar.xz";
- sha256 = "bde5c16c679a34aa6c74844caeea5e1746629ac7d35dfac0493e9d8f7d78aa75";
- name = "kfloppy-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kfloppy-19.08.1.tar.xz";
+ sha256 = "c22864e0dfef37ccb9a5329467b9058a14880e88b54c448b5933b57aa98b021b";
+ name = "kfloppy-19.08.1.tar.xz";
};
};
kfourinline = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kfourinline-19.04.1.tar.xz";
- sha256 = "9ba39703ccf64b76a0b9a2705d65b7c6c2067db795cfed298f0e3a2eac48b973";
- name = "kfourinline-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kfourinline-19.08.1.tar.xz";
+ sha256 = "a138908ccb21ab16399edf6a0aa6f95d6197a77dfef9e4ed87c8914ceb8d5b84";
+ name = "kfourinline-19.08.1.tar.xz";
};
};
kgeography = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kgeography-19.04.1.tar.xz";
- sha256 = "44e7297243a2f5ebd6c8e18e3380b7c66b3d085f64952937abf1683ddcb9d502";
- name = "kgeography-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kgeography-19.08.1.tar.xz";
+ sha256 = "c0c04e902626d52118e81da9fc24fbd87d49d0bcf4ad229f83eef8e4f84fb551";
+ name = "kgeography-19.08.1.tar.xz";
};
};
kget = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kget-19.04.1.tar.xz";
- sha256 = "a7dff0134d0ce6643fbde1ddfb73ce7d3300b927373a0907aec510f29d0d1629";
- name = "kget-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kget-19.08.1.tar.xz";
+ sha256 = "ecc9cc31f23304baa8c909335db57460460db27fbffb97438c1ed12703c6b9b9";
+ name = "kget-19.08.1.tar.xz";
};
};
kgoldrunner = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kgoldrunner-19.04.1.tar.xz";
- sha256 = "11db3aecf77b7097b7d3d626dba4a3b4bcd3d5ab02a1e04cf7f6932b0b73a760";
- name = "kgoldrunner-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kgoldrunner-19.08.1.tar.xz";
+ sha256 = "78c284edc000ec3f3f64bcf0d6c92a50f79632804696de676ed149055de7a6f8";
+ name = "kgoldrunner-19.08.1.tar.xz";
};
};
kgpg = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kgpg-19.04.1.tar.xz";
- sha256 = "2c9c64491592db79397be3769413fae657ca991dd45d02690bbe533c1cba0ceb";
- name = "kgpg-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kgpg-19.08.1.tar.xz";
+ sha256 = "441a0bfa58df14bad87f5f446b89113dc20365424f6a87aec30125c9221815c5";
+ name = "kgpg-19.08.1.tar.xz";
};
};
khangman = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/khangman-19.04.1.tar.xz";
- sha256 = "5d35620bc048ecabd21b20cadfa8df07e72f195bdc5b9ad2c7e86e17d27afe27";
- name = "khangman-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/khangman-19.08.1.tar.xz";
+ sha256 = "eb95c48baa57475319f456ee1df11b715e7ceb5b1912e2657a2b1f4617bf2b26";
+ name = "khangman-19.08.1.tar.xz";
};
};
khelpcenter = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/khelpcenter-19.04.1.tar.xz";
- sha256 = "3436502f6fae659b930aa63e5ace088e0982804386cf1b24b042328796549114";
- name = "khelpcenter-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/khelpcenter-19.08.1.tar.xz";
+ sha256 = "ae3243fcdc1281937772a091d902adaba0681abe82c222bf7ef895df0899ab63";
+ name = "khelpcenter-19.08.1.tar.xz";
};
};
kidentitymanagement = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kidentitymanagement-19.04.1.tar.xz";
- sha256 = "5216d26aef0c483f3dff51564e8b1526821b25279d7c5e9c21c87a5d5e20822a";
- name = "kidentitymanagement-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kidentitymanagement-19.08.1.tar.xz";
+ sha256 = "3ff41eddf047fb1074473fd028b22ddd0fb467c062918148305f10c2fd74f42e";
+ name = "kidentitymanagement-19.08.1.tar.xz";
};
};
kig = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kig-19.04.1.tar.xz";
- sha256 = "37684e2d1893c2f3a412add1edd73047d3ae8ff501b035943a9793b94d468a79";
- name = "kig-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kig-19.08.1.tar.xz";
+ sha256 = "8b073fd0310e62483a548ada000b4230f2b70dec8ab11ac8303bd64961829675";
+ name = "kig-19.08.1.tar.xz";
};
};
kigo = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kigo-19.04.1.tar.xz";
- sha256 = "5b5cae565a79309dc23b26acf2f596d36fd62950af58405094e4fa9a38e5e4ad";
- name = "kigo-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kigo-19.08.1.tar.xz";
+ sha256 = "7afc2e08192d7e7bf17d67e00aebc498e37b40b47ce78cb7cf2d943a5563817b";
+ name = "kigo-19.08.1.tar.xz";
};
};
killbots = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/killbots-19.04.1.tar.xz";
- sha256 = "8829dba8a3af320b03e21cd356e53fef0e70c10831ffeb6a70b722dde9877938";
- name = "killbots-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/killbots-19.08.1.tar.xz";
+ sha256 = "16fb2338125d342166e630cf589a346a69874ea1da32c0a3c591d6e17241e05e";
+ name = "killbots-19.08.1.tar.xz";
};
};
kimagemapeditor = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kimagemapeditor-19.04.1.tar.xz";
- sha256 = "d85d2f3d043a29e56f4234ce24dd75545e06c2812d5fe45cafde4c3dbe280533";
- name = "kimagemapeditor-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kimagemapeditor-19.08.1.tar.xz";
+ sha256 = "0baa2f3fa5810ab63d08db2d0223af04407bb14e4bda20ad17dbfb6c63f33b3a";
+ name = "kimagemapeditor-19.08.1.tar.xz";
};
};
kimap = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kimap-19.04.1.tar.xz";
- sha256 = "ff933fba7ce8412fd64439e5f4c5a7be3a06fd39c79f520acfc648923819aa1f";
- name = "kimap-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kimap-19.08.1.tar.xz";
+ sha256 = "a4fde0c17fcdbc672b8e7ad6ed727e18b6bc2cc3c7f23857a6b1455d99999bbf";
+ name = "kimap-19.08.1.tar.xz";
};
};
kio-extras = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kio-extras-19.04.1.tar.xz";
- sha256 = "ddf389a50142211566124ba902bb9f6b2988b1b94fefed7620a6ec421e3ff0bd";
- name = "kio-extras-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kio-extras-19.08.1.tar.xz";
+ sha256 = "de0ba7f3ce73db34b878cb88e36711d6b31aad57a5a735744330f92920666c52";
+ name = "kio-extras-19.08.1.tar.xz";
+ };
+ };
+ kipi-plugins = {
+ version = "19.08.1";
+ src = fetchurl {
+ url = "${mirror}/stable/applications/19.08.1/src/kipi-plugins-19.08.1.tar.xz";
+ sha256 = "6cc8fdc47fbfa5d8b4f9aeb4d82b5f1c9779a300cffbc17f8776dcb2ed61f0e4";
+ name = "kipi-plugins-19.08.1.tar.xz";
};
};
kirigami-gallery = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kirigami-gallery-19.04.1.tar.xz";
- sha256 = "ed7390a015a77f8285b4db4185533fa327a142a191c27afa7c2ce963ae6ad7e2";
- name = "kirigami-gallery-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kirigami-gallery-19.08.1.tar.xz";
+ sha256 = "b981b26fb268448f20077f3e69b3e12f45de91289f5b2026c618cdbff9ec5241";
+ name = "kirigami-gallery-19.08.1.tar.xz";
};
};
kiriki = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kiriki-19.04.1.tar.xz";
- sha256 = "131c6b5bd8f2b014a28bd5cb9985111f63991974b672dcfbc0266d32f069954b";
- name = "kiriki-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kiriki-19.08.1.tar.xz";
+ sha256 = "ca22215394b7ea172cd1c5eef301871df2526a321b4f3c6b1aa042d4f15abf7c";
+ name = "kiriki-19.08.1.tar.xz";
};
};
kiten = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kiten-19.04.1.tar.xz";
- sha256 = "be904abd0386a9ac6d622178f37e55d5a05f5eaa31c6a5cd661959ee4b03d2d4";
- name = "kiten-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kiten-19.08.1.tar.xz";
+ sha256 = "01e963fd76c87a631bb5a4f86bc8be624907571c60368e6bf5bdce55cff6b59a";
+ name = "kiten-19.08.1.tar.xz";
};
};
kitinerary = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kitinerary-19.04.1.tar.xz";
- sha256 = "4053e16e847f0e234ffba2bb0533e947eae7b315304677a784279d03f13c0318";
- name = "kitinerary-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kitinerary-19.08.1.tar.xz";
+ sha256 = "f84dafa874c958b335ee80dbe85dce3605b40b83ac9468e6555250da8f480967";
+ name = "kitinerary-19.08.1.tar.xz";
};
};
kjumpingcube = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kjumpingcube-19.04.1.tar.xz";
- sha256 = "13d6a138e09c9088ce38fe9a124bd600386dc097b929f6f85416bc1da0012ab1";
- name = "kjumpingcube-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kjumpingcube-19.08.1.tar.xz";
+ sha256 = "18c7bc9ab96308a4b874226f92f15da38cbb293372fdae8deec45029d6d31f20";
+ name = "kjumpingcube-19.08.1.tar.xz";
};
};
kldap = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kldap-19.04.1.tar.xz";
- sha256 = "638e62d39fbe935b1df3c03f9617acbe5ade4ad617245bc590ca07b7fd0b723b";
- name = "kldap-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kldap-19.08.1.tar.xz";
+ sha256 = "b6fb822df67449870fb5c0bfe1adb1bd3d44535e3f2186ef6be286e4a590bd54";
+ name = "kldap-19.08.1.tar.xz";
};
};
kleopatra = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kleopatra-19.04.1.tar.xz";
- sha256 = "bc8895a506164df0fa0f7fc317fe8b961cb75d8c67f04474e1c12e25be358c67";
- name = "kleopatra-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kleopatra-19.08.1.tar.xz";
+ sha256 = "ef63fbe1a24a24b8c6b491fe19e0bebd9518a2e1340a9dfee7215eb3740369c7";
+ name = "kleopatra-19.08.1.tar.xz";
};
};
klettres = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/klettres-19.04.1.tar.xz";
- sha256 = "d0db0773513fa35d1224e90cf5b09ac75b7b8f559d1080ee6026ba74df0f0847";
- name = "klettres-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/klettres-19.08.1.tar.xz";
+ sha256 = "9d9616e35f2b82e39916b89a049bee4faca5a4235eb22989c9e8485c7e75239b";
+ name = "klettres-19.08.1.tar.xz";
};
};
klickety = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/klickety-19.04.1.tar.xz";
- sha256 = "d4ae4d002f008200a6ce920f2aff6841d9ad58b22c392d7eefac7867b32340af";
- name = "klickety-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/klickety-19.08.1.tar.xz";
+ sha256 = "cb12f79123e96920b323e752b057f21942aba0844d79e310ad343bda0108b273";
+ name = "klickety-19.08.1.tar.xz";
};
};
klines = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/klines-19.04.1.tar.xz";
- sha256 = "2ca4ad74fefa87bbf3a38ea90b55025ab8554bfdc47d7e4323e0906e9e1c8962";
- name = "klines-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/klines-19.08.1.tar.xz";
+ sha256 = "e8ac5d344c6b9e6d8a9fa9a0fe7da5ebdceec049fbdc8ff476604a0760877aab";
+ name = "klines-19.08.1.tar.xz";
};
};
kmag = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmag-19.04.1.tar.xz";
- sha256 = "aa5ec91dcffc1a2f1037332aeacb096ab55388624c844c7fa311ca38a5e40874";
- name = "kmag-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmag-19.08.1.tar.xz";
+ sha256 = "28504935665df18246cc6db4288dc2b33f24ed7114007df008f4310ce8792ceb";
+ name = "kmag-19.08.1.tar.xz";
};
};
kmahjongg = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmahjongg-19.04.1.tar.xz";
- sha256 = "75dbcfb5747530a3b69574fdc87b532067516415f962e7943feef97549237c99";
- name = "kmahjongg-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmahjongg-19.08.1.tar.xz";
+ sha256 = "621e30ce5d76ab9f8736cfe13a076501c8822d7d1402d195bfe12c21ffa507c3";
+ name = "kmahjongg-19.08.1.tar.xz";
};
};
kmail = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmail-19.04.1.tar.xz";
- sha256 = "62fcd78318d35848e5ae461f7ebd3b6f202c57c51008c71d7e2a1d1c3d58f2c5";
- name = "kmail-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmail-19.08.1.tar.xz";
+ sha256 = "4deb5d7c5304c0856fbbafeb7bf09436e28782b96dc5ec342a09b2c26ea386c0";
+ name = "kmail-19.08.1.tar.xz";
};
};
kmail-account-wizard = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmail-account-wizard-19.04.1.tar.xz";
- sha256 = "c6714c425daa3d79dfb47b5d18cff26b10b1b087e4472f627738494f06d04ab8";
- name = "kmail-account-wizard-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmail-account-wizard-19.08.1.tar.xz";
+ sha256 = "b4f2f769b44845dd02632ce282fc740a35f7f784e9fb54091153365ee88fb864";
+ name = "kmail-account-wizard-19.08.1.tar.xz";
};
};
kmailtransport = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmailtransport-19.04.1.tar.xz";
- sha256 = "b8c0cf5cb8f7ad93bb3d1b2adab68fbc2470bc14160650fb45d1c4d40e8549fa";
- name = "kmailtransport-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmailtransport-19.08.1.tar.xz";
+ sha256 = "521bcfd334a0e7e4986e6cebff3bae4095175a11fd45f777da673f1460d733da";
+ name = "kmailtransport-19.08.1.tar.xz";
};
};
kmbox = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmbox-19.04.1.tar.xz";
- sha256 = "701eda3a4831ed0daf9bd14a93ff845f42e4f93c6ca16d83ebda958c27021fc0";
- name = "kmbox-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmbox-19.08.1.tar.xz";
+ sha256 = "5fa59ffd16df1ae28f7ebf026f67df708c5b84e54e1ab47fd5de957c5b8fc75e";
+ name = "kmbox-19.08.1.tar.xz";
};
};
kmime = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmime-19.04.1.tar.xz";
- sha256 = "25ee2e49ea62d32fcd09a710f971c6fcdc5434c6fdf711e93c19fc4baa325775";
- name = "kmime-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmime-19.08.1.tar.xz";
+ sha256 = "e8693458734f11a9d33a4d761f2b5ccae8f9ed87bb1e9dfc97f4bd0fa7089557";
+ name = "kmime-19.08.1.tar.xz";
};
};
kmines = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmines-19.04.1.tar.xz";
- sha256 = "98a3860113a51e215a42791e3eb845978cda51fb5001b8e8bb41fe9182765d12";
- name = "kmines-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmines-19.08.1.tar.xz";
+ sha256 = "8aedc9eeb3426a394a6e048508f700d466c18b262a9b98e01eff379a8d6003fb";
+ name = "kmines-19.08.1.tar.xz";
};
};
kmix = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmix-19.04.1.tar.xz";
- sha256 = "ca02ed8db5e4a3a58622b10668efb4c4a828de584b9f57116fee802e136352ea";
- name = "kmix-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmix-19.08.1.tar.xz";
+ sha256 = "a6006ab35bdfc2896188aa99ba50f1b28e8d5172ec8a1068efb15a50c43f87a7";
+ name = "kmix-19.08.1.tar.xz";
};
};
kmousetool = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmousetool-19.04.1.tar.xz";
- sha256 = "fd0fcebda4d7303a9c6f1117c08e091d96bfddf92a64e1cde2dc6b555daa0624";
- name = "kmousetool-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmousetool-19.08.1.tar.xz";
+ sha256 = "d9a3164a0709fa0d2fc3e30ade2bd42c86fb73c7cf4adc341dd7e11e686f7956";
+ name = "kmousetool-19.08.1.tar.xz";
};
};
kmouth = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmouth-19.04.1.tar.xz";
- sha256 = "9a8d0f9b1f09f1363d38b2a942ffe515521ffc410f869ed1a875ff1059ef8068";
- name = "kmouth-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmouth-19.08.1.tar.xz";
+ sha256 = "531b7b3716fea8c679c5c39c7c04214cb561430182747ce08a9854a76105821e";
+ name = "kmouth-19.08.1.tar.xz";
};
};
kmplot = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kmplot-19.04.1.tar.xz";
- sha256 = "c2e0855182d1ab0977b96669999976fb84c2f4b2645fcee0cb35b839bc1da206";
- name = "kmplot-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kmplot-19.08.1.tar.xz";
+ sha256 = "7797dc95f64738b918cb19481bc74cebd1f66b5a537592bb53e98e1715701fe2";
+ name = "kmplot-19.08.1.tar.xz";
};
};
knavalbattle = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/knavalbattle-19.04.1.tar.xz";
- sha256 = "f7b5ad956e4b1c06b04fec2d6f39331e81f2c44c716c2e666ef75b9d786982bc";
- name = "knavalbattle-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/knavalbattle-19.08.1.tar.xz";
+ sha256 = "6fa3cc1b7de95d22a6c356f411367399626a334ce648abc50ac724a860468915";
+ name = "knavalbattle-19.08.1.tar.xz";
};
};
knetwalk = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/knetwalk-19.04.1.tar.xz";
- sha256 = "e762415b6891c4098febc090bc80e5698cd3fb9ac2b8f4988aaf096816e3b62b";
- name = "knetwalk-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/knetwalk-19.08.1.tar.xz";
+ sha256 = "0c62b756d3375f0c51046e92904f380544ba77bcc0109607bb38055907579ccf";
+ name = "knetwalk-19.08.1.tar.xz";
};
};
knights = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/knights-19.04.1.tar.xz";
- sha256 = "d722fad8e835ea402337ffe1e6b8d1a5bda5a0e1c36ee3a89a6782b666a8534e";
- name = "knights-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/knights-19.08.1.tar.xz";
+ sha256 = "bdd99e6ba75e03f19eac5fe6e50c84496eb614725da021208db9119539cea132";
+ name = "knights-19.08.1.tar.xz";
};
};
knotes = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/knotes-19.04.1.tar.xz";
- sha256 = "b5cc805c657622e8cc4ab0ea07f30ea0258e767a87e525bc02fbc7d6ee9d7ec9";
- name = "knotes-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/knotes-19.08.1.tar.xz";
+ sha256 = "30b835c063e03d3d9047cbaacf389ee1e261368d2cf73fdfab71b4f9138b8bf7";
+ name = "knotes-19.08.1.tar.xz";
};
};
kolf = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kolf-19.04.1.tar.xz";
- sha256 = "92a56f5e5602a898537f87e12968e47cfe6f76d10daac6240e9f60e6751d06d7";
- name = "kolf-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kolf-19.08.1.tar.xz";
+ sha256 = "5199274d7ec557d396e74485debe4c7572050de6d31f128cca9ab737062f83bc";
+ name = "kolf-19.08.1.tar.xz";
};
};
kollision = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kollision-19.04.1.tar.xz";
- sha256 = "2c243790feb8d7a7760fcadff6b06b21aea930218d0915664b420dccdc1c7de9";
- name = "kollision-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kollision-19.08.1.tar.xz";
+ sha256 = "0f2bac3898ceb26bd17bdcc3481d76709b793a83ace75ba8f6f45fbf54428697";
+ name = "kollision-19.08.1.tar.xz";
};
};
kolourpaint = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kolourpaint-19.04.1.tar.xz";
- sha256 = "a2f78f1a2f99fa8176980ecd224ccfd8848ff8357e3434b463d4f83bcc7b5e46";
- name = "kolourpaint-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kolourpaint-19.08.1.tar.xz";
+ sha256 = "59c1a2a9d8f012ff1c483dae4f1019232ec667bd88e61c6c8fc07e47312ef23f";
+ name = "kolourpaint-19.08.1.tar.xz";
};
};
kompare = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kompare-19.04.1.tar.xz";
- sha256 = "ca270cde7c77fb44b40779ee22d556f14b9e0720e865ad6e3cf5cebbba4d7261";
- name = "kompare-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kompare-19.08.1.tar.xz";
+ sha256 = "325a14529c8e015fbae0231511ddd5c61dd3d78cbc6ad92eaccfd1c90a2f1afd";
+ name = "kompare-19.08.1.tar.xz";
};
};
konqueror = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/konqueror-19.04.1.tar.xz";
- sha256 = "b5f3c5a005b71886bfa2318bf13f14e6bab8fb84e1db54192409769bc3bf0e92";
- name = "konqueror-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/konqueror-19.08.1.tar.xz";
+ sha256 = "48a2847c7fcd5e30ae02d64523c3053b958ae9d3a7a649685660b1340aa644df";
+ name = "konqueror-19.08.1.tar.xz";
};
};
konquest = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/konquest-19.04.1.tar.xz";
- sha256 = "cac10983efbc026d5c8cd3330c94865b43b1a229ff9bb76077ab25d734133aab";
- name = "konquest-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/konquest-19.08.1.tar.xz";
+ sha256 = "114e76a10a992efb3fbd094bd1b66c3d6266c540c41289a0627ec04a8db52ec0";
+ name = "konquest-19.08.1.tar.xz";
};
};
konsole = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/konsole-19.04.1.tar.xz";
- sha256 = "711c67c5d43eb2c02be177e9d1157c142ab99ac5b808f951ab9a70e2397119d8";
- name = "konsole-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/konsole-19.08.1.tar.xz";
+ sha256 = "7530157a3fa01a9b21971e271a9d46addb5c71dce290db97265928803b57d37f";
+ name = "konsole-19.08.1.tar.xz";
};
};
kontact = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kontact-19.04.1.tar.xz";
- sha256 = "d60cc3165460a3e395778e4709ff55cbfbb80cc3536edb43d5d2335c70bd4714";
- name = "kontact-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kontact-19.08.1.tar.xz";
+ sha256 = "7b57b44ee72211b30fc743fae6580867100ede718909617b90cb926732ecbabb";
+ name = "kontact-19.08.1.tar.xz";
};
};
kontactinterface = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kontactinterface-19.04.1.tar.xz";
- sha256 = "034dcf0b2740273037a40ce2c1dd0d4eb17aac1eba608eca81f7e905a336cbc2";
- name = "kontactinterface-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kontactinterface-19.08.1.tar.xz";
+ sha256 = "adb5c380fd73102b84c72ea27975689dc289b0f5c8dd10f86bf0a857e00170be";
+ name = "kontactinterface-19.08.1.tar.xz";
};
};
kopete = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kopete-19.04.1.tar.xz";
- sha256 = "27586d90bd47abe6d8d6eddd7e41dbb6e3b3736984186cd24f84eee216e98b85";
- name = "kopete-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kopete-19.08.1.tar.xz";
+ sha256 = "c4943c5cbb384eb8697668be2a38dcc0dc16f26485a38c3657658c1cc4dbd2a8";
+ name = "kopete-19.08.1.tar.xz";
};
};
korganizer = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/korganizer-19.04.1.tar.xz";
- sha256 = "cb5c06d13f9f6eb4191ef6b86dab72ecde92fe6d9c8b6d9a4396645c94f83b67";
- name = "korganizer-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/korganizer-19.08.1.tar.xz";
+ sha256 = "d7e347df36986926d0e0d1af38130a089b581e400a90cc8bf199cecb29b78023";
+ name = "korganizer-19.08.1.tar.xz";
};
};
kpat = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kpat-19.04.1.tar.xz";
- sha256 = "2c0b29e5d372d55d77ceced098b8262b11a431518e818eec052d867c21ad6896";
- name = "kpat-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kpat-19.08.1.tar.xz";
+ sha256 = "65bf7299c59d3d7512ab39174fd0e5d044f307784c02895130399534e044831c";
+ name = "kpat-19.08.1.tar.xz";
};
};
kpimtextedit = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kpimtextedit-19.04.1.tar.xz";
- sha256 = "2fb2dc59a016dd70424c0fbad45ca1d750c2578f539e79d89bcace85bafd24d1";
- name = "kpimtextedit-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kpimtextedit-19.08.1.tar.xz";
+ sha256 = "f7e0dc9c706c94fa74a561d42d41246eae57f60c03da1ec52f2311172052d7fe";
+ name = "kpimtextedit-19.08.1.tar.xz";
};
};
kpkpass = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kpkpass-19.04.1.tar.xz";
- sha256 = "fb3554b04d00b326d5f5e14af9c0272c020092d3329808a6177fb0714f6a1cb7";
- name = "kpkpass-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kpkpass-19.08.1.tar.xz";
+ sha256 = "893ee1f127c2d0c7135fe77c5c2895d04f95c9a6ed3b162c30856f4e99d4afb3";
+ name = "kpkpass-19.08.1.tar.xz";
};
};
kqtquickcharts = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kqtquickcharts-19.04.1.tar.xz";
- sha256 = "7e05638f534257e901e02b6fa377747efa7881760dd66484b5a882c65e778e72";
- name = "kqtquickcharts-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kqtquickcharts-19.08.1.tar.xz";
+ sha256 = "af191d150a4777e53b27c39c86f32f80cec8b6eb2442d03425496902f78e79c8";
+ name = "kqtquickcharts-19.08.1.tar.xz";
};
};
krdc = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/krdc-19.04.1.tar.xz";
- sha256 = "8238b6969352d896751d28baeef770705feb5a0866e7b950e9eb0b377c098b19";
- name = "krdc-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/krdc-19.08.1.tar.xz";
+ sha256 = "319bccbc3c3274b89ae58679d063a303df4b95504b1bef97f925da70a0fbcbde";
+ name = "krdc-19.08.1.tar.xz";
};
};
kreversi = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kreversi-19.04.1.tar.xz";
- sha256 = "c8bce72bff0bd8b452335c158900d41a419ce3e62afd996f67a4b77abf38cdc9";
- name = "kreversi-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kreversi-19.08.1.tar.xz";
+ sha256 = "f4c691dcc5c7864c8201f7e06470e2856996c35c5317020e56822c48af0b810e";
+ name = "kreversi-19.08.1.tar.xz";
};
};
krfb = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/krfb-19.04.1.tar.xz";
- sha256 = "73dee235940cb0512cd218d88f90e6d2d62f232a6553f327b07e54c114c8480b";
- name = "krfb-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/krfb-19.08.1.tar.xz";
+ sha256 = "3abe42f6e648f171fa38652fe03184725d1abcccf16bf1c1039ebada1f3c64c3";
+ name = "krfb-19.08.1.tar.xz";
};
};
kross-interpreters = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kross-interpreters-19.04.1.tar.xz";
- sha256 = "d745f844ebe6ecefbf0d234e1e972cc7d7933a9ef75999839a709ba008ec55fe";
- name = "kross-interpreters-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kross-interpreters-19.08.1.tar.xz";
+ sha256 = "d6acb31bd4c97364aa4a77767e012af32ecd0f560da939901a81be5776f2de49";
+ name = "kross-interpreters-19.08.1.tar.xz";
};
};
kruler = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kruler-19.04.1.tar.xz";
- sha256 = "fdbff79128c8f4cb51f39dbb6f173726404d25c743aa68313651bb7a51addb53";
- name = "kruler-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kruler-19.08.1.tar.xz";
+ sha256 = "040eef3746a660798e1701af6d9d17f4d091c30db9321dd5d37b172f5b91d59c";
+ name = "kruler-19.08.1.tar.xz";
};
};
kshisen = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kshisen-19.04.1.tar.xz";
- sha256 = "a9e0e7324bb1bcad6c9427c0563236e557de85ad9724a52cfc917b43726b1aa6";
- name = "kshisen-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kshisen-19.08.1.tar.xz";
+ sha256 = "1631baaff368ca40a386c60998a9a491a2054a951f5b7311bea74f708d61d65f";
+ name = "kshisen-19.08.1.tar.xz";
};
};
ksirk = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ksirk-19.04.1.tar.xz";
- sha256 = "170cc0f9dea3f35e15de5d1090e8e3fa2b2ed16fa1722dfeaef47339667f322e";
- name = "ksirk-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ksirk-19.08.1.tar.xz";
+ sha256 = "42e00d3591fbfbe1db6de4caad963606a0ca5ee9a224b757157594bebb8c733c";
+ name = "ksirk-19.08.1.tar.xz";
};
};
ksmtp = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ksmtp-19.04.1.tar.xz";
- sha256 = "965f5f1c44cd64f9899ff5919372fe449e0f8b63e492f566017c9b8d5eb324bb";
- name = "ksmtp-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ksmtp-19.08.1.tar.xz";
+ sha256 = "71401abcbb6aedd2845c84bca65f77297722b3414f4d4caeaa6ac6b8f2edc46c";
+ name = "ksmtp-19.08.1.tar.xz";
};
};
ksnakeduel = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ksnakeduel-19.04.1.tar.xz";
- sha256 = "89de9e20e71ac8225e94d406cd3d25f057df35c96d4a3b7d418ffe5e6b0ef046";
- name = "ksnakeduel-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ksnakeduel-19.08.1.tar.xz";
+ sha256 = "130e6545102a4e39f284a409213e9d45066ed27c077ff881839f33db78f62dd5";
+ name = "ksnakeduel-19.08.1.tar.xz";
};
};
kspaceduel = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kspaceduel-19.04.1.tar.xz";
- sha256 = "388eaf152c996bd7326f0a4cd18fafb2600659513750d0aadd98b780eb6ec8b7";
- name = "kspaceduel-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kspaceduel-19.08.1.tar.xz";
+ sha256 = "47a6d9c78b1d24e80803b7e1765bb6de37157e9f1e733ef5ce50a54612c16bf9";
+ name = "kspaceduel-19.08.1.tar.xz";
};
};
ksquares = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ksquares-19.04.1.tar.xz";
- sha256 = "3c9b0cb0921d1c29c6c451a22b318151010a3321350292d0d5fc26cc16618773";
- name = "ksquares-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ksquares-19.08.1.tar.xz";
+ sha256 = "39fd1b73c3c13c3322a5658b8deed31261b0e68edc5cb9666ade374d5d9d8283";
+ name = "ksquares-19.08.1.tar.xz";
};
};
ksudoku = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ksudoku-19.04.1.tar.xz";
- sha256 = "4f95ccd1b162c7fb7cad2b04e08e3a29cfc98ad27b87e6e76e389418d09c0f7b";
- name = "ksudoku-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ksudoku-19.08.1.tar.xz";
+ sha256 = "cae801e0c595009e35aa11df370de421164f10d9840ae4dede2cd57f19cd6866";
+ name = "ksudoku-19.08.1.tar.xz";
};
};
ksystemlog = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ksystemlog-19.04.1.tar.xz";
- sha256 = "c8e6cb81803b8754d394d9365d3a6533706c742c822a5ef9d46bdc2def356db4";
- name = "ksystemlog-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ksystemlog-19.08.1.tar.xz";
+ sha256 = "7dde2a350b32011027d6ab9648859218a053c5509ad08bce8c2de875d2ae73db";
+ name = "ksystemlog-19.08.1.tar.xz";
};
};
kteatime = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kteatime-19.04.1.tar.xz";
- sha256 = "68a23aa6a8bc575586966388315f403e464b43e1b2f4b669689f3161db1669f0";
- name = "kteatime-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kteatime-19.08.1.tar.xz";
+ sha256 = "a4b80c5ca6f48c1d291a9502c43293cd0aa383f2e089b9435b02ff79b317c310";
+ name = "kteatime-19.08.1.tar.xz";
};
};
ktimer = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktimer-19.04.1.tar.xz";
- sha256 = "7ec4ebbdb8fc388763d832f8601bc7a32848836edc235f4c877bfb6d1726d809";
- name = "ktimer-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktimer-19.08.1.tar.xz";
+ sha256 = "f81af279e9e79bb3044718fa868973524e85df65dfaf654b8f45824b6f9d17cb";
+ name = "ktimer-19.08.1.tar.xz";
};
};
ktnef = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktnef-19.04.1.tar.xz";
- sha256 = "6f9449307d83a7bf0dc30022c36e3d854a06b370af18e44ca6e2eab684b97c93";
- name = "ktnef-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktnef-19.08.1.tar.xz";
+ sha256 = "bab23e40af2fe5ba2dd0be71687fbdd56d0868f2ef2a399721da88b12c65764f";
+ name = "ktnef-19.08.1.tar.xz";
};
};
ktouch = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktouch-19.04.1.tar.xz";
- sha256 = "09aa2ef862fffcdfc580b4aefff96a0591d99f470055365a90a41b25a3c6dcf2";
- name = "ktouch-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktouch-19.08.1.tar.xz";
+ sha256 = "d97ee5f253dd4e4d802bb8109c2e12d4d48bc7741686d07783e5687a499a2da7";
+ name = "ktouch-19.08.1.tar.xz";
};
};
ktp-accounts-kcm = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-accounts-kcm-19.04.1.tar.xz";
- sha256 = "c4ecda8ca35438e45b48b9b86415bea1a44eeb2b2cd9af11ab1739f7ceeff045";
- name = "ktp-accounts-kcm-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-accounts-kcm-19.08.1.tar.xz";
+ sha256 = "2f76fc870bd7a96540aa91054b3cac38b917f90c129fada86c3639815dfa27a5";
+ name = "ktp-accounts-kcm-19.08.1.tar.xz";
};
};
ktp-approver = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-approver-19.04.1.tar.xz";
- sha256 = "e12421c0e79692532497dbd6db6b09faba010d99c57db1893eae3e59f7df47cd";
- name = "ktp-approver-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-approver-19.08.1.tar.xz";
+ sha256 = "a446c23836f6e38bb739246595cf1773f4909279cf1522b96ccd6626ba36430a";
+ name = "ktp-approver-19.08.1.tar.xz";
};
};
ktp-auth-handler = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-auth-handler-19.04.1.tar.xz";
- sha256 = "8d06e90a7e73b034c6087079b510e0ac1c27728c885e9aa2e8baef463a892d65";
- name = "ktp-auth-handler-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-auth-handler-19.08.1.tar.xz";
+ sha256 = "9a86ce184596cd54b914a7ff0424cadbee24b98f00b8736380e4153ee8596f64";
+ name = "ktp-auth-handler-19.08.1.tar.xz";
};
};
ktp-call-ui = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-call-ui-19.04.1.tar.xz";
- sha256 = "ad2efd84dc45cf55366dbc182d9301816129335ec4dc021dbbcc097c52656a0f";
- name = "ktp-call-ui-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-call-ui-19.08.1.tar.xz";
+ sha256 = "bab48fcdc4f4a7becfeca99dbe9061b9d08a510f94548c6ebdf720100ddb5a4c";
+ name = "ktp-call-ui-19.08.1.tar.xz";
};
};
ktp-common-internals = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-common-internals-19.04.1.tar.xz";
- sha256 = "041e5971071a060cef24abe68f699b5fcc657ba15a1e77feb227312fb1c13fd1";
- name = "ktp-common-internals-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-common-internals-19.08.1.tar.xz";
+ sha256 = "985d55a259df9cb0593db50ac88bd5d3ab155c6e26563386230fe66294c3dc63";
+ name = "ktp-common-internals-19.08.1.tar.xz";
};
};
ktp-contact-list = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-contact-list-19.04.1.tar.xz";
- sha256 = "7d8f7d841142d75036dc9dc4e31aefe8ff8906de6205b0e348b48e57da1400d9";
- name = "ktp-contact-list-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-contact-list-19.08.1.tar.xz";
+ sha256 = "a3ade7f7bacd53c90062923b488a7f60968a45d6d63890a618638f514dd3a5b2";
+ name = "ktp-contact-list-19.08.1.tar.xz";
};
};
ktp-contact-runner = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-contact-runner-19.04.1.tar.xz";
- sha256 = "68580e429fe0c9472a924af4f71df2da74684c5c11374464c110b9faca28c66f";
- name = "ktp-contact-runner-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-contact-runner-19.08.1.tar.xz";
+ sha256 = "385bc8bebb7847cefdd17738ecaf03b102794ac7f38dc58ebe10d100385b769f";
+ name = "ktp-contact-runner-19.08.1.tar.xz";
};
};
ktp-desktop-applets = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-desktop-applets-19.04.1.tar.xz";
- sha256 = "1114d5bcbc5a20c2d4822b1e2ad07d5d493ceace0a75b77575e978c30dc5fa75";
- name = "ktp-desktop-applets-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-desktop-applets-19.08.1.tar.xz";
+ sha256 = "ec26ba5893998f1e5c293d40e5410a7170ae4e0dea46f03bd5241c51c3240951";
+ name = "ktp-desktop-applets-19.08.1.tar.xz";
};
};
ktp-filetransfer-handler = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-filetransfer-handler-19.04.1.tar.xz";
- sha256 = "3e53fc28f4a1a8dd0dd2cb63b0a287061176a5c6e1db6480d50ebc70e2d8f189";
- name = "ktp-filetransfer-handler-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-filetransfer-handler-19.08.1.tar.xz";
+ sha256 = "34f7eed85709524efaa89924de85842c3532b1ade8572fe28dc2e8ce3f6026eb";
+ name = "ktp-filetransfer-handler-19.08.1.tar.xz";
};
};
ktp-kded-module = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-kded-module-19.04.1.tar.xz";
- sha256 = "fe5fc292618b28d11dddec435e86a89899c52b074b7c729aefe951b0b7697a66";
- name = "ktp-kded-module-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-kded-module-19.08.1.tar.xz";
+ sha256 = "323b538c08da82aaf66503463b4334bc603a37bb358fa6f1d5794562c05eed4f";
+ name = "ktp-kded-module-19.08.1.tar.xz";
};
};
ktp-send-file = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-send-file-19.04.1.tar.xz";
- sha256 = "8d3100de23666e3cb449663db376ed20e38647758371d37d721385af2b0d8d7a";
- name = "ktp-send-file-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-send-file-19.08.1.tar.xz";
+ sha256 = "1e4f9348dab9546d344d00783d6a5ad93b9b299b96d551dd09325c95932cbcd2";
+ name = "ktp-send-file-19.08.1.tar.xz";
};
};
ktp-text-ui = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktp-text-ui-19.04.1.tar.xz";
- sha256 = "dfc51070d1a25edde7c0f33d4eb83185738a70e6feb40a8b385403e833cca0b5";
- name = "ktp-text-ui-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktp-text-ui-19.08.1.tar.xz";
+ sha256 = "21c9c58bd498623a6bc9bbfa01c82548af29fdf7f690a359eb57ccd9a3de3105";
+ name = "ktp-text-ui-19.08.1.tar.xz";
};
};
ktuberling = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/ktuberling-19.04.1.tar.xz";
- sha256 = "f8146ecbe3a1005871a589054b996d059e5ff08b9d7fdeaa06591ae0ab05b8cb";
- name = "ktuberling-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/ktuberling-19.08.1.tar.xz";
+ sha256 = "b373c7552ff695e7d3428b7f2551315de00786177a5dc4bb96f777bdb84887cc";
+ name = "ktuberling-19.08.1.tar.xz";
};
};
kturtle = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kturtle-19.04.1.tar.xz";
- sha256 = "f932a56d8f380cc422215e580d8c4d51eabd189f2b4ca3b4205e617d52e6e10d";
- name = "kturtle-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kturtle-19.08.1.tar.xz";
+ sha256 = "5643434e861391471674e6cf86347c362b076e1d3fe1396022b5080b899bf934";
+ name = "kturtle-19.08.1.tar.xz";
};
};
kubrick = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kubrick-19.04.1.tar.xz";
- sha256 = "636080a8cac2f689f5af8de9aacef9e90029eafaaf7f1867b8a53a8a558e94c7";
- name = "kubrick-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kubrick-19.08.1.tar.xz";
+ sha256 = "51ff60a682c69f829af7f7e4748128d48e691aacd584379e099c437473a45c03";
+ name = "kubrick-19.08.1.tar.xz";
};
};
kwalletmanager = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kwalletmanager-19.04.1.tar.xz";
- sha256 = "793a3a335e53b6af36272398d7933ff0cc77918860799db2b5688ee249ce215d";
- name = "kwalletmanager-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kwalletmanager-19.08.1.tar.xz";
+ sha256 = "b6206da5001f79b67264f641210925b0400b41dc59562b978d402b9524835c14";
+ name = "kwalletmanager-19.08.1.tar.xz";
};
};
kwave = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kwave-19.04.1.tar.xz";
- sha256 = "1fd7e256a5d9b77ef691642891b2423357ef4aea7f40ae64304ec922e5930fd6";
- name = "kwave-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kwave-19.08.1.tar.xz";
+ sha256 = "6febc3d01c15f94fa0f75a731a375b76642c2cdce9afc373a5c1e92fb3753891";
+ name = "kwave-19.08.1.tar.xz";
};
};
kwordquiz = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/kwordquiz-19.04.1.tar.xz";
- sha256 = "970381004a7382f4f24dad61eda8a386e138735d78c2609c92603e14acbe0158";
- name = "kwordquiz-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/kwordquiz-19.08.1.tar.xz";
+ sha256 = "ead21c1caa1d1665a8ef685c4b46a442b7423aba63153617008985e84ff4c318";
+ name = "kwordquiz-19.08.1.tar.xz";
};
};
libgravatar = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libgravatar-19.04.1.tar.xz";
- sha256 = "7d4af799effc13af4f4b056d21b188bd67cd503d1528a7ff37e19d228619b522";
- name = "libgravatar-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libgravatar-19.08.1.tar.xz";
+ sha256 = "d39d6970b5113b2b805b048ca9b14770ab16d59c8ec755b0c5f6d4f7d6df73a2";
+ name = "libgravatar-19.08.1.tar.xz";
};
};
libkcddb = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkcddb-19.04.1.tar.xz";
- sha256 = "6773266408c0a68c128b08aca2df594249c210ff9b8fb3553b2bb82c591a2f51";
- name = "libkcddb-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkcddb-19.08.1.tar.xz";
+ sha256 = "f73d3f802e1ffec6b75246505cbec5a7baa328b808c23b42608e05fd8c7b30a5";
+ name = "libkcddb-19.08.1.tar.xz";
};
};
libkcompactdisc = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkcompactdisc-19.04.1.tar.xz";
- sha256 = "146d842741c24a379a0e134b8c0cbef916f5bd94fb8c6102703e5c764bf9b0ee";
- name = "libkcompactdisc-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkcompactdisc-19.08.1.tar.xz";
+ sha256 = "53d206967d98e9ee8254aca58d1ba34458761106c323deb449fa94bed1e24037";
+ name = "libkcompactdisc-19.08.1.tar.xz";
};
};
libkdcraw = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkdcraw-19.04.1.tar.xz";
- sha256 = "54576a803929a0adb3d25e239395b541c0820fecd633f09ea40677882c82e42c";
- name = "libkdcraw-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkdcraw-19.08.1.tar.xz";
+ sha256 = "b159a669cb4c01770c363b4dd53033248402d37b29acb416ec45e71ac12449e2";
+ name = "libkdcraw-19.08.1.tar.xz";
};
};
libkdegames = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkdegames-19.04.1.tar.xz";
- sha256 = "a16baa2818ab6f553d9c2635b252530538812787c50f9fbc0d18781943150e5c";
- name = "libkdegames-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkdegames-19.08.1.tar.xz";
+ sha256 = "1b365627bd0a3a42a32a0a8d401b53d2ac09f0f9cf040b4b0483c5574991b774";
+ name = "libkdegames-19.08.1.tar.xz";
};
};
libkdepim = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkdepim-19.04.1.tar.xz";
- sha256 = "28217ce30663955168d39eaa4e0c7efb47a437f59df77971f3e98efea99adc45";
- name = "libkdepim-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkdepim-19.08.1.tar.xz";
+ sha256 = "46966eaae2bc71a5bab0c22bcfff858e299d7f1cec2203c1d12cebbc084ee9ce";
+ name = "libkdepim-19.08.1.tar.xz";
};
};
libkeduvocdocument = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkeduvocdocument-19.04.1.tar.xz";
- sha256 = "c0b5e23a677cea13a2e15989a5b2240ddab2948b00be67e6306cf916e7ca2e59";
- name = "libkeduvocdocument-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkeduvocdocument-19.08.1.tar.xz";
+ sha256 = "9e7eb36b0c649231a792f618b28fd110b3782ea086cce81436191e9f73c6674e";
+ name = "libkeduvocdocument-19.08.1.tar.xz";
};
};
libkexiv2 = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkexiv2-19.04.1.tar.xz";
- sha256 = "138e1bf75cbbf16c46b6ba35f25e700ad93fa8a2134d0ad4c344174c7701cbae";
- name = "libkexiv2-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkexiv2-19.08.1.tar.xz";
+ sha256 = "bee9a16eda002146b42f358b0dc58c5db832719870761264cc6cf0a199ab0537";
+ name = "libkexiv2-19.08.1.tar.xz";
};
};
libkgapi = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkgapi-19.04.1.tar.xz";
- sha256 = "a9d499fe1f5371112ceb94b3b03f8e2b1a1faa4ee69722b4c1c9ba28e8f9052e";
- name = "libkgapi-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkgapi-19.08.1.tar.xz";
+ sha256 = "1ad2491348cc97f591aa681f7a649f2337c9a92e845980304c1110c69eecd579";
+ name = "libkgapi-19.08.1.tar.xz";
};
};
libkgeomap = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkgeomap-19.04.1.tar.xz";
- sha256 = "519345f30e46fc95816d145177347547c9c9eb440eab017c5ee928fa0ef8cf5a";
- name = "libkgeomap-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkgeomap-19.08.1.tar.xz";
+ sha256 = "aed369217007698beaa3230bf5b5360602d44ca6d333026158b15666f3670555";
+ name = "libkgeomap-19.08.1.tar.xz";
};
};
libkipi = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkipi-19.04.1.tar.xz";
- sha256 = "1f1a8b881f61c9fc151a2f0b98c6ba07baa0fe1ca8a0f77d7502e81c08a84020";
- name = "libkipi-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkipi-19.08.1.tar.xz";
+ sha256 = "ec2012821c90062e43ad7c77861ab519b24aea429ed9f0b7bdf6ef9c00e82ba4";
+ name = "libkipi-19.08.1.tar.xz";
};
};
libkleo = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkleo-19.04.1.tar.xz";
- sha256 = "a75084129e44028ff3f7742cdcb1800df94845d8c6ace38389da317144fa0529";
- name = "libkleo-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkleo-19.08.1.tar.xz";
+ sha256 = "5808a40d9c9358048d558a4c96f90e8c51b2dab3588ab3c678b02d5810020a31";
+ name = "libkleo-19.08.1.tar.xz";
};
};
libkmahjongg = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkmahjongg-19.04.1.tar.xz";
- sha256 = "7a1df5a03e1da1b801ca4530be3b9008b92cb4872ce8ec0038f2686ac325efbb";
- name = "libkmahjongg-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkmahjongg-19.08.1.tar.xz";
+ sha256 = "c4e3a29bb923ead76f1fb528fa62c677423ebb4ac07dd149a6fc3f6ae055eb39";
+ name = "libkmahjongg-19.08.1.tar.xz";
};
};
libkomparediff2 = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libkomparediff2-19.04.1.tar.xz";
- sha256 = "2ab1a9cb25996bd6fb80bf556ba4b91a07385e62688249e9415b1ead8b3ad1b3";
- name = "libkomparediff2-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libkomparediff2-19.08.1.tar.xz";
+ sha256 = "a020ba9287ee084a0f5a10896f1559f11aff1c97957405f47deeda32a0874b31";
+ name = "libkomparediff2-19.08.1.tar.xz";
};
};
libksane = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libksane-19.04.1.tar.xz";
- sha256 = "c89039afa641640cbc65b01ae735ee9b70bd3283095d6b034665ddb048d33417";
- name = "libksane-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libksane-19.08.1.tar.xz";
+ sha256 = "215fae62d8ea1f70908cafc5bc8667c02d4f0329669d056c99443a7b14a6e589";
+ name = "libksane-19.08.1.tar.xz";
};
};
libksieve = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/libksieve-19.04.1.tar.xz";
- sha256 = "23cca1dfc1d79242f24dd95e8817a9672629276bced3a9ee56067570ef69ccff";
- name = "libksieve-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/libksieve-19.08.1.tar.xz";
+ sha256 = "ab384877148710e7de92e88a192f52beaad667804bbc641b63c21cfdaa0aee31";
+ name = "libksieve-19.08.1.tar.xz";
};
};
lokalize = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/lokalize-19.04.1.tar.xz";
- sha256 = "1e68faa5af9079e691e5d207b0397c0250fb6e1209b370e9762bfa949c35dce1";
- name = "lokalize-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/lokalize-19.08.1.tar.xz";
+ sha256 = "fe1e1f8fb2f2ad3cde1830b2ddbcce0e41ffe5696c6e32b0639c8931967b3943";
+ name = "lokalize-19.08.1.tar.xz";
};
};
lskat = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/lskat-19.04.1.tar.xz";
- sha256 = "f83f9df9e4786a8d6d8d197defb8ac7f40b8bed8e88578673b2660c14c7a4edf";
- name = "lskat-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/lskat-19.08.1.tar.xz";
+ sha256 = "e4b073cc65be0f1e7e01b4b2aa28bed30480aef097f5185eb608b4e45b9352e9";
+ name = "lskat-19.08.1.tar.xz";
};
};
mailcommon = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/mailcommon-19.04.1.tar.xz";
- sha256 = "37b06e85e74d6ef1801485b8d99529fde5ca11bb446c231a6f5406e99f9c4d0f";
- name = "mailcommon-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/mailcommon-19.08.1.tar.xz";
+ sha256 = "3fb6f09ce8bc9ccddfa1420fa1a7c60a47065afdfbb5a30292179efbcebba833";
+ name = "mailcommon-19.08.1.tar.xz";
};
};
mailimporter = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/mailimporter-19.04.1.tar.xz";
- sha256 = "e77c5c43f20f821664a3a559b929eb2f97ba5105e000875b1642516a6f298696";
- name = "mailimporter-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/mailimporter-19.08.1.tar.xz";
+ sha256 = "4236938a2dca5ea0bc572afbe76ae28fc6ad1e65f383743de98a4e505f674962";
+ name = "mailimporter-19.08.1.tar.xz";
};
};
marble = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/marble-19.04.1.tar.xz";
- sha256 = "acd9c15c4758684f6eff6c2318fc4dd88fd68dd41336de9458cad4d5f6832c61";
- name = "marble-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/marble-19.08.1.tar.xz";
+ sha256 = "7e09e3037287be117e47de402d1f5ea7dd49f625ccf4a46d1d016a527d487e9e";
+ name = "marble-19.08.1.tar.xz";
};
};
mbox-importer = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/mbox-importer-19.04.1.tar.xz";
- sha256 = "3fcd5c6b3824dea9ff4145dde6bf7b472675e3927ce91258d89cbfe4d0ebb77a";
- name = "mbox-importer-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/mbox-importer-19.08.1.tar.xz";
+ sha256 = "3f4c96ee65ffa0488df09522e1bda2ea38c0adf420ae66fff11f670566c5536c";
+ name = "mbox-importer-19.08.1.tar.xz";
};
};
messagelib = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/messagelib-19.04.1.tar.xz";
- sha256 = "7e4d0e2f2d6dfcb235408af0e4af235ab10dc8a8c4f1e169a672f03b37b180ad";
- name = "messagelib-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/messagelib-19.08.1.tar.xz";
+ sha256 = "ec43d913028124a49eaa440e4b55dba23b6ab503728b897a3ad8e1fc5e446802";
+ name = "messagelib-19.08.1.tar.xz";
};
};
minuet = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/minuet-19.04.1.tar.xz";
- sha256 = "5f2e3692c0b7ae9496fa7952bfd02045aa87ba5ee10c6ef84fb4557abe83d0f0";
- name = "minuet-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/minuet-19.08.1.tar.xz";
+ sha256 = "524c389060c13b37a3df4662ca9ca5e2862d20ea71f47b1a5157a088d2d065d4";
+ name = "minuet-19.08.1.tar.xz";
};
};
okular = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/okular-19.04.1.tar.xz";
- sha256 = "7145b1eea61c56a5b413e960e5b24038c7af5d3cb583a524deca344dae3a0e0e";
- name = "okular-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/okular-19.08.1.tar.xz";
+ sha256 = "9e363b73febd5da1a17e53a8f89914784b555c1f0085ddc0f55ef56082b0bd54";
+ name = "okular-19.08.1.tar.xz";
};
};
palapeli = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/palapeli-19.04.1.tar.xz";
- sha256 = "dc661c88dcf6e3a17b9a2a403cac1ba9bd8f7144ff2c01ff3c286564159f796b";
- name = "palapeli-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/palapeli-19.08.1.tar.xz";
+ sha256 = "c9eeafe854529ea5a09e9ef6fd37b8be3d0d370322938c009c826bd936953adc";
+ name = "palapeli-19.08.1.tar.xz";
};
};
parley = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/parley-19.04.1.tar.xz";
- sha256 = "c52746417d32e31f66c1165fd08ab87696d5ef4b5a020a175fe00e60474bc73f";
- name = "parley-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/parley-19.08.1.tar.xz";
+ sha256 = "6ee4d538ddaecd5b6c3d855db62a4b5061240b2089b3dcc592712398fd1d066b";
+ name = "parley-19.08.1.tar.xz";
};
};
picmi = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/picmi-19.04.1.tar.xz";
- sha256 = "10abab6e48f48e1e1308fbd2a687bb4c5051c6ae2a670b737d6974432fdef30c";
- name = "picmi-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/picmi-19.08.1.tar.xz";
+ sha256 = "47e0dd79ee4ae86d8be6822f9328fac2f00ce68cf862202e889c0f77a88d0d91";
+ name = "picmi-19.08.1.tar.xz";
};
};
pimcommon = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/pimcommon-19.04.1.tar.xz";
- sha256 = "bc4612711775ea4665c0827c7935397503b5cf82f906bcf22a64b3ab1eaaaa72";
- name = "pimcommon-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/pimcommon-19.08.1.tar.xz";
+ sha256 = "5956e2767ea88efd73cbefef9cb80d16bb4cb5cb63857975fbb6ead1b984026c";
+ name = "pimcommon-19.08.1.tar.xz";
};
};
pim-data-exporter = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/pim-data-exporter-19.04.1.tar.xz";
- sha256 = "0fa9e20ef67f64d5a9c967f4ea32a476438b23ab8405774035cd4584e6100ebd";
- name = "pim-data-exporter-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/pim-data-exporter-19.08.1.tar.xz";
+ sha256 = "766e8b15f7853d84629bc49ad33aa59291d6d95cfd9db279e9e0ad70b0fab1fe";
+ name = "pim-data-exporter-19.08.1.tar.xz";
};
};
pim-sieve-editor = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/pim-sieve-editor-19.04.1.tar.xz";
- sha256 = "3a8ce54140233fa7ae618fc05ae9d882cab6e56835e9fdb29e2242885ce50e10";
- name = "pim-sieve-editor-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/pim-sieve-editor-19.08.1.tar.xz";
+ sha256 = "b49045d7326cf0ca7fabbf58d8508d61986701887871c4df53fad1f960a64438";
+ name = "pim-sieve-editor-19.08.1.tar.xz";
};
};
poxml = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/poxml-19.04.1.tar.xz";
- sha256 = "d8439996821ded53dea321f84619f3754cc677b5fa08b5fd37aabb09b8dac2f9";
- name = "poxml-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/poxml-19.08.1.tar.xz";
+ sha256 = "d38dce3114b01bc72163329dac629c4e5d36db15e09d52dd0ffbcaa645408d98";
+ name = "poxml-19.08.1.tar.xz";
};
};
print-manager = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/print-manager-19.04.1.tar.xz";
- sha256 = "33d553bb048959ecfc5e404f3a1e118b0ed78305d96b3a6042ffd576a164e9fa";
- name = "print-manager-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/print-manager-19.08.1.tar.xz";
+ sha256 = "b1fd9aa067329a4f5bb715e7db736160954bbec303be0ba5bc8f98852071e731";
+ name = "print-manager-19.08.1.tar.xz";
};
};
rocs = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/rocs-19.04.1.tar.xz";
- sha256 = "5c0740d68ed26f7291e114faa811a2ae104ee682181f5ebed381865dd7d8db61";
- name = "rocs-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/rocs-19.08.1.tar.xz";
+ sha256 = "eaa2fefae8123071e5802d0c13016d0b99608f91c75c7c6e4fbe6f2c6dc12adf";
+ name = "rocs-19.08.1.tar.xz";
};
};
signon-kwallet-extension = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/signon-kwallet-extension-19.04.1.tar.xz";
- sha256 = "658bbae2534896e13a7aced654f38164130ee3c748349d044000d0d7dcaa1c38";
- name = "signon-kwallet-extension-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/signon-kwallet-extension-19.08.1.tar.xz";
+ sha256 = "7d558509cf015641c76d4203c8dadc4e9720278fb39b4561eb2bce4e5412bb83";
+ name = "signon-kwallet-extension-19.08.1.tar.xz";
};
};
spectacle = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/spectacle-19.04.1.tar.xz";
- sha256 = "6f420fc6a660e25a08449cfb6d2795e07a37f8dca25f1862d857121b43f9262c";
- name = "spectacle-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/spectacle-19.08.1.tar.xz";
+ sha256 = "21057fd4990048df33f5d739fc98af2a555ca4b7db50688333fecabc12f24786";
+ name = "spectacle-19.08.1.tar.xz";
};
};
step = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/step-19.04.1.tar.xz";
- sha256 = "4fafff95339473e6449e9a45e273fe15758daf743e8697ff73f16129eb1dca05";
- name = "step-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/step-19.08.1.tar.xz";
+ sha256 = "533750dda4adcd0f3d8ec269103f35ee1ab4b4e9eae9721522b1b278660577a6";
+ name = "step-19.08.1.tar.xz";
};
};
svgpart = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/svgpart-19.04.1.tar.xz";
- sha256 = "3e30eb3b0f95073639697c73f1cc1d4689e53921cc87fe23cd0ec04ef6835624";
- name = "svgpart-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/svgpart-19.08.1.tar.xz";
+ sha256 = "4ed6277d3f2c12a4a53dd308911c613af5ae65f53819aeacf42e08dcd08dbd5b";
+ name = "svgpart-19.08.1.tar.xz";
};
};
sweeper = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/sweeper-19.04.1.tar.xz";
- sha256 = "70ccd7a1d8d81ee2a54df724a1ad908157672bb20e80c81aff8db946241b6637";
- name = "sweeper-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/sweeper-19.08.1.tar.xz";
+ sha256 = "cc539649fa4a2698ad07653f9427981381bf8b5344f05dab76acdf1704b4479a";
+ name = "sweeper-19.08.1.tar.xz";
};
};
umbrello = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/umbrello-19.04.1.tar.xz";
- sha256 = "42f9ba60320558439a1d5c68cc4d730c6b17e0b2b8a57b4686031bbecb3ab3c2";
- name = "umbrello-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/umbrello-19.08.1.tar.xz";
+ sha256 = "ce56fa6d96bbc78cf69246d6f45e9b098f8fcc75d7771875a8e638b01bbf6efa";
+ name = "umbrello-19.08.1.tar.xz";
+ };
+ };
+ yakuake = {
+ version = "19.08.1";
+ src = fetchurl {
+ url = "${mirror}/stable/applications/19.08.1/src/yakuake-19.08.1.tar.xz";
+ sha256 = "184fec9d07505faf820821e197582f7733694848cc17e71ee4f525772e78fc10";
+ name = "yakuake-19.08.1.tar.xz";
};
};
zeroconf-ioslave = {
- version = "19.04.1";
+ version = "19.08.1";
src = fetchurl {
- url = "${mirror}/stable/applications/19.04.1/src/zeroconf-ioslave-19.04.1.tar.xz";
- sha256 = "e59c8a4b6ff93ead29b322fb40c94a3584d5c463077d58575720fcba2c511d87";
- name = "zeroconf-ioslave-19.04.1.tar.xz";
+ url = "${mirror}/stable/applications/19.08.1/src/zeroconf-ioslave-19.08.1.tar.xz";
+ sha256 = "0c5f8931dd2997345fc6d3e8ef73c36615a73f8c906fb6be9c27432bc038000a";
+ name = "zeroconf-ioslave-19.08.1.tar.xz";
};
};
}
diff --git a/pkgs/applications/kde/yakuake.nix b/pkgs/applications/kde/yakuake.nix
new file mode 100644
index 00000000000..6f9c8df3001
--- /dev/null
+++ b/pkgs/applications/kde/yakuake.nix
@@ -0,0 +1,32 @@
+{
+ mkDerivation, lib, kdoctools, extra-cmake-modules,
+ karchive, kcrash, kdbusaddons, ki18n, kiconthemes, knewstuff, knotifications,
+ knotifyconfig, konsole, kparts, kwindowsystem, qtx11extras
+}:
+
+mkDerivation {
+ name = "yakuake";
+
+ buildInputs = [
+ karchive kcrash kdbusaddons ki18n kiconthemes knewstuff knotifications
+ knotifyconfig kparts kwindowsystem qtx11extras
+ ];
+
+ propagatedBuildInputs = [
+ karchive kcrash kdbusaddons ki18n kiconthemes knewstuff knotifications
+ knotifyconfig kparts kwindowsystem
+ ];
+
+ propagatedUserEnvPkgs = [ konsole ];
+
+ nativeBuildInputs = [
+ extra-cmake-modules kdoctools
+ ];
+
+ meta = {
+ homepage = https://yakuake.kde.org;
+ description = "Quad-style terminal emulator for KDE";
+ maintainers = with lib.maintainers; [ fridh ];
+ license = lib.licenses.gpl2;
+ };
+}
diff --git a/pkgs/applications/misc/1password/default.nix b/pkgs/applications/misc/1password/default.nix
index d1c54efe89d..edcd08f2499 100644
--- a/pkgs/applications/misc/1password/default.nix
+++ b/pkgs/applications/misc/1password/default.nix
@@ -2,24 +2,24 @@
stdenv.mkDerivation rec {
pname = "1password";
- version = "0.5.5";
+ version = "0.6.1";
src =
if stdenv.hostPlatform.system == "i686-linux" then
fetchzip {
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_386_v${version}.zip";
- sha256 = "1jwkvj6xxfgn08j6wzwcra3p1dp04vblzr2g5s1y3bj4r7gs4gax";
+ sha256 = "1yr78yawscp9fgvdw0dimc68k3bblk3g67g3jrqpa7hnl6pr24yl";
stripRoot = false;
}
else if stdenv.hostPlatform.system == "x86_64-linux" then
fetchzip {
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_linux_amd64_v${version}.zip";
- sha256 = "1svic2b2msbwzfx3qxfglxp0jjzy3p3v78273wab942zh822ld8b";
+ sha256 = "03m0vxhghzf4zq7k2f1afkc5ixf0qwiiypqjfjgpqpfng7g9ang7";
stripRoot = false;
}
else if stdenv.hostPlatform.system == "x86_64-darwin" then
fetchzip {
url = "https://cache.agilebits.com/dist/1P/op/pkg/v${version}/op_darwin_amd64_v${version}.zip";
- sha256 = "03bnwn06066hvp0n30260mhvkjr60dl93nj9l7p6a0ndcv7w77r8";
+ sha256 = "1hypmls1fq4rjx9icgr0pkx3s3fhhma2q5rds314sv7f9ijl458f";
stripRoot = false;
}
else throw "Architecture not supported";
diff --git a/pkgs/applications/misc/adobe-reader/default.nix b/pkgs/applications/misc/adobe-reader/default.nix
index 0ca12a0096e..d1e4856e052 100644
--- a/pkgs/applications/misc/adobe-reader/default.nix
+++ b/pkgs/applications/misc/adobe-reader/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk2, glib
-, gdk_pixbuf }:
+, gdk-pixbuf }:
assert stdenv.hostPlatform.system == "i686-linux";
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
# versions.
libPath = stdenv.lib.makeLibraryPath
- [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk_pixbuf ];
+ [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf ];
passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux";
diff --git a/pkgs/applications/misc/airtame/default.nix b/pkgs/applications/misc/airtame/default.nix
index 3e5bf8df4a7..465c72d73f5 100644
--- a/pkgs/applications/misc/airtame/default.nix
+++ b/pkgs/applications/misc/airtame/default.nix
@@ -1,12 +1,12 @@
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
, alsaLib, atk, cairo, cups, curl, dbus, expat, ffmpeg, fontconfig, freetype
-, gdk_pixbuf, glib, glibc, gnome2, gtk2, libX11, libXScrnSaver, libXcomposite
+, gdk-pixbuf, glib, glibc, gnome2, gtk2, libX11, libXScrnSaver, libXcomposite
, libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender
, libXtst, libopus, libpulseaudio, libxcb, nspr, nss, pango, udev, x264
}:
let libPath = lib.makeLibraryPath [
- alsaLib atk cairo cups curl dbus expat ffmpeg fontconfig freetype gdk_pixbuf
+ alsaLib atk cairo cups curl dbus expat ffmpeg fontconfig freetype gdk-pixbuf
glib glibc gnome2.GConf gtk2 libopus nspr nss pango stdenv.cc.cc udev x264
libX11 libXScrnSaver libXcomposite libXcursor libXdamage libXext libXfixes
libXi libXrandr libXrender libXtst libpulseaudio libxcb
@@ -14,7 +14,6 @@ let libPath = lib.makeLibraryPath [
in stdenv.mkDerivation rec {
pname = "airtame";
version = "3.3.0";
- name = "${pname}-${version}";
longName = "${pname}-application";
src = fetchurl {
diff --git a/pkgs/applications/misc/alacritty/default.nix b/pkgs/applications/misc/alacritty/default.nix
index dfd1ddf8503..dddf8d93412 100644
--- a/pkgs/applications/misc/alacritty/default.nix
+++ b/pkgs/applications/misc/alacritty/default.nix
@@ -2,27 +2,29 @@
lib,
fetchFromGitHub,
rustPlatform,
+
cmake,
+ gzip,
makeWrapper,
ncurses,
- expat,
pkgconfig,
- freetype,
+ python3,
+
+ expat,
fontconfig,
+ freetype,
+ libGL,
libX11,
- gzip,
libXcursor,
- libXxf86vm,
libXi,
libXrandr,
- libGL,
- xclip,
- wayland,
+ libXxf86vm,
+ libxcb,
libxkbcommon,
+ wayland,
+
# Darwin Frameworks
- cf-private,
AppKit,
- CoreFoundation,
CoreGraphics,
CoreServices,
CoreText,
@@ -34,53 +36,46 @@ with rustPlatform;
let
rpathLibs = [
expat
- freetype
fontconfig
+ freetype
+ libGL
libX11
libXcursor
- libXxf86vm
- libXrandr
- libGL
libXi
+ libXrandr
+ libXxf86vm
+ libxcb
] ++ lib.optionals stdenv.isLinux [
- wayland
libxkbcommon
+ wayland
];
in buildRustPackage rec {
pname = "alacritty";
- version = "0.3.2";
+ version = "0.3.3";
src = fetchFromGitHub {
owner = "jwilm";
repo = pname;
rev = "v${version}";
- sha256 = "16lhxfpwysd5ngw8yq76vbzjdmfzs9plsvairf768hnl290jcpbh";
+ sha256 = "1h9zid7bi19qga3a8a2d4x3ma9wf1njmj74s4xnw7nzqqf3dh750";
};
- cargoSha256 = "02q5kkr0zygpm9i2hd1sr246f18pyia1lq9dwjagqk7d2x3xlc7p";
+ cargoSha256 = "1rxb5ljgvn881jkxm8772kf815mmp08ci7sqmn2x1jwdcrphhxr1";
nativeBuildInputs = [
cmake
- makeWrapper
- pkgconfig
- ncurses
gzip
+ makeWrapper
+ ncurses
+ pkgconfig
+ python3
];
buildInputs = rpathLibs
- ++ lib.optionals stdenv.isDarwin [
- AppKit CoreFoundation CoreGraphics CoreServices CoreText Foundation OpenGL
- # Needed for CFURLResourceIsReachable symbols.
- cf-private
- ];
+ ++ lib.optionals stdenv.isDarwin [ AppKit CoreGraphics CoreServices CoreText Foundation OpenGL ];
outputs = [ "out" "terminfo" ];
- postPatch = ''
- substituteInPlace copypasta/src/x11.rs \
- --replace Command::new\(\"xclip\"\) Command::new\(\"${xclip}/bin/xclip\"\)
- '';
-
postBuild = lib.optionalString stdenv.isDarwin "make app";
installPhase = ''
@@ -119,6 +114,6 @@ in buildRustPackage rec {
homepage = https://github.com/jwilm/alacritty;
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ mic92 ];
- platforms = [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" ];
+ platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ];
};
}
diff --git a/pkgs/applications/misc/albert/default.nix b/pkgs/applications/misc/albert/default.nix
index 2dda615081c..6fc5f951465 100644
--- a/pkgs/applications/misc/albert/default.nix
+++ b/pkgs/applications/misc/albert/default.nix
@@ -37,11 +37,6 @@ mkDerivation rec {
rm "$out/lib"
'';
- postInstall = ''
- wrapProgram $out/bin/albert \
- --prefix XDG_DATA_DIRS : $out/share
- '';
-
meta = with lib; {
homepage = https://albertlauncher.github.io/;
description = "Desktop agnostic launcher";
diff --git a/pkgs/applications/misc/aminal/default.nix b/pkgs/applications/misc/aminal/default.nix
index 1c769e58705..8c5aded5ed9 100644
--- a/pkgs/applications/misc/aminal/default.nix
+++ b/pkgs/applications/misc/aminal/default.nix
@@ -2,7 +2,6 @@
, Carbon
, Cocoa
, Kernel
-, cf-private
, fetchFromGitHub
, lib
, mesa_glu
@@ -11,7 +10,7 @@
}:
buildGoPackage rec {
- name = "aminal-${version}";
+ pname = "aminal";
version = "0.8.6";
goPackagePath = "github.com/liamg/aminal";
@@ -25,12 +24,7 @@ buildGoPackage rec {
xorg.libXinerama
xorg.libXrandr
xorg.libXxf86vm
- ] ++ lib.optionals stdenv.isDarwin [
- Carbon
- Cocoa
- Kernel
- cf-private /* Needed for NSDefaultRunLoopMode */
- ];
+ ] ++ lib.optionals stdenv.isDarwin [ Carbon Cocoa Kernel ];
src = fetchFromGitHub {
owner = "liamg";
diff --git a/pkgs/applications/misc/antfs-cli/default.nix b/pkgs/applications/misc/antfs-cli/default.nix
index f21438dfcec..8108b9e4ddb 100644
--- a/pkgs/applications/misc/antfs-cli/default.nix
+++ b/pkgs/applications/misc/antfs-cli/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, python3Packages }:
-python3Packages.buildPythonApplication rec {
+python3Packages.buildPythonApplication {
pname = "antfs-cli";
version = "unstable-2017-02-11";
diff --git a/pkgs/applications/misc/ape/clex.nix b/pkgs/applications/misc/ape/clex.nix
index 37d140e19ba..c680ffe9678 100644
--- a/pkgs/applications/misc/ape/clex.nix
+++ b/pkgs/applications/misc/ape/clex.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "attempto-clex-${version}";
+ pname = "attempto-clex";
version = "5133afe";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/ape/default.nix b/pkgs/applications/misc/ape/default.nix
index e78ba2df999..0d8ebccb3d0 100644
--- a/pkgs/applications/misc/ape/default.nix
+++ b/pkgs/applications/misc/ape/default.nix
@@ -1,33 +1,33 @@
{ stdenv, swiProlog, makeWrapper,
fetchFromGitHub,
- lexicon ? "lexicon/clex_lexicon.pl",
+ lexicon ? "prolog/lexicon/clex_lexicon.pl",
pname ? "ape",
description ? "Parser for Attempto Controlled English (ACE)",
license ? with stdenv.lib; licenses.lgpl3
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
- version = "6.7-131003";
+ inherit pname;
+ version = "2019-08-10";
buildInputs = [ swiProlog makeWrapper ];
src = fetchFromGitHub {
owner = "Attempto";
repo = "APE";
- rev = version;
- sha256 = "0cw47qjg4896kw3vps6rfs02asvscsqvcfdiwgfmqb3hvykb1sdx";
+ rev = "113b81621262d7a395779465cb09397183e6f74c";
+ sha256 = "0xyvna2fbr18hi5yvm0zwh77q02dfna1g4g53z9mn2rmlfn2mhjh";
};
patchPhase = ''
# We move the file first to avoid "same file" error in the default case
cp ${lexicon} new_lexicon.pl
- rm lexicon/clex_lexicon.pl
- cp new_lexicon.pl lexicon/clex_lexicon.pl
+ rm prolog/lexicon/clex_lexicon.pl
+ cp new_lexicon.pl prolog/lexicon/clex_lexicon.pl
'';
buildPhase = ''
- make build
+ make SHELL=${stdenv.shell} build
'';
installPhase = ''
diff --git a/pkgs/applications/misc/apvlv/default.nix b/pkgs/applications/misc/apvlv/default.nix
index 2da0de9ead8..b5af1af91f3 100644
--- a/pkgs/applications/misc/apvlv/default.nix
+++ b/pkgs/applications/misc/apvlv/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "0.1.5";
- name = "apvlv-${version}";
+ pname = "apvlv";
src = fetchFromGitHub {
owner = "naihe2010";
diff --git a/pkgs/applications/misc/archiver/default.nix b/pkgs/applications/misc/archiver/default.nix
index 25fafb604c3..03f534e1a4d 100644
--- a/pkgs/applications/misc/archiver/default.nix
+++ b/pkgs/applications/misc/archiver/default.nix
@@ -1,26 +1,24 @@
-{ buildGoPackage
+{ buildGoModule
, fetchFromGitHub
, lib
}:
-buildGoPackage rec {
- name = "archiver-${version}";
- version = "3.0.0";
-
- goPackagePath = "github.com/mholt/archiver";
+buildGoModule rec {
+ pname = "archiver";
+ version = "3.2.0";
src = fetchFromGitHub {
owner = "mholt";
- repo = "archiver";
+ repo = pname;
rev = "v${version}";
- sha256 = "1wngv51333h907mp6nbzd9dq6r0x06mag2cij92912jcbzy0q8bk";
+ sha256 = "1kq2cyhbniwdabk426j493cs8d4nj35vmznm9031rrdd9ln5h9gl";
};
- goDeps = ./deps.nix;
+ modSha256 = "13vwgqpw7ypq6mrvwmnl8n38x0h89ymryrrzkf7ya478fp00vclj";
meta = with lib; {
- description = "Easily create and extract .zip, .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lz4, .tar.sz, and .rar (extract-only) files with Go";
- homepage = https://github.com/mholt/archiver;
+ description = "Easily create & extract archives, and compress & decompress files of various formats";
+ homepage = "https://github.com/mholt/archiver";
license = licenses.mit;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.all;
diff --git a/pkgs/applications/misc/archiver/deps.nix b/pkgs/applications/misc/archiver/deps.nix
deleted file mode 100644
index 4b14fd47711..00000000000
--- a/pkgs/applications/misc/archiver/deps.nix
+++ /dev/null
@@ -1,56 +0,0 @@
-[
- {
- goPackagePath = "github.com/dsnet/compress";
- fetch = {
- type = "git";
- url = "https://github.com/dsnet/compress";
- rev = "cc9eb1d7ad760af14e8f918698f745e80377af4f";
- sha256 = "159liclywmyb6zx88ga5gn42hfl4cpk1660zss87fkx31hdq9fgx";
- };
- }
- {
- goPackagePath = "github.com/golang/snappy";
- fetch = {
- type = "git";
- url = "https://github.com/golang/snappy";
- rev = "2e65f85255dbc3072edf28d6b5b8efc472979f5a";
- sha256 = "05w6mpc4qcy0pv8a2bzng8nf4s5rf5phfang4jwy9rgf808q0nxf";
- };
- }
- {
- goPackagePath = "github.com/nwaples/rardecode";
- fetch = {
- type = "git";
- url = "https://github.com/nwaples/rardecode";
- rev = "197ef08ef68c4454ae5970a9c2692d6056ceb8d7";
- sha256 = "0vvijw7va283dbdvnf4bgkn7bjngxqzk1rzdpy8sl343r62bmh4g";
- };
- }
- {
- goPackagePath = "github.com/pierrec/lz4";
- fetch = {
- type = "git";
- url = "https://github.com/pierrec/lz4";
- rev = "623b5a2f4d2a41e411730dcdfbfdaeb5c0c4564e";
- sha256 = "1hhf7vyz5irrqs7ixdmvsvzmy9izv3ha8jbyy0cs486h61nzqkki";
- };
- }
- {
- goPackagePath = "github.com/ulikunitz/xz";
- fetch = {
- type = "git";
- url = "https://github.com/ulikunitz/xz";
- rev = "590df8077fbcb06ad62d7714da06c00e5dd2316d";
- sha256 = "07mivr4aiw3b8qzwajsxyjlpbkf3my4xx23lv0yryc4pciam5lhy";
- };
- }
- {
- goPackagePath = "github.com/xi2/xz";
- fetch = {
- type = "git";
- url = "https://github.com/xi2/xz";
- rev = "48954b6210f8d154cb5f8484d3a3e1f83489309e";
- sha256 = "178r0fa2dpzxf0sabs7dn0c8fa7vs87zlxk6spkn374ls9pir7nq";
- };
- }
-]
diff --git a/pkgs/applications/misc/artha/default.nix b/pkgs/applications/misc/artha/default.nix
index 202c1669f85..b03d2aa208b 100644
--- a/pkgs/applications/misc/artha/default.nix
+++ b/pkgs/applications/misc/artha/default.nix
@@ -1,7 +1,7 @@
{ stdenv, autoreconfHook, fetchurl, dbus-glib, gtk2, pkgconfig, wordnet }:
-stdenv.mkDerivation rec {
- name = "artha-${version}";
+stdenv.mkDerivation {
+ pname = "artha";
version = "1.0.3";
src = fetchurl {
diff --git a/pkgs/applications/misc/asciiquarium/default.nix b/pkgs/applications/misc/asciiquarium/default.nix
index 3c18d70d6c2..0e524ede091 100644
--- a/pkgs/applications/misc/asciiquarium/default.nix
+++ b/pkgs/applications/misc/asciiquarium/default.nix
@@ -2,7 +2,8 @@
let version = "1.1";
in stdenv.mkDerivation {
- name = "asciiquarium-${version}";
+ pname = "asciiquarium";
+ inherit version;
src = fetchurl {
url = "https://robobunny.com/projects/asciiquarium/asciiquarium_${version}.tar.gz";
sha256 = "0qfkr5b7sxzi973nh0h84blz2crvmf28jkkgaj3mxrr56mhwc20v";
diff --git a/pkgs/applications/misc/autospotting/default.nix b/pkgs/applications/misc/autospotting/default.nix
index 2dd151c1a6c..b00686fb24f 100644
--- a/pkgs/applications/misc/autospotting/default.nix
+++ b/pkgs/applications/misc/autospotting/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
-buildGoPackage rec {
- name = "autospotting-${version}";
+buildGoPackage {
+ pname = "autospotting";
version = "unstable-2018-11-17";
goPackagePath = "github.com/AutoSpotting/AutoSpotting";
diff --git a/pkgs/applications/misc/avrdudess/default.nix b/pkgs/applications/misc/avrdudess/default.nix
index 4227b4155ac..165bee76b69 100644
--- a/pkgs/applications/misc/avrdudess/default.nix
+++ b/pkgs/applications/misc/avrdudess/default.nix
@@ -1,6 +1,6 @@
{ stdenv, runtimeShell, fetchurl, unzip, mono, avrdude, gtk2, xdg_utils }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "avrdudess-2.2.20140102";
src = fetchurl {
diff --git a/pkgs/applications/misc/barrier/default.nix b/pkgs/applications/misc/barrier/default.nix
index 6151b3d55ab..e401a7c0b8e 100644
--- a/pkgs/applications/misc/barrier/default.nix
+++ b/pkgs/applications/misc/barrier/default.nix
@@ -1,26 +1,19 @@
-{ stdenv, fetchpatch, fetchurl, cmake, curl, xorg, avahi, qt5,
+{ stdenv, fetchFromGitHub, cmake, curl, xorg, avahi, qtbase, mkDerivation,
avahiWithLibdnssdCompat ? avahi.override { withLibdnssdCompat = true; }
}:
-stdenv.mkDerivation rec {
- name = "barrier-${version}";
- version = "2.1.1";
- src = fetchurl {
- url = "https://github.com/debauchee/barrier/archive/v${version}.tar.gz";
- sha256 = "0x17as5ikfx2r5hawr368a9risvcavyc8zv5g724s709nr6m0pbp";
+mkDerivation rec {
+ pname = "barrier";
+ version = "2.3.1";
+
+ src = fetchFromGitHub {
+ owner = "debauchee";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1dakpgs4jcwg06f45xg6adc83jd2qnpywmjm1z7g0hzd2vd0qg4k";
};
- buildInputs = [ cmake curl xorg.libX11 xorg.libXext xorg.libXtst avahiWithLibdnssdCompat ];
- propagatedBuildInputs = with qt5; [ qtbase ];
-
- patches = [
- # Fix compilation on Qt 5.11
- # Patch should be removed on next version bump from 2.1.1!
- (fetchpatch {
- url = "https://github.com/debauchee/barrier/commit/a956cad0da23f544b874888c6c3540dc7f8f22cf.patch";
- sha256 = "0x5045bdks1f9casp0v7svx9ml1gxhkhw5sqc7xk36h184m24a21";
- })
- ];
+ buildInputs = [ cmake curl xorg.libX11 xorg.libXext xorg.libXtst avahiWithLibdnssdCompat qtbase ];
postFixup = ''
substituteInPlace "$out/share/applications/barrier.desktop" --replace "Exec=barrier" "Exec=$out/bin/barrier"
diff --git a/pkgs/applications/misc/bashSnippets/default.nix b/pkgs/applications/misc/bashSnippets/default.nix
index fc5fa4d0300..b0af34ec760 100644
--- a/pkgs/applications/misc/bashSnippets/default.nix
+++ b/pkgs/applications/misc/bashSnippets/default.nix
@@ -12,7 +12,8 @@ let
];
in
stdenv.mkDerivation {
- name = "bashSnippets-${version}";
+ pname = "bashSnippets";
+ inherit version;
src = fetchFromGitHub {
owner = "alexanderepstein";
diff --git a/pkgs/applications/misc/batti/default.nix b/pkgs/applications/misc/batti/default.nix
index 283e7f19907..8b994c55de3 100644
--- a/pkgs/applications/misc/batti/default.nix
+++ b/pkgs/applications/misc/batti/default.nix
@@ -1,24 +1,24 @@
{ stdenv, fetchurl
, pkgconfig, gettext, pythonPackages
-, gtk2, gdk_pixbuf, upower
+, gtk2, gdk-pixbuf, upower
, makeWrapper }:
let
inherit (pythonPackages) dbus-python pygtk python;
in stdenv.mkDerivation rec {
- name = "batti-${version}";
+ pname = "batti";
version = "0.3.8";
src = fetchurl {
- url = "https://batti-gtk.googlecode.com/files/${name}.tar.gz";
+ url = "https://batti-gtk.googlecode.com/files/${pname}-${version}.tar.gz";
sha256 = "072d92gpsiiin631589nj77i2w1425p6db0qxyml7myscfy9jgx6";
};
buildInputs = with stdenv.lib;
- [ pkgconfig gettext python gtk2 pygtk dbus-python gdk_pixbuf upower makeWrapper ];
+ [ pkgconfig gettext python gtk2 pygtk dbus-python gdk-pixbuf upower makeWrapper ];
- configurePhase = "true";
+ dontConfigure = true;
buildPhase = ''
python setup.py build
@@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
license = licenses.lgpl2Plus;
maintainers = [ maintainers.AndersonTorres ];
platforms = platforms.linux;
- broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
+ broken = true; # see https://github.com/NixOS/nixpkgs/pull/4031#issuecomment-56283520
};
}
diff --git a/pkgs/applications/misc/bb/default.nix b/pkgs/applications/misc/bb/default.nix
index f085e4bd7dd..06df1df9f76 100644
--- a/pkgs/applications/misc/bb/default.nix
+++ b/pkgs/applications/misc/bb/default.nix
@@ -1,11 +1,11 @@
{ stdenv, lib, fetchurl, darwin, aalib, ncurses, xorg, libmikmod }:
stdenv.mkDerivation rec {
- name = "bb-${version}";
+ pname = "bb";
version = "1.3rc1";
src = fetchurl {
- url = "mirror://sourceforge/aa-project/bb/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/aa-project/bb/${version}/${pname}-${version}.tar.gz";
sha256 = "1i411glxh7g4pfg4gw826lpwngi89yrbmxac8jmnsfvrfb48hgbr";
};
diff --git a/pkgs/applications/misc/bemenu/default.nix b/pkgs/applications/misc/bemenu/default.nix
index 89c32668be9..8945ffbb384 100644
--- a/pkgs/applications/misc/bemenu/default.nix
+++ b/pkgs/applications/misc/bemenu/default.nix
@@ -9,7 +9,7 @@ assert ncursesSupport -> ncurses != null;
assert waylandSupport -> wayland != null;
assert x11Support -> xlibs != null && xorg != null;
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "bemenu";
version = "0.1.0";
diff --git a/pkgs/applications/misc/bibletime/default.nix b/pkgs/applications/misc/bibletime/default.nix
index 41184d6e949..a3f0a3b84f2 100644
--- a/pkgs/applications/misc/bibletime/default.nix
+++ b/pkgs/applications/misc/bibletime/default.nix
@@ -4,10 +4,10 @@ stdenv.mkDerivation rec {
version = "2.10.1";
- name = "bibletime-${version}";
+ pname = "bibletime";
src = fetchurl {
- url = "mirror://sourceforge/bibletime/${name}.tar.xz";
+ url = "mirror://sourceforge/bibletime/${pname}-${version}.tar.xz";
sha256 = "14fayy5h1ffjxin669q56fflxn4ij1irgn60cygwx2y02cwxbll6";
};
diff --git a/pkgs/applications/misc/bitcoinarmory/default.nix b/pkgs/applications/misc/bitcoinarmory/default.nix
index 9c99dcee2b3..090cb2f519e 100644
--- a/pkgs/applications/misc/bitcoinarmory/default.nix
+++ b/pkgs/applications/misc/bitcoinarmory/default.nix
@@ -10,7 +10,8 @@ let
in buildPythonApplication {
- name = "bitcoinarmory-${version}";
+ pname = "bitcoinarmory";
+ inherit version;
src = fetchFromGitHub {
owner = "goatpig";
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix
index 5445c7efb59..3b98114c710 100644
--- a/pkgs/applications/misc/blender/default.nix
+++ b/pkgs/applications/misc/blender/default.nix
@@ -1,7 +1,7 @@
{ config, stdenv, lib, fetchurl, boost, cmake, ffmpeg, gettext, glew
, ilmbase, libXi, libX11, libXext, libXrender
, libjpeg, libpng, libsamplerate, libsndfile
-, libtiff, libGLU_combined, openal, opencolorio, openexr, openimageio, openjpeg_1, pythonPackages
+, libtiff, libGLU_combined, openal, opencolorio, openexr, openimageio, openjpeg_1, python3Packages
, zlib, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
, jackaudioSupport ? false, libjack2
, cudaSupport ? config.cudaSupport or false, cudatoolkit
@@ -11,14 +11,15 @@
with lib;
-let python = pythonPackages.python; in
+let python = python3Packages.python; in
stdenv.mkDerivation rec {
- name = "blender-2.79b";
+ pname = "blender";
+ version = "2.80";
src = fetchurl {
- url = "https://download.blender.org/source/${name}.tar.gz";
- sha256 = "1g4kcdqmf67srzhi3hkdnr4z1ph4h9sza1pahz38mrj998q4r52c";
+ url = "https://download.blender.org/source/${pname}-${version}.tar.gz";
+ sha256 = "1h550jisdbis50hxwk5kxrvrk1a6sh2fsri3yyj66vhzbi87x7fd";
};
nativeBuildInputs = [ cmake ] ++ optional cudaSupport addOpenGLRunpath;
@@ -36,7 +37,6 @@ stdenv.mkDerivation rec {
postPatch =
''
- substituteInPlace doc/manpage/blender.1.py --replace /usr/bin/python ${python}/bin/python3
substituteInPlace extern/clew/src/clew.c --replace '"libOpenCL.so"' '"${ocl-icd}/lib/libOpenCL.so"'
'';
@@ -47,10 +47,7 @@ stdenv.mkDerivation rec {
"-DWITH_INSTALL_PORTABLE=OFF"
"-DWITH_FFTW3=ON"
#"-DWITH_SDL=ON"
- "-DWITH_GAMEENGINE=ON"
"-DWITH_OPENCOLORIO=ON"
- "-DWITH_SYSTEM_OPENJPEG=ON"
- "-DWITH_PLAYER=ON"
"-DWITH_OPENSUBDIV=ON"
"-DPYTHON_LIBRARY=${python.libPrefix}m"
"-DPYTHON_LIBPATH=${python}/lib"
@@ -58,13 +55,10 @@ stdenv.mkDerivation rec {
"-DPYTHON_VERSION=${python.pythonVersion}"
"-DWITH_PYTHON_INSTALL=OFF"
"-DWITH_PYTHON_INSTALL_NUMPY=OFF"
+ "-DPYTHON_NUMPY_PATH=${python3Packages.numpy}/${python.sitePackages}"
]
++ optional jackaudioSupport "-DWITH_JACK=ON"
- ++ optionals cudaSupport
- [ "-DWITH_CYCLES_CUDA_BINARIES=ON"
- # Disable architectures before sm_30 to support new CUDA toolkits.
- "-DCYCLES_CUDA_BINARIES_ARCH=sm_30;sm_35;sm_37;sm_50;sm_52;sm_60;sm_61"
- ]
+ ++ optional cudaSupport "-DWITH_CYCLES_CUDA_BINARIES=ON"
++ optional colladaSupport "-DWITH_OPENCOLLADA=ON";
NIX_CFLAGS_COMPILE = "-I${ilmbase.dev}/include/OpenEXR -I${python}/include/${python.libPrefix}";
@@ -78,7 +72,7 @@ stdenv.mkDerivation rec {
postInstall = optionalString enableNumpy
''
wrapProgram $out/bin/blender \
- --prefix PYTHONPATH : ${pythonPackages.numpy}/${python.sitePackages}
+ --prefix PYTHONPATH : ${python3Packages.numpy}/${python.sitePackages}
'';
# Set RUNPATH so that libcuda and libnvrtc in /run/opengl-driver(-32)/lib can be
diff --git a/pkgs/applications/misc/brewtarget/default.nix b/pkgs/applications/misc/brewtarget/default.nix
new file mode 100644
index 00000000000..11824503450
--- /dev/null
+++ b/pkgs/applications/misc/brewtarget/default.nix
@@ -0,0 +1,38 @@
+{ lib
+, mkDerivation
+, fetchFromGitHub
+, bash
+, cmake
+, qtbase
+, qttools
+, qtmultimedia
+, qtwebkit
+, qtsvg
+}:
+
+mkDerivation rec {
+ pname = "brewtarget";
+ version = "2.3.1";
+
+ src = fetchFromGitHub {
+ owner = "Brewtarget";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "14xmm6f8xmvypagx4qdw8q9llzmyi9zzfhnzh4kbbflhjbcr7isz";
+ };
+
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ qtbase qttools qtmultimedia qtwebkit qtsvg ];
+
+ preConfigure = ''
+ chmod +x configure
+ substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"
+ '';
+
+ meta = with lib; {
+ description = "Open source beer recipe creation tool";
+ homepage = "http://www.brewtarget.org/";
+ license = licenses.gpl3;
+ maintainers = [ maintainers.mmahut ];
+ };
+}
diff --git a/pkgs/applications/misc/buku/default.nix b/pkgs/applications/misc/buku/default.nix
index 9822a187b9e..60ade661cff 100644
--- a/pkgs/applications/misc/buku/default.nix
+++ b/pkgs/applications/misc/buku/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, python3, fetchFromGitHub, fetchpatch }:
+{ stdenv, python3, fetchFromGitHub }:
with python3.pkgs; buildPythonApplication rec {
- version = "4.2";
+ version = "4.2.2";
pname = "buku";
src = fetchFromGitHub {
owner = "jarun";
repo = "buku";
rev = "v${version}";
- sha256 = "1ipvhd9wa4iq0763b9h4f3xa6x31bssi6m0595w97mdhh9n6bgxg";
+ sha256 = "1wy5i1av1s98yr56ybiq66kv0vg48zci3fp91zfgj04nh2966w1w";
};
checkInputs = [
diff --git a/pkgs/applications/misc/calcurse/default.nix b/pkgs/applications/misc/calcurse/default.nix
index dc0460c2a23..402198a9732 100644
--- a/pkgs/applications/misc/calcurse/default.nix
+++ b/pkgs/applications/misc/calcurse/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ncurses, gettext, python3, python3Packages, makeWrapper }:
stdenv.mkDerivation rec {
- name = "calcurse-${version}";
- version = "4.4.0";
+ pname = "calcurse";
+ version = "4.5.0";
src = fetchurl {
- url = "https://calcurse.org/files/${name}.tar.gz";
- sha256 = "0vw2xi6a2lrhrb8n55zq9lv4mzxhby4xdf3hmi1vlfpyrpdwkjzd";
+ url = "https://calcurse.org/files/${pname}-${version}.tar.gz";
+ sha256 = "1vjwcmp51h7dsvwn0qx93w9chp3wp970v7d9mjhk7jyamcbfywn3";
};
buildInputs = [ ncurses gettext python3 python3Packages.wrapPython ];
diff --git a/pkgs/applications/misc/calibre/default.nix b/pkgs/applications/misc/calibre/default.nix
index 99e71d769be..dd85156b3ef 100644
--- a/pkgs/applications/misc/calibre/default.nix
+++ b/pkgs/applications/misc/calibre/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, poppler_utils, pkgconfig, libpng
+{ stdenv, mkDerivation, fetchurl, poppler_utils, pkgconfig, libpng
, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmake, icu, sqlite
-, makeWrapper, unrarSupport ? false, chmlib, python2Packages, libusb1, libmtp
-, xdg_utils, makeDesktopItem, wrapGAppsHook, removeReferencesTo
+, unrarSupport ? false, chmlib, python2Packages, libusb1, libmtp
+, xdg_utils, makeDesktopItem, wrapGAppsHook, removeReferencesTo, qt5
}:
-stdenv.mkDerivation rec {
- version = "3.42.0";
- name = "calibre-${version}";
+mkDerivation rec {
+ pname = "calibre";
+ version = "3.47.1";
src = fetchurl {
- url = "https://download.calibre-ebook.com/${version}/${name}.tar.xz";
- sha256 = "0ymdhws3cb44p3fb24vln1wx6s7qnb8rr241jvm6qbj5rnp984dm";
+ url = "https://download.calibre-ebook.com/${version}/${pname}-${version}.tar.xz";
+ sha256 = "17lz6rawlv268vv8i5kj59rswsipq3c14066adaz1paw54zr62dk";
};
patches = [
@@ -35,11 +35,11 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- nativeBuildInputs = [ makeWrapper pkgconfig qmake removeReferencesTo ];
+ nativeBuildInputs = [ pkgconfig qmake removeReferencesTo wrapGAppsHook ];
buildInputs = [
poppler_utils libpng imagemagick libjpeg
- fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils wrapGAppsHook
+ fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils
] ++ (with python2Packages; [
apsw cssselect css-parser dateutil dnspython html5-parser lxml mechanize netifaces pillow
python pyqt5_with_qtwebkit sip
@@ -70,11 +70,6 @@ stdenv.mkDerivation rec {
sed -i "s/env python[0-9.]*/python/" $PYFILES
sed -i "2i import sys; sys.argv[0] = 'calibre'" $out/bin/calibre
- for a in $out/bin/*; do
- wrapProgram $a --prefix PYTHONPATH : $PYTHONPATH \
- --prefix PATH : ${poppler_utils.out}/bin
- done
-
# Replace @out@ by the output path.
mkdir -p $out/share/applications/
cp {$calibreDesktopItem,$ebookEditDesktopItem,$ebookViewerDesktopItem}/share/applications/* $out/share/applications/
@@ -88,17 +83,29 @@ stdenv.mkDerivation rec {
runHook postInstall
'';
+ # Wrap manually
+ dontWrapQtApps = true;
+ dontWrapGApps = true;
+
# Remove some references to shrink the closure size. This reference (as of
# 2018-11-06) was a single string like the following:
# /nix/store/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-podofo-0.9.6-dev/include/podofo/base/PdfVariant.h
preFixup = ''
remove-references-to -t ${podofo.dev} $out/lib/calibre/calibre/plugins/podofo.so
+
+ for program in $out/bin/*; do
+ wrapProgram $program \
+ ''${qtWrapperArgs[@]} \
+ ''${gappsWrapperArgs[@]} \
+ --prefix PYTHONPATH : $PYTHONPATH \
+ --prefix PATH : ${poppler_utils.out}/bin
+ done
'';
disallowedReferences = [ podofo.dev ];
calibreDesktopItem = makeDesktopItem {
- name = "calibre";
+ name = "calibre-gui";
desktopName = "calibre";
exec = "@out@/bin/calibre --detach %F";
genericName = "E-book library management";
@@ -144,7 +151,7 @@ stdenv.mkDerivation rec {
};
ebookEditDesktopItem = makeDesktopItem {
- name = "calibre-edit-ebook";
+ name = "calibre-edit-book";
desktopName = "Edit E-book";
genericName = "E-book Editor";
comment = "Edit e-books";
diff --git a/pkgs/applications/misc/candle/default.nix b/pkgs/applications/misc/candle/default.nix
index 35aa681df4b..77cabc409c7 100644
--- a/pkgs/applications/misc/candle/default.nix
+++ b/pkgs/applications/misc/candle/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, qtbase, qtserialport, qmake }:
stdenv.mkDerivation rec {
- name = "candle-${version}";
+ pname = "candle";
version = "1.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/cardpeek/default.nix b/pkgs/applications/misc/cardpeek/default.nix
index 9b219270809..40dbfea9801 100644
--- a/pkgs/applications/misc/cardpeek/default.nix
+++ b/pkgs/applications/misc/cardpeek/default.nix
@@ -1,10 +1,11 @@
-{ stdenv, lib, fetchFromGitHub, pkgconfig, autoreconfHook,
+{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook,
glib, gtk3, pcsclite, lua5_2, curl, readline }:
let
version = "0.8.4";
in
stdenv.mkDerivation {
- name = "cardpeek-${version}";
+ pname = "cardpeek";
+ inherit version;
src = fetchFromGitHub {
owner = "L1L1";
diff --git a/pkgs/applications/misc/cataract/build.nix b/pkgs/applications/misc/cataract/build.nix
index e48b32a783d..1c33a92987c 100644
--- a/pkgs/applications/misc/cataract/build.nix
+++ b/pkgs/applications/misc/cataract/build.nix
@@ -10,9 +10,9 @@
, sha256
, rev }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit version;
- name = "cataract-${version}";
+ pname = "cataract";
src = fetchgit {
url = "git://git.bzatek.net/cataract";
@@ -22,17 +22,21 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib libxml2 exiv2 imagemagick ];
+ prePatch = ''
+ sed -i 's|#include |#include |' src/jpeg-utils.cpp
+ '';
+
installPhase = ''
mkdir $out/{bin,share} -p
cp src/cgg{,-dirgen} $out/bin/
'';
- meta = {
- homepage = http://cgg.bzatek.net/;
- description = "a simple static web photo gallery, designed to be clean and easily usable";
- license = stdenv.lib.licenses.gpl2;
- maintainers = [ stdenv.lib.maintainers.matthiasbeyer ];
- platforms = with stdenv.lib.platforms; linux ++ darwin;
+ meta = with stdenv.lib; {
+ homepage = "http://cgg.bzatek.net/";
+ description = "A simple static web photo gallery, designed to be clean and easily usable";
+ license = licenses.gpl2;
+ maintainers = [ maintainers.matthiasbeyer ];
+ platforms = with platforms; linux ++ darwin;
};
}
diff --git a/pkgs/applications/misc/catclock/default.nix b/pkgs/applications/misc/catclock/default.nix
index 75f5ab406fe..09c36f9eb2f 100644
--- a/pkgs/applications/misc/catclock/default.nix
+++ b/pkgs/applications/misc/catclock/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, xlibsWrapper, motif }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "catclock-2015-10-04";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/cbatticon/default.nix b/pkgs/applications/misc/cbatticon/default.nix
index f4ba30080f7..44612644359 100644
--- a/pkgs/applications/misc/cbatticon/default.nix
+++ b/pkgs/applications/misc/cbatticon/default.nix
@@ -1,32 +1,31 @@
{ stdenv, fetchFromGitHub, pkgconfig, gettext, glib, gtk3, libnotify }:
stdenv.mkDerivation rec {
-
- name = "cbatticon-${version}";
- version = "1.6.8";
+ pname = "cbatticon";
+ version = "1.6.9";
src = fetchFromGitHub {
owner = "valr";
- repo = "cbatticon";
+ repo = pname;
rev = version;
- sha256 = "16g26vin1693dbdr9qsnw36fdchx394lp79gvp7gcbw0w1ny9av6";
+ sha256 = "0kw09d678sd3m18fmi4380sl4a2m5lkfmq0kps16cdmq7z80rvaf";
};
- patchPhase = ''
- sed -i -e 's/ -Wno-format//g' Makefile
- '';
-
- makeFlags = "PREFIX=$(out)";
-
nativeBuildInputs = [ pkgconfig gettext ];
buildInputs = [ glib gtk3 libnotify ];
+ patchPhase = ''
+ sed -i -e 's/ -Wno-format//g' Makefile
+ '';
+
+ makeFlags = "PREFIX=${placeholder "out"}";
+
meta = with stdenv.lib; {
description = "Lightweight and fast battery icon that sits in the system tray";
homepage = https://github.com/valr/cbatticon;
license = licenses.gpl2;
- maintainers = [ maintainers.domenkozar ];
platforms = platforms.linux;
+ maintainers = [ maintainers.domenkozar ];
};
}
diff --git a/pkgs/applications/misc/cdrtools/default.nix b/pkgs/applications/misc/cdrtools/default.nix
index a46565eb76b..20bfe727f6d 100644
--- a/pkgs/applications/misc/cdrtools/default.nix
+++ b/pkgs/applications/misc/cdrtools/default.nix
@@ -1,24 +1,24 @@
-{ stdenv, fetchurl, acl, libcap }:
+{ stdenv, fetchurl, acl, libcap, Carbon, IOKit }:
stdenv.mkDerivation rec {
- name = "cdrtools-${version}";
+ pname = "cdrtools";
version = "3.02a06";
src = fetchurl {
- url = "mirror://sourceforge/cdrtools/${name}.tar.bz2";
+ url = "mirror://sourceforge/cdrtools/${pname}-${version}.tar.bz2";
sha256 = "1cayhfbhj5g2vgmkmq5scr23k0ka5fsn0dhn0n9yllj386csnygd";
};
patches = [ ./fix-paths.patch ];
- buildInputs = [ acl libcap ];
+ buildInputs = if stdenv.isDarwin then [ Carbon IOKit ] else [ acl libcap ];
postPatch = ''
sed "/\.mk3/d" -i libschily/Targets.man
substituteInPlace man/Makefile --replace "man4" ""
'';
- configurePhase = "true";
+ dontConfigure = true;
GMAKE_NOWARN = true;
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
homepage = https://sourceforge.net/projects/cdrtools/;
description = "Highly portable CD/DVD/BluRay command line recording software";
license = with licenses; [ gpl2 lgpl2 cddl ];
- platforms = platforms.linux;
+ platforms = with platforms; linux ++ darwin;
# Licensing issues: This package contains code licensed under CDDL, GPL2
# and LGPL2. There is a debate regarding the legality of distributing this
# package in binary form.
diff --git a/pkgs/applications/misc/cgminer/default.nix b/pkgs/applications/misc/cgminer/default.nix
index ee3e2a955d3..c05c7423d9a 100644
--- a/pkgs/applications/misc/cgminer/default.nix
+++ b/pkgs/applications/misc/cgminer/default.nix
@@ -1,9 +1,9 @@
{ fetchgit, stdenv, pkgconfig, libtool, autoconf, automake
-, curl, ncurses, amdappsdk, amdadlsdk, xorg, jansson }:
+, curl, ncurses, ocl-icd, opencl-headers, xorg, jansson }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "3.7.2";
- name = "cgminer-${version}";
+ pname = "cgminer";
src = fetchgit {
url = "https://github.com/ckolivas/cgminer.git";
@@ -13,17 +13,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- autoconf automake libtool curl ncurses amdappsdk amdadlsdk
+ autoconf automake libtool curl ncurses ocl-icd opencl-headers
xorg.libX11 xorg.libXext xorg.libXinerama jansson
];
configureScript = "./autogen.sh";
configureFlags = [ "--enable-scrypt" "--enable-opencl" ];
NIX_LDFLAGS = "-lgcc_s -lX11 -lXext -lXinerama";
- preConfigure = ''
- ln -s ${amdadlsdk}/include/* ADL_SDK/
- '';
-
postBuild = ''
gcc api-example.c -o cgminer-api
'';
diff --git a/pkgs/applications/misc/cheat/default.nix b/pkgs/applications/misc/cheat/default.nix
index 41660bc7f2b..357dd9bcb8a 100644
--- a/pkgs/applications/misc/cheat/default.nix
+++ b/pkgs/applications/misc/cheat/default.nix
@@ -2,7 +2,6 @@
with python3.pkgs;
buildPythonApplication rec {
- name = "${pname}-${version}";
pname = "cheat";
version = "2.5.1";
diff --git a/pkgs/applications/misc/cherrytree/default.nix b/pkgs/applications/misc/cherrytree/default.nix
index 0578393dfca..856853e3b1c 100644
--- a/pkgs/applications/misc/cherrytree/default.nix
+++ b/pkgs/applications/misc/cherrytree/default.nix
@@ -3,11 +3,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "cherrytree-${version}";
+ pname = "cherrytree";
version = "0.38.8";
src = fetchurl {
- url = "https://www.giuspen.com/software/${name}.tar.xz";
+ url = "https://www.giuspen.com/software/${pname}-${version}.tar.xz";
sha256 = "1ns87xl2sgrf3nha4xkhp0xcxlycqszlp6xdrn95lg6vzm0fa8dg";
};
diff --git a/pkgs/applications/misc/cli-visualizer/default.nix b/pkgs/applications/misc/cli-visualizer/default.nix
index 6602adb2f2a..4986661e2f6 100644
--- a/pkgs/applications/misc/cli-visualizer/default.nix
+++ b/pkgs/applications/misc/cli-visualizer/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.8";
- name = "cli-visualizer-${version}";
+ pname = "cli-visualizer";
src = fetchFromGitHub {
owner = "dpayne";
diff --git a/pkgs/applications/misc/clight/clightd.nix b/pkgs/applications/misc/clight/clightd.nix
new file mode 100644
index 00000000000..43ff1d73f78
--- /dev/null
+++ b/pkgs/applications/misc/clight/clightd.nix
@@ -0,0 +1,75 @@
+{ lib, stdenv, fetchFromGitHub
+, dbus, cmake, pkgconfig
+, glib, udev, polkit, libmodule
+, pcre, libXdmcp, utillinux, libpthreadstubs
+, enableDdc ? true, ddcutil
+, enableDpms ? true, libXext
+, enableGamma ? true, libXrandr
+, enableScreen ? true }:
+
+stdenv.mkDerivation rec {
+ pname = "clightd";
+ version = "3.4";
+
+ src = fetchFromGitHub {
+ owner = "FedeDP";
+ repo = "Clightd";
+ rev = version;
+ sha256 = "0g6kawizwfhvigkwm7rbfq6rg872xn8igy8n355w4d7mmcxk0jf8";
+ };
+
+ # dbus-1.pc has datadir=/etc
+ SYSTEM_BUS_DIR = "${placeholder "out"}/share/dbus-1/system-services";
+ # systemd.pc has prefix=${systemd.out}
+ MODULE_LOAD_DIR = "${placeholder "out"}/lib/modules-load.d";
+ # polkit-gobject-1.pc has prefix=${polkit.out}
+ POLKIT_ACTION_DIR = "${placeholder "out"}/share/polkit-1/actions";
+
+ postPatch = ''
+ sed -i "s@/etc@$out\0@" CMakeLists.txt
+ sed -i "s@pkg_get_variable(SYSTEM_BUS_DIR.*@set(SYSTEM_BUS_DIR $SYSTEM_BUS_DIR)@" CMakeLists.txt
+ sed -i "s@pkg_get_variable(MODULE_LOAD_DIR.*@set(MODULE_LOAD_DIR $MODULE_LOAD_DIR)@" CMakeLists.txt
+ sed -i "s@pkg_get_variable(POLKIT_ACTION_DIR.*@set(POLKIT_ACTION_DIR $POLKIT_ACTION_DIR)@" CMakeLists.txt
+ '';
+
+ cmakeFlags = with lib;
+ optional enableDdc "-DENABLE_DDC=1"
+ ++ optional enableDpms "-DENABLE_DPMS=1"
+ ++ optional enableGamma "-DENABLE_GAMMA=1"
+ ++ optional enableScreen "-DENABLE_SCREEN=1";
+
+ nativeBuildInputs = [
+ dbus
+ cmake
+ pkgconfig
+ ];
+
+ buildInputs = with lib; [
+ glib
+ udev
+ polkit
+ libmodule
+
+ pcre
+ libXdmcp
+ utillinux
+ libpthreadstubs
+ ] ++ optional enableDdc ddcutil
+ ++ optional enableDpms libXext
+ ++ optional enableGamma libXrandr;
+
+ postInstall = ''
+ mkdir -p $out/bin
+ ln -svT $out/lib/clightd/clightd $out/bin/clightd
+ '';
+
+ meta = with lib; {
+ description = "Linux bus interface that changes screen brightness/temperature";
+ homepage = https://github.com/FedeDP/Clightd;
+ platforms = platforms.linux;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [
+ eadwu
+ ];
+ };
+}
diff --git a/pkgs/applications/misc/clight/default.nix b/pkgs/applications/misc/clight/default.nix
new file mode 100644
index 00000000000..829fd4e1223
--- /dev/null
+++ b/pkgs/applications/misc/clight/default.nix
@@ -0,0 +1,57 @@
+{ lib, stdenv, fetchFromGitHub
+, dbus, cmake, pkgconfig, bash-completion
+, gsl, popt, clightd, systemd, libconfig
+, withGeoclue ? true, geoclue2
+, withUpower ? true, upower }:
+
+stdenv.mkDerivation rec {
+ pname = "clight";
+ version = "3.1";
+
+ src = fetchFromGitHub {
+ owner = "FedeDP";
+ repo = "Clight";
+ rev = version;
+ sha256 = "0rzcr1x9h4llnmklhgzs9r7xwhsrw1qkqvfffkp8fs90nycaqx81";
+ };
+
+ # bash-completion.pc completionsdir=${bash-completion.out}
+ COMPLETIONS_DIR = "${placeholder "out"}/share/bash-completions/completions";
+ # dbus-1.pc has datadir=/etc
+ SESSION_BUS_DIR = "${placeholder "out"}/share/dbus-1/services";
+
+ postPatch = ''
+ sed -i "s@/usr@$out@" CMakeLists.txt
+ sed -i "s@/etc@$out\0@" CMakeLists.txt
+ sed -i "s@pkg_get_variable(COMPLETIONS_DIR.*@set(COMPLETIONS_DIR $COMPLETIONS_DIR)@" CMakeLists.txt
+ sed -i "s@pkg_get_variable(SESSION_BUS_DIR.*@set(SESSION_BUS_DIR $SESSION_BUS_DIR)@" CMakeLists.txt
+ '';
+
+ nativeBuildInputs = [
+ dbus
+ cmake
+ pkgconfig
+ bash-completion
+ ];
+
+ buildInputs = with lib; [
+ gsl
+ popt
+ upower
+ clightd
+ systemd
+ geoclue2
+ libconfig
+ ] ++ optional withGeoclue geoclue2
+ ++ optional withUpower upower;
+
+ meta = with lib; {
+ description = "A C daemon that turns your webcam into a light sensor";
+ homepage = https://github.com/FedeDP/Clight;
+ platforms = platforms.linux;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [
+ eadwu
+ ];
+ };
+}
diff --git a/pkgs/applications/misc/clipit/default.nix b/pkgs/applications/misc/clipit/default.nix
index 4477cbbcc06..7a4e25560c7 100644
--- a/pkgs/applications/misc/clipit/default.nix
+++ b/pkgs/applications/misc/clipit/default.nix
@@ -1,11 +1,11 @@
{ fetchurl, stdenv, intltool, pkgconfig, gtk2, xdotool, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "clipit-${version}";
+ pname = "clipit";
version = "1.4.2";
src = fetchurl {
- url = "https://github.com/downloads/shantzu/ClipIt/${name}.tar.gz";
+ url = "https://github.com/downloads/shantzu/ClipIt/${pname}-${version}.tar.gz";
sha256 = "0jrwn8qfgb15rwspdp1p8hb1nc0ngmpvgr87d4k3lhlvqg2cfqva";
};
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ intltool gtk2 xdotool hicolor-icon-theme ];
meta = with stdenv.lib; {
- description = "Lightweight GTK+ Clipboard Manager";
+ description = "Lightweight GTK Clipboard Manager";
homepage = "http://clipit.rspwn.com";
license = licenses.gpl3;
platforms = platforms.linux;
diff --git a/pkgs/applications/misc/clipmenu/default.nix b/pkgs/applications/misc/clipmenu/default.nix
index 7a47a0e3bc0..7577c0a3db9 100644
--- a/pkgs/applications/misc/clipmenu/default.nix
+++ b/pkgs/applications/misc/clipmenu/default.nix
@@ -1,9 +1,9 @@
-{ clipnotify, makeWrapper, xsel, dmenu2, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
+{ clipnotify, makeWrapper, xsel, dmenu, utillinux, gawk, stdenv, fetchFromGitHub, lib }:
let
- runtimePath = lib.makeBinPath [ clipnotify xsel dmenu2 utillinux gawk ];
+ runtimePath = lib.makeBinPath [ clipnotify xsel dmenu utillinux gawk ];
in
stdenv.mkDerivation rec {
- name = "clipmenu-${version}";
+ pname = "clipmenu";
version = "5.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/cmatrix/default.nix b/pkgs/applications/misc/cmatrix/default.nix
index 28f14cc1435..9a008a886fa 100644
--- a/pkgs/applications/misc/cmatrix/default.nix
+++ b/pkgs/applications/misc/cmatrix/default.nix
@@ -1,25 +1,24 @@
-{ stdenv, fetchurl, pkgconfig, ncurses }:
+{ stdenv, fetchFromGitHub, autoreconfHook, ncurses }:
-let
- version = "1.2a";
-in with stdenv.lib;
stdenv.mkDerivation rec {
+ pname = "cmatrix";
+ version = "2.0";
- name = "cmatrix-${version}";
-
- src = fetchurl{
- url = "http://www.asty.org/cmatrix/dist/${name}.tar.gz";
- sha256 = "0k06fw2n8nzp1pcdynhajp5prba03gfgsbj91bknyjr5xb5fd9hz";
+ src = fetchFromGitHub {
+ owner = "abishekvashok";
+ repo = "cmatrix";
+ rev = "v${version}";
+ sha256 = "1h9jz4m4s5l8c3figaq46ja0km1gimrkfxm4dg7mf4s84icmasbm";
};
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ ncurses ];
- meta = {
+ meta = with stdenv.lib; {
description = "Simulates the falling characters theme from The Matrix movie";
longDescription = ''
CMatrix simulates the display from "The Matrix" and is based
- on the screensaver from the movie's website.
+ on the screensaver from the movie's website.
'';
homepage = http://www.asty.org/cmatrix/;
platforms = ncurses.meta.platforms;
diff --git a/pkgs/applications/misc/cointop/default.nix b/pkgs/applications/misc/cointop/default.nix
index b973c73c0dd..c29d8684c90 100644
--- a/pkgs/applications/misc/cointop/default.nix
+++ b/pkgs/applications/misc/cointop/default.nix
@@ -2,16 +2,16 @@
buildGoModule rec {
pname = "cointop";
- version = "1.2.0";
+ version = "1.3.4";
src = fetchFromGitHub {
owner = "miguelmota";
repo = pname;
rev = version;
- sha256 = "1vhsbk55rrsmnh9b3cxjiv1pzdiip54cyj31j4aj33vlr4hkampn";
+ sha256 = "0nw6vzp0c5r8bwnlvgzj4hzdah44p5pp03d2bcr1lkw8np8fy65n";
};
- modSha256 = "0vvypp97b3bjwxb96hajpjzr52sb5lc4r3zdkrdgg3vjwwacjwsn";
+ modSha256 = "1fg5h689s6r79qa9qsmd8hcvyihfyzlvqrhhk0qyfl528ipi1zwg";
meta = with lib; {
description = "The fastest and most interactive terminal based UI application for tracking cryptocurrencies";
diff --git a/pkgs/applications/misc/confclerk/default.nix b/pkgs/applications/misc/confclerk/default.nix
index 3851730c459..b07e0fb8c52 100644
--- a/pkgs/applications/misc/confclerk/default.nix
+++ b/pkgs/applications/misc/confclerk/default.nix
@@ -2,7 +2,8 @@
let version = "0.6.4"; in
stdenv.mkDerivation {
- name = "confclerk-${version}";
+ pname = "confclerk";
+ inherit version;
src = fetchurl {
url = "https://www.toastfreeware.priv.at/tarballs/confclerk/confclerk-${version}.tar.gz";
diff --git a/pkgs/applications/misc/cool-retro-term/default.nix b/pkgs/applications/misc/cool-retro-term/default.nix
index f2372aa51e6..c9dcc97d5cd 100644
--- a/pkgs/applications/misc/cool-retro-term/default.nix
+++ b/pkgs/applications/misc/cool-retro-term/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchFromGitHub, qtbase, qtquick1, qmltermwidget
+{ stdenv, fetchFromGitHub, mkDerivation, qtbase, qtquick1, qmltermwidget
, qtquickcontrols, qtgraphicaleffects, qmake }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
version = "1.1.1";
- name = "cool-retro-term-${version}";
+ pname = "cool-retro-term";
src = fetchFromGitHub {
owner = "Swordfish90";
diff --git a/pkgs/applications/misc/copyq/default.nix b/pkgs/applications/misc/copyq/default.nix
index c77e47df34c..2aad4d352c9 100644
--- a/pkgs/applications/misc/copyq/default.nix
+++ b/pkgs/applications/misc/copyq/default.nix
@@ -4,14 +4,14 @@
}:
stdenv.mkDerivation rec {
- name = "CopyQ-${version}";
- version = "3.8.0";
+ pname = "CopyQ";
+ version = "3.9.0";
src = fetchFromGitHub {
owner = "hluk";
repo = "CopyQ";
rev = "v${version}";
- sha256 = "0kbhgg0j6iqfrpixvwl1mk3m0bz5s8bd6npk5xqcgzp1giywdc4i";
+ sha256 = "1l9f0hg2ggy944sjlyiyglln5mjm9fvgmvwp3pnvmmc6mfbmslq3";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/misc/cpp-ethereum/default.nix b/pkgs/applications/misc/cpp-ethereum/default.nix
index 4d997519246..0e9ff40cffa 100644
--- a/pkgs/applications/misc/cpp-ethereum/default.nix
+++ b/pkgs/applications/misc/cpp-ethereum/default.nix
@@ -17,7 +17,7 @@
, extraCmakeFlags ? []
}:
stdenv.mkDerivation rec {
- name = "cpp-ethereum-${version}";
+ pname = "cpp-ethereum";
version = "1.3.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/ctodo/default.nix b/pkgs/applications/misc/ctodo/default.nix
index 0123e0c38d7..72918a40733 100644
--- a/pkgs/applications/misc/ctodo/default.nix
+++ b/pkgs/applications/misc/ctodo/default.nix
@@ -1,7 +1,7 @@
{ stdenv, cmake, fetchurl, ncurses, readline }:
stdenv.mkDerivation rec {
- name = "ctodo-${version}";
+ pname = "ctodo";
version = "1.3";
src = fetchurl {
diff --git a/pkgs/applications/misc/cum/default.nix b/pkgs/applications/misc/cum/default.nix
new file mode 100644
index 00000000000..2675a5f4fc5
--- /dev/null
+++ b/pkgs/applications/misc/cum/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, python3Packages }:
+
+with python3Packages;
+
+buildPythonApplication rec {
+ pname = "cum";
+ version = "0.9.1";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "15qc6agka2g3kcnpnz0hbjic1s3260cr9bda0rlcyninxs1vndq0";
+ };
+
+ propagatedBuildInputs = [
+ alembic beautifulsoup4 click natsort requests sqlalchemy
+ ];
+
+ # tests seem to fail for `config` not being defined,
+ # but it works once installed
+ doCheck = false;
+
+ # remove the top-level `tests` and `LICENSE` file
+ # they should not be installed, and there can be issues if another package
+ # has a collision (especially with the license file)
+ postInstall = ''
+ rm -rf $out/tests $out/LICENSE
+ '';
+
+ meta = with stdenv.lib; {
+ description = "comic updater, mangafied";
+ homepage = "https://github.com/Hamuko/cum";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ tadeokondrak ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/misc/cura/default.nix b/pkgs/applications/misc/cura/default.nix
index d570a2570d1..084881f75d9 100644
--- a/pkgs/applications/misc/cura/default.nix
+++ b/pkgs/applications/misc/cura/default.nix
@@ -1,38 +1,37 @@
-{ mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, qtquickcontrols2, qtgraphicaleffects, curaengine }:
+{ mkDerivation, lib, fetchFromGitHub, cmake, python3, qtbase, qtquickcontrols2, qtgraphicaleffects, curaengine, plugins ? [] }:
mkDerivation rec {
- name = "cura-${version}";
- version = "4.0.0";
+ pname = "cura";
+ version = "4.2.1";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "Cura";
rev = version;
- sha256 = "18pxlmrw8m2mir177f0j9bma7rk29vam91gd86c0d458nw21q2qf";
+ sha256 = "1qnai8vmgy5lx3lapw96j41i8mw9p6r99i3qzs709l9yzrix6l86";
};
materials = fetchFromGitHub {
owner = "Ultimaker";
repo = "fdm_materials";
- rev = version;
- sha256 = "0g2dkph0ll7d9109n17vmfwb4fpc8lhyb1z1q68j8vblyvg08d12";
+ rev = "4.2.0"; # TODO: change back to `version` after 4.2.1
+ sha256 = "17x43v0np58qbdfk3wz1k7i9pl0plndx9gmf7y0n23nl9f1qzb0m";
};
buildInputs = [ qtbase qtquickcontrols2 qtgraphicaleffects ];
propagatedBuildInputs = with python3.pkgs; [
libsavitar numpy-stl pyserial requests uranium zeroconf
- ];
+ ] ++ plugins;
nativeBuildInputs = [ cmake python3.pkgs.wrapPython ];
cmakeFlags = [
"-DURANIUM_DIR=${python3.pkgs.uranium.src}"
"-DCURA_VERSION=${version}"
+ ];
- # see https://github.com/Ultimaker/Cura/issues/5142
- "-DCURA_SDK_VERSION=6.0.0"
-
- # remove after 4.0.0, see https://github.com/void-linux/void-packages/pull/9880#issuecomment-475453025
- "-DCURA_CLOUD_API_VERSION=1"
+ makeWrapperArgs = [
+ # hacky workaround for https://github.com/NixOS/nixpkgs/issues/59901
+ "--set OMP_NUM_THREADS 1"
];
postPatch = ''
@@ -43,10 +42,15 @@ mkDerivation rec {
postInstall = ''
mkdir -p $out/share/cura/resources/materials
cp ${materials}/*.fdm_material $out/share/cura/resources/materials/
+ mkdir -p $out/lib/cura/plugins
+ for plugin in ${toString plugins}; do
+ ln -s $plugin/lib/cura/plugins/* $out/lib/cura/plugins
+ done
'';
postFixup = ''
wrapPythonPrograms
+ wrapQtApp $out/bin/cura
'';
meta = with lib; {
@@ -54,6 +58,6 @@ mkDerivation rec {
homepage = https://github.com/Ultimaker/Cura;
license = licenses.lgpl3Plus;
platforms = platforms.linux;
- maintainers = with maintainers; [ abbradar ];
+ maintainers = with maintainers; [ abbradar gebner ];
};
}
diff --git a/pkgs/applications/misc/cura/lulzbot.nix b/pkgs/applications/misc/cura/lulzbot.nix
deleted file mode 100644
index f3f1972f6e6..00000000000
--- a/pkgs/applications/misc/cura/lulzbot.nix
+++ /dev/null
@@ -1,58 +0,0 @@
-{ stdenv, fetchurl, dpkg, bash, python27Packages }:
-
-let
- py = python27Packages;
-in
-stdenv.mkDerivation rec {
- name = "cura-lulzbot-${version}";
- version = "15.02.1-1.03-5064";
-
- src =
- if stdenv.hostPlatform.system == "x86_64-linux" then
- fetchurl {
- url = "https://download.alephobjects.com/ao/aodeb/dists/jessie/main/binary-amd64/cura_${version}_amd64.deb";
- sha256 = "1gsfidg3gim5pjbl82vkh0cw4ya253m4p7nirm8nr6yjrsirkzxg";
- }
- else if stdenv.hostPlatform.system == "i686-linux" then
- fetchurl {
- url = "http://download.alephobjects.com/ao/aodeb/dists/jessie/main/binary-i386/cura_${version}_i386.deb";
- sha256 = "0xd3df6bxq4rijgvsqvps454jkc1nzhxbdzzj6j2w317ppsbhyc1";
- }
- else throw "${name} is not supported on ${stdenv.hostPlatform.system}";
-
- python_deps = with py; [ pyopengl pyserial numpy wxPython30 power setuptools ];
- pythonPath = python_deps;
- propagatedBuildInputs = python_deps;
- buildInputs = [ dpkg bash py.wrapPython ];
-
- phases = [ "unpackPhase" "installPhase" ];
- unpackPhase = "dpkg-deb -x ${src} ./";
-
- installPhase = ''
- mkdir -p $out/bin
- cp -r usr/share $out/share
- find $out/share -type f -exec sed -i 's|/usr/share/cura|$out/share/cura|g' "{}" \;
-
- cat < $out/bin/cura
- #!${bash}/bin/bash
- PYTHONPATH=$PYTHONPATH:$out/share/cura ${py.python}/bin/python $out/share/cura/cura.py "\$@"
- EOT
-
- chmod 555 $out/bin/cura
- '';
-
- meta = with stdenv.lib; {
- description = "3D printing host software for the Lulzbot";
-
- longDescription = ''
- Cura LulzBot Edition is a fork of the 3D printing/slicing
- software from Ultimaker, with changes to support 3D printers
- from Aleph Objects.
- '';
-
- homepage = https://www.lulzbot.com/cura/;
- license = licenses.agpl3;
- platforms = platforms.linux;
- maintainers = with maintainers; [ pjones ];
- };
-}
diff --git a/pkgs/applications/misc/cura/lulzbot/curaengine.nix b/pkgs/applications/misc/cura/lulzbot/curaengine.nix
new file mode 100644
index 00000000000..90f5f307d85
--- /dev/null
+++ b/pkgs/applications/misc/cura/lulzbot/curaengine.nix
@@ -0,0 +1,26 @@
+{ stdenv, callPackage, fetchgit, fetchpatch, cmake, libarcusLulzbot, stb, protobuf }:
+
+stdenv.mkDerivation rec {
+ pname = "curaengine-lulzBot";
+ version = "3.6.18";
+
+ src = fetchgit {
+ url = https://code.alephobjects.com/source/curaengine-lulzbot.git;
+ rev = "ec6a1a0f0aa387ef97e5c106633cf8d7fb9cd00d";
+ sha256 = "0wdkvg1hmqp1gaym804lw09x4ngf5ffasd861jhflpy7djbmkfn8";
+ };
+
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ libarcusLulzbot stb protobuf ];
+
+ cmakeFlags = [ "-DCURA_ENGINE_VERSION=${version}" ];
+
+ meta = with stdenv.lib; {
+ description = "A powerful, fast and robust engine for processing 3D models into 3D printing instruction";
+ homepage = https://code.alephobjects.com/source/curaengine-lulzbot/;
+ license = licenses.agpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ chaduffy ];
+ };
+}
+
diff --git a/pkgs/applications/misc/cura/lulzbot/default.nix b/pkgs/applications/misc/cura/lulzbot/default.nix
new file mode 100644
index 00000000000..2d32d1895f9
--- /dev/null
+++ b/pkgs/applications/misc/cura/lulzbot/default.nix
@@ -0,0 +1,78 @@
+{ lib, callPackage, fetchgit, cmake, jq, python3Packages, qtbase, qtquickcontrols2 }:
+
+let
+ # admittedly, we're using (printer firmware) blobs when we could compile them ourselves.
+ curaBinaryDataVersion = "3.6.18"; # Marlin v2.0.0.144. Keep this accurate wrt. the below.
+ curaBinaryData = fetchgit {
+ url = https://code.alephobjects.com/diffusion/CBD/cura-binary-data.git;
+ rev = "cdc046494bbfe1f65bfb34659a257eef9a0100a0";
+ sha256 = "0v0s036gxdjiglas2yzw95alv60sw3pq5k1zrrhmw9mxr4irrblb";
+ };
+
+ libarcusLulzbot = callPackage ./libarcus.nix {
+ inherit (python3Packages) buildPythonPackage sip pythonOlder;
+ };
+ libsavitarLulzbot = callPackage ./libsavitar.nix {
+ inherit (python3Packages) buildPythonPackage sip pythonOlder;
+ };
+
+ inherit (python3Packages) buildPythonPackage pyqt5 numpy scipy shapely pythonOlder;
+ curaengine = callPackage ./curaengine.nix {
+ inherit libarcusLulzbot;
+ };
+ uraniumLulzbot = callPackage ./uranium.nix {
+ inherit callPackage libarcusLulzbot;
+ inherit (python3Packages) buildPythonPackage pyqt5 numpy scipy shapely pythonOlder;
+ };
+in
+python3Packages.buildPythonApplication rec {
+ name = "cura-lulzbot-${version}";
+ version = "3.6.18";
+
+ src = fetchgit {
+ url = https://code.alephobjects.com/source/cura-lulzbot.git;
+ rev = "71f1ac5a2b9f535175a3858a565930348358a9ca";
+ sha256 = "0by06fpxvdgy858lwhsccbmvkdq67j2s1cz8v6jnrnjrsxk7vzka";
+ };
+
+ format = "other"; # using cmake to build
+ buildInputs = [ qtbase qtquickcontrols2 ];
+ # numpy-stl temporarily disabled due to https://code.alephobjects.com/T8415
+ propagatedBuildInputs = with python3Packages; [ pyserial requests zeroconf ] ++ [ libsavitarLulzbot uraniumLulzbot libarcusLulzbot ]; # numpy-stl
+ nativeBuildInputs = [ cmake python3Packages.wrapPython ];
+
+ cmakeFlags = [
+ "-DURANIUM_DIR=${uraniumLulzbot.src}"
+ "-DCURA_VERSION=${version}"
+ ];
+
+ postPatch = ''
+ sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+ sed -i 's, executable_name = .*, executable_name = "${curaengine}/bin/CuraEngine",' plugins/CuraEngineBackend/CuraEngineBackend.py
+ '';
+
+ preFixup = ''
+ substituteInPlace "$out/bin/cura-lulzbot" --replace 'import cura.CuraApplication' 'import Savitar; import cura.CuraApplication'
+ ln -sT "${curaBinaryData}/cura/resources/firmware" "$out/share/cura/resources/firmware"
+ ln -sT "${uraniumLulzbot}/share/uranium" "$out/share/uranium"
+ ${jq}/bin/jq --arg out "$out" '.build=$out' >"$out/version.json" <<'EOF'
+ ${builtins.toJSON {
+ cura = version;
+ cura_version = version;
+ binarydata = curaBinaryDataVersion;
+ engine = curaengine.version;
+ libarcus = libarcusLulzbot.version;
+ libsavitar = libsavitarLulzbot.version;
+ uranium = uraniumLulzbot.version;
+ }}
+ EOF
+ '';
+
+ meta = with lib; {
+ description = "3D printer / slicing GUI built on top of the Uranium framework";
+ homepage = https://code.alephobjects.com/diffusion/CURA/;
+ license = licenses.agpl3; # a partial relicense to LGPL has happened, but not certain that all AGPL bits are expunged
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ chaduffy ];
+ };
+}
diff --git a/pkgs/applications/misc/cura/lulzbot/libarcus.nix b/pkgs/applications/misc/cura/lulzbot/libarcus.nix
new file mode 100644
index 00000000000..4d32328af8b
--- /dev/null
+++ b/pkgs/applications/misc/cura/lulzbot/libarcus.nix
@@ -0,0 +1,33 @@
+{ stdenv, buildPythonPackage, fetchgit, fetchurl, cmake, sip, protobuf, pythonOlder }:
+
+buildPythonPackage {
+ pname = "libarcus";
+ version = "3.6.18";
+ format = "other";
+
+ src = fetchgit {
+ url = https://code.alephobjects.com/source/arcus.git;
+ rev = "c795c0644591703ce04e1fd799fc97b1539031aa";
+ sha256 = "1yap9wbqxbjx3kqyqcsldny4mlcm33ywiwpdjlfgs0wjahfg4ip0";
+ };
+
+ disabled = pythonOlder "3.4.0";
+
+ propagatedBuildInputs = [ sip ];
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ protobuf ];
+
+ postPatch = ''
+ # To workaround buggy SIP detection which overrides PYTHONPATH
+ sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Communication library between internal components for Ultimaker software";
+ homepage = https://code.alephobjects.com/source/arcus/;
+ license = licenses.lgpl3Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ chaduffy ];
+ };
+}
+
diff --git a/pkgs/applications/misc/cura/lulzbot/libsavitar.nix b/pkgs/applications/misc/cura/lulzbot/libsavitar.nix
new file mode 100644
index 00000000000..f8ffbf041bd
--- /dev/null
+++ b/pkgs/applications/misc/cura/lulzbot/libsavitar.nix
@@ -0,0 +1,33 @@
+{ stdenv, buildPythonPackage, pythonOlder, fetchgit, cmake, sip }:
+
+buildPythonPackage {
+ pname = "libsavitar-lulzbot";
+ name = "libsavitar-lulzbot";
+ version = "3.6.18";
+ format = "other";
+
+ src = fetchgit {
+ url = https://code.alephobjects.com/source/savitar.git;
+ rev = "988a26d35b2a1d042f8c38938ccda77ab146af7d";
+ sha256 = "146agw3a92azkgs5ahmn2rrck4an78m2r3pcss6ihmb60lx165k7";
+ };
+
+ postPatch = ''
+ # To workaround buggy SIP detection which overrides PYTHONPATH
+ sed -i '/SET(ENV{PYTHONPATH}/d' cmake/FindSIP.cmake
+ '';
+
+ nativeBuildInputs = [ cmake ];
+
+ propagatedBuildInputs = [ sip ];
+
+ disabled = pythonOlder "3.4.0";
+
+ meta = with stdenv.lib; {
+ description = "C++ implementation of 3mf loading with SIP python bindings";
+ homepage = https://github.com/Ultimaker/libSavitar;
+ license = licenses.lgpl3Plus;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ chaduffy ];
+ };
+}
diff --git a/pkgs/applications/misc/cura/lulzbot/uranium-qt512-support.patch b/pkgs/applications/misc/cura/lulzbot/uranium-qt512-support.patch
new file mode 100644
index 00000000000..2c666a98c8f
--- /dev/null
+++ b/pkgs/applications/misc/cura/lulzbot/uranium-qt512-support.patch
@@ -0,0 +1,16 @@
+diff --git a/UM/Qt/Bindings/i18nCatalogProxy.py b/UM/Qt/Bindings/i18nCatalogProxy.py
+index 7e2bb16c..cec70dd6 100644
+--- a/UM/Qt/Bindings/i18nCatalogProxy.py
++++ b/UM/Qt/Bindings/i18nCatalogProxy.py
+@@ -86,9 +86,9 @@ class i18nCatalogProxy(QObject): # [CodeStyle: Ultimaker code style requires cla
+ # \todo Move this to a more generic place so more things can use it.
+ def _wrapFunction(self, engine, this_object, function):
+ # JavaScript code that wraps the Python method call in a closure
+- wrap_js = """function(this_object) {{
++ wrap_js = """(function(this_object) {{
+ return function({args}) {{ return this_object.{function}({args}) }}
+- }}"""
++ }})"""
+
+ # Get the function name and argument list.
+ function_name = function.__name__
diff --git a/pkgs/applications/misc/cura/lulzbot/uranium.nix b/pkgs/applications/misc/cura/lulzbot/uranium.nix
new file mode 100644
index 00000000000..1ad755cdfbd
--- /dev/null
+++ b/pkgs/applications/misc/cura/lulzbot/uranium.nix
@@ -0,0 +1,41 @@
+{ stdenv, callPackage, fetchurl, fetchgit, buildPythonPackage, fetchFromGitHub, python, cmake
+, pyqt5, numpy, scipy, shapely, libarcusLulzbot, doxygen, gettext, pythonOlder }:
+
+buildPythonPackage {
+ version = "3.6.18";
+ pname = "uranium";
+ name = "uraniumLulzbot";
+ format = "other";
+
+ src = fetchgit {
+ url = https://code.alephobjects.com/diffusion/U/uranium.git;
+ rev = "33df88a7414375ac924ac761113baa48d2ced2b4";
+ sha256 = "109cbv7y105crbrzfp70lmcr9n20ap5c97i5qd46fmxbx86yj7f8";
+ };
+
+ disabled = pythonOlder "3.5.0";
+
+ buildInputs = [ python gettext ];
+ propagatedBuildInputs = [ pyqt5 numpy scipy shapely libarcusLulzbot ];
+ nativeBuildInputs = [ cmake doxygen ];
+
+ # Qt 5.12+ support; see https://code.alephobjects.com/rU70b73ba0a270799b9eacf78e400aa8b8ab3fb2ee
+ patches = [ ./uranium-qt512-support.patch ];
+
+ postPatch = ''
+ sed -i 's,/python''${PYTHON_VERSION_MAJOR}/dist-packages,/python''${PYTHON_VERSION_MAJOR}.''${PYTHON_VERSION_MINOR}/site-packages,g' CMakeLists.txt
+ sed -i \
+ -e "s,Resources.addSearchPath(os.path.join(os.path.abspath(os.path.dirname(__file__)).*,Resources.addSearchPath(\"$out/share/uranium/resources\")," \
+ -e "s,self._plugin_registry.addPluginLocation(os.path.join(os.path.abspath(os.path.dirname(__file__)).*,self._plugin_registry.addPluginLocation(\"$out/lib/uranium/plugins\")," \
+ UM/Application.py
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A Python framework for building Desktop applications";
+ homepage = https://code.alephobjects.com/diffusion/U/;
+ license = licenses.lgpl3Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ chaduffy ];
+ };
+}
+
diff --git a/pkgs/applications/misc/cura/plugins.nix b/pkgs/applications/misc/cura/plugins.nix
new file mode 100644
index 00000000000..bdbf8f24136
--- /dev/null
+++ b/pkgs/applications/misc/cura/plugins.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchFromGitHub, cmake, python3Packages }:
+
+let
+
+ self = {
+
+ octoprint = stdenv.mkDerivation rec {
+ pname = "Cura-OctoPrintPlugin";
+ version = "3.5.8";
+
+ src = fetchFromGitHub {
+ owner = "fieldOfView";
+ repo = pname;
+ rev = "46548cbb8d32d10fe3aee12f272d5d8f34271738";
+ sha256 = "0pllba8qx1746pnf5ccbkqn2j6f8hhknpgyrrv244ykvigrlczx0";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ propagatedBuildInputs = with python3Packages; [
+ netifaces
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Enables printing directly to OctoPrint and monitoring the process";
+ homepage = "https://github.com/fieldOfView/Cura-OctoPrintPlugin";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ gebner ];
+ };
+ };
+
+ };
+
+in self
diff --git a/pkgs/applications/misc/cura/stable.nix b/pkgs/applications/misc/cura/stable.nix
index a53b001b0e9..1972042f805 100644
--- a/pkgs/applications/misc/cura/stable.nix
+++ b/pkgs/applications/misc/cura/stable.nix
@@ -4,7 +4,8 @@ let
version = "15.04";
in
stdenv.mkDerivation rec {
- name = "cura-${version}";
+ pname = "cura";
+ inherit version;
src = fetchurl {
url = "https://github.com/daid/Cura/archive/${version}.tar.gz";
diff --git a/pkgs/applications/misc/curabydagoma/default.nix b/pkgs/applications/misc/curabydagoma/default.nix
index 4e620425d5c..a367efaaef3 100644
--- a/pkgs/applications/misc/curabydagoma/default.nix
+++ b/pkgs/applications/misc/curabydagoma/default.nix
@@ -14,7 +14,7 @@
# If, however, someone needs it, we certainly can find a solution.
stdenv.mkDerivation rec {
- name = "curabydagoma-${version}";
+ pname = "curabydagoma";
# Version is the date, UNIX format
version = "1520506579";
# Hash of the user's choice: os, arch, package type...
diff --git a/pkgs/applications/misc/curaengine/default.nix b/pkgs/applications/misc/curaengine/default.nix
index 9188e461e51..3e4c77aafc6 100644
--- a/pkgs/applications/misc/curaengine/default.nix
+++ b/pkgs/applications/misc/curaengine/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, libarcus, stb, protobuf }:
+{ stdenv, fetchFromGitHub, cmake, libarcus, stb, protobuf }:
stdenv.mkDerivation rec {
- name = "curaengine-${version}";
- version = "4.0.0";
+ pname = "curaengine";
+ version = "4.2.0";
src = fetchFromGitHub {
owner = "Ultimaker";
repo = "CuraEngine";
rev = version;
- sha256 = "0p4zcckrlrpyp5xdqgvp0phmawyh4cy8vipim9fvgsfcin4vhrv7";
+ sha256 = "13hbzsx4fwrbwviyhh8z04gs9b0m8fjl8a31ci7gr2dfdmgjs6pd";
};
nativeBuildInputs = [ cmake ];
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
homepage = https://github.com/Ultimaker/CuraEngine;
license = licenses.agpl3;
platforms = platforms.linux;
- maintainers = with maintainers; [ abbradar ];
+ maintainers = with maintainers; [ abbradar gebner ];
};
}
diff --git a/pkgs/applications/misc/curaengine/stable.nix b/pkgs/applications/misc/curaengine/stable.nix
index ce743a00879..41f110e9ee1 100644
--- a/pkgs/applications/misc/curaengine/stable.nix
+++ b/pkgs/applications/misc/curaengine/stable.nix
@@ -3,7 +3,8 @@ let
version = "15.04.6";
in
stdenv.mkDerivation {
- name = "curaengine-${version}";
+ pname = "curaengine";
+ inherit version;
src = fetchurl {
url = "https://github.com/Ultimaker/CuraEngine/archive/${version}.tar.gz";
diff --git a/pkgs/applications/misc/dbeaver/default.nix b/pkgs/applications/misc/dbeaver/default.nix
index fc0c39b13cc..2e821701216 100644
--- a/pkgs/applications/misc/dbeaver/default.nix
+++ b/pkgs/applications/misc/dbeaver/default.nix
@@ -6,8 +6,8 @@
# See `pkgs/applications/editors/eclipse/*.nix`
stdenv.mkDerivation rec {
- name = "dbeaver-ce-${version}";
- version = "6.0.4";
+ pname = "dbeaver-ce";
+ version = "6.1.5";
desktopItem = makeDesktopItem {
name = "dbeaver";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://dbeaver.io/files/${version}/dbeaver-ce-${version}-linux.gtk.x86_64.tar.gz";
- sha256 = "1b3yv91bvwrkln63asn6ybkdhzb8pibz55rr99rv0z8rbmwnbjpn";
+ sha256 = "0lkycm1152wd56i1hjq7q3sd05h51fyz99qr2n65lwi33vz2qk9m";
};
installPhase = ''
@@ -65,6 +65,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.asl20;
platforms = [ "x86_64-linux" ];
- maintainers = [ maintainers.samueldr ];
+ maintainers = [ maintainers.jojosch ];
};
}
diff --git a/pkgs/applications/misc/ddgr/default.nix b/pkgs/applications/misc/ddgr/default.nix
index 0716125859b..3cbb091a4e2 100644
--- a/pkgs/applications/misc/ddgr/default.nix
+++ b/pkgs/applications/misc/ddgr/default.nix
@@ -1,8 +1,8 @@
-{stdenv, fetchpatch, fetchFromGitHub, python3}:
+{stdenv, fetchFromGitHub, python3}:
stdenv.mkDerivation rec {
version = "1.6";
- name = "ddgr-${version}";
+ pname = "ddgr";
src = fetchFromGitHub {
owner = "jarun";
diff --git a/pkgs/applications/misc/deco/default.nix b/pkgs/applications/misc/deco/default.nix
index 7f4629100d5..a1fdabd8ccb 100644
--- a/pkgs/applications/misc/deco/default.nix
+++ b/pkgs/applications/misc/deco/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "deco";
version = "0.0.2";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "ebzzry";
diff --git a/pkgs/applications/misc/devilspie2/default.nix b/pkgs/applications/misc/devilspie2/default.nix
index 4fb9ca5fa71..5699396a084 100644
--- a/pkgs/applications/misc/devilspie2/default.nix
+++ b/pkgs/applications/misc/devilspie2/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, lua, libwnck3 }:
stdenv.mkDerivation rec {
- name = "devilspie2-${version}";
+ pname = "devilspie2";
version = "0.43";
src = fetchurl {
diff --git a/pkgs/applications/misc/dfilemanager/default.nix b/pkgs/applications/misc/dfilemanager/default.nix
index eeb7a8ccf52..1bfb6bbfeaf 100644
--- a/pkgs/applications/misc/dfilemanager/default.nix
+++ b/pkgs/applications/misc/dfilemanager/default.nix
@@ -1,10 +1,11 @@
-{ stdenv, fetchgit, cmake, file, qtbase, qttools, solid }:
+{ stdenv, mkDerivation, fetchgit, cmake, file, qtbase, qttools, solid }:
let
version = "git-2016-01-10";
in
-stdenv.mkDerivation {
- name = "dfilemanager-${version}";
+mkDerivation {
+ pname = "dfilemanager";
+ inherit version;
src = fetchgit {
url = "git://git.code.sf.net/p/dfilemanager/code";
rev = "2c5078b05e0ad74c037366be1ab3e6a03492bde4";
@@ -13,7 +14,7 @@ stdenv.mkDerivation {
buildInputs = [ cmake qtbase qttools file solid ];
- cmakeFlags = "-DQT5BUILD=true";
+ cmakeFlags = [ "-DQT5BUILD=true" ];
meta = {
homepage = http://dfilemanager.sourceforge.net/;
diff --git a/pkgs/applications/misc/diff-pdf/default.nix b/pkgs/applications/misc/diff-pdf/default.nix
index 467c2b3c2d5..af47afcc601 100644
--- a/pkgs/applications/misc/diff-pdf/default.nix
+++ b/pkgs/applications/misc/diff-pdf/default.nix
@@ -8,14 +8,14 @@ let
[ wxGTK ];
in
stdenv.mkDerivation rec {
- name = "diff-pdf-${version}";
- version = "2017-12-30";
+ pname = "diff-pdf";
+ version = "0.3";
src = fetchFromGitHub {
owner = "vslavik";
repo = "diff-pdf";
- rev = "c4d67226ec4c29b30a7399e75f80636ff8a6f9fc";
- sha256 = "1c3ig7ckrg37p5vzvgjnsfdzdad328wwsx0r31lbs1d8pkjkgq3m";
+ rev = "v${version}";
+ sha256 = "0vzvyjpk6m89zs6j1dq85f93n2b1i6akn2g0z9qhagjd2pds920i";
};
nativeBuildInputs = [ autoconf automake pkgconfig ];
@@ -24,9 +24,10 @@ stdenv.mkDerivation rec {
preConfigure = "./bootstrap";
meta = with stdenv.lib; {
- homepage = http://vslavik.github.io/diff-pdf;
+ homepage = "https://vslavik.github.io/diff-pdf/";
description = "Simple tool for visually comparing two PDF files";
license = licenses.gpl2;
+ platforms = platforms.all;
maintainers = with maintainers; [ dtzWill ];
};
}
diff --git a/pkgs/applications/misc/diffpdf/default.nix b/pkgs/applications/misc/diffpdf/default.nix
index daea20835c8..37ed8eb23fb 100644
--- a/pkgs/applications/misc/diffpdf/default.nix
+++ b/pkgs/applications/misc/diffpdf/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "2.1.3";
- name = "diffpdf-${version}";
+ pname = "diffpdf";
src = fetchurl {
- url = "http://www.qtrac.eu/${name}.tar.gz";
+ url = "http://www.qtrac.eu/${pname}-${version}.tar.gz";
sha256 = "0cr468fi0d512jjj23r5flfzx957vibc9c25gwwhi0d773h2w566";
};
@@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
install -Dpm755 -D diffpdf $out/bin/diffpdf
install -Dpm644 -D diffpdf.1 $out/share/man/man1/diffpdf.1
- install -dpm755 $out/share/doc/${name} $out/share/licenses/${name} $out/share/icons $out/share/pixmaps $out/share/applications
- install -Dpm644 CHANGES README help.html $out/share/doc/${name}/
- install -Dpm644 gpl-2.0.txt $out/share/licenses/${name}/
+ install -dpm755 $out/share/doc/${pname}-${version} $out/share/licenses/${pname}-${version} $out/share/icons $out/share/pixmaps $out/share/applications
+ install -Dpm644 CHANGES README help.html $out/share/doc/${pname}-${version}/
+ install -Dpm644 gpl-2.0.txt $out/share/licenses/${pname}-${version}/
install -Dpm644 images/icon.png $out/share/icons/diffpdf.png
install -Dpm644 images/icon.png $out/share/pixmaps/diffpdf.png
diff --git a/pkgs/applications/misc/digitalbitbox/default.nix b/pkgs/applications/misc/digitalbitbox/default.nix
index 0272cfd52c0..a4f6b1ce988 100644
--- a/pkgs/applications/misc/digitalbitbox/default.nix
+++ b/pkgs/applications/misc/digitalbitbox/default.nix
@@ -3,7 +3,6 @@
, curl
, fetchFromGitHub
, git
-, libcap
, libevent
, libtool
, qrencode
@@ -48,7 +47,7 @@ let
copyUdevRuleToOutput = name: rule:
"cp ${writeText name rule} $out/etc/udev/rules.d/${name}";
in stdenv.mkDerivation rec {
- name = "digitalbitbox-${version}";
+ pname = "digitalbitbox";
version = "2.2.2";
src = fetchFromGitHub {
@@ -82,7 +81,7 @@ in stdenv.mkDerivation rec {
LUPDATE="${qttools.dev}/bin/lupdate";
LRELEASE="${qttools.dev}/bin/lrelease";
MOC="${qtbase.dev}/bin/moc";
- QTDIR="${qtbase.dev}";
+ QTDIR=qtbase.dev;
RCC="${qtbase.dev}/bin/rcc";
UIC="${qtbase.dev}/bin/uic";
diff --git a/pkgs/applications/misc/direwolf/default.nix b/pkgs/applications/misc/direwolf/default.nix
index f1e33ea5357..8f7dbd2d2ed 100644
--- a/pkgs/applications/misc/direwolf/default.nix
+++ b/pkgs/applications/misc/direwolf/default.nix
@@ -5,7 +5,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "direwolf-${version}";
+ pname = "direwolf";
version = "1.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/dmenu/default.nix b/pkgs/applications/misc/dmenu/default.nix
index 90754b8fb1d..8d13ac42e1f 100644
--- a/pkgs/applications/misc/dmenu/default.nix
+++ b/pkgs/applications/misc/dmenu/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, libX11, libXinerama, libXft, zlib, patches ? null }:
+{ stdenv, fetchurl, libX11, libXinerama, libXft, zlib, patches ? [ ./xim.patch ] }:
stdenv.mkDerivation rec {
name = "dmenu-4.9";
@@ -21,11 +21,13 @@ stdenv.mkDerivation rec {
sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk
'';
+ makeFlags = [ "CC:=$(CC)" ];
+
meta = with stdenv.lib; {
description = "A generic, highly customizable, and efficient menu for the X Window System";
homepage = https://tools.suckless.org/dmenu;
license = licenses.mit;
- maintainers = with maintainers; [ pSub ];
+ maintainers = with maintainers; [ pSub globin ];
platforms = platforms.all;
};
}
diff --git a/pkgs/applications/misc/dmenu/xim.patch b/pkgs/applications/misc/dmenu/xim.patch
new file mode 100644
index 00000000000..f77d48324da
--- /dev/null
+++ b/pkgs/applications/misc/dmenu/xim.patch
@@ -0,0 +1,31 @@
+Revert https://git.suckless.org/dmenu/commit/377bd37e212b1ec4c03a481245603c6560d0be22.html
+
+Upstream has reverted it after v4.9 in https://git.suckless.org/dmenu/commit/db6093f6ec1bb884f7540f2512935b5254750b30.html
+--- a/dmenu.c
++++ b/dmenu.c
+@@ -552,7 +552,7 @@ run(void)
+ XEvent ev;
+
+ while (!XNextEvent(dpy, &ev)) {
+- if (XFilterEvent(&ev, None))
++ if (XFilterEvent(&ev, win))
+ continue;
+ switch(ev.type) {
+ case Expose:
+@@ -664,7 +664,6 @@ setup(void)
+ XNClientWindow, win, XNFocusWindow, win, NULL);
+
+ XMapRaised(dpy, win);
+- XSetInputFocus(dpy, win, RevertToParent, CurrentTime);
+ if (embed) {
+ XSelectInput(dpy, parentwin, FocusChangeMask);
+ if (XQueryTree(dpy, parentwin, &dw, &w, &dws, &du) && dws) {
+@@ -730,8 +729,6 @@ main(int argc, char *argv[])
+
+ if (!setlocale(LC_CTYPE, "") || !XSupportsLocale())
+ fputs("warning: no locale support\n", stderr);
+- if (!XSetLocaleModifiers(""))
+- fputs("warning: no locale modifiers support\n", stderr);
+ if (!(dpy = XOpenDisplay(NULL)))
+ die("cannot open display");
+ screen = DefaultScreen(dpy);
diff --git a/pkgs/applications/misc/dmenu2/default.nix b/pkgs/applications/misc/dmenu2/default.nix
deleted file mode 100644
index 3d567603359..00000000000
--- a/pkgs/applications/misc/dmenu2/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{stdenv, fetchhg, libX11, libXinerama, libXft, zlib}:
-
-with stdenv.lib;
-
-stdenv.mkDerivation rec {
- name = "dmenu2-0.3pre-2014-07-08";
-
- src = fetchhg {
- url = "https://bitbucket.org/melek/dmenu2";
- rev = "36cb94a16edf928bdaaa636123392517ed469be0";
- sha256 = "1b17z5ypg6ij7zz3ncp3irc87raccna10y4w490c872a99lp23lv";
- };
-
- buildInputs = [ libX11 libXinerama zlib libXft ];
-
- postPatch = ''
- sed -ri -e 's!\<(dmenu|stest)\>!'"$out/bin"'/&!g' dmenu_run
- '';
-
- preConfigure = [ ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g" config.mk'' ];
-
- meta = {
- description = "A patched fork of the original dmenu - an efficient dynamic menu for X";
- homepage = https://bitbucket.org/melek/dmenu2;
- license = licenses.mit;
- maintainers = [ maintainers.cstrahan ];
- platforms = platforms.all;
- };
-}
diff --git a/pkgs/applications/misc/doing/default.nix b/pkgs/applications/misc/doing/default.nix
index 9ae2ea41d83..d72a5b84826 100644
--- a/pkgs/applications/misc/doing/default.nix
+++ b/pkgs/applications/misc/doing/default.nix
@@ -1,15 +1,15 @@
-{ lib, bundlerEnv, ruby
+{ lib, bundlerEnv, ruby, bundlerUpdateScript
}:
-# Bundix:
-# nix-shell -p bundix zlib
-bundlerEnv rec {
+bundlerEnv {
pname = "doing";
version = (import ./gemset.nix).doing.version;
inherit ruby;
gemdir = ./.;
+ passthru.updateScript = bundlerUpdateScript "doing";
+
meta = with lib; {
description = "A command line tool for keeping track of what you’re doing and tracking what you’ve done.";
longDescription = ''
@@ -19,7 +19,7 @@ bundlerEnv rec {
'';
homepage = https://brettterpstra.com/projects/doing/;
license = licenses.mit;
- maintainers = with maintainers; [ ktf ];
+ maintainers = with maintainers; [ ktf nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/doomseeker/default.nix b/pkgs/applications/misc/doomseeker/default.nix
index fd08ed9c391..1332b265d54 100644
--- a/pkgs/applications/misc/doomseeker/default.nix
+++ b/pkgs/applications/misc/doomseeker/default.nix
@@ -1,7 +1,7 @@
{ stdenv, cmake, fetchFromBitbucket, pkgconfig, qtbase, qttools, qtmultimedia, zlib, bzip2, xxd }:
-stdenv.mkDerivation rec {
- name = "doomseeker-${version}";
+stdenv.mkDerivation {
+ pname = "doomseeker";
version = "2018-03-05";
src = fetchFromBitbucket {
diff --git a/pkgs/applications/misc/dotfiles/default.nix b/pkgs/applications/misc/dotfiles/default.nix
index 1d3c405b703..5150f13fb80 100644
--- a/pkgs/applications/misc/dotfiles/default.nix
+++ b/pkgs/applications/misc/dotfiles/default.nix
@@ -2,7 +2,6 @@
pythonPackages.buildPythonApplication rec {
pname = "dotfiles";
- name = "${pname}-${version}";
version = "0.6.4";
src = pythonPackages.fetchPypi {
diff --git a/pkgs/applications/misc/dozenal/default.nix b/pkgs/applications/misc/dozenal/default.nix
index b5ae9fb567c..226bdea0301 100644
--- a/pkgs/applications/misc/dozenal/default.nix
+++ b/pkgs/applications/misc/dozenal/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "12010904";
- name = "dozenal-${version}";
+ pname = "dozenal";
src = fetchFromGitHub {
owner = "dgoodmaniii";
repo = "dozenal";
diff --git a/pkgs/applications/misc/dunst/default.nix b/pkgs/applications/misc/dunst/default.nix
index 309d4d54ae5..7da2ae421d7 100644
--- a/pkgs/applications/misc/dunst/default.nix
+++ b/pkgs/applications/misc/dunst/default.nix
@@ -1,24 +1,24 @@
-{ stdenv, fetchFromGitHub, makeWrapper
+{ stdenv, lib, fetchFromGitHub, makeWrapper
, pkgconfig, which, perl, libXrandr
-, cairo, dbus, systemd, gdk_pixbuf, glib, libX11, libXScrnSaver
+, cairo, dbus, systemd, gdk-pixbuf, glib, libX11, libXScrnSaver
, libXinerama, libnotify, pango, xorgproto, librsvg, dunstify ? false
}:
stdenv.mkDerivation rec {
- name = "dunst-${version}";
- version = "1.4.0";
+ pname = "dunst";
+ version = "1.4.1";
src = fetchFromGitHub {
owner = "dunst-project";
repo = "dunst";
rev = "v${version}";
- sha256 = "1rwbylygd88r61yrxc7ckg9svgq8b1i2falr0mk9sabqxzn9050s";
+ sha256 = "0xjj1f2jr1ja5grj6wrx5jjz1sx5fpqnvkw7nqi4452j3nc4p4l2";
};
nativeBuildInputs = [ perl pkgconfig which systemd makeWrapper ];
buildInputs = [
- cairo dbus gdk_pixbuf glib libX11 libXScrnSaver
+ cairo dbus gdk-pixbuf glib libX11 libXScrnSaver
libXinerama libnotify pango xorgproto librsvg libXrandr
];
@@ -33,19 +33,19 @@ stdenv.mkDerivation rec {
buildFlags = if dunstify then [ "dunstify" ] else [];
- postInstall = stdenv.lib.optionalString dunstify ''
+ postInstall = lib.optionalString dunstify ''
install -Dm755 dunstify $out/bin
'' + ''
wrapProgram $out/bin/dunst \
--set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE"
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Lightweight and customizable notification daemon";
- homepage = https://dunst-project.org/;
+ homepage = "https://dunst-project.org/";
license = licenses.bsd3;
# NOTE: 'unix' or even 'all' COULD work too, I'm not sure
platforms = platforms.linux;
- maintainers = [ maintainers.domenkozar ];
+ maintainers = with maintainers; [ domenkozar ];
};
}
diff --git a/pkgs/applications/misc/eaglemode/default.nix b/pkgs/applications/misc/eaglemode/default.nix
index 6c802e683ce..ae83802a7b4 100644
--- a/pkgs/applications/misc/eaglemode/default.nix
+++ b/pkgs/applications/misc/eaglemode/default.nix
@@ -2,11 +2,11 @@
librsvg, glib, gtk2, libXext, libXxf86vm, poppler, xineLib, ghostscript, makeWrapper }:
stdenv.mkDerivation rec {
- name = "eaglemode-${version}";
+ pname = "eaglemode";
version = "0.94.1";
src = fetchurl {
- url = "mirror://sourceforge/eaglemode/${name}.tar.bz2";
+ url = "mirror://sourceforge/eaglemode/${pname}-${version}.tar.bz2";
sha256 = "0mpnk0fzy02jxbafipkdkj48m6k38h42j599gw4sdnag7ymlms89";
};
diff --git a/pkgs/applications/misc/electron-cash/default.nix b/pkgs/applications/misc/electron-cash/default.nix
index 11adfaaf80d..913afd766d3 100644
--- a/pkgs/applications/misc/electron-cash/default.nix
+++ b/pkgs/applications/misc/electron-cash/default.nix
@@ -1,20 +1,14 @@
-{ lib, fetchurl, python3Packages, qtbase, makeWrapper }:
-
-let
-
- python = python3Packages.python;
-
-in
+{ lib, fetchurl, python3Packages, qtbase, wrapQtAppsHook }:
python3Packages.buildPythonApplication rec {
pname = "electron-cash";
- version = "4.0.2";
+ version = "4.0.10";
src = fetchurl {
url = "https://electroncash.org/downloads/${version}/win-linux/Electron-Cash-${version}.tar.gz";
# Verified using official SHA-1 and signature from
# https://github.com/fyookball/keys-n-hashes
- sha256 = "6255cd0493442ec57c10ae70ca2e84c6a29497f90a1393e6ac5772afe7572acf";
+ sha256 = "48270e12956a2f4ef4d2b0cb60611e47f136b734a3741dab176542a32ae59ee5";
};
propagatedBuildInputs = with python3Packages; [
@@ -38,7 +32,7 @@ python3Packages.buildPythonApplication rec {
btchip
];
- nativeBuildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ wrapQtAppsHook ];
postPatch = ''
substituteInPlace contrib/requirements/requirements.txt \
@@ -60,10 +54,6 @@ python3Packages.buildPythonApplication rec {
postInstall = ''
substituteInPlace $out/share/applications/electron-cash.desktop \
--replace "Exec=electron-cash" "Exec=$out/bin/electron-cash"
-
- # Please remove this when #44047 is fixed
- wrapProgram $out/bin/electron-cash \
- --prefix QT_PLUGIN_PATH : ${qtbase}/lib/qt-5.${lib.versions.minor qtbase.version}/plugins
'';
doInstallCheck = true;
diff --git a/pkgs/applications/misc/electrum/dash.nix b/pkgs/applications/misc/electrum/dash.nix
index 98ed10b0c7c..8ba562de1cb 100644
--- a/pkgs/applications/misc/electrum/dash.nix
+++ b/pkgs/applications/misc/electrum/dash.nix
@@ -2,7 +2,7 @@
python2Packages.buildPythonApplication rec {
version = "2.9.3.1";
- name = "electrum-dash-${version}";
+ pname = "electrum-dash";
src = fetchurl {
url = "https://github.com/akhavr/electrum-dash/releases/download/${version}/Electrum-DASH-${version}.tar.gz";
diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix
index 2f8b98f3a44..0ebeb1beffa 100644
--- a/pkgs/applications/misc/electrum/default.nix
+++ b/pkgs/applications/misc/electrum/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, fetchurl, fetchFromGitHub, python3, python3Packages, zbar, secp256k1
+{ stdenv, fetchurl, fetchFromGitHub, wrapQtAppsHook, python3, python3Packages, zbar, secp256k1
+, enableQt ? !stdenv.isDarwin
# for updater.nix
@@ -14,14 +15,23 @@
}:
let
- version = "3.3.6";
+ version = "3.3.8";
+
+ libsecp256k1_name =
+ if stdenv.isLinux then "libsecp256k1.so.0"
+ else if stdenv.isDarwin then "libsecp256k1.0.dylib"
+ else "libsecp256k1${stdenv.hostPlatform.extensions.sharedLibrary}";
+
+ libzbar_name =
+ if stdenv.isLinux then "libzbar.so.0"
+ else "libzbar${stdenv.hostPlatform.extensions.sharedLibrary}";
# Not provided in official source releases, which are what upstream signs.
tests = fetchFromGitHub {
owner = "spesmilo";
repo = "electrum";
rev = version;
- sha256 = "0s8i6fn1jwk80d036n4c7csv4qnx2k15f6347kr4mllglcpa9hb3";
+ sha256 = "1di8ba77kgapcys0d7h5nx1qqakv3s60c6sp8skw8p69ramsl73c";
extraPostFetch = ''
mv $out ./all
@@ -30,13 +40,13 @@ let
};
in
-python3Packages.buildPythonApplication rec {
+python3Packages.buildPythonApplication {
pname = "electrum";
inherit version;
src = fetchurl {
url = "https://download.electrum.org/${version}/Electrum-${version}.tar.gz";
- sha256 = "0am5ki3z0yvhrz16vp2jjy5fkxxqph0mj9qqpbw3kpql65shykwz";
+ sha256 = "1g00cj1pmckd4xis8r032wmraiv3vd3zc803hnyxa2bnhj8z3bg2";
};
postUnpack = ''
@@ -44,6 +54,8 @@ python3Packages.buildPythonApplication rec {
cp -ar ${tests} $sourceRoot/electrum/tests
'';
+ nativeBuildInputs = stdenv.lib.optionals enableQt [ wrapQtAppsHook ];
+
propagatedBuildInputs = with python3Packages; [
aiorpcx
aiohttp
@@ -56,9 +68,7 @@ python3Packages.buildPythonApplication rec {
protobuf
pyaes
pycryptodomex
- pyqt5
pysocks
- qdarkstyle
qrcode
requests
tlslite-ng
@@ -70,15 +80,20 @@ python3Packages.buildPythonApplication rec {
# TODO plugins
# amodem
- ];
+ ] ++ stdenv.lib.optionals enableQt [ pyqt5 qdarkstyle ];
preBuild = ''
sed -i 's,usr_share = .*,usr_share = "'$out'/share",g' setup.py
- sed -i "s|name = 'libzbar.*'|name='${zbar}/lib/libzbar.so'|" electrum/qrscanner.py
- substituteInPlace ./electrum/ecc_fast.py --replace libsecp256k1.so.0 ${secp256k1}/lib/libsecp256k1.so.0
- '';
+ substituteInPlace ./electrum/ecc_fast.py \
+ --replace ${libsecp256k1_name} ${secp256k1}/lib/libsecp256k1${stdenv.hostPlatform.extensions.sharedLibrary}
+ '' + (if enableQt then ''
+ substituteInPlace ./electrum/qrscanner.py \
+ --replace ${libzbar_name} ${zbar.lib}/lib/libzbar${stdenv.hostPlatform.extensions.sharedLibrary}
+ '' else ''
+ sed -i '/qdarkstyle/d' contrib/requirements/requirements.txt
+ '');
- postInstall = ''
+ postInstall = stdenv.lib.optionalString stdenv.isLinux ''
# Despite setting usr_share above, these files are installed under
# $out/nix ...
mv $out/${python3.sitePackages}/nix/store"/"*/share $out
@@ -89,6 +104,11 @@ python3Packages.buildPythonApplication rec {
"Exec=$out/bin/electrum %u" \
--replace 'Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum --testnet %u"' \
"Exec=$out/bin/electrum --testnet %u"
+
+ '';
+
+ postFixup = stdenv.lib.optionalString enableQt ''
+ wrapQtApp $out/bin/electrum
'';
checkInputs = with python3Packages; [ pytest ];
@@ -123,6 +143,7 @@ python3Packages.buildPythonApplication rec {
'';
homepage = https://electrum.org/;
license = licenses.mit;
+ platforms = platforms.all;
maintainers = with maintainers; [ ehmry joachifm np ];
};
}
diff --git a/pkgs/applications/misc/electrum/ltc.nix b/pkgs/applications/misc/electrum/ltc.nix
index a5e4bd74a6e..88f44c6cc85 100644
--- a/pkgs/applications/misc/electrum/ltc.nix
+++ b/pkgs/applications/misc/electrum/ltc.nix
@@ -5,7 +5,7 @@
python3Packages.buildPythonApplication rec {
pname = "electrum-ltc";
- version = "3.1.3.1";
+ version = "3.3.8.1";
src = fetchurl {
url = "https://electrum-ltc.org/download/Electrum-LTC-${version}.tar.gz";
@@ -51,7 +51,7 @@ python3Packages.buildPythonApplication rec {
homepage = https://electrum-ltc.org/;
license = licenses.mit;
platforms = platforms.linux;
- maintainers = with maintainers; [ asymmetric ];
+ maintainers = with maintainers; [ ];
};
}
diff --git a/pkgs/applications/misc/emem/default.nix b/pkgs/applications/misc/emem/default.nix
index d447e7f50d5..62358d41cc5 100644
--- a/pkgs/applications/misc/emem/default.nix
+++ b/pkgs/applications/misc/emem/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "emem";
version = "0.2.50";
- name = "${pname}-${version}";
inherit jdk;
diff --git a/pkgs/applications/misc/epdfview/default.nix b/pkgs/applications/misc/epdfview/default.nix
index b6c10dbebca..de922bb3990 100644
--- a/pkgs/applications/misc/epdfview/default.nix
+++ b/pkgs/applications/misc/epdfview/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, gtk2, poppler }:
stdenv.mkDerivation rec {
- name = "epdfview-${version}";
+ pname = "epdfview";
version = "0.1.8";
src = fetchurl {
@@ -28,11 +28,11 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://packages.debian.org/wheezy/epdfview;
- description = "A lightweight PDF document viewer using Poppler and GTK+";
+ description = "A lightweight PDF document viewer using Poppler and GTK";
longDescription = ''
- ePDFView is a free lightweight PDF document viewer using Poppler and
- GTK+ libraries. The aim of ePDFView is to make a simple PDF document
- viewer, in the lines of Evince but without using the Gnome libraries.
+ ePDFView is a free lightweight PDF document viewer using Poppler and
+ GTK libraries. The aim of ePDFView is to make a simple PDF document
+ viewer, in the lines of Evince but without using the Gnome libraries.
'';
license = licenses.gpl2;
maintainers = [ maintainers.astsmtl ];
diff --git a/pkgs/applications/misc/et/default.nix b/pkgs/applications/misc/et/default.nix
index 4aaaa333998..d8b355efe86 100644
--- a/pkgs/applications/misc/et/default.nix
+++ b/pkgs/applications/misc/et/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchFromGitHub, pkgconfig, libnotify, gdk_pixbuf }:
+{ stdenv, fetchFromGitHub, pkgconfig, libnotify, gdk-pixbuf }:
stdenv.mkDerivation rec {
- name = "et-${version}";
+ pname = "et";
version = "0.1.1";
src = fetchFromGitHub {
owner = "geistesk";
repo = "et";
- rev = "${version}";
+ rev = version;
sha256 = "167w9qwfpd63rgy0xmkkkh5krmd91q42c3ijy3j099krgdfbb9bc";
};
- buildInputs = [ libnotify gdk_pixbuf ];
+ buildInputs = [ libnotify gdk-pixbuf ];
nativeBuildInputs = [ pkgconfig ];
installPhase = ''
diff --git a/pkgs/applications/misc/eterm/default.nix b/pkgs/applications/misc/eterm/default.nix
index 98b47990314..56cac7ca918 100644
--- a/pkgs/applications/misc/eterm/default.nix
+++ b/pkgs/applications/misc/eterm/default.nix
@@ -3,7 +3,7 @@
, pkgconfig, imlib2, libast }:
stdenv.mkDerivation rec {
- name = "eterm-${version}";
+ pname = "eterm";
version = "0.9.6";
srcName = "Eterm-${version}";
diff --git a/pkgs/applications/misc/eureka-editor/default.nix b/pkgs/applications/misc/eureka-editor/default.nix
index b8bd0a59bea..e9d1317390e 100644
--- a/pkgs/applications/misc/eureka-editor/default.nix
+++ b/pkgs/applications/misc/eureka-editor/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchzip, fltk, zlib, xdg_utils, xorg, libjpeg, libGL }:
stdenv.mkDerivation rec {
- name = "eureka-editor-${version}";
+ pname = "eureka-editor";
version = "1.21";
shortver = "121";
diff --git a/pkgs/applications/misc/evilvte/default.nix b/pkgs/applications/misc/evilvte/default.nix
index c7fcf18e4e3..984ade077a8 100644
--- a/pkgs/applications/misc/evilvte/default.nix
+++ b/pkgs/applications/misc/evilvte/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchgit, makeWrapper, pkgconfig,
- gnome2, glib, pango, cairo, gdk_pixbuf, atk, freetype, xorg,
+ gnome2, glib, pango, cairo, gdk-pixbuf, atk, freetype, xorg,
configH ? ""
}:
-stdenv.mkDerivation rec {
- name = "evilvte-${version}";
+stdenv.mkDerivation {
+ pname = "evilvte";
version = "0.5.2-20140827";
src = fetchgit {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- gnome2.vte glib pango gnome2.gtk cairo gdk_pixbuf atk freetype xorg.libX11
+ gnome2.vte glib pango gnome2.gtk cairo gdk-pixbuf atk freetype xorg.libX11
xorg.xorgproto xorg.libXext makeWrapper pkgconfig
];
diff --git a/pkgs/applications/misc/evtest-qt/default.nix b/pkgs/applications/misc/evtest-qt/default.nix
new file mode 100644
index 00000000000..86f2d007092
--- /dev/null
+++ b/pkgs/applications/misc/evtest-qt/default.nix
@@ -0,0 +1,25 @@
+{ mkDerivation, lib, qtbase, cmake, fetchFromGitHub }:
+
+mkDerivation rec {
+ pname = "evtest-qt";
+ version = "0.2.0";
+
+ src = fetchFromGitHub {
+ owner = "Grumbel";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1wfzkgq81764qzxgk0y5vvpxcrb3icvrr4dd4mj8njrqgbwmn0mw";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ buildInputs = [ qtbase ];
+
+ meta = with lib; {
+ description = "Simple input device tester for linux with Qt GUI";
+ homepage = "https://github.com/Grumbel/evtest-qt";
+ maintainers = with maintainers; [ alexarice ];
+ platforms = platforms.linux;
+ license = licenses.gpl3;
+ };
+}
diff --git a/pkgs/applications/misc/evtest/default.nix b/pkgs/applications/misc/evtest/default.nix
index 3d715a1d16b..d6d20367b06 100644
--- a/pkgs/applications/misc/evtest/default.nix
+++ b/pkgs/applications/misc/evtest/default.nix
@@ -1,14 +1,15 @@
{ stdenv, fetchgit, autoreconfHook, pkgconfig, libxml2 }:
stdenv.mkDerivation rec {
- name = "evtest-1.33";
+ pname = "evtest";
+ version = "1.34";
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ libxml2 ];
src = fetchgit {
- url = "git://anongit.freedesktop.org/evtest";
- rev = "refs/tags/evtest-1.33";
+ url = "git://anongit.freedesktop.org/${pname}";
+ rev = "refs/tags/${pname}-${version}";
sha256 = "168gdhzj11f4nk94a6z696sm8v1njzwww69bn6wr97l17897913g";
};
diff --git a/pkgs/applications/misc/exercism/default.nix b/pkgs/applications/misc/exercism/default.nix
index 21fed2e28de..6d04cef76ce 100644
--- a/pkgs/applications/misc/exercism/default.nix
+++ b/pkgs/applications/misc/exercism/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "exercism-${version}";
+ pname = "exercism";
version = "3.0.11";
goPackagePath = "github.com/exercism/cli";
diff --git a/pkgs/applications/misc/extract_url/default.nix b/pkgs/applications/misc/extract_url/default.nix
index 2b7888c9cd0..f96d3f0f57c 100644
--- a/pkgs/applications/misc/extract_url/default.nix
+++ b/pkgs/applications/misc/extract_url/default.nix
@@ -10,7 +10,7 @@ let
++ lib.optional uriFindSupport perlPackages.URIFind;
in stdenv.mkDerivation rec {
- name = "extract_url-${version}";
+ pname = "extract_url";
version = "1.6.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/fetchmail/default.nix b/pkgs/applications/misc/fetchmail/default.nix
index e9d19466609..bbbf1a0aff9 100644
--- a/pkgs/applications/misc/fetchmail/default.nix
+++ b/pkgs/applications/misc/fetchmail/default.nix
@@ -4,7 +4,8 @@ let
version = "6.3.26";
in
stdenv.mkDerivation {
- name="fetchmail-${version}";
+ pname = "fetchmail";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/fetchmail.berlios/fetchmail-${version}.tar.bz2";
diff --git a/pkgs/applications/misc/firestarter/default.nix b/pkgs/applications/misc/firestarter/default.nix
new file mode 100644
index 00000000000..e93d0ab69a7
--- /dev/null
+++ b/pkgs/applications/misc/firestarter/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, python3, cudatoolkit,
+ withCuda ? true
+}:
+
+with stdenv.lib;
+stdenv.mkDerivation rec {
+ pname = "firestarter";
+ version = "1.7.3";
+
+ src = fetchFromGitHub {
+ owner = "tud-zih-energy";
+ repo = "FIRESTARTER";
+ rev = "v${version}";
+ sha256 = "1gc7kmzx9nw22lyfmpyz72p974jf1hvw5nvszcaq7x6h8cz9ip15";
+ };
+
+ nativeBuildInputs = [ python3 ];
+ buildInputs = optionals withCuda [ cudatoolkit ];
+ preBuild = ''
+ mkdir -p build
+ cd build
+ python ../code-generator.py ${optionalString withCuda "--enable-cuda"}
+ '';
+ makeFlags = optionals withCuda [ "LINUX_CUDA_PATH=${cudatoolkit}" ];
+ enableParallelBuilding = true;
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp FIRESTARTER $out/bin/firestarter
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://tu-dresden.de/zih/forschung/projekte/firestarter;
+ description = "Processor Stress Test Utility";
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ astro ];
+ license = licenses.gpl3;
+ };
+}
diff --git a/pkgs/applications/misc/flamerobin/default.nix b/pkgs/applications/misc/flamerobin/default.nix
index f70042884a8..06cf3c06ffa 100644
--- a/pkgs/applications/misc/flamerobin/default.nix
+++ b/pkgs/applications/misc/flamerobin/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.9.3.1";
- name = "flamerobin-${version}";
+ pname = "flamerobin";
src = fetchFromGitHub {
owner = "mariuz";
diff --git a/pkgs/applications/misc/fme/default.nix b/pkgs/applications/misc/fme/default.nix
index 4e786bfb36f..2ca059820ef 100644
--- a/pkgs/applications/misc/fme/default.nix
+++ b/pkgs/applications/misc/fme/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec{
- name = "fme-${version}";
+ pname = "fme";
version = "1.1.3";
src = fetchurl {
diff --git a/pkgs/applications/misc/font-manager/default.nix b/pkgs/applications/misc/font-manager/default.nix
index f00d6cfc60d..5df34c84f09 100644
--- a/pkgs/applications/misc/font-manager/default.nix
+++ b/pkgs/applications/misc/font-manager/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, ninja, gettext, python3, fetchpatch,
+{ stdenv, fetchFromGitHub, meson, ninja, gettext, python3,
pkgconfig, libxml2, json-glib , sqlite, itstool, librsvg,
vala, gtk3, gnome3, desktop-file-utils, wrapGAppsHook, gobject-introspection
}:
@@ -49,13 +49,13 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://fontmanager.github.io/;
- description = "Simple font management for GTK+ desktop environments";
+ description = "Simple font management for GTK desktop environments";
longDescription = ''
Font Manager is intended to provide a way for average users to
easily manage desktop fonts, without having to resort to command
line tools or editing configuration files by hand. While designed
primarily with the Gnome Desktop Environment in mind, it should
- work well with other Gtk+ desktop environments.
+ work well with other GTK desktop environments.
Font Manager is NOT a professional-grade font management solution.
'';
diff --git a/pkgs/applications/misc/freemind/default.nix b/pkgs/applications/misc/freemind/default.nix
index 5152c8aa3f7..aee3937689b 100644
--- a/pkgs/applications/misc/freemind/default.nix
+++ b/pkgs/applications/misc/freemind/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jdk, jre, ant }:
stdenv.mkDerivation rec {
- name = "freemind-${version}";
+ pname = "freemind";
version = "1.0.1";
src = fetchurl {
diff --git a/pkgs/applications/misc/fsv/default.nix b/pkgs/applications/misc/fsv/default.nix
index 782a37040d8..00e11858fb4 100644
--- a/pkgs/applications/misc/fsv/default.nix
+++ b/pkgs/applications/misc/fsv/default.nix
@@ -4,10 +4,10 @@
let
gtkglarea = stdenv.mkDerivation rec {
- name = "gtkglarea-${version}";
+ pname = "gtkglarea";
version = "2.1.0";
src = fetchurl {
- url = "mirror://gnome/sources/gtkglarea/2.1/${name}.tar.xz";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1pl2vdj6l64j864ilhkq1bcggb3hrlxjwk5m029i7xfjfxc587lf";
};
nativeBuildInputs = [ pkgconfig ];
@@ -16,13 +16,13 @@ let
};
in stdenv.mkDerivation rec {
- name = "fsv-${version}";
+ pname = "fsv";
version = "0.9-1";
src = fetchFromGitHub {
owner = "mcuelenaere";
repo = "fsv";
- rev = name;
+ rev = "${pname}-${version}";
sha256 = "0n09jd7yqj18mx6zqbg7kab4idg5llr15g6avafj74fpg1h7iimj";
};
@@ -41,7 +41,7 @@ in stdenv.mkDerivation rec {
'';
homepage = https://github.com/mcuelenaere/fsv;
license = licenses.lgpl2;
- platforms = platforms.mesaPlatforms;
+ platforms = platforms.linux;
maintainers = with maintainers; [ rnhmjoj ];
};
}
diff --git a/pkgs/applications/misc/gImageReader/default.nix b/pkgs/applications/misc/gImageReader/default.nix
index e0fd33d5e61..67d4bd65a9f 100644
--- a/pkgs/applications/misc/gImageReader/default.nix
+++ b/pkgs/applications/misc/gImageReader/default.nix
@@ -6,8 +6,8 @@
# Gtk deps
# upstream gImagereader supports Qt too
-, gtk3, gobject-introspection, wrapGAppsHook
-, gnome3, gtkmm3, gtksourceview3, gtksourceviewmm, gtkspell3, gtkspellmm, cairomm
+, gobject-introspection, wrapGAppsHook
+, gtkmm3, gtksourceview3, gtksourceviewmm, gtkspell3, gtkspellmm, cairomm
}:
let
@@ -15,14 +15,14 @@ let
pythonEnv = python3.withPackages( ps: with ps;[ pygobject3 ] );
in
stdenv.mkDerivation rec {
- name = "gImageReader-${version}";
- version = "3.3.0";
+ pname = "gImageReader";
+ version = "3.3.1";
src = fetchFromGitHub {
owner= "manisandro";
repo = "gImageReader";
rev = "v${version}";
- sha256 = "0pjk4kr7bc5q4hi1xf7na2zln9fyqdazgzq62r3bg41nzy7fakcz";
+ sha256 = "17hz2dgxx2j7hsk0lx3riidqvlsg0ylnicjd2gphsi3yp7w20zdj";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/misc/galculator/default.nix b/pkgs/applications/misc/galculator/default.nix
index 44071b32875..ecf8ae9da8d 100644
--- a/pkgs/applications/misc/galculator/default.nix
+++ b/pkgs/applications/misc/galculator/default.nix
@@ -3,7 +3,7 @@
, gtk, pkgconfig, flex }:
stdenv.mkDerivation rec {
- name = "galculator-${version}";
+ pname = "galculator";
version = "2.1.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/gallery-dl/default.nix b/pkgs/applications/misc/gallery-dl/default.nix
index 742b535b33d..169c5c11b8c 100644
--- a/pkgs/applications/misc/gallery-dl/default.nix
+++ b/pkgs/applications/misc/gallery-dl/default.nix
@@ -2,11 +2,11 @@
python3Packages.buildPythonApplication rec {
pname = "gallery_dl";
- version = "1.8.4";
+ version = "1.10.3";
src = python3Packages.fetchPypi {
inherit pname version;
- sha256 = "01df9aph7qr2yxy0ckpkr5f6yscs29raqs2f4xxg7xn5zaimjhan";
+ sha256 = "1ippn0zbjy69n178vh4wgyzy6723ynvj2w23mzqw7v2mzcvkhmdz";
};
doCheck = false;
diff --git a/pkgs/applications/misc/gammu/default.nix b/pkgs/applications/misc/gammu/default.nix
index 739df59b31c..fb6902634da 100644
--- a/pkgs/applications/misc/gammu/default.nix
+++ b/pkgs/applications/misc/gammu/default.nix
@@ -7,7 +7,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "gammu-${version}";
+ pname = "gammu";
version = "1.40.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/ganttproject-bin/default.nix b/pkgs/applications/misc/ganttproject-bin/default.nix
index 6bc18ba3790..96d3d34046e 100644
--- a/pkgs/applications/misc/ganttproject-bin/default.nix
+++ b/pkgs/applications/misc/ganttproject-bin/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, lib, fetchzip, makeDesktopItem, makeWrapper
+{ stdenv, fetchzip, makeDesktopItem, makeWrapper
, jre
}:
stdenv.mkDerivation rec {
- name = "ganttproject-bin-${version}";
+ pname = "ganttproject-bin";
version = "2.8.10";
src = let build = "r2364"; in fetchzip {
diff --git a/pkgs/applications/misc/gcal/default.nix b/pkgs/applications/misc/gcal/default.nix
index a3aebf22733..f5eb6e188b7 100644
--- a/pkgs/applications/misc/gcal/default.nix
+++ b/pkgs/applications/misc/gcal/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "gcal-${version}";
+ pname = "gcal";
version = "4.1";
src = fetchurl {
- url = "mirror://gnu/gcal/${name}.tar.xz";
+ url = "mirror://gnu/gcal/${pname}-${version}.tar.xz";
sha256 = "1av11zkfirbixn05hyq4xvilin0ncddfjqzc4zd9pviyp506rdci";
};
diff --git a/pkgs/applications/misc/gcalcli/default.nix b/pkgs/applications/misc/gcalcli/default.nix
index 9313612370c..8381f182e5d 100644
--- a/pkgs/applications/misc/gcalcli/default.nix
+++ b/pkgs/applications/misc/gcalcli/default.nix
@@ -5,13 +5,13 @@ with python3.pkgs;
buildPythonApplication rec {
pname = "gcalcli";
- version = "4.1.0";
+ version = "4.2.0";
src = fetchFromGitHub {
owner = "insanum";
repo = pname;
rev = "v${version}";
- sha256 = "06iijpwlvvn8bj81s4znhykilvwvydxjmzd3d4nsa5j2kj3iwshi";
+ sha256 = "0746vmhfclkpkqnyaidxid2z20mlv86hv0pjxy1qglrja91vkd72";
};
postPatch = lib.optionalString stdenv.isLinux ''
diff --git a/pkgs/applications/misc/get_iplayer/default.nix b/pkgs/applications/misc/get_iplayer/default.nix
index 5e8bb629ce2..baf2f5165d6 100644
--- a/pkgs/applications/misc/get_iplayer/default.nix
+++ b/pkgs/applications/misc/get_iplayer/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
perlPackages.buildPerlPackage rec {
- name = "get_iplayer-${version}";
+ pname = "get_iplayer";
version = "2.99";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/getxbook/default.nix b/pkgs/applications/misc/getxbook/default.nix
index a77f87f6f1f..b2a992b850e 100644
--- a/pkgs/applications/misc/getxbook/default.nix
+++ b/pkgs/applications/misc/getxbook/default.nix
@@ -1,14 +1,16 @@
{ stdenv, fetchurl, openssl }:
stdenv.mkDerivation rec {
- name = "getxbook-${version}";
+ pname = "getxbook";
version = "1.2";
src = fetchurl {
- url = "https://njw.me.uk/getxbook/${name}.tar.xz";
+ url = "https://njw.me.uk/getxbook/${pname}-${version}.tar.xz";
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
};
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" "-Wno-error=deprecated-declarations" ];
+
buildInputs = [ openssl ];
makeFlags = [ "PREFIX=$(out)" ];
diff --git a/pkgs/applications/misc/girara/default.nix b/pkgs/applications/misc/girara/default.nix
index 919f20f1398..c2b7487cd72 100644
--- a/pkgs/applications/misc/girara/default.nix
+++ b/pkgs/applications/misc/girara/default.nix
@@ -1,28 +1,43 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, glib, gtk, gettext, libiconv, libintl
+{ stdenv, fetchurl, meson, ninja, pkgconfig, check, dbus, xvfb_run, glib, gtk, gettext, libiconv, json_c, libintl
}:
stdenv.mkDerivation rec {
- name = "girara-${version}";
+ pname = "girara";
version = "0.3.2";
+ outputs = [ "out" "dev" ];
+
src = fetchurl {
- url = "https://pwmt.org/projects/girara/download/${name}.tar.xz";
+ url = "https://pwmt.org/projects/girara/download/${pname}-${version}.tar.xz";
sha256 = "1kc6n1mxjxa7wvwnqy94qfg8l9jvx9qrvrr2kc7m4g0z20x3a00p";
};
- nativeBuildInputs = [ meson ninja pkgconfig gettext ];
- buildInputs = [ libintl libiconv ];
+ nativeBuildInputs = [ meson ninja pkgconfig gettext check dbus xvfb_run ];
+ buildInputs = [ libintl libiconv json_c ];
propagatedBuildInputs = [ glib gtk ];
+ doCheck = true;
+
+ mesonFlags = [
+ "-Ddocs=disabled" # docs do not seem to be installed
+ ];
+
+ checkPhase = ''
+ export NO_AT_BRIDGE=1
+ xvfb-run -s '-screen 0 800x600x24' dbus-run-session \
+ --config-file=${dbus.daemon}/share/dbus-1/session.conf \
+ meson test --print-errorlogs
+ '';
+
meta = with stdenv.lib; {
homepage = https://pwmt.org/projects/girara/;
description = "User interface library";
longDescription = ''
- girara is a library that implements a GTK+ based VIM-like user interface
+ girara is a library that implements a GTK based VIM-like user interface
that focuses on simplicity and minimalism.
'';
license = licenses.zlib;
platforms = platforms.linux ++ platforms.darwin;
- maintainers = [ maintainers.garbas ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/applications/misc/gkrellm/default.nix b/pkgs/applications/misc/gkrellm/default.nix
index b4fac899f66..f44cdd0bad7 100644
--- a/pkgs/applications/misc/gkrellm/default.nix
+++ b/pkgs/applications/misc/gkrellm/default.nix
@@ -4,11 +4,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "gkrellm-2.3.10";
+ name = "gkrellm-2.3.11";
src = fetchurl {
url = "http://gkrellm.srcbox.net/releases/${name}.tar.bz2";
- sha256 = "0rnpzjr0ys0ypm078y63q4aplcgdr5nshjzhmz330n6dmnxci7lb";
+ sha256 = "01lccz4fga40isv09j8rjgr0qy10rff9vj042n6gi6gdv4z69q0y";
};
nativeBuildInputs = [ pkgconfig which ];
diff --git a/pkgs/applications/misc/gksu/default.nix b/pkgs/applications/misc/gksu/default.nix
index 4af776674e6..4a806cbb183 100644
--- a/pkgs/applications/misc/gksu/default.nix
+++ b/pkgs/applications/misc/gksu/default.nix
@@ -5,10 +5,9 @@
stdenv.mkDerivation rec {
version = "2.0.2";
pname = "gksu";
- name = "${pname}-${version}";
src = fetchurl {
- url = "http://people.debian.org/~kov/gksu/${name}.tar.gz";
+ url = "http://people.debian.org/~kov/gksu/${pname}-${version}.tar.gz";
sha256 = "0npfanlh28daapkg25q4fncxd89rjhvid5fwzjaw324x0g53vpm1";
};
@@ -40,7 +39,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A graphical frontend for libgksu";
longDescription = ''
- GKSu is a library that provides a Gtk+ frontend to su and sudo.
+ GKSu is a library that provides a GTK frontend to su and sudo.
It supports login shells and preserving environment when acting as
a su frontend. It is useful to menu items or other graphical
programs that need to ask a user's password to run another program
diff --git a/pkgs/applications/misc/glava/default.nix b/pkgs/applications/misc/glava/default.nix
index 3831780c791..6f5146161a6 100644
--- a/pkgs/applications/misc/glava/default.nix
+++ b/pkgs/applications/misc/glava/default.nix
@@ -21,7 +21,7 @@ let
'';
in
stdenv.mkDerivation rec {
- name = "glava-${version}";
+ pname = "glava";
version = "1.6.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/gmrun/default.nix b/pkgs/applications/misc/gmrun/default.nix
index 47fb50242c1..50dda9510b9 100644
--- a/pkgs/applications/misc/gmrun/default.nix
+++ b/pkgs/applications/misc/gmrun/default.nix
@@ -5,10 +5,11 @@ let
in
stdenv.mkDerivation rec {
- name = "gmrun-${version}";
+ pname = "gmrun";
+ inherit version;
src = fetchurl {
- url = "mirror://sourceforge/gmrun/${name}.tar.gz";
+ url = "mirror://sourceforge/gmrun/${pname}-${version}.tar.gz";
sha256 = "180z6hbax1qypy5cyy2z6nn7fzxla4ib47ck8mqwr714ag77na8p";
};
@@ -29,7 +30,7 @@ stdenv.mkDerivation rec {
description = "Gnome Completion-Run Utility";
longDescription = ''
A simple program which provides a "run program" window, featuring a bash-like TAB completion.
- It uses GTK+ interface.
+ It uses GTK interface.
Also, supports CTRL-R / CTRL-S / "!" for searching through history.
Running commands in a terminal with CTRL-Enter. URL handlers.
'';
diff --git a/pkgs/applications/misc/gmtp/default.nix b/pkgs/applications/misc/gmtp/default.nix
index bb1556c7c4d..c8bbcf2aa7f 100644
--- a/pkgs/applications/misc/gmtp/default.nix
+++ b/pkgs/applications/misc/gmtp/default.nix
@@ -5,7 +5,8 @@
let version = "1.3.11"; in
stdenv.mkDerivation {
- name = "gmtp-${version}";
+ pname = "gmtp";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/gmtp/gMTP-${version}/gmtp-${version}.tar.gz";
diff --git a/pkgs/applications/misc/gnome-multi-writer/default.nix b/pkgs/applications/misc/gnome-multi-writer/default.nix
new file mode 100644
index 00000000000..11bfbaaacd0
--- /dev/null
+++ b/pkgs/applications/misc/gnome-multi-writer/default.nix
@@ -0,0 +1,62 @@
+{ stdenv
+, fetchurl
+, appstream-glib
+, desktop-file-utils
+, gettext
+, glib
+, gnome3
+, gtk3
+, gusb
+, libcanberra-gtk3
+, libgudev
+, meson
+, ninja
+, pkgconfig
+, wrapGAppsHook
+, polkit
+, udisks
+}:
+
+stdenv.mkDerivation rec {
+ pname = "gnome-multi-writer";
+ version = "3.32.1";
+
+ src = fetchurl {
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1apdd8yi12zagf82k376a9wmdm27wzwdxpm2wf2pnwkaf786rmdw";
+ };
+
+ nativeBuildInputs = [
+ appstream-glib
+ desktop-file-utils
+ gettext
+ meson
+ ninja
+ pkgconfig
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ gtk3
+ gusb
+ libcanberra-gtk3
+ libgudev
+ polkit
+ udisks
+ ];
+
+ passthru = {
+ updateScript = gnome3.updateScript {
+ packageName = pname;
+ };
+ };
+
+ meta = with stdenv.lib; {
+ description = "Tool for writing an ISO file to multiple USB devices at once";
+ homepage = https://wiki.gnome.org/Apps/MultiWriter;
+ license = licenses.gpl2Plus;
+ maintainers = gnome3.maintainers;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/gnome15/default.nix b/pkgs/applications/misc/gnome15/default.nix
index e2cf8245ce6..7a918d961f6 100644
--- a/pkgs/applications/misc/gnome15/default.nix
+++ b/pkgs/applications/misc/gnome15/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, python2, gnome_python, gnome_python_desktop }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "gnome15-2016-06-10";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/go-jira/default.nix b/pkgs/applications/misc/go-jira/default.nix
index b80ddb8f303..f8da250dbc7 100644
--- a/pkgs/applications/misc/go-jira/default.nix
+++ b/pkgs/applications/misc/go-jira/default.nix
@@ -2,7 +2,7 @@
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
- name = "go-jira-${version}";
+ pname = "go-jira";
version = "1.0.17";
goPackagePath = "gopkg.in/Netflix-Skunkworks/go-jira.v1";
diff --git a/pkgs/applications/misc/golden-cheetah/default.nix b/pkgs/applications/misc/golden-cheetah/default.nix
index edf16f806a6..7fba1d49d74 100644
--- a/pkgs/applications/misc/golden-cheetah/default.nix
+++ b/pkgs/applications/misc/golden-cheetah/default.nix
@@ -1,5 +1,6 @@
-{ stdenv, fetchurl
-, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools, qtconnectivity
+{ stdenv, fetchFromGitHub, mkDerivation
+, qtbase, qtsvg, qtserialport, qtwebkit, qtmultimedia, qttools
+, qtconnectivity, qtcharts
, yacc, flex, zlib, qmake, makeDesktopItem, makeWrapper
}:
@@ -13,34 +14,39 @@ let
comment = "Performance software for cyclists, runners and triathletes";
categories = "Application;Utility;";
};
-in stdenv.mkDerivation rec {
- name = "golden-cheetah-${version}";
- version = "3.4";
- src = fetchurl {
- name = "${name}.tar.gz";
- url = "https://github.com/GoldenCheetah/GoldenCheetah/archive/V${version}.tar.gz";
- sha256 = "0fiz2pj155cd357kph50lc6rjyzwp045glfv4y68qls9j7m9ayaf";
+in mkDerivation rec {
+ pname = "golden-cheetah";
+ version = "3.5-DEV1903";
+
+ src = fetchFromGitHub {
+ owner = "GoldenCheetah";
+ repo = "GoldenCheetah";
+ rev = "v${version}";
+ sha256 = "130b0hm04i0hf97rs1xrdfhbal5vjsknj3x4cdxjh7rgbg2p1sm3";
};
+
buildInputs = [
qtbase qtsvg qtserialport qtwebkit qtmultimedia qttools zlib
- qtconnectivity
+ qtconnectivity qtcharts
];
nativeBuildInputs = [ flex makeWrapper qmake yacc ];
- NIX_LDFLAGS = [
- "-lz"
- ];
+
+ NIX_LDFLAGS = [ "-lz" ];
+
+ qtWrapperArgs = [ "--set LD_LIBRARY_PATH ${zlib.out}/lib" ];
+
preConfigure = ''
cp src/gcconfig.pri.in src/gcconfig.pri
cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri
echo 'QMAKE_LRELEASE = ${qttools.dev}/bin/lrelease' >> src/gcconfig.pri
sed -i -e '21,23d' qwt/qwtconfig.pri # Removed forced installation to /usr/local
'';
+
installPhase = ''
runHook preInstall
mkdir -p $out/bin
cp src/GoldenCheetah $out/bin
- wrapProgram $out/bin/GoldenCheetah --set LD_LIBRARY_PATH "${zlib.out}/lib"
install -Dm644 "${desktopItem}/share/applications/"* -t $out/share/applications/
install -Dm644 src/Resources/images/gc.png $out/share/pixmaps/goldencheetah.png
diff --git a/pkgs/applications/misc/goldendict/default.nix b/pkgs/applications/misc/goldendict/default.nix
index 42d5d83f7bd..e917cc024d5 100644
--- a/pkgs/applications/misc/goldendict/default.nix
+++ b/pkgs/applications/misc/goldendict/default.nix
@@ -1,25 +1,29 @@
-{ stdenv, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
-, libao, ffmpeg, libeb, lzo, xz, libtiff
+{ mkDerivation, lib, fetchFromGitHub, pkgconfig, libXtst, libvorbis, hunspell
+, libao, ffmpeg, libeb, lzo, xz, libtiff, opencc
, qtbase, qtsvg, qtwebkit, qtx11extras, qttools, qmake }:
-stdenv.mkDerivation rec {
+mkDerivation {
- name = "goldendict-2018-06-13";
+ name = "goldendict-2019-08-01";
src = fetchFromGitHub {
owner = "goldendict";
repo = "goldendict";
- rev = "48e850c7ec11d83cba7499f7fdce377ef3849bbb";
- sha256 = "0i4q4waqjv45hgwillvjik97pg26kwlmz4925djjkx8s6hxgjlq9";
+ rev = "0f951b06a55f3a201891cf645a556e773bda5f52";
+ sha256 = "1d1hn95vhvsmbq9q96l5adn90g0hg25dl01knb4y4v6v9x4yrl2x";
};
nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [
qtbase qtsvg qtwebkit qtx11extras qttools
- libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff
+ libXtst libvorbis hunspell libao ffmpeg libeb lzo xz libtiff opencc
];
- qmakeFlags = [ "CONFIG+=zim_support" ];
+ qmakeFlags = [
+ "goldendict.pro"
+ "CONFIG+=zim_support"
+ "CONFIG+=chinese_conversion_support"
+ ];
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = http://goldendict.org/;
description = "A feature-rich dictionary lookup program";
platforms = platforms.linux;
diff --git a/pkgs/applications/misc/gollum/Gemfile.lock b/pkgs/applications/misc/gollum/Gemfile.lock
index 9a12ba2bfd5..6cd77318754 100644
--- a/pkgs/applications/misc/gollum/Gemfile.lock
+++ b/pkgs/applications/misc/gollum/Gemfile.lock
@@ -36,7 +36,7 @@ GEM
mime-types-data (3.2019.0331)
mini_portile2 (2.4.0)
mustache (0.99.8)
- nokogiri (1.10.3)
+ nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
posix-spawn (0.3.13)
rack (1.6.11)
diff --git a/pkgs/applications/misc/gollum/default.nix b/pkgs/applications/misc/gollum/default.nix
index 4a0a4e38a61..e9a177ee193 100644
--- a/pkgs/applications/misc/gollum/default.nix
+++ b/pkgs/applications/misc/gollum/default.nix
@@ -1,8 +1,7 @@
-{ stdenv, bundlerEnv, ruby, makeWrapper
+{ stdenv, bundlerEnv, ruby, makeWrapper, bundlerUpdateScript
, git }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "gollum";
# nix-shell -p bundix icu zlib
version = (import ./gemset.nix).gollum.version;
@@ -10,7 +9,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
env = bundlerEnv {
- name = "${name}-gems";
+ name = "${pname}-${version}-gems";
inherit pname ruby;
gemdir = ./.;
};
@@ -23,11 +22,13 @@ stdenv.mkDerivation rec {
--prefix PATH ":" ${stdenv.lib.makeBinPath [ git ]}
'';
+ passthru.updateScript = bundlerUpdateScript "gollum";
+
meta = with stdenv.lib; {
description = "A simple, Git-powered wiki";
homepage = https://github.com/gollum/gollum;
license = licenses.mit;
- maintainers = with maintainers; [ jgillich primeos ];
+ maintainers = with maintainers; [ jgillich primeos nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/gollum/gemset.nix b/pkgs/applications/misc/gollum/gemset.nix
index 6de5553ac7c..f9bdf94db17 100644
--- a/pkgs/applications/misc/gollum/gemset.nix
+++ b/pkgs/applications/misc/gollum/gemset.nix
@@ -151,10 +151,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
+ sha256 = "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv";
type = "gem";
};
- version = "1.10.3";
+ version = "1.10.4";
};
posix-spawn = {
groups = ["default"];
diff --git a/pkgs/applications/misc/googleearth/default.nix b/pkgs/applications/misc/googleearth/default.nix
index 0fccf83acf7..961efe4b057 100644
--- a/pkgs/applications/misc/googleearth/default.nix
+++ b/pkgs/applications/misc/googleearth/default.nix
@@ -40,7 +40,8 @@ let
];
in
stdenv.mkDerivation rec {
- name = "googleearth-${version}";
+ pname = "googleearth";
+ inherit version;
src = fetchurl {
url = "https://dl.google.com/linux/earth/deb/pool/main/g/google-earth-stable/google-earth-stable_${version}-r0_${arch}.deb";
inherit sha256;
diff --git a/pkgs/applications/misc/googler/default.nix b/pkgs/applications/misc/googler/default.nix
index 7ff7f6f811f..12eb8839b8a 100644
--- a/pkgs/applications/misc/googler/default.nix
+++ b/pkgs/applications/misc/googler/default.nix
@@ -1,14 +1,14 @@
{stdenv, fetchFromGitHub, python}:
stdenv.mkDerivation rec {
- version = "3.8";
- name = "googler-${version}";
+ version = "3.9";
+ pname = "googler";
src = fetchFromGitHub {
owner = "jarun";
repo = "googler";
rev = "v${version}";
- sha256 = "0f15rivjdj8r7wwrckcsaxxx129yh41fj4rhz4cbvbsb5f0f2daj";
+ sha256 = "0zqq157i0rfrja8yqnqr9rfrp5apzc7cxb7d7ppv6abkc5bckyqc";
};
propagatedBuildInputs = [ python ];
diff --git a/pkgs/applications/misc/gosmore/default.nix b/pkgs/applications/misc/gosmore/default.nix
index 464e0ba5334..41cdf267f5d 100644
--- a/pkgs/applications/misc/gosmore/default.nix
+++ b/pkgs/applications/misc/gosmore/default.nix
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
src = fetchsvn {
url = http://svn.openstreetmap.org/applications/rendering/gosmore;
sha256 = "0qsckpqx7i7f8gkqhkzdamr65250afk1rpnh3nbman35kdv3dsxi";
- rev = "${version}";
+ rev = version;
ignoreExternals = true;
};
diff --git a/pkgs/applications/misc/gpg-mdp/default.nix b/pkgs/applications/misc/gpg-mdp/default.nix
index 4143f6fde55..9954ff660ad 100644
--- a/pkgs/applications/misc/gpg-mdp/default.nix
+++ b/pkgs/applications/misc/gpg-mdp/default.nix
@@ -3,7 +3,8 @@
let version = "0.7.4";
in stdenv.mkDerivation {
# mdp renamed to gpg-mdp because there is a mdp package already.
- name = "gpg-mdp-${version}";
+ pname = "gpg-mdp";
+ inherit version;
meta = {
homepage = https://tamentis.com/projects/mdp/;
license = [stdenv.lib.licenses.isc];
diff --git a/pkgs/applications/misc/gphoto2/default.nix b/pkgs/applications/misc/gphoto2/default.nix
index 9313199efb8..d06970e8d07 100644
--- a/pkgs/applications/misc/gphoto2/default.nix
+++ b/pkgs/applications/misc/gphoto2/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "gphoto2-2.5.20";
+ name = "gphoto2-2.5.23";
src = fetchurl {
url = "mirror://sourceforge/gphoto/${name}.tar.bz2";
- sha256 = "1xj80abkzvqrd6g1j1q946lhbp03gyapyxdwbhc0y14g1ash6vx3";
+ sha256 = "1laqwhxr0xhbykmp0dhd3j4rr2lhj5y228s31afnqxp700hhk1yz";
};
nativeBuildInputs = [ pkgconfig gettext libtool ];
diff --git a/pkgs/applications/misc/gphoto2/gphotofs.nix b/pkgs/applications/misc/gphoto2/gphotofs.nix
index 7b23fca2121..c1c2a44bd7f 100644
--- a/pkgs/applications/misc/gphoto2/gphotofs.nix
+++ b/pkgs/applications/misc/gphoto2/gphotofs.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, libtool, pkgconfig, libgphoto2, fuse, glib }:
stdenv.mkDerivation rec {
- name = "gphoto2fs-${version}";
+ pname = "gphoto2fs";
version = "0.5.0";
src = fetchurl {
url="mirror://sourceforge/gphoto/gphotofs/${version}/gphotofs-0.5.tar.bz2";
diff --git a/pkgs/applications/misc/gpsbabel/default.nix b/pkgs/applications/misc/gpsbabel/default.nix
index aa0ed5f6463..9d244ca18f3 100644
--- a/pkgs/applications/misc/gpsbabel/default.nix
+++ b/pkgs/applications/misc/gpsbabel/default.nix
@@ -1,7 +1,7 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, zlib, which, IOKit, qtbase }:
stdenv.mkDerivation rec {
- name = "gpsbabel-${version}";
+ pname = "gpsbabel";
version = "1.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/gpscorrelate/default.nix b/pkgs/applications/misc/gpscorrelate/default.nix
index e691c79d85c..d10507b1044 100644
--- a/pkgs/applications/misc/gpscorrelate/default.nix
+++ b/pkgs/applications/misc/gpscorrelate/default.nix
@@ -1,28 +1,41 @@
-{ fetchFromGitHub, stdenv, pkgconfig, exiv2, libxml2, gtk2
-, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
+{ fetchFromGitHub, stdenv, fetchpatch, pkgconfig, exiv2, libxml2, gtk3
+, libxslt, docbook_xsl, docbook_xml_dtd_42, desktop-file-utils }:
stdenv.mkDerivation rec {
- name = "gpscorrelate-${version}";
- version = "1.6.1";
+ pname = "gpscorrelate";
+ version = "unstable-2019-06-05";
src = fetchFromGitHub {
- owner = "freefoote";
- repo = "gpscorrelate";
- rev = version;
- sha256 = "1z0fc75rx7dl6nnydksa578qv116j2c2xs1czfiijzxjghx8njdj";
+ owner = "dfandrich";
+ repo = pname;
+ rev = "80b14fe7c10c1cc8f62c13f517c062577ce88c85";
+ sha256 = "1gaan0nd7ai0bwilfnkza7lg5mz87804mvlygj0gjc672izr37r6";
};
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [
- exiv2 libxml2 gtk2
- libxslt docbook_xsl
+ nativeBuildInputs = [
+ desktop-file-utils
docbook_xml_dtd_42
+ docbook_xsl
+ libxslt
+ pkgconfig
];
- patchPhase = ''
- sed -i "Makefile" \
- -es",^[[:blank:]]*prefix[[:blank:]]*=.*$,prefix = $out,g"
- '';
+ buildInputs = [
+ exiv2
+ gtk3
+ libxml2
+ ];
+
+ makeFlags = [
+ "prefix=${placeholder "out"}"
+ "GTK=3"
+ "CC=cc"
+ "CXX=c++"
+ ];
+
+ doCheck = true;
+
+ installTargets = [ "install" "install-desktop-file" ];
meta = with stdenv.lib; {
description = "A GPS photo correlation tool, to add EXIF geotags";
@@ -44,7 +57,7 @@ stdenv.mkDerivation rec {
'';
license = licenses.gpl2Plus;
- homepage = https://github.com/freefoote/gpscorrelate;
+ homepage = "https://github.com/dfandrich/gpscorrelate";
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/misc/gpsprune/default.nix b/pkgs/applications/misc/gpsprune/default.nix
index 4f0c1864677..9c0dc48d42e 100644
--- a/pkgs/applications/misc/gpsprune/default.nix
+++ b/pkgs/applications/misc/gpsprune/default.nix
@@ -1,7 +1,7 @@
{ fetchurl, stdenv, makeDesktopItem, makeWrapper, unzip, jre8 }:
stdenv.mkDerivation rec {
- name = "gpsprune-${version}";
+ pname = "gpsprune";
version = "19.2";
src = fetchurl {
diff --git a/pkgs/applications/misc/gpx-viewer/default.nix b/pkgs/applications/misc/gpx-viewer/default.nix
index f7cfee3e651..04ab062c1a1 100644
--- a/pkgs/applications/misc/gpx-viewer/default.nix
+++ b/pkgs/applications/misc/gpx-viewer/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, intltool, pkgconfig, gnome3, libchamplain, gdl, shared-mime-info, desktop-file-utils, wrapGAppsHook }:
+{ stdenv, fetchurl, intltool, libxml2, pkgconfig, gnome3, libchamplain, gdl, shared-mime-info, desktop-file-utils, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "gpx-viewer-${version}";
+ pname = "gpx-viewer";
version = "0.4.0";
src = fetchurl {
- url = "https://launchpad.net/gpx-viewer/trunk/${version}/+download/${name}.tar.gz";
+ url = "https://launchpad.net/gpx-viewer/trunk/${version}/+download/${pname}-${version}.tar.gz";
sha256 = "956acfaf870ac436300cd9953dece630df7fd7dff8e4ae2577a6002884466f80";
};
@@ -15,13 +15,13 @@ stdenv.mkDerivation rec {
};
patchFlags = [ "-p0" ];
+ configureFlags = [ "--disable-database-updates" ];
+
nativeBuildInputs = [
intltool pkgconfig
- shared-mime-info # For update-mime-database
- desktop-file-utils # For update-desktop-database
wrapGAppsHook # Fix error: GLib-GIO-ERROR **: No GSettings schemas are installed on the system
];
- buildInputs = [ gdl libchamplain gnome3.adwaita-icon-theme ];
+ buildInputs = [ gdl libchamplain gnome3.adwaita-icon-theme libxml2 ];
meta = with stdenv.lib; {
homepage = https://blog.sarine.nl/tag/gpxviewer/;
diff --git a/pkgs/applications/misc/gpx/default.nix b/pkgs/applications/misc/gpx/default.nix
index 9fef9381949..a341a212a37 100644
--- a/pkgs/applications/misc/gpx/default.nix
+++ b/pkgs/applications/misc/gpx/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "gpx-${version}";
+ pname = "gpx";
version = "2.5.2";
nativeBuildInputs = [ autoreconfHook ];
diff --git a/pkgs/applications/misc/gpxsee/default.nix b/pkgs/applications/misc/gpxsee/default.nix
index 5ef64b2b801..4b2ed9af24e 100644
--- a/pkgs/applications/misc/gpxsee/default.nix
+++ b/pkgs/applications/misc/gpxsee/default.nix
@@ -1,44 +1,34 @@
-{ stdenv, fetchFromGitHub, qmake, qttools }:
+{ mkDerivation, lib, fetchFromGitHub, qmake, qttools }:
-stdenv.mkDerivation rec {
- name = "gpxsee-${version}";
- version = "7.1";
+mkDerivation rec {
+ pname = "gpxsee";
+ version = "7.13";
src = fetchFromGitHub {
owner = "tumic0";
repo = "GPXSee";
rev = version;
- sha256 = "1dgag8j3566qwiz1pschfq2wqdp7y1pr4cm9na4zwrdjhn3ci6v5";
+ sha256 = "08cg5k4ffj2wrcm4rk7vyixbyyz0424276fw2fn8lmziklkdqyjw";
};
nativeBuildInputs = [ qmake ];
buildInputs = [ qttools ];
preConfigure = ''
- substituteInPlace src/common/programpaths.cpp --replace /usr/share/ $out/share/
lrelease lang/*.ts
'';
- installPhase = ''
- install -Dm755 GPXSee $out/bin/GPXSee
- mkdir -p $out/share/gpxsee
- cp -r pkg/csv $out/share/gpxsee/
- cp -r pkg/maps $out/share/gpxsee/
- mkdir -p $out/share/gpxsee/translations
- cp -r lang/*.qm $out/share/gpxsee/translations
- '';
-
enableParallelBuilding = true;
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://www.gpxsee.org/;
- description = "GPX viewer and analyzer";
+ description = "GPS log file viewer and analyzer";
longDescription = ''
- GPXSee is a Qt-based GPS log file viewer and analyzer that supports GPX,
- TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files.
+ GPXSee is a Qt-based GPS log file viewer and analyzer that supports
+ all common GPS log file formats.
'';
license = licenses.gpl3;
- maintainers = [ maintainers.womfoo ];
+ maintainers = with maintainers; [ womfoo sikmir ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/misc/gramps/default.nix b/pkgs/applications/misc/gramps/default.nix
index e9026ded470..84be50ccb5e 100644
--- a/pkgs/applications/misc/gramps/default.nix
+++ b/pkgs/applications/misc/gramps/default.nix
@@ -10,7 +10,7 @@ let
inherit (pythonPackages) python buildPythonApplication;
in buildPythonApplication rec {
version = "5.0.1";
- name = "gramps-${version}";
+ pname = "gramps";
nativeBuildInputs = [ wrapGAppsHook gettext ];
buildInputs = [ intltool gtk3 gobject-introspection pango gnome3.gexiv2 ]
@@ -48,7 +48,7 @@ in buildPythonApplication rec {
eapth="$out/lib/${python.libPrefix}"/site-packages/easy-install.pth
if [ -e "$eapth" ]; then
# move colliding easy_install.pth to specifically named one
- mv "$eapth" $(dirname "$eapth")/${name}.pth
+ mv "$eapth" $(dirname "$eapth")/${pname}-${version}.pth
fi
rm -f "$out/lib/${python.libPrefix}"/site-packages/site.py*
diff --git a/pkgs/applications/misc/green-pdfviewer/default.nix b/pkgs/applications/misc/green-pdfviewer/default.nix
index 00421a2e033..d86db7adb9d 100644
--- a/pkgs/applications/misc/green-pdfviewer/default.nix
+++ b/pkgs/applications/misc/green-pdfviewer/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, poppler, pkgconfig, gdk_pixbuf, SDL, gtk2 }:
+{ stdenv, fetchFromGitHub, poppler, pkgconfig, gdk-pixbuf, SDL, gtk2 }:
-stdenv.mkDerivation rec {
- name = "green-pdfviewer-${version}";
+stdenv.mkDerivation {
+ pname = "green-pdfviewer";
version = "nightly-2014-04-22";
src = fetchFromGitHub {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ poppler gdk_pixbuf SDL gtk2 ];
+ buildInputs = [ poppler gdk-pixbuf SDL gtk2 ];
patches = [
./gdk-libs.patch
diff --git a/pkgs/applications/misc/gremlin-console/default.nix b/pkgs/applications/misc/gremlin-console/default.nix
index a35079e9151..87e636b9c03 100644
--- a/pkgs/applications/misc/gremlin-console/default.nix
+++ b/pkgs/applications/misc/gremlin-console/default.nix
@@ -1,7 +1,7 @@
-{ pkgs, fetchzip, stdenv, makeWrapper, openjdk }:
+{ fetchzip, stdenv, makeWrapper, openjdk }:
stdenv.mkDerivation rec {
- name = "gremlin-console-${version}";
+ pname = "gremlin-console";
version = "3.3.4";
src = fetchzip {
url = "http://www-eu.apache.org/dist/tinkerpop/${version}/apache-tinkerpop-gremlin-console-${version}-bin.zip";
diff --git a/pkgs/applications/misc/grip/default.nix b/pkgs/applications/misc/grip/default.nix
index cb407fca66c..7f2057b2947 100644
--- a/pkgs/applications/misc/grip/default.nix
+++ b/pkgs/applications/misc/grip/default.nix
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
meta = {
- description = "GTK+-based audio CD player/ripper";
+ description = "GTK-based audio CD player/ripper";
homepage = http://nostatic.org/grip;
license = stdenv.lib.licenses.gpl2;
diff --git a/pkgs/applications/misc/grsync/default.nix b/pkgs/applications/misc/grsync/default.nix
new file mode 100644
index 00000000000..3e1bb31091f
--- /dev/null
+++ b/pkgs/applications/misc/grsync/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl, dee, gtk2, intltool, libdbusmenu-gtk2, libunity, pkg-config, rsync }:
+
+stdenv.mkDerivation rec {
+ version = "1.2.6";
+ pname = "grsync";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/grsync/grsync-${version}.tar.gz";
+ sha256 = "06ani65d58p8r3jvxjwpwyqrr07ya3icdqc243nxcrv7bvmarmb6";
+ };
+
+ nativeBuildInputs = [
+ intltool
+ pkg-config
+ ];
+
+ buildInputs = [
+ dee
+ gtk2
+ libdbusmenu-gtk2
+ libunity
+ rsync
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Grsync is used to synchronize folders, files and make backups";
+ homepage = "http://www.opbyte.it/grsync/";
+ license = licenses.gpl1;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.kuznero ];
+ };
+}
diff --git a/pkgs/applications/misc/gsctl/default.nix b/pkgs/applications/misc/gsctl/default.nix
new file mode 100644
index 00000000000..b84053b94ad
--- /dev/null
+++ b/pkgs/applications/misc/gsctl/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ pname = "gsctl";
+ version = "0.15.4";
+
+ goPackagePath = "github.com/giantswarm/gsctl";
+
+ src = fetchFromGitHub {
+ owner = "giantswarm";
+ repo = pname;
+ rev = version;
+ sha256 = "0s5bli08wfd9xszx3kc90k51vlgjc00r0qg4mikb6qdc4pxpgsxj";
+ };
+
+ meta = with stdenv.lib; {
+ description = "The Giant Swarm command line interface";
+ homepage = https://github.com/giantswarm/gsctl;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ joesalisbury ];
+ };
+}
diff --git a/pkgs/applications/misc/gsimplecal/default.nix b/pkgs/applications/misc/gsimplecal/default.nix
index 7f3b3a8d6dc..ea78331e476 100644
--- a/pkgs/applications/misc/gsimplecal/default.nix
+++ b/pkgs/applications/misc/gsimplecal/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, automake, autoconf, pkgconfig, gtk3 }:
stdenv.mkDerivation rec {
- name = "gsimplecal-${version}";
+ pname = "gsimplecal";
version = "2.1";
src = fetchurl {
diff --git a/pkgs/applications/misc/gtk2fontsel/default.nix b/pkgs/applications/misc/gtk2fontsel/default.nix
index 8f683272e12..9b8d6a7f976 100644
--- a/pkgs/applications/misc/gtk2fontsel/default.nix
+++ b/pkgs/applications/misc/gtk2fontsel/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.1";
- name = "gtk2fontsel-${version}";
+ pname = "gtk2fontsel";
src = fetchurl {
- url = "mirror://sourceforge/gtk2fontsel/${name}.tar.gz";
+ url = "mirror://sourceforge/gtk2fontsel/${pname}-${version}.tar.gz";
sha256 = "0s2sj19n8ys92q9832hkn36ld91bb4qavicc6nygkry6qdpkkmjw";
};
@@ -15,9 +15,9 @@ stdenv.mkDerivation rec {
preferLocalBuild = true;
meta = with stdenv.lib; {
- description = "A font selection program for X11 using the GTK2 toolkit";
+ description = "A font selection program for X11 using the GTK 2 toolkit";
longDescription = ''
- Font selection tool similar to xfontsel implemented using GTK+ 2.
+ Font selection tool similar to xfontsel implemented using GTK 2.
Trivial, but useful nonetheless.
'';
homepage = http://gtk2fontsel.sourceforge.net/;
diff --git a/pkgs/applications/misc/guake/default.nix b/pkgs/applications/misc/guake/default.nix
index 37352915cb8..97303c43fb1 100644
--- a/pkgs/applications/misc/guake/default.nix
+++ b/pkgs/applications/misc/guake/default.nix
@@ -3,7 +3,7 @@
let
version = "3.6.3";
-in python3.pkgs.buildPythonApplication rec {
+in python3.pkgs.buildPythonApplication {
name = "guake-${version}";
format = "other";
diff --git a/pkgs/applications/misc/gummi/default.nix b/pkgs/applications/misc/gummi/default.nix
index 1e237923d05..273be11ac63 100644
--- a/pkgs/applications/misc/gummi/default.nix
+++ b/pkgs/applications/misc/gummi/default.nix
@@ -5,12 +5,12 @@
stdenv.mkDerivation rec {
version = "0.6.6";
- name = "gummi-${version}";
+ pname = "gummi";
src = pkgs.fetchFromGitHub {
owner = "alexandervdm";
repo = "gummi";
- rev = "${version}";
+ rev = version;
sha256 = "1vw8rhv8qj82l6l22kpysgm9mxilnki2kjmvxsnajbqcagr6s7cn";
};
diff --git a/pkgs/applications/misc/gxmessage/default.nix b/pkgs/applications/misc/gxmessage/default.nix
index a9e6d905c28..a7313e7c969 100644
--- a/pkgs/applications/misc/gxmessage/default.nix
+++ b/pkgs/applications/misc/gxmessage/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, gtk3, intltool, pkgconfig, texinfo, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "gxmessage-${version}";
+ pname = "gxmessage";
version = "3.4.3";
src = fetchurl {
- url = "http://homepages.ihug.co.nz/~trmusson/stuff/${name}.tar.gz";
+ url = "http://homepages.ihug.co.nz/~trmusson/stuff/${pname}-${version}.tar.gz";
sha256 = "db4e1655fc58f31e5770a17dfca4e6c89028ad8b2c8e043febc87a0beedeef05";
};
diff --git a/pkgs/applications/misc/hdate/default.nix b/pkgs/applications/misc/hdate/default.nix
index e2f5f653d47..989dfb886ec 100644
--- a/pkgs/applications/misc/hdate/default.nix
+++ b/pkgs/applications/misc/hdate/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.6.02";
- name = "hdate-${version}";
+ pname = "hdate";
src = fetchurl {
url = "https://sourceforge.net/projects/libhdate/files/libhdate/libhdate-${version}/libhdate-${version}.tar.bz2";
sha256 = "3c930a8deb57c01896dc37f0d7804e5a330ee8e88c4ff610b71f9d2b02c17762";
diff --git a/pkgs/applications/misc/hello-unfree/default.nix b/pkgs/applications/misc/hello-unfree/default.nix
index 1647a09edfd..a5a9187ab0f 100644
--- a/pkgs/applications/misc/hello-unfree/default.nix
+++ b/pkgs/applications/misc/hello-unfree/default.nix
@@ -1,7 +1,7 @@
{ stdenv, runtimeShell }:
-stdenv.mkDerivation rec {
- name = "example-unfree-package-${version}";
+stdenv.mkDerivation {
+ pname = "example-unfree-package";
version = "1.0";
phases = [ "installPhase" "fixupPhase" ];
diff --git a/pkgs/applications/misc/hello/default.nix b/pkgs/applications/misc/hello/default.nix
index 63a8af99f7c..8bae8ce373c 100644
--- a/pkgs/applications/misc/hello/default.nix
+++ b/pkgs/applications/misc/hello/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "hello-${version}";
+ pname = "hello";
version = "2.10";
src = fetchurl {
- url = "mirror://gnu/hello/${name}.tar.gz";
+ url = "mirror://gnu/hello/${pname}-${version}.tar.gz";
sha256 = "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i";
};
diff --git a/pkgs/applications/misc/hivemind/default.nix b/pkgs/applications/misc/hivemind/default.nix
index 0431f35057b..84f5bad24d2 100644
--- a/pkgs/applications/misc/hivemind/default.nix
+++ b/pkgs/applications/misc/hivemind/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "hivemind-${version}";
+ pname = "hivemind";
version = "1.0.4";
goPackagePath = "github.com/DarthSim/hivemind";
diff --git a/pkgs/applications/misc/houdini/default.nix b/pkgs/applications/misc/houdini/default.nix
index 607dff29318..ce35e91d927 100644
--- a/pkgs/applications/misc/houdini/default.nix
+++ b/pkgs/applications/misc/houdini/default.nix
@@ -2,7 +2,7 @@
let
houdini-runtime = callPackage ./runtime.nix { };
-in buildFHSUserEnv rec {
+in buildFHSUserEnv {
name = "houdini-${houdini-runtime.version}";
extraBuildCommands = ''
diff --git a/pkgs/applications/misc/houdini/runtime.nix b/pkgs/applications/misc/houdini/runtime.nix
index 500f1df36a0..88c87eaca87 100644
--- a/pkgs/applications/misc/houdini/runtime.nix
+++ b/pkgs/applications/misc/houdini/runtime.nix
@@ -30,7 +30,7 @@ let
in
stdenv.mkDerivation rec {
version = "17.0.352";
- name = "houdini-runtime-${version}";
+ pname = "houdini-runtime";
src = requireFile rec {
name = "houdini-${version}-linux_x86_64_gcc6.3.tar.gz";
sha256 = "0cl5fkgaplb0cvv7mli06ffc9j4ngpy8hl5zqabj3d645gcgafjg";
diff --git a/pkgs/applications/misc/hr/default.nix b/pkgs/applications/misc/hr/default.nix
index 2fd56e3c555..437c42b0331 100644
--- a/pkgs/applications/misc/hr/default.nix
+++ b/pkgs/applications/misc/hr/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "hr-${version}";
+ pname = "hr";
version = "1.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/hstr/default.nix b/pkgs/applications/misc/hstr/default.nix
index 1eae8c57fc4..0d25d3d686c 100644
--- a/pkgs/applications/misc/hstr/default.nix
+++ b/pkgs/applications/misc/hstr/default.nix
@@ -1,15 +1,29 @@
-{ stdenv, fetchurl, readline, ncurses }:
+{ stdenv, fetchFromGitHub, readline, ncurses
+, autoreconfHook, pkgconfig, gettext }:
stdenv.mkDerivation rec {
- name = "hstr-${version}";
- version = "1.25";
+ pname = "hstr";
+ version = "2.0";
- src = fetchurl {
- url = "https://github.com/dvorka/hstr/releases/download/${version}/hh-${version}-src.tgz";
- sha256 = "10njj0a3s5czv497wk3whka3gxr7vmhabs12vaw7kgb07h4ssnhg";
+ src = fetchFromGitHub {
+ owner = "dvorka";
+ repo = "hstr";
+ rev = version;
+ sha256 = "1y9vsfbg07gbic0daqy569d9pb9i1d07fym3q7a0a99hbng85s20";
};
- buildInputs = [ readline ncurses ];
+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ buildInputs = [ readline ncurses gettext ];
+
+ configurePhase = ''
+ autoreconf -fvi
+ ./configure
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin/
+ mv src/hstr $out/bin/
+ '';
meta = {
homepage = https://github.com/dvorka/hstr;
diff --git a/pkgs/applications/misc/hubstaff/default.nix b/pkgs/applications/misc/hubstaff/default.nix
index 46f50e2fd99..b2997ece5d5 100644
--- a/pkgs/applications/misc/hubstaff/default.nix
+++ b/pkgs/applications/misc/hubstaff/default.nix
@@ -17,7 +17,8 @@ let
in
stdenv.mkDerivation {
- name = "hubstaff-${version}";
+ pname = "hubstaff";
+ inherit version;
src = fetchurl { inherit sha256 url; };
@@ -60,6 +61,6 @@ stdenv.mkDerivation {
homepage = https://hubstaff.com/;
license = licenses.unfree;
platforms = [ "x86_64-linux" ];
- maintainers = [ maintainers.michalrus ];
+ maintainers = with maintainers; [ michalrus srghma ];
};
}
diff --git a/pkgs/applications/misc/hubstaff/revision.json b/pkgs/applications/misc/hubstaff/revision.json
index 85126a496c6..3170a63379c 100644
--- a/pkgs/applications/misc/hubstaff/revision.json
+++ b/pkgs/applications/misc/hubstaff/revision.json
@@ -1,5 +1,5 @@
{
- "url": "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.4.5-c5b459ea/Hubstaff-1.4.5-c5b459ea.sh",
- "version": "1.4.5-c5b459ea",
- "sha256": "180qglbj175wln0kh8d5czhjvy7z503zxn4w6522hkz4ddz201nz"
+ "url": "https://hubstaff-production.s3.amazonaws.com/downloads/HubstaffClient/Builds/Release/1.4.10-848554d6/Hubstaff-1.4.10-848554d6.sh",
+ "version": "1.4.10-848554d6",
+ "sha256": "1hwncdzpzawrwswr3ibhxny0aa5k9f8f2qf636bdzqilwhv6342z"
}
diff --git a/pkgs/applications/misc/hugo/default.nix b/pkgs/applications/misc/hugo/default.nix
index 0bb3f15fdc1..720445be9be 100644
--- a/pkgs/applications/misc/hugo/default.nix
+++ b/pkgs/applications/misc/hugo/default.nix
@@ -1,8 +1,8 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
- name = "hugo-${version}";
- version = "0.55.4";
+ pname = "hugo";
+ version = "0.58.0";
goPackagePath = "github.com/gohugoio/hugo";
@@ -10,10 +10,10 @@ buildGoModule rec {
owner = "gohugoio";
repo = "hugo";
rev = "v${version}";
- sha256 = "0hbkl8dhhdic0admrkvlp1h1bmfrrwfnvipx27clyk0f88jcvb7y";
+ sha256 = "0971li0777c1s67w72wl1y0b58ky93dw05hbk3s4kqys0acanc2d";
};
- modSha256 = "0yrwkaaasj9ihjjfbywnzkppix1y2znagg3dkyikk21sl5n0nz23";
+ modSha256 = "14ylbh2hx14swcqvawprbx5gynkwyb0nlp5acr4fjy1zl0ifc790";
buildFlags = "-tags extended";
diff --git a/pkgs/applications/misc/hyper/default.nix b/pkgs/applications/misc/hyper/default.nix
index 2fd7e2f94af..f21675e60b2 100644
--- a/pkgs/applications/misc/hyper/default.nix
+++ b/pkgs/applications/misc/hyper/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, lib, fetchurl, dpkg, atk, glib, pango, gdk_pixbuf, gnome2, gtk2, cairo
+{ stdenv, lib, fetchurl, dpkg, atk, glib, pango, gdk-pixbuf, gnome2, gtk2, cairo
, freetype, fontconfig, dbus, libXi, libXcursor, libXdamage, libXrandr
, libXcomposite, libXext, libXfixes, libXrender, libX11, libXtst, libXScrnSaver
, libxcb, nss, nspr, alsaLib, cups, expat, udev, libpulseaudio }:
let
libPath = stdenv.lib.makeLibraryPath [
- stdenv.cc.cc gtk2 gnome2.GConf atk glib pango gdk_pixbuf cairo freetype fontconfig dbus
+ stdenv.cc.cc gtk2 gnome2.GConf atk glib pango gdk-pixbuf cairo freetype fontconfig dbus
libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb
libXrender libX11 libXtst libXScrnSaver nss nspr alsaLib cups expat udev libpulseaudio
];
in
stdenv.mkDerivation rec {
version = "2.1.2";
- name = "hyper-${version}";
+ pname = "hyper";
src = fetchurl {
url = "https://github.com/zeit/hyper/releases/download/${version}/hyper_${version}_amd64.deb";
sha256 = "1n4qlbk7q9zkhhg72mdks95g15xgyrc6ixf882ghvrqghd4zxplm";
diff --git a/pkgs/applications/misc/icesl/default.nix b/pkgs/applications/misc/icesl/default.nix
index c0c1faef09d..c197e1a8fd3 100644
--- a/pkgs/applications/misc/icesl/default.nix
+++ b/pkgs/applications/misc/icesl/default.nix
@@ -3,7 +3,7 @@ let
lpath = stdenv.lib.makeLibraryPath [ libXmu libXi libX11 freeglut libICE libGLU_combined libSM libXext ];
in
stdenv.mkDerivation rec {
- name = "iceSL-${version}";
+ pname = "iceSL";
version = "2.1.10";
src = if stdenv.hostPlatform.system == "x86_64-linux" then fetchzip {
diff --git a/pkgs/applications/misc/ipmicfg/default.nix b/pkgs/applications/misc/ipmicfg/default.nix
index d9bccee889a..7daa2704e22 100644
--- a/pkgs/applications/misc/ipmicfg/default.nix
+++ b/pkgs/applications/misc/ipmicfg/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
- name = "ipmicfg-${version}";
+ pname = "ipmicfg";
version = "1.29.0";
buildVersion = "181029";
diff --git a/pkgs/applications/misc/ipmiview/default.nix b/pkgs/applications/misc/ipmiview/default.nix
index b5fa9143ddb..64e0f0d325b 100644
--- a/pkgs/applications/misc/ipmiview/default.nix
+++ b/pkgs/applications/misc/ipmiview/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, patchelf, makeWrapper, xorg, gcc, gcc-unwrapped }:
stdenv.mkDerivation rec {
- name = "IPMIView-${version}";
+ pname = "IPMIView";
version = "2.14.0";
buildVersion = "180213";
diff --git a/pkgs/applications/misc/iterm2/default.nix b/pkgs/applications/misc/iterm2/default.nix
index e493226be60..d63576d5cbd 100644
--- a/pkgs/applications/misc/iterm2/default.nix
+++ b/pkgs/applications/misc/iterm2/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "iterm2-${version}";
+ pname = "iterm2";
version = "3.0.14";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/j4-dmenu-desktop/default.nix b/pkgs/applications/misc/j4-dmenu-desktop/default.nix
index f24951624c5..c20fa4ed9d9 100644
--- a/pkgs/applications/misc/j4-dmenu-desktop/default.nix
+++ b/pkgs/applications/misc/j4-dmenu-desktop/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, dmenu }:
stdenv.mkDerivation rec {
- name = "j4-dmenu-desktop-${version}";
- version = "2.16";
+ pname = "j4-dmenu-desktop";
+ version = "2.17";
src = fetchFromGitHub {
- owner = "enkore";
- repo = "j4-dmenu-desktop";
- rev = "r${version}";
- sha256 = "0714cri8bwpimmiirhzrkbri4xi24k0za6i1aw94d3fnblk2dg9f";
+ owner = "enkore";
+ repo = pname;
+ rev = "r${version}";
+ sha256 = "0v23fimkn83dcm5p53y2ymhklff3kwppxhf75sm8xmswrzkixpgc";
};
postPatch = ''
@@ -18,13 +18,16 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# tests are fetching an external git repository
- cmakeFlags = [ "-DNO_TESTS:BOOL=ON" ];
+ cmakeFlags = [
+ "-DWITH_TESTS=OFF"
+ "-DWITH_GIT_CATCH=OFF"
+ ];
meta = with stdenv.lib; {
description = "A wrapper for dmenu that recognize .desktop files";
- homepage = "https://github.com/enkore/j4-dmenu-desktop";
- license = licenses.gpl3;
+ homepage = "https://github.com/enkore/j4-dmenu-desktop";
+ license = licenses.gpl3;
maintainers = with maintainers; [ ericsagnes ];
- platforms = with platforms; unix;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/jbidwatcher/default.nix b/pkgs/applications/misc/jbidwatcher/default.nix
index 72a24026a89..c8951059d4c 100644
--- a/pkgs/applications/misc/jbidwatcher/default.nix
+++ b/pkgs/applications/misc/jbidwatcher/default.nix
@@ -4,8 +4,6 @@ stdenv.mkDerivation rec {
pname = "jbidwatcher";
version = "2.5.6";
- name = "${pname}-${version}";
-
src = fetchurl {
url = "http://www.jbidwatcher.com/download/JBidwatcher-${version}.jar";
sha256 = "1cw59wh72w1zzibs8x64dma3jc4hry64wjksqs52nc3vpnf0fzfr";
@@ -15,7 +13,7 @@ stdenv.mkDerivation rec {
jarfile = "$out/share/java/${pname}/JBidwatcher.jar";
- unpackPhase = "true";
+ dontUnpack = true;
dontBuild = true;
diff --git a/pkgs/applications/misc/jekyll/basic/Gemfile b/pkgs/applications/misc/jekyll/basic/Gemfile
index 2d3446a8113..c4ba46e2ac6 100644
--- a/pkgs/applications/misc/jekyll/basic/Gemfile
+++ b/pkgs/applications/misc/jekyll/basic/Gemfile
@@ -1,8 +1,6 @@
source "https://rubygems.org"
gem "jekyll"
# jekyll alone might be enough for most use-cases
-gem "rouge"
-gem "activesupport", "~> 4.2"
gem "jekyll-avatar"
gem "jekyll-mentions"
gem "jekyll-seo-tag"
diff --git a/pkgs/applications/misc/jekyll/basic/Gemfile.lock b/pkgs/applications/misc/jekyll/basic/Gemfile.lock
index f4c1aceb4f0..54c703bb859 100644
--- a/pkgs/applications/misc/jekyll/basic/Gemfile.lock
+++ b/pkgs/applications/misc/jekyll/basic/Gemfile.lock
@@ -1,11 +1,12 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (4.2.11.1)
- i18n (~> 0.7)
+ activesupport (6.0.0)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (>= 0.7, < 2)
minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
+ zeitwerk (~> 2.1, >= 2.1.8)
addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
colorator (1.1.0)
@@ -14,46 +15,50 @@ GEM
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
- ffi (1.10.0)
+ ffi (1.11.1)
forwardable-extended (2.6.0)
- gemoji (3.0.0)
- html-pipeline (2.11.0)
+ gemoji (3.0.1)
+ html-pipeline (2.12.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
- i18n (0.9.5)
+ i18n (1.6.0)
concurrent-ruby (~> 1.0)
- jekyll (3.8.5)
+ jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
- i18n (~> 0.7)
- jekyll-sass-converter (~> 1.0)
+ i18n (>= 0.9.5, < 2)
+ jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
- kramdown (~> 1.14)
+ kramdown (~> 2.1)
+ kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
- rouge (>= 1.7, < 4)
+ rouge (~> 3.0)
safe_yaml (~> 1.0)
- jekyll-avatar (0.6.0)
- jekyll (~> 3.0)
+ terminal-table (~> 1.8)
+ jekyll-avatar (0.7.0)
+ jekyll (>= 3.0, < 5.0)
jekyll-mentions (1.5.1)
html-pipeline (~> 2.3)
jekyll (>= 3.7, < 5.0)
- jekyll-sass-converter (1.5.2)
- sass (~> 3.4)
- jekyll-seo-tag (2.6.0)
- jekyll (~> 3.3)
+ jekyll-sass-converter (2.0.0)
+ sassc (> 2.0.1, < 3.0)
+ jekyll-seo-tag (2.6.1)
+ jekyll (>= 3.3, < 5.0)
jekyll-sitemap (1.3.1)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
- jemoji (0.11.0)
+ jemoji (0.11.1)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
- kramdown (1.17.0)
+ kramdown (2.1.0)
+ kramdown-parser-gfm (1.1.0)
+ kramdown (~> 2.0)
liquid (4.0.3)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -62,38 +67,37 @@ GEM
mercenary (0.3.6)
mini_portile2 (2.4.0)
minitest (5.11.3)
- nokogiri (1.10.3)
+ nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
- public_suffix (3.0.3)
+ public_suffix (3.1.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
- rouge (3.3.0)
+ rouge (3.9.0)
ruby_dep (1.5.0)
safe_yaml (1.0.5)
- sass (3.7.4)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
+ sassc (2.1.0)
+ ffi (~> 1.9)
+ terminal-table (1.8.0)
+ unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
+ unicode-display_width (1.6.0)
+ zeitwerk (2.1.9)
PLATFORMS
ruby
DEPENDENCIES
- activesupport (~> 4.2)
jekyll
jekyll-avatar
jekyll-mentions
jekyll-seo-tag
jekyll-sitemap
jemoji
- rouge
BUNDLED WITH
1.17.2
diff --git a/pkgs/applications/misc/jekyll/basic/gemset.nix b/pkgs/applications/misc/jekyll/basic/gemset.nix
index 0c71fbe653d..41e599c0202 100644
--- a/pkgs/applications/misc/jekyll/basic/gemset.nix
+++ b/pkgs/applications/misc/jekyll/basic/gemset.nix
@@ -1,14 +1,14 @@
{
activesupport = {
- dependencies = ["i18n" "minitest" "thread_safe" "tzinfo"];
+ dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1vbq7a805bfvyik2q3kl9s3r418f5qzvysqbz2cwy4hr7m2q4ir6";
+ sha256 = "0b24ch7zmrdb4h6aismahk9785lc4ij30lmdr6ydv19kkljsjq5v";
type = "gem";
};
- version = "4.2.11.1";
+ version = "6.0.0";
};
addressable = {
dependencies = ["public_suffix"];
@@ -67,10 +67,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
+ sha256 = "06mvxpjply8qh4j3fj9wh08kdzwkbnvsiysh0vrhlk5cwxzjmblh";
type = "gem";
};
- version = "1.10.0";
+ version = "1.11.1";
};
forwardable-extended = {
groups = ["default"];
@@ -87,10 +87,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1h85qpn2xbmsn8ssf2fqzlqg181j000m5z4l3g26r7vblncg162d";
+ sha256 = "0vgklpmhdz98xayln5hhqv4ffdyrglzwdixkn5gsk9rj94pkymc0";
type = "gem";
};
- version = "3.0.0";
+ version = "3.0.1";
};
html-pipeline = {
dependencies = ["activesupport" "nokogiri"];
@@ -98,10 +98,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14659ap360gzmrxl8mb28ys6mld7xw3q4q7pqy0l1cn67szdq779";
+ sha256 = "0f7x70p3fda7i5wfjjljjgjgqwx8m12345bs4xpnh7fhnis42fkk";
type = "gem";
};
- version = "2.11.0";
+ version = "2.12.0";
};
"http_parser.rb" = {
groups = ["default"];
@@ -119,21 +119,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "038qvz7kd3cfxk8bvagqhakx68pfbnmghpdkx7573wbf0maqp9a3";
+ sha256 = "1hfxnlyr618s25xpafw9mypa82qppjccbh292c4l3bj36az7f6wl";
type = "gem";
};
- version = "0.9.5";
+ version = "1.6.0";
};
jekyll = {
- dependencies = ["addressable" "colorator" "em-websocket" "i18n" "jekyll-sass-converter" "jekyll-watch" "kramdown" "liquid" "mercenary" "pathutil" "rouge" "safe_yaml"];
+ dependencies = ["addressable" "colorator" "em-websocket" "i18n" "jekyll-sass-converter" "jekyll-watch" "kramdown" "kramdown-parser-gfm" "liquid" "mercenary" "pathutil" "rouge" "safe_yaml" "terminal-table"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1nn2sc308l2mz0yiall4r90l6vy67qp4sy9zapi73a948nd4a5k3";
+ sha256 = "0fpckw5nf4hfr5vhhdlmaxxp5lkdmc1vyqnmijwvy9fmjn4c87aa";
type = "gem";
};
- version = "3.8.5";
+ version = "4.0.0";
};
jekyll-avatar = {
dependencies = ["jekyll"];
@@ -141,10 +141,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "124624r83pmn7sp2idnsph9m1bbdiha5jnza4ypna8w2inpih51p";
+ sha256 = "03bys2pl60vq92skfhlfqr2j68zhfjc86jffpg32f94wzjk8n0wk";
type = "gem";
};
- version = "0.6.0";
+ version = "0.7.0";
};
jekyll-mentions = {
dependencies = ["html-pipeline" "jekyll"];
@@ -158,15 +158,15 @@
version = "1.5.1";
};
jekyll-sass-converter = {
- dependencies = ["sass"];
+ dependencies = ["sassc"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "008ikh5fk0n6ri54mylcl8jn0mq8p2nfyfqif2q3pp0lwilkcxsk";
+ sha256 = "0fbc25p8vqyzmg8wpmgacqjkk3jhrr6kz9y45m43ygck74h2cad2";
type = "gem";
};
- version = "1.5.2";
+ version = "2.0.0";
};
jekyll-seo-tag = {
dependencies = ["jekyll"];
@@ -174,10 +174,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "104v01vh7frgyra3s32wap1ag9fxcm8pgb8v957khzskqy2jh7am";
+ sha256 = "1p9fl2r4ni10lbx143zp41caldjs4hg27az5wg42sbwzb7s6z66m";
type = "gem";
};
- version = "2.6.0";
+ version = "2.6.1";
};
jekyll-sitemap = {
dependencies = ["jekyll"];
@@ -207,20 +207,31 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x463l6a8ikaf6pzap0dgh4gfvlkx56g6kdasj9jfb1ld3fvl99k";
+ sha256 = "1yd77r5jvh9chf5qcp6z63gg40yp5n1sr7nv1hlmbq3xjzlhs6h6";
type = "gem";
};
- version = "0.11.0";
+ version = "0.11.1";
};
kramdown = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq";
+ sha256 = "1dl840bvx8d9nq6lg3mxqyvbiqnr6lk3jfsm6r8zhz7p5srmd688";
type = "gem";
};
- version = "1.17.0";
+ version = "2.1.0";
+ };
+ kramdown-parser-gfm = {
+ dependencies = ["kramdown"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0a8pb3v951f4x7h968rqfsa19c8arz21zw1vaj42jza22rap8fgv";
+ type = "gem";
+ };
+ version = "1.1.0";
};
liquid = {
groups = ["default"];
@@ -279,10 +290,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
+ sha256 = "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv";
type = "gem";
};
- version = "1.10.3";
+ version = "1.10.4";
};
pathutil = {
dependencies = ["forwardable-extended"];
@@ -300,10 +311,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
+ sha256 = "0g9ds2ffzljl6jjmkjffwxc1z6lh5nkqqmhhkxjk71q5ggv0rkpm";
type = "gem";
};
- version = "3.0.3";
+ version = "3.1.1";
};
rb-fsevent = {
groups = ["default"];
@@ -331,10 +342,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1digsi2s8wyzx8vsqcxasw205lg6s7izx8jypl8rrpjwshmv83ql";
+ sha256 = "1cn6fin40ngrasqi6qis85mqwx6phnbkzhkkd93acm9vrcf3rkl3";
type = "gem";
};
- version = "3.3.0";
+ version = "3.9.0";
};
ruby_dep = {
groups = ["default"];
@@ -356,27 +367,27 @@
};
version = "1.0.5";
};
- sass = {
- dependencies = ["sass-listen"];
+ sassc = {
+ dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0p95lhs0jza5l7hqci1isflxakz83xkj97lkvxl919is0lwhv2w0";
+ sha256 = "06kwfqvpwf33cvkvbv1l9g5ln3q721hz5d3dyasq0k9d28x9w4fs";
type = "gem";
};
- version = "3.7.4";
+ version = "2.1.0";
};
- sass-listen = {
- dependencies = ["rb-fsevent" "rb-inotify"];
+ terminal-table = {
+ dependencies = ["unicode-display_width"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xw3q46cmahkgyldid5hwyiwacp590zj2vmswlll68ryvmvcp7df";
+ sha256 = "1512cngw35hsmhvw4c05rscihc59mnj09m249sm9p3pik831ydqk";
type = "gem";
};
- version = "4.0.0";
+ version = "1.8.0";
};
thread_safe = {
groups = ["default"];
@@ -399,4 +410,24 @@
};
version = "1.2.5";
};
+ unicode-display_width = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "08kfiniak1pvg3gn5k6snpigzvhvhyg7slmm0s2qx5zkj62c1z2w";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
+ zeitwerk = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0gaiqg207j99cvqpgmn4ps6a14hz1rrh5zaxfdkiiavapbc5vpzw";
+ type = "gem";
+ };
+ version = "2.1.9";
+ };
}
\ No newline at end of file
diff --git a/pkgs/applications/misc/jekyll/default.nix b/pkgs/applications/misc/jekyll/default.nix
index 34cf0e21db7..4d4dd248bc5 100644
--- a/pkgs/applications/misc/jekyll/default.nix
+++ b/pkgs/applications/misc/jekyll/default.nix
@@ -1,8 +1,27 @@
{ lib, bundlerApp, ruby
+, writeShellScriptBin, makeWrapper
, withOptionalDependencies ? false
}:
-bundlerApp rec {
+let
+ rubyWrapper = writeShellScriptBin "ruby" ''
+ if [[ "$#" -eq 2 ]]; then
+ if [[ "''${1##*/}" == "bundle" && "$2" == "install" ]]; then
+ # See https://github.com/NixOS/nixpkgs/issues/58126 for more details.
+ echo 'Skipping "bundle install" as it fails due to the Nix wrapper.'
+ echo 'Please enter the new directory and run the following commands to serve the page:'
+ echo 'nix-shell -p bundler --run "bundle install --gemfile=Gemfile --path vendor/cache"'
+ echo 'nix-shell -p bundler --run "bundle exec jekyll serve"'
+ exit 0
+ # The following nearly works:
+ unset BUNDLE_FROZEN
+ exec ${ruby}/bin/ruby "$@" --gemfile=Gemfile --path=vendor/cache
+ fi
+ fi
+ # Else: Don't modify the arguments:
+ exec ${ruby}/bin/ruby "$@"
+ '';
+in bundlerApp {
pname = "jekyll";
exes = [ "jekyll" ];
@@ -11,6 +30,12 @@ bundlerApp rec {
then ./full
else ./basic;
+ buildInputs = [ makeWrapper ];
+
+ postBuild = ''
+ wrapProgram $out/bin/jekyll --prefix PATH : ${rubyWrapper}/bin
+ '';
+
meta = with lib; {
description = "A blog-aware, static site generator, written in Ruby";
longDescription = ''
diff --git a/pkgs/applications/misc/jekyll/full/Gemfile b/pkgs/applications/misc/jekyll/full/Gemfile
index aba5e06e376..8e7499bad61 100644
--- a/pkgs/applications/misc/jekyll/full/Gemfile
+++ b/pkgs/applications/misc/jekyll/full/Gemfile
@@ -1,30 +1,27 @@
source "https://rubygems.org"
+
gem "jekyll"
-gem "rouge"
-gem "activesupport", "~> 4.2"
+
gem "jekyll-avatar"
gem "jekyll-mentions"
gem "jekyll-seo-tag"
gem "jekyll-sitemap"
gem "jemoji"
+
# Optional dependencies:
-gem "coderay", "~> 1.1.0"
gem "jekyll-coffeescript"
#gem "jekyll-docs"
gem "jekyll-feed", "~> 0.9"
gem "jekyll-gist"
gem "jekyll-paginate"
gem "jekyll-redirect-from"
-gem "kramdown", "~> 1.14"
+gem "kramdown-syntax-coderay"
gem "mime-types", "~> 3.0"
-gem "rdoc", RUBY_VERSION >= "2.2.2" ? "~> 6.0" : "~> 5.1"
+gem "rdoc", "~> 6.0"
gem "tomlrb", "~> 1.2"
platform :ruby, :mswin, :mingw, :x64_mingw do
- gem "classifier-reborn", "~> 2.2.0"
- gem "liquid-c", "~> 3.0"
- gem "pygments.rb", "~> 1.0"
- gem "rdiscount", "~> 2.0"
- gem "redcarpet", "~> 3.2", ">= 3.2.3"
- gem "yajl-ruby", "~> 1.3.1"
+ gem "classifier-reborn", "~> 2.2"
+ gem "liquid-c", "~> 4.0"
+ gem "yajl-ruby", "~> 1.4"
end
diff --git a/pkgs/applications/misc/jekyll/full/Gemfile.lock b/pkgs/applications/misc/jekyll/full/Gemfile.lock
index f61e985cbf7..6410b885ea4 100644
--- a/pkgs/applications/misc/jekyll/full/Gemfile.lock
+++ b/pkgs/applications/misc/jekyll/full/Gemfile.lock
@@ -1,12 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
- activesupport (4.2.11.1)
- i18n (~> 0.7)
+ activesupport (6.0.0)
+ concurrent-ruby (~> 1.0, >= 1.0.2)
+ i18n (>= 0.7, < 2)
minitest (~> 5.1)
- thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
- addressable (2.5.2)
+ zeitwerk (~> 2.1, >= 2.1.8)
+ addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
classifier-reborn (2.2.0)
fast-stemmer (~> 1.0)
@@ -25,30 +26,32 @@ GEM
faraday (0.15.4)
multipart-post (>= 1.2, < 3)
fast-stemmer (1.0.2)
- ffi (1.10.0)
+ ffi (1.11.1)
forwardable-extended (2.6.0)
- gemoji (3.0.0)
- html-pipeline (2.11.0)
+ gemoji (3.0.1)
+ html-pipeline (2.12.0)
activesupport (>= 2)
nokogiri (>= 1.4)
http_parser.rb (0.6.0)
- i18n (0.9.5)
+ i18n (1.6.0)
concurrent-ruby (~> 1.0)
- jekyll (3.8.5)
+ jekyll (4.0.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
- i18n (~> 0.7)
- jekyll-sass-converter (~> 1.0)
+ i18n (>= 0.9.5, < 2)
+ jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
- kramdown (~> 1.14)
+ kramdown (~> 2.1)
+ kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
- rouge (>= 1.7, < 4)
+ rouge (~> 3.0)
safe_yaml (~> 1.0)
- jekyll-avatar (0.6.0)
- jekyll (~> 3.0)
+ terminal-table (~> 1.8)
+ jekyll-avatar (0.7.0)
+ jekyll (>= 3.0, < 5.0)
jekyll-coffeescript (1.2.2)
coffee-script (~> 2.2)
coffee-script-source (~> 1.12)
@@ -62,21 +65,26 @@ GEM
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.15.0)
jekyll (>= 3.3, < 5.0)
- jekyll-sass-converter (1.5.2)
- sass (~> 3.4)
- jekyll-seo-tag (2.6.0)
- jekyll (~> 3.3)
+ jekyll-sass-converter (2.0.0)
+ sassc (> 2.0.1, < 3.0)
+ jekyll-seo-tag (2.6.1)
+ jekyll (>= 3.3, < 5.0)
jekyll-sitemap (1.3.1)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
- jemoji (0.11.0)
+ jemoji (0.11.1)
gemoji (~> 3.0)
html-pipeline (~> 2.2)
jekyll (>= 3.0, < 5.0)
- kramdown (1.17.0)
+ kramdown (2.1.0)
+ kramdown-parser-gfm (1.1.0)
+ kramdown (~> 2.0)
+ kramdown-syntax-coderay (1.0.1)
+ coderay (~> 1.1)
+ kramdown (~> 2.0)
liquid (4.0.3)
- liquid-c (3.0.0)
+ liquid-c (4.0.0)
liquid (>= 3.0.0)
listen (3.1.5)
rb-fsevent (~> 0.9, >= 0.9.4)
@@ -88,47 +96,41 @@ GEM
mime-types-data (3.2019.0331)
mini_portile2 (2.4.0)
minitest (5.11.3)
- multi_json (1.13.1)
- multipart-post (2.0.0)
- nokogiri (1.10.3)
+ multipart-post (2.1.1)
+ nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
octokit (4.14.0)
sawyer (~> 0.8.0, >= 0.5.3)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
- public_suffix (3.0.3)
- pygments.rb (1.2.1)
- multi_json (>= 1.0.0)
+ public_suffix (3.1.1)
rb-fsevent (0.10.3)
rb-inotify (0.10.0)
ffi (~> 1.0)
- rdiscount (2.2.0.1)
rdoc (6.1.1)
- redcarpet (3.4.0)
- rouge (3.3.0)
+ rouge (3.9.0)
ruby_dep (1.5.0)
safe_yaml (1.0.5)
- sass (3.7.4)
- sass-listen (~> 4.0.0)
- sass-listen (4.0.0)
- rb-fsevent (~> 0.9, >= 0.9.4)
- rb-inotify (~> 0.9, >= 0.9.7)
- sawyer (0.8.1)
- addressable (>= 2.3.5, < 2.6)
- faraday (~> 0.8, < 1.0)
+ sassc (2.1.0)
+ ffi (~> 1.9)
+ sawyer (0.8.2)
+ addressable (>= 2.3.5)
+ faraday (> 0.8, < 2.0)
+ terminal-table (1.8.0)
+ unicode-display_width (~> 1.1, >= 1.1.1)
thread_safe (0.3.6)
tomlrb (1.2.8)
tzinfo (1.2.5)
thread_safe (~> 0.1)
- yajl-ruby (1.3.1)
+ unicode-display_width (1.6.0)
+ yajl-ruby (1.4.1)
+ zeitwerk (2.1.9)
PLATFORMS
ruby
DEPENDENCIES
- activesupport (~> 4.2)
- classifier-reborn (~> 2.2.0)
- coderay (~> 1.1.0)
+ classifier-reborn (~> 2.2)
jekyll
jekyll-avatar
jekyll-coffeescript
@@ -140,16 +142,12 @@ DEPENDENCIES
jekyll-seo-tag
jekyll-sitemap
jemoji
- kramdown (~> 1.14)
- liquid-c (~> 3.0)
+ kramdown-syntax-coderay
+ liquid-c (~> 4.0)
mime-types (~> 3.0)
- pygments.rb (~> 1.0)
- rdiscount (~> 2.0)
rdoc (~> 6.0)
- redcarpet (~> 3.2, >= 3.2.3)
- rouge
tomlrb (~> 1.2)
- yajl-ruby (~> 1.3.1)
+ yajl-ruby (~> 1.4)
BUNDLED WITH
1.17.2
diff --git a/pkgs/applications/misc/jekyll/full/gemset.nix b/pkgs/applications/misc/jekyll/full/gemset.nix
index de3de298fd3..80d67022e7a 100644
--- a/pkgs/applications/misc/jekyll/full/gemset.nix
+++ b/pkgs/applications/misc/jekyll/full/gemset.nix
@@ -1,14 +1,14 @@
{
activesupport = {
- dependencies = ["i18n" "minitest" "thread_safe" "tzinfo"];
+ dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo" "zeitwerk"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1vbq7a805bfvyik2q3kl9s3r418f5qzvysqbz2cwy4hr7m2q4ir6";
+ sha256 = "0b24ch7zmrdb4h6aismahk9785lc4ij30lmdr6ydv19kkljsjq5v";
type = "gem";
};
- version = "4.2.11.1";
+ version = "6.0.0";
};
addressable = {
dependencies = ["public_suffix"];
@@ -16,10 +16,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk";
+ sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
type = "gem";
};
- version = "2.5.2";
+ version = "2.6.0";
};
classifier-reborn = {
dependencies = ["fast-stemmer"];
@@ -164,10 +164,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
+ sha256 = "06mvxpjply8qh4j3fj9wh08kdzwkbnvsiysh0vrhlk5cwxzjmblh";
type = "gem";
};
- version = "1.10.0";
+ version = "1.11.1";
};
forwardable-extended = {
groups = ["default"];
@@ -184,10 +184,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1h85qpn2xbmsn8ssf2fqzlqg181j000m5z4l3g26r7vblncg162d";
+ sha256 = "0vgklpmhdz98xayln5hhqv4ffdyrglzwdixkn5gsk9rj94pkymc0";
type = "gem";
};
- version = "3.0.0";
+ version = "3.0.1";
};
html-pipeline = {
dependencies = ["activesupport" "nokogiri"];
@@ -195,10 +195,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14659ap360gzmrxl8mb28ys6mld7xw3q4q7pqy0l1cn67szdq779";
+ sha256 = "0f7x70p3fda7i5wfjjljjgjgqwx8m12345bs4xpnh7fhnis42fkk";
type = "gem";
};
- version = "2.11.0";
+ version = "2.12.0";
};
"http_parser.rb" = {
groups = ["default"];
@@ -216,21 +216,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "038qvz7kd3cfxk8bvagqhakx68pfbnmghpdkx7573wbf0maqp9a3";
+ sha256 = "1hfxnlyr618s25xpafw9mypa82qppjccbh292c4l3bj36az7f6wl";
type = "gem";
};
- version = "0.9.5";
+ version = "1.6.0";
};
jekyll = {
- dependencies = ["addressable" "colorator" "em-websocket" "i18n" "jekyll-sass-converter" "jekyll-watch" "kramdown" "liquid" "mercenary" "pathutil" "rouge" "safe_yaml"];
+ dependencies = ["addressable" "colorator" "em-websocket" "i18n" "jekyll-sass-converter" "jekyll-watch" "kramdown" "kramdown-parser-gfm" "liquid" "mercenary" "pathutil" "rouge" "safe_yaml" "terminal-table"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1nn2sc308l2mz0yiall4r90l6vy67qp4sy9zapi73a948nd4a5k3";
+ sha256 = "0fpckw5nf4hfr5vhhdlmaxxp5lkdmc1vyqnmijwvy9fmjn4c87aa";
type = "gem";
};
- version = "3.8.5";
+ version = "4.0.0";
};
jekyll-avatar = {
dependencies = ["jekyll"];
@@ -238,10 +238,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "124624r83pmn7sp2idnsph9m1bbdiha5jnza4ypna8w2inpih51p";
+ sha256 = "03bys2pl60vq92skfhlfqr2j68zhfjc86jffpg32f94wzjk8n0wk";
type = "gem";
};
- version = "0.6.0";
+ version = "0.7.0";
};
jekyll-coffeescript = {
dependencies = ["coffee-script" "coffee-script-source"];
@@ -309,15 +309,15 @@
version = "0.15.0";
};
jekyll-sass-converter = {
- dependencies = ["sass"];
+ dependencies = ["sassc"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "008ikh5fk0n6ri54mylcl8jn0mq8p2nfyfqif2q3pp0lwilkcxsk";
+ sha256 = "0fbc25p8vqyzmg8wpmgacqjkk3jhrr6kz9y45m43ygck74h2cad2";
type = "gem";
};
- version = "1.5.2";
+ version = "2.0.0";
};
jekyll-seo-tag = {
dependencies = ["jekyll"];
@@ -325,10 +325,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "104v01vh7frgyra3s32wap1ag9fxcm8pgb8v957khzskqy2jh7am";
+ sha256 = "1p9fl2r4ni10lbx143zp41caldjs4hg27az5wg42sbwzb7s6z66m";
type = "gem";
};
- version = "2.6.0";
+ version = "2.6.1";
};
jekyll-sitemap = {
dependencies = ["jekyll"];
@@ -358,20 +358,42 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x463l6a8ikaf6pzap0dgh4gfvlkx56g6kdasj9jfb1ld3fvl99k";
+ sha256 = "1yd77r5jvh9chf5qcp6z63gg40yp5n1sr7nv1hlmbq3xjzlhs6h6";
type = "gem";
};
- version = "0.11.0";
+ version = "0.11.1";
};
kramdown = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq";
+ sha256 = "1dl840bvx8d9nq6lg3mxqyvbiqnr6lk3jfsm6r8zhz7p5srmd688";
type = "gem";
};
- version = "1.17.0";
+ version = "2.1.0";
+ };
+ kramdown-parser-gfm = {
+ dependencies = ["kramdown"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0a8pb3v951f4x7h968rqfsa19c8arz21zw1vaj42jza22rap8fgv";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ kramdown-syntax-coderay = {
+ dependencies = ["coderay" "kramdown"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "03vpfpmxcdbqyh6kxrjf5xa9qgvwqj0cfv2khz5h32fp5f5dmrda";
+ type = "gem";
+ };
+ version = "1.0.1";
};
liquid = {
groups = ["default"];
@@ -413,10 +435,10 @@
}];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0a5n7q314ma32y7v9a1g6ps60b14zfn2q4nip4j5aknblz51v7gi";
+ sha256 = "0ibcpajsgq530xrz3dk578mfvivrlfd624j6ifz6ms4w69j8jqj6";
type = "gem";
};
- version = "3.0.0";
+ version = "4.0.0";
};
listen = {
dependencies = ["rb-fsevent" "rb-inotify" "ruby_dep"];
@@ -480,37 +502,15 @@
};
version = "5.11.3";
};
- multi_json = {
- groups = ["default"];
- platforms = [{
- engine = "maglev";
- } {
- engine = "mingw";
- } {
- engine = "mingw";
- } {
- engine = "mswin";
- } {
- engine = "rbx";
- } {
- engine = "ruby";
- }];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1rl0qy4inf1mp8mybfk56dfga0mvx97zwpmq5xmiwl5r770171nv";
- type = "gem";
- };
- version = "1.13.1";
- };
multipart-post = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "09k0b3cybqilk1gwrwwain95rdypixb2q9w65gd44gfzsd84xi1x";
+ sha256 = "1zgw9zlwh2a6i1yvhhc4a84ry1hv824d6g2iw2chs3k5aylpmpfj";
type = "gem";
};
- version = "2.0.0";
+ version = "2.1.1";
};
nokogiri = {
dependencies = ["mini_portile2"];
@@ -518,10 +518,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
+ sha256 = "0nmdrqqz1gs0fwkgzxjl4wr554gr8dc1fkrqjc2jpsvwgm41rygv";
type = "gem";
};
- version = "1.10.3";
+ version = "1.10.4";
};
octokit = {
dependencies = ["sawyer"];
@@ -550,33 +550,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
+ sha256 = "0g9ds2ffzljl6jjmkjffwxc1z6lh5nkqqmhhkxjk71q5ggv0rkpm";
type = "gem";
};
- version = "3.0.3";
- };
- "pygments.rb" = {
- dependencies = ["multi_json"];
- groups = ["default"];
- platforms = [{
- engine = "maglev";
- } {
- engine = "mingw";
- } {
- engine = "mingw";
- } {
- engine = "mswin";
- } {
- engine = "rbx";
- } {
- engine = "ruby";
- }];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0lbvnwvz770ambm4d6lxgc2097rydn5rcc5d6986bnkzyxfqqjnv";
- type = "gem";
- };
- version = "1.2.1";
+ version = "3.1.1";
};
rb-fsevent = {
groups = ["default"];
@@ -599,28 +576,6 @@
};
version = "0.10.0";
};
- rdiscount = {
- groups = ["default"];
- platforms = [{
- engine = "maglev";
- } {
- engine = "mingw";
- } {
- engine = "mingw";
- } {
- engine = "mswin";
- } {
- engine = "rbx";
- } {
- engine = "ruby";
- }];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1arvk3k06prxasq1djbj065ixar4zl171340g7wr1ww4gj9makx3";
- type = "gem";
- };
- version = "2.2.0.1";
- };
rdoc = {
groups = ["default"];
platforms = [];
@@ -631,37 +586,15 @@
};
version = "6.1.1";
};
- redcarpet = {
- groups = ["default"];
- platforms = [{
- engine = "maglev";
- } {
- engine = "mingw";
- } {
- engine = "mingw";
- } {
- engine = "mswin";
- } {
- engine = "rbx";
- } {
- engine = "ruby";
- }];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0h9qz2hik4s9knpmbwrzb3jcp3vc5vygp9ya8lcpl7f1l9khmcd7";
- type = "gem";
- };
- version = "3.4.0";
- };
rouge = {
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1digsi2s8wyzx8vsqcxasw205lg6s7izx8jypl8rrpjwshmv83ql";
+ sha256 = "1cn6fin40ngrasqi6qis85mqwx6phnbkzhkkd93acm9vrcf3rkl3";
type = "gem";
};
- version = "3.3.0";
+ version = "3.9.0";
};
ruby_dep = {
groups = ["default"];
@@ -683,27 +616,16 @@
};
version = "1.0.5";
};
- sass = {
- dependencies = ["sass-listen"];
+ sassc = {
+ dependencies = ["ffi"];
groups = ["default"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0p95lhs0jza5l7hqci1isflxakz83xkj97lkvxl919is0lwhv2w0";
+ sha256 = "06kwfqvpwf33cvkvbv1l9g5ln3q721hz5d3dyasq0k9d28x9w4fs";
type = "gem";
};
- version = "3.7.4";
- };
- sass-listen = {
- dependencies = ["rb-fsevent" "rb-inotify"];
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0xw3q46cmahkgyldid5hwyiwacp590zj2vmswlll68ryvmvcp7df";
- type = "gem";
- };
- version = "4.0.0";
+ version = "2.1.0";
};
sawyer = {
dependencies = ["addressable" "faraday"];
@@ -711,10 +633,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0sv1463r7bqzvx4drqdmd36m7rrv6sf1v3c6vswpnq3k6vdw2dvd";
+ sha256 = "0yrdchs3psh583rjapkv33mljdivggqn99wkydkjdckcjn43j3cz";
type = "gem";
};
- version = "0.8.1";
+ version = "0.8.2";
+ };
+ terminal-table = {
+ dependencies = ["unicode-display_width"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1512cngw35hsmhvw4c05rscihc59mnj09m249sm9p3pik831ydqk";
+ type = "gem";
+ };
+ version = "1.8.0";
};
thread_safe = {
groups = ["default"];
@@ -747,6 +680,16 @@
};
version = "1.2.5";
};
+ unicode-display_width = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "08kfiniak1pvg3gn5k6snpigzvhvhyg7slmm0s2qx5zkj62c1z2w";
+ type = "gem";
+ };
+ version = "1.6.0";
+ };
yajl-ruby = {
groups = ["default"];
platforms = [{
@@ -764,9 +707,19 @@
}];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1rn4kc9fha990yd252wglh6rcyh35cavm1vpyfj8krlcwph09g30";
+ sha256 = "16v0w5749qjp13xhjgr2gcsvjv6mf35br7iqwycix1n2h7kfcckf";
type = "gem";
};
- version = "1.3.1";
+ version = "1.4.1";
+ };
+ zeitwerk = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0gaiqg207j99cvqpgmn4ps6a14hz1rrh5zaxfdkiiavapbc5vpzw";
+ type = "gem";
+ };
+ version = "2.1.9";
};
}
\ No newline at end of file
diff --git a/pkgs/applications/misc/jgmenu/default.nix b/pkgs/applications/misc/jgmenu/default.nix
index b868808ec3d..879f344a5af 100644
--- a/pkgs/applications/misc/jgmenu/default.nix
+++ b/pkgs/applications/misc/jgmenu/default.nix
@@ -1,18 +1,19 @@
-{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, pango, librsvg, libxml2, menu-cache, xorg }:
+{ stdenv, fetchFromGitHub, pkgconfig, python3Packages, pango, librsvg, libxml2, menu-cache, xorg, makeWrapper }:
stdenv.mkDerivation rec {
- name = "jgmenu-${version}";
- version = "1.1";
+ pname = "jgmenu";
+ version = "3.3";
src = fetchFromGitHub {
owner = "johanmalm";
- repo = "jgmenu";
+ repo = pname;
rev = "v${version}";
- sha256 = "0hnxzy5mm5z6r9gaimfsf7kbpr23khck2fhh3j8bk2lkp53420fz";
+ sha256 = "02qpvlmcis7217hkqilhszza4g1smb4byx4gihgp5207aj8qhz0l";
};
nativeBuildInputs = [
pkgconfig
+ makeWrapper
python3Packages.wrapPython
];
@@ -22,12 +23,17 @@ stdenv.mkDerivation rec {
libxml2
menu-cache
xorg.libXinerama
+ xorg.libXrandr
+ python3Packages.python
];
- makeFlags = [ "prefix=$(out)" ];
+ makeFlags = [ "prefix=${placeholder "out"}" ];
postFixup = ''
wrapPythonProgramsIn "$out/lib/jgmenu"
+ for f in $out/bin/jgmenu{,_run}; do
+ wrapProgram $f --prefix PATH : $out/bin
+ done
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/joplin-desktop/default.nix b/pkgs/applications/misc/joplin-desktop/default.nix
index 57f564fdc66..ff0332e1e5f 100644
--- a/pkgs/applications/misc/joplin-desktop/default.nix
+++ b/pkgs/applications/misc/joplin-desktop/default.nix
@@ -2,12 +2,12 @@
let
pname = "joplin-desktop";
- version = "1.0.143";
+ version = "1.0.167";
in appimageTools.wrapType2 rec {
name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/laurent22/joplin/releases/download/v${version}/Joplin-${version}-x86_64.AppImage";
- sha256 = "1waglwxpr18a07m7ix9al6ac4hrdqzzqmy1qgp45b922nbkw9g10";
+ sha256 = "062f2av60490ffrml0q8zv68yir6zaqif0g3d32c985gcvmgn9lw";
};
diff --git a/pkgs/applications/misc/josm/default.nix b/pkgs/applications/misc/josm/default.nix
index bfc4ac79615..4b70530987f 100644
--- a/pkgs/applications/misc/josm/default.nix
+++ b/pkgs/applications/misc/josm/default.nix
@@ -1,12 +1,12 @@
{ fetchurl, stdenv, makeDesktopItem, makeWrapper, unzip, jdk11, libXxf86vm }:
stdenv.mkDerivation rec {
- name = "josm-${version}";
- version = "15031";
+ pname = "josm";
+ version = "15322";
src = fetchurl {
url = "https://josm.openstreetmap.de/download/josm-snapshot-${version}.jar";
- sha256 = "19qw1s5v0dha329a7rfnhby0rq5d109b3f1ln2w1dfkmirbl75ir";
+ sha256 = "1i6cxs6rvqjwh7yfji5701xdzpnaxcv97gsd692fjrwasnsx1f1i";
};
buildInputs = [ jdk11 makeWrapper ];
diff --git a/pkgs/applications/misc/jp2a/default.nix b/pkgs/applications/misc/jp2a/default.nix
index 138ee397d3f..2a9e162e7ea 100644
--- a/pkgs/applications/misc/jp2a/default.nix
+++ b/pkgs/applications/misc/jp2a/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.0.7";
- name = "jp2a-${version}";
+ pname = "jp2a";
src = fetchFromGitHub {
owner = "cslarsen";
diff --git a/pkgs/applications/misc/k2pdfopt/default.nix b/pkgs/applications/misc/k2pdfopt/default.nix
index bf29e05db1b..a2eba8e08c2 100644
--- a/pkgs/applications/misc/k2pdfopt/default.nix
+++ b/pkgs/applications/misc/k2pdfopt/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchzip, fetchurl, fetchpatch, cmake, pkgconfig
-, zlib, libpng, openjpeg
+, zlib, libpng
, enableGSL ? true, gsl
, enableGhostScript ? true, ghostscript
, enableMuPDF ? true, mupdf
@@ -12,7 +12,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "k2pdfopt-${version}";
+ pname = "k2pdfopt";
version = "2.51a";
src = (fetchzip {
@@ -30,73 +30,25 @@ stdenv.mkDerivation rec {
cp -r ${v251a_src}/* $sourceRoot
'';
- patches = [ ./k2pdfopt.patch ];
+ patches = [ ./k2pdfopt.patch ./k2pdfopt-mupdf-1.16.1.patch ];
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs =
let
+ # The patches below were constructed by taking the files from k2pdfopt in
+ # the {mupdf,leptonica,tesseract}_mod/ directories, replacing the
+ # corresponding files in the respective source trees, resolving any errors
+ # with more recent versions of these depencencies, and running diff.
mupdf_modded = mupdf.overrideAttrs (attrs: {
- # Excluded the pdf-*.c files, since they mostly just broke the #includes
- prePatch = ''
- cp ${src}/mupdf_mod/{font,stext-device,string}.c source/fitz/
- cp ${src}/mupdf_mod/font-win32.c source/pdf/
- '';
+ patches = attrs.patches ++ [ ./mupdf.patch ]; # Last verified with mupdf 1.16.1
});
-
leptonica_modded = leptonica.overrideAttrs (attrs: {
- name = "leptonica-1.74.4";
- # Modified source files apply to this particular version of leptonica
- version = "1.74.4";
-
- src = fetchurl {
- url = "http://www.leptonica.org/source/leptonica-1.74.4.tar.gz";
- sha256 = "0fw39amgyv8v6nc7x8a4c7i37dm04i6c5zn62d24bgqnlhk59hr9";
- };
-
- prePatch = ''
- cp ${src}/leptonica_mod/{allheaders.h,dewarp2.c,leptwin.c} src/
- '';
- patches = [
- # stripped down copy of upstream commit b88c821f8d347bce0aea86d606c710303919f3d2
- ./leptonica-CVE-2018-3836.patch
- (fetchpatch {
- # CVE-2018-7186
- url = "https://github.com/DanBloomberg/leptonica/commit/"
- + "ee301cb2029db8a6289c5295daa42bba7715e99a.patch";
- sha256 = "0cgb7mvz2px1rg5i80wk1wxxjvzjga617d8q6j7qygkp7jm6495d";
- })
- (fetchpatch {
- # CVE-2018-7247
- url = "https://github.com/DanBloomberg/leptonica/commit/"
- + "c1079bb8e77cdd426759e466729917ca37a3ed9f.patch";
- sha256 = "1z4iac5gwqggh7aa8cvyp6nl9fwd1v7wif26caxc9y5qr3jj34qf";
- })
- (fetchpatch {
- # CVE-2018-7440
- url = "https://github.com/DanBloomberg/leptonica/commit/"
- + "49ecb6c2dfd6ed5078c62f4a8eeff03e3beced3b.patch";
- sha256 = "1hjmva98iaw9xj7prg7aimykyayikcwnk4hk0380007hqb35lqmy";
- })
- ];
+ patches = [ ./leptonica.patch ]; # Last verified with leptonica 1.78.0
});
tesseract_modded = tesseract4.override {
tesseractBase = tesseract4.tesseractBase.overrideAttrs (_: {
- prePatch = ''
- cp ${src}/tesseract_mod/baseapi.{h,cpp} src/api/
- cp ${src}/tesseract_mod/ccutil.{h,cpp} src/ccutil/
- cp ${src}/tesseract_mod/genericvector.h src/ccutil/
- cp ${src}/tesseract_mod/input.cpp src/lstm/
- cp ${src}/tesseract_mod/lstmrecognizer.cpp src/lstm/
- cp ${src}/tesseract_mod/mainblk.cpp src/ccutil/
- cp ${src}/tesseract_mod/params.cpp src/ccutil/
- cp ${src}/tesseract_mod/serialis.{h,cpp} src/ccutil/
- cp ${src}/tesseract_mod/tesscapi.cpp src/api/
- cp ${src}/tesseract_mod/tessdatamanager.cpp src/ccstruct/
- cp ${src}/tesseract_mod/tessedit.cpp src/ccmain/
- cp ${src}/include_mod/{tesseract.h,leptonica.h} src/api/
- '';
- patches = [ ./tesseract.patch ];
+ patches = [ ./tesseract.patch ]; # Last verified with tesseract 1.4
});
};
in
diff --git a/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch b/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch
new file mode 100644
index 00000000000..3a9eca30e75
--- /dev/null
+++ b/pkgs/applications/misc/k2pdfopt/k2pdfopt-mupdf-1.16.1.patch
@@ -0,0 +1,151 @@
+diff --git a/willuslib/wmupdf.c b/willuslib/wmupdf.c
+index 81627ef..f14a96c 100644
+--- a/willuslib/wmupdf.c
++++ b/willuslib/wmupdf.c
+@@ -189,8 +189,6 @@ int wmupdf_remake_pdf(char *infile,char *outfile,WPDFPAGEINFO *pageinfo,int use_
+ pdf_write_opts.do_compress=1;
+ pdf_write_opts.do_linear=0;
+ pdf_write_opts.do_garbage=1; /* 2 and 3 don't work for this. */
+- pdf_write_opts.continue_on_error=0;
+- pdf_write_opts.errors=NULL;
+ write_failed=0;
+ wpdfpageinfo_sort(pageinfo);
+ xref=NULL;
+@@ -1687,8 +1685,8 @@ WPDFOUTLINE *wpdfoutline_read_from_pdf_file(char *filename)
+ /* Sumatra version of MuPDF v1.4 -- use locally installed fonts */
+ pdf_install_load_system_font_funcs(ctx);
+ fz_try(ctx) { doc=fz_open_document(ctx,filename); }
+- fz_catch(ctx)
+- {
++ fz_catch(ctx)
++ {
+ fz_drop_context(ctx);
+ return(NULL);
+ }
+@@ -1890,5 +1888,5 @@ static pdf_obj *pdf_new_string_utf8(fz_context *ctx,char *string)
+ willus_mem_free((double **)&utfbuf,funcname);
+ return(pdfobj);
+ }
+-
++
+ #endif /* HAVE_MUPDF_LIB */
+diff --git a/willuslib/wmupdfinfo.c b/willuslib/wmupdfinfo.c
+index 5c7f38c..9b9e6fd 100644
+--- a/willuslib/wmupdfinfo.c
++++ b/willuslib/wmupdfinfo.c
+@@ -237,23 +237,22 @@ static void showglobalinfo(fz_context *ctx, globals *glo,char *filename)
+ pdf_obj *robj;
+
+ robj=pdf_resolve_indirect(ctx,obj);
+- n=pdf_sprint_obj(ctx,NULL,0,robj,1);
+- buf=malloc(n+2);
++ buf=pdf_sprint_obj(ctx,NULL,0,&n,robj,1,0);
+ if (buf==NULL)
+ {
+ fz_write_printf(ctx,out,"Info object (%d %d R):\n",pdf_to_num(ctx,obj),pdf_to_gen(ctx,obj));
+- pdf_print_obj(ctx,out,robj,1);
++ pdf_print_obj(ctx,out,robj,1,0);
+ }
+ else
+ {
+- pdf_sprint_obj(ctx,buf,n+2,robj,1);
++ pdf_sprint_obj(ctx,buf,n+2,&n,robj,1,0);
+ display_pdf_field(ctx,out,buf,"Title","TITLE");
+ display_pdf_field(ctx,out,buf,"CreationDate","CREATED");
+ display_pdf_field(ctx,out,buf,"ModDate","LAST MODIFIED");
+ display_pdf_field(ctx,out,buf,"Producer","PDF PRODUCER");
+ display_pdf_field(ctx,out,buf,"Creator","CREATOR");
+ display_file_size(ctx,out,filename);
+- free(buf);
++ fz_free(ctx,buf);
+ }
+ }
+ if (glo->dims==1)
+@@ -275,7 +274,7 @@ static void showglobalinfo(fz_context *ctx, globals *glo,char *filename)
+ if (obj)
+ {
+ fz_write_printf(ctx,out, "\nEncryption object (%d %d R):\n", pdf_to_num(ctx,obj), pdf_to_gen(ctx,obj));
+- pdf_print_obj(ctx,out, pdf_resolve_indirect(ctx,obj), 1);
++ pdf_print_obj(ctx,out, pdf_resolve_indirect(ctx,obj), 1, 0);
+ }
+ }
+
+@@ -396,7 +395,7 @@ gatherdimensions(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_
+ if (j < glo->dims)
+ return;
+
+- glo->dim = fz_resize_array(ctx, glo->dim, glo->dims+1, sizeof(struct info));
++ glo->dim = fz_realloc_array(ctx, glo->dim, glo->dims+1, struct info);
+ glo->dims++;
+
+ glo->dim[glo->dims - 1].page = page;
+@@ -441,7 +440,7 @@ gatherfonts(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj *
+ if (k < glo->fonts)
+ continue;
+
+- glo->font = fz_resize_array(ctx, glo->font, glo->fonts+1, sizeof(struct info));
++ glo->font = fz_realloc_array(ctx, glo->font, glo->fonts+1, struct info);
+ glo->fonts++;
+
+ glo->font[glo->fonts - 1].page = page;
+@@ -510,7 +509,7 @@ gatherimages(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj
+ if (k < glo->images)
+ continue;
+
+- glo->image = fz_resize_array(ctx, glo->image, glo->images+1, sizeof(struct info));
++ glo->image = fz_realloc_array(ctx, glo->image, glo->images+1, struct info);
+ glo->images++;
+
+ glo->image[glo->images - 1].page = page;
+@@ -568,7 +567,7 @@ gatherforms(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj *
+ if (k < glo->forms)
+ continue;
+
+- glo->form = fz_resize_array(ctx, glo->form, glo->forms+1, sizeof(struct info));
++ glo->form = fz_realloc_array(ctx, glo->form, glo->forms+1, struct info);
+ glo->forms++;
+
+ glo->form[glo->forms - 1].page = page;
+@@ -613,7 +612,7 @@ gatherpsobjs(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_obj
+ if (k < glo->psobjs)
+ continue;
+
+- glo->psobj = fz_resize_array(ctx, glo->psobj, glo->psobjs+1, sizeof(struct info));
++ glo->psobj = fz_realloc_array(ctx, glo->psobj, glo->psobjs+1, struct info);
+ glo->psobjs++;
+
+ glo->psobj[glo->psobjs - 1].page = page;
+@@ -656,7 +655,7 @@ gathershadings(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_ob
+ if (k < glo->shadings)
+ continue;
+
+- glo->shading = fz_resize_array(ctx, glo->shading, glo->shadings+1, sizeof(struct info));
++ glo->shading = fz_realloc_array(ctx, glo->shading, glo->shadings+1, struct info);
+ glo->shadings++;
+
+ glo->shading[glo->shadings - 1].page = page;
+@@ -724,7 +723,7 @@ gatherpatterns(fz_context *ctx, globals *glo, int page, pdf_obj *pageref, pdf_ob
+ if (k < glo->patterns)
+ continue;
+
+- glo->pattern = fz_resize_array(ctx, glo->pattern, glo->patterns+1, sizeof(struct info));
++ glo->pattern = fz_realloc_array(ctx, glo->pattern, glo->patterns+1, struct info);
+ glo->patterns++;
+
+ glo->pattern[glo->patterns - 1].page = page;
+@@ -1216,7 +1215,7 @@ void wmupdfinfo_get(char *filename,int *pagelist,char **buf)
+ if (fout==NULL)
+ return;
+ */
+-
++
+ ctx = fz_new_context(NULL, NULL, FZ_STORE_UNLIMITED);
+ if (!ctx)
+ {
+@@ -1307,5 +1306,5 @@ static void date_convert(char *dst,char *src)
+ else if (src[i]!='\0')
+ sprintf(&dst[strlen(dst)]," %s",&src[i]);
+ }
+-
++
+ #endif /* HAVE_MUPDF_LIB */
diff --git a/pkgs/applications/misc/k2pdfopt/leptonica-CVE-2018-3836.patch b/pkgs/applications/misc/k2pdfopt/leptonica-CVE-2018-3836.patch
deleted file mode 100644
index f1b4170fbaa..00000000000
--- a/pkgs/applications/misc/k2pdfopt/leptonica-CVE-2018-3836.patch
+++ /dev/null
@@ -1,95 +0,0 @@
---- a/src/allheaders.h
-+++ b/src/allheaders.h
-@@ -2600,6 +2600,7 @@
- LEPT_DLL extern char * stringReverse ( const char *src );
- LEPT_DLL extern char * strtokSafe ( char *cstr, const char *seps, char **psaveptr );
- LEPT_DLL extern l_int32 stringSplitOnToken ( char *cstr, const char *seps, char **phead, char **ptail );
-+LEPT_DLL extern l_int32 stringCheckForChars ( const char *src, const char *chars, l_int32 *pfound );
- LEPT_DLL extern char * stringRemoveChars ( const char *src, const char *remchars );
- LEPT_DLL extern l_int32 stringFindSubstr ( const char *src, const char *sub, l_int32 *ploc );
- LEPT_DLL extern char * stringReplaceSubstr ( const char *src, const char *sub1, const char *sub2, l_int32 *pfound, l_int32 *ploc );
---- a/src/gplot.c
-+++ b/src/gplot.c
-@@ -141,9 +141,10 @@
- const char *xlabel,
- const char *ylabel)
- {
--char *newroot;
--char buf[L_BUF_SIZE];
--GPLOT *gplot;
-+char *newroot;
-+char buf[L_BUF_SIZE];
-+l_int32 badchar;
-+GPLOT *gplot;
-
- PROCNAME("gplotCreate");
-
-@@ -152,6 +153,9 @@
- if (outformat != GPLOT_PNG && outformat != GPLOT_PS &&
- outformat != GPLOT_EPS && outformat != GPLOT_LATEX)
- return (GPLOT *)ERROR_PTR("outformat invalid", procName, NULL);
-+ stringCheckForChars(rootname, "`;&|><\"?*", &badchar);
-+ if (badchar) /* danger of command injection */
-+ return (GPLOT *)ERROR_PTR("invalid rootname", procName, NULL);
-
- if ((gplot = (GPLOT *)LEPT_CALLOC(1, sizeof(GPLOT))) == NULL)
- return (GPLOT *)ERROR_PTR("gplot not made", procName, NULL);
---- a/src/utils2.c
-+++ b/src/utils2.c
-@@ -42,6 +42,7 @@
- * l_int32 stringSplitOnToken()
- *
- * Find and replace string and array procs
-+ * l_int32 stringCheckForChars()
- * char *stringRemoveChars()
- * l_int32 stringFindSubstr()
- * char *stringReplaceSubstr()
-@@ -701,6 +702,48 @@
- /*--------------------------------------------------------------------*
- * Find and replace procs *
- *--------------------------------------------------------------------*/
-+/*!
-+ * \brief stringCheckForChars()
-+ *
-+ * \param[in] src input string; can be of zero length
-+ * \param[in] chars string of chars to be searched for in %src
-+ * \param[out] pfound 1 if any characters are found; 0 otherwise
-+ * \return 0 if OK, 1 on error
-+ *
-+ *
-+ * Notes:
-+ * (1) This can be used to sanitize an operation by checking for
-+ * special characters that don't belong in a string.
-+ *
-+ */
-+l_int32
-+stringCheckForChars(const char *src,
-+ const char *chars,
-+ l_int32 *pfound)
-+{
-+char ch;
-+l_int32 i, n;
-+
-+ PROCNAME("stringCheckForChars");
-+
-+ if (!pfound)
-+ return ERROR_INT("&found not defined", procName, 1);
-+ *pfound = FALSE;
-+ if (!src || !chars)
-+ return ERROR_INT("src and chars not both defined", procName, 1);
-+
-+ n = strlen(src);
-+ for (i = 0; i < n; i++) {
-+ ch = src[i];
-+ if (strchr(chars, ch)) {
-+ *pfound = TRUE;
-+ break;
-+ }
-+ }
-+ return 0;
-+}
-+
-+
- /*!
- * \brief stringRemoveChars()
- *
diff --git a/pkgs/applications/misc/k2pdfopt/leptonica.patch b/pkgs/applications/misc/k2pdfopt/leptonica.patch
new file mode 100644
index 00000000000..dfab99fd013
--- /dev/null
+++ b/pkgs/applications/misc/k2pdfopt/leptonica.patch
@@ -0,0 +1,254 @@
+From 8c11a20925686855023df90ed477957c7d7fe91e Mon Sep 17 00:00:00 2001
+From: Daniel Fullmer
+Date: Fri, 13 Sep 2019 15:54:21 -0400
+Subject: [PATCH] Willus mod for k2pdfopt
+
+---
+ src/allheaders.h | 4 ++
+ src/dewarp2.c | 106 ++++++++++++++++++++++++++++++++++++++++++-----
+ src/leptwin.c | 6 ++-
+ 3 files changed, 104 insertions(+), 12 deletions(-)
+
+diff --git a/src/allheaders.h b/src/allheaders.h
+index e68eff1..b3cc729 100644
+--- a/src/allheaders.h
++++ b/src/allheaders.h
+@@ -669,6 +669,10 @@ LEPT_DLL extern L_DEWARPA * dewarpaReadMem ( const l_uint8 *data, size_t size );
+ LEPT_DLL extern l_ok dewarpaWrite ( const char *filename, L_DEWARPA *dewa );
+ LEPT_DLL extern l_ok dewarpaWriteStream ( FILE *fp, L_DEWARPA *dewa );
+ LEPT_DLL extern l_ok dewarpaWriteMem ( l_uint8 **pdata, size_t *psize, L_DEWARPA *dewa );
++/* WILLUS MOD */
++ LEPT_DLL extern l_int32 dewarpBuildPageModel_ex ( L_DEWARP *dew, const char *debugfile,l_int32 fit_order );
++ LEPT_DLL extern l_int32 dewarpFindVertDisparity_ex ( L_DEWARP *dew, PTAA *ptaa, l_int32 rotflag,l_int32 fit_order );
++ LEPT_DLL extern l_int32 dewarpBuildLineModel_ex ( L_DEWARP *dew, l_int32 opensize, const char *debugfile,l_int32 fit_order );
+ LEPT_DLL extern l_ok dewarpBuildPageModel ( L_DEWARP *dew, const char *debugfile );
+ LEPT_DLL extern l_ok dewarpFindVertDisparity ( L_DEWARP *dew, PTAA *ptaa, l_int32 rotflag );
+ LEPT_DLL extern l_ok dewarpFindHorizDisparity ( L_DEWARP *dew, PTAA *ptaa );
+diff --git a/src/dewarp2.c b/src/dewarp2.c
+index 220eec1..2e29500 100644
+--- a/src/dewarp2.c
++++ b/src/dewarp2.c
+@@ -144,9 +144,17 @@ static const l_float32 L_ALLOWED_W_FRACT = 0.05; /* no bigger */
+ * longest textlines.
+ *
+ */
++/* WILLUS MOD */
+ l_ok
+-dewarpBuildPageModel(L_DEWARP *dew,
+- const char *debugfile)
++dewarpBuildPageModel(L_DEWARP *dew,const char *debugfile)
++{
++return(dewarpBuildPageModel_ex(dew,debugfile,2));
++}
++
++l_ok
++dewarpBuildPageModel_ex(L_DEWARP *dew,
++ const char *debugfile,
++ l_int32 fit_order)
+ {
+ l_int32 linecount, topline, botline, ret;
+ PIX *pixs, *pix1, *pix2, *pix3;
+@@ -225,7 +233,7 @@ PTAA *ptaa1, *ptaa2;
+ /* Get the sampled vertical disparity from the textline centers.
+ * The disparity array will push pixels vertically so that each
+ * textline is flat and centered at the y-position of the mid-point. */
+- if (dewarpFindVertDisparity(dew, ptaa2, 0) != 0) {
++ if (dewarpFindVertDisparity_ex(dew, ptaa2, 0, fit_order) != 0) {
+ L_WARNING("vertical disparity not built\n", procName);
+ ptaaDestroy(&ptaa2);
+ return 1;
+@@ -290,13 +298,24 @@ PTAA *ptaa1, *ptaa2;
+ * a pdf. Non-pix debug output goes to /tmp.
+ *
+ */
++/* WILLUS MOD */
+ l_ok
+ dewarpFindVertDisparity(L_DEWARP *dew,
+ PTAA *ptaa,
+ l_int32 rotflag)
+ {
++return(dewarpFindVertDisparity_ex(dew,ptaa,rotflag,2));
++}
++/* WILLUS MOD -- add cubic and quartic fits and ..._ex functions */
++l_int32
++dewarpFindVertDisparity_ex(L_DEWARP *dew,
++ PTAA *ptaa,
++ l_int32 rotflag,
++ l_int32 fit_order)
++{
+ l_int32 i, j, nlines, npts, nx, ny, sampling;
+-l_float32 c0, c1, c2, x, y, midy, val, medval, meddev, minval, maxval;
++/* WILLUS MOD */
++l_float32 c0, c1, c2, c3, c4, x, y, midy, val, medval, meddev, minval, maxval;
+ l_float32 *famidys;
+ NUMA *nax, *nafit, *nacurve0, *nacurve1, *nacurves;
+ NUMA *namidy, *namidys, *namidysi;
+@@ -304,11 +323,22 @@ PIX *pix1, *pix2, *pixcirc, *pixdb;
+ PTA *pta, *ptad, *ptacirc;
+ PTAA *ptaa0, *ptaa1, *ptaa2, *ptaa3, *ptaa4, *ptaa5, *ptaat;
+ FPIX *fpix;
++/* WILLUS MOD */
++l_int32 fit_order1,fit_order2;
+
+ PROCNAME("dewarpFindVertDisparity");
+
+ if (!dew)
+ return ERROR_INT("dew not defined", procName, 1);
++/* WILLUS MOD */
++ if (fit_order < 10)
++ fit_order1 = fit_order2 = fit_order;
++ else
++ {
++ fit_order1=fit_order % 10;
++ fit_order2=fit_order / 10;
++ fit_order2=fit_order2 % 10;
++ }
+ dew->vsuccess = 0;
+ if (!ptaa)
+ return ERROR_INT("ptaa not defined", procName, 1);
+@@ -331,12 +361,32 @@ FPIX *fpix;
+ pixdb = (rotflag) ? pixRotateOrth(dew->pixs, 1) : pixClone(dew->pixs);
+ for (i = 0; i < nlines; i++) { /* for each line */
+ pta = ptaaGetPta(ptaa, i, L_CLONE);
+- ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
+- numaAddNumber(nacurve0, c2);
++/* WILLUS MOD */
++if (fit_order1>3)
++ {
++ ptaGetQuarticLSF(pta, &c4, &c3, &c2, &c1, &c0, NULL);
++ numaAddNumber(nacurve0, c4);
++ }
++else if (fit_order1==3)
++ {
++ ptaGetCubicLSF(pta, &c3, &c2, &c1, &c0, NULL);
++ numaAddNumber(nacurve0, c3);
++ }
++else
++ {
++ ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
++ numaAddNumber(nacurve0, c2);
++ }
+ ptad = ptaCreate(nx);
+ for (j = 0; j < nx; j++) { /* uniformly sampled in x */
+ x = j * sampling;
+- applyQuadraticFit(c2, c1, c0, x, &y);
++/* WILLUS MOD */
++if (fit_order1>3)
++ applyQuarticFit(c4, c3, c2, c1, c0, x, &y);
++else if (fit_order1==3)
++ applyCubicFit(c3, c2, c1, c0, x, &y);
++else
++ applyQuadraticFit(c2, c1, c0, x, &y);
+ ptaAddPt(ptad, x, y);
+ }
+ ptaaAddPta(ptaa0, ptad, L_INSERT);
+@@ -350,7 +400,13 @@ FPIX *fpix;
+ for (i = 0; i < nlines; i++) {
+ pta = ptaaGetPta(ptaa, i, L_CLONE);
+ ptaGetArrays(pta, &nax, NULL);
+- ptaGetQuadraticLSF(pta, NULL, NULL, NULL, &nafit);
++/* WILLUS MOD */
++if (fit_order1>3)
++ptaGetQuarticLSF(pta, NULL, NULL, NULL, NULL, NULL, &nafit);
++else if (fit_order1==3)
++ptaGetCubicLSF(pta, NULL, NULL, NULL, NULL, &nafit);
++else
++ptaGetQuadraticLSF(pta, NULL, NULL, NULL, &nafit);
+ ptad = ptaCreateFromNuma(nax, nafit);
+ ptaaAddPta(ptaat, ptad, L_INSERT);
+ ptaDestroy(&pta);
+@@ -494,11 +550,24 @@ FPIX *fpix;
+ ptaa5 = ptaaCreate(nx); /* uniformly sampled across full height of image */
+ for (j = 0; j < nx; j++) { /* for each column */
+ pta = ptaaGetPta(ptaa4, j, L_CLONE);
+- ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
++/* WILLUS MOD */
++/* Order higher than 2 can cause a little craziness here. */
++if (fit_order2>3)
++ ptaGetQuarticLSF(pta, &c4, &c3, &c2, &c1, &c0, NULL);
++else if (fit_order2==3)
++ ptaGetCubicLSF(pta, &c3, &c2, &c1, &c0, NULL);
++else
++ ptaGetQuadraticLSF(pta, &c2, &c1, &c0, NULL);
+ ptad = ptaCreate(ny);
+ for (i = 0; i < ny; i++) { /* uniformly sampled in y */
+ y = i * sampling;
+- applyQuadraticFit(c2, c1, c0, y, &val);
++/* WILLUS MOD */
++if (fit_order2>3)
++ applyQuarticFit(c4, c3, c2, c1, c0, y, &val);
++else if (fit_order2==3)
++ applyCubicFit(c3, c2, c1, c0, y, &val);
++else
++ applyQuadraticFit(c2, c1, c0, y, &val);
+ ptaAddPt(ptad, y, val);
+ }
+ ptaaAddPta(ptaa5, ptad, L_INSERT);
+@@ -1602,11 +1671,21 @@ FPIX *fpix;
+ * See notes there.
+ *
+ */
++/* WILLUS MOD */
+ l_ok
+ dewarpBuildLineModel(L_DEWARP *dew,
+ l_int32 opensize,
+ const char *debugfile)
+ {
++return(dewarpBuildLineModel_ex(dew,opensize,debugfile,2));
++}
++
++l_int32
++dewarpBuildLineModel_ex(L_DEWARP *dew,
++ l_int32 opensize,
++ const char *debugfile,
++ l_int32 fit_order)
++{
+ char buf[64];
+ l_int32 i, j, bx, by, ret, nlines;
+ BOXA *boxa;
+@@ -1695,6 +1774,8 @@ PTAA *ptaa1, *ptaa2;
+
+ /* Remove all lines that are not at least 0.75 times the length
+ * of the longest line. */
++/* WILLUS MOD */
++/*
+ ptaa2 = dewarpRemoveShortLines(pix, ptaa1, 0.75, DEBUG_SHORT_LINES);
+ if (debugfile) {
+ pix1 = pixConvertTo32(pix);
+@@ -1704,6 +1785,8 @@ PTAA *ptaa1, *ptaa2;
+ pixDestroy(&pix1);
+ pixDestroy(&pix2);
+ }
++*/
++ptaa2=ptaa1;
+ ptaaDestroy(&ptaa1);
+ nlines = ptaaGetCount(ptaa2);
+ if (nlines < dew->minlines) {
+@@ -1717,7 +1800,8 @@ PTAA *ptaa1, *ptaa2;
+ * centers. The disparity array will push pixels vertically
+ * so that each line is flat and centered at the y-position
+ * of the mid-point. */
+- ret = dewarpFindVertDisparity(dew, ptaa2, 1 - i);
++/* WILLUS MOD */
++ ret = dewarpFindVertDisparity_ex(dew, ptaa2, 1 - i, fit_order);
+
+ /* If i == 0, move the result to the horizontal disparity,
+ * rotating it back by -90 degrees. */
+diff --git a/src/leptwin.c b/src/leptwin.c
+index 72643a0..573d33e 100644
+--- a/src/leptwin.c
++++ b/src/leptwin.c
+@@ -364,5 +364,9 @@ PIXCMAP *cmap;
+
+ return hBitmap;
+ }
+-
++#else
++/* willus mod: Avoid weird issue with OS/X library archiver when there are no symbols */
++int leptwin_my_empty_func(void);
++int leptwin_my_empty_func(void)
++{return(0);}
+ #endif /* _WIN32 */
+--
+2.22.0
+
diff --git a/pkgs/applications/misc/k2pdfopt/mupdf.patch b/pkgs/applications/misc/k2pdfopt/mupdf.patch
new file mode 100644
index 00000000000..0c59a1d2016
--- /dev/null
+++ b/pkgs/applications/misc/k2pdfopt/mupdf.patch
@@ -0,0 +1,1060 @@
+From d8927c969e3387ca2669a616c0ba53bce918a031 Mon Sep 17 00:00:00 2001
+From: Daniel Fullmer
+Date: Fri, 13 Sep 2019 15:11:45 -0400
+Subject: [PATCH] Willus mod for k2pdfopt
+
+---
+ source/fitz/filter-basic.c | 3 +
+ source/fitz/font-win32.c | 866 +++++++++++++++++++++++++++++++++++++
+ source/fitz/font.c | 3 +
+ source/fitz/stext-device.c | 5 +
+ source/fitz/string.c | 5 +
+ source/pdf/pdf-annot.c | 14 +-
+ source/pdf/pdf-link.c | 3 +
+ source/pdf/pdf-parse.c | 5 +
+ source/pdf/pdf-xref.c | 9 +
+ 9 files changed, 912 insertions(+), 1 deletion(-)
+ create mode 100644 source/fitz/font-win32.c
+
+diff --git a/source/fitz/filter-basic.c b/source/fitz/filter-basic.c
+index 0713a62e7..b8ef4d292 100644
+--- a/source/fitz/filter-basic.c
++++ b/source/fitz/filter-basic.c
+@@ -259,7 +259,10 @@ look_for_endstream:
+ if (!state->warned)
+ {
+ state->warned = 1;
++/* willus mod -- no warning */
++/*
+ fz_warn(ctx, "PDF stream Length incorrect");
++*/
+ }
+ return *stm->rp++;
+ }
+diff --git a/source/fitz/font-win32.c b/source/fitz/font-win32.c
+new file mode 100644
+index 000000000..45de8cfd3
+--- /dev/null
++++ b/source/fitz/font-win32.c
+@@ -0,0 +1,866 @@
++/*
++** Routines to access MS Windows system fonts.
++** From sumatra PDF distro.
++** Modified for MuPDF v1.9a by willus.com
++*/
++#include "mupdf/pdf.h"
++
++/*
++ Which fonts are embedded is based on a few preprocessor definitions.
++
++ The base 14 fonts are always embedded.
++ For CJK font substitution we embed DroidSansFallback.
++
++ Set NOCJK to skip all CJK support (this also omits embedding the CJK CMaps)
++ Set NOCJKFONT to skip the embedded CJK font.
++ Set NOCJKFULL to embed a smaller CJK font without CJK Extension A support.
++*/
++
++#ifdef NOCJK
++#define NOCJKFONT
++#endif
++
++/* SumatraPDF: also load fonts included with Windows */
++#ifdef _WIN32
++
++#ifndef UNICODE
++#define UNICODE
++#endif
++#ifndef _UNICODE
++#define _UNICODE
++#endif
++
++#include
++
++// TODO: Use more of FreeType for TTF parsing (for performance reasons,
++// the fonts can't be parsed completely, though)
++#include
++#include FT_TRUETYPE_IDS_H
++#include FT_TRUETYPE_TAGS_H
++
++#define TTC_VERSION1 0x00010000
++#define TTC_VERSION2 0x00020000
++
++#define MAX_FACENAME 128
++
++// Note: the font face must be the first field so that the structure
++// can be treated like a simple string for searching
++typedef struct pdf_fontmapMS_s
++{
++ char fontface[MAX_FACENAME];
++ char fontpath[MAX_PATH];
++ int index;
++} pdf_fontmapMS;
++
++typedef struct pdf_fontlistMS_s
++{
++ pdf_fontmapMS *fontmap;
++ int len;
++ int cap;
++} pdf_fontlistMS;
++
++typedef struct _tagTT_OFFSET_TABLE
++{
++ ULONG uVersion;
++ USHORT uNumOfTables;
++ USHORT uSearchRange;
++ USHORT uEntrySelector;
++ USHORT uRangeShift;
++} TT_OFFSET_TABLE;
++
++typedef struct _tagTT_TABLE_DIRECTORY
++{
++ ULONG uTag; //table name
++ ULONG uCheckSum; //Check sum
++ ULONG uOffset; //Offset from beginning of file
++ ULONG uLength; //length of the table in bytes
++} TT_TABLE_DIRECTORY;
++
++typedef struct _tagTT_NAME_TABLE_HEADER
++{
++ USHORT uFSelector; //format selector. Always 0
++ USHORT uNRCount; //Name Records count
++ USHORT uStorageOffset; //Offset for strings storage, from start of the table
++} TT_NAME_TABLE_HEADER;
++
++typedef struct _tagTT_NAME_RECORD
++{
++ USHORT uPlatformID;
++ USHORT uEncodingID;
++ USHORT uLanguageID;
++ USHORT uNameID;
++ USHORT uStringLength;
++ USHORT uStringOffset; //from start of storage area
++} TT_NAME_RECORD;
++
++typedef struct _tagFONT_COLLECTION
++{
++ ULONG Tag;
++ ULONG Version;
++ ULONG NumFonts;
++} FONT_COLLECTION;
++
++static struct {
++ char *name;
++ char *pattern;
++} baseSubstitutes[] = {
++ { "Courier", "CourierNewPSMT" },
++ { "Courier-Bold", "CourierNewPS-BoldMT" },
++ { "Courier-Oblique", "CourierNewPS-ItalicMT" },
++ { "Courier-BoldOblique", "CourierNewPS-BoldItalicMT" },
++ { "Helvetica", "ArialMT" },
++ { "Helvetica-Bold", "Arial-BoldMT" },
++ { "Helvetica-Oblique", "Arial-ItalicMT" },
++ { "Helvetica-BoldOblique", "Arial-BoldItalicMT" },
++ { "Times-Roman", "TimesNewRomanPSMT" },
++ { "Times-Bold", "TimesNewRomanPS-BoldMT" },
++ { "Times-Italic", "TimesNewRomanPS-ItalicMT" },
++ { "Times-BoldItalic", "TimesNewRomanPS-BoldItalicMT" },
++ { "Symbol", "SymbolMT" },
++};
++static const char *base_font_names[][10] =
++{
++ { "Courier", "CourierNew", "CourierNewPSMT", NULL },
++ { "Courier-Bold", "CourierNew,Bold", "Courier,Bold",
++ "CourierNewPS-BoldMT", "CourierNew-Bold", NULL },
++ { "Courier-Oblique", "CourierNew,Italic", "Courier,Italic",
++ "CourierNewPS-ItalicMT", "CourierNew-Italic", NULL },
++ { "Courier-BoldOblique", "CourierNew,BoldItalic", "Courier,BoldItalic",
++ "CourierNewPS-BoldItalicMT", "CourierNew-BoldItalic", NULL },
++ { "Helvetica", "ArialMT", "Arial", NULL },
++ { "Helvetica-Bold", "Arial-BoldMT", "Arial,Bold", "Arial-Bold",
++ "Helvetica,Bold", NULL },
++ { "Helvetica-Oblique", "Arial-ItalicMT", "Arial,Italic", "Arial-Italic",
++ "Helvetica,Italic", "Helvetica-Italic", NULL },
++ { "Helvetica-BoldOblique", "Arial-BoldItalicMT",
++ "Arial,BoldItalic", "Arial-BoldItalic",
++ "Helvetica,BoldItalic", "Helvetica-BoldItalic", NULL },
++ { "Times-Roman", "TimesNewRomanPSMT", "TimesNewRoman",
++ "TimesNewRomanPS", NULL },
++ { "Times-Bold", "TimesNewRomanPS-BoldMT", "TimesNewRoman,Bold",
++ "TimesNewRomanPS-Bold", "TimesNewRoman-Bold", NULL },
++ { "Times-Italic", "TimesNewRomanPS-ItalicMT", "TimesNewRoman,Italic",
++ "TimesNewRomanPS-Italic", "TimesNewRoman-Italic", NULL },
++ { "Times-BoldItalic", "TimesNewRomanPS-BoldItalicMT",
++ "TimesNewRoman,BoldItalic", "TimesNewRomanPS-BoldItalic",
++ "TimesNewRoman-BoldItalic", NULL },
++ { "Symbol", "Symbol,Italic", "Symbol,Bold", "Symbol,BoldItalic",
++ "SymbolMT", "SymbolMT,Italic", "SymbolMT,Bold", "SymbolMT,BoldItalic", NULL },
++ { "ZapfDingbats", NULL }
++};
++
++static pdf_fontlistMS fontlistMS =
++{
++ NULL,
++ 0,
++ 0,
++};
++static int strcmp_ignore_space(const char *a, const char *b);
++static const char *clean_font_name(const char *fontname);
++static const char *pdf_clean_base14_name(const char *fontname);
++
++static inline USHORT BEtoHs(USHORT x)
++{
++ BYTE *data = (BYTE *)&x;
++ return (data[0] << 8) | data[1];
++}
++
++static inline ULONG BEtoHl(ULONG x)
++{
++ BYTE *data = (BYTE *)&x;
++ return (data[0] << 24) | (data[1] << 16) | (data[2] << 8) | data[3];
++}
++
++static int strcmp_ignore_space(const char *a, const char *b)
++{
++ while (1)
++ {
++ while (*a == ' ')
++ a++;
++ while (*b == ' ')
++ b++;
++ if (*a != *b)
++ return 1;
++ if (*a == 0)
++ return *a != *b;
++ if (*b == 0)
++ return *a != *b;
++ a++;
++ b++;
++ }
++}
++
++/* A little bit more sophisticated name matching so that e.g. "EurostileExtended"
++ matches "EurostileExtended-Roman" or "Tahoma-Bold,Bold" matches "Tahoma-Bold" */
++static int
++lookup_compare(const void *elem1, const void *elem2)
++{
++ const char *val1 = elem1;
++ const char *val2 = elem2;
++ int len1 = strlen(val1);
++ int len2 = strlen(val2);
++
++ if (len1 != len2)
++ {
++ const char *rest = len1 > len2 ? val1 + len2 : val2 + len1;
++ if (',' == *rest || !_stricmp(rest, "-roman"))
++ return _strnicmp(val1, val2, fz_mini(len1, len2));
++ }
++
++ return _stricmp(val1, val2);
++}
++
++static void
++remove_spaces(char *srcDest)
++{
++ char *dest;
++
++ for (dest = srcDest; *srcDest; srcDest++)
++ if (*srcDest != ' ')
++ *dest++ = *srcDest;
++ *dest = '\0';
++}
++
++static int
++str_ends_with(const char *str, const char *end)
++{
++ size_t len1 = strlen(str);
++ size_t len2 = strlen(end);
++
++ return len1 >= len2 && !strcmp(str + len1 - len2, end);
++}
++
++static pdf_fontmapMS *
++pdf_find_windows_font_path(const char *fontname)
++{
++ return bsearch(fontname, fontlistMS.fontmap, fontlistMS.len, sizeof(pdf_fontmapMS), lookup_compare);
++}
++
++/* source and dest can be same */
++static void
++decode_unicode_BE(fz_context *ctx, char *source, int sourcelen, char *dest, int destlen)
++{
++ WCHAR *tmp;
++ int converted, i;
++
++ if (sourcelen % 2 != 0)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid unicode string");
++
++ tmp = fz_malloc_array(ctx, sourcelen / 2 + 1, sizeof(WCHAR));
++ for (i = 0; i < sourcelen / 2; i++)
++ tmp[i] = BEtoHs(((WCHAR *)source)[i]);
++ tmp[sourcelen / 2] = '\0';
++
++ converted = WideCharToMultiByte(CP_UTF8, 0, tmp, -1, dest, destlen, NULL, NULL);
++ fz_free(ctx, tmp);
++ if (!converted)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid unicode string");
++}
++
++static void
++decode_platform_string(fz_context *ctx, int platform, int enctype, char *source, int sourcelen, char *dest, int destlen)
++{
++ switch (platform)
++ {
++ case TT_PLATFORM_APPLE_UNICODE:
++ switch (enctype)
++ {
++ case TT_APPLE_ID_DEFAULT:
++ case TT_APPLE_ID_UNICODE_2_0:
++ decode_unicode_BE(ctx, source, sourcelen, dest, destlen);
++ return;
++ }
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
++ case TT_PLATFORM_MACINTOSH:
++ switch (enctype)
++ {
++ case TT_MAC_ID_ROMAN:
++ if (sourcelen + 1 > destlen)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : overlong fontname: %s", source);
++ // TODO: Convert to UTF-8 from what encoding?
++ memcpy(dest, source, sourcelen);
++ dest[sourcelen] = 0;
++ return;
++ }
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
++ case TT_PLATFORM_MICROSOFT:
++ switch (enctype)
++ {
++ case TT_MS_ID_SYMBOL_CS:
++ case TT_MS_ID_UNICODE_CS:
++ case TT_MS_ID_UCS_4:
++ decode_unicode_BE(ctx, source, sourcelen, dest, destlen);
++ return;
++ }
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
++ default:
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : unsupported encoding (%d/%d)", platform, enctype);
++ }
++}
++
++static void
++grow_system_font_list(fz_context *ctx, pdf_fontlistMS *fl)
++{
++ int newcap;
++ pdf_fontmapMS *newitems;
++
++ if (fl->cap == 0)
++ newcap = 1024;
++ else
++ newcap = fl->cap * 2;
++
++ // use realloc/free for the fontmap, since the list can
++ // remain in memory even with all fz_contexts destroyed
++ newitems = realloc(fl->fontmap, newcap * sizeof(pdf_fontmapMS));
++ if (!newitems)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "OOM in grow_system_font_list");
++ memset(newitems + fl->cap, 0, sizeof(pdf_fontmapMS) * (newcap - fl->cap));
++
++ fl->fontmap = newitems;
++ fl->cap = newcap;
++}
++
++static void
++append_mapping(fz_context *ctx, pdf_fontlistMS *fl, const char *facename, const char *path, int index)
++{
++ if (fl->len == fl->cap)
++ grow_system_font_list(ctx, fl);
++
++ if (fl->len >= fl->cap)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : fontlist overflow");
++
++ fz_strlcpy(fl->fontmap[fl->len].fontface, facename, sizeof(fl->fontmap[0].fontface));
++ fz_strlcpy(fl->fontmap[fl->len].fontpath, path, sizeof(fl->fontmap[0].fontpath));
++ fl->fontmap[fl->len].index = index;
++
++ ++fl->len;
++}
++
++static void
++safe_read(fz_context *ctx, fz_stream *file, int offset, char *buf, int size)
++{
++ int n;
++ fz_seek(ctx, file, offset, 0);
++ n = fz_read(ctx, file, (unsigned char *)buf, size);
++ if (n != size)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "safe_read: read %d, expected %d", n, size);
++}
++
++static void
++read_ttf_string(fz_context *ctx, fz_stream *file, int offset, TT_NAME_RECORD *ttRecordBE, char *buf, int size)
++{
++ char szTemp[MAX_FACENAME * 2];
++ // ignore empty and overlong strings
++ int stringLength = BEtoHs(ttRecordBE->uStringLength);
++ if (stringLength == 0 || stringLength >= sizeof(szTemp))
++ return;
++
++ safe_read(ctx, file, offset + BEtoHs(ttRecordBE->uStringOffset), szTemp, stringLength);
++ decode_platform_string(ctx, BEtoHs(ttRecordBE->uPlatformID),
++ BEtoHs(ttRecordBE->uEncodingID), szTemp, stringLength, buf, size);
++}
++
++static void
++makeFakePSName(char szName[MAX_FACENAME], const char *szStyle)
++{
++ // append the font's subfamily, unless it's a Regular font
++ if (*szStyle && _stricmp(szStyle, "Regular") != 0)
++ {
++ fz_strlcat(szName, "-", MAX_FACENAME);
++ fz_strlcat(szName, szStyle, MAX_FACENAME);
++ }
++ remove_spaces(szName);
++}
++
++static void
++parseTTF(fz_context *ctx, fz_stream *file, int offset, int index, const char *path)
++{
++ TT_OFFSET_TABLE ttOffsetTableBE;
++ TT_TABLE_DIRECTORY tblDirBE;
++ TT_NAME_TABLE_HEADER ttNTHeaderBE;
++ TT_NAME_RECORD ttRecordBE;
++
++ char szPSName[MAX_FACENAME] = { 0 };
++ char szTTName[MAX_FACENAME] = { 0 };
++ char szStyle[MAX_FACENAME] = { 0 };
++ char szCJKName[MAX_FACENAME] = { 0 };
++ int i, count, tblOffset;
++
++ safe_read(ctx, file, offset, (char *)&ttOffsetTableBE, sizeof(TT_OFFSET_TABLE));
++
++ // check if this is a TrueType font of version 1.0 or an OpenType font
++ if (BEtoHl(ttOffsetTableBE.uVersion) != TTC_VERSION1 &&
++ BEtoHl(ttOffsetTableBE.uVersion) != TTAG_OTTO)
++ {
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid font version %x", (unsigned int)BEtoHl(ttOffsetTableBE.uVersion));
++ }
++
++ // determine the name table's offset by iterating through the offset table
++ count = BEtoHs(ttOffsetTableBE.uNumOfTables);
++ for (i = 0; i < count; i++)
++ {
++ int entryOffset = offset + sizeof(TT_OFFSET_TABLE) + i * sizeof(TT_TABLE_DIRECTORY);
++ safe_read(ctx, file, entryOffset, (char *)&tblDirBE, sizeof(TT_TABLE_DIRECTORY));
++ if (!BEtoHl(tblDirBE.uTag) || BEtoHl(tblDirBE.uTag) == TTAG_name)
++ break;
++ }
++ if (count == i || !BEtoHl(tblDirBE.uTag))
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : nameless font");
++ tblOffset = BEtoHl(tblDirBE.uOffset);
++
++ // read the 'name' table for record count and offsets
++ safe_read(ctx, file, tblOffset, (char *)&ttNTHeaderBE, sizeof(TT_NAME_TABLE_HEADER));
++ offset = tblOffset + sizeof(TT_NAME_TABLE_HEADER);
++ tblOffset += BEtoHs(ttNTHeaderBE.uStorageOffset);
++
++ // read through the strings for PostScript name and font family
++ count = BEtoHs(ttNTHeaderBE.uNRCount);
++ for (i = 0; i < count; i++)
++ {
++ short langId, nameId;
++ BOOL isCJKName;
++
++ safe_read(ctx, file, offset + i * sizeof(TT_NAME_RECORD), (char *)&ttRecordBE, sizeof(TT_NAME_RECORD));
++
++ langId = BEtoHs(ttRecordBE.uLanguageID);
++ nameId = BEtoHs(ttRecordBE.uNameID);
++ isCJKName = TT_NAME_ID_FONT_FAMILY == nameId && LANG_CHINESE == PRIMARYLANGID(langId);
++
++ // ignore non-English strings (except for Chinese font names)
++ if (langId && langId != TT_MS_LANGID_ENGLISH_UNITED_STATES && !isCJKName)
++ continue;
++ // ignore names other than font (sub)family and PostScript name
++ fz_try(ctx)
++ {
++ if (isCJKName)
++ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szCJKName, sizeof(szCJKName));
++ else if (TT_NAME_ID_FONT_FAMILY == nameId)
++ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szTTName, sizeof(szTTName));
++ else if (TT_NAME_ID_FONT_SUBFAMILY == nameId)
++ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szStyle, sizeof(szStyle));
++ else if (TT_NAME_ID_PS_NAME == nameId)
++ read_ttf_string(ctx, file, tblOffset, &ttRecordBE, szPSName, sizeof(szPSName));
++ }
++ fz_catch(ctx)
++ {
++ fz_warn(ctx, "ignoring face name decoding fonterror");
++ }
++ }
++
++ // try to prevent non-Arial fonts from accidentally substituting Arial
++ if (!strcmp(szPSName, "ArialMT"))
++ {
++ // cf. https://code.google.com/p/sumatrapdf/issues/detail?id=2471
++ if (strcmp(szTTName, "Arial") != 0)
++ szPSName[0] = '\0';
++ // TODO: is there a better way to distinguish Arial Caps from Arial proper?
++ // cf. http://code.google.com/p/sumatrapdf/issues/detail?id=1290
++ else if (strstr(path, "caps") || strstr(path, "Caps"))
++ fz_throw(ctx, FZ_ERROR_GENERIC, "ignore %s, as it can't be distinguished from Arial,Regular", path);
++ }
++
++ if (szPSName[0])
++ append_mapping(ctx, &fontlistMS, szPSName, path, index);
++ if (szTTName[0])
++ {
++ // derive a PostScript-like name and add it, if it's different from the font's
++ // included PostScript name; cf. http://code.google.com/p/sumatrapdf/issues/detail?id=376
++ makeFakePSName(szTTName, szStyle);
++ // compare the two names before adding this one
++ if (lookup_compare(szTTName, szPSName))
++ append_mapping(ctx, &fontlistMS, szTTName, path, index);
++ }
++ if (szCJKName[0])
++ {
++ makeFakePSName(szCJKName, szStyle);
++ if (lookup_compare(szCJKName, szPSName) && lookup_compare(szCJKName, szTTName))
++ append_mapping(ctx, &fontlistMS, szCJKName, path, index);
++ }
++}
++
++static void
++parseTTFs(fz_context *ctx, const char *path)
++{
++ fz_stream *file = fz_open_file(ctx, path);
++ /* "fonterror : %s not found", path */
++ fz_try(ctx)
++ {
++ parseTTF(ctx, file, 0, 0, path);
++ }
++ fz_always(ctx)
++ {
++ fz_drop_stream(ctx,file);
++ }
++ fz_catch(ctx)
++ {
++ fz_rethrow(ctx);
++ }
++}
++
++static void
++parseTTCs(fz_context *ctx, const char *path)
++{
++ FONT_COLLECTION fontcollectionBE;
++ ULONG i, numFonts, *offsettableBE = NULL;
++
++ fz_stream *file = fz_open_file(ctx, path);
++ /* "fonterror : %s not found", path */
++
++ fz_var(offsettableBE);
++
++ fz_try(ctx)
++ {
++ safe_read(ctx, file, 0, (char *)&fontcollectionBE, sizeof(FONT_COLLECTION));
++ if (BEtoHl(fontcollectionBE.Tag) != TTAG_ttcf)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : wrong format %x", (unsigned int)BEtoHl(fontcollectionBE.Tag));
++ if (BEtoHl(fontcollectionBE.Version) != TTC_VERSION1 &&
++ BEtoHl(fontcollectionBE.Version) != TTC_VERSION2)
++ {
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror : invalid version %x", (unsigned int)BEtoHl(fontcollectionBE.Version));
++ }
++
++ numFonts = BEtoHl(fontcollectionBE.NumFonts);
++ offsettableBE = fz_malloc_array(ctx, numFonts, sizeof(ULONG));
++
++ safe_read(ctx, file, sizeof(FONT_COLLECTION), (char *)offsettableBE, numFonts * sizeof(ULONG));
++ for (i = 0; i < numFonts; i++)
++ parseTTF(ctx, file, BEtoHl(offsettableBE[i]), i, path);
++ }
++ fz_always(ctx)
++ {
++ fz_free(ctx, offsettableBE);
++ fz_drop_stream(ctx,file);
++ }
++ fz_catch(ctx)
++ {
++ fz_rethrow(ctx);
++ }
++}
++
++static void
++extend_system_font_list(fz_context *ctx, const WCHAR *path)
++{
++ WCHAR szPath[MAX_PATH], *lpFileName;
++ WIN32_FIND_DATA FileData;
++ HANDLE hList;
++
++ GetFullPathName(path, nelem(szPath), szPath, &lpFileName);
++
++ hList = FindFirstFile(szPath, &FileData);
++ if (hList == INVALID_HANDLE_VALUE)
++ {
++ // Don't complain about missing directories
++ if (GetLastError() == ERROR_FILE_NOT_FOUND)
++ return;
++ fz_throw(ctx, FZ_ERROR_GENERIC, "extend_system_font_list: unknown error %d", (int)GetLastError());
++ }
++ do
++ {
++ if (!(FileData.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
++ {
++ char szPathUtf8[MAX_PATH], *fileExt;
++ int res;
++ lstrcpyn(lpFileName, FileData.cFileName, szPath + MAX_PATH - lpFileName);
++ res = WideCharToMultiByte(CP_UTF8, 0, szPath, -1, szPathUtf8, sizeof(szPathUtf8), NULL, NULL);
++ if (!res)
++ {
++ fz_warn(ctx, "WideCharToMultiByte failed for %S", szPath);
++ continue;
++ }
++ fileExt = szPathUtf8 + strlen(szPathUtf8) - 4;
++ fz_try(ctx)
++ {
++ if (!_stricmp(fileExt, ".ttc"))
++ parseTTCs(ctx, szPathUtf8);
++ else if (!_stricmp(fileExt, ".ttf") || !_stricmp(fileExt, ".otf"))
++ parseTTFs(ctx, szPathUtf8);
++ }
++ fz_catch(ctx)
++ {
++ // ignore errors occurring while parsing a given font file
++ }
++ }
++ } while (FindNextFile(hList, &FileData));
++ FindClose(hList);
++}
++
++static void
++destroy_system_font_list(void)
++{
++ free(fontlistMS.fontmap);
++ memset(&fontlistMS, 0, sizeof(fontlistMS));
++}
++
++static void
++create_system_font_list(fz_context *ctx)
++{
++ WCHAR szFontDir[MAX_PATH];
++ UINT cch;
++
++ cch = GetWindowsDirectory(szFontDir, nelem(szFontDir) - 12);
++ if (0 < cch && cch < nelem(szFontDir) - 12)
++ {
++ /* willus.com edit--Win XP default MSVCRT.DLL doesn't have wcscat_s */
++#ifdef _WIN64
++ wcscat_s(szFontDir, MAX_PATH, L"\\Fonts\\*.?t?");
++#else
++ wcscat(szFontDir,L"\\Fonts\\*.?t?");
++#endif
++ extend_system_font_list(ctx, szFontDir);
++ }
++
++ if (fontlistMS.len == 0)
++ fz_warn(ctx, "couldn't find any usable system fonts");
++
++#ifdef NOCJKFONT
++ {
++ // If no CJK fallback font is builtin but one has been shipped separately (in the same
++ // directory as the main executable), add it to the list of loadable system fonts
++ WCHAR szFile[MAX_PATH], *lpFileName;
++ GetModuleFileName(0, szFontDir, MAX_PATH);
++ GetFullPathName(szFontDir, MAX_PATH, szFile, &lpFileName);
++ lstrcpyn(lpFileName, L"DroidSansFallback.ttf", szFile + MAX_PATH - lpFileName);
++ extend_system_font_list(ctx, szFile);
++ }
++#endif
++
++ // sort the font list, so that it can be searched binarily
++ qsort(fontlistMS.fontmap, fontlistMS.len, sizeof(pdf_fontmapMS), _stricmp);
++
++#ifdef DEBUG
++ // allow to overwrite system fonts for debugging purposes
++ // (either pass a full path or a search pattern such as "fonts\*.ttf")
++ cch = GetEnvironmentVariable(L"MUPDF_FONTS_PATTERN", szFontDir, nelem(szFontDir));
++ if (0 < cch && cch < nelem(szFontDir))
++ {
++ int i, prev_len = fontlistMS.len;
++ extend_system_font_list(ctx, szFontDir);
++ for (i = prev_len; i < fontlistMS.len; i++)
++ {
++ pdf_fontmapMS *entry = bsearch(fontlistMS.fontmap[i].fontface, fontlistMS.fontmap, prev_len, sizeof(pdf_fontmapMS), lookup_compare);
++ if (entry)
++ *entry = fontlistMS.fontmap[i];
++ }
++ qsort(fontlistMS.fontmap, fontlistMS.len, sizeof(pdf_fontmapMS), _stricmp);
++ }
++#endif
++
++ // make sure to clean up after ourselves
++ atexit(destroy_system_font_list);
++}
++
++static fz_font *
++pdf_load_windows_font_by_name(fz_context *ctx, const char *orig_name)
++{
++ pdf_fontmapMS *found = NULL;
++ char *comma, *fontname;
++ fz_font *font;
++
++ /* WILLUS MOD--not multi-threaded for k2pdfopt */
++ /* fz_synchronize_begin(); */
++ if (fontlistMS.len == 0)
++ {
++ fz_try(ctx)
++ {
++ create_system_font_list(ctx);
++ }
++ fz_catch(ctx) { }
++ }
++ /* WILLUS MOD--not multi-threaded for k2pdfopt */
++ /* fz_synchronize_end(); */
++ if (fontlistMS.len == 0)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "fonterror: couldn't find any fonts");
++
++ // work on a normalized copy of the font name
++ fontname = fz_strdup(ctx, orig_name);
++ remove_spaces(fontname);
++
++ // first, try to find the exact font name (including appended style information)
++ comma = strchr(fontname, ',');
++ if (comma)
++ {
++ *comma = '-';
++ found = pdf_find_windows_font_path(fontname);
++ *comma = ',';
++ }
++ // second, substitute the font name with a known PostScript name
++ else
++ {
++ int i;
++ for (i = 0; i < nelem(baseSubstitutes) && !found; i++)
++ if (!strcmp(fontname, baseSubstitutes[i].name))
++ found = pdf_find_windows_font_path(baseSubstitutes[i].pattern);
++ }
++ // third, search for the font name without additional style information
++ if (!found)
++ found = pdf_find_windows_font_path(fontname);
++ // fourth, try to separate style from basename for prestyled fonts (e.g. "ArialBold")
++ if (!found && !comma && (str_ends_with(fontname, "Bold") || str_ends_with(fontname, "Italic")))
++ {
++ int styleLen = str_ends_with(fontname, "Bold") ? 4 : str_ends_with(fontname, "BoldItalic") ? 10 : 6;
++ fontname = fz_resize_array(ctx, fontname, strlen(fontname) + 2, sizeof(char));
++ comma = fontname + strlen(fontname) - styleLen;
++ memmove(comma + 1, comma, styleLen + 1);
++ *comma = '-';
++ found = pdf_find_windows_font_path(fontname);
++ *comma = ',';
++ if (!found)
++ found = pdf_find_windows_font_path(fontname);
++ }
++ // fifth, try to convert the font name from the common Chinese codepage 936
++ if (!found && fontname[0] < 0)
++ {
++ WCHAR cjkNameW[MAX_FACENAME];
++ char cjkName[MAX_FACENAME];
++ if (MultiByteToWideChar(936, MB_ERR_INVALID_CHARS, fontname, -1, cjkNameW, nelem(cjkNameW)) &&
++ WideCharToMultiByte(CP_UTF8, 0, cjkNameW, -1, cjkName, nelem(cjkName), NULL, NULL))
++ {
++ comma = strchr(cjkName, ',');
++ if (comma)
++ {
++ *comma = '-';
++ found = pdf_find_windows_font_path(cjkName);
++ *comma = ',';
++ }
++ if (!found)
++ found = pdf_find_windows_font_path(cjkName);
++ }
++ }
++
++ fz_free(ctx, fontname);
++ if (!found)
++ fz_throw(ctx, FZ_ERROR_GENERIC, "couldn't find system font '%s'", orig_name);
++
++ /*
++ fz_warn(ctx, "loading non-embedded font '%s' from '%s'", orig_name, found->fontpath);
++ */
++
++ font = fz_new_font_from_file(ctx, orig_name, found->fontpath, found->index,
++ strcmp(found->fontface, "DroidSansFallback") != 0);
++ /* willus mod for MuPDF v1.10, 10-21-2016 */
++ {
++ fz_font_flags_t *flags;
++ flags=fz_font_flags(font);
++ if (flags!=NULL)
++ flags->ft_substitute = 1;
++ }
++ return font;
++}
++
++static fz_font *
++pdf_load_windows_font(fz_context *ctx, const char *fontname, int bold, int italic, int needs_exact_metrics)
++{
++ if (needs_exact_metrics)
++ {
++ const char *clean_name;
++ /* WILLUS: Declare pdf_clean_base14_name() */
++ extern const char *pdf_clean_base14_name(const char *fontname);
++
++ /* TODO: the metrics for Times-Roman and Courier don't match
++ those of Windows' Times New Roman and Courier New; for
++ some reason, Poppler doesn't seem to have this problem */
++ int len;
++ if (fz_lookup_builtin_font(ctx,fontname, bold, italic, &len))
++ return NULL;
++
++ /* cf. http://code.google.com/p/sumatrapdf/issues/detail?id=2173 */
++ clean_name = pdf_clean_base14_name(fontname);
++ if (clean_name != fontname && !strncmp(clean_name, "Times-", 6))
++ return NULL;
++ }
++
++ // TODO: unset font->ft_substitute for base14/needs_exact_metrics?
++ return pdf_load_windows_font_by_name(ctx, fontname);
++}
++
++static const char *clean_font_name(const char *fontname)
++{
++ int i, k;
++ for (i = 0; i < nelem(base_font_names); i++)
++ for (k = 0; base_font_names[i][k]; k++)
++ if (!strcmp_ignore_space(base_font_names[i][k], fontname))
++ return base_font_names[i][0];
++ return fontname;
++}
++
++
++/* SumatraPDF: expose clean_font_name */
++static const char * pdf_clean_base14_name(const char *fontname)
++{
++ return clean_font_name(fontname);
++}
++
++static fz_font *
++pdf_load_windows_cjk_font(fz_context *ctx, const char *fontname, int ros, int serif)
++{
++ fz_font *font;
++
++ font=NULL; /* WILLUS: Avoid compiler warning */
++ /* try to find a matching system font before falling back to an approximate one */
++ fz_try(ctx)
++ {
++ font = pdf_load_windows_font_by_name(ctx, fontname);
++ }
++ fz_catch(ctx)
++ {
++ font = NULL;
++ }
++ if (font)
++ return font;
++
++ /* try to fall back to a reasonable system font */
++ fz_try(ctx)
++ {
++ if (serif)
++ {
++ switch (ros)
++ {
++ case FZ_ADOBE_CNS: font = pdf_load_windows_font_by_name(ctx, "MingLiU"); break;
++ case FZ_ADOBE_GB: font = pdf_load_windows_font_by_name(ctx, "SimSun"); break;
++ case FZ_ADOBE_JAPAN: font = pdf_load_windows_font_by_name(ctx, "MS-Mincho"); break;
++ case FZ_ADOBE_KOREA: font = pdf_load_windows_font_by_name(ctx, "Batang"); break;
++ default: fz_throw(ctx, FZ_ERROR_GENERIC, "invalid serif ros");
++ }
++ }
++ else
++ {
++ switch (ros)
++ {
++ case FZ_ADOBE_CNS: font = pdf_load_windows_font_by_name(ctx, "DFKaiShu-SB-Estd-BF"); break;
++ case FZ_ADOBE_GB:
++ fz_try(ctx)
++ {
++ font = pdf_load_windows_font_by_name(ctx, "KaiTi");
++ }
++ fz_catch(ctx)
++ {
++ font = pdf_load_windows_font_by_name(ctx, "KaiTi_GB2312");
++ }
++ break;
++ case FZ_ADOBE_JAPAN: font = pdf_load_windows_font_by_name(ctx, "MS-Gothic"); break;
++ case FZ_ADOBE_KOREA: font = pdf_load_windows_font_by_name(ctx, "Gulim"); break;
++ default: fz_throw(ctx, FZ_ERROR_GENERIC, "invalid sans-serif ros");
++ }
++ }
++ }
++ fz_catch(ctx)
++ {
++#ifdef NOCJKFONT
++ /* If no CJK fallback font is builtin, maybe one has been shipped separately */
++ font = pdf_load_windows_font_by_name(ctx, "DroidSansFallback");
++#else
++ fz_rethrow(ctx);
++#endif
++ }
++
++ return font;
++}
++
++#endif
++
++void pdf_install_load_system_font_funcs(fz_context *ctx)
++{
++#ifdef _WIN32
++ fz_install_load_system_font_funcs(ctx, pdf_load_windows_font, pdf_load_windows_cjk_font, NULL);
++#endif
++}
+diff --git a/source/fitz/font.c b/source/fitz/font.c
+index 00c6e8f99..1448b4a56 100644
+--- a/source/fitz/font.c
++++ b/source/fitz/font.c
+@@ -4,8 +4,11 @@
+ #include "draw-imp.h"
+
+ #include
++/* willus mod -- remove hb includes */
++/*
+ #include "hb.h"
+ #include "hb-ft.h"
++*/
+
+ #include
+
+diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c
+index 2df90305e..b1f99e056 100644
+--- a/source/fitz/stext-device.c
++++ b/source/fitz/stext-device.c
+@@ -825,6 +825,11 @@ fz_new_stext_device(fz_context *ctx, fz_stext_page *page, const fz_stext_options
+ dev->lastchar = ' ';
+ dev->curdir = 1;
+ dev->lasttext = NULL;
++ /* willus mod -- seems like this should be here, but not sure. */
++ if (opts)
++ dev->flags = opts->flags;
++ else
++ dev->flags = 0;
+
+ return (fz_device*)dev;
+ }
+diff --git a/source/fitz/string.c b/source/fitz/string.c
+index f8eedb682..7a767983d 100644
+--- a/source/fitz/string.c
++++ b/source/fitz/string.c
+@@ -560,6 +560,10 @@ fz_utflen(const char *s)
+ */
+ float fz_atof(const char *s)
+ {
++/* willus mod: atof(s), #if-#else-#endif */
++#if (!defined(__SSE__))
++ return(atof(s));
++#else
+ float result;
+
+ if (s == NULL)
+@@ -572,6 +576,7 @@ float fz_atof(const char *s)
+ return 1;
+ result = fz_clamp(result, -FLT_MAX, FLT_MAX);
+ return result;
++#endif
+ }
+
+ /*
+diff --git a/source/pdf/pdf-annot.c b/source/pdf/pdf-annot.c
+index 4dfdf36fe..acff7d12a 100644
+--- a/source/pdf/pdf-annot.c
++++ b/source/pdf/pdf-annot.c
+@@ -5,8 +5,20 @@
+ #include
+ #include
+
++/* willus mod--don't use _mkgmtime--not available in Win XP */
+ #ifdef _WIN32
+-#define timegm _mkgmtime
++static time_t timegm(struct tm *date);
++static time_t timegm(struct tm *date)
++
++ {
++ time_t t,z;
++ struct tm gmz;
++
++ z=(time_t)0;
++ gmz=(*gmtime(&z));
++ t=mktime(date)-mktime(&gmz);
++ return(t);
++ }
+ #endif
+
+ #define isdigit(c) (c >= '0' && c <= '9')
+diff --git a/source/pdf/pdf-link.c b/source/pdf/pdf-link.c
+index 37444b471..613cc05b9 100644
+--- a/source/pdf/pdf-link.c
++++ b/source/pdf/pdf-link.c
+@@ -345,6 +345,9 @@ pdf_resolve_link(fz_context *ctx, pdf_document *doc, const char *uri, float *xp,
+ }
+ return page;
+ }
++/* willus mod -- be quiet */
++/*
+ fz_warn(ctx, "unknown link uri '%s'", uri);
++*/
+ return -1;
+ }
+diff --git a/source/pdf/pdf-parse.c b/source/pdf/pdf-parse.c
+index 04a772204..9dd0cd898 100644
+--- a/source/pdf/pdf-parse.c
++++ b/source/pdf/pdf-parse.c
+@@ -663,9 +663,14 @@ pdf_parse_ind_obj(fz_context *ctx, pdf_document *doc,
+ if (c == '\r')
+ {
+ c = fz_peek_byte(ctx, file);
++/* willus mod -- no warning */
++/*
+ if (c != '\n')
+ fz_warn(ctx, "line feed missing after stream begin marker (%d %d R)", num, gen);
+ else
++*/
++if (c=='\n')
++/* willus mod -- end */
+ fz_read_byte(ctx, file);
+ }
+ stm_ofs = fz_tell(ctx, file);
+diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c
+index 8f888059b..08de7bfba 100644
+--- a/source/pdf/pdf-xref.c
++++ b/source/pdf/pdf-xref.c
+@@ -710,8 +710,11 @@ pdf_xref_size_from_old_trailer(fz_context *ctx, pdf_document *doc, pdf_lexbuf *b
+ if (!s)
+ fz_throw(ctx, FZ_ERROR_GENERIC, "xref subsection length missing");
+ len = fz_atoi(fz_strsep(&s, " "));
++/* willus mod -- no warning */
++/*
+ if (len < 0)
+ fz_throw(ctx, FZ_ERROR_GENERIC, "xref subsection length must be positive");
++*/
+
+ /* broken pdfs where the section is not on a separate line */
+ if (s && *s != '\0')
+@@ -1378,7 +1381,10 @@ pdf_init_document(fz_context *ctx, pdf_document *doc)
+ {
+ pdf_drop_xref_sections(ctx, doc);
+ fz_rethrow_if(ctx, FZ_ERROR_TRYLATER);
++/* willus mod -- be quiet */
++/*
+ fz_warn(ctx, "trying to repair broken xref");
++*/
+ repaired = 1;
+ }
+
+@@ -1506,7 +1512,10 @@ pdf_drop_document_imp(fz_context *ctx, pdf_document *doc)
+ /* Swallow error, but continue dropping */
+ }
+
++/* willu smod -- no pdf_drop_js */
++/*
+ pdf_drop_js(ctx, doc->js);
++*/
+
+ pdf_drop_xref_sections(ctx, doc);
+ fz_free(ctx, doc->xref_index);
+--
+2.22.0
+
diff --git a/pkgs/applications/misc/k2pdfopt/tesseract.patch b/pkgs/applications/misc/k2pdfopt/tesseract.patch
index b882f5b949c..adfee9ae282 100644
--- a/pkgs/applications/misc/k2pdfopt/tesseract.patch
+++ b/pkgs/applications/misc/k2pdfopt/tesseract.patch
@@ -1,13 +1,675 @@
+From 39aa8502eee7bb669a29d1a9b3bfe5c9595ad960 Mon Sep 17 00:00:00 2001
+From: Daniel Fullmer
+Date: Fri, 13 Sep 2019 13:45:05 -0400
+Subject: [PATCH] Willus mod changes from k2pdfopt
+
+---
+ src/api/Makefile.am | 1 +
+ src/api/baseapi.cpp | 87 +++++++++++
+ src/api/baseapi.h | 3 +
+ src/api/tesscapi.cpp | 311 +++++++++++++++++++++++++++++++++++++
+ src/api/tesseract.h | 29 ++++
+ src/ccmain/tessedit.cpp | 5 +-
+ src/ccutil/ccutil.h | 7 +
+ src/ccutil/genericvector.h | 21 ++-
+ src/ccutil/mainblk.cpp | 17 +-
+ src/ccutil/params.cpp | 3 +-
+ src/ccutil/serialis.cpp | 3 +
+ src/ccutil/serialis.h | 2 +
+ src/lstm/input.cpp | 3 +
+ 13 files changed, 488 insertions(+), 4 deletions(-)
+ create mode 100644 src/api/tesscapi.cpp
+ create mode 100644 src/api/tesseract.h
+
diff --git a/src/api/Makefile.am b/src/api/Makefile.am
-index d8c1e54..46ead13 100644
+index d9b76eb6..cd2dc30f 100644
--- a/src/api/Makefile.am
+++ b/src/api/Makefile.am
-@@ -42,7 +42,7 @@ libtesseract_api_la_CPPFLAGS = $(AM_CPPFLAGS)
- if VISIBILITY
- libtesseract_api_la_CPPFLAGS += -DTESS_EXPORTS
- endif
--libtesseract_api_la_SOURCES = baseapi.cpp capi.cpp renderer.cpp pdfrenderer.cpp
-+libtesseract_api_la_SOURCES = baseapi.cpp capi.cpp renderer.cpp pdfrenderer.cpp tesscapi.cpp
+@@ -39,6 +39,7 @@ libtesseract_api_la_SOURCES += lstmboxrenderer.cpp
+ libtesseract_api_la_SOURCES += pdfrenderer.cpp
+ libtesseract_api_la_SOURCES += wordstrboxrenderer.cpp
+ libtesseract_api_la_SOURCES += renderer.cpp
++libtesseract_api_la_SOURCES += tesscapi.cpp
lib_LTLIBRARIES += libtesseract.la
- libtesseract_la_LDFLAGS =
+ libtesseract_la_LDFLAGS = $(LEPTONICA_LIBS) $(OPENCL_LDFLAGS) $(libarchive_LIBS)
+diff --git a/src/api/baseapi.cpp b/src/api/baseapi.cpp
+index 9245d07c..ea964ee6 100644
+--- a/src/api/baseapi.cpp
++++ b/src/api/baseapi.cpp
+@@ -215,6 +215,14 @@ TessBaseAPI::TessBaseAPI()
+ // Use the current locale if building debug code.
+ std::locale::global(std::locale(""));
+ #endif
++ const char *locale;
++ locale = std::setlocale(LC_ALL, nullptr);
++/* willus mod Remove assertions--taken care of in tesscapi.cpp */
++// ASSERT_HOST(!strcmp(locale, "C"));
++ locale = std::setlocale(LC_CTYPE, nullptr);
++// ASSERT_HOST(!strcmp(locale, "C"));
++ locale = std::setlocale(LC_NUMERIC, nullptr);
++// ASSERT_HOST(!strcmp(locale, "C"));
+ }
+
+ TessBaseAPI::~TessBaseAPI() {
+@@ -1333,6 +1341,85 @@ static void AddBoxToTSV(const PageIterator* it, PageIteratorLevel level,
+ text->add_str_int("\t", bottom - top);
+ }
+
++/* willus mod */
++int TessBaseAPI::GetOCRWords(int **x00,int **y00,int **x11,int **y11,int **ybaseline0,
++ char **utf8words)
++
++ {
++ int iword,nwords,totlen,it8;
++ int *x0,*y0,*x1,*y1,*ybaseline;
++ char *tutf8;
++
++ ResultIterator *res_it = GetIterator();
++ /* Count words */
++ iword=0;
++ totlen=0;
++ while (!res_it->Empty(RIL_BLOCK))
++ {
++ if (res_it->Empty(RIL_WORD))
++ {
++ res_it->Next(RIL_WORD);
++ continue;
++ }
++ iword++;
++ STRING textstr=std::unique_ptr(res_it->GetUTF8Text(RIL_WORD)).get();
++ totlen+=strlen(textstr.string())+1;
++ res_it->Next(RIL_WORD);
++ }
++ nwords=iword;
++/*
++printf("\nnwords=%d, totlen=%d\n",nwords,totlen);
++*/
++ x0=(*x00)=(int *)malloc(sizeof(int)*5*nwords);
++ y0=(*y00)=&x0[nwords];
++ x1=(*x11)=&y0[nwords];
++ y1=(*y11)=&x1[nwords];
++ ybaseline=(*ybaseline0)=&y1[nwords];
++ tutf8=(*utf8words)=(char *)malloc(totlen);
++ iword=0;
++ it8=0;
++ res_it->Begin();
++ while (!res_it->Empty(RIL_BLOCK))
++ {
++ if (res_it->Empty(RIL_WORD))
++ {
++ res_it->Next(RIL_WORD);
++ continue;
++ }
++ STRING textstr=std::unique_ptr(res_it->GetUTF8Text(RIL_WORD)).get();
++ strcpy(&tutf8[it8],textstr.string());
++ it8 += strlen(&tutf8[it8])+1;
++ /*
++ STRING textstr("");
++ textstr += std::unique_ptr(res_it->GetUTF8Text(RIL_WORD)).get();
++ */
++/*
++printf("Word %d: '%s'\n",iword,textstr.string());
++*/
++ int left, top, right, bottom;
++ int u1,v1,u2,v2;
++ res_it->BoundingBox(RIL_WORD, &left, &top, &right, &bottom);
++ res_it->Baseline(RIL_WORD, &u1, &v1, &u2, &v2);
++ x0[iword]=left;
++ x1[iword]=right;
++ y0[iword]=top;
++ y1[iword]=bottom;
++ ybaseline[iword]=(v1+v2)/2;
++ iword++;
++/*
++printf("BB: (%d,%d)-(%d,%d) BL: (%d,%d)-(%d,%d)\n",left,bottom,right,top,x1,y1,x2,y2);
++*/
++ res_it->Next(RIL_WORD);
++ }
++/*
++printf("iword=%d\n",iword);
++*/
++ return(iword);
++ }
++
++/* willus mod */
++int GetOCRWords(int **x0,int **y0,int **x1,int **y1,int **ybaseline,char **utf8words);
++
+ /**
+ * Make a TSV-formatted string from the internal data structures.
+ * page_number is 0-based but will appear in the output as 1-based.
+diff --git a/src/api/baseapi.h b/src/api/baseapi.h
+index 3724dd92..23be5920 100644
+--- a/src/api/baseapi.h
++++ b/src/api/baseapi.h
+@@ -575,6 +575,9 @@ class TESS_API TessBaseAPI {
+ */
+ char* GetHOCRText(ETEXT_DESC* monitor, int page_number);
+
++/* willus mod */
++int GetOCRWords(int **x0,int **y0,int **x1,int **y1,int **ybaseline,char **utf8words);
++
+ /**
+ * Make a HTML-formatted string with hOCR markup from the internal
+ * data structures.
+diff --git a/src/api/tesscapi.cpp b/src/api/tesscapi.cpp
+new file mode 100644
+index 00000000..1752fafe
+--- /dev/null
++++ b/src/api/tesscapi.cpp
+@@ -0,0 +1,311 @@
++/*
++** tesscapi.cpp willus.com attempt at C wrapper for tesseract.
++** (Butchered from tesseractmain.cpp)
++** Last udpated 9-1-12
++**
++** Copyright (C) 2012 http://willus.com
++**
++** This program is free software: you can redistribute it and/or modify
++** it under the terms of the GNU Affero General Public License as
++** published by the Free Software Foundation, either version 3 of the
++** License, or (at your option) any later version.
++**
++** This program is distributed in the hope that it will be useful,
++** but WITHOUT ANY WARRANTY; without even the implied warranty of
++** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
++** GNU Affero General Public License for more details.
++**
++** You should have received a copy of the GNU Affero General Public License
++** along with this program. If not, see .
++**
++*/
++
++/*
++#include "mfcpch.h"
++*/
++// #define USE_VLD //Uncomment for Visual Leak Detector.
++#if (defined _MSC_VER && defined USE_VLD)
++#include
++#endif
++
++// Include automatically generated configuration file if running autoconf
++#ifdef HAVE_CONFIG_H
++#include "config_auto.h"
++#endif
++#include
++#ifdef USING_GETTEXT
++#include
++#define _(x) gettext(x)
++#else
++#define _(x) (x)
++#endif
++
++#include "allheaders.h"
++#include "baseapi.h"
++#include "strngs.h"
++#include "params.h"
++#include "blobs.h"
++#include "simddetect.h"
++#include "tesseractclass.h"
++/*
++#include "notdll.h"
++*/
++
++/* C Wrappers */
++#include "tesseract.h"
++
++// static tesseract::TessBaseAPI api[4];
++
++/*
++** ocr_type=0: OEM_DEFAULT
++** ocr_type=1: OEM_TESSERACT_ONLY
++** ocr_type=2: OEM_LSTM_ONLY
++** ocr_type=3: OEM_TESSERACT_LSTM_COMBINED
++*/
++void *tess_capi_init(char *datapath,char *language,int ocr_type,FILE *out,
++ char *initstr,int maxlen,int *status)
++
++ {
++ char original_locale[256];
++ tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI;
++/*
++printf("@tess_capi_init\n");
++printf(" datapath='%s'\n",datapath);
++printf(" language='%s'\n",language);
++printf(" ocr_type=%d\n",ocr_type);
++*/
++#ifdef USE_NLS
++ setlocale (LC_ALL, "");
++ bindtextdomain (PACKAGE, LOCALEDIR);
++ textdomain (PACKAGE);
++#endif
++ /* willus mod, 11-24-16 */
++ /* Tesseract needs "C" locale to correctly parse all data .traineddata files. */
++/*
++printf("locale='%s'\n",setlocale(LC_ALL,NULL));
++printf("ctype='%s'\n",setlocale(LC_CTYPE,NULL));
++printf("numeric='%s'\n",setlocale(LC_NUMERIC,NULL));
++*/
++ strncpy(original_locale,setlocale(LC_ALL,NULL),255);
++ original_locale[255]='\0';
++/*
++printf("original_locale='%s'\n",original_locale);
++*/
++ setlocale(LC_ALL,"C");
++/*
++printf("new locale='%s'\n",setlocale(LC_ALL,NULL));
++printf("new ctype='%s'\n",setlocale(LC_CTYPE,NULL));
++printf("new numeric='%s'\n",setlocale(LC_NUMERIC,NULL));
++*/
++ // fprintf(stderr, "tesseract %s\n", tesseract::TessBaseAPI::Version());
++ // Make the order of args a bit more forgiving than it used to be.
++ const char* lang = "eng";
++ tesseract::PageSegMode pagesegmode = tesseract::PSM_SINGLE_BLOCK;
++ if (language!=NULL && language[0]!='\0')
++ lang = language;
++ /*
++ if (output == NULL)
++ {
++ fprintf(stderr, _("Usage:%s imagename outputbase [-l lang] "
++ "[-psm pagesegmode] [configfile...]\n"), argv[0]);
++ fprintf(stderr,
++ _("pagesegmode values are:\n"
++ "0 = Orientation and script detection (OSD) only.\n"
++ "1 = Automatic page segmentation with OSD.\n"
++ "2 = Automatic page segmentation, but no OSD, or OCR\n"
++ "3 = Fully automatic page segmentation, but no OSD. (Default)\n"
++ "4 = Assume a single column of text of variable sizes.\n"
++ "5 = Assume a single uniform block of vertically aligned text.\n"
++ "6 = Assume a single uniform block of text.\n"
++ "7 = Treat the image as a single text line.\n"
++ "8 = Treat the image as a single word.\n"
++ "9 = Treat the image as a single word in a circle.\n"
++ "10 = Treat the image as a single character.\n"));
++ fprintf(stderr, _("-l lang and/or -psm pagesegmode must occur before any"
++ "configfile.\n"));
++ exit(1);
++ }
++ */
++/*
++printf("SSE = %s\n",SIMDDetect::IsSSEAvailable() ? "AVAILABLE" : "NOT AVAILABLE");
++printf("AVX = %s\n",SIMDDetect::IsAVXAvailable() ? "AVAILABLE" : "NOT AVAILABLE");
++*/
++/*
++v4.00 loads either TESSERACT enginer, LSTM engine, or both. No CUBE.
++*/
++ ocr_type=0; /* Ignore specified and use default */
++ api->SetOutputName(NULL);
++ (*status)=api->Init(datapath,lang,
++ ocr_type==0 ? tesseract::OEM_DEFAULT :
++ (ocr_type==1 ? tesseract::OEM_TESSERACT_ONLY :
++ (ocr_type==2 ? tesseract::OEM_LSTM_ONLY :
++ (tesseract::OEM_TESSERACT_LSTM_COMBINED))));
++ if ((*status)!=0)
++ {
++ /* willus mod, 11-24-16 */
++ setlocale(LC_ALL,original_locale);
++ api->End();
++ delete api;
++ return(NULL);
++ }
++ /*
++ api.Init("tesscapi",lang,tesseract::OEM_DEFAULT,
++ &(argv[arg]), argc - arg, NULL, NULL, false);
++ */
++ // We have 2 possible sources of pagesegmode: a config file and
++ // the command line. For backwards compatability reasons, the
++ // default in tesseract is tesseract::PSM_SINGLE_BLOCK, but the
++ // default for this program is tesseract::PSM_AUTO. We will let
++ // the config file take priority, so the command-line default
++ // can take priority over the tesseract default, so we use the
++ // value from the command line only if the retrieved mode
++ // is still tesseract::PSM_SINGLE_BLOCK, indicating no change
++ // in any config file. Therefore the only way to force
++ // tesseract::PSM_SINGLE_BLOCK is from the command line.
++ // It would be simpler if we could set the value before Init,
++ // but that doesn't work.
++ if (api->GetPageSegMode() == tesseract::PSM_SINGLE_BLOCK)
++ api->SetPageSegMode(pagesegmode);
++
++ /*
++ ** Initialization message
++ */
++ {
++ char istr[1024];
++ int sse,avx;
++
++// printf("tessedit_ocr_engine_mode = %d\n",tessedit_ocr_engine_mode);
++ sprintf(istr,"%s",api->Version());
++ sse=tesseract::SIMDDetect::IsSSEAvailable();
++ avx=tesseract::SIMDDetect::IsAVXAvailable();
++ if (sse || avx)
++ sprintf(&istr[strlen(istr)]," [%s]",sse&&avx?"SSE+AVX":(sse?"SSE":"AVX"));
++ sprintf(&istr[strlen(istr)],"\n Tesseract data folder = '%s'",datapath==NULL?getenv("TESSDATA_PREFIX"):datapath);
++ strcat(istr,"\n Tesseract languages: ");
++ GenericVector languages;
++ api->GetLoadedLanguagesAsVector(&languages);
++/*
++printf("OEM=%d\n",api->oem());
++printf("Langs='%s'\n",api->GetInitLanguagesAsString());
++printf("AnyTessLang()=%d\n",(int)api->tesseract()->AnyTessLang());
++printf("AnyLSTMLang()=%d\n",(int)api->tesseract()->AnyLSTMLang());
++printf("num_sub_langs()=%d\n",api->tesseract()->num_sub_langs());
++printf("languages.size()=%d\n",(int)languages.size());
++*/
++
++ for (int i=0;i<=api->tesseract()->num_sub_langs();i++)
++ {
++ tesseract::Tesseract *lang1;
++ int eng;
++ lang1 = i==0 ? api->tesseract() : api->tesseract()->get_sub_lang(i-1);
++ eng=(int)lang1->tessedit_ocr_engine_mode;
++ sprintf(&istr[strlen(istr)],"%s%s [%s]",i==0?"":", ",lang1->lang.string(),
++ eng==2?"LSTM+Tess":(eng==1?"LSTM":"Tess"));
++ }
++/*
++printf("%d. '%s'\n",i+1,languages[i].string());
++printf(" sublang[%d].oem_engine = %d\n",i+1,(int)api->tesseract()->get_sub_lang(i)->tessedit_ocr_engine_mode);
++*/
++
++ /*
++ if (ocr_type==0 || ocr_type==3)
++ sprintf(&istr[strlen(istr)],"[LSTM+] (lang=");
++ else if (ocr_type==2)
++ sprintf(&istr[strlen(istr)],"[LSTM] (lang=");
++ strncpy(&istr[strlen(istr)],language,253-strlen(istr));
++ istr[253]='\0';
++ strcat(istr,")");
++ */
++ if (out!=NULL)
++ fprintf(out,"%s\n",istr);
++ if (initstr!=NULL)
++ {
++ strncpy(initstr,istr,maxlen-1);
++ initstr[maxlen-1]='\0';
++ }
++ }
++
++
++ /* Turn off LSTM debugging output */
++ api->SetVariable("lstm_debug_level","0");
++#if (WILLUSDEBUG & 1)
++ api->SetVariable("lstm_debug_level","9");
++ api->SetVariable("paragraph_debug_level","9");
++ api->SetVariable("tessdata_manager_debug_level","9");
++ api->SetVariable("tosp_debug_level","9");
++ api->SetVariable("wordrec_debug_level","9");
++ api->SetVariable("segsearch_debug_level","9");
++#endif
++ /* willus mod, 11-24-16 */
++ setlocale(LC_ALL,original_locale);
++ return((void *)api);
++ }
++
++
++int tess_capi_get_ocr(void *vapi,PIX *pix,char *outstr,int maxlen,int segmode,FILE *out)
++
++ {
++ tesseract::TessBaseAPI *api;
++ static int old_segmode=-1;
++
++ api=(tesseract::TessBaseAPI *)vapi;
++ if (old_segmode != segmode)
++ {
++ old_segmode=segmode;
++ api->SetPageSegMode((tesseract::PageSegMode)segmode);
++ }
++ if (!api->ProcessPage(pix,0,NULL,NULL,0,NULL))
++ {
++ /* pixDestroy(&pix); */
++ if (out!=NULL)
++ fprintf(out,"tesscapi: Error during bitmap processing.\n");
++ api->Clear();
++ return(-1);
++ }
++ strncpy(outstr,api->GetUTF8Text(),maxlen-1);
++ outstr[maxlen-1]='\0';
++ api->Clear();
++ return(0);
++ }
++
++
++int tess_capi_get_ocr_multiword(void *vapi,PIX *pix,int segmode,
++ int **left,int **top,int **right,int **bottom,
++ int **ybase,char **text,int *nw,
++ FILE *out)
++
++ {
++ tesseract::TessBaseAPI *api;
++ static int old_segmode=-1;
++
++ api=(tesseract::TessBaseAPI *)vapi;
++ if (old_segmode != segmode)
++ {
++ old_segmode=segmode;
++ api->SetPageSegMode((tesseract::PageSegMode)segmode);
++ }
++ if (!api->ProcessPage(pix,0,NULL,NULL,0,NULL))
++ {
++ if (out!=NULL)
++ fprintf(out,"tesscapi: Error during bitmap processing.\n");
++ api->Clear();
++ (*nw)=0;
++ return(-1);
++ }
++ (*nw)=api->GetOCRWords(left,top,right,bottom,ybase,text);
++ api->Clear();
++ return(0);
++ }
++
++
++void tess_capi_end(void *vapi)
++
++ {
++ tesseract::TessBaseAPI *api;
++
++ if (vapi==NULL)
++ return;
++ api=(tesseract::TessBaseAPI *)vapi;
++ api->End();
++ delete api;
++ }
+diff --git a/src/api/tesseract.h b/src/api/tesseract.h
+new file mode 100644
+index 00000000..575948cc
+--- /dev/null
++++ b/src/api/tesseract.h
+@@ -0,0 +1,29 @@
++/*
++** Willus.com's Tesseract C Wrappers
++**
++** 6-8-12
++**
++*/
++
++#ifndef _TESSERACT_H_
++#define _TESSERACT_H_
++
++//#include
++#ifdef __cplusplus
++extern "C" {
++#endif
++
++void *tess_capi_init(char *datapath,char *language,int ocr_type,FILE *out,
++ char *initstr,int maxlen,int *status);
++int tess_capi_get_ocr(void *api,PIX *pix,char *outstr,int maxlen,int segmode,FILE *out);
++int tess_capi_get_ocr_multiword(void *vapi,PIX *pix,int segmode,
++ int **left,int **top,int **right,int **bottom,
++ int **ybase,char **text,int *nw,
++ FILE *out);
++void tess_capi_end(void *api);
++
++#ifdef __cplusplus
++}
++#endif
++
++#endif
+diff --git a/src/ccmain/tessedit.cpp b/src/ccmain/tessedit.cpp
+index 17f0951b..7af94ee2 100644
+--- a/src/ccmain/tessedit.cpp
++++ b/src/ccmain/tessedit.cpp
+@@ -101,6 +101,10 @@ bool Tesseract::init_tesseract_lang_data(
+ " to your \"tessdata\" directory.\n");
+ return false;
+ }
++ /* willus mod */
++ TFile fp;
++ strncpy(fp.tfile_filename,tessdata_path.string(),511);
++ fp.tfile_filename[511]='\0';
+ #ifndef DISABLED_LEGACY_ENGINE
+ if (oem == OEM_DEFAULT) {
+ // Set the engine mode from availability, which can then be overridden by
+@@ -116,7 +120,6 @@ bool Tesseract::init_tesseract_lang_data(
+ #endif // ndef DISABLED_LEGACY_ENGINE
+
+ // If a language specific config file (lang.config) exists, load it in.
+- TFile fp;
+ if (mgr->GetComponent(TESSDATA_LANG_CONFIG, &fp)) {
+ ParamUtils::ReadParamsFromFp(SET_PARAM_CONSTRAINT_NONE, &fp,
+ this->params());
+diff --git a/src/ccutil/ccutil.h b/src/ccutil/ccutil.h
+index 71e89c60..bdeccc14 100644
+--- a/src/ccutil/ccutil.h
++++ b/src/ccutil/ccutil.h
+@@ -80,6 +80,13 @@ class CCUtil {
+ // Member parameters.
+ // These have to be declared and initialized after params_ member, since
+ // params_ should be initialized before parameters are added to it.
++/* willus mod */
++/*
++ #ifdef _WIN32
++ STRING_VAR_H(tessedit_module_name, WINDLLNAME,
++ "Module colocated with tessdata dir");
++ #endif
++*/
+ INT_VAR_H(ambigs_debug_level, 0, "Debug level for unichar ambiguities");
+ BOOL_VAR_H(use_definite_ambigs_for_classifier, false,
+ "Use definite ambiguities when running character classifier");
+diff --git a/src/ccutil/genericvector.h b/src/ccutil/genericvector.h
+index 3556d153..3a5e8662 100644
+--- a/src/ccutil/genericvector.h
++++ b/src/ccutil/genericvector.h
+@@ -382,7 +382,26 @@ inline bool LoadDataFromFile(const char* filename, GenericVector* data) {
+ // reserve an extra byte in case caller wants to append a '\0' character
+ data->reserve(size + 1);
+ data->resize_no_init(size);
+- result = static_cast(fread(&(*data)[0], 1, size, fp)) == size;
++ /* willus mod Dec 2018--weird issue with Win XP and MinGW gcc 7.3.0 */
++ /* Can't read entire file at once -- need to break up into smaller blocksize reads */
++ {
++ int frs,n;
++ int blocksize;
++ blocksize=1024*1024;
++ for (n=0;1;)
++ {
++ int bs;
++ bs= size-n > blocksize ? blocksize : size-n;
++ frs=(int)fread(&(*data)[n],1,bs,fp);
++ n+=frs;
++ if (frs=size)
++ break;
++ }
++ result = static_cast((long)n==size);
++ }
++ /*
++ result = static_cast(fread(&(*data)[0], 1, size, fp)) == size;
++ */
+ }
+ fclose(fp);
+ }
+diff --git a/src/ccutil/mainblk.cpp b/src/ccutil/mainblk.cpp
+index 52b04b04..80b26044 100644
+--- a/src/ccutil/mainblk.cpp
++++ b/src/ccutil/mainblk.cpp
+@@ -55,8 +55,22 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {
+ #if defined(_WIN32)
+ } else if (datadir == nullptr || _access(datadir.string(), 0) != 0) {
+ /* Look for tessdata in directory of executable. */
++ /*
++ char drive[_MAX_DRIVE];
++ char dir[_MAX_DIR];
++ */
+ char path[_MAX_PATH];
+- DWORD length = GetModuleFileName(nullptr, path, sizeof(path));
++ int i;
++ /* DWORD length = */ GetModuleFileName(nullptr, path, sizeof(path));
++ /* willus mod--avoid _splitpath_s -- not in XP */
++ for (i=strlen(path)-1;i>=0 && path[i]!='/' && path[i]!='\\';i--);
++ if (i>=0)
++ {
++ path[i]='\0';
++ datadir=path;
++ datadir += "/tessdata";
++ }
++ /*
+ if (length > 0 && length < sizeof(path)) {
+ char* separator = std::strrchr(path, '\\');
+ if (separator != nullptr) {
+@@ -65,6 +79,7 @@ void CCUtil::main_setup(const char *argv0, const char *basename) {
+ datadir += "/tessdata";
+ }
+ }
++ */
+ #endif /* _WIN32 */
+ #if defined(TESSDATA_PREFIX)
+ } else {
+diff --git a/src/ccutil/params.cpp b/src/ccutil/params.cpp
+index 00bf2563..486c5ce0 100644
+--- a/src/ccutil/params.cpp
++++ b/src/ccutil/params.cpp
+@@ -82,7 +82,8 @@ bool ParamUtils::ReadParamsFromFp(SetParamConstraint constraint, TFile *fp,
+
+ if (!foundit) {
+ anyerr = true; // had an error
+- tprintf("Warning: Parameter not found: %s\n", line);
++ /* willus mod */
++ tprintf("Tesseract warning: Parameter %s not found in file %s.\n",line,fp->tfile_filename);
+ }
+ }
+ }
+diff --git a/src/ccutil/serialis.cpp b/src/ccutil/serialis.cpp
+index 7def011f..6107a494 100644
+--- a/src/ccutil/serialis.cpp
++++ b/src/ccutil/serialis.cpp
+@@ -201,6 +201,9 @@ bool TFile::Open(const STRING& filename, FileReader reader) {
+ offset_ = 0;
+ is_writing_ = false;
+ swap_ = false;
++ /* willus mod */
++ strncpy(tfile_filename,filename.string(),511);
++ tfile_filename[511]='\0';
+ if (reader == nullptr)
+ return LoadDataFromFile(filename, data_);
+ else
+diff --git a/src/ccutil/serialis.h b/src/ccutil/serialis.h
+index 095b9227..4cc8251e 100644
+--- a/src/ccutil/serialis.h
++++ b/src/ccutil/serialis.h
+@@ -77,6 +77,8 @@ class TFile {
+ public:
+ TFile();
+ ~TFile();
++ /* willus mod */
++ char tfile_filename[512];
+
+ // All the Open methods load the whole file into memory for reading.
+ // Opens a file with a supplied reader, or nullptr to use the default.
+diff --git a/src/lstm/input.cpp b/src/lstm/input.cpp
+index 73b584b3..0b0b54c3 100644
+--- a/src/lstm/input.cpp
++++ b/src/lstm/input.cpp
+@@ -93,8 +93,11 @@ Pix* Input::PrepareLSTMInputs(const ImageData& image_data,
+ return nullptr;
+ }
+ if (width < min_width || height < min_width) {
++ /* willus mod -- no warning */
++ /*
+ tprintf("Image too small to scale!! (%dx%d vs min width of %d)\n", width,
+ height, min_width);
++ */
+ pixDestroy(&pix);
+ return nullptr;
+ }
+--
+2.22.0
+
diff --git a/pkgs/applications/misc/kanboard/default.nix b/pkgs/applications/misc/kanboard/default.nix
index ecfcc771728..0a42d5e4f28 100644
--- a/pkgs/applications/misc/kanboard/default.nix
+++ b/pkgs/applications/misc/kanboard/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "kanboard-${version}";
+ pname = "kanboard";
version = "1.2.9";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/kdbplus/default.nix b/pkgs/applications/misc/kdbplus/default.nix
index b518481e29a..4c4b461303f 100644
--- a/pkgs/applications/misc/kdbplus/default.nix
+++ b/pkgs/applications/misc/kdbplus/default.nix
@@ -1,31 +1,31 @@
-{ stdenv, requireFile, unzip, rlwrap, bash }:
+{ stdenv, requireFile, unzip, rlwrap, bash, zlib }:
assert (stdenv.hostPlatform.system == "i686-linux");
let
libPath = stdenv.lib.makeLibraryPath
- [ stdenv.cc.libc stdenv.cc.cc ];
+ [ stdenv.cc.libc stdenv.cc.cc zlib ];
in
stdenv.mkDerivation rec {
- name = "kdbplus-${version}";
- version = "3.3";
+ pname = "kdbplus";
+ version = "3.6";
- src = requireFile {
+ src = requireFile rec {
message = ''
Nix can't download kdb+ for you automatically. Go to
http://kx.com and download the free, 32-bit version for
- Linux. Then run "nix-prefetch-url file://\$PWD/linux.zip" in
- the directory where you saved it. Note you need version 3.3.
+ Linux. Then run "nix-prefetch-url file://\$PWD/${name}" in
+ the directory where you saved it. Note you need version ${version}.
'';
- name = "linux.zip";
- sha256 = "5fd0837599e24f0f437a8314510888a86ab0787684120a8fcf592299800aa940";
+ name = "linuxx86.zip";
+ sha256 = "0w6znd9warcqx28vf648n0vgmxyyy9kvsfpsfw37d1kp5finap4p";
};
dontStrip = true;
buildInputs = [ unzip ];
phases = "unpackPhase installPhase";
- unpackPhase = "mkdir ${name} && cd ${name} && unzip -qq ${src}";
+ unpackPhase = "mkdir ${pname}-${version} && cd ${pname}-${version} && unzip -qq ${src}";
installPhase = ''
mkdir -p $out/bin $out/libexec
diff --git a/pkgs/applications/misc/kdeconnect/default.nix b/pkgs/applications/misc/kdeconnect/default.nix
index b92a7ac476c..ed3c8672269 100644
--- a/pkgs/applications/misc/kdeconnect/default.nix
+++ b/pkgs/applications/misc/kdeconnect/default.nix
@@ -1,4 +1,4 @@
-{ stdenv
+{ mkDerivation
, lib
, fetchurl
, extra-cmake-modules
@@ -18,13 +18,13 @@
, kwayland
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "kdeconnect";
- version = "1.3.4";
+ version = "1.3.5";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${version}/${pname}-kde-${version}.tar.xz";
- sha256 = "12ijvp86wm6k81dggypxh3c0dmwg5mczxy43ra8rgv63aavmf42h";
+ sha256 = "02lr3xx5s2mgddac4n3lkgr7ppf1z5m6ajs90rjix0vs8a271kp5";
};
buildInputs = [
@@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
postInstall = ''
- wrapProgram $out/lib/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
+ wrapProgram $out/libexec/kdeconnectd --prefix PATH : ${lib.makeBinPath [ sshfs ]}
'';
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/keepass-plugins/keeagent/default.nix b/pkgs/applications/misc/keepass-plugins/keeagent/default.nix
index 80bf5deceb1..c3d26077443 100644
--- a/pkgs/applications/misc/keepass-plugins/keeagent/default.nix
+++ b/pkgs/applications/misc/keepass-plugins/keeagent/default.nix
@@ -3,7 +3,8 @@
let
version = "0.10.1";
drv = stdenv.mkDerivation {
- name = "keeagent-${version}";
+ pname = "keeagent";
+ inherit version;
src = fetchzip {
url = "https://lechnology.com/wp-content/uploads/2018/04/KeeAgent_v0.10.1.zip";
diff --git a/pkgs/applications/misc/keepass-plugins/keepasshttp/default.nix b/pkgs/applications/misc/keepass-plugins/keepasshttp/default.nix
index e64632d529b..76ea9df78c2 100644
--- a/pkgs/applications/misc/keepass-plugins/keepasshttp/default.nix
+++ b/pkgs/applications/misc/keepass-plugins/keepasshttp/default.nix
@@ -3,7 +3,8 @@
let
version = "1.8.4.2";
drv = stdenv.mkDerivation {
- name = "keepasshttp-${version}";
+ pname = "keepasshttp";
+ inherit version;
src = fetchFromGitHub {
owner = "pfn";
repo = "keepasshttp";
diff --git a/pkgs/applications/misc/keepass-plugins/keepassrpc/default.nix b/pkgs/applications/misc/keepass-plugins/keepassrpc/default.nix
index b45cb24b1b5..562835159eb 100644
--- a/pkgs/applications/misc/keepass-plugins/keepassrpc/default.nix
+++ b/pkgs/applications/misc/keepass-plugins/keepassrpc/default.nix
@@ -3,7 +3,8 @@
let
version = "1.8.0";
drv = stdenv.mkDerivation {
- name = "keepassrpc-${version}";
+ pname = "keepassrpc";
+ inherit version;
src = fetchurl {
url = "https://github.com/kee-org/keepassrpc/releases/download/v${version}/KeePassRPC.plgx";
sha256 = "1dclfpia559cqf78qw29zz235h1df5md4kgjv3bbi8y41wwmx7cd";
diff --git a/pkgs/applications/misc/keepassx/2.0.nix b/pkgs/applications/misc/keepassx/2.0.nix
index 8a3aaf202a7..36734a97516 100644
--- a/pkgs/applications/misc/keepassx/2.0.nix
+++ b/pkgs/applications/misc/keepassx/2.0.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, libgcrypt, qt4, xorg, ... }:
stdenv.mkDerivation rec {
- name = "keepassx2-${version}";
+ pname = "keepassx2";
version = "2.0.3";
src = fetchurl {
diff --git a/pkgs/applications/misc/keepassx/community.nix b/pkgs/applications/misc/keepassx/community.nix
index ee99e21f6ec..22e6cd2f666 100644
--- a/pkgs/applications/misc/keepassx/community.nix
+++ b/pkgs/applications/misc/keepassx/community.nix
@@ -17,6 +17,7 @@
, qtsvg
, qtx11extras
, quazip
+, wrapQtAppsHook
, yubikey-personalization
, zlib
@@ -30,14 +31,14 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "keepassxc-${version}";
- version = "2.4.1";
+ pname = "keepassxc";
+ version = "2.4.3";
src = fetchFromGitHub {
owner = "keepassxreboot";
repo = "keepassxc";
- rev = "${version}";
- sha256 = "1cbfsfdvb4qw6yb0zl6mymdbphnb7lxbfrc5a8cjmn9w8b09kv6m";
+ rev = version;
+ sha256 = "1r63bl0cam04rps1bjr107qvwsmay4254nv00gwhh9n45s6cslac";
};
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang [
@@ -55,7 +56,6 @@ stdenv.mkDerivation rec {
patches = [
./darwin.patch
- ./quazip5.patch
];
cmakeFlags = [
@@ -74,12 +74,12 @@ stdenv.mkDerivation rec {
doCheck = true;
checkPhase = ''
export LC_ALL="en_US.UTF-8"
- export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
export QT_QPA_PLATFORM=offscreen
+ export QT_PLUGIN_PATH="${qtbase.bin}/${qtbase.qtPluginPrefix}"
make test ARGS+="-E testgui --output-on-failure"
'';
- nativeBuildInputs = [ cmake makeWrapper qttools ];
+ nativeBuildInputs = [ cmake wrapQtAppsHook qttools ];
buildInputs = [
curl
@@ -103,10 +103,9 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional withKeePassKeeShareSecure quazip
++ stdenv.lib.optional stdenv.isDarwin qtmacextras;
- postInstall = optionalString stdenv.isDarwin ''
+ preFixup = optionalString stdenv.isDarwin ''
# Make it work without Qt in PATH.
- wrapProgram $out/Applications/KeePassXC.app/Contents/MacOS/KeePassXC \
- --set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}
+ wrapQtApp $out/Applications/KeePassXC.app/Contents/MacOS/KeePassXC
'';
meta = {
@@ -114,7 +113,7 @@ stdenv.mkDerivation rec {
longDescription = "A community fork of KeePassX, which is itself a port of KeePass Password Safe. The goal is to extend and improve KeePassX with new features and bugfixes to provide a feature-rich, fully cross-platform and modern open-source password manager. Accessible via native cross-platform GUI, CLI, and browser integration with the KeePassXC Browser Extension (https://github.com/keepassxreboot/keepassxc-browser).";
homepage = https://keepassxc.org/;
license = licenses.gpl2;
- maintainers = with maintainers; [ s1lvester jonafato ];
+ maintainers = with maintainers; [ jonafato ];
platforms = with platforms; linux ++ darwin;
};
}
diff --git a/pkgs/applications/misc/keepassx/darwin.patch b/pkgs/applications/misc/keepassx/darwin.patch
index d7ffb7dbba1..6232d1118a7 100644
--- a/pkgs/applications/misc/keepassx/darwin.patch
+++ b/pkgs/applications/misc/keepassx/darwin.patch
@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 658548f7..f8f10bdb 100644
+index 74b1a7ff..0a713a32 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -288,6 +288,7 @@ if(MINGW)
+@@ -307,6 +307,7 @@ if(MINGW)
set(PLUGIN_INSTALL_DIR ".")
set(DATA_INSTALL_DIR "share")
elseif(APPLE AND WITH_APP_BUNDLE)
@@ -10,24 +10,24 @@ index 658548f7..f8f10bdb 100644
set(CMAKE_INSTALL_MANDIR "${PROGNAME}.app/Contents/Resources/man")
set(CLI_INSTALL_DIR "${PROGNAME}.app/Contents/MacOS")
set(PROXY_INSTALL_DIR "${PROGNAME}.app/Contents/MacOS")
-@@ -350,12 +351,6 @@ set(CMAKE_AUTORCC ON)
+@@ -369,12 +370,6 @@ set(CMAKE_AUTORCC ON)
if(APPLE)
set(CMAKE_MACOSX_RPATH TRUE)
- find_program(MACDEPLOYQT_EXE macdeployqt HINTS ${Qt5_PREFIX}/bin ENV PATH)
- if(NOT MACDEPLOYQT_EXE)
-- message(FATAL_ERROR "macdeployqt is required to build in macOS")
+- message(FATAL_ERROR "macdeployqt is required to build on macOS")
- else()
- message(STATUS "Using macdeployqt: ${MACDEPLOYQT_EXE}")
- endif()
- endif()
-
- # Debian sets the the build type to None for package builds.
+ elseif(MINGW)
+ find_program(WINDEPLOYQT_EXE windeployqt HINTS ${Qt5_PREFIX}/bin ENV PATH)
+ if(NOT WINDEPLOYQT_EXE)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index 110dc606..f9b58818 100644
+index f142f368..0742512d 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
-@@ -343,11 +343,6 @@ if(APPLE AND WITH_APP_BUNDLE)
+@@ -351,11 +351,6 @@ if(APPLE AND WITH_APP_BUNDLE)
set(CPACK_PACKAGE_FILE_NAME "${PROGNAME}-${KEEPASSXC_VERSION}")
include(CPack)
@@ -40,10 +40,10 @@ index 110dc606..f9b58818 100644
install(TARGETS ${PROGNAME}
diff --git a/src/autotype/mac/CMakeLists.txt b/src/autotype/mac/CMakeLists.txt
-index f1c5387f..abf70b48 100644
+index 7427450a..a0a58d71 100644
--- a/src/autotype/mac/CMakeLists.txt
+++ b/src/autotype/mac/CMakeLists.txt
-@@ -12,7 +12,6 @@ if(WITH_APP_BUNDLE)
+@@ -8,7 +8,6 @@ if(WITH_APP_BUNDLE)
add_custom_command(TARGET keepassx-autotype-cocoa
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libkeepassx-autotype-cocoa.so ${PLUGIN_INSTALL_DIR}
diff --git a/pkgs/applications/misc/keepassx/default.nix b/pkgs/applications/misc/keepassx/default.nix
index 05ad9b05abb..7adbcb86c50 100644
--- a/pkgs/applications/misc/keepassx/default.nix
+++ b/pkgs/applications/misc/keepassx/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, bzip2, qt4, qmake4Hook, libX11, xorgproto, libXtst }:
stdenv.mkDerivation rec {
- name = "keepassx-${version}";
+ pname = "keepassx";
version = "0.4.4";
src = fetchurl {
- url = "https://www.keepassx.org/releases/${version}/${name}.tar.gz";
+ url = "https://www.keepassx.org/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "1i5dq10x28mg7m4c0yacm32xfj4j7imir4ph8x9p0s2ym260c9ry";
};
diff --git a/pkgs/applications/misc/keepassx/quazip5.patch b/pkgs/applications/misc/keepassx/quazip5.patch
deleted file mode 100644
index ccea841cac7..00000000000
--- a/pkgs/applications/misc/keepassx/quazip5.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/cmake/FindQuaZip.cmake b/cmake/FindQuaZip.cmake
-index 8d309181..92aa892c 100644
---- a/cmake/FindQuaZip.cmake
-+++ b/cmake/FindQuaZip.cmake
-@@ -9,7 +9,6 @@ IF(QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
- SET(QUAZIP_FOUND TRUE)
- ELSE(QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES)
- IF(Qt5Core_FOUND)
-- set(QUAZIP_LIB_VERSION_SUFFIX 5)
- ENDIF()
- IF(WIN32)
- FIND_PATH(QUAZIP_LIBRARY_DIR
-diff --git a/src/keeshare/ShareObserver.cpp b/src/keeshare/ShareObserver.cpp
-index 33f5ed1f..5fcd9202 100644
---- a/src/keeshare/ShareObserver.cpp
-+++ b/src/keeshare/ShareObserver.cpp
-@@ -46,8 +46,8 @@
- #include
-
- #if defined(WITH_XC_KEESHARE_SECURE)
--#include
--#include
-+#include
-+#include
- #endif
-
- namespace
diff --git a/pkgs/applications/misc/khal/default.nix b/pkgs/applications/misc/khal/default.nix
index 2e32bbd611a..6aa94b2fecb 100644
--- a/pkgs/applications/misc/khal/default.nix
+++ b/pkgs/applications/misc/khal/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, pkgs, python3 }:
+{ stdenv, pkgs, python3, fetchpatch }:
with python3.pkgs; buildPythonApplication rec {
pname = "khal";
@@ -9,6 +9,14 @@ with python3.pkgs; buildPythonApplication rec {
sha256 = "1r8bkgjwkh7i8ygvsv51h1cnax50sb183vafg66x5snxf3dgjl6l";
};
+ # Include a khal.desktop file via upstream commit.
+ # This patch should be removed when updating to the next version, probably.
+ patches = [ (fetchpatch {
+ name = "add-khal-dot-desktop.patch";
+ url = "https://github.com/pimutils/khal/commit/1f93d238fec7c934dd2f8e48f54925d22130e3aa.patch";
+ sha256 = "06skn3van7zd93348fc6axllx71ckkc7h2zljqlvwa339vca608c";
+ }) ];
+
propagatedBuildInputs = [
atomicwrites
click
@@ -26,11 +34,19 @@ with python3.pkgs; buildPythonApplication rec {
pkginfo
freezegun
];
- nativeBuildInputs = [ setuptools_scm ];
+ nativeBuildInputs = [ setuptools_scm sphinx sphinxcontrib_newsfeed ];
checkInputs = [ pytest ];
postInstall = ''
+ # zsh completion
install -D misc/__khal $out/share/zsh/site-functions/__khal
+
+ # man page
+ make -C doc man
+ install -Dm755 doc/build/man/khal.1 -t $out/share/man/man1
+
+ # desktop
+ install -Dm755 misc/khal.desktop -t $out/share/applications
'';
doCheck = !stdenv.isAarch64;
diff --git a/pkgs/applications/misc/khard/default.nix b/pkgs/applications/misc/khard/default.nix
index 61eb959a1dd..99b9c38d53f 100644
--- a/pkgs/applications/misc/khard/default.nix
+++ b/pkgs/applications/misc/khard/default.nix
@@ -17,13 +17,13 @@ let
};
in with python.pkgs; buildPythonApplication rec {
- version = "0.13.0";
- name = "khard-${version}";
+ version = "0.14.0";
+ pname = "khard";
namePrefix = "";
src = fetchurl {
url = "https://github.com/scheibler/khard/archive/v${version}.tar.gz";
- sha256 = "06b9xcdg1na6mxa2pnlh0wfsk02k2h6hlki089aaikbg8k8ykj8f";
+ sha256 = "0m1pc67jz663yfc0xzfpknymn8jj2bpfxaph3pl0mjd3h1zjfyaq";
};
# setup.py reads the UTF-8 encoded readme.
diff --git a/pkgs/applications/misc/kitty/default.nix b/pkgs/applications/misc/kitty/default.nix
index 1eee203373a..3b7e9e9d139 100644
--- a/pkgs/applications/misc/kitty/default.nix
+++ b/pkgs/applications/misc/kitty/default.nix
@@ -1,15 +1,15 @@
{ stdenv, substituteAll, fetchFromGitHub, python3Packages, glfw, libunistring,
harfbuzz, fontconfig, pkgconfig, ncurses, imagemagick, xsel,
- libstartup_notification, libX11, libXrandr, libXinerama, libXcursor,
+ libstartup_notification, libGL, libX11, libXrandr, libXinerama, libXcursor,
libxkbcommon, libXi, libXext, wayland-protocols, wayland,
- which, dbus, fetchpatch,
+ which, dbus,
Cocoa,
CoreGraphics,
Foundation,
IOKit,
Kernel,
OpenGL,
- cf-private,
+ libcanberra,
libicns,
libpng,
librsvg,
@@ -21,18 +21,19 @@
with python3Packages;
buildPythonApplication rec {
pname = "kitty";
- version = "0.14.0";
+ version = "0.14.3";
format = "other";
src = fetchFromGitHub {
owner = "kovidgoyal";
repo = "kitty";
rev = "v${version}";
- sha256 = "122573l7xirs9dsi5p8gra47qpgxb3vahqp2r0c043pgz4i22v5z";
+ sha256 = "0wi6b6b1nyp16rcpcghk6by62wy6qsamv1xdymyn0zbqgd8h9n6b";
};
buildInputs = [
- ncurses harfbuzz
+ harfbuzz
+ ncurses
] ++ stdenv.lib.optionals stdenv.isDarwin [
Cocoa
CoreGraphics
@@ -40,12 +41,11 @@ buildPythonApplication rec {
IOKit
Kernel
OpenGL
- cf-private
libpng
python3
zlib
] ++ stdenv.lib.optionals stdenv.isLinux [
- fontconfig glfw libunistring libX11
+ fontconfig glfw libunistring libcanberra libX11
libXrandr libXinerama libXcursor libxkbcommon libXi libXext
wayland-protocols wayland dbus
];
@@ -59,6 +59,8 @@ buildPythonApplication rec {
optipng
];
+ propagatedBuildInputs = stdenv.lib.optional stdenv.isLinux libGL;
+
outputs = [ "out" "terminfo" ];
patches = [
@@ -72,6 +74,10 @@ buildPythonApplication rec {
./png2icns.patch
];
+ preConfigure = stdenv.lib.optional (!stdenv.isDarwin) ''
+ substituteInPlace glfw/egl_context.c --replace "libEGL.so.1" "${stdenv.lib.getLib libGL}/lib/libEGL.so.1"
+ '';
+
buildPhase = if stdenv.isDarwin then ''
make app
'' else ''
@@ -89,7 +95,7 @@ buildPythonApplication rec {
'' else ''
cp -r linux-package/{bin,share,lib} $out
''}
- wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick xsel ]}"
+ wrapProgram "$out/bin/kitty" --prefix PATH : "$out/bin:${stdenv.lib.makeBinPath [ imagemagick xsel ncurses.dev ]}"
runHook postInstall
# ZSH completions need to be invoked with `source`:
diff --git a/pkgs/applications/misc/kitty/png2icns.patch b/pkgs/applications/misc/kitty/png2icns.patch
index d2d0806c862..68566e2a899 100644
--- a/pkgs/applications/misc/kitty/png2icns.patch
+++ b/pkgs/applications/misc/kitty/png2icns.patch
@@ -1,19 +1,21 @@
---- a/setup.py
-+++ b/setup.py
-@@ -744,9 +744,15 @@ Categories=System;TerminalEmulator;
- if not os.path.exists(logo_dir):
- raise SystemExit('The kitty logo has not been generated, you need to run logo/make.py')
- subprocess.check_call([
-- 'iconutil', '-c', 'icns', logo_dir, '-o',
-+ 'png2icns',
- os.path.join('Resources', os.path.basename(logo_dir).partition('.')[0] + '.icns')
-- ])
-+ ] + [os.path.join(logo_dir, logo) for logo in (
-+ 'icon_128x128.png',
-+ 'icon_16x16.png',
-+ 'icon_256x256.png',
-+ 'icon_32x32.png',
-+ 'icon_512x512.png',
-+ )])
- # }}}
- # }}}
+diff -aru a/setup.py b/setup.py
+--- a/setup.py 2019-07-29 11:09:32.000000000 -0400
++++ b/setup.py 2019-07-29 11:11:37.000000000 -0400
+@@ -784,9 +784,15 @@
+ def create_macos_app_icon(where='Resources'):
+ logo_dir = os.path.abspath(os.path.join('logo', appname + '.iconset'))
+ subprocess.check_call([
+- 'iconutil', '-c', 'icns', logo_dir, '-o',
++ 'png2icns',
+ os.path.join(where, os.path.basename(logo_dir).partition('.')[0] + '.icns')
+- ])
++ ] + [os.path.join(logo_dir, logo) for logo in [
++ 'icon_128x128.png',
++ 'icon_16x16.png',
++ 'icon_256x256.png',
++ 'icon_32x32.png',
++ 'icon_512x512.png',
++ ]])
+
+
+ def create_minimal_macos_bundle(args, where):
diff --git a/pkgs/applications/misc/kiwix/default.nix b/pkgs/applications/misc/kiwix/default.nix
index bc49e810d4e..898186b714b 100644
--- a/pkgs/applications/misc/kiwix/default.nix
+++ b/pkgs/applications/misc/kiwix/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeWrapper, pkgconfig
, zip, python, zlib, which, icu, libmicrohttpd, lzma, aria2, wget, bc
, libuuid, libX11, libXext, libXt, libXrender, glib, dbus, dbus-glib
-, gtk2, gdk_pixbuf, pango, cairo, freetype, fontconfig, alsaLib, atk, cmake
+, gtk2, gdk-pixbuf, pango, cairo, freetype, fontconfig, alsaLib, atk, cmake
, xapian, ctpp2, zimlib
}:
@@ -31,10 +31,10 @@ let
pugixml = stdenv.mkDerivation rec {
version = "1.2";
- name = "pugixml-${version}";
+ pname = "pugixml";
src = fetchurl {
- url = "http://download.kiwix.org/dev/${name}.tar.gz";
+ url = "http://download.kiwix.org/dev/${pname}-${version}.tar.gz";
sha256 = "0sqk0vdwjq44jxbbkj1cy8qykrmafs1sickzldb2w2nshsnjshhg";
};
@@ -42,8 +42,8 @@ let
unpackPhase = ''
# not a nice src archive: all the files are in the root :(
- mkdir ${name}
- cd ${name}
+ mkdir ${pname}-${version}
+ cd ${pname}-${version}
tar -xf ${src}
# and the build scripts are in there :'(
@@ -54,7 +54,7 @@ let
in
stdenv.mkDerivation rec {
- name = "kiwix-${version}";
+ pname = "kiwix";
version = "0.9";
src = fetchurl {
@@ -82,7 +82,6 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
- "--disable-static"
"--disable-staticbins"
];
@@ -93,7 +92,7 @@ stdenv.mkDerivation rec {
rm $out/bin/kiwix
makeWrapper $out/lib/kiwix/kiwix-launcher $out/bin/kiwix \
- --suffix LD_LIBRARY_PATH : ${makeLibraryPath [stdenv.cc.cc libX11 libXext libXt libXrender glib dbus dbus-glib gtk2 gdk_pixbuf pango cairo freetype fontconfig alsaLib atk]} \
+ --suffix LD_LIBRARY_PATH : ${makeLibraryPath [stdenv.cc.cc libX11 libXext libXt libXrender glib dbus dbus-glib gtk2 gdk-pixbuf pango cairo freetype fontconfig alsaLib atk]} \
--suffix PATH : ${aria2}/bin
'';
diff --git a/pkgs/applications/misc/kjv/default.nix b/pkgs/applications/misc/kjv/default.nix
new file mode 100644
index 00000000000..7868e74d010
--- /dev/null
+++ b/pkgs/applications/misc/kjv/default.nix
@@ -0,0 +1,43 @@
+{ stdenv, fetchFromGitHub, fetchpatch }:
+
+let
+
+patch-base = https://github.com/LukeSmithxyz/kjv/commit/;
+
+add-apocrypha = fetchpatch {
+ url = patch-base + "b92b7622285d10464f9274f11e740bef90705bbc.patch";
+ sha256 = "0n4sj8p9m10fcair4msc129jxkkx5whqzhjbr5k4lfgp6nb1zk8k";
+};
+
+add-install-target = fetchpatch {
+ url = patch-base + "f4ad73539eb73f1890f4b791d8d38dd95900a4a4.patch";
+ sha256 = "1yzj72i5fkzn2i4wl09q6jx7nwn2h4jwm49fc23nxfwchzar9m1q";
+};
+
+in
+
+stdenv.mkDerivation rec {
+ pname = "kjv";
+ version = "unstable-2018-12-25";
+
+ src = fetchFromGitHub {
+ owner = "bontibon";
+ repo = pname;
+ rev = "fda81a610e4be0e7c5cf242de655868762dda1d4";
+ sha256 = "1favfcjvd3pzz1ywwv3pbbxdg7v37s8vplgsz8ag016xqf5ykqqf";
+ };
+
+ patches = [ add-apocrypha add-install-target ];
+
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ ];
+
+ meta = with stdenv.lib; {
+ description = "The Bible, King James Version";
+ homepage = "https://github.com/bontibon/kjv";
+ license = licenses.publicDomain;
+ maintainers = [ maintainers.jtobin ];
+ };
+}
+
diff --git a/pkgs/applications/misc/krusader/default.nix b/pkgs/applications/misc/krusader/default.nix
index 70915ca8707..cf81d572c61 100644
--- a/pkgs/applications/misc/krusader/default.nix
+++ b/pkgs/applications/misc/krusader/default.nix
@@ -8,10 +8,11 @@ let
pname = "krusader";
version = "2.7.1";
in mkDerivation rec {
- name = "krusader-${version}";
+ pname = "krusader";
+ inherit version;
src = fetchurl {
- url = "mirror://kde/stable/${pname}/${version}/${name}.tar.xz";
+ url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "1svxj1qygyr3a4dkx0nh2d6r4q7pfj00brzghl94mf4q0rz4vhfm";
};
diff --git a/pkgs/applications/misc/latte-dock/default.nix b/pkgs/applications/misc/latte-dock/default.nix
index e560fa30294..0bd91994418 100644
--- a/pkgs/applications/misc/latte-dock/default.nix
+++ b/pkgs/applications/misc/latte-dock/default.nix
@@ -3,13 +3,12 @@
mkDerivation rec {
pname = "latte-dock";
- version = "0.8.8";
- name = "${pname}-${version}";
+ version = "0.8.9";
src = fetchurl {
- url = "https://download.kde.org/stable/${pname}/${name}.tar.xz";
- sha256 = "137s7rx35a5qrfww3q8bllj4zyjfa7l709snvdfj34y7jbq7p6cd";
- name = "${name}.tar.xz";
+ url = "https://download.kde.org/stable/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "1kkpxa39crjpqgamrcpgp1mrcdg0aq9850yb6cf7lw7d3x2fdrxj";
+ name = "${pname}-${version}.tar.xz";
};
buildInputs = [ plasma-framework xorg.libpthreadstubs xorg.libXdmcp xorg.libSM ];
diff --git a/pkgs/applications/misc/lenmus/default.nix b/pkgs/applications/misc/lenmus/default.nix
index 9018a592642..76abe7c9b4b 100644
--- a/pkgs/applications/misc/lenmus/default.nix
+++ b/pkgs/applications/misc/lenmus/default.nix
@@ -6,7 +6,7 @@
}:
stdenv.mkDerivation rec {
- name = "lenmus-${version}";
+ pname = "lenmus";
version = "5.4.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/libosmocore/default.nix b/pkgs/applications/misc/libosmocore/default.nix
index 4b3654f9a97..846ce309842 100644
--- a/pkgs/applications/misc/libosmocore/default.nix
+++ b/pkgs/applications/misc/libosmocore/default.nix
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
- name = "libosmocore-${version}";
- version = "1.0.1";
+ pname = "libosmocore";
+ version = "1.2.0";
src = fetchFromGitHub {
owner = "osmocom";
repo = "libosmocore";
rev = version;
- sha256 = "08xbj2calh1zkp79kxbq01vnh0y7nkgd4cgsivrzlyqahilbzvd9";
+ sha256 = "1535y6r4csvslrxcki80ya6zhhc5jw2nvy9bymb55ln77pf853vg";
};
propagatedBuildInputs = [
diff --git a/pkgs/applications/misc/librecad/default.nix b/pkgs/applications/misc/librecad/default.nix
index c049ed2374f..09089a072b3 100644
--- a/pkgs/applications/misc/librecad/default.nix
+++ b/pkgs/applications/misc/librecad/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
version = "2.1.3";
- name = "librecad-${version}";
+ pname = "librecad";
src = fetchurl {
url = "https://github.com/LibreCAD/LibreCAD/tarball/${version}";
- name = name + ".tar.gz";
+ name = "${pname}-${version}" + ".tar.gz";
sha256 = "1czp8bja61hfav2m7184cq1np1n76w3w6vn0hlkp81hhz9zc62sx";
};
diff --git a/pkgs/applications/misc/lilyterm/default.nix b/pkgs/applications/misc/lilyterm/default.nix
index 948ae7b14a1..e9dba4bcf46 100644
--- a/pkgs/applications/misc/lilyterm/default.nix
+++ b/pkgs/applications/misc/lilyterm/default.nix
@@ -29,8 +29,8 @@ let
};
in
-stdenv.mkDerivation rec {
- name = "lilyterm-${version}";
+stdenv.mkDerivation {
+ pname = "lilyterm";
inherit (stuff) src version;
diff --git a/pkgs/applications/misc/llpp/default.nix b/pkgs/applications/misc/llpp/default.nix
index 5ae652d750d..2c2acb6a743 100644
--- a/pkgs/applications/misc/llpp/default.nix
+++ b/pkgs/applications/misc/llpp/default.nix
@@ -4,13 +4,13 @@ libGLU_combined, freetype, xclip, inotify-tools, procps }:
assert lib.versionAtLeast (lib.getVersion ocaml) "4.07";
stdenv.mkDerivation rec {
- name = "llpp-${version}";
- version = "30";
+ pname = "llpp";
+ version = "31";
src = fetchgit {
url = "git://repo.or.cz/llpp.git";
rev = "v${version}";
- sha256 = "0iilpzf12hs0zky58j55l4y5dvzv7fc53nsrg324n9vka92mppvd";
+ sha256 = "14ibsm1zzxfidjajcj30b5m9in10q3817izahsjvkmryrvvn6qsg";
fetchSubmodules = false;
};
diff --git a/pkgs/applications/misc/llpp/fix-build-bash.patch b/pkgs/applications/misc/llpp/fix-build-bash.patch
index 25d503290ce..13dbdb926c8 100644
--- a/pkgs/applications/misc/llpp/fix-build-bash.patch
+++ b/pkgs/applications/misc/llpp/fix-build-bash.patch
@@ -1,14 +1,5 @@
-From cccadedfbcb6764a38382154838113a6b2fd4dee Mon Sep 17 00:00:00 2001
-From: Michael Hoang
-Date: Mon, 10 Dec 2018 15:08:01 +1100
-Subject: [PATCH] Patch build.bash for nixpkgs
-
----
- build.bash | 37 ++-----------------------------------
- 1 file changed, 2 insertions(+), 35 deletions(-)
-
diff --git a/build.bash b/build.bash
-index 1588011..72117d9 100755
+index 7c278b6..41494c5 100755
--- a/build.bash
+++ b/build.bash
@@ -29,7 +29,6 @@ srcd="$(dirname $0)"
@@ -20,10 +11,10 @@ index 1588011..72117d9 100755
mkdir -p $outd/{$wsid,lablGL}
:>$outd/ordered
@@ -39,12 +38,6 @@ isfresh() { test -r "$1.past" && . "$1.past" && test "$k" = "$2"; }
- mbt=native
+ mbt=${mbt:-native}
mulibs="$mudir/build/$mbt/libmupdf.a" # $mudir/build/$mbt/libmupdf-third.a
--keycmd="(cd $mudir && git describe --tags --dirty); digest $mulibs"
+-keycmd="(cd $mudir && make -q build=$mbt libs && echo); digest $mulibs"
-isfresh "$mulibs" "$(eval $keycmd)" || (
- make -C "$mudir" build=$mbt -j $mjobs libs
- echo "k='$(eval $keycmd)'" >$mudir/build/$mbt/libmupdf.a.past
@@ -32,12 +23,12 @@ index 1588011..72117d9 100755
oincs() {
local i=
local incs1=
-@@ -90,32 +83,6 @@ mflags() {
+@@ -90,34 +83,6 @@ mflags() {
}
overs="$(ocamlc -vnum 2>/dev/null)" || overs=""
--test "$overs" = "4.07.0" || {
-- url=https://caml.inria.fr/pub/distrib/ocaml-4.07/ocaml-4.07.0.tar.xz
+-test "$overs" = "4.08" || {
+- url=https://caml.inria.fr/pub/distrib/ocaml-4.08/ocaml-4.08.0.tar.xz
- txz=$outd/$(basename $url)
- isfresh $txz $url || {
- executable_p() { command -v "$1" >/dev/null 2>&1; }
@@ -54,8 +45,10 @@ index 1588011..72117d9 100755
- tar xf $txz -C $outd
- bn=$(basename $url)
- cd $outd/${bn%.tar.xz}
-- ./configure -prefix $absprefix \
-- -no-graph -no-debugger -no-ocamldoc -no-native-compiler
+- ./configure --disable-vmthreads --disable-graph-lib \
+- --disable-ocamldoc --enable-debugger=no \
+- --disable-flat-float-array \
+- --prefix=$absprefix
- make -j $mjobs world
- make install
- echo "k='$url'" >$absprefix/bin/ocamlc.past
@@ -65,7 +58,7 @@ index 1588011..72117d9 100755
bocaml1() {
grep -q "$3" $outd/ordered || {
-@@ -224,7 +191,7 @@ bobjc() {
+@@ -227,7 +192,7 @@ bobjc() {
} && vecho "fresh $o"
}
@@ -74,7 +67,7 @@ index 1588011..72117d9 100755
cmd="(. $srcd/genconfstr.sh >$outd/confstruct.ml)"
keycmd="digest $srcd/genconfstr.sh $outd/confstruct.ml"
-@@ -278,7 +245,7 @@ for m in ml_gl ml_glarray ml_raw; do
+@@ -281,7 +246,7 @@ for m in ml_gl ml_glarray ml_raw; do
done
libs="str.cma unix.cma"
@@ -83,6 +76,3 @@ index 1588011..72117d9 100755
if $darwin; then
mcomp=$(ocamlc -config | grep bytecomp_c_co | { read _ c; echo $c; })
clibs="$clibs -framework Cocoa -framework OpenGL"
---
-2.19.2
-
diff --git a/pkgs/applications/misc/loxodo/default.nix b/pkgs/applications/misc/loxodo/default.nix
index 291e225d6c4..f84ac6d600a 100644
--- a/pkgs/applications/misc/loxodo/default.nix
+++ b/pkgs/applications/misc/loxodo/default.nix
@@ -3,7 +3,7 @@ let
py = python27Packages;
python = py.python;
in
-py.buildPythonApplication rec {
+py.buildPythonApplication {
name = "loxodo-0.20150124";
src = fetchgit {
diff --git a/pkgs/applications/misc/ltwheelconf/default.nix b/pkgs/applications/misc/ltwheelconf/default.nix
index 4972aa28e58..61151cb1550 100644
--- a/pkgs/applications/misc/ltwheelconf/default.nix
+++ b/pkgs/applications/misc/ltwheelconf/default.nix
@@ -1,9 +1,8 @@
{ stdenv, libusb1, pkgconfig, fetchFromGitHub }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "ltwheelconf";
version = "0.2.7";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "thk";
diff --git a/pkgs/applications/misc/lutris/chrootenv.nix b/pkgs/applications/misc/lutris/chrootenv.nix
new file mode 100644
index 00000000000..2334221f926
--- /dev/null
+++ b/pkgs/applications/misc/lutris/chrootenv.nix
@@ -0,0 +1,117 @@
+{ lib, buildFHSUserEnv, lutris-unwrapped
+, steamSupport ? true
+}:
+
+let
+
+ qt5Deps = pkgs: with pkgs.qt5; [ qtbase qtmultimedia ];
+ gnome3Deps = pkgs: with pkgs.gnome3; [ zenity gtksourceview gnome-desktop libgnome-keyring webkitgtk ];
+ xorgDeps = pkgs: with pkgs.xorg; [
+ libX11 libXrender libXrandr libxcb libXmu libpthreadstubs libXext libXdmcp
+ libXxf86vm libXinerama libSM libXv libXaw libXi libXcursor libXcomposite
+ ];
+
+in buildFHSUserEnv {
+ name = "lutris";
+
+ runScript = "lutris";
+
+ targetPkgs = pkgs: with pkgs; [
+ lutris-unwrapped
+
+ # Adventure Game Studio
+ allegro dumb
+
+ # Desmume
+ lua agg soundtouch openal desktop-file-utils pangox_compat atk
+
+ # DGen // TODO: libarchive is broken
+
+ # Dolphin
+ bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
+ wavpack gnutls-kdh orc nettle gmp pcre vulkan-loader
+
+ # DOSBox
+ SDL_net SDL_sound
+
+ # GOG
+ glib-networking
+
+ # Higan // TODO: "higan is not available for the x86_64 architecture"
+
+ # Libretro
+ fluidsynth hidapi mesa libdrm
+
+ # MAME
+ qt48 fontconfig SDL2_ttf
+
+ # Mednafen
+ freeglut mesa_glu
+
+ # MESS
+ expat
+
+ # Minecraft
+ nss
+
+ # Mupen64Plus
+ boost dash
+
+ # Osmose
+ qt4
+
+ # PPSSPP
+ glew snappy
+
+ # Redream // "redream is not available for the x86_64 architecture"
+
+ # ResidualVM
+ flac
+
+ # rpcs3 // TODO: "error while loading shared libraries: libz.so.1..."
+ llvm_4
+
+ # ScummVM
+ nasm sndio
+
+ # Snes9x
+ epoxy minizip
+
+ # Vice
+ bison flex
+
+ # WINE
+ xorg.xrandr perl which p7zip gnused gnugrep psmisc opencl-headers
+
+ # ZDOOM
+ soundfont-fluid bzip2 game-music-emu
+ ] ++ qt5Deps pkgs
+ ++ gnome3Deps pkgs
+ ++ lib.optional steamSupport pkgs.steam;
+
+ multiPkgs = pkgs: with pkgs; [
+ # Common
+ libsndfile libtheora libogg libvorbis libopus libGLU libpcap libpulseaudio
+ libao libusb libevdev libudev libgcrypt libxml2 libusb libpng libmpeg2 libv4l
+ libjpeg libxkbcommon libass libcdio libjack2 libsamplerate libzip libmad libaio
+ libcap libtiff libva libgphoto2 libxslt libtxc_dxtn libsndfile giflib zlib glib
+ alsaLib zziplib bash dbus keyutils zip cabextract freetype unzip coreutils
+ readline gcc SDL SDL2 curl graphite2 gtk2 gtk3 udev ncurses wayland libglvnd
+ vulkan-loader xdg_utils sqlite
+
+ # PCSX2 // TODO: "libgobject-2.0.so.0: wrong ELF class: ELFCLASS64"
+
+ # WINE
+ cups lcms2 mpg123 cairo unixODBC samba4 sane-backends openldap
+ ocl-icd utillinux
+
+ # Winetricks
+ fribidi
+ ] ++ xorgDeps pkgs;
+
+ extraInstallCommands = ''
+ mkdir -p $out/share
+ ln -sf ${lutris-unwrapped}/share/applications $out/share
+ ln -sf ${lutris-unwrapped}/share/icons $out/share
+ '';
+}
diff --git a/pkgs/applications/misc/lutris/default.nix b/pkgs/applications/misc/lutris/default.nix
index e659ed2322e..c9ea146f063 100644
--- a/pkgs/applications/misc/lutris/default.nix
+++ b/pkgs/applications/misc/lutris/default.nix
@@ -1,178 +1,66 @@
-{ stdenv, pkgs, buildFHSUserEnv, makeDesktopItem, fetchFromGitHub, fetchpatch
-, wrapGAppsHook, python2Packages, python3Packages }:
+{ buildPythonApplication, lib, fetchFromGitHub
+, wrapGAppsHook, gobject-introspection, gnome-desktop, libnotify, libgnome-keyring, pango
+, gdk-pixbuf, atk, webkitgtk, gst_all_1
+, evdev, pyyaml, pygobject3, requests, pillow
+, xrandr, pciutils, psmisc, glxinfo, vulkan-tools, xboxdrv, pulseaudio, p7zip, xgamma
+, libstrangle, wine, fluidsynth, xorgserver
+}:
let
- qt5Deps = with pkgs; with qt5; [ qtbase qtmultimedia ];
- gnome3Deps = with pkgs; with gnome3; [ zenity gtksourceview gnome-desktop libgnome-keyring webkitgtk ];
-
- python3Deps = with pkgs; with python3Packages; [
- evdev pyyaml pyxdg pygobject3 pyqt5 dbus-python requests pillow
+ # See lutris/util/linux.py
+ binPath = lib.makeBinPath [
+ xrandr
+ pciutils
+ psmisc
+ glxinfo
+ vulkan-tools
+ xboxdrv
+ pulseaudio
+ p7zip
+ xgamma
+ libstrangle
+ wine
+ fluidsynth
+ xorgserver
];
- xorgDeps = with pkgs; with xorg; [
- libX11 libXrender libXrandr libxcb libXmu libpthreadstubs libXext libXdmcp
- libXxf86vm libXinerama libSM libXv libXaw libXi libXcursor libXcomposite
- xrandr xdg_utils
- ];
-
- gstDeps = with pkgs; with gst_all_1; [
+ gstDeps = with gst_all_1; [
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
gst-libav
];
- deps = with pkgs; [
- # Common
- stdenv.cc.cc libGL libGLU_combined libsndfile libtheora libogg libvorbis
- libopus libGLU libpcap libpulseaudio libao libusb libevdev libudev libgcrypt
- libxml2 libusb libpng libmpeg2 libv4l libjpeg libxkbcommon libass libcdio
- libjack2 libsamplerate libzip libmad libaio libcap libtiff libva libgphoto2
- libxslt libtxc_dxtn libsndfile giflib zlib glib alsaLib zziplib bash dbus
- keyutils zip cabextract freetype unzip coreutils readline gcc SDL SDL2 curl
- graphite2 gtk2 gtk3 udev ncurses wayland libglvnd vulkan-loader
+in buildPythonApplication rec {
+ pname = "lutris-original";
+ version = "0.5.3";
- # Lutris
- gobjectIntrospection gdk_pixbuf pango openssl sqlite xterm libnotify procps
-
- # Adventure Game Studio
- allegro dumb
-
- # Desmume
- lua agg soundtouch openal desktop-file-utils pangox_compat atk
-
- # DGen // TODO: libarchive is broken
-
- # Dolphin
- bluez ffmpeg gettext portaudio wxGTK30 miniupnpc mbedtls lzo sfml gsm
- wavpack gnutls-kdh orc nettle gmp pcre vulkan-loader
-
- # DOSBox
- SDL_net SDL_sound
-
- # GOG
- glib-networking
-
- # Higan // TODO: "higan is not available for the x86_64 architecture"
-
- # Libretro
- fluidsynth hidapi mesa_noglu libdrm
-
- # MAME
- qt48 fontconfig SDL2_ttf
-
- # Mednafen
- freeglut mesa_glu
-
- # MESS
- expat
-
- # Minecraft
- nss
-
- # Mupen64Plus
- boost dash
-
- # Osmose
- qt4
-
- # PCSX2 // TODO: "libgobject-2.0.so.0: wrong ELF class: ELFCLASS64"
-
- # PPSSPP
- glew snappy
-
- # Redream // "redream is not available for the x86_64 architecture"
-
- # ResidualVM
- flac
-
- # rpcs3 // TODO: "error while loading shared libraries: libz.so.1..."
- llvm_4
-
- # ScummVM
- nasm sndio
-
- # Snes9x
- epoxy minizip
-
- # Steam
- steam
-
- # Vice
- bison flex
-
- # WINE
- perl which p7zip gnused gnugrep psmisc cups lcms2 mpg123 cairo unixODBC
- samba4 sane-backends openldap opencl-headers ocl-icd utillinux
-
- (wine.override { wineBuild = "wineWow"; })
-
- # ZDOOM
- soundfont-fluid bzip2 game-music-emu
- ] ++ qt5Deps
- ++ gnome3Deps
- ++ python3Deps
- ++ xorgDeps
- ++ gstDeps;
-
- lutris = python3Packages.buildPythonApplication rec {
- name = "lutris-original-${version}";
- version = "0.5.2.1";
-
- src = fetchFromGitHub {
- owner = "lutris";
- repo = "lutris";
- rev = "v${version}";
- sha256 = "023yqnzmnkfpq21r6ky6jzwbjxjcw1a5zqrrdl6fwwlr78fdhgpv";
- };
-
- enableParallelBuilding = true;
- nativeBuildInputs = [ wrapGAppsHook ];
- propagatedBuildInputs = deps;
- fullPath = stdenv.lib.makeLibraryPath deps;
- preConfigure = "export HOME=$PWD";
-
- makeWrapperArgs = [
- "--prefix LD_LIBRARY_PATH : ${fullPath}:$out/lib"
- "--set GI_TYPELIB_PATH $GI_TYPELIB_PATH"
- "--prefix XDG_DATA_DIRS : $out/share"
- "--suffix XDG_DATA_DIRS : $XDG_ICON_DIRS:$GSETTINGS_SCHEMAS_PATH"
- ];
-
- postInstall = ''
- mkdir -p $out/lib
- ln -sf ${pkgs.gsm}/lib/libgsm.so $out/lib/libgsm.so.1
- mv $out/bin/lutris $out/bin/lutris-${version}
- '';
-
- meta = with stdenv.lib; {
- homepage = "https://lutris.net";
- description = "Open Source gaming platform for GNU/Linux";
- license = licenses.gpl3;
- maintainers = with maintainers; [ chiiruno ];
- platforms = platforms.linux;
- };
+ src = fetchFromGitHub {
+ owner = "lutris";
+ repo = "lutris";
+ rev = "v${version}";
+ sha256 = "0n6xa3pnwvsvfipinrkbhxwjzfbw2cjpc9igv97nffcmpydmn5xv";
};
- desktopItem = makeDesktopItem {
- name = "Lutris";
- exec = "lutris";
- icon = "lutris";
- comment = lutris.meta.description;
- desktopName = "Lutris";
- genericName = "Gaming Platform";
- categories = "Network;Game;Emulator;";
- startupNotify = "false";
+ buildInputs = [
+ wrapGAppsHook gobject-introspection gnome-desktop libnotify libgnome-keyring pango
+ gdk-pixbuf atk webkitgtk
+ ] ++ gstDeps;
+
+ makeWrapperArgs = [
+ "--prefix PATH : ${binPath}"
+ ];
+
+ propagatedBuildInputs = [
+ evdev pyyaml pygobject3 requests pillow
+ ];
+
+ preCheck = "export HOME=$PWD";
+
+ meta = with lib; {
+ homepage = "https://lutris.net";
+ description = "Open Source gaming platform for GNU/Linux";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ chiiruno ];
+ platforms = platforms.linux;
};
-
-in buildFHSUserEnv rec {
- name = "lutris";
-
- runScript = "lutris-${lutris.version}";
- targetPkgs = pkgs: [ lutris pkgs.glxinfo pkgs.pciutils ];
- passthru.lutris = lutris;
-
- extraInstallCommands = ''
- mkdir -p $out/share
- cp -r ${desktopItem}/share/applications $out/share
- ln -sf ${lutris}/share/icons $out/share
- '';
}
+
diff --git a/pkgs/applications/misc/lxterminal/default.nix b/pkgs/applications/misc/lxterminal/default.nix
index 4fd86a5a4f5..0802a32d92b 100644
--- a/pkgs/applications/misc/lxterminal/default.nix
+++ b/pkgs/applications/misc/lxterminal/default.nix
@@ -4,8 +4,9 @@
let version = "0.3.2"; in
-stdenv.mkDerivation rec {
- name = "lxterminal-${version}";
+stdenv.mkDerivation {
+ pname = "lxterminal";
+ inherit version;
src = fetchurl {
url = "https://github.com/lxde/lxterminal/archive/${version}.tar.gz";
diff --git a/pkgs/applications/misc/lyx/default.nix b/pkgs/applications/misc/lyx/default.nix
index ad3bd499cde..f7964e4e5c6 100644
--- a/pkgs/applications/misc/lyx/default.nix
+++ b/pkgs/applications/misc/lyx/default.nix
@@ -1,13 +1,13 @@
-{ fetchurl, stdenv, pkgconfig, python, file, bc, fetchpatch
+{ fetchurl, lib, mkDerivation, pkgconfig, python, file, bc, fetchpatch
, qtbase, qtsvg, hunspell, makeWrapper #, mythes, boost
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
version = "2.3.0";
- name = "lyx-${version}";
+ pname = "lyx";
src = fetchurl {
- url = "ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/${name}.tar.xz";
+ url = "ftp://ftp.lyx.org/pub/lyx/stable/2.3.x/${pname}-${version}.tar.xz";
sha256 = "0axri2h8xkna4mkfchfyyysbjl7s486vx80p5hzj9zgsvdm5a3ri";
};
@@ -30,10 +30,9 @@ stdenv.mkDerivation rec {
doCheck = true;
# python is run during runtime to do various tasks
- postFixup = ''
- wrapProgram "$out/bin/lyx" \
- --prefix PATH : '${python}/bin'
- '';
+ qtWrapperArgs = [
+ " --prefix PATH : ${python}/bin"
+ ];
patches = [
(fetchpatch {
@@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
})
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "WYSIWYM frontend for LaTeX, DocBook";
homepage = http://www.lyx.org;
license = licenses.gpl2Plus;
diff --git a/pkgs/applications/misc/madonctl/default.nix b/pkgs/applications/misc/madonctl/default.nix
index f2dacb7890f..9a134343d29 100644
--- a/pkgs/applications/misc/madonctl/default.nix
+++ b/pkgs/applications/misc/madonctl/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "madonctl-${version}";
+ pname = "madonctl";
version = "1.1.0";
goPackagePath = "github.com/McKael/madonctl";
diff --git a/pkgs/applications/misc/makeself/default.nix b/pkgs/applications/misc/makeself/default.nix
index a6af1762e28..f2585f78146 100644
--- a/pkgs/applications/misc/makeself/default.nix
+++ b/pkgs/applications/misc/makeself/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2.4.0";
- name = "makeself-${version}";
+ pname = "makeself";
src = fetchFromGitHub {
owner = "megastep";
@@ -15,15 +15,15 @@ stdenv.mkDerivation rec {
patches = [ ./Use-rm-from-PATH.patch ];
postPatch = ''
- sed -e "s|^HEADER=.*|HEADER=$out/share/${name}/makeself-header.sh|" -i makeself.sh
+ sed -e "s|^HEADER=.*|HEADER=$out/share/${pname}-${version}/makeself-header.sh|" -i makeself.sh
'';
installPhase = ''
- mkdir -p $out/{bin,share/{${name},man/man1}}
- cp makeself.lsm README.md $out/share/${name}
+ mkdir -p $out/{bin,share/{${pname}-${version},man/man1}}
+ cp makeself.lsm README.md $out/share/${pname}-${version}
cp makeself.sh $out/bin/makeself
cp makeself.1 $out/share/man/man1/
- cp makeself-header.sh $out/share/${name}
+ cp makeself-header.sh $out/share/${pname}-${version}
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/mako/default.nix b/pkgs/applications/misc/mako/default.nix
index f076a2838eb..ffb938f30a5 100644
--- a/pkgs/applications/misc/mako/default.nix
+++ b/pkgs/applications/misc/mako/default.nix
@@ -1,24 +1,22 @@
{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, scdoc
-, systemd, pango, cairo, gdk_pixbuf
+, systemd, pango, cairo, gdk-pixbuf
, wayland, wayland-protocols }:
stdenv.mkDerivation rec {
pname = "mako";
- version = "1.3";
+ version = "1.4";
src = fetchFromGitHub {
owner = "emersion";
repo = pname;
rev = "v${version}";
- sha256 = "17azdc37xsbmx13fkfp23vg9lznrv9fh6nhagn64wdq3nhsxm3b6";
+ sha256 = "11ymiq6cr2ma0iva1mqybn3j6k73bsc6lv6pcbdq7hkhd4f9b7j9";
};
nativeBuildInputs = [ meson ninja pkgconfig scdoc wayland-protocols ];
- buildInputs = [ systemd pango cairo gdk_pixbuf wayland ];
+ buildInputs = [ systemd pango cairo gdk-pixbuf wayland ];
- mesonFlags = [
- "-Dicons=enabled" "-Dman-pages=enabled" "-Dzsh-completions=true"
- ];
+ mesonFlags = [ "-Dzsh-completions=true" ];
meta = with stdenv.lib; {
description = "A lightweight Wayland notification daemon";
diff --git a/pkgs/applications/misc/masterpdfeditor/default.nix b/pkgs/applications/misc/masterpdfeditor/default.nix
index 7acebfad488..1474ea2fc4f 100644
--- a/pkgs/applications/misc/masterpdfeditor/default.nix
+++ b/pkgs/applications/misc/masterpdfeditor/default.nix
@@ -1,27 +1,23 @@
-{ stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, makeWrapper }:
+{ stdenv, fetchurl, sane-backends, qtbase, qtsvg, nss, autoPatchelfHook, lib, wrapQtAppsHook }:
let
version = "5.4.10";
in stdenv.mkDerivation {
- name = "masterpdfeditor-${version}";
+ pname = "masterpdfeditor";
+ inherit version;
src = fetchurl {
url = "https://code-industry.net/public/master-pdf-editor-${version}_qt5.amd64.tar.gz";
sha256 = "1902ahb2g9xanrip1n0ihr31az8sv9fsvzddnzf70kbwlfclnqf7";
};
- nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
+ nativeBuildInputs = [ autoPatchelfHook wrapQtAppsHook ];
buildInputs = [ nss qtbase qtsvg sane-backends stdenv.cc.cc ];
dontStrip = true;
- # Please remove this when #44047 is fixed
- postInstall = ''
- wrapProgram $out/bin/masterpdfeditor5 --prefix QT_PLUGIN_PATH : ${lib.getBin qtbase}/${qtbase.qtPluginPrefix}
- '';
-
installPhase = ''
runHook preInstall
diff --git a/pkgs/applications/misc/mdp/default.nix b/pkgs/applications/misc/mdp/default.nix
index 6c58dde00d3..03f30d64fb2 100644
--- a/pkgs/applications/misc/mdp/default.nix
+++ b/pkgs/applications/misc/mdp/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.0.15";
- name = "mdp-${version}";
+ pname = "mdp";
src = fetchFromGitHub {
owner = "visit1985";
diff --git a/pkgs/applications/misc/mediainfo-gui/default.nix b/pkgs/applications/misc/mediainfo-gui/default.nix
index 0d9fffd1bb7..9eb4a0897d4 100644
--- a/pkgs/applications/misc/mediainfo-gui/default.nix
+++ b/pkgs/applications/misc/mediainfo-gui/default.nix
@@ -2,11 +2,11 @@
, desktop-file-utils, libSM, imagemagick }:
stdenv.mkDerivation rec {
- version = "19.04";
- name = "mediainfo-gui-${version}";
+ version = "19.07";
+ pname = "mediainfo-gui";
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
- sha256 = "11wag23gx7nprrm1qlgvbc83rs9zxdsshqrp98zwia80xh8c9bk5";
+ sha256 = "0b2ypdlpj5v64ggqk628mgqraba27z725sa0zf0fa4agxhf9ka44";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
diff --git a/pkgs/applications/misc/mediainfo/default.nix b/pkgs/applications/misc/mediainfo/default.nix
index 8bbb179d9d5..98d5ef72b22 100644
--- a/pkgs/applications/misc/mediainfo/default.nix
+++ b/pkgs/applications/misc/mediainfo/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libzen, libmediainfo, zlib }:
stdenv.mkDerivation rec {
- version = "19.04";
- name = "mediainfo-${version}";
+ version = "19.07";
+ pname = "mediainfo";
src = fetchurl {
url = "https://mediaarea.net/download/source/mediainfo/${version}/mediainfo_${version}.tar.xz";
- sha256 = "11wag23gx7nprrm1qlgvbc83rs9zxdsshqrp98zwia80xh8c9bk5";
+ sha256 = "0b2ypdlpj5v64ggqk628mgqraba27z725sa0zf0fa4agxhf9ka44";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
diff --git a/pkgs/applications/misc/megasync/default.nix b/pkgs/applications/misc/megasync/default.nix
new file mode 100644
index 00000000000..bc753c5a7a9
--- /dev/null
+++ b/pkgs/applications/misc/megasync/default.nix
@@ -0,0 +1,125 @@
+{ stdenv
+, autoconf
+, automake
+, c-ares
+, cryptopp
+, curl
+, doxygen
+, fetchFromGitHub
+, ffmpeg
+, hicolor-icon-theme
+, libmediainfo
+, libraw
+, libsodium
+, libtool
+, libuv
+, libzen
+, lsb-release
+, mkDerivation
+, pkgconfig
+, qtbase
+, qttools
+, sqlite
+, swig
+, unzip
+, wget
+}:
+
+mkDerivation rec {
+ pname = "megasync";
+ version = "4.2.3.0";
+
+ src = fetchFromGitHub {
+ owner = "meganz";
+ repo = "MEGAsync";
+ rev = "v${version}_Linux";
+ sha256 = "0l4yfrxjb62vc9dnlzy8rjqi68ga1bys5x5rfzs40daw13yf1adv";
+ fetchSubmodules = true;
+ };
+
+ nativeBuildInputs = [
+ autoconf
+ automake
+ doxygen
+ lsb-release
+ pkgconfig
+ qttools
+ swig
+ ];
+ buildInputs = [
+ c-ares
+ cryptopp
+ curl
+ ffmpeg
+ hicolor-icon-theme
+ libmediainfo
+ libraw
+ libsodium
+ libtool
+ libuv
+ libzen
+ qtbase
+ sqlite
+ unzip
+ wget
+ ];
+
+ patches = [
+ # Distro and version targets attempt to use lsb_release which is broken
+ # (see issue: https://github.com/NixOS/nixpkgs/issues/22729)
+ ./noinstall-distro-version.patch
+ # megasync target is not part of the install rule thanks to a commented block
+ ./install-megasync.patch
+ ];
+
+ postPatch = ''
+ for file in $(find src/ -type f \( -iname configure -o -iname \*.sh \) ); do
+ substituteInPlace "$file" --replace "/bin/bash" "${stdenv.shell}"
+ done
+ '';
+
+ dontUseQmakeConfigure = true;
+ enableParallelBuilding = true;
+
+ preConfigure = ''
+ cd src/MEGASync/mega
+ ./autogen.sh
+ '';
+
+ configureFlags = [
+ "--disable-examples"
+ "--disable-java"
+ "--disable-php"
+ "--enable-chat"
+ "--with-cares"
+ "--with-cryptopp"
+ "--with-curl"
+ "--with-ffmpeg"
+ "--without-freeimage" # unreferenced even when found
+ "--without-readline"
+ "--without-termcap"
+ "--with-sodium"
+ "--with-sqlite"
+ "--with-zlib"
+ ];
+
+ postConfigure = ''
+ cd ../..
+ '';
+
+ preBuild = ''
+ qmake CONFIG+="release" MEGA.pro
+ pushd MEGASync
+ lrelease MEGASync.pro
+ DESKTOP_DESTDIR="$out" qmake PREFIX="$out" -o Makefile MEGASync.pro CONFIG+=release
+ popd
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Easy automated syncing between your computers and your MEGA Cloud Drive";
+ homepage = https://mega.nz/;
+ license = licenses.unfree;
+ platforms = [ "i686-linux" "x86_64-linux" ];
+ maintainers = [ maintainers.michojel ];
+ };
+}
diff --git a/pkgs/applications/misc/megasync/install-megasync.patch b/pkgs/applications/misc/megasync/install-megasync.patch
new file mode 100644
index 00000000000..7d8748528e7
--- /dev/null
+++ b/pkgs/applications/misc/megasync/install-megasync.patch
@@ -0,0 +1,21 @@
+Index: source/src/MEGASync/MEGASync.pro
+===================================================================
+--- source.orig/src/MEGASync/MEGASync.pro
++++ source/src/MEGASync/MEGASync.pro
+@@ -28,11 +28,11 @@ unix:!macx {
+ TARGET = megasync
+
+ # Uncomment the following if "make install" doesn't copy megasync in /usr/bin directory
+-# isEmpty(PREFIX) {
+-# PREFIX = /usr
+-# }
+-# target.path = $$PREFIX/bin
+-# INSTALLS += target
++ isEmpty(PREFIX) {
++ PREFIX = /usr
++ }
++ target.path = $$PREFIX/bin
++ INSTALLS += target
+ }
+ else {
+ TARGET = MEGAsync
diff --git a/pkgs/applications/misc/megasync/noinstall-distro-version.patch b/pkgs/applications/misc/megasync/noinstall-distro-version.patch
new file mode 100644
index 00000000000..bbf100737bc
--- /dev/null
+++ b/pkgs/applications/misc/megasync/noinstall-distro-version.patch
@@ -0,0 +1,13 @@
+Index: source/src/MEGASync/platform/platform.pri
+===================================================================
+--- source.orig/src/MEGASync/platform/platform.pri
++++ source/src/MEGASync/platform/platform.pri
+@@ -37,7 +37,7 @@ unix:!macx {
+ system(command -v lsb_release): version.commands = lsb_release -rs > $$version.target
+ version.files = $$version.target
+
+- INSTALLS += distro version
++ # INSTALLS += distro version
+
+ QT += dbus
+ SOURCES += $$PWD/linux/LinuxPlatform.cpp \
diff --git a/pkgs/applications/misc/memo/default.nix b/pkgs/applications/misc/memo/default.nix
index c112cf0c928..3749f568aef 100644
--- a/pkgs/applications/misc/memo/default.nix
+++ b/pkgs/applications/misc/memo/default.nix
@@ -7,15 +7,15 @@ assert pandocSupport -> pandoc != null;
stdenv.mkDerivation rec {
- name = "memo-${version}";
+ pname = "memo";
- version = "0.6";
+ version = "0.8";
src = fetchFromGitHub {
owner = "mrVanDalo";
repo = "memo";
- rev = "${version}";
- sha256 = "1cvjs36f6vxzfz5d63yhyw8j7gdw5hn6cfzccf7ag08lamjhfhbr";
+ rev = version;
+ sha256 = "0azx2bx6y7j0637fg3m8zigcw09zfm2mw9wjfg218sx88cm1wdkp";
};
installPhase = let
diff --git a/pkgs/applications/misc/menumaker/default.nix b/pkgs/applications/misc/menumaker/default.nix
index 56854e7863f..e06f2a88ade 100644
--- a/pkgs/applications/misc/menumaker/default.nix
+++ b/pkgs/applications/misc/menumaker/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
- name = "menumaker-${version}";
- version = "0.99.10";
+ pname = "menumaker";
+ version = "0.99.11";
src = fetchurl {
- url = "mirror://sourceforge/menumaker/${name}.tar.gz";
- sha256 = "1mm4cvg3kphkkd8nwrhcg6d9nm5ar7mgc0wf6fxk6zck1l7xn8ky";
+ url = "mirror://sourceforge/menumaker/${pname}-${version}.tar.gz";
+ sha256 = "0dprndnhwm7b803zkp4pisiq06ic9iv8vr42in5is47jmvdim0wx";
};
format = "other";
diff --git a/pkgs/applications/misc/merkaartor/default.nix b/pkgs/applications/misc/merkaartor/default.nix
index 70a6efb90dd..3023a5b5930 100644
--- a/pkgs/applications/misc/merkaartor/default.nix
+++ b/pkgs/applications/misc/merkaartor/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchFromGitHub, qmake, pkgconfig, boost, gdal, proj
+{ stdenv, fetchFromGitHub, makeWrapper, qmake, pkgconfig, boost, gdal, proj
, qtbase, qtsvg, qtwebkit }:
stdenv.mkDerivation rec {
- name = "merkaartor-${version}";
+ pname = "merkaartor";
version = "0.18.3";
src = fetchFromGitHub {
@@ -12,12 +12,19 @@ stdenv.mkDerivation rec {
sha256 = "0ls3q8m1hxiwyrypy6qca8wczhl4969ncl0sszfdwfv70rzxjk88";
};
- nativeBuildInputs = [ qmake pkgconfig ];
+ nativeBuildInputs = [ makeWrapper qmake pkgconfig ];
buildInputs = [ boost gdal proj qtbase qtsvg qtwebkit ];
enableParallelBuilding = true;
+ NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
+
+ postInstall = ''
+ wrapProgram $out/bin/merkaartor \
+ --set QT_QPA_PLATFORM_PLUGIN_PATH ${qtbase.bin}/lib/qt-*/plugins/platforms
+ '';
+
meta = with stdenv.lib; {
description = "OpenStreetMap editor";
homepage = http://merkaartor.be/;
diff --git a/pkgs/applications/misc/metamorphose2/default.nix b/pkgs/applications/misc/metamorphose2/default.nix
index 602d4a032ef..a81aec9d036 100644
--- a/pkgs/applications/misc/metamorphose2/default.nix
+++ b/pkgs/applications/misc/metamorphose2/default.nix
@@ -2,8 +2,8 @@
, python27, python2Packages
}:
-stdenv.mkDerivation rec {
- name = "metamorphose2-${version}";
+stdenv.mkDerivation {
+ pname = "metamorphose2";
version = "0.9.0beta";
# exif-py vendored via submodule
diff --git a/pkgs/applications/misc/michabo/default.nix b/pkgs/applications/misc/michabo/default.nix
new file mode 100644
index 00000000000..015a326fdc9
--- /dev/null
+++ b/pkgs/applications/misc/michabo/default.nix
@@ -0,0 +1,53 @@
+{ lib
+, mkDerivation
+, makeDesktopItem
+, fetchFromGitLab
+, qmake
+# qt
+, qtbase
+, qtwebsockets
+}:
+
+let
+ desktopItem = makeDesktopItem {
+ type = "Application";
+ name = "Michabo";
+ desktopName = "Michabo";
+ exec = "Michabo";
+ };
+
+in mkDerivation rec {
+ pname = "michabo";
+ version = "0.1";
+
+ src = fetchFromGitLab {
+ domain = "git.pleroma.social";
+ owner = "kaniini";
+ repo = "michabo";
+ rev = "v${version}";
+ sha256 = "0pl4ymdb36r0kwlclfjjp6b1qml3fm9ql7ag5inprny5y8vcjpzn";
+ };
+
+ nativeBuildInputs = [
+ qmake
+ ];
+ buildInputs = [
+ qtbase
+ qtwebsockets
+ ];
+
+ qmakeFlags = [ "michabo.pro" "DESTDIR=${placeholder "out"}/bin" ];
+
+ postInstall = ''
+ ln -s ${desktopItem}/share $out/share
+ '';
+
+ meta = with lib; {
+ description = "A native desktop app for Pleroma and Mastodon servers";
+ homepage = "https://git.pleroma.social/kaniini/michabo";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ fgaz ];
+ platforms = platforms.all;
+ };
+}
+
diff --git a/pkgs/applications/misc/milu/default.nix b/pkgs/applications/misc/milu/default.nix
index 09c4d1db290..2eee9ad40c1 100644
--- a/pkgs/applications/misc/milu/default.nix
+++ b/pkgs/applications/misc/milu/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, unzip, pkgconfig, glib, llvmPackages }:
-stdenv.mkDerivation rec {
- name = "milu-nightly-${version}";
+stdenv.mkDerivation {
+ pname = "milu-nightly";
version = "2016-05-09";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/minder/default.nix b/pkgs/applications/misc/minder/default.nix
new file mode 100644
index 00000000000..4b92a43451a
--- /dev/null
+++ b/pkgs/applications/misc/minder/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchFromGitHub
+, pkgconfig, meson, ninja, python3
+, wrapGAppsHook, vala, shared-mime-info
+, cairo, pantheon, glib, gtk3, libxml2, libgee, libarchive
+, hicolor-icon-theme # for setup-hook
+}:
+
+stdenv.mkDerivation rec {
+ pname = "minder";
+ version = "1.5.0";
+
+ src = fetchFromGitHub {
+ owner = "phase1geo";
+ repo = pname;
+ rev = version;
+ sha256 = "0lhmv3z2jifv4cksxa27jigdfj9n81myjsxg38xp28fx5x3h8bzc";
+ };
+
+ nativeBuildInputs = [ pkgconfig meson ninja python3 wrapGAppsHook vala shared-mime-info ];
+ buildInputs = [ cairo pantheon.granite glib gtk3 libxml2 libgee libarchive hicolor-icon-theme ];
+
+ postPatch = ''
+ chmod +x meson/post_install.py
+ patchShebangs meson/post_install.py
+ '';
+
+ postFixup = ''
+ for x in $out/bin/*; do
+ ln -vrs $x "$out/bin/''${x##*.}"
+ done
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Mind-mapping application for Elementary OS";
+ homepage = "https://github.com/phase1geo/Minder";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ dtzWill ];
+ };
+}
+
diff --git a/pkgs/applications/misc/minergate-cli/default.nix b/pkgs/applications/misc/minergate-cli/default.nix
index 6aa7eea3d7e..eff93c8e99c 100644
--- a/pkgs/applications/misc/minergate-cli/default.nix
+++ b/pkgs/applications/misc/minergate-cli/default.nix
@@ -1,8 +1,8 @@
{ fetchurl, stdenv, dpkg, makeWrapper, openssl }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "8.2";
- name = "minergate-cli-${version}";
+ pname = "minergate-cli";
src = fetchurl {
url = "https://minergate.com/download/ubuntu-cli";
sha256 = "393c5ba236f6f92c449496fcda9509f4bfd3887422df98ffa59b3072124a99d8";
diff --git a/pkgs/applications/misc/minergate/default.nix b/pkgs/applications/misc/minergate/default.nix
index d11e889e932..a8402d97593 100644
--- a/pkgs/applications/misc/minergate/default.nix
+++ b/pkgs/applications/misc/minergate/default.nix
@@ -1,8 +1,8 @@
{ fetchurl, stdenv, dpkg, makeWrapper, fontconfig, freetype, openssl, xorg, xkeyboard_config }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "8.1";
- name = "minergate-${version}";
+ pname = "minergate";
src = fetchurl {
url = "https://minergate.com/download/ubuntu";
sha256 = "1dbbbb8e0735cde239fca9e82c096dcc882f6cecda20bba7c14720a614c16e13";
diff --git a/pkgs/applications/misc/mkgmap/build.xml.patch b/pkgs/applications/misc/mkgmap/build.xml.patch
new file mode 100644
index 00000000000..6ec40786b24
--- /dev/null
+++ b/pkgs/applications/misc/mkgmap/build.xml.patch
@@ -0,0 +1,11 @@
+--- a/build.xml 2019-08-26 23:22:55.104829846 +0300
++++ b/build.xml 2019-08-27 00:11:07.366257594 +0300
+@@ -227,7 +227,7 @@
+
+
+
+-
+
+
diff --git a/pkgs/applications/misc/mkgmap/default.nix b/pkgs/applications/misc/mkgmap/default.nix
new file mode 100644
index 00000000000..debcea78f55
--- /dev/null
+++ b/pkgs/applications/misc/mkgmap/default.nix
@@ -0,0 +1,57 @@
+{ stdenv, fetchurl, fetchsvn, jdk, jre, ant, makeWrapper }:
+
+let
+ fastutil = fetchurl {
+ url = "http://ivy.mkgmap.org.uk/repo/it.unimi.dsi/fastutil/6.5.15-mkg.1b/jars/fastutil.jar";
+ sha256 = "0d88m0rpi69wgxhnj5zh924q4zsvxq8m4ybk7m9mr3gz1hx0yx8c";
+ };
+ osmpbf = fetchurl {
+ url = "http://ivy.mkgmap.org.uk/repo/crosby/osmpbf/1.3.3/jars/osmpbf.jar";
+ sha256 = "0zb4pqkwly5z30ww66qhhasdhdrzwmrw00347yrbgyk2ii4wjad3";
+ };
+ protobuf = fetchurl {
+ url = "https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar";
+ sha256 = "0x6c4pbsizvk3lm6nxcgi1g2iqgrxcna1ip74lbn01f0fm2wdhg0";
+ };
+in
+
+stdenv.mkDerivation rec {
+ pname = "mkgmap";
+ version = "4289";
+
+ src = fetchsvn {
+ url = "https://svn.mkgmap.org.uk/mkgmap/mkgmap/trunk";
+ rev = version;
+ sha256 = "1sm1pw71q7z0jrxm8bcgm6xjl2mcidyibcf0a3m8fv2andidxrb4";
+ };
+
+ # This patch removes from the build process
+ # the automatic download of dependencies (see configurePhase)
+ patches = [ ./build.xml.patch ];
+
+ nativeBuildInputs = [ jdk ant makeWrapper ];
+
+ configurePhase = ''
+ mkdir -p lib/compile
+ cp ${fastutil} ${osmpbf} ${protobuf} lib/compile/
+ '';
+
+ buildPhase = "ant";
+
+ installPhase = ''
+ cd dist
+ install -Dm644 mkgmap.jar $out/share/java/mkgmap/mkgmap.jar
+ install -Dm644 doc/mkgmap.1 $out/share/man/man1/mkgmap.1
+ cp -r lib/ $out/share/java/mkgmap/
+ makeWrapper ${jre}/bin/java $out/bin/mkgmap \
+ --add-flags "-jar $out/share/java/mkgmap/mkgmap.jar"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Create maps for Garmin GPS devices from OpenStreetMap (OSM) data";
+ homepage = "http://www.mkgmap.org.uk";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ sikmir ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/misc/mlterm/default.nix b/pkgs/applications/misc/mlterm/default.nix
index 2cfa6010853..303b9fe5e8b 100644
--- a/pkgs/applications/misc/mlterm/default.nix
+++ b/pkgs/applications/misc/mlterm/default.nix
@@ -1,22 +1,22 @@
{ stdenv, fetchurl, pkgconfig, autoconf, makeDesktopItem
-, libX11, gdk_pixbuf, cairo, libXft, gtk3, vte
+, libX11, gdk-pixbuf, cairo, libXft, gtk3, vte
, harfbuzz #substituting glyphs with opentype fonts
, fribidi, m17n_lib #bidi and encoding
, openssl, libssh2 #build-in ssh
}:
stdenv.mkDerivation rec {
- name = "mlterm-${version}";
+ pname = "mlterm";
version = "3.8.8";
src = fetchurl {
- url = "mirror://sourceforge/project/mlterm/01release/${name}/${name}.tar.gz";
+ url = "mirror://sourceforge/project/mlterm/01release/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "1jq3fv2wqhszfipkzj8d0lykr6g0zzksn7xy4d3kwincmzfskv7k";
};
nativeBuildInputs = [ pkgconfig autoconf ];
buildInputs = [
- libX11 gdk_pixbuf.dev cairo libXft gtk3 vte
+ libX11 gdk-pixbuf.dev cairo libXft gtk3 vte
harfbuzz fribidi m17n_lib openssl libssh2
];
@@ -71,7 +71,7 @@ stdenv.mkDerivation rec {
install -D -t $out/share/applications $desktopItem/share/applications/*
'';
- desktopItem = makeDesktopItem rec {
+ desktopItem = makeDesktopItem {
name = "mlterm";
exec = "mlterm %U";
icon = "mlterm";
diff --git a/pkgs/applications/misc/moolticute/default.nix b/pkgs/applications/misc/moolticute/default.nix
new file mode 100644
index 00000000000..e734e44a2e0
--- /dev/null
+++ b/pkgs/applications/misc/moolticute/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchurl
+, libusb1, pkgconfig, qmake, qtbase, qttools, qtwebsockets
+}:
+
+stdenv.mkDerivation rec {
+ pname = "moolticute";
+ version = "0.30.8";
+
+ src = fetchurl {
+ url = "https://github.com/mooltipass/moolticute/archive/v${version}.tar.gz";
+ sha256 = "1qi18r2v0mpw1y007vjgzhiia89fpgsbg2wirxgngl21yxdns1pf";
+ };
+
+ preConfigure = "mkdir -p build && cd build";
+ nativeBuildInputs = [ pkgconfig qmake qttools ];
+ qmakeFlags = [ "../Moolticute.pro" ];
+
+ outputs = [ "out" "udev" ];
+ preInstall = ''
+ mkdir -p $udev/lib/udev/rules.d
+ sed -n '/^ \+cat > "$tmpfile" <<- EOF$/,/^EOF$/p' ../data/moolticute.sh |
+ sed '1d;$d' > $udev/lib/udev/rules.d/50-mooltipass.rules
+ '';
+
+ buildInputs = [ libusb1 qtbase qtwebsockets ];
+
+ meta = with stdenv.lib; {
+ description = "GUI app and daemon to work with Mooltipass device via USB";
+ longDescription = ''
+ To install udev rules, add `services.udev.packages == [ moolticute.udev ]`
+ into `nixos/configuration.nix`.
+ '';
+ homepage = https://github.com/mooltipass/moolticute;
+ license = licenses.gpl3Plus;
+ maintainers = [ maintainers.kirikaza ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/moonlight-embedded/default.nix b/pkgs/applications/misc/moonlight-embedded/default.nix
index 5f314d19dda..08f510a2840 100644
--- a/pkgs/applications/misc/moonlight-embedded/default.nix
+++ b/pkgs/applications/misc/moonlight-embedded/default.nix
@@ -5,14 +5,14 @@
}:
stdenv.mkDerivation rec {
- name = "moonlight-embedded-${version}";
- version = "2.4.9";
+ pname = "moonlight-embedded";
+ version = "2.4.10";
src = fetchFromGitHub {
owner = "irtimmer";
repo = "moonlight-embedded";
rev = "v${version}";
- sha256 = "1mzs0dr6bg57kjyxjh48hfmlsil7fvgqf9lhjzxxj3llvpxwws86";
+ sha256 = "0m5i3q3hbjl51cndjpz5hxi3br6fvpn1fzdv0f6lxjxgw9z32413";
fetchSubmodules = true;
};
diff --git a/pkgs/applications/misc/mop/default.nix b/pkgs/applications/misc/mop/default.nix
index b9179bbe546..c0d41cda02d 100644
--- a/pkgs/applications/misc/mop/default.nix
+++ b/pkgs/applications/misc/mop/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
- name = "mop-${version}";
+ pname = "mop";
version = "0.2.0";
rev = "bc666ec165d08b43134f7ec0bf29083ad5466243";
diff --git a/pkgs/applications/misc/mpvc/default.nix b/pkgs/applications/misc/mpvc/default.nix
index fffa9595262..35de284c0ba 100644
--- a/pkgs/applications/misc/mpvc/default.nix
+++ b/pkgs/applications/misc/mpvc/default.nix
@@ -1,6 +1,6 @@
{ stdenv, socat, fetchFromGitHub, makeWrapper }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "mpvc-unstable-2017-03-18";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/mqtt-bench/default.nix b/pkgs/applications/misc/mqtt-bench/default.nix
index eea166d8df7..0e8cc2ebcea 100644
--- a/pkgs/applications/misc/mqtt-bench/default.nix
+++ b/pkgs/applications/misc/mqtt-bench/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchpatch }:
buildGoPackage rec {
- name = "mqtt-bench-${version}";
+ pname = "mqtt-bench";
version = "0.3.0";
rev = "v${version}";
diff --git a/pkgs/applications/misc/mupdf/default.nix b/pkgs/applications/misc/mupdf/default.nix
index 38f5075d10f..ddd325214b2 100644
--- a/pkgs/applications/misc/mupdf/default.nix
+++ b/pkgs/applications/misc/mupdf/default.nix
@@ -14,24 +14,17 @@ let
in stdenv.mkDerivation rec {
- version = "1.14.0";
- name = "mupdf-${version}";
+ version = "1.16.1";
+ pname = "mupdf";
src = fetchurl {
- url = "https://mupdf.com/downloads/archive/${name}-source.tar.gz";
- sha256 = "093p7lv6pgyymagn28n58fs0np928r0i5p2az9cc4gwccwx4hhy4";
+ url = "https://mupdf.com/downloads/archive/${pname}-${version}-source.tar.gz";
+ sha256 = "0iz4ickj52fxjp8crg573kjrl4viq279g589isdpgpckslysf7g7";
};
patches =
# Use shared libraries to decrease size
- [( fetchpatch
- {
- name = "CVE-2018-18662";
- url = "http://git.ghostscript.com/?p=mupdf.git;a=patch;h=164ddc22ee0d5b63a81d5148f44c37dd132a9356";
- sha256 = "1jkzh20n3b854871h86cy5y7fvy0d5wyqy51b3fg6gj3a0jqpzzd";
- }
- )]
- ++ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.14-shared_libs.patch
+ stdenv.lib.optional (!stdenv.isDarwin) ./mupdf-1.14-shared_libs.patch
++ stdenv.lib.optional stdenv.isDarwin ./darwin.patch
;
diff --git a/pkgs/applications/misc/mwic/default.nix b/pkgs/applications/misc/mwic/default.nix
index c08a21e8797..249d9ff1d40 100644
--- a/pkgs/applications/misc/mwic/default.nix
+++ b/pkgs/applications/misc/mwic/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.7.7";
- name = "mwic-${version}";
+ pname = "mwic";
src = fetchurl {
- url = "https://github.com/jwilk/mwic/releases/download/${version}/${name}.tar.gz";
+ url = "https://github.com/jwilk/mwic/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "0l4anwiiqclymx0awwn4hzaj8n26ycg8nz76wjphsyscn7z2awad";
};
diff --git a/pkgs/applications/misc/mysql-workbench/default.nix b/pkgs/applications/misc/mysql-workbench/default.nix
index cccd36d7ead..172f999223a 100644
--- a/pkgs/applications/misc/mysql-workbench/default.nix
+++ b/pkgs/applications/misc/mysql-workbench/default.nix
@@ -14,7 +14,6 @@ let
in stdenv.mkDerivation rec {
pname = "mysql-workbench";
version = "8.0.15";
- name = "${pname}-${version}";
src = fetchurl {
url = "http://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-${version}-src.tar.gz";
diff --git a/pkgs/applications/misc/mystem/default.nix b/pkgs/applications/misc/mystem/default.nix
new file mode 100644
index 00000000000..deecc92d993
--- /dev/null
+++ b/pkgs/applications/misc/mystem/default.nix
@@ -0,0 +1,26 @@
+{stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ pname = "mystem";
+ version = "3.1";
+
+ src = fetchurl {
+ url = "http://download.cdn.yandex.net/mystem/${pname}-${version}-linux-64bit.tar.gz";
+ sha256 = "0q3vxvyj5bqllqnlivy5llss39z7j0bgpn6kv8mrc54vjdhppx10";
+ };
+
+ buildCommand = ''
+ tar -xaf "$src"
+ mkdir -p $out/bin
+ install -Dm755 mystem $out/bin/mystem
+ patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) $out/bin/mystem
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Morphological analysis of Russian text";
+ homepage = https://yandex.ru/dev/mystem/;
+ license = licenses.unfreeRedistributable;
+ maintainers = with maintainers; [ abbradar ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/misc/nanoblogger/default.nix b/pkgs/applications/misc/nanoblogger/default.nix
index 022829040b8..b4d97c368ea 100644
--- a/pkgs/applications/misc/nanoblogger/default.nix
+++ b/pkgs/applications/misc/nanoblogger/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "3.5-rc1";
- name = "nanoblogger-${version}";
+ pname = "nanoblogger";
src = fetchurl {
- url = "mirror://sourceforge/nanoblogger/${name}.tar.gz";
+ url = "mirror://sourceforge/nanoblogger/${pname}-${version}.tar.gz";
sha256 = "09mv52a5f0h3das8x96irqyznm69arfskx472b7w3b9q4a2ipxbq";
};
diff --git a/pkgs/applications/misc/navit/default.nix b/pkgs/applications/misc/navit/default.nix
index 8dc288c0162..4d95f0b5238 100644
--- a/pkgs/applications/misc/navit/default.nix
+++ b/pkgs/applications/misc/navit/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, gtk2, fontconfig, freetype, imlib2
, SDL_image, libGLU_combined, libXmu, freeglut, pcre, dbus, dbus-glib, glib
-, librsvg, freeimage, libxslt, cairo, gdk_pixbuf, pango
+, librsvg, freeimage, libxslt, cairo, gdk-pixbuf, pango
, atk, patchelf, fetchurl, bzip2, python, gettext, quesoglc
, gd, cmake, shapelib, SDL_ttf, fribidi, makeWrapper
, qtquickcontrols, qtmultimedia, qtspeech, qtsensors
@@ -17,7 +17,7 @@ assert speechdSupport -> speechd != null;
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "navit-${version}";
+ pname = "navit";
version = "0.5.3";
src = fetchFromGitHub {
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
gtk2 fontconfig freetype imlib2 libGLU_combined freeimage
libxslt libXmu freeglut python gettext quesoglc gd
fribidi pcre dbus dbus-glib librsvg shapelib glib
- cairo gdk_pixbuf pango atk
+ cairo gdk-pixbuf pango atk
] ++ optionals sdlSupport [ SDL SDL_ttf SDL_image ]
++ optional postgresqlSupport postgresql
++ optional speechdSupport speechd
diff --git a/pkgs/applications/misc/neap/default.nix b/pkgs/applications/misc/neap/default.nix
index 21a5ab0cd0f..4104d35cf10 100644
--- a/pkgs/applications/misc/neap/default.nix
+++ b/pkgs/applications/misc/neap/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, python2Packages }:
stdenv.mkDerivation rec {
- name = "neap-${version}";
+ pname = "neap";
version = "0.7.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/netsurf/browser/default.nix b/pkgs/applications/misc/netsurf/browser/default.nix
index 1b800f65434..c1ba5ba23b1 100644
--- a/pkgs/applications/misc/netsurf/browser/default.nix
+++ b/pkgs/applications/misc/netsurf/browser/default.nix
@@ -1,71 +1,85 @@
-{ stdenv, fetchurl, pkgconfig, libpng, openssl, curl, gtk2, check, SDL
-, libxml2, libidn, perl, nettools, perlPackages
-, libXcursor, libXrandr, makeWrapper
+{ stdenv, fetchurl, fetchpatch, makeWrapper, wrapGAppsHook
+
+# Buildtime dependencies.
+
+, check, pkgconfig, xxd
+
+# Runtime dependencies.
+
+, curl, expat, libXcursor, libXrandr, libidn, libjpeg, libpng, libwebp, libxml2
+, openssl, perl, perlPackages
+
+# uilib-specific dependencies
+
+, gtk2 # GTK 2
+, SDL # Framebuffer
+
+# Configuration
+
, uilib ? "framebuffer"
-, buildsystem
-, nsgenbind
-, libnsfb
-, libwapcaplet
-, libparserutils
-, libcss
-, libhubbub
-, libdom
-, libnsbmp
-, libnsgif
-, libnsutils
-, libutf8proc
+
+# Netsurf-specific dependencies
+
+, libcss, libdom, libhubbub, libnsbmp, libnsfb, libnsgif
+, libnslog, libnspsl, libnsutils, libparserutils, libsvgtiny, libutf8proc
+, libwapcaplet, nsgenbind
}:
+let
+ inherit (stdenv.lib) optional optionals;
+in
stdenv.mkDerivation rec {
- name = "netsurf-${version}";
- version = "3.5";
-
- # UI libs incldue Framebuffer, and gtk
+ pname = "netsurf";
+ version = "3.9";
src = fetchurl {
url = "http://download.netsurf-browser.org/netsurf/releases/source/netsurf-${version}-src.tar.gz";
- sha256 = "1k0x8mzgavfy7q9kywl6kzsc084g1xlymcnsxi5v6jp279nsdwwq";
+ sha256 = "1hzcm2s2wh5sapgr000lg63hcdbj6hyajxl43xa1x80kc5piqbyp";
};
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libpng openssl curl gtk2 check libxml2 libidn perl
- nettools perlPackages.HTMLParser libXcursor libXrandr makeWrapper SDL
- buildsystem
- nsgenbind
- libnsfb
- libwapcaplet
- libparserutils
- libcss
- libhubbub
- libdom
- libnsbmp
- libnsgif
- libnsutils
+ patches = [
+ # GTK: prefer using curl's intrinsic defaults for CURLOPT_CA*
+ (fetchpatch {
+ name = "0001-GTK-prefer-using-curl-s-intrinsic-defaults-for-CURLO.patch";
+ url = "http://source.netsurf-browser.org/netsurf.git/patch/?id=87177d8aa109206d131e0d80a2080ce55dab01c7";
+ sha256 = "08bc60pc5k5qpckqv21zgmgszj3rpwskfc84shs8vg92vkimv2ai";
+ })
+ ];
+
+ nativeBuildInputs = [
+ makeWrapper
+ perl
+ perlPackages.HTMLParser
+ pkgconfig
+ xxd
+ ]
+ ++ optional (uilib == "gtk") wrapGAppsHook
+ ;
+
+ buildInputs = [
+ check curl libXcursor libXrandr libidn libjpeg libpng libwebp libxml2 openssl
+ # Netsurf-specific libraries
+ nsgenbind libnsfb libwapcaplet libparserutils libnslog libcss
+ libhubbub libdom libnsbmp libnsgif libsvgtiny libnsutils libnspsl
libutf8proc
- ];
+ ]
+ ++ optionals (uilib == "framebuffer") [ expat SDL ]
+ ++ optional (uilib == "gtk") gtk2
+ ;
preConfigure = ''
cat < Makefile.conf
- override NETSURF_GTK_RESOURCES := $out/share/Netsurf/${uilib}/res
+ override NETSURF_GTK_RES_PATH := $out/share/
override NETSURF_USE_GRESOURCE := YES
EOF
'';
makeFlags = [
- "PREFIX=$(out)"
- "NSSHARED=${buildsystem}/share/netsurf-buildsystem"
+ "PREFIX=${placeholder "out"}"
"TARGET=${uilib}"
];
- installPhase = ''
- mkdir -p $out/bin $out/share/Netsurf/${uilib}
- cmd=$(case "${uilib}" in framebuffer) echo nsfb;; gtk) echo nsgtk;; esac)
- cp $cmd $out/bin/netsurf
- wrapProgram $out/bin/netsurf --set NETSURFRES $out/share/Netsurf/${uilib}/res
- tar -hcf - ${uilib}/res | (cd $out/share/Netsurf/ && tar -xvpf -)
- '';
-
meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
description = "Free opensource web browser";
diff --git a/pkgs/applications/misc/netsurf/buildsystem/default.nix b/pkgs/applications/misc/netsurf/buildsystem/default.nix
index 882bb75219d..36d5a70735a 100644
--- a/pkgs/applications/misc/netsurf/buildsystem/default.nix
+++ b/pkgs/applications/misc/netsurf/buildsystem/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
- name = "netsurf-buildsystem-${version}";
- version = "1.7";
+ pname = "netsurf-buildsystem";
+ version = "1.8";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/buildsystem-${version}.tar.gz";
- sha256 = "1q23aaycv35ma5471l1gxib8lfq2s9kprrkaqgfc926d04rlbmhw";
+ sha256 = "0ffdjwskxlnh8sk40qqfgksbb1nrdzfxsshrscra0p4nqpkj98z6";
};
makeFlags = [
diff --git a/pkgs/applications/misc/netsurf/libcss/default.nix b/pkgs/applications/misc/netsurf/libcss/default.nix
index e97452249bc..55538925abd 100644
--- a/pkgs/applications/misc/netsurf/libcss/default.nix
+++ b/pkgs/applications/misc/netsurf/libcss/default.nix
@@ -8,11 +8,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libcss";
- version = "0.6.0";
+ version = "0.9.0";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "0qp4p1q1dwgdra4pkrzd081zjzisxkgwx650ijx323j8bj725daf";
+ sha256 = "1vw9j3d2mr4wbvs8fyqmgslkbxknvac10456775hflxxcivbm3xr";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libdom/default.nix b/pkgs/applications/misc/netsurf/libdom/default.nix
index 50a6dadadb5..de92219e7f9 100644
--- a/pkgs/applications/misc/netsurf/libdom/default.nix
+++ b/pkgs/applications/misc/netsurf/libdom/default.nix
@@ -9,11 +9,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libdom";
- version = "0.3.0";
+ version = "0.4.0";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "1kk6qbqagx5ypiy9kf0059iqdzyz8fqaw336vzhb5gnrzjw3wv4a";
+ sha256 = "1ixkqsl3f7dl1kajksm0c231w1v5xy8z6hm3v67hgm9nh4qcvfcy";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libhubbub/default.nix b/pkgs/applications/misc/netsurf/libhubbub/default.nix
index 71519687151..03ee66fc598 100644
--- a/pkgs/applications/misc/netsurf/libhubbub/default.nix
+++ b/pkgs/applications/misc/netsurf/libhubbub/default.nix
@@ -7,11 +7,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libhubbub";
- version = "0.3.3";
+ version = "0.3.6";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "101781iw32p47386fxqr01nrkywi12w17ajh02k2vlga4z8zyv86";
+ sha256 = "1x3v7xvagx85v9h3pypzc86rcxs4mij87mmcqkp8pq50q6awfmnp";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libnsbmp/default.nix b/pkgs/applications/misc/netsurf/libnsbmp/default.nix
index 7e99f8f5b86..b0fb18c89b1 100644
--- a/pkgs/applications/misc/netsurf/libnsbmp/default.nix
+++ b/pkgs/applications/misc/netsurf/libnsbmp/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libnsbmp";
- version = "0.1.3";
+ version = "0.1.5";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "0gmvzw1whh7553d6s98vr4ri2whjwrgggcq1z5b160gwjw20mzyy";
+ sha256 = "0lib2m07d1i0k80m4blkwnj0g7rha4jbm5vrgd0wwbkyfa0hvk35";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libnsfb/default.nix b/pkgs/applications/misc/netsurf/libnsfb/default.nix
index 24235f43a11..29b0a7867db 100644
--- a/pkgs/applications/misc/netsurf/libnsfb/default.nix
+++ b/pkgs/applications/misc/netsurf/libnsfb/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libnsfb";
- version = "0.1.4";
+ version = "0.2.1";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "176f8why9gzbaca9nnxjqasl02qzc6g507z5w3dzkcjifnkz4mzl";
+ sha256 = "09qag9lgn5ahanbcyf2rvfmsz15vazfwnl8xpn8f1iczd44b0bv0";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libnsgif/default.nix b/pkgs/applications/misc/netsurf/libnsgif/default.nix
index 836bfd5f3e0..4de882243fe 100644
--- a/pkgs/applications/misc/netsurf/libnsgif/default.nix
+++ b/pkgs/applications/misc/netsurf/libnsgif/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libnsgif";
- version = "0.1.3";
+ version = "0.2.1";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "1a4z45gh0fw4iybf34fig725av25h31ffk0azi0snzh4130cklnk";
+ sha256 = "0jwshypgmx16xlsbx3d8njk8a5khazlplca5mxd3rdbhrlsabbly";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libnslog/default.nix b/pkgs/applications/misc/netsurf/libnslog/default.nix
new file mode 100644
index 00000000000..497630c9aa6
--- /dev/null
+++ b/pkgs/applications/misc/netsurf/libnslog/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, pkgconfig, bison, flex
+, buildsystem
+}:
+
+stdenv.mkDerivation rec {
+
+ name = "netsurf-${libname}-${version}";
+ libname = "libnslog";
+ version = "0.1.2";
+
+ src = fetchurl {
+ url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
+ sha256 = "1ggs6xvxp8fbg5w8pifalipm458ygr9ab6j2yvj8fnnmxwvdh4jd";
+ };
+
+ nativeBuildInputs = [ pkgconfig bison flex ];
+ buildInputs = [
+ buildsystem
+ ];
+
+ makeFlags = [
+ "PREFIX=$(out)"
+ "NSSHARED=${buildsystem}/share/netsurf-buildsystem"
+ ];
+
+ meta = with stdenv.lib; {
+ homepage = http://www.netsurf-browser.org/;
+ description = "NetSurf Parametric Logging Library";
+ license = licenses.mit;
+ maintainers = [ maintainers.samueldr ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/netsurf/libnspsl/default.nix b/pkgs/applications/misc/netsurf/libnspsl/default.nix
new file mode 100644
index 00000000000..f0abbdc049a
--- /dev/null
+++ b/pkgs/applications/misc/netsurf/libnspsl/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchurl, pkgconfig
+, buildsystem
+}:
+
+stdenv.mkDerivation rec {
+
+ name = "netsurf-${libname}-${version}";
+ libname = "libnspsl";
+ version = "0.1.5";
+
+ src = fetchurl {
+ url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
+ sha256 = "0siq8zjfxv75i9fw6q5hkaijpdm1w3zskd5qk6vsvz8cqan4vifd";
+ };
+
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [
+ buildsystem
+ ];
+
+ makeFlags = [
+ "PREFIX=$(out)"
+ "NSSHARED=${buildsystem}/share/netsurf-buildsystem"
+ ];
+
+ meta = with stdenv.lib; {
+ homepage = http://www.netsurf-browser.org/;
+ description = "NetSurf Public Suffix List - Handling library";
+ license = licenses.mit;
+ maintainers = [ maintainers.samueldr ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/netsurf/libnsutils/default.nix b/pkgs/applications/misc/netsurf/libnsutils/default.nix
index 1e8dbe27137..3eaa882cb73 100644
--- a/pkgs/applications/misc/netsurf/libnsutils/default.nix
+++ b/pkgs/applications/misc/netsurf/libnsutils/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libnsutils";
- version = "0.0.2";
+ version = "0.0.5";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "03p4xmd08yhj70nyj7acjccmmshs59lv4n4zsqpsn5lgkwa23lzy";
+ sha256 = "09w1rixps1iiq6wirjwxmd6h87llvjzvw565rahjb3rlyhcplfqf";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libparserutils/default.nix b/pkgs/applications/misc/netsurf/libparserutils/default.nix
index ed9433b9f57..ea9d7c9ea85 100644
--- a/pkgs/applications/misc/netsurf/libparserutils/default.nix
+++ b/pkgs/applications/misc/netsurf/libparserutils/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libparserutils";
- version = "0.2.3";
+ version = "0.2.4";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "01gzlsabgl6x0icd8758d9jqs8rrf9574bdkjainn04w3fs3znf5";
+ sha256 = "1n2794y2l0c8nv8z2pxwfnbn882987ifmxjv60zdxkhcndhswarj";
};
buildInputs = [ buildsystem perl ];
diff --git a/pkgs/applications/misc/netsurf/libsvgtiny/default.nix b/pkgs/applications/misc/netsurf/libsvgtiny/default.nix
new file mode 100644
index 00000000000..9a4f922c2b6
--- /dev/null
+++ b/pkgs/applications/misc/netsurf/libsvgtiny/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchurl, pkgconfig, gperf
+, buildsystem
+, libdom
+, libhubbub
+, libparserutils
+, libwapcaplet
+}:
+
+stdenv.mkDerivation rec {
+
+ name = "netsurf-${libname}-${version}";
+ libname = "libsvgtiny";
+ version = "0.1.7";
+
+ src = fetchurl {
+ url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
+ sha256 = "10bpkmvfpydj74im3r6kqm9vnvgib6afy0alx71q5n0w5yawy39c";
+ };
+
+ nativeBuildInputs = [ pkgconfig gperf ];
+ buildInputs = [
+ buildsystem
+ libdom
+ libhubbub
+ libparserutils
+ libwapcaplet
+ ];
+
+ makeFlags = [
+ "PREFIX=$(out)"
+ "NSSHARED=${buildsystem}/share/netsurf-buildsystem"
+ ];
+
+ meta = with stdenv.lib; {
+ homepage = http://www.netsurf-browser.org/;
+ description = "NetSurf SVG decoder";
+ license = licenses.mit;
+ maintainers = [ maintainers.samueldr ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/netsurf/libutf8proc/default.nix b/pkgs/applications/misc/netsurf/libutf8proc/default.nix
index a905f3a12a8..2144ccd3303 100644
--- a/pkgs/applications/misc/netsurf/libutf8proc/default.nix
+++ b/pkgs/applications/misc/netsurf/libutf8proc/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libutf8proc";
- version = "1.3.1";
+ version = "2.4.0-1";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "0xf659y3c6ikjnip47r30wv796a34d71p6qhc4xjs64iqszm1sbq";
+ sha256 = "0wn409laqaqlqnz2d77419b5rya99vvc696vj187biy1i5livaq1";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/netsurf/libwapcaplet/default.nix b/pkgs/applications/misc/netsurf/libwapcaplet/default.nix
index 509cbeb4503..ad59b1be10e 100644
--- a/pkgs/applications/misc/netsurf/libwapcaplet/default.nix
+++ b/pkgs/applications/misc/netsurf/libwapcaplet/default.nix
@@ -6,11 +6,11 @@ stdenv.mkDerivation rec {
name = "netsurf-${libname}-${version}";
libname = "libwapcaplet";
- version = "0.3.0";
+ version = "0.4.2";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/${libname}-${version}-src.tar.gz";
- sha256 = "0cs1dd2afjgc3wf5gqg434hv6jdabrp9qvlpl4dp53nhkyfywna3";
+ sha256 = "1fjwzbn7j8bi1b9bvwxsy3i2cr6byq2s2d29866801pjnf528g86";
};
buildInputs = [ buildsystem ];
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
"NSSHARED=${buildsystem}/share/netsurf-buildsystem"
];
+ NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
+
meta = with stdenv.lib; {
homepage = http://www.netsurf-browser.org/;
description = "String internment library for netsurf browser";
diff --git a/pkgs/applications/misc/netsurf/nsgenbind/default.nix b/pkgs/applications/misc/netsurf/nsgenbind/default.nix
index 971e16848ae..88ac4f0c3eb 100644
--- a/pkgs/applications/misc/netsurf/nsgenbind/default.nix
+++ b/pkgs/applications/misc/netsurf/nsgenbind/default.nix
@@ -5,12 +5,12 @@
stdenv.mkDerivation rec {
- name = "netsurf-nsgenbind-${version}";
- version = "0.3";
+ pname = "netsurf-nsgenbind";
+ version = "0.7";
src = fetchurl {
url = "http://download.netsurf-browser.org/libs/releases/nsgenbind-${version}-src.tar.gz";
- sha256 = "16xsazly7gxwywmlkf2xix9b924sj3skhgdak7218l0nc62a08gg";
+ sha256 = "0rplmky4afsjwiwh7grkmcdmzg86zksa55j93dvq92f91yljwqqq";
};
buildInputs = [ buildsystem flex bison ];
diff --git a/pkgs/applications/misc/nix-tour/default.nix b/pkgs/applications/misc/nix-tour/default.nix
index 1cc7f419aa2..31afed3061a 100644
--- a/pkgs/applications/misc/nix-tour/default.nix
+++ b/pkgs/applications/misc/nix-tour/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, electron, runtimeShell } :
stdenv.mkDerivation rec {
- name = "nix-tour-${version}";
+ pname = "nix-tour";
version = "0.0.1";
buildInputs = [ electron ];
diff --git a/pkgs/applications/misc/nixnote2/default.nix b/pkgs/applications/misc/nixnote2/default.nix
index 145abfba5d5..dec8b4ba0a7 100644
--- a/pkgs/applications/misc/nixnote2/default.nix
+++ b/pkgs/applications/misc/nixnote2/default.nix
@@ -2,7 +2,7 @@
, qtbase, qtwebkit, poppler, qmake, hunspell, html-tidy}:
mkDerivation rec {
- name = "nixnote2-${version}";
+ pname = "nixnote2";
version = "2.0.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/noice/default.nix b/pkgs/applications/misc/noice/default.nix
index bcf2edd8f2f..6cc5dc9066d 100644
--- a/pkgs/applications/misc/noice/default.nix
+++ b/pkgs/applications/misc/noice/default.nix
@@ -3,13 +3,13 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "noice-${version}";
- version = "0.6";
+ pname = "noice";
+ version = "0.8";
src = fetchgit {
url = "git://git.2f30.org/noice.git";
rev = "refs/tags/v${version}";
- sha256 = "03rwglcy47fh6rb630vws10m95bxpcfv47nxrlws2li2ljam8prw";
+ sha256 = "0975j4m93s9a21pazwdzn4gqhkngwq7q6ghp0q8a75r6c4fb7aar";
};
configFile = optionalString (conf!=null) (builtins.toFile "config.def.h" conf);
diff --git a/pkgs/applications/misc/notejot/default.nix b/pkgs/applications/misc/notejot/default.nix
index a732a5ed536..b359088d6ba 100644
--- a/pkgs/applications/misc/notejot/default.nix
+++ b/pkgs/applications/misc/notejot/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchFromGitHub, pkgconfig, meson, ninja, python3, pantheon
-, gtk3, gtksourceview, json-glib, gnome3, wrapGAppsHook }:
+, gtk3, gtksourceview, json-glib, libgee, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "notejot";
- version = "1.5.5";
+ version = "1.5.8";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
- sha256 = "0khf6mwidybfgnq4zmhf3af4w6aicipmi12fvs722fqlf1lrkdmd";
+ sha256 = "1v7f4xy5iwdjyf4416qpiwzifi68n466faia1hxzsq18fb1ri0af";
};
nativeBuildInputs = [
@@ -22,16 +22,15 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- gnome3.libgee
gtk3
gtksourceview
json-glib
+ libgee
pantheon.elementary-icon-theme
pantheon.granite
];
postPatch = ''
- chmod +x meson/post_install.py
patchShebangs meson/post_install.py
'';
diff --git a/pkgs/applications/misc/notify-osd-customizable/default.nix b/pkgs/applications/misc/notify-osd-customizable/default.nix
index d4f3db4ca6f..4568c3e8acc 100644
--- a/pkgs/applications/misc/notify-osd-customizable/default.nix
+++ b/pkgs/applications/misc/notify-osd-customizable/default.nix
@@ -13,7 +13,7 @@
let baseURI = "https://launchpad.net/~leolik/+archive/leolik";
in stdenv.mkDerivation rec {
- name = "notify-osd-${version}";
+ pname = "notify-osd";
version = "0.9.35+16.04.20160415";
src = fetchurl {
diff --git a/pkgs/applications/misc/notify-osd/default.nix b/pkgs/applications/misc/notify-osd/default.nix
index 5c60c7412c4..484ff62e9e6 100644
--- a/pkgs/applications/misc/notify-osd/default.nix
+++ b/pkgs/applications/misc/notify-osd/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, glib, libwnck3, libnotify, dbus-glib, makeWrapper, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "notify-osd-${version}";
+ pname = "notify-osd";
version = "0.9.34";
src = fetchurl {
diff --git a/pkgs/applications/misc/nrsc5/default.nix b/pkgs/applications/misc/nrsc5/default.nix
index 69f74d66dd0..3ad83776842 100644
--- a/pkgs/applications/misc/nrsc5/default.nix
+++ b/pkgs/applications/misc/nrsc5/default.nix
@@ -13,7 +13,8 @@ let
version = "1.0";
in stdenv.mkDerivation {
- name = "nrsc5-${version}";
+ pname = "nrsc5";
+ inherit version;
src = fetchFromGitHub {
owner = "theori-io";
diff --git a/pkgs/applications/misc/nut/default.nix b/pkgs/applications/misc/nut/default.nix
index 816918ca063..ec5ee031a5b 100644
--- a/pkgs/applications/misc/nut/default.nix
+++ b/pkgs/applications/misc/nut/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, neon, libusb, openssl, udev, avahi, freeipmi
-, libtool, makeWrapper }:
+, libtool, makeWrapper, nss }:
stdenv.mkDerivation rec {
name = "nut-2.7.4";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "19r5dm07sfz495ckcgbfy0pasx0zy3faa0q7bih69lsjij8q43lq";
};
- buildInputs = [ neon libusb openssl udev avahi freeipmi libtool ];
+ buildInputs = [ neon libusb openssl udev avahi freeipmi libtool nss ];
nativeBuildInputs = [ pkgconfig makeWrapper ];
diff --git a/pkgs/applications/misc/octoprint/default.nix b/pkgs/applications/misc/octoprint/default.nix
index b8ed4c5ddbe..c0bacc2c50d 100644
--- a/pkgs/applications/misc/octoprint/default.nix
+++ b/pkgs/applications/misc/octoprint/default.nix
@@ -15,13 +15,8 @@ let
packageOverrides = lib.foldr lib.composeExtensions (self: super: { }) ([
(mkOverride "flask" "0.10.1" "0wrkavjdjndknhp8ya8j850jq7a1cli4g5a93mg8nh1xz2gq50sc")
(mkOverride "flask_login" "0.2.11" "1rg3rsjs1gwi2pw6vr9jmhaqm9b3vc9c4hfcsvp4y8agbh7g3mc3")
- (mkOverride "pylru" "1.0.9" "0b0pq0l7xv83dfsajsc49jcxzc99kb9jfx1a1dlx22hzcy962dvi")
- (mkOverride "sarge" "0.1.4" "08s8896973bz1gg0pkr592w6g4p6v47bkfvws5i91p9xf8b35yar")
(mkOverride "tornado" "4.5.3" "02jzd23l4r6fswmwxaica9ldlyc2p6q8dk6dyff7j58fmdzf853d")
- # https://github.com/NixOS/nixpkgs/pull/58179#issuecomment-478605134
- (mkOverride "werkzeug" "0.14.1" "c3fd7a7d41976d9f44db327260e263132466836cef6f91512889ed60ad26557c")
-
# Octoprint holds back jinja2 to 2.8.1 due to breaking changes.
# This old version does not have updated test config for pytest 4,
# and pypi tarball doesn't contain tests dir anyways.
@@ -43,16 +38,15 @@ let
"Flask-Assets"
"Flask-Babel"
"Flask-Principal"
- "PyYAML"
"emoji"
"flask"
"future"
"futures"
"monotonic"
+ "markdown"
"pkginfo"
"psutil"
"pyserial"
- "python-dateutil"
"requests"
"rsa"
"sarge"
@@ -60,19 +54,19 @@ let
"semantic_version"
"watchdog"
"websocket-client"
- "werkzeug"
"wrapt"
+ "sentry-sdk"
];
in py.pkgs.buildPythonApplication rec {
pname = "OctoPrint";
- version = "1.3.10";
+ version = "1.3.11";
src = fetchFromGitHub {
owner = "foosel";
repo = "OctoPrint";
rev = version;
- sha256 = "1pvh7ay76zrvfzcsadh3sl48sgf3by9vpiaqlrkscsw02zirx9r7";
+ sha256 = "1102ki1819wsmkfg4riz4i0hjlr3w6nsvk8wrzqq0lc0s5ycf4jx";
};
propagatedBuildInputs = with py.pkgs; [
@@ -80,8 +74,8 @@ in py.pkgs.buildPythonApplication rec {
semantic-version flask_principal werkzeug flaskbabel tornado
psutil pyserial flask_login netaddr markdown sockjs-tornado
pylru pyyaml sarge feedparser netifaces click websocket_client
- scandir chainmap future dateutil futures wrapt monotonic emoji
- frozendict
+ scandir chainmap future futures wrapt monotonic emoji
+ frozendict cachelib sentry-sdk typing
] ++ lib.optionals stdenv.isDarwin [ py.pkgs.appdirs ];
checkInputs = with py.pkgs; [ nose mock ddt ];
diff --git a/pkgs/applications/misc/octoprint/plugins.nix b/pkgs/applications/misc/octoprint/plugins.nix
index 327a59618c2..d8179e1b402 100644
--- a/pkgs/applications/misc/octoprint/plugins.nix
+++ b/pkgs/applications/misc/octoprint/plugins.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, octoprint, python2Packages }:
+{ stdenv, fetchFromGitHub, octoprint, python2Packages, marlin-calc }:
let
buildPlugin = args: python2Packages.buildPythonPackage (args // {
@@ -104,6 +104,93 @@ let
};
};
+ curaenginelegacy = buildPlugin rec {
+ pname = "CuraEngineLegacy";
+ version = "1.0.2";
+
+ src = fetchFromGitHub {
+ owner = "OctoPrint";
+ repo = "OctoPrint-${pname}";
+ rev = version;
+ sha256 = "1cdb276wfyf3wcfj5g3migd6b6aqmkrxncrqjfcfx4j4k3xac965";
+ };
+
+ meta = with stdenv.lib; {
+ description = "Plugin for slicing via Cura Legacy from within OctoPrint";
+ homepage = "https://github.com/OctoPrint/OctoPrint-CuraEngineLegacy";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ gebner ];
+ };
+ };
+
+ touchui = buildPlugin rec {
+ pname = "TouchUI";
+ version = "0.3.13";
+
+ src = fetchFromGitHub {
+ owner = "BillyBlaze";
+ repo = "OctoPrint-${pname}";
+ rev = version;
+ sha256 = "0qk12ysabdzy6cna3l4f8v3qcnppppwxxsjx2i0xn1nd0cv6yzwh";
+ };
+
+ meta = with stdenv.lib; {
+ description = "Touch friendly interface for a small TFT module or phone for OctoPrint";
+ homepage = "https://github.com/BillyBlaze/OctoPrint-TouchUI";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ gebner ];
+ };
+ };
+
+ psucontrol = buildPlugin rec {
+ pname = "PSUControl";
+ version = "0.1.8";
+
+ src = fetchFromGitHub {
+ owner = "kantlivelong";
+ repo = "OctoPrint-${pname}";
+ rev = version;
+ sha256 = "0aj38d7b7d5pzmzq841pip18cpg18wy2vrxq2nd13875597y54b8";
+ };
+
+ preConfigure = ''
+ # optional; RPi.GPIO is broken on vanilla kernels
+ sed /RPi.GPIO/d -i requirements.txt
+ '';
+
+ meta = with stdenv.lib; {
+ description = "OctoPrint plugin to control ATX/AUX power supply";
+ homepage = "https://github.com/kantlivelong/OctoPrint-PSUControl";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ gebner ];
+ };
+ };
+
+ printtimegenius = buildPlugin rec {
+ pname = "PrintTimeGenius";
+ version = "1.3.1";
+
+ src = fetchFromGitHub {
+ owner = "eyal0";
+ repo = "OctoPrint-${pname}";
+ rev = version;
+ sha256 = "0ijv1nxmikv06a00hqqkqri6wnydqh6lwcx07pmvw6jy706jhy28";
+ };
+
+ preConfigure = ''
+ # PrintTimeGenius ships with marlin-calc binaries for multiple architectures
+ rm */analyzers/marlin-calc*
+ sed 's@"{}.{}".format(binary_base_name, machine)@"${marlin-calc}/bin/marlin-calc"@' -i */analyzers/analyze_progress.py
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Better print time estimation for OctoPrint";
+ homepage = "https://github.com/eyal0/OctoPrint-PrintTimeGenius";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ gebner ];
+ };
+ };
+
};
in self
diff --git a/pkgs/applications/misc/ola/default.nix b/pkgs/applications/misc/ola/default.nix
index e16d9354bb4..b9529981c7c 100644
--- a/pkgs/applications/misc/ola/default.nix
+++ b/pkgs/applications/misc/ola/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "ola-${version}";
+ pname = "ola";
version = "0.10.7";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/omegat.nix b/pkgs/applications/misc/omegat.nix
index 660b5db6105..27d7ad8730b 100644
--- a/pkgs/applications/misc/omegat.nix
+++ b/pkgs/applications/misc/omegat.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, unzip, jdk, makeWrapper}:
-stdenv.mkDerivation rec {
- version = "4.1.5.2";
+stdenv.mkDerivation {
+ version = "4.3.0";
pname = "omegat";
src = fetchurl { # their zip has repeated files or something, so no fetchzip
- url = mirror://sourceforge/project/omegat/OmegaT%20-%20Latest/OmegaT%204.1.5%20update%202/OmegaT_4.1.5_02_Beta_Without_JRE.zip;
- sha256 = "1mdnsvjgsccpd5xwpqzgva5jjp8yd1akq9aqpild4v6k70lqql2b";
+ url = mirror://sourceforge/project/omegat/OmegaT%20-%20Standard/OmegaT%204.3.0/OmegaT_4.3.0_Without_JRE.zip;
+ sha256 = "0axz7r30p34z5hgvdglznc82g7yvm3g56dv5190jixskx6ba58rs";
};
buildInputs = [ unzip makeWrapper ];
diff --git a/pkgs/applications/misc/onboard/default.nix b/pkgs/applications/misc/onboard/default.nix
index de2f86e9f9a..79e3317e64d 100644
--- a/pkgs/applications/misc/onboard/default.nix
+++ b/pkgs/applications/misc/onboard/default.nix
@@ -29,14 +29,22 @@
}:
let
- customHunspell = hunspellWithDicts [hunspellDicts.en-us];
+
+ customHunspell = hunspellWithDicts [
+ hunspellDicts.en-us
+ ];
+
majorVersion = "1.4";
+
+in
+
+python3.pkgs.buildPythonApplication rec {
+ pname = "onboard";
version = "${majorVersion}.1";
-in python3.pkgs.buildPythonApplication rec {
- name = "onboard-${version}";
+
src = fetchurl {
- url = "https://launchpad.net/onboard/${majorVersion}/${version}/+download/${name}.tar.gz";
- sha256 = "01cae1ac5b1ef1ab985bd2d2d79ded6fc99ee04b1535cc1bb191e43a231a3865";
+ url = "https://launchpad.net/onboard/${majorVersion}/${version}/+download/${pname}-${version}.tar.gz";
+ sha256 = "0r9q38ikmr4in4dwqd8m9gh9xjbgxnfxglnjbfcapw8ybfnf3jh1";
};
patches = [
@@ -48,9 +56,42 @@ in python3.pkgs.buildPythonApplication rec {
./hunspell-use-xdg-datadirs.patch
];
- # For tests
- LC_ALL = "en_US.UTF-8";
- doCheck = false;
+ nativeBuildInputs = [
+ gobject-introspection
+ intltool
+ pkgconfig
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ bash
+ glib
+ gnome3.dconf
+ gsettings-desktop-schemas
+ gtk3
+ hunspell
+ isocodes
+ libcanberra-gtk3
+ libxkbcommon
+ mousetweaks
+ udev
+ xorg.libXtst
+ xorg.libxkbfile
+ ] ++ stdenv.lib.optional atspiSupport at-spi2-core;
+
+ propagatedBuildInputs = with python3.pkgs; [
+ dbus-python
+ distutils_extra
+ pyatspi
+ pycairo
+ pygobject3
+ systemd
+ ];
+
+ propagatedUserEnvPkgs = [
+ gnome3.dconf
+ ];
+
checkInputs = [
# for Onboard.SpellChecker.aspell_cmd doctests
(aspellWithDicts (dicts: with dicts; [ en ]))
@@ -66,43 +107,10 @@ in python3.pkgs.buildPythonApplication rec {
python3.pkgs.nose
];
- propagatedBuildInputs = [
- glib
- python3
- python3.pkgs.dbus-python
- python3.pkgs.distutils_extra
- python3.pkgs.pyatspi
- python3.pkgs.pycairo
- python3.pkgs.pygobject3
- python3.pkgs.systemd
- ];
+ # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
+ strictDeps = false;
- buildInputs = [
- bash
- gnome3.dconf
- gsettings-desktop-schemas
- gtk3
- hunspell
- isocodes
- libcanberra-gtk3
- mousetweaks
- udev
- libxkbcommon
- wrapGAppsHook
- xorg.libXtst
- xorg.libxkbfile
- ] ++ stdenv.lib.optional atspiSupport at-spi2-core;
-
- nativeBuildInputs = [
- glibcLocales
- gobject-introspection # populate GI_TYPELIB_PATH
- intltool
- pkgconfig
- ];
-
- propagatedUserEnvPkgs = [
- gnome3.dconf
- ];
+ doCheck = false;
preBuild = ''
# Unnecessary file, has been removed upstream
@@ -118,6 +126,9 @@ in python3.pkgs.buildPythonApplication rec {
patchShebangs .
+ substituteInPlace setup.py \
+ --replace "/etc" "$out/etc"
+
substituteInPlace ./Onboard/LanguageSupport.py \
--replace "/usr/share/xml/iso-codes" "${isocodes}/share/xml/iso-codes" \
--replace "/usr/bin/yelp" "${yelp}/bin/yelp"
@@ -149,16 +160,22 @@ in python3.pkgs.buildPythonApplication rec {
--replace '"killall",' '"${procps}/bin/pkill", "-x",'
'';
- postInstall = ''
- cp onboard-default-settings.gschema.override.example $out/share/glib-2.0/schemas/10_onboard-default-settings.gschema.override
+ installPhase = ''
+ ${python3.interpreter} setup.py install --prefix="$out"
+ cp onboard-default-settings.gschema.override.example $out/share/glib-2.0/schemas/10_onboard-default-settings.gschema.override
glib-compile-schemas $out/share/glib-2.0/schemas/
'';
- meta = {
+ # Remove ubuntu icons.
+ postFixup = ''
+ rm -rf $out/share/icons/ubuntu-mono-*
+ '';
+
+ meta = with stdenv.lib; {
homepage = https://launchpad.net/onboard;
- description = "An onscreen keyboard useful for tablet PC users and for mobility impaired users.";
- maintainers = with stdenv.lib.maintainers; [ johnramsden ];
- license = stdenv.lib.licenses.gpl3;
+ description = "Onscreen keyboard useful for tablet PC users and for mobility impaired users";
+ maintainers = with maintainers; [ johnramsden ];
+ license = licenses.gpl3;
};
}
diff --git a/pkgs/applications/misc/oneko/default.nix b/pkgs/applications/misc/oneko/default.nix
index b87f11d7b05..3a0a548be0b 100644
--- a/pkgs/applications/misc/oneko/default.nix
+++ b/pkgs/applications/misc/oneko/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version_name = "1.2.sakura.5";
version = "1.2.5";
- name = "oneko-${version}";
+ pname = "oneko";
src = fetchurl {
url = "http://www.daidouji.com/oneko/distfiles/oneko-${version_name}.tar.gz";
sha256 = "2c2e05f1241e9b76f54475b5577cd4fb6670de058218d04a741a04ebd4a2b22f";
diff --git a/pkgs/applications/misc/openbox-menu/default.nix b/pkgs/applications/misc/openbox-menu/default.nix
index 8ff9a2f44d5..8f7f74f7123 100644
--- a/pkgs/applications/misc/openbox-menu/default.nix
+++ b/pkgs/applications/misc/openbox-menu/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, glib, gtk2, menu-cache }:
stdenv.mkDerivation rec {
- name = "openbox-menu-${version}";
+ pname = "openbox-menu";
version = "0.8.0";
src = fetchurl {
- url = "https://bitbucket.org/fabriceT/openbox-menu/downloads/${name}.tar.bz2";
+ url = "https://bitbucket.org/fabriceT/openbox-menu/downloads/${pname}-${version}.tar.bz2";
sha256 = "1hi4b6mq97y6ajq4hhsikbkk23aha7ikaahm92djw48mgj2f1w8l";
};
diff --git a/pkgs/applications/misc/opencpn/default.nix b/pkgs/applications/misc/opencpn/default.nix
index e4f2fd7ce8b..5c7e7355c66 100644
--- a/pkgs/applications/misc/opencpn/default.nix
+++ b/pkgs/applications/misc/opencpn/default.nix
@@ -2,7 +2,7 @@
gettext, glib, portaudio }:
stdenv.mkDerivation rec {
- name = "opencpn-${version}";
+ pname = "opencpn";
version = "5.0.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/opentx/default.nix b/pkgs/applications/misc/opentx/default.nix
index cd9a86e7fac..585c85cbd2c 100644
--- a/pkgs/applications/misc/opentx/default.nix
+++ b/pkgs/applications/misc/opentx/default.nix
@@ -10,7 +10,8 @@ let
in stdenv.mkDerivation {
- name = "opentx-${version}";
+ pname = "opentx";
+ inherit version;
src = fetchFromGitHub {
owner = "opentx";
diff --git a/pkgs/applications/misc/orca/default.nix b/pkgs/applications/misc/orca/default.nix
index 98ebde981c0..1a8d5b76fe3 100644
--- a/pkgs/applications/misc/orca/default.nix
+++ b/pkgs/applications/misc/orca/default.nix
@@ -1,7 +1,7 @@
{ stdenv, pkgconfig, fetchurl, buildPythonApplication
, autoreconfHook, wrapGAppsHook, gobject-introspection
, intltool, yelp-tools, itstool, libxmlxx3
-, python, pygobject3, gtk3, gnome3, substituteAll
+, python, pygobject3, gtk3, gnome3, substituteAll, hicolor-icon-theme
, at-spi2-atk, at-spi2-core, pyatspi, dbus, dbus-python, pyxdg
, xkbcomp, procps, lsof, coreutils, gsettings-desktop-schemas
, speechd, brltty, liblouis, setproctitle, gst_all_1, gst-python
@@ -31,6 +31,7 @@ buildPythonApplication rec {
nativeBuildInputs = [
autoreconfHook wrapGAppsHook pkgconfig libxmlxx3
intltool yelp-tools itstool gobject-introspection
+ hicolor-icon-theme # setup-hook
];
propagatedBuildInputs = [
@@ -63,7 +64,7 @@ buildPythonApplication rec {
access to the graphical desktop via speech and refreshable braille.
It works with applications and toolkits that support the Assistive
Technology Service Provider Interface (AT-SPI). That includes the GNOME
- Gtk+ toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and
+ GTK toolkit, the Java platform's Swing toolkit, LibreOffice, Gecko, and
WebKitGtk. AT-SPI support for the KDE Qt toolkit is being pursued.
Needs `services.gnome3.at-spi2-core.enable = true;` in `configuration.nix`.
diff --git a/pkgs/applications/misc/orpie/default.nix b/pkgs/applications/misc/orpie/default.nix
index bc6aa242f33..e404da974c4 100644
--- a/pkgs/applications/misc/orpie/default.nix
+++ b/pkgs/applications/misc/orpie/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ocamlPackages, ncurses, gsl }:
stdenv.mkDerivation rec {
- name = "orpie-${version}";
+ pname = "orpie";
version = "1.5.2";
src = fetchurl {
- url = "http://pessimization.com/software/orpie/${name}.tar.gz";
+ url = "http://pessimization.com/software/orpie/${pname}-${version}.tar.gz";
sha256 = "0v9xgpcf186ni55rkmx008msyszw0ypd6rd98hgwpih8yv3pymfy";
};
diff --git a/pkgs/applications/misc/osm2xmap/default.nix b/pkgs/applications/misc/osm2xmap/default.nix
index 5787adef2a3..8ffc8ec69fe 100644
--- a/pkgs/applications/misc/osm2xmap/default.nix
+++ b/pkgs/applications/misc/osm2xmap/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libroxml, proj, libyamlcpp, boost } :
stdenv.mkDerivation rec {
- name = "osm2xmap-${version}";
+ pname = "osm2xmap";
version = "2.0";
src = fetchFromGitHub {
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
"INSTALL_SHAREDIR=$(out)/share/"
];
+ NIX_CFLAGS_COMPILE = [ "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H" ];
+
installFlags = [ "DESTDIR=$(out)" ];
buildInputs = [ libroxml proj libyamlcpp boost ];
diff --git a/pkgs/applications/misc/osmctools/default.nix b/pkgs/applications/misc/osmctools/default.nix
index bb53782fb7d..2dfbb7a2370 100644
--- a/pkgs/applications/misc/osmctools/default.nix
+++ b/pkgs/applications/misc/osmctools/default.nix
@@ -16,8 +16,8 @@ let
in
-stdenv.mkDerivation rec {
- name = "osmctools-${version}";
+stdenv.mkDerivation {
+ pname = "osmctools";
version = "0.8.5plus1.4.0";
buildInputs = [ zlib ];
diff --git a/pkgs/applications/misc/osmium-tool/default.nix b/pkgs/applications/misc/osmium-tool/default.nix
index 2b35cb77038..616949af883 100644
--- a/pkgs/applications/misc/osmium-tool/default.nix
+++ b/pkgs/applications/misc/osmium-tool/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, libosmium, protozero, boost, bzip2, zlib, expat }:
stdenv.mkDerivation rec {
- name = "osmium-tool-${version}";
+ pname = "osmium-tool";
version = "1.10.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/overmind/default.nix b/pkgs/applications/misc/overmind/default.nix
index c1255b6152e..918924df0b9 100644
--- a/pkgs/applications/misc/overmind/default.nix
+++ b/pkgs/applications/misc/overmind/default.nix
@@ -1,25 +1,25 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
+{ lib, buildGoPackage, fetchFromGitHub, tmux, which, makeWrapper }:
buildGoPackage rec {
- name = "overmind-${version}";
- version = "2.0.1";
+ pname = "overmind";
+ version = "2.0.2";
goPackagePath = "github.com/DarthSim/overmind";
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
- wrapProgram "$bin/bin/overmind" --prefix PATH : "${stdenv.lib.makeBinPath [ tmux which ]}"
+ wrapProgram "$bin/bin/overmind" --prefix PATH : "${lib.makeBinPath [ tmux which ]}"
'';
src = fetchFromGitHub {
owner = "DarthSim";
- repo = "overmind";
+ repo = pname;
rev = "v${version}";
- sha256 = "1j3cpcfgacn5ic19sgrs1djn5jr4d7j7lxaz0vbaf414lrl76qz8";
+ sha256 = "0cns19gqkfxsiiyfxhb05cjp1iv2fb40x47gp8djrwwzcd1r6zxh";
};
- meta = with stdenv.lib; {
- homepage = https://github.com/DarthSim/overmind;
+ meta = with lib; {
+ homepage = "https://github.com/DarthSim/overmind";
description = "Process manager for Procfile-based applications and tmux";
license = with licenses; [ mit ];
maintainers = [ maintainers.adisbladis ];
diff --git a/pkgs/applications/misc/pcmanfm/default.nix b/pkgs/applications/misc/pcmanfm/default.nix
index 633c1d82159..c6cd118aea8 100644
--- a/pkgs/applications/misc/pcmanfm/default.nix
+++ b/pkgs/applications/misc/pcmanfm/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://blog.lxde.org/category/pcmanfm/;
license = licenses.gpl2Plus;
- description = "File manager with GTK+ interface";
+ description = "File manager with GTK interface";
maintainers = [ maintainers.ttuegel ];
platforms = platforms.linux;
};
diff --git a/pkgs/applications/misc/pcmanx-gtk2/default.nix b/pkgs/applications/misc/pcmanx-gtk2/default.nix
index 7fdfbd84d2f..17253173a5e 100644
--- a/pkgs/applications/misc/pcmanx-gtk2/default.nix
+++ b/pkgs/applications/misc/pcmanx-gtk2/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gtk2, libXft, intltool, automake, autoconf, libtool, pkgconfig }:
stdenv.mkDerivation rec {
- name = "pcmanx-gtk2-${version}";
+ pname = "pcmanx-gtk2";
version = "1.3";
src = fetchFromGitHub {
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://pcman.ptt.cc;
license = licenses.gpl2;
- description = "Telnet BBS browser with GTK+ interface";
+ description = "Telnet BBS browser with GTK interface";
maintainers = [ maintainers.sifmelcara ];
platforms = platforms.linux;
};
diff --git a/pkgs/applications/misc/pdf-quench/default.nix b/pkgs/applications/misc/pdf-quench/default.nix
index f604684b19a..9756d9b42b0 100644
--- a/pkgs/applications/misc/pdf-quench/default.nix
+++ b/pkgs/applications/misc/pdf-quench/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgs, pythonPackages, wrapGAppsHook}:
-pythonPackages.buildPythonApplication rec {
- name = "pdf-quench-${version}";
+pythonPackages.buildPythonApplication {
+ pname = "pdf-quench";
version = "1.0.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/pdfmod/default.nix b/pkgs/applications/misc/pdfmod/default.nix
index 45d83b5872f..90107be64c7 100644
--- a/pkgs/applications/misc/pdfmod/default.nix
+++ b/pkgs/applications/misc/pdfmod/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "pdfmod-${version}";
+ pname = "pdfmod";
version = "0.9.1";
src = fetchurl {
- url = "mirror://gnome/sources/pdfmod/0.9/pdfmod-${version}.tar.bz2";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.bz2";
sha256 = "eb7c987514a053106ddf03f26544766c751c801d87762909b36415d46bc425c9";
};
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
dontStrip = true;
meta = with stdenv.lib; {
- homepage = https://wiki.gnome.org/Apps/PdfMod;
+ homepage = "https://wiki.gnome.org/Attic/PdfMod";
description = "A simple application for modifying PDF documents";
platforms = platforms.all;
maintainers = with maintainers; [ obadz ];
diff --git a/pkgs/applications/misc/pdfpc/default.nix b/pkgs/applications/misc/pdfpc/default.nix
index 0e424a97d8d..c0dca056476 100644
--- a/pkgs/applications/misc/pdfpc/default.nix
+++ b/pkgs/applications/misc/pdfpc/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
name = "${product}-${version}";
product = "pdfpc";
- version = "4.3.2";
+ version = "4.3.4";
src = fetchFromGitHub {
repo = product;
owner = product;
rev = "v${version}";
- sha256 = "15y6g92fp6x6dwwhrhkfny5z20w7pq9c8w19fh2vzff9aa6m2h9z";
+ sha256 = "07aafsm4jzdgpahz83p0ajv40hry7gviyadqi13ahr8xdhhwy2sd";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/misc/pell/default.nix b/pkgs/applications/misc/pell/default.nix
index d55c7a2af12..fc4e5229c9c 100644
--- a/pkgs/applications/misc/pell/default.nix
+++ b/pkgs/applications/misc/pell/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "pell";
version = "0.0.4";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "ebzzry";
diff --git a/pkgs/applications/misc/perkeep/default.nix b/pkgs/applications/misc/perkeep/default.nix
index 8804e438b7e..ae81ef3c9f6 100644
--- a/pkgs/applications/misc/perkeep/default.nix
+++ b/pkgs/applications/misc/perkeep/default.nix
@@ -1,18 +1,37 @@
-{ buildGo110Package, fetchzip, lib }:
+{ buildGoPackage, fetchurl, fetchFromGitHub, lib }:
-buildGo110Package rec {
+let
+ gouiJS = fetchurl {
+ url = "https://storage.googleapis.com/perkeep-release/gopherjs/goui.js";
+ sha256 = "0xbkdpd900gnmzj8p0x38dn4sv170pdvgzcvzsq70s80p6ykkh6g";
+ };
+
+ publisherJS = fetchurl {
+ url = "https://storage.googleapis.com/perkeep-release/gopherjs/publisher.js";
+ sha256 = "09hd7p0xscqnh612jbrjvh3njmlm4292zd5sbqx2lg0aw688q8p2";
+ };
+
+in buildGoPackage rec {
name = "perkeep-${version}";
- version = "0.10.1";
+ version = "unstable-2019-07-29";
- src = fetchzip {
- url = "https://perkeep.org/dl/perkeep-${version}-src.zip";
- sha256 = "0rqibc6w4m1r50i2pjcgz1k9dxh18v7jwj4s29y470bc526wv422";
+ src = fetchFromGitHub {
+ owner = "perkeep";
+ repo = "perkeep";
+ rev = "c9f78d02adf9740f3b8d403a1418554293cc9f41";
+ sha256 = "11rin94pjzg0kvizrq9ss42fjw7wfwx3g1pk8zdlhyfkiwwh2rmg";
};
goPackagePath = "perkeep.org";
buildPhase = ''
cd "$NIX_BUILD_TOP/go/src/$goPackagePath"
+
+ # Skip network fetches
+ sed -i '/fetchAllJS/a if true { return nil }' make.go
+ cp ${publisherJS} app/publisher/publisher.js
+ cp ${gouiJS} server/perkeepd/ui/goui.js
+
go run make.go
'';
diff --git a/pkgs/applications/misc/pgadmin/default.nix b/pkgs/applications/misc/pgadmin/default.nix
index 7e7850668b8..86e10ae0943 100644
--- a/pkgs/applications/misc/pgadmin/default.nix
+++ b/pkgs/applications/misc/pgadmin/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchpatch, postgresql, wxGTK, libxml2, libxslt, openssl, zlib, makeDesktopItem }:
stdenv.mkDerivation rec {
- name = "pgadmin3-${version}";
+ pname = "pgadmin3";
version = "1.22.2";
src = fetchurl {
diff --git a/pkgs/applications/misc/pgmanage/default.nix b/pkgs/applications/misc/pgmanage/default.nix
index 113a63f7fe1..241d5786468 100644
--- a/pkgs/applications/misc/pgmanage/default.nix
+++ b/pkgs/applications/misc/pgmanage/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, postgresql, openssl } :
stdenv.mkDerivation rec {
- name = "pgmanage-${version}";
+ pname = "pgmanage";
version = "11.0.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/phwmon/default.nix b/pkgs/applications/misc/phwmon/default.nix
index 0cee74522ab..6fb70f1c9a2 100644
--- a/pkgs/applications/misc/phwmon/default.nix
+++ b/pkgs/applications/misc/phwmon/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitLab, pythonPackages }:
-stdenv.mkDerivation rec {
- name = "phwmon-${version}";
+stdenv.mkDerivation {
+ pname = "phwmon";
version = "2017-04-10";
src = fetchFromGitLab {
diff --git a/pkgs/applications/misc/plank/default.nix b/pkgs/applications/misc/plank/default.nix
index 8aff573ab83..dfc92e38f63 100644
--- a/pkgs/applications/misc/plank/default.nix
+++ b/pkgs/applications/misc/plank/default.nix
@@ -1,21 +1,43 @@
-{ stdenv, fetchurl, vala, atk, cairo, glib, gnome3, gtk3, libwnck3
-, libX11, libXfixes, libXi, pango, intltool, pkgconfig, libxml2
-, bamf, gdk_pixbuf, libdbusmenu-gtk3, file, gnome-menus, libgee
-, wrapGAppsHook, autoreconfHook, pantheon }:
+{ stdenv
+, fetchurl
+, vala
+, atk
+, cairo
+, glib
+, gnome3
+, gtk3
+, libwnck3
+, libX11
+, libXfixes
+, libXi
+, pango
+, gettext
+, pkgconfig
+, libxml2
+, bamf
+, gdk-pixbuf
+, libdbusmenu-gtk3
+, file
+, gnome-menus
+, libgee
+, wrapGAppsHook
+, autoreconfHook
+, pantheon
+}:
stdenv.mkDerivation rec {
pname = "plank";
- version = "0.11.4";
+ version = "0.11.89";
src = fetchurl {
url = "https://launchpad.net/${pname}/1.0/${version}/+download/${pname}-${version}.tar.xz";
- sha256 = "1f41i45xpqhjxql9nl4a1sz30s0j46aqdhbwbvgrawz6himcvdc8";
+ sha256 = "17cxlmy7n13jp1v8i4abxyx9hylzb39andhz3mk41ggzmrpa8qm6";
};
nativeBuildInputs = [
autoreconfHook
+ gettext
gnome3.gnome-common
- intltool
libxml2 # xmllint
pkgconfig
vala
@@ -26,7 +48,7 @@ stdenv.mkDerivation rec {
atk
bamf
cairo
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome-menus
gnome3.dconf
@@ -42,12 +64,14 @@ stdenv.mkDerivation rec {
# fix paths
makeFlags = [
- "INTROSPECTION_GIRDIR=${placeholder ''out''}/share/gir-1.0/"
- "INTROSPECTION_TYPELIBDIR=${placeholder ''out''}/lib/girepository-1.0"
+ "INTROSPECTION_GIRDIR=${placeholder "out"}/share/gir-1.0/"
+ "INTROSPECTION_TYPELIBDIR=${placeholder "out"}/lib/girepository-1.0"
];
# Make plank's application launcher hidden in Pantheon
- patches = [ ./hide-in-pantheon.patch ];
+ patches = [
+ ./hide-in-pantheon.patch
+ ];
postPatch = ''
substituteInPlace ./configure \
@@ -56,7 +80,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Elegant, simple, clean dock";
- homepage = https://launchpad.net/plank;
+ homepage = "https://launchpad.net/plank";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = with maintainers; [ davidak ] ++ pantheon.maintainers;
diff --git a/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix b/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
index b44169adea8..3ecace18f92 100644
--- a/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
+++ b/pkgs/applications/misc/plasma-applet-volumewin7mixer/default.nix
@@ -1,7 +1,7 @@
{ stdenv, cmake, extra-cmake-modules, plasma-framework, kwindowsystem, plasma-pa, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "plasma-applet-volumewin7mixer-${version}";
+ pname = "plasma-applet-volumewin7mixer";
version = "24";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/playonlinux/default.nix b/pkgs/applications/misc/playonlinux/default.nix
index e5c096fd2ae..48188574ad4 100644
--- a/pkgs/applications/misc/playonlinux/default.nix
+++ b/pkgs/applications/misc/playonlinux/default.nix
@@ -55,7 +55,8 @@ let
libs = pkgs: stdenv.lib.makeLibraryPath [ xorg.libX11 libGL ];
in stdenv.mkDerivation {
- name = "playonlinux-${version}";
+ pname = "playonlinux";
+ inherit version;
src = fetchurl {
url = "https://www.playonlinux.com/script_files/PlayOnLinux/${version}/PlayOnLinux_${version}.tar.gz";
diff --git a/pkgs/applications/misc/plover/default.nix b/pkgs/applications/misc/plover/default.nix
index 0bd28811d55..8021ffdc8f5 100644
--- a/pkgs/applications/misc/plover/default.nix
+++ b/pkgs/applications/misc/plover/default.nix
@@ -2,7 +2,7 @@
{
stable = with python27Packages; buildPythonPackage rec {
- name = "plover-${version}";
+ pname = "plover";
version = "3.1.1";
meta = with stdenv.lib; {
@@ -24,7 +24,7 @@
};
dev = with python36Packages; buildPythonPackage rec {
- name = "plover-${version}";
+ pname = "plover";
version = "4.0.0.dev8";
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/pmenu/default.nix b/pkgs/applications/misc/pmenu/default.nix
index 4b39e9291a8..bd3796a572b 100644
--- a/pkgs/applications/misc/pmenu/default.nix
+++ b/pkgs/applications/misc/pmenu/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitLab, python2Packages, gnome-menus }:
-stdenv.mkDerivation rec {
- name = "pmenu-${version}";
+stdenv.mkDerivation {
+ pname = "pmenu";
version = "2018-01-01";
src = fetchFromGitLab {
diff --git a/pkgs/applications/misc/polar-bookshelf/default.nix b/pkgs/applications/misc/polar-bookshelf/default.nix
index 11c643fac2c..8413f8c8f10 100644
--- a/pkgs/applications/misc/polar-bookshelf/default.nix
+++ b/pkgs/applications/misc/polar-bookshelf/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, makeWrapper, fetchurl
, dpkg, wrapGAppsHook, autoPatchelfHook
-, gtk3, cairo, gnome2, atk, gdk_pixbuf, glib
+, gtk3, cairo, gnome2, atk, gdk-pixbuf, glib
, at-spi2-atk, dbus, libX11, libxcb, libXi
, libXcursor, libXdamage, libXrandr, libXcomposite
, libXext, libXfixes, libXrender, libXtst, libXScrnSaver
@@ -9,7 +9,7 @@
stdenv.mkDerivation rec {
- name = "polar-bookshelf-${version}";
+ pname = "polar-bookshelf";
version = "1.13.10";
# fetching a .deb because there's no easy way to package this Electron app
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
cairo
gnome2.pango
atk
- gdk_pixbuf
+ gdk-pixbuf
at-spi2-atk
dbus
libX11
@@ -48,10 +48,10 @@ stdenv.mkDerivation rec {
expat
];
- nativeBuildInputs = [
+ nativeBuildInputs = [
wrapGAppsHook
autoPatchelfHook
- makeWrapper
+ makeWrapper
dpkg
];
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
mv usr/share/* $out/share/
ln -s $out/share/polar-bookshelf/polar-bookshelf $out/bin/polar-bookshelf
-
+
# Correct desktop file `Exec`
substituteInPlace $out/share/applications/polar-bookshelf.desktop \
--replace "/opt/Polar Bookshelf/polar-bookshelf" "$out/bin/polar-bookshelf"
diff --git a/pkgs/applications/misc/polybar/default.nix b/pkgs/applications/misc/polybar/default.nix
index e6507845d4c..9ca8c696184 100644
--- a/pkgs/applications/misc/polybar/default.nix
+++ b/pkgs/applications/misc/polybar/default.nix
@@ -26,17 +26,18 @@ assert i3GapsSupport -> ! i3Support && jsoncpp != null && i3-gaps != null;
stdenv.mkDerivation rec {
pname = "polybar";
- version = "3.3.1";
+ version = "3.4.0";
src = fetchFromGitHub {
owner = "jaagr";
repo = pname;
rev = version;
- sha256 = "0qwi6q3qkrz2ip1jd4pxlnsrs2a9ywxyf8rgvbzyilr334rsiywh";
+ sha256 = "1g3zj0788cdlm8inpl19279bw8zjcy7dzj7q4f1l2d8c8g1jhv0m";
fetchSubmodules = true;
};
meta = with stdenv.lib; {
+ homepage = "https://polybar.github.io/";
description = "A fast and easy-to-use tool for creating status bars";
longDescription = ''
Polybar aims to help users build beautiful and highly customizable
@@ -68,8 +69,8 @@ stdenv.mkDerivation rec {
];
postConfigure = ''
- substituteInPlace ../include/settings.hpp --replace \
- "${stdenv.cc}" "${stdenv.cc.name}"
+ substituteInPlace generated-sources/settings.hpp \
+ --replace "${stdenv.cc}" "${stdenv.cc.name}"
'';
postInstall = if (i3Support || i3GapsSupport) then ''
diff --git a/pkgs/applications/misc/posterazor/default.nix b/pkgs/applications/misc/posterazor/default.nix
index 45db856dbb9..7209ee3e400 100644
--- a/pkgs/applications/misc/posterazor/default.nix
+++ b/pkgs/applications/misc/posterazor/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, cmake, unzip, pkgconfig, libXpm, fltk13, freeimage }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "posterazor-1.5.1";
src = fetchurl {
diff --git a/pkgs/applications/misc/projectlibre/default.nix b/pkgs/applications/misc/projectlibre/default.nix
index 5ba8e1b6e31..344c3d7168a 100644
--- a/pkgs/applications/misc/projectlibre/default.nix
+++ b/pkgs/applications/misc/projectlibre/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, ant, jdk, makeWrapper, jre, coreutils, which }:
stdenv.mkDerivation rec {
- name = "projectlibre-${version}";
+ pname = "projectlibre";
version = "1.7.0";
src = fetchgit {
diff --git a/pkgs/applications/misc/prusa-slicer/default.nix b/pkgs/applications/misc/prusa-slicer/default.nix
new file mode 100644
index 00000000000..a795c448516
--- /dev/null
+++ b/pkgs/applications/misc/prusa-slicer/default.nix
@@ -0,0 +1,89 @@
+{ stdenv, lib, fetchFromGitHub, makeWrapper, cmake, pkgconfig
+, boost, curl, expat, glew, libpng, tbb, wxGTK30
+, gtest, nlopt, xorg, makeDesktopItem
+}:
+let
+ nloptVersion = if lib.hasAttr "version" nlopt
+ then lib.getAttr "version" nlopt
+ else "2.4";
+in
+stdenv.mkDerivation rec {
+ pname = "prusa-slicer";
+ version = "2.0.0";
+
+ enableParallelBuilding = true;
+
+ nativeBuildInputs = [
+ cmake
+ makeWrapper
+ pkgconfig
+ ];
+
+ # We could add Eigen, but it doesn't currently compile with the version in
+ # nixpkgs.
+ buildInputs = [
+ boost
+ curl
+ expat
+ glew
+ libpng
+ tbb
+ wxGTK30
+ xorg.libX11
+ ] ++ checkInputs;
+
+ checkInputs = [ gtest ];
+
+ # The build system uses custom logic - defined in
+ # xs/src/libnest2d/cmake_modules/FindNLopt.cmake in the package source -
+ # for finding the nlopt library, which doesn't pick up the package in the nix store.
+ # We need to set the path via the NLOPT environment variable instead.
+ NLOPT = nlopt;
+
+ prePatch = ''
+ # In nix ioctls.h isn't available from the standard kernel-headers package
+ # on other distributions. As the copy in glibc seems to be identical to the
+ # one in the kernel, we use that one instead.
+ sed -i 's|"/usr/include/asm-generic/ioctls.h"||g' src/libslic3r/GCodeSender.cpp
+ '' + lib.optionalString (lib.versionOlder "2.5" nloptVersion) ''
+ # Since version 2.5.0 of nlopt we need to link to libnlopt, as libnlopt_cxx
+ # now seems to be integrated into the main lib.
+ sed -i 's|nlopt_cxx|nlopt|g' src/libnest2d/cmake_modules/FindNLopt.cmake
+ '';
+
+ src = fetchFromGitHub {
+ owner = "prusa3d";
+ repo = "PrusaSlicer";
+ sha256 = "135wn2sza2f2kvbja1haxil5kx1b74lc1i7dsa35i1y3phabykhz";
+ rev = "version_${version}";
+ };
+
+ cmakeFlags = [
+ "-DSLIC3R_FHS=1"
+ "-DSLIC3R_WX_STABLE=1" # necessary when compiling against wxGTK 3.0
+ ];
+
+ postInstall = ''
+ mkdir -p "$out/share/pixmaps/"
+ ln -s "$out/share/PrusaSlicer/icons/PrusaSlicer.png" "$out/share/pixmaps/PrusaSlicer.png"
+ mkdir -p "$out/share/applications"
+ cp "$desktopItem"/share/applications/* "$out/share/applications/"
+ '';
+
+ desktopItem = makeDesktopItem {
+ name = "PrusaSlicer";
+ exec = "prusa-slicer";
+ icon = "PrusaSlicer";
+ comment = "G-code generator for 3D printers";
+ desktopName = "PrusaSlicer";
+ genericName = "3D printer tool";
+ categories = "Application;Development;";
+ };
+
+ meta = with stdenv.lib; {
+ description = "G-code generator for 3D printer";
+ homepage = https://github.com/prusa3d/PrusaSlicer;
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ tweber ];
+ };
+}
diff --git a/pkgs/applications/misc/pt/default.nix b/pkgs/applications/misc/pt/default.nix
index 6f9078bb50a..f5504721987 100644
--- a/pkgs/applications/misc/pt/default.nix
+++ b/pkgs/applications/misc/pt/default.nix
@@ -1,15 +1,17 @@
-{ lib, bundlerApp }:
+{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "pt";
gemdir = ./.;
exes = [ "pt" ];
+ passthru.updateScript = bundlerUpdateScript "pt";
+
meta = with lib; {
description = "Minimalist command-line Pivotal Tracker client";
homepage = http://www.github.com/raul/pt;
license = licenses.mit;
- maintainers = with maintainers; [ ebzzry manveru ];
+ maintainers = with maintainers; [ ebzzry manveru nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/pyditz/default.nix b/pkgs/applications/misc/pyditz/default.nix
new file mode 100644
index 00000000000..0f4e743aba4
--- /dev/null
+++ b/pkgs/applications/misc/pyditz/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, pythonPackages }:
+
+pythonPackages.buildPythonApplication rec {
+ pname = "pyditz";
+ version = "0.10.3";
+
+ src = pythonPackages.fetchPypi {
+ inherit pname version;
+ sha256 = "0hxxz7kxv9gsrr86ccsc31g7bc2agw1ihbxhd659c2m6nrqq5qaf";
+ };
+ nativeBuildInputs = [ pythonPackages.setuptools_scm ];
+ propagatedBuildInputs = with pythonPackages; [ pyyaml six jinja2 cerberus11 ];
+
+ checkPhase = ''
+ ${pythonPackages.python.interpreter} -m unittest discover
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://pythonhosted.org/pyditz/;
+ description = "Drop-in replacement for the Ditz distributed issue tracker";
+ maintainers = [ maintainers.ilikeavocadoes ];
+ license = licenses.lgpl2;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/pytrainer/default.nix b/pkgs/applications/misc/pytrainer/default.nix
index cdeca96568d..7c560cacda1 100644
--- a/pkgs/applications/misc/pytrainer/default.nix
+++ b/pkgs/applications/misc/pytrainer/default.nix
@@ -1,38 +1,45 @@
-{ stdenv, fetchFromGitHub, perl, python, sqlite, gpsbabel
-, withWebKit ? false }:
+{ stdenv
+, fetchFromGitHub
+, perl
+, python3
+, sqlite
+, gpsbabel
+, gnome3
+, gobject-introspection
+, wrapGAppsHook
+, gtk3
+, xvfb_run
+, webkitgtk
+, glib-networking
+, glibcLocales
+, tzdata
+, substituteAll
+}:
let
-
- # Pytrainer needs a matplotlib with GTK backend. Also ensure we are
- # using the pygtk with glade support as needed by pytrainer.
- matplotlibGtk = python.pkgs.matplotlib.override {
- enableGtk2 = true;
- pygtk = python.pkgs.pyGtkGlade;
+ # Pytrainer needs a matplotlib with GTK backend.
+ matplotlibGtk = python3.pkgs.matplotlib.override {
+ enableGtk3 = true;
};
in
-python.pkgs.buildPythonApplication rec {
- name = "pytrainer-${version}";
- version = "1.12.1";
+python3.pkgs.buildPythonApplication rec {
+ pname = "pytrainer";
+ version = "2.0.0";
src = fetchFromGitHub {
owner = "pytrainer";
repo = "pytrainer";
rev = "v${version}";
- sha256 = "0rzf8kks96qzlknh6g3b9pjq04j7qk6rmz58scp7sck8xz9rjbwx";
+ sha256 = "1w5z1xwb2g6j2izm89b7lv9n92r1zhsr8bglxcn7jc5gwbvwysvd";
};
- namePrefix = "";
-
patches = [
- # The test fails in the UTC timezone and C locale.
- ./fix-test-tz.patch
-
- # The existing use of pywebkitgtk shows raw HTML text instead of
- # map. This patch solves the problems by showing the file from a
- # string, which allows setting an explicit MIME type.
- ./pytrainer-webkit.patch
+ (substituteAll {
+ src = ./fix-paths.patch;
+ perl = "${perl}/bin/perl";
+ })
];
postPatch = ''
@@ -40,18 +47,40 @@ python.pkgs.buildPythonApplication rec {
--replace "'mysqlclient'," ""
'';
- propagatedBuildInputs = with python.pkgs; [
- dateutil lxml matplotlibGtk pyGtkGlade sqlalchemy sqlalchemy_migrate psycopg2
- ] ++ stdenv.lib.optional withWebKit [ pywebkitgtk ];
+ propagatedBuildInputs = with python3.pkgs; [
+ dateutil
+ lxml
+ matplotlibGtk
+ pygobject3
+ sqlalchemy
+ sqlalchemy_migrate
+ psycopg2
+ requests
+ certifi
+ ];
- buildInputs = [ perl gpsbabel sqlite ];
+ nativeBuildInputs = [
+ gobject-introspection
+ wrapGAppsHook
+ xvfb_run
+ ];
- # This package contains no binaries to patch or strip.
- dontPatchELF = true;
- dontStrip = true;
+ buildInputs = [
+ gpsbabel
+ sqlite
+ gtk3
+ webkitgtk
+ glib-networking
+ glibcLocales
+ gnome3.adwaita-icon-theme
+ ];
checkPhase = ''
- ${python.interpreter} -m unittest discover
+ env HOME=$TEMPDIR TZDIR=${tzdata}/share/zoneinfo \
+ TZ=Europe/Kaliningrad \
+ LC_ALL=en_US.UTF-8 \
+ xvfb-run -s '-screen 0 800x600x24' \
+ ${python3.interpreter} setup.py test
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/pytrainer/fix-paths.patch b/pkgs/applications/misc/pytrainer/fix-paths.patch
new file mode 100644
index 00000000000..7781f5aa4be
--- /dev/null
+++ b/pkgs/applications/misc/pytrainer/fix-paths.patch
@@ -0,0 +1,11 @@
+--- a/imports/file_garminfit.py
++++ b/imports/file_garminfit.py
+@@ -81,7 +81,7 @@
+ logging.debug(">>")
+ result = False
+ try:
+- result = subprocess.check_output(["perl",
++ result = subprocess.check_output(["@perl@",
+ self.main_data_path+"plugins/garmin-fit/bin/fit2tcx",
+ filename])
+ except subprocess.CalledProcessError:
diff --git a/pkgs/applications/misc/pytrainer/fix-test-tz.patch b/pkgs/applications/misc/pytrainer/fix-test-tz.patch
deleted file mode 100644
index ca487576901..00000000000
--- a/pkgs/applications/misc/pytrainer/fix-test-tz.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Nurp source.orig/pytrainer/test/core/test_activity.py source/pytrainer/test/core/test_activity.py
---- source.orig/pytrainer/test/core/test_activity.py 2018-02-27 22:15:32.078243354 +0100
-+++ source/pytrainer/test/core/test_activity.py 2018-02-27 22:16:33.936867052 +0100
-@@ -92,7 +92,7 @@ class ActivityTest(unittest.TestCase):
- self.assertEquals(self.activity.time, self.activity.duration)
-
- def test_activity_starttime(self):
-- self.assertEquals(self.activity.starttime, '12:58:23 PM')
-+ self.assertEquals(self.activity.starttime, '12:58:23')
-
- def test_activity_time_tuple(self):
- self.assertEquals(self.activity.time_tuple, (2, 3, 46))
-diff -Nurp source.orig/pytrainer/test/imports/test_garmintcxv2.py source/pytrainer/test/imports/test_garmintcxv2.py
---- source.orig/pytrainer/test/imports/test_garmintcxv2.py 2018-02-27 22:15:32.079243364 +0100
-+++ source/pytrainer/test/imports/test_garmintcxv2.py 2018-02-27 22:17:10.778333751 +0100
-@@ -39,7 +39,7 @@ class GarminTCXv2Test(unittest.TestCase)
- self.fail()
-
- def test_workout_summary(self):
-- summary = [(0, False, '2012-10-14T12:02:42', '10.12', '00:39:51', 'Running')]
-+ summary = [(0, False, '2012-10-14T10:02:42', '10.12', '00:39:51', 'Running')]
- try:
- current_path = os.path.dirname(os.path.abspath(__file__))
- data_path = os.path.dirname(os.path.dirname(os.path.dirname(current_path))) + "/"
-@@ -52,7 +52,7 @@ class GarminTCXv2Test(unittest.TestCase)
- self.fail()
-
- def test_summary_in_database(self):
-- summary = [(0, True, '2012-10-14T12:02:42', '10.12', '00:39:51', 'Running')]
-+ summary = [(0, True, '2012-10-14T10:02:42', '10.12', '00:39:51', 'Running')]
- activity = Activity(date_time_utc='2012-10-14T10:02:42Z', sport_id='1')
- self.ddbb.session.add(activity)
- self.ddbb.session.commit(
-diff -Nurp source.orig/pytrainer/test/lib/test_date.py source/pytrainer/test/lib/test_date.py
---- source.orig/pytrainer/test/lib/test_date.py 2018-05-10 21:15:22.196275555 +0200
-+++ source/pytrainer/test/lib/test_date.py 2018-05-10 21:22:43.647870401 +0200
-@@ -47,7 +47,7 @@ class DateFunctionTest(unittest.TestCase
- def test_getDateTime(self):
- utctime, localtime = getDateTime('Tue Nov 24 17:29:05 UTC 2015')
- self.assertEqual(datetime.datetime(2015, 11, 24, 17, 29, 5, tzinfo=tzutc()), utctime)
-- self.assertEqual(datetime.datetime(2015, 11, 24, 19, 29, 5, tzinfo=tzlocal()), localtime)
-+ self.assertEqual(datetime.datetime(2015, 11, 24, 17, 29, 5, tzinfo=tzlocal()), localtime)
-
- class DateRangeTest(unittest.TestCase):
-
diff --git a/pkgs/applications/misc/pytrainer/pytrainer-webkit.patch b/pkgs/applications/misc/pytrainer/pytrainer-webkit.patch
deleted file mode 100644
index 0f894c46a53..00000000000
--- a/pkgs/applications/misc/pytrainer/pytrainer-webkit.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nurp pytrainer-1.10.0-orig/pytrainer/extensions/mapviewer.py pytrainer-1.10.0/pytrainer/extensions/mapviewer.py
---- pytrainer-1.10.0-orig/pytrainer/extensions/mapviewer.py 2013-03-31 12:28:29.000000000 +0200
-+++ pytrainer-1.10.0/pytrainer/extensions/mapviewer.py 2014-12-22 11:44:44.367032126 +0100
-@@ -46,7 +46,9 @@ class MapViewer:
- logging.debug(">>")
- if htmlfile is None:
- htmlfile = self.createErrorHtml()
-- self.wkview.load_uri("file://%s" % (htmlfile))
-+ content = open(htmlfile, 'r').read()
-+ self.wkview.load_string(content, 'text/html', 'UTF-8', 'file:///')
-+ #self.wkview.load_uri("file://%s" % (htmlfile))
- #self.box.show_all()
- logging.debug("<<")
-
diff --git a/pkgs/applications/misc/qMasterPassword/default.nix b/pkgs/applications/misc/qMasterPassword/default.nix
index e0a1e33dc62..97751127342 100644
--- a/pkgs/applications/misc/qMasterPassword/default.nix
+++ b/pkgs/applications/misc/qMasterPassword/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, qtbase, qmake, libX11, libXtst, openssl, libscrypt }:
+{ stdenv, mkDerivation, fetchFromGitHub, qtbase, qmake, libX11, libXtst, openssl, libscrypt }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
name = "qMasterPassword";
version = "1.2.2";
diff --git a/pkgs/applications/misc/qdirstat/default.nix b/pkgs/applications/misc/qdirstat/default.nix
index abf4bb05462..1f35643dd76 100644
--- a/pkgs/applications/misc/qdirstat/default.nix
+++ b/pkgs/applications/misc/qdirstat/default.nix
@@ -1,17 +1,18 @@
{ stdenv, fetchFromGitHub, qmake
, coreutils, xdg_utils, bash
-, makeWrapper, perlPackages }:
+, makeWrapper, perlPackages, mkDerivation }:
let
- version = "1.5";
-in stdenv.mkDerivation rec {
- name = "qdirstat-${version}";
+ version = "1.6";
+in mkDerivation rec {
+ pname = "qdirstat";
+ inherit version;
src = fetchFromGitHub {
owner = "shundhammer";
repo = "qdirstat";
- rev = "${version}";
- sha256 = "1v879kd7zahalb2qazq61wzi364k5cy3lgy6c8wj6mclwxjws1vc";
+ rev = version;
+ sha256 = "0q4ccjmlbqifg251kyxwys8wspdskr8scqhacyfrs9cmnjxcjqan";
};
nativeBuildInputs = [ qmake makeWrapper ];
diff --git a/pkgs/applications/misc/qlandkartegt/default.nix b/pkgs/applications/misc/qlandkartegt/default.nix
new file mode 100644
index 00000000000..aae38f7d0f1
--- /dev/null
+++ b/pkgs/applications/misc/qlandkartegt/default.nix
@@ -0,0 +1,91 @@
+{ mkDerivation, lib, fetchurl, fetchpatch, cmake
+, qtmultimedia, qtserialport, qtscript, qtwebkit
+, garmindev, gdal, gpsd, libdmtx, libexif, libGLU, proj }:
+
+mkDerivation rec {
+ pname = "qlandkartegt";
+ version = "1.8.1";
+
+ src = fetchurl {
+ url = "https://bitbucket.org/maproom/qlandkarte-gt/downloads/${pname}-${version}.tar.gz";
+ sha256 = "1rwv5ar5jv15g1cc6pp0lk69q3ip10pjazsh3ds2ggaciymha1ly";
+ };
+
+ patches = [
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-gps_read.patch?h=qlandkartegt";
+ sha256 = "1xyqxdqxwviq7b8jjxssxjlkldk01ms8dzqdjgvjs8n3fh7w0l70";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-incomplete-type.patch?h=qlandkartegt";
+ sha256 = "1q7rm321az3q6pq5mq0yjrihxl9sf3nln9z3xp20g9qldslv2cy2";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-proj_api.patch?h=qlandkartegt";
+ sha256 = "12yibxn85z2n30azmhyv02q091jj5r50nlnjq4gfzyqd3xb9582n";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-qt5-build.patch?h=qlandkartegt";
+ sha256 = "1wq2hr06gzq8m7zddh10vizmvpwp4lcy1g86rlpppvdc5cm3jpkl";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-qtgui-include.patch?h=qlandkartegt";
+ sha256 = "16hql8ignzw4n1hlp4icbvaddqcadh2rjns0bvis720535112sc8";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/fix-ver_str.patch?h=qlandkartegt";
+ sha256 = "13fg05gqrjfa9j00lrqz1b06xf6r5j01kl6l06vkn0hz1jzxss5m";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/improve-gpx-creator.patch?h=qlandkartegt";
+ sha256 = "1sdf5z8qrd43azrhwfw06zc0qr48z925hgbcfqlp0xrsxv2n6kks";
+ })
+ (fetchpatch {
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/improve-gpx-name.patch?h=qlandkartegt";
+ sha256 = "10phafhns79i3rl4zpc7arw11x46cywgkdkxm7gw1i9y5h0cal79";
+ })
+ ];
+
+ nativeBuildInputs = [ cmake ];
+
+ buildInputs = [
+ qtmultimedia qtserialport qtscript qtwebkit
+ garmindev gdal gpsd libdmtx libexif libGLU proj
+ ];
+
+ cmakeFlags = [
+ "-DQK_QT5_PORT=ON"
+ "-DEXIF_LIBRARIES=${libexif}/lib/libexif.so"
+ "-DEXIF_INCLUDE_DIRS=${libexif}/include"
+ ];
+
+ enableParallelBuilding = true;
+
+ postPatch = ''
+ substituteInPlace ConfigureChecks.cmake \
+ --replace \$\{PLUGIN_INSTALL_DIR\} "${garmindev}/lib/qlandkartegt"
+ '';
+
+ postInstall = ''
+ mkdir -p $out/share/mime/packages
+ cat << EOF > $out/share/mime/packages/qlandkartegt.xml
+
+
+ QLandkarteGT File
+
+
+
+ EOF
+ '';
+
+ meta = with lib; {
+ homepage = http://www.qlandkarte.org/;
+ description = ''
+ QLandkarte GT is the ultimate outdoor aficionado's tool.
+ It supports GPS maps in GeoTiff format as well as Garmin's img vector map format.
+ '';
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ sikmir ];
+ platforms = with platforms; linux;
+ };
+}
diff --git a/pkgs/applications/misc/qlandkartegt/garmindev.nix b/pkgs/applications/misc/qlandkartegt/garmindev.nix
new file mode 100644
index 00000000000..a679a4f1112
--- /dev/null
+++ b/pkgs/applications/misc/qlandkartegt/garmindev.nix
@@ -0,0 +1,25 @@
+{ stdenv, fetchurl, cmake, libusb }:
+
+stdenv.mkDerivation rec {
+ pname = "garmindev";
+ version = "0.3.4";
+
+ src = fetchurl {
+ url = "https://bitbucket.org/maproom/qlandkarte-gt/downloads/${pname}-${version}.tar.gz";
+ sha256 = "1mc7rxdn9790pgbvz02xzipxp2dp9h4hfq87xgawa18sp9jqzhw6";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ buildInputs = [ libusb ];
+
+ enableParallelBuilding = true;
+
+ meta = with stdenv.lib; {
+ homepage = http://www.qlandkarte.org/;
+ description = "Garmin Device Drivers for QlandkarteGT";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ sikmir ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/misc/qlcplus/default.nix b/pkgs/applications/misc/qlcplus/default.nix
index df5f35102e0..8fc890f4243 100644
--- a/pkgs/applications/misc/qlcplus/default.nix
+++ b/pkgs/applications/misc/qlcplus/default.nix
@@ -4,7 +4,7 @@
}:
mkDerivation rec {
- name = "qlcplus-${version}";
+ pname = "qlcplus";
version = "4.12.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/qmapshack/default.nix b/pkgs/applications/misc/qmapshack/default.nix
index f4983ad9442..335c583998f 100644
--- a/pkgs/applications/misc/qmapshack/default.nix
+++ b/pkgs/applications/misc/qmapshack/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, cmake, qtscript, qtwebengine, gdal, proj, routino, quazip }:
+{ mkDerivation, lib, fetchurl, fetchpatch, cmake, qtscript, qtwebengine, gdal, proj, routino, quazip }:
-stdenv.mkDerivation rec {
- name = "qmapshack-${version}";
- version = "1.12.3";
+mkDerivation rec {
+ pname = "qmapshack";
+ version = "1.13.1";
src = fetchurl {
- url = "https://bitbucket.org/maproom/qmapshack/downloads/${name}.tar.gz";
- sha256 = "1yp5gw4q4gwiwr9w4dz19am0bhsla9n2l3bdlk98a7f46kxgnkrx";
+ url = "https://bitbucket.org/maproom/qmapshack/downloads/${pname}-${version}.tar.gz";
+ sha256 = "15x1b2q0hr1vx006f9hjc4cvfjvxvfdwybw32qvczdyc3crq0mc9";
};
nativeBuildInputs = [ cmake ];
@@ -15,13 +15,24 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DROUTINO_XML_PATH=${routino}/share/routino"
- "-DQUAZIP_INCLUDE_DIR=${quazip}/include/quazip"
+ "-DQUAZIP_INCLUDE_DIR=${quazip}/include/quazip5"
"-DLIBQUAZIP_LIBRARY=${quazip}/lib/libquazip.so"
];
enableParallelBuilding = true;
- meta = with stdenv.lib; {
+ patches = [
+ (fetchpatch {
+ url = "https://bitbucket.org/maproom/qmapshack/raw/d0b1b595578a83fda981ccc1ff24166fa636ba1d/FindPROJ4.patch";
+ sha256 = "1nx4ax233bnnj478cmjpm5c1qqmyn1navlihf10q6hhbanay9n99";
+ })
+ (fetchpatch {
+ url = "https://bitbucket.org/maproom/qmapshack/raw/d0b1b595578a83fda981ccc1ff24166fa636ba1d/FindQuaZip5.patch";
+ sha256 = "0z1b2dz2zlz685mxgn8bmh1fyhxpf6dzd6jvkkjyk2kvnrdxv3b9";
+ })
+ ];
+
+ meta = with lib; {
homepage = https://bitbucket.org/maproom/qmapshack/wiki/Home;
description = "Plan your next outdoor trip";
license = licenses.gpl3;
diff --git a/pkgs/applications/misc/qolibri/default.nix b/pkgs/applications/misc/qolibri/default.nix
index e395ae9c070..b7c137258fd 100644
--- a/pkgs/applications/misc/qolibri/default.nix
+++ b/pkgs/applications/misc/qolibri/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchFromGitHub, pkgconfig, cmake, libeb, lzo, qtbase
-, qtmultimedia, qttools, qtwebengine }:
+{ mkDerivation, lib, fetchFromGitHub, pkgconfig, cmake, libeb, lzo
+, qtbase, qtmultimedia, qttools, qtwebengine }:
-stdenv.mkDerivation rec {
- name = "qolibri-${version}";
- version = "2018-11-14";
+mkDerivation {
+ pname = "qolibri";
+ version = "2019-07-22";
src = fetchFromGitHub {
owner = "ludios";
repo = "qolibri";
- rev = "133a1c33e74d931ad54407f70d84a0016d96981f";
- sha256 = "16ifix0q8ww4l3xflgxr9j81c0lzlnkjr8fj961x3nxz7288pdg2";
+ rev = "b58f9838d39300cba444eba725a369181c5d746b";
+ sha256 = "0kcc6dvbcmq9y7hk8mp23pydiaqz6f0clg64d1f2y04ppphmah42";
};
nativeBuildInputs = [ pkgconfig cmake ];
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://github.com/ludios/qolibri;
description = "EPWING reader for viewing Japanese dictionaries";
platforms = platforms.linux;
diff --git a/pkgs/applications/misc/qpdfview/default.nix b/pkgs/applications/misc/qpdfview/default.nix
index 263bc37660c..81aa18c9f24 100644
--- a/pkgs/applications/misc/qpdfview/default.nix
+++ b/pkgs/applications/misc/qpdfview/default.nix
@@ -1,22 +1,23 @@
-{stdenv, fetchurl, qmake, qtbase, qtsvg, pkgconfig, poppler, djvulibre, libspectre, cups
+{stdenv, mkDerivation, fetchurl, qmake, qtbase, qtsvg, pkgconfig, poppler, djvulibre, libspectre, cups
, file, ghostscript
}:
let
s = # Generated upstream information
rec {
baseName="qpdfview";
- version = "0.4.16";
+ version = "0.4.18";
name="${baseName}-${version}";
url="https://launchpad.net/qpdfview/trunk/${version}/+download/qpdfview-${version}.tar.gz";
- sha256 = "0zysjhr58nnmx7ba01q3zvgidkgcqxjdj4ld3gx5fc7wzvl1dm7s";
+ sha256 = "0v1rl126hvblajnph2hkansgi0s8vjdc5yxrm4y3faa0lxzjwr6c";
};
nativeBuildInputs = [ qmake pkgconfig ];
buildInputs = [
qtbase qtsvg poppler djvulibre libspectre cups file ghostscript
];
in
-stdenv.mkDerivation {
- inherit (s) name version;
+mkDerivation {
+ pname = s.baseName;
+ inherit (s) version;
inherit nativeBuildInputs buildInputs;
src = fetchurl {
inherit (s) url sha256;
diff --git a/pkgs/applications/misc/qsyncthingtray/default.nix b/pkgs/applications/misc/qsyncthingtray/default.nix
index 6ae8f380fe2..46b446b429b 100644
--- a/pkgs/applications/misc/qsyncthingtray/default.nix
+++ b/pkgs/applications/misc/qsyncthingtray/default.nix
@@ -7,12 +7,12 @@
mkDerivation rec {
version = "0.5.8";
- name = "qsyncthingtray-${version}";
+ pname = "qsyncthingtray";
src = fetchFromGitHub {
owner = "sieren";
repo = "QSyncthingTray";
- rev = "${version}";
+ rev = version;
sha256 = "1n9g4j7qznvg9zl6x163pi9f7wsc3x6q76i33psnm7x2v1i22x5w";
};
diff --git a/pkgs/applications/misc/qt-box-editor/default.nix b/pkgs/applications/misc/qt-box-editor/default.nix
new file mode 100644
index 00000000000..702cadfdaa9
--- /dev/null
+++ b/pkgs/applications/misc/qt-box-editor/default.nix
@@ -0,0 +1,38 @@
+{ stdenv
+, fetchFromGitHub
+, qtbase
+, qtsvg
+, qmake
+, leptonica
+, tesseract
+}:
+
+stdenv.mkDerivation {
+ pname = "qt-box-editor";
+ version = "unstable-2019-07-12";
+
+ src = fetchFromGitHub {
+ owner = "zdenop";
+ repo = "qt-box-editor";
+ rev = "75a68b466868ba41ba2886caa796057403fe1901";
+ sha256 = "0zwsyy7cnbhy5aazwlkhd9y8bnzlgy1gffqa46abajn4809b95k3";
+ };
+
+ buildInputs = [ qtbase qtsvg leptonica tesseract ];
+
+ nativeBuildInputs = [ qmake ];
+
+ # remove with next release
+ # https://github.com/zdenop/qt-box-editor/pull/78
+ postPatch = ''
+ printf "INSTALLS += target\ntarget.path = $out/bin" >> qt-box-editor.pro
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Editor of tesseract-ocr box files";
+ homepage = https://github.com/zdenop/qt-box-editor;
+ license = licenses.asl20;
+ maintainers = [ maintainers.costrouc ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/misc/qtbitcointrader/default.nix b/pkgs/applications/misc/qtbitcointrader/default.nix
index 7586669218d..d942f999f69 100644
--- a/pkgs/applications/misc/qtbitcointrader/default.nix
+++ b/pkgs/applications/misc/qtbitcointrader/default.nix
@@ -4,7 +4,8 @@ let
version = "1.40.41";
in
stdenv.mkDerivation {
- name = "qtbitcointrader-${version}";
+ pname = "qtbitcointrader";
+ inherit version;
src = fetchzip {
url = "https://github.com/JulyIGHOR/QtBitcoinTrader/archive/v${version}.tar.gz";
diff --git a/pkgs/applications/misc/qtpass/default.nix b/pkgs/applications/misc/qtpass/default.nix
index 15cd426f1b3..1fccada4200 100644
--- a/pkgs/applications/misc/qtpass/default.nix
+++ b/pkgs/applications/misc/qtpass/default.nix
@@ -1,29 +1,40 @@
-{ stdenv, fetchFromGitHub, git, gnupg, pass, qtbase, qtsvg, qttools, qmake, makeWrapper }:
+{ stdenv, lib, mkDerivation, fetchFromGitHub, fetchpatch
+, git, gnupg, pass, qtbase, qtsvg, qttools, qmake
+}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "qtpass";
- version = "1.2.3";
+ version = "1.3.0";
src = fetchFromGitHub {
owner = "IJHack";
repo = "QtPass";
rev = "v${version}";
- sha256 = "1vfhfyccrxq9snyvayqfzm5rqik8ny2gysyv7nipc91kvhq3bhky";
+ sha256 = "0v3ca4fdjk6l24vc9wlc0i7r6fdj85kjmnb7jvicd3f8xi9mvhnv";
};
buildInputs = [ git gnupg pass qtbase qtsvg qttools ];
- nativeBuildInputs = [ makeWrapper qmake ];
+ nativeBuildInputs = [ qmake ];
+
+ # Fix missing app icon on Wayland. Has been upstreamed and should be safe to
+ # remove in versions > 1.3.0
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/IJHack/QtPass/commit/aba8c4180f0ab3d66c44f88b21f137b19d17bde8.patch";
+ sha256 = "009bcq0d75khmaligzd7736xdzy6a8s1m9dgqybn70h801h92fcr";
+ })
+ ];
enableParallelBuilding = true;
+ qtWrapperArgs = [
+ "--suffix PATH : ${lib.makeBinPath [ git gnupg pass ]}"
+ ];
+
postInstall = ''
install -D qtpass.desktop $out/share/applications/qtpass.desktop
install -D artwork/icon.svg $out/share/icons/hicolor/scalable/apps/qtpass-icon.svg
- wrapProgram $out/bin/qtpass \
- --suffix PATH : ${git}/bin \
- --suffix PATH : ${gnupg}/bin \
- --suffix PATH : ${pass}/bin
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/quicksynergy/default.nix b/pkgs/applications/misc/quicksynergy/default.nix
index b2616bf7b77..948bcf33d37 100644
--- a/pkgs/applications/misc/quicksynergy/default.nix
+++ b/pkgs/applications/misc/quicksynergy/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchurl, pkgconfig, gtk2, synergy}:
stdenv.mkDerivation rec {
- name = "quicksynergy-${version}";
+ pname = "quicksynergy";
version = "0.9.0";
src = fetchurl {
url = "mirror://sourceforge/project/quicksynergy/Linux/${version}/quicksynergy-${version}.tar.gz";
diff --git a/pkgs/applications/misc/redis-desktop-manager/default.nix b/pkgs/applications/misc/redis-desktop-manager/default.nix
index bf4559e9117..25f9c6ed4c7 100644
--- a/pkgs/applications/misc/redis-desktop-manager/default.nix
+++ b/pkgs/applications/misc/redis-desktop-manager/default.nix
@@ -14,7 +14,7 @@ let
in
stdenv.mkDerivation rec {
- name = "redis-desktop-manager-${version}";
+ pname = "redis-desktop-manager";
version = "0.9.1";
src = fetchgit {
diff --git a/pkgs/applications/misc/redshift-plasma-applet/default.nix b/pkgs/applications/misc/redshift-plasma-applet/default.nix
index 03b8d709fce..2eebe67c46d 100644
--- a/pkgs/applications/misc/redshift-plasma-applet/default.nix
+++ b/pkgs/applications/misc/redshift-plasma-applet/default.nix
@@ -3,7 +3,8 @@
let version = "1.0.18"; in
stdenv.mkDerivation {
- name = "redshift-plasma-applet-${version}";
+ pname = "redshift-plasma-applet";
+ inherit version;
src = fetchFromGitHub {
owner = "kotelnik";
diff --git a/pkgs/applications/misc/redshift/default.nix b/pkgs/applications/misc/redshift/default.nix
index d8512754f6a..ad27c9b13a6 100644
--- a/pkgs/applications/misc/redshift/default.nix
+++ b/pkgs/applications/misc/redshift/default.nix
@@ -12,7 +12,7 @@
}:
stdenv.mkDerivation rec {
- name = "redshift-${version}";
+ pname = "redshift";
version = "1.12";
src = fetchFromGitHub {
@@ -88,6 +88,6 @@ stdenv.mkDerivation rec {
license = licenses.gpl3Plus;
homepage = http://jonls.dk/redshift;
platforms = platforms.unix;
- maintainers = with maintainers; [ yegortimoshenko ];
+ maintainers = with maintainers; [ yegortimoshenko globin ];
};
}
diff --git a/pkgs/applications/misc/regextester/default.nix b/pkgs/applications/misc/regextester/default.nix
index 703d7862124..ca362bab2ec 100644
--- a/pkgs/applications/misc/regextester/default.nix
+++ b/pkgs/applications/misc/regextester/default.nix
@@ -14,7 +14,7 @@
, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "regextester-${version}";
+ pname = "regextester";
version = "1.0.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/rescuetime/default.nix b/pkgs/applications/misc/rescuetime/default.nix
index b934788cdbe..cd232088b5b 100644
--- a/pkgs/applications/misc/rescuetime/default.nix
+++ b/pkgs/applications/misc/rescuetime/default.nix
@@ -5,15 +5,15 @@ let
if stdenv.hostPlatform.system == "i686-linux" then fetchurl {
name = "rescuetime-installer.deb";
url = "https://www.rescuetime.com/installers/rescuetime_current_i386.deb";
- sha256 = "136ci4q0ns0qzikndlkbab947m47zv2nmnn8mda2374ip43kn6ri";
+ sha256 = "03bky9vja7fijz45n44b6gawd6q8yd30nx6nya9lqdlxd1bkqmji";
} else fetchurl {
name = "rescuetime-installer.deb";
url = "https://www.rescuetime.com/installers/rescuetime_current_amd64.deb";
- sha256 = "1cw10lr7hrsr9xvq3wv1wkyk7jqsgfnnlkq4km9kxr39f51hv6na";
+ sha256 = "03bky9vja7fijz45n44b6gawd6q8yd30nx6nya9lqdlxd1bkqmji";
};
in stdenv.mkDerivation {
# https://www.rescuetime.com/updates/linux_release_notes.html
- name = "rescuetime-2.14.2.1";
+ name = "rescuetime-2.14.3.1";
inherit src;
buildInputs = [ dpkg makeWrapper ];
# avoid https://github.com/NixOS/patchelf/issues/99
diff --git a/pkgs/applications/misc/robo3t/default.nix b/pkgs/applications/misc/robo3t/default.nix
index be365cb94e4..00640be6c74 100644
--- a/pkgs/applications/misc/robo3t/default.nix
+++ b/pkgs/applications/misc/robo3t/default.nix
@@ -2,12 +2,13 @@
freetype, xkeyboard_config, makeDesktopItem, makeWrapper }:
stdenv.mkDerivation rec {
- name = "robo3t-${version}";
- version = "1.1.1";
+ pname = "robo3t";
+ version = "1.3.1";
+ rev = "7419c406";
src = fetchurl {
- url = "https://download.robomongo.org/1.1.1/linux/robo3t-${version}-linux-x86_64-c93c6b0.tar.gz";
- sha256 = "140cn80vg7c8vpdjasqi4b3kyqj4n033lcm3ikz5674x3jr7r5zs";
+ url = "https://download-test.robomongo.org/linux/robo3t-${version}-linux-x86_64-${rev}.tar.gz";
+ sha256 = "1mp5i8iahd4qkwgi5ix98hlg17ivw5da27n0drnr0wk458wn99hi";
};
icon = fetchurl {
diff --git a/pkgs/applications/misc/robomongo/default.nix b/pkgs/applications/misc/robomongo/default.nix
index 76593eba5fc..8df4e960c18 100644
--- a/pkgs/applications/misc/robomongo/default.nix
+++ b/pkgs/applications/misc/robomongo/default.nix
@@ -2,7 +2,7 @@
freetype, xkeyboard_config, makeDesktopItem, makeWrapper }:
stdenv.mkDerivation rec {
- name = "robomongo-${version}";
+ pname = "robomongo";
version = "0.9.0";
src = fetchurl {
diff --git a/pkgs/applications/misc/rofi-menugen/default.nix b/pkgs/applications/misc/rofi-menugen/default.nix
index 9b1b0157769..2255089ab7e 100644
--- a/pkgs/applications/misc/rofi-menugen/default.nix
+++ b/pkgs/applications/misc/rofi-menugen/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Generates menu based applications using rofi";
homepage = https://github.com/octotep/menugen;
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ ];
platforms = platforms.all;
};
}
diff --git a/pkgs/applications/misc/rofi/default.nix b/pkgs/applications/misc/rofi/default.nix
index a8e82998c30..eabf77f0e95 100644
--- a/pkgs/applications/misc/rofi/default.nix
+++ b/pkgs/applications/misc/rofi/default.nix
@@ -1,15 +1,16 @@
-{ stdenv, fetchurl, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
+{ stdenv, lib, fetchurl, makeWrapper
+, autoreconfHook, pkgconfig, libxkbcommon, pango, which, git
, cairo, libxcb, xcbutil, xcbutilwm, xcbutilxrm, libstartup_notification
, bison, flex, librsvg, check
}:
stdenv.mkDerivation rec {
- version = "1.5.2";
- name = "rofi-unwrapped-${version}";
+ pname = "rofi-unwrapped";
+ version = "1.5.4";
src = fetchurl {
- url = "https://github.com/DaveDavenport/rofi/releases/download/${version}/rofi-${version}.tar.gz";
- sha256 = "1rczxz6l32vnclarzga1sm1d5iq9rfscb9j7f8ih185n59hf0517";
+ url = "https://github.com/davatorium/rofi/releases/download/${version}/rofi-${version}.tar.gz";
+ sha256 = "1g1170zmh5v7slnm1sm2d08jgz6icikf8rm17apm1bjzzyw1lhk7";
};
preConfigure = ''
@@ -18,17 +19,23 @@ stdenv.mkDerivation rec {
sed -i 's/~root/~nobody/g' test/helper-expand.c
'';
- nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ nativeBuildInputs = [ autoreconfHook pkgconfig makeWrapper ];
buildInputs = [ libxkbcommon pango cairo git bison flex librsvg check
libstartup_notification libxcb xcbutil xcbutilwm xcbutilxrm which
];
+
+ postInstall = ''
+ wrapProgram $out/bin/rofi-theme-selector \
+ --prefix XDG_DATA_DIRS : $out/share
+ '';
+
doCheck = false;
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Window switcher, run dialog and dmenu replacement";
- homepage = https://github.com/davatorium/rofi;
+ homepage = "https://github.com/davatorium/rofi";
license = licenses.mit;
- maintainers = with maintainers; [ mbakke garbas ma27 ];
+ maintainers = with maintainers; [ mbakke ma27 ];
platforms = with platforms; linux;
};
}
diff --git a/pkgs/applications/misc/rofi/wrapper.nix b/pkgs/applications/misc/rofi/wrapper.nix
index c2384f56faa..8c24d27f075 100644
--- a/pkgs/applications/misc/rofi/wrapper.nix
+++ b/pkgs/applications/misc/rofi/wrapper.nix
@@ -2,7 +2,9 @@
if theme == null then rofi-unwrapped else
stdenv.mkDerivation {
- name = "rofi-${rofi-unwrapped.version}";
+ pname = "rofi";
+ version = rofi-unwrapped.version;
+
buildInputs = [ makeWrapper ];
preferLocalBuild = true;
passthru.unwrapped = rofi-unwrapped;
diff --git a/pkgs/applications/misc/roxterm/default.nix b/pkgs/applications/misc/roxterm/default.nix
index 11a75e4064f..3dbe7790d18 100644
--- a/pkgs/applications/misc/roxterm/default.nix
+++ b/pkgs/applications/misc/roxterm/default.nix
@@ -1,54 +1,40 @@
-{ stdenv, fetchurl, docbook_xsl, dbus, dbus-glib, expat
-, gsettings-desktop-schemas, gdk_pixbuf, gtk3, hicolor-icon-theme
-, imagemagick, itstool, librsvg, libtool, libxslt, makeWrapper
-, pkgconfig, python, pythonPackages, vte
-, wrapGAppsHook}:
+{ at-spi2-core, cmake, dbus, dbus-glib, docbook_xsl, epoxy, fetchpatch, fetchFromGitHub
+, glib, gtk3, harfbuzz, hicolor-icon-theme, libXdmcp, libXtst, libpthreadstubs
+, libselinux, libsepol, libtasn1, libxkbcommon, libxslt, p11-kit, pcre
+, pkgconfig, stdenv, utillinuxMinimal, vte, wrapGAppsHook, xmlto
+}:
-# TODO: Still getting following warning.
-# WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
-# Seems related to this:
-# https://forums.gentoo.org/viewtopic-t-947210-start-0.html
+stdenv.mkDerivation rec {
+ pname = "roxterm";
+ version = "3.7.5";
-let version = "3.3.2";
-in stdenv.mkDerivation rec {
- name = "roxterm-${version}";
-
- src = fetchurl {
- url = "mirror://sourceforge/roxterm/${name}.tar.xz";
- sha256 = "0vjh7k4jm4bd01j88w9bmvq27zqsajjzy131fpi81zkii5lisl1k";
+ src = fetchFromGitHub {
+ owner = "realh";
+ repo = "roxterm";
+ rev = version;
+ sha256 = "042hchvgk9jzz035zsgnfhh8105zvspbzz6b78waylsdlgqn0pp1";
};
- nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
-
- buildInputs =
- [ docbook_xsl expat imagemagick itstool librsvg libtool libxslt
- makeWrapper python pythonPackages.lockfile dbus dbus-glib
- gdk_pixbuf gsettings-desktop-schemas gtk3
- hicolor-icon-theme vte ];
-
- NIX_CFLAGS_COMPILE = [ "-I${dbus-glib.dev}/include/dbus-1.0"
- "-I${dbus.dev}/include/dbus-1.0"
- "-I${dbus.lib}/lib/dbus-1.0/include" ];
-
- # Fix up python path so the lockfile library is on it.
- PYTHONPATH = stdenv.lib.makeSearchPathOutput "lib" python.sitePackages [
- pythonPackages.lockfile
+ patches = [
+ # This is the commit directly after v3.7.5. It is needed to get roxterm to
+ # build correctly. It can be removed when v3.7.6 (or v3.8.0) has been
+ # released.
+ (fetchpatch {
+ url = "https://github.com/realh/roxterm/commit/f7c38fd48bd1810e16d82794bdfb61a9760a2fe1.patch";
+ sha256 = "1v77b7ilgf8zy1npxxcyc06mq6lck6bi6lw4aksnq3mi61n5znmx";
+ })
];
- buildPhase = ''
- # Fix up the LD_LIBRARY_PATH so that expat is on it
- export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${expat.out}/lib"
+ nativeBuildInputs = [ cmake pkgconfig wrapGAppsHook libxslt ];
- python mscript.py configure --prefix="$out" --disable-nls --disable-translations
- python mscript.py build
- '';
-
- installPhase = ''
- python mscript.py install
- '';
+ buildInputs =
+ [ gtk3 dbus dbus-glib vte pcre harfbuzz libpthreadstubs libXdmcp
+ utillinuxMinimal glib hicolor-icon-theme docbook_xsl xmlto libselinux
+ libsepol libxkbcommon epoxy at-spi2-core libXtst libtasn1 p11-kit
+ ];
meta = with stdenv.lib; {
- homepage = http://roxterm.sourceforge.net/;
+ homepage = "https://github.com/realh/roxterm";
license = licenses.gpl3;
description = "Tabbed, VTE-based terminal emulator";
longDescription = ''
diff --git a/pkgs/applications/misc/rsclock/default.nix b/pkgs/applications/misc/rsclock/default.nix
new file mode 100644
index 00000000000..c427eda8c77
--- /dev/null
+++ b/pkgs/applications/misc/rsclock/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, rustPlatform, fetchFromGitHub }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "rsClock";
+ version = "0.1.4";
+
+ src = fetchFromGitHub {
+ owner = "valebes";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1i93qkz6d8sbk78i4rvx099hnn4lklp4cjvanpm9ssv8na4rqvh2";
+ };
+
+ cargoSha256 = "0zg5q2p9snpfyxl0gx87ix1f46afrfm5jq0m6c7s8qw2x9hpvxzr";
+
+ meta = with stdenv.lib; {
+ description = "A simple terminal clock written in Rust";
+ homepage = "https://github.com/valebes/rsClock";
+ license = licenses.mit;
+ maintainers = with maintainers; [valebes];
+ platforms = platforms.all;
+ };
+}
+
diff --git a/pkgs/applications/misc/rtv/default.nix b/pkgs/applications/misc/rtv/default.nix
index d3f2d5a74e5..20211ecb53b 100644
--- a/pkgs/applications/misc/rtv/default.nix
+++ b/pkgs/applications/misc/rtv/default.nix
@@ -2,14 +2,14 @@
with python3Packages;
buildPythonApplication rec {
- version = "1.26.0";
+ version = "1.27.0";
pname = "rtv";
src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
- sha256 = "0smwlhc4sj92365pl7yy6a821xddmh9px43nbd0kdd2z9xrndyx1";
+ sha256 = "1hw7xy2kjxq7y3wcibcz4l7zj8icvigialqr17l362xry0y17y5j";
};
# Tests try to access network
diff --git a/pkgs/applications/misc/rxvt/default.nix b/pkgs/applications/misc/rxvt/default.nix
index 8e63cdb6d16..acdd21a1c21 100644
--- a/pkgs/applications/misc/rxvt/default.nix
+++ b/pkgs/applications/misc/rxvt/default.nix
@@ -3,11 +3,11 @@
, libX11, libXt, libXpm }:
stdenv.mkDerivation rec {
- name = "rxvt-${version}";
+ pname = "rxvt";
version = "2.7.10";
src = fetchurl {
- url = "mirror://sourceforge/rxvt/${name}.tar.gz";
+ url = "mirror://sourceforge/rxvt/${pname}-${version}.tar.gz";
sha256 = "0jfl71gz3k7zh3kxdb8lxi06kajjnx7bq1rxjgk680l209jxask1";
};
diff --git a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-autocomplete-all-the-things/default.nix b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-autocomplete-all-the-things/default.nix
index f872e800836..a4e03fa347f 100644
--- a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-autocomplete-all-the-things/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-autocomplete-all-the-things/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "urxvt-autocomplete-all-the-things-${version}";
+ pname = "urxvt-autocomplete-all-the-things";
version = "1.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix
index 544789e865b..b976388ae2c 100644
--- a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-perls/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "urxvt-perls-${version}";
+ pname = "urxvt-perls";
version = "2.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-tabbedex/default.nix b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-tabbedex/default.nix
index 68be8b738de..2982c02cce9 100644
--- a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-tabbedex/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-tabbedex/default.nix
@@ -1,13 +1,14 @@
{ stdenv, fetchFromGitHub, perl }:
-stdenv.mkDerivation {
- name = "urxvt-tabbedex-2016-08-17";
+stdenv.mkDerivation rec {
+ pname = "urxvt-tabbedex";
+ version = "19.21";
src = fetchFromGitHub {
owner = "mina86";
repo = "urxvt-tabbedex";
- rev = "089d0cb724eeb62fa8a5dfcb00ced7761e794149";
- sha256 = "0a5jrb7ryafj55fgi8fhpy3gmb1xh5j7pbn8p5j5k6s2fnh0g0hq";
+ rev = "v${version}";
+ sha256 = "06msd156h6r8ss7qg66sjz5jz8613qfq2yvp0pc24i6mxzj8vl77";
};
nativeBuildInputs = [ perl ];
diff --git a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-theme-switch/default.nix b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-theme-switch/default.nix
index f4a41a89e1c..ba8ec3a6e72 100644
--- a/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-theme-switch/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode-plugins/urxvt-theme-switch/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
description = "urxvt plugin that allows to switch color themes during runtime";
homepage = https://github.com/felixr/urxvt-theme-switch;
license = "CCBYNC";
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ ];
platforms = with platforms; unix;
};
}
diff --git a/pkgs/applications/misc/rxvt_unicode/default.nix b/pkgs/applications/misc/rxvt_unicode/default.nix
index d198c595135..7c239a9b754 100644
--- a/pkgs/applications/misc/rxvt_unicode/default.nix
+++ b/pkgs/applications/misc/rxvt_unicode/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, makeDesktopItem, perlSupport ? true, libX11, libXt, libXft,
ncurses, perl, fontconfig, freetype, pkgconfig, libXrender,
- gdkPixbufSupport ? true, gdk_pixbuf, unicode3Support ? true }:
+ gdkPixbufSupport ? true, gdk-pixbuf, unicode3Support ? true }:
let
pname = "rxvt-unicode";
@@ -8,17 +8,17 @@ let
description = "A clone of the well-known terminal emulator rxvt";
desktopItem = makeDesktopItem {
- name = "${pname}";
+ name = pname;
exec = "urxvt";
icon = "utilities-terminal";
comment = description;
desktopName = "URxvt";
- genericName = "${pname}";
+ genericName = pname;
categories = "System;TerminalEmulator;";
};
in
-stdenv.mkDerivation (rec {
+stdenv.mkDerivation ({
name = "${pname}${if perlSupport then "-with-perl" else ""}${if unicode3Support then "-with-unicode3" else ""}-${version}";
@@ -31,7 +31,7 @@ stdenv.mkDerivation (rec {
[ libX11 libXt libXft ncurses /* required to build the terminfo file */
fontconfig freetype pkgconfig libXrender ]
++ stdenv.lib.optional perlSupport perl
- ++ stdenv.lib.optional gdkPixbufSupport gdk_pixbuf;
+ ++ stdenv.lib.optional gdkPixbufSupport gdk-pixbuf;
outputs = [ "out" "terminfo" ];
@@ -65,7 +65,7 @@ stdenv.mkDerivation (rec {
inherit description;
homepage = http://software.schmorp.de/pkg/rxvt-unicode.html;
downloadPage = "http://dist.schmorp.de/rxvt-unicode/Attic/";
- maintainers = [ ];
+ maintainers = with maintainers; [ rnhmjoj ];
platforms = platforms.unix;
license = licenses.gpl3;
};
diff --git a/pkgs/applications/misc/safeeyes/default.nix b/pkgs/applications/misc/safeeyes/default.nix
index de1e7a093d5..125170d36c2 100644
--- a/pkgs/applications/misc/safeeyes/default.nix
+++ b/pkgs/applications/misc/safeeyes/default.nix
@@ -1,10 +1,9 @@
-{ lib, python3Packages, gobject-introspection, libappindicator-gtk3, libnotify, gtk3, gnome3, xprintidle-ng, wrapGAppsHook, gdk_pixbuf, shared-mime-info, librsvg
+{ lib, python3Packages, gobject-introspection, libappindicator-gtk3, libnotify, gtk3, gnome3, xprintidle-ng, wrapGAppsHook, gdk-pixbuf, shared-mime-info, librsvg
}:
let inherit (python3Packages) python buildPythonApplication fetchPypi;
in buildPythonApplication rec {
- name = "${pname}-${version}";
pname = "safeeyes";
version = "2.0.9";
namePrefix = "";
@@ -50,7 +49,7 @@ in buildPythonApplication rec {
preFixup = ''
gappsWrapperArgs+=(
- --prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share"
+ --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
--prefix XDG_DATA_DIRS : "${librsvg}/share"
diff --git a/pkgs/applications/misc/sakura/default.nix b/pkgs/applications/misc/sakura/default.nix
index 33df8e8f0a2..8510d501942 100644
--- a/pkgs/applications/misc/sakura/default.nix
+++ b/pkgs/applications/misc/sakura/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, pkgconfig, gtk3, perl, vte, pcre, glib , makeWrapper }:
stdenv.mkDerivation rec {
- name = "sakura-${version}";
+ pname = "sakura";
version = "3.6.0";
src = fetchurl {
- url = "https://launchpad.net/sakura/trunk/${version}/+download/${name}.tar.bz2";
+ url = "https://launchpad.net/sakura/trunk/${version}/+download/${pname}-${version}.tar.bz2";
sha256 = "1q463qm41ym7jb3kbzjz7b6x549vmgkb70arpkhsf86yxly1y5m1";
};
diff --git a/pkgs/applications/misc/sampler/default.nix b/pkgs/applications/misc/sampler/default.nix
new file mode 100644
index 00000000000..a04b0dcbba6
--- /dev/null
+++ b/pkgs/applications/misc/sampler/default.nix
@@ -0,0 +1,27 @@
+{ lib, buildGoModule, fetchFromGitHub, alsaLib }:
+
+buildGoModule rec {
+ pname = "sampler";
+ version = "1.0.3";
+
+ src = fetchFromGitHub {
+ owner = "sqshq";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "129vifb1y57vyqj9p23gq778jschndh2y2ingwvjz0a6lrm45vpf";
+ };
+
+ modSha256 = "0wgwnn50lrg6ix5ll2jdwi421wgqgsv4y9xd5hfj81kya3dxcbw0";
+
+ subPackages = [ "." ];
+
+ buildInputs = [ alsaLib ];
+
+ meta = with lib; {
+ description = "Tool for shell commands execution, visualization and alerting";
+ homepage = "https://sampler.dev";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ uvnikita ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/misc/sc-im/default.nix b/pkgs/applications/misc/sc-im/default.nix
index 280a42fde14..c95eba48bdf 100644
--- a/pkgs/applications/misc/sc-im/default.nix
+++ b/pkgs/applications/misc/sc-im/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.7.0";
- name = "sc-im-${version}";
+ pname = "sc-im";
src = fetchFromGitHub {
owner = "andmarti1424";
diff --git a/pkgs/applications/misc/sdcv/default.nix b/pkgs/applications/misc/sdcv/default.nix
index cc8c30043b2..3cebcc0101f 100644
--- a/pkgs/applications/misc/sdcv/default.nix
+++ b/pkgs/applications/misc/sdcv/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, glib, gettext, readline }:
stdenv.mkDerivation rec {
- name = "sdcv-${version}";
+ pname = "sdcv";
version = "0.5.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/sequeler/default.nix b/pkgs/applications/misc/sequeler/default.nix
index 4947bcf60bd..e3edb539928 100644
--- a/pkgs/applications/misc/sequeler/default.nix
+++ b/pkgs/applications/misc/sequeler/default.nix
@@ -11,13 +11,13 @@ let
in stdenv.mkDerivation rec {
pname = "sequeler";
- version = "0.7.0";
+ version = "0.7.2";
src = fetchFromGitHub {
owner = "Alecaddd";
repo = pname;
rev = "v${version}";
- sha256 = "1x2ikagjsgnhhhwkj09ihln17mq4wjq3wwbnf02j2p3jpp4i8w1i";
+ sha256 = "0mxlhyfqmd4zg0psdmr62rhmvssw8jslm7a1nvh93675ns3vfrs5";
};
nativeBuildInputs = [ meson ninja pkgconfig pantheon.vala gettext wrapGAppsHook python3 desktop-file-utils ];
diff --git a/pkgs/applications/misc/sequelpro/default.nix b/pkgs/applications/misc/sequelpro/default.nix
index fc63745ebb8..e81c0b99264 100644
--- a/pkgs/applications/misc/sequelpro/default.nix
+++ b/pkgs/applications/misc/sequelpro/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, undmg }:
-stdenv.mkDerivation rec {
- name = "sequel-pro-${version}";
+stdenv.mkDerivation {
+ pname = "sequel-pro";
version = "1.1.2";
src = fetchurl {
diff --git a/pkgs/applications/misc/sidequest/default.nix b/pkgs/applications/misc/sidequest/default.nix
new file mode 100644
index 00000000000..1ec2665c676
--- /dev/null
+++ b/pkgs/applications/misc/sidequest/default.nix
@@ -0,0 +1,69 @@
+{ stdenv, lib, fetchurl, buildFHSUserEnv, makeDesktopItem, makeWrapper, atomEnv, libuuid, at-spi2-atk, icu, openssl, zlib }:
+ let
+ pname = "sidequest";
+ version = "0.3.1";
+
+ desktopItem = makeDesktopItem rec {
+ name = "SideQuest";
+ exec = "SideQuest";
+ desktopName = name;
+ genericName = "VR App Store";
+ categories = "Settings;PackageManager;";
+ };
+
+ sidequest = stdenv.mkDerivation {
+ inherit pname version;
+
+ src = fetchurl {
+ url = "https://github.com/the-expanse/SideQuest/releases/download/${version}/SideQuest-linux-x64.tar.gz";
+ sha256 = "1hj398zzp1x74zhp9rlhqzm9a0ck6zh9bj39g6fpvc38zab5dj1p";
+ };
+
+ buildInputs = [ makeWrapper ];
+
+ buildCommand = ''
+ mkdir -p "$out/lib/SideQuest" "$out/bin"
+ tar -xzf "$src" -C "$out/lib/SideQuest" --strip-components 1
+
+ ln -s "$out/lib/SideQuest/SideQuest" "$out/bin"
+
+ fixupPhase
+
+ # mkdir -p "$out/share/applications"
+ # ln -s "${desktopItem}/share/applications/*" "$out/share/applications"
+
+ patchelf \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ --set-rpath "${atomEnv.libPath}/lib:${lib.makeLibraryPath [libuuid at-spi2-atk]}:$out/lib/SideQuest" \
+ "$out/lib/SideQuest/SideQuest"
+ '';
+ };
+ in buildFHSUserEnv {
+ name = "SideQuest";
+
+ passthru = {
+ inherit pname version;
+
+ meta = with stdenv.lib; {
+ description = "An open app store and side-loading tool for Android-based VR devices such as the Oculus Go, Oculus Quest or Moverio BT 300";
+ homepage = "https://github.com/the-expanse/SideQuest";
+ downloadPage = "https://github.com/the-expanse/SideQuest/releases";
+ license = licenses.mit;
+ maintainers = [ maintainers.joepie91 ];
+ platforms = [ "x86_64-linux" ];
+ };
+ };
+
+ targetPkgs = pkgs: [
+ sidequest
+ # Needed in the environment on runtime, to make QuestSaberPatch work
+ icu openssl zlib
+ ];
+
+ extraInstallCommands = ''
+ mkdir -p "$out/share/applications"
+ ln -s "${desktopItem}/share/applications/*" "$out/share/applications"
+ '';
+
+ runScript = "SideQuest";
+ }
diff --git a/pkgs/applications/misc/simplenote/default.nix b/pkgs/applications/misc/simplenote/default.nix
index 719b8d32b33..6a16741a06b 100644
--- a/pkgs/applications/misc/simplenote/default.nix
+++ b/pkgs/applications/misc/simplenote/default.nix
@@ -1,5 +1,5 @@
{ fetchurl, stdenv, lib, zlib, glib, alsaLib, dbus, gtk2, atk, pango, freetype, fontconfig
-, libgnome-keyring3, gdk_pixbuf, cairo, cups, expat, libgpgerror, nspr
+, libgnome-keyring3, gdk-pixbuf, cairo, cups, expat, libgpgerror, nspr
, nss, xorg, libcap, systemd, libnotify ,libXScrnSaver, gnome2 }:
stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
packages = [
stdenv.cc.cc zlib glib dbus gtk2 atk pango freetype libgnome-keyring3
- fontconfig gdk_pixbuf cairo cups expat libgpgerror alsaLib nspr nss
+ fontconfig gdk-pixbuf cairo cups expat libgpgerror alsaLib nspr nss
xorg.libXrender xorg.libX11 xorg.libXext xorg.libXdamage xorg.libXtst
xorg.libXcomposite xorg.libXi xorg.libXfixes xorg.libXrandr
xorg.libXcursor libcap systemd libnotify libXScrnSaver gnome2.GConf
diff --git a/pkgs/applications/misc/slade/default.nix b/pkgs/applications/misc/slade/default.nix
index fc6be074a07..d2d5e9548a0 100644
--- a/pkgs/applications/misc/slade/default.nix
+++ b/pkgs/applications/misc/slade/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, wxGTK, gtk2, sfml, fluidsynth, curl, freeimage, ftgl, glew, zip }:
stdenv.mkDerivation rec {
- name = "slade-${version}";
+ pname = "slade";
version = "3.1.1.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/slic3r/default.nix b/pkgs/applications/misc/slic3r/default.nix
index e012c3763b3..cf9e93b87b3 100644
--- a/pkgs/applications/misc/slic3r/default.nix
+++ b/pkgs/applications/misc/slic3r/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "1.3.0";
- name = "slic3r-${version}";
+ pname = "slic3r";
src = fetchgit {
url = "git://github.com/alexrj/Slic3r";
diff --git a/pkgs/applications/misc/slic3r/prusa3d.nix b/pkgs/applications/misc/slic3r/prusa3d.nix
deleted file mode 100644
index 1f0a3a71be8..00000000000
--- a/pkgs/applications/misc/slic3r/prusa3d.nix
+++ /dev/null
@@ -1,147 +0,0 @@
-{ stdenv, lib, fetchFromGitHub, makeWrapper, which, cmake, perl, perlPackages,
- boost, tbb, wxGTK30, pkgconfig, gtk3, fetchurl, gtk2, libGLU,
- glew, eigen, curl, gtest, nlopt, pcre, xorg, makeDesktopItem }:
-let
- AlienWxWidgets = perlPackages.buildPerlPackage rec {
- name = "Alien-wxWidgets-0.69";
- src = fetchurl {
- url = "mirror://cpan/authors/id/M/MD/MDOOTSON/${name}.tar.gz";
- sha256 = "075m880klf66pbcfk0la2nl60vd37jljizqndrklh5y4zvzdy1nr";
- };
- propagatedBuildInputs = [
- pkgconfig perlPackages.ModulePluggable perlPackages.ModuleBuild
- gtk2 gtk3 wxGTK30
- ];
- };
-
- Wx = perlPackages.Wx.overrideAttrs (oldAttrs: {
- propagatedBuildInputs = [
- perlPackages.ExtUtilsXSpp
- AlienWxWidgets
- ];
- });
-
- WxGLCanvas = perlPackages.buildPerlPackage rec {
- name = "Wx-GLCanvas-0.09";
- src = fetchurl {
- url = "mirror://cpan/authors/id/M/MB/MBARBON/${name}.tar.gz";
- sha256 = "1q4gvj4gdx4l8k4mkgiix24p9mdfy1miv7abidf0my3gy2gw5lka";
- };
- propagatedBuildInputs = [ Wx perlPackages.OpenGL libGLU ];
- doCheck = false;
- };
-in
-stdenv.mkDerivation rec {
- name = "slic3r-prusa-edition-${version}";
- version = "1.41.3";
-
- enableParallelBuilding = true;
-
- nativeBuildInputs = [
- cmake
- makeWrapper
- ];
-
- buildInputs = [
- curl
- eigen
- glew
- pcre
- perl
- tbb
- which
- Wx
- WxGLCanvas
- xorg.libXdmcp
- xorg.libpthreadstubs
- ] ++ checkInputs ++ (with perlPackages; [
- boost
- ClassXSAccessor
- EncodeLocale
- ExtUtilsMakeMaker
- ExtUtilsTypemapsDefault
- ExtUtilsXSpp
- GrowlGNTP
- ImportInto
- IOStringy
- locallib
- LWP
- MathClipper
- MathConvexHullMonotoneChain
- MathGeometryVoronoi
- MathPlanePath
- ModuleBuildWithXSpp
- Moo
- NetDBus
- OpenGL
- XMLSAX
- ]);
-
- checkInputs = [ gtest ];
-
- # The build system uses custom logic - defined in
- # xs/src/libnest2d/cmake_modules/FindNLopt.cmake in the package source -
- # for finding the nlopt library, which doesn't pick up the package in the nix store.
- # We need to set the path via the NLOPT environment variable instead.
- NLOPT = "${nlopt}";
-
- prePatch = ''
- # In nix ioctls.h isn't available from the standard kernel-headers package
- # on other distributions. As the copy in glibc seems to be identical to the
- # one in the kernel, we use that one instead.
- sed -i 's|"/usr/include/asm-generic/ioctls.h"||g' xs/src/libslic3r/GCodeSender.cpp
-
- # PERL_VENDORARCH and PERL_VENDORLIB aren't set correctly by the build
- # system, so we have to override them. Setting them as environment variables
- # doesn't work though, so substituting the paths directly in CMakeLists.txt
- # seems to be the easiest way.
- sed -i "s|\''${PERL_VENDORARCH}|$out/lib/slic3r-prusa3d|g" xs/CMakeLists.txt
- sed -i "s|\''${PERL_VENDORLIB}|$out/lib/slic3r-prusa3d|g" xs/CMakeLists.txt
- '' + lib.optionalString (lib.versionOlder "2.5" nlopt.version) ''
- # Since version 2.5.0 of nlopt we need to link to libnlopt, as libnlopt_cxx
- # now seems to be integrated into the main lib.
- sed -i 's|nlopt_cxx|nlopt|g' xs/src/libnest2d/cmake_modules/FindNLopt.cmake
- '';
-
- postInstall = ''
- echo 'postInstall'
- wrapProgram "$out/bin/slic3r-prusa3d" \
- --prefix PERL5LIB : "$out/lib/slic3r-prusa3d:$PERL5LIB"
-
- # it seems we need to copy the icons...
- mkdir -p $out/bin/var
- cp -r ../resources/icons/* $out/bin/var/
- cp -r ../resources $out/bin/
-
-
- mkdir -p "$out/share/pixmaps/"
- ln -s "$out/bin/var/Slic3r.png" "$out/share/pixmaps/slic3r-prusa.png"
- mkdir -p "$out/share/applications"
- cp "$desktopItem"/share/applications/* "$out/share/applications/"
- '';
-
- src = fetchFromGitHub {
- owner = "prusa3d";
- repo = "Slic3r";
- sha256 = "145dfsv610c5p0sngab9z7lzbk5383pq9l26mrrpf1wxdlxgljpl";
- rev = "version_${version}";
- };
-
- desktopItem = makeDesktopItem {
- name = "slic3r-Prusa-Edition";
- exec = "slic3r-prusa3d";
- icon = "slic3r-prusa";
- comment = "G-code generator for 3D printers";
- desktopName = "Slic3r Prusa Edition";
- genericName = "3D printer tool";
- categories = "Application;Development;";
- };
-
- meta = with stdenv.lib; {
- description = "G-code generator for 3D printer";
- homepage = https://github.com/prusa3d/Slic3r;
- license = licenses.agpl3;
- maintainers = with maintainers; [ tweber ];
- broken = stdenv.hostPlatform.isAarch64;
- };
-}
diff --git a/pkgs/applications/misc/slstatus/default.nix b/pkgs/applications/misc/slstatus/default.nix
index f4a2e889cd4..bfb3d010a3c 100644
--- a/pkgs/applications/misc/slstatus/default.nix
+++ b/pkgs/applications/misc/slstatus/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "slstatus-${version}";
+ pname = "slstatus";
version = "unstable-2018-04-16";
src = fetchgit {
diff --git a/pkgs/applications/misc/solaar/default.nix b/pkgs/applications/misc/solaar/default.nix
index cb2cd3f1e62..f2e1aa6bdb6 100644
--- a/pkgs/applications/misc/solaar/default.nix
+++ b/pkgs/applications/misc/solaar/default.nix
@@ -3,7 +3,7 @@
# Although we copy in the udev rules here, you probably just want to use logitech-udev-rules instead of
# adding this to services.udev.packages on NixOS
-python3Packages.buildPythonApplication rec {
+python3Packages.buildPythonApplication {
pname = "solaar-unstable";
version = "2019-01-30";
diff --git a/pkgs/applications/misc/spacefm/default.nix b/pkgs/applications/misc/spacefm/default.nix
index 9f20b20f7f3..9550a8d4fd7 100644
--- a/pkgs/applications/misc/spacefm/default.nix
+++ b/pkgs/applications/misc/spacefm/default.nix
@@ -3,13 +3,13 @@
, jmtpfs, ifuseSupport ? false, ifuse ? null, lsof, udisks2 }:
stdenv.mkDerivation rec {
- name = "spacefm-${version}";
+ pname = "spacefm";
version = "1.0.6";
src = fetchFromGitHub {
owner = "IgnorantGuru";
repo = "spacefm";
- rev = "${version}";
+ rev = version;
sha256 = "089r6i40lxcwzp60553b18f130asspnzqldlpii53smz52kvpirx";
};
diff --git a/pkgs/applications/misc/sqliteman/default.nix b/pkgs/applications/misc/sqliteman/default.nix
index a1d5ef153bb..103075024dd 100644
--- a/pkgs/applications/misc/sqliteman/default.nix
+++ b/pkgs/applications/misc/sqliteman/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, qt4, qscintilla }:
stdenv.mkDerivation rec {
- name = "sqliteman-${version}";
+ pname = "sqliteman";
version = "1.2.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/ssocr/default.nix b/pkgs/applications/misc/ssocr/default.nix
index aee486ddf0c..bb1655b4463 100644
--- a/pkgs/applications/misc/ssocr/default.nix
+++ b/pkgs/applications/misc/ssocr/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, imlib2, libX11 }:
-stdenv.mkDerivation rec {
- name = "ssocr-${version}";
+stdenv.mkDerivation {
+ pname = "ssocr";
version = "unstable-2018-08-11";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/st/xst.nix b/pkgs/applications/misc/st/xst.nix
index b63a41bb915..9407243c6a2 100644
--- a/pkgs/applications/misc/st/xst.nix
+++ b/pkgs/applications/misc/st/xst.nix
@@ -3,16 +3,16 @@
with stdenv.lib;
let
- version = "0.7.1";
+ version = "0.7.2";
name = "xst-${version}";
in stdenv.mkDerivation {
inherit name;
src = fetchFromGitHub {
- owner = "neeasade";
+ owner = "gnotclub";
repo = "xst";
rev = "v${version}";
- sha256 = "1fh4y2w0icaij99kihl3w8j5d5b38d72afp17c81pi57f43ss6pc";
+ sha256 = "1fplgy30gyrwkjsw3z947327r98i13zd1whwkplpj9fzckhb9vs9";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/stog/default.nix b/pkgs/applications/misc/stog/default.nix
index d3cd81f7f13..8c47de3afac 100644
--- a/pkgs/applications/misc/stog/default.nix
+++ b/pkgs/applications/misc/stog/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "stog-${version}";
+ pname = "stog";
version = "0.18.0";
src = fetchFromGitLab {
domain = "framagit.org";
diff --git a/pkgs/applications/misc/stretchly/default.nix b/pkgs/applications/misc/stretchly/default.nix
index 8f26ee99e22..213f308646a 100644
--- a/pkgs/applications/misc/stretchly/default.nix
+++ b/pkgs/applications/misc/stretchly/default.nix
@@ -8,7 +8,7 @@
, expat
, fetchurl
, fontconfig
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, gtk2
, gtk3
@@ -51,7 +51,7 @@ let
dbus
expat
fontconfig
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk2
gtk3
diff --git a/pkgs/applications/misc/stupidterm/default.nix b/pkgs/applications/misc/stupidterm/default.nix
index 1fc96e551ac..ecaf9d5a34a 100644
--- a/pkgs/applications/misc/stupidterm/default.nix
+++ b/pkgs/applications/misc/stupidterm/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, vte, gtk }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "stupidterm";
version = "2019-03-26";
@@ -27,10 +27,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "Simple wrapper around the VTE terminal emulator widget for GTK+";
- longDescription = ''
- Simple wrapper around the VTE terminal emulator widget for GTK+
- '';
+ description = "Simple wrapper around the VTE terminal emulator widget for GTK";
homepage = https://github.com/esmil/stupidterm;
license = licenses.lgpl3Plus;
maintainers = [ maintainers.etu ];
diff --git a/pkgs/applications/misc/styx/default.nix b/pkgs/applications/misc/styx/default.nix
index f9779beec0f..340b59d5ff2 100644
--- a/pkgs/applications/misc/styx/default.nix
+++ b/pkgs/applications/misc/styx/default.nix
@@ -3,7 +3,7 @@
, perlPackages, python27 }:
stdenv.mkDerivation rec {
- name = "styx-${version}";
+ pname = "styx";
version = "0.7.1";
src = fetchFromGitHub {
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "01lklz7l9klqmmsncikwjnk3glzyz15c30118s82yd1chwpwhpfl";
};
- server = "${caddy.bin}/bin/caddy";
+ server = "${caddy}/bin/caddy";
linkcheck = "${linkchecker}/bin/linkchecker";
nativeBuildInputs = [ asciidoctor ];
diff --git a/pkgs/applications/misc/subsurface/default.nix b/pkgs/applications/misc/subsurface/default.nix
index 50bb1df2eef..960b7b9eeef 100644
--- a/pkgs/applications/misc/subsurface/default.nix
+++ b/pkgs/applications/misc/subsurface/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, cmake, makeWrapper, pkgconfig, qmake
+{ stdenv, fetchurl, fetchFromGitHub, autoreconfHook, cmake, wrapQtAppsHook, pkgconfig, qmake
, curl, grantlee, libgit2, libusb, libssh2, libxml2, libxslt, libzip, zlib
, qtbase, qtconnectivity, qtlocation, qtsvg, qttools, qtwebkit, libXcomposite
}:
@@ -6,8 +6,9 @@
let
version = "4.8.2";
- libdc = stdenv.mkDerivation rec {
- name = "libdivecomputer-ssrf-${version}";
+ libdc = stdenv.mkDerivation {
+ pname = "libdivecomputer-ssrf";
+ inherit version;
src = fetchurl {
url = "https://subsurface-divelog.org/downloads/libdivecomputer-subsurface-branch-${version}.tgz";
@@ -30,7 +31,7 @@ let
};
googlemaps = stdenv.mkDerivation rec {
- name = "googlemaps-${version}";
+ pname = "googlemaps";
version = "2017-12-18";
@@ -65,8 +66,9 @@ let
};
};
-in stdenv.mkDerivation rec {
- name = "subsurface-${version}";
+in stdenv.mkDerivation {
+ pname = "subsurface";
+ inherit version;
src = fetchurl {
url = "https://subsurface-divelog.org/downloads/Subsurface-${version}.tgz";
@@ -79,18 +81,13 @@ in stdenv.mkDerivation rec {
qtbase qtconnectivity qtsvg qttools qtwebkit
];
- nativeBuildInputs = [ cmake makeWrapper pkgconfig ];
+ nativeBuildInputs = [ cmake wrapQtAppsHook pkgconfig ];
cmakeFlags = [
"-DLIBDC_FROM_PKGCONFIG=ON"
"-DNO_PRINTING=OFF"
];
- postInstall = ''
- wrapProgram $out/bin/subsurface \
- --prefix QT_PLUGIN_PATH : "${googlemaps}/${googlemaps.pluginsSubdir}"
- '';
-
enableParallelBuilding = true;
passthru = { inherit version libdc googlemaps; };
diff --git a/pkgs/applications/misc/sweethome3d/default.nix b/pkgs/applications/misc/sweethome3d/default.nix
index 293f6aaa3c6..9dcdf8fd2b0 100644
--- a/pkgs/applications/misc/sweethome3d/default.nix
+++ b/pkgs/applications/misc/sweethome3d/default.nix
@@ -71,18 +71,18 @@ let
d2u = stdenv.lib.replaceChars ["."] ["_"];
-in rec {
+in {
application = mkSweetHome3D rec {
- version = "6.1.2";
+ version = "6.2";
module = "SweetHome3D";
name = stdenv.lib.toLower module + "-application-" + version;
description = "Design and visualize your future home";
license = stdenv.lib.licenses.gpl2Plus;
src = fetchsvn {
url = "https://svn.code.sf.net/p/sweethome3d/code/tags/V_" + d2u version + "/SweetHome3D/";
- sha256 = "14svi112kml175dblzcdjzhlfwbp1cy6rki49mqb3632hwmif6ya";
- rev = "6750";
+ sha256 = "0a514a1zmipykvawil46v826ivkw9c00vdkyggyl6m41giay15zf";
+ rev = "6822";
};
desktopName = "Sweet Home 3D";
icons = {
diff --git a/pkgs/applications/misc/synapse/default.nix b/pkgs/applications/misc/synapse/default.nix
index 3e7983c667f..c314e8ffe5a 100644
--- a/pkgs/applications/misc/synapse/default.nix
+++ b/pkgs/applications/misc/synapse/default.nix
@@ -5,10 +5,11 @@
let
version = "0.2.99.4";
in stdenv.mkDerivation rec {
- name = "synapse-${version}";
+ pname = "synapse";
+ inherit version;
src = fetchurl {
- url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${name}.tar.xz";
+ url = "https://launchpad.net/synapse-project/0.3/${version}/+download/${pname}-${version}.tar.xz";
sha256 = "1g6x9knb4jy1d8zgssjhzkgac583137pibisy9whjs8mckaj4k1j";
};
diff --git a/pkgs/applications/misc/syncthing-tray/default.nix b/pkgs/applications/misc/syncthing-tray/default.nix
index f16a0d29c40..a07fe0c7510 100644
--- a/pkgs/applications/misc/syncthing-tray/default.nix
+++ b/pkgs/applications/misc/syncthing-tray/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, buildGoPackage, pkgconfig, libappindicator-gtk3 }:
buildGoPackage rec {
- name = "syncthing-tray-${version}";
+ pname = "syncthing-tray";
version = "0.7";
goPackagePath = "github.com/alex2108/syncthing-tray";
diff --git a/pkgs/applications/misc/syncthingtray/default.nix b/pkgs/applications/misc/syncthingtray/default.nix
new file mode 100644
index 00000000000..0dc8f3bf38e
--- /dev/null
+++ b/pkgs/applications/misc/syncthingtray/default.nix
@@ -0,0 +1,57 @@
+{ mkDerivation
+, stdenv
+, lib
+, fetchFromGitHub
+, qtbase
+, qtwebengine
+, qtdeclarative
+, extra-cmake-modules
+, cpp-utilities
+, qtutilities
+, cmake
+, kio
+, plasma-framework
+, qttools
+, webviewSupport ? true
+, jsSupport ? true
+, kioPluginSupport ? true
+, plasmoidSupport ? true
+, systemdSupport ? true
+}:
+
+mkDerivation rec {
+ version = "0.9.1";
+ pname = "syncthingtray";
+
+ src = fetchFromGitHub {
+ owner = "Martchus";
+ repo = "syncthingtray";
+ rev = "v${version}";
+ sha256 = "0ijwpwlwwbfh9fdfbwz6dgi6hpmaav2jm56mzxm6as50iwnb59fx";
+ };
+
+ buildInputs = [ qtbase cpp-utilities qtutilities ]
+ ++ lib.optionals webviewSupport [ qtwebengine ]
+ ++ lib.optionals jsSupport [ qtdeclarative ]
+ ++ lib.optionals kioPluginSupport [ kio ]
+ ++ lib.optionals plasmoidSupport [ extra-cmake-modules plasma-framework ]
+ ;
+
+ nativeBuildInputs = [ cmake qttools ];
+
+ cmakeFlags = [
+ # See https://github.com/Martchus/syncthingtray/issues/42
+ "-DQT_PLUGIN_DIR:STRING=${placeholder "out"}/lib/qt-5"
+ ] ++ lib.optionals (!plasmoidSupport) ["-DNO_PLASMOID=ON"]
+ ++ lib.optionals (!kioPluginSupport) ["-DNO_FILE_ITEM_ACTION_PLUGIN=ON"]
+ ++ lib.optionals systemdSupport ["-DSYSTEMD_SUPPORT=ON"]
+ ;
+
+ meta = with lib; {
+ homepage = "https://github.com/Martchus/syncthingtray";
+ description = "Tray application and Dolphin/Plasma integration for Syncthing";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ doronbehar ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/misc/synergy/default.nix b/pkgs/applications/misc/synergy/default.nix
index 25855c2a613..377d83e5962 100644
--- a/pkgs/applications/misc/synergy/default.nix
+++ b/pkgs/applications/misc/synergy/default.nix
@@ -1,9 +1,9 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, fetchurl, cmake, xlibsWrapper
-, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver, cf-private
+, ApplicationServices, Carbon, Cocoa, CoreServices, ScreenSaver
, libX11, libXi, libXtst, libXrandr, xinput, curl, openssl, unzip }:
stdenv.mkDerivation rec {
- name = "synergy-${version}";
+ pname = "synergy";
version = "1.8.8";
src = fetchFromGitHub {
@@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
buildInputs = [
cmake curl openssl
] ++ lib.optionals stdenv.isDarwin [
- ApplicationServices Carbon Cocoa CoreServices ScreenSaver cf-private
+ ApplicationServices Carbon Cocoa CoreServices ScreenSaver
] ++ lib.optionals stdenv.isLinux [ xlibsWrapper libX11 libXi libXtst libXrandr xinput ];
installPhase = ''
diff --git a/pkgs/applications/misc/tabula/default.nix b/pkgs/applications/misc/tabula/default.nix
index 52e39b98a3b..fbb1832735b 100644
--- a/pkgs/applications/misc/tabula/default.nix
+++ b/pkgs/applications/misc/tabula/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
- name = "tabula-${version}";
+ pname = "tabula";
version = "1.2.1";
diff --git a/pkgs/applications/misc/taskell/default.nix b/pkgs/applications/misc/taskell/default.nix
index 743d89de4ad..702c3124d8a 100644
--- a/pkgs/applications/misc/taskell/default.nix
+++ b/pkgs/applications/misc/taskell/default.nix
@@ -1,8 +1,8 @@
-{ haskell, lib, haskellPackages, fetchFromGitHub }:
+{ lib, haskellPackages, fetchFromGitHub }:
let
- version = "1.4.3";
- sha256 = "0i12x7qzfmmdvi09k96x53zzzrva2w3zbl2f6dkxb8kk5scqqa4v";
+ version = "1.6.1";
+ sha256 = "047gvpq52pif9sfb4qcfdiwz50x3wlnjvsnnjzypm1qlwyl2rbz1";
in (haskellPackages.mkDerivation {
pname = "taskell";
diff --git a/pkgs/applications/misc/taskjuggler/3.x/gemset.nix b/pkgs/applications/misc/taskjuggler/3.x/gemset.nix
index e65ab3451a6..deeeac10694 100644
--- a/pkgs/applications/misc/taskjuggler/3.x/gemset.nix
+++ b/pkgs/applications/misc/taskjuggler/3.x/gemset.nix
@@ -1,5 +1,5 @@
{
- "mail" = {
+ mail = {
version = "2.6.3";
source = {
type = "gem";
@@ -9,14 +9,14 @@
"mime-types"
];
};
- "mime-types" = {
+ mime-types = {
version = "2.6.1";
source = {
type = "gem";
sha256 = "1vnrvf245ijfyxzjbj9dr6i1hkjbyrh4yj88865wv9bs75axc5jv";
};
};
- "taskjuggler" = {
+ taskjuggler = {
version = "3.5.0";
source = {
type = "gem";
@@ -27,7 +27,7 @@
"term-ansicolor"
];
};
- "term-ansicolor" = {
+ term-ansicolor = {
version = "1.3.2";
source = {
type = "gem";
@@ -37,7 +37,7 @@
"tins"
];
};
- "tins" = {
+ tins = {
version = "1.6.0";
source = {
type = "gem";
diff --git a/pkgs/applications/misc/taskjuggler/default.nix b/pkgs/applications/misc/taskjuggler/default.nix
index 1b3bacf71df..838cc199a6c 100644
--- a/pkgs/applications/misc/taskjuggler/default.nix
+++ b/pkgs/applications/misc/taskjuggler/default.nix
@@ -1,4 +1,4 @@
-{ lib, bundlerApp }:
+{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "taskjuggler";
@@ -9,11 +9,13 @@ bundlerApp {
"tj3ts_receiver" "tj3ts_sender" "tj3ts_summary" "tj3webd"
];
+ passthru.updateScript = bundlerUpdateScript "taskjuggler";
+
meta = with lib; {
description = "A modern and powerful project management tool";
homepage = http://taskjuggler.org/;
license = licenses.gpl2;
platforms = platforms.unix;
- maintainers = [ maintainers.manveru ];
+ maintainers = with maintainers; [ manveru nicknovitski ];
};
}
diff --git a/pkgs/applications/misc/tasknc/default.nix b/pkgs/applications/misc/tasknc/default.nix
index 7ca421b49a3..0450cb40a55 100644
--- a/pkgs/applications/misc/tasknc/default.nix
+++ b/pkgs/applications/misc/tasknc/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2017-05-15";
- name = "tasknc-${version}";
+ pname = "tasknc";
src = fetchFromGitHub {
owner = "lharding";
diff --git a/pkgs/applications/misc/taskopen/default.nix b/pkgs/applications/misc/taskopen/default.nix
index 9f1773b191d..847092356d2 100644
--- a/pkgs/applications/misc/taskopen/default.nix
+++ b/pkgs/applications/misc/taskopen/default.nix
@@ -1,6 +1,6 @@
{ fetchurl, stdenv, makeWrapper, which, perl, perlPackages }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "taskopen-1.1.4";
src = fetchurl {
url = "https://github.com/ValiValpas/taskopen/archive/v1.1.4.tar.gz";
diff --git a/pkgs/applications/misc/tasksh/default.nix b/pkgs/applications/misc/tasksh/default.nix
index 6a30adb23da..feb06368de4 100644
--- a/pkgs/applications/misc/tasksh/default.nix
+++ b/pkgs/applications/misc/tasksh/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, cmake, readline }:
stdenv.mkDerivation rec {
- name = "tasksh-${version}";
+ pname = "tasksh";
version = "1.2.0";
enableParallelBuilding = true;
src = fetchurl {
- url = "https://taskwarrior.org/download/${name}.tar.gz";
+ url = "https://taskwarrior.org/download/${pname}-${version}.tar.gz";
sha256 = "1z8zw8lld62fjafjvy248dncjk0i4fwygw0ahzjdvyyppx4zjhkf";
};
diff --git a/pkgs/applications/misc/taskwarrior/default.nix b/pkgs/applications/misc/taskwarrior/default.nix
index dc632f3ed75..ba919fbc626 100644
--- a/pkgs/applications/misc/taskwarrior/default.nix
+++ b/pkgs/applications/misc/taskwarrior/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, libuuid, gnutls }:
stdenv.mkDerivation rec {
- name = "taskwarrior-${version}";
+ pname = "taskwarrior";
version = "2.5.1";
src = fetchurl {
diff --git a/pkgs/applications/misc/tdrop/default.nix b/pkgs/applications/misc/tdrop/default.nix
index 15ee275c0e1..547eea4f2d2 100644
--- a/pkgs/applications/misc/tdrop/default.nix
+++ b/pkgs/applications/misc/tdrop/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper
, xwininfo, xdotool, xprop }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "tdrop";
version = "unstable-2018-11-13";
diff --git a/pkgs/applications/misc/termdown/default.nix b/pkgs/applications/misc/termdown/default.nix
index 65963f9aa34..94eacb1fe06 100644
--- a/pkgs/applications/misc/termdown/default.nix
+++ b/pkgs/applications/misc/termdown/default.nix
@@ -5,12 +5,12 @@ with stdenv.lib;
buildPythonApplication rec {
- name = "termdown-${version}";
- version = "1.14.1";
+ pname = "termdown";
+ version = "1.16.0";
src = fetchFromGitHub {
rev = version;
- sha256 = "0jgjzglna0gwp0j31l48pny69szslczl13aahwjfjypkv9lx8w2a";
+ sha256 = "0k429ss1xifm9vbgyzpp71r79byn9jclvr0rm77bai2r8nz3s2vf";
repo = "termdown";
owner = "trehn";
};
diff --git a/pkgs/applications/misc/terminal-notifier/default.nix b/pkgs/applications/misc/terminal-notifier/default.nix
index 3599bd0030b..00300e65abb 100644
--- a/pkgs/applications/misc/terminal-notifier/default.nix
+++ b/pkgs/applications/misc/terminal-notifier/default.nix
@@ -1,7 +1,7 @@
{ stdenv, runtimeShell, lib, fetchzip }:
stdenv.mkDerivation rec {
- name = "terminal-notifier-${version}";
+ pname = "terminal-notifier";
version = "2.0.0";
diff --git a/pkgs/applications/misc/terminal-parrot/default.nix b/pkgs/applications/misc/terminal-parrot/default.nix
index bdbea571790..ba898932f06 100644
--- a/pkgs/applications/misc/terminal-parrot/default.nix
+++ b/pkgs/applications/misc/terminal-parrot/default.nix
@@ -1,13 +1,13 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
- name = "terminal-parrot-${version}";
+ pname = "terminal-parrot";
version = "1.1.1";
src = fetchFromGitHub {
owner = "jmhobbs";
repo = "terminal-parrot";
- rev = "${version}";
+ rev = version;
sha256 = "1b4vr4s1zpkpf5kc1r2kdlp3hf88qp1f7h05g8kd62zf4sfbj722";
};
diff --git a/pkgs/applications/misc/terminator/default.nix b/pkgs/applications/misc/terminator/default.nix
index 80dffe6d93f..d09c98b6709 100644
--- a/pkgs/applications/misc/terminator/default.nix
+++ b/pkgs/applications/misc/terminator/default.nix
@@ -35,7 +35,7 @@ python2.pkgs.buildPythonApplication rec {
'';
homepage = https://gnometerminator.blogspot.no/p/introduction.html;
license = licenses.gpl2;
- maintainers = with maintainers; [ bjornfor globin ];
+ maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/misc/terminus/default.nix b/pkgs/applications/misc/terminus/default.nix
index c12a4c9f8da..fce46d120de 100644
--- a/pkgs/applications/misc/terminus/default.nix
+++ b/pkgs/applications/misc/terminus/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, dpkg, gnome2, gtk2, atk, glib, pango, gdk_pixbuf, cairo
+{ stdenv, lib, fetchurl, dpkg, gnome2, gtk2, atk, glib, pango, gdk-pixbuf, cairo
, freetype, fontconfig, dbus, libXi, libXcursor, libXdamage, libXrandr
, libXcomposite, libXext, libXfixes, libXrender, libX11, libXtst, libXScrnSaver
, libxcb, makeWrapper, nodejs
@@ -6,14 +6,14 @@
let
libPath = stdenv.lib.makeLibraryPath [
- stdenv.cc.cc gtk2 atk glib pango gdk_pixbuf cairo freetype fontconfig dbus
+ stdenv.cc.cc gtk2 atk glib pango gdk-pixbuf cairo freetype fontconfig dbus
libXi libXcursor libXdamage libXrandr libXcomposite libXext libXfixes libxcb
libXrender libX11 libXtst libXScrnSaver gnome2.GConf nss nspr alsaLib cups expat systemd libpulseaudio
];
in
stdenv.mkDerivation rec {
version = "1.0.0-alpha.42";
- name = "terminus-${version}";
+ pname = "terminus";
src = fetchurl {
url = "https://github.com/Eugeny/terminus/releases/download/v${version}/terminus_${version}_amd64.deb";
sha256 = "1r5n75n71zwahg4rxlnf9qzrb0651gxv0987m6bykqmfpnw91nmb";
diff --git a/pkgs/applications/misc/termite/default.nix b/pkgs/applications/misc/termite/default.nix
index 674b228746d..6a9de364446 100644
--- a/pkgs/applications/misc/termite/default.nix
+++ b/pkgs/applications/misc/termite/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, vte-ng, gtk3, ncurses, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "termite-${version}";
+ pname = "termite";
version = "15";
src = fetchFromGitHub {
@@ -42,7 +42,7 @@ stdenv.mkDerivation rec {
description = "A simple VTE-based terminal";
license = licenses.lgpl2Plus;
homepage = https://github.com/thestinger/termite/;
- maintainers = with maintainers; [ koral garbas ];
+ maintainers = with maintainers; [ koral ];
platforms = platforms.all;
};
}
diff --git a/pkgs/applications/misc/termite/wrapper.nix b/pkgs/applications/misc/termite/wrapper.nix
index 0b12a905360..379223d9076 100644
--- a/pkgs/applications/misc/termite/wrapper.nix
+++ b/pkgs/applications/misc/termite/wrapper.nix
@@ -1,4 +1,4 @@
-{ makeWrapper, wrapGAppsHook, symlinkJoin, configFile ? null, termite }:
+{ makeWrapper, symlinkJoin, configFile ? null, termite }:
if configFile == null then termite else symlinkJoin {
name = "termite-with-config-${termite.version}";
diff --git a/pkgs/applications/misc/teseq/default.nix b/pkgs/applications/misc/teseq/default.nix
index 9502b3a0abe..b1764591982 100644
--- a/pkgs/applications/misc/teseq/default.nix
+++ b/pkgs/applications/misc/teseq/default.nix
@@ -4,7 +4,8 @@ let
version = "1.1.1";
in
stdenv.mkDerivation {
- name = "teseq-${version}";
+ pname = "teseq";
+ inherit version;
src = fetchurl {
url = "mirror://gnu/teseq/teseq-${version}.tar.gz";
diff --git a/pkgs/applications/misc/tilda/default.nix b/pkgs/applications/misc/tilda/default.nix
index 4172660182d..39f54156fef 100644
--- a/pkgs/applications/misc/tilda/default.nix
+++ b/pkgs/applications/misc/tilda/default.nix
@@ -5,11 +5,11 @@
stdenv.mkDerivation rec {
- name = "tilda-${version}";
+ pname = "tilda";
version = "1.4.1";
src = fetchzip {
- url = "https://github.com/lanoxx/tilda/archive/${name}.tar.gz";
+ url = "https://github.com/lanoxx/tilda/archive/${pname}-${version}.tar.gz";
sha256 = "154rsldqjv2m1bddisb930qicb0y35kx7bxq392n2hn68jr2pxkj";
};
diff --git a/pkgs/applications/misc/tilix/default.nix b/pkgs/applications/misc/tilix/default.nix
index 342eca0a6fd..aae17905cb7 100644
--- a/pkgs/applications/misc/tilix/default.nix
+++ b/pkgs/applications/misc/tilix/default.nix
@@ -1,51 +1,85 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, dmd, gnome3, dbus
-, gsettings-desktop-schemas, desktop-file-utils, gettext, gtkd, libsecret
-, glib, perlPackages, wrapGAppsHook, xdg_utils }:
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, meson
+, ninja
+, python3
+, pkgconfig
+, dmd
+, gnome3
+, dbus
+, gsettings-desktop-schemas
+, desktop-file-utils
+, gettext
+, gtkd
+, libsecret
+, glib
+, wrapGAppsHook
+, libunwind
+, hicolor-icon-theme
+}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "tilix";
- version = "1.9.3";
+ version = "unstable-2019-08-03";
src = fetchFromGitHub {
owner = "gnunn1";
repo = "tilix";
- rev = version;
- sha256 = "0mg9y4xd2pnv0smibg7dyy733jarvx6qpdqap3sj7fpyni0jvpph";
+ rev = "09ec4e8e113703ca795946d8d2a83091e7b741e4";
+ sha256 = "1vvp6l25xygzhbhscg8scik8y59nl8a92ri024ijk0c0lclga05m";
};
+ # Default upstream else LDC fails to link
+ mesonBuildType = [
+ "debugoptimized"
+ ];
+
nativeBuildInputs = [
- autoreconfHook dmd desktop-file-utils perlPackages.Po4a pkgconfig xdg_utils
+ desktop-file-utils
+ dmd
+ hicolor-icon-theme # for setup-hook
+ meson
+ ninja
+ pkgconfig
+ python3
wrapGAppsHook
];
- buildInputs = [ gnome3.dconf gettext gsettings-desktop-schemas gtkd dbus libsecret ];
+ buildInputs = [
+ dbus
+ gettext
+ gnome3.dconf
+ gsettings-desktop-schemas
+ gtkd
+ libsecret
+ libunwind
+ ];
- preBuild = ''
- makeFlagsArray=(
- DCFLAGS='-O -inline -release -version=StdLoggerDisableTrace'
- )
- '';
+ patches = [
+ # Depends on libsecret optionally
+ # https://github.com/gnunn1/tilix/pull/1745
+ (fetchpatch {
+ url = "https://github.com/gnunn1/tilix/commit/e38dd182bfb92419d70434926ef9c0530189aab8.patch";
+ sha256 = "1ws4iyzi67crzlp9p7cw8jr752b3phcg5ymx5aj0bh6321g38kfk";
+ })
+ ];
- postInstall = ''
- ${glib.dev}/bin/glib-compile-schemas $out/share/glib-2.0/schemas
+ postPatch = ''
+ chmod +x meson_post_install.py
+ patchShebangs meson_post_install.py
'';
preFixup = ''
- gappsWrapperArgs+=(--prefix LD_LIBRARY_PATH ":" "${libsecret}/lib")
-
substituteInPlace $out/share/applications/com.gexperts.Tilix.desktop \
--replace "Exec=tilix" "Exec=$out/bin/tilix"
-
- # TODO: Won't be needed after the switch to Meson
- substituteInPlace $out/share/dbus-1/services/com.gexperts.Tilix.service \
- --replace "/usr/bin/tilix" "$out/bin/tilix"
'';
meta = with stdenv.lib; {
description = "Tiling terminal emulator following the Gnome Human Interface Guidelines";
homepage = https://gnunn1.github.io/tilix-web;
license = licenses.mpl20;
- maintainers = with maintainers; [ midchildan ];
+ maintainers = with maintainers; [ midchildan worldofpeace ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/misc/timewarrior/default.nix b/pkgs/applications/misc/timewarrior/default.nix
index ca049ba04c9..d0419c414d7 100644
--- a/pkgs/applications/misc/timewarrior/default.nix
+++ b/pkgs/applications/misc/timewarrior/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
- name = "timewarrior-${version}";
+ pname = "timewarrior";
version = "1.1.1";
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/tint2/default.nix b/pkgs/applications/misc/tint2/default.nix
index c70503cbff2..e612fb10ff8 100644
--- a/pkgs/applications/misc/tint2/default.nix
+++ b/pkgs/applications/misc/tint2/default.nix
@@ -5,14 +5,14 @@
}:
stdenv.mkDerivation rec {
- name = "tint2-${version}";
- version = "16.6.1";
+ pname = "tint2";
+ version = "16.7";
src = fetchFromGitLab {
owner = "o9000";
repo = "tint2";
rev = version;
- sha256 = "1h5bn4vi7gffwi4mpwpn0s6vxvl44rn3m9b23w8q9zyz9v24flz7";
+ sha256 = "1937z0kixb6r82izj12jy4x8z4n96dfq1hx05vcsvsg1sx3wxgb0";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/tippecanoe/default.nix b/pkgs/applications/misc/tippecanoe/default.nix
new file mode 100644
index 00000000000..8d84ab59d47
--- /dev/null
+++ b/pkgs/applications/misc/tippecanoe/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, sqlite, zlib, perl }:
+
+stdenv.mkDerivation rec {
+ pname = "tippecanoe";
+ version = "1.34.3";
+
+ src = fetchFromGitHub {
+ owner = "mapbox";
+ repo = pname;
+ rev = version;
+ sha256 = "08pkxzwp4w5phrk9b0vszxnx8yymp50v0bcw96pz8qwk48z4xm0i";
+ };
+
+ buildInputs = [ sqlite zlib ];
+ checkInputs = [ perl ];
+
+ makeFlags = [ "PREFIX=$(out)" ];
+
+ enableParallelBuilding = true;
+ doCheck = true;
+
+ meta = with stdenv.lib; {
+ description = "Build vector tilesets from large collections of GeoJSON features";
+ homepage = https://github.com/mapbox/tippecanoe;
+ license = licenses.bsd2;
+ maintainers = with maintainers; [ sikmir ];
+ platforms = platforms.linux ++ platforms.darwin;
+ };
+}
diff --git a/pkgs/applications/misc/tnef/default.nix b/pkgs/applications/misc/tnef/default.nix
index 6cf1f27a104..cb70d57869c 100644
--- a/pkgs/applications/misc/tnef/default.nix
+++ b/pkgs/applications/misc/tnef/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.4.17";
- name = "tnef-${version}";
+ pname = "tnef";
src = fetchFromGitHub {
owner = "verdammelt";
diff --git a/pkgs/applications/misc/todiff/default.nix b/pkgs/applications/misc/todiff/default.nix
index 148d6b042f7..93f233a4f92 100644
--- a/pkgs/applications/misc/todiff/default.nix
+++ b/pkgs/applications/misc/todiff/default.nix
@@ -1,7 +1,7 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
- name = "todiff-${version}";
+ pname = "todiff";
version = "0.6.1";
src = fetchFromGitHub {
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1y0v8nkaqb8kn61xwarpbyrq019gxx1f5f5p1hzw73nqxadc1rcm";
};
- cargoSha256 = "1r7l9zbw6kq8yb5cv6h0qgl2gp71bkn9xv7b2n49a5r7by98jjqr";
+ cargoSha256 = "0xn5p71qk0ahd2drklja16xwv7zw0797kkzpiv563kffzvd1p8id";
checkPhase = "cargo test --features=integration_tests";
diff --git a/pkgs/applications/misc/todoist/default.nix b/pkgs/applications/misc/todoist/default.nix
index d4735c0baf5..eaedad16748 100644
--- a/pkgs/applications/misc/todoist/default.nix
+++ b/pkgs/applications/misc/todoist/default.nix
@@ -1,17 +1,17 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
- name = "todoist-${version}";
- version = "0.13.1";
+ pname = "todoist";
+ version = "0.14.0";
src = fetchFromGitHub {
owner = "sachaos";
repo = "todoist";
rev = "v${version}";
- sha256 = "1kwvlsjr2a7wdhlwpxxpdh87wz8k9yjwl59vl2g7ya6m0rvhd3mc";
+ sha256 = "0qhmv65il14lns817yxhma784jw5bz629svzh2ykrmilx5f7dxqc";
};
- modSha256 = "09n6abyaqwz4zcdz8934rvpbxhp4v2nmm5v739kkcc98c3h93i64";
+ modSha256 = "1nnp5ijz4n34gc97rar4wlvlbx21ndpjyb2mc6gxdk1wzx3mgswp";
meta = {
homepage = https://github.com/sachaos/todoist;
diff --git a/pkgs/applications/misc/todolist/default.nix b/pkgs/applications/misc/todolist/default.nix
index 122567de2e1..669c06a9480 100644
--- a/pkgs/applications/misc/todolist/default.nix
+++ b/pkgs/applications/misc/todolist/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "todolist-${version}";
+ pname = "todolist";
version = "v0.8.1";
goPackagePath = "github.com/gammons/todolist";
@@ -9,7 +9,7 @@ buildGoPackage rec {
src = fetchFromGitHub {
owner = "gammons";
repo = "todolist";
- rev = "${version}";
+ rev = version;
sha256 = "0dazfymby5xm4482p9cyj23djmkz5q7g79cqm2d85mczvz7vks8p";
};
diff --git a/pkgs/applications/misc/toggldesktop/default.nix b/pkgs/applications/misc/toggldesktop/default.nix
index b268bdd0962..bf22cb0181d 100644
--- a/pkgs/applications/misc/toggldesktop/default.nix
+++ b/pkgs/applications/misc/toggldesktop/default.nix
@@ -12,7 +12,7 @@ let
};
bugsnag-qt = stdenv.mkDerivation rec {
- name = "bugsnag-qt-${version}";
+ pname = "bugsnag-qt";
version = "20180522.005732";
src = fetchzip {
@@ -25,7 +25,7 @@ let
};
qxtglobalshortcut = stdenv.mkDerivation rec {
- name = "qxtglobalshortcut-${version}";
+ pname = "qxtglobalshortcut";
version = "f584471dada2099ba06c574bdfdd8b078c2e3550";
src = fetchzip {
@@ -38,7 +38,7 @@ let
};
qt-oauth-lib = stdenv.mkDerivation rec {
- name = "qt-oauth-lib-${version}";
+ pname = "qt-oauth-lib";
version = "20190125.190943";
src = fetchzip {
diff --git a/pkgs/applications/misc/tomboy/default.nix b/pkgs/applications/misc/tomboy/default.nix
index ba6e97d61fb..d8a6f86f104 100644
--- a/pkgs/applications/misc/tomboy/default.nix
+++ b/pkgs/applications/misc/tomboy/default.nix
@@ -8,7 +8,8 @@ let
in
stdenv.mkDerivation {
- name = "tomboy-${version}";
+ pname = "tomboy";
+ inherit version;
src = fetchurl {
url = "https://github.com/tomboy-notes/tomboy/releases/download/${version}/tomboy-${version}.tar.xz";
diff --git a/pkgs/applications/misc/toot/default.nix b/pkgs/applications/misc/toot/default.nix
index 6079c8807dc..425ea8d237b 100644
--- a/pkgs/applications/misc/toot/default.nix
+++ b/pkgs/applications/misc/toot/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
- version = "0.21.0";
+ version = "0.22.0";
name = "toot-${version}";
src = fetchFromGitHub {
owner = "ihabunek";
repo = "toot";
- rev = "${version}";
- sha256 = "03s81i9rz7dn33r13p7j2c7yw874hkm64x7myddiqw9lc21fyzql";
+ rev = version;
+ sha256 = "11dgz082shxpbsxr4i41as040cfqinm5lbcg3bmsxqvc4hsz2nr5";
};
checkInputs = with python3Packages; [ pytest ];
diff --git a/pkgs/applications/misc/tootle/default.nix b/pkgs/applications/misc/tootle/default.nix
index 413f082fb22..4ccf204357c 100644
--- a/pkgs/applications/misc/tootle/default.nix
+++ b/pkgs/applications/misc/tootle/default.nix
@@ -7,7 +7,7 @@
let
pname = "tootle";
version = "0.2.0";
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/topydo/default.nix b/pkgs/applications/misc/topydo/default.nix
index 34952b9c0f4..eb3894c7b47 100644
--- a/pkgs/applications/misc/topydo/default.nix
+++ b/pkgs/applications/misc/topydo/default.nix
@@ -5,7 +5,6 @@ with python3Packages;
buildPythonApplication rec {
pname = "topydo";
version = "0.13";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "bram85";
diff --git a/pkgs/applications/misc/tpmmanager/default.nix b/pkgs/applications/misc/tpmmanager/default.nix
index 09322b47506..b955711d003 100644
--- a/pkgs/applications/misc/tpmmanager/default.nix
+++ b/pkgs/applications/misc/tpmmanager/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.8.1";
- name = "tpmmanager-${version}";
+ pname = "tpmmanager";
src = fetchgit {
url = "https://github.com/Sirrix-AG/TPMManager";
diff --git a/pkgs/applications/misc/translate-shell/default.nix b/pkgs/applications/misc/translate-shell/default.nix
index 9fb8469cf27..a2f6980abd9 100644
--- a/pkgs/applications/misc/translate-shell/default.nix
+++ b/pkgs/applications/misc/translate-shell/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, makeWrapper, curl, fribidi, rlwrap, gawk, groff, ncurses }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "translate-shell";
- version = "0.9.6.10";
+ version = "0.9.6.11";
src = fetchFromGitHub {
owner = "soimort";
repo = "translate-shell";
rev = "v${version}";
- sha256 = "1dmh3flldfhnqfay3a6c5hanqcjwrmbly1bq8mlk022qfi1fv33y";
+ sha256 = "137fz3ahzf65hfqcs4k7hhrmfjlhlw7wr3gfsvk88bnyqkyw44sm";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/misc/tthsum/default.nix b/pkgs/applications/misc/tthsum/default.nix
index dbac56abaa1..76ac3f75b26 100644
--- a/pkgs/applications/misc/tthsum/default.nix
+++ b/pkgs/applications/misc/tthsum/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "tthsum-${version}";
+ pname = "tthsum";
version = "1.3.2";
src = fetchurl {
diff --git a/pkgs/applications/misc/twmn/default.nix b/pkgs/applications/misc/twmn/default.nix
index 04c6cc3606e..2aef45748ca 100644
--- a/pkgs/applications/misc/twmn/default.nix
+++ b/pkgs/applications/misc/twmn/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, qtbase, qtx11extras, qmake, pkgconfig, boost }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "twmn-git-2018-10-01";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/tzupdate/default.nix b/pkgs/applications/misc/tzupdate/default.nix
index c887876634f..ae418544132 100644
--- a/pkgs/applications/misc/tzupdate/default.nix
+++ b/pkgs/applications/misc/tzupdate/default.nix
@@ -5,11 +5,11 @@ let
in
buildPythonApplication rec {
pname = "tzupdate";
- version = "1.4.0";
+ version = "1.5.0";
src = fetchPypi {
inherit pname version;
- sha256 = "1sc3z2bx2nhnxg82x0jy19pr8lw56chbr90c2lr11w495csqwhz7";
+ sha256 = "13np40h64bgkcj10qw6f4nb51p47bb20fd6pzxq8xbr645a4d34m";
};
propagatedBuildInputs = [ requests ];
diff --git a/pkgs/applications/misc/ulauncher/default.nix b/pkgs/applications/misc/ulauncher/default.nix
new file mode 100644
index 00000000000..3db6f6ae565
--- /dev/null
+++ b/pkgs/applications/misc/ulauncher/default.nix
@@ -0,0 +1,105 @@
+{ stdenv
+, fetchurl
+, python27Packages
+, gnome3
+, gobject-introspection
+, wrapGAppsHook
+, webkitgtk
+, libnotify
+, keybinder3
+, libappindicator
+, intltool
+, wmctrl
+, hicolor-icon-theme
+, xvfb_run
+}:
+
+python27Packages.buildPythonApplication rec {
+ pname = "ulauncher";
+ version = "4.4.0.r1";
+
+ # Python 3 support is currently in development
+ # on the dev branch and 5.x.x releases
+ disabled = ! python27Packages.isPy27;
+
+ src = fetchurl {
+ url = "https://github.com/Ulauncher/Ulauncher/releases/download/${version}/ulauncher_${version}.tar.gz";
+ sha256 = "12v7qpjhf0842ivsfflsl2zlvhiaw25f9ffv7vhnkvrhrmksim9f";
+ };
+
+ nativeBuildInputs = with python27Packages; [
+ distutils_extra
+ intltool
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ gnome3.adwaita-icon-theme
+ gobject-introspection
+ hicolor-icon-theme
+ keybinder3
+ libappindicator
+ libnotify
+ webkitgtk
+ wmctrl
+ ];
+
+ propagatedBuildInputs = with python27Packages; [
+ dbus-python
+ notify
+ pygobject3
+ pyinotify
+ pysqlite
+ python-Levenshtein
+ pyxdg
+ websocket_client
+ ];
+
+ checkInputs = with python27Packages; [
+ mock
+ pytest
+ pytest-mock
+ pytestpep8
+ xvfb_run
+ ];
+
+ patches = [
+ ./fix-path.patch
+ ];
+
+ postPatch = ''
+ substituteInPlace setup.py --subst-var out
+ '';
+
+ # https://github.com/Ulauncher/Ulauncher/issues/390
+ doCheck = false;
+
+ preCheck = ''
+ export PYTHONPATH=$PYTHONPATH:$out/${python27Packages.python.sitePackages}
+ '';
+
+ # Simple translation of
+ # - https://github.com/Ulauncher/Ulauncher/blob/f5a601bdca75198a6a31b9d84433496b63530e74/test
+ checkPhase = ''
+ runHook preCheck
+
+ # skip tests in invocation that handle paths that
+ # aren't nix friendly (i think)
+ xvfb-run -s '-screen 0 1024x768x16' \
+ pytest -k 'not TestPath and not test_handle_key_press_event' --pep8 tests
+
+ runHook postCheck
+ '';
+
+ preFixup = ''
+ gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ wmctrl ]}")
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A fast application launcher for Linux, written in Python, using GTK";
+ homepage = https://ulauncher.io/;
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ aaronjanse worldofpeace ];
+ };
+}
diff --git a/pkgs/applications/misc/ulauncher/fix-path.patch b/pkgs/applications/misc/ulauncher/fix-path.patch
new file mode 100644
index 00000000000..2936df65194
--- /dev/null
+++ b/pkgs/applications/misc/ulauncher/fix-path.patch
@@ -0,0 +1,13 @@
+diff --git a/setup.py b/setup.py
+index 3616104..e9bbfda 100755
+--- a/setup.py
++++ b/setup.py
+@@ -112,7 +112,7 @@ class InstallAndUpdateDataDirectory(DistUtilsExtra.auto.install_auto):
+ DistUtilsExtra.auto.install_auto.run(self)
+
+ target_data = '/' + os.path.relpath(self.install_data, self.root) + '/'
+- target_pkgdata = target_data + 'share/ulauncher/'
++ target_pkgdata = '@out@/share/ulauncher/'
+ target_scripts = '/' + os.path.relpath(self.install_scripts,
+ self.root) + '/'
+
diff --git a/pkgs/applications/misc/urlscan/default.nix b/pkgs/applications/misc/urlscan/default.nix
index 43861d9f60a..87800cf90d6 100644
--- a/pkgs/applications/misc/urlscan/default.nix
+++ b/pkgs/applications/misc/urlscan/default.nix
@@ -2,13 +2,13 @@
python3Packages.buildPythonApplication rec {
pname = "urlscan";
- version = "0.9.2";
+ version = "0.9.3";
src = fetchFromGitHub {
owner = "firecat53";
repo = pname;
rev = version;
- sha256 = "16cc1vvvhylrl9208d253k11rqzi95mg7hrf7xbd0bqxvd6rmxar";
+ sha256 = "0z24k8sk2zfp2pwysyp844vmhr5vbkj74frwy4i0v5pj60i9jl0v";
};
propagatedBuildInputs = [ python3Packages.urwid ];
diff --git a/pkgs/applications/misc/urlview/default.nix b/pkgs/applications/misc/urlview/default.nix
index 8764c41c8a4..ad29c8f94d8 100644
--- a/pkgs/applications/misc/urlview/default.nix
+++ b/pkgs/applications/misc/urlview/default.nix
@@ -31,10 +31,21 @@ stdenv.mkDerivation rec {
patches = debianPatches;
- meta = {
+ postPatch = ''
+ substituteInPlace urlview.c \
+ --replace '/etc/urlview/url_handler.sh' "$out/etc/urlview/url_handler.sh"
+ '';
+
+ postInstall = ''
+ install -Dm755 url_handler.sh $out/etc/urlview/url_handler.sh
+ patchShebangs $out/etc/urlview
+ '';
+
+ meta = with stdenv.lib; {
description = "Extract URLs from text";
homepage = https://packages.qa.debian.org/u/urlview.html;
- license = stdenv.lib.licenses.gpl2;
- platforms = with stdenv.lib.platforms; linux ++ darwin;
+ license = licenses.gpl2;
+ platforms = with platforms; linux ++ darwin;
+ maintainers = with maintainers; [ ma27 ];
};
}
diff --git a/pkgs/applications/misc/usync/default.nix b/pkgs/applications/misc/usync/default.nix
index d12120ca2f1..344c07d845b 100644
--- a/pkgs/applications/misc/usync/default.nix
+++ b/pkgs/applications/misc/usync/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "usync";
version = "0.0.3";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "ebzzry";
diff --git a/pkgs/applications/misc/valentina/default.nix b/pkgs/applications/misc/valentina/default.nix
index 6752b0182fe..5a12465c4c4 100644
--- a/pkgs/applications/misc/valentina/default.nix
+++ b/pkgs/applications/misc/valentina/default.nix
@@ -7,7 +7,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "valentina-${version}";
+ pname = "valentina";
version = "0.6.1";
src = fetchhg {
diff --git a/pkgs/applications/misc/vcal/default.nix b/pkgs/applications/misc/vcal/default.nix
index 7649785524f..b25e7f76cef 100644
--- a/pkgs/applications/misc/vcal/default.nix
+++ b/pkgs/applications/misc/vcal/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, perl }:
stdenv.mkDerivation rec {
- name = "vcal-${version}";
+ pname = "vcal";
version = "2.8";
src = fetchurl {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ perl ]; # for pod2man
- unpackPhase = ":";
+ dontUnpack = true;
dontBuild = true;
installPhase = ''
runHook preInstall
diff --git a/pkgs/applications/misc/veracrypt/default.nix b/pkgs/applications/misc/veracrypt/default.nix
index 8b64bcca667..9639cee2d8c 100644
--- a/pkgs/applications/misc/veracrypt/default.nix
+++ b/pkgs/applications/misc/veracrypt/default.nix
@@ -1,21 +1,21 @@
-{ stdenv, fetchurl, pkgconfig, makeself, yasm, fuse, wxGTK, lvm2 }:
+{ stdenv, fetchurl, pkgconfig, makeself, yasm, fuse, unzip, wxGTK, lvm2 }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "veracrypt";
- name = "${pname}-${version}";
version = "1.23";
+ minorVersion = "-Hotfix-2";
src = fetchurl {
- url = "https://launchpad.net/${pname}/trunk/${version}/+download/VeraCrypt_${version}_Source.tar.bz2";
- sha256 = "009lqi43n2w272sxv7y7dz9sqx15qkx6lszkswr8mwmkpgkm0px1";
+ url = "https://launchpad.net/${pname}/trunk/${version}/+download/VeraCrypt_${version}${minorVersion}_Source.zip";
+ sha256 = "229de81b2478cfa5fa73e74e60798a298cd616e9852b9f47b484c80bc2a2c259";
};
sourceRoot = "src";
nativeBuildInputs = [ makeself pkgconfig yasm ];
- buildInputs = [ fuse lvm2 wxGTK ];
+ buildInputs = [ fuse lvm2 unzip wxGTK ];
enableParallelBuilding = true;
diff --git a/pkgs/applications/misc/verbiste/default.nix b/pkgs/applications/misc/verbiste/default.nix
index f23862c63cd..b6a8b567a50 100644
--- a/pkgs/applications/misc/verbiste/default.nix
+++ b/pkgs/applications/misc/verbiste/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, pkgconfig, libgnomeui, libxml2 }:
stdenv.mkDerivation rec {
- name = "verbiste-${version}";
+ pname = "verbiste";
- version = "0.1.45";
+ version = "0.1.46";
src = fetchurl {
- url = "https://perso.b2b2c.ca/~sarrazip/dev/${name}.tar.gz";
- sha256 = "180zyhdjspp7lk2291wsqs6bm7y27r7bd00447iimmjpx372s22c";
+ url = "https://perso.b2b2c.ca/~sarrazip/dev/${pname}-${version}.tar.gz";
+ sha256 = "13l8b8mbkdds955sn42hzrjzj48lg1drpd7vhpcjxadckbvlh1p0";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/misc/vifm/default.nix b/pkgs/applications/misc/vifm/default.nix
index b61864e026a..81563254abd 100644
--- a/pkgs/applications/misc/vifm/default.nix
+++ b/pkgs/applications/misc/vifm/default.nix
@@ -5,12 +5,12 @@
}:
stdenv.mkDerivation rec {
- name = "vifm-${version}";
- version = "0.10";
+ pname = "vifm";
+ version = "0.10.1";
src = fetchurl {
url = "https://github.com/vifm/vifm/releases/download/v${version}/vifm-${version}.tar.bz2";
- sha256 = "1f380xcyjnm4xmcdazs6dj064bwddhywvn3mgm36k7r7b2gnjnp0";
+ sha256 = "0fyhxh7ndjn8fyjhj14ymkr3pjcs3k1xbs43g7xvvq85vdb6y04r";
};
nativeBuildInputs = [ pkgconfig ];
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A vi-like file manager";
- maintainers = with maintainers; [ raskin garbas ];
+ maintainers = with maintainers; [ raskin ];
platforms = platforms.unix;
license = licenses.gpl2;
downloadPage = "https://vifm.info/downloads.shtml";
diff --git a/pkgs/applications/misc/viking/default.nix b/pkgs/applications/misc/viking/default.nix
index b7d0b330e85..2d8a860e7e8 100644
--- a/pkgs/applications/misc/viking/default.nix
+++ b/pkgs/applications/misc/viking/default.nix
@@ -1,19 +1,21 @@
{ fetchurl, stdenv, makeWrapper, pkgconfig, intltool, gettext, gtk2, expat, curl
, gpsd, bc, file, gnome-doc-utils, libexif, libxml2, libxslt, scrollkeeper
-, docbook_xml_dtd_412, gexiv2, sqlite, gpsbabel, expect, hicolor-icon-theme }:
+, docbook_xml_dtd_412, gexiv2, sqlite, gpsbabel, expect, hicolor-icon-theme
+, geoclue2, liboauth, nettle }:
stdenv.mkDerivation rec {
- name = "viking-${version}";
- version = "1.6.2";
+ pname = "viking";
+ version = "1.7";
src = fetchurl {
url = "mirror://sourceforge/viking/viking/viking-${version}.tar.bz2";
- sha256 = "09kq0sxs2czps0d6xzgkkp41746v44ip63m72qvfs7rsrnqj7qnz";
+ sha256 = "092q2dv0rcz12nh2js1z1ralib1553dmzy9pdrvz9nv2vf61wybw";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ makeWrapper intltool gettext gtk2 expat curl gpsd bc file gnome-doc-utils
libexif libxml2 libxslt scrollkeeper docbook_xml_dtd_412 gexiv2 sqlite hicolor-icon-theme
+ geoclue2 liboauth nettle
];
configureFlags = [ "--disable-scrollkeeper --disable-mapnik" ];
diff --git a/pkgs/applications/misc/visidata/default.nix b/pkgs/applications/misc/visidata/default.nix
index 5ebc98b5712..64645e00bd8 100644
--- a/pkgs/applications/misc/visidata/default.nix
+++ b/pkgs/applications/misc/visidata/default.nix
@@ -2,7 +2,6 @@
, dateutil, pyyaml, openpyxl, xlrd, h5py, fonttools, lxml, pandas, pyshp
}:
buildPythonApplication rec {
- name = "${pname}-${version}";
pname = "visidata";
version = "1.5.2";
diff --git a/pkgs/applications/misc/volnoti/default.nix b/pkgs/applications/misc/volnoti/default.nix
index 166811fb4ae..3561135ce61 100644
--- a/pkgs/applications/misc/volnoti/default.nix
+++ b/pkgs/applications/misc/volnoti/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, fetchpatch
-, pkgconfig, dbus, gdk_pixbuf, glib, libX11, gtk2, librsvg
+, pkgconfig, dbus, gdk-pixbuf, glib, libX11, gtk2, librsvg
, dbus-glib, autoreconfHook, wrapGAppsHook }:
-stdenv.mkDerivation rec {
- name = "volnoti-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "volnoti-unstable";
version = "2013-09-23";
src = fetchFromGitHub {
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig autoreconfHook wrapGAppsHook ];
buildInputs = [
- dbus gdk_pixbuf glib libX11 gtk2 dbus-glib librsvg
+ dbus gdk-pixbuf glib libX11 gtk2 dbus-glib librsvg
];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/vp/default.nix b/pkgs/applications/misc/vp/default.nix
index e794b82e2f6..a59a25a144e 100644
--- a/pkgs/applications/misc/vp/default.nix
+++ b/pkgs/applications/misc/vp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, SDL, SDL_image }:
stdenv.mkDerivation rec {
- name = "vp-${version}";
+ pname = "vp";
version = "1.8";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/vue/default.nix b/pkgs/applications/misc/vue/default.nix
index 1feec9e4550..d6404ca6596 100644
--- a/pkgs/applications/misc/vue/default.nix
+++ b/pkgs/applications/misc/vue/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, runtimeShell }:
stdenv.mkDerivation rec {
- name = "vue-${version}";
+ pname = "vue";
version = "3.3.0";
src = fetchurl {
url = "http://releases.atech.tufts.edu/jenkins/job/VUE/116/deployedArtifacts/download/artifact.1";
diff --git a/pkgs/applications/misc/vym/default.nix b/pkgs/applications/misc/vym/default.nix
index 48818ca3b8b..6dfe8e713c6 100644
--- a/pkgs/applications/misc/vym/default.nix
+++ b/pkgs/applications/misc/vym/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, qmake, qtsvg }:
stdenv.mkDerivation rec {
- name = "vym-${version}";
+ pname = "vym";
version = "2.6.11";
src = fetchurl {
- url = "mirror://sourceforge/project/vym/2.6.0/${name}.tar.bz2";
+ url = "mirror://sourceforge/project/vym/2.6.0/${pname}-${version}.tar.bz2";
sha256 = "1yznlb47jahd662a2blgh1ccwpl5dp5rjz9chsxjzhj3vbkzx3nl";
};
diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix
index 4857a7458e2..002bdef7333 100644
--- a/pkgs/applications/misc/waybar/default.nix
+++ b/pkgs/applications/misc/waybar/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, meson, pkgconfig, ninja
-, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, spdlog
+, wayland, wlroots, gtkmm3, libinput, libsigcxx, jsoncpp, fmt, scdoc, spdlog
, traySupport ? true, libdbusmenu-gtk3
, pulseSupport ? false, libpulseaudio
, nlSupport ? true, libnl
@@ -8,18 +8,18 @@
, mpdSupport ? true, mpd_clientlib
}:
stdenv.mkDerivation rec {
- name = "waybar-${version}";
- version = "0.6.6";
+ pname = "waybar";
+ version = "0.8.0";
src = fetchFromGitHub {
owner = "Alexays";
repo = "Waybar";
rev = version;
- sha256 = "0wxd03lkgssz0vsib9qc040vfg1i6nrg7ac2c6qwficx62j2zlm1";
+ sha256 = "0s8ck7qxka0l91ayma6amp9sc8cidi43byqgzcavi3a6id983r1z";
};
nativeBuildInputs = [
- meson ninja pkgconfig
+ meson ninja pkgconfig scdoc
];
buildInputs = with stdenv.lib;
@@ -31,19 +31,23 @@
++ optional swaySupport sway
++ optional mpdSupport mpd_clientlib;
- mesonFlags = [
- "-Ddbusmenu-gtk=${ if traySupport then "enabled" else "disabled" }"
- "-Dpulseaudio=${ if pulseSupport then "enabled" else "disabled" }"
- "-Dlibnl=${ if nlSupport then "enabled" else "disabled" }"
- "-Dlibudev=${ if udevSupport then "enabled" else "disabled" }"
- "-Dmpd=${ if mpdSupport then "enabled" else "disabled" }"
+ mesonFlags = (stdenv.lib.mapAttrsToList
+ (option: enable: "-D${option}=${if enable then "enabled" else "disabled"}")
+ {
+ dbusmenu-gtk = traySupport;
+ pulseaudio = pulseSupport;
+ libnl = nlSupport;
+ libudev = udevSupport;
+ mpd = mpdSupport;
+ }
+ ) ++ [
"-Dout=${placeholder "out"}"
];
meta = with stdenv.lib; {
description = "Highly customizable Wayland bar for Sway and Wlroots based compositors";
license = licenses.mit;
- maintainers = with maintainers; [ FlorianFranzen minijackson ];
+ maintainers = with maintainers; [ FlorianFranzen minijackson synthetica ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/misc/wcalc/default.nix b/pkgs/applications/misc/wcalc/default.nix
index 1c6dc8f63c2..ff770f516bc 100644
--- a/pkgs/applications/misc/wcalc/default.nix
+++ b/pkgs/applications/misc/wcalc/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, mpfr, readline }:
stdenv.mkDerivation rec {
- name = "wcalc-${version}";
+ pname = "wcalc";
version = "2.5";
src = fetchurl {
- url = "mirror://sourceforge/w-calc/${name}.tar.bz2";
+ url = "mirror://sourceforge/w-calc/${pname}-${version}.tar.bz2";
sha256 = "1vi8dl6rccqiq1apmpwawyg2ywx6a1ic1d3cvkf2hlwk1z11fb0f";
};
diff --git a/pkgs/applications/misc/weather/default.nix b/pkgs/applications/misc/weather/default.nix
index 90fa0166154..2748d576c69 100644
--- a/pkgs/applications/misc/weather/default.nix
+++ b/pkgs/applications/misc/weather/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "2.3";
- name = "weather-${version}";
+ pname = "weather";
src = fetchurl {
- url = "http://fungi.yuggoth.org/weather/src/${name}.tar.xz";
+ url = "http://fungi.yuggoth.org/weather/src/${pname}-${version}.tar.xz";
sha256 = "0inij30prqqcmzjwcmfzjjn0ya5klv18qmajgxipz1jr3lpqs546";
};
diff --git a/pkgs/applications/misc/web-media-controller/default.nix b/pkgs/applications/misc/web-media-controller/default.nix
new file mode 100644
index 00000000000..e381af4f403
--- /dev/null
+++ b/pkgs/applications/misc/web-media-controller/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig, glib, pcre, json-glib }:
+
+stdenv.mkDerivation rec {
+ pname = "wmc-mpris";
+ version = "unstable-2019-07-24";
+
+ src = fetchFromGitHub {
+ owner = "f1u77y";
+ repo = pname;
+ rev = "3b92847c576662732984ad791d6c7899a39f7787";
+ sha256 = "0q19z0zx53pd237x529rif21kliklwzjrdddx8jfr9hgghjv9giq";
+ };
+
+ nativeBuildInputs = [ cmake pkgconfig ];
+ buildInputs = [ glib pcre json-glib ];
+ cmakeFlags = [
+ "-DCHROMIUM_MANIFEST_DESTINATION=${placeholder "out"}/etc/chromium/native-messaging-hosts"
+ "-DCHROME_MANIFEST_DESTINATION=${placeholder "out"}/etc/opt/chrome/native-messaging-hosts"
+ "-DFIREFOX_MANIFEST_DESTINATION=${placeholder "out"}/lib/mozilla/native-messaging-hosts"
+ ];
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/f1u77y/wmc-mpris";
+ description = "MPRIS proxy for usage with 'Web Media Controller' web extension";
+ license = licenses.unlicense;
+ maintainers = with maintainers; [ doronbehar ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/misc/wego/default.nix b/pkgs/applications/misc/wego/default.nix
index a3d3ace009e..03f3caa4c15 100644
--- a/pkgs/applications/misc/wego/default.nix
+++ b/pkgs/applications/misc/wego/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
- name = "wego-${version}";
+ pname = "wego";
version = "20170403-${stdenv.lib.strings.substring 0 7 rev}";
rev = "415efdfab5d5ee68300bf261a0c6f630c6c2584c";
diff --git a/pkgs/applications/misc/wikicurses/default.nix b/pkgs/applications/misc/wikicurses/default.nix
index d8628b794d7..d38383c30ec 100644
--- a/pkgs/applications/misc/wikicurses/default.nix
+++ b/pkgs/applications/misc/wikicurses/default.nix
@@ -2,7 +2,7 @@
pythonPackages.buildPythonApplication rec {
version = "1.4";
- name = "wikicurses-${version}";
+ pname = "wikicurses";
src = fetchFromGitHub {
owner = "ids1024";
diff --git a/pkgs/applications/misc/wordnet/default.nix b/pkgs/applications/misc/wordnet/default.nix
index 5d153a0e417..5a1093b4779 100644
--- a/pkgs/applications/misc/wordnet/default.nix
+++ b/pkgs/applications/misc/wordnet/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "3.0";
- name = "wordnet-${version}";
+ pname = "wordnet";
src = fetchurl {
url = "http://wordnetcode.princeton.edu/${version}/WordNet-${version}.tar.bz2";
sha256 = "08pgjvd2vvmqk3h641x63nxp7wqimb9r30889mkyfh2agc62sjbc";
diff --git a/pkgs/applications/misc/worker/default.nix b/pkgs/applications/misc/worker/default.nix
index 9657dd99e21..e5b89ff43b5 100644
--- a/pkgs/applications/misc/worker/default.nix
+++ b/pkgs/applications/misc/worker/default.nix
@@ -1,12 +1,12 @@
{ stdenv, libX11, fetchurl }:
stdenv.mkDerivation rec {
- name = "worker-${version}";
- version = "3.15.4";
+ pname = "worker";
+ version = "4.0.1";
src = fetchurl {
- url = "http://www.boomerangsworld.de/cms/worker/downloads/${name}.tar.gz";
- sha256 = "03zixi4yqcl05blyn09mlgk102yjbir8bp0yi4czd1sng0rhfc9x";
+ url = "http://www.boomerangsworld.de/cms/worker/downloads/${pname}-${version}.tar.gz";
+ sha256 = "1mwkyak68bsxgff399xmr7bb3hxl0r976b90zi7jrzznwlvxx7vh";
};
buildInputs = [ libX11 ];
diff --git a/pkgs/applications/misc/workrave/default.nix b/pkgs/applications/misc/workrave/default.nix
index 1547d296211..a3c9d735ff8 100644
--- a/pkgs/applications/misc/workrave/default.nix
+++ b/pkgs/applications/misc/workrave/default.nix
@@ -6,7 +6,7 @@
, gst-plugins-good, libsigcxx }:
stdenv.mkDerivation rec {
- name = "workrave-${version}";
+ pname = "workrave";
version = "1.10.31";
src = let
diff --git a/pkgs/applications/misc/wtf/default.nix b/pkgs/applications/misc/wtf/default.nix
index 78ae194f32d..fa865dcc16c 100644
--- a/pkgs/applications/misc/wtf/default.nix
+++ b/pkgs/applications/misc/wtf/default.nix
@@ -1,26 +1,39 @@
{ buildGoModule
, fetchFromGitHub
, lib
+, makeWrapper
+, ncurses
}:
buildGoModule rec {
pname = "wtf";
- version = "0.10.3";
+ version = "0.22.0";
+
+ overrideModAttrs = _oldAttrs : _oldAttrs // {
+ preBuild = ''export GOPROXY="https://gocenter.io"'';
+ };
src = fetchFromGitHub {
owner = "wtfutil";
repo = pname;
rev = "v${version}";
- sha256 = "0ffpydxlc2c9rpr6rnlqk3ca8xc4hjl2107wzcxzx9id1hw8fb40";
- };
+ sha256 = "1d8lp94cw8rh9r9y64awxafhw9fmp33v3m761gzy500hrxal2rzb";
+ };
- modSha256 = "0as736nnx7ci4w9gdp27g55g6dny9bh1fryz3g89gxm2sa2nlb9l";
+ modSha256 = "0m180571j4564py5mzdcbyypk71fdlp2vkfdwi6q85nd2q94sx6h";
- buildFlagsArray = [ "-ldflags=" "-X main.version=${version}" ];
+ buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ postInstall = ''
+ mv "$out/bin/wtf" "$out/bin/wtfutil"
+ wrapProgram "$out/bin/wtfutil" --prefix PATH : "${ncurses.dev}/bin"
+ '';
meta = with lib; {
description = "The personal information dashboard for your terminal";
- homepage = http://wtfutil.com/;
+ homepage = "https://wtfutil.com/";
license = licenses.mpl20;
maintainers = with maintainers; [ kalbasit ];
platforms = platforms.linux ++ platforms.darwin;
diff --git a/pkgs/applications/misc/xastir/default.nix b/pkgs/applications/misc/xastir/default.nix
index 969661ea7b4..4086c0e094a 100644
--- a/pkgs/applications/misc/xastir/default.nix
+++ b/pkgs/applications/misc/xastir/default.nix
@@ -1,23 +1,23 @@
{ stdenv, fetchFromGitHub, autoreconfHook
-, curl, db, gdal, libgeotiff
+, curl, db, libgeotiff
, libXpm, libXt, motif, pcre
, perl, proj, rastermagick, shapelib
}:
stdenv.mkDerivation rec {
pname = "xastir";
- version = "2.1.0";
+ version = "2.1.4";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "Release-${version}";
- sha256 = "16zsgy3589snawr8f1fa22ymvpnjy6njvxmsck7q8p2xmmz2ry7r";
+ sha256 = "14f908jy5jzvgm1h1sr47hjqjq3q2nq91byhimk84kj044fn21w9";
};
buildInputs = [
autoreconfHook
- curl db gdal libgeotiff
+ curl db libgeotiff
libXpm libXt motif pcre
perl proj rastermagick shapelib
];
diff --git a/pkgs/applications/misc/xautoclick/default.nix b/pkgs/applications/misc/xautoclick/default.nix
index bf3d9b737a9..295d721d3c5 100644
--- a/pkgs/applications/misc/xautoclick/default.nix
+++ b/pkgs/applications/misc/xautoclick/default.nix
@@ -3,9 +3,9 @@
, qtSupport ? true, qt4
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "0.31";
- name = "xautoclick-${version}";
+ pname = "xautoclick";
src = fetchurl {
url = "mirror://sourceforge/project/xautoclick/xautoclick/xautoclick-0.31/xautoclick-0.31.tar.gz";
sha256 = "0h522f12a7v2b89411xm51iwixmjp2mp90rnizjgiakx9ajnmqnm";
diff --git a/pkgs/applications/misc/xca/default.nix b/pkgs/applications/misc/xca/default.nix
index 280b3012872..8c5a2e3d2db 100644
--- a/pkgs/applications/misc/xca/default.nix
+++ b/pkgs/applications/misc/xca/default.nix
@@ -2,7 +2,7 @@
, libtool, openssl, qtbase, qttools }:
mkDerivation rec {
- name = "xca-${version}";
+ pname = "xca";
version = "2.1.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/xchm/default.nix b/pkgs/applications/misc/xchm/default.nix
index a7a6500fd22..6a5e62f54e1 100644
--- a/pkgs/applications/misc/xchm/default.nix
+++ b/pkgs/applications/misc/xchm/default.nix
@@ -1,22 +1,30 @@
-{stdenv, fetchurl, wxGTK, chmlib}:
+{ stdenv, fetchFromGitHub, autoreconfHook, wxGTK30, chmlib }:
-stdenv.mkDerivation {
- name = "xchm-1.23";
- src = fetchurl {
- url = mirror://sourceforge/xchm/xchm-1.23.tar.gz;
- sha256 = "0qn0fyxcrn30ndq2asx31k0qkx3grbm16fb1y580wd2gjmh5r3wg";
+stdenv.mkDerivation rec {
+ pname = "xchm";
+ version = "1.30";
+
+ src = fetchFromGitHub {
+ owner = "rzvncj";
+ repo = "xCHM";
+ rev = version;
+ sha256 = "1sjvh06m8jbb28k6y3knas3nkh1dfvff4mlwjs33x12ilhddhr8v";
};
- buildInputs = [wxGTK chmlib];
- postConfigure = ''
- export NIX_LDFLAGS="$NIX_LDFLAGS $(${wxGTK}/lib/wx/config/* --libs | sed -e s@-pthread@@)"
- echo $NIX_LDFLAGS
+ nativeBuildInputs = [ autoreconfHook ];
+ buildInputs = [ wxGTK30 chmlib ];
+
+ configureFlags = [ "--with-wx-prefix=${wxGTK30}" ];
+
+ preConfigure = ''
+ export LDFLAGS="$LDFLAGS $(${wxGTK30}/bin/wx-config --libs | sed -e s@-pthread@@) -lwx_gtk2u_aui-3.0"
'';
meta = with stdenv.lib; {
description = "A viewer for Microsoft HTML Help files";
- homepage = http://xchm.sourceforge.net;
+ homepage = "https://github.com/rzvncj/xCHM";
license = licenses.gpl2;
+ maintainers = with maintainers; [ sikmir ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/misc/xcruiser/default.nix b/pkgs/applications/misc/xcruiser/default.nix
index 945072ce026..8875c95fe57 100644
--- a/pkgs/applications/misc/xcruiser/default.nix
+++ b/pkgs/applications/misc/xcruiser/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, gccmakedep, xorg, imake, libXt, libXaw, libXpm, libXext }:
+{ stdenv, fetchurl, gccmakedep, imake, libXt, libXaw, libXpm, libXext }:
stdenv.mkDerivation {
name = "xcruiser-0.30";
diff --git a/pkgs/applications/misc/xdgmenumaker/default.nix b/pkgs/applications/misc/xdgmenumaker/default.nix
index ed7f2b27c38..b7f8cfce2fb 100644
--- a/pkgs/applications/misc/xdgmenumaker/default.nix
+++ b/pkgs/applications/misc/xdgmenumaker/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, txt2tags, python2Packages }:
stdenv.mkDerivation rec {
- name = "xdgmenumaker-${version}";
+ pname = "xdgmenumaker";
version = "1.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/xiphos/default.nix b/pkgs/applications/misc/xiphos/default.nix
index 88ab52313b0..2e81e9b05d3 100644
--- a/pkgs/applications/misc/xiphos/default.nix
+++ b/pkgs/applications/misc/xiphos/default.nix
@@ -13,13 +13,13 @@
}:
stdenv.mkDerivation rec {
- name = "xiphos-${version}";
+ pname = "xiphos";
version = "4.0.7";
src = fetchFromGitHub {
owner = "crosswire";
repo = "xiphos";
- rev = "${version}";
+ rev = version;
sha256 = "1vwf1ps6nrajxl1qbs6v1cgykmq5wn4j09j10gbcd3b2nvrprf3g";
};
diff --git a/pkgs/applications/misc/xkbd/default.nix b/pkgs/applications/misc/xkbd/default.nix
index 3023e830dc7..d6709ecc1a6 100644
--- a/pkgs/applications/misc/xkbd/default.nix
+++ b/pkgs/applications/misc/xkbd/default.nix
@@ -3,13 +3,13 @@
}:
stdenv.mkDerivation rec {
- name = "xkbd-${version}";
+ pname = "xkbd";
version = "0.8.18";
src = fetchFromGitHub {
owner = "mahatma-kaganovich";
repo = "xkbd";
- rev = name;
+ rev = "${pname}-${version}";
sha256 = "05ry6q75jq545kf6p20nhfywaqf2wdkfiyp6iwdpv9jh238hf7m9";
};
diff --git a/pkgs/applications/misc/xkblayout-state/default.nix b/pkgs/applications/misc/xkblayout-state/default.nix
index 3f3865d7688..abc808477a3 100644
--- a/pkgs/applications/misc/xkblayout-state/default.nix
+++ b/pkgs/applications/misc/xkblayout-state/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchurl, qt4 }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "xkblayout-state";
version = "1b";
diff --git a/pkgs/applications/misc/xkbmon/default.nix b/pkgs/applications/misc/xkbmon/default.nix
index 4fa1c833df5..dc618e4561e 100644
--- a/pkgs/applications/misc/xkbmon/default.nix
+++ b/pkgs/applications/misc/xkbmon/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libX11 }:
stdenv.mkDerivation rec {
- name = "xkbmon-${version}";
+ pname = "xkbmon";
version = "0.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/xmind/default.nix b/pkgs/applications/misc/xmind/default.nix
index fc5abf10989..c673002fb51 100644
--- a/pkgs/applications/misc/xmind/default.nix
+++ b/pkgs/applications/misc/xmind/default.nix
@@ -1,11 +1,11 @@
{ stdenv, lib, fetchzip, fetchurl, gtk2, jre, libXtst, makeWrapper, makeDesktopItem, runtimeShell }:
stdenv.mkDerivation rec {
- name = "xmind-${version}";
+ pname = "xmind";
version = "8-update8";
src = fetchzip {
- url = "https://xmind.net/xmind/downloads/${name}-linux.zip";
+ url = "https://xmind.net/xmind/downloads/${pname}-${version}-linux.zip";
stripRoot = false;
sha256 = "1p68z0b4brgiyybz190alqv716ncql49vsksm41y90mcjd8s4jhn";
};
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
desktopName = "XMind";
comment = meta.description;
categories = "Office;";
- mimeType = "application/xmind;xscheme-handler/xmind";
+ mimeType = "application/xmind;x-scheme-handler/xmind";
};
installPhase = let
diff --git a/pkgs/applications/misc/xmr-stak/default.nix b/pkgs/applications/misc/xmr-stak/default.nix
index 8b6ea4c86c5..4d7b54536e4 100644
--- a/pkgs/applications/misc/xmr-stak/default.nix
+++ b/pkgs/applications/misc/xmr-stak/default.nix
@@ -12,13 +12,13 @@ in
stdenv'.mkDerivation rec {
name = "xmr-stak-${version}";
- version = "2.10.4";
+ version = "2.10.7";
src = fetchFromGitHub {
owner = "fireice-uk";
repo = "xmr-stak";
- rev = "${version}";
- sha256 = "0f3cs0jw0yn8lbcm43m34dnvvgr4qpb8wa176vh4whk7bbjkw7lz";
+ rev = version;
+ sha256 = "1p8hx8gwnv7a49pffq1xmzmrfi3gs6dyra9dn2xi7cl75yn9kfhm";
};
NIX_CFLAGS_COMPILE = "-O3";
@@ -40,6 +40,7 @@ stdenv'.mkDerivation rec {
description = "Unified All-in-one Monero miner";
homepage = "https://github.com/fireice-uk/xmr-stak";
license = licenses.gpl3Plus;
+ platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ fpletz bfortz ];
};
}
diff --git a/pkgs/applications/misc/xmrig/default.nix b/pkgs/applications/misc/xmrig/default.nix
index ff0555eb965..8a46336c9de 100644
--- a/pkgs/applications/misc/xmrig/default.nix
+++ b/pkgs/applications/misc/xmrig/default.nix
@@ -1,20 +1,20 @@
-{ stdenv, lib, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl
+{ stdenv, lib, fetchFromGitHub, cmake, libuv, libmicrohttpd, openssl, hwloc
, donateLevel ? 0
}:
stdenv.mkDerivation rec {
- name = "xmrig-${version}";
- version = "2.14.1";
+ pname = "xmrig";
+ version = "3.0.0";
src = fetchFromGitHub {
owner = "xmrig";
repo = "xmrig";
rev = "v${version}";
- sha256 = "0pc3ssmnn36xs3jgznx36q4z3qh06fkbz8md3p3rk6rpvly929pn";
+ sha256 = "1m0rsjb7y1j77mzg5cqb3fdvzgvjkrwgmkjn9nv1xl2757z8hcl4";
};
nativeBuildInputs = [ cmake ];
- buildInputs = [ libuv libmicrohttpd openssl ];
+ buildInputs = [ libuv libmicrohttpd openssl hwloc ];
postPatch = ''
substituteInPlace src/donate.h \
@@ -31,6 +31,6 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/xmrig/xmrig";
license = licenses.gpl3Plus;
platforms = [ "x86_64-linux" "x86_64-darwin" ];
- maintainers = with maintainers; [ fpletz ];
+ maintainers = with maintainers; [ fpletz kim0 ];
};
}
diff --git a/pkgs/applications/misc/xmrig/proxy.nix b/pkgs/applications/misc/xmrig/proxy.nix
index 2e7c3f5c14d..7d9ebca0086 100644
--- a/pkgs/applications/misc/xmrig/proxy.nix
+++ b/pkgs/applications/misc/xmrig/proxy.nix
@@ -3,24 +3,20 @@
}:
stdenv.mkDerivation rec {
- name = "xmrig-proxy-${version}";
- version = "2.14.1";
+ pname = "xmrig-proxy";
+ version = "3.0.0";
src = fetchFromGitHub {
owner = "xmrig";
repo = "xmrig-proxy";
rev = "v${version}";
- sha256 = "1sw00qz4yg8cwmm3s64bqr3lki6bxmlsi4ankyy2l4dx1vs9kf6r";
+ sha256 = "19rv5zmxwr3kmb2m3fas91aq1493cnkhvs88zcflnijr1ra218ks";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ libuv libmicrohttpd libuuid openssl ];
postPatch = ''
- # Set default donation level to 0%. Can be increased at runtime via --donate-level option.
- substituteInPlace src/donate.h \
- --replace "kDefaultDonateLevel = 2;" "kDefaultDonateLevel = ${toString donateLevel};"
-
# Link dynamically against libuuid instead of statically
substituteInPlace CMakeLists.txt --replace uuid.a uuid
'';
diff --git a/pkgs/applications/misc/xneur/default.nix b/pkgs/applications/misc/xneur/default.nix
index c6438a21f2c..f3bbbf42d5b 100644
--- a/pkgs/applications/misc/xneur/default.nix
+++ b/pkgs/applications/misc/xneur/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, pkgconfig, intltool, xorg, pcre, gst_all_1, glib
-, xosd, libnotify, enchant, wrapGAppsHook, gdk_pixbuf }:
+, xosd, libnotify, enchant, wrapGAppsHook, gdk-pixbuf }:
-stdenv.mkDerivation rec {
- name = "xneur-${version}";
+stdenv.mkDerivation {
+ pname = "xneur";
version = "0.20.0";
src = fetchurl {
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [
xorg.libX11 xorg.libXtst pcre gst_all_1.gstreamer glib
xosd xorg.libXext xorg.libXi libnotify
- enchant gdk_pixbuf
+ enchant gdk-pixbuf
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
diff --git a/pkgs/applications/misc/xpad/default.nix b/pkgs/applications/misc/xpad/default.nix
index 5db4a250839..bc91083892d 100644
--- a/pkgs/applications/misc/xpad/default.nix
+++ b/pkgs/applications/misc/xpad/default.nix
@@ -3,7 +3,7 @@
, glib, intltool, gtk3, gtksourceview, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "xpad-${version}";
+ pname = "xpad";
version = "5.4.0";
src = fetchurl {
diff --git a/pkgs/applications/misc/xpdf/default.nix b/pkgs/applications/misc/xpdf/default.nix
index eb76448391e..d524482dee7 100644
--- a/pkgs/applications/misc/xpdf/default.nix
+++ b/pkgs/applications/misc/xpdf/default.nix
@@ -1,6 +1,6 @@
{ enableGUI ? true, enablePDFtoPPM ? true, useT1Lib ? false
, stdenv, fetchurl, zlib, libpng, freetype ? null, t1lib ? null
-, cmake, qtbase ? null, qtsvg ? null, makeWrapper
+, cmake, qtbase ? null, qtsvg ? null, wrapQtAppsHook
}:
assert enableGUI -> qtbase != null && qtsvg != null && freetype != null;
@@ -22,7 +22,9 @@ stdenv.mkDerivation {
# https://cmake.org/cmake/help/v3.10/command/cmake_minimum_required.html
patches = stdenv.lib.optional stdenv.isDarwin ./cmake_version.patch;
- nativeBuildInputs = [ cmake makeWrapper ];
+ nativeBuildInputs =
+ [ cmake ]
+ ++ stdenv.lib.optional enableGUI wrapQtAppsHook;
cmakeFlags = ["-DSYSTEM_XPDFRC=/etc/xpdfrc" "-DA4_PAPER=ON"];
@@ -36,11 +38,6 @@ stdenv.mkDerivation {
hardeningDisable = [ "format" ];
- postInstall = stdenv.lib.optionalString (stdenv.isDarwin && enableGUI) ''
- wrapProgram $out/bin/xpdf \
- --set QT_PLUGIN_PATH ${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}
- '';
-
meta = with stdenv.lib; {
homepage = https://www.xpdfreader.com;
description = "Viewer for Portable Document Format (PDF) files";
diff --git a/pkgs/applications/misc/xrandr-invert-colors/default.nix b/pkgs/applications/misc/xrandr-invert-colors/default.nix
index bb3385ad016..41071012ae9 100644
--- a/pkgs/applications/misc/xrandr-invert-colors/default.nix
+++ b/pkgs/applications/misc/xrandr-invert-colors/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.01";
- name = "xrandr-invert-colors-${version}";
+ pname = "xrandr-invert-colors";
src = fetchurl {
url = "https://github.com/zoltanp/xrandr-invert-colors/archive/v${version}.tar.gz";
sha256 = "1z4hxn56rlflvqanb8ncqa1xqawnda85b1b37w6r2iqs8rw52d75";
diff --git a/pkgs/applications/misc/xrq/default.nix b/pkgs/applications/misc/xrq/default.nix
index fe65004b32a..244a2c43a15 100644
--- a/pkgs/applications/misc/xrq/default.nix
+++ b/pkgs/applications/misc/xrq/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, libX11}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "xrq-unstable-2016-01-15";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/xscope/default.nix b/pkgs/applications/misc/xscope/default.nix
index 28ce4a0d500..517105d7e1f 100644
--- a/pkgs/applications/misc/xscope/default.nix
+++ b/pkgs/applications/misc/xscope/default.nix
@@ -1,12 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libXt }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "xscope";
version = "1.4.1";
src = fetchurl {
- url = "mirror://xorg/individual/app/${name}.tar.bz2";
+ url = "mirror://xorg/individual/app/${pname}-${version}.tar.bz2";
sha256 = "08zl3zghvbcqy0r5dn54dim84lp52s0ygrr87jr3a942a6ypz01k";
};
diff --git a/pkgs/applications/misc/xsuspender/default.nix b/pkgs/applications/misc/xsuspender/default.nix
index ef9ce339361..55ecd358c6c 100644
--- a/pkgs/applications/misc/xsuspender/default.nix
+++ b/pkgs/applications/misc/xsuspender/default.nix
@@ -4,7 +4,7 @@
with lib;
stdenv.mkDerivation rec {
- name = "xsuspender-${version}";
+ pname = "xsuspender";
version = "1.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/xsw/default.nix b/pkgs/applications/misc/xsw/default.nix
index 3e8acff00f8..aa851e14ab5 100644
--- a/pkgs/applications/misc/xsw/default.nix
+++ b/pkgs/applications/misc/xsw/default.nix
@@ -4,7 +4,7 @@ let
makeSDLFlags = map (p: "-I${lib.getDev p}/include/SDL");
in stdenv.mkDerivation rec {
- name = "xsw-${version}";
+ pname = "xsw";
version = "0.1.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/misc/xteddy/default.nix b/pkgs/applications/misc/xteddy/default.nix
index 6f67ed96c57..856ddb8ff50 100644
--- a/pkgs/applications/misc/xteddy/default.nix
+++ b/pkgs/applications/misc/xteddy/default.nix
@@ -1,19 +1,22 @@
-{ stdenv, fetchzip, pkg-config, xorg, imlib2, makeWrapper }:
+{ stdenv, fetchFromGitLab, pkg-config, xorg, imlib2, makeWrapper }:
stdenv.mkDerivation rec {
- name = "xteddy-${version}";
- version = "2.2";
- src = fetchzip {
- url = "https://deb.debian.org/debian/pool/main/x/xteddy/xteddy_${version}.orig.tar.gz";
- sha256 = "0sap4fqvs0888ymf5ga10p3n7n5kr35j38kfsfd7nj0xm4hmcma3";
+ pname = "xteddy";
+ version = "2.2-5";
+ src = fetchFromGitLab {
+ domain = "salsa.debian.org";
+ owner = "games-team";
+ repo = "xteddy";
+ rev = "debian%2F${version}"; # %2F = urlquote("/");
+ sha256 = "0rm7w78d6qajq4fvi4agyqm0c70f3c1i0cy2jdb6kqql2k8w78qy";
};
+
nativeBuildInputs = [ pkg-config makeWrapper ];
buildInputs = [ imlib2 xorg.libX11 xorg.libXext ];
- makeFlags = [ "LIBS=-lXext" ];
+ patches = [ "${src}/debian/patches/10_libXext.patch" "${src}/debian/patches/wrong-man-page-section.patch" ];
postPatch = ''
- sed -i 's/man 1 xteddy/man 6 xteddy/' xteddy.c
sed -i "s:/usr/games/xteddy:$out/bin/xteddy:" xtoys
sed -i "s:/usr/share/xteddy:$out/share/xteddy:" xtoys
'';
@@ -32,7 +35,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Cuddly teddy bear for your X desktop";
- homepage = https://weber.itn.liu.se/~stegu/xteddy/;
+ homepage = "https://weber.itn.liu.se/~stegu/xteddy/";
license = licenses.gpl2;
maintainers = [ maintainers.xaverdh ];
platforms = platforms.linux;
diff --git a/pkgs/applications/misc/xterm/default.nix b/pkgs/applications/misc/xterm/default.nix
index f91989e22a9..60231350edb 100644
--- a/pkgs/applications/misc/xterm/default.nix
+++ b/pkgs/applications/misc/xterm/default.nix
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
- name = "xterm-345";
+ name = "xterm-348";
src = fetchurl {
urls = [
"ftp://ftp.invisible-island.net/xterm/${name}.tgz"
"https://invisible-mirror.net/archives/xterm/${name}.tgz"
];
- sha256 = "0dfmy9vgpmxi8rsnv2lb2lmq5ny26f0pjhcj348l0d3rs61afjb6";
+ sha256 = "1gkmj9v44xg4jahivhnpbmq22w1mwclr6fssv3lhssgkvchm27wb";
};
buildInputs =
diff --git a/pkgs/applications/misc/xtermcontrol/default.nix b/pkgs/applications/misc/xtermcontrol/default.nix
index 21f95c65fa5..51575d62ed5 100644
--- a/pkgs/applications/misc/xtermcontrol/default.nix
+++ b/pkgs/applications/misc/xtermcontrol/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "3.7";
- name = "xtermcontrol-${version}";
+ pname = "xtermcontrol";
src = fetchurl {
url = "https://thrysoee.dk/xtermcontrol/xtermcontrol-${version}.tar.gz";
diff --git a/pkgs/applications/misc/xxkb/default.nix b/pkgs/applications/misc/xxkb/default.nix
index 56638d126c1..db952758f04 100644
--- a/pkgs/applications/misc/xxkb/default.nix
+++ b/pkgs/applications/misc/xxkb/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, libX11, libXt, libXext, libXpm, imake, gccmakedep
-, svgSupport ? false, librsvg, glib, gdk_pixbuf, pkgconfig
+, svgSupport ? false, librsvg, glib, gdk-pixbuf, pkgconfig
}:
assert svgSupport ->
- librsvg != null && glib != null && gdk_pixbuf != null && pkgconfig != null;
+ librsvg != null && glib != null && gdk-pixbuf != null && pkgconfig != null;
stdenv.mkDerivation rec {
name = "xxkb-1.11.1";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ imake gccmakedep ];
buildInputs = [
libX11 libXt libXext libXpm
- ] ++ stdenv.lib.optionals svgSupport [ librsvg glib gdk_pixbuf pkgconfig ];
+ ] ++ stdenv.lib.optionals svgSupport [ librsvg glib gdk-pixbuf pkgconfig ];
outputs = [ "out" "man" ];
diff --git a/pkgs/applications/misc/xygrib/default.nix b/pkgs/applications/misc/xygrib/default.nix
new file mode 100644
index 00000000000..4f1ecbaf8b3
--- /dev/null
+++ b/pkgs/applications/misc/xygrib/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, cmake, bzip2, qtbase, qttools, libnova, proj, libpng, openjpeg } :
+
+stdenv.mkDerivation rec {
+ version = "1.2.6.1";
+ pname = "xygrib";
+
+ src = fetchFromGitHub {
+ owner = "opengribs";
+ repo = "XyGrib";
+ rev = "v${version}";
+ sha256 = "0xzsm8pr0zjk3f8j880fg5n82jyxn8xf1330qmmq1fqv7rsrg9ia";
+ };
+
+ nativeBuildInputs = [ cmake qttools ];
+ buildInputs = [ bzip2 qtbase libnova proj openjpeg libpng ];
+ cmakeFlags = [ "-DOPENJPEG_INCLUDE_DIR=${openjpeg.dev}/include/openjpeg-2.3" ];
+
+ postInstall = ''
+ mkdir $out/bin
+ ln -s $out/XyGrib/XyGrib $out/bin/XyGrib
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://opengribs.org";
+ description = "Weather Forecast Visualization";
+ longDescription = ''XyGrib is a leading opensource weather visualization package.
+ It interacts with OpenGribs's Grib server providing a choice
+ of global and large area atmospheric and wave models.'';
+ license = licenses.gpl3;
+ platforms = platforms.all;
+ maintainers = [ maintainers.j03 ];
+ };
+}
diff --git a/pkgs/applications/misc/yaft/default.nix b/pkgs/applications/misc/yaft/default.nix
index d273d27944a..2135c7fd617 100644
--- a/pkgs/applications/misc/yaft/default.nix
+++ b/pkgs/applications/misc/yaft/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.2.9";
- name = "yaft-${version}";
+ pname = "yaft";
src = fetchFromGitHub {
owner = "uobikiemukot";
diff --git a/pkgs/applications/misc/yakuake/default.nix b/pkgs/applications/misc/yakuake/default.nix
deleted file mode 100644
index 8f8494ac45b..00000000000
--- a/pkgs/applications/misc/yakuake/default.nix
+++ /dev/null
@@ -1,70 +0,0 @@
-{ mkDerivation
-, lib
-, fetchurl
-, kdoctools
-, wrapGAppsHook
-, extra-cmake-modules
-, karchive
-, kcrash
-, kdbusaddons
-, ki18n
-, kiconthemes
-, knewstuff
-, knotifications
-, knotifyconfig
-, konsole
-, kparts
-, kwindowsystem
-, qtx11extras
-}:
-
-mkDerivation rec {
- pname = "yakuake";
- version = "3.0.5";
- name = "${pname}-${version}";
-
- src = fetchurl {
- url = "http://download.kde.org/stable/${pname}/${version}/src/${name}.tar.xz";
- sha256 = "021a9mnghffv2mrdl987mn7wbg8bk6bnf6xz8kn2nwsqxp9kpqh8";
- };
-
- buildInputs = [
- karchive
- kcrash
- kdbusaddons
- ki18n
- kiconthemes
- knewstuff
- knotifications
- knotifyconfig
- kparts
- kwindowsystem
- qtx11extras
- ];
-
- propagatedBuildInputs = [
- karchive
- kcrash
- kdbusaddons
- ki18n
- kiconthemes
- knewstuff
- knotifications
- knotifyconfig
- kparts
- kwindowsystem
- ];
-
- propagatedUserEnvPkgs = [ konsole ];
-
- nativeBuildInputs = [
- extra-cmake-modules kdoctools wrapGAppsHook
- ];
-
- meta = {
- homepage = https://yakuake.kde.org;
- description = "Quad-style terminal emulator for KDE";
- maintainers = with lib.maintainers; [ fridh ];
- license = lib.licenses.gpl2;
- };
-}
diff --git a/pkgs/applications/misc/yarssr/default.nix b/pkgs/applications/misc/yarssr/default.nix
index a47fb93512d..f2da2957bd3 100644
--- a/pkgs/applications/misc/yarssr/default.nix
+++ b/pkgs/applications/misc/yarssr/default.nix
@@ -23,9 +23,9 @@ let
gtk2
];
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "git-2017-12-01";
- name = "yarssr-${version}";
+ pname = "yarssr";
src = fetchFromGitHub {
owner = "JGRennison";
diff --git a/pkgs/applications/misc/yate/default.nix b/pkgs/applications/misc/yate/default.nix
index 53d427e61c2..09a6cc4a3c0 100644
--- a/pkgs/applications/misc/yate/default.nix
+++ b/pkgs/applications/misc/yate/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchurl, lib, qt4, openssl, autoconf, automake, pkgconfig }:
+{ stdenv, fetchurl, lib, qt4, openssl, pkgconfig }:
stdenv.mkDerivation rec {
- name = "yate-${version}";
- version = "6.0.0-1";
+ pname = "yate";
+ version = "6.1.0-1";
src = fetchurl {
- url = "http://voip.null.ro/tarballs/yate${lib.versions.major version}/${name}.tar.gz";
- sha256 = "05qqdhi3rp5660gq1484jkmxkm9vq81j0yr765h0gf0xclan1dqa";
+ url = "http://voip.null.ro/tarballs/yate${lib.versions.major version}/${pname}-${version}.tar.gz";
+ sha256 = "0xx3i997nsf2wzbv6m5n6adsym0qhgc6xg4rsv0fwqrgisf5327d";
};
# TODO zaptel ? postgres ?
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ qt4 openssl autoconf automake ];
+ buildInputs = [ qt4 openssl ];
# /dev/null is used when linking which is a impure path for the wrapper
preConfigure =
diff --git a/pkgs/applications/misc/yubioath-desktop/default.nix b/pkgs/applications/misc/yubioath-desktop/default.nix
index edafb003480..d7a019c1c41 100644
--- a/pkgs/applications/misc/yubioath-desktop/default.nix
+++ b/pkgs/applications/misc/yubioath-desktop/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchurl, fetchFromGitHub
-, qmake, qtbase, qtquickcontrols, qtsvg
-, python3, pyotherside, ncurses
+{ stdenv, fetchurl, mkDerivation
+, qmake, qtbase, qtquickcontrols
+, python3, pyotherside
, pcsclite, yubikey-personalization
, yubikey-manager, makeWrapper }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "yubioath-desktop";
- version = "4.3.4";
+ version = "4.3.6";
src = fetchurl {
url = "https://developers.yubico.com/yubioath-desktop/Releases/yubioath-desktop-${version}.tar.gz";
- sha256 = "0hb7j71032sigs8zd5r8yr0m59sjkb24vhs2l4jarpvj8q7hv30d";
+ sha256 = "0s04anjbb5zm98kfdpp9hr68k3mx3gqlp8fa1miy7nq87pr4f7a5";
};
doCheck = false;
@@ -44,6 +44,7 @@ stdenv.mkDerivation rec {
cp resources/icons/*.{icns,ico,png,xpm} $out/share/yubioath/icons
substituteInPlace $out/share/applications/yubioath-desktop.desktop \
--replace 'Exec=yubioath-desktop' "Exec=$out/bin/yubioath-desktop" \
+ --replace 'Icon=yubioath' "Icon=$out/share/yubioath/icons/yubioath.png"
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/misc/zathura/cb/default.nix b/pkgs/applications/misc/zathura/cb/default.nix
index eb2a0f1c1e1..7c2c8fb31ca 100644
--- a/pkgs/applications/misc/zathura/cb/default.nix
+++ b/pkgs/applications/misc/zathura/cb/default.nix
@@ -2,11 +2,11 @@
, girara, gettext, libarchive }:
stdenv.mkDerivation rec {
- name = "zathura-cb-${version}";
+ pname = "zathura-cb";
version = "0.1.8";
src = fetchurl {
- url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
+ url = "https://pwmt.org/projects/zathura/plugins/download/${pname}-${version}.tar.xz";
sha256 = "1i6cf0vks501cggwvfsl6qb7mdaf3sszdymphimfvnspw810faj5";
};
diff --git a/pkgs/applications/misc/zathura/core/default.nix b/pkgs/applications/misc/zathura/core/default.nix
index 6378cf1c068..8afba9353ce 100644
--- a/pkgs/applications/misc/zathura/core/default.nix
+++ b/pkgs/applications/misc/zathura/core/default.nix
@@ -1,17 +1,15 @@
-{ stdenv, fetchurl, meson, ninja, makeWrapper, pkgconfig
+{ stdenv, fetchurl, meson, ninja, wrapGAppsHook, pkgconfig
, appstream-glib, desktop-file-utils, python3
-, gtk, girara, gettext, libxml2
+, gtk, girara, gettext, libxml2, check
, sqlite, glib, texlive, libintl, libseccomp
, file, librsvg
-, gtk-mac-integration, synctexSupport ? true
+, gtk-mac-integration
}:
-assert synctexSupport -> texlive != null;
-
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "zathura-core-${version}";
+ pname = "zathura-core";
version = "0.4.3";
src = fetchurl {
@@ -29,24 +27,27 @@ stdenv.mkDerivation rec {
# "-Dseccomp=enabled"
"-Dmanpages=enabled"
"-Dconvert-icon=enabled"
- ] ++ optional synctexSupport "-Dsynctex=enabled";
+ "-Dsynctex=enabled"
+ ];
nativeBuildInputs = [
meson ninja pkgconfig desktop-file-utils python3.pkgs.sphinx
- gettext makeWrapper libxml2
+ gettext wrapGAppsHook libxml2 check
] ++ optional stdenv.isLinux appstream-glib;
buildInputs = [
gtk girara libintl sqlite glib file librsvg
- ] ++ optional synctexSupport texlive.bin.core
- ++ optional stdenv.isLinux libseccomp
+ texlive.bin.core
+ ] ++ optional stdenv.isLinux libseccomp
++ optional stdenv.isDarwin gtk-mac-integration;
+ doCheck = true;
+
meta = {
homepage = https://pwmt.org/projects/zathura/;
description = "A core component for zathura PDF viewer";
license = licenses.zlib;
platforms = platforms.unix;
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ globin ];
};
}
diff --git a/pkgs/applications/misc/zathura/default.nix b/pkgs/applications/misc/zathura/default.nix
index e3db15ca78d..1548b0581b6 100644
--- a/pkgs/applications/misc/zathura/default.nix
+++ b/pkgs/applications/misc/zathura/default.nix
@@ -1,7 +1,6 @@
{ config, pkgs
# zathura_pdf_mupdf fails to load _opj_create_decompress at runtime on Darwin (https://github.com/NixOS/nixpkgs/pull/61295#issue-277982980)
-, useMupdf ? config.zathura.useMupdf or (!pkgs.stdenv.isDarwin)
-, synctexSupport ? true }:
+, useMupdf ? config.zathura.useMupdf or (!pkgs.stdenv.isDarwin) }:
let
callPackage = pkgs.newScope self;
@@ -9,9 +8,7 @@ let
self = rec {
gtk = pkgs.gtk3;
- zathura_core = callPackage ./core {
- inherit synctexSupport;
- };
+ zathura_core = callPackage ./core { };
zathura_pdf_poppler = callPackage ./pdf-poppler { };
diff --git a/pkgs/applications/misc/zathura/djvu/default.nix b/pkgs/applications/misc/zathura/djvu/default.nix
index 58985dced42..54f68969d4f 100644
--- a/pkgs/applications/misc/zathura/djvu/default.nix
+++ b/pkgs/applications/misc/zathura/djvu/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
license = licenses.zlib;
platforms = platforms.unix;
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ ];
};
}
diff --git a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix
index e2c08a00da2..d8c1364d395 100644
--- a/pkgs/applications/misc/zathura/pdf-mupdf/default.nix
+++ b/pkgs/applications/misc/zathura/pdf-mupdf/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, lib, meson, ninja, fetchurl, fetchFromGitHub
+{ stdenv, lib, meson, ninja, fetchFromGitHub
, pkgconfig, zathura_core, cairo , gtk-mac-integration, girara, mupdf }:
stdenv.mkDerivation rec {
- version = "0.3.4";
- name = "zathura-pdf-mupdf-${version}";
+ version = "0.3.5";
+ pname = "zathura-pdf-mupdf";
# pwmt.org server was down at the time of last update
# src = fetchurl {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
owner = "pwmt";
repo = "zathura-pdf-mupdf";
rev = version;
- sha256 = "1m4w4jrybpjmx6pi33a5saxzmfd8rrym2k13jpd1fv543s17d9dy";
+ sha256 = "0wb46hllykbi30ir69s8s23mihivqn13mgfdzawbsn2a21p8y4zl";
};
nativeBuildInputs = [ meson ninja pkgconfig ];
diff --git a/pkgs/applications/misc/zathura/pdf-poppler/default.nix b/pkgs/applications/misc/zathura/pdf-poppler/default.nix
index 663e798ee0b..5b38555eda1 100644
--- a/pkgs/applications/misc/zathura/pdf-poppler/default.nix
+++ b/pkgs/applications/misc/zathura/pdf-poppler/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
version = "0.2.9";
- name = "zathura-pdf-poppler-${version}";
+ pname = "zathura-pdf-poppler";
src = fetchurl {
- url = "https://pwmt.org/projects/zathura/plugins/download/${name}.tar.xz";
- sha256 = "1p4jcny0jniygns78mcf0nlm298dszh49qpmjmackrm6dq8hc25y";
+ url = "https://git.pwmt.org/pwmt/zathura-pdf-poppler/-/archive/${version}/${pname}-${version}.tar.gz";
+ sha256 = "0c15rnwh42m3ybrhax01bl36w0iynaq8xg6l08riml3cyljypi9l";
};
nativeBuildInputs = [ meson ninja pkgconfig zathura_core ];
@@ -23,6 +23,6 @@ stdenv.mkDerivation rec {
'';
license = licenses.zlib;
platforms = platforms.unix;
- maintainers = with maintainers; [ cstrahan garbas ];
+ maintainers = with maintainers; [ cstrahan ];
};
}
diff --git a/pkgs/applications/misc/zathura/ps/default.nix b/pkgs/applications/misc/zathura/ps/default.nix
index 07e4c5d715b..48d42b5e939 100644
--- a/pkgs/applications/misc/zathura/ps/default.nix
+++ b/pkgs/applications/misc/zathura/ps/default.nix
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
license = licenses.zlib;
platforms = platforms.unix;
- maintainers = with maintainers; [ cstrahan garbas ];
+ maintainers = with maintainers; [ cstrahan ];
};
}
diff --git a/pkgs/applications/misc/zathura/wrapper.nix b/pkgs/applications/misc/zathura/wrapper.nix
index b81d12947e4..88e4a904393 100644
--- a/pkgs/applications/misc/zathura/wrapper.nix
+++ b/pkgs/applications/misc/zathura/wrapper.nix
@@ -21,12 +21,12 @@ in symlinkJoin {
description = "A highly customizable and functional PDF viewer";
longDescription = ''
Zathura is a highly customizable and functional PDF viewer based on the
- poppler rendering library and the gtk+ toolkit. The idea behind zathura
+ poppler rendering library and the GTK toolkit. The idea behind zathura
is an application that provides a minimalistic and space saving interface
as well as an easy usage that mainly focuses on keyboard interaction.
'';
license = licenses.zlib;
platforms = platforms.unix;
- maintainers = with maintainers;[ garbas smironov ];
+ maintainers = with maintainers; [ smironov globin ];
};
}
diff --git a/pkgs/applications/misc/zola/default.nix b/pkgs/applications/misc/zola/default.nix
index f945da61274..7418640e072 100644
--- a/pkgs/applications/misc/zola/default.nix
+++ b/pkgs/applications/misc/zola/default.nix
@@ -1,20 +1,21 @@
-{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkgconfig, openssl, CoreServices, cf-private }:
+{ stdenv, fetchFromGitHub, rustPlatform, cmake, pkgconfig, openssl, CoreServices }:
rustPlatform.buildRustPackage rec {
pname = "zola";
- version = "0.7.0";
+ version = "0.8.0";
src = fetchFromGitHub {
owner = "getzola";
repo = pname;
rev = "v${version}";
- sha256 = "02lr1n3gf0agj8x451ndyvv16lq7rccazp4nz9zy0pzwxwrlwhra";
+ sha256 = "166kmlkzd1qyw9yq2jqs58z8b3d956jjhw9r15jzw98md949psr5";
};
- cargoSha256 = "003dhh41fh337k3djibpj6hyd16xprbgws3lbp7x37p4lx7qlnfy";
+ cargoSha256 = "1brmlg6nqyls1v62z0fg0km150q9m7h71wy67lidcnw76icmqr24";
nativeBuildInputs = [ cmake pkgconfig ];
- buildInputs = [ openssl ] ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices cf-private ];
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optional stdenv.isDarwin CoreServices;
postInstall = ''
install -D -m 444 completions/zola.bash \
diff --git a/pkgs/applications/networking/apache-directory-studio/default.nix b/pkgs/applications/networking/apache-directory-studio/default.nix
index 05dee5b6154..ce5c7fb41f1 100644
--- a/pkgs/applications/networking/apache-directory-studio/default.nix
+++ b/pkgs/applications/networking/apache-directory-studio/default.nix
@@ -17,7 +17,7 @@ let
in
stdenv.mkDerivation rec {
- name = "apache-directory-studio-${version}";
+ pname = "apache-directory-studio";
version = "2.0.0.v20170904-M13";
src =
diff --git a/pkgs/applications/networking/bittorrentsync/1.4.x.nix b/pkgs/applications/networking/bittorrentsync/1.4.x.nix
deleted file mode 100644
index 9d57cdaaf20..00000000000
--- a/pkgs/applications/networking/bittorrentsync/1.4.x.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-{ stdenv, fetchurl, ... } @ args:
-
-import ./generic.nix (args // {
- version = "1.4.111";
- sha256s = {
- "x86_64-linux" = "0bw3ds3ndcnkry5mpv645z2bfi5z387bh0f7b35blxq1yv93r83f";
- "i686-linux" = "1qwaj7l7nsd4afx7ksb4b1c22mki9qa40803v9x1a8bhbdfhkczk";
- };
-})
diff --git a/pkgs/applications/networking/bittorrentsync/2.0.x.nix b/pkgs/applications/networking/bittorrentsync/2.0.x.nix
deleted file mode 100644
index d2db3eec26e..00000000000
--- a/pkgs/applications/networking/bittorrentsync/2.0.x.nix
+++ /dev/null
@@ -1,9 +0,0 @@
-{ stdenv, fetchurl, ... } @ args:
-
-import ./generic.nix (args // {
- version = "2.3.8";
- sha256s = {
- "x86_64-linux" = "02n5s561cz3mprg682mrbmh3qai42dh64jgi05rqy9s6wgbn66ly";
- "i686-linux" = "118qrnxc7gvm30rsz0xfx6dlxmrr0dk5ajrvszhy06ww7xvqhzji";
- };
-})
diff --git a/pkgs/applications/networking/bittorrentsync/generic.nix b/pkgs/applications/networking/bittorrentsync/generic.nix
deleted file mode 100644
index 1075aea8db3..00000000000
--- a/pkgs/applications/networking/bittorrentsync/generic.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ stdenv, fetchurl, version, sha256s, ... }:
-
-let
- arch = {
- "x86_64-linux" = "x64";
- "i686-linux" = "i386";
- }.${stdenv.hostPlatform.system} or throwSystem;
- libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ];
- throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";
-in
-
-stdenv.mkDerivation rec {
- name = "btsync-${version}";
- inherit version;
-
- src = fetchurl {
- # annoyingly, downloads for 1.4 and 2.3 do not follow the same URL layout; this is
- # a simple work-around, in place of overriding the url in the caller.
- urls = [
- "https://download-cdn.getsync.com/${version}/linux-${arch}/BitTorrent-Sync_${arch}.tar.gz"
- "http://syncapp.bittorrent.com/${version}/btsync_${arch}-${version}.tar.gz"
- ];
- sha256 = sha256s.${stdenv.hostPlatform.system} or throwSystem;
- };
-
- dontStrip = true; # Don't strip, otherwise patching the rpaths breaks
- sourceRoot = ".";
-
- installPhase = ''
- install -D btsync "$out/bin/btsync"
- patchelf --interpreter "$(< $NIX_CC/nix-support/dynamic-linker)" --set-rpath ${libPath} "$out/bin/btsync"
- '';
-
- meta = {
- description = "Automatically sync files via secure, distributed technology";
- homepage = https://www.getsync.com/;
- license = stdenv.lib.licenses.unfreeRedistributable;
- platforms = stdenv.lib.platforms.linux;
- maintainers = with stdenv.lib.maintainers; [ domenkozar thoughtpolice cwoac ];
- };
-}
diff --git a/pkgs/applications/networking/brig/default.nix b/pkgs/applications/networking/brig/default.nix
index 8b7bc0bb899..31eb4dd7378 100644
--- a/pkgs/applications/networking/brig/default.nix
+++ b/pkgs/applications/networking/brig/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "brig-${version}";
+ pname = "brig";
version = "0.4.1";
rev = "v${version}";
diff --git a/pkgs/applications/networking/browsers/arora/default.nix b/pkgs/applications/networking/browsers/arora/default.nix
index 32de4871186..57db827169e 100644
--- a/pkgs/applications/networking/browsers/arora/default.nix
+++ b/pkgs/applications/networking/browsers/arora/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, qt4, qmake4Hook }:
stdenv.mkDerivation rec {
- name = "arora-${version}";
+ pname = "arora";
version = "0.11.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/browsers/brave/default.nix b/pkgs/applications/networking/browsers/brave/default.nix
index de2159849b7..45fb820a076 100644
--- a/pkgs/applications/networking/browsers/brave/default.nix
+++ b/pkgs/applications/networking/browsers/brave/default.nix
@@ -10,11 +10,13 @@
, expat
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, gnome2
, gnome3
+, gsettings-desktop-schemas
, gtk3
+, libpulseaudio
, libuuid
, libX11
, libXcomposite
@@ -37,114 +39,119 @@
, wrapGAppsHook
}:
-let rpath = lib.makeLibraryPath [
- alsaLib
- at-spi2-atk
- at-spi2-core
- atk
- cairo
- cups
- dbus
- expat
- fontconfig
- freetype
- gdk_pixbuf
- glib
- gnome2.GConf
- gtk3
- libX11
- libXScrnSaver
- libXcomposite
- libXcursor
- libXdamage
- libXext
- libXfixes
- libXi
- libXrandr
- libXrender
- libXtst
- libuuid
- nspr
- nss
- pango
- udev
- xdg_utils
- xorg.libxcb
- zlib
+let
+
+rpath = lib.makeLibraryPath [
+ alsaLib
+ at-spi2-atk
+ at-spi2-core
+ atk
+ cairo
+ cups
+ dbus
+ expat
+ fontconfig
+ freetype
+ gdk-pixbuf
+ glib
+ gnome2.GConf
+ gtk3
+ libpulseaudio
+ libX11
+ libXScrnSaver
+ libXcomposite
+ libXcursor
+ libXdamage
+ libXext
+ libXfixes
+ libXi
+ libXrandr
+ libXrender
+ libXtst
+ libuuid
+ nspr
+ nss
+ pango
+ udev
+ xdg_utils
+ xorg.libxcb
+ zlib
];
+in
-in stdenv.mkDerivation rec {
- pname = "brave";
- version = "0.61.50";
+stdenv.mkDerivation rec {
+ pname = "brave";
+ version = "0.68.131";
- src = fetchurl {
- url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
- sha256 = "1lbajxnxqkd422rckfjm65pwwzl66v7anq4jrzxi29d5x7abl3c1";
- };
+ src = fetchurl {
+ url = "https://github.com/brave/brave-browser/releases/download/v${version}/brave-browser_${version}_amd64.deb";
+ sha256 = "0syhwy1gxy82jbxbryi1n4zp1ya7wvm20g1vqvd2s7kqspprsi0l";
+ };
- dontConfigure = true;
- dontBuild = true;
- dontPatchELF = true;
+ dontConfigure = true;
+ dontBuild = true;
+ dontPatchELF = true;
- nativeBuildInputs = [ dpkg wrapGAppsHook ];
+ nativeBuildInputs = [ dpkg wrapGAppsHook ];
- buildInputs = [ glib gnome3.gsettings_desktop_schemas gnome3.adwaita-icon-theme ];
+ buildInputs = [ glib gsettings-desktop-schemas gnome3.adwaita-icon-theme ];
- unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";
+ unpackPhase = "dpkg-deb --fsys-tarfile $src | tar -x --no-same-permissions --no-same-owner";
- installPhase = ''
- mkdir -p $out $out/bin
+ installPhase = ''
+ mkdir -p $out $out/bin
- cp -R usr/share $out
- cp -R opt/ $out/opt
+ cp -R usr/share $out
+ cp -R opt/ $out/opt
- export BINARYWRAPPER=$out/opt/brave.com/brave/brave-browser
+ export BINARYWRAPPER=$out/opt/brave.com/brave/brave-browser
- # Fix path to bash in $BINARYWRAPPER
- substituteInPlace $BINARYWRAPPER \
- --replace /bin/bash ${stdenv.shell}
+ # Fix path to bash in $BINARYWRAPPER
+ substituteInPlace $BINARYWRAPPER \
+ --replace /bin/bash ${stdenv.shell}
- ln -sf $BINARYWRAPPER $out/bin/brave
+ ln -sf $BINARYWRAPPER $out/bin/brave
- patchelf \
- --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath "${rpath}" $out/opt/brave.com/brave/brave
+ patchelf \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ --set-rpath "${rpath}" $out/opt/brave.com/brave/brave
- # Fix paths
- substituteInPlace $out/share/applications/brave-browser.desktop \
- --replace /usr/bin/brave-browser $out/bin/brave
- substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \
- --replace /opt/brave.com $out/opt/brave.com
- substituteInPlace $out/share/menu/brave-browser.menu \
- --replace /opt/brave.com $out/opt/brave.com
- substituteInPlace $out/opt/brave.com/brave/default-app-block \
- --replace /opt/brave.com $out/opt/brave.com
+ # Fix paths
+ substituteInPlace $out/share/applications/brave-browser.desktop \
+ --replace /usr/bin/brave-browser-stable $out/bin/brave
+ substituteInPlace $out/share/gnome-control-center/default-apps/brave-browser.xml \
+ --replace /opt/brave.com $out/opt/brave.com
+ substituteInPlace $out/share/menu/brave-browser.menu \
+ --replace /opt/brave.com $out/opt/brave.com
+ substituteInPlace $out/opt/brave.com/brave/default-app-block \
+ --replace /opt/brave.com $out/opt/brave.com
- # Correct icons location
- icon_sizes=("16" "22" "24" "32" "48" "64" "128" "256")
+ # Correct icons location
+ icon_sizes=("16" "22" "24" "32" "48" "64" "128" "256")
- for icon in ''${icon_sizes[*]}
- do
- mkdir -p $out/share/icons/hicolor/$icon\x$icon/apps
- ln -s $out/opt/brave.com/brave/product_logo_$icon.png $out/share/icons/hicolor/$icon\x$icon/apps/brave-browser.png
- done
+ for icon in ''${icon_sizes[*]}
+ do
+ mkdir -p $out/share/icons/hicolor/$icon\x$icon/apps
+ ln -s $out/opt/brave.com/brave/product_logo_$icon.png $out/share/icons/hicolor/$icon\x$icon/apps/brave-browser.png
+ done
- # Replace xdg-settings and xdg-mime
- ln -sf ${xdg_utils}/bin/xdg-settings $out/opt/brave.com/brave/xdg-settings
- ln -sf ${xdg_utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime
+ # Replace xdg-settings and xdg-mime
+ ln -sf ${xdg_utils}/bin/xdg-settings $out/opt/brave.com/brave/xdg-settings
+ ln -sf ${xdg_utils}/bin/xdg-mime $out/opt/brave.com/brave/xdg-mime
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://brave.com/";
+ description = "Privacy-oriented browser for Desktop and Laptop computers";
+ changelog = "https://github.com/brave/brave-browser/blob/v${version}/CHANGELOG.md";
+ longDescription = ''
+ Brave browser blocks the ads and trackers that slow you down,
+ chew up your bandwidth, and invade your privacy. Brave lets you
+ contribute to your favorite creators automatically.
'';
-
- meta = with stdenv.lib; {
- homepage = "https://brave.com/";
- description = "Privacy-oriented browser for Desktop and Laptop computers";
- longDescription = ''
- Brave browser blocks the ads and trackers that slow you down,
- chew up your bandwidth, and invade your privacy. Brave lets you
- contribute to your favorite creators automatically.
- '';
- license = licenses.mpl20;
- maintainers = [ maintainers.uskudnik ];
- platforms = [ "x86_64-linux" ];
- };
+ license = licenses.mpl20;
+ maintainers = [ maintainers.uskudnik ];
+ platforms = [ "x86_64-linux" ];
+ };
}
diff --git a/pkgs/applications/networking/browsers/browsh/default.nix b/pkgs/applications/networking/browsers/browsh/default.nix
index 430642d8349..c3f5cb13164 100644
--- a/pkgs/applications/networking/browsers/browsh/default.nix
+++ b/pkgs/applications/networking/browsers/browsh/default.nix
@@ -1,20 +1,20 @@
{ stdenv, buildGoPackage, fetchurl, fetchFromGitHub, go-bindata }:
let
- version = "1.5.0";
+ version = "1.5.2";
# TODO: must build the extension instead of downloading it. But since it's
# literally an asset that is indifferent regardless of the platform, this
# might be just enough.
webext = fetchurl {
url = "https://github.com/browsh-org/browsh/releases/download/v${version}/browsh-${version}-an.fx.xpi";
- sha256 = "063m6rcdyf2zcrswkm56k8h3w15124bw5iykklzm60q5jk4ywn3f";
+ sha256 = "0b9aycyif0hfhfkivlnvinr13r9h4qyxx768286966p67napbd63";
};
in buildGoPackage rec {
inherit version;
- name = "browsh-${version}";
+ pname = "browsh";
goPackagePath = "browsh";
@@ -23,7 +23,7 @@ in buildGoPackage rec {
owner = "browsh-org";
repo = "browsh";
rev = "v${version}";
- sha256 = "14addyb1zdk1b9mizfxdagyzlkd9nf5gawnbrs44j5a3ggnl14ln";
+ sha256 = "1z78kgxrbi2jy20rbq6kx5mjk4gpg58w4rb3flp42l9p7bhdbr2h";
};
buildInputs = [ go-bindata ];
diff --git a/pkgs/applications/networking/browsers/browsh/deps.nix b/pkgs/applications/networking/browsers/browsh/deps.nix
index e0eb6600c9b..fae04b4d6a5 100644
--- a/pkgs/applications/networking/browsers/browsh/deps.nix
+++ b/pkgs/applications/networking/browsers/browsh/deps.nix
@@ -4,26 +4,8 @@
fetch = {
type = "git";
url = "https://github.com/NYTimes/gziphandler";
- rev = "5032c8878b9dd46cfe8c625c0d9b9f258a560ee8";
- sha256 = "1avn8xb78xmmc61fjycpc81yrkfi42fna8zgzdqba6v7g8gq8a3x";
- };
- }
- {
- goPackagePath = "github.com/davecgh/go-spew";
- fetch = {
- type = "git";
- url = "https://github.com/davecgh/go-spew";
- rev = "8991bc29aa16c548c550c7ff78260e27b9ab7c73";
- sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
- };
- }
- {
- goPackagePath = "github.com/hpcloud/tail";
- fetch = {
- type = "git";
- url = "https://github.com/hpcloud/tail";
- rev = "a1dbeea552b7c8df4b542c66073e393de198a800";
- sha256 = "0nssmn8j0yavs8099gwb69qpd1k9yd2z28bii6i4y61v0grb6bc2";
+ rev = "dd0439581c7657cb652dfe5c71d7d48baf39541d";
+ sha256 = "0rhrjlw220hnymzfccm0yir3pc9dpj7h3gwzhzq2cbsb3hhsqvyy";
};
}
{
@@ -40,8 +22,8 @@
fetch = {
type = "git";
url = "https://github.com/gdamore/encoding";
- rev = "b23993cbb6353f0e6aa98d0ee318a34728f628b9";
- sha256 = "0d7irqpx2fa9vkxgkhf04yiwazsm10fxh0yk86x5crflhph5fv8a";
+ rev = "6289cdc94c00ac4aa177771c5fce7af2f96b626d";
+ sha256 = "1vmm5zll92i2fm4ajqx0gyx0p9j36496x5nabi3y0x7h0inv0pk9";
};
}
{
@@ -49,8 +31,8 @@
fetch = {
type = "git";
url = "https://github.com/gdamore/tcell";
- rev = "de7e78efa4a71b3f36c7154989c529dbdf9ae623";
- sha256 = "1ly3gqkziw01cb7h64k0wc4myzfcsr9hl7xznxd8k2yqzqvmhljz";
+ rev = "b5d0c1ac570211e469f43ff88c0c6aa4b56cc99a";
+ sha256 = "0g2zfbgyk3djlk0qpmrgcyy0ba9ad932yswpaacswi21qyf9gwag";
};
}
{
@@ -76,8 +58,17 @@
fetch = {
type = "git";
url = "https://github.com/hashicorp/hcl";
- rev = "ef8a98b0bbce4a65b5aa4c368430a80ddc533168";
- sha256 = "1qalfsc31fra7hcw2lc3s20aj7al62fq3j5fn5kga3mg99b82nyr";
+ rev = "8cb6e5b959231cc1119e43259c4a608f9c51a241";
+ sha256 = "0q6ml0qqs0yil76mpn4mdx4lp94id8vbv575qm60jzl1ijcl5i66";
+ };
+ }
+ {
+ goPackagePath = "github.com/hpcloud/tail";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hpcloud/tail";
+ rev = "a30252cb686a21eb2d0b98132633053ec2f7f1e5";
+ sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
};
}
{
@@ -85,8 +76,8 @@
fetch = {
type = "git";
url = "https://github.com/lucasb-eyer/go-colorful";
- rev = "c7842319cf3ac2eff253e8b3ebe15fcc56b6414a";
- sha256 = "00v2x6qchhi6vv09w29kcyr9i0kq4n4daaj3vk1c4nfj2z7xx5hc";
+ rev = "30298f24079860c4dee452fdef6519b362a4a026";
+ sha256 = "0fig06880bvk1l92j4127v4x9sar4ds7ga8959gxxghb2w70b7l2";
};
}
{
@@ -94,8 +85,8 @@
fetch = {
type = "git";
url = "https://github.com/magiconair/properties";
- rev = "c2353362d570a7bfa228149c62842019201cfb71";
- sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn";
+ rev = "de8848e004dd33dc07a2947b3d76f618a7fc7ef1";
+ sha256 = "19zqw1x0w0crh8zc84yy82nkcc5yjz72gviaf2xjgfm5a8np7nyb";
};
}
{
@@ -103,8 +94,8 @@
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
- rev = "ce7b0b5c7b45a81508558cd1dba6bb1e4ddb51bb";
- sha256 = "0lc39b6xrxv7h3v3y1kgz49cgi5qxwlygs715aam6ba35m48yi7g";
+ rev = "3ee7d812e62a0804a7d0a324e0249ca2db3476d3";
+ sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
};
}
{
@@ -121,8 +112,8 @@
fetch = {
type = "git";
url = "https://github.com/onsi/ginkgo";
- rev = "3774a09d95489ccaa16032e0770d08ea77ba6184";
- sha256 = "0x0gc89vgq38xhgmi2h22bhr73cf2gmk42g89nz89k8dgg9hhr25";
+ rev = "eea6ad008b96acdaa524f5b409513bf062b500ad";
+ sha256 = "1326s5fxgasdpz1qqwrw4n5p3k0vz44msnyz14knrhlw5l97lx33";
};
}
{
@@ -130,8 +121,8 @@
fetch = {
type = "git";
url = "https://github.com/onsi/gomega";
- rev = "b6ea1ea48f981d0f615a154a45eabb9dd466556d";
- sha256 = "14179j7pj1h2vx60i68x2m6650ldji4xhanhc702i8a8iy7b49ja";
+ rev = "90e289841c1ed79b7a598a7cd9959750cb5e89e2";
+ sha256 = "1n7i4hksdgv410m43v2sw14bl5vy59dkp6nlw5l76nibbh37syr9";
};
}
{
@@ -139,8 +130,8 @@
fetch = {
type = "git";
url = "https://github.com/pelletier/go-toml";
- rev = "c2dbbc24a97911339e01bda0b8cabdbd8f13b602";
- sha256 = "0v1dsqnk5zmn6ir8jgxijx14s47jvijlqfz3aq435snfrgybd5rz";
+ rev = "728039f679cbcd4f6a54e080d2219a4c4928c546";
+ sha256 = "1v76s3vds0i9dxaha4ikd6xjm7vqqfk6sy9l6jc2lsvmj99d5sy6";
};
}
{
@@ -148,17 +139,8 @@
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
- rev = "816c9085562cd7ee03e7f8188a1cfd942858cded";
- sha256 = "1ws5crb7c70wdicavl6qr4g03nn6m92zd6wwp9n2ygz5c8rmxh8k";
- };
- }
- {
- goPackagePath = "github.com/pmezard/go-difflib";
- fetch = {
- type = "git";
- url = "https://github.com/pmezard/go-difflib";
- rev = "792786c7400a136282c1664665ae0a8db921c6c2";
- sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
+ rev = "ba968bfe8b2f7e042a574c888954fccecfa385b4";
+ sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
};
}
{
@@ -175,8 +157,8 @@
fetch = {
type = "git";
url = "https://github.com/spf13/afero";
- rev = "787d034dfe70e44075ccc060d346146ef53270ad";
- sha256 = "0138rjiacl71h7kvhzinviwvy6qa2m6rflpv9lgqv15hnjvhwvg1";
+ rev = "588a75ec4f32903aa5e39a2619ba6a4631e28424";
+ sha256 = "0j9r65qgd58324m85lkl49vk9dgwd62g7dwvkfcm3k6i9dc555a9";
};
}
{
@@ -193,8 +175,8 @@
fetch = {
type = "git";
url = "https://github.com/spf13/jwalterweatherman";
- rev = "7c0cea34c8ece3fbeb2b27ab9b59511d360fb394";
- sha256 = "132p84i20b9s5r6fs597lsa6648vd415ch7c0d018vm8smzqpd0h";
+ rev = "94f6ae3ed3bceceafa716478c5fbf8d29ca601a1";
+ sha256 = "1ywmkwci5zyd88ijym6f30fj5c0k2yayxarkmnazf5ybljv50q7b";
};
}
{
@@ -211,17 +193,8 @@
fetch = {
type = "git";
url = "https://github.com/spf13/viper";
- rev = "d493c32b69b8c6f2377bf30bc4d70267ffbc0793";
- sha256 = "1jq46790rkjn6c1887wz98dqjk792ij6wnrifzk1maglmfb061hh";
- };
- }
- {
- goPackagePath = "github.com/stretchr/testify";
- fetch = {
- type = "git";
- url = "https://github.com/stretchr/testify";
- rev = "f35b8ab0b5a2cef36673838d662e249dd9c94686";
- sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
+ rev = "b5bf975e5823809fb22c7644d008757f78a4259e";
+ sha256 = "1zpzxvn13wpvbblbbn73svaq39zgxfjqhci9d68g3qf309pcfy19";
};
}
{
@@ -229,8 +202,8 @@
fetch = {
type = "git";
url = "https://github.com/ulule/limiter";
- rev = "af07f8759cbc68c744a15ffbfdabf35f7aff5e3b";
- sha256 = "1c68vz9r0442lkj206l6k03nssxx3ys8ddg7d2p2brdanfbprzrq";
+ rev = "38b2a440be905c8be884fd5e114dc893a64e5d81";
+ sha256 = "0sbbfz9k3m2hf45cx7y7xshsr3rac495lks9ciwmnrzsnxfdh3l5";
};
}
{
@@ -238,8 +211,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
- rev = "a0f8a16cb08c06df97cbdf9c47f4731ba548c33c";
- sha256 = "1pnvrhi2minkn9mfa9p70b5jnixx8il5yqp08ad1w7kl34c21ma2";
+ rev = "461777fb6f67e8cb9d70cda16573678d085a74cf";
+ sha256 = "0sc0llch05q6h7nqgayi3sgismsznpnlsz4gh89y4klpymdcpbh2";
};
}
{
@@ -247,8 +220,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
- rev = "bd9dbc187b6e1dacfdd2722a87e83093c2d7bd6e";
- sha256 = "0zj8s3q2fznmap1nfr8pv4hz8xqixmkyhr6slq4baf8rvcb4mvbj";
+ rev = "93c9922d18aeb82498a065f07aec7ad7fa60dfb7";
+ sha256 = "0hv96nwbv0li3nrv43ldfzmf12yrrbji2cf8n44iibv8ps5kfssx";
};
}
{
@@ -256,8 +229,26 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
- rev = "0605a8320aceb4207a5fb3521281e17ec2075476";
- sha256 = "1pak7q9ivwxh5bnjk00pkrs9ri9vmbyccvza56fl6138w397h49j";
+ rev = "342b2e1fbaa52c93f31447ad2c6abc048c63e475";
+ sha256 = "0flv9idw0jm5nm8lx25xqanbkqgfiym6619w575p7nrdh0riqwqh";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/fsnotify.v1";
+ fetch = {
+ type = "git";
+ url = "https://github.com/fsnotify/fsnotify";
+ rev = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9";
+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/tomb.v1";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-tomb/tomb";
+ rev = "dd632973f1e7218eb1089048e0798ec9ae7dceb8";
+ sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
};
}
{
@@ -265,8 +256,8 @@
fetch = {
type = "git";
url = "https://github.com/go-yaml/yaml";
- rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
+ rev = "51d6538a90f86fe93ac480b35f37b2be17fef232";
+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
};
}
]
diff --git a/pkgs/applications/networking/browsers/captive-browser/default.nix b/pkgs/applications/networking/browsers/captive-browser/default.nix
new file mode 100644
index 00000000000..e7bec997119
--- /dev/null
+++ b/pkgs/applications/networking/browsers/captive-browser/default.nix
@@ -0,0 +1,22 @@
+{ lib, fetchFromGitHub, buildGoPackage }:
+
+buildGoPackage rec {
+ name = "captive-browser";
+ version = "2019-04-16";
+ goPackagePath = name;
+
+ src = fetchFromGitHub {
+ owner = "FiloSottile";
+ repo = "captive-browser";
+ rev = "08450562e58bf9564ee98ad64ef7b2800e53338f";
+ sha256 = "17icgjg7h0xm8g4yy38qjhsvlz9pmlmj9kydz01y2nyl0v02i648";
+ };
+
+ meta = with lib; {
+ description = "Dedicated Chrome instance to log into captive portals without messing with DNS settings";
+ homepage = https://blog.filippo.io/captive-browser;
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ volth ];
+ };
+}
diff --git a/pkgs/applications/networking/browsers/chromium/browser.nix b/pkgs/applications/networking/browsers/chromium/browser.nix
index 8bdb33ed5d2..ad7fa78527c 100644
--- a/pkgs/applications/networking/browsers/chromium/browser.nix
+++ b/pkgs/applications/networking/browsers/chromium/browser.nix
@@ -1,4 +1,4 @@
-{ stdenv, mkChromiumDerivation, channel }:
+{ stdenv, mkChromiumDerivation, channel, enableWideVine }:
with stdenv.lib;
@@ -18,11 +18,6 @@ mkChromiumDerivation (base: rec {
cp -vLR "$buildPath/locales" "$buildPath/resources" "$libExecPath/"
cp -v "$buildPath/chrome" "$libExecPath/$packageName"
- if [ -e "$buildPath/libwidevinecdmadapter.so" ]; then
- cp -v "$buildPath/libwidevinecdmadapter.so" \
- "$libExecPath/libwidevinecdmadapter.so"
- fi
-
mkdir -p "$sandbox/bin"
cp -v "$buildPath/chrome_sandbox" "$sandbox/bin/${sandboxExecutableName}"
@@ -67,7 +62,7 @@ mkChromiumDerivation (base: rec {
description = "An open source web browser from Google";
homepage = http://www.chromium.org/;
maintainers = with maintainers; [ bendlas ivan ];
- license = licenses.bsd3;
+ license = if enableWideVine then licenses.unfree else licenses.bsd3;
platforms = platforms.linux;
hydraPlatforms = if channel == "stable" then ["aarch64-linux" "x86_64-linux"] else [];
timeout = 172800; # 48 hours
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix
index 49426a8af3b..6d43c313cc0 100644
--- a/pkgs/applications/networking/browsers/chromium/common.nix
+++ b/pkgs/applications/networking/browsers/chromium/common.nix
@@ -1,4 +1,4 @@
-{ stdenv, llvmPackages, gn, ninja, which, nodejs, fetchurl, fetchpatch, gnutar
+{ stdenv, llvmPackages, gn, ninja, which, nodejs, fetchpatch, gnutar
# default dependencies
, bzip2, flac, speex, libopus
@@ -13,7 +13,7 @@
, bison, gperf
, glib, gtk3, dbus-glib
, glibc
-, libXScrnSaver, libXcursor, libXtst, libGLU_combined
+, libXScrnSaver, libXcursor, libXtst, libGLU_combined, libGL
, protobuf, speechd, libXdamage, cups
, ffmpeg, libxslt, libxml2, at-spi2-core
, jdk
@@ -24,7 +24,6 @@
# package customization
, enableNaCl ? false
-, enableWideVine ? false
, useVaapi ? false
, gnomeSupport ? false, gnome ? null
, gnomeKeyringSupport ? false, libgnome-keyring3 ? null
@@ -67,7 +66,8 @@ let
in attrs: concatStringsSep " " (attrValues (mapAttrs toFlag attrs));
gnSystemLibraries = [
- "flac" "libwebp" "libxslt" "yasm" "opus" "snappy" "libpng" "zlib"
+ "flac" "libwebp" "libxslt" "yasm" "opus" "snappy" "libpng"
+ # "zlib" # version 77 reports unresolved dependency on //third_party/zlib:zlib_config
# "libjpeg" # fails with multiple undefined references to chromium_jpeg_*
# "re2" # fails with linker errors
# "ffmpeg" # https://crbug.com/731766
@@ -132,11 +132,12 @@ let
++ optional pulseSupport libpulseaudio
++ optional (versionAtLeast version "72") jdk.jre;
- patches = optional enableWideVine ./patches/widevine.patch ++ [
+ patches = [
./patches/nix_plugin_paths_68.patch
./patches/remove-webp-include-69.patch
./patches/jumbo-sorted.patch
./patches/no-build-timestamps.patch
+ ./patches/widevine.patch
# Unfortunately, chromium regularly breaks on major updates and
# then needs various patches backported in order to be compiled with GCC.
@@ -149,21 +150,11 @@ let
] ++ optionals (useVaapi) [
# source: https://aur.archlinux.org/cgit/aur.git/plain/chromium-vaapi.patch?h=chromium-vaapi
./patches/chromium-vaapi.patch
- ] ++ optionals (!stdenv.cc.isClang && (versionRange "71" "72")) [
- ( githubPatch "65be571f6ac2f7942b4df9e50b24da517f829eec" "1sqv0aba0mpdi4x4f21zdkxz2cf8ji55ffgbfcr88c5gcg0qn2jh" )
- ] ++ optional stdenv.isAarch64
- (if (versionOlder version "71") then
- fetchpatch {
- url = https://raw.githubusercontent.com/OSSystems/meta-browser/e4a667deaaf9a26a3a1aeb355770d1f29da549ad/recipes-browser/chromium/files/aarch64-skia-build-fix.patch;
- sha256 = "0dkchqair8cy2f5a5p5vi24r9b4d28pgn2bfvm1568lypbjw6iab";
- }
- else
- fetchpatch {
- url = https://raw.githubusercontent.com/OSSystems/meta-browser/e4a667deaaf9a26a3a1aeb355770d1f29da549ad/recipes-browser/chromium/files/aarch64-skia-build-fix.patch;
- postFetch = "substituteInPlace $out --replace __aarch64__ SK_CPU_ARM64";
- sha256 = "018fbdzyw9rvia8m0qkk5gv8q8gl7x34rrjbn7mi1fgxdsayn22s";
- }
- );
+ ] ++ optional stdenv.isAarch64 (fetchpatch {
+ url = https://raw.githubusercontent.com/OSSystems/meta-browser/e4a667deaaf9a26a3a1aeb355770d1f29da549ad/recipes-browser/chromium/files/aarch64-skia-build-fix.patch;
+ postFetch = "substituteInPlace $out --replace __aarch64__ SK_CPU_ARM64";
+ sha256 = "018fbdzyw9rvia8m0qkk5gv8q8gl7x34rrjbn7mi1fgxdsayn22s";
+ });
postPatch = ''
# We want to be able to specify where the sandbox is via CHROME_DEVEL_SANDBOX
@@ -244,13 +235,13 @@ let
use_gnome_keyring = gnomeKeyringSupport;
use_gio = gnomeSupport;
enable_nacl = enableNaCl;
- enable_widevine = enableWideVine;
+ enable_widevine = true;
use_cups = cupsSupport;
treat_warnings_as_errors = false;
is_clang = stdenv.cc.isClang;
clang_use_chrome_plugins = false;
- remove_webcore_debug_symbols = true;
+ blink_symbol_level = 0;
enable_swiftshader = false;
fieldtrial_testing_like_official_build = true;
@@ -308,6 +299,13 @@ let
targets = extraAttrs.buildTargets or [];
commands = map buildCommand targets;
in concatStringsSep "\n" commands;
+
+ postFixup = ''
+ # Make sure that libGLESv2 is found by dlopen (if using EGL).
+ chromiumBinary="$libExecPath/$packageName"
+ origRpath="$(patchelf --print-rpath "$chromiumBinary")"
+ patchelf --set-rpath "${libGL}/lib:$origRpath" "$chromiumBinary"
+ '';
};
# Remove some extraAttrs we supplied to the base attributes already.
diff --git a/pkgs/applications/networking/browsers/chromium/default.nix b/pkgs/applications/networking/browsers/chromium/default.nix
index cfc2da2bdd2..f099ddbff73 100644
--- a/pkgs/applications/networking/browsers/chromium/default.nix
+++ b/pkgs/applications/networking/browsers/chromium/default.nix
@@ -1,7 +1,9 @@
-{ newScope, config, stdenv, llvmPackages, gcc8Stdenv, llvmPackages_7
-, makeWrapper, makeDesktopItem, ed
+{ newScope, config, stdenv, llvmPackages, gcc8Stdenv, llvmPackages_8
+, makeWrapper, ed
, glib, gtk3, gnome3, gsettings-desktop-schemas
, libva ? null
+, gcc, nspr, nss, patchelfUnstable, runCommand
+, lib
# package customization
, channel ? "stable"
@@ -18,8 +20,8 @@
}:
let
- stdenv_ = if stdenv.isAarch64 then gcc8Stdenv else llvmPackages_7.stdenv;
- llvmPackages_ = if stdenv.isAarch64 then llvmPackages else llvmPackages_7;
+ stdenv_ = if stdenv.isAarch64 then gcc8Stdenv else llvmPackages_8.stdenv;
+ llvmPackages_ = if stdenv.isAarch64 then llvmPackages else llvmPackages_8;
in let
stdenv = stdenv_;
llvmPackages = llvmPackages_;
@@ -34,23 +36,76 @@ in let
mkChromiumDerivation = callPackage ./common.nix {
inherit enableNaCl gnomeSupport gnome
gnomeKeyringSupport proprietaryCodecs cupsSupport pulseSupport
- useVaapi
- enableWideVine;
+ useVaapi;
};
- browser = callPackage ./browser.nix { inherit channel; };
+ browser = callPackage ./browser.nix { inherit channel enableWideVine; };
plugins = callPackage ./plugins.nix {
- inherit enablePepperFlash enableWideVine;
+ inherit enablePepperFlash;
};
};
+ mkrpath = p: "${lib.makeSearchPathOutput "lib" "lib64" p}:${lib.makeLibraryPath p}";
+ widevine = let upstream-info = chromium.upstream-info; in stdenv.mkDerivation {
+ name = "chromium-binary-plugin-widevine";
+
+ src = upstream-info.binary;
+
+ nativeBuildInputs = [ patchelfUnstable ];
+
+ phases = [ "unpackPhase" "patchPhase" "installPhase" "checkPhase" ];
+
+ unpackCmd = let
+ chan = if upstream-info.channel == "dev" then "chrome-unstable"
+ else if upstream-info.channel == "stable" then "chrome"
+ else if upstream-info.channel == "beta" then "chrome-beta"
+ else throw "Unknown chromium channel.";
+ in ''
+ mkdir -p plugins
+ ar p "$src" data.tar.xz | tar xJ -C plugins --strip-components=4 \
+ ./opt/google/${chan}/libwidevinecdm.so
+ '';
+
+ doCheck = true;
+ checkPhase = ''
+ ! find -iname '*.so' -exec ldd {} + | grep 'not found'
+ '';
+
+ PATCH_RPATH = mkrpath [ gcc.cc glib nspr nss ];
+
+ patchPhase = ''
+ patchelf --set-rpath "$PATCH_RPATH" libwidevinecdm.so
+ '';
+
+ installPhase = ''
+ install -vD libwidevinecdm.so \
+ "$out/lib/libwidevinecdm.so"
+ '';
+
+ meta.platforms = lib.platforms.x86_64;
+ };
+
suffix = if channel != "stable" then "-" + channel else "";
sandboxExecutableName = chromium.browser.passthru.sandboxExecutableName;
version = chromium.browser.version;
+ # This is here because we want to add the widevine shared object at the last
+ # minute in order to avoid a full rebuild of chromium. Additionally, this
+ # isn't in `browser.nix` so we can avoid having to re-expose attributes of
+ # the chromium derivation (see above: we introspect `sandboxExecutableName`).
+ chromiumWV = let browser = chromium.browser; in if enableWideVine then
+ runCommand (browser.name + "-wv") { version = browser.version; }
+ ''
+ mkdir -p $out
+ cp -R ${browser}/* $out/
+ chmod u+w $out/libexec/chromium*
+ cp ${widevine}/lib/libwidevinecdm.so $out/libexec/chromium/
+ # patchelf?
+ ''
+ else browser;
in stdenv.mkDerivation {
name = "chromium${suffix}-${version}";
inherit version;
@@ -68,7 +123,7 @@ in stdenv.mkDerivation {
outputs = ["out" "sandbox"];
buildCommand = let
- browserBinary = "${chromium.browser}/libexec/chromium/chromium";
+ browserBinary = "${chromiumWV}/libexec/chromium/chromium";
getWrapperFlags = plugin: "$(< \"${plugin}/nix-support/wrapper-flags\")";
libPath = stdenv.lib.makeLibraryPath ([]
++ stdenv.lib.optional useVaapi libva
@@ -113,13 +168,7 @@ in stdenv.mkDerivation {
'';
inherit (chromium.browser) packageName;
- meta = chromium.browser.meta // {
- broken = if enableWideVine then
- builtins.trace "WARNING: WideVine is not functional, please only use for testing"
- true
- else false;
- };
-
+ meta = chromium.browser.meta;
passthru = {
inherit (chromium) upstream-info browser;
mkDerivation = chromium.mkChromiumDerivation;
diff --git a/pkgs/applications/networking/browsers/chromium/patches/no-build-timestamps.patch b/pkgs/applications/networking/browsers/chromium/patches/no-build-timestamps.patch
index e06d848095c..6b788f43d29 100644
--- a/pkgs/applications/networking/browsers/chromium/patches/no-build-timestamps.patch
+++ b/pkgs/applications/networking/browsers/chromium/patches/no-build-timestamps.patch
@@ -7,7 +7,7 @@
+ # I don't trust LASTCHANGE magic, and I definelly want something deterministic here
+ SOURCE_DATE_EPOCH = os.getenv("SOURCE_DATE_EPOCH", None)
+ if SOURCE_DATE_EPOCH is not None:
-+ print SOURCE_DATE_EPOCH
++ print(SOURCE_DATE_EPOCH)
+ return 0
+ else:
+ raise RuntimeError("SOURCE_DATE_EPOCH not set")
diff --git a/pkgs/applications/networking/browsers/chromium/patches/widevine.patch b/pkgs/applications/networking/browsers/chromium/patches/widevine.patch
index 90a13928e3b..2de6024141d 100644
--- a/pkgs/applications/networking/browsers/chromium/patches/widevine.patch
+++ b/pkgs/applications/networking/browsers/chromium/patches/widevine.patch
@@ -1,16 +1,24 @@
-Minimal WideVine patch from Gentoo:
+Description: enable widevine and set its version string to "undefined"
+Author: Michael Gilbert
+Author: Olivier Tilloy
-https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/chromium-widevine-r1.patch
-
-BTS: https://bugs.gentoo.org/show_bug.cgi?id=547630
-
---- a/third_party/widevine/cdm/stub/widevine_cdm_version.h
-+++ b/third_party/widevine/cdm/stub/widevine_cdm_version.h
-@@ -10,6 +10,7 @@
-
- #include "third_party/widevine/cdm/widevine_cdm_common.h"
-
-+#define WIDEVINE_CDM_VERSION_STRING "unknown"
- #define WIDEVINE_CDM_AVAILABLE
+--- a/third_party/widevine/cdm/widevine_cdm_version.h
++++ b/third_party/widevine/cdm/widevine_cdm_version.h
+@@ -11,5 +11,6 @@
+ // If the Widevine CDM is available define the following:
+ // - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
+ // as a string, e.g., "1.0.123.456").
++#define WIDEVINE_CDM_VERSION_STRING "undefined"
#endif // WIDEVINE_CDM_VERSION_H_
+--- a/chrome/common/chrome_content_client.cc
++++ b/chrome/common/chrome_content_client.cc
+@@ -99,7 +99,7 @@
+ // Registers Widevine CDM if Widevine is enabled, the Widevine CDM is
+ // bundled and not a component. When the Widevine CDM is a component, it is
+ // registered in widevine_cdm_component_installer.cc.
+-#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
++#if !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
+ #define REGISTER_BUNDLED_WIDEVINE_CDM
+ #include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
+ // TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support
diff --git a/pkgs/applications/networking/browsers/chromium/plugins.nix b/pkgs/applications/networking/browsers/chromium/plugins.nix
index 0715a01a951..a80210542c5 100644
--- a/pkgs/applications/networking/browsers/chromium/plugins.nix
+++ b/pkgs/applications/networking/browsers/chromium/plugins.nix
@@ -6,7 +6,6 @@
, fetchzip
, patchelfUnstable
, enablePepperFlash ? false
-, enableWideVine ? false
, upstream-info
}:
@@ -44,67 +43,13 @@ let
echo ${toString quoted} > "''$${output}/nix-support/wrapper-flags"
'';
- widevine = stdenv.mkDerivation {
- name = "chromium-binary-plugin-widevine";
-
- src = upstream-info.binary;
-
- nativeBuildInputs = [ patchelfUnstable ];
-
- phases = [ "unpackPhase" "patchPhase" "installPhase" "checkPhase" ];
-
- unpackCmd = let
- chan = if upstream-info.channel == "dev" then "chrome-unstable"
- else if upstream-info.channel == "stable" then "chrome"
- else "chrome-${upstream-info.channel}";
- in ''
- mkdir -p plugins
- ar p "$src" data.tar.xz | tar xJ -C plugins --strip-components=4 \
- ./opt/google/${chan}/libwidevinecdm.so \
- ./opt/google/${chan}/libwidevinecdmadapter.so
- '';
-
- doCheck = true;
- checkPhase = ''
- ! find -iname '*.so' -exec ldd {} + | grep 'not found'
- '';
-
- PATCH_RPATH = mkrpath [ gcc.cc glib nspr nss ];
-
- patchPhase = ''
- chmod +x libwidevinecdm.so libwidevinecdmadapter.so
- patchelf --set-rpath "$PATCH_RPATH" libwidevinecdm.so
- patchelf --set-rpath "$out/lib:$PATCH_RPATH" libwidevinecdmadapter.so
- '';
-
- installPhase = let
- wvName = "Widevine Content Decryption Module";
- wvDescription = "Playback of encrypted HTML audio/video content";
- wvMimeTypes = "application/x-ppapi-widevine-cdm";
- wvModule = "@out@/lib/libwidevinecdmadapter.so";
- wvInfo = "#${wvName}#${wvDescription};${wvMimeTypes}";
- in ''
- install -vD libwidevinecdm.so \
- "$out/lib/libwidevinecdm.so"
- install -vD libwidevinecdmadapter.so \
- "$out/lib/libwidevinecdmadapter.so"
-
- ${mkPluginInfo {
- flags = [ "--register-pepper-plugins=${wvModule}${wvInfo}" ];
- envVars.NIX_CHROMIUM_PLUGIN_PATH_WIDEVINE = "@out@/lib";
- }}
- '';
-
- meta.platforms = platforms.x86_64;
- };
-
flash = stdenv.mkDerivation rec {
- name = "flashplayer-ppapi-${version}";
- version = "32.0.0.192";
+ pname = "flashplayer-ppapi";
+ version = "32.0.0.255";
src = fetchzip {
url = "https://fpdownload.adobe.com/pub/flashplayer/pdc/${version}/flash_player_ppapi_linux.x86_64.tar.gz";
- sha256 = "14nydiqjvr7hc4dmn900p7j7rp6prwyaf6xnki2ssbq6h1ni2lg1";
+ sha256 = "1rqb54kqxq66vvqk5yrr3rsy3wcj9r9wnkngk27c7jayzm6bwgvv";
stripRoot = false;
};
@@ -135,11 +80,10 @@ let
'';
dontStrip = true;
-
+
meta.platforms = platforms.x86_64;
};
in {
- enabled = optional enableWideVine widevine
- ++ optional enablePepperFlash flash;
+ enabled = optional enablePepperFlash flash;
}
diff --git a/pkgs/applications/networking/browsers/chromium/update.nix b/pkgs/applications/networking/browsers/chromium/update.nix
index 2334dc6a71e..6dff17c69dd 100644
--- a/pkgs/applications/networking/browsers/chromium/update.nix
+++ b/pkgs/applications/networking/browsers/chromium/update.nix
@@ -35,7 +35,7 @@ let
"http://repo.fdzh.org/chrome/deb/pool/main/g"
];
-in rec {
+in {
getChannel = channel: let
chanAttrs = builtins.getAttr channel sources;
in {
diff --git a/pkgs/applications/networking/browsers/chromium/upstream-info.nix b/pkgs/applications/networking/browsers/chromium/upstream-info.nix
index 0de95c7d6a9..df2ce798f1f 100644
--- a/pkgs/applications/networking/browsers/chromium/upstream-info.nix
+++ b/pkgs/applications/networking/browsers/chromium/upstream-info.nix
@@ -1,18 +1,18 @@
# This file is autogenerated from update.sh in the same directory.
{
beta = {
- sha256 = "01sw6ql4fr1zwbw4l4c3xgmd3jqil9lgmpmlhfyj9ga4kp2qlnim";
- sha256bin64 = "0xwxb54l1ylrckxd36pkzcla34d5hbnhxz3gkrv4id530l6ms6jh";
- version = "75.0.3770.27";
+ sha256 = "12cp24h93b48pwfywf5b6qvjdlhxrhp87qdaqbfcn6g787r2z5gb";
+ sha256bin64 = "0d9w869qqwbmw3qjvxkfm37i7dvrgmrwm5y96sm1dg2jnxqj4bdz";
+ version = "77.0.3865.75";
};
dev = {
- sha256 = "0fq8sjyscz998ha4wnn4npr3bb4jslcjc1i7xgwz6bh4yhi1az4f";
- sha256bin64 = "1yb6ff6bg662klki7dcrdaysmsnqrnlp8syxcvwl2rysswll3wyl";
- version = "76.0.3788.1";
+ sha256 = "0x5r6xqwiggwyzbinm252xc1n3f9r7cmmzj6assi4v1nsispdh2k";
+ sha256bin64 = "03yymhbpd1snycmcv7wkg5j6zbydvyc365gy5myp7wgas7cd0mb6";
+ version = "78.0.3887.7";
};
stable = {
- sha256 = "01ifjsss3nqr15xx2iqsiqgjq1xc07j7ljnapsb484m7dcfk3gnw";
- sha256bin64 = "0zkv4x4vbra476c6wy4igp6k80r9ssb9632wsyrzjni9w3zk9qvy";
- version = "74.0.3729.157";
+ sha256 = "12cp24h93b48pwfywf5b6qvjdlhxrhp87qdaqbfcn6g787r2z5gb";
+ sha256bin64 = "1wp5g09czyslkkhw3nhbp39fxfcz0pprsgj8h0aggghpdbvzph3d";
+ version = "77.0.3865.75";
};
}
diff --git a/pkgs/applications/networking/browsers/dillo/default.nix b/pkgs/applications/networking/browsers/dillo/default.nix
index 671ab03a2e2..8d6c99d2468 100644
--- a/pkgs/applications/networking/browsers/dillo/default.nix
+++ b/pkgs/applications/networking/browsers/dillo/default.nix
@@ -7,10 +7,10 @@
stdenv.mkDerivation rec {
version = "3.0.5";
- name = "dillo-${version}";
+ pname = "dillo";
src = fetchurl {
- url = "https://www.dillo.org/download/${name}.tar.bz2";
+ url = "https://www.dillo.org/download/${pname}-${version}.tar.bz2";
sha256 = "12ql8n1lypv3k5zqgwjxlw1md90ixz3ag6j1gghfnhjq3inf26yv";
};
diff --git a/pkgs/applications/networking/browsers/elinks/default.nix b/pkgs/applications/networking/browsers/elinks/default.nix
index b60454c4a42..da6a7bc4715 100644
--- a/pkgs/applications/networking/browsers/elinks/default.nix
+++ b/pkgs/applications/networking/browsers/elinks/default.nix
@@ -4,13 +4,13 @@
enableGuile ? false, guile ? null
, enablePython ? false, python ? null
, enablePerl ? (stdenv.hostPlatform == stdenv.buildPlatform), perl ? null
-, enableSpidermonkey ? (stdenv.hostPlatform == stdenv.buildPlatform), spidermonkey_1_8_5 ? null
+, enableSpidermonkey ? (stdenv.hostPlatform == stdenv.buildPlatform), spidermonkey ? null
}:
assert enableGuile -> guile != null;
assert enablePython -> python != null;
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "elinks-0.12pre6";
src = fetchurl {
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
patches = [ ./gc-init.patch ];
- buildInputs = [ ncurses xlibsWrapper bzip2 zlib openssl spidermonkey_1_8_5 gpm ]
+ buildInputs = [ ncurses xlibsWrapper bzip2 zlib openssl spidermonkey gpm ]
++ stdenv.lib.optional enableGuile guile
++ stdenv.lib.optional enablePython python
++ stdenv.lib.optional enablePerl perl
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
] ++ stdenv.lib.optional enableGuile "--with-guile"
++ stdenv.lib.optional enablePython "--with-python"
++ stdenv.lib.optional enablePerl "--with-perl"
- ++ stdenv.lib.optional enableSpidermonkey "--with-spidermonkey=${spidermonkey_1_8_5}"
+ ++ stdenv.lib.optional enableSpidermonkey "--with-spidermonkey=${spidermonkey}"
;
meta = {
diff --git a/pkgs/applications/networking/browsers/ephemeral/default.nix b/pkgs/applications/networking/browsers/ephemeral/default.nix
index 26b3c3ace8b..369689520d8 100644
--- a/pkgs/applications/networking/browsers/ephemeral/default.nix
+++ b/pkgs/applications/networking/browsers/ephemeral/default.nix
@@ -19,13 +19,13 @@
stdenv.mkDerivation rec {
pname = "ephemeral";
- version = "5.1.0";
+ version = "5.3.0";
src = fetchFromGitHub {
owner = "cassidyjames";
repo = "ephemeral";
rev = version;
- sha256 = "1wfrbbdw429q2mkycn87fhci0jidcsflk5f2lbzfzccbcs8msffz";
+ sha256 = "1xglhv4rpl6vqryvliyvr9y8mqli4x4bjcfjsl1v8gdxkzkwfy39";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/networking/browsers/falkon/default.nix b/pkgs/applications/networking/browsers/falkon/default.nix
index c721a61591a..6e21456a9a9 100644
--- a/pkgs/applications/networking/browsers/falkon/default.nix
+++ b/pkgs/applications/networking/browsers/falkon/default.nix
@@ -1,12 +1,13 @@
-{ stdenv, lib, fetchFromGitHub, cmake, extra-cmake-modules, pkgconfig, qmake
+{ stdenv, mkDerivation, lib, fetchFromGitHub
+, cmake, extra-cmake-modules, pkgconfig, qmake
, libpthreadstubs, libxcb, libXdmcp
, qtsvg, qttools, qtwebengine, qtx11extras
, qtwayland
, kwallet
}:
-stdenv.mkDerivation rec {
- name = "falkon-${version}";
+mkDerivation rec {
+ pname = "falkon";
version = "3.1.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix b/pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix
index 98696c1b619..50b7153533d 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/beta_sources.nix
@@ -1,995 +1,935 @@
{
- version = "67.0b19";
+ version = "69.0b16";
sources = [
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ach/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ach/firefox-69.0b16.tar.bz2";
locale = "ach";
arch = "linux-x86_64";
- sha512 = "57938523aacbb017de1b3f465101988862309c8b8b57814eb76aa5e9a40f8f58ceaabb6cfc0d71f47dd00c8efa90f16864d2a55b31637cd0a09d2a884a641a06";
+ sha512 = "5fe26093cdffc6c3afde7438bbcde7fb24867e70b74c18ef287d5897e4470f2671fe30053bf7d9077d9494e9cc97a2dabb9938d4c99fcaf7981d8df7cea281fe";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/af/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/af/firefox-69.0b16.tar.bz2";
locale = "af";
arch = "linux-x86_64";
- sha512 = "cb133de3809b95207f3289322850cc9a95a7cab1bcee23af45c7f78cd0bfdaaaeb8540fa73f45eb74433e70490524772fdc2b942f4028211a4946d1fb5094f6c";
+ sha512 = "2a1ea5564ac0bb16dc716f29f4f3a63f8029ba314e353ad74bb437a70ade138b29f58df2fb8320efbf5c001232253aa4a16f48673bc4c6e5906ce3c4c912026a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/an/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/an/firefox-69.0b16.tar.bz2";
locale = "an";
arch = "linux-x86_64";
- sha512 = "36b8f43c71db98f757396ff62796c58bf325d4118ffb1982a50c0cdf42d52fe511c851533c637d0b2a5536e4dbfa74056c63ea4ed05f4e02ad879e0018402ad3";
+ sha512 = "5fae2f3b33d7776f70a4244c6be02a47e81000a9de91fde1a3d73be2675e1ca67a2219f8aeacb70759cc779b985e4f0698c625c20f895e75e28ed9c764c8c3e4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ar/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ar/firefox-69.0b16.tar.bz2";
locale = "ar";
arch = "linux-x86_64";
- sha512 = "e45d414c938d887730225337bf23085af4ae19b93933ee032ea59e711bb4471b51f5a30673f6a3d60db558c35b70e0e4da3db5126a091d46b1057eb51de4ad60";
+ sha512 = "dd8eb0155a3d9489645c03c3240f5ca2c6ee0b0de7cd82e62aad1575e8868f3ec763985c4142078ef8ace86da81887bf7d1f95c2ec22d5bc73086e230898e7a9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/as/firefox-67.0b19.tar.bz2";
- locale = "as";
- arch = "linux-x86_64";
- sha512 = "59ea0790b6b9c5d8de80980e0615864aa574ed8f78c0ab1bdd38bfad87078e16979f7c995ad8cbc994f325bbc9b010c28e7c59c1c94464436ba042498f8be98c";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ast/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ast/firefox-69.0b16.tar.bz2";
locale = "ast";
arch = "linux-x86_64";
- sha512 = "3ef5af1426289a7beeeb41886bae7895fa4dd4c428a4a2309e0e526bcf9409292509b4e147786594f90ffcc4f065ae5209a05882f2935eb373c48ae86b895693";
+ sha512 = "960fea994048e4c08389c7701541266e3631c4d70f604146189805f1ad606aab16ef9c2b28eedee82acbe0f42f69c96a90a041ba4cf95fec060b1d6c29a94bc7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/az/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/az/firefox-69.0b16.tar.bz2";
locale = "az";
arch = "linux-x86_64";
- sha512 = "72385d4e63065187595d2a8a41b842ef07cf6355dad8f63306c1e5bcf065be8a95af2177250dc953f7882909d5d2579a22a5fa6c7fa3822e6b835951ff3d41a4";
+ sha512 = "8e7b6bb3fc5c6726115a0a20f61d1cad5e9a4e9e86e462e1ab6a454f5257af22ebf8dcdea3298fc1e9648fe630c36245f4c45ba4093d45e59741ceb882fc501b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/be/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/be/firefox-69.0b16.tar.bz2";
locale = "be";
arch = "linux-x86_64";
- sha512 = "ee5d952dbd52b7c6e5f38d9c48aa275de1255747912b04d43c0721cd4684427677644641fe717b41384d823f444454f02b91de55fac85e6d890c8a0fbabeb3e9";
+ sha512 = "919a1f9007599ed0b325e0b218b18fc803c535f7eab76068cf4e94fe1ceb4543d090d7f341ba5f4d4de9aaaedc1b19d88ddbcb5c329ed5650d2ebc721f6aa49b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/bg/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/bg/firefox-69.0b16.tar.bz2";
locale = "bg";
arch = "linux-x86_64";
- sha512 = "54c8ea271402e0ea4728c7ba3e03ab664e7fc216f14a55a96dc3a0a8e40a3403616f53142d55d27da391c35b3532d092746549d932de8d7d09cccbdcab5d9f1b";
+ sha512 = "6746f4d0c2a73f99bc04c3b12bcf54e5eca7262ac6d54835a567a23a07fc91775db9e64d0c5accf045aabd5d4645a753413f934e6eac9dbcefaea30c944aadd8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/bn-BD/firefox-67.0b19.tar.bz2";
- locale = "bn-BD";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/bn/firefox-69.0b16.tar.bz2";
+ locale = "bn";
arch = "linux-x86_64";
- sha512 = "d73f9cea437730d0a926bed3e5f0c4fbdd68931066504f61970a6a563c0096ab6fa9b450ca0fd7a8edc92a84f3a08ad00195a701050e0c7ea6cba9bbeaafcdf2";
+ sha512 = "ba88ff34405c92b907cc16e44dbd5d1db0b4bcf0fb75ca650739bf307a6e2270cfd69bba9ead6c260721857738165fbbcd4af44fbe8cb9d7402d97c32eb09532";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/bn-IN/firefox-67.0b19.tar.bz2";
- locale = "bn-IN";
- arch = "linux-x86_64";
- sha512 = "c1fcbd6f10d9c7624ea23bcbf77ab22098eb06333352945e4ef6c9faee155e2e83dab1ad9632cf90da7998e0336e35a14cffe62b44b5999efd88ddf4887c91ca";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/br/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/br/firefox-69.0b16.tar.bz2";
locale = "br";
arch = "linux-x86_64";
- sha512 = "f8bd8a03722f7c4b5dc0f2c7ce493649b5f1ff2cca3d7b067ac4f45c92bc6115bfc3391df128af4dc45dca9ae86f3202b14efff8218fc4d5a5709258e82c34d7";
+ sha512 = "e7c78c11b3fd36d7c6ab55ac9571a53615a595dd5c5d66cd3dc6fb6d3fb42a1b29dcc86180f2028502f25869c951ad3caedf4590a61fe525616f18d560d6e775";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/bs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/bs/firefox-69.0b16.tar.bz2";
locale = "bs";
arch = "linux-x86_64";
- sha512 = "69fd43f6c4cfd3085ea10b23fbccd694dbf4a7431e42bb680dd4c84005fb1b55c61b84b64dce471c0239c871057916e27275cfcab6e53b37db37e55c7ad9dcc8";
+ sha512 = "36a677f1c449ad58e8750323cffdea3200c3953b9fc6bf920a0439229eb00164d4c1199286d1f0cc47eb31b3fe7acf9e78ebc3f4a3f49a443d1425afe717ab2e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ca/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ca/firefox-69.0b16.tar.bz2";
locale = "ca";
arch = "linux-x86_64";
- sha512 = "331f582fd09c20d4a22f74b5c97b6690360999f107e9f8c8e905cff7ab820260eba07e9c8b5ffc8a3db2a4a31a0520d1ae35a6fc19ba95dd240a33a52936402b";
+ sha512 = "b78937e7ca4c7df19ed1c40a8b459d65176ca908333d7d19f30a377fddf836438cd750f2efeebb235c75c25f4a42a70e919c2c0061b865f7b90d71fe2ea119f1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/cak/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/cak/firefox-69.0b16.tar.bz2";
locale = "cak";
arch = "linux-x86_64";
- sha512 = "9949854d86c5bea188ea448d19859cd084decf61281fe31e1762293772bad6e74e1ff09226c18577f795e11d6eb5856c47b3519ee64ffa545c36aff3052b22c7";
+ sha512 = "ac21c01a6528790fd31d56f0c637a0cee8b4cd0938ecd18200c48f8c982ee6a06a36ad779f9cb708d0b8191b7df4480d62dd75cd2a4bd0502cdd862aa8e95a08";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/cs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/cs/firefox-69.0b16.tar.bz2";
locale = "cs";
arch = "linux-x86_64";
- sha512 = "7f63fb91a382ff5a2592308febd6ebc92ab98a2bbd33424db99cd6221145a41c852d5315b69125d8522ee6bd334b75c1d2f66919bc764fbcd5be3739653074f2";
+ sha512 = "09cafbad6acc6db507d5589f4f89f3914cb80c826de9e55d8f02b42c29f6e46d24f49729efd8c67b5b575fc4dd240d8b32f0ed69992ac992b02c8f2639c2b613";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/cy/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/cy/firefox-69.0b16.tar.bz2";
locale = "cy";
arch = "linux-x86_64";
- sha512 = "57f893fadd7b5b0ad43945597813555f7888a81782f89ae48eb6b63dfa5d62a8af386c21a749369ee52096f246518d859c55a39fd698389754aad6910138fb98";
+ sha512 = "18de3618d1b1fd350a8c826e57898f019e9c792e5f97521ab52ee940956e8e49a9191e361e0426412ca27e63c1e502f350c11a68574f2be37b29e43a9a63b25b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/da/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/da/firefox-69.0b16.tar.bz2";
locale = "da";
arch = "linux-x86_64";
- sha512 = "d05cbaa0461bc9ba0f7eb181f9fb5fdebbf2476cf28a8e7cb81d9ffc55bf4613870672411d7fdbd909e11f74bfadcccda4e51a7901be725472fac9724317389a";
+ sha512 = "7fd40f49390d1ca844f31eaad74a419a28aab6f74cbad1f040e01ecc5b6691ff516a4d2c41c906e241aab54573580eee3b6b01531468cc3e35c4fa61f7b60931";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/de/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/de/firefox-69.0b16.tar.bz2";
locale = "de";
arch = "linux-x86_64";
- sha512 = "b11d17e6a45f098203acfa4ac67a024363722586e9d56e3d8c467a4759fc20ecee34abbe2124496b2a63fa77b3a12085add6275328451a81fd3ccd1363bebf84";
+ sha512 = "85347a3419e55984769031850ec30f757238801cf8483551ddba35abfd0e2638c75fa358ec09705d28dcc647fa47ad37c4f545522d5f8aa54067fbcc232a47c6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/dsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/dsb/firefox-69.0b16.tar.bz2";
locale = "dsb";
arch = "linux-x86_64";
- sha512 = "8e2850ee9a9682001cb196f40a6ed5bb57ec434c97378c841dd29d40d06672df45cfce0768fdc95da1e279f04ddd44f2e3caa6f87e1c115783ea7c338092269d";
+ sha512 = "a8f24207ea3b763a3295c1feb43c22f0e502561224a4d3d342cdd7321bd4e93fca83293834163d9a6160e0fc4c6aedb60b4f72e172e99eb98e6b8c0cfef665e4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/el/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/el/firefox-69.0b16.tar.bz2";
locale = "el";
arch = "linux-x86_64";
- sha512 = "65d71abdb3afd8134a9dca80b7b4750a4c5303a3be172a5c1ad4d1ef2b461a010cd32cc72088fa27d095200bf2c630dd80daf3adc2e9cd3b768f38da6823006c";
+ sha512 = "ca8a37134a897631e398448683e4805ea9fd10a30629c09f760b6b90b9e8fb6505adf3143031e88b7a189791f487aa0ed852c0a4911b93fdedb34cd0cec7b7b6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/en-CA/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/en-CA/firefox-69.0b16.tar.bz2";
locale = "en-CA";
arch = "linux-x86_64";
- sha512 = "4ca7439c8bc775f320e17cd429f1f4695c0e28f341bc27cf8fb4f80ffd947bdc3615201164cda8625abda1a779cfb5ddf074b3e6237f07079ec5fae656d0ab0b";
+ sha512 = "b2c154bf92cf4ac6a4021b199e9e8438b59e4aeaa5ca7f72df41bdf64dcbdb196d384775b759b867a717e48e7a31f457cdec2c20e3c4dbd93d3c440ce277d396";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/en-GB/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/en-GB/firefox-69.0b16.tar.bz2";
locale = "en-GB";
arch = "linux-x86_64";
- sha512 = "f573f091dc6bf0977afa8df2aeee4fe99f0e3ff18b5fcda983652dd748712f6d949aa7e64a78f2b072026c3df699fd8632b743709ef04c71e141c6adf9abc65e";
+ sha512 = "73c0b07840bf816f093c90b9103a25d2ff00cadcf13341ff228e09bf939c131db3ade9d3be472a4eec3ca5b4131245ea4c788171e6ee42beba7dc1c7881da0b3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/en-US/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/en-US/firefox-69.0b16.tar.bz2";
locale = "en-US";
arch = "linux-x86_64";
- sha512 = "d4845e7816bf84f540ce4c3639a48bed9114d7312a20ecec392359fa38e6bc6aa39bda5fc85f6bb7fa930c8fc5f2a407a8219b67c3232d17bdeb7271735ccedc";
+ sha512 = "c63d7358887ba0d8af897063c5431c2bd404fb9708e6b59d73c14dd8cfa1a2137af72eb01dfe25b9e6d92b84d5b966693cc89f5446ed3410f910e2df3f92b6cc";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/en-ZA/firefox-67.0b19.tar.bz2";
- locale = "en-ZA";
- arch = "linux-x86_64";
- sha512 = "e1f4b64ff7cccc50539587b4816603f25a3ef45951208a616915b808e9ecba1ae5c41ac99ee41ff5f1e165068d13c47bfb2234351fa70c7bc08583978e60b8f1";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/eo/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/eo/firefox-69.0b16.tar.bz2";
locale = "eo";
arch = "linux-x86_64";
- sha512 = "a2ccbb24e8c818121a3171b1dfa909e3084a6661205c056fbefffb9dc15891a0e3a6fc162724af1c37022e774f4c5bec1aaab655546e815806a70c30832d5541";
+ sha512 = "0e4a373bac78d80e2849c41c93196782ef41a74f91c6319da690916138a78c20c9d26d8c96e5efe67a835185c8df77354b3fed5a62500e791634eb2f15909031";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/es-AR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/es-AR/firefox-69.0b16.tar.bz2";
locale = "es-AR";
arch = "linux-x86_64";
- sha512 = "ecfebd721d3751004162e2712a2fef4f69cd2c8f20ed903c719557f1d364320111a6c582b659ffffccfdd62b99c528b0f83f6d9b336c1fc316fdf68b602d1b8e";
+ sha512 = "ff07382bcc926272bc69c10aa7f35eee7806d94a18ddebfa3599451d002afdda739461aad90d8df094f56b9b8840cedef659757245d4fd1a8603ac25d2a3100b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/es-CL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/es-CL/firefox-69.0b16.tar.bz2";
locale = "es-CL";
arch = "linux-x86_64";
- sha512 = "0797e04170db48cda7fe1c864bd7d24f1240b27d41248052b30b5b423c1181c2d6c5cdbaedcfc3c57fb6d4a7b7232ba1c6ddc84aa6d566c4a643abb10e6915b3";
+ sha512 = "201f631a6682c9aa13c511a0d6da256e2f207362264f6e1ea060568a9e597216407ace99508ebe820a348859eb72c6df7581276eca5040b3ee2e99e048c67062";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/es-ES/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/es-ES/firefox-69.0b16.tar.bz2";
locale = "es-ES";
arch = "linux-x86_64";
- sha512 = "0127bfd9a53d3d9eafe9d84c73b1ab53b9efde1a81aa0751c67165b1e99044618b03ff0eca308e79f45bed6561ee4a5290524e54684b3f89148aa4ba0d6fab82";
+ sha512 = "76573a05de730de4c6bc76dcf98a21764c78baec4eb0ead45adae2658e9173b33c97132d0a2e5c95807a60a22c9ab2e1dce09e5b73ae2dfd905ced82ba105333";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/es-MX/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/es-MX/firefox-69.0b16.tar.bz2";
locale = "es-MX";
arch = "linux-x86_64";
- sha512 = "79473ab7aee759b5f9485b31d5650706e75ba2ec71a8f91c8d9b41b1496c268ea778a023301e8bb4fc9e18d9b1f3e5adbbcb29561e92fda786f841f8228163cd";
+ sha512 = "b619f5a2392ffa0b36f48503e94adf9cf1719911258e1752507f274078d12f74257677f3e76493fd080a0be08ca94964dc55129a59e292b1e2573676dc59e5c9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/et/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/et/firefox-69.0b16.tar.bz2";
locale = "et";
arch = "linux-x86_64";
- sha512 = "df9e12086902c937769663ea4b96df824f448edfed49115c0c364bc4e46e3bb12e054c3863b2c7ae718cb10cd531fb029bc1f50cd510abaf6326f08e7e6c9916";
+ sha512 = "951288cf8a5745e433332798b87ceb54e35d408ca9f4e9d9fb288192de430eb45065fe88f0858f1a71e0cbeaf87c85c240a6d350bf8ce2f50c8ae548cff71f90";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/eu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/eu/firefox-69.0b16.tar.bz2";
locale = "eu";
arch = "linux-x86_64";
- sha512 = "5955268edda75f514de7e2d77437ec15e00f3a3c0ce444f5e925932aba007a2f6818041e05f2082f9a861516cc327ce01f337b51af4e23618875ab22b95fc8a1";
+ sha512 = "78c856affa639c531d70e20b1de6f0eba59b33e403a1d24c3508fab03624b5c90db636d39b0c199f2fd0b5fab10fa3ecb2fced6cc3b1e8a06b9be11e8ec917b1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/fa/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/fa/firefox-69.0b16.tar.bz2";
locale = "fa";
arch = "linux-x86_64";
- sha512 = "1d54d2337975242a15051c2eaba63837b695aebfe8f10d2f4a313fccff457c395de0dc44557e691699ef156abc5c6c70e1d3fb4104b5a67a0f88d9f457cf442b";
+ sha512 = "a835fa37f804055dc117f694d85ae8b750c82f7ba92976def927f187ee91330a3d0616c0915917d1d0ec3c295f803c0bd2bdc9ecae0230f9a6642e42cab0e066";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ff/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ff/firefox-69.0b16.tar.bz2";
locale = "ff";
arch = "linux-x86_64";
- sha512 = "c3f190374e19204c0c9c945b2d17c51c28f3673ca1b437ad6a51322924d745706bcdca941550bf73f07f41fa8074fc82a39779ca4de56b0769e09be810336223";
+ sha512 = "ed3664cd4418ed5af133e00c30b3a9d23a82bb681c5d965fe00b4e2bf6ce4c777b00c352dca4cfcfcf5a895d7001dcc6de67b4ef0abb3967014c483437f9b1f8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/fi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/fi/firefox-69.0b16.tar.bz2";
locale = "fi";
arch = "linux-x86_64";
- sha512 = "a2390b34ee7df54d9ff75de306b9628251783b2a602bae4097e4d68aefd884c2e079a651c47381b3ff019c932d7cab3f9b4448a30d644ddcca1db3518cc1dfd2";
+ sha512 = "3edf6cc3dec21a48f914a754718a57cd495ed8bd9b807a9c4aae412a117ad1068abf0daf6cced6da74bd4887fe51746f1bb57dbc5858917ad17d8912cc9c4cb1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/fr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/fr/firefox-69.0b16.tar.bz2";
locale = "fr";
arch = "linux-x86_64";
- sha512 = "0df41f6a930e5c396db2846e9798cd62f7bda0a48c115f87f7148df9d3d31a787abb8119f2e239271406a30568bba01405d1db78b3cc213824873aa5d3b6f29e";
+ sha512 = "9f92a2dbaf834f13f0f0fe2cff0ac433c01b7e8155a381d21324fc1e7224f7d5c0a8374a7e5e43f679232f565958ef946e3cbdacd3e711e34ae97eb27176321d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/fy-NL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/fy-NL/firefox-69.0b16.tar.bz2";
locale = "fy-NL";
arch = "linux-x86_64";
- sha512 = "9e30a7dd5a6bef2c6e9d926898c6087f70a0fdd3d5e915f7564ea7decf8e9817ae2077e11d1b4cf49581f9ba6784e11b7ec8b78f07f1bb961353b3a1fa05682c";
+ sha512 = "f98eb4bdb595db2f688c25644dacddb2049fe8f8b21e83f8cd7031cd23587713f1fa53f39a0b444f6ee979901806811c16599224c6a1a7d17cda84b544ee1848";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ga-IE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ga-IE/firefox-69.0b16.tar.bz2";
locale = "ga-IE";
arch = "linux-x86_64";
- sha512 = "d964d95eed12056f68ff0e19c7df406aa02a096f13586db7d1ff9c127184a8044c0877537aebbea39d0634b297439410c083a53592bea954b49c903ac601e486";
+ sha512 = "eec73de53bce5c18ff0491d6f4018e3fb39471d3d63c6cf9527cff8f4b6b6e0a7e24e3b7fed58094409efee29df7dc35f2410ea05d5e916efa1d778926ab23f1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/gd/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/gd/firefox-69.0b16.tar.bz2";
locale = "gd";
arch = "linux-x86_64";
- sha512 = "e6921535d97564afd58582da56f4c84a6ff77604595107b87a05c5dd771b74c714ef37177fc736ed8f0f0adc4e88f6a045a562f25b9bc793cc9cca8693801739";
+ sha512 = "1d10666f6c563dfa07f708b058fe867b9618974394a5eb4733926429a76bb6ea59e7ecf6a2a89740cf2f04692186bcfcafd2eb6775c5b59421bab0a92a24fe41";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/gl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/gl/firefox-69.0b16.tar.bz2";
locale = "gl";
arch = "linux-x86_64";
- sha512 = "8cc6b3736b63afaeafb5af16cbb01388c0397b738e8b63866f70eecded78f9b7267b9ea8c35da5a1279584ae987743f687745821663ee49ee48ab7a16573fcb0";
+ sha512 = "b56d98f5a1e558aa73ec385c03b18dc9bc615670dc5a539eaf6c925f4af3915362d2d072f29ae3bde3f9ba266a321d704c6bfcb959d47858a650ffe7fab5767a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/gn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/gn/firefox-69.0b16.tar.bz2";
locale = "gn";
arch = "linux-x86_64";
- sha512 = "d65214cebb3cb6e46e4c587a3c682b8b3a97d9d1bef8e7e275a41171c924b032c3ea973013695e64bc07b7d47e3cb0c9d30489d971b9b51d2ef940622205c3ba";
+ sha512 = "50a9d482efe2c22002419f4559d1b90fd5f368a23deddd78227b7d20b6a051870a997506a1de931ac8c45bd5d33ff9152f3a8ad41c735912b48dc0fe9c073360";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/gu-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/gu-IN/firefox-69.0b16.tar.bz2";
locale = "gu-IN";
arch = "linux-x86_64";
- sha512 = "eab59070ef94f971e261b80ff4187a9fe844ac114622a7daa38a2058f20069530b9cf9f4962d451d7e5091f84c477c61de7932429a010063da0133b03577ef1d";
+ sha512 = "8ce423880bb405240a78773c3f81aa08bf42b39c68068d3cc604486a96b44e7509c577b2c8f2285cce62181b7f11565ea6910c8871b798d0b6856765b16e1899";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/he/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/he/firefox-69.0b16.tar.bz2";
locale = "he";
arch = "linux-x86_64";
- sha512 = "bb6afd173a994680b925e51b0d608d03b83cc22b313dae11f20fad48d32c8884432c1f063b073f6f57690d8d1387ebb39cec82d4f6a55979256e6312369bcd92";
+ sha512 = "6a0722861c63a414690e9eeb2456ee492a92b8b20f8fd9973c1580b2e3ef1bdb87bb7ca0d17603c429a76805076e2a7c4cf986d643e790b2b04c58b69aeb8758";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/hi-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/hi-IN/firefox-69.0b16.tar.bz2";
locale = "hi-IN";
arch = "linux-x86_64";
- sha512 = "b48e08e40b0e8236f9c7c21af4f320c7d52148a3652fb19d054614d331e6971f92bb3470c82fc274e97d8ebe3ddf7f6c724ccbcd56f0a77b62437649b20e2c32";
+ sha512 = "4e9ba72349a3e58ee2b584b5d3ed5f601a1af7714104139e7dfa997921e6b7954a5cb7b78b9b8b7bcb7eb09da990116f844dbd96cab901ca408c2fd49303c35d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/hr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/hr/firefox-69.0b16.tar.bz2";
locale = "hr";
arch = "linux-x86_64";
- sha512 = "513dd5bb1fd6df59f9a18427404c0b3cb4cc99bd14de50c84fc70d4429da965851cf693e22f532b1f8e6640e940cb8d43b5a74ffc7d73611cd1e07feb5ddfc6b";
+ sha512 = "f53f4177603c41008d06f16bf9e102855273f53856e57f79967f59af64bd38f745c4d71583db50917a45a7c3bd64940f69ecdb864dd957798c2ce5b65f5a75d9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/hsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/hsb/firefox-69.0b16.tar.bz2";
locale = "hsb";
arch = "linux-x86_64";
- sha512 = "96da7de5a628fa805015f1572ca3d00c95af1196dad49ce22d7dbb2c3bab4d410c74c2f9626177c7047f36b7d6fbe9b8d02da4cab7019bdc42d418560f5bccf7";
+ sha512 = "f6044e9f09cf4fb64dd9d3935332bec46ddd783f6335206a51e68a411be57169d4a6388224da462d65090cd2ebfee64946626fc41ac3d779f53391c1765fa290";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/hu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/hu/firefox-69.0b16.tar.bz2";
locale = "hu";
arch = "linux-x86_64";
- sha512 = "7de676d192633882d4bc0ae6508485d610c132eb31cc50a6fc9223c03cee72f9b2e2fccd02212b4278f507085853d883425378a65144d80d7f1a7e350fcff16e";
+ sha512 = "0178b084718079f1e6117f723e2931275a28944deb5bff48c3fc9d2548ceec7a6f019253cb7fb014b04e6800bdc62eded02b1ad26efc2eaccbbd2d0ca359faa1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/hy-AM/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/hy-AM/firefox-69.0b16.tar.bz2";
locale = "hy-AM";
arch = "linux-x86_64";
- sha512 = "3c24cc9d4c6e2a75031c0d9bd5913ce6a9e18f7ef48ad6a7640701d48f0130a3badffbbb9c10b3aaf16ef5fa4904bf60bd1d01be1e31cc5f21ed04bfcecf7dec";
+ sha512 = "0f069f14ab5895b1242b0b583e2a952c9a794e363973f68d119a791d5777048849dad23badeef6f155e1539b06468a4b7b0555e0e76f137edc523d09b6a51b36";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ia/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ia/firefox-69.0b16.tar.bz2";
locale = "ia";
arch = "linux-x86_64";
- sha512 = "0afa6d0da29bc57e90bc322461d69028822e041f2e678388ffa98d5fff41399b2a97007969a6ba6d096e514a8079d1f7370a851b0291101e96947c091c7cbb8a";
+ sha512 = "fa0beaf3088becebfc5e4f02b884a572fc86b5f89dafd8e79741fcddd331f1d667b1c2af81050b56121ff40a2c9077bc514df9ec2de4d165b536d5b17cf2fa29";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/id/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/id/firefox-69.0b16.tar.bz2";
locale = "id";
arch = "linux-x86_64";
- sha512 = "1c28aa0a9efba4eb5110282b1536109087e19055f36ded529f770ba1b99bc626f8684d516ac55f8734df2e60d1df8f982e444ebd95e4ec5733683c85682ff0c9";
+ sha512 = "10bb29fb1f4a588f8ccde4e087bba1c7b405c44a9a79acb16d189f704bc31ba24e33b1c89b1879deba4d5c5da0a5f94ef69a7987256af6fbb6d7571db85a1bb7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/is/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/is/firefox-69.0b16.tar.bz2";
locale = "is";
arch = "linux-x86_64";
- sha512 = "623f611718eab78bbabac527ae06e1c11535b55fe2d244338b5873e43df843ea187006436df9d75fe8a9c391649ff6b20bf789238bf22db4395ef177031a6269";
+ sha512 = "48229cafe81da44259f0768f1494685afe072558dddac63c6321955d852ddd80a3b8729692dbb9c6b283a302e6d412d7c8d4f48888a0d5a1cae12dc1a025124a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/it/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/it/firefox-69.0b16.tar.bz2";
locale = "it";
arch = "linux-x86_64";
- sha512 = "4a199c80ef60ee5907e3188682bbc7f55ed0af606b39db737c92159574807913df9816954a89da7fbf6adbcc6709828cb5d89c5cd017a9a73356d6444a5979ba";
+ sha512 = "1097ddf7dad776303b942bc80455c8902c0c0fe1667fab972754260da6fe45f383967b8bd2d51e845a66bc0728c7655050858722c1b3b8d2e8d0331c8f612cdd";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ja/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ja/firefox-69.0b16.tar.bz2";
locale = "ja";
arch = "linux-x86_64";
- sha512 = "d284a11142685d5289d1b54e468ebfd25305b3178a3726dcf870628e64b78bece3e1459ab24b050cf6a6b9b0a0ae96b686fb84918d44e117af7a52ca083666f8";
+ sha512 = "ca0e8dd301c1e1f76acdfae325445b2ebf45a15be70febeb677d215edbff7df509db7a38409b5039aab1a76cc8cb235d597f5b87f02a96bf842ef6d2e11e6176";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ka/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ka/firefox-69.0b16.tar.bz2";
locale = "ka";
arch = "linux-x86_64";
- sha512 = "4a22277aadfe945c5e153e97c1eb455be54b8e31525edca42f59d2427732e4ca64019f64e933ba8d2c1dbfc3a5cd624eb925bbf645f3bb204b9f91710355bb80";
+ sha512 = "99a1ae878c93ddf52c96466bae92259a4e51791ae343574c09f99e5f1878a15d705c84323af6b2871ddbe14c3f4b7fa5cc7a45c27b10b6bdf5bc70ce3a315322";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/kab/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/kab/firefox-69.0b16.tar.bz2";
locale = "kab";
arch = "linux-x86_64";
- sha512 = "7d23129ffbace8b59cc9cac660316c93ded2838eec3a4233f21f4643e5395ba823ec60b3ba590b9bf0dab7c818f47da6d78109cd253d5b46ddfeceb68d0e5754";
+ sha512 = "b2b6190978068d2d36baf58efff771dc48cbaa09e53da8d19ebedfec4da5ab6c9c1c212ab0a9fb6cf7a264565b1815bcd2a2e0283f912c9ae3ab5fc6dd0427be";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/kk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/kk/firefox-69.0b16.tar.bz2";
locale = "kk";
arch = "linux-x86_64";
- sha512 = "081ce66ca4a60dd04f37620c60b10716705d8300bd64bafaa42f3f57d1a738730aed5b392f419d1e253c82d44378e0ba949ef4075e98bbd797f234e24df2783a";
+ sha512 = "3c56bffab7e32ba9e0a572df36c473e94a3ef7b84207f204b5fa4df1473e4f64fe11a0b7bf8dee4cc26db56e99cf21eeb17b598dc211a5d9f5b3ab3fc5d625b0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/km/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/km/firefox-69.0b16.tar.bz2";
locale = "km";
arch = "linux-x86_64";
- sha512 = "c97a3d9324849f44dfa6464d59101f27179831324c5f785251df18d53a0c1cd2eaf208094f92473db5946c1427a4cccba70cf72b97bcbb3235bcb05c77edbd8e";
+ sha512 = "6a33560d83232074445c0cb31949f0e8ed4ffb18ce9407f4f9b8f5bb9460e949eb5d302b7f58a4ebcee5d27de0bc588e7d047ff8a17aa3edadc0ab595a175362";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/kn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/kn/firefox-69.0b16.tar.bz2";
locale = "kn";
arch = "linux-x86_64";
- sha512 = "219e84746b7fb63952c5719452c531fc0857b6a5cd54bcf05345d36cfafe23fd48e5668b0fc8b73c6090c8f2d8fecc252447dfc6dafdf594997dd3f010e5f38b";
+ sha512 = "d67b40cb99923acd769bb10d824903dc01379c9a5245f6d9fe0747b58525773b2724329c64760ec1c18726056bd1f7d74d9e292b3173555011bf7e66d6169828";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ko/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ko/firefox-69.0b16.tar.bz2";
locale = "ko";
arch = "linux-x86_64";
- sha512 = "7a981a23a362030bfff82d0fbf4367f37ff96a7225b394e7a24e041b79551c28f85ec4b0b452143171aad035055137e38c1f0e8f9efc5d9d5d776cec5ca323a3";
+ sha512 = "e932cf78de717646837ef432179a0b9cd41875b60ed5ec0c082f9b285c9899006844a61073689670449206a82c6a0bd72e076a51be1551ab3f757c6f0a060bb3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/lij/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/lij/firefox-69.0b16.tar.bz2";
locale = "lij";
arch = "linux-x86_64";
- sha512 = "770c4ddd5953bf57e725d7848545bc78e7342d8081173cdc70d05017e121154b42ca286ea699cfcf2c1ec53d3edf9a32b82f4881529ea7d238ba9eed6f6c0704";
+ sha512 = "d52ee5886f86e511f947366caaf2769c4b3fca87254091c395077dab4b665b35de7b66cf90849958bbbdd61316d5df43014a8c9f9bc9006641a40aa2e8d79f98";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/lt/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/lt/firefox-69.0b16.tar.bz2";
locale = "lt";
arch = "linux-x86_64";
- sha512 = "a8da67799fcad5accfe3df75fde2ca05c342d96700992a0cb337a36b06d2f267a0c695b657cb8508c4ea6498b78b5c9968c8b44cf3adab0f804b7d8e750fc970";
+ sha512 = "ea57e8db294d8b293a48d61257097caca093c9a2ed0b14b2d5c486de44b542cc546b751c2cca73ff6ae4945c210018a35ec61583f5b338628894117c04dbd135";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/lv/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/lv/firefox-69.0b16.tar.bz2";
locale = "lv";
arch = "linux-x86_64";
- sha512 = "e050d0feb11302ae87808e6d7ab39f8be08bb725e712935473924382ade0e3a148edeff35f2a27c354cae8705ffcdfc84c453a4c21b09fbc3246eb7ff41831c4";
+ sha512 = "66054fe532331c73b0718791d83f389ad369fc77ecb0904c6fe3f97310ffb4d88e316d9dc618a07dfd4569b3c746ac882d8b353484c580af63c59f44e8257c11";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/mai/firefox-67.0b19.tar.bz2";
- locale = "mai";
- arch = "linux-x86_64";
- sha512 = "78b7fcad151c8601484f1d9c9dfda6e4c869e849d9ef997b24aa1563dc162cf8152a79771a9efa4c4277c240810d6a2321f05bee7a7a832b12fc3407e55425ad";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/mk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/mk/firefox-69.0b16.tar.bz2";
locale = "mk";
arch = "linux-x86_64";
- sha512 = "05b70933aaab4bf44b0b81d4e98ded64baa32b4cd5094e6f4da3a67fe7a74ebe598d3f038a328094c8337fc2210dba8641500038753de3b174c83ffa77e624d1";
+ sha512 = "0f67149117eef961fad9355fe61353a3a2ee15f19e92a592d6fad69e46ac488c26f2b0269f6c229df51690bfead9e85c1ae0489230ba32fb27609900a9725f57";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ml/firefox-67.0b19.tar.bz2";
- locale = "ml";
- arch = "linux-x86_64";
- sha512 = "db08a385fb68b75bca117ad831c3d007636a46c4c762f3f3d7642fd472ea284c54fcb8537b19a8294efeb562b07ed35fc003463e8b8887126475cd00ffd01994";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/mr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/mr/firefox-69.0b16.tar.bz2";
locale = "mr";
arch = "linux-x86_64";
- sha512 = "eadced4d2ca385b7e456a7c1d3fc8714668e4cdbc80cd53c493c81fc9dcec0eb647126c54f191c46128fe7081329621f3db9041ef743cfda10ab63c113df658f";
+ sha512 = "740667d86641c92ac299fd63700ad74dc4ec2fabb261bff9abfbb704e7181863556aec952b420f5883ab6a18e66d237d15636e2d9eb7bcfbece6227190b4b6fb";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ms/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ms/firefox-69.0b16.tar.bz2";
locale = "ms";
arch = "linux-x86_64";
- sha512 = "e9221ff1002a8c8c29a3412e74f975f5bb4755d7588ad39164b931c3d4d5b7b4d286ff479fd492c5a406f78e2002ff236b84a4700eb5561e2cbbc0afea6cb4c3";
+ sha512 = "21ed058002c2c57c0e0e43658b12a7b257009814d13566d2d8a5164d0d3acb131a8c90f99b1e577b6d002f7e5019e296010e61b1df2c5d2e9443e8f55f20a4ca";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/my/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/my/firefox-69.0b16.tar.bz2";
locale = "my";
arch = "linux-x86_64";
- sha512 = "d985004ddff8ef36bb23a57a968fe580ddd258f39177b51dc65ad4cdf0568cb8b07bdc018263aee8bdc1a67cf0a46d7a860ede56c1f483340f63459b72fdd8ca";
+ sha512 = "8273c4d0df0fda727465d5bd4b50aa09dda1c81b4e78e291479efcceadd87ad24f50e2dec1accc2783fd0bf2e30a2d9e775d44ba599384f0e8e4ad0b6fe08e25";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/nb-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/nb-NO/firefox-69.0b16.tar.bz2";
locale = "nb-NO";
arch = "linux-x86_64";
- sha512 = "7fda4f7ae66c35c9895ae70a6587cf4caa9502002eeb685a34dc46cd61267a335281dae3ccb79efaa2adc1ed1a7a14c0825aaaf6289a427e5e34b36742b1cff1";
+ sha512 = "492842b037b018bc07827902e76a117f9ee4620342af102f2753e0d898ec9b070412debc6f72dad2d899c3869c27d2d969bbd9a8cbfe4d0c10d85428d9c7f3e4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ne-NP/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ne-NP/firefox-69.0b16.tar.bz2";
locale = "ne-NP";
arch = "linux-x86_64";
- sha512 = "e6ab5a32f68b2e322ce628fd4b1b0e0ae16feb4a5cdce8c22f5fa8575884b47b777be366577714315fe89dea7dc6464548621ab356d5c6c38cb0a9c04b770759";
+ sha512 = "5e31871031f4745af8e050e18b1d2f2a16bfd18596358b189c7940a8ff11e999e44cf2e96b62404e481d0d8712f151a10290ec36e5903ab72e26986a03f93e12";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/nl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/nl/firefox-69.0b16.tar.bz2";
locale = "nl";
arch = "linux-x86_64";
- sha512 = "56d489df90868442e9e5d8c4468ba52e9731a7f7deac8622033c840681d4d2238a3cb40418805bf62b0e8033ff9908f3d63e493372a6f532da0962094e82f7ab";
+ sha512 = "8ca6f3842359e5a97445692747ffe0d65bead4222d0b2f90f86dc637a6e02a1cc75909ea03acb0c232185ad626cdcf2a5dafd27d578420385b7a4df353847323";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/nn-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/nn-NO/firefox-69.0b16.tar.bz2";
locale = "nn-NO";
arch = "linux-x86_64";
- sha512 = "36feedf12fb038ac9f4d55833e0276219b11800f8123adc45372dba2d3682aa3a5322fc344a93707cd5439a0c22bd4a48a97d56140fdb590a9743665b74e4832";
+ sha512 = "a64d50c1625f4da5cde3aad78b04a4e3278ef3aabcb19cc9a9542e45f0c82f09a63fb464c0b2d842e107f22ad12226655617023afad112292ddc22d735a25d54";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/oc/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/oc/firefox-69.0b16.tar.bz2";
locale = "oc";
arch = "linux-x86_64";
- sha512 = "0d5107a49a16e547d975ccb4789b86f3977e109b77a6ed082acb8ff173b3c3d87466e6b009793080e180f8fd8d112dff93f8c129a4a6763ab6a6eafd94bf0a47";
+ sha512 = "1b873b5a90c8130be2a782f8c0459f853d3fbd340d7500550fc7628282b1e575d92a1d0af263665f7fac7192c22910e8338b66abda828ffecddfec79dab62fe7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/or/firefox-67.0b19.tar.bz2";
- locale = "or";
- arch = "linux-x86_64";
- sha512 = "7e780265d04e30d14f7e5af2d51a77e0f50da76a208ae05fb7de581fa6f993bcdf78289df2baefe2f72d2701bc3f2eb69a6a9e390a17129387aecbfa84000cd2";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/pa-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/pa-IN/firefox-69.0b16.tar.bz2";
locale = "pa-IN";
arch = "linux-x86_64";
- sha512 = "6ea56109bbf046e7d5e4131700a9488d256bd2fb505decbdeadf3691114ebb6848e6db0de0efa23d988f0d552a748187b19b01677aff09c065d0a4e8491d9d33";
+ sha512 = "6aadc5b934136d99161d4f52df74653ebe0ba2d5fd1e2468c103b34862a331ea269c23956ad27c7883811a474b6f915f6076d9673ab4767e5a3b0ba44bd32ec0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/pl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/pl/firefox-69.0b16.tar.bz2";
locale = "pl";
arch = "linux-x86_64";
- sha512 = "03f7353891d9a3cb9d33bd304f4571b7df975100cf3fb72cc8ee48d619bdda5cd1a36fb5cb4d93ef9385ae6a631296a3f7998b113406946f048b650dd40ccedf";
+ sha512 = "b3caa21e7ebf3083be1ea13da68a83775a0713f6046994991328a293cef558abc523c43572ee98587c777aa779498cc5d7e671aac622142b4801386e2e1532b3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/pt-BR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/pt-BR/firefox-69.0b16.tar.bz2";
locale = "pt-BR";
arch = "linux-x86_64";
- sha512 = "87050f10cad58304905934ee2a48a89cf9b1b2d5ddd164fb548098e88594223cb14f2dbe0a637db093b2e9dc36167f06e6449e2b36efa906eef6919a33c93156";
+ sha512 = "f8b591901004a08c74a79cc4a9beb5139adaa2ba15261680c20c215ece1f1f115f0a71c4a2af2665c2c35bc3c5d3b5016159dfea5f603a981d5ccdc6b28c3b98";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/pt-PT/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/pt-PT/firefox-69.0b16.tar.bz2";
locale = "pt-PT";
arch = "linux-x86_64";
- sha512 = "7d2092678130021af4a54ee78623424aafc3046ed2b676513ebd6b32d7ad3bf0dfac4592c1f9dea6beb3145e4593eb3400843596db97f72593815cc5243b7e64";
+ sha512 = "ba910b1e9e77a938f4208679141b24bae1dea6bf83a2f3a2778aeac59da1e8ab22ffe9333188316e170bff75bfae57258f3ff53c08774d00ee060de2d6871f21";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/rm/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/rm/firefox-69.0b16.tar.bz2";
locale = "rm";
arch = "linux-x86_64";
- sha512 = "d8ded668f3deac087d3b5acabb5801388cd832229ab426be5f37251387b59f95a904f4e39967148eb15b799a28e47b38f3b0a51e98a99c93d0342062e2113bef";
+ sha512 = "0272ede3149ece3f87192f8cdcfd74313fca17fee53c3c86dedfe702c8157257f29931c14168ac11095f0b0def077f267f222919cd7f4b5ce020797c36c3c603";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ro/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ro/firefox-69.0b16.tar.bz2";
locale = "ro";
arch = "linux-x86_64";
- sha512 = "034b00dd1ceaae395264576e2fdec94ad1d732afcff6bf5c7f94afcdc0014f465375672704b8ee6d77611cdb20b7e3d7b46a658f60caea698c167bff9547a7e0";
+ sha512 = "b58e3742fa43d52f737285c60e8b1237fea5158cd096450bb6187ee10471af0a77025fc526805c0ae8ddfceef7b7505dc637c8f72ab4188db31d0ffdf11ba606";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ru/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ru/firefox-69.0b16.tar.bz2";
locale = "ru";
arch = "linux-x86_64";
- sha512 = "25f66d9deb094cc730d929b0fa19c4cab12e72c50f381ec58d0f5791770116d3266190653c5c4af11d88e2c61f39fab62b3dc86c90a4ffec05293b5dbe867bdd";
+ sha512 = "f0086698a2deea24dd1510da377ed9094273a7867a920b0d05c6aa47d4f4c5042519d02c5977747df05a416a4bf94aad0a52a0b03869e693f621959a0f980a26";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/si/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/si/firefox-69.0b16.tar.bz2";
locale = "si";
arch = "linux-x86_64";
- sha512 = "9b5ca67304f8c7280a7ae90cd8a35676d4211ab34ffd510a951e81f40411b37485362997c224441b6074c8f625634ee4f1ff1dd5820564c73ad9f68ca8989a3f";
+ sha512 = "4b0018c753aacadac60961b1e4a793b6a0f36d2f8844ada2515ad8081822cbb869ba23f7a69143af860ad060d86e7ad157a41609c1fff0cf481b45bc55a23c0c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/sk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/sk/firefox-69.0b16.tar.bz2";
locale = "sk";
arch = "linux-x86_64";
- sha512 = "25676759dda907f9ade31c0938419223f6ee4b749d558d8fd370371be42eab18331c492aa35803723b0161246e532c39e6153ce663253692803eb348a9f7ed1a";
+ sha512 = "f19ddd306e48cf04bd70b008fbbd6827045d332839458126ea16393b04e6b76dc8397ade3bc28f5798ef24f27c9dafb578808f3ede8808609c24a8bc20935448";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/sl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/sl/firefox-69.0b16.tar.bz2";
locale = "sl";
arch = "linux-x86_64";
- sha512 = "8ea09e6a7dd3ff6ca2dafb4515fe7e2d06a46e5f1e43119c5aa61fb80b7485119214136d1818df34f2b2bd281fcfbd6cedb1737b5b5b7fdb35ef1f9efec5ec10";
+ sha512 = "104f68ebf03ca5165ad9fd049beee70658156ae80b62e88e2342e845ddaf5603199d3ad66423a08766fac2ea2db07766e66b9e09b9e480af4cfb08e680d5dfae";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/son/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/son/firefox-69.0b16.tar.bz2";
locale = "son";
arch = "linux-x86_64";
- sha512 = "2cab780d3075504808ea06684e7877219817dcae0be2458ee216fef285b04ede560ce6d40f6f8db3a97e915f39a982bc7f59ad7ac039a88ac8bc03e33786ff7a";
+ sha512 = "4ba381efa38f56c60a7c9afd625514c2b93cd89dfbd3e99968b89b8ae57bc8344f5686f6e7c87d8b21136d8f72e4c61af617152d534b749fe0ee731220b60716";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/sq/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/sq/firefox-69.0b16.tar.bz2";
locale = "sq";
arch = "linux-x86_64";
- sha512 = "550a1f32de25da126d4753850cf8cc735c324c94d2027451d194053072c446b3bac4039af6512edb3c953a59fda4f6e748fab793903f19bf960a5ba4f9835acb";
+ sha512 = "8a3a3b1a8a48e8e681ae7765d8a0e9fce8f87f3e12f4af3fa4fce3dac0ef74524d4a14c1f802233362969237f893e02d22fd44d7e032ce2f45e69abf8a18c738";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/sr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/sr/firefox-69.0b16.tar.bz2";
locale = "sr";
arch = "linux-x86_64";
- sha512 = "c6ee03244b37ee44d4e3a66fca407227c534bd7cdd7adb5947258ad25d9e28b4fe4b62e92a8ca2695ec0068483522aece0dad3d86d4ead0f6d78508885e05fc4";
+ sha512 = "6ee469e7a091662d62250f17c7d45810f9db853571185364fd7e9f561dbe6e6582c13c5faad081769a8fd715fcb0230347cf88e642531a1d7e941072a2003990";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/sv-SE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/sv-SE/firefox-69.0b16.tar.bz2";
locale = "sv-SE";
arch = "linux-x86_64";
- sha512 = "c853f3a3a2b90dc1a9bba89d56dda18055a663a233017dbe8d304f10399bdaa3511cb4782c9a3082a931a454611882fb1c7574e925cb261337e2b0e881f6eab0";
+ sha512 = "5ba63456a302baf31a03f129fbbb820a1142a83b41a44829947ecb1878c1b7723035313844b7ac5e950440ba1feac7f14ca1473b1acc75f4899fb2abe259057a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ta/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ta/firefox-69.0b16.tar.bz2";
locale = "ta";
arch = "linux-x86_64";
- sha512 = "1389f7fb148a751914d7d7561171f5988a004555572b3a1533af4e6f814aaafbc4bccacc66577c159df7f62b1e23d47c1ce22502c0909e56529b6347890e7bc1";
+ sha512 = "b9f59f57c74ce57b80268a139bad81014494e9b2fd173be997c5aab61aaccf28f84d0eb1089c3abcf21fb62dff02b1b8e0176e0f4e3adaddbebc5452d9f9a07c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/te/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/te/firefox-69.0b16.tar.bz2";
locale = "te";
arch = "linux-x86_64";
- sha512 = "7d22a8165981960ca325ef12f47e7df350a382b835288063f443584b88bc7f9fbec8d69e8c2237ec37f75f39561f3c441c4abee85368d46880503552920325ce";
+ sha512 = "84130d585c0b0e80007c9c1fec4011c44bd087576d1e351bb899893797d4ee8c9f856dbe4b9f8ad37a2aca98dc46c9eb81aef1cc236947b672f7c6a978f28bf3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/th/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/th/firefox-69.0b16.tar.bz2";
locale = "th";
arch = "linux-x86_64";
- sha512 = "56badba24a1943447580119764ceb9e7c69c0a422be5cfb73a5cface05bb12a93acc75270f91b3e1d85d74f905dccfc468a5be7f34cd98d407e00142aab68b0e";
+ sha512 = "2a731a0294dd73b113983d70e4c5a779fdfd92a855e635655aec5e2316a32c97812dced18c04820c4332ffca63805af816df5e7a180d9c8108eb63f4339d8578";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/tr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/tr/firefox-69.0b16.tar.bz2";
locale = "tr";
arch = "linux-x86_64";
- sha512 = "2fa5cb982d9b29698ce1cc628b1eeb8985a1dd6cc9f27c9a3af1a1dc46219cd00c01d68715c3bfec04f00e20458940d788cac91afa79c2bd902bfe00593bdeb0";
+ sha512 = "5e1f639a0807cb403bab8157b3ccc0806d3704e27d2e682ab56bdbfbfa488b71d454dd983f4c9cd1754cd1173ff6e14f097cd2c8db5cc7075a63b94871dfe94c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/uk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/uk/firefox-69.0b16.tar.bz2";
locale = "uk";
arch = "linux-x86_64";
- sha512 = "d66110d57ea1d346ea93fe5a2dcbcb5eb05de11556759bda99d3f352ee1a753aed199af901b1f26662b0041f7e0ef171bf4842745a6fb86881f949752652af89";
+ sha512 = "33ec6d4c9ecfeaeaf5659b809faaaf60f24382f2c8918eb4bba81231c12f0c8049bbf766fa3a41a8947e6c745932b4e908f158f6a532c473cbea3c6a833e8d29";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/ur/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/ur/firefox-69.0b16.tar.bz2";
locale = "ur";
arch = "linux-x86_64";
- sha512 = "4c6a8483dd3f7292063d02b0c29f7e57b688c55c18570bb4f4cc6e7ce23966a9624f4b592559797524fa82186389c20b15923c3ffc800aeff2a6a813acccbe9a";
+ sha512 = "2b06b2b145593f6c3cb74b16553aff15b8d453b3ddfe6a8ccaf2cbfa0beec3274a2b04b10373c5420dc67062c246d484f099ca3dbf1fa94ce0dd6ab6533dc066";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/uz/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/uz/firefox-69.0b16.tar.bz2";
locale = "uz";
arch = "linux-x86_64";
- sha512 = "6dbe7fe728ddaa6b7484efb5beeee5bfb3bf93f5029228a3c369c4d0a3529c5ac6c35b86d379d70dda89ead017c1c23ab78fc2aff8750edbdb432e3679dd19d4";
+ sha512 = "86b5066b07f8b80dc86873f2f418a4526e386f65711199008538ae192d9af06cfbcca1132cc95007b44a9ae1afb5a76de7a2c4d971b59177e097b4266e075fdc";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/vi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/vi/firefox-69.0b16.tar.bz2";
locale = "vi";
arch = "linux-x86_64";
- sha512 = "0f0f1f30820686b77bbdca4f7b093094cf3c0484b83e37c7e891e357550ba4c9ce6bda40f9bd1b533bd74196a51db562fff1d541c5a98605dbfc6d94f479008e";
+ sha512 = "c474e765f85a145d4fd0c9410305e56fc8f32c6eb9c0ae139aef48e1b35ed4eda941c92d3030266d38738ea559088ba799db1c937a0fbe3867583beb4825a93c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/xh/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/xh/firefox-69.0b16.tar.bz2";
locale = "xh";
arch = "linux-x86_64";
- sha512 = "c630381b05128e2061cde6693a3e3f2cf668046ef2a47c3da4a7b75463a2ace4c38ef76c0b5c8b2487bc8005afa0134648f81afcf63baaa118715e36c6c0882d";
+ sha512 = "2fd1fac92f3bd260949c0851849424fce5ff56989e7c9486ff11702c85514929c49952568ea45d0e2889e806f6ea1556748b475646c90647a92e50716b1250fb";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/zh-CN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/zh-CN/firefox-69.0b16.tar.bz2";
locale = "zh-CN";
arch = "linux-x86_64";
- sha512 = "a8290a1278d8a51c04bf4f48bd8234c7245375fa15041e604fc323702759beea2332723736ff14caddaf682bd17dbd04ee31566f8dfb9a1073918d04b0bbf049";
+ sha512 = "b3d7786d3883a99ca1833905ab971aba5a4ed42fec451bd7d5664c329a4deb495afbf00975a7c9935bff42b42c828d830984d389a6b0b728586dec9017e37fe1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-x86_64/zh-TW/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-x86_64/zh-TW/firefox-69.0b16.tar.bz2";
locale = "zh-TW";
arch = "linux-x86_64";
- sha512 = "e064f158e421739a83469aaadf71ad847ae001e6cedcfd36b98504f09d7d3afa484e00311ebf6dfe7a67f52fec344d51f71f2af6e1e0e5d480d978ccb82710f6";
+ sha512 = "67d506a05c404911c3b937dfef3c696ae6d3739b3113ad288b46b9a995028d48ab7c7dfbfa7a735f453698dc1b58864aed7b718f3b81bf42d3e8114180743692";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ach/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ach/firefox-69.0b16.tar.bz2";
locale = "ach";
arch = "linux-i686";
- sha512 = "271a22cb04ca96858a95da435467517d6f4dd91ba5b88def8deef55c29d50b2c4af6c0f5e7d57b52e129ced1c53b3227d599373f670abb29d91215d63baa6b13";
+ sha512 = "8115dc00b12319c89463a0c97c3117df8109d68372ce91287bc382238d0f0a6d2795d8540bef5ad5c5215f237bc1b23e4e9f11a63ec8aa32b80e0a501c27f534";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/af/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/af/firefox-69.0b16.tar.bz2";
locale = "af";
arch = "linux-i686";
- sha512 = "b78b3b4059577b571186c16f0188df75208cf5fc7fc6a33e3c61319acc50c6873f3b4a02708000dea98a164ba904310be7255ff7a242bda70b8326773ddad724";
+ sha512 = "1bc5809edf99dea1ecbd942e92879139056e1d5bc83512c84fd110b227c37f76997e1f2d00f4471f03cc00cecfe4e3e2e62af858641539c08c4685a6986baaf8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/an/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/an/firefox-69.0b16.tar.bz2";
locale = "an";
arch = "linux-i686";
- sha512 = "ec31aeff559cbf0794eebcb52ec5a325b5c652a64b8778d9627028ebfd663095999b86e7be3dc195ce2f3f4ab6938cfb6e3c35a89912a81fa5d7a1455988629e";
+ sha512 = "7a1abe0ba440d50362ec550da3061df3d2e498f94587591cbed920c7348e2da6f8fbd087bd3fcda2462e18722db0b0c2ec129aee8562670af44ecb333b2a912a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ar/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ar/firefox-69.0b16.tar.bz2";
locale = "ar";
arch = "linux-i686";
- sha512 = "046602d76a6f5d101e92faae3570d8614468e2a2ca2c89f1e4e7caf9e80cacc121e759d20799757535b474b667d72eb4f2a6c7e36e358d0d87a34371d1a94265";
+ sha512 = "89adee7c9ce7e74ef7890f3b8ddabea3d6e06c90db695f3d19af64b7c6602f9d80cc2c2c6d2958ffe4909d734507074f658cf4f04701e5ddfa9a9a9d4062e21c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/as/firefox-67.0b19.tar.bz2";
- locale = "as";
- arch = "linux-i686";
- sha512 = "83e73c16d60d17d1ccb56e0ca5887ee56f4acd2dfe156b6d97c7a5be7872e568f55edc822fb39b89c82161a3259e064429ebc8e41b9b429304cfc5bb0f8a901b";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ast/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ast/firefox-69.0b16.tar.bz2";
locale = "ast";
arch = "linux-i686";
- sha512 = "4a26a368fe393cfcca1284de3fa2be1658b0eb79659d8bc2e002f01698198e750d5c82504893f1f98f44c021c1dadebd5b47711681f0466fcedf53522431e27c";
+ sha512 = "e20bf6a66f67713cb3225b8f8109c4d44943102d2a37571c3489b02d88d5b677d2465e2bd51783e720e5f31b59ad51a1ba7ba0cde723e942059080e840c63253";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/az/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/az/firefox-69.0b16.tar.bz2";
locale = "az";
arch = "linux-i686";
- sha512 = "8db5c25d53c250521a9188a2988b695ae49361e09ecc7f74de9fb1697b4ac5e3cb5eeef9c46c055ce24c5c4bff12f2296106a706125cc921552adf5b2fe6107f";
+ sha512 = "30a25fdb3280a740c11f9b3f53f871fcb294e83377fa1f6cfebdf939a73df583d8806470eb62d3174603a29eba599ea5c6d5dcb4106f4afed18a899dc30c1170";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/be/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/be/firefox-69.0b16.tar.bz2";
locale = "be";
arch = "linux-i686";
- sha512 = "608202a789ea95dce05fbdc1d0f1b8f56e60614d8dcdea3c7513ab5adfb621f20251d7117d5f39ffdf066b52e9ee67b80e1d04ff2155167ea8f2e155852db4d5";
+ sha512 = "485be4d97719bb771e25ec80f84ee94b7ac5741baf4a08a06a02ca54fc915d7c2a54ead25a0abc9d40145cdb7c1a34ccf6a727eab710a29407ab5587f6a0e778";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/bg/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/bg/firefox-69.0b16.tar.bz2";
locale = "bg";
arch = "linux-i686";
- sha512 = "65fd1ef12cb801de951c3c3bc81182d233b1f3d1ff97aeefa7d5ab872b605525df289cc6fbac694b3b5eff0ff4094083619e450dc2553ec690579ed32dc667fd";
+ sha512 = "14b2380a52cfce2dddc48a8c0cd52ed31d01f3c46728aa866e0d05360f9d078aa7f59ca7bcc33d0ca7beb60c81780d5def46e1b05786164a0123d95b80aa100c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/bn-BD/firefox-67.0b19.tar.bz2";
- locale = "bn-BD";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/bn/firefox-69.0b16.tar.bz2";
+ locale = "bn";
arch = "linux-i686";
- sha512 = "6df5ef5621d819a92deac01075a8c664ac505b574724d5d992fd62a9d73ffddf938a716a4c21278252cfa95346fe14774913a3874c94373564ee31c478245802";
+ sha512 = "1ca9adfd64c8194fcb7014cf48a87e171d5fd667515a972259e9bbd5ae436470a64c2c03a7d672c411bb0644bd962e41f60dd5385a5c04aee1ff7a2f5b847eb8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/bn-IN/firefox-67.0b19.tar.bz2";
- locale = "bn-IN";
- arch = "linux-i686";
- sha512 = "dde950d6884b8155e551d2d627614e13816ee4f09aeafab360ca41110b903e03bfedebe09d29030020971b6bba80c5d527771dc8e6043bd2a9335990d3f2da71";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/br/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/br/firefox-69.0b16.tar.bz2";
locale = "br";
arch = "linux-i686";
- sha512 = "d20a97959b98490f432a5f2689bde17c3f999ccf1975a2fdcf0e71491d502f54c29e4c6c18047fa39c91af2fde12131a49121c0086f655dffcff56161f40f580";
+ sha512 = "e80b7a6ea23d381b416af92502b74de117eaf406f139705390b756c604b58fb874eab389da7d4adab4a14925b53dec66b768892a12324f2f57979ddf9b3fdff7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/bs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/bs/firefox-69.0b16.tar.bz2";
locale = "bs";
arch = "linux-i686";
- sha512 = "470a2d45aa2837e8b19ab6919d61bfed48c0832a2b87c06e78781630a5b0aa1d03d21ca85ab6b144fb624003d5da4a22a7318baedf386f9827b11a6caa939238";
+ sha512 = "72b3c206cbf559784bd2adccf3a24f85f840e26b4975b3b0a2796ebd5c1ecb2bb00ccf6c1cfd7fedca191fae33f6abbb71d742e00e74aefb7b4314c91c0bf0a1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ca/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ca/firefox-69.0b16.tar.bz2";
locale = "ca";
arch = "linux-i686";
- sha512 = "bf889704dfc771ee9928cc08d48ae436cb9c97733ec7b59cfd1154df591595fdcad0a6f15ea8e9be716b9853cb6ae5540e176013cc19878844beefafa9940005";
+ sha512 = "450f99474c8f86c5af4bdd210be09a6c05d9638aa9efdcabc8a0d636d7965033f4b885fe6a48d22fd50b6144fe461fb0f5aa7870fecbafa9f1b8cc769465099c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/cak/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/cak/firefox-69.0b16.tar.bz2";
locale = "cak";
arch = "linux-i686";
- sha512 = "118e07bcc7ba57aa745df1e334a87f8883cb76ae37f9e77d255465600f30655f69187182ef6863719ccae4f925bc2e2d240e62fb3d2b992465e94976a8be1a95";
+ sha512 = "dd9396d37038bef1a0dc8b052afce384c83c7aa9ab9992fe6eae879b6721b251bed5c12f7b1599de86658e16829bcee15b411ff8dd40bd8afda29ae5996bb041";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/cs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/cs/firefox-69.0b16.tar.bz2";
locale = "cs";
arch = "linux-i686";
- sha512 = "b263022f277c7b2a35750a96a008df603f6ecf1665940346edc615574693c9f56b513ea4c26e8da4763e93ecb4a594962c8ae25a475f18d9abacc2d3d11ad657";
+ sha512 = "bb722cbf74437cf3ac9f870fcdfdba191334c3f6970e1ab0b4d0da8257e60cce09d65177a4f81dbbf225e73b03a8616aef4289a27f25440e2526d96a501443b1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/cy/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/cy/firefox-69.0b16.tar.bz2";
locale = "cy";
arch = "linux-i686";
- sha512 = "245e370141a599c0c4af1b2d6ed9eb5612f1b9691825ac941be5e17c353850255c99831e234d1b40bed9c9094fa1f42b9fb6f6e21b716d78eaf90de9b8a5b8cf";
+ sha512 = "e6c0f84a810005f2081ef8cd88b94e689caf07c5aa08b4c2f9ca5d5cd071a8e37d1f572c82b262f3e26381a6097c54ab80bfc4a0d09924693937751c7a1d79d8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/da/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/da/firefox-69.0b16.tar.bz2";
locale = "da";
arch = "linux-i686";
- sha512 = "454ebab2a21489dd12a4329689845592cc098da18b691dfa31761cf8abbad7008b4d64efa3f61e67af82b36d240880d5d72208322d380dc68b27172cfa03b76e";
+ sha512 = "d209f91aac27c9cc0a075cb51ed4f9d41aaa74a7407892ec45ab2ce8c09e77a725fa6e8287988cd53b0b681be785c04babe13e19e63c25351cc6cedd84156a24";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/de/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/de/firefox-69.0b16.tar.bz2";
locale = "de";
arch = "linux-i686";
- sha512 = "9f906a6c635da37a791803b418a2fe38f36993704eab43cdd2540593a14a07c998574e425c08a62952649401c9547fe92a842be28c65e2a7ab2b8429d2af8622";
+ sha512 = "64b843eed8012fdb91fb6573e2e7e8900e3d3ce2c476a509e1171746261ddd1c15874d539e416d5c0607b34e19b01d56f2d497e4d09c595d29febdf3461094e9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/dsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/dsb/firefox-69.0b16.tar.bz2";
locale = "dsb";
arch = "linux-i686";
- sha512 = "2e1ddd0b46fb7a2d91998642044a10b17b683ac0a05f61ef7f0f27bf52a273baccfa4eaecaa2aff217ef0c857c02aae7769c85851686afcb74ad599b1014f830";
+ sha512 = "27801c40f75cd6824af2f6e583b99396c07baaa66c1aed6bbd7382fa85b7969ebedb6877dc0a979775ae153c4274dcb970401cf5686bf681b3858009eb8059f9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/el/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/el/firefox-69.0b16.tar.bz2";
locale = "el";
arch = "linux-i686";
- sha512 = "6c9de4b2302239bbc05ffd8d9738b0154abfab423a266ee93aa15cea56e2af3f920b97ea7c95cf0647315476b3764abd4c08937c4ec273b37dba3b6b3f0afa04";
+ sha512 = "7c4452fc29cd4a2c6516445fcca6c470f9f8ee81ffd600dae225eab8857ec43593f85b182b2e252cd04f3a6279a86dbad71ba0c2e0b723cd6d8c4a354b3cc582";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/en-CA/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/en-CA/firefox-69.0b16.tar.bz2";
locale = "en-CA";
arch = "linux-i686";
- sha512 = "9074137c1e0c5af2a3627e0a2805f31b6ff1bdb698a53fd1da962ab8e7888b7fac727a9677f3307e8b9b5e6fdf9736c93ad4c40b73d3f4ff45942711babec0b6";
+ sha512 = "53e7855ab3575799e96569115cf5882233a31e4af1e15009b85593c7fc086e85b7bdf0148694789b816e8a469665f82cb5f1448aa4cdf160a5f8abc97f92253a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/en-GB/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/en-GB/firefox-69.0b16.tar.bz2";
locale = "en-GB";
arch = "linux-i686";
- sha512 = "d1a17fdff00548d05ab173e6d99630f6f20c1fbcca110008c5e4e3b298e2ad44b382cdaa36f6abf86e204e61d54e36b3a02e60853347b1f014d336bdb5e1308f";
+ sha512 = "db512b8a4a6a46021e2a24ce0ead90d8f56b9eff756b9b1a6c8cc1290a96eb51d763d96c0475c7636b9ee9a88adde7f3c81eb9366e3eab3448afc60e2a060108";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/en-US/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/en-US/firefox-69.0b16.tar.bz2";
locale = "en-US";
arch = "linux-i686";
- sha512 = "00a92d18c4e50fa8d48c066a59556406e65def72b8c26394feee0968de1e1a4748f4b94575ed55a2e35d8fe364d2e25915e91295f6ae7338b02616dd3f8eda5f";
+ sha512 = "eb6ed30b684c016b947e3354da57b5886b29524b57f4bff4e071fab5d5ae978b94adf0572e74e9e31e15e493098aaba03344b632d0ff71145f90a8e5c7e367d0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/en-ZA/firefox-67.0b19.tar.bz2";
- locale = "en-ZA";
- arch = "linux-i686";
- sha512 = "da78af0e19a7a7a5785e5b38cc2958b9e67eb671b1e922cb263c536829b15b8f28d80ede618079cefa13c37a000d383f84a1bf7953e2d7e1e8324d3bf91ccbd5";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/eo/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/eo/firefox-69.0b16.tar.bz2";
locale = "eo";
arch = "linux-i686";
- sha512 = "8d6c2d4c11796c7fd0ac56ccdf5afe8c88c41a758912e3690fe904553d10eb7604ce248dbe24210a8a8eda9fd5a36e22a03627830173043f374a2e9a6fa0f645";
+ sha512 = "b2b343ec5448978d9ecefbe1c73c94e8d578d875dffa09fa3739c396c3a09ddef4bebb7bf2f5c12b1bc39fdd3b8e89185c2a514422883d0e8856af854369a501";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/es-AR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/es-AR/firefox-69.0b16.tar.bz2";
locale = "es-AR";
arch = "linux-i686";
- sha512 = "a321ee7dd610d9dd19173cd6616b101bb499fcaed35097dd690a0f18d45fe9afe353cacad5d896d2aa33c1b3bdf6143c452c1dbaa03b84a5a223fb024952b439";
+ sha512 = "fbcc4138161f11c0c61eadfef889a72aa691bc5b9db961a52cda092b638ad5d2313fb5934bcf2dd035f225971bfe1561acab549da61a7aa885191ca2c3112d7e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/es-CL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/es-CL/firefox-69.0b16.tar.bz2";
locale = "es-CL";
arch = "linux-i686";
- sha512 = "0c4a4f2de3b2889a9d506d4b31d7fdc4e3192dda6aa4822bb2a0fc6dc3cf89c8f394e08b53b58d634bbe233b5918466c2ffc9e57ee7541c25c17ef54122db002";
+ sha512 = "ff8908b2c09877a2c7cbb0842e826c51069234656efc9b7964c2432e3d61154596cd63864a3a6b331fec68ece3118e5cacf9014389806dff8897933d584c537a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/es-ES/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/es-ES/firefox-69.0b16.tar.bz2";
locale = "es-ES";
arch = "linux-i686";
- sha512 = "6185cc8ec39fef52c3bf8fac4cd3c7c187ee2f0bf20d65bbb3f4b2dc8160b93f2a25bf83136e503dfe4f4065454fa9b6768b9c3593b86d2f918016614a02b4fa";
+ sha512 = "1546d5d67b1b4c778d137b35189470c1aec01e617c2ea8b52bbd58c636b5e2a262db5a8f02bcfaa45ad1fef499d9c9e135eade38f3daaeab6c456e52458927e7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/es-MX/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/es-MX/firefox-69.0b16.tar.bz2";
locale = "es-MX";
arch = "linux-i686";
- sha512 = "29e5a9b9255c55e117f2b339598c3ce15a3b427bf6ec48718bebf4ed193c4f8a34211c09b9ee7844dab2c99b88c12dc50b8616503740f92233fc98f1939d84e8";
+ sha512 = "da8809ae2d281547be55b0d3db4c779758ecd5c2b8204f54f732708816fa1d653f593e9e0bb24136213f3d1e94dee6394e47326b74be2401ba59732ff4f8dff9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/et/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/et/firefox-69.0b16.tar.bz2";
locale = "et";
arch = "linux-i686";
- sha512 = "7f144aac2c68cb72091f02098768dd71f524d19060eea709a66d72272b27c4b4ebd56a072cac756af5d1390a3076fa508a53de84ab1a190a77e64ffd6ac6ff03";
+ sha512 = "7d9cdace25276f868e853d7b964d1fcd18b7109d4072db49984d5d00628c9910c99cf494304fc962245f8d551ca9f95a603dbb1cc48f655b724353e869237218";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/eu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/eu/firefox-69.0b16.tar.bz2";
locale = "eu";
arch = "linux-i686";
- sha512 = "c7407d212b3d1ff7418177a75c603c178df0301b9e6f16c2fe4d4c46917588adbcbee3f8a20cc13824e1ee0afe67e8458c094c37e678a5502361753329d7180d";
+ sha512 = "e3f8db0d5be3fbec65d27c3cd4f2272fc5dec401ca19a0fd5bcb7b48a196e81752d2b1c6b72bc94b3294ee09eed58b765790663185973ab34fb7816c38570ce5";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/fa/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/fa/firefox-69.0b16.tar.bz2";
locale = "fa";
arch = "linux-i686";
- sha512 = "848d5b90bc56a40b6aa882975de57691fa665eec67b9c7bbeb11b1cf343e9c693a17d6c50c196cd2fb867f258512f427d74a68a946b27295339227ce5649495c";
+ sha512 = "5be17588077f86e6766e1c257b73e8b81b2213f3f9079c01539578a6480fd07a90d4129af77f81418b4dca8278c44bdf997b3e0686ed1c2e8e4a5269644d21ec";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ff/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ff/firefox-69.0b16.tar.bz2";
locale = "ff";
arch = "linux-i686";
- sha512 = "e9f66b81fadc716ac742aa81676d25d1de71e8796e11c8d459f9c49ca49b556223d5991dda8e5252dd6b5136e3afc7337fb9be07ffcf7a30891f61528c230948";
+ sha512 = "57f543f448b8a4abc99201eeae76b0574841a5c7815d7303844b5cdcb4a5668fa03483d9a2953f9a56bbe175f8f82e94b4aa58d77174e5ca26c8755c25cc6c63";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/fi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/fi/firefox-69.0b16.tar.bz2";
locale = "fi";
arch = "linux-i686";
- sha512 = "67651c2029648c761027d2155293275258c2a81176708671b35be49a3879444c1289186cb2e13c505c9aa4371f009dfdf0c367bdaf82d99540f7541a451f05f1";
+ sha512 = "bfb0d7c4a4e4d0633879f79d8ad5a406e7e3d57f80ab1f1eed671ef85ff7065afa826769b868c90b8e90b87dc012016b419eb0a57de344ce51f49bbf61094931";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/fr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/fr/firefox-69.0b16.tar.bz2";
locale = "fr";
arch = "linux-i686";
- sha512 = "a8943228def1900fee1baeb8434205046ceddf22699e99290e77d40d3e0f21a45b278a9cbc9fa3a7d02fc9a9ca6762f148ce3960acd656f4f6680cd76c8fe9ad";
+ sha512 = "b944d8473f8c7a859b738d78140fc6b840ae7798a3a0e8c237bd81f411f87129528ddf68f33da6578547fa768fa1465625dbc4a94f265491722bd4f23a614ce7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/fy-NL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/fy-NL/firefox-69.0b16.tar.bz2";
locale = "fy-NL";
arch = "linux-i686";
- sha512 = "8d4208e45fb408dc948f4200d78066b1dcf43baaf990eb9a8ca6e628bc068fad715c989b2bfa607c3ab63186b0c4400b551393a6ab89d8713fc4ed1c4946499e";
+ sha512 = "445018db73c97ffa87377bc78162cbe2f31dae2ffbf47ec9e0bb42001e5a15787fadf4ce2d4027693eaca4edbfcee72a7e3874594d3409384df62c91b118d388";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ga-IE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ga-IE/firefox-69.0b16.tar.bz2";
locale = "ga-IE";
arch = "linux-i686";
- sha512 = "4fbf13a8dfbdde64c75feb1120e5b6f5f684cac77fc1b157151c11d51570e338409ac98f528fa2c40f7b855bb41e549c3d83f38212cefcfd107b8367b94945db";
+ sha512 = "2a6b8f3ecfacea21415daa0dfc8e3797b5c3567e7e7bb9ec933525d2a2e9e51dfd94fa81477878e2bca68f8127e32e387f43ac8ceb0c02622813baa5b17fcf08";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/gd/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/gd/firefox-69.0b16.tar.bz2";
locale = "gd";
arch = "linux-i686";
- sha512 = "3a2fb18eb6ec63a4dfa4403865f3b5e67c0e82916cb2662f7c1ab69c4158770fdf4100763b65ea452d5dbbbedf84a559173e9cfc521099cec25e0828c3511387";
+ sha512 = "474d524fdab0d83bad98e0f05348d8db0f49c11f2e50e7b5221137359e268e37e662440961bb206cb2ee44aee9d07b4565bb8b27a696ae0df89ceff76309820b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/gl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/gl/firefox-69.0b16.tar.bz2";
locale = "gl";
arch = "linux-i686";
- sha512 = "99783449e169d18056cec7e8ce94c1101bfa21418c9dd4f395c3f17c644b5b7fc5314c2ccd99e4c4f2aaa769b1923884179d33e44e16601649ded26cb4ba4df7";
+ sha512 = "ba2dfaa33b47ce1106496783bde98b1ff7cdb0171262feb8890a6ada29a67c34165b8b7ab58aabb89029d0571a6ff8cc83b14c310270e0e7a725ffb9fd7dccc9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/gn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/gn/firefox-69.0b16.tar.bz2";
locale = "gn";
arch = "linux-i686";
- sha512 = "82d626303ff7197a0c5f3f64d58263ab131003048f9e0336e0ac12097d802543b70c6cd3a68ef4b263f49c6f1f581c6738ee41476c5b6fe2f46851587022af18";
+ sha512 = "e5f5bf7d20eccc3d860ae2b8c6aed372944f23ed6d7a41774141cf1d67ab40c8bb2cf7e8e5931d37b9951668f03c6ab1271bb57ca7ead9aac52045244fbce93e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/gu-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/gu-IN/firefox-69.0b16.tar.bz2";
locale = "gu-IN";
arch = "linux-i686";
- sha512 = "3584620f077dd6bd063fb9cf70d54bd46917c0e6409925cf5c028203033481c23e2cd81f0a435309213f7b9368039eb98590ec5fa3087a26ba54d9f6bd7645b1";
+ sha512 = "9ca06aafebb4ae5a65af94c7fd4dc30bb0fb37d6f50a8a8d0b5d3a92cdbfb7a6a5fc609f5f9d93c47cbfd811198e19ab554d47cb7a03db5a9848135660b17f43";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/he/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/he/firefox-69.0b16.tar.bz2";
locale = "he";
arch = "linux-i686";
- sha512 = "6c5b10ce4c4345c6cc4e831c64ead828a3231de9e9306b9bd85376d66259f09c8f965cdd4a88dbc01a71e48a4aba8bfbea95a48343cbd8caae3ccec142177f71";
+ sha512 = "ff9331af69d497b9886b7fbfe3954c0149e170973c96d0bd23252e0d9f97964f88f60e8258785337c8143a5abddfaa4da5d1222b27c42e38686ec44c738521a3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/hi-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/hi-IN/firefox-69.0b16.tar.bz2";
locale = "hi-IN";
arch = "linux-i686";
- sha512 = "0deb1d107cca4b0bec7e37b6a1d0e80fb8fca8e92dca558e66f99ceb9ab8cb65c72a28c4f614213ab8a3a84288ae5dca606fe0993ea321ece72f5bd1b1613990";
+ sha512 = "d50d6887657b6dd61db4d53c0008e42850000d56a56b53532900cd6384c64d029a7a276386a5b46aa74b05c5597a4782f586b27cb01d34058c124c5bb58faec9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/hr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/hr/firefox-69.0b16.tar.bz2";
locale = "hr";
arch = "linux-i686";
- sha512 = "1be2bb454b6d8316a3a80086d512e5a8f75fb30c52384914e70e78cd886999217883fa3d83dc184faad1842fc141c19c79ca6b73a66d57817526f55d2453043d";
+ sha512 = "d5c5a069cc845544cdc905c9ed3083329b75e367c99accf1986a799a6f69f081565ed0c9e5bfcc6ea9e5c4b606262e60a62be6d4271267094c5aa701f090cdfe";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/hsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/hsb/firefox-69.0b16.tar.bz2";
locale = "hsb";
arch = "linux-i686";
- sha512 = "ff9e7a2e0b106971aa769d508ef1b5835860e633f6ea01304274c6300873fb8b6038e94818ba7ab0f5014a6ca31fa9642f7b03f276f6d7e85ef9d2df5f87e2d2";
+ sha512 = "9b2b8198bfad4f9f1bd5808c2d696abb1473230afa20e42e216c6616821a98cdb6bea6b92efdc8280892e04a0c1b6a967adb9c69fdee9f9c1bfb4f6fd4d17da4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/hu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/hu/firefox-69.0b16.tar.bz2";
locale = "hu";
arch = "linux-i686";
- sha512 = "50f75ca5877d2ddf03b4f73c82802fa159485456867d93b72434d8f7a706a6e5e728775df1a251aa535ce8b24657ac703d8f543f688ebe84b8a9461dc2486c0b";
+ sha512 = "bb189556077d8490596acf9433146923ac6a68e26d804fd6946a0af1b247342f5140693d777b9dcda41972ad2ca6773b362381ffb9fecb58826c0353511065e2";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/hy-AM/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/hy-AM/firefox-69.0b16.tar.bz2";
locale = "hy-AM";
arch = "linux-i686";
- sha512 = "4b768e33d3886c2ea63f1e922d76c8529398e191b746b32fc7709c17b33384d74d2107914ae13b7d0a7a3faf8d9a5f46bca1b81083b4cd380168d233adee6341";
+ sha512 = "a295c182fb7bb80d21e551156e8e1d77327311274e22eca16f4640e833a4db21597e3e4b5f64e2d39dc40bca387497ea78e2fa198b760062a33b1cae86c6405a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ia/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ia/firefox-69.0b16.tar.bz2";
locale = "ia";
arch = "linux-i686";
- sha512 = "caae0378d08e36e5973605dbb4f6ee126b70706b3b2fa43b2d12805591f66204aed8cc8c183fa7966f17cda0ae1b5c978be95c5fa8d319cfbffeeaa7121971f9";
+ sha512 = "9a5f01f6164751f0ed8cd34e9d792fa889a5a7ea9eefcc3e8afba20ed419da984db0983126122c8cc7770f0b34bdf1c39695632f737aa83281b01f8f713b43df";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/id/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/id/firefox-69.0b16.tar.bz2";
locale = "id";
arch = "linux-i686";
- sha512 = "5aef71014347a6c28493b2cce5592b8c720b458bc5ba6ef183bb6c4f42653d3a9354f6f1f694892db8985279d93b3957e32bdc3f18a25a8797524a539acedeb2";
+ sha512 = "3073f0b719b1b4d71eb07b9f1a62f51176377579cdd8cdb1c8ec0876fc820289db29cb13f049058d0efcb955c15a3c377c4496c458b4b3fe438dcbdaa9d6fc07";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/is/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/is/firefox-69.0b16.tar.bz2";
locale = "is";
arch = "linux-i686";
- sha512 = "0eb2ec000c0c3627362060caaa33b5f067ab6ed534bffc0f0deb96b9a324c9e6a53447bb1e59743dd7ec6cd5218ceb92f936c1e5db009c1209847b7ddea38b0c";
+ sha512 = "15a8593945e4cafbbd4a1b274c652fb121cdbf567031f6919e84767df65eb4f4e42d411b4799b8e5299d6215dd3f1cfef5104c9197c1ff1feb68f89e0bcfa2b2";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/it/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/it/firefox-69.0b16.tar.bz2";
locale = "it";
arch = "linux-i686";
- sha512 = "c8a145b36c217b230a075f30f2d94f50091937ff07c987ec128110d591c59c2fc5d5516bac340f2be43c520d3fb64b80a555796535b16843abeb5d61de236197";
+ sha512 = "55c688602fb41d39cf4e33f96b57ff98d466623ca80281564ea6a4384b1985d29436f7288f56e969151d9873cece10422abf753b262b5ac6e283731397e53e91";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ja/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ja/firefox-69.0b16.tar.bz2";
locale = "ja";
arch = "linux-i686";
- sha512 = "8487ac967f4f09c37a03456013aa1d53e3a1011382b3e18ddeeb185c4239c02a7e64d7f7179de787032e9a97bc7d0ffe1ecbeb9f76185be275118deb6056141d";
+ sha512 = "f350eca93c6110e8a258802be4ff1cb8b07e819f2fe3b24e912f296c4e18cafed279ad5ad8eb093f3bd7945b0c9cf5466d673e5b4ae342a3b2d0e418e5e6c86c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ka/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ka/firefox-69.0b16.tar.bz2";
locale = "ka";
arch = "linux-i686";
- sha512 = "4e9bb5e5aa4caa8e8d5c12cd83049b101fc37b22ed1058b19670ca49f8760f15be2b15c3bc606dd5d0e30ad7cf8d7a6108e1a8fab613f3a338f5589defa03714";
+ sha512 = "ce392f476b5eb00620c2170cda585e4cf73416a5d564446e65e39e0deea538825f3d91e91e5624c353b163983efd0bf844baa9a52e3e308d9e232d83f9167d0a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/kab/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/kab/firefox-69.0b16.tar.bz2";
locale = "kab";
arch = "linux-i686";
- sha512 = "e680aa334d2dbc9dbfd28a69029c175c2a7b046a61cebbc8c06258c465e0220eea4eb55c587b3c9735b0fb4c1744bd6347c222fb4e5502247f1daa6660eef835";
+ sha512 = "ffab6510cd2b68b0b4b57ae1ec727e391a0330cf44c9c1f9fb8bd1385c8dc86f1de5dcc5712b0f0dfa5e25920eadd6561501579ee5d15ade22fce747ba88b988";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/kk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/kk/firefox-69.0b16.tar.bz2";
locale = "kk";
arch = "linux-i686";
- sha512 = "35618733fd9e5d8c330b3e9a2117ac37ab802dc4ee1a3386e03d3b359d2fa60bd6dd5fcf676946d455991b2b52ea2ec8664a0056d8ac34550bc88325d8f6f112";
+ sha512 = "f9aa18138713b9b704c8d0d3fd8a5d2c5f802d3b23b7ad89d7f18eb885b9efeee53b94117bf7492a4fe83be19b5052d5ec6fd8f203d96f7988e5cb1eb524f496";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/km/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/km/firefox-69.0b16.tar.bz2";
locale = "km";
arch = "linux-i686";
- sha512 = "c2c6dbd6bbe31b1ec4c89a569554e91d07d125464f621a68f20ac365e5eca3ca303d646279f984cd23df8f4942b3925deab875b66dfc10308cdb72178adad9d0";
+ sha512 = "1f0a4ba8942210a0ffbee2ec09f79d628638f58e26bc83d175d0b95ccb43636c976fba556720b39b42c37ac2fe67bd52c28f0a2f672706d967d09a26c3e446f0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/kn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/kn/firefox-69.0b16.tar.bz2";
locale = "kn";
arch = "linux-i686";
- sha512 = "642c4177f958191344d408caec1e98334c399ebc6fade05c8bdc23e1c3e3d28868bface838e5d561610b3344f23bb406c530b178d72f20fc8931267486364688";
+ sha512 = "c23fc4fc298f88f4aee69680156d95fc98fc311630586d5a2a964c8fb74f2b56483e0b4267b90b1a3f37815ecb379e6583e7c801e57a94236d35e0e68f68bcda";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ko/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ko/firefox-69.0b16.tar.bz2";
locale = "ko";
arch = "linux-i686";
- sha512 = "3452fa50bc137f3589a6d310764bb970abe1b89f22426dac286fa136335ef9db490cf31a07bade071b70a32f38a2a648e7ef33969d2c01e96bbe6b8418c14eaa";
+ sha512 = "4dc91ea327d7c69b68bb065eae6ef812ca01c32dcc22048867e43130b15a15edeac505bbf859d96185f90fb3958c74fb0c3e8bbb58c4a0d7856837f864163d7a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/lij/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/lij/firefox-69.0b16.tar.bz2";
locale = "lij";
arch = "linux-i686";
- sha512 = "17a14ddf9892b66172ddb8e234c816819dc8245d8ce6d30b323665682b873c3f416fc55fef1479ad7e0451cd38c3b541a72cb19eed2c0492a55638e9ac5d4d82";
+ sha512 = "3588c1b35428dde09cc0262d3730407ed4bcf821b28556f7b05fb60250eac006e12ef8a929327a80429bab195632f9f40771467e572dd6821c646338d3c7d862";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/lt/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/lt/firefox-69.0b16.tar.bz2";
locale = "lt";
arch = "linux-i686";
- sha512 = "6bee86baf4eb30f1fc6bbbb10e0c1cd21ddb4a669d1d831d482c80992bb2da546f7452bc512682113f32b9def605f96fbe6c0957141c852cd7f1a910e49ae42d";
+ sha512 = "972bfbd93200dc87a6f9cb246b30f301c8db216dc9067bf40f42cbd73ee5795cbb276ade5ba44a6e3df2239d481ea305f4499fe88f42a0f7d0071f84dc2fc9f9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/lv/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/lv/firefox-69.0b16.tar.bz2";
locale = "lv";
arch = "linux-i686";
- sha512 = "64c0dcf94618036e2c0150844bbfd510a31c1cfd179889b85ca1ce942fcd556bda11cf72efbb6f24fa3e0d7e295c11e0cf164cba9d0bb5adb7cb65068c47b3a7";
+ sha512 = "c7a0a65c0649059cf35b394b033b965b3d708531f6a8414d5fead08f2b5e5fd907c903c23e22e9bf5cdc78255e0215dfe34ce45ee96fc619fbca87fe086ed32b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/mai/firefox-67.0b19.tar.bz2";
- locale = "mai";
- arch = "linux-i686";
- sha512 = "dc4ec60fbc00336186a2357be9e650917130bac11ff9df1ed73af13175461da809934ee4a4612e492e8cc8394e735724b81f3bcf109a4fc1fbbf3b223598e410";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/mk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/mk/firefox-69.0b16.tar.bz2";
locale = "mk";
arch = "linux-i686";
- sha512 = "8c62b755509f18f33ec7731857438423447dd9f007aa5f5ba6bad5cffc58cda7735b3d1639c6df00508c2779884f3f0686628446d3f4b10e7969f54fb76d9fec";
+ sha512 = "677e6238580a561fa86dbe1ba8d293aec4d51ee96adea11871e169e1d6ed0c1de29a6a44c374c87aaf93b00178719f142b44821d3f2f866cd43308f7ddc95784";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ml/firefox-67.0b19.tar.bz2";
- locale = "ml";
- arch = "linux-i686";
- sha512 = "7e48d922c9755e8fe862338d84b074b9931a7a35a105f533a480462fcc7280788bba228a4fb8cf75460ec5a61eaabc933e22da04828e61ceb1e1b0c90c3412cd";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/mr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/mr/firefox-69.0b16.tar.bz2";
locale = "mr";
arch = "linux-i686";
- sha512 = "452f4ba95e03507645b0ea472c7987fd14cf0a5d33a9f52d7c460b3b76f1e58144baa53eea78d646e79cdc2e1db31ffadf686bacb7c1f4a015a8cb191cbd8ae2";
+ sha512 = "1457c464363505e787367bad9b90e6396da7e5d0840618cbd02c1996985fc42af4279ad9f53b6f0014c9f0296f1912ca5bf7832794048e69cf5a7d5b89ffe811";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ms/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ms/firefox-69.0b16.tar.bz2";
locale = "ms";
arch = "linux-i686";
- sha512 = "b87c136c5f4e7ccac6a0fa3e872720c0eb13b58b79062937f7674ea51dbb004e26467d3d4fe156590016dc52be4d3e01d538f157904c5ad519ae2e3a3ffdbf89";
+ sha512 = "54d0c0a9a17534891267a3dd89682a1ca24dfa42e13c0a68ca67ac800c210f77a1b504d2ea0e16293df31ac716dac2e646fddd6eb4a5996e6cfc9fb578391cf2";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/my/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/my/firefox-69.0b16.tar.bz2";
locale = "my";
arch = "linux-i686";
- sha512 = "2cef4dc9d62471cea29c53b4caa85efb211b429d078ede6477d6d98fd2a3d66707a76f1f2521591483a6aeb95f5f9c394f0079bd3668d80e702cebb0b6633165";
+ sha512 = "21a851362356c568d93a24e7038ff30c376d712d0ba52d9eb51ad325d43e6a36f3565b48385b54bd90f846d03b626e96e002264d10741005403ab6d30364feb1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/nb-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/nb-NO/firefox-69.0b16.tar.bz2";
locale = "nb-NO";
arch = "linux-i686";
- sha512 = "1086de072f1b5c4a57e5235040237cc291e026ce0d553236ee7cc72e5c5f99b2e9183d5971a8d407a469dbc33a21960d33a6af7aa6dcad72fd748c7ea3185faa";
+ sha512 = "d625f65dfe643608689b2d7858f06b3e1b06636249be516a76798bfa728827592a543e5e61279c7b8a5e8a0c07a17510232bccc98fa8fdac3f98806b94582db3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ne-NP/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ne-NP/firefox-69.0b16.tar.bz2";
locale = "ne-NP";
arch = "linux-i686";
- sha512 = "e62081f7eb6a5c66e55555cc9eea2457759c4644522ec8e2a0303d9e45c2777b82262021dc4c21a65c5f65ebe09e2dd34d62fb8e2bccee2729c0bac7028c388a";
+ sha512 = "5d85049a3d8f11b164d091cd7925d456e54db63fb93883e42306b1bde48c502e3ffab120c4f9d05de688086ab94470d4eed827f24689cb1872cdaeca6bef7233";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/nl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/nl/firefox-69.0b16.tar.bz2";
locale = "nl";
arch = "linux-i686";
- sha512 = "a5935a6a66a753403d4ec1b730f94eb1ec13d4813b264758de5c44d6a0fe265bfad7986266814a7eed6f7a4b6787eccfbdcd71610bd7aa2222073274559a8c67";
+ sha512 = "9716bbc5c5faa1ae284b7182f0473823d265993dc43c4ee59d6c6c17ada6cf7d898dda64cc7647ff65f46984aaf1658a5a3e2c50361d5a731ba6b82844d7b432";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/nn-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/nn-NO/firefox-69.0b16.tar.bz2";
locale = "nn-NO";
arch = "linux-i686";
- sha512 = "b79ba80b5003e54ee3cf417df07e76c02112f7aed1b0753d953caaf7901c7c3a957447c04d7475f285de4c39b05be721a03035f66401603ee5eefefe37808f3d";
+ sha512 = "f227cb22ea4d15bdd4b20f2096f70d985cb3d9e174e464462c718a0bc6f533bc0c5bb098dacdb1a8ecc6fb07acd22f5dcd365e266208f75423677eb2bdf4ad65";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/oc/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/oc/firefox-69.0b16.tar.bz2";
locale = "oc";
arch = "linux-i686";
- sha512 = "09b331ee720958b41031a27389cd8704d2b44c81613b82f1c58625bc4fda9eeef1a64781832fc641e5f79ecc69b656bc612dbd1341c479f6a64bcd068e3e641f";
+ sha512 = "0e116e00a58d1086093e321a188c2c060f9dce3374cb7152d753064e170eca302c0698cda110ed12a4e41b669c242e3865165bfafc4463d1ce583d0854e16075";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/or/firefox-67.0b19.tar.bz2";
- locale = "or";
- arch = "linux-i686";
- sha512 = "fd0cb812d1fb81b70c83cd923fe4b92b48d166e799ec1fbace03a0a75358b75b673b5d66deb21eaffa987ec469ba0fcc7b8c945aeeff9d9784fb7697faacbea6";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/pa-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/pa-IN/firefox-69.0b16.tar.bz2";
locale = "pa-IN";
arch = "linux-i686";
- sha512 = "afea185808ee794b1abaf8c90f90eb5d86f590ed4e90e20790f5cf917f7702292b076cd5017a0dd9095fa2e4a87479a27193e80b047020e77fbbad1dbd2769a0";
+ sha512 = "9966030d3fdb5da3e2f943078294615d64fb019ca67e8fb335693580bd100f6f10ad760b50f7d26c68098a3080e87359dcb1c22ab657c43c23fc2cef3738eb26";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/pl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/pl/firefox-69.0b16.tar.bz2";
locale = "pl";
arch = "linux-i686";
- sha512 = "3a4ba58b7824409b3a8b2630004e3527287f070e0f857408131806916bc15c3aba8d258ea750cdd50ce4d96bba4c312186da9f619682405d4e002fa63c84bd2c";
+ sha512 = "ffb5a5cffab404ca1685f925580c47eba975d7a26af1ef31f05cf8f1e0ea72d130042f9b11e69427a2ab8b86fe47e279040af95a18869bad0465869c43a988bc";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/pt-BR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/pt-BR/firefox-69.0b16.tar.bz2";
locale = "pt-BR";
arch = "linux-i686";
- sha512 = "00db0624f796877ff4f526ace01adc152bba631b95d7a050d7306ec6aa69fdc271d9b6a66cc54ff3336790ceb27cbd4667539e03379a097d44ea68b2ca737a6c";
+ sha512 = "14956079e61152b99696ab29a92b57a3671519c4f58111999587ab796dd8e7d6805828e8d14a59bad28218c136f282ef052e56daf024ca3923ead95d7eab0af9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/pt-PT/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/pt-PT/firefox-69.0b16.tar.bz2";
locale = "pt-PT";
arch = "linux-i686";
- sha512 = "8468856aa469076b8f325cc1e6cc56027bee6f9f6e66cf5c443396da2e88fc7858332f0c2cddb7ed5ac62830f2e2760ee9181ff5ea74143574262b5db98992ac";
+ sha512 = "cd5fef4336203fdfbd8af89a3cc17a01e88ddd4fd670c3b778b1fe228325dd35fc64ea6d0c85681cc1bbb51c588b53972c85746d9ac0c860b3143ec93a344361";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/rm/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/rm/firefox-69.0b16.tar.bz2";
locale = "rm";
arch = "linux-i686";
- sha512 = "50a761b26bc0cd27dbcc3df8e17b389232628dae30f6fc4c16982a54a59a2b4a0db20bbd018744cb97dc5e13e6eec1835164df7c1256de0d5cbffccc5bddafb8";
+ sha512 = "33d608066859460da6a50012fad5a76eb78bc4a3f8565dac1753b80b86755432340c6e9b5e13c319c24d89547fd32567ad99853ef7f954aebda9b15e2eddd064";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ro/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ro/firefox-69.0b16.tar.bz2";
locale = "ro";
arch = "linux-i686";
- sha512 = "81449f647230eac6cc8ed68f16e2d6254347dc98e142df5c50a6e24aa40a09ee1de8a09d7a218e2054a604b32e68c341d71e2320cf409552f1f33a6e16afc6ac";
+ sha512 = "18bb7599738aff68f75dac1a6cd87e6a3a4a326ab64e9bf36f28d3e4890340c07e93b938d77ee4432548c5880b79862d9c472e283f638aa9e2d977ba8f54f686";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ru/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ru/firefox-69.0b16.tar.bz2";
locale = "ru";
arch = "linux-i686";
- sha512 = "ef71110f18cfd6cee4b8e03c49fc1eb8ac069342eebd099c86943e173bfb0d7450f776b843ad19054af197b57ee3d9d2d3e2e03c7af6221ad219edf8765cbed3";
+ sha512 = "c1a0c7b717740167f9906a2bec1d81dca2754c7a10f2139bee269bcad6b9d563f5ddd25d05bcc7a0621b910366853aa43663bc6d711fc1fc3b53e407dcbf9805";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/si/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/si/firefox-69.0b16.tar.bz2";
locale = "si";
arch = "linux-i686";
- sha512 = "7091000c8eb946d8feff6ce27ebeebb5022e81b4455b4dae9e00f291f94d4d8f43a08374efe1ccac4bf1e76438a4df7d48a2b847a9ba594f2836950c827409e1";
+ sha512 = "e807ae18343102df9030189f6e067062421a64f1fbfa9dd0d9e5590e727c049ae849dff2fb581a2f4de892fed21144a792535df188dd08c190c24dd1a58dfbe1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/sk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/sk/firefox-69.0b16.tar.bz2";
locale = "sk";
arch = "linux-i686";
- sha512 = "bbe0c19edf2abc3ad8b0f9b495e7243e5690f5227ec616376af007f68da46081c5caa155467d61d77aaed13301f079716a0c6bea622649bfb00e768bf19b358c";
+ sha512 = "35f1206c717f5475f4af6ac74bab0b691b21789457496c1226d6ace5d4d0f8f88e2c3467c6a01eae49c013b972e07f12b577be6543219b1a274340639799b2a9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/sl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/sl/firefox-69.0b16.tar.bz2";
locale = "sl";
arch = "linux-i686";
- sha512 = "7f384d56c5db35a7f0426ce2dcd148793a38efc33db8d7decc51344ea69233fa27e2cc14c89262e62d0eef7e7c8b8e4260dd9e776c430bb99631d74024ce660b";
+ sha512 = "d665b46a8e6569e8e0e41411e647d3a27b172cbde22e3d9157a5610dfe559d6648adcd65418c45256d8fb9f56022ebf8d3eabadd9b8414f32565c421bd74e371";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/son/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/son/firefox-69.0b16.tar.bz2";
locale = "son";
arch = "linux-i686";
- sha512 = "51e9a814f4069f27bbd6f2aeef696d7f9d79437282c0537c7f0a65ec5bf6a78455c12f09df132ed163b9a8eaa3e75ada4294a1984d87f0b1ec504b5281855682";
+ sha512 = "e0b22c18364e4394cf982f2cac370bff79c5440a949d5e69ef753bdcab05688b591f3d54e2721507c502f05a094436fcb219c8fa4be33462ffc7fd5090506944";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/sq/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/sq/firefox-69.0b16.tar.bz2";
locale = "sq";
arch = "linux-i686";
- sha512 = "bd4fe0889b6e682c6ddad77b194757be67ab392303281f8658600ee35935a4137dffa43624776761c63ba624d3618ac5244d4807e9bc153afaf8cb658de0759b";
+ sha512 = "75050296533af930bc1fa4602246b9d6db0aa48d1fce9a53212fc11041a331236fa88f70d8179c9961f09810d06df297d9dcfce791357e8c7db956c160019f67";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/sr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/sr/firefox-69.0b16.tar.bz2";
locale = "sr";
arch = "linux-i686";
- sha512 = "4cd11d22d97037719719ccdb055984be0ce1474def23488f4efb3ebb7a68797cf51db88bba38b5958846ea428a60d33b8fbbcbba7d4882ff77a203d5700af187";
+ sha512 = "ceb21bac8b36872c7ec47053846e20376884678e7017632164026f0b6a8cc56416cfc4c693229964e287381739d5018836da20f8e5d636aa9607c80567a0c36a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/sv-SE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/sv-SE/firefox-69.0b16.tar.bz2";
locale = "sv-SE";
arch = "linux-i686";
- sha512 = "8d5b90a6fdcf38deeeceb09106b009cf5798eb3fa5a91c17c3a4ecfb567b8a2b474a3eaa659bedfe698b2ca465d430656f538a0a9efb2d74cad0937d4263f291";
+ sha512 = "a92b5d28645dd601dd5f8d4892d210bdc284ca5ef6023f3e6660d6519fd8fdf1212e757f31048522009021f00716a1faa3da6e818b3f39ac4b96d68564aabe8a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ta/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ta/firefox-69.0b16.tar.bz2";
locale = "ta";
arch = "linux-i686";
- sha512 = "974f65909f3a974b3e66fd61e6bcb69d9d8dbc67b0a8f99ff8d40774abd784b1d90620c7959af5b26a9052c17c81b605a3deb7087fe8b467d122475fbf5a6884";
+ sha512 = "4935baa87058d2c2f87bc4e320d7fb1329c2380c93a72834783d5884e3e374a5b9f80b66fe1824b9d7003ba41b2f10648d8d257c34f71314de0ae9959233637e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/te/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/te/firefox-69.0b16.tar.bz2";
locale = "te";
arch = "linux-i686";
- sha512 = "6538213f98590ed8d5209a933f036cf7873929f45fef70f983e5e2879e7ed9dc51042539a8912f80879ae7563865f57a8a039a9c5e3fce985206d96cd6edecba";
+ sha512 = "5aef655c7d736d5c4cb91a6ba7c0fff7c9adee6dfd96b57f5c1f968d258fd7707a1b1ef0fabc049f2902085afd55455d016d9a786e94ef836e6a6379f33bb577";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/th/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/th/firefox-69.0b16.tar.bz2";
locale = "th";
arch = "linux-i686";
- sha512 = "15281399f09e3e5032b29b654009c5fa7b39edd115b9fa6dc87650f6788dd6d4ded5a19d391aea0e082641b4890106d50fef5016a39d3c98114983f2c2b931f9";
+ sha512 = "1bec6b20ae731e982a4be6aac81bbfad2d27add2fc1339401807fb41af36a27391499677355f0737a9230466e27f34bd5e97f4b3697decd56ffe854b932900a5";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/tr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/tr/firefox-69.0b16.tar.bz2";
locale = "tr";
arch = "linux-i686";
- sha512 = "89f43e8995201bc9418af32bac238d03b43d29d0a4962e92bafd415a3e342679e20713cfa7eae4f34e197aec224c3546c347e3cc861ac4be484314f28003705f";
+ sha512 = "ccb0537f3cc85331037070761e4b450bdb07215d024052d3b946b96deb89ae30333c3b90e25100bca6cc58efc2f0f5b864daf6b353dbe7655e71106b7d5c0784";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/uk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/uk/firefox-69.0b16.tar.bz2";
locale = "uk";
arch = "linux-i686";
- sha512 = "7589d71b82a54d2d93dd99589b08efe0adfa8514c681427dc04080ef90ab49fed5adc492c26e8ee7a9d1f2d21e79cc268362cfe333593d6ac8fdde5d26efab52";
+ sha512 = "a3490dd08645d2bc21a0a7176b1e9ba2da47b4d2a5ef45472715dd6905eb1cb1956849fdd006a4d370c0e58744e126fb1902d4997c7280fff256885becb39877";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/ur/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/ur/firefox-69.0b16.tar.bz2";
locale = "ur";
arch = "linux-i686";
- sha512 = "e2f4c990c2f0b55faab8e8a26967c61fe869f42f9a1a1a6e9ea982057773fea8853c313183339aee6ac695d74277ed1d75cd63b9a76d690816786e159ac36261";
+ sha512 = "a021c72eb298bce45097ed0d2c9aa2ade86b06668bb0d22e1832b600ef15691680b9836598467ae40d20203bf07246ed85485d0f2b3d145452725544d62b033b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/uz/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/uz/firefox-69.0b16.tar.bz2";
locale = "uz";
arch = "linux-i686";
- sha512 = "b17a1c515cf0fe463a1d46ec3a5389154efa27943dbabfeadc1aba261c07ccb4b27d9df121ebed26a408565e7427414c31e8f640316616664cf9f266a4da9cbe";
+ sha512 = "ee54245bbc0845e680f5b02a2b217f2e253daa99e531fbf721a0f9dc03e68fe77371665bf2db7aad94748ad5c641bb93c7e3bf43f6e3f4e53b7ec91306d69f7b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/vi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/vi/firefox-69.0b16.tar.bz2";
locale = "vi";
arch = "linux-i686";
- sha512 = "f3c677964f26fb99a74b66307b7b01d9e8087504dc4b9650c4550e5482a0cca6d6a91a42f9bee0a8a448278fe61c52b5513716132fde02e2a0260a57f389fb44";
+ sha512 = "e14901e594346298a43cf9b7cf70be1cd26e6f19415fd11c09e5ac8eca7a43fb07d7b4f4e238f4b13e986e1a9e37f23d73e456990403f2983a9939b8bec455b5";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/xh/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/xh/firefox-69.0b16.tar.bz2";
locale = "xh";
arch = "linux-i686";
- sha512 = "000b1abcab43200e080f7c5b9930686e8d3eb6d0fcec032c0204e0c4d67e0094b8260f29896f896a95545bf36bd4d2e056fd32b9b43db2cf9bd3d29da53982bc";
+ sha512 = "a256c23d0c478dec86c5a3413c7e64c61e7e4a519c5e1a343b457481543529354d588b07f1b0ea37450c2d3d317145796401c05988ed6d35f545612d6c5f87f6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/zh-CN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/zh-CN/firefox-69.0b16.tar.bz2";
locale = "zh-CN";
arch = "linux-i686";
- sha512 = "603a384fb9b17131097a3a6bb0b221a6d40f6c6a650cae09218f9bc2d6da2f4dd4b0b5e89becddbd2dcf655e86749cc9fe19c40f99bf63bfa937c81e2f0c943b";
+ sha512 = "a10aa5ef7b4fb6e4e3ac64a7d25c2d329eb42a0e5e0f680d786c9215d1f536a9daecbe5df31fb8484eed1471ccf89a596a5d2f97ae9875686b6f394f2a3c25ae";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0b19/linux-i686/zh-TW/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0b16/linux-i686/zh-TW/firefox-69.0b16.tar.bz2";
locale = "zh-TW";
arch = "linux-i686";
- sha512 = "a8995e5869cfa4d850d3fff73e335cdc23cd698695e9b1eda02c86605a451e1fc0abeb9e50ad84ceaa04a0376469832c5bca0632ae70880928d7d1a9d39480e7";
+ sha512 = "790725d0674be5ee347dbef3c2f0ac0d017cd972ae32dd318767535a4006432c5d56ef2e13a602f705fb177476ee120a5327dfa3625b6966a9fed8bb04f50c04";
}
];
}
diff --git a/pkgs/applications/networking/browsers/firefox-bin/default.nix b/pkgs/applications/networking/browsers/firefox-bin/default.nix
index 4262609c66b..537a30c01a2 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/default.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/default.nix
@@ -9,7 +9,7 @@
, fontconfig
, freetype
, gconf
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, glibc
, gtk2
@@ -58,8 +58,8 @@ let
inherit (generated) version sources;
mozillaPlatforms = {
- "i686-linux" = "linux-i686";
- "x86_64-linux" = "linux-x86_64";
+ i686-linux = "linux-i686";
+ x86_64-linux = "linux-x86_64";
};
arch = mozillaPlatforms.${stdenv.hostPlatform.system};
@@ -104,7 +104,7 @@ stdenv.mkDerivation {
fontconfig
freetype
gconf
- gdk_pixbuf
+ gdk-pixbuf
glib
glibc
gtk2
@@ -191,7 +191,7 @@ stdenv.mkDerivation {
# update with:
# $ nix-shell maintainers/scripts/update.nix --argstr package firefox-bin-unwrapped
passthru.updateScript = import ./update.nix {
- inherit stdenv name channel writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
+ inherit name channel writeScript xidel coreutils gnused gnugrep gnupg curl runtimeShell;
baseUrl =
if channel == "devedition"
then "http://archive.mozilla.org/pub/devedition/releases/"
@@ -205,6 +205,6 @@ stdenv.mkDerivation {
url = http://www.mozilla.org/en-US/foundation/trademarks/policy/;
};
platforms = builtins.attrNames mozillaPlatforms;
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ taku0 ];
};
}
diff --git a/pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix b/pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
index 55581605368..a9ca0a5fe06 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/devedition_sources.nix
@@ -1,995 +1,935 @@
{
- version = "67.0b19";
+ version = "70.0b2";
sources = [
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ach/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ach/firefox-70.0b2.tar.bz2";
locale = "ach";
arch = "linux-x86_64";
- sha512 = "a609f4175c1279630e51b4f68b6d3d490fb8b60a42a2f734e9b8213b1a9603d471539c5caf97b9c3c0c4aaea56b27d02530ba140a5b659a1de483b2892dd0a4d";
+ sha512 = "cf64b9cd170d5a1bf1765ed07df197a3d0c7411b5281c89a0d2adfb3d9c404ed9fd2c8c021fe93971b846d7ebfdcfdf08f3a5703e156d6dbab61619f53d6d415";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/af/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/af/firefox-70.0b2.tar.bz2";
locale = "af";
arch = "linux-x86_64";
- sha512 = "a8d09c13295771455ff0dbf8eacc2558cd52e91e8cf6c48957a68dcace4c37ee3acf66aadbc1ed0d5e3dd262fb00b1fd8f401354895db4f492e0ec160e7af086";
+ sha512 = "e2815831dc99e0373541a56a38fa936a97d93a07a2dd7f789f5e4cc45860ce3c1b70bbbe709d35534364586af5b0dc626a4ba36dc8881244f98665a80ba57764";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/an/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/an/firefox-70.0b2.tar.bz2";
locale = "an";
arch = "linux-x86_64";
- sha512 = "9e45d59ccf97444013ce5eb44e1e96b7bb683277e98b100c88be90c249d16e91f0cfcfb8f53e4b49eef3bcef0892967accf4e5263d0753cc9790d8d793f95b61";
+ sha512 = "d7cc4b7a1d7fabe186ae10a9bbd5d746415178dc3d17255e2278c1b5a9a7170403cdd153668b94220ea68be387b0c7b3365c8d460bfe53f7b381e7f3da12948e";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ar/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ar/firefox-70.0b2.tar.bz2";
locale = "ar";
arch = "linux-x86_64";
- sha512 = "2f2a0285698a5ab1dae1f7bbe231fc52653bdf1b985e158b90415ba4b22939d40a6524c0d2adb0bf2ebcd64c924c044d9dd7090925ae352cb3d43fd23c74c9c4";
+ sha512 = "8fb79f3636682c83dcf42b143892148fddb06eefca4c5eb72f5ed703b821dc2bfab7a167a58992d83202866dc07bfa09eee876cc567586791440afea676efbbe";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/as/firefox-67.0b19.tar.bz2";
- locale = "as";
- arch = "linux-x86_64";
- sha512 = "6ea84183731cc9f7937e0bfb1896a4d38dab2ad24fb8442201a9e442fefbe7fb8eaa1cd33724467ce77b6aaa5632c1c6ba0490f4bf5fdaee874a531a55ce6124";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ast/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ast/firefox-70.0b2.tar.bz2";
locale = "ast";
arch = "linux-x86_64";
- sha512 = "287f2b0a86a82487bf7248a9b2549fee7391f27f761224627d3af5b9ffda44ac506ea92a820bb4ad6382295d171f11fcd92560d17910d772612eedcd00e0f3e5";
+ sha512 = "468bcff942edfc8ba843f6f5a4b42aeb2b606186701d6a371565c4803664591037fe44bd026fca790ff8b8bb036619862ec51f04af63acfbf393fe8ac677907f";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/az/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/az/firefox-70.0b2.tar.bz2";
locale = "az";
arch = "linux-x86_64";
- sha512 = "1d98fd9e5f12dc0b9bc80dd9ec10b5fc9a30a4a560b3c439fccd12b4f6827a177a9b5aa50e12692dd06d2e0a5b9e72fe6a15f024ba738ad8fa4ec2fa3e8a88e9";
+ sha512 = "983f8d78364c1479a252806f912d015e791e8073bc7848c0bebb28c7a39d6ab08bac2bd9e4a7f1c1cb68b8d2894eaa927541a78836717066491b450c0b34671c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/be/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/be/firefox-70.0b2.tar.bz2";
locale = "be";
arch = "linux-x86_64";
- sha512 = "bb88697858813d02c968531fe01087e41652fc41858bfe22692ba2d53ed665ebead0ce2bc6eeac8bf45c5617d1ec8c409108e38f2d4d1d8be2d2930414ce4254";
+ sha512 = "dd31f1d7d3f6fe10f9dba54475512016be4b26bf59ca0ce55932b23cbc29954bd80e95fb1e29f2ec695e8f16d0b0145ed0d160f1964fe40ffe079a3833ee8090";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/bg/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/bg/firefox-70.0b2.tar.bz2";
locale = "bg";
arch = "linux-x86_64";
- sha512 = "a91a286d59e6a7bd64dfe11efc8c28708de856e9b949a975664083b47b9a654a5218290c8b4f2584d06767e38a68dfde11b9b1960d83869687ef64529b96be42";
+ sha512 = "d08edb6750464805ef379b18008d5f3a76a649ee4d6528b4ebd255ab89205756e2c9978bd9a27f56a607117186d434fa2df49ef4494bf5bd4f1f8e2eed10b30a";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/bn-BD/firefox-67.0b19.tar.bz2";
- locale = "bn-BD";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/bn/firefox-70.0b2.tar.bz2";
+ locale = "bn";
arch = "linux-x86_64";
- sha512 = "96bc5fb50a372f7437f48caef5da3971caaa3fe2fd890f49466ed8c89cfb8812b39f1f10f9a1b830a3585681e47634abb088d5f25ff60e6c1578a261240e2040";
+ sha512 = "a3c200e13d6b20a7fcdba2524501d936a183213f590213727facd9271867ca3d5ac0c59831b88e92a424b3b154bb9cfc66dfd8908ee28fe6a4ed15146944eb7a";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/bn-IN/firefox-67.0b19.tar.bz2";
- locale = "bn-IN";
- arch = "linux-x86_64";
- sha512 = "61f4fa374d0a1f485fea78fda33c9076c956827802a91b9d7d5b45b9df40deef19d702ce77fed78eee0b2f266ef4d9997fab03b73d1d9a48d02eef3aa972e1e3";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/br/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/br/firefox-70.0b2.tar.bz2";
locale = "br";
arch = "linux-x86_64";
- sha512 = "2a400d3754a962d9f4bc1f113a244a2856966f7e0751d60f5a0828188cb3addeea5c81ae2ceacabf7869c4455ee047259f40addd2e09055c4d3912c1bf608fea";
+ sha512 = "235ca44c123dc8034541637b8cf5b7d7d3e361300639033dcae361bfcedd41360a5761486c990e7328e479b3073b5f68f01bd38228170c352f993c0bee4757c0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/bs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/bs/firefox-70.0b2.tar.bz2";
locale = "bs";
arch = "linux-x86_64";
- sha512 = "9a5be0e919af773d1fafc18968d3b9b513b9e68e9b778aafee6fd4e282148e59cb868144ca24685aafecbf6daf99ccc351509366d4905741dfb53bbbd600bd0d";
+ sha512 = "2b2202f8397edd25f871d0e9b7e2535be98559bcd84080b8418460f7f1e558cb779f1588e94d87e8e713639cb3bde3efa8de7baf2e2f36bf387d965bffb9552d";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ca/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ca/firefox-70.0b2.tar.bz2";
locale = "ca";
arch = "linux-x86_64";
- sha512 = "f0f413caf5c17cbd885839f1eb20ef854c390e4b40c0683adb03f4361b262950d31358030b5e56d76b8d5ad17496245485a8c7cf36c7b057ea10fa0c4309df21";
+ sha512 = "23b7af96430ff5202529e5bbfc5d359d8cb9419b54a8e7dff6b1c828ccd1cd3ca686ed062a29f7e8ee8201ae1a2bbce7032a0f3f0cfc63168fbf0b49c52a9391";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/cak/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/cak/firefox-70.0b2.tar.bz2";
locale = "cak";
arch = "linux-x86_64";
- sha512 = "81077a7e9680dd78eced31736069c185c216977af46599643f1b59a852bad2ed00403b72cf5542d6758ad943ea43e227104e2b733ee94cc66882798bf568eead";
+ sha512 = "beda7fd930fbcf0985711917ea4b78a94042072a8cdd325079f3568bfcf2456efa0666efa4f869430cbfde34091b9d7d101edb94fde0a0c6942f61ee9c8a4fc1";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/cs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/cs/firefox-70.0b2.tar.bz2";
locale = "cs";
arch = "linux-x86_64";
- sha512 = "01866c0f9c4ad7b83252ac84989654e2f9f6932dab6e46a06e39354a667a7742a95c91059ef9f6284860a0f0c683fbd0e9dc0100b72e07942839c2e09e2cdfae";
+ sha512 = "1b47c85b7b5125ba416e18345c7247b85f29e4136d56333da14d8f2c3ebb7b9f81bd0332f6031b36e68e21d851f9390e171f75305bfbe0f46dd0b7c995e0b2aa";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/cy/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/cy/firefox-70.0b2.tar.bz2";
locale = "cy";
arch = "linux-x86_64";
- sha512 = "e646b154cdb7c66a6cf5bff3dd0313f8d1c309a625fc3ab20770e83aeaa2be7b4ee9c712c2ab2585f3319b7e6d14ddbff2da6d7c9f81321b09c83b3df6049133";
+ sha512 = "071d30f74d13311693dbf3b4c1a111d12e53aaeb8d6207f8628f7a45acfcf797a722a5196086fc7b6c12545a8a177868a5669542f0535a4223df155867ec6b30";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/da/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/da/firefox-70.0b2.tar.bz2";
locale = "da";
arch = "linux-x86_64";
- sha512 = "9ba2cc12e19c05340e88cd996dbbc5558aca64dead210f25a2f4e43792b9bb8f2a159dda54af6c760b2c7b4d113f3a8659babb0a1800c56b07f9886113c1764d";
+ sha512 = "3640a0a07c512e60e4119a683ac44cc596dc2a187d7f04a4b087540ca5deaba1c220403e398edf4c36247e92eef73de252d597ec082a7bc6e6c77e7ea799fef4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/de/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/de/firefox-70.0b2.tar.bz2";
locale = "de";
arch = "linux-x86_64";
- sha512 = "52d5950ff06db9c1eb428d27a1bb02db58701546094d4da062af5b03d74e12e400aab6811b4e725229ac992ddab6993f86db36550552148a3f419ee7b56351d1";
+ sha512 = "58538f8a9a0d6e97d49c005f45dc1b1842c07a6923a556d98aa13b4c979502a329adaf7b1782522e02a770945ef3809dc68138e73736593fa5ed5d07a1c9e265";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/dsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/dsb/firefox-70.0b2.tar.bz2";
locale = "dsb";
arch = "linux-x86_64";
- sha512 = "6d431b638b62a248d45c59369367ff3b04d10b6746fb23e11e1273c157ad6c3593b25936b15eea8d18b8c1b87ce317c4cabbf66bb12d384d29160e3d5032d2e2";
+ sha512 = "8a0ca47fdc85672c18bf883929eef9fa56b2b3b79e584c415c76f3005a55cca944700d27ca23b2ac2051c7c130b42b3551dcd1c05ec7a347ce6463ceecbb0748";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/el/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/el/firefox-70.0b2.tar.bz2";
locale = "el";
arch = "linux-x86_64";
- sha512 = "c380af2026d39d4b8ef3d0772f79bae69443fd9bb8a18119aa7bc696ea0e02e42e9b3ca58c1459411bdae9037d5727c4e01adc2d430ecf222631223539c39199";
+ sha512 = "c29d7b350fcfc7b6b76b02ef8677a21800d786e709b5e1b886532f74c8c11696da0fbf2adf6b22fd8c5edb6ab312516a2535ce3185ca5334cff9d79974a4f5ce";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/en-CA/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/en-CA/firefox-70.0b2.tar.bz2";
locale = "en-CA";
arch = "linux-x86_64";
- sha512 = "c4ecc4fcc308be734b00d4c0b489e8218e7eda3d09ab5589c9c929afca367091aace69f8a9c7add20c8360005094b6edaca36b3a2f60e0e783d0dce8b9fb5d1e";
+ sha512 = "d04571c4f4b4bfec7f8a0eb2ee2ed9e9f91c415609106a97ddde7122bddb8f8a25685e4bc6c2eed5ccbad2111bc3e9db6e3ee27c422cc1813a8bb1941cd04af1";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/en-GB/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/en-GB/firefox-70.0b2.tar.bz2";
locale = "en-GB";
arch = "linux-x86_64";
- sha512 = "0d8fbf31dd1e40d3154929c1ab0c7a224ace84250b092d089b2d044b030eadf3a29dcd09cc46659f4bea105e0718c3624abb5a2cb4779b87b4d3848ba82f5316";
+ sha512 = "c1f39142888d46884a51b892f232f6cb78309d65a6ba342a45d4bc6f3448ae90bbfd77d44f0e1611948a66a63bcb6d0f0e76f2c6f5fc3083d58b12b6df7cd2ee";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/en-US/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/en-US/firefox-70.0b2.tar.bz2";
locale = "en-US";
arch = "linux-x86_64";
- sha512 = "c5830d927399bfb5173ebe859f7f4de80b73c036d81f46b1d29d1a262477098e67697804fe4652192e49e7a83223b1b8bdca62e825b9272177b889f6b0ad1f2b";
+ sha512 = "1b0eb7dd1995822cf30aa85749741c1bdea6cc98b4eaeb1d11fd94b56d2138a177428734169355257a165350cf21b72141386d6fcbca606e9d3bc11f292563de";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/en-ZA/firefox-67.0b19.tar.bz2";
- locale = "en-ZA";
- arch = "linux-x86_64";
- sha512 = "f3db9c9afc89cf2bb7a102a748b360b3e893c798037d3e95817ffb46a8e3249789fd770fb5afd356b093b1c18a7f2e6518b688a8772a31a7d516b9fc0789445c";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/eo/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/eo/firefox-70.0b2.tar.bz2";
locale = "eo";
arch = "linux-x86_64";
- sha512 = "dd3c9ea0f75a3ef67c0d73e355551e5b34cc47fb9677c91d3d5ebc8765134603c90461b3e8a91fe4ceff9c4605c4f5aac7911c2ece05e8272adaa6e9eb115919";
+ sha512 = "e03f025948a463007708099a6e19abbd5a3e272eb03e053c6dc7ef156b1e4e83d68ae02bcce8f19fca1409e96e07f88a36537e08dcd73f1f289cd64a57b3aafa";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/es-AR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/es-AR/firefox-70.0b2.tar.bz2";
locale = "es-AR";
arch = "linux-x86_64";
- sha512 = "64186875ba303c8e47b488eb313c468097bd39a49c8caf299985cd241cd470c27726cdab7b154b93907b2f63acc437f5c2449defba274c90d1da34279aaf9b61";
+ sha512 = "f48d98ebd744d4915ffb6f0cfaec981b8177b0f74297224555bfbfa7390dbec29eae93f4dd3ba51bd84dbeb71a4c60519414f2a4c3d75b7c96b59610e30e5f9e";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/es-CL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/es-CL/firefox-70.0b2.tar.bz2";
locale = "es-CL";
arch = "linux-x86_64";
- sha512 = "1bf9a909063da17690f632e12d61a1eb2b40473fafec068300648bddbe77ed98ae1d5a1468a261bca7ed75a08521e65d08d61e8d886b9f0e324c3b8169caf714";
+ sha512 = "f593020ba37d0ce81a194772d1acc2f528ed826b009e034e17d3119e482b0df9e8dd518dd597687e566d30e2a736d89850e3cd2487d7c723e242a12f69962b45";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/es-ES/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/es-ES/firefox-70.0b2.tar.bz2";
locale = "es-ES";
arch = "linux-x86_64";
- sha512 = "fc9cbb4a14ebb20f357c165323eec1ca408708c111e892092fab0f5bd7d660e91cf8d18d894765c635e87e13e53b1140604f7ec60c854dc166fd344e0fa332af";
+ sha512 = "081641bedfa1f4831641aa0029f8ec34db6f4965f9aff2c5344b779387dd887c2cb371908778d6cef6ccaa0448c98513b300244dab30f36f68776506f840b43c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/es-MX/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/es-MX/firefox-70.0b2.tar.bz2";
locale = "es-MX";
arch = "linux-x86_64";
- sha512 = "c1ed20051f00e4641717b88cef0262441f6ae03d21d9a9bee466d31ee47738f7d7600d38bd0d94c6d08e3d84ff902d78c1638146d09175d60ecee2683e9b4d03";
+ sha512 = "fe58f3745c1b0009e065979cb6ca451f377d837b0a41062e0ab04d435cc935d931d6e8200521850ce3161aed6f9583a67df14d0cab5853e491b1a433909947d6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/et/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/et/firefox-70.0b2.tar.bz2";
locale = "et";
arch = "linux-x86_64";
- sha512 = "f31ace646422cd59c13ac1a0264c059ca6814f8c49121d4063570130ea9e195988885e1feef219870e605a03ac049bd5450353e81df932c5319b1ec6ec50fc71";
+ sha512 = "2d1bfa94424af6f6ae08e11c99e83749408e9be1ac7face25d392c0475df978666706fd694b76558d824d226a50fa5f1eb8da52fd4ff3a1bb615bc83986ecba0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/eu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/eu/firefox-70.0b2.tar.bz2";
locale = "eu";
arch = "linux-x86_64";
- sha512 = "691ab74ae362f37dd7b3355e8c5e650a30d1caf89450fc82788b961a35e7f522ad863f5583bd5b39854c89158fcea3f5d68c501ab2312c85cb44f33e790ce26d";
+ sha512 = "7a192de6d021fdbca6764906284b4490653705147c56b9709e83c7fc087916197c954ac1cc19cff3da78220d572492800ea5773d3e03cfac6ee75d5e6d8ae85b";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/fa/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/fa/firefox-70.0b2.tar.bz2";
locale = "fa";
arch = "linux-x86_64";
- sha512 = "e05a4c645bcae718ded29134c4b1d18cc84446bffbd961ce830a3958bb209e856f31a2bba1959c75ecbf1114441284df930ac6863ba8c0f067338a7694803b08";
+ sha512 = "427af8a45ae42e31ced616daf2d5e418e745bf43f87dd4858c983746dda1d52e1b909db542e9822c39019b13d1b47196c7041040f8c56e9f0712d7fbfba8b935";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ff/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ff/firefox-70.0b2.tar.bz2";
locale = "ff";
arch = "linux-x86_64";
- sha512 = "2beb91eb4be0af2f5cd2bf3f9de19c8e53ff95fe6ef50b470be2ab0d5695975bc07b16c1afdba5fb717f379e6a3a83762cd21442f0930c28e25ce921ad29f6f6";
+ sha512 = "8a0627bff20eec56a7fbf6be6131bc004c12fd3033ceebe365a1367dccaf773c7c4f8592ee9a313a01943ec962ec010932d3f0fea7a94576372bb8fb735c90bc";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/fi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/fi/firefox-70.0b2.tar.bz2";
locale = "fi";
arch = "linux-x86_64";
- sha512 = "838ccac00ed0bc556c58ca30b09e4003c87c58e72e4ccef1c5069e35cd62fc8819b0556c6a2a2166aa1d44d6a98c4dc77d8a5d99923923d0cccb39ffb97ed6ec";
+ sha512 = "b86da9c7cfb2edab970d91b098c5ae3da60f83a9b772033d8a8a0a4db27afe62f5db600a17a883561733f1939bb95342273b4c5c7e004870c4eabb08648b822c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/fr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/fr/firefox-70.0b2.tar.bz2";
locale = "fr";
arch = "linux-x86_64";
- sha512 = "aa606f76a3a60d0ac7789afe7d97f02bf43b9b166abb921cd30e97ab92121fe84b3f310a3b7a53e887b01a2c64ae290da8c9d7f30603dd351e173d4bb64cba9e";
+ sha512 = "54ad1fe9eaff331246817e2033adf54d5267e991ee016f96edc21b5c322a46103f72a5662df06da313a840aedd04f677340573e57b55a9a1fa611af3ead97e0b";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/fy-NL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/fy-NL/firefox-70.0b2.tar.bz2";
locale = "fy-NL";
arch = "linux-x86_64";
- sha512 = "d7fc80ef95dbf7f2876b0be052d3b1ed8dd261164fd43afbe377e39b97be48936e5dce0181730311eef557667f8750236d5fda2491a51ac42dd6c36ae775fb45";
+ sha512 = "c13363513a633def5c2fdfcdd0327b201f5d6d04d0dcd698f614799ac88424d19612eacfc6325b11808617a3cdc3f92e5903d84cdd56fa68212cb1b2babb9a03";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ga-IE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ga-IE/firefox-70.0b2.tar.bz2";
locale = "ga-IE";
arch = "linux-x86_64";
- sha512 = "27f7e7a320bd4ed241c7382b9c7f173f6bd77db8eda0e4b4d06e007141504f9684aa48e8bd1dc7ef36905ab52d684d5797da325eb6759feed5d90022a767efb0";
+ sha512 = "23644670ee388362801cc4ca62fc6bf370d479821e0811ab493405ff3c8fce538ece89184c9d4f020c8a5089d3f7addd1d4fe298b55199dfe12f73408a988314";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/gd/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/gd/firefox-70.0b2.tar.bz2";
locale = "gd";
arch = "linux-x86_64";
- sha512 = "231841fef14350369a8d790cbb117901622853798166f81a726a7a18c2e6246aeebd36636fbbd42bf72b71b913c258410e1f9426aa117ca3b14e146c598547b8";
+ sha512 = "967d24fee05d35aaf27be6ebbd3d31112126ee04bb750d3f17a2bd6a1abeab5ec7ee43235a26de5f19e5979c6d295e74ffec9f1bbf6fa32564f50986487b0455";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/gl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/gl/firefox-70.0b2.tar.bz2";
locale = "gl";
arch = "linux-x86_64";
- sha512 = "813e054e1b05c6ce314a1c70e1445bdbcb056fe6a24286d0986d0af482e2d662c5c74064fe36e6b378cb505220fc4bafee27f9e417dbc2b4d22549eea9b5e5dd";
+ sha512 = "9976dfcfbf3d93df9c06a4328bc73ed5e1a3b922a8a616cd3c298d5955964ffda4e4fb96e85a23cb9c950602959e11d86f3d58840d475e5c6f5232992da13184";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/gn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/gn/firefox-70.0b2.tar.bz2";
locale = "gn";
arch = "linux-x86_64";
- sha512 = "51073929a5e7a0167e0216b20e8519d5d09492fdeb7c2941bb8695bb74c1ed11c8615acf9d9c7cd50a408c2a0c6b91c6cc6618871740cd8360d83f2d041a40bb";
+ sha512 = "155eee867cf421717c5c6720c2926318dfd7e3900bd42bbadf6947d291c3afa7b6d81610d53052700f32338e9fd4dd66ffc240ceabd5e6c6b6a3d5a18462b923";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/gu-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/gu-IN/firefox-70.0b2.tar.bz2";
locale = "gu-IN";
arch = "linux-x86_64";
- sha512 = "70609c08104c0d2a63986a8e53ef49f926013a660d08e3980b6f39e104d248289c19c36c994b39ee497cbe84e1d670b660c0dbf6091c7c912c57938e4fe8f275";
+ sha512 = "82c58161e908a2dcbd10f8192aa9c89e220a5ef250d5b5037f483a415105946fad0527b0bb6ef3ea78b6b6a785064f116e17bcac7b2f45a1f0676e689f030677";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/he/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/he/firefox-70.0b2.tar.bz2";
locale = "he";
arch = "linux-x86_64";
- sha512 = "e61164757dc6553bf0aeec10274ae8e89207a8940de013aba4fec7ecd3313393e39a683030c41f348b7f329a5ef908b4e7157a1fdd288853593f046f5cd3ed7b";
+ sha512 = "c6f8f8c144d6acdbf65a733627a7b977ae0b1aea7020356ad8e8e3d1cecc568c015d5e3a523df00bc94262b1ba7460f22de6d06421119407914c3e3856b91736";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/hi-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/hi-IN/firefox-70.0b2.tar.bz2";
locale = "hi-IN";
arch = "linux-x86_64";
- sha512 = "17179a9c0d1a38426ec7ec9b847d79f2f5da03dcd4510912c631807c1a1261540979b57ac4a63f6514ff27249442ab9a12a6fe3b6dcf9c3395f6fad5e810d389";
+ sha512 = "3ab7baf8b0609aa76cc3e72daa5bb0aab1feb6e4957ab032cb0011b575ac4f5f41689466a6ea10717c14065c463c6469967848a22a76bf9e03e53e9b3aaef6b9";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/hr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/hr/firefox-70.0b2.tar.bz2";
locale = "hr";
arch = "linux-x86_64";
- sha512 = "c186243fc46573012393e6a3e3516f886c16611b845cd3c07c635962a0df3594b9e6bc801c3af7adba7eec6ceb2664d1a55a50d12395108dba6e7823a7c8434c";
+ sha512 = "50be7cb19abc57bb3d3810bed8786c1ba8f4aa3f4c2d4d6ec6347b1cd263c724c6f138d2f95e579010c3dd893b432dfac169f964e78585601211de2b4144c02d";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/hsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/hsb/firefox-70.0b2.tar.bz2";
locale = "hsb";
arch = "linux-x86_64";
- sha512 = "706deda9243ee5c7aafaef56811976078b0902f3d00b39b83d71dd7a4246b06b6c650104dab19d13028677604631a6bf39c1f0639b3b97876aeef91090f689db";
+ sha512 = "cdbf552caa9d85ca5cd2501a98c7270eefbc4ad31db3cfc8399dc5e2d7dd7344feb71b1fd7bc6023e74dd10963668f004c4c7a74f518cc849539d9f780081c52";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/hu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/hu/firefox-70.0b2.tar.bz2";
locale = "hu";
arch = "linux-x86_64";
- sha512 = "564c0bbe754b994d1ce7dade9444b1716a4485cb440a8001f7e5941aa41cfd3987866f06b08e323dc7c9594c2c5755c96e20a7c885857c0412f010b8f4f966ad";
+ sha512 = "731cbc3fa44e815fb9e437f863eb218accd37a009e136a653947a5571440dd839f025b724c160ef3076f87285f51503a1a9020f470076a71dd246caed8f66237";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/hy-AM/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/hy-AM/firefox-70.0b2.tar.bz2";
locale = "hy-AM";
arch = "linux-x86_64";
- sha512 = "1e3d47778eef082260a7d669f46ce56c530219b266f1b01e2389cc3c83640276fd47d0aacb213299ca7b5c2f6d7cd34b13661cd50314e0c84d8c41df51977327";
+ sha512 = "0be8245de7830aec18132d8a36d9eb48528070b09d87cfcd8dff78b0d26d79dbd2cecd94bf5088158253849c2690201e38766cf85719126d232932384c7dbff0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ia/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ia/firefox-70.0b2.tar.bz2";
locale = "ia";
arch = "linux-x86_64";
- sha512 = "22a0e2ce6df17895a4905e4a45309147959fa9e993890e8996e9715f660c083d95b72d41d113c5f5f12d3028cd635488810aecb13245525f950f1c6844ffe2aa";
+ sha512 = "09fea9073150d0b6464d0769317c94d397eefcbd1577b73bee9601fe3babe12b7533730383a56629c2470e39628f11f0d0fef36a41f3212865b2643ca2f00add";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/id/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/id/firefox-70.0b2.tar.bz2";
locale = "id";
arch = "linux-x86_64";
- sha512 = "aa34823e7052f81d7981c57ca4127b509a287d50b440aa57543373c2a4e9117f4cd85198781740467c46b685fa916e132f70ac5cd104cdb8c4da9557f3577445";
+ sha512 = "94b0340e3cd930ba39520ad28198a108bff9ffe40e8e1de77bc783bcd211d7cb5017b2c894d212a7a024ceb69c681f76bf513a38a3cd40aa6f846afcff32b3a4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/is/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/is/firefox-70.0b2.tar.bz2";
locale = "is";
arch = "linux-x86_64";
- sha512 = "72a93af50a098b873ee32069c9f80cd21b15b5d6934976ae50ef69e46e844f7cce64c7495fd808b71189edaa0178c81a3f5d197b1867351b3ab5d0958192db6d";
+ sha512 = "68fb812f36082a9bcc41416a0ddc704c69ecd0e5d958d16c1171c7be27097342a57980692b1000fd13c1de893404fab0d150ce675e0bc4efa96e06748d392754";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/it/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/it/firefox-70.0b2.tar.bz2";
locale = "it";
arch = "linux-x86_64";
- sha512 = "e3c34606ca17432ea2c812bb7c20e8b39b7a40990312a49465b13f96a5fe289a50153f7a80bf84e611388076f78c785fd3e9759956b1938b6e425f23277285c7";
+ sha512 = "e02f944ca83b869785b92a40a5e13f088275cffe26084f85f5d866ce5f9b0d0234e7a9fb5907e4f97663fb00091005ca73142d14f99465c3a8b1888aaa5784de";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ja/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ja/firefox-70.0b2.tar.bz2";
locale = "ja";
arch = "linux-x86_64";
- sha512 = "ad737a6f45c0f99d8cdcc4863c4c052fdf2fd097eb9c35181ea84fd80015cc3496316da9e2a23fafd9b25e962d1d3c644d5d05b57b9efa399d935df08d0ad5e0";
+ sha512 = "83611da83e6cf95dbbb3dea3586ac3fc5ab9e770a75a55e3868543c9f43fe481f5e6775dd45eb1cbeda06bb60619fe7867af64c7c8c2efc862e7f23fdd0d0ac1";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ka/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ka/firefox-70.0b2.tar.bz2";
locale = "ka";
arch = "linux-x86_64";
- sha512 = "8dfbc8fa171ef91691401f3a8fba504c61ea0d28e9502be0b891c801b1d29a1621cb045b9e21b3227586ff1aca28da480ef2ab089a7ac9299ffc7e63d7de5b4b";
+ sha512 = "94683999f9bf4ccb13dcce3f993291e5568a3a4f107bccae6f8b95a2d05c8e68a62e9d24ba9c60264c17a027f1848e82cce6fd143994e69e2000688bc61df543";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/kab/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/kab/firefox-70.0b2.tar.bz2";
locale = "kab";
arch = "linux-x86_64";
- sha512 = "8703637be9bb8a795c24a53b779b02fba67dcff975861a509f1529f51d36f8f7dacfe8a4e9d0d51d534ff90370ece46a93ed52cce9f5b29fb524f79ea1973f1f";
+ sha512 = "fd1bdb8ff2df2e8c18ab7d13b1e07b128291b410607571426dce5054e8e6b221eadedce560c5e16d65ca2917910df02f74d6573323f7a26375f1ffcba080f22e";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/kk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/kk/firefox-70.0b2.tar.bz2";
locale = "kk";
arch = "linux-x86_64";
- sha512 = "84132316153907e0adf26e5aaa27250cfada67fb6fa509a40c6761bfab75af59c5858e3df59ccdcc4ec555950a44dcba32da8f93a1bd99289cf9f82c92451e52";
+ sha512 = "3c53e12ccf2698778d579c09a26a522a038c4510d7af8fc9accbdbcb2c9013e12e243b88c03e7075ea76258abf2d234fe0ff7a06538f6d8e0f363ca3887617ed";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/km/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/km/firefox-70.0b2.tar.bz2";
locale = "km";
arch = "linux-x86_64";
- sha512 = "30adc106f266561e957420467ff83f9408e99cdb6b7c7bd6eb1622bc3b7d3aded8dbbbfe1530cbefb5d7428940f4f7fc6b63eaa6ee6a7955b9611609d404aff4";
+ sha512 = "2d3bab56eed0ef36ee41b11071dc2ee0407c675421fb23fe095ac81ecc492813bac115d03b3e832c33b03fb2df89b37a6153a388b44e540d48af93234cd41888";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/kn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/kn/firefox-70.0b2.tar.bz2";
locale = "kn";
arch = "linux-x86_64";
- sha512 = "6e7e1f9257e414e90257a6aee2eadade4b312c8d5c3ede4670c6ca67826f2a37b81aa58a700c5482d1c49699ea68d92cffa1c1083d853ecc7eb92baed7873be8";
+ sha512 = "b4dbb60f0aeaa203483a8c7c79afa9a9e8214b032507c0754b4320eabc40a39fc0a242709779faa38affc2e570dbfd70e1843d712c361ed9a3c52dca17b72eb9";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ko/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ko/firefox-70.0b2.tar.bz2";
locale = "ko";
arch = "linux-x86_64";
- sha512 = "0b359540dc6c8f56ef950b0491face08ac8998a3b38733b3db1cf4c6ce2d28cf8ff06bc03ecf45c434c2eb925da40f2fd672657602840150edb3f5331b7b2ec1";
+ sha512 = "9c3e9876dc6363282cb302a65c3cf82bb14fb022e3f125fdad2e554d70501ef2b275826c4dcf064119463ceb93e6f0b8dab8c273364d1331d6ba5244eb0119c0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/lij/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/lij/firefox-70.0b2.tar.bz2";
locale = "lij";
arch = "linux-x86_64";
- sha512 = "c799e621345fb4299f63a4fbcbc452a595bc1ece639d181437ecf3129f1b3213b67e1b97bfc06ff9366391452236e9ac3635637a143c9e845f100d5b850fba52";
+ sha512 = "689c0b271e7efd6c45de879d573cd5fed31d1ee2445849ac3442559f11d33a500fe70e861b54b288cb84ed42434071f9da79db2c1c8f7460ebd53445079439ae";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/lt/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/lt/firefox-70.0b2.tar.bz2";
locale = "lt";
arch = "linux-x86_64";
- sha512 = "5c67ff0e68884ec6e8a80f936584ddd2213fafbd86d13c1e5fd9e3e80fce88c5b9e2e8b7ee99ff5c4107d93aa473515a4f6b1da68c8f139839b4ddf3de3151b1";
+ sha512 = "92ba0cf69d128848f2fc4dd86171ed7e4eb56c6dcf868d3918c7fbf41bb76305839f410567bb1ee7bf4ff114b858127dfb0320f2672560cb38141c88b601070e";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/lv/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/lv/firefox-70.0b2.tar.bz2";
locale = "lv";
arch = "linux-x86_64";
- sha512 = "aeee95b24a36cc5b7b127f3252a43d0082df9eb812f6751476fe6d0f3b99a214052d52792b798995a309a15dbe2d5fbd95f5cf006fb6fa4da4b441b1646b8532";
+ sha512 = "54587e5040c387431e94b4739a9e34020d7dce1777195122d513175b71ecdb44663c416fa648ed648cbf4f6279b7fcecbf819f6fc3a61155698f0dcff5f42212";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/mai/firefox-67.0b19.tar.bz2";
- locale = "mai";
- arch = "linux-x86_64";
- sha512 = "117b71ab103f1c86e7aa595816e35c83dafc9510d781c3d1666db28e7f77abf1bc04b172a15fa8cb02432914691e3a205c57633268f984104f7fd1aa38a5aced";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/mk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/mk/firefox-70.0b2.tar.bz2";
locale = "mk";
arch = "linux-x86_64";
- sha512 = "6547c91c39dacb0d49ab6e114382af414436eeab54db0de294bdd755cf79554b0e858105e47a909b6b6a992add9741720d2c8f422de511a4028defc37a7996e8";
+ sha512 = "b7943903f7bd3783e5c3776d35125b19ed88e87f6449f25a5b26dead87407d0180cb21b67c89971d3e975d454098d22706c74a33d21c2888a90a0af9ef7b601a";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ml/firefox-67.0b19.tar.bz2";
- locale = "ml";
- arch = "linux-x86_64";
- sha512 = "5ff7aed1e5d55c3e141c8cf8595b854bf7aee328780a980a188f4a9f46bdfc07126474147ac6bd8993bfb3255384990c2e22bc49945f02a8a3a32a420f7e70df";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/mr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/mr/firefox-70.0b2.tar.bz2";
locale = "mr";
arch = "linux-x86_64";
- sha512 = "407465edd4060b49dae07ba84a9121d2d007836493a8e2312211e05245e00a96c95a60d2a00e05a849c31cf6df81953fdf675308813d3531d9b7bed2e739f0b3";
+ sha512 = "07e742844231a1dc7a09a268501934c63caaa482ed7117d1a498c66b6f5c1d559e3b0d59cac06b9c3d358add59a13912af1dd11a6c2cf72d5cca97b68ecd1c32";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ms/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ms/firefox-70.0b2.tar.bz2";
locale = "ms";
arch = "linux-x86_64";
- sha512 = "0b4ed8ce93436337ecfdde2a87f8fa7566b6d5fc0b3f6a5a8cb7e629ef6a779eb34dd9f00248c218c05baf84b6efe57b025fcc5cfdca92ce9ce2b8e18f46224c";
+ sha512 = "c649789abaac00c55ed415bdbd9c28185c56795754324517f5044cd753aedc004482501537c67c42afa616ddb5890a4ec992379fa30a28b8a492a0e559a73f95";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/my/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/my/firefox-70.0b2.tar.bz2";
locale = "my";
arch = "linux-x86_64";
- sha512 = "54e352cbec4b31a40d9049a506e21425d2a230968a9cad016841a6100e8adcd242bdd60ae53b1fefa4668acc42df455d6a328fa0936263b897068808d50a6909";
+ sha512 = "06049a7770f621a9a72b5e563b485b81caad533410db23558679100f7a422fa1cf2a85233cc1bfd5d5b9c1705f8299544b4cbb4f52de3c73cf33bbe64cf845bd";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/nb-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/nb-NO/firefox-70.0b2.tar.bz2";
locale = "nb-NO";
arch = "linux-x86_64";
- sha512 = "f2a873a13b814f2968f3dda37e92403fd65e5bc8d9222a8ab46e56490dd51478f3bbfcd30edda146703a3ba1fcb6c17267bb2e16515dcaf4f8b19327c3d4b2cb";
+ sha512 = "5f80bdb4a310d46cf5b3b36567964f444c75c92e19b5ae5cab81847b2b601f04ee3d43a2325b8bd6d7ed3422f146e90612785b25f982bbf95a86057344ae35dd";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ne-NP/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ne-NP/firefox-70.0b2.tar.bz2";
locale = "ne-NP";
arch = "linux-x86_64";
- sha512 = "51c125d58a4d07a171c898cc08e670b0e7d7cfcc677d951fd4fb9ee7a3489a0f490b33528ccf2e2c4ac78890cd78c2ae72fb614792517d958db3c03c3aa4b75b";
+ sha512 = "f35496c71aa7efbab365e80050ef218fd4bad1e8c015bb97df65aa0e4f16613b531d40bbcf4739aa462077026259ea6f1d7ac71b10e51e04e75d120dcbab3ca1";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/nl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/nl/firefox-70.0b2.tar.bz2";
locale = "nl";
arch = "linux-x86_64";
- sha512 = "385cdd56c22590fdd20c47f063407267cea5068972c173bcfccf8b4992555da6ddc15af9768794f44b8aa537accdb2d82ba51d6ce39d60d20b37c6860b4fa44f";
+ sha512 = "21327076b9196d799a40d28f1fea66f59944bbb0757fde66aba2b0f8b929a0d45a01bb0901c4b6eff4e0e5f7f033a44d2dac83c94494b7f95003c3dd620f1ce4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/nn-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/nn-NO/firefox-70.0b2.tar.bz2";
locale = "nn-NO";
arch = "linux-x86_64";
- sha512 = "8d928811ac8c6a82ecd839b80e37935ff62687fd46ff713ced23bdb5a6d1dbb1acb3e8b1e30850df0b212082b59ee46389f325936c05ffc02d70bdc3c989cb77";
+ sha512 = "dc444e5546d1985d0ee4bbe2394e9e51131b46b9e41dae54c1402a9b08aa7de4a7d73fb57bd677af151420e71073ac398d28f4ae324b4e6e3028f01fdb98bd76";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/oc/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/oc/firefox-70.0b2.tar.bz2";
locale = "oc";
arch = "linux-x86_64";
- sha512 = "d16719ba0bbaf9ee4419d64d6976cf4df6f99925d56aa3800817b63ce18f293e862aca2e10d88e04b1e0cf2160e20c1b5764758482019391e334be91ed9216f1";
+ sha512 = "0c0fbf38f078c0fc4ae38112611f164808c7b9fbc4e3ef7d57e622e918f5c581915095d5bf7c92cc0ef9beb67cb04ba9b1ae1e011b7c8f91f23a79a326481931";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/or/firefox-67.0b19.tar.bz2";
- locale = "or";
- arch = "linux-x86_64";
- sha512 = "4e816fce8381de73b0091e85c185e4c9c06f74f8d68cb0c4386c1c43ecf61a0f14afb65d4288d255fc4e5a29843030ed86e19ec3c7795585b9b41e50a0df966d";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/pa-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/pa-IN/firefox-70.0b2.tar.bz2";
locale = "pa-IN";
arch = "linux-x86_64";
- sha512 = "ae36d3dae59b2cf5a0953891665cd122a6ac62af62232ed22bad5c1088c8f4f1c5f723652c14e74fe30492c9ea765b0d17563dcd364f9c112de235c688667f86";
+ sha512 = "b9f07313118ddfd5147866045e047f9ae7cefa0116d86aaf7f5dbaa2a64bf14f7a56bb748e115945d04aeb1dc4572d54b3d122c1e775062ee1de366c710726d8";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/pl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/pl/firefox-70.0b2.tar.bz2";
locale = "pl";
arch = "linux-x86_64";
- sha512 = "40005eaf43cf1a68f3e43e4e056ee91ed2ec1b993aca744a066bbf10765e5bb76315b4ff8fa7f7542739c3155eafe879ac2c26b2cc1680525a9fd70a58ad54ab";
+ sha512 = "bd1e920304e1bb7bf6cf198c5537f1b106b1484b7ecf683e1424d208b736d2a3ab40c7e885a385611ba6f033a2ae4fb00cf6113810a20dd8808a34ceb11c7b38";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/pt-BR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/pt-BR/firefox-70.0b2.tar.bz2";
locale = "pt-BR";
arch = "linux-x86_64";
- sha512 = "7023ac30d742e655f577612e39e6eda3a4439a969c92d5d0d0c8d57ae9b51ac303c781bd6258681e916a6075fedba0c62b7f3eb97f341b8fd4ae4de924e07ae5";
+ sha512 = "e1bb5ca89ea0b60cb2997b9dba3fdb25e90914899f38a51d4506cb9bbd3d61f33d32ec3a9d2d79857d339f107134a021e0253b6a54916b48b6aaa5ef4aa08638";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/pt-PT/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/pt-PT/firefox-70.0b2.tar.bz2";
locale = "pt-PT";
arch = "linux-x86_64";
- sha512 = "50d5a0abebc9f841f8d46fb4a17235f591ac7a07139d1eb30ee7cc9e2f25a22c98521614065f133c1a55612fe7913f571711c8054f248651a49a8d7f4a82fbc5";
+ sha512 = "622bab9fe052fcfcdeb4d12b6b8773ed08e14dcf51fdecad24a638811a2f25c1a1efa13d7aa45dcdf06726eb366ee78c4abc7d22016303a9048df9af314c14bf";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/rm/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/rm/firefox-70.0b2.tar.bz2";
locale = "rm";
arch = "linux-x86_64";
- sha512 = "e3b35bef81fe0ec3992534ee391a4b54719228a2058212aa330f5c35bb286ff79239e9a001b65911c6dad84f502a13d8af695b7c71aa96815c8a07fcc0314ce6";
+ sha512 = "b02769fd926eebc180eab8f3ab9aab7d2a8d78d81f51116ef156865c74b60ac76ec75656455557dcfda2323c3dbbb438f8979de64309851f5b77c01175fc4b24";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ro/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ro/firefox-70.0b2.tar.bz2";
locale = "ro";
arch = "linux-x86_64";
- sha512 = "9287e088f2c078c7589ee4285a0d6f1ad3dd996d2f0e814bfb37bea8a2b1be5d817355f865df364a286507f237d5d7d9a47d6b882ab9c3359688b65b4f9e5a50";
+ sha512 = "572204e2a2a6d7535ce36ba9479f1fd634069a1fd9799eac6a3e5dcf02133859f4574ab7dc36018be88e53ab5a8bafb561e5994d013c0b9da7c9ea467183bb81";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ru/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ru/firefox-70.0b2.tar.bz2";
locale = "ru";
arch = "linux-x86_64";
- sha512 = "5931c0a0f2392adb4147e37058d08d82663781d075c07fae760b2274a8afd7889c96a2aaf94f2cd9b2f6ee0175c7d798768bef9ddcbd7338d689187b686193cc";
+ sha512 = "42a99586fa8d07827a597c83fdfc746beea7504e800037efe0e82b65868dcb0e1ba6dd2aa401dbe64a30879d521215d180bb39906ad332d9e362405036da48ef";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/si/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/si/firefox-70.0b2.tar.bz2";
locale = "si";
arch = "linux-x86_64";
- sha512 = "7b11ccb6cdb92b208049d8e13acf0f7c681248d0f35c49ea8f3684ac30a9cb598e6638ba2d447d6b3ddd7253f2bc2cef0bfb4378846b8ec2d5e78b5d7b7102a3";
+ sha512 = "288b629c23e7bd61b64b3f5947a93753ca780906b537d1f97892424c7ea9f890008370f5ce44e74062196558e9a088856236c98031996f5d9b40b454827fb1cd";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/sk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/sk/firefox-70.0b2.tar.bz2";
locale = "sk";
arch = "linux-x86_64";
- sha512 = "a770204e002cfe658c7c432703f2af0e6bc55827f9388a9bebba5dd2b2b0a9d1ed4b08968f84379f30bf2bd45df0b0b8ba9822aab8fab090929e793abf64d1c5";
+ sha512 = "47b295382b39a040171ad46268da5005173a1206a3ea26c7dd8138d287ded24740f031456dccd2fdd72266691aa2d893ffc93211ebff2759666a643e3e448915";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/sl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/sl/firefox-70.0b2.tar.bz2";
locale = "sl";
arch = "linux-x86_64";
- sha512 = "c2b35a4eec21d032f806b79fdbf8258ffbabbacdf66062ed18f9176a7599d163164e74b398ecc6415a8bb7afccff03c87fb011963d65f430a35a75838ecccd98";
+ sha512 = "fec91027bc619c7a6d0092db4493e40ab31311191117e1cbb39bac33450c9f8705356405b6ee38b52201ba39e4da8141505759f891c7e6ae3d8d22f9ae29a629";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/son/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/son/firefox-70.0b2.tar.bz2";
locale = "son";
arch = "linux-x86_64";
- sha512 = "0a140dae1147913c0c2a217b47cb3eba6d4a11fcf41ffe3b2530cca1bbce719bd6b23cdf61422f2bb2e092faf50adbd24be565f1f20b4168aa2fbf2da7e0cb2f";
+ sha512 = "8a1eff23ddf4391e77947519a5178724ba9393370669bc05764b971bdd930ca8ef9ede4cb0ba60c50daa2214d4212c6159f7379e16ec9a5c538ad8d7d39f0ff4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/sq/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/sq/firefox-70.0b2.tar.bz2";
locale = "sq";
arch = "linux-x86_64";
- sha512 = "69c639bbfe03cff7d220b7e36227ddd3f82a4075abb770584a6d3e5064679c53d7aefd9a6178c791be3bdb134317151183585650d6b95b56fd7a06db7364a54d";
+ sha512 = "3811b809979c87996b8db041cef14b7987331067dffcedcedebf36b9b9569c70088a38a624361b25ea5dde2af6005fbbe5add558cde41d5cfed7687a2bd96847";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/sr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/sr/firefox-70.0b2.tar.bz2";
locale = "sr";
arch = "linux-x86_64";
- sha512 = "8616dc48fc38b75cd5b3115512f09dc9b447c7e160449301d6319134e34fde0cce86ecbde54831b7197c1cf92475c25eb243d0f72a8d5b94a0ce335ed39f1386";
+ sha512 = "fbbc294a2f387e6ac44e4edc1a9b9a384d3677abdb6717e550f774d731037d0a7ce8036f25229efbacff75423e9a185423d2a39ac951c77ae62653097bc9ce26";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/sv-SE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/sv-SE/firefox-70.0b2.tar.bz2";
locale = "sv-SE";
arch = "linux-x86_64";
- sha512 = "97652d6a29e4486a96315945becde0c1ef2ba5a3768b5b9ec82a7f1e0d8e3af011b89a3cdf98778ddfd2574468510e675e440d51e6c373743e48f650caa47d47";
+ sha512 = "0fbe4d264e97ce88bda435f7c8da09e589407030945b51b68004b5df2c0994bbe294a87b7a18a2e03a8d1de05cccbe2f23ecc59dbd1945c28b80c75e0ba45c1c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ta/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ta/firefox-70.0b2.tar.bz2";
locale = "ta";
arch = "linux-x86_64";
- sha512 = "996e822b9297dad8faefc7dbce588c5c55128b09e68c80353c2f3022265893f01726aefba39a064fdea3834362f6ca81035c1b439a5092dda7beae2e0d4bfa93";
+ sha512 = "57b86a405d32d9ca991c995316d51fc6f9363dcdbba2d0d1d601f302afaf863911e035d30ad67751210b4e3c726b3734b62b63b7dab6cc2f69a172bd8c62493e";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/te/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/te/firefox-70.0b2.tar.bz2";
locale = "te";
arch = "linux-x86_64";
- sha512 = "3ae40e88f243b4625369a5e2a8639092ff82e4fa7589b916864f691a8ad1aea85750d0a599f51ec6f78975e4088217f59f9bec526cce4b8786e7d704cd6ec918";
+ sha512 = "54ac916b2352b545ac8f5a9ccea2cc1ea5b3e267dadec7bcb06c3db7406f4dc5f7479a0f2c3954e9e19d093fed849df50b45c51d69753626149757633039a4b5";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/th/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/th/firefox-70.0b2.tar.bz2";
locale = "th";
arch = "linux-x86_64";
- sha512 = "61391a53d7e067736d5ffd377321a45712857f5096c9c84167f08fef905e8222631be537f3ac3441a31e2f873474b6e53cd777602957a5405702557e75279c59";
+ sha512 = "95ea774a8266d51054e7af4db09503963641981c8db332c8119e61c3d6349234aae202cc3e9726449454440f10f8ead17e4d6c682f261410937f7355cb7668b6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/tr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/tr/firefox-70.0b2.tar.bz2";
locale = "tr";
arch = "linux-x86_64";
- sha512 = "979c2e4697b4509c5cc98e077872baa155b7cbf5b92de5854a6d4fa817147e7d55cf297399bda86643c1e2426a4b8f9e973457dbd96526c1ac0f3353cf161774";
+ sha512 = "44b70293b353fed9b8435de36178ef6ee3fea108ad4ee129a1631eb32714c06aa23d58064746cd62a0f407b1f0557da38bc749c3113f3ba1d1b5d049eaac126f";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/uk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/uk/firefox-70.0b2.tar.bz2";
locale = "uk";
arch = "linux-x86_64";
- sha512 = "a72d01f517d5ea0f25871a23b9e8585bf423482f112b95fc5c1908b2baf0234b984914e8c2da4ea1a3ae4599d6b132ab2b14c15017cb92af2a62b4ef4b50b7ed";
+ sha512 = "ec6beef8f0b068b7c301a4a1a0c769b66ed5af08414d5306549b9b077592b06a2eafc175ecb097b9ab5033dad15344e52588506685222c14f73411a5fb9faeba";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/ur/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/ur/firefox-70.0b2.tar.bz2";
locale = "ur";
arch = "linux-x86_64";
- sha512 = "85753eb41b8cf5719d7fc2ba373c9530fc807a44c439682a0d9ba16fa9392d3bf2af709139474852e3d4db066ce427a9bcf68b377bb159fc268b61dc1c306b74";
+ sha512 = "d1efd485f869b6555672d80057dfecdf7775cd45bde0711ad90dcdac8ffab4b46bf04e9350a0aa7629d9939c953f434e75b6aa458cc835e6cd06efcc7fa1bccf";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/uz/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/uz/firefox-70.0b2.tar.bz2";
locale = "uz";
arch = "linux-x86_64";
- sha512 = "a74374571f221ec9ccb6863b1c5318026bc0c1e94a51ce35f1d6c2cee8fef12a94e15738c9a02c67e72495bf6745f2fe442d44855e8ee1ce6fd8f5d1a48905f5";
+ sha512 = "b7cae3888e2bc4a7b31a0b7313b7476799b16055f7af8e4016083da8a71f40f523f9963d79f53bd6a96c1bffe2fe2d34d62518bdbd9ad137fe17f4c175fd0f06";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/vi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/vi/firefox-70.0b2.tar.bz2";
locale = "vi";
arch = "linux-x86_64";
- sha512 = "8c9a894c1138222474e23152c47440da32624f600d3d24f87c32f79d15e832c049e53167539a57d85041fe109eaf39027a4617b02355787a14f58f4ec801500a";
+ sha512 = "aa4aa778e35e72122fd857c736c226d62e5f6ec73f1075500728e90f9c2ddaf9c0e6033d1785b4102918a6db32a744617552769c29cedde655e9a3f0b173a4e3";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/xh/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/xh/firefox-70.0b2.tar.bz2";
locale = "xh";
arch = "linux-x86_64";
- sha512 = "c7506ad5b3177600dfa844f050b3d9f44263812998feaf12b1869ca9df12612c2535e88dcebbe06d887b2441fafd6d83a492f20cb39783f8c9a0270ae61a2c55";
+ sha512 = "41619782aca727c09262de57a128fdc7936cd4b3ace84565cf687a006bd462a3218682c56693efbb233df221c66b2b545cd701b025d6b3a5308b132ff87b35a4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/zh-CN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/zh-CN/firefox-70.0b2.tar.bz2";
locale = "zh-CN";
arch = "linux-x86_64";
- sha512 = "1f3d2fc2982ef5647b8bbb33ffa69f28e78add814e8156755882212d2a4549b9929d027f43aa7cb44981877f4ff3edff16d295316e47fce6a4ff824746647c7e";
+ sha512 = "befc922f6256bd8416758c4fcae972e939e645a752a97863ac0b432310605cbe46dea4c713d4ed86189a9f4094131fdbffec10b4d771b061335baeb180b75ea7";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-x86_64/zh-TW/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-x86_64/zh-TW/firefox-70.0b2.tar.bz2";
locale = "zh-TW";
arch = "linux-x86_64";
- sha512 = "2df7396edd46afa6e14ebc30d4bf444943842be70b73f6d03090e049c97d5ca247b2e43eedadd97a1ecbde55d96befa9ce2980e1db8646af70547d04da1702d2";
+ sha512 = "3bd89f88ca805e3b19edacb97efcbf50ffb2f4b3baf67c1d64d9c475922c6ca5ace13e07de292f95efc0f78bd1b0fe9e9e9198288c3d874263c7be6175291eb0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ach/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ach/firefox-70.0b2.tar.bz2";
locale = "ach";
arch = "linux-i686";
- sha512 = "967645bd716371fc5a70cf59e3ef40f5ffa96217780f5674b6f92802bd5a7b16d3a446112aeb14caa68fadfdad86b48c0665f5952545ee978d2a70f30452077e";
+ sha512 = "800146462c9bdef3a5cc021995ec558ba02fa1b5310973286d1360327aaa9967430d1432775c44c21dfcde6b06d39f9b7b7568661734f70f1452e78071ee440b";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/af/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/af/firefox-70.0b2.tar.bz2";
locale = "af";
arch = "linux-i686";
- sha512 = "d822fd96b9e14056eee0a554c9bd4cdc8235aef3e5723445640ced78d6d4145aea694cff45ebcde9fe8214857a2a4b66bc7cc23d15089708613b4c038c7da439";
+ sha512 = "61b65cbb84523e3cf98e59847d07ec5766b2db3d5fd27c4633add006d428aed40c77f100dd87ab222b29d95bfa4cd7e2f7fc8ebae2fb4712935f51546939dbac";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/an/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/an/firefox-70.0b2.tar.bz2";
locale = "an";
arch = "linux-i686";
- sha512 = "2585e242e56bbe0434074bd44c8c2171ea415d0d076cfd74521fe47786aed669677eda07caf1eeca6b33b304e6f92d43ebe2020db1c07287c6deb6cee14df551";
+ sha512 = "f9808793e9657622de595b529fb6341c13ded793177413ff5f829712f7054f42c98de5a5e153deb3f8b8f3b3fc8e80fc3737e1dc5ec577731744bd0e992d7be0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ar/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ar/firefox-70.0b2.tar.bz2";
locale = "ar";
arch = "linux-i686";
- sha512 = "f84fe74d42cd109ce0a8edc99c89ac38856ac089983c4e0cbdbb6dc7475f4c4e0d4100ffd9118245615877a0414e2831ef4bbfe39e9f0cf107a1dc03cc5ea386";
+ sha512 = "9ab1dbce20235787d945f3ea6ada45ba174dbb9169f206c2aabeaa2fae8bba6f4cf55577c1985f59f62d2a302d97ad2e3d7b7baa68682e4ecf3b8978410b45ec";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/as/firefox-67.0b19.tar.bz2";
- locale = "as";
- arch = "linux-i686";
- sha512 = "7d7016cf11fe6b2986d59925d162ebd97e0c04d099ebfa7fe8d5059a89d71c0a59fcfe360f0ff5b4380cc621dad0938cecedf2713ac3eff828241d84fcc2e5d1";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ast/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ast/firefox-70.0b2.tar.bz2";
locale = "ast";
arch = "linux-i686";
- sha512 = "dc88385b02b949b43bdf775775712d4271fa9291c333c3d517430388da068fc5d5b7ed374cf8aff9ed9ffbb9a02f9fd377e58328d05f8cd76ef3ba850a3fceae";
+ sha512 = "c5e4aedcdccddd1968564170d7f74deacec13e801bb19cb97ffeb7923924d66649b2bfcd0823d8e2b27b737bf5b0b558c57f931f1ff8b6928d2e2ad0c63d270c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/az/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/az/firefox-70.0b2.tar.bz2";
locale = "az";
arch = "linux-i686";
- sha512 = "5064cdf4de7520ee6172e841d2aafe8d66074b4b354ecd44657eb62c81e4c3318d8ce1197c9ab9ae01328f8ddd66a072bcadd74f6e6dac3ef913861b97991a08";
+ sha512 = "d67fba709c62bd06288bfe80bee2e08f370824420b52b07bd0e8c6dccc350770f0710e22ce55f9ac4bf989aea74cc3db1ee026baa7fde967fdf14f8dd9694702";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/be/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/be/firefox-70.0b2.tar.bz2";
locale = "be";
arch = "linux-i686";
- sha512 = "0b112f496965fe7deecf89773afa708e66f80040acec07a15dee7119d25d893611779460644f034ad942d079aedbed0d8f0237fbc6d371b64040c9844ece645e";
+ sha512 = "9fcf25f380bad5cea7c8fcceecd0734239bcf10d3081a22a24899103c96a388596135676a0769a8c2cdcce0ae7abc67e8a0b65621725de4201919d250bc28f02";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/bg/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/bg/firefox-70.0b2.tar.bz2";
locale = "bg";
arch = "linux-i686";
- sha512 = "15d6f54e3d46c52d0b54b157121e50651104212e91856fdfc0111e9cbc5c33f51c45ed815ebc17f1ee714e6c943f53289838fcfc409e43deb14db6eecc78818f";
+ sha512 = "a7a5818af9299a4b63098c102019134dcd74001a92a2d672d2c3c9e8dad6a58c28fdfd14ab10b96262ce34fca4947905f100a5d89df0e106df3c8b9a0a1796b1";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/bn-BD/firefox-67.0b19.tar.bz2";
- locale = "bn-BD";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/bn/firefox-70.0b2.tar.bz2";
+ locale = "bn";
arch = "linux-i686";
- sha512 = "adb1a598acc8105a75fe5a2fd0e815db40a946236b3982e370b8d4d72946225ed6ddac13fb9109ae3cd0659d5602d03da4cab14693be3b8e12c29cd2f18c15c1";
+ sha512 = "60de18a8524a67dfb90ee9d272ec06e70b4393b3ed76acc7c86a545af561b323710add4a4d8a896982dd8bb48bf3e32496fe800abf50fed509d91f0e54a8d04a";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/bn-IN/firefox-67.0b19.tar.bz2";
- locale = "bn-IN";
- arch = "linux-i686";
- sha512 = "928d68357b274678c454f4163e9fd20938339f069b4b32a15dc220a73e46d60341fd9ec0cc26463eb3a6e4e0d219bf2d38368fc745b9c843ed11ea3412f8e5dd";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/br/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/br/firefox-70.0b2.tar.bz2";
locale = "br";
arch = "linux-i686";
- sha512 = "7d01a84095a06fe0c0175ca2b0c8690353f2224ce8bced896a7fa549c6efdf34cb1045d6316c8e4e4aac2aede5ff491f356e55f5e1fd8cca48e7c295c827876d";
+ sha512 = "61cca84ee862455860c3889480852df1ea62dfd9ef18209ca24fde83b3971ed7788811b4c6ad57a19d32525fa67ac82ece938700682385a4b99587959bc2af9b";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/bs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/bs/firefox-70.0b2.tar.bz2";
locale = "bs";
arch = "linux-i686";
- sha512 = "e8d3ad64270c1a1593761c56c42216cf46a14e91cbe42eef296b4b82e881dfdcf8466fa81097e8c5a44d788a52b1aa73e1fc02e7c7ac6bfde48e45e062caf79f";
+ sha512 = "45fa72a908bd24e6e8f35fbb1337b394850eeabc7d52252007a93f1f2993d4e43fadd3254a41664ecd76da29ed3b72dbebd95bf0735c71f07d9d19f3e3f723b9";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ca/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ca/firefox-70.0b2.tar.bz2";
locale = "ca";
arch = "linux-i686";
- sha512 = "45283426655984f4c8e34e183b7e4e680596c816383912550aa44caceab9d817af45f9f625d3c663b7bfd8f952be48222ec1bc49cd861434de1cfc63b846c412";
+ sha512 = "53f9de3f0720b489cb7ae59c2dd2b7c0cbc6bb7306e802253562fb508ce0ff1415cf5b76c0a3eb085e592562cc1d39817009ba1e668e4c68f4ee0c8b5947cfa0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/cak/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/cak/firefox-70.0b2.tar.bz2";
locale = "cak";
arch = "linux-i686";
- sha512 = "ebe6072ec6827c0cc56be1992abe3cce70d7db6b7efb52d035410228ad51fb3bdc69a8946e2bad2071f283b4bdb08999b13583094cb421ea73c0bcfe5f498f83";
+ sha512 = "ccac21ab9baea681bb170309fa3c1e7762aa731e49b831a4a45bb5a1477bf2582e1ea9ec78c8c63838589fbfe74b3f8e31653caf7c13355cc92de959b0d6820d";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/cs/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/cs/firefox-70.0b2.tar.bz2";
locale = "cs";
arch = "linux-i686";
- sha512 = "f772bee5ab956a8a9d52445ee1a0837da9e2b34829dc589c68f95bdbb7f93eb8bd939f0a0fd1e7c7401918b7dbc0ce66744eda45be07a02422408db059cec611";
+ sha512 = "ac08d633f909edb3663d7e7cf5a27c1226d91a244786f941fc4fe771a7d5104183fa43782b8d838bbb50ee9342be081e28467b4dfaaae1c4b2a39233d5a9e31d";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/cy/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/cy/firefox-70.0b2.tar.bz2";
locale = "cy";
arch = "linux-i686";
- sha512 = "21e943e93d9aa8f7efe5fb4911949855e8d1b1a805b7098b4031c178c45657551d9141b8ccd3457d632071b3bdb7d1e5cb9e4540987ff266400d7cbd2d37fa61";
+ sha512 = "176f3b9699e0b2b8c7f108add3a07b90664e7eb5170c9669cb5b67f2b0a6c0b2a6c47cfb2e34494467aa865f12c12c525fc967761878b92e067baff2d6e625ae";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/da/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/da/firefox-70.0b2.tar.bz2";
locale = "da";
arch = "linux-i686";
- sha512 = "2c2cce846c7d09a891f22922ebd9ea87cf1d0da8f69f85c9b1211a3f5736a7e43cfcab0133b98b1fab1a7c1a2e1d39f2796f290418c2cb69f987ca2228d05b73";
+ sha512 = "29b8ccdfd4f202f418ce2005e5edff4f69d3c3c337ee78069ee9c13b9fd3e90d29b28ad2801d8133119ae3048b6a09ac8105dc4fbaf1dd8f267fd15bb9ed31a5";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/de/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/de/firefox-70.0b2.tar.bz2";
locale = "de";
arch = "linux-i686";
- sha512 = "92cbbd9cd3d0ba48fc7509240b1c486cc494f64d655c76e05eb6cd34bcf331f35093a45863319d4282737b0ffe36e016cadaab7e48aac199bd29395f65bc8fda";
+ sha512 = "c041f802e2c5d57f013f018e192f2c62271ee15f53a7bdc9adbb447f5b3319e4da0c9743b0cf8ce4dfb03e94d0b81e0f8256b749c4eb3ea3a3b9833bbee28db2";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/dsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/dsb/firefox-70.0b2.tar.bz2";
locale = "dsb";
arch = "linux-i686";
- sha512 = "ab797a4f4af8ee5d06f33da64c300f3ce04789262a70fb771e7d510a79f8ba79862b7193655cfaf6887e7cc2f3316a365012b44922e209b4ab3f37bae1a27d36";
+ sha512 = "a6ed5dba712d1c5512f5e0e1caad7f0b0f7e2ccacd891bad54aee79cb749bb79610a46ebc75bb662352bb8419d8e0f047c0b0f8214f11edf8153708040188b5b";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/el/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/el/firefox-70.0b2.tar.bz2";
locale = "el";
arch = "linux-i686";
- sha512 = "ab6156b46113720e8f68f199b848335ba8b5c0600834ac79123f1fc9d03b53da3539b1af3a2f72710117fe43a19f0cae46fd5f83969c0181b1859a512b5e00e2";
+ sha512 = "987c29ca1d3b65bef9b5464b2d2c945cb66a6be671ce09b421218c3fbc6aeea0de6e5f7c2105943ca41b7f56d7aea25f8bdf4289eeff4618a92cf45c4234ed05";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/en-CA/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/en-CA/firefox-70.0b2.tar.bz2";
locale = "en-CA";
arch = "linux-i686";
- sha512 = "dab3209b762f56973ae067a76ee3ab625179ac1b5bbd25f4087c6419f557c5602ba00d5891bf2198a0d10b68f24c04a476970cdadc9831e8aec4272da2e78d4e";
+ sha512 = "7e85aee04f790b6efe29ca592c38cd2962636d7b8b5901e1779fe371b7a8546f700fab25ae5a53d170afe67c3ac64345954b358965010e65fe1a63ef803dcfd2";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/en-GB/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/en-GB/firefox-70.0b2.tar.bz2";
locale = "en-GB";
arch = "linux-i686";
- sha512 = "dfcbba6c3ef81e3c519a45bd074f5a87ec65f0b6ed752455d9fb3be43b92a2744069ed5f4408d623aac5cc6997028bbf242ac634f9ff30e6ab38786e6aa1c871";
+ sha512 = "a16b6b40a0c52c53b28113e5bc681b56846664899e5876d47b873816a8ee7cd309a1e49057b0bffbd923e5faa354f1f8ae4e01172ffb24062d7451fe361e8941";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/en-US/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/en-US/firefox-70.0b2.tar.bz2";
locale = "en-US";
arch = "linux-i686";
- sha512 = "b196f510b70806076bcd84fc934b85f9d53a0f152f2da63af5a48387a07046bcf2a0e52e0196940bad898baad218efe0ff6b17a55119bc19faf52498cad65fbb";
+ sha512 = "de2716443b6dc3757fe58d42ef4fc526c1218601650ba7ccb0b0a9f77b7acb04a4e4af2c79b7587ab8d8e3515ca6602b563fb54ac5e102ca30952c39843c7d31";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/en-ZA/firefox-67.0b19.tar.bz2";
- locale = "en-ZA";
- arch = "linux-i686";
- sha512 = "563b68ca9febb2fdbba1b0297569942ecf5e9fba768640882b97c1e65d340b2a36be3faa161d4d41f8b538ecadaeb70dd705a0caf30d330887ca3391b9fadd41";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/eo/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/eo/firefox-70.0b2.tar.bz2";
locale = "eo";
arch = "linux-i686";
- sha512 = "5719e2839d907a414e8dd3f19f66a74e2a5afea3458aecc8c91e6e59534f283582babf70b7b2f4f1b5d6dadfc4a61c1a5f6a2e5ea0924a99601fffb48286dae2";
+ sha512 = "bb0b25735ec9bc607661fed392c0dc841185f84b06410dc0c2b7a05245d62cdc4978285246d2b281b08507ae2de2b4fe561dc115d838a10e581e484cc12dffd0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/es-AR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/es-AR/firefox-70.0b2.tar.bz2";
locale = "es-AR";
arch = "linux-i686";
- sha512 = "3fab7730cd6d582bd6dc55fad2ef771f52fb1ae022c0f206d6c69a5dbb869b4b8033ee0f7f028724dfc88a7dd2a49da8f617b7f430582e86d0fd45783fa78a7f";
+ sha512 = "6161b532fb8412151cb007fe0fa679ff0f195206d71b4a07f8b312a28c0fa0041f32e960fc6f88f3c88e54a850a24d00dc370e8a3a16fcc5b420c0a9cfe2e674";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/es-CL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/es-CL/firefox-70.0b2.tar.bz2";
locale = "es-CL";
arch = "linux-i686";
- sha512 = "f91b3b3f26c0beb905ccb18e899c131bc5c1b1144c524b4bed77ab055655b235cf5cceca3ab8e79066d1e1c5ae4baa4088250b6f24f3f8851c2d76d26d9c445a";
+ sha512 = "490f550d9091a70a9a693acd80f24cd644188a3ed0199781c5c04583ae2a66b623df8a5d1a5d3b1c7617a214aef09f99d306577db5bca1034ed1afdea8d909d8";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/es-ES/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/es-ES/firefox-70.0b2.tar.bz2";
locale = "es-ES";
arch = "linux-i686";
- sha512 = "505d0965b087bb00ebeeaa5607d3f3f271044ae8291d726be4579a1bfa79b195d7dea94f7e745ff5f27ab4b8eeeca6cbe0c126da2870218d8ed713aa13312dbf";
+ sha512 = "cb648224649c1f5a22c7b5eef4a4b4cb7381a76009cc1a4b0f2db7f1ca850f21ce3f5f4effe9e114f2ab55a0ca4a3f0180b5e7610cd895cbf1d8eff24a77ea82";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/es-MX/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/es-MX/firefox-70.0b2.tar.bz2";
locale = "es-MX";
arch = "linux-i686";
- sha512 = "482f7ac76cfee68877d9745ec222ba4bbedaac36ed51544fcf88f42d016cb81bdbed7bca6bd564c8339c117d24edd3f038646d9dccebda6a2d44c0fd737b49f3";
+ sha512 = "bb5c9f06d2b17507f9036192558029a6068bc4b62c1403e228284722fd1011ca002b5b7669320c3613fb8362433a13a05960945c56721a220fd8e45e2908367c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/et/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/et/firefox-70.0b2.tar.bz2";
locale = "et";
arch = "linux-i686";
- sha512 = "1ae7380f5ae6c7d8ff58c398ac43ff66badcf2894a640e533703e1fad0e63a15155906b2ac6a2534666193af019502538d74277f04cad08f69a38a5bc3444491";
+ sha512 = "642e8fb33bbffe1dbfec0caee8299051678c930b5b8382b7dbb27a139aa01edc737566b3b88444425296f29bedb30acf7e1e4bc39aabe37a4705271b0ddfa2e6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/eu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/eu/firefox-70.0b2.tar.bz2";
locale = "eu";
arch = "linux-i686";
- sha512 = "621280f1d85280a08d2be058c44515e5fdcee0ccb96d47b30878d81f4cada06d241a924648e2a6174f7ed5f4ac68924cd078c941091f008822644691575adba1";
+ sha512 = "b6856d8c07830809434528ade2e85da9577562e69e6753e0a3ba96e9e015642b77ee5cd913b017fe7ea96cd1eb985d8eed013c38e61078f37e155baf7d115711";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/fa/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/fa/firefox-70.0b2.tar.bz2";
locale = "fa";
arch = "linux-i686";
- sha512 = "212ce3d4ef9ad7f56752b106ecf02c2ede856863c5344e0d68f9bf96a4206cbf3b22ac0ba95c009c516bf160cbd01b6285ff62bf390f07812d2726f73ad30a52";
+ sha512 = "46f320dd9b746cfbdf6d41e6ed4fee3c36027a21bf69eec769dc656d4c4620ee702e4f6bd82a3121f14218a68948bcdc032a215bb0effe93d35b5f5e044152d2";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ff/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ff/firefox-70.0b2.tar.bz2";
locale = "ff";
arch = "linux-i686";
- sha512 = "6709721ede6be365153f3dac8b8b38e1d4f88463fae1dcb6617b61f801829f74253101d9f55824d8f39391817877e5f1cb0cf13f85efb19fdcf85af9cea2e67e";
+ sha512 = "f32d17a087c4fa5ab1ac6b692709b067607b5a9efaf8d15fdc3d52f9bf02db3b3e460fb1350ee17f583a8b32e1823d91aa472451598dbc3eba2774b953b32195";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/fi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/fi/firefox-70.0b2.tar.bz2";
locale = "fi";
arch = "linux-i686";
- sha512 = "0473b788edb45f61a65d5f7e16d9d8341bd5233e571eb0cc1721d428fda6f428d119f6a399e7d97733a210b86eadc2ef904e07c01612aac01c99f6f3b923e85c";
+ sha512 = "ed4ce81ee0446841d989ea575654463ea8186e2e1b71e771380f2cb0ce6b2858ac8903330623be00c57a2a50f639ae320e794681647292fb6ed060fdc850d50c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/fr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/fr/firefox-70.0b2.tar.bz2";
locale = "fr";
arch = "linux-i686";
- sha512 = "26e654786722c2fdb41077ac8edbdb9e51933cfbd192d23918a0f93a47111b3b339852851b90322e79d98e44cc5fac0c66f493ce53cf9c4e496b21856fd9f758";
+ sha512 = "0b199767300180ed093b32685373d1b702a2d09587df3a4d99fc9f0d6b82c41b4002e83fd26be00b24dab4c1c3d38552d46676a5df52a69474f623ee94d72657";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/fy-NL/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/fy-NL/firefox-70.0b2.tar.bz2";
locale = "fy-NL";
arch = "linux-i686";
- sha512 = "89abb03ec55d6def4ad7f9cf9bc7d01509088c35e95e6a8e7e2fbe1224da263400171973d65e14180e15457c157b3b944766edc69934a0ceef3f3eecf2df014b";
+ sha512 = "8e714668d8ad01ee6dc9cd5e5f607f393ec09434e62d1d08a55f4312a52b31591e64064bbf0da28e2e47d0c571e895e9061197ceb36d1ab5899f09de549b86c4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ga-IE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ga-IE/firefox-70.0b2.tar.bz2";
locale = "ga-IE";
arch = "linux-i686";
- sha512 = "e65b7609da64b649e1085dd2ec5a844c570d0b9699034216156cd085d523a2f06bb50e4af04d7c77dfe177539b72f42c47b422db0616e70f77ca0bfd61ad717a";
+ sha512 = "4156af0bb459848815ec4bef7b91f69328cc44d9b23f56911849098d4b30422f013ac74597dbfe6610df093439170b5566e87a290e33dcb6b32d5e2e95525622";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/gd/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/gd/firefox-70.0b2.tar.bz2";
locale = "gd";
arch = "linux-i686";
- sha512 = "c36a91077cb129a37d8e69ea41d6785eb5168765779b1ca960d1c855b8f75857e7343031b86c03e50a6aa2f527ebfd8c9963a01812fa96e45857106ecf058593";
+ sha512 = "c2d188a2f4a63f9cc106b2dcb64d3277aea07de0f4290fec560927d8ac577ae57c0f6f9dab998833a51924f1f4eb94cbce9312ac7bc69205a64fe766093c0847";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/gl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/gl/firefox-70.0b2.tar.bz2";
locale = "gl";
arch = "linux-i686";
- sha512 = "98fe18bd0baf682953c16ec25cdd7dbe7caaf61d099864335ccc2936e4da8f7b1c47f03036a2aa59dd976f806b03d810b3a9b218860700ec6593be5f6b22c76d";
+ sha512 = "c9427d99935fdfbf3b5ae3b0e9ab9f2b31b0a7b0d5b55b14effa1fd979d5f32b73016c939821f1db6eea286047334486b017b9000803e6ede4bcd4a564e89c10";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/gn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/gn/firefox-70.0b2.tar.bz2";
locale = "gn";
arch = "linux-i686";
- sha512 = "d914180016e7548813e8e1d1945a2132756a60a8f690811d5216e84c6011380c1c868f2dd25f2f9f5fc2b842de164d3e02bb8c0758f258a48c65c2c79098dadf";
+ sha512 = "e039e1bf1f0250c1179b3bd185c1a612754f496d39e087059bc485af6a280c15cecab6e7869a63357c7b0dd713ef3efe5ceb6cc4c1f7334fc67560722e63b523";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/gu-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/gu-IN/firefox-70.0b2.tar.bz2";
locale = "gu-IN";
arch = "linux-i686";
- sha512 = "e870a4400edc3ffa53c92cfa9a37e5d7461e81a635a8049063e044932e50d64d42d0469f66d36a70f3afdad1efeff8a5cf7c29542057735fc75e520b6990aa4d";
+ sha512 = "9a8d9a076e521a8b5a4f1cb3c06538d9cfcfbfe32862b48301c202a212beeea2d888964d317bfffbb4e4b5a56ef06ff2acda22f0b129a2521d23a5234817fcec";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/he/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/he/firefox-70.0b2.tar.bz2";
locale = "he";
arch = "linux-i686";
- sha512 = "616cf9e9d2cba477c71ac041ad1d2d72dd12998d8d3ba9df7a5478e61aacb875461f4bf2b25038e5d7bae8517014d68efd180ca91e09de5eabe0e302239e368c";
+ sha512 = "763c4dc5241d3ec4337c17d4f7c7ef13667ad1a7ace2e71b65ead7fc4e771ffceb1eb1772c340ed8349cf401b1d9c4fa7f4e16031f5227e45a8e813e08437159";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/hi-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/hi-IN/firefox-70.0b2.tar.bz2";
locale = "hi-IN";
arch = "linux-i686";
- sha512 = "7c40f1dcc26f7ce29ee21c693121b8310619d7c0062dd2e6095f13eb0d80c5bddc3085c2cd03d59ca1a951c281c33829bd7db08d257387c0a8ffb5ed6bf6c8e1";
+ sha512 = "a6092b8f611976117489fb9a860a801aac9fd598394be0b42e88091760a7f05c10d04d4e90b228a801ce784a981f4770c78e544614a68c2d9a0e8ab13fb89ff4";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/hr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/hr/firefox-70.0b2.tar.bz2";
locale = "hr";
arch = "linux-i686";
- sha512 = "b8712ce8c56f7d35816116a1a6ea2a6a98bf99d0ea90c922954bd245dcc2750e5c058e1e47a1e7d6126981f26e6a8b534d43e677af0183fc682eae0c0ef82071";
+ sha512 = "ae2d26a2e98cc180699fa5f0a8fa1426525db4ccba99a57841fc8499e9595f0231de7802cfe347a81906d3abec3503b624ff224b1392ecaece17468ba12bad9c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/hsb/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/hsb/firefox-70.0b2.tar.bz2";
locale = "hsb";
arch = "linux-i686";
- sha512 = "d62ca56e6d55e7c5a5ee92528d596fdb0d40b9067fdb2527baf9c9766be37e2a26816655b787b99e9409b2618a66712fcdd9164ad1c617f3d4253ac180411e1f";
+ sha512 = "0524a4f4ba2ddd3143f9f95e07749aa5f8c37c8f31cc9030f220a99d1a8d270b61ebb63ee3118edc79712f3af3f1795ded34492144d0dcf1857f04cbb3cf3451";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/hu/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/hu/firefox-70.0b2.tar.bz2";
locale = "hu";
arch = "linux-i686";
- sha512 = "9959745600988f950a0810582283172615653cb1dcd118b74a6e8f8f6e58ac4e4b9dce282f38902af5bf4a1408c759dec167c566ea8d8e84f498ed8207490cdc";
+ sha512 = "64f4bd68c9a62965162bea7ca4bcf15369f9d3c69c0f6080d0bd660202f2a546f39835b8987e26da3752adc366164b451f842f2694305bf60a2b085749b13827";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/hy-AM/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/hy-AM/firefox-70.0b2.tar.bz2";
locale = "hy-AM";
arch = "linux-i686";
- sha512 = "641ad0198ba1b4a2f48e6019d9b5cab3d2da8729f72fdcb4eba5effb8facdf72205b3770d024cffc6f4f4c47ae47805332365adcc503673e005cf469b9bad842";
+ sha512 = "6d33a2bf17038e24c323bd53372974062fe5a11278eb535518637ee68712f4c2da93a3dd3378161f1e67efc51a06c746578af10f02c81fd25b747820e963b5f6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ia/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ia/firefox-70.0b2.tar.bz2";
locale = "ia";
arch = "linux-i686";
- sha512 = "7caef9c279cff439d4aa0db54d295b3441eebb791e3757715cef0867a6253b22c6fb8996f4f3a105b3a1194d4e82762ddfcb36420b57235eda941546abddb09c";
+ sha512 = "0e4a78c9c03e7d87a934023cd0608426794f3e9818c7929b1e12bb300cc11d576334396c1125ceda555907363288726e286f6a376d6e301f386854ad3b437d35";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/id/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/id/firefox-70.0b2.tar.bz2";
locale = "id";
arch = "linux-i686";
- sha512 = "12f44d127ca6071988aeafdd926ac770c7d8e16e6c1346d1aef35e8245744ecc02612bf4a8f0db978922836092115d2b9881ad3e7efe2d9a59cdb33f5fdfcf3d";
+ sha512 = "76b89937f37aedf1534b8e06601c9d59680426a55b3df3726318f438de1ec259c335876a1da31c6996e54c0d9efcc651e1504f764d4b426db2f0d97a1ca1e9ff";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/is/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/is/firefox-70.0b2.tar.bz2";
locale = "is";
arch = "linux-i686";
- sha512 = "067e80dfed79b46d6034ae7d4ac619535cea99733b8c8ecad703df703e99eaf50618d43dd7f9792e797580d97cd65cffddfd8a28e1cb6430b8a2cfe11974585c";
+ sha512 = "17c164cc5a95f3e89e2bbddf58442da84dcfe784812163b68740dd1caa9ab823333c3188abf579601437217e0e9e58871424d1227b4ade6a0fc77e5798ef9099";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/it/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/it/firefox-70.0b2.tar.bz2";
locale = "it";
arch = "linux-i686";
- sha512 = "f849e1249e095066376769e58f93b55a7bc9fdd0dd9a6d36ce4c5b3f38ebb0d410d314ede64cd5a35d2d5e29c201b43107dc67eb3b6d7b66e139bb9ff90f9799";
+ sha512 = "ae37e92971d2f0c6ce322011e66c2857aa73518f1d4e8d26c3c2cf1d99bea8909ff2541146b6789096af5141cd927dc82f91ffb9f7eaa0fcf4276d4782e72a97";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ja/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ja/firefox-70.0b2.tar.bz2";
locale = "ja";
arch = "linux-i686";
- sha512 = "2985fff17a87c95a1d5a0d9b06e90a86f289f09a773ce82d0634597c5c2bfa2d41e4b801a46ba19e477857ab91a4aa16e0fd6a27ec54c23ebca6ea572f0989a6";
+ sha512 = "32690138d8c3dc2be001579602269ab5e89b7509f6d289a4cd0fb50b90e7a9a61ea57af8b064f904833504f0d523f1bab0a03f456fb75c967cc87f3e8e331b9e";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ka/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ka/firefox-70.0b2.tar.bz2";
locale = "ka";
arch = "linux-i686";
- sha512 = "3fed499e05e441f417c0231d8c60241a40d3d47e90bc9562ce7b982b4d659c92448385d9d1e9fc82814c4d5a52558423b4cf6592a2c4121082359ddf422071c2";
+ sha512 = "6611137ec50a1a35b7ee3fa15a2066fd3231717ed6f7a4884c36306653226ee4211e8364e4872029d9b1967f69d10b799a4d58131d082f882e1b39e758132ebf";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/kab/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/kab/firefox-70.0b2.tar.bz2";
locale = "kab";
arch = "linux-i686";
- sha512 = "2bbb2abe991d9c1141ccc271571c59abaf8917270d033ede7e90fb9cb5dccac3fa15212f0965cf20d53bd5c344e67b58cecb2adfbd64d0511a621066d957597a";
+ sha512 = "f06c8fb18639967870bd581d2757ea66631f35b167688f4693198f6d70d1f61985946216410c401f0aa881e566df5a0f13d085e1ee880a35fb9ed21b0fefddea";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/kk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/kk/firefox-70.0b2.tar.bz2";
locale = "kk";
arch = "linux-i686";
- sha512 = "95ef5821fb9a1aecbd35163426fc78a5ce060761416da89e2d98fc0c4b6b09e84dc7b7efb6e8f284689d0b8681c09e29fe19230dc870d05ed0f83823f36fe13f";
+ sha512 = "b22bae385110057cd77440101e27234afd17dc74602bf05763975ebc68e0940b4501ff168613fb664b2087a2782fe44a52589ab9972cfa44f9097513460cada5";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/km/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/km/firefox-70.0b2.tar.bz2";
locale = "km";
arch = "linux-i686";
- sha512 = "7df030ff8a6763afa07b18914b1323aa0e2ed9ee8ae78630951b907c3f15b03b1e80996f7f2014af46b0c6fbf2685dff428c0b41ee2ab91d8372ff768b2f084d";
+ sha512 = "7c49611ba0dfaed7717f385925ccc621f5313496235a90c3851d26f11ec183541553979e6efe67f36faf7997d1e27a15e3d5646f33ed884fd66e6553c93d7db6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/kn/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/kn/firefox-70.0b2.tar.bz2";
locale = "kn";
arch = "linux-i686";
- sha512 = "aa6bdc66712d494c3bc23d3e20f357b1d4753b38a4ec777ec4e53d59fe98e380deac6bf7eb7b2e5d1939d30efe6f14e19ecee26142fa56464f21f317cdd43074";
+ sha512 = "c1fa863fa066a7832975963afbcf63aff6caf702ee8c58e2d54705e61b1863d71b81d7d0b9b8da7cf41d7c950a66820d8e1137a32ef91bb283ffad9b36b84388";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ko/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ko/firefox-70.0b2.tar.bz2";
locale = "ko";
arch = "linux-i686";
- sha512 = "d0214a123b45f48e4a42a37c3c9cf6f836255672c2e185aa6ffd67260bef48869897eb456b3a76665ea64509e621319907e373415497ce9833355ae3c3e12570";
+ sha512 = "8d179e7660331ba4c90f666ad3792064cce4fc551144ae3a8d550f620765e43274ad18ca9eeef988c2a7ea612dcf82dfb65cf225f875b154a4d4a4c11e5d7a64";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/lij/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/lij/firefox-70.0b2.tar.bz2";
locale = "lij";
arch = "linux-i686";
- sha512 = "9c7e0c74e79ff4740bd8aeb66620c20404d4ee85a4dded859f0583b0caa436e7a067e4838996474f1adf8c50975dd9889add78c94f02575ade9880dbdde07e5b";
+ sha512 = "e36bd824232bb3d7d7fb4779e3207cdd504d84861bd0b5b2ced6a29ecb9d16b10e2fb267162ca96452f52e8089a085021869eb107ad8ba5cfdb49f8e42e56648";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/lt/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/lt/firefox-70.0b2.tar.bz2";
locale = "lt";
arch = "linux-i686";
- sha512 = "f5932df1119772d8ed4ee6336564dfd80ae7af4cad6d0c7f273e68ccc878b0d465e79ec660ede6df0916d5cd4c696adb7a1e844d336a84934db4d02d4be96a02";
+ sha512 = "4ec494f1fc2260d73aabd695a29441d12620a8118945974e8a0ca6f21a0e9e49bf8a6378d4409f26f05cef369c990e1432d0b11eec99b98399e994703ba286f6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/lv/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/lv/firefox-70.0b2.tar.bz2";
locale = "lv";
arch = "linux-i686";
- sha512 = "dcbebc94d9da58f7f7c03d481ade1f2460347587c3978e8c7b796a341eedf19d3cb3160c4bf1695735ba34dd0d8ff010fcc4ed721a309e1063152afdd26a5ad0";
+ sha512 = "3ffa772cecb4cea1c775b20b3ce505c2d84a9918c1422d85c5a2bde80c4b1432f223d828343af04c7c9518ae54bd7771e8144b66165aae1bdd140e068d0bda1d";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/mai/firefox-67.0b19.tar.bz2";
- locale = "mai";
- arch = "linux-i686";
- sha512 = "12444b32136cf00da3b54fb8d1e17f0f679247db84b2fd9f66a0fefd933d20951369016d7a93f94b9d447994fe2bd73c928bbd5fdbb30d5c3e09d8a8dfe29c1c";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/mk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/mk/firefox-70.0b2.tar.bz2";
locale = "mk";
arch = "linux-i686";
- sha512 = "ab8e81459ab3bb640bcc13aa78210560c7228c2f9b5ce1fda9dd7a50a8e48e960154d367a760a814ca01406dbe75112ef51069d98f5ae6fec33328164850ae5a";
+ sha512 = "e8cf48b2e4a841c6101ab0759db844dce8865bcaf056dc0d2a5c43653bf86602dcdb337422a8149a4d4527f33ff79509d4c4a3fc221ca50c0f78fac80d7e45a2";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ml/firefox-67.0b19.tar.bz2";
- locale = "ml";
- arch = "linux-i686";
- sha512 = "a882f82d4d9bf971ccf0e447294f76b2a40b53d938fb0dc7fe910ff5400f5acf615e89930896000651155532750e5a25d403c4ee364ff2b4feee0d4107481947";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/mr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/mr/firefox-70.0b2.tar.bz2";
locale = "mr";
arch = "linux-i686";
- sha512 = "758760da136ab2d02c3debe739601029790302436901522768216e85fa61dcea6184f9c18be173924c38d0d391086d6f0ec72f211ef6e2d30514981362c56c20";
+ sha512 = "a6be024f8c41f106157845fec1d5d4a5f81456d76f174883e8bc3d2f1d8dae327b20de89539980fef316baabdaf2cdf058dc91c12bbad1fefa0f374d66ac3222";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ms/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ms/firefox-70.0b2.tar.bz2";
locale = "ms";
arch = "linux-i686";
- sha512 = "3d034977c7416b28cfd892f96dc46181779e9cc9fef76ccc7e5e84a7bd9b1aca22f9d039e54576132770ba9cc17cbae989b2a6fef95aff9f22fa44a0f09f4551";
+ sha512 = "4beb0656f90497f480a171d762d3b85260f4f7388847260faa15bf7835bffb88a2d44657401b5d0680992864b1a4ee8acf6a6f56d3e9f41b6704808f775076ee";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/my/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/my/firefox-70.0b2.tar.bz2";
locale = "my";
arch = "linux-i686";
- sha512 = "27d0b3095c95c214fe1f58548e839f6b8d2a84d932c980455b9aac36947917037ef6858d50bc683a8062daf22157b6984948f593af01ea39912b042025d7f445";
+ sha512 = "98c47dd55ce49f4933a1fd67626a6edaaa20b4945ffa21195f19c9676f284081d32de83047dcd6d0e7737be94deae34fd306484f0ea80527bf0e3117cb67fd04";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/nb-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/nb-NO/firefox-70.0b2.tar.bz2";
locale = "nb-NO";
arch = "linux-i686";
- sha512 = "b7e42d080a5c808377cb5fdc1960a27e6391e3eaf36e35b61fea123c78266d7f5be27e34c5acb0176f9d776990d4b1a9ed59d3ead9028f74cc057ebcef79b1d8";
+ sha512 = "5d51f3e4dcdb82995c456e164bd4875e735029238ad47e7361c2af29c2c22ad43398279dad33356a858e054e268e846bdc72d8a82e869f12d2871dea8f6a75a0";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ne-NP/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ne-NP/firefox-70.0b2.tar.bz2";
locale = "ne-NP";
arch = "linux-i686";
- sha512 = "e919396148024bf95bd49fc00036c0e25889e5c289ab95ace12336ddb6cfb5bde03ec44f50cb7c8f4b7323d467848e7db8b43c80390e5994192ab72699512001";
+ sha512 = "794aee0947e1a3b81534fee16e3d7efef9fe6d8eebd8ec18b8bb120b3a3cdfcb4929882d09e8ee15136f65d88c0d6c25cbf8570f86e8c0f337f86f12fb11580c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/nl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/nl/firefox-70.0b2.tar.bz2";
locale = "nl";
arch = "linux-i686";
- sha512 = "c0cff3321ba4f8df9e46e18b4a4a5054fba6852cbacc10cf1d51aafceb654cc8b25f4cd856ffb7d8f840ed213822ddbb90860d39c8f1a8011eb4f2e3e84ac80b";
+ sha512 = "e63f00aa526cdc8cb4eba86f4b920dc38e0a5f9eaef0a4103bf380f72b9fe2421aa4ee1417bca18da719ee01d57964c2edf21c4697121d70820686ad2f7379df";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/nn-NO/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/nn-NO/firefox-70.0b2.tar.bz2";
locale = "nn-NO";
arch = "linux-i686";
- sha512 = "30fd6a19a923f0b4f08d5bd0941bb332523865f9dc4e5033e36e6a3531ea413ddb14a227bcdc64d3e99d3e42767a0f629be317f2c7b28d44c757ba3404efcabb";
+ sha512 = "d9e30d8d820ef5b07f6814cb5e37e3918b321968229d33911afa815ea6e727f4d3b505a397b60f1c1e679dfb79f9e130de450c10f8946035153f535060b9d4cc";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/oc/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/oc/firefox-70.0b2.tar.bz2";
locale = "oc";
arch = "linux-i686";
- sha512 = "1950ebce9f7c1d5b0f4a66d164315555acf17dac07f419655461788ae08cc95c5db1df086386e62acd999820be497401fee6bbeb02c3290e1158b175ffd5f0c2";
+ sha512 = "94004a03a0b07fb91a30677168d19ecfb29d5613483da62859cc68d9e392f94ecfd87f29b5f3c44cdfbb3fe067216fe4f6db997da2368aeb289fb7b1d83029a6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/or/firefox-67.0b19.tar.bz2";
- locale = "or";
- arch = "linux-i686";
- sha512 = "98c02bff9a4cc0dc725c19ec7488984b208ad89f8a4b2858d324a3ff07bff732abb69b3e2ce946445eed5451cde4f2a8c4b806d221774321b876ed11181106d2";
- }
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/pa-IN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/pa-IN/firefox-70.0b2.tar.bz2";
locale = "pa-IN";
arch = "linux-i686";
- sha512 = "f4eb3b72fa734b3d5e6b3baff621eb59b572c4e481695bdab0297ae00bc4d8b2da7d1728ccefc23513c937e1943e57586a28fd97b87e74b457b41e4a454ed700";
+ sha512 = "5d4d9952600b81a93ed62314a536d91729ff6a423ae9359436e632c9d807b13ac19fd6b1d2034839450ed5ba5411b91afeb52d0cfd74ec84a1924b6036563b74";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/pl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/pl/firefox-70.0b2.tar.bz2";
locale = "pl";
arch = "linux-i686";
- sha512 = "263a62697332df30670aaf24ff3111b8b44c003a3d0710aeb6031afbe56b3946c70c08b71bbaa375d9d45e41d29ec8a5ba049281b8859e5c3628f21cc500e02c";
+ sha512 = "6f3f628b38e06494d528c96071c0ba0738582da37f16a4a28eacbd17aa7574f1ef795c662ad09b8a15637bc25fb6b791e1bc54b3d530031c66450f5f7ba3ca76";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/pt-BR/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/pt-BR/firefox-70.0b2.tar.bz2";
locale = "pt-BR";
arch = "linux-i686";
- sha512 = "d92e3cd9028fcdaaefdca4f2936459bb8d37de528bce9d342aaab7d70e2012275db19d6f22284c4a1964c578cfee8216f1d386d8af1c438c2e1f8f7e00650485";
+ sha512 = "e97eb866f17277db6303c58411fb5f4ef561884c0e5437dc09d3da63145107a8ba5862a8d965d4c5ba38f40930e82c440ae1a26b023f6a212ce177c77df72f4f";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/pt-PT/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/pt-PT/firefox-70.0b2.tar.bz2";
locale = "pt-PT";
arch = "linux-i686";
- sha512 = "7f3fd60929ffc746ffe45559e6a9fa677e4caba9f9208f513a59a98e7b8c41e87866507b4709f64487faea0d62262ff5eddc68ac1fc03aeff3024172c609be1e";
+ sha512 = "81cd5a4c5b2a89079a45826f34ebd6564a929e1ba73dd07efa7d8a8b4958a36fa083377bd0e7b6b1e86a83a749f1117f3e7f2703961e668cced5cbdca8e95c10";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/rm/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/rm/firefox-70.0b2.tar.bz2";
locale = "rm";
arch = "linux-i686";
- sha512 = "5ee7098edb3586dd6d2111949fc23cde561130c777a3f5939bfccd4d18dd14e7094f08e6194dab356a5ef76b49b6f24edf9d9d2be32bd245710469bd27440fc7";
+ sha512 = "2b78c41faea2f3f91be9c21de826e5e8a2533a76dc925458e2f75f085fbce71bda63dfbaedfe988f29ef9384a0ecbf4599174a210269c6adf3f875d227374385";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ro/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ro/firefox-70.0b2.tar.bz2";
locale = "ro";
arch = "linux-i686";
- sha512 = "359f9fcf20954e6b16466e02c6ea15ec965abe82f7fc64b9f5ed2ea68e84ec2e9f4cd8121ad7eb8473af9fd0284b3a518b8b0fdfb894157f9c15712738b08344";
+ sha512 = "d01b01df0d9e25635b85abec0e0ac081beee02a97bc50b1902b271aa4ae5cacb410d7b9644d76785d54622553eeb8f4ca4f85e40c7867c6f99840de570974a2c";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ru/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ru/firefox-70.0b2.tar.bz2";
locale = "ru";
arch = "linux-i686";
- sha512 = "d0104656f455332be9b6bb4d5371114f16901e790b211671de042903fb9fd3151a305526fee5a9851ab0fdf20369948ca21068ba28a0457c326fd3ac3a616f5d";
+ sha512 = "36ac6ec95c9c1e3d5caf1315854324bd0cb41fd6e83dabd81d3af2189fcd111ea7ab8a384e5a07f4618c9046b8f59c3590c6bb8d1a12a2475d19d7d65940a26f";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/si/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/si/firefox-70.0b2.tar.bz2";
locale = "si";
arch = "linux-i686";
- sha512 = "bb3fa16a18e8c7fad30a69de358ee7cd22bca90aedddb40752ee60225220c48322ebe7fd0528d3201964aa3845ccf612351c5563a1fb2781797c631d599f54d3";
+ sha512 = "796878bd3a982443558d042c64520d6cd65c1eb247c6630e1c1073c75be3a2d3e3d4f164deb44336ff536c6a7a81650c0806de79cc3698d6215fb87ff2ca50e8";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/sk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/sk/firefox-70.0b2.tar.bz2";
locale = "sk";
arch = "linux-i686";
- sha512 = "d6e0f890dc03bc5c1e5798d6cf211445b7fac339a0c32cbd5d6b91ba1983f2b730970e21fca503ed39059772cb180a7d372fa65fb3be7ab2c04ffb57158ffb99";
+ sha512 = "48f3179f9ac81ef1c69a44540adf994874a91770eb1b2af51804a791c10540485a61af2b1fd337f7cec86682c5a3df24e8e030add48773459b8ba7caba6e88ed";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/sl/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/sl/firefox-70.0b2.tar.bz2";
locale = "sl";
arch = "linux-i686";
- sha512 = "76f13adfe833ad813730f40bd2ad1cb61636541b50f5d525c1baef228ad9db972275497c61ee2e8f09eabcc9e489215b645dc5988a24d7a209eafef0db3759e9";
+ sha512 = "5ca3ddfef139448e411bb226cd2abb3a8fc4100986a294bedc5bcc4a1906a6b0ab82f6e3d536dfa66e404bd5b7eed671e98cb22f1d082764cc5d3080fa0363f2";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/son/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/son/firefox-70.0b2.tar.bz2";
locale = "son";
arch = "linux-i686";
- sha512 = "a4433fdb4d889e9746cbeee49914984795d25de2397082b3b128e9c4f182b2f4112fbaaa936fee5bcdd144f06c2de64e6cf22fa1d8b9cd96a93dd8e6979400d1";
+ sha512 = "a14b7a55043d2aeec02d1f28f30038e0ffbc3f76df1c5abad04413673d5e6d7290feab39e0ff40bfc35bf993fc49311b0cca38735c367da233808910c2a864f7";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/sq/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/sq/firefox-70.0b2.tar.bz2";
locale = "sq";
arch = "linux-i686";
- sha512 = "d0600fe7da875ba11f8d4dc0cb4a8f992771f4ce177200a67a1bf126689f7e3469e4e8ff3ea019a2bda6a5a6963f6182620d03bb5ce24511d01b58c74bce01d7";
+ sha512 = "ea1575fefd6ffccb7a6ab428663de5e80b48062e13d3424d05b5aa3b86972236839f6a0df7546b5ead27be0a40293f2e9d74472d2756d9fa86bad18d478993de";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/sr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/sr/firefox-70.0b2.tar.bz2";
locale = "sr";
arch = "linux-i686";
- sha512 = "74a0ce9704712a058e1ba20ab58d77735bd09659203cfad28d2fc3330e2eb98fe663f6b7d6be9cc42f864a52f161827dea0afdc3050b33fbc98ca3926aed39bf";
+ sha512 = "8c5ecc59a41613ac259e1f1515e6475fada7cb7c33650722ad9d36005b8aa173afaab254eec004be082bd74406c88aa4754dc3f4dd131b9761fc82778a7dc573";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/sv-SE/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/sv-SE/firefox-70.0b2.tar.bz2";
locale = "sv-SE";
arch = "linux-i686";
- sha512 = "e05b7352032f8bbf9d17d76d4c6239a651a01b547bcd894759012fcd76720edd048202e2e0e64051912a9ad3b29387177eb945d7aba13705db7e35ea5f15e5ed";
+ sha512 = "f6446ff3add515a7fe46af9752206c05632cb95b5e65e19c331556a6e4e304f765f8cfc9cd90fec2892fe7302230a5b3b85c462a557e7074e255ecd94befbcd8";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ta/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ta/firefox-70.0b2.tar.bz2";
locale = "ta";
arch = "linux-i686";
- sha512 = "d4ac1ac26da94ab321871dfd65ef08a672d84f008369ab1782fdd084477cfb07d9cb251814ca67f8ab3abf98261af2add06cb00acb92acebf2af12d25b1156a0";
+ sha512 = "03302b3da44fa586df13d2f20faee5da5e82151550498d7c0e0fc70efca8a98db47443bdd0289fe90d602ca53c1e82c9f610cc8432fefe5c99878faacd0c9153";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/te/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/te/firefox-70.0b2.tar.bz2";
locale = "te";
arch = "linux-i686";
- sha512 = "8bc26d5c59483fc72d46561d4b1af683a1e6560a43b481d234324af1c330526e27347d29107cd89bc368bf35d44c30fcc09a39c26356597749c4bd209c284960";
+ sha512 = "49b3921154e909685e8e52a892a2af322e650109fa6b17bcebd62908e71b5b30c0346905c2422124629d93e1cded40b6f81222ad4871057ac482c1df7ca3b53f";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/th/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/th/firefox-70.0b2.tar.bz2";
locale = "th";
arch = "linux-i686";
- sha512 = "75ec5b50f13b1d37fb2e2409c21a99e2b15e98eb9337dceb339acb7c6ded768afe1bd2888aad4d3c125e91e5967f10c4374fd3d1865cedcedbeb6287ddc8518f";
+ sha512 = "497da9beff43403f2b09da713474dde509ea2a71145fc8006a852536e4ab71a83586d67d6b7238b3b0ed3d135db6bb2716716b959463b13d92935f2b1ee147ef";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/tr/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/tr/firefox-70.0b2.tar.bz2";
locale = "tr";
arch = "linux-i686";
- sha512 = "755d05999c42aa732f66677f94b243120d7322a038bf8f19e34fc2991690ba0217f773ea5572e818e5714b8e5b7bf3c45a4b191ea0e2c2faf7d04d51d1645b6c";
+ sha512 = "43762b9401ad7337e0ff00003a07d374271ab032a4609bf9abb1fc3a69ab578e45721395d06aa4fdf41e15a71bf503156632b5e3d6f94b5d6e62592c78a267a9";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/uk/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/uk/firefox-70.0b2.tar.bz2";
locale = "uk";
arch = "linux-i686";
- sha512 = "52d1820452808579449df7e4fa0fa2f2973f40b0d31174ec1f14fd6501c0c18064787f58faa4d756e25b12986f806d8cc4e1a3d78271c2e3b54b803ad41dea6d";
+ sha512 = "e10bbbf8a8f899f2a7b57bed9a846d6b490303c456027b034a750dce6b21416415eb0d9420629d008d901ab903e7c643fe7ad5bdf5aab511da9977d536d71ffe";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/ur/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/ur/firefox-70.0b2.tar.bz2";
locale = "ur";
arch = "linux-i686";
- sha512 = "c2e30a3b32f86132787434e7de6d8c2e140f4b5c75f63b00db5a8dfbed51291f7139c3a26ca0d102f0414db61beaa5cd9f37e1a1c2f0acdafedc611ac7609690";
+ sha512 = "9155b7efa37b299ce74ed6faacafb354947430265a34fea9e101a9f0947a57a4a3b001bc7b583002ea08d3b7f33074926c4f6184b563fa5a1811b2b7a9b05fd6";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/uz/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/uz/firefox-70.0b2.tar.bz2";
locale = "uz";
arch = "linux-i686";
- sha512 = "e5f35c5362c734ea8aaa745bf1dfe1a7464ec7bfdaa676e0f14fb590154788ccf37f0155d8a312dd631cb7d2546ff5de9fa7564de6e277ed4892e7897a6c8aac";
+ sha512 = "a3a3aeaa6cfa114e619ba9685dbf9d796015f26b9fbb4529f69d17f8c40c0771d58ff044cd4f97123096244f29b964f1756868e35b5dec3fb79f7b32b7a31ab2";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/vi/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/vi/firefox-70.0b2.tar.bz2";
locale = "vi";
arch = "linux-i686";
- sha512 = "85efc19f8def4652f8d287aa5748946f55688bb5716ccace6385036e1e36a8da471bea0ccebe45d8b64d77e97c9edefc29c13f7a4bd1556220b55aade33c3ff5";
+ sha512 = "167a38acc587a4479fcd15d1e47f34e0412e846a0689a119c1f382ef119bfab3035450326d086f6c8efd67a93300df234d53165609c47e94327b4415f40d88c3";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/xh/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/xh/firefox-70.0b2.tar.bz2";
locale = "xh";
arch = "linux-i686";
- sha512 = "b7fd22c86d0529acbb964ed9c6fdb84d4e5030191f53c7dbb736e9202422607efd1e5784865913db4c1639b32c2a2c20eb6344a13c2c16051b2b49336b9aeda9";
+ sha512 = "6a0ab1589a56d6563431d2e5f01e6c01a65be6865cb4b4d52a21b6438727d378ded049730374d3400603286104e4e05f246829b9a45513998db6c9c14597d6cc";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/zh-CN/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/zh-CN/firefox-70.0b2.tar.bz2";
locale = "zh-CN";
arch = "linux-i686";
- sha512 = "608563e45e7c19a39ef085b77cbd8a82fdf77b69833bc778028e538e2d4cb0ae6d0e7c9f8c8b1b54d816bf23fee8c432566cb2f5baa7d9095afc92d29915b232";
+ sha512 = "f3e20c68a34ba6aca4bffd07d0bc1e5676ef7f2d9b56aa175431825e90221255bfaa76e40a6fdacf812172317deadd3e3a29756331ccb09aba5804ae58d2ca8d";
}
- { url = "http://archive.mozilla.org/pub/devedition/releases/67.0b19/linux-i686/zh-TW/firefox-67.0b19.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/devedition/releases/70.0b2/linux-i686/zh-TW/firefox-70.0b2.tar.bz2";
locale = "zh-TW";
arch = "linux-i686";
- sha512 = "36b947d2d168294007845276762704b8d6c9d30f4f1d1ee64f7335a07fd551fc64580e05bfeeccdfb84365d40c885b885a6e63cab9c611f8d0570923d3446e18";
+ sha512 = "dea1df5beec52f0d12e18907922bbd2f27b4a20c87874c199d04671f636fbfebfc1d64bf0c8935ae41c139d4beaf08e164aabe47da8be67d4855b1fb924aabfb";
}
];
}
diff --git a/pkgs/applications/networking/browsers/firefox-bin/firefox.key b/pkgs/applications/networking/browsers/firefox-bin/firefox.key
deleted file mode 100644
index bd27ce85c94..00000000000
--- a/pkgs/applications/networking/browsers/firefox-bin/firefox.key
+++ /dev/null
@@ -1,254 +0,0 @@
------BEGIN PGP PUBLIC KEY BLOCK-----
-Version: SKS 1.1.5
-Comment: Hostname: keyserver.mozilla.org
-
-mQINBFWpQAQBEAC+9wVlwGLy8ILCybLesuB3KkHHK+Yt1F1PJaI30X448ttGzxCzPQpH6BoA
-73uzcTReVjfCFGvM4ij6qVV2SNaTxmNBrL1uVeEUsCuGduDUQMQYRGxRtWq5rCH48LnltKPa
-mPiEBzrgFL3i5bYEUHO7M0lATEknG7Iaz697K/ssHREZfuucB4GNxXMgswZ7GTZO3VBDVEw5
-GwU3sUvww93TwMC29lIPCux445AxZPKr5sOVEsEndUB2oDMsSAoS/dZcl8F4otqfR1pXg618
-cU06omvq5yguWLDRV327BLmezYK0prD3P+7qwEp8MTVmxlbkrClS5j5pR47FrJGdyupNKqLz
-K+7hok5kBxhsdMsdTZLd4tVRjXf04isVO3iFFf/GKuwscOi1+ZYeB3l3sAqgFUWnjbpbHxfs
-lTmo7BgvmjZvAH5ZasaewF3wA06biCDJdcSkC9GmFPmN5DS5/Dkjwfj8+dZAttuSKfmQQnyp
-UPaJ2sBublnJ6INpvYgsEZjV6CFG1EiDJDPu2Zxap8ep0iRMbBBZnpfZTn7SKAcurDJptxin
-CRclTcdOdi1iSZ35LZW0R2FKNnGL33u1IhxU9HRLw3XuljXCOZ84RLn6M+PBc1eZsuv1TA+M
-n111yD3uDv/u/edZ/xeJccF6bYcMvUgRRZh0sgZ0ZT4b0Q6YcQARAQABtC9Nb3ppbGxhIFNv
-ZnR3YXJlIFJlbGVhc2VzIDxyZWxlYXNlQG1vemlsbGEuY29tPohGBBARAgAGBQJVrP9LAAoJ
-EHYlQD1/DRWxU2QAoOOFRbkbIU1zKP2i3jy/6VKHkYEgAJ9N6f9Gmjm1/vtSrvjjlxWzzQQr
-kIhGBBARAgAGBQJVrTrjAAoJEMNOV0fiPdZ3BbkAoJUNHEqNv9dioaGMEIpiFtDjEm44AJ9U
-inMTfAYsL9yb15SdJWe/56VCcoheBBARCAAGBQJWBldjAAoJEAJasBBrF+oerNYA/13MQehk
-3AfkljGi252/cU6i1VOFpCuOeT7lK2c5unGcAP0WZjIDJgaHijtrF4MKCZbUnz37Vxm0OcU8
-qcGkYUwHi4heBBARCgAGBQJVrSz+AAoJEPCp59zTnkUulAYA/31nYhIpb7sVigone8OvFO19
-xtkR9/vy5+iKeYCVlvZtAP9rZ85ymuNYNqX06t+ruDqG2RfdUhJ6aD5IND+KD5ve7IkBHAQQ
-AQIABgUCVaz9fgAKCRCzxalYUIpD8muMB/sH58bMSzzF9zTXRropldw7Vbj9VrRD7NyoX4Ol
-DArtvdLqgPm0JUoP2gXINeSuVPpOfC676yVnBEMjIfqEjq09vcbwayS+Ncx4vQh2BmzDUNLE
-3SlnRn2bEWr9SQL/pOYUDUgmY5a0UIf/WKtBapsPE+Zan51ezYSEfxDNfUpA4T2/9iWwJ2ZO
-y0yIfLdHyvumuyiekJrfrMaF4L9Q0OnJwp1PwkvN4IVwhZeYDtIJN4nRcJK5LrwU7B97uef2
-hqBBll7/qCHl5y4Khb0csFanIg+pQLPUJdIiYtzoFtlgykB61pxqtU9rqGKW02JzEUT8DdPU
-XxmMBy6A8oGeBRH/iQEcBBABAgAGBQJVrRdcAAoJEGVzgtv/JREKQJgH/3nD/3/SumL7nG2g
-7Y1HQqWphUbn40XWvjZcHq3uBUn1QYXeZ5X56SANLM2t+uirGnNaZXW3cxEl5IyZVLbmcLWE
-BlVAcp2Bf3FXFbdJK59f+M+y2+jZT9feTyrw+EtLoiGTxgkLdJyMyI0xGmQhMx5V1ex1CxhZ
-K2JPjzCVYriBI0wIbmKi90YNMQoSsdMhYmX9bHl6XWS9TCDWsqj25FLYJL+WeVXpjO0NjRwE
-E6pc/qldeJYG5Vbf0snGxIerXe+l5D8Yd4PEAnpj58+5pXeoGYZn3WjX8eTFMAEU+QhLKWQ+
-j/Y8Kijge7fUxnSNBZ2KEnuDN/4Hv/DrCFLv14CJARwEEAECAAYFAlWtZVoACgkQ5DJ8bD4C
-mcBzsAf/RMqDdVHggQHc0/YLt1f/vY9Y7QQ6HwnDrtcNxxErSVcMguD8K6Oxir0TMSh+/YuZ
-AW8K4KSgEURwZqz4na8/eOxj8bluNmlcAseQDHswqU6CyB95Woy3BocihH7L0eDXZOMzsa33
-vRQHBMioLxIbpnVtVbFR1z7tmyfjcOrzP32xo5QoPoczKX26luMBjAvbw1FC0is2INnmUSYM
-4uH7iFZuXGPFYxcAqODqy5ys3MoPa4oZ71d0HoiRil1+s0Y+2ByddZ19pE2TXp4ZXNYNUj/2
-aRj8b4sTjR4rqhHIx/vfoK+VCNy/skFUZOyPdbbymE0stTRSJ1gr9CZLcBWYF4kBHAQQAQIA
-BgUCVcFZcAAKCRCJFz+VfFX5XqApB/938p+CJiDRnh2o7eDWnjSyAu7FWmWGkOQnjI/kraKx
-1vojsYnKRXD6mjq1QJ8Hsp4taJnLQjcokNTUiST4m/e4ZJExPWuJKkwlralWGH6NpqYcgWPa
-jSYb0eYQC4YqS0kfyzolrHdKI8Y4NGEU7yy5zsHwWkHt/mpNQMrYnXwyWdIrc03X/OXo51dJ
-yshJDRw3InREyBblFJcLvArNHz219wMrXAicPytw4wfPpVrmDx6GrZcI8q8ECWCjwSXXv7hR
-pEuFLSy5XPhMc+wYBJjNlUoiFBAF/7zENd3rMn9SCQLiIFYe0ubmO+bpeGy7TizbxOaCIfgU
-ouyy0BQXNuJBiQEcBBABAgAGBQJV0hrqAAoJEK18uZ+CSLoPzEIH/1D6sJMNAJtZCRGhJXvv
-6SYhv4pUVNyDF9FnUvRsovliojoe4IkuBTWKhPGrxbiD5IO/izr38shqNhhm9JE2/SQZHObY
-Pi+lyfDKbJgImTNxmS4F7JHnRLr37VxK1sVvuNkynJnqvCcp1g5xwNIx1rKcka3iuqJj6toM
-8XQfgsTHH1rUkWHbUV3QwNzXm+yhFm2s6QzxBooPzmFn8AY7CXD4pvcMR+M0Zy+e42nngd8l
-zRnmTBVig4pRq0GCMulFG+XjeVQZFpoIIxo2k1lczbRmGttONdGWSjxBUxReoTbSwM3C/50N
-robycGQgY0gd6LGtWtU8/uEfklEy2NluxYWJARwEEAEIAAYFAlWtAUYACgkQVu5xjc4OFUs0
-OAf+LM0dyyvUFGdXfJDpP2xMknXzsHAXWFEtH5jein58mv6dD3fTVcCouo1vMQH3WFFSLYZv
-wtNnHGrSBqFbNKqZ0ATQ5tcYaWsSZ+MVJJMXJDXFG/Oihg1nNOM33VdfV0RGPKP1I4cEROxm
-s3TUFkHW3cSCgMzs8I1OxfSoLrm6da8EN+2ct2InqzdQL2yisyTyrdmXoNpwXDxApKYkvVHQ
-4+9eJI5m0ZAr0mBjIeJdATcw4/lIVKTrV7UhrChxiffYJcz4SSC1crmr+2Fzw53CyAsAmYal
-UHep3Yr05oQ4oJRX9X3VrY/yELHwwxXaxCAdwwHbbXAMhZsPk9Mc20J6BokBHAQQAQgABgUC
-Va0isQAKCRCj1lIXO3Y+j6ZeB/91Q9/qr5oMWgOMsix8kflBLw2f/t+tRR0SWDw90bG1npJB
-6nq5Hl+Bz4/A4SWFTFrrrlZi1Enjn1FYBiZuHaSQ/+loYF/2dbQDbBKShfIk3J0lxqfKPAfK
-opRsEuxckC8YW1thGxt5eQQ8zkJoqBFTBzwiXOj3/ncJkX9q9krgUlfTSVmrT9nx0hjyNQQX
-rghsmBtpR7WCS7G7vNRGCNUorhtviUvL+ze1F7TTSGspVsVxo2ghmz5WT/cD9MV1gcVjojYm
-ksh5JIl39jCHr9hl8aRId/OfzsN+TKuBcpAxDkm9BCAps7oY8FlLKDFZTtHa000AkodKHT88
-nwnvKuqPiQEcBBABCAAGBQJVrTkDAAoJEPbQ92HczOykK9YH/0MARo3HlYXeS2bDqM/lwK/r
-QcPCCyYke6wbICjncbCOjgXHqG/lBhClNs7hp/7gqkUaR7H5tmeI4lalP40mSHHnnFvMD3Tc
-yhn350igK0bgrjWQDaYxhKlHT3vIXd/C24/vRSAxmqIKbP+IoXOyt2GMTQq8GOm2dgYRaTkw
-yHnGWnMaibctX8D4oCYR0/D4YJqPkfqobf8+1ZfP5GaMbSxE/Jwdo0kJa4vPjEzFXbygAbnc
-apzdwN6zgel2zh885rz7B7vIpMr/Y7eV85Q68qdyyhLe8cL8Y18YPzpFf+/PZNbgYxouafvn
-FwBhPQwg0gUF/+1eM3UE2ua+saSTGduJARwEEAEKAAYFAlWtCVsACgkQM0LhtmejiGMovwf8
-CfYJHNbwiwSMUoP4n7FrmElhBtxvlbnCMZKz08v+lFsfS3wU1LUN69GqirfF0vkQRSlSBp7n
-iCLHQCfSoqHMLgxF0P2xgXLjaYM/t/rxXDawJmW18G04dqFrtCPZTbwMT2PsPHTiWQdaN0e5
-0lXk9Vo+l6VbwQMg4zH7icZadeJgQooxFalHYFVXUVeex9t8/YdanFVrHFa3tao6azBTSUkJ
-vZtIu14SfxigDWIIwsx0xpVfJf3a/xC6HY3Q1a3NeBz3i6DwaK5wYqijZKl0WVdULKyqU98o
-F6y0mUv3d2o/p07Cqgeo6xxMkHqu83OLa2a0C7tYPLgL4EFc2FtikYkCHAQQAQIABgUCVaz7
-KAAKCRCWO3gxCjexfKxrD/4npm1rB7+pPlotbqK37Mur7egPbVSAzVNU/zUKPAuGUeP3C64Y
-N77ETx1kDuS+meAqMDHFc9Bf8HivPbtj6QcK96U5KstbmSh1Ow9YiQtxJgxGjg/CzREgZAFc
-jy0MhoklyPsFhv07s6MLOJMSM/krEN5nqjifQ0WdmTk02FLoHVWcLdjfgMiPiSjGbU3k7luv
-jPyRNzk831szE5mfa74rEYh4TBklse+2uB4DFQ/3oHZ1Sj6OBK6ujmNKQjIP7Cl+jmjr7+QK
-0OJcRaj/8AckDA5qXTZACh1S2syCDDMnX0V+dTxGCIoWOK+tt9mLohMzpEeD4NIX4qdpbbCR
-zeYZMHSomyBIsbA6B+/ftDE7W1N0/FtJ9adkkCynKULvh2CH5c5hgOOL22M+2spnywRoeJRU
-WU7hBM5OUH3JjA4Tu4j/cwp7dD7QzZrzmC9f5LQJ3OelejvVowWPQd3/tky4o1q6wlmFqAcA
-gtu97UwgBOSR9sJPGDlt1iC91UYAiBQQAA7ya8uXUS84mCQwTlr8j+YrowvEHK4IxpPREytT
-1LzzV/4Am4ndDFtujy83QjL0qaIIim1xIwoEosd4yidhpczw7f3b9dQpuBIFeQuhM7JsxP4t
-mE7S6k6GlEmqa3INPVaPGnsUGS7+xSMlcJXLtimPCSQvFma9YiGV5vtLy4kCHAQQAQIABgUC
-Vaz8uAAKCRASy06X4H5n0dg0D/9QoxIh9LRt1jor7OHG4xKUjKiXxn/KeQNlJnxI55dlWIvJ
-EJGheFjaDomzKBYuxmm2Ejx+eV5CHDLUYsLFYwWf8+JGOP75Ueglgr8A0/bdsL63KX6NP2DC
-g8XR4Z1aeei3WMY7p/qMWpqbQoAv9c3p49Ss2jSNuthWsRR6vbQ9iwze2oaUaA44WKQyhhbC
-wBU4SHYjlKCLqIBh/HXZFhZ4rDfuWgPBKvYU1nnOPF0jJRCco3Vgx3T9F+LZ3zo5UPt1Xapr
-3hMVS9iaJyl1w4z2miApUaZuHPuWKuO4CJ1GF1mS5T6vG8gB3Ts5zdtBF2xQIkCz+SM7vW/2
-i/82oq6P8EuLHEhrQPR4oTjXIvXdEJ9kgbjqcj8Xk+8teEOnuwh6iEhay9i/bf0D3Jd+roFN
-5dnWPxhOVjzrI3fwlK1/ylsZYqUYBEzt7Wj0MdhjeKssI5YICcqYXXjBttMw4B7DZXPFXzz3
-kHB56jZ/II4YUjpLO85Jo5A9SV+aIqa0mvCt6DvVWy/rhfxfoUdqNlhX11gkVLaA7xxgn/Nq
-POf+h5hVO2mwWkmart9YHKMZ3ukCdke65ITL/nsYSm2ZhG7OYjaCfu9jPWtkBstOEWyT9q4J
-TdViR7wN3eMefEG6rb49rxOYvGJu+cTVkp3SCpl0w1j+tPj4tkj7ENzPMXdnuYkCHAQQAQIA
-BgUCVa0s4gAKCRCKsTKWOgZTeuMyEACKOySKAd/xDcPcHg7Prvdws04Z8DIR0dY2qUlbRVx2
-jTmIXyry63CqbOJFbDg9uk5x0+lSotvrWtZ+NKSrg9VM6vyV4cc2P9rhqIBi3wO2elzAmpOa
-S2KKOjQ+2fS/xqh91ElJUu09xXQXJ0vMrqgui+zN1YBDiJV0WOmm90Mm2NPiihcWZmBmDorO
-qMQabwbjBLi0yUVHgAlkilY3mAB4tmEKDeN+4pYSAAhXAll9U+nyoVMgwMJscZyazOp4MqMb
-mFjyr4p5AGzv+OOJtjtCNKT6oW9Y+URLY0YKeOsPk0v5PlbQCVBlLeSBsNZudKav/Gvo7Mvz
-5uLTcneBFb+haYIiXO/FQm4uBHkzdNFLgaph81Wzh62AhbtBlfBOj/lbzN3k/xRwo64QU+2Z
-9GOhFlhjfROquY70FCQcspwNuqCdZybnkdpF2Qrr6Pi0qKR/Xb9Vd7PW0/gKQdwwlYTiDemg
-A21mYeJrYw873/7U/+kLFRvmPAEX4IOIOEN6XVjxvu78REi6CmXxOoYnH4aRSXDRyi1nsGjB
-43AtfAMMNCUigDgFP4sUsZAG1RAoxBhOsO/g9S5wx8H3rKITCXDjQh2SYeBwHFcU03EMcyzE
-QhbZNighN+aRKGIibteRxISiKU+kcWaHolemeo6wGF87QXEpJaQ2OwIoIxQYvDDmQokCHAQQ
-AQgABgUCVaz/8QAKCRA/8xuvEEv54t06D/9n1Nyn2QSUN1mXd7pomoaka+I2ogDbQpu9iuFq
-bkqfcH3UuG8yTKlPp9lYDBs0IEfG85Js6iVxJIultocrcDmOyDkyEsnYbdel/tn3X4yqD8eI
-6ImRoCE+gnQ3LoEIHuODfJoosM/jAHANs4fsla4/u5CZDXaaq7pYXGiTt7ndsfmLiCa7dAg7
-bVFfJagsnL/VjlfeWM9nW01rDL9LPxSN4tq7ZKXWZDonFZYJ4unsK/Cn6Pqco4Wb+FUOWCcW
-t8in1pgeNHZ9WnAgXG999/3iCbbQTLB6uVwY4Ax5P7VApnLVXV6QFVf7bN1DxE8kZk+pfLGc
-uD1LJSF0skE80M17kAt+iV+fam8EYzeGdG6cY6w+srndaMaq9ddiHIiQkR35SjJAGnrNRj8o
-oUr/vKOBnFfuwJLA2MOUVPZ8HWB+WXW8qhihw9CXa38Hdt4o5knMGRIyTWEF0TQDtRGQ6his
-VBN3OxJRXBj7/QgCG/GoYpweGKcsMU43p57TzbnXVVUytJsLFyexOGNzrUIxgDVPEvTUnNvd
-AihNZPdbW3YdFkP9pdwOyDpQwebXELUx1kp4ql0laueex4L1v+0a6rDYQeK1gOq5UGY+THRS
-gB2xsHl5zeryfgnjlUkUlxKuumz+9FI2fRtSpxmWllJkRF2oFMGRuLPGAWe8nHvfgkuGVokC
-HAQQAQgABgUCVa0bowAKCRCVY0f2+/OkFWKREACZ9TOmzvY6mrfWVEdldcYPj8cU/1LJhGdb
-No5YYMx+A72nchxGXepHA65OEK+f6rFMeZFPwpQPy6Sj3MhT623H/PECfeG87WcLOyJbfc3i
-9T5jvxS+ztG6abYI2J/50oMvjUWdWkDX3VvdPc0ZZ+KC+oHvx9a/9Yki48m4CEKglgVsrRW/
-b9AXZQCj07bB0GjQQtkqY/m1Z8m4ttzxfO7OBo/jHNF2An4/4gUDirXNDj0UdB5FYFJaTEUC
-neIj2x0fk1r4u6na8tINhiZ0M7IgjnDlBD5jwzvwG+3kYE6TnYp9Mfeg2MPC13tp7jrJatLL
-utrOzvmSVLGLXbkh9w+v+vx7qO3TxZUNlFqTmYs+vI2V/9j7KYV7Ttoind6Io7X9ImnYrvd8
-JOyVcO3867MplKnrnqHJvFStE+JcHEcw5aRw+WVmoFd/obGc34V3K62T977QQGOkrTYDEdje
-KADfjXXZkZMZc0IvzLBOJ1XB45+PKqJYCcJJS8Xr55+NGCDaaUPWDpkNGIqmX2n9kYROMKG6
-uWkZIqG0JlZkga3THSJIvLiy6uoOvDC4GoQ9JnTwpGv6r1Hwcg+4DCOrYKOoPKMMU24vHx2F
-tRRUgCXtr2cmi2ymHlUrtz8EXS4tblic8lixcbvPUqLEvbJ2gfWQvjXNd1whYE/wfvI9WBTE
-IokCHAQQAQgABgUCVa0b3wAKCRC8FzAbSRs/IQhXEADiKbCnsN/+Plllxn6SQHACEU75ackx
-+Q02XiD/u+wUptYUGmJi4aaW9f6mgzedOxYK4S+/dCiFtkcYlL+FjaR0C7G6tMjrDgW+8nQC
-TPUNQA0gX2B8n06a7Zmdv3EbV/PIJJwTNSBp/dqKbvPKnRquOOpH+ayZ3awKOq/LlWBErbW1
-gB+FabN0lCe0iUIQTF9OH3GC4QsMtIrePueBmVrVPcHATV2Vw9UPqX1uX/tlXm5eai06oVT7
-V0FwUbg0o1eacblNXvHciHpe33zZIKkGBWwSjDVcU9/SN+U8GfoMYmyCma4iN3KaCklpzBkJ
-iQZtNKPAB5KJti8LDUxFi2sJd3sqWaZDGFhO+/PKhBKpqIhAzx1ppd11zLgh0eg6gQlXN8D8
-ELISRvQqGGNNZdChEFdzGElg5SMfmeEd37OaX4wceLLV0v7EA0doHMVo0enFhSwU3Ywtwxbi
-ukKc7H/ylG7+jvntjY+z7KktRsY/FkklrbrNhddMBQMMSAQUUz1GJ+6NUKmzXjqxFuuh3OAh
-qNzhJyABZWQcNMph+rogEslkenwoHV9gWRWtS3CMybJkKkbsWpYhMZNY6hFtgCwida7NPs83
-69v+yTTE6TU/NIlXUKYIf2LMqtOpEBTjaN3jKpUi5DeE3zBeh6iVKUrfCXbt8O0rYQPNWGSW
-+MZ2t4kCHAQQAQgABgUCVvA4GwAKCRBE9G4UbQI5XfS9D/9XPK7jg0lmsNZ2sDIyeAw5n6oh
-SR5F20ocTMAVeXqN7VkvJdNpIqHJa13EP408DgTy9BsSptym/OQGE6B82BU7FZTEL6eMHnGG
-Dg+5ktx9+b73xLedzK75ti6ED+QuA4kDYcvW8hASht0zRcmFUzwbtuEopJ1Lk1R3oFLwCAov
-lhduC45nANWrTK5U+D1U2obl5PAvx+9mEfgvojlGH/C/WD74W+cQZFH7t4+muRzamckLyPft
-nTxjNF/lpYIm7z0QOwvzBYj+PJ09wYueK00RE5+i9Ff8DrjtVSXsziQvSjJuUlv0kVvM8r3t
-h4zBBNRhA4cinwqxhgqO4G+r2r9Gv0M2nKKOnWmyF+MSIRnhgONOQZe5a7kQxKVWkLicS2IG
-UpPeQyTWaqZzYXsD+Dm6DXD57vYTURtUkwO0CDONzT5XiS1HG1MZrw+V/Jai4HAvpF5WkTJX
-Pc1Lv75BxJj3wOAw4MzEWCCdr/N/dt5/+ULpEaSQfIg4L4iEj6rvabQyN0KbOxIDx+pPQ81i
-zfj36wIrDqhyCNIdmVH/yARltkL4XDEl/pt7Y3t6jqFhy057lektowClWcPeq3DoL0LFYnjN
-PpYvIjRIAXdhaYiAu2ViF8WdGzQ5tFeI7u3PQUG5NcPe+WOPOru3wMMrUhLgLHkCdNkjivP7
-9qIPSTkCGYkCHAQQAQgABgUCVvA48gAKCRC3hu8lqKOJoLRMEACmlyePsyE5CH7JALOWPDjT
-f+ERbn+JUTKF+QS0XyWclA/BIK8qmGWfgH38T9nocFnkw17D3GP8msv8ll+T4TzW9Kz9+GCU
-JcHzdsWj99npyeqG5tw+VfJctIBjsnX3mf4N0idvNrkAG5olbpR5UdsYYz62HstLqxibOg4z
-WhTyYvO6CjnszZrRJk0TYZON4cXN14WYq2OTrMaElx0My8o1qVBnK58pIRzv72PmvQqUk5Zj
-hUyp9gxjqqCJDz0hVK61ZuGP6iKK8KCLTfSxeat05LAbz8aC58qlg5DVktevHOjBgnTa8B7B
-gJ7bQ9PLMa3lF4H1eSiR9+8ecpzEfGHILoeIDIYH7z7J/S0mTgV3u5brOMYO+mE9CEfps85t
-VVoyJrIR8mGEdtE2YmdQpdFzYIYvRfq9tnXZjVsAAsC20Smw0LnjhYzAt9QJwZ9pFMXUTg6l
-C5xT+6LNrEY+JR3wC16q36bcbCNj0cBv1A3x6OI5OQfpexhLPDgoDiI+qozJIdj8MzJ8W6KU
-1Z3yb3dqACk77yv37rGO6uduSHnSti26c/cUIy6XZBbXBdobE9O3tr8hwvTQ1FXBmYnBrdiz
-U6tgxEA5czRC9HOkdk6y6ocbjmONpF6MxkpJAvTMk7IqC2/hisbV9x4utla+7tmNZU137QGc
-aK2AGQablVAy4YkCHAQQAQgABgUCVvCMigAKCRCkhaDtUbi3xAU7D/9gUPZSJ8pbZV9TLaKD
-57Bc7B78HNV/B438ib4dI33iihMTBHnCB1giPE9X54QoV8ASxrO/xveS1kkj78jERqUcED6Z
-HhMLb9SWs6CxUKdMdgovnIlFUc+t05D5mb6STi+zNihwO0JI+n79qhETy73WLpC7RR0aMx7z
-Ycbqp3NWPptcf1kVGJZGx+QbEHfVye98T5pkH5Wp+7LSlup6AldQT/oifxdGxLXbECTnwozR
-vyMpAaphoEHrET1YOmKnmw/Jyi6DLpTb3XvSf5Tntzr7HklCEcL9FvYCoHxiXWawLhuPhSyr
-FYeYtF1ypmzTgaJWyuTZ8sN9J+y7Tbchk/I6FpX+3YoTgPCcC7hv1Krs803N/3KuyBEvhzg7
-NYRikzO3fxXlBG0RMm+662E7KlERU24izbWhGiYwl34+MaxrIO4oDvF79LEN7y0+SjL4V0B9
-689d+HI1ZfS9O1xkOlW6y0QyagOzsTOUF12s2mWydFmipbYnIwsSsu6Nzk3yO4M+qYABJXJ3
-tIFQPTd7xqmPNlJ8mFtmzHDhb3Pv6sRNFLLujYM9cJpuNMbAHWdohz1bjBT9pZQ3zWpll5wo
-tUvGmJd6hTAXdUgmZ7lh7Uq6axClMmiLe1WYntcNpb04PyyEm2+GU5x123UTiSX2LGKa4t+H
-NSM8nJL8BJiGk80xVIkCHAQQAQoABgUCVa0OAwAKCRDDvTXkbdRdpVR+D/4/37e8WqKOHNPt
-eQu42sj0ZOfcqyVMA9TQ578F0s9MwoQuqfVhXGSWevOctuMv2qTBjBfFjkdPrKR5L4LNAgMs
-u1epHU0DPcRZUCbh1P7GpolmZ8KgnjT5Wpl1AcuOCaP08VMrt/e/JndTHp6btn6HsLVtryNh
-lL7oaeYbDr6/ovHNGHVIVSZgGP9f4Y8FiDpyfKav71vYLBMxtzM7lc3eFT1S10XhSW6k+8S5
-XldYWkLDriRXDE85C+9QndpOoQaIICp3ye3JVnUxa1qhvsYj9uPt1M6hKiBSoXdplrB+hQc+
-nqLNN3jxpGdmGmwrjtjqMhocMIguEqgARJOek3XKOppEhu+IcnJgU4edARJNLsBauiVBWY/6
-mZOFlZq6H48tVyziS2n/oIpi+aCc/fQeGs9zMTtFUohPfYtTcy9PecXMOYpSu4p4tQ07oucn
-xfBkRUgTdM5VwX7YwTcRwp9XhHACUEGBhrwMH8Iz+sK2jLF3FhJGkef1vFs0vqSf4I8DBFkY
-AKF848YyEcGHeINQloi3v0Kr2PpBxlRh+GPWwi++QPKXQFzlTiyVtMzoo/lpmAWUJwj0dbAb
-H/mohtvWtA1WPHC2JRZ52JLThhpDrK3t//Jdt2WHE91cMx7/2B0PK4O8/j7UVlsOJXpVPsGX
-5SFCeTB/iS4JtIwWN275zIkCMwQQAQgAHRYhBFnKni0qMx3iUaokJ18Dx2fCR6TVBQJZDvZC
-AAoJEF8Dx2fCR6TVoGkQAIjqaQ7tpdhDJ6ORNtLIt0TsWg0jg2rpoq+9Au36+UYBMuBJ3Py/
-tAsZ3cqQlig7lJiQqOuQZkbg1vcY4Kdad7AGa8Kq3sLn8h2XUlNU90X0KAwdCTA/YXxODlfU
-CD2hl4vJEoH/FZtfUsaLNHLmz0brKGrWvChq00j5bPfp90KYKqamGb3a4/LG4DHL4lmEBtP+
-+YA0YqUQ3laOvKune2YwSGe4nKRarZnFiIn2OnH9w0vKN/x9IMGEtc5MbQVgGtmT5km3DUuX
-MDforshue6c7ao4nMOC96ajkWYZhybqHJgLOrEGPVUkOaEe7s1kx4ye9Ph3w/LXEE8Y8VFiZ
-orkA/8PTtx0M9hrCVkDp0w8YTzFJ9DFutrImuPT6+mNIk+0NQeuDsv492m/JXGLw/LRl97Tm
-HpKME+vDd5NBLo4OShlDKHwPszYcpSJTG9+5++csR95al3tWnuGX9V0/dO1s7Mv0f/z07nLB
-/tL+hEpqqA5aRiGzdx/KOrPZuhCTyfA3b2wvOblwf4A/E1yO7uzPTuSWnx1E14iZuaCPyZPX
-Eh3XSYCLEnQ05jy50uGXCDVR+xiE/5i/L3IxyhJk6zn5GOW5b8Taq5s/dFS3zWiFS6l0zQ1V
-QmJH8jdGLoBFvdVLZoAa1bihLo+nJVPR2RauWnxWoWk1NQoT3l02Lk6DiQI4BBMBAgAiBQJV
-qUAEAhsDBgsJCAcDAgYVCAIJCgsEFgIDAQIeAQIXgAAKCRBht7Um2Y8DU1CqD/9Gvr9Xu4uq
-sjDHRQWSfI0lqxElmFSRjF0awsPXzM7Q1rxV7dCxik4LeiOmpoVTOmqboo2/x5d938q7uPdY
-av2Q+RuNk2CG/LpXku9rgmTE7oszEqQliqKoXajUZ91rw19wrTwYXLgLQvzM3CUAO+Z0yjjf
-za2Yc0ZtNN+3sF5VpGsT3Fb14aYZDaNg6yPFvkyxp0B1lS4rwgL3lkeVQNHeAf0qqF9tBank
-Gj3bgqK/5/YlTM2usb3x46bVBvwX2t4/NnYM5hEnI57inwamX6SiMJc2e2QmBzAnVrXJETrD
-L1HOl4GUJ6hC4tL3Yw2d7515BlSyRNkWhhdRp1/q9t1+ovSe48Ip2X2WF5/VA3ATfQhHKa3p
-+EkIV98VCMZ14x9KIIeBwjyJyFBuvOEEIYZHdsAdqf1zYRtD6m6obcBrRiNfoNsYmNY4joDr
-VupI96ksIxVpepXaZkQhplZ1mQ4eOdGtToIl1cb/4PibVgFnBgzrR4mQ27h4wzAwWdGweJZ/
-tuGoqm3C6TwfIganajiPyKqsVFUkRsr9y12EDcfUCUq6D182t/AJ+qE0JIGO73tXTdTbqPTg
-kyf2etnZQQZum3L7w41NvfxZfn+gLrUGDBXwqLjovDJvt8iZTPPyMTzemOHuzf40Iq+9sf5V
-9PXZ/5X9+ymE3cTAbAk9MLd9fbkCDQRVqUD0ARAAr/Prvt+mhVSPjNDPSDrTBVZ/7XLaUZvy
-IVggKa+snJoStrlJGTKKFgDVaYTOE3hP/+0fDdQh97rjr4aRjd4hBbaNj0MzZdoSWYw3yT+/
-nidufmgPus0TIJMVO8I6rl3vgcfW/D3ovNrLW/LjkTuM9a+p+D1J7woCfMSWiFMmOLPKFT7R
-BuY8edCVjyA6RP9K9Gj1sURSeqNaHR9Gr4rW10s+FwUHWxxzbmIWqH0gApQYO6vyND5IMcKO
-BCWQU6Detuq1pQ6dUc+iF+sEz3Rk3C6d4WBBjtkVJSJ0KKan8Q3gJefOCMNhdRQDjZLwbzr4
-bgoAkLbaBFCjiZxWZ6HAdMfSCV8uZQrtMS7b0DUpY0vdH9Htl3JqOOkK9RorYDQBuPdkTYFI
-NsmtWVsFV/LmR891mOF3fBRaoVoMeJVwiZyNlFY+dyWWFzLp+GoTLcQtmuR7OkmOcBGxWSKP
-cZfPqhf4dVQud7bDR2RNfJ1Hqa5kj8Z422sseYDwHf/T9OWWYvLwKGZhlUgpnzO3WCGrd/6E
-VNeC1mKXt4F7BmADov4Rdcrp1mPXiVt7oIxLaS6eBNf2y1TWzjYj5ZFuKqIukDEJfqpwsE5a
-snCw56nae+7luGs8em1J9GEXhWzXG15UVyQJaFwuB1iL8l7VcEQz4ABVrSTUWLLAKDsyqUbq
-2gsAEQEAAYkERAQYAQIADwUCValA9AIbAgUJA8JnAAIpCRBht7Um2Y8DU8FdIAQZAQIABgUC
-ValA9AAKCRAcacTlXpkF2y/FD/oDrZm143Rv9NV9InnVJ0brpqbB7aulFfhR1LDuJ/GjeqGA
-QgJCZdHlzT2pfCXXswUlYzcWEatvGcDkoaB5Ya2qs+6nhBk8pT6XYRrZAtIlKIGrlCqoSBm9
-HXguGv+EIaEECr2z/Funx9so0mP+5aJn65M9u3lPmuAonj6DcHoM07WsfsXvQ4ut3fabFmzi
-lLGeAdEDKIw8Hn3JBUOxUyFrQlOoL4/3qK1TO+cidz/2bATQQyIG2kNOSgHBslU+e6/7sWOQ
-4ufmzm7dEsf197zPXGdXR88LT+d2uU2K4GkCffNUKxZqy9bXxXPwr4JBjxLDQnDvl50GAWjP
-ZAwXEd8Okwl5+8xp0HuZ217WUqT8ib0oUUfwh2H1vrMPRr/46i6O6THpCkV8BWF7axPYIiba
-eYwC4BkjZwK3tIL5ESf2f0xK4hbE3xhMTeqABQHoXd5rQ7SEaUuX7PlQ59fRs0Cz55vH8/o9
-zMm0PN6qmZFvRBeqjnklZcu+ZdP9+CMXt81NMuzIK1X7EfpkUoam8YkYkwcCkRvPZrSHLXZF
-kfnx4jW543dPOfycjnv6hhKyoXD9CBx0ZcOicsYmw9XMilBGD3b8ZdK6RYX4ywKNU6KUdFJj
-XB88+Ynv6QxDit1emMCHA1glzV9/k36iYLEIqgWBiwJeUUIcUqzgnBFtN13cyS6oEACUGUiP
-Kbw3IkgGW19ZyS6FBNfgGIGW0Y82Br0KlCyaXnX0R4+4u2h7kfR9NSnhRhsvRnPIkiZATa7D
-+Ew1nfpsDTnti0c6g/gVw9TC/rCyXkkLztRHVcWEBdvnFJTSp2LeFaHSGbvvZfoIGUzyUzoa
-1P98NmRIY1cxBoizVf8729/zAaD4fAslxoK/JsjjDvDUrRHtaNZmUle60Jl/yFFzR3zxb+pJ
-liigoP2rZLt+ipomHJIhoXXWwfkRO9U/egJ8ZUhWEpZvROnaNc9eVct5EBADxL7gHWjlceIz
-4ndI1eE9AdEZDdUZwOfjmK2DcXjFBfZC+jhJXjY0xh3pPKQz90h9DIkM5WDcJPf6ep+MKSd/
-3hI2/JmmscQ+alwN6x6g8zDySMo3APA9cUvEFGe0+CepVcNw03jU4faSrHiMXsUuVGbA2kHa
-YVUfzF5W5GbuHZZlGxoSiq+K+HNG0RJUDa6bkSDvrcJVNw1iUrowP+LLwnNsy5kGuU4evnwc
-oN1w7LVbTPaq4RIaiqvAD33kiA9q//UNKnK4k81z+hRNaWGliyGpgqh+V7MDIqPfT5TMLdH+
-ZjTeuLrNS8KBcc2BmUpSwzdUReTqHmgO5peeIcsvO7GNMFWsgucZiAdIVE/zQv+SfP6jhS+r
-jCPs0eeu5zl8/V+gXFE2wy3jTJEl9bkCDQRZS9m1ARAAvh1Nh4GgjpTFZy7uQRFz5PPXdZTB
-I+Y4hTpF2heoFzZDI6SLyz64Ooglum3ZglQ9ac+ChTSsO36aw4b22kCM9WDmkcl7wf21fG9o
-8gJDVjFjDWbwTWREaKjgS6s/Yb8f9gje/BGySojxynTi3zyTUN94q9dhVjfiQ79UzXZdN9Fy
-yIx2YO5tOo09hTWSZg16oxP47Mj1ATaS6UIrQMcMnOp0kuc6SufXPSWsUA+g2lW0dmHgPvIH
-wUfcjWqT2elF01e9KOFe7im29G6zOS2MRx8cr6KRg/eNWpHh5aI4quRUhYk4Kw4ohQTbs9ed
-0YttS4PMK+sq6xHpb28X6ZgrWnelPY9hfwcR4m7Ot3VQUG8JY9/aTlFCoeTgkhop+MCUI+dJ
-eY8depIa0PTzdEmEWRvPhTTv+CUdZ6v4z5LD6FhP+/5c6FCbcIb89Rp5fa53oYV5/KZf+0DU
-VgmpXFU7J7ZrGgDeU7vIzmwr8kcx0vtsVm1dVwYLACpTaaQPbISQUDM8sEcqKAqD7hWKaxNs
-b2M85L6q2/rnHq4g46yJzdR3b8EH+V9u+mUi9DIljDwcpvw7ReRQ9wPdDWLynnglIeGImbjY
-fr324yaIl4vNORAkbsoCkS/qc5v6MvKvYNle5fzb9S9kCbNZmD9c5/bHPjj9ENeQvzrl2pFh
-6dc1o5cAEQEAAYkEcgQYAQgAJhYhBBTyZoLQkWzdgeN7bWG3tSbZjwNTBQJZS9m1AhsCBQkD
-wmcAAkAJEGG3tSbZjwNTwXQgBBkBCAAdFiEE3OrF2WE1uRxOpnKru769uyTG81UFAllL2bUA
-CgkQu769uyTG81UFUw//bW5T7w2k8ukGfpIcm0gB98VgxKenSCmU6N+Ii0DwcNtzW+pmVWl2
-TbHIXDpvuD69ODWBDMXu6gBkrVzNEsK3uhzGe0tWA+5I7Vke3iEkbll7VRQlIOrw+n5NMvje
-uDqKsMt1gMEEdgRKddYApEAi49vV7XnqkB2lLKfAnf6o/KqPm8MuQ+u0xYanupZCldwdpcx5
-rybj79Es0iO9Gh/+3qOtR6ubOz3Vn78Lc3y6AP9pmtdOI2QX8foGK4hNmgHSP6uPLh/ERC9N
-ir0Lc2hoEhHEkQ8CnEaccp70r03VkEQuMJQJPUyRsGZ/gIm0SAm9JJxWHXJk2/5NUN83pHAX
-0LA4zxtWs4fVW5f8v9eIhFFPTZ4au+/cS9D4GFx4mlY34awcpAzrny2tntGEejY9HSJv4PuF
-ZCmtyS2q61N9EU8yuBwVM9cp5HntzG+OT4HYugtI6ibehM0S1Roy4ETwT+Ns41ffhCwdYMp8
-tzdeksQ35s7rkB9OJHj+q2dkGaV0FQb3FutbSpxbP4zk/dLqyxuivdUPHGtf4W/qklxzCWBg
-0VDFA7PwatmEXRxTjx77RelTY0V7K54dDyVv3Jh2+FzuaQZzzuIhv4gtqHntaqLnYl3h/QNL
-bOTE3ppvn9RUSR983Bd+M3QhbbwZrgG1m+hdUZUmji+wbK0wV0xHNEH+4BAAjbVzdNOs7hMv
-jY1wVDRFjvICVorNdNdU3ELy/9BAoiwOs2+zjDXmsX+3YtdzwKvdpQ24O0TvH4Vo3BkvKkJ7
-5EU7LroAbYQ2423m1MY3eaBslmX7TUJ3XE+k7OZF8AmcftgP4nhC4IQSCtoBc9+ncyGN4da1
-BpYO7b19tO0/HST8GHSrEcU9bGGdimS2eNkSgybA8wF6K0K9yvrpTNSZ7OBVlzQfEn8s70Gy
-zs/d6C/rTA+defnv3AMaciuINSEdFyfYq4wjt5PikvgceMAAkH/z69xTNg+6q3FQt/lyK7xX
-5qPMe2oFyDA1H+Cb/uL7ioo+jXh9gF+0fk8OP2IPzxYhBfulpVtgclmOuaekzaKeIv8NFW7G
-oA9OghziExePxg95OpL/VyQ7PJiAUj1pFovFk5HS6ejVZNEGJ/A5zLc1PBIcr/phu0luqhXA
-hImsZS6858GWQllWULNWw8bX5Blo8AvcfFVdq9iAK7aHN7g45ZR7Ze6qKHDyFv4XWuE/rj9C
-2mM/GAstvU0gGmbo6B1mNGMJuX3Gd3dG8fqFjE77OB2feJyfZ8UeF1nvG1hxlmuD1A5e6/os
-O9V7kjhXKzM2zSO11zHQ/5PlUisoUBjJ/QIK4v9RBNGtbRKso5X9Fke692lVgrdggDJ3j2Qq
-MuTo71rAVDLtxerc+GNq0GI=
-=YjV6
------END PGP PUBLIC KEY BLOCK-----
diff --git a/pkgs/applications/networking/browsers/firefox-bin/release_sources.nix b/pkgs/applications/networking/browsers/firefox-bin/release_sources.nix
index 3f5d08e2288..38670735110 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/release_sources.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/release_sources.nix
@@ -1,995 +1,935 @@
{
- version = "67.0";
+ version = "69.0";
sources = [
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ach/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ach/firefox-69.0.tar.bz2";
locale = "ach";
arch = "linux-x86_64";
- sha512 = "bd13f2eaa912fc16087c6faedcf8aed20ca1bee842eab9c88b2787d92b8f639c6420a99c7192d5fa9d9b4f5d52f83e2005f115f990e503b9e24af407bd31733f";
+ sha512 = "300639491b6ca69d7f594df35fbaae3f0e452f8c5280aee71f64ebfdb2592f3948ea2b936f04f01660e3b296e07650b72c583771a90902e62ca3efaea67d291e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/af/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/af/firefox-69.0.tar.bz2";
locale = "af";
arch = "linux-x86_64";
- sha512 = "883552af262b8caddf0406d544acad5a6379ac685842ea2f637b489998993a3b717cf9ed4aeea79f5fbeb66f980222a702fd4e4dd8153259be5ff15422193db4";
+ sha512 = "5da9dee3ec659045f282dd76c821cc62ac20fda014ce04fdd756ad0ebbba73f054f520f89e227c5b6590255e275d0cdece2c2c16e42733c7395ecde18f42f2f4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/an/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/an/firefox-69.0.tar.bz2";
locale = "an";
arch = "linux-x86_64";
- sha512 = "997eae193da0d2b025b687db2df0ea8a773a96399c75b9efbdd82affc6fb4150761d70ac5b934f217177b54fc5abbcc0a8f2375e90a021bca7b168c485721af0";
+ sha512 = "7ef4a311136988c57194e9388862f68b30cc4e5f9c4303da4105389188abb4453f592e9d0819b337e7ef9b482a76df19a9d84a06eeb287f93dbc7e43a41bda15";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ar/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ar/firefox-69.0.tar.bz2";
locale = "ar";
arch = "linux-x86_64";
- sha512 = "de3d693d2f3fd5de93c6e732b5780e1ebb775ed0cc818af75f22ac7c505c9a6852872ac59db3cf3844e26a3ac3643c9facb3a4afeb0050ba485a5577e7ec6649";
+ sha512 = "a16636cfced17bccf2932e14c6b4c2260c713c538d774802c1dc8598bc47635238549a4332c4cf69b3d3946397bc8f2ba5b330be5716dbb8a81570bea1acc5e1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/as/firefox-67.0.tar.bz2";
- locale = "as";
- arch = "linux-x86_64";
- sha512 = "681c02e6b1a4f26937751f01d3b272cc242afa7be5f5bde45b8bc90e8c4ac7856331cce86b850d33a5440f8f0c4b08a6c54875bcad463e83c686c093068a1100";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ast/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ast/firefox-69.0.tar.bz2";
locale = "ast";
arch = "linux-x86_64";
- sha512 = "b60e5ac3ab934bbe43aa361132624621e963e4f272fb4e43c091259644e2104591e82a51a7b3abe99a3e79b31d2de37ce0b405fd66700333e292948a36691bf0";
+ sha512 = "2239a47cd8869cb7cd50820e1faef0eae66245f04cab81e36250b4be1ae3e7619a994b68c2256777636f8da8fb10aee781715b11bbd7ea857300b7a5afcb085f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/az/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/az/firefox-69.0.tar.bz2";
locale = "az";
arch = "linux-x86_64";
- sha512 = "728ab5cb663166f91d0320caba207aaa9cfec9974ee605f4d0aa977af9392aea632d5b494906f3db8848cff8bcafb9e44247b7afb56316344df7ed9de709311e";
+ sha512 = "d79ad1be25e9eb3123ba89a5589abfdc58e161bf3ab0c90ff3306639f1a43bd80b9175695f7d5a24aad7c3fb16a616bb90eeb67d2f3f820db5b5b5556e774cf8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/be/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/be/firefox-69.0.tar.bz2";
locale = "be";
arch = "linux-x86_64";
- sha512 = "0d8a8fd5efa732a5ce128203354eaffaf36915ececdedb6246c50fd98a0200ba79b99f1e9ef4b8586f4a6672206e3da5f509dc27bf473aabb455ebd9c05631c9";
+ sha512 = "38b340353be185502214945665b846ca73f1ace1528f0426ae702d8dda88a104f79a879e99873bc9f418a753572ab3bd597a9f820f0e0e94daeb21e05793b90a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/bg/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/bg/firefox-69.0.tar.bz2";
locale = "bg";
arch = "linux-x86_64";
- sha512 = "d7ed4da9b362082ba6cd26121993f762b32de8ac0a9c509e2124305850522224a94c06150a06ae2d776d05824555c1c7ce2c6b0dea384fe310ee3afd63791a7e";
+ sha512 = "addf46d8ac6a823d9f1a00e55bd814abb27732484560399aacc7f704fcfbc7d239380c0857df7a4d445fac8724caada49981c2dd4ee288f47c63a7613aefed9a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/bn-BD/firefox-67.0.tar.bz2";
- locale = "bn-BD";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/bn/firefox-69.0.tar.bz2";
+ locale = "bn";
arch = "linux-x86_64";
- sha512 = "f72228b5db342270b00c994657649c1c907eccff938fb0104d33b73b91883a2a8214310442d0e7757c48c317c973a5c2f010630e93c036a8b2918158d6453541";
+ sha512 = "3d0e90b85b5d91f01ae4e84182d071f9b07436a3d9f088ca9178a72140a7d3fcd6c1506b7899ec7bc6ef82a6dd132ea5345c2c8b41c1e2977a5d1aa95f916453";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/bn-IN/firefox-67.0.tar.bz2";
- locale = "bn-IN";
- arch = "linux-x86_64";
- sha512 = "994f69057e6b01f357fe550ff096d8e261a7a51522bf8f882457d64dd65baa0320af212427949f2d4eaa115506e0f935217d6fcd0f903600b329fd4993fe9e6c";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/br/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/br/firefox-69.0.tar.bz2";
locale = "br";
arch = "linux-x86_64";
- sha512 = "d525a701c3a69d9bcfd405f19fbf4a5bea08af25c8aa4c42561d7133c8b40102a172c7cb2b7bee6e8ed084795c05623a174b2b9c5fbae3017678d983029d469f";
+ sha512 = "aae8493b79569b0e096193c05de56197e01c9f8f7e89b8db2d021bed6ab6e553af4e44c36ad66d427e80840e631d7b85f8c9d1c5ca17fd0bb94a0bfdaab94d7d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/bs/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/bs/firefox-69.0.tar.bz2";
locale = "bs";
arch = "linux-x86_64";
- sha512 = "f63abc3c422462442e8f6d1a07fe17e70c1f48bf569587baafa25ea7f401eb459f9c2de42577eb6ad5f42184bc82514e0b55da7338970d7b1ad0665cb4f07637";
+ sha512 = "19efd698f911401b32b3affa6e5a371566eca8aaafde96e38704e48871f69d4e6c4c3a8f189519f8b8022ad2782ea5076e53e75db9c1c12e504eb31c827c243a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ca/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ca/firefox-69.0.tar.bz2";
locale = "ca";
arch = "linux-x86_64";
- sha512 = "af74fca15fc8e7977ad820e68bb0745a1a640b9206203eb6d7891fd2b861387d859bc19fe520b830b41ce54695447b1904951c663d5e39b89a90672a4fe4d537";
+ sha512 = "527d672c469bbea18d727e276fd53ca26d65a169f665b32190c6db47c549e7e3155dd04c65fb2720e1d45658a3c8c1f2567f62fc807a8993bf00a2cf280db548";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/cak/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/cak/firefox-69.0.tar.bz2";
locale = "cak";
arch = "linux-x86_64";
- sha512 = "e0e03b594ef9c1bdd481c37a184d46d74b17ed7f0ef9efb7e2f22a94a05dad66516986e6b907825b1793e9bc2c4154e06430199f3d636660071f010d5b0f99b8";
+ sha512 = "def5f01b180c354ecf2248d36f12778a2dbb5df8e376bc1eff4eefe3cb3b383cdb1b03b7a83784325ecbef330e5449687b36cbd239090973f1bb3098717bc2ff";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/cs/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/cs/firefox-69.0.tar.bz2";
locale = "cs";
arch = "linux-x86_64";
- sha512 = "372487ef14fbc6300f8a349ecadde66eb4ce76aa43efd7aeda76b0387d86c7ce48e14e8db96a6939ce1919869852f59de307e74bb181cde71748bc0a3af5ffa8";
+ sha512 = "5490aff5d9c693e22104607dd8ef342fb3ed79905995854930c7eee876cb2da3f940bf339570b68f008557ea16312af614ef65895a6831c22849e9818ea91b52";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/cy/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/cy/firefox-69.0.tar.bz2";
locale = "cy";
arch = "linux-x86_64";
- sha512 = "38274afab73b5feac2f91a20ec8308ed195ffcd5eb700a038ce0c3cc969f926290b0ae4439d29161d206a4e19f6fbae89cd61954afd1b72efb3cc87e5887ad0f";
+ sha512 = "9b5e9518f89a9777150fecb25951ca02c232b526784161a8b55aa09b4cab9ed23743dbf62c5f365802beffab4c62d5991da83b138889d7894e5f1b1dc2edcb17";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/da/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/da/firefox-69.0.tar.bz2";
locale = "da";
arch = "linux-x86_64";
- sha512 = "694113fa37c868a14fedfe6b5b13ef12310cef49cadb363632864a1bb94128752dde20f3fc6afe8b1bafd16ad7b077a9ad6c71109b82e2b805d2d08be28e8cd6";
+ sha512 = "9482ccaa5e3ab92522f60a28571c020c3acce55acbd7c38d7d4f7559396cb71ea96a47210213d1ff15a0d97fbb1a3b6e07453d09ace9cdbee13381fb68829bed";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/de/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/de/firefox-69.0.tar.bz2";
locale = "de";
arch = "linux-x86_64";
- sha512 = "205cc9c7cbd9178c43b797d427c6d8b0ba1cf4402bdf8b2b2a8d08baaf1bb60bb1b3ed406fb3d3983b64c0b353e54230d992288d4ff09e44aeb708dbb88cbf34";
+ sha512 = "055948aa2b9ef551d0348b4a24437648cf7613446cabf1290ce429c0ed70c7f2b81ca82f0dbbe9359a0bdb6cce673f9472a3fe74e1ef8359ff3fb8903763a7a3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/dsb/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/dsb/firefox-69.0.tar.bz2";
locale = "dsb";
arch = "linux-x86_64";
- sha512 = "9afed55b0ea1849b9939f6f6620a5e5b9d312b453f0dec7091fb8223e5a02cd56c7e7c010f274a30e97668b7f029643487bdc2d5266e87e0ace2f87013bb6e34";
+ sha512 = "a19cc34132f07635eebfc0d521c0177cd24f8c800f9be2750e2e653e8732fb93b39343eceefffacfbebed5656ad4ba0fb05557bd55e993f27c3327b171020f81";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/el/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/el/firefox-69.0.tar.bz2";
locale = "el";
arch = "linux-x86_64";
- sha512 = "9252dae6819ffc391c597d28fa7cac4dbe30658fbe88c06075cf5cde78130dda3d42222147a98ebe12e55db2dce4a629b4825d64b4fb8c829f8919c7daec9e28";
+ sha512 = "f70a195f748c546fd76f5f2e73a379eda8a079475b3e03e67af41c8b0da1ddeb70c335ffa3f6019b406e49944c329eee1ac600d8fcd2daf393d0348d8bbb8048";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/en-CA/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/en-CA/firefox-69.0.tar.bz2";
locale = "en-CA";
arch = "linux-x86_64";
- sha512 = "118036bec1ec81a1353d5e43fcba49cab5f759f01c05cee3757346e7368e190eaca08e4b5a50922d0a7b2fc8667467e2f62114c60d3a03dc866d4a19fb6f0938";
+ sha512 = "eac808b225a6ef8162ddf82d8f975d8c0c77a4f8aec110fec017dad38ee4070d4a754f74566cbfe4d8dbbd65a022e1f168c2ffbac3f8ce84f10fb3eafcd114e8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/en-GB/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/en-GB/firefox-69.0.tar.bz2";
locale = "en-GB";
arch = "linux-x86_64";
- sha512 = "3d2e2f8e9de36281b5679201bd632d546269fd05bbb802a45484d0e5c75678b2aa1560afe8e711878eb36f6d1b1e10e784e7fc9ba600ca8407bcf6cb2c2bfed5";
+ sha512 = "ba5d57b5596aef987b07354db04bd930fee66a58672c246c9769b2205f96f8d80360d1d212e560a7897ecca95f0b10385eb9d947c4b71126cae5d4893a2a7a47";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/en-US/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/en-US/firefox-69.0.tar.bz2";
locale = "en-US";
arch = "linux-x86_64";
- sha512 = "fa6572a1dddc8b0563250e0ceffe4df3394aafe2995a82b9055900695c28c3069bd9afd8e55fa710f7f8f046524c0fa92cbc61478154cffc6e23aae8b3ee4e06";
+ sha512 = "f4f57ec920bed699a986512dac01adff30fa446ffc35b50039f9b321d4c5a1ede9ccd311f81aa3b7a0ed844a5ba4de1e676ce50bfe138f69f786e6d86afa790f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/en-ZA/firefox-67.0.tar.bz2";
- locale = "en-ZA";
- arch = "linux-x86_64";
- sha512 = "d843df8bb67d13f402c134a341db1ebaf1f6c989a797d50de2232ba7082823cad40d04ca818c00db9e24919df02eef5c240a3575a78285333a2ac2c56a0d53f7";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/eo/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/eo/firefox-69.0.tar.bz2";
locale = "eo";
arch = "linux-x86_64";
- sha512 = "00de95ec91364c1a45dafa5f2a90c7e27fba1689510d4c390822b15c23dccf7921d312533079e4c3f9748377141801d762004f2e72adc79c6b3dd56eea220aca";
+ sha512 = "0697adf7b3b68b1b11018c690868a28389c2579f96886d5e2d70c7a66abd14778291e2f7efacb3467022dfcb0368bd2d04814aadc7356a536791e0613026db2e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/es-AR/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/es-AR/firefox-69.0.tar.bz2";
locale = "es-AR";
arch = "linux-x86_64";
- sha512 = "7aac4213376dc8e797ebf2ea9301377fb1a9503dc2b43d9fe8092186c871234b1b628a9d0cba5dc8b331205b91ae96a49629a195ec9ebca68507c01fbe6ef220";
+ sha512 = "0adc717397ddac8b49e5d86bbd702d122ce0f09add74b2246a98d2b686cdebfecef1011dfca5b54752671c7019b153ef9994e983cdcb78023b35e166177bd6c0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/es-CL/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/es-CL/firefox-69.0.tar.bz2";
locale = "es-CL";
arch = "linux-x86_64";
- sha512 = "5a9ef07bb61870a4460fa7279f1cfca3d48c71fc8cd7b708cc717e1f310d5b70196219ab855d6d272c9ed30f8a65aff9d56d15d160da45cd95ef2b45d9326c3d";
+ sha512 = "fa5fbee9d58121faeb0d3a2d17375410e7eea9e7a92b0f803c7b922c936b78cb8db55f9dc6745d9fbe12474a5baba5e7c11e2a83426b19c29bad0262cd046fd3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/es-ES/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/es-ES/firefox-69.0.tar.bz2";
locale = "es-ES";
arch = "linux-x86_64";
- sha512 = "03649671ae73569c3378b12f9de04bea366670c6005f73fbf247d8fceebde4572b3f408905515bacc721672de720f051cbb997ca8f1627fbc6e245014b262f3a";
+ sha512 = "40d61b149da156b3008b131a9a4cb46a00c05a700e72a84575ce33f0b6dcf0bf317f64f54c1b0a0e6b03e817afdead048c530ff068da3cf8cb4ef53d60e57ea9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/es-MX/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/es-MX/firefox-69.0.tar.bz2";
locale = "es-MX";
arch = "linux-x86_64";
- sha512 = "03e04d2e636806f10dce66afe2602bb93ad5ef911189f272eaa1414d07287f5ab83e4fc95c65fef5c5cc9e050b384a3fe83bf8a1a1f3027a8d0d9171ba747759";
+ sha512 = "518bec00e953c8adb7f5c7a0ea460b9d92b0b001f960e31ca5ef1771e74309782056760593f7f976795acfe020498b67d94f80f87fab37469b0c219e86c0158e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/et/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/et/firefox-69.0.tar.bz2";
locale = "et";
arch = "linux-x86_64";
- sha512 = "b7a5b1ac669615f9d54c8f05693a529286b0028d64a20d490d89192894397f204beb7dfa36015715c493012c5d98985507e40ffda8a512229524f6fb51d73fb2";
+ sha512 = "7a5fd6b36dee306446d94d33150004115da55002ee11ba1daebc6cef7d1485e023dc08d9cfdc419d76b7c1335bd7e0f24f3cf197a31003c71569111f5edcc316";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/eu/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/eu/firefox-69.0.tar.bz2";
locale = "eu";
arch = "linux-x86_64";
- sha512 = "e29bf62382356861e5f27193af8888041791a18e3400bd3f363335b6d7feacad170c324da04d6a719de45e146e6d0bfae8b8510e9bc5bc1bf337b3fcf3594980";
+ sha512 = "5ac8e602ee20afaba5b7501ecb3af0cc4358d61a729299eb6189a932af19d86f409b66853576ae4c259bb14df43003b395dae7f713572babce62bc549b7ef0e6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/fa/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/fa/firefox-69.0.tar.bz2";
locale = "fa";
arch = "linux-x86_64";
- sha512 = "715c176902bc4554ca01381aec9286c8ab22955e7397cd0fb85b3600c059dcf1da33999c13103344231b6740574c0c96405f452d642762ba0f10924d9bfeb1c6";
+ sha512 = "7e0e98538caae2345b88e9e9921b1eb3e8d4e226950aebe6a9b6d927aab47d40e59ef93fa33b0b175460db44e906e64e3f4974706ec0b3d85a3e6ed1adc99a52";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ff/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ff/firefox-69.0.tar.bz2";
locale = "ff";
arch = "linux-x86_64";
- sha512 = "551abf97052c1fbe079454b6a30c5f920e7a3f7e733b14949bbdd19ef9b025037fb0a0cdb9571186e451e4f46d2a5f56ab54dc101805c1717995c3d0ae1cc470";
+ sha512 = "02cfea4fe949c4105d5cf2836de867c21c9ca8fb73cf0b3702493d409cb36a70f9f195c53d755840d7696500ea7e1a03f4bdeeafaa67833ff60aa96d854b14c1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/fi/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/fi/firefox-69.0.tar.bz2";
locale = "fi";
arch = "linux-x86_64";
- sha512 = "571a54c29163b9cfa7cdebbc4f54a7f4e8d00db350a78ba091c2b1b8dd497f17ecd06224d70bbc5a000389946b98415b6364f1025b012f098890a6357f36585b";
+ sha512 = "470e499c26f9120d68904775e9ec2396020b91dfae504bdd6219d2932e5588240f9f25458425895c2d74fd6aa4c9c525f117f0a0f69adf98703af2570cec40b5";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/fr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/fr/firefox-69.0.tar.bz2";
locale = "fr";
arch = "linux-x86_64";
- sha512 = "c6eca020c0bc956b3091a32d1fffc8525a17d37aca125b6cc52e8c5bbc0a1732f2b39d2c9d40ad9f8da39d27f92349052c8b11d70eed14ee077ef2d85411c44a";
+ sha512 = "44f4df351b0a34bd3126753a785f9a36856686d9df9648c9a3a1f678dcbca9585c19b576d6deb31967aa9448ef45aaf602558e87040ef19d1cb812d42c5894d1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/fy-NL/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/fy-NL/firefox-69.0.tar.bz2";
locale = "fy-NL";
arch = "linux-x86_64";
- sha512 = "5290df5a5744e5923373d779dc44bda0eb43dd188ac8f625b2650fdc5f473f609b390e3a35cb2f2f58af7272cc03d8810c6196b5849ecd048b779c3376ade26b";
+ sha512 = "1f336759e304747cfb6932dd433c31123b153a04b4600952d0dc622b442901e1642acba220508373b915caff68e87e026ef54e24eb5c001a1e6e3f4d1b9736d7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ga-IE/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ga-IE/firefox-69.0.tar.bz2";
locale = "ga-IE";
arch = "linux-x86_64";
- sha512 = "9967754d5dab1eb69a3d253d968ee25742f5620ee224ba025abd1f1ae563c9f85ff9749836664782c588e3bcbcae9bd08fd10ec614d435b315fea684f2e58098";
+ sha512 = "dc0109a75094fe53caa78bb5c02257118aa9c992b4633cecf8a6e60a5daf4fdf488aa5e5309233aa1882bf69e3c8a01a527c2e2878ab9655c4810b3e54244ba9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/gd/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/gd/firefox-69.0.tar.bz2";
locale = "gd";
arch = "linux-x86_64";
- sha512 = "44327023cf1e4ca72c8f0018c5d9a9d7f372cbc58a26998ef76fc1564a8deaff9ec2029bb39e715ae3c38291b400761382c26ab26ec5e16fa12c041361c9d8ea";
+ sha512 = "69362cd2b58066646dc62ad0022d82ce6b010ade0abbf779d7d3ed7b9bf6ee808c848a9404c3beb966751d3aed0d3a5da2be3f2b262580e8b6211a3f8444727d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/gl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/gl/firefox-69.0.tar.bz2";
locale = "gl";
arch = "linux-x86_64";
- sha512 = "221dddb179376531facc1f81cee84f395af32e38c243c15dd570fc049b51cd9ce6daef9d5c6272a7ede8a6455422785ee59d081a61bb0814ff29a11648df88f0";
+ sha512 = "787a3a454d59daabd81cc734f15232622f3e2cd0253c98c10fcfc5eb47b8d329f89740474f7f754ab6f17bcb50e1fee38012df9183e061629490582c677da68f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/gn/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/gn/firefox-69.0.tar.bz2";
locale = "gn";
arch = "linux-x86_64";
- sha512 = "0aecfafdfb0d0a68db10de7300af94546cbdf3a404ab6825e050273b0fc4fddb8fd4e5a64c11d17a6ca02452f1f2e66fa346e2c31e9f67135a2386e76673f0ab";
+ sha512 = "cf05696e4b0e3ba6c9316166f56e99505d4419062d77cc0438d0fbb66729d354c59026018828ec7d46db4f99e6367dea9911d4bdf7e80ba68fe32f8e0d5c09c3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/gu-IN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/gu-IN/firefox-69.0.tar.bz2";
locale = "gu-IN";
arch = "linux-x86_64";
- sha512 = "2210350d9201b82d4580ae737be85627fa0a9081ad1a546344a758bf06df806933dbd85fd71d914d3b2f374d6aeb1b5e2622c441af20076c00ae9fc49c55c36f";
+ sha512 = "0b38a698358012e0cc3ff1091b82d1eb82673f124b34ee4156cc36bb49d5d69efc32874de2a2050339e73d6f386f6d4a468e6d906be0b22567b867dde7e0ff9c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/he/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/he/firefox-69.0.tar.bz2";
locale = "he";
arch = "linux-x86_64";
- sha512 = "696c3425ee41206e7571398f6f985d4aeaca819b4bd606b014a66f1ab0c4c9439f3f3c0c14f5575e0b76ad66f3419c64709a5e9610e6128bcc94a9e9c6bc1a85";
+ sha512 = "8250cf4c8b18edb35e8c601cb6df8bc7825a96064064b6d46a6dfb77e297c64dcc7a2f7937750d4734ab56f843a65b6174b4c9d523f9b5877e0e26ce9fecae01";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/hi-IN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/hi-IN/firefox-69.0.tar.bz2";
locale = "hi-IN";
arch = "linux-x86_64";
- sha512 = "a256bec2ec2c8f290cd5c7f49ab55bc113933e90a362c06cb57d67b8217b756cf1943f027771820ff880f9b2855b27faad1767ace50f3275fd7e2160bb34ba3c";
+ sha512 = "a0262214be3ebae877300b54720b4b74defe46bb641b989a1d65df02c62d78d51274386b0997a45189fa86d5974e56670a852d24d76a655baebd3c5aad8149db";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/hr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/hr/firefox-69.0.tar.bz2";
locale = "hr";
arch = "linux-x86_64";
- sha512 = "b08954b84e29e667286bb3169e6679fd635d38f4cba8afb8be08a4695ef24fd7d80a921ba769b4330fc33d649889be6aa5c661ba5b1aa5546dc4906babe489ed";
+ sha512 = "a5254f81f1ae432b50ac9b0a1732134b32bd460502baf51eef7242c37b37f2a6f0cfb6ce9c10bc3ce6ce509287fde824bede15534b010ab2f55721e43d85a8f0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/hsb/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/hsb/firefox-69.0.tar.bz2";
locale = "hsb";
arch = "linux-x86_64";
- sha512 = "456fd6f04369731b5de70bc92fa7a00b32ed9d16cfa80d7a678cbfad7ab81a06f9d63c6650851d7b66fbc51eb74eeec9bf685be06c12e873e90b46855dedb10b";
+ sha512 = "7081a889a6689e2d6fb4550474840085724cb4a583a9618a03a88ebca706ebdd32ccadd64ec8491332e342293634903ee52122ec9a5e49efb0f3cc8c09ac891c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/hu/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/hu/firefox-69.0.tar.bz2";
locale = "hu";
arch = "linux-x86_64";
- sha512 = "f7670ea1b7e2a137de1f4788ca3f97b49ad19604987bea9910b7e46241244c67ca2bf6be12179aed93b37e54317a762d08d5d5f1714a923cfff27db5ca44f995";
+ sha512 = "0a6bd225ee22562da294a0a6753949f6e627d1076579c514b4c93719cd0acfab90ce28c241d05cfa58a9b723610169f7e3a8b65dcf3bce7615e56cede10f0064";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/hy-AM/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/hy-AM/firefox-69.0.tar.bz2";
locale = "hy-AM";
arch = "linux-x86_64";
- sha512 = "3a276983ab7aba959cad42a9c5c2769d2ecf4a9e781fb132bd6705cf787b0f1f0c3277223ae71ad57d68aa864a91e723c1a48a3312fbd30e5e8839dc6f5fb5df";
+ sha512 = "dc21bc95a2ef7e66b04fe9900458754db5fe51047b3e166a48bfc1c6c7d8048846049356778515556be0184b5f40a08b29bffb27eca2d85cf90e47c42a9ff086";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ia/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ia/firefox-69.0.tar.bz2";
locale = "ia";
arch = "linux-x86_64";
- sha512 = "2fa1f3296562569721a3dfea681ad2773ab7c4ab41890d395aae13358f081b0dd7539fa49a98db1c1c111eacd451ed3908b3f382c57968e32c00445e8d0b8e77";
+ sha512 = "b2ab4096778dab01ec722c90daabdd8b0a892de1cd01ffc2bf5b6c403a74bbb6ab1180b1331635861c29b05db9662ec1d973d8506170c7227d574848a6281678";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/id/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/id/firefox-69.0.tar.bz2";
locale = "id";
arch = "linux-x86_64";
- sha512 = "10088c590e7abd7a55a1fc8b0604446581d41f492cd376bfbcda1bce04d5b0f55865a4271ceab44db0988e28652ba2da03570caf06ee1c6241f5e959f7e84411";
+ sha512 = "a416e7ff14facaf80a8edec2b1100f65bd4ca13b6ba10ebd8ca181c65683deba962c276b4b32372f9d8aca33213ffdc882ede3c8bf6dac883c819b85ae84789a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/is/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/is/firefox-69.0.tar.bz2";
locale = "is";
arch = "linux-x86_64";
- sha512 = "013b1f3179269cb1f0e98f3467071fc6b4ac4ed6dbb57812f68df54457eabf07240101c1d00509464e3cd7db1696397901469d706780ccbe21c6ddb593d83512";
+ sha512 = "f5b0e2b1bf63db7a3e4bb14b0332d5b365be87f7c256c7c4a34dc4d4107a139bbe0415c757d7274209e82a1219863db3862426621cd2453d24864776c0ffbd83";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/it/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/it/firefox-69.0.tar.bz2";
locale = "it";
arch = "linux-x86_64";
- sha512 = "a54971b746c619de3969be284dfc9215fe9d52941c4d1ec7e0d87cb994bdd4aa2ad8b015a464aa4055ef6fc00d9e97693aa37fecbefe6caee59762232bea6a2c";
+ sha512 = "655def933c7a17d5417fd319158a3a8f21a0263bb7aa539641b1f3d3eb0087148198975a9961a789b3e944c812c857a35afd5e973018a82e409ae438c160aead";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ja/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ja/firefox-69.0.tar.bz2";
locale = "ja";
arch = "linux-x86_64";
- sha512 = "2ca7b68636506828120254d664701a65a381c67daec28c6f3cdec67af9d24d80fe1ed3f6b276f4de560543c9b5fb4029222a88207916c4132c99748499867d23";
+ sha512 = "19b9a42561727da209614222f618512a8ff714f0edb21baae1efab69fc384d3ba0766475fa76e0f1fb4cf298cfec01c0e3bf3879e1b730cd0254d6174f764df4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ka/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ka/firefox-69.0.tar.bz2";
locale = "ka";
arch = "linux-x86_64";
- sha512 = "38af86bd57f5171b8596549d6cfc5b9580dad62e00ebdeac2e8c7f628b68b142221245483285f19c064eb949c972d72d36c160bf62960add24494cd31bf3835a";
+ sha512 = "4949b620ef6ca2e23472d721bded35091028048633f8393ef9a68b780928e11e779527b8b62f02e27288456fd939a5d273dd3dc6096ead80107b3c4266deee2a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/kab/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/kab/firefox-69.0.tar.bz2";
locale = "kab";
arch = "linux-x86_64";
- sha512 = "5ddf9ac4621d1ae1e8b2c79c77428b4a4ed59a5fcf64043edfc527a69f01a7697931fc9713fcbabdfe93e4387a6a59c1bd11e34dc8de47678c0483a737c5342f";
+ sha512 = "a1e9f7afe4c09a1056ad0f9f81dd30af5c6a62582a19c5ab437e42281b312f8cbf9f3ddc5e4e9e6553d4c68ac268f5cfd6080d8aeeef51032387b8bf1915382d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/kk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/kk/firefox-69.0.tar.bz2";
locale = "kk";
arch = "linux-x86_64";
- sha512 = "cf5920e7f747fb00ea907570fa842e0c64a02ea0ed9b31748bafbbce7de7a853020e675b422efe0b0a8286035856fd140211c769c2dd71fd7bc0af7805c1b41c";
+ sha512 = "47b2963dbc9333b30627ef1583a87adb23962dbbd71e01be2b58f6ff7a6d226076f9193310038884000c6ff7a4f96bd1eaa33767bf96bea3ecbd0715ccdcfd37";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/km/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/km/firefox-69.0.tar.bz2";
locale = "km";
arch = "linux-x86_64";
- sha512 = "38469fe38bdaa42c5761eaa1173a118923cea15b51bd9adff1310dd393377164243bb46aeb390677506934cde142626b068326746d93a1bb176fb8185cb20cfd";
+ sha512 = "758c7dd7eb7a91e09bc7f921e0506a4e719ae818b5794abe7a090e9af230c6d5240ab7077a9ca4636599566faab83dac92c64e1f97bcd3515e27a2ccf4e9f6ab";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/kn/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/kn/firefox-69.0.tar.bz2";
locale = "kn";
arch = "linux-x86_64";
- sha512 = "dbb5922c5797e4987f88c2eb6a66e3da9fb3a5c0178ad5a213bf7a4be1881dadba9e763fc3d60bcf594c3ed8078e28068931d063736ad8a02d66af0a45d4e96f";
+ sha512 = "fe0c88f827e0b4581e3f72367c19ddf2396cb654eaf2d5457babcc1be8761ca6fd7a7cedc79c580abd7e9a336439ce24d84ad37a6f1d0907bbd548232a9c3d81";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ko/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ko/firefox-69.0.tar.bz2";
locale = "ko";
arch = "linux-x86_64";
- sha512 = "3f2541f7f7c9cc790057151143a7cb44749c40c63eefc246c77464250a8e1d08afb8899b66488427454d6756d1d834b05924a0c5ae3404b3c581ab1932e14aa3";
+ sha512 = "52d0cf33a3a6d083f63c03c5076be9e68829560ece3c5729c5694c989a1179df8ba6f9c5ad4c3d720394cae351ff078af13e07d194b175a364e3f529dd7983f3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/lij/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/lij/firefox-69.0.tar.bz2";
locale = "lij";
arch = "linux-x86_64";
- sha512 = "66d1263a4782a9016dc88ca53072bc0c25378e483c2fb228320f0b0c5d40ca4c7e70c55cc219ad45b053a51bfbea0cf95b175226b9b11933a5dafe6ace2fb060";
+ sha512 = "7acba227856b3bb015745f5239bbdd06a88e30ae7f17129e8b104ff800fe7b60f24646962348177e7efef71144a7cdf2415b6daebd2eb75574cd6ca6b708c892";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/lt/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/lt/firefox-69.0.tar.bz2";
locale = "lt";
arch = "linux-x86_64";
- sha512 = "cf9d6090e722ca2b9f997ae7b4053d5931b57eeec0e58670b8661228261f68b68f30a0f4d0ea47804111477c76a9646547e241a0bb63df8ae00a4d689f65ab59";
+ sha512 = "0829cd18857660588330c306ec7db6e64d52346ead593ffc7e4022c25d8ea5451329e7bb70667645b0bc4894f20d8d6251111449dd3f48362165e9f583f89e92";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/lv/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/lv/firefox-69.0.tar.bz2";
locale = "lv";
arch = "linux-x86_64";
- sha512 = "2f4dbe187f370868d52402c0b90e00d93d04e45f8181a532a2d3cbf318e241cb6702b707ba73c90e04c310d12c5ff3af928139113493bbe5f60e7e4946bbfce6";
+ sha512 = "3c19e724d31b20bbec4a9a4267c5cb9ce1e4aa5ff522beefdf35b468d220964eb547ed1b3a4354624cc653764f62d41a294eac10d90bdafacd290e192786a73a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/mai/firefox-67.0.tar.bz2";
- locale = "mai";
- arch = "linux-x86_64";
- sha512 = "ea694207a5546ef818725fb85b0605bed3e02b7a87c246669e5e4e378abfc29c2547a8f01c20bf2ae1506a46d3d8068e8109c2a3d75822eaa93a65911b82352c";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/mk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/mk/firefox-69.0.tar.bz2";
locale = "mk";
arch = "linux-x86_64";
- sha512 = "0f9aefaa8a15f51f7473753e8483ff1818f3d8cf914303709d0f7edc18f19d014c929d54053f0230029580b3042528378f41d738d6f53cb7a721554456ec092c";
+ sha512 = "1223ff81d9162d87db9d71948d34b677eae86d3ea06953a939cd18836c8b820c0fcbc468d124a3b0ab37346716db06fec7a4510806b7f2f98caaa0a30642746b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ml/firefox-67.0.tar.bz2";
- locale = "ml";
- arch = "linux-x86_64";
- sha512 = "dbc650bb5c23fc8cbb7d944dca5f5811622b0d6c56db8623aff70e143d21b6f490f5df02f78c2973e2cf9f4f45fe5d7d826e6cedac7ea2d4da983067823fced6";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/mr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/mr/firefox-69.0.tar.bz2";
locale = "mr";
arch = "linux-x86_64";
- sha512 = "86bf49cc160c2edffb4a1f3c49c6ab575a19e9eb3a38d2c61a8d4458ec25264a5d1600fa9ca5fd53dca81767561345568e4c215b1b1511d381cff1c24d512d05";
+ sha512 = "202bf4f9b7250a73f70f0503e53f1f55b9466d4daa13092d9674b21edfc61a0dc6af3daee4cc229372eb2e3e3d97e13f686d9f6d8d702f4dfdad19ff52792eb8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ms/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ms/firefox-69.0.tar.bz2";
locale = "ms";
arch = "linux-x86_64";
- sha512 = "ebac0d06344fb32e97ea14301f1e40fa2392b7dee10fca1200d715f9bcce3ab6632d6945025475c982c9500303d5f1a0006648463405ad9f133b7187b0f92521";
+ sha512 = "7c1e2b00ead7cb7b2a3ef516c0137f1cb2fcdc4fddd44c5b5887e949797b42218ae66fd58a4b207ec9519704ad8b26a71edd2fe3a36ae152e589fad48a4e2754";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/my/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/my/firefox-69.0.tar.bz2";
locale = "my";
arch = "linux-x86_64";
- sha512 = "bd50b6ac3d8a806b09e0c905e99c51f9f93948f5956cc98a8b7b897c36e88aff66aa7c4f5c54ecf2b5e69b9ba9394c18a9e31bd66874bcf0ecbb308f60a45d36";
+ sha512 = "bd92ec45173af70a10715f16e8043e7d41900607bbf2acbef566002f8ae8855cb604963d2cf2a1e5a9c610120c24b6d192c0e32c7ba29c635c2d92d1fe4b73bb";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/nb-NO/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/nb-NO/firefox-69.0.tar.bz2";
locale = "nb-NO";
arch = "linux-x86_64";
- sha512 = "16227a6bcce8136152f9d533b7c700427dd3ae1c1649f35d30578275d752ea6b24c9c9f224279a68826300971ca2900e8d7dc75f74a2b9727f81a68a58ff3b39";
+ sha512 = "c032c4d91c67d11ced6b47caad8ed04554e08fa78e7bb49c2ee1176ca192131b9372e35c121d5747f59672d1c9f8f1fd7f2d29ab24ce3b6e681eafae7a821e02";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ne-NP/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ne-NP/firefox-69.0.tar.bz2";
locale = "ne-NP";
arch = "linux-x86_64";
- sha512 = "ea3fd9a876b297f2247600741add6970162bbae88655973ca316fecda9051aba06544c2780274a53badacbee701d067b7252fdd656c15c0f5d100df97967bf85";
+ sha512 = "5c6a5e7cd3555bef6de3f02e566349a5e4797efed99c0b161e0de38f8391657c963446ab7e9b57a3728a81350bd98a7de66029bc0fcbe611b39f93e804cb1302";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/nl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/nl/firefox-69.0.tar.bz2";
locale = "nl";
arch = "linux-x86_64";
- sha512 = "cb7001a2f345352f3e8ad0fad0f01622bd31a94042e59910fcfff653b46b6edc13ff2a4922f2356f0eca49d1260319b615c549fb383469798ab79b837d5c6c30";
+ sha512 = "a1ae9b567eb05c28443886b49351532c92d5e29d65386e3c3d0d842574be355f49544de1302a485d71b9962483eeba4d7f8c855089b5fb8fc3dd1b86e47f70c8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/nn-NO/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/nn-NO/firefox-69.0.tar.bz2";
locale = "nn-NO";
arch = "linux-x86_64";
- sha512 = "b31447c4218a9282bb56a28a5f7a30d04bd4e08a2184d3fc275af2d42b0272fc2e035f4b8e433237661124675a854f87c2c63a5ce86567b1a5fb439a43e607df";
+ sha512 = "3926a8efcbe5cf785cf687e10b5d7a846cafcc5e9a09fb77f517ec071c5b2afec954fa6f870c3688d07ecc17d64fd71080201b4646d8547cb3446201ffc30944";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/oc/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/oc/firefox-69.0.tar.bz2";
locale = "oc";
arch = "linux-x86_64";
- sha512 = "d03c239d7fcf3bc2c30376d24c9f12ce7ad90c6f34f9582d24587bef9dd4dda9ed7fa1865cf88198cb564d5d629933e74f74dc27e5c6b3ff0c2e43331660a9a0";
+ sha512 = "05ce37349d320e94547531cabd995d21107c64b87d52b0e08c465abc709526e4504019657ee2c49079fd8bef012f1ea7c55f595828602ca1d74f8a18940eee2a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/or/firefox-67.0.tar.bz2";
- locale = "or";
- arch = "linux-x86_64";
- sha512 = "ad7378d6de429e5f23cf77a86216f4cc87f5b94226aabfe218ffbac19046517a1b38da7c41f09a5dff11706d1a9c5810adc296d6988b15fa3dcb9115c6152dfd";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/pa-IN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/pa-IN/firefox-69.0.tar.bz2";
locale = "pa-IN";
arch = "linux-x86_64";
- sha512 = "fc6b3a79dae9dad8d588463bb989456e9f660b4f88e0af7c3bc7104667f9008993995c6fa8cb9cf85cab270751a389eb7d51eab74208a39497a1d31ef1dae353";
+ sha512 = "48f6a34384b79b6a0104b33073c32589a9a66da64c83c0f205f7cdbf940ff75a162c9612ab7f457377f018c4508ff398c2410239efe0a22862d36aecc7b409af";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/pl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/pl/firefox-69.0.tar.bz2";
locale = "pl";
arch = "linux-x86_64";
- sha512 = "a8a31bb6a35bd28e7523a79b8032cba69eb90757840679c6053138d2a5dd0bbf05baaf47c7610c989527df4b85a354b6c9951019d7d194071d1a0c2eb36bb370";
+ sha512 = "912149f85fd055d5e9ee3ec9f40ce9308bef4580a265f6ff8a782b5db1dbc8e82bc6ab6cb40df14968b3d00e11aeb539c6768d755acc3e5a96bf2bb952b86f1a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/pt-BR/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/pt-BR/firefox-69.0.tar.bz2";
locale = "pt-BR";
arch = "linux-x86_64";
- sha512 = "0313e7a037b3c0f0f5fb9a6e7f6cff432be6561be11d97dd404fca613c31d623fb40b6d32e9d2ce470ba8957501113f4b1b72cafa496376909a737536139b587";
+ sha512 = "e167770aa356ab88af89d1ff8de492ff0e31c9e45b64bcdbc3ed76749bf2027b70085c34b95490047f3a71f72fb29da5d771dddb7b445b70a2986d22088c7964";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/pt-PT/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/pt-PT/firefox-69.0.tar.bz2";
locale = "pt-PT";
arch = "linux-x86_64";
- sha512 = "d560c41760a411fbcdbf93037ef630c4ecfa9aef4e63ff1ed0441808d927c995755e22db22a341b3f05dd00cd96644307b15214815d45c23ca409da62968bd88";
+ sha512 = "a06e26bc1285a39ccc4399e98ba523c39b9f7573444f5793bc5278908454c717dc3198be5f3985280af4869bd68987f5cc0d4c4a4000eb65d6eff4c7d3e61a15";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/rm/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/rm/firefox-69.0.tar.bz2";
locale = "rm";
arch = "linux-x86_64";
- sha512 = "49a56b51a2d047aaccebfd6d173ebbbdfadd8d109236525b591ea8869e268dfd6e4ec297b08b9a8fe7249b150a948093fe6f148a99f9a45fed5aea1fee988454";
+ sha512 = "41e9519e6e10cbdf20eec17ccdcf7120417c477a3358a0fd0f6b770dce64b5528a51271b9257cf981ac21dd0e118e8193c0885c5039955b84d331d29e881455c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ro/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ro/firefox-69.0.tar.bz2";
locale = "ro";
arch = "linux-x86_64";
- sha512 = "857f59561bdb90ac7391996857fac28e52bd20410223331fc34f176c8fa5aa9660b4de53be6f0dc7ed4b980d7f25e7a15ea0c2512c2e3f10c28de987c30079d8";
+ sha512 = "63845db9011089101b6350e5b13c3e614a198ba24343d386e46b4219f0e006c346b6ef103791dbd5013a89138c1facfbd81b3e144e04cb8690c996969af6afe7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ru/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ru/firefox-69.0.tar.bz2";
locale = "ru";
arch = "linux-x86_64";
- sha512 = "9316846515c061c4c5a7db307d30be924b44f272f8dcaaaf937961d8a9e0175f23b02ea65502a9707c45a2552a7fd2346c1642131652d2ae1d7401a7d676640f";
+ sha512 = "ba844bebc9469c2372815821d751fe3146d8f7d0c4c18002ae617f1d42a03369a13eb3a2cbe2087135164a30784bd476a4512867145a57613a8611f1af47227b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/si/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/si/firefox-69.0.tar.bz2";
locale = "si";
arch = "linux-x86_64";
- sha512 = "73a3c7a9caa64b5c3817ba41d9d8fbabc5d6b61bb77cd5e256767614949074b562f560a9940ee2a64990305c48e3da7b02017170a6357d49c176388c2544e38a";
+ sha512 = "67df7f6a6d32c37db778237b2cde1418d8b4d19360f752960129c94dc3ed4736a8b1eeef73966b54a531e3e3c6ddceb5cab33d758124ba375a2a46a7768b99e8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/sk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/sk/firefox-69.0.tar.bz2";
locale = "sk";
arch = "linux-x86_64";
- sha512 = "5933911938247063e788e5337ff5cda9798b96a52d69fc98335750544e692f5b49fd6ce2a3eb5b9c9602177b698f1c7b8ca16f568b0fbcc8631ad13008487d07";
+ sha512 = "5d748ec7f889e8465cfdf6304db6403a346ed6b9c433fa482365b82bdf39cd600a9926b5e3355e4e8cb911bfb03bb9ed14df83ac0b4cfc2019b71b2006e1ef51";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/sl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/sl/firefox-69.0.tar.bz2";
locale = "sl";
arch = "linux-x86_64";
- sha512 = "60b2665da81fc9129236f6dc2a43a0f6c0f515629f825c55bd1cd93a851dd1fefd286957fd7c87fa81dc0238d192374016c78a737b3b74c85449777253752c99";
+ sha512 = "f870acdda0da2fb373718d2218d0db79de90c6153d7dcab4163102b220c265d502691f525f9db77ab2403e528e578b9e45d839c2296f16665179c838703aef23";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/son/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/son/firefox-69.0.tar.bz2";
locale = "son";
arch = "linux-x86_64";
- sha512 = "82a03a13055a54c3136688d1af7aa6ed2742de18f15b718757dcaddcdbd201d2da8260728bf207355041598091384b5d74908dd2e801cbc3a153ad5984cfac36";
+ sha512 = "f8c702a54be2f9b15ffc183de2853b8da7d7809d2c02e3a7a2a2d001878236102c35383879c0f66ceeaefcd6a676adf23d766a80682af4122c82561fe7eaf36d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/sq/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/sq/firefox-69.0.tar.bz2";
locale = "sq";
arch = "linux-x86_64";
- sha512 = "6a37ffbd865585b370149193675a4b00a69840928bdf1cf4f49fc5242094e3b786f45c8ad1fdddb2d8ada62e2dff79e7d93b890deb76dea042111cdb57cacc0d";
+ sha512 = "4da3b8e0c0a012e5f78ef1c10f9f462b9e5a716c95e9d8134da274dc1461d60d094af2de314987c6a68c1a50c17f09dc00ce9cd039553b406efc2306968b38a0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/sr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/sr/firefox-69.0.tar.bz2";
locale = "sr";
arch = "linux-x86_64";
- sha512 = "e35607297ccae09ba650fb0f3c1bf68d276e29db8214e79f096baa1f91be0a11bad66bca7018664ae1d17f66977f7bc7c12f9d7b045a1305c32a9ed8225ebea7";
+ sha512 = "1a41de2409ecf00fd94690c0f452395c3318590e9b9f2164f2d82112e51057680d2c758d1e0b9d9a372e3080afdb611d30a2c74b9bb6377da63352cdddcd1099";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/sv-SE/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/sv-SE/firefox-69.0.tar.bz2";
locale = "sv-SE";
arch = "linux-x86_64";
- sha512 = "364d9f71313cdcf42446d376c5e9a62a7e9941f0cbc39f7c6cca1c345411269f05bc04dd742473c12123a21274ae165e107c57be24a979e685f4462de8763b95";
+ sha512 = "f09d3024b2f9032512aa10ce9b5c72b44a673f324190e1e971ad3c09837545b79a784e6a10e5cd9997f701903c4445284f64a9eec7d40b857a8386b2b72eaeb1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ta/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ta/firefox-69.0.tar.bz2";
locale = "ta";
arch = "linux-x86_64";
- sha512 = "e0138b51e033afa84990105bf02efe7eb73ca535cee813498daa08c8c775016dcdcbe508603abe520537525b09a914044396d150f25ecbf59fff43857d27901c";
+ sha512 = "60666bb1ec53979b6b614a4c31a04085b1542deec9908bd485db2e0f09ad833a2dbd81f84f483f24d73689cde5fdad2554079b3a54e4b98e148d3f6f144b8de0";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/te/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/te/firefox-69.0.tar.bz2";
locale = "te";
arch = "linux-x86_64";
- sha512 = "d549fecddfc85e614e8d3459c7b6562040075c2d4cacddd07f6c78fbace5410ca3ddd97cabf1770779033f03cf26ba97bb9ffa32c1622d312e66f0d2a397bcbd";
+ sha512 = "03fb5b9cb18402657b77cee2f7bfff3474a84c32204ce5163e028680cff75ad0faefc398975fb98378fbaaa86ad247cb43970cf86bfb383512fc4e890a928842";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/th/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/th/firefox-69.0.tar.bz2";
locale = "th";
arch = "linux-x86_64";
- sha512 = "88f691d2f7d7c609f420a9e88077bbe69b70fc776f56789827db58c9d2042c280e21de469616eed2223e47250d65276cc9b820b7ffe07eb352ee72960a00d626";
+ sha512 = "53d525b0309e5f0d02314c0ceb568f067e858588befa64047a3163fc0623d0afbc05167df34fffbcf97b1f5fb127dcb8fb45c05ef117de42d42e8e7d37a04a6e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/tr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/tr/firefox-69.0.tar.bz2";
locale = "tr";
arch = "linux-x86_64";
- sha512 = "766732c13e92f8e7480f8b866d6c744d3f8eccbfc3afaf7e64d54553c2a720e082a062ed4e2e852fb692aefc0cd20b67f9c74c5dbd9703e22399be6bd5044558";
+ sha512 = "ef3c0a7f2ef67b92cf22bd6a69b237db8b9d1d85a018cc7c33f767fe71f483ab479bead36af874f4c6bdf99f7eb58b86b564825de897abbf8809aef41d95ff4a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/uk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/uk/firefox-69.0.tar.bz2";
locale = "uk";
arch = "linux-x86_64";
- sha512 = "e9b335a6b6e37c5d2b89f9db8cec648834ba999921f7124878a324711c71b3c0320845d66285e6e6ceaed0afec2417f2c60b43040ef9f1e3101f8a25e23b4010";
+ sha512 = "bece51aaa6fa0131f55364b3a8079382db4d8415e19f3b5ee7333b4111ecd282012f55343b44df95cfe3006f3226c7ec6b6d4bc71d1f30aefbf203e24c282b5d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/ur/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/ur/firefox-69.0.tar.bz2";
locale = "ur";
arch = "linux-x86_64";
- sha512 = "612c52dcafcbf0fd6a5093eb622f272907087581468f8fc0b8267df22338d6381ab3fce1a7529d782a6e8d65b69f44fb4d004a6d05df18c8ec2d335958b0149a";
+ sha512 = "1f5373231283004843f8d87a53ee5eb92c7c79d4c15cdd611baaa5ec56ea6ba6eefc5ed63ad66e0a3b66b4748eb21af201fd98dea645754bcca3731e8643dec6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/uz/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/uz/firefox-69.0.tar.bz2";
locale = "uz";
arch = "linux-x86_64";
- sha512 = "f5fbf80cdd8ee76ad0143447072ac3001ca3e319a23df7b064794088a80b0f3ab5ab2420442db75adde0cb8e1ea926ce302cee04dd99be053f3a1960abd2f159";
+ sha512 = "31708d41970b7184bca2686b8ee048afa732e24f05ed84bc7dfee1fa18c86ca8f3bfc27002f306bfd71423331567be2c952addd1af50ed85ca7377a87b1c91cd";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/vi/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/vi/firefox-69.0.tar.bz2";
locale = "vi";
arch = "linux-x86_64";
- sha512 = "25eb2a25aa2d402be01e28bc9586234c1bcce6481420c3905e96af7eb89eb4f4417f899ee78ad67f5c8d089107f4a9b653748edb496a9cc1c2c6d4ba19e4d59c";
+ sha512 = "f1abfcf9142310c6362b429d8d58f370c3fa9af20d7261e0e3328b37d4cc33b88d764d108167ae9b3aea6dde7593bf92591d41e71eaa233cd01d8583e1d8542f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/xh/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/xh/firefox-69.0.tar.bz2";
locale = "xh";
arch = "linux-x86_64";
- sha512 = "c4d2b71e81eec63993ffd5bc554b7b6b94c9835ee2b75df176c1ad441b57c5a214540c5907fbdf4b7f2f1a59383cdc3a1ce80e34a4669172e2932f7098f777d7";
+ sha512 = "cbc4ec3f78d47276b1cc67948645b92fc891a0089bb81151d1b4ff8ec20b5ea7db714c7a386ef094a05040fb399d8de7a98d3c7ae7dc212c64955004474c4466";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/zh-CN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/zh-CN/firefox-69.0.tar.bz2";
locale = "zh-CN";
arch = "linux-x86_64";
- sha512 = "25b313f892ded3dde838c42fafa3fee85fc655858b9703755c90c5be6e625e5ff8aef61fa9ccdca1f09a2682452125297dc39ef44757fe1e6c8763dfbfacf237";
+ sha512 = "5ca30257e96e8e7770fe8a7d626433932a06e56789cf6d84a09b633348570c59cf904707a2c6737267d111929830df8b1556d84c6dbccd62e4146926a87e68d7";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-x86_64/zh-TW/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-x86_64/zh-TW/firefox-69.0.tar.bz2";
locale = "zh-TW";
arch = "linux-x86_64";
- sha512 = "a6d2038f739835f9dd0fcafda6dd0f13c8a32c4ef473f142f542f2c3aee8c05b6a3465f3d923ca23c540326eca60ff0eff1367080ceca5b4505cbf07c9204a43";
+ sha512 = "bd3ddc2e9da6f1e47648ac4054c6568e48e3c01422623947f745016bd624350885a194b7dad600fcdeb0fc64cebf10b8f694764da0575332618cc948dad33cce";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ach/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ach/firefox-69.0.tar.bz2";
locale = "ach";
arch = "linux-i686";
- sha512 = "86c96395c9c4a80e2afe326e861a5e040ab366cbe99ebf6ea1953feb28a8a28e100560f9091fb653a57c5a03ac5f64ba0611b30f3368340360e740ab1189da02";
+ sha512 = "9f5876b495e56d195c01a278fa602c7686c52c662145d46dd4e7a9ab143801a26822c5a084683b74819fec15d66b21644ab6adcf160deb1d48fcb381fb395187";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/af/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/af/firefox-69.0.tar.bz2";
locale = "af";
arch = "linux-i686";
- sha512 = "c20d31426850f273ce37c2a9e358c65ddbdc49918128c3e6d15708f71efa6d013cf03a1908baf5f11d6807e7e6a4cf81a6105c707f1a605d0f41004c2421d3c7";
+ sha512 = "13516530c77ddd90e9a5380817acedd7d1843908f4cca8cbe523f2390236c7f37b50a5ea6286ed9a944a4de141d911af0ce425d557af338e8f7be20581717077";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/an/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/an/firefox-69.0.tar.bz2";
locale = "an";
arch = "linux-i686";
- sha512 = "e73bf9f56f9c8be190152c25f1e4c9dd774a83cd8a2a8a00133529f9f1babbb6cedc78155b17681fc5653653189d74fd8dcd79c8755397a1879241b1d602d82f";
+ sha512 = "f947a2e74a8a1afcdfa64d4d70f123efc490403879037ac31bf082874a90cf4a40e143539bfdc5fed10a406cc1b446dfaa99e7c4c3c805ae37d23ebb420bbcfa";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ar/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ar/firefox-69.0.tar.bz2";
locale = "ar";
arch = "linux-i686";
- sha512 = "3d31cccf9abb583557789f0c6a3b0541072fe79bea42eecc27915f4b67a589efcec0ad6cc7652520d1b8f4fb1f16031df4b8d005d361e7e773088d163f550914";
+ sha512 = "d050acc7f518b00c231112364bc9a678c64905175c111380488adea3633945b3acd285195b10f6c7a0b624effb7006f742451df5ae95583e3e20990b9639145a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/as/firefox-67.0.tar.bz2";
- locale = "as";
- arch = "linux-i686";
- sha512 = "08107142b1702e0d596e501d8bd754e3f76c1fbf1db3af26eab17990f224e7bc19415cd37753cdf8080413dedf68da32b500e37b01f70147d1322d86bef42459";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ast/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ast/firefox-69.0.tar.bz2";
locale = "ast";
arch = "linux-i686";
- sha512 = "5b0ea06830da459ed9ca585df130fe116de7916010051a45edf7add136ccf1e058711bbb94e376a4c32bf42a7bacc0ea2fbcbfe28e8718de2660e31c5d9418af";
+ sha512 = "33b64ed51cbf24703433087bf869a3ecbf16591ea4d870b902bc775c0a9d027b91d3d161e11be075072363da178f7ed02103fd57915ba43c2f21904f32709f4f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/az/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/az/firefox-69.0.tar.bz2";
locale = "az";
arch = "linux-i686";
- sha512 = "55c8e4c71880441de9c86a8fea4f6401b7753c25ef4fd4af968e3b29c6334fed635e232d7cea728087015b7bc268358284b183818e38f388d8e6648803d4c49c";
+ sha512 = "5f281e9f1bcddf149c30266ebd80199c2c6c6645f5ac46c118f6aae13c87e61f34d84077f44bcc93fdf03d9c02fdf1e3e8c34fa124260e0b3da3cba7b02021f4";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/be/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/be/firefox-69.0.tar.bz2";
locale = "be";
arch = "linux-i686";
- sha512 = "904257df324a2ab21703e314a4df6d354f2a462f87139c861a7d4836fb34016e6e6319c06f6a58d76d20fcac9320266e5857b46d90c67145f44fd42442ac94b5";
+ sha512 = "e912b6e121cfc3702585a68e8140c0a9ccfccd2f2a614f3b72bba2ba0794d665c0cc2596bacd2ac64e30b87837551e1b7758554b379301af650df1929003dfa3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/bg/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/bg/firefox-69.0.tar.bz2";
locale = "bg";
arch = "linux-i686";
- sha512 = "bd5ab542b9180f9ccc998a7b47193db902e30147e863f298e57c633c3a3da44a44c6ed40bf8c7493ddf02f1c195381c1b632b1ddbf7d6050a032fabba5944d9c";
+ sha512 = "9f7c3afbda97498d2377ebcfd6417801054018a7752b7c0e4bc03fd349d80779d43202139423f48adc3af14d71fe8203a144d567bf5b051484847321ba223fea";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/bn-BD/firefox-67.0.tar.bz2";
- locale = "bn-BD";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/bn/firefox-69.0.tar.bz2";
+ locale = "bn";
arch = "linux-i686";
- sha512 = "be04077c99b3b3af610ed04e04cd4454b4011458e50dedfa5858808d76d1764c5fad4c1d4b70a32621d21449dbb78cbf266ea2bef05c5bdf8e84cabd8ae62490";
+ sha512 = "97f1e4bec660cd573717524b42490d84bbbc93976a973fba5dfe4ccf3a745b76a494f6386ffb3060e8bc0ede9a32e69a87fd28b9fef33bfae0294a4d8e08069a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/bn-IN/firefox-67.0.tar.bz2";
- locale = "bn-IN";
- arch = "linux-i686";
- sha512 = "fdff31833055416147bf4776246313868632a4dffb6ed729418333c8c44d1963ce204e0b266c8a15f9785ac5f8cac4c1d19fd6c3626d334e86678d60d8d1f1d6";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/br/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/br/firefox-69.0.tar.bz2";
locale = "br";
arch = "linux-i686";
- sha512 = "b3a36358b2e759ab9fabb8580adf53689bdd26ba5aa432fb916cb91c27fbb362fa000ddb37639b7a7355911ff398395c4d8da2a67d66bf91fe5b34b48f9689eb";
+ sha512 = "99e8bd11f12189b66e9f79c7b197b7b149d274e813a090e118e1823b159e87a335c890f3f257d39bc7ceab7089cf64d4665d2732919cd1ad29c7365ca2f5ca8e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/bs/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/bs/firefox-69.0.tar.bz2";
locale = "bs";
arch = "linux-i686";
- sha512 = "a2a16f68edafd37797248a33a2553c08958e279ca7f6e120b436e577c238ba9333fa0833a5c926c2c8baa77e4cd7b8893031c6a45648c1de6fdb81813cf83c57";
+ sha512 = "5b3947dafa7e7c1d0c7c47a1ee09de3b9cafb47bf39d4ffe536a9f35f56c7ca2a265289f1729b760f09cd3befef2fdedc1e5f7afbdabf03f3c3c0e553da8d925";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ca/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ca/firefox-69.0.tar.bz2";
locale = "ca";
arch = "linux-i686";
- sha512 = "74766cf52c08ef32a4c2b4ce9fec440a2cdf28dd231478d5c48c40ed126d8ab76d1cdb5e69169a9c104c365961eba99fff599589be7814097c476943a9514924";
+ sha512 = "3d83e71c9f3acfe3ac2838eaeba4134ba8cf9ddd6c7be2218e5200ab2507228f3af5ab7930a6a08f368c1c3a31a22b9816803e9ee66f67c1dc0280a0f5f5e98b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/cak/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/cak/firefox-69.0.tar.bz2";
locale = "cak";
arch = "linux-i686";
- sha512 = "61445602835570c4b93928c8a2cac4f1e06d911c16a7d8c4679b23bf4c54a7fcbd387ad7e70adc1fe837b28cd750404f2a47cb442cca766a8012136c98642b39";
+ sha512 = "97b0761c67aca6f6ea89e88154ffea95651f98aa5341f155d8f7a25c40f109e5f5ecc4aa7242b8291cd5b28d5df676503cbb52da25f58de4e1274996b412213b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/cs/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/cs/firefox-69.0.tar.bz2";
locale = "cs";
arch = "linux-i686";
- sha512 = "218607fab37e58f05dc0544dd1fc680da18ba8836ede030c8e551f99d574b7f5ca651a1c4e25cb9879bdf201bc1f3814d29d18b6014aff0d7aa1d7b846a992bc";
+ sha512 = "6404cb3cbf6b5850c08fa1e222101f340550a30398413ac49c1a498ffe8a73172a65da20d4c71bc66bad840ce5cbab12d93f9a5e47a2969024981b3e3a6c3594";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/cy/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/cy/firefox-69.0.tar.bz2";
locale = "cy";
arch = "linux-i686";
- sha512 = "1f74149ab335f37643545b6b46bf7c65d2b833993ee2fbf207c96a372989b724f81cbb6042fc11bf2eda36893ccadbd6f464c7766bbbf5dd715cbbabaea64b59";
+ sha512 = "2e2f45ab86409368d00af0e8684a2de8f779ae5ed21c4b7bfbbd9b1b6dd2c0cb89ef00ca0d678e2c2f8f0a946ee9576ae3a657e63188b357511da4e512ee0b15";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/da/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/da/firefox-69.0.tar.bz2";
locale = "da";
arch = "linux-i686";
- sha512 = "3d0c84d3509ab18235a6858361dcd53151e23eb7431e32ce15ed241105e552374d843310eda7cd4bfc32ec459c367b2a21637dcd57b61f57c6a61723fd1fbe10";
+ sha512 = "f39a37f55d49e00074bafd58a1afff2b2fd2284eb14f43b78c1f0a63fede72458c61a34058a453bda0d537109914bf94ab3912d04cff91286bdddf76d0df9534";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/de/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/de/firefox-69.0.tar.bz2";
locale = "de";
arch = "linux-i686";
- sha512 = "15c16a024f1a5f1d633dc3c945316e6df13335199c835f5da6c55061525c84c9907afd66c77012720fa75ee98be0417cc04a40d3045f373e70a31c604507bf28";
+ sha512 = "4db0be46edbd3443bbaf6d19f115a0dfd751dc08d55f22c905518f7e30fbdc9d765f905505a1908ab96baf16ac4a2f03b50230c565e278e75533c4379e39a0bb";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/dsb/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/dsb/firefox-69.0.tar.bz2";
locale = "dsb";
arch = "linux-i686";
- sha512 = "ff1fb6fdb3273e8e9c67b0e35bd2f75ee70621f805efd4e6a47eaca3ad59596e4fd033693c5988180c1195fc0fa61aaa676de50ba9c1e7227feb722d61a08543";
+ sha512 = "2901e1d382dcc9f67217e15ca2d2575c96be02af1d853e61d4885c3c546171f8da067223a73b53c1176eaa03cf7cdfa80fbe2c74ff20860a8d31642f79ed93de";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/el/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/el/firefox-69.0.tar.bz2";
locale = "el";
arch = "linux-i686";
- sha512 = "504a164ab2d2cd3d114455771879ffbd6d6608dabdf8e09b579240b1e566c6763f457c950c080889586df03ab0f56329ac461bc93e161ac26918730563c641d5";
+ sha512 = "a31c178ac0003f93ef62091bc1468f30814fd8919ac645b84e6ec5977d13ad983389d04ae7e986ddd0c31325e550c5f8593d64d48450fc50a2d37e32b785165a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/en-CA/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/en-CA/firefox-69.0.tar.bz2";
locale = "en-CA";
arch = "linux-i686";
- sha512 = "0f6c00e0cf12a7342609a8d4bf13801abdbb3588c9c331a44f155f4668c6ac167db8de6baded6f097c7d30c03bfbaa60d645429459f6f3b9dbffed14152e9b18";
+ sha512 = "4ff8b109121ef8fd4f0a817a3d273e3a28ffb952faa072ed3d8822d48691de54035d45abf7fb84a7dfa6a0543c30281896a3eb840f64a658894b477918ecd902";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/en-GB/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/en-GB/firefox-69.0.tar.bz2";
locale = "en-GB";
arch = "linux-i686";
- sha512 = "c0195763b147462e8b4cc70617668475c1f6eeb04f03bd1feb76b1c7f10ca390877757d6067dcdba6c487ccea8e343eb1f5d4e9d7b8d5e24b5cde4cfa8c5ae8c";
+ sha512 = "c514432dcbc3529ae58b1896621765da05c8a0511461bf6a09015d5b8e7eb14f8873029947d4d7f17b975ed73982746de8d92b651db70f7c6f97530028c7bc7c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/en-US/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/en-US/firefox-69.0.tar.bz2";
locale = "en-US";
arch = "linux-i686";
- sha512 = "ae8ea89613f36febe3d0fdae8267cb38a60a2c08927633e96d5e8f7d223043caa5e96bcf2f832c03c0c183b94043f7025659cee158e424aa0f0d9614638afbf2";
+ sha512 = "da231783ed7ef640d02fa7bea95191af2081f694594e08160b682bd2725a49db56b54eed868ce11aac6f664d81d588243987ac80adc71bf11f0d03d85e90e14b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/en-ZA/firefox-67.0.tar.bz2";
- locale = "en-ZA";
- arch = "linux-i686";
- sha512 = "da8a2606a48587a681b7b70ebc8951bd66680183fceffaf1a37dd677954b8514f68eae8ecc0f193c310dce9318d33cfc86a3728f3c49413ec47a1dab57a8a1e7";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/eo/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/eo/firefox-69.0.tar.bz2";
locale = "eo";
arch = "linux-i686";
- sha512 = "3a59f30ea0c40e252ed70fec0ec5a6af8b7a9632653dfb3cd8a10f5949a238c0c76de448fa133c0cdc3862daf92146bb5517d1ee808f68f66e84052cbc05cc19";
+ sha512 = "599d9177a80ab92dcb0ed637f5b344d0e7c180985a04bfa213b5254dbaa932af7f920b8dc95a2a9ff2e276cc4ee8d22ac8ee84d9ae012ae085b59cbb6cc15ea8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/es-AR/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/es-AR/firefox-69.0.tar.bz2";
locale = "es-AR";
arch = "linux-i686";
- sha512 = "14cdd682c46aa0c4a26e4bd53dcee1bf43f82f8097dfa2cc33d82d43cb15172edab2ea55b604b805eac5868e68637ffb1a0e925ef0cc7c8fc06bfbcbdb4828af";
+ sha512 = "01222211b16a3339bc56ead44cd8f9ef8035230c7f154d078ea444e07520d06add00ee100dc1b37af04ee444745cc9b514c90a8d18ff0af2a84276091c90bf0e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/es-CL/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/es-CL/firefox-69.0.tar.bz2";
locale = "es-CL";
arch = "linux-i686";
- sha512 = "794f81e4849c307432303218b00e0d8460c3c25ed76ba0f695d878faf76a6085596384635061da79f8fab2de12666a30ae6d8a5488fb21b9a2dabc48960a404d";
+ sha512 = "16652520468f1a58798cb1ab6580114449cd7116e9f5564f3c886cbce6bfcc21ae93e5f559f45faa6c273ac9e07b584eec7d3c940c50a84f9c02d6ba9d17f192";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/es-ES/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/es-ES/firefox-69.0.tar.bz2";
locale = "es-ES";
arch = "linux-i686";
- sha512 = "358c84597f7bb0eb9af602867565e434a5717fce18b3af2e91d0e65f9620bdbfa822be3d09f05e48ae6f416c77f88d05845f11801ed94477cb76e5936d7b5420";
+ sha512 = "cf96ec9a0f40d4178f0724ca62c9da5208bded775ff0a2ebdf9ff6f0ec7fc919f1450a221050706bb0490347ace75b7bc0e6652f6ff2ca9c5565e06c2b6d4706";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/es-MX/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/es-MX/firefox-69.0.tar.bz2";
locale = "es-MX";
arch = "linux-i686";
- sha512 = "3b16575332be2872682ea81f22c72b5a0536ec266e892f0820d387ce3adab5f68168de43af27dbb7a1f062cc1d9822091a7bc6e58907edc39d8e1cac5d250fda";
+ sha512 = "771da7d61622787543371266527ba41a24022a278788ff585f76208beb9936a6aa9449adf1cced85952aaf2c04f8c6f2a08883071378c66f297d3cb73a53ee9d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/et/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/et/firefox-69.0.tar.bz2";
locale = "et";
arch = "linux-i686";
- sha512 = "47079c0a4afdfc3545283f755c75bbe4ea48b2e0d25f65d5ffb9b3bc5f71eb6015f9f0cd62456042d1df123c8ad0eddea791eca4a91ab30733a53679d25e6332";
+ sha512 = "babfb53e1f5a805013eb149bbabc9e9968423c138bed3f8d6146983928210d44c57565a6abaf1f97fd741fd328a3df60d502b1357ccadde79ec1a228147b9334";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/eu/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/eu/firefox-69.0.tar.bz2";
locale = "eu";
arch = "linux-i686";
- sha512 = "1d95f71b8a83a86743bedaf480b2a916a8b525868c7b9ba0ef03eeaa3ab5147ad75103d70e7398727a79547bf7794bfa54c6e10b6995c5d0aec0f3ec2d703a89";
+ sha512 = "d88809fb0dae2034f36080bd117bec9d2192c3ddea337ca0012391ed6a17d8f09894d0a3799e712fb3c0fe1f6f88074b265366fff92ade0a5f2db8cb96ab0afe";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/fa/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/fa/firefox-69.0.tar.bz2";
locale = "fa";
arch = "linux-i686";
- sha512 = "e87c62186d950a8f89d6013ced127cba0156a38caaf6bb243a7a91f484b424239c6635000d88e77a17a6a6728f6dc2574b55672c1a79cd216a7393a795b67b76";
+ sha512 = "acef056f215e333a29bbf8c13e17036e50e7763cad2a0e46324326f25de38b0c0060cd1c313cc7c3fdd43ed537e913a0885c6fe1e474ab7746c82531d3e27b39";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ff/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ff/firefox-69.0.tar.bz2";
locale = "ff";
arch = "linux-i686";
- sha512 = "8fe3080c8bfc3cf6c13bce19c7fd143ab9d98df4f0203b4455664c69988159c3acc55179c628c2808f536c0e3ba16e8025a1be746ee94c7fc4c87dc409094d02";
+ sha512 = "dd13224227e1dd82b0b5e153ec4e43e66308fc38e1c8b68402b0a931eccf0e23afd67215832cd01428d975a3dcb72a5e6f876ec3fec2c1641c2058a93e623d83";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/fi/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/fi/firefox-69.0.tar.bz2";
locale = "fi";
arch = "linux-i686";
- sha512 = "33bd1973c034677a690598cbfe59fb7c03e7b60c78e28e86fa591af3183743ca2ac039afeb08ea17614426611ad09d2876cda88189f551f3d6ca2dd2ee963ba5";
+ sha512 = "3681a99b3ffa8294a81683395ca158a93ec87484d1490ec55c24b34f24437b6e6ab89b3aaf0430c49cf29dbed5a92e605b4a5dc7cf3d2868eb8bb935b61ecad1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/fr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/fr/firefox-69.0.tar.bz2";
locale = "fr";
arch = "linux-i686";
- sha512 = "dc316f3868d908f2313de8ba25613a3b5996dd158afc87e651130ec27e830a249f64bf1bdfef0b99952470cc895fcdd3d41ce336dd7a835da6be9278d8f25dec";
+ sha512 = "3bf864381286094a373ed77df37d116424f2297c9efcdaf8fd73190253b77701afdda32ee692292bb4889eeb87bba8c1d6aed3c961a58f717c3ecbddc8fe098c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/fy-NL/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/fy-NL/firefox-69.0.tar.bz2";
locale = "fy-NL";
arch = "linux-i686";
- sha512 = "68b4e73d79ea5e55b7a4be884191dd011974fc90fab48e6bf625fb03634c543d04ace2cfb28daa4c05e8bf9fb5666f7bc73f0b1de4c8bf36642279a44ccbaeef";
+ sha512 = "9468187b6afed9e2fe02cc72e1bb88e06c312af13de59ef97b54f135853ba47916f65dee7543578e01d18352367f4d4ff9c035e4c43666c9510c23f7977fa6f5";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ga-IE/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ga-IE/firefox-69.0.tar.bz2";
locale = "ga-IE";
arch = "linux-i686";
- sha512 = "cb0b37808e36fc36c060b70e7c54012c49a6ef1e4a051fd8548742f8afde45dad0a2f5b6936cda2cd3df1412e72303a1e96a3131c50fe3926b25babf58220e6d";
+ sha512 = "5135e19b3043ca9891af4035583f228d9a628f6b8717c124bbc9ffb6cb19866182521719e544555257a6921cdfd1619a67d21af8be327fe3f5582e39b9cd389a";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/gd/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/gd/firefox-69.0.tar.bz2";
locale = "gd";
arch = "linux-i686";
- sha512 = "eedac3197db0d0165ee953d9b7d2f85508c66600aa68749040388a3ec84d9315790b8bece2b64891a4afe3e9b333898ea397bb1b31cba87a9f2f4d4fd993f852";
+ sha512 = "a7d079d791fbde00d83981080694fe813bb2abcd03a014abca9fb9a9df5af9e1daaf4cc6b35b1eaa2359aa9caa317a4352db6ed40a3adbe6021ac76fc48529ee";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/gl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/gl/firefox-69.0.tar.bz2";
locale = "gl";
arch = "linux-i686";
- sha512 = "34e36d460877d0a6f9cf267fcece3d2deeb0be1646d0efc49f55554fcf814fef831f9d16b7814732f360196e7f26b35bbab37e8181d0869ddf4ce6d2ba2f5f03";
+ sha512 = "020c63d6ace98c964588040c15d0e8ecc6a74c63cfaf3e0e64b0bd42bcd2a4e7bf762ac93fc510beb1689203d56812e87be743886ca5eb6d1bafbbbc0fe56216";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/gn/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/gn/firefox-69.0.tar.bz2";
locale = "gn";
arch = "linux-i686";
- sha512 = "e40ff912e46f0765d336cf275d90c18ebdc6636aec3ea445b19c1a4a14384143c10e40130e69c7d37011680f080d46f761edfb473dceddffa3f3008893560222";
+ sha512 = "0681b4cc593d63f4244bbdd6009287d89acb3709741281c6604c5de57593e53876e9448da46a718d2fdfe369feffba1d5b115f5372b68433d5b05ce2d06c3647";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/gu-IN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/gu-IN/firefox-69.0.tar.bz2";
locale = "gu-IN";
arch = "linux-i686";
- sha512 = "17e3a0ff17642f26096b8bb54bdfa74029bd867ba22330114a8c002a4c22f30a3c4550591734e238e3841976e4d601279b9889879ac8d9a88d353926a66f2606";
+ sha512 = "1e4afa88d7f153f2e653d754c71cfd960b51ecd016a533f868a96d3a4c076d5f0063d7aa169740c5f3c6e91c6c10f54edf1a4ad1829cda2fa83a462856d1f981";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/he/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/he/firefox-69.0.tar.bz2";
locale = "he";
arch = "linux-i686";
- sha512 = "00f7e08b5e03c01a67c71bbd3adc3f1cc2e0ab783c9a735201bf4ca868d9f4ad2ada60faa19283f566ad6a7708f9483ecdd6758f07951bc05ca50d0f6de0cd77";
+ sha512 = "3ea8ff7b1397ca2e2c15cd1fbfa63542d5d31fbea6fe9fe0c11b8bea0d953c2c2e35afe336714bf76baf2f38ed3894d869e9b467fa98fcc38796f1a31c6a0d00";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/hi-IN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/hi-IN/firefox-69.0.tar.bz2";
locale = "hi-IN";
arch = "linux-i686";
- sha512 = "54329781d8a5b165b73ce988a79ce40475b18434870c8d5b46e114023e8b7f8eeb3ccf4bf198ed6ecb5672076a7c90b718534e9007ec320c6d2de7437022da54";
+ sha512 = "eed63dbb1d8a702cd755383f967d859015040db231b464c3691376b3cd6e8ba5b23bec3460bc0c7dd6b0798735a196525530a533caf68e4056d54d54bc4ae50c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/hr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/hr/firefox-69.0.tar.bz2";
locale = "hr";
arch = "linux-i686";
- sha512 = "40f4d218ff0d2cee43d20e45c3f1f66198fc5f0e1c752acd8f8b497e2add4817122ca90bb3fd59c38d6ab5279b2b2bcfed08a7125a979999e003f16d9e835019";
+ sha512 = "e79b0398e4a57751c87f11574b9bf6d7b92cd578b41cb80cfceb2f515e01c58bc17426fd7b3668b4d5b48d17abc60009ce1539b2a57355a90a1394f742c8916d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/hsb/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/hsb/firefox-69.0.tar.bz2";
locale = "hsb";
arch = "linux-i686";
- sha512 = "9cb156d9528cdc125f8b532e484a4bb8d6b3d243951c3eae35519257844d65435b8a6a0187a6570ca343e815f79ccb78cc6ae97d3ba2bc2fc3a042f204f5c5eb";
+ sha512 = "704dce04396b78070853cb2ea8a0d6c4bf1da489864f4575a5d98c953b765fd7660e5c75bd3506bb05d94f5eca12d37a50be351fdd189592315e32c3fc361dc1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/hu/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/hu/firefox-69.0.tar.bz2";
locale = "hu";
arch = "linux-i686";
- sha512 = "6469af6883cc05a9f2f97a1cf0ae3346959c3d3addf20c572a34b8ec082f3a1f460d6a84d39947a1663a98296652726d6818a195bff53d7100995782fe1ab1aa";
+ sha512 = "613b525e8abc06e54dd985984b690c25e5c9ad8aa072cf5e48b20298b91853a8019696f7d7101d74efe200119a4a9d1196b71fc286bed7916d712dbf6c6b5686";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/hy-AM/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/hy-AM/firefox-69.0.tar.bz2";
locale = "hy-AM";
arch = "linux-i686";
- sha512 = "d9d1492a7a3070e9d5466bac8044be4c5a755dc9a1e3f619ed4c1a5c553d3486b8aa195102d9bc722c1fc62d173a49c6e1f21b26d2bdd50ca547d3200b8b4739";
+ sha512 = "5d4088682997b0490ac49606dc8ad56158b3b7585ed4b89507a2596d119eae098d82fdf224eb047b6090572fd5b00cb95dfc5027afd6cea11b0f05e6d93ad439";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ia/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ia/firefox-69.0.tar.bz2";
locale = "ia";
arch = "linux-i686";
- sha512 = "c387e44183caacb7c6bd8e6a525d605f5c1058feae237906505b46a0cb1a82df916d2ee1b7aec1de13ff8e390835cf84d5fce1b6808f215dd3e164983501db19";
+ sha512 = "7ddcddfe7e3baf0bae0bac901b503fca8c344bd02d6b52d90face8b8575318c8805db618e8591372c4c4c60e1092a842f2bb17a920d96e0f15a1491ac847305b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/id/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/id/firefox-69.0.tar.bz2";
locale = "id";
arch = "linux-i686";
- sha512 = "49540e1aa588ec87c5be79cccca78801f947098f6a31ec92a1c429ea46e3dfb265fb23e90e74270350426ae563123874638924672729e74cc3a618564b41928b";
+ sha512 = "90cf509c70963750a4bbe5029e5e0512e98c8c7286d80120e39e299920d9331cb72dc7f39f2906e9a5b331b54d2f282b46c4b7f69dde51ce2b06c39e2601d335";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/is/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/is/firefox-69.0.tar.bz2";
locale = "is";
arch = "linux-i686";
- sha512 = "395cb16c94e87747c947028e946b5095d008c3faca730ef9b2a8cf17d6f220caf8bd40e59e8863d49287943048c68b8246999b7838b532216b42539e36942d8b";
+ sha512 = "ad4c03603a8a81dbdd968ce4831ea40effe90b4cb044315a3c0566b647854fd4e95cdf6c085da8a4f4d901ef671392237aee70e4604552381959b65ea6d32089";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/it/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/it/firefox-69.0.tar.bz2";
locale = "it";
arch = "linux-i686";
- sha512 = "0728480ebec48e6880b7eac2fc69d2401d82b8de44d6516aef8fd882fff1bf53f844986f8effae08cf8c3aa63fa469e96c733258c7b43fea530b2f34ffa71c17";
+ sha512 = "04dcf6f3b9b3f22a44b74a2e9e20d6fa74a75707c3b3145d048fd9bc10eb4859127cff525367d0e7fdb8ba6d997a7ac1506e3611ddcb80256aa0cfb7d472d407";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ja/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ja/firefox-69.0.tar.bz2";
locale = "ja";
arch = "linux-i686";
- sha512 = "2931c0382e8d4398a7528c6c4f3158bf01d0f9799de8e17b1485af7435d9108a2fc0ca8a2aaa06d1be7455fc9381053293531f076ffe4318c6990f87e1659d54";
+ sha512 = "d9d017a9279bafc6d7b440ea7b11ff945bd647601e85b395e0ac086684f58dfb15bfa18688748e934bd76ddb3729804e10a55ec3428f2e03413f9bce8921936f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ka/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ka/firefox-69.0.tar.bz2";
locale = "ka";
arch = "linux-i686";
- sha512 = "7c72e0411b8bca2f189b60ce4573281131870d0de7f7b2aa30840d6751616b947cfb697641cc447b6ac1e1c0f8d80690b589d10dfe676581a8ee873366e4710d";
+ sha512 = "513d865cbda546448b77e7adbc236d24dc1d379fd5c74ada7a8fe6667c61237428f0751e1a9c0e067c9ec5684ddb8b0fe8041b8eaa04e98c4690ca1486c20281";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/kab/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/kab/firefox-69.0.tar.bz2";
locale = "kab";
arch = "linux-i686";
- sha512 = "76a2a1a626c15fd13d9e509bcffe92f71cf9290e060e8e8d991643f4c5fcecfd3f7c28b7798000387cbfb4d21fd0cadb12672560e3d108ac18691da7f475bd91";
+ sha512 = "7747666dffb5a8836ee88669dfa7e5c848e27821911499c1b4d896172bc8f696dbb998c701b043177fe0370000529d8ef807cbebf9457e013ddd822faf4b7a19";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/kk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/kk/firefox-69.0.tar.bz2";
locale = "kk";
arch = "linux-i686";
- sha512 = "938f7744143e2fb8ed90e1ac13f3e0019a4baf399e9b7e986e95449a3f7b4be19f12345a84bb8f61fd96d09ed294f36d2d8fe5f30d3f59b9bce4a63bb191c1de";
+ sha512 = "badeb493bbcd591359a283e930d9f042c2c81af24b2824cc4559f1a10a5372dba3eff457121744f0e5a8bc78394215535524f440cfe7435853f4b97db03a05a9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/km/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/km/firefox-69.0.tar.bz2";
locale = "km";
arch = "linux-i686";
- sha512 = "2896499b5ee57a5e0dcedef1194f58830817515e50fe11b99c91a76b5979b93ae0a8385a8b379a4e335aa8da1ba7ffe93954d96b0ef1960b98e49f926fbbc6b3";
+ sha512 = "2e33e07d9a35eaff182ad012dbd2f59cfc70170cba518d066bb05bc4873867dc24dcd0dece4fabfc045cda6313d5aa86a31e4c5d42579eecd6a11596a8d806bd";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/kn/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/kn/firefox-69.0.tar.bz2";
locale = "kn";
arch = "linux-i686";
- sha512 = "90e0f7a0aff8ca0132a5da8331348e87227c94c687b80a4424b47c51b3aa0afe37569189e2c4ca41d081fe3988e2bdee16ca37810c9daad429e36de1e8ede339";
+ sha512 = "9ba5560db5f127018b3c365da5c18942da60ce609fbd5ea24c2eac75bb683a0853f212d8c46d7ddbd6190b6158d733d9f9dcd146188940e2705e9ca84caf1c33";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ko/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ko/firefox-69.0.tar.bz2";
locale = "ko";
arch = "linux-i686";
- sha512 = "4b1ce01f47193cd3290af0a690a133b9a1f1661622784645d8de59553fb534bf34aee9640a909297fb5a595f4b00474d0f6e4ba73a83f12c6dfa0adb66f25f74";
+ sha512 = "7f1ac38d2c303fa4d6ba628b3c57f5fbfde1b29e6830f5a2fc657f85d94f37d7474dd590e6b2933103cbabeefc5a51d6e59b434db7c8b422b8071b09a81e73fe";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/lij/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/lij/firefox-69.0.tar.bz2";
locale = "lij";
arch = "linux-i686";
- sha512 = "fea961f081745da6cd6c13caa5dfa1695f8b0627c4c33f171240c53cf4a9052f8c5c41d34525da0414d5522b07f8777d46b4aabf52c8a9021ec0bd301cb51cbb";
+ sha512 = "9e8023da48c91b1e1eb5cd67ff661413a346fdd9a5062f71df712a4dd237c8b54ead00c49d03342eb32a614b85e55f6cc263a4968c8c6b09e307876483ce39ac";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/lt/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/lt/firefox-69.0.tar.bz2";
locale = "lt";
arch = "linux-i686";
- sha512 = "f4e73c533c8a256f1c313de5fc2117113c6702cccda64d8337c767279f5ad82c8f202935633fb790907d6b1cd6a57eb9009e7e8de64b9cb7c6604985cd0a4eeb";
+ sha512 = "1d422bfdb4fcdaf791541a778bacd27753e154e6093e0f8e76146f0eda6cbaa40346c519590fc78954d6d88c7fb0bd1c23b0ac5e359dd7a052ec124072a63c1c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/lv/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/lv/firefox-69.0.tar.bz2";
locale = "lv";
arch = "linux-i686";
- sha512 = "6999706696ae4ee7835c4a7eedce5671a471702081236e9c1f56679a8f27c38d64847c7690e596534db738e4c666f3a2998bb1ce75f2c97b26aaf83bb45a4fcc";
+ sha512 = "5168aef4edacf147f4f26f8f6c9f9b051339bf8b3910d8cda527321c0a6bb410a4cccc016c939de7d99a2db3b096ca2a14bd9eb5889f468d8aea27d2d96db1a8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/mai/firefox-67.0.tar.bz2";
- locale = "mai";
- arch = "linux-i686";
- sha512 = "1b997a63b51677b7c31c7f1b3b5fd7e37efe132cb1cb03b394f7b9e7b3f7f44eb2184184171dd93f2d1aceef85f37da645d82bfc539fd6e2a6f763837b8eb095";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/mk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/mk/firefox-69.0.tar.bz2";
locale = "mk";
arch = "linux-i686";
- sha512 = "aefafd3d7f7f1cabb858a851e883ce40f3dac62ae980ad91b4d0b0323323cea1a70cb0ad845da7e56e1345ba6f3d58bd4b7ba5e10e8a45168f0fd1ffe3a1ae5a";
+ sha512 = "af4d3216ac877e1fed003056ccb9ef502ee8ed9984df609043190946d7017f0e94838a00c1bbdaae9ff0078a8779bb3e0cef668e9f38dc94f546ef9cb4691e1b";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ml/firefox-67.0.tar.bz2";
- locale = "ml";
- arch = "linux-i686";
- sha512 = "88b7907e815ea8a66ad790e83973ef20852a33d93871b0853e1f18bcd4846f49f74bd94a788edde0209b49f4988392170723c0fe14603feb1867d5845467caa1";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/mr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/mr/firefox-69.0.tar.bz2";
locale = "mr";
arch = "linux-i686";
- sha512 = "cb6286e569c2fc492a4e7faa96fa67fba89306f920cbdad85ee0f63ad5c378f9dd1d59cec06a6c09ffff4287578269c91a8d338ce9377ec41adfdbd057f7c4b8";
+ sha512 = "744196bffb399181b66ae4c192febdf595906809985807a596d2e482c2e1d519c0e3500ad98d04518b6f71dbdcbacfc481972bf2cf7802ad81f6627fe3b59877";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ms/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ms/firefox-69.0.tar.bz2";
locale = "ms";
arch = "linux-i686";
- sha512 = "52594f3d98d83b008e579357ae7e1653a51cdba81561371cf2168be98a4351c3c97aa8e2673e0c845680e33128d8ed22fa69ff71f5481aa1beb8000ea0f3a34b";
+ sha512 = "5d79b3b383d4163a4ae5ee84c28d8578b27e4fb42d09691fa7cd6fdf77e3a74e5e83c9bac581fa59e74b2aaaf8713f9f3b6b1d5ad778579f274d6f08fb4fc36c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/my/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/my/firefox-69.0.tar.bz2";
locale = "my";
arch = "linux-i686";
- sha512 = "3d526f91a7ae8db889cd7d9353cb63868b59d315a48324772bee6805b03fa2ec5d86bae27a8f9e30cfc2a2132abd8134ffcaaaad6354733f15dc4af2d1198c0a";
+ sha512 = "60b128b6d0cc632667b496f8b61e39fd14ad4c1544b4d0041cf739622c5c1b1cae539e848fd5944d0c3286f0b03dc2de46a156457ec6e2efa155e13cf7ce279d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/nb-NO/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/nb-NO/firefox-69.0.tar.bz2";
locale = "nb-NO";
arch = "linux-i686";
- sha512 = "6871066e47a534bedeec7492942829fa0eab7c18c8ef920037c7fb5b862ac3519d8615205b036d93b473506143ec8f1359f92714c98b1ab1280d4b883a3fb768";
+ sha512 = "32e52dc1b1221862c0e3243e29234b330d73cc99c4500faf785aa911c92019e655beaab6f79911a8661a5efbd1dc8784aa328216653c2a206e52f703057f15c8";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ne-NP/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ne-NP/firefox-69.0.tar.bz2";
locale = "ne-NP";
arch = "linux-i686";
- sha512 = "f2a1d642e3d19bb2986d0bb9f34e20e0ff6325670693c080340deddc682fefb7e78e75c3b6d311cd6cd8ca3444078e55f7186d5652fc13c2fe7bf66acfab96f3";
+ sha512 = "04802130d9f08cfef7d0f5d29e0ed0b9757c3b7fbac001bd35431ea4851edd8c2e4837518fa893381f6c0c976684ffedeaa96b2bcdec3849cd2cca6bf170bdd3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/nl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/nl/firefox-69.0.tar.bz2";
locale = "nl";
arch = "linux-i686";
- sha512 = "d858d833ea88aaaefe0bf08b4fa79c1a76e914add91302221d19cbfac8367409c6395df134c6c7687a425fd4f18c1b89ff041184dabff93ede8704884a0a3d1c";
+ sha512 = "fc02ea317fa90caf203608a31f2a188971bf5d6a900c8f03a422ffa76adb1eefd32c55f317c7c89c8443d11a79f0041a6a111a78519b441eaa7ec4832bd8ad38";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/nn-NO/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/nn-NO/firefox-69.0.tar.bz2";
locale = "nn-NO";
arch = "linux-i686";
- sha512 = "723e279c90b1f122720e4b2db948e90a0fae0cc8ee2c388798fa0636a32adb08c97840e3a896a5908bf40745c3bb3fa39c56c3757d16478ed38c9afbdffa0a48";
+ sha512 = "f7f1274605b79541ec6f93cc7f023fe437c93e969d3644c6867a7c2c448f5504f9a6fc29f47c4267f13187ff6eb1b240e32e17dd2e5d66afc96e0a3bbecd9922";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/oc/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/oc/firefox-69.0.tar.bz2";
locale = "oc";
arch = "linux-i686";
- sha512 = "5ffe99c04a170a4fa907737beecf718bf3e6519fb6edcc487af6d2af8716391a83763c16036628d02b0c0f2ebc25ae85cefc2b1b54091a43c52198b0134f19e2";
+ sha512 = "ce1c1a35de6ac933192cbdd49370d5cbf90dfb993dcc8e3c739f2e3ff2023cc793f7ffeec40b3ba4093449dcd37e221932a6c3771f8f70ec074bf79e50320f69";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/or/firefox-67.0.tar.bz2";
- locale = "or";
- arch = "linux-i686";
- sha512 = "2702edfe4d419072347ef9e80b814c68837339f6bc06ae61d8c6dc283d94c77e35d57b7357544761b80903f09c73387108ffd755063e3df6035e9a8d001090a8";
- }
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/pa-IN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/pa-IN/firefox-69.0.tar.bz2";
locale = "pa-IN";
arch = "linux-i686";
- sha512 = "27c4d23c85994691f40df9856dcf71b86a25f1364f598daa07d6cf05575ad92502d5222bfdef6501dc5676dd5e5b9d4dd9dce8f7da79cbe64b8cd1a9a949a3c6";
+ sha512 = "50b4826d83cf08ebccae048c4dd3760f3ec639427d6354de398b77501e73df5062b8090590fcd74be54005a7df61a8cd7c2f4207142bdcd6468b1fbc126801a3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/pl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/pl/firefox-69.0.tar.bz2";
locale = "pl";
arch = "linux-i686";
- sha512 = "3bf031564ddddbac6070a141ae2a1ee1ef14376b3de73c54643c40eb71694bf03cf5b2f38c6e8bb1a0474756682d03768764b5ea92854451131725643ca4daec";
+ sha512 = "ae77877e1eb03174a1899b2b5d0820b367553d56febea14df4f1545a7f10de16c9f4401efad4334ae04a4a5c8abe49b2e24c09263bc002937576ad5ce622ed17";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/pt-BR/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/pt-BR/firefox-69.0.tar.bz2";
locale = "pt-BR";
arch = "linux-i686";
- sha512 = "480c70b62a4332536c2eed8a87b3f9ac007ddebf1c88b4bd45b389869e1869a545aed29e5e17fd2ae491266b2e3cd646a3430136c12e41d13e1cdea4c40e3642";
+ sha512 = "92cd33b35927dddc22e8a3ff3833ce2bb4913ae9ea12d4220d88861f7badcd69d1dd97be22cb6546a8f09b0e7620e17eedddee3d159660c9128c288e49a47dbf";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/pt-PT/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/pt-PT/firefox-69.0.tar.bz2";
locale = "pt-PT";
arch = "linux-i686";
- sha512 = "7206ed76f715f51e2e861f57739bddf36f83508111f5b75a758237ccd4d6558997a31d0c525909c957d4878ad9168fe161308f190fd497abd29a45b8040a7be0";
+ sha512 = "fb8d011fca706e6337e0b0b13b2e1ec619565b954c887c71720240905ec5c085aa7037b54e8b3df316c253483a3d3c7ad2182b27d8591d4e2840c6a4f9e39382";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/rm/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/rm/firefox-69.0.tar.bz2";
locale = "rm";
arch = "linux-i686";
- sha512 = "71c07e448bdb1f2b43847c51a671d652ed6442bb6d79669e662c2c01632cc949294aff63a4702284cec6665680d9b38cad23b85a6751916703d93a73b433168c";
+ sha512 = "fbf0e34fbae7da291cc132697b6505f3213ad07c78a47171827a9bd6c22b674629cd21a9f47187173cf21f1b168baad0f058365a9ab24e274a2d3aff5acd0e38";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ro/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ro/firefox-69.0.tar.bz2";
locale = "ro";
arch = "linux-i686";
- sha512 = "30ae0636594e3d03c4372f245bc5ebdbe2e0d072603bbc385dd3b725c0f8feaeff06333b38d9931c4aaaa2fb7337dbcea8368c2662fb904308caff7fd4989718";
+ sha512 = "cb712f917e0b70936ba1222f03c8874134e1cac6c901d94792aada224d894a607829b64993535f0cf61d8a2a050f488452c35404400587222418c8312e2b22f6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ru/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ru/firefox-69.0.tar.bz2";
locale = "ru";
arch = "linux-i686";
- sha512 = "a73530f9fa02abdf7ec6e8554554bf0f4fdbbcd458a56cfadd63ab0c46af543bbfada923a9b37754c9cdf9dd0cf2b95da2e0d692a1605b18579f0ed3167a8384";
+ sha512 = "7ba048f533655e5802347a6d409ed6db4441b421cb81d66269eb610336f3fe2077a5bea405f235c167390f745762ef29863e83e6e704bdec17404d26a97f8ab1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/si/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/si/firefox-69.0.tar.bz2";
locale = "si";
arch = "linux-i686";
- sha512 = "df6dc7d452a3f5a60ffa65c73001e55218762fa40ea6f0c55f4efaeb00be3803a84d80771db60f836bd128d5aca8cef5533340cf1a731610f1f1b66d0eb8624d";
+ sha512 = "ea59ce14e80132d96f0419981dda30184809542978d158b8894c77cb4622c3f0bfb9bbbc4d456b386a023d9856ff6b02e5388ddfb0aced2ca764991ba8bab48e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/sk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/sk/firefox-69.0.tar.bz2";
locale = "sk";
arch = "linux-i686";
- sha512 = "a88cfda496b1092d9589b38849dafd11a9f96c96794130e8e9107866ff395a2e30b214bdc4ac72fb815d919cb77ccd8954bc60b6c13b2d3e1c682ade616cf357";
+ sha512 = "4665b3b4b96a07ea0530acf4063dacfa48ff39a65d2e1da0f6d3f65703c3916ed65a8881d8a9d92109e252993f63edfec899d00a3559149a282b615624267431";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/sl/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/sl/firefox-69.0.tar.bz2";
locale = "sl";
arch = "linux-i686";
- sha512 = "2807f4bdb8d714caa05c72982f773fed0ab25646e99fea44360f60c07149582fb9933a9668ae4012e6b1ec230e2cd4bae57f81f925b77d728f8d6a248746608b";
+ sha512 = "f3d6486a3dfc435933871cc8abcd3a428d724dfccca26be63df29d9f5b34fec115bb6e185b2aaf839f428d0ab44d33583610bf9d1c7f02de442506d1fc06192d";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/son/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/son/firefox-69.0.tar.bz2";
locale = "son";
arch = "linux-i686";
- sha512 = "ca5465d62e66146440d56bd2d65b7e770bc4fb089fa593860a3950371e581ed15c35557d2f0a7dfdac323f35b8550f11b80656637176db66a3dd310d881f7169";
+ sha512 = "6486e2f291deb1fb241df996e7898a9d487889815195d01d77d6bfcab6e2cb4bdc24c7694b6b05a95758ef130cb3332842e36446ffc2a926940ded5031cfa13c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/sq/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/sq/firefox-69.0.tar.bz2";
locale = "sq";
arch = "linux-i686";
- sha512 = "ece96854ddd377c2e070f499210990aa07b2bee5f9c36dfa5e4c66ee1536a3462b921643ec7adc5fc72dd3d2f5eee9996b37120c19ef736e92f303cd816f0d59";
+ sha512 = "b111d30e2cb7fd5edadc68b9d25fd8970db62d721e903d9874afe6b875b313d039dc7c4e98e3de07a09fe84ca7d0ed10da2e74cf3cd4953b2c25252e16e01516";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/sr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/sr/firefox-69.0.tar.bz2";
locale = "sr";
arch = "linux-i686";
- sha512 = "fa8ddee8dbadaeedcd725fe031deea24cd835002fe93a9961598a00f09f7fb14355d6a26d049819c00c4a95f2bf149a598e31f7b86ec5b3b26b7c3aa47cadda3";
+ sha512 = "14c98d156bcae234c12f28166ee5ffc7d034529efb76536ffb29ee8baf850cb3c934ba177956ceba9c4cde2481064c3a906515328d1d8b6f5d9258cc1d30da94";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/sv-SE/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/sv-SE/firefox-69.0.tar.bz2";
locale = "sv-SE";
arch = "linux-i686";
- sha512 = "eef44d9f7812718273eeb0b111fd19c97872854a1a257060ed2f7b9fa6a152a17c123e6f86edc6d0474836a3e78ba5d939c486b7d0f851d3a344d217d5aa7e64";
+ sha512 = "a196eb9ec6b667d04dd787aae47a1dd22a99f01fdcbf6b36e9946038dad52ddc3d215e2307641c3f539e476c9b8e3f9470d78b914a243b51595f7d75cad2e114";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ta/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ta/firefox-69.0.tar.bz2";
locale = "ta";
arch = "linux-i686";
- sha512 = "54c7c7675945ea2915c5854da6a3f693dc52ba302c25b093d66f95121eb126c1650d2cb040c6b47b3b9562a17906f1e78d38b70b6b045b6f9c2a439a97577a41";
+ sha512 = "d76c3797cd752a2b8021694421c224c2e2afa2d1350cb86263b01a8efd84b49cbda40a5c6b64f981833865944798148508fd6ae3532e82b773d650b41980893f";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/te/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/te/firefox-69.0.tar.bz2";
locale = "te";
arch = "linux-i686";
- sha512 = "0cd84eba0aec8be3a4b553a22642a93f5eb662668a11bbe7e5ebba4fb5561149cedd05c110a2da79e0ca040b12c7f96c6a839c7afdaf0ccfc8ee42082e3217d0";
+ sha512 = "8bf86410d1d73cf355ecc4c2ef3308c35a31d55f90bba1c942f915e8cedee919c80729271c2d9e3aecbf499ca711f36bcf74c8b41c50024161e567d395485477";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/th/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/th/firefox-69.0.tar.bz2";
locale = "th";
arch = "linux-i686";
- sha512 = "ff19b5487a4757c1c45057a3362abe92e4c9843e44ce497176de018d2e62cf9dd86bf049e94db940683ab0237d8425de2dae7d035de14ab469b74c325c5e2422";
+ sha512 = "c757659188b17cfad880e70eab772517128bfa7d1dcdb86f313a63fb46c3f3d3504d66bf3ac99d1058848264ee4458bc5b77bf78009e9a7216c1fa359714a3d6";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/tr/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/tr/firefox-69.0.tar.bz2";
locale = "tr";
arch = "linux-i686";
- sha512 = "684bbfeef4c1f1798ae65969d61feda683eff650744df4ab67d20c733f48be4a3593c5dab31a47373f42d205dfa5ddc99ec76bfb983a54c3888fbf48a334d0a8";
+ sha512 = "635ad19f913a2d6dc46df50589229658dcea0bc570f45b7c5ff8eb6878b852ebde3a490512d679a6257c39b16fb986f40ea2894c08caed8c485a91e95f4addc3";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/uk/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/uk/firefox-69.0.tar.bz2";
locale = "uk";
arch = "linux-i686";
- sha512 = "452cd4466c8be5bd38918582b3a979dd97c7268ca475d77954138adbf4538a731c60001cfea93b20292ec144639fedd52d5d12949d6a7a9c392334792d659ce1";
+ sha512 = "99a3410ea2caf11911e7613568f7522230b13dcef48ffe6b95206a6a6d9f43f396b37bda1fad62dc4db097da55f96b30683626031491d88d116797b605d3cd2c";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/ur/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/ur/firefox-69.0.tar.bz2";
locale = "ur";
arch = "linux-i686";
- sha512 = "b4f05f87a341477ae8e54a7fda46175f9dcf52f92daf6f278aa3cdc81697e4fdb1ea5dc850c547dfca082360362e8a38a8b0c0b4505c55a5added2df500c7f61";
+ sha512 = "aeb60017d6ff2deb1675880c2358eb2a8561196e6148e8f796bc6964d26c303355339d7e6e4526be0814190a3bc4a98b48228457d6709a762e0e36bc83f6fb52";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/uz/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/uz/firefox-69.0.tar.bz2";
locale = "uz";
arch = "linux-i686";
- sha512 = "9eb28b63a6172c6d3edd70f61821dc7af91f3696969e45891dfac7c83f0293d5969f99dec3b49a8b00f628b4d17bc907f38c4f7750af860a6d81629823ae47d3";
+ sha512 = "99d025db18d86f75818354abfa56bb13041832605f25e0b91c87e18bda06d059ba62aec8be7141c8c6cc5f34edfeb83bfcff9234222ec88121b51fafdeab7ca1";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/vi/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/vi/firefox-69.0.tar.bz2";
locale = "vi";
arch = "linux-i686";
- sha512 = "c809f7350da95034ee3e94140c5e987dba1ebc8693f60d9c7454e43ac320d44c991ac6ea4f431d695b0e5f382101f5d34b435cb2021dc926378a22fd4407c0c0";
+ sha512 = "5e5a586ed274f112ca20d729c89b949c46eefdf2d993e4bc27ecc4a40530f89ab68838dc458e510cb5d862e63c1b7b6188657650599dea920070092f091d6a2e";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/xh/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/xh/firefox-69.0.tar.bz2";
locale = "xh";
arch = "linux-i686";
- sha512 = "6fdcd3aec5a051505c907b5f5cf35a9407bf7239d23d26fdc9e28b754c93cf7e3bcc25077e6c8033497638ca1dfc0141e4fe9d034dbd4540b479e06e5fa3e5ab";
+ sha512 = "fbcf97c7235c0a765fa083893dbd1e82e6b9befd8266bc86c1b1ca7a5d1674af2cdd8c86d6f2087683823eac2774e0b8983c4da93c72115ea4d53e6b73815140";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/zh-CN/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/zh-CN/firefox-69.0.tar.bz2";
locale = "zh-CN";
arch = "linux-i686";
- sha512 = "c1bbb8a94b342f10f0b238a507e0f79172907fc92c5e7674b40158e302329e1f69317bfedf135e90a077bec49ad1328b93cc832de09231152154536e534031c4";
+ sha512 = "93cce943be38357705ce7d1d4c5d88e5256c34280479216a4f739b60665ba832ef7b18b23730256871ce3bbfcae744ec421ebd56aaa73acb6cee91de03d0abe9";
}
- { url = "http://archive.mozilla.org/pub/firefox/releases/67.0/linux-i686/zh-TW/firefox-67.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/firefox/releases/69.0/linux-i686/zh-TW/firefox-69.0.tar.bz2";
locale = "zh-TW";
arch = "linux-i686";
- sha512 = "10c1b7062a0f3d3ab929f73b1302edfe525470e6b2cc6fcf81e6da00a96ad561c90a61ea24bba006b1ea15310c8dc85422b4af48736f5402dc4531976647fd7d";
+ sha512 = "407014668d7fd6802c1966cb8ac8571c151877ae3a9841e581784987a0337cff5c5ff191d13f305c371c7880a269b8483ac96b08bfd9f04b8ee4747adca5715d";
}
];
}
diff --git a/pkgs/applications/networking/browsers/firefox-bin/update.nix b/pkgs/applications/networking/browsers/firefox-bin/update.nix
index 97163ffa762..d6593be8890 100644
--- a/pkgs/applications/networking/browsers/firefox-bin/update.nix
+++ b/pkgs/applications/networking/browsers/firefox-bin/update.nix
@@ -1,5 +1,4 @@
-{ stdenv
-, name
+{ name
, channel
, writeScript
, xidel
@@ -24,8 +23,8 @@ in writeScript "update-${name}" ''
set -eux
pushd ${basePath}
- HOME=`mktemp -d`
- cat ${./firefox.key} | gpg --import
+ export GNUPGHOME=`mktemp -d`
+ gpg --keyserver hkps://gpg.mozilla.org --recv-keys 14F26682D0916CDD81E37B6D61B7B526D98F0353
tmpfile=`mktemp`
url=${baseUrl}
@@ -50,7 +49,7 @@ in writeScript "update-${name}" ''
curl --silent -o $HOME/shasums "$url$version/SHA512SUMS"
curl --silent -o $HOME/shasums.asc "$url$version/SHA512SUMS.asc"
- gpgv --keyring=$HOME/.gnupg/pubring.kbx $HOME/shasums.asc $HOME/shasums
+ gpgv --keyring=$GNUPGHOME/pubring.kbx $HOME/shasums.asc $HOME/shasums
# this is a list of sha512 and tarballs for both arches
shasums=`cat $HOME/shasums`
diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix
index 6e39904d27b..1c6ddfc99eb 100644
--- a/pkgs/applications/networking/browsers/firefox/common.nix
+++ b/pkgs/applications/networking/browsers/firefox/common.nix
@@ -4,7 +4,7 @@
, isIceCatLike ? false, icversion ? null
, isTorBrowserLike ? false, tbversion ? null }:
-{ lib, stdenv, pkgconfig, pango, perl, python2, zip, libIDL
+{ lib, stdenv, pkgconfig, pango, perl, python2, python3, zip, libIDL
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
, freetype, fontconfig, file, nspr, nss, libnotify
, yasm, libGLU_combined, sqlite, unzip, makeWrapper
@@ -94,7 +94,14 @@ let
browserPatches = [
./env_var_for_system_dir.patch
- ] ++ lib.optionals (stdenv.isAarch64 && lib.versionAtLeast ffversion "66" && lib.versionOlder ffversion "67") [
+ ]
+ ++ lib.optional (lib.versionAtLeast ffversion "63" && lib.versionOlder ffversion "69")
+ (fetchpatch { # https://bugzilla.mozilla.org/show_bug.cgi?id=1500436#c29
+ name = "write_error-parallel_make.diff";
+ url = "https://hg.mozilla.org/mozilla-central/raw-diff/562655fe/python/mozbuild/mozbuild/action/node.py";
+ sha256 = "11d7rgzinb4mwl7yzhidjkajynmxgmffr4l9isgskfapyax9p88y";
+ })
+ ++ lib.optionals (stdenv.isAarch64 && lib.versionAtLeast ffversion "66" && lib.versionOlder ffversion "67") [
(fetchpatch {
url = "https://raw.githubusercontent.com/archlinuxarm/PKGBUILDs/09c7fa0dc1d87922e3b464c0fa084df1227fca79/extra/firefox/arm.patch";
sha256 = "1vbpih23imhv5r3g21m3m541z08n9n9j1nvmqax76bmyhn7mxp32";
@@ -157,12 +164,15 @@ stdenv.mkDerivation rec {
postPatch = lib.optionalString (lib.versionAtLeast ffversion "63.0" && !isTorBrowserLike) ''
substituteInPlace third_party/prio/prio/rand.c --replace 'nspr/prinit.h' 'prinit.h'
+ '' + lib.optionalString (lib.versionAtLeast ffversion "68") ''
+ rm -rf obj-x86_64-pc-linux-gnu
'';
nativeBuildInputs =
[ autoconf213 which gnused pkgconfig perl python2 cargo rustc ]
++ lib.optional gtk3Support wrapGAppsHook
++ lib.optionals stdenv.isDarwin [ xcbuild rsync ]
+ ++ lib.optional (lib.versionAtLeast ffversion "61.0") [ python3 ]
++ lib.optionals (lib.versionAtLeast ffversion "63.0") [ rust-cbindgen nodejs ]
++ lib.optionals (lib.versionAtLeast ffversion "67.0") [ llvmPackages.llvm ] # llvm-objdump is required in version >=67.0
++ extraNativeBuildInputs;
@@ -245,7 +255,7 @@ stdenv.mkDerivation rec {
"--with-libclang-path=${llvmPackages.libclang}/lib"
"--with-clang-path=${llvmPackages.clang}/bin/clang"
]
- ++ lib.optionals (lib.versionAtLeast ffversion "57") [
+ ++ lib.optionals (lib.versionAtLeast ffversion "57" && lib.versionOlder ffversion "69") [
"--enable-webrender=build"
]
@@ -304,6 +314,9 @@ stdenv.mkDerivation rec {
]
++ extraMakeFlags;
+ RUSTFLAGS = if (lib.versionAtLeast ffversion "67"/*somewhere betwween ESRs*/)
+ then null else "--cap-lints warn";
+
enableParallelBuilding = true;
doCheck = false; # "--disable-tests" above
diff --git a/pkgs/applications/networking/browsers/firefox/packages.nix b/pkgs/applications/networking/browsers/firefox/packages.nix
index 60d677f9606..3e8cf4d66b9 100644
--- a/pkgs/applications/networking/browsers/firefox/packages.nix
+++ b/pkgs/applications/networking/browsers/firefox/packages.nix
@@ -1,4 +1,4 @@
-{ lib, callPackage, stdenv, fetchurl, fetchFromGitHub, fetchpatch, python3, overrideCC, gccStdenv, gcc6 }:
+{ lib, callPackage, fetchurl, fetchFromGitHub, overrideCC, gccStdenv, gcc6 }:
let
@@ -17,18 +17,16 @@ rec {
firefox = common rec {
pname = "firefox";
- ffversion = "67.0";
+ ffversion = "69.0";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
- sha512 = "0lwljfcbb1avnlafyrw5z08l3wxixfk6nv91blp6sc45mvsk89l77ckfyay7jy4v6c84q4a9h0wbh2mnx0r1xm3fhy9lshlm1n0s051";
+ sha512 = "2q0gky7a6ayb6mw8bw3s35q3ggibf7vfyrxgggz1l4lpcv6dwjj01x45071h106jkvnh71hycvp1cywf98lkybjbfp8c9kd8sivkd43";
};
patches = [
./no-buildconfig-ffx65.patch
];
- extraNativeBuildInputs = [ python3 ];
-
meta = {
description = "A web browser built from Firefox source tree";
homepage = http://www.mozilla.com/en-US/firefox/;
@@ -72,10 +70,11 @@ rec {
firefox-esr-60 = common rec {
pname = "firefox-esr";
- ffversion = "60.7.0esr";
+ ffversion = "60.9.0esr";
+
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
- sha512 = "1armp7nmzn864l42nasw0zqsp8y1zj4vhgbm99c49a435m44c8p66qrjxy6rn2haqsy76i9x5zf8ph2d014ap6g5yhidj7iymbjh5f2";
+ sha512 = "4baea5c9c4eff257834bbaee6d7786f69f7e6bacd24ca13c2705226f4a0d88315ab38c650b2c5e9c76b698f2debc7cea1e5a99cb4dc24e03c48a24df5143a3cf";
};
patches = [
@@ -98,6 +97,28 @@ rec {
};
};
+ firefox-esr-68 = common rec {
+ pname = "firefox-esr";
+ ffversion = "68.1.0esr";
+ src = fetchurl {
+ url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
+ sha512 = "0n8iy9xwf8wldkknq3y3nlm0cmb48baamvz4wmmbpfb2kfrxbsj3wnnd9ayk9zxhrsdq0na9gvkc374mv06nyqijrahd67wljv08fx5";
+ };
+
+ patches = [
+ ./no-buildconfig-ffx65.patch
+ ];
+
+ meta = firefox.meta // {
+ description = "A web browser built from Firefox Extended Support Release source tree";
+ };
+ updateScript = callPackage ./update.nix {
+ attrPath = "firefox-esr-68-unwrapped";
+ versionSuffix = "esr";
+ versionKey = "ffversion";
+ };
+ };
+
} // (let
iccommon = args: common (args // {
@@ -138,7 +159,7 @@ rec {
};
});
-in rec {
+in {
icecat = iccommon rec {
ffversion = "60.3.0";
@@ -228,7 +249,7 @@ in rec {
in rec {
- tor-browser-7-5 = (tbcommon rec {
+ tor-browser-7-5 = (tbcommon {
ffversion = "52.9.0esr";
tbversion = "7.5.6";
@@ -244,17 +265,17 @@ in rec {
gtk3Support = false;
};
- tor-browser-8-0 = tbcommon rec {
- ffversion = "60.6.1esr";
- tbversion = "8.0.9";
+ tor-browser-8-5 = tbcommon {
+ ffversion = "60.8.0esr";
+ tbversion = "8.5.4";
# FIXME: fetchFromGitHub is not ideal, unpacked source is >900Mb
src = fetchFromGitHub {
owner = "SLNOS";
repo = "tor-browser";
- # branch "tor-browser-60.6.1esr-8.0-1-r2-slnos"
- rev = "d311540ce07f1f4f5e5789f9107f6e6ecc23988d";
- sha256 = "0nz8vxv53vnqyk3ahakrr5xg6sgapvlmsb6s1pwwsb86fxk6pm5f";
+ # branch "tor-browser-60.8.0esr-8.5-1-slnos"
+ rev = "9ec7e4832a68ba3a77f5e8e21dc930a25757f55d";
+ sha256 = "10x9h2nm1p8cs0qnd8yjp7ly5raxagqyfjn4sj2y3i86ya5zygb9";
};
patches = [
@@ -262,6 +283,6 @@ in rec {
];
};
- tor-browser = tor-browser-8-0;
+ tor-browser = tor-browser-8-5;
})
diff --git a/pkgs/applications/networking/browsers/firefox/update.nix b/pkgs/applications/networking/browsers/firefox/update.nix
index 0ead6de123a..e12b552535d 100644
--- a/pkgs/applications/networking/browsers/firefox/update.nix
+++ b/pkgs/applications/networking/browsers/firefox/update.nix
@@ -1,5 +1,4 @@
{ writeScript
-, stdenv
, lib
, xidel
, common-updater-scripts
diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix
index 6982f82a816..3ed06717f6a 100644
--- a/pkgs/applications/networking/browsers/firefox/wrapper.nix
+++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix
@@ -2,11 +2,10 @@
## various stuff that can be plugged in
, flashplayer, hal-flash
-, MPlayerPlugin, ffmpeg, xorg, libpulseaudio, libcanberra-gtk2
-, jrePlugin, icedtea_web
+, MPlayerPlugin, ffmpeg, xorg, libpulseaudio, libcanberra-gtk2, libglvnd
+, jrePlugin, adoptopenjdk-icedtea-web
, bluejeans, djview4, adobe-reader
, google_talk_plugin, fribid, gnome3/*.gnome-shell*/
-, esteidfirefoxplugin
, browserpass, chrome-gnome-shell, uget-integrator, plasma-browser-integration, bukubrow
, tridactyl-native
, udev
@@ -28,12 +27,12 @@ let
, extraPlugins ? []
, extraNativeMessagingHosts ? []
, gdkWayland ? false
+ , cfg ? config.${browserName} or {}
}:
assert gdkWayland -> (browser ? gtk3); # Can only use the wayland backend if gtk3 is being used
let
- cfg = config.${browserName} or {};
enableAdobeFlash = cfg.enableAdobeFlash or false;
ffmpegSupport = browser.ffmpegSupport or false;
gssSupport = browser.gssSupport or false;
@@ -55,13 +54,12 @@ let
++ lib.optional (cfg.enableDjvu or false) (djview4)
++ lib.optional (cfg.enableMPlayer or false) (MPlayerPlugin browser)
++ lib.optional (supportsJDK && jre && jrePlugin ? mozillaPlugin) jrePlugin
- ++ lib.optional icedtea icedtea_web
+ ++ lib.optional icedtea adoptopenjdk-icedtea-web
++ lib.optional (cfg.enableGoogleTalkPlugin or false) google_talk_plugin
++ lib.optional (cfg.enableFriBIDPlugin or false) fribid
++ lib.optional (cfg.enableGnomeExtensions or false) gnome3.gnome-shell
++ lib.optional (cfg.enableBluejeans or false) bluejeans
++ lib.optional (cfg.enableAdobeReader or false) adobe-reader
- ++ lib.optional (cfg.enableEsteid or false) esteidfirefoxplugin
++ extraPlugins
);
nativeMessagingHosts =
@@ -77,6 +75,7 @@ let
libs = lib.optional stdenv.isLinux udev
++ lib.optional ffmpegSupport ffmpeg
++ lib.optional gssSupport kerberos
+ ++ lib.optional gdkWayland libglvnd
++ lib.optionals (cfg.enableQuakeLive or false)
(with xorg; [ stdenv.cc libX11 libXxf86dga libXxf86vm libXext libXt alsaLib zlib ])
++ lib.optional (enableAdobeFlash && (cfg.enableAdobeFlashDRM or false)) hal-flash
@@ -130,6 +129,8 @@ let
--set MOZ_APP_LAUNCHER "${browserName}${nameSuffix}" \
--set MOZ_SYSTEM_DIR "$out/lib/mozilla" \
--set SNAP_NAME "firefox" \
+ --set MOZ_LEGACY_PROFILES 1 \
+ --set MOZ_ALLOW_DOWNGRADE 1 \
${lib.optionalString gdkWayland ''
--set GDK_BACKEND "wayland" \
''}${lib.optionalString (browser ? gtk3)
diff --git a/pkgs/applications/networking/browsers/google-chrome/default.nix b/pkgs/applications/networking/browsers/google-chrome/default.nix
index b0ae61c761d..9f49925b267 100644
--- a/pkgs/applications/networking/browsers/google-chrome/default.nix
+++ b/pkgs/applications/networking/browsers/google-chrome/default.nix
@@ -4,7 +4,7 @@
, glib, fontconfig, freetype, pango, cairo, libX11, libXi, atk, gconf, nss, nspr
, libXcursor, libXext, libXfixes, libXrender, libXScrnSaver, libXcomposite, libxcb
, alsaLib, libXdamage, libXtst, libXrandr, expat, cups
-, dbus, gtk2, gtk3, gdk_pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core
+, dbus, gtk2, gtk3, gdk-pixbuf, gcc-unwrapped, at-spi2-atk, at-spi2-core
, kerberos
# command line arguments which are always set e.g "--disable-gpu"
@@ -52,7 +52,7 @@ let
glib fontconfig freetype pango cairo libX11 libXi atk gconf nss nspr
libXcursor libXext libXfixes libXrender libXScrnSaver libXcomposite libxcb
alsaLib libXdamage libXtst libXrandr expat cups
- dbus gdk_pixbuf gcc-unwrapped.lib
+ dbus gdk-pixbuf gcc-unwrapped.lib
systemd
libexif
liberation_ttf curl utillinux xdg_utils wget
@@ -64,7 +64,7 @@ let
suffix = if channel != "stable" then "-" + channel else "";
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
inherit version;
name = "google-chrome${suffix}-${version}";
diff --git a/pkgs/applications/networking/browsers/links2/default.nix b/pkgs/applications/networking/browsers/links2/default.nix
index 59ba69c1c4d..7bb443e22c3 100644
--- a/pkgs/applications/networking/browsers/links2/default.nix
+++ b/pkgs/applications/networking/browsers/links2/default.nix
@@ -8,12 +8,12 @@
}:
stdenv.mkDerivation rec {
- version = "2.19";
- name = "links2-${version}";
+ version = "2.20";
+ pname = "links2";
src = fetchurl {
url = "${meta.homepage}/download/links-${version}.tar.bz2";
- sha256 = "02ls11c02p7xvsdjyb43rrzr850i1yly003r812z0w5vv5yqqxbh";
+ sha256 = "0bchwqa87dc8cb55spyybkqpc456pp4x2n9aw587wr7pn96cvp9v";
};
buildInputs = with stdenv.lib;
diff --git a/pkgs/applications/networking/browsers/luakit/default.nix b/pkgs/applications/networking/browsers/luakit/default.nix
index 60e9c603e29..d679eb56f5b 100644
--- a/pkgs/applications/networking/browsers/luakit/default.nix
+++ b/pkgs/applications/networking/browsers/luakit/default.nix
@@ -1,17 +1,9 @@
{ stdenv, fetchFromGitHub, pkgconfig, wrapGAppsHook
-, help2man, lua5, luafilesystem, luajit, sqlite
+, help2man, luafilesystem, luajit, sqlite
, webkitgtk, gtk3, gst_all_1, glib-networking
}:
-let
- lualibs = [luafilesystem];
- getPath = lib : type : "${lib}/lib/lua/${lua5.luaversion}/?.${type};${lib}/share/lua/${lua5.luaversion}/?.${type}";
- getLuaPath = lib : getPath lib "lua";
- getLuaCPath = lib : getPath lib "so";
- luaPath = stdenv.lib.concatStringsSep ";" (map getLuaPath lualibs);
- luaCPath = stdenv.lib.concatStringsSep ";" (map getLuaCPath lualibs);
-
-in stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
pname = "luakit";
version = "2.1";
@@ -27,7 +19,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
- webkitgtk lua5 luafilesystem luajit sqlite gtk3
+ webkitgtk luafilesystem luajit sqlite gtk3
gst_all_1.gstreamer gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly
gst_all_1.gst-libav
@@ -36,8 +28,10 @@ in stdenv.mkDerivation rec {
preBuild = ''
# build-utils/docgen/gen.lua:2: module 'lib.lousy.util' not found
- # TODO: why is not this the default?
- LUA_PATH=?.lua
+ # TODO: why is not this the default? The test runner adds
+ # ';./lib/?.lua;./lib/?/init.lua' to package.path, but the build-utils
+ # scripts don't add an equivalent
+ export LUA_PATH="$LUA_PATH;./?.lua;./?/init.lua"
'';
makeFlags = [
@@ -54,8 +48,8 @@ in stdenv.mkDerivation rec {
in ''
gappsWrapperArgs+=(
--prefix XDG_CONFIG_DIRS : "$out/etc/xdg"
- --set LUA_PATH '${luaKitPath};${luaPath};'
- --set LUA_CPATH '${luaCPath};'
+ --prefix LUA_PATH ';' "${luaKitPath};$LUA_PATH"
+ --prefix LUA_CPATH ';' "$LUA_CPATH"
)
'';
diff --git a/pkgs/applications/networking/browsers/lynx/default.nix b/pkgs/applications/networking/browsers/lynx/default.nix
index cb44e79839b..3f4f96d33ef 100644
--- a/pkgs/applications/networking/browsers/lynx/default.nix
+++ b/pkgs/applications/networking/browsers/lynx/default.nix
@@ -7,7 +7,7 @@
assert sslSupport -> openssl != null;
stdenv.mkDerivation rec {
- name = "lynx-${version}";
+ pname = "lynx";
version = "2.8.9rel.1";
src = fetchurl {
@@ -23,6 +23,7 @@ stdenv.mkDerivation rec {
hardeningEnable = [ "pie" ];
configureFlags = [
+ "--enable-default-colors"
"--enable-widec"
"--enable-ipv6"
] ++ stdenv.lib.optional sslSupport "--with-ssl";
diff --git a/pkgs/applications/networking/browsers/midori/default.nix b/pkgs/applications/networking/browsers/midori/default.nix
index 13120903383..a0bc0c743e4 100644
--- a/pkgs/applications/networking/browsers/midori/default.nix
+++ b/pkgs/applications/networking/browsers/midori/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, cmake, ninja, pkgconfig, intltool, vala, wrapGAppsHook, gcr, libpeas
-, gtk3, webkitgtk, sqlite, gsettings-desktop-schemas, libsoup, glib-networking, gnome3
+, gtk3, webkitgtk, sqlite, gsettings-desktop-schemas, libsoup, glib-networking
}:
stdenv.mkDerivation rec {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
];
meta = with stdenv.lib; {
- description = "Lightweight WebKitGTK+ web browser";
+ description = "Lightweight WebKitGTK web browser";
homepage = https://www.midori-browser.org/;
license = with licenses; [ lgpl21Plus ];
platforms = with platforms; linux;
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/bluejeans/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/bluejeans/default.nix
index fa98f2a9e78..e8841a0ab6f 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/bluejeans/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/bluejeans/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, xorg, gtk2, glib, gdk_pixbuf, dpkg, libXext, libXfixes
+{ stdenv, fetchurl, xorg, gtk2, glib, gdk-pixbuf, dpkg, libXext, libXfixes
, libXrender, libuuid, libXrandr, libXcomposite, libpulseaudio
}:
@@ -10,12 +10,12 @@ let
[gtk2 glib stdenv.cc.cc];
rpathPlugin = makeLibraryPath
- ([ stdenv.cc.cc gtk2 glib xorg.libX11 gdk_pixbuf libXext libXfixes libXrender libXrandr libXcomposite libpulseaudio ] ++ optional (libuuid != null) libuuid);
+ ([ stdenv.cc.cc gtk2 glib xorg.libX11 gdk-pixbuf libXext libXfixes libXrender libXrandr libXcomposite libpulseaudio ] ++ optional (libuuid != null) libuuid);
in
stdenv.mkDerivation rec {
- name = "bluejeans-${version}";
+ pname = "bluejeans";
version = "2.180.71.8";
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin/default.nix
deleted file mode 100644
index 48d06d644dd..00000000000
--- a/pkgs/applications/networking/browsers/mozilla-plugins/esteidfirefoxplugin/default.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{ stdenv, fetchurl, gtk2, openssl, pcsclite, pkgconfig, opensc }:
-
-stdenv.mkDerivation rec {
- version = "3.12.1.1142";
- name = "esteidfirefoxplugin-${version}";
-
- src = fetchurl {
- url = "https://installer.id.ee/media/ubuntu/pool/main/e/esteidfirefoxplugin/esteidfirefoxplugin_3.12.1.1142.orig.tar.xz";
- sha256 = "0y7759x1xr00p5r3c5wpllcqqnnxh2zi74cmy4m9m690z3ywn0fx";
- };
-
- unpackPhase = ''
- mkdir src
- tar xf $src -C src
- cd src
- '';
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gtk2 openssl pcsclite opensc ];
-
- buildPhase = ''
- sed -i "s|opensc-pkcs11.so|${opensc}/lib/pkcs11/opensc-pkcs11.so|" Makefile
- make plugin
- '';
-
- installPhase = ''
- plugins=$out/lib/mozilla/plugins
- mkdir -p $plugins
- cp -a npesteid-firefox-plugin.so $plugins/
- rp=$(patchelf --print-rpath $plugins/npesteid-firefox-plugin.so)
- patchelf --set-rpath "$rp:${opensc}/lib:${opensc}/lib/pkcs11" $plugins/npesteid-firefox-plugin.so
- '';
-
- passthru.mozillaPlugin = "/lib/mozilla/plugins";
-
- dontStrip = true;
- dontPatchELF = true;
-
- meta = with stdenv.lib; {
- description = "Firefox ID card signing plugin";
- homepage = http://www.id.ee/;
- license = licenses.lgpl2;
- platforms = platforms.linux;
- maintainers = [ maintainers.jagajaga ];
- };
-}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
index cde919923d7..fb3a6723817 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/default.nix
@@ -9,7 +9,7 @@
, expat
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, glibc
, graphite2
@@ -73,8 +73,8 @@ let
"";
in
stdenv.mkDerivation rec {
- name = "flashplayer-${version}";
- version = "32.0.0.192";
+ pname = "flashplayer";
+ version = "32.0.0.255";
src = fetchurl {
url =
@@ -85,14 +85,14 @@ stdenv.mkDerivation rec {
sha256 =
if debug then
if arch == "x86_64" then
- "0n5m70mz1fa5pgpz1ldqgn6bkr4in5qjn79kb85127wmg8fddbz7"
+ "1hd5z8qmki36k2wdwgg3v4sj32g8590r5563gdrjrk7bmrqfjnji"
else
- "1q6pjmnw2h8k09va5x64ijmq0kmfb569rwcibwl0d8kylxi97b6v"
+ "0y13bxdgkxaqsyab09skiqj8dfjw76n2lr7p525ba8lbfbc8xj52"
else
if arch == "x86_64" then
- "1h2ya3szq24dczv2izxy47kr2raiahxx7zvm49jlvlcp5cygxvjk"
+ "0qkslkaiw3c9xk1rjcl4x9d0fi6i91k7g01mf0gq28wgzcyz4cw7"
else
- "084bv0m9w1v2s4bf5rgan40l1fajwfam3njvgm47ffyg6s0kg1kh";
+ "0qblmaa3nq1g7825yhvz98pvd1591q3q7bsrhv5bbhdbmb9c1qd5";
};
nativeBuildInputs = [ unzip ];
@@ -130,7 +130,7 @@ stdenv.mkDerivation rec {
rpath = lib.makeLibraryPath
[ stdenv.cc.cc
- alsaLib atk bzip2 cairo curl expat fontconfig freetype gdk_pixbuf glib
+ alsaLib atk bzip2 cairo curl expat fontconfig freetype gdk-pixbuf glib
glibc graphite2 gtk2 harfbuzz libICE libSM libX11 libXau libXcomposite
libXcursor libXdamage libXdmcp libXext libXfixes libXi libXinerama
libXrandr libXrender libXt libXxf86vm libdrm libffi libglvnd libpng
@@ -141,7 +141,7 @@ stdenv.mkDerivation rec {
description = "Adobe Flash Player browser plugin";
homepage = http://www.adobe.com/products/flashplayer/;
license = stdenv.lib.licenses.unfree;
- maintainers = [];
+ maintainers = with stdenv.lib.maintainers; [ taku0 ];
platforms = [ "x86_64-linux" "i686-linux" ];
};
}
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
index 19c7d93b9a6..527eb261006 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/flashplayer/standalone.nix
@@ -9,7 +9,7 @@
, expat
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, glibc
, graphite2
@@ -48,9 +48,9 @@
, debug ? false
}:
-stdenv.mkDerivation rec {
- name = "flashplayer-standalone-${version}";
- version = "32.0.0.192";
+stdenv.mkDerivation {
+ pname = "flashplayer-standalone";
+ version = "32.0.0.255";
src = fetchurl {
url =
@@ -60,9 +60,9 @@ stdenv.mkDerivation rec {
"https://fpdownload.macromedia.com/pub/flashplayer/updaters/32/flash_player_sa_linux.x86_64.tar.gz";
sha256 =
if debug then
- "0j5rzamyajkiblalqkimx29bwm7yg9m4nj9z7z8hahcywpf81yqg"
+ "1igc23mljmw1bw6fwx3rwpz7kxiy8n5znkng20w3yin2zh8qw8sy"
else
- "0qnz383aggm07hbvyrnqphwhd5wp9xbairf908nk4i6ad8wg1x3r";
+ "0rfvgx1g0s8wswwpmfjx6p59yh1cxya3x3bczbissrq4rcb1v315";
};
nativeBuildInputs = [ unzip ];
@@ -86,7 +86,7 @@ stdenv.mkDerivation rec {
rpath = lib.makeLibraryPath
[ stdenv.cc.cc
- alsaLib atk bzip2 cairo curl expat fontconfig freetype gdk_pixbuf glib
+ alsaLib atk bzip2 cairo curl expat fontconfig freetype gdk-pixbuf glib
glibc graphite2 gtk2 harfbuzz libICE libSM libX11 libXau libXcomposite
libXcursor libXdamage libXdmcp libXext libXfixes libXi libXinerama
libXrandr libXrender libXt libXxf86vm libdrm libffi libglvnd libpng
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
index 30bae8792c2..101ae99d665 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/fribid/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, openssl, glib, libX11, gtk2, gettext, intltool }:
stdenv.mkDerivation rec {
- name = "fribid-${version}";
+ pname = "fribid";
version = "1.0.4";
builder = ./builder.sh;
src = fetchurl {
- url = "https://fribid.se/releases/source/${name}.tar.bz2";
+ url = "https://fribid.se/releases/source/${pname}-${version}.tar.bz2";
sha256 = "a679f3a0534d5f05fac10b16b49630a898c0b721cfa24d2c827fa45485476649";
};
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix
index 71b5161c1e3..bde4ce15d7c 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/google-talk-plugin/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, libGL, xorg, cairo
-, libpng, gtk2, glib, gdk_pixbuf, fontconfig, freetype, curl
+, libpng, gtk2, glib, gdk-pixbuf, fontconfig, freetype, curl
, dbus-glib, alsaLib, libpulseaudio, systemd, pango
}:
@@ -24,7 +24,7 @@ let
];
rpathProgram = makeLibraryPath
- [ gdk_pixbuf
+ [ gdk-pixbuf
glib
gtk2
xorg.libX11
@@ -46,7 +46,7 @@ let
in
stdenv.mkDerivation rec {
- name = "google-talk-plugin-${version}";
+ pname = "google-talk-plugin";
# You can get the upstream version and SHA-1 hash from the following URLs:
# curl -s http://dl.google.com/linux/talkplugin/deb/dists/stable/main/binary-amd64/Packages | grep -E 'Version|SHA1'
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/mozplugger/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/mozplugger/default.nix
index c6c1d6a334c..fd956f62327 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/mozplugger/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/mozplugger/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, firefox, libX11, xorgproto }:
stdenv.mkDerivation rec {
- name = "mozplugger-${version}";
+ pname = "mozplugger";
version = "2.1.6";
src = fetchurl {
@@ -18,8 +18,8 @@ stdenv.mkDerivation rec {
cp mozplugger.so "$out/lib/mozilla/plugins"
cp mozplugger.7 "$out/share/man/man7"
- mkdir -p "$out/share/${name}/plugin"
- ln -s "$out/lib/mozilla/plugins/mozplugger.so" "$out/share/${name}/plugin"
+ mkdir -p "$out/share/${pname}-${version}/plugin"
+ ln -s "$out/lib/mozilla/plugins/mozplugger.so" "$out/share/${pname}-${version}/plugin"
'';
meta = {
diff --git a/pkgs/applications/networking/browsers/mozilla-plugins/nspluginwrapper/default.nix b/pkgs/applications/networking/browsers/mozilla-plugins/nspluginwrapper/default.nix
index fa455eb0b7a..10ae0eb1da6 100644
--- a/pkgs/applications/networking/browsers/mozilla-plugins/nspluginwrapper/default.nix
+++ b/pkgs/applications/networking/browsers/mozilla-plugins/nspluginwrapper/default.nix
@@ -9,7 +9,7 @@ let
url="http://nspluginwrapper.org/download/nspluginwrapper-1.4.4.tar.gz";
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit (srcData) name version;
src = fetchurl{
diff --git a/pkgs/applications/networking/browsers/opera/default.nix b/pkgs/applications/networking/browsers/opera/default.nix
index e95e762a414..062d2e6582b 100644
--- a/pkgs/applications/networking/browsers/opera/default.nix
+++ b/pkgs/applications/networking/browsers/opera/default.nix
@@ -9,10 +9,11 @@
, fetchurl
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, gnome2
, gtk3
+, lib
, libX11
, libxcb
, libXScrnSaver
@@ -39,10 +40,9 @@
let
- mirror = https://get.geo.opera.com/pub/opera/desktop;
- version = "58.0.3135.127";
+ mirror = "https://get.geo.opera.com/pub/opera/desktop";
- rpath = stdenv.lib.makeLibraryPath [
+ rpath = lib.makeLibraryPath [
# These provide shared libraries loaded when starting. If one is missing,
# an error is shown in stderr.
@@ -55,7 +55,7 @@ let
expat.out
fontconfig.lib
freetype.out
- gdk_pixbuf.out
+ gdk-pixbuf.out
glib.out
gnome2.GConf
gtk3.out
@@ -90,13 +90,14 @@ let
at-spi2-core
];
-in stdenv.mkDerivation {
+in stdenv.mkDerivation rec {
- name = "opera-${version}";
+ pname = "opera";
+ version = "62.0.3331.43";
src = fetchurl {
- url = "${mirror}/${version}/linux/opera-stable_${version}_amd64.deb";
- sha256 = "1nk4zfmb2dv464r1q6n9b66zg7a8h5xfwypzqd791rhmsfjrxn51";
+ url = "${mirror}/${version}/linux/${pname}-stable_${version}_amd64.deb";
+ sha256 = "0zylg32zn6blkgy4bwmjzc26i712lwakahvrd24ncpfa8805f7x7";
};
unpackCmd = "${dpkg}/bin/dpkg-deb -x $curSrc .";
@@ -118,10 +119,10 @@ in stdenv.mkDerivation {
done
'';
- meta = {
- homepage = https://www.opera.com;
+ meta = with lib; {
+ homepage = "https://www.opera.com";
description = "Web browser";
platforms = [ "x86_64-linux" ];
- license = stdenv.lib.licenses.unfree;
+ license = licenses.unfree;
};
}
diff --git a/pkgs/applications/networking/browsers/otter/default.nix b/pkgs/applications/networking/browsers/otter/default.nix
index b7118b49dae..d41f8440420 100644
--- a/pkgs/applications/networking/browsers/otter/default.nix
+++ b/pkgs/applications/networking/browsers/otter/default.nix
@@ -4,7 +4,8 @@
, sourceSha ? "1jw8bj3lcqngr0mqwvz1gf47qjxbwiyda7x4sm96a6ckga7pcwyb"
}:
stdenv.mkDerivation {
- name = "otter-browser-${version}";
+ pname = "otter-browser";
+ inherit version;
src = fetchFromGitHub {
owner = "OtterBrowser";
diff --git a/pkgs/applications/networking/browsers/palemoon/default.nix b/pkgs/applications/networking/browsers/palemoon/default.nix
index 0d863ae9131..66b947946cd 100644
--- a/pkgs/applications/networking/browsers/palemoon/default.nix
+++ b/pkgs/applications/networking/browsers/palemoon/default.nix
@@ -1,23 +1,25 @@
{ stdenv, fetchFromGitHub, makeDesktopItem
, pkgconfig, autoconf213, alsaLib, bzip2, cairo
-, dbus, dbus-glib, file, fontconfig, freetype
-, gstreamer, gst-plugins-base, gst_all_1
-, gtk2, hunspell, icu, libevent, libjpeg, libnotify
-, libstartup_notification, libvpx, makeWrapper, libGLU_combined
-, nspr, nss, pango, perl, python, libpulseaudio, sqlite
-, unzip, xorg, which, yasm, zip, zlib
+, dbus, dbus-glib, ffmpeg, file, fontconfig, freetype
+, gnome2, gnum4, gtk2, hunspell, libevent, libjpeg
+, libnotify, libstartup_notification, makeWrapper
+, libGLU_combined, perl, python, libpulseaudio
+, unzip, xorg, wget, which, yasm, zip, zlib
}:
-stdenv.mkDerivation rec {
- name = "palemoon-${version}";
- version = "27.9.4";
+let
+
+ libPath = stdenv.lib.makeLibraryPath [ ffmpeg ];
+
+in stdenv.mkDerivation rec {
+ pname = "palemoon";
+ version = "28.7.0";
src = fetchFromGitHub {
- name = "palemoon-src";
owner = "MoonchildProductions";
- repo = "Pale-Moon";
- rev = version + "_Release";
- sha256 = "0ir5gzhw98gfn15x58g1fwi11jd7gysvacqxg1v0jdjhgdl4m5sx";
+ repo = "UXP";
+ rev = "PM${version}_Release";
+ sha256 = "0i6fy1mvjy6vpqnvhh516mxbv4d2z73yghk3frln4ql8zavba7qq";
};
desktopItem = makeDesktopItem {
@@ -39,11 +41,10 @@ stdenv.mkDerivation rec {
};
buildInputs = [
- alsaLib bzip2 cairo dbus dbus-glib file fontconfig freetype
- gst-plugins-base gstreamer gst_all_1.gst-plugins-base gtk2
- hunspell icu libevent libjpeg libnotify libstartup_notification
- libvpx makeWrapper libGLU_combined nspr nss pango perl pkgconfig python
- libpulseaudio sqlite unzip which yasm zip zlib
+ alsaLib bzip2 cairo dbus dbus-glib ffmpeg file fontconfig freetype
+ gnome2.GConf gnum4 gtk2 hunspell libevent libjpeg libnotify
+ libstartup_notification makeWrapper libGLU_combined perl
+ pkgconfig python libpulseaudio unzip wget which yasm zip zlib
] ++ (with xorg; [
libX11 libXext libXft libXi libXrender libXScrnSaver
libXt pixman xorgproto
@@ -52,57 +53,66 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
configurePhase = ''
- export AUTOCONF=${autoconf213}/bin/autoconf
- export MOZBUILD_STATE_PATH=$(pwd)/.mozbuild
- export MOZ_CONFIG=$(pwd)/.mozconfig
- export builddir=$(pwd)/build
- mkdir -p $MOZBUILD_STATE_PATH $builddir
- echo > $MOZ_CONFIG "
- . $src/build/mozconfig.common
- ac_add_options --prefix=$out
- ac_add_options --with-pthreads
- ac_add_options --enable-application=browser
+ export MOZBUILD_STATE_PATH=$(pwd)/mozbuild
+ export MOZCONFIG=$(pwd)/mozconfig
+ export builddir=$(pwd)/pmbuild
+
+ echo > $MOZCONFIG "
+ mk_add_options AUTOCLOBBER=1
+ mk_add_options MOZ_OBJDIR=$builddir
+ ac_add_options --enable-application=palemoon
+
+ ac_add_options --enable-optimize='-O2'
+
+ # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
ac_add_options --enable-official-branding
- ac_add_options --enable-optimize="-O2"
- ac_add_options --enable-release
- ac_add_options --enable-devtools
+ export MOZILLA_OFFICIAL=1
+
+ ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-jemalloc
- ac_add_options --enable-shared-js
ac_add_options --enable-strip
+ ac_add_options --with-pthreads
+
ac_add_options --disable-tests
- ac_add_options --disable-installer
- ac_add_options --disable-updaters
+ ac_add_options --disable-eme
+ ac_add_options --disable-parental-controls
+ ac_add_options --disable-accessibility
+ ac_add_options --disable-webrtc
+ ac_add_options --disable-gamepad
+ ac_add_options --disable-necko-wifi
+ ac_add_options --disable-updater
+
+ ac_add_options --x-libraries=${xorg.libX11.out}/lib
+
+ ac_add_options --prefix=$out
+ mk_add_options MOZ_MAKE_FLAGS='-j$NIX_BUILD_CORES'
+ mk_add_options AUTOCONF=${autoconf213}/bin/autoconf
"
'';
- patchPhase = ''
- chmod u+w .
- '';
-
- hardeningDisable = [ "format" ];
-
buildPhase = ''
- cd $builddir
$src/mach build
'';
installPhase = ''
+ $src/mach install
+
mkdir -p $out/share/applications
cp ${desktopItem}/share/applications/* $out/share/applications
for n in 16 22 24 32 48 256; do
size=$n"x"$n
mkdir -p $out/share/icons/hicolor/$size/apps
- cp $src/browser/branding/official/default$n.png \
+ cp $src/application/palemoon/branding/official/default$n.png \
$out/share/icons/hicolor/$size/apps/palemoon.png
done
- cd $builddir
- $src/mach install
+ wrapProgram $out/lib/palemoon-${version}/palemoon \
+ --prefix LD_LIBRARY_PATH : "${libPath}"
'';
meta = with stdenv.lib; {
- description = "A web browser";
+ description = "An Open Source, Goanna-based web browser focusing on efficiency and customization";
longDescription = ''
Pale Moon is an Open Source, Goanna-based web browser focusing on
efficiency and customization.
@@ -114,9 +124,9 @@ stdenv.mkDerivation rec {
experience, while offering full customization and a growing collection of
extensions and themes to make the browser truly your own.
'';
- homepage = https://www.palemoon.org/;
+ homepage = "https://www.palemoon.org/";
license = licenses.mpl20;
- maintainers = with maintainers; [ rnhmjoj AndersonTorres ];
- platforms = platforms.linux;
+ maintainers = with maintainers; [ AndersonTorres OPNA2608 ];
+ platforms = [ "i686-linux" "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/networking/browsers/qtchan/default.nix b/pkgs/applications/networking/browsers/qtchan/default.nix
index df956addf5c..9a4d61a50ae 100644
--- a/pkgs/applications/networking/browsers/qtchan/default.nix
+++ b/pkgs/applications/networking/browsers/qtchan/default.nix
@@ -1,27 +1,19 @@
-{ stdenv, fetchFromGitHub, fetchpatch, qt, makeWrapper }:
+{ mkDerivation, lib, fetchFromGitHub, qmake, qtbase }:
-stdenv.mkDerivation rec {
- name = "qtchan-${version}";
- version = "0.100";
+mkDerivation rec {
+ pname = "qtchan";
+ version = "1.0.1";
src = fetchFromGitHub {
owner = "siavash119";
repo = "qtchan";
rev = "v${version}";
- sha256 = "0n94jd6b1y8v6x5lkinr9rzm4bjg9xh9m7zj3j73pgq829gpmj3a";
+ sha256 = "1x11m1kwqindzc0dkpfifcglsb362impaxs85kgzx50p898sz9ll";
};
- patches = [
- (fetchpatch {
- url = https://github.com/siavash119/qtchan/commit/718abeee5cf4aca8c99b35b26f43909362a29ee6.patch;
- sha256 = "11b72l5njvfsyapd479hp4yfvwwb1mhq3f077hwgg0waz5l7n00z";
- })
- ];
-
enableParallelBuilding = true;
- nativeBuildInputs = [ qt.qmake makeWrapper ];
- buildInputs = [ qt.qtbase ];
-
+ nativeBuildInputs = [ qmake ];
+ buildInputs = [ qtbase ];
qmakeFlags = [ "CONFIG-=app_bundle" ];
installPhase = ''
@@ -29,12 +21,7 @@ stdenv.mkDerivation rec {
cp qtchan $out/bin
'';
- preFixup = ''
- wrapProgram $out/bin/qtchan \
- --suffix QT_PLUGIN_PATH : ${qt.qtbase.bin}/${qt.qtbase.qtPluginPrefix}
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "4chan browser in qt5";
homepage = "https://github.com/siavash119/qtchan";
license = licenses.mit;
diff --git a/pkgs/applications/networking/browsers/qutebrowser/default.nix b/pkgs/applications/networking/browsers/qutebrowser/default.nix
index 4eeef72a4e1..1f441b4e961 100644
--- a/pkgs/applications/networking/browsers/qutebrowser/default.nix
+++ b/pkgs/applications/networking/browsers/qutebrowser/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, fetchzip, python3Packages
-, makeWrapper, wrapGAppsHook, qtbase, glib-networking
+, mkDerivationWith, wrapQtAppsHook, wrapGAppsHook, qtbase, glib-networking
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxml2
, libxslt, gst_all_1 ? null
, withPdfReader ? true
@@ -10,23 +10,23 @@ assert withMediaPlayback -> gst_all_1 != null;
let
pdfjs = let
- version = "1.10.100";
+ version = "2.1.266";
in
fetchzip rec {
name = "pdfjs-${version}";
url = "https://github.com/mozilla/pdf.js/releases/download/v${version}/${name}-dist.zip";
- sha256 = "04df4cf6i6chnggfjn6m1z9vb89f01a0l9fj5rk21yr9iirq9rkq";
+ sha256 = "1ybbnpz2jcdikzwr7r13lq528vxj3bpms1fqmg3n1zgs30cqpkby";
stripRoot = false;
};
-in python3Packages.buildPythonApplication rec {
+in mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "qutebrowser";
- version = "1.6.2";
+ version = "1.7.0";
# the release tarballs are different from the git checkout!
src = fetchurl {
url = "https://github.com/qutebrowser/qutebrowser/releases/download/v${version}/${pname}-${version}.tar.gz";
- sha256 = "1yzwrpqpghlpy2d7pbjgcb73dbngw835l4xbimz5aa90mvqkbwg1";
+ sha256 = "0wyjmb2qvnw3gn0ypgckwblmn7kasi12dfwp343hi6wscqripw7i";
};
# Needs tox
@@ -41,13 +41,13 @@ in python3Packages.buildPythonApplication rec {
]);
nativeBuildInputs = [
- makeWrapper wrapGAppsHook asciidoc
+ wrapQtAppsHook wrapGAppsHook asciidoc
docbook_xml_dtd_45 docbook_xsl libxml2 libxslt
];
propagatedBuildInputs = with python3Packages; [
- pyyaml pyqt5 jinja2 pygments
- pypeg2 cssutils pyopengl attrs
+ pyyaml pyqt5 pyqtwebengine jinja2 pygments
+ pypeg2 cssutils pyopengl attrs setuptools
# scripts and userscripts libs
tldextract beautifulsoup4
pyreadability pykeepass stem
@@ -57,6 +57,9 @@ in python3Packages.buildPythonApplication rec {
./fix-restart.patch
];
+ dontWrapGApps = true;
+ dontWrapQtApps = true;
+
postPatch = ''
substituteInPlace qutebrowser/app.py --subst-var-by qutebrowser "$out/bin/qutebrowser"
@@ -71,8 +74,8 @@ in python3Packages.buildPythonApplication rec {
postInstall = ''
install -Dm644 doc/qutebrowser.1 "$out/share/man/man1/qutebrowser.1"
- install -Dm644 misc/qutebrowser.desktop \
- "$out/share/applications/qutebrowser.desktop"
+ install -Dm644 misc/org.qutebrowser.qutebrowser.desktop \
+ "$out/share/applications/org.qutebrowser.qutebrowser.desktop"
# Install icons
for i in 16 24 32 48 64 128 256 512; do
@@ -95,6 +98,12 @@ in python3Packages.buildPythonApplication rec {
done
'';
+ postFixup = ''
+ wrapProgram $out/bin/qutebrowser \
+ "''${gappsWrapperArgs[@]}" \
+ "''${qtWrapperArgs[@]}"
+ '';
+
meta = with stdenv.lib; {
homepage = https://github.com/The-Compiler/qutebrowser;
description = "Keyboard-focused browser with a minimal GUI";
diff --git a/pkgs/applications/networking/browsers/surf/default.nix b/pkgs/applications/networking/browsers/surf/default.nix
index 3a7612bb0fb..d9d4fda1aed 100644
--- a/pkgs/applications/networking/browsers/surf/default.nix
+++ b/pkgs/applications/networking/browsers/surf/default.nix
@@ -5,7 +5,7 @@
}:
stdenv.mkDerivation rec {
- name = "surf-${version}";
+ pname = "surf";
version = "2.0";
src = fetchurl {
@@ -21,9 +21,9 @@ stdenv.mkDerivation rec {
installFlags = [ "PREFIX=$(out)" ];
meta = with stdenv.lib; {
- description = "A simple web browser based on WebKit/GTK+";
+ description = "A simple web browser based on WebKit/GTK";
longDescription = ''
- Surf is a simple web browser based on WebKit/GTK+. It is able to display
+ Surf is a simple web browser based on WebKit/GTK. It is able to display
websites and follow links. It supports the XEmbed protocol which makes it
possible to embed it in another application. Furthermore, one can point
surf to another URI by setting its XProperties.
diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
index 88fbcb76774..563c0e751c8 100644
--- a/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
+++ b/pkgs/applications/networking/browsers/tor-browser-bundle-bin/default.nix
@@ -12,7 +12,7 @@
, dbus-glib
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, gtk3
, libxcb
@@ -67,7 +67,7 @@ let
dbus-glib
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk3
libxcb
@@ -89,34 +89,28 @@ let
fteLibPath = makeLibraryPath [ stdenv.cc.cc gmp ];
# Upstream source
- version = "8.5";
+ version = "8.5.5";
lang = "en-US";
srcs = {
- "x86_64-linux" = fetchurl {
- urls = [
- "https://github.com/TheTorProject/gettorbrowser/releases/download/v${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
- "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz"
- ];
- sha256 = "09ixdq4n41cf5f3agmam3n669fflz6vwpalxpai07p2alal80g2x";
+ x86_64-linux = fetchurl {
+ url = "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux64-${version}_${lang}.tar.xz";
+ sha256 = "00r5k9bbfpv3s6shxqypl13psr1zz51xiyz3vmm4flhr2qa4ycsz";
};
- "i686-linux" = fetchurl {
- urls = [
- "https://dist.torproject.org/torbrowser/${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
- "https://github.com/TheTorProject/gettorbrowser/releases/download/v${version}/tor-browser-linux32-${version}_${lang}.tar.xz"
- ];
- sha256 = "0lgxwb8hll29sk7rpnraw9gfz7f9sb81gjsbxdnmm34y1vrabjv7";
+ i686-linux = fetchurl {
+ url = "https://github.com/TheTorProject/gettorbrowser/releases/download/v${version}/tor-browser-linux32-${version}_${lang}.tar.xz";
+ sha256 = "1nxvw5kiggfr4n5an436ass84cvwjviaa894kfm72yf2ls149f29";
};
};
in
stdenv.mkDerivation rec {
- name = "tor-browser-bundle-bin-${version}";
+ pname = "tor-browser-bundle-bin";
inherit version;
- src = srcs."${stdenv.hostPlatform.system}" or (throw "unsupported system: ${stdenv.hostPlatform.system}");
+ src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
preferLocalBuild = true;
allowSubstitutes = false;
@@ -300,7 +294,8 @@ stdenv.mkDerivation rec {
# Clear out some files that tend to capture store references but are
# easily generated by firefox at startup.
- rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/{compatibility.ini,extensions.ini,extensions.json}
+ rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/{addonStartup.json.lz4,compatibility.ini,extensions.ini,extensions.json}
+ rm -f "\$HOME/TorBrowser/Data/Browser/profile.default"/startupCache/*
# XDG
: "\''${XDG_RUNTIME_DIR:=/run/user/\$(id -u)}"
diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix b/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix
index 834be5cd302..7ff099853e2 100644
--- a/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix
+++ b/pkgs/applications/networking/browsers/tor-browser-bundle/default.nix
@@ -21,8 +21,6 @@
, mediaSupport ? false
, ffmpeg
-, gmp
-
# Extensions, common
, zip
@@ -73,13 +71,13 @@ let
ffmpeg
];
in
-stdenv.mkDerivation rec {
- name = "tor-browser-bundle-${version}";
+stdenv.mkDerivation {
+ pname = "tor-browser-bundle";
version = tor-browser-unwrapped.version;
buildInputs = [ tor-browser-unwrapped tor ];
- unpackPhase = ":";
+ dontUnpack = true;
buildPhase = ":";
@@ -280,7 +278,7 @@ stdenv.mkDerivation rec {
TZ=":" \
\
DISPLAY="\$DISPLAY" \
- XAUTHORITY="\$XAUTHORITY" \
+ XAUTHORITY="\''${XAUTHORITY:-}" \
DBUS_SESSION_BUS_ADDRESS="\$DBUS_SESSION_BUS_ADDRESS" \
\
HOME="\$HOME" \
diff --git a/pkgs/applications/networking/browsers/tor-browser-bundle/extensions.nix b/pkgs/applications/networking/browsers/tor-browser-bundle/extensions.nix
index 86c2f53b9ad..7356768f397 100644
--- a/pkgs/applications/networking/browsers/tor-browser-bundle/extensions.nix
+++ b/pkgs/applications/networking/browsers/tor-browser-bundle/extensions.nix
@@ -15,7 +15,7 @@
{
https-everywhere = stdenv.mkDerivation rec {
- name = "https-everywhere-${version}";
+ pname = "https-everywhere";
version = "2017.10.4";
extid = "https-everywhere-eff@eff.org";
@@ -46,7 +46,7 @@
};
noscript = stdenv.mkDerivation rec {
- name = "noscript-${version}";
+ pname = "noscript";
version = "5.1.2";
extid = "{73a6fe31-595d-460b-a920-fcc0f8843232}";
@@ -56,7 +56,7 @@
sha256 = "1fzspdiwhjabwz1yxb3gzj7giz9jbc1xxm65i93rvhzcp537cs42";
};
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
install -m 444 -D $src "$out/$extid.xpi"
@@ -64,7 +64,7 @@
};
torbutton = stdenv.mkDerivation rec {
- name = "torbutton-${version}";
+ pname = "torbutton";
version = "1.9.8.1";
extid = "torbutton@torproject.org";
@@ -87,7 +87,7 @@
};
tor-launcher = stdenv.mkDerivation rec {
- name = "tor-launcher-${version}";
+ pname = "tor-launcher";
version = "0.2.13";
extid = "tor-launcher@torproject.org";
diff --git a/pkgs/applications/networking/browsers/uzbl/default.nix b/pkgs/applications/networking/browsers/uzbl/default.nix
index 1d08895f1b0..f86c4a84e58 100644
--- a/pkgs/applications/networking/browsers/uzbl/default.nix
+++ b/pkgs/applications/networking/browsers/uzbl/default.nix
@@ -5,7 +5,7 @@
# but Python 2 + packages during runtime.
stdenv.mkDerivation rec {
- name = "uzbl-${version}";
+ pname = "uzbl";
version = "0.9.0";
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/browsers/vimb/default.nix b/pkgs/applications/networking/browsers/vimb/default.nix
index cc9bc38bc4d..0a72099e653 100644
--- a/pkgs/applications/networking/browsers/vimb/default.nix
+++ b/pkgs/applications/networking/browsers/vimb/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "vimb-${version}";
+ pname = "vimb";
version = "3.3.0";
src = fetchFromGitHub {
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://fanglingsu.github.io/vimb/;
license = stdenv.lib.licenses.gpl3;
- maintainers = [ stdenv.lib.maintainers.rickynils ];
+ maintainers = [];
platforms = with stdenv.lib.platforms; linux;
};
}
diff --git a/pkgs/applications/networking/browsers/vimprobable2/default.nix b/pkgs/applications/networking/browsers/vimprobable2/default.nix
index 678f226816a..8a2e164b363 100644
--- a/pkgs/applications/networking/browsers/vimprobable2/default.nix
+++ b/pkgs/applications/networking/browsers/vimprobable2/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "1.4.2";
- name = "vimprobable2-${version}";
+ pname = "vimprobable2";
src = fetchurl {
url = "mirror://sourceforge/vimprobable/vimprobable2_${version}.tar.bz2";
sha256 = "13jdximksh9r3cgd2f8vms0pbsn3x0gxvyqdqiw16xp5fmdx5kzr";
diff --git a/pkgs/applications/networking/browsers/vivaldi/default.nix b/pkgs/applications/networking/browsers/vivaldi/default.nix
index 1c1c9fd5bff..6483b6d03e3 100644
--- a/pkgs/applications/networking/browsers/vivaldi/default.nix
+++ b/pkgs/applications/networking/browsers/vivaldi/default.nix
@@ -4,11 +4,12 @@
, freetype, fontconfig, libXft, libXrender, libxcb, expat
, libuuid
, gstreamer, gst-plugins-base, libxml2
-, glib, gtk3, pango, gdk_pixbuf, cairo, atk, at-spi2-atk, at-spi2-core, gnome2
+, glib, gtk3, pango, gdk-pixbuf, cairo, atk, at-spi2-atk, at-spi2-core, gnome2
, nss, nspr
, patchelf, makeWrapper
, isSnapshot ? false
, proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
+, enableWidevine ? false, vivaldi-widevine ? null
}:
let
@@ -16,11 +17,11 @@ let
vivaldiName = if isSnapshot then "vivaldi-snapshot" else "vivaldi";
in stdenv.mkDerivation rec {
pname = "vivaldi";
- version = "2.5.1525.46-1";
+ version = "2.7.1628.33-1";
src = fetchurl {
url = "https://downloads.vivaldi.com/${branch}/vivaldi-${branch}_${version}_amd64.deb";
- sha256 = "0hxmpd4j1cq4643x17syzqxfxki6jngvf28jd71pp58hngffh3g4";
+ sha256 = "1km5ccxqyd5xgmzm42zca670jf7wd4j7c726fhyj4wjni71zar34";
};
unpackPhase = ''
@@ -33,7 +34,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
stdenv.cc.cc stdenv.cc.libc zlib libX11 libXt libXext libSM libICE libxcb
libXi libXft libXcursor libXfixes libXScrnSaver libXcomposite libXdamage libXtst libXrandr
- atk at-spi2-atk at-spi2-core alsaLib dbus cups gtk3 gdk_pixbuf libexif ffmpeg systemd
+ atk at-spi2-atk at-spi2-core alsaLib dbus cups gtk3 gdk-pixbuf libexif ffmpeg systemd
freetype fontconfig libXrender libuuid expat glib nss nspr
gstreamer libxml2 gst-plugins-base pango cairo gnome2.GConf
] ++ stdenv.lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs;
@@ -50,8 +51,8 @@ in stdenv.mkDerivation rec {
--set-rpath "${libPath}" \
opt/${vivaldiName}/vivaldi-bin
'' + stdenv.lib.optionalString proprietaryCodecs ''
- sed -i '/^VIVALDI_FFMPEG_FOUND/ a \
- checkffmpeg "${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so"' opt/${vivaldiName}/vivaldi
+ sed -i '/^if \[ "$VIVALDI_FFMPEG_FOUND/i \
+ VIVALDI_FFMPEG_FOUND=YES\nCACHED_FFMPEG=${vivaldi-ffmpeg-codecs}/lib/libffmpeg.so' opt/${vivaldiName}/${vivaldiName}
'' + ''
echo "Finished patching Vivaldi binaries"
'';
@@ -68,6 +69,8 @@ in stdenv.mkDerivation rec {
cp -r usr/share/{applications,xfce4} "$out"/share
substituteInPlace "$out"/share/applications/*.desktop \
--replace /usr/bin/${vivaldiName} "$out"/bin/vivaldi
+ substituteInPlace "$out"/share/applications/*.desktop \
+ --replace vivaldi-stable vivaldi
local d
for d in 16 22 24 32 48 64 128 256; do
mkdir -p "$out"/share/icons/hicolor/''${d}x''${d}/apps
@@ -76,7 +79,11 @@ in stdenv.mkDerivation rec {
"$out"/share/icons/hicolor/''${d}x''${d}/apps/vivaldi.png
done
wrapProgram "$out/bin/vivaldi" \
- --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/
+ --suffix XDG_DATA_DIRS : ${gtk3}/share/gsettings-schemas/${gtk3.name}/ \
+ ${stdenv.lib.optionalString enableWidevine "--suffix LD_LIBRARY_PATH : ${libPath}"}
+ '' + stdenv.lib.optionalString enableWidevine ''
+ rm $out/opt/${vivaldiName}/libwidevinecdm.so
+ ln -s ${vivaldi-widevine}/lib/libwidevinecdm.so $out/opt/${vivaldiName}/libwidevinecdm.so
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix b/pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix
index ec2646440b3..3207409a6ba 100644
--- a/pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix
+++ b/pkgs/applications/networking/browsers/vivaldi/ffmpeg-codecs.nix
@@ -1,53 +1,32 @@
{ stdenv, fetchurl
-, dbus-glib, gtk3, libexif, libXScrnSaver, ninja, nss
-, pciutils, pkgconfig, python2, xdg_utils, gn, at-spi2-core
+, dpkg
}:
stdenv.mkDerivation rec {
- name = "${product}-${version}";
- product = "vivaldi-ffmpeg-codecs";
- version = "72.0.3626.122";
+ name = "chromium-codecs-ffmpeg";
+ version = "74.0.3729.169";
src = fetchurl {
- url = "https://commondatastorage.googleapis.com/chromium-browser-official/chromium-${version}.tar.xz";
- sha512 = "1477g5dgi4m0zbiqwm9w6jqkmjfmgjlbl3qs9ljldx8bif8my1jbz4hzws954aqxyxdbf5rjpvmrrqqppk5347prvsyl37rbsndaaqf";
+ url = "https://launchpadlibrarian.net/424938057/${name}-extra_${version}-0ubuntu0.16.04.1_amd64.deb";
+ sha256 = "1ls2fshfk08hqsfvbd7p6rp2gv3n0xdy86rdh00wiz5qgl3skfzc";
};
- buildInputs = [ ];
+ buildInputs = [ dpkg ];
- nativeBuildInputs = [
- gtk3 libexif libXScrnSaver ninja nss pciutils python2 xdg_utils gn
- pkgconfig dbus-glib at-spi2-core.dev
- ];
-
- patches = [
- ];
-
- configurePhase = ''
- runHook preConfigure
-
- local args="ffmpeg_branding=\"ChromeOS\" proprietary_codecs=true enable_hevc_demuxing=true use_gnome_keyring=false use_sysroot=false use_gold=false use_allocator=\"none\" linux_use_bundled_binutils=false fatal_linker_warnings=false treat_warnings_as_errors=false enable_nacl=false enable_nacl_nonsfi=false is_clang=false clang_use_chrome_plugins=false is_component_build=true is_debug=false symbol_level=0 use_custom_libcxx=false use_lld=false use_jumbo_build=false"
- gn gen out/Release -v --args="$args"
-
- runHook postConfigure
+ unpackPhase = ''
+ dpkg-deb -x $src .
+ find .
'';
- buildPhase = ''
- ninja -C out/Release -v libffmpeg.so
- '';
-
- dontStrip = true;
-
installPhase = ''
- mkdir -p "$out/lib"
- cp out/Release/libffmpeg.so "$out/lib/libffmpeg.so"
+ install -vD usr/lib/chromium-browser/libffmpeg.so $out/lib/libffmpeg.so
'';
meta = with stdenv.lib; {
description = "Additional support for proprietary codecs for Vivaldi";
homepage = "https://ffmpeg.org/";
license = licenses.lgpl21;
- maintainers = with maintainers; [ lluchs ];
+ maintainers = with maintainers; [ betaboon lluchs ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/networking/browsers/vivaldi/widevine.nix b/pkgs/applications/networking/browsers/vivaldi/widevine.nix
new file mode 100644
index 00000000000..a21de1acad2
--- /dev/null
+++ b/pkgs/applications/networking/browsers/vivaldi/widevine.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchurl
+, unzip
+}:
+
+stdenv.mkDerivation rec {
+ name = "widevine";
+ version = "4.10.1196.0";
+
+ src = fetchurl {
+ url = "https://dl.google.com/widevine-cdm/${version}-linux-x64.zip";
+ sha256 = "01c7nr7d2xs718jymicbk4ipzfx6q253109qv3lk4lryrrhvw14y";
+ };
+
+ buildInputs = [ unzip ];
+
+ unpackPhase = ''
+ unzip $src libwidevinecdm.so
+ find .
+ '';
+
+ installPhase = ''
+ install -vD libwidevinecdm.so $out/lib/libwidevinecdm.so
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Widevine support for Vivaldi";
+ homepage = "https://www.widevine.com";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ betaboon ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/networking/browsers/w3m/default.nix b/pkgs/applications/networking/browsers/w3m/default.nix
index 136c14d34d4..373fa43c72c 100644
--- a/pkgs/applications/networking/browsers/w3m/default.nix
+++ b/pkgs/applications/networking/browsers/w3m/default.nix
@@ -15,7 +15,7 @@ assert mouseSupport -> gpm-ncurses != null;
with stdenv.lib;
let
- mktable = buildPackages.stdenv.mkDerivation rec {
+ mktable = buildPackages.stdenv.mkDerivation {
name = "w3m-mktable";
inherit (w3m) src;
nativeBuildInputs = [ pkgconfig boehmgc ];
diff --git a/pkgs/applications/networking/c14/default.nix b/pkgs/applications/networking/c14/default.nix
index 242abc2ece7..3383d6838f7 100644
--- a/pkgs/applications/networking/c14/default.nix
+++ b/pkgs/applications/networking/c14/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "c14-cli-${version}";
+ pname = "c14-cli";
version = "0.3";
goPackagePath = "github.com/online-net/c14-cli";
@@ -9,7 +9,7 @@ buildGoPackage rec {
src = fetchFromGitHub {
owner = "online-net";
repo = "c14-cli";
- rev = "${version}";
+ rev = version;
sha256 = "0b1piviy6vvdbak8y8bc24rk3c1fi67vv3352pmnzvrhsar2r5yf";
};
diff --git a/pkgs/applications/networking/charles/default.nix b/pkgs/applications/networking/charles/default.nix
index e8d732cf617..4c1f7ea7749 100644
--- a/pkgs/applications/networking/charles/default.nix
+++ b/pkgs/applications/networking/charles/default.nix
@@ -20,9 +20,8 @@ let
startupNotify = "true";
};
- attrs' = builtins.removeAttrs attrs ["version" "sha256"];
- in stdenv.mkDerivation rec {
- name = "charles-${version}";
+ in stdenv.mkDerivation {
+ pname = "charles";
inherit version;
src = fetchurl {
@@ -55,7 +54,7 @@ let
};
};
-in rec {
+in {
charles4 = (generic {
version = "4.2.8";
sha256 = "1jzjdhzxgrq7pdfryfkg0hsjpyni14ma4x8jbdk1rqll78ccr080";
diff --git a/pkgs/applications/networking/cloudflared/default.nix b/pkgs/applications/networking/cloudflared/default.nix
index fd047147e01..6712dcd486b 100644
--- a/pkgs/applications/networking/cloudflared/default.nix
+++ b/pkgs/applications/networking/cloudflared/default.nix
@@ -1,25 +1,27 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "cloudflared-${version}";
- version = "2018.10.3";
+ pname = "cloudflared";
+ version = "2019.7.0";
goPackagePath = "github.com/cloudflare/cloudflared";
src = fetchFromGitHub {
owner = "cloudflare";
repo = "cloudflared";
- rev = "41916365b689bf2cc1446ea5717e4d26cc8aed43"; # untagged
- sha256 = "109bhnmvlvj3ag9vw090fy202z8aaqr1rakhn8v550wwy30h9zkf";
+ rev = version;
+ sha256 = "19229p7c9m7v0xpmzi5rfwjzm845ikq8pndkry2si9azks18x77q";
};
goDeps = ./deps.nix;
+ buildFlagsArray = "-ldflags=-X main.Version=${version}";
+
meta = with stdenv.lib; {
description = "CloudFlare Argo Tunnel daemon (and DNS-over-HTTPS client)";
homepage = https://www.cloudflare.com/products/argo-tunnel;
license = licenses.unfree;
platforms = platforms.unix;
- maintainers = [ maintainers.thoughtpolice ];
+ maintainers = [ maintainers.thoughtpolice maintainers.enorris ];
};
}
diff --git a/pkgs/applications/networking/cloudflared/deps.nix b/pkgs/applications/networking/cloudflared/deps.nix
index da7f509378d..e5ca7be0070 100644
--- a/pkgs/applications/networking/cloudflared/deps.nix
+++ b/pkgs/applications/networking/cloudflared/deps.nix
@@ -5,8 +5,8 @@
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
- rev = "b26d9c308763d68093482582cea63d69be07a0f0";
- sha256 = "0k7v2i1d2d6si8gswn83qb84czhhia53v2wdy33yz9ppdidxk0ry";
+ rev = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005";
+ sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
};
}
{
@@ -14,8 +14,8 @@
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
- rev = "3a771d992973f24aa725d07868b467d1ddfceafb";
- sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
+ rev = "4b2b341e8d7715fae06375aa633dbb6e91b3fb46";
+ sha256 = "1i1nz1f6g55xi2y3aiaz5kqfgvknarbfl4f0sx4nyyb4s7xb1z9x";
};
}
{
@@ -36,13 +36,22 @@
sha256 = "10112y4k8qing552n0df9w33cgminrzm6g3x7ng0vgin4sv59785";
};
}
+ {
+ goPackagePath = "github.com/cloudflare/golibs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/cloudflare/golibs";
+ rev = "333127dbecfcc23a8db7d9a4f52785d23aff44a1";
+ sha256 = "170hbv9wyfmb5da9a6wjz2mphp0pylv23h8qp8h5kwa2i9frdqqi";
+ };
+ }
{
goPackagePath = "github.com/coredns/coredns";
fetch = {
type = "git";
url = "https://github.com/coredns/coredns";
- rev = "992e7928c7c258628d2b13b769acc86781b9faea";
- sha256 = "0mvlkca11ikwzii0p7g5a2z3gn1xrp7qmmjwklp4i52lbnsawzv0";
+ rev = "2e322f6e8a54f18c6aef9c25a7c432c291a3d9f7";
+ sha256 = "0s9x5yww1qd9pzh2w846g9qw0n86ygymjiqjn15ws6ha3nj5p75p";
};
}
{
@@ -59,8 +68,8 @@
fetch = {
type = "git";
url = "https://github.com/coreos/go-systemd";
- rev = "39ca1b05acc7ad1220e09f133283b8859a8b71ab";
- sha256 = "1kzqrrzqspa5qm7kwslxl3m16lqzns23c24rv474ajzwmj3ixmx1";
+ rev = "95778dfbb74eb7e4dbaf43bf7d71809650ef8076";
+ sha256 = "1s3bg9p78wkixn2bqb2p23wbsqfg949ml6crw2b498s71mwh8rcf";
};
}
{
@@ -77,8 +86,8 @@
fetch = {
type = "git";
url = "https://github.com/davecgh/go-spew";
- rev = "346938d642f2ec3594ed81d874461961cd0faa76";
- sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c";
+ rev = "8991bc29aa16c548c550c7ff78260e27b9ab7c73";
+ sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
};
}
{
@@ -95,8 +104,8 @@
fetch = {
type = "git";
url = "https://github.com/equinox-io/equinox";
- rev = "f24972fa72facf59d05c91c848b65eac38815915";
- sha256 = "1d3620g1kxyzn8b3py2471qp8ssyzm1qnpbap9gxrmg8912wiww1";
+ rev = "5205c98a6c11dc72747ce12fff6cd620a99fde05";
+ sha256 = "19gya2zhs3xqfjh8y6s63yw9q8h1x710rl1drf4a1fmgdhaf2lrv";
};
}
{
@@ -140,8 +149,8 @@
fetch = {
type = "git";
url = "https://github.com/golang/protobuf";
- rev = "b4deda0973fb4c70b50d226b1af49f3da59f5265";
- sha256 = "0ya4ha7m20bw048m1159ppqzlvda4x0vdprlbk5sdgmy74h3xcdq";
+ rev = "b5d812f8a3706043e23a9cd5babf2e5423744d30";
+ sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
};
}
{
@@ -149,17 +158,8 @@
fetch = {
type = "git";
url = "https://github.com/google/uuid";
- rev = "064e2069ce9c359c118179501254f67d7d37ba24";
- sha256 = "1b1ibx3rbiv7xwa9kz4b4zpp1fza5cjnn8v6749b4vrkjjmp3rqb";
- };
- }
- {
- goPackagePath = "github.com/gorilla/context";
- fetch = {
- type = "git";
- url = "https://github.com/gorilla/context";
- rev = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42";
- sha256 = "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4";
+ rev = "0cd6bf5da1e1c83f8b45653022c74f71af0538a4";
+ sha256 = "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb";
};
}
{
@@ -167,8 +167,8 @@
fetch = {
type = "git";
url = "https://github.com/gorilla/mux";
- rev = "e3702bed27f0d39777b0b37b664b6280e8ef8fbf";
- sha256 = "0pvzm23hklxysspnz52mih6h1q74vfrdhjfm1l3sa9r8hhqmmld2";
+ rev = "c5c6c98bc25355028a63748a498942a6398ccd22";
+ sha256 = "0im4da3hqxb6zr8g3m640qz234f5gs0a8hqhcz35mkvfqlv48f62";
};
}
{
@@ -198,13 +198,22 @@
sha256 = "1pqxhsdavbp1n5grgyx2j6ylvql2fzn2cvpsgkc8li69dil7sibl";
};
}
+ {
+ goPackagePath = "github.com/konsorten/go-windows-terminal-sequences";
+ fetch = {
+ type = "git";
+ url = "https://github.com/konsorten/go-windows-terminal-sequences";
+ rev = "f55edac94c9bbba5d6182a4be46d86a2c9b5b50e";
+ sha256 = "09mn209ika7ciy87xf2x31dq5fnqw39jidgaljvmqxwk7ff1hnx7";
+ };
+ }
{
goPackagePath = "github.com/lib/pq";
fetch = {
type = "git";
url = "https://github.com/lib/pq";
- rev = "90697d60dd844d5ef6ff15135d0203f65d2f53b8";
- sha256 = "0hb4bfsk8g5473yzbf3lzrb373xicakjznkf0v085xgimz991i9r";
+ rev = "51e2106eed1cea199c802d2a49e91e2491b02056";
+ sha256 = "00kp0k7sd7xrv92crd2xja68z096b2fw0mlz58mdjlri9w72hqbf";
};
}
{
@@ -212,8 +221,8 @@
fetch = {
type = "git";
url = "https://github.com/mattn/go-colorable";
- rev = "167de6bfdfba052fa6b2d3664c8f5272e23c9072";
- sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
+ rev = "3a70a971f94a22f2fa562ffcc7a0eb45f5daf045";
+ sha256 = "0l640974j804c1yyjfgyxqlsivz0yrzmbql4mhcw2azryigkp08p";
};
}
{
@@ -221,8 +230,8 @@
fetch = {
type = "git";
url = "https://github.com/mattn/go-isatty";
- rev = "0360b2af4f38e8d38c7fce2a9f4e702702d73a39";
- sha256 = "06w45aqz2a6yrk25axbly2k5wmsccv8cspb94bfmz4izvw8h927n";
+ rev = "c2a7a6ca930a4cd0bc33a3f298eb71960732a3a7";
+ sha256 = "1i77aq4gf9as03m8fpfh8fq49n4z9j7548blrcsidm1xhslzk5xd";
};
}
{
@@ -248,8 +257,8 @@
fetch = {
type = "git";
url = "https://github.com/miekg/dns";
- rev = "5a2b9fab83ff0f8bfc99684bd5f43a37abe560f1";
- sha256 = "1vmgkpmwlqg6pwrpvjbn4h4al6af5fjvwwnacyv18hvlfd3fyfmx";
+ rev = "73601d4aed9d844322611759d7f3619110b7c88e";
+ sha256 = "1frnj97bbch1qhg55fx2yz6mdjsz8fw94sj7pkrjms239j7vqcvm";
};
}
{
@@ -257,8 +266,8 @@
fetch = {
type = "git";
url = "https://github.com/mitchellh/go-homedir";
- rev = "3864e76763d94a6df2f9960b16a20a33da9f9a66";
- sha256 = "1n8vya16l60i5jms43yb8fzdgwvqa2q926p5wkg3lbrk8pxy1nv0";
+ rev = "af06845cf3004701891bf4fdb884bfe4920b3727";
+ sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1";
};
}
{
@@ -266,8 +275,8 @@
fetch = {
type = "git";
url = "https://github.com/opentracing/opentracing-go";
- rev = "1949ddbfd147afd4d964a9f00b24eb291e0e7c38";
- sha256 = "0i0ghg94dg8lk05mw5n23983wq04yjvkjmdkc9z5y1f3508938h9";
+ rev = "659c90643e714681897ec2521c60567dd21da733";
+ sha256 = "0aj9cbm21zsg1i5l25hz8gn0yf99yxyxcp1gqh3yd5g4knj2cgzf";
};
}
{
@@ -302,8 +311,8 @@
fetch = {
type = "git";
url = "https://github.com/prometheus/client_model";
- rev = "99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c";
- sha256 = "19y4ywsivhpxj7ikf2j0gm9k3cmyw37qcbfi78n526jxcc7kw998";
+ rev = "fd36f4220a901265f90734c3183c5f0c91daa0b8";
+ sha256 = "1bs5d72k361llflgl94c22n0w53j30rsfh84smgk8mbjbcmjsaa5";
};
}
{
@@ -311,8 +320,8 @@
fetch = {
type = "git";
url = "https://github.com/prometheus/common";
- rev = "7600349dcfe1abd18d72d3a1770870d9800a7801";
- sha256 = "0lsp94dqpj35dny4m4x15kg4wgwawlm3in7cnpajkkacgyxagk5f";
+ rev = "a82f4c12f983cc2649298185f296632953e50d3e";
+ sha256 = "0pcgnxrv2i31jljqzhkv5hpdz92f6zrkh2p1i7i59acfz1fxhq0s";
};
}
{
@@ -320,8 +329,8 @@
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
- rev = "ae68e2d4c00fed4943b5f6698d504a5fe083da8a";
- sha256 = "04sar4k99w8nvq3kwx6chz0mbp4s6xfjfxww7aqfd950xgs2jv5f";
+ rev = "8368d24ba045f26503eb745b624d930cbe214c79";
+ sha256 = "0cfrgsy82c964hcmzzyk6ccghpr9dkfvdlxa0cj9cfc0w94cqvrl";
};
}
{
@@ -329,8 +338,8 @@
fetch = {
type = "git";
url = "https://github.com/rifflock/lfshook";
- rev = "bf539943797a1f34c1f502d07de419b5238ae6c6";
- sha256 = "0hns4zidw8g3s5l9dyl894fnyjr0a5xgdvx26rnal9jrn4n6z835";
+ rev = "b9218ef580f59a2e72dad1aa33d660150445d05a";
+ sha256 = "0wxqjcjfg8c0klmdgmbw3ckagby3wg9rkga9ihd4fsf05x5scxrc";
};
}
{
@@ -338,8 +347,8 @@
fetch = {
type = "git";
url = "https://github.com/sirupsen/logrus";
- rev = "c155da19408a8799da419ed3eeb0cb5db0ad5dbc";
- sha256 = "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz";
+ rev = "839c75faf7f98a33d445d181f3018b5c3409a45e";
+ sha256 = "087k2lxrr9p9dh68yw71d05h5g9p5v26zbwd6j7lghinjfaw334x";
};
}
{
@@ -347,8 +356,8 @@
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
- rev = "f35b8ab0b5a2cef36673838d662e249dd9c94686";
- sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
+ rev = "12b6f73e6084dad08a7c6e575284b177ecafbc71";
+ sha256 = "01f80s0q64pw5drfgqwwk1wfwwkvd2lhbs56lhhkff4ni83k73fd";
};
}
{
@@ -356,8 +365,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
- rev = "a49355c7e3f8fe157a85be2f77e6e269a0f89602";
- sha256 = "020q1laxjx5kcmnqy4wmdb63zhb0lyq6wpy40axhswzg2nd21s44";
+ rev = "f416ebab96af27ca70b6e5c23d6a0747530da626";
+ sha256 = "1cmddgh6x1c3lij50r8245jhqgi4j00add4wjpqpc2dmcg5928m3";
};
}
{
@@ -365,8 +374,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
- rev = "32a936f46389aa10549d60bd7833e54b01685d09";
- sha256 = "0f24khgx6s7idpnmwgkml4qyrqwkvdjd18aapn5rmybyhmrb57j7";
+ rev = "1da14a5a36f220ea3f03470682b737b1dfd5de22";
+ sha256 = "1ivqwn3r44vlldlj53669jvsd6klwsg7hmla7f0vz03ny8xz4lpz";
};
}
{
@@ -383,8 +392,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
- rev = "ce36f3865eeb42541ce3f87f32f8462c5687befa";
- sha256 = "0dkmxn48l9g7w1247c473qlacfkfp8wyan54k9cbi79icdp65jja";
+ rev = "12500544f89f9420afe9529ba8940bf72d294972";
+ sha256 = "1y37dlbbsp1dkfqaf563fwlf3xl74ymswmy52faqyv0wpcbwixgy";
};
}
{
@@ -401,8 +410,8 @@
fetch = {
type = "git";
url = "https://github.com/google/go-genproto";
- rev = "ff3583edef7de132f219f0efc00e097cabcc0ec0";
- sha256 = "0bpzxk85fgvznmdf9356nzh8riqhwzcil9r2a955rbfn27lh4lmy";
+ rev = "d1146b9035b912113a38af3b138eb2af567b2c67";
+ sha256 = "1ry1vbbnfh7i3zrv3vmbsbmq2w8jmz88ykd6cxviijnxvms3zab8";
};
}
{
@@ -410,8 +419,8 @@
fetch = {
type = "git";
url = "https://github.com/grpc/grpc-go";
- rev = "168a6198bcb0ef175f7dacec0b8691fc141dc9b8";
- sha256 = "0d8vj372ri55mrqfc0rhjl3albp5ykwfjhda1s5cgm5n40v70pr3";
+ rev = "236199dd5f8031d698fb64091194aecd1c3895b2";
+ sha256 = "0rzpcmp5fscg3smn0aiaahgimv74smylg701na5px3pn5iymh94a";
};
}
{
@@ -428,8 +437,8 @@
fetch = {
type = "git";
url = "https://github.com/go-yaml/yaml";
- rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
+ rev = "51d6538a90f86fe93ac480b35f37b2be17fef232";
+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
};
}
{
@@ -441,4 +450,4 @@
sha256 = "0nzw3g8xpxyzwqqv3ja0iznd0j18l1rwagwhf9sinwdjjgmh51sy";
};
}
-]
+]
\ No newline at end of file
diff --git a/pkgs/applications/networking/cluster/argo/default.nix b/pkgs/applications/networking/cluster/argo/default.nix
index 647261a138f..92db34417f4 100644
--- a/pkgs/applications/networking/cluster/argo/default.nix
+++ b/pkgs/applications/networking/cluster/argo/default.nix
@@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "argo-${version}";
+ pname = "argo";
version = "2.2.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/cluster/chronos/default.nix b/pkgs/applications/networking/cluster/chronos/default.nix
index bc9023a222f..78be19cd81e 100644
--- a/pkgs/applications/networking/cluster/chronos/default.nix
+++ b/pkgs/applications/networking/cluster/chronos/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, makeWrapper, fetchgit, curl, jdk, maven, nodejs, mesos }:
stdenv.mkDerivation rec {
- name = "chronos-${version}";
+ pname = "chronos";
version = "286b2ccb8e4695f8e413406ceca85b60d3a87e22";
src = fetchgit {
@@ -21,10 +21,10 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/{bin,libexec/chronos}
- cp target/chronos*.jar $out/libexec/chronos/${name}.jar
+ cp target/chronos*.jar $out/libexec/chronos/${pname}-${version}.jar
makeWrapper ${jdk.jre}/bin/java $out/bin/chronos \
- --add-flags "-Xmx384m -Xms384m -cp $out/libexec/chronos/${name}.jar com.airbnb.scheduler.Main" \
+ --add-flags "-Xmx384m -Xms384m -cp $out/libexec/chronos/${pname}-${version}.jar com.airbnb.scheduler.Main" \
--prefix "MESOS_NATIVE_LIBRARY" : "$MESOS_NATIVE_LIBRARY"
'';
diff --git a/pkgs/applications/networking/cluster/click/default.nix b/pkgs/applications/networking/cluster/click/default.nix
index 2c7a026b277..f4d6fce3545 100644
--- a/pkgs/applications/networking/cluster/click/default.nix
+++ b/pkgs/applications/networking/cluster/click/default.nix
@@ -3,19 +3,17 @@
with rustPlatform;
buildRustPackage rec {
- name = "click-${version}";
- version = "0.3.2";
+ pname = "click";
+ version = "0.4.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "databricks";
repo = "click";
- sha256 = "0sbj41kypn637z1w115w2h5v6bxz3y6w5ikgpx3ihsh89lkc19d2";
+ sha256 = "18mpzvvww2g6y2d3m8wcfajzdshagihn59k03xvcknd5d8zxagl3";
};
- cargoSha256 = "05asqp5312a1g26pvf5hgqhc4kj3iw2hdvml2ycvga33sxb7zm7r";
-
- patches = [ ./fix_cargo_lock_version.patch ];
+ cargoSha256 = "0298x7wkr4j1l5flmv5vhl1ay8icvh4dlhsh4xi8fd3p8jl9jpqv";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
diff --git a/pkgs/applications/networking/cluster/click/fix_cargo_lock_version.patch b/pkgs/applications/networking/cluster/click/fix_cargo_lock_version.patch
deleted file mode 100644
index bc4db7ef7c1..00000000000
--- a/pkgs/applications/networking/cluster/click/fix_cargo_lock_version.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Cargo.lock b/Cargo.lock
-index ff80350..c86c6fe 100644
---- a/Cargo.lock
-+++ b/Cargo.lock
-@@ -111,7 +111,7 @@ dependencies = [
-
- [[package]]
- name = "click"
--version = "0.3.1"
-+version = "0.3.2"
- dependencies = [
- "ansi_term 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
- "base64 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
diff --git a/pkgs/applications/networking/cluster/cni/default.nix b/pkgs/applications/networking/cluster/cni/default.nix
index 3f342ea04a0..88dbd177da0 100644
--- a/pkgs/applications/networking/cluster/cni/default.nix
+++ b/pkgs/applications/networking/cluster/cni/default.nix
@@ -1,28 +1,17 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
- name = "cni-${version}";
- version = "0.6.0";
+ pname = "cni";
+ version = "0.7.0";
src = fetchFromGitHub {
owner = "containernetworking";
- repo = "cni";
+ repo = pname;
rev = "v${version}";
- sha256 = "00ajs2r5r2z3l0vqwxrcwhjfc9px12qbcv5vnvs2mdipvvls1y2y";
+ sha256 = "15ad323dw44k82bfx9r8w5q2kn7jix60p9v4ciyzx2p5pip36wp8";
};
goPackagePath = "github.com/containernetworking/cni";
-
- buildPhase = ''
- cd "go/src/${goPackagePath}"
- patchShebangs build.sh
- ./build.sh
- '';
-
- installPhase = ''
- install -Dm555 bin/cnitool $bin/bin/cnitool
- '';
-
meta = with stdenv.lib; {
description = "Container Network Interface - networking for Linux containers";
license = licenses.asl20;
diff --git a/pkgs/applications/networking/cluster/cni/plugins.nix b/pkgs/applications/networking/cluster/cni/plugins.nix
index fdefa48adba..b5276818f79 100644
--- a/pkgs/applications/networking/cluster/cni/plugins.nix
+++ b/pkgs/applications/networking/cluster/cni/plugins.nix
@@ -1,22 +1,22 @@
{ stdenv, lib, fetchFromGitHub, go, removeReferencesTo }:
stdenv.mkDerivation rec {
- name = "cni-plugins-${version}";
- version = "0.7.5";
+ pname = "cni-plugins";
+ version = "0.8.2";
src = fetchFromGitHub {
owner = "containernetworking";
repo = "plugins";
rev = "v${version}";
- sha256 = "1kfi0iz2hs4rq3cdkw12j8d47ac4f5vrpzcwcrs2yzmh2j4n5sz5";
+ sha256 = "0gyxa6mhiyxqw4wpn6r7wgr2kyvflzbdcqsk5ch0b6zih98144ia";
};
buildInputs = [ removeReferencesTo go ];
buildPhase = ''
- patchShebangs build.sh
+ patchShebangs build_linux.sh
export "GOCACHE=$TMPDIR/go-cache"
- ./build.sh
+ ./build_linux.sh
'';
installPhase = ''
diff --git a/pkgs/applications/networking/cluster/docker-machine/default.nix b/pkgs/applications/networking/cluster/docker-machine/default.nix
index 876630c559a..115dc3835fc 100644
--- a/pkgs/applications/networking/cluster/docker-machine/default.nix
+++ b/pkgs/applications/networking/cluster/docker-machine/default.nix
@@ -2,7 +2,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "machine-${version}";
+ pname = "machine";
version = "0.16.1";
goPackagePath = "github.com/docker/machine";
diff --git a/pkgs/applications/networking/cluster/docker-machine/kvm.nix b/pkgs/applications/networking/cluster/docker-machine/kvm.nix
index 181663513d3..de122dd2a5a 100644
--- a/pkgs/applications/networking/cluster/docker-machine/kvm.nix
+++ b/pkgs/applications/networking/cluster/docker-machine/kvm.nix
@@ -2,7 +2,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig }:
buildGoPackage rec {
- name = "docker-machine-kvm-${version}";
+ pname = "docker-machine-kvm";
version = "0.10.0";
goPackagePath = "github.com/dhiltgen/docker-machine-kvm";
diff --git a/pkgs/applications/networking/cluster/docker-machine/kvm2.nix b/pkgs/applications/networking/cluster/docker-machine/kvm2.nix
index 41465766489..eb2946cec77 100644
--- a/pkgs/applications/networking/cluster/docker-machine/kvm2.nix
+++ b/pkgs/applications/networking/cluster/docker-machine/kvm2.nix
@@ -1,8 +1,7 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, libvirt, pkgconfig, minikube }:
+{ stdenv, buildGoModule, libvirt, pkgconfig, minikube }:
-buildGoPackage rec {
+buildGoModule rec {
pname = "docker-machine-kvm2";
- name = "${pname}-${version}";
version = minikube.version;
goPackagePath = "k8s.io/minikube";
@@ -10,6 +9,8 @@ buildGoPackage rec {
src = minikube.src;
+ modSha256 = minikube.go-modules.outputHash;
+
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libvirt ];
@@ -18,7 +19,7 @@ buildGoPackage rec {
'';
postInstall = ''
- mv $bin/bin/kvm $bin/bin/docker-machine-driver-kvm2
+ mv $out/bin/kvm $out/bin/docker-machine-driver-kvm2
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/cluster/docker-machine/xhyve.nix b/pkgs/applications/networking/cluster/docker-machine/xhyve.nix
index 6b0440eb84a..1c2caff50d5 100644
--- a/pkgs/applications/networking/cluster/docker-machine/xhyve.nix
+++ b/pkgs/applications/networking/cluster/docker-machine/xhyve.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub, pkgconfig, Hypervisor, vmnet }:
buildGoPackage rec {
- name = "docker-machine-xhyve-${version}";
+ pname = "docker-machine-xhyve";
version = "0.3.3";
goPackagePath = "github.com/zchee/docker-machine-driver-xhyve";
diff --git a/pkgs/applications/networking/cluster/flink/default.nix b/pkgs/applications/networking/cluster/flink/default.nix
index e5f437a89ad..424b2ddca91 100644
--- a/pkgs/applications/networking/cluster/flink/default.nix
+++ b/pkgs/applications/networking/cluster/flink/default.nix
@@ -8,8 +8,8 @@ let
sha256 = "18wqcqi3gyqd40nspih99gq7ylfs20b35f4dcrspffagwkfp2l4z";
};
"1.6" = {
- flinkVersion = "1.6.2";
- sha256 = "17fsr6yv1ayr7fw0r4pjlbpkn9ypzjs4brqndzr3gbzwrdc44arw";
+ flinkVersion = "1.8.1";
+ sha256 = "1ynxlkdxvrgww9hh7rlkhybrp5vl2slj3pqg2qzc8khpcgqx1h2g";
};
};
in
diff --git a/pkgs/applications/networking/cluster/fluxctl/default.nix b/pkgs/applications/networking/cluster/fluxctl/default.nix
new file mode 100644
index 00000000000..b0f67932265
--- /dev/null
+++ b/pkgs/applications/networking/cluster/fluxctl/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "fluxctl";
+ version = "1.13.3";
+
+ src = fetchFromGitHub {
+ owner = "weaveworks";
+ repo = "flux";
+ rev = version;
+ sha256 = "0l2gc9p2jz1zyl527rr0r3qklm4j86d4biviq8a30jl9rsx6z4cy";
+ };
+
+ modSha256 = "1q5g9hd0ansdc2acpysf6wi74q50w0psrpyhk4y6mm6kjvhlcn87";
+
+ subPackages = [ "cmd/fluxctl" ];
+
+ meta = with stdenv.lib; {
+ description = "CLI client for Flux, the GitOps Kubernetes operator";
+ homepage = https://github.com/weaveworks/flux;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ Gonzih ];
+ };
+}
diff --git a/pkgs/applications/networking/cluster/habitat/default.nix b/pkgs/applications/networking/cluster/habitat/default.nix
index 0c210dcc535..9bf801ee93d 100644
--- a/pkgs/applications/networking/cluster/habitat/default.nix
+++ b/pkgs/applications/networking/cluster/habitat/default.nix
@@ -4,7 +4,7 @@
with rustPlatform;
buildRustPackage rec {
- name = "habitat-${version}";
+ pname = "habitat";
version = "0.30.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/cluster/hadoop/default.nix b/pkgs/applications/networking/cluster/hadoop/default.nix
index dfe6513bf0c..5fc35e6a0af 100644
--- a/pkgs/applications/networking/cluster/hadoop/default.nix
+++ b/pkgs/applications/networking/cluster/hadoop/default.nix
@@ -1,7 +1,9 @@
-{ stdenv, fetchurl, makeWrapper, pkgconfig, which, maven, cmake, jre, bash, coreutils, glibc, protobuf2_5, fuse, snappy, zlib, bzip2, openssl }:
+{ stdenv, fetchurl, makeWrapper, pkgconfig, which, maven, cmake, jre, bash
+, coreutils, glibc, protobuf2_5, fuse, snappy, zlib, bzip2, openssl, openssl_1_0_2
+}:
let
- common = { version, sha256, dependencies-sha256, tomcat }:
+ common = { version, sha256, dependencies-sha256, tomcat, opensslPkg ? openssl }:
let
# compile the hadoop tarball from sources, it requires some patches
binary-distributon = stdenv.mkDerivation rec {
@@ -19,7 +21,7 @@ let
# perform fake build to make a fixed-output derivation of dependencies downloaded from maven central (~100Mb in ~3000 files)
fetched-maven-deps = stdenv.mkDerivation {
name = "hadoop-${version}-maven-deps";
- inherit src postUnpack nativeBuildInputs buildInputs configurePhase;
+ inherit src postUnpack nativeBuildInputs buildInputs;
buildPhase = ''
while mvn package -Dmaven.repo.local=$out/.m2 ${mavenFlags} -Dmaven.wagon.rto=5000; [ $? = 1 ]; do
echo "timeout, restart maven to continue downloading"
@@ -33,7 +35,7 @@ let
};
nativeBuildInputs = [ maven cmake pkgconfig ];
- buildInputs = [ fuse snappy zlib bzip2 openssl protobuf2_5 ];
+ buildInputs = [ fuse snappy zlib bzip2 opensslPkg protobuf2_5 ];
# most of the hardcoded pathes are fixed in 2.9.x and 3.0.0, this list of patched files might be reduced when 2.7.x and 2.8.x will be deprecated
postPatch = ''
for file in hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/HardLink.java \
@@ -51,7 +53,7 @@ let
fi
done
'';
- configurePhase = "true"; # do not trigger cmake hook
+ dontConfigure = true; # do not trigger cmake hook
mavenFlags = "-Drequire.snappy -Drequire.bzip2 -DskipTests -Pdist,native -e";
buildPhase = ''
# 'maven.repo.local' must be writable
@@ -63,8 +65,9 @@ let
installPhase = "mv hadoop-dist/target/hadoop-${version} $out";
};
in
- stdenv.mkDerivation rec {
- name = "hadoop-${version}";
+ stdenv.mkDerivation {
+ pname = "hadoop";
+ inherit version;
src = binary-distributon;
@@ -84,7 +87,7 @@ let
mv $n $out/bin.wrapped/
makeWrapper $out/bin.wrapped/$(basename $n) $n \
--prefix PATH : "${stdenv.lib.makeBinPath [ which jre bash coreutils ]}" \
- --prefix JAVA_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ openssl snappy zlib bzip2 ]}" \
+ --prefix JAVA_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ opensslPkg snappy zlib bzip2 ]}" \
--set JAVA_HOME "${jre}" \
--set HADOOP_PREFIX "$out"
fi
@@ -127,18 +130,21 @@ in {
sha256 = "1ahv67f3lwak3kbjvnk1gncq56z6dksbajj872iqd0awdsj3p5rf";
dependencies-sha256 = "1lsr9nvrynzspxqcamb10d596zlnmnfpxhkd884gdiva0frm0b1r";
tomcat = tomcat_6_0_48;
+ opensslPkg = openssl_1_0_2;
};
hadoop_2_8 = common {
version = "2.8.4";
sha256 = "16c3ljhrzibkjn3y1bmjxdgf0kn60l23ay5hqpp7vpbnqx52x68w";
dependencies-sha256 = "1j4f461487fydgr5978nnm245ksv4xbvskfr8pbmfhcyss6b7w03";
tomcat = tomcat_6_0_48;
+ opensslPkg = openssl_1_0_2;
};
hadoop_2_9 = common {
version = "2.9.1";
sha256 = "0qgmpfbpv7f521fkjy5ldzdb4lwiblhs0hyl8qy041ws17y5x7d7";
dependencies-sha256 = "1d5i8jj5y746rrqb9lscycnd7acmxlkz64ydsiyqsh5cdqgy2x7x";
tomcat = tomcat_6_0_48;
+ opensslPkg = openssl_1_0_2;
};
hadoop_3_0 = common {
version = "3.0.3";
diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix
index c03af2e9683..f0edbdf3ed6 100644
--- a/pkgs/applications/networking/cluster/helm/default.nix
+++ b/pkgs/applications/networking/cluster/helm/default.nix
@@ -1,14 +1,14 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- version = "2.11.0";
- name = "helm-${version}";
+ version = "2.14.3";
+ pname = "helm";
src = fetchFromGitHub {
owner = "helm";
repo = "helm";
rev = "v${version}";
- sha256 = "1z810a6mxyrrw4i908dip8aqsj95c0kmv6xpb1wwhskg1zmf85wk";
+ sha256 = "18ly31db2kxybjlisz8dfz3cdxs7j2wsh4rx5lwhbm5hpp42h17d";
};
goPackagePath = "k8s.io/helm";
@@ -18,7 +18,7 @@ buildGoPackage rec {
# Thsese are the original flags from the helm makefile
buildFlagsArray = ''
- -ldflags=-X k8s.io/helm/pkg/version.Version=v${version}
+ -ldflags=-X k8s.io/helm/pkg/version.Version=v${version} -X k8s.io/helm/pkg/version.GitTreeState=clean -X k8s.io/helm/pkg/version.BuildMetadata=
-w
-s
'';
diff --git a/pkgs/applications/networking/cluster/helm/deps.nix b/pkgs/applications/networking/cluster/helm/deps.nix
index 36bd3406f5b..2fdda0ca280 100644
--- a/pkgs/applications/networking/cluster/helm/deps.nix
+++ b/pkgs/applications/networking/cluster/helm/deps.nix
@@ -1,839 +1,1181 @@
-# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
[
{
- goPackagePath = "cloud.google.com/go";
+ goPackagePath = "cloud.google.com/go";
fetch = {
type = "git";
url = "https://code.googlesource.com/gocloud";
- rev = "3b1ae45394a234c385be014e9a488f2bb6eef821";
- sha256 = "0alb495ql6s02kb6lxcbnlkdcmhixyl8zv11sgrkhsk1bckzh119";
+ rev = "v0.26.0";
+ sha256 = "149v3ci17g6wd2pm18mzcncq5qpl9hwdjnz3rlbn5rfidyn46la1";
};
}
{
- goPackagePath = "github.com/Azure/go-ansiterm";
+ goPackagePath = "github.com/Azure/go-ansiterm";
fetch = {
type = "git";
url = "https://github.com/Azure/go-ansiterm";
- rev = "19f72df4d05d31cbe1c56bfc8045c96babff6c7e";
- sha256 = "0663w5m5qlidpj17s5pqp6rhl0phw7vypf104n04dvdy5nd418ix";
+ rev = "d6e3b3328b78";
+ sha256 = "010khrkhkf9cxlvvb6ncqv4c1qcdmpbz9jn38g4fxf4xsma8xx1q";
};
}
{
- goPackagePath = "github.com/Azure/go-autorest";
+ goPackagePath = "github.com/Azure/go-autorest";
fetch = {
type = "git";
url = "https://github.com/Azure/go-autorest";
- rev = "1ff28809256a84bb6966640ff3d0371af82ccba4";
- sha256 = "0sxvj2j1833bqwxvhq3wq3jgq73rnb81pnzvl0x3y1m0hzpaf2zv";
+ rev = "v11.1.0";
+ sha256 = "1jmr04qkl9fgmj56czn2979ng0f6ygfbk2khv2xyx368686xc1d6";
};
}
{
- goPackagePath = "github.com/BurntSushi/toml";
+ goPackagePath = "github.com/BurntSushi/toml";
fetch = {
type = "git";
url = "https://github.com/BurntSushi/toml";
- rev = "b26d9c308763d68093482582cea63d69be07a0f0";
- sha256 = "0k7v2i1d2d6si8gswn83qb84czhhia53v2wdy33yz9ppdidxk0ry";
+ rev = "v0.3.1";
+ sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
};
}
{
- goPackagePath = "github.com/MakeNowJust/heredoc";
+ goPackagePath = "github.com/MakeNowJust/heredoc";
fetch = {
type = "git";
url = "https://github.com/MakeNowJust/heredoc";
- rev = "bb23615498cded5e105af4ce27de75b089cbe851";
+ rev = "bb23615498cd";
sha256 = "17m780i9afj3sbmcrgwgzarfly4x9376w56qblkqnzdkv6vps22i";
};
}
{
- goPackagePath = "github.com/Masterminds/semver";
+ goPackagePath = "github.com/Masterminds/goutils";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Masterminds/goutils";
+ rev = "v1.1.0";
+ sha256 = "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq";
+ };
+ }
+ {
+ goPackagePath = "github.com/Masterminds/semver";
fetch = {
type = "git";
url = "https://github.com/Masterminds/semver";
- rev = "517734cc7d6470c0d07130e40fd40bdeb9bcd3fd";
- sha256 = "1625b5sxpmlz60jw67j1ljfcc09d4lhxg3z6gc4am8s2rrdgwij6";
+ rev = "v1.4.2";
+ sha256 = "0k2fpk2x8jbvqkqxx5hkx1ygrsppzmzypqb90i1r33yq7ac7zlxj";
};
}
{
- goPackagePath = "github.com/Masterminds/sprig";
+ goPackagePath = "github.com/Masterminds/sprig";
fetch = {
type = "git";
url = "https://github.com/Masterminds/sprig";
- rev = "15f9564e7e9cf0da02a48e0d25f12a7b83559aa6";
- sha256 = "1k5pfx9hxzb70kh73a009ikr3vqlq0jvzvbyvxz9x7a7yc4r5b14";
+ rev = "9f8fceff796f";
+ sha256 = "0m6h88xcs8zc2b1g6zaksfn9kyqhr8q9508h57jb6papx7w54yl2";
};
}
{
- goPackagePath = "github.com/Masterminds/vcs";
+ goPackagePath = "github.com/Masterminds/vcs";
fetch = {
type = "git";
url = "https://github.com/Masterminds/vcs";
- rev = "3084677c2c188840777bff30054f2b553729d329";
+ rev = "v1.11.1";
sha256 = "1062m73h0pp5d0574lf6px4jsjgywnsbkw50inxx3zal5r185ydm";
};
}
{
- goPackagePath = "github.com/PuerkitoBio/purell";
+ goPackagePath = "github.com/PuerkitoBio/purell";
fetch = {
type = "git";
url = "https://github.com/PuerkitoBio/purell";
- rev = "8a290539e2e8629dbc4e6bad948158f790ec31f4";
- sha256 = "1qhsy1nm96b9kb63svkvkqmmw15xg6irwcysisxdgzk64adfwqv1";
+ rev = "v1.1.0";
+ sha256 = "0vsxyn1fbm7g873b8kf3hcsgqgncb5nmfq3zfsc35a9yhzarka91";
};
}
{
- goPackagePath = "github.com/PuerkitoBio/urlesc";
+ goPackagePath = "github.com/PuerkitoBio/urlesc";
fetch = {
type = "git";
url = "https://github.com/PuerkitoBio/urlesc";
- rev = "5bd2802263f21d8788851d5305584c82a5c75d7e";
- sha256 = "15y5r3asvm7196m3nza5xvdvlc2k11p6lfs6hi917hl7r9vgi6mp";
+ rev = "de5bf2ad4578";
+ sha256 = "0n0srpqwbaan1wrhh2b7ysz543pjs1xw2rghvqyffg9l0g8kzgcw";
};
}
{
- goPackagePath = "github.com/aokoli/goutils";
+ goPackagePath = "github.com/adisbladis/vgo2nix";
fetch = {
type = "git";
- url = "https://github.com/aokoli/goutils";
- rev = "9c37978a95bd5c709a15883b6242714ea6709e64";
- sha256 = "1c51qgk4pjc8c776h7589c3d14791h86f1yj3ykg4q7vlcf9xrnr";
+ url = "https://github.com/adisbladis/vgo2nix";
+ rev = "56ac56bb0d96";
+ sha256 = "1jbxbgcqkal8cdhj2nfbw92fn1fs9ng1df9sf92vgf0m1xzq2mc3";
};
}
{
- goPackagePath = "github.com/asaskevich/govalidator";
+ goPackagePath = "github.com/alecthomas/assert";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/assert";
+ rev = "405dbfeb8e38";
+ sha256 = "1l567pi17k593nrd1qlbmiq8z9jy3qs60px2a16fdpzjsizwqx8l";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/colour";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/colour";
+ rev = "60882d9e2721";
+ sha256 = "0iq566534gbzkd16ixg7fk298wd766821vvs80838yifx9yml5vs";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/kingpin";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/kingpin";
+ rev = "v2.2.6";
+ sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/repr";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/repr";
+ rev = "117648cd9897";
+ sha256 = "05v1rgzdqc8razf702laagrvhvx68xd9yxxmzd3dyz0d6425pdrp";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/template";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/template";
+ rev = "a0175ee3bccc";
+ sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/units";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/units";
+ rev = "2efee857e7cf";
+ sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
+ };
+ }
+ {
+ goPackagePath = "github.com/asaskevich/govalidator";
fetch = {
type = "git";
url = "https://github.com/asaskevich/govalidator";
- rev = "7664702784775e51966f0885f5cd27435916517b";
+ rev = "766470278477";
sha256 = "1lmynw9vkgrxv7nh60wdywv0nx4gjlkiar433wydhpc2h3m5q968";
};
}
{
- goPackagePath = "github.com/beorn7/perks";
+ goPackagePath = "github.com/beorn7/perks";
fetch = {
type = "git";
url = "https://github.com/beorn7/perks";
- rev = "3ac7bf7a47d159a033b107610db8a1b6575507a4";
- sha256 = "1qc3l4r818xpvrhshh1sisc5lvl9479qspcfcdbivdyh0apah83r";
+ rev = "3a771d992973";
+ sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
};
}
{
- goPackagePath = "github.com/chai2010/gettext-go";
+ goPackagePath = "github.com/chai2010/gettext-go";
fetch = {
type = "git";
url = "https://github.com/chai2010/gettext-go";
- rev = "bf70f2a70fb1b1f36d90d671a72795984eab0fcb";
- sha256 = "0bwjwvjl7zqm7kxram1rzz0ri3h897kiin13ljy9hx3fzz1i9lml";
+ rev = "c6fed771bfd5";
+ sha256 = "1p9gzj39x4gyhc552n3dmi3kc224gwilawa5kcg8rla31qkwlsky";
};
}
{
- goPackagePath = "github.com/cpuguy83/go-md2man";
+ goPackagePath = "github.com/client9/misspell";
+ fetch = {
+ type = "git";
+ url = "https://github.com/client9/misspell";
+ rev = "v0.3.4";
+ sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs";
+ };
+ }
+ {
+ goPackagePath = "github.com/cpuguy83/go-md2man";
fetch = {
type = "git";
url = "https://github.com/cpuguy83/go-md2man";
- rev = "71acacd42f85e5e82f70a55327789582a5200a90";
+ rev = "v1.0.4";
sha256 = "0hmkrq4gdzb6mwllmh4p1y7vrz7hyr8xqagpk9nyr5dhygvnnq2v";
};
}
{
- goPackagePath = "github.com/cyphar/filepath-securejoin";
+ goPackagePath = "github.com/cyphar/filepath-securejoin";
fetch = {
type = "git";
url = "https://github.com/cyphar/filepath-securejoin";
- rev = "a261ee33d7a517f054effbf451841abaafe3e0fd";
+ rev = "v0.2.2";
sha256 = "0id32zjb92wm569m29nfrzz5mw9z1glr3klayr6j134pp4h1sgq4";
};
}
{
- goPackagePath = "github.com/davecgh/go-spew";
+ goPackagePath = "github.com/davecgh/go-spew";
fetch = {
type = "git";
url = "https://github.com/davecgh/go-spew";
- rev = "782f4967f2dc4564575ca782fe2d04090b5faca8";
- sha256 = "1ypijjawqc0xgmgim42260ibcyclfgfizicz5cbvndw4plqfsswk";
+ rev = "v1.1.1";
+ sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
};
}
{
- goPackagePath = "github.com/dgrijalva/jwt-go";
+ goPackagePath = "github.com/dgrijalva/jwt-go";
fetch = {
type = "git";
url = "https://github.com/dgrijalva/jwt-go";
- rev = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e";
- sha256 = "08m27vlms74pfy5z79w67f9lk9zkx6a9jd68k3c4msxy75ry36mp";
+ rev = "01aeca54ebda";
+ sha256 = "10dmb5xxn5wijn299h483z0klprprkq7n1azakm3ysp50sr11ywg";
};
}
{
- goPackagePath = "github.com/docker/distribution";
+ goPackagePath = "github.com/docker/distribution";
fetch = {
type = "git";
url = "https://github.com/docker/distribution";
- rev = "edc3ab29cdff8694dd6feb85cfeb4b5f1b38ed9c";
+ rev = "edc3ab29cdff";
sha256 = "1nqjaq1q6fs3c0avpb02sib0a906xfbk3m74hk2mqjdbyx9y8b4m";
};
}
{
- goPackagePath = "github.com/docker/docker";
+ goPackagePath = "github.com/docker/docker";
fetch = {
type = "git";
url = "https://github.com/docker/docker";
- rev = "4f3616fb1c112e206b88cb7a9922bf49067a7756";
- sha256 = "0zmsqm1lkwggfqgy2rw34g4g2jlvr6mvcsh65fmpdb30l65iaqzf";
+ rev = "a9fbbdc8dd87";
+ sha256 = "0vkr9fs8qv3ydpm4f4b3jsx1f3cxpws78f2kwpyn00y1gb3lpnpc";
};
}
{
- goPackagePath = "github.com/docker/go-connections";
- fetch = {
- type = "git";
- url = "https://github.com/docker/go-connections";
- rev = "3ede32e2033de7505e6500d6c868c2b9ed9f169d";
- sha256 = "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0";
- };
- }
- {
- goPackagePath = "github.com/docker/go-units";
- fetch = {
- type = "git";
- url = "https://github.com/docker/go-units";
- rev = "9e638d38cf6977a37a8ea0078f3ee75a7cdb2dd1";
- sha256 = "1sqwvcszxqpv77xf2d8fxvryxphdwj9v8f93231wpnk9kpilhyii";
- };
- }
- {
- goPackagePath = "github.com/docker/spdystream";
+ goPackagePath = "github.com/docker/spdystream";
fetch = {
type = "git";
url = "https://github.com/docker/spdystream";
- rev = "449fdfce4d962303d702fec724ef0ad181c92528";
+ rev = "449fdfce4d96";
sha256 = "1412cpiis971iq1kxrirzirhj2708ispjh0x0dh879b66x8507sl";
};
}
{
- goPackagePath = "github.com/evanphx/json-patch";
+ goPackagePath = "github.com/emicklei/go-restful";
fetch = {
type = "git";
- url = "https://github.com/evanphx/json-patch";
- rev = "94e38aa1586e8a6c8a75770bddf5ff84c48a106b";
- sha256 = "1c9gzc3gb76lm5famc0345y90is1lyffn39bmdr0xk19462f8av5";
+ url = "https://github.com/emicklei/go-restful";
+ rev = "ff4f55a20633";
+ sha256 = "1v5lj5142abz3gvbygp6xghpdx4ps2lwswl8559ivaidahwnc21c";
};
}
{
- goPackagePath = "github.com/exponent-io/jsonpath";
+ goPackagePath = "github.com/evanphx/json-patch";
+ fetch = {
+ type = "git";
+ url = "https://github.com/evanphx/json-patch";
+ rev = "v4.2.0";
+ sha256 = "0cfvyhl3hjfc4z8hbkfc40yafv6r7y513zgp3jwf88isbd13r7a6";
+ };
+ }
+ {
+ goPackagePath = "github.com/exponent-io/jsonpath";
fetch = {
type = "git";
url = "https://github.com/exponent-io/jsonpath";
- rev = "d6023ce2651d8eafb5c75bb0c7167536102ec9f5";
+ rev = "d6023ce2651d";
sha256 = "1qkzaxsjs7yg1672sk67nr119j7jc4751yzgii0j3nbipjv321kc";
};
}
{
- goPackagePath = "github.com/fatih/camelcase";
+ goPackagePath = "github.com/fatih/camelcase";
fetch = {
type = "git";
url = "https://github.com/fatih/camelcase";
- rev = "f6a740d52f961c60348ebb109adde9f4635d7540";
+ rev = "f6a740d52f96";
sha256 = "15vb86adns1izvbzjw0lmmzrwlarhbxw5qalhx10vzzdx73wh4ai";
};
}
{
- goPackagePath = "github.com/ghodss/yaml";
+ goPackagePath = "github.com/ghodss/yaml";
fetch = {
type = "git";
url = "https://github.com/ghodss/yaml";
- rev = "73d445a93680fa1a78ae23a5839bad48f32ba1ee";
- sha256 = "0pg53ky4sy3sp9j4n7vgf1p3gw4nbckwqfldcmmi9rf13kjh0mr7";
+ rev = "c7ce16629ff4";
+ sha256 = "10cyv1gy3zwwkr04kk8cvhifb7xddakyvnk5s13yfcqj9hcjz8d1";
};
}
{
- goPackagePath = "github.com/go-openapi/jsonpointer";
+ goPackagePath = "github.com/go-kit/kit";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-kit/kit";
+ rev = "v0.8.0";
+ sha256 = "1rcywbc2pvab06qyf8pc2rdfjv7r6kxdv2v4wnpqnjhz225wqvc0";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-logfmt/logfmt";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-logfmt/logfmt";
+ rev = "v0.3.0";
+ sha256 = "1gkgh3k5w1xwb2qbjq52p6azq3h1c1rr6pfwjlwj1zrijpzn2xb9";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-openapi/jsonpointer";
fetch = {
type = "git";
url = "https://github.com/go-openapi/jsonpointer";
- rev = "46af16f9f7b149af66e5d1bd010e3574dc06de98";
- sha256 = "0w0fphmdycjzbsm1vppdcjc9aqinkcdzcq3pxikdvdqh5p791gsc";
+ rev = "v0.19.0";
+ sha256 = "0sv2k1fwj6rsigc9489c19ap0jib1d0widm040h0sjdw2nadh3i2";
};
}
{
- goPackagePath = "github.com/go-openapi/jsonreference";
+ goPackagePath = "github.com/go-openapi/jsonreference";
fetch = {
type = "git";
url = "https://github.com/go-openapi/jsonreference";
- rev = "13c6e3589ad90f49bd3e3bbe2c2cb3d7a4142272";
- sha256 = "1fh4xcl9ijww4bdq656sx981d57w2c9zx5148jsxlsg4bsvxmwis";
+ rev = "v0.19.0";
+ sha256 = "1d0rk17wn755xsfi9pxifdpgs2p23bc0rkf95kjwxczyy6jbqdaj";
};
}
{
- goPackagePath = "github.com/go-openapi/spec";
+ goPackagePath = "github.com/go-openapi/spec";
fetch = {
type = "git";
url = "https://github.com/go-openapi/spec";
- rev = "1de3e0542de65ad8d75452a595886fdd0befb363";
- sha256 = "13i9y71fk9vr2abvpsk04k55il32ly3fjinvl1zlamh9mi2mdzf4";
+ rev = "v0.17.2";
+ sha256 = "14n5x2nxlj2x62v3km96yw7rncxk2b9v94k3j0c22r43c60m38mx";
};
}
{
- goPackagePath = "github.com/go-openapi/swag";
+ goPackagePath = "github.com/go-openapi/swag";
fetch = {
type = "git";
url = "https://github.com/go-openapi/swag";
- rev = "f3f9494671f93fcff853e3c6e9e948b3eb71e590";
- sha256 = "13lqn4xqy9vma9aqsjb0fzfzi0q8l6dmg65sjxqdxf3q6gzkvmjy";
+ rev = "v0.17.2";
+ sha256 = "1hhgbx59f7lcsqiza2is8q9walhf8mxfkwj7xql1scrn6ms2jmlv";
};
}
{
- goPackagePath = "github.com/gobwas/glob";
+ goPackagePath = "github.com/go-sql-driver/mysql";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-sql-driver/mysql";
+ rev = "v1.4.0";
+ sha256 = "1jwz2j3vd5hlzmnkh20d4276yd8cxy7pac3x3dfi52jkm82ms99n";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-stack/stack";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-stack/stack";
+ rev = "v1.8.0";
+ sha256 = "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v";
+ };
+ }
+ {
+ goPackagePath = "github.com/gobwas/glob";
fetch = {
type = "git";
url = "https://github.com/gobwas/glob";
- rev = "5ccd90ef52e1e632236f7326478d4faa74f99438";
+ rev = "v0.2.3";
sha256 = "0jxk1x806zn5x86342s72dq2qy64ksb3zrvrlgir2avjhwb18n6z";
};
}
{
- goPackagePath = "github.com/gogo/protobuf";
+ goPackagePath = "github.com/gogo/protobuf";
fetch = {
type = "git";
url = "https://github.com/gogo/protobuf";
- rev = "c0656edd0d9eab7c66d1eb0c568f9039345796f7";
- sha256 = "0b943dhx571lhgcs3rqzy0092mi2x5mwy2kl7g8rryhy3r5rzrz9";
+ rev = "v1.1.1";
+ sha256 = "1525pq7r6h3s8dncvq8gxi893p2nq8dxpzvq0nfl5b4p6mq0v1c2";
};
}
{
- goPackagePath = "github.com/golang/glog";
+ goPackagePath = "github.com/golang/glog";
fetch = {
type = "git";
url = "https://github.com/golang/glog";
- rev = "44145f04b68cf362d9c4df2182967c2275eaefed";
- sha256 = "1k7sf6qmpgm0iw81gx2dwggf9di6lgw0n54mni7862hihwfrb5rq";
+ rev = "23def4e6c14b";
+ sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
};
}
{
- goPackagePath = "github.com/golang/groupcache";
+ goPackagePath = "github.com/golang/groupcache";
fetch = {
type = "git";
url = "https://github.com/golang/groupcache";
- rev = "02826c3e79038b59d737d3b1c0a1d937f71a4433";
+ rev = "02826c3e7903";
sha256 = "0w46bsllddfij66nrg8jbfjsr54birvfww8a2fj9fmgyig5syn2x";
};
}
{
- goPackagePath = "github.com/golang/protobuf";
+ goPackagePath = "github.com/golang/mock";
fetch = {
type = "git";
- url = "https://github.com/golang/protobuf";
- rev = "1643683e1b54a9e88ad26d98f81400c8c9d9f4f9";
- sha256 = "1ch3czyzq5abl6zm1l0dfsi09xj43ql9jcbmbhfhxz954pw03v3v";
+ url = "https://github.com/golang/mock";
+ rev = "v1.1.1";
+ sha256 = "0ap8wb6pdl6ccmdb43advjll2ly4sz26wsc3axw0hbrjrybybzgy";
};
}
{
- goPackagePath = "github.com/google/btree";
+ goPackagePath = "github.com/golang/protobuf";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/protobuf";
+ rev = "v1.2.0";
+ sha256 = "0kf4b59rcbb1cchfny2dm9jyznp8ri2hsb14n8iak1q8986xa0ab";
+ };
+ }
+ {
+ goPackagePath = "github.com/google/btree";
fetch = {
type = "git";
url = "https://github.com/google/btree";
- rev = "7d79101e329e5a3adf994758c578dab82b90c017";
+ rev = "7d79101e329e";
sha256 = "1c1hsy5s2pfawg3l9954jmqmy4yc2zp3f7i87m00km2yqgb8xpd0";
};
}
{
- goPackagePath = "github.com/google/gofuzz";
+ goPackagePath = "github.com/google/gofuzz";
fetch = {
type = "git";
url = "https://github.com/google/gofuzz";
- rev = "44d81051d367757e1c7c6a5a86423ece9afcf63c";
- sha256 = "0ivq2sl2fv8x0xxrcys27c42s8yq7irgl7lp6l0im9i7ky63nk0i";
+ rev = "24818f796faf";
+ sha256 = "0cq90m2lgalrdfrwwyycrrmn785rgnxa3l3vp9yxkvnv88bymmlm";
};
}
{
- goPackagePath = "github.com/google/uuid";
+ goPackagePath = "github.com/google/uuid";
fetch = {
type = "git";
url = "https://github.com/google/uuid";
- rev = "064e2069ce9c359c118179501254f67d7d37ba24";
+ rev = "064e2069ce9c";
sha256 = "1b1ibx3rbiv7xwa9kz4b4zpp1fza5cjnn8v6749b4vrkjjmp3rqb";
};
}
{
- goPackagePath = "github.com/googleapis/gnostic";
+ goPackagePath = "github.com/googleapis/gnostic";
fetch = {
type = "git";
url = "https://github.com/googleapis/gnostic";
- rev = "0c5108395e2debce0d731cf0287ddf7242066aba";
+ rev = "0c5108395e2d";
sha256 = "0jf3cp5clli88gpjf24r6wxbkvngnc1kf59d4cgjczsn2wasvsfc";
};
}
{
- goPackagePath = "github.com/gophercloud/gophercloud";
+ goPackagePath = "github.com/gophercloud/gophercloud";
fetch = {
type = "git";
url = "https://github.com/gophercloud/gophercloud";
- rev = "781450b3c4fcb4f5182bcc5133adb4b2e4a09d1d";
- sha256 = "0xvapk94p1259k8arvwyvhwvcnzma9vdg12g750cgz2ghkzvfhff";
+ rev = "c818fa66e4c8";
+ sha256 = "0igz47lpdxgpfb4ckrrs64vr4wkkiqaamk4wf5d3il4dc2g06azw";
};
}
{
- goPackagePath = "github.com/gosuri/uitable";
+ goPackagePath = "github.com/gosuri/uitable";
fetch = {
type = "git";
url = "https://github.com/gosuri/uitable";
- rev = "36ee7e946282a3fb1cfecd476ddc9b35d8847e42";
+ rev = "v0.0.1";
sha256 = "1ff68fv9g1df91fwbrcq83ar429gb4fi2vsd22zjmhvmbqx2zkil";
};
}
{
- goPackagePath = "github.com/gregjones/httpcache";
+ goPackagePath = "github.com/gregjones/httpcache";
fetch = {
type = "git";
url = "https://github.com/gregjones/httpcache";
- rev = "787624de3eb7bd915c329cba748687a3b22666a6";
+ rev = "787624de3eb7";
sha256 = "1zqlg9pkj7r6fqw7wv3ywvbz3bh0hvzifs2scgcraj812q5189w5";
};
}
{
- goPackagePath = "github.com/grpc-ecosystem/go-grpc-prometheus";
+ goPackagePath = "github.com/grpc-ecosystem/go-grpc-prometheus";
fetch = {
type = "git";
url = "https://github.com/grpc-ecosystem/go-grpc-prometheus";
- rev = "0c1b191dbfe51efdabe3c14b9f6f3b96429e0722";
+ rev = "0c1b191dbfe5";
sha256 = "0d7vybd4yy9a9clk03578xdpyhifxsy3qv6iiglrrnblbmpgksjc";
};
}
{
- goPackagePath = "github.com/hashicorp/golang-lru";
+ goPackagePath = "github.com/hashicorp/golang-lru";
fetch = {
type = "git";
url = "https://github.com/hashicorp/golang-lru";
- rev = "a0d98a5f288019575c6d1f4bb1573fef2d1fcdc4";
- sha256 = "1z3h4aca31l3qs0inqr5l49vrlycpjm7vq1l9nh1mp0mb2ij0kmp";
+ rev = "v0.5.0";
+ sha256 = "12k2cp2k615fjvfa5hyb9k2alian77wivds8s65diwshwv41939f";
};
}
{
- goPackagePath = "github.com/huandu/xstrings";
+ goPackagePath = "github.com/huandu/xstrings";
fetch = {
type = "git";
url = "https://github.com/huandu/xstrings";
- rev = "3959339b333561bf62a38b424fd41517c2c90f40";
- sha256 = "0f1jyd80grpr88gwhljx2x0xgsyzw07807n4z4axxxlybh5f0nh1";
+ rev = "v1.2.0";
+ sha256 = "0bn1kac5vcspxdpx4bygr4gngdbk67pnbqc04b0f7a4ny25n10iq";
};
}
{
- goPackagePath = "github.com/imdario/mergo";
+ goPackagePath = "github.com/imdario/mergo";
fetch = {
type = "git";
url = "https://github.com/imdario/mergo";
- rev = "6633656539c1639d9d78127b7d47c622b5d7b6dc";
- sha256 = "1fffbq1l17i0gynmvcxypl7d9h4v81g5vlimiph5bfgf4sp4db7g";
+ rev = "v0.3.5";
+ sha256 = "1mvgn89vp39gcpvhiq4n7nw5ipj7fk6h03jgc6fjwgvwvss213pb";
};
}
{
- goPackagePath = "github.com/inconshreveable/mousetrap";
+ goPackagePath = "github.com/inconshreveable/mousetrap";
fetch = {
type = "git";
url = "https://github.com/inconshreveable/mousetrap";
- rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
+ rev = "v1.0.0";
sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
};
}
{
- goPackagePath = "github.com/json-iterator/go";
+ goPackagePath = "github.com/jmoiron/sqlx";
+ fetch = {
+ type = "git";
+ url = "https://github.com/jmoiron/sqlx";
+ rev = "v1.2.0";
+ sha256 = "0pmi2asx157f5738g19fzyxb9g8yyfbpjyh2a2ykr9mafvp60rfd";
+ };
+ }
+ {
+ goPackagePath = "github.com/json-iterator/go";
fetch = {
type = "git";
url = "https://github.com/json-iterator/go";
- rev = "f2b4162afba35581b6d4a50d3b8f34e33c144682";
- sha256 = "0siqfghsm2lkdwinvg8x5gls3p76rq3cdm59c1r4x0b2mdfhnvcd";
+ rev = "ab8a2e0c74be";
+ sha256 = "1x3wz44p1238gpyzkiiilvvrq9q8dwjdm9kdidq65yjq0zcn0sq4";
};
}
{
- goPackagePath = "github.com/mailru/easyjson";
+ goPackagePath = "github.com/julienschmidt/httprouter";
+ fetch = {
+ type = "git";
+ url = "https://github.com/julienschmidt/httprouter";
+ rev = "v1.2.0";
+ sha256 = "1k8bylc9s4vpvf5xhqh9h246dl1snxrzzz0614zz88cdh8yzs666";
+ };
+ }
+ {
+ goPackagePath = "github.com/kisielk/gotool";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kisielk/gotool";
+ rev = "v1.0.0";
+ sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
+ };
+ }
+ {
+ goPackagePath = "github.com/konsorten/go-windows-terminal-sequences";
+ fetch = {
+ type = "git";
+ url = "https://github.com/konsorten/go-windows-terminal-sequences";
+ rev = "v1.0.1";
+ sha256 = "1lchgf27n276vma6iyxa0v1xds68n2g8lih5lavqnx5x6q5pw2ip";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/logfmt";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/logfmt";
+ rev = "b84e30acd515";
+ sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9";
+ };
+ }
+ {
+ goPackagePath = "github.com/lib/pq";
+ fetch = {
+ type = "git";
+ url = "https://github.com/lib/pq";
+ rev = "v1.0.0";
+ sha256 = "1zqnnyczaf00xi6xh53vq758v5bdlf0iz7kf22l02cal4i6px47i";
+ };
+ }
+ {
+ goPackagePath = "github.com/liggitt/tabwriter";
+ fetch = {
+ type = "git";
+ url = "https://github.com/liggitt/tabwriter";
+ rev = "89fcab3d43de";
+ sha256 = "04q8d0jk1ymvy7pv1dgfbqzk8gcjfa77psg1lk30ghlisf54pakg";
+ };
+ }
+ {
+ goPackagePath = "github.com/mailru/easyjson";
fetch = {
type = "git";
url = "https://github.com/mailru/easyjson";
- rev = "2f5df55504ebc322e4d52d34df6a1f5b503bf26d";
- sha256 = "0d9m8kyhbawa452vnwn255xxnh6pkp3im0d2310rw1k14nh3yh1p";
+ rev = "60711f1a8329";
+ sha256 = "0234jp6134wkihdpdwq1hvzqblgl5khc1wp6dyi2h0hgh88bhdk1";
};
}
{
- goPackagePath = "github.com/mattn/go-runewidth";
+ goPackagePath = "github.com/mattn/go-isatty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-isatty";
+ rev = "v0.0.3";
+ sha256 = "06w45aqz2a6yrk25axbly2k5wmsccv8cspb94bfmz4izvw8h927n";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-runewidth";
fetch = {
type = "git";
url = "https://github.com/mattn/go-runewidth";
- rev = "d6bea18f789704b5f83375793155289da36a3c7f";
+ rev = "v0.0.1";
sha256 = "1hnigpn7rjbwd1ircxkyx9hvi0xmxr32b2jdy2jzw6b3jmcnz1fs";
};
}
{
- goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
+ goPackagePath = "github.com/mattn/go-sqlite3";
fetch = {
type = "git";
- url = "https://github.com/matttproud/golang_protobuf_extensions";
- rev = "fc2b8d3a73c4867e51861bbdd5ae3c1f0869dd6a";
- sha256 = "0ajg41h6402big484drvm72wvid1af2sffw0qkzbmpy04lq68ahj";
+ url = "https://github.com/mattn/go-sqlite3";
+ rev = "v1.9.0";
+ sha256 = "14vw8bwyaz9lrd1rqhfri5cwpimiimhp75pkbqxxsjsr5jz89s7m";
};
}
{
- goPackagePath = "github.com/mitchellh/go-wordwrap";
+ goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
+ fetch = {
+ type = "git";
+ url = "https://github.com/matttproud/golang_protobuf_extensions";
+ rev = "v1.0.1";
+ sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
+ };
+ }
+ {
+ goPackagePath = "github.com/mitchellh/go-wordwrap";
fetch = {
type = "git";
url = "https://github.com/mitchellh/go-wordwrap";
- rev = "ad45545899c7b13c020ea92b2072220eefad42b8";
+ rev = "ad45545899c7";
sha256 = "0ny1ddngvwfj3njn7pmqnf3l903lw73ynddw15x8ymp7hidv27v9";
};
}
{
- goPackagePath = "github.com/modern-go/concurrent";
+ goPackagePath = "github.com/modern-go/concurrent";
fetch = {
type = "git";
url = "https://github.com/modern-go/concurrent";
- rev = "bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94";
+ rev = "bacd9c7ef1dd";
sha256 = "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs";
};
}
{
- goPackagePath = "github.com/modern-go/reflect2";
+ goPackagePath = "github.com/modern-go/reflect2";
fetch = {
type = "git";
url = "https://github.com/modern-go/reflect2";
- rev = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd";
- sha256 = "1721y3yr3dpx5dx5ashf063qczk2awy5zjir1jvp1h5hn7qz4i49";
+ rev = "v1.0.1";
+ sha256 = "06a3sablw53n1dqqbr2f53jyksbxdmmk8axaas4yvnhyfi55k4lf";
};
}
{
- goPackagePath = "github.com/opencontainers/go-digest";
+ goPackagePath = "github.com/mwitkow/go-conntrack";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mwitkow/go-conntrack";
+ rev = "cc309e4a2223";
+ sha256 = "0nbrnpk7bkmqg9mzwsxlm0y8m7s9qd9phr1q30qlx2qmdmz7c1mf";
+ };
+ }
+ {
+ goPackagePath = "github.com/opencontainers/go-digest";
fetch = {
type = "git";
url = "https://github.com/opencontainers/go-digest";
- rev = "a6d0ee40d4207ea02364bd3b9e8e77b9159ba1eb";
+ rev = "a6d0ee40d420";
sha256 = "1paz3na2xkhi10p5bk7f7gbh5yykfgr9f9i2gcc13rb461yq6fmg";
};
}
{
- goPackagePath = "github.com/opencontainers/image-spec";
+ goPackagePath = "github.com/orivej/e";
fetch = {
type = "git";
- url = "https://github.com/opencontainers/image-spec";
- rev = "372ad780f63454fbbbbcc7cf80e5b90245c13e13";
- sha256 = "0wajddbm49bfybkab9midilg18zvdvvsffwhkq7bpp7inj4jnsvs";
+ url = "https://github.com/orivej/e";
+ rev = "ac3492690fda";
+ sha256 = "11jizr28kfkr6zscjxg95pqi6cjp08aqnhs41sdhc98nww78ilkr";
};
}
{
- goPackagePath = "github.com/petar/GoLLRB";
+ goPackagePath = "github.com/orivej/go-nix";
fetch = {
type = "git";
- url = "https://github.com/petar/GoLLRB";
- rev = "53be0d36a84c2a886ca057d34b6aa4468df9ccb4";
- sha256 = "01xp3lcamqkvl91jg6ly202gdsgf64j39rkrcqxi6v4pbrcv7hz0";
+ url = "https://github.com/orivej/go-nix";
+ rev = "dae45d921a44";
+ sha256 = "17hfmsz8hs3h2d5c06j1bvbw8ijrhzm3iz911z5zydsl4x7y0cgy";
};
}
{
- goPackagePath = "github.com/peterbourgon/diskv";
+ goPackagePath = "github.com/peterbourgon/diskv";
fetch = {
type = "git";
url = "https://github.com/peterbourgon/diskv";
- rev = "5f041e8faa004a95c88a202771f4cc3e991971e6";
+ rev = "v2.0.1";
sha256 = "1mxpa5aad08x30qcbffzk80g9540wvbca4blc1r2qyzl65b8929b";
};
}
{
- goPackagePath = "github.com/pkg/errors";
+ goPackagePath = "github.com/pkg/errors";
fetch = {
type = "git";
url = "https://github.com/pkg/errors";
- rev = "645ef00459ed84a119197bfb8d8205042c6df63d";
+ rev = "v0.8.0";
sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
};
}
{
- goPackagePath = "github.com/pmezard/go-difflib";
+ goPackagePath = "github.com/pkg/profile";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pkg/profile";
+ rev = "v1.2.1";
+ sha256 = "0blqmvgqvdbqmh3fp9pfdxc9w1qfshrr0zy9whj0sn372bw64qnr";
+ };
+ }
+ {
+ goPackagePath = "github.com/pmezard/go-difflib";
fetch = {
type = "git";
url = "https://github.com/pmezard/go-difflib";
- rev = "d8ed2627bdf02c080bf22230dbb337003b7aba2d";
- sha256 = "0w1jp4k4zbnrxh3jvh8fgbjgqpf2hg31pbj8fb32kh26px9ldpbs";
+ rev = "v1.0.0";
+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
};
}
{
- goPackagePath = "github.com/prometheus/client_golang";
+ goPackagePath = "github.com/prometheus/client_golang";
fetch = {
type = "git";
url = "https://github.com/prometheus/client_golang";
- rev = "c5b7fccd204277076155f10851dad72b76a49317";
- sha256 = "1xqny3147g12n4j03kxm8s9mvdbs3ln6i56c655mybrn9jjy48kd";
+ rev = "v0.9.2";
+ sha256 = "02b4yg6rfag0m3j0i39sillcm5xczwv8h133vn12yr8qw04cnigs";
};
}
{
- goPackagePath = "github.com/prometheus/client_model";
+ goPackagePath = "github.com/prometheus/client_model";
fetch = {
type = "git";
url = "https://github.com/prometheus/client_model";
- rev = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6";
- sha256 = "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9";
+ rev = "5c3871d89910";
+ sha256 = "04psf81l9fjcwascsys428v03fx4fi894h7fhrj2vvcz723q57k0";
};
}
{
- goPackagePath = "github.com/prometheus/common";
+ goPackagePath = "github.com/prometheus/common";
fetch = {
type = "git";
url = "https://github.com/prometheus/common";
- rev = "13ba4ddd0caa9c28ca7b7bffe1dfa9ed8d5ef207";
- sha256 = "0i6mpcnsawi7f00rfmjfjq8llaplyzq4xrkrawlcgfd762p5hnp8";
+ rev = "v0.2.0";
+ sha256 = "02kym6lcfnlq23qbv277jr0q1n7jj0r14gqg93c7wn7gc44jv3vp";
};
}
{
- goPackagePath = "github.com/prometheus/procfs";
+ goPackagePath = "github.com/prometheus/procfs";
fetch = {
type = "git";
url = "https://github.com/prometheus/procfs";
- rev = "65c1f6f8f0fc1e2185eb9863a3bc751496404259";
- sha256 = "0jfzmr8642hr04naim1maa3wklxvcxklykri2z7k4ayizc974lkq";
+ rev = "1dc9a6cbc91a";
+ sha256 = "1zlv1x30xp7z5c3vn5vp870v4bjim0zcidzc3mr2l3xhazc0svab";
};
}
{
- goPackagePath = "github.com/russross/blackfriday";
+ goPackagePath = "github.com/rubenv/sql-migrate";
+ fetch = {
+ type = "git";
+ url = "https://github.com/rubenv/sql-migrate";
+ rev = "1007f53448d7";
+ sha256 = "1cd7wpgym7yzzv4n7bsmg9gh1g7mqlljih3881arqlq11083d3mc";
+ };
+ }
+ {
+ goPackagePath = "github.com/russross/blackfriday";
fetch = {
type = "git";
url = "https://github.com/russross/blackfriday";
- rev = "300106c228d52c8941d4b3de6054a6062a86dda3";
+ rev = "300106c228d5";
sha256 = "1bcqwb9lk2sijn5q3kqp7sadhh0ysbxlj5bxjspk9yp5bp733cbh";
};
}
{
- goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
+ goPackagePath = "github.com/sergi/go-diff";
+ fetch = {
+ type = "git";
+ url = "https://github.com/sergi/go-diff";
+ rev = "v1.0.0";
+ sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
+ };
+ }
+ {
+ goPackagePath = "github.com/shurcooL/sanitized_anchor_name";
fetch = {
type = "git";
url = "https://github.com/shurcooL/sanitized_anchor_name";
- rev = "10ef21a441db47d8b13ebcc5fd2310f636973c77";
+ rev = "10ef21a441db";
sha256 = "1cnbzcf47cn796rcjpph1s64qrabhkv5dn9sbynsy7m9zdwr5f01";
};
}
{
- goPackagePath = "github.com/sirupsen/logrus";
+ goPackagePath = "github.com/sirupsen/logrus";
fetch = {
type = "git";
url = "https://github.com/sirupsen/logrus";
- rev = "89742aefa4b206dcf400792f3bd35b542998eb3b";
- sha256 = "0hk7fabx59msg2y0iik6xvfp80s73ybrwlcshbm9ds91iqbkcxi6";
+ rev = "v1.2.0";
+ sha256 = "0r6334x2bls8ddznvzaldx4g88msjjns4mlks95rqrrg7h0ijigg";
};
}
{
- goPackagePath = "github.com/spf13/cobra";
+ goPackagePath = "github.com/spf13/cobra";
fetch = {
type = "git";
url = "https://github.com/spf13/cobra";
- rev = "c439c4fa093711d42e1b01acb1235b52004753c1";
- sha256 = "14v5vhb180yzaknxnm8j4n9jai58b0y2nzrqzpdq7bj9slsga1vd";
+ rev = "fe5e611709b0";
+ sha256 = "1pn7g9jmhqc9yg6x02dgp4phiggnnxz8a11pv5y4vxhrvkjm6h71";
};
}
{
- goPackagePath = "github.com/spf13/pflag";
+ goPackagePath = "github.com/spf13/pflag";
fetch = {
type = "git";
url = "https://github.com/spf13/pflag";
- rev = "583c0c0531f06d5278b7d917446061adc344b5cd";
- sha256 = "0nr4mdpfhhk94hq4ymn5b2sxc47b29p1akxd8b0hx4dvdybmipb5";
+ rev = "v1.0.3";
+ sha256 = "1cj3cjm7d3zk0mf1xdybh0jywkbbw7a6yr3y22x9sis31scprswd";
};
}
{
- goPackagePath = "github.com/stretchr/testify";
+ goPackagePath = "github.com/stretchr/objx";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/objx";
+ rev = "v0.1.1";
+ sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/testify";
fetch = {
type = "git";
url = "https://github.com/stretchr/testify";
- rev = "e3a8ff8ce36581f87a15341206f205b1da467059";
- sha256 = "179k26lcgafkbjylbhgj2f5pnh52bmv19rr1w95gca944blw8yga";
+ rev = "v1.2.2";
+ sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
};
}
{
- goPackagePath = "github.com/technosophos/moniker";
+ goPackagePath = "github.com/technosophos/moniker";
fetch = {
type = "git";
url = "https://github.com/technosophos/moniker";
- rev = "a5dbd03a2245d554160e3ae6bfdcf969fe58b431";
+ rev = "a5dbd03a2245";
sha256 = "1z273gvbwr09lcxwd10wyvxmxjln93r952sr1w9hqxcgc1f8l3vl";
};
}
{
- goPackagePath = "golang.org/x/crypto";
+ goPackagePath = "golang.org/x/crypto";
fetch = {
type = "git";
url = "https://go.googlesource.com/crypto";
- rev = "49796115aa4b964c318aad4f3084fdb41e9aa067";
- sha256 = "0pcq2drkzsw585xi6rda8imd7a139prrmvgmv8nz0zgzk6g4dy59";
+ rev = "0709b304e793";
+ sha256 = "0i05s09y5pavmfh71fgih7syxg58x7a4krgd8am6d3mnahnmab5c";
};
}
{
- goPackagePath = "golang.org/x/net";
+ goPackagePath = "golang.org/x/lint";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/lint";
+ rev = "c67002cb31c3";
+ sha256 = "0gymbggskjmphqxqcx4s0vnlcz7mygbix0vhwcwv5r67c0bf6765";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/net";
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
- rev = "1c05540f6879653db88113bc4a2b70aec4bd491f";
- sha256 = "0h8yqb0vcqgllgydrf9d3rzp83w8wlr8f0nm6r1rwf2qg30pq1pd";
+ rev = "65e2d4e15006";
+ sha256 = "0aqcmh0sp723d6hwgrv7pnrs4crns2ngr4x43jd4v985cbn455x7";
};
}
{
- goPackagePath = "golang.org/x/oauth2";
+ goPackagePath = "golang.org/x/oauth2";
fetch = {
type = "git";
url = "https://go.googlesource.com/oauth2";
- rev = "a6bd8cefa1811bd24b86f8902872e4e8225f74c4";
- sha256 = "151in8qcf5y97ziavl6b03vgw4r87zqx5kg4vjhjszjbh60cfswp";
+ rev = "d2e6202438be";
+ sha256 = "0wbn75fd10485nb93bm4kqldqifdim5xqy4v7r5sdvimvf3fyhn7";
};
}
{
- goPackagePath = "golang.org/x/sys";
+ goPackagePath = "golang.org/x/sync";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sync";
+ rev = "42b317875d0f";
+ sha256 = "0mrjhk7al7yyh76x9flvxy4jm5jyqh2fxbxagpaazxn1xdgkaif3";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
fetch = {
type = "git";
url = "https://go.googlesource.com/sys";
- rev = "43eea11bc92608addb41b8a406b0407495c106f6";
- sha256 = "0k9wy278f5753d130p8asva2g573vi6wviwkxwwnpxni118knq1l";
+ rev = "b90733256f2e";
+ sha256 = "1dsqa48ai4rrqf0sxypnmjg5c6sbp63mj5ljr7qadam06r5m2q98";
};
}
{
- goPackagePath = "golang.org/x/text";
+ goPackagePath = "golang.org/x/text";
fetch = {
type = "git";
url = "https://go.googlesource.com/text";
- rev = "b19bf474d317b857955b12035d2c5acb57ce8b01";
- sha256 = "0wc8csaafp0ps9jb2hdk8d6xpyw1axhk1np73h0z17x09zk3ylcr";
+ rev = "v0.3.0";
+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
};
}
{
- goPackagePath = "golang.org/x/time";
+ goPackagePath = "golang.org/x/time";
fetch = {
type = "git";
url = "https://go.googlesource.com/time";
- rev = "f51c12702a4d776e4c1fa9b0fabab841babae631";
+ rev = "f51c12702a4d";
sha256 = "07wc6g2fvafkr6djsscm0jpbpl4135khhb6kpyx1953hi5d1jvyy";
};
}
{
- goPackagePath = "google.golang.org/appengine";
+ goPackagePath = "golang.org/x/tools";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/tools";
+ rev = "6cd1fcedba52";
+ sha256 = "00hl0vkmy8impsnmc2dmm55sdhia95k0kqcrjbdpynryn1lamn5d";
+ };
+ }
+ {
+ goPackagePath = "google.golang.org/appengine";
fetch = {
type = "git";
url = "https://github.com/golang/appengine";
- rev = "12d5545dc1cfa6047a286d5e853841b6471f4c19";
- sha256 = "1bv6cjakhi6j3s1bqb3n45qrmvf20qkhwxllvi94jag4i7hd91w8";
+ rev = "v1.1.0";
+ sha256 = "1pz202zszg8f35dk5pfhwgcdi3r6dx1l4yk6x6ly7nb4j45zi96x";
};
}
{
- goPackagePath = "google.golang.org/genproto";
+ goPackagePath = "google.golang.org/genproto";
fetch = {
type = "git";
url = "https://github.com/google/go-genproto";
- rev = "09f6ed296fc66555a25fe4ce95173148778dfa85";
- sha256 = "06x5wr7vjsnvv35rpv7jaklilksqbzsbqk8bxababw8vr6avfwki";
+ rev = "c66870c02cf8";
+ sha256 = "0siq7sv68556ygqi2d2zmvx8l1xjqdc0fylqzci5h1mq2i14bayn";
};
}
{
- goPackagePath = "google.golang.org/grpc";
+ goPackagePath = "google.golang.org/grpc";
fetch = {
type = "git";
url = "https://github.com/grpc/grpc-go";
- rev = "5ffe3083946d5603a0578721101dc8165b1d5b5f";
- sha256 = "1ij3sy49xfihwpcpiwd68mlfkrk375kdh6r6jlqka18zalxgpaan";
+ rev = "v1.18.0";
+ sha256 = "17drwyj3fi5sdz5ndlj7888b3gin6brs3jnh7gh6i15k97l6gf4n";
};
}
{
- goPackagePath = "gopkg.in/inf.v0";
+ goPackagePath = "gopkg.in/alecthomas/kingpin.v2";
fetch = {
type = "git";
- url = "https://github.com/go-inf/inf";
- rev = "3887ee99ecf07df5b447e9b00d9c0b2adaa9f3e4";
+ url = "https://gopkg.in/alecthomas/kingpin.v2";
+ rev = "v2.2.6";
+ sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/check.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/check.v1";
+ rev = "20d25e280405";
+ sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/gorp.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/gorp.v1";
+ rev = "v1.7.2";
+ sha256 = "0zwkq4cv71vp7cmpfcs54908g1amr0cdxv1b8h1icf64jjawb1lb";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/inf.v0";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/inf.v0";
+ rev = "v0.9.0";
sha256 = "0rf3vwyb8aqnac9x9d6ax7z5526c45a16yjm2pvkijr6qgqz8b82";
};
}
{
- goPackagePath = "gopkg.in/square/go-jose.v2";
+ goPackagePath = "gopkg.in/square/go-jose.v2";
fetch = {
type = "git";
- url = "https://github.com/square/go-jose";
- rev = "f8f38de21b4dcd69d0413faf231983f5fd6634b1";
- sha256 = "1bjrs3xq3m2ckfds0l4wqf81311ymm9agipmkllbvkadac156dsa";
+ url = "https://gopkg.in/square/go-jose.v2";
+ rev = "89060dee6a84";
+ sha256 = "04ak01zs9qibr6qvc6l0zdjj9pgccpbvxz6rdwrqv698i1q3qfpd";
};
}
{
- goPackagePath = "gopkg.in/yaml.v2";
+ goPackagePath = "gopkg.in/yaml.v2";
fetch = {
type = "git";
- url = "https://github.com/go-yaml/yaml";
- rev = "670d4cfef0544295bc27a114dbac37980d83185a";
- sha256 = "182x97q4826cpzybkrl8icyx1n6l1z0kspmbz33fh901v10b6322";
+ url = "https://gopkg.in/yaml.v2";
+ rev = "v2.2.1";
+ sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
};
}
{
- goPackagePath = "k8s.io/api";
+ goPackagePath = "honnef.co/go/tools";
+ fetch = {
+ type = "git";
+ url = "https://github.com/dominikh/go-tools";
+ rev = "88497007e858";
+ sha256 = "0rinkyx3r2bq45mgcasnn5jb07cwbv3p3s2wwcrzxsarsj6wa5lc";
+ };
+ }
+ {
+ goPackagePath = "k8s.io/api";
fetch = {
type = "git";
url = "https://github.com/kubernetes/api";
- rev = "2d6f90ab1293a1fb871cf149423ebb72aa7423aa";
- sha256 = "1cwrwdm104xd3608b1a5mw6a19w45532p647xdwnyn62rw2f08jx";
+ rev = "6e4e0e4f393b";
+ sha256 = "0y7nxxywq2qx74a5vsg0h2jkfj879wbv6bjran12401fv0vsdlp1";
};
}
{
- goPackagePath = "k8s.io/apiextensions-apiserver";
+ goPackagePath = "k8s.io/apiextensions-apiserver";
fetch = {
type = "git";
url = "https://github.com/kubernetes/apiextensions-apiserver";
- rev = "898b0eda132e1aeac43a459785144ee4bf9b0a2e";
- sha256 = "1zn4i4wfmk3y36n6mqcidgsp4aqzwy5w9749zjl2bfbwzpk81bcp";
+ rev = "727a075fdec8";
+ sha256 = "1p8bdl299hrmkq2hfh7sqhsv7c3ig1i0jy8mcgq0hqjix94a87cj";
};
}
{
- goPackagePath = "k8s.io/apimachinery";
+ goPackagePath = "k8s.io/apimachinery";
fetch = {
type = "git";
url = "https://github.com/kubernetes/apimachinery";
- rev = "103fd098999dc9c0c88536f5c9ad2e5da39373ae";
- sha256 = "04navnpm59d75dhlz07rmay7m2izrf4m0i9xklxzqg7mlk9g20jc";
+ rev = "6a84e37a896d";
+ sha256 = "1ys06ixidvpcj9sgk0c2i5vsz11gg3h8xcpc9kqxfsik36cw1akk";
};
}
{
- goPackagePath = "k8s.io/apiserver";
+ goPackagePath = "k8s.io/apiserver";
fetch = {
type = "git";
url = "https://github.com/kubernetes/apiserver";
- rev = "8b122ec9e3bbab91a262d17a39325e69349dc44d";
- sha256 = "0qfxjypa10s16sll2a75kn2ddjddr2xsa5rsiaxar3gs5pqvq1h5";
+ rev = "1ec86e4da56c";
+ sha256 = "0my2r4ynbxgpbbrjgcrdrqazhhn2jwk8jkk8ymjks28gzs2i510s";
};
}
{
- goPackagePath = "k8s.io/client-go";
+ goPackagePath = "k8s.io/cli-runtime";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kubernetes/cli-runtime";
+ rev = "d644b00f3b79";
+ sha256 = "1zcmfpyp6m9xl8dia56yb00ixra3ag5d43v2f5zlnrwphq967a8p";
+ };
+ }
+ {
+ goPackagePath = "k8s.io/client-go";
fetch = {
type = "git";
url = "https://github.com/kubernetes/client-go";
- rev = "59698c7d9724b0f95f9dc9e7f7dfdcc3dfeceb82";
- sha256 = "0f069d1msdb2x4yvwv0wa3hzanl97csg4hsp1pycxpnqck6qx6qh";
+ rev = "1a26190bd76a";
+ sha256 = "1b77zf0sip2cilkr40b2jm1kk71212s4clmbs2xl57b4n945yy1d";
};
}
{
- goPackagePath = "k8s.io/kube-openapi";
+ goPackagePath = "k8s.io/cloud-provider";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kubernetes/cloud-provider";
+ rev = "9c9d72d1bf90";
+ sha256 = "15iwal7nn1b7jwrvrhlzvdnf0381lccpw3jrlww8sfmxqsp860in";
+ };
+ }
+ {
+ goPackagePath = "k8s.io/klog";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kubernetes/klog";
+ rev = "8e90cee79f82";
+ sha256 = "1hzy767dj0ya111al54k3g9xa40bsy7j81fi0sh7gyl1azw0h8dk";
+ };
+ }
+ {
+ goPackagePath = "k8s.io/kube-openapi";
fetch = {
type = "git";
url = "https://github.com/kubernetes/kube-openapi";
- rev = "91cfa479c814065e420cee7ed227db0f63a5854e";
- sha256 = "0l9yvc7gfa8i4snpv1d13vy03dplzp2jh47rqr3fhiihcz2wx4s7";
+ rev = "b3a7cee44a30";
+ sha256 = "1ald0jjliln5ipdniwfcrm4yal9aa4jr07d3ljrhhh2fj72c6dsp";
};
}
{
- goPackagePath = "k8s.io/kubernetes";
+ goPackagePath = "k8s.io/kubernetes";
fetch = {
type = "git";
url = "https://github.com/kubernetes/kubernetes";
- rev = "2e809eed16445fff9dcbfc56e9936cf76ccbdadc";
- sha256 = "13fzcbjfc5c35gy66nbn1ms63b8bj3g8z7wja0p8dd3yj9lcj68h";
+ rev = "v1.14.1";
+ sha256 = "0s06x9jk9b6r0i39nl0bmvwjgdp3qikgfbw5cnzi5mv03hc2li8s";
};
}
{
- goPackagePath = "k8s.io/utils";
+ goPackagePath = "k8s.io/utils";
fetch = {
type = "git";
url = "https://github.com/kubernetes/utils";
- rev = "258e2a2fa64568210fbd6267cf1d8fd87c3cb86e";
- sha256 = "1mbw3q03sflrdgj6l7q3frqzb5f78n0m0gzjm228sy1wnm4c3760";
+ rev = "c2654d5206da";
+ sha256 = "1849p8xhiyk53mpg3mwpsmsm5ps5sa2p54bv7b38m415qxsn2d1x";
};
}
{
- goPackagePath = "vbom.ml/util";
+ goPackagePath = "sigs.k8s.io/kustomize";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kubernetes-sigs/kustomize";
+ rev = "v2.0.3";
+ sha256 = "1dfkpx9rllj1bzm5f52bx404kdds3zx1h38yqri9ha3p3pcb1bbb";
+ };
+ }
+ {
+ goPackagePath = "sigs.k8s.io/yaml";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kubernetes-sigs/yaml";
+ rev = "v1.1.0";
+ sha256 = "1p7hvjdr5jsyk7nys1g1pmgnf3ys6n320i6hds85afppk81k01kb";
+ };
+ }
+ {
+ goPackagePath = "vbom.ml/util";
fetch = {
type = "git";
url = "https://github.com/fvbommel/util";
- rev = "db5cfe13f5cc80a4990d98e2e1b0707a4d1a5394";
+ rev = "db5cfe13f5cc";
sha256 = "1k9c3ihhkrcmhd26pwd62mp2ll7icr2q65i5pkymnfnhhv40p682";
};
}
diff --git a/pkgs/applications/networking/cluster/helmfile/default.nix b/pkgs/applications/networking/cluster/helmfile/default.nix
index 6116a9b66da..1faa0988a66 100644
--- a/pkgs/applications/networking/cluster/helmfile/default.nix
+++ b/pkgs/applications/networking/cluster/helmfile/default.nix
@@ -1,21 +1,22 @@
-{ lib, buildGoPackage, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
+{ lib, buildGoModule, fetchFromGitHub, makeWrapper, kubernetes-helm, ... }:
-let version = "0.64.1"; in
+let version = "0.79.3"; in
-buildGoPackage {
- name = "helmfile-${version}";
+buildGoModule {
+ pname = "helmfile";
+ inherit version;
src = fetchFromGitHub {
owner = "roboll";
repo = "helmfile";
rev = "v${version}";
- sha256 = "1258c545fv4mcrzaw3z5gxl264fcahigaijgkjd4igh4pl0z0wxk";
+ sha256 = "0wgfpidpqyvh41dnw351v91z4szi1s6lqak9li2pmddz1rdkx66v";
};
- goDeps = ./deps.nix;
-
goPackagePath = "github.com/roboll/helmfile";
+ modSha256 = "1ksz1c4j7mhsbq6ifqab04588d48c9glyhr4d3d4jyvi19qhwx1d";
+
nativeBuildInputs = [ makeWrapper ];
buildFlagsArray = ''
@@ -24,7 +25,7 @@ buildGoPackage {
'';
postInstall = ''
- wrapProgram $bin/bin/helmfile \
+ wrapProgram $out/bin/helmfile \
--prefix PATH : ${lib.makeBinPath [ kubernetes-helm ]}
'';
diff --git a/pkgs/applications/networking/cluster/helmfile/deps.nix b/pkgs/applications/networking/cluster/helmfile/deps.nix
deleted file mode 100644
index 77b19aef250..00000000000
--- a/pkgs/applications/networking/cluster/helmfile/deps.nix
+++ /dev/null
@@ -1,165 +0,0 @@
-# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
-[
- {
- goPackagePath = "github.com/Masterminds/semver";
- fetch = {
- type = "git";
- url = "https://github.com/Masterminds/semver";
- rev = "v1.4.1";
- sha256 = "1sr9nxvasy2mw00al3i7yp3wdz2q21wp3l1n1nydvmyf27ibg3bj";
- };
- }
- {
- goPackagePath = "github.com/Masterminds/sprig";
- fetch = {
- type = "git";
- url = "https://github.com/Masterminds/sprig";
- rev = "v2.15.0";
- sha256 = "10vzhx710vaxqzh45vrkw4vc3fgcbycpn04shcylzcmlxmfnpjv1";
- };
- }
- {
- goPackagePath = "github.com/aokoli/goutils";
- fetch = {
- type = "git";
- url = "https://github.com/aokoli/goutils";
- rev = "v1.0.1";
- sha256 = "1yj4yjfwylica31sgj69ygb04p9xxi22kgfxd0j5f58zr8vwww2n";
- };
- }
- {
- goPackagePath = "github.com/google/go-cmp";
- fetch = {
- type = "git";
- url = "https://github.com/google/go-cmp";
- rev = "v0.3.0";
- sha256 = "1hyxx3434zshl2m9ja78gwlkg1rx9yl6diqa7dnjb31xz5x4gbjj";
- };
- }
- {
- goPackagePath = "github.com/google/uuid";
- fetch = {
- type = "git";
- url = "https://github.com/google/uuid";
- rev = "064e2069ce9c";
- sha256 = "1b1ibx3rbiv7xwa9kz4b4zpp1fza5cjnn8v6749b4vrkjjmp3rqb";
- };
- }
- {
- goPackagePath = "github.com/huandu/xstrings";
- fetch = {
- type = "git";
- url = "https://github.com/huandu/xstrings";
- rev = "v1.0.0";
- sha256 = "0bnyh4awmr9aagqhhi19xdadzksrkl01d987ycqx86dwlvqqxnxf";
- };
- }
- {
- goPackagePath = "github.com/imdario/mergo";
- fetch = {
- type = "git";
- url = "https://github.com/imdario/mergo";
- rev = "v0.3.6";
- sha256 = "1lbzy8p8wv439sqgf0n21q52flf2wbamp6qa1jkyv6an0nc952q7";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-runewidth";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-runewidth";
- rev = "v0.0.4";
- sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
- };
- }
- {
- goPackagePath = "github.com/pkg/errors";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/errors";
- rev = "v0.8.1";
- sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
- };
- }
- {
- goPackagePath = "github.com/tatsushid/go-prettytable";
- fetch = {
- type = "git";
- url = "https://github.com/tatsushid/go-prettytable";
- rev = "ed2d14c29939";
- sha256 = "01l2v8vfv9ng0g9p0ys5szkqpc0f9baglkavn7yxkif05kdqi0ik";
- };
- }
- {
- goPackagePath = "github.com/urfave/cli";
- fetch = {
- type = "git";
- url = "https://github.com/urfave/cli";
- rev = "6011f165dc28";
- sha256 = "159q8lwf40jaxbm7cybzsws176k0wsdcaaj2rx0wdw4m6xha8034";
- };
- }
- {
- goPackagePath = "go.uber.org/atomic";
- fetch = {
- type = "git";
- url = "https://github.com/uber-go/atomic";
- rev = "v1.3.2";
- sha256 = "11pzvjys5ddjjgrv94pgk9pnip9yyb54z7idf33zk7p7xylpnsv6";
- };
- }
- {
- goPackagePath = "go.uber.org/multierr";
- fetch = {
- type = "git";
- url = "https://github.com/uber-go/multierr";
- rev = "v1.1.0";
- sha256 = "1slfc6syvw8cvr6rbrjsy6ja5w8gsx0f8aq8qm16rp2x5c2pj07w";
- };
- }
- {
- goPackagePath = "go.uber.org/zap";
- fetch = {
- type = "git";
- url = "https://github.com/uber-go/zap";
- rev = "v1.8.0";
- sha256 = "0i9pfm5br4qq94ys1y5sr8h31bbq1xwcaxibx7g2n5n1bcbqviam";
- };
- }
- {
- goPackagePath = "golang.org/x/crypto";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/crypto";
- rev = "b2aa35443fbc";
- sha256 = "05qaicps075s77020q1vjihi5k7jbgr85ry0br9lj3jynwnrgyyg";
- };
- }
- {
- goPackagePath = "gopkg.in/check.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/check.v1";
- rev = "20d25e280405";
- sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
- };
- }
- {
- goPackagePath = "gopkg.in/yaml.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/yaml.v2";
- rev = "v2.2.1";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
- };
- }
- {
- goPackagePath = "gotest.tools";
- fetch = {
- type = "git";
- url = "https://github.com/gotestyourself/gotest.tools";
- rev = "v2.2.0";
- sha256 = "0yif3gdyckmf8i54jq0xn00kflla5rhib9sarw66ngnbl7bn9kyl";
- };
- }
-]
diff --git a/pkgs/applications/networking/cluster/heptio-ark/default.nix b/pkgs/applications/networking/cluster/heptio-ark/default.nix
index cd0ef728f83..b9413577b10 100644
--- a/pkgs/applications/networking/cluster/heptio-ark/default.nix
+++ b/pkgs/applications/networking/cluster/heptio-ark/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "heptio-ark-${version}";
+ pname = "heptio-ark";
version = "0.10.0";
goPackagePath = "github.com/heptio/ark";
diff --git a/pkgs/applications/networking/cluster/hetzner-kube/default.nix b/pkgs/applications/networking/cluster/hetzner-kube/default.nix
index 5eaf1d13d61..4de0c3fbd7b 100644
--- a/pkgs/applications/networking/cluster/hetzner-kube/default.nix
+++ b/pkgs/applications/networking/cluster/hetzner-kube/default.nix
@@ -1,13 +1,13 @@
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
- name = "hetzner-kube-${version}";
+ pname = "hetzner-kube";
version = "0.4.1";
src = fetchFromGitHub {
owner = "xetys";
repo = "hetzner-kube";
- rev = "${version}";
+ rev = version;
sha256 = "11202i3340vaz8xh59gwj5x0djcgbzq9jfy2214lcpml71qc85f0";
};
diff --git a/pkgs/applications/networking/cluster/k9s/default.nix b/pkgs/applications/networking/cluster/k9s/default.nix
new file mode 100644
index 00000000000..5c0adbdc548
--- /dev/null
+++ b/pkgs/applications/networking/cluster/k9s/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "k9s";
+ version = "0.7.13";
+
+ src = fetchFromGitHub {
+ owner = "derailed";
+ repo = "k9s";
+ rev = version;
+ sha256 = "0wsj6wc2qi5708cg47l2qblq1cg8fcwxdygpkayib9hapx6lc6f8";
+ };
+
+ modSha256 = "1ia9wx6yd9mdr981lcw58xv39iqzz25r03bmn1c6byxmq2xpcjq8";
+
+
+ meta = with stdenv.lib; {
+ description = "Kubernetes CLI To Manage Your Clusters In Style.";
+ homepage = https://github.com/derailed/k9s;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ Gonzih ];
+ };
+}
diff --git a/pkgs/applications/networking/cluster/kanif/default.nix b/pkgs/applications/networking/cluster/kanif/default.nix
index 6274168b3da..52abc318990 100644
--- a/pkgs/applications/networking/cluster/kanif/default.nix
+++ b/pkgs/applications/networking/cluster/kanif/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "1.2.2";
- name = "kanif-${version}";
+ pname = "kanif";
src = fetchurl {
- url = "https://gforge.inria.fr/frs/download.php/26773/${name}.tar.gz";
+ url = "https://gforge.inria.fr/frs/download.php/26773/${pname}-${version}.tar.gz";
sha256 = "3f0c549428dfe88457c1db293cfac2a22b203f872904c3abf372651ac12e5879";
};
diff --git a/pkgs/applications/networking/cluster/kompose/default.nix b/pkgs/applications/networking/cluster/kompose/default.nix
index 19194c2d087..1a14e1ed273 100644
--- a/pkgs/applications/networking/cluster/kompose/default.nix
+++ b/pkgs/applications/networking/cluster/kompose/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "kompose-${version}";
+ pname = "kompose";
version = "1.18.0";
goPackagePath = "github.com/kubernetes/kompose";
diff --git a/pkgs/applications/networking/cluster/kontemplate/default.nix b/pkgs/applications/networking/cluster/kontemplate/default.nix
index 1e03efddc06..359b289dbbc 100644
--- a/pkgs/applications/networking/cluster/kontemplate/default.nix
+++ b/pkgs/applications/networking/cluster/kontemplate/default.nix
@@ -1,8 +1,8 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "kontemplate-${version}";
- version = "1.7.0";
+ pname = "kontemplate";
+ version = "1.8.0";
goPackagePath = "github.com/tazjin/kontemplate";
goDeps = ./deps.nix;
@@ -10,7 +10,7 @@ buildGoPackage rec {
owner = "tazjin";
repo = "kontemplate";
rev = "v${version}";
- sha256 = "0vzircajhrfq1nykwpl52cqgzyhy51w4ff7ldpgi95w3a4fz1hzz";
+ sha256 = "123mjmmm4hynraq1fpn3j5i0a1i87l265kkjraxxxbl0zacv74i1";
};
meta = with lib; {
diff --git a/pkgs/applications/networking/cluster/kontemplate/deps.nix b/pkgs/applications/networking/cluster/kontemplate/deps.nix
index f0a52f5266e..7693968bd55 100644
--- a/pkgs/applications/networking/cluster/kontemplate/deps.nix
+++ b/pkgs/applications/networking/cluster/kontemplate/deps.nix
@@ -1,111 +1,111 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
+# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
[
+ {
+ goPackagePath = "github.com/Masterminds/goutils";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Masterminds/goutils";
+ rev = "41ac8693c5c10a92ea1ff5ac3a7f95646f6123b0";
+ sha256 = "180px47gj936qyk5bkv5mbbgiil9abdjq6kwkf7sq70vyi9mcfiq";
+ };
+ }
{
goPackagePath = "github.com/Masterminds/semver";
fetch = {
- type = "git";
- url = "https://github.com/Masterminds/semver";
- rev = "c84ddcca87bf5a941b138dde832a7e20b0159ad8";
- sha256 = "1dcfdr018a0yszjpvr3wshvq9cc3kvy95l55si556p617wsn1wan";
+ type = "git";
+ url = "https://github.com/Masterminds/semver";
+ rev = "5bc3b9184d48f1412b300b87a200cf020d9254cf";
+ sha256 = "1vdfm653v50jf63cw0kg2hslx50cn4mk6lj3p51bi11jrg48kfng";
};
}
{
goPackagePath = "github.com/Masterminds/sprig";
fetch = {
- type = "git";
- url = "https://github.com/Masterminds/sprig";
- rev = "77bb58b7f5e10889a1195c21b9e7a96ee166f199";
- sha256 = "0q4g12f3nvda1skz33qzbbdd2vj3gjfwf361hyzlx20s71brk3bk";
+ type = "git";
+ url = "https://github.com/Masterminds/sprig";
+ rev = "6f509977777c33eae63b2136d97f7b976cb971cc";
+ sha256 = "05h9k6fhjxnpwlihj3z02q9kvqvnq53jix0ab84sx0666bci3cdh";
};
}
{
goPackagePath = "github.com/alecthomas/template";
fetch = {
- type = "git";
- url = "https://github.com/alecthomas/template";
- rev = "a0175ee3bccc567396460bf5acd36800cb10c49c";
- sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj";
+ type = "git";
+ url = "https://github.com/alecthomas/template";
+ rev = "fb15b899a75114aa79cc930e33c46b577cc664b1";
+ sha256 = "1vlasv4dgycydh5wx6jdcvz40zdv90zz1h7836z7lhsi2ymvii26";
};
}
{
goPackagePath = "github.com/alecthomas/units";
fetch = {
- type = "git";
- url = "https://github.com/alecthomas/units";
- rev = "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a";
- sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
- };
- }
- {
- goPackagePath = "github.com/aokoli/goutils";
- fetch = {
- type = "git";
- url = "https://github.com/aokoli/goutils";
- rev = "3391d3790d23d03408670993e957e8f408993c34";
- sha256 = "1yj4yjfwylica31sgj69ygb04p9xxi22kgfxd0j5f58zr8vwww2n";
+ type = "git";
+ url = "https://github.com/alecthomas/units";
+ rev = "c3de453c63f4bdb4dadffab9805ec00426c505f7";
+ sha256 = "0js37zlgv37y61j4a2d46jh72xm5kxmpaiw0ya9v944bjpc386my";
};
}
{
goPackagePath = "github.com/ghodss/yaml";
fetch = {
- type = "git";
- url = "https://github.com/ghodss/yaml";
- rev = "e9ed3c6dfb39bb1a32197cb10d527906fe4da4b6";
- sha256 = "07cf0j3wbsl1gmn175mdgljcarfz4xbqd6pgc7b08a5lcn7zwhjz";
+ type = "git";
+ url = "https://github.com/ghodss/yaml";
+ rev = "25d852aebe32c875e9c044af3eef9c7dc6bc777f";
+ sha256 = "1w9yq0bxzygc4qwkwwiy7k1k1yviaspcqqv18255k2xkjv5ipccz";
};
}
{
goPackagePath = "github.com/google/uuid";
fetch = {
- type = "git";
- url = "https://github.com/google/uuid";
- rev = "dec09d789f3dba190787f8b4454c7d3c936fed9e";
- sha256 = "1hc4w67p6zkh2qk7wm1yrl69jjrjjk615mly5ll4iidn1m4mzi4i";
+ type = "git";
+ url = "https://github.com/google/uuid";
+ rev = "c2e93f3ae59f2904160ceaab466009f965df46d6";
+ sha256 = "0zw8fvl6jqg0fmv6kmvhss0g4gkrbvgyvl2zgy5wdbdlgp4fja0h";
};
}
{
goPackagePath = "github.com/huandu/xstrings";
fetch = {
- type = "git";
- url = "https://github.com/huandu/xstrings";
- rev = "7bb0250b58e5c15670406e6f93ffda43281305b1";
- sha256 = "1fc8q65xvsxpa12p8hcjqap2pf72zqlwpm165js9kwbgm2sf977c";
+ type = "git";
+ url = "https://github.com/huandu/xstrings";
+ rev = "8bbcf2f9ccb55755e748b7644164cd4bdce94c1d";
+ sha256 = "1ivvc95514z63k7cpz71l0dwlanffmsh1pijhaqmp41kfiby8rsx";
};
}
{
goPackagePath = "github.com/imdario/mergo";
fetch = {
- type = "git";
- url = "https://github.com/imdario/mergo";
- rev = "9f23e2d6bd2a77f959b2bf6acdbefd708a83a4a4";
- sha256 = "1lbzy8p8wv439sqgf0n21q52flf2wbamp6qa1jkyv6an0nc952q7";
+ type = "git";
+ url = "https://github.com/imdario/mergo";
+ rev = "4c317f2286be3bd0c4f1a0e622edc6398ec4656d";
+ sha256 = "0bihha1qsgfjk14yv1hwddv3d8dzxpbjlaxwwyys6lhgxz1cr9h9";
};
}
{
goPackagePath = "golang.org/x/crypto";
fetch = {
- type = "git";
- url = "https://go.googlesource.com/crypto";
- rev = "de0752318171da717af4ce24d0a2e8626afaeb11";
- sha256 = "1ps1dl2a5lwr3vbwcy8n4i1v73m567y024sk961fk281phrzp13i";
+ type = "git";
+ url = "https://go.googlesource.com/crypto";
+ rev = "9756ffdc24725223350eb3266ffb92590d28f278";
+ sha256 = "0q7hxaaq6lp0v8qqzifvysl47z5rfdlrxkh3d29vsl3wyby3dxl8";
};
}
{
goPackagePath = "gopkg.in/alecthomas/kingpin.v2";
fetch = {
- type = "git";
- url = "https://gopkg.in/alecthomas/kingpin.v2";
- rev = "947dcec5ba9c011838740e680966fd7087a71d0d";
+ type = "git";
+ url = "https://gopkg.in/alecthomas/kingpin.v2";
+ rev = "947dcec5ba9c011838740e680966fd7087a71d0d";
sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r";
};
}
{
goPackagePath = "gopkg.in/yaml.v2";
fetch = {
- type = "git";
- url = "https://gopkg.in/yaml.v2";
- rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
+ type = "git";
+ url = "https://gopkg.in/yaml.v2";
+ rev = "51d6538a90f86fe93ac480b35f37b2be17fef232";
+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
};
}
]
diff --git a/pkgs/applications/networking/cluster/kops/default.nix b/pkgs/applications/networking/cluster/kops/default.nix
index a521f394ebf..c8b95baf2f3 100644
--- a/pkgs/applications/networking/cluster/kops/default.nix
+++ b/pkgs/applications/networking/cluster/kops/default.nix
@@ -1,44 +1,63 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, go-bindata }:
-
-buildGoPackage rec {
- name = "kops-${version}";
- version = "1.11.1";
+{ stdenv, lib, buildGoPackage, fetchFromGitHub, go-bindata }:
+let
goPackagePath = "k8s.io/kops";
- src = fetchFromGitHub {
- rev = version;
- owner = "kubernetes";
- repo = "kops";
- sha256 = "0jia8dhawh786grnbpn64hvsdm6wz5p7hqir01q5xxpd1psnzygj";
+ generic = { version, sha256, ...}@attrs:
+ let attrs' = builtins.removeAttrs attrs ["version" "sha256"] ; in
+ buildGoPackage {
+ pname = "kops";
+ inherit version;
+
+ inherit goPackagePath;
+
+ src = fetchFromGitHub {
+ rev = version;
+ owner = "kubernetes";
+ repo = "kops";
+ inherit sha256;
+ };
+
+ buildInputs = [go-bindata];
+ subPackages = ["cmd/kops"];
+
+ buildFlagsArray = ''
+ -ldflags=
+ -X k8s.io/kops.Version=${version}
+ -X k8s.io/kops.GitVersion=${version}
+ '';
+
+ preBuild = ''
+ (cd go/src/k8s.io/kops
+ go-bindata -o upup/models/bindata.go -pkg models -prefix upup/models/ upup/models/...)
+ '';
+
+ postInstall = ''
+ mkdir -p $bin/share/bash-completion/completions
+ mkdir -p $bin/share/zsh/site-functions
+ $bin/bin/kops completion bash > $bin/share/bash-completion/completions/kops
+ $bin/bin/kops completion zsh > $bin/share/zsh/site-functions/_kops
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Easiest way to get a production Kubernetes up and running";
+ homepage = https://github.com/kubernetes/kops;
+ license = licenses.asl20;
+ maintainers = with maintainers; [offline zimbatm];
+ platforms = platforms.unix;
+ };
+ } // attrs';
+in rec {
+
+ mkKops = generic;
+
+ kops_1_12 = mkKops {
+ version = "1.12.3";
+ sha256 = "0rpbaz54l5v1z7ab5kpxcb4jyakkl5ysgz1sxajqmw2d6dvf7xly";
};
- buildInputs = [go-bindata];
- subPackages = ["cmd/kops"];
-
- buildFlagsArray = ''
- -ldflags=
- -X k8s.io/kops.Version=${version}
- -X k8s.io/kops.GitVersion=${version}
- '';
-
- preBuild = ''
- (cd go/src/k8s.io/kops
- go-bindata -o upup/models/bindata.go -pkg models -prefix upup/models/ upup/models/...)
- '';
-
- postInstall = ''
- mkdir -p $bin/share/bash-completion/completions
- mkdir -p $bin/share/zsh/site-functions
- $bin/bin/kops completion bash > $bin/share/bash-completion/completions/kops
- $bin/bin/kops completion zsh > $bin/share/zsh/site-functions/_kops
- '';
-
- meta = with stdenv.lib; {
- description = "Easiest way to get a production Kubernetes up and running";
- homepage = https://github.com/kubernetes/kops;
- license = licenses.asl20;
- maintainers = with maintainers; [offline zimbatm];
- platforms = platforms.unix;
+ kops_1_13 = mkKops {
+ version = "1.13.0";
+ sha256 = "04kbbg3gqzwzzzq1lmnpw2gqky3pfwfk7pc0laxv2yssk9wac5k1";
};
}
diff --git a/pkgs/applications/networking/cluster/ksonnet/default.nix b/pkgs/applications/networking/cluster/ksonnet/default.nix
deleted file mode 100644
index b8bce931523..00000000000
--- a/pkgs/applications/networking/cluster/ksonnet/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ lib, buildGoPackage, fetchFromGitHub, ... }:
-
-buildGoPackage rec {
- version = "0.11.0";
- name = "ksonnet-${version}";
-
- src = fetchFromGitHub {
- owner = "ksonnet";
- repo = "ksonnet";
- rev = "v${version}";
- sha256 = "0z7gkgcsiclm72bznmzv5jcgx5rblndcsiqc0r2mwhxhmv19bs04";
- };
-
- goPackagePath = "github.com/ksonnet/ksonnet";
-
- meta = {
- description = "A CLI-supported framework that streamlines writing and deployment of Kubernetes configurations to multiple clusters";
- homepage = https://github.com/ksonnet/ksonnet;
- license = lib.licenses.asl20;
- maintainers = with lib.maintainers; [ flokli ];
- platforms = lib.platforms.unix;
- };
-}
diff --git a/pkgs/applications/networking/cluster/kube-router/default.nix b/pkgs/applications/networking/cluster/kube-router/default.nix
index 2a43c23e73a..a3cb55ce329 100644
--- a/pkgs/applications/networking/cluster/kube-router/default.nix
+++ b/pkgs/applications/networking/cluster/kube-router/default.nix
@@ -1,17 +1,16 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "kube-router-${version}";
- version = "0.2.5";
- rev = "v${version}";
+ pname = "kube-router";
+ version = "0.3.1";
goPackagePath = "github.com/cloudnativelabs/kube-router";
src = fetchFromGitHub {
- inherit rev;
owner = "cloudnativelabs";
- repo = "kube-router";
- sha256 = "1j6q6kg4qj75v2mdy9ivvwq8mx9fpdf0w08959l8imrp5byd56wv";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "06azrghcxp6n4bvrqxpwhmg60qk4jqcrkl1lh1rardlzhl71lk1h";
};
buildFlagsArray = ''
@@ -22,7 +21,7 @@ buildGoPackage rec {
${goPackagePath}/pkg/cmd.buildDate=Nix
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = "https://www.kube-router.io/";
description = "All-in-one router, firewall and service proxy for Kubernetes";
license = licenses.asl20;
diff --git a/pkgs/applications/networking/cluster/kube3d/default.nix b/pkgs/applications/networking/cluster/kube3d/default.nix
new file mode 100644
index 00000000000..c549efa7b40
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kube3d/default.nix
@@ -0,0 +1,25 @@
+{ stdenv, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ pname = "kube3d";
+ version = "1.3.1";
+
+ goPackagePath = "github.com/rancher/k3d";
+
+ src = fetchFromGitHub {
+ owner = "rancher";
+ repo = "k3d";
+ rev = "v${version}";
+ sha256 = "0bdpjnzyxd6mdc1qv0ml89qds6305kn3wmyci2kv6g2y7r7wxvm2";
+ };
+
+ goDeps = ./deps.nix;
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/rancher/k3d";
+ description = "A helper to run k3s (Lightweight Kubernetes. 5 less than k8s) in a docker container";
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ kuznero ];
+ };
+}
diff --git a/pkgs/applications/networking/cluster/kube3d/deps.nix b/pkgs/applications/networking/cluster/kube3d/deps.nix
new file mode 100644
index 00000000000..4fb2936a40b
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kube3d/deps.nix
@@ -0,0 +1,174 @@
+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
+[
+ {
+ goPackagePath = "github.com/Microsoft/go-winio";
+ fetch = {
+ type = "git";
+ url = "https://github.com/Microsoft/go-winio";
+ rev = "v0.4.12";
+ sha256 = "10v2f1xaw2cc97mjqnxzgs9ydpqv71f0ynp1spcywqw97la56zqw";
+ };
+ }
+ {
+ goPackagePath = "github.com/davecgh/go-spew";
+ fetch = {
+ type = "git";
+ url = "https://github.com/davecgh/go-spew";
+ rev = "v1.1.0";
+ sha256 = "0d4jfmak5p6lb7n2r6yvf5p1zcw0l8j74kn55ghvr7zr7b7axm6c";
+ };
+ }
+ {
+ goPackagePath = "github.com/docker/distribution";
+ fetch = {
+ type = "git";
+ url = "https://github.com/docker/distribution";
+ rev = "v2.7.1";
+ sha256 = "1nx8b5a68rn81alp8wkkw6qd5v32mgf0fk23mxm60zdf63qk1nzw";
+ };
+ }
+ {
+ goPackagePath = "github.com/docker/docker";
+ fetch = {
+ type = "git";
+ url = "https://github.com/docker/docker";
+ rev = "v1.13.1";
+ sha256 = "0l9kjibnpwcgk844sibxk9ppyqniw9r0np1mzp95f8f461jb0iar";
+ };
+ }
+ {
+ goPackagePath = "github.com/docker/go-connections";
+ fetch = {
+ type = "git";
+ url = "https://github.com/docker/go-connections";
+ rev = "v0.4.0";
+ sha256 = "0mv6f6b5nljc17dmwmc28hc0y11pqglz7x0d2mjrwdmfxf64hwqq";
+ };
+ }
+ {
+ goPackagePath = "github.com/docker/go-units";
+ fetch = {
+ type = "git";
+ url = "https://github.com/docker/go-units";
+ rev = "v0.3.3";
+ sha256 = "0npxsb3pp89slwf4a73fxm20hykad8xggij6i6hcd5jy19bjrd93";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-runewidth";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-runewidth";
+ rev = "v0.0.4";
+ sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
+ };
+ }
+ {
+ goPackagePath = "github.com/mitchellh/go-homedir";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mitchellh/go-homedir";
+ rev = "v1.1.0";
+ sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1";
+ };
+ }
+ {
+ goPackagePath = "github.com/olekukonko/tablewriter";
+ fetch = {
+ type = "git";
+ url = "https://github.com/olekukonko/tablewriter";
+ rev = "v0.0.1";
+ sha256 = "0hh95glg7d2md185r03wn52j2r33jc4zil0qvcrs66ka7bdxi7vj";
+ };
+ }
+ {
+ goPackagePath = "github.com/opencontainers/go-digest";
+ fetch = {
+ type = "git";
+ url = "https://github.com/opencontainers/go-digest";
+ rev = "v1.0.0-rc1";
+ sha256 = "01gc7fpn8ax429024p2fcx3yb18axwz5bjf2hqxlii1jbsgw4bh9";
+ };
+ }
+ {
+ goPackagePath = "github.com/pkg/errors";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pkg/errors";
+ rev = "v0.8.1";
+ sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
+ };
+ }
+ {
+ goPackagePath = "github.com/pmezard/go-difflib";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pmezard/go-difflib";
+ rev = "v1.0.0";
+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/objx";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/objx";
+ rev = "v0.1.0";
+ sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/testify";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/testify";
+ rev = "v1.3.0";
+ sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
+ };
+ }
+ {
+ goPackagePath = "github.com/urfave/cli";
+ fetch = {
+ type = "git";
+ url = "https://github.com/urfave/cli";
+ rev = "v1.20.0";
+ sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/crypto";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/crypto";
+ rev = "c2843e01d9a2";
+ sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/net";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/net";
+ rev = "b630fd6fe46b";
+ sha256 = "0m84kwckmmc0z05kjb4dd43g1g61al32a4z593flpcbaqx8di5sd";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "d0b11bdaac8a";
+ sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/text";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/text";
+ rev = "v0.3.0";
+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
+ };
+ }
+]
diff --git a/pkgs/applications/networking/cluster/kubecfg/default.nix b/pkgs/applications/networking/cluster/kubecfg/default.nix
index 1e16cf1afca..3d75ef543bc 100644
--- a/pkgs/applications/networking/cluster/kubecfg/default.nix
+++ b/pkgs/applications/networking/cluster/kubecfg/default.nix
@@ -1,22 +1,23 @@
{ lib, buildGoPackage, fetchFromGitHub, ... }:
-let version = "0.9.1"; in
+let version = "0.12.5"; in
buildGoPackage {
- name = "kubecfg-${version}";
+ pname = "kubecfg";
+ inherit version;
src = fetchFromGitHub {
- owner = "ksonnet";
+ owner = "bitnami";
repo = "kubecfg";
rev = "v${version}";
- sha256 = "010k33arxa4spaq923iazsisxgsaj8c7w4z250y9yrch8xxd74bi";
+ sha256 = "0pn37qkwn3kdsd0z3qxk95lqjn2zak7gkk0pwlqp26jmrx0vv18l";
};
- goPackagePath = "github.com/ksonnet/kubecfg";
+ goPackagePath = "github.com/bitnami/kubecfg";
meta = {
description = "A tool for managing Kubernetes resources as code";
- homepage = https://github.com/ksonnet/kubecfg;
+ homepage = https://github.com/bitnami/kubecfg;
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ benley ];
platforms = lib.platforms.unix;
diff --git a/pkgs/applications/networking/cluster/kubectl/default.nix b/pkgs/applications/networking/cluster/kubectl/default.nix
index 4dbd3d38d31..fed40523a9b 100644
--- a/pkgs/applications/networking/cluster/kubectl/default.nix
+++ b/pkgs/applications/networking/cluster/kubectl/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, kubernetes }:
+{ stdenv, kubernetes }:
stdenv.mkDerivation {
name = "kubectl-${kubernetes.version}";
@@ -9,8 +9,6 @@ stdenv.mkDerivation {
outputs = [ "out" "man" ];
- doBuild = false;
-
installPhase = ''
mkdir -p \
"$out/bin" \
diff --git a/pkgs/applications/networking/cluster/kubeless/default.nix b/pkgs/applications/networking/cluster/kubeless/default.nix
new file mode 100644
index 00000000000..a69dc8890a7
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kubeless/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, buildGoModule, fetchFromGitHub }:
+
+buildGoModule rec {
+ pname = "kubeless";
+ version = "1.0.4";
+
+ src = fetchFromGitHub {
+ owner = "kubeless";
+ repo = "kubeless";
+ rev = "v${version}";
+ sha256 = "1f5w6kn9rsaxx9nf6kzyjkzm3s9ycy1c8h78hb61v4x915xd3040";
+ };
+ modSha256 = "1pw4pwb8z2kq474jjipjdivlrin5zvw8d2if4317b0w0wyp6isgd";
+
+ subPackages = [ "cmd/kubeless" ];
+
+ buildFlagsArray = ''
+ -ldflags=-X github.com/kubeless/kubeless/pkg/version.Version=${version}
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://kubeless.io";
+ description = "The Kubernetes Native Serverless Framework";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ "00-matt" ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/networking/cluster/kubernetes/default.nix b/pkgs/applications/networking/cluster/kubernetes/default.nix
index 3967883af55..cbe32e57f20 100644
--- a/pkgs/applications/networking/cluster/kubernetes/default.nix
+++ b/pkgs/applications/networking/cluster/kubernetes/default.nix
@@ -14,14 +14,14 @@
with lib;
stdenv.mkDerivation rec {
- name = "kubernetes-${version}";
- version = "1.14.1";
+ pname = "kubernetes";
+ version = "1.15.3";
src = fetchFromGitHub {
owner = "kubernetes";
repo = "kubernetes";
rev = "v${version}";
- sha256 = "1cyln9nwry290fpffx6xxy0ll7ybib5ifja7nnq93f3f2p0sj421";
+ sha256 = "0vamr7m8i5svmvb0z01cngv3sffdfjj0bky2zalm7cfnapib8vz1";
};
buildInputs = [ removeReferencesTo makeWrapper which go rsync go-bindata ];
@@ -29,7 +29,10 @@ stdenv.mkDerivation rec {
outputs = ["out" "man" "pause"];
postPatch = ''
- substituteInPlace "hack/lib/golang.sh" --replace "_cgo" ""
+ # go env breaks the sandbox
+ substituteInPlace "hack/lib/golang.sh" \
+ --replace 'echo "$(go env GOHOSTOS)/$(go env GOHOSTARCH)"' 'echo "${go.GOOS}/${go.GOARCH}"'
+
substituteInPlace "hack/update-generated-docs.sh" --replace "make" "make SHELL=${stdenv.shell}"
# hack/update-munge-docs.sh only performs some tests on the documentation.
# They broke building k8s; disabled for now.
@@ -38,7 +41,7 @@ stdenv.mkDerivation rec {
patchShebangs ./hack
'';
- WHAT="${concatStringsSep " " components}";
+ WHAT=concatStringsSep " " components;
postBuild = ''
./hack/update-generated-docs.sh
@@ -52,13 +55,12 @@ stdenv.mkDerivation rec {
cp build/pause/pause "$pause/bin/pause"
cp -R docs/man/man1 "$man/share/man"
- cp cluster/addons/addon-manager/namespace.yaml $out/share
cp cluster/addons/addon-manager/kube-addons.sh $out/bin/kube-addons
patchShebangs $out/bin/kube-addons
- substituteInPlace $out/bin/kube-addons \
- --replace /opt/namespace.yaml $out/share/namespace.yaml
wrapProgram $out/bin/kube-addons --set "KUBECTL_BIN" "$out/bin/kubectl"
+ cp ${./mk-docker-opts.sh} $out/bin/mk-docker-opts.sh
+
$out/bin/kubectl completion bash > $out/share/bash-completion/completions/kubectl
$out/bin/kubectl completion zsh > $out/share/zsh/site-functions/_kubectl
'';
diff --git a/pkgs/applications/networking/cluster/kubernetes/mk-docker-opts.sh b/pkgs/applications/networking/cluster/kubernetes/mk-docker-opts.sh
new file mode 100755
index 00000000000..22a459f5134
--- /dev/null
+++ b/pkgs/applications/networking/cluster/kubernetes/mk-docker-opts.sh
@@ -0,0 +1,113 @@
+#!/usr/bin/env bash
+
+# Copyright 2014 The Kubernetes Authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Generate Docker daemon options based on flannel env file.
+
+# exit on any error
+set -e
+
+usage() {
+ echo "$0 [-f FLANNEL-ENV-FILE] [-d DOCKER-ENV-FILE] [-i] [-c] [-m] [-k COMBINED-KEY]
+
+Generate Docker daemon options based on flannel env file
+OPTIONS:
+ -f Path to flannel env file. Defaults to /run/flannel/subnet.env
+ -d Path to Docker env file to write to. Defaults to /run/docker_opts.env
+ -i Output each Docker option as individual var. e.g. DOCKER_OPT_MTU=1500
+ -c Output combined Docker options into DOCKER_OPTS var
+ -k Set the combined options key to this value (default DOCKER_OPTS=)
+ -m Do not output --ip-masq (useful for older Docker version)
+" >/dev/stderr
+ exit 1
+}
+
+flannel_env="/run/flannel/subnet.env"
+docker_env="/run/docker_opts.env"
+combined_opts_key="DOCKER_OPTS"
+indiv_opts=false
+combined_opts=false
+ipmasq=true
+val=""
+
+while getopts "f:d:icmk:" opt; do
+ case $opt in
+ f)
+ flannel_env=$OPTARG
+ ;;
+ d)
+ docker_env=$OPTARG
+ ;;
+ i)
+ indiv_opts=true
+ ;;
+ c)
+ combined_opts=true
+ ;;
+ m)
+ ipmasq=false
+ ;;
+ k)
+ combined_opts_key=$OPTARG
+ ;;
+ \?)
+ usage
+ ;;
+ esac
+done
+
+if [[ $indiv_opts = false ]] && [[ $combined_opts = false ]]; then
+ indiv_opts=true
+ combined_opts=true
+fi
+
+if [[ -f "${flannel_env}" ]]; then
+ source "${flannel_env}"
+fi
+
+if [[ -n "$FLANNEL_SUBNET" ]]; then
+ # shellcheck disable=SC2034 # Variable name referenced in OPT_LOOP below
+ DOCKER_OPT_BIP="--bip=$FLANNEL_SUBNET"
+fi
+
+if [[ -n "$FLANNEL_MTU" ]]; then
+ # shellcheck disable=SC2034 # Variable name referenced in OPT_LOOP below
+ DOCKER_OPT_MTU="--mtu=$FLANNEL_MTU"
+fi
+
+if [[ "$FLANNEL_IPMASQ" = true ]] && [[ $ipmasq = true ]]; then
+ # shellcheck disable=SC2034 # Variable name referenced in OPT_LOOP below
+ DOCKER_OPT_IPMASQ="--ip-masq=false"
+fi
+
+eval docker_opts="\$${combined_opts_key}"
+docker_opts+=" "
+
+echo -n "" >"${docker_env}"
+
+# OPT_LOOP
+for opt in $(compgen -v DOCKER_OPT_); do
+ eval val=\$"${opt}"
+
+ if [[ "$indiv_opts" = true ]]; then
+ echo "$opt=\"$val\"" >>"${docker_env}"
+ fi
+
+ docker_opts+="$val "
+done
+
+if [[ "$combined_opts" = true ]]; then
+ echo "${combined_opts_key}=\"${docker_opts}\"" >>"${docker_env}"
+fi
diff --git a/pkgs/applications/networking/cluster/kubetail/default.nix b/pkgs/applications/networking/cluster/kubetail/default.nix
index d1e24c56f8a..dcda18f18be 100644
--- a/pkgs/applications/networking/cluster/kubetail/default.nix
+++ b/pkgs/applications/networking/cluster/kubetail/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, lib, ... }:
stdenv.mkDerivation rec {
- name = "kubetail-${version}";
- version = "1.6.8";
+ pname = "kubetail";
+ version = "1.6.9";
src = fetchFromGitHub {
owner = "johanhaleby";
repo = "kubetail";
- rev = "${version}";
- sha256 = "15f97bzw0vha4nrl9207l7w9mlnx58xlcnmpfjvbpm7x0ivb5l0q";
+ rev = version;
+ sha256 = "0mcv23p0h1ww9gvax8b4b4x5hmg02shrbgms0v0c72cmw0zf2phr";
};
installPhase = ''
diff --git a/pkgs/applications/networking/cluster/kubeval/default.nix b/pkgs/applications/networking/cluster/kubeval/default.nix
index 55a827f9cf9..89d06474509 100644
--- a/pkgs/applications/networking/cluster/kubeval/default.nix
+++ b/pkgs/applications/networking/cluster/kubeval/default.nix
@@ -4,7 +4,7 @@ let
# Cache schema as a package so network calls are not
# necessary at runtime, allowing use in package builds
- schema = stdenv.mkDerivation rec {
+ schema = stdenv.mkDerivation {
name = "kubeval-schema";
src = fetchFromGitHub {
owner = "garethr";
@@ -22,7 +22,7 @@ let
in
buildGoPackage rec {
- name = "kubeval-${version}";
+ pname = "kubeval";
version = "0.7.3";
goPackagePath = "github.com/garethr/kubeval";
diff --git a/pkgs/applications/networking/cluster/linkerd/default.nix b/pkgs/applications/networking/cluster/linkerd/default.nix
new file mode 100644
index 00000000000..8c0265d1491
--- /dev/null
+++ b/pkgs/applications/networking/cluster/linkerd/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, buildGoModule }:
+
+buildGoModule {
+ pname = "linkerd-unstablle";
+ version = "2019-07-26";
+
+ src = fetchFromGitHub {
+ owner = "linkerd";
+ repo = "linkerd2";
+ rev = "065dd3ec9d4b84c90383b31be16ccadd34a8ab0d";
+ sha256 = "01m8g627sd126as0a74fy9svmymwd41sifd897nhn6kz78a21gq8";
+ };
+
+ modSha256 = "0gahhywpcj16ww4l8s3wjwvavq24fpy258snhyf94ipy6lb797sl";
+
+ subPackages = [ "cli/cmd" ];
+
+ meta = with stdenv.lib; {
+ description = "A service mesh for Kubernetes and beyond.";
+ homepage = https://linkerd.io/;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ Gonzih ];
+ };
+}
diff --git a/pkgs/applications/networking/cluster/marathon/default.nix b/pkgs/applications/networking/cluster/marathon/default.nix
index 49cac6d5063..72bd82be6c1 100644
--- a/pkgs/applications/networking/cluster/marathon/default.nix
+++ b/pkgs/applications/networking/cluster/marathon/default.nix
@@ -1,7 +1,7 @@
{ stdenv, makeWrapper, jdk, mesos, fetchurl }:
stdenv.mkDerivation rec {
- name = "marathon-${version}";
+ pname = "marathon";
version = "1.4.2";
src = fetchurl {
@@ -13,10 +13,10 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/{bin,libexec/marathon}
- cp target/scala-*/marathon*.jar $out/libexec/marathon/${name}.jar
+ cp target/scala-*/marathon*.jar $out/libexec/marathon/${pname}-${version}.jar
makeWrapper ${jdk.jre}/bin/java $out/bin/marathon \
- --add-flags "-Xmx512m -jar $out/libexec/marathon/${name}.jar" \
+ --add-flags "-Xmx512m -jar $out/libexec/marathon/${pname}-${version}.jar" \
--set "MESOS_NATIVE_JAVA_LIBRARY" "$MESOS_NATIVE_JAVA_LIBRARY"
'';
diff --git a/pkgs/applications/networking/cluster/mesos/default.nix b/pkgs/applications/networking/cluster/mesos/default.nix
index 8cff2494bf8..1ad30335b94 100644
--- a/pkgs/applications/networking/cluster/mesos/default.nix
+++ b/pkgs/applications/networking/cluster/mesos/default.nix
@@ -26,13 +26,13 @@ let
in stdenv.mkDerivation rec {
version = "1.4.1";
- name = "mesos-${version}";
+ pname = "mesos";
enableParallelBuilding = true;
dontDisableStatic = true;
src = fetchurl {
- url = "mirror://apache/mesos/${version}/${name}.tar.gz";
+ url = "mirror://apache/mesos/${version}/${pname}-${version}.tar.gz";
sha256 = "1c7l0rim9ija913gpppz2mcms08ywyqhlzbbspqsi7wwfdd7jwsr";
};
@@ -61,6 +61,9 @@ in stdenv.mkDerivation rec {
propagatedBuildInputs = [
pythonProtobuf
];
+
+ NIX_CFLAGS_COMPILE = "-Wno-error=format-overflow -Wno-error=class-memaccess";
+
preConfigure = ''
# https://issues.apache.org/jira/browse/MESOS-6616
configureFlagsArray+=(
diff --git a/pkgs/applications/networking/cluster/minikube/default.nix b/pkgs/applications/networking/cluster/minikube/default.nix
index 5ce4ab7b906..5637e486ef1 100644
--- a/pkgs/applications/networking/cluster/minikube/default.nix
+++ b/pkgs/applications/networking/cluster/minikube/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, go-bindata, libvirt, qemu
-, gpgme, makeWrapper, vmnet, python
+{ stdenv, buildGoModule, fetchFromGitHub, go-bindata, libvirt, qemu
+, gpgme, makeWrapper, vmnet
, docker-machine-kvm, docker-machine-kvm2
, extraDrivers ? []
}:
@@ -11,12 +11,11 @@ let
binPath = drivers
++ stdenv.lib.optionals stdenv.isLinux ([ libvirt qemu ]);
-in buildGoPackage rec {
+in buildGoModule rec {
pname = "minikube";
- name = "${pname}-${version}";
- version = "1.0.1";
+ version = "1.2.0";
- kubernetesVersion = "1.14.1";
+ kubernetesVersion = "1.15.0";
goPackagePath = "k8s.io/minikube";
@@ -24,15 +23,15 @@ in buildGoPackage rec {
owner = "kubernetes";
repo = "minikube";
rev = "v${version}";
- sha256 = "1fgyaq8789wc3h6xmn4iw6if2jxdv5my35yn6ipx3q6i4hagxl4b";
+ sha256 = "0l9znrp49877cp1bkwx84c8lv282ga5a946rjbxi8gznkf3kwaw7";
};
+ modSha256 = "1cp63n0x2lgbqvvymx9byx48r42qw6w224x5x4iiarc2nryfdhn0";
+
buildInputs = [ go-bindata makeWrapper gpgme ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin vmnet;
subPackages = [ "cmd/minikube" ] ++ stdenv.lib.optional stdenv.hostPlatform.isDarwin "cmd/drivers/hyperkit";
preBuild = ''
- pushd go/src/${goPackagePath} >/dev/null
-
go-bindata -nomemcopy -o pkg/minikube/assets/assets.go -pkg assets deploy/addons/...
VERSION_MAJOR=$(grep "^VERSION_MAJOR" Makefile | sed "s/^.*\s//")
@@ -47,21 +46,16 @@ in buildGoPackage rec {
-X k8s.io/minikube/pkg/version.isoPath=$ISO_BUCKET \
-X k8s.io/minikube/vendor/k8s.io/client-go/pkg/version.gitVersion=$KUBERNETES_VERSION \
-X k8s.io/minikube/vendor/k8s.io/kubernetes/pkg/version.gitVersion=$KUBERNETES_VERSION"
-
- popd >/dev/null
'';
postInstall = ''
- mkdir -p $bin/share/bash-completion/completions/
- MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTKUBECTLDOWNLOADMSG=false HOME=$PWD $bin/bin/minikube completion bash > $bin/share/bash-completion/completions/minikube
- mkdir -p $bin/share/zsh/site-functions/
- MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTKUBECTLDOWNLOADMSG=false HOME=$PWD $bin/bin/minikube completion zsh > $bin/share/zsh/site-functions/_minikube
- '';
-
- postFixup = ''
- wrapProgram $bin/bin/${pname} --prefix PATH : $bin/bin:${stdenv.lib.makeBinPath binPath}
- '' + stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
- mv $bin/bin/hyperkit $bin/bin/docker-machine-driver-hyperkit
+ wrapProgram $out/bin/${pname} --prefix PATH : $out/bin:${stdenv.lib.makeBinPath binPath}
+ mkdir -p $out/share/bash-completion/completions/
+ MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTKUBECTLDOWNLOADMSG=false HOME=$PWD $out/bin/minikube completion bash > $out/share/bash-completion/completions/minikube
+ mkdir -p $out/share/zsh/site-functions/
+ MINIKUBE_WANTUPDATENOTIFICATION=false MINIKUBE_WANTKUBECTLDOWNLOADMSG=false HOME=$PWD $out/bin/minikube completion zsh > $out/share/zsh/site-functions/_minikube
+ ''+ stdenv.lib.optionalString stdenv.hostPlatform.isDarwin ''
+ mv $out/bin/hyperkit $out/bin/docker-machine-driver-hyperkit
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/cluster/minishift/default.nix b/pkgs/applications/networking/cluster/minishift/default.nix
index a8161ed3077..43e960d9403 100644
--- a/pkgs/applications/networking/cluster/minishift/default.nix
+++ b/pkgs/applications/networking/cluster/minishift/default.nix
@@ -4,21 +4,21 @@
}:
let
- version = "1.33.0";
+ version = "1.34.0";
# Update these on version bumps according to Makefile
centOsIsoVersion = "v1.15.0";
openshiftVersion = "v3.11.0";
in buildGoPackage rec {
- name = "minishift-${version}";
+ pname = "minishift";
inherit version;
src = fetchFromGitHub {
owner = "minishift";
repo = "minishift";
rev = "v${version}";
- sha256 = "0n3pj410bgjblv27p55piln0vi618mnyzzswcyfc2v73bfnzrydf";
+ sha256 = "0nc1g4lmz5ww6rjyyanp9vq4sj6fvi9zf9qjc4lpsmapddhjkdy7";
};
nativeBuildInputs = [ pkgconfig go-bindata makeWrapper ];
diff --git a/pkgs/applications/networking/cluster/nomad/default.nix b/pkgs/applications/networking/cluster/nomad/default.nix
index 9e55c2f8a0f..a4236a9408c 100644
--- a/pkgs/applications/networking/cluster/nomad/default.nix
+++ b/pkgs/applications/networking/cluster/nomad/default.nix
@@ -1,8 +1,8 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "nomad-${version}";
- version = "0.8.7";
+ pname = "nomad";
+ version = "0.9.5";
rev = "v${version}";
goPackagePath = "github.com/hashicorp/nomad";
@@ -10,11 +10,27 @@ buildGoPackage rec {
src = fetchFromGitHub {
owner = "hashicorp";
- repo = "nomad";
+ repo = pname;
inherit rev;
- sha256 = "0nkqiqkrccfmn7qkbhd48m9m56ix4xb0a3ar0z0pl4sbm25rlj0b";
+ sha256 = "01491470idb11z0ab4anb5caw46vy9s94a17l92j0z2f3f4k6xfl";
};
+ # ui:
+ # Nomad release commits include the compiled version of the UI, but the file
+ # is only included if we build with the ui tag.
+ # nonvidia:
+ # We disable Nvidia GPU scheduling on Linux, as it doesn't work there:
+ # Ref: https://github.com/hashicorp/nomad/issues/5535
+ preBuild = let
+ tags = ["ui"]
+ ++ stdenv.lib.optional stdenv.isLinux "nonvidia";
+ tagsString = stdenv.lib.concatStringsSep " " tags;
+ in ''
+ export buildFlagsArray=(
+ -tags="${tagsString}"
+ )
+ '';
+
meta = with stdenv.lib; {
homepage = https://www.nomadproject.io/;
description = "A Distributed, Highly Available, Datacenter-Aware Scheduler";
diff --git a/pkgs/applications/networking/cluster/openshift/default.nix b/pkgs/applications/networking/cluster/openshift/default.nix
index dd57add14af..758786f586a 100644
--- a/pkgs/applications/networking/cluster/openshift/default.nix
+++ b/pkgs/applications/networking/cluster/openshift/default.nix
@@ -21,7 +21,7 @@ let
k8sgitMajor = "0";
k8sgitMinor = "1";
in buildGoPackage rec {
- name = "openshift-origin-${version}";
+ pname = "openshift-origin";
inherit version;
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/cluster/pachyderm/default.nix b/pkgs/applications/networking/cluster/pachyderm/default.nix
index 618bea36de8..de0bb015852 100644
--- a/pkgs/applications/networking/cluster/pachyderm/default.nix
+++ b/pkgs/applications/networking/cluster/pachyderm/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
- name = "pachyderm-${version}";
+ pname = "pachyderm";
version = "1.8.5";
rev = "v${version}";
diff --git a/pkgs/applications/networking/cluster/prow/13918-fix-go-sum.patch b/pkgs/applications/networking/cluster/prow/13918-fix-go-sum.patch
new file mode 100644
index 00000000000..ae407727b9d
--- /dev/null
+++ b/pkgs/applications/networking/cluster/prow/13918-fix-go-sum.patch
@@ -0,0 +1,22 @@
+From b0ab95b9664916618ebf5fe637b1bc4de4ba9a6e Mon Sep 17 00:00:00 2001
+From: "Wael M. Nasreddine"
+Date: Wed, 14 Aug 2019 23:07:51 -0700
+Subject: [PATCH] fix the hash of gomodules.xyz/jsonpatch/v2
+
+---
+ go.sum | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/go.sum b/go.sum
+index 6bb130b4d9b..b3f48a85d4a 100644
+--- a/go.sum
++++ b/go.sum
+@@ -452,7 +452,7 @@ golang.org/x/tools v0.0.0-20190312170243-e65039ee4138 h1:H3uGjxCR/6Ds0Mjgyp7LMK8
+ golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+ golang.org/x/tools v0.0.0-20190404132500-923d25813098 h1:MtqjsZmyGRgMmLUgxnmMJ6RYdvd2ib8ipiayHhqSxs4=
+ golang.org/x/tools v0.0.0-20190404132500-923d25813098/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
+-gomodules.xyz/jsonpatch/v2 v2.0.0 h1:lHNQverf0+Gm1TbSbVIDWVXOhZ2FpZopxRqpr2uIjs4=
++gomodules.xyz/jsonpatch/v2 v2.0.0 h1:OyHbl+7IOECpPKfVK42oFr6N7+Y2dR+Jsb/IiDV3hOo=
+ gomodules.xyz/jsonpatch/v2 v2.0.0/go.mod h1:IhYNNY4jnS53ZnfE4PAmpKtDpTCj1JFXc+3mwe7XcUU=
+ google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
+ google.golang.org/api v0.0.0-20181021000519-a2651947f503/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
diff --git a/pkgs/applications/networking/cluster/prow/default.nix b/pkgs/applications/networking/cluster/prow/default.nix
new file mode 100644
index 00000000000..1c802802c09
--- /dev/null
+++ b/pkgs/applications/networking/cluster/prow/default.nix
@@ -0,0 +1,71 @@
+{ buildGoModule, fetchFromGitHub, lib }:
+
+buildGoModule rec {
+ pname = "prow-unstable";
+ version = "2019-08-14";
+ rev = "35a7744f5737bbc1c4e1256a9c9c5ad135c650e4";
+
+ src = fetchFromGitHub {
+ inherit rev;
+
+ owner = "kubernetes";
+ repo = "test-infra";
+ sha256 = "07kdlzrj59xyaa73vlx4s50fpg0brrkb0h0cyjgx81a0hsc7s03k";
+ };
+
+ patches = [
+ # https://github.com/kubernetes/test-infra/pull/13918
+ ./13918-fix-go-sum.patch
+ ];
+
+ modSha256 = "06q1zvhm78k64aj475k1xl38h7nk83mysd0bja0wknja048ymgsq";
+
+ subPackages = [
+ "./prow/cmd/admission"
+ "./prow/cmd/artifact-uploader"
+ "./prow/cmd/branchprotector"
+ "./prow/cmd/build"
+ "./prow/cmd/checkconfig"
+ "./prow/cmd/clonerefs"
+ "./prow/cmd/config-bootstrapper"
+ "./prow/cmd/crier"
+ "./prow/cmd/deck"
+ "./prow/cmd/entrypoint"
+ "./prow/cmd/gcsupload"
+ "./prow/cmd/gerrit"
+ "./prow/cmd/hook"
+ "./prow/cmd/horologium"
+ "./prow/cmd/initupload"
+ "./prow/cmd/jenkins-operator"
+ "./prow/cmd/mkbuild-cluster"
+ "./prow/cmd/mkpj"
+ "./prow/cmd/mkpod"
+ "./prow/cmd/peribolos"
+ "./prow/cmd/phaino"
+ "./prow/cmd/phony"
+ "./prow/cmd/pipeline"
+ "./prow/cmd/plank"
+ "./prow/cmd/sidecar"
+ "./prow/cmd/sinker"
+ "./prow/cmd/status-reconciler"
+ "./prow/cmd/sub"
+ "./prow/cmd/tackle"
+ "./prow/cmd/tide"
+ "./prow/cmd/tot"
+ ];
+
+ meta = with lib; {
+ description = "Prow is a Kubernetes based CI/CD system";
+ longDescription = ''
+ Prow is a Kubernetes based CI/CD system. Jobs can be triggered by various
+ types of events and report their status to many different services. In
+ addition to job execution, Prow provides GitHub automation in the form of
+ policy enforcement, chat-ops via /foo style commands, and automatic PR
+ merging.
+ '';
+ homepage = "https://github.com/kubernetes/test-infra/tree/master/prow";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ kalbasit ];
+ platforms = platforms.linux ++ platforms.darwin;
+ };
+}
diff --git a/pkgs/applications/networking/cluster/sonobuoy/default.nix b/pkgs/applications/networking/cluster/sonobuoy/default.nix
new file mode 100644
index 00000000000..ce6c5424fba
--- /dev/null
+++ b/pkgs/applications/networking/cluster/sonobuoy/default.nix
@@ -0,0 +1,43 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+# SHA of ${version} for the tool's help output
+let rev = "7ad367535a6710802085d41e0dbb53df359b9882";
+in
+buildGoPackage rec {
+ pname = "sonobuoy";
+ version = "0.15.0";
+
+ goPackagePath = "github.com/heptio/sonobuoy";
+
+ buildFlagsArray =
+ let t = goPackagePath;
+ in ''
+ -ldflags=
+ -s -X ${t}/pkg/buildinfo.Version=${version}
+ -X ${t}/pkg/buildinfo.GitSHA=${rev}
+ -X ${t}/pkg/buildDate=unknown
+ '';
+
+ src = fetchFromGitHub {
+ sha256 = "0dkmhmr7calk8mkdxfpy3yjzk10ja4gz1jq8pgk3v8rh04f4h1x5";
+ rev = "v${version}";
+ repo = "sonobuoy";
+ owner = "heptio";
+ };
+
+ meta = with lib; {
+ description = ''
+ Diagnostic tool that makes it easier to understand the
+ state of a Kubernetes cluster.
+ '';
+ longDescription = ''
+ Sonobuoy is a diagnostic tool that makes it easier to understand the state of
+ a Kubernetes cluster by running a set of Kubernetes conformance tests in an
+ accessible and non-destructive manner.
+ '';
+
+ homepage = "https://github.com/heptio/sonobuoy";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ carlosdagos ];
+ };
+}
diff --git a/pkgs/applications/networking/cluster/spark/default.nix b/pkgs/applications/networking/cluster/spark/default.nix
index 3572bfe7f5b..e675d17491a 100644
--- a/pkgs/applications/networking/cluster/spark/default.nix
+++ b/pkgs/applications/networking/cluster/spark/default.nix
@@ -15,18 +15,19 @@ with stdenv.lib;
stdenv.mkDerivation rec {
- name = "spark-${version}";
+ pname = "spark";
+ inherit version;
src = fetchzip {
inherit sha256;
- url = "mirror://apache/spark/${name}/${name}-bin-without-hadoop.tgz";
+ url = "mirror://apache/spark/${pname}-${version}/${pname}-${version}-bin-without-hadoop.tgz";
};
buildInputs = [ makeWrapper jre pythonPackages.python pythonPackages.numpy ]
++ optional RSupport R
++ optional mesosSupport mesos;
- untarDir = "${name}-bin-without-hadoop";
+ untarDir = "${pname}-${version}-bin-without-hadoop";
installPhase = ''
mkdir -p $out/{lib/${untarDir}/conf,bin,/share/java}
mv * $out/lib/${untarDir}
diff --git a/pkgs/applications/networking/cluster/ssm-agent/default.nix b/pkgs/applications/networking/cluster/ssm-agent/default.nix
index 052797db2f3..0835d268cd7 100644
--- a/pkgs/applications/networking/cluster/ssm-agent/default.nix
+++ b/pkgs/applications/networking/cluster/ssm-agent/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
- name = "${pname}-${version}";
pname = "amazon-ssm-agent";
version = "2.0.633.0";
diff --git a/pkgs/applications/networking/cluster/stern/default.nix b/pkgs/applications/networking/cluster/stern/default.nix
index bb0f3229ea5..144d46043ff 100644
--- a/pkgs/applications/networking/cluster/stern/default.nix
+++ b/pkgs/applications/networking/cluster/stern/default.nix
@@ -3,16 +3,16 @@
let isCrossBuild = stdenv.hostPlatform != stdenv.buildPlatform; in
buildGoPackage rec {
- name = "stern-${version}";
- version = "1.10.0";
+ pname = "stern";
+ version = "1.11.0";
goPackagePath = "github.com/wercker/stern";
src = fetchFromGitHub {
owner = "wercker";
repo = "stern";
- rev = "${version}";
- sha256 = "05wsif0pwh2v4rw4as36f1d9r149zzp2nyc0z4jwnj9nx58nfpll";
+ rev = version;
+ sha256 = "0xndlq0ks8flzx6rdd4lnkxpkbvdy9sj1jwys5yj7p989ls8by3n";
};
goDeps = ./deps.nix;
diff --git a/pkgs/applications/networking/cluster/taktuk/default.nix b/pkgs/applications/networking/cluster/taktuk/default.nix
index c61896d8921..3423163f590 100644
--- a/pkgs/applications/networking/cluster/taktuk/default.nix
+++ b/pkgs/applications/networking/cluster/taktuk/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
version = "3.7.7";
- name = "taktuk-${version}";
+ pname = "taktuk";
buildInputs = [ perl ];
src = fetchurl {
- url = "https://gforge.inria.fr/frs/download.php/33412/${name}.tar.gz";
+ url = "https://gforge.inria.fr/frs/download.php/33412/${pname}-${version}.tar.gz";
sha256 = "0w0h3ynlcxvq2nzm8hkj20g0805ww3vkw53g0qwj7wvp7p3gcvnr";
};
diff --git a/pkgs/applications/networking/cluster/terraform-docs/default.nix b/pkgs/applications/networking/cluster/terraform-docs/default.nix
index 2b39cebbbeb..606cd0370aa 100644
--- a/pkgs/applications/networking/cluster/terraform-docs/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-docs/default.nix
@@ -1,6 +1,5 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "${pname}-${version}";
pname = "terraform-docs";
version = "0.6.0";
diff --git a/pkgs/applications/networking/cluster/terraform-inventory/default.nix b/pkgs/applications/networking/cluster/terraform-inventory/default.nix
index dd4a36807ea..1bb8df88d01 100644
--- a/pkgs/applications/networking/cluster/terraform-inventory/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-inventory/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub}:
buildGoPackage rec {
- name = "terraform-inventory-${version}";
+ pname = "terraform-inventory";
version = "0.7-pre";
rev = "v${version}";
diff --git a/pkgs/applications/networking/cluster/terraform-landscape/default.nix b/pkgs/applications/networking/cluster/terraform-landscape/default.nix
index aa523506850..6973938b60d 100644
--- a/pkgs/applications/networking/cluster/terraform-landscape/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-landscape/default.nix
@@ -1,18 +1,18 @@
-{ lib, bundlerApp, ruby }:
-let
- version = (import ./gemset.nix).terraform_landscape.version;
-in bundlerApp {
+{ lib, bundlerApp, bundlerUpdateScript }:
+
+bundlerApp {
pname = "terraform_landscape";
- inherit ruby;
gemdir = ./.;
exes = [ "landscape" ];
+ passthru.updateScript = bundlerUpdateScript "terraform-landscape";
+
meta = with lib; {
description = "Improve Terraform's plan output to be easier to read and understand";
homepage = https://github.com/coinbase/terraform-landscape;
license = with licenses; apsl20;
- maintainers = with maintainers; [ mbode manveru ];
+ maintainers = with maintainers; [ mbode manveru nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/cluster/terraform-providers/ansible/default.nix b/pkgs/applications/networking/cluster/terraform-providers/ansible/default.nix
new file mode 100644
index 00000000000..bb634a78e23
--- /dev/null
+++ b/pkgs/applications/networking/cluster/terraform-providers/ansible/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchFromGitHub, buildGoPackage }:
+buildGoPackage rec {
+ pname = "terraform-provider-ansible";
+ version = "1.0.3";
+
+ goPackagePath = "github.com/nbering/terraform-provider-ansible";
+ goDeps = ./deps.nix;
+
+ src = fetchFromGitHub {
+ owner = "nbering";
+ repo = "terraform-provider-ansible";
+ rev = "v${version}";
+ sha256 = "0dqi9ym0xvnz3h73cmd1vf6k2qwfhxvj1mcakkpmsd4cpxq4l6pr";
+ };
+
+ # Terraform allow checking the provider versions, but this breaks
+ # if the versions are not provided via file paths.
+ postBuild = "mv go/bin/terraform-provider-ansible{,_v${version}}";
+
+ meta = with stdenv.lib; {
+ description = "A Terraform provider serving as an interop layer for an Ansible dynamic inventory script.";
+ homepage = "https://github.com/nbering/terraform-provider-ansible";
+ license = licenses.mpl20;
+ maintainers = with maintainers; [ uskudnik ];
+ };
+}
diff --git a/pkgs/applications/networking/cluster/terraform-providers/ansible/deps.nix b/pkgs/applications/networking/cluster/terraform-providers/ansible/deps.nix
new file mode 100644
index 00000000000..dc49f24afa5
--- /dev/null
+++ b/pkgs/applications/networking/cluster/terraform-providers/ansible/deps.nix
@@ -0,0 +1,11 @@
+[
+ {
+ goPackagePath = "github.com/hashicorp/terraform";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hashicorp/terraform";
+ rev = "v0.12.5";
+ sha256 = "0p064rhaanwx4szs8hv6mdqad8d2bgfd94h2la11j58xbsxc7hap";
+ };
+ }
+]
diff --git a/pkgs/applications/networking/cluster/terraform-providers/data.nix b/pkgs/applications/networking/cluster/terraform-providers/data.nix
index c382ab9d3cf..16056d9185b 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/data.nix
+++ b/pkgs/applications/networking/cluster/terraform-providers/data.nix
@@ -4,15 +4,15 @@
{
owner = "terraform-providers";
repo = "terraform-provider-acme";
- version = "1.1.2";
- sha256 = "1l77pckiwa72lwbwbqkjzy6m9xsgp13spmzc80gfl4q0gd3d46an";
+ version = "1.3.5";
+ sha256 = "0xjxxz3vxq7vk7sv6b5p57z5x92dmrm44v6ksffcg76ngc40nrxk";
};
alicloud =
{
owner = "terraform-providers";
repo = "terraform-provider-alicloud";
- version = "1.41.0";
- sha256 = "0bl24mgk0rangwwbz43ybymcivn3kjjg35rrvv7ashvhmx58qcf8";
+ version = "1.54.0";
+ sha256 = "01pmhwdnhfsk785ja11hxn5l5fmklnkiv12kv2pw2280cdljfcv4";
};
archive =
{
@@ -39,57 +39,57 @@
{
owner = "terraform-providers";
repo = "terraform-provider-aws";
- version = "2.9.0";
- sha256 = "1gkw60ihc2b3qhb110m0mckfvb21lqgx4vc4x249mfxxk25i26s7";
+ version = "2.23.0";
+ sha256 = "0yscy0qmdl07air0b16i6zd0w8y3z20pk5l53pwm78ssdxn3w6qc";
};
azuread =
{
owner = "terraform-providers";
repo = "terraform-provider-azuread";
- version = "0.3.1";
- sha256 = "1bs4m9hwdag58by49zsjpys3xvxg98nq8qims17mc82pbsz6mpag";
+ version = "0.5.1";
+ sha256 = "0bjy6wdfzsxchqclgp7c06b49b5h60nips69hcpwd45564iql5fh";
};
azurerm =
{
owner = "terraform-providers";
repo = "terraform-provider-azurerm";
- version = "1.27.1";
- sha256 = "0lxa84j9kzinblz7zp4gizizj0sy0vidkjvgnb99sr3861rak1x5";
+ version = "1.32.1";
+ sha256 = "0ydzibmvz52i62pk0g96rl7vxhff5izrsgdwk6lgc56nw63w2l8g";
};
azurestack =
{
owner = "terraform-providers";
repo = "terraform-provider-azurestack";
- version = "0.6.0";
- sha256 = "0lh0an3bz3kh2s6ncadikivr08fj8cvq7zm20csmjbgwgicq4gl8";
+ version = "0.8.1";
+ sha256 = "1sbmjrqzzn8rf9xhaax2ykyg199sggx80apx0xvd4ab82c3ldyfw";
};
bigip =
{
owner = "terraform-providers";
repo = "terraform-provider-bigip";
- version = "0.12.2";
- sha256 = "0pplv5hi1kjli0jpya12crb5dkc6bkzvm8094rwhjbxb4f65ca5d";
+ version = "0.12.3";
+ sha256 = "1zlwk7jp5r45b3rwkxsq9mqf4nym3ifx56vhcvyc9a3w25s0ss8p";
};
bitbucket =
{
owner = "terraform-providers";
repo = "terraform-provider-bitbucket";
- version = "1.0.0";
- sha256 = "0gi8p1q0y8x5y8lqihijkpqs3v152h0q7icv7ixk33xsdcvb418y";
+ version = "1.1.0";
+ sha256 = "06bjagbgpgfphwym015wl00wx6qf7lsdig0fhpxqaykvlkn3sg49";
};
brightbox =
{
owner = "terraform-providers";
repo = "terraform-provider-brightbox";
- version = "1.1.2";
- sha256 = "0k9qs7kpjznascads5llajzx2xkm4hdil2n4wl0fqy43s6dkvbbf";
+ version = "1.2.0";
+ sha256 = "0s1b2k58r2kmjrdqrkw2dlfpby79i81gml9rpa10y372bwq314zd";
};
chef =
{
owner = "terraform-providers";
repo = "terraform-provider-chef";
- version = "0.1.0";
- sha256 = "17fppyhxi0rd5v8khw2psdn2hdv5j79hxhinwkzrq5s4iccqk5dw";
+ version = "0.2.0";
+ sha256 = "0ihn4706fflmf0585w22l7arzxsa9biq4cgh8nlhlp5y0zy934ns";
};
circonus =
{
@@ -109,50 +109,50 @@
{
owner = "terraform-providers";
repo = "terraform-provider-cloudflare";
- version = "1.13.0";
- sha256 = "01fgcycn5g53cx32xcgrpcpvjxwb8w11hs0f7s2bhg6cq0v9higj";
+ version = "1.17.1";
+ sha256 = "0kmkk5fhgsvjakqrfs7p92dcljn04asxq15af1r9n5csq54q7na3";
};
cloudscale =
{
owner = "terraform-providers";
repo = "terraform-provider-cloudscale";
- version = "1.1.0";
- sha256 = "09b1cq0vyyag8aaiwmhnwrgigmxvxk3qsk31h4hshm7ddk7db9qn";
+ version = "2.0.0";
+ sha256 = "145hj4pbi5zrkgamicy3m1n3380fpd2ndd6ym7mwd65d95g39vwb";
};
cloudstack =
{
owner = "terraform-providers";
repo = "terraform-provider-cloudstack";
- version = "0.2.0";
- sha256 = "1v46da55a8a0hnw319swz3pkd62afy7hdwzybxmp48hxh1i6af74";
+ version = "0.3.0";
+ sha256 = "0zmyww6z3j839ydlmv254hr8gcsixng4lcvmiwkhxb3hj1nw8hcw";
};
cobbler =
{
owner = "terraform-providers";
repo = "terraform-provider-cobbler";
- version = "1.0.1";
- sha256 = "1z0iijfrbbdrgszvc7jlcr4105zragbc0iq8x48vi24yipqgf5a8";
+ version = "1.1.0";
+ sha256 = "08ljqibfi6alpvv8f7pzvjl2k4w6br6g6ac755x4xw4ycrr24xw9";
};
consul =
{
owner = "terraform-providers";
repo = "terraform-provider-consul";
- version = "2.3.0";
- sha256 = "06b6yjmaq7sq26kfsqxlxmz5mnr1xsn1vywndh14grqwg6zmsrl6";
+ version = "2.5.0";
+ sha256 = "1nmldxn4y87fyb308dajjzcyvxrr6ka5nicyw84a8s7pixzbqh6q";
};
datadog =
{
owner = "terraform-providers";
repo = "terraform-provider-datadog";
- version = "1.9.0";
- sha256 = "0c5s9ywd6p4qjd964y33rcqcgfqz225x5rp0jlsqxbv9i2r91fb0";
+ version = "2.1.0";
+ sha256 = "0k7apad2r07gw9kf0zzqc8wa2wcmxihi3x8sdssl32qjib20qwv1";
};
digitalocean =
{
owner = "terraform-providers";
repo = "terraform-provider-digitalocean";
- version = "1.3.0";
- sha256 = "1bi482s6s3v7sqknwwchscwwncwrhr4jl4gl4l25bngp1kd7cp7i";
+ version = "1.6.0";
+ sha256 = "06cxm3qcym8jwp4nl1bzk3p9fbaz26bvddqzn3p8l57c802qqds6";
};
dme =
{
@@ -165,113 +165,113 @@
{
owner = "terraform-providers";
repo = "terraform-provider-dns";
- version = "2.1.1";
- sha256 = "1iyfsx1fbpvp3zjrkq8c46nr6d80z40mzkfc4axfpqyrp9xqiy8j";
+ version = "2.2.0";
+ sha256 = "11xdxj6hfclaq9glbh14nihmrsk220crm9ld8bdv77w0bppmrrch";
};
dnsimple =
{
owner = "terraform-providers";
repo = "terraform-provider-dnsimple";
- version = "0.1.0";
- sha256 = "0gkd5i69ldm5zn34p3k68aqk798g6g0d60gw7yp316l7mskvrx7h";
+ version = "0.2.0";
+ sha256 = "0jj82fffqaz7gramj5d4avx7vka6w190yz4r9q7628qh8ih2pfhz";
};
docker =
{
owner = "terraform-providers";
repo = "terraform-provider-docker";
- version = "1.1.1";
- sha256 = "0bqwdx8hb7bym4hh01a0n1zrgb1081rvn0qawck712wz0jkzv1r3";
+ version = "2.1.1";
+ sha256 = "0px3xj76ay5ixpmynas49z31xmk4zmpn0917y6a20kr2x2abi9zb";
};
dyn =
{
owner = "terraform-providers";
repo = "terraform-provider-dyn";
- version = "1.1.0";
- sha256 = "0sx4h3drb230m69lsmafyfd2cfvwnb9gld8s6ky54115kd3nckml";
+ version = "1.2.0";
+ sha256 = "1a3kxmbib2y0nl7gnxknbhsflj5kfknxnm3gjxxrb2h5d2kvqy48";
};
external =
{
owner = "terraform-providers";
repo = "terraform-provider-external";
- version = "1.1.2";
- sha256 = "12wdzm3y0fd840bdf0dczvvmdmfwpfwfwnf0j4g6n9asdcvjaqlh";
+ version = "1.2.0";
+ sha256 = "1kx28bffhd1pg3m0cbldclc8l9zic16mqrk7gybcls9vyds5gbvc";
};
fastly =
{
owner = "terraform-providers";
repo = "terraform-provider-fastly";
- version = "0.6.0";
- sha256 = "1z9qrqcib2rxy8s4glb4ggdkqcq7rwphiclsr1zncyly2n6887yj";
+ version = "0.9.0";
+ sha256 = "0g3rgi6s9hyb6vzl682n8zqz5virdxvxh04v88n9iy5r7hwrxxzg";
};
flexibleengine =
{
owner = "terraform-providers";
repo = "terraform-provider-flexibleengine";
- version = "1.5.0";
- sha256 = "17dksrqkh35wf0clqcd4v6ggmzc7xmrw8q7q0qa9n9zqyg1zibqk";
+ version = "1.6.0";
+ sha256 = "0vz68nhpy93zsdssxzr41flrwhjqh7wcjrc4nklg6kmr99n6jcc6";
};
github =
{
owner = "terraform-providers";
repo = "terraform-provider-github";
- version = "2.0.0";
- sha256 = "1lvizak27qxgggp5xb15s8f504cjgr633889cv2jsr2rn64z4jv5";
+ version = "2.2.0";
+ sha256 = "1h44v7428z3v3hv6ywi3n0yhnvgx9cr6vgqb1n2w1qf7k2f0jkzx";
};
gitlab =
{
owner = "terraform-providers";
repo = "terraform-provider-gitlab";
- version = "1.3.0";
- sha256 = "0lh1v20msahcfjc22v7yf1cwinaq0zy2m8f7sl5jfn294j9nbam8";
+ version = "2.2.0";
+ sha256 = "0iz5ggjkcip86cz2zmsryad34hly542grwzlm5rvpcmfw5csjadw";
};
google =
{
owner = "terraform-providers";
repo = "terraform-provider-google";
- version = "2.6.0";
- sha256 = "0y93hfwhzbk7dl7cw5lw2gwf5hdbc7rs9gh10b39vxgv9jrj4kqv";
+ version = "2.12.0";
+ sha256 = "15fdpmdikm77hlfksdbcblysb82sd51vw4ninx60hzgddqp6ll4m";
};
google-beta =
{
owner = "terraform-providers";
repo = "terraform-provider-google-beta";
- version = "2.6.0";
- sha256 = "1bm3nrv2pa6mf6l4vn5b0hads7bhp67bnhc5y72yingfky7kva5h";
+ version = "2.12.0";
+ sha256 = "11aky7jvm7i39pnj3ypy42d9yk9akqb3wjb03hyllzfddwhvay5q";
};
grafana =
{
owner = "terraform-providers";
repo = "terraform-provider-grafana";
- version = "1.3.0";
- sha256 = "1gyma31iv05nfy9jrd8zlkls35fbrxx4nrh56gdgwchv054rxzff";
+ version = "1.5.0";
+ sha256 = "0zy3bqgpxymp2zygaxzllk1ysdankwxa1sy1djfgr4fs2nlggkwi";
};
hcloud =
{
owner = "terraform-providers";
repo = "terraform-provider-hcloud";
- version = "1.9.0";
- sha256 = "08ag1xwn6vj4w8kz37z8hsi8lkvfwkw5n8wjb5c03g9yva1j85yx";
+ version = "1.12.0";
+ sha256 = "1r61s7chq636fcjv67g0vjlc35xx0ycy58hg6b5i5rdc9737v7hp";
};
hedvig =
{
owner = "terraform-providers";
repo = "terraform-provider-hedvig";
- version = "1.0.3";
- sha256 = "0kqnbd78m4r97b5w7skkpcnhc0bqh2cky7q0inhdhsb7gvivz1b1";
+ version = "1.0.4";
+ sha256 = "0y6brzznxp8khdfbnpmnbjqf140411z0pvnp88p8mj2kmbk7kkjd";
};
helm =
{
owner = "terraform-providers";
repo = "terraform-provider-helm";
- version = "0.9.1";
- sha256 = "189w8zz2fv0qfggzxmppaw8814c7kylgb11m1r9mqii3phsgnlz1";
+ version = "0.10.2";
+ sha256 = "1xp8dx6ncskmfa9bjd54434f4a7pnjz5r3yvnh1hmv3i5ykfxzdn";
};
heroku =
{
owner = "terraform-providers";
repo = "terraform-provider-heroku";
- version = "1.9.0";
- sha256 = "1qabhf2qm7ba5jw6hclkcp2pw8c39ggrqkhhqg0bh03h220rl22x";
+ version = "2.1.2";
+ sha256 = "0n8id5rw4hzsiic9yv4rzm709npagv9sfp6dd1ax6np5kai78b87";
};
http =
{
@@ -284,8 +284,8 @@
{
owner = "terraform-providers";
repo = "terraform-provider-huaweicloud";
- version = "1.4.0";
- sha256 = "018b57cndl72vjlijwvjx64rxjgimcqq1f6dxdny3wj1j4i0h4fi";
+ version = "1.7.0";
+ sha256 = "1yhyyh33hvzs74pryb383p1w0c0d4vn23pnm6snxi1cw49wgiiyf";
};
icinga2 =
{
@@ -298,22 +298,22 @@
{
owner = "terraform-providers";
repo = "terraform-provider-ignition";
- version = "1.0.1";
- sha256 = "1j9rgwrb4bnm8a44rg3d9fry46wlpfkwxxpkpw9y6l24php0qxh8";
+ version = "1.1.0";
+ sha256 = "0vpjbb70wnlrvw7z2zc92fbisgjk49ivdmv10ahyqlgvc23js5va";
};
influxdb =
{
owner = "terraform-providers";
repo = "terraform-provider-influxdb";
- version = "1.1.0";
- sha256 = "1mxvc3pwzgj7r79a5vz8n489xny12wa75zpppgh7948fy8m8b23f";
+ version = "1.3.0";
+ sha256 = "19af40g8hgz2rdz6523v0fs71ww7qdlf2mh5j9vb7pfzriqwa5k9";
};
kubernetes =
{
owner = "terraform-providers";
repo = "terraform-provider-kubernetes";
- version = "1.6.2";
- sha256 = "14jql78a1rw1wl97myry29lgmqkcdn44qgmzjrfky958afnkgiig";
+ version = "1.8.1";
+ sha256 = "0jcc3i10x0qz7sj8l5yv98jc2g32a6yhdpc45sq33wmhcvp1fsn4";
};
librato =
{
@@ -326,15 +326,15 @@
{
owner = "terraform-providers";
repo = "terraform-provider-linode";
- version = "1.6.0";
- sha256 = "0i2x0jd26qanziihlc38s7rxiab66ld2s5gz18rrmrbwhcl95fwj";
+ version = "1.8.0";
+ sha256 = "1jgh2ij58a5mr6ns604cfpvfvr19qr0q51j57gvchz53iv683m9q";
};
local =
{
owner = "terraform-providers";
repo = "terraform-provider-local";
- version = "1.2.2";
- sha256 = "0azrw62clki002nlv7ws3kzfsbqkadm713534i4xgvix2m08d1cx";
+ version = "1.3.0";
+ sha256 = "1z6b52vdq7wzzipldys28z45glwgj9k15ighjix1dy78mzi0p99n";
};
logentries =
{
@@ -347,8 +347,8 @@
{
owner = "terraform-providers";
repo = "terraform-provider-logicmonitor";
- version = "1.2.0";
- sha256 = "1zir35i8j5w7ra4i7f9k0ghac9b3bar0dy16sqy1kqwbh4ikmhb8";
+ version = "1.2.1";
+ sha256 = "1fcv5g92l6xr4x69h9rg48zazjr99wrz9mkmr122fyq9s7kdd98y";
};
mailgun =
{
@@ -361,43 +361,43 @@
{
owner = "terraform-providers";
repo = "terraform-provider-mysql";
- version = "1.5.1";
- sha256 = "0i5s62z3cdg3mhahf09nyw8l2hcx6d7jp3hr3n8rcjwj3ajj8qis";
+ version = "1.7.0";
+ sha256 = "19l1ihp5jlaahm8zncjlrnfw8d8gcpnq3z6pn421j1x0d5v5vw9b";
};
netlify =
{
owner = "terraform-providers";
repo = "terraform-provider-netlify";
- version = "0.1.0";
- sha256 = "1lf66nzqcgzjwvh1lv2jp8gcj6apdanlinci5pri8mgv5r1pv40l";
+ version = "0.3.0";
+ sha256 = "0mmbli6d3fbpyvvdfsg32f1w83g8ga3x21b36rgmx3mn156r7yij";
};
newrelic =
{
owner = "terraform-providers";
repo = "terraform-provider-newrelic";
- version = "1.5.0";
- sha256 = "1if8i435v4nf18hdvwwz3nvlkaf8yjzcxi300blri2xfx95chsxw";
+ version = "1.5.1";
+ sha256 = "1xrwh9m1sig4hd2vvb7apy2gh8rz15wdrajggzmmpc1z1rlhf90p";
};
nomad =
{
owner = "terraform-providers";
repo = "terraform-provider-nomad";
- version = "1.3.0";
- sha256 = "06kq0qkrgnj7z13xrgb9shid356m55mz0hkdbm4vfz3fx863mvl3";
+ version = "1.4.1";
+ sha256 = "1v4wwinnb2qc71jgil4607kgdccjivssabqgb5l3yk8pwfidgdnr";
};
ns1 =
{
owner = "terraform-providers";
repo = "terraform-provider-ns1";
- version = "1.3.1";
- sha256 = "04ibq5dgxqb5lpnvqxg4xkb498w77p2sbjfyy9zj7m5i62xrwg79";
+ version = "1.5.0";
+ sha256 = "1m6f1hsx2gcb5b50sm8cj04hkmn71xlxji8qwlswasz2sg1sllrx";
};
nsxt =
{
owner = "terraform-providers";
repo = "terraform-provider-nsxt";
- version = "1.1.0";
- sha256 = "0y9n4acbrjf5n2v8j10qfnz8677gil60by5miz3wd2qpxwgmhhm8";
+ version = "1.1.1";
+ sha256 = "19bbycify25bshpyq65qjxnl72b6wmwwwdb7hxl94hhbgx2c9z29";
};
null =
{
@@ -417,8 +417,8 @@
{
owner = "terraform-providers";
repo = "terraform-provider-oci";
- version = "3.24.1";
- sha256 = "1yhcxwg3ivrgzasdsf5yq8v6h4j1lprnm881xfm4h1rpq465y1mj";
+ version = "3.37.0-rc1";
+ sha256 = "0ahqnh9qzixp434qn2ckj8p32kb9x26l1xz8yr84h6sqfrn58bcv";
};
oneandone =
{
@@ -431,22 +431,22 @@
{
owner = "terraform-providers";
repo = "terraform-provider-opc";
- version = "1.3.6";
- sha256 = "1b11837j0d8s59pjkankbm3p5l87aw1s17mn2q7nvy65kgzalsra";
+ version = "1.3.7";
+ sha256 = "01g09w8mqfp1d8phplsdj0vz63q5bgq9fqwy2kp4vrnwb70dq52w";
};
openstack =
{
owner = "terraform-providers";
repo = "terraform-provider-openstack";
- version = "1.18.0";
- sha256 = "05sr6vra4fsrysrz7a77vaa5zklhxf4hl8g029y9l1fln7vdpssg";
+ version = "1.21.1";
+ sha256 = "0nvhn2bnk11sz4i98yw7rpxi8b3c2y04qq37ybvqx2jyi3n9kj30";
};
opentelekomcloud =
{
owner = "terraform-providers";
repo = "terraform-provider-opentelekomcloud";
- version = "1.8.0";
- sha256 = "068ap0sw17xmrfvri1yx70qdi8i5h0qhsm9bakm532xjxlgmaxpv";
+ version = "1.11.0";
+ sha256 = "175j2bbw3bdbjq1b7b1kwsr8iay9aafz165d0brfpb8gf096y7xa";
};
opsgenie =
{
@@ -466,43 +466,43 @@
{
owner = "terraform-providers";
repo = "terraform-provider-ovh";
- version = "0.3.0";
- sha256 = "05bzkwa50alh8mpslh64dddp815m8df240w1mmphdmp9rsi6hqp8";
+ version = "0.5.0";
+ sha256 = "07n8ismxbv0gngh4kibqhr4ndqkrg6gxbpj3zl764rrwp54gwgbw";
};
packet =
{
owner = "terraform-providers";
repo = "terraform-provider-packet";
- version = "2.1.0";
- sha256 = "0hj8av0yry0wsi8fwgs0z9x9jxcnxz8imsanbdsrhb8lsj70n25v";
+ version = "2.3.0";
+ sha256 = "1v2758wjhrn7rhwdx658w3sf1q5lp4cawl6llbv4p16c5fyzwwc2";
};
pagerduty =
{
owner = "terraform-providers";
repo = "terraform-provider-pagerduty";
- version = "1.2.1";
- sha256 = "1b0fbzqalcxngnxk51afxkhs82bj68sjakvb28p0im0x1lblxj0n";
+ version = "1.3.1";
+ sha256 = "1x29ya0xcjj2b3x2q2q7iyqric8vswf18a5bwhwv2017c1g4n299";
};
panos =
{
owner = "terraform-providers";
repo = "terraform-provider-panos";
- version = "1.5.1";
- sha256 = "17w4zkc445bpfq6pqx575y5njsak18yca1y2by4chg9d05inphqd";
+ version = "1.5.2";
+ sha256 = "0sycgr4k4dlhxj5klmgg2xcw3xha06332ij8cfzz4xvgdq0xky3j";
};
postgresql =
{
owner = "terraform-providers";
repo = "terraform-provider-postgresql";
- version = "0.3.0";
- sha256 = "0z1xdzl5mn6dxgkgmysq06g3fg9cdlwa59ng42r6kffcbl0mwgfh";
+ version = "1.1.0";
+ sha256 = "1dxspqajfy8dmplasazi4s34f47n1qz7qg2dr9ypdvd3jp63072w";
};
powerdns =
{
owner = "terraform-providers";
repo = "terraform-provider-powerdns";
- version = "0.1.0";
- sha256 = "1k9xjx2smk6478dsrcnqk1k6r2pddpa9n8aghq5d1a5yhfsq5zzz";
+ version = "1.0.0";
+ sha256 = "1qh4z69b0sqxwjjgc8xis165gdszav9yc85ba6pgyl3wbymkld30";
};
profitbricks =
{
@@ -515,64 +515,64 @@
{
owner = "terraform-providers";
repo = "terraform-provider-rabbitmq";
- version = "1.0.0";
- sha256 = "1md928243r4c46ihjnavz2375nxnfyhknyc86r9853hwhhyhsx5d";
+ version = "1.1.0";
+ sha256 = "0xihc44923kx8c3v6wrvczzbhmbjkhy7dhgx3sy5sqhmm22y0gys";
};
rancher =
{
owner = "terraform-providers";
repo = "terraform-provider-rancher";
- version = "1.2.1";
- sha256 = "1z0gqchb268w5mw0519fbx4126nkxb9kvvay8vjj287yxdpi5grj";
+ version = "1.4.0";
+ sha256 = "106arszmdjmgrz4iv01bbf72jarn7zjqvmc43b6n1s3lzd7jnfpc";
};
random =
{
owner = "terraform-providers";
repo = "terraform-provider-random";
- version = "2.1.2";
- sha256 = "102bgd8s9yhm2ny2akv04mhwf5mphqhsxx9vxjbg7ygqnz9ka5nw";
+ version = "2.2.0";
+ sha256 = "0vg33jbvyxvg4dwcwjb2p57jjkq7qj50d356r4a1f2ysl2axwwjw";
};
rightscale =
{
owner = "terraform-providers";
repo = "terraform-provider-rightscale";
- version = "1.3.0";
- sha256 = "1brzxyd5hg99x75qh0p707lr9cvqpzx2az1swr624w3rzhjl2ygm";
+ version = "1.3.1";
+ sha256 = "0abwxaghrxpahpsk6kd02fjh0rhck4xsdrzcpv629yh8ip9rzcaj";
};
rundeck =
{
owner = "terraform-providers";
repo = "terraform-provider-rundeck";
- version = "0.1.0";
- sha256 = "0rp8cgnp8in52g7zkl2lj42hns0g27m8f7l42lhfnv6n2vv5qxcg";
+ version = "0.4.0";
+ sha256 = "1x131djsny8w84yf7w2il33wlc3ysy3k399dziii2lmq4h8sgrpr";
};
runscope =
{
owner = "terraform-providers";
repo = "terraform-provider-runscope";
- version = "0.5.0";
- sha256 = "0n0m39gaiwhqigjny51a7g36ldik33alimkqqbv6hqyzrhk0qs8h";
+ version = "0.6.0";
+ sha256 = "1fsph2cnyvzdwa5hwdjabfk4azmc3x8a7afpwpawxfdvqhgpr595";
};
scaleway =
{
owner = "terraform-providers";
repo = "terraform-provider-scaleway";
- version = "1.9.2";
- sha256 = "0wjkjf4sc3rfxiz3lfw6cfhdn8a7pzmyfw1f2dsp3a6fpa2srbph";
+ version = "1.10.0";
+ sha256 = "0sbcvcd413f53b25piymmh4rfmlmqsxdscpar8gf2dx6mrsacgf0";
};
selectel =
{
owner = "terraform-providers";
repo = "terraform-provider-selectel";
- version = "2.1.0";
- sha256 = "078pyml9nwv7347yni1h7mjdp8sd4zyccv80mgjn8xh2q208fqpg";
+ version = "2.3.0";
+ sha256 = "0n0nqlajcx44zxbc2k58lv3jy2y6p9zqkby2vy5a2856kcksm7pf";
};
skytap =
{
owner = "terraform-providers";
repo = "terraform-provider-skytap";
- version = "0.9.0";
- sha256 = "15p2rfaqw5iab8fkxcxigp7nxvs4gmgr2v8ysfyjz01mgwidd0rq";
+ version = "0.11.1";
+ sha256 = "1mlv6jp6lp47chcnsmx8dzy01bxpb9jx1wl122lxd88app9nxq1k";
};
softlayer =
{
@@ -585,15 +585,15 @@
{
owner = "terraform-providers";
repo = "terraform-provider-spotinst";
- version = "1.13.2";
- sha256 = "1v3vgnspg3g0hvwzfplyvl37jxpc9m6hcsnmw6lkfqr57dy4dhlc";
+ version = "1.13.3";
+ sha256 = "0s75xlw8y3rz1ik11dnh3dzkk1jfklvq3wsf2fam0789z2j1zr1m";
};
statuscake =
{
owner = "terraform-providers";
repo = "terraform-provider-statuscake";
- version = "0.2.0";
- sha256 = "065izach0hq04664hz7rc3gd0r3l06lzwcbj5800zjfv1inp6pxs";
+ version = "1.0.0";
+ sha256 = "1x295va6c72465cxps0kx3rrb7s9aip2cniy6icsg1b2yrsb9b26";
};
telefonicaopencloud =
{
@@ -613,8 +613,8 @@
{
owner = "terraform-providers";
repo = "terraform-provider-tencentcloud";
- version = "1.5.0";
- sha256 = "04psgirl78klbpzllcvzl510j66jcavxmi9zxnwmmmw128a3dig2";
+ version = "1.15.0";
+ sha256 = "1ics91fxsl1z1wqd961wdn2s22ck25yphp341qlbs8ln2dcwk8r7";
};
terraform =
{
@@ -627,8 +627,8 @@
{
owner = "terraform-providers";
repo = "terraform-provider-tfe";
- version = "0.8.2";
- sha256 = "0apxf197g4mrxybbx1vrk2i3fnw4cf23aq1wjhks5fkvm4wshgl7";
+ version = "0.10.1";
+ sha256 = "09hrdschgydnziq1sv6ql7gc4qwx8j4dnmx4fdw8452qpszk17n2";
};
tls =
{
@@ -648,8 +648,8 @@
{
owner = "terraform-providers";
repo = "terraform-provider-ucloud";
- version = "1.6.0";
- sha256 = "0ijksfjqc91gxf45w9h2r024zgyqpr4s7z6snyzxcdbnf8ahs9q0";
+ version = "1.11.1";
+ sha256 = "1la5kapdwpd2f6x00yc9j25rl8qkrndgqpzp2jp6mcbj5zif82ns";
};
ultradns =
{
@@ -662,36 +662,36 @@
{
owner = "terraform-providers";
repo = "terraform-provider-vault";
- version = "1.8.0";
- sha256 = "1g9cw14mzslb445yhj04dzs0s4cbhi4cxycd50vc3f9yyg6sz1rr";
+ version = "2.2.0";
+ sha256 = "0k9frx29pjrrx67cwzsrnj0x90ff5k99l5yzfgb58sajkz1j8nln";
};
vcd =
{
owner = "terraform-providers";
repo = "terraform-provider-vcd";
- version = "2.1.0";
- sha256 = "0azmjddysl38n58vk94zhm2g7s5aw71gvn83h4n7amf2j7p7ks9j";
+ version = "2.4.0";
+ sha256 = "020wmdl5cbma9r7sv3bx6v8b59w5nwkzgwj4xm7a2s6kn8jygr2x";
};
vsphere =
{
owner = "terraform-providers";
repo = "terraform-provider-vsphere";
- version = "1.10.0";
- sha256 = "039s95afqrcpf6jiprqsqnvlsnxbs5vcqrsgg6pbs52rlwp1ixgw";
+ version = "1.12.0";
+ sha256 = "0g3pnk2b4dmz5bkr7xjpp45dwy767k6a02rjva38xls185qs7i7c";
};
yandex =
{
owner = "terraform-providers";
repo = "terraform-provider-yandex";
- version = "0.5.2";
- sha256 = "1fa1jicirww0zxg5kw4343ndzq86x0m7gkfj8yx7l6lb6gcrkbic";
+ version = "0.9.0";
+ sha256 = "0x3l0pbpdsm43jsx42xzc46r9j40l7szkcf851q16wsxf70lchqr";
};
matchbox =
{
- owner = "coreos";
+ owner = "poseidon";
repo = "terraform-provider-matchbox";
- version = "0.2.3";
- sha256 = "12vf8krzx79yrsk3lk2k6vwwk1f18617ky7g2yf60bf2x836lg09";
+ version = "0.3.0";
+ sha256 = "1nq7k8qa7rv8xyryjigwpwcwvj1sw85c4j46rkfdv70b6js25jz3";
};
nixos =
{
@@ -714,11 +714,4 @@
version = "0.2.0";
sha256 = "0ic5b9djhnb1bs2bz3zdprgy3r55dng09xgc4d9l9fyp85g2amaz";
};
- ansible =
- {
- owner = "nbering";
- repo = "terraform-provider-ansible";
- version = "0.0.4";
- sha256 = "125a8vbpnahaxxrxj3mp0kj6ajssxnfb6l0spgnf118wg3bvlmw5";
- };
}
diff --git a/pkgs/applications/networking/cluster/terraform-providers/default.nix b/pkgs/applications/networking/cluster/terraform-providers/default.nix
index c542de912f3..fc6b7131385 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix
@@ -28,4 +28,5 @@ in
gandi = callPackage ./gandi {};
ibm = callPackage ./ibm {};
libvirt = callPackage ./libvirt {};
+ ansible = callPackage ./ansible {};
} // lib.mapAttrs (n: v: toDrv v) list
diff --git a/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/default.nix b/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/default.nix
index b9f28cbd6cb..1aadbbc5ccd 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/default.nix
@@ -1,24 +1,22 @@
-{ stdenv, fetchFromGitHub, buildGoPackage }:
-buildGoPackage rec {
- name = "terraform-provider-elasticsearch-${version}";
- version = "0.6.0";
-
- goPackagePath = "github.com/phillbaker/terraform-provider-elasticsearch";
-
- # ./deps.nix was generated using the work-around described in:
- # https://github.com/kamilchm/go2nix/issues/19
- goDeps = ./deps.nix;
+{ stdenv, fetchFromGitHub, buildGoModule }:
+buildGoModule rec {
+ pname = "terraform-provider-elasticsearch";
+ version = "0.7.0";
src = fetchFromGitHub {
owner = "phillbaker";
repo = "terraform-provider-elasticsearch";
rev = "v${version}";
- sha256 = "04i7jwhm1mg4m8p7y6yg83j76fx0ncallzbza1g1wc5cjjbkvgs2";
+ sha256 = "0ci9gcn9ijdbx25wa99iy0b3sl7akqa7b6gi9wnnl1dawpqznj7v";
};
+ modSha256 = "1xk21xswqwpv34j4ba4fj8lcbvfdd12x7rq1hrdyd21mdhmrhw0p";
+
+ subPackages = [ "." ];
+
# Terraform allow checking the provider versions, but this breaks
# if the versions are not provided via file paths.
- postBuild = "mv go/bin/terraform-provider-elasticsearch{,_v${version}}";
+ postInstall = "mv $out/bin/terraform-provider-elasticsearch{,_v${version}}";
meta = with stdenv.lib; {
description = "Terraform provider for elasticsearch";
diff --git a/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/deps.nix b/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/deps.nix
deleted file mode 100644
index b89e20cd486..00000000000
--- a/pkgs/applications/networking/cluster/terraform-providers/elasticsearch/deps.nix
+++ /dev/null
@@ -1,75 +0,0 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.3.0
-[
- {
- goPackagePath = "github.com/aws/aws-sdk-go";
- fetch = {
- type = "git";
- url = "https://github.com/aws/aws-sdk-go";
- rev = "512bdaf8bec30abd545b440447cebb57b53d3af9";
- sha256 = "1j7kjk6i8vg4nwlsxjypqz3gc9j1a9x8r3bg99w1x2ap3vrh7sl8";
- };
- }
- {
- goPackagePath = "github.com/deoxxa/aws_signing_client";
- fetch = {
- type = "git";
- url = "https://github.com/deoxxa/aws_signing_client";
- rev = "c20ee106809eacdffcc81ac7cb984261f8e3067e";
- sha256 = "01cw1f6hzgx1df730vdwd7vhbn7yl6zv3sr42iz4sd1dcdqwzlkq";
- };
- }
- {
- goPackagePath = "github.com/hashicorp/terraform";
- fetch = {
- type = "git";
- url = "https://github.com/hashicorp/terraform";
- rev = "dbce85d85ff0beebc660b3d1805b4ef15361af00";
- sha256 = "17kd3ln1i40qb8fll5918rvgackzf1ibmr7li1p9vky4ki3iwr0l";
- };
- }
- {
- goPackagePath = "github.com/mailru/easyjson";
- fetch = {
- type = "git";
- url = "https://github.com/mailru/easyjson";
- rev = "3fdea8d05856a0c8df22ed4bc71b3219245e4485";
- sha256 = "0g3crph77yhv4ipdnwqc32z4cp87ahi4ikad5kyy6q4znnxliz74";
- };
- }
- {
- goPackagePath = "github.com/olivere/elastic";
- fetch = {
- type = "git";
- url = "https://github.com/olivere/elastic";
- rev = "2a5234d20b058173aaea6835e671fc83eee777b0";
- sha256 = "08r62d29m6f7d5hwb9zm5b612wbvzd9sn97nb48q174gbk8685yw";
- };
- }
- {
- goPackagePath = "github.com/pkg/errors";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/errors";
- rev = "816c9085562cd7ee03e7f8188a1cfd942858cded";
- sha256 = "1ws5crb7c70wdicavl6qr4g03nn6m92zd6wwp9n2ygz5c8rmxh8k";
- };
- }
- {
- goPackagePath = "gopkg.in/olivere/elastic.v5";
- fetch = {
- type = "git";
- url = "https://gopkg.in/olivere/elastic.v5";
- rev = "b708306d715bea9b983685e94ab4602cdc9f988b";
- sha256 = "0ks0h0ik0aqjm8dm2imbyd1z7rfmqiwilf3bc9nnplp9hc07471y";
- };
- }
- {
- goPackagePath = "gopkg.in/olivere/elastic.v6";
- fetch = {
- type = "git";
- url = "https://gopkg.in/olivere/elastic.v6";
- rev = "e6cae211ee802eab70248a68fe2cb03b616744c9";
- sha256 = "0nbf4mr31gxm4zn5w362y22mh98ckl3d0bxli4f3rwx6zw12arfg";
- };
- }
-]
diff --git a/pkgs/applications/networking/cluster/terraform-providers/gandi/default.nix b/pkgs/applications/networking/cluster/terraform-providers/gandi/default.nix
index 291698f3065..4571d368991 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/gandi/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-providers/gandi/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
- name = "terraform-provider-gandi-${version}";
+ pname = "terraform-provider-gandi";
version = "1.0.0";
goPackagePath = "github.com/tiramiseb/terraform-provider-gandi";
diff --git a/pkgs/applications/networking/cluster/terraform-providers/ibm/default.nix b/pkgs/applications/networking/cluster/terraform-providers/ibm/default.nix
index fddf13795f3..06d7b8a9f07 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/ibm/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-providers/ibm/default.nix
@@ -11,7 +11,7 @@
#
buildGoPackage rec {
- name = "terraform-provider-ibm-${version}";
+ pname = "terraform-provider-ibm";
version = "0.11.1";
goPackagePath = "github.com/terraform-providers/terraform-provider-ibm";
diff --git a/pkgs/applications/networking/cluster/terraform-providers/libvirt/default.nix b/pkgs/applications/networking/cluster/terraform-providers/libvirt/default.nix
index 96b5c8a0fa1..23c4f4bfa8b 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/libvirt/default.nix
+++ b/pkgs/applications/networking/cluster/terraform-providers/libvirt/default.nix
@@ -18,7 +18,7 @@
# https://github.com/dmacvicar/terraform-provider-libvirt/tree/master/examples
buildGoPackage rec {
- name = "terraform-provider-libvirt-${version}";
+ pname = "terraform-provider-libvirt";
version = "0.5.1";
goPackagePath = "github.com/dmacvicar/terraform-provider-libvirt";
diff --git a/pkgs/applications/networking/cluster/terraform-providers/providers.txt b/pkgs/applications/networking/cluster/terraform-providers/providers.txt
index c5d6fda1651..286e3d6efe0 100644
--- a/pkgs/applications/networking/cluster/terraform-providers/providers.txt
+++ b/pkgs/applications/networking/cluster/terraform-providers/providers.txt
@@ -10,7 +10,7 @@
terraform-providers terraform-provider- terraform-provider-\\(azure-classic\\|scaffolding\\)
# include terraform-provider-matchbox
-coreos/terraform-provider-matchbox
+poseidon/terraform-provider-matchbox
# include terraform-provider-nixos
tweag/terraform-provider-nixos
@@ -20,6 +20,3 @@ tweag/terraform-provider-secret
# include terraform-provider-segment
ajbosco/terraform-provider-segment
-
-# include terraform-provider-ansible
-nbering/terraform-provider-ansible
diff --git a/pkgs/applications/networking/cluster/terraform/default.nix b/pkgs/applications/networking/cluster/terraform/default.nix
index 1cdfa8570a1..9c07760355c 100644
--- a/pkgs/applications/networking/cluster/terraform/default.nix
+++ b/pkgs/applications/networking/cluster/terraform/default.nix
@@ -97,8 +97,8 @@ in rec {
terraform_0_11-full = terraform_0_11.full;
terraform_0_12 = pluggable (generic {
- version = "0.12.0";
- sha256 = "1lycy789wzh1fcg7qcl540546bgw4b9kjlbh2j4hnm0bs9696b2a";
+ version = "0.12.8";
+ sha256 = "1qlhbn6xj2nd8gwr6aiyjsb62qmj4j9jnxab006xgdr1avvl2p67";
patches = [ ./provider-path.patch ];
passthru = { inherit plugins; };
});
diff --git a/pkgs/applications/networking/cluster/terragrunt/default.nix b/pkgs/applications/networking/cluster/terragrunt/default.nix
index 56c30df37c5..ddeb5851037 100644
--- a/pkgs/applications/networking/cluster/terragrunt/default.nix
+++ b/pkgs/applications/networking/cluster/terragrunt/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, buildGoPackage, fetchFromGitHub, terraform, makeWrapper }:
buildGoPackage rec {
- name = "terragrunt-${version}";
+ pname = "terragrunt";
version = "0.17.4";
goPackagePath = "github.com/gruntwork-io/terragrunt";
diff --git a/pkgs/applications/networking/cluster/tilt/default.nix b/pkgs/applications/networking/cluster/tilt/default.nix
index a8adf3deb5b..b4707327bc7 100644
--- a/pkgs/applications/networking/cluster/tilt/default.nix
+++ b/pkgs/applications/networking/cluster/tilt/default.nix
@@ -1,25 +1,24 @@
-{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- pname = "tilt";
- name = "${pname}-${version}";
+ pname = "tilt";
/* Do not use "dev" as a version. If you do, Tilt will consider itself
running in development environment and try to serve assets from the
source tree, which is not there once build completes. */
- version = "0.8.1";
- rev = "9ce987dd0eeb66df993f8d232b57ff3e4d380dda";
+ version = "0.10.4";
src = fetchFromGitHub {
owner = "windmilleng";
- repo = "tilt";
- rev = "${rev}";
- sha256 = "0ybzj2csmjc7zlkprcyy5cnh9dxgngcx3wd6n43kawi5db0lvjn4";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0nxgmldbcaj91jq47qxpf6jqwvi9bhg243qchdkiliphybvilcrg";
};
goPackagePath = "github.com/windmilleng/tilt";
+
subPackages = [ "cmd/tilt" ];
- buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-04-29");
+ buildFlagsArray = ("-ldflags=-X main.version=${version} -X main.date=2019-08-14");
meta = with stdenv.lib; {
description = "Local development tool to manage your developer instance when your team deploys to Kubernetes in production";
diff --git a/pkgs/applications/networking/corebird/default.nix b/pkgs/applications/networking/corebird/default.nix
index 1ee2c694e0b..73c0e234945 100644
--- a/pkgs/applications/networking/corebird/default.nix
+++ b/pkgs/applications/networking/corebird/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "1.7.4";
- name = "corebird-${version}";
+ pname = "corebird";
src = fetchFromGitHub {
owner = "baedert";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
'';
meta = {
- description = "Native Gtk+ Twitter client for the Linux desktop";
+ description = "Native GTK Twitter client for the Linux desktop";
longDescription = "Corebird is a modern, easy and fun Twitter client.";
homepage = https://corebird.baedert.org/;
license = stdenv.lib.licenses.gpl3;
diff --git a/pkgs/applications/networking/drive/default.nix b/pkgs/applications/networking/drive/default.nix
index 34ebc84cea2..0967fd95dc0 100644
--- a/pkgs/applications/networking/drive/default.nix
+++ b/pkgs/applications/networking/drive/default.nix
@@ -1,7 +1,7 @@
{ lib, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "drive-${version}";
+ pname = "drive";
version = "0.3.8.1";
goPackagePath = "github.com/odeke-em/drive";
diff --git a/pkgs/applications/networking/droopy/default.nix b/pkgs/applications/networking/droopy/default.nix
index 62fe4e2e662..d71b863f881 100644
--- a/pkgs/applications/networking/droopy/default.nix
+++ b/pkgs/applications/networking/droopy/default.nix
@@ -2,8 +2,8 @@
with lib;
-stdenv.mkDerivation rec {
- name = "droopy-${version}";
+stdenv.mkDerivation {
+ pname = "droopy";
version = "20160830";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/dropbox/cli.nix b/pkgs/applications/networking/dropbox/cli.nix
index 2b6645b2c8a..9b3b99708df 100644
--- a/pkgs/applications/networking/dropbox/cli.nix
+++ b/pkgs/applications/networking/dropbox/cli.nix
@@ -6,7 +6,7 @@
, dropbox
, gtk3
, gnome3
-, gdk_pixbuf
+, gdk-pixbuf
, gobject-introspection
}:
@@ -15,7 +15,8 @@ let
dropboxd = "${dropbox}/bin/dropbox";
in
stdenv.mkDerivation {
- name = "dropbox-cli-${version}";
+ pname = "dropbox-cli";
+ inherit version;
outputs = [ "out" "nautilusExtension" ];
@@ -36,7 +37,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [
pkgconfig
gobject-introspection
- gdk_pixbuf
+ gdk-pixbuf
# only for build, the install command also wants to use GTK through introspection
# but we are using Nix for installation so we will not need that.
(python3.withPackages (ps: with ps; [
@@ -52,11 +53,11 @@ stdenv.mkDerivation {
];
configureFlags = [
- "--with-nautilus-extension-dir=${placeholder ''nautilusExtension''}/lib/nautilus/extensions-3.0"
+ "--with-nautilus-extension-dir=${placeholder "nautilusExtension"}/lib/nautilus/extensions-3.0"
];
makeFlags = [
- "EMBLEM_DIR=${placeholder ''nautilusExtension''}/share/nautilus-dropbox/emblems"
+ "EMBLEM_DIR=${placeholder "nautilusExtension"}/share/nautilus-dropbox/emblems"
];
meta = {
diff --git a/pkgs/applications/networking/dropbox/default.nix b/pkgs/applications/networking/dropbox/default.nix
index 47ae6307ce7..9a05a92cfb3 100644
--- a/pkgs/applications/networking/dropbox/default.nix
+++ b/pkgs/applications/networking/dropbox/default.nix
@@ -10,8 +10,8 @@ let
version = "73.4.118";
arch = {
- "x86_64-linux" = "x86_64";
- "i686-linux" = "x86";
+ x86_64-linux = "x86_64";
+ i686-linux = "x86";
}.${stdenv.hostPlatform.system};
installer = "https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.${arch}-${version}.tar.gz";
@@ -36,7 +36,7 @@ buildFHSUserEnv {
libICE libSM libX11 libXcomposite libXdamage libXext libXfixes libXrender
libXxf86vm libxcb xkeyboardconfig
curl dbus firefox-bin fontconfig freetype gcc glib gnutar libxml2 libxslt
- procps zlib mesa libxshmfence libpthreadstubs
+ procps zlib mesa libxshmfence libpthreadstubs libappindicator
];
extraInstallCommands = ''
diff --git a/pkgs/applications/networking/dsvpn/default.nix b/pkgs/applications/networking/dsvpn/default.nix
new file mode 100644
index 00000000000..4958d290529
--- /dev/null
+++ b/pkgs/applications/networking/dsvpn/default.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "dsvpn";
+ version = "0.1.3";
+
+ src = fetchFromGitHub {
+ owner = "jedisct1";
+ repo = pname;
+ rev = version;
+ sha256 = "1jl9b23s2glims09mb1sq01kaf10bfjsd3qsgk68mp5kvy9f3gj2";
+ };
+
+ installPhase = ''
+ runHook preInstall
+
+ install -Dm755 -t $out/bin dsvpn
+
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A Dead Simple VPN";
+ homepage = "https://github.com/jedisct1/dsvpn";
+ license = licenses.mit;
+ maintainers = [ maintainers.marsam ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/networking/dyndns/cfdyndns/default.nix b/pkgs/applications/networking/dyndns/cfdyndns/default.nix
index d1eeaa48bb7..640421bef8f 100644
--- a/pkgs/applications/networking/dyndns/cfdyndns/default.nix
+++ b/pkgs/applications/networking/dyndns/cfdyndns/default.nix
@@ -3,7 +3,7 @@
with rustPlatform;
buildRustPackage rec {
- name = "cfdyndns-${version}";
+ pname = "cfdyndns";
version = "0.0.1";
src = fetchFromGitHub {
owner = "colemickens";
@@ -12,7 +12,7 @@ buildRustPackage rec {
sha256 = "1mcdjykrgh0jq6k6y664lai8sbgzk6j7k0r944f43vg63d1jql5b";
};
- cargoSha256 = "0k9d6pxsb4gvkqs00g71c1nnz773iccg4vajgn33qdym6m6qsjwy";
+ cargoSha256 = "1d7jpffkw2m2v37bfdqsl9sqwsl19cgglpa00lwy4ih09kzbc2n9";
buildInputs = [ makeWrapper openssl ];
diff --git a/pkgs/applications/networking/enhanced-ctorrent/default.nix b/pkgs/applications/networking/enhanced-ctorrent/default.nix
index bb3ab98d1a4..59b48df1cd0 100644
--- a/pkgs/applications/networking/enhanced-ctorrent/default.nix
+++ b/pkgs/applications/networking/enhanced-ctorrent/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "3.3.2";
pname = "enhanced-ctorrent-dhn";
diff --git a/pkgs/applications/networking/errbot/default.nix b/pkgs/applications/networking/errbot/default.nix
index f89b8206dbe..5b1ab692abd 100644
--- a/pkgs/applications/networking/errbot/default.nix
+++ b/pkgs/applications/networking/errbot/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pythonPackages, glibcLocales }:
pythonPackages.buildPythonApplication rec {
- name = "errbot-${version}";
+ pname = "errbot";
version = "5.2.0";
src = fetchurl {
- url = "mirror://pypi/e/errbot/${name}.tar.gz";
+ url = "mirror://pypi/e/errbot/${pname}-${version}.tar.gz";
sha256 = "0q5fg113s3gnym38d4y5mlnxw6vrm388zw5mlapf7b2zgx34r053";
};
diff --git a/pkgs/applications/networking/esniper/default.nix b/pkgs/applications/networking/esniper/default.nix
index 87e0584c931..2535d0dc31d 100644
--- a/pkgs/applications/networking/esniper/default.nix
+++ b/pkgs/applications/networking/esniper/default.nix
@@ -1,12 +1,13 @@
-{ stdenv, fetchurl, openssl, curl, coreutils, gawk, bash, which }:
+{ stdenv, fetchgit, openssl, curl, coreutils, gawk, bash, which }:
-stdenv.mkDerivation rec {
- name = "esniper-2.35.0";
+stdenv.mkDerivation {
+ name = "esniper-2.35.0-15-g91d2665";
- src = fetchurl {
- url = "mirror://sourceforge/esniper/${stdenv.lib.replaceStrings ["."] ["-"] name}.tgz";
- sha256 = "04iwjb42lw90c03125bjdpnm0fp78dmwf2j35r7mah0nwcrlagd9";
- };
+ src = fetchgit {
+ url = "https://git.code.sf.net/p/esniper/git";
+ rev = "91d2665539beaeac21fb4c0cc2fd39c44e771ed7";
+ sha256 = "0dixcsvbcj9jbfjfv50nwvw7w90c4s6gnkrpilaan984i6y45rw0";
+ };
buildInputs = [ openssl curl ];
diff --git a/pkgs/applications/networking/feedreaders/castget/default.nix b/pkgs/applications/networking/feedreaders/castget/default.nix
new file mode 100644
index 00000000000..21f1e555a29
--- /dev/null
+++ b/pkgs/applications/networking/feedreaders/castget/default.nix
@@ -0,0 +1,44 @@
+{ lib, stdenv, fetchFromGitHub
+, autoreconfHook
+, pkgconfig
+, glib
+, ronn
+, curl
+, id3lib
+, libxml2
+}:
+
+stdenv.mkDerivation rec {
+ pname = "castget";
+ version = "1.2.4";
+
+ src = fetchFromGitHub {
+ owner = "mlj";
+ repo = pname;
+ # Upstream uses `_` instead of `.` for the version, let's hope it will
+ # change in the next release
+ rev = "rel_${lib.replaceStrings ["."] ["_"] version}";
+ sha256 = "1pfrjmsikv35cc0praxgim26zq4r7dfp1pkn6n9fz3fm73gxylyv";
+ };
+ # Otherwise, the autoreconfHook fails since Makefile.am requires it
+ preAutoreconf = ''
+ touch NEWS
+ touch README
+ touch ChangeLog
+ '';
+
+ buildInputs = [ glib curl id3lib libxml2 ];
+ nativeBuildInputs = [ ronn autoreconfHook pkgconfig ];
+
+ meta = with stdenv.lib; {
+ description = "A simple, command-line based RSS enclosure downloader";
+ longDescription = ''
+ castget is a simple, command-line based RSS enclosure downloader. It is
+ primarily intended for automatic, unattended downloading of podcasts.
+ '';
+ homepage = "http://castget.johndal.com/";
+ maintainers = with maintainers; [ doronbehar ];
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/networking/feedreaders/feedreader/default.nix b/pkgs/applications/networking/feedreaders/feedreader/default.nix
index 22b2e2f43c4..959649c4b15 100644
--- a/pkgs/applications/networking/feedreaders/feedreader/default.nix
+++ b/pkgs/applications/networking/feedreaders/feedreader/default.nix
@@ -1,18 +1,18 @@
-{ stdenv, fetchFromGitHub, fetchpatch, meson, ninja, pkgconfig, vala, gettext, python3
-, appstream-glib, desktop-file-utils, glibcLocales, wrapGAppsHook
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, vala, gettext, python3
+, appstream-glib, desktop-file-utils, wrapGAppsHook, gnome-online-accounts
, gtk3, libgee, libpeas, librest, webkitgtk, gsettings-desktop-schemas, hicolor-icon-theme
, curl, glib, gnome3, gst_all_1, json-glib, libnotify, libsecret, sqlite, gumbo, libxml2
}:
stdenv.mkDerivation rec {
pname = "feedreader";
- version = "2.8.2";
+ version = "2.10.0";
src = fetchFromGitHub {
owner = "jangernert";
repo = pname;
rev = "v${version}";
- sha256 = "1qm7scrz8xm68zizcfn13ll4ksdd004fahki7gbwqagsr1fg62y8";
+ sha256 = "154lzvd8acs4dyc91nlabpr284yrij8jkhgm0h18hp3cy0a11rv8";
};
nativeBuildInputs = [
@@ -23,14 +23,14 @@ stdenv.mkDerivation rec {
buildInputs = [
curl glib json-glib libnotify libsecret sqlite gumbo gtk3
libgee libpeas gnome3.libsoup librest webkitgtk gsettings-desktop-schemas
- gnome3.gnome-online-accounts
+ gnome-online-accounts
hicolor-icon-theme # for setup hook
] ++ (with gst_all_1; [
gstreamer gst-plugins-base gst-plugins-good
]);
postPatch = ''
- patchShebangs meson_post_install.py
+ patchShebangs build-aux/meson_post_install.py
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/feedreaders/newsboat/default.nix b/pkgs/applications/networking/feedreaders/newsboat/default.nix
index 8b5f1ce3425..f7a9521c993 100644
--- a/pkgs/applications/networking/feedreaders/newsboat/default.nix
+++ b/pkgs/applications/networking/feedreaders/newsboat/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, rustPlatform, fetchurl, fetchpatch, stfl, sqlite, curl, gettext, pkgconfig, libxml2, json_c, ncurses
+{ stdenv, rustPlatform, fetchurl, stfl, sqlite, curl, gettext, pkgconfig, libxml2, json_c, ncurses
, asciidoc, docbook_xml_dtd_45, libxslt, docbook_xsl, libiconv, Security, makeWrapper }:
rustPlatform.buildRustPackage rec {
- name = "newsboat-${version}";
- version = "2.15";
+ pname = "newsboat";
+ version = "2.16.1";
src = fetchurl {
- url = "https://newsboat.org/releases/${version}/${name}.tar.xz";
- sha256 = "1dqdcp34jmphqf3d8ik0xdhg0s66nd5rky0y8y591nidq29wws6s";
+ url = "https://newsboat.org/releases/${version}/${pname}-${version}.tar.xz";
+ sha256 = "0lxdsfcwa4byhfnn0gv34w3rr531f4nfqgi8j4qqmh3gncbwh8s0";
};
- cargoSha256 = "05pf020jp20ffmvin6d1g8zbwf1zk03bm1cb99b7iqkk4r54g6dn";
+ cargoSha256 = "0ck2dgfk4fay4cjl66wqkbnq4rqrd717jl63l1mvqmvad9i19igm";
postPatch = ''
substituteInPlace Makefile --replace "|| true" ""
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
'';
nativeBuildInputs = [ pkgconfig asciidoc docbook_xml_dtd_45 libxslt docbook_xsl ]
- ++ stdenv.lib.optional stdenv.isDarwin [ makeWrapper libiconv ];
+ ++ stdenv.lib.optionals stdenv.isDarwin [ makeWrapper libiconv ];
buildInputs = [ stfl sqlite curl gettext libxml2 json_c ncurses ]
++ stdenv.lib.optional stdenv.isDarwin Security;
@@ -29,7 +29,8 @@ rustPlatform.buildRustPackage rec {
make
'';
- NIX_CFLAGS_COMPILE = "-Wno-error=sign-compare";
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=sign-compare" ]
+ ++ stdenv.lib.optional stdenv.isDarwin "-Wno-error=format-security";
doCheck = true;
@@ -48,7 +49,7 @@ rustPlatform.buildRustPackage rec {
meta = with stdenv.lib; {
homepage = https://newsboat.org/;
- description = "A fork of Newsbeuter, an RSS/Atom feed reader for the text console.";
+ description = "A fork of Newsbeuter, an RSS/Atom feed reader for the text console";
maintainers = with maintainers; [ dotlambda nicknovitski ];
license = licenses.mit;
platforms = platforms.unix;
diff --git a/pkgs/applications/networking/feedreaders/rawdog/default.nix b/pkgs/applications/networking/feedreaders/rawdog/default.nix
index 6bdaf2ffaf4..7304fd2f654 100644
--- a/pkgs/applications/networking/feedreaders/rawdog/default.nix
+++ b/pkgs/applications/networking/feedreaders/rawdog/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, python2Packages }:
python2Packages.buildPythonApplication rec {
- name = "rawdog-${version}";
+ pname = "rawdog";
version = "2.23";
src = fetchurl {
- url = "https://offog.org/files/${name}.tar.gz";
+ url = "https://offog.org/files/${pname}-${version}.tar.gz";
sha256 = "18nyg19mwxyqdnykplkqmzb4n27vvrhvp639zai8f81gg9vdbsjp";
};
diff --git a/pkgs/applications/networking/feedreaders/rss2email/default.nix b/pkgs/applications/networking/feedreaders/rss2email/default.nix
index 4d17cc8bddd..89eef9cae4c 100644
--- a/pkgs/applications/networking/feedreaders/rss2email/default.nix
+++ b/pkgs/applications/networking/feedreaders/rss2email/default.nix
@@ -3,17 +3,14 @@
with pythonPackages;
buildPythonApplication rec {
- name = "${pname}-${version}";
pname = "rss2email";
- version = "3.9"; # TODO: on next bump, the manpage will be updated.
- # Update nixos/modules/services/mail/rss2email.nix to point to it instead of
- # to the online r2e.1
+ version = "3.10";
propagatedBuildInputs = [ feedparser beautifulsoup4 html2text ];
src = fetchurl {
- url = "mirror://pypi/r/rss2email/${name}.tar.gz";
- sha256 = "02wj9zhmc2ym8ba1i0z9pm1c622z2fj7fxwagnxbvpr1402ahmr5";
+ url = "mirror://pypi/r/rss2email/${pname}-${version}.tar.gz";
+ sha256 = "1yjgbgpq9jjmpywwk6n4lzb2k7mqgdgfgm4jckv4zy0fn595pih1";
};
outputs = [ "out" "man" "doc" ];
@@ -31,14 +28,12 @@ buildPythonApplication rec {
# copy documentation
mkdir -p $doc/share/doc/rss2email
- cp AUTHORS COPYING CHANGELOG README $doc/share/doc/rss2email/
+ cp AUTHORS COPYING CHANGELOG README.rst $doc/share/doc/rss2email/
'';
- # The tests currently fail, see
- # https://github.com/rss2email/rss2email/issues/14
- # postCheck = ''
- # env PYTHONPATH=.:$PYTHONPATH python ./test/test.py
- # '';
+ postCheck = ''
+ env PATH=$out/bin:$PATH python ./test/test.py
+ '';
meta = with lib; {
description = "A tool that converts RSS/Atom newsfeeds to email.";
diff --git a/pkgs/applications/networking/feedreaders/rssguard/default.nix b/pkgs/applications/networking/feedreaders/rssguard/default.nix
index a43d52d7359..169b88f2718 100644
--- a/pkgs/applications/networking/feedreaders/rssguard/default.nix
+++ b/pkgs/applications/networking/feedreaders/rssguard/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, qmake, qtwebengine, qttools, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "rssguard";
- version = "3.5.7";
+ version = "3.5.9";
src = fetchFromGitHub {
owner = "martinrotter";
repo = pname;
rev = version;
- sha256 = "1v0m2p6y7szdqbd2gl3972ah6cp6prfv2gp2a55ac1l8ba2dma4v";
+ sha256 = "0dvjcazvrgxfxg1gvznxj8kx569v4ivns0brq00cn2yxyd4wx43s";
};
buildInputs = [ qtwebengine qttools ];
diff --git a/pkgs/applications/networking/feedreaders/rsstail/default.nix b/pkgs/applications/networking/feedreaders/rsstail/default.nix
index 459aee01f43..3e7909c91c0 100644
--- a/pkgs/applications/networking/feedreaders/rsstail/default.nix
+++ b/pkgs/applications/networking/feedreaders/rsstail/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cppcheck, libmrss }:
-stdenv.mkDerivation rec {
- name = "rsstail-${version}";
+stdenv.mkDerivation {
+ pname = "rsstail";
version = "2.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/firehol/default.nix b/pkgs/applications/networking/firehol/default.nix
index 335f393bc07..ab2ca160152 100644
--- a/pkgs/applications/networking/firehol/default.nix
+++ b/pkgs/applications/networking/firehol/default.nix
@@ -7,7 +7,7 @@
}:
stdenv.mkDerivation rec {
- name = "firehol-${version}";
+ pname = "firehol";
version = "3.1.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/firehol/iprange.nix b/pkgs/applications/networking/firehol/iprange.nix
index bb245928f07..194dfc25eba 100644
--- a/pkgs/applications/networking/firehol/iprange.nix
+++ b/pkgs/applications/networking/firehol/iprange.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "iprange-${version}";
+ pname = "iprange";
version = "1.0.4";
src = fetchurl {
diff --git a/pkgs/applications/networking/flent/default.nix b/pkgs/applications/networking/flent/default.nix
index bc0a519a0ee..bbd9a7601ac 100644
--- a/pkgs/applications/networking/flent/default.nix
+++ b/pkgs/applications/networking/flent/default.nix
@@ -1,30 +1,39 @@
-{ stdenv, buildPythonApplication, fetchFromGitHub, matplotlib, procps, pyqt5
-, sphinx
-}:
+{ stdenv, buildPythonApplication, fetchPypi, matplotlib, procps, pyqt5, python
+, pythonPackages, qt5, sphinx, xvfb_run }:
buildPythonApplication rec {
pname = "flent";
- version = "1.2.2";
- src = fetchFromGitHub {
- owner = "tohojo";
- repo = "flent";
- rev = "v${version}";
- sha256 = "1llcdakk0nk9xlpjjz7mv4a80yq4sjnbqhaqvyj9m6lbcxgssh2r";
+ version = "1.3.0";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "099779i0ghjd9ikq77z6m6scnlmk946lw9issrgz8zm7babiw4d7";
};
buildInputs = [ sphinx ];
+ nativeBuildInputs = [ qt5.wrapQtAppsHook ];
+ propagatedBuildInputs = [ matplotlib procps pyqt5 ];
+ checkInputs = [ procps pythonPackages.mock pyqt5 xvfb_run ];
- checkInputs = [ procps ];
+ checkPhase = ''
+ cat >test-runner < libXScrnSaver != null && libX11 != null;
-assert notifySupport -> libnotify != null && gdk_pixbuf != null;
+assert notifySupport -> libnotify != null && gdk-pixbuf != null;
assert traySupport -> gnome2 != null;
assert pgpSupport -> gpgme != null;
assert pythonPluginSupport -> python != null;
+assert omemoSupport -> libsignal-protocol-c != null && libgcrypt != null;
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "profanity-${version}";
- version = "0.6.0";
+ pname = "profanity";
+ version = "0.7.0";
src = fetchFromGitHub {
- owner = "boothj5";
+ owner = "profanity-im";
repo = "profanity";
- rev = "${version}";
- sha256 = "0f5kfzy22wzyj7rnd2nbj93q96ga87b53wlg8lfg83qdphx1ymz9";
+ rev = version;
+ sha256 = "15adg7ndjkzy04lizjmnvv0pf0snhzp6a8x74mndcm0zma0dia0z";
};
patches = [ ./patches/packages-osx.patch ./patches/undefined-macros.patch ];
@@ -41,17 +43,19 @@ stdenv.mkDerivation rec {
expect readline libuuid glib openssl expat ncurses libotr
curl libmesode cmocka libmicrohttpd stabber
] ++ optionals autoAwaySupport [ libXScrnSaver libX11 ]
- ++ optionals notifySupport [ libnotify gdk_pixbuf ]
+ ++ optionals notifySupport [ libnotify gdk-pixbuf ]
++ optionals traySupport [ gnome2.gtk ]
++ optionals pgpSupport [ gpgme ]
- ++ optionals pythonPluginSupport [ python ];
+ ++ optionals pythonPluginSupport [ python ]
+ ++ optionals omemoSupport [ libsignal-protocol-c libgcrypt ];
# Enable feature flags, so that build fail if libs are missing
configureFlags = [ "--enable-c-plugins" "--enable-otr" ]
++ optionals notifySupport [ "--enable-notifications" ]
++ optionals traySupport [ "--enable-icons" ]
++ optionals pgpSupport [ "--enable-pgp" ]
- ++ optionals pythonPluginSupport [ "--enable-python-plugins" ];
+ ++ optionals pythonPluginSupport [ "--enable-python-plugins" ]
+ ++ optionals omemoSupport [ "--enable-omemo" ];
preAutoreconf = ''
mkdir m4
diff --git a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix
index e1a2fb40c5a..16fb1bbab1e 100644
--- a/pkgs/applications/networking/instant-messengers/psi-plus/default.nix
+++ b/pkgs/applications/networking/instant-messengers/psi-plus/default.nix
@@ -4,13 +4,13 @@
}:
stdenv.mkDerivation rec {
- name = "psi-plus-${version}";
+ pname = "psi-plus";
version = "1.4.504";
src = fetchFromGitHub {
owner = "psi-plus";
repo = "psi-plus-snapshots";
- rev = "${version}";
+ rev = version;
sha256 = "1nv1ynad2gcn7r8mm2w3kixmahaql7xax1lccsqyxqmj1r0klk8q";
};
diff --git a/pkgs/applications/networking/instant-messengers/qtox/default.nix b/pkgs/applications/networking/instant-messengers/qtox/default.nix
index 4ab3c64d16d..a78e5d1c2d1 100644
--- a/pkgs/applications/networking/instant-messengers/qtox/default.nix
+++ b/pkgs/applications/networking/instant-messengers/qtox/default.nix
@@ -10,8 +10,9 @@ let
version = "1.16.3";
rev = "v${version}";
-in mkDerivation rec {
- name = "qtox-${version}";
+in mkDerivation {
+ pname = "qtox";
+ inherit version;
src = fetchFromGitHub {
owner = "qTox";
diff --git a/pkgs/applications/networking/instant-messengers/quaternion/default.nix b/pkgs/applications/networking/instant-messengers/quaternion/default.nix
index 9271dc6ba4d..569c7b68edc 100644
--- a/pkgs/applications/networking/instant-messengers/quaternion/default.nix
+++ b/pkgs/applications/networking/instant-messengers/quaternion/default.nix
@@ -1,10 +1,11 @@
-{ stdenv, lib, fetchFromGitHub, cmake
+{ mkDerivation, stdenv, lib, fetchFromGitHub, cmake
, qtbase, qtquickcontrols, qtkeychain, qtmultimedia, qttools
-, libqmatrixclient_0_4, libqmatrixclient_0_5 }:
+, libqmatrixclient_0_5 }:
let
- generic = version: sha256: prefix: library: stdenv.mkDerivation rec {
- name = "quaternion-${version}";
+ generic = version: sha256: prefix: library: mkDerivation {
+ pname = "quaternion";
+ inherit version;
src = fetchFromGitHub {
owner = "QMatrixClient";
@@ -13,9 +14,9 @@ let
inherit sha256;
};
- buildInputs = [ qtbase qtmultimedia qtquickcontrols qtkeychain qttools library ];
+ buildInputs = [ qtbase qtmultimedia qtquickcontrols qtkeychain library ];
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake qttools ];
postInstall = if stdenv.isDarwin then ''
mkdir -p $out/Applications
@@ -28,7 +29,7 @@ let
meta = with lib; {
description = "Cross-platform desktop IM client for the Matrix protocol";
- homepage = https://matrix.org/docs/projects/client/quaternion.html;
+ homepage = "https://matrix.org/docs/projects/client/quaternion.html";
license = licenses.gpl3;
maintainers = with maintainers; [ peterhoeg ];
inherit (qtbase.meta) platforms;
@@ -37,6 +38,7 @@ let
};
in rec {
- quaternion = generic "0.0.9.4" "12mkwiqqbi4774kwl7gha72jyf0jf547acy6rw8ry249zl4lja54" "" libqmatrixclient_0_5;
+ quaternion = generic "0.0.9.4c" "12mkwiqqbi4774kwl7gha72jyf0jf547acy6rw8ry249zl4lja54" "" libqmatrixclient_0_5;
+
quaternion-git = quaternion;
}
diff --git a/pkgs/applications/networking/instant-messengers/rambox/bare.nix b/pkgs/applications/networking/instant-messengers/rambox/bare.nix
index 259242606ad..a23dbda6cb2 100644
--- a/pkgs/applications/networking/instant-messengers/rambox/bare.nix
+++ b/pkgs/applications/networking/instant-messengers/rambox/bare.nix
@@ -1,23 +1,23 @@
-{ stdenv, fetchFromGitHub, fetchNodeModules, nodejs-8_x, ruby, sencha
+{ stdenv, fetchFromGitHub, fetchNodeModules, nodejs-10_x, ruby, sencha
, auth0ClientID, auth0Domain }:
stdenv.mkDerivation rec {
- name = "rambox-bare-${version}";
- version = "0.6.7";
+ pname = "rambox-bare";
+ version = "0.6.9";
src = fetchFromGitHub {
owner = "ramboxapp";
repo = "community-edition";
rev = version;
- sha256 = "1fsp4jxiypl6zkh5wgf9amyiyx9dqv6h8rsjn5xjp9bna27s0d3b";
+ sha256 = "1h44srl2gzkhjaazpwz1pwy4dp5x776fc685kahlvjlsfls0fvy9";
};
- nativeBuildInputs = [ nodejs-8_x ruby sencha ];
+ nativeBuildInputs = [ nodejs-10_x ruby sencha ];
node_modules = fetchNodeModules {
inherit src;
- nodejs = nodejs-8_x;
+ nodejs = nodejs-10_x;
sha256 = "0qsgr8cq81yismal5sqr02skakqpynwwzk5s98dr5bg91y361fgy";
};
diff --git a/pkgs/applications/networking/instant-messengers/rambox/default.nix b/pkgs/applications/networking/instant-messengers/rambox/default.nix
index 84ea02f7cb3..eeab5e32c0f 100644
--- a/pkgs/applications/networking/instant-messengers/rambox/default.nix
+++ b/pkgs/applications/networking/instant-messengers/rambox/default.nix
@@ -1,6 +1,5 @@
{ stdenv, newScope, makeWrapper
-, wrapGAppsHook, gnome3, glib
-, electron_3, xdg_utils, makeDesktopItem
+, electron, xdg_utils, makeDesktopItem
, auth0ClientID ? "0spuNKfIGeLAQ_Iki9t3fGxbfJl3k8SU"
, auth0Domain ? "nixpkgs.auth0.com" }:
@@ -28,10 +27,9 @@ with self;
stdenv.mkDerivation {
name = "rambox-${rambox-bare.version}";
- nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
+ nativeBuildInputs = [ makeWrapper ];
- buildInputs = [ glib gnome3.gsettings_desktop_schemas ];
- unpackPhase = ":";
+ dontUnpack = true;
dontWrapGApps = true; # we only want $gappsWrapperArgs here
@@ -43,9 +41,8 @@ stdenv.mkDerivation {
'';
postFixup = ''
- makeWrapper ${electron_3}/bin/electron $out/bin/rambox \
+ makeWrapper ${electron}/bin/electron $out/bin/rambox \
--add-flags "${rambox-bare} --without-update" \
- "''${gappsWrapperArgs[@]}" \
--prefix PATH : ${xdg_utils}/bin
'';
diff --git a/pkgs/applications/networking/instant-messengers/rambox/pro.nix b/pkgs/applications/networking/instant-messengers/rambox/pro.nix
index 1106aa86a0a..9a0aab6f8ce 100644
--- a/pkgs/applications/networking/instant-messengers/rambox/pro.nix
+++ b/pkgs/applications/networking/instant-messengers/rambox/pro.nix
@@ -2,26 +2,19 @@
stdenv.mkDerivation rec {
pname = "rambox-pro";
- version = "1.1.2";
+ version = "1.1.6";
dontBuild = true;
dontStrip = true;
- buildInputs = [ nss xorg.libxkbfile ];
+ buildInputs = [ nss xorg.libXext xorg.libxkbfile xorg.libXScrnSaver ];
nativeBuildInputs = [ autoPatchelfHook makeWrapper nodePackages.asar ];
src = fetchurl {
url = "https://github.com/ramboxapp/download/releases/download/v${version}/RamboxPro-${version}-linux-x64.tar.gz";
- sha256 = "0rrfpl371hp278b02b9b6745ax29yrdfmxrmkxv6d158jzlv0dlr";
+ sha256 = "1jdamjdl649315ms5g1c7m7gpy04rv7xpy6bsvink242adaq2pjz";
};
- postPatch = ''
- substituteInPlace resources/app.asar.unpacked/node_modules/ad-block/vendor/depot_tools/create-chromium-git-src \
- --replace "/usr/bin/env -S bash -e" "${stdenv.shell}"
- substituteInPlace resources/app.asar.unpacked/node_modules/ad-block/node_modules/bloom-filter-cpp/vendor/depot_tools/create-chromium-git-src \
- --replace "/usr/bin/env -S bash -e" "${stdenv.shell}"
- '';
-
installPhase = ''
mkdir -p $out/bin $out/opt/RamboxPro $out/share/applications
asar e resources/app.asar $out/opt/RamboxPro/resources/app.asar.unpacked
diff --git a/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix b/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix
index efecebe169e..30b12963b33 100644
--- a/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix
+++ b/pkgs/applications/networking/instant-messengers/rambox/sencha/bare.nix
@@ -14,10 +14,10 @@ let
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit version;
- name = "sencha-bare-${version}";
+ pname = "sencha-bare";
src = srcs.${stdenv.hostPlatform.system};
nativeBuildInputs = [ gzip which unzip ];
diff --git a/pkgs/applications/networking/instant-messengers/rambox/sencha/default.nix b/pkgs/applications/networking/instant-messengers/rambox/sencha/default.nix
index 1ca04a9e168..4be8edaf9b8 100644
--- a/pkgs/applications/networking/instant-messengers/rambox/sencha/default.nix
+++ b/pkgs/applications/networking/instant-messengers/rambox/sencha/default.nix
@@ -9,7 +9,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
makeWrapper ${sencha-bare}/sencha $out/bin/sencha
diff --git a/pkgs/applications/networking/instant-messengers/ratox/default.nix b/pkgs/applications/networking/instant-messengers/ratox/default.nix
index add337d3f08..3768ecd137f 100644
--- a/pkgs/applications/networking/instant-messengers/ratox/default.nix
+++ b/pkgs/applications/networking/instant-messengers/ratox/default.nix
@@ -6,7 +6,7 @@ with stdenv.lib;
let
configFile = optionalString (conf!=null) (builtins.toFile "config.h" conf);
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
name = "ratox-0.4.20180303";
src = fetchgit {
diff --git a/pkgs/applications/networking/instant-messengers/ricochet/default.nix b/pkgs/applications/networking/instant-messengers/ricochet/default.nix
index a6aef5e6a2f..96ce9c32a7d 100644
--- a/pkgs/applications/networking/instant-messengers/ricochet/default.nix
+++ b/pkgs/applications/networking/instant-messengers/ricochet/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "ricochet-${version}";
+ pname = "ricochet";
version = "1.1.4";
src = fetchurl {
diff --git a/pkgs/applications/networking/instant-messengers/ring-daemon/default.nix b/pkgs/applications/networking/instant-messengers/ring-daemon/default.nix
index 168719bf0e4..97c00924d6c 100644
--- a/pkgs/applications/networking/instant-messengers/ring-daemon/default.nix
+++ b/pkgs/applications/networking/instant-messengers/ring-daemon/default.nix
@@ -78,8 +78,8 @@ let
CFLAGS = "-g -DPJ_ICE_MAX_CAND=256 -DPJ_ICE_MAX_CHECKS=150 -DPJ_ICE_COMP_BITS=2 -DPJ_ICE_MAX_STUN=3 -DPJSIP_MAX_PKT_LEN=8000";
});
in
-stdenv.mkDerivation rec {
- name = "ring-daemon-${version}";
+stdenv.mkDerivation {
+ pname = "ring-daemon";
version = "2017-07-11";
inherit src;
diff --git a/pkgs/applications/networking/instant-messengers/ring-daemon/restbed.nix b/pkgs/applications/networking/instant-messengers/ring-daemon/restbed.nix
index 0546d2dae47..d4298a3d32f 100644
--- a/pkgs/applications/networking/instant-messengers/ring-daemon/restbed.nix
+++ b/pkgs/applications/networking/instant-messengers/ring-daemon/restbed.nix
@@ -6,8 +6,8 @@
, patches
}:
-stdenv.mkDerivation rec {
- name = "restbed-${version}";
+stdenv.mkDerivation {
+ pname = "restbed";
version = "2016-09-15";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json b/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
index e4c024bbc70..2e9602458e7 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-desktop-package.json
@@ -2,7 +2,7 @@
"name": "riot-web",
"productName": "Riot",
"main": "src/electron-main.js",
- "version": "1.1.0",
+ "version": "1.3.3",
"description": "A feature-rich client for Matrix.org",
"author": "New Vector Ltd.",
"dependencies": {
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix b/pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix
index b84807c69a0..b76848c2b81 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-desktop-yarndeps.nix
@@ -1,7 +1,6 @@
-{fetchurl, linkFarm}: rec {
+{ fetchurl, fetchgit, linkFarm, runCommandNoCC, gnutar }: rec {
offline_cache = linkFarm "offline" packages;
packages = [
-
{
name = "_types_node___node_9.6.45.tgz";
path = fetchurl {
@@ -10,7 +9,6 @@
sha1 = "a9e5cfd026a3abaaf17e3c0318a470da9f2f178e";
};
}
-
{
name = "ajv___ajv_6.10.0.tgz";
path = fetchurl {
@@ -19,7 +17,6 @@
sha1 = "90d0d54439da587cd7e843bfb7045f50bd22bdf1";
};
}
-
{
name = "applescript___applescript_1.0.0.tgz";
path = fetchurl {
@@ -28,7 +25,6 @@
sha1 = "bb87af568cad034a4e48c4bdaf6067a3a2701317";
};
}
-
{
name = "asn1___asn1_0.2.4.tgz";
path = fetchurl {
@@ -37,7 +33,6 @@
sha1 = "8d2475dfab553bb33e77b54e59e880bb8ce23136";
};
}
-
{
name = "assert_plus___assert_plus_1.0.0.tgz";
path = fetchurl {
@@ -46,7 +41,6 @@
sha1 = "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525";
};
}
-
{
name = "asynckit___asynckit_0.4.0.tgz";
path = fetchurl {
@@ -55,7 +49,6 @@
sha1 = "c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79";
};
}
-
{
name = "auto_launch___auto_launch_5.0.5.tgz";
path = fetchurl {
@@ -64,7 +57,6 @@
sha1 = "d14bd002b1ef642f85e991a6195ff5300c8ad3c0";
};
}
-
{
name = "aws_sign2___aws_sign2_0.7.0.tgz";
path = fetchurl {
@@ -73,7 +65,6 @@
sha1 = "b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8";
};
}
-
{
name = "aws4___aws4_1.8.0.tgz";
path = fetchurl {
@@ -82,7 +73,6 @@
sha1 = "f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f";
};
}
-
{
name = "bcrypt_pbkdf___bcrypt_pbkdf_1.0.2.tgz";
path = fetchurl {
@@ -91,7 +81,6 @@
sha1 = "a4301d389b6a43f9b67ff3ca11a3f6637e360e9e";
};
}
-
{
name = "bignumber.js___bignumber.js_2.4.0.tgz";
path = fetchurl {
@@ -100,7 +89,6 @@
sha1 = "838a992da9f9d737e0f4b2db0be62bb09dd0c5e8";
};
}
-
{
name = "bmp_js___bmp_js_0.0.3.tgz";
path = fetchurl {
@@ -109,7 +97,6 @@
sha1 = "64113e9c7cf1202b376ed607bf30626ebe57b18a";
};
}
-
{
name = "buffer_equal___buffer_equal_0.0.1.tgz";
path = fetchurl {
@@ -118,7 +105,6 @@
sha1 = "91bc74b11ea405bc916bc6aa908faafa5b4aac4b";
};
}
-
{
name = "caseless___caseless_0.12.0.tgz";
path = fetchurl {
@@ -127,7 +113,6 @@
sha1 = "1b681c21ff84033c826543090689420d187151dc";
};
}
-
{
name = "combined_stream___combined_stream_1.0.7.tgz";
path = fetchurl {
@@ -136,7 +121,6 @@
sha1 = "2d1d24317afb8abe95d6d2c0b07b57813539d828";
};
}
-
{
name = "conf___conf_2.2.0.tgz";
path = fetchurl {
@@ -145,7 +129,6 @@
sha1 = "ee282efafc1450b61e205372041ad7d866802d9a";
};
}
-
{
name = "core_util_is___core_util_is_1.0.2.tgz";
path = fetchurl {
@@ -154,7 +137,6 @@
sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
};
}
-
{
name = "dashdash___dashdash_1.14.1.tgz";
path = fetchurl {
@@ -163,7 +145,6 @@
sha1 = "853cfa0f7cbe2fed5de20326b8dd581035f6e2f0";
};
}
-
{
name = "deep_equal___deep_equal_1.0.1.tgz";
path = fetchurl {
@@ -172,7 +153,6 @@
sha1 = "f5d260292b660e084eff4cdbc9f08ad3247448b5";
};
}
-
{
name = "define_properties___define_properties_1.1.3.tgz";
path = fetchurl {
@@ -181,7 +161,6 @@
sha1 = "cf88da6cbee26fe6db7094f61d870cbd84cee9f1";
};
}
-
{
name = "delayed_stream___delayed_stream_1.0.0.tgz";
path = fetchurl {
@@ -190,7 +169,6 @@
sha1 = "df3ae199acadfb7d440aaae0b29e2272b24ec619";
};
}
-
{
name = "dom_walk___dom_walk_0.1.1.tgz";
path = fetchurl {
@@ -199,7 +177,6 @@
sha1 = "672226dc74c8f799ad35307df936aba11acd6018";
};
}
-
{
name = "dot_prop___dot_prop_4.2.0.tgz";
path = fetchurl {
@@ -208,7 +185,6 @@
sha1 = "1f19e0c2e1aa0e32797c49799f2837ac6af69c57";
};
}
-
{
name = "ecc_jsbn___ecc_jsbn_0.1.2.tgz";
path = fetchurl {
@@ -217,7 +193,6 @@
sha1 = "3a83a904e54353287874c564b7549386849a98c9";
};
}
-
{
name = "electron_store___electron_store_2.0.0.tgz";
path = fetchurl {
@@ -226,7 +201,6 @@
sha1 = "1035cca2a95409d1f54c7466606345852450d64a";
};
}
-
{
name = "electron_window_state___electron_window_state_4.1.1.tgz";
path = fetchurl {
@@ -235,7 +209,6 @@
sha1 = "6b34fdc31b38514dfec8b7c8f7b5d4addb67632d";
};
}
-
{
name = "env_paths___env_paths_1.0.0.tgz";
path = fetchurl {
@@ -244,7 +217,6 @@
sha1 = "4168133b42bb05c38a35b1ae4397c8298ab369e0";
};
}
-
{
name = "es_abstract___es_abstract_1.13.0.tgz";
path = fetchurl {
@@ -253,7 +225,6 @@
sha1 = "ac86145fdd5099d8dd49558ccba2eaf9b88e24e9";
};
}
-
{
name = "es_to_primitive___es_to_primitive_1.2.0.tgz";
path = fetchurl {
@@ -262,7 +233,6 @@
sha1 = "edf72478033456e8dda8ef09e00ad9650707f377";
};
}
-
{
name = "es6_promise___es6_promise_3.3.1.tgz";
path = fetchurl {
@@ -271,7 +241,6 @@
sha1 = "a08cdde84ccdbf34d027a1451bc91d4bcd28a613";
};
}
-
{
name = "exif_parser___exif_parser_0.1.12.tgz";
path = fetchurl {
@@ -280,7 +249,6 @@
sha1 = "58a9d2d72c02c1f6f02a0ef4a9166272b7760922";
};
}
-
{
name = "extend___extend_3.0.2.tgz";
path = fetchurl {
@@ -289,7 +257,6 @@
sha1 = "f8b1136b4071fbd8eb140aff858b1019ec2915fa";
};
}
-
{
name = "extsprintf___extsprintf_1.3.0.tgz";
path = fetchurl {
@@ -298,7 +265,6 @@
sha1 = "96918440e3041a7a414f8c52e3c574eb3c3e1e05";
};
}
-
{
name = "extsprintf___extsprintf_1.4.0.tgz";
path = fetchurl {
@@ -307,7 +273,6 @@
sha1 = "e2689f8f356fad62cca65a3a91c5df5f9551692f";
};
}
-
{
name = "fast_deep_equal___fast_deep_equal_2.0.1.tgz";
path = fetchurl {
@@ -316,7 +281,6 @@
sha1 = "7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49";
};
}
-
{
name = "fast_json_stable_stringify___fast_json_stable_stringify_2.0.0.tgz";
path = fetchurl {
@@ -325,7 +289,6 @@
sha1 = "d5142c0caee6b1189f87d3a76111064f86c8bbf2";
};
}
-
{
name = "file_type___file_type_3.9.0.tgz";
path = fetchurl {
@@ -334,7 +297,6 @@
sha1 = "257a078384d1db8087bc449d107d52a52672b9e9";
};
}
-
{
name = "find_up___find_up_2.1.0.tgz";
path = fetchurl {
@@ -343,7 +305,6 @@
sha1 = "45d1b7e506c717ddd482775a2b77920a3c0c57a7";
};
}
-
{
name = "for_each___for_each_0.3.3.tgz";
path = fetchurl {
@@ -352,7 +313,6 @@
sha1 = "69b447e88a0a5d32c3e7084f3f1710034b21376e";
};
}
-
{
name = "forever_agent___forever_agent_0.6.1.tgz";
path = fetchurl {
@@ -361,7 +321,6 @@
sha1 = "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91";
};
}
-
{
name = "form_data___form_data_2.3.3.tgz";
path = fetchurl {
@@ -370,7 +329,6 @@
sha1 = "dcce52c05f644f298c6a7ab936bd724ceffbf3a6";
};
}
-
{
name = "function_bind___function_bind_1.1.1.tgz";
path = fetchurl {
@@ -379,7 +337,6 @@
sha1 = "a56899d3ea3c9bab874bb9773b7c5ede92f4895d";
};
}
-
{
name = "getpass___getpass_0.1.7.tgz";
path = fetchurl {
@@ -388,7 +345,6 @@
sha1 = "5eff8e3e684d569ae4cb2b1282604e8ba62149fa";
};
}
-
{
name = "global___global_4.3.2.tgz";
path = fetchurl {
@@ -397,7 +353,6 @@
sha1 = "e76989268a6c74c38908b1305b10fc0e394e9d0f";
};
}
-
{
name = "graceful_fs___graceful_fs_4.1.15.tgz";
path = fetchurl {
@@ -406,7 +361,6 @@
sha1 = "ffb703e1066e8a0eeaa4c8b80ba9253eeefbfb00";
};
}
-
{
name = "har_schema___har_schema_2.0.0.tgz";
path = fetchurl {
@@ -415,7 +369,6 @@
sha1 = "a94c2224ebcac04782a0d9035521f24735b7ec92";
};
}
-
{
name = "har_validator___har_validator_5.1.3.tgz";
path = fetchurl {
@@ -424,7 +377,6 @@
sha1 = "1ef89ebd3e4996557675eed9893110dc350fa080";
};
}
-
{
name = "has_symbols___has_symbols_1.0.0.tgz";
path = fetchurl {
@@ -433,7 +385,6 @@
sha1 = "ba1a8f1af2a0fc39650f5c850367704122063b44";
};
}
-
{
name = "has___has_1.0.3.tgz";
path = fetchurl {
@@ -442,7 +393,6 @@
sha1 = "722d7cbfc1f6aa8241f16dd814e011e1f41e8796";
};
}
-
{
name = "http_signature___http_signature_1.2.0.tgz";
path = fetchurl {
@@ -451,7 +401,6 @@
sha1 = "9aecd925114772f3d95b65a60abb8f7c18fbace1";
};
}
-
{
name = "imurmurhash___imurmurhash_0.1.4.tgz";
path = fetchurl {
@@ -460,7 +409,6 @@
sha1 = "9218b9b2b928a238b13dc4fb6b6d576f231453ea";
};
}
-
{
name = "ip_regex___ip_regex_1.0.3.tgz";
path = fetchurl {
@@ -469,7 +417,6 @@
sha1 = "dc589076f659f419c222039a33316f1c7387effd";
};
}
-
{
name = "is_callable___is_callable_1.1.4.tgz";
path = fetchurl {
@@ -478,7 +425,6 @@
sha1 = "1e1adf219e1eeb684d691f9d6a05ff0d30a24d75";
};
}
-
{
name = "is_date_object___is_date_object_1.0.1.tgz";
path = fetchurl {
@@ -487,7 +433,6 @@
sha1 = "9aa20eb6aeebbff77fbd33e74ca01b33581d3a16";
};
}
-
{
name = "is_function___is_function_1.0.1.tgz";
path = fetchurl {
@@ -496,7 +441,6 @@
sha1 = "12cfb98b65b57dd3d193a3121f5f6e2f437602b5";
};
}
-
{
name = "is_obj___is_obj_1.0.1.tgz";
path = fetchurl {
@@ -505,7 +449,6 @@
sha1 = "3e4729ac1f5fde025cd7d83a896dab9f4f67db0f";
};
}
-
{
name = "is_regex___is_regex_1.0.4.tgz";
path = fetchurl {
@@ -514,7 +457,6 @@
sha1 = "5517489b547091b0930e095654ced25ee97e9491";
};
}
-
{
name = "is_symbol___is_symbol_1.0.2.tgz";
path = fetchurl {
@@ -523,7 +465,6 @@
sha1 = "a055f6ae57192caee329e7a860118b497a950f38";
};
}
-
{
name = "is_typedarray___is_typedarray_1.0.0.tgz";
path = fetchurl {
@@ -532,7 +473,6 @@
sha1 = "e479c80858df0c1b11ddda6940f96011fcda4a9a";
};
}
-
{
name = "isstream___isstream_0.1.2.tgz";
path = fetchurl {
@@ -541,7 +481,6 @@
sha1 = "47e63f7af55afa6f92e1500e690eb8b8529c099a";
};
}
-
{
name = "jimp___jimp_0.2.28.tgz";
path = fetchurl {
@@ -550,7 +489,6 @@
sha1 = "dd529a937190f42957a7937d1acc3a7762996ea2";
};
}
-
{
name = "jpeg_js___jpeg_js_0.2.0.tgz";
path = fetchurl {
@@ -559,7 +497,6 @@
sha1 = "53e448ec9d263e683266467e9442d2c5a2ef5482";
};
}
-
{
name = "jsbn___jsbn_0.1.1.tgz";
path = fetchurl {
@@ -568,7 +505,6 @@
sha1 = "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513";
};
}
-
{
name = "json_schema_traverse___json_schema_traverse_0.4.1.tgz";
path = fetchurl {
@@ -577,7 +513,6 @@
sha1 = "69f6a87d9513ab8bb8fe63bdb0979c448e684660";
};
}
-
{
name = "json_schema___json_schema_0.2.3.tgz";
path = fetchurl {
@@ -586,7 +521,6 @@
sha1 = "b480c892e59a2f05954ce727bd3f2a4e882f9e13";
};
}
-
{
name = "json_stringify_safe___json_stringify_safe_5.0.1.tgz";
path = fetchurl {
@@ -595,7 +529,6 @@
sha1 = "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb";
};
}
-
{
name = "jsonfile___jsonfile_2.4.0.tgz";
path = fetchurl {
@@ -604,7 +537,6 @@
sha1 = "3736a2b428b87bbda0cc83b53fa3d633a35c2ae8";
};
}
-
{
name = "jsprim___jsprim_1.4.1.tgz";
path = fetchurl {
@@ -613,7 +545,6 @@
sha1 = "313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2";
};
}
-
{
name = "load_bmfont___load_bmfont_1.4.0.tgz";
path = fetchurl {
@@ -622,7 +553,6 @@
sha1 = "75f17070b14a8c785fe7f5bee2e6fd4f98093b6b";
};
}
-
{
name = "locate_path___locate_path_2.0.0.tgz";
path = fetchurl {
@@ -631,7 +561,6 @@
sha1 = "2b568b265eec944c6d9c0de9c3dbbbca0354cd8e";
};
}
-
{
name = "make_dir___make_dir_1.3.0.tgz";
path = fetchurl {
@@ -640,7 +569,6 @@
sha1 = "79c1033b80515bd6d24ec9933e860ca75ee27f0c";
};
}
-
{
name = "mime_db___mime_db_1.38.0.tgz";
path = fetchurl {
@@ -649,7 +577,6 @@
sha1 = "1a2aab16da9eb167b49c6e4df2d9c68d63d8e2ad";
};
}
-
{
name = "mime_types___mime_types_2.1.22.tgz";
path = fetchurl {
@@ -658,7 +585,6 @@
sha1 = "fe6b355a190926ab7698c9a0556a11199b2199bd";
};
}
-
{
name = "mime___mime_1.6.0.tgz";
path = fetchurl {
@@ -667,7 +593,6 @@
sha1 = "32cd9e5c64553bd58d19a568af452acff04981b1";
};
}
-
{
name = "min_document___min_document_2.19.0.tgz";
path = fetchurl {
@@ -676,7 +601,6 @@
sha1 = "7bd282e3f5842ed295bb748cdd9f1ffa2c824685";
};
}
-
{
name = "minimist___minimist_0.0.8.tgz";
path = fetchurl {
@@ -685,7 +609,6 @@
sha1 = "857fcabfc3397d2625b8228262e86aa7a011b05d";
};
}
-
{
name = "minimist___minimist_1.2.0.tgz";
path = fetchurl {
@@ -694,7 +617,6 @@
sha1 = "a35008b20f41383eec1fb914f4cd5df79a264284";
};
}
-
{
name = "mkdirp___mkdirp_0.5.1.tgz";
path = fetchurl {
@@ -703,7 +625,6 @@
sha1 = "30057438eac6cf7f8c4767f38648d6697d75c903";
};
}
-
{
name = "oauth_sign___oauth_sign_0.9.0.tgz";
path = fetchurl {
@@ -712,7 +633,6 @@
sha1 = "47a7b016baa68b5fa0ecf3dee08a85c679ac6455";
};
}
-
{
name = "object_keys___object_keys_1.1.0.tgz";
path = fetchurl {
@@ -721,7 +641,6 @@
sha1 = "11bd22348dd2e096a045ab06f6c85bcc340fa032";
};
}
-
{
name = "p_limit___p_limit_1.3.0.tgz";
path = fetchurl {
@@ -730,7 +649,6 @@
sha1 = "b86bd5f0c25690911c7590fcbfc2010d54b3ccb8";
};
}
-
{
name = "p_locate___p_locate_2.0.0.tgz";
path = fetchurl {
@@ -739,7 +657,6 @@
sha1 = "20a0103b222a70c8fd39cc2e580680f3dde5ec43";
};
}
-
{
name = "p_try___p_try_1.0.0.tgz";
path = fetchurl {
@@ -748,7 +665,6 @@
sha1 = "cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3";
};
}
-
{
name = "parse_bmfont_ascii___parse_bmfont_ascii_1.0.6.tgz";
path = fetchurl {
@@ -757,7 +673,6 @@
sha1 = "11ac3c3ff58f7c2020ab22769079108d4dfa0285";
};
}
-
{
name = "parse_bmfont_binary___parse_bmfont_binary_1.0.6.tgz";
path = fetchurl {
@@ -766,7 +681,6 @@
sha1 = "d038b476d3e9dd9db1e11a0b0e53a22792b69006";
};
}
-
{
name = "parse_bmfont_xml___parse_bmfont_xml_1.1.4.tgz";
path = fetchurl {
@@ -775,7 +689,6 @@
sha1 = "015319797e3e12f9e739c4d513872cd2fa35f389";
};
}
-
{
name = "parse_headers___parse_headers_2.0.2.tgz";
path = fetchurl {
@@ -784,7 +697,6 @@
sha1 = "9545e8a4c1ae5eaea7d24992bca890281ed26e34";
};
}
-
{
name = "path_exists___path_exists_3.0.0.tgz";
path = fetchurl {
@@ -793,7 +705,6 @@
sha1 = "ce0ebeaa5f78cb18925ea7d810d7b59b010fd515";
};
}
-
{
name = "path_is_absolute___path_is_absolute_1.0.1.tgz";
path = fetchurl {
@@ -802,7 +713,6 @@
sha1 = "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f";
};
}
-
{
name = "performance_now___performance_now_2.1.0.tgz";
path = fetchurl {
@@ -811,7 +721,6 @@
sha1 = "6309f4e0e5fa913ec1c69307ae364b4b377c9e7b";
};
}
-
{
name = "phin___phin_2.9.3.tgz";
path = fetchurl {
@@ -820,7 +729,6 @@
sha1 = "f9b6ac10a035636fb65dfc576aaaa17b8743125c";
};
}
-
{
name = "pify___pify_3.0.0.tgz";
path = fetchurl {
@@ -829,7 +737,6 @@
sha1 = "e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176";
};
}
-
{
name = "pixelmatch___pixelmatch_4.0.2.tgz";
path = fetchurl {
@@ -838,7 +745,6 @@
sha1 = "8f47dcec5011b477b67db03c243bc1f3085e8854";
};
}
-
{
name = "pkg_up___pkg_up_2.0.0.tgz";
path = fetchurl {
@@ -847,7 +753,6 @@
sha1 = "c819ac728059a461cab1c3889a2be3c49a004d7f";
};
}
-
{
name = "png_to_ico___png_to_ico_1.0.7.tgz";
path = fetchurl {
@@ -856,7 +761,6 @@
sha1 = "9346b5f4d6fd7e94cb08fd49eeb585f501c3e5f2";
};
}
-
{
name = "pngjs___pngjs_3.4.0.tgz";
path = fetchurl {
@@ -865,7 +769,6 @@
sha1 = "99ca7d725965fb655814eaf65f38f12bbdbf555f";
};
}
-
{
name = "process___process_0.5.2.tgz";
path = fetchurl {
@@ -874,7 +777,6 @@
sha1 = "1638d8a8e34c2f440a91db95ab9aeb677fc185cf";
};
}
-
{
name = "psl___psl_1.1.31.tgz";
path = fetchurl {
@@ -883,7 +785,6 @@
sha1 = "e9aa86d0101b5b105cbe93ac6b784cd547276184";
};
}
-
{
name = "punycode___punycode_1.4.1.tgz";
path = fetchurl {
@@ -892,7 +793,6 @@
sha1 = "c0d5a63b2718800ad8e1eb0fa5269c84dd41845e";
};
}
-
{
name = "punycode___punycode_2.1.1.tgz";
path = fetchurl {
@@ -901,7 +801,6 @@
sha1 = "b58b010ac40c22c5657616c8d2c2c02c7bf479ec";
};
}
-
{
name = "qs___qs_6.5.2.tgz";
path = fetchurl {
@@ -910,7 +809,6 @@
sha1 = "cb3ae806e8740444584ef154ce8ee98d403f3e36";
};
}
-
{
name = "read_chunk___read_chunk_1.0.1.tgz";
path = fetchurl {
@@ -919,7 +817,6 @@
sha1 = "5f68cab307e663f19993527d9b589cace4661194";
};
}
-
{
name = "request___request_2.88.0.tgz";
path = fetchurl {
@@ -928,7 +825,6 @@
sha1 = "9c2fca4f7d35b592efe57c7f0a55e81052124fef";
};
}
-
{
name = "safe_buffer___safe_buffer_5.1.2.tgz";
path = fetchurl {
@@ -937,7 +833,6 @@
sha1 = "991ec69d296e0313747d59bdfd2b745c35f8828d";
};
}
-
{
name = "safer_buffer___safer_buffer_2.1.2.tgz";
path = fetchurl {
@@ -946,7 +841,6 @@
sha1 = "44fa161b0187b9549dd84bb91802f9bd8385cd6a";
};
}
-
{
name = "sax___sax_1.2.4.tgz";
path = fetchurl {
@@ -955,7 +849,6 @@
sha1 = "2816234e2378bddc4e5354fab5caa895df7100d9";
};
}
-
{
name = "signal_exit___signal_exit_3.0.2.tgz";
path = fetchurl {
@@ -964,7 +857,6 @@
sha1 = "b5fdc08f1287ea1178628e415e25132b73646c6d";
};
}
-
{
name = "sshpk___sshpk_1.16.1.tgz";
path = fetchurl {
@@ -973,7 +865,6 @@
sha1 = "fb661c0bef29b39db40769ee39fa70093d6f6877";
};
}
-
{
name = "stream_to_buffer___stream_to_buffer_0.1.0.tgz";
path = fetchurl {
@@ -982,7 +873,6 @@
sha1 = "26799d903ab2025c9bd550ac47171b00f8dd80a9";
};
}
-
{
name = "stream_to___stream_to_0.2.2.tgz";
path = fetchurl {
@@ -991,7 +881,6 @@
sha1 = "84306098d85fdb990b9fa300b1b3ccf55e8ef01d";
};
}
-
{
name = "string.prototype.trim___string.prototype.trim_1.1.2.tgz";
path = fetchurl {
@@ -1000,7 +889,6 @@
sha1 = "d04de2c89e137f4d7d206f086b5ed2fae6be8cea";
};
}
-
{
name = "tinycolor2___tinycolor2_1.4.1.tgz";
path = fetchurl {
@@ -1009,7 +897,6 @@
sha1 = "f4fad333447bc0b07d4dc8e9209d8f39a8ac77e8";
};
}
-
{
name = "tough_cookie___tough_cookie_2.4.3.tgz";
path = fetchurl {
@@ -1018,7 +905,6 @@
sha1 = "53f36da3f47783b0925afa06ff9f3b165280f781";
};
}
-
{
name = "tunnel_agent___tunnel_agent_0.6.0.tgz";
path = fetchurl {
@@ -1027,7 +913,6 @@
sha1 = "27a5dea06b36b04a0a9966774b290868f0fc40fd";
};
}
-
{
name = "tweetnacl___tweetnacl_0.14.5.tgz";
path = fetchurl {
@@ -1036,7 +921,6 @@
sha1 = "5ae68177f192d4456269d108afa93ff8743f4f64";
};
}
-
{
name = "untildify___untildify_3.0.3.tgz";
path = fetchurl {
@@ -1045,7 +929,6 @@
sha1 = "1e7b42b140bcfd922b22e70ca1265bfe3634c7c9";
};
}
-
{
name = "uri_js___uri_js_4.2.2.tgz";
path = fetchurl {
@@ -1054,7 +937,6 @@
sha1 = "94c540e1ff772956e2299507c010aea6c8838eb0";
};
}
-
{
name = "url_regex___url_regex_3.2.0.tgz";
path = fetchurl {
@@ -1063,7 +945,6 @@
sha1 = "dbad1e0c9e29e105dd0b1f09f6862f7fdb482724";
};
}
-
{
name = "uuid___uuid_3.3.2.tgz";
path = fetchurl {
@@ -1072,7 +953,6 @@
sha1 = "1b4af4955eb3077c501c23872fc6513811587131";
};
}
-
{
name = "verror___verror_1.10.0.tgz";
path = fetchurl {
@@ -1081,7 +961,6 @@
sha1 = "3a105ca17053af55d6e270c1f8288682e18da400";
};
}
-
{
name = "winreg___winreg_1.2.4.tgz";
path = fetchurl {
@@ -1090,7 +969,6 @@
sha1 = "ba065629b7a925130e15779108cf540990e98d1b";
};
}
-
{
name = "write_file_atomic___write_file_atomic_2.4.2.tgz";
path = fetchurl {
@@ -1099,7 +977,6 @@
sha1 = "a7181706dfba17855d221140a9c06e15fcdd87b9";
};
}
-
{
name = "xhr___xhr_2.5.0.tgz";
path = fetchurl {
@@ -1108,7 +985,6 @@
sha1 = "bed8d1676d5ca36108667692b74b316c496e49dd";
};
}
-
{
name = "xml_parse_from_string___xml_parse_from_string_1.0.1.tgz";
path = fetchurl {
@@ -1117,7 +993,6 @@
sha1 = "a9029e929d3dbcded169f3c6e28238d95a5d5a28";
};
}
-
{
name = "xml2js___xml2js_0.4.19.tgz";
path = fetchurl {
@@ -1126,7 +1001,6 @@
sha1 = "686c20f213209e94abf0d1bcf1efaa291c7827a7";
};
}
-
{
name = "xmlbuilder___xmlbuilder_9.0.7.tgz";
path = fetchurl {
@@ -1135,7 +1009,6 @@
sha1 = "132ee63d2ec5565c557e20f4c22df9aca686b10d";
};
}
-
{
name = "xtend___xtend_4.0.1.tgz";
path = fetchurl {
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix b/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
index 3d9bf85829a..2c4557f2cc0 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-desktop.nix
@@ -1,32 +1,26 @@
-{ pkgs, stdenv, fetchFromGitHub, makeWrapper, makeDesktopItem, electron, riot-web }:
+{ pkgs, stdenv, fetchFromGitHub, makeWrapper, makeDesktopItem, electron_5, riot-web, yarn2nix-moretea }:
-# Note for maintainers:
-# Versions of `riot-web` and `riot-desktop` should be kept in sync.
-
-with (import ./yarn2nix.nix { inherit pkgs; });
+# Notes for maintainers:
+# * versions of `riot-web` and `riot-desktop` should be kept in sync.
+# * the Yarn dependency expression must be updated with `./update-riot-desktop.sh `
let
executableName = "riot-desktop";
- version = "1.1.0";
+ version = "1.3.3";
riot-web-src = fetchFromGitHub {
owner = "vector-im";
repo = "riot-web";
rev = "v${version}";
- sha256 = "0h1rr70jg64v824k31mvb93nfssr572xlyicc8yh91bl7hdh342x";
+ sha256 = "1nzzxcz4r9932cha80q1bzn1425m67fsl89pn7n7ybrv6y0jnxpc";
};
-in mkYarnPackage rec {
+in yarn2nix-moretea.mkYarnPackage rec {
name = "riot-desktop-${version}";
inherit version;
src = "${riot-web-src}/electron_app";
- # The package manifest should be copied on each update of this package.
- # > cp ${riot-web-src}/electron_app/package.json riot-desktop-package.json
packageJSON = ./riot-desktop-package.json;
-
- # The dependency expression can be regenerated using nixos.yarn2nix with the following command:
- # > yarn2nix --lockfile=${riot-web-src}/electron_app/yarn.lock > riot-desktop-yarndeps.nix
yarnNix = ./riot-desktop-yarndeps.nix;
nativeBuildInputs = [ makeWrapper ];
@@ -36,7 +30,9 @@ in mkYarnPackage rec {
mkdir -p "$out/share/riot"
ln -s '${riot-web}' "$out/share/riot/webapp"
cp -r '${riot-web-src}/origin_migrator' "$out/share/riot/origin_migrator"
- cp -r '.' "$out/share/riot/electron"
+ cp -r './deps/riot-web' "$out/share/riot/electron"
+ rm "$out/share/riot/electron/node_modules"
+ cp -r './node_modules' "$out/share/riot/electron"
# icons
for icon in $out/share/riot/electron/build/icons/*.png; do
@@ -49,7 +45,7 @@ in mkYarnPackage rec {
ln -s "${desktopItem}/share/applications" "$out/share/applications"
# executable wrapper
- makeWrapper '${electron}/bin/electron' "$out/bin/${executableName}" \
+ makeWrapper '${electron_5}/bin/electron' "$out/bin/${executableName}" \
--add-flags "$out/share/riot/electron"
'';
@@ -65,7 +61,7 @@ in mkYarnPackage rec {
# * category and StartupWMClass from the build.linux section of
# https://github.com/vector-im/riot-web/blob/develop/package.json
desktopItem = makeDesktopItem {
- inherit name;
+ name = "riot";
exec = executableName;
icon = "riot";
desktopName = "Riot";
@@ -81,8 +77,7 @@ in mkYarnPackage rec {
description = "A feature-rich client for Matrix.org";
homepage = https://about.riot.im/;
license = licenses.asl20;
- maintainers = with maintainers; [ pacien ];
- inherit (electron.meta) platforms;
+ maintainers = with maintainers; [ pacien worldofpeace ];
+ inherit (electron_5.meta) platforms;
};
}
-
diff --git a/pkgs/applications/networking/instant-messengers/riot/riot-web.nix b/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
index 7d19f8f6600..2755d181da2 100644
--- a/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
+++ b/pkgs/applications/networking/instant-messengers/riot/riot-web.nix
@@ -3,20 +3,23 @@
# Note for maintainers:
# Versions of `riot-web` and `riot-desktop` should be kept in sync.
-let configFile = writeText "riot-config.json" conf; in
stdenv.mkDerivation rec {
- name= "riot-web-${version}";
- version = "1.1.0";
+ pname = "riot-web";
+ version = "1.3.3";
src = fetchurl {
url = "https://github.com/vector-im/riot-web/releases/download/v${version}/riot-v${version}.tar.gz";
- sha256 = "14ap57hv1c5nh17771l39inpa5yacpyckzqcmjlbrb57illakwrd";
+ sha256 = "1n5h7q3h0akw09p4z7nwprxsa8jnmwbvwn2npq7zz62ccasb4fv9";
};
- installPhase = ''
+ installPhase = let
+ configFile = if (conf != null)
+ then writeText "riot-config.json" conf
+ else "$out/config.sample.json";
+ in ''
mkdir -p $out/
cp -R . $out/
- ${lib.optionalString (conf != null) "ln -s ${configFile} $out/config.json"}
+ ln -s ${configFile} $out/config.json
'';
meta = {
diff --git a/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh b/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh
new file mode 100755
index 00000000000..b646a9e03ad
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/riot/update-riot-desktop.sh
@@ -0,0 +1,17 @@
+#!/usr/bin/env nix-shell
+#!nix-shell -I nixpkgs=../../../../../ -i bash -p wget yarn2nix-moretea.yarn2nix
+
+set -euo pipefail
+
+if [ "$#" -ne 1 ] || [[ "$1" == -* ]]; then
+ echo "Regenerates the Yarn dependency lock files for the riot-desktop package."
+ echo "Usage: $0 "
+ exit 1
+fi
+
+RIOT_WEB_SRC="https://raw.githubusercontent.com/vector-im/riot-web/$1"
+
+wget "$RIOT_WEB_SRC/electron_app/package.json" -O riot-desktop-package.json
+wget "$RIOT_WEB_SRC/electron_app/yarn.lock" -O riot-desktop-yarndeps.lock
+yarn2nix --lockfile=riot-desktop-yarndeps.lock > riot-desktop-yarndeps.nix
+rm riot-desktop-yarndeps.lock
diff --git a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix
index 3336c05aae7..010ea1bff7c 100644
--- a/pkgs/applications/networking/instant-messengers/signal-cli/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-cli/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, makeWrapper, jre_headless }:
stdenv.mkDerivation rec {
- name = "signal-cli-${version}";
+ pname = "signal-cli";
version = "0.6.2";
# Building from source would be preferred, but is much more involved.
diff --git a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
index eb5094bb26e..f217084585a 100644
--- a/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/signal-desktop/default.nix
@@ -1,8 +1,8 @@
{ stdenv, lib, fetchurl, dpkg, wrapGAppsHook
-, gnome2, gtk3, atk, at-spi2-atk, cairo, pango, gdk_pixbuf, glib, freetype, fontconfig
+, gnome2, gtk3, atk, at-spi2-atk, cairo, pango, gdk-pixbuf, glib, freetype, fontconfig
, dbus, libX11, xorg, libXi, libXcursor, libXdamage, libXrandr, libXcomposite
, libXext, libXfixes, libXrender, libXtst, libXScrnSaver, nss, nspr, alsaLib
-, cups, expat, udev, libnotify, libuuid
+, cups, expat, udev, libnotify, libuuid, at-spi2-core
# Unfortunately this also overwrites the UI language (not just the spell
# checking language!):
, hunspellDicts, spellcheckerLanguage ? null # E.g. "de_DE"
@@ -25,13 +25,14 @@ let
alsaLib
atk
at-spi2-atk
+ at-spi2-core
cairo
cups
dbus
expat
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.GConf
gtk3
@@ -56,12 +57,18 @@ let
];
in stdenv.mkDerivation rec {
- name = "signal-desktop-${version}";
- version = "1.24.1";
+ pname = "signal-desktop";
+ version = "1.27.2"; # Please backport all updates to the stable channel.
+ # All releases have a limited lifetime and "expire" 90 days after the release.
+ # When releases "expire" the application becomes unusable until an update is
+ # applied. The expiration date for the current release can be extracted with:
+ # $ grep -a "^{\"buildExpiration" "${signal-desktop}/libexec/resources/app.asar"
+ # (Alternatively we could try to patch the asar archive, but that requires a
+ # few additional steps and might not be the best idea.)
src = fetchurl {
url = "https://updates.signal.org/desktop/apt/pool/main/s/signal-desktop/signal-desktop_${version}_amd64.deb";
- sha256 = "195rwx4xhgij5nrda1y6bhf5jyvcgb70g6ykangywhcagglqqair";
+ sha256 = "08qh7867bc6z6mdbdilqdacx67n0kaxl3m4m97k0jxhd093a8xfz";
};
phases = [ "unpackPhase" "installPhase" ];
diff --git a/pkgs/applications/networking/instant-messengers/sky/default.nix b/pkgs/applications/networking/instant-messengers/sky/default.nix
index a90acc8eae3..cdc176be65b 100644
--- a/pkgs/applications/networking/instant-messengers/sky/default.nix
+++ b/pkgs/applications/networking/instant-messengers/sky/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, file, lib, libX11, libXScrnSaver
+{ stdenv, fetchurl, file, libX11, libXScrnSaver
, libGL, qt5, SDL, libpulseaudio
, libXrandr, libXext, libXcursor, libXinerama, libXi
, curl, sqlite, openssl
, libuuid, openh264, libv4l, libxkbfile, libXv, zlib, libXmu
-, libXtst, libXdamage, pam, patchelfUnstable, libXfixes, libXrender, libjpeg_original
+, libXtst, libXdamage, pam, libXfixes, libXrender, libjpeg_original
, ffmpeg
}:
let
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
version_major = "2.1.7369";
version_minor = "1";
version = version_major + "." + version_minor;
- name = "sky-${version}";
+ pname = "sky";
unpackCmd = "ar x $curSrc; tar -xf data.tar.xz";
src = fetchurl {
url = "https://tel.red/repos/ubuntu/pool/non-free/sky_${version_major + "-" + version_minor}ubuntu+xenial_amd64.deb";
diff --git a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
index 71deacecea0..cbab67e5e1a 100644
--- a/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
+++ b/pkgs/applications/networking/instant-messengers/skypeforlinux/default.nix
@@ -1,18 +1,19 @@
{ stdenv, fetchurl, dpkg
-, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, gdk_pixbuf, glib, glibc, gnome2, gnome3
+, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, gdk-pixbuf, glib, glibc, gnome2, gnome3
, gtk3, libnotify, libpulseaudio, libsecret, libv4l, nspr, nss, pango, systemd, wrapGAppsHook, xorg
-, at-spi2-atk }:
+, at-spi2-atk, libuuid, at-spi2-core }:
let
# Please keep the version x.y.0.z and do not update to x.y.76.z because the
# source of the latter disappears much faster.
- version = "8.44.0.40";
+ version = "8.51.0.72";
rpath = stdenv.lib.makeLibraryPath [
alsaLib
atk
at-spi2-atk
+ at-spi2-core
cairo
cups
curl
@@ -23,9 +24,10 @@ let
glib
glibc
libsecret
+ libuuid
gnome2.GConf
- gdk_pixbuf
+ gdk-pixbuf
gtk3
gnome3.gnome-keyring
@@ -58,13 +60,14 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://repo.skype.com/deb/pool/main/s/skypeforlinux/skypeforlinux_${version}_amd64.deb";
- sha256 = "08b5nfx1c8czx5nga3zlg60rxnyg2iy627vnaq8cf9dv620vbrw8";
+ sha256 = "1rv3jxirlfy0gvphw8cxmwmghbak5m5wj0y3bgamcvma48mzdfk3";
}
else
throw "Skype for linux is not supported on ${stdenv.hostPlatform.system}";
in stdenv.mkDerivation {
- name = "skypeforlinux-${version}";
+ pname = "skypeforlinux";
+ inherit version;
system = "x86_64-linux";
@@ -77,7 +80,7 @@ in stdenv.mkDerivation {
buildInputs = [ dpkg ];
- unpackPhase = "true";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out
dpkg -x $src $out
diff --git a/pkgs/applications/networking/instant-messengers/slack-term/default.nix b/pkgs/applications/networking/instant-messengers/slack-term/default.nix
index 79464f54232..6271e338a96 100644
--- a/pkgs/applications/networking/instant-messengers/slack-term/default.nix
+++ b/pkgs/applications/networking/instant-messengers/slack-term/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
# https://github.com/erroneousboat/slack-term
- name = "slack-term-${version}";
+ pname = "slack-term";
version = "0.4.1";
goPackagePath = "github.com/erroneousboat/slack-term";
diff --git a/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix b/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix
new file mode 100644
index 00000000000..903d8e60d6d
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix
@@ -0,0 +1,19 @@
+{ stdenv, fetchgit }:
+
+stdenv.mkDerivation rec {
+ rev = "f760176c6e133667ce73aeecba8b0c0eb8822941";
+ version = "2019-09-11";
+ pname = "slack-theme-black";
+
+ src = fetchgit { inherit rev;
+ url = "https://github.com/laCour/slack-night-mode";
+ sha256 = "1kx8nx7mhrabs5wxqgvy86s5smy5hw49gv6yc95yxwx6ymwpgbzj";
+ };
+
+ dontUnpack = true;
+
+ buildCommand = ''
+ mkdir $out
+ cp $src/css/raw/black.css $out/theme.css
+ '';
+}
diff --git a/pkgs/applications/networking/instant-messengers/slack/default.nix b/pkgs/applications/networking/instant-messengers/slack/default.nix
index 76b9a8b2440..d3aa302d601 100644
--- a/pkgs/applications/networking/instant-messengers/slack/default.nix
+++ b/pkgs/applications/networking/instant-messengers/slack/default.nix
@@ -1,11 +1,12 @@
-{ darkMode ? false, stdenv, fetchurl, dpkg, makeWrapper , alsaLib, atk, cairo,
-cups, curl, dbus, expat, fontconfig, freetype, glib , gnome2, gtk3, gdk_pixbuf,
+{ theme ? null, stdenv, fetchurl, dpkg, makeWrapper , alsaLib, atk, cairo,
+cups, curl, dbus, expat, fontconfig, freetype, glib , gnome2, gtk3, gdk-pixbuf,
libappindicator-gtk3, libnotify, libxcb, nspr, nss, pango , systemd, xorg,
-at-spi2-atk, libuuid }:
+at-spi2-atk, libuuid, nodePackages
+}:
let
- version = "3.4.2";
+ version = "4.0.2";
rpath = stdenv.lib.makeLibraryPath [
alsaLib
@@ -20,7 +21,7 @@ let
freetype
glib
gnome2.GConf
- gdk_pixbuf
+ gdk-pixbuf
gtk3
pango
libnotify
@@ -50,13 +51,14 @@ let
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "https://downloads.slack-edge.com/linux_releases/slack-desktop-${version}-amd64.deb";
- sha256 = "0qbj41ymckz8w1p2pazyxg7pimgn9gmpvxz4ygcm0nyivfmw2crq";
+ sha256 = "053j5py16ilpwy868rhh5l2g93xj1fq4fwxrsi2bkfsnmq261hkm";
}
else
throw "Slack is not supported on ${stdenv.hostPlatform.system}";
in stdenv.mkDerivation {
- name = "slack-${version}";
+ pname = "slack";
+ inherit version;
inherit src;
@@ -65,9 +67,9 @@ in stdenv.mkDerivation {
gtk3 # needed for GSETTINGS_SCHEMAS_PATH
];
- nativeBuildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ makeWrapper nodePackages.asar ];
- unpackPhase = "true";
+ dontUnpack = true;
buildCommand = ''
mkdir -p $out
dpkg -x $src $out
@@ -91,27 +93,28 @@ in stdenv.mkDerivation {
substituteInPlace $out/share/applications/slack.desktop \
--replace /usr/bin/ $out/bin/ \
--replace /usr/share/ $out/share/
- '' + stdenv.lib.optionalString darkMode ''
- cat <> $out/lib/slack/resources/app.asar.unpacked/src/static/ssb-interop.js
+ '' + stdenv.lib.optionalString (theme != null) ''
+ asar extract $out/lib/slack/resources/app.asar $out/lib/slack/resources/app.asar.unpacked
+ cat <> $out/lib/slack/resources/app.asar.unpacked/dist/ssb-interop.bundle.js
+
+ var fs = require('fs');
document.addEventListener('DOMContentLoaded', function() {
- let tt__customCss = ".menu ul li a:not(.inline_menu_link) {color: #fff !important;}"
- $.ajax({
- url: 'https://cdn.rawgit.com/laCour/slack-night-mode/master/css/raw/black.css',
- success: function(css) {
- \$("").appendTo('head').html(css + tt__customCss);
- \$("").appendTo('head').html('#reply_container.upload_in_threads .inline_message_input_container {background: padding-box #545454}');
- \$("").appendTo('head').html('.p-channel_sidebar {background: #363636 !important}');
- \$("").appendTo('head').html('#client_body:not(.onboarding):not(.feature_global_nav_layout):before {background: inherit;}');
- }
+ fs.readFile('${theme}/theme.css', 'utf8', function(err, css) {
+ let s = document.createElement('style');
+ s.type = 'text/css';
+ s.innerHTML = css;
+ document.head.appendChild(s);
});
});
EOF
+ asar pack $out/lib/slack/resources/app.asar.unpacked $out/lib/slack/resources/app.asar
'';
meta = with stdenv.lib; {
description = "Desktop client for Slack";
homepage = https://slack.com;
license = licenses.unfree;
+ maintainers = [ maintainers.mmahut ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/networking/instant-messengers/slack/update.sh b/pkgs/applications/networking/instant-messengers/slack/update.sh
new file mode 100755
index 00000000000..e5f79388353
--- /dev/null
+++ b/pkgs/applications/networking/instant-messengers/slack/update.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env nix-shell
+#!nix-shell -i bash -p curl common-updater-scripts jq
+
+set -eu -o pipefail
+
+oldVersion="$(nix-instantiate --eval -E "with import ./. {}; slack-theme-black.version or (builtins.parseDrvName slack-theme-black.name).version" | tr -d '"')"
+latestSha="$(curl -L -s https://api.github.com/repos/laCour/slack-night-mode/commits\?sha\=master\&since\=${oldVersion} | jq -r '.[0].sha')"
+
+if [ ! "null" = "${latestSha}" ]; then
+ latestDate="$(curl -L -s https://api.github.com/repos/laCour/slack-night-mode/commits/${latestSha} | jq '.commit.author.date' | sed 's|"\(.*\)T.*|\1|g')"
+ update-source-version slack-theme-black "${latestSha}" --version-key=rev
+ update-source-version slack-theme-black "${latestDate}" --ignore-same-hash
+ nixpkgs="$(git rev-parse --show-toplevel)"
+ default_nix="$nixpkgs/pkgs/applications/networking/instant-messengers/slack/dark-theme.nix"
+ git add "${default_nix}"
+ git commit -m "slack-theme-black: ${oldVersion} -> ${latestDate}"
+else
+ echo "slack-theme-black is already up-to-date"
+fi
diff --git a/pkgs/applications/networking/instant-messengers/spectral/default.nix b/pkgs/applications/networking/instant-messengers/spectral/default.nix
index 72069ec81c1..314a3bb6457 100644
--- a/pkgs/applications/networking/instant-messengers/spectral/default.nix
+++ b/pkgs/applications/networking/instant-messengers/spectral/default.nix
@@ -1,49 +1,40 @@
{ stdenv, fetchgit
-, pkgconfig, makeWrapper
-, qmake, qtbase, qtquickcontrols2, qtmultimedia
+, pkgconfig, wrapQtAppsHook
+, cmake
+, qtbase, qttools, qtquickcontrols2, qtmultimedia, qtkeychain
, libpulseaudio
# Not mentioned but seems needed
, qtgraphicaleffects
, qtdeclarative
, qtmacextras
+, olm, cmark
}:
-let
- # Following "borrowed" from yubikey-manager-qt
- qmlPath = qmlLib: "${qmlLib}/${qtbase.qtQmlPrefix}";
-
- inherit (stdenv) lib;
-
- qml2ImportPath = lib.concatMapStringsSep ":" qmlPath [
- qtbase.bin qtdeclarative.bin qtquickcontrols2.bin qtgraphicaleffects qtmultimedia
- ];
-
-in stdenv.mkDerivation rec {
+let qtkeychain-qt5 = qtkeychain.override {
+ inherit qtbase qttools;
+ withQt5 = true;
+};
+in stdenv.mkDerivation {
pname = "spectral";
- version = "2019-03-03";
+ version = "unstable-2019-08-30";
src = fetchgit {
url = "https://gitlab.com/b0/spectral.git";
- rev = "0473f25d38a064ee4e18203ec16eeae84fea4866";
- sha256 = "1n09ginw6g0p42xj3zgxm52dvyyvj5psllv70vx21i50lvkbh9rw";
+ rev = "ee86c948aec5fe72979fc6df97f4a6ef711bdf94";
+ sha256 = "1mqabdkvzq48wki92wm2r79kj8g8m7ganpl47sh60qfsk4bxa8b2";
fetchSubmodules = true;
};
- qmakeFlags = [ "CONFIG+=qtquickcompiler" "BUNDLE_FONT=true" ];
+ #qmakeFlags = [ "CONFIG+=qtquickcompiler" "BUNDLE_FONT=true" ];
- postInstall = ''
- wrapProgram $out/bin/spectral \
- --set QML2_IMPORT_PATH "${qml2ImportPath}"
- '';
-
- nativeBuildInputs = [ pkgconfig qmake makeWrapper ];
- buildInputs = [ qtbase qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative ]
+ nativeBuildInputs = [ pkgconfig cmake wrapQtAppsHook ];
+ buildInputs = [ qtbase qtkeychain-qt5 qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative olm cmark ]
++ stdenv.lib.optional stdenv.hostPlatform.isLinux libpulseaudio
++ stdenv.lib.optional stdenv.hostPlatform.isDarwin qtmacextras;
meta = with stdenv.lib; {
- description = "A glossy client for Matrix, written in QtQuick Controls 2 and C++";
- homepage = https://gitlab.com/b0/spectral;
+ description = "A glossy cross-platform Matrix client.";
+ homepage = "https://gitlab.com/b0/spectral";
license = licenses.gpl3;
platforms = with platforms; linux ++ darwin;
maintainers = with maintainers; [ dtzWill ];
diff --git a/pkgs/applications/networking/instant-messengers/stride/default.nix b/pkgs/applications/networking/instant-messengers/stride/default.nix
index 9df816dd890..7a9ab4d127c 100644
--- a/pkgs/applications/networking/instant-messengers/stride/default.nix
+++ b/pkgs/applications/networking/instant-messengers/stride/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, dpkg, alsaLib, atk, cairo, cups, dbus, expat, fontconfig
-, freetype, gdk_pixbuf, glib, gnome2, nspr, nss, pango, udev, xorg }:
+, freetype, gdk-pixbuf, glib, gnome2, nspr, nss, pango, udev, xorg }:
let
fullPath = stdenv.lib.makeLibraryPath [
alsaLib
@@ -10,7 +10,7 @@ let
expat
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.GConf
gnome2.gtk
@@ -34,7 +34,7 @@ let
in
stdenv.mkDerivation rec {
version = "1.17.82";
- name = "stride-${version}";
+ pname = "stride";
src = fetchurl {
url = "https://packages.atlassian.com/stride-apt-client/pool/stride_${version}_amd64.deb";
diff --git a/pkgs/applications/networking/instant-messengers/swift-im/default.nix b/pkgs/applications/networking/instant-messengers/swift-im/default.nix
index 51e7f081d1e..db1d0a54dce 100644
--- a/pkgs/applications/networking/instant-messengers/swift-im/default.nix
+++ b/pkgs/applications/networking/instant-messengers/swift-im/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "swift-im-${version}";
+ pname = "swift-im";
version = "4.0.2";
src = fetchurl {
diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
index 7a50536cc0f..3c532fa506a 100644
--- a/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
+++ b/pkgs/applications/networking/instant-messengers/teamspeak/client.nix
@@ -29,18 +29,15 @@ let
in
stdenv.mkDerivation rec {
- name = "teamspeak-client-${version}";
+ pname = "teamspeak-client";
- version = "3.1.10";
+ version = "3.3.0";
src = fetchurl {
- urls = [
- "http://dl.4players.de/ts/releases/${version}/TeamSpeak3-Client-linux_${arch}-${version}.run"
- "http://teamspeak.gameserver.gamed.de/ts3/releases/${version}/TeamSpeak3-Client-linux_${arch}-${version}.run"
- ];
+ url = "https://files.teamspeak-services.com/releases/client/${version}/TeamSpeak3-Client-linux_${arch}-${version}.run";
sha256 = if stdenv.is64bit
- then "17gylj5pxba14c1c98b5rdyyb87c58z8l8yrd1iw5k293wf7iwv3"
- else "1bkn3ykrc73wr02qaqwpr4garlqm3424y3dm2fjx6lqcfzm3ms2k";
+ then "13286dbjp4qiyfv8my1hfpwzns4szdsnqa11j8ygsh5ikgjk338a"
+ else "04lwclq7nvw73v5fmn9795j5wi54syglc77ldl41caiqqhdqf1i5";
};
# grab the plugin sdk for the desktop icon
@@ -61,6 +58,7 @@ stdenv.mkDerivation rec {
''
mv ts3client_linux_${arch} ts3client
echo "patching ts3client..."
+ patchelf --replace-needed libquazip.so ${quazip}/lib/libquazip5.so ts3client
patchelf \
--interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath ${stdenv.lib.makeLibraryPath deps}:$(cat $NIX_CC/nix-support/orig-cc)/${libDir} \
diff --git a/pkgs/applications/networking/instant-messengers/teamspeak/server.nix b/pkgs/applications/networking/instant-messengers/teamspeak/server.nix
index d7c8db81d63..15cec96afc7 100644
--- a/pkgs/applications/networking/instant-messengers/teamspeak/server.nix
+++ b/pkgs/applications/networking/instant-messengers/teamspeak/server.nix
@@ -1,62 +1,32 @@
-{ stdenv, fetchurl, makeWrapper }:
+{ stdenv, fetchurl, autoPatchelfHook }:
let
- version = "3.7.1";
arch = if stdenv.is64bit then "amd64" else "x86";
- libDir = if stdenv.is64bit then "lib64" else "lib";
-in
-
-stdenv.mkDerivation {
- name = "teamspeak-server-${version}";
+in stdenv.mkDerivation rec {
+ pname = "teamspeak-server";
+ version = "3.9.1";
src = fetchurl {
- urls = [
- "http://dl.4players.de/ts/releases/${version}/teamspeak3-server_linux_${arch}-${version}.tar.bz2"
- "http://teamspeak.gameserver.gamed.de/ts3/releases/${version}/teamspeak3-server_linux_${arch}-${version}.tar.bz2"
- ];
+ url = "https://files.teamspeak-services.com/releases/server/${version}/teamspeak3-server_linux_${arch}-${version}.tar.bz2";
sha256 = if stdenv.is64bit
- then "1w60241zsvr8d1qlkca6a1sfxa1jz4w1z9kjd0wd2wkgzp4x91v7"
- else "0s835dnaw662sb2v5ahqiwry0qjcpl7ff9krnhbw2iblsbqis3fj";
+ then "0vzi0prnqhjxrwlghwgii0rsmml6aa3qk3yv227g9wz5m3b9f10a"
+ else "1nn0fh4s5rmnn27djbsk21jaah1kxyvap9qaf5p4r7cydwr1bzm6";
};
- buildInputs = [ makeWrapper ];
+ buildInputs = [ stdenv.cc.cc ];
- buildPhase =
- ''
- echo "patching ts3server"
- patchelf \
- --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath $(cat $NIX_CC/nix-support/orig-cc)/${libDir} \
- --force-rpath \
- ts3server
- cp tsdns/tsdnsserver tsdnsserver
- patchelf \
- --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath $(cat $NIX_CC/nix-support/orig-cc)/${libDir} \
- --force-rpath \
- tsdnsserver
- '';
+ nativeBuildInputs = [ autoPatchelfHook ];
- installPhase =
- ''
- # Delete unecessary libraries - these are provided by nixos.
- #rm *.so*
+ installPhase = ''
+ # Install files.
+ mkdir -p $out/lib/teamspeak
+ mv * $out/lib/teamspeak/
- # Install files.
- mkdir -p $out/lib/teamspeak
- mv * $out/lib/teamspeak/
-
- # Make symlinks to the binaries from bin.
- mkdir -p $out/bin/
- ln -s $out/lib/teamspeak/ts3server $out/bin/ts3server
- ln -s $out/lib/teamspeak/tsdnsserver $out/bin/tsdnsserver
-
- wrapProgram $out/lib/teamspeak/ts3server --prefix LD_LIBRARY_PATH : $out/lib/teamspeak
- wrapProgram $out/lib/teamspeak/tsdnsserver --prefix LD_LIBRARY_PATH : $out/lib/tsdnsserver
- '';
-
- dontStrip = true;
- dontPatchELF = true;
+ # Make symlinks to the binaries from bin.
+ mkdir -p $out/bin/
+ ln -s $out/lib/teamspeak/ts3server $out/bin/ts3server
+ ln -s $out/lib/teamspeak/tsdns/tsdnsserver $out/bin/tsdnsserver
+ '';
meta = {
description = "TeamSpeak voice communication server";
diff --git a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix b/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix
deleted file mode 100644
index 77a8d57f8b6..00000000000
--- a/pkgs/applications/networking/instant-messengers/telegram/cutegram/default.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ stdenv, fetchgit
-, qtbase, qtmultimedia, qtquick1, qtquickcontrols
-, qtimageformats, qtgraphicaleffects, qtwebkit
-, telegram-qml, libqtelegram-aseman-edition
-, gst_all_1
-, makeWrapper, qmake }:
-
-stdenv.mkDerivation rec {
- name = "cutegram-${meta.version}";
-
- src = fetchgit {
- url = "https://github.com/Aseman-Land/Cutegram.git";
- rev = "1dbe2792fb5a1760339379907f906e236c09db84";
- sha256 = "146vd3ri05da2asxjjxibnqmb685lgwl2kaz7mwb7ja7vi4149f0";
- };
-
- buildInputs =
- [ qtbase qtmultimedia qtquick1 qtquickcontrols
- qtimageformats qtgraphicaleffects qtwebkit
- telegram-qml libqtelegram-aseman-edition
- ] ++ (with gst_all_1; [ gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly ]);
-
-
- enableParallelBuilding = true;
- nativeBuildInputs = [ makeWrapper qmake ];
-
- fixupPhase = ''
- wrapProgram $out/bin/cutegram \
- --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0"
- '';
-
- meta = with stdenv.lib; {
- version = "2.7.1";
- description = "Telegram client forked from sigram";
- homepage = http://aseman.co/en/products/cutegram/;
- license = licenses.gpl3;
- maintainers = with maintainers; [ AndersonTorres ];
- platforms = platforms.linux;
- };
-}
-#TODO: appindicator, for system tray plugin
diff --git a/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix b/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix
deleted file mode 100644
index 49368da708e..00000000000
--- a/pkgs/applications/networking/instant-messengers/telegram/libqtelegram-aseman-edition/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ stdenv, fetchFromGitHub
-, qtbase, qtmultimedia, qtquick1, qmake }:
-
-stdenv.mkDerivation rec {
- name = "libqtelegram-aseman-edition-${meta.version}";
-
- src = fetchFromGitHub {
- owner = "Aseman-Land";
- repo = "libqtelegram-aseman-edition";
- rev = "v${meta.version}-stable";
- sha256 = "1pfd4pvh51639zk9shv1s4f6pf0ympnhar8a302vhrkga9i4cbx6";
- };
-
- buildInputs = [ qtbase qtmultimedia qtquick1 ];
- enableParallelBuilding = true;
- nativeBuildInputs = [ qmake ];
-
- patchPhase = ''
- substituteInPlace libqtelegram-ae.pro --replace "/libqtelegram-ae" ""
- substituteInPlace libqtelegram-ae.pro --replace "/\$\$LIB_PATH" ""
- '';
-
- meta = with stdenv.lib; {
- version = "6.1";
- description = "A fork of libqtelegram by Aseman, using qmake";
- homepage = src.meta.homepage;
- license = licenses.gpl3;
- maintainers = [ maintainers.Profpatsch ];
- platforms = platforms.linux;
- };
-
-}
diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
index c7b990db602..26b858aa3b8 100644
--- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/default.nix
@@ -1,18 +1,173 @@
-{ qt5 }:
+{ mkDerivation, lib, fetchFromGitHub, fetchsvn, fetchpatch
+, pkgconfig, pythonPackages, cmake, wrapGAppsHook, wrapQtAppsHook, gcc9
+, qtbase, qtimageformats, gtk3, libappindicator-gtk3, libnotify, xdg_utils
+, dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
+}:
-let
- mkTelegram = args: qt5.callPackage (import ./generic.nix args) { };
- stableVersion = {
- stable = true;
- version = "1.7.0";
- sha256Hash = "1plfby243hf65wjmppq1qnqmp25pgi4x3awqd4h83ly9hn8qdwfk";
+with lib;
+
+mkDerivation rec {
+ pname = "telegram-desktop";
+ version = "1.8.8";
+ # Note: Due to our strong dependency on the Arch patches it's probably best
+ # to also wait for the Arch update (especially if the patches don't apply).
+
+ # Telegram-Desktop with submodules
+ src = fetchFromGitHub {
+ owner = "telegramdesktop";
+ repo = "tdesktop";
+ rev = "v${version}";
+ sha256 = "1aj1pnzc6bz8jbdrfwdj2r54jhw9z7b5fd1095r007zmlnzs51lv";
+ fetchSubmodules = true;
+ };
+
+ # Arch patches (svn export telegram-desktop/trunk)
+ archPatches = fetchsvn {
+ url = "svn://svn.archlinux.org/community/telegram-desktop/trunk";
# svn log svn://svn.archlinux.org/community/telegram-desktop/trunk
- archPatchesRevision = "464796";
- archPatchesHash = "1bq7r69k3i9p1csdsca0w41jyz6fbyn4qriv3lg7s28j9s803kw8";
+ rev = "509240";
+ sha256 = "1sf4mspbsqsnjzp9ys9l0asrx1bhj273d163i2bv1zhl4mmgpl3k";
+ };
+ privateHeadersPatch = fetchpatch {
+ url = "https://github.com/telegramdesktop/tdesktop/commit/b9d3ba621eb8af638af46c6b3cfd7a8330bf0dd5.patch";
+ sha256 = "1s5xvcp9dk0jfywssk8xfcsh7bk5xxif8xqnba0413lfx5rgvs5v";
+ };
+
+ # Note: It would be best if someone could get as many patches upstream as
+ # possible (we currently depend a lot on custom patches...).
+ patches = [
+ "${archPatches}/tdesktop.patch"
+ "${archPatches}/no-gtk2.patch"
+ # "${archPatches}/Use-system-wide-font.patch"
+ "${archPatches}/tdesktop_lottie_animation_qtdebug.patch"
+ ];
+
+ postPatch = ''
+ substituteInPlace Telegram/SourceFiles/platform/linux/linux_libs.cpp \
+ --replace '"appindicator3"' '"${libappindicator-gtk3}/lib/libappindicator3.so"'
+ substituteInPlace Telegram/SourceFiles/platform/linux/linux_libnotify.cpp \
+ --replace '"notify"' '"${libnotify}/lib/libnotify.so"'
+ '';
+
+ # We want to run wrapProgram manually (with additional parameters)
+ dontWrapGApps = true;
+ dontWrapQtApps = true;
+
+ nativeBuildInputs = [ pkgconfig pythonPackages.gyp cmake wrapGAppsHook wrapQtAppsHook gcc9 ];
+
+ buildInputs = [
+ qtbase qtimageformats gtk3 libappindicator-gtk3
+ dee ffmpeg openalSoft minizip libopus alsaLib libpulseaudio range-v3
+ ];
+
+ enableParallelBuilding = true;
+
+ GYP_DEFINES = concatStringsSep "," [
+ "TDESKTOP_DISABLE_CRASH_REPORTS"
+ "TDESKTOP_DISABLE_AUTOUPDATE"
+ "TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME"
+ ];
+
+ NIX_CFLAGS_COMPILE = [
+ "-DTDESKTOP_DISABLE_CRASH_REPORTS"
+ "-DTDESKTOP_DISABLE_AUTOUPDATE"
+ "-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME"
+ "-I${minizip}/include/minizip"
+ # See Telegram/gyp/qt.gypi
+ "-I${getDev qtbase}/mkspecs/linux-g++"
+ ] ++ concatMap (x: [
+ "-I${getDev qtbase}/include/${x}"
+ "-I${getDev qtbase}/include/${x}/${qtbase.version}"
+ "-I${getDev qtbase}/include/${x}/${qtbase.version}/${x}"
+ "-I${getDev libopus}/include/opus"
+ "-I${getDev alsaLib}/include/alsa"
+ "-I${getDev libpulseaudio}/include/pulse"
+ ]) [ "QtCore" "QtGui" "QtDBus" ];
+ CPPFLAGS = NIX_CFLAGS_COMPILE;
+
+ preConfigure = ''
+ # Patches to revert:
+ patch -R -Np1 -i "${archPatches}/demibold.patch"
+ patch -R -Np1 -i "${privateHeadersPatch}"
+
+ # Patches to apply:
+ pushd "Telegram/ThirdParty/libtgvoip"
+ patch -Np1 -i "${archPatches}/libtgvoip.patch"
+ popd
+
+ # disable static-qt for rlottie
+ sed "/RLOTTIE_WITH_STATIC_QT/d" -i "Telegram/gyp/lib_rlottie.gyp"
+
+ sed -i Telegram/gyp/telegram_linux.gypi \
+ -e 's,/usr,/does-not-exist,g' \
+ -e 's,appindicator-0.1,appindicator3-0.1,g' \
+ -e 's,-flto,,g'
+
+ sed -i Telegram/gyp/qt.gypi \
+ -e "s,/usr/include/qt/QtCore/,${qtbase.dev}/include/QtCore/,g" \
+ -e 's,\d+",\d+" | head -n1,g'
+ sed -i Telegram/gyp/qt_moc.gypi \
+ -e "s,/usr/bin/moc,moc,g"
+ sed -i Telegram/gyp/qt_rcc.gypi \
+ -e "s,/usr/bin/rcc,rcc,g"
+
+ # Build system assumes x86, but it works fine on non-x86 if we patch this one flag out
+ sed -i Telegram/ThirdParty/libtgvoip/libtgvoip.gyp \
+ -e "/-msse2/d"
+
+ gyp \
+ -Dapi_id=17349 \
+ -Dapi_hash=344583e45741c457fe1862106095a5eb \
+ -Dbuild_defines=${GYP_DEFINES} \
+ -Gconfig=Release \
+ --depth=Telegram/gyp \
+ --generator-output=../.. \
+ -Goutput_dir=out \
+ --format=cmake \
+ Telegram/gyp/Telegram.gyp
+
+ cd out/Release
+
+ NUM=$((`wc -l < CMakeLists.txt` - 2))
+ sed -i "$NUM r $archPatches/CMakeLists.inj" CMakeLists.txt
+
+ export ASM=$(type -p gcc)
+ '';
+
+ cmakeFlags = [ "-UTDESKTOP_OFFICIAL_TARGET" ];
+
+ installPhase = ''
+ install -Dm755 Telegram $out/bin/telegram-desktop
+
+ mkdir -p $out/share/applications $out/share/kde4/services
+ install -m444 "$src/lib/xdg/telegramdesktop.desktop" "$out/share/applications/telegram-desktop.desktop"
+ sed "s,/usr/bin,$out/bin,g" $archPatches/tg.protocol > $out/share/kde4/services/tg.protocol
+ for icon_size in 16 32 48 64 128 256 512; do
+ install -Dm644 "../../../Telegram/Resources/art/icon''${icon_size}.png" "$out/share/icons/hicolor/''${icon_size}x''${icon_size}/apps/telegram.png"
+ done
+ '';
+
+ postFixup = ''
+ # This is necessary to run Telegram in a pure environment.
+ # We also use gappsWrapperArgs from wrapGAppsHook.
+ wrapProgram $out/bin/telegram-desktop \
+ "''${gappsWrapperArgs[@]}" \
+ "''${qtWrapperArgs[@]}" \
+ --prefix PATH : ${xdg_utils}/bin \
+ --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
+ sed -i $out/bin/telegram-desktop \
+ -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
+ '';
+
+ meta = {
+ description = "Telegram Desktop messaging app";
+ longDescription = ''
+ Desktop client for the Telegram messenger, based on the Telegram API and
+ the MTProto secure protocol.
+ '';
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ homepage = https://desktop.telegram.org/;
+ maintainers = with maintainers; [ primeos abbradar ];
};
-in {
- stable = mkTelegram stableVersion;
- preview = mkTelegram (stableVersion // {
- stable = false;
- });
}
diff --git a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/generic.nix b/pkgs/applications/networking/instant-messengers/telegram/tdesktop/generic.nix
deleted file mode 100644
index c32e6b186b7..00000000000
--- a/pkgs/applications/networking/instant-messengers/telegram/tdesktop/generic.nix
+++ /dev/null
@@ -1,148 +0,0 @@
-{ stable, version, sha256Hash, archPatchesRevision, archPatchesHash }:
-
-{ mkDerivation, lib, fetchFromGitHub, fetchsvn
-, pkgconfig, pythonPackages, cmake, wrapGAppsHook
-, qtbase, qtimageformats, gtk3, libappindicator-gtk3, libnotify, xdg_utils
-, dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
-}:
-
-with lib;
-
-mkDerivation rec {
- name = "telegram-desktop-${version}";
- inherit version;
-
- # Telegram-Desktop with submodules
- src = fetchFromGitHub {
- owner = "telegramdesktop";
- repo = "tdesktop";
- rev = "v${version}";
- sha256 = sha256Hash;
- fetchSubmodules = true;
- };
-
- # Arch patches (svn export telegram-desktop/trunk)
- archPatches = fetchsvn {
- url = "svn://svn.archlinux.org/community/telegram-desktop/trunk";
- rev = archPatchesRevision;
- sha256 = archPatchesHash;
- };
-
- # TODO: libtgvoip.patch no-gtk2.patch
- patches = [ "${archPatches}/tdesktop.patch" ];
-
- postPatch = ''
- substituteInPlace Telegram/SourceFiles/platform/linux/linux_libs.cpp \
- --replace '"appindicator"' '"${libappindicator-gtk3}/lib/libappindicator3.so"'
- substituteInPlace Telegram/SourceFiles/platform/linux/linux_libnotify.cpp \
- --replace '"notify"' '"${libnotify}/lib/libnotify.so"'
- '';
-
- nativeBuildInputs = [ pkgconfig pythonPackages.gyp cmake wrapGAppsHook ];
-
- # We want to run wrapProgram manually (with additional parameters)
- dontWrapGApps = true;
-
- buildInputs = [
- qtbase qtimageformats gtk3 libappindicator-gtk3
- dee ffmpeg openalSoft minizip libopus alsaLib libpulseaudio range-v3
- ];
-
- enableParallelBuilding = true;
-
- GYP_DEFINES = concatStringsSep "," [
- "TDESKTOP_DISABLE_CRASH_REPORTS"
- "TDESKTOP_DISABLE_AUTOUPDATE"
- "TDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME"
- ];
-
- NIX_CFLAGS_COMPILE = [
- "-DTDESKTOP_DISABLE_CRASH_REPORTS"
- "-DTDESKTOP_DISABLE_AUTOUPDATE"
- "-DTDESKTOP_DISABLE_REGISTER_CUSTOM_SCHEME"
- "-I${minizip}/include/minizip"
- # See Telegram/gyp/qt.gypi
- "-I${getDev qtbase}/mkspecs/linux-g++"
- ] ++ concatMap (x: [
- "-I${getDev qtbase}/include/${x}"
- "-I${getDev qtbase}/include/${x}/${qtbase.version}"
- "-I${getDev qtbase}/include/${x}/${qtbase.version}/${x}"
- "-I${getDev libopus}/include/opus"
- "-I${getDev alsaLib}/include/alsa"
- "-I${getDev libpulseaudio}/include/pulse"
- ]) [ "QtCore" "QtGui" "QtDBus" ];
- CPPFLAGS = NIX_CFLAGS_COMPILE;
-
- preConfigure = ''
- pushd "Telegram/ThirdParty/libtgvoip"
- patch -Np1 -i "${archPatches}/libtgvoip.patch"
- popd
-
- sed -i Telegram/gyp/telegram_linux.gypi \
- -e 's,/usr,/does-not-exist,g' \
- -e 's,appindicator-0.1,appindicator3-0.1,g' \
- -e 's,-flto,,g'
-
- sed -i Telegram/gyp/qt.gypi \
- -e "s,/usr/include/qt/QtCore/,${qtbase.dev}/include/QtCore/,g" \
- -e 's,\d+",\d+" | head -n1,g'
- sed -i Telegram/gyp/qt_moc.gypi \
- -e "s,/usr/bin/moc,moc,g"
- sed -i Telegram/gyp/qt_rcc.gypi \
- -e "s,/usr/bin/rcc,rcc,g"
-
- # Build system assumes x86, but it works fine on non-x86 if we patch this one flag out
- sed -i Telegram/ThirdParty/libtgvoip/libtgvoip.gyp \
- -e "/-msse2/d"
-
- gyp \
- -Dapi_id=17349 \
- -Dapi_hash=344583e45741c457fe1862106095a5eb \
- -Dbuild_defines=${GYP_DEFINES} \
- -Gconfig=Release \
- --depth=Telegram/gyp \
- --generator-output=../.. \
- -Goutput_dir=out \
- --format=cmake \
- Telegram/gyp/Telegram.gyp
-
- cd out/Release
-
- NUM=$((`wc -l < CMakeLists.txt` - 2))
- sed -i "$NUM r $archPatches/CMakeLists.inj" CMakeLists.txt
-
- export ASM=$(type -p gcc)
- '';
-
- installPhase = ''
- install -Dm755 Telegram $out/bin/telegram-desktop
-
- mkdir -p $out/share/applications $out/share/kde4/services
- install -m444 "$src/lib/xdg/telegramdesktop.desktop" "$out/share/applications/telegram-desktop.desktop"
- sed "s,/usr/bin,$out/bin,g" $archPatches/tg.protocol > $out/share/kde4/services/tg.protocol
- for icon_size in 16 32 48 64 128 256 512; do
- install -Dm644 "../../../Telegram/Resources/art/icon''${icon_size}.png" "$out/share/icons/hicolor/''${icon_size}x''${icon_size}/apps/telegram.png"
- done
- '';
-
- postFixup = ''
- # This is necessary to run Telegram in a pure environment.
- # We also use gappsWrapperArgs from wrapGAppsHook.
- wrapProgram $out/bin/telegram-desktop \
- "''${gappsWrapperArgs[@]}" \
- --prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}" \
- --prefix PATH : ${xdg_utils}/bin \
- --set XDG_RUNTIME_DIR "XDG-RUNTIME-DIR"
- sed -i $out/bin/telegram-desktop \
- -e "s,'XDG-RUNTIME-DIR',\"\''${XDG_RUNTIME_DIR:-/run/user/\$(id --user)}\","
- '';
-
- meta = {
- description = "Telegram Desktop messaging app "
- + (if stable then "(stable version)" else "(pre-release)");
- license = licenses.gpl3;
- platforms = platforms.linux;
- homepage = https://desktop.telegram.org/;
- maintainers = with maintainers; [ primeos abbradar garbas ];
- };
-}
diff --git a/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix b/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix
deleted file mode 100644
index 2b744c61ccb..00000000000
--- a/pkgs/applications/networking/instant-messengers/telegram/telegram-cli/default.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{ stdenv, fetchgit, bash, libconfig, libevent, openssl
-, readline, zlib, lua5_2, python, pkgconfig, jansson
-, runtimeShell
-}:
-
-stdenv.mkDerivation rec {
- name = "telegram-cli-2016-03-23";
-
- src = fetchgit {
- url = "https://github.com/vysheng/tg.git";
- sha256 = "07sss5cnw2ygd7mp8f5532lmj7qm6ywqf4cjaq5g13i8igzqzwzj";
- rev = "6547c0b21b977b327b3c5e8142963f4bc246187a";
- };
-
- buildInputs = [
- libconfig libevent openssl readline zlib
- lua5_2 python pkgconfig jansson
- ];
- installPhase = ''
- mkdir -p $out/bin
- cp ./bin/telegram-cli $out/bin/telegram-wo-key
- cp ./tg-server.pub $out/
- cat > $out/bin/telegram-cli < libpulseaudio != null;
let
inherit (stdenv.lib) concatStringsSep makeBinPath optional;
- version = "2.8.222599.0519";
+ version = "3.0.291715.0908";
srcs = {
x86_64-linux = fetchurl {
url = "https://zoom.us/client/${version}/zoom_x86_64.tar.xz";
- sha256 = "0bmrqxz41pxcz41dcdbwd2b0hjv8fvix09jwxrnca4d50jq9fx7j";
+ sha256 = "1f2fcwf0p86bxcnfdhij6hvgizd7n7gjcccwzdm2jv0dbqskad2f";
};
};
- qtDeps = [
- qtbase qtdeclarative qtlocation qtquickcontrols qtquickcontrols2 qtscript
- qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
- ];
+ # Used for icons, appdata, and desktop file.
+ desktopIntegration = fetchFromGitHub {
+ owner = "flathub";
+ repo = "us.zoom.Zoom";
+ rev = "0d294e1fdd2a4ef4e05d414bc680511f24d835d7";
+ sha256 = "0rm188844a10v8d6zgl2pnwsliwknawj09b02iabrvjw5w1lp6wl";
+ };
- qtEnv = env "zoom-us-qt-${qtbase.version}" qtDeps;
-
-in stdenv.mkDerivation {
- name = "zoom-us-${version}";
+in mkDerivation {
+ pname = "zoom-us";
+ inherit version;
src = srcs.${stdenv.hostPlatform.system};
- nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
+ nativeBuildInputs = [ autoPatchelfHook ];
buildInputs = [
- dbus glib libGL libX11 libXfixes libuuid libxcb qtEnv libjpeg_turbo
- ] ++ qtDeps;
+ dbus glib libGL libX11 libXfixes libuuid libxcb libjpeg_turbo
+ qtbase qtdeclarative qtlocation qtquickcontrols qtquickcontrols2 qtscript
+ qtwebchannel qtwebengine qtimageformats qtsvg qttools qtwayland
+ ];
runtimeDependencies = optional pulseaudioSupport libpulseaudio;
@@ -60,32 +65,43 @@ in stdenv.mkDerivation {
in ''
runHook preInstall
- packagePath=$out/share/zoom-us
- mkdir -p $packagePath $out/bin
+ mkdir -p $out/{bin,share/zoom-us}
- cp -ar ${files} $packagePath
+ cp -ar ${files} $out/share/zoom-us
# TODO Patch this somehow; tries to dlopen './libturbojpeg.so' from cwd
- ln -s $(readlink -e "${libjpeg_turbo.out}/lib/libturbojpeg.so") $packagePath/libturbojpeg.so
-
- ln -s ${qtEnv}/bin/qt.conf $packagePath
-
- makeWrapper $packagePath/zoom $out/bin/zoom-us \
- --prefix PATH : "${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}" \
- --run "cd $packagePath"
+ ln -s $(readlink -e "${libjpeg_turbo.out}/lib/libturbojpeg.so") $out/share/zoom-us/libturbojpeg.so
runHook postInstall
'';
- postInstall = (makeDesktopItem {
- name = "zoom-us";
- exec = "$out/bin/zoom-us %U";
- icon = "$out/share/zoom-us/application-x-zoom.png";
- desktopName = "Zoom";
- genericName = "Video Conference";
- categories = "Network;Application;";
- mimeType = "x-scheme-handler/zoommtg;";
- }).buildCommand;
+ postInstall = ''
+ mkdir -p $out/share/{applications,appdata,icons}
+
+ # Desktop File
+ cp ${desktopIntegration}/us.zoom.Zoom.desktop $out/share/applications
+ substituteInPlace $out/share/applications/us.zoom.Zoom.desktop \
+ --replace "Exec=zoom" "Exec=$out/bin/zoom-us"
+
+ # Appdata
+ cp ${desktopIntegration}/us.zoom.Zoom.appdata.xml $out/share/appdata
+
+ # Icons
+ for icon_size in 64 96 128 256; do
+ path=$icon_size'x'$icon_size
+ icon=${desktopIntegration}/us.zoom.Zoom.$icon_size.png
+
+ mkdir -p $out/share/icons/hicolor/$path/apps
+ cp $icon $out/share/icons/hicolor/$path/apps/us.zoom.Zoom.png
+ done
+
+ ln -s $out/share/zoom-us/zoom $out/bin/zoom-us
+ '';
+
+ qtWrapperArgs = [
+ ''--prefix PATH : ${makeBinPath [ coreutils glib.dev pciutils procps qttools.dev utillinux ]}''
+ ''--prefix LD_PRELOAD : ${libv4l}/lib/libv4l/v4l2convert.so''
+ ];
passthru.updateScript = ./update.sh;
diff --git a/pkgs/applications/networking/insync/default.nix b/pkgs/applications/networking/insync/default.nix
index 9c1aa8f86f6..3a2b32f0117 100644
--- a/pkgs/applications/networking/insync/default.nix
+++ b/pkgs/applications/networking/insync/default.nix
@@ -1,16 +1,16 @@
{ stdenv, fetchurl, makeWrapper }:
stdenv.mkDerivation rec {
- name = "insync-${version}";
- version = "1.5.5.37367";
+ pname = "insync";
+ version = "1.5.7.37371";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
url = "http://s.insynchq.com/builds/insync-portable_${version}_amd64.tar.bz2";
- sha256 = "1yz8l8xjr0pm30hvv4w59wzs569xzkpn8lv12pyl82r1l16h5zp3";
+ sha256 = "1cm3q6y2crw6pcsvh21sbkmh1hin7xl4fyslc96nbyql8rxsky5n";
}
else
- throw "${name} is not supported on ${stdenv.hostPlatform.system}";
+ throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";
buildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/networking/ipfs-cluster/default.nix b/pkgs/applications/networking/ipfs-cluster/default.nix
index 870e40d8128..426619908d6 100644
--- a/pkgs/applications/networking/ipfs-cluster/default.nix
+++ b/pkgs/applications/networking/ipfs-cluster/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx, gx-go }:
buildGoPackage rec {
- name = "ipfs-cluster-${version}";
+ pname = "ipfs-cluster";
version = "0.9.0";
rev = "v${version}";
@@ -9,7 +9,7 @@ buildGoPackage rec {
extraSrcPaths = [
(fetchgx {
- inherit name src;
+ inherit src;name = "${pname}-${version}";
sha256 = "1k7xcirvi07p5g9gr9jcx5h39wk7jxfsyjrn5yraa8xdqhn6b6nx";
})
];
diff --git a/pkgs/applications/networking/ipfs-migrator/default.nix b/pkgs/applications/networking/ipfs-migrator/default.nix
index f070c510937..dc646f9471e 100644
--- a/pkgs/applications/networking/ipfs-migrator/default.nix
+++ b/pkgs/applications/networking/ipfs-migrator/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
-buildGoPackage rec {
- name = "ipfs-migrator-${version}";
+buildGoPackage {
+ pname = "ipfs-migrator";
version = "7";
goPackagePath = "github.com/ipfs/fs-repo-migrations";
diff --git a/pkgs/applications/networking/ipfs/default.nix b/pkgs/applications/networking/ipfs/default.nix
index 7b4d40a5a63..db325cf1387 100644
--- a/pkgs/applications/networking/ipfs/default.nix
+++ b/pkgs/applications/networking/ipfs/default.nix
@@ -1,21 +1,19 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
- name = "ipfs-${version}";
- version = "0.4.20";
+buildGoModule rec {
+ pname = "ipfs";
+ version = "0.4.22";
rev = "v${version}";
- goPackagePath = "github.com/ipfs/go-ipfs";
-
- goDeps = ./deps.nix;
-
src = fetchFromGitHub {
owner = "ipfs";
repo = "go-ipfs";
inherit rev;
- sha256 = "1xnjn4pcgknywfndrp2zwln3v1msaffhhfiym5mdz543rsxav0yp";
+ sha256 = "1drwkam2m1qdny51l7ja9vd33jffy8w0z0wbp28ajx4glp0kyra2";
};
+ modSha256 = "0jbzkifn88myk2vpd390clyl835978vpcfz912y8cnl26s6q677n";
+
meta = with stdenv.lib; {
description = "A global, versioned, peer-to-peer filesystem";
homepage = https://ipfs.io/;
diff --git a/pkgs/applications/networking/ipfs/deps.nix b/pkgs/applications/networking/ipfs/deps.nix
deleted file mode 100644
index 181b55d28d9..00000000000
--- a/pkgs/applications/networking/ipfs/deps.nix
+++ /dev/null
@@ -1,2190 +0,0 @@
-# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
-[
- {
- goPackagePath = "github.com/dgraph-io/badger";
- fetch = {
- type = "git";
- url = "https://github.com/dgraph-io/badger";
- rev = "1fcc96ec";
- sha256 = "09sdr64ay8wbw4m8a7dppha357wx2395vpni554353v7b22gyk59";
- };
- }
- {
- goPackagePath = "bazil.org/fuse";
- fetch = {
- type = "git";
- url = "https://github.com/bazil/fuse";
- rev = "65cc252bf669";
- sha256 = "0qjm9yrhc5h632wwhklqzhalid4lxcm9iwsqs3jahp303rm27vpk";
- };
- }
- {
- goPackagePath = "github.com/AndreasBriese/bbloom";
- fetch = {
- type = "git";
- url = "https://github.com/AndreasBriese/bbloom";
- rev = "343706a395b7";
- sha256 = "0pz4wph915gm2b0admq4bc5d2ir218s954z27gmc86l0rik13a5d";
- };
- }
- {
- goPackagePath = "github.com/Kubuxu/go-os-helper";
- fetch = {
- type = "git";
- url = "https://github.com/Kubuxu/go-os-helper";
- rev = "v0.0.1";
- sha256 = "08v88ylhvv65hdqr2pp94qf2ncppzib5sx66fv432vhgkz00ddyr";
- };
- }
- {
- goPackagePath = "github.com/Kubuxu/gocovmerge";
- fetch = {
- type = "git";
- url = "https://github.com/Kubuxu/gocovmerge";
- rev = "7ecaa51963cd";
- sha256 = "0xbx83h44hsiidmr69sn4k0zn7bmbwcna76fn0akjb5il1r4bjyr";
- };
- }
- {
- goPackagePath = "github.com/Stebalien/go-bitfield";
- fetch = {
- type = "git";
- url = "https://github.com/Stebalien/go-bitfield";
- rev = "076a62f9ce6e";
- sha256 = "17iqkx2dyh6ykgapgvbyrm8c15qw24pspjhi3ww2sx4y0qhkycf4";
- };
- }
- {
- goPackagePath = "github.com/aead/siphash";
- fetch = {
- type = "git";
- url = "https://github.com/aead/siphash";
- rev = "v1.0.1";
- sha256 = "01kd1z82sc4nh3nj9c25aryyp396s7jrqc2kz9d7qq1vy2hdbznc";
- };
- }
- {
- goPackagePath = "github.com/beorn7/perks";
- fetch = {
- type = "git";
- url = "https://github.com/beorn7/perks";
- rev = "3a771d992973";
- sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
- };
- }
- {
- goPackagePath = "github.com/blang/semver";
- fetch = {
- type = "git";
- url = "https://github.com/blang/semver";
- rev = "v3.5.1";
- sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
- };
- }
- {
- goPackagePath = "github.com/bren2010/proquint";
- fetch = {
- type = "git";
- url = "https://github.com/bren2010/proquint";
- rev = "38337c27106d";
- sha256 = "1ws3hb27n4c4mfp2pfj9nc59ch6dv93333a83n7qazf74lhf8ixl";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/btcd";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/btcd";
- rev = "306aecffea32";
- sha256 = "130np0bfic9q7ga8a9y5gd3amy6mgfb7igd3lgicikjclfhiqwf4";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/btclog";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/btclog";
- rev = "84c8d2346e9f";
- sha256 = "02dl46wcnfpg9sqvg0ipipkpnd7lrf4fnvb9zy56jqa7mfcwc7wk";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/btcutil";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/btcutil";
- rev = "4c204d697803";
- sha256 = "16s27k8xnvhlpv0ibs60sqgnyn3zhnvprv1647svmzs3rwcsqgvp";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/go-socks";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/go-socks";
- rev = "4720035b7bfd";
- sha256 = "18cv2icj059lq4s99p6yh91hlas5f2gi3f1p4c10sjgwrs933d7b";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/goleveldb";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/goleveldb";
- rev = "7834afc9e8cd";
- sha256 = "0gy156sn2cy2maii3p058f7q60gjdbmba34i9qvk8msxlg7hlfjv";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/snappy-go";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/snappy-go";
- rev = "0bdef8d06723";
- sha256 = "00i5fsb1wf2dwal1jfwbpk9a7cbzjyg7rnz2xib3qfz9h82kd4jw";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/websocket";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/websocket";
- rev = "31079b680792";
- sha256 = "0xpkf257ml6fpfdgv7hxxc41n0d5yxxm3njm50qpzp7j71l9cjwa";
- };
- }
- {
- goPackagePath = "github.com/btcsuite/winsvc";
- fetch = {
- type = "git";
- url = "https://github.com/btcsuite/winsvc";
- rev = "v1.0.0";
- sha256 = "0nsw8y86a5hzr2a3j6ch9myrpccj5bnsgaxpgajhzfk5d31xlw1z";
- };
- }
- {
- goPackagePath = "github.com/cenkalti/backoff";
- fetch = {
- type = "git";
- url = "https://github.com/cenkalti/backoff";
- rev = "v2.1.1";
- sha256 = "1mf4lsl3rbb8kk42x0mrhzzy4ikqy0jf6nxpzhkr02rdgwh6rjk8";
- };
- }
- {
- goPackagePath = "github.com/cheekybits/genny";
- fetch = {
- type = "git";
- url = "https://github.com/cheekybits/genny";
- rev = "v1.0.0";
- sha256 = "1pcir5ic86713aqa51581rfb67rgc3m0c72ddjfcp3yakv9vyq87";
- };
- }
- {
- goPackagePath = "github.com/coreos/go-semver";
- fetch = {
- type = "git";
- url = "https://github.com/coreos/go-semver";
- rev = "v0.2.0";
- sha256 = "1gghi5bnqj50hfxhqc1cxmynqmh2yk9ii7ab9gsm75y5cp94ymk0";
- };
- }
- {
- goPackagePath = "github.com/cskr/pubsub";
- fetch = {
- type = "git";
- url = "https://github.com/cskr/pubsub";
- rev = "v1.0.2";
- sha256 = "0wr8cg5axrlz9xg33r9dqvkp5ix9q8h8c7qw78mj22qprwh3zj9f";
- };
- }
- {
- goPackagePath = "github.com/davecgh/go-spew";
- fetch = {
- type = "git";
- url = "https://github.com/davecgh/go-spew";
- rev = "v1.1.1";
- sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
- };
- }
- {
- goPackagePath = "github.com/davidlazar/go-crypto";
- fetch = {
- type = "git";
- url = "https://github.com/davidlazar/go-crypto";
- rev = "dcfb0a7ac018";
- sha256 = "1lir8slwykn0h5bg5lj22qsdg4kw09kcqlks974g1428d42rqlcp";
- };
- }
- {
- goPackagePath = "github.com/dgryski/go-farm";
- fetch = {
- type = "git";
- url = "https://github.com/dgryski/go-farm";
- rev = "3adb47b1fb0f";
- sha256 = "04bkvr6xvfh83cn83gqzyxx45wbk3j1bdpgrck0b424x48z2x4jh";
- };
- }
- {
- goPackagePath = "github.com/dustin/go-humanize";
- fetch = {
- type = "git";
- url = "https://github.com/dustin/go-humanize";
- rev = "v1.0.0";
- sha256 = "1kqf1kavdyvjk7f8kx62pnm7fbypn9z1vbf8v2qdh3y7z7a0cbl3";
- };
- }
- {
- goPackagePath = "github.com/elgris/jsondiff";
- fetch = {
- type = "git";
- url = "https://github.com/elgris/jsondiff";
- rev = "765b5c24c302";
- sha256 = "0jm1q0s531hmkqdx8jqphfpmzysn44aphkpwlzqwp3hkz89g4d4q";
- };
- }
- {
- goPackagePath = "github.com/facebookgo/atomicfile";
- fetch = {
- type = "git";
- url = "https://github.com/facebookgo/atomicfile";
- rev = "2de1f203e7d5";
- sha256 = "1vsx6r6y601jxvjqc8msbpr5v1037dfxxdd8h1q3s8wm6xhvj2v6";
- };
- }
- {
- goPackagePath = "github.com/fatih/color";
- fetch = {
- type = "git";
- url = "https://github.com/fatih/color";
- rev = "v1.7.0";
- sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
- };
- }
- {
- goPackagePath = "github.com/fsnotify/fsnotify";
- fetch = {
- type = "git";
- url = "https://github.com/fsnotify/fsnotify";
- rev = "v1.4.7";
- sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
- };
- }
- {
- goPackagePath = "github.com/go-check/check";
- fetch = {
- type = "git";
- url = "https://github.com/go-check/check";
- rev = "788fd7840127";
- sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
- };
- }
- {
- goPackagePath = "github.com/gogo/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/gogo/protobuf";
- rev = "v1.2.1";
- sha256 = "06yqa6h0kw3gr5pc3qmas7f7435a96zf7iw7p0l00r2hqf6fqq6m";
- };
- }
- {
- goPackagePath = "github.com/golang/mock";
- fetch = {
- type = "git";
- url = "https://github.com/golang/mock";
- rev = "v1.2.0";
- sha256 = "12ddj2g8ab87id6n2n67vnbhq6p8dvgsq1pzpqfriym4dk8w54fg";
- };
- }
- {
- goPackagePath = "github.com/golang/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/golang/protobuf";
- rev = "v1.3.0";
- sha256 = "0dm1ip7742qz2k1cr6ywy0av6mpcxd2kc4ayfqi8cxz3ai7zhbdr";
- };
- }
- {
- goPackagePath = "github.com/golang/snappy";
- fetch = {
- type = "git";
- url = "https://github.com/golang/snappy";
- rev = "2e65f85255db";
- sha256 = "05w6mpc4qcy0pv8a2bzng8nf4s5rf5phfang4jwy9rgf808q0nxf";
- };
- }
- {
- goPackagePath = "github.com/google/go-cmp";
- fetch = {
- type = "git";
- url = "https://github.com/google/go-cmp";
- rev = "v0.2.0";
- sha256 = "1fbv0x27k9sn8svafc0hjwsnckk864lv4yi7bvzrxvmd3d5hskds";
- };
- }
- {
- goPackagePath = "github.com/google/uuid";
- fetch = {
- type = "git";
- url = "https://github.com/google/uuid";
- rev = "v1.1.1";
- sha256 = "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb";
- };
- }
- {
- goPackagePath = "github.com/gopherjs/gopherjs";
- fetch = {
- type = "git";
- url = "https://github.com/gopherjs/gopherjs";
- rev = "0766667cb4d1";
- sha256 = "13pfc9sxiwjky2lm1xb3i3lcisn8p6mgjk2d927l7r92ysph8dmw";
- };
- }
- {
- goPackagePath = "github.com/gorilla/websocket";
- fetch = {
- type = "git";
- url = "https://github.com/gorilla/websocket";
- rev = "v1.4.0";
- sha256 = "00i4vb31nsfkzzk7swvx3i75r2d960js3dri1875vypk3v2s0pzk";
- };
- }
- {
- goPackagePath = "github.com/gxed/go-shellwords";
- fetch = {
- type = "git";
- url = "https://github.com/gxed/go-shellwords";
- rev = "v1.0.3";
- sha256 = "1pg7pl25wvpl2dbpyrv9p1r7prnqimxlf6136vn0dfm54j2x4mnr";
- };
- }
- {
- goPackagePath = "github.com/gxed/hashland";
- fetch = {
- type = "git";
- url = "https://github.com/gxed/hashland";
- rev = "v0.0.1";
- sha256 = "1b921dh9i6zw7y8jfzwvrmdbhnwid12a5z1zjawslfq2vvsajwmm";
- };
- }
- {
- goPackagePath = "github.com/gxed/pubsub";
- fetch = {
- type = "git";
- url = "https://github.com/gxed/pubsub";
- rev = "26ebdf44f824";
- sha256 = "0q0r6bvimjxwi3yd0w2wjkx1x8m0d9pwi25b7n4s4g10h36rabjp";
- };
- }
- {
- goPackagePath = "github.com/hashicorp/errwrap";
- fetch = {
- type = "git";
- url = "https://github.com/hashicorp/errwrap";
- rev = "v1.0.0";
- sha256 = "0slfb6w3b61xz04r32bi0a1bygc82rjzhqkxj2si2074wynqnr1c";
- };
- }
- {
- goPackagePath = "github.com/hashicorp/go-multierror";
- fetch = {
- type = "git";
- url = "https://github.com/hashicorp/go-multierror";
- rev = "v1.0.0";
- sha256 = "00nyn8llqzbfm8aflr9kwsvpzi4kv8v45c141v88xskxp5xf6z49";
- };
- }
- {
- goPackagePath = "github.com/hashicorp/golang-lru";
- fetch = {
- type = "git";
- url = "https://github.com/hashicorp/golang-lru";
- rev = "v0.5.1";
- sha256 = "13f870cvk161bzjj6x41l45r5x9i1z9r2ymwmvm7768kg08zznpy";
- };
- }
- {
- goPackagePath = "github.com/hpcloud/tail";
- fetch = {
- type = "git";
- url = "https://github.com/hpcloud/tail";
- rev = "v1.0.0";
- sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
- };
- }
- {
- goPackagePath = "github.com/hsanjuan/go-libp2p-gostream";
- fetch = {
- type = "git";
- url = "https://github.com/hsanjuan/go-libp2p-gostream";
- rev = "v0.0.31";
- sha256 = "0q4k1ahns9j061iajp8525330mwgbdv5mnyzldpg64r5c2igp9qf";
- };
- }
- {
- goPackagePath = "github.com/hsanjuan/go-libp2p-http";
- fetch = {
- type = "git";
- url = "https://github.com/hsanjuan/go-libp2p-http";
- rev = "v0.0.2";
- sha256 = "0pq80qvhm2f53gx438ws5nnj1r2ara48radzxc5br57scp2bjlgk";
- };
- }
- {
- goPackagePath = "github.com/huin/goupnp";
- fetch = {
- type = "git";
- url = "https://github.com/huin/goupnp";
- rev = "v1.0.0";
- sha256 = "12f7rigf1f4xh1an1qis61xkj5s1r8ygk48zahf3n4gaqxmgm7i6";
- };
- }
- {
- goPackagePath = "github.com/huin/goutil";
- fetch = {
- type = "git";
- url = "https://github.com/huin/goutil";
- rev = "1ca381bf3150";
- sha256 = "0alhyacsfqic2wxyqn4gvk9wzjl4pkmy8rhvqjk84xsghgx5xf12";
- };
- }
- {
- goPackagePath = "github.com/ipfs/bbloom";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/bbloom";
- rev = "v0.0.1";
- sha256 = "0ji1dgxvg338wx2agh0ld9x6wwr6zc8zwjxs5mwdb99p56dc34nz";
- };
- }
- {
- goPackagePath = "github.com/ipfs/dir-index-html";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/dir-index-html";
- rev = "v1.0.3";
- sha256 = "1asd58w53i97jxk2r1asy8h5lgq0086lnjq3gi7fs20xvgv20bfy";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-bitswap";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-bitswap";
- rev = "v0.0.4";
- sha256 = "0998qyxzp5frmkf5kjqxrhdwl4c0i7a2kh24rldix934afbmfz3r";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-block-format";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-block-format";
- rev = "v0.0.2";
- sha256 = "1j73r946z0gs98a2r1z7q3vkpk8v7wqwc68x8c3ngiff9sijq1kf";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-blockservice";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-blockservice";
- rev = "v0.0.3";
- sha256 = "1c2fnrqlvg16xf7jla1x38qi56yw61w1ms70kghhafmw008bgkvn";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-cid";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-cid";
- rev = "v0.0.1";
- sha256 = "11hdrac0wf82m69fkpwby1mg2k7swmw884rv3250i0kymwi93lak";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-cidutil";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-cidutil";
- rev = "v0.0.1";
- sha256 = "00bdn7cg7rg8amh8zaqakf6phd14sn2z9kw73cscfhpyg9di1p9h";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-datastore";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-datastore";
- rev = "v0.0.3";
- sha256 = "147nnmgb2b4iiky4hsn5wn4hk0kp39xs1yj3blm2gxxxkmjqsdk4";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-detect-race";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-detect-race";
- rev = "v0.0.1";
- sha256 = "0rqb0q66d7z852j5mhlr025dz698c44w014g4mx587amr1rvwqna";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ds-badger";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ds-badger";
- rev = "v0.0.3";
- sha256 = "0bl7zh8gmas54577v501n17z1254f1yaggkgslz9qjz4rihq4wq1";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ds-flatfs";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ds-flatfs";
- rev = "v0.0.2";
- sha256 = "1z6z717pkv2yqb0wdhw73vir253305wkqcg5pln8km8kl2fjwwyi";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ds-leveldb";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ds-leveldb";
- rev = "v0.0.2";
- sha256 = "0x70z31g0l04lm6nsv1p0wnhdwqvck2pzy59ygfxk707n0x5vqpc";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ds-measure";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ds-measure";
- rev = "v0.0.1";
- sha256 = "1ndb10x5g95g8kapfr116qa3cav2xcwwm4dppp99bi15kq1yk742";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-fs-lock";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-fs-lock";
- rev = "v0.0.1";
- sha256 = "02mr83xkflf0sjrii11pd9k4a4545jggqgq6pdpsmkx2r3b01j2q";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-addr";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-addr";
- rev = "v0.0.1";
- sha256 = "02f7vhf6kra7h58ny71zfb0k5q9mz6yplypnk36i6gv4fn5v9c5i";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-blockstore";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-blockstore";
- rev = "v0.0.1";
- sha256 = "0vw6i4n9xss21yri5wkj9pvzapm9yqgxh5l6vq2858n50xz72r31";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-blocksutil";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-blocksutil";
- rev = "v0.0.1";
- sha256 = "06bip9adk70i0g0hkf4aczvhkhd3s31x19668ls26dl62rq9h7di";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-chunker";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-chunker";
- rev = "v0.0.1";
- sha256 = "19p8a4xfi62fj5nw7ad81yppn0slq3pddk0gb0c3zydaxcjkhzw6";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-cmdkit";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-cmdkit";
- rev = "v0.0.1";
- sha256 = "1aqdpszvibkm1h7p852ajzb9gjgsz5jlk4j2s9j8q1wbmz3vslms";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-cmds";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-cmds";
- rev = "v0.0.5";
- sha256 = "1b302hvah5scykcjn5al9a6jf7sygqi6snd664a6sxf2xgpwk0s8";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-config";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-config";
- rev = "v0.0.1";
- sha256 = "055igsi5bv312p2590dvpr9d290c4c0cwbzvwv52l7j60v79vlkc";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-delay";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-delay";
- rev = "v0.0.1";
- sha256 = "0a5acj622sk1hibnh893mya4h86nsy1dan0wlh9q444c04iqpviw";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-ds-help";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-ds-help";
- rev = "v0.0.1";
- sha256 = "173kmvyk2f5f1p30avb8nzvkcmq9xkdfpydavqw3bxg0yq0714ic";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-exchange-interface";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-exchange-interface";
- rev = "v0.0.1";
- sha256 = "12h4pj5g9d1j5gmd8gf774fqwkx0x5cm3pg7c81hi0f43x5lrmwn";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-exchange-offline";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-exchange-offline";
- rev = "v0.0.1";
- sha256 = "0nlb5llmj9kjas2p5jqg2x3krk5jm40xd36k0g5l87c992dy7f0i";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-files";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-files";
- rev = "v0.0.2";
- sha256 = "12554whcmg60rgnzyd7673hgxnrs1j176lw8839wf260pjq6rs39";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-flags";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-flags";
- rev = "v0.0.1";
- sha256 = "0pf9nq0n6nlfxbfhn9v46a2s7kkkwmvl04si8ihz08nahanb13r6";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-posinfo";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-posinfo";
- rev = "v0.0.1";
- sha256 = "0hh88i9sk5h53z2xx2nwxrpcx0r0jhlb5sq54x5qyhp5mjfqbyi2";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-pq";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-pq";
- rev = "v0.0.1";
- sha256 = "05q7b7g49ni59c6593v51kkkd6ppc2ipkfsx05qbfg8md9r7a93x";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-routing";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-routing";
- rev = "v0.0.1";
- sha256 = "15vvvc0z5sbyhmwl3nfrpziiy3gsivb02xcalsz6mxvam68xy4x5";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipfs-util";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipfs-util";
- rev = "v0.0.1";
- sha256 = "1j87wqxh8ap5qqvnhnhz3zg6fn50axnnd69wqg287hh36xcpy6ss";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipld-cbor";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipld-cbor";
- rev = "v0.0.1";
- sha256 = "0zppzca1ar8pqrzi68ysx4ih1mnhlyrg046xwj7sggr4aki1fh5j";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipld-format";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipld-format";
- rev = "v0.0.1";
- sha256 = "0lb4wp30jlamk604bagzf28zf2hm2b4lxnayqvq7rh0jxhbdb61d";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipld-git";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipld-git";
- rev = "v0.0.1";
- sha256 = "0d5kl3kvam1hv589cg9cg1dkjyanzp727zrnzyjnrysv3fk8yv66";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-ipns";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-ipns";
- rev = "v0.0.1";
- sha256 = "1r9531v35336sf36s8pzi3jiyqd22ld9p7xpaznzmp57ygwfxlwj";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-log";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-log";
- rev = "v0.0.1";
- sha256 = "0r3pk46g9vjjb9ljaxda18w488xa9vyj30g23y9vprknkd9dqfgw";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-merkledag";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-merkledag";
- rev = "v0.0.3";
- sha256 = "0j7dgca9vyhj6ra074cddblcjkxh1c1k51krch09lqxxjwasgg60";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-metrics-interface";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-metrics-interface";
- rev = "v0.0.1";
- sha256 = "09xc71175sfnqlizkbw066jagnbag9ihvs240z6g6dm2yx3w5xgy";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-metrics-prometheus";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-metrics-prometheus";
- rev = "v0.0.2";
- sha256 = "1z1zwjj0a3gyzs4r25b9kl7z3kmsqp3jskvy7x02a3v1dlr3nkfp";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-mfs";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-mfs";
- rev = "v0.0.4";
- sha256 = "13jjxbfjl6wd89nxqibvp8q3hd2vzh0vpfhp3vrbapghkzp08rbb";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-path";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-path";
- rev = "v0.0.3";
- sha256 = "019zpy92k2rilkhn928jf91d8y3x8cxcw04mc2pxv5ja29nkyc91";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-todocounter";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-todocounter";
- rev = "v0.0.1";
- sha256 = "1nsf56hh6n2y3m14b1ismcpsyi65ffxa5i6ks6il9qppm21mm5nx";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-unixfs";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-unixfs";
- rev = "v0.0.4";
- sha256 = "0fbqqi9h2xalnyc58ppaiyac3qd6hb4ycn46wwnr7idp0z7wxl5j";
- };
- }
- {
- goPackagePath = "github.com/ipfs/go-verifcid";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/go-verifcid";
- rev = "v0.0.1";
- sha256 = "06ii8934s52d9n1lvzx29didh667pm2i7qdag443vqn0ilmkjvh9";
- };
- }
- {
- goPackagePath = "github.com/ipfs/hang-fds";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/hang-fds";
- rev = "v0.0.1";
- sha256 = "0axgmx1vcqsvys4vhqfrixfss2vk3qly1cqlm0aqrlhscggflkn4";
- };
- }
- {
- goPackagePath = "github.com/ipfs/interface-go-ipfs-core";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/interface-go-ipfs-core";
- rev = "v0.0.6";
- sha256 = "13sr18vzsfsik1nnkdcmi7afagbcnzh95mxzlbss366x802g8d8q";
- };
- }
- {
- goPackagePath = "github.com/ipfs/iptb";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/iptb";
- rev = "v1.4.0";
- sha256 = "0nfiqf1k114ydp6c37yq4qn6j3bmw94wvc096vfljq8493jr8jvv";
- };
- }
- {
- goPackagePath = "github.com/ipfs/iptb-plugins";
- fetch = {
- type = "git";
- url = "https://github.com/ipfs/iptb-plugins";
- rev = "v0.0.2";
- sha256 = "10kyvjhmlvza3xlmfvwhndscjm6807pmk9nld7d2660mvh18w626";
- };
- }
- {
- goPackagePath = "github.com/jackpal/gateway";
- fetch = {
- type = "git";
- url = "https://github.com/jackpal/gateway";
- rev = "v1.0.5";
- sha256 = "1ird5xmizj632l3dq24s2xgb8w1dn6v8xznlqz252gvngyr2gjl1";
- };
- }
- {
- goPackagePath = "github.com/jackpal/go-nat-pmp";
- fetch = {
- type = "git";
- url = "https://github.com/jackpal/go-nat-pmp";
- rev = "v1.0.1";
- sha256 = "0sr23mcxbv9f65is4p1amb5yn026p7cfamlwpb2f8q218idwy3zk";
- };
- }
- {
- goPackagePath = "github.com/jbenet/go-cienv";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/go-cienv";
- rev = "1bb1476777ec";
- sha256 = "0mk04dk572gdd0y63vark0362y42w7kbwdlmmw9bg78qmmiikjb3";
- };
- }
- {
- goPackagePath = "github.com/jbenet/go-context";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/go-context";
- rev = "d14ea06fba99";
- sha256 = "0q91f5549n81w3z5927n4a1mdh220bdmgl42zi3h992dcc4ls0sl";
- };
- }
- {
- goPackagePath = "github.com/jbenet/go-is-domain";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/go-is-domain";
- rev = "v1.0.2";
- sha256 = "1cf4qmlg54975z5j7njyqsq0vr8gsxzg85c5iys08nr3cizr7551";
- };
- }
- {
- goPackagePath = "github.com/jbenet/go-random";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/go-random";
- rev = "123a90aedc0c";
- sha256 = "0kgx19m8p76rmin8s8y6j1padciv1dx37qzy7jkh9bw49ai3haw3";
- };
- }
- {
- goPackagePath = "github.com/jbenet/go-random-files";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/go-random-files";
- rev = "31b3f20ebded";
- sha256 = "0d52wwzgxxh2a1bwmixfa6nfhhqdq6l9g4s6kmsdnc6kqf38c818";
- };
- }
- {
- goPackagePath = "github.com/jbenet/go-temp-err-catcher";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/go-temp-err-catcher";
- rev = "aac704a3f4f2";
- sha256 = "1fyqkcggnrzwxa8iii15g60w2jikdm26sr7l36km7y0nc2kvf7jc";
- };
- }
- {
- goPackagePath = "github.com/jbenet/goprocess";
- fetch = {
- type = "git";
- url = "https://github.com/jbenet/goprocess";
- rev = "b497e2f366b8";
- sha256 = "1lnvkzki7vnqn5c4m6bigk0k85haicmg27w903kwg30rdvblm82s";
- };
- }
- {
- goPackagePath = "github.com/jessevdk/go-flags";
- fetch = {
- type = "git";
- url = "https://github.com/jessevdk/go-flags";
- rev = "1679536dcc89";
- sha256 = "15jgsymwg0wjslxrw391sw7qzwwjcnjxiiksq84z7ng9sqy96c1c";
- };
- }
- {
- goPackagePath = "github.com/jonboulle/clockwork";
- fetch = {
- type = "git";
- url = "https://github.com/jonboulle/clockwork";
- rev = "v0.1.0";
- sha256 = "1pqxhsdavbp1n5grgyx2j6ylvql2fzn2cvpsgkc8li69dil7sibl";
- };
- }
- {
- goPackagePath = "github.com/jrick/logrotate";
- fetch = {
- type = "git";
- url = "https://github.com/jrick/logrotate";
- rev = "v1.0.0";
- sha256 = "0srl6figwjqpi3nbp7br8sxpmvh4v8lzbny1b4lar4ny0156p5nl";
- };
- }
- {
- goPackagePath = "github.com/jtolds/gls";
- fetch = {
- type = "git";
- url = "https://github.com/jtolds/gls";
- rev = "v4.2.1";
- sha256 = "1vm37pvn0k4r6d3m620swwgama63laz8hhj3pyisdhxwam4m2g1h";
- };
- }
- {
- goPackagePath = "github.com/kisielk/errcheck";
- fetch = {
- type = "git";
- url = "https://github.com/kisielk/errcheck";
- rev = "v1.1.0";
- sha256 = "19vd4rxmqbk5lpiav3pf7df3yjlz0l0dwx9mn0gjq5f998iyhy6y";
- };
- }
- {
- goPackagePath = "github.com/kisielk/gotool";
- fetch = {
- type = "git";
- url = "https://github.com/kisielk/gotool";
- rev = "v1.0.0";
- sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
- };
- }
- {
- goPackagePath = "github.com/kkdai/bstream";
- fetch = {
- type = "git";
- url = "https://github.com/kkdai/bstream";
- rev = "f391b8402d23";
- sha256 = "1hd9caz0yf3r8kciw2pqwrsr8z4w0rhbqv1z7iq08d0542s05j3z";
- };
- }
- {
- goPackagePath = "github.com/koron/go-ssdp";
- fetch = {
- type = "git";
- url = "https://github.com/koron/go-ssdp";
- rev = "4a0ed625a78b";
- sha256 = "11d1xf07xs4j7qbxpndxbrfk2zk48k9fa3cxnhfb5lh24bd4sa0f";
- };
- }
- {
- goPackagePath = "github.com/kr/pretty";
- fetch = {
- type = "git";
- url = "https://github.com/kr/pretty";
- rev = "v0.1.0";
- sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
- };
- }
- {
- goPackagePath = "github.com/kr/pty";
- fetch = {
- type = "git";
- url = "https://github.com/kr/pty";
- rev = "v1.1.1";
- sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
- };
- }
- {
- goPackagePath = "github.com/kr/text";
- fetch = {
- type = "git";
- url = "https://github.com/kr/text";
- rev = "v0.1.0";
- sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-addr-util";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-addr-util";
- rev = "v0.0.1";
- sha256 = "1kjdk5214l8gna7f4hvb0iwmmlzsfccjankkxjmil80ibhcvjw60";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-buffer-pool";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-buffer-pool";
- rev = "v0.0.1";
- sha256 = "1239hkhckgx1fzd43k56q3c0283p1mjl8w7i2j4xymvs6f6q6ygi";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-conn-security";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-conn-security";
- rev = "v0.0.1";
- sha256 = "0z1zw0aq5jcks0vcdm5zxjyz9z6c6jklm0s74gc2m7jfs2jj2r5r";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-conn-security-multistream";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-conn-security-multistream";
- rev = "v0.0.1";
- sha256 = "19slvlmapzs952gfn4aym4dg0l49x0vpn5v696vf80v2k00ipa32";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-flow-metrics";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-flow-metrics";
- rev = "v0.0.1";
- sha256 = "04zrwl579qkhiw3b655cw7lnlp2yvq1xl3f1rkxnhx8llwsy3x49";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p";
- rev = "v0.0.12";
- sha256 = "04hm36fi45jpq5zjl1a7jlyq82adwwrgvvgnkllppq2zg85mlvvi";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-autonat";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-autonat";
- rev = "v0.0.4";
- sha256 = "03523s4kdwswgfnwly5ynld2lny142j8xl6mr88vni4xn7pijn1l";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-autonat-svc";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-autonat-svc";
- rev = "v0.0.5";
- sha256 = "0plph1nnh0ig9d54hizpiyhfrlrwhb1ylx6pry5jcppgpxngi79c";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-blankhost";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-blankhost";
- rev = "v0.0.1";
- sha256 = "1q29b880l95811ara95187y9pmqq542bxh50cg0ykwzfj94xgla4";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-circuit";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-circuit";
- rev = "v0.0.4";
- sha256 = "1bnwjf3p5r8ng360l2fjx0szdiwm2yfiifjkwflin00hx0gzyq7d";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-connmgr";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-connmgr";
- rev = "v0.0.1";
- sha256 = "07kvnhavr4k1birgqp9c4y0yl1ii3pl1cc8pn4dzci87krachz2z";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-crypto";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-crypto";
- rev = "v0.0.1";
- sha256 = "0wgq0ayg1656gvmi4d1nwgq7dbnyyb30xp3z571q495mmq483fbk";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-daemon";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-daemon";
- rev = "v0.0.6";
- sha256 = "0pq6557ykbi3a8pasvm9zlhdysrq6h1fj48z4imv2gq30nmy3l6l";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-discovery";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-discovery";
- rev = "v0.0.1";
- sha256 = "06h621llfx7bmkcnrkkxb3j85221albf18ig8mbh9c8wrpmsi438";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-host";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-host";
- rev = "v0.0.1";
- sha256 = "102qyl7qkmq8p1gpxbfi5z2lrd8mysji28fx25ma4h312ci96rqz";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-interface-connmgr";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-interface-connmgr";
- rev = "v0.0.1";
- sha256 = "107khappq5w48p17s22cp7djd5ii1bbg968wsa9bq9znzxdkzm43";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-interface-pnet";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-interface-pnet";
- rev = "v0.0.1";
- sha256 = "1kqxm4rpcss2ajfnc3gzww4ng5pjj5qc0szr5x2vz15vvx2kp9bi";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-kad-dht";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-kad-dht";
- rev = "v0.0.7";
- sha256 = "1nbq4240vnd3sfmiy8ry6pwnnf2k7hnwn1ln32mgqq32dywx664r";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-kbucket";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-kbucket";
- rev = "v0.1.1";
- sha256 = "0pgy89mp9r23axs8gapnkzks89q7539l2g46r6ffyd4a675qampg";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-loggables";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-loggables";
- rev = "v0.0.1";
- sha256 = "15whxhipm06fnd8ky7gxf59bvbw2wxl44g0v2dbnbr2j9a2n5ivv";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-metrics";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-metrics";
- rev = "v0.0.1";
- sha256 = "14wvnmcwr40iwbpvfwdcbb6cff7rcrhqf42z32aqjhisp32irn1x";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-nat";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-nat";
- rev = "v0.0.4";
- sha256 = "179d5jj4sznjns9p17gmrd86pf7ba7k4qq5kiv17ra4b666kd88f";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-net";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-net";
- rev = "v0.0.2";
- sha256 = "0cfi57hvkz6yhi2nw63p2p7fnaw91zrcphxmchk2a4xn5rnwgjak";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-netutil";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-netutil";
- rev = "v0.0.1";
- sha256 = "1zzkfddfmja6dsk8nxybi5cccd2v38sahp8xx676a38g3ydvqvs6";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-peer";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-peer";
- rev = "v0.0.1";
- sha256 = "0hixdbj47njyzj885fzm9dlylw21g406yqxfidag2qrn06b2qicl";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-peerstore";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-peerstore";
- rev = "v0.0.2";
- sha256 = "1asfl9sp3mi5pg9gpy45wvsc8hpdf48i7ml37sh5sjmn30aj4f6i";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-pnet";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-pnet";
- rev = "v0.0.1";
- sha256 = "1gh2hw0dbywwp7vr4n9xws8nxraa00rigzxa86g8nf50n9cdq2cr";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-protocol";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-protocol";
- rev = "v0.0.1";
- sha256 = "18fhmhfsdzw7dd618y4344qka08zq4b5jzpdgxbglar9dkkralg7";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-pubsub";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-pubsub";
- rev = "v0.0.1";
- sha256 = "1n67ajql9527mzrc06jk4rb3xb63vmlnzx6i4aywcfn66pjg9kmh";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-pubsub-router";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-pubsub-router";
- rev = "v0.0.3";
- sha256 = "1cjscq213ky11vzdalcfnkqkj2s53npymzjvv6ahn34c6bidan4s";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-quic-transport";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-quic-transport";
- rev = "v0.0.3";
- sha256 = "0kiisb35fvblg4xaz188by4rn90chynzm94f83prqq7h9y9b3s5s";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-record";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-record";
- rev = "v0.0.1";
- sha256 = "131zjkplylwam3gnw8f9lfvjgzi8xbjhb2qf57fys4c89pz868mg";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-routing";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-routing";
- rev = "v0.0.1";
- sha256 = "09mm12abdzy6k1dw3ix8v2c8w3warc52jazvwwwvwhlq924jzdp0";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-routing-helpers";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-routing-helpers";
- rev = "v0.0.2";
- sha256 = "0lxpf1vzhapj2q18wv5g7kkqhnwz1b08lyxjp57qa33z5j4jclgw";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-secio";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-secio";
- rev = "v0.0.1";
- sha256 = "1v51whaww3bv14kl7gpapq6ld6m6v7w9cipkflh8czpgrs096yyq";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-swarm";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-swarm";
- rev = "v0.0.2";
- sha256 = "0v75wb96rddjxd8faqri076xba5ffqg4bpddw16k4bw8kk2b46w0";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-transport";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-transport";
- rev = "v0.0.4";
- sha256 = "0pgyxzb489xzcm9q11br6sgsz166cw65xhfcksy3yy5n0c1c6mvb";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-libp2p-transport-upgrader";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-libp2p-transport-upgrader";
- rev = "v0.0.1";
- sha256 = "0czy16zvbz2k9jn8w7iddf7xph3bn054abxybjxm4dhp7g83mf65";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-maddr-filter";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-maddr-filter";
- rev = "v0.0.1";
- sha256 = "039qj86k4dam6kch52kcdk5dsg36gfrfwambqjg1nv2xaq8j1hx8";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-mplex";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-mplex";
- rev = "v0.0.1";
- sha256 = "1f0h2hmh4c0xvv1fsjciyc8v7sn0ymanr9my2smr6z1nar7nziqn";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-msgio";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-msgio";
- rev = "v0.0.1";
- sha256 = "1my8w8k7c3mz2aazsg45q7nlr4ywmix6jspri2sv7fqrs1kjxrjm";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-nat";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-nat";
- rev = "v0.0.3";
- sha256 = "19ihybcpmz2wpi6mk3rhgjbv4cgiiang92d9ym3xw7y3iv8mlzc0";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-reuseport";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-reuseport";
- rev = "v0.0.1";
- sha256 = "1qbxhycckjv7mazg06llbx9708f1z4453yaxxp4641gwcrbns7zk";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-reuseport-transport";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-reuseport-transport";
- rev = "v0.0.2";
- sha256 = "14lqhdkx5nmrvislim7qlvnx78dnfngxvcrll9d851r04p703qrn";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-stream-muxer";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-stream-muxer";
- rev = "v0.0.1";
- sha256 = "1swqw77jn00a7cl3lb7x5wyybhv4mkqk36z407ihid44gds7djqh";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-tcp-transport";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-tcp-transport";
- rev = "v0.0.2";
- sha256 = "0qrl4mgs16wnc0dnwg3x2k3mlv9grzl8maclbkq22vqk34c5in4y";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-testutil";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-testutil";
- rev = "v0.0.1";
- sha256 = "1jmqk6cyp52fgmayx0dwas27rswrvn9lpsiv6bnabhz1gvb91ahp";
- };
- }
- {
- goPackagePath = "github.com/libp2p/go-ws-transport";
- fetch = {
- type = "git";
- url = "https://github.com/libp2p/go-ws-transport";
- rev = "v0.0.2";
- sha256 = "1j321z8m82a43v70jmglh2v0hv1wmgsizr5zrlgwqsx3wsih9phx";
- };
- }
- {
- goPackagePath = "github.com/lucas-clemente/quic-go";
- fetch = {
- type = "git";
- url = "https://github.com/lucas-clemente/quic-go";
- rev = "v0.11.1";
- sha256 = "1vhswcbiyaq94rwc6vd8vl13x3lfwilpfw7kqx7bflxj7zvvd18y";
- };
- }
- {
- goPackagePath = "github.com/marten-seemann/qtls";
- fetch = {
- type = "git";
- url = "https://github.com/marten-seemann/qtls";
- rev = "v0.2.3";
- sha256 = "0b9p7bwkm9hfg1mb565q4nw5k7xyks0z2xagz5fp95azy2psbnfg";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-colorable";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-colorable";
- rev = "v0.1.1";
- sha256 = "0l640974j804c1yyjfgyxqlsivz0yrzmbql4mhcw2azryigkp08p";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-isatty";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-isatty";
- rev = "v0.0.5";
- sha256 = "114d5xm8rfxplzd7nxz97gfngb4bhqy102szl084d1afcxsvm4aa";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-runewidth";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-runewidth";
- rev = "v0.0.4";
- sha256 = "00b3ssm7wiqln3k54z2wcnxr3k3c7m1ybyhb9h8ixzbzspld0qzs";
- };
- }
- {
- goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
- fetch = {
- type = "git";
- url = "https://github.com/matttproud/golang_protobuf_extensions";
- rev = "v1.0.1";
- sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
- };
- }
- {
- goPackagePath = "github.com/mgutz/ansi";
- fetch = {
- type = "git";
- url = "https://github.com/mgutz/ansi";
- rev = "9520e82c474b";
- sha256 = "00bz22314j26736w1f0q4jy9d9dfaml17vn890n5zqy3cmvmww1j";
- };
- }
- {
- goPackagePath = "github.com/miekg/dns";
- fetch = {
- type = "git";
- url = "https://github.com/miekg/dns";
- rev = "v1.1.4";
- sha256 = "17apnm7q5v7bhmpvrk3rbi0gjqk8z3cwkm90q1dfzrfvbvp71z5d";
- };
- }
- {
- goPackagePath = "github.com/minio/blake2b-simd";
- fetch = {
- type = "git";
- url = "https://github.com/minio/blake2b-simd";
- rev = "3f5f724cb5b1";
- sha256 = "0b6jbnj62c0gmmfd4zdmh8xbg01p80f13yygir9xprqkzk6fikmd";
- };
- }
- {
- goPackagePath = "github.com/minio/sha256-simd";
- fetch = {
- type = "git";
- url = "https://github.com/minio/sha256-simd";
- rev = "2d45a736cd16";
- sha256 = "1hfhpy8fczd0mnwvxkp2nk3dydv1nzqx59ig8ajqjraq6kli66p5";
- };
- }
- {
- goPackagePath = "github.com/mitchellh/go-homedir";
- fetch = {
- type = "git";
- url = "https://github.com/mitchellh/go-homedir";
- rev = "v1.1.0";
- sha256 = "0ydzkipf28hwj2bfxqmwlww47khyk6d152xax4bnyh60f4lq3nx1";
- };
- }
- {
- goPackagePath = "github.com/mr-tron/base58";
- fetch = {
- type = "git";
- url = "https://github.com/mr-tron/base58";
- rev = "v1.1.0";
- sha256 = "00w28mhinf8dvzrh71dijryfhrggi7j9wqiiyddpk41ixx3rmfy4";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-base32";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-base32";
- rev = "v0.0.3";
- sha256 = "1f4pjnqw4687p8l7vr1qaq6g6i9pcr80fc4pk2kpgrcwzpd1lprg";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multiaddr";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multiaddr";
- rev = "v0.0.1";
- sha256 = "1r1w4036bpi97xb70833bpdpdhqm5gl6m8fllfdxqbg10ab1a938";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multiaddr-dns";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multiaddr-dns";
- rev = "v0.0.2";
- sha256 = "1fnv7lbd7q1kssaxp2fgrvj9dhn5aiqspd4090iqwys5hjr1xvmf";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multiaddr-net";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multiaddr-net";
- rev = "v0.0.1";
- sha256 = "1075xs6gbiblfbwgf84yvg1nrywmvvrrxzqa8wp9j75zyakab81p";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multibase";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multibase";
- rev = "v0.0.1";
- sha256 = "083adnq79pyxhngv91saygh076196qin1nw1vppz7nk04zw4aymg";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multicodec";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multicodec";
- rev = "v0.1.6";
- sha256 = "08wnxhb4rd7rln2mzxnhv3csy19l9qgf5dx3437x4zsgkaqabb96";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multihash";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multihash";
- rev = "v0.0.1";
- sha256 = "1aw4ra22g3l98bk7c3h1n968vi5a3gk528g4byj3xig76r0r731n";
- };
- }
- {
- goPackagePath = "github.com/multiformats/go-multistream";
- fetch = {
- type = "git";
- url = "https://github.com/multiformats/go-multistream";
- rev = "v0.0.1";
- sha256 = "1k79w7zd92cs9sjvsr31vi6n3j30xqz83mb3a3pqva11wl1gbnlz";
- };
- }
- {
- goPackagePath = "github.com/onsi/ginkgo";
- fetch = {
- type = "git";
- url = "https://github.com/onsi/ginkgo";
- rev = "v1.7.0";
- sha256 = "14wgpdrvpc35rdz3859bz53sc1g4vpr1fysy15wy3ff9gmqs14yg";
- };
- }
- {
- goPackagePath = "github.com/onsi/gomega";
- fetch = {
- type = "git";
- url = "https://github.com/onsi/gomega";
- rev = "v1.4.3";
- sha256 = "1c8rqg5i2hz3snmq7s41yar1zjnzilb0fyiyhkg83v97afcfx79v";
- };
- }
- {
- goPackagePath = "github.com/opentracing/opentracing-go";
- fetch = {
- type = "git";
- url = "https://github.com/opentracing/opentracing-go";
- rev = "v1.0.2";
- sha256 = "0i0ghg94dg8lk05mw5n23983wq04yjvkjmdkc9z5y1f3508938h9";
- };
- }
- {
- goPackagePath = "github.com/pkg/errors";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/errors";
- rev = "v0.8.1";
- sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
- };
- }
- {
- goPackagePath = "github.com/pmezard/go-difflib";
- fetch = {
- type = "git";
- url = "https://github.com/pmezard/go-difflib";
- rev = "v1.0.0";
- sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
- };
- }
- {
- goPackagePath = "github.com/polydawn/refmt";
- fetch = {
- type = "git";
- url = "https://github.com/polydawn/refmt";
- rev = "df39d6c2d992";
- sha256 = "07hj5wimwgwj8xzzbvk0y7d6fmqf44d7fjicp1digh4kvjsbg3dz";
- };
- }
- {
- goPackagePath = "github.com/prometheus/client_golang";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/client_golang";
- rev = "v0.9.2";
- sha256 = "02b4yg6rfag0m3j0i39sillcm5xczwv8h133vn12yr8qw04cnigs";
- };
- }
- {
- goPackagePath = "github.com/prometheus/client_model";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/client_model";
- rev = "5c3871d89910";
- sha256 = "04psf81l9fjcwascsys428v03fx4fi894h7fhrj2vvcz723q57k0";
- };
- }
- {
- goPackagePath = "github.com/prometheus/common";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/common";
- rev = "4724e9255275";
- sha256 = "0pcx8hlnrxx5nnmpk786cn99rsgqk1jrd3c9f6fsx8qd8y5iwjy6";
- };
- }
- {
- goPackagePath = "github.com/prometheus/procfs";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/procfs";
- rev = "1dc9a6cbc91a";
- sha256 = "1zlv1x30xp7z5c3vn5vp870v4bjim0zcidzc3mr2l3xhazc0svab";
- };
- }
- {
- goPackagePath = "github.com/rs/cors";
- fetch = {
- type = "git";
- url = "https://github.com/rs/cors";
- rev = "v1.6.0";
- sha256 = "12j838rj6xl9y1xqs1mnh9zkc3dkpn94iqkp6jkdkxw631aa94dr";
- };
- }
- {
- goPackagePath = "github.com/sirupsen/logrus";
- fetch = {
- type = "git";
- url = "https://github.com/sirupsen/logrus";
- rev = "v1.0.5";
- sha256 = "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz";
- };
- }
- {
- goPackagePath = "github.com/smartystreets/assertions";
- fetch = {
- type = "git";
- url = "https://github.com/smartystreets/assertions";
- rev = "b2de0cb4f26d";
- sha256 = "1i7ldgavgl35c7gk25p7bvdr282ckng090zr4ch9mk1705akx09y";
- };
- }
- {
- goPackagePath = "github.com/smartystreets/goconvey";
- fetch = {
- type = "git";
- url = "https://github.com/smartystreets/goconvey";
- rev = "a17d461953aa";
- sha256 = "1942lhpv7c16dq27wjj2cjxsgra5lpsnxn52a9zvj8d0nip8nhq6";
- };
- }
- {
- goPackagePath = "github.com/spaolacci/murmur3";
- fetch = {
- type = "git";
- url = "https://github.com/spaolacci/murmur3";
- rev = "f09979ecbc72";
- sha256 = "1lv3zyz3jy2d76bhvvs8svygx66606iygdvwy5cwc0p5z8yghq25";
- };
- }
- {
- goPackagePath = "github.com/spf13/pflag";
- fetch = {
- type = "git";
- url = "https://github.com/spf13/pflag";
- rev = "v1.0.1";
- sha256 = "0nr4mdpfhhk94hq4ymn5b2sxc47b29p1akxd8b0hx4dvdybmipb5";
- };
- }
- {
- goPackagePath = "github.com/stretchr/objx";
- fetch = {
- type = "git";
- url = "https://github.com/stretchr/objx";
- rev = "v0.1.0";
- sha256 = "19ynspzjdynbi85xw06mh8ad5j0qa1vryvxjgvbnyrr8rbm4vd8w";
- };
- }
- {
- goPackagePath = "github.com/stretchr/testify";
- fetch = {
- type = "git";
- url = "https://github.com/stretchr/testify";
- rev = "v1.3.0";
- sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
- };
- }
- {
- goPackagePath = "github.com/syndtr/goleveldb";
- fetch = {
- type = "git";
- url = "https://github.com/syndtr/goleveldb";
- rev = "v1.0.0";
- sha256 = "042k0gbzs5waqpxmd7nv5h93mlva861s66c3s9gfg1fym5dx4vmd";
- };
- }
- {
- goPackagePath = "github.com/texttheater/golang-levenshtein";
- fetch = {
- type = "git";
- url = "https://github.com/texttheater/golang-levenshtein";
- rev = "d188e65d659e";
- sha256 = "0dmaxmwz2vx2v51hybjpcwz260apaq3v8gm84ran38fcs8xl529c";
- };
- }
- {
- goPackagePath = "github.com/urfave/cli";
- fetch = {
- type = "git";
- url = "https://github.com/urfave/cli";
- rev = "v1.20.0";
- sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
- };
- }
- {
- goPackagePath = "github.com/warpfork/go-wish";
- fetch = {
- type = "git";
- url = "https://github.com/warpfork/go-wish";
- rev = "5ad1f5abf436";
- sha256 = "1jns04jdb07f695ipf0pfal2k7ss47jxgdi2ahqmskzglb26zm62";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/base32";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/base32";
- rev = "c30ac30633cc";
- sha256 = "060jj8j9rnm3m47vv7jfz9ddybch3ryvn1p9vhc63bqn73knalhf";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/cbor";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/cbor";
- rev = "63513f603b11";
- sha256 = "0v3kgzk8grz17my2vhv12qi9dgpx3z86hy9ff1c4qw83mg8hm67s";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/chunker";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/chunker";
- rev = "fe64bd25879f";
- sha256 = "13q4flp9iwwyi0izqar786h42713rf3m22qlvg0masbmdi69qjr2";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-ctrlnet";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-ctrlnet";
- rev = "f564fbbdaa95";
- sha256 = "1ni4fb9bbaiicy8yd9w8i442v94k59czlmpvjqg0y5am67x73gxk";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-keyspace";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-keyspace";
- rev = "5b898ac5add1";
- sha256 = "0fkk7i7qxwbz1g621mm6a6inb69lr57cyc9ayyfiwhnjwfz78rbb";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-logging";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-logging";
- rev = "0457bb6b88fc";
- sha256 = "1bl180mhg03hdqhyr5sfjcg16ns2ppal625g9ag5m10l2pvlwnqn";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-notifier";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-notifier";
- rev = "097c5d47330f";
- sha256 = "081h4a33603n0mlh53by1mg21rr42xjvxk7r10x8l4v671bq0kha";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-smux-multiplex";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-smux-multiplex";
- rev = "v3.0.16";
- sha256 = "0y696zqrbdyvz9gkxd9armhxa82z2fg0wpm8yqp7swyxdsg15f8k";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-smux-multistream";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-smux-multistream";
- rev = "v2.0.2";
- sha256 = "0sbxmn56fx1py6nijk9prkm4rqswynsw68frvlm11w5m57szi5pj";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-smux-yamux";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-smux-yamux";
- rev = "v2.0.9";
- sha256 = "046nx0d9974shd6y3ic2dznij0yzaijp6z6g46kpa4iwf2w41jwk";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/go-sysinfo";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/go-sysinfo";
- rev = "4a357d4b90b1";
- sha256 = "0s6yjp9incc579wbbga33vq0hcanv8j2xh9l90ya0r4fihz39jiq";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/mafmt";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/mafmt";
- rev = "v1.2.8";
- sha256 = "0sr602pbxid3ncfd8v0dgjd1a79qg3k4bzniq811jjdq9zm9jccv";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/mdns";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/mdns";
- rev = "ef14215e6b30";
- sha256 = "17hid8s9asqyqgbw20wp4ip5sy03b5sayzld2i09w9l42217502q";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/multiaddr-filter";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/multiaddr-filter";
- rev = "e903e4adabd7";
- sha256 = "0ksd8vnp207dvphmhrazwldj8if900fnyc1pqa9pfvj04qp92640";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/tar-utils";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/tar-utils";
- rev = "8c6c8ba81d5c";
- sha256 = "14jjdw3yics0k467xsyk388684wdpi0bbx8nqj0y4pqxa0s0in6s";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/timecache";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/timecache";
- rev = "cfcb2f1abfee";
- sha256 = "0nnra7ivq7cj34rj2ib8hgfdpik3smr1hy7x18svhfin8z1xsj2s";
- };
- }
- {
- goPackagePath = "github.com/whyrusleeping/yamux";
- fetch = {
- type = "git";
- url = "https://github.com/whyrusleeping/yamux";
- rev = "v1.1.5";
- sha256 = "08a4v0akdxg16g6mi32ixsldjbg3pp3j4x0xicaxc4fd6cfmi1wv";
- };
- }
- {
- goPackagePath = "go4.org";
- fetch = {
- type = "git";
- url = "https://github.com/go4org/go4";
- rev = "ce4c26f7be8e";
- sha256 = "0lzvmspdqqf251lrgawnss2wn3bnd3pj89xjxlvpgg6q0853580j";
- };
- }
- {
- goPackagePath = "golang.org/x/crypto";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/crypto";
- rev = "8dd112bcdc25";
- sha256 = "0gbcz7gxmgg88s28vb90dsp1vdq0har7zvg2adsqbp8bm05x9q6b";
- };
- }
- {
- goPackagePath = "golang.org/x/net";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/net";
- rev = "c95aed5357e7";
- sha256 = "0b1vjnzd67sp9lggs0yn9qfgp6f5djqgx40lyncd7j720q04kk2h";
- };
- }
- {
- goPackagePath = "golang.org/x/sync";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sync";
- rev = "42b317875d0f";
- sha256 = "0mrjhk7al7yyh76x9flvxy4jm5jyqh2fxbxagpaazxn1xdgkaif3";
- };
- }
- {
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "b6889370fb10";
- sha256 = "01c1ag1qr95iksp38rypfbrlk6sdqjhk7jgj3qf342ndhvqb08sa";
- };
- }
- {
- goPackagePath = "golang.org/x/text";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/text";
- rev = "v0.3.0";
- sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
- };
- }
- {
- goPackagePath = "golang.org/x/tools";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/tools";
- rev = "90fa682c2a6e";
- sha256 = "03ic2xsy51jw9749wl7gszdbz99iijbd2bckgygl6cm9w5m364ak";
- };
- }
- {
- goPackagePath = "golang.org/x/xerrors";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/xerrors";
- rev = "a5947ffaace3";
- sha256 = "1bgn7j704mf891qcwcbqzr5sq9ar7z2a81887k8pp0b1g2giwgfz";
- };
- }
- {
- goPackagePath = "google.golang.org/genproto";
- fetch = {
- type = "git";
- url = "https://github.com/google/go-genproto";
- rev = "11092d34479b";
- sha256 = "12qcrjq658zga5fj4n0wgm11pzpr3gafwg25cinl5qcq4p9cnl0r";
- };
- }
- {
- goPackagePath = "gopkg.in/airbrake/gobrake.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/airbrake/gobrake.v2";
- rev = "v2.0.9";
- sha256 = "1x06f7n7qlyzqgyz0sdfcidf3w4ldn6zs6qx2mhibggk2z4whcjw";
- };
- }
- {
- goPackagePath = "gopkg.in/check.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/check.v1";
- rev = "788fd7840127";
- sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
- };
- }
- {
- goPackagePath = "gopkg.in/cheggaaa/pb.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/cheggaaa/pb.v1";
- rev = "v1.0.28";
- sha256 = "13a66cqbpdif804qj12z9ad8r24va9q41gfk71qbc4zg1wsxs3rh";
- };
- }
- {
- goPackagePath = "gopkg.in/fsnotify.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/fsnotify.v1";
- rev = "v1.4.7";
- sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
- };
- }
- {
- goPackagePath = "gopkg.in/gemnasium/logrus-airbrake-hook.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/gemnasium/logrus-airbrake-hook.v2";
- rev = "v2.1.2";
- sha256 = "0sbg0dn6cysmf8f2bi209jwl4jnpiwp4rdghnxlzirw3c32ms5y5";
- };
- }
- {
- goPackagePath = "gopkg.in/tomb.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/tomb.v1";
- rev = "dd632973f1e7";
- sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
- };
- }
- {
- goPackagePath = "gopkg.in/yaml.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/yaml.v2";
- rev = "v2.2.1";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
- };
- }
- {
- goPackagePath = "gotest.tools";
- fetch = {
- type = "git";
- url = "https://github.com/gotestyourself/gotest.tools";
- rev = "v2.1.0";
- sha256 = "11k6hmfhaf0qxpddp3i5kfpacdx51q6pv4n1kn3jnf1hjs0yny2k";
- };
- }
- {
- goPackagePath = "gotest.tools/gotestsum";
- fetch = {
- type = "git";
- url = "https://github.com/gotestyourself/gotestsum";
- rev = "v0.3.3";
- sha256 = "0wkh49yixvh5y1z96sanjfyvd7c63pvryz605lz0hzdbvcwciy7i";
- };
- }
-]
diff --git a/pkgs/applications/networking/ipget/default.nix b/pkgs/applications/networking/ipget/default.nix
index 45835248d0d..9f206a8f48f 100644
--- a/pkgs/applications/networking/ipget/default.nix
+++ b/pkgs/applications/networking/ipget/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub, fetchgx }:
buildGoPackage rec {
- name = "ipget-${version}";
+ pname = "ipget";
version = "0.3.2";
rev = "v${version}";
@@ -9,7 +9,7 @@ buildGoPackage rec {
extraSrcPaths = [
(fetchgx {
- inherit name src;
+ inherit src;name = "${pname}-${version}";
sha256 = "07l9hpkhk5phr95zp1l5wd3ii38bw91hy4dlw2rsfbzcsc8bq4s8";
})
];
diff --git a/pkgs/applications/networking/iptraf-ng/default.nix b/pkgs/applications/networking/iptraf-ng/default.nix
index 746d79805f5..cdece4eb644 100644
--- a/pkgs/applications/networking/iptraf-ng/default.nix
+++ b/pkgs/applications/networking/iptraf-ng/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "1.1.4";
- name = "iptraf-ng-${version}";
+ pname = "iptraf-ng";
src = fetchurl {
- url = "https://fedorahosted.org/releases/i/p/iptraf-ng/${name}.tar.gz";
+ url = "https://fedorahosted.org/releases/i/p/iptraf-ng/${pname}-${version}.tar.gz";
sha256 = "02gb8z9h2s6s1ybyikywz7jgb1mafdx88hijfasv3khcgkq0q53r";
};
diff --git a/pkgs/applications/networking/iptraf/default.nix b/pkgs/applications/networking/iptraf/default.nix
index d1a0b2d4b02..d2d9a67fb4d 100644
--- a/pkgs/applications/networking/iptraf/default.nix
+++ b/pkgs/applications/networking/iptraf/default.nix
@@ -1,6 +1,6 @@
{stdenv, fetchurl, ncurses}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "iptraf-3.0.1";
src = fetchurl {
diff --git a/pkgs/applications/networking/irc/bip/default.nix b/pkgs/applications/networking/irc/bip/default.nix
index 7c40a4e12a6..249fdc958c8 100644
--- a/pkgs/applications/networking/irc/bip/default.nix
+++ b/pkgs/applications/networking/irc/bip/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchpatch, bison, flex, autoconf, automake, openssl }:
stdenv.mkDerivation rec {
- name = "bip-${version}";
+ pname = "bip";
version = "0.8.9";
# fetch sources from debian, because the creator's website provides
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
})
];
- NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" "-Wno-error=duplicate-decl-specifier" ];
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=unused-result" "-Wno-error=duplicate-decl-specifier" "-Wno-error=format-truncation" ];
meta = {
description = "An IRC proxy (bouncer)";
diff --git a/pkgs/applications/networking/irc/communi/default.nix b/pkgs/applications/networking/irc/communi/default.nix
index 917de745d27..8278f90d321 100644
--- a/pkgs/applications/networking/irc/communi/default.nix
+++ b/pkgs/applications/networking/irc/communi/default.nix
@@ -1,7 +1,7 @@
{ fetchgit, libcommuni, qtbase, qmake, stdenv }:
stdenv.mkDerivation rec {
- name = "communi-${version}";
+ pname = "communi";
version = "3.5.0";
src = fetchgit {
diff --git a/pkgs/applications/networking/irc/epic5/default.nix b/pkgs/applications/networking/irc/epic5/default.nix
index 0b52515228b..a90446a87fa 100644
--- a/pkgs/applications/networking/irc/epic5/default.nix
+++ b/pkgs/applications/networking/irc/epic5/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, openssl, ncurses, libiconv, tcl, coreutils, fetchpatch }:
stdenv.mkDerivation rec {
- name = "epic5-${version}";
+ pname = "epic5";
version = "2.0.1";
src = fetchurl {
- url = "http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/${name}.tar.xz";
+ url = "http://ftp.epicsol.org/pub/epic/EPIC5-PRODUCTION/${pname}-${version}.tar.xz";
sha256 = "1ap73d5f4vccxjaaq249zh981z85106vvqmxfm4plvy76b40y9jm";
};
diff --git a/pkgs/applications/networking/irc/glowing-bear/default.nix b/pkgs/applications/networking/irc/glowing-bear/default.nix
index 8c5d2ffa35e..8bdb23d50dd 100644
--- a/pkgs/applications/networking/irc/glowing-bear/default.nix
+++ b/pkgs/applications/networking/irc/glowing-bear/default.nix
@@ -1,7 +1,7 @@
{ fetchFromGitHub, stdenv }:
stdenv.mkDerivation rec {
- name = "glowing-bear-${version}";
+ pname = "glowing-bear";
version = "0.7.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/irc/hexchat/default.nix b/pkgs/applications/networking/irc/hexchat/default.nix
index f03e4c4e9e3..331be19abc4 100644
--- a/pkgs/applications/networking/irc/hexchat/default.nix
+++ b/pkgs/applications/networking/irc/hexchat/default.nix
@@ -1,43 +1,52 @@
-{ stdenv, fetchFromGitHub, pkgconfig, gtk2, lua, perl, python2
-, libtool, pciutils, dbus-glib, libcanberra-gtk2, libproxy
-, libsexy, enchant, libnotify, openssl, intltool
+{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, gtk2, lua, perl, python3
+, pciutils, dbus-glib, libcanberra-gtk2, libproxy
+, libsexy, enchant2, libnotify, openssl, isocodes
, desktop-file-utils, hicolor-icon-theme
-, autoconf, automake, autoconf-archive
+, meson, ninja
}:
stdenv.mkDerivation rec {
- version = "2.12.4";
- name = "hexchat-${version}";
+ pname = "hexchat";
+ version = "2.14.2";
src = fetchFromGitHub {
owner = "hexchat";
repo = "hexchat";
rev = "v${version}";
- sha256 = "1z8v7jg1mc2277k3jihnq4rixw1q27305aw6b6rpb1x7vpiy2zr3";
+ sha256 = "1kz81xfis0bw2cfd6ndw32jdzdl5azk9ixqj4a3lginmlj6fs45a";
};
- nativeBuildInputs = [
- pkgconfig libtool intltool
- autoconf autoconf-archive automake
- ];
+ nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [
- gtk2 lua perl python2 pciutils dbus-glib libcanberra-gtk2 libproxy
+ gtk2 lua perl python3 pciutils dbus-glib libcanberra-gtk2 libproxy
libsexy libnotify openssl desktop-file-utils hicolor-icon-theme
+ isocodes
];
- enableParallelBuilding = true;
+ patches = [
+ #https://github.com/hexchat/hexchat/issues/2237
+ (fetchpatch {
+ url = "https://src.fedoraproject.org/rpms/hexchat/raw/8a08a0c8a8da503b18f2fbb15194c5f3728a689a/f/0001-Python-plugin-Call-EndInterpreter-when-deinit-ing-th.patch";
+ sha256 = "1199dj3wvjqj6h5vlm7lzhaax84j9ki6an8y8fs4rww27iq0lk8g";
+ })
+ ];
- #hexchat and heachat-text loads enchant spell checking library at run time and so it needs to have route to the path
- patchPhase = ''
- sed -i "s,libenchant.so.1,${enchant}/lib/libenchant.so.1,g" src/fe-gtk/sexy-spell-entry.c
+ #hexchat and hexchat-text loads enchant spell checking library at run time and so it needs to have route to the path
+ postPatch = ''
+ sed -i "s,libenchant-2.so.2,${enchant2}/lib/libenchant-2.so.2,g" src/fe-gtk/sexy-spell-entry.c
+ sed -i "/flag.startswith('-I')/i if flag.contains('no-such-path')\ncontinue\nendif" plugins/perl/meson.build
+ chmod +x meson_post_install.py
+ for f in meson_post_install.py \
+ src/common/make-te.py \
+ plugins/perl/generate_header.py \
+ po/validate-textevent-translations
+ do
+ patchShebangs $f
+ done
'';
- preConfigure = ''
- ./autogen.sh
- '';
-
- configureFlags = [ "--enable-shm" "--enable-textfe" ];
+ mesonFlags = [ "-Dwith-lua=lua" "-Dwith-text=true" ];
meta = with stdenv.lib; {
description = "A popular and easy to use graphical IRC (chat) client";
diff --git a/pkgs/applications/networking/irc/irccloud/default.nix b/pkgs/applications/networking/irc/irccloud/default.nix
new file mode 100644
index 00000000000..93ab9f828f6
--- /dev/null
+++ b/pkgs/applications/networking/irc/irccloud/default.nix
@@ -0,0 +1,38 @@
+{ appimageTools, fetchurl, lib }:
+
+let
+ pname = "irccloud";
+ version = "0.13.0";
+ name = "${pname}-${version}";
+
+ src = fetchurl {
+ url = "https://github.com/irccloud/irccloud-desktop/releases/download/v${version}/IRCCloud-${version}-linux-x86_64.AppImage";
+ sha256 = "0ff69m5jav2c90918avsr5wvik2gds3klij3dzhkb352fgrd1s0l";
+ };
+
+ appimageContents = appimageTools.extractType2 {
+ inherit name src;
+ };
+
+in appimageTools.wrapType2 {
+ inherit name src;
+
+ extraPkgs = pkgs: with pkgs; [ at-spi2-core ];
+
+ extraInstallCommands = ''
+ mv $out/bin/${name} $out/bin/${pname}
+ install -m 444 -D ${appimageContents}/irccloud.desktop $out/share/applications/irccloud.desktop
+ install -m 444 -D ${appimageContents}/usr/share/icons/hicolor/512x512/apps/irccloud.png \
+ $out/share/icons/hicolor/512x512/apps/irccloud.png
+ substituteInPlace $out/share/applications/irccloud.desktop \
+ --replace 'Exec=AppRun' 'Exec=${pname}'
+ '';
+
+ meta = with lib; {
+ description = "A desktop client for IRCCloud";
+ homepage = "https://www.irccloud.com";
+ license = licenses.asl20;
+ platforms = [ "x86_64-linux" ];
+ maintainers = with maintainers; [ lightbulbjim ];
+ };
+}
diff --git a/pkgs/applications/networking/irc/irssi/default.nix b/pkgs/applications/networking/irc/irssi/default.nix
index 8aa599c09c4..1751812d67e 100644
--- a/pkgs/applications/networking/irc/irssi/default.nix
+++ b/pkgs/applications/networking/irc/irssi/default.nix
@@ -1,21 +1,22 @@
-{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl }:
+{ stdenv, fetchurl, pkgconfig, ncurses, glib, openssl, perl, libintl, libgcrypt, libotr }:
stdenv.mkDerivation rec {
- version = "1.2.0";
- name = "irssi-${version}";
+ pname = "irssi";
+ version = "1.2.2";
src = fetchurl {
- url = "https://github.com/irssi/irssi/releases/download/${version}/${name}.tar.gz";
- sha256 = "1sp3fc5fkdx0mmllvag94xaifnqbj1k09nl235pix26vv1gzq39m";
+ url = "https://github.com/irssi/irssi/releases/download/${version}/${pname}-${version}.tar.gz";
+ sha256 = "0g2nxazn4lszmd6mf1s36x5ablk4999g1qx7byrnvgnjsihjh62k";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ ncurses glib openssl perl libintl ];
+ buildInputs = [ ncurses glib openssl perl libintl libgcrypt libotr ];
configureFlags = [
"--with-proxy"
"--with-bot"
"--with-perl=yes"
+ "--with-otr=yes"
"--enable-true-color"
];
diff --git a/pkgs/applications/networking/irc/irssi/otr/default.nix b/pkgs/applications/networking/irc/irssi/otr/default.nix
deleted file mode 100644
index add4fa632c9..00000000000
--- a/pkgs/applications/networking/irc/irssi/otr/default.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ stdenv, fetchFromGitHub, libotr, automake, autoconf, libtool, glib, pkgconfig, irssi }:
-
-with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "irssi-otr-${version}";
- version = "1.0.2";
-
- src = fetchFromGitHub {
- owner = "cryptodotis";
- repo = "irssi-otr";
- rev = "v${version}";
- sha256 = "0c5wb2lg9q0i1jdhpyb5vpvxaa2xx00gvp3gdk93ix9v68gq1ppp";
- };
-
- preConfigure = "sh ./bootstrap";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ libotr automake autoconf libtool glib irssi ];
-
- NIX_CFLAGS_COMPILE="-I ${irssi}/include/irssi -I ${irssi}/include/irssi/src/core -I ${irssi}/include/irssi/src/";
-
- meta = {
- homepage = https://github.com/cryptodotis/irssi-otr;
- license = stdenv.lib.licenses.gpl2Plus;
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/applications/networking/irc/konversation/default.nix b/pkgs/applications/networking/irc/konversation/default.nix
index ccee78a64da..6a58241b89a 100644
--- a/pkgs/applications/networking/irc/konversation/default.nix
+++ b/pkgs/applications/networking/irc/konversation/default.nix
@@ -39,6 +39,14 @@ in mkDerivation rec {
sha256 = "0h098yhlp36ls6pdvs2r93ig8dv4fys62m0h6wxccprb0qrpbgv0";
};
+ patches = [
+ # Delete this patch for konversation > 1.7.5
+ (fetchpatch {
+ url = "https://cgit.kde.org/konversation.git/patch/?id=4d0036617becc26a76fd021138c98aceec4c7b53";
+ sha256 = "17hdj6zyln3n93b71by26mrwbgyh4k052ck5iw1drysx5dyd5l6y";
+ })
+ ];
+
buildInputs = [
kbookmarks
karchive
diff --git a/pkgs/applications/networking/irc/sic/default.nix b/pkgs/applications/networking/irc/sic/default.nix
index cf72bef62b1..b081a6b3672 100644
--- a/pkgs/applications/networking/irc/sic/default.nix
+++ b/pkgs/applications/networking/irc/sic/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "sic-${version}";
+ pname = "sic";
version = "1.2";
makeFlags = "PREFIX=$(out)";
diff --git a/pkgs/applications/networking/irc/weechat/default.nix b/pkgs/applications/networking/irc/weechat/default.nix
index 6bdade7198a..ec806c86ebd 100644
--- a/pkgs/applications/networking/irc/weechat/default.nix
+++ b/pkgs/applications/networking/irc/weechat/default.nix
@@ -5,45 +5,36 @@
, asciidoctor # manpages
, guileSupport ? true, guile
, luaSupport ? true, lua5
-, perlSupport ? true, perl, perlPackages
-, pythonSupport ? true, pythonPackages
+, perlSupport ? true, perl
+, pythonSupport ? true, python3Packages
, rubySupport ? true, ruby
, tclSupport ? true, tcl
, extraBuildInputs ? []
-, fetchpatch
}:
let
- inherit (pythonPackages) python;
+ inherit (python3Packages) python;
plugins = [
{ name = "perl"; enabled = perlSupport; cmakeFlag = "ENABLE_PERL"; buildInputs = [ perl ]; }
{ name = "tcl"; enabled = tclSupport; cmakeFlag = "ENABLE_TCL"; buildInputs = [ tcl ]; }
{ name = "ruby"; enabled = rubySupport; cmakeFlag = "ENABLE_RUBY"; buildInputs = [ ruby ]; }
{ name = "guile"; enabled = guileSupport; cmakeFlag = "ENABLE_GUILE"; buildInputs = [ guile ]; }
{ name = "lua"; enabled = luaSupport; cmakeFlag = "ENABLE_LUA"; buildInputs = [ lua5 ]; }
- { name = "python"; enabled = pythonSupport; cmakeFlag = "ENABLE_PYTHON"; buildInputs = [ python ]; }
+ { name = "python"; enabled = pythonSupport; cmakeFlag = "ENABLE_PYTHON3"; buildInputs = [ python ]; }
];
enabledPlugins = builtins.filter (p: p.enabled) plugins;
in
assert lib.all (p: p.enabled -> ! (builtins.elem null p.buildInputs)) plugins;
stdenv.mkDerivation rec {
- version = "2.4";
- name = "weechat-${version}";
+ version = "2.6";
+ pname = "weechat";
src = fetchurl {
url = "https://weechat.org/files/src/weechat-${version}.tar.bz2";
- sha256 = "1z80y5fbrb56wdcx9njrf203r8282wnn3piw3yffk5lvhklsz9k1";
+ sha256 = "1narazk28m7lmn1vqi7bhyvnr8apjrmaa4w1hbadn64hwr8ya1hb";
};
- patches = [
- (fetchpatch {
- url = https://github.com/weechat/weechat/commit/6a9937f08ad2c14aeb0a847ffb99e652d47d8251.patch;
- sha256 = "1blhgxwqs65dvpw3ppxszxrsg02rx7qck1w71h61ljinyjzri3bp";
- excludes = [ "ChangeLog.adoc" ];
- })
- ];
-
outputs = [ "out" "man" ] ++ map (p: p.name) enabledPlugins;
enableParallelBuilding = true;
@@ -85,7 +76,7 @@ let
on https://nixos.org/nixpkgs/manual/#sec-weechat .
'';
license = stdenv.lib.licenses.gpl3;
- maintainers = with stdenv.lib.maintainers; [ lovek323 garbas the-kenny lheckemann ma27 ];
+ maintainers = with stdenv.lib.maintainers; [ lovek323 the-kenny lheckemann ma27 ];
platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/networking/irc/weechat/scripts/default.nix b/pkgs/applications/networking/irc/weechat/scripts/default.nix
index 439e0e11614..81ee484f3b3 100644
--- a/pkgs/applications/networking/irc/weechat/scripts/default.nix
+++ b/pkgs/applications/networking/irc/weechat/scripts/default.nix
@@ -1,17 +1,13 @@
-{ callPackage, luaPackages, pythonPackages }:
+{ callPackage, luaPackages }:
{
- weechat-xmpp = callPackage ./weechat-xmpp {
- inherit (pythonPackages) pydns;
- };
-
weechat-matrix-bridge = callPackage ./weechat-matrix-bridge {
- inherit (luaPackages) cjson;
+ inherit (luaPackages) cjson luaffi;
};
- wee-slack = callPackage ./wee-slack {
- inherit pythonPackages;
- };
+ wee-slack = callPackage ./wee-slack { };
weechat-autosort = callPackage ./weechat-autosort { };
+
+ weechat-otr = callPackage ./weechat-otr { };
}
diff --git a/pkgs/applications/networking/irc/weechat/scripts/wee-slack/default.nix b/pkgs/applications/networking/irc/weechat/scripts/wee-slack/default.nix
index 280e447cd0a..6811cb164e0 100644
--- a/pkgs/applications/networking/irc/weechat/scripts/wee-slack/default.nix
+++ b/pkgs/applications/networking/irc/weechat/scripts/wee-slack/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, substituteAll, buildEnv, fetchFromGitHub, pythonPackages }:
+{ stdenv, substituteAll, buildEnv, fetchFromGitHub, python3Packages }:
stdenv.mkDerivation rec {
- name = "wee-slack-${version}";
- version = "2.2.0";
+ pname = "wee-slack";
+ version = "2.3.0";
src = fetchFromGitHub {
repo = "wee-slack";
owner = "wee-slack";
rev = "v${version}";
- sha256 = "1iy70q630cgs7fvk2151fq9519dwxrlqq862sbrwypzr6na6yqpg";
+ sha256 = "0544j6vqbvb2xshq7ma2a3apx2vvpgfg3jh5prg265wnh4991nsw";
};
patches = [
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
src = ./libpath.patch;
env = "${buildEnv {
name = "wee-slack-env";
- paths = with pythonPackages; [ websocket_client six ];
- }}/${pythonPackages.python.sitePackages}";
+ paths = with python3Packages; [ websocket_client six ];
+ }}/${python3Packages.python.sitePackages}";
})
];
diff --git a/pkgs/applications/networking/irc/weechat/scripts/wee-slack/libpath.patch b/pkgs/applications/networking/irc/weechat/scripts/wee-slack/libpath.patch
index 8887e075f13..af2dd36b41c 100644
--- a/pkgs/applications/networking/irc/weechat/scripts/wee-slack/libpath.patch
+++ b/pkgs/applications/networking/irc/weechat/scripts/wee-slack/libpath.patch
@@ -1,13 +1,13 @@
diff --git a/wee_slack.py b/wee_slack.py
-index c5c7bc6..23fef2f 100644
+index dbe6446..d1b7546 100644
--- a/wee_slack.py
+++ b/wee_slack.py
-@@ -25,6 +25,8 @@ try:
- except:
- from StringIO import StringIO
+@@ -25,6 +25,8 @@ import random
+ import socket
+ import string
+sys.path.append('@env@')
+
- from websocket import create_connection, WebSocketConnectionClosedException
+ from websocket import ABNF, create_connection, WebSocketConnectionClosedException
- # hack to make tests possible.. better way?
+ try:
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix b/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix
index 137a32f9364..ea5052f37a3 100644
--- a/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix
+++ b/pkgs/applications/networking/irc/weechat/scripts/weechat-matrix-bridge/default.nix
@@ -31,9 +31,9 @@ stdenv.mkDerivation {
mkdir -p $out/{share,lib}
cp {matrix.lua,olm.lua} $out/share
- cp ${cjson}/lib/lua/5.2/cjson.so $out/lib/cjson.so
+ cp ${cjson}/lib/lua/${cjson.lua.luaversion}/cjson.so $out/lib/cjson.so
cp ${olm}/lib/libolm.so $out/lib/libolm.so
- cp ${luaffi}/lib/ffi.so $out/lib/ffi.so
+ cp ${luaffi}/lib/lua/${luaffi.lua.luaversion}/ffi.so $out/lib/ffi.so
'';
meta = with stdenv.lib; {
@@ -42,5 +42,9 @@ stdenv.mkDerivation {
maintainers = with maintainers; [ ma27 ];
license = licenses.mit; # see https://github.com/torhve/weechat-matrix-protocol-script/blob/0052e7275ae149dc5241226391c9b1889ecc3c6b/matrix.lua#L53
platforms = platforms.unix;
+
+ # As of 2019-06-30, all of the dependencies are available on macOS but the
+ # package itself does not build.
+ broken = stdenv.isDarwin;
};
}
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-otr/default.nix b/pkgs/applications/networking/irc/weechat/scripts/weechat-otr/default.nix
new file mode 100644
index 00000000000..9682aa3169a
--- /dev/null
+++ b/pkgs/applications/networking/irc/weechat/scripts/weechat-otr/default.nix
@@ -0,0 +1,64 @@
+{ stdenv, substituteAll, buildEnv, fetchgit, fetchFromGitHub, python3Packages, gmp }:
+
+let
+ # pure-python-otr (potr) requires an older version of pycrypto, which is
+ # not compatible with pycryptodome. Therefore, the latest patched version
+ # of pycrypto will be fetched from the Debian project.
+ # https://security-tracker.debian.org/tracker/source-package/python-crypto
+
+ pycrypto = python3Packages.buildPythonPackage rec {
+ pname = "pycrypto";
+ version = "2.6.1-10";
+
+ src = fetchgit {
+ url = "https://salsa.debian.org/sramacher/python-crypto.git";
+ rev = "debian/${version}";
+ sha256 = "10rgq8bmjfpiqqa1g1p1hh7pxlxs7x0nawvk6zip0pd6x2vsr661";
+ };
+
+ buildInputs = [ gmp ];
+
+ preConfigure = ''
+ sed -i 's,/usr/include,/no-such-dir,' configure
+ sed -i "s!,'/usr/include/'!!" setup.py
+ '';
+ };
+
+ potr = python3Packages.potr.overridePythonAttrs (oldAttrs: {
+ propagatedBuildInputs = [ pycrypto ];
+ });
+in stdenv.mkDerivation rec {
+ pname = "weechat-otr";
+ version = "1.9.2";
+
+ src = fetchFromGitHub {
+ repo = pname;
+ owner = "mmb";
+ rev = "v${version}";
+ sha256 = "1lngv98y6883vk8z2628cl4d5y8jxy39w8245gjdvshl8g18k5s2";
+ };
+
+ patches = [
+ (substituteAll {
+ src = ./libpath.patch;
+ env = "${buildEnv {
+ name = "weechat-otr-env";
+ paths = [ potr pycrypto ];
+ }}/${python3Packages.python.sitePackages}";
+ })
+ ];
+
+ passthru.scripts = [ "weechat_otr.py" ];
+
+ installPhase = ''
+ mkdir -p $out/share
+ cp weechat_otr.py $out/share/weechat_otr.py
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/mmb/weechat-otr";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ geistesk ];
+ description = "WeeChat script for Off-the-Record messaging";
+ };
+}
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-otr/libpath.patch b/pkgs/applications/networking/irc/weechat/scripts/weechat-otr/libpath.patch
new file mode 100644
index 00000000000..a7b77ed9b60
--- /dev/null
+++ b/pkgs/applications/networking/irc/weechat/scripts/weechat-otr/libpath.patch
@@ -0,0 +1,13 @@
+diff --git a/weechat_otr.py b/weechat_otr.py
+index 0ccfb35..c42bebf 100644
+--- a/weechat_otr.py
++++ b/weechat_otr.py
+@@ -41,6 +41,8 @@ import shlex
+ import shutil
+ import sys
+
++sys.path.append('@env@')
++
+ import potr
+ import weechat
+
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-xmpp/default.nix b/pkgs/applications/networking/irc/weechat/scripts/weechat-xmpp/default.nix
deleted file mode 100644
index dad5b9c5e02..00000000000
--- a/pkgs/applications/networking/irc/weechat/scripts/weechat-xmpp/default.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ stdenv, fetchFromGitHub, xmpppy, pydns, substituteAll, buildEnv }:
-
-stdenv.mkDerivation {
- name = "weechat-jabber-2017-08-30";
-
- src = fetchFromGitHub {
- repo = "weechat-xmpp";
- owner = "sleduc";
- sha256 = "0s02xs0ynld9cxxzj07al364sfglyc5ir1i82133mq0s8cpphnxv";
- rev = "8f6c21f5a160c9318c7a2d8fd5dcac7ab2e0d843";
- };
-
- installPhase = ''
- mkdir -p $out/share
- cp jabber.py $out/share/jabber.py
- '';
-
- patches = [
- (substituteAll {
- src = ./libpath.patch;
- env = "${buildEnv {
- name = "weechat-xmpp-env";
- paths = [ pydns xmpppy ];
- }}/lib/python2.7/site-packages";
- })
- ];
-
- passthru.scripts = [ "jabber.py" ];
-
- meta = with stdenv.lib; {
- description = "A fork of the jabber plugin for weechat";
- homepage = "https://github.com/sleduc/weechat-xmpp";
- maintainers = with maintainers; [ ma27 ];
- license = licenses.gpl3Plus;
- };
-}
diff --git a/pkgs/applications/networking/irc/weechat/scripts/weechat-xmpp/libpath.patch b/pkgs/applications/networking/irc/weechat/scripts/weechat-xmpp/libpath.patch
deleted file mode 100644
index 372c83944a2..00000000000
--- a/pkgs/applications/networking/irc/weechat/scripts/weechat-xmpp/libpath.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/jabber.py b/jabber.py
-index 27006a3..e53c2c0 100644
---- a/jabber.py
-+++ b/jabber.py
-@@ -95,6 +95,11 @@ SCRIPT_COMMAND = SCRIPT_NAME
- import re
- import warnings
-
-+import sys
-+
-+sys.path.append('@env@')
-+
-+
- import_ok = True
-
- try:
diff --git a/pkgs/applications/networking/irc/weechat/wrapper.nix b/pkgs/applications/networking/irc/weechat/wrapper.nix
index bd05b63c68b..5c06bb8517a 100644
--- a/pkgs/applications/networking/irc/weechat/wrapper.nix
+++ b/pkgs/applications/networking/irc/weechat/wrapper.nix
@@ -1,5 +1,5 @@
-{ stdenv, lib, runCommand, writeScriptBin, buildEnv
-, pythonPackages, perlPackages, runtimeShell
+{ lib, runCommand, writeScriptBin, buildEnv
+, python3Packages, perlPackages, runtimeShell
}:
weechat:
@@ -15,11 +15,13 @@ let
availablePlugins = let
simplePlugin = name: {pluginFile = "${weechat.${name}}/lib/weechat/plugins/${name}.so";};
in rec {
- python = {
- pluginFile = "${weechat.python}/lib/weechat/plugins/python.so";
+ python = (simplePlugin "python") // {
+ extraEnv = ''
+ export PATH="${python3Packages.python}/bin:$PATH"
+ '';
withPackages = pkgsFun: (python // {
extraEnv = ''
- export PYTHONHOME="${pythonPackages.python.withPackages pkgsFun}"
+ export PYTHONHOME="${python3Packages.python.withPackages pkgsFun}"
'';
});
};
@@ -54,7 +56,7 @@ let
init = let
init = builtins.replaceStrings [ "\n" ] [ ";" ] (config.init or "");
- mkScript = drv: lib.flip map drv.scripts (script: "/script load ${drv}/share/${script}");
+ mkScript = drv: lib.forEach drv.scripts (script: "/script load ${drv}/share/${script}");
scripts = builtins.concatStringsSep ";" (lib.foldl (scripts: drv: scripts ++ mkScript drv)
[ ] (config.scripts or []));
diff --git a/pkgs/applications/networking/irc/wraith/default.nix b/pkgs/applications/networking/irc/wraith/default.nix
index add52d85d8b..6d9acdb68e5 100644
--- a/pkgs/applications/networking/irc/wraith/default.nix
+++ b/pkgs/applications/networking/irc/wraith/default.nix
@@ -4,7 +4,7 @@ with stdenv;
with stdenv.lib;
mkDerivation rec {
- name = "wraith-${version}";
+ pname = "wraith";
version = "1.4.7";
src = fetchurl {
url = "mirror://sourceforge/wraithbotpack/wraith-v${version}.tar.gz";
diff --git a/pkgs/applications/networking/jmeter/default.nix b/pkgs/applications/networking/jmeter/default.nix
index 374e4c7d4c8..3f626a6ac48 100644
--- a/pkgs/applications/networking/jmeter/default.nix
+++ b/pkgs/applications/networking/jmeter/default.nix
@@ -1,10 +1,10 @@
{ fetchurl, stdenv, jre, makeWrapper, coreutils }:
stdenv.mkDerivation rec {
- name = "jmeter-${version}";
+ pname = "jmeter";
version = "5.1.1";
src = fetchurl {
- url = "https://archive.apache.org/dist/jmeter/binaries/apache-${name}.tgz";
+ url = "https://archive.apache.org/dist/jmeter/binaries/apache-${pname}-${version}.tgz";
sha256 = "1bmlxnlcias781mwf3wzpd4935awswbq3w8ijck65bsaw07m2kc4";
};
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
Applications but has since expanded to other test functions.
'';
license = licenses.asl20;
- maintainers = [ maintainers.garbas ];
+ maintainers = [ ];
priority = 1;
platforms = platforms.unix;
};
diff --git a/pkgs/applications/networking/jnetmap/default.nix b/pkgs/applications/networking/jnetmap/default.nix
index af94db23c0a..e2a8a2d56bd 100644
--- a/pkgs/applications/networking/jnetmap/default.nix
+++ b/pkgs/applications/networking/jnetmap/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
- name = "jnetmap-${version}";
+ pname = "jnetmap";
version = "0.5.4";
-
+
src = fetchurl {
url = "mirror://sourceforge/project/jnetmap/jNetMap%20${version}/jNetMap-${version}.jar";
sha256 = "0nxsfa600jhazwbabxmr9j37mhwysp0fyrvczhv3f1smiy8rjanl";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
buildInputs = [ jre makeWrapper ];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
mkdir -p "$out/bin"
diff --git a/pkgs/applications/networking/libcoap/default.nix b/pkgs/applications/networking/libcoap/default.nix
new file mode 100644
index 00000000000..d3a3dd6e29a
--- /dev/null
+++ b/pkgs/applications/networking/libcoap/default.nix
@@ -0,0 +1,31 @@
+{ fetchFromGitHub, automake, autoconf, which, pkgconfig, libtool, stdenv }:
+stdenv.mkDerivation rec {
+ pname = "libcoap";
+ version = "4.2.0";
+ src = fetchFromGitHub {
+ repo = "libcoap";
+ owner = "obgm";
+ rev = "v${version}";
+ fetchSubmodules = true;
+ sha256 = "0mmvkq72i4rda6b7g93qrwg2nwh2rvkq4xw70yppj51hsdrnpfl7";
+ };
+ nativeBuildInputs = [
+ automake
+ autoconf
+ which
+ libtool
+ pkgconfig
+ ];
+ preConfigure = "./autogen.sh";
+ configureFlags = [
+ "--disable-documentation"
+ "--disable-shared"
+ ];
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/obgm/libcoap";
+ description = "A CoAP (RFC 7252) implementation in C";
+ platforms = platforms.linux;
+ license = licenses.bsd2;
+ maintainers = [ maintainers.kmein ];
+ };
+}
diff --git a/pkgs/applications/networking/linssid/default.nix b/pkgs/applications/networking/linssid/default.nix
index be010c47179..daddf6adf7e 100644
--- a/pkgs/applications/networking/linssid/default.nix
+++ b/pkgs/applications/networking/linssid/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchurl, qtbase, qtsvg, qmake, pkgconfig, boost, wirelesstools, iw, qwt, makeWrapper }:
+{ stdenv, fetchurl, qtbase, qtsvg, qmake, pkgconfig, boost, wirelesstools, iw, qwt, wrapQtAppsHook }:
stdenv.mkDerivation rec {
- name = "linssid-${version}";
+ pname = "linssid";
version = "2.7";
src = fetchurl {
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "13d35rlcjncd8lx3khkgn9x8is2xjd5fp6ns5xsn3w6l4xj9b4gl";
};
- nativeBuildInputs = [ pkgconfig qmake makeWrapper ];
+ nativeBuildInputs = [ pkgconfig qmake wrapQtAppsHook ];
buildInputs = [ qtbase qtsvg boost qwt ];
patches = [ ./0001-unbundled-qwt.patch ];
@@ -26,11 +26,8 @@ stdenv.mkDerivation rec {
rm -fr qwt-lib
'';
- postInstall = ''
- wrapProgram $out/bin/linssid \
- --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix} \
- --prefix PATH : ${stdenv.lib.makeBinPath [ wirelesstools iw ]}
- '';
+ qtWrapperArgs =
+ [ ''--prefix PATH : ${stdenv.lib.makeBinPath [ wirelesstools iw ]}'' ];
meta = with stdenv.lib; {
description = "Graphical wireless scanning for Linux";
diff --git a/pkgs/applications/networking/maestral/default.nix b/pkgs/applications/networking/maestral/default.nix
new file mode 100644
index 00000000000..bfacac2eaf4
--- /dev/null
+++ b/pkgs/applications/networking/maestral/default.nix
@@ -0,0 +1,38 @@
+{ lib, python3Packages, fetchFromGitHub
+, withGui ? false, wrapQtAppsHook ? null }:
+
+python3Packages.buildPythonApplication rec {
+ pname = "maestral${lib.optionalString withGui "-gui"}";
+ version = "0.2.6";
+
+ src = fetchFromGitHub {
+ owner = "SamSchott";
+ repo = "maestral-dropbox";
+ rev = "v${version}";
+ sha256 = "1nfjm58f6hnqbx9xnz2h929s2175ka1yf5jjlk4i60v0wppnrrdf";
+ };
+
+ disabled = python3Packages.pythonOlder "3.6";
+
+ propagatedBuildInputs = (with python3Packages; [
+ blinker click dropbox keyring keyrings-alt requests u-msgpack-python watchdog
+ ] ++ lib.optional withGui pyqt5);
+
+ nativeBuildInputs = lib.optional withGui wrapQtAppsHook;
+
+ postInstall = lib.optionalString withGui ''
+ makeQtWrapper $out/bin/maestral $out/bin/maestral-gui \
+ --add-flags gui
+ '';
+
+ # no tests
+ doCheck = false;
+
+ meta = with lib; {
+ description = "Open-source Dropbox client for macOS and Linux";
+ license = licenses.mit;
+ maintainers = with maintainers; [ peterhoeg ];
+ platforms = platforms.unix;
+ inherit (src.meta) homepage;
+ };
+}
diff --git a/pkgs/applications/networking/mailreaders/aerc/default.nix b/pkgs/applications/networking/mailreaders/aerc/default.nix
new file mode 100644
index 00000000000..b94ce269566
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/aerc/default.nix
@@ -0,0 +1,56 @@
+{ stdenv, buildGoModule, fetchurl
+, go, ncurses, scdoc
+, python3, perl, w3m, dante
+}:
+
+buildGoModule rec {
+ pname = "aerc";
+ version = "0.2.1";
+
+ src = fetchurl {
+ url = "https://git.sr.ht/~sircmpwn/aerc/archive/${version}.tar.gz";
+ sha256 = "1ky1nl5b54lf5jnac2kb5404fplwnwypjplas8imdlsf517fw32n";
+ };
+
+ nativeBuildInputs = [
+ go
+ scdoc
+ python3.pkgs.wrapPython
+ ];
+
+ pythonPath = [
+ python3.pkgs.colorama
+ ];
+
+ buildInputs = [ python3 perl ];
+
+ buildPhase = "
+ runHook preBuild
+ # we use make instead of go build
+ runHook postBuild
+ ";
+
+ installPhase = ''
+ runHook preInstall
+ make PREFIX=$out install
+ wrapPythonProgramsIn $out/share/aerc/filters "$out $pythonPath"
+ runHook postInstall
+ '';
+
+ postFixup = ''
+ wrapProgram $out/bin/aerc --prefix PATH ":" \
+ "$out/share/aerc/filters:${stdenv.lib.makeBinPath [ ncurses.dev ]}"
+ wrapProgram $out/share/aerc/filters/html --prefix PATH ":" \
+ ${stdenv.lib.makeBinPath [ w3m dante ]}
+ '';
+
+ modSha256 = "0fc9m1qb8innypc8cxzbqyrfkawawyaqq3gqy7lqwmyh32f300jh";
+
+ meta = with stdenv.lib; {
+ description = "aerc is an email client for your terminal";
+ homepage = https://aerc-mail.org/;
+ maintainers = with maintainers; [ tadeokondrak ];
+ license = licenses.mit;
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/networking/mailreaders/afew/default.nix b/pkgs/applications/networking/mailreaders/afew/default.nix
index bdf39de0651..cd512e77613 100644
--- a/pkgs/applications/networking/mailreaders/afew/default.nix
+++ b/pkgs/applications/networking/mailreaders/afew/default.nix
@@ -2,11 +2,11 @@
pythonPackages.buildPythonApplication rec {
pname = "afew";
- version = "1.3.0";
+ version = "2.0.0";
src = pythonPackages.fetchPypi {
inherit pname version;
- sha256 = "0105glmlkpkjqbz350dxxasvlfx9dk0him9vwbl86andzi106ygz";
+ sha256 = "0j60501nm242idf2ig0h7p6wrg58n5v2p6zfym56v9pbvnbmns0s";
};
nativeBuildInputs = with pythonPackages; [ sphinx setuptools_scm ];
@@ -15,24 +15,27 @@ pythonPackages.buildPythonApplication rec {
pythonPackages.notmuch chardet dkimpy
] ++ stdenv.lib.optional (!pythonPackages.isPy3k) subprocess32;
- postBuild = ''
- make -C docs man
- '';
-
- postInstall = ''
- mandir="$out/share/man/man1"
- mkdir -p "$mandir"
- cp docs/build/man/* "$mandir"
- '';
-
makeWrapperArgs = [
''--prefix PATH ':' "${notmuch}/bin"''
];
+ outputs = [ "out" "doc" ];
+
+ postBuild = ''
+ python setup.py build_sphinx -b html,man
+ '';
+
+ postInstall = ''
+ install -D -v -t $out/share/man/man1 build/sphinx/man/*
+ mkdir -p $out/share/doc/afew
+ cp -R build/sphinx/html/* $out/share/doc/afew
+ '';
+
+
meta = with stdenv.lib; {
homepage = https://github.com/afewmail/afew;
description = "An initial tagging script for notmuch mail";
license = licenses.isc;
- maintainers = with maintainers; [ garbas andir flokli ];
+ maintainers = with maintainers; [ andir flokli ];
};
}
diff --git a/pkgs/applications/networking/mailreaders/alpine/default.nix b/pkgs/applications/networking/mailreaders/alpine/default.nix
index bb62014c77a..cfaa7dcd4af 100644
--- a/pkgs/applications/networking/mailreaders/alpine/default.nix
+++ b/pkgs/applications/networking/mailreaders/alpine/default.nix
@@ -2,13 +2,12 @@
, openldap
}:
-# NOTE: Please check if any changes here are applicable to ../realpine/ as well
stdenv.mkDerivation rec {
- name = "alpine-${version}";
+ pname = "alpine";
version = "2.21";
src = fetchurl {
- url = "http://alpine.freeiz.com/alpine/release/src/${name}.tar.xz";
+ url = "http://alpine.x10host.com/alpine/release/src/${pname}-${version}.tar.xz";
sha256 = "0f3llxrmaxw7w9w6aixh752md3cdc91mwfmbarkm8s413f4bcc30";
};
@@ -23,11 +22,11 @@ stdenv.mkDerivation rec {
"--with-passfile=.pine-passfile"
];
- meta = {
+ meta = with stdenv.lib; {
description = "Console mail reader";
- license = stdenv.lib.licenses.asl20;
- maintainers = [stdenv.lib.maintainers.raskin];
- platforms = stdenv.lib.platforms.linux;
- homepage = https://www.washington.edu/alpine/;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ raskin ];
+ platforms = platforms.linux;
+ homepage = "http://alpine.x10host.com/";
};
}
diff --git a/pkgs/applications/networking/mailreaders/astroid/default.nix b/pkgs/applications/networking/mailreaders/astroid/default.nix
index 41f3a271a69..7d62aa43888 100644
--- a/pkgs/applications/networking/mailreaders/astroid/default.nix
+++ b/pkgs/applications/networking/mailreaders/astroid/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gnome3, gmime3, webkitgtk
, libsass, notmuch, boost, wrapGAppsHook, glib-networking, protobuf, vim_configurable
, gtkmm3, libpeas, gsettings-desktop-schemas
-, makeWrapper, python3, python3Packages
+, python3, python3Packages
, vim ? vim_configurable.override {
features = "normal";
gui = "auto";
@@ -10,14 +10,14 @@
}:
stdenv.mkDerivation rec {
- name = "astroid-${version}";
- version = "0.14";
+ pname = "astroid";
+ version = "0.15";
src = fetchFromGitHub {
owner = "astroidmail";
repo = "astroid";
rev = "v${version}";
- sha256 = "1wkv1icsx3g3gq485dnvcdhr9srrjgz4ws1i1krcw9n61bj7gxh8";
+ sha256 = "11cxbva9ni98gii59xmbxh4c6idcg3mg0pgdsp1c3j0yg7ix0lj3";
};
nativeBuildInputs = [ cmake ronn pkgconfig wrapGAppsHook ];
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://astroidmail.github.io/;
- description = "GTK+ frontend to the notmuch mail system";
+ description = "GTK frontend to the notmuch mail system";
maintainers = with maintainers; [ bdimcheff SuprDewd ];
license = licenses.gpl3Plus;
platforms = platforms.linux;
diff --git a/pkgs/applications/networking/mailreaders/balsa/default.nix b/pkgs/applications/networking/mailreaders/balsa/default.nix
index f7f34a67183..15f707e06a2 100644
--- a/pkgs/applications/networking/mailreaders/balsa/default.nix
+++ b/pkgs/applications/networking/mailreaders/balsa/default.nix
@@ -5,12 +5,12 @@
}:
stdenv.mkDerivation rec {
- name = "balsa-${version}";
- version = "2.5.6";
+ pname = "balsa";
+ version = "2.5.7";
src = fetchurl {
- url = "https://pawsa.fedorapeople.org/balsa/${name}.tar.bz2";
- sha256 = "17k6wcsl8gki7cskr3hhmfj6n54rha8ca3b6fzd8blsl5shsankx";
+ url = "https://pawsa.fedorapeople.org/balsa/${pname}-${version}.tar.bz2";
+ sha256 = "0yfqhfpwm1qnwmbpr6dfn2f5w8a8xxq51pn8ypgg0fw973l1c1nx";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/networking/mailreaders/claws-mail/default.nix b/pkgs/applications/networking/mailreaders/claws-mail/default.nix
index 42f29574eef..d7df94f7e67 100644
--- a/pkgs/applications/networking/mailreaders/claws-mail/default.nix
+++ b/pkgs/applications/networking/mailreaders/claws-mail/default.nix
@@ -30,12 +30,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "claws-mail-${version}";
- version = "3.17.3";
+ pname = "claws-mail";
+ version = "3.17.4";
src = fetchurl {
url = "http://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz";
- sha256 = "1wnj6c9cbmhphs2l6wfvndkk2g08rmxw0sl2c8k1k008dxd1ykjh";
+ sha256 = "00mfhaac16sv67rwiq98hr4nl5zmd1h2afswwwksdcsi3q9x23jr";
};
outputs = [ "out" "dev" ];
diff --git a/pkgs/applications/networking/mailreaders/imapfilter.nix b/pkgs/applications/networking/mailreaders/imapfilter.nix
index e5a919af2e6..78b1aad03fb 100644
--- a/pkgs/applications/networking/mailreaders/imapfilter.nix
+++ b/pkgs/applications/networking/mailreaders/imapfilter.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, openssl, lua, pcre }:
stdenv.mkDerivation rec {
- name = "imapfilter-${version}";
+ pname = "imapfilter";
version = "2.6.12";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/mailreaders/inboxer/default.nix b/pkgs/applications/networking/mailreaders/inboxer/default.nix
index 72b9ce09d76..189ac1e6aae 100644
--- a/pkgs/applications/networking/mailreaders/inboxer/default.nix
+++ b/pkgs/applications/networking/mailreaders/inboxer/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, binutils, patchelf, makeWrapper
-, expat, xorg, gdk_pixbuf, glib, gnome2, cairo, atk, freetype
+, expat, xorg, gdk-pixbuf, glib, gnome2, cairo, atk, freetype
, fontconfig, dbus, nss, nspr, gtk2-x11, alsaLib, cups, libpulseaudio, udev }:
stdenv.mkDerivation rec {
- name = "inboxer-${version}";
+ pname = "inboxer";
version = "1.2.1";
meta = with stdenv.lib; {
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
xorg.libXtst
xorg.libXScrnSaver
xorg.libxcb
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.pango
gnome2.GConf
diff --git a/pkgs/applications/networking/mailreaders/lumail/default.nix b/pkgs/applications/networking/mailreaders/lumail/default.nix
index bc0918737dd..0a670b2b9a6 100644
--- a/pkgs/applications/networking/mailreaders/lumail/default.nix
+++ b/pkgs/applications/networking/mailreaders/lumail/default.nix
@@ -25,7 +25,8 @@ let
luaCPath = getPath "so";
in
stdenv.mkDerivation {
- name = "lumail-${version}";
+ pname = "lumail";
+ inherit version;
src = fetchurl {
url = "https://lumail.org/download/lumail-${version}.tar.gz";
diff --git a/pkgs/applications/networking/mailreaders/mailcheck/default.nix b/pkgs/applications/networking/mailreaders/mailcheck/default.nix
index 05e78485655..ffa3e92d390 100644
--- a/pkgs/applications/networking/mailreaders/mailcheck/default.nix
+++ b/pkgs/applications/networking/mailreaders/mailcheck/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "mailcheck-${version}";
+ pname = "mailcheck";
version = "1.91.2";
patches = [ ./mailcheck-Makefile.patch ];
diff --git a/pkgs/applications/networking/mailreaders/mailnag/default.nix b/pkgs/applications/networking/mailreaders/mailnag/default.nix
index 32455e1132f..4cbaee4488b 100644
--- a/pkgs/applications/networking/mailreaders/mailnag/default.nix
+++ b/pkgs/applications/networking/mailreaders/mailnag/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, gettext, gtk3, pythonPackages
-, gdk_pixbuf, libnotify, gst_all_1
+, gdk-pixbuf, libnotify, gst_all_1
, libgnome-keyring3
, wrapGAppsHook, gnome3
# otherwise passwords are stored unencrypted
@@ -9,7 +9,7 @@
let
inherit (pythonPackages) python;
in pythonPackages.buildPythonApplication rec {
- name = "mailnag-${version}";
+ pname = "mailnag";
version = "1.3.0";
src = fetchurl {
@@ -18,7 +18,7 @@ in pythonPackages.buildPythonApplication rec {
};
buildInputs = [
- gtk3 gdk_pixbuf libnotify gst_all_1.gstreamer
+ gtk3 gdk-pixbuf libnotify gst_all_1.gstreamer
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
gst_all_1.gst-plugins-bad
gnome3.adwaita-icon-theme
diff --git a/pkgs/applications/networking/mailreaders/mailpile/default.nix b/pkgs/applications/networking/mailreaders/mailpile/default.nix
index 0f11d9a6df0..89231939bfb 100644
--- a/pkgs/applications/networking/mailreaders/mailpile/default.nix
+++ b/pkgs/applications/networking/mailreaders/mailpile/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, python2Packages, gnupg1orig, openssl, git }:
python2Packages.buildPythonApplication rec {
- name = "mailpile-${version}";
+ pname = "mailpile";
version = "1.0.0rc2";
src = fetchFromGitHub {
owner = "mailpile";
repo = "Mailpile";
- rev = "${version}";
+ rev = version;
sha256 = "1z5psh00fjr8gnl4yjcl4m9ywfj24y1ffa2rfb5q8hq4ksjblbdj";
};
diff --git a/pkgs/applications/networking/mailreaders/mblaze/default.nix b/pkgs/applications/networking/mailreaders/mblaze/default.nix
index f00ec6e6566..6c3b3a69b1d 100644
--- a/pkgs/applications/networking/mailreaders/mblaze/default.nix
+++ b/pkgs/applications/networking/mailreaders/mblaze/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch, libiconv }:
stdenv.mkDerivation rec {
- name = "mblaze-${version}";
+ pname = "mblaze";
version = "0.5.1";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv ];
diff --git a/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix b/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix
new file mode 100644
index 00000000000..7019c309feb
--- /dev/null
+++ b/pkgs/applications/networking/mailreaders/mlarchive2maildir/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, python3, notmuch }:
+
+python3.pkgs.buildPythonApplication rec {
+ pname = "mlarchive2maildir";
+ version = "0.0.6";
+
+ src = python3.pkgs.fetchPypi {
+ inherit pname version;
+ sha256 = "025mv890zsk25cral9cas3qgqdsszh5025khz473zs36innjd0mw";
+ };
+
+ nativeBuildInputs = with python3.pkgs; [ setuptools_scm ];
+
+ propagatedBuildInputs = with python3.pkgs; [
+ beautifulsoup4
+ click
+ click-log
+ requests
+ six
+ ];
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/flokli/mlarchive2maildir;
+ description = "Imports mail from (pipermail) archives into a maildir";
+ license = licenses.mit;
+ maintainers = with maintainers; [ andir flokli ];
+ };
+}
diff --git a/pkgs/applications/networking/mailreaders/msgviewer/default.nix b/pkgs/applications/networking/mailreaders/msgviewer/default.nix
index 88e573f6cf4..fc8c167e984 100644
--- a/pkgs/applications/networking/mailreaders/msgviewer/default.nix
+++ b/pkgs/applications/networking/mailreaders/msgviewer/default.nix
@@ -5,7 +5,7 @@ let
name = "msgviewer-${version}";
uname = "MSGViewer-${version}";
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
inherit name;
src = fetchurl {
diff --git a/pkgs/applications/networking/mailreaders/mutt/default.nix b/pkgs/applications/networking/mailreaders/mutt/default.nix
index 8bdba1893e2..c694398bd7d 100644
--- a/pkgs/applications/networking/mailreaders/mutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/mutt/default.nix
@@ -26,12 +26,12 @@ assert gpgmeSupport -> gpgme != null && openssl != null;
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "mutt-${version}";
- version = "1.12.0";
+ pname = "mutt";
+ version = "1.12.1";
src = fetchurl {
- url = "http://ftp.mutt.org/pub/mutt/${name}.tar.gz";
- sha256 = "13zr2fpql33sdbsjsiaa952js5bvphc1x4lqsj36qyzdhj3l84na";
+ url = "http://ftp.mutt.org/pub/mutt/${pname}-${version}.tar.gz";
+ sha256 = "0311sip2q90aqaxn7h3cck1zl98b4vifqi8bp5fsizy4dr06bi81";
};
patches = optional smimeSupport (fetchpatch {
diff --git a/pkgs/applications/networking/mailreaders/neomutt/default.nix b/pkgs/applications/networking/mailreaders/neomutt/default.nix
index 0da451ed51e..615b810d002 100644
--- a/pkgs/applications/networking/mailreaders/neomutt/default.nix
+++ b/pkgs/applications/networking/mailreaders/neomutt/default.nix
@@ -3,21 +3,9 @@
, lmdb, libxslt, docbook_xsl, docbook_xml_dtd_42, mailcap, runtimeShell
}:
-let
- muttWrapper = writeScript "mutt" ''
- #!${runtimeShell} -eu
-
- echo 'The neomutt project has renamed the main binary from `mutt` to `neomutt`.'
- echo ""
- echo 'This wrapper is provided for compatibility purposes only. You should start calling `neomutt` instead.'
- echo ""
- read -p 'Press any key to launch NeoMutt...' -n1 -s
- exec neomutt "$@"
- '';
-
-in stdenv.mkDerivation rec {
+stdenv.mkDerivation rec {
version = "20180716";
- name = "neomutt-${version}";
+ pname = "neomutt";
src = fetchFromGitHub {
owner = "neomutt";
@@ -80,7 +68,6 @@ in stdenv.mkDerivation rec {
NIX_LDFLAGS = "-lidn";
postInstall = ''
- cp ${muttWrapper} $out/bin/mutt
wrapProgram "$out/bin/neomutt" --prefix PATH : "$out/libexec/neomutt"
'';
diff --git a/pkgs/applications/networking/mailreaders/notbit/default.nix b/pkgs/applications/networking/mailreaders/notbit/default.nix
index 3e235400498..fcf1464ba23 100644
--- a/pkgs/applications/networking/mailreaders/notbit/default.nix
+++ b/pkgs/applications/networking/mailreaders/notbit/default.nix
@@ -4,8 +4,8 @@
with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "notbit-${version}";
+stdenv.mkDerivation {
+ pname = "notbit";
version = "2018-01-09";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix b/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix
index c2cce227576..86aef501134 100644
--- a/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch-addrlookup/default.nix
@@ -3,8 +3,9 @@
let
version = "9";
in
-stdenv.mkDerivation rec {
- name = "notmuch-addrlookup-${version}";
+stdenv.mkDerivation {
+ pname = "notmuch-addrlookup";
+ inherit version;
src = fetchFromGitHub {
owner = "aperezdc";
@@ -21,7 +22,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Address lookup tool for Notmuch in C";
homepage = https://github.com/aperezdc/notmuch-addrlookup-c;
- maintainers = with maintainers; [ mog garbas ];
+ maintainers = with maintainers; [ mog ];
platforms = platforms.unix;
license = licenses.mit;
};
diff --git a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
index e2b56f3b8af..d9eae3c9c50 100644
--- a/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch-bower/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, gawk, mercury, pandoc, ncurses, gpgme }:
stdenv.mkDerivation rec {
- name = "notmuch-bower-${version}";
- version = "0.10";
+ pname = "notmuch-bower";
+ version = "0.11";
src = fetchFromGitHub {
owner = "wangp";
repo = "bower";
rev = version;
- sha256 = "0jpaxlfxz7mj76z3cyj8sq053p0mkp46kaw05nimzwaq5yx923fv";
+ sha256 = "0vhac8yjnhb1gz60jfzg27spyn96c1rr849gc6vjym5xamw7zp0v";
};
nativeBuildInputs = [ gawk mercury pandoc ];
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix
index 02e49290a68..01081ebfb3e 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix
@@ -12,17 +12,17 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- version = "0.28.4"; # not really, git
- name = "notmuch-${version}";
+ version = "0.29.1";
+ pname = "notmuch";
passthru = {
- pythonSourceRoot = "${name}/bindings/python";
+ pythonSourceRoot = "${pname}-${version}/bindings/python";
inherit version;
};
src = fetchurl {
- url = "https://notmuchmail.org/releases/${name}.tar.gz";
- sha256 = "1jjnhs4xs4gksvg0a9qn68rxrj41im5bh58snka2pkj20nxwmcds";
+ url = "https://notmuchmail.org/releases/${pname}-${version}.tar.xz";
+ sha256 = "0rg3rwghd3wivf3bmqcqpkkd5c779ld5hi363zjcw5fl6a7gqilq";
};
nativeBuildInputs = [ pkgconfig ];
@@ -40,16 +40,12 @@ stdenv.mkDerivation rec {
patchShebangs configure
patchShebangs test/
- for src in \
- util/crypto.c \
- notmuch-config.c
- do
- substituteInPlace "$src" \
- --replace \"gpg\" \"${gnupg}/bin/gpg\"
- done
-
substituteInPlace lib/Makefile.local \
--replace '-install_name $(libdir)' "-install_name $out/lib"
+
+ substituteInPlace emacs/notmuch-emacs-mua \
+ --replace 'EMACS:-emacs' 'EMACS:-${emacs}/bin/emacs' \
+ --replace 'EMACSCLIENT:-emacsclient' 'EMACSCLIENT:-${emacs}/bin/emacsclient'
'';
configureFlags = [ "--zshcompletiondir=${placeholder "out"}/share/zsh/site-functions" ];
@@ -68,7 +64,7 @@ stdenv.mkDerivation rec {
in ''
ln -s ${test-database} test/test-databases/database-v1.tar.xz
'';
- doCheck = !stdenv.hostPlatform.isDarwin && (versionAtLeast gmime.version "3.0");
+ doCheck = !stdenv.hostPlatform.isDarwin && (versionAtLeast gmime.version "3.0.3");
checkTarget = "test";
checkInputs = [
which dtach openssl bash
@@ -83,7 +79,7 @@ stdenv.mkDerivation rec {
description = "Mail indexer";
homepage = https://notmuchmail.org/;
license = licenses.gpl3;
- maintainers = with maintainers; [ flokli garbas the-kenny ];
+ maintainers = with maintainers; [ flokli puckipedia the-kenny ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
index e25dfe834f6..a0dbf98f276 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
@@ -3,12 +3,12 @@
}:
stdenv.mkDerivation rec {
version = "5";
- name = "muchsync-${version}";
+ pname = "muchsync";
passthru = {
inherit version;
};
src = fetchurl {
- url = "http://www.muchsync.org/src/${name}.tar.gz";
+ url = "http://www.muchsync.org/src/${pname}-${version}.tar.gz";
sha256 = "1k2m44pj5i6vfhp9icdqs42chsp208llanc666p3d9nww8ngq2lb";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/networking/mailreaders/notmuch/mutt.nix b/pkgs/applications/networking/mailreaders/notmuch/mutt.nix
index 410e5e10ceb..7382b97ba81 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/mutt.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/mutt.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, perl, perlPackages, makeWrapper, coreutils, notmuch }:
stdenv.mkDerivation rec {
- name = "notmuch-mutt-${version}";
+ pname = "notmuch-mutt";
version = notmuch.version;
outputs = [ "out" ];
diff --git a/pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix b/pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix
deleted file mode 100644
index 3d8673a87a1..00000000000
--- a/pkgs/applications/networking/mailreaders/nylas-mail-bin/default.nix
+++ /dev/null
@@ -1,133 +0,0 @@
-{ dpkg, fetchurl, lib, pkgs, stdenv
-, alsaLib
-, atk
-, cairo
-, coreutils
-, cups
-, dbus
-, desktop-file-utils
-, expat
-, fontconfig
-, freetype
-, gcc-unwrapped
-, gdk_pixbuf
-, glib
-, gnome2
-, libgnome-keyring
-, libnotify
-, makeWrapper
-, nodejs
-, nspr
-, nss
-, pango
-, python2
-, udev
-, wget
-, xorg
-}:
-
-stdenv.mkDerivation rec {
- name = "${pkgname}-${version}";
- pkgname = "nylas-mail-bin";
- version = "2.0.32";
- subVersion = "fec7941";
-
- src =
- if stdenv.hostPlatform.system == "x86_64-linux" then
- fetchurl {
- url = "https://edgehill.s3.amazonaws.com/${version}-${subVersion}/linux-deb/x64/NylasMail.deb";
- sha256 = "40060aa1dc3b5187b8ed4a07b9de3427e3c5a291df98c2c82395647fa2aa4ada";
- }
- else
- throw "NylasMail is not supported on ${stdenv.hostPlatform.system}";
-
- propagatedBuildInputs = [
- alsaLib
- atk
- cairo
- coreutils
- cups
- dbus
- desktop-file-utils
- expat
- fontconfig
- freetype
- gcc-unwrapped
- gdk_pixbuf
- glib
- gnome2.GConf
- gnome2.gtk
- libgnome-keyring
- libnotify
- nodejs
- nspr
- nss
- pango
- python2
- udev
- wget
- xorg.libX11
- xorg.libXScrnSaver
- xorg.libXcomposite
- xorg.libXcursor
- xorg.libXdamage
- xorg.libXext
- xorg.libXfixes
- xorg.libXi
- xorg.libXrandr
- xorg.libXrender
- xorg.libXtst
- xorg.libxkbfile
- ];
-
-
- nativeBuildInputs = [ makeWrapper ];
-
- buildCommand = ''
- mkdir -p $out
-
- ${dpkg}/bin/dpkg-deb -x $src unpacked
- mv unpacked/usr/* $out/
-
- # Fix path in desktop file
- substituteInPlace $out/share/applications/nylas-mail.desktop \
- --replace /usr/bin/nylas-mail $out/bin/nylas-mail
-
- # Patch librariess
- noderp=$(patchelf --print-rpath $out/share/nylas-mail/libnode.so)
- patchelf --set-rpath $noderp:$out/lib:${stdenv.cc.cc.lib}/lib:${xorg.libxkbfile.out}/lib:${lib.makeLibraryPath propagatedBuildInputs } \
- $out/share/nylas-mail/libnode.so
-
- ffrp=$(patchelf --print-rpath $out/share/nylas-mail/libffmpeg.so)
- patchelf --set-rpath $ffrp:$out/lib:${stdenv.cc.cc.lib}/lib:${lib.makeLibraryPath propagatedBuildInputs } \
- $out/share/nylas-mail/libffmpeg.so
-
- # Patch binaries
- binrp=$(patchelf --print-rpath $out/share/nylas-mail/nylas)
- patchelf --interpreter $(cat "$NIX_CC"/nix-support/dynamic-linker) \
- --set-rpath $binrp:$out/lib:${stdenv.cc.cc.lib}/lib:${lib.makeLibraryPath propagatedBuildInputs } \
- $out/share/nylas-mail/nylas
-
- wrapProgram $out/share/nylas-mail/nylas --set LD_LIBRARY_PATH "${xorg.libxkbfile}/lib:${pkgs.gnome3.libgnome-keyring}/lib";
-
- # Fix path to bash so apm can install plugins.
- substituteInPlace $out/share/nylas-mail/resources/apm/bin/apm \
- --replace /bin/bash ${stdenv.shell}
-
- wrapProgram $out/share/nylas-mail/resources/apm/bin/apm \
- --set PATH "${coreutils}/bin"
- patchelf --interpreter $(cat "$NIX_CC"/nix-support/dynamic-linker) \
- --set-rpath ${gcc-unwrapped.lib}/lib $out/share/nylas-mail/resources/apm/bin/node
- '';
-
- meta = with stdenv.lib; {
- description = "Open-source mail client built on the modern web with Electron, React, and Flux";
- longDescription = ''
- Nylas Mail is an open-source mail client built on the modern web with Electron, React, and Flux. It is designed to be extensible, so it's easy to create new experiences and workflows around email. Nylas Mail can be enabled with it's requirements by enabling 'services.nylas-mail.enable=true'. Alternatively, make sure to have services.gnome3.gnome-keyring.enable = true; in your configuration.nix before running nylas-mail. If you happen to miss this step, you should remove ~/.nylas-mail and "~/.config/Nylas Mail" for a blank setup".
- '';
- license = licenses.gpl3;
- maintainers = with maintainers; [ johnramsden ];
- homepage = https://nylas.com;
- platforms = [ "x86_64-linux" ];
- };
-}
diff --git a/pkgs/applications/networking/mailreaders/realpine/default.nix b/pkgs/applications/networking/mailreaders/realpine/default.nix
deleted file mode 100644
index f53c5d61050..00000000000
--- a/pkgs/applications/networking/mailreaders/realpine/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{stdenv, fetchurl, ncurses, tcl, openssl, pam, kerberos
-, openldap
-}:
-# NOTE: Please check if any changes here are applicable to ../alpine/ as well
-let
- baseName = "re-alpine";
- version = "2.03";
-in
-stdenv.mkDerivation {
- name = "${baseName}-${version}";
- inherit version;
-
- src = fetchurl {
- url = "mirror://sourceforge/re-alpine/re-alpine-${version}.tar.bz2";
- sha256 = "11xspzbk9cwmklmcw6rxsan7j71ysd4m9c7qldlc59ck595k5nbh";
- };
-
- buildInputs = [
- ncurses tcl openssl pam kerberos openldap
- ];
-
- hardeningDisable = [ "format" ];
-
- configureFlags = [
- "--with-ssl-include-dir=${openssl.dev}/include/openssl"
- "--with-tcl-lib=${tcl.libPrefix}"
- "--with-passfile=.pine-passfile"
- ];
-
- preConfigure = ''
- export NIX_LDFLAGS="$NIX_LDFLAGS -lgcc_s"
- '';
-
- meta = {
- description = "Console mail reader";
- license = stdenv.lib.licenses.asl20;
- maintainers = [stdenv.lib.maintainers.raskin];
- platforms = stdenv.lib.platforms.linux;
- homepage = https://sourceforge.net/projects/re-alpine/;
- downloadPage = "https://sourceforge.net/projects/re-alpine/files/";
- };
-}
diff --git a/pkgs/applications/networking/mailreaders/sup/.bundix/cache b/pkgs/applications/networking/mailreaders/sup/.bundix/cache
deleted file mode 100644
index 5894e96022c..00000000000
--- a/pkgs/applications/networking/mailreaders/sup/.bundix/cache
+++ /dev/null
@@ -1,4 +0,0 @@
----
-gem:
- https://rubygems.org/downloads/mini_portile-0.6.0.gem: 09kcn4g63xrdirgwxgjikqg976rr723bkc9bxfr29pk22cj3wavn
- https://rubygems.org/downloads/gpgme-2.0.7.gem: 1p84zhiri2ihcld7py9mwc2kg5xs5da8fk11zhndrhmw05yvf5mr
diff --git a/pkgs/applications/networking/mailreaders/sup/Gemfile b/pkgs/applications/networking/mailreaders/sup/Gemfile
deleted file mode 100644
index bc37456ae58..00000000000
--- a/pkgs/applications/networking/mailreaders/sup/Gemfile
+++ /dev/null
@@ -1,9 +0,0 @@
-source "https://rubygems.org"
-
-gem 'rake'
-gem 'sup'
-gem 'gpgme'
-
-# Sup tries to `xapian-ruby` in its extconf instead of listing it as a
-# dependency.
-gem 'xapian-ruby', "~> 1.2.22"
diff --git a/pkgs/applications/networking/mailreaders/sup/Gemfile.lock b/pkgs/applications/networking/mailreaders/sup/Gemfile.lock
deleted file mode 100644
index bd0f051c104..00000000000
--- a/pkgs/applications/networking/mailreaders/sup/Gemfile.lock
+++ /dev/null
@@ -1,41 +0,0 @@
-GEM
- remote: https://rubygems.org/
- specs:
- chronic (0.9.1)
- gpgme (2.0.18)
- mini_portile2 (~> 2.3)
- highline (2.0.2)
- locale (2.1.2)
- lockfile (2.1.3)
- mime-types (3.2.2)
- mime-types-data (~> 3.2015)
- mime-types-data (3.2019.0331)
- mini_portile2 (2.4.0)
- ncursesw (1.4.10)
- rake (12.3.2)
- rmail-sup (1.0.1)
- sup (0.22.1)
- chronic (~> 0.9.1)
- highline
- locale (~> 2.0)
- lockfile
- mime-types (> 2.0)
- ncursesw (~> 1.4.0)
- rmail-sup (~> 1.0.1)
- trollop (>= 1.12)
- unicode (~> 0.4.4)
- trollop (2.9.9)
- unicode (0.4.4.4)
- xapian-ruby (1.2.22)
-
-PLATFORMS
- ruby
-
-DEPENDENCIES
- gpgme
- rake
- sup
- xapian-ruby (~> 1.2.22)
-
-BUNDLED WITH
- 1.17.2
diff --git a/pkgs/applications/networking/mailreaders/sup/default.nix b/pkgs/applications/networking/mailreaders/sup/default.nix
deleted file mode 100644
index cfc471a57f0..00000000000
--- a/pkgs/applications/networking/mailreaders/sup/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ lib, bundlerApp, rake, which }:
-
-# Updated with:
-# rm gemset.nix Gemfile.lock
-# nix-shell -p bundler bundix --run 'bundle lock && bundix'
-
-bundlerApp {
- pname = "sup";
- gemdir = ./.;
- exes = [
- "sup"
- "sup-add"
- "sup-config"
- "sup-dump"
- "sup-import-dump"
- "sup-psych-ify-config-files"
- "sup-recover-sources"
- "sup-sync"
- "sup-sync-back-maildir"
- "sup-tweak-labels"
- ];
-
- meta = with lib; {
- description = "A curses threads-with-tags style email client";
- homepage = http://sup-heliotrope.github.io;
- license = licenses.gpl2;
- maintainers = with maintainers; [ cstrahan lovek323 manveru ];
- platforms = platforms.unix;
- };
-}
diff --git a/pkgs/applications/networking/mailreaders/sup/gemset.nix b/pkgs/applications/networking/mailreaders/sup/gemset.nix
deleted file mode 100644
index 023374932cb..00000000000
--- a/pkgs/applications/networking/mailreaders/sup/gemset.nix
+++ /dev/null
@@ -1,155 +0,0 @@
-{
- chronic = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0kspaxpfy7yvyk1lvpx31w852qfj8wb9z04mcj5bzi70ljb9awqk";
- type = "gem";
- };
- version = "0.9.1";
- };
- gpgme = {
- dependencies = ["mini_portile2"];
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "12fqirxr964mc8jwsfl5nif6q4wcckrmj7w4c9ci4xg9xy2b9v6m";
- type = "gem";
- };
- version = "2.0.18";
- };
- highline = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1g0zpalfj8wvca86hcnirir5py2zyqrhkgdgv9f87fxkjaw815wr";
- type = "gem";
- };
- version = "2.0.2";
- };
- locale = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1sls9bq4krx0fmnzmlbn64dw23c4d6pz46ynjzrn9k8zyassdd0x";
- type = "gem";
- };
- version = "2.1.2";
- };
- lockfile = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0dij3ijywylvfgrpi2i0k17f6w0wjhnjjw0k9030f54z56cz7jrr";
- type = "gem";
- };
- version = "2.1.3";
- };
- mime-types = {
- dependencies = ["mime-types-data"];
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0fjxy1jm52ixpnv3vg9ld9pr9f35gy0jp66i1njhqjvmnvq0iwwk";
- type = "gem";
- };
- version = "3.2.2";
- };
- mime-types-data = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1m00pg19cm47n1qlcxgl91ajh2yq0fszvn1vy8fy0s1jkrp9fw4a";
- type = "gem";
- };
- version = "3.2019.0331";
- };
- mini_portile2 = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "15zplpfw3knqifj9bpf604rb3wc1vhq6363pd6lvhayng8wql5vy";
- type = "gem";
- };
- version = "2.4.0";
- };
- ncursesw = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1nc14wls1yiigz593vw7580hb99lf4n485axapiz6sqpg1jnlhcr";
- type = "gem";
- };
- version = "1.4.10";
- };
- rake = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1sy5a7nh6xjdc9yhcw31jji7ssrf9v5806hn95gbrzr998a2ydjn";
- type = "gem";
- };
- version = "12.3.2";
- };
- rmail-sup = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1xswk101s560lxqaax3plqh8vjx7jjspnggdwb3q80m358f92q9g";
- type = "gem";
- };
- version = "1.0.1";
- };
- sup = {
- dependencies = ["chronic" "highline" "locale" "lockfile" "mime-types" "ncursesw" "rmail-sup" "trollop" "unicode"];
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "17s2sxismf46zdhgr6g2v53fw9f3sp1ijx7xdw3wx8qpcsgazcgi";
- type = "gem";
- };
- version = "0.22.1";
- };
- trollop = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "074h7lns72kg1dl5gvz5apl3xz1i0axbnbc01pf2kbw4q0lkpnp4";
- type = "gem";
- };
- version = "2.9.9";
- };
- unicode = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1v8kxmq9i85agjpl7pnl72688901xhs8wxhmj6lpy16a8xz3nzxk";
- type = "gem";
- };
- version = "0.4.4.4";
- };
- xapian-ruby = {
- groups = ["default"];
- platforms = [];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1xbarnxmhy6r0rxpspn4wk85j183w6b18nah73djcs06b3gfas15";
- type = "gem";
- };
- version = "1.2.22";
- };
-}
\ No newline at end of file
diff --git a/pkgs/applications/networking/mailreaders/sylpheed/default.nix b/pkgs/applications/networking/mailreaders/sylpheed/default.nix
index 70f74dff309..986ee5fe3c9 100644
--- a/pkgs/applications/networking/mailreaders/sylpheed/default.nix
+++ b/pkgs/applications/networking/mailreaders/sylpheed/default.nix
@@ -7,11 +7,11 @@ assert sslSupport -> openssl != null;
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "sylpheed-${version}";
+ pname = "sylpheed";
version = "3.7.0";
src = fetchurl {
- url = "https://sylpheed.sraoss.jp/sylpheed/v3.7/${name}.tar.xz";
+ url = "https://sylpheed.sraoss.jp/sylpheed/v3.7/${pname}-${version}.tar.xz";
sha256 = "0j9y5vdzch251s264diw9clrn88dn20bqqkwfmis9l7m8vmwasqd";
};
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
index 7f32e45f5d3..680d7652b5a 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/default.nix
@@ -10,7 +10,7 @@
, dbus
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, glibc
, gst-plugins-base
@@ -21,12 +21,15 @@
, libX11
, libXScrnSaver
, libXcomposite
+, libXcursor
, libXdamage
, libXext
, libXfixes
+, libXi
, libXinerama
, libXrender
, libXt
+, libxcb
, libcanberra-gtk2
, libgnome
, libgnomeui
@@ -90,7 +93,7 @@ stdenv.mkDerivation {
dbus
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
glibc
gst-plugins-base
@@ -101,12 +104,15 @@ stdenv.mkDerivation {
libX11
libXScrnSaver
libXcomposite
+ libXcursor
libXdamage
libXext
libXfixes
+ libXi
libXinerama
libXrender
libXt
+ libxcb
libcanberra-gtk2
libgnome
libgnomeui
@@ -153,14 +159,16 @@ stdenv.mkDerivation {
Categories=Application;Network;
EOF
+ # SNAP_NAME: https://github.com/NixOS/nixpkgs/pull/61980
wrapProgram "$out/bin/thunderbird" \
--argv0 "$out/bin/.thunderbird-wrapped" \
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:" \
- --suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS"
+ --suffix XDG_DATA_DIRS : "$XDG_ICON_DIRS" \
+ --set SNAP_NAME "thunderbird"
'';
passthru.updateScript = import ./../../browsers/firefox-bin/update.nix {
- inherit name stdenv writeScript xidel coreutils gnused gnugrep curl gnupg runtimeShell;
+ inherit name writeScript xidel coreutils gnused gnugrep curl gnupg runtimeShell;
baseName = "thunderbird";
channel = "release";
basePath = "pkgs/applications/networking/mailreaders/thunderbird-bin";
diff --git a/pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix b/pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix
index b34fde7b7c1..2de09fc73f4 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird-bin/release_sources.nix
@@ -1,585 +1,615 @@
{
- version = "60.6.0";
+ version = "68.1.0";
sources = [
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ar/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ar/thunderbird-68.1.0.tar.bz2";
locale = "ar";
arch = "linux-x86_64";
- sha512 = "ba14ed80e0b18cc3b40a1bf1810eb67a246f6e995d527e625432eb24dce46bde85dd0dbcac5590d74b8bbb7be900f266b72055349f9b0ea6839fb8d5779aa54d";
+ sha512 = "b9bb22bdbe013358c03e804e3c51ad387dca503b9e0074db70494eb3f331d72bd8679db929972e75b39f2464d384753bcab9947d1a843a69167d7b3706952c35";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ast/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ast/thunderbird-68.1.0.tar.bz2";
locale = "ast";
arch = "linux-x86_64";
- sha512 = "b6ab87d344c3e806a2316022a6c8632dcd9548c745766e136ca9aa70f54fe744587849372fc7426173a91996ff4709aee85f8e5de2565add3bbac58d370e7a96";
+ sha512 = "e00382241343bbd8a86e31dfcf5bbb060b46e5db6211cfa54c7192361353e2c4fe3d0ad3f4e0319ec1a0dc1f4590b7bc0271e5658bc468986d8e27a64d9924da";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/be/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/be/thunderbird-68.1.0.tar.bz2";
locale = "be";
arch = "linux-x86_64";
- sha512 = "2d5f88efb2f6e3be552cb503bfe184a3ad6b395da3139c6c97585f490d9a02c5ce391c0f6b3b1be0505b63f0b8af70da9eca8820b5baefc3dc043a60abb47d5a";
+ sha512 = "f043c8aa5dac0d5e2f9da628d6659f654cc39726677424e4b5e5005e97bf202575f569ebdee346d37cc8d4d59da188e6cfe1bd6bf7df1acafe26b489242b4a9f";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/bg/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/bg/thunderbird-68.1.0.tar.bz2";
locale = "bg";
arch = "linux-x86_64";
- sha512 = "16b7b8d54e200b9156a346a0e4b80cb5c91a0297222a3f4a227770344d6453fea679d7c8a512eb9d879abe262ce34c2dab654cbe60aab13d0cc7919757dcae8d";
+ sha512 = "61fcf864145fb4fd4a05bff47bd23a7be8444f9d067eec246399c3a7ce48db8744ba4a9cb42e28a215a5bb1b336a57c51d1a32e6564f42c8b9fd4dba5f629d9f";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/br/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/br/thunderbird-68.1.0.tar.bz2";
locale = "br";
arch = "linux-x86_64";
- sha512 = "d20854f75f09f95489a1d647bbdeed9062a553dcede68f48672d0a0a82001e283a7d24162a6110ce3efa1a1bdd846ca7fe036c37a20f63bf8dcd54d80a767084";
+ sha512 = "1cdc9b2a8ee82bb087a51ac013644ff3da5f1e161fca23fb24feae8076cef6c5aff5316f83a8ecfa4f08c3a8642501a333d3ef95b46b8f899ce78b79d027af4c";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ca/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ca/thunderbird-68.1.0.tar.bz2";
locale = "ca";
arch = "linux-x86_64";
- sha512 = "8477742f367c2e4206ba61afcef372d39163aeba5e781ea9a089b0d3cf9ef44be8ce6bd3417490616a51aff3152a52eb3599b2acf66e0186e696c9df29b9732b";
+ sha512 = "1b73ca87f3067ec2a84990c7c58060b11286dd653f4b8b4c18a44f5540ea195d25f995539de39b6e1de6cbbe54c890bf30f6d88157e000e30c69f4d32a4ae8f0";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/cs/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/cak/thunderbird-68.1.0.tar.bz2";
+ locale = "cak";
+ arch = "linux-x86_64";
+ sha512 = "1b2ec85786a842c7554f52b1ff72c4e5611a76bca94c4b8e9a79604d6b85d7f2deba906bbeca355dfd0c5a6c241d9bd397f4e0dfebd802cdb0c35162a02fd879";
+ }
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/cs/thunderbird-68.1.0.tar.bz2";
locale = "cs";
arch = "linux-x86_64";
- sha512 = "b434e8763a93df511dcc9c032d11c0a26c7583f7ce01980be63ea453f8d503e703cddca5e5a67db619cb1b9690d0256c91eec8166fff30733186e429d3c513a8";
+ sha512 = "69df6542c5037815d3a80be764eaa809dd351f75417e4362a258df5e17e36aef6d8f8653429f4218f196ff096252e0304c2cca1cccbf8693d119bc05f1072067";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/cy/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/cy/thunderbird-68.1.0.tar.bz2";
locale = "cy";
arch = "linux-x86_64";
- sha512 = "71a6a2642dfce4505ed3b6b551ffdd5c469f1261191b73d3bd09bdf98788297536b3b94dd52327d263d4b1256080ff0317d8e10e09b53871ab805b426892e9a0";
+ sha512 = "5dc63d2746475f0045f7749e45bbc3f755b187521b0ca877ffab9386bb1bbe9b4fd66f9cc6bdac516ba591e71d71f02a75b5c965a610a3efbee3b59815d8deda";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/da/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/da/thunderbird-68.1.0.tar.bz2";
locale = "da";
arch = "linux-x86_64";
- sha512 = "e24c19e5caafd4b4c5081acf700fb175e07c1702da0af111122cf793e4791d38c49902e1b9574ab9606482c539677e6caad2b9f8f655ac0fb24f1b0c8454c456";
+ sha512 = "89427a2b66dbd71cdfbb299a14ce7ed61ab4836e473854ea8b2ec522de64870f8886f6ae86428c9b1c86733aaa4ac7c732a708fccdd70d3e112d2f651c0dc762";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/de/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/de/thunderbird-68.1.0.tar.bz2";
locale = "de";
arch = "linux-x86_64";
- sha512 = "e9ec916a00bfd50745c95ed42976eeb0b9cc314165b6401e24e1433a68fa5591c3020397a0c35566072784e423b42132d4e55dc307a47d34c693d5fe9e3e6380";
+ sha512 = "34130ec994f6ee6a407313ccc61d43b0375046f59f75d4fb619776d5c880993802c16a3b8ec28dc7053b4ae89f91f1c2046da7d884d150aa7c3b65edd1650b21";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/dsb/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/dsb/thunderbird-68.1.0.tar.bz2";
locale = "dsb";
arch = "linux-x86_64";
- sha512 = "4fd72e0ba6982c0aeba4911a626aa7dea2d6678502aec9523efb5e89b613b20b471d50a2667df000541279ff961fc3323ebaa16d3482c2bebcaa33ec849a05d3";
+ sha512 = "0b9c02a1e31f8f3120fb9ed520c53505dc247440ba2e189cbc58569be5ce6e0c33de220ebda17754338aa680cf5c8aac3ad7f5da14e0cbefc29f32db2446618a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/el/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/el/thunderbird-68.1.0.tar.bz2";
locale = "el";
arch = "linux-x86_64";
- sha512 = "bd86c6855ce42bf52ca6822e6fd3cfd7e09c9fd2577407c666b46d84afcf43655f30dc0e3546ae41b84eb5ca7e681072fae90a08de9dd017c3594dea4e5b9bb8";
+ sha512 = "1d8e2efc2c9a7375a2ce0f2137165756800a680209d18612420581963f13774fc7780ac0ccda24a485996531d1e82e027b42a671f1c8fce5e8ccf0887f72ac6f";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/en-GB/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/en-GB/thunderbird-68.1.0.tar.bz2";
locale = "en-GB";
arch = "linux-x86_64";
- sha512 = "47009db4f18cad43a9d4ba20a4edbfbb07cc5222cb65121dfe45eb3c9120fd18277d5601309f9f3f21eebe10fd70201a9d15815fd35ef6f9d3f95360d939a0ec";
+ sha512 = "79684a833afe5d1025088d6f91e023c81832e9df83751926c5d9bc05fecb7f53d6efd096f55d65d45fa07309497cf5bed2e3b00cc4a80cc1e4ed2a0fe44d02a8";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/en-US/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/en-US/thunderbird-68.1.0.tar.bz2";
locale = "en-US";
arch = "linux-x86_64";
- sha512 = "86bfb05041e347430c424652f8fcb102aa44c0bb68bf1b7a55ce888fcefa2ac08f55bb4bcbe7a558aaf3214ae694b97a6805f14de2ce575968fa2a1988e281ba";
+ sha512 = "7a29cf0a238e44a2051b53e5476bc8f622dffd088251b66d951ad6874fba5fba180f440c80c7d5ae154c688d3e29fcc6c889f0031d81a018b7fd1dfd53f112a5";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/es-AR/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/es-AR/thunderbird-68.1.0.tar.bz2";
locale = "es-AR";
arch = "linux-x86_64";
- sha512 = "87a5caeb7d8f8846c52b9a7344260e480efce156239559a890bf5e167939cd35e2223ef4ad2429b196a87ca164b02eb7df3dd03ed1f52f95bf30d75afec40fd8";
+ sha512 = "d9d62f94af40ba69240b792b3ef2d93efef20b01b4289e992f7d1192147029574f86fa21aed5ad54489d1e5ec1f3b80cd9601e71e2ba9c903582ccd7aed278a8";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/es-ES/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/es-ES/thunderbird-68.1.0.tar.bz2";
locale = "es-ES";
arch = "linux-x86_64";
- sha512 = "ec6a17263d696b2fa4195349fd3badaf7ac7dbdf93ee7247a77d27aa13daf5de06db8c2df3449b06e6d28fc032e9c4eeb897be8b1a798e9fb7b68f3c8509d6d8";
+ sha512 = "d720320494b2c8431004e0d1ac24ff8fef83bc0977f44653d0fdab99fbc9a1aee6d5aecd7cbf6002e3746d04156f47aeb57367f2b30f4690efba36c3297fbeb0";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/et/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/et/thunderbird-68.1.0.tar.bz2";
locale = "et";
arch = "linux-x86_64";
- sha512 = "d4591fdc97c5c1654f59116670e8516c12b53311e6f76f13711c04c86cfbf4cbd893a2f5f657b27fc44ad9919e3c0b5192ae98b26281ef4df6863fc522d50a7b";
+ sha512 = "8d9ba13604fab4eb9a3dec8894b04d52f9677d5f82695512680ff03740a66e96786f69476071741c8086a09070fd03786e8fae7f94bb3bec9075331fe4dc144b";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/eu/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/eu/thunderbird-68.1.0.tar.bz2";
locale = "eu";
arch = "linux-x86_64";
- sha512 = "316b4d9d515b23476d29c0136c9981d281f7a3628aacd18f912640a2b6e1d5b53d66d42e9300af6b2cb78e4ada7458d0002c3d4a5ac7f5129db3dd66f4358341";
+ sha512 = "e40110a94b3d7fb42707287dc695ea09b082fa3262d05b39a0c09002c32722630711f1b0131441c919b23130ed133338239060726cfc9d6c0b49822558081313";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/fi/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/fi/thunderbird-68.1.0.tar.bz2";
locale = "fi";
arch = "linux-x86_64";
- sha512 = "944742e4331c7ccbc27d887d9d5702ced9807d743d57e8a14b18f4dd6b2148ed24b295eb498c09d1d54f2f1110abfd9e2acbad83a882189d0d7e5403dbe650b4";
+ sha512 = "d8778ddba26f544a4721b9118ce5726b04fdf09758272b35ca16c14aea61d0b8271888344e742feb4d4e758182e97b01758acd53ad622a66117e3eb0d4a6d336";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/fr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/fr/thunderbird-68.1.0.tar.bz2";
locale = "fr";
arch = "linux-x86_64";
- sha512 = "1dfeaeb5e6985ebd820188721377589ebf4b993337a4231f6d036ae05173e8fb33c17bae76a3982e34a98da934d584d0efec4e01d6045b24345ea66299ecfe19";
+ sha512 = "2cd546d40bedf09b58703b0b11a5c9349d702540ae714942e0152a19cbecee51f37c7e217fadfc719ecfebf914f9ffad6b3070bb6471d395e8f5ff8ada754551";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/fy-NL/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/fy-NL/thunderbird-68.1.0.tar.bz2";
locale = "fy-NL";
arch = "linux-x86_64";
- sha512 = "6e61fc74b45e75170157806c8f358b5236e5de79e1d07db4f7834bebf2b9822d90377334ec1f2cf44a838c52c7135711b5a7036a0336813fe79c7dc3aa43e25e";
+ sha512 = "03f52224f145917f64e8962b68bcf3810543b5bf0508dca7965c5a385c4f87bc7d236dac217594fdd2a10afe31da8aadc674eaf7b226e189b598011a8b9e223a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ga-IE/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ga-IE/thunderbird-68.1.0.tar.bz2";
locale = "ga-IE";
arch = "linux-x86_64";
- sha512 = "7de19973a7e9770cfdd9ff944e9bea8e6755a81e2fd41ce27ff0d16bfe948534294c18f2f7ca05092aa574bea6fadd5a90bb08ca6472c27e7b0cdc6c15d25341";
+ sha512 = "931257466ce7134b9852c2627f34efebc031b3dfc9fb7b5e344665da7fa52ac1fcd12a8848fd9a264a900e98ee3383d3ee6c251de58c1432127a8ce8f1c100e1";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/gd/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/gd/thunderbird-68.1.0.tar.bz2";
locale = "gd";
arch = "linux-x86_64";
- sha512 = "1d5309b6eb47b16b49142ba18de96b285fc0f91a7eb3be5cac576683da37143c1e91318dff4f039119668679acf3c2643bdde9a26788f0bb240cebaa5f907389";
+ sha512 = "ee3573fe9af5fae39aa053061ef82207ae6669e6764637f6ddef5f8ee3cebf362dfecf5cf5e9e208392f3fe79a0c1a56aba28f372e2e279b33a1f1e3a58851f3";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/gl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/gl/thunderbird-68.1.0.tar.bz2";
locale = "gl";
arch = "linux-x86_64";
- sha512 = "ecb09d7d8e6b5705d4c71d306a1556a74f78617520e59f041e3b63a0116f0472717c5f3bb055fda3c5c9fd72b198d997704292f64bc60349ec29efe057c46d52";
+ sha512 = "73ba3965d522aac8f9d5af87856a7e2f71cb7ed850f240be56eab9426f91e5356810a12da7cb91bc223cb14eeae3ecb89a2afeca48641ce4debefdaed05aeed6";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/he/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/he/thunderbird-68.1.0.tar.bz2";
locale = "he";
arch = "linux-x86_64";
- sha512 = "7ced9d95c40376ee1334e5c5cb2bb9fd6e5cefcc26dc134fb5ef71bc20b6476b263ee742d3e0634517ca399c61c776bd7347b58c2c9bd0c395949756d1d0f5af";
+ sha512 = "abd4f47d571037c4340dd3118a517f3421a3e3597efa1ad7ab14cf537d4b4e226144beb0a6c54a45ec272ab428ee8ed95083d31554ef2aa0022712dd832a1585";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/hr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/hr/thunderbird-68.1.0.tar.bz2";
locale = "hr";
arch = "linux-x86_64";
- sha512 = "c9cb6cd5b3d7f1091f55b74af73825d2d0e8b763ffc102a1d49e58b2ac9e6fe2fdd81c1bcf7effd53d86c1ba8f662e3ae0b413ef80bafcb6e2ae64d34c7f3311";
+ sha512 = "32a18d8666fc2b7566807a010d94bf5503b375c5330687aa58efc2bc6464e4f910947ea513a6ebb6b7eadef0e552138a5349583e6894b3166ef6f8d53d5cf67b";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/hsb/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/hsb/thunderbird-68.1.0.tar.bz2";
locale = "hsb";
arch = "linux-x86_64";
- sha512 = "e4f8092eb72e8311459a9232dc55342c2ff61b232d0b3a1be04acde78d7c06f14108f68378de200cadbe58125cddf46fddd421f76ac0d046e1a796fc5277278e";
+ sha512 = "58794aecdb5f3824e94f2bde4e4080d4922648bac632cfdffbc5304329af64f9e5ef01fc587c4e19e88f206004cc4254503513d7bfddecdb6778de89e4ca6bc5";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/hu/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/hu/thunderbird-68.1.0.tar.bz2";
locale = "hu";
arch = "linux-x86_64";
- sha512 = "ba1ca73de9b3b0137e38c10bbf29cd28310a7e2e58804de75247da098401f4b609d414e55a25b9646c16dae353db9d6fd193e437e42b7659d66f0ec9117e8629";
+ sha512 = "c7881770fc75a6b1eecc5c481e2de134a241b7a497e19ff2abf08aaecf65006f054090a53b028202becf7776d3939742fa71156e6761f981ff7a00ca0d1d7d3f";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/hy-AM/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/hy-AM/thunderbird-68.1.0.tar.bz2";
locale = "hy-AM";
arch = "linux-x86_64";
- sha512 = "d5fbb20b9a75be427f1fb2a3c3674397b04793469dc3f493ec9bbf631e83a52573700540832cfe7faf71c16908ee0bc7bcd84b3cbd6e10fde950d477b27bc6dc";
+ sha512 = "80f5fd19da8e07a6d40c19c645eb8fd6964f9904cd14df36374170c4d395146d168728953d1619965f04b3f2295df3d379650e97f8320587816ee088e2f17a9e";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/id/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/id/thunderbird-68.1.0.tar.bz2";
locale = "id";
arch = "linux-x86_64";
- sha512 = "35b1d1db2dc6c38b8d2fce2652857d9251e287acad125ab19c5e20487ac5ee6d4ad01d8f6d6cfc1ed9618cb8a47666d9c64e725b2d1f11894741e8cf99a887f8";
+ sha512 = "efffdd32086ca57e93b1ebcb40484a3c2243d6b088c70d7b20bcdb38925e7fb64be4446c98980a53738f54dadb54a2d17016adc69bd2a47a9719bb7bb982f729";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/is/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/is/thunderbird-68.1.0.tar.bz2";
locale = "is";
arch = "linux-x86_64";
- sha512 = "548170e5b1c2d7c09d4792f012064e5bbb201236768ba92fa318821b83101a395f3a4cd06560db89c23561eda20078921902aaa9b7ecbb201c356149af3d55cc";
+ sha512 = "277d1137675c6304b28f43273c5a3fbcdf0d2188cbaa38911d784df98b3429eb6d2667b818a292e4c3bd4019b2b682463c2d01faa0a034cb4fc1dd49ba8aab33";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/it/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/it/thunderbird-68.1.0.tar.bz2";
locale = "it";
arch = "linux-x86_64";
- sha512 = "026fc8d2b61eaff1f34ce7726923697ba5c7563b65fbb9bbd700e88998d198eee595348cc47135c5dc8589201fcf0d75141acd5d1e49980ccc5c544b545bb424";
+ sha512 = "6932697d769f98dcd32f3dcda57dfa154314e29bfd2c1b11a2b9a8aeb8395f00fdb0d1c71b8e9d405d1540cde21547a910a55024b799e270759d8638a3d11512";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ja/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ja/thunderbird-68.1.0.tar.bz2";
locale = "ja";
arch = "linux-x86_64";
- sha512 = "deb6e23d8c3c700d7de3f433862040ae5db610012cfd4a8faaf239a6429662d625d8a40c583f22797e34afbeec7dd6888a1558155e0878f4a84ea71694cc97ef";
+ sha512 = "034021e89c471429367807f04d79dbe877d0ebc94f584fa6c0bec3a29f279f1d6dfc85f709b26e9d11c8ebcc1f42adb9a458137c032a73ae2b69f7238d31ce76";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/kab/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ka/thunderbird-68.1.0.tar.bz2";
+ locale = "ka";
+ arch = "linux-x86_64";
+ sha512 = "7af1caeda9babac2a4c9b456233e86be32bcd14b6dd81cc18a1874dafe86c5b80099d0ce388a70fe6e74bb7b0d00d3b7ce810ffcbae143eadf6d8c4367567c27";
+ }
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/kab/thunderbird-68.1.0.tar.bz2";
locale = "kab";
arch = "linux-x86_64";
- sha512 = "e6c1dba878c8bfcd4031123f0578512b0cfad675ddfd89859d5ea25b2c112195f788cb1d3e0deec12ca1f052c2c0bfdeda2527402cf0d51f54e781029a6e3b47";
+ sha512 = "d8e7e7d423f36d40ce05cf1378278c47049fca0ba415466028dd821b12970fb78fbadfbb7b7390ec446aede490f07f979b94ef890a43a710e3a1f66a0c68937a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/kk/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/kk/thunderbird-68.1.0.tar.bz2";
locale = "kk";
arch = "linux-x86_64";
- sha512 = "70dd97b4d5db05463deff785fbd9dbdb649c00ec79d8f1cf009ab54961efafc45f12da654367b0df58211a8fe57597cba7743b7557dc121bbf1d838aa692809a";
+ sha512 = "339c8e86693a34c8a2da5e47924e545f0fa55d5314db73c6bb23df3eabed29dd6cf47662a8c4e43c381ede5098aba72887739993b4e71db75e41de3d1d777c3a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ko/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ko/thunderbird-68.1.0.tar.bz2";
locale = "ko";
arch = "linux-x86_64";
- sha512 = "8faf4d44bb882107805c663462170e96593f10e7218fa3a1e244937ee3965901d712c89edf9cbc4fefba85c91662c1a7e2811cf1bc3390377cd8ea3f3c8e29e0";
+ sha512 = "ba80df01778f8fa95dd32bf0af55afe7fa828a489c4682e6a8891636281031170b9fff77ae4f2e4bbaae9124946b0429e55bbed741973d80da868d94e29991e8";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/lt/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/lt/thunderbird-68.1.0.tar.bz2";
locale = "lt";
arch = "linux-x86_64";
- sha512 = "604b8283cce3cddd90ae65be0d32ce7051bbe360fb772e47be60fa3312330d38b46d240b9e61eed3134fadef90aca9ac930ae6512dfdc1343104edff928be54c";
+ sha512 = "32e93ec3203b70c2dced59a376bf7379879b5361f55a396d533e1f10727482b357344c9890864279eff9aa6d75feb1b36a67f2293c51d3a3222183f62c51e477";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ms/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ms/thunderbird-68.1.0.tar.bz2";
locale = "ms";
arch = "linux-x86_64";
- sha512 = "b4af3085260ece6e30b482e9e8335a75298335b0b551a8219bbc04521d41d0088d483134df8801a529934320ab5d51b99b388177b9432b7fdcbd7391ac11b22d";
+ sha512 = "29190352e1bbfe30b1e98d2a7fa20268488d82aefbdb4de1f8c2e197ed9f196be8256050f48d71ec6475b707d93d0570002fb175cd88fac89aca5e7140a7cbfe";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/nb-NO/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/nb-NO/thunderbird-68.1.0.tar.bz2";
locale = "nb-NO";
arch = "linux-x86_64";
- sha512 = "75022e5524379f4683d6e85bfc057480dcc003d421ec256ade11ba9f4eb60b74c65a7131f07987cecd5a13d8e61dbf2c71446e4c2cbfd9efa65a1c86939e82aa";
+ sha512 = "8e076d0967b0b79ac2cc9ade63e1bea4d27db1c050f792f1d1da01758a576fad884fdda32a02d58d45cf4c615f38c44bebc80c6e864ee076212f280398602892";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/nl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/nl/thunderbird-68.1.0.tar.bz2";
locale = "nl";
arch = "linux-x86_64";
- sha512 = "301dfe0a9ce8743703c1f4968bb9bd7b9881a7b70ce1760c12e9a9b2ffe386e8c85406a2b3121981676e4ba2f9ae5a32782857a168965f1fd93530cb22dc3ddd";
+ sha512 = "7bee338542f949d86700d9b67d26c059232ba96cba991e491e6380f1ef914e7ee2747c9c73907e393bcc83c7f05ec6e656d869980c2c03ba0a548ae120793030";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/nn-NO/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/nn-NO/thunderbird-68.1.0.tar.bz2";
locale = "nn-NO";
arch = "linux-x86_64";
- sha512 = "67704f6dc56fb2d396cd5154d32648464cbf331890dfbe30c6870f63d8f26d8f46322c2b2c40cec86fdbd7b93eeacae2551b0e699428749c89acb715bf8d00b2";
+ sha512 = "33b67ce4100a61461a238189e06b623a067e5f1b550fe5f20b5686f597408f3d7eaf45c92bbf5ffe58ff96c99fac9b9e282b024e40829d4d9d4422e54cb7293b";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/pl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/pl/thunderbird-68.1.0.tar.bz2";
locale = "pl";
arch = "linux-x86_64";
- sha512 = "6477cf8274f38d3922edf51e0a419936d2ac494906c06fcf78c99ae95847c2fd4530e03d1574f7ba4b5d1221e98a71bb1a7e3810a1ebcd72c4e412f0e85c3c31";
+ sha512 = "860c606fffb3ae85193b4c919783c94ea1a84c2579316cef98adc247d7d595b01dc6c2e84662641c7285dfc65097f710d7d2605efd960847739ab4acfc296836";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/pt-BR/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/pt-BR/thunderbird-68.1.0.tar.bz2";
locale = "pt-BR";
arch = "linux-x86_64";
- sha512 = "775ccbd6e8adda7318a5ff9d364d6d8b3d8af39208a349f61123550a149c728f7d6248c27b3b4561c8445c1c7c53300579f073b47ba31a52b68a8570515e6329";
+ sha512 = "3093207072a79d9556c4e1ca2fa75d990a3952d583f0a4fe8c850a4911b1af19e3ac08a357d239d66b22c397f6722b8625fee03ca1f2b6a8f21dc61fca348541";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/pt-PT/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/pt-PT/thunderbird-68.1.0.tar.bz2";
locale = "pt-PT";
arch = "linux-x86_64";
- sha512 = "057a2b690dfd529be26ddc225f6f760190315721ef69ab0d9974788b7c00617704af82ec56cbb502a3854945b624896ceb800ba1a31080fe9984fe12af4d301f";
+ sha512 = "5d29ed9a8e8c768a3749801dc191b27aecf7994a4afa02e70de823ed1eabe4e936bd7686830359aa48321681396aff29ead762ab28c7bda6f8aec36117e8cadc";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/rm/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/rm/thunderbird-68.1.0.tar.bz2";
locale = "rm";
arch = "linux-x86_64";
- sha512 = "10c4edf026d5b924d5105201179f8f5f6ecf5917e99efb60c663325ef98e5ba63f965954c93e3962af454111656687abd2be65e0c552617f8fc7eb6ee3b339bf";
+ sha512 = "cf342acfbb9ab92b7bf483ad3227730dc3923ee107ae42a0fb05c6070256e43a4d3c1647c1fa2c4dec7adbc8c018a185bd3d91e598d09eac43ec679d3c25063b";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ro/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ro/thunderbird-68.1.0.tar.bz2";
locale = "ro";
arch = "linux-x86_64";
- sha512 = "d6a4fe46346b6699d570e316c7e97b530100923771d4ab76878dbea959dcd1c34e694c3a968eb786d19be96e0b7757952d47a87bc52f99d078eefc9a2483dd7f";
+ sha512 = "ae13fc229198a5c5327dd4d9d948f1a5eaf699877c48c1c961ca084e79075f479f4b270fed1c9ce22f420fecd4332a30594d4d2dc87bb114d1e3518e3a4a7071";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/ru/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/ru/thunderbird-68.1.0.tar.bz2";
locale = "ru";
arch = "linux-x86_64";
- sha512 = "14b79c2751306b7e66cc3049c0338c16042c60fd707275f25775692b09c28fbd30b46886fdb2c8205de342e29cc0519887f8f92efd369e92a0a94ab33a5cba3a";
+ sha512 = "f51b1f99c16af5f24702f0bfd433c71c7ae899ded5f101aea2dcdc16f1cc9e1b7b18f26a4fd0ca9296c5e9007067e35bd9cc322bddfe07f58795147547fc0c56";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/si/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/si/thunderbird-68.1.0.tar.bz2";
locale = "si";
arch = "linux-x86_64";
- sha512 = "a8781bfe6bf9ceac67bab6e2f2957d61bb5d27292a15ea24776bdd8dda4b7828a350ec8caaae40a894db85b9d9fe4d457172f8dcedd681fa58912eef74ade60a";
+ sha512 = "26bc664b1623523d644ee231666a4489421ba31d1f0b52b5f4a4164343672333070c3781c577e370e7d97d42b61783077c74d1f38d37565776c752a2310c3a1c";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/sk/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/sk/thunderbird-68.1.0.tar.bz2";
locale = "sk";
arch = "linux-x86_64";
- sha512 = "b22ef7083b344f8dec27b09631468c1263cb436479cfffc82b95ec78fc05ef66ec9b133d612dd097f9c24096b9c4e538efde6a88150816268a3a5a2d81a8e1fb";
+ sha512 = "46470afe078d1ef2e48b3732fdc02ff3c9104a727b4d94cae1b9c54f6d2b4771e5784cfb3e6350ab8a205f8ba010a82a2b2fe92313eb351496a19a99df75179a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/sl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/sl/thunderbird-68.1.0.tar.bz2";
locale = "sl";
arch = "linux-x86_64";
- sha512 = "b3a295b4f1a27a75634bae5dbf033973849659bf9dc9fdecf33b90618aa919bf644e2211c789ceefa495cc72e6586ed1db1683658ca88f0fe4cb3ed7a909a208";
+ sha512 = "9bb5b0c979fede4dfdaf8f4965bfed1ad78d14168efb797fc216ac2527434047c3e6b65eb9dd1e607f55b22f6f28e49b0ff58c272c0708cf5ae1f9ce96b2c796";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/sq/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/sq/thunderbird-68.1.0.tar.bz2";
locale = "sq";
arch = "linux-x86_64";
- sha512 = "5f990f0f257d7b096f4310de22a0ea26f27b18e5f7566f3eed45bed66ff89e384f55b7932fd5ce65039077ff902631db3feffce69d2e6a8e13893586759d14b3";
+ sha512 = "440870b75e47aa277c5453bd997709d2f9e59e0aa86e2fa7f5aa95ad39b139d8e9b7b8a7dd44765d8f8d5ec18c5ce6a284ab40d4aca01b251bcd9e2183be4976";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/sr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/sr/thunderbird-68.1.0.tar.bz2";
locale = "sr";
arch = "linux-x86_64";
- sha512 = "71623636dca3b89af58feeb1b998b9bf16c8f8c7ff7c8f273aafc0500ce4b5d4bfae3e997d8669e3075c6586b631df0a613ba062fc4d74cf281f686aa7b18109";
+ sha512 = "bced610dbc95e7cab982f40376fb7cce8e672f8533a66816f01667ba69d73dfcb00e95a80b42273c1ec7ada9cef8c14af1c426cda2f8425e3f77a3a0e393a611";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/sv-SE/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/sv-SE/thunderbird-68.1.0.tar.bz2";
locale = "sv-SE";
arch = "linux-x86_64";
- sha512 = "2e0f6115a0e1b538288594ff47b92b1eb688a26e5f67bb7b83b5c01fe781efe414fc8a9e2c289fd7312026fa1b9bc56588a0c0b25172c35d1e224269a779e40b";
+ sha512 = "af139912f563710b05c274d1b89012e27a3997b582d379e3561011fed7c77994447c3054433e0fd4b5db8417d5b43b63e840d313cef1fc7a8aa7baf0655982e1";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/tr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/tr/thunderbird-68.1.0.tar.bz2";
locale = "tr";
arch = "linux-x86_64";
- sha512 = "fa3aa0c732a4e2feda079d283f6d0f98eb721a88e98a7df70681acb50d525e48af273deb19e6d2e5f41d20fc5daddf0c89c3e6d9ced74ccc34bd75fc12ebf26b";
+ sha512 = "50693e4638f8fea5a7f609924ef65c8d7ea4f4ffff79320651481e1a7f5cdf69edc2fd987137a0d655077959cbd8f32218d2f78fd55790084e2d46d3ecd70cf6";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/uk/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/uk/thunderbird-68.1.0.tar.bz2";
locale = "uk";
arch = "linux-x86_64";
- sha512 = "535fff2ee782b9818f3953314b084f5d63af4457310e8236b5dbe0fb7d0db5ef3c1aa0efbb992ef32ad89cd1df3ad50acae26fc116eae474b6b6970cb1172772";
+ sha512 = "c24943567c110ce8cff6da066d0bd0081621d8c397e6569c57b63eef3098963a55215083aa655fa9c98adf9babfcedecfd72204c1a68604c851e1a5c1a1b0102";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/vi/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/uz/thunderbird-68.1.0.tar.bz2";
+ locale = "uz";
+ arch = "linux-x86_64";
+ sha512 = "e02a86c848a013a84824246db3e29e889e1f5cc1b743a3a9b567b914a46100a808779fc13b897b04e8c698e14cf474fcea907e25e937e5c8b4ccb997f06d8e85";
+ }
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/vi/thunderbird-68.1.0.tar.bz2";
locale = "vi";
arch = "linux-x86_64";
- sha512 = "54bfad80adc5f4a97e5dbb098e4330a7248b650178e9a9f49b2252fe1a15afb7e247f9af29253f59c7ff43e8af67a96f1cf069f3919ecd53ce0ff953e6cb42de";
+ sha512 = "de6d6794796f5b60cfffa9eee92906237fd692b21ffc3925c7866ea9660d26366f5fd3c847b2dfecc418b631c6241dad4e509e58e391c414a37587c6185c2655";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/zh-CN/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/zh-CN/thunderbird-68.1.0.tar.bz2";
locale = "zh-CN";
arch = "linux-x86_64";
- sha512 = "7452bdee386e1e85967d7b88c6f935cb89ba7dece1f39d3b20f24cdd04a99793d3a11c333b76d107fe88d8c4c3eb69947be11792af7f8657515c48eda655d237";
+ sha512 = "d5835538fe615544a07e93a2088b65eae6c3c36b75ca2b9f6605974d929a36dd226d848e2394611809538106f56c1703ebedb5c0776593e998935bd322a4e27d";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-x86_64/zh-TW/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-x86_64/zh-TW/thunderbird-68.1.0.tar.bz2";
locale = "zh-TW";
arch = "linux-x86_64";
- sha512 = "0c1a7048f250bb0f3248ed92ad2e45d3bb01b308eaa6115cde9050253d960b6538467ea6c5754c6f5458035fe31bd2fc529ab423f6ca9da179dfb7f51ef1f612";
+ sha512 = "9dfaa7dc83725fa795cf1b2e45e7af760dc6c38999b05a0968e46d4b5676a4b9f705ebb63ff400ec6600d83a6be26eb4c2638671a539b59b6ea37002ea9b97ac";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ar/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ar/thunderbird-68.1.0.tar.bz2";
locale = "ar";
arch = "linux-i686";
- sha512 = "c04863a1693b2e0567eda646f6364b58cbf959c61045ba1948aebe9f30f63351888cca4a70de4a1655b48ee0407e0c665691c6ffcc2638c18b70046eb04cb02c";
+ sha512 = "17733249e5c2c33899fde89a5b2dea2592fe0414419c235f4d853917990a05664d52a05f1f1a290ece4bdb3646008b0aa0af1e495e5b8af0c08f5b9962bed5aa";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ast/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ast/thunderbird-68.1.0.tar.bz2";
locale = "ast";
arch = "linux-i686";
- sha512 = "ed4c86716aa7ca675577f577f62bf11f025ba96a061e0c89952a99ad5e3ba3e3edb01dd8d428cd0884fdc78127453dcfde0e81ecb4ba3e11e650022f6df07102";
+ sha512 = "95b40d08b988146db7175232c9d9be92175cc3fdd73ba5e205e6543dbdb9e6e33579edeec73b6961a7ace574d3466c162d0665ffbd3705de15b7ea4cf6d7b77d";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/be/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/be/thunderbird-68.1.0.tar.bz2";
locale = "be";
arch = "linux-i686";
- sha512 = "fff19d979335f90004f35646edf2c4ca7f1243a013d79c246db6a0139f787573bd2db2636adf503366a94d44cf8b932d2141ff1df2faced750ac6c604116d6da";
+ sha512 = "d2f4ad38d81306c1637ae8612221bb462409373b3cfa70a08d0f2872aceccd8087835eccc014f4009680e9e36b6cfecc9bcb95328dcb8f6c9ef11c432e2d3c6f";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/bg/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/bg/thunderbird-68.1.0.tar.bz2";
locale = "bg";
arch = "linux-i686";
- sha512 = "afcbb510382a811af5afadf306ce66915f472a3cac62ec2e2ab5930c795fd443600c02743be29db3bbbccf3c9d8507bf54ad0452bd580de4f9db52d5438aa596";
+ sha512 = "f2c74a0609eff929202d13719fce167577b2ae0e1a0c98b75b359bfcddcb531907a466e184ece24d904bd592ab41654f2dcc2500defece0aede3be3826dcc8eb";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/br/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/br/thunderbird-68.1.0.tar.bz2";
locale = "br";
arch = "linux-i686";
- sha512 = "3ca375f94f1f5795b2676d1e8774fc17e3eb0824ceeef6b4598b99f35265806a017e0dfbf2b07f275eae92b68fa975b05cf2d66c6adfd1147399ee7be3df94eb";
+ sha512 = "1f1ff89743c398443a18230ec0eadeb51a8d57633bb7c242f7003e472b0ea206dde50a9d20880ddfbc9ee36a3ca28135662ed21d6e8cb779627120c70f0aedea";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ca/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ca/thunderbird-68.1.0.tar.bz2";
locale = "ca";
arch = "linux-i686";
- sha512 = "75d31ded8c44d8429c58f8c6bc1b5104a4b62a3d0899ac81ba9deb277204290d7ae079e6baf4b243188db7e1050b4a0b9046dd26ca8fa546083fdfbbf724bd01";
+ sha512 = "608232b5bc7a93cd786d84662e59e3b186bb1de51cbe0f720cf4e80e65a93e09a24f06abfba63785c0cdba997a6fa871497998f1953f57a98ea6b9e224235ffe";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/cs/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/cak/thunderbird-68.1.0.tar.bz2";
+ locale = "cak";
+ arch = "linux-i686";
+ sha512 = "5e77fc07093e5b2cbb345f21b48415a5c7d987ab0a82540f398ef33c7051f1917fb448fe23401ec3683c87379aeecb287be5ffcf6a124df9a464401f242d1e3c";
+ }
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/cs/thunderbird-68.1.0.tar.bz2";
locale = "cs";
arch = "linux-i686";
- sha512 = "0ead8f9276a6dcfaf39c1d400c892f95d431cee960c94857cd3e95e6f148571ed946325e6518bcea5821aaeb0e8f8f5dbbdd3970aad9cda549dbfc07eb2392ff";
+ sha512 = "036304985db3ecccbe50a9b3d8c19dcc269f7c6987c1101c9443ea5fb2d14e71390ccdf6f0000c972af631863398a02cba1c05566c6be4ab3e79396c049e0e16";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/cy/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/cy/thunderbird-68.1.0.tar.bz2";
locale = "cy";
arch = "linux-i686";
- sha512 = "fb9d58efc4b0a72a1bbe09624d38b83227c94a2584b4a852b95753d83481b64194e6d14578fe24210581feaf5b8ccf55c530cb3bae606ea6acd39a456a91dcc4";
+ sha512 = "4de3a065234e921f9ae7250409ba24bc54230af61b4993c3686a77e1e165874995f7c60b45ab136c6b3f3047461e86c19207952b870019df06dd164054b65dc2";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/da/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/da/thunderbird-68.1.0.tar.bz2";
locale = "da";
arch = "linux-i686";
- sha512 = "1bf483526e7e52626b6298c93c6586d1973cdd9c3aec660b31550b4658690e8454622276d2bac3b096acceb8e9b41fbf7db735ed8a2c185ee968e489a62ae329";
+ sha512 = "69e190f9263438c88b445821b56b93c052613fd67a1f1918b135c719e4358bea46d3a79bc135d50b254fa686d8cba013daf89d40ccc5212062cb177bdab4d667";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/de/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/de/thunderbird-68.1.0.tar.bz2";
locale = "de";
arch = "linux-i686";
- sha512 = "1bdaf4b2a5ce2b1824250b4fd35695ce9c3be306b8c21d9002995e142f6a655166df15d3f68f80dc0f5963f31e87d01b00ee8c4463c6002df0eb536fc3eb2bfb";
+ sha512 = "ce4cf8c1e11f4813ce173bd08ceed9ef26b2117771ca87ef16c001e1a49f5385a6a3ecf4bf7561d48aa6c7e63d307c2fbde77ef8a51fa0aa9b66f4f98386bff3";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/dsb/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/dsb/thunderbird-68.1.0.tar.bz2";
locale = "dsb";
arch = "linux-i686";
- sha512 = "0b6f71ec6d02f06dde3509fd1fb771a341b12a7a44681d05244aa7ea61726f8f8792ff12a72b0700196162047b23b7a9741a3522519935813b075d617c79490c";
+ sha512 = "9007c92825220ff9685c599b1c6e39fe3e96888621ce5dd15f5ef9d812c09a29ef72a6eb2f68cd8eab78b5519b6c26cc957ed04f3c9798ea0305fa4f5c8bb962";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/el/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/el/thunderbird-68.1.0.tar.bz2";
locale = "el";
arch = "linux-i686";
- sha512 = "bec935b6e469400f7d88fee26dab49c8159dd8a74bd34827122d23276e6b5e837dbedb8281b0a2c1b87e90d2897e2dc15a475ac53bf911f15887280630ef82fa";
+ sha512 = "e619576813260ec68a26226a83a540c58aea7e87d3b0ca35f6ae7bd9e0dcaaf54ab12f57cebf669060191e3affc42df1585a3ce4aa18f82f6afe469b85de495c";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/en-GB/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/en-GB/thunderbird-68.1.0.tar.bz2";
locale = "en-GB";
arch = "linux-i686";
- sha512 = "4e28d8bbc384c98767825e16111d24a96ad2291f40b1eb7b295ab2b7103482a9aa11c00ae5e455ea7e5a7e5d077a4d7c45e6f8890c69e7c7c237909c332bad75";
+ sha512 = "0810f25326d8a08628aa55d5c15e6144f833454019087fa20f2c128bbaa4380f9f2a07714b0d8ac0f3fabb5b6065e7b2efe6e80975e5e47e81749da9f4e6be94";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/en-US/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/en-US/thunderbird-68.1.0.tar.bz2";
locale = "en-US";
arch = "linux-i686";
- sha512 = "6b5619c5a03a4d585b030682fc41069c3ebe3c783578853c3c36c9055fe03c78c782f2621c12a454b4968e5416e01312639ef48047b407558dd6ad85fd81befd";
+ sha512 = "adc1dddf36116435b3948810cd9d647febfc97d62443032100b0f2d722913aa051d44244f057c29cb8c6cf494fc67b3044b83ebfd5eacbc36b6cd9c88361078e";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/es-AR/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/es-AR/thunderbird-68.1.0.tar.bz2";
locale = "es-AR";
arch = "linux-i686";
- sha512 = "9b6828c7c646f0483b758902d2cfd7897649acfc1622d1a338320d0f9a9f52b38dc8734ace3816fd4a116883ff7c9ffdfbae6b93e5070697a108a7df207de1d1";
+ sha512 = "a9433a5de45477f432c6906b640909880650443e5e3a65a839e9c055d887befedc8c22c76675700886dc128ad190fa0ecdbbf2c5f18e650219b33a78105eac63";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/es-ES/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/es-ES/thunderbird-68.1.0.tar.bz2";
locale = "es-ES";
arch = "linux-i686";
- sha512 = "e0a8d2e68602cb5a9c0bca574ff8ed797c0e71a2bd86519e7d7de1ca8fc54316bead8ccc35e7f8dbc26cb11ab76e59076c09e69edb8175947c7c0dfab5758e3f";
+ sha512 = "a128e46d7d2cce449a261f857a221232d2d89a7d999bc074ad5d1aec741f766516f3882cc2603d6284458208c2ed36dcb81e214039222c9c15450e96e73d0283";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/et/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/et/thunderbird-68.1.0.tar.bz2";
locale = "et";
arch = "linux-i686";
- sha512 = "c597b215fb574f948ed3cd169f7fd814a9f23e5c797da8457d9c810097f71b26751b386280cbba2fbf0224d07665c2fa33c3cb19c0fc54bbb0146fa271b25442";
+ sha512 = "521d004b432fd27ed6b167263253b3a3c89aa22ee5e06a4a434da6948a8c2af4fe27e17a1ef962e7caedf7d15ab27b98384545069abfaaf41871cd5878fdbf72";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/eu/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/eu/thunderbird-68.1.0.tar.bz2";
locale = "eu";
arch = "linux-i686";
- sha512 = "9c1dfdeb74e6882689c036995d20ea7d0cbe9f3b406ec15b7a71d1f890cd209d3e7b03f6ce35d778adfcad2dfcfeb20ad55b9888dd222ffdb429166c8ad3a905";
+ sha512 = "df8afc11cddf0c06d05bee455833bc5d786789a709baeade7b64e8f815c42f399fca1442a8b64271fea7e45fed4408ee923293cec953e0406b093f0b94120861";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/fi/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/fi/thunderbird-68.1.0.tar.bz2";
locale = "fi";
arch = "linux-i686";
- sha512 = "fa24033927751c7b1cffbd3e165507d8cc0ef7ac7755f08afe102b9b9a339d0a31b8f738d1bb71bc0a8876f51a1411b4840b033a3716306e5e8a17eb4d7f0382";
+ sha512 = "51e05f21e01dfa0fc3c5d0463d80e87a38e50dff612a7632f9a5cd440f037a438a555e3640cdddd794ebe04eb2cc15c549db7ac829c91ac488b73b66808496a9";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/fr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/fr/thunderbird-68.1.0.tar.bz2";
locale = "fr";
arch = "linux-i686";
- sha512 = "37daee1b1c0f1757a0098806d41bcd71c0dfd700bce2f7da58ec670c58d2b5fefcef2fde102bed7fa6daa62b59404716c26547de54a00eaed6201616c681b5ac";
+ sha512 = "9448860f48fd93383a24fead6af1102af855270749e817f720e2afac152949e47fcc9ce6fd0d2c60d3dd958c855af47a54a38e85975acf05496a7f67d2af72fa";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/fy-NL/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/fy-NL/thunderbird-68.1.0.tar.bz2";
locale = "fy-NL";
arch = "linux-i686";
- sha512 = "85b2a6fa843d5364eaaacbc3399ad4a05169a7c988640f3a120fabe994bca31b0c22019a8537d598a14d33dc75f2037cda5504cb7d72149fec1ff040e1f962bd";
+ sha512 = "e9a27da8b86e2ec3593056a19001dd656b8bde07edc918ec18f266de377c697eb0ea3a10fedb223e58db53ae5970d2b9753b46fa87db938e5568283ba136bd2b";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ga-IE/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ga-IE/thunderbird-68.1.0.tar.bz2";
locale = "ga-IE";
arch = "linux-i686";
- sha512 = "475b766786a50d461ec6896b72c4eef83231f903672d275513c632eb8f4e7e1dd24bc635c18c066fdada4616b99116b3757d59d2718bc8bf21bfa495abea9a5f";
+ sha512 = "b346fe3863ab7944ac33a8204eea7a458a0131c879eae26be66928bed930aa29ba74a5b0e39aa939f0320fb8e5fb0a5e31599235daed526f920b92240763633f";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/gd/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/gd/thunderbird-68.1.0.tar.bz2";
locale = "gd";
arch = "linux-i686";
- sha512 = "d5ee56fd14c4abbf9d3335cd75e284d6c00ed28db74ffd2a726a19dbed21a74e2d97e9dcb63d63bca31f3637380a29f3bdd1280c670e446850ba8d4e98971395";
+ sha512 = "e921a3c2720aad333febe7e1d69579eeda4f641fe32c1b6235fb6c01480ab7c87bcb47020b0dc2e4225746b277d8c6b288aaec86125ad48da9fbe3452f30e01a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/gl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/gl/thunderbird-68.1.0.tar.bz2";
locale = "gl";
arch = "linux-i686";
- sha512 = "262b36a73483dc3a379d416862f6f5c6d685a366f25a2599ba527d28fe0a17da9f3d377c38559a0688cfc5e5927001d3db7db0693fdbae44ba5596ac92c1a72f";
+ sha512 = "dd581aab660e96d7b0283bacab74d5635610301fbf40e95bc85edb5e177492f2a9c786a4fa722024fd57e2f2158fa339c161fba605ae428b5c03fa983b70d176";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/he/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/he/thunderbird-68.1.0.tar.bz2";
locale = "he";
arch = "linux-i686";
- sha512 = "404838f4defcb0da984532ba32740c9919ebf57c9e68137e43b1e40263a4f553a573028bc96c9f056141e405b4528e060ead4e30dcdc365e87069393b0056a5f";
+ sha512 = "2ab68acb57eadab585bedaef3f79369cd7a0c08030d24bc3361a0e08ff796f28f345cae15fbd78bd1fe2c275f8d4fb7058194ef44dcddd3e8f92b69f92482321";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/hr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/hr/thunderbird-68.1.0.tar.bz2";
locale = "hr";
arch = "linux-i686";
- sha512 = "9793e03d4b01c90af721a0197e20ea61c30e09e602321e214674a85ba5366a4eb4a394d0a2347af2a3f8c7f40da2eff50bb25c935db7b59cf573b8e6033469e1";
+ sha512 = "975be725774e200f39b77cbb16ad364fb5d901ef46a85da9f297b61140e5be61cbf48de9f2ea0236d4580a27be97e87c195b92d9286133ac5aac2a35b1b7e5f7";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/hsb/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/hsb/thunderbird-68.1.0.tar.bz2";
locale = "hsb";
arch = "linux-i686";
- sha512 = "bd5be5e781edef1d410ed85552d72449e94b13c28a9943cc64ea4bf8092ed477ad61a39eb956b3ed008168a62206a0684ae8b38f370ac88a3c67df78ed57720d";
+ sha512 = "5d501e9b7a39a518da0a82c1a89f398adaa449753b4dadc6ff8fa610bfc152016e6f70c1a944cc85e72fcaea5aba21a04d5abea2f2e045ca1c9212a37d31c461";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/hu/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/hu/thunderbird-68.1.0.tar.bz2";
locale = "hu";
arch = "linux-i686";
- sha512 = "a5f7e309efb45715dd67b4fb5ee1a88ac4c6ae54d5755c2476cff246d93abca6725116817173c72e701cfd570329f1d84f7732e3eaf3e7fd96e238512298c595";
+ sha512 = "4cf2c82e4d965c3ff51e40823f876811834cf7602d9cca30011346c2bdb6e222b7d37f28db79b6507350cd833db312aaf30c13ae245c93a6b1118d9abb132571";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/hy-AM/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/hy-AM/thunderbird-68.1.0.tar.bz2";
locale = "hy-AM";
arch = "linux-i686";
- sha512 = "145e562fdf0ea143d0c1e9f4581f2b2fc58bf085aa227e4486e780f7da54e7e0b1cce53cfe9dad1ac47aca50beee5e554f3494c7df2e2c240a3a9b350d5f46b8";
+ sha512 = "d13d91b889903bdbbae1e12b96f07bfc6f5a6cb734a45fb87402ac44df9fcca703e067b1d1554a41c9b7e2e31703021eeeedd3ecd8b27536b548a3b2d89a1f27";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/id/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/id/thunderbird-68.1.0.tar.bz2";
locale = "id";
arch = "linux-i686";
- sha512 = "6f865a97783fe0269547981367717de6577780b24eeab33e26a19fc716cd4733cca28b7fab8cb8156b6a04b09e09b75cfca8b43c07aa99088cfe98a96a716361";
+ sha512 = "7c199788cead727742dfebbcdf6ddfe4491be31a3f4dcc7ae05d25413101036cad7fae399f6b390002f55f60214ea66399d5bfdc515557351b309d174b83fa55";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/is/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/is/thunderbird-68.1.0.tar.bz2";
locale = "is";
arch = "linux-i686";
- sha512 = "756301497644e2656a383f0c76a7723b1ce9ab49f760e08cc6f0159c898634664dcf5f92952310c408ecf8818939a25b3b181fd50836d32d017dc4c45b67dc25";
+ sha512 = "33ac7dae65efc4792f92fed4eb0062302ef601f6bceef4d1eaa6b4a7fd75427607e8ebd7f6df70073bcbcc89f057b0689e365cea960428b5e57f9f1e810d6e48";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/it/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/it/thunderbird-68.1.0.tar.bz2";
locale = "it";
arch = "linux-i686";
- sha512 = "4ebfd6d2dd79e238594286412516729b66fa26d99ed3d6a399428bca87f63bd3f329877f70702d1d43229755268b0e9c951c753ce110250e805cdcdf576e0eb1";
+ sha512 = "231acc8648e2e377a8ca6d22c273957506fd1c21f226ddd681fd3a91940cb151df4f0eb05885ec0325629bb0cfdd3ed500af6047970b43b898a37586e4612502";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ja/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ja/thunderbird-68.1.0.tar.bz2";
locale = "ja";
arch = "linux-i686";
- sha512 = "0cbdd253afec94716c0a4ce4131e8260cf7e42d9a7df48210875524ca33d42fc7c011b3b9724b29054844b159896cf9a03fd817af4cfbae9b718777d4f4b278d";
+ sha512 = "90b8ca0d72fef8fbeae34027c95e3391452d72b53b40ecd59b1d2d2b07c6ef2e4d787bb2e927bf3d4b7837ea4cf2f10a0d3ccb0a6c98992e6fd857717c8ab04a";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/kab/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ka/thunderbird-68.1.0.tar.bz2";
+ locale = "ka";
+ arch = "linux-i686";
+ sha512 = "271415dafa136d326b89ea3a58b852e2526c86f45d63f383fa250ace14f71b1b915dac3810a04507d9ca4437c640065520f9f3d9d032cb7eb84aad1f7b3517ba";
+ }
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/kab/thunderbird-68.1.0.tar.bz2";
locale = "kab";
arch = "linux-i686";
- sha512 = "cf363a3e2177d2ac629713674bd22da270887882f21dccefbd6ca30c71f535c5b69fe1c05554fbed95920d4ebc4acc1649a05be1594b1cad5f4b17a7652f3e74";
+ sha512 = "c0b4fe65e9937bf897e7512ff6f267993c324c772232317e1314ce035a282f313b8385eee8c13e7b131eb0fabaa1b62345fbcd6289a5172d78aa3abf7f716bb2";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/kk/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/kk/thunderbird-68.1.0.tar.bz2";
locale = "kk";
arch = "linux-i686";
- sha512 = "77555e556b3d04ebc07390633e4ba3a3fda8c7ca9c8e7a61f522633a20378c857522598a3ad1b3b55e03bff181df615186183947c7770a3afc3df6c18d58446c";
+ sha512 = "b8c7ddd098540ef8354eda1f2a3a06987d11cb7e0c4af4e170d507ec540e743a7d2527188c18e045df99576ed44990a800e7f7ce212042eb03b02339be9f86af";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ko/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ko/thunderbird-68.1.0.tar.bz2";
locale = "ko";
arch = "linux-i686";
- sha512 = "634c0ba3322494670df3c7d14b8866d55f185588d1fe6dde706da86a66481f98deefed6739561f3c0c73ca005e1581d541da773c5d3d7caddd5b49510d9f138e";
+ sha512 = "a33dbf6ef3aef69644261ea1c1cf3986fcda5c9d0b28996c46e3d8e53d3d7f8e9e6b62f1b03f2816267b483a84295ad99e888cf76c5c192e9a9dbadd78ce7d8b";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/lt/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/lt/thunderbird-68.1.0.tar.bz2";
locale = "lt";
arch = "linux-i686";
- sha512 = "9646f54ebabca5e8503d44b099871bfb6345cd4a3fe04ab0211aa8f019800b48faae93eb5565428818c4cf25b8b1e536614f23e4fcac76791c06482aa9fd7396";
+ sha512 = "3bf1cd599707a2728fbf46beadb7d8d1832c0c271e98647ac7d2de1be78b8c1b5d0af4ac246af01eaf4b2a57154f6068065fbbb2019346b663cafeb40edd5b71";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ms/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ms/thunderbird-68.1.0.tar.bz2";
locale = "ms";
arch = "linux-i686";
- sha512 = "ecec0bac0770bd3cad75881266aea00a9ae3c8506a64e000ffb118cc18cb28a3968b9ece10e11bbc4628612065345ab1f58df0df130a2e497809a244049c1774";
+ sha512 = "563c413b21e2fda6f412a1826b1191097d4df1ade8d12e031522e122bedea6ae23a2d3b047e870030c9b4901a5869c9439107d8a7ebc6380c758bd741e0b4128";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/nb-NO/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/nb-NO/thunderbird-68.1.0.tar.bz2";
locale = "nb-NO";
arch = "linux-i686";
- sha512 = "271be3b2bf2424bb149e7f1a1c11564e9b9d849e043a95489a8215a3ce757d032cfce2ff5df1b666fec5cad00b7a540b437d6d0ef33ccec485a0b5b96f61e8bd";
+ sha512 = "c9062949faf5cbfe8bde2b0f330f76b438e1606360364a90f0e35026fd52952d6aff7c6925fd1ce569b24f41409d0b63540dbeb0ae82260604d5faaee723bc2e";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/nl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/nl/thunderbird-68.1.0.tar.bz2";
locale = "nl";
arch = "linux-i686";
- sha512 = "a80e354c855d51fc278fc46e83ad41de079f1aff1fb7d0329eba377c07ecf67621f9c11e2c51760b23aeea4547eacc7916f3092e61009b162283a8f4458b5573";
+ sha512 = "b8b385db8fd2385a88d12c1ba23bf812592beca14e44d9c33456ebad16a40db8e7d886779565a4d617fc56f7a6d651dc8da171b1c727481895d05777bc0eb3c1";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/nn-NO/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/nn-NO/thunderbird-68.1.0.tar.bz2";
locale = "nn-NO";
arch = "linux-i686";
- sha512 = "312414bf118a808ad663807dfab5f69bca61a8f20087cfeac78883a869cd43eb03d5c7dd511a32350c0f59b0e28de7bc1992ce3ba48d8e1b5fe3c2abc09441af";
+ sha512 = "3c88ea8dffc71524402416d9222c859dafc5bd5799651a948bb318a7d2f91ca2c00fa4158e6019949f9a1d72a2d85a0c9d2a3c9a8caf052e8743fcb5dd0dccb6";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/pl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/pl/thunderbird-68.1.0.tar.bz2";
locale = "pl";
arch = "linux-i686";
- sha512 = "4abf25e59400c038e9719200459903e3e113302592bf65d024c1dd05852d51e2969f3f53a33dd55f9d131bcd1405571f713a6dc3165d8af1147616574f4aa5c4";
+ sha512 = "c6ba1f98ebc44af63d8cd8052fd306d3a8920c33eb5b3be563c0fe203d5d07806bc5db7ff88847c3ee2d82c62d0811a086fa91e8253eec3a3977091569f40a20";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/pt-BR/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/pt-BR/thunderbird-68.1.0.tar.bz2";
locale = "pt-BR";
arch = "linux-i686";
- sha512 = "ca38fec5178dfc2f841dea0d30490df8be3e4424a2d94bda1a3cf1cbb1908df90c29adafe3f844ec13f2bf87606fcf20066d3789b29440b55762a9c83ff5bfb9";
+ sha512 = "cbd4c0f1b14cb04b98ef6f2e4ce53d655b58ae9a11047eeb1959ac1c4ef4370507194dd1149372fd1dad4ceedf91c39f3bde4fdf07b5d925f27dc8eb5041be67";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/pt-PT/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/pt-PT/thunderbird-68.1.0.tar.bz2";
locale = "pt-PT";
arch = "linux-i686";
- sha512 = "f8c25a0d9d6a4ca582c7d3593c8a74c1931fdd4a85ca9ac2af0b37efb877ac0232e9188af5cb5985f1a865aabb252b58197cace1f6cff3ce4551b5f4678eea56";
+ sha512 = "ec08c628708a7bbcb00df2122e5fc463e1b0e1c031e9130369ddfee12db3cfe9219f7939756fc47abab8514c6cea642bb653ee420818ad625a33caada7005993";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/rm/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/rm/thunderbird-68.1.0.tar.bz2";
locale = "rm";
arch = "linux-i686";
- sha512 = "ab74f4fa6729d6f7c2f0fb1f99c457ccd65a81be9bb5d7519beef4ec1ddf58c9f51370e7e3fbf71f2a8781f2669b50d20e65e687794b7dfeccb7da99865bd614";
+ sha512 = "4520dfb1529220e40cf2e1aca44cbc2af750fcceee3639d7ef334e9488034b18bc6e73b5b7a37204346da53a44da099f4f7f65d5b3dbdeac6d6934918c02cca3";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ro/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ro/thunderbird-68.1.0.tar.bz2";
locale = "ro";
arch = "linux-i686";
- sha512 = "cb086a6ce3446ee8437c762040b03ee58a3cebd1a0cf473197e7da19d81704bd1ae7cda5d3329e17e76d1f7e682674a12bda3e964fa934fd271d80cfcb5da907";
+ sha512 = "49e54dd1cca8038ab6c34e9980b6b36117aa157b6555ba440f0d7c8c4d909253989b9a50d25c7c18529136fa26d0ff94474d17e43156afba171948c9c05e16a6";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/ru/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/ru/thunderbird-68.1.0.tar.bz2";
locale = "ru";
arch = "linux-i686";
- sha512 = "2334973a52a5e954b082be0bc9921a6034532edf558a2ffc2b1ffaad7d1d8777832cfe21e005290c65f4ed906816243dc3c1a35a5e078f005ebe84f3769cbad0";
+ sha512 = "6d297592bcf0c9b97c40f1053a95385e6c2510aa0ddfafd25085bc6a954fb5460f59f18f65477d8c93af829cd2a053b389b5dcec35a7ac7766d72c29064e5687";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/si/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/si/thunderbird-68.1.0.tar.bz2";
locale = "si";
arch = "linux-i686";
- sha512 = "aa7a52b410a507571551430d538fe4b84efbc57bad8eb89631c2c79f8bd23399a60e8ba8018e9b086d6562ef4e0e96b5f6b912952838ef38507a6eb41e776fe6";
+ sha512 = "f602557748517324943b5ff276f4efdeca1c5083662bc9f0b0bdba8c10510cee834b3883870a98d51d406f58e338a09d0589b3bc0891bfbd88b895cca02fd360";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/sk/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/sk/thunderbird-68.1.0.tar.bz2";
locale = "sk";
arch = "linux-i686";
- sha512 = "4cef3b0059d27313ff35610fc273b7c02faaeb21996a5b62be6cefd0c4b76162fd8a54bae3e2f6527135bfc97ed8133cde34e51505d8abb25d90a03716427370";
+ sha512 = "7b6980d2b5131bd9a43a29efa2f1e97c60e15410a63224d839548d777fd8b4c4d65ccfc7756227cf900f7420b12231c3d48f062133cb6f21bbdcdcdb179f2e47";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/sl/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/sl/thunderbird-68.1.0.tar.bz2";
locale = "sl";
arch = "linux-i686";
- sha512 = "6e4e2771a18bf7af347fff15eb5b5c312b7373d2fa86474317154ed8ae48e996028cda78ad9ac5ad09839af9844039334a25349df2c45c30095606f684b849b4";
+ sha512 = "ecc38fb4fde66b7b213b1cfeb8ab170b3e685d0a28c7e071e19a85509ec74e79fb6eb61104c47f0eef1a77e1e1a52b292469a364747eeccc701c522452c58351";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/sq/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/sq/thunderbird-68.1.0.tar.bz2";
locale = "sq";
arch = "linux-i686";
- sha512 = "eb1d190808ad33b2eecfd8979c3ae669f44c3426bc247781b11698818f1804ba1b28851b7c7f507b676c87d86d89b7f537d378a130997dc21cd8870e070dedcf";
+ sha512 = "3ff668c6ed28bdb2f3d388ab8ecb1bf3b2b38bb29046b8559f7b9f9c6fa32db226c4620f472ba5a982b473e3e3f4aee04aa3746e57738b512dcb37fdfd5ecfc5";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/sr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/sr/thunderbird-68.1.0.tar.bz2";
locale = "sr";
arch = "linux-i686";
- sha512 = "bd46e690c9969d65563075996581c9ff13576143425985764a1fef4d2d6d4bf55cecd1e52b3e7a237b187a9144c928578879737f16c4b59be29120b67b18526d";
+ sha512 = "4c71511375333802f903cb632963933054a969c02a3fb23f4416e0cb3c21e18147bbffb28572f8ac90aa5bc3c4138b25590c42610c20a14b5e8eddb1edf28c28";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/sv-SE/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/sv-SE/thunderbird-68.1.0.tar.bz2";
locale = "sv-SE";
arch = "linux-i686";
- sha512 = "19e859d0f94de0b4cd82fb35a63a32cc9dfe09c74429380c90f749748e17123f161398a465b53aa333c50863a256be99df4029f45d08f80a7695b45883c94799";
+ sha512 = "5d7d569f4eb9ed738f54139a90e9a01e9e771a553af193357d45765bd54815a096ddc31ac69620d6f14516e8f41f1c0fb8f16a848e13273d0c18b9c047d85fb4";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/tr/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/tr/thunderbird-68.1.0.tar.bz2";
locale = "tr";
arch = "linux-i686";
- sha512 = "964a16f7836a1dcfda273db6c65ea22d516722e410ceb961ee8212540837911ba3b156d5c365a7c1a79c7d2239b0df03dc1176a266d09b075c1e5b870a833352";
+ sha512 = "fc8892f85032d9fcce76c3fa971531f4039b8bb9e1812776bb3e7c5b68474543b5db4007f79e81abc1685c74f0574201236aab8a2df05ac10fcaade7c57ca3c2";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/uk/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/uk/thunderbird-68.1.0.tar.bz2";
locale = "uk";
arch = "linux-i686";
- sha512 = "aee1e5a933bcb5238263ebc6ea57e9d3fe851c19c5c017e1e15bbb9e5cf1e9f39edf75b1b908caa4da688e14e41e4318a7fca0c41d045355cdc91b9ef48ba957";
+ sha512 = "80335f326bde31f4b1e269cd756b4b41ff3a632023f09447abf6d1964381f8f9657a4f47ed6af63a3eb0cd4e84e5bced595eec07cc0a9e30ad8d3cf3d08026df";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/vi/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/uz/thunderbird-68.1.0.tar.bz2";
+ locale = "uz";
+ arch = "linux-i686";
+ sha512 = "2434a8a063b0d1019220579bc83160217d5c269b24ad83a9ed0969425a1fc9d9ed8b190c291d87c34379928aa6c2329d3b5ad287b44177dd61f680081cd7caf9";
+ }
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/vi/thunderbird-68.1.0.tar.bz2";
locale = "vi";
arch = "linux-i686";
- sha512 = "dd667bf5db90586bb29c97c8dd3bd0d50c5f4c5f5cbebdfc908dda4a54e72575edcf5d5b8bed97b1b6aa7350ea79c767115137aa6500b263bd5ae80d61efdbc1";
+ sha512 = "0e33f1a2f8cd67bdb523180af0b8afa5fbbb3628b0b9407f2a4ae609c7155b33fd85a1f23d9b74097fefb045fd0b437f58971cc4c4d5f391398d6ea7429b921e";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/zh-CN/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/zh-CN/thunderbird-68.1.0.tar.bz2";
locale = "zh-CN";
arch = "linux-i686";
- sha512 = "f791ad02b1a67ac2906602a3c90238e5e8062fedea5851a790196eb1da0e19174543a7dc00e53460d40a0c39089c109125875fbec458fd65a650ab7d438cafdf";
+ sha512 = "27d1d9b3c30ab1dd863362139f91b79ffb7e36e87ff1f7f07162ea3e86a58962136e43cca3212e4263908f63dfe3a3c53bb3db3085e5b4bf07e0ff88408822d8";
}
- { url = "http://archive.mozilla.org/pub/thunderbird/releases/60.6.0/linux-i686/zh-TW/thunderbird-60.6.0.tar.bz2";
+ { url = "http://archive.mozilla.org/pub/thunderbird/releases/68.1.0/linux-i686/zh-TW/thunderbird-68.1.0.tar.bz2";
locale = "zh-TW";
arch = "linux-i686";
- sha512 = "83cec9f663cd4e02d921f2f96a7dab791cdb015756f63148833491a263abb297bed5ee64101b4ae86ea4a3ed09b75d668bcf36a12563885f3eb164655b3348bd";
+ sha512 = "2141f0ad5d11daf3a94f3a737801ec0234a7f2d869320d4859d771ab92a6e59bf13139b4048a7239640635051a9228e6cbf55746402ed35cb398d93a3d129439";
}
];
}
diff --git a/pkgs/applications/networking/mailreaders/thunderbird/default.nix b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
index 2531e414cc1..1617ccd7dd1 100644
--- a/pkgs/applications/networking/mailreaders/thunderbird/default.nix
+++ b/pkgs/applications/networking/mailreaders/thunderbird/default.nix
@@ -1,12 +1,13 @@
-{ lib, stdenv, fetchurl, pkgconfig, gtk2, pango, perl, python, zip, fetchpatch
+{ lib, stdenv, fetchurl, pkgconfig, gtk2, pango, perl, python2, python3, nodejs
, libIDL, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
, freetype, fontconfig, file, nspr, nss, libnotify
-, yasm, libGLU_combined, sqlite, unzip
-, hunspell, libevent, libstartup_notification
+, yasm, libGLU_combined, sqlite, zip, unzip
+, libevent, libstartup_notification
, icu, libpng, jemalloc
-, autoconf213, which, m4
-, writeScript, xidel, common-updater-scripts, coreutils, gnused, gnugrep, curl, runtimeShell
-, cargo, rustc, llvmPackages
+, autoconf213, which, m4, fetchpatch
+, writeScript, xidel, common-updater-scripts, coreutils, gnused, gnugrep, curl
+, runtimeShell
+, cargo, rustc, rust-cbindgen, llvmPackages, nasm
, enableGTK3 ? false, gtk3, gnome3, wrapGAppsHook, makeWrapper
, enableCalendar ? true
, debugBuild ? false
@@ -23,12 +24,12 @@ let
wrapperTool = if enableGTK3 then wrapGAppsHook else makeWrapper;
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
in stdenv.mkDerivation rec {
- name = "thunderbird-${version}";
- version = "60.6.0";
+ pname = "thunderbird";
+ version = "68.1.0";
src = fetchurl {
url = "mirror://mozilla/thunderbird/releases/${version}/source/thunderbird-${version}.source.tar.xz";
- sha512 = "2s8h6z3rkylrclng1cpmj5dvsbhqymrdwvjy3g2s8rq66xca13wkyswdhgh8671d0dw9bmminikk53d2xqg7lqvvd1rdsminwscln4z";
+ sha512 = "06036nawpm987q33567nhz55qybbcl55h5rdhjbhck5qmyj1qi383xqac5niwyk7c0gaq4ygwc5a24pysf85crjdway2zmqyjxp2apb";
};
# from firefox, but without sound libraries
@@ -39,26 +40,25 @@ in stdenv.mkDerivation rec {
nspr nss libnotify xorg.pixman yasm libGLU_combined
xorg.libXScrnSaver xorg.xorgproto
xorg.libXext sqlite unzip
- hunspell libevent libstartup_notification /* cairo */
- icu libpng jemalloc
+ libevent libstartup_notification /* cairo */
+ icu libpng jemalloc nasm
]
++ lib.optionals enableGTK3 [ gtk3 gnome3.adwaita-icon-theme ];
# from firefox + m4 + wrapperTool
- nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python wrapperTool cargo rustc ];
+ # llvm is for llvm-objdump
+ nativeBuildInputs = [ m4 autoconf213 which gnused pkgconfig perl python2 python3 nodejs wrapperTool cargo rustc rust-cbindgen llvmPackages.llvm ];
patches = [
# Remove buildconfig.html to prevent a dependency on clang etc.
./no-buildconfig.patch
-
- # Needed on older branches since rustc: 1.32.0 -> 1.33.0
- (fetchurl {
- name = "missing-documentation.patch";
- url = "https://aur.archlinux.org/cgit/aur.git/plain/deny_missing_docs.patch"
- + "?h=firefox-esr&id=03bdd01f9cf";
- sha256 = "1i33n3fgwc8d0v7j4qn7lbdax0an6swar12gay3q2nwrhg3ic4fb";
- })
- ];
+ ]
+ ++ lib.optional (lib.versionOlder version "69")
+ (fetchpatch { # https://bugzilla.mozilla.org/show_bug.cgi?id=1500436#c29
+ name = "write_error-parallel_make.diff";
+ url = "https://hg.mozilla.org/mozilla-central/raw-diff/562655fe/python/mozbuild/mozbuild/action/node.py";
+ sha256 = "11d7rgzinb4mwl7yzhidjkajynmxgmffr4l9isgskfapyax9p88y";
+ });
configureFlags =
[ # from firefox, but without sound libraries (alsa, libvpx, pulseaudio)
@@ -76,7 +76,6 @@ in stdenv.mkDerivation rec {
"--with-system-icu"
#"--enable-rust-simd" # not supported since rustc 1.32.0 -> 1.33.0; TODO: probably OK since 68.0.0
"--enable-system-ffi"
- "--enable-system-hunspell"
"--enable-system-pixman"
"--enable-system-sqlite"
#"--enable-system-cairo"
@@ -114,6 +113,9 @@ in stdenv.mkDerivation rec {
configureScript="$(realpath ./configure)"
mkdir ../objdir
cd ../objdir
+
+ # AS=as in the environment causes build failure https://bugzilla.mozilla.org/show_bug.cgi?id=1497286
+ unset AS
'';
dontWrapGApps = true; # we do it ourselves
@@ -134,6 +136,8 @@ in stdenv.mkDerivation rec {
gappsWrapperArgs+=(
--argv0 "$target"
--set MOZ_APP_LAUNCHER thunderbird
+ # https://github.com/NixOS/nixpkgs/pull/61980
+ --set SNAP_NAME "thunderbird"
)
${
# We wrap manually because wrapGAppsHook does not detect the symlink
@@ -201,6 +205,6 @@ in stdenv.mkDerivation rec {
passthru.updateScript = import ./../../browsers/firefox/update.nix {
attrPath = "thunderbird";
baseUrl = "http://archive.mozilla.org/pub/thunderbird/releases/";
- inherit stdenv writeScript lib common-updater-scripts xidel coreutils gnused gnugrep curl runtimeShell;
+ inherit writeScript lib common-updater-scripts xidel coreutils gnused gnugrep curl runtimeShell;
};
}
diff --git a/pkgs/applications/networking/mailreaders/trojita/default.nix b/pkgs/applications/networking/mailreaders/trojita/default.nix
index 2d96d033613..7f7296cd700 100644
--- a/pkgs/applications/networking/mailreaders/trojita/default.nix
+++ b/pkgs/applications/networking/mailreaders/trojita/default.nix
@@ -8,11 +8,11 @@
}:
mkDerivation rec {
- name = "trojita-${version}";
+ pname = "trojita";
version = "0.7";
src = fetchurl {
- url = "mirror://sourceforge/trojita/trojita/${name}.tar.xz";
+ url = "mirror://sourceforge/trojita/trojita/${pname}-${version}.tar.xz";
sha256 = "1n9n07md23ny6asyw0xpih37vlwzp7vawbkprl7a1bqwfa0si3g0";
};
diff --git a/pkgs/applications/networking/modem-manager-gui/default.nix b/pkgs/applications/networking/modem-manager-gui/default.nix
index ca8a4d0fb0c..bfd177cda7a 100644
--- a/pkgs/applications/networking/modem-manager-gui/default.nix
+++ b/pkgs/applications/networking/modem-manager-gui/default.nix
@@ -1,7 +1,22 @@
-{ stdenv, buildEnv, pkgconfig, python3, fetchhg, gtk3, glib, gdbm, gtkspell3, itstool, libappindicator-gtk3, perlPackages, glibcLocales, meson, ninja }:
+{ stdenv
+, pkgconfig
+, python3
+, fetchhg
+, gtk3
+, glib
+, gdbm
+, gtkspell3
+, ofono
+, itstool
+, libappindicator-gtk3
+, perlPackages
+, glibcLocales
+, meson
+, ninja
+}:
stdenv.mkDerivation rec {
- name = "modem-manager-gui-${version}";
+ pname = "modem-manager-gui";
version = "0.0.19.1";
src = fetchhg {
@@ -10,14 +25,11 @@ stdenv.mkDerivation rec {
sha256 = "11iibh36567814h2bz41sa1072b86p1l13xyj670pwkh9k8kw8fd";
};
- LC_ALL = "en_US.utf-8";
-
nativeBuildInputs = [
pkgconfig
python3
perlPackages.Po4a
itstool
- glibcLocales
meson
ninja
];
@@ -27,6 +39,7 @@ stdenv.mkDerivation rec {
glib
gdbm
gtkspell3
+ ofono
libappindicator-gtk3
];
@@ -37,7 +50,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "An app to send/receive SMS, make USSD requests, control mobile data usage and more";
longDescription = ''
- A simple GTK+ based GUI compatible with Modem manager, Wader and oFono
+ A simple GTK based GUI compatible with Modem manager, Wader and oFono
system services able to control EDGE/3G/4G broadband modem specific
functions. You can check balance of your SIM card, send or receive SMS
messages, control mobile traffic consumption and more.
diff --git a/pkgs/applications/networking/mpop/default.nix b/pkgs/applications/networking/mpop/default.nix
index c4dd8e402ec..7d311d4bc70 100644
--- a/pkgs/applications/networking/mpop/default.nix
+++ b/pkgs/applications/networking/mpop/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchurl, openssl, pkgconfig, gnutls, gsasl, libidn, Security }:
+{ stdenv, fetchurl, pkgconfig, gnutls, gsasl, libidn, Security }:
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "mpop";
- version = "1.4.4";
+ version = "1.4.5";
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
- sha256 = "0j21cp8bw12vgfymxi3i4av3j97lrcyb5y9xa3mb59wr17izz73x";
+ sha256 = "1m6743j8g777lijvxqw2wz6pv2g5a9wlh6zq7awk0hvd44xp4sav";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/networking/msmtp/default.nix b/pkgs/applications/networking/msmtp/default.nix
index 940e2d74be4..fc720a047b5 100644
--- a/pkgs/applications/networking/msmtp/default.nix
+++ b/pkgs/applications/networking/msmtp/default.nix
@@ -9,11 +9,11 @@ let
in stdenv.mkDerivation rec {
pname = "msmtp";
- version = "1.8.4";
+ version = "1.8.5";
src = fetchurl {
url = "https://marlam.de/${pname}/releases/${pname}-${version}.tar.xz";
- sha256 = "1xr926lyy44baqdgv9q0sw5z6ll2cb4lx2g4lgpgbqn8bglpzpg5";
+ sha256 = "0fczpfxlr62wkr7bwhp24clxg962k5khgz14h818qyy4v77dl4qn";
};
patches = [
@@ -53,7 +53,7 @@ in stdenv.mkDerivation rec {
description = "Simple and easy to use SMTP client with excellent sendmail compatibility";
homepage = https://marlam.de/msmtp/;
license = licenses.gpl3Plus;
- maintainers = with maintainers; [ garbas peterhoeg ];
+ maintainers = with maintainers; [ peterhoeg ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/networking/msmtp/paths.patch b/pkgs/applications/networking/msmtp/paths.patch
index 38e4155a113..707163bff0c 100644
--- a/pkgs/applications/networking/msmtp/paths.patch
+++ b/pkgs/applications/networking/msmtp/paths.patch
@@ -59,7 +59,8 @@ index bdb4fb8..1363a67 100755
##
log() {
+ local NAME=msmtpq
- local ARG RC PFX="$('date' +'%Y %d %b %H:%M:%S')"
+ local ARG RC PFX
+ PFX="$('date' +'%Y %d %b %H:%M:%S')"
# time stamp prefix - "2008 13 Mar 03:59:45 "
if [ "$1" = '-e' ] ; then # there's an error exit code
@@ -154,10 +157,19 @@ log() {
diff --git a/pkgs/applications/networking/mullvad-vpn/default.nix b/pkgs/applications/networking/mullvad-vpn/default.nix
new file mode 100644
index 00000000000..b0786d742db
--- /dev/null
+++ b/pkgs/applications/networking/mullvad-vpn/default.nix
@@ -0,0 +1,93 @@
+{ stdenv, makeWrapper, fetchurl, dpkg
+, alsaLib, atk, cairo, cups, dbus, expat, fontconfig, freetype
+, gdk-pixbuf, glib, gnome2, pango, nspr, nss, gtk3
+, xorg, autoPatchelfHook, systemd, libnotify
+}:
+
+let deps = [
+ alsaLib
+ atk
+ cairo
+ cups
+ dbus
+ expat
+ fontconfig
+ freetype
+ gdk-pixbuf
+ glib
+ gnome2.GConf
+ pango
+ gtk3
+ libnotify
+ xorg.libX11
+ xorg.libXScrnSaver
+ xorg.libXcomposite
+ xorg.libXcursor
+ xorg.libXdamage
+ xorg.libXext
+ xorg.libXfixes
+ xorg.libXi
+ xorg.libXrandr
+ xorg.libXrender
+ xorg.libXtst
+ xorg.libxcb
+ nspr
+ nss
+ systemd
+ ];
+
+in
+
+stdenv.mkDerivation rec {
+ pname = "mullvad-vpn";
+ version = "2019.7";
+
+ src = fetchurl {
+ url = "https://www.mullvad.net/media/app/MullvadVPN-${version}_amd64.deb";
+ sha256 = "1hjndcdkin98l6jv39r98zfw33qg0gnvlv8q80qsj5x36a19d4v9";
+ };
+
+ nativeBuildInputs = [
+ autoPatchelfHook
+ dpkg
+ ];
+
+ buildInputs = deps;
+
+ dontBuild = true;
+ dontConfigure = true;
+
+ unpackPhase = "dpkg-deb -x $src .";
+
+ runtimeDependencies = [ systemd.lib libnotify ];
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p $out/share/mullvad $out/bin
+
+ mv usr/share/* $out/share
+ mv usr/bin/* $out/bin
+ mv opt/Mullvad\ VPN/* $out/share/mullvad
+
+ sed -i 's|\/opt\/Mullvad.*VPN|'$out'/bin|g' $out/share/applications/mullvad-vpn.desktop
+ sed -i 's|\/opt\/Mullvad.*VPN/resources|'$out'/bin|g' $out/share/mullvad/resources/mullvad-daemon.service
+
+ ln -s $out/share/mullvad/mullvad-vpn $out/bin/mullvad-vpn
+ ln -s $out/share/mullvad/resources/mullvad-daemon $out/bin/mullvad-daemon
+
+ mkdir -p $out/etc/systemd/system
+ ln -s $out/share/mullvad/resources/mullvad-daemon.service $out/etc/systemd/system/mullvad-daemon.service
+
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/mullvad/mullvadvpn-app";
+ description = "Client for Mullvad VPN";
+ changelog = "https://github.com/mullvad/mullvadvpn-app/blob/${version}/CHANGELOG.md";
+ license = licenses.gpl3;
+ platforms = [ "x86_64-linux" ];
+ };
+
+}
diff --git a/pkgs/applications/networking/mumble/default.nix b/pkgs/applications/networking/mumble/default.nix
index 32149368230..6439991920d 100644
--- a/pkgs/applications/networking/mumble/default.nix
+++ b/pkgs/applications/networking/mumble/default.nix
@@ -1,20 +1,20 @@
-{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, makeWrapper, pkgconfig
+{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig
, qt4, qmake4Hook, qt5, avahi, boost, libopus, libsndfile, protobuf3_6, speex, libcap
, alsaLib, python
, jackSupport ? false, libjack2 ? null
, speechdSupport ? false, speechd ? null
, pulseSupport ? false, libpulseaudio ? null
-, iceSupport ? false, zeroc_ice ? null
+, iceSupport ? false, zeroc-ice ? null, zeroc-ice-36 ? null
}:
assert jackSupport -> libjack2 != null;
assert speechdSupport -> speechd != null;
assert pulseSupport -> libpulseaudio != null;
-assert iceSupport -> zeroc_ice != null;
+assert iceSupport -> zeroc-ice != null && zeroc-ice-36 != null;
with stdenv.lib;
let
- generic = overrides: source: stdenv.mkDerivation (source // overrides // {
+ generic = overrides: source: (if source.qtVersion == 5 then qt5.mkDerivation else stdenv.mkDerivation) (source // overrides // {
name = "${overrides.type}-${source.version}";
patches = (source.patches or []) ++ optional jackSupport ./mumble-jack-support.patch;
@@ -26,7 +26,7 @@ let
# protobuf is freezed to 3.6 because of this bug: https://github.com/mumble-voip/mumble/issues/3617
# this could be reverted to the latest version in a future release of mumble as it is already fixed in master
buildInputs = [ boost protobuf3_6 avahi ]
- ++ { qt4 = [ qt4 ]; qt5 = [ qt5.qtbase ]; }."qt${toString source.qtVersion}"
+ ++ optional (source.qtVersion == 4) qt4
++ (overrides.buildInputs or [ ]);
qmakeFlags = [
@@ -41,24 +41,26 @@ let
"CONFIG+=no-bundled-speex"
] ++ optional (!speechdSupport) "CONFIG+=no-speechd"
++ optional jackSupport "CONFIG+=no-oss CONFIG+=no-alsa CONFIG+=jackaudio"
- ++ optional (!iceSupport) "CONFIG+=no-ice"
++ (overrides.configureFlags or [ ]);
preConfigure = ''
- qmakeFlags="$qmakeFlags DEFINES+=PLUGIN_PATH=$out/lib"
+ qmakeFlags="$qmakeFlags DEFINES+=PLUGIN_PATH=$out/lib/mumble"
patchShebangs scripts
'';
makeFlags = [ "release" ];
installPhase = ''
- mkdir -p $out/{lib,bin}
- find release -type f -not -name \*.\* -exec cp {} $out/bin \;
- find release -type f -name \*.\* -exec cp {} $out/lib \;
+ runHook preInstall
+ ${overrides.installPhase}
+
+ # doc stuff
mkdir -p $out/share/man/man1
- cp man/mum* $out/share/man/man1
- '' + (overrides.installPhase or "");
+ install -Dm644 man/mum* $out/share/man/man1/
+
+ runHook postInstall
+ '';
enableParallelBuilding = true;
@@ -74,7 +76,7 @@ let
client = source: generic {
type = "mumble";
- nativeBuildInputs = optionals (source.qtVersion == 5) [ qt5.qttools ];
+ nativeBuildInputs = optional (source.qtVersion == 5) qt5.qttools;
buildInputs = [ libopus libsndfile speex ]
++ optional (source.qtVersion == 5) qt5.qtsvg
++ optional stdenv.isLinux alsaLib
@@ -89,28 +91,40 @@ let
NIX_CFLAGS_COMPILE = optional speechdSupport "-I${speechd}/include/speech-dispatcher";
installPhase = ''
- mkdir -p $out/share/applications
- cp scripts/mumble.desktop $out/share/applications
+ # bin stuff
+ install -Dm755 release/mumble $out/bin/mumble
+ install -Dm755 scripts/mumble-overlay $out/bin/mumble-overlay
- mkdir -p $out/share/icons{,/hicolor/scalable/apps}
- cp icons/mumble.svg $out/share/icons
- ln -s $out/share/icons/mumble.svg $out/share/icons/hicolor/scalable/apps
+ # lib stuff
+ mkdir -p $out/lib/mumble
+ cp -P release/libmumble.so* $out/lib
+ cp -P release/libcelt* $out/lib/mumble
+ cp -P release/plugins/* $out/lib/mumble
+
+ # icons
+ install -Dm644 scripts/mumble.desktop $out/share/applications/mumble.desktop
+ install -Dm644 icons/mumble.svg $out/share/icons/hicolor/scalable/apps/mumble.svg
'';
} source;
- server = generic {
+ server = source: let ice = if source.qtVersion == 4 then zeroc-ice-36 else zeroc-ice; in generic {
type = "murmur";
postPatch = optional iceSupport ''
- grep -Rl '/usr/share/Ice' . | xargs sed -i 's,/usr/share/Ice/,${zeroc_ice}/,g'
+ grep -Rl '/usr/share/Ice' . | xargs sed -i 's,/usr/share/Ice/,${ice.dev}/share/ice/,g'
'';
configureFlags = [
"CONFIG+=no-client"
- ];
+ ] ++ optional (!iceSupport) "CONFIG+=no-ice";
- buildInputs = [ libcap ] ++ optional iceSupport zeroc_ice;
- };
+ buildInputs = [ libcap ] ++ optional iceSupport ice;
+
+ installPhase = ''
+ # bin stuff
+ install -Dm755 release/murmurd $out/bin/murmurd
+ '';
+ } source;
stableSource = rec {
version = "1.2.19";
@@ -138,31 +152,22 @@ let
];
};
- gitSource = rec {
- version = "2018-07-01";
+ rcSource = rec {
+ version = "1.3.0-rc2";
qtVersion = 5;
# Needs submodules
src = fetchFromGitHub {
owner = "mumble-voip";
repo = "mumble";
- rev = "c19ac8c0b0f934d2ff206858d7cb66352d6eb418";
- sha256 = "1mzp1bgn49ycs16d6r8icqq35wq25198fs084vyq6j5f78ni7pvz";
+ rev = version;
+ sha256 = "00irlzz5q4drmsfbwrkyy7p7w8a5fc1ip5vyicq3g3cy58dprpqr";
fetchSubmodules = true;
};
};
in {
mumble = client stableSource;
- mumble_git = client gitSource;
+ mumble_rc = client rcSource;
murmur = server stableSource;
- murmur_git = (server gitSource).overrideAttrs (old: {
- meta = old.meta // { broken = iceSupport; };
-
- nativeBuildInputs = old.nativeBuildInputs or [] ++ [ makeWrapper ];
-
- installPhase = old.installPhase or "" + ''
- wrapProgram $out/bin/murmurd --suffix QT_PLUGIN_PATH : \
- ${getBin qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}
- '';
- });
+ murmur_rc = server rcSource;
}
diff --git a/pkgs/applications/networking/mumble/overlay.nix b/pkgs/applications/networking/mumble/overlay.nix
index 185672a21f8..babb3812bb9 100644
--- a/pkgs/applications/networking/mumble/overlay.nix
+++ b/pkgs/applications/networking/mumble/overlay.nix
@@ -12,10 +12,10 @@ in stdenv.mkDerivation {
installPhase = ''
mkdir -p $out/lib
- ln -s ${mumble}/lib/libmumble.so.1.* $out/lib/libmumble.so.1
+ ln -s ${mumble}/lib/libmumble.so.1.2.* $out/lib/libmumble.so.1
${lib.optionalString (mumble_i686 != null) ''
mkdir -p $out/lib32
- ln -s ${mumble_i686}/lib/libmumble.so.1.* $out/lib32/libmumble.so.1
+ ln -s ${mumble_i686}/lib/libmumble.so.1.2.* $out/lib32/libmumble.so.1
''}
install -Dm755 scripts/mumble-overlay $out/bin/mumble-overlay
sed -i "s,/usr/lib,$out/lib,g" $out/bin/mumble-overlay
diff --git a/pkgs/applications/networking/ndppd/default.nix b/pkgs/applications/networking/ndppd/default.nix
index 6e6315ced7d..42950f23a84 100644
--- a/pkgs/applications/networking/ndppd/default.nix
+++ b/pkgs/applications/networking/ndppd/default.nix
@@ -1,13 +1,13 @@
-{ stdenv, fetchFromGitHub, fetchurl, gzip }:
+{ stdenv, fetchFromGitHub, gzip }:
stdenv.mkDerivation rec {
- name = "ndppd-${version}";
+ pname = "ndppd";
version = "0.2.5";
src = fetchFromGitHub {
owner = "DanielAdolfsson";
repo = "ndppd";
- rev = "${version}";
+ rev = version;
sha256 = "0niri5q9qyyyw5lmjpxk19pv3v4srjvmvyd5k6ks99mvqczjx9c0";
};
@@ -24,12 +24,11 @@ stdenv.mkDerivation rec {
cp ndppd.conf-dist $out/etc/ndppd.conf
'';
- meta = {
+ meta = with stdenv.lib; {
description = "A daemon that proxies NDP (Neighbor Discovery Protocol) messages between interfaces";
homepage = https://github.com/DanielAdolfsson/ndppd;
- license = stdenv.lib.licenses.gpl3;
-
- platforms = stdenv.lib.platforms.linux;
- maintainers = [ stdenv.lib.maintainers.fadenb ];
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ fadenb globin ];
};
}
diff --git a/pkgs/applications/networking/netperf/default.nix b/pkgs/applications/networking/netperf/default.nix
index b89173820ee..c2a84971bc2 100644
--- a/pkgs/applications/networking/netperf/default.nix
+++ b/pkgs/applications/networking/netperf/default.nix
@@ -1,7 +1,7 @@
{ libsmbios, stdenv, autoreconfHook, fetchFromGitHub }:
-stdenv.mkDerivation rec {
- name = "netperf-${version}";
+stdenv.mkDerivation {
+ pname = "netperf";
version = "20180613";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/newsreaders/pan/default.nix b/pkgs/applications/networking/newsreaders/pan/default.nix
index 308c857644e..3f90f65476e 100644
--- a/pkgs/applications/networking/newsreaders/pan/default.nix
+++ b/pkgs/applications/networking/newsreaders/pan/default.nix
@@ -1,6 +1,6 @@
{ spellChecking ? true
, stdenv, fetchurl, pkgconfig, gtk3, gtkspell3 ? null
-, perl, gmime2, gettext, intltool, itstool, libxml2, dbus-glib, libnotify, gnutls
+, gmime2, gettext, intltool, itstool, libxml2, libnotify, gnutls
, makeWrapper, gnupg
, gnomeSupport ? true, libsecret, gcr
}:
@@ -10,7 +10,8 @@ assert spellChecking -> gtkspell3 != null;
let version = "0.145"; in
stdenv.mkDerivation {
- name = "pan-${version}";
+ pname = "pan";
+ inherit version;
src = fetchurl {
url = "http://pan.rebelbase.com/download/releases/${version}/source/pan-${version}.tar.bz2";
@@ -37,7 +38,7 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
meta = {
- description = "A GTK+-based Usenet newsreader good at both text and binaries";
+ description = "A GTK-based Usenet newsreader good at both text and binaries";
homepage = http://pan.rebelbase.com/;
maintainers = [ stdenv.lib.maintainers.eelco ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/applications/networking/newsreaders/quiterss/default.nix b/pkgs/applications/networking/newsreaders/quiterss/default.nix
index b0bc5edba84..3a72ae8ce5f 100644
--- a/pkgs/applications/networking/newsreaders/quiterss/default.nix
+++ b/pkgs/applications/networking/newsreaders/quiterss/default.nix
@@ -1,26 +1,21 @@
-{ stdenv, fetchFromGitHub, qmake, pkgconfig, makeWrapper
+{ stdenv, fetchFromGitHub, qmake, pkgconfig, wrapQtAppsHook
, qtbase, qttools, qtwebkit, sqlite
}:
stdenv.mkDerivation rec {
- name = "quiterss-${version}";
+ pname = "quiterss";
version = "0.18.12";
src = fetchFromGitHub {
owner = "QuiteRSS";
repo = "quiterss";
- rev = "${version}";
+ rev = version;
sha256 = "0xav9qr8n6310636nfbgx4iix65fs3ya5rz2isxsf38bkjm7r3pa";
};
- nativeBuildInputs = [ qmake pkgconfig makeWrapper ];
+ nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
buildInputs = [ qtbase qttools qtwebkit sqlite.dev ];
- postFixup = ''
- wrapProgram $out/bin/quiterss \
- --prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
- '';
-
meta = with stdenv.lib; {
description = "A Qt-based RSS/Atom news feed reader";
longDescription = ''
diff --git a/pkgs/applications/networking/newsreaders/slrn/default.nix b/pkgs/applications/networking/newsreaders/slrn/default.nix
index 9f775f0db65..e8fff0deddf 100644
--- a/pkgs/applications/networking/newsreaders/slrn/default.nix
+++ b/pkgs/applications/networking/newsreaders/slrn/default.nix
@@ -1,14 +1,13 @@
{ stdenv, fetchurl
, slang, ncurses, openssl }:
-let version = "1.0.2"; in
-
-stdenv.mkDerivation {
- name = "slrn-${version}";
+stdenv.mkDerivation rec {
+ pname = "slrn";
+ version = "1.0.3a";
src = fetchurl {
- url = "http://www.jedsoft.org/releases/slrn/slrn-${version}.tar.gz";
- sha256 = "1gn6m2zha2nnnrh9lz3m3nrqk6fgfij1wc53pg25j7sdgvlziv12";
+ url = "http://www.jedsoft.org/releases/slrn/slrn-${version}.tar.bz2";
+ sha256 = "1b1d9iikr60w0vq86y9a0l4gjl0jxhdznlrdp3r405i097as9a1v";
};
preConfigure = ''
diff --git a/pkgs/applications/networking/nextcloud-client/0001-Explicitly-copy-dbus-files-into-the-store-dir.patch b/pkgs/applications/networking/nextcloud-client/0001-Explicitly-copy-dbus-files-into-the-store-dir.patch
new file mode 100644
index 00000000000..ab7cb9bffa4
--- /dev/null
+++ b/pkgs/applications/networking/nextcloud-client/0001-Explicitly-copy-dbus-files-into-the-store-dir.patch
@@ -0,0 +1,25 @@
+From bbd366348d1f0e334d4604d04e293a046070e666 Mon Sep 17 00:00:00 2001
+From: Maximilian Bosch
+Date: Fri, 23 Aug 2019 00:19:20 +0200
+Subject: [PATCH] Explicitly copy dbus files into the store dir
+
+---
+ shell_integration/libcloudproviders/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/shell_integration/libcloudproviders/CMakeLists.txt b/shell_integration/libcloudproviders/CMakeLists.txt
+index 1f35335..7f76951 100644
+--- a/shell_integration/libcloudproviders/CMakeLists.txt
++++ b/shell_integration/libcloudproviders/CMakeLists.txt
+@@ -19,7 +19,7 @@ MACRO(PKGCONFIG_GETVAR _package _var _output_variable)
+ ENDMACRO(PKGCONFIG_GETVAR _package _var _output_variable)
+
+ macro(dbus_add_activation_service _sources)
+- PKGCONFIG_GETVAR(dbus-1 session_bus_services_dir _install_dir)
++ set(_install_dir "${CMAKE_INSTALL_DATADIR}/dbus-1/service")
+ foreach (_i ${_sources})
+ get_filename_component(_service_file ${_i} ABSOLUTE)
+ string(REGEX REPLACE "\\.service.*$" ".service" _output_file ${_i})
+--
+2.19.2
+
diff --git a/pkgs/applications/networking/nextcloud-client/default.nix b/pkgs/applications/networking/nextcloud-client/default.nix
index 0bf2cfce6e4..6f7f47bdcfa 100644
--- a/pkgs/applications/networking/nextcloud-client/default.nix
+++ b/pkgs/applications/networking/nextcloud-client/default.nix
@@ -1,46 +1,63 @@
-{ stdenv, fetchgit, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, qttools, sqlite
-, inotify-tools, makeWrapper, openssl_1_1, pcre, qtwebengine, libsecret, fetchpatch
+{ lib
+, mkDerivation
+, fetchFromGitHub
+, cmake
+, inotify-tools
, libcloudproviders
+, libsecret
+, openssl
+, pcre
+, pkgconfig
+, qtbase
+, qtkeychain
+, qttools
+, qtwebengine
+, qtwebkit
+, sqlite
}:
-stdenv.mkDerivation rec {
- name = "nextcloud-client-${version}";
- version = "2.5.2";
+mkDerivation rec {
+ pname = "nextcloud-client";
+ version = "2.5.3";
- src = fetchgit {
- url = "git://github.com/nextcloud/desktop.git";
- rev = "refs/tags/v${version}";
- sha256 = "1brpxdgyy742dqw6cyyv2257d6ihwiqhbzfk2hb8zjgbi6p9lhsr";
- fetchSubmodules = true;
+ src = fetchFromGitHub {
+ owner = "nextcloud";
+ repo = "desktop";
+ rev = "v${version}";
+ sha256 = "1pzlq507fasf2ljf37gkw00qrig4w2r712rsy05zfwlncgcn7fnw";
};
- nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
-
- buildInputs = [ qtbase qtwebkit qtkeychain qttools qtwebengine sqlite openssl_1_1.out pcre inotify-tools libcloudproviders ];
-
- enableParallelBuilding = true;
-
- NIX_LDFLAGS = "${openssl_1_1.out}/lib/libssl.so ${openssl_1_1.out}/lib/libcrypto.so";
-
- cmakeFlags = [
- "-UCMAKE_INSTALL_LIBDIR"
- "-DCMAKE_BUILD_TYPE=Release"
- "-DOPENSSL_LIBRARIES=${openssl_1_1.out}/lib"
- "-DOPENSSL_INCLUDE_DIR=${openssl_1_1.dev}/include"
- "-DINOTIFY_LIBRARY=${inotify-tools}/lib/libinotifytools.so"
- "-DINOTIFY_INCLUDE_DIR=${inotify-tools}/include"
+ patches = [
+ ./0001-Explicitly-copy-dbus-files-into-the-store-dir.patch
];
- postInstall = ''
- sed -i 's/\(Icon.*\)=nextcloud/\1=Nextcloud/g' \
- $out/share/applications/nextcloud.desktop
+ nativeBuildInputs = [
+ pkgconfig
+ cmake
+ ];
- wrapProgram "$out/bin/nextcloud" \
- --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ libsecret ]} \
- --prefix QT_PLUGIN_PATH : ${qtbase}/${qtbase.qtPluginPrefix}
- '';
+ buildInputs = [
+ inotify-tools
+ libcloudproviders
+ openssl
+ pcre
+ qtbase
+ qtkeychain
+ qttools
+ qtwebengine
+ qtwebkit
+ sqlite
+ ];
- meta = with stdenv.lib; {
+ qtWrapperArgs = [
+ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}"
+ ];
+
+ cmakeFlags = [
+ "-DCMAKE_INSTALL_LIBDIR=lib" # expected to be prefix-relative by build code setting RPATH
+ ];
+
+ meta = with lib; {
description = "Nextcloud themed desktop client";
homepage = https://nextcloud.com;
license = licenses.gpl2;
diff --git a/pkgs/applications/networking/nload/default.nix b/pkgs/applications/networking/nload/default.nix
index 2c16fabc5c4..16cc0e3d50a 100644
--- a/pkgs/applications/networking/nload/default.nix
+++ b/pkgs/applications/networking/nload/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.7.4";
- name = "nload-${version}";
+ pname = "nload";
src = fetchurl {
- url = "http://www.roland-riegel.de/nload/${name}.tar.gz";
+ url = "http://www.roland-riegel.de/nload/${pname}-${version}.tar.gz";
sha256 = "1rb9skch2kgqzigf19x8bzk211jdfjfdkrcvaqyj89jy2pkm3h61";
};
diff --git a/pkgs/applications/networking/nntp-proxy/default.nix b/pkgs/applications/networking/nntp-proxy/default.nix
index 8795f32e829..96bdc0b1dfa 100644
--- a/pkgs/applications/networking/nntp-proxy/default.nix
+++ b/pkgs/applications/networking/nntp-proxy/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libconfig, pkgconfig, libevent, openssl }:
-stdenv.mkDerivation rec {
- name = "nntp-proxy-${version}";
+stdenv.mkDerivation {
+ pname = "nntp-proxy";
version = "2014-01-06";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/omping/default.nix b/pkgs/applications/networking/omping/default.nix
index 1e127c1b1ec..dc52d767438 100644
--- a/pkgs/applications/networking/omping/default.nix
+++ b/pkgs/applications/networking/omping/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation rec {
- name = "omping-${version}";
+ pname = "omping";
version = "0.0.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/ostinato/default.nix b/pkgs/applications/networking/ostinato/default.nix
index 962f10a99c0..3f48601d96f 100644
--- a/pkgs/applications/networking/ostinato/default.nix
+++ b/pkgs/applications/networking/ostinato/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "ostinato-${version}";
+ pname = "ostinato";
version = "0.9";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/owamp/default.nix b/pkgs/applications/networking/owamp/default.nix
index 9ed532acfe1..4dad5f4d6bd 100644
--- a/pkgs/applications/networking/owamp/default.nix
+++ b/pkgs/applications/networking/owamp/default.nix
@@ -2,7 +2,7 @@
, autoconf, automake, mandoc }:
stdenv.mkDerivation rec {
- name = "owamp-${version}";
+ pname = "owamp";
version = "3.5.6";
buildInputs = [ autoconf automake mandoc ];
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/owncloud-client/default.nix b/pkgs/applications/networking/owncloud-client/default.nix
index 8ced53c972b..7907365a6a3 100644
--- a/pkgs/applications/networking/owncloud-client/default.nix
+++ b/pkgs/applications/networking/owncloud-client/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, pkgconfig, qtbase, qtwebkit, qtkeychain, sqlite }:
stdenv.mkDerivation rec {
- name = "owncloud-client-${version}";
+ pname = "owncloud-client";
version = "2.5.4.11654";
src = fetchurl {
diff --git a/pkgs/applications/networking/p2p/deluge/default.nix b/pkgs/applications/networking/p2p/deluge/default.nix
index f58f7e04e00..63218f1c2ff 100644
--- a/pkgs/applications/networking/p2p/deluge/default.nix
+++ b/pkgs/applications/networking/p2p/deluge/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, fetchpatch, intltool, libtorrentRasterbar, pythonPackages }:
pythonPackages.buildPythonPackage rec {
- name = "deluge-${version}";
+ pname = "deluge";
version = "1.3.15";
src = fetchurl {
- url = "http://download.deluge-torrent.org/source/${name}.tar.bz2";
+ url = "http://download.deluge-torrent.org/source/${pname}-${version}.tar.bz2";
sha256 = "1467b9hmgw59gf398mhbf40ggaka948yz3afh6022v753c9j7y6w";
};
@@ -19,7 +19,7 @@ pythonPackages.buildPythonPackage rec {
propagatedBuildInputs = with pythonPackages; [
pyGtkGlade twisted Mako chardet pyxdg pyopenssl service-identity
- libtorrentRasterbar.dev libtorrentRasterbar.python
+ libtorrentRasterbar.dev libtorrentRasterbar.python setuptools
];
nativeBuildInputs = [ intltool ];
diff --git a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
index db30da82bdb..77aee30d38b 100644
--- a/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
+++ b/pkgs/applications/networking/p2p/eiskaltdcpp/default.nix
@@ -2,7 +2,7 @@
, fetchpatch, libiconv, pcre-cpp, libidn, lua5, miniupnpc, aspell, gettext }:
stdenv.mkDerivation rec {
- name = "eiskaltdcpp-${version}";
+ pname = "eiskaltdcpp";
version = "2.2.10";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/p2p/freenet/default.nix b/pkgs/applications/networking/p2p/freenet/default.nix
index d674c70e4c2..24435288488 100644
--- a/pkgs/applications/networking/p2p/freenet/default.nix
+++ b/pkgs/applications/networking/p2p/freenet/default.nix
@@ -18,7 +18,8 @@ let
version = "build01475";
freenet-jars = stdenv.mkDerivation {
- name = "freenet-jars-${version}";
+ pname = "freenet-jars";
+ inherit version;
src = fetchFromGitHub {
owner = "freenet";
diff --git a/pkgs/applications/networking/p2p/frostwire/default.nix b/pkgs/applications/networking/p2p/frostwire/default.nix
index 40ff91e792b..0449540eaff 100644
--- a/pkgs/applications/networking/p2p/frostwire/default.nix
+++ b/pkgs/applications/networking/p2p/frostwire/default.nix
@@ -85,7 +85,7 @@ in stdenv.mkDerivation {
'';
meta = with stdenv.lib; {
- homepage = http://www.frostwire.com/;
+ homepage = https://www.frostwire.com/;
description = "BitTorrent Client and Cloud File Downloader";
license = licenses.gpl2;
maintainers = with maintainers; [ gavin ];
diff --git a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix
index 1d98bf77675..5488baddef4 100644
--- a/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix
+++ b/pkgs/applications/networking/p2p/frostwire/frostwire-bin.nix
@@ -4,7 +4,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "6.7.4";
- name = "frostwire-${version}";
+ pname = "frostwire";
src = fetchurl {
url = "https://dl.frostwire.com/frostwire/${version}/frostwire-${version}.noarch.tar.gz";
diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix
index 715d8e13ec3..eaa6b07c8fa 100644
--- a/pkgs/applications/networking/p2p/gnunet/default.nix
+++ b/pkgs/applications/networking/p2p/gnunet/default.nix
@@ -1,20 +1,24 @@
{ stdenv, fetchurl, adns, curl, gettext, gmp, gnutls, libextractor
, libgcrypt, libgnurl, libidn, libmicrohttpd, libtool, libunistring
, makeWrapper, ncurses, pkgconfig, libxml2, sqlite, zlib
-, libpulseaudio, libopus, libogg }:
+, libpulseaudio, libopus, libogg, jansson }:
stdenv.mkDerivation rec {
- name = "gnunet-0.11.0";
+ pname = "gnunet";
+ version = "0.11.6";
src = fetchurl {
- url = "mirror://gnu/gnunet/${name}.tar.gz";
- sha256 = "16kydkrjlf2vxflgls46bwaf9kjczf621p456q0qlphd7cy7lixp";
+ url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz";
+ sha256 = "1gspr1lh885sb9r2anh7bi4zan3zjqx33lpyhq9hm2g0n5ip187q";
};
+ enableParallelBuilding = true;
+
+ nativeBuildInputs = [ pkgconfig libtool makeWrapper ];
buildInputs = [
- adns curl gettext gmp gnutls libextractor libgcrypt libgnurl libidn
- libmicrohttpd libtool libunistring libxml2 makeWrapper ncurses
- pkgconfig sqlite zlib libpulseaudio libopus libogg
+ adns curl gmp gnutls libextractor libgcrypt libgnurl libidn
+ libmicrohttpd libunistring libxml2 ncurses gettext
+ sqlite zlib libpulseaudio libopus libogg jansson
];
preConfigure = ''
@@ -29,26 +33,18 @@ stdenv.mkDerivation rec {
find . \( -iname \*test\*.c -or -name \*.conf \) | \
xargs sed -ie "s|/tmp|$TMPDIR|g"
- # Ensure NSS installation works fine
- configureFlags="$configureFlags --with-nssdir=$out/lib"
- patchShebangs src/gns/nss/install-nss-plugin.sh
-
sed -ie 's|@LDFLAGS@|@LDFLAGS@ $(Z_LIBS)|g' \
src/regex/Makefile.in \
src/fs/Makefile.in
'';
+ # unfortunately, there's still a few failures with impure tests
doCheck = false;
-
- /* FIXME: Tests must be run this way, but there are still a couple of
- failures.
-
- postInstall =
- '' export GNUNET_PREFIX="$out"
- export PATH="$out/bin:$PATH"
- make -k check
- '';
- */
+ checkPhase = ''
+ export GNUNET_PREFIX="$out"
+ export PATH="$out/bin:$PATH"
+ make -k check
+ '';
meta = with stdenv.lib; {
description = "GNU's decentralized anonymous and censorship-resistant P2P framework";
@@ -69,9 +65,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://gnunet.org/;
-
license = licenses.gpl2Plus;
-
maintainers = with maintainers; [ vrthra ];
platforms = platforms.gnu ++ platforms.linux;
};
diff --git a/pkgs/applications/networking/p2p/gnunet/git.nix b/pkgs/applications/networking/p2p/gnunet/git.nix
index 9428b276458..c9e2f8f6714 100644
--- a/pkgs/applications/networking/p2p/gnunet/git.nix
+++ b/pkgs/applications/networking/p2p/gnunet/git.nix
@@ -7,7 +7,7 @@
let
rev = "ce2864cfaa27e55096b480bf35db5f8cee2a5e7e";
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "gnunet-git-${rev}";
src = fetchgit {
diff --git a/pkgs/applications/networking/p2p/ktorrent/default.nix b/pkgs/applications/networking/p2p/ktorrent/default.nix
index c66c3ca05a4..535991312f1 100644
--- a/pkgs/applications/networking/p2p/ktorrent/default.nix
+++ b/pkgs/applications/networking/p2p/ktorrent/default.nix
@@ -6,12 +6,12 @@
}:
stdenv.mkDerivation rec {
- name = "ktorrent-${version}";
- version = "${libktorrent.mainVersion}.0";
+ pname = "ktorrent";
+ version = "${libktorrent.mainVersion}";
src = fetchurl {
- url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${name}.tar.xz";
- sha256 = "18w6qh09k84qpzaxxb76a4g59k4mx5wk897vqp1wwv80g0pqhmrw";
+ url = "mirror://kde/stable/ktorrent/${libktorrent.mainVersion}/${pname}-${version}.tar.xz";
+ sha256 = "0kwd0npxfg4mdh7f3xadd2zjlqalpb1jxk61505qpcgcssijf534";
};
nativeBuildInputs = [ cmake kdoctools extra-cmake-modules ];
@@ -22,24 +22,6 @@ stdenv.mkDerivation rec {
libktorrent taglib libgcrypt kplotting
];
- patches = [
- # Fix build with CMake 3.11
- (fetchpatch {
- url = "https://cgit.kde.org/ktorrent.git/patch/?id=672c5076de7e3a526d9bdbb484a69e9386bc49f8";
- sha256 = "1cn4rnbhadrsxqx50fawpd747azskavbjraygr6s11rh1wbfrxid";
- })
-
- # Fix build against Qt 5.11
- (fetchpatch {
- url = "https://cgit.kde.org/ktorrent.git/patch/?id=7876857d204188016a135a25938d9f8530fba4e8";
- sha256 = "1wnmfzkhf6y7fd0z2djwphs6i9lsg7fcrj8fqmbyi0j57dvl9gxl";
- })
- (fetchpatch {
- url = "https://cgit.kde.org/ktorrent.git/patch/?id=36d112e56e56541d439326a267eb906da8b3ee60";
- sha256 = "1d41pqniljhwqs6awa644s6ks0zwm9sr0hpfygc63wyxnpcrsw2y";
- })
- ];
-
enableParallelBuilding = true;
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/p2p/magnetico/default.nix b/pkgs/applications/networking/p2p/magnetico/default.nix
new file mode 100644
index 00000000000..1c266d247b7
--- /dev/null
+++ b/pkgs/applications/networking/p2p/magnetico/default.nix
@@ -0,0 +1,33 @@
+{ lib, fetchFromGitHub, buildGoModule, go-bindata }:
+
+buildGoModule rec {
+ pname = "magnetico";
+ version = "0.8.1";
+
+ src = fetchFromGitHub {
+ owner = "boramalper";
+ repo = "magnetico";
+ rev = "v${version}";
+ sha256 = "1f7y3z9ql079ix6ycihkmd3z3da3sfiqw2fap31pbvvjs65sg644";
+ };
+
+ modSha256 = "1h9fij8mxlxfw7kxix00n10fkhkvmf8529fxbk1n30cxc1bs2szf";
+
+ buildInputs = [ go-bindata ];
+ buildPhase = ''
+ make magneticow magneticod
+ '';
+
+ doCheck = true;
+ checkPhase = ''
+ make test
+ '';
+
+ meta = with lib; {
+ description = "Autonomous (self-hosted) BitTorrent DHT search engine suite.";
+ homepage = https://github.com/boramalper/magnetico;
+ license = licenses.agpl3;
+ badPlatforms = platforms.darwin;
+ maintainers = with maintainers; [ rnhmjoj ];
+ };
+}
diff --git a/pkgs/applications/networking/p2p/mldonkey/default.nix b/pkgs/applications/networking/p2p/mldonkey/default.nix
index 629e748fcac..0ead4b7e3ec 100644
--- a/pkgs/applications/networking/p2p/mldonkey/default.nix
+++ b/pkgs/applications/networking/p2p/mldonkey/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, ocamlPackages, zlib, bzip2, ncurses, file, gd, libpng, libjpeg }:
-stdenv.mkDerivation (rec {
+stdenv.mkDerivation ({
name = "mldonkey-3.1.6";
src = fetchurl {
diff --git a/pkgs/applications/networking/p2p/ncdc/default.nix b/pkgs/applications/networking/p2p/ncdc/default.nix
index ed29a34f99c..b28074a2fd6 100644
--- a/pkgs/applications/networking/p2p/ncdc/default.nix
+++ b/pkgs/applications/networking/p2p/ncdc/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ncurses, zlib, bzip2, sqlite, pkgconfig, glib, gnutls }:
stdenv.mkDerivation rec {
- name = "ncdc-${version}";
- version = "1.22";
+ pname = "ncdc";
+ version = "1.22.1";
src = fetchurl {
url = "https://dev.yorhel.nl/download/ncdc-${version}.tar.gz";
- sha256 = "0n9sn4rh4zhmzjknsvyp4bfh925abz93ln43gl8a1v63rs2yyhgx";
+ sha256 = "1bdgqd07f026qk6vpbxqsin536znd33931m3b4z44prlm9wd6pyi";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/networking/p2p/qbittorrent/default.nix b/pkgs/applications/networking/p2p/qbittorrent/default.nix
index 9696c55bd86..a579ae15181 100644
--- a/pkgs/applications/networking/p2p/qbittorrent/default.nix
+++ b/pkgs/applications/networking/p2p/qbittorrent/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, pkgconfig
+{ mkDerivation, lib, fetchFromGitHub, pkgconfig
, boost, libtorrentRasterbar, qtbase, qttools, qtsvg
, debugSupport ? false # Debugging
, guiSupport ? true, dbus ? null # GUI (disable to run headless)
@@ -6,17 +6,17 @@
}:
assert guiSupport -> (dbus != null);
-with stdenv.lib;
+with lib;
-stdenv.mkDerivation rec {
- name = "qbittorrent-${version}";
- version = "4.1.6";
+mkDerivation rec {
+ pname = "qbittorrent";
+ version = "4.1.7";
src = fetchFromGitHub {
owner = "qbittorrent";
repo = "qbittorrent";
rev = "release-${version}";
- sha256 = "1y9kv84sy5fg64wbl4xpm8qh0hjba7ibk045cazp0m736rjmxk8c";
+ sha256 = "1z4k64h3ik1a7ir4v9g3ar1wq8zfh4r2pq43hr2wvlamm2111gdv";
};
# NOTE: 2018-05-31: CMake is working but it is not officially supported
diff --git a/pkgs/applications/networking/p2p/retroshare/default.nix b/pkgs/applications/networking/p2p/retroshare/default.nix
index 2d523cc07dd..f10714031ff 100644
--- a/pkgs/applications/networking/p2p/retroshare/default.nix
+++ b/pkgs/applications/networking/p2p/retroshare/default.nix
@@ -3,7 +3,7 @@
, qtmultimedia, qtx11extras, qttools }:
stdenv.mkDerivation rec {
- name = "retroshare-${version}";
+ pname = "retroshare";
version = "0.6.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/p2p/soulseekqt/default.nix b/pkgs/applications/networking/p2p/soulseekqt/default.nix
index 104131e4775..704c439bb27 100644
--- a/pkgs/applications/networking/p2p/soulseekqt/default.nix
+++ b/pkgs/applications/networking/p2p/soulseekqt/default.nix
@@ -17,7 +17,7 @@ let
mainbin = "SoulseekQt-" + (version) +"-"+ (if stdenv.is64bit then "64bit" else "32bit");
srcs = {
- "x86_64-linux" = fetchurl {
+ x86_64-linux = fetchurl {
url = "https://www.dropbox.com/s/0vi87eef3ooh7iy/${mainbin}.tgz";
sha256 = "0d1cayxr1a4j19bc5a3qp9pg22ggzmd55b6f5av3lc6lvwqqg4w6";
};
@@ -25,9 +25,9 @@ let
in stdenv.mkDerivation rec {
- name = "soulseekqt-${version}";
+ pname = "soulseekqt";
inherit version;
- src = srcs."${stdenv.hostPlatform.system}" or (throw "unsupported system: ${stdenv.hostPlatform.system}");
+ src = srcs.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
dontBuild = true;
diff --git a/pkgs/applications/networking/p2p/stig/default.nix b/pkgs/applications/networking/p2p/stig/default.nix
new file mode 100644
index 00000000000..80b8251f2a3
--- /dev/null
+++ b/pkgs/applications/networking/p2p/stig/default.nix
@@ -0,0 +1,56 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+ pname = "stig";
+ # This project has a different concept for pre release / alpha,
+ # Read the project's README for details: https://github.com/rndusr/stig#stig
+ version = "0.10.1a";
+
+ src = fetchFromGitHub {
+ owner = "rndusr";
+ repo = "stig";
+ rev = "v${version}";
+ sha256 = "076rlial6h1nhwdxf1mx5nf2zld5ci43cadj9wf8xms7zn8s6c8v";
+ };
+
+ # urwidtrees 1.0.3 is requested by the developer because 1.0.2 (which is packaged
+ # in nixpkgs) is not uploaded to pypi and 1.0.1 has a problematic `setup.py`.
+ # As long as we don't have any problems installing it, no special features / specific bugs
+ # were fixed in 1.0.3 that aren't available in 1.0.2 are used by stig.
+ # See https://github.com/rndusr/stig/issues/120
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace "urwidtrees>=1.0.3dev0" "urwidtrees"
+ '';
+
+ buildInputs = with python3.pkgs; [
+ urwid
+ urwidtrees
+ aiohttp
+ async-timeout
+ pyxdg
+ blinker
+ natsort
+ maxminddb
+ setproctitle
+ ];
+
+ checkInputs = with python3.pkgs; [
+ asynctest
+ pytest
+ ];
+
+ checkPhase = ''
+ pytest tests
+ '';
+
+ meta = with lib; {
+ description = "TUI and CLI for the BitTorrent client Transmission";
+ homepage = "https://github.com/rndusr/stig";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ doronbehar ];
+ };
+}
diff --git a/pkgs/applications/networking/p2p/synapse-bt/default.nix b/pkgs/applications/networking/p2p/synapse-bt/default.nix
index 554fe9f8ea0..f3c7f8ccf18 100644
--- a/pkgs/applications/networking/p2p/synapse-bt/default.nix
+++ b/pkgs/applications/networking/p2p/synapse-bt/default.nix
@@ -1,20 +1,21 @@
-{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, Security }:
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, CoreServices, Security }:
rustPlatform.buildRustPackage rec {
- name = "synapse-bt-unstable-${version}";
- version = "2018-10-17";
+ pname = "synapse-bt";
+ version = "1.0";
src = fetchFromGitHub {
owner = "Luminarys";
repo = "synapse";
- rev = "76d5e9a23ad00c25cfd0469b1adb479b9ded113a";
- sha256 = "1lsfvcsmbsg51v8c2hkpwkx0zg25sdjc3q7x72b5bwwnw9l0iglz";
+ rev = version;
+ sha256 = "01npv3zwia5d534zdwisd9xfng507adv4qkljf8z0zm0khqqn71a";
};
- cargoSha256 = "1sc8c0w2dbvcdv16idw02y35x0jx5ff6ddzij09pmqjx55zgsjf7";
+ cargoSha256 = "0m4jigz6la3mf4yq217849ilcncb7d97mqyw2qicff4rbscdgf6h";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ openssl ] ++ stdenv.lib.optional stdenv.isDarwin Security;
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optionals stdenv.isDarwin [ CoreServices Security ];
cargoBuildFlags = [ "--all" ];
diff --git a/pkgs/applications/networking/p2p/tixati/default.nix b/pkgs/applications/networking/p2p/tixati/default.nix
index 7a5f389af24..850fc488bf3 100644
--- a/pkgs/applications/networking/p2p/tixati/default.nix
+++ b/pkgs/applications/networking/p2p/tixati/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchurl, glib, zlib, dbus, dbus-glib, gtk2, gdk_pixbuf, cairo, pango }:
+{ stdenv, fetchurl, glib, zlib, dbus, dbus-glib, gtk2, gdk-pixbuf, cairo, pango }:
stdenv.mkDerivation rec {
- name = "tixati-${version}";
- version = "2.61";
+ pname = "tixati";
+ version = "2.62";
src = fetchurl {
url = "https://download2.tixati.com/download/tixati-${version}-1.x86_64.manualinstall.tar.gz";
- sha256 = "05f8lcsac2mr90bhk999qkj8wwd6igdl07389bqrd1ydjasacl2k";
+ sha256 = "18lmzllkymdigfl1xf696zqmr2b83p4rzlc8ddrcr0zpzy2z2w4a";
};
installPhase = ''
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath ${stdenv.lib.makeLibraryPath [ glib zlib dbus dbus-glib gtk2 gdk_pixbuf cairo pango ]} \
+ --set-rpath ${stdenv.lib.makeLibraryPath [ glib zlib dbus dbus-glib gtk2 gdk-pixbuf cairo pango ]} \
tixati
install -D tixati $out/bin/tixati
install -D tixati.desktop $out/share/applications/tixati.desktop
diff --git a/pkgs/applications/networking/p2p/transgui/default.nix b/pkgs/applications/networking/p2p/transgui/default.nix
index f047b630ec4..7c720cf35a0 100644
--- a/pkgs/applications/networking/p2p/transgui/default.nix
+++ b/pkgs/applications/networking/p2p/transgui/default.nix
@@ -1,20 +1,21 @@
-{ stdenv, fetchsvn, pkgconfig, makeDesktopItem, unzip, fpc, lazarus,
-libX11, glib, gtk2, gdk_pixbuf, pango, atk, cairo, openssl }:
+{ stdenv, fetchFromGitHub, pkgconfig, makeDesktopItem, unzip, fpc, lazarus,
+libX11, glib, gtk2, gdk-pixbuf, pango, atk, cairo, openssl }:
stdenv.mkDerivation rec {
- name = "transgui-5.0.1-svn-r${revision}";
- revision = "988";
+ pname = "transgui";
+ version = "5.17.0";
- src = fetchsvn {
- url = "https://svn.code.sf.net/p/transgui/code/trunk/";
- rev = revision;
- sha256 = "1i6ysxs6d2wsmqi6ha10rl3n562brmhizlanhcfad04i53y8pyxf";
+ src = fetchFromGitHub {
+ owner = "transmission-remote-gui";
+ repo = "transgui";
+ rev = "v${version}";
+ sha256 = "0p76vavny5asi5naa4jn67raxlarsmrkbchfn96y6gh5p2vzwpl7";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
unzip fpc lazarus stdenv.cc
- libX11 glib gtk2 gdk_pixbuf pango atk cairo openssl
+ libX11 glib gtk2 gdk-pixbuf pango atk cairo openssl
];
NIX_LDFLAGS = "
@@ -27,9 +28,9 @@ stdenv.mkDerivation rec {
substituteInPlace restranslator.pas --replace /usr/ $out/
'';
- patches = [
- ./r988-compile-fix.patch
- ];
+ preBuild = ''
+ lazbuild -B transgui.lpr --lazarusdir=${lazarus}/share/lazarus
+ '';
makeFlags = [
"FPC=fpc"
@@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
"INSTALL_PREFIX=$(out)"
];
- LCL_PLATFORM = "gtk2";
+ LCL_PLATFORM = "gtk2";
desktopItem = makeDesktopItem rec {
name = "transgui";
@@ -62,10 +63,10 @@ stdenv.mkDerivation rec {
mkdir -p "$out/share/icons/hicolor/48x48/apps"
cp transgui.png "$out/share/icons/hicolor/48x48/apps"
mkdir -p "$out/share/transgui"
- cp -r "./lang" "$out/share/transgui"
+ cp -r "./lang" "$out/share/transgui"
'';
- meta = {
+ meta = {
description = "A cross platform front-end for the Transmission Bit-Torrent client";
homepage = https://sourceforge.net/p/transgui;
license = stdenv.lib.licenses.gpl2Plus;
diff --git a/pkgs/applications/networking/p2p/transgui/r988-compile-fix.patch b/pkgs/applications/networking/p2p/transgui/r988-compile-fix.patch
deleted file mode 100644
index 4b070d0cbe8..00000000000
--- a/pkgs/applications/networking/p2p/transgui/r988-compile-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/utils.pas b/utils.pas
-index eb8b828..1ff2440 100644
---- a/utils.pas
-+++ b/utils.pas
-@@ -100,7 +100,7 @@ uses
- {$ifdef CALLSTACK}
- lineinfo2,
- {$endif CALLSTACK}
-- LazFileUtils, LazUtf8, StdCtrls, Graphics;
-+ LazFileUtils, LazUtf8, StdCtrls, Graphics, FileUtil;
-
- {$ifdef windows}
- function FileOpenUTF8(Const FileName : string; Mode : Integer) : THandle;
-@@ -235,7 +235,7 @@ end;
-
- function ParamStrUTF8(Param: Integer): utf8string;
- begin
-- Result:=FileUtil.ParamStrUTF8(Param);
-+ Result:=LazUtf8.ParamStrUTF8(Param);
- end;
-
- function ParamCount: integer;
diff --git a/pkgs/applications/networking/p2p/transmission-remote-cli/default.nix b/pkgs/applications/networking/p2p/transmission-remote-cli/default.nix
index fc803fa2745..e05ca43eb50 100644
--- a/pkgs/applications/networking/p2p/transmission-remote-cli/default.nix
+++ b/pkgs/applications/networking/p2p/transmission-remote-cli/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pythonPackages }:
stdenv.mkDerivation rec {
- name = "transmission-remote-cli-${version}";
+ pname = "transmission-remote-cli";
version = "1.7.1";
src = fetchurl {
diff --git a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
index 7d2f34c591e..bec0507e4a5 100644
--- a/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
+++ b/pkgs/applications/networking/p2p/transmission-remote-gtk/default.nix
@@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
- name = "transmission-remote-gtk-${version}";
+ pname = "transmission-remote-gtk";
version = "1.4.1";
src = fetchFromGitHub {
owner = "transmission-remote-gtk";
repo = "transmission-remote-gtk";
- rev = "${version}";
+ rev = version;
sha256 = "1pipc1f94jdppv597mqmcj2kw2rdvaqcbl512v7z8vir76p1a7gk";
};
diff --git a/pkgs/applications/networking/p2p/transmission/default.nix b/pkgs/applications/networking/p2p/transmission/default.nix
index b94864a0b40..8af94b2609f 100644
--- a/pkgs/applications/networking/p2p/transmission/default.nix
+++ b/pkgs/applications/networking/p2p/transmission/default.nix
@@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
on top of a cross-platform back-end.
Feature spotlight:
* Uses fewer resources than other clients
- * Native Mac, GTK+ and Qt GUI clients
+ * Native Mac, GTK and Qt GUI clients
* Daemon ideal for servers, embedded systems, and headless use
* All these can be remote controlled by Web and Terminal clients
* Bluetack (PeerGuardian) blocklists with automatic updates
diff --git a/pkgs/applications/networking/p2p/tribler/default.nix b/pkgs/applications/networking/p2p/tribler/default.nix
index 29ec8158099..65abcf35a35 100644
--- a/pkgs/applications/networking/p2p/tribler/default.nix
+++ b/pkgs/applications/networking/p2p/tribler/default.nix
@@ -2,7 +2,7 @@
, enablePlayer ? true, vlc ? null, qt5 }:
stdenv.mkDerivation rec {
- name = "tribler-${version}";
+ pname = "tribler";
version = "7.1.2";
src = fetchurl {
diff --git a/pkgs/applications/networking/p2p/twister/default.nix b/pkgs/applications/networking/p2p/twister/default.nix
index cce44521a62..30491470392 100644
--- a/pkgs/applications/networking/p2p/twister/default.nix
+++ b/pkgs/applications/networking/p2p/twister/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, autoconf, automake, libtool, pkgconfig, python2
+{ stdenv, fetchFromGitHub, fetchpatch, autoconf, automake, libtool, pkgconfig, python2
, boost, db, openssl, geoip, libiconv, miniupnpc
, srcOnly, fetchgit
}:
@@ -16,13 +16,14 @@ let
boostPython = boost.override { enablePython = true; };
in stdenv.mkDerivation rec {
- name = "twister-${version}";
- version = "0.9.34";
+ pname = "twister";
+ version = "2019-08-19";
- src = fetchurl {
- url = "https://github.com/miguelfreitas/twister-core/"
- + "archive/v${version}.tar.gz";
- sha256 = "1bi8libivd9y2bn9fc7vbc5q0jnal0pykpzgri6anqaww22y58jq";
+ src = fetchFromGitHub {
+ owner = "miguelfreitas";
+ repo = "twister-core";
+ rev = "31faf3f63e461ea0a9b23081567a4a552cf06873";
+ sha256 = "0xh1lgnl9nd86jr0mp7m8bkd7r5j4d6chd0y73h2xv4aq5sld0sp";
};
configureFlags = [
@@ -40,12 +41,6 @@ in stdenv.mkDerivation rec {
boostPython db openssl geoip miniupnpc libiconv
];
- patches = stdenv.lib.singleton (fetchpatch {
- url = "https://github.com/miguelfreitas/twister-core/commit/"
- + "dd4f5a176958ea6ed855dc3fcef79680c1c0c92c.patch";
- sha256 = "06fgmqnjyl83civ3ixiq673k8zjgm8n2w4w46nsh810nprqim8s6";
- });
-
postPatch = ''
sed -i -e '/-htmldir/s|(default: [^)]*)|(default: ${twisterHTML})|' \
src/init.cpp
diff --git a/pkgs/applications/networking/p2p/vuze/default.nix b/pkgs/applications/networking/p2p/vuze/default.nix
index 8725d5263fe..b1d3c73129a 100644
--- a/pkgs/applications/networking/p2p/vuze/default.nix
+++ b/pkgs/applications/networking/p2p/vuze/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchsvn, jdk, jre, ant, swt, makeWrapper }:
stdenv.mkDerivation rec {
- name = "vuze-${version}";
+ pname = "vuze";
version = "5750";
src = fetchsvn {
diff --git a/pkgs/applications/networking/pjsip/default.nix b/pkgs/applications/networking/pjsip/default.nix
index 1e067b3c335..c9df5d3fbe3 100644
--- a/pkgs/applications/networking/pjsip/default.nix
+++ b/pkgs/applications/networking/pjsip/default.nix
@@ -1,14 +1,16 @@
{ stdenv, fetchurl, openssl, libsamplerate, alsaLib }:
stdenv.mkDerivation rec {
- name = "pjsip-${version}";
- version = "2.8";
+ pname = "pjsip";
+ version = "2.9";
src = fetchurl {
url = "https://www.pjsip.org/release/${version}/pjproject-${version}.tar.bz2";
- sha256 = "0ybg0113rp3fk49rm2v0pcgqb28h3dv1pdy9594w2ggiz7bhngah";
+ sha256 = "0dm6l8fypkimmzvld35zyykbg957cm5zb4ny3lchgv68amwfz1fi";
};
+ patches = [ ./fix-aarch64.patch ];
+
buildInputs = [ openssl libsamplerate alsaLib ];
preConfigure = ''
@@ -18,8 +20,8 @@ stdenv.mkDerivation rec {
postInstall = ''
mkdir -p $out/bin
cp pjsip-apps/bin/pjsua-* $out/bin/pjsua
- mkdir -p $out/share/${name}/samples
- cp pjsip-apps/bin/samples/*/* $out/share/${name}/samples
+ mkdir -p $out/share/${pname}-${version}/samples
+ cp pjsip-apps/bin/samples/*/* $out/share/${pname}-${version}/samples
'';
# We need the libgcc_s.so.1 loadable (for pthread_cancel to work)
diff --git a/pkgs/applications/networking/pjsip/fix-aarch64.patch b/pkgs/applications/networking/pjsip/fix-aarch64.patch
new file mode 100644
index 00000000000..f4aabf7a9bb
--- /dev/null
+++ b/pkgs/applications/networking/pjsip/fix-aarch64.patch
@@ -0,0 +1,13 @@
+--- a/aconfigure
++++ b/aconfigure
+@@ -8945,6 +8945,10 @@
+ ac_webrtc_instset=neon
+ ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
+ ;;
++ arm64*|aarch64*)
++ ac_webrtc_instset=neon
++ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
++ ;;
+ *)
+ ac_webrtc_instset=sse2
+ ;;
diff --git a/pkgs/applications/networking/protocol/default.nix b/pkgs/applications/networking/protocol/default.nix
index 305aceec62b..7fdb062ef80 100644
--- a/pkgs/applications/networking/protocol/default.nix
+++ b/pkgs/applications/networking/protocol/default.nix
@@ -1,6 +1,6 @@
{ stdenv, buildPythonApplication, fetchFromGitHub }:
-buildPythonApplication rec {
+buildPythonApplication {
pname = "protocol";
version = "20171226";
diff --git a/pkgs/applications/networking/protonmail-bridge/default.nix b/pkgs/applications/networking/protonmail-bridge/default.nix
index 2870f3158fb..60ea01ae451 100644
--- a/pkgs/applications/networking/protonmail-bridge/default.nix
+++ b/pkgs/applications/networking/protonmail-bridge/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchurl, lib, qtbase, qtmultimedia, qtsvg, qtdeclarative, qttools, full,
- libsecret, libGL, libpulseaudio, glib, makeWrapper, makeDesktopItem }:
+{ stdenv, fetchurl, lib, qtbase, qtmultimedia, qtsvg, qtdeclarative, qttools, qtgraphicaleffects, qtquickcontrols2, full
+, libsecret, libGL, libpulseaudio, glib, wrapQtAppsHook, makeDesktopItem, mkDerivation }:
let
- version = "1.1.5-1";
+ version = "1.1.6-1";
description = ''
An application that runs on your computer in the background and seamlessly encrypts
@@ -20,16 +20,16 @@ let
genericName = "ProtonMail Bridge for Linux";
categories = "Utility;Security;Network;Email";
};
-in stdenv.mkDerivation rec {
- name = "protonmail-bridge-${version}";
+
+in mkDerivation {
+ pname = "protonmail-bridge";
+ inherit version;
src = fetchurl {
url = "https://protonmail.com/download/protonmail-bridge_${version}_amd64.deb";
- sha256 = "1y5mphrs60zd6km9z64vskk70q9zzw4g6js7qvgl572wv81w2l75";
+ sha256 = "108dql9q5znsqjkrs41pc6psjbg5bz09rdmjl036xxbvsdvq4a8r";
};
- nativeBuildInputs = [ makeWrapper ];
-
sourceRoot = ".";
unpackCmd = ''
@@ -51,6 +51,8 @@ in stdenv.mkDerivation rec {
rpath = lib.makeLibraryPath [
stdenv.cc.cc.lib
qtbase
+ qtquickcontrols2
+ qtgraphicaleffects
qtmultimedia
qtsvg
qtdeclarative
@@ -60,20 +62,15 @@ in stdenv.mkDerivation rec {
libpulseaudio
glib
];
-
- qtPath = prefix: "${full}/${prefix}";
in ''
patchelf \
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
--set-rpath "${rpath}" \
$out/lib/protonmail-bridge
-
- wrapProgram $out/lib/protonmail-bridge \
- --set QT_PLUGIN_PATH "${qtPath qtbase.qtPluginPrefix}" \
- --set QML_IMPORT_PATH "${qtPath qtbase.qtQmlPrefix}" \
- --set QML2_IMPORT_PATH "${qtPath qtbase.qtQmlPrefix}" \
'';
+ buildInputs = [ qtbase qtquickcontrols2 qtmultimedia qtgraphicaleffects qtdeclarative ];
+
meta = with stdenv.lib; {
homepage = "https://www.protonmail.com/bridge";
license = licenses.mit;
diff --git a/pkgs/applications/networking/ps2client/default.nix b/pkgs/applications/networking/ps2client/default.nix
index 5b292fe7bec..d75f92cb25c 100644
--- a/pkgs/applications/networking/ps2client/default.nix
+++ b/pkgs/applications/networking/ps2client/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "unstable-2018-10-18";
- name = "ps2client-${version}";
+ pname = "ps2client";
src = fetchFromGitHub {
owner = "ps2dev";
diff --git a/pkgs/applications/networking/pyload/beautifulsoup.nix b/pkgs/applications/networking/pyload/beautifulsoup.nix
index 571df924e1f..66470bf8f31 100644
--- a/pkgs/applications/networking/pyload/beautifulsoup.nix
+++ b/pkgs/applications/networking/pyload/beautifulsoup.nix
@@ -1,6 +1,6 @@
{ pythonPackages, isPy3k, pkgs }:
-pythonPackages.buildPythonPackage rec {
+pythonPackages.buildPythonPackage {
name = "beautifulsoup-3.2.1";
disabled = isPy3k;
diff --git a/pkgs/applications/networking/pyload/default.nix b/pkgs/applications/networking/pyload/default.nix
index 6a89731ff10..3df21d414e0 100644
--- a/pkgs/applications/networking/pyload/default.nix
+++ b/pkgs/applications/networking/pyload/default.nix
@@ -45,16 +45,16 @@ in pythonPackages.buildPythonApplication rec {
'';
preBuild = ''
- paver generate_setup
+ ${pythonPackages.paver}/bin/paver generate_setup
'';
doCheck = false;
- meta = {
+ meta = with stdenv.lib; {
description = "Free and open source downloader for 1-click-hosting sites";
homepage = https://github.com/pyload/pyload;
- license = stdenv.lib.licenses.gpl3;
- maintainers = [ stdenv.lib.maintainers.mahe ];
- platforms = stdenv.lib.platforms.all;
+ license = licenses.gpl3;
+ maintainers = [ maintainers.mahe ];
+ platforms = platforms.all;
};
}
diff --git a/pkgs/applications/networking/remote/anydesk/default.nix b/pkgs/applications/networking/remote/anydesk/default.nix
index a9b358fc793..30130f60028 100644
--- a/pkgs/applications/networking/remote/anydesk/default.nix
+++ b/pkgs/applications/networking/remote/anydesk/default.nix
@@ -1,21 +1,21 @@
{ stdenv, fetchurl, makeWrapper, makeDesktopItem
-, atk, cairo, gdk_pixbuf, glib, gnome2, gtk2, libGLU_combined, pango, xorg
+, atk, cairo, gdk-pixbuf, glib, gnome2, gtk2, libGLU_combined, pango, xorg
, lsb-release, freetype, fontconfig, pangox_compat, polkit, polkit_gnome }:
let
sha256 = {
- "x86_64-linux" = "08kdxsg9npb1nmlr2jyq7p238735kqkp7c5xckxn6rc4cp12n2y2";
- "i686-linux" = "11r5d4234zbkkgyrd7q9x3w7s7lailnq7z4x8cnhpr8vipzrg7h2";
- }."${stdenv.hostPlatform.system}" or (throw "system ${stdenv.hostPlatform.system} not supported");
+ x86_64-linux = "08kdxsg9npb1nmlr2jyq7p238735kqkp7c5xckxn6rc4cp12n2y2";
+ i686-linux = "11r5d4234zbkkgyrd7q9x3w7s7lailnq7z4x8cnhpr8vipzrg7h2";
+ }.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
arch = {
- "x86_64-linux" = "amd64";
- "i686-linux" = "i686";
- }."${stdenv.hostPlatform.system}" or (throw "system ${stdenv.hostPlatform.system} not supported");
+ x86_64-linux = "amd64";
+ i686-linux = "i686";
+ }.${stdenv.hostPlatform.system} or (throw "system ${stdenv.hostPlatform.system} not supported");
description = "Desktop sharing application, providing remote support and online meetings";
- desktopItem = makeDesktopItem rec {
+ desktopItem = makeDesktopItem {
name = "anydesk";
exec = "@out@/bin/anydesk";
icon = "anydesk";
@@ -26,16 +26,16 @@ let
};
in stdenv.mkDerivation rec {
- name = "anydesk-${version}";
+ pname = "anydesk";
version = "4.0.1";
src = fetchurl {
- url = "https://download.anydesk.com/linux/${name}-${arch}.tar.gz";
+ url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
inherit sha256;
};
buildInputs = [
- atk cairo gdk_pixbuf glib gtk2 stdenv.cc.cc pango
+ atk cairo gdk-pixbuf glib gtk2 stdenv.cc.cc pango
gnome2.gtkglext libGLU_combined freetype fontconfig
pangox_compat polkit polkit_gnome
] ++ (with xorg; [
diff --git a/pkgs/applications/networking/remote/citrix-receiver/default.nix b/pkgs/applications/networking/remote/citrix-receiver/default.nix
deleted file mode 100644
index d6e25ae4e7b..00000000000
--- a/pkgs/applications/networking/remote/citrix-receiver/default.nix
+++ /dev/null
@@ -1,215 +0,0 @@
-{ stdenv
-, lib
-, fetchurl
-, requireFile
-, makeWrapper
-, libredirect
-, busybox
-, file
-, makeDesktopItem
-, tzdata
-, cacert
-, glib
-, gtk2
-, atk
-, gdk_pixbuf
-, cairo
-, pango
-, gnome3
-, xorg
-, libpng12
-, freetype
-, fontconfig
-, gtk_engines
-, alsaLib
-, libidn
-, zlib
-, version ? "13.10.0"
-}:
-
-let
- # In 56e1bdc7f9c (libidn: 1.34 -> 1.35), libidn.so.11 became libidn.so.12.
- # Citrix looks for the former so we build version 1.34 to please the binary
- libidn_134 = libidn.overrideDerivation (_: rec {
- name = "libidn-1.34";
- src = fetchurl {
- url = "mirror://gnu/libidn/${name}.tar.gz";
- sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
- };
- });
-
- versionInfo = let
- supportedVersions = {
- "13.10.0" = {
- major = "13";
- minor = "10";
- patch = "0";
- x64hash = "7025688C7891374CDA11C92FC0BA2FA8151AEB4C4D31589AD18747FAE943F6EA";
- x86hash = "2DCA3C8EDED11C5D824D579BC3A6B7D531EAEDDCBFB16E91B5702C72CAE9DEE4";
- x64suffix = "20";
- x86suffix = "20";
- homepage = https://www.citrix.com/downloads/citrix-receiver/linux/receiver-for-linux-latest.html;
- };
- };
-
- # break an evaluation for old Citrix versions rather than exiting with
- # an "attribute name not found" error to avoid confusion.
- deprecatedVersions = let
- versions = [ "13.8.0" "13.9.0" "13.9.1" ];
- in
- lib.listToAttrs
- (lib.flip map versions
- (v: lib.nameValuePair v (throw "Unsupported citrix_receiver version: ${v}")));
- in
- deprecatedVersions // supportedVersions;
-
- citrixReceiverForVersion = { major, minor, patch, x86hash, x64hash, x86suffix, x64suffix, homepage }:
- stdenv.mkDerivation rec {
- name = "citrix-receiver-${version}";
- version = "${major}.${minor}.${patch}";
- inherit homepage;
-
- prefixWithBitness = if stdenv.is64bit then "linuxx64" else "linuxx86";
-
- src = requireFile rec {
- name = if stdenv.is64bit then "${prefixWithBitness}-${version}.${x64suffix}.tar.gz" else "${prefixWithBitness}-${version}.${x86suffix}.tar.gz";
- sha256 = if stdenv.is64bit then x64hash else x86hash;
- message = ''
- In order to use Citrix Receiver, you need to comply with the Citrix EULA and download
- the ${if stdenv.is64bit then "64-bit" else "32-bit"} binaries, .tar.gz from:
-
- ${homepage}
-
- (if you do not find version ${version} there, try at
- https://www.citrix.com/downloads/citrix-receiver/legacy-receiver-for-linux/
- or at https://www.citrix.com/downloads/citrix-receiver/ under "Earlier Versions of Receiver for Linux")
-
- Once you have downloaded the file, please use the following command and re-run the
- installation:
-
- nix-prefetch-url file://\$PWD/${name}
- '';
- };
-
- dontBuild = true;
-
- sourceRoot = ".";
-
- buildInputs = [
- makeWrapper
- busybox
- file
- gtk2
- gdk_pixbuf
- ];
-
- libPath = stdenv.lib.makeLibraryPath [
- glib
- gtk2
- atk
- gdk_pixbuf
- cairo
- pango
- gnome3.dconf
- xorg.libX11
- xorg.libXext
- xorg.libXrender
- xorg.libXinerama
- xorg.libXfixes
- libpng12
- libidn_134
- zlib
- gtk_engines
- freetype
- fontconfig
- alsaLib
- stdenv.cc.cc # Fixes: Can not load [..]/opt/citrix-icaclient/lib/ctxh264_fb.so:(null)
- ];
-
- desktopItem = makeDesktopItem {
- name = "wfica";
- desktopName = "Citrix Receiver";
- genericName = "Citrix Receiver";
- exec = "wfica";
- icon = "wfica";
- comment = "Connect to remote Citrix server";
- categories = "GTK;GNOME;X-GNOME-NetworkSettings;Network;";
- mimeType = "application/x-ica";
- };
-
- installPhase = ''
- runHook preInstall
-
- export ICAInstDir="$out/opt/citrix-icaclient"
-
- sed -i \
- -e 's,^main_install_menu$,install_ICA_client,g' \
- -e 's,^integrate_ICA_client(),alias integrate_ICA_client=true\nintegrate_ICA_client_old(),g' \
- -e 's,^ANSWER=""$,ANSWER="$INSTALLER_YES",' \
- -e 's,/bin/true,true,g' \
- ./${prefixWithBitness}/hinst
-
- # Run the installer...
- bash ./${prefixWithBitness}/hinst CDROM "`pwd`"
-
- echo "Deleting broken links..."
- for link in `find $ICAInstDir -type l `
- do
- [ -f "$link" ] || rm -v "$link"
- done
-
- echo "Expanding certificates..."
- # As explained in https://wiki.archlinux.org/index.php/Citrix#Security_Certificates
- pushd "$ICAInstDir/keystore/cacerts"
- awk 'BEGIN {c=0;} /BEGIN CERT/{c++} { print > "cert." c ".pem"}' < ${cacert}/etc/ssl/certs/ca-bundle.crt
- popd
-
- echo "Patching executables..."
- find $ICAInstDir -type f -exec file {} \; |
- grep 'ELF.*executable' |
- cut -f 1 -d : |
- grep -vi '\(.dll\|.so\)$' | # added as a workaround to https://github.com/NixOS/nixpkgs/issues/41729
- while read f
- do
- echo "Patching ELF intrepreter and rpath for $f"
- chmod u+w "$f"
- patchelf \
- --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
- --set-rpath "$ICAInstDir:$libPath" "$f"
- done
-
- echo "Wrapping wfica..."
- mkdir "$out/bin"
-
- makeWrapper "$ICAInstDir/wfica" "$out/bin/wfica" \
- --add-flags "-icaroot $ICAInstDir" \
- --set ICAROOT "$ICAInstDir" \
- --set GTK_PATH "${gtk2.out}/lib/gtk-2.0:${gnome3.gnome-themes-extra}/lib/gtk-2.0" \
- --set GDK_PIXBUF_MODULE_FILE "$GDK_PIXBUF_MODULE_FILE" \
- --set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
- --set LD_LIBRARY_PATH "$libPath" \
- --set NIX_REDIRECTS "/usr/share/zoneinfo=${tzdata}/share/zoneinfo:/etc/zoneinfo=${tzdata}/share/zoneinfo:/etc/timezone=$ICAInstDir/timezone"
-
- echo "We arbitrarily set the timezone to UTC. No known consequences at this point."
- echo UTC > "$ICAInstDir/timezone"
-
- echo "Installing desktop item..."
- mkdir -p $out/share/applications
- cp ${desktopItem}/share/applications/* $out/share/applications
-
- # We introduce a dependency on the source file so that it need not be redownloaded everytime
- echo $src >> "$out/share/nix_dependencies.pin"
-
- runHook postInstall
- '';
-
- meta = with stdenv.lib; {
- license = stdenv.lib.licenses.unfree;
- inherit homepage;
- description = "Citrix Receiver";
- maintainers = with maintainers; [ obadz a1russell ma27 ];
- platforms = platforms.linux;
- };
- };
-
-in citrixReceiverForVersion (lib.getAttr version versionInfo)
diff --git a/pkgs/applications/networking/remote/citrix-receiver/wrapper.nix b/pkgs/applications/networking/remote/citrix-receiver/wrapper.nix
deleted file mode 100644
index 63587030b38..00000000000
--- a/pkgs/applications/networking/remote/citrix-receiver/wrapper.nix
+++ /dev/null
@@ -1,19 +0,0 @@
-{ citrix_receiver, extraCerts ? [], symlinkJoin }:
-
-let
-
- mkCertCopy = certPath:
- "cp ${certPath} $out/opt/citrix-icaclient/keystore/cacerts/";
-
-in
-
-if builtins.length extraCerts == 0 then citrix_receiver else symlinkJoin {
- name = "citrix-with-extra-certs-${citrix_receiver.version}";
- paths = [ citrix_receiver ];
-
- postBuild = ''
- ${builtins.concatStringsSep "\n" (map mkCertCopy extraCerts)}
-
- sed -i -E "s,-icaroot (.+citrix-icaclient),-icaroot $out/opt/citrix-icaclient," $out/bin/wfica
- '';
-}
diff --git a/pkgs/applications/networking/remote/citrix-workspace/default.nix b/pkgs/applications/networking/remote/citrix-workspace/default.nix
index 13a16a6e224..4936b0ce0b5 100644
--- a/pkgs/applications/networking/remote/citrix-workspace/default.nix
+++ b/pkgs/applications/networking/remote/citrix-workspace/default.nix
@@ -12,7 +12,7 @@
, glib
, gtk2
, atk
-, gdk_pixbuf
+, gdk-pixbuf
, cairo
, pango
, gnome3
@@ -22,22 +22,11 @@
, fontconfig
, gtk_engines
, alsaLib
-, libidn
, zlib
-, version ? "19.3.0"
+, version ? "19.8.0"
}:
let
- # In 56e1bdc7f9c (libidn: 1.34 -> 1.35), libidn.so.11 became libidn.so.12.
- # Citrix looks for the former so we build version 1.34 to please the binary
- libidn_134 = libidn.overrideDerivation (_: rec {
- name = "libidn-1.34";
- src = fetchurl {
- url = "mirror://gnu/libidn/${name}.tar.gz";
- sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
- };
- });
-
versionInfo = let
supportedVersions = {
"19.3.0" = {
@@ -48,30 +37,57 @@ let
x86hash = "1hxgj5lk5ghbpssbqjd404qr84gls967vwrh8ww5hg3pn86kyf8w";
x64suffix = "5";
x86suffix = "5";
+ homepage = https://www.citrix.com/downloads/workspace-app/legacy-workspace-app-for-linux/workspace-app-for-linux-1903.html;
+ };
+
+ "19.6.0" = {
+ major = "19";
+ minor = "6";
+ patch = "0";
+ x64hash = "0szqlfmigzgf0309i6ikxkizxaf4ri7qmhys75m0zi3bpwx6hzhs";
+ x86hash = "16v3kgavrh62z6vxcbw6mn7h0bfishpl7m92k7g1p2882r1f8vaf";
+ x64suffix = "60";
+ x86suffix = "60";
+ homepage = https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html;
+ };
+
+ "19.8.0" = {
+ major = "19";
+ minor = "8";
+ patch = "0";
+ x64hash = "0f8djw8lp5wihb23y09yac1mh09w1qp422h72r6zfx9k1lqfsdbw";
+ x86hash = "0afcqirb4q349r3izy88vqkszg6y2wg14iwypk6nrmvwgvcl6jdn";
+ x64suffix = "20";
+ x86suffix = "20";
homepage = https://www.citrix.com/downloads/workspace-app/linux/workspace-app-for-linux-latest.html;
};
};
# Copied this file largely from the citrix-receiver package
# Leaving this here even though there are no deprecations yet
- # for ease of future maintenance
+ # for ease of future maintenance.
+ #
+ # The lifespans of Citrix products can be found here:
+ # https://www.citrix.com/support/product-lifecycle/milestones/receiver.html
deprecatedVersions = let
versions = [ ];
in
lib.listToAttrs
- (lib.flip map versions
+ (lib.forEach versions
(v: lib.nameValuePair v (throw "Unsupported citrix_workspace version: ${v}")));
in
deprecatedVersions // supportedVersions;
citrixWorkspaceForVersion = { major, minor, patch, x64hash, x86hash, x64suffix, x86suffix, homepage }:
stdenv.mkDerivation rec {
- name = "citrix-workspace-${version}";
+ pname = "citrix-workspace";
version = "${major}.${minor}.${patch}";
inherit homepage;
prefixWithBitness = if stdenv.is64bit then "linuxx64" else "linuxx86";
+ preferLocalBuild = true;
+
src = requireFile rec {
name = if stdenv.is64bit then "${prefixWithBitness}-${version}.${x64suffix}.tar.gz" else "${prefixWithBitness}-${version}.${x86suffix}.tar.gz";
sha256 = if stdenv.is64bit then x64hash else x86hash;
@@ -100,14 +116,14 @@ let
busybox
file
gtk2
- gdk_pixbuf
+ gdk-pixbuf
];
libPath = stdenv.lib.makeLibraryPath [
glib
gtk2
atk
- gdk_pixbuf
+ gdk-pixbuf
cairo
pango
gnome3.dconf
@@ -117,7 +133,6 @@ let
xorg.libXinerama
xorg.libXfixes
libpng12
- libidn_134
zlib
gtk_engines
freetype
@@ -208,6 +223,7 @@ let
inherit homepage;
description = "Citrix Workspace";
platforms = platforms.linux;
+ maintainers = with maintainers; [ ma27 ];
};
};
diff --git a/pkgs/applications/networking/remote/freerdp/default.nix b/pkgs/applications/networking/remote/freerdp/default.nix
index 2110b76934d..5963c6b6c95 100644
--- a/pkgs/applications/networking/remote/freerdp/default.nix
+++ b/pkgs/applications/networking/remote/freerdp/default.nix
@@ -9,10 +9,11 @@
, pcsclite ? null
, systemd ? null
, buildServer ? true
+, nocaps ? false
}:
stdenv.mkDerivation rec {
- name = "freerdp-${version}";
+ pname = "freerdp";
version = "2.0.0-rc4";
src = fetchFromGitHub {
@@ -31,6 +32,9 @@ stdenv.mkDerivation rec {
'' + lib.optionalString (pcsclite != null) ''
substituteInPlace "winpr/libwinpr/smartcard/smartcard_pcsc.c" \
--replace "libpcsclite.so" "${stdenv.lib.getLib pcsclite}/lib/libpcsclite.so"
+ '' + lib.optionalString nocaps ''
+ substituteInPlace "libfreerdp/locale/keyboard_xkbfile.c" \
+ --replace "RDP_SCANCODE_CAPSLOCK" "RDP_SCANCODE_LCONTROL"
'';
buildInputs = with lib; [
diff --git a/pkgs/applications/networking/remote/freerdp/legacy.nix b/pkgs/applications/networking/remote/freerdp/legacy.nix
deleted file mode 100644
index 9830b846525..00000000000
--- a/pkgs/applications/networking/remote/freerdp/legacy.nix
+++ /dev/null
@@ -1,72 +0,0 @@
-{ stdenv
-, fetchurl
-, cmake
-, openssl
-, glib, pcre
-, printerSupport ? true, cups
-, pkgconfig
-, zlib
-, libX11
-, libXcursor
-, libXdamage
-, libXext
-, alsaLib
-, ffmpeg
-, libxkbfile
-#, xmlto, docbook_xml_dtd_412, docbook_xml_xslt
-, libXinerama
-, libXv
-, pulseaudioSupport ? true
-}:
-
-assert printerSupport -> cups != null;
-
-stdenv.mkDerivation rec {
- name = "freerdp-${version}";
- version = "1.2.0-beta1+android9";
-
- src = fetchurl {
- url = "https://github.com/FreeRDP/FreeRDP/archive/${version}.tar.gz";
- sha256 = "181w4lkrk5h5kh2zjlx6h2cl1mfw2aaami3laq3q32pfj06q3rxl";
- };
-
- buildInputs = [
- cmake
- openssl
- glib pcre
- pkgconfig
- zlib
- libX11
- libXcursor
- libXdamage
- libXext
- alsaLib
- ffmpeg
- libxkbfile
-# xmlto docbook_xml_dtd_412 docbook_xml_xslt
- libXinerama
- libXv
- ] ++ stdenv.lib.optional printerSupport cups;
-
- preConfigure = ''
- export HOME=$TMP
- '';
-
- configureFlags = [
- "--with-x" "-DWITH_MANPAGES=OFF"
- ] ++ stdenv.lib.optional printerSupport "--with-printer=cups"
- ++ stdenv.lib.optional pulseaudioSupport "-DWITH_PULSEAUDIO=ON";
-
- meta = with stdenv.lib; {
- description = "A Remote Desktop Protocol Client";
-
- longDescription = ''
- FreeRDP is a client-side implementation of the Remote Desktop Protocol (RDP)
- following the Microsoft Open Specifications.
- '';
-
- homepage = http://www.freerdp.com/;
- license = licenses.free;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/applications/networking/remote/putty/default.nix b/pkgs/applications/networking/remote/putty/default.nix
index fdd367f97c0..3b7db7075bb 100644
--- a/pkgs/applications/networking/remote/putty/default.nix
+++ b/pkgs/applications/networking/remote/putty/default.nix
@@ -4,12 +4,12 @@
stdenv.mkDerivation rec {
version = "0.71";
- name = "putty-${version}";
+ pname = "putty";
src = fetchurl {
urls = [
- "https://the.earth.li/~sgtatham/putty/${version}/${name}.tar.gz"
- "ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${name}.tar.gz"
+ "https://the.earth.li/~sgtatham/putty/${version}/${pname}-${version}.tar.gz"
+ "ftp://ftp.wayne.edu/putty/putty-website-mirror/${version}/${pname}-${version}.tar.gz"
];
sha256 = "1f66iss0kqk982azmxbk4xfm2i1csby91vdvly6cr04pz3i1r4rg";
};
diff --git a/pkgs/applications/networking/remote/rdesktop/default.nix b/pkgs/applications/networking/remote/rdesktop/default.nix
index 4caa9ae63f7..9c9abe55daa 100644
--- a/pkgs/applications/networking/remote/rdesktop/default.nix
+++ b/pkgs/applications/networking/remote/rdesktop/default.nix
@@ -1,28 +1,32 @@
-{stdenv, fetchurl, openssl, libX11, libgssglue, pkgconfig} :
+{stdenv, fetchFromGitHub, openssl, libX11, libgssglue, pkgconfig, autoreconfHook
+, enableCredssp ? (!stdenv.isDarwin)
+} :
stdenv.mkDerivation (rec {
pname = "rdesktop";
- version = "1.8.3";
- name = "${pname}-${version}";
+ version = "1.8.6";
- src = fetchurl {
- url = "mirror://sourceforge/${pname}/${name}.tar.gz";
- sha256 = "1r7c1rjmw2xzq8fw0scyb453gy9z19774z1z8ldmzzsfndb03cl8";
+ src = fetchFromGitHub {
+ owner = pname;
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "02sbhnqbasa54c75c86qw9w9h9sxxbnldj7bjv2gvn18lmq5rm20";
};
- nativeBuildInputs = [pkgconfig];
- buildInputs = [openssl libX11 libgssglue];
+ nativeBuildInputs = [pkgconfig autoreconfHook];
+ buildInputs = [openssl libX11]
+ ++ stdenv.lib.optional enableCredssp libgssglue;
configureFlags = [
"--with-ipv6"
"--with-openssl=${openssl.dev}"
"--disable-smartcard"
- ];
+ ] ++ stdenv.lib.optional (!enableCredssp) "--disable-credssp";
meta = {
description = "Open source client for Windows Terminal Services";
homepage = http://www.rdesktop.org/;
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
license = stdenv.lib.licenses.gpl2;
};
})
diff --git a/pkgs/applications/networking/remote/remmina/default.nix b/pkgs/applications/networking/remote/remmina/default.nix
index 951b136dd4e..f60d43f3616 100644
--- a/pkgs/applications/networking/remote/remmina/default.nix
+++ b/pkgs/applications/networking/remote/remmina/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitLab, cmake, ninja, pkgconfig, wrapGAppsHook
, glib, gtk3, gettext, libxkbfile, libX11
-, freerdp, libssh, libgcrypt, gnutls, makeDesktopItem
+, freerdp, libssh, libgcrypt, gnutls
, pcre, libdbusmenu-gtk3, libappindicator-gtk3
, libvncserver, libpthreadstubs, libXdmcp, libxkbcommon
, libsecret, libsoup, spice-protocol, spice-gtk, epoxy, at-spi2-core
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
meta = {
license = licenses.gpl2;
homepage = https://gitlab.com/Remmina/Remmina;
- description = "Remote desktop client written in GTK+";
+ description = "Remote desktop client written in GTK";
maintainers = with maintainers; [ melsigl ryantm ];
platforms = platforms.linux;
};
diff --git a/pkgs/applications/networking/remote/ssvnc/default.nix b/pkgs/applications/networking/remote/ssvnc/default.nix
deleted file mode 100644
index 99835627f87..00000000000
--- a/pkgs/applications/networking/remote/ssvnc/default.nix
+++ /dev/null
@@ -1,33 +0,0 @@
-{ stdenv, fetchurl, imake, zlib, jdk, libX11, libXt, libXmu
-, libXaw, libXext, libXpm, openjpeg, openssl, tk, perl }:
-
-stdenv.mkDerivation rec {
- name = "ssvnc-${version}";
- version = "1.0.29";
-
- src = fetchurl {
- url = "mirror://sourceforge/ssvnc/${name}.src.tar.gz";
- sha256 = "74df32eb8eaa68b07c9693a232ebe42154617c7f3cbe1d4e68d3fe7c557d618d";
- };
-
- buildInputs = [ imake zlib jdk libX11 libXt libXmu libXaw libXext libXpm openjpeg openssl ];
-
- dontUseImakeConfigure = true;
-
- makeFlags = "PREFIX=$(out)";
-
- hardeningDisable = [ "format" ];
-
- postInstall = ''
- sed -i -e 's|exec wish|exec ${tk}/bin/wish|' $out/lib/ssvnc/util/ssvnc.tcl
- sed -i -e 's|/usr/bin/perl|${perl}/bin/perl|' $out/lib/ssvnc/util/ss_vncviewer
- '';
-
- meta = {
- description = "VNC viewer that adds encryption security to VNC connections";
- homepage = http://www.karlrunge.com/x11vnc/ssvnc.html;
- license = stdenv.lib.licenses.gpl2;
- maintainers = [ stdenv.lib.maintainers.edwtjo ];
- platforms = with stdenv.lib.platforms; linux;
- };
-}
diff --git a/pkgs/applications/networking/remote/teamviewer/default.nix b/pkgs/applications/networking/remote/teamviewer/default.nix
index b624f02c42a..f9b17b42bde 100644
--- a/pkgs/applications/networking/remote/teamviewer/default.nix
+++ b/pkgs/applications/networking/remote/teamviewer/default.nix
@@ -1,13 +1,16 @@
-{ stdenv, fetchurl, autoPatchelfHook, makeWrapper, xdg_utils, dbus, qtbase, qtwebkit, qtx11extras, qtquickcontrols, glibc, libXrandr, libX11 }:
+{ mkDerivation, lib, fetchurl, autoPatchelfHook, makeWrapper, xdg_utils, dbus
+, qtbase, qtwebkit, qtx11extras, qtquickcontrols, glibc
+, libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes
+, wrapQtAppsHook
+}:
-
-stdenv.mkDerivation rec {
- name = "teamviewer-${version}";
- version = "14.2.8352";
+mkDerivation rec {
+ pname = "teamviewer";
+ version = "14.5.1691";
src = fetchurl {
url = "https://dl.tvcdn.de/download/linux/version_14x/teamviewer_${version}_amd64.deb";
- sha256 = "132fh3lg6g4b0yfkhvbm9zg8s3lcljmbk6gfaavi4b1h8ndq92ay";
+ sha256 = "1dzvjyvcqcah6z1dvw4zvmbdn8iks9j2909slbkksavn1rp3akxc";
};
unpackPhase = ''
@@ -15,7 +18,7 @@ stdenv.mkDerivation rec {
tar xf data.tar.*
'';
- nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
+ nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ];
buildInputs = [ dbus qtbase qtwebkit qtx11extras libX11 ];
propagatedBuildInputs = [ qtquickcontrols ];
@@ -41,13 +44,18 @@ stdenv.mkDerivation rec {
--replace '/lib64/ld-linux-x86-64.so.2' '${glibc.out}/lib/ld-linux-x86-64.so.2'
substituteInPlace $out/share/teamviewer/tv_bin/script/tvw_config \
--replace '/var/run/' '/run/'
- wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libXrandr libX11 ]}"
- wrapProgram $out/share/teamviewer/tv_bin/teamviewerd --prefix LD_LIBRARY_PATH : "${stdenv.lib.makeLibraryPath [ libXrandr libX11 ]}"
+
+ wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
+ wrapProgram $out/share/teamviewer/tv_bin/teamviewerd --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
+ wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}"
+ wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes ]}"
+
+ wrapQtApp $out/bin/teamviewer
'';
dontStrip = true;
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = http://www.teamviewer.com;
license = licenses.unfree;
description = "Desktop sharing application, providing remote support and online meetings";
diff --git a/pkgs/applications/networking/remote/waypipe/default.nix b/pkgs/applications/networking/remote/waypipe/default.nix
new file mode 100644
index 00000000000..d253e766284
--- /dev/null
+++ b/pkgs/applications/networking/remote/waypipe/default.nix
@@ -0,0 +1,48 @@
+{ stdenv, fetchFromGitLab
+, meson, ninja, pkgconfig, scdoc
+, wayland, wayland-protocols, openssh
+, mesa, lz4, zstd, ffmpeg_4, libva
+}:
+
+stdenv.mkDerivation rec {
+ pname = "waypipe-unstable";
+ version = "0.6.1";
+
+ src = fetchFromGitLab {
+ domain = "gitlab.freedesktop.org";
+ owner = "mstoeckl";
+ repo = "waypipe";
+ rev = "v${version}";
+ sha256 = "13kp5snkksli0sj5ldkgybcs1s865f0qdak2w8796xvy8dg9jda8";
+ };
+
+ postPatch = ''
+ substituteInPlace src/waypipe.c \
+ --replace "/usr/bin/ssh" "${openssh}/bin/ssh"
+ '';
+
+ nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
+
+ buildInputs = [
+ wayland wayland-protocols
+ # Optional dependencies:
+ mesa lz4 zstd ffmpeg_4 libva
+ ];
+
+ enableParallelBuilding = true;
+
+ mesonFlags = [ "-Dwerror=false" ]; # TODO: Report warnings upstream
+
+ meta = with stdenv.lib; {
+ description = "A network proxy for Wayland clients (applications)";
+ longDescription = ''
+ waypipe is a proxy for Wayland clients. It forwards Wayland messages and
+ serializes changes to shared memory buffers over a single socket. This
+ makes application forwarding similar to ssh -X feasible.
+ '';
+ homepage = https://mstoeckl.com/notes/gsoc/blog.html;
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ primeos ];
+ };
+}
diff --git a/pkgs/applications/networking/remote/x2goclient/default.nix b/pkgs/applications/networking/remote/x2goclient/default.nix
index 87fe60c7740..13bcbf9b57e 100644
--- a/pkgs/applications/networking/remote/x2goclient/default.nix
+++ b/pkgs/applications/networking/remote/x2goclient/default.nix
@@ -1,19 +1,18 @@
{ stdenv, fetchgit, cups, libssh, libXpm, nx-libs, openldap, openssh
-, makeWrapper, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }:
+, mkDerivation, qtbase, qtsvg, qtx11extras, qttools, phonon, pkgconfig }:
-stdenv.mkDerivation rec {
+mkDerivation {
pname = "x2goclient";
- version = "unstable-2018-11-30";
+ version = "unstable-2019-07-24";
src = fetchgit {
url = "git://code.x2go.org/x2goclient.git";
- rev = "659655675f11ffd361ab9fb48fa77a01a1536fe8";
- sha256 = "05gfs11m259bchy3k0ihqpwg9wf8lp94rbca5dzla9fjzrb7pyy4";
+ rev = "704c4ab92d20070dd160824c9b66a6d1c56dcc49";
+ sha256 = "1pndp3lfzwifyxqq0gps3p1bwakw06clbk6n8viv020l4bsfmq5f";
};
buildInputs = [ cups libssh libXpm nx-libs openldap openssh
qtbase qtsvg qtx11extras qttools phonon pkgconfig ];
- nativeBuildInputs = [ makeWrapper ];
postPatch = ''
substituteInPlace Makefile \
@@ -28,9 +27,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installTargets = [ "install_client" "install_man" ];
- postInstall = ''
- wrapProgram "$out/bin/x2goclient" --suffix PATH : "${nx-libs}/bin:${openssh}/libexec";
- '';
+
+ qtWrapperArgs = [ ''--suffix PATH : ${nx-libs}/bin:${openssh}/libexec'' ];
meta = with stdenv.lib; {
description = "Graphical NoMachine NX3 remote desktop client";
diff --git a/pkgs/applications/networking/remote/x2goserver/default.nix b/pkgs/applications/networking/remote/x2goserver/default.nix
new file mode 100644
index 00000000000..f69d2326217
--- /dev/null
+++ b/pkgs/applications/networking/remote/x2goserver/default.nix
@@ -0,0 +1,93 @@
+{ stdenv, lib, fetchurl, perlPackages, makeWrapper, perl, which, nx-libs
+, utillinux, coreutils, glibc, gawk, gnused, gnugrep, findutils, xorg
+, nettools, iproute, bc, procps, psmisc, lsof, pwgen, openssh, sshfs, bash
+}:
+
+let
+ pname = "x2goserver";
+ version = "4.1.0.3";
+
+ src = fetchurl {
+ url = "http://code.x2go.org/releases/source/x2goserver/${pname}-${version}.tar.gz";
+ sha256 = "1l6wd708kbipib4ldprfiihqmj4895nifg0bkws4x97majislxk7";
+ };
+
+ x2go-perl = perlPackages.buildPerlPackage rec {
+ pname = "X2Go";
+ inherit version src;
+ makeFlags = [ "-f" "Makefile.perl" ];
+ patchPhase = ''
+ substituteInPlace X2Go/Config.pm --replace '/etc/x2go' '/var/lib/x2go/conf'
+ substituteInPlace X2Go/Server/DB.pm \
+ --replace '$x2go_lib_path/libx2go-server-db-sqlite3-wrapper' \
+ '/run/wrappers/bin/x2gosqliteWrapper'
+ substituteInPlace X2Go/Server/DB/SQLite3.pm --replace "user='x2gouser'" "user='x2go'"
+ '';
+ };
+
+ perlEnv = perl.withPackages (p: with p; [
+ x2go-perl DBI DBDSQLite FileBaseDir TryTiny CaptureTiny ConfigSimple Switch
+ ]);
+
+ binaryDeps = [
+ perlEnv which nx-libs utillinux coreutils glibc.bin gawk gnused gnugrep
+ findutils nettools iproute bc procps psmisc lsof pwgen openssh sshfs
+ xorg.xauth xorg.xinit xorg.xrandr xorg.xmodmap xorg.xwininfo xorg.fontutil
+ xorg.xkbcomp xorg.setxkbmap
+ ];
+in
+stdenv.mkDerivation rec {
+ inherit pname version src;
+
+ buildInputs = [ perlEnv bash ];
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ prePatch = ''
+ patchShebangs .
+ sed -i '/Makefile.PL\|Makefile.perl/d' Makefile
+ for i in */Makefile; do
+ substituteInPlace "$i" --replace "-o root -g root " ""
+ done
+ substituteInPlace libx2go-server-db-perl/Makefile --replace "chmod 2755" "chmod 755"
+ for i in x2goserver/sbin/x2godbadmin x2goserver/bin/x2go*
+ do
+ substituteInPlace $i --replace '/etc/x2go' '/var/lib/x2go/conf'
+ done
+ substituteInPlace x2goserver/sbin/x2gocleansessions \
+ --replace '/var/run/x2goserver.pid' '/var/run/x2go/x2goserver.pid'
+ substituteInPlace x2goserver/sbin/x2godbadmin --replace 'user="x2gouser"' 'user="x2go"'
+ substituteInPlace x2goserver-xsession/etc/Xsession \
+ --replace "SSH_AGENT /bin/bash -c" "SSH_AGENT ${bash}/bin/bash -c" \
+ --replace "[ -f /etc/redhat-release ]" "[ -d /etc/nix ] || [ -f /etc/redhat-release ]"
+ '';
+
+ makeFlags = [ "PREFIX=/" "NXLIBDIR=${nx-libs}/lib/nx" ];
+
+ installFlags = [ "DESTDIR=$(out)" ];
+
+ postInstall = ''
+ mv $out/etc/x2go/x2goserver.conf{,.example}
+ mv $out/etc/x2go/x2goagent.options{,.example}
+ ln -sf ${nx-libs}/bin/nxagent $out/bin/x2goagent
+ for i in $out/sbin/x2go* $(find $out/bin -type f) \
+ $(ls $out/lib/x2go/x2go* | grep -v x2gocheckport)
+ do
+ wrapProgram $i --prefix PATH : ${lib.makeBinPath binaryDeps}:$out
+ done
+ # We're patching @INC of the setgid wrapper, because we can't mix
+ # the perl wrapper (for PERL5LIB) with security.wrappers (for setgid)
+ sed -ie "s,.\+bin/perl,#!${perl}/bin/perl -I ${perlEnv}/lib/perl5/site_perl," \
+ $out/lib/x2go/libx2go-server-db-sqlite3-wrapper.pl
+ '';
+
+ enableParallelBuilding = true;
+
+ meta = with stdenv.lib; {
+ description = "Remote desktop application, server component";
+ homepage = "http://x2go.org/";
+ platforms = stdenv.lib.platforms.linux;
+ license = licenses.gpl2;
+ maintainers = [ maintainers.averelld ];
+ };
+}
diff --git a/pkgs/applications/networking/remote/xrdp/default.nix b/pkgs/applications/networking/remote/xrdp/default.nix
index 442881398f6..5d33f186df7 100644
--- a/pkgs/applications/networking/remote/xrdp/default.nix
+++ b/pkgs/applications/networking/remote/xrdp/default.nix
@@ -2,7 +2,7 @@
let
xorgxrdp = stdenv.mkDerivation rec {
- name = "xorgxrdp-${version}";
+ pname = "xorgxrdp";
version = "0.2.9";
src = fetchFromGitHub {
@@ -35,7 +35,7 @@ let
xrdp = stdenv.mkDerivation rec {
version = "0.9.9";
- name = "xrdp-${version}";
+ pname = "xrdp";
src = fetchFromGitHub {
owner = "volth";
diff --git a/pkgs/applications/networking/resilio-sync/default.nix b/pkgs/applications/networking/resilio-sync/default.nix
index 1844711066b..e9d0727d31c 100644
--- a/pkgs/applications/networking/resilio-sync/default.nix
+++ b/pkgs/applications/networking/resilio-sync/default.nix
@@ -2,20 +2,20 @@
let
arch = {
- "x86_64-linux" = "x64";
- "i686-linux" = "i386";
+ x86_64-linux = "x64";
+ i686-linux = "i386";
}.${stdenv.hostPlatform.system} or (throw "Unsupported system: ${stdenv.hostPlatform.system}");
libPath = stdenv.lib.makeLibraryPath [ stdenv.cc.libc ];
in stdenv.mkDerivation rec {
- name = "resilio-sync-${version}";
+ pname = "resilio-sync";
version = "2.6.3";
src = fetchurl {
url = "https://download-cdn.resilio.com/${version}/linux-${arch}/resilio-sync_${arch}.tar.gz";
sha256 = {
- "x86_64-linux" = "114k7dsxn7lzv6mjq9alsqxypvkah4lmjn5w6brbvgd6m6pdwslz";
- "i686-linux" = "1dh0hxbd33bs51xib3qwxw58h9j30v0dc10b4x4rwkbgsj11nc83";
+ x86_64-linux = "114k7dsxn7lzv6mjq9alsqxypvkah4lmjn5w6brbvgd6m6pdwslz";
+ i686-linux = "1dh0hxbd33bs51xib3qwxw58h9j30v0dc10b4x4rwkbgsj11nc83";
}.${stdenv.hostPlatform.system};
};
diff --git a/pkgs/applications/networking/seafile-client/default.nix b/pkgs/applications/networking/seafile-client/default.nix
index 543afc696ea..16430d31e83 100644
--- a/pkgs/applications/networking/seafile-client/default.nix
+++ b/pkgs/applications/networking/seafile-client/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools
-, seafile-shared, ccnet, makeWrapper
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools
+, seafile-shared, ccnet
, withShibboleth ? true, qtwebengine }:
with stdenv.lib;
-stdenv.mkDerivation rec {
+mkDerivation rec {
version = "6.2.11";
- name = "seafile-client-${version}";
+ pname = "seafile-client";
src = fetchFromGitHub {
owner = "haiwen";
@@ -15,17 +15,16 @@ stdenv.mkDerivation rec {
sha256 = "1b8jqmr2qd3bpb3sr4p5w2a76x5zlknkj922sxrvw1rdwqhkb2pj";
};
- nativeBuildInputs = [ pkgconfig cmake makeWrapper ];
+ nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [ qtbase qttools seafile-shared ]
++ optional withShibboleth qtwebengine;
cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" ]
++ optional withShibboleth "-DBUILD_SHIBBOLETH_SUPPORT=ON";
- postInstall = ''
- wrapProgram $out/bin/seafile-applet \
- --suffix PATH : ${stdenv.lib.makeBinPath [ ccnet seafile-shared ]}
- '';
+ qtWrapperArgs = [
+ "--suffix PATH : ${stdenv.lib.makeBinPath [ ccnet seafile-shared ]}"
+ ];
meta = with stdenv.lib; {
homepage = https://github.com/haiwen/seafile-client;
diff --git a/pkgs/applications/networking/sieve-connect/default.nix b/pkgs/applications/networking/sieve-connect/default.nix
index 55d473bc104..dc578dccd19 100644
--- a/pkgs/applications/networking/sieve-connect/default.nix
+++ b/pkgs/applications/networking/sieve-connect/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, makeWrapper, perlPackages }:
stdenv.mkDerivation rec {
- name = "sieve-connect-${version}";
- version = "0.89";
+ pname = "sieve-connect";
+ version = "0.90";
src = fetchFromGitHub {
owner = "philpennock";
repo = "sieve-connect";
rev = "v${version}";
- sha256 = "0g7cv29wd5673inl4c87xb802k86bj6gcwh131xrbbg0a0g1c8fp";
+ sha256 = "1ghvfa5ifa68b6imh85bkmy00r93c5f9hs6d039axb73gmma580p";
};
buildInputs = [ perlPackages.perl ];
diff --git a/pkgs/applications/networking/sniffers/ettercap/default.nix b/pkgs/applications/networking/sniffers/ettercap/default.nix
index 13d536ccf1b..dbff491fa80 100644
--- a/pkgs/applications/networking/sniffers/ettercap/default.nix
+++ b/pkgs/applications/networking/sniffers/ettercap/default.nix
@@ -1,34 +1,23 @@
{ stdenv, fetchFromGitHub, cmake, libpcap, libnet, zlib, curl, pcre
-, openssl, ncurses, glib, gtk2, atk, pango, flex, bison
-, fetchpatch }:
+, openssl, ncurses, glib, gtk3, atk, pango, flex, bison, geoip
+, pkgconfig }:
stdenv.mkDerivation rec {
- name = "ettercap-${version}";
- version = "0.8.2";
+ pname = "ettercap";
+ version = "0.8.3";
src = fetchFromGitHub {
owner = "Ettercap";
repo = "ettercap";
rev = "v${version}";
- sha256 = "1kvrzv2f8kxy7pndfadkzv10cs5wsyfkaa1ski20r2mq4wrvd0cd";
+ sha256 = "0m40bmbrv9a8qlg54z3b5f8r541gl9vah5hm0bbqcgyyljpg39bz";
};
- patches = [
- (fetchpatch {
- name = "CVE-2017-8366.patch";
- url = "https://github.com/Ettercap/ettercap/commit/1083d604930ebb9f350126b83802ecd2cbc17f90.patch";
- sha256 = "1ff6fp8fxisvd3fkkd01y4fjykgcj414kczzpfscdmi52ridwg8m";
- })
- (fetchpatch {
- name = "CVE-2017-6430.patch";
- url = "https://github.com/Ettercap/ettercap/commit/7f50c57b2101fe75592c8dc9960883bbd1878bce.patch";
- sha256 = "0s13nc9yzxzp611rixsd1c8aw1b57q2lnvfq8wawxyrw07h7b2j4";
- })
- ];
-
+ strictDeps = true;
+ nativeBuildInputs = [ cmake flex bison pkgconfig ];
buildInputs = [
- cmake libpcap libnet zlib curl pcre openssl ncurses
- glib gtk2 atk pango flex bison
+ libpcap libnet zlib curl pcre openssl ncurses
+ glib gtk3 atk pango geoip
];
preConfigure = ''
@@ -37,8 +26,8 @@ stdenv.mkDerivation rec {
'';
cmakeFlags = [
- "-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
- "-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include"
+ "-DBUNDLED_LIBS=Off"
+ "-DGTK3_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include"
];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/networking/sniffers/kismet/default.nix b/pkgs/applications/networking/sniffers/kismet/default.nix
index 0c793c41c55..0005a5d230d 100644
--- a/pkgs/applications/networking/sniffers/kismet/default.nix
+++ b/pkgs/applications/networking/sniffers/kismet/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libpcap, ncurses, expat, pcre, libnl }:
stdenv.mkDerivation rec {
- name = "kismet-${version}";
+ pname = "kismet";
version = "2016-07-R1";
src = fetchurl {
- url = "https://www.kismetwireless.net/code/${name}.tar.xz";
+ url = "https://www.kismetwireless.net/code/${pname}-${version}.tar.xz";
sha256 = "0dz28y4ay4lskhl0lawqy2dkcrhgfkbg06v22qxzzw8i6caizcmx";
};
diff --git a/pkgs/applications/networking/sniffers/sngrep/default.nix b/pkgs/applications/networking/sniffers/sngrep/default.nix
new file mode 100644
index 00000000000..5c536b8aec2
--- /dev/null
+++ b/pkgs/applications/networking/sniffers/sngrep/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, autoconf, automake, fetchFromGitHub, libpcap, ncurses, openssl, pcre }:
+
+stdenv.mkDerivation rec {
+ pname = "sngrep";
+ version = "1.4.6";
+
+ src = fetchFromGitHub {
+ owner = "irontec";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0fj13pim5bfm3a2nr05apspraf29klpmcnhmycklfmrlncq5xqdf";
+ };
+
+ buildInputs = [
+ libpcap ncurses pcre openssl ncurses
+ ];
+
+ nativeBuildInputs = [
+ autoconf automake
+ ];
+
+ configureFlags = [
+ "--with-pcre"
+ "--enable-unicode"
+ "--enable-ipv6"
+ "--enable-eep"
+ ];
+
+ preConfigure = "./bootstrap.sh";
+
+ meta = with stdenv.lib; {
+ description = "A tool for displaying SIP calls message flows from terminal";
+ homepage = "https://github.com/irontec/sngrep";
+ license = licenses.gpl3;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ jorise ];
+ };
+}
diff --git a/pkgs/applications/networking/sniffers/wireshark/default.nix b/pkgs/applications/networking/sniffers/wireshark/default.nix
index 35d60497ba8..aa965a0c868 100644
--- a/pkgs/applications/networking/sniffers/wireshark/default.nix
+++ b/pkgs/applications/networking/sniffers/wireshark/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, pcre, perl, flex, bison, gettext, libpcap, libnl, c-ares
, gnutls, libgcrypt, libgpgerror, geoip, openssl, lua5, python3, libcap, glib
-, libssh, nghttp2, zlib, cmake, extra-cmake-modules, fetchpatch, makeWrapper
+, libssh, nghttp2, zlib, cmake, fetchpatch, makeWrapper
, withQt ? true, qt5 ? null
, ApplicationServices, SystemConfiguration, gmp
}:
@@ -10,7 +10,7 @@ assert withQt -> qt5 != null;
with stdenv.lib;
let
- version = "3.0.1";
+ version = "3.0.3";
variant = if withQt then "qt" else "cli";
in stdenv.mkDerivation {
@@ -20,7 +20,7 @@ in stdenv.mkDerivation {
src = fetchurl {
url = "https://www.wireshark.org/download/src/all-versions/wireshark-${version}.tar.xz";
- sha256 = "13605bpnnbqsdr8ybqnscbz9g422zmyymn4q5aci28vc1wylr1l6";
+ sha256 = "0711jilp9sbgi46d105m3galw8n4wk5yncawi08031qxg2f754mg";
};
cmakeFlags = [
@@ -29,8 +29,8 @@ in stdenv.mkDerivation {
];
nativeBuildInputs = [
- bison cmake extra-cmake-modules flex pkgconfig
- ];
+ bison cmake flex pkgconfig
+ ] ++ optional withQt qt5.wrapQtAppsHook;
buildInputs = [
gettext pcre perl libpcap lua5 libssh nghttp2 openssl libgcrypt
@@ -70,12 +70,9 @@ in stdenv.mkDerivation {
done
done
- wrapProgram $out/Applications/Wireshark.app/Contents/MacOS/Wireshark \
- --set QT_PLUGIN_PATH ${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}
+ wrapQtApp $out/Applications/Wireshark.app/Contents/MacOS/Wireshark
'' else optionalString withQt ''
install -Dm644 -t $out/share/applications ../wireshark.desktop
- wrapProgram $out/bin/wireshark \
- --set QT_PLUGIN_PATH ${qt5.qtbase.bin}/${qt5.qtbase.qtPluginPrefix}
substituteInPlace $out/share/applications/*.desktop \
--replace "Exec=wireshark" "Exec=$out/bin/wireshark"
diff --git a/pkgs/applications/networking/sniproxy/default.nix b/pkgs/applications/networking/sniproxy/default.nix
index 10bb465b8a1..301802d322b 100644
--- a/pkgs/applications/networking/sniproxy/default.nix
+++ b/pkgs/applications/networking/sniproxy/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gettext, libev, pcre, pkgconfig, udns }:
stdenv.mkDerivation rec {
- name = "sniproxy-${version}";
+ pname = "sniproxy";
version = "0.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/soapui/default.nix b/pkgs/applications/networking/soapui/default.nix
index 1034acf0b90..9de525d9324 100644
--- a/pkgs/applications/networking/soapui/default.nix
+++ b/pkgs/applications/networking/soapui/default.nix
@@ -1,7 +1,7 @@
{ fetchurl, stdenv, writeText, jdk, maven, makeWrapper }:
stdenv.mkDerivation rec {
- name = "soapui-${version}";
+ pname = "soapui";
version = "5.5.0";
src = fetchurl {
diff --git a/pkgs/applications/networking/soulseek/nicotine-plus/default.nix b/pkgs/applications/networking/soulseek/nicotine-plus/default.nix
index a38a9140b49..158e6c5dad1 100644
--- a/pkgs/applications/networking/soulseek/nicotine-plus/default.nix
+++ b/pkgs/applications/networking/soulseek/nicotine-plus/default.nix
@@ -2,7 +2,7 @@
with stdenv.lib;
-python27Packages.buildPythonApplication rec {
+python27Packages.buildPythonApplication {
pname = "nicotine-plus";
version = "1.4.1";
diff --git a/pkgs/applications/networking/spideroak/default.nix b/pkgs/applications/networking/spideroak/default.nix
index d96a810ee05..11c8af368b9 100644
--- a/pkgs/applications/networking/spideroak/default.nix
+++ b/pkgs/applications/networking/spideroak/default.nix
@@ -14,7 +14,8 @@ let
version = "7.5.0";
in stdenv.mkDerivation {
- name = "spideroak-${version}";
+ pname = "spideroak";
+ inherit version;
src = fetchurl {
name = "SpiderOakONE-${version}-slack_tar_x64.tgz";
diff --git a/pkgs/applications/networking/ssb/patchwork-classic/default.nix b/pkgs/applications/networking/ssb/patchwork-classic/default.nix
index 1f8d0cba6d0..74a02f47c3b 100644
--- a/pkgs/applications/networking/ssb/patchwork-classic/default.nix
+++ b/pkgs/applications/networking/ssb/patchwork-classic/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchurl, lib, makeWrapper,
# build dependencies
alsaLib, atk, cairo, cups, dbus, expat, fontconfig,
- freetype, gdk_pixbuf, glib, gnome2, nspr, nss, xorg,
+ freetype, gdk-pixbuf, glib, gnome2, nspr, nss, xorg,
glibc, systemd
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "2.12.0";
- name = "patchwork-classic-${version}";
+ pname = "patchwork-classic";
src = fetchurl {
url = "https://github.com/ssbc/patchwork-classic-electron/releases/download/v2.12.0/ssb-patchwork-electron_2.12.0_linux-amd64.deb";
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
expat
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.GConf
gnome2.gtk
@@ -99,7 +99,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Electron wrapper for Patchwork Classic: run as a desktop app outside the browser";
homepage = "https://github.com/ssbc/patchwork-classic-electron";
- license = licenses.gpl3;
+ license = licenses.gpl3;
maintainers = with maintainers; [ mrVanDalo ];
platforms = platforms.linux;
};
diff --git a/pkgs/applications/networking/ssb/patchwork/default.nix b/pkgs/applications/networking/ssb/patchwork/default.nix
index c8b8b5ef333..349c4f5e799 100644
--- a/pkgs/applications/networking/ssb/patchwork/default.nix
+++ b/pkgs/applications/networking/ssb/patchwork/default.nix
@@ -1,46 +1,53 @@
-{
- stdenv,
- appimage-run,
- fetchurl,
- runtimeShell,
- gsettings-desktop-schemas,
- gtk3,
- gobject-introspection,
- wrapGAppsHook,
-}:
+{ appimageTools, symlinkJoin, lib, fetchurl, makeDesktopItem }:
-stdenv.mkDerivation rec {
- # latest version that runs without errors
- # https://github.com/ssbc/patchwork/issues/972
- version = "3.11.4";
- pname = "patchwork";
+let
+ pname = "ssb-patchwork";
+ version = "3.16.2";
+ name = "${pname}-${version}";
src = fetchurl {
- url = "https://github.com/ssbc/patchwork/releases/download/v${version}/Patchwork-${version}-linux-x86_64.AppImage";
- sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
+ url = "https://github.com/ssbc/patchwork/releases/download/v${version}/${pname}-${version}-x86_64.AppImage";
+ sha256 = "0hi9ysmwhiiww82a3mqdd2b1anj7qa41b46f6zb3q9d0b8nmvlz4";
};
- nativeBuildInputs = [ wrapGAppsHook ];
- buildInputs = [ appimage-run gtk3 gsettings-desktop-schemas gobject-introspection ];
+ binary = appimageTools.wrapType2 {
+ name = pname;
+ inherit src;
+ };
+ # we only use this to extract the icon
+ appimage-contents = appimageTools.extractType2 {
+ inherit name src;
+ };
- unpackPhase = ":";
+ desktopItem = makeDesktopItem {
+ name = "ssb-patchwork";
+ exec = "${binary}/bin/ssb-patchwork";
+ icon = "ssb-patchwork.png";
+ comment = "Decentralized messaging and sharing app";
+ desktopName = "Patchwork";
+ genericName = "Patchwork";
+ categories = "Network;";
+ };
- installPhase = ''
- mkdir -p $out/{bin,share}
- cp $src $out/share/${pname}
- echo "#!${runtimeShell}" > $out/bin/${pname}
- echo "${appimage-run}/bin/appimage-run $out/share/${pname}" >> $out/bin/${pname}
- chmod +x $out/bin/${pname} $out/share/${pname}
- '';
+in
+ symlinkJoin {
+ inherit name;
+ paths = [ binary ];
- meta = with stdenv.lib; {
- description = "A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB).";
+ postBuild = ''
+ mkdir -p $out/share/pixmaps/ $out/share/applications
+ cp ${appimage-contents}/ssb-patchwork.png $out/share/pixmaps
+ cp ${desktopItem}/share/applications/* $out/share/applications/
+ '';
+
+ meta = with lib; {
+ description = "A decentralized messaging and sharing app built on top of Secure Scuttlebutt (SSB)";
longDescription = ''
sea-slang for gossip - a scuttlebutt is basically a watercooler on a ship.
'';
homepage = https://www.scuttlebutt.nz/;
license = licenses.agpl3;
- maintainers = with maintainers; [ thedavidmeister ];
+ maintainers = with maintainers; [ thedavidmeister ninjatrappeur flokli ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/networking/super-productivity/default.nix b/pkgs/applications/networking/super-productivity/default.nix
index 9bb4254c64a..c5ff090a807 100644
--- a/pkgs/applications/networking/super-productivity/default.nix
+++ b/pkgs/applications/networking/super-productivity/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, dpkg, makeWrapper
, alsaLib, atk, cairo, cups, curl, dbus, expat, fontconfig, freetype, glib
-, gnome2, gtk3, gdk_pixbuf, libnotify, libxcb, nspr, nss, pango
+, gnome2, gtk3, gdk-pixbuf, libnotify, libxcb, nspr, nss, pango
, systemd, xorg, xprintidle-ng }:
let
@@ -19,7 +19,7 @@ let
freetype
glib
gnome2.GConf
- gdk_pixbuf
+ gdk-pixbuf
gtk3
pango
libnotify
@@ -53,7 +53,8 @@ let
throw "super-productivity is not supported on ${stdenv.hostPlatform.system}";
in stdenv.mkDerivation {
- name = "super-productivity-${version}";
+ pname = "super-productivity";
+ inherit version;
inherit src;
diff --git a/pkgs/applications/networking/sync/acd_cli/default.nix b/pkgs/applications/networking/sync/acd_cli/default.nix
index e4ba29d3a9f..669ab4d1e3e 100644
--- a/pkgs/applications/networking/sync/acd_cli/default.nix
+++ b/pkgs/applications/networking/sync/acd_cli/default.nix
@@ -3,7 +3,6 @@
, fusepy, sqlalchemy }:
buildPythonApplication rec {
- name = pname + "-" + version;
pname = "acd_cli";
version = "0.3.2";
diff --git a/pkgs/applications/networking/sync/backintime/common.nix b/pkgs/applications/networking/sync/backintime/common.nix
index fae838a7d5f..36c4dd46222 100644
--- a/pkgs/applications/networking/sync/backintime/common.nix
+++ b/pkgs/applications/networking/sync/backintime/common.nix
@@ -5,7 +5,7 @@ let
in stdenv.mkDerivation rec {
version = "1.1.24";
- name = "backintime-common-${version}";
+ pname = "backintime-common";
src = fetchFromGitHub {
owner = "bit-team";
diff --git a/pkgs/applications/networking/sync/backintime/qt4.nix b/pkgs/applications/networking/sync/backintime/qt4.nix
index 26288f9f6e6..b72ddc8bae6 100644
--- a/pkgs/applications/networking/sync/backintime/qt4.nix
+++ b/pkgs/applications/networking/sync/backintime/qt4.nix
@@ -1,9 +1,9 @@
{stdenv, makeWrapper, gettext, backintime-common, python3, python3Packages }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit (backintime-common) version src installFlags;
- name = "backintime-qt4-${version}";
+ pname = "backintime-qt4";
buildInputs = [ makeWrapper gettext python3 python3Packages.pyqt4 backintime-common python3 ];
diff --git a/pkgs/applications/networking/sync/casync/default.nix b/pkgs/applications/networking/sync/casync/default.nix
index 8d9b941e26e..cdec695d90f 100644
--- a/pkgs/applications/networking/sync/casync/default.nix
+++ b/pkgs/applications/networking/sync/casync/default.nix
@@ -7,8 +7,8 @@
, glibcLocales, rsync
}:
-stdenv.mkDerivation rec {
- name = "casync-${version}";
+stdenv.mkDerivation {
+ pname = "casync";
version = "2-152-ge4a3c5e";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/sync/desync/default.nix b/pkgs/applications/networking/sync/desync/default.nix
index 6dcd451533a..d38f8b53dbb 100644
--- a/pkgs/applications/networking/sync/desync/default.nix
+++ b/pkgs/applications/networking/sync/desync/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "desync-${version}";
+ pname = "desync";
version = "0.4.0";
rev = "v${version}";
diff --git a/pkgs/applications/networking/sync/lsyncd/default.nix b/pkgs/applications/networking/sync/lsyncd/default.nix
index b0315ee3477..832f7c63f27 100644
--- a/pkgs/applications/networking/sync/lsyncd/default.nix
+++ b/pkgs/applications/networking/sync/lsyncd/default.nix
@@ -2,7 +2,7 @@
asciidoc, libxml2, docbook_xml_dtd_45, docbook_xsl, libxslt }:
stdenv.mkDerivation rec {
- name = "lsyncd-${version}";
+ pname = "lsyncd";
version = "2.2.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/sync/rclone/browser.nix b/pkgs/applications/networking/sync/rclone/browser.nix
index 4325c8ea88a..00edcd411fd 100644
--- a/pkgs/applications/networking/sync/rclone/browser.nix
+++ b/pkgs/applications/networking/sync/rclone/browser.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, qtbase }:
stdenv.mkDerivation rec {
- name = "rclone-browser-${version}";
+ pname = "rclone-browser";
version = "1.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/sync/rclone/default.nix b/pkgs/applications/networking/sync/rclone/default.nix
index fcfa1a55223..3e93dcc4440 100644
--- a/pkgs/applications/networking/sync/rclone/default.nix
+++ b/pkgs/applications/networking/sync/rclone/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "rclone";
- version = "1.47.0";
+ version = "1.49.2";
src = fetchFromGitHub {
- owner = "ncw";
+ owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "1nxwjr9jly6wh1ixr6a7zhlg4b3298v940040fsm0n3lcljd37zx";
+ sha256 = "1a90fr7cw78qhwdgkjwshap345jk1ipm3nnk7xf3nayiyibvk5dg";
};
- modSha256 = "02p5dd450bbfyq80nd0w8f9kpv25k1855mf0gcv0cy9zq3f3r7q7";
+ modSha256 = "158mpmy8q67dk1ks9p926n1670gsk7rhd0vpjh44f4g64ddnhk03";
subPackages = [ "." ];
diff --git a/pkgs/applications/networking/sync/rsync/rrsync.nix b/pkgs/applications/networking/sync/rsync/rrsync.nix
index e5c04798aab..19e2eaa5fa2 100644
--- a/pkgs/applications/networking/sync/rsync/rrsync.nix
+++ b/pkgs/applications/networking/sync/rsync/rrsync.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, fetchpatch, perl, rsync }:
+{ stdenv, fetchurl, perl, rsync }:
let
base = import ./base.nix { inherit stdenv fetchurl; };
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "rrsync-${base.version}";
src = base.src;
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
# Skip configure and build phases.
# We just want something from the support directory
- configurePhase = "true";
+ dontConfigure = true;
dontBuild = true;
postPatch = ''
diff --git a/pkgs/applications/networking/sync/unison/default.nix b/pkgs/applications/networking/sync/unison/default.nix
index ad5a35eb251..bc93b743f8b 100644
--- a/pkgs/applications/networking/sync/unison/default.nix
+++ b/pkgs/applications/networking/sync/unison/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation (rec {
- name = "unison-${version}";
+ pname = "unison";
version = "2.51.2";
src = fetchFromGitHub {
owner = "bcpierce00";
diff --git a/pkgs/applications/networking/syncplay/default.nix b/pkgs/applications/networking/syncplay/default.nix
index 4f4eaf30245..3e5d3187e9b 100644
--- a/pkgs/applications/networking/syncplay/default.nix
+++ b/pkgs/applications/networking/syncplay/default.nix
@@ -1,21 +1,23 @@
-{ stdenv, fetchurl, python3Packages }:
+{ lib, fetchFromGitHub, buildPythonApplication, pyside, twisted, certifi }:
-python3Packages.buildPythonApplication rec {
- name = "syncplay-${version}";
- version = "1.6.3";
+buildPythonApplication rec {
+ pname = "syncplay";
+ version = "1.6.4";
format = "other";
- src = fetchurl {
- url = https://github.com/Syncplay/syncplay/archive/v1.6.3.tar.gz;
- sha256 = "151p1njlp3dp3pfr3l3m6ia5829zvjyjh4p45j6rgnicbh8sqrgs";
+ src = fetchFromGitHub {
+ owner = "Syncplay";
+ repo = "syncplay";
+ rev = "v${version}";
+ sha256 = "0afh2a0l1c3hwgj5q6wy0v5iimg8qcjam3pw7b8mf63lasx6iqk4";
};
- propagatedBuildInputs = with python3Packages; [ pyside twisted ];
+ propagatedBuildInputs = [ pyside twisted certifi ] ++ twisted.extras.tls;
makeFlags = [ "DESTDIR=" "PREFIX=$(out)" ];
- meta = with stdenv.lib; {
+ meta = with lib; {
homepage = https://syncplay.pl/;
description = "Free software that synchronises media players";
license = licenses.asl20;
diff --git a/pkgs/applications/networking/syncthing-gtk/default.nix b/pkgs/applications/networking/syncthing-gtk/default.nix
index 696ced2d246..9317ccab4ea 100644
--- a/pkgs/applications/networking/syncthing-gtk/default.nix
+++ b/pkgs/applications/networking/syncthing-gtk/default.nix
@@ -1,11 +1,12 @@
{ stdenv, fetchFromGitHub, fetchpatch, libnotify, librsvg, killall
, gtk3, libappindicator-gtk3, substituteAll, syncthing, wrapGAppsHook
, gnome3, buildPythonApplication, dateutil, pyinotify, pygobject3
-, bcrypt, gobject-introspection, gsettings-desktop-schemas }:
+, bcrypt, gobject-introspection, gsettings-desktop-schemas
+, pango, gdk-pixbuf, atk }:
buildPythonApplication rec {
version = "0.9.4";
- name = "syncthing-gtk-${version}";
+ pname = "syncthing-gtk";
src = fetchFromGitHub {
owner = "syncthing";
@@ -18,6 +19,7 @@ buildPythonApplication rec {
wrapGAppsHook
# For setup hook populating GI_TYPELIB_PATH
gobject-introspection
+ pango gdk-pixbuf atk libnotify
];
buildInputs = [
diff --git a/pkgs/applications/networking/syncthing/default.nix b/pkgs/applications/networking/syncthing/default.nix
index ccb346868a1..7bfe697105e 100644
--- a/pkgs/applications/networking/syncthing/default.nix
+++ b/pkgs/applications/networking/syncthing/default.nix
@@ -1,21 +1,21 @@
-{ buildGoPackage, fetchpatch, stdenv, lib, procps, fetchFromGitHub }:
+{ buildGoModule, stdenv, lib, procps, fetchFromGitHub }:
let
common = { stname, target, postInstall ? "" }:
- buildGoPackage rec {
- version = "1.1.3";
+ buildGoModule rec {
+ version = "1.2.2";
name = "${stname}-${version}";
src = fetchFromGitHub {
owner = "syncthing";
repo = "syncthing";
rev = "v${version}";
- sha256 = "00jshqa0nkwj06bfq16p359ss6nl6h49s31hag79wl9gwkca38va";
+ sha256 = "0zkyjnjrla0vpvidwwr4z4kxc9cyjcfbjdzsr34xz7rw3jswswm9";
};
goPackagePath = "github.com/syncthing/syncthing";
- goDeps = ./deps.nix;
+ modSha256 = "0pp2gjx227crggph924q7sg6ak8nyl8nlsffpmawq4zl1908lsrd";
patches = [
./add-stcli-target.patch
@@ -25,18 +25,14 @@ let
buildPhase = ''
runHook preBuild
- pushd go/src/${goPackagePath}
go run build.go -no-upgrade -version v${version} build ${target}
- popd
runHook postBuild
'';
installPhase = ''
- pushd go/src/${goPackagePath}
runHook preInstall
- install -Dm755 ${target} $bin/bin/${target}
+ install -Dm755 ${target} $out/bin/${target}
runHook postInstall
- popd
'';
inherit postInstall;
@@ -65,19 +61,19 @@ in {
done
'' + lib.optionalString (stdenv.isLinux) ''
- mkdir -p $bin/lib/systemd/{system,user}
+ mkdir -p $out/lib/systemd/{system,user}
substitute etc/linux-systemd/system/syncthing-resume.service \
- $bin/lib/systemd/system/syncthing-resume.service \
+ $out/lib/systemd/system/syncthing-resume.service \
--replace /usr/bin/pkill ${procps}/bin/pkill
substitute etc/linux-systemd/system/syncthing@.service \
- $bin/lib/systemd/system/syncthing@.service \
- --replace /usr/bin/syncthing $bin/bin/syncthing
+ $out/lib/systemd/system/syncthing@.service \
+ --replace /usr/bin/syncthing $out/bin/syncthing
substitute etc/linux-systemd/user/syncthing.service \
- $bin/lib/systemd/user/syncthing.service \
- --replace /usr/bin/syncthing $bin/bin/syncthing
+ $out/lib/systemd/user/syncthing.service \
+ --replace /usr/bin/syncthing $out/bin/syncthing
'';
};
@@ -101,7 +97,7 @@ in {
substitute cmd/strelaysrv/etc/linux-systemd/strelaysrv.service \
$out/lib/systemd/system/strelaysrv.service \
- --replace /usr/bin/strelaysrv $bin/bin/strelaysrv
+ --replace /usr/bin/strelaysrv $out/bin/strelaysrv
'';
};
}
diff --git a/pkgs/applications/networking/syncthing/deps.nix b/pkgs/applications/networking/syncthing/deps.nix
deleted file mode 100644
index 4a58a490cc5..00000000000
--- a/pkgs/applications/networking/syncthing/deps.nix
+++ /dev/null
@@ -1,480 +0,0 @@
-# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
-[
- {
- goPackagePath = "github.com/AudriusButkevicius/go-nat-pmp";
- fetch = {
- type = "git";
- url = "https://github.com/AudriusButkevicius/go-nat-pmp";
- rev = "452c97607362";
- sha256 = "1accmpl1llk16a19nlyy991fqrgfay6l53gb64hgmdfmqljdvbk7";
- };
- }
- {
- goPackagePath = "github.com/AudriusButkevicius/recli";
- fetch = {
- type = "git";
- url = "https://github.com/AudriusButkevicius/recli";
- rev = "v0.0.5";
- sha256 = "1m1xna1kb78pkmr1lfmvvnpk9j7c4x71j3a7c6vj7zpzc4srpsmf";
- };
- }
- {
- goPackagePath = "github.com/beorn7/perks";
- fetch = {
- type = "git";
- url = "https://github.com/beorn7/perks";
- rev = "3a771d992973";
- sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
- };
- }
- {
- goPackagePath = "github.com/bkaradzic/go-lz4";
- fetch = {
- type = "git";
- url = "https://github.com/bkaradzic/go-lz4";
- rev = "7224d8d8f27e";
- sha256 = "10lmya17vdqg2pvqni0p73iahni48s1v11ya9a0hcz4jh5vw4dkb";
- };
- }
- {
- goPackagePath = "github.com/calmh/du";
- fetch = {
- type = "git";
- url = "https://github.com/calmh/du";
- rev = "v1.0.1";
- sha256 = "0qb3a6y3p9nkyn3s66k6zcm16y8n8578qh23ddj14cxf2scrr2n2";
- };
- }
- {
- goPackagePath = "github.com/calmh/xdr";
- fetch = {
- type = "git";
- url = "https://github.com/calmh/xdr";
- rev = "v1.1.0";
- sha256 = "072wqdncz3nd4a3zkhvzzx1y3in1lm29wfvl0d8wrnqs5pyqh0mh";
- };
- }
- {
- goPackagePath = "github.com/chmduquesne/rollinghash";
- fetch = {
- type = "git";
- url = "https://github.com/chmduquesne/rollinghash";
- rev = "a60f8e7142b5";
- sha256 = "0fpaqq4zb0wikgbhn7vwqqj1h865f5xy195vkhivsp922p7qwsjr";
- };
- }
- {
- goPackagePath = "github.com/d4l3k/messagediff";
- fetch = {
- type = "git";
- url = "https://github.com/d4l3k/messagediff";
- rev = "v1.2.1";
- sha256 = "104hl8x57ciaz7mzafg1vp9qggxcyfm8hsv9bmlihbz9ml3nyr8v";
- };
- }
- {
- goPackagePath = "github.com/davecgh/go-spew";
- fetch = {
- type = "git";
- url = "https://github.com/davecgh/go-spew";
- rev = "v1.1.1";
- sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
- };
- }
- {
- goPackagePath = "github.com/flynn-archive/go-shlex";
- fetch = {
- type = "git";
- url = "https://github.com/flynn-archive/go-shlex";
- rev = "3f9db97f8568";
- sha256 = "1j743lysygkpa2s2gii2xr32j7bxgc15zv4113b0q9jhn676ysia";
- };
- }
- {
- goPackagePath = "github.com/gobwas/glob";
- fetch = {
- type = "git";
- url = "https://github.com/gobwas/glob";
- rev = "51eb1ee00b6d";
- sha256 = "090wzpwsjana1qas8ipwh1pj959gvc4b7vwybzi01f3bmd79jwlp";
- };
- }
- {
- goPackagePath = "github.com/gogo/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/gogo/protobuf";
- rev = "v1.2.0";
- sha256 = "1c3y5m08mvrgvlw0kb9pldh3kkqcj99pa8gqmk1g3hp8ih3b2dv0";
- };
- }
- {
- goPackagePath = "github.com/golang/groupcache";
- fetch = {
- type = "git";
- url = "https://github.com/golang/groupcache";
- rev = "84a468cf14b4";
- sha256 = "1ky1r9qh54yi9zp2769qrjngzndgd8fn7mja2qfac285n06chmcn";
- };
- }
- {
- goPackagePath = "github.com/golang/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/golang/protobuf";
- rev = "v1.2.0";
- sha256 = "0kf4b59rcbb1cchfny2dm9jyznp8ri2hsb14n8iak1q8986xa0ab";
- };
- }
- {
- goPackagePath = "github.com/golang/snappy";
- fetch = {
- type = "git";
- url = "https://github.com/golang/snappy";
- rev = "553a64147049";
- sha256 = "0kssxnih1l722hx9219c7javganjqkqhvl3i0hp0hif6xm6chvqk";
- };
- }
- {
- goPackagePath = "github.com/jackpal/gateway";
- fetch = {
- type = "git";
- url = "https://github.com/jackpal/gateway";
- rev = "5795ac81146e";
- sha256 = "0fkwkwmhfadwk3cha8616bhqxfkr9gjjnynhhxyldlphixgs3f25";
- };
- }
- {
- goPackagePath = "github.com/kballard/go-shellquote";
- fetch = {
- type = "git";
- url = "https://github.com/kballard/go-shellquote";
- rev = "cd60e84ee657";
- sha256 = "1xjpin4jq1zl84dcn96xhjmn9bsfyszf6g9aqyj2dc0xfi6c88y0";
- };
- }
- {
- goPackagePath = "github.com/kr/pretty";
- fetch = {
- type = "git";
- url = "https://github.com/kr/pretty";
- rev = "v0.1.0";
- sha256 = "18m4pwg2abd0j9cn5v3k2ksk9ig4vlwxmlw9rrglanziv9l967qp";
- };
- }
- {
- goPackagePath = "github.com/kr/pty";
- fetch = {
- type = "git";
- url = "https://github.com/kr/pty";
- rev = "v1.1.1";
- sha256 = "0383f0mb9kqjvncqrfpidsf8y6ns5zlrc91c6a74xpyxjwvzl2y6";
- };
- }
- {
- goPackagePath = "github.com/kr/text";
- fetch = {
- type = "git";
- url = "https://github.com/kr/text";
- rev = "v0.1.0";
- sha256 = "1gm5bsl01apvc84bw06hasawyqm4q84vx1pm32wr9jnd7a8vjgj1";
- };
- }
- {
- goPackagePath = "github.com/lib/pq";
- fetch = {
- type = "git";
- url = "https://github.com/lib/pq";
- rev = "v1.0.0";
- sha256 = "1zqnnyczaf00xi6xh53vq758v5bdlf0iz7kf22l02cal4i6px47i";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-isatty";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-isatty";
- rev = "v0.0.4";
- sha256 = "0zs92j2cqaw9j8qx1sdxpv3ap0rgbs0vrvi72m40mg8aa36gd39w";
- };
- }
- {
- goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
- fetch = {
- type = "git";
- url = "https://github.com/matttproud/golang_protobuf_extensions";
- rev = "v1.0.1";
- sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
- };
- }
- {
- goPackagePath = "github.com/minio/sha256-simd";
- fetch = {
- type = "git";
- url = "https://github.com/minio/sha256-simd";
- rev = "cc1980cb0338";
- sha256 = "04fp98nal0wsb26zwhw82spn5camxslc68g3xp8g4af9w6k9g31j";
- };
- }
- {
- goPackagePath = "github.com/onsi/ginkgo";
- fetch = {
- type = "git";
- url = "https://github.com/onsi/ginkgo";
- rev = "6c46eb8334b3";
- sha256 = "0lxmpg3zhn7r2q8c29wcw0sqn5c48ihhb7qfh9m676c9j455rpm8";
- };
- }
- {
- goPackagePath = "github.com/onsi/gomega";
- fetch = {
- type = "git";
- url = "https://github.com/onsi/gomega";
- rev = "ba3724c94e4d";
- sha256 = "0fqs7kyqzz2lykbr2xbvd8imvx748xv4lh4d6fdy3wkwxs2f9fhp";
- };
- }
- {
- goPackagePath = "github.com/oschwald/geoip2-golang";
- fetch = {
- type = "git";
- url = "https://github.com/oschwald/geoip2-golang";
- rev = "v1.1.0";
- sha256 = "10pvjmbm1wc8xxwqlcfhdj2mciiyfddghmp6jyn7brd4mg65ppy2";
- };
- }
- {
- goPackagePath = "github.com/oschwald/maxminddb-golang";
- fetch = {
- type = "git";
- url = "https://github.com/oschwald/maxminddb-golang";
- rev = "26fe5ace1c70";
- sha256 = "0szb96zq1jbd9zpf4qn9zng4582ww9mg8zgrqxbkkpf3862r6n49";
- };
- }
- {
- goPackagePath = "github.com/petermattis/goid";
- fetch = {
- type = "git";
- url = "https://github.com/petermattis/goid";
- rev = "3db12ebb2a59";
- sha256 = "0z18a3mr72c52g7g94n08gxw0ksnaafbfwdl5p5jav2sffirb0kd";
- };
- }
- {
- goPackagePath = "github.com/pkg/errors";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/errors";
- rev = "v0.8.1";
- sha256 = "0g5qcb4d4fd96midz0zdk8b9kz8xkzwfa8kr1cliqbg8sxsy5vd1";
- };
- }
- {
- goPackagePath = "github.com/pmezard/go-difflib";
- fetch = {
- type = "git";
- url = "https://github.com/pmezard/go-difflib";
- rev = "v1.0.0";
- sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
- };
- }
- {
- goPackagePath = "github.com/prometheus/client_golang";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/client_golang";
- rev = "v0.9.2";
- sha256 = "02b4yg6rfag0m3j0i39sillcm5xczwv8h133vn12yr8qw04cnigs";
- };
- }
- {
- goPackagePath = "github.com/prometheus/client_model";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/client_model";
- rev = "5c3871d89910";
- sha256 = "04psf81l9fjcwascsys428v03fx4fi894h7fhrj2vvcz723q57k0";
- };
- }
- {
- goPackagePath = "github.com/prometheus/common";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/common";
- rev = "4724e9255275";
- sha256 = "0pcx8hlnrxx5nnmpk786cn99rsgqk1jrd3c9f6fsx8qd8y5iwjy6";
- };
- }
- {
- goPackagePath = "github.com/prometheus/procfs";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/procfs";
- rev = "1dc9a6cbc91a";
- sha256 = "1zlv1x30xp7z5c3vn5vp870v4bjim0zcidzc3mr2l3xhazc0svab";
- };
- }
- {
- goPackagePath = "github.com/rcrowley/go-metrics";
- fetch = {
- type = "git";
- url = "https://github.com/rcrowley/go-metrics";
- rev = "e181e095bae9";
- sha256 = "1pwkyw801hy7n94skzk6h177zqcil6ayrmb5gs3jdpsfayh8ia5w";
- };
- }
- {
- goPackagePath = "github.com/sasha-s/go-deadlock";
- fetch = {
- type = "git";
- url = "https://github.com/sasha-s/go-deadlock";
- rev = "v0.2.0";
- sha256 = "13p7b7pakd9k1c2k0fs1hfim3c8mivz679977ai6zb01s4aw7gyg";
- };
- }
- {
- goPackagePath = "github.com/stretchr/testify";
- fetch = {
- type = "git";
- url = "https://github.com/stretchr/testify";
- rev = "v1.2.2";
- sha256 = "0dlszlshlxbmmfxj5hlwgv3r22x0y1af45gn1vd198nvvs3pnvfs";
- };
- }
- {
- goPackagePath = "github.com/syncthing/notify";
- fetch = {
- type = "git";
- url = "https://github.com/syncthing/notify";
- rev = "4e389ea6c0d8";
- sha256 = "19gvl14s1l9m82f8c2xsjcr8lmbqrvw1mxkayvfcpimvxfz0j61i";
- };
- }
- {
- goPackagePath = "github.com/syndtr/goleveldb";
- fetch = {
- type = "git";
- url = "https://github.com/syndtr/goleveldb";
- rev = "34011bf325bc";
- sha256 = "097ja0vyj6p27zrxha9nhk09fj977xsvhmd3bk2hbyvnbw4znnhd";
- };
- }
- {
- goPackagePath = "github.com/thejerf/suture";
- fetch = {
- type = "git";
- url = "https://github.com/thejerf/suture";
- rev = "v3.0.2";
- sha256 = "03bdrl78jfwk0kw40lj63ga9cxhgccgss8yi9lp5j0m0ml7921gh";
- };
- }
- {
- goPackagePath = "github.com/urfave/cli";
- fetch = {
- type = "git";
- url = "https://github.com/urfave/cli";
- rev = "v1.20.0";
- sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
- };
- }
- {
- goPackagePath = "github.com/vitrun/qart";
- fetch = {
- type = "git";
- url = "https://github.com/vitrun/qart";
- rev = "bf64b92db6b0";
- sha256 = "1xk7qki703xmay9ghi3kq2bjf1iw9dz8wik55739d6i7sn77vvkc";
- };
- }
- {
- goPackagePath = "golang.org/x/crypto";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/crypto";
- rev = "c2843e01d9a2";
- sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
- };
- }
- {
- goPackagePath = "golang.org/x/net";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/net";
- rev = "351d144fa1fc";
- sha256 = "1c5x25qjyz83y92bq0lll5kmznyi3m02wd4c54scgf0866gy938k";
- };
- }
- {
- goPackagePath = "golang.org/x/sync";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sync";
- rev = "42b317875d0f";
- sha256 = "0mrjhk7al7yyh76x9flvxy4jm5jyqh2fxbxagpaazxn1xdgkaif3";
- };
- }
- {
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "d0b11bdaac8a";
- sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
- };
- }
- {
- goPackagePath = "golang.org/x/text";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/text";
- rev = "e19ae1496984";
- sha256 = "1cvnnx8nwx5c7gr6ajs7sldhbqh52n7h6fsa3i21l2lhx6xrsh4w";
- };
- }
- {
- goPackagePath = "golang.org/x/time";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/time";
- rev = "6dc17368e09b";
- sha256 = "1fx4cf5fpdz00g3c7vxzy92hdcg0vh4yqw00qp5s52j72qixynbk";
- };
- }
- {
- goPackagePath = "gopkg.in/asn1-ber.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/asn1-ber.v1";
- rev = "379148ca0225";
- sha256 = "1y8bvzbxpw0lfnn7pbcdwzqj4l90qj6xf88dvv9pxd9yl5g6cskx";
- };
- }
- {
- goPackagePath = "gopkg.in/check.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/check.v1";
- rev = "788fd7840127";
- sha256 = "0v3bim0j375z81zrpr5qv42knqs0y2qv2vkjiqi5axvb78slki1a";
- };
- }
- {
- goPackagePath = "gopkg.in/ldap.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/ldap.v2";
- rev = "v2.5.1";
- sha256 = "1wf81wy04nhkqs0dg5zkivr4sh37r83bxrfwjz9vr4jq6vmljr3h";
- };
- }
- {
- goPackagePath = "gopkg.in/yaml.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/yaml.v2";
- rev = "287cf08546ab";
- sha256 = "15502klds9wwv567vclb9kx95gs8lnyzn4ybsk6l9fc7a67lk831";
- };
- }
-]
diff --git a/pkgs/applications/networking/tcpkali/default.nix b/pkgs/applications/networking/tcpkali/default.nix
index 8a056e21692..a7142542238 100644
--- a/pkgs/applications/networking/tcpkali/default.nix
+++ b/pkgs/applications/networking/tcpkali/default.nix
@@ -3,7 +3,8 @@
let version = "1.1.1"; in
stdenv.mkDerivation rec {
- name = "tcpkali-${version}";
+ pname = "tcpkali";
+ inherit version;
src = fetchFromGitHub {
owner = "machinezone";
repo = "tcpkali";
diff --git a/pkgs/applications/networking/transporter/default.nix b/pkgs/applications/networking/transporter/default.nix
index 46649c06911..a3cde14f34c 100644
--- a/pkgs/applications/networking/transporter/default.nix
+++ b/pkgs/applications/networking/transporter/default.nix
@@ -18,7 +18,7 @@
let
pname = "Transporter";
version = "1.3.3";
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/tsung/default.nix b/pkgs/applications/networking/tsung/default.nix
index 050c8502e07..6f5a3f3ec16 100644
--- a/pkgs/applications/networking/tsung/default.nix
+++ b/pkgs/applications/networking/tsung/default.nix
@@ -5,7 +5,7 @@
gnuplot }:
stdenv.mkDerivation rec {
- name = "tsung-${version}";
+ pname = "tsung";
version = "1.7.0";
src = fetchurl {
url = "http://tsung.erlang-projects.org/dist/tsung-${version}.tar.gz";
diff --git a/pkgs/applications/networking/umurmur/default.nix b/pkgs/applications/networking/umurmur/default.nix
index a1fe790b119..1a19c8c96b3 100644
--- a/pkgs/applications/networking/umurmur/default.nix
+++ b/pkgs/applications/networking/umurmur/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, openssl, protobufc, libconfig }:
stdenv.mkDerivation rec {
- name = "umurmur-${version}";
+ pname = "umurmur";
version = "0.2.17";
src = fetchFromGitHub {
diff --git a/pkgs/applications/networking/vnstat/default.nix b/pkgs/applications/networking/vnstat/default.nix
index 7b3e62779e9..acda73b0f09 100644
--- a/pkgs/applications/networking/vnstat/default.nix
+++ b/pkgs/applications/networking/vnstat/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
pname = "vnstat";
- version = "2.2";
+ version = "2.4";
src = fetchurl {
- sha256 = "0b7020rlc568pz6vkiy28kl8493z88wzrn18wv9b0iq2bv1pn2n6";
+ sha256 = "1amb8l97y6acp9j1xs2da3mdk6hykg6drzsps9im8vfmmfcmk5d0";
url = "https://humdi.net/${pname}/${pname}-${version}.tar.gz";
};
diff --git a/pkgs/applications/networking/wayback_machine_downloader/Gemfile b/pkgs/applications/networking/wayback_machine_downloader/Gemfile
new file mode 100644
index 00000000000..e519efbf570
--- /dev/null
+++ b/pkgs/applications/networking/wayback_machine_downloader/Gemfile
@@ -0,0 +1,5 @@
+# frozen_string_literal: true
+
+source 'https://rubygems.org' do
+ gem 'wayback_machine_downloader'
+end
diff --git a/pkgs/applications/networking/wayback_machine_downloader/Gemfile.lock b/pkgs/applications/networking/wayback_machine_downloader/Gemfile.lock
new file mode 100644
index 00000000000..86e064347b6
--- /dev/null
+++ b/pkgs/applications/networking/wayback_machine_downloader/Gemfile.lock
@@ -0,0 +1,13 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ wayback_machine_downloader (2.2.1)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ wayback_machine_downloader!
+
+BUNDLED WITH
+ 1.17.2
diff --git a/pkgs/applications/networking/wayback_machine_downloader/default.nix b/pkgs/applications/networking/wayback_machine_downloader/default.nix
new file mode 100644
index 00000000000..49471ebf7e3
--- /dev/null
+++ b/pkgs/applications/networking/wayback_machine_downloader/default.nix
@@ -0,0 +1,16 @@
+{ lib, bundlerApp, bundlerUpdateScript }:
+bundlerApp {
+ pname = "wayback_machine_downloader";
+ exes = [ "wayback_machine_downloader" ];
+ gemdir = ./.;
+
+ passthru.updateScript = bundlerUpdateScript "wayback_machine_downloader";
+
+ meta = with lib; {
+ description = "Download websites from the Internet Archive Wayback Machine";
+ homepage = "https://github.com/hartator/wayback-machine-downloader";
+ license = licenses.mit;
+ maintainers = [ maintainers.manveru ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/networking/wayback_machine_downloader/gemset.nix b/pkgs/applications/networking/wayback_machine_downloader/gemset.nix
new file mode 100644
index 00000000000..615570f1f09
--- /dev/null
+++ b/pkgs/applications/networking/wayback_machine_downloader/gemset.nix
@@ -0,0 +1,12 @@
+{
+ wayback_machine_downloader = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "12kb1qmvmmsaihqab1prn6cmynkn6cgb4vf41mgv22wkcgv5wgk2";
+ type = "gem";
+ };
+ version = "2.2.1";
+ };
+}
\ No newline at end of file
diff --git a/pkgs/applications/networking/weather/meteo/default.nix b/pkgs/applications/networking/weather/meteo/default.nix
index 74a1b571406..88d33a9a9f3 100644
--- a/pkgs/applications/networking/weather/meteo/default.nix
+++ b/pkgs/applications/networking/weather/meteo/default.nix
@@ -1,17 +1,17 @@
{ stdenv, fetchFromGitLab, vala, python3, pkgconfig, meson, ninja, gtk3
-, json-glib, libsoup, clutter, clutter-gtk, libchamplain, webkitgtk, geocode-glib
-, libappindicator, desktop-file-utils, appstream, gobject-introspection, wrapGAppsHook
+, json-glib, libsoup, webkitgtk, geocode-glib
+, libappindicator, desktop-file-utils, appstream, wrapGAppsHook
, hicolor-icon-theme }:
stdenv.mkDerivation rec {
pname = "meteo";
- version = "0.9.6";
+ version = "0.9.7";
src = fetchFromGitLab {
owner = "bitseater";
repo = pname;
rev = version;
- sha256 = "1786s5637hc3dnnkf5vr2ngfiq73dyvx8187gx7qkh7cr8xrl50w";
+ sha256 = "014x3mg2dc58h1qwy2nrz3a5mzdnbzish8zgn3x6lj6szfz5c72n";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/networking/websocketd/default.nix b/pkgs/applications/networking/websocketd/default.nix
index 050358e4dca..4160e70b9c4 100644
--- a/pkgs/applications/networking/websocketd/default.nix
+++ b/pkgs/applications/networking/websocketd/default.nix
@@ -1,21 +1,19 @@
-{ stdenv, buildGoPackage, fetchgit }:
+{ lib, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
- name = "websocketd-${version}";
- version = "0.3.0";
- rev = "729c67f052f8f16a0a0aa032816a57649c0ebed3";
+buildGoModule rec {
+ pname = "websocketd";
+ version = "0.3.1";
- goPackagePath = "github.com/joewalnes/websocketd";
-
- src = fetchgit {
- inherit rev;
- url = "https://github.com/joewalnes/websocketd";
- sha256 = "1n4fag75lpfxg1pm1pr5v0p44dijrxj59s6dn4aqxirhxkq91lzb";
+ src = fetchFromGitHub {
+ owner = "joewalnes";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1qc4yi4kwy7bfi3fb17w58ff0i95yi6m4syldh8j79930syr5y8q";
};
- goDeps = ./deps.nix;
+ modSha256 = "18hamj557ln8k3vmvcrpvnydjr1dy7zi9490iacwdldw5vp870xs";
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Turn any program that uses STDIN/STDOUT into a WebSocket server";
homepage = "http://websocketd.com/";
maintainers = [ maintainers.bjornfor ];
diff --git a/pkgs/applications/networking/websocketd/deps.nix b/pkgs/applications/networking/websocketd/deps.nix
deleted file mode 100644
index 1e610691f52..00000000000
--- a/pkgs/applications/networking/websocketd/deps.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-# This file was generated by https://github.com/kamilchm/go2nix v1.2.1
-[
- {
- goPackagePath = "github.com/gorilla/websocket";
- fetch = {
- type = "git";
- url = "https://github.com/gorilla/websocket";
- rev = "95ba29eb981bbb27d92e1f70bf8a1949452d926b";
- sha256 = "08lvc9l0qagyhyrjj6jkhpq3zapa5gqr966bm33nb4bc0pd38f48";
- };
- }
-]
diff --git a/pkgs/applications/networking/znc/default.nix b/pkgs/applications/networking/znc/default.nix
index deb768e6feb..238864311ef 100644
--- a/pkgs/applications/networking/znc/default.nix
+++ b/pkgs/applications/networking/znc/default.nix
@@ -12,12 +12,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "znc-${version}";
- version = "1.7.3";
+ pname = "znc";
+ version = "1.7.4";
src = fetchurl {
- url = "https://znc.in/releases/archive/${name}.tar.gz";
- sha256 = "0g8i5hsl4kinpz1wp0a2zniidv3w2sd6awq8676fds516wcc6k0y";
+ url = "https://znc.in/releases/archive/${pname}-${version}.tar.gz";
+ sha256 = "0wcvqkpin8w4i72alnn0nxnrc9ih543qs34hqpk9xmz6m0hjk8xi";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/networking/znc/modules.nix b/pkgs/applications/networking/znc/modules.nix
index fce885a2594..54e148f0833 100644
--- a/pkgs/applications/networking/znc/modules.nix
+++ b/pkgs/applications/networking/znc/modules.nix
@@ -15,7 +15,7 @@ let
passthru.module_name = module_name;
});
-in rec {
+in {
backlog = zncDerivation rec {
name = "znc-backlog-${version}";
diff --git a/pkgs/applications/office/abiword/default.nix b/pkgs/applications/office/abiword/default.nix
index 6808a81bec1..a2b14443c1a 100644
--- a/pkgs/applications/office/abiword/default.nix
+++ b/pkgs/applications/office/abiword/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "abiword-${version}";
+ pname = "abiword";
version = "3.0.2";
src = fetchurl {
- url = "https://www.abisource.com/downloads/abiword/${version}/source/${name}.tar.gz";
+ url = "https://www.abisource.com/downloads/abiword/${version}/source/${pname}-${version}.tar.gz";
sha256 = "08imry821g81apdwym3gcs4nss0l9j5blqk31j5rv602zmcd9gxg";
};
diff --git a/pkgs/applications/office/aesop/default.nix b/pkgs/applications/office/aesop/default.nix
index 42831b7a839..b71334a6a72 100644
--- a/pkgs/applications/office/aesop/default.nix
+++ b/pkgs/applications/office/aesop/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pantheon, pkgconfig, meson, ninja, python3, gtk3
+{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3, gtk3
, desktop-file-utils, json-glib, libsoup, libgee, poppler, wrapGAppsHook }:
stdenv.mkDerivation rec {
pname = "aesop";
- version = "1.1.1";
+ version = "1.1.2";
src = fetchFromGitHub {
owner = "lainsce";
repo = pname;
rev = version;
- sha256 = "191azshc2z9pzc61fhmzv5cxnihh5wh3nj803kvi3rnk6nl9mhzh";
+ sha256 = "1vadm8295jb7jaah2qykf3h9zvl5c013sanmxqi4snmmq4pa32ax";
};
nativeBuildInputs = [
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
description = "The simplest PDF viewer around";
homepage = https://github.com/lainsce/aesop;
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ worldofpeace ];
+ maintainers = pantheon.maintainers;
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/office/atlassian-cli/default.nix b/pkgs/applications/office/atlassian-cli/default.nix
index 462e6fbb7a0..6ef6e51527e 100644
--- a/pkgs/applications/office/atlassian-cli/default.nix
+++ b/pkgs/applications/office/atlassian-cli/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchzip, jre }:
stdenv.mkDerivation rec {
- name = "atlassian-cli-${version}";
- version = "8.2.0";
+ pname = "atlassian-cli";
+ version = "8.5.0";
src = fetchzip {
- url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${name}-distribution.zip";
- sha256 = "0lcyyay2fyywcn096y33d77r6fpvwggv5qdkky5qy16lh6rfx1lm";
+ url = "https://bobswift.atlassian.net/wiki/download/attachments/16285777/${pname}-${version}-distribution.zip";
+ sha256 = "0c9jq7q0bx0db0zhdh89bv1ijfg7cddbx04v451vl8caqcyhkfgz";
extraPostFetch = "chmod go-w $out";
};
diff --git a/pkgs/applications/office/beancount/bean-add.nix b/pkgs/applications/office/beancount/bean-add.nix
index 9eec315217c..aefd696ae4e 100644
--- a/pkgs/applications/office/beancount/bean-add.nix
+++ b/pkgs/applications/office/beancount/bean-add.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, python3Packages }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "bean-add-2018-01-08";
src = fetchFromGitHub {
diff --git a/pkgs/applications/office/bookworm/default.nix b/pkgs/applications/office/bookworm/default.nix
index 63199945f2b..fe81340a7fb 100644
--- a/pkgs/applications/office/bookworm/default.nix
+++ b/pkgs/applications/office/bookworm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pantheon, python3, python2, pkgconfig, libxml2, meson, ninja, gtk3, gnome3, glib, webkitgtk
+{ stdenv, fetchFromGitHub, pantheon, python3, python2, pkgconfig, libxml2, meson, ninja, gtk3, gnome3, glib, webkitgtk
, gobject-introspection, sqlite, poppler, poppler_utils, html2text, curl, gnugrep, coreutils, bash, unzip, unar, wrapGAppsHook }:
stdenv.mkDerivation rec {
diff --git a/pkgs/applications/office/calligra/default.nix b/pkgs/applications/office/calligra/default.nix
index 4a050eb5d74..4855fbc63c3 100644
--- a/pkgs/applications/office/calligra/default.nix
+++ b/pkgs/applications/office/calligra/default.nix
@@ -16,10 +16,9 @@
mkDerivation rec {
pname = "calligra";
version = "3.1.0";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://kde/stable/${pname}/${version}/${name}.tar.xz";
+ url = "mirror://kde/stable/${pname}/${version}/${pname}-${version}.tar.xz";
sha256 = "0w782k0hprpb6viixnqz34sp0z5csv3prdby46z22qqkcipcs638";
};
diff --git a/pkgs/applications/office/cb2bib/default.nix b/pkgs/applications/office/cb2bib/default.nix
index 461d428787b..0043648146f 100644
--- a/pkgs/applications/office/cb2bib/default.nix
+++ b/pkgs/applications/office/cb2bib/default.nix
@@ -1,11 +1,10 @@
{ stdenv, fetchurl, qmake, qtbase, qtwebkit, qtx11extras, lzo, libX11 }:
stdenv.mkDerivation rec {
- name = pname + "-" + version;
pname = "cb2bib";
version = "2.0.0";
src = fetchurl {
- url = "https://www.molspaces.com/dl/progs/${name}.tar.gz";
+ url = "https://www.molspaces.com/dl/progs/${pname}-${version}.tar.gz";
sha256 = "0gv7cnxi84lr6d5y71pd67h0ilmf5c88j1jxgyn9dvj19smrv99h";
};
buildInputs = [ qtbase qtwebkit qtx11extras lzo libX11 ];
diff --git a/pkgs/applications/office/docear/default.nix b/pkgs/applications/office/docear/default.nix
new file mode 100644
index 00000000000..fb9578c909d
--- /dev/null
+++ b/pkgs/applications/office/docear/default.nix
@@ -0,0 +1,44 @@
+{stdenv, fetchurl, runtimeShell, makeWrapper
+, oraclejre
+, antialiasFont ? true
+}:
+
+stdenv.mkDerivation {
+ pname = "docear";
+ version = "1.2";
+
+ src = fetchurl {
+ url = "http://docear.org/downloads/docear_linux.tar.gz";
+ sha256 = "1g5n7r2x4gas6dl2fbyh7v9yxdcb6bzml8n3ldmpzv1rncgjcdp4";
+ };
+
+ buildInputs = [ oraclejre makeWrapper ];
+
+ buildPhase = "";
+ installPhase = ''
+ mkdir -p $out/bin
+ mkdir -p $out/share
+ cp -R * $out/share
+ chmod 0755 $out/share/ -R
+
+ # The wrapper ensures oraclejre is used
+ makeWrapper ${runtimeShell} $out/bin/docear \
+ --set _JAVA_OPTIONS "${stdenv.lib.optionalString antialiasFont ''-Dswing.aatext=TRUE -Dawt.useSystemAAFontSettings=on''}" \
+ --set JAVA_HOME ${oraclejre.home} \
+ --add-flags "$out/share/docear.sh"
+
+ chmod 0755 $out/bin/docear
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A unique solution to academic literature management";
+ homepage = "http://www.docear.org/";
+ # Licenses at: http://www.docear.org/software/download/
+ license = with licenses; [
+ gpl2 # for the main software and some dependencies
+ bsd3 # for one of its dependencies
+ ];
+ maintainers = with maintainers; [ unode ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/office/fava/default.nix b/pkgs/applications/office/fava/default.nix
index e33a0b202da..a5de74a6f16 100644
--- a/pkgs/applications/office/fava/default.nix
+++ b/pkgs/applications/office/fava/default.nix
@@ -5,15 +5,14 @@ let
in
buildPythonApplication rec {
pname = "fava";
- version = "1.10";
+ version = "1.11";
src = fetchPypi {
inherit pname version;
- sha256 = "145995nzgr06qsn619zap0xqa8ckfrp5azga41smyszq97pd01sj";
+ sha256 = "0gyrxqmfr8igfjnp9lcsl4km17yakj556xns3jp4m9l2407b5zhc";
};
- doCheck = false;
-
+ checkInputs = [ python3.pkgs.pytest ];
propagatedBuildInputs = with python3.pkgs;
[
Babel
@@ -28,6 +27,11 @@ buildPythonApplication rec {
simplejson
];
+ # CLI test expects fava on $PATH. Not sure why static_url fails.
+ checkPhase = ''
+ py.test tests -k 'not cli and not static_url'
+ '';
+
meta = {
homepage = https://beancount.github.io/fava;
description = "Web interface for beancount";
diff --git a/pkgs/applications/office/flexibee/default.nix b/pkgs/applications/office/flexibee/default.nix
new file mode 100644
index 00000000000..284fdf7a124
--- /dev/null
+++ b/pkgs/applications/office/flexibee/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchurl, makeWrapper, jre }:
+
+let
+ version = "2019.2.5";
+ majorVersion = builtins.substring 0 6 version;
+in
+
+stdenv.mkDerivation rec {
+ pname = "flexibee";
+ inherit version;
+
+ src = fetchurl {
+ url = "http://download.flexibee.eu/download/${majorVersion}/${version}/${pname}-${version}.tar.gz";
+ sha256 = "0k94y4x6lj1vcb89a95v9mzl95mkpwp9n4a2gwvq0g90zpbnn493";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ installPhase = ''
+ runHook preInstall
+ cp -R usr/share/flexibee/ $out/
+ install -Dm755 usr/bin/flexibee $out/bin/flexibee
+ wrapProgram $out/bin/flexibee --set JAVA_HOME "${jre}"
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Client for an accouting economic system";
+ homepage = "https://www.flexibee.eu/";
+ license = licenses.unfree;
+ maintainers = [ maintainers.mmahut ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch b/pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch
new file mode 100644
index 00000000000..5e0ae68e17c
--- /dev/null
+++ b/pkgs/applications/office/gnucash/cmake_check_symbol_exists.patch
@@ -0,0 +1,12 @@
+Index: gnucash-3.6/gnucash/register/register-gnome/CMakeLists.txt
+===================================================================
+--- gnucash-3.6.orig/gnucash/register/register-gnome/CMakeLists.txt
++++ gnucash-3.6/gnucash/register/register-gnome/CMakeLists.txt
+@@ -1,6 +1,7 @@
+ add_subdirectory(test)
+
+ #GTK before 3.14 didn't have GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK
++include(CheckSymbolExists)
+ check_symbol_exists(GDK_MODIFIER_INTENT_DEFAULT_MOD_MASK gdk/gdktypes.h have_mod_mask)
+ if (NOT have_mod_mask)
+ if (MAC_INTEGRATION)
diff --git a/pkgs/applications/office/gnucash/default.nix b/pkgs/applications/office/gnucash/default.nix
index a9578e6525d..3abc447f6e9 100644
--- a/pkgs/applications/office/gnucash/default.nix
+++ b/pkgs/applications/office/gnucash/default.nix
@@ -24,12 +24,12 @@ let
in
stdenv.mkDerivation rec {
- name = "gnucash-${version}";
- version = "3.5";
+ pname = "gnucash";
+ version = "3.6";
src = fetchurl {
- url = "mirror://sourceforge/gnucash/${name}.tar.bz2";
- sha256 = "0ibp7g6aknvnkwkin97kv04ipksy3l18dsz9qysjb7h2nr8hnvbp";
+ url = "mirror://sourceforge/gnucash/${pname}-${version}.tar.bz2";
+ sha256 = "09azp17ghn7i8kwk0ci3gq0qkn5pvbknhf1cbk7v43mvc3g8djzi";
};
nativeBuildInputs = [ pkgconfig makeWrapper cmake gtest ];
@@ -47,6 +47,8 @@ stdenv.mkDerivation rec {
# Should probably be removed next version bump
CXXFLAGS = [ "-Wno-deprecated-declarations" ];
+ patches = [ ./cmake_check_symbol_exists.patch ];
+
postPatch = ''
patchShebangs .
'';
@@ -61,7 +63,7 @@ stdenv.mkDerivation rec {
rm $out/bin/gnucash-valgrind
wrapProgram "$out/bin/gnucash" \
- --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${name}" \
+ --prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH:$out/share/gsettings-schemas/${pname}-${version}" \
--prefix XDG_DATA_DIRS : "${hicolor-icon-theme}/share" \
--prefix PERL5LIB ":" "$PERL5LIB" \
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib dconf}/lib/gio/modules"
diff --git a/pkgs/applications/office/gnumeric/default.nix b/pkgs/applications/office/gnumeric/default.nix
index 87aaf85d950..70d1e3d79ba 100644
--- a/pkgs/applications/office/gnumeric/default.nix
+++ b/pkgs/applications/office/gnumeric/default.nix
@@ -1,22 +1,31 @@
{ stdenv, fetchurl, pkgconfig, intltool, perlPackages
, goffice, gnome3, wrapGAppsHook, gtk3, bison, pythonPackages
-, itstool
+, itstool, autoreconfHook
}:
let
inherit (pythonPackages) python pygobject3;
in stdenv.mkDerivation rec {
pname = "gnumeric";
- version = "1.12.44";
+ version = "1.12.45"; # TODO next release: remove gamma patch and autoreconfHook
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0147962c6ybdsj57rz95nla0rls7g545wc2n7pz59zmzyd5pksk0";
+ sha256 = "0c8dl1kvnj3g32qy3s92qpqpqfy0in59cx005gjvvzsflahav61h";
};
+ patches = stdenv.lib.optional stdenv.isDarwin
+ # https://gitlab.gnome.org/GNOME/gnumeric/issues/402
+ (fetchurl {
+ name = "math-gamma.patch";
+ url = "https://gitlab.gnome.org/GNOME/gnumeric/uploads/cf8d162bc719de92e97d01cb0ba5b637/ppp";
+ sha256 = "17wiigs06qc86a1nghwcg3pcnpa28123jblgsxpy3j7drardgnlp";
+ });
+
configureFlags = [ "--disable-component" ];
- nativeBuildInputs = [ pkgconfig intltool bison itstool wrapGAppsHook ];
+ nativeBuildInputs = [ pkgconfig intltool bison itstool wrapGAppsHook ]
+ ++ stdenv.lib.optional stdenv.isDarwin autoreconfHook;
# ToDo: optional libgda, introspection?
buildInputs = [
diff --git a/pkgs/applications/office/grisbi/default.nix b/pkgs/applications/office/grisbi/default.nix
index 338cdc17065..752ad70cd09 100644
--- a/pkgs/applications/office/grisbi/default.nix
+++ b/pkgs/applications/office/grisbi/default.nix
@@ -2,11 +2,11 @@
, hicolor-icon-theme, libsoup, gnome3 }:
stdenv.mkDerivation rec {
- name = "grisbi-${version}";
+ pname = "grisbi";
version = "1.2.1";
src = fetchurl {
- url = "mirror://sourceforge/grisbi/${name}.tar.bz2";
+ url = "mirror://sourceforge/grisbi/${pname}-${version}.tar.bz2";
sha1 = "1159c5491967fa7afd251783013579ffb45b891b";
};
diff --git a/pkgs/applications/office/homebank/default.nix b/pkgs/applications/office/homebank/default.nix
index 96140d14803..727a68c440a 100644
--- a/pkgs/applications/office/homebank/default.nix
+++ b/pkgs/applications/office/homebank/default.nix
@@ -2,10 +2,10 @@
, hicolor-icon-theme, libsoup, gnome3 }:
stdenv.mkDerivation rec {
- name = "homebank-5.2.5";
+ name = "homebank-5.2.7";
src = fetchurl {
url = "http://homebank.free.fr/public/${name}.tar.gz";
- sha256 = "1716igj18792sp4rx0vwxvx95mahgb7wiyahd2018yq8z88vc36w";
+ sha256 = "0pzbn0wlppwbap19isbv8vv3cq7xswladhc272ykaya78r1bxvcf";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
diff --git a/pkgs/applications/office/ib/controller/default.nix b/pkgs/applications/office/ib/controller/default.nix
index b39617e02db..372414c1a76 100644
--- a/pkgs/applications/office/ib/controller/default.nix
+++ b/pkgs/applications/office/ib/controller/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2.14.0";
- name = "ib-controller-${version}";
+ pname = "ib-controller";
src = fetchurl {
url = "https://github.com/ib-controller/ib-controller/archive/${version}.tar.gz";
diff --git a/pkgs/applications/office/ib/tws/default.nix b/pkgs/applications/office/ib/tws/default.nix
index 59ecb5a5c3b..a88f1af02c6 100644
--- a/pkgs/applications/office/ib/tws/default.nix
+++ b/pkgs/applications/office/ib/tws/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "9542";
- name = "ib-tws-${version}";
+ pname = "ib-tws";
src = requireFile rec {
name = "ibtws_${version}.jar";
diff --git a/pkgs/applications/office/impressive/default.nix b/pkgs/applications/office/impressive/default.nix
index 8946bbab931..5065a1cb9bc 100644
--- a/pkgs/applications/office/impressive/default.nix
+++ b/pkgs/applications/office/impressive/default.nix
@@ -8,7 +8,8 @@ in stdenv.mkDerivation {
# This project was formerly known as KeyJNote.
# See http://keyj.emphy.de/apple-lawsuit/ for details.
- name = "impressive-${version}";
+ pname = "impressive";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/impressive/Impressive-${version}.tar.gz";
diff --git a/pkgs/applications/office/jabref/default.nix b/pkgs/applications/office/jabref/default.nix
index 5dfd0357012..b249186c2f1 100644
--- a/pkgs/applications/office/jabref/default.nix
+++ b/pkgs/applications/office/jabref/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "3.8.1";
- name = "jabref-${version}";
+ pname = "jabref";
src = fetchurl {
url = "https://github.com/JabRef/jabref/releases/download/v${version}/JabRef-${version}.jar";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper jdk wrapGAppsHook gtk3 gsettings-desktop-schemas ];
- unpackPhase = "#";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/bin $out/share/java $out/share/icons
diff --git a/pkgs/applications/office/jameica/default.nix b/pkgs/applications/office/jameica/default.nix
index 61cc3ea78f0..7b4feed1733 100644
--- a/pkgs/applications/office/jameica/default.nix
+++ b/pkgs/applications/office/jameica/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, makeDesktopItem, makeWrapper, ant, jdk, jre, gtk2, glib, xorg, Cocoa }:
let
- _version = "2.8.2";
- _build = "450";
+ _version = "2.8.4";
+ _build = "453";
version = "${_version}-${_build}";
name = "jameica-${version}";
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
owner = "willuhn";
repo = "jameica";
rev = "V_${builtins.replaceStrings ["."] ["_"] _version}_BUILD_${_build}";
- sha256 = "197n35lvx51k6cbp3fhndvfb38sikl4mjqcd42fgvn2khy2sij68";
+ sha256 = "1imm3wpdrgh2sr2wh9vgaf2mp1ixs845vgzk5ib82mak7lg9m1zl";
};
# there is also a build.gradle, but it only seems to be used to vendor 3rd party libraries
diff --git a/pkgs/applications/office/kexi/default.nix b/pkgs/applications/office/kexi/default.nix
index 784126ba3d8..adad5c8680f 100644
--- a/pkgs/applications/office/kexi/default.nix
+++ b/pkgs/applications/office/kexi/default.nix
@@ -1,5 +1,5 @@
{
- mkDerivation, lib, fetchurl, fetchpatch, extra-cmake-modules, kdoctools,
+ mkDerivation, lib, fetchurl, extra-cmake-modules, kdoctools,
boost, qttools, qtwebkit,
breeze-icons, karchive, kcodecs, kcompletion, kconfig, kconfigwidgets, kcoreaddons,
kcrash, kguiaddons, ki18n, kiconthemes, kitemviews, kio, ktexteditor, ktextwidgets,
@@ -10,10 +10,9 @@
mkDerivation rec {
pname = "kexi";
version = "3.2.0";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://kde/stable/${pname}/src/${name}.tar.xz";
+ url = "mirror://kde/stable/${pname}/src/${pname}-${version}.tar.xz";
sha256 = "1zy1q7q9rfdaws3rwf3my22ywkn6g747s3ixfcg9r80mm2g3z0bs";
};
diff --git a/pkgs/applications/office/kmymoney/default.nix b/pkgs/applications/office/kmymoney/default.nix
index 236f794c8b7..0cb23abea66 100644
--- a/pkgs/applications/office/kmymoney/default.nix
+++ b/pkgs/applications/office/kmymoney/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, doxygen, extra-cmake-modules, graphviz, kdoctools
-, fetchpatch
+, wrapQtAppsHook
, akonadi, alkimia, aqbanking, gmp, gwenhywfar, kactivities, karchive
, kcmutils, kcontacts, kdewebkit, kdiagram, kholidays, kidentitymanagement
@@ -15,12 +15,12 @@
}:
stdenv.mkDerivation rec {
- name = "kmymoney-${version}";
- version = "5.0.4";
+ pname = "kmymoney";
+ version = "5.0.5";
src = fetchurl {
- url = "mirror://kde/stable/kmymoney/${version}/src/${name}.tar.xz";
- sha256 = "06lbavhl9b8cybnss2mmy3g5w8qn2vl6zhipvbl11lsr3j9bsa8q";
+ url = "mirror://kde/stable/kmymoney/${version}/src/${pname}-${version}.tar.xz";
+ sha256 = "1hghs4676kn2giwpwz1y7p6djpmi41x64idf3ybiz8ky14a5s977";
};
# Hidden dependency that wasn't included in CMakeLists.txt:
@@ -30,6 +30,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
doxygen extra-cmake-modules graphviz kdoctools python2Packages.wrapPython
+ wrapQtAppsHook
];
buildInputs = [
@@ -58,13 +59,11 @@ stdenv.mkDerivation rec {
doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
installCheckInputs = [ xvfb_run ];
- installCheckPhase = let
- pluginPath = "${qtbase.bin}/${qtbase.qtPluginPrefix}";
- in lib.optionalString doInstallCheck ''
- QT_PLUGIN_PATH=${lib.escapeShellArg pluginPath} \
+ installCheckPhase =
+ lib.optionalString doInstallCheck ''
xvfb-run -s '-screen 0 1024x768x24' make test \
- ARGS="-E '(reports-chart-test)'" # Test fails, so exclude it for now.
- '';
+ ARGS="-E '(reports-chart-test)'" # Test fails, so exclude it for now.
+ '';
meta = {
description = "Personal finance manager for KDE";
diff --git a/pkgs/applications/office/ledger-web/default.nix b/pkgs/applications/office/ledger-web/default.nix
index 13c559cfac1..0a8f68bc096 100644
--- a/pkgs/applications/office/ledger-web/default.nix
+++ b/pkgs/applications/office/ledger-web/default.nix
@@ -1,9 +1,9 @@
-{ lib, bundlerApp
+{ lib, bundlerApp, bundlerUpdateScript
, withPostgresql ? true, postgresql
, withSqlite ? false, sqlite
}:
-bundlerApp rec {
+bundlerApp {
pname = "ledger_web";
gemdir = ./.;
exes = [ "ledger_web" ];
@@ -11,11 +11,13 @@ bundlerApp rec {
buildInputs = lib.optional withPostgresql postgresql
++ lib.optional withSqlite sqlite;
+ passthru.updateScript = bundlerUpdateScript "ledger-web";
+
meta = with lib; {
description = "A web frontend to the Ledger CLI tool";
homepage = https://github.com/peterkeen/ledger-web;
license = licenses.mit;
- maintainers = with maintainers; [ peterhoeg manveru ];
+ maintainers = with maintainers; [ peterhoeg manveru nicknovitski ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/office/ledger/default.nix b/pkgs/applications/office/ledger/default.nix
index 276134efd73..99e09a8f36f 100644
--- a/pkgs/applications/office/ledger/default.nix
+++ b/pkgs/applications/office/ledger/default.nix
@@ -2,7 +2,7 @@
, texinfo, gnused, usePython ? true }:
stdenv.mkDerivation rec {
- name = "ledger-${version}";
+ pname = "ledger";
version = "3.1.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/office/libreoffice/default-primary-src.nix b/pkgs/applications/office/libreoffice/default-primary-src.nix
index d0d26d46927..b3b21174bc3 100644
--- a/pkgs/applications/office/libreoffice/default-primary-src.nix
+++ b/pkgs/applications/office/libreoffice/default-primary-src.nix
@@ -2,9 +2,9 @@
rec {
major = "6";
- minor = "2";
- patch = "3";
- tweak = "2";
+ minor = "3";
+ patch = "0";
+ tweak = "4";
subdir = "${major}.${minor}.${patch}";
@@ -12,6 +12,6 @@ rec {
src = fetchurl {
url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
- sha256 = "1bvdvhk1jw16wc0fd7vvvjyn7ydwy9i3xa3d8kn1bdmsn97vkpgi";
+ sha256 = "1mxflzrcm04djkj8ifyy4rwgl8bxirrvzrn864w6rgvzn43h30w7";
};
}
diff --git a/pkgs/applications/office/libreoffice/default.nix b/pkgs/applications/office/libreoffice/default.nix
index 2a4a049daa5..f5f53e10496 100644
--- a/pkgs/applications/office/libreoffice/default.nix
+++ b/pkgs/applications/office/libreoffice/default.nix
@@ -4,7 +4,7 @@
, bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which
, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux
-, librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw, mariadb
+, librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw, mysql
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
, libwpg, dbus-glib, qt4, clucene_core, libcdr, lcms, vigra
, unixODBC, mdds, sane-backends, mythes, libexttextcat, libvisio
@@ -48,19 +48,20 @@ let
translations = fetchSrc {
name = "translations";
- sha256 = "0gnx596sr498n3frz1wgcnq9kqqaqksxfyjm145235pvrv2ymgvp";
+ sha256 = "0730fw2kr00b2d56jkdzjdz49c4k4mxiz879c7ikw59c5zvrh009";
};
# TODO: dictionaries
help = fetchSrc {
name = "help";
- sha256 = "0chips6h2ymaqwvjlxzjn7jm64y6r4lcr7z7rppan436nqz95dn1";
+ sha256 = "1w9bqwzz75vvxxy9dgln0v6p6isf8mkqnkg1nzlaykvdgsn5sp4z";
};
};
in stdenv.mkDerivation rec {
- name = "libreoffice-${version}";
+ pname = "libreoffice";
+ inherit version;
inherit (primary-src) src;
@@ -144,6 +145,8 @@ in stdenv.mkDerivation rec {
sed -e '/CPPUNIT_ASSERT_EQUAL(11148L, pOleObj->GetLogicRect().getWidth());/d ' -i sc/qa/unit/subsequent_filters-test.cxx
# tilde expansion in path processing checks the existence of $HOME
sed -e 's@OString sSysPath("~/tmp");@& return ; @' -i sal/qa/osl/file/osl_File.cxx
+ # fails on systems using ZFS, see https://github.com/NixOS/nixpkgs/issues/19071
+ sed -e '/CPPUNIT_TEST(getSystemPathFromFileURL_005);/d' -i './sal/qa/osl/file/osl_File.cxx'
# rendering-dependent: on my computer the test table actually doesn't fit…
# interesting fact: test disabled on macOS by upstream
sed -re '/DECLARE_WW8EXPORT_TEST[(]testTableKeep, "tdf91083.odt"[)]/,+5d' -i ./sw/qa/extras/ww8export/ww8export.cxx
@@ -276,7 +279,7 @@ in stdenv.mkDerivation rec {
'';
configureFlags = [
- "${if withHelp then "" else "--without-help"}"
+ (if withHelp then "" else "--without-help")
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
"--with-beanshell-jar=${bsh}"
@@ -306,6 +309,9 @@ in stdenv.mkDerivation rec {
# Without these, configure does not finish
"--without-junit"
+ # Schema files for validation are not included in the source tarball
+ "--without-export-validation"
+
"--disable-libnumbertext" # system-libnumbertext"
# We do tarball prefetching ourselves
@@ -345,24 +351,25 @@ in stdenv.mkDerivation rec {
make slowcheck
'';
+ nativeBuildInputs = [ wrapGAppsHook gdb fontforge autoconf automake bison pkgconfig libtool ];
+
buildInputs = with xorg;
- [ ant ArchiveZip autoconf automake bison boost cairo clucene_core
+ [ ant ArchiveZip boost cairo clucene_core
IOCompress cppunit cups curl db dbus-glib expat file flex fontconfig
freetype GConf getopt gnome_vfs gperf gtk3 gtk2
hunspell icu jdk lcms libcdr libexttextcat unixODBC libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
libXaw libXext libXi libXinerama libxml2 libxslt libXtst
libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer
- gst_all_1.gst-plugins-base glib mariadb
+ gst_all_1.gst-plugins-base glib mysql.connector-c
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
python3 sablotron sane-backends unzip vigra which zip zlib
- mdds bluez5 libcmis libwps libabw libzmf libtool
+ mdds bluez5 libcmis libwps libabw libzmf
libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux
librevenge libe-book libmwaw glm glew ncurses epoxy
libodfgen CoinMP librdf_rasqal gnome3.adwaita-icon-theme gettext
]
++ lib.optional kdeIntegration kdelibs4;
- nativeBuildInputs = [ wrapGAppsHook gdb fontforge ];
passthru = {
inherit srcs jdk;
diff --git a/pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix b/pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix
index adec1474808..b5a721b5679 100644
--- a/pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix
+++ b/pkgs/applications/office/libreoffice/libreoffice-srcs-still.nix
@@ -56,18 +56,18 @@
md5name = "00b516f4704d4a7cb50a1d97e6e8e15b-bzip2-1.0.6.tar.gz";
}
{
- name = "cairo-1.14.10.tar.xz";
- url = "http://dev-www.libreoffice.org/src/cairo-1.14.10.tar.xz";
- sha256 = "7e87878658f2c9951a14fc64114d4958c0e65ac47530b8ac3078b2ce41b66a09";
+ name = "cairo-1.16.0.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/cairo-1.16.0.tar.xz";
+ sha256 = "5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331";
md5 = "";
- md5name = "7e87878658f2c9951a14fc64114d4958c0e65ac47530b8ac3078b2ce41b66a09-cairo-1.14.10.tar.xz";
+ md5name = "5e7b29b3f113ef870d1e3ecf8adf21f923396401604bda16d44be45e66052331-cairo-1.16.0.tar.xz";
}
{
- name = "libcdr-0.1.4.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libcdr-0.1.4.tar.xz";
- sha256 = "e7a7e8b00a3df5798110024d7061fe9d1c3330277d2e4fa9213294f966a4a66d";
+ name = "libcdr-0.1.5.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libcdr-0.1.5.tar.xz";
+ sha256 = "6ace5c499a8be34ad871e825442ce388614ae2d8675c4381756a7319429e3a48";
md5 = "";
- md5name = "e7a7e8b00a3df5798110024d7061fe9d1c3330277d2e4fa9213294f966a4a66d-libcdr-0.1.4.tar.xz";
+ md5name = "6ace5c499a8be34ad871e825442ce388614ae2d8675c4381756a7319429e3a48-libcdr-0.1.5.tar.xz";
}
{
name = "clucene-core-2.3.3.4.tar.gz";
@@ -77,11 +77,11 @@
md5name = "48d647fbd8ef8889e5a7f422c1bfda94-clucene-core-2.3.3.4.tar.gz";
}
{
- name = "libcmis-0.5.1.tar.gz";
- url = "http://dev-www.libreoffice.org/src/libcmis-0.5.1.tar.gz";
- sha256 = "6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e";
+ name = "libcmis-0.5.2.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libcmis-0.5.2.tar.xz";
+ sha256 = "d7b18d9602190e10d437f8a964a32e983afd57e2db316a07d87477a79f5000a2";
md5 = "";
- md5name = "6acbdf22ecdbaba37728729b75bfc085ee5a4b49a6024757cfb86ccd3da27b0e-libcmis-0.5.1.tar.gz";
+ md5name = "d7b18d9602190e10d437f8a964a32e983afd57e2db316a07d87477a79f5000a2-libcmis-0.5.2.tar.xz";
}
{
name = "CoinMP-1.7.6.tgz";
@@ -105,11 +105,11 @@
md5name = "1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt";
}
{
- name = "curl-7.63.0.tar.gz";
- url = "http://dev-www.libreoffice.org/src/curl-7.63.0.tar.gz";
- sha256 = "d483b89062832e211c887d7cf1b65c902d591b48c11fe7d174af781681580b41";
+ name = "curl-7.65.0.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/curl-7.65.0.tar.xz";
+ sha256 = "7766d263929404f693905b5e5222aa0f2bdf8c66ab4b8758f0c0820a42b966cd";
md5 = "";
- md5name = "d483b89062832e211c887d7cf1b65c902d591b48c11fe7d174af781681580b41-curl-7.63.0.tar.gz";
+ md5name = "7766d263929404f693905b5e5222aa0f2bdf8c66ab4b8758f0c0820a42b966cd-curl-7.65.0.tar.xz";
}
{
name = "libe-book-0.1.3.tar.xz";
@@ -119,11 +119,11 @@
md5name = "7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9-libe-book-0.1.3.tar.xz";
}
{
- name = "libepoxy-1.3.1.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/libepoxy-1.3.1.tar.bz2";
- sha256 = "1d8668b0a259c709899e1c4bab62d756d9002d546ce4f59c9665e2fc5f001a64";
+ name = "libepoxy-1.5.3.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libepoxy-1.5.3.tar.xz";
+ sha256 = "002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d";
md5 = "";
- md5name = "1d8668b0a259c709899e1c4bab62d756d9002d546ce4f59c9665e2fc5f001a64-libepoxy-1.3.1.tar.bz2";
+ md5name = "002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d-libepoxy-1.5.3.tar.xz";
}
{
name = "epm-3.7.tar.gz";
@@ -140,11 +140,11 @@
md5name = "03e084b994cbeffc8c3dd13303b2cb805f44d8f2c3b79f7690d7e3fc7f6215ad-libepubgen-0.1.1.tar.xz";
}
{
- name = "libetonyek-0.1.8.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libetonyek-0.1.8.tar.xz";
- sha256 = "9dc92347aee0cc9ed57b175a3e21f9d96ebe55d30fecb10e841d1050794ed82d";
+ name = "libetonyek-0.1.9.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libetonyek-0.1.9.tar.xz";
+ sha256 = "e61677e8799ce6e55b25afc11aa5339113f6a49cff031f336e32fa58635b1a4a";
md5 = "";
- md5name = "9dc92347aee0cc9ed57b175a3e21f9d96ebe55d30fecb10e841d1050794ed82d-libetonyek-0.1.8.tar.xz";
+ md5name = "e61677e8799ce6e55b25afc11aa5339113f6a49cff031f336e32fa58635b1a4a-libetonyek-0.1.9.tar.xz";
}
{
name = "expat-2.2.5.tar.bz2";
@@ -196,18 +196,18 @@
md5name = "1725634df4bb3dcb1b2c91a6175f8789-GentiumBasic_1102.zip";
}
{
- name = "liberation-fonts-ttf-1.07.4.tar.gz";
- url = "http://dev-www.libreoffice.org/src/134d8262145fc793c6af494dcace3e71-liberation-fonts-ttf-1.07.4.tar.gz";
- sha256 = "61a7e2b6742a43c73e8762cdfeaf6dfcf9abdd2cfa0b099a9854d69bc4cfee5c";
- md5 = "134d8262145fc793c6af494dcace3e71";
- md5name = "134d8262145fc793c6af494dcace3e71-liberation-fonts-ttf-1.07.4.tar.gz";
+ name = "liberation-narrow-fonts-ttf-1.07.6.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/liberation-narrow-fonts-ttf-1.07.6.tar.gz";
+ sha256 = "8879d89b5ff7b506c9fc28efc31a5c0b954bbe9333e66e5283d27d20a8519ea3";
+ md5 = "";
+ md5name = "8879d89b5ff7b506c9fc28efc31a5c0b954bbe9333e66e5283d27d20a8519ea3-liberation-narrow-fonts-ttf-1.07.6.tar.gz";
}
{
- name = "liberation-fonts-ttf-2.00.1.tar.gz";
- url = "http://dev-www.libreoffice.org/src/5c781723a0d9ed6188960defba8e91cf-liberation-fonts-ttf-2.00.1.tar.gz";
- sha256 = "7890278a6cd17873c57d9cd785c2d230d9abdea837e96516019c5885dd271504";
- md5 = "5c781723a0d9ed6188960defba8e91cf";
- md5name = "5c781723a0d9ed6188960defba8e91cf-liberation-fonts-ttf-2.00.1.tar.gz";
+ name = "liberation-fonts-ttf-2.00.4.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/liberation-fonts-ttf-2.00.4.tar.gz";
+ sha256 = "c40e95fc5e0ecb73d4be565ae2afc1114e2bc7dc5253e00ee92d8fd6cc4adf45";
+ md5 = "";
+ md5name = "c40e95fc5e0ecb73d4be565ae2afc1114e2bc7dc5253e00ee92d8fd6cc4adf45-liberation-fonts-ttf-2.00.4.tar.gz";
}
{
name = "LinLibertineG-20120116.zip";
@@ -230,6 +230,13 @@
md5 = "edc4d741888bc0d38e32dbaa17149596";
md5name = "edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz";
}
+ {
+ name = "source-serif-font-2.007R.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/source-serif-font-2.007R.tar.gz";
+ sha256 = "10b2bbb357d52bf0f516d3e0ac0a09b5f7901470fbf649b69dad9ccc2d29f7cb";
+ md5 = "";
+ md5name = "10b2bbb357d52bf0f516d3e0ac0a09b5f7901470fbf649b69dad9ccc2d29f7cb-source-serif-font-2.007R.tar.gz";
+ }
{
name = "EmojiOneColor-SVGinOT-1.3.tar.gz";
url = "http://dev-www.libreoffice.org/src/EmojiOneColor-SVGinOT-1.3.tar.gz";
@@ -343,11 +350,11 @@
md5name = "17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip";
}
{
- name = "hunspell-1.6.2.tar.gz";
- url = "http://dev-www.libreoffice.org/src/hunspell-1.6.2.tar.gz";
- sha256 = "3cd9ceb062fe5814f668e4f22b2fa6e3ba0b339b921739541ce180cac4d6f4c4";
+ name = "hunspell-1.7.0.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/hunspell-1.7.0.tar.gz";
+ sha256 = "57be4e03ae9dd62c3471f667a0d81a14513e314d4d92081292b90435944ff951";
md5 = "";
- md5name = "3cd9ceb062fe5814f668e4f22b2fa6e3ba0b339b921739541ce180cac4d6f4c4-hunspell-1.6.2.tar.gz";
+ md5name = "57be4e03ae9dd62c3471f667a0d81a14513e314d4d92081292b90435944ff951-hunspell-1.7.0.tar.gz";
}
{
name = "hyphen-2.8.8.tar.gz";
@@ -357,18 +364,18 @@
md5name = "5ade6ae2a99bc1e9e57031ca88d36dad-hyphen-2.8.8.tar.gz";
}
{
- name = "icu4c-61_1-src.tgz";
- url = "http://dev-www.libreoffice.org/src/icu4c-61_1-src.tgz";
- sha256 = "d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef";
+ name = "icu4c-63_1-src.tgz";
+ url = "http://dev-www.libreoffice.org/src/icu4c-63_1-src.tgz";
+ sha256 = "05c490b69454fce5860b7e8e2821231674af0a11d7ef2febea9a32512998cb9d";
md5 = "";
- md5name = "d007f89ae8a2543a53525c74359b65b36412fa84b3349f1400be6dcf409fafef-icu4c-61_1-src.tgz";
+ md5name = "05c490b69454fce5860b7e8e2821231674af0a11d7ef2febea9a32512998cb9d-icu4c-63_1-src.tgz";
}
{
- name = "icu4c-61_1-data.zip";
- url = "http://dev-www.libreoffice.org/src/icu4c-61_1-data.zip";
- sha256 = "d149ed0985b5a6e16a9d8ed66f105dd58fd334c276779f74241cfa656ed2830a";
+ name = "icu4c-63_1-data.zip";
+ url = "http://dev-www.libreoffice.org/src/icu4c-63_1-data.zip";
+ sha256 = "9bef2bf28ec4fdc86a3bd88d7ac4d509fef6dfbe9c6798299e55b9d4343e960c";
md5 = "";
- md5name = "d149ed0985b5a6e16a9d8ed66f105dd58fd334c276779f74241cfa656ed2830a-icu4c-61_1-data.zip";
+ md5name = "9bef2bf28ec4fdc86a3bd88d7ac4d509fef6dfbe9c6798299e55b9d4343e960c-icu4c-63_1-data.zip";
}
{
name = "flow-engine-0.9.4.zip";
@@ -448,18 +455,18 @@
md5name = "39bb3fcea1514f1369fcfc87542390fd-sacjava-1.3.zip";
}
{
- name = "libjpeg-turbo-1.5.2.tar.gz";
- url = "http://dev-www.libreoffice.org/src/libjpeg-turbo-1.5.2.tar.gz";
- sha256 = "9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528";
+ name = "libjpeg-turbo-1.5.3.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/libjpeg-turbo-1.5.3.tar.gz";
+ sha256 = "b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523";
md5 = "";
- md5name = "9098943b270388727ae61de82adec73cf9f0dbb240b3bc8b172595ebf405b528-libjpeg-turbo-1.5.2.tar.gz";
+ md5name = "b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523-libjpeg-turbo-1.5.3.tar.gz";
}
{
- name = "language-subtag-registry-2018-04-23.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/language-subtag-registry-2018-04-23.tar.bz2";
- sha256 = "14c21f4533ca74e3af9e09184d6756a750d0cd46099015ba8c595e48499aa878";
+ name = "language-subtag-registry-2019-04-03.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/language-subtag-registry-2019-04-03.tar.bz2";
+ sha256 = "a1d7fb901764bb8f251d4f686cdf565764f9987d0fb5d9315d54a7366a84822d";
md5 = "";
- md5name = "14c21f4533ca74e3af9e09184d6756a750d0cd46099015ba8c595e48499aa878-language-subtag-registry-2018-04-23.tar.bz2";
+ md5name = "a1d7fb901764bb8f251d4f686cdf565764f9987d0fb5d9315d54a7366a84822d-language-subtag-registry-2019-04-03.tar.bz2";
}
{
name = "JLanguageTool-1.7.0.tar.bz2";
@@ -483,11 +490,11 @@
md5name = "47f96c37b4f2aac289f0bc1bacfa8bd8b4b209a488d3d15e2229cb6cc9b26449-libassuan-2.5.1.tar.bz2";
}
{
- name = "libatomic_ops-7_2d.zip";
- url = "http://dev-www.libreoffice.org/src/libatomic_ops-7_2d.zip";
- sha256 = "cf5c52f08a2067ae4fe7c8919e3c1ccf3ee917f1749e0bcc7efffff59c68d9ad";
+ name = "libatomic_ops-7.6.8.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/libatomic_ops-7.6.8.tar.gz";
+ sha256 = "1d6a279edf81767e74d2ad2c9fce09459bc65f12c6525a40b0cb3e53c089f665";
md5 = "";
- md5name = "cf5c52f08a2067ae4fe7c8919e3c1ccf3ee917f1749e0bcc7efffff59c68d9ad-libatomic_ops-7_2d.zip";
+ md5name = "1d6a279edf81767e74d2ad2c9fce09459bc65f12c6525a40b0cb3e53c089f665-libatomic_ops-7.6.8.tar.gz";
}
{
name = "libeot-0.01.tar.bz2";
@@ -518,11 +525,11 @@
md5name = "d6242790324f1432fb0a6fae71b6851f520b2c5a87675497cf8ea14c2924d52e-liblangtag-0.6.2.tar.bz2";
}
{
- name = "libnumbertext-1.0.4.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libnumbertext-1.0.4.tar.xz";
- sha256 = "349258f4c3a8b090893e847b978b22e8dc1343d4ada3bfba811b97144f1dd67b";
+ name = "libnumbertext-1.0.5.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libnumbertext-1.0.5.tar.xz";
+ sha256 = "e1c9086b4cecb6b25f180316f30740dfabe6a4dbaf70dddc34276fc839e4f4f7";
md5 = "";
- md5name = "349258f4c3a8b090893e847b978b22e8dc1343d4ada3bfba811b97144f1dd67b-libnumbertext-1.0.4.tar.xz";
+ md5name = "e1c9086b4cecb6b25f180316f30740dfabe6a4dbaf70dddc34276fc839e4f4f7-libnumbertext-1.0.5.tar.xz";
}
{
name = "ltm-1.0.zip";
@@ -532,11 +539,11 @@
md5name = "083daa92d8ee6f4af96a6143b12d7fc8fe1a547e14f862304f7281f8f7347483-ltm-1.0.zip";
}
{
- name = "xmlsec1-1.2.25.tar.gz";
- url = "http://dev-www.libreoffice.org/src/xmlsec1-1.2.25.tar.gz";
- sha256 = "967ca83edf25ccb5b48a3c4a09ad3405a63365576503bf34290a42de1b92fcd2";
+ name = "xmlsec1-1.2.27.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/xmlsec1-1.2.27.tar.gz";
+ sha256 = "97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6";
md5 = "";
- md5name = "967ca83edf25ccb5b48a3c4a09ad3405a63365576503bf34290a42de1b92fcd2-xmlsec1-1.2.25.tar.gz";
+ md5name = "97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6-xmlsec1-1.2.27.tar.gz";
}
{
name = "libxml2-2.9.9.tar.gz";
@@ -574,18 +581,18 @@
md5name = "a233181e03d3c307668b4c722d881661-mariadb_client-2.0.0-src.tar.gz";
}
{
- name = "mdds-1.3.1.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/mdds-1.3.1.tar.bz2";
- sha256 = "dcb8cd2425567a5a5ec164afea475bce57784bca3e352ad4cbdd3d1a7e08e5a1";
+ name = "mdds-1.4.3.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/mdds-1.4.3.tar.bz2";
+ sha256 = "25ce3d5af9f6609e1de05bb22b2316e57b74a72a5b686fbb2da199da72349c81";
md5 = "";
- md5name = "dcb8cd2425567a5a5ec164afea475bce57784bca3e352ad4cbdd3d1a7e08e5a1-mdds-1.3.1.tar.bz2";
+ md5name = "25ce3d5af9f6609e1de05bb22b2316e57b74a72a5b686fbb2da199da72349c81-mdds-1.4.3.tar.bz2";
}
{
- name = "mDNSResponder-576.30.4.tar.gz";
- url = "http://dev-www.libreoffice.org/src/mDNSResponder-576.30.4.tar.gz";
- sha256 = "4737cb51378377e11d0edb7bcdd1bec79cbdaa7b27ea09c13e3006e58f8d92c0";
+ name = "mDNSResponder-878.200.35.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/mDNSResponder-878.200.35.tar.gz";
+ sha256 = "e777b4d7dbf5eb1552cb80090ad1ede319067ab6e45e3990d68aabf6e8b3f5a0";
md5 = "";
- md5name = "4737cb51378377e11d0edb7bcdd1bec79cbdaa7b27ea09c13e3006e58f8d92c0-mDNSResponder-576.30.4.tar.gz";
+ md5name = "e777b4d7dbf5eb1552cb80090ad1ede319067ab6e45e3990d68aabf6e8b3f5a0-mDNSResponder-878.200.35.tar.gz";
}
{
name = "libmspub-0.1.4.tar.xz";
@@ -601,13 +608,6 @@
md5 = "";
md5name = "aca8bf1ce55ed83adbea82c70d4c8bebe8139f334b3481bf5a6e407f91f33ce9-libmwaw-0.3.14.tar.xz";
}
- {
- name = "mysql-connector-c++-1.1.4.tar.gz";
- url = "http://dev-www.libreoffice.org/src/7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz";
- sha256 = "a25f14dad39e93a2f9cdf09166ee53981f7212dce829e4208e07a522963a8585";
- md5 = "7239a4430efd4d0189c4f24df67f08e5";
- md5name = "7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz";
- }
{
name = "mythes-1.2.4.tar.gz";
url = "http://dev-www.libreoffice.org/src/a8c2c5b8f09e7ede322d5c602ff6a4b6-mythes-1.2.4.tar.gz";
@@ -623,11 +623,11 @@
md5name = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca-neon-0.30.2.tar.gz";
}
{
- name = "nss-3.38-with-nspr-4.19.tar.gz";
- url = "http://dev-www.libreoffice.org/src/nss-3.38-with-nspr-4.19.tar.gz";
- sha256 = "f271ec73291fa3e4bd4b59109f8035cc3a192fc33886f40ed4f9ee4b31c746e9";
+ name = "nss-3.45-with-nspr-4.21.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/nss-3.45-with-nspr-4.21.tar.gz";
+ sha256 = "fae11751100510d26f16a245f0db9a5b3d638ab28ce0bccd50d4314f7e526ba1";
md5 = "";
- md5name = "f271ec73291fa3e4bd4b59109f8035cc3a192fc33886f40ed4f9ee4b31c746e9-nss-3.38-with-nspr-4.19.tar.gz";
+ md5name = "fae11751100510d26f16a245f0db9a5b3d638ab28ce0bccd50d4314f7e526ba1-nss-3.45-with-nspr-4.21.tar.gz";
}
{
name = "libodfgen-0.1.6.tar.bz2";
@@ -637,11 +637,11 @@
md5name = "2c7b21892f84a4c67546f84611eccdad6259875c971e98ddb027da66ea0ac9c2-libodfgen-0.1.6.tar.bz2";
}
{
- name = "odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
- url = "http://dev-www.libreoffice.org/src/../extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
- sha256 = "702413413a5d8076c17fe79c0808dfba145a7260020f6c8627ea529a0cf83769";
+ name = "odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar";
+ url = "http://dev-www.libreoffice.org/src/../extern/odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar";
+ sha256 = "984f2a479df79e27e7b01a5815ac53ae64e07746b882262d8a64566494515504";
md5 = "";
- md5name = "702413413a5d8076c17fe79c0808dfba145a7260020f6c8627ea529a0cf83769-odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies+ODFTOOLKIT-460+ODFTOOLKIT-475.jar";
+ md5name = "984f2a479df79e27e7b01a5815ac53ae64e07746b882262d8a64566494515504-odfvalidator-1.2.0-incubating-SNAPSHOT-jar-with-dependencies-971c54fd38a968f5860014b44301872706f9e540.jar";
}
{
name = "officeotron-0.7.4-master.jar";
@@ -658,18 +658,18 @@
md5name = "cdd6cffdebcd95161a73305ec13fc7a78e9707b46ca9f84fb897cd5626df3824-openldap-2.4.45.tgz";
}
{
- name = "openssl-1.0.2p.tar.gz";
- url = "http://dev-www.libreoffice.org/src/openssl-1.0.2p.tar.gz";
- sha256 = "50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00";
+ name = "openssl-1.0.2r.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/openssl-1.0.2r.tar.gz";
+ sha256 = "ae51d08bba8a83958e894946f15303ff894d75c2b8bbd44a852b64e3fe11d0d6";
md5 = "";
- md5name = "50a98e07b1a89eb8f6a99477f262df71c6fa7bef77df4dc83025a2845c827d00-openssl-1.0.2p.tar.gz";
+ md5name = "ae51d08bba8a83958e894946f15303ff894d75c2b8bbd44a852b64e3fe11d0d6-openssl-1.0.2r.tar.gz";
}
{
- name = "liborcus-0.13.4.tar.gz";
- url = "http://dev-www.libreoffice.org/src/liborcus-0.13.4.tar.gz";
- sha256 = "bc01b1b3e9091416f498840d3c19a1aa2704b448100e7f6b80eefe88aab06d5b";
+ name = "liborcus-0.14.1.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/liborcus-0.14.1.tar.gz";
+ sha256 = "3f48cfbc21ad74787218284939c04d42cb836c73bc393f27f538b668e4d78a5f";
md5 = "";
- md5name = "bc01b1b3e9091416f498840d3c19a1aa2704b448100e7f6b80eefe88aab06d5b-liborcus-0.13.4.tar.gz";
+ md5name = "3f48cfbc21ad74787218284939c04d42cb836c73bc393f27f538b668e4d78a5f-liborcus-0.14.1.tar.gz";
}
{
name = "owncloud-android-library-0.9.4-no-binary-deps.tar.gz";
@@ -686,11 +686,11 @@
md5name = "66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d-libpagemaker-0.0.4.tar.xz";
}
{
- name = "pdfium-3426.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/pdfium-3426.tar.bz2";
- sha256 = "80331b48166501a192d65476932f17044eeb5f10faa6ea50f4f175169475c957";
+ name = "pdfium-3550.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/pdfium-3550.tar.bz2";
+ sha256 = "572460f7f9e2f86d022a9c6a82f1e2ded6c3c29ba352d4b9fac60b87e2159679";
md5 = "";
- md5name = "80331b48166501a192d65476932f17044eeb5f10faa6ea50f4f175169475c957-pdfium-3426.tar.bz2";
+ md5name = "572460f7f9e2f86d022a9c6a82f1e2ded6c3c29ba352d4b9fac60b87e2159679-pdfium-3550.tar.bz2";
}
{
name = "pixman-0.34.0.tar.gz";
@@ -700,39 +700,39 @@
md5name = "e80ebae4da01e77f68744319f01d52a3-pixman-0.34.0.tar.gz";
}
{
- name = "libpng-1.6.34.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libpng-1.6.34.tar.xz";
- sha256 = "2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6";
+ name = "libpng-1.6.37.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libpng-1.6.37.tar.xz";
+ sha256 = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca";
md5 = "";
- md5name = "2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6-libpng-1.6.34.tar.xz";
+ md5name = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca-libpng-1.6.37.tar.xz";
}
{
- name = "poppler-0.73.0.tar.xz";
- url = "http://dev-www.libreoffice.org/src/poppler-0.73.0.tar.xz";
- sha256 = "e44b5543903128884ba4538c2a97d3bcc8889e97ffacc4636112101f0238db03";
+ name = "poppler-0.74.0.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/poppler-0.74.0.tar.xz";
+ sha256 = "92e09fd3302567fd36146b36bb707db43ce436e8841219025a82ea9fb0076b2f";
md5 = "";
- md5name = "e44b5543903128884ba4538c2a97d3bcc8889e97ffacc4636112101f0238db03-poppler-0.73.0.tar.xz";
+ md5name = "92e09fd3302567fd36146b36bb707db43ce436e8841219025a82ea9fb0076b2f-poppler-0.74.0.tar.xz";
}
{
- name = "postgresql-9.2.1.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2";
- sha256 = "db61d498105a7d5fe46185e67ac830c878cdd7dc1f82a87f06b842217924c461";
- md5 = "c0b4799ea9850eae3ead14f0a60e9418";
- md5name = "c0b4799ea9850eae3ead14f0a60e9418-postgresql-9.2.1.tar.bz2";
+ name = "postgresql-9.2.24.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/postgresql-9.2.24.tar.bz2";
+ sha256 = "a754c02f7051c2f21e52f8669a421b50485afcde9a581674d6106326b189d126";
+ md5 = "";
+ md5name = "a754c02f7051c2f21e52f8669a421b50485afcde9a581674d6106326b189d126-postgresql-9.2.24.tar.bz2";
}
{
- name = "Python-3.5.5.tar.xz";
- url = "http://dev-www.libreoffice.org/src/Python-3.5.5.tar.xz";
- sha256 = "063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009";
+ name = "Python-3.5.7.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/Python-3.5.7.tar.xz";
+ sha256 = "285892899bf4d5737fd08482aa6171c6b2564a45b9102dfacfb72826aebdc7dc";
md5 = "";
- md5name = "063d2c3b0402d6191b90731e0f735c64830e7522348aeb7ed382a83165d45009-Python-3.5.5.tar.xz";
+ md5name = "285892899bf4d5737fd08482aa6171c6b2564a45b9102dfacfb72826aebdc7dc-Python-3.5.7.tar.xz";
}
{
- name = "libqxp-0.0.1.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libqxp-0.0.1.tar.xz";
- sha256 = "8c257f6184ff94aefa7c9fa1cfae82083d55a49247266905c71c53e013f95c73";
+ name = "libqxp-0.0.2.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libqxp-0.0.2.tar.xz";
+ sha256 = "e137b6b110120a52c98edd02ebdc4095ee08d0d5295a94316a981750095a945c";
md5 = "";
- md5name = "8c257f6184ff94aefa7c9fa1cfae82083d55a49247266905c71c53e013f95c73-libqxp-0.0.1.tar.xz";
+ md5name = "e137b6b110120a52c98edd02ebdc4095ee08d0d5295a94316a981750095a945c-libqxp-0.0.2.tar.xz";
}
{
name = "raptor2-2.0.15.tar.gz";
@@ -812,25 +812,25 @@
md5name = "fe1002d3671d53c09bc65e47ec948ec7b67e6fb112ed1cd10966e211a8bb50f9-libvisio-0.1.6.tar.xz";
}
{
- name = "libwpd-0.10.2.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libwpd-0.10.2.tar.xz";
- sha256 = "323f68beaf4f35e5a4d7daffb4703d0566698280109210fa4eaa90dea27d6610";
+ name = "libwpd-0.10.3.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libwpd-0.10.3.tar.xz";
+ sha256 = "2465b0b662fdc5d4e3bebcdc9a79027713fb629ca2bff04a3c9251fdec42dd09";
md5 = "";
- md5name = "323f68beaf4f35e5a4d7daffb4703d0566698280109210fa4eaa90dea27d6610-libwpd-0.10.2.tar.xz";
+ md5name = "2465b0b662fdc5d4e3bebcdc9a79027713fb629ca2bff04a3c9251fdec42dd09-libwpd-0.10.3.tar.xz";
}
{
- name = "libwpg-0.3.2.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libwpg-0.3.2.tar.xz";
- sha256 = "57faf1ab97d63d57383ac5d7875e992a3d190436732f4083310c0471e72f8c33";
+ name = "libwpg-0.3.3.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libwpg-0.3.3.tar.xz";
+ sha256 = "99b3f7f8832385748582ab8130fbb9e5607bd5179bebf9751ac1d51a53099d1c";
md5 = "";
- md5name = "57faf1ab97d63d57383ac5d7875e992a3d190436732f4083310c0471e72f8c33-libwpg-0.3.2.tar.xz";
+ md5name = "99b3f7f8832385748582ab8130fbb9e5607bd5179bebf9751ac1d51a53099d1c-libwpg-0.3.3.tar.xz";
}
{
- name = "libwps-0.4.9.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libwps-0.4.9.tar.xz";
- sha256 = "13beb0c733bb1544a542b6ab1d9d205f218e9a2202d1d4cac056f79f6db74922";
+ name = "libwps-0.4.10.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libwps-0.4.10.tar.xz";
+ sha256 = "1421e034286a9f96d3168a1c54ea570ee7aa008ca07b89de005ad5ce49fb29ca";
md5 = "";
- md5name = "13beb0c733bb1544a542b6ab1d9d205f218e9a2202d1d4cac056f79f6db74922-libwps-0.4.9.tar.xz";
+ md5name = "1421e034286a9f96d3168a1c54ea570ee7aa008ca07b89de005ad5ce49fb29ca-libwps-0.4.10.tar.xz";
}
{
name = "xsltml_2.1.2.zip";
diff --git a/pkgs/applications/office/libreoffice/libreoffice-srcs.nix b/pkgs/applications/office/libreoffice/libreoffice-srcs.nix
index 7170982688c..4df8ce1059b 100644
--- a/pkgs/applications/office/libreoffice/libreoffice-srcs.nix
+++ b/pkgs/applications/office/libreoffice/libreoffice-srcs.nix
@@ -28,11 +28,11 @@
md5name = "976a12a59bc286d634a21d7be0841cc74289ea9077aa1af46be19d1a6e844c19-apr-util-1.5.4.tar.gz";
}
{
- name = "boost_1_66_0.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/boost_1_66_0.tar.bz2";
- sha256 = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9";
+ name = "boost_1_69_0.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/boost_1_69_0.tar.bz2";
+ sha256 = "8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406";
md5 = "";
- md5name = "5721818253e6a0989583192f96782c4a98eb6204965316df9f5ad75819225ca9-boost_1_66_0.tar.bz2";
+ md5name = "8f32d4617390d1c2d16f26a27ab60d97807b35440d45891fa340fc2648b04406-boost_1_69_0.tar.bz2";
}
{
name = "breakpad.zip";
@@ -105,11 +105,11 @@
md5name = "1f467e5bb703f12cbbb09d5cf67ecf4a-converttexttonumber-1-5-0.oxt";
}
{
- name = "curl-7.64.0.tar.gz";
- url = "http://dev-www.libreoffice.org/src/curl-7.64.0.tar.gz";
- sha256 = "cb90d2eb74d4e358c1ed1489f8e3af96b50ea4374ad71f143fa4595e998d81b5";
+ name = "curl-7.65.0.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/curl-7.65.0.tar.xz";
+ sha256 = "7766d263929404f693905b5e5222aa0f2bdf8c66ab4b8758f0c0820a42b966cd";
md5 = "";
- md5name = "cb90d2eb74d4e358c1ed1489f8e3af96b50ea4374ad71f143fa4595e998d81b5-curl-7.64.0.tar.gz";
+ md5name = "7766d263929404f693905b5e5222aa0f2bdf8c66ab4b8758f0c0820a42b966cd-curl-7.65.0.tar.xz";
}
{
name = "libe-book-0.1.3.tar.xz";
@@ -119,11 +119,11 @@
md5name = "7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9-libe-book-0.1.3.tar.xz";
}
{
- name = "libepoxy-1.5.2.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libepoxy-1.5.2.tar.xz";
- sha256 = "a9562386519eb3fd7f03209f279f697a8cba520d3c155d6e253c3e138beca7d8";
+ name = "libepoxy-1.5.3.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libepoxy-1.5.3.tar.xz";
+ sha256 = "002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d";
md5 = "";
- md5name = "a9562386519eb3fd7f03209f279f697a8cba520d3c155d6e253c3e138beca7d8-libepoxy-1.5.2.tar.xz";
+ md5name = "002958c5528321edd53440235d3c44e71b5b1e09b9177e8daf677450b6c4433d-libepoxy-1.5.3.tar.xz";
}
{
name = "epm-3.7.tar.gz";
@@ -231,11 +231,11 @@
md5name = "edc4d741888bc0d38e32dbaa17149596-source-sans-pro-2.010R-ro-1.065R-it.tar.gz";
}
{
- name = "source-serif-font-2.007R.tar.gz";
- url = "http://dev-www.libreoffice.org/src/source-serif-font-2.007R.tar.gz";
- sha256 = "10b2bbb357d52bf0f516d3e0ac0a09b5f7901470fbf649b69dad9ccc2d29f7cb";
+ name = "source-serif-pro-3.000R.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/source-serif-pro-3.000R.tar.gz";
+ sha256 = "826a2b784d5cdb4c2bbc7830eb62871528360a61a52689c102a101623f1928e3";
md5 = "";
- md5name = "10b2bbb357d52bf0f516d3e0ac0a09b5f7901470fbf649b69dad9ccc2d29f7cb-source-serif-font-2.007R.tar.gz";
+ md5name = "826a2b784d5cdb4c2bbc7830eb62871528360a61a52689c102a101623f1928e3-source-serif-pro-3.000R.tar.gz";
}
{
name = "EmojiOneColor-SVGinOT-1.3.tar.gz";
@@ -308,11 +308,11 @@
md5name = "0e422d1564a6dbf22a9af598535425271e583514c0f7ba7d9091676420de34ac-libfreehand-0.1.2.tar.xz";
}
{
- name = "freetype-2.8.1.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/freetype-2.8.1.tar.bz2";
- sha256 = "e5435f02e02d2b87bb8e4efdcaa14b1f78c9cf3ab1ed80f94b6382fb6acc7d78";
+ name = "freetype-2.9.1.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/freetype-2.9.1.tar.bz2";
+ sha256 = "db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d";
md5 = "";
- md5name = "e5435f02e02d2b87bb8e4efdcaa14b1f78c9cf3ab1ed80f94b6382fb6acc7d78-freetype-2.8.1.tar.bz2";
+ md5name = "db8d87ea720ea9d5edc5388fc7a0497bb11ba9fe972245e0f7f4c7e8b1e1e84d-freetype-2.9.1.tar.bz2";
}
{
name = "glm-0.9.4.6-libreoffice.zip";
@@ -329,18 +329,18 @@
md5name = "1b29fedb8bfad775e70eafac5b0590621683b2d9869db994568e6401f4034ceb-gpgme-1.9.0.tar.bz2";
}
{
- name = "graphite2-minimal-1.3.10.tgz";
- url = "http://dev-www.libreoffice.org/src/graphite2-minimal-1.3.10.tgz";
- sha256 = "aa5e58356cd084000609ebbd93fef456a1bc0ab9e46fea20e81552fb286232a9";
+ name = "graphite2-minimal-1.3.13.tgz";
+ url = "http://dev-www.libreoffice.org/src/graphite2-minimal-1.3.13.tgz";
+ sha256 = "d47d387161db7f7ebade1920aa7cbdc797e79772597d8b55e80b58d1071bcc36";
md5 = "";
- md5name = "aa5e58356cd084000609ebbd93fef456a1bc0ab9e46fea20e81552fb286232a9-graphite2-minimal-1.3.10.tgz";
+ md5name = "d47d387161db7f7ebade1920aa7cbdc797e79772597d8b55e80b58d1071bcc36-graphite2-minimal-1.3.13.tgz";
}
{
- name = "harfbuzz-1.8.4.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/harfbuzz-1.8.4.tar.bz2";
- sha256 = "3c592f86fa0da69e2e0e98cae9f5d5b61def3bb7948aa00ca45748f27fa545fd";
+ name = "harfbuzz-2.3.1.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/harfbuzz-2.3.1.tar.bz2";
+ sha256 = "f205699d5b91374008d6f8e36c59e419ae2d9a7bb8c5d9f34041b9a5abcae468";
md5 = "";
- md5name = "3c592f86fa0da69e2e0e98cae9f5d5b61def3bb7948aa00ca45748f27fa545fd-harfbuzz-1.8.4.tar.bz2";
+ md5name = "f205699d5b91374008d6f8e36c59e419ae2d9a7bb8c5d9f34041b9a5abcae468-harfbuzz-2.3.1.tar.bz2";
}
{
name = "hsqldb_1_8_0.zip";
@@ -462,11 +462,11 @@
md5name = "b24890e2bb46e12e72a79f7e965f409f4e16466d00e1dd15d93d73ee6b592523-libjpeg-turbo-1.5.3.tar.gz";
}
{
- name = "language-subtag-registry-2018-04-23.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/language-subtag-registry-2018-04-23.tar.bz2";
- sha256 = "14c21f4533ca74e3af9e09184d6756a750d0cd46099015ba8c595e48499aa878";
+ name = "language-subtag-registry-2019-04-03.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/language-subtag-registry-2019-04-03.tar.bz2";
+ sha256 = "a1d7fb901764bb8f251d4f686cdf565764f9987d0fb5d9315d54a7366a84822d";
md5 = "";
- md5name = "14c21f4533ca74e3af9e09184d6756a750d0cd46099015ba8c595e48499aa878-language-subtag-registry-2018-04-23.tar.bz2";
+ md5name = "a1d7fb901764bb8f251d4f686cdf565764f9987d0fb5d9315d54a7366a84822d-language-subtag-registry-2019-04-03.tar.bz2";
}
{
name = "JLanguageTool-1.7.0.tar.bz2";
@@ -539,11 +539,11 @@
md5name = "083daa92d8ee6f4af96a6143b12d7fc8fe1a547e14f862304f7281f8f7347483-ltm-1.0.zip";
}
{
- name = "xmlsec1-1.2.27.tar.gz";
- url = "http://dev-www.libreoffice.org/src/xmlsec1-1.2.27.tar.gz";
- sha256 = "97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6";
+ name = "xmlsec1-1.2.28.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/xmlsec1-1.2.28.tar.gz";
+ sha256 = "13eec4811ea30e3f0e16a734d1dbf7f9d246a71d540b48d143a07b489f6222d4";
md5 = "";
- md5name = "97d756bad8e92588e6997d2227797eaa900d05e34a426829b149f65d87118eb6-xmlsec1-1.2.27.tar.gz";
+ md5name = "13eec4811ea30e3f0e16a734d1dbf7f9d246a71d540b48d143a07b489f6222d4-xmlsec1-1.2.28.tar.gz";
}
{
name = "libxml2-2.9.9.tar.gz";
@@ -602,11 +602,11 @@
md5name = "ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba-libmspub-0.1.4.tar.xz";
}
{
- name = "libmwaw-0.3.14.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libmwaw-0.3.14.tar.xz";
- sha256 = "aca8bf1ce55ed83adbea82c70d4c8bebe8139f334b3481bf5a6e407f91f33ce9";
+ name = "libmwaw-0.3.15.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libmwaw-0.3.15.tar.xz";
+ sha256 = "0440bb09f05e3419423d8dfa36ee847056ebfd837f9cbc091fdb5b057daab0b1";
md5 = "";
- md5name = "aca8bf1ce55ed83adbea82c70d4c8bebe8139f334b3481bf5a6e407f91f33ce9-libmwaw-0.3.14.tar.xz";
+ md5name = "0440bb09f05e3419423d8dfa36ee847056ebfd837f9cbc091fdb5b057daab0b1-libmwaw-0.3.15.tar.xz";
}
{
name = "mythes-1.2.4.tar.gz";
@@ -623,11 +623,11 @@
md5name = "db0bd8cdec329b48f53a6f00199c92d5ba40b0f015b153718d1b15d3d967fbca-neon-0.30.2.tar.gz";
}
{
- name = "nss-3.38-with-nspr-4.19.tar.gz";
- url = "http://dev-www.libreoffice.org/src/nss-3.38-with-nspr-4.19.tar.gz";
- sha256 = "f271ec73291fa3e4bd4b59109f8035cc3a192fc33886f40ed4f9ee4b31c746e9";
+ name = "nss-3.45-with-nspr-4.21.tar.gz";
+ url = "http://dev-www.libreoffice.org/src/nss-3.45-with-nspr-4.21.tar.gz";
+ sha256 = "fae11751100510d26f16a245f0db9a5b3d638ab28ce0bccd50d4314f7e526ba1";
md5 = "";
- md5name = "f271ec73291fa3e4bd4b59109f8035cc3a192fc33886f40ed4f9ee4b31c746e9-nss-3.38-with-nspr-4.19.tar.gz";
+ md5name = "fae11751100510d26f16a245f0db9a5b3d638ab28ce0bccd50d4314f7e526ba1-nss-3.45-with-nspr-4.21.tar.gz";
}
{
name = "libodfgen-0.1.6.tar.bz2";
@@ -686,11 +686,11 @@
md5name = "66adacd705a7d19895e08eac46d1e851332adf2e736c566bef1164e7a442519d-libpagemaker-0.0.4.tar.xz";
}
{
- name = "pdfium-3550.tar.bz2";
- url = "http://dev-www.libreoffice.org/src/pdfium-3550.tar.bz2";
- sha256 = "572460f7f9e2f86d022a9c6a82f1e2ded6c3c29ba352d4b9fac60b87e2159679";
+ name = "pdfium-3794.tar.bz2";
+ url = "http://dev-www.libreoffice.org/src/pdfium-3794.tar.bz2";
+ sha256 = "e3faddcf741336c64ca2e6f72b23e9e60979969b2cf67c878c9a5bc38328cfc4";
md5 = "";
- md5name = "572460f7f9e2f86d022a9c6a82f1e2ded6c3c29ba352d4b9fac60b87e2159679-pdfium-3550.tar.bz2";
+ md5name = "e3faddcf741336c64ca2e6f72b23e9e60979969b2cf67c878c9a5bc38328cfc4-pdfium-3794.tar.bz2";
}
{
name = "pixman-0.34.0.tar.gz";
@@ -700,11 +700,11 @@
md5name = "e80ebae4da01e77f68744319f01d52a3-pixman-0.34.0.tar.gz";
}
{
- name = "libpng-1.6.34.tar.xz";
- url = "http://dev-www.libreoffice.org/src/libpng-1.6.34.tar.xz";
- sha256 = "2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6";
+ name = "libpng-1.6.37.tar.xz";
+ url = "http://dev-www.libreoffice.org/src/libpng-1.6.37.tar.xz";
+ sha256 = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca";
md5 = "";
- md5name = "2f1e960d92ce3b3abd03d06dfec9637dfbd22febf107a536b44f7a47c60659f6-libpng-1.6.34.tar.xz";
+ md5name = "505e70834d35383537b6491e7ae8641f1a4bed1876dbfe361201fc80868d88ca-libpng-1.6.37.tar.xz";
}
{
name = "poppler-0.74.0.tar.xz";
diff --git a/pkgs/applications/office/libreoffice/still-primary-src.nix b/pkgs/applications/office/libreoffice/still-primary-src.nix
index 8049a664e13..07f30a5525d 100644
--- a/pkgs/applications/office/libreoffice/still-primary-src.nix
+++ b/pkgs/applications/office/libreoffice/still-primary-src.nix
@@ -2,8 +2,8 @@
rec {
major = "6";
- minor = "1";
- patch = "5";
+ minor = "2";
+ patch = "6";
tweak = "2";
subdir = "${major}.${minor}.${patch}";
@@ -12,6 +12,6 @@ rec {
src = fetchurl {
url = "https://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
- sha256 = "1wh8qhqkmb89nmfcb0w6iwpdzxwqr7c5kzxgpk4gy60xin6gwjgb";
+ sha256 = "1nzvdb6yq8bpybz7lrppr237cws6dajk3r9hc9qd0zi55kcddjpq";
};
}
diff --git a/pkgs/applications/office/libreoffice/still.nix b/pkgs/applications/office/libreoffice/still.nix
index efcc4407842..eb774a30941 100644
--- a/pkgs/applications/office/libreoffice/still.nix
+++ b/pkgs/applications/office/libreoffice/still.nix
@@ -2,9 +2,9 @@
, IOCompress, zlib, libjpeg, expat, freetype, libwpd
, libxml2, db, sablotron, curl, fontconfig, libsndfile, neon
, bison, flex, zip, unzip, gtk3, gtk2, libmspack, getopt, file, cairo, which
-, icu, boost, jdk, ant, cups, xorg, libcmis
+, icu, boost, jdk, ant, cups, xorg, libcmis, fontforge
, openssl, gperf, cppunit, GConf, ORBit2, poppler, utillinux
-, librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw
+, librsvg, gnome_vfs, libGLU_combined, bsh, CoinMP, libwps, libabw, mysql
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
, libwpg, dbus-glib, qt4, clucene_core, libcdr, lcms, vigra
, unixODBC, mdds, sane-backends, mythes, libexttextcat, libvisio
@@ -48,25 +48,26 @@ let
translations = fetchSrc {
name = "translations";
- sha256 = "15fdni68b3kyl6115v0d24cl0dp1hdjhkx571w086lrpz0fk9mfi";
+ sha256 = "1l5v9bb7n9s6i24q4mdyqyp5v4f8iy0a9dmpgw649vngj1zxdxfh";
};
# TODO: dictionaries
help = fetchSrc {
name = "help";
- sha256 = "0bfjg14bnqlqwjcc3lkax0nfrhpm6nrqn7ycrmf4r3dzn10lgr64";
+ sha256 = "0h4jvdbvxvgy7w2bzf4k4knqbshlr4v2ic2jsaygy52530z9xifz";
};
};
in stdenv.mkDerivation rec {
- name = "libreoffice-${version}";
+ pname = "libreoffice";
+ inherit version;
inherit (primary-src) src;
# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
- NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ] ++ lib.optional stdenv.isx86_64 "-mno-fma";
+ NIX_CFLAGS_COMPILE = [ "-I${librdf_rasqal}/include/rasqal" ];
patches = [
./xdg-open-brief.patch
@@ -133,6 +134,9 @@ in stdenv.mkDerivation rec {
# https://nabble.documentfoundation.org/libreoffice-5-0-failure-in-CUT-libreofficekit-tiledrendering-td4150319.html
echo > ./sd/CppunitTest_sd_tiledrendering.mk
sed -e /CppunitTest_sd_tiledrendering/d -i sd/Module_sd.mk
+ # Pivot chart tests. Fragile.
+ sed -e '/CPPUNIT_TEST(testRoundtrip)/d' -i chart2/qa/extras/PivotChartTest.cxx
+ sed -e '/CPPUNIT_TEST(testPivotTableMedianODS)/d' -i sc/qa/unit/pivottable_filters_test.cxx
# one more fragile test?
sed -e '/CPPUNIT_TEST(testTdf96536);/d' -i sw/qa/extras/uiwriter/uiwriter.cxx
# this I actually hate, this should be a data consistency test!
@@ -141,6 +145,8 @@ in stdenv.mkDerivation rec {
sed -e '/CPPUNIT_ASSERT_EQUAL(11148L, pOleObj->GetLogicRect().getWidth());/d ' -i sc/qa/unit/subsequent_filters-test.cxx
# tilde expansion in path processing checks the existence of $HOME
sed -e 's@OString sSysPath("~/tmp");@& return ; @' -i sal/qa/osl/file/osl_File.cxx
+ # fails on systems using ZFS, see https://github.com/NixOS/nixpkgs/issues/19071
+ sed -e '/CPPUNIT_TEST(getSystemPathFromFileURL_005);/d' -i './sal/qa/osl/file/osl_File.cxx'
# rendering-dependent: on my computer the test table actually doesn't fit…
# interesting fact: test disabled on macOS by upstream
sed -re '/DECLARE_WW8EXPORT_TEST[(]testTableKeep, "tdf91083.odt"[)]/,+5d' -i ./sw/qa/extras/ww8export/ww8export.cxx
@@ -152,6 +158,7 @@ in stdenv.mkDerivation rec {
sed -e '/CPPUNIT_TEST(testCustomColumnWidthExportXLSX)/d' -i sc/qa/unit/subsequent_export-test.cxx
sed -e '/CPPUNIT_TEST(testColumnWidthExportFromODStoXLSX)/d' -i sc/qa/unit/subsequent_export-test.cxx
sed -e '/CPPUNIT_TEST(testChartImportXLS)/d' -i sc/qa/unit/subsequent_filters-test.cxx
+ sed -e '/CPPUNIT_TEST(testLegacyCellAnchoredRotatedShape)/d' -i sc/qa/unit/filters-test.cxx
sed -zre 's/DesktopLOKTest::testGetFontSubset[^{]*[{]/& return; /' -i desktop/qa/desktop_lib/test_desktop_lib.cxx
sed -z -r -e 's/DECLARE_OOXMLEXPORT_TEST[(]testFlipAndRotateCustomShape,[^)]*[)].[{]/& return;/' -i sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
sed -z -r -e 's/DECLARE_OOXMLEXPORT_TEST[(]tdf105490_negativeMargins,[^)]*[)].[{]/& return;/' -i sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
@@ -159,6 +166,77 @@ in stdenv.mkDerivation rec {
sed -z -r -e 's/DECLARE_RTFIMPORT_TEST[(]testTdf108947,[^)]*[)].[{]/& return;/' -i sw/qa/extras/rtfimport/rtfimport.cxx
# not sure about this fragile test
sed -z -r -e 's/DECLARE_OOXMLEXPORT_TEST[(]testTDF87348,[^)]*[)].[{]/& return;/' -i sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
+ # bunch of new Fresh failures. Sigh.
+ sed -e '/CPPUNIT_TEST(testDocumentLayout);/d' -i './sd/qa/unit/import-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testErrorBarDataRangeODS);/d' -i './chart2/qa/extras/chart2export.cxx'
+ sed -e '/CPPUNIT_TEST(testLabelStringODS);/d' -i './chart2/qa/extras/chart2export.cxx'
+ sed -e '/CPPUNIT_TEST(testAxisNumberFormatODS);/d' -i './chart2/qa/extras/chart2export.cxx'
+ sed -e '/CPPUNIT_TEST(testBackgroundImage);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testFdo84043);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf97630);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf80020);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf62176);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTransparentBackground);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testEmbeddedPdf);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testEmbeddedText);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf98477);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testAuthorField);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf50499);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf100926);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testPageWithTransparentBackground);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTextRotation);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf113818);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf119629);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf113822);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(test);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testConditionalFormatExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testProtectionKeyODS_UTF16LErtlSHA1);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testProtectionKeyODS_UTF8SHA1);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testProtectionKeyODS_UTF8SHA256ODF12);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testProtectionKeyODS_UTF8SHA256W3C);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testProtectionKeyODS_XL_SHA1);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testColorScaleExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testDataBarExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testNamedRangeBugfdo62729);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testRichTextExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testFormulaRefSheetNameODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testCellValuesExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testCellNoteExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testFormatExportODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testEmbeddedChartODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testCellAnchoredGroupXLS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testCeilingFloorODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testRelativePathsODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testSheetProtectionODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testSwappedOutImageExport);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testLinkedGraphicRT);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testImageWithSpecialID);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testAbsNamedRangeHTML);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testMoveCellAnchoredShapesODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testRefStringUnspecified);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testHeaderImageODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf88657ODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testExponentWithoutSignFormatXLSX);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testHiddenRepeatedRowsODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testHyperlinkTargetFrameODS);/d' -i './sc/qa/unit/subsequent_export-test.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf105739);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testPageBitmapWithTransparency);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf115005);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf115005_FallBack_Images_On);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf115005_FallBack_Images_Off);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf44774);/d' -i './sd/qa/unit/misc-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf38225);/d' -i './sd/qa/unit/misc-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testAuthorField);/d' -i './sd/qa/unit/export-tests-ooxml2.cxx'
+ sed -e '/CPPUNIT_TEST(testAuthorField);/d' -i './sd/qa/unit/export-tests.cxx'
+ sed -e '/CPPUNIT_TEST(testFdo85554);/d' -i './sw/qa/extras/uiwriter/uiwriter.cxx'
+ sed -e '/CPPUNIT_TEST(testEmbeddedDataSource);/d' -i './sw/qa/extras/uiwriter/uiwriter.cxx'
+ sed -e '/CPPUNIT_TEST(testTdf96479);/d' -i './sw/qa/extras/uiwriter/uiwriter.cxx'
+ sed -e '/CPPUNIT_TEST(testInconsistentBookmark);/d' -i './sw/qa/extras/uiwriter/uiwriter.cxx'
+ sed -e '/CPPUNIT_TEST(Import_Export_Import);/d' -i './sw/qa/extras/inc/swmodeltestbase.hxx'
+ sed -e "s/DECLARE_SW_ROUNDTRIP_TEST(\([_a-zA-Z0-9.]\+\)[, ].*, *\([_a-zA-Z0-9.]\+\))/class \\1: public \\2 { public: void verify() override; }; void \\1::verify() /" -i "sw/qa/extras/ooxmlexport/ooxmlexport9.cxx"
+ sed -e "s/DECLARE_SW_ROUNDTRIP_TEST(\([_a-zA-Z0-9.]\+\)[, ].*, *\([_a-zA-Z0-9.]\+\))/class \\1: public \\2 { public: void verify() override; }; void \\1::verify() /" -i "sw/qa/extras/ooxmlexport/ooxmlencryption.cxx"
+ sed -e "s/DECLARE_SW_ROUNDTRIP_TEST(\([_a-zA-Z0-9.]\+\)[, ].*, *\([_a-zA-Z0-9.]\+\))/class \\1: public \\2 { public: void verify() override; }; void \\1::verify() /" -i "sw/qa/extras/odfexport/odfexport.cxx"
+ sed -e "s/DECLARE_SW_ROUNDTRIP_TEST(\([_a-zA-Z0-9.]\+\)[, ].*, *\([_a-zA-Z0-9.]\+\))/class \\1: public \\2 { public: void verify() override; }; void \\1::verify() /" -i "sw/qa/extras/unowriter/unowriter.cxx"
''
# This to avoid using /lib:/usr/lib at linking
+ ''
@@ -183,7 +261,7 @@ in stdenv.mkDerivation rec {
mkdir -p "$out/share/gsettings-schemas/collected-for-libreoffice/glib-2.0/schemas/"
- for a in sbase scalc sdraw smath swriter simpress soffice unopkg; do
+ for a in sbase scalc sdraw smath swriter simpress soffice; do
ln -s $out/lib/libreoffice/program/$a $out/bin/$a
done
@@ -201,7 +279,7 @@ in stdenv.mkDerivation rec {
'';
configureFlags = [
- "${if withHelp then "" else "--without-help"}"
+ (if withHelp then "" else "--without-help")
"--with-boost=${boost.dev}"
"--with-boost-libdir=${boost.out}/lib"
"--with-beanshell-jar=${bsh}"
@@ -235,6 +313,7 @@ in stdenv.mkDerivation rec {
# We do tarball prefetching ourselves
"--disable-fetch-external"
+ "--enable-build-opensymbol"
# I imagine this helps. Copied from go-oo.
# Modified on every upgrade, though
@@ -269,24 +348,25 @@ in stdenv.mkDerivation rec {
make slowcheck
'';
+ nativeBuildInputs = [ wrapGAppsHook gdb fontforge autoconf automake bison pkgconfig libtool ];
+
buildInputs = with xorg;
- [ ant ArchiveZip autoconf automake bison boost cairo clucene_core
+ [ ant ArchiveZip boost cairo clucene_core
IOCompress cppunit cups curl db dbus-glib expat file flex fontconfig
freetype GConf getopt gnome_vfs gperf gtk3 gtk2
hunspell icu jdk lcms libcdr libexttextcat unixODBC libjpeg
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
libXaw libXext libXi libXinerama libxml2 libxslt libXtst
libXdmcp libpthreadstubs libGLU_combined mythes gst_all_1.gstreamer
- gst_all_1.gst-plugins-base glib
- neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
+ gst_all_1.gst-plugins-base glib mysql.connector-c
+ neon nspr nss openldap openssl ORBit2 pam perl poppler
python3 sablotron sane-backends unzip vigra which zip zlib
- mdds bluez5 libcmis libwps libabw libzmf libtool
+ mdds bluez5 libcmis libwps libabw libzmf
libxshmfence libatomic_ops graphite2 harfbuzz gpgme utillinux
librevenge libe-book libmwaw glm glew ncurses epoxy
libodfgen CoinMP librdf_rasqal gnome3.adwaita-icon-theme gettext
]
++ lib.optional kdeIntegration kdelibs4;
- nativeBuildInputs = [ wrapGAppsHook gdb ];
passthru = {
inherit srcs jdk;
diff --git a/pkgs/applications/office/libreoffice/wrapper.nix b/pkgs/applications/office/libreoffice/wrapper.nix
index ce8910d76d4..08b01a4a051 100644
--- a/pkgs/applications/office/libreoffice/wrapper.nix
+++ b/pkgs/applications/office/libreoffice/wrapper.nix
@@ -2,7 +2,7 @@
let
jdk = libreoffice.jdk;
in
-(runCommand "${libreoffice.name}" {
+(runCommand libreoffice.name {
inherit dbus libreoffice jdk bash;
} ''
mkdir -p "$out/bin"
diff --git a/pkgs/applications/office/marp/default.nix b/pkgs/applications/office/marp/default.nix
index cdda46d4837..7c054ba5204 100644
--- a/pkgs/applications/office/marp/default.nix
+++ b/pkgs/applications/office/marp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, atomEnv, libXScrnSaver, gtk2 }:
stdenv.mkDerivation rec {
- name = "marp-${version}";
+ pname = "marp";
version = "0.0.14";
src = fetchurl {
diff --git a/pkgs/applications/office/mendeley/default.nix b/pkgs/applications/office/mendeley/default.nix
index 589f583e4e3..a7b0afe0754 100644
--- a/pkgs/applications/office/mendeley/default.nix
+++ b/pkgs/applications/office/mendeley/default.nix
@@ -91,7 +91,8 @@ let
in
stdenv.mkDerivation {
- name = "mendeley-${version}";
+ pname = "mendeley";
+ inherit version;
src = fetchurl {
url = url;
@@ -103,7 +104,7 @@ stdenv.mkDerivation {
propagatedUserEnvPkgs = [ gconf ];
- unpackPhase = "true";
+ dontUnpack = true;
installPhase = ''
dpkg-deb -x $src $out
@@ -129,9 +130,9 @@ stdenv.mkDerivation {
'';
dontStrip = true;
- dontPatchElf = true;
+ dontPatchELF = true;
- updateScript = import ./update.nix { inherit stdenv writeScript runtimeShell; };
+ updateScript = import ./update.nix { inherit writeScript runtimeShell; };
meta = with stdenv.lib; {
homepage = https://www.mendeley.com;
diff --git a/pkgs/applications/office/mendeley/update.nix b/pkgs/applications/office/mendeley/update.nix
index c174e7dc668..56becea9959 100644
--- a/pkgs/applications/office/mendeley/update.nix
+++ b/pkgs/applications/office/mendeley/update.nix
@@ -1,4 +1,4 @@
-{ stdenv, writeScript, runtimeShell }:
+{ writeScript, runtimeShell }:
writeScript "update-mendeley" ''
#!${runtimeShell}
diff --git a/pkgs/applications/office/mmex/default.nix b/pkgs/applications/office/mmex/default.nix
index 3ddca8fe762..99824cd19ec 100644
--- a/pkgs/applications/office/mmex/default.nix
+++ b/pkgs/applications/office/mmex/default.nix
@@ -5,7 +5,8 @@ let
version = "1.3.3";
in
stdenv.mkDerivation {
- name = "money-manager-ex-${version}";
+ pname = "money-manager-ex";
+ inherit version;
src = fetchgit {
url = "https://github.com/moneymanagerex/moneymanagerex.git";
diff --git a/pkgs/applications/office/moneyplex/default.nix b/pkgs/applications/office/moneyplex/default.nix
index ad621303d7d..103288c03c6 100644
--- a/pkgs/applications/office/moneyplex/default.nix
+++ b/pkgs/applications/office/moneyplex/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, patchelf, coreutils, pcsclite
-, zlib, glib, gdk_pixbuf, gtk2, cairo, pango, libX11, atk, openssl
+, zlib, glib, gdk-pixbuf, gtk2, cairo, pango, libX11, atk, openssl
, runtimeShell }:
let
libPath = stdenv.lib.makeLibraryPath [
- stdenv.cc.cc zlib glib gdk_pixbuf gtk2 cairo pango libX11 atk openssl
+ stdenv.cc.cc zlib glib gdk-pixbuf gtk2 cairo pango libX11 atk openssl
];
src_i686 = {
@@ -18,8 +18,8 @@ let
};
in
-stdenv.mkDerivation rec {
- name = "moneyplex-${version}";
+stdenv.mkDerivation {
+ pname = "moneyplex";
version = "16.0.22424";
src = fetchurl (if stdenv.hostPlatform.system == "i686-linux" then src_i686
diff --git a/pkgs/applications/office/mytetra/default.nix b/pkgs/applications/office/mytetra/default.nix
index a7887357cd3..050222451cf 100644
--- a/pkgs/applications/office/mytetra/default.nix
+++ b/pkgs/applications/office/mytetra/default.nix
@@ -1,9 +1,10 @@
-{ stdenv, fetchurl, qmake, qtsvg, makeWrapper, xdg_utils }:
+{ stdenv, mkDerivation, fetchurl, qmake, qtsvg, makeWrapper, xdg_utils }:
let
version = "1.44.55";
-in stdenv.mkDerivation rec {
- name = "mytetra-${version}";
+in mkDerivation {
+ pname = "mytetra";
+ inherit version;
src = fetchurl {
url = "https://github.com/xintrea/mytetra_dev/archive/v.${version}.tar.gz";
sha256 = "13lmfvschm1xwr0ys2ykhs0bb83m2f39rk1jdd7zf8yxlqki4i6l";
diff --git a/pkgs/applications/office/notes-up/default.nix b/pkgs/applications/office/notes-up/default.nix
index b27b77e6e6d..f8729583ddc 100644
--- a/pkgs/applications/office/notes-up/default.nix
+++ b/pkgs/applications/office/notes-up/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "notes-up";
- version = "2.0.1";
+ version = "2.0.2";
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Notes-up";
rev = version;
- sha256 = "14vnnr18v374daz8ag5gc2sqr3jxbwrj11mmfz8l57xi2mwhn53z";
+ sha256 = "0bklgp8qrrj9y5m77xqbpy1ld2d9ya3rlxklgzx3alffq5312i4s";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/office/osmo/default.nix b/pkgs/applications/office/osmo/default.nix
index 20f8b428f0d..b1311428c61 100644
--- a/pkgs/applications/office/osmo/default.nix
+++ b/pkgs/applications/office/osmo/default.nix
@@ -2,11 +2,11 @@
, libarchive, gspell, webkitgtk, libgringotts, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "osmo-${version}";
+ pname = "osmo";
version = "0.4.2";
src = fetchurl {
- url = "mirror://sourceforge/osmo-pim/${name}.tar.gz";
+ url = "mirror://sourceforge/osmo-pim/${pname}-${version}.tar.gz";
sha256 = "1gjd4w9jckfpqr9n0bw0w25h3qhfyzw1xvilh3hqdadfinwyal2v";
};
diff --git a/pkgs/applications/office/paperless/default.nix b/pkgs/applications/office/paperless/default.nix
index 0b6ae285bc0..97088f36041 100644
--- a/pkgs/applications/office/paperless/default.nix
+++ b/pkgs/applications/office/paperless/default.nix
@@ -5,11 +5,9 @@
, callPackage
, python3
-, file
, imagemagick7
, ghostscript
, optipng
-, poppler
, tesseract
, unpaper
}:
@@ -35,7 +33,7 @@
let
paperless = stdenv.mkDerivation rec {
- name = "paperless-${version}";
+ pname = "paperless";
version = "2.7.0";
src = fetchFromGitHub {
@@ -59,6 +57,12 @@ let
cp -r --no-preserve=mode $src/src/* $src/LICENSE $srcDir
'';
+ postPatch = ''
+ # django-cors-headers 3.x requires a scheme for allowed hosts
+ substituteInPlace $out/share/paperless/paperless/settings.py \
+ --replace "localhost:8080" "http://localhost:8080"
+ '';
+
buildPhase = let
# Paperless has explicit runtime checks that expect these binaries to be in PATH
extraBin = lib.makeBinPath [ imagemagick7 ghostscript optipng tesseract unpaper ];
diff --git a/pkgs/applications/office/paperless/python-modules/django-crispy-forms.nix b/pkgs/applications/office/paperless/python-modules/django-crispy-forms.nix
index d3668d057ee..465da386247 100644
--- a/pkgs/applications/office/paperless/python-modules/django-crispy-forms.nix
+++ b/pkgs/applications/office/paperless/python-modules/django-crispy-forms.nix
@@ -1,7 +1,7 @@
{ lib, buildPythonPackage, fetchFromGitHub
-, pytest, pytest-django, django }:
+, pytest_4, pytest-django, django }:
-buildPythonPackage rec {
+buildPythonPackage {
pname = "django-crispy-forms";
version = "2019.04.21";
@@ -19,7 +19,7 @@ buildPythonPackage rec {
export sourceRoot=source-
'';
- checkInputs = [ pytest pytest-django django ];
+ checkInputs = [ pytest_4 pytest-django django ];
checkPhase = ''
PYTHONPATH="$(pwd):$PYTHONPATH" \
diff --git a/pkgs/applications/office/paperless/withConfig.nix b/pkgs/applications/office/paperless/withConfig.nix
index aafdfe67adb..652d1478c0c 100644
--- a/pkgs/applications/office/paperless/withConfig.nix
+++ b/pkgs/applications/office/paperless/withConfig.nix
@@ -39,7 +39,7 @@ let
PAPERLESS_CONSUMPTION_DIR = "${dataDir}/consume";
PAPERLESS_MEDIADIR = "${dataDir}/media";
PAPERLESS_STATICDIR = "${dataDir}/static";
- PAPERLESS_DBDIR = "${dataDir}";
+ PAPERLESS_DBDIR = dataDir;
}) // config;
envVarDefs = mapAttrsToList (n: v: ''export ${n}="${toString v}"'') envVars;
diff --git a/pkgs/applications/office/paperwork/default.nix b/pkgs/applications/office/paperwork/default.nix
index 401d3be3128..adbd4c30a39 100644
--- a/pkgs/applications/office/paperwork/default.nix
+++ b/pkgs/applications/office/paperwork/default.nix
@@ -1,4 +1,4 @@
-{ lib, python3Packages, fetchFromGitLab, gtk3, cairo
+{ lib, python3Packages, gtk3, cairo
, aspellDicts, buildEnv
, gnome3, hicolor-icon-theme, librsvg
, xvfb_run, dbus, libnotify
diff --git a/pkgs/applications/office/pinpoint/default.nix b/pkgs/applications/office/pinpoint/default.nix
index 680b3fd40d7..14756c3557f 100644
--- a/pkgs/applications/office/pinpoint/default.nix
+++ b/pkgs/applications/office/pinpoint/default.nix
@@ -1,15 +1,15 @@
{ fetchurl, stdenv, pkgconfig, autoconf, automake, clutter, clutter-gst
-, gdk_pixbuf, cairo, clutter-gtk }:
+, gdk-pixbuf, cairo, clutter-gtk }:
stdenv.mkDerivation rec {
- name = "pinpoint-${version}";
+ pname = "pinpoint";
version = "0.1.8";
src = fetchurl {
- url = "http://ftp.gnome.org/pub/GNOME/sources/pinpoint/0.1/${name}.tar.xz";
+ url = "http://ftp.gnome.org/pub/GNOME/sources/pinpoint/0.1/${pname}-${version}.tar.xz";
sha256 = "1jp8chr9vjlpb5lybwp5cg6g90ak5jdzz9baiqkbg0anlg8ps82s";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ autoconf automake clutter clutter-gst gdk_pixbuf
+ buildInputs = [ autoconf automake clutter clutter-gst gdk-pixbuf
cairo clutter-gtk ];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/office/planner/default.nix b/pkgs/applications/office/planner/default.nix
index d8765d2fa61..687b83948cd 100644
--- a/pkgs/applications/office/planner/default.nix
+++ b/pkgs/applications/office/planner/default.nix
@@ -13,7 +13,8 @@
let version = "unstable-2019-02-13";
in stdenv.mkDerivation {
- name = "planner-${version}";
+ pname = "planner";
+ inherit version;
src = fetchFromGitLab {
domain = "gitlab.gnome.org";
@@ -60,7 +61,7 @@ in stdenv.mkDerivation {
Its goal is to be an easy-to-use no-nonsense cross-platform
project management application.
- Planner is a GTK+ application written in C and licensed under the
+ Planner is a GTK application written in C and licensed under the
GPLv2 or any later version. It can store its data in either xml
files or in a postgresql database. Projects can also be printed
to PDF or exported to HTML for easy viewing from any web browser.
diff --git a/pkgs/applications/office/qownnotes/default.nix b/pkgs/applications/office/qownnotes/default.nix
index 859cab7235a..ab32ebc67a7 100644
--- a/pkgs/applications/office/qownnotes/default.nix
+++ b/pkgs/applications/office/qownnotes/default.nix
@@ -1,22 +1,22 @@
-{ stdenv, fetchurl, qmake, qttools, qtbase, qtsvg, qttranslations, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets }:
+{ mkDerivation, lib, fetchurl, qmake, qttools, qtbase, qtsvg, qtdeclarative, qtxmlpatterns, qtwayland, qtwebsockets, stdenv /* for isLinux */ }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "qownnotes";
- version = "19.4.5";
+ version = "19.8.6";
src = fetchurl {
url = "https://download.tuxfamily.org/${pname}/src/${pname}-${version}.tar.xz";
# Can grab official version like so:
# $ curl https://download.tuxfamily.org/qownnotes/src/qownnotes-19.1.8.tar.xz.sha256
- sha256 = "13yafcdqkl46awq2mxr1c5skydi44iwgcmfkx3wrhq85ird25cpy";
+ sha256 = "a242dd15dc484baad39e737fe1af8529411f49a0d74994e6c78cf6bad4b733b6";
};
nativeBuildInputs = [ qmake qttools ];
buildInputs = [
qtbase qtsvg qtdeclarative qtxmlpatterns qtwebsockets
- ] ++ stdenv.lib.optional stdenv.isLinux qtwayland;
+ ] ++ lib.optional stdenv.isLinux qtwayland;
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Plain-text file notepad and todo-list manager with markdown support and ownCloud / Nextcloud integration";
homepage = https://www.qownnotes.org/;
diff --git a/pkgs/applications/office/scribus/unstable.nix b/pkgs/applications/office/scribus/unstable.nix
index 32758b462f7..eef57179b3e 100644
--- a/pkgs/applications/office/scribus/unstable.nix
+++ b/pkgs/applications/office/scribus/unstable.nix
@@ -1,34 +1,28 @@
-{ stdenv, fetchsvn, makeWrapper, pkgconfig, cmake, qtbase, cairo, pixman,
+{ stdenv, fetchurl, mkDerivation, pkgconfig, cmake, qtbase, cairo, pixman,
boost, cups, fontconfig, freetype, hunspell, libjpeg, libtiff, libxml2, lcms2,
-podofo, poppler, poppler_data, python2, harfbuzz, qtimageformats, qttools }:
+podofo, poppler, poppler_data, python2, harfbuzz, qtimageformats, qttools, harfbuzzFull }:
let
pythonEnv = python2.withPackages(ps: [ps.tkinter ps.pillow]);
- revision = "22806";
-in
-stdenv.mkDerivation rec {
- name = "scribus-unstable-${version}";
- version = "2019-01-16";
+in
+mkDerivation rec {
+ pname = "scribus";
+ version = "1.5.5";
- src = fetchsvn {
- url = "svn://scribus.net/trunk/Scribus";
- rev = revision;
- sha256 = "16xpsbp6kca78jf48n6zdmyjras38xr11paan839hgy4ik83ncn0";
+ src = fetchurl {
+ url = "mirror://sourceforge/${pname}/${pname}-devel/${pname}-${version}.tar.xz";
+ sha256 = "eQiyGmzoQyafWM7fX495GJMlfmIBzOX73ccNrKL+P3E=";
};
enableParallelBuilding = true;
+ nativeBuildInputs = [ pkgconfig cmake ];
buildInputs = [
- makeWrapper pkgconfig cmake qtbase cairo pixman boost cups fontconfig
+ qtbase cairo pixman boost cups fontconfig
freetype hunspell libjpeg libtiff libxml2 lcms2 podofo poppler
- poppler_data pythonEnv harfbuzz qtimageformats qttools
+ poppler_data pythonEnv harfbuzz qtimageformats qttools harfbuzzFull
];
- postFixup = ''
- wrapProgram $out/bin/scribus \
- --prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
- '';
-
meta = {
maintainers = [ stdenv.lib.maintainers.erictapen ];
platforms = stdenv.lib.platforms.linux;
diff --git a/pkgs/applications/office/skrooge/default.nix b/pkgs/applications/office/skrooge/default.nix
index eee6c7de4e5..42fddb972c9 100644
--- a/pkgs/applications/office/skrooge/default.nix
+++ b/pkgs/applications/office/skrooge/default.nix
@@ -6,12 +6,12 @@
}:
mkDerivation rec {
- name = "skrooge-${version}";
- version = "2.19.1";
+ pname = "skrooge";
+ version = "2.20.0";
src = fetchurl {
- url = "http://download.kde.org/stable/skrooge/${name}.tar.xz";
- sha256 = "04pajy540vwff1y84ndrnscvlggiwfkr6w65g4hpa75cg7m169ya";
+ url = "http://download.kde.org/stable/skrooge/${pname}-${version}.tar.xz";
+ sha256 = "0rakfngp7j2x7h1isg6lbc5kva6k1kg99dz0zl43dc28s15can1w";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/office/softmaker/desktop_items.nix b/pkgs/applications/office/softmaker/desktop_items.nix
new file mode 100644
index 00000000000..6975da06456
--- /dev/null
+++ b/pkgs/applications/office/softmaker/desktop_items.nix
@@ -0,0 +1,42 @@
+{ makeDesktopItem, pname, suiteName }:
+
+{
+ planmaker = makeDesktopItem {
+ name = "${pname}-planmaker";
+ desktopName = "${suiteName} PlanMaker";
+ icon = "${pname}-pml.png";
+ categories = "Application;Office;SpreadSheet;";
+ exec = "${pname}-planmaker %F";
+ mimeType = "application/x-pmd;application/x-pmdx;application/x-pmv;application/excel;application/x-excel;application/x-ms-excel;application/x-msexcel;application/x-sylk;application/x-xls;application/xls;application/vnd.ms-excel;application/vnd.stardivision.calc;application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.sheet.macroenabled.12;application/vnd.openxmlformats-officedocument.spreadsheetml.template;application/vnd.ms-excel.template.macroEnabled.12;application/x-dif;text/spreadsheet;text/csv;application/x-prn;application/vnd.ms-excel.sheet.binary.macroenabled.12;";
+ extraEntries = ''
+ TryExec=${pname}-planmaker
+ StartupWMClass=pm
+ '';
+ };
+
+ presentations = makeDesktopItem {
+ name = "${pname}-presentations";
+ desktopName = "${suiteName} Presentations";
+ icon = "${pname}-prl.png";
+ categories = "Application;Office;Presentation;";
+ exec = "${pname}-presentations %F";
+ mimeType = "application/x-prdx;application/x-prvx;application/x-prsx;application/x-prd;application/x-prv;application/x-prs;application/ppt;application/mspowerpoint;application/vnd.ms-powerpoint;application/vnd.openxmlformats-officedocument.presentationml.presentation;application/vnd.ms-powerpoint.presentation.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.template;application/vnd.ms-powerpoint.template.macroEnabled.12;application/vnd.ms-powerpoint.slideshow.macroenabled.12;application/vnd.openxmlformats-officedocument.presentationml.slideshow;";
+ extraEntries = ''
+ TryExec=${pname}-presentations
+ StartupWMClass=pr
+ '';
+ };
+
+ textmaker = makeDesktopItem {
+ name = "${pname}-textmaker";
+ desktopName = "${suiteName} TextMaker";
+ icon = "${pname}-tml.png";
+ categories = "Application;Office;WordProcessor;";
+ exec = "${pname}-textmaker %F";
+ mimeType = "application/x-tmdx;application/x-tmvx;application/x-tmd;application/x-tmv;application/msword;application/vnd.ms-word;application/x-doc;text/rtf;application/rtf;application/vnd.oasis.opendocument.text;application/vnd.oasis.opendocument.text-template;application/vnd.stardivision.writer;application/vnd.sun.xml.writer;application/vnd.sun.xml.writer.template;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/vnd.ms-word.document.macroenabled.12;application/vnd.openxmlformats-officedocument.wordprocessingml.template;application/vnd.ms-word.template.macroenabled.12;application/x-pocket-word;application/x-dbf;application/msword-template;";
+ extraEntries = ''
+ TryExec=${pname}-textmaker
+ StartupWMClass=tm
+ '';
+ };
+}
diff --git a/pkgs/applications/office/softmaker/freeoffice.nix b/pkgs/applications/office/softmaker/freeoffice.nix
new file mode 100644
index 00000000000..f3e37943bb6
--- /dev/null
+++ b/pkgs/applications/office/softmaker/freeoffice.nix
@@ -0,0 +1,15 @@
+{ callPackage, fetchurl, ... } @ args:
+
+callPackage ./generic.nix (args // rec {
+ pname = "freeoffice";
+ version = "970";
+ edition = "2018";
+ suiteName = "FreeOffice";
+
+ src = fetchurl {
+ url = "https://www.softmaker.net/down/softmaker-freeoffice-${version}-amd64.tgz";
+ sha256 = "1maibr4x8mksb32ixvyy2rjn4x9f51191p5fcdj5qwz32pf8h2dr";
+ };
+
+ archive = "freeoffice${edition}.tar.lzma";
+})
diff --git a/pkgs/applications/office/softmaker/generic.nix b/pkgs/applications/office/softmaker/generic.nix
new file mode 100644
index 00000000000..9505271db14
--- /dev/null
+++ b/pkgs/applications/office/softmaker/generic.nix
@@ -0,0 +1,95 @@
+{ stdenv, fetchurl, autoPatchelfHook, makeDesktopItem, makeWrapper
+
+ # Dynamic Libraries
+, curl, libGL, libX11, libXext, libXmu, libXrandr, libXrender
+
+, pname, version, edition, suiteName, src, archive
+
+, ...
+}:
+
+let
+ desktopItems = import ./desktop_items.nix {
+ inherit makeDesktopItem pname suiteName;
+ };
+ shortEdition = builtins.substring 2 2 edition;
+in stdenv.mkDerivation rec {
+ inherit pname version edition shortEdition src;
+ nativeBuildInputs = [
+ autoPatchelfHook
+ makeWrapper
+ ];
+
+ buildInputs = [
+ curl
+ libGL
+ libX11
+ libXext
+ libXmu
+ libXrandr
+ libXrender
+ stdenv.cc.cc.lib
+ ];
+
+ dontBuild = true;
+ dontConfigure = true;
+
+ unpackPhase = ''
+ runHook preUnpack
+
+ mkdir installer
+ tar -C installer -xf ${src}
+ mkdir ${pname}
+ tar -C ${pname} -xf installer/${archive}
+
+ runHook postUnpack
+ '';
+
+ installPhase = ''
+ runHook preInstall
+
+ mkdir -p $out/share
+ cp -r ${pname} $out/share/${pname}${edition}
+
+ # Wrap rather than symlinking, so that the programs can determine
+ # their resource path.
+ mkdir -p $out/bin
+ makeWrapper $out/share/${pname}${edition}/planmaker $out/bin/${pname}-planmaker
+ makeWrapper $out/share/${pname}${edition}/presentations $out/bin/${pname}-presentations
+ makeWrapper $out/share/${pname}${edition}/textmaker $out/bin/${pname}-textmaker
+
+ for size in 16 32 48 64 96 128 256 512 1024; do
+ mkdir -p $out/share/icons/hicolor/''${size}x''${size}/apps
+
+ for app in pml prl tml; do
+ ln -s $out/share/${pname}${edition}/icons/''${app}_''${size}.png \
+ $out/share/icons/hicolor/''${size}x''${size}/apps/${pname}-''${app}.png
+ done
+
+ mkdir -p $out/share/icons/hicolor/''${size}x''${size}/mimetypes
+
+ for mimetype in pmd prd tmd; do
+ ln -s $out/share/${pname}${edition}/icons/''${mimetype}_''${size}.png \
+ $out/share/icons/hicolor/''${size}x''${size}/mimetypes/application-x-''${mimetype}.png
+ done
+ done
+
+ # Add desktop items
+ ${desktopItems.planmaker.buildCommand}
+ ${desktopItems.presentations.buildCommand}
+ ${desktopItems.textmaker.buildCommand}
+
+ # Add mime types
+ install -D -t $out/share/mime/packages ${pname}/mime/softmaker-*office*${shortEdition}.xml
+
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ description = "An office suite with a word processor, spreadsheet and presentation program";
+ homepage = "https://www.softmaker.com/";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ danieldk ];
+ platforms = [ "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/applications/office/softmaker/softmaker_office.nix b/pkgs/applications/office/softmaker/softmaker_office.nix
new file mode 100644
index 00000000000..26fe420d6a3
--- /dev/null
+++ b/pkgs/applications/office/softmaker/softmaker_office.nix
@@ -0,0 +1,15 @@
+{ callPackage, fetchurl, ... } @ args:
+
+callPackage ./generic.nix (args // rec {
+ pname = "softmaker-office";
+ version = "970";
+ edition = "2018";
+ suiteName = "SoftMaker Office";
+
+ src = fetchurl {
+ url = "https://www.softmaker.net/down/softmaker-office-${edition}-${version}-amd64.tgz";
+ sha256 = "14f94p1jms41s2iz5sa770rcyfp4mv01r6jjjis9amx37zrc8yid";
+ };
+
+ archive = "office${edition}.tar.lzma";
+})
diff --git a/pkgs/applications/office/spice-up/default.nix b/pkgs/applications/office/spice-up/default.nix
index c0ee9bc81b7..2c3dfa82c8c 100644
--- a/pkgs/applications/office/spice-up/default.nix
+++ b/pkgs/applications/office/spice-up/default.nix
@@ -1,7 +1,7 @@
{ stdenv
, fetchFromGitHub
, cmake
-, gdk_pixbuf
+, gdk-pixbuf
, gtk3
, gettext
, ninja
@@ -16,13 +16,13 @@
stdenv.mkDerivation rec {
pname = "spice-up";
- version = "1.8.1";
+ version = "1.8.2";
src = fetchFromGitHub {
owner = "Philip-Scott";
repo = "Spice-up";
rev = version;
- sha256 = "0vgs2z6yr0d5vwb04wd2s22144pdrjhqik9xs69q4dxjxa84iw0h";
+ sha256 = "1pix911l4ddn50026a5sbpqfzba6fmw40m1yzbknmkgd2ny28f0m";
};
USER = "pbuilder";
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
buildInputs = [
pantheon.elementary-icon-theme
pantheon.granite
- gdk_pixbuf
+ gdk-pixbuf
gtk3
json-glib
libevdev
diff --git a/pkgs/applications/office/timetable/default.nix b/pkgs/applications/office/timetable/default.nix
new file mode 100644
index 00000000000..fa2d5939218
--- /dev/null
+++ b/pkgs/applications/office/timetable/default.nix
@@ -0,0 +1,57 @@
+{ stdenv
+, fetchFromGitHub
+, glib
+, gtk3
+, hicolor-icon-theme
+, json-glib
+, libgee
+, meson
+, ninja
+, pkgconfig
+, pantheon
+, python3
+, wrapGAppsHook
+}:
+
+
+stdenv.mkDerivation rec {
+ pname = "timetable";
+ version = "1.0.8";
+
+ src = fetchFromGitHub {
+ owner = "lainsce";
+ repo = pname;
+ rev = version;
+ sha256 = "0s825al10s0hwfzl90bplwwasx89wx28n41sg2md71l9hfqy296q";
+ };
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ pantheon.vala
+ python3
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ glib
+ gtk3
+ hicolor-icon-theme
+ json-glib
+ libgee
+ pantheon.granite
+ ];
+
+ postPatch = ''
+ chmod +x meson/post_install.py
+ patchShebangs meson/post_install.py
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Plot out your own timetable for the week and organize it";
+ homepage = "https://github.com/lainsce/timetable";
+ maintainers = [ maintainers.kjuvi ] ++ pantheon.maintainers;
+ license = licenses.gpl2Plus;
+ };
+}
diff --git a/pkgs/applications/office/timetrap/default.nix b/pkgs/applications/office/timetrap/default.nix
index ad0d5c636f3..6d094ecb5dc 100644
--- a/pkgs/applications/office/timetrap/default.nix
+++ b/pkgs/applications/office/timetrap/default.nix
@@ -1,15 +1,17 @@
-{ lib, bundlerApp }:
+{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "timetrap";
gemdir = ./.;
- exes = [ "timetrap" ];
+ exes = [ "t" "timetrap" ];
+
+ passthru.updateScript = bundlerUpdateScript "timetrap";
meta = with lib; {
description = "A simple command line time tracker written in ruby";
homepage = https://github.com/samg/timetrap;
license = licenses.mit;
- maintainers = with maintainers; [ jerith666 manveru ];
+ maintainers = with maintainers; [ jerith666 manveru nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/office/todo.txt-cli/default.nix b/pkgs/applications/office/todo.txt-cli/default.nix
index 77a60295443..edb2c778a0a 100644
--- a/pkgs/applications/office/todo.txt-cli/default.nix
+++ b/pkgs/applications/office/todo.txt-cli/default.nix
@@ -2,7 +2,8 @@
let
version = "2.11.0";
in stdenv.mkDerivation {
- name = "todo.txt-cli-${version}";
+ pname = "todo.txt-cli";
+ inherit version;
src = fetchurl {
url = "https://github.com/ginatrapani/todo.txt-cli/releases/download/v${version}/todo.txt_cli-${version}.tar.gz";
diff --git a/pkgs/applications/office/todoman/default.nix b/pkgs/applications/office/todoman/default.nix
index 3f4953fc12a..7c5c8f72440 100644
--- a/pkgs/applications/office/todoman/default.nix
+++ b/pkgs/applications/office/todoman/default.nix
@@ -1,16 +1,15 @@
-{ stdenv, python3, glibcLocales, fetchpatch }:
+{ stdenv, python3, glibcLocales }:
let
inherit (python3.pkgs) buildPythonApplication fetchPypi;
in
buildPythonApplication rec {
pname = "todoman";
- version = "3.5.0";
- name = "${pname}-${version}";
+ version = "3.6.0";
src = fetchPypi {
inherit pname version;
- sha256 = "051qjdpwif06x7qspnb4pfwdhb8nnmz99yqcp4kla5hv0n3jh0w9";
+ sha256 = "1c0jh9bi2xfjc7w4kka68mygl00zkp2qxhffnipmfvvykfjmlhk0";
};
LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
@@ -20,7 +19,7 @@ buildPythonApplication rec {
buildInputs = [ glibcLocales ];
propagatedBuildInputs = with python3.pkgs;
- [ atomicwrites click click-log configobj humanize icalendar parsedatetime
+ [ atomicwrites click click-log click-repl configobj humanize icalendar parsedatetime
python-dateutil pyxdg tabulate urwid ];
checkInputs = with python3.pkgs;
diff --git a/pkgs/applications/office/treesheets/default.nix b/pkgs/applications/office/treesheets/default.nix
index d0a4953c426..000fa7ff101 100644
--- a/pkgs/applications/office/treesheets/default.nix
+++ b/pkgs/applications/office/treesheets/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, wxGTK, makeWrapper }:
stdenv.mkDerivation rec {
- name = "treesheets-${version}";
- version = "2018-08-18";
+ pname = "treesheets";
+ version = "1.0.1";
src = fetchFromGitHub {
owner = "aardappel";
repo = "treesheets";
- rev = "3af41d99c8f9f32603a36ab64af3560b6d61dd73";
- sha256 = "147y8ggh3clwjgsi15z8i4jnzlkh8p17mmlg532jym53zzbcva65";
+ rev = "v${version}";
+ sha256 = "0krsj7i5yr76imf83krz2lmlmpbsvpwqg2d4r0jwxiydjfyj4qr4";
};
buildInputs = [ wxGTK makeWrapper ];
diff --git a/pkgs/applications/office/trilium/default.nix b/pkgs/applications/office/trilium/default.nix
index ba69b7894d6..877dfba88c0 100644
--- a/pkgs/applications/office/trilium/default.nix
+++ b/pkgs/applications/office/trilium/default.nix
@@ -12,12 +12,12 @@ let
};
in stdenv.mkDerivation rec {
- name = "trilium-${version}";
- version = "0.30.8";
+ pname = "trilium";
+ version = "0.33.6";
src = fetchurl {
url = "https://github.com/zadam/trilium/releases/download/v${version}/trilium-linux-x64-${version}.tar.xz";
- sha256 = "1mw8m9qm5jqfbwzj721gyfa656bp3hs8mrqx5d354rbx5f12pgjr";
+ sha256 = "1sg6iqhpgyr8zr6w6dgs0ha0indb9vyp8vh2clj2fds5ahhlvf91";
};
# Fetch from source repo, no longer included in release.
diff --git a/pkgs/applications/office/tudu/default.nix b/pkgs/applications/office/tudu/default.nix
index dea3ea9731b..a4734f45460 100644
--- a/pkgs/applications/office/tudu/default.nix
+++ b/pkgs/applications/office/tudu/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "tudu-${version}";
- version = "0.10.2";
+ pname = "tudu";
+ version = "0.10.3";
src = fetchurl {
- url = "https://code.meskio.net/tudu/${name}.tar.gz";
- sha256 = "1xsncvd1c6v8y0dzc5mspy9rrwc89pabhz6r2lihsirk83h2rqym";
+ url = "https://code.meskio.net/tudu/${pname}-${version}.tar.gz";
+ sha256 = "0140pw457cd05ysws998yhd3b087j98q8m0g3s4br942l65b8n2y";
};
buildInputs = [ ncurses ];
diff --git a/pkgs/applications/office/vnote/default.nix b/pkgs/applications/office/vnote/default.nix
new file mode 100644
index 00000000000..fbb8436f44c
--- /dev/null
+++ b/pkgs/applications/office/vnote/default.nix
@@ -0,0 +1,27 @@
+{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtwebengine, hicolor-icon-theme }:
+
+let
+ description = "A note-taking application that knows programmers and Markdown better";
+in mkDerivation rec {
+ version = "2.7.2";
+ pname = "vnote";
+
+ src = fetchFromGitHub {
+ owner = "tamlok";
+ repo = "vnote";
+ fetchSubmodules = true;
+ rev = "v${version}";
+ sha256 = "0mk1ingcyznpwq4bfkxa8nx9yx5y3kgsmr4qffriq7bh1cx9dwjy";
+ };
+
+ nativeBuildInputs = [ qmake ];
+ buildInputs = [ qtbase qtwebengine hicolor-icon-theme ];
+
+ meta = with lib; {
+ inherit description;
+ homepage = "https://tamlok.github.io/vnote";
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.kuznero ];
+ };
+}
diff --git a/pkgs/applications/office/watson/default.nix b/pkgs/applications/office/watson/default.nix
index e0f0c58b450..16df0b294c1 100644
--- a/pkgs/applications/office/watson/default.nix
+++ b/pkgs/applications/office/watson/default.nix
@@ -3,27 +3,19 @@
with pythonPackages;
buildPythonApplication rec {
- pname = "td-watson";
- version = "1.5.2";
+ pname = "watson";
+ version = "1.7.0";
src = fetchPypi {
- inherit version pname;
- sha256 = "6e03d44a9278807fe5245e9ed0943f13ffb88e11249a02655c84cb86260b27c8";
+ inherit version;
+ pname = "td-watson";
+ sha256 = "249313996751f32f38817d424cbf8d74956461df1439f0ee3a962fcc3c77225d";
};
- # uses tox, test invocation fails
- doCheck = true;
checkPhase = ''
- py.test -vs tests
+ pytest -vs tests
'';
- patches = [
- (fetchpatch {
- url = https://github.com/TailorDev/Watson/commit/f5760c71cbc22de4e12ede8f6f7257515a9064d3.patch;
- sha256 = "0s9h26915ilpbd0qhmvk77r3gmrsdrl5l7dqxj0l5q66fp0z6b0g";
- })
- ];
-
checkInputs = [ py pytest pytest-datafiles mock pytest-mock pytestrunner ];
propagatedBuildInputs = [ requests click arrow ];
@@ -31,6 +23,6 @@ buildPythonApplication rec {
homepage = https://tailordev.github.io/Watson/;
description = "A wonderful CLI to track your time!";
license = licenses.mit;
- maintainers = with maintainers; [ mguentner ] ;
+ maintainers = with maintainers; [ mguentner nathyong ] ;
};
}
diff --git a/pkgs/applications/office/wordgrinder/default.nix b/pkgs/applications/office/wordgrinder/default.nix
index 4271e3d17aa..199f17afda7 100644
--- a/pkgs/applications/office/wordgrinder/default.nix
+++ b/pkgs/applications/office/wordgrinder/default.nix
@@ -2,13 +2,13 @@
, lua52Packages, libXft, ncurses, ninja, readline, zlib }:
stdenv.mkDerivation rec {
- name = "wordgrinder-${version}";
+ pname = "wordgrinder";
version = "0.7.2";
src = fetchFromGitHub {
repo = "wordgrinder";
owner = "davidgiven";
- rev = "${version}";
+ rev = version;
sha256 = "08lnq5wmspfqdjmqm15gizcq0xr7mg4h62qhvwj63v0sd6ks1cal";
};
diff --git a/pkgs/applications/office/wpsoffice/default.nix b/pkgs/applications/office/wpsoffice/default.nix
index 4c83d67f7cd..1f21ec60ae2 100644
--- a/pkgs/applications/office/wpsoffice/default.nix
+++ b/pkgs/applications/office/wpsoffice/default.nix
@@ -8,10 +8,11 @@ let
version = "10.1.0.5672";
in stdenv.mkDerivation rec{
- name = "wpsoffice-${version}";
+ pname = "wpsoffice";
+ inherit version;
src = fetchurl {
- name = "${name}.tar.xz";
+ name = "${pname}-${version}.tar.xz";
url = "http://kdl.cc.ksosoft.com/wps-community/download/a21/wps-office_${version}~a21_${bits}.tar.xz";
sha256 = if bits == "x86_64" then
"0mi3n9kplf82gd0g2m0np957agy53p4g1qh81pbban49r4n0ajcz" else
diff --git a/pkgs/applications/office/zanshin/default.nix b/pkgs/applications/office/zanshin/default.nix
index f8785616c5e..b76e09d4d1d 100644
--- a/pkgs/applications/office/zanshin/default.nix
+++ b/pkgs/applications/office/zanshin/default.nix
@@ -7,16 +7,15 @@
krunner, kwallet
}:
-mkDerivation rec {
+mkDerivation {
pname = "zanshin";
- version = "2017-11-25";
- name = "${pname}-${version}";
+ version = "2019-07-28";
src = fetchFromGitHub {
owner = "KDE";
repo = "zanshin";
- rev = "3df91dd81682d2ccfe542c4582dc1d5f98537c89";
- sha256 = "18wx7bdqzp81xmwi266gphh2lfbcp5s0fzyp654gki40yhkqph6m";
+ rev = "a8c223e745ed7e6aa3dd3cb0786a625a5c54e378";
+ sha256 = "0jglwh30x7qrl41n3dhawn4c25dmrzscpvcajhgb6fwcl4w8cgfm";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/office/zim/default.nix b/pkgs/applications/office/zim/default.nix
index c31284c2747..a41064666d5 100644
--- a/pkgs/applications/office/zim/default.nix
+++ b/pkgs/applications/office/zim/default.nix
@@ -9,11 +9,11 @@
python3Packages.buildPythonApplication rec {
name = "zim-${version}";
- version = "0.71.0";
+ version = "0.71.1";
src = fetchurl {
url = "http://zim-wiki.org/downloads/${name}.tar.gz";
- sha256 = "0mr3911ls5zp3z776ysrdm3sg89zg29r3ip23msydcdbl8wymw30";
+ sha256 = "0d7whwpbklkhamlvysa0yyix1hchkpdynimf3gp1xbibg8mqzbxc";
};
buildInputs = [ gtk3 gobject-introspection wrapGAppsHook ];
diff --git a/pkgs/applications/office/zotero/default.nix b/pkgs/applications/office/zotero/default.nix
index 025b772d73b..334a380d914 100644
--- a/pkgs/applications/office/zotero/default.nix
+++ b/pkgs/applications/office/zotero/default.nix
@@ -7,7 +7,7 @@
, dbus
, fontconfig
, freetype
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, glibc
, gtk3
@@ -29,20 +29,18 @@
, nspr
, nss
, pango
-, coreutils
-, gnused
, gsettings-desktop-schemas
}:
stdenv.mkDerivation rec {
- name = "zotero-${version}";
- version = "5.0.66";
-
+ pname = "zotero";
+ version = "5.0.73";
+
src = fetchurl {
url = "https://download.zotero.org/client/release/${version}/Zotero-${version}_linux-x86_64.tar.bz2";
- sha256 = "1dpcwpag95a4r46z03a3gqklis0q7nzqgjg34qfxxxb2lr7s1lsm";
+ sha256 = "0m2i3l0gy22h6c7rk39cd17vyksyz5l5py2fn9pza8lcbypkwf3l";
};
-
+
buildInputs= [ wrapGAppsHook gsettings-desktop-schemas gtk3 gnome3.adwaita-icon-theme gnome3.dconf ];
phases = [ "unpackPhase" "patchPhase" "installPhase" "fixupPhase" ];
@@ -60,7 +58,7 @@ stdenv.mkDerivation rec {
dbus
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
glibc
gtk3
@@ -89,7 +87,7 @@ stdenv.mkDerivation rec {
sed -i '/pref("app.update.enabled", true);/c\pref("app.update.enabled", false);' defaults/preferences/prefs.js
'';
- desktopItem = makeDesktopItem rec {
+ desktopItem = makeDesktopItem {
name = "zotero-${version}";
exec = "zotero -url %U";
icon = "zotero";
diff --git a/pkgs/applications/radio/airspy/default.nix b/pkgs/applications/radio/airspy/default.nix
index 2042f1047b2..0a313c35a18 100644
--- a/pkgs/applications/radio/airspy/default.nix
+++ b/pkgs/applications/radio/airspy/default.nix
@@ -6,7 +6,8 @@ let
version = "1.0.9";
in
stdenv.mkDerivation {
- name = "airspy-${version}";
+ pname = "airspy";
+ inherit version;
src = fetchFromGitHub {
owner = "airspy";
diff --git a/pkgs/applications/radio/chirp/default.nix b/pkgs/applications/radio/chirp/default.nix
index 1c6d0478f76..aeadf49f898 100644
--- a/pkgs/applications/radio/chirp/default.nix
+++ b/pkgs/applications/radio/chirp/default.nix
@@ -3,11 +3,11 @@
stdenv.mkDerivation rec {
pname = "chirp-daily";
- version = "20190511";
+ version = "20190718";
src = fetchurl {
url = "https://trac.chirp.danplanet.com/chirp_daily/daily-${version}/${pname}-${version}.tar.gz";
- sha256 = "1k5smkzkvbr4d8gbl1yczf2i5xrdkgk6i8pmwnlfghzcgy8n4jzj";
+ sha256 = "1zngdqqqrlm8qpv8dzinamhwq6rr8zcq7db3vb284wrq0jcvrry5";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/radio/cubicsdr/default.nix b/pkgs/applications/radio/cubicsdr/default.nix
index 07bf0a542fa..14badd6c55c 100644
--- a/pkgs/applications/radio/cubicsdr/default.nix
+++ b/pkgs/applications/radio/cubicsdr/default.nix
@@ -2,7 +2,7 @@
pkgconfig, soapysdr-with-plugins, wxGTK, enableDigitalLab ? false }:
stdenv.mkDerivation rec {
- name = "cubicsdr-${version}";
+ pname = "cubicsdr";
version = "0.2.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/dablin/default.nix b/pkgs/applications/radio/dablin/default.nix
new file mode 100644
index 00000000000..5f25402c3eb
--- /dev/null
+++ b/pkgs/applications/radio/dablin/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig
+, mpg123, SDL2, gnome3, faad2, pcre
+} :
+
+stdenv.mkDerivation rec {
+ pname = "dablin";
+ version = "1.11.0";
+
+ src = fetchFromGitHub {
+ owner = "Opendigitalradio";
+ repo = "dablin";
+ rev = version;
+ sha256 = "04ir7yg7psnnb48s1qfppvvx6lak4s8f6fqdg721y2kd9129jm82";
+ };
+
+ nativeBuildInputs = [ cmake pkgconfig ];
+
+ buildInputs = [ faad2 mpg123 SDL2 gnome3.gtkmm pcre ];
+
+ meta = with stdenv.lib; {
+ description = "Play DAB/DAB+ from ETI-NI aligned stream";
+ homepage = https://github.com/Opendigitalradio/dablin;
+ license = with licenses; [ gpl3 lgpl21 ];
+ platforms = platforms.linux;
+ maintainers = [ maintainers.markuskowa ];
+ };
+}
+
diff --git a/pkgs/applications/radio/dabtools/default.nix b/pkgs/applications/radio/dabtools/default.nix
new file mode 100644
index 00000000000..401e207ba4f
--- /dev/null
+++ b/pkgs/applications/radio/dabtools/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, cmake, pkgconfig
+, libusb1, rtl-sdr, fftw
+} :
+
+stdenv.mkDerivation {
+ pname = "dabtools";
+ version = "20180405";
+
+ src = fetchFromGitHub {
+ owner = "Opendigitalradio";
+ repo = "dabtools";
+ rev = "8b0b2258b02020d314efd4d0d33a56c8097de0d1";
+ sha256 = "18nkdybgg2w6zh56g6xwmg49sifalvraz4rynw8w5d8cqi3dm9sm";
+ };
+
+ nativeBuildInputs = [ cmake pkgconfig ];
+ buildInputs = [ rtl-sdr fftw libusb1 ];
+
+ meta = with stdenv.lib; {
+ description = "Commandline tools for DAB and DAB+ digital radio broadcasts";
+ homepage = "https://github.com/Opendigitalradio/dabtools";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.markuskowa ];
+ };
+}
+
diff --git a/pkgs/applications/radio/dmrconfig/default.nix b/pkgs/applications/radio/dmrconfig/default.nix
index 7125e37f7f9..f718854224c 100644
--- a/pkgs/applications/radio/dmrconfig/default.nix
+++ b/pkgs/applications/radio/dmrconfig/default.nix
@@ -2,7 +2,7 @@
, libusb1, systemd }:
stdenv.mkDerivation rec {
- name = "dmrconfig-${version}";
+ pname = "dmrconfig";
version = "1.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/fldigi/default.nix b/pkgs/applications/radio/fldigi/default.nix
index 8472e7f5c53..bc297b791f6 100644
--- a/pkgs/applications/radio/fldigi/default.nix
+++ b/pkgs/applications/radio/fldigi/default.nix
@@ -2,12 +2,12 @@
libsamplerate, libpulseaudio, libXinerama, gettext, pkgconfig, alsaLib }:
stdenv.mkDerivation rec {
- version = "4.1.03";
+ version = "4.1.08";
pname = "fldigi";
src = fetchurl {
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
- sha256 = "1d3m4xj237z89y691kmzh8ghwcznwjnp7av9ndzlkl1as1641n9p";
+ sha256 = "0jbk03w0wfvd9lxh1wdazim9gwxm1lkhc5xzi3h8ag7h9zx58jq0";
};
buildInputs = [ libXinerama gettext hamlib fltk13 libjpeg libpng portaudio
diff --git a/pkgs/applications/radio/fllog/default.nix b/pkgs/applications/radio/fllog/default.nix
index 713755d8a65..49149a2d82a 100644
--- a/pkgs/applications/radio/fllog/default.nix
+++ b/pkgs/applications/radio/fllog/default.nix
@@ -8,10 +8,9 @@
stdenv.mkDerivation rec {
version = "1.2.6";
pname = "fllog";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://sourceforge/fldigi/${name}.tar.gz";
+ url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
sha256 = "18nwqbbg5khpkwlr7dn41g6zf7ms2wzxykd42fwdsj4m4z0ysyyg";
};
diff --git a/pkgs/applications/radio/flmsg/default.nix b/pkgs/applications/radio/flmsg/default.nix
index 87674e6084b..ae602b752e0 100644
--- a/pkgs/applications/radio/flmsg/default.nix
+++ b/pkgs/applications/radio/flmsg/default.nix
@@ -6,12 +6,12 @@
}:
stdenv.mkDerivation rec {
- version = "4.0.8.04";
+ version = "4.0.10";
pname = "flmsg";
src = fetchurl {
url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
- sha256 = "09wazaa18zfsl4pscpzjqzj9wi4kdi6325rhaf5rl3668nlig4sm";
+ sha256 = "1vprax1w5wm3v2i4d0mbakrxp7v53m2bm8icsvaji06ixskq7cxf";
};
buildInputs = [
diff --git a/pkgs/applications/radio/flrig/default.nix b/pkgs/applications/radio/flrig/default.nix
index 23f11532966..5bb561f1426 100644
--- a/pkgs/applications/radio/flrig/default.nix
+++ b/pkgs/applications/radio/flrig/default.nix
@@ -6,12 +6,12 @@
}:
stdenv.mkDerivation rec {
- version = "1.3.43";
+ version = "1.3.47";
pname = "flrig";
src = fetchurl {
url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
- sha256 = "1ir47svjbz7dhgzxvb3xqnkcsnjqb935vhqfddx7yhaawiqrzhk1";
+ sha256 = "1xih3ik5dssa40lx48228pcrds8r7xmd8rmk2fcr1mw6apw6q141";
};
buildInputs = [
diff --git a/pkgs/applications/radio/flwrap/default.nix b/pkgs/applications/radio/flwrap/default.nix
index b96f3c2b327..6bdab0a925d 100644
--- a/pkgs/applications/radio/flwrap/default.nix
+++ b/pkgs/applications/radio/flwrap/default.nix
@@ -8,10 +8,9 @@
stdenv.mkDerivation rec {
version = "1.3.5";
pname = "flwrap";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://sourceforge/fldigi/${name}.tar.gz";
+ url = "mirror://sourceforge/fldigi/${pname}-${version}.tar.gz";
sha256 = "0qqivqkkravcg7j45740xfky2q3k7czqpkj6y364qff424q2pppg";
};
diff --git a/pkgs/applications/radio/gnss-sdr/default.nix b/pkgs/applications/radio/gnss-sdr/default.nix
index 6cbdea8c686..ba37b7ecad2 100644
--- a/pkgs/applications/radio/gnss-sdr/default.nix
+++ b/pkgs/applications/radio/gnss-sdr/default.nix
@@ -5,23 +5,28 @@
, glog
, gmock
, openssl
-, google-gflags
+, gflags
, gnuradio
, orc
, pkgconfig
, pythonPackages
, uhd
+, log4cpp
+, openblas
+, matio
+, pugixml
+, protobuf
}:
stdenv.mkDerivation rec {
- name = "gnss-sdr-${version}";
- version = "0.0.9";
+ pname = "gnss-sdr";
+ version = "0.0.11";
src = fetchFromGitHub {
owner = "gnss-sdr";
repo = "gnss-sdr";
rev = "v${version}";
- sha256 = "0gis932ly3vk7d5qvznffp54pkmbw3m6v60mxjfdj5dd3r7vf975";
+ sha256 = "0ajj0wx68yyzigppxxa1wag3hzkrjj8dqq8k28rj0jhp8a6bw2q7";
};
buildInputs = [
@@ -31,7 +36,7 @@ stdenv.mkDerivation rec {
glog
gmock
openssl.dev
- google-gflags
+ gflags
gnuradio
orc
pkgconfig
@@ -40,12 +45,17 @@ stdenv.mkDerivation rec {
# UHD support is optional, but gnuradio is built with it, so there's
# nothing to be gained by leaving it out.
uhd
+ log4cpp
+ openblas
+ matio
+ pugixml
+ protobuf
];
enableParallelBuilding = true;
cmakeFlags = [
- "-DGFlags_ROOT_DIR=${google-gflags}/lib"
+ "-DGFlags_ROOT_DIR=${gflags}/lib"
"-DGLOG_INCLUDE_DIR=${glog}/include"
"-DENABLE_UNIT_TESTING=OFF"
@@ -53,6 +63,8 @@ stdenv.mkDerivation rec {
# armadillo is built using both, so skip checking for them.
"-DBLAS=YES"
"-DLAPACK=YES"
+ "-DBLAS_LIBRARIES=-lopenblas"
+ "-DLAPACK_LIBRARIES=-lopenblas"
# Similarly, it doesn't actually use gfortran despite checking for
# its presence.
diff --git a/pkgs/applications/radio/gnuradio/ais.nix b/pkgs/applications/radio/gnuradio/ais.nix
index 7c6db61b529..c26d3e77c70 100644
--- a/pkgs/applications/radio/gnuradio/ais.nix
+++ b/pkgs/applications/radio/gnuradio/ais.nix
@@ -5,16 +5,16 @@
assert pythonSupport -> python != null && swig != null;
-stdenv.mkDerivation rec {
- name = "gr-ais-${version}";
+stdenv.mkDerivation {
+ pname = "gr-ais";
version = "2015-12-20";
src = fetchFromGitHub {
owner = "bistromath";
repo = "gr-ais";
# Upstream PR: https://github.com/bistromath/gr-ais/commit/8502d0252a2a1a9b8d1a71795eaeb5d820684054
- "rev" = "8502d0252a2a1a9b8d1a71795eaeb5d820684054";
- "sha256" = "1b9j0kc74cw12a7jv4lii77dgzqzg2s8ndzp4xmisxksgva1qfvh";
+ rev = "8502d0252a2a1a9b8d1a71795eaeb5d820684054";
+ sha256 = "1b9j0kc74cw12a7jv4lii77dgzqzg2s8ndzp4xmisxksgva1qfvh";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/radio/gnuradio/default.nix b/pkgs/applications/radio/gnuradio/default.nix
index f9a50313c47..016540c1e67 100644
--- a/pkgs/applications/radio/gnuradio/default.nix
+++ b/pkgs/applications/radio/gnuradio/default.nix
@@ -25,7 +25,7 @@
}:
stdenv.mkDerivation rec {
- name = "gnuradio-${version}";
+ pname = "gnuradio";
version = "3.7.13.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/gnuradio/gsm.nix b/pkgs/applications/radio/gnuradio/gsm.nix
index 119b7f7600f..27cdfc74aab 100644
--- a/pkgs/applications/radio/gnuradio/gsm.nix
+++ b/pkgs/applications/radio/gnuradio/gsm.nix
@@ -5,8 +5,8 @@
assert pythonSupport -> python != null && swig != null;
-stdenv.mkDerivation rec {
- name = "gr-gsm-${version}";
+stdenv.mkDerivation {
+ pname = "gr-gsm";
version = "2016-08-25";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/gnuradio/limesdr.nix b/pkgs/applications/radio/gnuradio/limesdr.nix
index af3cabac9ef..ec1b802c659 100644
--- a/pkgs/applications/radio/gnuradio/limesdr.nix
+++ b/pkgs/applications/radio/gnuradio/limesdr.nix
@@ -7,8 +7,9 @@ assert pythonSupport -> python != null && swig != null;
let
version = "2.0.0";
-in stdenv.mkDerivation rec {
- name = "gr-limesdr-${version}";
+in stdenv.mkDerivation {
+ pname = "gr-limesdr";
+ inherit version;
src = fetchFromGitHub {
owner = "myriadrf";
diff --git a/pkgs/applications/radio/gnuradio/nacl.nix b/pkgs/applications/radio/gnuradio/nacl.nix
index c3c8721be25..3026c81e8ef 100644
--- a/pkgs/applications/radio/gnuradio/nacl.nix
+++ b/pkgs/applications/radio/gnuradio/nacl.nix
@@ -5,8 +5,8 @@
assert pythonSupport -> python != null && swig != null;
-stdenv.mkDerivation rec {
- name = "gr-nacl-${version}";
+stdenv.mkDerivation {
+ pname = "gr-nacl";
version = "2017-04-10";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/gnuradio/osmosdr.nix b/pkgs/applications/radio/gnuradio/osmosdr.nix
index df2a88033c4..3bb632a819c 100644
--- a/pkgs/applications/radio/gnuradio/osmosdr.nix
+++ b/pkgs/applications/radio/gnuradio/osmosdr.nix
@@ -12,8 +12,8 @@
assert pythonSupport -> python != null && swig != null;
-stdenv.mkDerivation rec {
- name = "gr-osmosdr-${version}";
+stdenv.mkDerivation {
+ pname = "gr-osmosdr";
version = "2018-08-15";
src = fetchgit {
diff --git a/pkgs/applications/radio/gnuradio/rds.nix b/pkgs/applications/radio/gnuradio/rds.nix
index b56e0d22687..e4a55fe5098 100644
--- a/pkgs/applications/radio/gnuradio/rds.nix
+++ b/pkgs/applications/radio/gnuradio/rds.nix
@@ -5,7 +5,7 @@
assert pythonSupport -> python != null && swig != null;
stdenv.mkDerivation rec {
- name = "gr-rds-${version}";
+ pname = "gr-rds";
version = "1.1.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/gqrx/default.nix b/pkgs/applications/radio/gqrx/default.nix
index 1258dd32b9f..03acf9e1135 100644
--- a/pkgs/applications/radio/gqrx/default.nix
+++ b/pkgs/applications/radio/gqrx/default.nix
@@ -1,4 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, qtbase, qtsvg, gnuradio, boost, gr-osmosdr
+, mkDerivation
# drivers (optional):
, rtl-sdr, hackrf
, pulseaudioSupport ? true, libpulseaudio
@@ -6,8 +7,8 @@
assert pulseaudioSupport -> libpulseaudio != null;
-stdenv.mkDerivation rec {
- name = "gqrx-${version}";
+mkDerivation rec {
+ pname = "gqrx";
version = "2.11.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/hackrf/default.nix b/pkgs/applications/radio/hackrf/default.nix
index 81a66bf503c..09b4c84c131 100644
--- a/pkgs/applications/radio/hackrf/default.nix
+++ b/pkgs/applications/radio/hackrf/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, libusb, fftwSinglePrec }:
stdenv.mkDerivation rec {
- name = "hackrf-${version}";
+ pname = "hackrf";
version = "2018.01.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/inspectrum/default.nix b/pkgs/applications/radio/inspectrum/default.nix
index e2232c4b2ec..ef4bd6129a8 100644
--- a/pkgs/applications/radio/inspectrum/default.nix
+++ b/pkgs/applications/radio/inspectrum/default.nix
@@ -9,7 +9,7 @@
, liquid-dsp
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "inspectrum-unstable-2017-05-31";
src = fetchFromGitHub {
diff --git a/pkgs/applications/radio/kalibrate-hackrf/default.nix b/pkgs/applications/radio/kalibrate-hackrf/default.nix
index 0bd6f573ead..3964a8c3737 100644
--- a/pkgs/applications/radio/kalibrate-hackrf/default.nix
+++ b/pkgs/applications/radio/kalibrate-hackrf/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, fftw, hackrf, libusb1 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "kalibrate-hackrf-unstable-20160827";
# There are no tags/releases, so use the latest commit from git master.
diff --git a/pkgs/applications/radio/kalibrate-rtl/default.nix b/pkgs/applications/radio/kalibrate-rtl/default.nix
index 19ebd05e23c..879cd6e3aac 100644
--- a/pkgs/applications/radio/kalibrate-rtl/default.nix
+++ b/pkgs/applications/radio/kalibrate-rtl/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchgit, autoreconfHook, pkgconfig, fftw, rtl-sdr, libusb1 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "kalibrate-rtl-20131214";
# There are no tags/releases, so use the latest commit from git master.
diff --git a/pkgs/applications/radio/limesuite/default.nix b/pkgs/applications/radio/limesuite/default.nix
index 3ff73c4ef2a..4e69b11efbf 100644
--- a/pkgs/applications/radio/limesuite/default.nix
+++ b/pkgs/applications/radio/limesuite/default.nix
@@ -7,7 +7,8 @@ let
version = "19.04.0";
in stdenv.mkDerivation {
- name = "limesuite-${version}";
+ pname = "limesuite";
+ inherit version;
src = fetchFromGitHub {
owner = "myriadrf";
diff --git a/pkgs/applications/radio/minimodem/default.nix b/pkgs/applications/radio/minimodem/default.nix
index 8d179e8eed1..55cd14cf70d 100644
--- a/pkgs/applications/radio/minimodem/default.nix
+++ b/pkgs/applications/radio/minimodem/default.nix
@@ -5,7 +5,6 @@
stdenv.mkDerivation rec {
version = "0.24-1";
pname = "minimodem";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "kamalmostafa";
diff --git a/pkgs/applications/radio/multimon-ng/default.nix b/pkgs/applications/radio/multimon-ng/default.nix
index b58872975ae..c0f189686ac 100644
--- a/pkgs/applications/radio/multimon-ng/default.nix
+++ b/pkgs/applications/radio/multimon-ng/default.nix
@@ -1,15 +1,16 @@
{ stdenv, fetchFromGitHub, qt4, qmake4Hook, libpulseaudio }:
let
- version = "1.1.7";
+ version = "1.1.8";
in
stdenv.mkDerivation {
- name = "multimon-ng-${version}";
+ pname = "multimon-ng";
+ inherit version;
src = fetchFromGitHub {
owner = "EliasOenal";
repo = "multimon-ng";
- rev = "${version}";
- sha256 = "11wfk8jw86z44y0ji4jr4s8ig3zwxp6g9h3sl81pvk6l3ipqqbgi";
+ rev = version;
+ sha256 = "1973xfyvzl1viz19zr83cgqlx5laxbjrca35rqabn6dlb6xb5xk8";
};
buildInputs = [ qt4 libpulseaudio ];
diff --git a/pkgs/applications/radio/qradiolink/default.nix b/pkgs/applications/radio/qradiolink/default.nix
index 40a168675f6..a00ec6c47eb 100644
--- a/pkgs/applications/radio/qradiolink/default.nix
+++ b/pkgs/applications/radio/qradiolink/default.nix
@@ -8,12 +8,13 @@ let
version = "0.5.0";
in stdenv.mkDerivation {
- name = "qradiolink-${version}";
+ pname = "qradiolink";
+ inherit version;
src = fetchFromGitHub {
owner = "kantooon";
repo = "qradiolink";
- rev = "${version}";
+ rev = version;
sha256 = "0xhg5zhjznmls5m3rhpk1qx0dipxmca12s85w15d0i7qwva2f1gi";
};
diff --git a/pkgs/applications/radio/qsstv/default.nix b/pkgs/applications/radio/qsstv/default.nix
index c8401cdbf49..db1bfbb3f89 100644
--- a/pkgs/applications/radio/qsstv/default.nix
+++ b/pkgs/applications/radio/qsstv/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "9.2.6";
- name = "qsstv-${version}";
+ pname = "qsstv";
src = fetchurl {
url = "http://users.telenet.be/on4qz/qsstv/downloads/qsstv_${version}.tar.gz";
diff --git a/pkgs/applications/radio/rtl-sdr/default.nix b/pkgs/applications/radio/rtl-sdr/default.nix
index aedc847ee69..4e9badaa6c5 100644
--- a/pkgs/applications/radio/rtl-sdr/default.nix
+++ b/pkgs/applications/radio/rtl-sdr/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, lib, fetchpatch, fetchgit, cmake, pkgconfig, libusb1 }:
+{ stdenv, fetchgit, cmake, pkgconfig, libusb1 }:
stdenv.mkDerivation rec {
- name = "rtl-sdr-${version}";
+ pname = "rtl-sdr";
version = "0.6.0";
src = fetchgit {
diff --git a/pkgs/applications/radio/rtl_433/default.nix b/pkgs/applications/radio/rtl_433/default.nix
index 88dc64471ec..3d519255ab4 100644
--- a/pkgs/applications/radio/rtl_433/default.nix
+++ b/pkgs/applications/radio/rtl_433/default.nix
@@ -2,10 +2,10 @@
, libusb1, rtl-sdr, soapysdr-with-plugins
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "18.12";
- name = "rtl_433-${version}";
+ pname = "rtl_433";
src = fetchFromGitHub {
owner = "merbanan";
diff --git a/pkgs/applications/radio/sdrangel/default.nix b/pkgs/applications/radio/sdrangel/default.nix
new file mode 100644
index 00000000000..346c6aeed8e
--- /dev/null
+++ b/pkgs/applications/radio/sdrangel/default.nix
@@ -0,0 +1,76 @@
+{
+airspy,
+boost,
+cm256cc,
+cmake,
+codec2,
+fetchFromGitHub,
+fftwFloat,
+glew,
+hackrf,
+lib,
+libav,
+libiio,
+libopus,
+libpulseaudio,
+libusb,
+limesuite,
+mkDerivation,
+ocl-icd,
+opencv3,
+pkgconfig,
+qtbase,
+qtmultimedia,
+qtwebsockets,
+rtl-sdr,
+serialdv
+}:
+
+let
+
+ codec2' = codec2.overrideAttrs (old: {
+ src = fetchFromGitHub {
+ owner = "drowe67";
+ repo = "codec2";
+ rev = "567346818c0d4d697773cf66d925fdb031e15668";
+ sha256 = "0ngqlh2cw5grx2lg7xj8baz6p55gfhq4caggxkb4pxlg817pwbpa";
+ };
+ });
+
+in mkDerivation rec {
+ pname = "sdrangel";
+ version = "4.11.7";
+
+ src = fetchFromGitHub {
+ owner = "f4exb";
+ repo = "sdrangel";
+ rev = "v${version}";
+ sha256 = "0zbx0gklylk8npb3wnnmqpam0pdxl40f20i3wzwwh4gqrppxywzx";
+ fetchSubmodules = false;
+ };
+
+ nativeBuildInputs = [ cmake pkgconfig ];
+ buildInputs = [
+ glew opencv3 libusb boost libopus limesuite libav libiio libpulseaudio
+ qtbase qtwebsockets qtmultimedia rtl-sdr airspy hackrf
+ fftwFloat codec2' cm256cc serialdv
+ ];
+ cmakeFlags = [
+ "-DLIBSERIALDV_INCLUDE_DIR:PATH=${serialdv}/include/serialdv"
+ "-DLIMESUITE_INCLUDE_DIR:PATH=${limesuite}/include"
+ "-DLIMESUITE_LIBRARY:FILEPATH=${limesuite}/lib/libLimeSuite.so"
+ ];
+
+ LD_LIBRARY_PATH = "${ocl-icd}/lib";
+
+ meta = with lib; {
+ description = "Software defined radio (SDR) software";
+ longDescription = ''
+ SDRangel is an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
+ '';
+ homepage = "https://github.com/f4exb/sdrangel";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ alkeryn ];
+ };
+}
diff --git a/pkgs/applications/radio/soapyairspy/default.nix b/pkgs/applications/radio/soapyairspy/default.nix
index 1d8056ca1e8..eacbe66e5e5 100644
--- a/pkgs/applications/radio/soapyairspy/default.nix
+++ b/pkgs/applications/radio/soapyairspy/default.nix
@@ -6,7 +6,8 @@ let
version = "0.1.2";
in stdenv.mkDerivation {
- name = "soapyairspy-${version}";
+ pname = "soapyairspy";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
diff --git a/pkgs/applications/radio/soapybladerf/default.nix b/pkgs/applications/radio/soapybladerf/default.nix
index 5472254b19d..0bb05a204da 100644
--- a/pkgs/applications/radio/soapybladerf/default.nix
+++ b/pkgs/applications/radio/soapybladerf/default.nix
@@ -6,7 +6,8 @@ let
version = "0.4.1";
in stdenv.mkDerivation {
- name = "soapybladerf-${version}";
+ pname = "soapybladerf";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
diff --git a/pkgs/applications/radio/soapyhackrf/default.nix b/pkgs/applications/radio/soapyhackrf/default.nix
index 2c5dd058ced..5ab4c3363f4 100644
--- a/pkgs/applications/radio/soapyhackrf/default.nix
+++ b/pkgs/applications/radio/soapyhackrf/default.nix
@@ -6,7 +6,8 @@ let
version = "0.3.3";
in stdenv.mkDerivation {
- name = "soapyhackrf-${version}";
+ pname = "soapyhackrf";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
diff --git a/pkgs/applications/radio/soapyremote/default.nix b/pkgs/applications/radio/soapyremote/default.nix
index a0057978ea3..2f73403a168 100644
--- a/pkgs/applications/radio/soapyremote/default.nix
+++ b/pkgs/applications/radio/soapyremote/default.nix
@@ -4,7 +4,8 @@ let
version = "0.5.1";
in stdenv.mkDerivation {
- name = "soapyremote-${version}";
+ pname = "soapyremote";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
diff --git a/pkgs/applications/radio/soapyrtlsdr/default.nix b/pkgs/applications/radio/soapyrtlsdr/default.nix
index d85fe347cd7..8bf473cb36a 100644
--- a/pkgs/applications/radio/soapyrtlsdr/default.nix
+++ b/pkgs/applications/radio/soapyrtlsdr/default.nix
@@ -6,7 +6,8 @@ let
version = "0.3.0";
in stdenv.mkDerivation {
- name = "soapyrtlsdr-${version}";
+ pname = "soapyrtlsdr";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
diff --git a/pkgs/applications/radio/soapysdr/default.nix b/pkgs/applications/radio/soapysdr/default.nix
index 6754e8f2a55..5e4a78cfbd2 100644
--- a/pkgs/applications/radio/soapysdr/default.nix
+++ b/pkgs/applications/radio/soapysdr/default.nix
@@ -13,7 +13,8 @@ let
extraPackagesSearchPath = lib.makeSearchPath modulesPath extraPackages;
in stdenv.mkDerivation {
- name = "soapysdr-${version}";
+ pname = "soapysdr";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
diff --git a/pkgs/applications/radio/soapyuhd/default.nix b/pkgs/applications/radio/soapyuhd/default.nix
index f7c0f27160d..9e910584158 100644
--- a/pkgs/applications/radio/soapyuhd/default.nix
+++ b/pkgs/applications/radio/soapyuhd/default.nix
@@ -3,16 +3,17 @@
} :
let
- version = "0.3.5";
+ version = "0.3.6";
in stdenv.mkDerivation {
- name = "soapyuhd-${version}";
+ pname = "soapyuhd";
+ inherit version;
src = fetchFromGitHub {
owner = "pothosware";
repo = "SoapyUHD";
rev = "soapy-uhd-${version}";
- sha256 = "07cr4zk42d0l5g03wm7dzl5lmqr104hmzp1fdjqa1z7xq4v9c9b1";
+ sha256 = "11kp5iv21k8lqwjjydzqmcxdgpm6yicw6d3jhzvcvwcavd41crs7";
};
nativeBuildInputs = [ cmake pkgconfig ];
diff --git a/pkgs/applications/radio/uhd/default.nix b/pkgs/applications/radio/uhd/default.nix
index 484e8787d50..4b5c2c68344 100644
--- a/pkgs/applications/radio/uhd/default.nix
+++ b/pkgs/applications/radio/uhd/default.nix
@@ -12,22 +12,23 @@ let
# UHD seems to use three different version number styles: x.y.z, xxx_yyy_zzz
# and xxx.yyy.zzz. Hrmpf... style keeps changing
- version = "3.13.0.1";
+ version = "3.14.0.0";
# Firmware images are downloaded (pre-built) from the respective release on Github
uhdImagesSrc = fetchurl {
url = "https://github.com/EttusResearch/uhd/releases/download/${uhdVer}/uhd-images_${version}.tar.xz";
- sha256 = "0y9i93z188ch0hdlkvv0k9m0k7vns7rbxaqsnk35xnlqlxxgqdvj";
+ sha256 = "1fp37wgqkbr14cxg9l7ghfd4r92y2bxwgb7cfjzs96hbpd9s6al0";
};
in stdenv.mkDerivation {
- name = "uhd-${version}";
+ pname = "uhd";
+ inherit version;
src = fetchFromGitHub {
owner = "EttusResearch";
repo = "uhd";
- rev = "${uhdVer}";
- sha256 = "0si49qk96zhpanmcrzlr3igc5s1y30x4p0z973q60dx9fhqsbb6k";
+ rev = uhdVer;
+ sha256 = "0y1hff4vslfv36vxgvjqajg4862a11d4wgr0vcb0visgh1bi8qgy";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/radio/unixcw/default.nix b/pkgs/applications/radio/unixcw/default.nix
index 2aeba5fb5f4..fe31fd133e7 100644
--- a/pkgs/applications/radio/unixcw/default.nix
+++ b/pkgs/applications/radio/unixcw/default.nix
@@ -1,6 +1,6 @@
{stdenv, fetchurl, libpulseaudio, alsaLib , pkgconfig, qt5}:
stdenv.mkDerivation rec {
- name = "unixcw-${version}";
+ pname = "unixcw";
version = "3.5.1";
src = fetchurl {
url = "mirror://sourceforge/unixcw/unixcw_${version}.orig.tar.gz";
diff --git a/pkgs/applications/radio/urh/default.nix b/pkgs/applications/radio/urh/default.nix
index ced3bccd7b6..a1b92e7e4e1 100644
--- a/pkgs/applications/radio/urh/default.nix
+++ b/pkgs/applications/radio/urh/default.nix
@@ -1,28 +1,31 @@
-{ stdenv, fetchFromGitHub, python3Packages
-, hackrf, rtl-sdr, airspy, limesuite }:
+{ stdenv, lib, fetchFromGitHub, python3Packages
+, hackrf, rtl-sdr, airspy, limesuite, libiio
+, USRPSupport ? false, uhd }:
python3Packages.buildPythonApplication rec {
- name = "urh-${version}";
- version = "2.5.7";
+ pname = "urh";
+ version = "2.7.3";
src = fetchFromGitHub {
owner = "jopohl";
- repo = "urh";
+ repo = pname;
rev = "v${version}";
- sha256 = "110fwlj2fw8jgrsgqfkha7lx8f06w0ymh51mgpckx8a0wycznhcy";
+ sha256 = "1jrrj9c4ddm37m8j0g693xjimpnlvx7lan5kxish5p14xpwdak35";
};
- buildInputs = [ hackrf rtl-sdr airspy limesuite ];
+ buildInputs = [ hackrf rtl-sdr airspy limesuite libiio ]
+ ++ lib.optional USRPSupport uhd;
+
propagatedBuildInputs = with python3Packages; [
- pyqt5 numpy psutil cython pyzmq
+ pyqt5 numpy psutil cython pyzmq pyaudio
];
doCheck = false;
- meta = with stdenv.lib; {
- inherit (src.meta) homepage;
+ meta = with lib; {
+ homepage = "https://github.com/jopohl/urh";
description = "Universal Radio Hacker: investigate wireless protocols like a boss";
- license = licenses.asl20;
+ license = licenses.gpl3;
platforms = platforms.linux;
maintainers = with maintainers; [ fpletz ];
};
diff --git a/pkgs/applications/radio/welle-io/default.nix b/pkgs/applications/radio/welle-io/default.nix
index acf0226c0db..c6b09595c20 100644
--- a/pkgs/applications/radio/welle-io/default.nix
+++ b/pkgs/applications/radio/welle-io/default.nix
@@ -7,7 +7,8 @@ let
in stdenv.mkDerivation {
- name = "welle-io-${version}";
+ pname = "welle-io";
+ inherit version;
src = fetchFromGitHub {
owner = "AlbrechtL";
diff --git a/pkgs/applications/radio/wsjtx/default.nix b/pkgs/applications/radio/wsjtx/default.nix
index 6e287b571d7..36d3f14818f 100644
--- a/pkgs/applications/radio/wsjtx/default.nix
+++ b/pkgs/applications/radio/wsjtx/default.nix
@@ -1,22 +1,22 @@
{ stdenv, fetchurl, asciidoc, asciidoctor, autoconf, automake, cmake,
- docbook_xsl, fftw, fftwFloat, gfortran, libtool, qtbase,
- qtmultimedia, qtserialport, texinfo, libusb1 }:
+ docbook_xsl, fftw, fftwFloat, gfortran, libtool, libusb1, qtbase,
+ qtmultimedia, qtserialport, qttools, texinfo, wrapQtAppsHook }:
stdenv.mkDerivation rec {
- name = "wsjtx-${version}";
- version = "2.0.1";
+ pname = "wsjtx";
+ version = "2.1.0";
# This is a "superbuild" tarball containing both wsjtx and a hamlib fork
src = fetchurl {
url = "http://physics.princeton.edu/pulsar/k1jt/wsjtx-${version}.tgz";
- sha256 = "1kd0w57i9d9srbbfacza491vah8wa8100zjzzwqwdv70yy9qzw8q";
+ sha256 = "04flhyfw0djnnbrzh3f5lx06bnn92khchz3bmswk8if8n8j58v4y";
};
# Hamlib builds with autotools, wsjtx builds with cmake
# Omitting pkgconfig because it causes issues locating the built hamlib
nativeBuildInputs = [
asciidoc asciidoctor autoconf automake cmake docbook_xsl gfortran libtool
- texinfo
+ qttools texinfo wrapQtAppsHook
];
buildInputs = [ fftw fftwFloat libusb1 qtbase qtmultimedia qtserialport ];
@@ -29,16 +29,16 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Weak-signal digital communication modes for amateur radio";
longDescription = ''
- WSJT-X implements communication protocols or "modes" called FT8, JT4, JT9,
- JT65, QRA64, ISCAT, MSK144, and WSPR, as well as one called Echo for
+ WSJT-X implements communication protocols or "modes" called FT4, FT8, JT4,
+ JT9, JT65, QRA64, ISCAT, MSK144, and WSPR, as well as one called Echo for
detecting and measuring your own radio signals reflected from the Moon.
These modes were all designed for making reliable, confirmed ham radio
contacts under extreme weak-signal conditions.
'';
- homepage = http://physics.princeton.edu/pulsar/k1jt/wsjtx.html;
+ homepage = "https://physics.princeton.edu/pulsar/k1jt/wsjtx.html";
# Older licenses are for the statically-linked hamlib
license = with licenses; [ gpl3Plus gpl2Plus lgpl21Plus ];
platforms = platforms.linux;
- maintainers = [ maintainers.lasandell ];
+ maintainers = with maintainers; [ lasandell ];
};
}
diff --git a/pkgs/applications/radio/wsjtx/wsjtx.patch b/pkgs/applications/radio/wsjtx/wsjtx.patch
index e92b420e58a..fd7c40fdc13 100644
--- a/pkgs/applications/radio/wsjtx/wsjtx.patch
+++ b/pkgs/applications/radio/wsjtx/wsjtx.patch
@@ -2,11 +2,12 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e7e816b..e7dbb14a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -860,6 +860,7 @@ find_package (Qt5Widgets 5 REQUIRED)
- find_package (Qt5Multimedia 5 REQUIRED)
- find_package (Qt5PrintSupport 5 REQUIRED)
- find_package (Qt5Sql 5 REQUIRED)
-+find_package (Qt5SerialPort 5 REQUIRED)
+@@ -885,6 +885,6 @@
+ #
+
+ # Widgets finds its own dependencies.
+-find_package (Qt5 COMPONENTS Widgets Multimedia PrintSupport Sql LinguistTools REQUIRED)
++find_package (Qt5 COMPONENTS Widgets Multimedia PrintSupport Sql LinguistTools SerialPort REQUIRED)
if (WIN32)
add_definitions (-DQT_NEEDS_QTMAIN)
diff --git a/pkgs/applications/science/astronomy/astrolabe-generator/default.nix b/pkgs/applications/science/astronomy/astrolabe-generator/default.nix
index 3150d41ca9f..32d89866b5a 100644
--- a/pkgs/applications/science/astronomy/astrolabe-generator/default.nix
+++ b/pkgs/applications/science/astronomy/astrolabe-generator/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, makeWrapper, unzip }:
stdenv.mkDerivation rec {
- name = "astrolabe-generator-${version}";
+ pname = "astrolabe-generator";
version = "3.3";
src = fetchurl {
diff --git a/pkgs/applications/science/astronomy/gildas/default.nix b/pkgs/applications/science/astronomy/gildas/default.nix
index 592225b1696..a21c9f328f4 100644
--- a/pkgs/applications/science/astronomy/gildas/default.nix
+++ b/pkgs/applications/science/astronomy/gildas/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, gtk2-x11 , pkgconfig , python27 , gfortran , lesstif
-, cfitsio , getopt , perl , groff , which
+, cfitsio , getopt , perl , groff , which, darwin
}:
let
@@ -7,28 +7,31 @@ let
in
stdenv.mkDerivation rec {
- srcVersion = "may19a";
- version = "20190501_a";
- name = "gildas-${version}";
+ srcVersion = "sep19a";
+ version = "20190901_a";
+ pname = "gildas";
src = fetchurl {
# For each new release, the upstream developers of Gildas move the
# source code of the previous release to a different directory
urls = [ "http://www.iram.fr/~gildas/dist/gildas-src-${srcVersion}.tar.xz"
"http://www.iram.fr/~gildas/dist/archive/gildas/gildas-src-${srcVersion}.tar.xz" ];
- sha256 = "f6132116bce0ea716a6eb13a63f538d27567a8bfb159f7d567abb9dac5429e30";
+ sha256 = "0l4jfzzxp1ab70a920qfbxiphgnc06m46wfwv0jlsq2mfk7cxac1";
};
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig groff perl getopt gfortran which ];
- buildInputs = [ gtk2-x11 lesstif cfitsio python27Env ];
+ buildInputs = [ gtk2-x11 lesstif cfitsio python27Env ]
+ ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ CoreFoundation ]);
patches = [ ./wrapper.patch ./clang.patch ./aarch64.patch ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-Wno-unused-command-line-argument";
+ NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin (with darwin.apple_sdk.frameworks; "-F${CoreFoundation}/Library/Frameworks");
+
configurePhase=''
substituteInPlace admin/wrapper.sh --replace '%%OUT%%' $out
substituteInPlace admin/wrapper.sh --replace '%%PYTHONHOME%%' ${python27Env}
diff --git a/pkgs/applications/science/astronomy/gpredict/default.nix b/pkgs/applications/science/astronomy/gpredict/default.nix
index 9bacf6d9041..f36431beac1 100644
--- a/pkgs/applications/science/astronomy/gpredict/default.nix
+++ b/pkgs/applications/science/astronomy/gpredict/default.nix
@@ -6,7 +6,8 @@
let
version = "2.2.1";
in stdenv.mkDerivation {
- name = "gpredict-${version}";
+ pname = "gpredict";
+ inherit version;
src = fetchurl {
url = "https://github.com/csete/gpredict/releases/download/v${version}/gpredict-${version}.tar.bz2";
@@ -20,7 +21,7 @@ in stdenv.mkDerivation {
description = "Real time satellite tracking and orbit prediction";
longDescription = ''
Gpredict is a real time satellite tracking and orbit prediction program
- written using the Gtk+ widgets. Gpredict is targetted mainly towards ham radio
+ written using the GTK widgets. Gpredict is targetted mainly towards ham radio
operators but others interested in satellite tracking may find it useful as
well. Gpredict uses the SGP4/SDP4 algorithms, which are compatible with the
NORAD Keplerian elements.
diff --git a/pkgs/applications/science/astronomy/openspace/default.nix b/pkgs/applications/science/astronomy/openspace/default.nix
index ee3a71cf181..cfdd320d201 100644
--- a/pkgs/applications/science/astronomy/openspace/default.nix
+++ b/pkgs/applications/science/astronomy/openspace/default.nix
@@ -4,8 +4,8 @@
stdenv.mkDerivation rec {
version = "0.11.1";
- name = "openspace-${version}";
-
+ pname = "openspace";
+
src = fetchFromGitHub {
owner = "OpenSpace";
repo = "OpenSpace";
@@ -13,37 +13,37 @@ stdenv.mkDerivation rec {
sha256 = "0msqixf30r0d41xmfmzkdfw6w9jkx2ph5clq8xiwrg1jc3z9q7nv";
fetchSubmodules = true;
};
-
+
buildInputs = [
makeWrapper cmake
curl boost gdal glew soil
libX11 libXi libXxf86vm libXcursor libXrandr libXinerama
];
-
+
glmPlatformH = fetchurl {
url = "https://raw.githubusercontent.com/g-truc/glm/dd48b56e44d699a022c69155c8672caacafd9e8a/glm/simd/platform.h";
sha256 = "0y91hlbgn5va7ijg5mz823gqkq9hqxl00lwmdwnf8q2g086rplzw";
};
-
+
# See
prePatch = ''
cp ${glmPlatformH} ext/sgct/include/glm/simd/platform.h
cp ${glmPlatformH} ext/ghoul/ext/glm/glm/simd/platform.h
'';
-
+
patches = [
# See
./vrpn.patch
-
+
./constexpr.patch
./config.patch
# WARNING: This patch disables some slow torrents in a very dirty way.
- ./assets.patch
+ ./assets.patch
];
-
+
bundle = "$out/usr/share/openspace";
-
+
preConfigure = ''
cmakeFlagsArray=(
$cmakeFlagsArray
@@ -51,28 +51,28 @@ stdenv.mkDerivation rec {
"-DCMAKE_INSTALL_PREFIX=${bundle}"
)
'';
-
+
preInstall = ''
mkdir -p $out/bin
mkdir -p ${bundle}
'';
-
+
postInstall = ''
cp ext/spice/libSpice.so ${bundle}/lib
cp ext/ghoul/ext/lua/libLua.so ${bundle}/lib
'';
-
+
postFixup = ''
for bin in ${bundle}/bin/*
do
rpath=$(patchelf --print-rpath $bin)
patchelf --set-rpath $rpath:${bundle}/lib $bin
-
+
name=$(basename $bin)
makeWrapper $bin $out/bin/$name --run "cd ${bundle}"
done
'';
-
+
meta = {
description = "Open-source astrovisualization project";
longDescription = ''
@@ -85,5 +85,6 @@ stdenv.mkDerivation rec {
homepage = https://www.openspaceproject.com/;
license = stdenv.lib.licenses.mit;
platforms = stdenv.lib.platforms.linux;
+ broken = true; # fails to build
};
}
diff --git a/pkgs/applications/science/astronomy/stellarium/default.nix b/pkgs/applications/science/astronomy/stellarium/default.nix
index fb796341616..ecca9141d9f 100644
--- a/pkgs/applications/science/astronomy/stellarium/default.nix
+++ b/pkgs/applications/science/astronomy/stellarium/default.nix
@@ -1,32 +1,27 @@
{ mkDerivation, lib, fetchFromGitHub
, cmake, freetype, libpng, libGLU_combined, openssl, perl, libiconv
, qtscript, qtserialport, qttools
-, qtmultimedia, qtlocation, makeWrapper, qtbase
+, qtmultimedia, qtlocation, qtbase, wrapQtAppsHook
}:
mkDerivation rec {
- name = "stellarium-${version}";
- version = "0.19.0";
+ pname = "stellarium";
+ version = "0.19.1";
src = fetchFromGitHub {
owner = "Stellarium";
repo = "stellarium";
rev = "v${version}";
- sha256 = "1x9s9v9ann93nyqd8n8adwhx66xgq5vp0liyzl1h1ji6qk8jla3c";
+ sha256 = "0hf1wv2bb5j7ny2xh29mj9m4hjblhn02zylay8gl85w7xlqs7s5r";
};
- nativeBuildInputs = [ cmake perl ];
+ nativeBuildInputs = [ cmake perl wrapQtAppsHook ];
buildInputs = [
freetype libpng libGLU_combined openssl libiconv qtscript qtserialport qttools
- qtmultimedia qtlocation qtbase makeWrapper
+ qtmultimedia qtlocation qtbase
];
- postInstall = ''
- wrapProgram $out/bin/stellarium \
- --prefix QT_PLUGIN_PATH : "${qtbase}/lib/qt-5.${lib.versions.minor qtbase.version}/plugins"
- '';
-
meta = with lib; {
description = "Free open-source planetarium";
homepage = http://stellarium.org/;
diff --git a/pkgs/applications/science/astronomy/xearth/default.nix b/pkgs/applications/science/astronomy/xearth/default.nix
index fef4ca1907f..e9fc0607998 100644
--- a/pkgs/applications/science/astronomy/xearth/default.nix
+++ b/pkgs/applications/science/astronomy/xearth/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, imake, gccmakedep, libXt, libXext }:
stdenv.mkDerivation rec {
- name = "xearth-${version}";
+ pname = "xearth";
version = "1.1";
src = fetchurl {
- url = "http://xearth.org/${name}.tar.gz";
+ url = "http://xearth.org/${pname}-${version}.tar.gz";
sha256 = "bcb1407cc35b3f6dd3606b2c6072273b6a912cbd9ed1ae22fb2d26694541309c";
};
diff --git a/pkgs/applications/science/biology/ants/default.nix b/pkgs/applications/science/biology/ants/default.nix
index d1a990a5eb2..6e1a2a3407e 100644
--- a/pkgs/applications/science/biology/ants/default.nix
+++ b/pkgs/applications/science/biology/ants/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, fetchFromGitHub, cmake, makeWrapper, itk, vtk }:
+{ stdenv, fetchFromGitHub, fetchpatch, cmake, makeWrapper, itk4, vtk }:
stdenv.mkDerivation rec {
- _name = "ANTs";
- _version = "2.2.0";
- name = "${_name}-${_version}";
+ pname = "ANTs";
+ version = "2.2.0";
src = fetchFromGitHub {
owner = "ANTsX";
@@ -12,8 +11,16 @@ stdenv.mkDerivation rec {
sha256 = "1hrdwv3m9xh3yf7l0rm2ggxc2xzckfb8srs88g485ibfszx7i03q";
};
+ patches = [
+ # Fix build with gcc8
+ (fetchpatch {
+ url = "https://github.com/ANTsX/ANTs/commit/89af9b2694715bf8204993e032fa132f80cf37bd.patch";
+ sha256 = "1glkrwa1jmxxbmzihycxr576azjqby31jwpj165qc54c91pn0ams";
+ })
+ ];
+
nativeBuildInputs = [ cmake makeWrapper ];
- buildInputs = [ itk vtk ];
+ buildInputs = [ itk4 vtk ];
cmakeFlags = [ "-DANTS_SUPERBUILD=FALSE" "-DUSE_VTK=TRUE" ];
@@ -26,7 +33,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- homepage = https://github.com/ANTxS/ANTs;
+ homepage = https://github.com/ANTsX/ANTs;
description = "Advanced normalization toolkit for medical image registration and other processing";
maintainers = with maintainers; [ bcdarwin ];
platforms = platforms.unix;
diff --git a/pkgs/applications/science/biology/bcftools/default.nix b/pkgs/applications/science/biology/bcftools/default.nix
index 539d7c22446..33e4de0d95a 100644
--- a/pkgs/applications/science/biology/bcftools/default.nix
+++ b/pkgs/applications/science/biology/bcftools/default.nix
@@ -1,12 +1,11 @@
{ stdenv, fetchurl, htslib, zlib, bzip2, lzma, curl, perl, python, bash }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "bcftools";
version = "1.9";
src = fetchurl {
- url = "https://github.com/samtools/bcftools/releases/download/${version}/${name}.tar.bz2";
+ url = "https://github.com/samtools/bcftools/releases/download/${version}/${pname}-${version}.tar.bz2";
sha256 = "1j3h638i8kgihzyrlnpj82xg1b23sijibys9hvwari3fy7kd0dkg";
};
@@ -33,6 +32,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
homepage = http://www.htslib.org/;
platforms = platforms.unix;
- maintainers = [ maintainers.mimadrid ];
+ maintainers = [ maintainers.mimame ];
};
}
diff --git a/pkgs/applications/science/biology/bedtools/default.nix b/pkgs/applications/science/biology/bedtools/default.nix
index 406f42e9ad7..4e4c093ad7f 100644
--- a/pkgs/applications/science/biology/bedtools/default.nix
+++ b/pkgs/applications/science/biology/bedtools/default.nix
@@ -1,17 +1,17 @@
-{stdenv, fetchFromGitHub, zlib, python}:
+{stdenv, fetchFromGitHub, zlib, python, bzip2, lzma}:
stdenv.mkDerivation rec {
- name = "bedtools-${version}";
- version = "2.27.1";
+ pname = "bedtools";
+ version = "2.29.0";
src = fetchFromGitHub {
owner = "arq5x";
repo = "bedtools2";
rev = "v${version}";
- sha256 = "1pk68y052rm2m24yfmy82ms8p6kd6xcqxxgi7n0a1sbh89wllm6s";
+ sha256 = "0d6i985qqxp92ddq4n6558m70qi5rqhl724wrfys0hm0p6a9h56x";
};
- buildInputs = [ zlib python ];
+ buildInputs = [ zlib python bzip2 lzma ];
cc = if stdenv.cc.isClang then "clang++" else "g++";
buildPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cc} -j $NIX_BUILD_CORES";
installPhase = "make prefix=$out SHELL=${stdenv.shell} CXX=${cc} install";
diff --git a/pkgs/applications/science/biology/bftools/default.nix b/pkgs/applications/science/biology/bftools/default.nix
index 24a6e052df9..15829104934 100644
--- a/pkgs/applications/science/biology/bftools/default.nix
+++ b/pkgs/applications/science/biology/bftools/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, makeWrapper, fetchzip, jre }:
stdenv.mkDerivation rec {
- name = "bftools-${version}";
+ pname = "bftools";
version = "5.9.2";
src = fetchzip {
diff --git a/pkgs/applications/science/biology/bowtie2/default.nix b/pkgs/applications/science/biology/bowtie2/default.nix
index 21e2f56bdf9..962428d67cf 100644
--- a/pkgs/applications/science/biology/bowtie2/default.nix
+++ b/pkgs/applications/science/biology/bowtie2/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "bowtie2";
version = "2.3.5.1";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "BenLangmead";
diff --git a/pkgs/applications/science/biology/bwa/default.nix b/pkgs/applications/science/biology/bwa/default.nix
index d1dbacf053f..5e39320bf83 100644
--- a/pkgs/applications/science/biology/bwa/default.nix
+++ b/pkgs/applications/science/biology/bwa/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
- name = "bwa-${version}";
+ pname = "bwa";
version = "0.7.17";
src = fetchurl {
- url = "mirror://sourceforge/bio-bwa/${name}.tar.bz2";
+ url = "mirror://sourceforge/bio-bwa/${pname}-${version}.tar.bz2";
sha256 = "1zfhv2zg9v1icdlq4p9ssc8k01mca5d1bd87w71py2swfi74s6yy";
};
diff --git a/pkgs/applications/science/biology/cd-hit/default.nix b/pkgs/applications/science/biology/cd-hit/default.nix
new file mode 100644
index 00000000000..1a41a28a19a
--- /dev/null
+++ b/pkgs/applications/science/biology/cd-hit/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchFromGitHub, makeWrapper, zlib, perl, perlPackages }:
+
+stdenv.mkDerivation rec {
+ version = "4.8.1";
+ pname = "cd-hit";
+
+ src = fetchFromGitHub {
+ owner = "weizhongli";
+ repo = "cdhit";
+ rev = "V${version}";
+ sha256 = "032nva6iiwmw59gjipm1mv0xlcckhxsf45mc2qbnv19lbis0q22i";
+ };
+
+ propagatedBuildInputs = [ perl perlPackages.TextNSP perlPackages.PerlMagick perlPackages.Storable ];
+
+ nativeBuildInputs = [ zlib makeWrapper ];
+
+ makeFlags = [ "PREFIX=$(out)/bin" ];
+
+ preInstall = "mkdir -p $out/bin";
+
+ postFixup = ''
+ wrapProgram $out/bin/FET.pl --prefix PERL5LIB : $PERL5LIB
+ wrapProgram $out/bin/plot_2d.pl --prefix PERL5LIB : $PERL5LIB
+ wrapProgram $out/bin/clstr_list_sort.pl --prefix PERL5LIB : $PERL5LIB
+ '';
+ meta = with stdenv.lib; {
+ description = "Clustering and comparing protein or nucleotide sequences";
+ homepage = http://weizhongli-lab.org/cd-hit/;
+ license = licenses.gpl2;
+ maintainers = [ maintainers.bzizou ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/science/biology/clustal-omega/default.nix b/pkgs/applications/science/biology/clustal-omega/default.nix
index 3464e134ee8..00acc25028c 100644
--- a/pkgs/applications/science/biology/clustal-omega/default.nix
+++ b/pkgs/applications/science/biology/clustal-omega/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "1.2.4";
- name = "clustal-omega-${version}";
+ pname = "clustal-omega";
src = fetchurl {
- url = "http://www.clustal.org/omega/${name}.tar.gz";
+ url = "http://www.clustal.org/omega/${pname}-${version}.tar.gz";
sha256 = "1vm30mzncwdv881vrcwg11vzvrsmwy4wg80j5i0lcfk6dlld50w6";
};
diff --git a/pkgs/applications/science/biology/cmtk/default.nix b/pkgs/applications/science/biology/cmtk/default.nix
index 56de61da1c5..1ebfa2fca57 100644
--- a/pkgs/applications/science/biology/cmtk/default.nix
+++ b/pkgs/applications/science/biology/cmtk/default.nix
@@ -1,6 +1,6 @@
{stdenv, fetchurl, cmake}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "cmtk-3.3.1";
src = fetchurl {
diff --git a/pkgs/applications/science/biology/dcm2niix/default.nix b/pkgs/applications/science/biology/dcm2niix/default.nix
index 781ceb3df59..63d51de9930 100644
--- a/pkgs/applications/science/biology/dcm2niix/default.nix
+++ b/pkgs/applications/science/biology/dcm2niix/default.nix
@@ -2,21 +2,22 @@
, fetchFromGitHub
, cmake
, libyamlcpp
+, git
}:
stdenv.mkDerivation rec {
- version = "1.0.20170130";
- name = "dcm2niix-${version}";
+ version = "1.0.20190410";
+ pname = "dcm2niix";
src = fetchFromGitHub {
owner = "rordenlab";
repo = "dcm2niix";
rev = "v${version}";
- sha256 = "1f2nzd8flp1rfn725bi64z7aw3ccxyyygzarxijw6pvgl476i532";
+ sha256 = "1prwpvbi76xlpkhc4kadjhyyx0s71cs30hi6anknhfm6hdyd26ms";
};
enableParallelBuilding = true;
- nativeBuildInputs = [ cmake ];
+ nativeBuildInputs = [ cmake git ];
buildInputs = [ libyamlcpp ];
meta = with stdenv.lib; {
diff --git a/pkgs/applications/science/biology/diamond/default.nix b/pkgs/applications/science/biology/diamond/default.nix
index 854e91b2fcb..c1d20a11ca9 100644
--- a/pkgs/applications/science/biology/diamond/default.nix
+++ b/pkgs/applications/science/biology/diamond/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, cmake, zlib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "diamond-0.8.36";
src = fetchurl {
diff --git a/pkgs/applications/science/biology/eggnog-mapper/default.nix b/pkgs/applications/science/biology/eggnog-mapper/default.nix
index c9a9b55c31e..e11f4ebf77c 100644
--- a/pkgs/applications/science/biology/eggnog-mapper/default.nix
+++ b/pkgs/applications/science/biology/eggnog-mapper/default.nix
@@ -7,7 +7,7 @@ python27Packages.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "eggnogdb";
repo = "eggnog-mapper";
- rev = "${version}";
+ rev = version;
sha256 = "1aaaflppy84bhkh2hb5gnzm4xgrz0rz0cgfpadr9w8cva8p0sqdv";
};
diff --git a/pkgs/applications/science/biology/est-sfs/default.nix b/pkgs/applications/science/biology/est-sfs/default.nix
new file mode 100644
index 00000000000..dcc72523355
--- /dev/null
+++ b/pkgs/applications/science/biology/est-sfs/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl, gsl }:
+
+stdenv.mkDerivation rec {
+ pname = "est-sfs";
+ version = "2.03";
+
+ src = fetchurl {
+ url = "mirror://sourceforge/est-usfs/${pname}-release-${version}.tar.gz";
+ sha256 = "1hvamrgagz0xi89w8qafyd9mjrdpyika8zm22drddnjkp4sdj65n";
+ };
+
+ buildInputs = [ gsl ];
+
+ installPhase = ''
+ mkdir -p $out/bin
+ mkdir -p $out/share/doc/${pname}
+ cp est-sfs $out/bin
+ cp est-sfs-documentation.pdf $out/share/doc/${pname}
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://sourceforge.net/projects/est-usfs;
+ description = "Estimate the unfolded site frequency spectrum and ancestral states";
+ license = licenses.gpl3;
+ maintainers = [ maintainers.bzizou ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/science/biology/freebayes/default.nix b/pkgs/applications/science/biology/freebayes/default.nix
index 1a15dcf6197..e1e84c9423b 100644
--- a/pkgs/applications/science/biology/freebayes/default.nix
+++ b/pkgs/applications/science/biology/freebayes/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, zlib, bzip2, lzma }:
stdenv.mkDerivation rec {
- name = "freebayes-${version}";
+ pname = "freebayes";
version = "2017-08-23";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/biology/hisat2/default.nix b/pkgs/applications/science/biology/hisat2/default.nix
index 9ccf54a8113..82485630114 100644
--- a/pkgs/applications/science/biology/hisat2/default.nix
+++ b/pkgs/applications/science/biology/hisat2/default.nix
@@ -1,7 +1,7 @@
-{stdenv, fetchurl, unzip, which, python}:
+{stdenv, fetchurl, unzip, which, python, perl}:
stdenv.mkDerivation rec {
- name = "hisat2-${version}";
+ pname = "hisat2";
version = "2.1.0";
src = fetchurl {
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "10g73sdf6vqqfhhd92hliw7bbpkb8v4pp5012r5l21zws7p7d8l9";
};
- buildInputs = [ unzip which python ];
+ nativeBuildInputs = [ unzip which ];
+ buildInputs = [ python perl ];
installPhase = ''
mkdir -p $out/bin
diff --git a/pkgs/applications/science/biology/hmmer/default.nix b/pkgs/applications/science/biology/hmmer/default.nix
index e43d48db55f..3adbaf0079e 100644
--- a/pkgs/applications/science/biology/hmmer/default.nix
+++ b/pkgs/applications/science/biology/hmmer/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "3.2.1";
- name = "hmmer-${version}";
+ pname = "hmmer";
src = fetchurl {
- url = "http://eddylab.org/software/hmmer/${name}.tar.gz";
+ url = "http://eddylab.org/software/hmmer/${pname}-${version}.tar.gz";
sha256 = "171bivy6xhgjsz5nv53n81pc3frnwz29ylblawk2bv46szwjjqd5";
};
diff --git a/pkgs/applications/science/biology/igv/default.nix b/pkgs/applications/science/biology/igv/default.nix
index 95dc2b612e2..04699a84b69 100644
--- a/pkgs/applications/science/biology/igv/default.nix
+++ b/pkgs/applications/science/biology/igv/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, jre }:
stdenv.mkDerivation rec {
- name = "igv-${version}";
+ pname = "igv";
version = "2.4.19";
src = fetchurl {
@@ -28,6 +28,6 @@ stdenv.mkDerivation rec {
description = "A visualization tool for interactive exploration of genomic datasets";
license = licenses.lgpl21;
platforms = platforms.unix;
- maintainers = [ maintainers.mimadrid ];
+ maintainers = [ maintainers.mimame ];
};
}
diff --git a/pkgs/applications/science/biology/itsx/default.nix b/pkgs/applications/science/biology/itsx/default.nix
index 804e71c1bfa..1ba8cdf22ba 100644
--- a/pkgs/applications/science/biology/itsx/default.nix
+++ b/pkgs/applications/science/biology/itsx/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.1.1";
- name = "itsx-${version}";
+ pname = "itsx";
src = fetchurl {
url = "http://microbiology.se/sw/ITSx_${version}.tar.gz";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Improved software detection and extraction of ITS1 and ITS2 from ribosomal ITS sequences of fungi and other eukaryotes for use in environmental sequencing";
- homepage = http://microbiology.se/software/itsx/;
+ homepage = https://microbiology.se/software/itsx/;
license = licenses.gpl3;
maintainers = [ maintainers.bzizou ];
platforms = [ "x86_64-linux" "i686-linux" ];
diff --git a/pkgs/applications/science/biology/iv/default.nix b/pkgs/applications/science/biology/iv/default.nix
index f204d9bbca9..37abcf39621 100644
--- a/pkgs/applications/science/biology/iv/default.nix
+++ b/pkgs/applications/science/biology/iv/default.nix
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec
break
fi
done
+ '' + stdenv.lib.optionalString stdenv.isLinux ''
patchelf --add-needed ${libX11}/lib/libX11.so $out/lib/libIVhines.so
'';
meta = with stdenv.lib;
diff --git a/pkgs/applications/science/biology/kallisto/default.nix b/pkgs/applications/science/biology/kallisto/default.nix
index d80ffea9a78..de93ae5d782 100644
--- a/pkgs/applications/science/biology/kallisto/default.nix
+++ b/pkgs/applications/science/biology/kallisto/default.nix
@@ -1,25 +1,28 @@
-{ stdenv, fetchFromGitHub, cmake, hdf5, zlib }:
+{ stdenv, fetchFromGitHub, autoconf, cmake, hdf5, zlib }:
stdenv.mkDerivation rec {
- name = "kallisto-${version}";
- version = "0.43.1";
+ pname = "kallisto";
+ version = "0.46.0";
src = fetchFromGitHub {
repo = "kallisto";
owner = "pachterlab";
rev = "v${version}";
- sha256 = "04697pf7jvy7vw126s1rn09q4iab9223jvb1nb0jn7ilwkq7pgwz";
+ sha256 = "09vgdqwpigl4x3sdw5vjfyknsllkli339mh8xapbf7ldm0jldfn9";
};
- nativeBuildInputs = [ cmake ];
-
+ nativeBuildInputs = [ autoconf cmake ];
+
buildInputs = [ hdf5 zlib ];
+ # Parallel build fails in some cases: https://github.com/pachterlab/kallisto/issues/160
+ enableParallelBuilding = false;
+
meta = with stdenv.lib; {
- description = "kallisto is a program for quantifying abundances of transcripts from RNA-Seq data";
- homepage = https://pachterlab.github.io/kallisto;
+ description = "Kallisto is a program for quantifying abundances of transcripts from RNA-Seq data";
+ homepage = "https://pachterlab.github.io/kallisto";
license = licenses.bsd2;
platforms = platforms.linux;
- maintainers = [ maintainers.arcadio ];
+ maintainers = with maintainers; [ arcadio ];
};
}
diff --git a/pkgs/applications/science/biology/messer-slim/default.nix b/pkgs/applications/science/biology/messer-slim/default.nix
index dbbf8d39a93..d485666f393 100644
--- a/pkgs/applications/science/biology/messer-slim/default.nix
+++ b/pkgs/applications/science/biology/messer-slim/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "3.2.1";
- name = "messer-slim-${version}";
+ pname = "messer-slim";
src = fetchurl {
url = "https://github.com/MesserLab/SLiM/archive/v${version}.tar.gz";
diff --git a/pkgs/applications/science/biology/minimap2/default.nix b/pkgs/applications/science/biology/minimap2/default.nix
index 84c65feb093..bff2bcf428b 100644
--- a/pkgs/applications/science/biology/minimap2/default.nix
+++ b/pkgs/applications/science/biology/minimap2/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "minimap2";
version = "2.17";
diff --git a/pkgs/applications/science/biology/mosdepth/default.nix b/pkgs/applications/science/biology/mosdepth/default.nix
index 3cd83a5cdd2..717b8c3ab2f 100644
--- a/pkgs/applications/science/biology/mosdepth/default.nix
+++ b/pkgs/applications/science/biology/mosdepth/default.nix
@@ -4,26 +4,26 @@ let
hts-nim = fetchFromGitHub {
owner = "brentp";
repo = "hts-nim";
- rev = "v0.2.5";
- sha256 = "1fma99rjqxgg9dihkd10hm1jjp5amsk5wsxnvq1lk4mcsjix5xqb";
+ rev = "v0.2.14";
+ sha256 = "0d1z4b6mrppmz3hgkxd4wcy79w68icvhi7q7n3m2k17n8f3xbdx3";
};
docopt = fetchFromGitHub {
owner = "docopt";
repo = "docopt.nim";
- rev = "v0.6.5";
- sha256 = "0yx79m4jkdcazwlky55nwf39zj5kdhymrrdrjq29mahiwx83x5zr";
+ rev = "v0.6.7";
+ sha256 = "1ga7ckg21fzwwvh26jp2phn2h3pvkn8g8sm13dxif33rp471bv37";
};
in stdenv.mkDerivation rec {
- name = "mosdepth-${version}";
- version = "0.2.3";
+ pname = "mosdepth";
+ version = "0.2.6";
src = fetchFromGitHub {
owner = "brentp";
repo = "mosdepth";
rev = "v${version}";
- sha256 = "1b9frrwhcvay3alhn0d02jccc2qlbij1732hzq9nhwnr4kvsvxx7";
+ sha256 = "0i9pl9lsli3y84ygxanrr525gfg8fs9h481944cbzsmqmbldwvgk";
};
buildInputs = [ nim ];
diff --git a/pkgs/applications/science/biology/neuron/default.nix b/pkgs/applications/science/biology/neuron/default.nix
index 35710fd1fe1..4e6d3494c72 100644
--- a/pkgs/applications/science/biology/neuron/default.nix
+++ b/pkgs/applications/science/biology/neuron/default.nix
@@ -13,7 +13,7 @@
}:
stdenv.mkDerivation rec {
- name = "neuron-${version}";
+ pname = "neuron";
version = "7.5";
nativeBuildInputs = [ which pkgconfig automake autoconf libtool ];
@@ -33,6 +33,12 @@ stdenv.mkDerivation rec {
--replace 'float abs(float arg);' "" \
--replace 'short abs(short arg);' "" \
--replace 'long abs(long arg);' ""
+ '' + stdenv.lib.optionalString stdenv.isDarwin ''
+ # we are darwin, but we don't have all the quirks the source wants to compensate for
+ substituteInPlace src/nrnpython/setup.py.in --replace 'readline="edit"' 'readline="readline"'
+ for f in src/nrnpython/*.[ch] ; do
+ substituteInPlace $f --replace "" ""
+ done
'';
enableParallelBuilding = true;
@@ -74,7 +80,8 @@ stdenv.mkDerivation rec {
license = licenses.bsd3;
homepage = http://www.neuron.yale.edu/neuron;
maintainers = [ maintainers.adev ];
- platforms = platforms.all;
+ # source claims it's only tested for x86 and powerpc
+ platforms = platforms.x86_64 ++ platforms.i686;
};
}
diff --git a/pkgs/applications/science/biology/niftyreg/default.nix b/pkgs/applications/science/biology/niftyreg/default.nix
index 9f24046b3bf..6379f2c3282 100644
--- a/pkgs/applications/science/biology/niftyreg/default.nix
+++ b/pkgs/applications/science/biology/niftyreg/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, lib, fetchurl, cmake, zlib }:
+{ stdenv, fetchurl, cmake, zlib }:
stdenv.mkDerivation rec {
pname = "niftyreg";
version = "1.3.9";
- name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${pname}/nifty_reg-${version}/nifty_reg-${version}.tar.gz";
diff --git a/pkgs/applications/science/biology/niftyseg/default.nix b/pkgs/applications/science/biology/niftyseg/default.nix
index 671ee4b95c6..689d3e42c97 100644
--- a/pkgs/applications/science/biology/niftyseg/default.nix
+++ b/pkgs/applications/science/biology/niftyseg/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, lib, fetchurl, cmake, eigen, zlib }:
+{ stdenv, fetchurl, cmake, eigen, zlib }:
stdenv.mkDerivation rec {
pname = "niftyseg";
version = "1.0";
- name = "${pname}-${version}";
src = fetchurl {
url = "https://github.com/KCL-BMEIS/NiftySeg/archive/v${version}.tar.gz";
sha256 = "11q6yldsxp3k6gfp94c0xhcan2y3finzv8lzizmrc79yps3wjkn0";
diff --git a/pkgs/applications/science/biology/octopus/default.nix b/pkgs/applications/science/biology/octopus/default.nix
new file mode 100644
index 00000000000..9d81e08d729
--- /dev/null
+++ b/pkgs/applications/science/biology/octopus/default.nix
@@ -0,0 +1,29 @@
+{stdenv, fetchFromGitHub, cmake, boost, gmp, htslib, zlib, lzma, pkg-config}:
+
+stdenv.mkDerivation rec {
+ pname = "octopus";
+ version = "0.6.3-beta";
+
+ src = fetchFromGitHub {
+ owner = "luntergroup";
+ repo = "octopus";
+ rev = "v${version}";
+ sha256 = "042fycg8ppld7iajpzq2d8h8wr0nw43zbl57y125sfihryvr373n";
+ };
+
+ nativeBuildInputs = [ cmake pkg-config ];
+ buildInputs = [ boost gmp htslib zlib lzma ];
+
+ postInstall = ''
+ mkdir $out/bin
+ mv $out/octopus $out/bin
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Bayesian haplotype-based mutation calling";
+ license = licenses.mit;
+ homepage = "https://github.com/luntergroup/octopus";
+ maintainers = with maintainers; [ jbedo ];
+ platforms = platforms.x86_64;
+ };
+}
diff --git a/pkgs/applications/science/biology/paml/default.nix b/pkgs/applications/science/biology/paml/default.nix
index 68efc2030e5..161188f7ef1 100644
--- a/pkgs/applications/science/biology/paml/default.nix
+++ b/pkgs/applications/science/biology/paml/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "4.9i";
- name = "paml-${version}";
+ pname = "paml";
src = fetchurl {
url = "http://abacus.gene.ucl.ac.uk/software/paml${version}.tgz";
sha256 = "1k5lcyls6c33ppp5fxl8ply2fy7i2k0gcqaifsl7gnc81d8ay4dw";
diff --git a/pkgs/applications/science/biology/picard-tools/default.nix b/pkgs/applications/science/biology/picard-tools/default.nix
index 91468eaf819..2a57febe8f5 100644
--- a/pkgs/applications/science/biology/picard-tools/default.nix
+++ b/pkgs/applications/science/biology/picard-tools/default.nix
@@ -1,12 +1,12 @@
{stdenv, fetchurl, jre, makeWrapper}:
stdenv.mkDerivation rec {
- name = "picard-tools-${version}";
- version = "2.19.2";
+ pname = "picard-tools";
+ version = "2.20.5";
src = fetchurl {
url = "https://github.com/broadinstitute/picard/releases/download/${version}/picard.jar";
- sha256 = "0dfap1whga03r0fh3adi684dyp9agfdi96hb2aqskgr9jp0z69rb";
+ sha256 = "107zlvp74ahpn652nfkipp80bbzf3fp812pi1ma42njk4wchah10";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/science/biology/platypus/default.nix b/pkgs/applications/science/biology/platypus/default.nix
index 323ca90f0a2..6907c6e3ec8 100644
--- a/pkgs/applications/science/biology/platypus/default.nix
+++ b/pkgs/applications/science/biology/platypus/default.nix
@@ -2,8 +2,8 @@
let python = python27.withPackages (ps: with ps; [ cython ]);
-in stdenv.mkDerivation rec {
- name = "platypus-unstable-${version}";
+in stdenv.mkDerivation {
+ pname = "platypus-unstable";
version = "2018-07-22";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/biology/plink-ng/default.nix b/pkgs/applications/science/biology/plink-ng/default.nix
index 2efb59f536f..52f8f70b779 100644
--- a/pkgs/applications/science/biology/plink-ng/default.nix
+++ b/pkgs/applications/science/biology/plink-ng/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, zlib, openblas, darwin}:
stdenv.mkDerivation rec {
- name = "plink-ng-${version}";
+ pname = "plink-ng";
version = "1.90b3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/biology/poretools/default.nix b/pkgs/applications/science/biology/poretools/default.nix
index 3bb9ea06fd4..8a19ae135e8 100755
--- a/pkgs/applications/science/biology/poretools/default.nix
+++ b/pkgs/applications/science/biology/poretools/default.nix
@@ -3,7 +3,6 @@
pythonPackages.buildPythonPackage rec {
pname = "poretools";
version = "unstable-2016-07-10";
- name = "${pname}-${version}";
src = fetchFromGitHub {
repo = pname;
diff --git a/pkgs/applications/science/biology/raxml/default.nix b/pkgs/applications/science/biology/raxml/default.nix
index 140f7032319..d7ee54bfbcf 100644
--- a/pkgs/applications/science/biology/raxml/default.nix
+++ b/pkgs/applications/science/biology/raxml/default.nix
@@ -7,7 +7,6 @@
stdenv.mkDerivation rec {
pname = "RAxML";
version = "8.2.12";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "stamatak";
diff --git a/pkgs/applications/science/biology/samtools/default.nix b/pkgs/applications/science/biology/samtools/default.nix
index c4b4bb522c4..daa2925de7c 100644
--- a/pkgs/applications/science/biology/samtools/default.nix
+++ b/pkgs/applications/science/biology/samtools/default.nix
@@ -1,12 +1,11 @@
{ stdenv, fetchurl, zlib, htslib, perl, ncurses ? null }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "samtools";
version = "1.9";
src = fetchurl {
- url = "https://github.com/samtools/samtools/releases/download/${version}/${name}.tar.bz2";
+ url = "https://github.com/samtools/samtools/releases/download/${version}/${pname}-${version}.tar.bz2";
sha256 = "10ilqbmm7ri8z431sn90lvbjwizd0hhkf9rcqw8j823hf26nhgq8";
};
@@ -30,6 +29,6 @@ stdenv.mkDerivation rec {
license = licenses.mit;
homepage = http://www.htslib.org/;
platforms = platforms.unix;
- maintainers = [ maintainers.mimadrid ];
+ maintainers = [ maintainers.mimame ];
};
}
diff --git a/pkgs/applications/science/biology/samtools/samtools_0_1_19.nix b/pkgs/applications/science/biology/samtools/samtools_0_1_19.nix
index a811bc4412f..72d125ef8b6 100644
--- a/pkgs/applications/science/biology/samtools/samtools_0_1_19.nix
+++ b/pkgs/applications/science/biology/samtools/samtools_0_1_19.nix
@@ -1,12 +1,11 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "samtools";
version = "0.1.19";
src = fetchurl {
- url = "mirror://sourceforge/samtools/${name}.tar.bz2";
+ url = "mirror://sourceforge/samtools/${pname}-${version}.tar.bz2";
sha256 = "d080c9d356e5f0ad334007e4461cbcee3c4ca97b8a7a5a48c44883cf9dee63d4";
};
diff --git a/pkgs/applications/science/biology/seaview/default.nix b/pkgs/applications/science/biology/seaview/default.nix
index 17cf903ae49..69dece88c27 100644
--- a/pkgs/applications/science/biology/seaview/default.nix
+++ b/pkgs/applications/science/biology/seaview/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "4.7";
- name = "seaview-${version}";
+ pname = "seaview";
src = fetchurl {
url = "ftp://pbil.univ-lyon1.fr/pub/mol_phylogeny/seaview/archive/seaview_${version}.tar.gz";
diff --git a/pkgs/applications/science/biology/snpeff/default.nix b/pkgs/applications/science/biology/snpeff/default.nix
index dc224690334..d700ee50a9c 100644
--- a/pkgs/applications/science/biology/snpeff/default.nix
+++ b/pkgs/applications/science/biology/snpeff/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchurl, jre, unzip, makeWrapper}:
stdenv.mkDerivation rec {
- name = "snpeff-${version}";
+ pname = "snpeff";
version = "4.3t";
src = fetchurl {
diff --git a/pkgs/applications/science/biology/somatic-sniper/default.nix b/pkgs/applications/science/biology/somatic-sniper/default.nix
index 4bbd6a32003..1961c71f43b 100644
--- a/pkgs/applications/science/biology/somatic-sniper/default.nix
+++ b/pkgs/applications/science/biology/somatic-sniper/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, cmake, zlib, ncurses}:
stdenv.mkDerivation rec {
- name = "somatic-sniper-${version}";
+ pname = "somatic-sniper";
version = "1.0.5.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/biology/sortmerna/default.nix b/pkgs/applications/science/biology/sortmerna/default.nix
new file mode 100644
index 00000000000..4adce4461ed
--- /dev/null
+++ b/pkgs/applications/science/biology/sortmerna/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, cmake, rocksdb, rapidjson, pkgconfig, fetchFromGitHub, fetchpatch, zlib }:
+
+stdenv.mkDerivation rec {
+ pname = "sortmerna";
+ version = "3.0.3";
+
+ src = fetchFromGitHub {
+ repo = pname;
+ owner = "biocore";
+ rev = "v${version}";
+ sha256 = "0zx5fbzyr8wdr0zwphp8hhcn1xz43s5lg2ag4py5sv0pv5l1jh76";
+ };
+
+ patches = [
+ (fetchpatch {
+ name = "CMakeInstallPrefix.patch";
+ url = "https://github.com/biocore/sortmerna/commit/4d36d620a3207e26cf3f588d4ec39889ea21eb79.patch";
+ sha256 = "0hc3jwdr6ylbyigg52q8islqc0mb1k8rrjadvjfqaxnili099apd";
+ })
+ ];
+
+ nativeBuildInputs = [ cmake rapidjson pkgconfig ];
+ buildInputs = [ zlib rocksdb rapidjson ];
+
+ cmakeFlags = [
+ "-DCMAKE_BUILD_TYPE=Release"
+ "-DROCKSDB_HOME=${rocksdb}"
+ "-DRAPIDJSON_HOME=${rapidjson}"
+ ];
+
+ meta = with stdenv.lib; {
+ description = "Tools for filtering, mapping, and OTU-picking from shotgun genomics data";
+ license = licenses.lgpl3;
+ platforms = platforms.x86_64;
+ homepage = https://bioinfo.lifl.fr/RNA/sortmerna/;
+ maintainers = with maintainers; [ luispedro ];
+ };
+}
diff --git a/pkgs/applications/science/biology/stacks/default.nix b/pkgs/applications/science/biology/stacks/default.nix
index d188ca02b18..e778c3bd52c 100644
--- a/pkgs/applications/science/biology/stacks/default.nix
+++ b/pkgs/applications/science/biology/stacks/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
pname = "stacks";
- version = "2.4";
+ version = "2.41";
src = fetchurl {
url = "http://catchenlab.life.illinois.edu/stacks/source/${pname}-${version}.tar.gz";
- sha256 = "1ha1avkh6rqqvsy4k42336a2gj14y1jq19a2x8cjmiidi9l3s29h";
+ sha256 = "0q420rzjb05jfchcls3pysm4hxfgs6xj2jw246isx0il10g93gkq";
};
buildInputs = [ zlib ];
diff --git a/pkgs/applications/science/biology/star/default.nix b/pkgs/applications/science/biology/star/default.nix
index 2f21da02fb0..f32dca86bdf 100644
--- a/pkgs/applications/science/biology/star/default.nix
+++ b/pkgs/applications/science/biology/star/default.nix
@@ -1,32 +1,37 @@
{ stdenv, fetchFromGitHub, zlib }:
stdenv.mkDerivation rec {
- name = "star-${version}";
- version = "2.7.0f";
+ pname = "star";
+ version = "2.7.1a";
src = fetchFromGitHub {
repo = "STAR";
owner = "alexdobin";
rev = version;
- sha256 = "0ndqlyimf7xf00nghn8awg12pw985ixghiypg98r2gdm7pscgd0i";
+ sha256 = "0n6g4s4hgw7qygs1z97j7a2dgz8gfaa4cv5pjvvvmarvk0x07hyg";
};
sourceRoot = "source/source";
-
- postPatch = "sed 's:/bin/rm:rm:g' -i Makefile";
-
+
+ postPatch = ''
+ substituteInPlace Makefile --replace "/bin/rm" "rm"
+ '';
+
buildInputs = [ zlib ];
-
- buildPhase = "make STAR STARlong";
+
+ buildFlags = [ "STAR" "STARlong" ];
+
+ enableParallelBuilding = true;
installPhase = ''
- mkdir -p $out/bin
- cp STAR STARlong $out/bin
+ runHook preInstall
+ install -D STAR STARlong -t $out/bin
+ runHook postInstall
'';
-
+
meta = with stdenv.lib; {
description = "Spliced Transcripts Alignment to a Reference";
- homepage = https://github.com/alexdobin/STAR;
+ homepage = "https://github.com/alexdobin/STAR";
license = licenses.gpl3Plus;
platforms = platforms.linux;
maintainers = [ maintainers.arcadio ];
diff --git a/pkgs/applications/science/biology/strelka/default.nix b/pkgs/applications/science/biology/strelka/default.nix
index 1527f5d3dda..84c90d89556 100644
--- a/pkgs/applications/science/biology/strelka/default.nix
+++ b/pkgs/applications/science/biology/strelka/default.nix
@@ -1,17 +1,18 @@
{stdenv, fetchFromGitHub, cmake, zlib, python2}:
stdenv.mkDerivation rec {
- name = "strelka-${version}";
- version = "2.9.5";
+ pname = "strelka";
+ version = "2.9.10";
src = fetchFromGitHub {
owner = "Illumina";
repo = "strelka";
rev = "v${version}";
- sha256 = "0x4a6nkx1jnyag9svghsdjz1fz6q7qx5pn77wphdfnk81f9yspf8";
+ sha256 = "1nykbmim1124xh22nrhrsn8xgjb3s2y7akrdapn9sl1gdych4ppf";
};
- buildInputs = [ cmake zlib python2 ];
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ zlib python2 ];
preConfigure = ''
sed -i 's|/usr/bin/env python|${python2}/bin/python|' src/python/lib/makeRunScript.py
diff --git a/pkgs/applications/science/biology/sumatools/default.nix b/pkgs/applications/science/biology/sumatools/default.nix
index 6f7227d7a3e..f9042f30011 100644
--- a/pkgs/applications/science/biology/sumatools/default.nix
+++ b/pkgs/applications/science/biology/sumatools/default.nix
@@ -23,6 +23,7 @@ in rec {
sha256 = "0hwkrxzfz7m5wdjvmrhkjg8kis378iaqr5n4nhdhkwwhn8x1jn5a";
};
makeFlags = "PREFIX=$(out)";
+ inherit meta;
};
# Sumatra
@@ -42,6 +43,7 @@ in rec {
"LIBSUMAPATH=-L${sumalibs}"
"PREFIX=$(out)"
];
+ inherit meta;
};
# Sumaclust
@@ -61,5 +63,6 @@ in rec {
"LIBSUMAPATH=-L${sumalibs}"
"PREFIX=$(out)"
];
+ inherit meta;
};
}
diff --git a/pkgs/applications/science/biology/trimal/default.nix b/pkgs/applications/science/biology/trimal/default.nix
new file mode 100755
index 00000000000..d4e8fee7bc3
--- /dev/null
+++ b/pkgs/applications/science/biology/trimal/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "trimal";
+ version = "1.4.1";
+
+ src = fetchFromGitHub {
+ repo = pname;
+ owner = "scapella";
+ rev = "v${version}";
+ sha256 = "0isc7s3514di4z953xq53ncjkbi650sh4q9yyw5aag1n9hqnh7k0";
+ };
+
+ postUnpack = ''
+ sourceRoot=''${sourceRoot}/source
+ echo Source root reset to ''${sourceRoot}
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ cp -a trimal readal statal $out/bin
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A tool for the automated removal of spurious sequences or poorly aligned regions from a multiple sequence alignment";
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ homepage = http://trimal.cgenomics.org;
+ maintainers = [ maintainers.bzizou ];
+ };
+}
diff --git a/pkgs/applications/science/biology/varscan/default.nix b/pkgs/applications/science/biology/varscan/default.nix
index f685031e87e..697a444193b 100644
--- a/pkgs/applications/science/biology/varscan/default.nix
+++ b/pkgs/applications/science/biology/varscan/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchurl, jre, makeWrapper}:
stdenv.mkDerivation rec {
- name = "varscan-${version}";
+ pname = "varscan";
version = "2.4.2";
src = fetchurl {
diff --git a/pkgs/applications/science/biology/vcftools/default.nix b/pkgs/applications/science/biology/vcftools/default.nix
index a6f52ae97b5..f6c9ad029c1 100755
--- a/pkgs/applications/science/biology/vcftools/default.nix
+++ b/pkgs/applications/science/biology/vcftools/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, zlib, autoreconfHook, pkgconfig, perl }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "vcftools";
version = "0.1.16";
diff --git a/pkgs/applications/science/biology/xenomapper/default.nix b/pkgs/applications/science/biology/xenomapper/default.nix
new file mode 100644
index 00000000000..cc235c4ca99
--- /dev/null
+++ b/pkgs/applications/science/biology/xenomapper/default.nix
@@ -0,0 +1,23 @@
+{buildPythonPackage, lib, fetchFromGitHub, statistics}:
+
+buildPythonPackage rec {
+ pname = "xenomapper";
+ version = "1.0.2";
+
+ src = fetchFromGitHub {
+ owner = "genomematt";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0mnmfzlq5mhih6z8dq5bkx95vb8whjycz9mdlqwbmlqjb3gb3zhr";
+ };
+
+ propagatedBuildInputs = [ statistics ];
+
+ meta = with lib; {
+ homepage = "http://github.com/genomematt/xenomapper";
+ description = "A utility for post processing mapped reads that have been aligned to a primary genome and a secondary genome and binning reads into species specific, multimapping in each species, unmapped and unassigned bins";
+ license = licenses.gpl3;
+ platforms = platforms.all;
+ maintainers = [ maintainers.jbedo ];
+ };
+}
diff --git a/pkgs/applications/science/chemistry/gwyddion/default.nix b/pkgs/applications/science/chemistry/gwyddion/default.nix
index 92f997900d5..12007c940b3 100644
--- a/pkgs/applications/science/chemistry/gwyddion/default.nix
+++ b/pkgs/applications/science/chemistry/gwyddion/default.nix
@@ -4,7 +4,8 @@ with stdenv.lib;
let version = "2.48"; in
stdenv.mkDerivation {
- name = "gwyddion-${version}";
+ pname = "gwyddion";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/gwyddion/files/gwyddion/${version}/gwyddion-${version}.tar.xz";
sha256 = "119iw58ac2wn4cas6js8m7r1n4gmmkga6b1y711xzcyjp9hshgwx";
diff --git a/pkgs/applications/science/chemistry/jmol/default.nix b/pkgs/applications/science/chemistry/jmol/default.nix
index a15ac2a466c..00231113d2c 100644
--- a/pkgs/applications/science/chemistry/jmol/default.nix
+++ b/pkgs/applications/science/chemistry/jmol/default.nix
@@ -17,14 +17,14 @@ let
};
in
stdenv.mkDerivation rec {
- version = "14.29.40";
+ version = "14.29.49";
pname = "jmol";
src = let
baseVersion = "${lib.versions.major version}.${lib.versions.minor version}";
in fetchurl {
url = "mirror://sourceforge/jmol/Jmol/Version%20${baseVersion}/Jmol%20${version}/Jmol-${version}-binary.tar.gz";
- sha256 = "17skd67i6l7k96g2ddq0s0xkji8wmfr2z31j345ws9kdr0faw01x";
+ sha256 = "19fyr4ldvbd5rbw19hslg9fpwc42wxmyx7r3z78k6dw653vb1ml5";
};
patchPhase = ''
diff --git a/pkgs/applications/science/chemistry/marvin/default.nix b/pkgs/applications/science/chemistry/marvin/default.nix
index 948aed03fe5..391ed54dfcb 100644
--- a/pkgs/applications/science/chemistry/marvin/default.nix
+++ b/pkgs/applications/science/chemistry/marvin/default.nix
@@ -3,7 +3,6 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "marvin";
version = "19.1.0";
diff --git a/pkgs/applications/science/chemistry/molden/default.nix b/pkgs/applications/science/chemistry/molden/default.nix
index 274afd5fc3d..87dae3b14d9 100644
--- a/pkgs/applications/science/chemistry/molden/default.nix
+++ b/pkgs/applications/science/chemistry/molden/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, which, gfortran, libGLU, xorg } :
stdenv.mkDerivation rec {
- version = "6.1";
- name = "molden-${version}";
+ version = "6.2";
+ pname = "molden";
src = fetchurl {
url = "ftp://ftp.cmbi.ru.nl/pub/molgraph/molden/molden${version}.tar.gz";
- sha256 = "0swbjnqlkwhy8lvjkbx8yklqj4zfphwdg6s3haawxi3dd65ij539";
+ sha256 = "01m5p7v5pz1fi77var50sp1bzlvdckwr6kn4wanvic2jmvgp9q5n";
};
nativeBuildInputs = [ which ];
diff --git a/pkgs/applications/science/chemistry/octopus/default.nix b/pkgs/applications/science/chemistry/octopus/default.nix
index 5fc71c9fc6b..6dec5b3b11f 100644
--- a/pkgs/applications/science/chemistry/octopus/default.nix
+++ b/pkgs/applications/science/chemistry/octopus/default.nix
@@ -1,27 +1,26 @@
-{ stdenv, fetchurl, symlinkJoin, gfortran, perl, procps
-, libyaml, libxc, fftw, openblas, gsl, netcdf, arpack
+{ stdenv, fetchFromGitLab, symlinkJoin, gfortran, perl, procps
+, libyaml, libxc, fftw, openblas, gsl, netcdf, arpack, autoreconfHook
}:
-let
- version = "8.4";
- fftwAll = symlinkJoin { name ="ftw-dev-out"; paths = [ fftw.dev fftw.out ]; };
+stdenv.mkDerivation rec {
+ pname = "octopus";
+ version = "9.1";
-in stdenv.mkDerivation {
- name = "octopus-${version}";
-
- src = fetchurl {
- url = "http://www.tddft.org/programs/octopus/down.php?file=${version}/octopus-${version}.tar.gz";
- sha256 = "1fx5ssnf65b9ld7xs9rvvg8i80pblxpyhqkir0a7xshkk1g60z55";
+ src = fetchFromGitLab {
+ owner = "octopus-code";
+ repo = "octopus";
+ rev = version;
+ sha256 = "1l5fqgllk7rij16q7a3la7qq6isy8a5n37vk400qcscw1v32s90h";
};
- nativeBuildInputs = [ perl procps fftw.dev ];
- buildInputs = [ libyaml gfortran libxc openblas gsl fftw.out netcdf arpack ];
+ nativeBuildInputs = [ perl procps autoreconfHook ];
+ buildInputs = [ libyaml gfortran libxc openblas gsl fftw netcdf arpack ];
configureFlags = [
"--with-yaml-prefix=${libyaml}"
"--with-blas=-lopenblas"
"--with-lapack=-lopenblas"
- "--with-fftw-prefix=${fftwAll}"
+ "--with-fftw-prefix=${fftw.dev}"
"--with-gsl-prefix=${gsl}"
"--with-libxc-prefix=${libxc}"
];
diff --git a/pkgs/applications/science/chemistry/openmolcas/default.nix b/pkgs/applications/science/chemistry/openmolcas/default.nix
index 70e79023c0f..487558a23c1 100644
--- a/pkgs/applications/science/chemistry/openmolcas/default.nix
+++ b/pkgs/applications/science/chemistry/openmolcas/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, pkgs, fetchFromGitLab, cmake, gfortran, perl
+{ stdenv, fetchFromGitLab, cmake, gfortran, perl
, openblas, hdf5-cpp, python3, texlive
, armadillo, openmpi, globalarrays, openssh
, makeWrapper
@@ -11,7 +11,8 @@ let
python = python3.withPackages (ps : with ps; [ six pyparsing ]);
in stdenv.mkDerivation {
- name = "openmolcas-${version}";
+ pname = "openmolcas";
+ inherit version;
src = fetchFromGitLab {
owner = "Molcas";
diff --git a/pkgs/applications/science/chemistry/pymol/default.nix b/pkgs/applications/science/chemistry/pymol/default.nix
index 7b482d82e2f..1fc387fcc66 100644
--- a/pkgs/applications/science/chemistry/pymol/default.nix
+++ b/pkgs/applications/science/chemistry/pymol/default.nix
@@ -13,8 +13,8 @@ let
description = "A Python-enhanced molecular graphics tool";
desktopItem = makeDesktopItem {
- name = "${pname}";
- exec = "${pname}";
+ name = pname;
+ exec = pname;
desktopName = "PyMol Molecular Graphics System";
genericName = "Molecular Modeler";
comment = description;
diff --git a/pkgs/applications/science/chemistry/quantum-espresso/default.nix b/pkgs/applications/science/chemistry/quantum-espresso/default.nix
index 777b3499bed..ea80e9fd5ca 100644
--- a/pkgs/applications/science/chemistry/quantum-espresso/default.nix
+++ b/pkgs/applications/science/chemistry/quantum-espresso/default.nix
@@ -4,12 +4,12 @@
}:
stdenv.mkDerivation rec {
- version = "6.4";
- name = "quantum-espresso-${version}";
+ version = "6.4.1";
+ pname = "quantum-espresso";
src = fetchurl {
url = "https://gitlab.com/QEF/q-e/-/archive/qe-${version}/q-e-qe-${version}.tar.gz";
- sha256 = "1zjblzf0xzwmhmpjm56xvv8wsv5jmp5a204irzyicmd77p86c4vq";
+ sha256 = "027skhp2zzx0f4mh6azqjljdimchak5cdn13v4x7aj5q2zvfkmxh";
};
passthru = {
diff --git a/pkgs/applications/science/chemistry/siesta/default.nix b/pkgs/applications/science/chemistry/siesta/default.nix
index eb17a68b8aa..9d7880f57df 100644
--- a/pkgs/applications/science/chemistry/siesta/default.nix
+++ b/pkgs/applications/science/chemistry/siesta/default.nix
@@ -3,9 +3,9 @@
, mpi ? null, scalapack
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "4.1-b3";
- name = "siesta-${version}";
+ pname = "siesta";
src = fetchurl {
url = "https://launchpad.net/siesta/4.1/4.1-b3/+download/siesta-4.1-b3.tar.gz";
diff --git a/pkgs/applications/science/electronics/adms/default.nix b/pkgs/applications/science/electronics/adms/default.nix
index 236225959f7..8b95e73b891 100644
--- a/pkgs/applications/science/electronics/adms/default.nix
+++ b/pkgs/applications/science/electronics/adms/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "2.3.6";
- name = "adms-${version}";
+ pname = "adms";
src = fetchFromGitHub {
owner = "Qucs";
diff --git a/pkgs/applications/science/electronics/alliance/default.nix b/pkgs/applications/science/electronics/alliance/default.nix
index 63bc0911d25..c863fe6aea8 100644
--- a/pkgs/applications/science/electronics/alliance/default.nix
+++ b/pkgs/applications/science/electronics/alliance/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "alliance-${version}";
+ pname = "alliance";
version = "5.1.1";
src = fetchurl {
- url = "http://www-asim.lip6.fr/pub/alliance/distribution/5.0/${name}.tar.bz2";
+ url = "http://www-asim.lip6.fr/pub/alliance/distribution/5.0/${pname}-${version}.tar.bz2";
sha256 = "046c9qwl1vbww0ljm4xyxf5jpz9nq62b2q0wdz9xjimgh4c207w1";
};
@@ -20,7 +20,6 @@ stdenv.mkDerivation rec {
configureFlags = [
"--prefix=$(out)"
- "--disable-static"
];
preConfigure = ''
diff --git a/pkgs/applications/science/electronics/bitscope/common.nix b/pkgs/applications/science/electronics/bitscope/common.nix
index 64777b5a0ac..9101f1fdbe5 100644
--- a/pkgs/applications/science/electronics/bitscope/common.nix
+++ b/pkgs/applications/science/electronics/bitscope/common.nix
@@ -2,7 +2,7 @@
, buildFHSUserEnv
, cairo
, dpkg
-, gdk_pixbuf
+, gdk-pixbuf
, glib
, gtk2-x11
, makeWrapper
@@ -39,7 +39,7 @@ let
libs = attrs.libs or [
atk
cairo
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk2-x11
pango
diff --git a/pkgs/applications/science/electronics/bitscope/packages.nix b/pkgs/applications/science/electronics/bitscope/packages.nix
index 58e01f4f9f4..11e1ed524ed 100644
--- a/pkgs/applications/science/electronics/bitscope/packages.nix
+++ b/pkgs/applications/science/electronics/bitscope/packages.nix
@@ -110,7 +110,7 @@ in {
proto = let
toolName = "bitscope-proto";
version = "0.9.FG13B";
- in mkBitscope rec {
+ in mkBitscope {
inherit toolName version;
# NOTE: this is meant as a demo by BitScope
# NOTE: clicking on logo produces error
diff --git a/pkgs/applications/science/electronics/caneda/default.nix b/pkgs/applications/science/electronics/caneda/default.nix
index 8f81a03044b..ff41a498ae7 100644
--- a/pkgs/applications/science/electronics/caneda/default.nix
+++ b/pkgs/applications/science/electronics/caneda/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qwt }:
stdenv.mkDerivation rec {
- name = "caneda-${version}";
+ pname = "caneda";
version = "0.3.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/electronics/dsview/default.nix b/pkgs/applications/science/electronics/dsview/default.nix
index be32f33a365..d188365db1d 100644
--- a/pkgs/applications/science/electronics/dsview/default.nix
+++ b/pkgs/applications/science/electronics/dsview/default.nix
@@ -1,10 +1,10 @@
-{ stdenv, fetchFromGitHub, pkgconfig, cmake, autoreconfHook,
-glib, libzip, boost, fftw, qtbase,
-libusb, makeWrapper, libsigrok4dsl, libsigrokdecode4dsl
+{ stdenv, fetchFromGitHub, pkgconfig, cmake,
+libzip, boost, fftw, qtbase,
+libusb, wrapQtAppsHook, libsigrok4dsl, libsigrokdecode4dsl
}:
stdenv.mkDerivation rec {
- name = "dsview-${version}";
+ pname = "dsview";
version = "0.99";
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
./install.patch
];
- nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
+ nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [
boost fftw qtbase libusb libzip libsigrokdecode4dsl libsigrok4dsl
@@ -32,11 +32,6 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- postFixup = ''
- wrapProgram $out/bin/DSView --suffix QT_PLUGIN_PATH : \
- ${qtbase.bin}/${qtbase.qtPluginPrefix}
- '';
-
meta = with stdenv.lib; {
description = "A GUI program for supporting various instruments from DreamSourceLab, including logic analyzer, oscilloscope, etc";
homepage = https://www.dreamsourcelab.com/;
diff --git a/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix b/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix
index c42b70c041a..c2cfc69c50c 100644
--- a/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix
+++ b/pkgs/applications/science/electronics/dsview/libsigrok4dsl.nix
@@ -3,10 +3,10 @@ glib, libzip, libserialport, check, libusb, libftdi,
systemd, alsaLib, dsview
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit (dsview) version src;
- name = "libsigrok4dsl-${version}";
+ pname = "libsigrok4dsl";
postUnpack = ''
export sourceRoot=$sourceRoot/libsigrok4DSL
diff --git a/pkgs/applications/science/electronics/dsview/libsigrokdecode4dsl.nix b/pkgs/applications/science/electronics/dsview/libsigrokdecode4dsl.nix
index 214f7766343..b7fe5140864 100644
--- a/pkgs/applications/science/electronics/dsview/libsigrokdecode4dsl.nix
+++ b/pkgs/applications/science/electronics/dsview/libsigrokdecode4dsl.nix
@@ -2,10 +2,10 @@
glib, check, python3, dsview
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit (dsview) version src;
- name = "libsigrokdecode4dsl-${version}";
+ pname = "libsigrokdecode4dsl";
postUnpack = ''
export sourceRoot=$sourceRoot/libsigrokdecode4DSL
diff --git a/pkgs/applications/science/electronics/eagle/eagle.nix b/pkgs/applications/science/electronics/eagle/eagle.nix
index 286dbc07f3d..2b28f2c06db 100644
--- a/pkgs/applications/science/electronics/eagle/eagle.nix
+++ b/pkgs/applications/science/electronics/eagle/eagle.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, makeDesktopItem, patchelf
+{ stdenv, fetchurl, makeDesktopItem
, libXrender, libXrandr, libXcursor, libX11, libXext, libXi, libxcb
-, cups , libGL, glib, nss, nspr, expat, alsaLib
+ , libGL, glib, nss, nspr, expat, alsaLib
, qtbase, qtdeclarative, qtsvg, qtlocation, qtwebchannel, qtwebengine
}:
@@ -12,12 +12,12 @@ let
];
in
stdenv.mkDerivation rec {
- name = "eagle-${version}";
- version = "9.3.2";
+ pname = "eagle";
+ version = "9.4.2";
src = fetchurl {
url = "https://eagle-updates.circuits.io/downloads/${builtins.replaceStrings ["."] ["_"] version}/Autodesk_EAGLE_${version}_English_Linux_64bit.tar.gz";
- sha256 = "0xrrd2d86gxrkbqvssbg8zki40hk05h48w73b0hv7wnc7wg1msir";
+ sha256 = "0lrwrvqcb91mcggmicvwjrngccsdy0f06l7a8nfgp9ckn4d9vmg2";
};
desktopItem = makeDesktopItem {
@@ -36,9 +36,6 @@ let
qtbase qtdeclarative qtsvg qtlocation qtwebchannel qtwebengine
];
- doConfigure = false;
- doBuild = false;
-
installPhase = ''
# Extract eagle tarball
mkdir "$out"
diff --git a/pkgs/applications/science/electronics/eagle/eagle7.nix b/pkgs/applications/science/electronics/eagle/eagle7.nix
index 69b111562ab..a9528b05a31 100644
--- a/pkgs/applications/science/electronics/eagle/eagle7.nix
+++ b/pkgs/applications/science/electronics/eagle/eagle7.nix
@@ -13,7 +13,7 @@ let
in
stdenv.mkDerivation rec {
- name = "eagle-${version}";
+ pname = "eagle";
version = "7.7.0";
src =
diff --git a/pkgs/applications/science/electronics/fped/default.nix b/pkgs/applications/science/electronics/fped/default.nix
index e6e7219ff87..4eb666ada7c 100644
--- a/pkgs/applications/science/electronics/fped/default.nix
+++ b/pkgs/applications/science/electronics/fped/default.nix
@@ -4,8 +4,8 @@
}:
with lib;
-stdenv.mkDerivation rec {
- name = "fped-${version}";
+stdenv.mkDerivation {
+ pname = "fped";
version = "unstable-2017-05-11";
src = fetchgit {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
# This uses '/bin/bash', '/usr/local' and 'lex' by default
makeFlags = [
- "PREFIX=${placeholder ''out''}"
+ "PREFIX=${placeholder "out"}"
"LEX=flex"
"RGBDEF=${netpbm}/share/netpbm/misc/rgb.txt"
];
diff --git a/pkgs/applications/science/electronics/fritzing/default.nix b/pkgs/applications/science/electronics/fritzing/default.nix
index ab508854310..127e9c05624 100644
--- a/pkgs/applications/science/electronics/fritzing/default.nix
+++ b/pkgs/applications/science/electronics/fritzing/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "fritzing-${version}";
+ pname = "fritzing";
version = "0.9.3b";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/electronics/geda/default.nix b/pkgs/applications/science/electronics/geda/default.nix
index 93fe7b6ba77..1aaa5496ff3 100644
--- a/pkgs/applications/science/electronics/geda/default.nix
+++ b/pkgs/applications/science/electronics/geda/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, guile, gtk2, flex, gawk, perl }:
-stdenv.mkDerivation rec {
- name = "geda-${version}";
+stdenv.mkDerivation {
+ pname = "geda";
version = "1.8.2-20130925";
src = fetchurl {
diff --git a/pkgs/applications/science/electronics/gerbv/default.nix b/pkgs/applications/science/electronics/gerbv/default.nix
index c0821c8a9ab..fa5bdbbebdb 100644
--- a/pkgs/applications/science/electronics/gerbv/default.nix
+++ b/pkgs/applications/science/electronics/gerbv/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, pkgconfig, gettext, libtool, automake, autoconf, cairo, gtk2, autoreconfHook }:
-stdenv.mkDerivation rec {
- name = "gerbv-${version}";
+stdenv.mkDerivation {
+ pname = "gerbv";
version = "2015-10-08";
src = fetchgit {
diff --git a/pkgs/applications/science/electronics/gtkwave/default.nix b/pkgs/applications/science/electronics/gtkwave/default.nix
index e4c743ccdef..8dffe580cc6 100644
--- a/pkgs/applications/science/electronics/gtkwave/default.nix
+++ b/pkgs/applications/science/electronics/gtkwave/default.nix
@@ -1,12 +1,12 @@
{stdenv, fetchurl, gtk2, gperf, pkgconfig, bzip2, tcl, tk, judy, xz}:
stdenv.mkDerivation rec {
- name = "gtkwave-${version}";
- version = "3.3.100";
+ pname = "gtkwave";
+ version = "3.3.101";
src = fetchurl {
- url = "mirror://sourceforge/gtkwave/${name}.tar.gz";
- sha256 = "1z60i5nh8dz8j9ii63fwaw7k0p3x0scp91478cxmdv4xhp4njlxa";
+ url = "mirror://sourceforge/gtkwave/${pname}-${version}.tar.gz";
+ sha256 = "1j6capxwgi8aj3sgqg1r7161icni9y8y93g1rl3bzd3s40jcyhsz";
};
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/science/electronics/kicad/default.nix b/pkgs/applications/science/electronics/kicad/default.nix
index 6608661364a..3d169f50104 100644
--- a/pkgs/applications/science/electronics/kicad/default.nix
+++ b/pkgs/applications/science/electronics/kicad/default.nix
@@ -17,7 +17,7 @@ let
src = fetchFromGitHub {
owner = "KiCad";
repo = "kicad-${name}";
- rev = "${version}";
+ rev = version;
inherit sha256 name;
};
nativeBuildInputs = [
@@ -26,7 +26,7 @@ let
} // attrs);
in stdenv.mkDerivation rec {
- name = "kicad-${version}";
+ pname = "kicad";
series = "5.0";
version = "5.1.2";
diff --git a/pkgs/applications/science/electronics/kicad/unstable.nix b/pkgs/applications/science/electronics/kicad/unstable.nix
index a9a4c32a0b4..7475170d6a7 100644
--- a/pkgs/applications/science/electronics/kicad/unstable.nix
+++ b/pkgs/applications/science/electronics/kicad/unstable.nix
@@ -11,7 +11,7 @@ assert ngspiceSupport -> libngspice != null;
with lib;
stdenv.mkDerivation rec {
- name = "kicad-unstable-${version}";
+ pname = "kicad-unstable";
version = "2018-06-12";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/electronics/librepcb/default.nix b/pkgs/applications/science/electronics/librepcb/default.nix
index 277574ce2f1..fb931ec9162 100644
--- a/pkgs/applications/science/electronics/librepcb/default.nix
+++ b/pkgs/applications/science/electronics/librepcb/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, qtbase, qttools, qmake }:
-stdenv.mkDerivation rec {
- name = "librepcb-${version}";
+stdenv.mkDerivation {
+ pname = "librepcb";
version = "0.1.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/electronics/ngspice/default.nix b/pkgs/applications/science/electronics/ngspice/default.nix
index 194804a21a6..78240a40bac 100644
--- a/pkgs/applications/science/electronics/ngspice/default.nix
+++ b/pkgs/applications/science/electronics/ngspice/default.nix
@@ -2,7 +2,7 @@
, readline, libX11, libICE, libXaw, libXmu, libXext, libXt, fftw }:
stdenv.mkDerivation rec {
- name = "ngspice-${version}";
+ pname = "ngspice";
version = "30";
src = fetchurl {
diff --git a/pkgs/applications/science/electronics/pcb/default.nix b/pkgs/applications/science/electronics/pcb/default.nix
index b9bbcd695f1..7514aed9f24 100644
--- a/pkgs/applications/science/electronics/pcb/default.nix
+++ b/pkgs/applications/science/electronics/pcb/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "pcb-${version}";
+ pname = "pcb";
version = "20140316";
src = fetchurl {
- url = "http://ftp.geda-project.org/pcb/pcb-20140316/${name}.tar.gz";
+ url = "http://ftp.geda-project.org/pcb/pcb-20140316/${pname}-${version}.tar.gz";
sha256 = "0l6944hq79qsyp60i5ai02xwyp8l47q7xdm3js0jfkpf72ag7i42";
};
diff --git a/pkgs/applications/science/electronics/pulseview/default.nix b/pkgs/applications/science/electronics/pulseview/default.nix
index 4e86d1d917f..ae9afd95518 100644
--- a/pkgs/applications/science/electronics/pulseview/default.nix
+++ b/pkgs/applications/science/electronics/pulseview/default.nix
@@ -1,30 +1,30 @@
-{ stdenv, fetchurl, pkgconfig, cmake, glib, boost, libsigrok
+{ mkDerivation, lib, fetchurl, pkgconfig, cmake, glib, boost, libsigrok
, libsigrokdecode, libserialport, libzip, udev, libusb1, libftdi1, glibmm
, pcre, librevisa, python3, qtbase, qtsvg
}:
-stdenv.mkDerivation rec {
- name = "pulseview-0.4.0";
+mkDerivation rec {
+ pname = "pulseview";
+ version = "0.4.1";
src = fetchurl {
- url = "https://sigrok.org/download/source/pulseview/${name}.tar.gz";
- sha256 = "1f8f2342d5yam98mmcb8f9g2vslcwv486bmi4x45pxn68l82ky3q";
+ url = "https://sigrok.org/download/source/pulseview/${pname}-${version}.tar.gz";
+ sha256 = "0bvgmkgz37n2bi9niskpl05hf7rsj1lj972fbrgnlz25s4ywxrwy";
};
nativeBuildInputs = [ cmake pkgconfig ];
buildInputs = [
glib boost libsigrok libsigrokdecode libserialport libzip udev libusb1 libftdi1 glibmm
- pcre librevisa python3 qtbase qtsvg
+ pcre librevisa python3
+ qtbase qtsvg
];
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Qt-based LA/scope/MSO GUI for sigrok (a signal analysis software suite)";
homepage = https://sigrok.org/;
license = licenses.gpl3Plus;
+ maintainers = with maintainers; [ bjornfor ];
platforms = platforms.linux;
- maintainers = [ maintainers.bjornfor ];
};
}
diff --git a/pkgs/applications/science/electronics/qucs/default.nix b/pkgs/applications/science/electronics/qucs/default.nix
index 1a5fbf90d10..1bfe6df5ff5 100644
--- a/pkgs/applications/science/electronics/qucs/default.nix
+++ b/pkgs/applications/science/electronics/qucs/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.0.19";
- name = "qucs-${version}";
+ pname = "qucs";
src = fetchFromGitHub {
owner = "Qucs";
diff --git a/pkgs/applications/science/electronics/verilator/default.nix b/pkgs/applications/science/electronics/verilator/default.nix
index 36a504e86fa..9a989919250 100644
--- a/pkgs/applications/science/electronics/verilator/default.nix
+++ b/pkgs/applications/science/electronics/verilator/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, perl, flex, bison }:
stdenv.mkDerivation rec {
- name = "verilator-${version}";
- version = "4.014";
+ pname = "verilator";
+ version = "4.016";
src = fetchurl {
- url = "https://www.veripool.org/ftp/${name}.tgz";
- sha256 = "1srk9a03hbq8rdp4mma817aiq61c2hbrs66qv25zj3dfnfqigxgd";
+ url = "https://www.veripool.org/ftp/${pname}-${version}.tgz";
+ sha256 = "18fqm6pgscy504ql27i150fdsd2j91hw5qsnpymws3pvqj2qz2ij";
};
enableParallelBuilding = true;
diff --git a/pkgs/applications/science/electronics/verilog/default.nix b/pkgs/applications/science/electronics/verilog/default.nix
index 83352df18e6..f850a1bf94d 100644
--- a/pkgs/applications/science/electronics/verilog/default.nix
+++ b/pkgs/applications/science/electronics/verilog/default.nix
@@ -1,31 +1,40 @@
-{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison }:
+{ stdenv, fetchFromGitHub, autoconf, gperf, flex, bison, readline, ncurses
+, bzip2, zlib
+}:
stdenv.mkDerivation rec {
- name = "iverilog-${version}";
- version = "2019.03.27";
+ pname = "iverilog";
+ version = "unstable-2019-08-01";
src = fetchFromGitHub {
owner = "steveicarus";
- repo = "iverilog";
- rev = "a9388a895eb85a9d7f2924b89f839f94e1b6d7c4";
- sha256 = "01d48sy3pzg9x1xpczqrsii2ckrvgnrfj720wiz22jdn90nirhhr";
+ repo = pname;
+ rev = "c383d2048c0bd15f5db083f14736400546fb6215";
+ sha256 = "1zs0gyhws0qa315magz3w5m45v97knczdgbf2zn4d7bdb7cv417c";
};
enableParallelBuilding = true;
- patchPhase = ''
+ prePatch = ''
+ substituteInPlace configure.in \
+ --replace "AC_CHECK_LIB(termcap, tputs)" "AC_CHECK_LIB(termcap, tputs)"
+ '';
+
+ preConfigure = ''
chmod +x $PWD/autoconf.sh
$PWD/autoconf.sh
'';
- buildInputs = [ autoconf gperf flex bison ];
+ nativeBuildInputs = [ autoconf gperf flex bison ];
- meta = {
+ buildInputs = [ readline ncurses bzip2 zlib ];
+
+ meta = with stdenv.lib; {
description = "Icarus Verilog compiler";
repositories.git = https://github.com/steveicarus/iverilog.git;
- homepage = http://www.icarus.com;
- license = stdenv.lib.licenses.gpl2Plus;
- maintainers = with stdenv.lib.maintainers; [winden];
- platforms = with stdenv.lib.platforms; linux;
+ homepage = "http://iverilog.icarus.com/";
+ license = licenses.lgpl21;
+ maintainers = with maintainers; [ winden ];
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/science/geometry/drgeo/default.nix b/pkgs/applications/science/geometry/drgeo/default.nix
index e233b91bbc9..e8ae4d01a6d 100644
--- a/pkgs/applications/science/geometry/drgeo/default.nix
+++ b/pkgs/applications/science/geometry/drgeo/default.nix
@@ -2,13 +2,13 @@
, intltool, libtool, pkgconfig }:
stdenv.mkDerivation rec {
- name = "drgeo-${version}";
+ pname = "drgeo";
version = "1.1.0";
hardeningDisable = [ "format" ];
src = fetchurl {
- url = "mirror://sourceforge/ofset/${name}.tar.gz";
+ url = "mirror://sourceforge/ofset/${pname}-${version}.tar.gz";
sha256 = "05i2czgzhpzi80xxghinvkyqx4ym0gm9f38fz53idjhigiivp4wc";
};
patches = [ ./struct.patch ];
diff --git a/pkgs/applications/science/geometry/tetgen/default.nix b/pkgs/applications/science/geometry/tetgen/default.nix
index b655cc48c73..7be0103304a 100644
--- a/pkgs/applications/science/geometry/tetgen/default.nix
+++ b/pkgs/applications/science/geometry/tetgen/default.nix
@@ -2,7 +2,8 @@
let version = "1.5.0"; in
stdenv.mkDerivation {
- name = "tetgen-${version}";
+ pname = "tetgen";
+ inherit version;
src = fetchurl {
url = "http://wias-berlin.de/software/tetgen/1.5/src/tetgen${version}.tar.gz";
diff --git a/pkgs/applications/science/logic/abc/default.nix b/pkgs/applications/science/logic/abc/default.nix
index 6e7a3cfc88a..c832d12627a 100644
--- a/pkgs/applications/science/logic/abc/default.nix
+++ b/pkgs/applications/science/logic/abc/default.nix
@@ -1,7 +1,7 @@
{ fetchFromGitHub, stdenv, readline, cmake }:
-stdenv.mkDerivation rec {
- name = "abc-verifier-${version}";
+stdenv.mkDerivation {
+ pname = "abc-verifier";
version = "2018-07-08";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/abella/default.nix b/pkgs/applications/science/logic/abella/default.nix
index bc23454edfc..7078fd454a0 100644
--- a/pkgs/applications/science/logic/abella/default.nix
+++ b/pkgs/applications/science/logic/abella/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, rsync, ocamlPackages }:
stdenv.mkDerivation rec {
- name = "abella-${version}";
+ pname = "abella";
version = "2.0.6";
src = fetchurl {
- url = "http://abella-prover.org/distributions/${name}.tar.gz";
+ url = "http://abella-prover.org/distributions/${pname}-${version}.tar.gz";
sha256 = "164q9gngckg6q69k13lwx2pq3cnc9ckw1qi8dnpxqfjgwfqr7xyi";
};
diff --git a/pkgs/applications/science/logic/aiger/default.nix b/pkgs/applications/science/logic/aiger/default.nix
index 03524fc6b22..10d94e2bb8c 100644
--- a/pkgs/applications/science/logic/aiger/default.nix
+++ b/pkgs/applications/science/logic/aiger/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, picosat }:
stdenv.mkDerivation rec {
- name = "aiger-${version}";
+ pname = "aiger";
version = "1.9.9";
src = fetchurl {
- url = "http://fmv.jku.at/aiger/${name}.tar.gz";
+ url = "http://fmv.jku.at/aiger/${pname}-${version}.tar.gz";
sha256 = "1ish0dw0nf9gyghxsdhpy1jjiy5wp54c993swp85xp7m6vdx6l0y";
};
diff --git a/pkgs/applications/science/logic/alt-ergo/default.nix b/pkgs/applications/science/logic/alt-ergo/default.nix
index 234b7474997..f83480cfbaf 100644
--- a/pkgs/applications/science/logic/alt-ergo/default.nix
+++ b/pkgs/applications/science/logic/alt-ergo/default.nix
@@ -1,12 +1,12 @@
{ fetchurl, stdenv, which, dune, ocamlPackages }:
stdenv.mkDerivation rec {
- name = "alt-ergo-${version}";
+ pname = "alt-ergo";
version = "2.3.0";
src = fetchurl {
- url = "https://alt-ergo.ocamlpro.com/download_manager.php?target=${name}.tar.gz";
- name = "${name}.tar.gz";
+ url = "https://alt-ergo.ocamlpro.com/download_manager.php?target=${pname}-${version}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
sha256 = "1ycr3ff0gacq1aqzs16n6swgfniwpim0m7rvhcam64kj0a80c6bz";
};
diff --git a/pkgs/applications/science/logic/aspino/default.nix b/pkgs/applications/science/logic/aspino/default.nix
index bf8d3cf03b8..d6190942efa 100644
--- a/pkgs/applications/science/logic/aspino/default.nix
+++ b/pkgs/applications/science/logic/aspino/default.nix
@@ -7,7 +7,7 @@ let
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "aspino-unstable-2017-03-09";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/avy/default.nix b/pkgs/applications/science/logic/avy/default.nix
index 6c2d2f0a062..9b59828ddab 100644
--- a/pkgs/applications/science/logic/avy/default.nix
+++ b/pkgs/applications/science/logic/avy/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, cmake, zlib, boost }:
-stdenv.mkDerivation rec {
- name = "avy-${version}";
+stdenv.mkDerivation {
+ pname = "avy";
version = "2017.10.16";
src = fetchgit {
diff --git a/pkgs/applications/science/logic/boolector/default.nix b/pkgs/applications/science/logic/boolector/default.nix
index 8e0ad22bba1..f1f74bcb581 100644
--- a/pkgs/applications/science/logic/boolector/default.nix
+++ b/pkgs/applications/science/logic/boolector/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "boolector-${version}";
+ pname = "boolector";
version = "3.0.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/btor2tools/default.nix b/pkgs/applications/science/logic/btor2tools/default.nix
index ed3d9e63812..2d00e9f3046 100644
--- a/pkgs/applications/science/logic/btor2tools/default.nix
+++ b/pkgs/applications/science/logic/btor2tools/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
- name = "btor2tools-${version}";
+stdenv.mkDerivation {
+ pname = "btor2tools";
version = "pre55_8c150b39";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/clprover/clprover.nix b/pkgs/applications/science/logic/clprover/clprover.nix
index b6ebce68193..0319069660e 100644
--- a/pkgs/applications/science/logic/clprover/clprover.nix
+++ b/pkgs/applications/science/logic/clprover/clprover.nix
@@ -1,7 +1,7 @@
-{ stdenv, pkgs, fetchzip }:
+{ stdenv, fetchzip }:
-stdenv.mkDerivation rec {
- name = "clprover-${version}";
+stdenv.mkDerivation {
+ pname = "clprover";
version = "1.0.3";
src = fetchzip {
diff --git a/pkgs/applications/science/logic/coq/default.nix b/pkgs/applications/science/logic/coq/default.nix
index 7427875895f..99e9d856a71 100644
--- a/pkgs/applications/science/logic/coq/default.nix
+++ b/pkgs/applications/science/logic/coq/default.nix
@@ -27,8 +27,9 @@ let
"8.8.1" = "1hlf58gwazywbmfa48219amid38vqdl94yz21i11b4map6jfwhbk";
"8.8.2" = "1lip3xja924dm6qblisk1bk0x8ai24s5xxqxphbdxj6djglj68fd";
"8.9.0" = "1dkgdjc4n1m15m1p724hhi5cyxpqbjw6rxc5na6fl3v4qjjfnizh";
- "8.10+beta1" = "19wf39i0ap2vakglgdlqxpjd3l1h5w7dp460w8y7nc1y06b2153h";
- }."${version}";
+ "8.9.1" = "1xrq6mkhpq994bncmnijf8jwmwn961kkpl4mwwlv7j3dgnysrcv2";
+ "8.10+beta3" = "08c7q97jyblsf7dhk8jf1fx1cp9qr3dr5s42wigx10wh7i6j7pca";
+ }.${version};
coq-version = stdenv.lib.versions.majorMinor version;
versionAtLeast = stdenv.lib.versionAtLeast coq-version;
ideFlags = stdenv.lib.optionalString (buildIde && !versionAtLeast "8.10")
@@ -38,7 +39,8 @@ let
substituteInPlace plugins/micromega/coq_micromega.ml --replace "System.is_in_system_path \"csdp\"" "true"
'' else "";
self = stdenv.mkDerivation {
- name = "coq-${version}";
+ pname = "coq";
+ inherit version;
passthru = {
inherit coq-version;
diff --git a/pkgs/applications/science/logic/coq2html/default.nix b/pkgs/applications/science/logic/coq2html/default.nix
index d76462ca938..bebf81b030d 100644
--- a/pkgs/applications/science/logic/coq2html/default.nix
+++ b/pkgs/applications/science/logic/coq2html/default.nix
@@ -5,7 +5,8 @@ let
in
stdenv.mkDerivation {
- name = "coq2html-${version}";
+ pname = "coq2html";
+ inherit version;
src = fetchgit {
url = "https://github.com/xavierleroy/coq2html";
diff --git a/pkgs/applications/science/logic/cryptominisat/default.nix b/pkgs/applications/science/logic/cryptominisat/default.nix
index c6b7b918eac..b4c4cb7c047 100644
--- a/pkgs/applications/science/logic/cryptominisat/default.nix
+++ b/pkgs/applications/science/logic/cryptominisat/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, python3, xxd, boost }:
+{ stdenv, fetchFromGitHub, cmake, python3, xxd, boost }:
stdenv.mkDerivation rec {
- name = "cryptominisat-${version}";
+ pname = "cryptominisat";
version = "5.6.8";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/cryptoverif/default.nix b/pkgs/applications/science/logic/cryptoverif/default.nix
index 1b7b54e2ccb..6877060d36d 100644
--- a/pkgs/applications/science/logic/cryptoverif/default.nix
+++ b/pkgs/applications/science/logic/cryptoverif/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, ocaml }:
stdenv.mkDerivation rec {
- name = "cryptoverif-${version}";
- version = "2.00";
+ pname = "cryptoverif";
+ version = "2.01pl1";
src = fetchurl {
url = "http://prosecco.gforge.inria.fr/personal/bblanche/cryptoverif/cryptoverif${version}.tar.gz";
- sha256 = "0g8pkj58b48zk4c0sgpln0qhbj82v75mz3w6cl3w5bvmxsbkwvy1";
+ sha256 = "1bkmrv3wsy8mwhrxd3z3br9zgv37c2w6443rm4s9jl0aphcgnbiw";
};
buildInputs = [ ocaml ];
diff --git a/pkgs/applications/science/logic/cubicle/default.nix b/pkgs/applications/science/logic/cubicle/default.nix
index 91eaaeeb0e4..cd41e1ca64b 100644
--- a/pkgs/applications/science/logic/cubicle/default.nix
+++ b/pkgs/applications/science/logic/cubicle/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
- name = "cubicle-${version}";
+ pname = "cubicle";
version = "1.1.2";
src = fetchurl {
url = "http://cubicle.lri.fr/cubicle-${version}.tar.gz";
diff --git a/pkgs/applications/science/logic/cvc3/default.nix b/pkgs/applications/science/logic/cvc3/default.nix
index 703ce6fd508..dfb04ad90e9 100644
--- a/pkgs/applications/science/logic/cvc3/default.nix
+++ b/pkgs/applications/science/logic/cvc3/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, flex, bison, gmp, perl }:
stdenv.mkDerivation rec {
- name = "cvc3-${version}";
+ pname = "cvc3";
version = "2.4.1";
src = fetchurl {
- url = "http://www.cs.nyu.edu/acsys/cvc3/releases/${version}/${name}.tar.gz";
+ url = "http://www.cs.nyu.edu/acsys/cvc3/releases/${version}/${pname}-${version}.tar.gz";
sha256 = "1xxcwhz3y6djrycw8sm6xz83wb4hb12rd1n0skvc7fng0rh1snym";
};
diff --git a/pkgs/applications/science/logic/cvc4/default.nix b/pkgs/applications/science/logic/cvc4/default.nix
index cddcbef7a03..c0c7a53ebd4 100644
--- a/pkgs/applications/science/logic/cvc4/default.nix
+++ b/pkgs/applications/science/logic/cvc4/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "cvc4-${version}";
+ pname = "cvc4";
version = "1.6";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/drat-trim/default.nix b/pkgs/applications/science/logic/drat-trim/default.nix
index 50454847baf..4c4ea0f14ce 100644
--- a/pkgs/applications/science/logic/drat-trim/default.nix
+++ b/pkgs/applications/science/logic/drat-trim/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "drat-trim-2017-08-31";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/elan/default.nix b/pkgs/applications/science/logic/elan/default.nix
index eddc4b9b208..f9a911d8210 100644
--- a/pkgs/applications/science/logic/elan/default.nix
+++ b/pkgs/applications/science/logic/elan/default.nix
@@ -1,10 +1,10 @@
{ stdenv, pkgconfig, curl, openssl, zlib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
- name = "elan-${version}";
+ pname = "elan";
version = "0.7.5";
- cargoSha256 = "0vv7kr7rc3lvas7ngp5dp99ajjd5v8k5937ish7zqz1k4970q2f1";
+ cargoSha256 = "0lc320m3vw76d6pa5wp6c9jblac6lmyf9qqnxmsnkn4ixdhnghsd";
src = fetchFromGitHub {
owner = "kha";
diff --git a/pkgs/applications/science/logic/eprover/default.nix b/pkgs/applications/science/logic/eprover/default.nix
index dab509706a8..1f6fced2233 100644
--- a/pkgs/applications/science/logic/eprover/default.nix
+++ b/pkgs/applications/science/logic/eprover/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, which }:
stdenv.mkDerivation rec {
- name = "eprover-${version}";
+ pname = "eprover";
version = "2.3";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/fast-downward/default.nix b/pkgs/applications/science/logic/fast-downward/default.nix
new file mode 100644
index 00000000000..ed757e444b7
--- /dev/null
+++ b/pkgs/applications/science/logic/fast-downward/default.nix
@@ -0,0 +1,55 @@
+{ stdenv, lib, fetchhg, cmake, which, python3, osi, cplex }:
+
+stdenv.mkDerivation {
+ name = "fast-downward-2019-05-13";
+
+ src = fetchhg {
+ url = "http://hg.fast-downward.org/";
+ rev = "090f5df5d84a";
+ sha256 = "14pcjz0jfzx5269axg66iq8js7lm2w3cnqrrhhwmz833prjp945g";
+ };
+
+ nativeBuildInputs = [ cmake which ];
+ buildInputs = [ python3 python3.pkgs.wrapPython osi ];
+
+ cmakeFlags =
+ lib.optional osi.withCplex [ "-DDOWNWARD_CPLEX_ROOT=${cplex}/cplex" ];
+
+ enableParallelBuilding = true;
+
+ postPatch = ''
+ cd src
+ # Needed because the package tries to be too smart.
+ export CC="$(which $CC)"
+ export CXX="$(which $CXX)"
+ '';
+
+ installPhase = ''
+ install -Dm755 bin/downward $out/libexec/fast-downward/downward
+ cp -r ../translate $out/libexec/fast-downward/
+ install -Dm755 ../../fast-downward.py $out/bin/fast-downward
+ mkdir -p $out/${python3.sitePackages}
+ cp -r ../../driver $out/${python3.sitePackages}
+
+ wrapPythonProgramsIn $out/bin "$out $pythonPath"
+ wrapPythonProgramsIn $out/libexec/fast-downward/translate "$out $pythonPath"
+ # Because fast-downward calls `python translate.py` we need to return wrapped scripts back.
+ for i in $out/libexec/fast-downward/translate/.*-wrapped; do
+ name="$(basename "$i")"
+ name1="''${name#.}"
+ name2="''${name1%-wrapped}"
+ dir="$(dirname "$i")"
+ dest="$dir/$name2"
+ echo "Moving $i to $dest"
+ mv "$i" "$dest"
+ done
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A domain-independent planning system";
+ homepage = "http://www.fast-downward.org/";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ abbradar ];
+ };
+}
diff --git a/pkgs/applications/science/logic/gappa/default.nix b/pkgs/applications/science/logic/gappa/default.nix
index 71114d2f9e1..7522eb4790e 100644
--- a/pkgs/applications/science/logic/gappa/default.nix
+++ b/pkgs/applications/science/logic/gappa/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, gmp, mpfr, boost }:
stdenv.mkDerivation {
- name = "gappa-1.2";
+ name = "gappa-1.3.5";
src = fetchurl {
- url = https://gforge.inria.fr/frs/download.php/file/34787/gappa-1.2.0.tar.gz;
- sha256 = "03hfzmaf5jm54sjpbks20q7qixpmagrfbnyyc276vgmiyslk4dkh";
+ url = https://gforge.inria.fr/frs/download.php/file/38044/gappa-1.3.5.tar.gz;
+ sha256 = "0q1wdiwqj6fsbifaayb1zkp20bz8a1my81sqjsail577jmzwi07w";
};
buildInputs = [ gmp mpfr boost.dev ];
diff --git a/pkgs/applications/science/logic/glucose/default.nix b/pkgs/applications/science/logic/glucose/default.nix
index bc8d372ce42..0a8fad484da 100644
--- a/pkgs/applications/science/logic/glucose/default.nix
+++ b/pkgs/applications/science/logic/glucose/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
- name = "glucose-${version}";
+ pname = "glucose";
version = "4.1";
src = fetchurl {
@@ -14,8 +14,8 @@ stdenv.mkDerivation rec {
makeFlags = [ "r" ];
installPhase = ''
install -Dm0755 glucose_release $out/bin/glucose
- mkdir -p "$out/share/doc/${name}/"
- install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${name}/"
+ mkdir -p "$out/share/doc/${pname}-${version}/"
+ install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${pname}-${version}/"
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/science/logic/glucose/syrup.nix b/pkgs/applications/science/logic/glucose/syrup.nix
index 30af3216737..816f8504a52 100644
--- a/pkgs/applications/science/logic/glucose/syrup.nix
+++ b/pkgs/applications/science/logic/glucose/syrup.nix
@@ -1,6 +1,6 @@
{ stdenv, zlib, glucose }:
stdenv.mkDerivation rec {
- name = "glucose-syrup-${version}";
+ pname = "glucose-syrup";
version = glucose.version;
src = glucose.src;
@@ -11,8 +11,8 @@ stdenv.mkDerivation rec {
makeFlags = [ "r" ];
installPhase = ''
install -Dm0755 glucose-syrup_release $out/bin/glucose-syrup
- mkdir -p "$out/share/doc/${name}/"
- install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${name}/"
+ mkdir -p "$out/share/doc/${pname}-${version}/"
+ install -Dm0755 ../{LICEN?E,README*,Changelog*} "$out/share/doc/${pname}-${version}/"
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/science/logic/iprover/default.nix b/pkgs/applications/science/logic/iprover/default.nix
index 46b29e3dd27..85fe52239ad 100644
--- a/pkgs/applications/science/logic/iprover/default.nix
+++ b/pkgs/applications/science/logic/iprover/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ocaml, eprover, zlib }:
stdenv.mkDerivation rec {
- name = "iprover-${version}";
+ pname = "iprover";
version = "2018_Jul_24_11h";
src = fetchurl {
@@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
mkdir -p "$out/bin"
cp iproveropt "$out/bin"
- mkdir -p "$out/share/${name}"
- cp *.p "$out/share/${name}"
+ mkdir -p "$out/share/${pname}-${version}"
+ cp *.p "$out/share/${pname}-${version}"
echo -e "#! ${stdenv.shell}\\n$out/bin/iproveropt --clausifier \"${eprover}/bin/eprover\" --clausifier_options \" --tstp-format --silent --cnf \" \"\$@\"" > "$out"/bin/iprover
chmod a+x "$out"/bin/iprover
'';
diff --git a/pkgs/applications/science/logic/jonprl/default.nix b/pkgs/applications/science/logic/jonprl/default.nix
index a95d1201cbd..61ca78d85ed 100644
--- a/pkgs/applications/science/logic/jonprl/default.nix
+++ b/pkgs/applications/science/logic/jonprl/default.nix
@@ -1,7 +1,7 @@
{ fetchgit, stdenv, smlnj, which }:
stdenv.mkDerivation rec {
- name = "jonprl-${version}";
+ pname = "jonprl";
version = "0.1.0";
src = fetchgit {
diff --git a/pkgs/applications/science/logic/lci/default.nix b/pkgs/applications/science/logic/lci/default.nix
index d7f047b84e0..4775384a3dd 100644
--- a/pkgs/applications/science/logic/lci/default.nix
+++ b/pkgs/applications/science/logic/lci/default.nix
@@ -1,9 +1,9 @@
{stdenv, fetchurl, readline}:
stdenv.mkDerivation rec {
version = "0.6";
- name = "lci-${version}";
+ pname = "lci";
src = fetchurl {
- url = "mirror://sourceforge/lci/${name}.tar.gz";
+ url = "mirror://sourceforge/lci/${pname}-${version}.tar.gz";
sha256="204f1ca5e2f56247d71ab320246811c220ed511bf08c9cb7f305cf180a93948e";
};
buildInputs = [readline];
diff --git a/pkgs/applications/science/logic/lean/default.nix b/pkgs/applications/science/logic/lean/default.nix
index 407244ef183..9bf54a5f094 100644
--- a/pkgs/applications/science/logic/lean/default.nix
+++ b/pkgs/applications/science/logic/lean/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, gmp }:
stdenv.mkDerivation rec {
- name = "lean-${version}";
+ pname = "lean";
version = "3.4.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/lean2/default.nix b/pkgs/applications/science/logic/lean2/default.nix
index 4e1415d3961..8cc50bb5e29 100644
--- a/pkgs/applications/science/logic/lean2/default.nix
+++ b/pkgs/applications/science/logic/lean2/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, cmake, gmp, mpfr, python
, gperftools, ninja, makeWrapper }:
-stdenv.mkDerivation rec {
- name = "lean2-${version}";
+stdenv.mkDerivation {
+ pname = "lean2";
version = "2017-07-22";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/leo2/default.nix b/pkgs/applications/science/logic/leo2/default.nix
index be337a1c258..b50848a1820 100644
--- a/pkgs/applications/science/logic/leo2/default.nix
+++ b/pkgs/applications/science/logic/leo2/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeWrapper, eprover, ocaml, perl, zlib }:
stdenv.mkDerivation rec {
- name = "leo2-${version}";
+ pname = "leo2";
version = "1.6.2";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/lingeling/default.nix b/pkgs/applications/science/logic/lingeling/default.nix
index 000587a22e6..287dbd36eab 100644
--- a/pkgs/applications/science/logic/lingeling/default.nix
+++ b/pkgs/applications/science/logic/lingeling/default.nix
@@ -2,8 +2,8 @@
, aiger
}:
-stdenv.mkDerivation rec {
- name = "lingeling-${version}";
+stdenv.mkDerivation {
+ pname = "lingeling";
# This is the version used in satcomp2018, which was
# relicensed, and also known as version 'bcj'
version = "pre1_03b4860d";
diff --git a/pkgs/applications/science/logic/logisim/default.nix b/pkgs/applications/science/logic/logisim/default.nix
index db784237ea9..d6a1207b5d6 100644
--- a/pkgs/applications/science/logic/logisim/default.nix
+++ b/pkgs/applications/science/logic/logisim/default.nix
@@ -3,7 +3,8 @@
let version = "2.7.1"; in
stdenv.mkDerivation {
- name = "logisim-${version}";
+ pname = "logisim";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/project/circuit/2.7.x/${version}/logisim-generic-${version}.jar";
diff --git a/pkgs/applications/science/logic/ltl2ba/default.nix b/pkgs/applications/science/logic/ltl2ba/default.nix
index c77e0327fb6..02e9844115e 100644
--- a/pkgs/applications/science/logic/ltl2ba/default.nix
+++ b/pkgs/applications/science/logic/ltl2ba/default.nix
@@ -1,11 +1,11 @@
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
- name = "ltl2ba-${version}";
+ pname = "ltl2ba";
version = "1.2";
src = fetchurl {
- url = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba/${name}.tar.gz";
+ url = "http://www.lsv.ens-cachan.fr/~gastin/ltl2ba/${pname}-${version}.tar.gz";
sha256 = "0vzv5g7v87r41cvdafxi6yqnk7glzxrzgavy8213k59f6v11dzlx";
};
diff --git a/pkgs/applications/science/logic/mcrl2/default.nix b/pkgs/applications/science/logic/mcrl2/default.nix
index dc32e84279a..93212c5b854 100644
--- a/pkgs/applications/science/logic/mcrl2/default.nix
+++ b/pkgs/applications/science/logic/mcrl2/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
version = "201707";
build_nr = "1";
- name = "mcrl2-${version}";
+ pname = "mcrl2";
src = fetchurl {
url = "https://www.mcrl2.org/download/release/mcrl2-${version}.${build_nr}.tar.gz";
diff --git a/pkgs/applications/science/logic/metis-prover/default.nix b/pkgs/applications/science/logic/metis-prover/default.nix
index 1601a74e189..ed1218c401b 100644
--- a/pkgs/applications/science/logic/metis-prover/default.nix
+++ b/pkgs/applications/science/logic/metis-prover/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, perl, mlton }:
-stdenv.mkDerivation rec {
- name = "metis-prover-${version}";
+stdenv.mkDerivation {
+ pname = "metis-prover";
version = "2.3.20160713";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/minisat/default.nix b/pkgs/applications/science/logic/minisat/default.nix
index 4b2116680d5..34051a1da40 100644
--- a/pkgs/applications/science/logic/minisat/default.nix
+++ b/pkgs/applications/science/logic/minisat/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
- name = "minisat-${version}";
+ pname = "minisat";
version = "2.2.0";
src = fetchurl {
- url = "http://minisat.se/downloads/${name}.tar.gz";
+ url = "http://minisat.se/downloads/${pname}-${version}.tar.gz";
sha256 = "023qdnsb6i18yrrawlhckm47q8x0sl7chpvvw3gssfyw3j2pv5cj";
};
diff --git a/pkgs/applications/science/logic/minisat/unstable.nix b/pkgs/applications/science/logic/minisat/unstable.nix
index f1a42f8215e..ef46c694acb 100644
--- a/pkgs/applications/science/logic/minisat/unstable.nix
+++ b/pkgs/applications/science/logic/minisat/unstable.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, zlib, cmake }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "minisat-unstable-2013-09-25";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/monosat/default.nix b/pkgs/applications/science/logic/monosat/default.nix
index 54bedc7c5e9..30d47687a3e 100644
--- a/pkgs/applications/science/logic/monosat/default.nix
+++ b/pkgs/applications/science/logic/monosat/default.nix
@@ -20,7 +20,7 @@ let
inherit rev sha256;
};
- core = stdenv.mkDerivation rec {
+ core = stdenv.mkDerivation {
name = "${pname}-${version}";
inherit src;
buildInputs = [ cmake zlib gmp jdk8 ];
diff --git a/pkgs/applications/science/logic/open-wbo/default.nix b/pkgs/applications/science/logic/open-wbo/default.nix
index 48546a86112..32ce9fde0c3 100644
--- a/pkgs/applications/science/logic/open-wbo/default.nix
+++ b/pkgs/applications/science/logic/open-wbo/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, zlib, gmp }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "open-wbo-2.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/opensmt/default.nix b/pkgs/applications/science/logic/opensmt/default.nix
index f9f021b15f0..9e5ebe008b8 100644
--- a/pkgs/applications/science/logic/opensmt/default.nix
+++ b/pkgs/applications/science/logic/opensmt/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "opensmt-${version}";
+ pname = "opensmt";
version = "20101017";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/ott/default.nix b/pkgs/applications/science/logic/ott/default.nix
index d21487ef92f..40c66dd699d 100644
--- a/pkgs/applications/science/logic/ott/default.nix
+++ b/pkgs/applications/science/logic/ott/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, ocaml }:
stdenv.mkDerivation rec {
- name = "ott-${version}";
+ pname = "ott";
version = "0.28";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/petrinizer/default.nix b/pkgs/applications/science/logic/petrinizer/default.nix
index cb35b9f27d5..d277e0e1521 100644
--- a/pkgs/applications/science/logic/petrinizer/default.nix
+++ b/pkgs/applications/science/logic/petrinizer/default.nix
@@ -1,6 +1,12 @@
-{ mkDerivation, async, base, bytestring, containers, fetchFromGitLab, mtl
-, parallel-io, parsec, sbv, stdenv, stm, transformers
+{ mkDerivation, callPackage, buildPackages
+, async, base, bytestring, containers, fetchFromGitLab, mtl
+, parallel-io, parsec, stdenv, stm, transformers
}:
+let
+ z3 = callPackage ./z3.nix { gomp = null; z3 = buildPackages.z3; };
+in let
+ sbv = callPackage ./sbv-7.13.nix { inherit z3; };
+in
mkDerivation rec {
pname = "petrinizer";
version = "0.9.1.1";
diff --git a/pkgs/applications/science/logic/petrinizer/sbv-7.13.nix b/pkgs/applications/science/logic/petrinizer/sbv-7.13.nix
new file mode 100644
index 00000000000..ed10e9f3db1
--- /dev/null
+++ b/pkgs/applications/science/logic/petrinizer/sbv-7.13.nix
@@ -0,0 +1,26 @@
+{ mkDerivation, array, async, base, bytestring, containers
+, crackNum, deepseq, directory, doctest, filepath, generic-deriving
+, ghc, Glob, hlint, mtl, pretty, process, QuickCheck, random
+, stdenv, syb, tasty, tasty-golden, tasty-hunit, tasty-quickcheck
+, template-haskell, time, z3
+}:
+mkDerivation {
+ pname = "sbv";
+ version = "7.13";
+ sha256 = "0bk400swnb4s98c5p71ml1px6jndaiqhf5dj7zmnliyplqcgpfik";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ array async base containers crackNum deepseq directory filepath
+ generic-deriving ghc mtl pretty process QuickCheck random syb
+ template-haskell time
+ ];
+ testHaskellDepends = [
+ base bytestring containers crackNum directory doctest filepath Glob
+ hlint mtl QuickCheck random syb tasty tasty-golden tasty-hunit
+ tasty-quickcheck template-haskell
+ ];
+ testSystemDepends = [ z3 ];
+ homepage = "http://leventerkok.github.com/sbv/";
+ description = "SMT Based Verification: Symbolic Haskell theorem prover using SMT solving";
+ license = stdenv.lib.licenses.bsd3;
+}
diff --git a/pkgs/applications/science/logic/petrinizer/z3.nix b/pkgs/applications/science/logic/petrinizer/z3.nix
new file mode 100644
index 00000000000..4d868054c09
--- /dev/null
+++ b/pkgs/applications/science/logic/petrinizer/z3.nix
@@ -0,0 +1,24 @@
+{ mkDerivation, fetchpatch
+, base, containers, gomp, hspec, QuickCheck, stdenv
+, transformers, z3
+}:
+mkDerivation {
+ pname = "z3";
+ version = "408.0";
+ sha256 = "13qkzy9wc17rm60i24fa9sx15ywbxq4a80g33w20887gvqyc0q53";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base containers transformers ];
+ librarySystemDepends = [ gomp z3 ];
+ testHaskellDepends = [ base hspec QuickCheck ];
+ homepage = "https://github.com/IagoAbal/haskell-z3";
+ description = "Bindings for the Z3 Theorem Prover";
+ license = stdenv.lib.licenses.bsd3;
+ doCheck = false;
+ patches = [
+ (fetchpatch {
+ url = "https://github.com/IagoAbal/haskell-z3/commit/b10e09b8a809fb5bbbb1ef86aeb62109ece99cae.patch";
+ sha256 = "13fnrs27mg3985r3lwks8fxfxr5inrayy2cyx2867d92pnl3yry4";
+ })
+ ];
+}
diff --git a/pkgs/applications/science/logic/picosat/default.nix b/pkgs/applications/science/logic/picosat/default.nix
index 638996e853b..547bd31e8b4 100644
--- a/pkgs/applications/science/logic/picosat/default.nix
+++ b/pkgs/applications/science/logic/picosat/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "picosat-${version}";
+ pname = "picosat";
version = "965";
src = fetchurl {
- url = "http://fmv.jku.at/picosat/${name}.tar.gz";
+ url = "http://fmv.jku.at/picosat/${pname}-${version}.tar.gz";
sha256 = "0m578rpa5rdn08d10kr4lbsdwp4402hpavrz6n7n53xs517rn5hm";
};
diff --git a/pkgs/applications/science/logic/poly/default.nix b/pkgs/applications/science/logic/poly/default.nix
index 2f765572f9a..c833b22e49b 100644
--- a/pkgs/applications/science/logic/poly/default.nix
+++ b/pkgs/applications/science/logic/poly/default.nix
@@ -1,7 +1,6 @@
{stdenv, fetchFromGitHub, gmp, cmake, python}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "libpoly";
version = "0.1.7";
diff --git a/pkgs/applications/science/logic/potassco/clingo.nix b/pkgs/applications/science/logic/potassco/clingo.nix
index 4abfdf9162c..2b368a0e673 100644
--- a/pkgs/applications/science/logic/potassco/clingo.nix
+++ b/pkgs/applications/science/logic/potassco/clingo.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchzip, cmake }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "clingo";
version = "5.3.0";
diff --git a/pkgs/applications/science/logic/prooftree/default.nix b/pkgs/applications/science/logic/prooftree/default.nix
index 1f6620a2872..d4feb5c9e28 100644
--- a/pkgs/applications/science/logic/prooftree/default.nix
+++ b/pkgs/applications/science/logic/prooftree/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, ncurses, ocamlPackages }:
stdenv.mkDerivation rec {
- name = "prooftree-${version}";
+ pname = "prooftree";
version = "0.13";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/prover9/default.nix b/pkgs/applications/science/logic/prover9/default.nix
index f96532b7038..a4538e1070a 100644
--- a/pkgs/applications/science/logic/prover9/default.nix
+++ b/pkgs/applications/science/logic/prover9/default.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation {
'';
meta = {
- homepage = http://www.cs.unm.edu/~mccune/mace4/;
+ homepage = https://www.cs.unm.edu/~mccune/mace4/;
license = "GPL";
description = "Automated theorem prover for first-order and equational logic";
longDescription = ''
diff --git a/pkgs/applications/science/logic/proverif/default.nix b/pkgs/applications/science/logic/proverif/default.nix
index aca06ffbfb7..931ad2fc4f3 100644
--- a/pkgs/applications/science/logic/proverif/default.nix
+++ b/pkgs/applications/science/logic/proverif/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ocamlPackages }:
stdenv.mkDerivation rec {
- name = "proverif-${version}";
+ pname = "proverif";
version = "2.00";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/satallax/default.nix b/pkgs/applications/science/logic/satallax/default.nix
index b9dd90f601f..7249eb991d3 100644
--- a/pkgs/applications/science/logic/satallax/default.nix
+++ b/pkgs/applications/science/logic/satallax/default.nix
@@ -1,11 +1,11 @@
{stdenv, fetchurl, ocaml, zlib, which, eprover, makeWrapper, coq}:
stdenv.mkDerivation rec {
- name = "satallax-${version}";
+ pname = "satallax";
version = "2.7";
buildInputs = [ocaml zlib which eprover makeWrapper coq];
src = fetchurl {
- url = "https://www.ps.uni-saarland.de/~cebrown/satallax/downloads/${name}.tar.gz";
+ url = "https://www.ps.uni-saarland.de/~cebrown/satallax/downloads/${pname}-${version}.tar.gz";
sha256 = "1kvxn8mc35igk4vigi5cp7w3wpxk2z3bgwllfm4n3h2jfs0vkpib";
};
diff --git a/pkgs/applications/science/logic/saw-tools/default.nix b/pkgs/applications/science/logic/saw-tools/default.nix
index 32ebdad51d9..d357bef2c7a 100644
--- a/pkgs/applications/science/logic/saw-tools/default.nix
+++ b/pkgs/applications/science/logic/saw-tools/default.nix
@@ -22,8 +22,8 @@ let
sha256 = "07gyf319v6ama6n1aj96403as04bixi8mbisfy7f7va689zklflr";
};
in
-stdenv.mkDerivation rec {
- name = "saw-tools-${version}";
+stdenv.mkDerivation {
+ pname = "saw-tools";
version = "0.1.1-20150731";
src = saw-bin;
diff --git a/pkgs/applications/science/logic/spass/default.nix b/pkgs/applications/science/logic/spass/default.nix
index 2bb2b911d49..ece6f0b9f6a 100644
--- a/pkgs/applications/science/logic/spass/default.nix
+++ b/pkgs/applications/science/logic/spass/default.nix
@@ -8,8 +8,8 @@ let
+ " dfg2ascii dfg2dfg tptp2dfg dimacs2dfg pgen rescmp";
in
-stdenv.mkDerivation rec {
- name = "spass-${version}";
+stdenv.mkDerivation {
+ pname = "spass";
version = "${baseVersion}.${minorVersion}";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/statverif/default.nix b/pkgs/applications/science/logic/statverif/default.nix
index 9676b991679..e0efb28819d 100644
--- a/pkgs/applications/science/logic/statverif/default.nix
+++ b/pkgs/applications/science/logic/statverif/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ocaml }:
stdenv.mkDerivation rec {
- name = "statverif-${version}";
+ pname = "statverif";
version = "1.86pl4";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/stp/default.nix b/pkgs/applications/science/logic/stp/default.nix
index 081dc788163..0ea659d1927 100644
--- a/pkgs/applications/science/logic/stp/default.nix
+++ b/pkgs/applications/science/logic/stp/default.nix
@@ -1,14 +1,14 @@
{ stdenv, cmake, boost, bison, flex, fetchFromGitHub, perl, python3, python3Packages, zlib, minisatUnstable, cryptominisat }:
stdenv.mkDerivation rec {
- version = "2.2.0";
- name = "stp-${version}";
+ pname = "stp";
+ version = "2.3.3";
src = fetchFromGitHub {
owner = "stp";
repo = "stp";
- rev = "stp-${version}";
- sha256 = "1jh23wjm62nnqfx447g2y53bbangq04hjrvqc35v9xxpcjgj3i49";
+ rev = version;
+ sha256 = "1yg2v4wmswh1sigk47drwsxyayr472mf4i47lqmlcgn9hhbx1q87";
};
buildInputs = [ boost zlib minisatUnstable cryptominisat python3 ];
@@ -23,9 +23,8 @@ stdenv.mkDerivation rec {
)
'';
- # `make -f lib/Interface/CMakeFiles/cppinterface.dir/build.make lib/Interface/CMakeFiles/cppinterface.dir/cpp_interface.cpp.o`:
- # include/stp/AST/UsefulDefs.h:41:29: fatal error: stp/AST/ASTKind.h: No such file or directory
- enableParallelBuilding = false;
+ # seems to build fine now, may revert if concurrency does become an issue
+ enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Simple Theorem Prover";
diff --git a/pkgs/applications/science/logic/symbiyosys/default.nix b/pkgs/applications/science/logic/symbiyosys/default.nix
index 8ba77159693..ed66c77dcab 100644
--- a/pkgs/applications/science/logic/symbiyosys/default.nix
+++ b/pkgs/applications/science/logic/symbiyosys/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, yosys, bash, python3 }:
-stdenv.mkDerivation rec {
- name = "symbiyosys-${version}";
- version = "2019.04.18";
+stdenv.mkDerivation {
+ pname = "symbiyosys";
+ version = "2019.08.13";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "symbiyosys";
- rev = "b1de59032ef3de35e56fa420a914c2f14d2495e4";
- sha256 = "0zci1n062csswl5xxjh9fwq09p9clv95ckag3yywxq06hnqzx0r7";
+ rev = "9cb542ac7a310b3dfa626349db53bed6236b670c";
+ sha256 = "0c7nz740738ybk33zzlfl00cq86n31wvra8pqqkpl4ygxnwca1d6";
};
buildInputs = [ python3 yosys ];
@@ -27,14 +27,13 @@ stdenv.mkDerivation rec {
--replace "##yosys-sys-path##" \
"sys.path += [p + \"/share/yosys/python3/\" for p in [\"$out\", \"${yosys}\"]]"
substituteInPlace $out/share/yosys/python3/sby_core.py \
- --replace "/bin/bash" \
- "${bash}/bin/bash"
+ --replace '"/usr/bin/env", "bash"' '"${bash}/bin/bash"'
'';
meta = {
description = "Tooling for Yosys-based verification flows";
homepage = https://symbiyosys.readthedocs.io/;
license = stdenv.lib.licenses.isc;
- maintainers = with stdenv.lib.maintainers; [ thoughtpolice ];
- platforms = stdenv.lib.platforms.unix;
+ maintainers = with stdenv.lib.maintainers; [ thoughtpolice emily ];
+ platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/applications/science/logic/tlaplus/default.nix b/pkgs/applications/science/logic/tlaplus/default.nix
index b1eb171b20b..b1c72d7c5ee 100644
--- a/pkgs/applications/science/logic/tlaplus/default.nix
+++ b/pkgs/applications/science/logic/tlaplus/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "tlaplus-${version}";
+ pname = "tlaplus";
version = "1.5.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/tlaplus/tlaps.nix b/pkgs/applications/science/logic/tlaplus/tlaps.nix
index 7d35f5f91df..7c8389688d9 100644
--- a/pkgs/applications/science/logic/tlaplus/tlaps.nix
+++ b/pkgs/applications/science/logic/tlaplus/tlaps.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "tlaps-${version}";
+ pname = "tlaps";
version = "1.4.3";
src = fetchurl {
url = "https://tla.msr-inria.inria.fr/tlaps/dist/current/tlaps-${version}.tar.gz";
diff --git a/pkgs/applications/science/logic/tlaplus/toolbox.nix b/pkgs/applications/science/logic/tlaplus/toolbox.nix
index f1116a27c0b..91666e85d92 100644
--- a/pkgs/applications/science/logic/tlaplus/toolbox.nix
+++ b/pkgs/applications/science/logic/tlaplus/toolbox.nix
@@ -1,9 +1,9 @@
{ lib, fetchzip, makeWrapper, makeDesktopItem, stdenv
-, jre, swt, gtk, libXtst, glib
+, gtk, libXtst, glib, zlib
}:
let
- version = "1.5.7";
+ version = "1.6.0";
arch = "x86_64";
desktopItem = makeDesktopItem rec {
@@ -21,10 +21,11 @@ let
in stdenv.mkDerivation {
- name = "tla-toolbox-${version}";
+ pname = "tla-toolbox";
+ inherit version;
src = fetchzip {
url = "https://tla.msr-inria.inria.fr/tlatoolbox/products/TLAToolbox-${version}-linux.gtk.${arch}.zip";
- sha256 = "0lg9sizpw5mkcnwwvmgqigkizjyz2lf1wrg48h7mg7wcv3macy4q";
+ sha256 = "1mgx4p5qykf9q0p4cp6kcpc7fx8g5f2w1g40kdgas24hqwrgs3cm";
};
buildInputs = [ makeWrapper ];
@@ -34,17 +35,20 @@ in stdenv.mkDerivation {
installPhase = ''
mkdir -p "$out/bin"
cp -r "$src" "$out/toolbox"
- chmod +w "$out/toolbox" "$out/toolbox/toolbox"
+ chmod -R +w "$out/toolbox"
patchelf \
--set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
"$out/toolbox/toolbox"
+ patchelf \
+ --set-interpreter $(cat $NIX_CC/nix-support/dynamic-linker) \
+ "$(find "$out/toolbox" -name java)"
+
makeWrapper $out/toolbox/toolbox $out/bin/tla-toolbox \
--run "set -x; cd $out/toolbox" \
--add-flags "-data ~/.tla-toolbox" \
- --prefix PATH : "${jre}/bin" \
- --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ swt gtk libXtst glib ]}"
+ --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ gtk libXtst glib zlib ]}"
echo -e "\nCreating TLA Toolbox icons..."
pushd "$src"
diff --git a/pkgs/applications/science/logic/tptp/default.nix b/pkgs/applications/science/logic/tptp/default.nix
index 7f68a8e647e..4c63f8e72a3 100644
--- a/pkgs/applications/science/logic/tptp/default.nix
+++ b/pkgs/applications/science/logic/tptp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, yap, tcsh, perl, patchelf }:
stdenv.mkDerivation rec {
- name = "TPTP-${version}";
+ pname = "TPTP";
version = "7.2.0";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/twelf/default.nix b/pkgs/applications/science/logic/twelf/default.nix
index 74f8875fceb..161da6e4b23 100644
--- a/pkgs/applications/science/logic/twelf/default.nix
+++ b/pkgs/applications/science/logic/twelf/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, smlnj, rsync }:
stdenv.mkDerivation rec {
- name = "twelf-${version}";
+ pname = "twelf";
version = "1.7.1";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/vampire/default.nix b/pkgs/applications/science/logic/vampire/default.nix
index 08ab243fb96..42963fe5f9c 100644
--- a/pkgs/applications/science/logic/vampire/default.nix
+++ b/pkgs/applications/science/logic/vampire/default.nix
@@ -1,19 +1,16 @@
-{ stdenv, fetchFromGitHub, fetchpatch, z3, zlib, git }:
+{ stdenv, fetchFromGitHub, fetchpatch, z3, zlib }:
stdenv.mkDerivation rec {
- version = "4.2.2";
- name = "vampire-${version}";
+ pname = "vampire";
+ version = "4.4";
src = fetchFromGitHub {
owner = "vprover";
repo = "vampire";
rev = version;
- sha256 = "03dqjxr3cwz4h6sn9074kc6b6wjz12kpsvsi0mq2w0j5l9f8d80y";
- #fetchSubmodules = true;
- #leaveDotGit = true;
+ sha256 = "0v2fdfnk7l5xr5c4y54r25g1nbp4vi85zv29nbklh3r7aws3w9q1";
};
- nativeBuildInputs = [ git ];
buildInputs = [ z3 zlib ];
makeFlags = [ "vampire_z3_rel" "CC:=$(CC)" "CXX:=$(CXX)" ];
diff --git a/pkgs/applications/science/logic/verifast/default.nix b/pkgs/applications/science/logic/verifast/default.nix
index 22eb5d07f1c..3e3e2670861 100644
--- a/pkgs/applications/science/logic/verifast/default.nix
+++ b/pkgs/applications/science/logic/verifast/default.nix
@@ -1,10 +1,10 @@
-{ stdenv, fetchurl, gtk2, gdk_pixbuf, atk, pango, glib, cairo, freetype
+{ stdenv, fetchurl, gtk2, gdk-pixbuf, atk, pango, glib, cairo, freetype
, fontconfig, libxml2, gnome2 }:
let
libPath = stdenv.lib.makeLibraryPath
- [ stdenv.cc.libc stdenv.cc.cc gtk2 gdk_pixbuf atk pango glib cairo
+ [ stdenv.cc.libc stdenv.cc.cc gtk2 gdk-pixbuf atk pango glib cairo
freetype fontconfig libxml2 gnome2.gtksourceview
] + ":${stdenv.cc.cc.lib}/lib64:$out/libexec";
@@ -19,11 +19,11 @@ let
in
stdenv.mkDerivation rec {
- name = "verifast-${version}";
+ pname = "verifast";
version = "18.02";
src = fetchurl {
- url = "https://github.com/verifast/verifast/releases/download/${version}/${name}-linux.tar.gz";
+ url = "https://github.com/verifast/verifast/releases/download/${version}/${pname}-${version}-linux.tar.gz";
sha256 = "19050be23b6d5e471690421fee59f84c58b29e38379fb86b8f3713a206a4423e";
};
diff --git a/pkgs/applications/science/logic/verit/default.nix b/pkgs/applications/science/logic/verit/default.nix
index ca3673d7bf9..2c68191b800 100644
--- a/pkgs/applications/science/logic/verit/default.nix
+++ b/pkgs/applications/science/logic/verit/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, autoreconfHook, gmp, flex, bison }:
-stdenv.mkDerivation rec {
- name = "veriT-${version}";
+stdenv.mkDerivation {
+ pname = "veriT";
version = "2016";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/why3/configure.patch b/pkgs/applications/science/logic/why3/configure.patch
new file mode 100644
index 00000000000..3eebf3cf165
--- /dev/null
+++ b/pkgs/applications/science/logic/why3/configure.patch
@@ -0,0 +1,11 @@
+diff --git a/configure b/configure
+--- a/configure
++++ b/configure
+@@ -4029,7 +4029,6 @@ fi
+
+ if test "$USEOCAMLFIND" = yes; then
+ OCAMLFINDLIB=$(ocamlfind printconf stdlib)
+- OCAMLFIND=$(which ocamlfind)
+ if test "$OCAMLFINDLIB" != "$OCAMLLIB"; then
+ USEOCAMLFIND=no;
+ echo "but your ocamlfind is not compatible with your ocamlc:"
diff --git a/pkgs/applications/science/logic/why3/default.nix b/pkgs/applications/science/logic/why3/default.nix
index a3b369ad54a..6f338f21478 100644
--- a/pkgs/applications/science/logic/why3/default.nix
+++ b/pkgs/applications/science/logic/why3/default.nix
@@ -1,7 +1,8 @@
-{ fetchurl, stdenv, ocamlPackages, coq }:
+{ callPackage, fetchurl, stdenv
+, ocamlPackages, coqPackages, rubber, hevea, emacs }:
-stdenv.mkDerivation rec {
- name = "why3-${version}";
+stdenv.mkDerivation {
+ pname = "why3";
version = "1.2.0";
src = fetchurl {
@@ -9,14 +10,34 @@ stdenv.mkDerivation rec {
sha256 = "0xz001jhi71ja8vqrjz27v63bidrzj4qvg1yqarq6p4dmpxhk348";
};
- buildInputs = (with ocamlPackages; [
- ocaml findlib num lablgtk ocamlgraph zarith menhir ]) ++
- stdenv.lib.optionals (ocamlPackages.ocaml == coq.ocamlPackages.ocaml ) [
- coq ocamlPackages.camlp5
- ];
+ buildInputs = with ocamlPackages; [
+ ocaml findlib ocamlgraph zarith menhir
+ # Compressed Sessions
+ # Emacs compilation of why3.el
+ emacs
+ # Documentation
+ rubber hevea
+ # GUI
+ lablgtk
+ # WebIDE
+ js_of_ocaml js_of_ocaml-ppx
+ # Coq Support
+ coqPackages.coq coqPackages.flocq ocamlPackages.camlp5
+ ];
+
+ propagatedBuildInputs = with ocamlPackages; [ camlzip num ];
+
+ enableParallelBuilding = true;
+
+ # Remove unnecessary call to which
+ patches = [ ./configure.patch ];
+
+ configureFlags = [ "--enable-verbose-make" ];
installTargets = [ "install" "install-lib" ];
+ passthru.withProvers = callPackage ./with-provers.nix {};
+
meta = with stdenv.lib; {
description = "A platform for deductive program verification";
homepage = "http://why3.lri.fr/";
diff --git a/pkgs/applications/science/logic/why3/with-provers.nix b/pkgs/applications/science/logic/why3/with-provers.nix
new file mode 100644
index 00000000000..3528dbd3a64
--- /dev/null
+++ b/pkgs/applications/science/logic/why3/with-provers.nix
@@ -0,0 +1,30 @@
+{ stdenv, makeWrapper, runCommand, symlinkJoin, why3 }:
+provers:
+let configAwkScript = runCommand "why3-conf.awk" { inherit provers; }
+ ''
+ for p in $provers; do
+ for b in $p/bin/*; do
+ BASENAME=$(basename $b)
+ echo "/^command =/{ gsub(\"$BASENAME\", \"$b\") }" >> $out
+ done
+ done
+ echo '{ print }' >> $out
+ '';
+in stdenv.mkDerivation {
+ name = "${why3.name}-with-provers";
+
+ phases = [ "buildPhase" "installPhase" ];
+
+ buildInputs = [ why3 makeWrapper ] ++ provers;
+
+ buildPhase = ''
+ mkdir -p $out/share/why3/
+ why3 config --detect-provers -C $out/share/why3/why3.conf
+ awk -i inplace -f ${configAwkScript} $out/share/why3/why3.conf
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin
+ makeWrapper ${why3}/bin/why3 $out/bin/why3 --add-flags "--extra-config $out/share/why3/why3.conf"
+ '';
+}
diff --git a/pkgs/applications/science/logic/workcraft/default.nix b/pkgs/applications/science/logic/workcraft/default.nix
index 313fe5a9f1d..2f972c92b52 100644
--- a/pkgs/applications/science/logic/workcraft/default.nix
+++ b/pkgs/applications/science/logic/workcraft/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
- name = "workcraft-${version}";
+ pname = "workcraft";
version = "3.1.9";
src = fetchurl {
diff --git a/pkgs/applications/science/logic/yices/default.nix b/pkgs/applications/science/logic/yices/default.nix
index 40a4c391e1d..76ed934fb39 100644
--- a/pkgs/applications/science/logic/yices/default.nix
+++ b/pkgs/applications/science/logic/yices/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gmp-static, gperf, autoreconfHook, libpoly }:
stdenv.mkDerivation rec {
- name = "yices-${version}";
+ pname = "yices";
version = "2.6.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/logic/z3/0001-fix-2131.patch b/pkgs/applications/science/logic/z3/0001-fix-2131.patch
deleted file mode 100644
index 0b21b8fffd4..00000000000
--- a/pkgs/applications/science/logic/z3/0001-fix-2131.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From c5df6ce96e068eceb77019e48634721c6a5bb607 Mon Sep 17 00:00:00 2001
-From: Nikolaj Bjorner
-Date: Sun, 10 Feb 2019 10:07:24 -0800
-Subject: [PATCH 1/1] fix #2131
-
-Signed-off-by: Nikolaj Bjorner
----
- src/api/python/README.txt | 10 +++-------
- src/api/python/setup.py | 2 +-
- src/ast/recfun_decl_plugin.h | 2 +-
- 3 files changed, 5 insertions(+), 9 deletions(-)
-
-diff --git a/src/api/python/README.txt b/src/api/python/README.txt
-index 9312b1119..561b8dedc 100644
---- a/src/api/python/README.txt
-+++ b/src/api/python/README.txt
-@@ -1,8 +1,4 @@
--You can learn more about Z3Py at:
--http://rise4fun.com/Z3Py/tutorial/guide
--
--On Windows, you must build Z3 before using Z3Py.
--To build Z3, you should executed the following command
-+On Windows, to build Z3, you should executed the following command
- in the Z3 root directory at the Visual Studio Command Prompt
-
- msbuild /p:configuration=external
-@@ -12,8 +8,8 @@ If you are using a 64-bit Python interpreter, you should use
- msbuild /p:configuration=external /p:platform=x64
-
-
--On Linux and macOS, you must install Z3Py, before trying example.py.
--To install Z3Py on Linux and macOS, you should execute the following
-+On Linux and macOS, you must install python bindings, before trying example.py.
-+To install python on Linux and macOS, you should execute the following
- command in the Z3 root directory
-
- sudo make install-z3py
-diff --git a/src/api/python/setup.py b/src/api/python/setup.py
-index 2a750fee6..063680e2b 100644
---- a/src/api/python/setup.py
-+++ b/src/api/python/setup.py
-@@ -178,7 +178,7 @@ setup(
- name='z3-solver',
- version=_z3_version(),
- description='an efficient SMT solver library',
-- long_description='Z3 is a theorem prover from Microsoft Research with support for bitvectors, booleans, arrays, floating point numbers, strings, and other data types.\n\nFor documentation, please read http://z3prover.github.io/api/html/z3.html\n\nIn the event of technical difficulties related to configuration, compiliation, or installation, please submit issues to https://github.com/angr/angr-z3',
-+ long_description='Z3 is a theorem prover from Microsoft Research with support for bitvectors, booleans, arrays, floating point numbers, strings, and other data types.\n\nFor documentation, please read http://z3prover.github.io/api/html/z3.html\n\nIn the event of technical difficulties related to configuration, compilation, or installation, please submit issues to https://github.com/angr/angr-z3',
- author="The Z3 Theorem Prover Project",
- maintainer="Audrey Dutcher",
- maintainer_email="audrey@rhelmot.io",
-diff --git a/src/ast/recfun_decl_plugin.h b/src/ast/recfun_decl_plugin.h
-index 0247335e8..b294cdfce 100644
---- a/src/ast/recfun_decl_plugin.h
-+++ b/src/ast/recfun_decl_plugin.h
-@@ -56,7 +56,7 @@ namespace recfun {
- friend class def;
- func_decl_ref m_pred; // opencv != null;
stdenv.mkDerivation rec {
pname = "shogun";
version = "6.0.0";
- name = pname + "-" + version;
src = fetchFromGitHub {
owner = pname + "-toolbox";
diff --git a/pkgs/applications/science/machine-learning/torch/torch-distro.nix b/pkgs/applications/science/machine-learning/torch/torch-distro.nix
index 9c4f2402143..73272df9922 100644
--- a/pkgs/applications/science/machine-learning/torch/torch-distro.nix
+++ b/pkgs/applications/science/machine-learning/torch/torch-distro.nix
@@ -94,7 +94,7 @@ let
# rockspec = "lua-cjson-2.1devel-1.rockspec";
# };
- lua-cjson = stdenv.mkDerivation rec {
+ lua-cjson = stdenv.mkDerivation {
name = "lua-cjson";
src = "${distro_src}/extra/lua-cjson";
@@ -179,7 +179,7 @@ let
rockspec = "rocks/${name}-scm-1.rockspec";
};
- sys = buildLuaRocks rec {
+ sys = buildLuaRocks {
name = "sys";
luadeps = [torch];
buildInputs = [readline cmake];
@@ -190,14 +190,14 @@ let
'';
};
- xlua = buildLuaRocks rec {
+ xlua = buildLuaRocks {
name = "xlua";
luadeps = [torch sys];
src = "${distro_src}/pkg/xlua";
rockspec = "xlua-1.0-0.rockspec";
};
- nn = buildLuaRocks rec {
+ nn = buildLuaRocks {
name = "nn";
luadeps = [torch luaffifb];
buildInputs = [cmake];
@@ -208,7 +208,7 @@ let
'';
};
- graph = buildLuaRocks rec {
+ graph = buildLuaRocks {
name = "graph";
luadeps = [ torch ];
buildInputs = [cmake];
@@ -219,7 +219,7 @@ let
'';
};
- nngraph = buildLuaRocks rec {
+ nngraph = buildLuaRocks {
name = "nngraph";
luadeps = [ torch nn graph ];
buildInputs = [cmake];
@@ -229,7 +229,7 @@ let
'';
};
- image = buildLuaRocks rec {
+ image = buildLuaRocks {
name = "image";
luadeps = [ torch dok sys xlua ];
buildInputs = [cmake libjpeg libpng];
@@ -240,7 +240,7 @@ let
'';
};
- optim = buildLuaRocks rec {
+ optim = buildLuaRocks {
name = "optim";
luadeps = [ torch ];
buildInputs = [cmake];
@@ -251,7 +251,7 @@ let
'';
};
- gnuplot = buildLuaRocks rec {
+ gnuplot = buildLuaRocks {
name = "gnuplot";
luadeps = [ torch paths ];
runtimeDeps = [ pkgs_gnuplot less ];
@@ -259,7 +259,7 @@ let
rockspec = "rocks/gnuplot-scm-1.rockspec";
};
- unsup = buildLuaRocks rec {
+ unsup = buildLuaRocks {
name = "unsup";
luadeps = [ torch xlua optim ];
buildInputs = [ cmake ];
@@ -275,7 +275,7 @@ let
meta.broken = true;
};
- trepl = buildLuaRocks rec {
+ trepl = buildLuaRocks {
name = "trepl";
luadeps = [torch gnuplot paths penlight graph nn nngraph image gnuplot optim sys dok unsup];
runtimeDeps = [ ncurses readline ];
@@ -285,7 +285,7 @@ let
};
};
- lbase64 = buildLuaRocks rec {
+ lbase64 = buildLuaRocks {
name = "lbase64";
src = fetchgit {
url = "https://github.com/LuaDist2/lbase64";
@@ -295,7 +295,7 @@ let
meta.broken = true; # 2018-04-11
};
- luuid = stdenv.mkDerivation rec {
+ luuid = stdenv.mkDerivation {
name = "luuid";
src = fetchgit {
url = "https://github.com/LuaDist/luuid";
@@ -314,7 +314,7 @@ let
};
# Doesn't work due to missing deps (according to luarocs).
- itorch = buildLuaRocks rec {
+ itorch = buildLuaRocks {
name = "itorch";
luadeps = [torch gnuplot paths penlight graph nn nngraph image gnuplot
optim sys dok lbase64 lua-cjson luuid];
diff --git a/pkgs/applications/science/math/LiE/default.nix b/pkgs/applications/science/math/LiE/default.nix
index e0b0bc11f05..d59ec57c1a8 100644
--- a/pkgs/applications/science/math/LiE/default.nix
+++ b/pkgs/applications/science/math/LiE/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl
, bison, readline }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "2.2.2";
# The current version of LiE is 2.2.2, which is more or less unchanged
# since about the year 2000. Minor bugfixes do get applied now and then.
- name = "lie-${version}";
+ pname = "lie";
meta = {
description = "A Computer algebra package for Lie group computations";
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix
index ed107765b46..a791f9a5772 100644
--- a/pkgs/applications/science/math/R/default.nix
+++ b/pkgs/applications/science/math/R/default.nix
@@ -8,11 +8,11 @@
}:
stdenv.mkDerivation rec {
- name = "R-3.6.0";
+ name = "R-3.6.1";
src = fetchurl {
url = "https://cran.r-project.org/src/base/R-3/${name}.tar.gz";
- sha256 = "02bmylmzrm9sdidirmwy233lghmd2346z725ca71ari68lzarz1n";
+ sha256 = "128kifbq0w25y8aq77w289ddax5i5w2djcfsqgffrb3i7syrxajv";
};
dontUseImakeConfigure = true;
@@ -27,10 +27,6 @@ stdenv.mkDerivation rec {
patches = [
./no-usr-local-search-paths.patch
- (fetchpatch {
- url = "https://github.com/wch/r-source/commit/aeb75e12863019be06fe6c762ab705bf5ed8b38c.patch";
- sha256 = "03xv1g1yw1dbhx4paw6pn6hkawj8sny86km3748l1vnasbham82g";
- })
];
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
diff --git a/pkgs/applications/science/math/bcal/default.nix b/pkgs/applications/science/math/bcal/default.nix
index 61eb1fd3ce4..74adcab4e70 100644
--- a/pkgs/applications/science/math/bcal/default.nix
+++ b/pkgs/applications/science/math/bcal/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "bcal-${version}";
+ pname = "bcal";
version = "1.9";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/math/bliss/default.nix b/pkgs/applications/science/math/bliss/default.nix
index 1b7a9736007..37504fceb14 100644
--- a/pkgs/applications/science/math/bliss/default.nix
+++ b/pkgs/applications/science/math/bliss/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, unzip, doxygen }:
stdenv.mkDerivation rec {
- name = "bliss-${version}";
+ pname = "bliss";
version = "0.73";
src = fetchurl {
- url = "http://www.tcs.hut.fi/Software/bliss/${name}.zip";
+ url = "http://www.tcs.hut.fi/Software/bliss/${pname}-${version}.zip";
sha256 = "f57bf32804140cad58b1240b804e0dbd68f7e6bf67eba8e0c0fa3a62fd7f0f84";
};
diff --git a/pkgs/applications/science/math/caffe/default.nix b/pkgs/applications/science/math/caffe/default.nix
index 9ee56041ed3..5068abbf307 100644
--- a/pkgs/applications/science/math/caffe/default.nix
+++ b/pkgs/applications/science/math/caffe/default.nix
@@ -1,9 +1,9 @@
-{ config, stdenv, lib, runCommand
+{ config, stdenv, lib
, fetchFromGitHub
, fetchurl
, cmake
, boost
-, google-gflags
+, gflags
, glog
, hdf5-cpp
, opencv3
@@ -36,7 +36,7 @@ let
in
stdenv.mkDerivation rec {
- name = "caffe-${version}";
+ pname = "caffe";
version = "1.0";
src = fetchFromGitHub {
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
cmakeFlags =
# It's important that caffe is passed the major and minor version only because that's what
# boost_python expects
- [ (if pythonSupport then "-Dpython_version=3${python.pythonVersion}" else "-DBUILD_python=OFF")
+ [ (if pythonSupport then "-Dpython_version=${python.pythonVersion}" else "-DBUILD_python=OFF")
"-DBLAS=open"
] ++ (if cudaSupport then [
"-DCUDA_ARCH_NAME=All"
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
++ ["-DUSE_LEVELDB=${toggle leveldbSupport}"]
++ ["-DUSE_LMDB=${toggle lmdbSupport}"];
- buildInputs = [ boost google-gflags glog protobuf hdf5-cpp opencv3 openblas ]
+ buildInputs = [ boost gflags glog protobuf hdf5-cpp opencv3 openblas ]
++ lib.optional cudaSupport cudatoolkit
++ lib.optional cudnnSupport cudnn
++ lib.optional lmdbSupport lmdb
@@ -73,9 +73,17 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.isDarwin [ Accelerate CoreGraphics CoreVideo ]
;
- propagatedBuildInputs = lib.optional pythonSupport python.pkgs.protobuf;
+ propagatedBuildInputs = lib.optionals pythonSupport (
+ # requirements.txt
+ let pp = python.pkgs; in ([
+ pp.numpy pp.scipy pp.scikitimage pp.h5py
+ pp.matplotlib pp.ipython pp.networkx pp.nose
+ pp.pandas pp.dateutil pp.protobuf pp.gflags
+ pp.pyyaml pp.pillow pp.six
+ ] ++ lib.optional leveldbSupport pp.leveldb)
+ );
- outputs = [ "bin" "out"];
+ outputs = [ "bin" "out" ];
propagatedBuildOutputs = []; # otherwise propagates out -> bin cycle
patches = [
diff --git a/pkgs/applications/science/math/caffe/python.patch b/pkgs/applications/science/math/caffe/python.patch
index b1bed6c174b..dac5071aa08 100644
--- a/pkgs/applications/science/math/caffe/python.patch
+++ b/pkgs/applications/science/math/caffe/python.patch
@@ -64,7 +64,7 @@ index 4a5bac47..be026d43 100644
- if(PYTHONLIBS_FOUND AND NUMPY_FOUND AND Boost_PYTHON_FOUND)
+ find_package(NumPy 1.7.1)
+ find_package(Boost 1.46 REQUIRED COMPONENTS python@major@@minor@)
-+ if(PYTHONLIBS_FOUND AND NUMPY_FOUND AND BOOST_PYTHON@major@@minor@_FOUND)
++ if(PYTHONLIBS_FOUND AND NUMPY_FOUND AND Boost_PYTHON@major@@minor@_FOUND)
set(HAVE_PYTHON TRUE)
if(BUILD_python_layer)
list(APPEND Caffe_DEFINITIONS PRIVATE -DWITH_PYTHON_LAYER)
diff --git a/pkgs/applications/science/math/calc/default.nix b/pkgs/applications/science/math/calc/default.nix
index 24cddfb9a1c..0d149eca3b6 100644
--- a/pkgs/applications/science/math/calc/default.nix
+++ b/pkgs/applications/science/math/calc/default.nix
@@ -2,20 +2,19 @@
, enableReadline ? true, readline, ncurses }:
stdenv.mkDerivation rec {
- name = "calc-${version}";
+ pname = "calc";
version = "2.12.7.2";
src = fetchurl {
urls = [
- "https://github.com/lcn2/calc/releases/download/${version}/${name}.tar.bz2"
- "http://www.isthe.com/chongo/src/calc/${name}.tar.bz2"
+ "https://github.com/lcn2/calc/releases/download/${version}/${pname}-${version}.tar.bz2"
+ "http://www.isthe.com/chongo/src/calc/${pname}-${version}.tar.bz2"
];
sha256 = "147wmbajcxv6wp92j6pizq4plrr1sb7jirifr1477bx33hc49bsp";
};
patchPhase = ''
substituteInPlace Makefile \
- --replace 'all: check_include' 'all:' \
--replace '-install_name ''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcalc''${LIB_EXT_VERSION}' \
--replace '-install_name ''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}' '-install_name ''${T}''${LIBDIR}/libcustcalc''${LIB_EXT_VERSION}'
'';
@@ -25,7 +24,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"T=$(out)"
- "INCDIR=${lib.getDev stdenv.cc.libc}/include"
+ "INCDIR="
"BINDIR=/bin"
"LIBDIR=/lib"
"CALC_SHAREDIR=/share/calc"
diff --git a/pkgs/applications/science/math/calculix/calculix.patch b/pkgs/applications/science/math/calculix/calculix.patch
new file mode 100644
index 00000000000..311421f2ef5
--- /dev/null
+++ b/pkgs/applications/science/math/calculix/calculix.patch
@@ -0,0 +1,31 @@
+diff --git a/ccx_2.15/src/Makefile b/ccx_2.15/src/Makefile
+index 9cab2fc..6e977b8 100755
+--- a/ccx_2.15/src/Makefile
++++ b/ccx_2.15/src/Makefile
+@@ -1,6 +1,6 @@
+
+ CFLAGS = -Wall -O3 -I ../../../SPOOLES.2.2 -DARCH="Linux" -DSPOOLES -DARPACK -DMATRIXSTORAGE -DNETWORKOUT
+-FFLAGS = -Wall -O3
++FFLAGS = -Wall -O3
+
+ CC=cc
+ FC=gfortran
+@@ -18,15 +18,10 @@ OCCXF = $(SCCXF:.f=.o)
+ OCCXC = $(SCCXC:.c=.o)
+ OCCXMAIN = $(SCCXMAIN:.c=.o)
+
+-DIR=../../../SPOOLES.2.2
++LIBS = -lpthread -lm -lc -lspooles -larpack -lopenblas
+
+-LIBS = \
+- $(DIR)/spooles.a \
+- ../../../ARPACK/libarpack_INTEL.a \
+- -lpthread -lm -lc
+-
+-ccx_2.15: $(OCCXMAIN) ccx_2.15.a $(LIBS)
+- ./date.pl; $(CC) $(CFLAGS) -c ccx_2.15.c; $(FC) -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.15.a $(LIBS)
++ccx_2.15: $(OCCXMAIN) ccx_2.15.a
++ $(CC) $(CFLAGS) -c ccx_2.15.c; $(FC) -Wall -O3 -o $@ $(OCCXMAIN) ccx_2.15.a $(LIBS)
+
+ ccx_2.15.a: $(OCCXF) $(OCCXC)
+ ar vr $@ $?
diff --git a/pkgs/applications/science/math/calculix/default.nix b/pkgs/applications/science/math/calculix/default.nix
new file mode 100644
index 00000000000..24d5f99ec32
--- /dev/null
+++ b/pkgs/applications/science/math/calculix/default.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchurl, gfortran, arpack, spooles, openblas }:
+
+stdenv.mkDerivation rec {
+ pname = "calculix";
+ version = "2.15";
+
+ src = fetchurl {
+ url = "http://www.dhondt.de/ccx_${version}.src.tar.bz2";
+ sha256 = "0d4axfxgm3ag4p2vx9rjcky7c122k99a2nhv1jv53brm35rblzdw";
+ };
+
+ nativeBuildInputs = [ gfortran ];
+
+ buildInputs = [ arpack spooles openblas ];
+
+ NIX_CFLAGS_COMPILE = [
+ "-I${spooles}/include/spooles"
+ ];
+
+ patches = [
+ ./calculix.patch
+ ];
+
+ postPatch = ''
+ cd ccx*/src
+ '';
+
+ installPhase = ''
+ install -Dm0755 ccx_${version} $out/bin/ccx
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "http://www.calculix.de/";
+ description = "Three-dimensional structural finite element program";
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ gebner ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/science/math/clp/default.nix b/pkgs/applications/science/math/clp/default.nix
index 81fa6166680..0eb57c75692 100644
--- a/pkgs/applications/science/math/clp/default.nix
+++ b/pkgs/applications/science/math/clp/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, zlib }:
stdenv.mkDerivation rec {
- version = "1.17.1";
- name = "clp-${version}";
+ version = "1.17.2";
+ pname = "clp";
src = fetchurl {
url = "https://www.coin-or.org/download/source/Clp/Clp-${version}.tgz";
- sha256 = "1wdg820g3iikf9344ijwsc8sy6c0m6im42bzzizm6rlmkvnmxhk9";
+ sha256 = "1fkmgpn0zaraymi6s3isrrscgjxggcs2yjrx7jfy4hb1jacx71zz";
};
propagatedBuildInputs = [ zlib ];
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
license = licenses.epl10;
- homepage = https://projects.coin-or.org/Clp;
+ homepage = "https://github.com/coin-or/Clp";
description = "An open-source linear programming solver written in C++";
platforms = platforms.darwin ++ [ "x86_64-linux" ];
maintainers = [ maintainers.vbgl ];
diff --git a/pkgs/applications/science/math/cntk/default.nix b/pkgs/applications/science/math/cntk/default.nix
index 4bf922c4e16..c20a6954c3c 100644
--- a/pkgs/applications/science/math/cntk/default.nix
+++ b/pkgs/applications/science/math/cntk/default.nix
@@ -17,18 +17,16 @@ let
};
in stdenv.mkDerivation rec {
- name = "CNTK-${version}";
- version = "2.4";
+ pname = "CNTK";
+ version = "2.7";
# Submodules
src = fetchgit {
url = "https://github.com/Microsoft/CNTK";
rev = "v${version}";
- sha256 = "0m28wb0ljixcpi14g3gcfiraimh487yxqhd9yrglgyvjb69x597y";
+ sha256 = "18l9k7s966a26ywcf7flqyhm61788pcb9fj3wk61jrmgkhy2pcns";
};
- patches = [ ./fix_std_bind.patch ];
-
nativeBuildInputs = [ cmake ];
buildInputs = [ openblas opencv3 libzip boost protobuf openmpi ]
@@ -87,6 +85,7 @@ in stdenv.mkDerivation rec {
homepage = https://github.com/Microsoft/CNTK;
description = "An open source deep-learning toolkit";
license = if onebitSGDSupport then licenses.unfreeRedistributable else licenses.mit;
+ platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ abbradar ];
};
}
diff --git a/pkgs/applications/science/math/cntk/fix_std_bind.patch b/pkgs/applications/science/math/cntk/fix_std_bind.patch
deleted file mode 100644
index df97a0c6666..00000000000
--- a/pkgs/applications/science/math/cntk/fix_std_bind.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -ru3 CNTK-old/Source/CNTKv2LibraryDll/EvaluatorWrapper.h CNTK-new/Source/CNTKv2LibraryDll/EvaluatorWrapper.h
---- CNTK-old/Source/CNTKv2LibraryDll/EvaluatorWrapper.h 1970-01-01 03:00:01.000000000 +0300
-+++ CNTK-new/Source/CNTKv2LibraryDll/EvaluatorWrapper.h 2018-02-25 18:16:16.330269647 +0300
-@@ -9,6 +9,7 @@
- #include
- #include
- #include
-+#include
-
- #include "CNTKLibrary.h"
- #include "CNTKLibraryC.h"
diff --git a/pkgs/applications/science/math/colpack/default.nix b/pkgs/applications/science/math/colpack/default.nix
index 94e0a44226d..13a75ce4db2 100644
--- a/pkgs/applications/science/math/colpack/default.nix
+++ b/pkgs/applications/science/math/colpack/default.nix
@@ -4,7 +4,6 @@ stdenv.mkDerivation rec {
pname = "ColPack";
version = "1.0.10";
- name = pname + "-" + version;
src = fetchFromGitHub {
owner = "CSCsw";
diff --git a/pkgs/applications/science/math/cplex/default.nix b/pkgs/applications/science/math/cplex/default.nix
index dc0e9ea1aa5..ec13f5252f1 100644
--- a/pkgs/applications/science/math/cplex/default.nix
+++ b/pkgs/applications/science/math/cplex/default.nix
@@ -8,7 +8,7 @@
# different for every user.
stdenv.mkDerivation rec {
- name = "cplex-${version}";
+ pname = "cplex";
version = "128";
src =
@@ -71,6 +71,11 @@ stdenv.mkDerivation rec {
fi
done
'';
+
+ passthru = {
+ libArch = "x86-64_linux";
+ libSuffix = "${version}0";
+ };
meta = with stdenv.lib; {
description = "Optimization solver for mathematical programming";
diff --git a/pkgs/applications/science/math/form/default.nix b/pkgs/applications/science/math/form/default.nix
index 23ab2184266..0dbafebf2c0 100644
--- a/pkgs/applications/science/math/form/default.nix
+++ b/pkgs/applications/science/math/form/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, gmp, zlib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "4.2.1";
- name = "form-${version}";
+ pname = "form";
# This tarball is released by author, it is not downloaded from tag, so can't use fetchFromGitHub
src = fetchurl {
diff --git a/pkgs/applications/science/math/gap/default.nix b/pkgs/applications/science/math/gap/default.nix
index 6beb87e9f02..7eb10d1f952 100644
--- a/pkgs/applications/science/math/gap/default.nix
+++ b/pkgs/applications/science/math/gap/default.nix
@@ -45,7 +45,6 @@ let
"sophus-*"
"tomlib-*"
];
- standardPackages = requiredPackages ++ autoloadedPackages;
keepAll = keepAllPackages || (packageSet == "full");
packagesToKeep = requiredPackages ++ lib.optionals (packageSet == "standard") autoloadedPackages;
@@ -62,11 +61,11 @@ in
stdenv.mkDerivation rec {
pname = "gap";
# https://www.gap-system.org/Releases/
- version = "4.10.1";
+ version = "4.10.2";
src = fetchurl {
url = "https://www.gap-system.org/pub/gap/gap-${lib.versions.major version}.${lib.versions.minor version}/tar.bz2/gap-${version}.tar.bz2";
- sha256 = "136s0zvhcw41fshj5zgsrjcy2kd58cdh2m3ddp5rdizi4rx54f10";
+ sha256 = "0cp6ddk0469zzv1m1vair6gm27ic6c5m77ri8rn0znq3gaps6x94";
};
# remove all non-essential packages (which take up a lot of space)
diff --git a/pkgs/applications/science/math/geogebra/default.nix b/pkgs/applications/science/math/geogebra/default.nix
index 3232d08aa33..8f38a24f40d 100644
--- a/pkgs/applications/science/math/geogebra/default.nix
+++ b/pkgs/applications/science/math/geogebra/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, makeDesktopItem, makeWrapper, language ? "en_US" }:
stdenv.mkDerivation rec {
- name = "geogebra-${version}";
+ pname = "geogebra";
version = "5-0-535-0";
preferLocalBuild = true;
diff --git a/pkgs/applications/science/math/getdp/default.nix b/pkgs/applications/science/math/getdp/default.nix
index 74e4b052fdb..3ccd89cf2c1 100644
--- a/pkgs/applications/science/math/getdp/default.nix
+++ b/pkgs/applications/science/math/getdp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, gfortran, openblas, openmpi, python3 }:
stdenv.mkDerivation rec {
- name = "getdp-${version}";
+ pname = "getdp";
version = "3.0.4";
src = fetchurl {
url = "http://getdp.info/src/getdp-${version}-source.tgz";
diff --git a/pkgs/applications/science/math/gfan/default.nix b/pkgs/applications/science/math/gfan/default.nix
index d2d1ddb6584..33b003b2b56 100644
--- a/pkgs/applications/science/math/gfan/default.nix
+++ b/pkgs/applications/science/math/gfan/default.nix
@@ -1,6 +1,5 @@
{stdenv, fetchurl, gmp, mpir, cddlib}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "gfan";
version = "0.6.2";
diff --git a/pkgs/applications/science/math/giac/default.nix b/pkgs/applications/science/math/giac/default.nix
index ad82d7572e3..90b1b367a7c 100644
--- a/pkgs/applications/science/math/giac/default.nix
+++ b/pkgs/applications/science/math/giac/default.nix
@@ -104,9 +104,7 @@ stdenv.mkDerivation rec {
description = "A free computer algebra system (CAS)";
homepage = "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html";
license = licenses.gpl3Plus;
- ## xcas is buildable on darwin but there are specific instructions I could
- ## not test
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = [ maintainers.symphorien ];
};
}
diff --git a/pkgs/applications/science/math/gmsh/default.nix b/pkgs/applications/science/math/gmsh/default.nix
index 503c98f5591..1d96c0039ad 100644
--- a/pkgs/applications/science/math/gmsh/default.nix
+++ b/pkgs/applications/science/math/gmsh/default.nix
@@ -1,28 +1,26 @@
{ stdenv, fetchurl, cmake, openblasCompat, gfortran, gmm, fltk, libjpeg
-, zlib, libGLU_combined, libGLU, xorg }:
+, zlib, libGLU_combined, libGLU, xorg, opencascade-occt }:
-let version = "4.2.3"; in
-
-stdenv.mkDerivation {
- name = "gmsh-${version}";
+stdenv.mkDerivation rec {
+ pname = "gmsh";
+ version = "4.4.1";
src = fetchurl {
url = "http://gmsh.info/src/gmsh-${version}-source.tgz";
- sha256 = "0n18wmj8i4m1pzri3r0676lx1427zf8qmsrgnn07drv6if1cia2q";
+ sha256 = "1p7hibmsgv961lfkzdxlgcvmcb0q155m2sp60r97cjsfzhw68g45";
};
- buildInputs = [ cmake openblasCompat gmm fltk libjpeg zlib libGLU_combined
+ buildInputs = [ openblasCompat gmm fltk libjpeg zlib libGLU_combined
libGLU xorg.libXrender xorg.libXcursor xorg.libXfixes xorg.libXext
xorg.libXft xorg.libXinerama xorg.libX11 xorg.libSM xorg.libICE
+ opencascade-occt
];
- nativeBuildInputs = [ gfortran ];
-
- enableParallelBuilding = true;
+ nativeBuildInputs = [ cmake gfortran ];
meta = {
description = "A three-dimensional finite element mesh generator";
- homepage = http://gmsh.info/;
+ homepage = "http://gmsh.info/";
platforms = [ "x86_64-linux" ];
license = stdenv.lib.licenses.gpl2Plus;
};
diff --git a/pkgs/applications/science/math/gurobi/default.nix b/pkgs/applications/science/math/gurobi/default.nix
index be14d141128..4ac7c411c2d 100644
--- a/pkgs/applications/science/math/gurobi/default.nix
+++ b/pkgs/applications/science/math/gurobi/default.nix
@@ -1,8 +1,10 @@
-{ stdenv, fetchurl, autoPatchelfHook, python }:
+{ stdenv, lib, fetchurl, autoPatchelfHook, python }:
-stdenv.mkDerivation rec {
- name = "gurobi-${version}";
- version = "8.1.0";
+let
+ majorVersion = "8.1";
+in stdenv.mkDerivation rec {
+ pname = "gurobi";
+ version = "${majorVersion}.0";
src = with stdenv.lib; fetchurl {
url = "http://packages.gurobi.com/${versions.majorMinor version}/gurobi${version}_linux64.tar.gz";
@@ -44,6 +46,8 @@ stdenv.mkDerivation rec {
ln -s $out/lib/gurobi-javadoc.jar $out/share/java/
'';
+ passthru.libSuffix = lib.replaceStrings ["."] [""] majorVersion;
+
meta = with stdenv.lib; {
description = "Optimization solver for mathematical programming";
homepage = https://www.gurobi.com;
diff --git a/pkgs/applications/science/math/hmetis/default.nix b/pkgs/applications/science/math/hmetis/default.nix
index 9eab9ca3999..45a13d02889 100644
--- a/pkgs/applications/science/math/hmetis/default.nix
+++ b/pkgs/applications/science/math/hmetis/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ghostscript }:
stdenv.mkDerivation rec {
- name = "hmetis-${version}";
+ pname = "hmetis";
version = "1.5";
src = fetchurl {
diff --git a/pkgs/applications/science/math/lp_solve/default.nix b/pkgs/applications/science/math/lp_solve/default.nix
index 0cf834c8cde..f39c6a04d19 100644
--- a/pkgs/applications/science/math/lp_solve/default.nix
+++ b/pkgs/applications/science/math/lp_solve/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
- name = "lp_solve-${version}";
+ pname = "lp_solve";
version = "5.5.2.5";
src = fetchurl {
diff --git a/pkgs/applications/science/math/lrcalc/default.nix b/pkgs/applications/science/math/lrcalc/default.nix
index 9e02b08c8ad..f407358d8f2 100644
--- a/pkgs/applications/science/math/lrcalc/default.nix
+++ b/pkgs/applications/science/math/lrcalc/default.nix
@@ -7,7 +7,6 @@
stdenv.mkDerivation rec {
version = "1.2";
pname = "lrcalc";
- name = "${pname}-${version}";
src = fetchFromBitbucket {
owner = "asbuch";
@@ -36,6 +35,6 @@ stdenv.mkDerivation rec {
homepage = http://math.rutgers.edu/~asbuch/lrcalc/;
license = licenses.gpl2Plus;
maintainers = with maintainers; [ timokau ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/science/math/mathematica/10.nix b/pkgs/applications/science/math/mathematica/10.nix
index c6802c3719e..4204b139913 100644
--- a/pkgs/applications/science/math/mathematica/10.nix
+++ b/pkgs/applications/science/math/mathematica/10.nix
@@ -26,7 +26,7 @@ in
stdenv.mkDerivation rec {
version = "10.0.2";
- name = "mathematica-${version}";
+ pname = "mathematica";
src = requireFile rec {
name = "Mathematica_${version}_LINUX.sh";
diff --git a/pkgs/applications/science/math/mathematica/11.nix b/pkgs/applications/science/math/mathematica/11.nix
new file mode 100644
index 00000000000..521cb70099b
--- /dev/null
+++ b/pkgs/applications/science/math/mathematica/11.nix
@@ -0,0 +1,150 @@
+{ stdenv
+, coreutils
+, patchelf
+, requireFile
+, callPackage
+, alsaLib
+, dbus
+, fontconfig
+, freetype
+, gcc
+, glib
+, ncurses
+, opencv
+, openssl
+, unixODBC
+, xkeyboard_config
+, xorg
+, zlib
+, libxml2
+, libuuid
+, lang ? "en"
+, libGL
+, libGLU
+}:
+
+let
+ l10n =
+ import ./l10ns.nix {
+ lib = stdenv.lib;
+ inherit requireFile lang;
+ majorVersion = "11";
+ };
+in
+stdenv.mkDerivation rec {
+ inherit (l10n) version name src;
+
+ buildInputs = [
+ coreutils
+ patchelf
+ alsaLib
+ coreutils
+ dbus
+ fontconfig
+ freetype
+ gcc.cc
+ gcc.libc
+ glib
+ ncurses
+ opencv
+ openssl
+ unixODBC
+ xkeyboard_config
+ libxml2
+ libuuid
+ zlib
+ libGL
+ libGLU
+ ] ++ (with xorg; [
+ libX11
+ libXext
+ libXtst
+ libXi
+ libXmu
+ libXrender
+ libxcb
+ libXcursor
+ libXfixes
+ libXrandr
+ libICE
+ libSM
+ ]);
+
+ ldpath = stdenv.lib.makeLibraryPath buildInputs
+ + stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
+ (":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs);
+
+ phases = "unpackPhase installPhase fixupPhase";
+
+ unpackPhase = ''
+ echo "=== Extracting makeself archive ==="
+ # find offset from file
+ offset=$(${stdenv.shell} -c "$(grep -axm1 -e 'offset=.*' $src); echo \$offset" $src)
+ dd if="$src" ibs=$offset skip=1 | tar -xf -
+ cd Unix
+ '';
+
+ installPhase = ''
+ cd Installer
+ # don't restrict PATH, that has already been done
+ sed -i -e 's/^PATH=/# PATH=/' MathInstaller
+ sed -i -e 's/\/bin\/bash/\/bin\/sh/' MathInstaller
+
+ echo "=== Running MathInstaller ==="
+ ./MathInstaller -auto -createdir=y -execdir=$out/bin -targetdir=$out/libexec/Mathematica -silent
+
+ # Fix library paths
+ cd $out/libexec/Mathematica/Executables
+ for path in mathematica MathKernel Mathematica WolframKernel wolfram math; do
+ sed -i -e 's#export LD_LIBRARY_PATH$#export LD_LIBRARY_PATH=${zlib}/lib:\''${LD_LIBRARY_PATH}#' $path
+ done
+
+ # Fix xkeyboard config path for Qt
+ for path in mathematica Mathematica; do
+ line=$(grep -n QT_PLUGIN_PATH $path | sed 's/:.*//')
+ sed -i -e "$line iexport QT_XKB_CONFIG_ROOT=\"${xkeyboard_config}/share/X11/xkb\"" $path
+ done
+ '';
+
+ preFixup = ''
+ echo "=== PatchElfing away ==="
+ # This code should be a bit forgiving of errors, unfortunately
+ set +e
+ find $out/libexec/Mathematica/SystemFiles -type f -perm -0100 | while read f; do
+ type=$(readelf -h "$f" 2>/dev/null | grep 'Type:' | sed -e 's/ *Type: *\([A-Z]*\) (.*/\1/')
+ if [ -z "$type" ]; then
+ :
+ elif [ "$type" == "EXEC" ]; then
+ echo "patching $f executable <<"
+ patchelf --shrink-rpath "$f"
+ patchelf \
+ --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
+ --set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \
+ "$f" \
+ && patchelf --shrink-rpath "$f" \
+ || echo unable to patch ... ignoring 1>&2
+ elif [ "$type" == "DYN" ]; then
+ echo "patching $f library <<"
+ patchelf \
+ --set-rpath "$(patchelf --print-rpath "$f"):${ldpath}" \
+ "$f" \
+ && patchelf --shrink-rpath "$f" \
+ || echo unable to patch ... ignoring 1>&2
+ else
+ echo "not patching $f <<: unknown elf type"
+ fi
+ done
+ '';
+
+ # all binaries are already stripped
+ dontStrip = true;
+
+ # we did this in prefixup already
+ dontPatchELF = true;
+
+ meta = {
+ description = "Wolfram Mathematica computational software system";
+ homepage = http://www.wolfram.com/mathematica/;
+ license = stdenv.lib.licenses.unfree;
+ };
+}
diff --git a/pkgs/applications/science/math/mathematica/9.nix b/pkgs/applications/science/math/mathematica/9.nix
index 1023e7ca3d5..aaa1c02ec0a 100644
--- a/pkgs/applications/science/math/mathematica/9.nix
+++ b/pkgs/applications/science/math/mathematica/9.nix
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
name = "mathematica-9.0.0";
- src = requireFile rec {
+ src = requireFile {
name = "Mathematica_9.0.0_LINUX.sh";
message = ''
This nix expression requires that Mathematica_9.0.0_LINUX.sh is
diff --git a/pkgs/applications/science/math/mathematica/default.nix b/pkgs/applications/science/math/mathematica/default.nix
index 165a5660557..ca9a87abe13 100644
--- a/pkgs/applications/science/math/mathematica/default.nix
+++ b/pkgs/applications/science/math/mathematica/default.nix
@@ -1,6 +1,7 @@
{ stdenv
, coreutils
, patchelf
+, requireFile
, callPackage
, alsaLib
, dbus
@@ -24,10 +25,10 @@
let
l10n =
- with stdenv.lib;
- with callPackage ./l10ns.nix {};
- flip (findFirst (l: l.lang == lang)) l10ns
- (throw "Language '${lang}' not supported");
+ import ./l10ns.nix {
+ lib = stdenv.lib;
+ inherit requireFile lang;
+ };
in
stdenv.mkDerivation rec {
inherit (l10n) version name src;
@@ -72,8 +73,6 @@ stdenv.mkDerivation rec {
+ stdenv.lib.optionalString (stdenv.hostPlatform.system == "x86_64-linux")
(":" + stdenv.lib.makeSearchPathOutput "lib" "lib64" buildInputs);
- phases = "unpackPhase installPhase fixupPhase";
-
unpackPhase = ''
echo "=== Extracting makeself archive ==="
# find offset from file
@@ -99,8 +98,7 @@ stdenv.mkDerivation rec {
# Fix xkeyboard config path for Qt
for path in mathematica Mathematica; do
- line=$(grep -n QT_PLUGIN_PATH $path | sed 's/:.*//')
- sed -i -e "$line iexport QT_XKB_CONFIG_ROOT=\"${xkeyboard_config}/share/X11/xkb\"" $path
+ sed -i -e "2iexport QT_XKB_CONFIG_ROOT=\"${xkeyboard_config}/share/X11/xkb\"\n" $path
done
'';
@@ -134,15 +132,19 @@ stdenv.mkDerivation rec {
done
'';
+ dontBuild = true;
+
# all binaries are already stripped
dontStrip = true;
# we did this in prefixup already
dontPatchELF = true;
- meta = {
+ meta = with stdenv.lib; {
description = "Wolfram Mathematica computational software system";
homepage = http://www.wolfram.com/mathematica/;
- license = stdenv.lib.licenses.unfree;
+ license = licenses.unfree;
+ maintainers = with maintainers; [ herberteuler ];
+ platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/science/math/mathematica/l10ns.nix b/pkgs/applications/science/math/mathematica/l10ns.nix
index 065360a112d..51fb489be7e 100644
--- a/pkgs/applications/science/math/mathematica/l10ns.nix
+++ b/pkgs/applications/science/math/mathematica/l10ns.nix
@@ -1,9 +1,18 @@
-{ lib, requireFile }:
+{ lib
+, requireFile
+, lang
+, majorVersion ? null
+}:
-with lib;
-{
- l10ns = flip map
+let allVersions = with lib; flip map
+ # N.B. Versions in this list should be ordered from newest to oldest.
[
+ {
+ version = "12.0.0";
+ lang = "en";
+ language = "English";
+ sha256 = "b9fb71e1afcc1d72c200196ffa434512d208fa2920e207878433f504e58ae9d7";
+ }
{
version = "11.3.0";
lang = "en";
@@ -30,4 +39,16 @@ with lib;
inherit sha256;
};
});
-}
+minVersion =
+ with lib;
+ if majorVersion == null
+ then elemAt (builtins.splitVersion (elemAt allVersions 0).version) 0
+ else majorVersion;
+maxVersion = toString (1 + builtins.fromJSON minVersion);
+in
+with lib;
+findFirst (l: (l.lang == lang
+ && l.version >= minVersion
+ && l.version < maxVersion))
+ (throw "Version ${minVersion} in language ${lang} not supported")
+ allVersions
diff --git a/pkgs/applications/science/math/mxnet/default.nix b/pkgs/applications/science/math/mxnet/default.nix
index 9c1a2e20282..bd4725ce73c 100644
--- a/pkgs/applications/science/math/mxnet/default.nix
+++ b/pkgs/applications/science/math/mxnet/default.nix
@@ -1,5 +1,5 @@
{ config, stdenv, lib, fetchurl, bash, cmake
-, opencv, gtest, openblas, liblapack, perl
+, opencv3, gtest, openblas, liblapack, perl
, cudaSupport ? config.cudaSupport or false, cudatoolkit, nvidia_x11
, cudnnSupport ? cudaSupport, cudnn
}:
@@ -7,25 +7,23 @@
assert cudnnSupport -> cudaSupport;
stdenv.mkDerivation rec {
- name = "mxnet-${version}";
- version = "1.2.1";
+ pname = "mxnet";
+ version = "1.4.1";
- # Fetching from git does not work at the time (1.2.1) due to an
- # incorrect hash in one of the submodules. The provided tarballs
- # contain all necessary sources.
src = fetchurl {
url = "https://github.com/apache/incubator-mxnet/releases/download/${version}/apache-mxnet-src-${version}-incubating.tar.gz";
- sha256 = "053zbdgs4j8l79ipdz461zc7wyfbfcflmi5bw7lj2q08zm1glnb2";
+ sha256 = "1d0lhlpdaxycjzpwwrpgjd3v2q2ka89v5rr13ddxayy7ld2hxiaj";
};
nativeBuildInputs = [ cmake perl ];
- buildInputs = [ opencv gtest openblas liblapack ]
+ buildInputs = [ opencv3 gtest openblas liblapack ]
++ lib.optionals cudaSupport [ cudatoolkit nvidia_x11 ]
++ lib.optional cudnnSupport cudnn;
cmakeFlags =
- (if cudaSupport then [
+ [ "-DUSE_MKL_IF_AVAILABLE=OFF" ]
+ ++ (if cudaSupport then [
"-DUSE_OLDCMAKECUDA=ON" # see https://github.com/apache/incubator-mxnet/issues/10743
"-DCUDA_ARCH_NAME=All"
"-DCUDA_HOST_COMPILER=${cudatoolkit.cc}/bin/cc"
diff --git a/pkgs/applications/science/math/nauty/default.nix b/pkgs/applications/science/math/nauty/default.nix
index 226e13c004d..e9c8b688fb9 100644
--- a/pkgs/applications/science/math/nauty/default.nix
+++ b/pkgs/applications/science/math/nauty/default.nix
@@ -3,7 +3,7 @@
, fetchurl
}:
stdenv.mkDerivation rec {
- name = "nauty-${version}";
+ pname = "nauty";
version = "26r11";
src = fetchurl {
url = "http://pallini.di.uniroma1.it/nauty${version}.tar.gz";
@@ -14,10 +14,10 @@ stdenv.mkDerivation rec {
# Prevent nauty from sniffing some cpu features. While those are very
# widely available, it can lead to nasty bugs when they are not available:
# https://groups.google.com/forum/#!topic/sage-packaging/Pe4SRDNYlhA
- "default" = [ "--disable-clz" "--disable-popcnt" ];
- "westmere" = [ "--disable-clz" ];
- "sandybridge" = [ "--disable-clz" ];
- "ivybridge" = [ "--disable-clz" ];
+ default = [ "--disable-clz" "--disable-popcnt" ];
+ westmere = [ "--disable-clz" ];
+ sandybridge = [ "--disable-clz" ];
+ ivybridge = [ "--disable-clz" ];
}.${stdenv.hostPlatform.platform.gcc.arch or "default"} or [];
buildInputs = [];
installPhase = ''
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
description = ''Programs for computing automorphism groups of graphs and digraphs'';
license = licenses.asl20;
maintainers = with maintainers; [ raskin timokau ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
homepage = http://pallini.di.uniroma1.it/;
};
}
diff --git a/pkgs/applications/science/math/pari/default.nix b/pkgs/applications/science/math/pari/default.nix
index 72827112c50..89ae354e7c7 100644
--- a/pkgs/applications/science/math/pari/default.nix
+++ b/pkgs/applications/science/math/pari/default.nix
@@ -1,6 +1,5 @@
{ stdenv
, fetchurl
-, fetchpatch
, gmp
, readline
, libX11
@@ -13,25 +12,13 @@ assert withThread -> libpthreadstubs != null;
stdenv.mkDerivation rec {
pname = "pari";
- version = "2.11.1";
+ version = "2.11.2";
src = fetchurl {
url = "https://pari.math.u-bordeaux.fr/pub/pari/unix/${pname}-${version}.tar.gz";
- sha256 = "1jfax92jpydjd02fwl30r6b8kfzqqd6sm4yx94gidyz9lqjb7a94";
+ sha256 = "0fck8ssmirl8fy7s4mspgrxjs5sag76xbshqlqzkcl3kqyrk4raa";
};
- patches = [
- # Fix a off-by-one bug that can potentially lead to segfaults (accepted upstream)
- # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2117
- # https://trac.sagemath.org/ticket/27335
- (fetchpatch {
- name = "fix-off-by-one-error.patch";
- # only relevant parts of https://pari.math.u-bordeaux.fr/cgi-bin/gitweb.cgi?p=pari.git;a=patch;h=aa1ee6e0898d177e6bcf49237d82c804bc410985
- url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pari/patches/red_montgomery.patch?id=bbea55c96e1f05302b3c7f593cf64492497047c5";
- sha256 = "0vqkmhgv9splsdswp6zjnkj50z76rc1m6k9iy3cf9dxwqw3h3nr6";
- })
- ];
-
buildInputs = [
gmp
readline
diff --git a/pkgs/applications/science/math/pari/gp2c.nix b/pkgs/applications/science/math/pari/gp2c.nix
index 4915e42025b..e743c8ae95b 100644
--- a/pkgs/applications/science/math/pari/gp2c.nix
+++ b/pkgs/applications/science/math/pari/gp2c.nix
@@ -3,12 +3,12 @@
stdenv.mkDerivation rec {
- name = "gp2c-${version}";
- version = "0.0.11pl1";
+ pname = "gp2c";
+ version = "0.0.11pl2";
src = fetchurl {
- url = "https://pari.math.u-bordeaux.fr/pub/pari/GP2C/${name}.tar.gz";
- sha256 = "1c6f6vmncw032kfzrfyr8bynw6yd3faxpy2285r009fmr0zxfs5s";
+ url = "https://pari.math.u-bordeaux.fr/pub/pari/GP2C/${pname}-${version}.tar.gz";
+ sha256 = "0wqsf05wgkqvmmsx7jinvzdqav6rl56sr8haibgs31nzz4x9xz9g";
};
buildInputs = [ pari perl ];
diff --git a/pkgs/applications/science/math/pcalc/default.nix b/pkgs/applications/science/math/pcalc/default.nix
index 3e7d9898a65..167ab9275fa 100644
--- a/pkgs/applications/science/math/pcalc/default.nix
+++ b/pkgs/applications/science/math/pcalc/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "pcalc-${version}";
+ pname = "pcalc";
version = "20141224";
src = fetchgit {
diff --git a/pkgs/applications/science/math/polymake/default.nix b/pkgs/applications/science/math/polymake/default.nix
index 4fba231f094..fdc4de7b028 100644
--- a/pkgs/applications/science/math/polymake/default.nix
+++ b/pkgs/applications/science/math/polymake/default.nix
@@ -7,7 +7,6 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "polymake";
version = "3.2.rc4";
diff --git a/pkgs/applications/science/math/pynac/default.nix b/pkgs/applications/science/math/pynac/default.nix
index 75a46bb182a..05c0c0e8ec6 100644
--- a/pkgs/applications/science/math/pynac/default.nix
+++ b/pkgs/applications/science/math/pynac/default.nix
@@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
homepage = http://pynac.org;
license = licenses.gpl3;
maintainers = with maintainers; [ timokau ];
- platforms = platforms.linux;
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/science/math/qalculate-gtk/default.nix b/pkgs/applications/science/math/qalculate-gtk/default.nix
index 0e0df9d72fe..b4d82b9583c 100644
--- a/pkgs/applications/science/math/qalculate-gtk/default.nix
+++ b/pkgs/applications/science/math/qalculate-gtk/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "qalculate-gtk";
- version = "3.1.0";
+ version = "3.3.0";
src = fetchFromGitHub {
owner = "qalculate";
repo = "qalculate-gtk";
rev = "v${version}";
- sha256 = "1ayhzsxf2qgs4j1j0xl942ysfy3zl2z1fp7l2s5nh5awr41mhnqc";
+ sha256 = "1z2d32dcvdd66114j3km58xfk80hc5rd0zrh2fgz1azv8r4cqq1b";
};
patchPhase = ''
diff --git a/pkgs/applications/science/math/ratpoints/default.nix b/pkgs/applications/science/math/ratpoints/default.nix
index 2dd4778234d..71d16fb626c 100644
--- a/pkgs/applications/science/math/ratpoints/default.nix
+++ b/pkgs/applications/science/math/ratpoints/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, gmp }:
stdenv.mkDerivation rec {
- name = "ratpoints-${version}";
+ pname = "ratpoints";
version = "2.1.3.p4";
src = fetchurl {
diff --git a/pkgs/applications/science/math/ripser/default.nix b/pkgs/applications/science/math/ripser/default.nix
index 5e0b7fc300b..a42a5b710ce 100644
--- a/pkgs/applications/science/math/ripser/default.nix
+++ b/pkgs/applications/science/math/ripser/default.nix
@@ -17,7 +17,8 @@ let
version = "1.0";
in
stdenv.mkDerivation {
- name = "ripser-${version}";
+ pname = "ripser";
+ inherit version;
src = fetchFromGitHub {
owner = "Ripser";
diff --git a/pkgs/applications/science/math/sage/default.nix b/pkgs/applications/science/math/sage/default.nix
index 92ec32d5cc5..caf51c3da25 100644
--- a/pkgs/applications/science/math/sage/default.nix
+++ b/pkgs/applications/science/math/sage/default.nix
@@ -7,7 +7,7 @@
# is always preferred, see `sage-src.nix` for that.
let
- inherit (pkgs) fetchurl symlinkJoin callPackage nodePackages;
+ inherit (pkgs) symlinkJoin callPackage nodePackages;
# https://trac.sagemath.org/ticket/15980 for tracking of python3 support
python = pkgs.python2.override {
@@ -33,7 +33,7 @@ let
# `sagelib`, i.e. all of sage except some wrappers and runtime dependencies
sagelib = self.callPackage ./sagelib.nix {
inherit flint ecl arb;
- inherit sage-src pynac singular;
+ inherit sage-src env-locations pynac singular;
linbox = pkgs.linbox.override { withSage = true; };
pkg-config = pkgs.pkgconfig; # not to confuse with pythonPackages.pkgconfig
};
@@ -130,7 +130,7 @@ let
singular = pkgs.singular.override { inherit flint; };
# https://trac.sagemath.org/ticket/26625
- maxima-ecl = pkgs.maxima-ecl-5_41;
+ maxima-ecl = pkgs.maxima-ecl;
# *not* to confuse with the python package "pynac"
pynac = pkgs.pynac.override { inherit singular flint; };
diff --git a/pkgs/applications/science/math/sage/dist-tests.nix b/pkgs/applications/science/math/sage/dist-tests.nix
new file mode 100644
index 00000000000..24a86a8f37a
--- /dev/null
+++ b/pkgs/applications/science/math/sage/dist-tests.nix
@@ -0,0 +1,17 @@
+# Lists past failures and files associated with it. The intention is to build
+# up a subset of a testsuite that catches 95% of failures that are relevant for
+# distributions while only taking ~5m to run. This in turn makes it more
+# reasonable to re-test sage on dependency changes and makes it easier for
+# users to override the sage derivation.
+# This is an experiment for now. If it turns out that there really is a small
+# subset of files responsible for the vast majority of packaging tests, we can
+# think about moving this upstream.
+[
+ "src/sage/env.py" # [1]
+ "src/sage/misc/persist.pyx" # [1]
+ "src/sage/misc/inline_fortran.py" # [1]
+ "src/sage/repl/ipython_extension.py" # [1]
+]
+
+# Numbered list of past failures to annotate files with
+# [1] PYTHONPATH related issue https://github.com/NixOS/nixpkgs/commit/ec7f569211091282410050e89e68832d4fe60528
diff --git a/pkgs/applications/science/math/sage/flask-oldsessions.nix b/pkgs/applications/science/math/sage/flask-oldsessions.nix
index 85e35736d03..0899c93602b 100644
--- a/pkgs/applications/science/math/sage/flask-oldsessions.nix
+++ b/pkgs/applications/science/math/sage/flask-oldsessions.nix
@@ -13,7 +13,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "mitsuhiko";
repo = "flask-oldsessions";
- rev = "${version}";
+ rev = version;
sha256 = "04b5m8njjiwld9a0zw55iqwvyjgwcpdbhz1cic8nyhgcmypbicqn";
};
diff --git a/pkgs/applications/science/math/sage/patches/configurationpy-error-verbose.patch b/pkgs/applications/science/math/sage/patches/configurationpy-error-verbose.patch
new file mode 100644
index 00000000000..e687281ad1a
--- /dev/null
+++ b/pkgs/applications/science/math/sage/patches/configurationpy-error-verbose.patch
@@ -0,0 +1,19 @@
+diff --git a/src/sage/repl/configuration.py b/src/sage/repl/configuration.py
+index 67d7d2accf..18279581e2 100644
+--- a/src/sage/repl/configuration.py
++++ b/src/sage/repl/configuration.py
+@@ -9,10 +9,11 @@ the IPython simple prompt is being used::
+ sage: cmd = 'print([sys.stdin.isatty(), sys.stdout.isatty()])'
+ sage: import pexpect
+ sage: output = pexpect.run(
+- ....: 'bash -c \'echo "{0}" | sage\''.format(cmd),
++ ....: 'bash -c \'export SAGE_BANNER=no; echo "{0}" | sage\''.format(cmd),
+ ....: ).decode('utf-8', 'surrogateescape')
+- sage: 'sage: [False, True]' in output
+- True
++ sage: print(output)
++ sage...[False, True]
++ sage...Exiting Sage ...
+ """
+
+ #*****************************************************************************
diff --git a/pkgs/applications/science/math/sage/patches/do-not-test-package-manifests.patch b/pkgs/applications/science/math/sage/patches/do-not-test-package-manifests.patch
deleted file mode 100644
index 9e3f0f5ae88..00000000000
--- a/pkgs/applications/science/math/sage/patches/do-not-test-package-manifests.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/src/sage/misc/package.py b/src/sage/misc/package.py
-index 3bca15d53b..7cf04ff8d1 100644
---- a/src/sage/misc/package.py
-+++ b/src/sage/misc/package.py
-@@ -478,16 +478,16 @@ def package_manifest(package):
-
- EXAMPLES::
-
-- sage: from sage.misc.package import package_manifest
-- sage: sagetex_manifest = package_manifest('sagetex')
-- sage: sagetex_manifest['package_name'] == 'sagetex'
-+ sage: from sage.misc.package import package_manifest # optional - buildsystem
-+ sage: sagetex_manifest = package_manifest('sagetex') # optional - buildsystem
-+ sage: sagetex_manifest['package_name'] == 'sagetex' # optional - buildsystem
- True
-- sage: 'files' in sagetex_manifest
-+ sage: 'files' in sagetex_manifest # optional - buildsystem
- True
-
- Test a nonexistent package::
-
-- sage: package_manifest('dummy-package')
-+ sage: package_manifest('dummy-package') # optional - buildsystem
- Traceback (most recent call last):
- ...
- KeyError: 'dummy-package'
diff --git a/pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch b/pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch
new file mode 100644
index 00000000000..933344aa559
--- /dev/null
+++ b/pkgs/applications/science/math/sage/patches/sphinx-docbuild-subprocesses.patch
@@ -0,0 +1,57 @@
+diff --git a/src/sage_setup/docbuild/__init__.py b/src/sage_setup/docbuild/__init__.py
+index 0f2700168a..60f71357d2 100644
+--- a/src/sage_setup/docbuild/__init__.py
++++ b/src/sage_setup/docbuild/__init__.py
+@@ -86,26 +86,6 @@ def builder_helper(type):
+ """
+ Returns a function which builds the documentation for
+ output type ``type``.
+-
+- TESTS:
+-
+- Check that :trac:`25161` has been resolved::
+-
+- sage: from sage_setup.docbuild import DocBuilder, setup_parser
+- sage: DocBuilder._options = setup_parser().parse_args([])[0] # builder_helper needs _options to be set
+-
+- sage: import sage_setup.docbuild.sphinxbuild
+- sage: def raiseBaseException():
+- ....: raise BaseException("abort pool operation")
+- sage: original_runsphinx, sage_setup.docbuild.sphinxbuild.runsphinx = sage_setup.docbuild.sphinxbuild.runsphinx, raiseBaseException
+-
+- sage: from sage_setup.docbuild import builder_helper, build_many, build_ref_doc
+- sage: helper = builder_helper("html")
+- sage: try:
+- ....: build_many(build_ref_doc, [("docname", "en", "html", {})])
+- ....: except Exception as E:
+- ....: "Non-exception during docbuild: abort pool operation" in str(E)
+- True
+ """
+ def f(self, *args, **kwds):
+ output_dir = self._output_dir(type)
+@@ -127,10 +107,9 @@ def builder_helper(type):
+ logger.debug(build_command)
+
+ # Run Sphinx with Sage's special logger
+- sys.argv = ["sphinx-build"] + build_command.split()
+- from .sphinxbuild import runsphinx
++ args = "python -um sage_setup.docbuild.sphinxbuild -N".split() + build_command.split()
+ try:
+- runsphinx()
++ subprocess.check_call(args)
+ except Exception:
+ if ABORT_ON_ERROR:
+ raise
+diff --git a/src/sage_setup/docbuild/sphinxbuild.py b/src/sage_setup/docbuild/sphinxbuild.py
+index 9a2fba79bc..77c8ed3592 100644
+--- a/src/sage_setup/docbuild/sphinxbuild.py
++++ b/src/sage_setup/docbuild/sphinxbuild.py
+@@ -318,3 +318,8 @@ def runsphinx():
+ sys.stderr = saved_stderr
+ sys.stdout.flush()
+ sys.stderr.flush()
++
++if __name__ == '__main__':
++ import sys
++ sys.argv[0] = "sphinx-build"
++ runsphinx()
diff --git a/pkgs/applications/science/math/sage/patches/sympow-cache.patch b/pkgs/applications/science/math/sage/patches/sympow-cache.patch
new file mode 100644
index 00000000000..20020d610f8
--- /dev/null
+++ b/pkgs/applications/science/math/sage/patches/sympow-cache.patch
@@ -0,0 +1,21 @@
+diff --git a/src/sage/lfunctions/sympow.py b/src/sage/lfunctions/sympow.py
+index 1640ac4f6a..03578be7b8 100644
+--- a/src/sage/lfunctions/sympow.py
++++ b/src/sage/lfunctions/sympow.py
+@@ -50,6 +50,7 @@ from __future__ import print_function, absolute_import
+
+ import os
+
++from sage.env import DOT_SAGE
+ from sage.structure.sage_object import SageObject
+ from sage.misc.all import pager, verbose
+ import sage.rings.all
+@@ -76,7 +77,7 @@ class Sympow(SageObject):
+ """
+ Used to call sympow with given args
+ """
+- cmd = 'sympow %s'%args
++ cmd = 'env SYMPOW_CACHEDIR="%s/sympow///" sympow %s' % (DOT_SAGE, args)
+ v = os.popen(cmd).read().strip()
+ verbose(v, level=2)
+ return v
diff --git a/pkgs/applications/science/math/sage/patches/threejs-offline.patch b/pkgs/applications/science/math/sage/patches/threejs-offline.patch
new file mode 100644
index 00000000000..62b2f114bd6
--- /dev/null
+++ b/pkgs/applications/science/math/sage/patches/threejs-offline.patch
@@ -0,0 +1,64 @@
+diff --git a/build/pkgs/threejs/spkg-src b/build/pkgs/threejs/spkg-src
+index 91780d813c..254b850a24 100755
+--- a/build/pkgs/threejs/spkg-src
++++ b/build/pkgs/threejs/spkg-src
+@@ -20,9 +20,17 @@ URL3="https://raw.githubusercontent.com/mrdoob/three.js/${GIT_VERSION}/LICENSE"
+ echo "Downloading $URL3"
+ curl -OL "$URL3"
+
++# Set up directory structure
++
++mkdir build
++mv three.min.js build
++
++mkdir -p examples/js/controls
++mv OrbitControls.js examples/js/controls
++
+ # Package
+-tar czf "$SAGE_ROOT/upstream/threejs-${GIT_VERSION}.tar.gz" 'three.min.js' 'OrbitControls.js' 'LICENSE'
+-rm -rf 'three.min.js' 'OrbitControls.js' 'LICENSE'
++tar czf "$SAGE_ROOT/upstream/threejs-${GIT_VERSION}.tar.gz" build examples 'LICENSE'
++rm -rf 'build' 'examples' 'LICENSE'
+
+ # Update package info
+ echo "${GIT_VERSION}" > 'package-version.txt'
+diff --git a/src/sage/repl/rich_output/backend_ipython.py b/src/sage/repl/rich_output/backend_ipython.py
+index 7c27d48a21..8bf4861a35 100644
+--- a/src/sage/repl/rich_output/backend_ipython.py
++++ b/src/sage/repl/rich_output/backend_ipython.py
+@@ -411,10 +411,15 @@ class BackendIPythonCommandline(BackendIPython):
+ sage: backend.threejs_offline_scripts()
+ '...
+-
++
++
+
diff --git a/pkgs/applications/science/math/sage/pybrial.nix b/pkgs/applications/science/math/sage/pybrial.nix
index f5cb39603c3..092a340bb5b 100644
--- a/pkgs/applications/science/math/sage/pybrial.nix
+++ b/pkgs/applications/science/math/sage/pybrial.nix
@@ -15,7 +15,7 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "BRiAl";
repo = "BRiAl";
- rev = "${version}";
+ rev = version;
sha256 = "0qy4cwy7qrk4zg151cmws5cglaa866z461cnj9wdnalabs7v7qbg";
};
diff --git a/pkgs/applications/science/math/sage/sage-src.nix b/pkgs/applications/science/math/sage/sage-src.nix
index 56d8082d2f5..57d6c852be8 100644
--- a/pkgs/applications/science/math/sage/sage-src.nix
+++ b/pkgs/applications/science/math/sage/sage-src.nix
@@ -10,14 +10,14 @@
# all get the same sources with the same patches applied.
stdenv.mkDerivation rec {
- version = "8.7";
+ version = "8.8";
pname = "sage-src";
src = fetchFromGitHub {
owner = "sagemath";
repo = "sage";
rev = version;
- sha256 = "05vvrd6syh0hlmrk6kzjrwd0hpmvxp8vr8p3mkjb0jh5p2kjdd27";
+ sha256 = "0jm7zdkz8wfgrmf6620jfr8kgvprrz3qfl8gzx6rl5z5cm734b6x";
};
# Patches needed because of particularities of nix or the way this is packaged.
@@ -45,42 +45,26 @@ stdenv.mkDerivation rec {
# Fixes a potential race condition which can lead to transient doctest failures.
./patches/fix-ecl-race.patch
- # Parallelize docubuild using subprocesses, fixing an isolation issue. See
- # https://groups.google.com/forum/#!topic/sage-packaging/YGOm8tkADrE
- (fetchpatch {
- name = "sphinx-docbuild-subprocesses.patch";
- url = "https://salsa.debian.org/science-team/sagemath/raw/8a215b17e6f791ddfae6df8ce6d01dfb89acb434/debian/patches/df-subprocess-sphinx.patch";
- sha256 = "07p9i0fwjgapmfvmi436yn6v60p8pvmxqjc93wsssqgh5kd8qw3n";
- stripLen = 1;
- })
-
- # Part of the build system. Should become unnecessary with sage 8.8.
- # Upstream discussion here: https://trac.sagemath.org/ticket/27124#comment:33
- ./patches/do-not-test-package-manifests.patch
-
# Not necessary since library location is set explicitly
# https://trac.sagemath.org/ticket/27660#ticket
./patches/do-not-test-find-library.patch
- # https://trac.sagemath.org/ticket/27697#ticket
- (fetchpatch {
- name = "pplpy-doc-location-configurable.patch";
- url = "https://git.sagemath.org/sage.git/patch/?h=c4d966e7cb0c7b87c55d52dc6f46518433a2a0a2";
- sha256 = "0pqbbsx8mriwny422s9mp3z5d095cnam32sm62q4mxk8g8jb9vm9";
- })
+
+ # https://trac.sagemath.org/ticket/28007
+ ./patches/threejs-offline.patch
+
+ # Parallelize docubuild using subprocesses, fixing an isolation issue. See
+ # https://groups.google.com/forum/#!topic/sage-packaging/YGOm8tkADrE
+ ./patches/sphinx-docbuild-subprocesses.patch
];
# Since sage unfortunately does not release bugfix releases, packagers must
# fix those bugs themselves. This is for critical bugfixes, where "critical"
# == "causes (transient) doctest failures / somebody complained".
bugfixPatches = [
- # Transient doctest failure in src/sage/modular/abvar/torsion_subgroup.py
- # https://trac.sagemath.org/ticket/27477
- (fetchpatch {
- name = "sig_on_in_matrix_sparce.patch";
- url = "https://git.sagemath.org/sage.git/patch?id2=10407524b18659e14e184114b61c043fb816f3c2&id=c9b0cc9d0b8748ab85e568f8f57f316c5e8cbe54";
- sha256 = "0wgp7yvn9sm1ynlhcr4l0hzmvr2n28llg4xc01p6k1zz4im64c17";
- })
+ # To help debug the transient error in
+ # https://trac.sagemath.org/ticket/23087 when it next occurs.
+ ./patches/configurationpy-error-verbose.patch
];
# Patches needed because of package updates. We could just pin the versions of
@@ -113,35 +97,6 @@ stdenv.mkDerivation rec {
stripLen = 1;
})
- # https://trac.sagemath.org/ticket/26451
- (fetchSageDiff {
- name = "sphinx-1.8.patch";
- base = "8.7";
- rev = "737afd8f314bd1e16feaec562bb4b5efa2effa8b";
- sha256 = "0n56ss88ds662bp49j23z5c2i6hsn3jynxw13wv76hyl0h7l1hjh";
- })
-
- # https://trac.sagemath.org/ticket/27653
- (fetchpatch {
- name = "sympy-1.4.patch";
- url = "https://git.sagemath.org/sage.git/patch/?h=3277ba76d0ba7174608a31a0c6623e9210c63e3d";
- sha256 = "09avaanwmdgqv14mmllbgw9z2scf4lc0y0kzdhlriiq8ss9j8iir";
- })
-
- # https://trac.sagemath.org/ticket/27094
- (fetchpatch {
- name = "gap-4.10.1.patch";
- url = "https://git.sagemath.org/sage.git/patch?id=d3483110474591ea6cc8e3210cd884f3e0018b3e";
- sha256 = "028i6h8l8npwzx5z0ax0rcywl85gc83qw1jf93zf523msdfcsk0n";
- })
-
- # https://trac.sagemath.org/ticket/27738
- (fetchpatch {
- name = "R-3.6.0.patch";
- url = "https://git.sagemath.org/sage.git/patch/?h=8b7dbd0805d02d0e8674a272e161ceb24a637966";
- sha256 = "1c81f13z1w62s06yvp43gz6vkp8mxcs289n6l4gj9xj10slimzff";
- })
-
# https://trac.sagemath.org/ticket/26932
(fetchSageDiff {
name = "givaro-4.1.0_fflas-ffpack-2.4.0_linbox-1.6.0.patch";
@@ -149,6 +104,11 @@ stdenv.mkDerivation rec {
rev = "c11d9cfa23ff9f77681a8f12742f68143eed4504";
sha256 = "0xzra7mbgqvahk9v45bjwir2mqz73hrhhy314jq5nxrb35ysdxyi";
})
+
+ # After updating smypow to (https://trac.sagemath.org/ticket/3360) we can
+ # now set the cache dir to be withing the .sage directory. This is not
+ # strictly necessary, but keeps us from littering in the user's HOME.
+ ./patches/sympow-cache.patch
];
patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;
diff --git a/pkgs/applications/science/math/sage/sage-tests.nix b/pkgs/applications/science/math/sage/sage-tests.nix
index 12433e12fe9..93ec1e33cf6 100644
--- a/pkgs/applications/science/math/sage/sage-tests.nix
+++ b/pkgs/applications/science/math/sage/sage-tests.nix
@@ -23,9 +23,9 @@ let
relpathToArg = relpath: lib.escapeShellArg "${src}/${relpath}"; # paths need to be absolute
testFileList = lib.concatStringsSep " " (map relpathToArg files);
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = src.version;
- name = "sage-tests-${version}";
+ pname = "sage-tests";
inherit src;
buildInputs = [
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
sage-with-env
];
- unpackPhase = "#do nothing";
+ dontUnpack = true;
configurePhase = "#do nothing";
buildPhase = "#do nothing";
@@ -51,6 +51,10 @@ stdenv.mkDerivation rec {
export HOME="$TMPDIR/sage-home"
mkdir -p "$HOME"
+ # avoid running out of memory with many threads in subprocesses, see
+ # https://github.com/NixOS/nixpkgs/pull/65802
+ export GLIBC_TUNABLES=glibc.malloc.arena_max=4
+
echo "Running sage tests with arguments ${timeSpecifier} ${patienceSpecifier} ${testArgs}"
"sage" -t --nthreads "$NIX_BUILD_CORES" --optional=sage ${timeSpecifier} ${patienceSpecifier} ${testArgs}
'';
diff --git a/pkgs/applications/science/math/sage/sage-with-env.nix b/pkgs/applications/science/math/sage/sage-with-env.nix
index 5bb7eda47d5..524085e8c01 100644
--- a/pkgs/applications/science/math/sage/sage-with-env.nix
+++ b/pkgs/applications/science/math/sage/sage-with-env.nix
@@ -87,7 +87,7 @@ let
in
stdenv.mkDerivation rec {
version = src.version;
- name = "sage-with-env-${version}";
+ pname = "sage-with-env";
src = sage-env.lib.src;
inherit buildInputs;
@@ -99,6 +99,13 @@ stdenv.mkDerivation rec {
for pkg in ${lib.concatStringsSep " " input_names}; do
touch "installed/$pkg"
done
+
+ # threejs version is in format 0..minor, but sage currently still
+ # relies on installed_packages for the online version of threejs to work
+ # and expects the format r. This is a hotfix for now.
+ # upstream: https://trac.sagemath.org/ticket/26434
+ rm "installed/threejs"*
+ touch "installed/threejs-r${lib.versions.minor three.version}"
'';
installPhase = ''
diff --git a/pkgs/applications/science/math/sage/sage.nix b/pkgs/applications/science/math/sage/sage.nix
index 541b9cb36dc..4fa8ae6270b 100644
--- a/pkgs/applications/science/math/sage/sage.nix
+++ b/pkgs/applications/science/math/sage/sage.nix
@@ -11,7 +11,7 @@
# A wrapper that makes sure sage finds its docs (if they were build) and the
# jupyter kernel spec.
-let
+let
# generate kernel spec + default kernels
kernel-specs = jupyter-kernel.create {
definitions = jupyter-kernel.default // {
@@ -21,7 +21,7 @@ let
in
stdenv.mkDerivation rec {
version = src.version;
- name = "sage-${version}";
+ pname = "sage";
src = sage-with-env.env.lib.src;
buildInputs = [
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
sage-tests
];
- unpackPhase = "#do nothing";
+ dontUnpack = true;
configurePhase = "#do nothing";
buildPhase = "#do nothing";
diff --git a/pkgs/applications/science/math/sage/sagedoc.nix b/pkgs/applications/science/math/sage/sagedoc.nix
index 91c880673a1..bf618fe64f4 100644
--- a/pkgs/applications/science/math/sage/sagedoc.nix
+++ b/pkgs/applications/science/math/sage/sagedoc.nix
@@ -9,7 +9,7 @@
stdenv.mkDerivation rec {
version = src.version;
- name = "sagedoc-${version}";
+ pname = "sagedoc";
src = sage-with-env.env.lib.src;
diff --git a/pkgs/applications/science/math/sage/sagelib.nix b/pkgs/applications/science/math/sage/sagelib.nix
index d745532d5d7..6eac84aaa86 100644
--- a/pkgs/applications/science/math/sage/sagelib.nix
+++ b/pkgs/applications/science/math/sage/sagelib.nix
@@ -1,4 +1,5 @@
{ sage-src
+, env-locations
, perl
, buildPythonPackage
, arb
@@ -59,7 +60,7 @@
buildPythonPackage rec {
format = "other";
version = src.version;
- name = "sagelib-${version}";
+ pname = "sagelib";
src = sage-src;
nativeBuildInputs = [
@@ -125,8 +126,11 @@ buildPythonPackage rec {
export SAGE_ROOT="$PWD"
export SAGE_LOCAL="$SAGE_ROOT"
export SAGE_SHARE="$SAGE_LOCAL/share"
- export JUPYTER_PATH="$SAGE_LOCAL/jupyter"
+ # set locations of dependencies (needed for nbextensions like threejs)
+ . ${env-locations}/sage-env-locations
+
+ export JUPYTER_PATH="$SAGE_LOCAL/jupyter"
export PATH="$SAGE_ROOT/build/bin:$SAGE_ROOT/src/bin:$PATH"
export SAGE_NUM_THREADS="$NIX_BUILD_CORES"
diff --git a/pkgs/applications/science/math/sage/sagenb.nix b/pkgs/applications/science/math/sage/sagenb.nix
index 32335b45202..03b5b7a3bbf 100644
--- a/pkgs/applications/science/math/sage/sagenb.nix
+++ b/pkgs/applications/science/math/sage/sagenb.nix
@@ -1,5 +1,4 @@
{ stdenv
-, fetchpatch
, python
, buildPythonPackage
, fetchFromGitHub
diff --git a/pkgs/applications/science/math/scilab-bin/default.nix b/pkgs/applications/science/math/scilab-bin/default.nix
index c3a74d14bc0..8e85cece9b2 100644
--- a/pkgs/applications/science/math/scilab-bin/default.nix
+++ b/pkgs/applications/science/math/scilab-bin/default.nix
@@ -3,9 +3,7 @@
let
name = "scilab-bin-${ver}";
- ver = "6.0.1";
-
- majorVer = builtins.elemAt (lib.splitString "." ver) 0;
+ ver = "6.0.2";
badArch = throw "${name} requires i686-linux or x86_64-linux";
@@ -17,7 +15,7 @@ let
else
badArch;
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit name;
src = fetchurl {
@@ -26,7 +24,7 @@ stdenv.mkDerivation rec {
if stdenv.hostPlatform.system == "i686-linux" then
"0fgjc2ak3b2qi6yin3fy50qwk2bcj0zbz1h4lyyic9n1n1qcliib"
else if stdenv.hostPlatform.system == "x86_64-linux" then
- "1scswlznc14vyzg0gqa1q9gcpwx05kz1sbn563463mzkdp7nd35d"
+ "05clcdgry90drirl3swbxn5q36fmgknnhs6h5pr7mmrzfr6r818w"
else
badArch;
};
diff --git a/pkgs/applications/science/math/scilab/default.nix b/pkgs/applications/science/math/scilab/default.nix
index 01fb58403ca..432280a18fb 100644
--- a/pkgs/applications/science/math/scilab/default.nix
+++ b/pkgs/applications/science/math/scilab/default.nix
@@ -13,9 +13,9 @@
stdenv.mkDerivation rec {
version = "4.1.2";
- name = "scilab-${version}";
+ pname = "scilab";
src = fetchurl {
- url = "https://www.scilab.org/download/${version}/${name}-src.tar.gz";
+ url = "https://www.scilab.org/download/${version}/${pname}-${version}-src.tar.gz";
sha256 = "1adk6jqlj7i3gjklvlf1j3il1nb22axnp4rvwl314an62siih0sc";
};
diff --git a/pkgs/applications/science/math/scotch/default.nix b/pkgs/applications/science/math/scotch/default.nix
index 8fa020ba07c..610f1ef05c0 100644
--- a/pkgs/applications/science/math/scotch/default.nix
+++ b/pkgs/applications/science/math/scotch/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "6.0.4";
- name = "scotch-${version}";
+ pname = "scotch";
src_name = "scotch_${version}";
buildInputs = [ bison openmpi flex zlib ];
diff --git a/pkgs/applications/science/math/singular/default.nix b/pkgs/applications/science/math/singular/default.nix
index 24063216db0..fccd1489e11 100644
--- a/pkgs/applications/science/math/singular/default.nix
+++ b/pkgs/applications/science/math/singular/default.nix
@@ -11,7 +11,7 @@
}:
stdenv.mkDerivation rec {
- name = "singular-${version}";
+ pname = "singular";
version = "4.1.1p2";
src = let
@@ -110,7 +110,7 @@ stdenv.mkDerivation rec {
description = "A CAS for polynomial computations";
maintainers = with maintainers; [ raskin timokau ];
# 32 bit x86 fails with some link error: `undefined reference to `__divmoddi4@GCC_7.0.0'`
- platforms = subtractLists platforms.i686 platforms.linux;
+ platforms = subtractLists platforms.i686 platforms.unix;
license = licenses.gpl3; # Or GPLv2 at your option - but not GPLv4
homepage = http://www.singular.uni-kl.de;
downloadPage = "http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/SOURCES/";
diff --git a/pkgs/applications/science/math/speedcrunch/default.nix b/pkgs/applications/science/math/speedcrunch/default.nix
index d36b135531c..67561658eb2 100644
--- a/pkgs/applications/science/math/speedcrunch/default.nix
+++ b/pkgs/applications/science/math/speedcrunch/default.nix
@@ -1,7 +1,7 @@
{ mkDerivation, lib, fetchgit, cmake, qtbase, qttools }:
mkDerivation rec {
- name = "speedcrunch-${version}";
+ pname = "speedcrunch";
version = "0.12.0";
src = fetchgit {
diff --git a/pkgs/applications/science/math/symmetrica/default.nix b/pkgs/applications/science/math/symmetrica/default.nix
index bc971606cd0..18daabb9e7e 100644
--- a/pkgs/applications/science/math/symmetrica/default.nix
+++ b/pkgs/applications/science/math/symmetrica/default.nix
@@ -3,7 +3,7 @@
, fetchpatch
}:
stdenv.mkDerivation rec {
- name = "symmetrica-${version}";
+ pname = "symmetrica";
version = "2.0";
src = fetchurl {
diff --git a/pkgs/applications/science/math/weka/default.nix b/pkgs/applications/science/math/weka/default.nix
index 3bfb22dad93..ec9ea0b8533 100644
--- a/pkgs/applications/science/math/weka/default.nix
+++ b/pkgs/applications/science/math/weka/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, jre, unzip, makeWrapper }:
stdenv.mkDerivation rec {
- name = "weka-${version}";
+ pname = "weka";
version = "3.9.2";
src = fetchurl {
- url = "mirror://sourceforge/weka/${stdenv.lib.replaceChars ["."]["-"] name}.zip";
+ url = "mirror://sourceforge/weka/${stdenv.lib.replaceChars ["."]["-"] "${pname}-${version}"}.zip";
sha256 = "0zwmhspmqb0a7cm6k6i0s6q3w19ws1g9dx3cp2v3g3vsif6cdh31";
};
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
homepage = http://www.cs.waikato.ac.nz/ml/weka/;
description = "Collection of machine learning algorithms for data mining tasks";
license = stdenv.lib.licenses.gpl2Plus;
- maintainers = [ stdenv.lib.maintainers.mimadrid ];
+ maintainers = [ stdenv.lib.maintainers.mimame ];
platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/science/math/wxmaxima/default.nix b/pkgs/applications/science/math/wxmaxima/default.nix
index 13ccd70c83f..406d74c4cd3 100644
--- a/pkgs/applications/science/math/wxmaxima/default.nix
+++ b/pkgs/applications/science/math/wxmaxima/default.nix
@@ -3,7 +3,7 @@
, maxima, wxGTK, gnome3 }:
stdenv.mkDerivation rec {
- name = "wxmaxima-${version}";
+ pname = "wxmaxima";
version = "19.03.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/math/yacas/default.nix b/pkgs/applications/science/math/yacas/default.nix
index c02ef73df11..bae0d9a18c6 100644
--- a/pkgs/applications/science/math/yacas/default.nix
+++ b/pkgs/applications/science/math/yacas/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "yacas-${version}";
+ pname = "yacas";
version = "1.6.1";
src = fetchFromGitHub {
diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix
index d1da5a74e85..c806b558da0 100644
--- a/pkgs/applications/science/misc/boinc/default.nix
+++ b/pkgs/applications/science/misc/boinc/default.nix
@@ -9,10 +9,10 @@ in
stdenv.mkDerivation rec {
version = "${majorVersion}.${minorVersion}";
- name = "boinc-${version}";
+ pname = "boinc";
src = fetchFromGitHub {
- name = "${name}-src";
+ name = "${pname}-${version}-src";
owner = "BOINC";
repo = "boinc";
rev = "client_release/${majorVersion}/${version}";
diff --git a/pkgs/applications/science/misc/colmap/default.nix b/pkgs/applications/science/misc/colmap/default.nix
new file mode 100644
index 00000000000..672569ed100
--- /dev/null
+++ b/pkgs/applications/science/misc/colmap/default.nix
@@ -0,0 +1,37 @@
+{ mkDerivation, lib, fetchFromGitHub, cmake, boost, ceres-solver, eigen,
+ freeimage, glog, libGLU, glew, qtbase,
+ cudaSupport ? false, cudatoolkit ? null }:
+
+assert !cudaSupport || cudatoolkit != null;
+
+let boost_static = boost.override { enableStatic = true; };
+in
+mkDerivation rec {
+ version = "3.5";
+ pname = "colmap";
+ src = fetchFromGitHub {
+ owner = "colmap";
+ repo = "colmap";
+ rev = version;
+ sha256 = "1vnb62p0y2bnga173wmjs0lnyqdjikv0fkcxjzxm8187khk2lly8";
+ };
+
+ buildInputs = [
+ boost_static ceres-solver eigen
+ freeimage glog libGLU glew qtbase
+ ] ++ lib.optional cudaSupport cudatoolkit;
+
+ nativeBuildInputs = [ cmake ];
+
+ meta = with lib; {
+ description = "COLMAP - Structure-From-Motion and Multi-View Stereo pipeline";
+ longDescription = ''
+ COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline
+ with a graphical and command-line interface.
+ '';
+ homepage = https://colmap.github.io/index.html;
+ license = licenses.bsd2;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ lebastr ];
+ };
+}
diff --git a/pkgs/applications/science/misc/cytoscape/default.nix b/pkgs/applications/science/misc/cytoscape/default.nix
index 2262e342fc9..8ed3deed804 100644
--- a/pkgs/applications/science/misc/cytoscape/default.nix
+++ b/pkgs/applications/science/misc/cytoscape/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
- name = "cytoscape-${version}";
- version = "3.7.1";
+ pname = "cytoscape";
+ version = "3.7.2";
src = fetchurl {
- url = "https://github.com/cytoscape/cytoscape/releases/download/${version}/${name}.tar.gz";
- sha256 = "1mhsngbwbgdwl70wj7850zg94534lasihwv2ryifardm35mkh48k";
+ url = "https://github.com/cytoscape/cytoscape/releases/download/${version}/${pname}-${version}.tar.gz";
+ sha256 = "125vgr8vqbmy2nsm1yl0h0q8p49lxxqfw5cmxzbx1caklcn4rryc";
};
buildInputs = [jre makeWrapper];
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
homepage = http://www.cytoscape.org;
description = "A general platform for complex network analysis and visualization";
license = stdenv.lib.licenses.lgpl21;
- maintainers = [stdenv.lib.maintainers.mimadrid];
+ maintainers = [stdenv.lib.maintainers.mimame];
platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/science/misc/gephi/default.nix b/pkgs/applications/science/misc/gephi/default.nix
index b81f188a91b..577c8ecfa05 100644
--- a/pkgs/applications/science/misc/gephi/default.nix
+++ b/pkgs/applications/science/misc/gephi/default.nix
@@ -27,8 +27,9 @@ let
outputHash = "1p7yf97dn0nvr005cbs6vdk3i341s8fya4kfccj8qqad2qgxflif";
};
in
-stdenv.mkDerivation rec {
- name = "gephi-${version}";
+stdenv.mkDerivation {
+ pname = "gephi";
+ inherit version;
inherit src;
diff --git a/pkgs/applications/science/misc/gplates/default.nix b/pkgs/applications/science/misc/gplates/default.nix
index 8b6c7497e54..b394639fd0c 100644
--- a/pkgs/applications/science/misc/gplates/default.nix
+++ b/pkgs/applications/science/misc/gplates/default.nix
@@ -2,11 +2,11 @@
, proj, boost, cmake, python2, doxygen, graphviz, gmp }:
stdenv.mkDerivation rec {
- name = "gplates-${version}";
+ pname = "gplates";
version = "2.0.0";
src = fetchurl {
- url = "mirror://sourceforge/gplates/${name}-unixsrc.tar.bz2";
+ url = "mirror://sourceforge/gplates/${pname}-${version}-unixsrc.tar.bz2";
sha256 = "02scnjj5nlc2d2c8lbx0xvj8gg1bgkjliv3wxsx564c55a9x69qw";
};
diff --git a/pkgs/applications/science/misc/megam/default.nix b/pkgs/applications/science/misc/megam/default.nix
index 8cd119c7b7b..f86bed854a2 100644
--- a/pkgs/applications/science/misc/megam/default.nix
+++ b/pkgs/applications/science/misc/megam/default.nix
@@ -1,8 +1,9 @@
{ fetchurl, stdenv, ocaml, makeWrapper, ncurses }:
let version = "0.92"; in
-stdenv.mkDerivation rec {
- name = "megam-${version}";
+stdenv.mkDerivation {
+ pname = "megam";
+ inherit version;
src = fetchurl {
url = "http://hal3.name/megam/megam_src.tgz";
diff --git a/pkgs/applications/science/misc/motu-client/default.nix b/pkgs/applications/science/misc/motu-client/default.nix
deleted file mode 100644
index d4367ef7e2d..00000000000
--- a/pkgs/applications/science/misc/motu-client/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ python27Packages, fetchurl, lib } :
-python27Packages.buildPythonApplication rec {
- pname = "motu-client";
- version = "1.5.00";
-
- src = fetchurl {
- url = "https://github.com/quiet-oceans/motuclient-setuptools/archive/${version}.tar.gz";
- sha256 = "1iqsws3wa2gpb36ms21xmaxfi83i8p8cdya4cxpn4r47c8mz74x8";
- };
-
- meta = with lib; {
- homepage = https://github.com/quiet-oceans/motuclient-setuptools;
- description = "CLI to query oceanographic data to Motu servers";
- longDescription = ''
- Access data from (motu)[https://sourceforge.net/projects/cls-motu/] servers.
- This is a refactored fork of the original release in order to simplify integration,
- deployment and packaging. Upstream code can be found at
- https://sourceforge.net/projects/cls-motu/ .
- '';
- license = licenses.lgpl3Plus;
- maintainers = [ maintainers.lsix ];
- };
-}
diff --git a/pkgs/applications/science/misc/netlogo/default.nix b/pkgs/applications/science/misc/netlogo/default.nix
index 76f958cc3a8..b412c4ef81a 100644
--- a/pkgs/applications/science/misc/netlogo/default.nix
+++ b/pkgs/applications/science/misc/netlogo/default.nix
@@ -14,7 +14,7 @@ let
in
stdenv.mkDerivation rec {
- name = "netlogo-${version}";
+ pname = "netlogo";
version = "6.0.4";
src = fetchurl {
diff --git a/pkgs/applications/science/misc/openmvg/default.nix b/pkgs/applications/science/misc/openmvg/default.nix
index 4139c88ffb0..121e953f43a 100644
--- a/pkgs/applications/science/misc/openmvg/default.nix
+++ b/pkgs/applications/science/misc/openmvg/default.nix
@@ -9,7 +9,7 @@
stdenv.mkDerivation rec {
version = "1.3";
- name = "openmvg-${version}";
+ pname = "openmvg";
src = fetchgit {
url = "https://www.github.com/openmvg/openmvg.git";
diff --git a/pkgs/applications/science/misc/openmvs/default.nix b/pkgs/applications/science/misc/openmvs/default.nix
index f44d07d36db..bb067fbca7a 100644
--- a/pkgs/applications/science/misc/openmvs/default.nix
+++ b/pkgs/applications/science/misc/openmvs/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, pkgconfig, cmake
, eigen, opencv, ceres-solver, cgal, boost, vcg
-, gmp, mpfr, glog, google-gflags, libjpeg_turbo }:
+, gmp, mpfr, glog, gflags, libjpeg_turbo }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "openmvs-unstable-2018-05-26";
src = fetchFromGitHub {
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
sha256 = "12dgkwwfdp24581y3i41gsd1k9hq0aw917q0ja5s0if4qbmc8pni";
};
- buildInputs = [ eigen opencv ceres-solver cgal boost vcg gmp mpfr glog google-gflags libjpeg_turbo ];
+ buildInputs = [ eigen opencv ceres-solver cgal boost vcg gmp mpfr glog gflags libjpeg_turbo ];
nativeBuildInputs = [ cmake pkgconfig ];
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
"-DCERES_DIR=${ceres-solver}/lib/cmake/Ceres/"
)
'';
-
+
postFixup = ''
rp=$(patchelf --print-rpath $out/bin/DensifyPointCloud)
patchelf --set-rpath $rp:$out/lib/OpenMVS $out/bin/DensifyPointCloud
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
rp=$(patchelf --print-rpath $out/bin/TextureMesh)
patchelf --set-rpath $rp:$out/lib/OpenMVS $out/bin/TextureMesh
'';
-
+
cmakeDir = "./";
dontUseCmakeBuildDir = true;
diff --git a/pkgs/applications/science/misc/rink/default.nix b/pkgs/applications/science/misc/rink/default.nix
index 0ccb096b8da..0dfcbfda002 100644
--- a/pkgs/applications/science/misc/rink/default.nix
+++ b/pkgs/applications/science/misc/rink/default.nix
@@ -2,7 +2,7 @@
rustPlatform.buildRustPackage rec {
version = "0.4.4";
- name = "rink-${version}";
+ pname = "rink";
src = fetchFromGitHub {
owner = "tiffany352";
@@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
};
cargoPatches = [ ./cargo-lock.patch ];
- cargoSha256 = "0xmmxm7zwmq7w0pspx17glg4mjgh9l61w0h2k7n97x6p35i198d1";
+ cargoSha256 = "1ijfvfhgjgzlpi1hjhy435m7vq568grh84bmkdlj3m83jxjcz874";
buildInputs = [ pkgconfig ];
propagatedBuildInputs = [ openssl gmp ncurses ];
diff --git a/pkgs/applications/science/misc/root/5.nix b/pkgs/applications/science/misc/root/5.nix
index 871f5ece9cf..2145d7e71d3 100644
--- a/pkgs/applications/science/misc/root/5.nix
+++ b/pkgs/applications/science/misc/root/5.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, fetchpatch, cmake, pcre, pkgconfig, python2
, libX11, libXpm, libXft, libXext, libGLU_combined, zlib, libxml2, lzma, gsl_1
-, Cocoa, OpenGL, cf-private, noSplash ? false }:
+, Cocoa, OpenGL, noSplash ? false }:
stdenv.mkDerivation rec {
- name = "root-${version}";
+ pname = "root";
version = "5.34.36";
src = fetchurl {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake pcre python2 zlib libxml2 lzma gsl_1 ]
++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU_combined ]
- ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL cf-private ]
+ ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ]
;
patches = [
diff --git a/pkgs/applications/science/misc/root/default.nix b/pkgs/applications/science/misc/root/default.nix
index 8b9573ce4e8..690dc920d5c 100644
--- a/pkgs/applications/science/misc/root/default.nix
+++ b/pkgs/applications/science/misc/root/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, cmake, pcre, pkgconfig, python2
, libX11, libXpm, libXft, libXext, libGLU_combined, zlib, libxml2, lz4, lzma, gsl, xxHash
-, Cocoa, OpenGL, cf-private, noSplash ? false }:
+, Cocoa, OpenGL, noSplash ? false }:
stdenv.mkDerivation rec {
- name = "root-${version}";
+ pname = "root";
version = "6.12.06";
src = fetchurl {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ cmake pcre python2 zlib libxml2 lz4 lzma gsl xxHash ]
++ stdenv.lib.optionals (!stdenv.isDarwin) [ libX11 libXpm libXft libXext libGLU_combined ]
- ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL cf-private ]
+ ++ stdenv.lib.optionals (stdenv.isDarwin) [ Cocoa OpenGL ]
;
patches = [
diff --git a/pkgs/applications/science/misc/simgrid/default.nix b/pkgs/applications/science/misc/simgrid/default.nix
index 554ef695a4a..610d7494ed8 100644
--- a/pkgs/applications/science/misc/simgrid/default.nix
+++ b/pkgs/applications/science/misc/simgrid/default.nix
@@ -13,19 +13,19 @@
with stdenv.lib;
let
- optionOnOff = option: "${if option then "on" else "off"}";
+ optionOnOff = option: if option then "on" else "off";
in
stdenv.mkDerivation rec {
pname = "simgrid";
- version = "3.22.2";
+ version = "3.23";
src = fetchFromGitLab {
domain = "framagit.org";
owner = pname;
repo = pname;
rev = "v${version}";
- sha256 = "02zzivp3k7n2yvlr79p9kapzxpxq9x4x7jf2vrkpkwnssv4f9b4p";
+ sha256 = "068xg5ps4j4v2sqqyl4vf83nfazp54gsy84gvlw52h94c4mj4xmp";
};
nativeBuildInputs = [ cmake perl python3 boost valgrind ]
@@ -106,7 +106,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://simgrid.org/;
license = licenses.lgpl2Plus;
- maintainers = with maintainers; [ mickours ];
+ maintainers = with maintainers; [ mickours mpoquet ];
platforms = ["x86_64-linux"];
};
}
diff --git a/pkgs/applications/science/misc/tulip/default.nix b/pkgs/applications/science/misc/tulip/default.nix
index 7db2e6a12c2..509cdeaee61 100644
--- a/pkgs/applications/science/misc/tulip/default.nix
+++ b/pkgs/applications/science/misc/tulip/default.nix
@@ -1,13 +1,14 @@
{ fetchurl, stdenv, libxml2, freetype, libGLU_combined, glew, qt4
, cmake, makeWrapper, libjpeg, python }:
-let version = "5.1.0"; in
+let version = "5.2.1"; in
stdenv.mkDerivation rec {
- name = "tulip-${version}";
+ pname = "tulip";
+ inherit version;
src = fetchurl {
- url = "mirror://sourceforge/auber/${name}_src.tar.gz";
- sha256 = "1i70y8b39gkpxfalr9844pa3l4bnnyw5y7ngxdqibil96k2b9q9h";
+ url = "mirror://sourceforge/auber/${pname}-${version}_src.tar.gz";
+ sha256 = "0bqmqy6sri87a8xv5xf7ffaq5zin4hiaa13g0l64b84i7yckfwky";
};
buildInputs = [ libxml2 freetype glew libGLU_combined qt4 libjpeg python ];
diff --git a/pkgs/applications/science/molecular-dynamics/dl-poly-classic/default.nix b/pkgs/applications/science/molecular-dynamics/dl-poly-classic/default.nix
index 1986f3b75ec..b0ed5e94637 100644
--- a/pkgs/applications/science/molecular-dynamics/dl-poly-classic/default.nix
+++ b/pkgs/applications/science/molecular-dynamics/dl-poly-classic/default.nix
@@ -2,9 +2,9 @@
, gfortran, mpi
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "1.10";
- name = "DL_POLY_Classic-${version}";
+ pname = "DL_POLY_Classic";
src = fetchurl {
url = "https://ccpforge.cse.rl.ac.uk/gf/download/frsrelease/574/8924/dl_class_1.10.tar.gz";
diff --git a/pkgs/applications/science/molecular-dynamics/gromacs/default.nix b/pkgs/applications/science/molecular-dynamics/gromacs/default.nix
index 7583f8c0010..d00b59307c5 100644
--- a/pkgs/applications/science/molecular-dynamics/gromacs/default.nix
+++ b/pkgs/applications/science/molecular-dynamics/gromacs/default.nix
@@ -8,11 +8,11 @@
stdenv.mkDerivation {
- name = "gromacs-2019.2";
+ name = "gromacs-2019.3";
src = fetchurl {
- url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-2019.2.tar.gz";
- sha256 = "0zlzzg27yzfbmmgy2wqmgq82nslqy02gprjvm9xwcswjf705rgxw";
+ url = "ftp://ftp.gromacs.org/pub/gromacs/gromacs-2019.3.tar.gz";
+ sha256 = "0wvm6lj4hbasl2qkjcpicqjh7abxji4196dd2hmwlyivpycaa4a2";
};
buildInputs = [cmake fftw]
diff --git a/pkgs/applications/science/molecular-dynamics/lammps/default.nix b/pkgs/applications/science/molecular-dynamics/lammps/default.nix
index f4491053e4c..234bbdab315 100644
--- a/pkgs/applications/science/molecular-dynamics/lammps/default.nix
+++ b/pkgs/applications/science/molecular-dynamics/lammps/default.nix
@@ -13,12 +13,12 @@ in
stdenv.mkDerivation rec {
# LAMMPS has weird versioning converted to ISO 8601 format
version = "stable_22Aug2018";
- name = "lammps-${version}";
+ pname = "lammps";
src = fetchFromGitHub {
owner = "lammps";
repo = "lammps";
- rev = "${version}";
+ rev = version;
sha256 = "1dlifm9wm1jcw2zwal3fnzzl41ng08c7v48w6hx2mz84zljg1nsj";
};
diff --git a/pkgs/applications/science/physics/quantomatic/default.nix b/pkgs/applications/science/physics/quantomatic/default.nix
index ad86ff61471..b22b9d412fd 100644
--- a/pkgs/applications/science/physics/quantomatic/default.nix
+++ b/pkgs/applications/science/physics/quantomatic/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
- name = "quantomatic-${version}";
+ pname = "quantomatic";
version = "0.7";
src = fetchurl {
diff --git a/pkgs/applications/science/physics/sacrifice/default.nix b/pkgs/applications/science/physics/sacrifice/default.nix
index 64b88dcc3d4..80417f0fcc1 100644
--- a/pkgs/applications/science/physics/sacrifice/default.nix
+++ b/pkgs/applications/science/physics/sacrifice/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchurl, boost, hepmc, lhapdf, pythia, makeWrapper }:
+{ stdenv, fetchurl, boost, hepmc2, lhapdf, pythia, makeWrapper }:
-stdenv.mkDerivation rec {
- name = "sacrifice-${version}";
+stdenv.mkDerivation {
+ pname = "sacrifice";
version = "1.0.0";
src = fetchurl {
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "10bvpq63kmszy1habydwncm0j1dgvam0fkrmvkgbkvf804dcjp6g";
};
- buildInputs = [ boost hepmc lhapdf pythia ];
+ buildInputs = [ boost hepmc2 lhapdf pythia ];
nativeBuildInputs = [ makeWrapper ];
patches = [
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
'';
configureFlags = [
- "--with-HepMC=${hepmc}"
+ "--with-HepMC=${hepmc2}"
"--with-pythia=${pythia}"
];
diff --git a/pkgs/applications/science/physics/sherpa/default.nix b/pkgs/applications/science/physics/sherpa/default.nix
index 7cb3e8881ca..045a77cea27 100644
--- a/pkgs/applications/science/physics/sherpa/default.nix
+++ b/pkgs/applications/science/physics/sherpa/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchurl, gfortran, hepmc, fastjet, lhapdf, rivet, sqlite }:
+{ stdenv, fetchurl, gfortran, hepmc2, fastjet, lhapdf, rivet, sqlite }:
stdenv.mkDerivation rec {
- name = "sherpa-${version}";
+ pname = "sherpa";
version = "2.2.6";
src = fetchurl {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-sqlite3=${sqlite.dev}"
- "--enable-hepmc2=${hepmc}"
+ "--enable-hepmc2=${hepmc2}"
"--enable-fastjet=${fastjet}"
"--enable-lhapdf=${lhapdf}"
"--enable-rivet=${rivet}"
diff --git a/pkgs/applications/science/physics/xfitter/default.nix b/pkgs/applications/science/physics/xfitter/default.nix
index ae5307f155b..2af93961e02 100644
--- a/pkgs/applications/science/physics/xfitter/default.nix
+++ b/pkgs/applications/science/physics/xfitter/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, apfel, apfelgrid, applgrid, blas, gfortran, lhapdf, liblapack, libyaml, lynx, mela, root5, qcdnum, which }:
stdenv.mkDerivation rec {
- name = "xfitter-${version}";
+ pname = "xfitter";
version = "2.0.0";
src = fetchurl {
- name = "${name}.tgz";
- url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${name}.tgz";
+ name = "${pname}-${version}.tgz";
+ url = "https://www.xfitter.org/xFitter/xFitter/DownloadPage?action=AttachFile&do=get&target=${pname}-${version}.tgz";
sha256 = "0j47s8laq3aqjlgp769yicvgyzqjb738a3rqss51d9fjrihi2515";
};
diff --git a/pkgs/applications/science/programming/plm/default.nix b/pkgs/applications/science/programming/plm/default.nix
index c454ad37768..ebfb6471c63 100644
--- a/pkgs/applications/science/programming/plm/default.nix
+++ b/pkgs/applications/science/programming/plm/default.nix
@@ -6,12 +6,12 @@ stdenv.mkDerivation rec {
major = "2";
minor = "5";
version = "${major}-${minor}";
- name = "plm-${version}";
+ pname = "plm";
src = fetchurl {
url = "http://webloria.loria.fr/~quinson/Teaching/PLM/plm-${major}_${minor}.jar";
sha256 = "0m17cxa3nxi2cbswqvlfzp0mlfi3wrkw8ry2xhkxy6aqzm2mlgcc";
- name = "${name}.jar";
+ name = "${pname}-${version}.jar";
};
buildInputs = [ makeWrapper jre gcc valgrind ];
diff --git a/pkgs/applications/science/programming/scyther/cli.nix b/pkgs/applications/science/programming/scyther/cli.nix
index 152b7121774..6623f5def4c 100644
--- a/pkgs/applications/science/programming/scyther/cli.nix
+++ b/pkgs/applications/science/programming/scyther/cli.nix
@@ -1,7 +1,8 @@
{ stdenv, glibc, flex, bison, cmake
, version, src, meta }:
stdenv.mkDerivation {
- name = "scyther-cli-${version}";
+ pname = "scyther-cli";
+ inherit version;
inherit src meta;
diff --git a/pkgs/applications/science/programming/scyther/default.nix b/pkgs/applications/science/programming/scyther/default.nix
index e0993a58019..b4daae1afc0 100644
--- a/pkgs/applications/science/programming/scyther/default.nix
+++ b/pkgs/applications/science/programming/scyther/default.nix
@@ -25,7 +25,8 @@ let
};
gui = stdenv.mkDerivation {
- name = "scyther-gui-${version}";
+ pname = "scyther-gui";
+ inherit version;
inherit src meta;
buildInputs = [
python27Packages.wrapPython
diff --git a/pkgs/applications/science/robotics/apmplanner2/default.nix b/pkgs/applications/science/robotics/apmplanner2/default.nix
index 69f355c7b84..fe5f8790f38 100644
--- a/pkgs/applications/science/robotics/apmplanner2/default.nix
+++ b/pkgs/applications/science/robotics/apmplanner2/default.nix
@@ -1,24 +1,32 @@
-{ stdenv, fetchFromGitHub, qmake
+{ lib, mkDerivation, fetchFromGitHub, fetchpatch, qmake
, qtbase, qtscript, qtwebkit, qtserialport, qtsvg, qtdeclarative, qtquickcontrols2
, alsaLib, libsndfile, flite, openssl, udev, SDL2
}:
-stdenv.mkDerivation rec {
- name = "apmplanner2-${version}";
- # TODO revert Qt511 to Qt5 in pkgs/top-level/all-packages.nix on next release
+mkDerivation rec {
+ pname = "apmplanner2";
version = "2.0.27-rc1";
+
src = fetchFromGitHub {
owner = "ArduPilot";
repo = "apm_planner";
- rev = "${version}";
+ rev = version;
sha256 = "1k0786mjzi49nb6yw4chh9l4dmkf9gybpxg9zqkr5yg019nyzcvd";
};
- qtInputs = [
+ patches = [
+ # can be dropped after 2.0.27-rc1
+ (fetchpatch {
+ url = "https://github.com/ArduPilot/apm_planner/commit/299ff23b5e9910de04edfc06b6893bb06b47a57b.patch";
+ sha256 = "16rc81iwqp2i46g6bm9lbvcjfsk83999r9h8w1pz0mys7rsilvqy";
+ })
+ ];
+
+ buildInputs = [
+ alsaLib libsndfile flite openssl udev SDL2
qtbase qtscript qtwebkit qtserialport qtsvg qtdeclarative qtquickcontrols2
];
- buildInputs = [ alsaLib libsndfile flite openssl udev SDL2 ] ++ qtInputs;
nativeBuildInputs = [ qmake ];
qmakeFlags = [ "apm_planner.pro" ];
@@ -29,7 +37,7 @@ stdenv.mkDerivation rec {
substituteInPlace $out/share/applications/apmplanner2.desktop \
--replace /usr $out
'';
-
+
enableParallelBuilding = true;
meta = {
@@ -39,7 +47,7 @@ stdenv.mkDerivation rec {
Includes support for the APM and PX4 based controllers.
'';
homepage = http://ardupilot.org/planner2/;
- license = stdenv.lib.licenses.gpl3;
- maintainers = [ stdenv.lib.maintainers.wucke13 ];
+ license = lib.licenses.gpl3;
+ maintainers = with lib.maintainers; [ wucke13 ];
};
}
diff --git a/pkgs/applications/science/robotics/betaflight-configurator/default.nix b/pkgs/applications/science/robotics/betaflight-configurator/default.nix
new file mode 100644
index 00000000000..6449e966959
--- /dev/null
+++ b/pkgs/applications/science/robotics/betaflight-configurator/default.nix
@@ -0,0 +1,50 @@
+{stdenv, fetchurl, unzip, makeDesktopItem, nwjs, wrapGAppsHook, gsettings-desktop-schemas, gtk3 }:
+
+let
+ strippedName = "betaflight-configurator";
+ desktopItem = makeDesktopItem {
+ name = strippedName;
+ exec = strippedName;
+ icon = "${strippedName}-icon.png";
+ comment = "Betaflight configuration tool";
+ desktopName = "Betaflight Configurator";
+ genericName = "Flight controller configuration tool";
+ };
+in
+stdenv.mkDerivation rec {
+ name = "${strippedName}-${version}";
+ version = "10.5.1";
+ src = fetchurl {
+ url = "https://github.com/betaflight/betaflight-configurator/releases/download/${version}/${strippedName}_${version}_linux64.zip";
+ sha256 = "1l4blqgaqfrnydk05q6pwdqdhcly2f8nwzrv0749cqmfiinh8ygc";
+ };
+
+ nativeBuildInputs = [ wrapGAppsHook ];
+
+ buildInputs = [ unzip gsettings-desktop-schemas gtk3 ];
+
+ installPhase = ''
+ mkdir -p $out/bin \
+ $out/opt/${strippedName} \
+ $out/share/icons
+
+ cp -r . $out/opt/${strippedName}/
+ cp icon/*_icon_128.png $out/share/icons/${strippedName}-icon.png
+ cp -r ${desktopItem}/share/applications $out/share/
+
+ makeWrapper ${nwjs}/bin/nw $out/bin/${strippedName} --add-flags $out/opt/${strippedName}
+ '';
+
+ meta = with stdenv.lib; {
+ description = "The Betaflight flight control system configuration tool";
+ longDescription = ''
+ A crossplatform configuration tool for the Betaflight flight control system.
+ Various types of aircraft are supported by the tool and by Betaflight, e.g.
+ quadcopters, hexacopters, octocopters and fixed-wing aircraft.
+ '';
+ homepage = https://github.com/betaflight/betaflight/wiki;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ wucke13 ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/science/robotics/gazebo/6.nix b/pkgs/applications/science/robotics/gazebo/6.nix
index 0d1aa4a9085..80c52b49e47 100644
--- a/pkgs/applications/science/robotics/gazebo/6.nix
+++ b/pkgs/applications/science/robotics/gazebo/6.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, callPackage, ignition, gazeboSimulator, ... } @ args:
-callPackage ./default.nix (args // rec {
+callPackage ./default.nix (args // {
version = "6.5.1";
src-sha256 = "96260aa23f1a1f24bc116f8e359d31f3bc65011033977cb7fb2c64d574321908";
sdformat = gazeboSimulator.sdformat3;
diff --git a/pkgs/applications/science/robotics/gazebo/default.nix b/pkgs/applications/science/robotics/gazebo/default.nix
index 98ccd92c4ee..a3ebda463b9 100644
--- a/pkgs/applications/science/robotics/gazebo/default.nix
+++ b/pkgs/applications/science/robotics/gazebo/default.nix
@@ -24,10 +24,10 @@
stdenv.mkDerivation rec {
inherit version;
- name = "gazebo-${version}";
+ pname = "gazebo";
src = fetchurl {
- url = "https://osrf-distributions.s3.amazonaws.com/gazebo/releases/${name}.tar.bz2";
+ url = "https://osrf-distributions.s3.amazonaws.com/gazebo/releases/${pname}-${version}.tar.bz2";
sha256 = src-sha256;
};
diff --git a/pkgs/applications/science/robotics/qgroundcontrol/default.nix b/pkgs/applications/science/robotics/qgroundcontrol/default.nix
index eae5d3766d6..1863757adbc 100644
--- a/pkgs/applications/science/robotics/qgroundcontrol/default.nix
+++ b/pkgs/applications/science/robotics/qgroundcontrol/default.nix
@@ -6,7 +6,7 @@
}:
stdenv.mkDerivation rec {
- name = "qgroundcontrol-${version}";
+ pname = "qgroundcontrol";
version = "3.3.0";
qtInputs = [
diff --git a/pkgs/applications/science/robotics/sumorobot-manager/default.nix b/pkgs/applications/science/robotics/sumorobot-manager/default.nix
new file mode 100644
index 00000000000..68b91dafb73
--- /dev/null
+++ b/pkgs/applications/science/robotics/sumorobot-manager/default.nix
@@ -0,0 +1,43 @@
+{ stdenv, python3, qt5, fetchFromGitHub, wrapPython, pyqt5, pyserial }:
+
+stdenv.mkDerivation rec {
+ pname = "sumorobot-manager";
+ version = "0.9.0";
+
+ src = fetchFromGitHub {
+ owner = "robokoding";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "03zhb54c259a66hsahmv2ajbzwcjnfjj050wbjhw51zqzxinlgqr";
+ };
+
+ buildInputs = [ python3 ];
+ pythonPath = [
+ pyqt5 pyserial
+ ];
+
+ nativeBuildInputs = [ wrapPython qt5.wrapQtAppsHook ];
+
+ buildPhase = "true";
+
+ installPhase = ''
+ mkdir -p $out/opt/sumorobot-manager
+ cp -r main.py lib res $out/opt/sumorobot-manager
+ chmod -R 644 $out/opt/sumorobot-manager/lib/*
+ mkdir $out/bin
+ makeQtWrapper $out/opt/sumorobot-manager/main.py $out/bin/sumorobot-manager \
+ --run "cd $out/opt/sumorobot-manager"
+ '';
+
+ preFixup = ''
+ patchShebangs $out/opt/sumorobot-manager/main.py
+ wrapPythonProgramsIn "$out/opt" "$pythonPath"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Desktop App for managing SumoRobots";
+ homepage = "https://www.robokoding.com/kits/sumorobot/sumomanager/";
+ license = licenses.mit;
+ maintainers = with maintainers; [ abbradar ];
+ };
+}
diff --git a/pkgs/applications/science/robotics/yarp/default.nix b/pkgs/applications/science/robotics/yarp/default.nix
index 507481cddab..d14c0bb0fe8 100644
--- a/pkgs/applications/science/robotics/yarp/default.nix
+++ b/pkgs/applications/science/robotics/yarp/default.nix
@@ -2,7 +2,7 @@
}:
stdenv.mkDerivation rec {
- name = "yarp-${version}";
+ pname = "yarp";
version = "2.3.70.2";
src = fetchFromGitHub {
owner = "robotology";
diff --git a/pkgs/applications/search/catfish/default.nix b/pkgs/applications/search/catfish/default.nix
index a0917d03ce1..983a5153ee2 100644
--- a/pkgs/applications/search/catfish/default.nix
+++ b/pkgs/applications/search/catfish/default.nix
@@ -56,7 +56,7 @@ pythonPackages.buildPythonApplication rec {
description = "A handy file search tool";
longDescription = ''
Catfish is a handy file searching tool. The interface is
- intentionally lightweight and simple, using only GTK+3.
+ intentionally lightweight and simple, using only GTK 3.
You can configure it to your needs by using several command line
options.
'';
diff --git a/pkgs/applications/search/grepcidr/default.nix b/pkgs/applications/search/grepcidr/default.nix
index 69fc0e76932..06b2aee0392 100644
--- a/pkgs/applications/search/grepcidr/default.nix
+++ b/pkgs/applications/search/grepcidr/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "grepcidr-${version}";
+ pname = "grepcidr";
version = "2.0";
src = fetchurl {
- url = "http://www.pc-tools.net/files/unix/${name}.tar.gz";
+ url = "http://www.pc-tools.net/files/unix/${pname}-${version}.tar.gz";
sha256 = "1yzpa1nigmmp4hir6377hrkpp0z6jnxgccaw2jbqgydbglvnm231";
};
diff --git a/pkgs/applications/search/grepm/default.nix b/pkgs/applications/search/grepm/default.nix
index 99c149b79d9..bad8d35623c 100644
--- a/pkgs/applications/search/grepm/default.nix
+++ b/pkgs/applications/search/grepm/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, perlPackages, mutt }:
-stdenv.mkDerivation rec {
- name = "grepm-${version}";
+stdenv.mkDerivation {
+ pname = "grepm";
version = "0.6";
src = fetchurl {
diff --git a/pkgs/applications/version-management/bazaar/tools.nix b/pkgs/applications/version-management/bazaar/tools.nix
index d16ea271050..0dfa1988202 100644
--- a/pkgs/applications/version-management/bazaar/tools.nix
+++ b/pkgs/applications/version-management/bazaar/tools.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, python2Packages }:
python2Packages.buildPythonApplication rec {
- name = "bzr-tools-${version}";
+ pname = "bzr-tools";
version = "2.6.0";
src = fetchurl {
diff --git a/pkgs/applications/version-management/bcompare/default.nix b/pkgs/applications/version-management/bcompare/default.nix
new file mode 100644
index 00000000000..3dc7792de2a
--- /dev/null
+++ b/pkgs/applications/version-management/bcompare/default.nix
@@ -0,0 +1,66 @@
+{ autoPatchelfHook, bzip2, cairo, coreutils, fetchurl, gdk-pixbuf, gnome2, gtk2, kcoreaddons, ki18n, kio, kservice, lib, qt4, qt511, qtbase, stdenv, runtimeShell }:
+
+stdenv.mkDerivation rec {
+ pname = "bcompare";
+ version = "4.2.10.23938";
+
+ src = fetchurl {
+ url = "https://www.scootersoftware.com/${pname}-${version}_amd64.deb";
+ sha256 = "1825s1lbaj20d712czmaaqg7mkwfb650r53af2y30j29p6yd4wal";
+ };
+
+ unpackPhase = ''
+ ar x $src
+ tar xfz data.tar.gz
+ '';
+
+ installPhase = ''
+ mkdir -p $out/bin $out/lib $out/share
+ cp -R usr/share $out/
+ cp -R usr/lib $out/
+ cp -R usr/bin $out/
+
+ # Remove library that refuses to be autoPatchelf'ed
+ rm $out/lib/beyondcompare/ext/bcompare_ext_kde.amd64.so
+
+ substituteInPlace $out/bin/bcompare \
+ --replace "/usr/lib/beyondcompare" "$out/lib/beyondcompare" \
+ --replace "/bin/bash" "${runtimeShell}"
+
+ # Create symlink bzip2 library
+ ln -s ${bzip2.out}/lib/libbz2.so.1 $out/lib/beyondcompare/libbz2.so.1.0
+ '';
+
+ nativeBuildInputs = [ autoPatchelfHook ];
+
+ buildInputs = [
+ stdenv.cc.cc.lib
+ gtk2
+ gnome2.pango
+ cairo
+ kio
+ kservice
+ ki18n
+ kcoreaddons
+ gdk-pixbuf
+ qt4
+ bzip2
+ ];
+
+ dontBuild = true;
+ dontConfigure = true;
+
+ meta = with stdenv.lib; {
+ description = "GUI application that allows to quickly and easily compare files and folders";
+ longDescription = ''
+ Beyond Compare is focused. Beyond Compare allows you to quickly and easily compare your files and folders.
+ By using simple, powerful commands you can focus on the differences you're interested in and ignore those you're not.
+ You can then merge the changes, synchronize your files, and generate reports for your records.
+ '';
+ homepage = "https://www.scootersoftware.com";
+ license = licenses.unfree;
+ maintainers = [ maintainers.ktor ];
+ platforms = [ "x86_64-linux" ];
+ };
+
+}
diff --git a/pkgs/applications/version-management/bitkeeper/default.nix b/pkgs/applications/version-management/bitkeeper/default.nix
index 26397380d57..e092a604142 100644
--- a/pkgs/applications/version-management/bitkeeper/default.nix
+++ b/pkgs/applications/version-management/bitkeeper/default.nix
@@ -3,7 +3,7 @@
, libtomcrypt, libtommath, lz4 }:
stdenv.mkDerivation rec {
- name = "bitkeeper-${version}";
+ pname = "bitkeeper";
version = "7.3.1ce";
src = fetchurl {
diff --git a/pkgs/applications/version-management/blackbox/default.nix b/pkgs/applications/version-management/blackbox/default.nix
index 569606d2fdb..8c28a678962 100644
--- a/pkgs/applications/version-management/blackbox/default.nix
+++ b/pkgs/applications/version-management/blackbox/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- version = "1.20170611";
+ version = "1.20181219";
pname = "blackbox";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "stackexchange";
repo = pname;
rev = "v${version}";
- sha256 = "1jnzhlj54c0szw9l9wib07i2375pbm402bx9wagspcmwc0qw43p6";
+ sha256 = "1lpwwwc3rf992vdf3iy1ds07n1xkmad065im2bqzc6kdsbkn7rjx";
};
installPhase = ''
diff --git a/pkgs/applications/version-management/bugseverywhere/default.nix b/pkgs/applications/version-management/bugseverywhere/default.nix
index 6301acdf134..7d1de378f53 100644
--- a/pkgs/applications/version-management/bugseverywhere/default.nix
+++ b/pkgs/applications/version-management/bugseverywhere/default.nix
@@ -7,7 +7,7 @@
#
pythonPackages.buildPythonApplication rec {
version = "1.1.1";
- name = "bugseverywhere-${version}";
+ pname = "bugseverywhere";
src = fetchurl {
url =
diff --git a/pkgs/applications/version-management/cvs2svn/default.nix b/pkgs/applications/version-management/cvs2svn/default.nix
index a2ebb8195db..4c818060d22 100644
--- a/pkgs/applications/version-management/cvs2svn/default.nix
+++ b/pkgs/applications/version-management/cvs2svn/default.nix
@@ -4,11 +4,11 @@
}:
python2Packages.buildPythonApplication rec {
- name = "cvs2svn-${version}";
+ pname = "cvs2svn";
version = "2.5.0";
src = fetchurl {
- url = "http://cvs2svn.tigris.org/files/documents/1462/49543/${name}.tar.gz";
+ url = "http://cvs2svn.tigris.org/files/documents/1462/49543/${pname}-${version}.tar.gz";
sha256 = "1ska0z15sjhyfi860rjazz9ya1gxbf5c0h8dfqwz88h7fccd22b4";
};
diff --git a/pkgs/applications/version-management/cvsps/default.nix b/pkgs/applications/version-management/cvsps/default.nix
index aa3bcb27394..71130a2e283 100644
--- a/pkgs/applications/version-management/cvsps/default.nix
+++ b/pkgs/applications/version-management/cvsps/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, fetchpatch, cvs, zlib }:
stdenv.mkDerivation rec {
- name = "cvsps-${version}";
+ pname = "cvsps";
version = "2.1";
src = fetchurl {
diff --git a/pkgs/applications/version-management/diffuse/default.nix b/pkgs/applications/version-management/diffuse/default.nix
index fa6d4fe1890..fc591dd710e 100644
--- a/pkgs/applications/version-management/diffuse/default.nix
+++ b/pkgs/applications/version-management/diffuse/default.nix
@@ -4,10 +4,10 @@ let
inherit (python27Packages) pygtk python;
in stdenv.mkDerivation rec {
version = "0.4.8";
- name = "diffuse-${version}";
+ pname = "diffuse";
src = fetchurl {
- url = "mirror://sourceforge/project/diffuse/diffuse/${version}/${name}.tar.bz2";
+ url = "mirror://sourceforge/project/diffuse/diffuse/${version}/${pname}-${version}.tar.bz2";
sha256 = "0ayz8bywmk1z3zicb0a7hbxliqpc7xym60s0mawzqllkpadvgly1";
};
diff --git a/pkgs/applications/version-management/fossil/default.nix b/pkgs/applications/version-management/fossil/default.nix
index d0f79600e8c..cc029881133 100644
--- a/pkgs/applications/version-management/fossil/default.nix
+++ b/pkgs/applications/version-management/fossil/default.nix
@@ -4,16 +4,16 @@
}:
stdenv.mkDerivation rec {
- name = "fossil-${version}";
- version = "2.8";
+ pname = "fossil";
+ version = "2.9";
src = fetchurl {
urls =
[
"https://www.fossil-scm.org/index.html/uv/fossil-src-${version}.tar.gz"
];
- name = "${name}.tar.gz";
- sha256 = "0pbinf8d2kj1j7niblhzjd2l2khg6r2pn2xvig6gavz27p3vwcka";
+ name = "${pname}-${version}.tar.gz";
+ sha256 = "0kwb7pkp7y2my916rhyl6kmcf0fk8gkzaxzy13hfgqs35nlsvchw";
};
buildInputs = [ zlib openssl readline sqlite which ed ]
diff --git a/pkgs/applications/version-management/gerrit/default.nix b/pkgs/applications/version-management/gerrit/default.nix
index 0475a8ae76c..fe0c1a508d0 100644
--- a/pkgs/applications/version-management/gerrit/default.nix
+++ b/pkgs/applications/version-management/gerrit/default.nix
@@ -1,25 +1,21 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "gerrit-${version}";
- version = "2.14.6";
+ pname = "gerrit";
+ version = "3.0.2";
src = fetchurl {
url = "https://gerrit-releases.storage.googleapis.com/gerrit-${version}.war";
- sha256 = "0fsqwfsnyb4nbxgb1i1mp0vshl0mk8bwqlddzqr9x2v99mbca28q";
+ sha256 = "16zh2dczjnzwzrzg0xkqs7bfd6bzk7s42gyb59z3206zpvh5kq9k";
};
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "1qrmvqqnlbabqz4yx06vi030ci12v0063iq2palxmbj3whrzv9la";
-
buildCommand = ''
mkdir -p "$out"/webapps/
ln -s ${src} "$out"/webapps/gerrit-${version}.war
'';
meta = with stdenv.lib; {
- homepage = https://www.gerritcodereview.com/index.md;
+ homepage = "https://www.gerritcodereview.com/index.md";
license = licenses.asl20;
description = "A web based code review and repository management for the git version control system";
maintainers = with maintainers; [ jammerful ];
diff --git a/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix b/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix
index 341b50f0ef2..fda89e33180 100644
--- a/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/bitbucket-server-cli/default.nix
@@ -1,4 +1,4 @@
-{ lib, bundlerEnv, ruby }:
+{ lib, bundlerEnv, ruby, bundlerUpdateScript }:
bundlerEnv rec {
name = "bitbucket-server-cli-${version}";
@@ -9,11 +9,13 @@ bundlerEnv rec {
pname = "atlassian-stash";
+ passthru.updateScript = bundlerUpdateScript "gitAndTools.bitbucket-server-cli";
+
meta = with lib; {
description = "A command line interface to interact with BitBucket Server (formerly Atlassian Stash)";
homepage = https://bitbucket.org/atlassian/bitbucket-server-cli;
license = licenses.mit;
- maintainers = with maintainers; [ jgertm ];
+ maintainers = with maintainers; [ jgertm nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/cgit/default.nix b/pkgs/applications/version-management/git-and-tools/cgit/default.nix
index 5bfd74344e8..20392655062 100644
--- a/pkgs/applications/version-management/git-and-tools/cgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/cgit/default.nix
@@ -1,15 +1,16 @@
-{ stdenv, fetchurl, openssl, zlib, asciidoc, libxml2, libxslt
+{ stdenv, fetchurl, fetchpatch, openssl, zlib, asciidoc, libxml2, libxslt
, docbook_xsl, pkgconfig, luajit
-, groff, gzip, bzip2, xz
+, coreutils, gnused, groff, docutils
+, gzip, bzip2, xz
, python, wrapPython, pygments, markdown
}:
stdenv.mkDerivation rec {
- name = "cgit-${version}";
+ pname = "cgit";
version = "1.2.1";
src = fetchurl {
- url = "https://git.zx2c4.com/cgit/snapshot/${name}.tar.xz";
+ url = "https://git.zx2c4.com/cgit/snapshot/${pname}-${version}.tar.xz";
sha256 = "1gw2j5xc5qdx2hwiwkr8h6kgya7v9d9ff9j32ga1dys0cca7qm1w";
};
@@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
sha256 = "14hfwfkrci829a9316hnvkglnqqw1p03cw9k56p4fcb078wbwh4b";
};
+ patches = [
+ (fetchpatch {
+ name = "prevent-dos-limit-path-length.patch";
+ url = "https://git.zx2c4.com/cgit/patch/?id=54c407a74a35d4ee9ffae94cc5bc9096c9f7f54a";
+ sha256 = "1qlbpqsc293lmc9hzwf1j4jr5qlv8cm1r249v3yij5s4wki1595j";
+ })
+ ];
+
nativeBuildInputs = [ pkgconfig ] ++ [ python wrapPython ];
buildInputs = [
openssl zlib asciidoc libxml2 libxslt docbook_xsl luajit
@@ -35,6 +44,9 @@ stdenv.mkDerivation rec {
substituteInPlace filters/html-converters/man2html \
--replace 'groff' '${groff}/bin/groff'
+
+ substituteInPlace filters/html-converters/rst2html \
+ --replace 'rst2html.py' '${docutils}/bin/rst2html.py'
'';
# Give cgit a git source tree and pass configuration parameters (as make
@@ -57,6 +69,10 @@ stdenv.mkDerivation rec {
cp cgitrc.5 "$out/share/man/man5"
wrapPythonProgramsIn "$out/lib/cgit/filters" "$out $pythonPath"
+
+ for script in $out/lib/cgit/filters/*.sh $out/lib/cgit/filters/html-converters/txt2html; do
+ wrapProgram $script --prefix PATH : '${stdenv.lib.makeBinPath [ coreutils gnused ]}'
+ done
'';
meta = {
diff --git a/pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix b/pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix
index 1af1870928b..454458cdec6 100644
--- a/pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/darcs-to-git/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, ruby, gnugrep, diffutils, git, darcs }:
-stdenv.mkDerivation rec {
- name = "darcs-to-git-${version}";
+stdenv.mkDerivation {
+ pname = "darcs-to-git";
version = "2015-06-04";
src = fetchgit {
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix
index 4f46fd55601..e64254ed29f 100644
--- a/pkgs/applications/version-management/git-and-tools/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/default.nix
@@ -89,6 +89,10 @@ let
git-extras = callPackage ./git-extras { };
+ git-gone = callPackage ./git-gone {
+ inherit (darwin.apple_sdk.frameworks) Security;
+ };
+
git-hub = callPackage ./git-hub { };
git-ignore = callPackage ./git-ignore { };
@@ -113,8 +117,12 @@ let
git-secrets = callPackage ./git-secrets { };
+ git-standup = callPackage ./git-standup { };
+
git-stree = callPackage ./git-stree { };
+ git-subrepo = callPackage ./git-subrepo { };
+
git-sync = callPackage ./git-sync { };
git-test = callPackage ./git-test { };
@@ -127,6 +135,8 @@ let
gitflow = callPackage ./gitflow { };
+ gitstatus = callPackage ./gitstatus { };
+
grv = callPackage ./grv { };
hub = callPackage ./hub {
@@ -137,7 +147,7 @@ let
lab = callPackage ./lab { };
- pre-commit = callPackage ./pre-commit { };
+ pre-commit = pkgs.python3Packages.toPythonApplication pkgs.python3Packages.pre-commit;
pass-git-helper = python3Packages.callPackage ./pass-git-helper { };
diff --git a/pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix b/pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix
index 90b83348ef1..1bbbbe22d9a 100644
--- a/pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/diff-so-fancy/default.nix
@@ -1,14 +1,14 @@
{stdenv, git, perl, ncurses, coreutils, fetchFromGitHub, makeWrapper, ...}:
stdenv.mkDerivation rec {
- name = "diff-so-fancy-${version}";
- version = "1.2.5";
+ pname = "diff-so-fancy";
+ version = "1.2.6";
src = fetchFromGitHub {
owner = "so-fancy";
repo = "diff-so-fancy";
rev = "v${version}";
- sha256 = "1jqq7zd75aypxchrq0vjcw5gyn3wyjqy6w79mq2lzky8m6mqn8vr";
+ sha256 = "1w8x2d83zdhrnydiqq1qjf3j1y4cawdg8p1isj8zqwblnc47ygjm";
};
# Perl is needed here for patchShebangs
@@ -43,6 +43,6 @@ stdenv.mkDerivation rec {
diff-so-fancy builds on the good-lookin' output of git contrib's
diff-highlight to upgrade your diffs' appearances.
'';
- maintainers = with maintainers; [ fpletz ];
+ maintainers = with maintainers; [ fpletz globin ];
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/ghq/default.nix b/pkgs/applications/version-management/git-and-tools/ghq/default.nix
index 52494d4ab7e..477b628c4d7 100644
--- a/pkgs/applications/version-management/git-and-tools/ghq/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/ghq/default.nix
@@ -1,19 +1,17 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoModule, fetchFromGitHub, fetchpatch }:
-buildGoPackage rec {
- name = "ghq-${version}";
- version = "0.10.2";
-
- goPackagePath = "github.com/motemen/ghq";
+buildGoModule rec {
+ pname = "ghq";
+ version = "0.12.6";
src = fetchFromGitHub {
owner = "motemen";
repo = "ghq";
rev = "v${version}";
- sha256 = "1i7zmgv7760nrw8sayag90b8vvmbsiifgiqki5s3gs3ldnvlki5w";
+ sha256 = "14rm7fvphr7r9x0ys10vhzjwhfhhscgr574n1i1z4lzw551lrnp4";
};
- goDeps = ./deps.nix;
+ modSha256 = "1y2v8ir7kc2avgri06nagfyaxqr3xrg4g5pxl9rwzq9dyzm6ci5z";
buildFlagsArray = ''
-ldflags=
@@ -21,9 +19,17 @@ buildGoPackage rec {
'';
postInstall = ''
- install -m 444 -D ${src}/zsh/_ghq $bin/share/zsh/site-functions/_ghq
+ install -m 444 -D ${src}/zsh/_ghq $out/share/zsh/site-functions/_ghq
'';
+ patches = [
+ (fetchpatch {
+ # remove once the commit lands in a release.
+ url = "https://github.com/motemen/ghq/commit/38ac89e60e60182b5870108f9753c9fe8d00e4a6.patch";
+ sha256 = "1z8yvzmka3sh44my6jnwc39p8zs7mczxgvwc9z0pkqk4vgvaj8gj";
+ })
+ ];
+
meta = {
description = "Remote repository management made easy";
homepage = https://github.com/motemen/ghq;
diff --git a/pkgs/applications/version-management/git-and-tools/ghq/deps.nix b/pkgs/applications/version-management/git-and-tools/ghq/deps.nix
deleted file mode 100644
index be99aee64a5..00000000000
--- a/pkgs/applications/version-management/git-and-tools/ghq/deps.nix
+++ /dev/null
@@ -1,192 +0,0 @@
-# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
-[
- {
- goPackagePath = "github.com/blang/semver";
- fetch = {
- type = "git";
- url = "https://github.com/blang/semver";
- rev = "v3.5.1";
- sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
- };
- }
- {
- goPackagePath = "github.com/daviddengcn/go-colortext";
- fetch = {
- type = "git";
- url = "https://github.com/daviddengcn/go-colortext";
- rev = "186a3d44e920";
- sha256 = "18piv4zzcb8abbc7fllz9p6rd4zhsy1gc6iygym381caggmmgxgk";
- };
- }
- {
- goPackagePath = "github.com/fsnotify/fsnotify";
- fetch = {
- type = "git";
- url = "https://github.com/fsnotify/fsnotify";
- rev = "v1.4.7";
- sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
- };
- }
- {
- goPackagePath = "github.com/golang/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/golang/protobuf";
- rev = "v1.2.0";
- sha256 = "0kf4b59rcbb1cchfny2dm9jyznp8ri2hsb14n8iak1q8986xa0ab";
- };
- }
- {
- goPackagePath = "github.com/golangplus/bytes";
- fetch = {
- type = "git";
- url = "https://github.com/golangplus/bytes";
- rev = "45c989fe5450";
- sha256 = "1fpwg1idakpbvkmk8j8yyhv9g7mhr9c922kvff6kj4br4k05zyzr";
- };
- }
- {
- goPackagePath = "github.com/golangplus/fmt";
- fetch = {
- type = "git";
- url = "https://github.com/golangplus/fmt";
- rev = "2a5d6d7d2995";
- sha256 = "1242q05qnawhv0klzy1pbq63q8jxkms5hc7421992hzq2m40k5yn";
- };
- }
- {
- goPackagePath = "github.com/golangplus/testing";
- fetch = {
- type = "git";
- url = "https://github.com/golangplus/testing";
- rev = "af21d9c3145e";
- sha256 = "1g83sjvcavqbh92vyirc48mrqd18yfci08zya0hrgk840cr94czc";
- };
- }
- {
- goPackagePath = "github.com/hpcloud/tail";
- fetch = {
- type = "git";
- url = "https://github.com/hpcloud/tail";
- rev = "v1.0.0";
- sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
- };
- }
- {
- goPackagePath = "github.com/motemen/go-colorine";
- fetch = {
- type = "git";
- url = "https://github.com/motemen/go-colorine";
- rev = "45d19169413a";
- sha256 = "1mdy6q0926s1frj027nlzlvm2qssmkpjis7ic3l2smajkzh07118";
- };
- }
- {
- goPackagePath = "github.com/onsi/ginkgo";
- fetch = {
- type = "git";
- url = "https://github.com/onsi/ginkgo";
- rev = "v1.6.0";
- sha256 = "0x0gc89vgq38xhgmi2h22bhr73cf2gmk42g89nz89k8dgg9hhr25";
- };
- }
- {
- goPackagePath = "github.com/onsi/gomega";
- fetch = {
- type = "git";
- url = "https://github.com/onsi/gomega";
- rev = "v1.5.0";
- sha256 = "1n7i4hksdgv410m43v2sw14bl5vy59dkp6nlw5l76nibbh37syr9";
- };
- }
- {
- goPackagePath = "github.com/urfave/cli";
- fetch = {
- type = "git";
- url = "https://github.com/urfave/cli";
- rev = "v1.20.0";
- sha256 = "0y6f4sbzkiiwrxbl15biivj8c7qwxnvm3zl2dd3mw4wzg4x10ygj";
- };
- }
- {
- goPackagePath = "golang.org/x/crypto";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/crypto";
- rev = "c2843e01d9a2";
- sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
- };
- }
- {
- goPackagePath = "golang.org/x/net";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/net";
- rev = "4829fb13d2c6";
- sha256 = "05nwpw41d7xsdln5rj381n8j9dsbq5ng1wp52bxslqc4x0l5s9fj";
- };
- }
- {
- goPackagePath = "golang.org/x/sync";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sync";
- rev = "1d60e4601c6f";
- sha256 = "046jlanz2lkxq1r57x9bl6s4cvfqaic6p2xybsj8mq1120jv4rs6";
- };
- }
- {
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "d0b11bdaac8a";
- sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
- };
- }
- {
- goPackagePath = "golang.org/x/text";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/text";
- rev = "v0.3.0";
- sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
- };
- }
- {
- goPackagePath = "gopkg.in/check.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/check.v1";
- rev = "20d25e280405";
- sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
- };
- }
- {
- goPackagePath = "gopkg.in/fsnotify.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/fsnotify.v1";
- rev = "v1.4.7";
- sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
- };
- }
- {
- goPackagePath = "gopkg.in/tomb.v1";
- fetch = {
- type = "git";
- url = "https://gopkg.in/tomb.v1";
- rev = "dd632973f1e7";
- sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
- };
- }
- {
- goPackagePath = "gopkg.in/yaml.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/yaml.v2";
- rev = "v2.2.1";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
- };
- }
-]
diff --git a/pkgs/applications/version-management/git-and-tools/git-absorb/default.nix b/pkgs/applications/version-management/git-and-tools/git-absorb/default.nix
index 17e2bfee40b..169315d1e2e 100644
--- a/pkgs/applications/version-management/git-and-tools/git-absorb/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-absorb/default.nix
@@ -1,22 +1,22 @@
{ stdenv, fetchFromGitHub, rustPlatform, libiconv, Security }:
rustPlatform.buildRustPackage rec {
- name = "git-absorb-${version}";
- version = "0.3.0";
+ pname = "git-absorb";
+ version = "0.5.0";
src = fetchFromGitHub {
owner = "tummychow";
- repo = "git-absorb";
+ repo = pname;
rev = "refs/tags/${version}";
- sha256 = "1dm442lyk7f44bshm2ajync5pzdwvdc5xfpw2lkvjzxflmh5572z";
+ sha256 = "0lggv3knh6iglkh8x2zqvqcs3dlwfsdiclg7pmdrycny72la4k2j";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ libiconv Security ];
- cargoSha256 = "0fvxs09b9x38vp0psvlvbj09myxrhabp95pp3nz7nxsgr7fxflrr";
+ cargoSha256 = "1khplyglavsidh13nnq9y5rxd5w89ail08wgzn29a5m03zir1yfd";
meta = with stdenv.lib; {
- inherit (src.meta) homepage;
+ homepage = "https://github.com/tummychow/git-absorb";
description = "git commit --fixup, but automatic";
license = [ licenses.bsd3 ];
maintainers = [ maintainers.marsam ];
diff --git a/pkgs/applications/version-management/git-and-tools/git-annex-metadata-gui/default.nix b/pkgs/applications/version-management/git-and-tools/git-annex-metadata-gui/default.nix
index ba64a065d28..3118eaab19b 100644
--- a/pkgs/applications/version-management/git-and-tools/git-annex-metadata-gui/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-annex-metadata-gui/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildPythonApplication, fetchFromGitHub, pyqt5, git-annex-adapter }:
buildPythonApplication rec {
- name = "git-annex-metadata-gui-${version}";
+ pname = "git-annex-metadata-gui";
version = "0.2.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix b/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix
index 4d0f33730e4..55a9dd18f72 100644
--- a/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-annex-remote-b2/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
- name = "git-annex-remote-b2-${version}";
+ pname = "git-annex-remote-b2";
version = "20151212-${stdenv.lib.strings.substring 0 7 rev}";
rev = "4db46b9fc9ef7b3f4851c2a6b061cb8f90f553ba";
diff --git a/pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix b/pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix
index c368dcd487e..5d4d9b86d83 100644
--- a/pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-annex-remote-rclone/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, rclone, makeWrapper }:
stdenv.mkDerivation rec {
- name = "git-annex-remote-rclone-${version}";
+ pname = "git-annex-remote-rclone";
version = "0.6";
rev = "v${version}";
diff --git a/pkgs/applications/version-management/git-and-tools/git-appraise/default.nix b/pkgs/applications/version-management/git-and-tools/git-appraise/default.nix
index 185ed38b5db..daa0af43879 100644
--- a/pkgs/applications/version-management/git-and-tools/git-appraise/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-appraise/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "git-appraise-unstable-${version}";
+ pname = "git-appraise-unstable";
version = "2018-02-26";
rev = "2414523905939525559e4b2498c5597f86193b61";
diff --git a/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix b/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
index 2d171df8bf2..32b9c8a980d 100644
--- a/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-big-picture/default.nix
@@ -4,8 +4,6 @@ python2Packages.buildPythonApplication rec {
pname = "git-big-picture";
version = "0.10.1";
- name = "${pname}-${version}";
-
src = fetchFromGitHub {
owner = "esc";
repo = pname;
diff --git a/pkgs/applications/version-management/git-and-tools/git-bug/default.nix b/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
index 0baf09918d4..edc5f9d7bfb 100644
--- a/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-bug/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "git-bug-${version}";
+ pname = "git-bug";
version = "0.5.0";
rev = "8d7a2c076a38c89085fd3191a2998efb659650c2";
goPackagePath = "github.com/MichaelMure/git-bug";
diff --git a/pkgs/applications/version-management/git-and-tools/git-bz/default.nix b/pkgs/applications/version-management/git-and-tools/git-bz/default.nix
index c14a027b4ab..5edf9a7b5a5 100644
--- a/pkgs/applications/version-management/git-and-tools/git-bz/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-bz/default.nix
@@ -2,8 +2,8 @@
, asciidoc, docbook_xml_dtd_45, docbook_xsl, libxslt, makeWrapper, xmlto
, pythonPackages }:
-stdenv.mkDerivation rec {
- name = "git-bz-${version}";
+stdenv.mkDerivation {
+ pname = "git-bz";
version = "3.2015-09-08";
src = fetchgit {
diff --git a/pkgs/applications/version-management/git-and-tools/git-codeowners/default.nix b/pkgs/applications/version-management/git-and-tools/git-codeowners/default.nix
index 206a4af9121..418cf2e5866 100644
--- a/pkgs/applications/version-management/git-and-tools/git-codeowners/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-codeowners/default.nix
@@ -1,6 +1,6 @@
{ lib, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
- name = "git-codeowners-${version}";
+ pname = "git-codeowners";
version = "0.1.2";
src = fetchFromGitHub {
@@ -10,7 +10,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0bzq4ridzb4l1zqrj1r0vlzkjpgfaqwky5jf49cwjhz4ybwrfpkq";
};
- cargoSha256 = "0rdmv9s86xba1zkl2j5rgix6k7pkkxqmpar03sak2fjrd7mh8iz0";
+ cargoSha256 = "1k5gxbjv4a8l5y9rm0n4vwzlwp4hk1rb59v0wvcirmj0p7hpw9x9";
meta = with lib; {
homepage = "https://github.com/softprops/git-codeowners";
diff --git a/pkgs/applications/version-management/git-and-tools/git-cola/default.nix b/pkgs/applications/version-management/git-and-tools/git-cola/default.nix
index 3020e7d64aa..545fc77168e 100644
--- a/pkgs/applications/version-management/git-and-tools/git-cola/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-cola/default.nix
@@ -1,24 +1,31 @@
-{ stdenv, fetchFromGitHub, pythonPackages, gettext, git }:
+{ stdenv, fetchFromGitHub, pythonPackages, gettext, git, qt5 }:
let
inherit (pythonPackages) buildPythonApplication pyqt5 sip pyinotify;
in buildPythonApplication rec {
- name = "git-cola-${version}";
- version = "3.3";
+ pname = "git-cola";
+ version = "3.4";
src = fetchFromGitHub {
owner = "git-cola";
repo = "git-cola";
rev = "v${version}";
- sha256 = "0gfbzcmaqg6hdy2cfpshgcwh8zgj1ia1vd95i5xdrsvksgb8fq2j";
+ sha256 = "0754d56dprhb1nhb8fwp4my5pyqcgarwzba1l6zx7il87d7vyi5m";
};
buildInputs = [ git gettext ];
propagatedBuildInputs = [ pyqt5 sip pyinotify ];
+ nativeBuildInputs = [ qt5.wrapQtAppsHook ];
doCheck = false;
+ postFixup = ''
+ wrapQtApp $out/bin/git-cola
+ wrapQtApp $out/bin/git-dag
+
+ '';
+
meta = with stdenv.lib; {
homepage = https://github.com/git-cola/git-cola;
description = "A sleek and powerful Git GUI";
diff --git a/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix b/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix
index 6a39f1fe3d1..df0b1e78d27 100644
--- a/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-crypt/default.nix
@@ -1,17 +1,20 @@
-{ fetchFromGitHub, git, gnupg, makeWrapper, openssl, stdenv }:
+{ fetchFromGitHub, git, gnupg, makeWrapper, openssl, stdenv
+, libxslt, docbook_xsl
+}:
stdenv.mkDerivation rec {
- name = "git-crypt-${version}";
+ pname = "git-crypt";
version = "0.6.0";
src = fetchFromGitHub {
owner = "AGWA";
- repo = "git-crypt";
- rev = "${version}";
+ repo = pname;
+ rev = version;
sha256 = "13m9y0m6gc3mlw3pqv9x4i0him2ycbysizigdvdanhh514kga602";
- inherit name;
};
+ nativeBuildInputs = [ libxslt ];
+
buildInputs = [ openssl makeWrapper ];
patchPhase = ''
@@ -19,9 +22,14 @@ stdenv.mkDerivation rec {
--replace '(escape_shell_arg(our_exe_path()))' '= "git-crypt"'
'';
- installPhase = ''
- make install PREFIX=$out
- wrapProgram $out/bin/* --prefix PATH : $out/bin:${git}/bin:${gnupg}/bin
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ "ENABLE_MAN=yes"
+ "DOCBOOK_XSL=${docbook_xsl}/share/xml/docbook-xsl-nons/manpages/docbook.xsl"
+ ];
+
+ postFixup = ''
+ wrapProgram $out/bin/git-crypt --prefix PATH : $out/bin:${git}/bin:${gnupg}/bin
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/version-management/git-and-tools/git-dit/default.nix b/pkgs/applications/version-management/git-and-tools/git-dit/default.nix
index 473f0b1c450..77fc0428115 100644
--- a/pkgs/applications/version-management/git-and-tools/git-dit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-dit/default.nix
@@ -1,6 +1,6 @@
{ stdenv
, fetchFromGitHub
-, openssl
+, openssl_1_0_2
, zlib
, libssh
, cmake
@@ -16,7 +16,7 @@
with rustPlatform;
buildRustPackage rec {
- name = "git-dit-${version}";
+ pname = "git-dit";
version = "0.4.0";
src = fetchFromGitHub {
@@ -26,7 +26,7 @@ buildRustPackage rec {
sha256 = "1sx6sc2dj3l61gbiqz8vfyhw5w4xjdyfzn1ixz0y8ipm579yc7a2";
};
- cargoSha256 = "08zbvjwjdpv2sbj6mh73py82inhs18jvmh8m9k4l94fcz6ykgqwr";
+ cargoSha256 = "10852131aizfw9j1yl4gz180h4gd8y5ymx3wmf5v9cmqiqxy8bgy";
nativeBuildInputs = [
cmake
@@ -35,7 +35,7 @@ buildRustPackage rec {
];
buildInputs = [
- openssl
+ openssl_1_0_2
libssh
zlib
] ++ stdenv.lib.optionals (stdenv.isDarwin) [
diff --git a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix
index c036a0ffe4b..09c9169e434 100644
--- a/pkgs/applications/version-management/git-and-tools/git-extras/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-extras/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "git-extras-${version}";
+ pname = "git-extras";
version = "4.7.0";
src = fetchurl {
diff --git a/pkgs/applications/version-management/git-and-tools/git-fame/default.nix b/pkgs/applications/version-management/git-and-tools/git-fame/default.nix
index 9ca7a67a53e..f4aa4878f62 100644
--- a/pkgs/applications/version-management/git-and-tools/git-fame/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-fame/default.nix
@@ -1,19 +1,21 @@
-{ stdenv, bundlerEnv, ruby }:
+{ stdenv, bundlerEnv, ruby, bundlerUpdateScript }:
-bundlerEnv rec {
+bundlerEnv {
inherit ruby;
pname = "git_fame";
gemdir = ./.;
+ passthru.updateScript = bundlerUpdateScript "gitAndTools.git-fame";
+
meta = with stdenv.lib; {
description = ''
A command-line tool that helps you summarize and pretty-print collaborators based on contributions
'';
homepage = http://oleander.io/git-fame-rb;
license = licenses.mit;
- maintainers = with maintainers; [ expipiplus1 ];
+ maintainers = with maintainers; [ expipiplus1 nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/git-gone/default.nix b/pkgs/applications/version-management/git-and-tools/git-gone/default.nix
new file mode 100644
index 00000000000..d445e0181f4
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-gone/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchFromGitHub, rustPlatform, pkgconfig, openssl, curl, libiconv, Security }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "git-gone";
+ version = "0.1.2";
+
+ src = fetchFromGitHub {
+ owner = "lunaryorn";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0vgkx227wpg9l2zza6446wzshjhnrhba3qhabibn4gg8wwcqmmxf";
+ };
+
+ cargoSha256 = "11h2whlgjhg3j98a9w9k29njj89wx93w0dcyf981985flin709sx";
+
+ nativeBuildInputs = [ pkgconfig ];
+
+ buildInputs = [ openssl ]
+ ++ stdenv.lib.optionals stdenv.isDarwin [ curl libiconv Security ];
+
+ meta = with stdenv.lib; {
+ description = "Cleanup stale Git branches of pull requests";
+ homepage = "https://github.com/lunaryorn/git-gone";
+ license = licenses.asl20;
+ maintainers = [ maintainers.marsam ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/git-hub/default.nix b/pkgs/applications/version-management/git-and-tools/git-hub/default.nix
index ded9bcc2ffd..193133d6d3e 100644
--- a/pkgs/applications/version-management/git-and-tools/git-hub/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-hub/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gitMinimal, python2Packages }:
stdenv.mkDerivation rec {
- name = "git-hub-${version}";
+ pname = "git-hub";
version = "1.0.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-ignore/default.nix b/pkgs/applications/version-management/git-and-tools/git-ignore/default.nix
index df1f007faa7..99be85e09b1 100644
--- a/pkgs/applications/version-management/git-and-tools/git-ignore/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-ignore/default.nix
@@ -13,7 +13,7 @@ buildRustPackage rec {
sha256 = "0krz50pw9bkyzl78bvppk6skbpjp8ga7bd34jya4ha1xfmd8p89c";
};
- cargoSha256 = "0r6whz8vghhjyc5vrr0n172nghmi61zj96lk26qm0bgxqyzll1kj";
+ cargoSha256 = "1ccipxifnm38315qigaq28hlzam2wr8q2p2dbcq96kar6pq377vf";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ openssl ]
diff --git a/pkgs/applications/version-management/git-and-tools/git-imerge/default.nix b/pkgs/applications/version-management/git-and-tools/git-imerge/default.nix
index 10e78622271..76b29135f66 100644
--- a/pkgs/applications/version-management/git-and-tools/git-imerge/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-imerge/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pythonPackages }:
stdenv.mkDerivation rec {
- name = "git-imerge-${version}";
+ pname = "git-imerge";
version = "1.1.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-octopus/default.nix b/pkgs/applications/version-management/git-and-tools/git-octopus/default.nix
index f8d871bdcf3..a7abd1eeaf4 100644
--- a/pkgs/applications/version-management/git-and-tools/git-octopus/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-octopus/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "git-octopus-${version}";
+ pname = "git-octopus";
version = "1.4";
installFlags = [ "prefix=$(out)" ];
diff --git a/pkgs/applications/version-management/git-and-tools/git-open/default.nix b/pkgs/applications/version-management/git-and-tools/git-open/default.nix
index dc3fbbed199..1cc3f365ea8 100644
--- a/pkgs/applications/version-management/git-and-tools/git-open/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-open/default.nix
@@ -1,7 +1,7 @@
{stdenv, git, xdg_utils, gnugrep, fetchFromGitHub, makeWrapper}:
stdenv.mkDerivation rec {
- name = "git-open-${version}";
+ pname = "git-open";
version = "2.0.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-radar/default.nix b/pkgs/applications/version-management/git-and-tools/git-radar/default.nix
index d72df802875..9fb9d4de6e3 100644
--- a/pkgs/applications/version-management/git-and-tools/git-radar/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-radar/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub}:
stdenv.mkDerivation rec {
- name = "git-radar-${version}";
+ pname = "git-radar";
version = "0.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-recent/default.nix b/pkgs/applications/version-management/git-and-tools/git-recent/default.nix
index c52a78ff007..628c7dbac7f 100644
--- a/pkgs/applications/version-management/git-and-tools/git-recent/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-recent/default.nix
@@ -4,14 +4,14 @@
}:
stdenv.mkDerivation rec {
- name = "git-recent-${version}";
- version = "1.1.0";
+ pname = "git-recent";
+ version = "1.1.1";
src = fetchFromGitHub {
owner = "paulirish";
repo = "git-recent";
rev = "v${version}";
- sha256 = "06r1jzmzdv3d4vxdh5qyf5g5rgavxfmh2rpbs7a7byg3k7d77hpn";
+ sha256 = "1g8i6vpjnnfh7vc1269c91bap267w4bxdqqwnzb8x18vqgn2fx8i";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix b/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix
index d1dce046979..ff0f702269c 100644
--- a/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-remote-gcrypt/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "git-remote-gcrypt-${version}";
+ pname = "git-remote-gcrypt";
version = "1.2";
rev = version;
diff --git a/pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix b/pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix
index a93682f0c2e..7d6b620e223 100644
--- a/pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-remote-hg/default.nix
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
homepage = https://github.com/mnauw/git-remote-hg;
description = "Semi-official Mercurial bridge from Git project";
license = licenses.gpl2;
- maintainers = [ maintainers.garbas ];
+ maintainers = [ ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/git-reparent/default.nix b/pkgs/applications/version-management/git-and-tools/git-reparent/default.nix
index 03435ec834a..c0de46264d0 100644
--- a/pkgs/applications/version-management/git-and-tools/git-reparent/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-reparent/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, makeWrapper, git, gnused }:
stdenv.mkDerivation rec {
- name = "git-reparent-${version}";
+ pname = "git-reparent";
version = "unstable-2017-09-03";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-secret/default.nix b/pkgs/applications/version-management/git-and-tools/git-secret/default.nix
index 1ade31fd683..62fbab02292 100644
--- a/pkgs/applications/version-management/git-and-tools/git-secret/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-secret/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, makeWrapper, git, gnupg, gawk }:
let
- version = "0.2.5";
+ version = "0.2.6";
repo = "git-secret";
in stdenv.mkDerivation {
@@ -11,7 +11,7 @@ in stdenv.mkDerivation {
inherit repo;
owner = "sobolevn";
rev = "v${version}";
- sha256 = "1caxdx1ps662vfa79f7l1bwgwgwf974ahzii0hzaqfnkxy45i520";
+ sha256 = "09p4h8mdmk0nzcd1jh1i6n29klz38n5vqqwdyzjkygmr2xqka55b";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/version-management/git-and-tools/git-secrets/default.nix b/pkgs/applications/version-management/git-and-tools/git-secrets/default.nix
index 211685c8edb..1da8f2a4a5e 100644
--- a/pkgs/applications/version-management/git-and-tools/git-secrets/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-secrets/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, makeWrapper, git, coreutils }:
stdenv.mkDerivation rec {
- name = "git-secrets-${version}";
+ pname = "git-secrets";
version = "1.3.0";
src = fetchFromGitHub {
owner = "awslabs";
repo = "git-secrets";
- rev = "${version}";
+ rev = version;
sha256 = "10lnxg0q855zi3d6804ivlrn6dc817kilzdh05mmz8a0ccvm2qc7";
};
diff --git a/pkgs/applications/version-management/git-and-tools/git-standup/default.nix b/pkgs/applications/version-management/git-and-tools/git-standup/default.nix
new file mode 100644
index 00000000000..c7488e84d5d
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-standup/default.nix
@@ -0,0 +1,32 @@
+{ stdenv, fetchFromGitHub, makeWrapper, git }:
+
+stdenv.mkDerivation rec {
+ pname = "git-standup";
+ version = "2.3.1";
+
+ src = fetchFromGitHub {
+ owner = "kamranahmedse";
+ repo = pname;
+ rev = version;
+ sha256 = "0wx9ypyxhpjbrasl6264jmj9fjrpg3gn93dg00cakabz3r7yxxq3";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ dontBuild = true;
+
+ installPhase = ''
+ install -Dm755 -t $out/bin git-standup
+
+ wrapProgram $out/bin/git-standup \
+ --prefix PATH : "${stdenv.lib.makeBinPath [ git ]}"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Recall what you did on the last working day";
+ homepage = "https://github.com/kamranahmedse/git-standup";
+ license = licenses.mit;
+ maintainers = [ maintainers.marsam ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/git-stree/default.nix b/pkgs/applications/version-management/git-and-tools/git-stree/default.nix
index 6a52983e83c..ae40e011f85 100644
--- a/pkgs/applications/version-management/git-and-tools/git-stree/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-stree/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub, ... }:
-stdenv.mkDerivation rec {
- name = "git-stree-${version}";
+stdenv.mkDerivation {
+ pname = "git-stree";
version = "0.4.5";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix b/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix
new file mode 100644
index 00000000000..b196d39b46f
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-subrepo/default.nix
@@ -0,0 +1,58 @@
+{ stdenv, fetchFromGitHub, git, makeWrapper, which }:
+
+stdenv.mkDerivation rec {
+ pname = "git-subrepo";
+ version = "0.4.0";
+
+ src = fetchFromGitHub {
+ owner = "ingydotnet";
+ repo = "git-subrepo";
+ rev = version;
+ sha256 = "05m2dm9gq2nggwnxxdyq2kjj584sn2lxk66pr1qhjxnk81awj9l7";
+ };
+
+ nativeBuildInputs = [
+ makeWrapper
+ which
+ ];
+
+ buildInputs = [
+ git
+ ];
+
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ "INSTALL_LIB=${placeholder "out"}/bin"
+ "INSTALL_MAN=${placeholder "out"}/share/man/man1"
+ ];
+
+ patches = [
+ # Allow zsh completion to work even though we aren't installing from a git
+ # clone. Also submitted upstream as
+ # https://github.com/ingydotnet/git-subrepo/pull/420
+ ./zsh-completion.patch
+ ];
+
+ postInstall = ''
+ ZSH_COMP_DIR="$out/share/zsh/vendor-completions"
+ mkdir -p "$ZSH_COMP_DIR"
+ cp share/zsh-completion/_git-subrepo "$ZSH_COMP_DIR/"
+
+ BASH_COMP_DIR="$out/share/bash-completion/completions"
+ mkdir -p "$BASH_COMP_DIR"
+ cp share/completion.bash "$BASH_COMP_DIR/git-subrepo"
+ '';
+
+ postFixup = ''
+ wrapProgram $out/bin/git-subrepo \
+ --prefix PATH : "${git}/bin"
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/ingydotnet/git-subrepo;
+ description = "Git submodule alternative";
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = [ maintainers.ryantrinkle ];
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/git-subrepo/zsh-completion.patch b/pkgs/applications/version-management/git-and-tools/git-subrepo/zsh-completion.patch
new file mode 100644
index 00000000000..dcba5ba6eea
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/git-subrepo/zsh-completion.patch
@@ -0,0 +1,32 @@
+diff --git a/pkg/bin/generate-completion.pl b/pkg/bin/generate-completion.pl
+index 85ae3b8..d3e423c 100644
+--- a/pkg/bin/generate-completion.pl
++++ b/pkg/bin/generate-completion.pl
+@@ -82,11 +82,6 @@ sub generate_zsh {
+
+ # DO NOT EDIT. This file generated by pkg/bin/generate-completion.pl.
+
+-if [[ -z $GIT_SUBREPO_ROOT ]]; then
+- echo 'GIT_SUBREPO_ROOT is null; has `/path/to/git-subrepo/.rc` been sourced?'
+- return 3
+-fi
+-
+ _git-subrepo() {
+ typeset -A opt_args
+ local curcontext="$curcontext" state line context
+diff --git a/share/zsh-completion/_git-subrepo b/share/zsh-completion/_git-subrepo
+index fc82be2..a8069d9 100644
+--- a/share/zsh-completion/_git-subrepo
++++ b/share/zsh-completion/_git-subrepo
+@@ -3,11 +3,6 @@
+
+ # DO NOT EDIT. This file generated by pkg/bin/generate-completion.pl.
+
+-if [[ -z $GIT_SUBREPO_ROOT ]]; then
+- echo 'GIT_SUBREPO_ROOT is null; has `/path/to/git-subrepo/.rc` been sourced?'
+- return 3
+-fi
+-
+ _git-subrepo() {
+ typeset -A opt_args
+ local curcontext="$curcontext" state line context
diff --git a/pkgs/applications/version-management/git-and-tools/git-sync/default.nix b/pkgs/applications/version-management/git-and-tools/git-sync/default.nix
index 7ba7d8ec243..7fa15c66809 100644
--- a/pkgs/applications/version-management/git-and-tools/git-sync/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-sync/default.nix
@@ -2,7 +2,7 @@
}:
stdenv.mkDerivation rec {
- name = "git-sync-${version}";
+ pname = "git-sync";
version = "20151024";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git-test/default.nix b/pkgs/applications/version-management/git-and-tools/git-test/default.nix
index 1150f008299..e55799c2752 100644
--- a/pkgs/applications/version-management/git-and-tools/git-test/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git-test/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, makeWrapper, git }:
stdenv.mkDerivation rec {
- name = "git-test-${version}";
+ pname = "git-test";
version = "1.0.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-and-tools/git/default.nix b/pkgs/applications/version-management/git-and-tools/git/default.nix
index c76b82ffe6d..47da7f7a1d7 100644
--- a/pkgs/applications/version-management/git-and-tools/git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/git/default.nix
@@ -14,25 +14,29 @@
, darwin
, withLibsecret ? false
, pkgconfig, glib, libsecret
+, gzip # needed at runtime by gitweb.cgi
}:
assert sendEmailSupport -> perlSupport;
assert svnSupport -> perlSupport;
let
- version = "2.21.0";
+ version = "2.23.0";
svn = subversionClient.override { perlBindings = perlSupport; };
+
+ gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
in
stdenv.mkDerivation {
- name = "git-${version}";
+ pname = "git";
+ inherit version;
src = fetchurl {
url = "https://www.kernel.org/pub/software/scm/git/git-${version}.tar.xz";
- sha256 = "0a0d0b07rmvs985zpndxxy0vzr0vq53kq5kyd68iv6gf8gkirjwc";
+ sha256 = "0rv0y45gcd3h191isppn77acih695v4pipdj031jvs9rd1ds0kr3";
};
- outputs = [ "out" ] ++ stdenv.lib.optional perlSupport "gitweb";
+ outputs = [ "out" ];
hardeningDisable = [ "format" ];
@@ -96,7 +100,9 @@ stdenv.mkDerivation {
postBuild = ''
make -C contrib/subtree
- '' + (stdenv.lib.optionalString stdenv.isDarwin ''
+ '' + (stdenv.lib.optionalString perlSupport ''
+ make -C contrib/diff-highlight
+ '') + (stdenv.lib.optionalString stdenv.isDarwin ''
make -C contrib/credential/osxkeychain
'') + (stdenv.lib.optionalString withLibsecret ''
make -C contrib/credential/libsecret
@@ -162,16 +168,13 @@ stdenv.mkDerivation {
EOS
)"
perl -0777 -i -pe "$SCRIPT" \
- $out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,stash,submodule,subtree,web--browse}
+ $out/libexec/git-core/git-{sh-setup,filter-branch,merge-octopus,mergetool,quiltimport,request-pull,submodule,subtree,web--browse}
# Also put git-http-backend into $PATH, so that we can use smart
# HTTP(s) transports for pushing
ln -s $out/libexec/git-core/git-http-backend $out/bin/git-http-backend
'' + stdenv.lib.optionalString perlSupport ''
- # put in separate package for simpler maintenance
- mv $out/share/gitweb $gitweb/
-
# wrap perl commands
makeWrapper "$out/share/git/contrib/credential/netrc/git-credential-netrc" $out/bin/git-credential-netrc \
--set PERL5LIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
@@ -185,6 +188,16 @@ stdenv.mkDerivation {
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
wrapProgram $out/libexec/git-core/git-cvsexportcommit \
--set GITPERLLIB "$out/${perlPackages.perl.libPrefix}:${perlPackages.makePerlPath perlLibs}"
+
+ # gzip (and optionally bzip2, xz, zip) are runtime dependencies for
+ # gitweb.cgi, need to patch so that it's found
+ sed -i -e "s|'compressor' => \['gzip'|'compressor' => ['${gzip}/bin/gzip'|" \
+ $out/share/gitweb/gitweb.cgi
+ # Give access to CGI.pm and friends (was removed from perl core in 5.22)
+ for p in ${stdenv.lib.concatStringsSep " " gitwebPerlLibs}; do
+ sed -i -e "/use CGI /i use lib \"$p/${perlPackages.perl.libPrefix}\";" \
+ "$out/share/gitweb/gitweb.cgi"
+ done
''
+ (if svnSupport then ''
@@ -306,6 +319,6 @@ stdenv.mkDerivation {
'';
platforms = stdenv.lib.platforms.all;
- maintainers = with stdenv.lib.maintainers; [ peti the-kenny wmertens ];
+ maintainers = with stdenv.lib.maintainers; [ peti the-kenny wmertens globin ];
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/gitflow/default.nix b/pkgs/applications/version-management/git-and-tools/gitflow/default.nix
index 26f9f8c756e..57af13f597a 100644
--- a/pkgs/applications/version-management/git-and-tools/gitflow/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/gitflow/default.nix
@@ -5,7 +5,6 @@ with pkgs.lib;
stdenv.mkDerivation rec {
pname = "gitflow";
version = "1.12.2";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "petervanderdoes";
diff --git a/pkgs/applications/version-management/git-and-tools/gitstatus/default.nix b/pkgs/applications/version-management/git-and-tools/gitstatus/default.nix
new file mode 100644
index 00000000000..8cf9662d8f9
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/gitstatus/default.nix
@@ -0,0 +1,30 @@
+{callPackage, stdenv, fetchFromGitHub, ...}:
+
+stdenv.mkDerivation {
+ pname = "gitstatus";
+ version = "unstable-2019-05-06";
+
+ src = fetchFromGitHub {
+ owner = "romkatv";
+ repo = "gitstatus";
+ rev = "9c791f93c23c04dadfab8b4309a863b62a6ee424";
+ sha256 = "0jbdrgl62x6j920h72n2q6304fb6gdgnmllpv4aa76m13b9qhgq6";
+ };
+
+ buildInputs = [ (callPackage ./romkatv_libgit2.nix {}) ];
+ patchPhase = ''
+ sed -i "s|local daemon.*|local daemon=$out/bin/gitstatusd|" gitstatus.plugin.zsh
+ '';
+ installPhase = ''
+ install -Dm755 gitstatusd $out/bin/gitstatusd
+ install -Dm444 gitstatus.plugin.zsh $out
+ '';
+
+ meta = with stdenv.lib; {
+ description = "10x faster implementation of `git status` command";
+ homepage = https://github.com/romkatv/gitstatus;
+ license = [ licenses.gpl3 ];
+
+ maintainers = [ maintainers.mmlb ];
+ };
+}
diff --git a/pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix b/pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix
new file mode 100644
index 00000000000..0ff7fae2878
--- /dev/null
+++ b/pkgs/applications/version-management/git-and-tools/gitstatus/romkatv_libgit2.nix
@@ -0,0 +1,19 @@
+{fetchFromGitHub, libgit2, ...}:
+
+libgit2.overrideAttrs (oldAttrs: {
+ cmakeFlags = oldAttrs.cmakeFlags ++ [
+ "-DUSE_BUNDLED_ZLIB=ON"
+ "-DUSE_ICONV=OFF"
+ "-DBUILD_CLAR=OFF"
+ "-DUSE_SSH=OFF"
+ "-DUSE_HTTPS=OFF"
+ "-DBUILD_SHARED_LIBS=OFF"
+ "-DUSE_EXT_HTTP_PARSER=OFF"
+ ];
+ src = fetchFromGitHub {
+ owner = "romkatv";
+ repo = "libgit2";
+ rev = "aab6c56e6766fa752bef00c745067d875925fc89";
+ sha256 = "1yqqhpi5xi6s86411sixw4yq5c6n2v8pdh447c8b7q5lfc089lvl";
+ };
+})
diff --git a/pkgs/applications/version-management/git-and-tools/gitweb/default.nix b/pkgs/applications/version-management/git-and-tools/gitweb/default.nix
index a98dd5bc586..b6659b5f539 100644
--- a/pkgs/applications/version-management/git-and-tools/gitweb/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/gitweb/default.nix
@@ -1,35 +1,25 @@
-{ stdenv, git, gzip, perlPackages, fetchFromGitHub
+{ stdenv, buildEnv, git, fetchFromGitHub
, gitwebTheme ? false }:
let
- gitwebPerlLibs = with perlPackages; [ CGI HTMLParser CGIFast FCGI FCGIProcManager HTMLTagCloud ];
gitwebThemeSrc = fetchFromGitHub {
owner = "kogakure";
repo = "gitweb-theme";
rev = "049b88e664a359f8ec25dc6f531b7e2aa60dd1a2";
- sha256 = "0wksqma41z36dbv6w6iplkjfdm0ha3njp222fakyh4lismajr71p";
+ extraPostFetch = ''
+ mkdir -p "$TMPDIR/gitwebTheme"
+ mv "$out"/* "$TMPDIR/gitwebTheme/"
+ mkdir "$out/static"
+ mv "$TMPDIR/gitwebTheme"/* "$out/static/"
+ '';
+ sha256 = "17hypq6jvhy6zhh26lp3nyi52npfd5wy5752k6sq0shk4na2acqi";
};
-in stdenv.mkDerivation {
+in buildEnv {
name = "gitweb-${stdenv.lib.getVersion git}";
- src = git.gitweb;
-
- installPhase = ''
- mkdir $out
- mv * $out
-
- # gzip (and optionally bzip2, xz, zip) are runtime dependencies for
- # gitweb.cgi, need to patch so that it's found
- sed -i -e "s|'compressor' => \['gzip'|'compressor' => ['${gzip}/bin/gzip'|" \
- $out/gitweb.cgi
- # Give access to CGI.pm and friends (was removed from perl core in 5.22)
- for p in ${stdenv.lib.concatStringsSep " " gitwebPerlLibs}; do
- sed -i -e "/use CGI /i use lib \"$p/${perlPackages.perl.libPrefix}\";" \
- "$out/gitweb.cgi"
- done
-
- ${stdenv.lib.optionalString gitwebTheme "cp ${gitwebThemeSrc}/* $out/static"}
- '';
+ ignoreCollisions = true;
+ paths = stdenv.lib.optional gitwebTheme gitwebThemeSrc
+ ++ [ "${git}/share/gitweb" ];
meta = git.meta // {
maintainers = with stdenv.lib.maintainers; [ gnidorah ];
diff --git a/pkgs/applications/version-management/git-and-tools/grv/default.nix b/pkgs/applications/version-management/git-and-tools/grv/default.nix
index 32c163c45c4..e6b746233fe 100644
--- a/pkgs/applications/version-management/git-and-tools/grv/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/grv/default.nix
@@ -1,11 +1,12 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2_0_27, ncurses, pkgconfig, readline }:
+{ stdenv, buildGoPackage, fetchFromGitHub, curl, libgit2, ncurses, pkgconfig, readline }:
let
version = "0.3.1";
in
buildGoPackage {
- name = "grv-${version}";
+ pname = "grv";
+ inherit version;
- buildInputs = [ ncurses readline curl libgit2_0_27 ];
+ buildInputs = [ ncurses readline curl libgit2 ];
nativeBuildInputs = [ pkgconfig ];
goPackagePath = "github.com/rgburke/grv";
diff --git a/pkgs/applications/version-management/git-and-tools/hub/default.nix b/pkgs/applications/version-management/git-and-tools/hub/default.nix
index 24679085a65..cd38be2b977 100644
--- a/pkgs/applications/version-management/git-and-tools/hub/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/hub/default.nix
@@ -2,7 +2,7 @@
buildGoPackage rec {
pname = "hub";
- version = "2.11.2";
+ version = "2.12.4";
goPackagePath = "github.com/github/hub";
@@ -13,7 +13,7 @@ buildGoPackage rec {
owner = "github";
repo = pname;
rev = "v${version}";
- sha256 = "11ipc2vpy52r1ql9r4iyam1sjchb7f01ffc39fvz6d5hhjaz3i9b";
+ sha256 = "1d4cn4pgx520psrfac92h3m7azxnpj1plrrqmxryar85f3y363bq";
};
nativeBuildInputs = [ groff utillinux ];
@@ -38,7 +38,7 @@ buildGoPackage rec {
description = "Command-line wrapper for git that makes you better at GitHub";
license = licenses.mit;
homepage = https://hub.github.com/;
- maintainers = with maintainers; [ the-kenny ];
+ maintainers = with maintainers; [ the-kenny globin ];
platforms = with platforms; unix;
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/lab/default.nix b/pkgs/applications/version-management/git-and-tools/lab/default.nix
index 347d4469f06..a1ef489b007 100644
--- a/pkgs/applications/version-management/git-and-tools/lab/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/lab/default.nix
@@ -2,13 +2,13 @@
buildGoModule rec {
pname = "lab";
- version = "0.15.3";
+ version = "0.16.0";
src = fetchFromGitHub {
owner = "zaquestion";
repo = "lab";
rev = "v${version}";
- sha256 = "00c0ljyvcqrzzcsdb3r37lxd4z2wvwp80ggs8jvp7y32p1b61bsg";
+ sha256 = "0f1gi4mlcxjvz2sgh0hzzsqxg5gfvq2ay7xjd0y1kz3pp8kxja7i";
};
subPackages = [ "." ];
@@ -16,15 +16,16 @@ buildGoModule rec {
modSha256 = "0bw47dd1b46ywsian2b957a4ipm77ncidipzri9ra39paqlv7abb";
postInstall = ''
- mkdir -p $out/share/zsh/site-functions
- LAB_CORE_HOST=a LAB_CORE_USER=b LAB_CORE_TOKEN=c \
+ mkdir -p "$out/share/bash-completion/completions" "$out/share/zsh/site-functions"
+ export LAB_CORE_HOST=a LAB_CORE_USER=b LAB_CORE_TOKEN=c
+ $out/bin/lab completion bash > $out/share/bash-completion/completions/lab
$out/bin/lab completion zsh > $out/share/zsh/site-functions/_lab
'';
meta = with stdenv.lib; {
description = "Lab wraps Git or Hub, making it simple to clone, fork, and interact with repositories on GitLab";
homepage = https://zaquestion.github.io/lab;
- license = licenses.unlicense;
+ license = licenses.cc0;
maintainers = with maintainers; [ marsam dtzWill ];
platforms = platforms.all;
};
diff --git a/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix b/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
index d0d60b19343..5c4ece7c9e5 100644
--- a/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
@@ -7,7 +7,7 @@ buildPythonApplication rec {
src = fetchFromGitHub {
owner = "languitar";
repo = "pass-git-helper";
- rev = "${version}";
+ rev = version;
sha256 = "1zccbmq5l6asl9qm1f90vg9467y3spmv3ayrw07qizrj43yfd9ap";
};
diff --git a/pkgs/applications/version-management/git-and-tools/qgit/default.nix b/pkgs/applications/version-management/git-and-tools/qgit/default.nix
index 06c8bb8cb2d..74fad30b8a9 100644
--- a/pkgs/applications/version-management/git-and-tools/qgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/qgit/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase }:
+{ mkDerivation, lib, fetchFromGitHub, cmake, qtbase }:
-stdenv.mkDerivation rec {
- name = "qgit-2.8";
+mkDerivation rec {
+ pname = "qgit";
+ version = "2.9";
src = fetchFromGitHub {
owner = "tibirna";
repo = "qgit";
- rev = name;
- sha256 = "01l6mz2f333x3zbfr68mizwpsh6sdsnadcavpasidiych1m5ry8f";
+ rev = "${pname}-${version}";
+ sha256 = "0n4dq9gffm9yd7n5p5qcdfgrmg2kwnfd51hfx10adgj9ibxlnc3z";
};
buildInputs = [ qtbase ];
nativeBuildInputs = [ cmake ];
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
+ meta = with lib; {
license = licenses.gpl2;
homepage = https://github.com/tibirna/qgit;
description = "Graphical front-end to Git";
diff --git a/pkgs/applications/version-management/git-and-tools/subgit/default.nix b/pkgs/applications/version-management/git-and-tools/subgit/default.nix
index a129e0f7527..6866418f3e3 100644
--- a/pkgs/applications/version-management/git-and-tools/subgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/subgit/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, makeWrapper, jre }:
stdenv.mkDerivation rec {
- name = "subgit-3.3.6";
+ name = "subgit-3.3.7";
meta = {
description = "A tool for a smooth, stress-free SVN to Git migration";
@@ -21,6 +21,6 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "http://subgit.com/download/${name}.zip";
- sha256 = "1zfhl583lx7xdw9jwskv25p6m385wm3s5a311y0hnxxqwkjbgq1j";
+ sha256 = "1cpssmvp961kw8s3b9s9bv9jmsm1gk3napggw5810c4rnnihjvrn";
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nix b/pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nix
index 34c367b20a4..3c7784e8506 100644
--- a/pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/svn-all-fast-export/default.nix
@@ -4,7 +4,8 @@ let
version = "1.0.16";
in
stdenv.mkDerivation {
- name = "svn-all-fast-export-${version}";
+ pname = "svn-all-fast-export";
+ inherit version;
src = fetchFromGitHub {
owner = "svn-all-fast-export";
diff --git a/pkgs/applications/version-management/git-and-tools/svn2git/default.nix b/pkgs/applications/version-management/git-and-tools/svn2git/default.nix
index d00fdd0c29e..821ecf3e3d8 100644
--- a/pkgs/applications/version-management/git-and-tools/svn2git/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/svn2git/default.nix
@@ -4,7 +4,8 @@ let
version = "2.4.0";
in
stdenv.mkDerivation {
- name = "svn2git-${version}";
+ pname = "svn2git";
+ inherit version;
src = fetchurl {
url = "https://github.com/nirvdrum/svn2git/archive/v${version}.tar.gz";
diff --git a/pkgs/applications/version-management/git-and-tools/tig/default.nix b/pkgs/applications/version-management/git-and-tools/tig/default.nix
index a407f6e7ab1..59354598d00 100644
--- a/pkgs/applications/version-management/git-and-tools/tig/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/tig/default.nix
@@ -5,12 +5,11 @@
stdenv.mkDerivation rec {
pname = "tig";
version = "2.4.1";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "jonas";
repo = pname;
- rev = name;
+ rev = "${pname}-${version}";
sha256 = "0i26yfn2vjgsg1kdvhhv55jwzds7ih7cnad1xqvilqm83zh47ksd";
};
@@ -46,7 +45,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://jonas.github.io/tig/;
description = "Text-mode interface for git";
- maintainers = with maintainers; [ garbas bjornfor domenkozar qknight ];
+ maintainers = with maintainers; [ bjornfor domenkozar qknight globin ];
license = licenses.gpl2;
platforms = platforms.unix;
};
diff --git a/pkgs/applications/version-management/git-and-tools/topgit/default.nix b/pkgs/applications/version-management/git-and-tools/topgit/default.nix
index c183bbde7e6..0da0cfa02b6 100644
--- a/pkgs/applications/version-management/git-and-tools/topgit/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/topgit/default.nix
@@ -1,26 +1,30 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchFromGitHub, git, perl }:
stdenv.mkDerivation rec {
- name = "topgit-0.9";
+ pname = "topgit";
+ version = "0.19.12";
- src = fetchurl {
- url = "https://github.com/greenrd/topgit/archive/${name}.tar.gz";
- sha256 = "1z9x42a0cmn8n2n961qcfl522nd6j9a3dpx1jbqfp24ddrk5zd94";
+ src = fetchFromGitHub {
+ owner = "mackyle";
+ repo = "topgit";
+ rev = "${pname}-${version}";
+ sha256 = "1wvf8hmwwl7a2fr17cfs3pbxjccdsjw9ngzivxlgja0gvfz4hjd5";
};
- configurePhase = "makeFlags=prefix=$out";
+ makeFlags = [ "prefix=${placeholder "out"}" ];
+
+ nativeBuildInputs = [ perl git ];
postInstall = ''
- mkdir -p "$out/share/doc/${name}" "$out/etc/bash_completion.d/"
- mv README "$out/share/doc/${name}/"
- mv contrib/tg-completion.bash "$out/etc/bash_completion.d/"
+ install -Dm644 README -t"$out/share/doc/${pname}-${version}/"
+ install -Dm755 contrib/tg-completion.bash -t "$out/etc/bash_completion.d/"
'';
- meta = {
- homepage = https://github.com/greenrd/topgit;
+ meta = with stdenv.lib; {
description = "TopGit manages large amount of interdependent topic branches";
- license = stdenv.lib.licenses.gpl2;
- platforms = stdenv.lib.platforms.unix;
- maintainers = with stdenv.lib.maintainers; [ marcweber ];
+ homepage = "https://github.com/mackyle/topgit";
+ license = licenses.gpl2;
+ platforms = platforms.unix;
+ maintainers = with maintainers; [ marcweber ];
};
}
diff --git a/pkgs/applications/version-management/git-and-tools/transcrypt/default.nix b/pkgs/applications/version-management/git-and-tools/transcrypt/default.nix
index cea588f76ca..3b8affb57ed 100644
--- a/pkgs/applications/version-management/git-and-tools/transcrypt/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/transcrypt/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, git, makeWrapper, openssl, coreutils, utillinux, gnugrep, gnused, gawk }:
stdenv.mkDerivation rec {
- name = "transcrypt-${version}";
+ pname = "transcrypt";
version = "1.1.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-crecord/default.nix b/pkgs/applications/version-management/git-crecord/default.nix
index fd999dc17d4..ec03c5bed5b 100644
--- a/pkgs/applications/version-management/git-crecord/default.nix
+++ b/pkgs/applications/version-management/git-crecord/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pythonPackages }:
pythonPackages.buildPythonApplication rec {
- name = "git-crecord-${version}";
+ pname = "git-crecord";
version = "20161216.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/git-lfs/1.nix b/pkgs/applications/version-management/git-lfs/1.nix
index 3cde046a2ad..e3190667259 100644
--- a/pkgs/applications/version-management/git-lfs/1.nix
+++ b/pkgs/applications/version-management/git-lfs/1.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "git-lfs-${version}";
+ pname = "git-lfs";
version = "1.5.6";
rev = "0d02fb7d9a1c599bbf8c55e146e2845a908e04e0";
diff --git a/pkgs/applications/version-management/git-lfs/default.nix b/pkgs/applications/version-management/git-lfs/default.nix
index 92ba5738250..d9b5e170497 100644
--- a/pkgs/applications/version-management/git-lfs/default.nix
+++ b/pkgs/applications/version-management/git-lfs/default.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "git-lfs-${version}";
+ pname = "git-lfs";
version = "2.7.2";
goPackagePath = "github.com/git-lfs/git-lfs";
diff --git a/pkgs/applications/version-management/git-repo/default.nix b/pkgs/applications/version-management/git-repo/default.nix
index b629c8fe910..b26548ebe99 100644
--- a/pkgs/applications/version-management/git-repo/default.nix
+++ b/pkgs/applications/version-management/git-repo/default.nix
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
- name = "git-repo-${version}";
- version = "1.13.2";
+ pname = "git-repo";
+ version = "1.13.5.1";
src = fetchFromGitHub {
owner = "android";
repo = "tools_repo";
rev = "v${version}";
- sha256 = "0ll1yzwgpayps7c05j8kf1m4zvww7crmlyy7xa0w5g2krbjvjzvi";
+ sha256 = "13rp0fq76a6qlw60pnipkgfng25i0ygyk66y30jv7hy8ip4aa92n";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/version-management/git-review/default.nix b/pkgs/applications/version-management/git-review/default.nix
index ecc054df47e..c48f455a64a 100644
--- a/pkgs/applications/version-management/git-review/default.nix
+++ b/pkgs/applications/version-management/git-review/default.nix
@@ -6,9 +6,9 @@ pythonPackages.buildPythonApplication rec {
# Manually set version because prb wants to get it from the git
# upstream repository (and we are installing from tarball instead)
- PBR_VERSION = "${version}";
+ PBR_VERSION = version;
- src = fetchFromGitHub rec {
+ src = fetchFromGitHub {
owner = "openstack-infra";
repo = pname;
rev = version;
diff --git a/pkgs/applications/version-management/git-sizer/default.nix b/pkgs/applications/version-management/git-sizer/default.nix
index 9c5ab20d364..7a92679583b 100644
--- a/pkgs/applications/version-management/git-sizer/default.nix
+++ b/pkgs/applications/version-management/git-sizer/default.nix
@@ -2,7 +2,6 @@
buildGoPackage rec {
pname = "git-sizer";
- name = "${pname}-${version}";
version = "1.0.0";
goPackagePath = "github.com/github/git-sizer";
diff --git a/pkgs/applications/version-management/git-up/default.nix b/pkgs/applications/version-management/git-up/default.nix
index 45c97868c4b..ba0625c433d 100644
--- a/pkgs/applications/version-management/git-up/default.nix
+++ b/pkgs/applications/version-management/git-up/default.nix
@@ -2,10 +2,10 @@
python2Packages.buildPythonApplication rec {
version = "1.4.2";
- name = "git-up-${version}";
+ pname = "git-up";
src = fetchurl {
- url = "mirror://pypi/g/git-up/${name}.zip";
+ url = "mirror://pypi/g/git-up/${pname}-${version}.zip";
sha256 = "121ia5gyjy7js6fbsx9z98j2qpq7rzwpsj8gnfvsbz2d69g0vl7q";
};
diff --git a/pkgs/applications/version-management/gitea/default.nix b/pkgs/applications/version-management/gitea/default.nix
index fd07d657b4f..9c7d83a05fd 100644
--- a/pkgs/applications/version-management/gitea/default.nix
+++ b/pkgs/applications/version-management/gitea/default.nix
@@ -8,13 +8,13 @@ with stdenv.lib;
buildGoPackage rec {
pname = "gitea";
- version = "1.8.1";
+ version = "1.9.3";
src = fetchFromGitHub {
owner = "go-gitea";
repo = "gitea";
rev = "v${version}";
- sha256 = "1gsismjhcgz7zk8zvyva4cgnq4wsh4cs7mdabpas9djz34sa1nr1";
+ sha256 = "0g6ch85dq4vazxnr6g78wgqrnfa955395y1zws0a50h0wfxpdjis";
# Required to generate the same checksum on MacOS due to unicode encoding differences
# More information: https://github.com/NixOS/nixpkgs/pull/48128
extraPostFetch = ''
@@ -62,7 +62,7 @@ buildGoPackage rec {
meta = {
description = "Git with a cup of tea";
- homepage = https://gitea.io;
+ homepage = "https://gitea.io";
license = licenses.mit;
maintainers = with maintainers; [ disassembler kolaente ];
};
diff --git a/pkgs/applications/version-management/gitinspector/default.nix b/pkgs/applications/version-management/gitinspector/default.nix
index 2428c6cebdd..4467e9746ce 100644
--- a/pkgs/applications/version-management/gitinspector/default.nix
+++ b/pkgs/applications/version-management/gitinspector/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchzip, python2Packages}:
python2Packages.buildPythonApplication rec {
- name = "gitinspector-${version}";
+ pname = "gitinspector";
version = "0.4.4";
namePrefix = "";
src = fetchzip {
url = "https://github.com/ejwa/gitinspector/archive/v${version}.tar.gz";
sha256 = "1pfsw6xldm6jigs3nhysvqaxk8a0zf8zczgfkrp920as9sya3c7m";
- name = name + "-src";
+ name = "${pname}-${version}" + "-src";
};
checkInputs = with python2Packages; [
diff --git a/pkgs/applications/version-management/gitkraken/default.nix b/pkgs/applications/version-management/gitkraken/default.nix
index 8b807d11e34..0299d4ab48e 100644
--- a/pkgs/applications/version-management/gitkraken/default.nix
+++ b/pkgs/applications/version-management/gitkraken/default.nix
@@ -1,8 +1,9 @@
{ stdenv, libXcomposite, libgnome-keyring, makeWrapper, udev, curl, alsaLib
-, libXfixes, atk, gtk3, libXrender, pango, gnome2, gnome3, cairo, freetype, fontconfig
+, libXfixes, atk, gtk3, libXrender, pango, gnome3, cairo, freetype, fontconfig
, libX11, libXi, libxcb, libXext, libXcursor, glib, libXScrnSaver, libxkbfile, libXtst
-, nss, nspr, cups, fetchurl, expat, gdk_pixbuf, libXdamage, libXrandr, dbus
-, dpkg, makeDesktopItem, openssl, wrapGAppsHook, hicolor-icon-theme
+, nss, nspr, cups, fetchurl, expat, gdk-pixbuf, libXdamage, libXrandr, dbus
+, dpkg, makeDesktopItem, openssl, wrapGAppsHook, hicolor-icon-theme, at-spi2-atk, libuuid
+, e2fsprogs, krb5
}:
with stdenv.lib;
@@ -11,12 +12,12 @@ let
curlWithGnuTls = curl.override { gnutlsSupport = true; sslSupport = false; };
in
stdenv.mkDerivation rec {
- name = "gitkraken-${version}";
- version = "5.0.4";
+ pname = "gitkraken";
+ version = "6.2.0";
src = fetchurl {
url = "https://release.axocdn.com/linux/GitKraken-v${version}.deb";
- sha256 = "1fq0w8djkcx5jr2pw6izlq5rkwbq3r3f15xr3dmmbz6gjvi3nra0";
+ sha256 = "1kvp0fbixpynb0wh8px1qm6gnxwc5ml2q0vwsll0pa8zrjdz4q3k";
};
libPath = makeLibraryPath [
@@ -37,7 +38,7 @@ stdenv.mkDerivation rec {
cups
alsaLib
expat
- gdk_pixbuf
+ gdk-pixbuf
dbus
libXdamage
libXrandr
@@ -50,9 +51,12 @@ stdenv.mkDerivation rec {
libXfixes
libXrender
gtk3
- gnome2.GConf
libgnome-keyring
openssl
+ at-spi2-atk
+ libuuid
+ e2fsprogs
+ krb5
];
desktopItem = makeDesktopItem {
@@ -102,6 +106,6 @@ stdenv.mkDerivation rec {
description = "The downright luxurious and most popular Git client for Windows, Mac & Linux";
license = licenses.unfree;
platforms = platforms.linux;
- maintainers = with maintainers; [ xnwdd ];
+ maintainers = with maintainers; [ xnwdd evanjs ];
};
}
diff --git a/pkgs/applications/version-management/gitlab/data.json b/pkgs/applications/version-management/gitlab/data.json
index 1b296e1f412..d20236e9f5b 100644
--- a/pkgs/applications/version-management/gitlab/data.json
+++ b/pkgs/applications/version-management/gitlab/data.json
@@ -1,32 +1,32 @@
{
"ce": {
- "version": "11.10.4",
- "repo_hash": "02rvf5ikahydswjldzg99k8han051ap7v8h9mcjgrr4xmj301hxm",
- "deb_hash": "0sigpp5lhg4pl88gsgf7dq2k7mi2wgaz0vdsl25c97w1daw7a60c",
- "deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_11.10.4-ce.0_amd64.deb/download.deb",
+ "version": "12.1.6",
+ "repo_hash": "0zyqxzyb1m8qa94iiyqf5ivqxrg60y378r94fsixy17fbh4y7sa6",
+ "deb_hash": "14bwcmwar44pjnjr6fdn2h9y92vyfva0kb76d4pz8pqc9pfm2hmg",
+ "deb_url": "https://packages.gitlab.com/gitlab/gitlab-ce/packages/debian/stretch/gitlab-ce_12.1.6-ce.0_amd64.deb/download.deb",
"owner": "gitlab-org",
"repo": "gitlab-ce",
- "rev": "v11.10.4",
+ "rev": "v12.1.6",
"passthru": {
- "GITALY_SERVER_VERSION": "1.34.1",
- "GITLAB_PAGES_VERSION": "1.5.0",
- "GITLAB_SHELL_VERSION": "9.0.0",
- "GITLAB_WORKHORSE_VERSION": "8.5.2"
+ "GITALY_SERVER_VERSION": "1.53.2",
+ "GITLAB_PAGES_VERSION": "1.7.1",
+ "GITLAB_SHELL_VERSION": "9.3.0",
+ "GITLAB_WORKHORSE_VERSION": "8.7.0"
}
},
"ee": {
- "version": "11.10.4",
- "repo_hash": "06nf94k0ay9kmx060j387hydyf6crv0f1pjb691r3y6s713m6php",
- "deb_hash": "1g0mlyzm2ikpblmy529wg6az5biiqczpr3kyp2mk4yjkdvg59jjp",
- "deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_11.10.4-ee.0_amd64.deb/download.deb",
+ "version": "12.1.6",
+ "repo_hash": "1lxci1hwcccgw567c5733yl95xsxr4gnw41m48igdw9y8p6g7zbc",
+ "deb_hash": "0yjilhf4bjhl1a596x6n4cvjklfbrwhymslhx977nfjazfb5slx3",
+ "deb_url": "https://packages.gitlab.com/gitlab/gitlab-ee/packages/debian/stretch/gitlab-ee_12.1.6-ee.0_amd64.deb/download.deb",
"owner": "gitlab-org",
"repo": "gitlab-ee",
- "rev": "v11.10.4-ee",
+ "rev": "v12.1.6-ee",
"passthru": {
- "GITALY_SERVER_VERSION": "1.34.1",
- "GITLAB_PAGES_VERSION": "1.5.0",
- "GITLAB_SHELL_VERSION": "9.0.0",
- "GITLAB_WORKHORSE_VERSION": "8.5.2"
+ "GITALY_SERVER_VERSION": "1.53.2",
+ "GITLAB_PAGES_VERSION": "1.7.1",
+ "GITLAB_SHELL_VERSION": "9.3.0",
+ "GITLAB_WORKHORSE_VERSION": "8.7.0"
}
}
}
\ No newline at end of file
diff --git a/pkgs/applications/version-management/gitlab/default.nix b/pkgs/applications/version-management/gitlab/default.nix
index 2ffe1141b5a..fb18fb7941e 100644
--- a/pkgs/applications/version-management/gitlab/default.nix
+++ b/pkgs/applications/version-management/gitlab/default.nix
@@ -1,14 +1,29 @@
{ stdenv, lib, fetchurl, fetchFromGitLab, bundlerEnv
-, ruby, tzdata, git, procps, nettools
+, ruby, tzdata, git, nettools, nixosTests
, gitlabEnterprise ? false
}:
let
- rubyEnv = bundlerEnv {
+ rubyEnv = bundlerEnv rec {
name = "gitlab-env-${version}";
inherit ruby;
- gemdir = ./rubyEnv- + "${if gitlabEnterprise then "ee" else "ce"}";
- groups = [ "default" "unicorn" "ed25519" "metrics" ];
+ gemdir = ./rubyEnv- + (if gitlabEnterprise then "ee" else "ce");
+ gemset =
+ let x = import (gemdir + "/gemset.nix");
+ in x // {
+ # grpc expects the AR environment variable to contain `ar rpc`. See the
+ # discussion in nixpkgs #63056.
+ grpc = x.grpc // {
+ patches = [ ./fix-grpc-ar.patch ];
+ dontBuild = false;
+ };
+ };
+ groups = [
+ "default" "unicorn" "ed25519" "metrics" "development" "puma" "test"
+ ];
+ # N.B. omniauth_oauth2_generic and apollo_upload_server both provide a
+ # `console` executable.
+ ignoreCollisions = true;
};
flavour = if gitlabEnterprise then "ee" else "ce";
@@ -29,13 +44,13 @@ let
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "gitlab${if gitlabEnterprise then "-ee" else ""}-${version}";
src = sources.gitlab;
buildInputs = [
- rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git procps nettools
+ rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler tzdata git nettools
];
patches = [ ./remove-hardcoded-locations.patch ];
@@ -49,9 +64,6 @@ stdenv.mkDerivation rec {
rm config/initializers/gitlab_shell_secret_token.rb
- substituteInPlace app/controllers/admin/background_jobs_controller.rb \
- --replace "ps -U" "${procps}/bin/ps -U"
-
sed -i '/ask_to_continue/d' lib/tasks/gitlab/two_factor.rake
sed -ri -e '/log_level/a config.logger = Logger.new(STDERR)' config/environments/production.rb
'';
@@ -64,6 +76,7 @@ stdenv.mkDerivation rec {
# Work around unpacking deb containing binary with suid bit
tar -f gitlab-deb-data.tar --delete ./opt/gitlab/embedded/bin/ksu
tar -xf gitlab-deb-data.tar
+ rm gitlab-deb-data.tar
mv -v opt/gitlab/embedded/service/gitlab-rails/public/assets public
rm -rf opt # only directory in data.tar.gz
@@ -95,6 +108,9 @@ stdenv.mkDerivation rec {
GITLAB_PAGES_VERSION = data.passthru.GITLAB_PAGES_VERSION;
GITLAB_SHELL_VERSION = data.passthru.GITLAB_SHELL_VERSION;
GITLAB_WORKHORSE_VERSION = data.passthru.GITLAB_WORKHORSE_VERSION;
+ tests = {
+ nixos-test-passes = nixosTests.gitlab;
+ };
};
meta = with lib; {
diff --git a/pkgs/applications/version-management/gitlab/fix-grpc-ar.patch b/pkgs/applications/version-management/gitlab/fix-grpc-ar.patch
new file mode 100644
index 00000000000..9b95e668e04
--- /dev/null
+++ b/pkgs/applications/version-management/gitlab/fix-grpc-ar.patch
@@ -0,0 +1,10 @@
+--- a/src/ruby/ext/grpc/extconf.rb
++++ b/src/ruby/ext/grpc/extconf.rb
+@@ -27,6 +27,7 @@ ENV['MACOSX_DEPLOYMENT_TARGET'] = '10.7'
+ if ENV['AR'].nil? || ENV['AR'].size == 0
+ ENV['AR'] = RbConfig::CONFIG['AR'] + ' rcs'
+ end
++ENV['AR'] = ENV['AR'] + ' rcs'
+ if ENV['CC'].nil? || ENV['CC'].size == 0
+ ENV['CC'] = RbConfig::CONFIG['CC']
+ end
diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile b/pkgs/applications/version-management/gitlab/gitaly/Gemfile
index c111744a1a1..1a6eb99b678 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile
+++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile
@@ -1,29 +1,32 @@
source 'https://rubygems.org'
# Require bundler >= 1.16.5 to avoid this bug: https://github.com/bundler/bundler/issues/6537
-gem 'bundler', '>= 1.16.5'
+gem 'bundler', '>= 1.17.3'
gem 'rugged', '~> 0.28'
gem 'github-linguist', '~> 6.1', require: 'linguist'
gem 'gitlab-markup', '~> 1.7.0'
-gem 'gitaly-proto', '~> 1.22.0'
-gem 'activesupport', '~> 5.0.2'
+gem 'activesupport', '~> 5.1.7'
+gem 'gitaly-proto', '~> 1.36.0'
gem 'rdoc', '~> 4.2'
gem 'gitlab-gollum-lib', '~> 4.2.7.7', require: false
gem 'gitlab-gollum-rugged_adapter', '~> 0.4.4.2', require: false
-gem 'grpc', '~> 1.15.0'
+gem 'grpc', '~> 1.19.0'
gem 'sentry-raven', '~> 2.9.0', require: false
gem 'faraday', '~> 0.12'
gem 'rbtrace', require: false
+# Labkit provides observability functionality
+gem 'gitlab-labkit', '~> 0.3.0'
+
# Detects the open source license the repository includes
# This version needs to be in sync with GitLab CE/EE
gem 'licensee', '~> 8.9.0'
-gem 'google-protobuf', '~> 3.6'
+gem 'google-protobuf', '~> 3.7.1'
group :development, :test do
- gem 'rubocop', '~> 0.50', require: false
+ gem 'rubocop', '~> 0.69', require: false
gem 'rspec', require: false
gem 'rspec-parameterized', require: false
gem 'timecop', require: false
diff --git a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
index fec103a23a4..0a86273f7cb 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
+++ b/pkgs/applications/version-management/gitlab/gitaly/Gemfile.lock
@@ -2,7 +2,20 @@ GEM
remote: https://rubygems.org/
specs:
abstract_type (0.0.7)
- activesupport (5.0.7.2)
+ actionpack (5.1.7)
+ actionview (= 5.1.7)
+ activesupport (= 5.1.7)
+ rack (~> 2.0)
+ rack-test (>= 0.6.3)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
+ actionview (5.1.7)
+ activesupport (= 5.1.7)
+ builder (~> 3.1)
+ erubi (~> 1.4)
+ rails-dom-testing (~> 2.0)
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
+ activesupport (5.1.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -10,33 +23,33 @@ GEM
adamantium (0.2.0)
ice_nine (~> 0.11.0)
memoizable (~> 0.4.0)
- addressable (2.5.2)
+ addressable (2.6.0)
public_suffix (>= 2.0.2, < 4.0)
ast (2.4.0)
- binding_of_caller (0.8.0)
- debug_inspector (>= 0.0.1)
+ binding_ninja (0.2.3)
+ builder (3.2.3)
charlock_holmes (0.7.6)
coderay (1.1.2)
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
- concurrent-ruby (1.1.3)
+ concurrent-ruby (1.1.5)
crack (0.4.3)
safe_yaml (~> 1.0.0)
crass (1.0.4)
- debug_inspector (0.0.3)
diff-lcs (1.3)
docile (1.1.5)
equalizer (0.0.11)
+ erubi (1.8.0)
escape_utils (1.2.1)
- factory_bot (4.11.1)
- activesupport (>= 3.0.0)
- faraday (0.15.3)
+ factory_bot (5.0.2)
+ activesupport (>= 4.2.0)
+ faraday (0.15.4)
multipart-post (>= 1.2, < 3)
ffi (1.10.0)
gemojione (3.3.0)
json
- gitaly-proto (1.22.0)
+ gitaly-proto (1.36.0)
grpc (~> 1.0)
github-linguist (6.4.1)
charlock_holmes (~> 0.7.6)
@@ -60,44 +73,57 @@ GEM
diff-lcs (~> 1.1)
mime-types (>= 1.16)
posix-spawn (~> 0.3)
+ gitlab-labkit (0.3.0)
+ actionpack (~> 5)
+ activesupport (~> 5)
+ grpc (~> 1.19.0)
+ jaeger-client (~> 0.10)
+ opentracing (~> 0.4)
gitlab-markup (1.7.0)
gollum-grit_adapter (1.0.1)
gitlab-grit (~> 2.7, >= 2.7.1)
google-protobuf (3.7.1)
googleapis-common-protos-types (1.0.4)
google-protobuf (~> 3.0)
- grpc (1.15.0)
+ grpc (1.19.0)
google-protobuf (~> 3.1)
googleapis-common-protos-types (~> 1.0.0)
- hashdiff (0.3.8)
+ hashdiff (0.3.9)
i18n (1.6.0)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
+ jaeger-client (0.10.0)
+ opentracing (~> 0.3)
+ thrift
+ jaro_winkler (1.5.2)
json (2.2.0)
licensee (8.9.2)
rugged (~> 0.24)
listen (0.5.3)
+ loofah (2.2.3)
+ crass (~> 1.0.2)
+ nokogiri (>= 1.5.9)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
method_source (0.9.2)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
- mime-types-data (3.2018.0812)
+ mime-types-data (3.2019.0331)
mini_portile2 (2.4.0)
minitest (5.11.3)
- msgpack (1.2.6)
+ msgpack (1.2.10)
multi_json (1.13.1)
multipart-post (2.0.0)
- nokogiri (1.10.2)
+ nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
+ opentracing (0.5.0)
optimist (3.0.0)
- parallel (1.12.1)
- parser (2.5.3.0)
+ parallel (1.17.0)
+ parser (2.6.3.0)
ast (~> 2.4.0)
posix-spawn (0.3.13)
- powerpack (0.1.2)
proc_to_ast (0.1.0)
coderay
parser
@@ -107,42 +133,50 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.9.0)
public_suffix (3.0.3)
+ rack (2.0.7)
+ rack-test (1.1.0)
+ rack (>= 1.0, < 3)
+ rails-dom-testing (2.0.3)
+ activesupport (>= 4.2.0)
+ nokogiri (>= 1.6)
+ rails-html-sanitizer (1.0.4)
+ loofah (~> 2.2, >= 2.2.2)
rainbow (3.0.0)
rbtrace (0.4.11)
ffi (>= 1.0.6)
msgpack (>= 0.4.3)
optimist (>= 3.0.0)
rdoc (4.3.0)
- rouge (3.3.0)
- rspec (3.7.0)
- rspec-core (~> 3.7.0)
- rspec-expectations (~> 3.7.0)
- rspec-mocks (~> 3.7.0)
- rspec-core (3.7.1)
- rspec-support (~> 3.7.0)
- rspec-expectations (3.7.0)
+ rouge (3.5.1)
+ rspec (3.8.0)
+ rspec-core (~> 3.8.0)
+ rspec-expectations (~> 3.8.0)
+ rspec-mocks (~> 3.8.0)
+ rspec-core (3.8.0)
+ rspec-support (~> 3.8.0)
+ rspec-expectations (3.8.3)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-mocks (3.7.0)
+ rspec-support (~> 3.8.0)
+ rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-parameterized (0.4.0)
- binding_of_caller
+ rspec-support (~> 3.8.0)
+ rspec-parameterized (0.4.2)
+ binding_ninja (>= 0.2.3)
parser
proc_to_ast
rspec (>= 2.13, < 4)
unparser
- rspec-support (3.7.1)
- rubocop (0.54.0)
+ rspec-support (3.8.0)
+ rubocop (0.69.0)
+ jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
- parser (>= 2.5)
- powerpack (~> 0.1)
+ parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
- unicode-display_width (~> 1.0, >= 1.0.1)
+ unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.10.0)
rugged (0.28.1)
- safe_yaml (1.0.4)
+ safe_yaml (1.0.5)
sanitize (4.6.6)
crass (~> 1.0.2)
nokogiri (>= 1.4.4)
@@ -156,17 +190,18 @@ GEM
simplecov-html (0.9.0)
stringex (2.8.5)
thread_safe (0.3.6)
+ thrift (0.11.0.0)
timecop (0.9.1)
tzinfo (1.2.5)
thread_safe (~> 0.1)
- unicode-display_width (1.4.0)
- unparser (0.2.8)
+ unicode-display_width (1.6.0)
+ unparser (0.4.5)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.3)
equalizer (~> 0.0.9)
- parser (>= 2.3.1.2, < 2.6)
+ parser (~> 2.6.3)
procto (~> 0.0.2)
vcr (4.0.0)
webmock (3.4.2)
@@ -178,17 +213,18 @@ PLATFORMS
ruby
DEPENDENCIES
- activesupport (~> 5.0.2)
- bundler (>= 1.16.5)
+ activesupport (~> 5.1.7)
+ bundler (>= 1.17.3)
factory_bot
faraday (~> 0.12)
- gitaly-proto (~> 1.22.0)
+ gitaly-proto (~> 1.36.0)
github-linguist (~> 6.1)
gitlab-gollum-lib (~> 4.2.7.7)
gitlab-gollum-rugged_adapter (~> 0.4.4.2)
+ gitlab-labkit (~> 0.3.0)
gitlab-markup (~> 1.7.0)
- google-protobuf (~> 3.6)
- grpc (~> 1.15.0)
+ google-protobuf (~> 3.7.1)
+ grpc (~> 1.19.0)
licensee (~> 8.9.0)
listen (~> 0.5.0)
pry (~> 0.12.2)
@@ -196,7 +232,7 @@ DEPENDENCIES
rdoc (~> 4.2)
rspec
rspec-parameterized
- rubocop (~> 0.50)
+ rubocop (~> 0.69)
rugged (~> 0.28)
sentry-raven (~> 2.9.0)
simplecov (~> 0.9.0)
diff --git a/pkgs/applications/version-management/gitlab/gitaly/default.nix b/pkgs/applications/version-management/gitlab/gitaly/default.nix
index 0ea3ce0f779..873d9f39090 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitaly/default.nix
@@ -1,20 +1,30 @@
-{ stdenv, fetchFromGitLab, buildGoPackage, ruby, bundlerEnv }:
+{ stdenv, fetchFromGitLab, buildGoPackage, ruby, bundlerEnv, pkgconfig, libgit2 }:
let
- rubyEnv = bundlerEnv {
+ rubyEnv = bundlerEnv rec {
name = "gitaly-env";
inherit ruby;
gemdir = ./.;
+ gemset =
+ let x = import (gemdir + "/gemset.nix");
+ in x // {
+ # grpc expects the AR environment variable to contain `ar rpc`. See the
+ # discussion in nixpkgs #63056.
+ grpc = x.grpc // {
+ patches = [ ../fix-grpc-ar.patch ];
+ dontBuild = false;
+ };
+ };
};
in buildGoPackage rec {
- version = "1.34.1";
- name = "gitaly-${version}";
+ version = "1.53.2";
+ pname = "gitaly";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitaly";
rev = "v${version}";
- sha256 = "1nj1vw3qzfg5azx70ssbjicwqjxd6ka2fkk4rj5bby53755ywl7b";
+ sha256 = "0x4dhqaxx6n5jlcvf69rglxiz11037ghgcnskks6qnlcbkd85j3d";
};
goPackagePath = "gitlab.com/gitlab-org/gitaly";
@@ -23,7 +33,10 @@ in buildGoPackage rec {
inherit rubyEnv;
};
- buildInputs = [ rubyEnv.wrappedRuby ];
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ rubyEnv.wrappedRuby libgit2 ];
+ goDeps = ./deps.nix;
+ preBuild = "rm -r go/src/gitlab.com/gitlab-org/labkit/vendor";
postInstall = ''
mkdir -p $ruby
@@ -42,7 +55,7 @@ in buildGoPackage rec {
meta = with stdenv.lib; {
homepage = http://www.gitlab.com/;
platforms = platforms.unix;
- maintainers = with maintainers; [ roblabla ];
+ maintainers = with maintainers; [ roblabla globin fpletz ];
license = licenses.mit;
};
}
diff --git a/pkgs/applications/version-management/gitlab/gitaly/deps.nix b/pkgs/applications/version-management/gitlab/gitaly/deps.nix
new file mode 100644
index 00000000000..5522185783d
--- /dev/null
+++ b/pkgs/applications/version-management/gitlab/gitaly/deps.nix
@@ -0,0 +1,669 @@
+# file generated from go.mod using vgo2nix (https://github.com/adisbladis/vgo2nix)
+[
+ {
+ goPackagePath = "cloud.google.com/go";
+ fetch = {
+ type = "git";
+ url = "https://code.googlesource.com/gocloud";
+ rev = "v0.26.0";
+ sha256 = "149v3ci17g6wd2pm18mzcncq5qpl9hwdjnz3rlbn5rfidyn46la1";
+ };
+ }
+ {
+ goPackagePath = "github.com/BurntSushi/toml";
+ fetch = {
+ type = "git";
+ url = "https://github.com/BurntSushi/toml";
+ rev = "v0.3.1";
+ sha256 = "1fjdwwfzyzllgiwydknf1pwjvy49qxfsczqx5gz3y0izs7as99j6";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/template";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/template";
+ rev = "a0175ee3bccc";
+ sha256 = "0qjgvvh26vk1cyfq9fadyhfgdj36f1iapbmr5xp6zqipldz8ffxj";
+ };
+ }
+ {
+ goPackagePath = "github.com/alecthomas/units";
+ fetch = {
+ type = "git";
+ url = "https://github.com/alecthomas/units";
+ rev = "2efee857e7cf";
+ sha256 = "1j65b91qb9sbrml9cpabfrcf07wmgzzghrl7809hjjhrmbzri5bl";
+ };
+ }
+ {
+ goPackagePath = "github.com/beorn7/perks";
+ fetch = {
+ type = "git";
+ url = "https://github.com/beorn7/perks";
+ rev = "v1.0.0";
+ sha256 = "1i1nz1f6g55xi2y3aiaz5kqfgvknarbfl4f0sx4nyyb4s7xb1z9x";
+ };
+ }
+ {
+ goPackagePath = "github.com/certifi/gocertifi";
+ fetch = {
+ type = "git";
+ url = "https://github.com/certifi/gocertifi";
+ rev = "ee1a9a0726d2";
+ sha256 = "08l6lqaw83pva6fa0aafmhmy1mhb145av21772zfh3ij809a37i4";
+ };
+ }
+ {
+ goPackagePath = "github.com/client9/misspell";
+ fetch = {
+ type = "git";
+ url = "https://github.com/client9/misspell";
+ rev = "v0.3.4";
+ sha256 = "1vwf33wsc4la25zk9nylpbp9px3svlmldkm0bha4hp56jws4q9cs";
+ };
+ }
+ {
+ goPackagePath = "github.com/cloudflare/tableflip";
+ fetch = {
+ type = "git";
+ url = "https://github.com/cloudflare/tableflip";
+ rev = "8392f1641731";
+ sha256 = "0by5hk8s0bhhl3kiw658p5g53zvc61k4q2wxnh1w64p5ghd1rfn8";
+ };
+ }
+ {
+ goPackagePath = "github.com/codahale/hdrhistogram";
+ fetch = {
+ type = "git";
+ url = "https://github.com/codahale/hdrhistogram";
+ rev = "3a0bb77429bd";
+ sha256 = "1zampgfjbxy192cbwdi7g86l1idxaam96d834wncnpfdwgh5kl57";
+ };
+ }
+ {
+ goPackagePath = "github.com/davecgh/go-spew";
+ fetch = {
+ type = "git";
+ url = "https://github.com/davecgh/go-spew";
+ rev = "v1.1.1";
+ sha256 = "0hka6hmyvp701adzag2g26cxdj47g21x6jz4sc6jjz1mn59d474y";
+ };
+ }
+ {
+ goPackagePath = "github.com/fsnotify/fsnotify";
+ fetch = {
+ type = "git";
+ url = "https://github.com/fsnotify/fsnotify";
+ rev = "v1.4.7";
+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
+ };
+ }
+ {
+ goPackagePath = "github.com/getsentry/raven-go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/getsentry/raven-go";
+ rev = "v0.1.2";
+ sha256 = "1dl80kar4lzdcfl3w6jssi1ld6bv0rmx6sp6bz6rzysfr9ilm02z";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-kit/kit";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-kit/kit";
+ rev = "v0.8.0";
+ sha256 = "1rcywbc2pvab06qyf8pc2rdfjv7r6kxdv2v4wnpqnjhz225wqvc0";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-logfmt/logfmt";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-logfmt/logfmt";
+ rev = "v0.3.0";
+ sha256 = "1gkgh3k5w1xwb2qbjq52p6azq3h1c1rr6pfwjlwj1zrijpzn2xb9";
+ };
+ }
+ {
+ goPackagePath = "github.com/go-stack/stack";
+ fetch = {
+ type = "git";
+ url = "https://github.com/go-stack/stack";
+ rev = "v1.8.0";
+ sha256 = "0wk25751ryyvxclyp8jdk5c3ar0cmfr8lrjb66qbg4808x66b96v";
+ };
+ }
+ {
+ goPackagePath = "github.com/gogo/protobuf";
+ fetch = {
+ type = "git";
+ url = "https://github.com/gogo/protobuf";
+ rev = "v1.1.1";
+ sha256 = "1525pq7r6h3s8dncvq8gxi893p2nq8dxpzvq0nfl5b4p6mq0v1c2";
+ };
+ }
+ {
+ goPackagePath = "github.com/golang/glog";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/glog";
+ rev = "23def4e6c14b";
+ sha256 = "0jb2834rw5sykfr937fxi8hxi2zy80sj2bdn9b3jb4b26ksqng30";
+ };
+ }
+ {
+ goPackagePath = "github.com/golang/lint";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/lint";
+ rev = "06c8688daad7";
+ sha256 = "0xi94dwvz50a66bq1hp9fyqkym5mcpdxdb1hrfvicldgjf37lc47";
+ };
+ }
+ {
+ goPackagePath = "github.com/golang/mock";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/mock";
+ rev = "v1.1.1";
+ sha256 = "0ap8wb6pdl6ccmdb43advjll2ly4sz26wsc3axw0hbrjrybybzgy";
+ };
+ }
+ {
+ goPackagePath = "github.com/golang/protobuf";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/protobuf";
+ rev = "v1.3.1";
+ sha256 = "15am4s4646qy6iv0g3kkqq52rzykqjhm4bf08dk0fy2r58knpsyl";
+ };
+ }
+ {
+ goPackagePath = "github.com/google/uuid";
+ fetch = {
+ type = "git";
+ url = "https://github.com/google/uuid";
+ rev = "v1.1.1";
+ sha256 = "0hfxcf9frkb57k6q0rdkrmnfs78ms21r1qfk9fhlqga2yh5xg8zb";
+ };
+ }
+ {
+ goPackagePath = "github.com/grpc-ecosystem/go-grpc-middleware";
+ fetch = {
+ type = "git";
+ url = "https://github.com/grpc-ecosystem/go-grpc-middleware";
+ rev = "v1.0.0";
+ sha256 = "0lwgxih021xfhfb1xb9la5f98bpgpaiz63sbllx77qwwl2rmhrsp";
+ };
+ }
+ {
+ goPackagePath = "github.com/grpc-ecosystem/go-grpc-prometheus";
+ fetch = {
+ type = "git";
+ url = "https://github.com/grpc-ecosystem/go-grpc-prometheus";
+ rev = "v1.2.0";
+ sha256 = "1lzk54h7np32b3acidg1ggbn8ppbnns0m71gcg9d1qkkdh8zrijl";
+ };
+ }
+ {
+ goPackagePath = "github.com/hpcloud/tail";
+ fetch = {
+ type = "git";
+ url = "https://github.com/hpcloud/tail";
+ rev = "v1.0.0";
+ sha256 = "1njpzc0pi1acg5zx9y6vj9xi6ksbsc5d387rd6904hy6rh2m6kn0";
+ };
+ }
+ {
+ goPackagePath = "github.com/json-iterator/go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/json-iterator/go";
+ rev = "v1.1.6";
+ sha256 = "08caswxvdn7nvaqyj5kyny6ghpygandlbw9vxdj7l5vkp7q0s43r";
+ };
+ }
+ {
+ goPackagePath = "github.com/julienschmidt/httprouter";
+ fetch = {
+ type = "git";
+ url = "https://github.com/julienschmidt/httprouter";
+ rev = "v1.2.0";
+ sha256 = "1k8bylc9s4vpvf5xhqh9h246dl1snxrzzz0614zz88cdh8yzs666";
+ };
+ }
+ {
+ goPackagePath = "github.com/kelseyhightower/envconfig";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kelseyhightower/envconfig";
+ rev = "v1.3.0";
+ sha256 = "1zcq480ig7wbg4378qcfxznp2gzqmk7x6rbxizflvg9v2f376vrw";
+ };
+ }
+ {
+ goPackagePath = "github.com/kisielk/gotool";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kisielk/gotool";
+ rev = "v1.0.0";
+ sha256 = "14af2pa0ssyp8bp2mvdw184s5wcysk6akil3wzxmr05wwy951iwn";
+ };
+ }
+ {
+ goPackagePath = "github.com/konsorten/go-windows-terminal-sequences";
+ fetch = {
+ type = "git";
+ url = "https://github.com/konsorten/go-windows-terminal-sequences";
+ rev = "v1.0.1";
+ sha256 = "1lchgf27n276vma6iyxa0v1xds68n2g8lih5lavqnx5x6q5pw2ip";
+ };
+ }
+ {
+ goPackagePath = "github.com/kr/logfmt";
+ fetch = {
+ type = "git";
+ url = "https://github.com/kr/logfmt";
+ rev = "b84e30acd515";
+ sha256 = "02ldzxgznrfdzvghfraslhgp19la1fczcbzh7wm2zdc6lmpd1qq9";
+ };
+ }
+ {
+ goPackagePath = "github.com/libgit2/git2go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/libgit2/git2go";
+ rev = "ecaeb7a21d47";
+ sha256 = "14r7ryff93r49g94f6kg66xc0y6rwb31lj22s3qmzmlgywk0pgvr";
+ };
+ }
+ {
+ goPackagePath = "github.com/lightstep/lightstep-tracer-go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/lightstep/lightstep-tracer-go";
+ rev = "v0.15.6";
+ sha256 = "10n5r66g44s6rnz5kf86s4a3p1g55kc1kxqhnk7bx7mlayndgpmb";
+ };
+ }
+ {
+ goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
+ fetch = {
+ type = "git";
+ url = "https://github.com/matttproud/golang_protobuf_extensions";
+ rev = "v1.0.1";
+ sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
+ };
+ }
+ {
+ goPackagePath = "github.com/modern-go/concurrent";
+ fetch = {
+ type = "git";
+ url = "https://github.com/modern-go/concurrent";
+ rev = "bacd9c7ef1dd";
+ sha256 = "0s0fxccsyb8icjmiym5k7prcqx36hvgdwl588y0491gi18k5i4zs";
+ };
+ }
+ {
+ goPackagePath = "github.com/modern-go/reflect2";
+ fetch = {
+ type = "git";
+ url = "https://github.com/modern-go/reflect2";
+ rev = "v1.0.1";
+ sha256 = "06a3sablw53n1dqqbr2f53jyksbxdmmk8axaas4yvnhyfi55k4lf";
+ };
+ }
+ {
+ goPackagePath = "github.com/mwitkow/go-conntrack";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mwitkow/go-conntrack";
+ rev = "cc309e4a2223";
+ sha256 = "0nbrnpk7bkmqg9mzwsxlm0y8m7s9qd9phr1q30qlx2qmdmz7c1mf";
+ };
+ }
+ {
+ goPackagePath = "github.com/onsi/ginkgo";
+ fetch = {
+ type = "git";
+ url = "https://github.com/onsi/ginkgo";
+ rev = "v1.7.0";
+ sha256 = "14wgpdrvpc35rdz3859bz53sc1g4vpr1fysy15wy3ff9gmqs14yg";
+ };
+ }
+ {
+ goPackagePath = "github.com/onsi/gomega";
+ fetch = {
+ type = "git";
+ url = "https://github.com/onsi/gomega";
+ rev = "v1.4.3";
+ sha256 = "1c8rqg5i2hz3snmq7s41yar1zjnzilb0fyiyhkg83v97afcfx79v";
+ };
+ }
+ {
+ goPackagePath = "github.com/opentracing/opentracing-go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/opentracing/opentracing-go";
+ rev = "v1.0.2";
+ sha256 = "0i0ghg94dg8lk05mw5n23983wq04yjvkjmdkc9z5y1f3508938h9";
+ };
+ }
+ {
+ goPackagePath = "github.com/philhofer/fwd";
+ fetch = {
+ type = "git";
+ url = "https://github.com/philhofer/fwd";
+ rev = "v1.0.0";
+ sha256 = "1pg84khadh79v42y8sjsdgfb54vw2kzv7hpapxkifgj0yvcp30g2";
+ };
+ }
+ {
+ goPackagePath = "github.com/pkg/errors";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pkg/errors";
+ rev = "v0.8.0";
+ sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
+ };
+ }
+ {
+ goPackagePath = "github.com/pmezard/go-difflib";
+ fetch = {
+ type = "git";
+ url = "https://github.com/pmezard/go-difflib";
+ rev = "v1.0.0";
+ sha256 = "0c1cn55m4rypmscgf0rrb88pn58j3ysvc2d0432dp3c6fqg6cnzw";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/client_golang";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/client_golang";
+ rev = "v1.0.0";
+ sha256 = "1f03ndyi3jq7zdxinnvzimz3s4z2374r6dikkc8i42xzb6d1bli6";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/client_model";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/client_model";
+ rev = "fd36f4220a90";
+ sha256 = "1bs5d72k361llflgl94c22n0w53j30rsfh84smgk8mbjbcmjsaa5";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/common";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/common";
+ rev = "v0.4.1";
+ sha256 = "0sf4sjdckblz1hqdfvripk3zyp8xq89w7q75kbsyg4c078af896s";
+ };
+ }
+ {
+ goPackagePath = "github.com/prometheus/procfs";
+ fetch = {
+ type = "git";
+ url = "https://github.com/prometheus/procfs";
+ rev = "v0.0.2";
+ sha256 = "0s7pvs7fgnfpmym3cd0k219av321h9sf3yvdlnn3qy0ps280lg7k";
+ };
+ }
+ {
+ goPackagePath = "github.com/sirupsen/logrus";
+ fetch = {
+ type = "git";
+ url = "https://github.com/sirupsen/logrus";
+ rev = "v1.2.0";
+ sha256 = "0r6334x2bls8ddznvzaldx4g88msjjns4mlks95rqrrg7h0ijigg";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/objx";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/objx";
+ rev = "v0.1.1";
+ sha256 = "0iph0qmpyqg4kwv8jsx6a56a7hhqq8swrazv40ycxk9rzr0s8yls";
+ };
+ }
+ {
+ goPackagePath = "github.com/stretchr/testify";
+ fetch = {
+ type = "git";
+ url = "https://github.com/stretchr/testify";
+ rev = "v1.3.0";
+ sha256 = "0wjchp2c8xbgcbbq32w3kvblk6q6yn533g78nxl6iskq6y95lxsy";
+ };
+ }
+ {
+ goPackagePath = "github.com/tinylib/msgp";
+ fetch = {
+ type = "git";
+ url = "https://github.com/tinylib/msgp";
+ rev = "v1.1.0";
+ sha256 = "08ha23sn14071ywrgxlyj7r523vzdwx1i83dcp1mqa830glgqaff";
+ };
+ }
+ {
+ goPackagePath = "github.com/uber-go/atomic";
+ fetch = {
+ type = "git";
+ url = "https://github.com/uber-go/atomic";
+ rev = "v1.3.2";
+ sha256 = "11pzvjys5ddjjgrv94pgk9pnip9yyb54z7idf33zk7p7xylpnsv6";
+ };
+ }
+ {
+ goPackagePath = "github.com/uber/jaeger-client-go";
+ fetch = {
+ type = "git";
+ url = "https://github.com/uber/jaeger-client-go";
+ rev = "v2.15.0";
+ sha256 = "0ki23m9zrf3vxp839fnp9ckr4m28y6mpad8g5s5lr5k8jkl0sfwj";
+ };
+ }
+ {
+ goPackagePath = "github.com/uber/jaeger-lib";
+ fetch = {
+ type = "git";
+ url = "https://github.com/uber/jaeger-lib";
+ rev = "v1.5.0";
+ sha256 = "113fwpn80ylx970w8h7nfqnhh18dpx1jadbk7rbr8k68q4di4y0q";
+ };
+ }
+ {
+ goPackagePath = "gitlab.com/gitlab-org/gitaly-proto";
+ fetch = {
+ type = "git";
+ url = "https://gitlab.com/gitlab-org/gitaly-proto.git";
+ rev = "v1.36.0";
+ sha256 = "0xma8ys3lf1bdhlkmcis31xs1h1dshcr5796wwfwnzijwk6422m3";
+ };
+ }
+ {
+ goPackagePath = "gitlab.com/gitlab-org/labkit";
+ fetch = {
+ type = "git";
+ url = "https://gitlab.com/gitlab-org/labkit.git";
+ rev = "0c3fc7cdd57c";
+ sha256 = "0fpn37v7dhhdgd63v4mq9cna9wdzrsfams13qmjmps3xpdw2wr9i";
+ };
+ }
+ {
+ goPackagePath = "go.uber.org/atomic";
+ fetch = {
+ type = "git";
+ url = "https://github.com/uber-go/atomic";
+ rev = "v1.3.2";
+ sha256 = "11pzvjys5ddjjgrv94pgk9pnip9yyb54z7idf33zk7p7xylpnsv6";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/crypto";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/crypto";
+ rev = "c2843e01d9a2";
+ sha256 = "01xgxbj5r79nmisdvpq48zfy8pzaaj90bn6ngd4nf33j9ar1dp8r";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/lint";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/lint";
+ rev = "06c8688daad7";
+ sha256 = "0xi94dwvz50a66bq1hp9fyqkym5mcpdxdb1hrfvicldgjf37lc47";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/net";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/net";
+ rev = "d28f0bde5980";
+ sha256 = "18xj31h70m7xxb7gc86n9i21w6d7djbjz67zfaljm4jqskz6hxkf";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/oauth2";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/oauth2";
+ rev = "d2e6202438be";
+ sha256 = "0wbn75fd10485nb93bm4kqldqifdim5xqy4v7r5sdvimvf3fyhn7";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sync";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sync";
+ rev = "37e7f081c4d4";
+ sha256 = "1bb0mw6ckb1k7z8v3iil2qlqwfj408fvvp8m1cik2b46p7snyjhm";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "d0b11bdaac8a";
+ sha256 = "18yfsmw622l7gc5sqriv5qmck6903vvhivpzp8i3xfy3z33dybdl";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/text";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/text";
+ rev = "v0.3.0";
+ sha256 = "0r6x6zjzhr8ksqlpiwm5gdd7s209kwk5p4lw54xjvz10cs3qlq19";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/tools";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/tools";
+ rev = "6cd1fcedba52";
+ sha256 = "00hl0vkmy8impsnmc2dmm55sdhia95k0kqcrjbdpynryn1lamn5d";
+ };
+ }
+ {
+ goPackagePath = "google.golang.org/appengine";
+ fetch = {
+ type = "git";
+ url = "https://github.com/golang/appengine";
+ rev = "v1.1.0";
+ sha256 = "1pz202zszg8f35dk5pfhwgcdi3r6dx1l4yk6x6ly7nb4j45zi96x";
+ };
+ }
+ {
+ goPackagePath = "google.golang.org/genproto";
+ fetch = {
+ type = "git";
+ url = "https://github.com/google/go-genproto";
+ rev = "bd91e49a0898";
+ sha256 = "1f5q04h03q6fksbfkhz13ai5849rkkb8xrmmi7cxs4lzsi6ixkg8";
+ };
+ }
+ {
+ goPackagePath = "google.golang.org/grpc";
+ fetch = {
+ type = "git";
+ url = "https://github.com/grpc/grpc-go";
+ rev = "v1.16.0";
+ sha256 = "0a9xl6c5j7lvsb4q6ry5p892rjm86p47d4f8xrf0r8lxblf79qbg";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/DataDog/dd-trace-go.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/DataDog/dd-trace-go.v1";
+ rev = "v1.7.0";
+ sha256 = "0j45skiiayfsaw8id4g20k51zfr0raj47a03q2icka5xrh3qj6yq";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/alecthomas/kingpin.v2";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/alecthomas/kingpin.v2";
+ rev = "v2.2.6";
+ sha256 = "0mndnv3hdngr3bxp7yxfd47cas4prv98sqw534mx7vp38gd88n5r";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/check.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/check.v1";
+ rev = "20d25e280405";
+ sha256 = "0k1m83ji9l1a7ng8a7v40psbymxasmssbrrhpdv2wl4rhs0nc3np";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/fsnotify.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/fsnotify.v1";
+ rev = "v1.4.7";
+ sha256 = "07va9crci0ijlivbb7q57d2rz9h27zgn2fsm60spjsqpdbvyrx4g";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/tomb.v1";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/tomb.v1";
+ rev = "dd632973f1e7";
+ sha256 = "1lqmq1ag7s4b3gc3ddvr792c5xb5k6sfn0cchr3i2s7f1c231zjv";
+ };
+ }
+ {
+ goPackagePath = "gopkg.in/yaml.v2";
+ fetch = {
+ type = "git";
+ url = "https://gopkg.in/yaml.v2";
+ rev = "v2.2.2";
+ sha256 = "01wj12jzsdqlnidpyjssmj0r4yavlqy7dwrg7adqd8dicjc4ncsa";
+ };
+ }
+ {
+ goPackagePath = "honnef.co/go/tools";
+ fetch = {
+ type = "git";
+ url = "https://github.com/dominikh/go-tools";
+ rev = "88497007e858";
+ sha256 = "0rinkyx3r2bq45mgcasnn5jb07cwbv3p3s2wwcrzxsarsj6wa5lc";
+ };
+ }
+]
diff --git a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix
index 9b0f37e36bc..fd1af22dd78 100644
--- a/pkgs/applications/version-management/gitlab/gitaly/gemset.nix
+++ b/pkgs/applications/version-management/gitlab/gitaly/gemset.nix
@@ -7,16 +7,38 @@
};
version = "0.0.7";
};
+ actionpack = {
+ dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0zyi3dc50ii2msdkawaf11y4xw645ig57ha2jfnr8lpr8s1nlh52";
+ type = "gem";
+ };
+ version = "5.1.7";
+ };
+ actionview = {
+ dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0i2j580njb767yhf0k5ih3qqg38ybiah80ai8dsr6kjjw35aj747";
+ type = "gem";
+ };
+ version = "5.1.7";
+ };
activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
groups = ["default" "development" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1bcbr490ryw6295p0ja7xigcw0ivkdys90x3qbsbs8c4n1zwcp7p";
+ sha256 = "0znhiy90hdlx66jqhaycin4qrphrymsw68c36a1an7g481zvfv91";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.1.7";
};
adamantium = {
dependencies = ["ice_nine" "memoizable"];
@@ -29,12 +51,14 @@
};
addressable = {
dependencies = ["public_suffix"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0viqszpkggqi8hq87pqp0xykhvz60g99nwmkwsb0v45kc2liwxvk";
+ sha256 = "0bcm2hchn897xjhqj9zzsxf3n9xhddymj4lsclz508f4vw3av46l";
type = "gem";
};
- version = "2.5.2";
+ version = "2.6.0";
};
ast = {
source = {
@@ -44,14 +68,25 @@
};
version = "2.4.0";
};
- binding_of_caller = {
- dependencies = ["debug_inspector"];
+ binding_ninja = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "05syqlks7463zsy1jdfbbdravdhj9hpj5pv2m74blqpv8bq4vv5g";
+ sha256 = "17fa3sv6p2fw9g8fxpwx1kjhhs28aw41akkba0hlgvk60055b1aa";
type = "gem";
};
- version = "0.8.0";
+ version = "0.2.3";
+ };
+ builder = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0qibi5s67lpdv1wgcj66wcymcr04q6j4mzws6a479n0mlrmh5wr1";
+ type = "gem";
+ };
+ version = "3.2.3";
};
charlock_holmes = {
source = {
@@ -79,12 +114,14 @@
version = "0.1.5";
};
concurrent-ruby = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18q9skp5pfq4jwbxzmw8q2rn4cpw6mf4561i2hsjcl1nxdag2jvb";
+ sha256 = "1x07r23s7836cpp5z9yrlbpljcxpax14yw4fy4bnp6crhr6x24an";
type = "gem";
};
- version = "1.1.3";
+ version = "1.1.5";
};
crack = {
dependencies = ["safe_yaml"];
@@ -103,14 +140,6 @@
};
version = "1.0.4";
};
- debug_inspector = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0vxr0xa1mfbkfcrn71n7c4f2dj7la5hvphn904vh20j3x4j5lrx0";
- type = "gem";
- };
- version = "0.0.3";
- };
diff-lcs = {
source = {
remotes = ["https://rubygems.org"];
@@ -135,6 +164,16 @@
};
version = "0.0.11";
};
+ erubi = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1kagnf6ziahj0d781s6ryy6fwqwa3ad4xbzzj84p9m4nv4c2jir1";
+ type = "gem";
+ };
+ version = "1.8.0";
+ };
escape_utils = {
source = {
remotes = ["https://rubygems.org"];
@@ -145,21 +184,25 @@
};
factory_bot = {
dependencies = ["activesupport"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "13q1b7imb591068plg4ashgsqgzarvfjz6xxn3jk6klzikz5zhg1";
+ sha256 = "02ijqa3g6lb8l8mvi40z1zgh9bb3gr08p2r2ym159ghhfbcrmbwk";
type = "gem";
};
- version = "4.11.1";
+ version = "5.0.2";
};
faraday = {
dependencies = ["multipart-post"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "16hwxc8v0z6gkanckjhx0ffgqmzpc4ywz4dfhxpjlz2mbz8d5m52";
+ sha256 = "0s72m05jvzc1pd6cw1i289chas399q0a14xrwg4rvkdwy7bgzrh0";
type = "gem";
};
- version = "0.15.3";
+ version = "0.15.4";
};
ffi = {
source = {
@@ -184,10 +227,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "114q2qnd6196xvzmv3jia4n4j4wm3rizqbvxjd9156g0hc20q6yf";
+ sha256 = "11bkrf2z5ppp55cipawdpinrva42x12grp2gl1dp1jdb35crqick";
type = "gem";
};
- version = "1.22.0";
+ version = "1.36.0";
};
github-linguist = {
dependencies = ["charlock_holmes" "escape_utils" "mime-types" "rugged"];
@@ -239,6 +282,17 @@
};
version = "2.8.2";
};
+ gitlab-labkit = {
+ dependencies = ["actionpack" "activesupport" "grpc" "jaeger-client" "opentracing"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0dvapmdc9axm9dq2gg89qrqb318rkrsabpyybrqvcx1ipbi5k3a1";
+ type = "gem";
+ };
+ version = "0.3.0";
+ };
gitlab-markup = {
groups = ["default"];
platforms = [];
@@ -281,20 +335,24 @@
};
grpc = {
dependencies = ["google-protobuf" "googleapis-common-protos-types"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0m2wspnm1cfkmhlbp7yqv5bb4vsfh246cm0aavxra67aw4l8plhb";
+ sha256 = "1rdywzism5vxz8pnml6xjb9f19diclyy74014z69q01jzqwi1wgs";
type = "gem";
};
- version = "1.15.0";
+ version = "1.19.0";
};
hashdiff = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "19ykg5pax8798nh1yv71adkx0zzs7gn2rxjj86v7nsw0jba5lask";
+ sha256 = "1qji49afni3c90zws617x514xi7ik70g2iwngj9skq68mjcq6y4x";
type = "gem";
};
- version = "0.3.8";
+ version = "0.3.9";
};
i18n = {
dependencies = ["concurrent-ruby"];
@@ -315,6 +373,27 @@
};
version = "0.11.2";
};
+ jaeger-client = {
+ dependencies = ["opentracing" "thrift"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "198m72c9w3wfwr1mq22dcjjm7d4jd0bci4lrq6zq2zvlzhi04n8l";
+ type = "gem";
+ };
+ version = "0.10.0";
+ };
+ jaro_winkler = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1zz27z88qznix4r65gd9h56gl177snlfpgv10b0s69vi8qpl909l";
+ type = "gem";
+ };
+ version = "1.5.2";
+ };
json = {
groups = ["default"];
platforms = [];
@@ -342,6 +421,17 @@
};
version = "0.5.3";
};
+ loofah = {
+ dependencies = ["crass" "nokogiri"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1ccsid33xjajd0im2xv941aywi58z7ihwkvaf1w2bv89vn5bhsjg";
+ type = "gem";
+ };
+ version = "2.2.3";
+ };
memoizable = {
dependencies = ["thread_safe"];
source = {
@@ -369,12 +459,14 @@
version = "3.2.2";
};
mime-types-data = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07wvp0aw2gjm4njibb70as6rh5hi1zzri5vky1q6jx95h8l56idc";
+ sha256 = "1m00pg19cm47n1qlcxgl91ajh2yq0fszvn1vy8fy0s1jkrp9fw4a";
type = "gem";
};
- version = "3.2018.0812";
+ version = "3.2019.0331";
};
mini_portile2 = {
source = {
@@ -393,12 +485,14 @@
version = "5.11.3";
};
msgpack = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0031gd2mjyba6jb7m97sqa149zjkr0vzn2s2gpb3m9nb67gqkm13";
+ sha256 = "1w38hilm3dk42dwk8ygiq49bl4in7y80hfqr63hk54mj4gmzi6ch";
type = "gem";
};
- version = "1.2.6";
+ version = "1.2.10";
};
multi_json = {
source = {
@@ -422,10 +516,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0sy96cc8i5y4p67fhf4d9c6sg8ymrrva21zyvzw55l0pa1582wx2";
+ sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
type = "gem";
};
- version = "1.10.2";
+ version = "1.10.3";
};
nokogumbo = {
dependencies = ["nokogiri"];
@@ -436,6 +530,16 @@
};
version = "1.5.0";
};
+ opentracing = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11lj1d8vq0hkb5hjz8q4lm82cddrggpbb33dhqfn7rxhwsmxgdfy";
+ type = "gem";
+ };
+ version = "0.5.0";
+ };
optimist = {
source = {
remotes = ["https://rubygems.org"];
@@ -445,21 +549,25 @@
version = "3.0.0";
};
parallel = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "01hj8v1qnyl5ndrs33g8ld8ibk0rbcqdpkpznr04gkbxd11pqn67";
+ sha256 = "1x1gzgjrdlkm1aw0hfpyphsxcx90qgs3y4gmp9km3dvf4hc4qm8r";
type = "gem";
};
- version = "1.12.1";
+ version = "1.17.0";
};
parser = {
dependencies = ["ast"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zjk0w1kjj3xk8ymy1430aa4gg0k8ckphfj88br6il4pm83f0n1f";
+ sha256 = "1pnks149x0fzgqiw53qlmvcd8bi746cxdw03sjljby5s97p1fskn";
type = "gem";
};
- version = "2.5.3.0";
+ version = "2.6.3.0";
};
posix-spawn = {
source = {
@@ -469,14 +577,6 @@
};
version = "0.3.13";
};
- powerpack = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1r51d67wd467rpdfl6x43y84vwm8f5ql9l9m85ak1s2sp3nc5hyv";
- type = "gem";
- };
- version = "0.1.2";
- };
proc_to_ast = {
dependencies = ["coderay" "parser" "unparser"];
source = {
@@ -511,6 +611,49 @@
};
version = "3.0.3";
};
+ rack = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0z90vflxbgjy2n84r7mbyax3i2vyvvrxxrf86ljzn5rw65jgnn2i";
+ type = "gem";
+ };
+ version = "2.0.7";
+ };
+ rack-test = {
+ dependencies = ["rack"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0rh8h376mx71ci5yklnpqqn118z3bl67nnv5k801qaqn1zs62h8m";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
+ rails-dom-testing = {
+ dependencies = ["activesupport" "nokogiri"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1lfq2a7kp2x64dzzi5p4cjcbiv62vxh9lyqk2f0rqq3fkzrw8h5i";
+ type = "gem";
+ };
+ version = "2.0.3";
+ };
+ rails-html-sanitizer = {
+ dependencies = ["loofah"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1gv7vr5d9g2xmgpjfq4nxsqr70r9pr042r9ycqqnfvw5cz9c7jwr";
+ type = "gem";
+ };
+ version = "1.0.4";
+ };
rainbow = {
source = {
remotes = ["https://rubygems.org"];
@@ -537,74 +680,90 @@
version = "4.3.0";
};
rouge = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1digsi2s8wyzx8vsqcxasw205lg6s7izx8jypl8rrpjwshmv83ql";
+ sha256 = "0yfhazlhjc4abgzhkgq8zqmdphvkh52211widkl4zhsbhqh8wg2q";
type = "gem";
};
- version = "3.3.0";
+ version = "3.5.1";
};
rspec = {
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0134g96wzxjlig2gxzd240gm2dxfw8izcyi2h6hjmr40syzcyx01";
+ sha256 = "15ppasvb9qrscwlyjz67ppw1lnxiqnkzx5vkx1bd8x5n3dhikxc3";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.0";
};
rspec-core = {
dependencies = ["rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0zvjbymx3avxm3lf8v4gka3a862vnaxldmwvp6767bpy48nhnvjj";
+ sha256 = "1p1s5bnbqp3sxk67y0fh0x884jjym527r0vgmhbm81w7aq6b7l4p";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.0";
};
rspec-expectations = {
dependencies = ["diff-lcs" "rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1fw06wm8jdj8k7wrb8xmzj0fr1wjyb0ya13x31hidnyblm41hmvy";
+ sha256 = "1c4gs5ybf7km0qshdm92p38zvg32n1j2kr5fgs2icacz7xf2y6fy";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.3";
};
rspec-mocks = {
dependencies = ["diff-lcs" "rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0b02ya3qhqgmcywqv4570dlhav70r656f7dmvwg89whpkq1z1xr3";
+ sha256 = "06y508cjqycb4yfhxmb3nxn0v9xqf17qbd46l1dh4xhncinr4fyp";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.0";
};
rspec-parameterized = {
- dependencies = ["binding_of_caller" "parser" "proc_to_ast" "rspec" "unparser"];
+ dependencies = ["binding_ninja" "parser" "proc_to_ast" "rspec" "unparser"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0arynbr6cfjhccwc8gy2xf87nybdnncsnmfwknnh8s7d4mj730p0";
+ sha256 = "1c0892jbaznnldk1wi24qxm70g4zhw2idqx516rhgdzgd7yh5j31";
type = "gem";
};
- version = "0.4.0";
+ version = "0.4.2";
};
rspec-support = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1nl30xb6jmcl0awhqp6jycl01wdssblifwy921phfml70rd9flj1";
+ sha256 = "0p3m7drixrlhvj2zpc38b11x145bvm311x6f33jjcxmvcm0wq609";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.0";
};
rubocop = {
- dependencies = ["parallel" "parser" "powerpack" "rainbow" "ruby-progressbar" "unicode-display_width"];
+ dependencies = ["jaro_winkler" "parallel" "parser" "rainbow" "ruby-progressbar" "unicode-display_width"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "106y99lq0fg62k3vk1w5wwb4vq16pnh4l61skc82xck627z0h8is";
+ sha256 = "1cmw8ajaiidvrzjcsljh47f4l3lmcazqrzljgalj3szkr8ibkk5i";
type = "gem";
};
- version = "0.54.0";
+ version = "0.69.0";
};
ruby-progressbar = {
source = {
@@ -625,12 +784,14 @@
version = "0.28.1";
};
safe_yaml = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1hly915584hyi9q9vgd968x2nsi5yag9jyf5kq60lwzi5scr7094";
+ sha256 = "0j7qv63p0vqcd838i2iy2f76c3dgwzkiz1d1xkg7n0pbnxj2vb56";
type = "gem";
};
- version = "1.0.4";
+ version = "1.0.5";
};
sanitize = {
dependencies = ["crass" "nokogiri" "nokogumbo"];
@@ -687,6 +848,16 @@
};
version = "0.3.6";
};
+ thrift = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "02p107kwx7jnkh6fpdgvaji0xdg6xkaarngkqjml6s4zny4m8slv";
+ type = "gem";
+ };
+ version = "0.11.0.0";
+ };
timecop = {
source = {
remotes = ["https://rubygems.org"];
@@ -705,21 +876,25 @@
version = "1.2.5";
};
unicode-display_width = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0040bsdpcmvp8w31lqi2s9s4p4h031zv52401qidmh25cgyh4a57";
+ sha256 = "08kfiniak1pvg3gn5k6snpigzvhvhyg7slmm0s2qx5zkj62c1z2w";
type = "gem";
};
- version = "1.4.0";
+ version = "1.6.0";
};
unparser = {
dependencies = ["abstract_type" "adamantium" "concord" "diff-lcs" "equalizer" "parser" "procto"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0rh1649846ac17av30x0b0v9l45v0x1j2y1i8m1a7xdd0v4sld0z";
+ sha256 = "03vjj74kj86vlazhiclf63kf6gajs66k8ni34q70fdhf97d7b60c";
type = "gem";
};
- version = "0.2.8";
+ version = "0.4.5";
};
vcr = {
source = {
diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix
index be0cf838f90..cd4784b36c8 100644
--- a/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitlab-shell/default.nix
@@ -1,14 +1,14 @@
{ stdenv, ruby, bundler, fetchFromGitLab, go }:
stdenv.mkDerivation rec {
- version = "9.0.0";
- name = "gitlab-shell-${version}";
+ version = "9.3.0";
+ pname = "gitlab-shell";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-shell";
rev = "v${version}";
- sha256 = "0437pigcgd5qi9ars8br1l058h2mijyv02axlr8wdb1vjsss857g";
+ sha256 = "1r000h4sgplx7giqvqs5iy0zh3drf6qa1iiq0mxlk3h9fshs1348";
};
buildInputs = [ ruby bundler go ];
diff --git a/pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations.patch b/pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations.patch
index 9b5efeaee80..d8337ebb9ea 100644
--- a/pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations.patch
+++ b/pkgs/applications/version-management/gitlab/gitlab-shell/remove-hardcoded-locations.patch
@@ -56,3 +56,16 @@ index 2cb76a8..f59ad5e 100644
end
def api
+diff --git a/go/internal/command/fallback/fallback.go b/go/internal/command/fallback/fallback.go
+index 2cb76a8..f59ad5e 100644
+--- a/go/internal/command/fallback/fallback.go
++++ b/go/internal/command/fallback/fallback.go
+@@ -21,7 +21,7 @@
+ )
+
+ func (c *Command) Execute() error {
+- rubyCmd := filepath.Join(c.RootDir, "bin", RubyProgram)
++ rubyCmd := filepath.Join("/run/current-system/sw/bin", RubyProgram)
+
+ // Ensure rubyArgs[0] is the full path to gitlab-shell-ruby
+ rubyArgs := append([]string{rubyCmd}, c.Args[1:]...)
diff --git a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
index a98c41699c7..12f354bc2fb 100644
--- a/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
+++ b/pkgs/applications/version-management/gitlab/gitlab-workhorse/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchFromGitLab, git, go }:
stdenv.mkDerivation rec {
- name = "gitlab-workhorse-${version}";
+ pname = "gitlab-workhorse";
- version = "8.5.2";
+ version = "8.7.0";
src = fetchFromGitLab {
owner = "gitlab-org";
repo = "gitlab-workhorse";
rev = "v${version}";
- sha256 = "0c1wpp81wr4x00pmc2z41xh4vy7yk97fkcg0cdy7gbz2hc5cm296";
+ sha256 = "1zlngc498hnzbxwdjn3ymr0xwrnfgnzzhn9lyf37yfbjl8x28n3z";
};
buildInputs = [ git go ];
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile b/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile
index 1c7ad5abcb5..8bffc2a973d 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile
+++ b/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile
@@ -1,7 +1,6 @@
source 'https://rubygems.org'
-gem 'rails', '5.0.7.2'
-gem 'rails-deprecated_sanitizer', '~> 1.0.3'
+gem 'rails', '5.2.3'
# Improves copy-on-write performance for MRI
gem 'nakayoshi_fork', '~> 0.0.4'
@@ -12,19 +11,19 @@ gem 'responders', '~> 2.0'
gem 'sprockets', '~> 3.7.0'
# Default values for AR models
-gem 'gitlab-default_value_for', '~> 3.1.1', require: 'default_value_for'
+gem 'default_value_for', '~> 3.2.0'
# Supported DBs
gem 'mysql2', '~> 0.4.10', group: :mysql
gem 'pg', '~> 1.1', group: :postgres
gem 'rugged', '~> 0.28'
-gem 'grape-path-helpers', '~> 1.0'
+gem 'grape-path-helpers', '~> 1.1'
gem 'faraday', '~> 0.12'
# Authentication libraries
-gem 'devise', '~> 4.4'
+gem 'devise', '~> 4.6'
gem 'doorkeeper', '~> 4.3'
gem 'doorkeeper-openid_connect', '~> 1.5'
gem 'omniauth', '~> 1.8'
@@ -42,6 +41,9 @@ gem 'omniauth-shibboleth', '~> 1.3.0'
gem 'omniauth-twitter', '~> 1.4'
gem 'omniauth_crowd', '~> 2.2.0'
gem 'omniauth-authentiq', '~> 0.3.3'
+gem 'omniauth_openid_connect', '~> 0.3.1'
+gem "omniauth-ultraauth", '~> 0.0.2'
+gem 'omniauth-salesforce', '~> 1.0.5'
gem 'rack-oauth2', '~> 1.9.3'
gem 'jwt', '~> 2.1.0'
@@ -58,6 +60,8 @@ gem 'u2f', '~> 0.2.1'
# GitLab Pages
gem 'validates_hostname', '~> 1.0.6'
gem 'rubyzip', '~> 1.2.2', require: 'zip'
+# GitLab Pages letsencrypt support
+gem 'acme-client', '~> 2.0.2'
# Browser detection
gem 'browser', '~> 2.5'
@@ -79,6 +83,8 @@ gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
# GraphQL API
gem 'graphql', '~> 1.8.0'
gem 'graphiql-rails', '~> 1.4.10'
+gem 'apollo_upload_server', '~> 2.0.0.beta3'
+gem 'graphql-docs', '~> 1.6.0', group: [:development, :test]
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'
@@ -94,7 +100,7 @@ gem 'carrierwave', '~> 1.3'
gem 'mini_magick'
# for backups
-gem 'fog-aws', '~> 3.3'
+gem 'fog-aws', '~> 3.5'
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
# Also see config/initializers/fog_core_patch.rb.
gem 'fog-core', '= 2.1.0'
@@ -124,12 +130,13 @@ gem 'rdoc', '~> 6.0'
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
-gem 'asciidoctor', '~> 1.5.8'
-gem 'asciidoctor-plantuml', '0.0.8'
-gem 'rouge', '~> 3.1'
+gem 'asciidoctor', '~> 2.0.10'
+gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
+gem 'asciidoctor-plantuml', '0.0.9'
+gem 'rouge', '~> 3.5'
gem 'truncato', '~> 0.7.11'
gem 'bootstrap_form', '~> 4.2.0'
-gem 'nokogiri', '~> 1.10.1'
+gem 'nokogiri', '~> 1.10.3'
gem 'escape_utils', '~> 1.1'
# Calendar rendering
@@ -149,6 +156,7 @@ end
group :puma do
gem 'puma', '~> 3.12', require: false
gem 'puma_worker_killer', require: false
+ gem 'rack-timeout', require: false
end
# State machine
@@ -158,13 +166,13 @@ gem 'state_machines-activerecord', '~> 0.5.1'
gem 'acts-as-taggable-on', '~> 6.0'
# Background jobs
-gem 'sidekiq', '~> 5.2.1'
+gem 'sidekiq', '~> 5.2.7'
gem 'sidekiq-cron', '~> 1.0'
gem 'redis-namespace', '~> 1.6.0'
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
# Cron Parser
-gem 'fugit', '~> 1.1'
+gem 'fugit', '~> 1.2.1'
# HTTP requests
gem 'httparty', '~> 0.16.4'
@@ -204,7 +212,7 @@ gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
# HipChat integration
gem 'hipchat', '~> 1.5.0'
-# JIRA integration
+# Jira integration
gem 'jira-ruby', '~> 1.4'
# Flowdock integration
@@ -257,8 +265,7 @@ gem 'chronic_duration', '~> 0.10.6'
gem 'webpack-rails', '~> 0.9.10'
gem 'rack-proxy', '~> 0.6.0'
-gem 'sass-rails', '~> 5.0.6'
-gem 'sass', '~> 3.5'
+gem 'sassc-rails', '~> 2.1.0'
gem 'uglifier', '~> 2.7.2'
gem 'addressable', '~> 2.5.2'
@@ -270,10 +277,13 @@ gem 'virtus', '~> 1.0.1'
gem 'base32', '~> 0.3.0'
# Sentry integration
-gem 'sentry-raven', '~> 2.7'
+gem 'sentry-raven', '~> 2.9'
gem 'premailer-rails', '~> 1.9.7'
+# LabKit: Tracing and Correlation
+gem 'gitlab-labkit', '~> 0.3.0'
+
# I18n
gem 'ruby_parser', '~> 3.8', require: false
gem 'rails-i18n', '~> 5.1'
@@ -281,7 +291,7 @@ gem 'gettext_i18n_rails', '~> 1.8.0'
gem 'gettext_i18n_rails_js', '~> 1.3'
gem 'gettext', '~> 3.2.2', require: false, group: :development
-gem 'batch-loader', '~> 1.2.2'
+gem 'batch-loader', '~> 1.4.0'
# Perf bar
gem 'peek', '~> 1.0.1'
@@ -291,27 +301,24 @@ gem 'peek-pg', '~> 1.3.0', group: :postgres
gem 'peek-rblineprof', '~> 0.2.0'
gem 'peek-redis', '~> 1.2.0'
+# Memory benchmarks
+gem 'derailed_benchmarks', require: false
+
# Metrics
group :metrics do
gem 'method_source', '~> 0.8', require: false
gem 'influxdb', '~> 0.2', require: false
# Prometheus
- gem 'prometheus-client-mmap', '~> 0.9.4'
+ gem 'prometheus-client-mmap', '~> 0.9.8'
gem 'raindrops', '~> 0.18'
end
-group :tracing do
- # OpenTracing
- gem 'opentracing', '~> 0.4.3'
- gem 'jaeger-client', '~> 0.10.0'
-end
-
group :development do
gem 'foreman', '~> 0.84.0'
gem 'brakeman', '~> 4.2', require: false
- gem 'letter_opener_web', '~> 1.3.0'
+ gem 'letter_opener_web', '~> 1.3.4'
gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
# Better errors handler
@@ -333,8 +340,8 @@ group :development, :test do
gem 'database_cleaner', '~> 1.7.0'
gem 'factory_bot_rails', '~> 4.8.2'
- gem 'rspec-rails', '~> 3.7.0'
- gem 'rspec-retry', '~> 0.4.5'
+ gem 'rspec-rails', '~> 3.8.0'
+ gem 'rspec-retry', '~> 0.6.1'
gem 'rspec_profiling', '~> 0.0.5'
gem 'rspec-set', '~> 0.1.3'
gem 'rspec-parameterized', require: false
@@ -345,22 +352,24 @@ group :development, :test do
# Generate Fake data
gem 'ffaker', '~> 2.10'
- gem 'capybara', '~> 2.16.1'
- gem 'capybara-screenshot', '~> 1.0.18'
- gem 'selenium-webdriver', '~> 3.12'
+ gem 'capybara', '~> 3.22.0'
+ gem 'capybara-screenshot', '~> 1.0.22'
+ gem 'selenium-webdriver', '~> 3.141'
gem 'spring', '~> 2.0.0'
gem 'spring-commands-rspec', '~> 1.0.4'
- gem 'gitlab-styles', '~> 2.4', require: false
+ gem 'gitlab-styles', '~> 2.7', require: false
# Pin these dependencies, otherwise a new rule could break the CI pipelines
- gem 'rubocop', '~> 0.54.0'
+ gem 'rubocop', '~> 0.69.0'
+ gem 'rubocop-performance', '~> 1.1.0'
gem 'rubocop-rspec', '~> 1.22.1'
gem 'scss_lint', '~> 0.56.0', require: false
- gem 'haml_lint', '~> 0.28.0', require: false
- gem 'simplecov', '~> 0.14.0', require: false
+ gem 'haml_lint', '~> 0.31.0', require: false
+ gem 'simplecov', '~> 0.16.1', require: false
gem 'bundler-audit', '~> 0.5.0', require: false
+ gem 'mdl', '~> 0.5.0', require: false
gem 'benchmark-ips', '~> 2.3.0', require: false
@@ -377,7 +386,7 @@ group :development, :test do
end
group :test do
- gem 'shoulda-matchers', '~> 3.1.2', require: false
+ gem 'shoulda-matchers', '~> 4.0.1', require: false
gem 'email_spec', '~> 2.2.0'
gem 'json-schema', '~> 2.8.0'
gem 'webmock', '~> 3.5.1'
@@ -397,6 +406,9 @@ gem 'html2text'
gem 'ruby-prof', '~> 0.17.0'
gem 'rbtrace', '~> 0.4', require: false
+gem 'memory_profiler', '~> 0.9', require: false
+gem 'benchmark-memory', '~> 0.1', require: false
+gem 'activerecord-explain-analyze', '~> 0.1', require: false
# OAuth
gem 'oauth2', '~> 1.4'
@@ -409,7 +421,7 @@ gem 'vmstat', '~> 2.3.0'
gem 'sys-filesystem', '~> 1.1.6'
# SSH host key support
-gem 'net-ssh', '~> 5.0'
+gem 'net-ssh', '~> 5.2'
gem 'sshkey', '~> 2.0'
# Required for ED25519 SSH host key support
@@ -419,11 +431,11 @@ group :ed25519 do
end
# Gitaly GRPC client
-gem 'gitaly-proto', '~> 1.19.0', require: 'gitaly'
+gem 'gitaly-proto', '~> 1.37.0', require: 'gitaly'
-gem 'grpc', '~> 1.15.0'
+gem 'grpc', '~> 1.19.0'
-gem 'google-protobuf', '~> 3.6'
+gem 'google-protobuf', '~> 3.7.1'
gem 'toml-rb', '~> 1.0.0', require: false
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile.lock b/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile.lock
index 3314a769949..60939ae918c 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile.lock
+++ b/pkgs/applications/version-management/gitlab/rubyEnv-ce/Gemfile.lock
@@ -4,41 +4,50 @@ GEM
RedCloth (4.3.2)
abstract_type (0.0.7)
ace-rails-ap (4.1.2)
- actioncable (5.0.7.2)
- actionpack (= 5.0.7.2)
- nio4r (>= 1.2, < 3.0)
- websocket-driver (~> 0.6.1)
- actionmailer (5.0.7.2)
- actionpack (= 5.0.7.2)
- actionview (= 5.0.7.2)
- activejob (= 5.0.7.2)
+ acme-client (2.0.2)
+ faraday (~> 0.9, >= 0.9.1)
+ actioncable (5.2.3)
+ actionpack (= 5.2.3)
+ nio4r (~> 2.0)
+ websocket-driver (>= 0.6.1)
+ actionmailer (5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
- actionpack (5.0.7.2)
- actionview (= 5.0.7.2)
- activesupport (= 5.0.7.2)
+ actionpack (5.2.3)
+ actionview (= 5.2.3)
+ activesupport (= 5.2.3)
rack (~> 2.0)
- rack-test (~> 0.6.3)
+ rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (5.0.7.2)
- activesupport (= 5.0.7.2)
+ actionview (5.2.3)
+ activesupport (= 5.2.3)
builder (~> 3.1)
- erubis (~> 2.7.0)
+ erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
- activejob (5.0.7.2)
- activesupport (= 5.0.7.2)
+ activejob (5.2.3)
+ activesupport (= 5.2.3)
globalid (>= 0.3.6)
- activemodel (5.0.7.2)
- activesupport (= 5.0.7.2)
- activerecord (5.0.7.2)
- activemodel (= 5.0.7.2)
- activesupport (= 5.0.7.2)
- arel (~> 7.0)
+ activemodel (5.2.3)
+ activesupport (= 5.2.3)
+ activerecord (5.2.3)
+ activemodel (= 5.2.3)
+ activesupport (= 5.2.3)
+ arel (>= 9.0)
+ activerecord-explain-analyze (0.1.0)
+ activerecord (>= 4)
+ pg
activerecord_sane_schema_dumper (1.0)
rails (>= 5, < 6)
- activesupport (5.0.7.2)
+ activestorage (5.2.3)
+ actionpack (= 5.2.3)
+ activerecord (= 5.2.3)
+ marcel (~> 0.3.1)
+ activesupport (5.2.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -52,15 +61,20 @@ GEM
public_suffix (>= 2.0.2, < 4.0)
aes_key_wrap (1.0.1)
akismet (2.0.0)
- arel (7.1.4)
+ apollo_upload_server (2.0.0.beta.3)
+ graphql (>= 1.8)
+ rails (>= 4.2)
+ arel (9.0.0)
asana (0.8.1)
faraday (~> 0.9)
faraday_middleware (~> 0.9)
faraday_middleware-multi_json (~> 0.0)
oauth2 (~> 1.0)
- asciidoctor (1.5.8)
- asciidoctor-plantuml (0.0.8)
- asciidoctor (~> 1.5)
+ asciidoctor (2.0.10)
+ asciidoctor-include-ext (0.3.1)
+ asciidoctor (>= 1.5.6, < 3.0.0)
+ asciidoctor-plantuml (0.0.9)
+ asciidoctor (>= 1.5.6, < 3.0.0)
ast (2.4.0)
atomic (1.1.99)
attr_encrypted (3.1.0)
@@ -73,16 +87,18 @@ GEM
thread_safe (~> 0.3, >= 0.3.1)
babosa (1.0.2)
base32 (0.3.2)
- batch-loader (1.2.2)
+ batch-loader (1.4.0)
bcrypt (3.1.12)
bcrypt_pbkdf (1.0.0)
benchmark-ips (2.3.0)
+ benchmark-memory (0.1.2)
+ memory_profiler (~> 0.9)
better_errors (2.5.0)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
rack (>= 0.9.0)
bindata (2.4.3)
- binding_ninja (0.2.2)
+ binding_ninja (0.2.3)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
bootsnap (1.4.1)
@@ -100,13 +116,14 @@ GEM
bundler (~> 1.2)
thor (~> 0.18)
byebug (9.1.0)
- capybara (2.16.1)
+ capybara (3.22.0)
addressable
mini_mime (>= 0.1.3)
- nokogiri (>= 1.3.3)
- rack (>= 1.0.0)
- rack-test (>= 0.5.4)
- xpath (~> 2.0)
+ nokogiri (~> 1.8)
+ rack (>= 1.6.0)
+ rack-test (>= 0.6.3)
+ regexp_parser (~> 1.5)
+ xpath (~> 3.2)
capybara-screenshot (1.0.22)
capybara (>= 1.0, < 4)
launchy
@@ -132,9 +149,9 @@ GEM
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
- concurrent-ruby (1.1.3)
- concurrent-ruby-ext (1.1.3)
- concurrent-ruby (= 1.1.3)
+ concurrent-ruby (1.1.5)
+ concurrent-ruby-ext (1.1.5)
+ concurrent-ruby (= 1.1.5)
connection_pool (2.2.2)
crack (0.4.3)
safe_yaml (~> 1.0.0)
@@ -150,10 +167,20 @@ GEM
html-pipeline
declarative (0.0.10)
declarative-option (0.1.0)
+ default_value_for (3.2.0)
+ activerecord (>= 3.2.0, < 6.0)
+ derailed_benchmarks (1.3.5)
+ benchmark-ips (~> 2)
+ get_process_mem (~> 0)
+ heapy (~> 0)
+ memory_profiler (~> 0)
+ rack (>= 1)
+ rake (> 10, < 13)
+ thor (~> 0.19)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
device_detector (1.0.0)
- devise (4.4.3)
+ devise (4.6.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 6.0)
@@ -169,7 +196,7 @@ GEM
diffy (3.1.0)
discordrb-webhooks-blackst0ne (3.3.0)
rest-client (~> 2.0)
- docile (1.1.5)
+ docile (1.3.1)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
doorkeeper (4.3.2)
@@ -185,15 +212,16 @@ GEM
mail (~> 2.7)
encryptor (3.0.0)
equalizer (0.0.11)
- erubi (1.7.1)
- erubis (2.7.0)
+ erubi (1.8.0)
escape_utils (1.2.1)
- et-orbi (1.1.7)
+ et-orbi (1.2.1)
tzinfo
eventmachine (1.2.7)
excon (0.62.0)
execjs (2.6.0)
expression_parser (0.9.0)
+ extended-markdown-filter (0.6.0)
+ html-pipeline (~> 2.0)
factory_bot (4.8.2)
activesupport (>= 3.0.0)
factory_bot_rails (4.8.2)
@@ -225,7 +253,7 @@ GEM
fog-json
ipaddress (~> 0.8)
xml-simple (~> 1.1)
- fog-aws (3.3.0)
+ fog-aws (3.5.2)
fog-core (~> 2.1)
fog-json (~> 1.1)
fog-xml (~> 0.1)
@@ -257,20 +285,21 @@ GEM
fog-xml (0.1.3)
fog-core
nokogiri (>= 1.5.11, < 2.0.0)
- font-awesome-rails (4.7.0.1)
- railties (>= 3.2, < 5.1)
+ font-awesome-rails (4.7.0.4)
+ railties (>= 3.2, < 6.0)
foreman (0.84.0)
thor (~> 0.19.1)
formatador (0.2.5)
- fugit (1.1.9)
- et-orbi (~> 1.1, >= 1.1.7)
+ fugit (1.2.1)
+ et-orbi (~> 1.1, >= 1.1.8)
raabro (~> 1.1)
fuubar (2.2.0)
rspec-core (~> 3.0)
ruby-progressbar (~> 1.4)
+ gemoji (3.0.1)
gemojione (3.3.0)
json
- get_process_mem (0.2.0)
+ get_process_mem (0.2.3)
gettext (3.2.9)
locale (>= 2.0.5)
text (>= 1.3.0)
@@ -281,17 +310,22 @@ GEM
gettext_i18n_rails (>= 0.7.1)
po_to_json (>= 1.0.0)
rails (>= 3.2.0)
- gitaly-proto (1.19.0)
+ gitaly-proto (1.37.0)
grpc (~> 1.0)
github-markup (1.7.0)
- gitlab-default_value_for (3.1.1)
- activerecord (>= 3.2.0, < 6.0)
+ gitlab-labkit (0.3.0)
+ actionpack (~> 5)
+ activesupport (~> 5)
+ grpc (~> 1.19.0)
+ jaeger-client (~> 0.10)
+ opentracing (~> 0.4)
gitlab-markup (1.7.0)
gitlab-sidekiq-fetcher (0.4.0)
sidekiq (~> 5)
- gitlab-styles (2.5.1)
- rubocop (~> 0.54.0)
+ gitlab-styles (2.7.0)
+ rubocop (~> 0.69.0)
rubocop-gitlab-security (~> 0.1.0)
+ rubocop-performance (~> 1.1.0)
rubocop-rspec (~> 1.19)
gitlab_omniauth-ldap (2.1.1)
net-ldap (~> 0.16)
@@ -311,8 +345,8 @@ GEM
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
- google-protobuf (3.6.1)
- googleapis-common-protos-types (1.0.3)
+ google-protobuf (3.7.1)
+ googleapis-common-protos-types (1.0.4)
google-protobuf (~> 3.0)
googleauth (0.6.6)
faraday (~> 0.12)
@@ -333,8 +367,8 @@ GEM
grape-entity (0.7.1)
activesupport (>= 4.0)
multi_json (>= 1.3.2)
- grape-path-helpers (1.0.6)
- activesupport (>= 4, < 5.1)
+ grape-path-helpers (1.1.0)
+ activesupport
grape (~> 1.0)
rake (~> 12)
grape_logging (1.7.0)
@@ -343,13 +377,21 @@ GEM
railties
sprockets-rails
graphql (1.8.1)
- grpc (1.15.0)
+ graphql-docs (1.6.0)
+ commonmarker (~> 0.16)
+ escape_utils (~> 1.2)
+ extended-markdown-filter (~> 0.4)
+ gemoji (~> 3.0)
+ graphql (~> 1.6)
+ html-pipeline (~> 2.8)
+ sass (~> 3.4)
+ grpc (1.19.0)
google-protobuf (~> 3.1)
googleapis-common-protos-types (~> 1.0.0)
haml (5.0.4)
temple (>= 0.8.0)
tilt
- haml_lint (0.28.0)
+ haml_lint (0.31.0)
haml (>= 4.0, < 5.1)
rainbow
rake (>= 10, < 13)
@@ -366,6 +408,7 @@ GEM
hashie (>= 3.0)
health_check (2.6.0)
rails (>= 4.0)
+ heapy (0.1.4)
hipchat (1.5.2)
httparty
mimemagic
@@ -399,6 +442,7 @@ GEM
jaeger-client (0.10.0)
opentracing (~> 0.3)
thrift
+ jaro_winkler (1.5.2)
jira-ruby (1.4.1)
activesupport
multipart-post
@@ -430,15 +474,16 @@ GEM
kgio (2.11.2)
knapsack (1.17.0)
rake
+ kramdown (1.17.0)
kubeclient (4.2.2)
http (~> 3.0)
recursive-open-struct (~> 1.0, >= 1.0.4)
rest-client (~> 2.0)
launchy (2.4.3)
addressable (~> 2.3)
- letter_opener (1.4.1)
+ letter_opener (1.7.0)
launchy (~> 2.2)
- letter_opener_web (1.3.0)
+ letter_opener_web (1.3.4)
actionmailer (>= 3.2)
letter_opener (~> 1.0)
railties (>= 3.2)
@@ -463,19 +508,29 @@ GEM
mail (2.7.1)
mini_mime (>= 0.1.1)
mail_room (0.9.1)
+ marcel (0.3.3)
+ mimemagic (~> 0.3.2)
+ mdl (0.5.0)
+ kramdown (~> 1.12, >= 1.12.0)
+ mixlib-cli (~> 1.7, >= 1.7.0)
+ mixlib-config (~> 2.2, >= 2.2.1)
memoist (0.16.0)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
+ memory_profiler (0.9.13)
method_source (0.9.2)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
- mime-types-data (3.2018.0812)
+ mime-types-data (3.2019.0331)
mimemagic (0.3.2)
mini_magick (4.8.0)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
minitest (5.11.3)
- msgpack (1.2.6)
+ mixlib-cli (1.7.0)
+ mixlib-config (2.2.18)
+ tomlrb
+ msgpack (1.2.10)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
@@ -485,10 +540,10 @@ GEM
mysql2 (0.4.10)
nakayoshi_fork (0.0.4)
net-ldap (0.16.0)
- net-ssh (5.0.1)
+ net-ssh (5.2.0)
netrc (0.11.0)
nio4r (2.3.1)
- nokogiri (1.10.1)
+ nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
@@ -543,6 +598,9 @@ GEM
omniauth (~> 1.9)
omniauth-oauth2-generic (0.2.2)
omniauth-oauth2 (~> 1.0)
+ omniauth-salesforce (1.0.5)
+ omniauth (~> 1.0)
+ omniauth-oauth2 (~> 1.0)
omniauth-saml (1.10.0)
omniauth (~> 1.3, >= 1.3.2)
ruby-saml (~> 1.7)
@@ -551,18 +609,34 @@ GEM
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
+ omniauth-ultraauth (0.0.2)
+ omniauth_openid_connect (~> 0.3.0)
omniauth_crowd (2.2.3)
activesupport
nokogiri (>= 1.4.4)
omniauth (~> 1.0)
- opentracing (0.4.3)
+ omniauth_openid_connect (0.3.1)
+ addressable (~> 2.5)
+ omniauth (~> 1.3)
+ openid_connect (~> 1.1)
+ openid_connect (1.1.6)
+ activemodel
+ attr_required (>= 1.0.0)
+ json-jwt (>= 1.5.0)
+ rack-oauth2 (>= 1.6.1)
+ swd (>= 1.0.0)
+ tzinfo
+ validate_email
+ validate_url
+ webfinger (>= 1.0.1)
+ opentracing (0.5.0)
optimist (3.0.0)
org-ruby (0.9.12)
rubypants (~> 0.2)
orm_adapter (0.5.0)
os (1.0.0)
- parallel (1.12.1)
- parser (2.5.3.0)
+ parallel (1.17.0)
+ parser (2.6.3.0)
ast (~> 2.4.0)
parslet (1.8.2)
peek (1.0.1)
@@ -591,7 +665,6 @@ GEM
pg (1.1.4)
po_to_json (1.0.1)
json (>= 1.6.0)
- powerpack (0.1.1)
premailer (1.10.4)
addressable
css_parser (>= 1.4.10)
@@ -604,7 +677,7 @@ GEM
parser
unparser
procto (0.0.3)
- prometheus-client-mmap (0.9.4)
+ prometheus-client-mmap (0.9.8)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
@@ -613,7 +686,7 @@ GEM
pry (~> 0.10)
pry-rails (0.3.6)
pry (>= 0.10.4)
- public_suffix (3.0.3)
+ public_suffix (3.1.0)
puma (3.12.0)
puma_worker_killer (0.1.0)
get_process_mem (~> 0.2)
@@ -636,26 +709,26 @@ GEM
rack
rack-proxy (0.6.0)
rack
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (5.0.7.2)
- actioncable (= 5.0.7.2)
- actionmailer (= 5.0.7.2)
- actionpack (= 5.0.7.2)
- actionview (= 5.0.7.2)
- activejob (= 5.0.7.2)
- activemodel (= 5.0.7.2)
- activerecord (= 5.0.7.2)
- activesupport (= 5.0.7.2)
+ rack-test (1.1.0)
+ rack (>= 1.0, < 3)
+ rack-timeout (0.5.1)
+ rails (5.2.3)
+ actioncable (= 5.2.3)
+ actionmailer (= 5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
+ activemodel (= 5.2.3)
+ activerecord (= 5.2.3)
+ activestorage (= 5.2.3)
+ activesupport (= 5.2.3)
bundler (>= 1.3.0)
- railties (= 5.0.7.2)
+ railties (= 5.2.3)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.2)
actionpack (~> 5.x, >= 5.0.1)
actionview (~> 5.x, >= 5.0.1)
activesupport (~> 5.x)
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
@@ -664,12 +737,12 @@ GEM
rails-i18n (5.1.1)
i18n (>= 0.7, < 2)
railties (>= 5.0, < 6)
- railties (5.0.7.2)
- actionpack (= 5.0.7.2)
- activesupport (= 5.0.7.2)
+ railties (5.2.3)
+ actionpack (= 5.2.3)
+ activesupport (= 5.2.3)
method_source
rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
+ thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
raindrops (0.19.0)
rake (12.3.2)
@@ -706,7 +779,7 @@ GEM
redis-store (>= 1.2, < 2)
redis-store (1.6.0)
redis (>= 2.2, < 5)
- regexp_parser (1.3.0)
+ regexp_parser (1.5.1)
regexp_property_values (0.3.4)
representable (3.0.4)
declarative (< 0.1.0)
@@ -723,41 +796,41 @@ GEM
retriable (3.1.2)
rinku (2.0.0)
rotp (2.1.2)
- rouge (3.3.0)
+ rouge (3.5.1)
rqrcode (0.7.0)
chunky_png
rqrcode-rails3 (0.1.7)
rqrcode (>= 0.4.2)
- rspec (3.7.0)
- rspec-core (~> 3.7.0)
- rspec-expectations (~> 3.7.0)
- rspec-mocks (~> 3.7.0)
- rspec-core (3.7.1)
- rspec-support (~> 3.7.0)
- rspec-expectations (3.7.0)
+ rspec (3.8.0)
+ rspec-core (~> 3.8.0)
+ rspec-expectations (~> 3.8.0)
+ rspec-mocks (~> 3.8.0)
+ rspec-core (3.8.2)
+ rspec-support (~> 3.8.0)
+ rspec-expectations (3.8.4)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-mocks (3.7.0)
+ rspec-support (~> 3.8.0)
+ rspec-mocks (3.8.1)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-parameterized (0.4.1)
- binding_ninja (>= 0.2.1)
+ rspec-support (~> 3.8.0)
+ rspec-parameterized (0.4.2)
+ binding_ninja (>= 0.2.3)
parser
proc_to_ast
rspec (>= 2.13, < 4)
unparser
- rspec-rails (3.7.2)
+ rspec-rails (3.8.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
- rspec-core (~> 3.7.0)
- rspec-expectations (~> 3.7.0)
- rspec-mocks (~> 3.7.0)
- rspec-support (~> 3.7.0)
- rspec-retry (0.4.5)
- rspec-core
+ rspec-core (~> 3.8.0)
+ rspec-expectations (~> 3.8.0)
+ rspec-mocks (~> 3.8.0)
+ rspec-support (~> 3.8.0)
+ rspec-retry (0.6.1)
+ rspec-core (> 3.3)
rspec-set (0.1.3)
- rspec-support (3.7.1)
+ rspec-support (3.8.2)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rspec_profiling (0.0.5)
@@ -765,15 +838,17 @@ GEM
pg
rails
sqlite3
- rubocop (0.54.0)
+ rubocop (0.69.0)
+ jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
- parser (>= 2.5)
- powerpack (~> 0.1)
+ parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
- unicode-display_width (~> 1.0, >= 1.0.1)
+ unicode-display_width (>= 1.4.0, < 1.7)
rubocop-gitlab-security (0.1.1)
rubocop (>= 0.51)
+ rubocop-performance (1.1.0)
+ rubocop (>= 0.67.0)
rubocop-rspec (1.22.2)
rubocop (>= 0.52.1)
ruby-enum (0.7.2)
@@ -781,10 +856,10 @@ GEM
ruby-fogbugz (0.2.1)
crack (~> 0.4)
ruby-prof (0.17.0)
- ruby-progressbar (1.9.0)
+ ruby-progressbar (1.10.0)
ruby-saml (1.7.2)
nokogiri (>= 1.5.10)
- ruby_parser (3.11.0)
+ ruby_parser (3.13.1)
sexp_processor (~> 4.9)
rubyntlm (0.6.2)
rubypants (0.2.0)
@@ -800,12 +875,15 @@ GEM
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
+ sassc (2.0.1)
+ ffi (~> 1.9)
+ rake
+ sassc-rails (2.1.0)
+ railties (>= 4.0.0)
+ sassc (>= 2.0)
+ sprockets (> 3.0)
+ sprockets-rails
+ tilt
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
@@ -815,18 +893,18 @@ GEM
seed-fu (2.3.7)
activerecord (>= 3.1)
activesupport (>= 3.1)
- selenium-webdriver (3.12.0)
+ selenium-webdriver (3.141.0)
childprocess (~> 0.5)
- rubyzip (~> 1.2)
+ rubyzip (~> 1.2, >= 1.2.2)
sentry-raven (2.9.0)
faraday (>= 0.7.6, < 1.0)
settingslogic (2.0.9)
- sexp_processor (4.11.0)
+ sexp_processor (4.12.0)
sham_rack (1.3.6)
rack
- shoulda-matchers (3.1.2)
- activesupport (>= 4.0.0)
- sidekiq (5.2.5)
+ shoulda-matchers (4.0.1)
+ activesupport (>= 4.2.0)
+ sidekiq (5.2.7)
connection_pool (~> 2.2, >= 2.2.2)
rack (>= 1.5.0)
rack-protection (>= 1.5.0)
@@ -840,11 +918,11 @@ GEM
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simple_po_parser (1.1.2)
- simplecov (0.14.1)
- docile (~> 1.1.0)
+ simplecov (0.16.1)
+ docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
- simplecov-html (0.10.0)
+ simplecov-html (0.10.2)
slack-notifier (1.5.1)
spring (2.0.2)
activesupport (>= 4.2)
@@ -867,6 +945,10 @@ GEM
state_machines-activerecord (0.5.1)
activerecord (>= 4.1, < 6.0)
state_machines-activemodel (>= 0.5.0)
+ swd (1.1.2)
+ activesupport (>= 3)
+ attr_required (>= 0.0.5)
+ httpclient (>= 2.4)
sys-filesystem (1.1.6)
ffi
sysexits (1.2.0)
@@ -887,6 +969,7 @@ GEM
parslet (~> 1.8.0)
toml-rb (1.0.0)
citrus (~> 3.0, > 3.0)
+ tomlrb (1.2.8)
truncato (0.7.11)
htmlentities (~> 4.3.1)
nokogiri (>= 1.7.0, <= 2.0)
@@ -900,7 +983,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
- unicode-display_width (1.3.2)
+ unicode-display_width (1.6.0)
unicorn (5.4.1)
kgio (~> 2.6)
raindrops (~> 0.7)
@@ -908,14 +991,20 @@ GEM
get_process_mem (~> 0)
unicorn (>= 4, < 6)
uniform_notifier (1.10.0)
- unparser (0.4.2)
+ unparser (0.4.5)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.3)
equalizer (~> 0.0.9)
- parser (>= 2.3.1.2, < 2.6)
+ parser (~> 2.6.3)
procto (~> 0.0.2)
+ validate_email (0.1.6)
+ activemodel (>= 3.0)
+ mail (>= 2.2.5)
+ validate_url (1.0.8)
+ activemodel (>= 3.0.0)
+ public_suffix
validates_hostname (1.0.6)
activerecord (>= 3.0)
activesupport (>= 3.0)
@@ -928,13 +1017,16 @@ GEM
vmstat (2.3.0)
warden (1.2.7)
rack (>= 1.0)
+ webfinger (1.1.0)
+ activesupport
+ httpclient (>= 2.4)
webmock (3.5.1)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
webpack-rails (0.9.11)
railties (>= 3.2.0)
- websocket-driver (0.6.5)
+ websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
wikicloth (0.8.1)
@@ -943,8 +1035,8 @@ GEM
rinku
with_env (1.1.0)
xml-simple (1.1.5)
- xpath (2.1.0)
- nokogiri (~> 1.3)
+ xpath (3.2.0)
+ nokogiri (~> 1.8)
PLATFORMS
ruby
@@ -952,20 +1044,25 @@ PLATFORMS
DEPENDENCIES
RedCloth (~> 4.3.2)
ace-rails-ap (~> 4.1.0)
+ acme-client (~> 2.0.2)
+ activerecord-explain-analyze (~> 0.1)
activerecord_sane_schema_dumper (= 1.0)
acts-as-taggable-on (~> 6.0)
addressable (~> 2.5.2)
akismet (~> 2.0)
+ apollo_upload_server (~> 2.0.0.beta3)
asana (~> 0.8.1)
- asciidoctor (~> 1.5.8)
- asciidoctor-plantuml (= 0.0.8)
+ asciidoctor (~> 2.0.10)
+ asciidoctor-include-ext (~> 0.3.1)
+ asciidoctor-plantuml (= 0.0.9)
attr_encrypted (~> 3.1.0)
awesome_print
babosa (~> 1.0.2)
base32 (~> 0.3.0)
- batch-loader (~> 1.2.2)
+ batch-loader (~> 1.4.0)
bcrypt_pbkdf (~> 1.0)
benchmark-ips (~> 2.3.0)
+ benchmark-memory (~> 0.1)
better_errors (~> 2.5.0)
binding_of_caller (~> 0.8.0)
bootsnap (~> 1.4)
@@ -974,8 +1071,8 @@ DEPENDENCIES
browser (~> 2.5)
bullet (~> 5.5.0)
bundler-audit (~> 0.5.0)
- capybara (~> 2.16.1)
- capybara-screenshot (~> 1.0.18)
+ capybara (~> 3.22.0)
+ capybara-screenshot (~> 1.0.22)
carrierwave (~> 1.3)
charlock_holmes (~> 0.7.5)
chronic (~> 0.10.2)
@@ -986,8 +1083,10 @@ DEPENDENCIES
creole (~> 0.5.0)
database_cleaner (~> 1.7.0)
deckar01-task_list (= 2.2.0)
+ default_value_for (~> 3.2.0)
+ derailed_benchmarks
device_detector
- devise (~> 4.4)
+ devise (~> 4.6)
devise-two-factor (~> 3.0.0)
diffy (~> 3.1.0)
discordrb-webhooks-blackst0ne (~> 3.3)
@@ -1006,7 +1105,7 @@ DEPENDENCIES
flipper-active_support_cache_store (~> 0.13.0)
flowdock (~> 0.7)
fog-aliyun (~> 0.3)
- fog-aws (~> 3.3)
+ fog-aws (~> 3.5)
fog-core (= 2.1.0)
fog-google (~> 1.8)
fog-local (~> 0.6)
@@ -1014,31 +1113,32 @@ DEPENDENCIES
fog-rackspace (~> 0.1.1)
font-awesome-rails (~> 4.7)
foreman (~> 0.84.0)
- fugit (~> 1.1)
+ fugit (~> 1.2.1)
fuubar (~> 2.2.0)
gemojione (~> 3.3)
gettext (~> 3.2.2)
gettext_i18n_rails (~> 1.8.0)
gettext_i18n_rails_js (~> 1.3)
- gitaly-proto (~> 1.19.0)
+ gitaly-proto (~> 1.37.0)
github-markup (~> 1.7.0)
- gitlab-default_value_for (~> 3.1.1)
+ gitlab-labkit (~> 0.3.0)
gitlab-markup (~> 1.7.0)
gitlab-sidekiq-fetcher (~> 0.4.0)
- gitlab-styles (~> 2.4)
+ gitlab-styles (~> 2.7)
gitlab_omniauth-ldap (~> 2.1.1)
gon (~> 6.2)
google-api-client (~> 0.23)
- google-protobuf (~> 3.6)
+ google-protobuf (~> 3.7.1)
gpgme (~> 2.0.18)
grape (~> 1.1.0)
grape-entity (~> 0.7.1)
- grape-path-helpers (~> 1.0)
+ grape-path-helpers (~> 1.1)
grape_logging (~> 1.7)
graphiql-rails (~> 1.4.10)
graphql (~> 1.8.0)
- grpc (~> 1.15.0)
- haml_lint (~> 0.28.0)
+ graphql-docs (~> 1.6.0)
+ grpc (~> 1.19.0)
+ haml_lint (~> 0.31.0)
hamlit (~> 2.8.8)
hangouts-chat (~> 0.0.5)
hashie-forbidden_attributes
@@ -1049,7 +1149,6 @@ DEPENDENCIES
httparty (~> 0.16.4)
icalendar
influxdb (~> 0.2)
- jaeger-client (~> 0.10.0)
jira-ruby (~> 1.4)
js_regex (~> 3.1)
json-schema (~> 2.8.0)
@@ -1057,12 +1156,14 @@ DEPENDENCIES
kaminari (~> 1.0)
knapsack (~> 1.17)
kubeclient (~> 4.2.2)
- letter_opener_web (~> 1.3.0)
+ letter_opener_web (~> 1.3.4)
license_finder (~> 5.4)
licensee (~> 8.9)
lograge (~> 0.5)
loofah (~> 2.2)
mail_room (~> 0.9.1)
+ mdl (~> 0.5.0)
+ memory_profiler (~> 0.9)
method_source (~> 0.8)
mimemagic (~> 0.3.2)
mini_magick
@@ -1070,8 +1171,8 @@ DEPENDENCIES
mysql2 (~> 0.4.10)
nakayoshi_fork (~> 0.0.4)
net-ldap
- net-ssh (~> 5.0)
- nokogiri (~> 1.10.1)
+ net-ssh (~> 5.2)
+ nokogiri (~> 1.10.3)
oauth2 (~> 1.4)
octokit (~> 4.9)
omniauth (~> 1.8)
@@ -1085,11 +1186,13 @@ DEPENDENCIES
omniauth-google-oauth2 (~> 0.6.0)
omniauth-kerberos (~> 0.3.0)
omniauth-oauth2-generic (~> 0.2.2)
+ omniauth-salesforce (~> 1.0.5)
omniauth-saml (~> 1.10)
omniauth-shibboleth (~> 1.3.0)
omniauth-twitter (~> 1.4)
+ omniauth-ultraauth (~> 0.0.2)
omniauth_crowd (~> 2.2.0)
- opentracing (~> 0.4.3)
+ omniauth_openid_connect (~> 0.3.1)
org-ruby (~> 0.9.12)
peek (~> 1.0.1)
peek-gc (~> 0.0.2)
@@ -1099,7 +1202,7 @@ DEPENDENCIES
peek-redis (~> 1.2.0)
pg (~> 1.1)
premailer-rails (~> 1.9.7)
- prometheus-client-mmap (~> 0.9.4)
+ prometheus-client-mmap (~> 0.9.8)
pry-byebug (~> 3.5.1)
pry-rails (~> 0.3.4)
puma (~> 3.12)
@@ -1109,9 +1212,9 @@ DEPENDENCIES
rack-cors (~> 1.0.0)
rack-oauth2 (~> 1.9.3)
rack-proxy (~> 0.6.0)
- rails (= 5.0.7.2)
+ rack-timeout
+ rails (= 5.2.3)
rails-controller-testing
- rails-deprecated_sanitizer (~> 1.0.3)
rails-i18n (~> 5.1)
rainbow (~> 3.0)
raindrops (~> 0.18)
@@ -1125,15 +1228,16 @@ DEPENDENCIES
redis-rails (~> 5.0.2)
request_store (~> 1.3)
responders (~> 2.0)
- rouge (~> 3.1)
+ rouge (~> 3.5)
rqrcode-rails3 (~> 0.1.7)
rspec-parameterized
- rspec-rails (~> 3.7.0)
- rspec-retry (~> 0.4.5)
+ rspec-rails (~> 3.8.0)
+ rspec-retry (~> 0.6.1)
rspec-set (~> 0.1.3)
rspec_junit_formatter
rspec_profiling (~> 0.0.5)
- rubocop (~> 0.54.0)
+ rubocop (~> 0.69.0)
+ rubocop-performance (~> 1.1.0)
rubocop-rspec (~> 1.22.1)
ruby-fogbugz (~> 0.2.1)
ruby-prof (~> 0.17.0)
@@ -1142,19 +1246,18 @@ DEPENDENCIES
rubyzip (~> 1.2.2)
rugged (~> 0.28)
sanitize (~> 4.6)
- sass (~> 3.5)
- sass-rails (~> 5.0.6)
+ sassc-rails (~> 2.1.0)
scss_lint (~> 0.56.0)
seed-fu (~> 2.3.7)
- selenium-webdriver (~> 3.12)
- sentry-raven (~> 2.7)
+ selenium-webdriver (~> 3.141)
+ sentry-raven (~> 2.9)
settingslogic (~> 2.0.9)
sham_rack (~> 1.3.6)
- shoulda-matchers (~> 3.1.2)
- sidekiq (~> 5.2.1)
+ shoulda-matchers (~> 4.0.1)
+ sidekiq (~> 5.2.7)
sidekiq-cron (~> 1.0)
simple_po_parser (~> 1.1.2)
- simplecov (~> 0.14.0)
+ simplecov (~> 0.16.1)
slack-notifier (~> 1.5.1)
spring (~> 2.0.0)
spring-commands-rspec (~> 1.0.4)
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv-ce/gemset.nix b/pkgs/applications/version-management/gitlab/rubyEnv-ce/gemset.nix
index ea96e4e4d93..8da7a3262c1 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv-ce/gemset.nix
+++ b/pkgs/applications/version-management/gitlab/rubyEnv-ce/gemset.nix
@@ -15,16 +15,27 @@
};
version = "4.1.2";
};
+ acme-client = {
+ dependencies = ["faraday"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1552fkgaj6qfylwsckgmhck34shjqnfrzymj1ji1kq3r310qqrnp";
+ type = "gem";
+ };
+ version = "2.0.2";
+ };
actioncable = {
dependencies = ["actionpack" "nio4r" "websocket-driver"];
groups = ["default" "development" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14qy7aygsr35lhcrw2y0c1jxmkfjlcz10p7qcf9jxzhcfmk5rr3y";
+ sha256 = "04wd9rf8sglrqc8jz49apqcxbi51gdj7l1apf5qr4i86iddk6pkm";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"];
@@ -32,10 +43,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "17whd0cjkb038g14pmkmakp89085j5950jdmfa5hmzqf1djnvc8r";
+ sha256 = "15laym06zcm2021qdhlyr6y9jn1marw436i89hcxqg14a8zvyvwa";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
@@ -43,21 +54,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1wyyj014n0gza5m2gpg9ab9av4yr6psvym047nrn1iz84v6fmkfb";
+ sha256 = "1s2iay17i2k0xx36cmnpbrmr5w6x70jk7fq1d8w70xcdw5chm0w1";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
actionview = {
- dependencies = ["activesupport" "builder" "erubis" "rails-dom-testing" "rails-html-sanitizer"];
+ dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0w96iqknr5jz7gzlcyixq1lvhbzbqijj4iq22pbfzscppbz1anvi";
+ sha256 = "1v49rgf8305grqf6gq7qa47qhamr369igyy0giycz60x86afyr4h";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
activejob = {
dependencies = ["activesupport" "globalid"];
@@ -65,10 +76,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1281zl53a5dpl33vxswrg2jxv7kpcyl7mg5mckn4hcksna60356l";
+ sha256 = "17vizibxbsli5yppgrvmw13wj7a9xy19s5nqxf1k23bbk2s5b87s";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
activemodel = {
dependencies = ["activesupport"];
@@ -76,10 +87,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xphpzx3ippi8f2h27v2g3n82i39xwx2gq9yamhby9s2a9hh8shl";
+ sha256 = "0mghh9di8011ara9h1r5a216yzk1vjm9r3p0gdvdi8j1zmkl6k6h";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
activerecord = {
dependencies = ["activemodel" "activesupport" "arel"];
@@ -87,10 +98,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1jy2amhn2xsd9hy546mw27agh8493nqlgbmzqhlppx7p3nwikw63";
+ sha256 = "0d6036f592803iyvp6bw98p3sg638mia5dbw19lvachx6jgzfvpw";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
+ };
+ activerecord-explain-analyze = {
+ dependencies = ["activerecord" "pg"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0yvz452ww0vn3n6197gx6zklwa591gc7f1m8accvjd9zw8gv3ssx";
+ type = "gem";
+ };
+ version = "0.1.0";
};
activerecord_sane_schema_dumper = {
dependencies = ["rails"];
@@ -101,16 +123,27 @@
};
version = "1.0";
};
+ activestorage = {
+ dependencies = ["actionpack" "activerecord" "marcel"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "04is6ipjqw1f337i8pm8w5bd99rpygqfd0fzzxkr7jd308ggmsjk";
+ type = "gem";
+ };
+ version = "5.2.3";
+ };
activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1bcbr490ryw6295p0ja7xigcw0ivkdys90x3qbsbs8c4n1zwcp7p";
+ sha256 = "110vp4frgkw3mpzlmshg2f2ig09cknls2w68ym1r1s39d01v0mi8";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
acts-as-taggable-on = {
dependencies = ["activerecord"];
@@ -157,13 +190,26 @@
};
version = "2.0.0";
};
- arel = {
+ apollo_upload_server = {
+ dependencies = ["graphql" "rails"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0l757dkkaxk5fq3368l79jpyzq9a9driricjamhiwhwvh0h7xcyx";
+ sha256 = "0riijpyicbkqsr46w4mfhh3pq2yrmakkz8mmgbrfjhzbyzac25na";
type = "gem";
};
- version = "7.1.4";
+ version = "2.0.0.beta.3";
+ };
+ arel = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1jk7wlmkr61f6g36w9s2sn46nmdg6wn2jfssrhbhirv5x9n95nk0";
+ type = "gem";
+ };
+ version = "9.0.0";
};
asana = {
dependencies = ["faraday" "faraday_middleware" "faraday_middleware-multi_json" "oauth2"];
@@ -175,21 +221,36 @@
version = "0.8.1";
};
asciidoctor = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qld3a1pbcjvs8lbxp95iz83bfmg5scmnf8q3rklinmdmhzakslx";
+ sha256 = "1b2ajs3sabl0s27r7lhwkacw0yn0zfk4jpmidg9l8lzp2qlgjgbz";
type = "gem";
};
- version = "1.5.8";
+ version = "2.0.10";
+ };
+ asciidoctor-include-ext = {
+ dependencies = ["asciidoctor"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1alaqfh31hd98yhqq8fsc50zzqw04p3d83pc35gdx3x9p3j1ds7d";
+ type = "gem";
+ };
+ version = "0.3.1";
};
asciidoctor-plantuml = {
dependencies = ["asciidoctor"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x092ldl8p7svczg4lnrnp0h918acnflh7jz5qwv40ksh1fflqna";
+ sha256 = "0lzxj16w7s3w0wnlpg8lfs9v2xxk3x3c1skynqm1sms7rjhnhlnb";
type = "gem";
};
- version = "0.0.8";
+ version = "0.0.9";
};
ast = {
source = {
@@ -260,12 +321,14 @@
version = "0.3.2";
};
batch-loader = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0pwr2hk9x1qx9i2xpkpjwkdjsmm4kamz5f25wizsaw37zb64apjc";
+ sha256 = "09jaxxddqpgq8ynwd2gpjq5rkhw00zdjnqisk9qbpjgxzk6f8gwi";
type = "gem";
};
- version = "1.2.2";
+ version = "1.4.0";
};
bcrypt = {
source = {
@@ -291,6 +354,17 @@
};
version = "2.3.0";
};
+ benchmark-memory = {
+ dependencies = ["memory_profiler"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11qw8k6rl79ri00njrf1x9v6vzwgv12rkcvgzvg0sk8pfrkzwyxa";
+ type = "gem";
+ };
+ version = "0.1.2";
+ };
better_errors = {
dependencies = ["coderay" "erubi" "rack"];
source = {
@@ -309,12 +383,14 @@
version = "2.4.3";
};
binding_ninja = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "19dk26qyx433ffa6y48511apc2iw71zw4jnlqxhy0wix9dlxr2ri";
+ sha256 = "17fa3sv6p2fw9g8fxpwx1kjhhs28aw41akkba0hlgvk60055b1aa";
type = "gem";
};
- version = "0.2.2";
+ version = "0.2.3";
};
binding_of_caller = {
dependencies = ["debug_inspector"];
@@ -396,13 +472,15 @@
version = "9.1.0";
};
capybara = {
- dependencies = ["addressable" "mini_mime" "nokogiri" "rack" "rack-test" "xpath"];
+ dependencies = ["addressable" "mini_mime" "nokogiri" "rack" "rack-test" "regexp_parser" "xpath"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0hkl6p07gf29952biv07fy88vjz46ng2h37wwx5ks0mk9kn8vvvf";
+ sha256 = "1y7ncfji4s3h3wdr2hwsrd32k0va92a6lyx2x8w6a3vkbc94kpch";
type = "gem";
};
- version = "2.16.1";
+ version = "3.22.0";
};
capybara-screenshot = {
dependencies = ["capybara" "launchy"];
@@ -524,21 +602,25 @@
version = "0.1.5";
};
concurrent-ruby = {
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18q9skp5pfq4jwbxzmw8q2rn4cpw6mf4561i2hsjcl1nxdag2jvb";
+ sha256 = "1x07r23s7836cpp5z9yrlbpljcxpax14yw4fy4bnp6crhr6x24an";
type = "gem";
};
- version = "1.1.3";
+ version = "1.1.5";
};
concurrent-ruby-ext = {
dependencies = ["concurrent-ruby"];
+ groups = ["default" "mysql" "postgres"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0h7k4wnvbxv7vzb53kaqxbbyhp3m98g2rgymr6n1l9v0jlzcr1i8";
+ sha256 = "03ypsv2k581yv0b3f0hzvb3mq6mqj8jlbi32jmkj3k175vbc8hvz";
type = "gem";
};
- version = "1.1.3";
+ version = "1.1.5";
};
connection_pool = {
source = {
@@ -639,6 +721,28 @@
};
version = "0.1.0";
};
+ default_value_for = {
+ dependencies = ["activerecord"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xj9d1y2fk3kxfm1kyiwasjpw6r1w7c1xjx26sm3c33xhmz57fla";
+ type = "gem";
+ };
+ version = "3.2.0";
+ };
+ derailed_benchmarks = {
+ dependencies = ["benchmark-ips" "get_process_mem" "heapy" "memory_profiler" "rack" "rake" "thor"];
+ groups = ["development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1c9djg1r2w461h97zmmdsdgnsrxqm4qfyp7gry9qxbav9skrplb8";
+ type = "gem";
+ };
+ version = "1.3.5";
+ };
descendants_tracker = {
dependencies = ["thread_safe"];
source = {
@@ -658,12 +762,14 @@
};
devise = {
dependencies = ["bcrypt" "orm_adapter" "railties" "responders" "warden"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xmxfhym0yxwb0zwmmzhdiykbpyqqm3id02g7rf3vcgbc1lqvdnj";
+ sha256 = "04b2p61mqfb6ln8s2lhmvnkd45wjjinykbn9svmhs54kacrrjkcf";
type = "gem";
};
- version = "4.4.3";
+ version = "4.6.2";
};
devise-two-factor = {
dependencies = ["activesupport" "attr_encrypted" "devise" "railties" "rotp"];
@@ -700,12 +806,14 @@
version = "3.3.0";
};
docile = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx";
+ sha256 = "04d2izkna3ahfn6fwq4xrcafa715d3bbqczxm16fq40fqy87xn17";
type = "gem";
};
- version = "1.1.5";
+ version = "1.3.1";
};
domain_name = {
dependencies = ["unf"];
@@ -776,20 +884,14 @@
version = "0.0.11";
};
erubi = {
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0bws86na9k565raiz0kk61yy5pxxp0fmwyzpibdwjkq0xzx8q6q1";
+ sha256 = "1kagnf6ziahj0d781s6ryy6fwqwa3ad4xbzzj84p9m4nv4c2jir1";
type = "gem";
};
- version = "1.7.1";
- };
- erubis = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3";
- type = "gem";
- };
- version = "2.7.0";
+ version = "1.8.0";
};
escape_utils = {
source = {
@@ -801,12 +903,14 @@
};
et-orbi = {
dependencies = ["tzinfo"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "148z57yshd8rls5b9mkqp9dymba8r4373vlrsk3090lblw5v1ifp";
+ sha256 = "1swgjb3h2hs5xflb68837l0vd32masbz9c66b1963mxlnnxf5gsg";
type = "gem";
};
- version = "1.1.7";
+ version = "1.2.1";
};
eventmachine = {
source = {
@@ -840,6 +944,17 @@
};
version = "0.9.0";
};
+ extended-markdown-filter = {
+ dependencies = ["html-pipeline"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17mi5qayplfaa6p3mfwa36il84ixr0bimqvl0q73lw5i81blp126";
+ type = "gem";
+ };
+ version = "0.6.0";
+ };
factory_bot = {
dependencies = ["activesupport"];
source = {
@@ -963,12 +1078,14 @@
};
fog-aws = {
dependencies = ["fog-core" "fog-json" "fog-xml" "ipaddress"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zprxg0spvkkri1jf40zg3rfr5h2gq6009d7l36lifpvhjn658cs";
+ sha256 = "086kyvdhf1k8nk7f4gmybjc3k0m88f9pw99frddcy1w96pj5kyg4";
type = "gem";
};
- version = "3.3.0";
+ version = "3.5.2";
};
fog-core = {
dependencies = ["builder" "excon" "formatador" "mime-types"];
@@ -1035,12 +1152,14 @@
};
font-awesome-rails = {
dependencies = ["railties"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qc07vj7qyllrj7lr7wl89l5ir0gj104rc7sds2jynzmrqsamnlw";
+ sha256 = "11mf7bk2737pyxjwba3a9lpgcxzbp0vgq01n2dn30774zysc90hj";
type = "gem";
};
- version = "4.7.0.1";
+ version = "4.7.0.4";
};
foreman = {
dependencies = ["thor"];
@@ -1065,10 +1184,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1m9fijppafxrb74v4jgbgni82bykyzpfnrlksfa7bw6sbm7ks4bd";
+ sha256 = "1x5h31hl75x0p5s36hinywg18ijlxjhnlb5p02aqcjjkx777rcav";
type = "gem";
};
- version = "1.1.9";
+ version = "1.2.1";
};
fuubar = {
dependencies = ["rspec-core" "ruby-progressbar"];
@@ -1079,6 +1198,16 @@
};
version = "2.2.0";
};
+ gemoji = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0vgklpmhdz98xayln5hhqv4ffdyrglzwdixkn5gsk9rj94pkymc0";
+ type = "gem";
+ };
+ version = "3.0.1";
+ };
gemojione = {
dependencies = ["json"];
source = {
@@ -1089,12 +1218,14 @@
version = "3.3.0";
};
get_process_mem = {
+ groups = ["default" "development" "puma" "test" "unicorn"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "025f7v6bpbgsa2nr0hzv2riggj8qmzbwcyxfgjidpmwh5grh7j29";
+ sha256 = "1bvfjdign16r0zwm2rlfrq0sk1licvmlgbnlpnyckniv5r7i080g";
type = "gem";
};
- version = "0.2.0";
+ version = "0.2.3";
};
gettext = {
dependencies = ["locale" "text"];
@@ -1129,10 +1260,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "173769xdvqqmbiz3qlybdlg023vz2kxxmzwxql1wqczf0j57vmv1";
+ sha256 = "1lx2cids0r175agdz3wa25ivi17vxx2kryb2v29gdsrpg3pyyq7j";
type = "gem";
};
- version = "1.19.0";
+ version = "1.37.0";
};
github-markup = {
source = {
@@ -1142,14 +1273,16 @@
};
version = "1.7.0";
};
- gitlab-default_value_for = {
- dependencies = ["activerecord"];
+ gitlab-labkit = {
+ dependencies = ["actionpack" "activesupport" "grpc" "jaeger-client" "opentracing"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qqjf7nxmwxnkdlrgbnby8wjckaj2s5yna96avgb7fwm0h90f1sn";
+ sha256 = "0dvapmdc9axm9dq2gg89qrqb318rkrsabpyybrqvcx1ipbi5k3a1";
type = "gem";
};
- version = "3.1.1";
+ version = "0.3.0";
};
gitlab-markup = {
groups = ["default"];
@@ -1173,13 +1306,15 @@
version = "0.4.0";
};
gitlab-styles = {
- dependencies = ["rubocop" "rubocop-gitlab-security" "rubocop-rspec"];
+ dependencies = ["rubocop" "rubocop-gitlab-security" "rubocop-performance" "rubocop-rspec"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nkciak0qq17pqc667nkdjx0vp8kk9w27d6jmimvi6cjzb38zmqa";
+ sha256 = "1vxlvbq4jpq0cfjqippz9d3j73sq9qg3pna5pb0l8jr0rc0xs89y";
type = "gem";
};
- version = "2.5.1";
+ version = "2.7.0";
};
gitlab_omniauth-ldap = {
dependencies = ["net-ldap" "omniauth" "pyu-ruby-sasl" "rubyntlm"];
@@ -1220,21 +1355,25 @@
version = "0.23.4";
};
google-protobuf = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "134d3ini9ymdwxpz445m28ss9x0m6vcpijcdkzvgk4n538wdmppf";
+ sha256 = "04988m3hmllg4sl4syjb35x0wzsg7rj1nmvhx3d9ihml22w76gb2";
type = "gem";
};
- version = "3.6.1";
+ version = "3.7.1";
};
googleapis-common-protos-types = {
dependencies = ["google-protobuf"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "05pimdvigqv1ip4r4qg4i3irpzzfbx5h7hjc82cpvap337gdhsqj";
+ sha256 = "0hyr94cafiqj0k8q19hnl658pmbz2b404akikzfv4hdb1j1bwsg1";
type = "gem";
};
- version = "1.0.3";
+ version = "1.0.4";
};
googleauth = {
dependencies = ["faraday" "jwt" "memoist" "multi_json" "os" "signet"];
@@ -1274,12 +1413,14 @@
};
grape-path-helpers = {
dependencies = ["activesupport" "grape" "rake"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "13h5575xfc144wsr48sp3qngpwvh4ikz4r3m55j8jmdr6sa16rbw";
+ sha256 = "16l6lrv4h4ls0lrpj35pc00431q2rx6r9n47337qyvprxs3v0a01";
type = "gem";
};
- version = "1.0.6";
+ version = "1.1.0";
};
grape_logging = {
dependencies = ["grape"];
@@ -1307,14 +1448,27 @@
};
version = "1.8.1";
};
- grpc = {
- dependencies = ["google-protobuf" "googleapis-common-protos-types"];
+ graphql-docs = {
+ dependencies = ["commonmarker" "escape_utils" "extended-markdown-filter" "gemoji" "graphql" "html-pipeline" "sass"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0m2wspnm1cfkmhlbp7yqv5bb4vsfh246cm0aavxra67aw4l8plhb";
+ sha256 = "12wzsikbn54b2hcv100hz7isq5gdjm5w5b8xya64ra5sw6sabq8d";
type = "gem";
};
- version = "1.15.0";
+ version = "1.6.0";
+ };
+ grpc = {
+ dependencies = ["google-protobuf" "googleapis-common-protos-types"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1rdywzism5vxz8pnml6xjb9f19diclyy74014z69q01jzqwi1wgs";
+ type = "gem";
+ };
+ version = "1.19.0";
};
haml = {
dependencies = ["temple" "tilt"];
@@ -1327,12 +1481,14 @@
};
haml_lint = {
dependencies = ["haml" "rainbow" "rake" "rubocop" "sysexits"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "125aj0j84nx5gqm42hfx5d8486higlra423ahgfpsdjwbp399rwv";
+ sha256 = "1k6pvb2lc6d72nq01jqmi3mxpp80m9mmbc265kgaxmcnjxqhacb1";
type = "gem";
};
- version = "0.28.0";
+ version = "0.31.0";
};
hamlit = {
dependencies = ["temple" "thor" "tilt"];
@@ -1385,6 +1541,16 @@
};
version = "2.6.0";
};
+ heapy = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r9f38fpgjgaxskkwvsliijj6vfmgsff9pnranvvvzkdl67hk1hw";
+ type = "gem";
+ };
+ version = "0.1.4";
+ };
hipchat = {
dependencies = ["httparty" "mimemagic"];
groups = ["default"];
@@ -1528,6 +1694,16 @@
};
version = "0.10.0";
};
+ jaro_winkler = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1zz27z88qznix4r65gd9h56gl177snlfpgv10b0s69vi8qpl909l";
+ type = "gem";
+ };
+ version = "1.5.2";
+ };
jira-ruby = {
dependencies = ["activesupport" "multipart-post" "oauth"];
source = {
@@ -1632,6 +1808,16 @@
};
version = "1.17.0";
};
+ kramdown = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq";
+ type = "gem";
+ };
+ version = "1.17.0";
+ };
kubeclient = {
dependencies = ["http" "recursive-open-struct" "rest-client"];
source = {
@@ -1652,21 +1838,25 @@
};
letter_opener = {
dependencies = ["launchy"];
+ groups = ["default" "development"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1pcrdbxvp2x5six8fqn8gf09bn9rd3jga76ds205yph5m8fsda21";
+ sha256 = "09a7kgsmr10a0hrc9bwxglgqvppjxij9w8bxx91mnvh0ivaw0nq9";
type = "gem";
};
- version = "1.4.1";
+ version = "1.7.0";
};
letter_opener_web = {
dependencies = ["actionmailer" "letter_opener" "railties"];
+ groups = ["development"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "050x5cwqbxj2cydd2pzy9vfhmpgn1w6lfbwjaax1m1vpkn3xg9bv";
+ sha256 = "17qhwrkncrrp1bi2f7fbkm5lpnkdsiwy8jcvgr2wa97ck8y4x2bb";
type = "gem";
};
- version = "1.3.0";
+ version = "1.3.4";
};
license_finder = {
dependencies = ["rubyzip" "thor" "toml" "with_env" "xml-simple"];
@@ -1729,6 +1919,28 @@
};
version = "0.9.1";
};
+ marcel = {
+ dependencies = ["mimemagic"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1nxbjmcyg8vlw6zwagf17l9y2mwkagmmkg95xybpn4bmf3rfnksx";
+ type = "gem";
+ };
+ version = "0.3.3";
+ };
+ mdl = {
+ dependencies = ["kramdown" "mixlib-cli" "mixlib-config"];
+ groups = ["development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "047hp8z1ma630wp38bm1giklkf385rp6wly8aidn825q831w2g4i";
+ type = "gem";
+ };
+ version = "0.5.0";
+ };
memoist = {
source = {
remotes = ["https://rubygems.org"];
@@ -1746,6 +1958,16 @@
};
version = "0.4.2";
};
+ memory_profiler = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xki7jrbzylsmk1brjibmhifb0x70skr55pdq4rvxcyrlnrrvyxz";
+ type = "gem";
+ };
+ version = "0.9.13";
+ };
method_source = {
source = {
remotes = ["https://rubygems.org"];
@@ -1764,12 +1986,14 @@
version = "3.2.2";
};
mime-types-data = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07wvp0aw2gjm4njibb70as6rh5hi1zzri5vky1q6jx95h8l56idc";
+ sha256 = "1m00pg19cm47n1qlcxgl91ajh2yq0fszvn1vy8fy0s1jkrp9fw4a";
type = "gem";
};
- version = "3.2018.0812";
+ version = "3.2019.0331";
};
mimemagic = {
source = {
@@ -1811,13 +2035,36 @@
};
version = "5.11.3";
};
- msgpack = {
+ mixlib-cli = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0031gd2mjyba6jb7m97sqa149zjkr0vzn2s2gpb3m9nb67gqkm13";
+ sha256 = "0647msh7kp7lzyf6m72g6snpirvhimjm22qb8xgv9pdhbcrmcccp";
type = "gem";
};
- version = "1.2.6";
+ version = "1.7.0";
+ };
+ mixlib-config = {
+ dependencies = ["tomlrb"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1gm6yj9cbbgsl9x4xqxga0vz5w0ksq2jnq1wj8hvgm5c4wfcrswb";
+ type = "gem";
+ };
+ version = "2.2.18";
+ };
+ msgpack = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1w38hilm3dk42dwk8ygiq49bl4in7y80hfqr63hk54mj4gmzi6ch";
+ type = "gem";
+ };
+ version = "1.2.10";
};
multi_json = {
source = {
@@ -1885,12 +2132,14 @@
version = "0.16.0";
};
net-ssh = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0hj2i8rk5wb6235r5n19in1hkrp1fbz2bf40xmagavb5ahv7205w";
+ sha256 = "101wd2px9lady54aqmkibvy4j62zk32w0rjz4vnigyg974fsga40";
type = "gem";
};
- version = "5.0.1";
+ version = "5.2.0";
};
netrc = {
source = {
@@ -1910,12 +2159,14 @@
};
nokogiri = {
dependencies = ["mini_portile2"];
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "09zll7c6j7xr6wyvh5mm5ncj6pkryp70ybcsxdbw1nyphx5dh184";
+ sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
type = "gem";
};
- version = "1.10.1";
+ version = "1.10.3";
};
nokogumbo = {
dependencies = ["nokogiri"];
@@ -2086,6 +2337,17 @@
};
version = "0.2.2";
};
+ omniauth-salesforce = {
+ dependencies = ["omniauth" "omniauth-oauth2"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0sr7xmffx6dbsrvnh6spka5ljyzf69iac754xw5r1736py41qhpj";
+ type = "gem";
+ };
+ version = "1.0.5";
+ };
omniauth-saml = {
dependencies = ["omniauth" "ruby-saml"];
source = {
@@ -2113,6 +2375,17 @@
};
version = "1.4.0";
};
+ omniauth-ultraauth = {
+ dependencies = ["omniauth_openid_connect"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1z8gz8ql4vb8y5n4lr67afnjmp23bpqi18dmda5psigvd2jddyn8";
+ type = "gem";
+ };
+ version = "0.0.2";
+ };
omniauth_crowd = {
dependencies = ["activesupport" "nokogiri" "omniauth"];
source = {
@@ -2122,13 +2395,37 @@
};
version = "2.2.3";
};
- opentracing = {
+ omniauth_openid_connect = {
+ dependencies = ["addressable" "omniauth" "openid_connect"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xgwc46bd038zzqyasn5grqgk74v8vxmpdwivw2sp0fdldj1d9rf";
+ sha256 = "0ja7cjlm4z0k0pwwy64djl58pay3lzkw7im565fybs4a8q4wmacb";
type = "gem";
};
- version = "0.4.3";
+ version = "0.3.1";
+ };
+ openid_connect = {
+ dependencies = ["activemodel" "attr_required" "json-jwt" "rack-oauth2" "swd" "tzinfo" "validate_email" "validate_url" "webfinger"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r13bv18nyvw0g1nw3fzffvv2si99zj24w0k5zgawf4q6nn5f7vd";
+ type = "gem";
+ };
+ version = "1.1.6";
+ };
+ opentracing = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11lj1d8vq0hkb5hjz8q4lm82cddrggpbb33dhqfn7rxhwsmxgdfy";
+ type = "gem";
+ };
+ version = "0.5.0";
};
optimist = {
source = {
@@ -2164,21 +2461,25 @@
version = "1.0.0";
};
parallel = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "01hj8v1qnyl5ndrs33g8ld8ibk0rbcqdpkpznr04gkbxd11pqn67";
+ sha256 = "1x1gzgjrdlkm1aw0hfpyphsxcx90qgs3y4gmp9km3dvf4hc4qm8r";
type = "gem";
};
- version = "1.12.1";
+ version = "1.17.0";
};
parser = {
dependencies = ["ast"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zjk0w1kjj3xk8ymy1430aa4gg0k8ckphfj88br6il4pm83f0n1f";
+ sha256 = "1pnks149x0fzgqiw53qlmvcd8bi746cxdw03sjljby5s97p1fskn";
type = "gem";
};
- version = "2.5.3.0";
+ version = "2.6.3.0";
};
parslet = {
source = {
@@ -2261,14 +2562,6 @@
};
version = "1.0.1";
};
- powerpack = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1fnn3fli5wkzyjl4ryh0k90316shqjfnhydmc7f8lqpi0q21va43";
- type = "gem";
- };
- version = "0.1.1";
- };
premailer = {
dependencies = ["addressable" "css_parser" "htmlentities"];
source = {
@@ -2305,12 +2598,14 @@
version = "0.0.3";
};
prometheus-client-mmap = {
+ groups = ["metrics"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14ww8c2qy43jw3fzmq54hsljmqmlx9a7zg9sv6ddw48qy118ls10";
+ sha256 = "01f1zkpi7qsmgmk17fpq6ck7jn64sa9afsq20vc5k9f6mpyqkncd";
type = "gem";
};
- version = "0.9.4";
+ version = "0.9.8";
};
pry = {
dependencies = ["coderay" "method_source"];
@@ -2340,12 +2635,14 @@
version = "0.3.6";
};
public_suffix = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
+ sha256 = "1c7c5xxkx91hwj4572hbnyvxmydb90q69wlpr2l0dxrmwx2p365l";
type = "gem";
};
- version = "3.0.3";
+ version = "3.1.0";
};
puma = {
source = {
@@ -2447,23 +2744,35 @@
};
rack-test = {
dependencies = ["rack"];
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0h6x5jq24makgv2fq5qqgjlrk74dxfy62jif9blk43llw8ib2q7z";
+ sha256 = "0rh8h376mx71ci5yklnpqqn118z3bl67nnv5k801qaqn1zs62h8m";
type = "gem";
};
- version = "0.6.3";
+ version = "1.1.0";
+ };
+ rack-timeout = {
+ groups = ["puma"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "15xph8h6v0lvq9pxm3bc9i9pnk2k68rgdr1mp0dw4l7v1xvhs78a";
+ type = "gem";
+ };
+ version = "0.5.1";
};
rails = {
- dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activesupport" "railties" "sprockets-rails"];
+ dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activestorage" "activesupport" "railties" "sprockets-rails"];
groups = ["default" "development" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0amqbd8kl6vmilfhlkf2w0l33x688jssjbra7s717kjqzb4fmqiw";
+ sha256 = "1p7cszi3n9ksxchxnccmz61pd1i3rjg4813dsdinsm8xm5k1pdgr";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
rails-controller-testing = {
dependencies = ["actionpack" "actionview" "activesupport"];
@@ -2474,15 +2783,6 @@
};
version = "1.0.2";
};
- rails-deprecated_sanitizer = {
- dependencies = ["activesupport"];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0qxymchzdxww8bjsxj05kbf86hsmrjx40r41ksj0xsixr2gmhbbj";
- type = "gem";
- };
- version = "1.0.3";
- };
rails-dom-testing = {
dependencies = ["activesupport" "nokogiri"];
source = {
@@ -2516,10 +2816,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "064w0n33l0wik5i00b4ry7iqv1nb3xhdpjvm55ycx2abpqnlrhjd";
+ sha256 = "1gn9fwb5wm08fbj7zpilqgblfl315l5b7pg4jsvxlizvrzg8h8q4";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
rainbow = {
source = {
@@ -2686,12 +2986,14 @@
version = "1.6.0";
};
regexp_parser = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18g5jyg3blsdrz3mc8d87bms6qqn6gcdh1nvdhvgbjdpk9pw21dq";
+ sha256 = "0dsgjb3kszk6a82s6gl0h6a8vncjrxmcbk0r4mcxcdcad2b7vb2d";
type = "gem";
};
- version = "1.3.0";
+ version = "1.5.1";
};
regexp_property_values = {
source = {
@@ -2761,12 +3063,14 @@
version = "2.1.2";
};
rouge = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1digsi2s8wyzx8vsqcxasw205lg6s7izx8jypl8rrpjwshmv83ql";
+ sha256 = "0yfhazlhjc4abgzhkgq8zqmdphvkh52211widkl4zhsbhqh8wg2q";
type = "gem";
};
- version = "3.3.0";
+ version = "3.5.1";
};
rqrcode = {
dependencies = ["chunky_png"];
@@ -2788,66 +3092,80 @@
};
rspec = {
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0134g96wzxjlig2gxzd240gm2dxfw8izcyi2h6hjmr40syzcyx01";
+ sha256 = "15ppasvb9qrscwlyjz67ppw1lnxiqnkzx5vkx1bd8x5n3dhikxc3";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.0";
};
rspec-core = {
dependencies = ["rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0zvjbymx3avxm3lf8v4gka3a862vnaxldmwvp6767bpy48nhnvjj";
+ sha256 = "0spjgmd3yx6q28q950r32bi0cs8h2si53zn6rq8s7n1i4zp4zwbf";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.2";
};
rspec-expectations = {
dependencies = ["diff-lcs" "rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1fw06wm8jdj8k7wrb8xmzj0fr1wjyb0ya13x31hidnyblm41hmvy";
+ sha256 = "0x3iddjjaramqb0yb51c79p2qajgi9wb5b59bzv25czddigyk49r";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.4";
};
rspec-mocks = {
dependencies = ["diff-lcs" "rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0b02ya3qhqgmcywqv4570dlhav70r656f7dmvwg89whpkq1z1xr3";
+ sha256 = "12zplnsv4p6wvvxsk8xn6nm87a5qadxlkk497zlxfczd0jfawrni";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.1";
};
rspec-parameterized = {
dependencies = ["binding_ninja" "parser" "proc_to_ast" "rspec" "unparser"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "159yw3mb4dab5kr18a97miyyi7dqmyrfjp3aw6r6j9i4xkc4xk3a";
+ sha256 = "1c0892jbaznnldk1wi24qxm70g4zhw2idqx516rhgdzgd7yh5j31";
type = "gem";
};
- version = "0.4.1";
+ version = "0.4.2";
};
rspec-rails = {
dependencies = ["actionpack" "activesupport" "railties" "rspec-core" "rspec-expectations" "rspec-mocks" "rspec-support"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0cdcnbv5dppwy3b4jdp5a0wd9m07a8wlqwb9yazn8i7k1k2mwgvx";
+ sha256 = "1pf6n9l4sw1arlax1bdbm1znsvl8cgna2n6k6yk1bi8vz2n73ls1";
type = "gem";
};
- version = "3.7.2";
+ version = "3.8.2";
};
rspec-retry = {
dependencies = ["rspec-core"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0izvxab7jvk25kaprk0i72asjyh1ip3cm70bgxlm8lpid35qjar6";
+ sha256 = "1nnqcg2yd3nn187zbvh4cgx8xsvdk56lz1985qy7232v7i8yidw6";
type = "gem";
};
- version = "0.4.5";
+ version = "0.6.1";
};
rspec-set = {
source = {
@@ -2858,12 +3176,14 @@
version = "0.1.3";
};
rspec-support = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1nl30xb6jmcl0awhqp6jycl01wdssblifwy921phfml70rd9flj1";
+ sha256 = "139mbhfdr10flm2ffryvxkyqgqs1gjdclc1xhyh7i7njfqayxk7g";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.2";
};
rspec_junit_formatter = {
dependencies = ["rspec-core"];
@@ -2884,13 +3204,15 @@
version = "0.0.5";
};
rubocop = {
- dependencies = ["parallel" "parser" "powerpack" "rainbow" "ruby-progressbar" "unicode-display_width"];
+ dependencies = ["jaro_winkler" "parallel" "parser" "rainbow" "ruby-progressbar" "unicode-display_width"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "106y99lq0fg62k3vk1w5wwb4vq16pnh4l61skc82xck627z0h8is";
+ sha256 = "1cmw8ajaiidvrzjcsljh47f4l3lmcazqrzljgalj3szkr8ibkk5i";
type = "gem";
};
- version = "0.54.0";
+ version = "0.69.0";
};
rubocop-gitlab-security = {
dependencies = ["rubocop"];
@@ -2901,6 +3223,17 @@
};
version = "0.1.1";
};
+ rubocop-performance = {
+ dependencies = ["rubocop"];
+ groups = ["development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0azzgj62w24wa4hza1qn7i9b9crxdh907kydlzcvhismx41h3lzk";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
rubocop-rspec = {
dependencies = ["rubocop"];
source = {
@@ -2937,12 +3270,14 @@
version = "0.17.0";
};
ruby-progressbar = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1igh1xivf5h5g3y5m9b4i4j2mhz2r43kngh4ww3q1r80ch21nbfk";
+ sha256 = "1cv2ym3rl09svw8940ny67bav7b2db4ms39i4raaqzkf59jmhglk";
type = "gem";
};
- version = "1.9.0";
+ version = "1.10.0";
};
ruby-saml = {
dependencies = ["nokogiri"];
@@ -2955,12 +3290,14 @@
};
ruby_parser = {
dependencies = ["sexp_processor"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0mysmdyxhvyn6dhshfxyw762f9asr3kxw45idvw1bh6np31kk4j1";
+ sha256 = "0s3hsccsmrirc2hy3r51kl8g9cfmcn7jxaa0asadg1kn78h1sgr7";
type = "gem";
};
- version = "3.11.0";
+ version = "3.13.1";
};
rubyntlm = {
source = {
@@ -3031,14 +3368,27 @@
};
version = "4.0.0";
};
- sass-rails = {
- dependencies = ["railties" "sass" "sprockets" "sprockets-rails" "tilt"];
+ sassc = {
+ dependencies = ["ffi" "rake"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0iji20hb8crncz14piss1b29bfb6l89sz3ai5fny3iw39vnxkdcb";
+ sha256 = "1sr4825rlwsrl7xrsm0sgalcpf5zgp4i56dbi3qxfa9lhs8r6zh4";
type = "gem";
};
- version = "5.0.6";
+ version = "2.0.1";
+ };
+ sassc-rails = {
+ dependencies = ["railties" "sassc" "sprockets" "sprockets-rails" "tilt"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "18mgdjxdzpbw92zrllynxw7jn7yihi85j3dg7i4f6c39w1scqkbn";
+ type = "gem";
+ };
+ version = "2.1.0";
};
sawyer = {
dependencies = ["addressable" "faraday"];
@@ -3069,12 +3419,14 @@
};
selenium-webdriver = {
dependencies = ["childprocess" "rubyzip"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07bl3wjkf254r3ljfl4qdazz5aw60s6nqjwrbbgq754j9b7226kz";
+ sha256 = "114hv2ajmh6d186v2w887yqakqcxyxq367l0iakrrpvwviknrhfs";
type = "gem";
};
- version = "3.12.0";
+ version = "3.141.0";
};
sentry-raven = {
dependencies = ["faraday"];
@@ -3096,12 +3448,14 @@
version = "2.0.9";
};
sexp_processor = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1vnmphfrd86694x5k7rxddbhbvv5rqbglsc34kfryy4jqhbzz42c";
+ sha256 = "0w24rgmyjf7yz0xr2qhbr8z48h4m6gvbggr8nc1pldwn9rbi04b7";
type = "gem";
};
- version = "4.11.0";
+ version = "4.12.0";
};
sham_rack = {
dependencies = ["rack"];
@@ -3114,21 +3468,25 @@
};
shoulda-matchers = {
dependencies = ["activesupport"];
+ groups = ["test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zvv94pqk5b5my3w1shdz7h34xf2ldhg5k4qfdpbwi2iy0j9zw2a";
+ sha256 = "1s6a2i39lsqq8rrkk2pddqcb10bsihxy3v5gpnc2gk8xakj1brdq";
type = "gem";
};
- version = "3.1.2";
+ version = "4.0.1";
};
sidekiq = {
dependencies = ["connection_pool" "rack" "rack-protection" "redis"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1caiq5f5z5vzfria554n04pcbwc8zixf1fpavaksly9zywr3pc29";
+ sha256 = "131zv8i341bkacxx7n1id2cmblkbs379farnibqg8c7bycd1iajq";
type = "gem";
};
- version = "5.2.5";
+ version = "5.2.7";
};
sidekiq-cron = {
dependencies = ["fugit" "sidekiq"];
@@ -3158,20 +3516,24 @@
};
simplecov = {
dependencies = ["docile" "json" "simplecov-html"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1r9fnsnsqj432cmrpafryn8nif3x0qg9mdnvrcf0wr01prkdlnww";
+ sha256 = "1sfyfgf7zrp2n42v7rswkqgk3bbwk1bnsphm24y7laxv3f8z0947";
type = "gem";
};
- version = "0.14.1";
+ version = "0.16.1";
};
simplecov-html = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1qni8g0xxglkx25w54qcfbi4wjkpvmb28cb7rj5zk3iqynjcdrqf";
+ sha256 = "1lihraa4rgxk8wbfl77fy9sf0ypk31iivly8vl3w04srd7i0clzn";
type = "gem";
};
- version = "0.10.0";
+ version = "0.10.2";
};
slack-notifier = {
source = {
@@ -3267,6 +3629,17 @@
};
version = "0.5.1";
};
+ swd = {
+ dependencies = ["activesupport" "attr_required" "httpclient"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1s2vjb6f13za7p1iycl2p73d3p202xa6xny9fjrp8ynwsqix7lyd";
+ type = "gem";
+ };
+ version = "1.1.2";
+ };
sys-filesystem = {
dependencies = ["ffi"];
source = {
@@ -3383,6 +3756,16 @@
};
version = "1.0.0";
};
+ tomlrb = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0g28ssfal6vry3cmhy509ba3vi5d5aggz1gnffnvvmc8ml8vkpiv";
+ type = "gem";
+ };
+ version = "1.2.8";
+ };
truncato = {
dependencies = ["htmlentities" "nokogiri"];
source = {
@@ -3444,12 +3827,14 @@
version = "0.0.7.5";
};
unicode-display_width = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x31fgv1acywbb50prp7y4fr677c2d9gsl6wxmfcrlxbwz7nxn5n";
+ sha256 = "08kfiniak1pvg3gn5k6snpigzvhvhyg7slmm0s2qx5zkj62c1z2w";
type = "gem";
};
- version = "1.3.2";
+ version = "1.6.0";
};
unicorn = {
dependencies = ["kgio" "raindrops"];
@@ -3479,12 +3864,36 @@
};
unparser = {
dependencies = ["abstract_type" "adamantium" "concord" "diff-lcs" "equalizer" "parser" "procto"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0w662glqi7hwmfvx0smxckxgc7kw5bsqhqz0pyvalbyv1gc0gs2x";
+ sha256 = "03vjj74kj86vlazhiclf63kf6gajs66k8ni34q70fdhf97d7b60c";
type = "gem";
};
- version = "0.4.2";
+ version = "0.4.5";
+ };
+ validate_email = {
+ dependencies = ["activemodel" "mail"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r1fz29l699arka177c9xw7409d1a3ff95bf7a6pmc97slb91zlx";
+ type = "gem";
+ };
+ version = "0.1.6";
+ };
+ validate_url = {
+ dependencies = ["activemodel" "public_suffix"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1k0bfxzvdcf1nrqhvnyhijc4mwab9wn4qvqb0ynq6p8dj0f866zi";
+ type = "gem";
+ };
+ version = "1.0.8";
};
validates_hostname = {
dependencies = ["activerecord" "activesupport"];
@@ -3529,6 +3938,17 @@
};
version = "1.2.7";
};
+ webfinger = {
+ dependencies = ["activesupport" "httpclient"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0m0jh8k7c0ifh2jhbn7ihqrmn5fi754wflva97zgy70hpdvxyjar";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
webmock = {
dependencies = ["addressable" "crack" "hashdiff"];
source = {
@@ -3549,12 +3969,14 @@
};
websocket-driver = {
dependencies = ["websocket-extensions"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1943442yllhldh9dbp374x2q39cxa49xrm28nb78b7mfbv3y195l";
+ sha256 = "1551k3fs3kkb3ghqfj3n5lps0ikb9pyrdnzmvgfdxy8574n4g1dn";
type = "gem";
};
- version = "0.6.5";
+ version = "0.7.0";
};
websocket-extensions = {
source = {
@@ -3591,11 +4013,13 @@
};
xpath = {
dependencies = ["nokogiri"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1ha626m6fh50fpilb9pdnmq9xl586w7c0zyidg895c3iq13rqgyw";
+ sha256 = "0bh8lk9hvlpn7vmi6h4hkcwjzvs2y0cmkk3yjjdr8fxvj6fsgzbd";
type = "gem";
};
- version = "2.1.0";
+ version = "3.2.0";
};
}
\ No newline at end of file
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile b/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile
index 88b787ea9da..62ee2990dfa 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile
+++ b/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile
@@ -1,7 +1,6 @@
source 'https://rubygems.org'
-gem 'rails', '5.0.7.2'
-gem 'rails-deprecated_sanitizer', '~> 1.0.3'
+gem 'rails', '5.2.3'
# Improves copy-on-write performance for MRI
gem 'nakayoshi_fork', '~> 0.0.4'
@@ -12,19 +11,19 @@ gem 'responders', '~> 2.0'
gem 'sprockets', '~> 3.7.0'
# Default values for AR models
-gem 'gitlab-default_value_for', '~> 3.1.1', require: 'default_value_for'
+gem 'default_value_for', '~> 3.2.0'
# Supported DBs
gem 'mysql2', '~> 0.4.10', group: :mysql
gem 'pg', '~> 1.1', group: :postgres
gem 'rugged', '~> 0.28'
-gem 'grape-path-helpers', '~> 1.0'
+gem 'grape-path-helpers', '~> 1.1'
gem 'faraday', '~> 0.12'
# Authentication libraries
-gem 'devise', '~> 4.4'
+gem 'devise', '~> 4.6'
gem 'doorkeeper', '~> 4.3'
gem 'doorkeeper-openid_connect', '~> 1.5'
gem 'omniauth', '~> 1.8'
@@ -42,6 +41,9 @@ gem 'omniauth-shibboleth', '~> 1.3.0'
gem 'omniauth-twitter', '~> 1.4'
gem 'omniauth_crowd', '~> 2.2.0'
gem 'omniauth-authentiq', '~> 0.3.3'
+gem 'omniauth_openid_connect', '~> 0.3.1'
+gem "omniauth-ultraauth", '~> 0.0.2'
+gem 'omniauth-salesforce', '~> 1.0.5'
gem 'rack-oauth2', '~> 1.9.3'
gem 'jwt', '~> 2.1.0'
@@ -61,6 +63,8 @@ gem 'u2f', '~> 0.2.1'
# GitLab Pages
gem 'validates_hostname', '~> 1.0.6'
gem 'rubyzip', '~> 1.2.2', require: 'zip'
+# GitLab Pages letsencrypt support
+gem 'acme-client', '~> 2.0.2'
# Browser detection
gem 'browser', '~> 2.5'
@@ -82,6 +86,8 @@ gem 'rack-cors', '~> 1.0.0', require: 'rack/cors'
# GraphQL API
gem 'graphql', '~> 1.8.0'
gem 'graphiql-rails', '~> 1.4.10'
+gem 'apollo_upload_server', '~> 2.0.0.beta3'
+gem 'graphql-docs', '~> 1.6.0', group: [:development, :test]
# Disable strong_params so that Mash does not respond to :permitted?
gem 'hashie-forbidden_attributes'
@@ -97,7 +103,7 @@ gem 'carrierwave', '~> 1.3'
gem 'mini_magick'
# for backups
-gem 'fog-aws', '~> 3.3'
+gem 'fog-aws', '~> 3.5'
# Locked until fog-google resolves https://github.com/fog/fog-google/issues/421.
# Also see config/initializers/fog_core_patch.rb.
gem 'fog-core', '= 2.1.0'
@@ -118,7 +124,7 @@ gem 'seed-fu', '~> 2.3.7'
# Search
gem 'elasticsearch-model', '~> 0.1.9'
-gem 'elasticsearch-rails', '~> 0.1.9'
+gem 'elasticsearch-rails', '~> 0.1.9', require: 'elasticsearch/rails/instrumentation'
gem 'elasticsearch-api', '5.0.3'
gem 'aws-sdk'
gem 'faraday_middleware-aws-signers-v4'
@@ -134,12 +140,13 @@ gem 'rdoc', '~> 6.0'
gem 'org-ruby', '~> 0.9.12'
gem 'creole', '~> 0.5.0'
gem 'wikicloth', '0.8.1'
-gem 'asciidoctor', '~> 1.5.8'
-gem 'asciidoctor-plantuml', '0.0.8'
-gem 'rouge', '~> 3.1'
+gem 'asciidoctor', '~> 2.0.10'
+gem 'asciidoctor-include-ext', '~> 0.3.1', require: false
+gem 'asciidoctor-plantuml', '0.0.9'
+gem 'rouge', '~> 3.5'
gem 'truncato', '~> 0.7.11'
gem 'bootstrap_form', '~> 4.2.0'
-gem 'nokogiri', '~> 1.10.1'
+gem 'nokogiri', '~> 1.10.3'
gem 'escape_utils', '~> 1.1'
# Calendar rendering
@@ -159,6 +166,7 @@ end
group :puma do
gem 'puma', '~> 3.12', require: false
gem 'puma_worker_killer', require: false
+ gem 'rack-timeout', require: false
end
# State machine
@@ -168,13 +176,13 @@ gem 'state_machines-activerecord', '~> 0.5.1'
gem 'acts-as-taggable-on', '~> 6.0'
# Background jobs
-gem 'sidekiq', '~> 5.2.1'
+gem 'sidekiq', '~> 5.2.7'
gem 'sidekiq-cron', '~> 1.0'
gem 'redis-namespace', '~> 1.6.0'
gem 'gitlab-sidekiq-fetcher', '~> 0.4.0', require: 'sidekiq-reliable-fetch'
# Cron Parser
-gem 'fugit', '~> 1.1'
+gem 'fugit', '~> 1.2.1'
# HTTP requests
gem 'httparty', '~> 0.16.4'
@@ -214,7 +222,7 @@ gem 'discordrb-webhooks-blackst0ne', '~> 3.3', require: false
# HipChat integration
gem 'hipchat', '~> 1.5.0'
-# JIRA integration
+# Jira integration
gem 'jira-ruby', '~> 1.4'
# Flowdock integration
@@ -267,8 +275,7 @@ gem 'chronic_duration', '~> 0.10.6'
gem 'webpack-rails', '~> 0.9.10'
gem 'rack-proxy', '~> 0.6.0'
-gem 'sass-rails', '~> 5.0.6'
-gem 'sass', '~> 3.5'
+gem 'sassc-rails', '~> 2.1.0'
gem 'uglifier', '~> 2.7.2'
gem 'addressable', '~> 2.5.2'
@@ -282,10 +289,13 @@ gem 'base32', '~> 0.3.0'
gem "gitlab-license", "~> 1.0"
# Sentry integration
-gem 'sentry-raven', '~> 2.7'
+gem 'sentry-raven', '~> 2.9'
gem 'premailer-rails', '~> 1.9.7'
+# LabKit: Tracing and Correlation
+gem 'gitlab-labkit', '~> 0.3.0'
+
# I18n
gem 'ruby_parser', '~> 3.8', require: false
gem 'rails-i18n', '~> 5.1'
@@ -293,7 +303,7 @@ gem 'gettext_i18n_rails', '~> 1.8.0'
gem 'gettext_i18n_rails_js', '~> 1.3'
gem 'gettext', '~> 3.2.2', require: false, group: :development
-gem 'batch-loader', '~> 1.2.2'
+gem 'batch-loader', '~> 1.4.0'
# Perf bar
gem 'peek', '~> 1.0.1'
@@ -306,27 +316,24 @@ gem 'peek-redis', '~> 1.2.0'
# Snowplow events tracking
gem 'snowplow-tracker', '~> 0.6.1'
+# Memory benchmarks
+gem 'derailed_benchmarks', require: false
+
# Metrics
group :metrics do
gem 'method_source', '~> 0.8', require: false
gem 'influxdb', '~> 0.2', require: false
# Prometheus
- gem 'prometheus-client-mmap', '~> 0.9.4'
+ gem 'prometheus-client-mmap', '~> 0.9.8'
gem 'raindrops', '~> 0.18'
end
-group :tracing do
- # OpenTracing
- gem 'opentracing', '~> 0.4.3'
- gem 'jaeger-client', '~> 0.10.0'
-end
-
group :development do
gem 'foreman', '~> 0.84.0'
gem 'brakeman', '~> 4.2', require: false
- gem 'letter_opener_web', '~> 1.3.0'
+ gem 'letter_opener_web', '~> 1.3.4'
gem 'rblineprof', '~> 0.3.6', platform: :mri, require: false
# Better errors handler
@@ -348,8 +355,8 @@ group :development, :test do
gem 'database_cleaner', '~> 1.7.0'
gem 'factory_bot_rails', '~> 4.8.2'
- gem 'rspec-rails', '~> 3.7.0'
- gem 'rspec-retry', '~> 0.4.5'
+ gem 'rspec-rails', '~> 3.8.0'
+ gem 'rspec-retry', '~> 0.6.1'
gem 'rspec_profiling', '~> 0.0.5'
gem 'rspec-set', '~> 0.1.3'
gem 'rspec-parameterized', require: false
@@ -360,22 +367,24 @@ group :development, :test do
# Generate Fake data
gem 'ffaker', '~> 2.10'
- gem 'capybara', '~> 2.16.1'
- gem 'capybara-screenshot', '~> 1.0.18'
- gem 'selenium-webdriver', '~> 3.12'
+ gem 'capybara', '~> 3.22.0'
+ gem 'capybara-screenshot', '~> 1.0.22'
+ gem 'selenium-webdriver', '~> 3.141'
gem 'spring', '~> 2.0.0'
gem 'spring-commands-rspec', '~> 1.0.4'
- gem 'gitlab-styles', '~> 2.4', require: false
+ gem 'gitlab-styles', '~> 2.7', require: false
# Pin these dependencies, otherwise a new rule could break the CI pipelines
- gem 'rubocop', '~> 0.54.0'
+ gem 'rubocop', '~> 0.69.0'
+ gem 'rubocop-performance', '~> 1.1.0'
gem 'rubocop-rspec', '~> 1.22.1'
gem 'scss_lint', '~> 0.56.0', require: false
- gem 'haml_lint', '~> 0.28.0', require: false
- gem 'simplecov', '~> 0.14.0', require: false
+ gem 'haml_lint', '~> 0.31.0', require: false
+ gem 'simplecov', '~> 0.16.1', require: false
gem 'bundler-audit', '~> 0.5.0', require: false
+ gem 'mdl', '~> 0.5.0', require: false
gem 'benchmark-ips', '~> 2.3.0', require: false
@@ -392,7 +401,7 @@ group :development, :test do
end
group :test do
- gem 'shoulda-matchers', '~> 3.1.2', require: false
+ gem 'shoulda-matchers', '~> 4.0.1', require: false
gem 'email_spec', '~> 2.2.0'
gem 'json-schema', '~> 2.8.0'
gem 'webmock', '~> 3.5.1'
@@ -412,6 +421,9 @@ gem 'html2text'
gem 'ruby-prof', '~> 0.17.0'
gem 'rbtrace', '~> 0.4', require: false
+gem 'memory_profiler', '~> 0.9', require: false
+gem 'benchmark-memory', '~> 0.1', require: false
+gem 'activerecord-explain-analyze', '~> 0.1', require: false
# OAuth
gem 'oauth2', '~> 1.4'
@@ -427,7 +439,7 @@ gem 'sys-filesystem', '~> 1.1.6'
gem 'net-ntp'
# SSH host key support
-gem 'net-ssh', '~> 5.0'
+gem 'net-ssh', '~> 5.2'
gem 'sshkey', '~> 2.0'
# Required for ED25519 SSH host key support
@@ -437,11 +449,11 @@ group :ed25519 do
end
# Gitaly GRPC client
-gem 'gitaly-proto', '~> 1.19.0', require: 'gitaly'
+gem 'gitaly-proto', '~> 1.37.0', require: 'gitaly'
-gem 'grpc', '~> 1.15.0'
+gem 'grpc', '~> 1.19.0'
-gem 'google-protobuf', '~> 3.6'
+gem 'google-protobuf', '~> 3.7.1'
gem 'toml-rb', '~> 1.0.0', require: false
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile.lock b/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile.lock
index b41584d5312..0a6d7fe1370 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile.lock
+++ b/pkgs/applications/version-management/gitlab/rubyEnv-ee/Gemfile.lock
@@ -4,41 +4,50 @@ GEM
RedCloth (4.3.2)
abstract_type (0.0.7)
ace-rails-ap (4.1.2)
- actioncable (5.0.7.2)
- actionpack (= 5.0.7.2)
- nio4r (>= 1.2, < 3.0)
- websocket-driver (~> 0.6.1)
- actionmailer (5.0.7.2)
- actionpack (= 5.0.7.2)
- actionview (= 5.0.7.2)
- activejob (= 5.0.7.2)
+ acme-client (2.0.2)
+ faraday (~> 0.9, >= 0.9.1)
+ actioncable (5.2.3)
+ actionpack (= 5.2.3)
+ nio4r (~> 2.0)
+ websocket-driver (>= 0.6.1)
+ actionmailer (5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
- actionpack (5.0.7.2)
- actionview (= 5.0.7.2)
- activesupport (= 5.0.7.2)
+ actionpack (5.2.3)
+ actionview (= 5.2.3)
+ activesupport (= 5.2.3)
rack (~> 2.0)
- rack-test (~> 0.6.3)
+ rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
- actionview (5.0.7.2)
- activesupport (= 5.0.7.2)
+ actionview (5.2.3)
+ activesupport (= 5.2.3)
builder (~> 3.1)
- erubis (~> 2.7.0)
+ erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
- activejob (5.0.7.2)
- activesupport (= 5.0.7.2)
+ activejob (5.2.3)
+ activesupport (= 5.2.3)
globalid (>= 0.3.6)
- activemodel (5.0.7.2)
- activesupport (= 5.0.7.2)
- activerecord (5.0.7.2)
- activemodel (= 5.0.7.2)
- activesupport (= 5.0.7.2)
- arel (~> 7.0)
+ activemodel (5.2.3)
+ activesupport (= 5.2.3)
+ activerecord (5.2.3)
+ activemodel (= 5.2.3)
+ activesupport (= 5.2.3)
+ arel (>= 9.0)
+ activerecord-explain-analyze (0.1.0)
+ activerecord (>= 4)
+ pg
activerecord_sane_schema_dumper (1.0)
rails (>= 5, < 6)
- activesupport (5.0.7.2)
+ activestorage (5.2.3)
+ actionpack (= 5.2.3)
+ activerecord (= 5.2.3)
+ marcel (~> 0.3.1)
+ activesupport (5.2.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -52,15 +61,20 @@ GEM
public_suffix (>= 2.0.2, < 4.0)
aes_key_wrap (1.0.1)
akismet (2.0.0)
- arel (7.1.4)
+ apollo_upload_server (2.0.0.beta.3)
+ graphql (>= 1.8)
+ rails (>= 4.2)
+ arel (9.0.0)
asana (0.8.1)
faraday (~> 0.9)
faraday_middleware (~> 0.9)
faraday_middleware-multi_json (~> 0.0)
oauth2 (~> 1.0)
- asciidoctor (1.5.8)
- asciidoctor-plantuml (0.0.8)
- asciidoctor (~> 1.5)
+ asciidoctor (2.0.10)
+ asciidoctor-include-ext (0.3.1)
+ asciidoctor (>= 1.5.6, < 3.0.0)
+ asciidoctor-plantuml (0.0.9)
+ asciidoctor (>= 1.5.6, < 3.0.0)
ast (2.4.0)
atomic (1.1.99)
attr_encrypted (3.1.0)
@@ -81,16 +95,18 @@ GEM
thread_safe (~> 0.3, >= 0.3.1)
babosa (1.0.2)
base32 (0.3.2)
- batch-loader (1.2.2)
+ batch-loader (1.4.0)
bcrypt (3.1.12)
bcrypt_pbkdf (1.0.0)
benchmark-ips (2.3.0)
+ benchmark-memory (0.1.2)
+ memory_profiler (~> 0.9)
better_errors (2.5.0)
coderay (>= 1.0.0)
erubi (>= 1.0.0)
rack (>= 0.9.0)
bindata (2.4.3)
- binding_ninja (0.2.2)
+ binding_ninja (0.2.3)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
bootsnap (1.4.1)
@@ -108,13 +124,14 @@ GEM
bundler (~> 1.2)
thor (~> 0.18)
byebug (9.1.0)
- capybara (2.16.1)
+ capybara (3.22.0)
addressable
mini_mime (>= 0.1.3)
- nokogiri (>= 1.3.3)
- rack (>= 1.0.0)
- rack-test (>= 0.5.4)
- xpath (~> 2.0)
+ nokogiri (~> 1.8)
+ rack (>= 1.6.0)
+ rack-test (>= 0.6.3)
+ regexp_parser (~> 1.5)
+ xpath (~> 3.2)
capybara-screenshot (1.0.22)
capybara (>= 1.0, < 4)
launchy
@@ -140,9 +157,9 @@ GEM
concord (0.1.5)
adamantium (~> 0.2.0)
equalizer (~> 0.0.9)
- concurrent-ruby (1.1.3)
- concurrent-ruby-ext (1.1.3)
- concurrent-ruby (= 1.1.3)
+ concurrent-ruby (1.1.5)
+ concurrent-ruby-ext (1.1.5)
+ concurrent-ruby (= 1.1.5)
connection_pool (2.2.2)
contracts (0.11.0)
crack (0.4.3)
@@ -159,10 +176,20 @@ GEM
html-pipeline
declarative (0.0.10)
declarative-option (0.1.0)
+ default_value_for (3.2.0)
+ activerecord (>= 3.2.0, < 6.0)
+ derailed_benchmarks (1.3.5)
+ benchmark-ips (~> 2)
+ get_process_mem (~> 0)
+ heapy (~> 0)
+ memory_profiler (~> 0)
+ rack (>= 1)
+ rake (> 10, < 13)
+ thor (~> 0.19)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
device_detector (1.0.0)
- devise (4.4.3)
+ devise (4.6.2)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 6.0)
@@ -178,7 +205,7 @@ GEM
diffy (3.1.0)
discordrb-webhooks-blackst0ne (3.3.0)
rest-client (~> 2.0)
- docile (1.1.5)
+ docile (1.3.1)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
doorkeeper (4.3.2)
@@ -207,15 +234,16 @@ GEM
mail (~> 2.7)
encryptor (3.0.0)
equalizer (0.0.11)
- erubi (1.7.1)
- erubis (2.7.0)
+ erubi (1.8.0)
escape_utils (1.2.1)
- et-orbi (1.1.7)
+ et-orbi (1.2.1)
tzinfo
eventmachine (1.2.7)
excon (0.62.0)
execjs (2.6.0)
expression_parser (0.9.0)
+ extended-markdown-filter (0.6.0)
+ html-pipeline (~> 2.0)
factory_bot (4.8.2)
activesupport (>= 3.0.0)
factory_bot_rails (4.8.2)
@@ -250,7 +278,7 @@ GEM
fog-json
ipaddress (~> 0.8)
xml-simple (~> 1.1)
- fog-aws (3.3.0)
+ fog-aws (3.5.2)
fog-core (~> 2.1)
fog-json (~> 1.1)
fog-xml (~> 0.1)
@@ -282,20 +310,21 @@ GEM
fog-xml (0.1.3)
fog-core
nokogiri (>= 1.5.11, < 2.0.0)
- font-awesome-rails (4.7.0.1)
- railties (>= 3.2, < 5.1)
+ font-awesome-rails (4.7.0.4)
+ railties (>= 3.2, < 6.0)
foreman (0.84.0)
thor (~> 0.19.1)
formatador (0.2.5)
- fugit (1.1.9)
- et-orbi (~> 1.1, >= 1.1.7)
+ fugit (1.2.1)
+ et-orbi (~> 1.1, >= 1.1.8)
raabro (~> 1.1)
fuubar (2.2.0)
rspec-core (~> 3.0)
ruby-progressbar (~> 1.4)
+ gemoji (3.0.1)
gemojione (3.3.0)
json
- get_process_mem (0.2.0)
+ get_process_mem (0.2.3)
gettext (3.2.9)
locale (>= 2.0.5)
text (>= 1.3.0)
@@ -306,18 +335,23 @@ GEM
gettext_i18n_rails (>= 0.7.1)
po_to_json (>= 1.0.0)
rails (>= 3.2.0)
- gitaly-proto (1.19.0)
+ gitaly-proto (1.37.0)
grpc (~> 1.0)
github-markup (1.7.0)
- gitlab-default_value_for (3.1.1)
- activerecord (>= 3.2.0, < 6.0)
+ gitlab-labkit (0.3.0)
+ actionpack (~> 5)
+ activesupport (~> 5)
+ grpc (~> 1.19.0)
+ jaeger-client (~> 0.10)
+ opentracing (~> 0.4)
gitlab-license (1.0.0)
gitlab-markup (1.7.0)
gitlab-sidekiq-fetcher (0.4.0)
sidekiq (~> 5)
- gitlab-styles (2.5.1)
- rubocop (~> 0.54.0)
+ gitlab-styles (2.7.0)
+ rubocop (~> 0.69.0)
rubocop-gitlab-security (~> 0.1.0)
+ rubocop-performance (~> 1.1.0)
rubocop-rspec (~> 1.19)
gitlab_omniauth-ldap (2.1.1)
net-ldap (~> 0.16)
@@ -337,8 +371,8 @@ GEM
mime-types (~> 3.0)
representable (~> 3.0)
retriable (>= 2.0, < 4.0)
- google-protobuf (3.6.1)
- googleapis-common-protos-types (1.0.3)
+ google-protobuf (3.7.1)
+ googleapis-common-protos-types (1.0.4)
google-protobuf (~> 3.0)
googleauth (0.6.6)
faraday (~> 0.12)
@@ -359,8 +393,8 @@ GEM
grape-entity (0.7.1)
activesupport (>= 4.0)
multi_json (>= 1.3.2)
- grape-path-helpers (1.0.6)
- activesupport (>= 4, < 5.1)
+ grape-path-helpers (1.1.0)
+ activesupport
grape (~> 1.0)
rake (~> 12)
grape_logging (1.7.0)
@@ -369,7 +403,15 @@ GEM
railties
sprockets-rails
graphql (1.8.1)
- grpc (1.15.0)
+ graphql-docs (1.6.0)
+ commonmarker (~> 0.16)
+ escape_utils (~> 1.2)
+ extended-markdown-filter (~> 0.4)
+ gemoji (~> 3.0)
+ graphql (~> 1.6)
+ html-pipeline (~> 2.8)
+ sass (~> 3.4)
+ grpc (1.19.0)
google-protobuf (~> 3.1)
googleapis-common-protos-types (~> 1.0.0)
gssapi (1.2.0)
@@ -377,7 +419,7 @@ GEM
haml (5.0.4)
temple (>= 0.8.0)
tilt
- haml_lint (0.28.0)
+ haml_lint (0.31.0)
haml (>= 4.0, < 5.1)
rainbow
rake (>= 10, < 13)
@@ -394,6 +436,7 @@ GEM
hashie (>= 3.0)
health_check (2.6.0)
rails (>= 4.0)
+ heapy (0.1.4)
hipchat (1.5.2)
httparty
mimemagic
@@ -427,6 +470,7 @@ GEM
jaeger-client (0.10.0)
opentracing (~> 0.3)
thrift
+ jaro_winkler (1.5.2)
jira-ruby (1.4.1)
activesupport
multipart-post
@@ -459,15 +503,16 @@ GEM
kgio (2.11.2)
knapsack (1.17.0)
rake
+ kramdown (1.17.0)
kubeclient (4.2.2)
http (~> 3.0)
recursive-open-struct (~> 1.0, >= 1.0.4)
rest-client (~> 2.0)
launchy (2.4.3)
addressable (~> 2.3)
- letter_opener (1.4.1)
+ letter_opener (1.7.0)
launchy (~> 2.2)
- letter_opener_web (1.3.0)
+ letter_opener_web (1.3.4)
actionmailer (>= 3.2)
letter_opener (~> 1.0)
railties (>= 3.2)
@@ -492,19 +537,29 @@ GEM
mail (2.7.1)
mini_mime (>= 0.1.1)
mail_room (0.9.1)
+ marcel (0.3.3)
+ mimemagic (~> 0.3.2)
+ mdl (0.5.0)
+ kramdown (~> 1.12, >= 1.12.0)
+ mixlib-cli (~> 1.7, >= 1.7.0)
+ mixlib-config (~> 2.2, >= 2.2.1)
memoist (0.16.0)
memoizable (0.4.2)
thread_safe (~> 0.3, >= 0.3.1)
+ memory_profiler (0.9.13)
method_source (0.9.2)
mime-types (3.2.2)
mime-types-data (~> 3.2015)
- mime-types-data (3.2018.0812)
+ mime-types-data (3.2019.0331)
mimemagic (0.3.2)
mini_magick (4.8.0)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
minitest (5.11.3)
- msgpack (1.2.6)
+ mixlib-cli (1.7.0)
+ mixlib-config (2.2.18)
+ tomlrb
+ msgpack (1.2.10)
multi_json (1.13.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
@@ -516,10 +571,10 @@ GEM
net-dns (0.9.0)
net-ldap (0.16.0)
net-ntp (2.1.3)
- net-ssh (5.0.1)
+ net-ssh (5.2.0)
netrc (0.11.0)
nio4r (2.3.1)
- nokogiri (1.10.1)
+ nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
nokogumbo (1.5.0)
nokogiri
@@ -574,6 +629,9 @@ GEM
omniauth (~> 1.9)
omniauth-oauth2-generic (0.2.2)
omniauth-oauth2 (~> 1.0)
+ omniauth-salesforce (1.0.5)
+ omniauth (~> 1.0)
+ omniauth-oauth2 (~> 1.0)
omniauth-saml (1.10.0)
omniauth (~> 1.3, >= 1.3.2)
ruby-saml (~> 1.7)
@@ -582,18 +640,34 @@ GEM
omniauth-twitter (1.4.0)
omniauth-oauth (~> 1.1)
rack
+ omniauth-ultraauth (0.0.2)
+ omniauth_openid_connect (~> 0.3.0)
omniauth_crowd (2.2.3)
activesupport
nokogiri (>= 1.4.4)
omniauth (~> 1.0)
- opentracing (0.4.3)
+ omniauth_openid_connect (0.3.1)
+ addressable (~> 2.5)
+ omniauth (~> 1.3)
+ openid_connect (~> 1.1)
+ openid_connect (1.1.6)
+ activemodel
+ attr_required (>= 1.0.0)
+ json-jwt (>= 1.5.0)
+ rack-oauth2 (>= 1.6.1)
+ swd (>= 1.0.0)
+ tzinfo
+ validate_email
+ validate_url
+ webfinger (>= 1.0.1)
+ opentracing (0.5.0)
optimist (3.0.0)
org-ruby (0.9.12)
rubypants (~> 0.2)
orm_adapter (0.5.0)
os (1.0.0)
- parallel (1.12.1)
- parser (2.5.3.0)
+ parallel (1.17.0)
+ parser (2.6.3.0)
ast (~> 2.4.0)
parslet (1.8.2)
peek (1.0.1)
@@ -622,7 +696,6 @@ GEM
pg (1.1.4)
po_to_json (1.0.1)
json (>= 1.6.0)
- powerpack (0.1.1)
premailer (1.10.4)
addressable
css_parser (>= 1.4.10)
@@ -635,7 +708,7 @@ GEM
parser
unparser
procto (0.0.3)
- prometheus-client-mmap (0.9.4)
+ prometheus-client-mmap (0.9.8)
pry (0.11.3)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
@@ -644,7 +717,7 @@ GEM
pry (~> 0.10)
pry-rails (0.3.6)
pry (>= 0.10.4)
- public_suffix (3.0.3)
+ public_suffix (3.1.0)
puma (3.12.0)
puma_worker_killer (0.1.0)
get_process_mem (~> 0.2)
@@ -667,26 +740,26 @@ GEM
rack
rack-proxy (0.6.0)
rack
- rack-test (0.6.3)
- rack (>= 1.0)
- rails (5.0.7.2)
- actioncable (= 5.0.7.2)
- actionmailer (= 5.0.7.2)
- actionpack (= 5.0.7.2)
- actionview (= 5.0.7.2)
- activejob (= 5.0.7.2)
- activemodel (= 5.0.7.2)
- activerecord (= 5.0.7.2)
- activesupport (= 5.0.7.2)
+ rack-test (1.1.0)
+ rack (>= 1.0, < 3)
+ rack-timeout (0.5.1)
+ rails (5.2.3)
+ actioncable (= 5.2.3)
+ actionmailer (= 5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
+ activemodel (= 5.2.3)
+ activerecord (= 5.2.3)
+ activestorage (= 5.2.3)
+ activesupport (= 5.2.3)
bundler (>= 1.3.0)
- railties (= 5.0.7.2)
+ railties (= 5.2.3)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.2)
actionpack (~> 5.x, >= 5.0.1)
actionview (~> 5.x, >= 5.0.1)
activesupport (~> 5.x)
- rails-deprecated_sanitizer (1.0.3)
- activesupport (>= 4.2.0.alpha)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
@@ -695,12 +768,12 @@ GEM
rails-i18n (5.1.1)
i18n (>= 0.7, < 2)
railties (>= 5.0, < 6)
- railties (5.0.7.2)
- actionpack (= 5.0.7.2)
- activesupport (= 5.0.7.2)
+ railties (5.2.3)
+ actionpack (= 5.2.3)
+ activesupport (= 5.2.3)
method_source
rake (>= 0.8.7)
- thor (>= 0.18.1, < 2.0)
+ thor (>= 0.19.0, < 2.0)
rainbow (3.0.0)
raindrops (0.19.0)
rake (12.3.2)
@@ -737,7 +810,7 @@ GEM
redis-store (>= 1.2, < 2)
redis-store (1.6.0)
redis (>= 2.2, < 5)
- regexp_parser (1.3.0)
+ regexp_parser (1.5.1)
regexp_property_values (0.3.4)
representable (3.0.4)
declarative (< 0.1.0)
@@ -754,41 +827,41 @@ GEM
retriable (3.1.2)
rinku (2.0.0)
rotp (2.1.2)
- rouge (3.3.0)
+ rouge (3.5.1)
rqrcode (0.7.0)
chunky_png
rqrcode-rails3 (0.1.7)
rqrcode (>= 0.4.2)
- rspec (3.7.0)
- rspec-core (~> 3.7.0)
- rspec-expectations (~> 3.7.0)
- rspec-mocks (~> 3.7.0)
- rspec-core (3.7.1)
- rspec-support (~> 3.7.0)
- rspec-expectations (3.7.0)
+ rspec (3.8.0)
+ rspec-core (~> 3.8.0)
+ rspec-expectations (~> 3.8.0)
+ rspec-mocks (~> 3.8.0)
+ rspec-core (3.8.2)
+ rspec-support (~> 3.8.0)
+ rspec-expectations (3.8.4)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-mocks (3.7.0)
+ rspec-support (~> 3.8.0)
+ rspec-mocks (3.8.1)
diff-lcs (>= 1.2.0, < 2.0)
- rspec-support (~> 3.7.0)
- rspec-parameterized (0.4.1)
- binding_ninja (>= 0.2.1)
+ rspec-support (~> 3.8.0)
+ rspec-parameterized (0.4.2)
+ binding_ninja (>= 0.2.3)
parser
proc_to_ast
rspec (>= 2.13, < 4)
unparser
- rspec-rails (3.7.2)
+ rspec-rails (3.8.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
- rspec-core (~> 3.7.0)
- rspec-expectations (~> 3.7.0)
- rspec-mocks (~> 3.7.0)
- rspec-support (~> 3.7.0)
- rspec-retry (0.4.5)
- rspec-core
+ rspec-core (~> 3.8.0)
+ rspec-expectations (~> 3.8.0)
+ rspec-mocks (~> 3.8.0)
+ rspec-support (~> 3.8.0)
+ rspec-retry (0.6.1)
+ rspec-core (> 3.3)
rspec-set (0.1.3)
- rspec-support (3.7.1)
+ rspec-support (3.8.2)
rspec_junit_formatter (0.4.1)
rspec-core (>= 2, < 4, != 2.12.0)
rspec_profiling (0.0.5)
@@ -796,15 +869,17 @@ GEM
pg
rails
sqlite3
- rubocop (0.54.0)
+ rubocop (0.69.0)
+ jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
- parser (>= 2.5)
- powerpack (~> 0.1)
+ parser (>= 2.6)
rainbow (>= 2.2.2, < 4.0)
ruby-progressbar (~> 1.7)
- unicode-display_width (~> 1.0, >= 1.0.1)
+ unicode-display_width (>= 1.4.0, < 1.7)
rubocop-gitlab-security (0.1.1)
rubocop (>= 0.51)
+ rubocop-performance (1.1.0)
+ rubocop (>= 0.67.0)
rubocop-rspec (1.22.2)
rubocop (>= 0.52.1)
ruby-enum (0.7.2)
@@ -812,10 +887,10 @@ GEM
ruby-fogbugz (0.2.1)
crack (~> 0.4)
ruby-prof (0.17.0)
- ruby-progressbar (1.9.0)
+ ruby-progressbar (1.10.0)
ruby-saml (1.7.2)
nokogiri (>= 1.5.10)
- ruby_parser (3.11.0)
+ ruby_parser (3.13.1)
sexp_processor (~> 4.9)
rubyntlm (0.6.2)
rubypants (0.2.0)
@@ -831,12 +906,15 @@ GEM
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
- sass-rails (5.0.6)
- railties (>= 4.0.0, < 6)
- sass (~> 3.1)
- sprockets (>= 2.8, < 4.0)
- sprockets-rails (>= 2.0, < 4.0)
- tilt (>= 1.1, < 3)
+ sassc (2.0.1)
+ ffi (~> 1.9)
+ rake
+ sassc-rails (2.1.0)
+ railties (>= 4.0.0)
+ sassc (>= 2.0)
+ sprockets (> 3.0)
+ sprockets-rails
+ tilt
sawyer (0.8.1)
addressable (>= 2.3.5, < 2.6)
faraday (~> 0.8, < 1.0)
@@ -846,18 +924,18 @@ GEM
seed-fu (2.3.7)
activerecord (>= 3.1)
activesupport (>= 3.1)
- selenium-webdriver (3.12.0)
+ selenium-webdriver (3.141.0)
childprocess (~> 0.5)
- rubyzip (~> 1.2)
+ rubyzip (~> 1.2, >= 1.2.2)
sentry-raven (2.9.0)
faraday (>= 0.7.6, < 1.0)
settingslogic (2.0.9)
- sexp_processor (4.11.0)
+ sexp_processor (4.12.0)
sham_rack (1.3.6)
rack
- shoulda-matchers (3.1.2)
- activesupport (>= 4.0.0)
- sidekiq (5.2.5)
+ shoulda-matchers (4.0.1)
+ activesupport (>= 4.2.0)
+ sidekiq (5.2.7)
connection_pool (~> 2.2, >= 2.2.2)
rack (>= 1.5.0)
rack-protection (>= 1.5.0)
@@ -871,11 +949,11 @@ GEM
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
simple_po_parser (1.1.2)
- simplecov (0.14.1)
- docile (~> 1.1.0)
+ simplecov (0.16.1)
+ docile (~> 1.1)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
- simplecov-html (0.10.0)
+ simplecov-html (0.10.2)
slack-notifier (1.5.1)
snowplow-tracker (0.6.1)
contracts (~> 0.7, <= 0.11)
@@ -900,10 +978,14 @@ GEM
state_machines-activerecord (0.5.1)
activerecord (>= 4.1, < 6.0)
state_machines-activemodel (>= 0.5.0)
+ swd (1.1.2)
+ activesupport (>= 3)
+ attr_required (>= 0.0.5)
+ httpclient (>= 2.4)
sys-filesystem (1.1.6)
ffi
sysexits (1.2.0)
- temple (0.8.0)
+ temple (0.8.1)
test-prof (0.2.5)
text (1.3.1)
thin (1.7.2)
@@ -913,13 +995,14 @@ GEM
thor (0.19.4)
thread_safe (0.3.6)
thrift (0.11.0.0)
- tilt (2.0.8)
+ tilt (2.0.9)
timecop (0.8.1)
timfel-krb5-auth (0.8.3)
toml (0.2.0)
parslet (~> 1.8.0)
toml-rb (1.0.0)
citrus (~> 3.0, > 3.0)
+ tomlrb (1.2.8)
truncato (0.7.11)
htmlentities (~> 4.3.1)
nokogiri (>= 1.7.0, <= 2.0)
@@ -933,7 +1016,7 @@ GEM
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
- unicode-display_width (1.3.2)
+ unicode-display_width (1.6.0)
unicorn (5.4.1)
kgio (~> 2.6)
raindrops (~> 0.7)
@@ -941,14 +1024,20 @@ GEM
get_process_mem (~> 0)
unicorn (>= 4, < 6)
uniform_notifier (1.10.0)
- unparser (0.4.2)
+ unparser (0.4.5)
abstract_type (~> 0.0.7)
adamantium (~> 0.2.0)
concord (~> 0.1.5)
diff-lcs (~> 1.3)
equalizer (~> 0.0.9)
- parser (>= 2.3.1.2, < 2.6)
+ parser (~> 2.6.3)
procto (~> 0.0.2)
+ validate_email (0.1.6)
+ activemodel (>= 3.0)
+ mail (>= 2.2.5)
+ validate_url (1.0.8)
+ activemodel (>= 3.0.0)
+ public_suffix
validates_hostname (1.0.6)
activerecord (>= 3.0)
activesupport (>= 3.0)
@@ -961,13 +1050,16 @@ GEM
vmstat (2.3.0)
warden (1.2.7)
rack (>= 1.0)
+ webfinger (1.1.0)
+ activesupport
+ httpclient (>= 2.4)
webmock (3.5.1)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
webpack-rails (0.9.11)
railties (>= 3.2.0)
- websocket-driver (0.6.5)
+ websocket-driver (0.7.0)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
wikicloth (0.8.1)
@@ -976,8 +1068,8 @@ GEM
rinku
with_env (1.1.0)
xml-simple (1.1.5)
- xpath (2.1.0)
- nokogiri (~> 1.3)
+ xpath (3.2.0)
+ nokogiri (~> 1.8)
PLATFORMS
ruby
@@ -985,21 +1077,26 @@ PLATFORMS
DEPENDENCIES
RedCloth (~> 4.3.2)
ace-rails-ap (~> 4.1.0)
+ acme-client (~> 2.0.2)
+ activerecord-explain-analyze (~> 0.1)
activerecord_sane_schema_dumper (= 1.0)
acts-as-taggable-on (~> 6.0)
addressable (~> 2.5.2)
akismet (~> 2.0)
+ apollo_upload_server (~> 2.0.0.beta3)
asana (~> 0.8.1)
- asciidoctor (~> 1.5.8)
- asciidoctor-plantuml (= 0.0.8)
+ asciidoctor (~> 2.0.10)
+ asciidoctor-include-ext (~> 0.3.1)
+ asciidoctor-plantuml (= 0.0.9)
attr_encrypted (~> 3.1.0)
awesome_print
aws-sdk
babosa (~> 1.0.2)
base32 (~> 0.3.0)
- batch-loader (~> 1.2.2)
+ batch-loader (~> 1.4.0)
bcrypt_pbkdf (~> 1.0)
benchmark-ips (~> 2.3.0)
+ benchmark-memory (~> 0.1)
better_errors (~> 2.5.0)
binding_of_caller (~> 0.8.0)
bootsnap (~> 1.4)
@@ -1008,8 +1105,8 @@ DEPENDENCIES
browser (~> 2.5)
bullet (~> 5.5.0)
bundler-audit (~> 0.5.0)
- capybara (~> 2.16.1)
- capybara-screenshot (~> 1.0.18)
+ capybara (~> 3.22.0)
+ capybara-screenshot (~> 1.0.22)
carrierwave (~> 1.3)
charlock_holmes (~> 0.7.5)
chronic (~> 0.10.2)
@@ -1020,8 +1117,10 @@ DEPENDENCIES
creole (~> 0.5.0)
database_cleaner (~> 1.7.0)
deckar01-task_list (= 2.2.0)
+ default_value_for (~> 3.2.0)
+ derailed_benchmarks
device_detector
- devise (~> 4.4)
+ devise (~> 4.6)
devise-two-factor (~> 3.0.0)
diffy (~> 3.1.0)
discordrb-webhooks-blackst0ne (~> 3.3)
@@ -1044,7 +1143,7 @@ DEPENDENCIES
flipper-active_support_cache_store (~> 0.13.0)
flowdock (~> 0.7)
fog-aliyun (~> 0.3)
- fog-aws (~> 3.3)
+ fog-aws (~> 3.5)
fog-core (= 2.1.0)
fog-google (~> 1.8)
fog-local (~> 0.6)
@@ -1052,33 +1151,34 @@ DEPENDENCIES
fog-rackspace (~> 0.1.1)
font-awesome-rails (~> 4.7)
foreman (~> 0.84.0)
- fugit (~> 1.1)
+ fugit (~> 1.2.1)
fuubar (~> 2.2.0)
gemojione (~> 3.3)
gettext (~> 3.2.2)
gettext_i18n_rails (~> 1.8.0)
gettext_i18n_rails_js (~> 1.3)
- gitaly-proto (~> 1.19.0)
+ gitaly-proto (~> 1.37.0)
github-markup (~> 1.7.0)
- gitlab-default_value_for (~> 3.1.1)
+ gitlab-labkit (~> 0.3.0)
gitlab-license (~> 1.0)
gitlab-markup (~> 1.7.0)
gitlab-sidekiq-fetcher (~> 0.4.0)
- gitlab-styles (~> 2.4)
+ gitlab-styles (~> 2.7)
gitlab_omniauth-ldap (~> 2.1.1)
gon (~> 6.2)
google-api-client (~> 0.23)
- google-protobuf (~> 3.6)
+ google-protobuf (~> 3.7.1)
gpgme (~> 2.0.18)
grape (~> 1.1.0)
grape-entity (~> 0.7.1)
- grape-path-helpers (~> 1.0)
+ grape-path-helpers (~> 1.1)
grape_logging (~> 1.7)
graphiql-rails (~> 1.4.10)
graphql (~> 1.8.0)
- grpc (~> 1.15.0)
+ graphql-docs (~> 1.6.0)
+ grpc (~> 1.19.0)
gssapi
- haml_lint (~> 0.28.0)
+ haml_lint (~> 0.31.0)
hamlit (~> 2.8.8)
hangouts-chat (~> 0.0.5)
hashie-forbidden_attributes
@@ -1089,7 +1189,6 @@ DEPENDENCIES
httparty (~> 0.16.4)
icalendar
influxdb (~> 0.2)
- jaeger-client (~> 0.10.0)
jira-ruby (~> 1.4)
js_regex (~> 3.1)
json-schema (~> 2.8.0)
@@ -1097,12 +1196,14 @@ DEPENDENCIES
kaminari (~> 1.0)
knapsack (~> 1.17)
kubeclient (~> 4.2.2)
- letter_opener_web (~> 1.3.0)
+ letter_opener_web (~> 1.3.4)
license_finder (~> 5.4)
licensee (~> 8.9)
lograge (~> 0.5)
loofah (~> 2.2)
mail_room (~> 0.9.1)
+ mdl (~> 0.5.0)
+ memory_profiler (~> 0.9)
method_source (~> 0.8)
mimemagic (~> 0.3.2)
mini_magick
@@ -1112,8 +1213,8 @@ DEPENDENCIES
net-dns (~> 0.9.0)
net-ldap
net-ntp
- net-ssh (~> 5.0)
- nokogiri (~> 1.10.1)
+ net-ssh (~> 5.2)
+ nokogiri (~> 1.10.3)
oauth2 (~> 1.4)
octokit (~> 4.9)
omniauth (~> 1.8)
@@ -1127,11 +1228,13 @@ DEPENDENCIES
omniauth-google-oauth2 (~> 0.6.0)
omniauth-kerberos (~> 0.3.0)
omniauth-oauth2-generic (~> 0.2.2)
+ omniauth-salesforce (~> 1.0.5)
omniauth-saml (~> 1.10)
omniauth-shibboleth (~> 1.3.0)
omniauth-twitter (~> 1.4)
+ omniauth-ultraauth (~> 0.0.2)
omniauth_crowd (~> 2.2.0)
- opentracing (~> 0.4.3)
+ omniauth_openid_connect (~> 0.3.1)
org-ruby (~> 0.9.12)
peek (~> 1.0.1)
peek-gc (~> 0.0.2)
@@ -1141,7 +1244,7 @@ DEPENDENCIES
peek-redis (~> 1.2.0)
pg (~> 1.1)
premailer-rails (~> 1.9.7)
- prometheus-client-mmap (~> 0.9.4)
+ prometheus-client-mmap (~> 0.9.8)
pry-byebug (~> 3.5.1)
pry-rails (~> 0.3.4)
puma (~> 3.12)
@@ -1151,9 +1254,9 @@ DEPENDENCIES
rack-cors (~> 1.0.0)
rack-oauth2 (~> 1.9.3)
rack-proxy (~> 0.6.0)
- rails (= 5.0.7.2)
+ rack-timeout
+ rails (= 5.2.3)
rails-controller-testing
- rails-deprecated_sanitizer (~> 1.0.3)
rails-i18n (~> 5.1)
rainbow (~> 3.0)
raindrops (~> 0.18)
@@ -1167,15 +1270,16 @@ DEPENDENCIES
redis-rails (~> 5.0.2)
request_store (~> 1.3)
responders (~> 2.0)
- rouge (~> 3.1)
+ rouge (~> 3.5)
rqrcode-rails3 (~> 0.1.7)
rspec-parameterized
- rspec-rails (~> 3.7.0)
- rspec-retry (~> 0.4.5)
+ rspec-rails (~> 3.8.0)
+ rspec-retry (~> 0.6.1)
rspec-set (~> 0.1.3)
rspec_junit_formatter
rspec_profiling (~> 0.0.5)
- rubocop (~> 0.54.0)
+ rubocop (~> 0.69.0)
+ rubocop-performance (~> 1.1.0)
rubocop-rspec (~> 1.22.1)
ruby-fogbugz (~> 0.2.1)
ruby-prof (~> 0.17.0)
@@ -1184,19 +1288,18 @@ DEPENDENCIES
rubyzip (~> 1.2.2)
rugged (~> 0.28)
sanitize (~> 4.6)
- sass (~> 3.5)
- sass-rails (~> 5.0.6)
+ sassc-rails (~> 2.1.0)
scss_lint (~> 0.56.0)
seed-fu (~> 2.3.7)
- selenium-webdriver (~> 3.12)
- sentry-raven (~> 2.7)
+ selenium-webdriver (~> 3.141)
+ sentry-raven (~> 2.9)
settingslogic (~> 2.0.9)
sham_rack (~> 1.3.6)
- shoulda-matchers (~> 3.1.2)
- sidekiq (~> 5.2.1)
+ shoulda-matchers (~> 4.0.1)
+ sidekiq (~> 5.2.7)
sidekiq-cron (~> 1.0)
simple_po_parser (~> 1.1.2)
- simplecov (~> 0.14.0)
+ simplecov (~> 0.16.1)
slack-notifier (~> 1.5.1)
snowplow-tracker (~> 0.6.1)
spring (~> 2.0.0)
diff --git a/pkgs/applications/version-management/gitlab/rubyEnv-ee/gemset.nix b/pkgs/applications/version-management/gitlab/rubyEnv-ee/gemset.nix
index 1d355ef8e87..8050743ab25 100644
--- a/pkgs/applications/version-management/gitlab/rubyEnv-ee/gemset.nix
+++ b/pkgs/applications/version-management/gitlab/rubyEnv-ee/gemset.nix
@@ -15,16 +15,27 @@
};
version = "4.1.2";
};
+ acme-client = {
+ dependencies = ["faraday"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1552fkgaj6qfylwsckgmhck34shjqnfrzymj1ji1kq3r310qqrnp";
+ type = "gem";
+ };
+ version = "2.0.2";
+ };
actioncable = {
dependencies = ["actionpack" "nio4r" "websocket-driver"];
groups = ["default" "development" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14qy7aygsr35lhcrw2y0c1jxmkfjlcz10p7qcf9jxzhcfmk5rr3y";
+ sha256 = "04wd9rf8sglrqc8jz49apqcxbi51gdj7l1apf5qr4i86iddk6pkm";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"];
@@ -32,10 +43,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "17whd0cjkb038g14pmkmakp89085j5950jdmfa5hmzqf1djnvc8r";
+ sha256 = "15laym06zcm2021qdhlyr6y9jn1marw436i89hcxqg14a8zvyvwa";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
@@ -43,21 +54,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1wyyj014n0gza5m2gpg9ab9av4yr6psvym047nrn1iz84v6fmkfb";
+ sha256 = "1s2iay17i2k0xx36cmnpbrmr5w6x70jk7fq1d8w70xcdw5chm0w1";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
actionview = {
- dependencies = ["activesupport" "builder" "erubis" "rails-dom-testing" "rails-html-sanitizer"];
+ dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0w96iqknr5jz7gzlcyixq1lvhbzbqijj4iq22pbfzscppbz1anvi";
+ sha256 = "1v49rgf8305grqf6gq7qa47qhamr369igyy0giycz60x86afyr4h";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
activejob = {
dependencies = ["activesupport" "globalid"];
@@ -65,10 +76,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1281zl53a5dpl33vxswrg2jxv7kpcyl7mg5mckn4hcksna60356l";
+ sha256 = "17vizibxbsli5yppgrvmw13wj7a9xy19s5nqxf1k23bbk2s5b87s";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
activemodel = {
dependencies = ["activesupport"];
@@ -76,10 +87,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0xphpzx3ippi8f2h27v2g3n82i39xwx2gq9yamhby9s2a9hh8shl";
+ sha256 = "0mghh9di8011ara9h1r5a216yzk1vjm9r3p0gdvdi8j1zmkl6k6h";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
activerecord = {
dependencies = ["activemodel" "activesupport" "arel"];
@@ -87,10 +98,21 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1jy2amhn2xsd9hy546mw27agh8493nqlgbmzqhlppx7p3nwikw63";
+ sha256 = "0d6036f592803iyvp6bw98p3sg638mia5dbw19lvachx6jgzfvpw";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
+ };
+ activerecord-explain-analyze = {
+ dependencies = ["activerecord" "pg"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0yvz452ww0vn3n6197gx6zklwa591gc7f1m8accvjd9zw8gv3ssx";
+ type = "gem";
+ };
+ version = "0.1.0";
};
activerecord_sane_schema_dumper = {
dependencies = ["rails"];
@@ -101,16 +123,27 @@
};
version = "1.0";
};
+ activestorage = {
+ dependencies = ["actionpack" "activerecord" "marcel"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "04is6ipjqw1f337i8pm8w5bd99rpygqfd0fzzxkr7jd308ggmsjk";
+ type = "gem";
+ };
+ version = "5.2.3";
+ };
activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
groups = ["default" "development" "mysql" "postgres" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1bcbr490ryw6295p0ja7xigcw0ivkdys90x3qbsbs8c4n1zwcp7p";
+ sha256 = "110vp4frgkw3mpzlmshg2f2ig09cknls2w68ym1r1s39d01v0mi8";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
acts-as-taggable-on = {
dependencies = ["activerecord"];
@@ -157,13 +190,26 @@
};
version = "2.0.0";
};
- arel = {
+ apollo_upload_server = {
+ dependencies = ["graphql" "rails"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0l757dkkaxk5fq3368l79jpyzq9a9driricjamhiwhwvh0h7xcyx";
+ sha256 = "0riijpyicbkqsr46w4mfhh3pq2yrmakkz8mmgbrfjhzbyzac25na";
type = "gem";
};
- version = "7.1.4";
+ version = "2.0.0.beta.3";
+ };
+ arel = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1jk7wlmkr61f6g36w9s2sn46nmdg6wn2jfssrhbhirv5x9n95nk0";
+ type = "gem";
+ };
+ version = "9.0.0";
};
asana = {
dependencies = ["faraday" "faraday_middleware" "faraday_middleware-multi_json" "oauth2"];
@@ -175,21 +221,36 @@
version = "0.8.1";
};
asciidoctor = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qld3a1pbcjvs8lbxp95iz83bfmg5scmnf8q3rklinmdmhzakslx";
+ sha256 = "1b2ajs3sabl0s27r7lhwkacw0yn0zfk4jpmidg9l8lzp2qlgjgbz";
type = "gem";
};
- version = "1.5.8";
+ version = "2.0.10";
+ };
+ asciidoctor-include-ext = {
+ dependencies = ["asciidoctor"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1alaqfh31hd98yhqq8fsc50zzqw04p3d83pc35gdx3x9p3j1ds7d";
+ type = "gem";
+ };
+ version = "0.3.1";
};
asciidoctor-plantuml = {
dependencies = ["asciidoctor"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x092ldl8p7svczg4lnrnp0h918acnflh7jz5qwv40ksh1fflqna";
+ sha256 = "0lzxj16w7s3w0wnlpg8lfs9v2xxk3x3c1skynqm1sms7rjhnhlnb";
type = "gem";
};
- version = "0.0.8";
+ version = "0.0.9";
};
ast = {
source = {
@@ -295,12 +356,14 @@
version = "0.3.2";
};
batch-loader = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0pwr2hk9x1qx9i2xpkpjwkdjsmm4kamz5f25wizsaw37zb64apjc";
+ sha256 = "09jaxxddqpgq8ynwd2gpjq5rkhw00zdjnqisk9qbpjgxzk6f8gwi";
type = "gem";
};
- version = "1.2.2";
+ version = "1.4.0";
};
bcrypt = {
source = {
@@ -326,6 +389,17 @@
};
version = "2.3.0";
};
+ benchmark-memory = {
+ dependencies = ["memory_profiler"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11qw8k6rl79ri00njrf1x9v6vzwgv12rkcvgzvg0sk8pfrkzwyxa";
+ type = "gem";
+ };
+ version = "0.1.2";
+ };
better_errors = {
dependencies = ["coderay" "erubi" "rack"];
source = {
@@ -344,12 +418,14 @@
version = "2.4.3";
};
binding_ninja = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "19dk26qyx433ffa6y48511apc2iw71zw4jnlqxhy0wix9dlxr2ri";
+ sha256 = "17fa3sv6p2fw9g8fxpwx1kjhhs28aw41akkba0hlgvk60055b1aa";
type = "gem";
};
- version = "0.2.2";
+ version = "0.2.3";
};
binding_of_caller = {
dependencies = ["debug_inspector"];
@@ -431,13 +507,15 @@
version = "9.1.0";
};
capybara = {
- dependencies = ["addressable" "mini_mime" "nokogiri" "rack" "rack-test" "xpath"];
+ dependencies = ["addressable" "mini_mime" "nokogiri" "rack" "rack-test" "regexp_parser" "xpath"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0hkl6p07gf29952biv07fy88vjz46ng2h37wwx5ks0mk9kn8vvvf";
+ sha256 = "1y7ncfji4s3h3wdr2hwsrd32k0va92a6lyx2x8w6a3vkbc94kpch";
type = "gem";
};
- version = "2.16.1";
+ version = "3.22.0";
};
capybara-screenshot = {
dependencies = ["capybara" "launchy"];
@@ -559,21 +637,25 @@
version = "0.1.5";
};
concurrent-ruby = {
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18q9skp5pfq4jwbxzmw8q2rn4cpw6mf4561i2hsjcl1nxdag2jvb";
+ sha256 = "1x07r23s7836cpp5z9yrlbpljcxpax14yw4fy4bnp6crhr6x24an";
type = "gem";
};
- version = "1.1.3";
+ version = "1.1.5";
};
concurrent-ruby-ext = {
dependencies = ["concurrent-ruby"];
+ groups = ["default" "mysql" "postgres"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0h7k4wnvbxv7vzb53kaqxbbyhp3m98g2rgymr6n1l9v0jlzcr1i8";
+ sha256 = "03ypsv2k581yv0b3f0hzvb3mq6mqj8jlbi32jmkj3k175vbc8hvz";
type = "gem";
};
- version = "1.1.3";
+ version = "1.1.5";
};
connection_pool = {
source = {
@@ -684,6 +766,28 @@
};
version = "0.1.0";
};
+ default_value_for = {
+ dependencies = ["activerecord"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xj9d1y2fk3kxfm1kyiwasjpw6r1w7c1xjx26sm3c33xhmz57fla";
+ type = "gem";
+ };
+ version = "3.2.0";
+ };
+ derailed_benchmarks = {
+ dependencies = ["benchmark-ips" "get_process_mem" "heapy" "memory_profiler" "rack" "rake" "thor"];
+ groups = ["development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1c9djg1r2w461h97zmmdsdgnsrxqm4qfyp7gry9qxbav9skrplb8";
+ type = "gem";
+ };
+ version = "1.3.5";
+ };
descendants_tracker = {
dependencies = ["thread_safe"];
source = {
@@ -703,12 +807,14 @@
};
devise = {
dependencies = ["bcrypt" "orm_adapter" "railties" "responders" "warden"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xmxfhym0yxwb0zwmmzhdiykbpyqqm3id02g7rf3vcgbc1lqvdnj";
+ sha256 = "04b2p61mqfb6ln8s2lhmvnkd45wjjinykbn9svmhs54kacrrjkcf";
type = "gem";
};
- version = "4.4.3";
+ version = "4.6.2";
};
devise-two-factor = {
dependencies = ["activesupport" "attr_encrypted" "devise" "railties" "rotp"];
@@ -745,12 +851,14 @@
version = "3.3.0";
};
docile = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0m8j31whq7bm5ljgmsrlfkiqvacrw6iz9wq10r3gwrv5785y8gjx";
+ sha256 = "04d2izkna3ahfn6fwq4xrcafa715d3bbqczxm16fq40fqy87xn17";
type = "gem";
};
- version = "1.1.5";
+ version = "1.3.1";
};
domain_name = {
dependencies = ["unf"];
@@ -865,20 +973,14 @@
version = "0.0.11";
};
erubi = {
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0bws86na9k565raiz0kk61yy5pxxp0fmwyzpibdwjkq0xzx8q6q1";
+ sha256 = "1kagnf6ziahj0d781s6ryy6fwqwa3ad4xbzzj84p9m4nv4c2jir1";
type = "gem";
};
- version = "1.7.1";
- };
- erubis = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1fj827xqjs91yqsydf0zmfyw9p4l2jz5yikg3mppz6d7fi8kyrb3";
- type = "gem";
- };
- version = "2.7.0";
+ version = "1.8.0";
};
escape_utils = {
source = {
@@ -890,12 +992,14 @@
};
et-orbi = {
dependencies = ["tzinfo"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "148z57yshd8rls5b9mkqp9dymba8r4373vlrsk3090lblw5v1ifp";
+ sha256 = "1swgjb3h2hs5xflb68837l0vd32masbz9c66b1963mxlnnxf5gsg";
type = "gem";
};
- version = "1.1.7";
+ version = "1.2.1";
};
eventmachine = {
source = {
@@ -929,6 +1033,17 @@
};
version = "0.9.0";
};
+ extended-markdown-filter = {
+ dependencies = ["html-pipeline"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "17mi5qayplfaa6p3mfwa36il84ixr0bimqvl0q73lw5i81blp126";
+ type = "gem";
+ };
+ version = "0.6.0";
+ };
factory_bot = {
dependencies = ["activesupport"];
source = {
@@ -1061,12 +1176,14 @@
};
fog-aws = {
dependencies = ["fog-core" "fog-json" "fog-xml" "ipaddress"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zprxg0spvkkri1jf40zg3rfr5h2gq6009d7l36lifpvhjn658cs";
+ sha256 = "086kyvdhf1k8nk7f4gmybjc3k0m88f9pw99frddcy1w96pj5kyg4";
type = "gem";
};
- version = "3.3.0";
+ version = "3.5.2";
};
fog-core = {
dependencies = ["builder" "excon" "formatador" "mime-types"];
@@ -1133,12 +1250,14 @@
};
font-awesome-rails = {
dependencies = ["railties"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qc07vj7qyllrj7lr7wl89l5ir0gj104rc7sds2jynzmrqsamnlw";
+ sha256 = "11mf7bk2737pyxjwba3a9lpgcxzbp0vgq01n2dn30774zysc90hj";
type = "gem";
};
- version = "4.7.0.1";
+ version = "4.7.0.4";
};
foreman = {
dependencies = ["thor"];
@@ -1163,10 +1282,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1m9fijppafxrb74v4jgbgni82bykyzpfnrlksfa7bw6sbm7ks4bd";
+ sha256 = "1x5h31hl75x0p5s36hinywg18ijlxjhnlb5p02aqcjjkx777rcav";
type = "gem";
};
- version = "1.1.9";
+ version = "1.2.1";
};
fuubar = {
dependencies = ["rspec-core" "ruby-progressbar"];
@@ -1177,6 +1296,16 @@
};
version = "2.2.0";
};
+ gemoji = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0vgklpmhdz98xayln5hhqv4ffdyrglzwdixkn5gsk9rj94pkymc0";
+ type = "gem";
+ };
+ version = "3.0.1";
+ };
gemojione = {
dependencies = ["json"];
source = {
@@ -1187,12 +1316,14 @@
version = "3.3.0";
};
get_process_mem = {
+ groups = ["default" "development" "puma" "test" "unicorn"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "025f7v6bpbgsa2nr0hzv2riggj8qmzbwcyxfgjidpmwh5grh7j29";
+ sha256 = "1bvfjdign16r0zwm2rlfrq0sk1licvmlgbnlpnyckniv5r7i080g";
type = "gem";
};
- version = "0.2.0";
+ version = "0.2.3";
};
gettext = {
dependencies = ["locale" "text"];
@@ -1227,10 +1358,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "173769xdvqqmbiz3qlybdlg023vz2kxxmzwxql1wqczf0j57vmv1";
+ sha256 = "1lx2cids0r175agdz3wa25ivi17vxx2kryb2v29gdsrpg3pyyq7j";
type = "gem";
};
- version = "1.19.0";
+ version = "1.37.0";
};
github-markup = {
source = {
@@ -1240,14 +1371,16 @@
};
version = "1.7.0";
};
- gitlab-default_value_for = {
- dependencies = ["activerecord"];
+ gitlab-labkit = {
+ dependencies = ["actionpack" "activesupport" "grpc" "jaeger-client" "opentracing"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0qqjf7nxmwxnkdlrgbnby8wjckaj2s5yna96avgb7fwm0h90f1sn";
+ sha256 = "0dvapmdc9axm9dq2gg89qrqb318rkrsabpyybrqvcx1ipbi5k3a1";
type = "gem";
};
- version = "3.1.1";
+ version = "0.3.0";
};
gitlab-license = {
source = {
@@ -1279,13 +1412,15 @@
version = "0.4.0";
};
gitlab-styles = {
- dependencies = ["rubocop" "rubocop-gitlab-security" "rubocop-rspec"];
+ dependencies = ["rubocop" "rubocop-gitlab-security" "rubocop-performance" "rubocop-rspec"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0nkciak0qq17pqc667nkdjx0vp8kk9w27d6jmimvi6cjzb38zmqa";
+ sha256 = "1vxlvbq4jpq0cfjqippz9d3j73sq9qg3pna5pb0l8jr0rc0xs89y";
type = "gem";
};
- version = "2.5.1";
+ version = "2.7.0";
};
gitlab_omniauth-ldap = {
dependencies = ["net-ldap" "omniauth" "pyu-ruby-sasl" "rubyntlm"];
@@ -1326,21 +1461,25 @@
version = "0.23.4";
};
google-protobuf = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "134d3ini9ymdwxpz445m28ss9x0m6vcpijcdkzvgk4n538wdmppf";
+ sha256 = "04988m3hmllg4sl4syjb35x0wzsg7rj1nmvhx3d9ihml22w76gb2";
type = "gem";
};
- version = "3.6.1";
+ version = "3.7.1";
};
googleapis-common-protos-types = {
dependencies = ["google-protobuf"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "05pimdvigqv1ip4r4qg4i3irpzzfbx5h7hjc82cpvap337gdhsqj";
+ sha256 = "0hyr94cafiqj0k8q19hnl658pmbz2b404akikzfv4hdb1j1bwsg1";
type = "gem";
};
- version = "1.0.3";
+ version = "1.0.4";
};
googleauth = {
dependencies = ["faraday" "jwt" "memoist" "multi_json" "os" "signet"];
@@ -1380,12 +1519,14 @@
};
grape-path-helpers = {
dependencies = ["activesupport" "grape" "rake"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "13h5575xfc144wsr48sp3qngpwvh4ikz4r3m55j8jmdr6sa16rbw";
+ sha256 = "16l6lrv4h4ls0lrpj35pc00431q2rx6r9n47337qyvprxs3v0a01";
type = "gem";
};
- version = "1.0.6";
+ version = "1.1.0";
};
grape_logging = {
dependencies = ["grape"];
@@ -1413,14 +1554,27 @@
};
version = "1.8.1";
};
- grpc = {
- dependencies = ["google-protobuf" "googleapis-common-protos-types"];
+ graphql-docs = {
+ dependencies = ["commonmarker" "escape_utils" "extended-markdown-filter" "gemoji" "graphql" "html-pipeline" "sass"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0m2wspnm1cfkmhlbp7yqv5bb4vsfh246cm0aavxra67aw4l8plhb";
+ sha256 = "12wzsikbn54b2hcv100hz7isq5gdjm5w5b8xya64ra5sw6sabq8d";
type = "gem";
};
- version = "1.15.0";
+ version = "1.6.0";
+ };
+ grpc = {
+ dependencies = ["google-protobuf" "googleapis-common-protos-types"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1rdywzism5vxz8pnml6xjb9f19diclyy74014z69q01jzqwi1wgs";
+ type = "gem";
+ };
+ version = "1.19.0";
};
gssapi = {
dependencies = ["ffi"];
@@ -1442,12 +1596,14 @@
};
haml_lint = {
dependencies = ["haml" "rainbow" "rake" "rubocop" "sysexits"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "125aj0j84nx5gqm42hfx5d8486higlra423ahgfpsdjwbp399rwv";
+ sha256 = "1k6pvb2lc6d72nq01jqmi3mxpp80m9mmbc265kgaxmcnjxqhacb1";
type = "gem";
};
- version = "0.28.0";
+ version = "0.31.0";
};
hamlit = {
dependencies = ["temple" "thor" "tilt"];
@@ -1500,6 +1656,16 @@
};
version = "2.6.0";
};
+ heapy = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r9f38fpgjgaxskkwvsliijj6vfmgsff9pnranvvvzkdl67hk1hw";
+ type = "gem";
+ };
+ version = "0.1.4";
+ };
hipchat = {
dependencies = ["httparty" "mimemagic"];
groups = ["default"];
@@ -1643,6 +1809,16 @@
};
version = "0.10.0";
};
+ jaro_winkler = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1zz27z88qznix4r65gd9h56gl177snlfpgv10b0s69vi8qpl909l";
+ type = "gem";
+ };
+ version = "1.5.2";
+ };
jira-ruby = {
dependencies = ["activesupport" "multipart-post" "oauth"];
source = {
@@ -1755,6 +1931,16 @@
};
version = "1.17.0";
};
+ kramdown = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1n1c4jmrh5ig8iv1rw81s4mw4xsp4v97hvf8zkigv4hn5h542qjq";
+ type = "gem";
+ };
+ version = "1.17.0";
+ };
kubeclient = {
dependencies = ["http" "recursive-open-struct" "rest-client"];
source = {
@@ -1775,21 +1961,25 @@
};
letter_opener = {
dependencies = ["launchy"];
+ groups = ["default" "development"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1pcrdbxvp2x5six8fqn8gf09bn9rd3jga76ds205yph5m8fsda21";
+ sha256 = "09a7kgsmr10a0hrc9bwxglgqvppjxij9w8bxx91mnvh0ivaw0nq9";
type = "gem";
};
- version = "1.4.1";
+ version = "1.7.0";
};
letter_opener_web = {
dependencies = ["actionmailer" "letter_opener" "railties"];
+ groups = ["development"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "050x5cwqbxj2cydd2pzy9vfhmpgn1w6lfbwjaax1m1vpkn3xg9bv";
+ sha256 = "17qhwrkncrrp1bi2f7fbkm5lpnkdsiwy8jcvgr2wa97ck8y4x2bb";
type = "gem";
};
- version = "1.3.0";
+ version = "1.3.4";
};
license_finder = {
dependencies = ["rubyzip" "thor" "toml" "with_env" "xml-simple"];
@@ -1852,6 +2042,28 @@
};
version = "0.9.1";
};
+ marcel = {
+ dependencies = ["mimemagic"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1nxbjmcyg8vlw6zwagf17l9y2mwkagmmkg95xybpn4bmf3rfnksx";
+ type = "gem";
+ };
+ version = "0.3.3";
+ };
+ mdl = {
+ dependencies = ["kramdown" "mixlib-cli" "mixlib-config"];
+ groups = ["development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "047hp8z1ma630wp38bm1giklkf385rp6wly8aidn825q831w2g4i";
+ type = "gem";
+ };
+ version = "0.5.0";
+ };
memoist = {
source = {
remotes = ["https://rubygems.org"];
@@ -1869,6 +2081,16 @@
};
version = "0.4.2";
};
+ memory_profiler = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1xki7jrbzylsmk1brjibmhifb0x70skr55pdq4rvxcyrlnrrvyxz";
+ type = "gem";
+ };
+ version = "0.9.13";
+ };
method_source = {
source = {
remotes = ["https://rubygems.org"];
@@ -1887,12 +2109,14 @@
version = "3.2.2";
};
mime-types-data = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07wvp0aw2gjm4njibb70as6rh5hi1zzri5vky1q6jx95h8l56idc";
+ sha256 = "1m00pg19cm47n1qlcxgl91ajh2yq0fszvn1vy8fy0s1jkrp9fw4a";
type = "gem";
};
- version = "3.2018.0812";
+ version = "3.2019.0331";
};
mimemagic = {
source = {
@@ -1934,13 +2158,36 @@
};
version = "5.11.3";
};
- msgpack = {
+ mixlib-cli = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0031gd2mjyba6jb7m97sqa149zjkr0vzn2s2gpb3m9nb67gqkm13";
+ sha256 = "0647msh7kp7lzyf6m72g6snpirvhimjm22qb8xgv9pdhbcrmcccp";
type = "gem";
};
- version = "1.2.6";
+ version = "1.7.0";
+ };
+ mixlib-config = {
+ dependencies = ["tomlrb"];
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1gm6yj9cbbgsl9x4xqxga0vz5w0ksq2jnq1wj8hvgm5c4wfcrswb";
+ type = "gem";
+ };
+ version = "2.2.18";
+ };
+ msgpack = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1w38hilm3dk42dwk8ygiq49bl4in7y80hfqr63hk54mj4gmzi6ch";
+ type = "gem";
+ };
+ version = "1.2.10";
};
multi_json = {
source = {
@@ -2024,12 +2271,14 @@
version = "2.1.3";
};
net-ssh = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0hj2i8rk5wb6235r5n19in1hkrp1fbz2bf40xmagavb5ahv7205w";
+ sha256 = "101wd2px9lady54aqmkibvy4j62zk32w0rjz4vnigyg974fsga40";
type = "gem";
};
- version = "5.0.1";
+ version = "5.2.0";
};
netrc = {
source = {
@@ -2049,12 +2298,14 @@
};
nokogiri = {
dependencies = ["mini_portile2"];
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "09zll7c6j7xr6wyvh5mm5ncj6pkryp70ybcsxdbw1nyphx5dh184";
+ sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
type = "gem";
};
- version = "1.10.1";
+ version = "1.10.3";
};
nokogumbo = {
dependencies = ["nokogiri"];
@@ -2225,6 +2476,17 @@
};
version = "0.2.2";
};
+ omniauth-salesforce = {
+ dependencies = ["omniauth" "omniauth-oauth2"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0sr7xmffx6dbsrvnh6spka5ljyzf69iac754xw5r1736py41qhpj";
+ type = "gem";
+ };
+ version = "1.0.5";
+ };
omniauth-saml = {
dependencies = ["omniauth" "ruby-saml"];
source = {
@@ -2252,6 +2514,17 @@
};
version = "1.4.0";
};
+ omniauth-ultraauth = {
+ dependencies = ["omniauth_openid_connect"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1z8gz8ql4vb8y5n4lr67afnjmp23bpqi18dmda5psigvd2jddyn8";
+ type = "gem";
+ };
+ version = "0.0.2";
+ };
omniauth_crowd = {
dependencies = ["activesupport" "nokogiri" "omniauth"];
source = {
@@ -2261,13 +2534,37 @@
};
version = "2.2.3";
};
- opentracing = {
+ omniauth_openid_connect = {
+ dependencies = ["addressable" "omniauth" "openid_connect"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1xgwc46bd038zzqyasn5grqgk74v8vxmpdwivw2sp0fdldj1d9rf";
+ sha256 = "0ja7cjlm4z0k0pwwy64djl58pay3lzkw7im565fybs4a8q4wmacb";
type = "gem";
};
- version = "0.4.3";
+ version = "0.3.1";
+ };
+ openid_connect = {
+ dependencies = ["activemodel" "attr_required" "json-jwt" "rack-oauth2" "swd" "tzinfo" "validate_email" "validate_url" "webfinger"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r13bv18nyvw0g1nw3fzffvv2si99zj24w0k5zgawf4q6nn5f7vd";
+ type = "gem";
+ };
+ version = "1.1.6";
+ };
+ opentracing = {
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "11lj1d8vq0hkb5hjz8q4lm82cddrggpbb33dhqfn7rxhwsmxgdfy";
+ type = "gem";
+ };
+ version = "0.5.0";
};
optimist = {
source = {
@@ -2303,21 +2600,25 @@
version = "1.0.0";
};
parallel = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "01hj8v1qnyl5ndrs33g8ld8ibk0rbcqdpkpznr04gkbxd11pqn67";
+ sha256 = "1x1gzgjrdlkm1aw0hfpyphsxcx90qgs3y4gmp9km3dvf4hc4qm8r";
type = "gem";
};
- version = "1.12.1";
+ version = "1.17.0";
};
parser = {
dependencies = ["ast"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zjk0w1kjj3xk8ymy1430aa4gg0k8ckphfj88br6il4pm83f0n1f";
+ sha256 = "1pnks149x0fzgqiw53qlmvcd8bi746cxdw03sjljby5s97p1fskn";
type = "gem";
};
- version = "2.5.3.0";
+ version = "2.6.3.0";
};
parslet = {
source = {
@@ -2400,14 +2701,6 @@
};
version = "1.0.1";
};
- powerpack = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "1fnn3fli5wkzyjl4ryh0k90316shqjfnhydmc7f8lqpi0q21va43";
- type = "gem";
- };
- version = "0.1.1";
- };
premailer = {
dependencies = ["addressable" "css_parser" "htmlentities"];
source = {
@@ -2444,12 +2737,14 @@
version = "0.0.3";
};
prometheus-client-mmap = {
+ groups = ["metrics"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "14ww8c2qy43jw3fzmq54hsljmqmlx9a7zg9sv6ddw48qy118ls10";
+ sha256 = "01f1zkpi7qsmgmk17fpq6ck7jn64sa9afsq20vc5k9f6mpyqkncd";
type = "gem";
};
- version = "0.9.4";
+ version = "0.9.8";
};
pry = {
dependencies = ["coderay" "method_source"];
@@ -2479,12 +2774,14 @@
version = "0.3.6";
};
public_suffix = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
+ sha256 = "1c7c5xxkx91hwj4572hbnyvxmydb90q69wlpr2l0dxrmwx2p365l";
type = "gem";
};
- version = "3.0.3";
+ version = "3.1.0";
};
puma = {
source = {
@@ -2586,23 +2883,35 @@
};
rack-test = {
dependencies = ["rack"];
+ groups = ["default" "development" "mysql" "postgres" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0h6x5jq24makgv2fq5qqgjlrk74dxfy62jif9blk43llw8ib2q7z";
+ sha256 = "0rh8h376mx71ci5yklnpqqn118z3bl67nnv5k801qaqn1zs62h8m";
type = "gem";
};
- version = "0.6.3";
+ version = "1.1.0";
+ };
+ rack-timeout = {
+ groups = ["puma"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "15xph8h6v0lvq9pxm3bc9i9pnk2k68rgdr1mp0dw4l7v1xvhs78a";
+ type = "gem";
+ };
+ version = "0.5.1";
};
rails = {
- dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activesupport" "railties" "sprockets-rails"];
+ dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activestorage" "activesupport" "railties" "sprockets-rails"];
groups = ["default" "development" "test"];
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0amqbd8kl6vmilfhlkf2w0l33x688jssjbra7s717kjqzb4fmqiw";
+ sha256 = "1p7cszi3n9ksxchxnccmz61pd1i3rjg4813dsdinsm8xm5k1pdgr";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
rails-controller-testing = {
dependencies = ["actionpack" "actionview" "activesupport"];
@@ -2613,15 +2922,6 @@
};
version = "1.0.2";
};
- rails-deprecated_sanitizer = {
- dependencies = ["activesupport"];
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0qxymchzdxww8bjsxj05kbf86hsmrjx40r41ksj0xsixr2gmhbbj";
- type = "gem";
- };
- version = "1.0.3";
- };
rails-dom-testing = {
dependencies = ["activesupport" "nokogiri"];
source = {
@@ -2655,10 +2955,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "064w0n33l0wik5i00b4ry7iqv1nb3xhdpjvm55ycx2abpqnlrhjd";
+ sha256 = "1gn9fwb5wm08fbj7zpilqgblfl315l5b7pg4jsvxlizvrzg8h8q4";
type = "gem";
};
- version = "5.0.7.2";
+ version = "5.2.3";
};
rainbow = {
source = {
@@ -2825,12 +3125,14 @@
version = "1.6.0";
};
regexp_parser = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "18g5jyg3blsdrz3mc8d87bms6qqn6gcdh1nvdhvgbjdpk9pw21dq";
+ sha256 = "0dsgjb3kszk6a82s6gl0h6a8vncjrxmcbk0r4mcxcdcad2b7vb2d";
type = "gem";
};
- version = "1.3.0";
+ version = "1.5.1";
};
regexp_property_values = {
source = {
@@ -2900,12 +3202,14 @@
version = "2.1.2";
};
rouge = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1digsi2s8wyzx8vsqcxasw205lg6s7izx8jypl8rrpjwshmv83ql";
+ sha256 = "0yfhazlhjc4abgzhkgq8zqmdphvkh52211widkl4zhsbhqh8wg2q";
type = "gem";
};
- version = "3.3.0";
+ version = "3.5.1";
};
rqrcode = {
dependencies = ["chunky_png"];
@@ -2927,66 +3231,80 @@
};
rspec = {
dependencies = ["rspec-core" "rspec-expectations" "rspec-mocks"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0134g96wzxjlig2gxzd240gm2dxfw8izcyi2h6hjmr40syzcyx01";
+ sha256 = "15ppasvb9qrscwlyjz67ppw1lnxiqnkzx5vkx1bd8x5n3dhikxc3";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.0";
};
rspec-core = {
dependencies = ["rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0zvjbymx3avxm3lf8v4gka3a862vnaxldmwvp6767bpy48nhnvjj";
+ sha256 = "0spjgmd3yx6q28q950r32bi0cs8h2si53zn6rq8s7n1i4zp4zwbf";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.2";
};
rspec-expectations = {
dependencies = ["diff-lcs" "rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1fw06wm8jdj8k7wrb8xmzj0fr1wjyb0ya13x31hidnyblm41hmvy";
+ sha256 = "0x3iddjjaramqb0yb51c79p2qajgi9wb5b59bzv25czddigyk49r";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.4";
};
rspec-mocks = {
dependencies = ["diff-lcs" "rspec-support"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0b02ya3qhqgmcywqv4570dlhav70r656f7dmvwg89whpkq1z1xr3";
+ sha256 = "12zplnsv4p6wvvxsk8xn6nm87a5qadxlkk497zlxfczd0jfawrni";
type = "gem";
};
- version = "3.7.0";
+ version = "3.8.1";
};
rspec-parameterized = {
dependencies = ["binding_ninja" "parser" "proc_to_ast" "rspec" "unparser"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "159yw3mb4dab5kr18a97miyyi7dqmyrfjp3aw6r6j9i4xkc4xk3a";
+ sha256 = "1c0892jbaznnldk1wi24qxm70g4zhw2idqx516rhgdzgd7yh5j31";
type = "gem";
};
- version = "0.4.1";
+ version = "0.4.2";
};
rspec-rails = {
dependencies = ["actionpack" "activesupport" "railties" "rspec-core" "rspec-expectations" "rspec-mocks" "rspec-support"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0cdcnbv5dppwy3b4jdp5a0wd9m07a8wlqwb9yazn8i7k1k2mwgvx";
+ sha256 = "1pf6n9l4sw1arlax1bdbm1znsvl8cgna2n6k6yk1bi8vz2n73ls1";
type = "gem";
};
- version = "3.7.2";
+ version = "3.8.2";
};
rspec-retry = {
dependencies = ["rspec-core"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0izvxab7jvk25kaprk0i72asjyh1ip3cm70bgxlm8lpid35qjar6";
+ sha256 = "1nnqcg2yd3nn187zbvh4cgx8xsvdk56lz1985qy7232v7i8yidw6";
type = "gem";
};
- version = "0.4.5";
+ version = "0.6.1";
};
rspec-set = {
source = {
@@ -2997,12 +3315,14 @@
version = "0.1.3";
};
rspec-support = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1nl30xb6jmcl0awhqp6jycl01wdssblifwy921phfml70rd9flj1";
+ sha256 = "139mbhfdr10flm2ffryvxkyqgqs1gjdclc1xhyh7i7njfqayxk7g";
type = "gem";
};
- version = "3.7.1";
+ version = "3.8.2";
};
rspec_junit_formatter = {
dependencies = ["rspec-core"];
@@ -3023,13 +3343,15 @@
version = "0.0.5";
};
rubocop = {
- dependencies = ["parallel" "parser" "powerpack" "rainbow" "ruby-progressbar" "unicode-display_width"];
+ dependencies = ["jaro_winkler" "parallel" "parser" "rainbow" "ruby-progressbar" "unicode-display_width"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "106y99lq0fg62k3vk1w5wwb4vq16pnh4l61skc82xck627z0h8is";
+ sha256 = "1cmw8ajaiidvrzjcsljh47f4l3lmcazqrzljgalj3szkr8ibkk5i";
type = "gem";
};
- version = "0.54.0";
+ version = "0.69.0";
};
rubocop-gitlab-security = {
dependencies = ["rubocop"];
@@ -3040,6 +3362,17 @@
};
version = "0.1.1";
};
+ rubocop-performance = {
+ dependencies = ["rubocop"];
+ groups = ["development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0azzgj62w24wa4hza1qn7i9b9crxdh907kydlzcvhismx41h3lzk";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
rubocop-rspec = {
dependencies = ["rubocop"];
source = {
@@ -3076,12 +3409,14 @@
version = "0.17.0";
};
ruby-progressbar = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1igh1xivf5h5g3y5m9b4i4j2mhz2r43kngh4ww3q1r80ch21nbfk";
+ sha256 = "1cv2ym3rl09svw8940ny67bav7b2db4ms39i4raaqzkf59jmhglk";
type = "gem";
};
- version = "1.9.0";
+ version = "1.10.0";
};
ruby-saml = {
dependencies = ["nokogiri"];
@@ -3094,12 +3429,14 @@
};
ruby_parser = {
dependencies = ["sexp_processor"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0mysmdyxhvyn6dhshfxyw762f9asr3kxw45idvw1bh6np31kk4j1";
+ sha256 = "0s3hsccsmrirc2hy3r51kl8g9cfmcn7jxaa0asadg1kn78h1sgr7";
type = "gem";
};
- version = "3.11.0";
+ version = "3.13.1";
};
rubyntlm = {
source = {
@@ -3170,14 +3507,27 @@
};
version = "4.0.0";
};
- sass-rails = {
- dependencies = ["railties" "sass" "sprockets" "sprockets-rails" "tilt"];
+ sassc = {
+ dependencies = ["ffi" "rake"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0iji20hb8crncz14piss1b29bfb6l89sz3ai5fny3iw39vnxkdcb";
+ sha256 = "1sr4825rlwsrl7xrsm0sgalcpf5zgp4i56dbi3qxfa9lhs8r6zh4";
type = "gem";
};
- version = "5.0.6";
+ version = "2.0.1";
+ };
+ sassc-rails = {
+ dependencies = ["railties" "sassc" "sprockets" "sprockets-rails" "tilt"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "18mgdjxdzpbw92zrllynxw7jn7yihi85j3dg7i4f6c39w1scqkbn";
+ type = "gem";
+ };
+ version = "2.1.0";
};
sawyer = {
dependencies = ["addressable" "faraday"];
@@ -3208,12 +3558,14 @@
};
selenium-webdriver = {
dependencies = ["childprocess" "rubyzip"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "07bl3wjkf254r3ljfl4qdazz5aw60s6nqjwrbbgq754j9b7226kz";
+ sha256 = "114hv2ajmh6d186v2w887yqakqcxyxq367l0iakrrpvwviknrhfs";
type = "gem";
};
- version = "3.12.0";
+ version = "3.141.0";
};
sentry-raven = {
dependencies = ["faraday"];
@@ -3235,12 +3587,14 @@
version = "2.0.9";
};
sexp_processor = {
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1vnmphfrd86694x5k7rxddbhbvv5rqbglsc34kfryy4jqhbzz42c";
+ sha256 = "0w24rgmyjf7yz0xr2qhbr8z48h4m6gvbggr8nc1pldwn9rbi04b7";
type = "gem";
};
- version = "4.11.0";
+ version = "4.12.0";
};
sham_rack = {
dependencies = ["rack"];
@@ -3253,21 +3607,25 @@
};
shoulda-matchers = {
dependencies = ["activesupport"];
+ groups = ["test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zvv94pqk5b5my3w1shdz7h34xf2ldhg5k4qfdpbwi2iy0j9zw2a";
+ sha256 = "1s6a2i39lsqq8rrkk2pddqcb10bsihxy3v5gpnc2gk8xakj1brdq";
type = "gem";
};
- version = "3.1.2";
+ version = "4.0.1";
};
sidekiq = {
dependencies = ["connection_pool" "rack" "rack-protection" "redis"];
+ groups = ["default"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1caiq5f5z5vzfria554n04pcbwc8zixf1fpavaksly9zywr3pc29";
+ sha256 = "131zv8i341bkacxx7n1id2cmblkbs379farnibqg8c7bycd1iajq";
type = "gem";
};
- version = "5.2.5";
+ version = "5.2.7";
};
sidekiq-cron = {
dependencies = ["fugit" "sidekiq"];
@@ -3297,20 +3655,24 @@
};
simplecov = {
dependencies = ["docile" "json" "simplecov-html"];
+ groups = ["development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1r9fnsnsqj432cmrpafryn8nif3x0qg9mdnvrcf0wr01prkdlnww";
+ sha256 = "1sfyfgf7zrp2n42v7rswkqgk3bbwk1bnsphm24y7laxv3f8z0947";
type = "gem";
};
- version = "0.14.1";
+ version = "0.16.1";
};
simplecov-html = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1qni8g0xxglkx25w54qcfbi4wjkpvmb28cb7rj5zk3iqynjcdrqf";
+ sha256 = "1lihraa4rgxk8wbfl77fy9sf0ypk31iivly8vl3w04srd7i0clzn";
type = "gem";
};
- version = "0.10.0";
+ version = "0.10.2";
};
slack-notifier = {
source = {
@@ -3417,6 +3779,17 @@
};
version = "0.5.1";
};
+ swd = {
+ dependencies = ["activesupport" "attr_required" "httpclient"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1s2vjb6f13za7p1iycl2p73d3p202xa6xny9fjrp8ynwsqix7lyd";
+ type = "gem";
+ };
+ version = "1.1.2";
+ };
sys-filesystem = {
dependencies = ["ffi"];
source = {
@@ -3435,12 +3808,14 @@
version = "1.2.0";
};
temple = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "00nxf610nzi4n1i2lkby43nrnarvl89fcl6lg19406msr0k3ycmq";
+ sha256 = "158d7ygbwcifqnvrph219p7m78yjdjazhykv5darbkms7bxm5y09";
type = "gem";
};
- version = "0.8.0";
+ version = "0.8.1";
};
test-prof = {
source = {
@@ -3492,12 +3867,14 @@
version = "0.11.0.0";
};
tilt = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0020mrgdf11q23hm1ddd6fv691l51vi10af00f137ilcdb2ycfra";
+ sha256 = "0ca4k0clwf0rkvy7726x4nxpjxkpv67w043i39saxgldxd97zmwz";
type = "gem";
};
- version = "2.0.8";
+ version = "2.0.9";
};
timecop = {
source = {
@@ -3533,6 +3910,16 @@
};
version = "1.0.0";
};
+ tomlrb = {
+ groups = ["default" "development" "test"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0g28ssfal6vry3cmhy509ba3vi5d5aggz1gnffnvvmc8ml8vkpiv";
+ type = "gem";
+ };
+ version = "1.2.8";
+ };
truncato = {
dependencies = ["htmlentities" "nokogiri"];
source = {
@@ -3594,12 +3981,14 @@
version = "0.0.7.5";
};
unicode-display_width = {
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0x31fgv1acywbb50prp7y4fr677c2d9gsl6wxmfcrlxbwz7nxn5n";
+ sha256 = "08kfiniak1pvg3gn5k6snpigzvhvhyg7slmm0s2qx5zkj62c1z2w";
type = "gem";
};
- version = "1.3.2";
+ version = "1.6.0";
};
unicorn = {
dependencies = ["kgio" "raindrops"];
@@ -3629,12 +4018,36 @@
};
unparser = {
dependencies = ["abstract_type" "adamantium" "concord" "diff-lcs" "equalizer" "parser" "procto"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0w662glqi7hwmfvx0smxckxgc7kw5bsqhqz0pyvalbyv1gc0gs2x";
+ sha256 = "03vjj74kj86vlazhiclf63kf6gajs66k8ni34q70fdhf97d7b60c";
type = "gem";
};
- version = "0.4.2";
+ version = "0.4.5";
+ };
+ validate_email = {
+ dependencies = ["activemodel" "mail"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1r1fz29l699arka177c9xw7409d1a3ff95bf7a6pmc97slb91zlx";
+ type = "gem";
+ };
+ version = "0.1.6";
+ };
+ validate_url = {
+ dependencies = ["activemodel" "public_suffix"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "1k0bfxzvdcf1nrqhvnyhijc4mwab9wn4qvqb0ynq6p8dj0f866zi";
+ type = "gem";
+ };
+ version = "1.0.8";
};
validates_hostname = {
dependencies = ["activerecord" "activesupport"];
@@ -3679,6 +4092,17 @@
};
version = "1.2.7";
};
+ webfinger = {
+ dependencies = ["activesupport" "httpclient"];
+ groups = ["default"];
+ platforms = [];
+ source = {
+ remotes = ["https://rubygems.org"];
+ sha256 = "0m0jh8k7c0ifh2jhbn7ihqrmn5fi754wflva97zgy70hpdvxyjar";
+ type = "gem";
+ };
+ version = "1.1.0";
+ };
webmock = {
dependencies = ["addressable" "crack" "hashdiff"];
source = {
@@ -3699,12 +4123,14 @@
};
websocket-driver = {
dependencies = ["websocket-extensions"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1943442yllhldh9dbp374x2q39cxa49xrm28nb78b7mfbv3y195l";
+ sha256 = "1551k3fs3kkb3ghqfj3n5lps0ikb9pyrdnzmvgfdxy8574n4g1dn";
type = "gem";
};
- version = "0.6.5";
+ version = "0.7.0";
};
websocket-extensions = {
source = {
@@ -3741,11 +4167,13 @@
};
xpath = {
dependencies = ["nokogiri"];
+ groups = ["default" "development" "test"];
+ platforms = [];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1ha626m6fh50fpilb9pdnmq9xl586w7c0zyidg895c3iq13rqgyw";
+ sha256 = "0bh8lk9hvlpn7vmi6h4hkcwjzvs2y0cmkk3yjjdr8fxvj6fsgzbd";
type = "gem";
};
- version = "2.1.0";
+ version = "3.2.0";
};
}
\ No newline at end of file
diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py
index 0ec743cb67d..650bd73aa84 100755
--- a/pkgs/applications/version-management/gitlab/update.py
+++ b/pkgs/applications/version-management/gitlab/update.py
@@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
-#! nix-shell -i python3 -p bundix common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log
+#! nix-shell -i python3 -p bundix common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix
import click
import click_log
@@ -35,8 +35,8 @@ class GitLabRepo:
tree = ElementTree.fromstring(r.content)
versions = [e.text for e in tree.findall('{http://www.w3.org/2005/Atom}entry/{http://www.w3.org/2005/Atom}title')]
# filter out versions not matching version_regex
- versions = filter(self.version_regex.match, versions)
-
+ versions = list(filter(self.version_regex.match, versions))
+
# sort, but ignore v and -ee for sorting comparisons
versions.sort(key=lambda x: LooseVersion(x.replace("v", "").replace("-ee", "")), reverse=True)
return versions
@@ -194,13 +194,21 @@ def update_gitaly():
data = _get_data_json()
gitaly_server_version = data['ce']['passthru']['GITALY_SERVER_VERSION']
r = GitLabRepo('gitlab-org', 'gitaly')
- rubyenv_dir = pathlib.Path(__file__).parent / 'gitaly'
+ gitaly_dir = pathlib.Path(__file__).parent / 'gitaly'
for fn in ['Gemfile.lock', 'Gemfile']:
- with open(rubyenv_dir / fn, 'w') as f:
+ with open(gitaly_dir / fn, 'w') as f:
f.write(r.get_file(f"ruby/{fn}", f"v{gitaly_server_version}"))
- subprocess.check_output(['bundix'], cwd=rubyenv_dir)
+ for fn in ['go.mod', 'go.sum']:
+ with open(gitaly_dir / fn, 'w') as f:
+ f.write(r.get_file(fn, f"v{gitaly_server_version}"))
+
+ subprocess.check_output(['bundix'], cwd=gitaly_dir)
+ subprocess.check_output(['vgo2nix'], cwd=gitaly_dir)
+
+ for fn in ['go.mod', 'go.sum']:
+ os.unlink(gitaly_dir / fn)
# currently broken, as `gitaly.meta.position` returns
# pkgs/development/go-modules/generic/default.nix
# so update-source-version doesn't know where to update hashes
diff --git a/pkgs/applications/version-management/gitolite/default.nix b/pkgs/applications/version-management/gitolite/default.nix
index 78dd9dd49df..7c157191ab9 100644
--- a/pkgs/applications/version-management/gitolite/default.nix
+++ b/pkgs/applications/version-management/gitolite/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, git, nettools, perl }:
stdenv.mkDerivation rec {
- name = "gitolite-${version}";
+ pname = "gitolite";
version = "3.6.11";
src = fetchFromGitHub {
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Finely-grained git repository hosting";
- homepage = http://gitolite.com/gitolite/index.html;
+ homepage = https://gitolite.com/gitolite/index.html;
license = licenses.gpl2;
platforms = platforms.unix;
maintainers = [ maintainers.thoughtpolice maintainers.lassulus maintainers.tomberek ];
diff --git a/pkgs/applications/version-management/gitstats/default.nix b/pkgs/applications/version-management/gitstats/default.nix
index 64b6e2107f6..5d29c8fcb6c 100644
--- a/pkgs/applications/version-management/gitstats/default.nix
+++ b/pkgs/applications/version-management/gitstats/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchzip, perl, python, gnuplot, coreutils, gnugrep }:
stdenv.mkDerivation rec {
- name = "gitstats-${version}";
+ pname = "gitstats";
version = "2016-01-08";
# upstream does not make releases
src = fetchzip {
url = "https://github.com/hoxu/gitstats/archive/55c5c285558c410bb35ebf421245d320ab9ee9fa.zip";
sha256 = "1bfcwhksylrpm88vyp33qjby4js31zcxy7w368dzjv4il3fh2i59";
- name = name + "-src";
+ name = "${pname}-${version}" + "-src";
};
buildInputs = [ perl python ];
diff --git a/pkgs/applications/version-management/gogs/default.nix b/pkgs/applications/version-management/gogs/default.nix
index 0587bc9af76..c2153ebea89 100644
--- a/pkgs/applications/version-management/gogs/default.nix
+++ b/pkgs/applications/version-management/gogs/default.nix
@@ -7,7 +7,7 @@
with stdenv.lib;
buildGoPackage rec {
- name = "gogs-${version}";
+ pname = "gogs";
version = "0.11.86";
src = fetchFromGitHub {
diff --git a/pkgs/applications/version-management/gource/default.nix b/pkgs/applications/version-management/gource/default.nix
index 0d2c4d74267..0a24cfbb3a0 100644
--- a/pkgs/applications/version-management/gource/default.nix
+++ b/pkgs/applications/version-management/gource/default.nix
@@ -4,10 +4,10 @@
stdenv.mkDerivation rec {
version = "0.49";
- name = "gource-${version}";
+ pname = "gource";
src = fetchurl {
- url = "https://github.com/acaudwell/Gource/releases/download/${name}/${name}.tar.gz";
+ url = "https://github.com/acaudwell/Gource/releases/download/${pname}-${version}/${pname}-${version}.tar.gz";
sha256 = "12hf5ipcsp9dxsqn84n4kr63xaiskrnf5a084wr29qk171lj7pd9";
};
diff --git a/pkgs/applications/version-management/guitone/default.nix b/pkgs/applications/version-management/guitone/default.nix
index 33d2eb89ad0..92bc9f51cac 100644
--- a/pkgs/applications/version-management/guitone/default.nix
+++ b/pkgs/applications/version-management/guitone/default.nix
@@ -1,8 +1,9 @@
{ stdenv, fetchmtn, qt4, qmake4Hook, pkgconfig, graphviz }:
let version = "1.0-mtn-head"; in
-stdenv.mkDerivation rec {
- name = "guitone-${version}";
+stdenv.mkDerivation {
+ pname = "guitone";
+ inherit version;
#src = fetchurl {
# url = "${meta.homepage}/count.php/from=default/${version}/${name}.tgz";
diff --git a/pkgs/applications/version-management/meld/default.nix b/pkgs/applications/version-management/meld/default.nix
index 168827c3548..5342a0697ab 100644
--- a/pkgs/applications/version-management/meld/default.nix
+++ b/pkgs/applications/version-management/meld/default.nix
@@ -60,6 +60,6 @@ python3.pkgs.buildPythonApplication rec {
homepage = http://meldmerge.org/;
license = licenses.gpl2;
platforms = platforms.linux ++ platforms.darwin;
- maintainers = with maintainers; [ jtojnar mimadrid ];
+ maintainers = with maintainers; [ jtojnar mimame ];
};
}
diff --git a/pkgs/applications/version-management/mercurial/default.nix b/pkgs/applications/version-management/mercurial/default.nix
index 7f72e24aa53..ee0ab375666 100644
--- a/pkgs/applications/version-management/mercurial/default.nix
+++ b/pkgs/applications/version-management/mercurial/default.nix
@@ -1,20 +1,23 @@
{ stdenv, fetchurl, python2Packages, makeWrapper, unzip
, guiSupport ? false, tk ? null
-, ApplicationServices }:
+, ApplicationServices
+, mercurialSrc ? fetchurl rec {
+ meta.name = "mercurial-${meta.version}";
+ meta.version = "4.9.1";
+ url = "https://mercurial-scm.org/release/${meta.name}.tar.gz";
+ sha256 = "0iybbkd9add066729zg01kwz5hhc1s6lhp9rrnsmzq6ihyxj3p8v";
+ }
+}:
let
- # if you bump version, update pkgs.tortoisehg too or ping maintainer
- version = "4.9.1";
- name = "mercurial-${version}";
inherit (python2Packages) docutils hg-git dulwich python;
-in python2Packages.buildPythonApplication {
- inherit name;
- format = "other";
- src = fetchurl {
- url = "https://mercurial-scm.org/release/${name}.tar.gz";
- sha256 = "0iybbkd9add066729zg01kwz5hhc1s6lhp9rrnsmzq6ihyxj3p8v";
- };
+in python2Packages.buildPythonApplication {
+
+ inherit (mercurialSrc.meta) name version;
+ src = mercurialSrc;
+
+ format = "other";
inherit python; # pass it so that the same version can be used in hg2git
@@ -55,7 +58,7 @@ in python2Packages.buildPythonApplication {
'';
meta = {
- inherit version;
+ inherit (mercurialSrc.meta) version;
description = "A fast, lightweight SCM system for very large distributed projects";
homepage = https://www.mercurial-scm.org;
downloadPage = https://www.mercurial-scm.org/release/;
diff --git a/pkgs/applications/version-management/monotone-viz/default.nix b/pkgs/applications/version-management/monotone-viz/default.nix
index 3c052a26cde..bee1c82e11b 100644
--- a/pkgs/applications/version-management/monotone-viz/default.nix
+++ b/pkgs/applications/version-management/monotone-viz/default.nix
@@ -9,12 +9,12 @@ let graphviz_2_0 = import ./graphviz-2.0.nix {
}; in
stdenv.mkDerivation rec {
version = "1.0.2";
- name = "monotone-viz-${version}";
+ pname = "monotone-viz";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ocaml lablgtk libgnomecanvas glib graphviz_2_0 makeWrapper camlp4];
src = fetchurl {
- url = "http://oandrieu.nerim.net/monotone-viz/${name}-nolablgtk.tar.gz";
+ url = "http://oandrieu.nerim.net/monotone-viz/${pname}-${version}-nolablgtk.tar.gz";
sha256 = "1l5x4xqz5g1aaqbc1x80mg0yzkiah9ma9k9mivmn08alkjlakkdk";
};
diff --git a/pkgs/applications/version-management/monotone/default.nix b/pkgs/applications/version-management/monotone/default.nix
index 010d4d2f86a..7081e1a0899 100644
--- a/pkgs/applications/version-management/monotone/default.nix
+++ b/pkgs/applications/version-management/monotone/default.nix
@@ -11,7 +11,8 @@ in
assert perlVersion != "";
stdenv.mkDerivation rec {
- name = "monotone-${version}";
+ pname = "monotone";
+ inherit version;
src = fetchurl {
url = "http://monotone.ca/downloads/${version}/monotone-${version}.tar.bz2";
@@ -25,8 +26,8 @@ stdenv.mkDerivation rec {
openssl gmp bzip2 ];
postInstall = ''
- mkdir -p $out/share/${name}
- cp -rv contrib/ $out/share/${name}/contrib
+ mkdir -p $out/share/${pname}-${version}
+ cp -rv contrib/ $out/share/${pname}-${version}/contrib
mkdir -p $out/${perl.libPrefix}/${perlVersion}
cp -v contrib/Monotone.pm $out/${perl.libPrefix}/${perlVersion}
'';
diff --git a/pkgs/applications/version-management/mr/default.nix b/pkgs/applications/version-management/mr/default.nix
index 8150203814d..a4632399df0 100644
--- a/pkgs/applications/version-management/mr/default.nix
+++ b/pkgs/applications/version-management/mr/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, perl }:
-stdenv.mkDerivation rec {
- name = "mr-${version}";
+stdenv.mkDerivation {
+ pname = "mr";
version = "1.20180726";
src = fetchgit {
diff --git a/pkgs/applications/version-management/nbstripout/default.nix b/pkgs/applications/version-management/nbstripout/default.nix
index 18fb672226f..b0a7108ac07 100644
--- a/pkgs/applications/version-management/nbstripout/default.nix
+++ b/pkgs/applications/version-management/nbstripout/default.nix
@@ -1,41 +1,22 @@
-{lib, python2Packages, fetchFromGitHub, fetchurl, git, mercurial, coreutils}:
+{lib, python2Packages, git, mercurial, coreutils}:
with python2Packages;
buildPythonApplication rec {
- name = "${pname}-${version}";
- version = "0.3.1";
+ version = "0.3.6";
pname = "nbstripout";
# Mercurial should be added as a build input but because it's a Python
# application, it would mess up the Python environment. Thus, don't add it
# here, instead add it to PATH when running unit tests
- buildInputs = [ pytest pytest-flake8 pytest-cram git pytestrunner ];
+ checkInputs = [ pytest pytest-flake8 pytest-cram git ];
+ nativeBuildInputs = [ pytestrunner ];
propagatedBuildInputs = [ ipython nbformat ];
- # PyPI source is currently missing tests. Thus, use GitHub instead.
- # See: https://github.com/kynan/nbstripout/issues/73
- # Use PyPI again after it has been fixed in a release.
- src = fetchFromGitHub {
- owner = "kynan";
- repo = pname;
- rev = version;
- sha256 = "1jifqmszjzyaqzaw2ir83k5fdb04iyxdad4lclawpb42hbink9ws";
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1x6010akw7iqxn7ba5m6malfr2fvaf0bjp3cdh983qn1s7vwlq0r";
};
- patches = [
- (
- # Fix git diff tests by using --no-index.
- # See: https://github.com/kynan/nbstripout/issues/74
- #
- # Remove this patch once the pull request has been merged and a new
- # release made.
- fetchurl {
- url = "https://github.com/jluttine/nbstripout/commit/03e28424fb788dd09a95e99814977b0d0846c0b4.patch";
- sha256 = "09myfb77a2wh8lqqs9fcpam97vmaw8b7zbq8n5gwn6d80zbl7dn0";
- }
- )
- ];
-
# for some reason, darwin uses /bin/sh echo native instead of echo binary, so
# force using the echo binary
postPatch = ''
diff --git a/pkgs/applications/version-management/nitpick/default.nix b/pkgs/applications/version-management/nitpick/default.nix
index 8fb1095dc58..db9afdc0a74 100644
--- a/pkgs/applications/version-management/nitpick/default.nix
+++ b/pkgs/applications/version-management/nitpick/default.nix
@@ -7,7 +7,6 @@
buildPythonPackage rec {
pname = "nitpick";
version = "1.1";
- name = "${pname}-${version}";
format = "other";
disabled = !isPy27;
diff --git a/pkgs/applications/version-management/p4v/default.nix b/pkgs/applications/version-management/p4v/default.nix
index f82b80067bf..0020c8c2189 100644
--- a/pkgs/applications/version-management/p4v/default.nix
+++ b/pkgs/applications/version-management/p4v/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchurl, lib, qtbase, qtmultimedia, qtscript, qtsensors, qtwebkit, openssl, xkeyboard_config, makeWrapper }:
+{ stdenv, fetchurl, lib, qtbase, qtmultimedia, qtscript, qtsensors, qtwebkit, openssl, xkeyboard_config, wrapQtAppsHook }:
stdenv.mkDerivation rec {
- name = "p4v-${version}";
+ pname = "p4v";
version = "2017.3.1601999";
src = fetchurl {
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
};
dontBuild = true;
- nativeBuildInputs = [makeWrapper];
+ nativeBuildInputs = [ wrapQtAppsHook ];
ldLibraryPath = lib.makeLibraryPath [
stdenv.cc.cc.lib
@@ -22,6 +22,7 @@ stdenv.mkDerivation rec {
openssl
];
+ dontWrapQtApps = true;
installPhase = ''
mkdir $out
cp -r bin $out
@@ -31,10 +32,9 @@ stdenv.mkDerivation rec {
for f in $out/bin/*.bin ; do
patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" $f
- wrapProgram $f \
+ wrapQtApp $f \
--suffix LD_LIBRARY_PATH : ${ldLibraryPath} \
- --suffix QT_XKB_CONFIG_ROOT : ${xkeyboard_config}/share/X11/xkb \
- --suffix QT_PLUGIN_PATH : ${qtbase.bin}/${qtbase.qtPluginPrefix}
+ --suffix QT_XKB_CONFIG_ROOT : ${xkeyboard_config}/share/X11/xkb
done
'';
diff --git a/pkgs/applications/version-management/peru/default.nix b/pkgs/applications/version-management/peru/default.nix
index 8b68dddfceb..ea34617dc8b 100644
--- a/pkgs/applications/version-management/peru/default.nix
+++ b/pkgs/applications/version-management/peru/default.nix
@@ -9,7 +9,7 @@ python3Packages.buildPythonApplication rec {
src = fetchFromGitHub {
owner = "buildinspace";
repo = "peru";
- rev = "${version}";
+ rev = version;
sha256 = "0p4j51m89glx12cd65lcnbwpvin0v49wkhrx06755skr7v37pm2a";
};
diff --git a/pkgs/applications/version-management/pijul/default.nix b/pkgs/applications/version-management/pijul/default.nix
index 180664d3386..6d0e39d47bf 100644
--- a/pkgs/applications/version-management/pijul/default.nix
+++ b/pkgs/applications/version-management/pijul/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, rustPlatform, darwin, openssl, libsodium, nettle, clang, libclang, pkgconfig }:
rustPlatform.buildRustPackage rec {
- name = "pijul-${version}";
+ pname = "pijul";
version = "0.12.0";
src = fetchurl {
- url = "https://pijul.org/releases/${name}.tar.gz";
+ url = "https://pijul.org/releases/${pname}-${version}.tar.gz";
sha256 = "1rm787kkh3ya8ix0rjvj7sbrg9armm0rnpkga6gjmsbg5bx20y4q";
};
diff --git a/pkgs/applications/version-management/rabbitvcs/default.nix b/pkgs/applications/version-management/rabbitvcs/default.nix
index d3b027fada6..e9950c32549 100644
--- a/pkgs/applications/version-management/rabbitvcs/default.nix
+++ b/pkgs/applications/version-management/rabbitvcs/default.nix
@@ -1,6 +1,6 @@
{ fetchFromGitHub, lib, python2Packages, meld, subversion, gvfs, xdg_utils }:
python2Packages.buildPythonApplication rec {
- name = "rabbitvcs-${version}";
+ pname = "rabbitvcs";
version = "0.17.1";
namePrefix = "";
diff --git a/pkgs/applications/version-management/rapidsvn/default.nix b/pkgs/applications/version-management/rapidsvn/default.nix
index e799d5fac43..60486e20116 100644
--- a/pkgs/applications/version-management/rapidsvn/default.nix
+++ b/pkgs/applications/version-management/rapidsvn/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, wxGTK, subversion, apr, aprutil, python }:
stdenv.mkDerivation rec {
- name = "rapidsvn-${version}";
+ pname = "rapidsvn";
version = "0.12.1";
src = fetchurl {
- url = "http://www.rapidsvn.org/download/release/${version}/${name}.tar.gz";
+ url = "http://www.rapidsvn.org/download/release/${version}/${pname}-${version}.tar.gz";
sha256 = "1bmcqjc12k5w0z40k7fkk8iysqv4fw33i80gvcmbakby3d4d4i4p";
};
diff --git a/pkgs/applications/version-management/rcs/default.nix b/pkgs/applications/version-management/rcs/default.nix
index df1739aea57..862b9eacd62 100644
--- a/pkgs/applications/version-management/rcs/default.nix
+++ b/pkgs/applications/version-management/rcs/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, ed }:
+{ stdenv, fetchurl, fetchpatch, ed }:
stdenv.mkDerivation rec {
name = "rcs-5.9.4";
@@ -10,10 +10,51 @@ stdenv.mkDerivation rec {
buildInputs = [ ed ];
+ patches = stdenv.lib.optionals stdenv.isDarwin [
+ # This failure appears unrelated to the subject of the test. This
+ # test seems to rely on a bash bug where `test $x -nt $y` ignores
+ # subsecond values in timetamps. This bug has been fixed in Bash
+ # 5, and seemingly doesn't affect Darwin.
+ ./disable-t810.patch
+
+ (fetchpatch {
+ url = "https://raw.githubusercontent.com/macports/macports-ports/b76d1e48dac/editors/nano/files/secure_snprintf.patch";
+ extraPrefix = "";
+ sha256 = "1wy9pjw3vvp8fv8a7pmkqmiapgacfx54qj9fvsc5gwry0vv7vnc3";
+ })
+
+ # Expected to appear in the next release
+ (fetchpatch {
+ url = "https://raw.githubusercontent.com/Homebrew/formula-patches/3fff7c990b8df4174045834b9c1210e7736ff5a4/rcs/noreturn.patch";
+ sha256 = "10zniqrd6xagf3q03i1vksl0vd9nla3qcj0840n3m8z6jd4aypcx";
+ })
+ ];
+
doCheck = true;
+ checkFlags = [ "VERBOSE=1" ];
+
+ checkPhase = ''
+ # If neither LOGNAME or USER are set, rcs will default to
+ # getlogin(), which is unreliable on macOS. It will often return
+ # things like `_spotlight`, or `_mbsetupuser`. macOS sets both
+ # environment variables in user sessions, so this is unlikely to
+ # affect regular usage.
+
+ export LOGNAME=$(id -un)
+
+ print_logs_and_fail() {
+ grep -nH -e . -r tests/*.d/{out,err}
+ return 1
+ }
+
+ make $checkFlags check || print_logs_and_fail
+ '';
+
NIX_CFLAGS_COMPILE = [ "-std=c99" ];
+ hardeningDisable = stdenv.lib.optional stdenv.cc.isClang "format";
+
meta = {
homepage = https://www.gnu.org/software/rcs/;
description = "Revision control system";
@@ -27,6 +68,6 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl3Plus;
maintainers = with stdenv.lib.maintainers; [ eelco ];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/applications/version-management/rcs/disable-t810.patch b/pkgs/applications/version-management/rcs/disable-t810.patch
new file mode 100644
index 00000000000..745f1868a36
--- /dev/null
+++ b/pkgs/applications/version-management/rcs/disable-t810.patch
@@ -0,0 +1,10 @@
+--- rcs-5.9.4-orig/tests/Makefile.in 2015-01-22 19:40:36.000000000 +0900
++++ rcs-5.9.4/tests/Makefile.in 2019-04-16 20:04:30.557626000 +0900
+@@ -1372,7 +1372,6 @@
+ t803 \
+ t804 \
+ t805 \
+- t810 \
+ t900 \
+ t999
+
diff --git a/pkgs/applications/version-management/redmine/4.x/Gemfile b/pkgs/applications/version-management/redmine/4.x/Gemfile
index 952dd8bda4d..343c7b3a547 100644
--- a/pkgs/applications/version-management/redmine/4.x/Gemfile
+++ b/pkgs/applications/version-management/redmine/4.x/Gemfile
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
gem "bundler", ">= 1.5.0"
-gem "rails", "5.2.2.1"
+gem "rails", "5.2.3"
gem "rouge", "~> 3.3.0"
gem "request_store", "1.0.5"
gem "mini_mime", "~> 1.0.1"
diff --git a/pkgs/applications/version-management/redmine/4.x/Gemfile.lock b/pkgs/applications/version-management/redmine/4.x/Gemfile.lock
index 215704e5b38..671d2bb4ac1 100644
--- a/pkgs/applications/version-management/redmine/4.x/Gemfile.lock
+++ b/pkgs/applications/version-management/redmine/4.x/Gemfile.lock
@@ -1,19 +1,19 @@
GEM
remote: https://rubygems.org/
specs:
- actioncable (5.2.2.1)
- actionpack (= 5.2.2.1)
+ actioncable (5.2.3)
+ actionpack (= 5.2.3)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
- actionmailer (5.2.2.1)
- actionpack (= 5.2.2.1)
- actionview (= 5.2.2.1)
- activejob (= 5.2.2.1)
+ actionmailer (5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
- actionpack (5.2.2.1)
- actionview (= 5.2.2.1)
- activesupport (= 5.2.2.1)
+ actionpack (5.2.3)
+ actionview (= 5.2.3)
+ activesupport (= 5.2.3)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
@@ -21,26 +21,26 @@ GEM
actionpack-xml_parser (2.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
- actionview (5.2.2.1)
- activesupport (= 5.2.2.1)
+ actionview (5.2.3)
+ activesupport (= 5.2.3)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
- activejob (5.2.2.1)
- activesupport (= 5.2.2.1)
+ activejob (5.2.3)
+ activesupport (= 5.2.3)
globalid (>= 0.3.6)
- activemodel (5.2.2.1)
- activesupport (= 5.2.2.1)
- activerecord (5.2.2.1)
- activemodel (= 5.2.2.1)
- activesupport (= 5.2.2.1)
+ activemodel (5.2.3)
+ activesupport (= 5.2.3)
+ activerecord (5.2.3)
+ activemodel (= 5.2.3)
+ activesupport (= 5.2.3)
arel (>= 9.0)
- activestorage (5.2.2.1)
- actionpack (= 5.2.2.1)
- activerecord (= 5.2.2.1)
+ activestorage (5.2.3)
+ actionpack (= 5.2.3)
+ activerecord (= 5.2.3)
marcel (~> 0.3.1)
- activesupport (5.2.2.1)
+ activesupport (5.2.3)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
@@ -56,16 +56,15 @@ GEM
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (>= 2.0, < 4.0)
- childprocess (0.9.0)
- ffi (~> 1.0, >= 1.0.11)
+ childprocess (1.0.1)
+ rake (< 13.0)
concurrent-ruby (1.1.5)
crass (1.0.4)
css_parser (1.7.0)
addressable
- csv (3.0.6)
+ csv (3.0.9)
docile (1.1.5)
erubi (1.8.0)
- ffi (1.10.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
htmlentities (4.3.4)
@@ -89,10 +88,10 @@ GEM
mysql2 (0.5.2)
net-ldap (0.16.1)
nio4r (2.3.1)
- nokogiri (1.10.2)
+ nokogiri (1.10.3)
mini_portile2 (~> 2.4.0)
pg (1.1.4)
- public_suffix (3.0.3)
+ public_suffix (3.1.0)
puma (3.12.1)
rack (2.0.7)
rack-openid (1.4.2)
@@ -100,27 +99,27 @@ GEM
ruby-openid (>= 2.1.8)
rack-test (1.1.0)
rack (>= 1.0, < 3)
- rails (5.2.2.1)
- actioncable (= 5.2.2.1)
- actionmailer (= 5.2.2.1)
- actionpack (= 5.2.2.1)
- actionview (= 5.2.2.1)
- activejob (= 5.2.2.1)
- activemodel (= 5.2.2.1)
- activerecord (= 5.2.2.1)
- activestorage (= 5.2.2.1)
- activesupport (= 5.2.2.1)
+ rails (5.2.3)
+ actioncable (= 5.2.3)
+ actionmailer (= 5.2.3)
+ actionpack (= 5.2.3)
+ actionview (= 5.2.3)
+ activejob (= 5.2.3)
+ activemodel (= 5.2.3)
+ activerecord (= 5.2.3)
+ activestorage (= 5.2.3)
+ activesupport (= 5.2.3)
bundler (>= 1.3.0)
- railties (= 5.2.2.1)
+ railties (= 5.2.3)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
- railties (5.2.2.1)
- actionpack (= 5.2.2.1)
- activesupport (= 5.2.2.1)
+ railties (5.2.3)
+ actionpack (= 5.2.3)
+ activesupport (= 5.2.3)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
@@ -132,17 +131,17 @@ GEM
redcarpet (3.4.0)
request_store (1.0.5)
rmagick (2.16.0)
- roadie (3.4.0)
+ roadie (3.5.0)
css_parser (~> 1.4)
- nokogiri (~> 1.5)
+ nokogiri (~> 1.8)
roadie-rails (1.3.0)
railties (>= 3.0, < 5.3)
roadie (~> 3.1)
rouge (3.3.0)
ruby-openid (2.3.0)
- rubyzip (1.2.2)
- selenium-webdriver (3.141.0)
- childprocess (~> 0.5)
+ rubyzip (1.2.3)
+ selenium-webdriver (3.142.3)
+ childprocess (>= 0.5, < 2.0)
rubyzip (~> 1.2, >= 1.2.2)
simplecov (0.14.1)
docile (~> 1.1.0)
@@ -160,9 +159,9 @@ GEM
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
- websocket-driver (0.7.0)
+ websocket-driver (0.7.1)
websocket-extensions (>= 0.1.0)
- websocket-extensions (0.1.3)
+ websocket-extensions (0.1.4)
xpath (3.2.0)
nokogiri (~> 1.8)
yard (0.9.19)
@@ -186,7 +185,7 @@ DEPENDENCIES
pg (~> 1.1.4)
puma (~> 3.7)
rack-openid
- rails (= 5.2.2.1)
+ rails (= 5.2.3)
rails-dom-testing
rbpdf (~> 1.19.6)
redcarpet (~> 3.4.0)
diff --git a/pkgs/applications/version-management/redmine/4.x/default.nix b/pkgs/applications/version-management/redmine/4.x/default.nix
index 82a994478cd..a3ba418a146 100644
--- a/pkgs/applications/version-management/redmine/4.x/default.nix
+++ b/pkgs/applications/version-management/redmine/4.x/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, bundlerEnv, ruby }:
let
- version = "4.0.3";
+ version = "4.0.4";
rubyEnv = bundlerEnv {
name = "redmine-env-${version}";
@@ -11,11 +11,12 @@ let
};
in
stdenv.mkDerivation rec {
- name = "redmine-${version}";
+ pname = "redmine";
+ inherit version;
src = fetchurl {
- url = "https://www.redmine.org/releases/${name}.tar.gz";
- sha256 = "1wyfl08sq71n4c2hc0fv1dfblykq5i3mbqyjdswk26md8dcmw8ac";
+ url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz";
+ sha256 = "0i5bmgdi3mahbis9hn0hk53rnz4ihp9yij4b4i07ny9vf3n4kp1a";
};
buildInputs = [ rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler ];
@@ -37,7 +38,7 @@ in
meta = with stdenv.lib; {
homepage = http://www.redmine.org/;
platforms = platforms.linux;
- maintainers = [ maintainers.garbas maintainers.aanderse ];
+ maintainers = [ maintainers.aanderse ];
license = licenses.gpl2;
};
}
diff --git a/pkgs/applications/version-management/redmine/4.x/gemset.nix b/pkgs/applications/version-management/redmine/4.x/gemset.nix
index 53c2d73b6e9..34e459111f8 100644
--- a/pkgs/applications/version-management/redmine/4.x/gemset.nix
+++ b/pkgs/applications/version-management/redmine/4.x/gemset.nix
@@ -3,28 +3,28 @@
dependencies = ["actionpack" "nio4r" "websocket-driver"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1x5fxhsr2mxq5r6258s48xsn7ld081d3qaavppvj7yp7w9vqn871";
+ sha256 = "04wd9rf8sglrqc8jz49apqcxbi51gdj7l1apf5qr4i86iddk6pkm";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
actionmailer = {
dependencies = ["actionpack" "actionview" "activejob" "mail" "rails-dom-testing"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "10n2v2al68rsq5ghrdp7cpycsc1q0m19fcd8cd5i528n30nl23iw";
+ sha256 = "15laym06zcm2021qdhlyr6y9jn1marw436i89hcxqg14a8zvyvwa";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
actionpack = {
dependencies = ["actionview" "activesupport" "rack" "rack-test" "rails-dom-testing" "rails-html-sanitizer"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1lxqzxa728dqg42yw0q4hqkaawqagiw1k0392an2ghjfgb16pafx";
+ sha256 = "1s2iay17i2k0xx36cmnpbrmr5w6x70jk7fq1d8w70xcdw5chm0w1";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
actionpack-xml_parser = {
dependencies = ["actionpack" "railties"];
@@ -39,55 +39,55 @@
dependencies = ["activesupport" "builder" "erubi" "rails-dom-testing" "rails-html-sanitizer"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0832vlx37rly8ryfgi01b20mld8b3bv9cg62n5wax4zpzgn6jdxb";
+ sha256 = "1v49rgf8305grqf6gq7qa47qhamr369igyy0giycz60x86afyr4h";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
activejob = {
dependencies = ["activesupport" "globalid"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zma452lc3qp4a7r10zbdmsci0kv9a3gnk4da2apbdrc8fib5mr3";
+ sha256 = "17vizibxbsli5yppgrvmw13wj7a9xy19s5nqxf1k23bbk2s5b87s";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
activemodel = {
dependencies = ["activesupport"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1idmvqvpgri34k31s44pjb88rc3jad3yxra7fd1kpidpnv5f3v65";
+ sha256 = "0mghh9di8011ara9h1r5a216yzk1vjm9r3p0gdvdi8j1zmkl6k6h";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
activerecord = {
dependencies = ["activemodel" "activesupport" "arel"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1c5cz9v7ggpqjxf0fqs1xhy1pb9m34cp31pxarhs9aqb71qjl98v";
+ sha256 = "0d6036f592803iyvp6bw98p3sg638mia5dbw19lvachx6jgzfvpw";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
activestorage = {
dependencies = ["actionpack" "activerecord" "marcel"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "155xpbzrz0kr0argx0vsh5prvadd2h1g1m61kdiabvfy2iygc02n";
+ sha256 = "04is6ipjqw1f337i8pm8w5bd99rpygqfd0fzzxkr7jd308ggmsjk";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
activesupport = {
dependencies = ["concurrent-ruby" "i18n" "minitest" "tzinfo"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "161bp4p01v1a1lvszrhd1a02zf9x1p1l1yhw79a3rix1kvzkkdqb";
+ sha256 = "110vp4frgkw3mpzlmshg2f2ig09cknls2w68ym1r1s39d01v0mi8";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
addressable = {
dependencies = ["public_suffix"];
@@ -124,13 +124,13 @@
version = "2.18.0";
};
childprocess = {
- dependencies = ["ffi"];
+ dependencies = ["rake"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0a61922kmvcxyj5l70fycapr87gz1dzzlkfpq85rfqk5vdh3d28p";
+ sha256 = "1d2gasf988jh2k3fjb7i54c68rq6ni6jf9w0gnsfhrq94a6mprkz";
type = "gem";
};
- version = "0.9.0";
+ version = "1.0.1";
};
concurrent-ruby = {
source = {
@@ -160,10 +160,10 @@
csv = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1zvchwfkdkljnslqakagbnw76vs01xwpjrynrawfanzn376c6bcd";
+ sha256 = "097rl10ivzlya5640530ayls2f1vid2mfgjy9ngd789qmp0j6x4b";
type = "gem";
};
- version = "3.0.6";
+ version = "3.0.9";
};
docile = {
source = {
@@ -181,14 +181,6 @@
};
version = "1.8.0";
};
- ffi = {
- source = {
- remotes = ["https://rubygems.org"];
- sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
- type = "gem";
- };
- version = "1.10.0";
- };
globalid = {
dependencies = ["activesupport"];
source = {
@@ -334,10 +326,10 @@
dependencies = ["mini_portile2"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0sy96cc8i5y4p67fhf4d9c6sg8ymrrva21zyvzw55l0pa1582wx2";
+ sha256 = "02bjydih0j515szfv9mls195cvpyidh6ixm7dwbl3s2sbaxxk5s4";
type = "gem";
};
- version = "1.10.2";
+ version = "1.10.3";
};
pg = {
source = {
@@ -350,10 +342,10 @@
public_suffix = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
+ sha256 = "1c7c5xxkx91hwj4572hbnyvxmydb90q69wlpr2l0dxrmwx2p365l";
type = "gem";
};
- version = "3.0.3";
+ version = "3.1.0";
};
puma = {
source = {
@@ -393,10 +385,10 @@
dependencies = ["actioncable" "actionmailer" "actionpack" "actionview" "activejob" "activemodel" "activerecord" "activestorage" "activesupport" "railties" "sprockets-rails"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1jxmwrykwgbn116hhmi7h75hcsdifhj89wk12m7ch2f3mn1lrmp9";
+ sha256 = "1p7cszi3n9ksxchxnccmz61pd1i3rjg4813dsdinsm8xm5k1pdgr";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
rails-dom-testing = {
dependencies = ["activesupport" "nokogiri"];
@@ -420,10 +412,10 @@
dependencies = ["actionpack" "activesupport" "method_source" "rake" "thor"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0al6mvh2jvr3n7cxkx0yvhgiiarby6gxc93vl5xg1yxkvx27qzd6";
+ sha256 = "1gn9fwb5wm08fbj7zpilqgblfl315l5b7pg4jsvxlizvrzg8h8q4";
type = "gem";
};
- version = "5.2.2.1";
+ version = "5.2.3";
};
rake = {
source = {
@@ -478,10 +470,10 @@
dependencies = ["css_parser" "nokogiri"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0l3s80394yijvz0fsvfkw0azsi9yxsdkxd8lpas0bd7wlndjvmxx";
+ sha256 = "0b2qgr725hnscz3ldb607gwgjkr47ncs1jjnk6zh0h70p5dxrk2d";
type = "gem";
};
- version = "3.4.0";
+ version = "3.5.0";
};
roadie-rails = {
dependencies = ["railties" "roadie"];
@@ -511,19 +503,19 @@
rubyzip = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1n1lb2sdwh9h27y244hxzg1lrxxg2m53pk1vq7p33bna003qkyrj";
+ sha256 = "1w9gw28ly3zyqydnm8phxchf4ymyjl2r7zf7c12z8kla10cpmhlc";
type = "gem";
};
- version = "1.2.2";
+ version = "1.2.3";
};
selenium-webdriver = {
dependencies = ["childprocess" "rubyzip"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "114hv2ajmh6d186v2w887yqakqcxyxq367l0iakrrpvwviknrhfs";
+ sha256 = "0i0jr4qrcvg5isc11ivjw7f9gywbimnz613k82bfcrnlzdf90mxy";
type = "gem";
};
- version = "3.141.0";
+ version = "3.142.3";
};
simplecov = {
dependencies = ["docile" "json" "simplecov-html"];
@@ -589,18 +581,18 @@
dependencies = ["websocket-extensions"];
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1551k3fs3kkb3ghqfj3n5lps0ikb9pyrdnzmvgfdxy8574n4g1dn";
+ sha256 = "1bxamwqldmy98hxs5pqby3andws14hl36ch78g0s81gaz9b91nj2";
type = "gem";
};
- version = "0.7.0";
+ version = "0.7.1";
};
websocket-extensions = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "034sdr7fd34yag5l6y156rkbhiqgmy395m231dwhlpcswhs6d270";
+ sha256 = "00i624ng1nvkz1yckj3f8yxxp6hi7xaqf40qh9q3hj2n1l9i8g6m";
type = "gem";
};
- version = "0.1.3";
+ version = "0.1.4";
};
xpath = {
dependencies = ["nokogiri"];
diff --git a/pkgs/applications/version-management/redmine/Gemfile.lock b/pkgs/applications/version-management/redmine/Gemfile.lock
index 888175335a7..21296d343b4 100644
--- a/pkgs/applications/version-management/redmine/Gemfile.lock
+++ b/pkgs/applications/version-management/redmine/Gemfile.lock
@@ -57,7 +57,7 @@ GEM
addressable
docile (1.1.5)
erubis (2.7.0)
- ffi (1.10.0)
+ ffi (1.11.1)
globalid (0.4.2)
activesupport (>= 4.2.0)
htmlentities (4.3.4)
@@ -88,7 +88,7 @@ GEM
pg (0.18.4)
protected_attributes (1.1.4)
activemodel (>= 4.0.1, < 5.0)
- public_suffix (3.0.3)
+ public_suffix (3.1.0)
rack (1.6.11)
rack-openid (1.4.2)
rack (>= 1.1.0)
@@ -135,7 +135,7 @@ GEM
railties (>= 3.0, < 5.1)
roadie (~> 3.1)
ruby-openid (2.3.0)
- rubyzip (1.2.2)
+ rubyzip (1.2.3)
selenium-webdriver (2.53.4)
childprocess (~> 0.5)
rubyzip (~> 1.0)
diff --git a/pkgs/applications/version-management/redmine/default.nix b/pkgs/applications/version-management/redmine/default.nix
index 12f3d18a32c..0b1f64b58a1 100644
--- a/pkgs/applications/version-management/redmine/default.nix
+++ b/pkgs/applications/version-management/redmine/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, bundlerEnv, ruby }:
let
- version = "3.4.10";
+ version = "3.4.11";
rubyEnv = bundlerEnv {
name = "redmine-env-${version}";
@@ -11,11 +11,12 @@ let
};
in
stdenv.mkDerivation rec {
- name = "redmine-${version}";
+ pname = "redmine";
+ inherit version;
src = fetchurl {
- url = "https://www.redmine.org/releases/${name}.tar.gz";
- sha256 = "08clfg7wgp4wnajawdn7qgrv7r8lk8d8haqkl7iz77ygdi3mpyrh";
+ url = "https://www.redmine.org/releases/${pname}-${version}.tar.gz";
+ sha256 = "14987sd9ff2n3982qlfwd4m0g1m10w8jyv791nica3wppvnrxh0r";
};
buildInputs = [ rubyEnv rubyEnv.wrappedRuby rubyEnv.bundler ];
@@ -37,7 +38,7 @@ in
meta = with stdenv.lib; {
homepage = http://www.redmine.org/;
platforms = platforms.linux;
- maintainers = [ maintainers.garbas maintainers.aanderse ];
+ maintainers = [ maintainers.aanderse ];
license = licenses.gpl2;
};
}
diff --git a/pkgs/applications/version-management/redmine/gemset.nix b/pkgs/applications/version-management/redmine/gemset.nix
index 87b0b0b4f7a..4ef4bd40427 100644
--- a/pkgs/applications/version-management/redmine/gemset.nix
+++ b/pkgs/applications/version-management/redmine/gemset.nix
@@ -166,10 +166,10 @@
ffi = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "0j8pzj8raxbir5w5k6s7a042sb5k02pg0f8s4na1r5lan901j00p";
+ sha256 = "06mvxpjply8qh4j3fj9wh08kdzwkbnvsiysh0vrhlk5cwxzjmblh";
type = "gem";
};
- version = "1.10.0";
+ version = "1.11.1";
};
globalid = {
dependencies = ["activesupport"];
@@ -342,10 +342,10 @@
public_suffix = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "08q64b5br692dd3v0a9wq9q5dvycc6kmiqmjbdxkxbfizggsvx6l";
+ sha256 = "1c7c5xxkx91hwj4572hbnyvxmydb90q69wlpr2l0dxrmwx2p365l";
type = "gem";
};
- version = "3.0.3";
+ version = "3.1.0";
};
rack = {
source = {
@@ -504,10 +504,10 @@
rubyzip = {
source = {
remotes = ["https://rubygems.org"];
- sha256 = "1n1lb2sdwh9h27y244hxzg1lrxxg2m53pk1vq7p33bna003qkyrj";
+ sha256 = "1w9gw28ly3zyqydnm8phxchf4ymyjl2r7zf7c12z8kla10cpmhlc";
type = "gem";
};
- version = "1.2.2";
+ version = "1.2.3";
};
selenium-webdriver = {
dependencies = ["childprocess" "rubyzip" "websocket"];
diff --git a/pkgs/applications/version-management/sit/default.nix b/pkgs/applications/version-management/sit/default.nix
index 75368bd8846..a225c23ceeb 100644
--- a/pkgs/applications/version-management/sit/default.nix
+++ b/pkgs/applications/version-management/sit/default.nix
@@ -3,14 +3,14 @@
libiconv, CoreFoundation, Security }:
rustPlatform.buildRustPackage rec {
- name = "sit-${version}";
- version = "0.4.0";
+ pname = "sit";
+ version = "0.4.1";
src = fetchFromGitHub {
owner = "sit-fyi";
repo = "sit";
rev = "v${version}";
- sha256 = "10ycs6vc7mfzxnxrki09xn974pcwh196h1pfnsds98x6r87hxkpn";
+ sha256 = "06xkhlfix0h6di6cnvc4blbj3mjy90scbh89dvywbx16wjlc79pf";
};
buildInputs = [ cmake libzip gnupg ] ++
@@ -20,7 +20,7 @@ rustPlatform.buildRustPackage rec {
export HOME=$(mktemp -d)
'';
- cargoSha256 = "023anmnprxbsvqww1b1bdyfhbhjh1ah2kc67cdihvdvi4lqdmbia";
+ cargoSha256 = "0kijx7s7zh6yisrsjz213h9x5jx43ixr44vy5rb3wwbn9dgsr528";
meta = with stdenv.lib; {
description = "Serverless Information Tracker";
diff --git a/pkgs/applications/version-management/smartgithg/default.nix b/pkgs/applications/version-management/smartgithg/default.nix
index 38c3da220c9..343d88554d6 100644
--- a/pkgs/applications/version-management/smartgithg/default.nix
+++ b/pkgs/applications/version-management/smartgithg/default.nix
@@ -1,64 +1,90 @@
-{ stdenv, fetchurl, lib, makeWrapper
-, substituteAll
+{ stdenv
+, fetchurl
+, makeDesktopItem
, jre
-, gtk2, glib
+, gtk3
+, glib
+, gnome3
+, wrapGAppsHook
+, hicolor-icon-theme
, libXtst
, which
}:
stdenv.mkDerivation rec {
- name = "smartgithg-${version}";
- version = "18.2.4";
+ pname = "smartgithg";
+ version = "19.1.1";
src = fetchurl {
url = "https://www.syntevo.com/downloads/smartgit/smartgit-linux-${builtins.replaceStrings [ "." ] [ "_" ] version}.tar.gz";
- sha256 = "0ch6vcvndn1fpx05ym9yp2ssfw2af6ac0pw8ssvjkc676zc0jr73";
+ sha256 = "0i0dvyy9d63f4hk8czlyk83ai0ywhqp7wbdkq3s87l7irwgs42jy";
};
- nativeBuildInputs = [ makeWrapper ];
+ nativeBuildInputs = [ wrapGAppsHook ];
- buildInputs = [ jre ];
+ buildInputs = [ jre gnome3.adwaita-icon-theme hicolor-icon-theme gtk3 ];
- buildCommand = let
- pkg_path = "$out/${name}";
- bin_path = "$out/bin";
- install_freedesktop_items = substituteAll {
- inherit (stdenv) shell;
- isExecutable = true;
- src = ./install_freedesktop_items.sh;
- };
- runtime_paths = lib.makeBinPath [
- jre
- #git mercurial subversion # the paths are requested in configuration
- which
- ];
- runtime_lib_paths = lib.makeLibraryPath [
- gtk2 glib
- libXtst
- ];
- in ''
- tar xvzf $src
- mkdir -pv $out
- mkdir -pv ${pkg_path}
- # unpacking should have produced a dir named 'smartgit'
- cp -a smartgit/* ${pkg_path}
- # prevent using packaged jre
- rm -r ${pkg_path}/jre
- mkdir -pv ${bin_path}
- jre=${jre.home}
- makeWrapper ${pkg_path}/bin/smartgit.sh ${bin_path}/smartgit \
- --prefix PATH : ${runtime_paths} \
- --prefix LD_LIBRARY_PATH : ${runtime_lib_paths} \
+ preFixup = with stdenv.lib; ''
+ gappsWrapperArgs+=( \
+ --prefix PATH : ${makeBinPath [ jre which ]} \
+ --prefix LD_LIBRARY_PATH : ${makeLibraryPath [
+ gtk3
+ glib
+ libXtst
+ ]} \
--prefix JRE_HOME : ${jre} \
--prefix JAVA_HOME : ${jre} \
- --prefix SMARTGITHG_JAVA_HOME : ${jre}
- sed -i '/ --login/d' ${pkg_path}/bin/smartgit.sh
- patchShebangs $out
- cp ${bin_path}/smartgit ${bin_path}/smartgithg
-
- ${install_freedesktop_items} "${pkg_path}/bin" "$out"
+ --prefix SMARTGITHG_JAVA_HOME : ${jre} \
+ ) \
'';
+ installPhase = ''
+ runHook preInstall
+
+ sed -i '/ --login/d' bin/smartgit.sh
+ mkdir -pv $out/{bin,share/applications,share/icons/hicolor/scalable/apps/}
+ cp -av ./{dictionaries,lib} $out/
+ cp -av bin/smartgit.sh $out/bin/smartgit
+ ln -sfv $out/bin/smartgit $out/bin/smartgithg
+
+ cp -av $desktopItem/share/applications/* $out/share/applications/
+ for icon_size in 32 48 64 128 256; do
+ path=$icon_size'x'$icon_size
+ icon=bin/smartgit-$icon_size.png
+ mkdir -p $out/share/icons/hicolor/$path/apps
+ cp $icon $out/share/icons/hicolor/$path/apps/smartgit.png
+ done
+
+ cp -av bin/smartgit.svg $out/share/icons/hicolor/scalable/apps/
+
+ runHook postInstall
+ '';
+
+ desktopItem = with stdenv.lib; makeDesktopItem rec {
+ name = "smartgit";
+ exec = "smartgit";
+ comment = meta.description;
+ icon = "smartgit";
+ desktopName = "SmartGit";
+ categories = concatStringsSep ";" [
+ "Application"
+ "Development"
+ "RevisionControl"
+ ];
+ mimeType = concatStringsSep ";" [
+ "x-scheme-handler/git"
+ "x-scheme-handler/smartgit"
+ "x-scheme-handler/sourcetree"
+ ];
+ startupNotify = "true";
+ extraEntries = ''
+ Keywords=git
+ StartupWMClass=${name}
+ Version=1.0
+ Encoding=UTF-8
+ '';
+ };
+
meta = with stdenv.lib; {
description = "GUI for Git, Mercurial, Subversion";
homepage = http://www.syntevo.com/smartgit/;
diff --git a/pkgs/applications/version-management/smartgithg/install_freedesktop_items.sh b/pkgs/applications/version-management/smartgithg/install_freedesktop_items.sh
deleted file mode 100755
index 2ff14dcf099..00000000000
--- a/pkgs/applications/version-management/smartgithg/install_freedesktop_items.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!@shell@
-
-inBinDir=$1
-out=$2
-
-cat $inBinDir/add-menuitem.sh | \
-sed -re 's#xdg-icon-resource[ ]+install[ ]+--size[ ]+([0-9]+)[ ]+("[^"]+")[ ]+([$0-9a-zA-Z_]+)#mkdir -p '${out}'/share/icons/hicolor/\1x\1/apps \&\& cp \2 '${out}'/share/icons/hicolor/\1x\1/apps/\3\.png #' | \
-sed -re 's#xdg-desktop-menu[ ]+install[ ]+([$0-9a-zA-Z_]+)#mkdir -p '${out}'/share/applications \&\& cp \1 '${out}'/share/applications/#' | \
-sed -re 's#Exec="[^"]+"#Exec=smartgit#' |
-sed -re 's#SMARTGIT_BIN=.*#'SMARTGIT_BIN=${inBinDir}'#' \
-| bash
diff --git a/pkgs/applications/version-management/sourcehut/builds.nix b/pkgs/applications/version-management/sourcehut/builds.nix
new file mode 100644
index 00000000000..e554afe4a92
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/builds.nix
@@ -0,0 +1,60 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, buildGoModule
+, srht, redis, celery, pyyaml, markdown }:
+
+let
+ version = "0.45.13";
+
+ buildWorker = src: buildGoModule {
+ inherit src version;
+ pname = "builds-sr-ht-worker";
+ goPackagePath = "git.sr.ht/~sircmpwn/builds.sr.ht/worker";
+
+ modSha256 = "1jm259ncw8dgqp0fqbjn30c4y3v3vwqj41gfh99jx30bwlmpgfax";
+ };
+in buildPythonPackage rec {
+ inherit version;
+ pname = "buildsrht";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/builds.sr.ht";
+ rev = version;
+ sha256 = "002pcj2a98gbmv77a10449w1q6iqhqjz4fim8hm4qm7vn6bwp0hz";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ redis
+ celery
+ pyyaml
+ markdown
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ postInstall = ''
+ mkdir -p $out/lib
+ mkdir -p $out/bin/builds.sr.ht
+
+ cp -r images $out/lib
+ cp contrib/submit_image_build $out/bin/builds.sr.ht
+ cp ${buildWorker "${src}/worker"}/bin/worker $out/bin/builds.sr.ht-worker
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/builds.sr.ht;
+ description = "Continuous integration service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/core.nix b/pkgs/applications/version-management/sourcehut/core.nix
new file mode 100644
index 00000000000..ca054c5cfde
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/core.nix
@@ -0,0 +1,80 @@
+{ stdenv, fetchgit, fetchNodeModules, buildPythonPackage
+, pgpy, flask, bleach, misaka, humanize, markdown, psycopg2, pygments, requests
+, sqlalchemy, flask_login, beautifulsoup4, sqlalchemy-utils, celery, alembic
+, sassc, nodejs-11_x
+, writeText }:
+
+buildPythonPackage rec {
+ pname = "srht";
+ version = "0.52.13";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/core.sr.ht";
+ rev = version;
+ sha256 = "0i7gd2rkq4y4lffxsgb3mql9ddmk3vqckan29w266imrqs6p8c0z";
+ };
+
+ node_modules = fetchNodeModules {
+ src = "${src}/srht";
+ nodejs = nodejs-11_x;
+ sha256 = "0axl50swhcw8llq8z2icwr4nkr5qsw2riih0a040f9wx4xiw4p6p";
+ };
+
+ patches = [
+ ./disable-npm-install.patch
+ ];
+
+ nativeBuildInputs = [
+ sassc
+ nodejs-11_x
+ ];
+
+ propagatedBuildInputs = [
+ pgpy
+ flask
+ bleach
+ misaka
+ humanize
+ markdown
+ psycopg2
+ pygments
+ requests
+ sqlalchemy
+ flask_login
+ beautifulsoup4
+ sqlalchemy-utils
+
+ # Unofficial runtime dependencies?
+ celery
+ alembic
+ ];
+
+ PKGVER = version;
+
+ preBuild = ''
+ cp -r ${node_modules} srht/node_modules
+ '';
+
+ # No actual? tests but seems like it needs this anyway
+ preCheck = let
+ config = writeText "config.ini" ''
+ [webhooks]
+ private-key=K6JupPpnr0HnBjelKTQUSm3Ro9SgzEA2T2Zv472OvzI=
+
+ [meta.sr.ht]
+ origin=http://meta.sr.ht.local
+ '';
+ in ''
+ # Validation needs config option(s)
+ # webhooks <- ( private-key )
+ # meta.sr.ht <- ( origin )
+ cp ${config} config.ini
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/srht;
+ description = "Core modules for sr.ht";
+ license = licenses.bsd3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/default.nix b/pkgs/applications/version-management/sourcehut/default.nix
new file mode 100644
index 00000000000..00a3cf27111
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/default.nix
@@ -0,0 +1,39 @@
+{ python37, openssl
+, callPackage }:
+
+# To expose the *srht modules, they have to be a python module so we use `buildPythonModule`
+# Then we expose them through all-packages.nix as an application through `toPythonApplication`
+# https://github.com/NixOS/nixpkgs/pull/54425#discussion_r250688781
+
+let
+ fetchNodeModules = callPackage ../../networking/instant-messengers/rambox/fetchNodeModules.nix { };
+
+ python = python37.override {
+ packageOverrides = self: super: {
+ srht = self.callPackage ./core.nix { inherit fetchNodeModules; };
+
+ buildsrht = self.callPackage ./builds.nix { };
+ dispatchsrht = self.callPackage ./dispatch.nix { };
+ gitsrht = self.callPackage ./git.nix { };
+ hgsrht = self.callPackage ./hg.nix { };
+ listssrht = self.callPackage ./lists.nix { };
+ mansrht = self.callPackage ./man.nix { };
+ metasrht = self.callPackage ./meta.nix { };
+ pastesrht = self.callPackage ./paste.nix { };
+ todosrht = self.callPackage ./todo.nix { };
+
+ scmsrht = self.callPackage ./scm.nix { };
+ };
+ };
+in with python.pkgs; {
+ inherit python;
+ buildsrht = toPythonApplication buildsrht;
+ dispatchsrht = toPythonApplication dispatchsrht;
+ gitsrht = toPythonApplication gitsrht;
+ hgsrht = toPythonApplication hgsrht;
+ listssrht = toPythonApplication listssrht;
+ mansrht = toPythonApplication mansrht;
+ metasrht = toPythonApplication metasrht;
+ pastesrht = toPythonApplication pastesrht;
+ todosrht = toPythonApplication todosrht;
+}
diff --git a/pkgs/applications/version-management/sourcehut/disable-npm-install.patch b/pkgs/applications/version-management/sourcehut/disable-npm-install.patch
new file mode 100644
index 00000000000..3a8d1c82b34
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/disable-npm-install.patch
@@ -0,0 +1,14 @@
+diff --git a/setup.py b/setup.py
+index d63bac8..e1d0c35 100755
+--- a/setup.py
++++ b/setup.py
+@@ -5,9 +5,6 @@ import glob
+ import os
+ import sys
+
+-if subprocess.call(["npm", "i"], cwd="srht") != 0:
+- sys.exit(1)
+-
+ ver = os.environ.get("PKGVER") or subprocess.run(['git', 'describe', '--tags'],
+ stdout=subprocess.PIPE).stdout.decode().strip()
+
diff --git a/pkgs/applications/version-management/sourcehut/dispatch.nix b/pkgs/applications/version-management/sourcehut/dispatch.nix
new file mode 100644
index 00000000000..c77fc902277
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/dispatch.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, srht, pyyaml, PyGithub, cryptography }:
+
+buildPythonPackage rec {
+ pname = "dispatchsrht";
+ version = "0.11.0";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/dispatch.sr.ht";
+ rev = version;
+ sha256 = "1kahl2gy5a5li79djwkzkglkw2s7pl4d29bzqp8c53r0xvx4sqkz";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ pyyaml
+ PyGithub
+ cryptography
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://dispatch.sr.ht/~sircmpwn/dispatch.sr.ht;
+ description = "Task dispatcher and service integration tool for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/git.nix b/pkgs/applications/version-management/sourcehut/git.nix
new file mode 100644
index 00000000000..996663761a7
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/git.nix
@@ -0,0 +1,55 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, buildGoModule
+, srht, pygit2, scmsrht }:
+
+let
+ version = "0.32.3";
+
+ buildDispatcher = src: buildGoModule {
+ inherit src version;
+ pname = "git-sr-ht-dispatcher";
+ goPackagePath = "git.sr.ht/~sircmpwn/git.sr.ht/gitsrht-dispatch";
+
+ modSha256 = "1lmgmlin460g09dph2hw6yz25d4agqwjhrjv0qqsis7df9qpf3i1";
+ };
+in buildPythonPackage rec {
+ inherit version;
+ pname = "gitsrht";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/git.sr.ht";
+ rev = version;
+ sha256 = "0grycmblhm9dnhcf1kcmn6bclgb9znahk2026dan58m9j9pja5vw";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ pygit2
+ scmsrht
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ # TODO: Remove redundant mkdir?
+ postInstall = ''
+ mkdir -p $out/bin
+ cp ${buildDispatcher "${src}/gitsrht-dispatch"}/bin/gitsrht-dispatch $out/bin/gitsrht-dispatch
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/git.sr.ht;
+ description = "Git repository hosting service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/hg.nix b/pkgs/applications/version-management/sourcehut/hg.nix
new file mode 100644
index 00000000000..93817648468
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/hg.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchhg, buildPythonPackage
+, python
+, srht, hglib, scmsrht, unidiff }:
+
+buildPythonPackage rec {
+ pname = "hgsrht";
+ version = "0.13.0";
+
+ src = fetchhg {
+ url = "https://hg.sr.ht/~sircmpwn/hg.sr.ht";
+ rev = version;
+ sha256 = "0qkknvja0pyk69fvzqafj3x8hi5miw22nmksvifbrjcqph8jknqg";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ hglib
+ scmsrht
+ unidiff
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/hg.sr.ht;
+ description = "Mercurial repository hosting service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/lists.nix b/pkgs/applications/version-management/sourcehut/lists.nix
new file mode 100644
index 00000000000..ac36a219a91
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/lists.nix
@@ -0,0 +1,40 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, srht, asyncpg, unidiff, aiosmtpd, emailthreads }:
+
+buildPythonPackage rec {
+ pname = "listssrht";
+ version = "0.36.3";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/lists.sr.ht";
+ rev = version;
+ sha256 = "1q2z2pjwz4zifsrkxab9b9jh1vzayjqych1cx3i4859f1swl2gwa";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ asyncpg
+ unidiff
+ aiosmtpd
+ emailthreads
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/lists.sr.ht;
+ description = "Mailing list service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/man.nix b/pkgs/applications/version-management/sourcehut/man.nix
new file mode 100644
index 00000000000..a0198cb52cf
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/man.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, srht, pygit2 }:
+
+buildPythonPackage rec {
+ pname = "mansrht";
+ version = "0.12.4";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/man.sr.ht";
+ rev = version;
+ sha256 = "1csnw71yh5zw7l17xmmxyskwiqbls0ynbbjrg45y5k1i3622mhiy";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ pygit2
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/man.sr.ht;
+ description = "Wiki service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/meta.nix b/pkgs/applications/version-management/sourcehut/meta.nix
new file mode 100644
index 00000000000..af3685c472c
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/meta.nix
@@ -0,0 +1,48 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, pgpy, srht, redis, bcrypt, qrcode, stripe, zxcvbn, alembic, pystache
+, sshpubkeys, weasyprint, prometheus_client }:
+
+buildPythonPackage rec {
+ pname = "metasrht";
+ version = "0.34.3";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/meta.sr.ht";
+ rev = version;
+ sha256 = "1yj3npw1vlqawzj6q1mh6qryx009dg5prja9fn6rasfmxjn2gr7v";
+ };
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ pgpy
+ srht
+ redis
+ bcrypt
+ qrcode
+ stripe
+ zxcvbn
+ alembic
+ pystache
+ sshpubkeys
+ weasyprint
+ prometheus_client
+ ];
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/meta.sr.ht;
+ description = "Account management service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/paste.nix b/pkgs/applications/version-management/sourcehut/paste.nix
new file mode 100644
index 00000000000..47153d9f204
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/paste.nix
@@ -0,0 +1,37 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, srht, pyyaml }:
+
+buildPythonPackage rec {
+ pname = "pastesrht";
+ version = "0.5.1";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/paste.sr.ht";
+ rev = version;
+ sha256 = "0bzw03hcwi1pw16kliqjsr7kphqq3qw0pbpdjqkcs7jdr0a59vny";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ pyyaml
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/paste.sr.ht;
+ description = "Ad-hoc text file hosting service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/scm.nix b/pkgs/applications/version-management/sourcehut/scm.nix
new file mode 100644
index 00000000000..ef6ed3a744b
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/scm.nix
@@ -0,0 +1,55 @@
+{ stdenv, fetchgit, buildPythonPackage
+, srht, redis, pyyaml, buildsrht
+, writeText }:
+
+buildPythonPackage rec {
+ pname = "scmsrht";
+ version = "0.13.3";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/scm.sr.ht";
+ rev = version;
+ sha256 = "0bapddgfqrs27y6prd6kwpz6jdlr33zdqr6ci6ixi584a7z8z7d6";
+ };
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ redis
+ pyyaml
+ buildsrht
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ '';
+
+ # No actual? tests but seems like it needs this anyway
+ preCheck = let
+ config = writeText "config.ini" ''
+ [webhooks]
+ private-key=K6JupPpnr0HnBjelKTQUSm3Ro9SgzEA2T2Zv472OvzI=
+
+ [builds.sr.ht]
+ origin=http://builds.sr.ht.local
+ oauth-client-id=
+
+ [meta.sr.ht]
+ origin=http://meta.sr.ht.local
+ '';
+ in ''
+ # Validation needs config option(s)
+ # webhooks <- ( private-key )
+ # meta.sr.ht <- ( origin )
+ # builds.sr.ht <- ( origin, oauth-client-id )
+ cp ${config} config.ini
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://git.sr.ht/~sircmpwn/git.sr.ht;
+ description = "Shared support code for sr.ht source control services.";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/todo.nix b/pkgs/applications/version-management/sourcehut/todo.nix
new file mode 100644
index 00000000000..6b67478aa67
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/todo.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchgit, buildPythonPackage
+, python
+, srht, redis, alembic, pystache }:
+
+buildPythonPackage rec {
+ pname = "todosrht";
+ version = "0.46.8";
+
+ src = fetchgit {
+ url = "https://git.sr.ht/~sircmpwn/todo.sr.ht";
+ rev = version;
+ sha256 = "17nqqy81535jnkidjiqv8v2301w5wzbbvx4czib69aagw1l85gnn";
+ };
+
+ patches = [
+ ./use-srht-path.patch
+ ];
+
+ nativeBuildInputs = srht.nativeBuildInputs;
+
+ propagatedBuildInputs = [
+ srht
+ redis
+ alembic
+ pystache
+ ];
+
+ preBuild = ''
+ export PKGVER=${version}
+ export SRHT_PATH=${srht}/${python.sitePackages}/srht
+ '';
+
+ # Tests require a network connection
+ doCheck = false;
+
+ meta = with stdenv.lib; {
+ homepage = https://todo.sr.ht/~sircmpwn/todo.sr.ht;
+ description = "Ticket tracking service for the sr.ht network";
+ license = licenses.agpl3;
+ maintainers = with maintainers; [ eadwu ];
+ };
+}
diff --git a/pkgs/applications/version-management/sourcehut/update.sh b/pkgs/applications/version-management/sourcehut/update.sh
new file mode 100755
index 00000000000..fdc0639c4c6
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/update.sh
@@ -0,0 +1,54 @@
+#! /usr/bin/env nix-shell
+#! nix-shell -i bash -p git mercurial common-updater-scripts
+
+cd "$(dirname "${BASH_SOURCE[0]}")"
+root=../../../..
+
+default() {
+ (cd "$root" && nix-instantiate --eval --strict -A "sourcehut.python.pkgs.$1.meta.position" | sed -re 's/^"(.*):[0-9]+"$/\1/')
+}
+
+version() {
+ (cd "$root" && nix-instantiate --eval --strict -A "sourcehut.python.pkgs.$1.version" | tr -d '"')
+}
+
+src_url() {
+ (cd "$root" && nix-instantiate --eval --strict -A "sourcehut.python.pkgs.$1.src.drvAttrs.url" | tr -d '"')
+}
+
+get_latest_version() {
+ src="$(src_url "$1")"
+ tmp=$(mktemp -d)
+
+ if [ "$1" = "hgsrht" ]; then
+ hg clone "$src" "$tmp" &> /dev/null
+ printf "%s" "$(cd "$tmp" && hg log --limit 1 --template '{latesttag}')"
+ else
+ git clone "$src" "$tmp"
+ printf "%s" "$(cd "$tmp" && git describe $(git rev-list --tags --max-count=1))"
+ fi
+}
+
+update_version() {
+ default_nix="$(default "$1")"
+ version_old="$(version "$1")"
+ version="$(get_latest_version "$1")"
+
+ (cd "$root" && update-source-version "sourcehut.python.pkgs.$1" "$version")
+
+ git add "$default_nix"
+ git commit -m "$1: $version_old -> $version"
+}
+
+services=( "srht" "buildsrht" "dispatchsrht" "gitsrht" "hgsrht" "listssrht" "mansrht" "metasrht"
+ "pastesrht" "todosrht" "scmsrht" )
+
+# Whether or not a specific service is requested
+if [ -n "$1" ]; then
+ version="$(get_latest_version "$1")"
+ (cd "$root" && update-source-version "sourcehut.python.pkgs.$1" "$version")
+else
+ for service in "${services[@]}"; do
+ update_version "$service"
+ done
+fi
diff --git a/pkgs/applications/version-management/sourcehut/use-srht-path.patch b/pkgs/applications/version-management/sourcehut/use-srht-path.patch
new file mode 100644
index 00000000000..43b494bf9d2
--- /dev/null
+++ b/pkgs/applications/version-management/sourcehut/use-srht-path.patch
@@ -0,0 +1,43 @@
+diff --git a/setup.py b/setup.py
+index e6ecfb6..89fa92a 100755
+--- a/setup.py
++++ b/setup.py
+@@ -5,28 +5,16 @@ import os
+ import site
+ import sys
+
+-if hasattr(site, 'getsitepackages'):
+- pkg_dirs = site.getsitepackages()
+- if site.getusersitepackages():
+- pkg_dirs.append(site.getusersitepackages())
+- for pkg_dir in pkg_dirs:
+- srht_path = os.path.join(pkg_dir, "srht")
+- if os.path.isdir(srht_path):
+- break
+- else:
+- raise Exception("Can't find core srht module in your site packages "
+- "directories. Please install it first.")
+-else:
+- srht_path = os.getenv("SRHT_PATH")
+- if not srht_path:
+- raise Exception("You're running inside a virtual environment. "
+- "Due to virtualenv limitations, you need to set the "
+- "$SRHT_PATH environment variable to the path of the "
+- "core srht module.")
+- elif not os.path.isdir(srht_path):
+- raise Exception(
+- "The $SRHT_PATH environment variable points to an invalid "
+- "directory: {}".format(srht_path))
++srht_path = os.getenv("SRHT_PATH")
++if not srht_path:
++ raise Exception("You're running inside a virtual environment. "
++ "Due to virtualenv limitations, you need to set the "
++ "$SRHT_PATH environment variable to the path of the "
++ "core srht module.")
++elif not os.path.isdir(srht_path):
++ raise Exception(
++ "The $SRHT_PATH environment variable points to an invalid "
++ "directory: {}".format(srht_path))
+
+ subp = subprocess.run(["make", "SRHT_PATH=" + srht_path])
+ if subp.returncode != 0:
diff --git a/pkgs/applications/version-management/src/default.nix b/pkgs/applications/version-management/src/default.nix
index e41d40beb59..a3fcd209efc 100644
--- a/pkgs/applications/version-management/src/default.nix
+++ b/pkgs/applications/version-management/src/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, python, rcs, git, makeWrapper }:
stdenv.mkDerivation rec {
- name = "src-${version}";
- version = "1.25";
+ pname = "src";
+ version = "1.26";
src = fetchurl {
- url = "http://www.catb.org/~esr/src/${name}.tar.gz";
- sha256 = "0qd10w8fwbrgaj8sx49q6cfhqq3ylhwn7nl9v6kxi1yjlw2p098p";
+ url = "http://www.catb.org/~esr/src/${pname}-${version}.tar.gz";
+ sha256 = "06npsnf2bfjgcs7wilhcqn24zn286nyy4qyp3yp88zapkxzlap23";
};
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/applications/version-management/srcml/default.nix b/pkgs/applications/version-management/srcml/default.nix
index 8753d4f6f57..693af89d978 100644
--- a/pkgs/applications/version-management/srcml/default.nix
+++ b/pkgs/applications/version-management/srcml/default.nix
@@ -6,7 +6,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
version = "0.9.5_beta";
- name = "srcml-${version}";
+ pname = "srcml";
src = fetchurl {
url = "http://www.sdml.cs.kent.edu/lmcrs/srcML-${version}-src.tar.gz";
diff --git a/pkgs/applications/version-management/sublime-merge/common.nix b/pkgs/applications/version-management/sublime-merge/common.nix
index a232b78aacf..c095aa49eaf 100644
--- a/pkgs/applications/version-management/sublime-merge/common.nix
+++ b/pkgs/applications/version-management/sublime-merge/common.nix
@@ -1,12 +1,10 @@
{ buildVersion, sha256, dev ? false }:
-{ fetchurl, stdenv, xorg, glib, glibcLocales, gtk2, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
-, pkexecPath ? "/run/wrappers/bin/pkexec", gksuSupport ? false, gksu
-, writeScript, common-updater-scripts, curl, gnugrep
+{ fetchurl, stdenv, xorg, glib, glibcLocales, gtk3, cairo, pango, libredirect, makeWrapper, wrapGAppsHook
+, pkexecPath ? "/run/wrappers/bin/pkexec"
+, writeScript, common-updater-scripts, curl, gnugrep, coreutils
}:
-assert gksuSupport -> gksu != null;
-
let
pname = "sublime-merge";
packageAttribute = "sublime-merge${stdenv.lib.optionalString dev "-dev"}";
@@ -14,31 +12,27 @@ let
primaryBinary = "sublime_merge";
primaryBinaryAliases = [ "smerge" ];
downloadUrl = "https://download.sublimetext.com/sublime_merge_build_${buildVersion}_${arch}.tar.xz";
- downloadArchiveType = "tar.xz";
versionUrl = "https://www.sublimemerge.com/${if dev then "dev" else "download"}";
- versionFile = "pkgs/applications/version-management/sublime-merge/default.nix";
- usesGtk2 = false;
+ versionFile = builtins.toString ./default.nix;
archSha256 = sha256;
arch = "x64";
- libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib (if usesGtk2 then gtk2 else gtk3) cairo pango ];
- redirects = [ "/usr/bin/pkexec=${pkexecPath}" ]
- ++ stdenv.lib.optional gksuSupport "/usr/bin/gksudo=${gksu}/bin/gksudo";
+ libPath = stdenv.lib.makeLibraryPath [ xorg.libX11 glib gtk3 cairo pango ];
+ redirects = [ "/usr/bin/pkexec=${pkexecPath}" "/bin/true=${coreutils}/bin/true" ];
in let
binaryPackage = stdenv.mkDerivation {
pname = "${pname}-bin";
version = buildVersion;
src = fetchurl {
- name = "${pname}-bin-${buildVersion}.${downloadArchiveType}";
url = downloadUrl;
sha256 = archSha256;
};
dontStrip = true;
dontPatchELF = true;
- buildInputs = stdenv.lib.optionals (!usesGtk2) [ glib gtk3 ]; # for GSETTINGS_SCHEMAS_PATH
- nativeBuildInputs = [ makeWrapper ] ++ stdenv.lib.optional (!usesGtk2) wrapGAppsHook;
+ buildInputs = [ glib gtk3 ]; # for GSETTINGS_SCHEMAS_PATH
+ nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
buildPhase = ''
runHook preBuild
@@ -50,7 +44,7 @@ in let
$binary
done
- # Rewrite pkexec|gksudo argument. Note that we can't delete bytes in binary.
+ # Rewrite pkexec argument. Note that we cannot delete bytes in binary.
sed -i -e 's,/bin/cp\x00,cp\x00\x00\x00\x00\x00\x00,g' ${primaryBinary}
runHook postBuild
@@ -72,7 +66,7 @@ in let
--set LD_PRELOAD "${libredirect}/lib/libredirect.so" \
--set NIX_REDIRECTS ${builtins.concatStringsSep ":" redirects} \
--set LOCALE_ARCHIVE "${glibcLocales.out}/lib/locale/locale-archive" \
- ${stdenv.lib.optionalString (!usesGtk2) ''"''${gappsWrapperArgs[@]}"''}
+ "''${gappsWrapperArgs[@]}"
'';
};
in stdenv.mkDerivation (rec {
diff --git a/pkgs/applications/version-management/sublime-merge/default.nix b/pkgs/applications/version-management/sublime-merge/default.nix
index da973b0a7ee..2734028866e 100644
--- a/pkgs/applications/version-management/sublime-merge/default.nix
+++ b/pkgs/applications/version-management/sublime-merge/default.nix
@@ -4,13 +4,13 @@ let
common = opts: callPackage (import ./common.nix opts);
in {
sublime-merge = common {
- buildVersion = "1107";
- sha256 = "70edbb16529d638ea41a694dbc5b1408c76fcc3a7d663ef0e48b4e89e1f19c71";
+ buildVersion = "1116";
+ sha256 = "0cwvn47dv0sg8cp8i3njmp4p58c6wjv6g75g09igx25waysn9cx6";
} {};
sublime-merge-dev = common {
- buildVersion = "1111";
- sha256 = "d287b77b36febe52623db4546bef978dceb0654257b9a70c798d9cd394305c0d";
+ buildVersion = "1115";
+ sha256 = "0dwgc9libqipwdgdc84maj1i3c8hbadz2318x1pibl6hbqy15bxl";
dev = true;
} {};
}
diff --git a/pkgs/applications/version-management/subversion/default.nix b/pkgs/applications/version-management/subversion/default.nix
index 81949f95106..dffe3fadd74 100644
--- a/pkgs/applications/version-management/subversion/default.nix
+++ b/pkgs/applications/version-management/subversion/default.nix
@@ -19,10 +19,10 @@ let
common = { version, sha256, extraBuildInputs ? [ ] }: stdenv.mkDerivation (rec {
inherit version;
- name = "subversion-${version}";
+ pname = "subversion";
src = fetchurl {
- url = "mirror://apache/subversion/${name}.tar.bz2";
+ url = "mirror://apache/subversion/${pname}-${version}.tar.bz2";
inherit sha256;
};
@@ -98,7 +98,7 @@ let
meta = with stdenv.lib; {
description = "A version control system intended to be a compelling replacement for CVS in the open source community";
license = licenses.asl20;
- homepage = http://subversion.apache.org/;
+ homepage = "http://subversion.apache.org/";
maintainers = with maintainers; [ eelco lovek323 ];
platforms = platforms.linux ++ platforms.darwin;
};
@@ -112,19 +112,19 @@ let
in {
subversion19 = common {
- version = "1.9.10";
- sha256 = "1mwwbjs8nqr8qyc0xzy7chnylh4q3saycvly8rzq32swadbcca5f";
+ version = "1.9.12";
+ sha256 = "15z33gdnfiqblm5515020wfdwnp2837r3hnparava6m2fgyiafiw";
};
subversion_1_10 = common {
- version = "1.10.4";
- sha256 = "18c1vdq32nil76w678lxmp73jsbqha3dmzgmfrj76nc0xjmywql2";
+ version = "1.10.6";
+ sha256 = "19zc215mhpnm92mlyl5jbv57r5zqp6cavr3s2g9yglp6j4kfgj0q";
extraBuildInputs = [ lz4 utf8proc ];
};
subversion = common {
- version = "1.12.0";
- sha256 = "1prfbrd1jnndb5fcsvwnzvdi7c0bpirb6pmfq03w21x0v1rprbkz";
+ version = "1.12.2";
+ sha256 = "0wgpw3kzsiawzqk4y0xgh1z93kllxydgv4lsviim45y5wk4bbl1v";
extraBuildInputs = [ lz4 utf8proc ];
};
}
diff --git a/pkgs/applications/version-management/tailor/default.nix b/pkgs/applications/version-management/tailor/default.nix
index c68cc928848..c769ec0a66d 100644
--- a/pkgs/applications/version-management/tailor/default.nix
+++ b/pkgs/applications/version-management/tailor/default.nix
@@ -1,7 +1,7 @@
{ fetchurl, python2Packages }:
python2Packages.buildPythonApplication rec {
- name = "tailor-${version}";
+ pname = "tailor";
version = "0.9.35";
src = fetchurl {
diff --git a/pkgs/applications/version-management/tortoisehg/default.nix b/pkgs/applications/version-management/tortoisehg/default.nix
index 2cca53d6fe7..779c33627e8 100644
--- a/pkgs/applications/version-management/tortoisehg/default.nix
+++ b/pkgs/applications/version-management/tortoisehg/default.nix
@@ -1,13 +1,30 @@
-{lib, fetchurl, mercurial, python2Packages}:
+{ lib, fetchurl, python2Packages
+, mercurial
+}@args:
+let
+ tortoisehgSrc = fetchurl rec {
+ meta.name = "tortoisehg-${meta.version}";
+ meta.version = "5.0.2";
+ url = "https://bitbucket.org/tortoisehg/targz/downloads/${meta.name}.tar.gz";
+ sha256 = "1fkawx4ymaacah2wpv2w7rxmv1mx08mg4x4r4fxh41jz1njjb8sz";
+ };
-python2Packages.buildPythonApplication rec {
- name = "tortoisehg-${version}";
- version = "4.9.1";
+ mercurial =
+ if args.mercurial.meta.version == tortoisehgSrc.meta.version
+ then args.mercurial
+ else args.mercurial.override {
+ mercurialSrc = fetchurl rec {
+ meta.name = "mercurial-${meta.version}";
+ meta.version = tortoisehgSrc.meta.version;
+ url = "https://mercurial-scm.org/release/${meta.name}.tar.gz";
+ sha256 = "1y60hfc8gh4ha9sw650qs7hndqmvbn0qxpmqwpn4q18z5xwm1f19";
+ };
+ };
- src = fetchurl {
- url = "https://bitbucket.org/tortoisehg/targz/downloads/${name}.tar.gz";
- sha256 = "0c5gp5wyaiyh8w2zzy1q0f2qv8aa3219shb6swpsdzqr2j9gkk4b";
- };
+in python2Packages.buildPythonApplication {
+
+ inherit (tortoisehgSrc.meta) name version;
+ src = tortoisehgSrc;
pythonPath = with python2Packages; [ pyqt4 mercurial qscintilla iniparse ];
@@ -28,6 +45,8 @@ python2Packages.buildPythonApplication rec {
$out/bin/thg version
'';
+ passthru.mercurial = mercurial;
+
meta = {
description = "Qt based graphical tool for working with Mercurial";
homepage = https://tortoisehg.bitbucket.io/;
diff --git a/pkgs/applications/version-management/vcprompt/default.nix b/pkgs/applications/version-management/vcprompt/default.nix
index c2bf0a4183c..2ad6b6f2f62 100644
--- a/pkgs/applications/version-management/vcprompt/default.nix
+++ b/pkgs/applications/version-management/vcprompt/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchhg, autoconf, sqlite }:
stdenv.mkDerivation rec {
- name = "vcprompt-${version}";
+ pname = "vcprompt";
version = "1.2.1";
src = fetchhg {
diff --git a/pkgs/applications/version-management/vcsh/default.nix b/pkgs/applications/version-management/vcsh/default.nix
index a90eb531fe5..8a014a63393 100644
--- a/pkgs/applications/version-management/vcsh/default.nix
+++ b/pkgs/applications/version-management/vcsh/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchFromGitHub, which, git, ronn, perlPackages }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "1.20170915"; # date of commit we're pulling
- name = "vcsh-${version}";
+ pname = "vcsh";
src = fetchFromGitHub {
owner = "RichiH";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
description = "Version Control System for $HOME";
homepage = https://github.com/RichiH/vcsh;
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ garbas ttuegel ];
+ maintainers = with maintainers; [ ttuegel ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/applications/version-management/yadm/default.nix b/pkgs/applications/version-management/yadm/default.nix
index 6baeb5279c2..66b785e43b1 100644
--- a/pkgs/applications/version-management/yadm/default.nix
+++ b/pkgs/applications/version-management/yadm/default.nix
@@ -2,12 +2,13 @@
let version = "1.12.0"; in
stdenv.mkDerivation {
- name = "yadm-${version}";
+ pname = "yadm";
+ inherit version;
src = fetchFromGitHub {
owner = "TheLocehiliosan";
repo = "yadm";
- rev = "${version}";
+ rev = version;
sha256 = "0873jgks7dpfkj5km1jchxdrhf7lia70p0f8zsrh9p4crj5f4pc6";
};
diff --git a/pkgs/applications/video/aegisub/default.nix b/pkgs/applications/video/aegisub/default.nix
index a613ad1c584..2734035b6de 100644
--- a/pkgs/applications/video/aegisub/default.nix
+++ b/pkgs/applications/video/aegisub/default.nix
@@ -21,11 +21,11 @@ assert portaudioSupport -> (portaudio != null);
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "aegisub-${version}";
+ pname = "aegisub";
version = "3.2.2";
src = fetchurl {
- url = "http://ftp.aegisub.org/pub/releases/${name}.tar.xz";
+ url = "http://ftp.aegisub.org/pub/releases/${pname}-${version}.tar.xz";
sha256 = "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5";
};
@@ -48,6 +48,9 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "bindnow" "relro" ];
+ # compat with icu61+ https://github.com/unicode-org/icu/blob/release-64-2/icu4c/readme.html#L554
+ CXXFLAGS = [ "-DU_USING_ICU_NAMESPACE=1" ];
+
# this is fixed upstream though not yet in an officially released version,
# should be fine remove on next release (if one ever happens)
NIX_LDFLAGS = [
diff --git a/pkgs/applications/video/avidemux/default.nix b/pkgs/applications/video/avidemux/default.nix
index 7912fe60bbc..c28d900dd9f 100644
--- a/pkgs/applications/video/avidemux/default.nix
+++ b/pkgs/applications/video/avidemux/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, cmake, pkgconfig
, zlib, gettext, libvdpau, libva, libXv, sqlite
, yasm, freetype, fontconfig, fribidi
-, makeWrapper, libXext, libGLU, qttools, qtbase
+, makeWrapper, libXext, libGLU, qttools, qtbase, wrapQtAppsHook
, alsaLib
, withX265 ? true, x265
, withX264 ? true, x264
@@ -24,12 +24,12 @@ assert default != "qt5" -> default == "cli";
assert !withQT -> default != "qt5";
stdenv.mkDerivation rec {
- name = "avidemux-${version}";
- version = "2.7.3";
+ pname = "avidemux";
+ version = "2.7.4";
src = fetchurl {
url = "mirror://sourceforge/avidemux/avidemux/${version}/avidemux_${version}.tar.gz";
- sha256 = "17x2mnnr5h8pp764p55l1xcn2ljnzhbj8cykajlllvk4rc4qwxld";
+ sha256 = "1acdb3m37vdzzbm8mwyibcn8msi7birb5v30qfi7jli5r00src3x";
};
patches = [
@@ -37,7 +37,9 @@ stdenv.mkDerivation rec {
./bootstrap_logging.patch
];
- nativeBuildInputs = [ yasm cmake pkgconfig ];
+ nativeBuildInputs =
+ [ yasm cmake pkgconfig ]
+ ++ lib.optional withQT wrapQtAppsHook;
buildInputs = [
zlib gettext libvdpau libva libXv sqlite fribidi fontconfig
freetype alsaLib libXext libGLU makeWrapper
@@ -55,7 +57,10 @@ stdenv.mkDerivation rec {
buildCommand = let
qtVersion = "5.${stdenv.lib.versions.minor qtbase.version}";
- wrapProgram = f: "wrapProgram ${f} --set ADM_ROOT_DIR $out --prefix LD_LIBRARY_PATH : ${libXext}/lib";
+ wrapWith = makeWrapper: filename:
+ "${makeWrapper} ${filename} --set ADM_ROOT_DIR $out --prefix LD_LIBRARY_PATH : ${libXext}/lib";
+ wrapQtApp = wrapWith "wrapQtApp";
+ wrapProgram = wrapWith "wrapProgram";
in ''
unpackPhase
cd "$sourceRoot"
@@ -74,8 +79,8 @@ stdenv.mkDerivation rec {
${wrapProgram "$out/bin/avidemux3_cli"}
${stdenv.lib.optionalString withQT ''
- ${wrapProgram "$out/bin/avidemux3_qt5"} --prefix QT_PLUGIN_PATH : ${qtbase}/lib/qt-${qtVersion}/plugins
- ${wrapProgram "$out/bin/avidemux3_jobs_qt5"} --prefix QT_PLUGIN_PATH : ${qtbase}/lib/qt-${qtVersion}/plugins
+ ${wrapQtApp "$out/bin/avidemux3_qt5"}
+ ${wrapQtApp "$out/bin/avidemux3_jobs_qt5"}
''}
ln -s "$out/bin/avidemux3_${default}" "$out/bin/avidemux"
diff --git a/pkgs/applications/video/avxsynth/default.nix b/pkgs/applications/video/avxsynth/default.nix
index a76608bdd90..f16f655b95d 100644
--- a/pkgs/applications/video/avxsynth/default.nix
+++ b/pkgs/applications/video/avxsynth/default.nix
@@ -7,8 +7,8 @@ let
inherit (stdenv.lib) enableFeature optional;
in
-stdenv.mkDerivation rec {
- name = "avxsynth-${version}";
+stdenv.mkDerivation {
+ pname = "avxsynth";
version = "2015-04-07";
src = fetchFromGitHub {
diff --git a/pkgs/applications/video/bino3d/default.nix b/pkgs/applications/video/bino3d/default.nix
index d98b3979660..64b9613363c 100644
--- a/pkgs/applications/video/bino3d/default.nix
+++ b/pkgs/applications/video/bino3d/default.nix
@@ -1,11 +1,11 @@
{ stdenv, lib, fetchurl, pkgconfig, ffmpeg, glew, libass, openal, qtbase }:
stdenv.mkDerivation rec {
- name = "bino-${version}";
+ pname = "bino";
version = "1.6.7";
src = fetchurl {
- url = "https://bino3d.org/releases/${name}.tar.xz";
+ url = "https://bino3d.org/releases/${pname}-${version}.tar.xz";
sha256 = "04yl7ibnhajlli4a5x77az8jxbzw6b2wjay8aa6px551nmiszn9k";
};
diff --git a/pkgs/applications/video/bombono/default.nix b/pkgs/applications/video/bombono/default.nix
index aaa1737f99a..1cba1d0e949 100644
--- a/pkgs/applications/video/bombono/default.nix
+++ b/pkgs/applications/video/bombono/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gnome2, gtkmm2, scons,
+{ stdenv, fetchFromGitHub, wrapGAppsHook, gtk2, boost, gtkmm2, scons,
mjpegtools, libdvdread, dvdauthor, gettext, dvdplusrwtools, libxmlxx, ffmpeg,
enca, pkgconfig, fetchpatch }:
@@ -8,7 +8,7 @@ fetchpatch {
url = "https://aur.archlinux.org/cgit/aur.git/plain/${name}?h=e6cc6bc80c672aaa1a2260abfe8823da299a192c";
}; in
stdenv.mkDerivation rec {
- name = "bombono-${version}";
+ pname = "bombono";
version = "1.2.4";
src = fetchFromGitHub {
owner = "muravjov";
diff --git a/pkgs/applications/video/bomi/default.nix b/pkgs/applications/video/bomi/default.nix
index bbac1014034..9ff65483f26 100644
--- a/pkgs/applications/video/bomi/default.nix
+++ b/pkgs/applications/video/bomi/default.nix
@@ -30,7 +30,7 @@ assert cddaSupport -> libcdda != null;
assert youtubeSupport -> youtube-dl != null;
stdenv.mkDerivation rec {
- name = "bomi-${version}";
+ pname = "bomi";
version = "0.9.11";
src = fetchFromGitHub {
diff --git a/pkgs/applications/video/byzanz/default.nix b/pkgs/applications/video/byzanz/default.nix
index ea8cb5aa3ff..10685a72f10 100644
--- a/pkgs/applications/video/byzanz/default.nix
+++ b/pkgs/applications/video/byzanz/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchgit, wrapGAppsHook, which, gnome3, glib, intltool, pkgconfig, libtool, cairo, gtk3, gst_all_1, xorg }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "0.2.3.alpha";
- name = "byzanz-${version}";
+ pname = "byzanz";
src = fetchgit {
url = git://github.com/GNOME/byzanz;
diff --git a/pkgs/applications/video/ccextractor/default.nix b/pkgs/applications/video/ccextractor/default.nix
new file mode 100644
index 00000000000..91c47516521
--- /dev/null
+++ b/pkgs/applications/video/ccextractor/default.nix
@@ -0,0 +1,34 @@
+{ stdenv, fetchFromGitHub, pkgconfig, cmake
+, glew, glfw3, leptonica, libiconv, tesseract3, zlib }:
+
+with stdenv.lib;
+stdenv.mkDerivation rec {
+ pname = "ccextractor";
+ version = "0.88";
+
+ src = fetchFromGitHub {
+ owner = "CCExtractor";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1sya45hvv4d46bk7541yimmafgvgyhkpsvwfz9kv6pm4yi1lz6nb";
+ };
+
+ sourceRoot = "source/src";
+
+ nativeBuildInputs = [ pkgconfig cmake ];
+
+ buildInputs = [ glew glfw3 leptonica tesseract3 zlib ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
+
+ meta = {
+ homepage = "https://www.ccextractor.org";
+ description = "Tool that produces subtitles from closed caption data in videos";
+ longDescription = ''
+ A tool that analyzes video files and produces independent subtitle files from
+ closed captions data. CCExtractor is portable, small, and very fast.
+ It works on Linux, Windows, and OSX.
+ '';
+ platforms = platforms.unix;
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ titanous ];
+ };
+}
diff --git a/pkgs/applications/video/celluloid/default.nix b/pkgs/applications/video/celluloid/default.nix
new file mode 100644
index 00000000000..47a82470137
--- /dev/null
+++ b/pkgs/applications/video/celluloid/default.nix
@@ -0,0 +1,64 @@
+{ stdenv
+, fetchFromGitHub
+, meson
+, ninja
+, python3
+, gettext
+, pkgconfig
+, desktop-file-utils
+, wrapGAppsHook
+, appstream-glib
+, epoxy
+, glib
+, gtk3
+, mpv
+}:
+
+stdenv.mkDerivation rec {
+ pname = "celluloid";
+ version = "0.17";
+
+ src = fetchFromGitHub {
+ owner = "celluloid-player";
+ repo = "celluloid";
+ rev = "v${version}";
+ sha256 = "0pnxjv6n2q6igxdr8wzbahcj7vccw4nfjdk8fjdnaivf2lyrpv2d";
+ };
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ python3
+ appstream-glib
+ gettext
+ pkgconfig
+ desktop-file-utils
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ epoxy
+ glib
+ gtk3
+ mpv
+ ];
+
+ postPatch = ''
+ patchShebangs meson-post-install.py src/generate-authors.py
+ sed -i '/gtk-update-icon-cache/s/^/#/' meson-post-install.py
+ '';
+
+ doCheck = true;
+
+ meta = with stdenv.lib; {
+ description = "Simple GTK frontend for the mpv video player";
+ longDescription = ''
+ GNOME MPV interacts with mpv via the client API exported by libmpv,
+ allowing access to mpv's powerful playback capabilities through an
+ easy-to-use user interface.
+ '';
+ homepage = "https://github.com/celluloid-player/celluloid";
+ license = licenses.gpl3Plus;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/video/clickshare-csc1/default.nix b/pkgs/applications/video/clickshare-csc1/default.nix
new file mode 100644
index 00000000000..53d257dd9d0
--- /dev/null
+++ b/pkgs/applications/video/clickshare-csc1/default.nix
@@ -0,0 +1,124 @@
+{ lib
+, stdenv
+, fetchurl
+, alsaLib
+, autoPatchelfHook
+, binutils-unwrapped
+, gnutar
+, libav_0_8
+, libnotify
+, libresample
+, libusb1
+, qt4
+, rpmextract
+, unzip
+, xorg
+, usersGroup ? "clickshare" # for udev access rules
+}:
+
+
+# This fetches the latest firmware version that
+# contains a linux-compatible client binary.
+# Barco no longer supports linux, so updates are unlikely:
+# https://www.barco.com/de/support/clickshare-csc-1/knowledge-base/KB1191
+
+
+stdenv.mkDerivation rec {
+ pname = "clickshare-csc1";
+ version = "01.07.00.033";
+ src = fetchurl {
+ name = "clickshare-csc1-${version}.zip";
+ url = https://www.barco.com/services/website/de/TdeFiles/Download?FileNumber=R33050020&TdeType=3&MajorVersion=01&MinorVersion=07&PatchVersion=00&BuildVersion=033;
+ sha256 = "0h4jqidqvk4xkaky5bizi7ilz4qzl2mh68401j21y3djnzx09br3";
+ };
+
+ nativeBuildInputs = [
+ autoPatchelfHook
+ binutils-unwrapped
+ gnutar
+ rpmextract
+ unzip
+ ];
+ buildInputs = [
+ alsaLib
+ libav_0_8
+ libnotify
+ libresample
+ libusb1
+ qt4
+ xorg.libX11
+ xorg.libXdamage
+ xorg.libXfixes
+ xorg.libXinerama
+ xorg.libXtst
+ ];
+ sourceRoot = ".";
+
+ # The source consists of nested archives.
+ # We extract them archive by archive.
+ # If the filename contains version numbers,
+ # we use a wildcard and check that there
+ # is actually only one file matching.
+ postUnpack =
+ let
+ rpmArch =
+ if stdenv.hostPlatform.isx86_32 then "i386" else
+ if stdenv.hostPlatform.isx86_64 then "x86_64" else
+ throw "unsupported system: ${stdenv.hostPlatform.system}";
+ in
+ ''
+ ls clickshare_baseunit_*.*_all.signed_release.ipk | wc --lines | xargs test 1 =
+ tar --verbose --extract --one-top-level=dir1 < clickshare_baseunit_*.*_all.signed_release.ipk
+ mkdir dir2
+ ( cd dir2 ; ar xv ../dir1/firmware.ipk )
+ tar --verbose --gzip --extract --one-top-level=dir3 --exclude='dev/*' < dir2/data.tar.gz
+ ls dir3/clickshare/clickshare-*-*.${rpmArch}.rpm | wc --lines | xargs test 1 =
+ mkdir dir4
+ cd dir4
+ rpmextract ../dir3/clickshare/clickshare-*-*.${rpmArch}.rpm
+ '';
+
+ installPhase = ''
+ runHook preInstall
+ mkdir --verbose --parents $out
+ mv --verbose --target-directory=. usr/*
+ rmdir --verbose usr
+ cp --verbose --recursive --target-directory=$out *
+ runHook postInstall
+ '';
+
+ # Default udev rule restricts access to the
+ # clickshare USB dongle to the `wheel` group.
+ # We replace it with the group
+ # stated in the package arguments.
+ # Also, we patch executable and icon paths in .desktop files.
+ preFixup = ''
+ substituteInPlace \
+ $out/lib/udev/rules.d/99-clickshare.rules \
+ --replace wheel ${usersGroup}
+ substituteInPlace \
+ $out/share/applications/clickshare.desktop \
+ --replace Exec= Exec=$out/bin/ \
+ --replace =/usr =$out
+ substituteInPlace \
+ $out/etc/xdg/autostart/clickshare-launcher.desktop \
+ --replace =/usr =$out
+ '';
+
+ meta = {
+ homepage = https://www.barco.com/de/support/clickshare-csc-1/drivers;
+ downloadPage = https://www.barco.com/de/Support/software/R33050020;
+ platforms = [ "i686-linux" "x86_64-linux" ];
+ license = lib.licenses.unfree;
+ maintainers = [ lib.maintainers.yarny ];
+ description = "Linux driver/client for Barco ClickShare CSC-1";
+ longDescription = ''
+ Barco ClickShare is a wireless presentation system
+ where a USB dongle transmits to a base station
+ that is connected with a beamer.
+ The USB dongle requires proprietary software that
+ captures the screen and sends it to the dongle.
+ This package provides the necessary software for Linux.
+ '';
+ };
+}
diff --git a/pkgs/applications/video/clipgrab/default.nix b/pkgs/applications/video/clipgrab/default.nix
index a94bb7ade33..1872750deb0 100644
--- a/pkgs/applications/video/clipgrab/default.nix
+++ b/pkgs/applications/video/clipgrab/default.nix
@@ -1,16 +1,16 @@
{ stdenv, fetchurl, makeDesktopItem, ffmpeg
-, qmake, qttools
+, qmake, qttools, mkDerivation
, qtbase, qtdeclarative, qtlocation, qtquickcontrols2, qtwebchannel, qtwebengine
}:
-stdenv.mkDerivation rec {
- name = "clipgrab-${version}";
- version = "3.8.2";
+mkDerivation rec {
+ pname = "clipgrab";
+ version = "3.8.4";
src = fetchurl {
- sha256 = "0dhiv1mldp5f555im6mkjxdh6iivn1hnx2xdaqa6wxzsrwrvv5dd";
+ sha256 = "0pyrg3rrsd538vnrv6x2frhbq9k2638nzffjsar1p76wxp8fm42s";
# The .tar.bz2 "Download" link is a binary blob, the source is the .tar.gz!
- url = "https://download.clipgrab.org/${name}.tar.gz";
+ url = "https://download.clipgrab.org/${pname}-${version}.tar.gz";
};
buildInputs = [ ffmpeg qtbase qtdeclarative qtlocation qtquickcontrols2 qtwebchannel qtwebengine ];
diff --git a/pkgs/applications/video/coriander/default.nix b/pkgs/applications/video/coriander/default.nix
index 10a8f4019fc..a2de52468f2 100644
--- a/pkgs/applications/video/coriander/default.nix
+++ b/pkgs/applications/video/coriander/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchurl, pkgconfig, glib, gtk2, libgnomeui, libXv, libraw1394, libdc1394
, SDL, automake, GConf }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coriander-2.0.1";
src = fetchurl {
diff --git a/pkgs/applications/video/devede/default.nix b/pkgs/applications/video/devede/default.nix
index 4802d259fb2..388476cbf8e 100644
--- a/pkgs/applications/video/devede/default.nix
+++ b/pkgs/applications/video/devede/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub, python3Packages, ffmpeg, mplayer, vcdimager, cdrkit, dvdauthor
-, gtk3, gettext, wrapGAppsHook, gdk_pixbuf, gobject-introspection }:
+, gtk3, gettext, wrapGAppsHook, gdk-pixbuf, gobject-introspection }:
let
inherit (python3Packages) dbus-python buildPythonApplication pygobject3 urllib3;
-in buildPythonApplication rec {
+in buildPythonApplication {
name = "devede-4.8.8";
namePrefix = "";
@@ -34,7 +34,7 @@ in buildPythonApplication rec {
];
propagatedBuildInputs = [
- gtk3 pygobject3 gdk_pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3
+ gtk3 pygobject3 gdk-pixbuf dbus-python ffmpeg mplayer dvdauthor vcdimager cdrkit urllib3
];
postPatch = ''
diff --git a/pkgs/applications/video/dvb-apps/default.nix b/pkgs/applications/video/dvb-apps/default.nix
index 6281c788401..a032ef654aa 100644
--- a/pkgs/applications/video/dvb-apps/default.nix
+++ b/pkgs/applications/video/dvb-apps/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation {
buildInputs = [ perl ];
- configurePhase = "true"; # skip configure
+ dontConfigure = true; # skip configure
installPhase = "make prefix=$out install";
diff --git a/pkgs/applications/video/dvd-slideshow/default.nix b/pkgs/applications/video/dvd-slideshow/default.nix
index 344c47eb934..61894bd22f8 100644
--- a/pkgs/applications/video/dvd-slideshow/default.nix
+++ b/pkgs/applications/video/dvd-slideshow/default.nix
@@ -28,11 +28,11 @@ let
'';
in stdenv.mkDerivation rec {
- name = "dvd-slideshow-${version}";
+ pname = "dvd-slideshow";
version = "0.8.4-2";
src = fetchurl {
- url = "mirror://sourceforge/dvd-slideshow/files/${name}.tar.gz";
+ url = "mirror://sourceforge/dvd-slideshow/files/${pname}-${version}.tar.gz";
sha256 = "17c09aqvippiji2sd0pcxjg3nb1mnh9k5nia4gn5lhcvngjcp1q5";
};
diff --git a/pkgs/applications/video/dvdbackup/default.nix b/pkgs/applications/video/dvdbackup/default.nix
index 4712dfac757..54be20d5faf 100644
--- a/pkgs/applications/video/dvdbackup/default.nix
+++ b/pkgs/applications/video/dvdbackup/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "0.4.2";
- name = "dvdbackup-${version}";
+ pname = "dvdbackup";
src = fetchurl {
- url = "mirror://sourceforge/dvdbackup/${name}.tar.xz";
+ url = "mirror://sourceforge/dvdbackup/${pname}-${version}.tar.xz";
sha256 = "1rl3h7waqja8blmbpmwy01q9fgr5r0c32b8dy3pbf59bp3xmd37g";
};
diff --git a/pkgs/applications/video/dvdstyler/default.nix b/pkgs/applications/video/dvdstyler/default.nix
index f73c5277d05..495501e0c18 100644
--- a/pkgs/applications/video/dvdstyler/default.nix
+++ b/pkgs/applications/video/dvdstyler/default.nix
@@ -13,13 +13,13 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "dvdstyler-${version}";
+ pname = "dvdstyler";
srcName = "DVDStyler-${version}";
- version = "3.0.4";
+ version = "3.1.2";
src = fetchurl {
url = "mirror://sourceforge/project/dvdstyler/dvdstyler/${version}/${srcName}.tar.bz2";
- sha256 = "0lwc0hn94m9r8fi07sjqz3fr618l6lnw3zsakxw7nlgnxbjsk7pi";
+ sha256 = "03lsblqficcadlzkbyk8agh5rqcfz6y6dqvy9y866wqng3163zq4";
};
nativeBuildInputs =
diff --git a/pkgs/applications/video/gnome-mplayer/default.nix b/pkgs/applications/video/gnome-mplayer/default.nix
index fd8cc8d8630..3e26b4d68c2 100644
--- a/pkgs/applications/video/gnome-mplayer/default.nix
+++ b/pkgs/applications/video/gnome-mplayer/default.nix
@@ -2,7 +2,7 @@
, libnotify, libpulseaudio, mplayer, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "gnome-mplayer-${version}";
+ pname = "gnome-mplayer";
version = "1.0.9";
src = fetchFromGitHub {
diff --git a/pkgs/applications/video/gnome-mpv/default.nix b/pkgs/applications/video/gnome-mpv/default.nix
deleted file mode 100644
index 75a299d46c7..00000000000
--- a/pkgs/applications/video/gnome-mpv/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchFromGitHub, meson, ninja, python3
-, gettext, pkgconfig, desktop-file-utils, wrapGAppsHook
-, appstream-glib, epoxy, glib, gtk3, mpv
-}:
-
-stdenv.mkDerivation rec {
- name = "gnome-mpv-${version}";
- version = "0.13";
-
- src = fetchFromGitHub {
- owner = "gnome-mpv";
- repo = "gnome-mpv";
- rev = "0d73b33d60050fd32bf8fae77d831548970a0b69"; # upstream forgot to update appdata
- # rev = "v${version}";
- sha256 = "1cjhw3kz163iwj2japhnv354i1lr112xyyfkxw82cwy2554cfim4";
- };
-
- nativeBuildInputs = [ meson ninja python3 appstream-glib gettext pkgconfig desktop-file-utils wrapGAppsHook ];
- buildInputs = [ epoxy glib gtk3 mpv ];
-
- enableParallelBuilding = true;
-
- postPatch = ''
- patchShebangs meson_post_install.py
- patchShebangs src/generate_authors.py
- sed -i '/gtk-update-icon-cache/s/^/#/' meson_post_install.py
- '';
-
- doCheck = true;
-
- meta = with stdenv.lib; {
- description = "Simple GTK+ frontend for the mpv video player";
- longDescription = ''
- GNOME MPV interacts with mpv via the client API exported by libmpv,
- allowing access to mpv's powerful playback capabilities through an
- easy-to-use user interface.
- '';
- homepage = https://github.com/gnome-mpv/gnome-mpv;
- license = licenses.gpl3Plus;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/applications/video/gpac/default.nix b/pkgs/applications/video/gpac/default.nix
index 7a8b66d2d28..f81f394ed0b 100644
--- a/pkgs/applications/video/gpac/default.nix
+++ b/pkgs/applications/video/gpac/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, pkgconfig, zlib }:
stdenv.mkDerivation rec {
- version = "0.7.1";
- name = "gpac-${version}";
+ version = "0.8.0";
+ pname = "gpac";
src = fetchFromGitHub {
owner = "gpac";
repo = "gpac";
rev = "v${version}";
- sha256 = "197c5968p5bzvk0ga347fwgkqh4j1v3z65wlx65c5m9gwfxz2k2q";
+ sha256 = "1w1dyrn6900yi8ngchfzy5hvxr6yc60blvdq8y8mczimmmq8khb5";
};
# this is the bare minimum configuration, as I'm only interested in MP4Box
diff --git a/pkgs/applications/video/handbrake/default.nix b/pkgs/applications/video/handbrake/default.nix
index aa2407134f3..2e216369de9 100644
--- a/pkgs/applications/video/handbrake/default.nix
+++ b/pkgs/applications/video/handbrake/default.nix
@@ -2,10 +2,14 @@
#
# Derivation patches HandBrake to use Nix closure dependencies.
#
+# NOTE: 2019-07-19: This derivation does not currently support the native macOS
+# GUI--it produces the "HandbrakeCLI" CLI version only. In the future it would
+# be nice to add the native GUI (and/or the GTK GUI) as an option too, but that
+# requires invoking the Xcode build system, which is non-trivial for now.
{ stdenv, lib, fetchurl,
# Main build tools
- python2, pkgconfig, autoconf, automake, cmake, nasm, libtool, m4,
+ python2, pkgconfig, autoconf, automake, cmake, nasm, libtool, m4, lzma,
# Processing, video codecs, containers
ffmpeg-full, nv-codec-headers, libogg, x264, x265, libvpx, libtheora,
# Codecs, audio
@@ -14,20 +18,34 @@
libiconv, fribidi, fontconfig, freetype, libass, jansson, libxml2, harfbuzz,
# Optical media
libdvdread, libdvdnav, libdvdcss, libbluray,
- useGtk ? true, wrapGAppsHook ? null,
- intltool ? null,
- glib ? null,
- gtk3 ? null,
- libappindicator-gtk3 ? null,
- libnotify ? null,
- gst_all_1 ? null,
- dbus-glib ? null,
- udev ? null,
- libgudev ? null,
- hicolor-icon-theme ? null,
+ # Darwin-specific
+ AudioToolbox ? null,
+ Foundation ? null,
+ libobjc ? null,
+ VideoToolbox ? null,
+ # GTK
+ # NOTE: 2019-07-19: The gtk3 package has a transitive dependency on dbus,
+ # which in turn depends on systemd. systemd is not supported on Darwin, so
+ # for now we disable GTK GUI support on Darwin. (It may be possible to remove
+ # this restriction later.)
+ useGtk ? !stdenv.isDarwin, wrapGAppsHook ? null,
+ intltool ? null,
+ glib ? null,
+ gtk3 ? null,
+ libappindicator-gtk3 ? null,
+ libnotify ? null,
+ gst_all_1 ? null,
+ dbus-glib ? null,
+ udev ? null,
+ libgudev ? null,
+ hicolor-icon-theme ? null,
+ # FDK
useFdk ? false, fdk_aac ? null
}:
+assert stdenv.isDarwin -> AudioToolbox != null && Foundation != null
+ && libobjc != null && VideoToolbox != null;
+
stdenv.mkDerivation rec {
pname = "handbrake";
version = "1.2.2";
@@ -45,12 +63,13 @@ stdenv.mkDerivation rec {
ffmpeg-full libogg libtheora x264 x265 libvpx
libopus lame libvorbis a52dec speex libsamplerate
libiconv fribidi fontconfig freetype libass jansson libxml2 harfbuzz
- libdvdread libdvdnav libdvdcss libbluray
+ libdvdread libdvdnav libdvdcss libbluray lzma
] ++ lib.optionals useGtk [
glib gtk3 libappindicator-gtk3 libnotify
gst_all_1.gstreamer gst_all_1.gst-plugins-base dbus-glib udev
libgudev hicolor-icon-theme
] ++ lib.optional useFdk fdk_aac
+ ++ lib.optionals stdenv.isDarwin [ AudioToolbox Foundation libobjc VideoToolbox ]
# NOTE: 2018-12-27: Handbrake supports nv-codec-headers for Linux only,
# look at ./make/configure.py search "enable_nvenc"
++ lib.optional stdenv.isLinux nv-codec-headers;
@@ -59,13 +78,16 @@ stdenv.mkDerivation rec {
# (default distribution bundles&builds 3rd party libs),
# don't trigger cmake build
dontUseCmakeConfigure = true;
- enableParallelBuilding = true;
+ # cp: cannot create regular file './internal_defaults.json': File exists
+ enableParallelBuilding = false;
preConfigure = ''
patchShebangs scripts
substituteInPlace libhb/module.defs \
--replace /usr/include/libxml2 ${libxml2.dev}/include/libxml2
+ substituteInPlace libhb/module.defs \
+ --replace '$(CONTRIB.build/)include/libxml2' ${libxml2.dev}/include/libxml2
# Force using nixpkgs dependencies
sed -i '/MODULES += contrib/d' make/include/main.defs
@@ -75,8 +97,9 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-df-fetch"
"--disable-df-verify"
- (if useGtk then "--disable-gtk-update-checks" else "--disable-gtk")
- (if useFdk then "--enable-fdk-aac" else "")
+ (if useGtk then "--disable-gtk-update-checks" else "--disable-gtk")
+ (if useFdk then "--enable-fdk-aac" else "")
+ (if stdenv.isDarwin then "--disable-xcode" else "")
];
# NOTE: 2018-12-27: Check NixOS HandBrake test if changing
@@ -97,7 +120,7 @@ stdenv.mkDerivation rec {
and containers. Very versatile and customizable.
Package provides:
CLI - `HandbrakeCLI`
- GTK+ GUI - `ghb`
+ GTK GUI - `ghb`
'';
license = licenses.gpl2;
maintainers = with maintainers; [ Anton-Latukha wmertens ];
diff --git a/pkgs/applications/video/k9copy/default.nix b/pkgs/applications/video/k9copy/default.nix
index 1e8883eae7f..037331cad9e 100644
--- a/pkgs/applications/video/k9copy/default.nix
+++ b/pkgs/applications/video/k9copy/default.nix
@@ -7,10 +7,10 @@
stdenv.mkDerivation rec {
version = "3.0.3";
- name = "k9copy-${version}";
+ pname = "k9copy";
src = fetchurl {
- url = "mirror://sourceforge/k9copy-reloaded/${name}.tar.gz";
+ url = "mirror://sourceforge/k9copy-reloaded/${pname}-${version}.tar.gz";
sha256 = "0dp06rwihks50c57bbv04d6bj2qc88isl91971r4lii2xp0qn7sg";
};
@@ -56,5 +56,8 @@ stdenv.mkDerivation rec {
license = stdenv.lib.licenses.gpl2;
maintainers = with stdenv.lib.maintainers; [ flosse ];
platforms = stdenv.lib.platforms.unix;
+ # TODO: The software is deprecated and the build is broken, see:
+ # https://github.com/NixOS/nixpkgs/pull/63260#issuecomment-503506487
+ broken = true;
};
}
diff --git a/pkgs/applications/video/key-mon/default.nix b/pkgs/applications/video/key-mon/default.nix
index bc6cd015b86..7dc350da647 100644
--- a/pkgs/applications/video/key-mon/default.nix
+++ b/pkgs/applications/video/key-mon/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, gnome2, librsvg, pythonPackages }:
pythonPackages.buildPythonApplication rec {
- name = "key-mon-${version}";
+ pname = "key-mon";
version = "1.17";
namePrefix = "";
src = fetchurl {
- url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/key-mon/${name}.tar.gz";
+ url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/key-mon/${pname}-${version}.tar.gz";
sha256 = "1liz0dxcqmchbnl1xhlxkqm3gh76wz9jxdxn9pa7dy77fnrjkl5q";
};
diff --git a/pkgs/applications/video/kmplayer/default.nix b/pkgs/applications/video/kmplayer/default.nix
index 44313f9499f..33ff1821640 100644
--- a/pkgs/applications/video/kmplayer/default.nix
+++ b/pkgs/applications/video/kmplayer/default.nix
@@ -10,7 +10,7 @@ mkDerivation rec {
majorMinorVersion = "0.12";
patchVersion = "0b";
version = "${majorMinorVersion}.${patchVersion}";
- name = "kmplayer-${version}";
+ pname = "kmplayer";
src = fetchurl {
url = "mirror://kde/stable/kmplayer/${majorMinorVersion}/kmplayer-${version}.tar.bz2";
diff --git a/pkgs/applications/video/kodi/default.nix b/pkgs/applications/video/kodi/default.nix
index e5844eb827d..773c63b0036 100644
--- a/pkgs/applications/video/kodi/default.nix
+++ b/pkgs/applications/video/kodi/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchFromGitHub, autoconf, automake, libtool, makeWrapper
+{ stdenv, lib, fetchurl, fetchFromGitHub, autoconf, automake, libtool, makeWrapper, linuxHeaders
, pkgconfig, cmake, gnumake, yasm, python2Packages
, libgcrypt, libgpgerror, libunistring
, boost, avahi, lame, autoreconfHook
@@ -42,21 +42,36 @@ assert usbSupport -> libusb != null && ! udevSupport; # libusb won't be used i
assert vdpauSupport -> libvdpau != null;
assert useWayland -> wayland != null && wayland-protocols != null && waylandpp != null && libxkbcommon != null;
-# TODO for Kodi 18.0
-# - check if dbus support PR has been merged and add dbus as a buildInput
-
let
- kodiReleaseDate = "20190129";
- kodiVersion = "18.1";
+ kodiReleaseDate = "20190901";
+ kodiVersion = "18.4";
rel = "Leia";
kodi_src = fetchFromGitHub {
owner = "xbmc";
repo = "xbmc";
rev = "${kodiVersion}-${rel}";
- sha256 = "1w26aqvzxv4c70gcd1vw1pldapsc2xcacwq9b7dqx5m44j0zx1dc";
+ sha256 = "1m0295czxabdcqyqf5m94av9d88pzhnzjvyfs1q07xqq82h313p7";
};
+ cmakeProto = fetchurl {
+ url = "https://raw.githubusercontent.com/pramsey/libght/ca9b1121c352ea10170636e170040e1af015bad1/cmake/modules/CheckPrototypeExists.cmake";
+ sha256 = "1zai82gm5x55n3xvdv7mns3ja6a2k81x9zz0nk42j6s2yb0fkjxh";
+ };
+
+ cmakeProtoPatch = ''
+ # get rid of windows headers as they will otherwise be found first
+ rm -rf msvc
+
+ cp ${cmakeProto} cmake/${cmakeProto.name}
+ # we need to enable support for C++ for check_prototype_exists to do its thing
+ substituteInPlace CMakeLists.txt --replace 'LANGUAGES C' 'LANGUAGES C CXX'
+ if [ -f cmake/CheckHeadersSTDC.cmake ]; then
+ sed -i cmake/CheckHeadersSTDC.cmake \
+ -e '7iinclude(CheckPrototypeExists)'
+ fi
+ '';
+
kodiDependency = { name, version, rev, sha256, ... } @attrs:
let
attrs' = builtins.removeAttrs attrs ["name" "version" "rev" "sha256"];
@@ -83,16 +98,25 @@ let
nativeBuildInputs = [ cmake nasm pkgconfig ];
};
- # we should be able to build these externally and have kodi reference them as buildInputs.
- # Doesn't work ATM though so we just use them for the src
-
+ # We can build these externally but FindLibDvd.cmake forces us to build it
+ # them, so we currently just use them for the src.
libdvdcss = kodiDependency rec {
name = "libdvdcss";
version = "1.4.2";
rev = "${version}-${rel}-Beta-5";
sha256 = "0j41ydzx0imaix069s3z07xqw9q95k7llh06fc27dcn6f7b8ydyl";
- buildInputs = [ libdvdread ];
- nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ buildInputs = [ linuxHeaders ];
+ nativeBuildInputs = [ cmake pkgconfig ];
+ postPatch = ''
+ rm -rf msvc
+
+ substituteInPlace config.h.cm \
+ --replace '#cmakedefine O_BINARY "''${O_BINARY}"' '#define O_BINARY 0'
+ '';
+ cmakeFlags = [
+ "-DBUILD_SHARED_LIBS=1"
+ "-DHAVE_LINUX_DVD_STRUCT=1"
+ ];
};
libdvdnav = kodiDependency rec {
@@ -100,8 +124,12 @@ let
version = "6.0.0";
rev = "${version}-${rel}-Alpha-3";
sha256 = "0qwlf4lgahxqxk1r2pzl866mi03pbp7l1fc0rk522sc0ak2s9jhb";
- buildInputs = [ libdvdread ];
- nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ buildInputs = [ libdvdcss libdvdread ];
+ nativeBuildInputs = [ cmake pkgconfig ];
+ postPatch = cmakeProtoPatch;
+ postInstall = ''
+ mv $out/lib/liblibdvdnav.so $out/lib/libdvdnav.so
+ '';
};
libdvdread = kodiDependency rec {
@@ -109,10 +137,13 @@ let
version = "6.0.0";
rev = "${version}-${rel}-Alpha-3";
sha256 = "1xxn01mhkdnp10cqdr357wx77vyzfb5glqpqyg8m0skyi75aii59";
- nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ buildInputs = [ libdvdcss ];
+ nativeBuildInputs = [ cmake pkgconfig ];
+ configureFlags = [ "--with-libdvdcss" ];
+ postPatch = cmakeProtoPatch;
};
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
name = "kodi-${lib.optionalString useWayland "wayland-"}${kodiVersion}";
src = kodi_src;
@@ -160,7 +191,7 @@ in stdenv.mkDerivation rec {
makeWrapper
which
pkgconfig gnumake
- autoconf automake libtool # still needed for some components. Check if that is the case with 18.0
+ autoconf automake libtool # still needed for some components. Check if that is the case with 19.0
] ++ lib.optional useWayland [ wayland-protocols ];
cmakeFlags = [
diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix
index b9976e54019..1900bf3634c 100644
--- a/pkgs/applications/video/kodi/plugins.nix
+++ b/pkgs/applications/video/kodi/plugins.nix
@@ -1,4 +1,4 @@
-{ stdenv, callPackage, fetchurl, fetchFromGitHub, unzip
+{ stdenv, callPackage, fetchFromGitHub
, cmake, kodiPlain, libcec_platform, tinyxml, rapidxml
, steam, libusb, pcre-cpp, jsoncpp, libhdhomerun, zlib
, python2Packages, expat, glib, nspr, nss, openssl
@@ -51,7 +51,7 @@ let self = rec {
};
mkKodiPlugin = { plugin, namespace, version, sourceDir ? null, ... }@args:
- toKodiPlugin (stdenv.mkDerivation (rec {
+ toKodiPlugin (stdenv.mkDerivation ({
name = "kodi-plugin-${plugin}-${version}";
dontStrip = true;
@@ -70,7 +70,7 @@ let self = rec {
mkKodiABIPlugin = { plugin, namespace, version, extraBuildInputs ? [],
extraRuntimeDependencies ? [], extraInstallPhase ? "", ... }@args:
- toKodiPlugin (stdenv.mkDerivation (rec {
+ toKodiPlugin (stdenv.mkDerivation ({
name = "kodi-plugin-${plugin}-${version}";
dontStrip = true;
@@ -172,7 +172,7 @@ let self = rec {
};
mkController = controller: {
- "${controller}" = mkKodiPlugin rec {
+ ${controller} = mkKodiPlugin rec {
plugin = pname + "-" + controller;
namespace = "game.controller." + controller;
sourceDir = "addons/" + namespace;
@@ -310,7 +310,7 @@ let self = rec {
};
- steam-launcher = mkKodiPlugin rec {
+ steam-launcher = mkKodiPlugin {
plugin = "steam-launcher";
namespace = "script.steam.launcher";
@@ -487,7 +487,7 @@ let self = rec {
src = fetchFromGitHub {
owner = "peak3d";
repo = "inputstream.adaptive";
- rev = "${version}";
+ rev = version;
sha256 = "09d9b35mpaf3g5m51viyan9hv7d2i8ndvb9wm0j7rs5gwsf0k71z";
};
diff --git a/pkgs/applications/video/lightworks/default.nix b/pkgs/applications/video/lightworks/default.nix
index 2b21a25434d..1ab7e2c991b 100644
--- a/pkgs/applications/video/lightworks/default.nix
+++ b/pkgs/applications/video/lightworks/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, dpkg, makeWrapper, buildFHSUserEnv
-, gnome3, gtk3, gdk_pixbuf, cairo, libjpeg_original, glib, gnome2, libGLU
+, gtk3, gdk-pixbuf, cairo, libjpeg_original, glib, gnome2, libGLU
, nvidia_cg_toolkit, zlib, openssl, portaudio
}:
let
fullPath = stdenv.lib.makeLibraryPath [
stdenv.cc.cc
gtk3
- gdk_pixbuf
+ gdk-pixbuf
cairo
libjpeg_original
glib
@@ -20,7 +20,7 @@ let
lightworks = stdenv.mkDerivation rec {
version = "14.0.0";
- name = "lightworks-${version}";
+ pname = "lightworks";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
@@ -28,7 +28,7 @@ let
url = "http://downloads.lwks.com/v14/lwks-14.0.0-amd64.deb";
sha256 = "66eb9f9678d979db76199f1c99a71df0ddc017bb47dfda976b508849ab305033";
}
- else throw "${name} is not supported on ${stdenv.hostPlatform.system}";
+ else throw "${pname}-${version} is not supported on ${stdenv.hostPlatform.system}";
buildInputs = [ dpkg makeWrapper ];
@@ -60,7 +60,7 @@ let
wrapProgram $out/lib/lightworks/ntcardvt \
--prefix LD_LIBRARY_PATH : ${fullPath}:$out/lib/lightworks \
--set FONTCONFIG_FILE $out/lib/lightworks/fonts.conf
-
+
cp -r usr/share $out/share
'';
@@ -76,7 +76,7 @@ let
};
# Lightworks expects some files in /usr/share/lightworks
-in buildFHSUserEnv rec {
+in buildFHSUserEnv {
name = lightworks.name;
targetPkgs = pkgs: [
diff --git a/pkgs/applications/video/linuxstopmotion/default.nix b/pkgs/applications/video/linuxstopmotion/default.nix
index 717853af745..0a422bb7f50 100644
--- a/pkgs/applications/video/linuxstopmotion/default.nix
+++ b/pkgs/applications/video/linuxstopmotion/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "0.8";
- name = "linuxstopmotion-${version}";
+ pname = "linuxstopmotion";
src = fetchgit {
url = "git://git.code.sf.net/p/linuxstopmotion/code";
diff --git a/pkgs/applications/video/makemkv/builder.sh b/pkgs/applications/video/makemkv/builder.sh
deleted file mode 100644
index 416d5c0f0b0..00000000000
--- a/pkgs/applications/video/makemkv/builder.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-source $stdenv/setup
-set -x
-
-lib=" \
- makemkv-oss-${ver}/out/libdriveio.so.0 \
- makemkv-oss-${ver}/out/libmakemkv.so.1 \
- makemkv-oss-${ver}/out/libmmbd.so.0 \
- "
-
-bin=" \
- makemkv-oss-${ver}/out/makemkv \
- makemkv-bin-${ver}/bin/amd64/makemkvcon \
- "
-
-tar xzf ${src_bin}
-tar xzf ${src_oss}
-
-(
- cd makemkv-oss-${ver}
- ./configure --prefix=$out
- make
-)
-
-chmod +x ${bin}
-
-libPath="${libPath}:${out}/lib" # XXX: der. This should be in the nix file?
-
-for i in ${bin} ; do
- patchelf \
- --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath $libPath \
- ${i}
-done
-
-mkdir -p $out/bin
-mkdir -p $out/lib
-mkdir -p $out/share/MakeMKV
-cp ${lib} ${out}/lib
-cp ${bin} ${out}/bin
-cp makemkv-bin-${ver}/src/share/* $out/share/MakeMKV
diff --git a/pkgs/applications/video/makemkv/default.nix b/pkgs/applications/video/makemkv/default.nix
index a2ba36640ad..77aa2779b5d 100644
--- a/pkgs/applications/video/makemkv/default.nix
+++ b/pkgs/applications/video/makemkv/default.nix
@@ -1,34 +1,45 @@
-{ stdenv, fetchurl
-, openssl, qt5, libGLU_combined, zlib, pkgconfig, libav
+{ stdenv, mkDerivation, fetchurl, autoPatchelfHook
+, ffmpeg, openssl, qtbase, zlib, pkgconfig
}:
-stdenv.mkDerivation rec {
- name = "makemkv-${ver}";
- ver = "1.14.3";
- builder = ./builder.sh;
-
+let
+ version = "1.14.5";
# Using two URLs as the first one will break as soon as a new version is released
src_bin = fetchurl {
urls = [
- "http://www.makemkv.com/download/makemkv-bin-${ver}.tar.gz"
- "http://www.makemkv.com/download/old/makemkv-bin-${ver}.tar.gz"
+ "http://www.makemkv.com/download/makemkv-bin-${version}.tar.gz"
+ "http://www.makemkv.com/download/old/makemkv-bin-${version}.tar.gz"
];
- sha256 = "1d1b7rppbxx2b9p1smf0nlgp47j8b1z8d7q0v82kwr4qxaa0xcg0";
+ sha256 = "1rnkx0h149n3pawmk8d234x5w1xw4kady9pgrcc5aw6krbx38nis";
};
-
src_oss = fetchurl {
urls = [
- "http://www.makemkv.com/download/makemkv-oss-${ver}.tar.gz"
- "http://www.makemkv.com/download/old/makemkv-oss-${ver}.tar.gz"
+ "http://www.makemkv.com/download/makemkv-oss-${version}.tar.gz"
+ "http://www.makemkv.com/download/old/makemkv-oss-${version}.tar.gz"
];
- sha256 = "1jgyp6qs8r0z26258mvyg9dx7qqqdqrdsziw6m24ka77zpfg4b12";
+ sha256 = "1jg10mslcl0sfwdd9p7hy9zfvk0xc7qhdakiv1kbilsl42bgaxyi";
};
+in mkDerivation {
+ pname = "makemkv";
+ inherit version;
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [openssl qt5.qtbase libGLU_combined zlib libav];
+ srcs = [ src_bin src_oss ];
- libPath = stdenv.lib.makeLibraryPath [stdenv.cc.cc openssl libGLU_combined qt5.qtbase zlib ]
- + ":" + stdenv.cc.cc + "/lib64";
+ sourceRoot = "makemkv-oss-${version}";
+
+ nativeBuildInputs = [ autoPatchelfHook pkgconfig ];
+
+ buildInputs = [ ffmpeg openssl qtbase zlib ];
+
+ installPhase = ''
+ runHook preInstall
+
+ install -Dm555 -t $out/bin out/makemkv ../makemkv-bin-${version}/bin/amd64/makemkvcon
+ install -D -t $out/lib out/lib{driveio,makemkv,mmbd}.so.*
+ install -D -t $out/share/MakeMKV ../makemkv-bin-${version}/src/share/*
+
+ runHook postInstall
+ '';
meta = with stdenv.lib; {
description = "Convert blu-ray and dvd to mkv";
diff --git a/pkgs/applications/video/mapmap/default.nix b/pkgs/applications/video/mapmap/default.nix
index 4dd2e019d1d..c302ae1730f 100644
--- a/pkgs/applications/video/mapmap/default.nix
+++ b/pkgs/applications/video/mapmap/default.nix
@@ -13,7 +13,7 @@ with stdenv;
mkDerivation rec {
version = "0.6.1";
- name = "mapmap-${version}";
+ pname = "mapmap";
src = fetchFromGitHub {
owner = "mapmapteam";
diff --git a/pkgs/applications/video/mediathekview/default.nix b/pkgs/applications/video/mediathekview/default.nix
index cceed556f97..a5de209854b 100644
--- a/pkgs/applications/video/mediathekview/default.nix
+++ b/pkgs/applications/video/mediathekview/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "13.2.1";
- name = "mediathekview-${version}";
+ pname = "mediathekview";
src = fetchurl {
url = "https://download.mediathekview.de/stabil/MediathekView-${version}.tar.gz";
sha256 = "11wg6klviig0h7pprfaygamsgqr7drqra2s4yxgfak6665033l2a";
diff --git a/pkgs/applications/video/minitube/default.nix b/pkgs/applications/video/minitube/default.nix
index 3b8dce90243..a9876da234f 100644
--- a/pkgs/applications/video/minitube/default.nix
+++ b/pkgs/applications/video/minitube/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, makeWrapper, phonon, phonon-backend-vlc, qtbase, qmake
+{ stdenv, fetchFromGitHub, wrapQtAppsHook, phonon, phonon-backend-vlc, qtbase, qmake
, qtdeclarative, qttools
# "Free" key generated by nckx . I no longer have a Google
@@ -6,7 +6,7 @@
, withAPIKey ? "AIzaSyBtFgbln3bu1swQC-naMxMtKh384D3xJZE" }:
stdenv.mkDerivation rec {
- name = "minitube-${version}";
+ pname = "minitube";
version = "2.9";
src = fetchFromGitHub {
@@ -17,17 +17,12 @@ stdenv.mkDerivation rec {
};
buildInputs = [ phonon phonon-backend-vlc qtbase qtdeclarative qttools ];
- nativeBuildInputs = [ makeWrapper qmake ];
+ nativeBuildInputs = [ wrapQtAppsHook qmake ];
qmakeFlags = [ "DEFINES+=APP_GOOGLE_API_KEY=${withAPIKey}" ];
enableParallelBuilding = true;
- postInstall = ''
- wrapProgram $out/bin/minitube \
- --prefix QT_PLUGIN_PATH : "${phonon-backend-vlc}/lib/qt-5.${stdenv.lib.versions.minor qtbase.version}/plugins"
- '';
-
meta = with stdenv.lib; {
description = "Stand-alone YouTube video player";
longDescription = ''
diff --git a/pkgs/applications/video/mjpg-streamer/default.nix b/pkgs/applications/video/mjpg-streamer/default.nix
index f9d4d4698fa..d1efae4a924 100644
--- a/pkgs/applications/video/mjpg-streamer/default.nix
+++ b/pkgs/applications/video/mjpg-streamer/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, libjpeg }:
-stdenv.mkDerivation rec {
- name = "mjpg-streamer-${version}";
- version = "2016-03-08";
+stdenv.mkDerivation {
+ pname = "mjpg-streamer";
+ version = "unstable-2019-05-24";
src = fetchFromGitHub {
owner = "jacksonliam";
repo = "mjpg-streamer";
- rev = "4060cb64e3557037fd404d10e1c1d076b672e9e8";
- sha256 = "0g7y832jsz4ylmq9qp2l4fq6bm8l6dhsbi60fr5jfqpx4l0pia8m";
+ rev = "501f6362c5afddcfb41055f97ae484252c85c912";
+ sha256 = "1cl159svfs1zzzrd3zgn4x7qy6751bvlnxfwf5hn5fmg4iszajw7";
};
prePatch = ''
@@ -23,9 +23,10 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- homepage = https://sourceforge.net/projects/mjpg-streamer/;
+ homepage = "https://github.com/jacksonliam/mjpg-streamer";
description = "MJPG-streamer takes JPGs from Linux-UVC compatible webcams, filesystem or other input plugins and streams them as M-JPEG via HTTP to webbrowsers, VLC and other software";
platforms = platforms.linux;
license = licenses.gpl2;
+ maintainers = with maintainers; [ gebner ];
};
}
diff --git a/pkgs/applications/video/mkvtoolnix/default.nix b/pkgs/applications/video/mkvtoolnix/default.nix
index b1ff1516337..04ddbbb8c06 100644
--- a/pkgs/applications/video/mkvtoolnix/default.nix
+++ b/pkgs/applications/video/mkvtoolnix/default.nix
@@ -4,21 +4,22 @@
, withGUI ? true
, qtbase ? null
, qtmultimedia ? null
+ , wrapQtAppsHook ? null
}:
-assert withGUI -> qtbase != null && qtmultimedia != null;
+assert withGUI -> qtbase != null && qtmultimedia != null && wrapQtAppsHook != null;
with stdenv.lib;
stdenv.mkDerivation rec {
pname = "mkvtoolnix";
- version = "33.1.0";
+ version = "37.0.0";
src = fetchFromGitLab {
owner = "mbunkus";
repo = "mkvtoolnix";
rev = "release-${version}";
- sha256 = "130hh6m7cv2x9jv51qclnfg3dldxhfzhzhf6sqibfhynaj65m09i";
+ sha256 = "0r1qzvqc6xx7rmv4v4fjc70cqy832h8v0fjf6c5ljbg1c6pgkl0l";
};
nativeBuildInputs = [
@@ -30,7 +31,7 @@ stdenv.mkDerivation rec {
expat file xdg_utils boost libebml zlib fmt
libmatroska libogg libvorbis flac cmark
] ++ optional stdenv.isDarwin libiconv
- ++ optionals withGUI [ qtbase qtmultimedia ];
+ ++ optionals withGUI [ qtbase qtmultimedia wrapQtAppsHook ];
preConfigure = "./autogen.sh; patchShebangs .";
buildPhase = "drake -j $NIX_BUILD_CORES";
@@ -49,6 +50,11 @@ stdenv.mkDerivation rec {
(enableFeature withGUI "qt")
];
+ dontWrapQtApps = true;
+ postFixup = optionalString withGUI ''
+ wrapQtApp $out/bin/mkvtoolnix-gui
+ '';
+
meta = with stdenv.lib; {
description = "Cross-platform tools for Matroska";
homepage = http://www.bunkus.org/videotools/mkvtoolnix/;
diff --git a/pkgs/applications/video/motion/default.nix b/pkgs/applications/video/motion/default.nix
index e3dcf6b3d3b..684390d3c5c 100644
--- a/pkgs/applications/video/motion/default.nix
+++ b/pkgs/applications/video/motion/default.nix
@@ -2,7 +2,7 @@
, ffmpeg, libjpeg, libmicrohttpd }:
stdenv.mkDerivation rec {
- name = "motion-${version}";
+ pname = "motion";
version = "4.2.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/video/mpc-qt/default.nix b/pkgs/applications/video/mpc-qt/default.nix
index 81b48e25b96..efa495a45af 100644
--- a/pkgs/applications/video/mpc-qt/default.nix
+++ b/pkgs/applications/video/mpc-qt/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, qttools, mpv }:
stdenv.mkDerivation rec {
- name = "mpc-qt-${version}";
+ pname = "mpc-qt";
version = "18.08";
src = fetchFromGitHub {
diff --git a/pkgs/applications/video/mplayer/default.nix b/pkgs/applications/video/mplayer/default.nix
index c77486a30cf..2afb7d1c68a 100644
--- a/pkgs/applications/video/mplayer/default.nix
+++ b/pkgs/applications/video/mplayer/default.nix
@@ -59,20 +59,21 @@ let
codecs_src =
let
dir = http://www.mplayerhq.hu/MPlayer/releases/codecs/;
+ version = "20071007";
in
if stdenv.hostPlatform.system == "i686-linux" then fetchurl {
- url = "${dir}/essential-20071007.tar.bz2";
+ url = "${dir}/essential-${version}.tar.bz2";
sha256 = "18vls12n12rjw0mzw4pkp9vpcfmd1c21rzha19d7zil4hn7fs2ic";
} else if stdenv.hostPlatform.system == "x86_64-linux" then fetchurl {
- url = "${dir}/essential-amd64-20071007.tar.bz2";
+ url = "${dir}/essential-amd64-${version}.tar.bz2";
sha256 = "13xf5b92w1ra5hw00ck151lypbmnylrnznq9hhb0sj36z5wz290x";
} else if stdenv.hostPlatform.system == "powerpc-linux" then fetchurl {
- url = "${dir}/essential-ppc-20071007.tar.bz2";
+ url = "${dir}/essential-ppc-${version}.tar.bz2";
sha256 = "18mlj8dp4wnz42xbhdk1jlz2ygra6fbln9wyrcyvynxh96g1871z";
} else null;
codecs = if codecs_src != null then stdenv.mkDerivation {
- name = "MPlayer-codecs-essential-20071007";
+ pname = "MPlayer-codecs-essential";
src = codecs_src;
@@ -89,11 +90,12 @@ let
in
stdenv.mkDerivation rec {
- name = "mplayer-1.3.0";
+ pname = "mplayer";
+ version = "1.4";
src = fetchurl {
- url = "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.3.0.tar.xz";
- sha256 = "0hwqn04bdknb2ic88xd75smffxx63scvz0zvwvjb56nqj9n89l1s";
+ url = "http://www.mplayerhq.hu/MPlayer/releases/MPlayer-${version}.tar.xz";
+ sha256 = "0j5mflr0wnklxsvnpmxvk704hscyn2785hvvihj2i3a7b3anwnc2";
};
prePatch = ''
@@ -218,6 +220,6 @@ stdenv.mkDerivation rec {
homepage = http://mplayerhq.hu;
license = "GPL";
maintainers = [ stdenv.lib.maintainers.eelco ];
- platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
+ platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
};
}
diff --git a/pkgs/applications/video/mpv/default.nix b/pkgs/applications/video/mpv/default.nix
index dcfeae52aae..bb0b92eee03 100644
--- a/pkgs/applications/video/mpv/default.nix
+++ b/pkgs/applications/video/mpv/default.nix
@@ -95,7 +95,7 @@ let
luaEnv = lua.withPackages(ps: with ps; [ luasocket ]);
in stdenv.mkDerivation rec {
- name = "mpv-${version}";
+ pname = "mpv";
version = "0.29.1";
src = fetchFromGitHub {
@@ -218,7 +218,7 @@ in stdenv.mkDerivation rec {
description = "A media player that supports many video formats (MPlayer and mplayer2 fork)";
homepage = https://mpv.io;
license = licenses.gpl2Plus;
- maintainers = with maintainers; [ AndersonTorres fuuzetsu fpletz ];
+ maintainers = with maintainers; [ AndersonTorres fuuzetsu fpletz globin ];
platforms = platforms.darwin ++ platforms.linux;
longDescription = ''
diff --git a/pkgs/applications/video/mythtv/default.nix b/pkgs/applications/video/mythtv/default.nix
index 1be4fc252fd..d5c46491cf4 100644
--- a/pkgs/applications/video/mythtv/default.nix
+++ b/pkgs/applications/video/mythtv/default.nix
@@ -2,11 +2,11 @@
, libpulseaudio, fftwSinglePrec , lame, zlib, libGLU_combined, alsaLib, freetype
, perl, pkgconfig , libX11, libXv, libXrandr, libXvMC, libXinerama, libXxf86vm
, libXmu , yasm, libuuid, taglib, libtool, autoconf, automake, file, exiv2
-, linuxHeaders
+, linuxHeaders, fetchpatch
}:
stdenv.mkDerivation rec {
- name = "mythtv-${version}";
+ pname = "mythtv";
version = "29.1";
src = fetchFromGitHub {
@@ -16,6 +16,15 @@ stdenv.mkDerivation rec {
sha256 = "0pjxv4bmq8h285jsr02svgaa03614arsyk12fn9d4rndjsi2cc3x";
};
+ patches = [
+ # Fixes build with exiv2 0.27.1.
+ (fetchpatch {
+ name = "004-exiv2.patch";
+ url = "https://aur.archlinux.org/cgit/aur.git/plain/004-exiv2.patch?h=mythtv&id=76ea37f8556805b205878772ad7874e487c0d946";
+ sha256 = "0mh542f53qgky0w3s2bv0gmcxzvmb10834z3cfff40fby2ffr6k8";
+ })
+ ];
+
setSourceRoot = ''sourceRoot=$(echo */mythtv)'';
buildInputs = [
diff --git a/pkgs/applications/video/natron/default.nix b/pkgs/applications/video/natron/default.nix
index 6299cd7e593..4617d1d17dc 100644
--- a/pkgs/applications/video/natron/default.nix
+++ b/pkgs/applications/video/natron/default.nix
@@ -12,7 +12,7 @@ let
};
seexpr = stdenv.mkDerivation rec {
version = "1.0.1";
- name = "seexpr-${version}";
+ pname = "seexpr";
src = fetchurl {
url = "https://github.com/wdas/SeExpr/archive/rel-${version}.tar.gz";
sha256 = "1ackh0xs4ip7mk34bam8zd4qdymkdk0dgv8x0f2mf6gbyzzyh7lp";
diff --git a/pkgs/applications/video/obs-studio/default.nix b/pkgs/applications/video/obs-studio/default.nix
index 932436bd8d3..5e7cf9353b2 100644
--- a/pkgs/applications/video/obs-studio/default.nix
+++ b/pkgs/applications/video/obs-studio/default.nix
@@ -1,6 +1,6 @@
{ config, stdenv
+, mkDerivation
, fetchFromGitHub
-, fetchpatch
, cmake
, fdk_aac
, ffmpeg
@@ -35,15 +35,15 @@
let
optional = stdenv.lib.optional;
-in stdenv.mkDerivation rec {
- name = "obs-studio-${version}";
- version = "23.1.0";
+in mkDerivation rec {
+ pname = "obs-studio";
+ version = "23.2.1";
src = fetchFromGitHub {
owner = "jp9000";
repo = "obs-studio";
- rev = "${version}";
- sha256 = "1iavrkjp7vgg0blm4lmj4mc4hrfx8yjaiwx55wmc5ynw80v37ybc";
+ rev = version;
+ sha256 = "05brixq2z98mvn1q2rgdl27xj798509nv8yh6h0yzqyk9gly4anz";
};
nativeBuildInputs = [ cmake
diff --git a/pkgs/applications/video/obs-studio/linuxbrowser.nix b/pkgs/applications/video/obs-studio/linuxbrowser.nix
index 14f40ad8901..52aa57bf198 100644
--- a/pkgs/applications/video/obs-studio/linuxbrowser.nix
+++ b/pkgs/applications/video/obs-studio/linuxbrowser.nix
@@ -9,7 +9,7 @@
}:
stdenv.mkDerivation rec {
- name = "obs-linuxbrowser-${version}";
+ pname = "obs-linuxbrowser";
version = "0.6.1";
src = fetchFromGitHub {
owner = "bazukas";
diff --git a/pkgs/applications/video/olive-editor/default.nix b/pkgs/applications/video/olive-editor/default.nix
index 15db28b05e4..efa06f4794e 100644
--- a/pkgs/applications/video/olive-editor/default.nix
+++ b/pkgs/applications/video/olive-editor/default.nix
@@ -1,16 +1,16 @@
-{ stdenv, fetchFromGitHub, pkgconfig, which, qmake,
+{ stdenv, fetchFromGitHub, pkgconfig, which, qmake, mkDerivation,
qtbase, qtmultimedia, frei0r, opencolorio, hicolor-icon-theme, ffmpeg-full,
CoreFoundation }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "olive-editor";
- version = "0.1.0";
+ version = "0.1.1";
src = fetchFromGitHub {
owner = "olive-editor";
repo = "olive";
rev = version;
- sha256 = "191nk4c35gys4iypykcidn6h27c3sbjfy117q7h9h1qilz2wm94z";
+ sha256 = "15q4qwf5rc3adssywl72jrhkpqk55ihpd5h5wf07baw0s47vv5kq";
};
nativeBuildInputs = [
diff --git a/pkgs/applications/video/openshot-qt/default.nix b/pkgs/applications/video/openshot-qt/default.nix
index 19a8ff6c822..1c5359e5f0c 100644
--- a/pkgs/applications/video/openshot-qt/default.nix
+++ b/pkgs/applications/video/openshot-qt/default.nix
@@ -1,8 +1,15 @@
-{ stdenv, fetchFromGitHub
+{ stdenv, mkDerivationWith, fetchFromGitHub, fetchpatch
, doxygen, python3Packages, libopenshot
, wrapGAppsHook, gtk3 }:
-python3Packages.buildPythonApplication rec {
+let
+ fixPermissions = fetchpatch rec {
+ url = https://github.com/OpenShot/openshot-qt/pull/2973.patch;
+ sha256 = "037rh0p3k4sdzprlpyb73byjq3qhqk5zd0d4iin6bq602r8bbp0n";
+ };
+in
+
+mkDerivationWith python3Packages.buildPythonApplication rec {
pname = "openshot-qt";
version = "2.4.4";
@@ -13,18 +20,28 @@ python3Packages.buildPythonApplication rec {
sha256 = "0mg63v36h7l8kv2sgf6x8c1n3ygddkqqwlciz7ccxpbm4x1idqba";
};
+ patches = [ fixPermissions ];
+
nativeBuildInputs = [ doxygen wrapGAppsHook ];
buildInputs = [ gtk3 ];
propagatedBuildInputs = with python3Packages; [ libopenshot pyqt5_with_qtwebkit requests sip httplib2 pyzmq ];
+ dontWrapGApps = true;
+ dontWrapQtApps = true;
preConfigure = ''
# tries to create caching directories during install
export HOME=$(mktemp -d)
'';
+ postFixup = ''
+ wrapProgram $out/bin/openshot-qt \
+ "''${gappsWrapperArgs[@]}" \
+ "''${qtWrapperArgs[@]}"
+ '';
+
doCheck = false;
meta = with stdenv.lib; {
diff --git a/pkgs/applications/video/openshot-qt/libopenshot.nix b/pkgs/applications/video/openshot-qt/libopenshot.nix
index b7c8e6feeba..95f89e0eda5 100644
--- a/pkgs/applications/video/openshot-qt/libopenshot.nix
+++ b/pkgs/applications/video/openshot-qt/libopenshot.nix
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
[ imagemagick ffmpeg swig python3 unittest-cpp
cppzmq czmqpp qtbase qtmultimedia ];
- LIBOPENSHOT_AUDIO_DIR = "${libopenshot-audio}";
+ LIBOPENSHOT_AUDIO_DIR = libopenshot-audio;
"UNITTEST++_INCLUDE_DIR" = "${unittest-cpp}/include/UnitTest++";
doCheck = false;
diff --git a/pkgs/applications/video/pitivi/default.nix b/pkgs/applications/video/pitivi/default.nix
index 1c124df3023..bef9537b806 100644
--- a/pkgs/applications/video/pitivi/default.nix
+++ b/pkgs/applications/video/pitivi/default.nix
@@ -12,7 +12,7 @@ let
# don't bother exposing the package to all of nixpkgs.
gst-transcoder = stdenv.mkDerivation rec {
version = "1.14.1";
- name = "gst-transcoder-${version}";
+ pname = "gst-transcoder";
src = fetchFromGitHub {
owner = "pitivi";
repo = "gst-transcoder";
diff --git a/pkgs/applications/video/plex-media-player/default.nix b/pkgs/applications/video/plex-media-player/default.nix
index 20684354d09..a4f9d6222aa 100644
--- a/pkgs/applications/video/plex-media-player/default.nix
+++ b/pkgs/applications/video/plex-media-player/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fetchurl, pkgconfig, cmake, python3
+{ stdenv, fetchFromGitHub, fetchurl, pkgconfig, cmake, python3, mkDerivation
, libX11, libXrandr, qtbase, qtwebchannel, qtwebengine, qtx11extras
, libvdpau, SDL2, mpv, libGL }:
let
@@ -9,41 +9,41 @@ let
# plex-media-player is updated, the versions for these files are changed,
# so the build IDs (and SHAs) below will need to be updated!
depSrcs = rec {
- webClientBuildId = "85-88b3ac67015f76";
- webClientDesktopBuildId = "3.77.2-7015f76";
- webClientTvBuildId = "3.78.0-88b3ac6";
+ webClientBuildId = "141-4af71961b12c68";
+ webClientDesktopBuildId = "3.104.2-1b12c68";
+ webClientTvBuildId = "4.3.0-4af7196";
webClient = fetchurl {
url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/buildid.cmake";
- sha256 = "0j7i4yr95ljw9cwyaygld41j7yvndj3dza3cbydv4x8mh2hn05v1";
+ sha256 = "0fpkd1s49dbiqqlijxbillqd71a78p8y2sc23mwp0lvcmxrg265p";
};
webClientDesktopHash = fetchurl {
url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-desktop-${webClientDesktopBuildId}.tar.xz.sha1";
- sha256 = "106kx9ahz7jgskpjraff2g235n1whwvf18yw0nmp5dwr9ys9h8jp";
+ sha256 = "0sb0j44lwqz9zbm98nba4x6c1jxdzvs36ynwfg527avkxxna0f8f";
};
webClientDesktop = fetchurl {
url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-desktop-${webClientDesktopBuildId}.tar.xz";
- sha256 = "0h23h3fd3w43glvnhrg9qiajs0ql490kb00g3i4cpi29hy1ky45r";
+ sha256 = "0dxa0ka0igfsryzda4r5clwdl47ah78nmlmgj9d5pgsvyvzjp87z";
};
webClientTvHash = fetchurl {
url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-tv-${webClientTvBuildId}.tar.xz.sha1";
- sha256 = "05zk2zpmcdf276ys5zyirsmvhvyvz99fa6hlgymma8ql6w67133r";
+ sha256 = "086w1bavk2aqsyhv9zi5fynk31zf61sl91r6gjrdrz656wfk5bxa";
};
webClientTv = fetchurl {
url = "https://artifacts.plex.tv/web-client-pmp/${webClientBuildId}/web-client-tv-${webClientTvBuildId}.tar.xz";
- sha256 = "1cflpgaf4kyj6ccqa11j28rkp8s7zlbnid7s00m5n2c907dihmw2";
+ sha256 = "12vbgsfnj0j2y5jd73dpi08hqsr9888sma41nvd4ydsd7qblm455";
};
};
-in stdenv.mkDerivation rec {
- name = "plex-media-player-${version}";
- version = "2.23.0.920";
- vsnHash = "5bc1a2e5";
+in mkDerivation rec {
+ pname = "plex-media-player";
+ version = "2.40.0.1007";
+ vsnHash = "5482132c";
src = fetchFromGitHub {
owner = "plexinc";
repo = "plex-media-player";
rev = "v${version}-${vsnHash}";
- sha256 = "1jzlyj32gr3ar89qnk8slazrbchqkjfx9dchzkzfvpi6742v9igm";
+ sha256 = "0ibdh5g8x32iy74q97jfsmxd08wnyrzs3gfiwjfgc10vaa1qdhli";
};
nativeBuildInputs = [ pkgconfig cmake python3 ];
diff --git a/pkgs/applications/video/qarte/default.nix b/pkgs/applications/video/qarte/default.nix
index f0c3776a433..cd6416032da 100644
--- a/pkgs/applications/video/qarte/default.nix
+++ b/pkgs/applications/video/qarte/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchbzr, python3, rtmpdump, makeWrapper }:
+{ mkDerivation, lib, fetchbzr, python3, rtmpdump }:
let
- pythonEnv = python3.withPackages (ps: with ps; [ pyqt5 sip ]);
-in stdenv.mkDerivation {
+ pythonEnv = python3.withPackages (ps: with ps; [ pyqt5_with_qtmultimedia ]);
+in mkDerivation {
name = "qarte-4.6.0";
src = fetchbzr {
url = http://bazaar.launchpad.net/~vincent-vandevyvre/qarte/qarte-4;
@@ -10,28 +10,33 @@ in stdenv.mkDerivation {
sha256 = "0v4zpj8w67ydvnmanxbl8pwvn0cfv70c0mlw36a1r4n0rvgxffcn";
};
- buildInputs = [ makeWrapper pythonEnv ];
+ buildInputs = [ pythonEnv ];
installPhase = ''
+ runHook preInstall
mkdir -p $out/bin
mv qarte $out/bin/
substituteInPlace $out/bin/qarte \
--replace '/usr/share' "$out/share"
- wrapProgram $out/bin/qarte \
- --prefix PATH : "${rtmpdump}/bin"
mkdir -p $out/share/man/man1/
mv qarte.1 $out/share/man/man1/
mkdir -p $out/share/qarte
mv * $out/share/qarte/
+ runHook postInstall
+ '';
+
+ postFixup = ''
+ wrapQtApp $out/bin/qarte \
+ --prefix PATH : ${rtmpdump}/bin
'';
meta = {
homepage = https://launchpad.net/qarte;
description = "A recorder for Arte TV Guide and Arte Concert";
- license = stdenv.lib.licenses.gpl3;
- maintainers = with stdenv.lib.maintainers; [ vbgl ];
- platforms = stdenv.lib.platforms.linux;
+ license = lib.licenses.gpl3;
+ maintainers = with lib.maintainers; [ vbgl ];
+ platforms = lib.platforms.linux;
};
}
diff --git a/pkgs/applications/video/qstopmotion/default.nix b/pkgs/applications/video/qstopmotion/default.nix
index 812004bd119..327a2034265 100644
--- a/pkgs/applications/video/qstopmotion/default.nix
+++ b/pkgs/applications/video/qstopmotion/default.nix
@@ -1,18 +1,17 @@
-{ stdenv, lib, fetchurl, qt5, ffmpeg, guvcview, cmake, ninja, libxml2
-, gettext, pkgconfig, libgphoto2, gphoto2, v4l_utils, libv4l, pcre
+{ stdenv, fetchurl, qt5, ffmpeg, guvcview, cmake, ninja, libxml2
+, gettext, pkgconfig, libgphoto2, gphoto2, v4l-utils, libv4l, pcre
, qwt, extra-cmake-modules }:
stdenv.mkDerivation rec {
pname = "qstopmotion";
version = "2.4.1";
- name = "${pname}-${version}";
src = fetchurl {
- url = "mirror://sourceforge/project/${pname}/Version_${builtins.replaceStrings ["."] ["_"] version}/${name}-Source.tar.gz";
+ url = "mirror://sourceforge/project/${pname}/Version_${builtins.replaceStrings ["."] ["_"] version}/${pname}-${version}-Source.tar.gz";
sha256 = "03r6jxyq0bak2vsy2b78nk27m7fm96hnl8cx11l3l17704j4iglh";
};
- buildInputs = with qt5; [ v4l_utils libv4l pcre qtbase qtmultimedia ffmpeg guvcview
+ buildInputs = with qt5; [ v4l-utils libv4l pcre qtbase qtmultimedia ffmpeg guvcview
qwt qtquickcontrols qtimageformats qtxmlpatterns ];
nativeBuildInputs = [ pkgconfig cmake extra-cmake-modules ninja
diff --git a/pkgs/applications/video/quvi/library.nix b/pkgs/applications/video/quvi/library.nix
index c3204cc9c0c..8f9e3131d8a 100644
--- a/pkgs/applications/video/quvi/library.nix
+++ b/pkgs/applications/video/quvi/library.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libproxy, libgcrypt, glib }:
stdenv.mkDerivation rec {
- name = "libquvi-${version}";
+ pname = "libquvi";
version="0.9.4";
src = fetchurl {
diff --git a/pkgs/applications/video/quvi/scripts.nix b/pkgs/applications/video/quvi/scripts.nix
index 603534be4c8..e54fc0eae4b 100644
--- a/pkgs/applications/video/quvi/scripts.nix
+++ b/pkgs/applications/video/quvi/scripts.nix
@@ -1,7 +1,7 @@
{stdenv, fetchurl, pkgconfig}:
stdenv.mkDerivation rec {
- name = "quvi-scripts-${version}";
+ pname = "quvi-scripts";
version="0.9.20131130";
src = fetchurl {
diff --git a/pkgs/applications/video/quvi/tool.nix b/pkgs/applications/video/quvi/tool.nix
index 333f4e6ab4d..972e08bb61b 100644
--- a/pkgs/applications/video/quvi/tool.nix
+++ b/pkgs/applications/video/quvi/tool.nix
@@ -1,7 +1,7 @@
{stdenv, fetchurl, pkgconfig, lua5, curl, quvi_scripts, libquvi, lua5_sockets, glib, makeWrapper}:
stdenv.mkDerivation rec {
- name = "quvi-${version}";
+ pname = "quvi";
version="0.9.5";
src = fetchurl {
diff --git a/pkgs/applications/video/recordmydesktop/default.nix b/pkgs/applications/video/recordmydesktop/default.nix
index 8797ad8f953..e4d6e14d098 100644
--- a/pkgs/applications/video/recordmydesktop/default.nix
+++ b/pkgs/applications/video/recordmydesktop/default.nix
@@ -2,7 +2,7 @@
, libICE, libSM, libX11, libXext, libXfixes, libXdamage }:
stdenv.mkDerivation rec {
- name = "recordmydesktop-${version}";
+ pname = "recordmydesktop";
version = "0.3.8.1-svn${rev}";
rev = "602";
diff --git a/pkgs/applications/video/recordmydesktop/gtk.nix b/pkgs/applications/video/recordmydesktop/gtk.nix
index 984b623cee7..cf02825501f 100644
--- a/pkgs/applications/video/recordmydesktop/gtk.nix
+++ b/pkgs/applications/video/recordmydesktop/gtk.nix
@@ -4,8 +4,8 @@
let
binPath = lib.makeBinPath [ recordmydesktop jack2 xwininfo ];
-in stdenv.mkDerivation rec {
- name = "gtk-recordmydesktop-${version}";
+in stdenv.mkDerivation {
+ pname = "gtk-recordmydesktop";
version = "0.3.8-svn${recordmydesktop.rev}";
src = fetchsvn {
diff --git a/pkgs/applications/video/recordmydesktop/qt.nix b/pkgs/applications/video/recordmydesktop/qt.nix
index 56080135151..573a18f62ce 100644
--- a/pkgs/applications/video/recordmydesktop/qt.nix
+++ b/pkgs/applications/video/recordmydesktop/qt.nix
@@ -4,8 +4,8 @@
let
binPath = lib.makeBinPath [ recordmydesktop jack2 xwininfo ];
-in stdenv.mkDerivation rec {
- name = "qt-recordmydesktop-${version}";
+in stdenv.mkDerivation {
+ pname = "qt-recordmydesktop";
version = "0.3.8-svn${recordmydesktop.rev}";
src = fetchsvn {
diff --git a/pkgs/applications/video/shotcut/default.nix b/pkgs/applications/video/shotcut/default.nix
index 27a0fa3388e..a50ee8b5664 100644
--- a/pkgs/applications/video/shotcut/default.nix
+++ b/pkgs/applications/video/shotcut/default.nix
@@ -1,24 +1,23 @@
-{ stdenv, fetchFromGitHub, SDL2, frei0r, gettext, mlt, jack1, pkgconfig, qtbase
-, qtmultimedia, qtwebkit, qtx11extras, qtwebsockets, qtquickcontrols
-, qtgraphicaleffects, libmlt
-, qmake, makeWrapper, qttools }:
+{ stdenv, fetchFromGitHub, SDL2, frei0r, gettext, mlt, jack1, mkDerivation
+, pkgconfig, qtbase, qtmultimedia, qtwebkit, qtx11extras, qtwebsockets
+, qtquickcontrols, qtgraphicaleffects, libmlt, qmake, qttools }:
assert stdenv.lib.versionAtLeast libmlt.version "6.8.0";
assert stdenv.lib.versionAtLeast mlt.version "6.8.0";
-stdenv.mkDerivation rec {
- name = "shotcut-${version}";
- version = "19.02.28";
+mkDerivation rec {
+ pname = "shotcut";
+ version = "19.09.14";
src = fetchFromGitHub {
owner = "mltframework";
repo = "shotcut";
rev = "v${version}";
- sha256 = "14l0cm81jy7syi08d8dg4nzp7s9zji9cycnf2mvh7zc7x069d1jr";
+ sha256 = "1cl8ba1n0h450r4n5mfqmyjaxvczs3m19blwxslqskvmxy5my3cn";
};
enableParallelBuilding = true;
- nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
+ nativeBuildInputs = [ pkgconfig qmake ];
buildInputs = [
SDL2 frei0r gettext mlt libmlt
qtbase qtmultimedia qtwebkit qtx11extras qtwebsockets qtquickcontrols
@@ -31,14 +30,20 @@ stdenv.mkDerivation rec {
prePatch = ''
sed 's_shotcutPath, "qmelt"_"${mlt}/bin/melt"_' -i src/jobs/meltjob.cpp
sed 's_shotcutPath, "ffmpeg"_"${mlt.ffmpeg}/bin/ffmpeg"_' -i src/jobs/ffmpegjob.cpp
+ sed 's_qApp->applicationDirPath(), "ffmpeg"_"${mlt.ffmpeg}/bin/ffmpeg"_' -i src/docks/encodedock.cpp
NICE=$(type -P nice)
sed "s_/usr/bin/nice_''${NICE}_" -i src/jobs/meltjob.cpp src/jobs/ffmpegjob.cpp
'';
+ qtWrapperArgs = [
+ "--prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1"
+ "--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [jack1 SDL2]}"
+ "--prefix PATH : ${mlt}/bin"
+ ];
+
postInstall = ''
mkdir -p $out/share/shotcut
cp -r src/qml $out/share/shotcut/
- wrapProgram $out/bin/shotcut --prefix FREI0R_PATH : ${frei0r}/lib/frei0r-1 --prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [ jack1 SDL2 ]} --prefix PATH : ${mlt}/bin
'';
meta = with stdenv.lib; {
diff --git a/pkgs/applications/video/simplescreenrecorder/default.nix b/pkgs/applications/video/simplescreenrecorder/default.nix
index b456d8ee9a6..29ad928e27c 100644
--- a/pkgs/applications/video/simplescreenrecorder/default.nix
+++ b/pkgs/applications/video/simplescreenrecorder/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras
+{ stdenv, mkDerivation, fetchurl, alsaLib, ffmpeg, libjack2, libX11, libXext, qtx11extras
, libXfixes, libGLU_combined, pkgconfig, libpulseaudio, qtbase, cmake, ninja
}:
-stdenv.mkDerivation rec {
- name = "simplescreenrecorder-${version}";
+mkDerivation rec {
+ pname = "simplescreenrecorder";
version = "0.3.11";
src = fetchurl {
diff --git a/pkgs/applications/video/smplayer/default.nix b/pkgs/applications/video/smplayer/default.nix
index 00a0942ccf6..495fc6f6745 100644
--- a/pkgs/applications/video/smplayer/default.nix
+++ b/pkgs/applications/video/smplayer/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, qmake, qtscript }:
+{ lib, mkDerivation, fetchurl, qmake, qtscript }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
name = "smplayer-19.5.0";
src = fetchurl {
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A complete front-end for MPlayer";
homepage = http://smplayer.sourceforge.net/;
- license = stdenv.lib.licenses.gpl3Plus;
- platforms = stdenv.lib.platforms.linux;
+ license = lib.licenses.gpl3Plus;
+ platforms = lib.platforms.linux;
};
}
diff --git a/pkgs/applications/video/smtube/default.nix b/pkgs/applications/video/smtube/default.nix
index c5dcec38723..352569e5ab3 100644
--- a/pkgs/applications/video/smtube/default.nix
+++ b/pkgs/applications/video/smtube/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, qmake, qtscript, qtwebkit }:
+{ lib, mkDerivation, fetchurl, qmake, qtscript, qtwebkit }:
-stdenv.mkDerivation rec {
- version = "18.11.0";
- name = "smtube-${version}";
+mkDerivation rec {
+ version = "19.6.0";
+ pname = "smtube";
src = fetchurl {
- url = "mirror://sourceforge/smtube/SMTube/${version}/${name}.tar.bz2";
- sha256 = "0rda7mdsr0awhra9yrmsdzp2c4s6xx5nax107d1fydnk084pygqp";
+ url = "mirror://sourceforge/smtube/SMTube/${version}/${pname}-${version}.tar.bz2";
+ sha256 = "0d3hskd6ar51zq29xj899i8sii9g4cxq99gz2y1dhgsnqbn36hpm";
};
makeFlags = [
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ qmake ];
buildInputs = [ qtscript qtwebkit ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Play and download Youtube videos";
homepage = http://smplayer.sourceforge.net/smtube.php;
license = licenses.gpl2Plus;
diff --git a/pkgs/applications/video/streamlink/default.nix b/pkgs/applications/video/streamlink/default.nix
index 79f092a882c..e33610ac416 100644
--- a/pkgs/applications/video/streamlink/default.nix
+++ b/pkgs/applications/video/streamlink/default.nix
@@ -2,12 +2,12 @@
pythonPackages.buildPythonApplication rec {
version = "1.1.1";
- name = "streamlink-${version}";
+ pname = "streamlink";
src = fetchFromGitHub {
owner = "streamlink";
repo = "streamlink";
- rev = "${version}";
+ rev = version;
sha256 = "1vyf0pifdqygg98azdkfhy5fdckb0w2ca7c46mkrj452gkvmcq33";
};
diff --git a/pkgs/applications/video/subdl/default.nix b/pkgs/applications/video/subdl/default.nix
index 32bd731f16e..36a92f0f1af 100644
--- a/pkgs/applications/video/subdl/default.nix
+++ b/pkgs/applications/video/subdl/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, python3 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "subdl-0.0pre.2017.11.06";
src = fetchFromGitHub {
diff --git a/pkgs/applications/video/subtitleeditor/default.nix b/pkgs/applications/video/subtitleeditor/default.nix
index 135dabd6898..f628c3b214e 100644
--- a/pkgs/applications/video/subtitleeditor/default.nix
+++ b/pkgs/applications/video/subtitleeditor/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, intltool, file,
- desktop-file-utils, enchant, gnome3, gtk3, gtkmm3, gst_all_1, hicolor-icon-theme,
+ desktop-file-utils, enchant, gtk3, gtkmm3, gst_all_1, hicolor-icon-theme,
libsigcxx, libxmlxx, xdg_utils, isocodes, wrapGAppsHook
}:
@@ -7,8 +7,9 @@ let
version = "0.54.0";
in
-stdenv.mkDerivation rec {
- name = "subtitleeditor-${version}";
+stdenv.mkDerivation {
+ pname = "subtitleeditor";
+ inherit version;
src = fetchFromGitHub {
owner = "kitone";
@@ -48,9 +49,9 @@ stdenv.mkDerivation rec {
configureFlags = [ "--disable-debug" ];
meta = {
- description = "GTK+3 application to edit video subtitles";
+ description = "GTK 3 application to edit video subtitles";
longDescription = ''
- Subtitle Editor is a GTK+3 tool to edit subtitles for GNU/Linux/*BSD. It
+ Subtitle Editor is a GTK 3 tool to edit subtitles for GNU/Linux/*BSD. It
can be used for new subtitles or as a tool to transform, edit, correct
and refine existing subtitle. This program also shows sound waves, which
makes it easier to synchronise subtitles to voices.
diff --git a/pkgs/applications/video/tivodecode/default.nix b/pkgs/applications/video/tivodecode/default.nix
index 83ca41e201c..bc6561a0bbd 100644
--- a/pkgs/applications/video/tivodecode/default.nix
+++ b/pkgs/applications/video/tivodecode/default.nix
@@ -6,7 +6,8 @@ let
in
stdenv.mkDerivation {
- name = "tivodecode-${version}";
+ pname = "tivodecode";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/tivodecode/tivodecode/${version}/tivodecode-${version}.tar.gz";
diff --git a/pkgs/applications/video/uvccapture/default.nix b/pkgs/applications/video/uvccapture/default.nix
index dd595baa52e..f52ffa923d2 100644
--- a/pkgs/applications/video/uvccapture/default.nix
+++ b/pkgs/applications/video/uvccapture/default.nix
@@ -8,7 +8,7 @@ let
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "uvccapture-0.5";
src = fetchurl {
diff --git a/pkgs/applications/video/vdr/default.nix b/pkgs/applications/video/vdr/default.nix
index 21c2404f4ee..bcffb8585b3 100644
--- a/pkgs/applications/video/vdr/default.nix
+++ b/pkgs/applications/video/vdr/default.nix
@@ -4,19 +4,19 @@
, enableBidi ? true
}: stdenv.mkDerivation rec {
- name = "vdr-${version}";
- version = "2.4.0";
+ pname = "vdr";
+ version = "2.4.1";
src = fetchurl {
- url = "ftp://ftp.tvdr.de/vdr/${name}.tar.bz2";
- sha256 = "1klcgy9kr7n6z8d2c77j63bl8hvhx5qnqppg73f77004hzz4kbwk";
+ url = "ftp://ftp.tvdr.de/vdr/${pname}-${version}.tar.bz2";
+ sha256 = "1p51b14aqzncx3xpfg0rjplc48pg7520035i5p6r5zzkqhszihr5";
};
enableParallelBuilding = true;
postPatch = "substituteInPlace Makefile --replace libsystemd-daemon libsystemd";
- buildInputs = [ fontconfig libjpeg libcap freetype ]
+ buildInputs = [ fontconfig libjpeg libcap freetype perl ]
++ lib.optional enableSystemd systemd
++ lib.optional enableBidi fribidi;
diff --git a/pkgs/applications/video/vdr/plugins.nix b/pkgs/applications/video/vdr/plugins.nix
index 4fc3783ba51..2ee196baccc 100644
--- a/pkgs/applications/video/vdr/plugins.nix
+++ b/pkgs/applications/video/vdr/plugins.nix
@@ -1,7 +1,8 @@
-{ stdenv, fetchurl, fetchgit, vdr, ffmpeg_2, alsaLib, fetchFromGitHub
+{ stdenv, fetchurl, fetchgit, vdr, alsaLib, fetchFromGitHub
, libvdpau, libxcb, xcbutilwm, graphicsmagick, libav, pcre, xorgserver, ffmpeg
-, libiconv, boost, libgcrypt, perl, utillinux, groff, libva, xorg, ncurses }:
-let
+, libiconv, boost, libgcrypt, perl, utillinux, groff, libva, xorg, ncurses
+, callPackage
+}: let
mkPlugin = name: stdenv.mkDerivation {
name = "vdr-${vdr.version}-${name}";
inherit (vdr) src;
@@ -11,6 +12,8 @@ let
};
in {
+ xineliboutput = callPackage ./xineliboutput {};
+
skincurses = (mkPlugin "skincurses").overrideAttrs(oldAttr: {
buildInputs = oldAttr.buildInputs ++ [ ncurses ];
});
@@ -198,7 +201,7 @@ in {
};
- text2skin = stdenv.mkDerivation rec {
+ text2skin = stdenv.mkDerivation {
name = "vdr-text2skin-1.3.4-20170702";
src = fetchgit {
diff --git a/pkgs/applications/video/vdr/wrapper.nix b/pkgs/applications/video/vdr/wrapper.nix
index 2272d1605fd..497ad7c77a0 100644
--- a/pkgs/applications/video/vdr/wrapper.nix
+++ b/pkgs/applications/video/vdr/wrapper.nix
@@ -1,5 +1,12 @@
-{ symlinkJoin, lib, makeWrapper, vdr, plugins ? [] }:
-symlinkJoin {
+{ symlinkJoin, lib, makeWrapper, vdr
+, plugins ? []
+}: let
+
+ makeXinePluginPath = l: lib.concatStringsSep ":" (map (p: "${p}/lib/xine/plugins") l);
+
+ requiredXinePlugins = lib.flatten (map (p: p.passthru.requiredXinePlugins or []) plugins);
+
+in symlinkJoin {
name = "vdr-with-plugins-${(builtins.parseDrvName vdr.name).version}";
@@ -8,7 +15,9 @@ symlinkJoin {
nativeBuildInputs = [ makeWrapper ];
postBuild = ''
- wrapProgram $out/bin/vdr --add-flags "-L $out/lib/vdr --localedir=$out/share/locale"
+ wrapProgram $out/bin/vdr \
+ --add-flags "-L $out/lib/vdr --localedir=$out/share/locale" \
+ --prefix XINE_PLUGIN_PATH ":" ${makeXinePluginPath requiredXinePlugins}
'';
meta = with vdr.meta; {
diff --git a/pkgs/applications/video/vdr/xineliboutput/default.nix b/pkgs/applications/video/vdr/xineliboutput/default.nix
new file mode 100644
index 00000000000..98fcd2b5d40
--- /dev/null
+++ b/pkgs/applications/video/vdr/xineliboutput/default.nix
@@ -0,0 +1,64 @@
+{ stdenv, fetchurl, lib, vdr
+, libav, libcap, libvdpau
+, xineLib, libjpeg, libextractor, mesa, libGLU
+, libX11, libXext, libXrender, libXrandr
+, makeWrapper
+}: let
+ name = "vdr-xineliboutput-2.1.0";
+
+ makeXinePluginPath = l: lib.concatStringsSep ":" (map (p: "${p}/lib/xine/plugins") l);
+
+ self = stdenv.mkDerivation {
+ inherit name;
+
+ src = fetchurl {
+ url = "mirror://sourceforge/project/xineliboutput/xineliboutput/${name}/${name}.tgz";
+ sha256 = "1phrxpaz8li7z0qy241spawalhcmwkv5hh3gdijbv4h7mm899yba";
+ };
+
+ # configure don't accept argument --prefix
+ dontAddPrefix = true;
+
+ postConfigure = ''
+ sed -i config.mak \
+ -e 's,XINEPLUGINDIR=/[^/]*/[^/]*/[^/]*/,XINEPLUGINDIR=/,'
+ '';
+
+ makeFlags = [ "DESTDIR=$(out)" ];
+
+ postFixup = ''
+ for f in $out/bin/*; do
+ wrapProgram $f \
+ --prefix XINE_PLUGIN_PATH ":" "${makeXinePluginPath [ "$out" xineLib ]}"
+ done
+ '';
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ buildInputs = [
+ libav
+ libcap
+ libextractor
+ libjpeg
+ libGLU
+ libvdpau
+ libXext
+ libXrandr
+ libXrender
+ libX11
+ mesa
+ vdr
+ xineLib
+ ];
+
+ passthru.requiredXinePlugins = [ xineLib self ];
+
+ meta = with lib;{
+ homepage = "https://sourceforge.net/projects/xineliboutput/";
+ description = "Xine-lib based software output device for VDR";
+ maintainers = [ maintainers.ck3d ];
+ license = licenses.gpl2;
+ inherit (vdr.meta) platforms;
+ };
+ };
+in self
diff --git a/pkgs/applications/video/vlc/default.nix b/pkgs/applications/video/vlc/default.nix
index 7f1233a4e04..a38076ca42b 100644
--- a/pkgs/applications/video/vlc/default.nix
+++ b/pkgs/applications/video/vlc/default.nix
@@ -9,9 +9,8 @@
, libass, libva, libdvbpsi, libdc1394, libraw1394, libopus
, libvdpau, libsamplerate, live555, fluidsynth, wayland, wayland-protocols
, onlyLibVLC ? false
-, withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null
+, withQt5 ? true, qtbase ? null, qtsvg ? null, qtx11extras ? null, wrapQtAppsHook ? null
, jackSupport ? false
-, fetchpatch
, removeReferencesTo
, chromecastSupport ? true, protobuf, libmicrodns
}:
@@ -22,15 +21,15 @@
with stdenv.lib;
-assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null);
+assert (withQt5 -> qtbase != null && qtsvg != null && qtx11extras != null && wrapQtAppsHook != null);
stdenv.mkDerivation rec {
- name = "vlc-${version}";
- version = "3.0.6";
+ pname = "vlc";
+ version = "3.0.8";
src = fetchurl {
- url = "http://get.videolan.org/vlc/${version}/${name}.tar.xz";
- sha256 = "1lvyyahv6g9zv7m5g5qinyrwmw47zdsd5ysimb862j7kw15nvh8q";
+ url = "http://get.videolan.org/vlc/${version}/${pname}-${version}.tar.xz";
+ sha256 = "e0149ef4a20a19b9ecd87309c2d27787ee3f47dfd47c6639644bc1f6fd95bdf6";
};
# VLC uses a *ton* of libraries for various pieces of functionality, many of
@@ -50,7 +49,8 @@ stdenv.mkDerivation rec {
++ optional jackSupport libjack2
++ optionals chromecastSupport [ protobuf libmicrodns ];
- nativeBuildInputs = [ autoreconfHook perl pkgconfig removeReferencesTo ];
+ nativeBuildInputs = [ autoreconfHook perl pkgconfig removeReferencesTo ]
+ ++ optionals withQt5 [ wrapQtAppsHook ];
enableParallelBuilding = true;
diff --git a/pkgs/applications/video/vokoscreen/default.nix b/pkgs/applications/video/vokoscreen/default.nix
index 67905033ba1..a38a9056c85 100644
--- a/pkgs/applications/video/vokoscreen/default.nix
+++ b/pkgs/applications/video/vokoscreen/default.nix
@@ -1,14 +1,18 @@
-{ stdenv, fetchgit
-, pkgconfig, qtbase, qttools, qmake, qtx11extras, alsaLib, libv4l, libXrandr
+{ stdenv, fetchFromGitHub, mkDerivation
+, pkgconfig, qtbase, qttools, qmake, qtmultimedia, qtx11extras, alsaLib, libv4l, libXrandr
, ffmpeg
}:
-stdenv.mkDerivation {
- name = "vokoscreen-2.5.0";
- src = fetchgit {
- url = "https://github.com/vkohaupt/vokoscreen.git";
- rev = "8325c8658d6e777d34d2e6b8c8bc03f8da9b3d2f";
- sha256 = "1hvw7xz1mj16ishbaip73wddbmgibsz0pad4y586zbarpynss25z";
+mkDerivation rec {
+
+ pname = "vokoscreen";
+ version = "2.5.8-beta";
+
+ src = fetchFromGitHub {
+ owner = "vkohaupt";
+ repo = "vokoscreen";
+ rev = version;
+ sha256 = "1a85vbsi53mhzva49smqwcs61c51wv3ic410nvb9is9nlsbifwan";
};
nativeBuildInputs = [ pkgconfig qmake ];
@@ -16,6 +20,7 @@ stdenv.mkDerivation {
alsaLib
libv4l
qtbase
+ qtmultimedia
qttools
qtx11extras
libXrandr
@@ -35,14 +40,14 @@ stdenv.mkDerivation {
meta = with stdenv.lib; {
description = "Simple GUI screencast recorder, using ffmpeg";
- homepage = http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html;
+ homepage = "http://linuxecke.volkoh.de/vokoscreen/vokoscreen.html";
longDescription = ''
vokoscreen is an easy to use screencast creator to record
educational videos, live recordings of browser, installation,
videoconferences, etc.
'';
license = licenses.gpl2Plus;
- maintainers = [maintainers.league];
+ maintainers = [ maintainers.league ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch b/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
index 8f696f26301..afcee3f9715 100644
--- a/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
+++ b/pkgs/applications/video/vokoscreen/ffmpeg-out-of-box.patch
@@ -1,20 +1,20 @@
diff --git a/settings/QvkSettings.cpp b/settings/QvkSettings.cpp
-index bbf2abf..187efad 100644
+index 3008e62..07485bd 100644
--- a/settings/QvkSettings.cpp
+++ b/settings/QvkSettings.cpp
-@@ -56,17 +56,8 @@ void QvkSettings::readAll()
- GIFPlayer = settings.value( "GIFplayer" ).toString();
+@@ -66,17 +66,8 @@ void QvkSettings::readAll()
Minimized = settings.value( "Minimized", 0 ).toUInt();
+ MinimizedByStart = settings.value( "MinimizedByStart", 0 ).toUInt();
Countdown = settings.value( "Countdown", 0 ).toUInt();
- QFile file;
- if ( file.exists( qApp->applicationDirPath().append( "/bin/ffmpeg" ) ) == true )
- {
-- vokoscreenWithLibs = true;
+- vokoscreenWithLibs = true;
- Recorder = qApp->applicationDirPath().append( "/bin/ffmpeg" );
- }
- else
- {
-- vokoscreenWithLibs = false;
+- vokoscreenWithLibs = false;
- Recorder = settings.value( "Recorder", "ffmpeg" ).toString();
- }
+ vokoscreenWithLibs = true;
@@ -22,10 +22,3 @@ index bbf2abf..187efad 100644
settings.endGroup();
settings.beginGroup( "Videooptions" );
-@@ -398,4 +389,4 @@ double QvkSettings::getShowClickTime()
- int QvkSettings::getShowKeyOnOff()
- {
- return showKeyOnOff;
--}
-\ No newline at end of file
-+}
diff --git a/pkgs/applications/video/w_scan/default.nix b/pkgs/applications/video/w_scan/default.nix
index 2bf74da3d0f..3c4f607c6af 100644
--- a/pkgs/applications/video/w_scan/default.nix
+++ b/pkgs/applications/video/w_scan/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "w_scan-${version}";
+ pname = "w_scan";
version = "20170107";
src = fetchurl {
- url = "http://wirbel.htpc-forum.de/w_scan/${name}.tar.bz2";
+ url = "http://wirbel.htpc-forum.de/w_scan/${pname}-${version}.tar.bz2";
sha256 = "1zkgnj2sfvckix360wwk1v5s43g69snm45m0drnzyv7hgf5g7q1q";
};
diff --git a/pkgs/applications/video/webtorrent_desktop/default.nix b/pkgs/applications/video/webtorrent_desktop/default.nix
index 086190000ab..8258f858309 100644
--- a/pkgs/applications/video/webtorrent_desktop/default.nix
+++ b/pkgs/applications/video/webtorrent_desktop/default.nix
@@ -1,6 +1,6 @@
{
alsaLib, atk, cairo, cups, dbus, dpkg, expat, fetchurl, fontconfig, freetype,
- gdk_pixbuf, glib, gnome2, libX11, libXScrnSaver, libXcomposite, libXcursor,
+ gdk-pixbuf, glib, gnome2, libX11, libXScrnSaver, libXcomposite, libXcursor,
libXdamage, libXext, libXfixes, libXi, libXrandr, libXrender, libXtst,
libxcb, nspr, nss, stdenv, udev
}:
@@ -15,7 +15,7 @@
expat
fontconfig
freetype
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.GConf
gnome2.gtk
@@ -38,7 +38,7 @@
udev
]);
in stdenv.mkDerivation rec {
- name = "webtorrent-desktop-${version}";
+ pname = "webtorrent-desktop";
version = "0.20.0";
src =
diff --git a/pkgs/applications/video/wxcam/default.nix b/pkgs/applications/video/wxcam/default.nix
index 64fcf0ba04a..176d9a87aed 100644
--- a/pkgs/applications/video/wxcam/default.nix
+++ b/pkgs/applications/video/wxcam/default.nix
@@ -13,11 +13,11 @@
stdenv.mkDerivation rec {
- name = "wxcam-${version}";
+ pname = "wxcam";
version = "1.1";
src = fetchurl {
- url = "mirror://sourceforge/project/wxcam/wxcam/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/project/wxcam/wxcam/${version}/${pname}-${version}.tar.gz";
sha256 = "1765bvc65fpzn9ycnnj5hais9xkx9v0sm6a878d35x54bpanr859";
};
diff --git a/pkgs/applications/video/xscast/default.nix b/pkgs/applications/video/xscast/default.nix
index ae048f1bdac..3c4c59a0ee8 100644
--- a/pkgs/applications/video/xscast/default.nix
+++ b/pkgs/applications/video/xscast/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, makeWrapper, ffmpeg, imagemagick, dzen2, xorg }:
-stdenv.mkDerivation rec {
- name = "xscast-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "xscast-unstable";
version = "2016-07-26";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/8086tiny/default.nix b/pkgs/applications/virtualization/8086tiny/default.nix
index 15d98dc9be5..e16fcb84b05 100644
--- a/pkgs/applications/virtualization/8086tiny/default.nix
+++ b/pkgs/applications/virtualization/8086tiny/default.nix
@@ -4,9 +4,9 @@
assert sdlSupport -> (SDL != null);
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
- name = "8086tiny-${version}";
+ pname = "8086tiny";
version = "1.25";
src = fetchurl {
diff --git a/pkgs/applications/virtualization/OVMF/default.nix b/pkgs/applications/virtualization/OVMF/default.nix
index c858f4c4d6d..ecf6f1c5421 100644
--- a/pkgs/applications/virtualization/OVMF/default.nix
+++ b/pkgs/applications/virtualization/OVMF/default.nix
@@ -1,4 +1,9 @@
-{ stdenv, lib, edk2, nasm, iasl, seabios, openssl, secureBoot ? false }:
+{ stdenv, lib, edk2, utillinux, nasm, iasl
+, csmSupport ? false, seabios ? null
+, secureBoot ? false
+}:
+
+assert csmSupport -> seabios != null;
let
@@ -12,60 +17,25 @@ let
throw "Unsupported architecture";
version = (builtins.parseDrvName edk2.name).version;
-
- src = edk2.src;
in
-stdenv.mkDerivation (edk2.setup projectDscPath {
+edk2.mkDerivation projectDscPath {
name = "OVMF-${version}";
- inherit src;
-
outputs = [ "out" "fd" ];
- # TODO: properly include openssl for secureBoot
- buildInputs = [nasm iasl] ++ stdenv.lib.optionals (secureBoot == true) [ openssl ];
+ buildInputs = [ utillinux nasm iasl ];
- hardeningDisable = [ "stackprotector" "pic" "fortify" ];
+ hardeningDisable = [ "format" "stackprotector" "pic" "fortify" ];
- unpackPhase = ''
- # $fd is overwritten during the build
- export OUTPUT_FD=$fd
+ buildFlags =
+ lib.optional secureBoot "-DSECURE_BOOT_ENABLE=TRUE"
+ ++ lib.optionals csmSupport [ "-D CSM_ENABLE" "-D FD_SIZE_2MB" ];
- for file in \
- "${src}"/{UefiCpuPkg,MdeModulePkg,IntelFrameworkModulePkg,PcAtChipsetPkg,FatBinPkg,EdkShellBinPkg,MdePkg,ShellPkg,OptionRomPkg,IntelFrameworkPkg,FatPkg,CryptoPkg,SourceLevelDebugPkg};
- do
- ln -sv "$file" .
- done
-
- ${if stdenv.isAarch64 then ''
- ln -sv ${src}/ArmPkg .
- ln -sv ${src}/ArmPlatformPkg .
- ln -sv ${src}/ArmVirtPkg .
- ln -sv ${src}/EmbeddedPkg .
- ln -sv ${src}/OvmfPkg .
- '' else if seabios != null then ''
- cp -r ${src}/OvmfPkg .
- chmod +w OvmfPkg/Csm/Csm16
- cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
- '' else ''
- ln -sv ${src}/OvmfPkg .
- ''}
-
- ${lib.optionalString secureBoot ''
- ln -sv ${src}/SecurityPkg .
- ln -sv ${src}/CryptoPkg .
- ''}
+ postPatch = lib.optionalString csmSupport ''
+ cp ${seabios}/Csm16.bin OvmfPkg/Csm/Csm16/Csm16.bin
'';
- buildPhase = if stdenv.isAarch64 then ''
- build -n $NIX_BUILD_CORES
- '' else if seabios == null then ''
- build -n $NIX_BUILD_CORES ${lib.optionalString secureBoot "-DSECURE_BOOT_ENABLE=TRUE"}
- '' else ''
- build -n $NIX_BUILD_CORES -D CSM_ENABLE -D FD_SIZE_2MB ${lib.optionalString secureBoot "-DSECURE_BOOT_ENABLE=TRUE"}
- '';
-
postFixup = if stdenv.isAarch64 then ''
mkdir -vp $fd/FV
mkdir -vp $fd/AAVMF
@@ -77,8 +47,8 @@ stdenv.mkDerivation (edk2.setup projectDscPath {
dd of=$fd/AAVMF/QEMU_EFI-pflash.raw if=$fd/FV/QEMU_EFI.fd conv=notrunc
dd of=$fd/AAVMF/vars-template-pflash.raw if=/dev/zero bs=1M count=64
'' else ''
- mkdir -vp $OUTPUT_FD/FV
- mv -v $out/FV/OVMF{,_CODE,_VARS}.fd $OUTPUT_FD/FV
+ mkdir -vp $fd/FV
+ mv -v $out/FV/OVMF{,_CODE,_VARS}.fd $fd/FV
'';
dontPatchELF = true;
@@ -89,4 +59,4 @@ stdenv.mkDerivation (edk2.setup projectDscPath {
license = stdenv.lib.licenses.bsd2;
platforms = ["x86_64-linux" "i686-linux" "aarch64-linux"];
};
-})
+}
diff --git a/pkgs/applications/virtualization/aqemu/default.nix b/pkgs/applications/virtualization/aqemu/default.nix
index e7cd5b7bde6..02fb256b38c 100644
--- a/pkgs/applications/virtualization/aqemu/default.nix
+++ b/pkgs/applications/virtualization/aqemu/default.nix
@@ -2,7 +2,7 @@
}:
stdenv.mkDerivation rec {
- name = "aqemu-${version}";
+ pname = "aqemu";
version = "0.9.2";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/bochs/default.nix b/pkgs/applications/virtualization/bochs/default.nix
index f9d7128330f..72db4f1e5aa 100644
--- a/pkgs/applications/virtualization/bochs/default.nix
+++ b/pkgs/applications/virtualization/bochs/default.nix
@@ -18,11 +18,11 @@ assert curlSupport -> (curl != null);
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "bochs-${version}";
+ pname = "bochs";
version = "2.6.9";
src = fetchurl {
- url = "mirror://sourceforge/project/bochs/bochs/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/project/bochs/bochs/${version}/${pname}-${version}.tar.gz";
sha256 = "1379cq4cnfprhw8mgh60i0q9j8fz8d7n3d5fnn2g9fdiv5znfnzf";
};
diff --git a/pkgs/applications/virtualization/cbfstool/default.nix b/pkgs/applications/virtualization/cbfstool/default.nix
deleted file mode 100644
index 13060a50290..00000000000
--- a/pkgs/applications/virtualization/cbfstool/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ stdenv, fetchurl, iasl, flex, bison }:
-
-stdenv.mkDerivation rec {
- name = "cbfstool-${version}";
- version = "4.9";
-
- src = fetchurl {
- url = "https://coreboot.org/releases/coreboot-${version}.tar.xz";
- sha256 = "0xkai65d3z9fivwscbkm7ndcw2p9g794xz8fwdv979w77n5qsdij";
- };
-
- nativeBuildInputs = [ flex bison ];
- buildInputs = [ iasl ];
-
- buildPhase = ''
- export LEX=${flex}/bin/flex
- make -C util/cbfstool
- '';
-
- installPhase = ''
- mkdir -p $out/bin
- cp util/cbfstool/cbfstool $out/bin
- cp util/cbfstool/fmaptool $out/bin
- cp util/cbfstool/rmodtool $out/bin
- '';
-
- meta = with stdenv.lib; {
- description = "Management utility for CBFS formatted ROM images";
- homepage = https://www.coreboot.org;
- license = licenses.gpl2;
- maintainers = [ maintainers.tstrobel ];
- platforms = platforms.linux;
- };
-}
-
diff --git a/pkgs/applications/virtualization/cntr/default.nix b/pkgs/applications/virtualization/cntr/default.nix
index 79dbddfab55..13afe0a4261 100644
--- a/pkgs/applications/virtualization/cntr/default.nix
+++ b/pkgs/applications/virtualization/cntr/default.nix
@@ -1,7 +1,7 @@
{ stdenv, rustPlatform, fetchFromGitHub }:
rustPlatform.buildRustPackage rec {
- name = "cntr-${version}";
+ pname = "cntr";
version = "1.2.0";
src = fetchFromGitHub {
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0lmbsnjia44h4rskqkv9yc7xb6f3qjgbg8kcr9zqnr7ivr5fjcxg";
};
- cargoSha256 = "0gainr5gfy0bbhr6078zvgx0kzp53slxjp37d3da091ikgzgfn51";
+ cargoSha256 = "0xkwza9fx61pvlsm0s3dxc9i09mqp6c9df8w63fyiq7174vjxryx";
meta = with stdenv.lib; {
description = "A container debugging tool based on FUSE";
diff --git a/pkgs/applications/virtualization/conmon/default.nix b/pkgs/applications/virtualization/conmon/default.nix
new file mode 100644
index 00000000000..0b523d7b88d
--- /dev/null
+++ b/pkgs/applications/virtualization/conmon/default.nix
@@ -0,0 +1,34 @@
+{ stdenv
+, fetchFromGitHub
+, pkgconfig
+, glib
+, glibc
+, systemd
+}:
+
+stdenv.mkDerivation rec {
+ project = "conmon";
+ name = "${project}-${version}";
+ version = "2.0.0";
+
+ src = fetchFromGitHub {
+ owner = "containers";
+ repo = project;
+ rev = "v${version}";
+ sha256 = "1sigcylya668f5jzkf1vgfsgqy26l3glh9a3g8lhd2468ax6wymk";
+ };
+
+ nativeBuildInputs = [ pkgconfig ];
+ buildInputs = [ glib systemd ] ++
+ stdenv.lib.optionals (!stdenv.hostPlatform.isMusl) [ glibc glibc.static ];
+
+ installPhase = "install -Dm755 bin/${project} $out/bin/${project}";
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/containers/conmon;
+ description = "An OCI container runtime monitor";
+ license = licenses.asl20;
+ maintainers = with maintainers; [ vdemeester saschagrunert ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/applications/virtualization/containerd/default.nix b/pkgs/applications/virtualization/containerd/default.nix
index fe23bcac585..b770c6ed0a5 100644
--- a/pkgs/applications/virtualization/containerd/default.nix
+++ b/pkgs/applications/virtualization/containerd/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, lib, fetchFromGitHub, buildGoPackage, btrfs-progs, go-md2man, utillinux }:
+{ lib, fetchFromGitHub, buildGoPackage, btrfs-progs, go-md2man, utillinux }:
with lib;
buildGoPackage rec {
- name = "containerd-${version}";
+ pname = "containerd";
version = "1.2.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/cri-o/default.nix b/pkgs/applications/virtualization/cri-o/default.nix
index 6e2790ef859..07b6d024990 100644
--- a/pkgs/applications/virtualization/cri-o/default.nix
+++ b/pkgs/applications/virtualization/cri-o/default.nix
@@ -17,7 +17,7 @@
buildGoPackage rec {
project = "cri-o";
- version = "1.14.1";
+ version = "1.15.2";
name = "${project}-${version}${flavor}";
goPackagePath = "github.com/${project}/${project}";
@@ -26,7 +26,7 @@ buildGoPackage rec {
owner = "cri-o";
repo = "cri-o";
rev = "v${version}";
- sha256 = "1cclxarwabk5zlqysm2dzgsm6qkxyzbnlylr0gs57ppn4ibky3nk";
+ sha256 = "0fiizxwxdq87h943421ivgw49jndk23yjz3saf1rzmn7g3xh2pn4";
};
outputs = [ "bin" "out" ];
@@ -41,15 +41,10 @@ buildGoPackage rec {
buildPhase = ''
pushd go/src/${goPackagePath}
- # Build conmon and pause
+ # Build pause
go build -tags ${makeFlags} -o bin/crio-config -buildmode=pie \
-ldflags '-s -w ${ldflags}' ${goPackagePath}/cmd/crio-config
- pushd conmon
- ../bin/crio-config
- popd
-
- make -C conmon
make -C pause
# Build the crio binary
@@ -60,7 +55,6 @@ buildGoPackage rec {
install -Dm755 bin/crio $bin/bin/crio${flavor}
mkdir -p $bin/libexec/crio
- install -Dm755 bin/conmon $bin/libexec/crio/conmon${flavor}
install -Dm755 bin/pause $bin/libexec/crio/pause${flavor}
'';
diff --git a/pkgs/applications/virtualization/crun/default.nix b/pkgs/applications/virtualization/crun/default.nix
new file mode 100644
index 00000000000..7dddc3b533b
--- /dev/null
+++ b/pkgs/applications/virtualization/crun/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, lib, fetchFromGitHub, autoreconfHook, go-md2man, pkgconfig
+, libcap, libseccomp, python3, systemd, yajl }:
+
+stdenv.mkDerivation rec {
+ pname = "crun";
+ version = "0.8";
+
+ src = fetchFromGitHub {
+ owner = "containers";
+ repo = pname;
+ rev = version;
+ sha256 = "1anvlgw373031w0pp0b28l10yrnyhbj192n60bbbjahw487dk2fi";
+ fetchSubmodules = true;
+ };
+
+ nativeBuildInputs = [ autoreconfHook go-md2man pkgconfig python3 ];
+
+ buildInputs = [ libcap libseccomp systemd yajl ];
+
+ enableParallelBuilding = true;
+
+ # the tests require additional permissions
+ doCheck = false;
+
+ meta = with lib; {
+ description = "A fast and lightweight fully featured OCI runtime and C library for running containers";
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ inherit (src.meta) homepage;
+ };
+}
diff --git a/pkgs/applications/virtualization/docker-compose/default.nix b/pkgs/applications/virtualization/docker-compose/default.nix
index 7ab11ee6a5c..b1c42b099b6 100644
--- a/pkgs/applications/virtualization/docker-compose/default.nix
+++ b/pkgs/applications/virtualization/docker-compose/default.nix
@@ -3,15 +3,16 @@
, pyyaml, backports_ssl_match_hostname, colorama, docopt
, dockerpty, docker, ipaddress, jsonschema, requests
, six, texttable, websocket_client, cached-property
-, enum34, functools32,
+, enum34, functools32, paramiko
}:
+
buildPythonApplication rec {
- version = "1.23.2";
+ version = "1.24.1";
pname = "docker-compose";
src = fetchPypi {
inherit pname version;
- sha256 = "1x2jlh7z2znvyz2pqcpn0gigfiqnx8s59pc7xlvy9ryd76g9w1zz";
+ sha256 = "0lx7bx6jvhydbab8vwry0bclhdf0dfj6jrns1m5y45yp9ybqxmd5";
};
# lots of networking and other fails
@@ -20,7 +21,7 @@ buildPythonApplication rec {
propagatedBuildInputs = [
pyyaml backports_ssl_match_hostname colorama dockerpty docker
ipaddress jsonschema requests six texttable websocket_client
- docopt cached-property
+ docopt cached-property paramiko
] ++
stdenv.lib.optional (pythonOlder "3.4") enum34 ++
stdenv.lib.optional (pythonOlder "3.2") functools32;
@@ -32,15 +33,17 @@ buildPythonApplication rec {
'';
postInstall = ''
- mkdir -p $out/share/bash-completion/completions/
- cp contrib/completion/bash/docker-compose $out/share/bash-completion/completions/docker-compose
+ install -D -m 0444 contrib/completion/bash/docker-compose \
+ $out/share/bash-completion/completions/docker-compose
+
+ install -D -m 0444 contrib/completion/zsh/_docker-compose \
+ $out/share/zsh-completion/zsh/site-functions/_docker-compose
'';
meta = with stdenv.lib; {
homepage = https://docs.docker.com/compose/;
description = "Multi-container orchestration for Docker";
license = licenses.asl20;
- maintainers = with maintainers; [
- ];
+ maintainers = [ ];
};
}
diff --git a/pkgs/applications/virtualization/docker/default.nix b/pkgs/applications/virtualization/docker/default.nix
index d2e42740d0f..027404439cd 100644
--- a/pkgs/applications/virtualization/docker/default.nix
+++ b/pkgs/applications/virtualization/docker/default.nix
@@ -15,7 +15,7 @@ rec {
, tiniRev, tiniSha256
} :
let
- docker-runc = runc.overrideAttrs (oldAttrs: rec {
+ docker-runc = runc.overrideAttrs (oldAttrs: {
name = "docker-runc-${version}";
inherit version;
src = fetchFromGitHub {
@@ -28,7 +28,7 @@ rec {
patches = [];
});
- docker-containerd = containerd.overrideAttrs (oldAttrs: rec {
+ docker-containerd = containerd.overrideAttrs (oldAttrs: {
name = "docker-containerd-${version}";
inherit version;
src = fetchFromGitHub {
@@ -41,7 +41,7 @@ rec {
hardeningDisable = [ "fortify" ];
});
- docker-tini = tini.overrideAttrs (oldAttrs: rec {
+ docker-tini = tini.overrideAttrs (oldAttrs: {
name = "docker-init-${version}";
inherit version;
src = fetchFromGitHub {
@@ -60,7 +60,7 @@ rec {
];
});
in
- stdenv.mkDerivation ((optionalAttrs (stdenv.isLinux) rec {
+ stdenv.mkDerivation ((optionalAttrs (stdenv.isLinux) {
inherit docker-runc docker-containerd docker-proxy docker-tini;
@@ -70,7 +70,7 @@ rec {
++ optional (lvm2 == null) "exclude_graphdriver_devicemapper"
++ optional (libseccomp != null) "seccomp";
- }) // rec {
+ }) // {
inherit version rev;
name = "docker-${version}";
@@ -201,13 +201,25 @@ rec {
# https://github.com/docker/docker-ce/tree/v${version}/components/engine/hack/dockerfile/install/*
docker_18_09 = makeOverridable dockerGen {
- version = "18.09.6";
- rev = "481bc7715621adba10752357e0d537c8dc86507d";
- sha256 = "15l77g7f7zhn33b0a5k56nk2722yl0nm1fl6cmlgcv4ih7q7cl6c";
- runcRev = "2b18fe1d885ee5083ef9f0838fee39b62d653e30";
- runcSha256 = "0g0d9mh5fcvsjgddiyw98ph5zpz5ivlwy89m45jxwbzkxb21gy7w";
- containerdRev = "bb71b10fd8f58240ca47fbb579b9d1028eea7c84";
- containerdSha256 = "0npbzixf3c0jvzm159vygvkydrr8h36c9sq50yv0mdinrys2bvg0";
+ version = "18.09.9";
+ rev = "039a7df9ba8097dd987370782fcdd6ea79b26016";
+ sha256 = "0wqhjx9qs96q2jd091wffn3cyv2aslqn2cvpdpgljk8yr9s0yg7h";
+ runcRev = "425e105d5a03fabd737a126ad93d62a9eeede87f";
+ runcSha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
+ containerdRev = "894b81a4b802e4eb2a91d1ce216b8817763c29fb";
+ containerdSha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
+ tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
+ tiniSha256 = "1h20i3wwlbd8x4jr2gz68hgklh0lb0jj7y5xk1wvr8y58fip1rdn";
+ };
+
+ docker_19_03 = makeOverridable dockerGen {
+ version = "19.03.2";
+ rev = "6a30dfca03664a0b6bf0646a7d389ee7d0318e6e";
+ sha256 = "0bghqwxlx4v06bwcv3c2wizbihhf983gvypx5sjcbgmiyd3bgb47";
+ runcRev = "425e105d5a03fabd737a126ad93d62a9eeede87f";
+ runcSha256 = "05s4p12mgmdcy7gjralh41wlgds6m69zdgwbpdn1xjj2487dmhxf";
+ containerdRev = "894b81a4b802e4eb2a91d1ce216b8817763c29fb";
+ containerdSha256 = "0sp5mn5wd3xma4svm6hf67hyhiixzkzz6ijhyjkwdrc4alk81357";
tiniRev = "fec3683b971d9c3ef73f284f176672c44b448662";
tiniSha256 = "1h20i3wwlbd8x4jr2gz68hgklh0lb0jj7y5xk1wvr8y58fip1rdn";
};
diff --git a/pkgs/applications/virtualization/docker/distribution.nix b/pkgs/applications/virtualization/docker/distribution.nix
index 0af9abc852e..ed4db853c38 100644
--- a/pkgs/applications/virtualization/docker/distribution.nix
+++ b/pkgs/applications/virtualization/docker/distribution.nix
@@ -1,7 +1,7 @@
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
- name = "distribution-${version}";
+ pname = "distribution";
version = "2.6.2";
rev = "v${version}";
diff --git a/pkgs/applications/virtualization/docker/proxy.nix b/pkgs/applications/virtualization/docker/proxy.nix
index 8b7021f7dbb..3b2e1f45ae6 100644
--- a/pkgs/applications/virtualization/docker/proxy.nix
+++ b/pkgs/applications/virtualization/docker/proxy.nix
@@ -1,4 +1,4 @@
-{ stdenv, buildGoPackage, fetchFromGitHub, docker }:
+{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "docker-proxy-${rev}";
diff --git a/pkgs/applications/virtualization/driver/win-virtio/default.nix b/pkgs/applications/virtualization/driver/win-virtio/default.nix
index 946014e5cc9..351353ceb96 100644
--- a/pkgs/applications/virtualization/driver/win-virtio/default.nix
+++ b/pkgs/applications/virtualization/driver/win-virtio/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, p7zip }:
stdenv.mkDerivation rec {
- name = "win-virtio-${version}";
+ pname = "win-virtio";
version = "0.1.141-1";
phases = [ "buildPhase" "installPhase" ];
diff --git a/pkgs/applications/virtualization/dynamips/default.nix b/pkgs/applications/virtualization/dynamips/default.nix
index 9419939d1c7..6f35257b50f 100644
--- a/pkgs/applications/virtualization/dynamips/default.nix
+++ b/pkgs/applications/virtualization/dynamips/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, cmake, libelf, libpcap }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "dynamips";
- version = "0.2.20";
+ version = "0.2.21";
src = fetchFromGitHub {
owner = "GNS3";
repo = pname;
rev = "v${version}";
- sha256 = "1841h0m0k0p3c3ify4imafjk7jigcj2zlr8rn3iyp7jnafkxqik7";
+ sha256 = "0pvdqs6kjz0x0wqb5f1k3r25dg82wssm7wz4psm0m6bxsvf5l0i5";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/applications/virtualization/ecs-agent/default.nix b/pkgs/applications/virtualization/ecs-agent/default.nix
index ab971fe64c9..691c74301e3 100644
--- a/pkgs/applications/virtualization/ecs-agent/default.nix
+++ b/pkgs/applications/virtualization/ecs-agent/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, buildGoPackage }:
buildGoPackage rec {
- name = "${pname}-${version}";
pname = "amazon-ecs-agent";
version = "1.18.0";
diff --git a/pkgs/applications/virtualization/lkl/default.nix b/pkgs/applications/virtualization/lkl/default.nix
index d870e246616..318929eb225 100644
--- a/pkgs/applications/virtualization/lkl/default.nix
+++ b/pkgs/applications/virtualization/lkl/default.nix
@@ -1,8 +1,10 @@
-{ stdenv, fetchFromGitHub, bc, python, bison, flex, fuse, libarchive }:
+{ stdenv, fetchFromGitHub, bc, python, bison, flex, fuse, libarchive
+, buildPackages }:
stdenv.mkDerivation rec {
- name = "lkl-2018-08-22";
- rev = "5221c547af3d29582703f01049617a6bf9f6232a";
+ pname = "lkl";
+ version = "2019-06-20";
+ rev = "0a4ebeadad12b94db665b8daf30e44e949a02d90";
outputs = [ "dev" "lib" "out" ];
@@ -14,7 +16,7 @@ stdenv.mkDerivation rec {
inherit rev;
owner = "lkl";
repo = "linux";
- sha256 = "1k2plyx40xaphm8zsk2dd1lyv6dhsp7kj6hfmdgiamvl80bjajqy";
+ sha256 = "09y9ci3j0lp3z74h577ng2s9a4n4glqpqndyc9iy6wdqaj764gm6";
};
# Fix a /usr/bin/env reference in here that breaks sandboxed builds
@@ -40,7 +42,12 @@ stdenv.mkDerivation rec {
# crypto/jitterentropy.c:54:3: error: #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy.c."
hardeningDisable = [ "format" "fortify" ];
- makeFlags = "-C tools/lkl";
+ makeFlags = [
+ "-C tools/lkl"
+ "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc"
+ "HOSTCC=${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc"
+ "CROSS_COMPILE=${stdenv.cc.targetPrefix}"
+ ];
enableParallelBuilding = true;
@@ -52,7 +59,7 @@ stdenv.mkDerivation rec {
overhead
'';
homepage = https://github.com/lkl/linux/;
- platforms = [ "x86_64-linux" "aarch64-linux" ]; # Darwin probably works too but I haven't tested it
+ platforms = [ "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ]; # Darwin probably works too but I haven't tested it
license = licenses.gpl2;
maintainers = with maintainers; [ copumpkin ];
};
diff --git a/pkgs/applications/virtualization/looking-glass-client/default.nix b/pkgs/applications/virtualization/looking-glass-client/default.nix
index afb2088c6a6..0f53a5c4f14 100644
--- a/pkgs/applications/virtualization/looking-glass-client/default.nix
+++ b/pkgs/applications/virtualization/looking-glass-client/default.nix
@@ -1,33 +1,26 @@
{ stdenv, fetchFromGitHub, fetchpatch
, cmake, pkgconfig, SDL2, SDL, SDL2_ttf, openssl, spice-protocol, fontconfig
-, libX11, freefont_ttf, nettle, libconfig
+, libX11, freefont_ttf, nettle, libconfig, wayland, libpthreadstubs, libXdmcp
+, libXfixes, libbfd
}:
stdenv.mkDerivation rec {
- name = "looking-glass-client-${version}";
- version = "a12";
+ pname = "looking-glass-client";
+ version = "B1";
src = fetchFromGitHub {
owner = "gnif";
repo = "LookingGlass";
rev = version;
- sha256 = "0r6bvl9q94039r6ff4f2bg8si95axx9w8bf1h1qr5730d2kv5yxq";
+ sha256 = "0vykv7yjz4fima9d82m83acd8ab72nq4wyzyfs1c499i27wz91ia";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
SDL SDL2 SDL2_ttf openssl spice-protocol fontconfig
- libX11 freefont_ttf nettle libconfig cmake
- ];
-
- patches = [
- # Fix obsolete spice header usage. Remove with the next release. See https://github.com/gnif/LookingGlass/pull/126
- (fetchpatch {
- url = "https://github.com/gnif/LookingGlass/commit/2567447b24b28458ba0f09c766a643ad8d753255.patch";
- sha256 = "04j2h75rpxd71szry15f31r6s0kgk96i8q9khdv9q3i2fvkf242n";
- stripLen = 1;
- })
+ libX11 freefont_ttf nettle libconfig wayland libpthreadstubs
+ libXdmcp libXfixes libbfd cmake
];
enableParallelBuilding = true;
@@ -50,7 +43,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://looking-glass.hostfission.com/;
license = licenses.gpl2Plus;
- maintainers = [ maintainers.pneumaticat ];
+ maintainers = [ maintainers.alexbakker ];
platforms = [ "x86_64-linux" ];
};
}
diff --git a/pkgs/applications/virtualization/nvidia-docker/default.nix b/pkgs/applications/virtualization/nvidia-docker/default.nix
index 3e79ff84882..e11ca04f6b3 100644
--- a/pkgs/applications/virtualization/nvidia-docker/default.nix
+++ b/pkgs/applications/virtualization/nvidia-docker/default.nix
@@ -1,5 +1,5 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, callPackage, makeWrapper
-, buildGoPackage, runc, libelf, libcap, libseccomp, glibc }:
+, buildGoPackage, runc, glibc }:
with lib; let
@@ -24,8 +24,8 @@ with lib; let
sha256 = "0jcj5xxbg7x7gyhbb67h3ds6vly62gx7j02zm6lg102h34jajj7a";
};
- nvidia-container-runtime-hook = buildGoPackage rec {
- name = "nvidia-container-runtime-hook-${version}";
+ nvidia-container-runtime-hook = buildGoPackage {
+ pname = "nvidia-container-runtime-hook";
version = "1.4.0";
goPackagePath = "nvidia-container-runtime-hook";
@@ -46,7 +46,7 @@ with lib; let
});
in stdenv.mkDerivation rec {
- name = "nvidia-docker-${version}";
+ pname = "nvidia-docker";
version = "2.0.3";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/nvidia-docker/libnvc.nix b/pkgs/applications/virtualization/nvidia-docker/libnvc.nix
index 46b8e3ba43c..71c02ab4de5 100644
--- a/pkgs/applications/virtualization/nvidia-docker/libnvc.nix
+++ b/pkgs/applications/virtualization/nvidia-docker/libnvc.nix
@@ -12,7 +12,7 @@ with lib; let
};
in stdenv.mkDerivation rec {
- name = "libnvidia-container-${version}";
+ pname = "libnvidia-container";
version = "1.0.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/open-vm-tools/default.nix b/pkgs/applications/virtualization/open-vm-tools/default.nix
index 200542f4de8..ee241abda7f 100644
--- a/pkgs/applications/virtualization/open-vm-tools/default.nix
+++ b/pkgs/applications/virtualization/open-vm-tools/default.nix
@@ -5,7 +5,7 @@
withX ? true }:
stdenv.mkDerivation rec {
- name = "open-vm-tools-${version}";
+ pname = "open-vm-tools";
version = "10.3.10";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/podman/conmon.nix b/pkgs/applications/virtualization/podman/conmon.nix
deleted file mode 100644
index a8e15d075b3..00000000000
--- a/pkgs/applications/virtualization/podman/conmon.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-{ stdenv, lib, fetchFromGitHub, pkgconfig, glib }:
-
-with lib;
-with builtins;
-
-stdenv.mkDerivation rec {
- name = "conmon-${version}";
- version = "0.0.1pre52_${substring 0 7 src.rev}";
-
- src = fetchFromGitHub {
- owner = "containers";
- repo = "conmon";
- rev = "6905a4dc47830fbd1110e937228057c0b073ebe1";
- sha256 = "1igny1hr2q1zrhsaxcx7l8xkdr5ragl8pj18qbr1lpa2v5v2f6hs";
- };
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ glib ];
-
- installPhase = ''
- install -D -m 555 bin/conmon $out/bin/conmon
- '';
-
- meta = {
- homepage = https://github.com/containers/conmon;
- description = "An OCI container runtime monitor";
- license = licenses.asl20;
- maintainers = with maintainers; [ vdemeester ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/applications/virtualization/podman/default.nix b/pkgs/applications/virtualization/podman/default.nix
index 4ea831168d8..ff768cb7878 100644
--- a/pkgs/applications/virtualization/podman/default.nix
+++ b/pkgs/applications/virtualization/podman/default.nix
@@ -4,14 +4,14 @@
}:
buildGoPackage rec {
- name = "podman-${version}";
- version = "1.3.1";
+ pname = "podman";
+ version = "1.5.1";
src = fetchFromGitHub {
owner = "containers";
repo = "libpod";
rev = "v${version}";
- sha256 = "0x1md2w43mdfzp9dsz8vbgs72dlkwsvh16hkgq90596gwipcg36x";
+ sha256 = "1jg7fdshqz0x71339i0wndskb17x1k5rwpkjiwd463f96fnbfp4x";
};
goPackagePath = "github.com/containers/libpod";
@@ -39,7 +39,7 @@ buildGoPackage rec {
homepage = https://podman.io/;
description = "A program for managing pods, containers and container images";
license = licenses.asl20;
- maintainers = with maintainers; [ vdemeester ];
+ maintainers = with maintainers; [ vdemeester saschagrunert ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/virtualization/qemu/default.nix b/pkgs/applications/virtualization/qemu/default.nix
index 04fead5209c..5aa1f2e1f55 100644
--- a/pkgs/applications/virtualization/qemu/default.nix
+++ b/pkgs/applications/virtualization/qemu/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, fetchpatch, python2, zlib, pkgconfig, glib
+{ stdenv, fetchurl, fetchpatch, python, zlib, pkgconfig, glib
, ncurses, perl, pixman, vde2, alsaLib, texinfo, flex
, bison, lzo, snappy, libaio, gnutls, nettle, curl
, makeWrapper
@@ -15,7 +15,7 @@
, usbredirSupport ? spiceSupport, usbredir
, xenSupport ? false, xen
, cephSupport ? false, ceph
-, openGLSupport ? sdlSupport, mesa_noglu, epoxy, libdrm
+, openGLSupport ? sdlSupport, mesa, epoxy, libdrm
, virglSupport ? openGLSupport, virglrenderer
, smbdSupport ? false, samba
, hostCpuOnly ? false
@@ -35,7 +35,7 @@ let
in
stdenv.mkDerivation rec {
- version = "3.1.0";
+ version = "4.1.0";
name = "qemu-"
+ stdenv.lib.optionalString xenSupport "xen-"
+ stdenv.lib.optionalString hostCpuOnly "host-cpu-only-"
@@ -44,10 +44,10 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://wiki.qemu.org/download/qemu-${version}.tar.bz2";
- sha256 = "08frr1fdjx8qcfh3fafn10kibdwbvkqqvfl7hpqbm7i9dg4f1zlq";
+ sha256 = "1bpl6hwiw1jdxk4xmqp10qgki0dji0l2rzr10dyhyk8d85vxxw29";
};
- nativeBuildInputs = [ python2 pkgconfig flex bison ];
+ nativeBuildInputs = [ python python.pkgs.sphinx pkgconfig flex bison ];
buildInputs =
[ zlib glib ncurses perl pixman
vde2 texinfo makeWrapper lzo snappy
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
++ optionals stdenv.isLinux [ alsaLib libaio libcap_ng libcap attr ]
++ optionals xenSupport [ xen ]
++ optionals cephSupport [ ceph ]
- ++ optionals openGLSupport [ mesa_noglu epoxy libdrm ]
+ ++ optionals openGLSupport [ mesa epoxy libdrm ]
++ optionals virglSupport [ virglrenderer ]
++ optionals smbdSupport [ samba ];
@@ -78,13 +78,7 @@ stdenv.mkDerivation rec {
./no-etc-install.patch
./fix-qemu-ga.patch
./9p-ignore-noatime.patch
- (fetchpatch {
- name = "CVE-2019-3812.patch";
- url = "https://git.qemu.org/?p=qemu.git;a=patch;h=b05b267840515730dbf6753495d5b7bd8b04ad1c";
- sha256 = "03a5vc5wvirbyi5r8kb2r4m2w6f1zmh9bqsr2psh4pblwar0nf55";
- })
] ++ optional nixosTestRunner ./force-uid0-on-9p.patch
- ++ optional pulseSupport ./fix-hda-recording.patch
++ optionals stdenv.hostPlatform.isMusl [
(fetchpatch {
url = https://raw.githubusercontent.com/alpinelinux/aports/2bb133986e8fa90e2e76d53369f03861a87a74ef/main/qemu/xattr_size_max.patch;
@@ -113,6 +107,7 @@ stdenv.mkDerivation rec {
[ "--audio-drv-list=${audio}"
"--sysconfdir=/etc"
"--localstatedir=/var"
+ "--enable-docs"
]
# disable sysctl check on darwin.
++ optional stdenv.isDarwin "--cpu=x86_64"
diff --git a/pkgs/applications/virtualization/qemu/fix-hda-recording.patch b/pkgs/applications/virtualization/qemu/fix-hda-recording.patch
deleted file mode 100644
index b4e21f4f347..00000000000
--- a/pkgs/applications/virtualization/qemu/fix-hda-recording.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/audio/paaudio.c b/audio/paaudio.c
-index fea6071..c1169d4 100644
---- a/audio/paaudio.c
-+++ b/audio/paaudio.c
-@@ -608,6 +608,7 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque)
- {
- int error;
- pa_sample_spec ss;
-+ pa_buffer_attr ba;
- struct audsettings obt_as = *as;
- PAVoiceIn *pa = (PAVoiceIn *) hw;
- paaudio *g = pa->g = drv_opaque;
-@@ -616,6 +617,12 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque)
- ss.channels = as->nchannels;
- ss.rate = as->freq;
-
-+ ba.fragsize = pa_frame_size (&ss) * g->conf.samples;
-+ ba.maxlength = 5 * ba.fragsize;
-+ ba.tlength = -1;
-+ ba.prebuf = -1;
-+ ba.minreq = -1;
-+
- obt_as.fmt = pa_to_audfmt (ss.format, &obt_as.endianness);
-
- pa->stream = qpa_simple_new (
-@@ -625,7 +632,7 @@ static int qpa_init_in(HWVoiceIn *hw, struct audsettings *as, void *drv_opaque)
- g->conf.source,
- &ss,
- NULL, /* channel map */
-- NULL, /* buffering attributes */
-+ &ba, /* buffering attributes */
- &error
- );
- if (!pa->stream) {
diff --git a/pkgs/applications/virtualization/qemu/no-etc-install.patch b/pkgs/applications/virtualization/qemu/no-etc-install.patch
index 47b4b3176dc..57e190f5ae7 100644
--- a/pkgs/applications/virtualization/qemu/no-etc-install.patch
+++ b/pkgs/applications/virtualization/qemu/no-etc-install.patch
@@ -1,10 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 85862fb8..ed52c5ec 100644
--- a/Makefile
+++ b/Makefile
-@@ -597,7 +597,7 @@
+@@ -841,7 +841,7 @@ endif
+ ICON_SIZES=16x16 24x24 32x32 48x48 64x64 128x128 256x256 512x512
--install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir
-+install: all $(if $(BUILD_DOCS),install-doc) install-datadir
+-install: all $(if $(BUILD_DOCS),install-doc) install-datadir install-localstatedir \
++install: all $(if $(BUILD_DOCS),install-doc) install-datadir \
+ $(if $(INSTALL_BLOBS),$(edk2-decompressed)) \
+ recurse-install
ifneq ($(TOOLS),)
- $(call install-prog,$(subst qemu-ga,qemu-ga$(EXESUF),$(TOOLS)),$(DESTDIR)$(bindir))
- endif
diff --git a/pkgs/applications/virtualization/railcar/default.nix b/pkgs/applications/virtualization/railcar/default.nix
index 517a8e39a1e..bce25406142 100644
--- a/pkgs/applications/virtualization/railcar/default.nix
+++ b/pkgs/applications/virtualization/railcar/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, lib, fetchFromGitHub, fetchpatch, rustPlatform, libseccomp }:
+{ lib, fetchFromGitHub, rustPlatform, libseccomp }:
rustPlatform.buildRustPackage rec {
- name = "railcar-${version}";
+ pname = "railcar";
version = "1.0.4";
src = fetchFromGitHub {
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "09zn160qxd7760ii6rs5nhr00qmaz49x1plclscznxh9hinyjyh9";
};
- cargoSha256 = "16f3ys0zzha8l5jdklmrqivl8hmrb9qgqgzcm3jn06v45hls9lan";
+ cargoSha256 = "1k4y37x783fsd8li17k56vlx5ziwmrz167a0w5mcb9sgyd2kc19a";
buildInputs = [ libseccomp ];
diff --git a/pkgs/applications/virtualization/remotebox/default.nix b/pkgs/applications/virtualization/remotebox/default.nix
index 8777f7cc2db..d8a2878e3f7 100644
--- a/pkgs/applications/virtualization/remotebox/default.nix
+++ b/pkgs/applications/virtualization/remotebox/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeWrapper, perl, perlPackages }:
stdenv.mkDerivation rec {
- name = "remotebox-${version}";
+ pname = "remotebox";
version = "2.6";
src = fetchurl {
diff --git a/pkgs/applications/virtualization/rkt/default.nix b/pkgs/applications/virtualization/rkt/default.nix
index 0f53ede188c..fd0bd92faa6 100644
--- a/pkgs/applications/virtualization/rkt/default.nix
+++ b/pkgs/applications/virtualization/rkt/default.nix
@@ -13,8 +13,8 @@ let
in stdenv.mkDerivation rec {
version = "1.30.0";
- name = "rkt-${version}";
- BUILDDIR="build-${name}";
+ pname = "rkt";
+ BUILDDIR="build-${pname}-${version}";
src = fetchFromGitHub {
owner = "coreos";
diff --git a/pkgs/applications/virtualization/runc/default.nix b/pkgs/applications/virtualization/runc/default.nix
index f19f4c5b27e..6357f9fadff 100644
--- a/pkgs/applications/virtualization/runc/default.nix
+++ b/pkgs/applications/virtualization/runc/default.nix
@@ -1,10 +1,10 @@
-{ stdenv, lib, fetchFromGitHub, buildGoPackage, go-md2man
+{ lib, fetchFromGitHub, buildGoPackage, go-md2man
, pkgconfig, libapparmor, apparmor-parser, libseccomp, which }:
with lib;
buildGoPackage rec {
- name = "runc-${version}";
+ pname = "runc";
version = "1.0.0-rc8";
src = fetchFromGitHub {
diff --git a/pkgs/applications/virtualization/seabios/default.nix b/pkgs/applications/virtualization/seabios/default.nix
index 5aa73528e9d..32528627a3c 100644
--- a/pkgs/applications/virtualization/seabios/default.nix
+++ b/pkgs/applications/virtualization/seabios/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
- name = "seabios-${version}";
+ pname = "seabios";
version = "1.11.0";
src = fetchurl {
- url = "http://code.coreboot.org/p/seabios/downloads/get/${name}.tar.gz";
+ url = "http://code.coreboot.org/p/seabios/downloads/get/${pname}-${version}.tar.gz";
sha256 = "1xwvp77djxbxbxg82hzj26pv6zka3556vkdcp09hnfwapcp46av2";
};
diff --git a/pkgs/applications/virtualization/singularity/default.nix b/pkgs/applications/virtualization/singularity/default.nix
index ab9416fd3d6..60825063cab 100644
--- a/pkgs/applications/virtualization/singularity/default.nix
+++ b/pkgs/applications/virtualization/singularity/default.nix
@@ -1,12 +1,10 @@
{stdenv
, removeReferencesTo
, lib
-, fetchgit
, fetchFromGitHub
, utillinux
, openssl
, coreutils
-, gawk
, go
, which
, makeWrapper
@@ -16,14 +14,14 @@
with lib;
buildGoPackage rec {
- name = "singularity-${version}";
- version = "3.0.1";
+ pname = "singularity";
+ version = "3.2.1";
src = fetchFromGitHub {
owner = "sylabs";
repo = "singularity";
rev = "v${version}";
- sha256 = "1wpsd0il2ipa2n5cnbj8dzs095jycdryq2rx62kikbq7ahzz4fsi";
+ sha256 = "14lhxwy21s7q081x7kbnvkjsbxgsg2f181qlzmlxcn6n7gfav3kj";
};
goPackagePath = "github.com/sylabs/singularity";
@@ -33,23 +31,22 @@ buildGoPackage rec {
nativeBuildInputs = [ removeReferencesTo utillinux which makeWrapper ];
propagatedBuildInputs = [ coreutils squashfsTools ];
- postConfigure = ''
- find . -name vendor -type d -print0 | xargs -0 rm -rf
+ prePatch = ''
+ substituteInPlace internal/pkg/build/copy/copy.go \
+ --replace /bin/cp ${coreutils}/bin/cp
+ '';
+ postConfigure = ''
cd go/src/github.com/sylabs/singularity
patchShebangs .
- sed -i 's|defaultEnv := "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin"|defaultEnv := "${stdenv.lib.makeBinPath propagatedBuildInputs}"|' src/cmd/singularity/cli/singularity.go
+ sed -i 's|defaultPath := "[^"]*"|defaultPath := "${stdenv.lib.makeBinPath propagatedBuildInputs}"|' cmd/internal/cli/actions.go
./mconfig -V ${version} -p $bin --localstatedir=/var
- touch builddir/.dep-done
- touch builddir/vendors-done
# Don't install SUID binaries
sed -i 's/-m 4755/-m 755/g' builddir/Makefile
- # Point to base gopath
- sed -i "s|^cni_vendor_GOPATH :=.*\$|cni_vendor_GOPATH := $NIX_BUILD_TOP/go/src/github.com/containernetworking/plugins/plugins|" builddir/Makefile
'';
buildPhase = ''
@@ -59,6 +56,7 @@ buildGoPackage rec {
installPhase = ''
make -C builddir install LOCALSTATEDIR=$bin/var
chmod 755 $bin/libexec/singularity/bin/starter-suid
+ wrapProgram $bin/bin/singularity --prefix PATH : ${stdenv.lib.makeBinPath propagatedBuildInputs}
'';
postFixup = ''
diff --git a/pkgs/applications/virtualization/singularity/deps.nix b/pkgs/applications/virtualization/singularity/deps.nix
index 526202e75ae..fe51488c706 100644
--- a/pkgs/applications/virtualization/singularity/deps.nix
+++ b/pkgs/applications/virtualization/singularity/deps.nix
@@ -1,669 +1 @@
-# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
-[
- {
- goPackagePath = "github.com/Microsoft/go-winio";
- fetch = {
- type = "git";
- url = "https://github.com/Microsoft/go-winio";
- rev = "7da180ee92d8bd8bb8c37fc560e673e6557c392f";
- sha256 = "19gjjhmzswhm11wzj38r5alxypmflmy0z42flhc3czhmmwv7b1av";
- };
- }
- {
- goPackagePath = "github.com/alexflint/go-filemutex";
- fetch = {
- type = "git";
- url = "https://github.com/alexflint/go-filemutex";
- rev = "d358565f3c3f5334209f1e80693e4f621650c489";
- sha256 = "19fzbm0x8821awsmqj9ig49dxxkd72p1yfqbijmdwwszvw2r0ggz";
- };
- }
- {
- goPackagePath = "github.com/beorn7/perks";
- fetch = {
- type = "git";
- url = "https://github.com/beorn7/perks";
- rev = "3a771d992973f24aa725d07868b467d1ddfceafb";
- sha256 = "1l2lns4f5jabp61201sh88zf3b0q793w4zdgp9nll7mmfcxxjif3";
- };
- }
- {
- goPackagePath = "github.com/blang/semver";
- fetch = {
- type = "git";
- url = "https://github.com/blang/semver";
- rev = "2ee87856327ba09384cabd113bc6b5d174e9ec0f";
- sha256 = "13ws259bwcibkclbr82ilhk6zadm63kxklxhk12wayklj8ghhsmy";
- };
- }
- {
- goPackagePath = "github.com/containerd/cgroups";
- fetch = {
- type = "git";
- url = "https://github.com/containerd/cgroups";
- rev = "5017d4e9a9cf2d4381db99eacd9baf84b95bfb14";
- sha256 = "02pvcmj91j3maa9j1v91m2z9kpa6p822h06r007b3pl7h0paiqnj";
- };
- }
- {
- goPackagePath = "github.com/containerd/continuity";
- fetch = {
- type = "git";
- url = "https://github.com/containerd/continuity";
- rev = "246e49050efdf45e8f17fbbcf1547ee376f9939e";
- sha256 = "1zc1f0yixf32lprp5r77z2j9xq7fk0hijq8xzl08j4zrk0fcy8aq";
- };
- }
- {
- goPackagePath = "github.com/containernetworking/cni";
- fetch = {
- type = "git";
- url = "https://github.com/containernetworking/cni";
- rev = "a7885cb6f8ab03fba07852ded351e4f5e7a112bf";
- sha256 = "00ajs2r5r2z3l0vqwxrcwhjfc9px12qbcv5vnvs2mdipvvls1y2y";
- };
- }
- {
- goPackagePath = "github.com/containernetworking/plugins";
- fetch = {
- type = "git";
- url = "https://github.com/containernetworking/plugins";
- rev = "2b8b1ac0af4568e928d96ccc5f47b075416eeabd";
- sha256 = "1yl9m8pwjmqxj3hf0w9s6rykszhcww54z07yjgxzabmqf2dhchxv";
- };
- }
- {
- goPackagePath = "github.com/containers/image";
- fetch = {
- type = "git";
- url = "https://github.com/containers/image";
- rev = "2e4f799f5eba49a2498d2793cfb2a4bc823ca3f6";
- sha256 = "0b9symgbkd2vgvp7mfpz1l03i2zivwbc5ycccwv78b1ikk9m6b75";
- };
- }
- {
- goPackagePath = "github.com/containers/storage";
- fetch = {
- type = "git";
- url = "https://github.com/containers/storage";
- rev = "88d80428f9b146f8f9fe7e2e8cc8688a5aae1a4e";
- sha256 = "13fagjisbg55dhgjd72h0hiy6jfg8ggkcnjl5haqj13c2gkf6sam";
- };
- }
- {
- goPackagePath = "github.com/coreos/go-iptables";
- fetch = {
- type = "git";
- url = "https://github.com/coreos/go-iptables";
- rev = "b5b1876b170881a8259f036445ee89c8669db386";
- sha256 = "1s1c04x47pk3168606x4vkg4avs8a7m407hpha8py1xni08cgb6m";
- };
- }
- {
- goPackagePath = "github.com/coreos/go-systemd";
- fetch = {
- type = "git";
- url = "https://github.com/coreos/go-systemd";
- rev = "39ca1b05acc7ad1220e09f133283b8859a8b71ab";
- sha256 = "1kzqrrzqspa5qm7kwslxl3m16lqzns23c24rv474ajzwmj3ixmx1";
- };
- }
- {
- goPackagePath = "github.com/cpuguy83/go-md2man";
- fetch = {
- type = "git";
- url = "https://github.com/cpuguy83/go-md2man";
- rev = "20f5889cbdc3c73dbd2862796665e7c465ade7d1";
- sha256 = "1w22dfdamsq63b5rvalh9k2y7rbwfkkjs7vm9vd4a13h2ql70lg2";
- };
- }
- {
- goPackagePath = "github.com/d2g/dhcp4";
- fetch = {
- type = "git";
- url = "https://github.com/d2g/dhcp4";
- rev = "a1d1b6c41b1ce8a71a5121a9cee31809c4707d9c";
- sha256 = "191hzw6yqzkm042h6miyycq3g0zrhqjhhpl27f8vhwzp4wanasiz";
- };
- }
- {
- goPackagePath = "github.com/d2g/dhcp4client";
- fetch = {
- type = "git";
- url = "https://github.com/d2g/dhcp4client";
- rev = "e612998962035b93ba16cfd1ad2f3221985c1b8c";
- sha256 = "1612wh99fblc9ashmm6mjc9110fhal95z0mn9qn7av3px13yd9fs";
- };
- }
- {
- goPackagePath = "github.com/docker/distribution";
- fetch = {
- type = "git";
- url = "https://github.com/docker/distribution";
- rev = "749f6afb4572201e3c37325d0ffedb6f32be8950";
- sha256 = "05jn2wvikyw0pbmi74w5axr0zgxn5y3ynn9rhsq87rmwqj7raxhd";
- };
- }
- {
- goPackagePath = "github.com/docker/docker";
- fetch = {
- type = "git";
- url = "https://github.com/docker/docker";
- rev = "da99009bbb1165d1ac5688b5c81d2f589d418341";
- sha256 = "02hhx7s8vm45rcl2mx9xamkncl2pb6qhsmz35mffbg4n6l5rn5x5";
- };
- }
- {
- goPackagePath = "github.com/docker/docker-credential-helpers";
- fetch = {
- type = "git";
- url = "https://github.com/docker/docker-credential-helpers";
- rev = "d68f9aeca33f5fd3f08eeae5e9d175edf4e731d1";
- sha256 = "1ff829h5p1j6qiivjvnwyiybrff3dddv1ij71nz5whmgavdqgd49";
- };
- }
- {
- goPackagePath = "github.com/docker/go-connections";
- fetch = {
- type = "git";
- url = "https://github.com/docker/go-connections";
- rev = "3ede32e2033de7505e6500d6c868c2b9ed9f169d";
- sha256 = "0v1pkr8apwmhyzbjfriwdrs1ihlk6pw7izm57r24mf9jdmg3fyb0";
- };
- }
- {
- goPackagePath = "github.com/docker/go-metrics";
- fetch = {
- type = "git";
- url = "https://github.com/docker/go-metrics";
- rev = "399ea8c73916000c64c2c76e8da00ca82f8387ab";
- sha256 = "0najfy92fq05b330cnjk5b326yi7dnnmvzfk6g5lsa1fci78yzw4";
- };
- }
- {
- goPackagePath = "github.com/docker/go-units";
- fetch = {
- type = "git";
- url = "https://github.com/docker/go-units";
- rev = "47565b4f722fb6ceae66b95f853feed578a4a51c";
- sha256 = "0npxsb3pp89slwf4a73fxm20hykad8xggij6i6hcd5jy19bjrd93";
- };
- }
- {
- goPackagePath = "github.com/docker/libtrust";
- fetch = {
- type = "git";
- url = "https://github.com/docker/libtrust";
- rev = "aabc10ec26b754e797f9028f4589c5b7bd90dc20";
- sha256 = "1lwslbggzc2b0c4wxl5pn6i2nfgz5jz8f7s7vnid9mrlsk59h7s1";
- };
- }
- {
- goPackagePath = "github.com/ghodss/yaml";
- fetch = {
- type = "git";
- url = "https://github.com/ghodss/yaml";
- rev = "0ca9ea5df5451ffdf184b4428c902747c2c11cd7";
- sha256 = "0skwmimpy7hlh7pva2slpcplnm912rp3igs98xnqmn859kwa5v8g";
- };
- }
- {
- goPackagePath = "github.com/globalsign/mgo";
- fetch = {
- type = "git";
- url = "https://github.com/globalsign/mgo";
- rev = "113d3961e7311526535a1ef7042196563d442761";
- sha256 = "0m05ay993vv2jkc46bbdnq371s5jc0an2cycsj7p3b6lmv84jk9f";
- };
- }
- {
- goPackagePath = "github.com/godbus/dbus";
- fetch = {
- type = "git";
- url = "https://github.com/godbus/dbus";
- rev = "a389bdde4dd695d414e47b755e95e72b7826432c";
- sha256 = "1ckvg15zdsgmbn4mi36cazkb407ixc9mmyf7vwj8b8wi3d00rgn9";
- };
- }
- {
- goPackagePath = "github.com/gogo/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/gogo/protobuf";
- rev = "1adfc126b41513cc696b209667c8656ea7aac67c";
- sha256 = "1j7azzlnihcvnd1apw5zr0bz30h7n0gyimqqkgc76vzb1n5dpi7m";
- };
- }
- {
- goPackagePath = "github.com/golang/protobuf";
- fetch = {
- type = "git";
- url = "https://github.com/golang/protobuf";
- rev = "b4deda0973fb4c70b50d226b1af49f3da59f5265";
- sha256 = "0ya4ha7m20bw048m1159ppqzlvda4x0vdprlbk5sdgmy74h3xcdq";
- };
- }
- {
- goPackagePath = "github.com/gorilla/context";
- fetch = {
- type = "git";
- url = "https://github.com/gorilla/context";
- rev = "08b5f424b9271eedf6f9f0ce86cb9396ed337a42";
- sha256 = "03p4hn87vcmfih0p9w663qbx9lpsf7i7j3lc7yl7n84la3yz63m4";
- };
- }
- {
- goPackagePath = "github.com/gorilla/mux";
- fetch = {
- type = "git";
- url = "https://github.com/gorilla/mux";
- rev = "e3702bed27f0d39777b0b37b664b6280e8ef8fbf";
- sha256 = "0pvzm23hklxysspnz52mih6h1q74vfrdhjfm1l3sa9r8hhqmmld2";
- };
- }
- {
- goPackagePath = "github.com/gorilla/websocket";
- fetch = {
- type = "git";
- url = "https://github.com/gorilla/websocket";
- rev = "ea4d1f681babbce9545c9c5f3d5194a789c89f5b";
- sha256 = "1bhgs2542qs49p1dafybqxfs2qc072xv41w5nswyrknwyjxxs2a1";
- };
- }
- {
- goPackagePath = "github.com/hashicorp/errwrap";
- fetch = {
- type = "git";
- url = "https://github.com/hashicorp/errwrap";
- rev = "7554cd9344cec97297fa6649b055a8c98c2a1e55";
- sha256 = "0kmv0p605di6jc8i1778qzass18m0mv9ks9vxxrfsiwcp4la82jf";
- };
- }
- {
- goPackagePath = "github.com/hashicorp/go-multierror";
- fetch = {
- type = "git";
- url = "https://github.com/hashicorp/go-multierror";
- rev = "b7773ae218740a7be65057fc60b366a49b538a44";
- sha256 = "09904bk7ac6qs9dgiv23rziq9h3makb9qg4jvxr71rlydsd7psfd";
- };
- }
- {
- goPackagePath = "github.com/inconshreveable/mousetrap";
- fetch = {
- type = "git";
- url = "https://github.com/inconshreveable/mousetrap";
- rev = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75";
- sha256 = "1mn0kg48xkd74brf48qf5hzp0bc6g8cf5a77w895rl3qnlpfw152";
- };
- }
- {
- goPackagePath = "github.com/j-keck/arping";
- fetch = {
- type = "git";
- url = "https://github.com/j-keck/arping";
- rev = "2cf9dc699c5640a7e2c81403a44127bf28033600";
- sha256 = "1bid8mpx3j4546ni0a6q5xyz7hb854g95qnxqmg5jzs9vrcird3c";
- };
- }
- {
- goPackagePath = "github.com/kubernetes-sigs/cri-o";
- fetch = {
- type = "git";
- url = "https://github.com/kubernetes-sigs/cri-o";
- rev = "8afc34092907d146906fcc31af112b2b46e7b5cd";
- sha256 = "0ghcjvk7grdcwb1936mnj56a7rla804glfknid9kmr3kgny3yi43";
- };
- }
- {
- goPackagePath = "github.com/magiconair/properties";
- fetch = {
- type = "git";
- url = "https://github.com/magiconair/properties";
- rev = "c2353362d570a7bfa228149c62842019201cfb71";
- sha256 = "1a10362wv8a8qwb818wygn2z48lgzch940hvpv81hv8gc747ajxn";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-runewidth";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-runewidth";
- rev = "9e777a8366cce605130a531d2cd6363d07ad7317";
- sha256 = "0vkrfrz3fzn5n6ix4k8s0cg0b448459sldq8bp4riavsxm932jzb";
- };
- }
- {
- goPackagePath = "github.com/mattn/go-shellwords";
- fetch = {
- type = "git";
- url = "https://github.com/mattn/go-shellwords";
- rev = "02e3cf038dcea8290e44424da473dd12be796a8a";
- sha256 = "1pg7pl25wvpl2dbpyrv9p1r7prnqimxlf6136vn0dfm54j2x4mnr";
- };
- }
- {
- goPackagePath = "github.com/matttproud/golang_protobuf_extensions";
- fetch = {
- type = "git";
- url = "https://github.com/matttproud/golang_protobuf_extensions";
- rev = "c12348ce28de40eed0136aa2b644d0ee0650e56c";
- sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya";
- };
- }
- {
- goPackagePath = "github.com/mtrmac/gpgme";
- fetch = {
- type = "git";
- url = "https://github.com/mtrmac/gpgme";
- rev = "b2432428689ca58c2b8e8dea9449d3295cf96fc9";
- sha256 = "0hs9gfwf3cmnvmmxb485icwlv8h8xnny3p52bj7qwv251pvwsnaf";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/go-digest";
- fetch = {
- type = "git";
- url = "https://github.com/opencontainers/go-digest";
- rev = "279bed98673dd5bef374d3b6e4b09e2af76183bf";
- sha256 = "01gc7fpn8ax429024p2fcx3yb18axwz5bjf2hqxlii1jbsgw4bh9";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/image-spec";
- fetch = {
- type = "git";
- url = "https://github.com/opencontainers/image-spec";
- rev = "e562b04403929d582d449ae5386ff79dd7961a11";
- sha256 = "0j24nk975di8hcv6ycn2p2hhw1xdiy4bpxamr6wn12k21kadlp7s";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/image-tools";
- fetch = {
- type = "git";
- url = "https://github.com/sylabs/image-tools";
- rev = "2814f498056809a9d5baaf76d1d82312180a5888";
- sha256 = "0q3ljb51df5hc58rhp5xni2gsy3gkxn47d9dwyfcffnq8kpf9d8a";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/runc";
- fetch = {
- type = "git";
- url = "https://github.com/opencontainers/runc";
- rev = "baf6536d6259209c3edfa2b22237af82942d3dfa";
- sha256 = "09fm7f1k4lvx8v3crqb0cli1x2brlz8ka7f7qa8d2sb6ln58h7w7";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/runtime-spec";
- fetch = {
- type = "git";
- url = "https://github.com/opencontainers/runtime-spec";
- rev = "5806c35637336642129d03657419829569abc5aa";
- sha256 = "13vw1b3j9sx7d5fr3w3jdg137nnqcr50fqchq8z8nf6s18lkhj93";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/runtime-tools";
- fetch = {
- type = "git";
- url = "https://github.com/opencontainers/runtime-tools";
- rev = "1c243a8a8eb44d491790798afc9b634c6f6a6380";
- sha256 = "1ll5wrbn84yb2l7k6hpwwj06wywib7ar4z1bhh1rc5h9xajng7jq";
- };
- }
- {
- goPackagePath = "github.com/opencontainers/selinux";
- fetch = {
- type = "git";
- url = "https://github.com/opencontainers/selinux";
- rev = "ba1aefe8057f1d0cfb8e88d0ec1dc85925ef987d";
- sha256 = "1n283j7rsim7gysm91x99c41d7vnsjsgfm4dy11fnzpkpzfiksq5";
- };
- }
- {
- goPackagePath = "github.com/pelletier/go-toml";
- fetch = {
- type = "git";
- url = "https://github.com/pelletier/go-toml";
- rev = "c01d1270ff3e442a8a57cddc1c92dc1138598194";
- sha256 = "1fjzpcjng60mc3a4b2ql5a00d5gah84wj740dabv9kq67mpg8fxy";
- };
- }
- {
- goPackagePath = "github.com/pkg/errors";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/errors";
- rev = "645ef00459ed84a119197bfb8d8205042c6df63d";
- sha256 = "001i6n71ghp2l6kdl3qq1v2vmghcz3kicv9a5wgcihrzigm75pp5";
- };
- }
- {
- goPackagePath = "github.com/pquerna/ffjson";
- fetch = {
- type = "git";
- url = "https://github.com/pquerna/ffjson";
- rev = "d49c2bc1aa135aad0c6f4fc2056623ec78f5d5ac";
- sha256 = "069w276lch2hhkvz26wdla8d4s0cg842bhqmih4sa33dsinlgs8g";
- };
- }
- {
- goPackagePath = "github.com/prometheus/client_golang";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/client_golang";
- rev = "faf4ec335fe01ae5a6a0eaa34a5a9333bfbd1a30";
- sha256 = "08xgqgx7vc27zc30chgi09lwrnvxr338dn624xnw4ysfm9r6lxrz";
- };
- }
- {
- goPackagePath = "github.com/prometheus/client_model";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/client_model";
- rev = "99fa1f4be8e564e8a6b613da7fa6f46c9edafc6c";
- sha256 = "19y4ywsivhpxj7ikf2j0gm9k3cmyw37qcbfi78n526jxcc7kw998";
- };
- }
- {
- goPackagePath = "github.com/prometheus/common";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/common";
- rev = "7600349dcfe1abd18d72d3a1770870d9800a7801";
- sha256 = "0lsp94dqpj35dny4m4x15kg4wgwawlm3in7cnpajkkacgyxagk5f";
- };
- }
- {
- goPackagePath = "github.com/prometheus/procfs";
- fetch = {
- type = "git";
- url = "https://github.com/prometheus/procfs";
- rev = "7d6f385de8bea29190f15ba9931442a0eaef9af7";
- sha256 = "18cish8yas5r6xhgp8p8n7lg4wh3d4szzirszxra8m7rwy3swxxq";
- };
- }
- {
- goPackagePath = "github.com/russross/blackfriday";
- fetch = {
- type = "git";
- url = "https://github.com/russross/blackfriday";
- rev = "55d61fa8aa702f59229e6cff85793c22e580eaf5";
- sha256 = "0qmavm5d14kj6im6sqzpqnlhpy524428vkn4hnfwknndr9rycmn0";
- };
- }
- {
- goPackagePath = "github.com/safchain/ethtool";
- fetch = {
- type = "git";
- url = "https://github.com/safchain/ethtool";
- rev = "6e3f4faa84e1d8d48afec75ed064cf3611d3f8bf";
- sha256 = "15xjvny8bfhhjvvv654pimxxw5cd02q8skp1siwbfvrlw598j4lm";
- };
- }
- {
- goPackagePath = "github.com/satori/go.uuid";
- fetch = {
- type = "git";
- url = "https://github.com/satori/go.uuid";
- rev = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3";
- sha256 = "1j4s5pfg2ldm35y8ls8jah4dya2grfnx2drb4jcbjsyrp4cm5yfb";
- };
- }
- {
- goPackagePath = "github.com/seccomp/libseccomp-golang";
- fetch = {
- type = "git";
- url = "https://github.com/seccomp/libseccomp-golang";
- rev = "e3496e3a417d1dc9ecdceca5af2513271fed37a0";
- sha256 = "0z8v90nk22h8r5licav1a8cbn6k7bs47l0j1crw7bjl9hv1bmr71";
- };
- }
- {
- goPackagePath = "github.com/sirupsen/logrus";
- fetch = {
- type = "git";
- url = "https://github.com/sirupsen/logrus";
- rev = "c155da19408a8799da419ed3eeb0cb5db0ad5dbc";
- sha256 = "0g5z7al7kky11ai2dhac6gkp3b5pxsvx72yj3xg4wg3265gbn7yz";
- };
- }
- {
- goPackagePath = "github.com/spf13/cobra";
- fetch = {
- type = "git";
- url = "https://github.com/spf13/cobra";
- rev = "1e58aa3361fd650121dceeedc399e7189c05674a";
- sha256 = "1d6dy60dw7i2mcab10yp99wi5w28jzhzzf16w4ys6bna7ymndiin";
- };
- }
- {
- goPackagePath = "github.com/spf13/pflag";
- fetch = {
- type = "git";
- url = "https://github.com/spf13/pflag";
- rev = "583c0c0531f06d5278b7d917446061adc344b5cd";
- sha256 = "0nr4mdpfhhk94hq4ymn5b2sxc47b29p1akxd8b0hx4dvdybmipb5";
- };
- }
- {
- goPackagePath = "github.com/sylabs/sif";
- fetch = {
- type = "git";
- url = "https://github.com/sylabs/sif";
- rev = "177b9338f1ab9123be5b6217740be1f0ce924206";
- sha256 = "1dwpml36n06hglp2km1wsfzdiw1yva6a0h00f1y2933m3i8r3k2w";
- };
- }
- {
- goPackagePath = "github.com/syndtr/gocapability";
- fetch = {
- type = "git";
- url = "https://github.com/syndtr/gocapability";
- rev = "33e07d32887e1e06b7c025f27ce52f62c7990bc0";
- sha256 = "1x88c0b320b13w7samicf19dqx9rr4dnrh3yglk3cba21nwsp57i";
- };
- }
- {
- goPackagePath = "github.com/vishvananda/netlink";
- fetch = {
- type = "git";
- url = "https://github.com/vishvananda/netlink";
- rev = "a2ad57a690f3caf3015351d2d6e1c0b95c349752";
- sha256 = "0hpzghf1a4cwawzhkiwdzin80h6hd09fskl77d5ppgc084yvj8x0";
- };
- }
- {
- goPackagePath = "github.com/vishvananda/netns";
- fetch = {
- type = "git";
- url = "https://github.com/vishvananda/netns";
- rev = "be1fbeda19366dea804f00efff2dd73a1642fdcc";
- sha256 = "0j0xin37zp34ajmhsgfbxr8l7vrljf1lc6z3j3miidlmfwcl2s0m";
- };
- }
- {
- goPackagePath = "github.com/xeipuuv/gojsonpointer";
- fetch = {
- type = "git";
- url = "https://github.com/xeipuuv/gojsonpointer";
- rev = "4e3ac2762d5f479393488629ee9370b50873b3a6";
- sha256 = "13y6iq2nzf9z4ls66bfgnnamj2m3438absmbpqry64bpwjfbsi9q";
- };
- }
- {
- goPackagePath = "github.com/xeipuuv/gojsonreference";
- fetch = {
- type = "git";
- url = "https://github.com/xeipuuv/gojsonreference";
- rev = "bd5ef7bd5415a7ac448318e64f11a24cd21e594b";
- sha256 = "1xby79padc7bmyb8rfbad8wfnfdzpnh51b1n8c0kibch0kwc1db5";
- };
- }
- {
- goPackagePath = "github.com/xeipuuv/gojsonschema";
- fetch = {
- type = "git";
- url = "https://github.com/xeipuuv/gojsonschema";
- rev = "1d523034197ff1f222f6429836dd36a2457a1874";
- sha256 = "1z8c6x8sfh6d1ib2lm2jps7r139qip6h3zik3fxhy1yr1380qbzp";
- };
- }
- {
- goPackagePath = "go4.org";
- fetch = {
- type = "git";
- url = "https://github.com/go4org/go4";
- rev = "9599cf28b011184741f249bd9f9330756b506cbc";
- sha256 = "0hssb6jmpjxvdx2k1zx0l2dbwpx52zxcq5n2bhqivr670r4wdrkq";
- };
- }
- {
- goPackagePath = "golang.org/x/crypto";
- fetch = {
- type = "git";
- url = "https://github.com/sylabs/golang-x-crypto";
- rev = "4bce89e8e9a9f84a4cf02b9842c3eaff2af0a856";
- sha256 = "11wi2zd055ym9m36ba007rdg4ghrwaiqxc77qyqc37ln7l7accr9";
- };
- }
- {
- goPackagePath = "golang.org/x/net";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/net";
- rev = "db08ff08e8622530d9ed3a0e8ac279f6d4c02196";
- sha256 = "1f6q8kbijnrfy6wjqxrzgjf38ippckc5w34lhqsjs7kq045aar9a";
- };
- }
- {
- goPackagePath = "golang.org/x/sys";
- fetch = {
- type = "git";
- url = "https://go.googlesource.com/sys";
- rev = "6c888cc515d3ed83fc103cf1d84468aad274b0a7";
- sha256 = "18anqrdajp4p015v3f5y641k3lmgp2jr0lfyx0pb3ia0qvn93mrp";
- };
- }
- {
- goPackagePath = "gopkg.in/cheggaaa/pb.v1";
- fetch = {
- type = "git";
- url = "https://github.com/cheggaaa/pb";
- rev = "2af8bbdea9e99e83b3ac400d8f6b6d1b8cbbf338";
- sha256 = "0vxqiw6f3xyv0zy3g4lksf8za0z8i0hvfpw92hqimsy84f79j3dp";
- };
- }
- {
- goPackagePath = "gopkg.in/yaml.v2";
- fetch = {
- type = "git";
- url = "https://github.com/go-yaml/yaml";
- rev = "5420a8b6744d3b0345ab293f6fcba19c978f1183";
- sha256 = "0dwjrs2lp2gdlscs7bsrmyc5yf6mm4fvgw71bzr9mv2qrd2q73s1";
- };
- }
-]
\ No newline at end of file
+[]
diff --git a/pkgs/applications/virtualization/tini/default.nix b/pkgs/applications/virtualization/tini/default.nix
index 25c19cd79c7..39508412333 100644
--- a/pkgs/applications/virtualization/tini/default.nix
+++ b/pkgs/applications/virtualization/tini/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.18.0";
- name = "tini-${version}";
+ pname = "tini";
src = fetchFromGitHub {
owner = "krallin";
diff --git a/pkgs/applications/virtualization/tinyemu/default.nix b/pkgs/applications/virtualization/tinyemu/default.nix
index a8f11330725..224f77ed32d 100644
--- a/pkgs/applications/virtualization/tinyemu/default.nix
+++ b/pkgs/applications/virtualization/tinyemu/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, openssl, curl, SDL }:
stdenv.mkDerivation rec {
- name = "tinyemu-${version}";
+ pname = "tinyemu";
version = "2018-09-23";
src = fetchurl {
- url = "https://bellard.org/tinyemu/${name}.tar.gz";
+ url = "https://bellard.org/tinyemu/${pname}-${version}.tar.gz";
sha256 = "0d6payyqf4lpvmmzvlpq1i8wpbg4sf3h6llsw0xnqdgq3m9dan4v";
};
buildInputs = [ openssl curl SDL ];
diff --git a/pkgs/applications/virtualization/virt-manager/default.nix b/pkgs/applications/virtualization/virt-manager/default.nix
index bb16660db87..42860966fe1 100644
--- a/pkgs/applications/virtualization/virt-manager/default.nix
+++ b/pkgs/applications/virtualization/virt-manager/default.nix
@@ -1,31 +1,37 @@
{ stdenv, fetchurl, python3Packages, intltool, file
, wrapGAppsHook, gtk-vnc, vte, avahi, dconf
, gobject-introspection, libvirt-glib, system-libvirt
-, gsettings-desktop-schemas, glib, libosinfo, gnome3, gtk3
+, gsettings-desktop-schemas, glib, libosinfo, gnome3
+, gtksourceview4
, spiceSupport ? true, spice-gtk ? null
, cpio, e2fsprogs, findutils, gzip
}:
with stdenv.lib;
+# TODO: remove after there's support for setupPyDistFlags
+let
+ setuppy = ../../../development/interpreters/python/run_setup.py;
+in
python3Packages.buildPythonApplication rec {
name = "virt-manager-${version}";
- version = "2.1.0";
+ version = "2.2.1";
namePrefix = "";
src = fetchurl {
url = "http://virt-manager.org/download/sources/virt-manager/${name}.tar.gz";
- sha256 = "1m038kyngmxlgz91c7z8g73lb2wy0ajyah871a3g3wb5cnd0dsil";
+ sha256 = "06ws0agxlip6p6n3n43knsnjyd91gqhh2dadgc33wl9lx1k8vn6g";
};
nativeBuildInputs = [
- wrapGAppsHook intltool file
+ intltool file
gobject-introspection # for setup hook populating GI_TYPELIB_PATH
];
buildInputs = [
+ wrapGAppsHook
libvirt-glib vte dconf gtk-vnc gnome3.adwaita-icon-theme avahi
- gsettings-desktop-schemas libosinfo gtk3
+ gsettings-desktop-schemas libosinfo gtksourceview4
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
] ++ optional spiceSupport spice-gtk;
@@ -43,8 +49,12 @@ python3Packages.buildPythonApplication rec {
${python3Packages.python.interpreter} setup.py configure --prefix=$out
'';
- postInstall = ''
- ${glib.dev}/bin/glib-compile-schemas "$out"/share/glib-2.0/schemas
+ # TODO: remove after there's support for setupPyDistFlags
+ buildPhase = ''
+ runHook preBuild
+ cp ${setuppy} nix_run_setup
+ ${python3Packages.python.pythonForBuild.interpreter} nix_run_setup --no-update-icon-cache build_ext bdist_wheel
+ runHook postBuild
'';
preFixup = ''
@@ -67,6 +77,6 @@ python3Packages.buildPythonApplication rec {
license = licenses.gpl2;
# exclude Darwin since libvirt-glib currently doesn't build there
platforms = platforms.linux;
- maintainers = with maintainers; [ qknight offline fpletz ];
+ maintainers = with maintainers; [ qknight offline fpletz globin ];
};
}
diff --git a/pkgs/applications/virtualization/virt-manager/qt.nix b/pkgs/applications/virtualization/virt-manager/qt.nix
index c1dbad94250..5b2b33d6adf 100644
--- a/pkgs/applications/virtualization/virt-manager/qt.nix
+++ b/pkgs/applications/virtualization/virt-manager/qt.nix
@@ -5,13 +5,13 @@
}:
mkDerivation rec {
- name = "virt-manager-qt-${version}";
+ pname = "virt-manager-qt";
version = "0.70.91";
src = fetchFromGitHub {
owner = "F1ash";
repo = "qt-virt-manager";
- rev = "${version}";
+ rev = version;
sha256 = "1z2kq88lljvr24z1kizvg3h7ckf545h4kjhhrjggkr0w4wjjwr43";
};
diff --git a/pkgs/applications/virtualization/virt-top/default.nix b/pkgs/applications/virtualization/virt-top/default.nix
index 493307d0d07..9fc167f5e9d 100644
--- a/pkgs/applications/virtualization/virt-top/default.nix
+++ b/pkgs/applications/virtualization/virt-top/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, ocamlPackages, autoreconfHook }:
-stdenv.mkDerivation rec {
- name = "virt-top-${version}";
+stdenv.mkDerivation {
+ pname = "virt-top";
version = "2017-11-18-unstable";
src = fetchgit {
diff --git a/pkgs/applications/virtualization/virt-viewer/default.nix b/pkgs/applications/virtualization/virt-viewer/default.nix
index 7c90f9b3483..3d058903200 100644
--- a/pkgs/applications/virtualization/virt-viewer/default.nix
+++ b/pkgs/applications/virtualization/virt-viewer/default.nix
@@ -1,7 +1,5 @@
-{ stdenv, fetchurl, pkgconfig, intltool, glib, libxml2, gtk3, gtk-vnc, gmp
-, libgcrypt, gnupg, cyrus_sasl, shared-mime-info, libvirt, yajl, xen
-, gsettings-desktop-schemas, wrapGAppsHook, libvirt-glib, libcap_ng, numactl
-, libapparmor, gst_all_1
+{ stdenv, fetchurl, pkgconfig, intltool, shared-mime-info, wrapGAppsHook
+, glib, gsettings-desktop-schemas, gtk-vnc, gtk3, libvirt, libvirt-glib, libxml2, vte
, spiceSupport ? true
, spice-gtk ? null, spice-protocol ? null, libcap ? null, gdbm ? null
}:
@@ -21,21 +19,19 @@ stdenv.mkDerivation rec {
sha256 = "1vdnjmhrva7r1n9nv09j8gc12hy0j9j5l4rka4hh0jbsbpnmiwyw";
};
- nativeBuildInputs = [ pkgconfig intltool wrapGAppsHook ];
+ nativeBuildInputs = [ pkgconfig intltool shared-mime-info wrapGAppsHook glib ];
buildInputs = [
- glib libxml2 gtk3 gtk-vnc gmp libgcrypt gnupg cyrus_sasl shared-mime-info
- libvirt yajl gsettings-desktop-schemas libvirt-glib
- libcap_ng numactl libapparmor
- ] ++ optionals stdenv.isx86_64 [
- xen
+ glib gsettings-desktop-schemas gtk-vnc gtk3 libvirt libvirt-glib libxml2 vte
] ++ optionals spiceSupport [
spice-gtk spice-protocol libcap gdbm
- gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
# Required for USB redirection PolicyKit rules file
propagatedUserEnvPkgs = optional spiceSupport spice-gtk;
+ strictDeps = true;
+ enableParallelBuilding = true;
+
meta = {
description = "A viewer for remote virtual machines";
maintainers = [ maintainers.raskin ];
diff --git a/pkgs/applications/virtualization/virt-what/default.nix b/pkgs/applications/virtualization/virt-what/default.nix
index 8a339ac8322..7ea83b01559 100644
--- a/pkgs/applications/virtualization/virt-what/default.nix
+++ b/pkgs/applications/virtualization/virt-what/default.nix
@@ -1,11 +1,11 @@
{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
- name = "virt-what-${version}";
+ pname = "virt-what";
version = "1.19";
src = fetchurl {
- url = "https://people.redhat.com/~rjones/virt-what/files/${name}.tar.gz";
+ url = "https://people.redhat.com/~rjones/virt-what/files/${pname}-${version}.tar.gz";
sha256 = "00nhwly5q0ps8yv9cy3c2qp8lfshf3s0kdpwiy5zwk3g77z96rwk";
};
diff --git a/pkgs/applications/virtualization/virtinst/default.nix b/pkgs/applications/virtualization/virtinst/default.nix
index 8222fb50a8f..6931e492e99 100644
--- a/pkgs/applications/virtualization/virtinst/default.nix
+++ b/pkgs/applications/virtualization/virtinst/default.nix
@@ -5,7 +5,8 @@ with stdenv.lib;
let version = "0.600.4"; in
stdenv.mkDerivation rec {
- name = "virtinst-${version}";
+ pname = "virtinst";
+ inherit version;
src = fetchurl {
url = "http://virt-manager.org/download/sources/virtinst/virtinst-${version}.tar.gz";
diff --git a/pkgs/applications/virtualization/virtualbox/default.nix b/pkgs/applications/virtualization/virtualbox/default.nix
index a8c2dda8ea8..ac52b83e43d 100644
--- a/pkgs/applications/virtualization/virtualbox/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/default.nix
@@ -1,10 +1,10 @@
-{ config, stdenv, fetchurl, lib, iasl, dev86, pam, libxslt, libxml2
-, libX11, xorgproto, libXext, libXcursor, libXmu, qt5, libIDL, SDL, libcap
-, libpng, glib, lvm2, libXrandr, libXinerama, libopus
-, pkgconfig, which, docbook_xsl, docbook_xml_dtd_43
-, alsaLib, curl, libvpx, nettools, dbus
+{ config, stdenv, fetchurl, lib, iasl, dev86, pam, libxslt, libxml2, wrapQtAppsHook
+, libX11, xorgproto, libXext, libXcursor, libXmu, libIDL, SDL, libcap, libGL
+, libpng, glib, lvm2, libXrandr, libXinerama, libopus, qtbase, qtx11extras
+, qttools, qtsvg, qtwayland, pkgconfig, which, docbook_xsl, docbook_xml_dtd_43
+, alsaLib, curl, libvpx, nettools, dbus, substituteAll
, makeself, perl
-, javaBindings ? false, jdk ? null
+, javaBindings ? true, jdk ? null # Almost doesn't affect closure size
, pythonBindings ? false, python3 ? null
, extensionPack ? null, fakeroot ? null
, pulseSupport ? config.pulseaudio or stdenv.isLinux, libpulseaudio ? null
@@ -21,10 +21,11 @@ let
buildType = "release";
# Remember to change the extpackRev and version in extpack.nix and
# guest-additions/default.nix as well.
- main = "11sxx2zaablkvjiw0i5g5i5ibak6bsq6fldrcxwbcby6318shnhv";
- version = "6.0.8";
+ main = "1y6j73axjns8ng3m8zs31zwx71wmm91n6vrhdpxphx16jf518djj";
+ version = "6.0.10";
in stdenv.mkDerivation {
- name = "virtualbox-${version}";
+ pname = "virtualbox";
+ inherit version;
src = fetchurl {
url = "https://download.virtualbox.org/virtualbox/${version}/VirtualBox-${version}.tar.bz2";
@@ -33,7 +34,11 @@ in stdenv.mkDerivation {
outputs = [ "out" "modsrc" ];
- nativeBuildInputs = [ pkgconfig which docbook_xsl docbook_xml_dtd_43 patchelfUnstable ];
+ nativeBuildInputs = [ pkgconfig which docbook_xsl docbook_xml_dtd_43 patchelfUnstable ]
+ ++ optional (!headless) wrapQtAppsHook;
+
+ # Wrap manually because we wrap just a small number of executables.
+ dontWrapQtApps = true;
buildInputs =
[ iasl dev86 libxslt libxml2 xorgproto libX11 libXext libXcursor libIDL
@@ -42,8 +47,8 @@ in stdenv.mkDerivation {
++ optional javaBindings jdk
++ optional pythonBindings python # Python is needed even when not building bindings
++ optional pulseSupport libpulseaudio
- ++ optionals (headless) [ libXrandr ]
- ++ optionals (!headless) [ qt5.qtbase qt5.qtx11extras libXinerama SDL ];
+ ++ optionals (headless) [ libXrandr libGL ]
+ ++ optionals (!headless) [ qtbase qtx11extras libXinerama SDL ];
hardeningDisable = [ "format" "fortify" "pic" "stackprotector" ];
@@ -53,7 +58,7 @@ in stdenv.mkDerivation {
-e 's@PYTHONDIR=.*@PYTHONDIR=${if pythonBindings then python else ""}@' \
-e 's@CXX_FLAGS="\(.*\)"@CXX_FLAGS="-std=c++11 \1"@' \
${optionalString (!headless) ''
- -e 's@TOOLQT5BIN=.*@TOOLQT5BIN="${getDev qt5.qtbase}/bin"@' \
+ -e 's@TOOLQT5BIN=.*@TOOLQT5BIN="${getDev qtbase}/bin"@' \
''} -i configure
ls kBuild/bin/linux.x86/k* tools/linux.x86/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux.so.2
ls kBuild/bin/linux.amd64/k* tools/linux.amd64/bin/* | xargs -n 1 patchelf --set-interpreter ${stdenv.glibc.out}/lib/ld-linux-x86-64.so.2
@@ -74,6 +79,17 @@ in stdenv.mkDerivation {
patches =
optional enableHardening ./hardened.patch
+ # When hardening is enabled, we cannot use wrapQtApp to ensure that VirtualBoxVM sees
+ # the correct environment variables needed for Qt to work, specifically QT_PLUGIN_PATH.
+ # This is because VirtualBoxVM would detect that it is wrapped that and refuse to run,
+ # and also because it would unset QT_PLUGIN_PATH for security reasons. We work around
+ # these issues by patching the code to set QT_PLUGIN_PATH to the necessary paths,
+ # after the code that unsets it. Note that qtsvg is included so that SVG icons from
+ # the user's icon theme can be loaded.
+ ++ optional (!headless && enableHardening) (substituteAll {
+ src = ./qt-env-vars.patch;
+ qtPluginPath = "${qtbase.bin}/${qtbase.qtPluginPrefix}:${qtsvg.bin}/${qtbase.qtPluginPrefix}:${qtwayland.bin}/${qtbase.qtPluginPrefix}";
+ })
++ [
./qtx11extras.patch
];
@@ -105,9 +121,9 @@ in stdenv.mkDerivation {
VBOX_JAVA_HOME := ${jdk}
''}
${optionalString (!headless) ''
- PATH_QT5_X11_EXTRAS_LIB := ${getLib qt5.qtx11extras}/lib
- PATH_QT5_X11_EXTRAS_INC := ${getDev qt5.qtx11extras}/include
- TOOL_QT5_LRC := ${getDev qt5.qttools}/bin/lrelease
+ PATH_QT5_X11_EXTRAS_LIB := ${getLib qtx11extras}/lib
+ PATH_QT5_X11_EXTRAS_INC := ${getDev qtx11extras}/include
+ TOOL_QT5_LRC := ${getDev qttools}/bin/lrelease
''}
LOCAL_CONFIG
@@ -177,6 +193,15 @@ in stdenv.mkDerivation {
cp -rv out/linux.*/${buildType}/bin/src "$modsrc"
'';
+ preFixup = optionalString (!headless) ''
+ wrapQtApp $out/bin/VirtualBox
+ ''
+ # If hardening is disabled, wrap the VirtualBoxVM binary instead of patching
+ # the source code (see postPatch).
+ + optionalString (!headless && !enableHardening) ''
+ wrapQtApp $out/libexec/virtualbox/VirtualBoxVM
+ '';
+
passthru = {
inherit version; # for guest additions
inherit extensionPack; # for inclusion in profile to prevent gc
diff --git a/pkgs/applications/virtualization/virtualbox/extpack.nix b/pkgs/applications/virtualization/virtualbox/extpack.nix
index a748a0adbba..8c9f1aea7ba 100644
--- a/pkgs/applications/virtualization/virtualbox/extpack.nix
+++ b/pkgs/applications/virtualization/virtualbox/extpack.nix
@@ -1,8 +1,8 @@
-{stdenv, fetchurl, lib}:
+{fetchurl, lib}:
with lib;
-let version = "6.0.8";
+let version = "6.0.10";
in
fetchurl rec {
name = "Oracle_VM_VirtualBox_Extension_Pack-${version}.vbox-extpack";
@@ -10,7 +10,8 @@ fetchurl rec {
sha256 =
# Manually sha256sum the extensionPack file, must be hex!
# Thus do not use `nix-prefetch-url` but instead plain old `sha256sum`.
- let value = "6d89127c7f043fa96592da96ca87ac5ee9a7afd347d788380f91b695b67d7954";
+ # Checksums can also be found at https://www.virtualbox.org/download/hashes/${version}/SHA256SUMS
+ let value = "e5a9eb240379a57c9bf03954a594a03431698e67aef551e27f62170bed9b16ea";
in assert (builtins.stringLength value) == 64; value;
meta = {
diff --git a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
index 5ff8a1650ba..ad860b07bdf 100644
--- a/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
+++ b/pkgs/applications/virtualization/virtualbox/guest-additions/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
src = fetchurl {
url = "http://download.virtualbox.org/virtualbox/${version}/VBoxGuestAdditions_${version}.iso";
- sha256 = "1njgxb18r8a1m8fk2b32mmnbwciip3wcxwyhza5k73bx4q2sifac";
+ sha256 = "098kibz8dkiqd8shm44n4h6iyszcbj0ikav1b4vsi75dqzw8d9n8";
};
KERN_DIR = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build";
@@ -35,6 +35,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ patchelf makeWrapper ];
buildInputs = [ cdrkit ] ++ kernel.moduleBuildDependencies;
+ postPatch = ''
+ substituteInPlace src/vboxguest-${version}/vboxvideo/vbox_ttm.c \
+ --replace " ./VBoxLinuxAdditions.run
@@ -56,8 +61,6 @@ stdenv.mkDerivation {
}
'';
- doConfigure = false;
-
buildPhase = ''
# Build kernel modules.
cd src
diff --git a/pkgs/applications/virtualization/virtualbox/qt-env-vars.patch b/pkgs/applications/virtualization/virtualbox/qt-env-vars.patch
new file mode 100644
index 00000000000..ad1d1fd11f8
--- /dev/null
+++ b/pkgs/applications/virtualization/virtualbox/qt-env-vars.patch
@@ -0,0 +1,14 @@
+--- a/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
++++ b/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
+@@ -2131,6 +2131,11 @@ static void supR3HardenedMainPurgeEnvironment(char **envp)
+ /** @todo Call NT API to do the same. */
+ #endif
+ }
++
++ /*
++ * NixOS hack: Set QT_PLUGIN_PATH to make Qt find plugins.
++ */
++ setenv("QT_PLUGIN_PATH", "@qtPluginPath@", /*overwrite=*/ 1);
+ }
+
+
diff --git a/pkgs/applications/virtualization/vpcs/default.nix b/pkgs/applications/virtualization/vpcs/default.nix
index 3d6efcfc844..464fe46b499 100644
--- a/pkgs/applications/virtualization/vpcs/default.nix
+++ b/pkgs/applications/virtualization/vpcs/default.nix
@@ -1,13 +1,12 @@
{ stdenv, fetchurl, glibc }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "vpcs";
version = "0.8";
src = fetchurl {
- name = "${name}.tar.bz2";
- url = "mirror://sourceforge/project/${pname}/${version}/${name}-src.tbz";
+ name = "${pname}-${version}.tar.bz2";
+ url = "mirror://sourceforge/project/${pname}/${version}/${pname}-${version}-src.tbz";
sha256 = "14y9nflcyq486vvw0na0fkfmg5dac004qb332v4m5a0vaz8059nw";
};
diff --git a/pkgs/applications/virtualization/x11docker/default.nix b/pkgs/applications/virtualization/x11docker/default.nix
index 94682893d51..ea8a24e57a3 100644
--- a/pkgs/applications/virtualization/x11docker/default.nix
+++ b/pkgs/applications/virtualization/x11docker/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, makeWrapper, nx-libs, xorg }:
stdenv.mkDerivation rec {
- name = "x11docker-${version}";
- version = "5.4.4";
+ pname = "x11docker";
+ version = "6.0.0";
src = fetchFromGitHub {
owner = "mviereck";
repo = "x11docker";
rev = "v${version}";
- sha256 = "1p45dyd1zfjxlawsy190q71hwl083f90ryaslslhxsadsi9m64dq";
+ sha256 = "1sfdxlh50hv8j3dj5bphihqdyf8s7ixm6ckrmvqgr2y3gak1y840";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ nx-libs xorg.xhost xorg.xinit ];
diff --git a/pkgs/applications/virtualization/xen/4.10.nix b/pkgs/applications/virtualization/xen/4.10.nix
index f3055fc79c3..d3c2ed9060c 100644
--- a/pkgs/applications/virtualization/xen/4.10.nix
+++ b/pkgs/applications/virtualization/xen/4.10.nix
@@ -38,26 +38,23 @@ let
in
callPackage (import ./generic.nix (rec {
- version = "4.10.0";
+ version = "4.10.4";
src = fetchurl {
url = "https://downloads.xenproject.org/release/xen/${version}/xen-${version}.tar.gz";
- sha256 = "0i38ap5b5m1kix6xb0vn9ya1yab35adyc98bzfnbq4lb7w1afqh2";
+ sha256 = "0ipkr7b3v3y183n6nfmz7q3gnzxa20011df4jpvxi6pmr8cpnkwh";
};
# Sources needed to build tools and firmwares.
xenfiles = optionalAttrs withInternalQemu {
- "qemu-xen" = {
+ qemu-xen = {
src = fetchgit {
url = https://xenbits.xen.org/git-http/qemu-xen.git;
# rev = "refs/tags/qemu-xen-${version}";
# use revision hash - reproducible but must be updated with each new version
- rev = "b79708a8ed1b3d18bee67baeaf33b3fa529493e2";
- sha256 = "1yxxad6nvlfmrbgyc8ix19qmrsn1rx4zpyiqnfi4x4kg94acwa5w";
+ rev = "qemu-xen-${version}";
+ sha256 = "0laxvhdjz1njxjvq3jzw2yqvdr9gdn188kqjf2gcrfzgih7xv2ym";
};
- patches = [
- qemuMemfdBuildFix
- ];
buildInputs = qemuDeps;
postPatch = ''
# needed in build but /usr/bin/env is not available in sandbox
@@ -67,7 +64,7 @@ callPackage (import ./generic.nix (rec {
meta.description = "Xen's fork of upstream Qemu";
};
} // optionalAttrs withInternalTraditionalQemu {
- "qemu-xen-traditional" = {
+ qemu-xen-traditional = {
src = fetchgit {
url = https://xenbits.xen.org/git-http/qemu-xen-traditional.git;
# rev = "refs/tags/xen-${version}";
@@ -114,7 +111,7 @@ callPackage (import ./generic.nix (rec {
meta.description = "Xen's fork of iPXE";
};
} // optionalAttrs withLibHVM {
- "xen-libhvm-dir-remote" = {
+ xen-libhvm-dir-remote = {
src = fetchgit {
name = "xen-libhvm";
url = https://github.com/michalpalka/xen-libhvm;
@@ -151,17 +148,16 @@ callPackage (import ./generic.nix (rec {
++ optional (withOVMF) "--with-system-ovmf=${OVMF.fd}/FV/OVMF.fd"
++ optional (withInternalOVMF) "--enable-ovmf";
- patches = with xsa; flatten [
- XSA_252
- XSA_253
- XSA_255_1
- XSA_255_2
- XSA_256
+ NIX_CFLAGS_COMPILE = [
+ # Fix build on Glibc 2.24.
+ "-Wno-error=deprecated-declarations"
+ # Fix build with GCC 8
+ "-Wno-error=maybe-uninitialized"
+ "-Wno-error=stringop-truncation"
+ "-Wno-error=format-truncation"
+ "-Wno-error=array-bounds"
];
- # Fix build on Glibc 2.24.
- NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
-
postPatch = ''
# Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.
sed 1i'#include ' \
diff --git a/pkgs/applications/virtualization/xen/4.5.nix b/pkgs/applications/virtualization/xen/4.5.nix
index 64704f73e7b..af4721516ec 100644
--- a/pkgs/applications/virtualization/xen/4.5.nix
+++ b/pkgs/applications/virtualization/xen/4.5.nix
@@ -50,7 +50,7 @@ callPackage (import ./generic.nix (rec {
# Sources needed to build tools and firmwares.
xenfiles = optionalAttrs withInternalQemu {
- "qemu-xen" = {
+ qemu-xen = {
src = fetchgit {
url = https://xenbits.xen.org/git-http/qemu-xen.git;
rev = "refs/tags/qemu-xen-${version}";
@@ -86,7 +86,7 @@ callPackage (import ./generic.nix (rec {
meta.description = "Xen's fork of upstream Qemu";
};
} // optionalAttrs withInternalTraditionalQemu {
- "qemu-xen-traditional" = {
+ qemu-xen-traditional = {
src = fetchgit {
url = https://xenbits.xen.org/git-http/qemu-xen-traditional.git;
rev = "refs/tags/xen-${version}";
@@ -152,7 +152,7 @@ callPackage (import ./generic.nix (rec {
meta.description = "Xen's fork of iPXE";
};
} // optionalAttrs withLibHVM {
- "xen-libhvm-dir-remote" = {
+ xen-libhvm-dir-remote = {
src = fetchgit {
name = "xen-libhvm";
url = https://github.com/ts468/xen-libhvm;
diff --git a/pkgs/applications/virtualization/xen/4.8.nix b/pkgs/applications/virtualization/xen/4.8.nix
index 2a59cd1f061..c7568d99062 100644
--- a/pkgs/applications/virtualization/xen/4.8.nix
+++ b/pkgs/applications/virtualization/xen/4.8.nix
@@ -43,6 +43,11 @@ let
sha256 = "0gaz93kb33qc0jx6iphvny0yrd17i8zhcl3a9ky5ylc2idz0wiwa";
};
+ # Ported from
+ #"https://xenbits.xen.org/gitweb/?p=qemu-xen.git;a=patch;h=e014dbe74e0484188164c61ff6843f8a04a8cb9d";
+ #"https://xenbits.xen.org/gitweb/?p=qemu-xen.git;a=patch;h=0e3b891fefacc0e49f3c8ffa3a753b69eb7214d2";
+ qemuGlusterfs6Fix = ./qemu-gluster-6-compat.diff;
+
qemuDeps = [
udev pciutils xorg.libX11 SDL pixman acl glusterfs spice-protocol usbredir
alsaLib
@@ -50,16 +55,16 @@ let
in
callPackage (import ./generic.nix (rec {
- version = "4.8.3";
+ version = "4.8.5";
src = fetchurl {
url = "https://downloads.xenproject.org/release/xen/${version}/xen-${version}.tar.gz";
- sha256 = "0vhkpyy5x7kc36hnav95fn194ngsmc3m2xcc78vccs00gdf6m8q9";
+ sha256 = "04xcf01jad1lpqnmjblzhnjzp0bss9fjd9awgcycjx679arbaxqz";
};
# Sources needed to build tools and firmwares.
xenfiles = optionalAttrs withInternalQemu {
- "qemu-xen" = {
+ qemu-xen = {
src = fetchgit {
url = https://xenbits.xen.org/git-http/qemu-xen.git;
rev = "refs/tags/qemu-xen-${version}";
@@ -67,12 +72,13 @@ callPackage (import ./generic.nix (rec {
};
patches = [
qemuMemfdBuildFix
+ qemuGlusterfs6Fix
];
buildInputs = qemuDeps;
meta.description = "Xen's fork of upstream Qemu";
};
} // optionalAttrs withInternalTraditionalQemu {
- "qemu-xen-traditional" = {
+ qemu-xen-traditional = {
src = fetchgit {
url = https://xenbits.xen.org/git-http/qemu-xen-traditional.git;
rev = "refs/tags/xen-${version}";
@@ -117,7 +123,7 @@ callPackage (import ./generic.nix (rec {
meta.description = "Xen's fork of iPXE";
};
} // optionalAttrs withLibHVM {
- "xen-libhvm-dir-remote" = {
+ xen-libhvm-dir-remote = {
src = fetchgit {
name = "xen-libhvm";
url = https://github.com/michalpalka/xen-libhvm;
@@ -155,19 +161,21 @@ callPackage (import ./generic.nix (rec {
++ optional (withInternalOVMF) "--enable-ovmf";
patches = with xsa; flatten [
- # XSA_231 to XSA-251 are fixed in 4.8.3 (verified with git log)
- XSA_252_49
# 253: 4.8 not affected
# 254: no patch supplied by xen project (Meltdown/Spectre)
- XSA_255_49_1
- XSA_255_49_2
- XSA_256_48
xenlockprofpatch
xenpmdpatch
];
- # Fix build on Glibc 2.24.
- NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
+ NIX_CFLAGS_COMPILE = [
+ # Fix build on Glibc 2.24
+ "-Wno-error=deprecated-declarations"
+ # Fix build with GCC8
+ "-Wno-error=maybe-uninitialized"
+ "-Wno-error=stringop-truncation"
+ "-Wno-error=format-truncation"
+ "-Wno-error=array-bounds"
+ ];
postPatch = ''
# Avoid a glibc >= 2.25 deprecation warnings that get fatal via -Werror.
@@ -176,10 +184,8 @@ callPackage (import ./generic.nix (rec {
-i tools/libxl/libxl_device.c
'';
- passthru = {
- qemu-system-i386 = if withInternalQemu
+ passthru.qemu-system-i386 = if withInternalQemu
then "lib/xen/bin/qemu-system-i386"
else throw "this xen has no qemu builtin";
- };
})) ({ ocamlPackages = ocaml-ng.ocamlPackages_4_05; } // args)
diff --git a/pkgs/applications/virtualization/xen/generic.nix b/pkgs/applications/virtualization/xen/generic.nix
index 8dc2dffc6b6..8093d4752a0 100644
--- a/pkgs/applications/virtualization/xen/generic.nix
+++ b/pkgs/applications/virtualization/xen/generic.nix
@@ -121,8 +121,8 @@ stdenv.mkDerivation (rec {
patches = [ ./0000-fix-ipxe-src.patch
./0000-fix-install-python.patch
- ./acpica-utils-20180427.patch]
- ++ (config.patches or []);
+ ] ++ optional (versionOlder version "4.8.5") ./acpica-utils-20180427.patch
+ ++ (config.patches or []);
postPatch = ''
### Hacks
diff --git a/pkgs/applications/virtualization/xen/qemu-gluster-6-compat.diff b/pkgs/applications/virtualization/xen/qemu-gluster-6-compat.diff
new file mode 100644
index 00000000000..7ec6ad3aba6
--- /dev/null
+++ b/pkgs/applications/virtualization/xen/qemu-gluster-6-compat.diff
@@ -0,0 +1,95 @@
+diff --git a/block/gluster.c b/block/gluster.c
+index 01b479fbb9..29552e1186 100644
+--- a/block/gluster.c
++++ b/block/gluster.c
+@@ -15,6 +15,10 @@
+ #include "qemu/uri.h"
+ #include "qemu/error-report.h"
+
++#ifdef CONFIG_GLUSTERFS_FTRUNCATE_HAS_STAT
++# define glfs_ftruncate(fd, offset) glfs_ftruncate(fd, offset, NULL, NULL)
++#endif
++
+ #define GLUSTER_OPT_FILENAME "filename"
+ #define GLUSTER_OPT_VOLUME "volume"
+ #define GLUSTER_OPT_PATH "path"
+@@ -613,7 +617,11 @@ static void qemu_gluster_complete_aio(void *opaque)
+ /*
+ * AIO callback routine called from GlusterFS thread.
+ */
+-static void gluster_finish_aiocb(struct glfs_fd *fd, ssize_t ret, void *arg)
++static void gluster_finish_aiocb(struct glfs_fd *fd, ssize_t ret,
++#ifdef CONFIG_GLUSTERFS_IOCB_HAS_STAT
++ struct glfs_stat *pre, struct glfs_stat *post,
++#endif
++ void *arg)
+ {
+ GlusterAIOCB *acb = (GlusterAIOCB *)arg;
+
+diff --git a/configure b/configure
+index 4b808f9d17..89fb27fd0d 100755
+--- a/configure
++++ b/configure
+@@ -301,6 +301,8 @@ glusterfs=""
+ glusterfs_xlator_opt="no"
+ glusterfs_discard="no"
+ glusterfs_zerofill="no"
++glusterfs_ftruncate_has_stat="no"
++glusterfs_iocb_has_stat="no"
+ archipelago="no"
+ gtk=""
+ gtkabi=""
+@@ -3444,6 +3446,38 @@ if test "$glusterfs" != "no" ; then
+ if $pkg_config --atleast-version=6 glusterfs-api; then
+ glusterfs_zerofill="yes"
+ fi
++ cat > $TMPC << EOF
++#include
++
++int
++main(void)
++{
++ /* new glfs_ftruncate() passes two additional args */
++ return glfs_ftruncate(NULL, 0, NULL, NULL);
++}
++EOF
++ if compile_prog "$glusterfs_cflags" "$glusterfs_libs" ; then
++ glusterfs_ftruncate_has_stat="yes"
++ fi
++ cat > $TMPC << EOF
++#include
++
++/* new glfs_io_cbk() passes two additional glfs_stat structs */
++static void
++glusterfs_iocb(glfs_fd_t *fd, ssize_t ret, struct glfs_stat *prestat, struct glfs_stat *poststat, void *data)
++{}
++
++int
++main(void)
++{
++ glfs_io_cbk iocb = &glusterfs_iocb;
++ iocb(NULL, 0 , NULL, NULL, NULL);
++ return 0;
++}
++EOF
++ if compile_prog "$glusterfs_cflags" "$glusterfs_libs" ; then
++ glusterfs_iocb_has_stat="yes"
++ fi
+ else
+ if test "$glusterfs" = "yes" ; then
+ feature_not_found "GlusterFS backend support" \
+@@ -5415,6 +5449,14 @@ if test "$archipelago" = "yes" ; then
+ echo "ARCHIPELAGO_LIBS=$archipelago_libs" >> $config_host_mak
+ fi
+
++if test "$glusterfs_ftruncate_has_stat" = "yes" ; then
++ echo "CONFIG_GLUSTERFS_FTRUNCATE_HAS_STAT=y" >> $config_host_mak
++fi
++
++if test "$glusterfs_iocb_has_stat" = "yes" ; then
++ echo "CONFIG_GLUSTERFS_IOCB_HAS_STAT=y" >> $config_host_mak
++fi
++
+ if test "$libssh2" = "yes" ; then
+ echo "CONFIG_LIBSSH2=m" >> $config_host_mak
+ echo "LIBSSH2_CFLAGS=$libssh2_cflags" >> $config_host_mak
diff --git a/pkgs/applications/virtualization/xen/xsa-patches.nix b/pkgs/applications/virtualization/xen/xsa-patches.nix
index 727546b69fb..26cdbc1f65f 100644
--- a/pkgs/applications/virtualization/xen/xsa-patches.nix
+++ b/pkgs/applications/virtualization/xen/xsa-patches.nix
@@ -5,7 +5,7 @@ let
url = "https://xenbits.xen.org/xsa/xsa${name}.patch";
inherit sha256;
});
-in rec {
+in {
# 4.5
XSA_190 = (xsaPatch {
name = "190-4.5";
@@ -66,30 +66,12 @@ in rec {
sha256 = "0nnznkrvfbbc8z64dr9wvbdijd4qbpc0wz2j5vpmx6b32sm7932f";
});
- # 4.8
- XSA_202 = (xsaPatch {
- name = "202";
- sha256 = "0j1d5akcjgx8w2c6w6p9znv77fkmps0880m2xgpbgs1ra9grshm1";
- });
-
- # 4.8
- XSA_203 = (xsaPatch {
- name = "203";
- sha256 = "1s1q7xskvpg87ivwfaiqr0cj3ajdkhkhpmpikfkvq127h8hhmd8j";
- });
-
# 4.5
XSA_204_45 = (xsaPatch {
name = "204-4.5";
sha256 = "083z9pbdz3f532fnzg7n2d5wzv6rmqc0f4mvc3mnmkd0rzqw8vcp";
});
- # 4.8
- XSA_204 = (xsaPatch {
- name = "204-4.8";
- sha256 = "0rs498s4w2alz3h6jhlr2y0ni630vhggmxbrd1p1p3gcv8p6zzrr";
- });
-
# 4.5
XSA_206_45 = [
(xsaPatch {
@@ -190,86 +172,12 @@ in rec {
})
];
- # 4.8
- XSA_206 = [
- (xsaPatch {
- name = "206-4.8/0001-xenstored-apply-a-write-transaction-rate-limit";
- sha256 = "1c81d93i3qx7l38f9af0sd84w5x51zvn262mzl25ilcklql4kzl6";
- })
- (xsaPatch {
- name = "206-4.8/0002-xenstored-Log-when-the-write-transaction-rate-limit-";
- sha256 = "0b8iw409wi1x6p0swpnr51lcdlla1lgxjv5f910sj4wl96bca84q";
- })
- (xsaPatch {
- name = "206-4.8/0003-oxenstored-comments-explaining-some-variables";
- sha256 = "1d3n0y9syya4kaavrvqn01d3wsn85gmw7qrbylkclznqgkwdsr2p";
- })
- (xsaPatch {
- name = "206-4.8/0004-oxenstored-handling-of-domain-conflict-credit";
- sha256 = "020rw7hgc0dmhr4admz91kd99b4z1bdpji47nsy1255bjgvwc01k";
- })
- (xsaPatch {
- name = "206-4.8/0005-oxenstored-ignore-domains-with-no-conflict-credit";
- sha256 = "1ilhcgyn803bxvfbqv0ihfrh9jfpp0lidkv7i4613f9v9vjm8q0h";
- })
- (xsaPatch {
- name = "206-4.8/0006-oxenstored-add-transaction-info-relevant-to-history-";
- sha256 = "1dbd9pzda6hn9wj9pck44dlgz9nxvch3bzgrpaivanww8llxdfzz";
- })
- (xsaPatch {
- name = "206-4.8/0007-oxenstored-support-commit-history-tracking";
- sha256 = "1jfr56c22fqkhj6fnv1ha7zsid86zm9l0nihpb8m932xgc4a6h9h";
- })
- (xsaPatch {
- name = "206-4.8/0008-oxenstored-only-record-operations-with-side-effects-";
- sha256 = "1y845hj8krjdrirbd2jx4jqgnylwjv7bxnk7474lkld5kdnlbjyf";
- })
- (xsaPatch {
- name = "206-4.8/0009-oxenstored-discard-old-commit-history-on-txn-end";
- sha256 = "1lcr9gz2b77x74sr1flfymyyz4xzs04iv88rc1633ibyqxmvk0lx";
- })
- (xsaPatch {
- name = "206-4.8/0010-oxenstored-track-commit-history";
- sha256 = "1qwnivak4y038mpby75aaz0y70r0l3yc3hsz6wl5x0b74q6yy0ja";
- })
- (xsaPatch {
- name = "206-4.8/0011-oxenstored-blame-the-connection-that-caused-a-transa";
- sha256 = "0p2w5ddyhc6d95dnlxzc5k77j063p02d53ab7m7ijfm7m6gknq8y";
- })
- (xsaPatch {
- name = "206-4.8/0012-oxenstored-allow-self-conflicts";
- sha256 = "1571l81m30cbmqm4pk33q33p3dy58sfy2lnkl2wbgl2b3mkk657l";
- })
- (xsaPatch {
- name = "206-4.8/0013-oxenstored-do-not-commit-read-only-transactions";
- sha256 = "15985wl635w22dddjyx5l97b5p6m55mzv5ygk7xr0jx7mi192f9x";
- })
- (xsaPatch {
- name = "206-4.8/0014-oxenstored-don-t-wake-to-issue-no-conflict-credit";
- sha256 = "08672w4gaf2n3r8xy09h874gh5lg2vnrkjzq6xzvzdhdl092mipw";
- })
- (xsaPatch {
- name = "206-4.8/0015-oxenstored-transaction-conflicts-improve-logging";
- sha256 = "0ck98ms0py8wjsc38pbx6222x7n6l90zckfa7m7nnszsyc0sxxad";
- })
- (xsaPatch {
- name = "206-4.8/0016-oxenstored-trim-history-in-the-frequent_ops-function";
- sha256 = "014zs6i4gzrimn814k5i7gz66vbb0adkzr2qyai7i4fxc9h9r7w8";
- })
- ];
-
# 4.5 - 4.8
XSA_207 = (xsaPatch {
name = "207";
sha256 = "0wdlhijmw9mdj6a82pyw1rwwiz605dwzjc392zr3fpb2jklrvibc";
});
- # 4.8
- XSA_210 = (xsaPatch {
- name = "210";
- sha256 = "02mykxqxnsrd0sr4ij022j8y7618wzi2a6j6j761vx8qgmh11xai";
- });
-
# 4.5 - 4.8
XSA_212 = (xsaPatch {
name = "212";
@@ -282,12 +190,6 @@ in rec {
sha256 = "1vnqf89ydacr5bq3d6z2r33xb2sn5vsd934rncyc28ybc9rvj6wm";
});
- # 4.8
- XSA_213 = (xsaPatch {
- name = "213-4.8";
- sha256 = "0ia3zr6r3bqy2h48fdy7p0iz423lniy3i0qkdvzgv5a8m80darr2";
- });
-
# 4.5 - 4.8
XSA_214 = (xsaPatch {
name = "214";
@@ -306,12 +208,6 @@ in rec {
sha256 = "067pgsfrb9py2dhm1pk9g8f6fs40vyfrcxhj8c12vzamb6svzmn4";
});
- # 4.6 - 4.8
- XSA_217 = (xsaPatch {
- name = "217";
- sha256 = "1khs5ilif14dzcm7lmikjzkwsrfzlmir1rgrgzkc411gf18ylzmj";
- });
-
# 4.5
XSA_218_45 = [
(xsaPatch {
@@ -332,46 +228,18 @@ in rec {
})
];
- # 4.8
- XSA_218 = [
- (xsaPatch {
- name = "218-4.8/0001-gnttab-fix-unmap-pin-accounting-race";
- sha256 = "0r363frai239r2wmwxi48kcr50gbk5l64nja0h9lppi3z2y3dkdd";
- })
- (xsaPatch {
- name = "218-4.8/0002-gnttab-Avoid-potential-double-put-of-maptrack-entry";
- sha256 = "07wm06i7frv7bsaykakx3g9h0hfqv96zcadvwf6wv194dggq1plc";
- })
- (xsaPatch {
- name = "218-4.8/0003-gnttab-correct-maptrack-table-accesses";
- sha256 = "0ad0irc3p4dmla8sp3frxbh2qciji1dipkslh0xqvy2hyf9p80y9";
- })
- ];
-
# 4.5
XSA_219_45 = (xsaPatch {
name = "219-4.5";
sha256 = "003msr5vhsc66scmdpgn0lp3p01g4zfw5vj86y5lw9ajkbaywdsm";
});
- # 4.8
- XSA_219 = (xsaPatch {
- name = "219-4.8";
- sha256 = "16q7kiamy86x8qdvls74wmq5j72kgzgdilryig4q1b21mp0ij1jq";
- });
-
# 4.5
XSA_220_45 = (xsaPatch {
name = "220-4.5";
sha256 = "1dj9nn6lzxlipjb3nb7b9m4337fl6yn2bd7ap1lqrjn8h9zkk1pp";
});
- # 4.8
- XSA_220 = (xsaPatch {
- name = "220-4.8";
- sha256 = "0214qyqx7qap5y1pdi9fm0vz4y2fbyg71gaq36fisknj35dv2mh5";
- });
-
# 4.5 - 4.8
XSA_221 = (xsaPatch {
name = "221";
@@ -390,18 +258,6 @@ in rec {
})
];
- # 4.8
- XSA_222 = [
- (xsaPatch {
- name = "222-1";
- sha256 = "0x02x4kqwfw255638fh2zcxwig1dy6kadlmqim1jgnjgmrvvqas2";
- })
- (xsaPatch {
- name = "222-2-4.8";
- sha256 = "1xhyp6q3c5l8djh965g1i8201m2wvhms8k886h4sn30hks38giin";
- })
- ];
-
# 4.5 - 4.8
XSA_223 = (xsaPatch {
name = "223";
@@ -428,32 +284,6 @@ in rec {
})
];
- # 4.8
- XSA_224 = [
- (xsaPatch {
- name = "224-4.8/0001-gnttab-Fix-handling-of-dev_bus_addr-during-unmap";
- sha256 = "1k326yan5811qzyvpdfkv801a19nyd09nsqayi8gyh58xx9c21m4";
- })
- (xsaPatch {
- name = "224-4.8/0002-gnttab-never-create-host-mapping-unless-asked-to";
- sha256 = "06nj1x59bbx9hrj26xmvbw8z805lfqhld9hm0ld0fs6dmcpqzcck";
- })
- (xsaPatch {
- name = "224-4.8/0003-gnttab-correct-logic-to-get-page-references-during-m";
- sha256 = "0kmag6fdsskgplcvzqp341yfi6pgc14wvjj58bp7ydb9hdk53qx2";
- })
- (xsaPatch {
- name = "224-4.8/0004-gnttab-__gnttab_unmap_common_complete-is-all-or-noth";
- sha256 = "1ww80pi7jr4gjpymkcw8qxmr5as18b2asdqv35527nqprylsff9f";
- })
- ];
-
- # 4.6 - 4.8
- XSA_225 = (xsaPatch {
- name = "225";
- sha256 = "0lcp2bs0r849xnvhrdf8s821v36cqdbzk8lwz6chrjhjalk6ha2g";
- });
-
# 4.5
XSA_226_45 = [
(xsaPatch {
@@ -466,42 +296,12 @@ in rec {
})
];
- # 4.8 - 4.9
- XSA_226 = [
- (xsaPatch {
- name = "226-4.9/0001-gnttab-dont-use-possibly-unbounded-tail-calls";
- sha256 = "1hx47ppv5q33cw4dwp82lgvv4fp28gx7rxijw0iaczsv8bvb8vcg";
- })
- (xsaPatch {
- name = "226-4.9/0002-gnttab-fix-transitive-grant-handling";
- sha256 = "1gzp8m2zfihwlk71c3lqyd0ajh9h11pvkhzhw0mawckxy0qksvlc";
- })
- ];
-
# 4.5
XSA_227_45 = (xsaPatch {
name = "227-4.5";
sha256 = "1qfjfisgqm4x98qw54x2qrvgjnvvzizx9p1pjhcnsps9q6g1y3x8";
});
- # 4.8 - 4.9
- XSA_227 = (xsaPatch {
- name = "227";
- sha256 = "0zdcm43i5n08rh7rrnb0fcssvd4fgawwmizsa16w2ak7pzvgmg94";
- });
-
- # 4.8
- XSA_228_48 = (xsaPatch {
- name = "228-4.8";
- sha256 = "085pnzwyv0rdb51hv5vhbhwfyxl0wg8sxcm912gjq8z7da5cv10n";
- });
-
- # 4.9
- XSA_228 = (xsaPatch {
- name = "228";
- sha256 = "0c9nvfpnr5ira7ha3fszhvvh71nsxrvmzrab56xwjhl2dbw2yy23";
- });
-
# 4.5 - 4.9
XSA_230 = (xsaPatch {
name = "230";
@@ -514,12 +314,6 @@ in rec {
sha256 = "06gwx2f1lg51dfk2b4zxp7wv9c4pxdi87pg2asvmxqc78ir7l5s6";
});
- # 4.8 - 4.9
- XSA_231 = (xsaPatch {
- name = "231-4.9";
- sha256 = "09r8xxq2fd52wrk6i0y0sk3nbidfg6pzzrkx327hfmdjj76iyz3b";
- });
-
# 4.5 - 4.9
XSA_232 = (xsaPatch {
name = "232";
@@ -538,42 +332,18 @@ in rec {
sha256 = "1ji6hbgybb4gbgz5l5fis9midnvjbddzam8d63377rkzdyb3yz9f";
});
- # 4.8
- XSA_234_48 = (xsaPatch {
- name = "234-4.8";
- sha256 = "08n1pf7z5y67dmay1ap39bi81clgkx82fpmfn7jsh8k4aw94jrsa";
- });
-
- # 4.9
- XSA_234 = (xsaPatch {
- name = "234-4.9";
- sha256 = "1znmxg432is0virw8321gax8zqq2zcmi2pc5p2j31sixylixsvzx";
- });
-
# 4.5
XSA_235_45 = (xsaPatch {
name = "235-4.5";
sha256 = "0hhgnql2gji111020z4wiyzg23wqs6ymanb67rg11p4qad1fp3ff";
});
- # 4.8 - 4.9
- XSA_235 = (xsaPatch {
- name = "235-4.9";
- sha256 = "1rj4jkmh79wm30jq9f8x65qv3al8l91zc3m5s23q0x6abn3pfb9z";
- });
-
# 4.5
XSA_236_45 = (xsaPatch {
name = "236-4.5";
sha256 = "0hcla86x81wykssd2967gblp7fzx61290p4ls4v0hcyxdg2bs2yz";
});
- # 4.8 - 4.9
- XSA_236 = (xsaPatch {
- name = "236-4.9";
- sha256 = "0vqxy7mgflga05l33j3488fwxmdw3p9yxj4ylhk9n3nw8id72ghq";
- });
-
# 4.5
XSA_237_45 = [
(xsaPatch {
@@ -598,78 +368,18 @@ in rec {
})
];
- # 4.8
- XSA_237_48 = [
- (xsaPatch {
- name = "237-4.8/0001-x86-dont-allow-MSI-pIRQ-mapping-on-unowned-device";
- sha256 = "0qjisp37lwi2611mp7fbbm1s7m0bx726rrg79dnxs2mj0skw59iv";
- })
- (xsaPatch {
- name = "237-4.8/0002-x86-enforce-proper-privilege-when-mapping-pIRQ-s";
- sha256 = "05q1dny13jrqhjfwak7r635mqp9chpibjvn8b7d90japc1nzpq62";
- })
- (xsaPatch {
- name = "237-4.8/0003-x86-MSI-disallow-redundant-enabling";
- sha256 = "1907lv8nb2zhpb6k6jlw4m0hm0n0lyd69vfr3wpzbc56dn0w7jqd";
- })
- (xsaPatch {
- name = "237-4.8/0004-x86-IRQ-conditionally-preserve-irq-pirq-mapping-on-error";
- sha256 = "06nrq0bx3p9ipab2r1why6qm4g32dj0x5q24hfkwc6ih0l9xwf8h";
- })
- (xsaPatch {
- name = "237-4.8/0005-x86-FLASK-fix-unmap-domain-IRQ-XSM-hook";
- sha256 = "1nbg7bjw2hv55gnkhf6chkh35va6brs08acq1d5jxncl6kv0amc1";
- })
- ];
-
- # 4.9
- XSA_237 = [
- (xsaPatch {
- name = "237-4.9/0001-x86-dont-allow-MSI-pIRQ-mapping-on-unowned-device";
- sha256 = "1cbl24mqxa62h0wgsnrpcs6y6vs53znzj7g8dfsbmf74xwrd4px6";
- })
- (xsaPatch {
- name = "237-4.9/0002-x86-enforce-proper-privilege-when-mapping-pIRQ-s";
- sha256 = "0p60148j18b78pxz0dx5ymh1gyrhg2cgmxq0jxmbk090bc4jql35";
- })
- (xsaPatch {
- name = "237-4.9/0003-x86-MSI-disallow-redundant-enabling";
- sha256 = "1907lv8nb2zhpb6k6jlw4m0hm0n0lyd69vfr3wpzbc56dn0w7jqd";
- })
- (xsaPatch {
- name = "237-4.9/0004-x86-IRQ-conditionally-preserve-irq-pirq-mapping-on-error";
- sha256 = "0q95z5641amni53agimnzbspva53p0hz5wl16zaz2yhnjasj5pzr";
- })
- (xsaPatch {
- name = "237-4.9/0005-x86-FLASK-fix-unmap-domain-IRQ-XSM-hook";
- sha256 = "0bnqx9w7ppgx8wxj2zw09z0rkv1jzn3r0bd76cz0r22wz29fsdp2";
- })
- ];
-
# 4.5
XSA_238_45 = (xsaPatch {
name = "238-4.5";
sha256 = "1x2fg5vfv5jc084h5gjm6fq0nxjpzvi96px3sqzz4pvsvy4y4i1z";
});
- # 4.8 - 4.9
- XSA_238 = (xsaPatch {
- name = "238";
- sha256 = "1cbmg1bi5ajh7qbwsl92ynaxw2c3p7i24p3wds81r4n93r0y5dxk";
- });
-
# 4.5
XSA_239_45 = (xsaPatch {
name = "239-4.5";
sha256 = "06bi8q3973yajxsdj7pcqarvb56q2gisxdiy0cpbyffbmpkfv3h6";
});
- # 4.8 - 4.9
- XSA_239 = (xsaPatch {
- name = "239";
- sha256 = "1a9r8j7167s43ds5i7v7mm4y970vjnbhhkrjzpmzlcx8kcz96vh3";
- });
-
# 4.5
XSA_240_45 = [
(xsaPatch {
@@ -682,42 +392,12 @@ in rec {
})
];
- # 4.8
- XSA_240_48 = [
- (xsaPatch {
- name = "240-4.8/0001-x86-limit-linear-page-table-use-to-a-single-level";
- sha256 = "0m44qhhqk2pdwqg8g28pypqrylq6iw00k9qrzf6qd0iza2y42kgj";
- })
- (xsaPatch {
- name = "240-4.8/0002-x86-mm-Disable-PV-linear-pagetables-by-default";
- sha256 = "1jd720wvngj9wq3fprdhakxvqlff0jd8zcx2pd3vsn2qvjbvr2gf";
- })
- ];
-
- # 4.9
- XSA_240 = [
- (xsaPatch {
- name = "240-4.9/0001-x86-limit-linear-page-table-use-to-a-single-level";
- sha256 = "1759ni80aifakm44g4cc6pnmbcn1xjic8j66fvj0vibm0wqk6xck";
- })
- (xsaPatch {
- name = "240-4.9/0002-x86-mm-Disable-PV-linear-pagetables-by-default";
- sha256 = "0g6dpi006p5cjxw5d8h33p0429fdmdm6nqzj0m63ralpqvns3ib5";
- })
- ];
-
# 4.5 - 4.8
XSA_241 = (xsaPatch {
name = "241-4.8";
sha256 = "16zb75kzs98f4mdxhbyczk5mbh9dvn6j3yhfafki34x1dfdnq4pj";
});
- # 4.9
- XSA_241_49 = (xsaPatch {
- name = "241-4.9";
- sha256 = "0xlhin7wkhmlnbp9mqcbq3q4drdwb5la482ja9nwkhi8i867p6wc";
- });
-
# 4.5 - 4.9
XSA_242 = (xsaPatch {
name = "242-4.9";
@@ -736,30 +416,12 @@ in rec {
})
];
- # 4.8
- XSA_243_48 = (xsaPatch {
- name = "243-4.8";
- sha256 = "1q60zn55l9wpq45nrxh0av59sjz0jg8pkjm1gkyywkdsgg4fg5z4";
- });
-
- # 4.9
- XSA_243 = (xsaPatch {
- name = "243";
- sha256 = "06fnbnh9zlsbkqih9ipnb7a8gly54m7lp17d854j1r370ad3c4yg";
- });
-
# 4.5
XSA_244_45 = (xsaPatch {
name = "244-4.5";
sha256 = "05ci3vdl1ywfjpzcvsy1k52whxjk8pxzj7dh3r94yqasr56i5v2l";
});
- # 4.8 - 4.9
- XSA_244 = (xsaPatch {
- name = "244";
- sha256 = "10308xsgmhb0vg6fk0ql8v94zifv6dcv6vkaicryfp405yj2rzkm";
- });
-
# 4.5 - 4.9
XSA_245 = [
(xsaPatch {
@@ -780,26 +442,6 @@ in rec {
})
];
- # 4.8 - 4.9
- XSA_246 = [
- (xsaPatch {
- name = "246-4.9";
- sha256 = "0z68vm0z5zvv9gm06pxs9kxq2q9fdbl0l0cm71ggzdplg1vw0snz";
- })
- ];
-
- # 4.8
- XSA_247_48 = [
- (xsaPatch {
- name = "247-4.8/0001-p2m-Always-check-to-see-if-removing-a-p2m-entry-actu";
- sha256 = "0kvjrk90n69s721c2qj2df5raml3pjk6bg80aig353p620w6s3xh";
- })
- (xsaPatch {
- name = "247-4.8/0002-p2m-Check-return-value-of-p2m_set_entry-when-decreas";
- sha256 = "1s9kv6h6dd8psi5qf5l5gpk9qhq8blckwhl76cjbldcgi6imb3nr";
- })
- ];
-
# 4.5
XSA_247_45 = [
(xsaPatch {
@@ -820,14 +462,6 @@ in rec {
})
];
- # 4.8
- XSA_248_48 = [
- (xsaPatch {
- name = "248-4.8";
- sha256 = "1ycw29q22ymxg18kxpr5p7vhpmp8klssbp5gq77hspxzz2mb96q1";
- })
- ];
-
# 4.5 .. 4.9
XSA_249 = [
(xsaPatch {
@@ -835,6 +469,7 @@ in rec {
sha256 = "0v6ngzqhkz7yv4n83xlpxfbkr2qyg5b1cds7ikkinm86hiqy6agl";
})
];
+
# 4.5
XSA_250_45 = [
(xsaPatch {
@@ -842,13 +477,7 @@ in rec {
sha256 = "0pqldl6qnl834gvfp90z247q9xcjh3835s2iffnajz7jhjb2145d";
})
];
- # 4.8 ...
- XSA_250 = [
- (xsaPatch {
- name = "250";
- sha256 = "1wpigg8kmha57sspqqln3ih9nbczsw6rx3v72mc62lh62qvwd7x8";
- })
- ];
+
# 4.5
XSA_251_45 = [
(xsaPatch {
@@ -856,81 +485,4 @@ in rec {
sha256 = "0lc94cx271z09r0mhxaypyd9d4740051p28idf5calx5228dqjgm";
})
];
- # 4.8
- XSA_251_48 = [
- (xsaPatch {
- name = "251-4.8";
- sha256 = "079wi0j6iydid2zj7k584w2c393kgh588w7sjz2nn4039qn8k9mq";
- })
- ];
- # 4.8
- XSA_252_49 = [
- (xsaPatch {
- name = "252-4.9";
- sha256 = "03sbn90nlkk5ba1n168rxjkc7x3mqj7rfqvspbwblmwikfbnms2n";
- })
- ];
- # 4.8
- XSA_255_49_1= [
- (xsaPatch {
- name = "255-4.9-1";
- sha256 = "0gbin7yxbkq40lvm3gvj1vffavvbng3zpd2m8l1kqyz0rv4vm9zc";
- })
- ];
- # 4.8
- XSA_255_49_2= [
- (xsaPatch {
- name = "255-4.9-2";
- sha256 = "0fyg5nnyfpfr80qq83pr64zjp5w1nx94bdblzsjap8gaqcahyr12";
- })
- ];
- # 4.8
- XSA_256_48= [
- (xsaPatch {
- name = "256-4.8";
- sha256 = "1w84f717kxwx0h3rw18r4f8pl0l1h5xlj5fy80sr0ws4xkp1qdn4";
- })
- ];
-
-
- # 4.10
- XSA_252 = [
- (xsaPatch {
- name = "252";
- sha256 = "0v4sg20dnvnwrjh3x69gk81v2kmcql7g2s044vg3wcxhzvij1rrn";
- })
- ];
-
- # 4.10
- XSA_253 = [
- (xsaPatch {
- name = "253";
- sha256 = "0445vzlzy3gd499xraqh5r4qjar6qr0y3813h22jy1n84nhxz27i";
- })
- ];
-
- # 4.10
- XSA_255_1 = [
- (xsaPatch {
- name = "255-1";
- sha256 = "05g2f3ji1rrjlw3yw4nrns50pnmsib8ybrf64scr1817mj0q9myr";
- })
- ];
-
- # 4.10
- XSA_255_2 = [
- (xsaPatch {
- name = "255-2";
- sha256 = "08wbngw5z0f9g8di59hww3hhi7j9z49bpc4xlwn5akfcwbgf0961";
- })
- ];
-
- # 4.10
- XSA_256 = [
- (xsaPatch {
- name = "256";
- sha256 = "1hicwhbwj6k25px55f4ncx1c5xiihi8pfvsb3kv57k7kaicb7pza";
- })
- ];
-
}
diff --git a/pkgs/applications/virtualization/xhyve/default.nix b/pkgs/applications/virtualization/xhyve/default.nix
index d3990a70bca..26b55b364f1 100644
--- a/pkgs/applications/virtualization/xhyve/default.nix
+++ b/pkgs/applications/virtualization/xhyve/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, Hypervisor, vmnet, xpc, libobjc, zlib }:
stdenv.mkDerivation rec {
- name = "xhyve-${version}";
+ pname = "xhyve";
version = "20190124";
src = fetchurl {
diff --git a/pkgs/applications/window-managers/2bwm/default.nix b/pkgs/applications/window-managers/2bwm/default.nix
index 116180f5ec3..4b61fe3d7e6 100644
--- a/pkgs/applications/window-managers/2bwm/default.nix
+++ b/pkgs/applications/window-managers/2bwm/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "0.2";
- name = "2bwm-${version}";
+ pname = "2bwm";
src = fetchFromGitHub {
owner = "venam";
diff --git a/pkgs/applications/window-managers/afterstep/default.nix b/pkgs/applications/window-managers/afterstep/default.nix
index 46a86da1d66..5fcbff26b15 100644
--- a/pkgs/applications/window-managers/afterstep/default.nix
+++ b/pkgs/applications/window-managers/afterstep/default.nix
@@ -7,7 +7,7 @@
stdenv.mkDerivation rec {
- name = "afterstep-${version}";
+ pname = "afterstep";
version = "2.2.12";
sourceName = "AfterStep-${version}";
diff --git a/pkgs/applications/window-managers/awesome/default.nix b/pkgs/applications/window-managers/awesome/default.nix
index 25438c81605..2551ea80550 100644
--- a/pkgs/applications/window-managers/awesome/default.nix
+++ b/pkgs/applications/window-managers/awesome/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, luaPackages, cairo, librsvg, cmake, imagemagick, pkgconfig, gdk_pixbuf
+{ stdenv, fetchFromGitHub, luaPackages, cairo, librsvg, cmake, imagemagick, pkgconfig, gdk-pixbuf
, xorg, libstartup_notification, libxdg_basedir, libpthreadstubs
, xcb-util-cursor, makeWrapper, pango, gobject-introspection
, which, dbus, nettools, git, doxygen
@@ -13,7 +13,7 @@
assert gtk3Support -> gtk3 != null;
with luaPackages; stdenv.mkDerivation rec {
- name = "awesome-${version}";
+ pname = "awesome";
version = "4.3";
src = fetchFromGitHub {
@@ -40,7 +40,7 @@ with luaPackages; stdenv.mkDerivation rec {
FONTCONFIG_FILE = toString fontsConf;
propagatedUserEnvPkgs = [ hicolor-icon-theme ];
- buildInputs = [ cairo librsvg dbus gdk_pixbuf gobject-introspection
+ buildInputs = [ cairo librsvg dbus gdk-pixbuf gobject-introspection
git lgi libpthreadstubs libstartup_notification
libxdg_basedir lua nettools pango xcb-util-cursor
xorg.libXau xorg.libXdmcp xorg.libxcb xorg.libxshmfence
diff --git a/pkgs/applications/window-managers/bevelbar/default.nix b/pkgs/applications/window-managers/bevelbar/default.nix
index 582f9cb61f8..40cebb572af 100644
--- a/pkgs/applications/window-managers/bevelbar/default.nix
+++ b/pkgs/applications/window-managers/bevelbar/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, libX11, libXrandr, libXft }:
stdenv.mkDerivation rec {
- name = "bevelbar-${version}";
+ pname = "bevelbar";
version = "16.11";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/bspwm/default.nix b/pkgs/applications/window-managers/bspwm/default.nix
index 7cb423123dc..e863a382470 100644
--- a/pkgs/applications/window-managers/bspwm/default.nix
+++ b/pkgs/applications/window-managers/bspwm/default.nix
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
- name = "bspwm-${version}";
- version = "0.9.7";
+ pname = "bspwm";
+ version = "0.9.9";
src = fetchFromGitHub {
owner = "baskerville";
repo = "bspwm";
rev = version;
- sha256 = "17cfvbrvzwwr9r72xgpn144k45xavzi0hnl2qqp9lhxflvirac0c";
+ sha256 = "1i7crmljk1vra1r6alxvj6lqqailjjcv0llyg7a0gm23rbv4a42g";
};
buildInputs = [ libxcb libXinerama xcbutil xcbutilkeysyms xcbutilwm ];
diff --git a/pkgs/applications/window-managers/bspwm/unstable.nix b/pkgs/applications/window-managers/bspwm/unstable.nix
index 09c7c8e0e08..eeadfa248d7 100644
--- a/pkgs/applications/window-managers/bspwm/unstable.nix
+++ b/pkgs/applications/window-managers/bspwm/unstable.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, libxcb, libXinerama, xcbutil, xcbutilkeysyms, xcbutilwm }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "bspwm-unstable-2016-09-30";
diff --git a/pkgs/applications/window-managers/btops/default.nix b/pkgs/applications/window-managers/btops/default.nix
index f55c55110a2..cf90b1fad63 100644
--- a/pkgs/applications/window-managers/btops/default.nix
+++ b/pkgs/applications/window-managers/btops/default.nix
@@ -2,7 +2,7 @@
{ stdenv, buildGoPackage, fetchgit }:
buildGoPackage rec {
- name = "btops-${version}";
+ pname = "btops";
version = "0.1.0";
goPackagePath = "github.com/cmschuetz/btops";
diff --git a/pkgs/applications/window-managers/cage/default.nix b/pkgs/applications/window-managers/cage/default.nix
new file mode 100644
index 00000000000..be45d68dc5d
--- /dev/null
+++ b/pkgs/applications/window-managers/cage/default.nix
@@ -0,0 +1,42 @@
+{ stdenv, fetchFromGitHub
+, meson, ninja, pkgconfig, makeWrapper
+, wlroots, wayland, wayland-protocols, pixman, libxkbcommon
+, systemd, mesa, libX11
+, xwayland ? null
+}:
+
+stdenv.mkDerivation rec {
+ pname = "cage";
+ version = "0.1.1";
+
+ src = fetchFromGitHub {
+ owner = "Hjdskes";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1vp4mfkflrjmlgyx5mkbzdi3iq58m76q7l9dfrsk85xn0642d6q1";
+ };
+
+ nativeBuildInputs = [ meson ninja pkgconfig makeWrapper ];
+
+ buildInputs = [
+ wlroots wayland wayland-protocols pixman libxkbcommon
+ # TODO: Not specified but required:
+ systemd mesa libX11
+ ];
+
+ enableParallelBuilding = true;
+
+ mesonFlags = [ "-Dxwayland=${stdenv.lib.boolToString (xwayland != null)}" ];
+
+ postFixup = stdenv.lib.optionalString (xwayland != null) ''
+ wrapProgram $out/bin/cage --prefix PATH : "${xwayland}/bin"
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A Wayland kiosk";
+ homepage = https://www.hjdskes.nl/projects/cage/;
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ primeos ];
+ };
+}
diff --git a/pkgs/applications/window-managers/clfswm/default.nix b/pkgs/applications/window-managers/clfswm/default.nix
index cc00f1e4b6e..e2c39887a32 100644
--- a/pkgs/applications/window-managers/clfswm/default.nix
+++ b/pkgs/applications/window-managers/clfswm/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, autoconf, sbcl, lispPackages, xdpyinfo, texinfo4
, makeWrapper }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "clfswm";
src = fetchgit {
diff --git a/pkgs/applications/window-managers/compton/default.nix b/pkgs/applications/window-managers/compton/default.nix
index 60607ea89d1..0941329bdbe 100644
--- a/pkgs/applications/window-managers/compton/default.nix
+++ b/pkgs/applications/window-managers/compton/default.nix
@@ -1,24 +1,24 @@
-{ stdenv, lib, fetchFromGitHub, pkgconfig, asciidoc, docbook_xml_dtd_45
+{ stdenv, lib, fetchFromGitHub, pkgconfig, uthash, asciidoc, docbook_xml_dtd_45
, docbook_xsl, libxslt, libxml2, makeWrapper, meson, ninja
, xorgproto, libxcb ,xcbutilrenderutil, xcbutilimage, pixman, libev
-, dbus, libconfig, libdrm, libGL, pcre, libX11, libXcomposite, libXdamage
-, libXinerama, libXrandr, libXrender, libXext, xwininfo, libxdg_basedir }:
+, dbus, libconfig, libdrm, libGL, pcre, libX11
+, libXinerama, libXext, xwininfo, libxdg_basedir }:
stdenv.mkDerivation rec {
pname = "compton";
- version = "6.2";
-
- COMPTON_VERSION = "v${version}";
+ version = "7.2";
src = fetchFromGitHub {
owner = "yshui";
repo = "compton";
- rev = COMPTON_VERSION;
- sha256 = "03fi9q8zw2qrwpkmy1bnavgfh91ci9in5fdi17g4s5s0n2l7yil7";
+ rev = "v${version}";
+ sha256 = "1vwa5f0nifc1913diqd6cp5k1dlfyc2ijxbcdj1s37ywpx6c63c3";
+ fetchSubmodules = true;
};
nativeBuildInputs = [
meson ninja
pkgconfig
+ uthash
asciidoc
docbook_xml_dtd_45
docbook_xsl
@@ -40,11 +40,6 @@ stdenv.mkDerivation rec {
"-Dbuild_docs=true"
];
- preBuild = ''
- git() { echo "v${version}"; }
- export -f git
- '';
-
installFlags = [ "PREFIX=$(out)" ];
postInstall = ''
diff --git a/pkgs/applications/window-managers/cwm/default.nix b/pkgs/applications/window-managers/cwm/default.nix
index 0b611906a46..1354171dcfa 100644
--- a/pkgs/applications/window-managers/cwm/default.nix
+++ b/pkgs/applications/window-managers/cwm/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, libX11, libXinerama, libXrandr, libXft, yacc, pkgconfig }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "cwm-5.6";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/dwm/dwm-status.nix b/pkgs/applications/window-managers/dwm/dwm-status.nix
index 2a8f1d67f6e..1787e40eb96 100644
--- a/pkgs/applications/window-managers/dwm/dwm-status.nix
+++ b/pkgs/applications/window-managers/dwm/dwm-status.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk_pixbuf, libnotify, makeWrapper, pkgconfig, xorg
+{ stdenv, lib, rustPlatform, fetchFromGitHub, dbus, gdk-pixbuf, libnotify, makeWrapper, pkgconfig, xorg
, enableAlsaUtils ? true, alsaUtils, coreutils
, enableNetwork ? true, dnsutils, iproute, wirelesstools }:
@@ -8,20 +8,20 @@ let
in
rustPlatform.buildRustPackage rec {
- name = "dwm-status-${version}";
- version = "1.6.0";
+ pname = "dwm-status";
+ version = "1.6.2";
src = fetchFromGitHub {
owner = "Gerschtli";
repo = "dwm-status";
rev = version;
- sha256 = "02gvlxv6ylx4mdkf59crm2zyahiz1zd4cr5zz29dnhx7r7738i9a";
+ sha256 = "16vf7val1isc4227amng2ap9af34xa2va23dxv43px006xhrar78";
};
nativeBuildInputs = [ makeWrapper pkgconfig ];
- buildInputs = [ dbus gdk_pixbuf libnotify xorg.libX11 ];
+ buildInputs = [ dbus gdk-pixbuf libnotify xorg.libX11 ];
- cargoSha256 = "1khknf1bjs80cc2n4jnpilf8cc15crykhhyvvff6q4ay40353gr6";
+ cargoSha256 = "0pprf8509d321azg2l51lpxylgpk7290y38z9p5hxgkcwhrhrcss";
postInstall = lib.optionalString (bins != []) ''
wrapProgram $out/bin/dwm-status --prefix "PATH" : "${stdenv.lib.makeBinPath bins}"
diff --git a/pkgs/applications/window-managers/dzen2/default.nix b/pkgs/applications/window-managers/dzen2/default.nix
index 7bc76d5c2bf..96dcfb93800 100644
--- a/pkgs/applications/window-managers/dzen2/default.nix
+++ b/pkgs/applications/window-managers/dzen2/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, pkgconfig, libX11, libXft, libXinerama, libXpm }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "dzen2-0.9.5";
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/window-managers/fbpanel/default.nix b/pkgs/applications/window-managers/fbpanel/default.nix
index 0c13691a36a..cf45dfa8640 100644
--- a/pkgs/applications/window-managers/fbpanel/default.nix
+++ b/pkgs/applications/window-managers/fbpanel/default.nix
@@ -3,10 +3,10 @@
}:
stdenv.mkDerivation rec {
- name = "fbpanel-${version}";
+ pname = "fbpanel";
version = "6.1";
src = fetchurl {
- url = "mirror://sourceforge/fbpanel/${name}.tbz2";
+ url = "mirror://sourceforge/fbpanel/${pname}-${version}.tbz2";
sha256 = "e14542cc81ea06e64dd4708546f5fd3f5e01884c3e4617885c7ef22af8cf3965";
};
buildInputs =
diff --git a/pkgs/applications/window-managers/fluxbox/default.nix b/pkgs/applications/window-managers/fluxbox/default.nix
index c92b70153a7..404044fa3fa 100644
--- a/pkgs/applications/window-managers/fluxbox/default.nix
+++ b/pkgs/applications/window-managers/fluxbox/default.nix
@@ -7,11 +7,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "fluxbox-${version}";
+ pname = "fluxbox";
version = "1.3.7";
src = fetchurl {
- url = "mirror://sourceforge/fluxbox/${name}.tar.xz";
+ url = "mirror://sourceforge/fluxbox/${pname}-${version}.tar.xz";
sha256 = "1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w";
};
diff --git a/pkgs/applications/window-managers/fvwm/default.nix b/pkgs/applications/window-managers/fvwm/default.nix
index 20a95f36cee..27657c10a7e 100644
--- a/pkgs/applications/window-managers/fvwm/default.nix
+++ b/pkgs/applications/window-managers/fvwm/default.nix
@@ -10,10 +10,9 @@ assert gestures -> libstroke != null;
stdenv.mkDerivation rec {
pname = "fvwm";
version = "2.6.8";
- name = "${pname}-${version}";
src = fetchurl {
- url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${name}.tar.gz";
+ url = "https://github.com/fvwmorg/fvwm/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "0hgkkdzcqjnaabvv9cnh0bz90nnjskbhjg9qnzpi2x0mbliwjdpv";
};
diff --git a/pkgs/applications/window-managers/herbstluftwm/default.nix b/pkgs/applications/window-managers/herbstluftwm/default.nix
index d49c893ca14..ca64786475f 100644
--- a/pkgs/applications/window-managers/herbstluftwm/default.nix
+++ b/pkgs/applications/window-managers/herbstluftwm/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, glib, libX11, libXext, libXinerama }:
stdenv.mkDerivation rec {
- name = "herbstluftwm-0.7.1";
+ name = "herbstluftwm-0.7.2";
src = fetchurl {
url = "https://herbstluftwm.org/tarballs/${name}.tar.gz";
- sha256 = "0d47lbjxxqd8d96hby47bdhyn9mlih7h28712j1vckiz05ig63nw";
+ sha256 = "1kc18aj9j3nfz6fj4qxg9s3gg4jvn6kzi3ii24hfm0vqdpy17xnz";
};
patchPhase = ''
diff --git a/pkgs/applications/window-managers/i3/blocks-gaps.nix b/pkgs/applications/window-managers/i3/blocks-gaps.nix
index 83fe3ef163a..c62edd6d71a 100644
--- a/pkgs/applications/window-managers/i3/blocks-gaps.nix
+++ b/pkgs/applications/window-managers/i3/blocks-gaps.nix
@@ -12,7 +12,7 @@ let
in
stdenv.mkDerivation rec {
- name = "i3blocks-gaps-${version}";
+ pname = "i3blocks-gaps";
version = "1.4";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/i3/blocks.nix b/pkgs/applications/window-managers/i3/blocks.nix
index bd088db8a36..ef03216d499 100644
--- a/pkgs/applications/window-managers/i3/blocks.nix
+++ b/pkgs/applications/window-managers/i3/blocks.nix
@@ -2,8 +2,8 @@
with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "i3blocks-${version}";
+stdenv.mkDerivation {
+ pname = "i3blocks";
version = "unstable-2019-02-07";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/i3/default.nix b/pkgs/applications/window-managers/i3/default.nix
index 755d1cbf2df..403d9939e13 100644
--- a/pkgs/applications/window-managers/i3/default.nix
+++ b/pkgs/applications/window-managers/i3/default.nix
@@ -4,12 +4,12 @@
, xorgserver, xvfb_run }:
stdenv.mkDerivation rec {
- name = "i3-${version}";
- version = "4.16.1";
+ pname = "i3";
+ version = "4.17.1";
src = fetchurl {
- url = "https://i3wm.org/downloads/${name}.tar.bz2";
- sha256 = "0xl56y196vxv001gvx35xwfr25zah8m3xwizp9ycdgdc0rfc4rdb";
+ url = "https://i3wm.org/downloads/${pname}-${version}.tar.bz2";
+ sha256 = "0iazv2i2rgmakzh95pgj6iapyzn7bdpcbcd35a79mhlml4ry33qy";
};
nativeBuildInputs = [ which pkgconfig makeWrapper ];
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "A tiling window manager";
homepage = "https://i3wm.org";
- maintainers = with maintainers; [ garbas modulistic fpletz ];
+ maintainers = with maintainers; [ modulistic fpletz globin ];
license = licenses.bsd3;
platforms = platforms.all;
diff --git a/pkgs/applications/window-managers/i3/gaps.nix b/pkgs/applications/window-managers/i3/gaps.nix
index f2dc023c81d..4d4ab6d96cc 100644
--- a/pkgs/applications/window-managers/i3/gaps.nix
+++ b/pkgs/applications/window-managers/i3/gaps.nix
@@ -3,12 +3,12 @@
i3.overrideAttrs (oldAttrs : rec {
name = "i3-gaps-${version}";
- version = "4.16.1";
+ version = "4.17";
releaseDate = "2019-01-27";
src = fetchurl {
url = "https://github.com/Airblader/i3/archive/${version}.tar.gz";
- sha256 = "1jvyd8p8dfsidfy2yy7adydynzvaf72lx67x71r13hrk8w77hp0k";
+ sha256 = "1vd2xv91xrcr07s2dywq9rvidqqmbs41hlvhcvr1927gz200vgjg";
};
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [ autoreconfHook ];
diff --git a/pkgs/applications/window-managers/i3/i3ipc-glib.nix b/pkgs/applications/window-managers/i3/i3ipc-glib.nix
index 54f23831706..33aac1cf4b6 100644
--- a/pkgs/applications/window-managers/i3/i3ipc-glib.nix
+++ b/pkgs/applications/window-managers/i3/i3ipc-glib.nix
@@ -5,7 +5,7 @@
stdenv.mkDerivation rec {
- name = "i3ipc-glib-${version}";
+ pname = "i3ipc-glib";
version = "0.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/i3/layout-manager.nix b/pkgs/applications/window-managers/i3/layout-manager.nix
new file mode 100644
index 00000000000..afa14b48451
--- /dev/null
+++ b/pkgs/applications/window-managers/i3/layout-manager.nix
@@ -0,0 +1,39 @@
+{ stdenv, fetchFromGitHub, vim, makeWrapper, jq, rofi, xrandr, xdotool, i3, gawk, libnotify }:
+
+let
+ path = stdenv.lib.makeBinPath [ vim jq rofi xrandr xdotool i3 gawk libnotify ];
+in
+
+stdenv.mkDerivation rec {
+ pname = "i3-layout-manager";
+ version = "unstable-2019-06-19";
+
+ src = fetchFromGitHub {
+ owner = "klaxalk";
+ repo = pname;
+ rev = "80ade872bfd70d9c6039024097ceb8c852a2816a";
+ sha256 = "02xhyd737qwni628mjzr9i5v2kga5cq4k8m77bxm1p6kkj84nlmg";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ dontBuild = true;
+
+ installPhase = ''
+ runHook preInstall
+
+ install -D layout_manager.sh $out/bin/layout_manager
+ wrapProgram $out/bin/layout_manager \
+ --prefix PATH : "${path}"
+
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/klaxalk/i3-layout-manager;
+ description = "Saving, loading and managing layouts for i3wm.";
+ license = licenses.mit;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ ma27 ];
+ };
+}
diff --git a/pkgs/applications/window-managers/i3/lock-color.nix b/pkgs/applications/window-managers/i3/lock-color.nix
index 8c775833c28..2fb6fb44833 100644
--- a/pkgs/applications/window-managers/i3/lock-color.nix
+++ b/pkgs/applications/window-managers/i3/lock-color.nix
@@ -5,7 +5,7 @@
stdenv.mkDerivation rec {
version = "2.12.c";
- name = "i3lock-color-${version}";
+ pname = "i3lock-color";
src = fetchFromGitHub {
owner = "PandorasFox";
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
- keyboard-layout
'';
homepage = https://github.com/PandorasFox/i3lock-color;
- maintainers = with maintainers; [ garbas malyn ];
+ maintainers = with maintainers; [ malyn ];
license = licenses.bsd3;
# Needs the SSE2 instruction set. See upstream issue
diff --git a/pkgs/applications/window-managers/i3/lock-fancy.nix b/pkgs/applications/window-managers/i3/lock-fancy.nix
index a0e46c108b7..4ca69ce31b4 100644
--- a/pkgs/applications/window-managers/i3/lock-fancy.nix
+++ b/pkgs/applications/window-managers/i3/lock-fancy.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
sed -i -e 's|icon="/usr/share/i3lock-fancy/icons/lock.png"|icon="'$out'/share/i3lock-fancy/icons/lock.png"|' i3lock-fancy
sed -i -e "s|getopt |${getopt}/bin/getopt |" i3lock-fancy
sed -i -e "s|fc-match |${fontconfig.bin}/bin/fc-match |" i3lock-fancy
- sed -i -e "s|shot=(import -window root)|shot=(${scrot}/bin/scrot -z)|" i3lock-fancy
+ sed -i -e "s|shot=(import -window root)|shot=(${scrot}/bin/scrot -z -o)|" i3lock-fancy
rm Makefile
'';
installPhase = ''
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "i3lock is a bash script that takes a screenshot of the desktop, blurs the background and adds a lock icon and text.";
homepage = https://github.com/meskarune/i3lock-fancy;
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ ];
license = licenses.mit;
platforms = platforms.linux;
};
diff --git a/pkgs/applications/window-managers/i3/lock.nix b/pkgs/applications/window-managers/i3/lock.nix
index d4bb3cdc1c2..3e976f8919f 100644
--- a/pkgs/applications/window-managers/i3/lock.nix
+++ b/pkgs/applications/window-managers/i3/lock.nix
@@ -1,18 +1,18 @@
{ fetchurl, stdenv, which, pkgconfig, libxcb, xcbutilkeysyms, xcbutilimage,
- pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
+ xcbutilxrm, pam, libX11, libev, cairo, libxkbcommon, libxkbfile }:
stdenv.mkDerivation rec {
- name = "i3lock-${version}";
- version = "2.10";
+ pname = "i3lock";
+ version = "2.12";
src = fetchurl {
- url = "https://i3wm.org/i3lock/${name}.tar.bz2";
- sha256 = "1vn8828ih7mpdl58znfnzpdwdgwksq16rghm5qlppbbz66zk5sr9";
+ url = "https://i3wm.org/i3lock/${pname}-${version}.tar.bz2";
+ sha256 = "02dwaqxpclcwiwvpvq7zwz4sxcv9c15dbf17ifalj1p8djls3cnh";
};
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ which libxcb xcbutilkeysyms xcbutilimage pam libX11
- libev cairo libxkbcommon libxkbfile ];
+ buildInputs = [ which libxcb xcbutilkeysyms xcbutilimage xcbutilxrm
+ pam libX11 libev cairo libxkbcommon libxkbfile ];
makeFlags = "all";
installFlags = "PREFIX=\${out} SYSCONFDIR=\${out}/etc";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
for every keystroke. After entering your password, the screen is unlocked again.
'';
homepage = https://i3wm.org/i3lock/;
- maintainers = with maintainers; [ garbas malyn domenkozar ];
+ maintainers = with maintainers; [ malyn domenkozar ];
license = licenses.bsd3;
platforms = platforms.all;
};
diff --git a/pkgs/applications/window-managers/i3/pystatus.nix b/pkgs/applications/window-managers/i3/pystatus.nix
index b44aa73bc5a..20ea0dd03cc 100644
--- a/pkgs/applications/window-managers/i3/pystatus.nix
+++ b/pkgs/applications/window-managers/i3/pystatus.nix
@@ -3,19 +3,18 @@
python3Packages.buildPythonApplication rec {
# i3pystatus moved to rolling release:
# https://github.com/enkore/i3pystatus/issues/584
- version = "unstable-2019-02-10";
+ version = "unstable-2019-06-10";
pname = "i3pystatus";
- disabled = !python3Packages.isPy3k;
src = fetchFromGitHub
{
owner = "enkore";
repo = "i3pystatus";
- rev = "bcd8f12b18d491029fdd5bd0f433b4500fcdc68e";
- sha256 = "0gw6sla73cid6gwxn2n4zmsg2svq5flf9zxly6x2rfljizgf0720";
+ rev = "56ce08d0ff8d5d64950d6b588ebede35a95e0ce2";
+ sha256 = "12938860jbcly1xwhd71jvy2dff28pwv9kqh6mab1859148bzmcg";
};
- propagatedBuildInputs = with python3Packages; [ keyring colour netifaces praw psutil basiciw ] ++
+ propagatedBuildInputs = with python3Packages; [ keyring colour netifaces psutil basiciw ] ++
[ libpulseaudio ] ++ extraLibs;
libpulseaudioPath = stdenv.lib.makeLibraryPath [ libpulseaudio ];
diff --git a/pkgs/applications/window-managers/i3/status-rust.nix b/pkgs/applications/window-managers/i3/status-rust.nix
index 2fd78cbb0e1..60edf05892d 100644
--- a/pkgs/applications/window-managers/i3/status-rust.nix
+++ b/pkgs/applications/window-managers/i3/status-rust.nix
@@ -2,16 +2,16 @@
rustPlatform.buildRustPackage rec {
pname = "i3status-rust";
- version = "0.9.0.2019-04-27";
+ version = "0.10.0";
src = fetchFromGitHub {
owner = "greshake";
repo = pname;
- rev = "d04d08cbd4d13c64b1e3b7a8d21c46acee3bc281";
- sha256 = "0x23qv7kwsqy1yx25fn1z56fx8w865qarr5xdx8s22x42ym4zyha";
+ rev = "v${version}";
+ sha256 = "0i1k884ha08w7r5q5z012q2w7hs333b3c18hkbrhamknpvy6c2i0";
};
- cargoSha256 = "0vl2zn9n7ijmjxi2lyglnghvaw4qi2bah5i6km15schlsm8c641g";
+ cargoSha256 = "1w43k3ld9ra7blbn593mpi8qg5pgcglwqwddkrb55yxnpnkaxvzy";
nativeBuildInputs = [ pkgconfig ];
@@ -24,7 +24,7 @@ rustPlatform.buildRustPackage rec {
description = "Very resource-friendly and feature-rich replacement for i3status";
homepage = https://github.com/greshake/i3status-rust;
license = licenses.gpl3;
- maintainers = [ maintainers.backuitist ];
+ maintainers = with maintainers; [ backuitist globin ];
platforms = platforms.linux;
};
}
diff --git a/pkgs/applications/window-managers/i3/status.nix b/pkgs/applications/window-managers/i3/status.nix
index 65180846c64..e963259b624 100644
--- a/pkgs/applications/window-managers/i3/status.nix
+++ b/pkgs/applications/window-managers/i3/status.nix
@@ -1,23 +1,27 @@
-{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig
- }:
+{ fetchurl, stdenv, libconfuse, yajl, alsaLib, libpulseaudio, libnl, pkgconfig, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
stdenv.mkDerivation rec {
- name = "i3status-2.12";
+ name = "i3status-2.13";
src = fetchurl {
url = "https://i3wm.org/i3status/${name}.tar.bz2";
- sha256 = "06krpbijv4yi33nypg6qcn4hilcrdyarsdpd9fmr2cq46qaqiikg";
+ sha256 = "0rhlzb96mw64z2jnhwz9nibc7pxg549626lz5642xxk5hpzwk2ff";
};
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ pkgconfig asciidoc xmlto docbook_xml_dtd_45 docbook_xsl ];
buildInputs = [ libconfuse yajl alsaLib libpulseaudio libnl ];
makeFlags = [ "all" "PREFIX=$(out)" ];
+ # This hack is needed because for unknown reasons configure generates a broken makefile on the 2.13 release under nixos
+ preBuild = ''
+ sed -i -e 's/\$(TEST_LOGS) \$(TEST_LOGS/\$(TEST_LOGS)/g' Makefile
+ '';
+
meta = {
- description = "A tiling window manager";
+ description = "Generates a status line for i3bar, dzen2, xmobar or lemonbar";
homepage = https://i3wm.org;
- maintainers = [ stdenv.lib.maintainers.garbas ];
+ maintainers = [ ];
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.all;
};
diff --git a/pkgs/applications/window-managers/i3/wmfocus.nix b/pkgs/applications/window-managers/i3/wmfocus.nix
index c249929b216..b0012c587f6 100644
--- a/pkgs/applications/window-managers/i3/wmfocus.nix
+++ b/pkgs/applications/window-managers/i3/wmfocus.nix
@@ -12,7 +12,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "0jx0h2zyghs3bp4sg8f3vk5rkyprz2dqfqs0v72vmkp3cvgzxbvs";
};
- cargoSha256 = "01ifrk6whvckys1kbj65cdwh976yn7dy9vpf4jybnlqripknab43";
+ cargoSha256 = "1xmc28ns59jcmnv17102s2084baxqdvi0ibbyqwb108385qnixzf";
nativeBuildInputs = [ python3 pkgconfig ];
buildInputs = [ cairo libxkbcommon xorg.xcbutilkeysyms ];
diff --git a/pkgs/applications/window-managers/icewm/default.nix b/pkgs/applications/window-managers/icewm/default.nix
index 8406736541c..f388c2d99db 100644
--- a/pkgs/applications/window-managers/icewm/default.nix
+++ b/pkgs/applications/window-managers/icewm/default.nix
@@ -1,36 +1,40 @@
-{ stdenv, fetchurl, cmake, gettext
+{ stdenv, fetchFromGitHub, cmake, gettext, perl, asciidoc
, libjpeg, libtiff, libungif, libpng, imlib, expat
-, freetype, fontconfig, pkgconfig, gdk_pixbuf
+, freetype, fontconfig, pkgconfig, gdk-pixbuf
, mkfontdir, libX11, libXft, libXext, libXinerama
, libXrandr, libICE, libSM, libXpm, libXdmcp, libxcb
-, libpthreadstubs, pcre }:
+, libpthreadstubs, pcre, libXdamage, libXcomposite, libXfixes
+, libsndfile, fribidi }:
-with stdenv.lib;
stdenv.mkDerivation rec {
- name = "icewm-${version}";
- version = "1.4.2";
+ pname = "icewm";
+ version = "1.6.0";
- buildInputs =
- [ cmake gettext libjpeg libtiff libungif libpng imlib expat
- freetype fontconfig pkgconfig gdk_pixbuf mkfontdir libX11
- libXft libXext libXinerama libXrandr libICE libSM libXpm
- libXdmcp libxcb libpthreadstubs pcre ];
-
- src = fetchurl {
- url = "https://github.com/bbidulock/icewm/archive/${version}.tar.gz";
- sha256 = "05chzjjnb4n4j05ld2gmhhr07c887qb4j9inwg9izhvml51af1bw";
+ src = fetchFromGitHub {
+ owner = "bbidulock";
+ repo = "icewm";
+ rev = version;
+ sha256 = "1l8hjmb19d7ds7z21cx207h86wkjcmmmamcnalgkwh4alvbawc2p";
};
- preConfigure = ''
- export cmakeFlags="-DPREFIX=$out -DCFGDIR=/etc/icewm"
+ nativeBuildInputs = [ cmake pkgconfig perl asciidoc ];
+
+ buildInputs = [
+ gettext libjpeg libtiff libungif libpng imlib expat
+ freetype fontconfig gdk-pixbuf mkfontdir libX11
+ libXft libXext libXinerama libXrandr libICE libSM libXpm
+ libXdmcp libxcb libpthreadstubs pcre libsndfile fribidi
+ libXdamage libXcomposite libXfixes
+ ];
+
+ cmakeFlags = [ "-DPREFIX=$out" "-DCFGDIR=/etc/icewm" ];
+
+ # install legacy themes
+ postInstall = ''
+ cp -r ../lib/themes/{gtk2,Natural,nice,nice2,warp3,warp4,yellowmotif} $out/share/icewm/themes/
'';
- patches = [ ./fix-strlcat_strlcpy.patch ] ++
- stdenv.lib.optional stdenv.hostPlatform.isMusl ./musl.patch;
-
- patchFlags = [ "-p0" ];
-
- meta = {
+ meta = with stdenv.lib; {
description = "A simple, lightweight X window manager";
longDescription = ''
IceWM is a window manager for the X Window System. The goal of
diff --git a/pkgs/applications/window-managers/icewm/fix-strlcat_strlcpy.patch b/pkgs/applications/window-managers/icewm/fix-strlcat_strlcpy.patch
deleted file mode 100644
index 9721e125b05..00000000000
--- a/pkgs/applications/window-managers/icewm/fix-strlcat_strlcpy.patch
+++ /dev/null
@@ -1,236 +0,0 @@
---- src/apppstatus.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/apppstatus.cc 2017-08-09 09:12:54.332052762 +0200
-@@ -366,7 +366,7 @@
- sscanf(p, "%s %s %s %s %s", val[0], val[1], val[2], val[3], val[4]);
- for (i = 0; i < 4; i++) {
- if (strncmp(val[i+1], "?", 1) != 0)
-- strlcpy(phoneNumber, val[i+1], sizeof phoneNumber);
-+ my_strlcpy(phoneNumber, val[i+1], sizeof phoneNumber);
- }
- }
-
---- src/base.h 2017-07-30 10:59:06.000000000 +0200
-+++ src/base.h 2017-08-09 09:11:13.082025484 +0200
-@@ -44,9 +44,9 @@
- /*** String Functions *********************************************************/
-
- /* Prefer this as a safer alternative over strcpy. Return strlen(from). */
--size_t strlcpy(char *dest, const char *from, size_t dest_size);
-+size_t my_strlcpy(char *dest, const char *from, size_t dest_size);
- /* Prefer this over strcat. Return strlen(dest) + strlen(from). */
--size_t strlcat(char *dest, const char *from, size_t dest_size);
-+size_t my_strlcat(char *dest, const char *from, size_t dest_size);
-
- char *newstr(char const *str);
- char *newstr(char const *str, int len);
---- src/gnome2.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/gnome2.cc 2017-08-09 09:11:21.819027846 +0200
-@@ -158,8 +158,8 @@
- const int plen = strlen(fPath);
-
- char tmp[256];
-- strlcpy(tmp, fPath, sizeof tmp);
-- strlcat(tmp, "/.directory", sizeof tmp);
-+ my_strlcpy(tmp, fPath, sizeof tmp);
-+ my_strlcat(tmp, "/.directory", sizeof tmp);
-
- if (isDir && !stat(tmp, &sb)) { // looks like kde/gnome1 style
-
-@@ -279,8 +279,8 @@
-
- while ((file = readdir(dir)) != NULL) {
- char fullpath[256];
-- strlcpy(fullpath, dirname, sizeof fullpath);
-- strlcat(fullpath, file->d_name, sizeof fullpath);
-+ my_strlcpy(fullpath, dirname, sizeof fullpath);
-+ my_strlcat(fullpath, file->d_name, sizeof fullpath);
- GnomeDesktopItem *ditem =
- gnome_desktop_item_new_from_file(fullpath,
- (GnomeDesktopItemLoadFlags)0,
---- src/icehelp.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/icehelp.cc 2017-08-09 09:11:31.490030459 +0200
-@@ -1790,8 +1790,8 @@
- const size_t size = 9 + strlen(cfmt) + strlen(cstr) + strlen(crea);
- char *cbuf = (char *)malloc(size);
- snprintf(cbuf, size, cfmt, cstr);
-- strlcat(cbuf, ":\n ", size);
-- strlcat(cbuf, crea, size);
-+ my_strlcat(cbuf, ":\n ", size);
-+ my_strlcat(cbuf, crea, size);
-
- node *root = new node(node::div);
- flist nodes(root);
---- src/icesm.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/icesm.cc 2017-08-09 09:13:12.946057758 +0200
-@@ -28,10 +28,10 @@
- wordexp_t w;
- if (wordexp(trim(buf), &w, 0) != 0 || w.we_wordc == 0)
- return false;
-- size_t len = strlcpy(buf, trim(w.we_wordv[0]), bufsiz);
-+ size_t len = my_strlcpy(buf, trim(w.we_wordv[0]), bufsiz);
- for (size_t k = 1; k < w.we_wordc && len < bufsiz; ++k) {
-- strlcat(buf, " ", bufsiz);
-- len = strlcat(buf, trim(w.we_wordv[k]), bufsiz);
-+ my_strlcat(buf, " ", bufsiz);
-+ len = my_strlcat(buf, trim(w.we_wordv[k]), bufsiz);
- }
- wordfree(&w);
- if (len >= bufsiz)
-@@ -39,7 +39,7 @@
- #else
- char *str = trim(buf);
- if (str > buf)
-- strlcpy(buf, str, bufsiz);
-+ my_strlcpy(buf, str, bufsiz);
- #endif
- if (buf[0] == '#' || buf[0] == '=')
- buf[0] = 0;
---- src/icesound.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/icesound.cc 2017-08-09 09:11:26.686029161 +0200
-@@ -145,8 +145,8 @@
- char * findSample(int sid) {
- char basefname[1024];
-
-- strlcpy(basefname, gui_events[sid].name, sizeof basefname);
-- strlcat(basefname, ".wav", sizeof basefname);
-+ my_strlcpy(basefname, gui_events[sid].name, sizeof basefname);
-+ my_strlcat(basefname, ".wav", sizeof basefname);
-
- return findSample(basefname);
- }
---- src/misc.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/misc.cc 2017-08-09 09:13:39.372064834 +0200
-@@ -448,7 +448,7 @@
- #endif
-
- /* Prefer this as a safer alternative over strcpy. Return strlen(from). */
--size_t strlcpy(char *dest, const char *from, size_t dest_size)
-+size_t my_strlcpy(char *dest, const char *from, size_t dest_size)
- {
- const char *in = from;
- if (dest_size > 0) {
-@@ -463,12 +463,12 @@
- }
-
- /* Prefer this over strcat. Return strlen(dest) + strlen(from). */
--size_t strlcat(char *dest, const char *from, size_t dest_size)
-+size_t my_strlcat(char *dest, const char *from, size_t dest_size)
- {
- char *to = dest;
- char *const stop = to + dest_size - 1;
- while (to < stop && *to) ++to;
-- return to - dest + strlcpy(to, from, dest_size - (to - dest));
-+ return to - dest + my_strlcpy(to, from, dest_size - (to - dest));
- }
-
- char *newstr(char const *str) {
---- src/strtest.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/strtest.cc 2017-08-09 09:13:24.395060823 +0200
-@@ -286,63 +286,63 @@
- strtest tester("strlc");
- char d[10] = "@";
- size_t n;
-- n = strlcpy(d, "", 0);
-+ n = my_strlcpy(d, "", 0);
- sequal(d, "@");
- assert(d, n == 0);
-
-- n = strlcpy(d, "a", 0);
-+ n = my_strlcpy(d, "a", 0);
- sequal(d, "@");
- assert(d, n == 1);
-
-- n = strlcpy(d, "", 1);
-+ n = my_strlcpy(d, "", 1);
- sequal(d, "");
- assert(d, n == 0);
-
-- n = strlcpy(d, "a", 1);
-+ n = my_strlcpy(d, "a", 1);
- sequal(d, "");
- assert(d, n == 1);
-
-- n = strlcpy(d, "a", 2);
-+ n = my_strlcpy(d, "a", 2);
- sequal(d, "a");
- assert(d, n == 1);
-
-- n = strlcpy(d, "ab", 2);
-+ n = my_strlcpy(d, "ab", 2);
- sequal(d, "a");
- assert(d, n == 2);
-
-- n = strlcpy(d, "ab", 3);
-+ n = my_strlcpy(d, "ab", 3);
- sequal(d, "ab");
- assert(d, n == 2);
-
-- n = strlcpy(d, "abc", sizeof d);
-+ n = my_strlcpy(d, "abc", sizeof d);
- sequal(d, "abc");
- assert(d, n == 3);
-
-- n = strlcat(d, "def", 4);
-+ n = my_strlcat(d, "def", 4);
- sequal(d, "abc");
- assert(d, n == 6);
-
-- n = strlcat(d, "def", sizeof d);
-+ n = my_strlcat(d, "def", sizeof d);
- sequal(d, "abcdef");
- assert(d, n == 6);
-
-- n = strlcat(d, "ghijkl", sizeof d);
-+ n = my_strlcat(d, "ghijkl", sizeof d);
- sequal(d, "abcdefghi");
- assert(d, n == 12);
-
-- n = strlcpy(d, "123", sizeof d);
-+ n = my_strlcpy(d, "123", sizeof d);
- sequal(d, "123");
- assert(d, n == 3);
-
-- n = strlcpy(d, d + 1, sizeof d);
-+ n = my_strlcpy(d, d + 1, sizeof d);
- sequal(d, "23");
- assert(d, n == 2);
-
-- n = strlcpy(d, d + 1, sizeof d);
-+ n = my_strlcpy(d, d + 1, sizeof d);
- sequal(d, "3");
- assert(d, n == 1);
-
-- n = strlcpy(d, d + 1, sizeof d);
-+ n = my_strlcpy(d, d + 1, sizeof d);
- sequal(d, "");
- assert(d, n == 0);
- }
-@@ -418,7 +418,7 @@
- while (a.next()) {
- const char *e = a.entry();
- assert(e, strcoll(buf, e) < 0);
-- strlcpy(buf, e, sizeof buf);
-+ my_strlcpy(buf, e, sizeof buf);
- }
- assert(buf, strcoll(buf, "~~~~~~~~~") < 0);
- }
-@@ -437,7 +437,7 @@
- cstring c(s.entry());
- const char *e = c.c_str();
- assert(e, strcoll(buf, e) < 0);
-- strlcpy(buf, e, sizeof buf);
-+ my_strlcpy(buf, e, sizeof buf);
- }
- assert(buf, strcoll(buf, "~~~~~~~~~") < 0);
- }
---- src/udir.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/udir.cc 2017-08-09 09:13:28.346061883 +0200
-@@ -66,7 +66,7 @@
- if (impl) {
- DirPtr dirp(impl);
- if (dirp.next()) {
-- strlcpy(fEntry, dirp.name(), sizeof fEntry);
-+ my_strlcpy(fEntry, dirp.name(), sizeof fEntry);
- return true;
- }
- }
diff --git a/pkgs/applications/window-managers/icewm/musl.patch b/pkgs/applications/window-managers/icewm/musl.patch
deleted file mode 100644
index e7d18e31287..00000000000
--- a/pkgs/applications/window-managers/icewm/musl.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/ylocale.cc 2017-07-30 10:59:06.000000000 +0200
-+++ src/ylocale.cc 2017-08-09 08:15:50.938841549 +0200
-@@ -55,6 +55,8 @@
- int const codesetItems[] = {
- #ifdef CONFIG_NL_CODESETS
- CONFIG_NL_CODESETS
-+#elif !defined(__GLIBC__)
-+ CODESET, 0
- #else
- CODESET, _NL_CTYPE_CODESET_NAME, 0
- #endif
---- src/globit.c 2017-07-30 10:59:06.000000000 +0200
-+++ src/globit.c 2017-08-09 08:17:18.691824584 +0200
-@@ -143,7 +143,9 @@
- } else if (*pattern == '~') {
- /* yes, tilde */
- is_absolute = 2;
-+#if defined(__GLIBC__)
- glob_flags |= GLOB_TILDE;
-+#endif
- /* any slash in the pattern? */
- while (*cp && *cp != '/')
- ++cp;
diff --git a/pkgs/applications/window-managers/jwm/default.nix b/pkgs/applications/window-managers/jwm/default.nix
index 6a7c1436b09..3668b344be5 100644
--- a/pkgs/applications/window-managers/jwm/default.nix
+++ b/pkgs/applications/window-managers/jwm/default.nix
@@ -4,7 +4,7 @@
librsvg, freetype, fontconfig }:
stdenv.mkDerivation rec {
- name = "jwm-${version}";
+ pname = "jwm";
version = "1685";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/jwm/jwm-settings-manager.nix b/pkgs/applications/window-managers/jwm/jwm-settings-manager.nix
index 3b764e7095b..db33b27ddd8 100644
--- a/pkgs/applications/window-managers/jwm/jwm-settings-manager.nix
+++ b/pkgs/applications/window-managers/jwm/jwm-settings-manager.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, gettext, libXpm, libGL, fltk, hicolor-icon-theme, glib, gnome2, which }:
-stdenv.mkDerivation rec {
- name = "jwm-settings-manager-${version}";
+stdenv.mkDerivation {
+ pname = "jwm-settings-manager";
version = "2018-10-19";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/kbdd/default.nix b/pkgs/applications/window-managers/kbdd/default.nix
index 08b79927d21..bcfcbe3c5f5 100644
--- a/pkgs/applications/window-managers/kbdd/default.nix
+++ b/pkgs/applications/window-managers/kbdd/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, pkgconfig, dbus-glib, autoreconfHook, xorg }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "kbdd";
version = "unstable-2017-01-29";
diff --git a/pkgs/applications/window-managers/leftwm/default.nix b/pkgs/applications/window-managers/leftwm/default.nix
index 574e42cc848..661ca013e24 100644
--- a/pkgs/applications/window-managers/leftwm/default.nix
+++ b/pkgs/applications/window-managers/leftwm/default.nix
@@ -11,7 +11,7 @@ rustPlatform.buildRustPackage rec {
src = fetchFromGitHub {
owner = "leftwm";
repo = "leftwm";
- rev = "${version}";
+ rev = version;
sha256 = "0ji7m2npkdg27gm33b19rxr50km0gm1h9czi1f425vxq65mlkl4y";
};
diff --git a/pkgs/applications/window-managers/lemonbar/default.nix b/pkgs/applications/window-managers/lemonbar/default.nix
index ed34e75f35d..9d6e0f27f93 100644
--- a/pkgs/applications/window-managers/lemonbar/default.nix
+++ b/pkgs/applications/window-managers/lemonbar/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, perl, libxcb }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "lemonbar-1.3";
src = fetchurl {
diff --git a/pkgs/applications/window-managers/lemonbar/xft.nix b/pkgs/applications/window-managers/lemonbar/xft.nix
index a1334112cf9..ff34f1dfee7 100644
--- a/pkgs/applications/window-managers/lemonbar/xft.nix
+++ b/pkgs/applications/window-managers/lemonbar/xft.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, perl, libxcb, libXft }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "lemonbar-xft-unstable-2016-02-17";
src = fetchFromGitHub {
diff --git a/pkgs/applications/window-managers/matchbox/default.nix b/pkgs/applications/window-managers/matchbox/default.nix
index 9abbd891e31..3c537d6c931 100644
--- a/pkgs/applications/window-managers/matchbox/default.nix
+++ b/pkgs/applications/window-managers/matchbox/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, libmatchbox, libX11, libXext }:
stdenv.mkDerivation rec {
- name = "matchbox-${version}";
+ pname = "matchbox";
version = "1.2";
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/window-managers/neocomp/default.nix b/pkgs/applications/window-managers/neocomp/default.nix
new file mode 100644
index 00000000000..026ee2e1287
--- /dev/null
+++ b/pkgs/applications/window-managers/neocomp/default.nix
@@ -0,0 +1,85 @@
+{ stdenv
+, fetchFromGitHub
+, asciidoc
+, docbook_xml_dtd_45
+, docbook_xsl
+, freetype
+, judy
+, libGL
+, libconfig
+, libdrm
+, libxml2
+, libxslt
+, libXcomposite
+, libXdamage
+, libXext
+, libXinerama
+, libXrandr
+, libXrender
+, pcre
+, pkgconfig
+}:
+let
+ rev = "v0.6-17-g271e784";
+in
+stdenv.mkDerivation rec {
+ pname = "neocomp-unstable";
+ version = "2019-03-12";
+
+ src = fetchFromGitHub {
+ inherit rev;
+ owner = "DelusionalLogic";
+ repo = "NeoComp";
+ sha256 = "1mp338vz1jm5pwf7pi5azx4hzykmvpkwzx1kw6a9anj272f32zpg";
+ };
+
+ buildInputs = [
+ asciidoc
+ docbook_xml_dtd_45
+ docbook_xsl
+ freetype
+ judy
+ libGL
+ libconfig
+ libdrm
+ libxml2
+ libxslt
+ libXcomposite
+ libXdamage
+ libXext
+ libXinerama
+ libXrandr
+ libXrender
+ pcre
+ pkgconfig
+ ];
+
+ makeFlags = [
+ "PREFIX=${placeholder "out"}"
+ "CFGDIR=${placeholder "out"}/etc/xdg/neocomp"
+ "ASTDIR=${placeholder "out"}/share/neocomp/assets"
+ "COMPTON_VERSION=git-${rev}-${version}"
+ ];
+
+ postPatch = ''
+ substituteInPlace src/compton.c --replace \
+ "assets_add_path(\"./assets/\");" \
+ "assets_add_path(\"$out/share/neocomp/assets/\");"
+ substituteInPlace src/assets/assets.c --replace \
+ "#define MAX_PATH_LENGTH 64" \
+ "#define MAX_PATH_LENGTH 128"
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/DelusionalLogic/NeoComp;
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ twey ];
+ platforms = platforms.linux;
+ description = "A fork of Compton, a compositor for X11";
+ longDescription = ''
+ NeoComp is a (hopefully) fast and (hopefully) simple compositor
+ for X11, focused on delivering frames from the window to the
+ framebuffer as quickly as possible.
+ '';
+ };
+}
diff --git a/pkgs/applications/window-managers/openbox/default.nix b/pkgs/applications/window-managers/openbox/default.nix
index 8c6926dd2c6..c8d526b6d28 100644
--- a/pkgs/applications/window-managers/openbox/default.nix
+++ b/pkgs/applications/window-managers/openbox/default.nix
@@ -3,7 +3,7 @@
, imlib2, pango, libstartup_notification, makeWrapper }:
stdenv.mkDerivation rec {
- name = "openbox-${version}";
+ pname = "openbox";
version = "3.6.1";
nativeBuildInputs = [
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
];
src = fetchurl {
- url = "http://openbox.org/dist/openbox/${name}.tar.gz";
+ url = "http://openbox.org/dist/openbox/${pname}-${version}.tar.gz";
sha256 = "1xvyvqxlhy08n61rjkckmrzah2si1i7nmc7s8h07riqq01vc0jlb";
};
diff --git a/pkgs/applications/window-managers/orbment/bemenu.nix b/pkgs/applications/window-managers/orbment/bemenu.nix
deleted file mode 100644
index 065b81948c2..00000000000
--- a/pkgs/applications/window-managers/orbment/bemenu.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig
-, pango, wayland, libxkbcommon }:
-
-stdenv.mkDerivation rec {
- name = "bemenu-2017-02-14";
-
- src = fetchFromGitHub {
- owner = "Cloudef";
- repo = "bemenu";
- rev = "d6261274cf0b3aa51ce8ea7418a79495b20ad558";
- sha256 = "08bc623y5yjbz7q83lhl6rb0xs6ji17z79c260bx0fgin8sfj5x8";
- };
-
- nativeBuildInputs = [ cmake pkgconfig ];
-
- buildInputs = [ pango wayland libxkbcommon ];
-
- enableParallelBuilding = true;
-
- meta = with stdenv.lib; {
- description = "A dynamic menu library and client program inspired by dmenu";
- homepage = src.meta.homepage;
- license = with licenses; [ gpl3 lgpl3 ];
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/applications/window-managers/orbment/default.nix b/pkgs/applications/window-managers/orbment/default.nix
deleted file mode 100644
index 6bf6f44d423..00000000000
--- a/pkgs/applications/window-managers/orbment/default.nix
+++ /dev/null
@@ -1,41 +0,0 @@
-{ lib, stdenv, fetchgit, cmake, pkgconfig, makeWrapper, callPackage
-, wlc, dbus, wayland, libxkbcommon, pixman, libinput, udev, zlib, libpng
-, libdrm, libX11
-, westonLite
-}:
-
-let
- bemenu = callPackage ./bemenu.nix {};
-in stdenv.mkDerivation rec {
- name = "orbment-${version}";
- version = "git-2016-08-13";
-
- src = fetchgit {
- url = "https://github.com/Cloudef/orbment";
- rev = "01dcfff9719e20261a6d8c761c0cc2f8fa0d0de5";
- sha256 = "04mv9nh847vijr01zrs47fzmnwfhdx09vi3ddv843mx10yx7lqdb";
- fetchSubmodules = true;
- };
-
- nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
-
- buildInputs = [
- wlc dbus wayland libxkbcommon pixman libinput udev zlib libpng libX11
- libdrm
- ];
-
- postFixup = ''
- wrapProgram $out/bin/orbment \
- --prefix PATH : "${stdenv.lib.makeBinPath [ bemenu westonLite ]}"
- '';
-
- enableParallelBuilding = true;
-
- meta = {
- description = "Modular Wayland compositor";
- homepage = src.url;
- license = lib.licenses.mit;
- platforms = lib.platforms.linux;
- maintainers = with lib.maintainers; [ ];
- };
-}
diff --git a/pkgs/applications/window-managers/oroborus/default.nix b/pkgs/applications/window-managers/oroborus/default.nix
index 00ff6252010..d449fc91c0d 100644
--- a/pkgs/applications/window-managers/oroborus/default.nix
+++ b/pkgs/applications/window-managers/oroborus/default.nix
@@ -7,7 +7,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "oroborus-${version}";
+ pname = "oroborus";
version = "2.0.20";
nativeBuildInputs = [ pkgconfig ];
diff --git a/pkgs/applications/window-managers/pekwm/default.nix b/pkgs/applications/window-managers/pekwm/default.nix
index b2677218e85..38255dce722 100644
--- a/pkgs/applications/window-managers/pekwm/default.nix
+++ b/pkgs/applications/window-managers/pekwm/default.nix
@@ -4,11 +4,11 @@
stdenv.mkDerivation rec {
- name = "pekwm-${version}";
+ pname = "pekwm";
version = "0.1.17";
src = fetchurl {
- url = "https://www.pekwm.org/projects/pekwm/files/${name}.tar.bz2";
+ url = "https://www.pekwm.org/projects/pekwm/files/${pname}-${version}.tar.bz2";
sha256 = "003x6bxj1lb2ljxz3v414bn0rdl6z68c0r185fxwgs1qkyzx67wa";
};
diff --git a/pkgs/applications/window-managers/ratpoison/default.nix b/pkgs/applications/window-managers/ratpoison/default.nix
index 0a1a095e0ce..11a69020ee6 100644
--- a/pkgs/applications/window-managers/ratpoison/default.nix
+++ b/pkgs/applications/window-managers/ratpoison/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "ratpoison-${version}";
+ pname = "ratpoison";
version = "1.4.9";
src = fetchurl {
- url = "mirror://savannah/ratpoison/${name}.tar.xz";
+ url = "mirror://savannah/ratpoison/${pname}-${version}.tar.xz";
sha256 = "1wfir1gvh5h7izgvx2kd1pr2k7wlncd33zq7qi9s9k2y0aza93yr";
};
diff --git a/pkgs/applications/window-managers/sawfish/default.nix b/pkgs/applications/window-managers/sawfish/default.nix
index 887a58b748d..f9bcb28e455 100644
--- a/pkgs/applications/window-managers/sawfish/default.nix
+++ b/pkgs/applications/window-managers/sawfish/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl
, pkgconfig, which, autoreconfHook
-, rep-gtk, pango, gdk_pixbuf
+, rep-gtk, pango, gdk-pixbuf
, imlib, gettext, texinfo
, libXinerama, libXrandr, libXtst, libICE, libSM
, makeWrapper
@@ -10,7 +10,7 @@ with stdenv.lib;
stdenv.mkDerivation rec {
- name = "sawfish-${version}";
+ pname = "sawfish";
version = "1.12.90";
sourceName = "sawfish_${version}";
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ which
- rep-gtk pango gdk_pixbuf imlib gettext texinfo
+ rep-gtk pango gdk-pixbuf imlib gettext texinfo
libXinerama libXrandr libXtst libICE libSM
makeWrapper ];
diff --git a/pkgs/applications/window-managers/spectrwm/default.nix b/pkgs/applications/window-managers/spectrwm/default.nix
index 81901be0e60..ba43403d9bb 100644
--- a/pkgs/applications/window-managers/spectrwm/default.nix
+++ b/pkgs/applications/window-managers/spectrwm/default.nix
@@ -12,8 +12,8 @@
, stdenv
}:
-stdenv.mkDerivation rec {
- name = "spectrwm-${version}";
+stdenv.mkDerivation {
+ pname = "spectrwm";
version = "2.7.2";
src = fetchurl {
diff --git a/pkgs/applications/window-managers/stalonetray/default.nix b/pkgs/applications/window-managers/stalonetray/default.nix
index 64fa600765b..f0f724d6cf0 100644
--- a/pkgs/applications/window-managers/stalonetray/default.nix
+++ b/pkgs/applications/window-managers/stalonetray/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, libX11, xorgproto }:
stdenv.mkDerivation rec {
- name = "stalonetray-${version}";
+ pname = "stalonetray";
version = "0.8.3";
src = fetchurl {
- url = "mirror://sourceforge/stalonetray/${name}.tar.bz2";
+ url = "mirror://sourceforge/stalonetray/${pname}-${version}.tar.bz2";
sha256 = "0k7xnpdb6dvx25d67v0crlr32cdnzykdsi9j889njiididc8lm1n";
};
diff --git a/pkgs/applications/window-managers/stumpish/default.nix b/pkgs/applications/window-managers/stumpish/default.nix
index bccb49ff4d5..00f4b95b3f2 100644
--- a/pkgs/applications/window-managers/stumpish/default.nix
+++ b/pkgs/applications/window-managers/stumpish/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, substituteAll, fetchurl, fetchFromGitHub, bash, gnused, ncurses, xorg, rlwrap }:
+{ stdenv, substituteAll, fetchFromGitHub, gnused, ncurses, xorg, rlwrap }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "stumpish";
version = "0.0.1";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "stumpwm";
diff --git a/pkgs/applications/window-managers/stumpwm/default.nix b/pkgs/applications/window-managers/stumpwm/default.nix
index 3ed7f4325f2..69b2e6ceb50 100644
--- a/pkgs/applications/window-managers/stumpwm/default.nix
+++ b/pkgs/applications/window-managers/stumpwm/default.nix
@@ -10,7 +10,7 @@ let
sha256 = "1ml6mjk2fsfv4sf65fdbji3q5x0qiq99g1k8w7a99gsl2i8h60gc";
});
versionSpec = {
- "latest" = {
+ latest = {
name = "1.0.0";
rev = "refs/tags/1.0.0";
sha256 = "16r0lwhxl8g71masmfbjr7s7m7fah4ii4smi1g8zpbpiqjz48ryb";
@@ -22,7 +22,7 @@ let
sha256 = "0hmvbdk2yr5wrkiwn9dfzf65s4xc2qifj0sn6w2mghzp96cph79k";
patches = [ ./fix-module-path.patch ];
};
- "git" = {
+ git = {
name = "git-20170203";
rev = "d20f24e58ab62afceae2afb6262ffef3cc318b97";
sha256 = "1gi29ds1x6dq7lz8lamnhcvcrr3cvvrg5yappfkggyhyvib1ii70";
@@ -30,13 +30,13 @@ let
};
}.${version};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "stumpwm-${versionSpec.name}";
src = fetchgit {
url = "https://github.com/stumpwm/stumpwm";
- rev = "${versionSpec.rev}";
- sha256 = "${versionSpec.sha256}";
+ rev = versionSpec.rev;
+ sha256 = versionSpec.sha256;
};
# NOTE: The patch needs an update for the next release.
diff --git a/pkgs/applications/window-managers/sway/bg.nix b/pkgs/applications/window-managers/sway/bg.nix
index d68cacf666f..86301492c46 100644
--- a/pkgs/applications/window-managers/sway/bg.nix
+++ b/pkgs/applications/window-managers/sway/bg.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
-, wayland, wayland-protocols, cairo, gdk_pixbuf
+, wayland, wayland-protocols, cairo, gdk-pixbuf
}:
stdenv.mkDerivation rec {
- name = "swaybg-${version}";
+ pname = "swaybg";
version = "1.0";
src = fetchFromGitHub {
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
- buildInputs = [ wayland wayland-protocols cairo gdk_pixbuf ];
+ buildInputs = [ wayland wayland-protocols cairo gdk-pixbuf ];
mesonFlags = [
"-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix
index 3299811c497..215a576a578 100644
--- a/pkgs/applications/window-managers/sway/default.nix
+++ b/pkgs/applications/window-managers/sway/default.nix
@@ -1,39 +1,32 @@
-{ stdenv, fetchFromGitHub, fetchpatch
+{ stdenv, fetchFromGitHub, makeWrapper
, meson, ninja
, pkgconfig, scdoc
, wayland, libxkbcommon, pcre, json_c, dbus, libevdev
-, pango, cairo, libinput, libcap, pam, gdk_pixbuf
-, wlroots, wayland-protocols
+, pango, cairo, libinput, libcap, pam, gdk-pixbuf
+, wlroots, wayland-protocols, swaybg
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "sway";
- version = "1.0";
+ version = "1.2";
src = fetchFromGitHub {
owner = "swaywm";
repo = "sway";
rev = version;
- sha256 = "09cndc2nl39d3l7g5634xp0pxcz60pvc5277mfw89r22mh0j78rx";
+ sha256 = "0vch2zm5afc76ia78p3vg71zr2fyda67l9hd2h0x1jq3mnvfbxnd";
};
patches = [
- # Fix for a compiler warning that causes a build failure
- # (see https://github.com/swaywm/sway/issues/3862):
- (fetchpatch {
- url = "https://github.com/swaywm/sway/commit/bcde298a719f60b9913133dbd2a169dedbc8dd7d.patch";
- sha256 = "0r583nmqvq43ib93yv6flw8pj833v32lbs0q0xld56s3rnzvvdcp";
- })
./sway-config-no-nix-store-references.patch
./load-configuration-from-etc.patch
];
- nativeBuildInputs = [ pkgconfig meson ninja scdoc ];
+ nativeBuildInputs = [ pkgconfig meson ninja scdoc makeWrapper ];
buildInputs = [
wayland libxkbcommon pcre json_c dbus libevdev
- pango cairo libinput libcap pam gdk_pixbuf
+ pango cairo libinput libcap pam gdk-pixbuf
wlroots wayland-protocols
];
@@ -44,6 +37,10 @@ stdenv.mkDerivation rec {
"-Dtray=enabled" "-Dman-pages=enabled"
];
+ postInstall = ''
+ wrapProgram $out/bin/sway --prefix PATH : "${swaybg}/bin"
+ '';
+
meta = with stdenv.lib; {
description = "i3-compatible tiling Wayland compositor";
homepage = https://swaywm.org;
diff --git a/pkgs/applications/window-managers/sway/idle.nix b/pkgs/applications/window-managers/sway/idle.nix
index 0b8ad55d574..bc917e76f97 100644
--- a/pkgs/applications/window-managers/sway/idle.nix
+++ b/pkgs/applications/window-managers/sway/idle.nix
@@ -4,20 +4,16 @@
}:
stdenv.mkDerivation rec {
- name = "swayidle-${version}";
- version = "1.3";
+ pname = "swayidle";
+ version = "1.5";
src = fetchFromGitHub {
owner = "swaywm";
repo = "swayidle";
rev = version;
- sha256 = "04agcbhc473jkk7npb40i94ny8naykxzpjcw2lvl05kxv65y5d9v";
+ sha256 = "05qi96j58xqxjiighay1d39rfanxcpn6vlynj23mb5dymxvlaq9n";
};
- postPatch = ''
- sed -iE "s/version: '1\.2',/version: '${version}',/" meson.build
- '';
-
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
buildInputs = [ wayland wayland-protocols systemd ];
diff --git a/pkgs/applications/window-managers/sway/lock.nix b/pkgs/applications/window-managers/sway/lock.nix
index a7505e14168..fe445a6b7ad 100644
--- a/pkgs/applications/window-managers/sway/lock.nix
+++ b/pkgs/applications/window-managers/sway/lock.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchFromGitHub
, meson, ninja, pkgconfig, scdoc
-, wayland, wayland-protocols, libxkbcommon, cairo, gdk_pixbuf, pam
+, wayland, wayland-protocols, libxkbcommon, cairo, gdk-pixbuf, pam
}:
stdenv.mkDerivation rec {
- name = "swaylock-${version}";
+ pname = "swaylock";
version = "1.4";
src = fetchFromGitHub {
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [ meson ninja pkgconfig scdoc ];
- buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk_pixbuf pam ];
+ buildInputs = [ wayland wayland-protocols libxkbcommon cairo gdk-pixbuf pam ];
mesonFlags = [
"-Dpam=enabled" "-Dgdk-pixbuf=enabled" "-Dman-pages=enabled"
diff --git a/pkgs/applications/window-managers/sxhkd/default.nix b/pkgs/applications/window-managers/sxhkd/default.nix
index 2e58928e34c..2404129b165 100644
--- a/pkgs/applications/window-managers/sxhkd/default.nix
+++ b/pkgs/applications/window-managers/sxhkd/default.nix
@@ -3,14 +3,14 @@
}:
stdenv.mkDerivation rec {
- name = "sxhkd-${version}";
- version = "0.6.0";
+ pname = "sxhkd";
+ version = "0.6.1";
src = fetchFromGitHub {
owner = "baskerville";
repo = "sxhkd";
rev = version;
- sha256 = "1cz4vkm7fqd51ly9qjkf5q76kdqdzfhaajgvrs4anz5dyzrdpw68";
+ sha256 = "0j7bl2l06r0arrjzpz7al9j6cwzc730knbsijp7ixzz96pq7xa2h";
};
buildInputs = [ asciidoc libxcb xcbutil xcbutilkeysyms xcbutilwm ];
diff --git a/pkgs/applications/window-managers/tabbed/default.nix b/pkgs/applications/window-managers/tabbed/default.nix
index 0943881da28..c391532376e 100644
--- a/pkgs/applications/window-managers/tabbed/default.nix
+++ b/pkgs/applications/window-managers/tabbed/default.nix
@@ -2,7 +2,7 @@
with stdenv.lib;
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "tabbed-20180310";
src = fetchgit {
diff --git a/pkgs/applications/window-managers/trayer/default.nix b/pkgs/applications/window-managers/trayer/default.nix
index 5aec0973a7c..5705ae8256c 100644
--- a/pkgs/applications/window-managers/trayer/default.nix
+++ b/pkgs/applications/window-managers/trayer/default.nix
@@ -1,10 +1,10 @@
-{ stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, gtk2 }:
+{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, gtk2 }:
stdenv.mkDerivation rec {
name = "trayer-1.1.8";
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gdk_pixbuf gtk2 ];
+ buildInputs = [ gdk-pixbuf gtk2 ];
src = fetchFromGitHub {
owner = "sargon";
diff --git a/pkgs/applications/window-managers/velox/default.nix b/pkgs/applications/window-managers/velox/default.nix
deleted file mode 100644
index f8cb6c26683..00000000000
--- a/pkgs/applications/window-managers/velox/default.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, pkgconfig, makeWrapper, newScope
-, libxkbcommon
-, wayland, pixman, fontconfig
-, stConf ? null, stPatches ? []
-}:
-
-let
- callPackage = newScope self;
- self = {
- swc = callPackage ./swc.nix {};
- wld = callPackage ./wld.nix {};
- dmenu-velox = callPackage ./dmenu.nix {};
- st-velox = callPackage ./st.nix {
- conf = stConf;
- patches = stPatches;
- };
- };
-in with self; stdenv.mkDerivation rec {
- name = "velox-${version}";
- version = "git-2017-07-04";
-
- src = fetchFromGitHub {
- owner = "michaelforney";
- repo = "velox";
- rev = "0b1d3d62861653d92d0a1056855a84fcef661bc0";
- sha256 = "0p5ra5p5w21wl696rmv0vdnl7jnri5iwnxfs6nl6miwydhq2dmci";
- };
-
- nativeBuildInputs = [ pkgconfig makeWrapper ];
-
- buildInputs = [ swc libxkbcommon wld wayland pixman fontconfig ];
-
- propagatedUserEnvPkgs = [ swc ];
-
- makeFlags = "PREFIX=$(out)";
- preBuild = ''
- substituteInPlace config.c \
- --replace /etc/velox.conf $out/etc/velox.conf
- '';
- installPhase = ''
- PREFIX=$out make install
- mkdir -p $out/etc
- cp velox.conf.sample $out/etc/velox.conf
- '';
- postFixup = ''
- wrapProgram $out/bin/velox \
- --prefix PATH : "${stdenv.lib.makeBinPath [ dmenu-velox st-velox ]}"
- '';
-
- enableParallelBuilding = false; # https://hydra.nixos.org/build/79799608
-
- meta = {
- description = "velox window manager";
- homepage = "https://github.com/michaelforney/velox";
- license = lib.licenses.mit;
- platforms = lib.platforms.linux;
- maintainers = with lib.maintainers; [ ];
- };
-}
diff --git a/pkgs/applications/window-managers/velox/dmenu.nix b/pkgs/applications/window-managers/velox/dmenu.nix
deleted file mode 100644
index 01360e5af0b..00000000000
--- a/pkgs/applications/window-managers/velox/dmenu.nix
+++ /dev/null
@@ -1,37 +0,0 @@
-{stdenv, fetchFromGitHub #, libX11, libXinerama, enableXft, libXft, zlib
-, swc, wld, wayland, libxkbcommon, pixman, fontconfig
-}:
-
-with stdenv.lib;
-
-stdenv.mkDerivation rec {
- name = "dmenu-velox-${version}";
- version = "git-2017-04-07";
-
- src = fetchFromGitHub {
- owner = "michaelforney";
- repo = "dmenu";
- rev = "f385d9d18813071b4b4257bf8d4d572daeda0e70";
- sha256 = "14j8jv0nlybinhzkgd6dplvng9zy8p292prlx39w0k4fm6x5nv6y";
- };
-
- buildInputs = [ swc wld wayland libxkbcommon pixman fontconfig ];
-
- postPatch = ''
- sed -ri -e 's!\<(dmenu|dmenu_path)\>!'"$out/bin"'/&!g' dmenu_run
- '';
-
- preConfigure = [
- ''sed -i "s@PREFIX = /usr/local@PREFIX = $out@g; s@/usr/share/swc@${swc}/share/swc@g" config.mk''
- ];
-
- enableParallelBuilding = true;
-
- meta = {
- description = "A generic, highly customizable, and efficient menu for the X Window System";
- homepage = https://tools.suckless.org/dmenu;
- license = stdenv.lib.licenses.mit;
- maintainers = with stdenv.lib.maintainers; [ ];
- platforms = with stdenv.lib.platforms; all;
- };
-}
diff --git a/pkgs/applications/window-managers/velox/st.nix b/pkgs/applications/window-managers/velox/st.nix
deleted file mode 100644
index 2d73df65046..00000000000
--- a/pkgs/applications/window-managers/velox/st.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ stdenv, fetchFromGitHub, pkgconfig, writeText
-, ncurses, wayland, wayland-protocols, wld, libxkbcommon, fontconfig, pixman
-, conf, patches }:
-
-with stdenv.lib;
-
-stdenv.mkDerivation rec {
- name = "st-velox-${version}";
- version = "git-2016-12-22";
-
- src = fetchFromGitHub {
- owner = "michaelforney";
- repo = "st";
- rev = "b27f17da65f74b0a923952601873524e03b4d047";
- sha256 = "17aa4bz5g14jvqghk2c8mw77hb8786s07pv814rmlk7nnsavmp3i";
- };
-
- inherit patches;
-
- configFile = optionalString (conf!=null) (writeText "config.def.h" conf);
- preBuild = optionalString (conf!=null) "cp ${configFile} config.def.h";
-
- nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ ncurses wayland wayland-protocols wld libxkbcommon fontconfig pixman ];
-
- NIX_LDFLAGS = "-lfontconfig";
-
- installPhase = ''
- TERMINFO=$out/share/terminfo make install PREFIX=$out
- '';
-
- enableParallelBuilding = true;
-
- meta = {
- homepage = https://st.suckless.org/;
- license = licenses.mit;
- maintainers = with maintainers; [ ];
- platforms = with platforms; linux;
- };
-}
diff --git a/pkgs/applications/window-managers/velox/swc.nix b/pkgs/applications/window-managers/velox/swc.nix
deleted file mode 100644
index a2f98b8b65e..00000000000
--- a/pkgs/applications/window-managers/velox/swc.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, pkgconfig
-, wld, wayland, wayland-protocols, fontconfig, pixman, libdrm, libinput, libevdev, libxkbcommon, libxcb, xcbutilwm
-}:
-
-stdenv.mkDerivation rec {
- name = "swc-${version}";
- version = "git-2017-06-28";
-
- src = fetchFromGitHub {
- owner = "michaelforney";
- repo = "swc";
- rev = "5b20050872f8ad29cfc97729f8af47b6b3df5393";
- sha256 = "1lxpm17v5d8png6ixc0zn0w00xgrhz2n5b8by9vx6800b18246z8";
- };
-
- nativeBuildInputs = [ pkgconfig ];
-
- buildInputs = [ wld wayland wayland-protocols fontconfig pixman libdrm libinput libevdev libxkbcommon libxcb xcbutilwm ];
-
- prePatch = ''
- substituteInPlace launch/local.mk --replace 4755 755
- '';
-
- makeFlags = "PREFIX=$(out)";
- installPhase = "PREFIX=$out make install";
-
- enableParallelBuilding = true;
-
- meta = {
- description = "A library for making a simple Wayland compositor";
- homepage = src.meta.homepage;
- license = lib.licenses.mit;
- platforms = lib.platforms.linux;
- maintainers = with lib.maintainers; [ ];
- };
-}
diff --git a/pkgs/applications/window-managers/velox/wld.nix b/pkgs/applications/window-managers/velox/wld.nix
deleted file mode 100644
index d85f8212ec4..00000000000
--- a/pkgs/applications/window-managers/velox/wld.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ lib, stdenv, fetchFromGitHub, pkgconfig
-, wayland, fontconfig, pixman, freetype, libdrm
-}:
-
-stdenv.mkDerivation rec {
- name = "wld-${version}";
- version = "git-2017-10-31";
-
- src = fetchFromGitHub {
- owner = "michaelforney";
- repo = "wld";
- rev = "b4e902bbecb678c45485b52c3aa183cbc932c595";
- sha256 = "0j2n776flnzyw3vhxl0r8h1c48wrihi4g6bs2z8j4hbw5pnwq1k6";
- };
-
- nativeBuildInputs = [ pkgconfig ];
-
- buildInputs = [ wayland fontconfig pixman freetype libdrm ];
-
- makeFlags = "PREFIX=$(out)";
- installPhase = "PREFIX=$out make install";
-
- enableParallelBuilding = true;
-
- meta = {
- description = "A primitive drawing library targeted at Wayland";
- homepage = src.meta.homepage;
- license = lib.licenses.mit;
- platforms = lib.platforms.linux;
- maintainers = with lib.maintainers; [ ];
- };
-}
diff --git a/pkgs/applications/window-managers/way-cooler/crates-io.nix b/pkgs/applications/window-managers/way-cooler/crates-io.nix
index 9dbd367a67f..01638c6332c 100644
--- a/pkgs/applications/window-managers/way-cooler/crates-io.nix
+++ b/pkgs/applications/window-managers/way-cooler/crates-io.nix
@@ -10,6 +10,7 @@ rec {
crates.aho_corasick."0.5.3" = deps: { features?(features_.aho_corasick."0.5.3" deps {}) }: buildRustCrate {
crateName = "aho-corasick";
version = "0.5.3";
+ description = "Fast multiple substring searching with finite state machines.";
authors = [ "Andrew Gallant " ];
sha256 = "1igab46mvgknga3sxkqc917yfff0wsjxjzabdigmh240p5qxqlnn";
libName = "aho_corasick";
@@ -19,7 +20,7 @@ rec {
(crates."memchr"."${deps."aho_corasick"."0.5.3"."memchr"}" deps)
]);
};
- features_.aho_corasick."0.5.3" = deps: f: updateFeatures f (rec {
+ features_.aho_corasick."0.5.3" = deps: f: updateFeatures f ({
aho_corasick."0.5.3".default = (f.aho_corasick."0.5.3".default or true);
memchr."${deps.aho_corasick."0.5.3".memchr}".default = true;
}) [
@@ -33,11 +34,12 @@ rec {
crates.bitflags."0.4.0" = deps: { features?(features_.bitflags."0.4.0" deps {}) }: buildRustCrate {
crateName = "bitflags";
version = "0.4.0";
+ description = "A macro to generate structures which behave like bitflags.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "0an03kibhfcc0mcxf6a0mvbab0s7cggnvflw8jn0b15i351h828c";
features = mkFeatures (features."bitflags"."0.4.0" or {});
};
- features_.bitflags."0.4.0" = deps: f: updateFeatures f (rec {
+ features_.bitflags."0.4.0" = deps: f: updateFeatures f ({
bitflags."0.4.0".default = (f.bitflags."0.4.0".default or true);
}) [];
@@ -48,10 +50,11 @@ rec {
crates.bitflags."0.6.0" = deps: { features?(features_.bitflags."0.6.0" deps {}) }: buildRustCrate {
crateName = "bitflags";
version = "0.6.0";
+ description = "A macro to generate structures which behave like bitflags.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1znq4b770mdp3kdj9yz199ylc2pmf8l5j2f281jjrcfhg1mm22h6";
};
- features_.bitflags."0.6.0" = deps: f: updateFeatures f (rec {
+ features_.bitflags."0.6.0" = deps: f: updateFeatures f ({
bitflags."0.6.0".default = (f.bitflags."0.6.0".default or true);
}) [];
@@ -62,10 +65,11 @@ rec {
crates.bitflags."0.7.0" = deps: { features?(features_.bitflags."0.7.0" deps {}) }: buildRustCrate {
crateName = "bitflags";
version = "0.7.0";
+ description = "A macro to generate structures which behave like bitflags.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1hr72xg5slm0z4pxs2hiy4wcyx3jva70h58b7mid8l0a4c8f7gn5";
};
- features_.bitflags."0.7.0" = deps: f: updateFeatures f (rec {
+ features_.bitflags."0.7.0" = deps: f: updateFeatures f ({
bitflags."0.7.0".default = (f.bitflags."0.7.0".default or true);
}) [];
@@ -76,17 +80,18 @@ rec {
crates.bitflags."0.9.1" = deps: { features?(features_.bitflags."0.9.1" deps {}) }: buildRustCrate {
crateName = "bitflags";
version = "0.9.1";
+ description = "A macro to generate structures which behave like bitflags.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "18h073l5jd88rx4qdr95fjddr9rk79pb1aqnshzdnw16cfmb9rws";
features = mkFeatures (features."bitflags"."0.9.1" or {});
};
features_.bitflags."0.9.1" = deps: f: updateFeatures f (rec {
bitflags = fold recursiveUpdate {} [
- { "0.9.1".default = (f.bitflags."0.9.1".default or true); }
- { "0.9.1".example_generated =
- (f.bitflags."0.9.1".example_generated or false) ||
+ { "0.9.1"."example_generated" =
+ (f.bitflags."0.9.1"."example_generated" or false) ||
(f.bitflags."0.9.1".default or false) ||
(bitflags."0.9.1"."default" or false); }
+ { "0.9.1".default = (f.bitflags."0.9.1".default or true); }
];
}) [];
@@ -97,11 +102,12 @@ rec {
crates.bitflags."1.0.4" = deps: { features?(features_.bitflags."1.0.4" deps {}) }: buildRustCrate {
crateName = "bitflags";
version = "1.0.4";
+ description = "A macro to generate structures which behave like bitflags.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1g1wmz2001qmfrd37dnd5qiss5njrw26aywmg6yhkmkbyrhjxb08";
features = mkFeatures (features."bitflags"."1.0.4" or {});
};
- features_.bitflags."1.0.4" = deps: f: updateFeatures f (rec {
+ features_.bitflags."1.0.4" = deps: f: updateFeatures f ({
bitflags."1.0.4".default = (f.bitflags."1.0.4".default or true);
}) [];
@@ -112,10 +118,11 @@ rec {
crates.c_vec."1.2.1" = deps: { features?(features_.c_vec."1.2.1" deps {}) }: buildRustCrate {
crateName = "c_vec";
version = "1.2.1";
+ description = "Structures to wrap C arrays";
authors = [ "Guillaume Gomez " ];
sha256 = "15gm72wx9kd0n51454i58rmpkmig8swghrj2440frxxi9kqg97xd";
};
- features_.c_vec."1.2.1" = deps: f: updateFeatures f (rec {
+ features_.c_vec."1.2.1" = deps: f: updateFeatures f ({
c_vec."1.2.1".default = (f.c_vec."1.2.1".default or true);
}) [];
@@ -126,6 +133,7 @@ rec {
crates.cairo_rs."0.2.0" = deps: { features?(features_.cairo_rs."0.2.0" deps {}) }: buildRustCrate {
crateName = "cairo-rs";
version = "0.2.0";
+ description = "Rust bindings for the Cairo library";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "0bcbhbyips15b7la4r43p4x57jv1w2ll8iwg9lxwvzz5k6c7iwvd";
libName = "cairo";
@@ -148,25 +156,25 @@ rec {
features_.cairo_rs."0.2.0" = deps: f: updateFeatures f (rec {
c_vec."${deps.cairo_rs."0.2.0".c_vec}".default = true;
cairo_rs = fold recursiveUpdate {} [
- { "0.2.0".default = (f.cairo_rs."0.2.0".default or true); }
- { "0.2.0".glib =
- (f.cairo_rs."0.2.0".glib or false) ||
+ { "0.2.0"."glib" =
+ (f.cairo_rs."0.2.0"."glib" or false) ||
(f.cairo_rs."0.2.0".use_glib or false) ||
(cairo_rs."0.2.0"."use_glib" or false); }
- { "0.2.0".glib-sys =
- (f.cairo_rs."0.2.0".glib-sys or false) ||
+ { "0.2.0"."glib-sys" =
+ (f.cairo_rs."0.2.0"."glib-sys" or false) ||
(f.cairo_rs."0.2.0".use_glib or false) ||
(cairo_rs."0.2.0"."use_glib" or false); }
- { "0.2.0".gtk-rs-lgpl-docs =
- (f.cairo_rs."0.2.0".gtk-rs-lgpl-docs or false) ||
+ { "0.2.0"."gtk-rs-lgpl-docs" =
+ (f.cairo_rs."0.2.0"."gtk-rs-lgpl-docs" or false) ||
(f.cairo_rs."0.2.0".embed-lgpl-docs or false) ||
(cairo_rs."0.2.0"."embed-lgpl-docs" or false) ||
(f.cairo_rs."0.2.0".purge-lgpl-docs or false) ||
(cairo_rs."0.2.0"."purge-lgpl-docs" or false); }
- { "0.2.0".use_glib =
- (f.cairo_rs."0.2.0".use_glib or false) ||
+ { "0.2.0"."use_glib" =
+ (f.cairo_rs."0.2.0"."use_glib" or false) ||
(f.cairo_rs."0.2.0".default or false) ||
(cairo_rs."0.2.0"."default" or false); }
+ { "0.2.0".default = (f.cairo_rs."0.2.0".default or true); }
];
cairo_sys_rs = fold recursiveUpdate {} [
{ "${deps.cairo_rs."0.2.0".cairo_sys_rs}"."png" =
@@ -203,6 +211,7 @@ rec {
crates.cairo_sys_rs."0.4.0" = deps: { features?(features_.cairo_sys_rs."0.4.0" deps {}) }: buildRustCrate {
crateName = "cairo-sys-rs";
version = "0.4.0";
+ description = "FFI bindings to libcairo";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "062nxihlydci65pyy2ldn7djkc9sm7a5xvkl8pxrsxfxvfapm5br";
libName = "cairo_sys";
@@ -221,15 +230,15 @@ rec {
};
features_.cairo_sys_rs."0.4.0" = deps: f: updateFeatures f (rec {
cairo_sys_rs = fold recursiveUpdate {} [
- { "0.4.0".default = (f.cairo_sys_rs."0.4.0".default or true); }
- { "0.4.0".v1_12 =
- (f.cairo_sys_rs."0.4.0".v1_12 or false) ||
+ { "0.4.0"."v1_12" =
+ (f.cairo_sys_rs."0.4.0"."v1_12" or false) ||
(f.cairo_sys_rs."0.4.0".v1_14 or false) ||
(cairo_sys_rs."0.4.0"."v1_14" or false); }
- { "0.4.0".x11 =
- (f.cairo_sys_rs."0.4.0".x11 or false) ||
+ { "0.4.0"."x11" =
+ (f.cairo_sys_rs."0.4.0"."x11" or false) ||
(f.cairo_sys_rs."0.4.0".xlib or false) ||
(cairo_sys_rs."0.4.0"."xlib" or false); }
+ { "0.4.0".default = (f.cairo_sys_rs."0.4.0".default or true); }
];
libc."${deps.cairo_sys_rs."0.4.0".libc}".default = true;
pkg_config."${deps.cairo_sys_rs."0.4.0".pkg_config}".default = true;
@@ -247,6 +256,7 @@ rec {
crates.cc."1.0.25" = deps: { features?(features_.cc."1.0.25" deps {}) }: buildRustCrate {
crateName = "cc";
version = "1.0.25";
+ description = "A build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n";
authors = [ "Alex Crichton " ];
sha256 = "0pd8fhjlpr5qan984frkf1c8nxrqp6827wmmfzhm2840229z2hq0";
dependencies = mapFeatures features ([
@@ -255,11 +265,11 @@ rec {
};
features_.cc."1.0.25" = deps: f: updateFeatures f (rec {
cc = fold recursiveUpdate {} [
- { "1.0.25".default = (f.cc."1.0.25".default or true); }
- { "1.0.25".rayon =
- (f.cc."1.0.25".rayon or false) ||
+ { "1.0.25"."rayon" =
+ (f.cc."1.0.25"."rayon" or false) ||
(f.cc."1.0.25".parallel or false) ||
(cc."1.0.25"."parallel" or false); }
+ { "1.0.25".default = (f.cc."1.0.25".default or true); }
];
}) [];
@@ -270,10 +280,11 @@ rec {
crates.cfg_if."0.1.6" = deps: { features?(features_.cfg_if."0.1.6" deps {}) }: buildRustCrate {
crateName = "cfg-if";
version = "0.1.6";
+ description = "A macro to ergonomically define an item depending on a large number of #[cfg]\nparameters. Structured like an if-else chain, the first matching branch is the\nitem that gets emitted.\n";
authors = [ "Alex Crichton " ];
sha256 = "11qrix06wagkplyk908i3423ps9m9np6c4vbcq81s9fyl244xv3n";
};
- features_.cfg_if."0.1.6" = deps: f: updateFeatures f (rec {
+ features_.cfg_if."0.1.6" = deps: f: updateFeatures f ({
cfg_if."0.1.6".default = (f.cfg_if."0.1.6".default or true);
}) [];
@@ -284,6 +295,7 @@ rec {
crates.cloudabi."0.0.3" = deps: { features?(features_.cloudabi."0.0.3" deps {}) }: buildRustCrate {
crateName = "cloudabi";
version = "0.0.3";
+ description = "Low level interface to CloudABI. Contains all syscalls and related types.";
authors = [ "Nuxi (https://nuxi.nl/) and contributors" ];
sha256 = "1z9lby5sr6vslfd14d6igk03s7awf91mxpsfmsp3prxbxlk0x7h5";
libPath = "cloudabi.rs";
@@ -295,8 +307,8 @@ rec {
features_.cloudabi."0.0.3" = deps: f: updateFeatures f (rec {
bitflags."${deps.cloudabi."0.0.3".bitflags}".default = true;
cloudabi = fold recursiveUpdate {} [
- { "0.0.3".bitflags =
- (f.cloudabi."0.0.3".bitflags or false) ||
+ { "0.0.3"."bitflags" =
+ (f.cloudabi."0.0.3"."bitflags" or false) ||
(f.cloudabi."0.0.3".default or false) ||
(cloudabi."0.0.3"."default" or false); }
{ "0.0.3".default = (f.cloudabi."0.0.3".default or true); }
@@ -312,6 +324,7 @@ rec {
crates.dbus."0.4.1" = deps: { features?(features_.dbus."0.4.1" deps {}) }: buildRustCrate {
crateName = "dbus";
version = "0.4.1";
+ description = "Bindings to D-Bus, which is a bus commonly used on Linux for inter-process communication.";
authors = [ "David Henningsson " ];
sha256 = "0qw32qj2rys318h780klxlznkwg93dfimbn8mc34m4940l8v00g9";
build = "build.rs";
@@ -323,7 +336,7 @@ rec {
(crates."pkg_config"."${deps."dbus"."0.4.1"."pkg_config"}" deps)
]);
};
- features_.dbus."0.4.1" = deps: f: updateFeatures f (rec {
+ features_.dbus."0.4.1" = deps: f: updateFeatures f ({
dbus."0.4.1".default = (f.dbus."0.4.1".default or true);
libc."${deps.dbus."0.4.1".libc}".default = true;
pkg_config."${deps.dbus."0.4.1".pkg_config}".default = true;
@@ -339,13 +352,14 @@ rec {
crates.dbus_macros."0.0.6" = deps: { features?(features_.dbus_macros."0.0.6" deps {}) }: buildRustCrate {
crateName = "dbus-macros";
version = "0.0.6";
+ description = "Convenient macros to use the dbus crate";
authors = [ "Antoni Boucher " ];
sha256 = "1nymk2hzzgyafyr5nfa4r4frx4hml3wlwgzfr9b69vmcvn3d2jyd";
dependencies = mapFeatures features ([
(crates."dbus"."${deps."dbus_macros"."0.0.6"."dbus"}" deps)
]);
};
- features_.dbus_macros."0.0.6" = deps: f: updateFeatures f (rec {
+ features_.dbus_macros."0.0.6" = deps: f: updateFeatures f ({
dbus."${deps.dbus_macros."0.0.6".dbus}".default = true;
dbus_macros."0.0.6".default = (f.dbus_macros."0.0.6".default or true);
}) [
@@ -359,6 +373,7 @@ rec {
crates.dlib."0.3.1" = deps: { features?(features_.dlib."0.3.1" deps {}) }: buildRustCrate {
crateName = "dlib";
version = "0.3.1";
+ description = "Helper macros for handling manually loading optionnal system libraries.";
authors = [ "Victor Berger " ];
sha256 = "11mhh6g9vszp2ay3r46x4capnnmvvhx5hcp74bapxjhiixqjfvkr";
dependencies = mapFeatures features ([
@@ -366,7 +381,7 @@ rec {
]);
features = mkFeatures (features."dlib"."0.3.1" or {});
};
- features_.dlib."0.3.1" = deps: f: updateFeatures f (rec {
+ features_.dlib."0.3.1" = deps: f: updateFeatures f ({
dlib."0.3.1".default = (f.dlib."0.3.1".default or true);
libloading."${deps.dlib."0.3.1".libloading}".default = true;
}) [
@@ -380,6 +395,7 @@ rec {
crates.dlib."0.4.1" = deps: { features?(features_.dlib."0.4.1" deps {}) }: buildRustCrate {
crateName = "dlib";
version = "0.4.1";
+ description = "Helper macros for handling manually loading optional system libraries.";
authors = [ "Victor Berger " ];
sha256 = "0h5xm6lanbl6v9y16g592bia33g7xb0n0fg98pvz6nsvg0layxlk";
dependencies = mapFeatures features ([
@@ -387,7 +403,7 @@ rec {
]);
features = mkFeatures (features."dlib"."0.4.1" or {});
};
- features_.dlib."0.4.1" = deps: f: updateFeatures f (rec {
+ features_.dlib."0.4.1" = deps: f: updateFeatures f ({
dlib."0.4.1".default = (f.dlib."0.4.1".default or true);
libloading."${deps.dlib."0.4.1".libloading}".default = true;
}) [
@@ -401,10 +417,11 @@ rec {
crates.dtoa."0.4.3" = deps: { features?(features_.dtoa."0.4.3" deps {}) }: buildRustCrate {
crateName = "dtoa";
version = "0.4.3";
+ description = "Fast functions for printing floating-point primitives to an io::Write";
authors = [ "David Tolnay " ];
sha256 = "1xysdxdm24sk5ysim7lps4r2qaxfnj0sbakhmps4d42yssx30cw8";
};
- features_.dtoa."0.4.3" = deps: f: updateFeatures f (rec {
+ features_.dtoa."0.4.3" = deps: f: updateFeatures f ({
dtoa."0.4.3".default = (f.dtoa."0.4.3".default or true);
}) [];
@@ -415,6 +432,7 @@ rec {
crates.dummy_rustwlc."0.7.1" = deps: { features?(features_.dummy_rustwlc."0.7.1" deps {}) }: buildRustCrate {
crateName = "dummy-rustwlc";
version = "0.7.1";
+ description = "A dummy version of the functions defined in rust-wlc, to be used in testing and for travis builds";
authors = [ "Snirk Immington " "Preston Carpenter " ];
sha256 = "13priwnxpjvmym6yh9v9x1230ca04cba7bzbnn21pbvqngis1y88";
dependencies = mapFeatures features ([
@@ -423,7 +441,7 @@ rec {
(crates."wayland_sys"."${deps."dummy_rustwlc"."0.7.1"."wayland_sys"}" deps)
]);
};
- features_.dummy_rustwlc."0.7.1" = deps: f: updateFeatures f (rec {
+ features_.dummy_rustwlc."0.7.1" = deps: f: updateFeatures f ({
bitflags."${deps.dummy_rustwlc."0.7.1".bitflags}".default = true;
dummy_rustwlc."0.7.1".default = (f.dummy_rustwlc."0.7.1".default or true);
libc."${deps.dummy_rustwlc."0.7.1".libc}".default = true;
@@ -445,6 +463,7 @@ rec {
crates.env_logger."0.3.5" = deps: { features?(features_.env_logger."0.3.5" deps {}) }: buildRustCrate {
crateName = "env_logger";
version = "0.3.5";
+ description = "An logging implementation for `log` which is configured via an environment\nvariable.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1mvxiaaqsyjliv1mm1qaagjqiccw11mdyi3n9h9rf8y6wj15zycw";
dependencies = mapFeatures features ([
@@ -455,11 +474,11 @@ rec {
};
features_.env_logger."0.3.5" = deps: f: updateFeatures f (rec {
env_logger = fold recursiveUpdate {} [
- { "0.3.5".default = (f.env_logger."0.3.5".default or true); }
- { "0.3.5".regex =
- (f.env_logger."0.3.5".regex or false) ||
+ { "0.3.5"."regex" =
+ (f.env_logger."0.3.5"."regex" or false) ||
(f.env_logger."0.3.5".default or false) ||
(env_logger."0.3.5"."default" or false); }
+ { "0.3.5".default = (f.env_logger."0.3.5".default or true); }
];
log."${deps.env_logger."0.3.5".log}".default = true;
regex."${deps.env_logger."0.3.5".regex}".default = true;
@@ -475,10 +494,11 @@ rec {
crates.fixedbitset."0.1.9" = deps: { features?(features_.fixedbitset."0.1.9" deps {}) }: buildRustCrate {
crateName = "fixedbitset";
version = "0.1.9";
+ description = "FixedBitSet is a simple bitset collection";
authors = [ "bluss" ];
sha256 = "1bkb5aq7h9p4rzlgxagnda1f0dd11q0qz41bmdy11z18q1p8igy1";
};
- features_.fixedbitset."0.1.9" = deps: f: updateFeatures f (rec {
+ features_.fixedbitset."0.1.9" = deps: f: updateFeatures f ({
fixedbitset."0.1.9".default = (f.fixedbitset."0.1.9".default or true);
}) [];
@@ -489,6 +509,7 @@ rec {
crates.fuchsia_zircon."0.3.3" = deps: { features?(features_.fuchsia_zircon."0.3.3" deps {}) }: buildRustCrate {
crateName = "fuchsia-zircon";
version = "0.3.3";
+ description = "Rust bindings for the Zircon kernel";
authors = [ "Raph Levien " ];
sha256 = "0jrf4shb1699r4la8z358vri8318w4mdi6qzfqy30p2ymjlca4gk";
dependencies = mapFeatures features ([
@@ -496,7 +517,7 @@ rec {
(crates."fuchsia_zircon_sys"."${deps."fuchsia_zircon"."0.3.3"."fuchsia_zircon_sys"}" deps)
]);
};
- features_.fuchsia_zircon."0.3.3" = deps: f: updateFeatures f (rec {
+ features_.fuchsia_zircon."0.3.3" = deps: f: updateFeatures f ({
bitflags."${deps.fuchsia_zircon."0.3.3".bitflags}".default = true;
fuchsia_zircon."0.3.3".default = (f.fuchsia_zircon."0.3.3".default or true);
fuchsia_zircon_sys."${deps.fuchsia_zircon."0.3.3".fuchsia_zircon_sys}".default = true;
@@ -512,10 +533,11 @@ rec {
crates.fuchsia_zircon_sys."0.3.3" = deps: { features?(features_.fuchsia_zircon_sys."0.3.3" deps {}) }: buildRustCrate {
crateName = "fuchsia-zircon-sys";
version = "0.3.3";
+ description = "Low-level Rust bindings for the Zircon kernel";
authors = [ "Raph Levien " ];
sha256 = "08jp1zxrm9jbrr6l26bjal4dbm8bxfy57ickdgibsqxr1n9j3hf5";
};
- features_.fuchsia_zircon_sys."0.3.3" = deps: f: updateFeatures f (rec {
+ features_.fuchsia_zircon_sys."0.3.3" = deps: f: updateFeatures f ({
fuchsia_zircon_sys."0.3.3".default = (f.fuchsia_zircon_sys."0.3.3".default or true);
}) [];
@@ -526,6 +548,7 @@ rec {
crates.gcc."0.3.55" = deps: { features?(features_.gcc."0.3.55" deps {}) }: buildRustCrate {
crateName = "gcc";
version = "0.3.55";
+ description = "**Deprecated** crate, renamed to `cc`\n\nA build-time dependency for Cargo build scripts to assist in invoking the native\nC compiler to compile native C code into a static archive to be linked into Rust\ncode.\n";
authors = [ "Alex Crichton " ];
sha256 = "18qxv3hjdhp7pfcvbm2hvyicpgmk7xw8aii1l7fla8cxxbcrg2nz";
dependencies = mapFeatures features ([
@@ -534,11 +557,11 @@ rec {
};
features_.gcc."0.3.55" = deps: f: updateFeatures f (rec {
gcc = fold recursiveUpdate {} [
- { "0.3.55".default = (f.gcc."0.3.55".default or true); }
- { "0.3.55".rayon =
- (f.gcc."0.3.55".rayon or false) ||
+ { "0.3.55"."rayon" =
+ (f.gcc."0.3.55"."rayon" or false) ||
(f.gcc."0.3.55".parallel or false) ||
(gcc."0.3.55"."parallel" or false); }
+ { "0.3.55".default = (f.gcc."0.3.55".default or true); }
];
}) [];
@@ -549,6 +572,7 @@ rec {
crates.gdk_pixbuf."0.2.0" = deps: { features?(features_.gdk_pixbuf."0.2.0" deps {}) }: buildRustCrate {
crateName = "gdk-pixbuf";
version = "0.2.0";
+ description = "Rust bindings for the GdkPixbuf library";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "082z1s30haa59ax35wsv06mj8z8bhhq0fac36g01qa77kpiphj5y";
libName = "gdk_pixbuf";
@@ -567,25 +591,25 @@ rec {
};
features_.gdk_pixbuf."0.2.0" = deps: f: updateFeatures f (rec {
gdk_pixbuf = fold recursiveUpdate {} [
- { "0.2.0".default = (f.gdk_pixbuf."0.2.0".default or true); }
- { "0.2.0".gtk-rs-lgpl-docs =
- (f.gdk_pixbuf."0.2.0".gtk-rs-lgpl-docs or false) ||
+ { "0.2.0"."gtk-rs-lgpl-docs" =
+ (f.gdk_pixbuf."0.2.0"."gtk-rs-lgpl-docs" or false) ||
(f.gdk_pixbuf."0.2.0".embed-lgpl-docs or false) ||
(gdk_pixbuf."0.2.0"."embed-lgpl-docs" or false) ||
(f.gdk_pixbuf."0.2.0".purge-lgpl-docs or false) ||
(gdk_pixbuf."0.2.0"."purge-lgpl-docs" or false); }
- { "0.2.0".v2_28 =
- (f.gdk_pixbuf."0.2.0".v2_28 or false) ||
+ { "0.2.0"."v2_28" =
+ (f.gdk_pixbuf."0.2.0"."v2_28" or false) ||
(f.gdk_pixbuf."0.2.0".v2_30 or false) ||
(gdk_pixbuf."0.2.0"."v2_30" or false); }
- { "0.2.0".v2_30 =
- (f.gdk_pixbuf."0.2.0".v2_30 or false) ||
+ { "0.2.0"."v2_30" =
+ (f.gdk_pixbuf."0.2.0"."v2_30" or false) ||
(f.gdk_pixbuf."0.2.0".v2_32 or false) ||
(gdk_pixbuf."0.2.0"."v2_32" or false); }
- { "0.2.0".v2_32 =
- (f.gdk_pixbuf."0.2.0".v2_32 or false) ||
+ { "0.2.0"."v2_32" =
+ (f.gdk_pixbuf."0.2.0"."v2_32" or false) ||
(f.gdk_pixbuf."0.2.0".v2_36 or false) ||
(gdk_pixbuf."0.2.0"."v2_36" or false); }
+ { "0.2.0".default = (f.gdk_pixbuf."0.2.0".default or true); }
];
gdk_pixbuf_sys = fold recursiveUpdate {} [
{ "${deps.gdk_pixbuf."0.2.0".gdk_pixbuf_sys}"."v2_28" =
@@ -625,6 +649,7 @@ rec {
crates.gdk_pixbuf_sys."0.4.0" = deps: { features?(features_.gdk_pixbuf_sys."0.4.0" deps {}) }: buildRustCrate {
crateName = "gdk-pixbuf-sys";
version = "0.4.0";
+ description = "FFI bindings to libgdk_pixbuf-2.0";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "1r98zdqqik3hh1l10jmhhcjx59yk4m0bs9pc7hnkwp2p6gm968vp";
libName = "gdk_pixbuf_sys";
@@ -645,19 +670,19 @@ rec {
features_.gdk_pixbuf_sys."0.4.0" = deps: f: updateFeatures f (rec {
bitflags."${deps.gdk_pixbuf_sys."0.4.0".bitflags}".default = true;
gdk_pixbuf_sys = fold recursiveUpdate {} [
- { "0.4.0".default = (f.gdk_pixbuf_sys."0.4.0".default or true); }
- { "0.4.0".v2_28 =
- (f.gdk_pixbuf_sys."0.4.0".v2_28 or false) ||
+ { "0.4.0"."v2_28" =
+ (f.gdk_pixbuf_sys."0.4.0"."v2_28" or false) ||
(f.gdk_pixbuf_sys."0.4.0".v2_30 or false) ||
(gdk_pixbuf_sys."0.4.0"."v2_30" or false); }
- { "0.4.0".v2_30 =
- (f.gdk_pixbuf_sys."0.4.0".v2_30 or false) ||
+ { "0.4.0"."v2_30" =
+ (f.gdk_pixbuf_sys."0.4.0"."v2_30" or false) ||
(f.gdk_pixbuf_sys."0.4.0".v2_32 or false) ||
(gdk_pixbuf_sys."0.4.0"."v2_32" or false); }
- { "0.4.0".v2_32 =
- (f.gdk_pixbuf_sys."0.4.0".v2_32 or false) ||
+ { "0.4.0"."v2_32" =
+ (f.gdk_pixbuf_sys."0.4.0"."v2_32" or false) ||
(f.gdk_pixbuf_sys."0.4.0".v2_36 or false) ||
(gdk_pixbuf_sys."0.4.0"."v2_36" or false); }
+ { "0.4.0".default = (f.gdk_pixbuf_sys."0.4.0".default or true); }
];
gio_sys."${deps.gdk_pixbuf_sys."0.4.0".gio_sys}".default = true;
glib_sys."${deps.gdk_pixbuf_sys."0.4.0".glib_sys}".default = true;
@@ -680,13 +705,14 @@ rec {
crates.getopts."0.2.18" = deps: { features?(features_.getopts."0.2.18" deps {}) }: buildRustCrate {
crateName = "getopts";
version = "0.2.18";
+ description = "getopts-like option parsing.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "0c1m95wg8pkvdq4mwcd2v78r1lb6a5s3ljm7158dsl56mvzcwd5y";
dependencies = mapFeatures features ([
(crates."unicode_width"."${deps."getopts"."0.2.18"."unicode_width"}" deps)
]);
};
- features_.getopts."0.2.18" = deps: f: updateFeatures f (rec {
+ features_.getopts."0.2.18" = deps: f: updateFeatures f ({
getopts."0.2.18".default = (f.getopts."0.2.18".default or true);
unicode_width."${deps.getopts."0.2.18".unicode_width}".default = true;
}) [
@@ -700,6 +726,7 @@ rec {
crates.gio_sys."0.4.0" = deps: { features?(features_.gio_sys."0.4.0" deps {}) }: buildRustCrate {
crateName = "gio-sys";
version = "0.4.0";
+ description = "FFI bindings to libgio-2.0";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "064lv6h3qfgjzc6pbbxgln24b2fq9gxzh78z6d7fwfa97azllv2l";
libName = "gio_sys";
@@ -719,39 +746,39 @@ rec {
features_.gio_sys."0.4.0" = deps: f: updateFeatures f (rec {
bitflags."${deps.gio_sys."0.4.0".bitflags}".default = true;
gio_sys = fold recursiveUpdate {} [
- { "0.4.0".default = (f.gio_sys."0.4.0".default or true); }
- { "0.4.0".v2_34 =
- (f.gio_sys."0.4.0".v2_34 or false) ||
+ { "0.4.0"."v2_34" =
+ (f.gio_sys."0.4.0"."v2_34" or false) ||
(f.gio_sys."0.4.0".v2_36 or false) ||
(gio_sys."0.4.0"."v2_36" or false); }
- { "0.4.0".v2_36 =
- (f.gio_sys."0.4.0".v2_36 or false) ||
+ { "0.4.0"."v2_36" =
+ (f.gio_sys."0.4.0"."v2_36" or false) ||
(f.gio_sys."0.4.0".v2_38 or false) ||
(gio_sys."0.4.0"."v2_38" or false); }
- { "0.4.0".v2_38 =
- (f.gio_sys."0.4.0".v2_38 or false) ||
+ { "0.4.0"."v2_38" =
+ (f.gio_sys."0.4.0"."v2_38" or false) ||
(f.gio_sys."0.4.0".v2_40 or false) ||
(gio_sys."0.4.0"."v2_40" or false); }
- { "0.4.0".v2_40 =
- (f.gio_sys."0.4.0".v2_40 or false) ||
+ { "0.4.0"."v2_40" =
+ (f.gio_sys."0.4.0"."v2_40" or false) ||
(f.gio_sys."0.4.0".v2_42 or false) ||
(gio_sys."0.4.0"."v2_42" or false); }
- { "0.4.0".v2_42 =
- (f.gio_sys."0.4.0".v2_42 or false) ||
+ { "0.4.0"."v2_42" =
+ (f.gio_sys."0.4.0"."v2_42" or false) ||
(f.gio_sys."0.4.0".v2_44 or false) ||
(gio_sys."0.4.0"."v2_44" or false); }
- { "0.4.0".v2_44 =
- (f.gio_sys."0.4.0".v2_44 or false) ||
+ { "0.4.0"."v2_44" =
+ (f.gio_sys."0.4.0"."v2_44" or false) ||
(f.gio_sys."0.4.0".v2_46 or false) ||
(gio_sys."0.4.0"."v2_46" or false); }
- { "0.4.0".v2_46 =
- (f.gio_sys."0.4.0".v2_46 or false) ||
+ { "0.4.0"."v2_46" =
+ (f.gio_sys."0.4.0"."v2_46" or false) ||
(f.gio_sys."0.4.0".v2_48 or false) ||
(gio_sys."0.4.0"."v2_48" or false); }
- { "0.4.0".v2_48 =
- (f.gio_sys."0.4.0".v2_48 or false) ||
+ { "0.4.0"."v2_48" =
+ (f.gio_sys."0.4.0"."v2_48" or false) ||
(f.gio_sys."0.4.0".v2_50 or false) ||
(gio_sys."0.4.0"."v2_50" or false); }
+ { "0.4.0".default = (f.gio_sys."0.4.0".default or true); }
];
glib_sys."${deps.gio_sys."0.4.0".glib_sys}".default = true;
gobject_sys."${deps.gio_sys."0.4.0".gobject_sys}".default = true;
@@ -772,6 +799,7 @@ rec {
crates.glib."0.3.1" = deps: { features?(features_.glib."0.3.1" deps {}) }: buildRustCrate {
crateName = "glib";
version = "0.3.1";
+ description = "Rust bindings for the GLib library";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "00s3n0pd8by1fk2l01mxmbnqq4ff6wadnkcf9jbjvr1l9bzgyqbl";
dependencies = mapFeatures features ([
@@ -786,31 +814,31 @@ rec {
features_.glib."0.3.1" = deps: f: updateFeatures f (rec {
bitflags."${deps.glib."0.3.1".bitflags}".default = true;
glib = fold recursiveUpdate {} [
- { "0.3.1".default = (f.glib."0.3.1".default or true); }
- { "0.3.1".v2_34 =
- (f.glib."0.3.1".v2_34 or false) ||
+ { "0.3.1"."v2_34" =
+ (f.glib."0.3.1"."v2_34" or false) ||
(f.glib."0.3.1".v2_38 or false) ||
(glib."0.3.1"."v2_38" or false); }
- { "0.3.1".v2_38 =
- (f.glib."0.3.1".v2_38 or false) ||
+ { "0.3.1"."v2_38" =
+ (f.glib."0.3.1"."v2_38" or false) ||
(f.glib."0.3.1".v2_40 or false) ||
(glib."0.3.1"."v2_40" or false); }
- { "0.3.1".v2_40 =
- (f.glib."0.3.1".v2_40 or false) ||
+ { "0.3.1"."v2_40" =
+ (f.glib."0.3.1"."v2_40" or false) ||
(f.glib."0.3.1".v2_44 or false) ||
(glib."0.3.1"."v2_44" or false); }
- { "0.3.1".v2_44 =
- (f.glib."0.3.1".v2_44 or false) ||
+ { "0.3.1"."v2_44" =
+ (f.glib."0.3.1"."v2_44" or false) ||
(f.glib."0.3.1".v2_46 or false) ||
(glib."0.3.1"."v2_46" or false); }
- { "0.3.1".v2_46 =
- (f.glib."0.3.1".v2_46 or false) ||
+ { "0.3.1"."v2_46" =
+ (f.glib."0.3.1"."v2_46" or false) ||
(f.glib."0.3.1".v2_48 or false) ||
(glib."0.3.1"."v2_48" or false); }
- { "0.3.1".v2_48 =
- (f.glib."0.3.1".v2_48 or false) ||
+ { "0.3.1"."v2_48" =
+ (f.glib."0.3.1"."v2_48" or false) ||
(f.glib."0.3.1".v2_50 or false) ||
(glib."0.3.1"."v2_50" or false); }
+ { "0.3.1".default = (f.glib."0.3.1".default or true); }
];
glib_sys = fold recursiveUpdate {} [
{ "${deps.glib."0.3.1".glib_sys}"."v2_34" =
@@ -879,6 +907,7 @@ rec {
crates.glib_sys."0.4.0" = deps: { features?(features_.glib_sys."0.4.0" deps {}) }: buildRustCrate {
crateName = "glib-sys";
version = "0.4.0";
+ description = "FFI bindings to libglib-2.0";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "153i1zmk824hdf8agkaqcgddlwpvgng71n7bdpaav5f4zzlfyp2w";
libName = "glib_sys";
@@ -896,35 +925,35 @@ rec {
features_.glib_sys."0.4.0" = deps: f: updateFeatures f (rec {
bitflags."${deps.glib_sys."0.4.0".bitflags}".default = true;
glib_sys = fold recursiveUpdate {} [
- { "0.4.0".default = (f.glib_sys."0.4.0".default or true); }
- { "0.4.0".v2_34 =
- (f.glib_sys."0.4.0".v2_34 or false) ||
+ { "0.4.0"."v2_34" =
+ (f.glib_sys."0.4.0"."v2_34" or false) ||
(f.glib_sys."0.4.0".v2_36 or false) ||
(glib_sys."0.4.0"."v2_36" or false); }
- { "0.4.0".v2_36 =
- (f.glib_sys."0.4.0".v2_36 or false) ||
+ { "0.4.0"."v2_36" =
+ (f.glib_sys."0.4.0"."v2_36" or false) ||
(f.glib_sys."0.4.0".v2_38 or false) ||
(glib_sys."0.4.0"."v2_38" or false); }
- { "0.4.0".v2_38 =
- (f.glib_sys."0.4.0".v2_38 or false) ||
+ { "0.4.0"."v2_38" =
+ (f.glib_sys."0.4.0"."v2_38" or false) ||
(f.glib_sys."0.4.0".v2_40 or false) ||
(glib_sys."0.4.0"."v2_40" or false); }
- { "0.4.0".v2_40 =
- (f.glib_sys."0.4.0".v2_40 or false) ||
+ { "0.4.0"."v2_40" =
+ (f.glib_sys."0.4.0"."v2_40" or false) ||
(f.glib_sys."0.4.0".v2_44 or false) ||
(glib_sys."0.4.0"."v2_44" or false); }
- { "0.4.0".v2_44 =
- (f.glib_sys."0.4.0".v2_44 or false) ||
+ { "0.4.0"."v2_44" =
+ (f.glib_sys."0.4.0"."v2_44" or false) ||
(f.glib_sys."0.4.0".v2_46 or false) ||
(glib_sys."0.4.0"."v2_46" or false); }
- { "0.4.0".v2_46 =
- (f.glib_sys."0.4.0".v2_46 or false) ||
+ { "0.4.0"."v2_46" =
+ (f.glib_sys."0.4.0"."v2_46" or false) ||
(f.glib_sys."0.4.0".v2_48 or false) ||
(glib_sys."0.4.0"."v2_48" or false); }
- { "0.4.0".v2_48 =
- (f.glib_sys."0.4.0".v2_48 or false) ||
+ { "0.4.0"."v2_48" =
+ (f.glib_sys."0.4.0"."v2_48" or false) ||
(f.glib_sys."0.4.0".v2_50 or false) ||
(glib_sys."0.4.0"."v2_50" or false); }
+ { "0.4.0".default = (f.glib_sys."0.4.0".default or true); }
];
libc."${deps.glib_sys."0.4.0".libc}".default = true;
pkg_config."${deps.glib_sys."0.4.0".pkg_config}".default = true;
@@ -941,6 +970,7 @@ rec {
crates.gobject_sys."0.4.0" = deps: { features?(features_.gobject_sys."0.4.0" deps {}) }: buildRustCrate {
crateName = "gobject-sys";
version = "0.4.0";
+ description = "FFI bindings to libgobject-2.0";
authors = [ "The Gtk-rs Project Developers" ];
sha256 = "00zmcbzqfhn9w01cphhf3hbq8ldd9ajba7x07z59vv1gdq6wjzli";
libName = "gobject_sys";
@@ -960,27 +990,27 @@ rec {
bitflags."${deps.gobject_sys."0.4.0".bitflags}".default = true;
glib_sys."${deps.gobject_sys."0.4.0".glib_sys}".default = true;
gobject_sys = fold recursiveUpdate {} [
- { "0.4.0".default = (f.gobject_sys."0.4.0".default or true); }
- { "0.4.0".v2_34 =
- (f.gobject_sys."0.4.0".v2_34 or false) ||
+ { "0.4.0"."v2_34" =
+ (f.gobject_sys."0.4.0"."v2_34" or false) ||
(f.gobject_sys."0.4.0".v2_36 or false) ||
(gobject_sys."0.4.0"."v2_36" or false); }
- { "0.4.0".v2_36 =
- (f.gobject_sys."0.4.0".v2_36 or false) ||
+ { "0.4.0"."v2_36" =
+ (f.gobject_sys."0.4.0"."v2_36" or false) ||
(f.gobject_sys."0.4.0".v2_38 or false) ||
(gobject_sys."0.4.0"."v2_38" or false); }
- { "0.4.0".v2_38 =
- (f.gobject_sys."0.4.0".v2_38 or false) ||
+ { "0.4.0"."v2_38" =
+ (f.gobject_sys."0.4.0"."v2_38" or false) ||
(f.gobject_sys."0.4.0".v2_42 or false) ||
(gobject_sys."0.4.0"."v2_42" or false); }
- { "0.4.0".v2_42 =
- (f.gobject_sys."0.4.0".v2_42 or false) ||
+ { "0.4.0"."v2_42" =
+ (f.gobject_sys."0.4.0"."v2_42" or false) ||
(f.gobject_sys."0.4.0".v2_44 or false) ||
(gobject_sys."0.4.0"."v2_44" or false); }
- { "0.4.0".v2_44 =
- (f.gobject_sys."0.4.0".v2_44 or false) ||
+ { "0.4.0"."v2_44" =
+ (f.gobject_sys."0.4.0"."v2_44" or false) ||
(f.gobject_sys."0.4.0".v2_46 or false) ||
(gobject_sys."0.4.0"."v2_46" or false); }
+ { "0.4.0".default = (f.gobject_sys."0.4.0".default or true); }
];
libc."${deps.gobject_sys."0.4.0".libc}".default = true;
pkg_config."${deps.gobject_sys."0.4.0".pkg_config}".default = true;
@@ -998,11 +1028,12 @@ rec {
crates.itoa."0.3.4" = deps: { features?(features_.itoa."0.3.4" deps {}) }: buildRustCrate {
crateName = "itoa";
version = "0.3.4";
+ description = "Fast functions for printing integer primitives to an io::Write";
authors = [ "David Tolnay " ];
sha256 = "1nfkzz6vrgj0d9l3yzjkkkqzdgs68y294fjdbl7jq118qi8xc9d9";
features = mkFeatures (features."itoa"."0.3.4" or {});
};
- features_.itoa."0.3.4" = deps: f: updateFeatures f (rec {
+ features_.itoa."0.3.4" = deps: f: updateFeatures f ({
itoa."0.3.4".default = (f.itoa."0.3.4".default or true);
}) [];
@@ -1013,13 +1044,14 @@ rec {
crates.json_macro."0.1.1" = deps: { features?(features_.json_macro."0.1.1" deps {}) }: buildRustCrate {
crateName = "json_macro";
version = "0.1.1";
+ description = "Pure json macro for rust_serialize. No need compiler features.";
authors = [ "Denis Kolodin " ];
sha256 = "0hl2934shpwqbszrq035valbdz9y8p7dza183brygy5dbvivcyqy";
dependencies = mapFeatures features ([
(crates."rustc_serialize"."${deps."json_macro"."0.1.1"."rustc_serialize"}" deps)
]);
};
- features_.json_macro."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.json_macro."0.1.1" = deps: f: updateFeatures f ({
json_macro."0.1.1".default = (f.json_macro."0.1.1".default or true);
rustc_serialize."${deps.json_macro."0.1.1".rustc_serialize}".default = true;
}) [
@@ -1033,6 +1065,7 @@ rec {
crates.kernel32_sys."0.2.2" = deps: { features?(features_.kernel32_sys."0.2.2" deps {}) }: buildRustCrate {
crateName = "kernel32-sys";
version = "0.2.2";
+ description = "Contains function definitions for the Windows API library kernel32. See winapi for types and constants.";
authors = [ "Peter Atashian " ];
sha256 = "1lrw1hbinyvr6cp28g60z97w32w8vsk6pahk64pmrv2fmby8srfj";
libName = "kernel32";
@@ -1045,7 +1078,7 @@ rec {
(crates."winapi_build"."${deps."kernel32_sys"."0.2.2"."winapi_build"}" deps)
]);
};
- features_.kernel32_sys."0.2.2" = deps: f: updateFeatures f (rec {
+ features_.kernel32_sys."0.2.2" = deps: f: updateFeatures f ({
kernel32_sys."0.2.2".default = (f.kernel32_sys."0.2.2".default or true);
winapi."${deps.kernel32_sys."0.2.2".winapi}".default = true;
winapi_build."${deps.kernel32_sys."0.2.2".winapi_build}".default = true;
@@ -1061,6 +1094,7 @@ rec {
crates.lazy_static."0.2.11" = deps: { features?(features_.lazy_static."0.2.11" deps {}) }: buildRustCrate {
crateName = "lazy_static";
version = "0.2.11";
+ description = "A macro for declaring lazily evaluated statics in Rust.";
authors = [ "Marvin Löbel " ];
sha256 = "1x6871cvpy5b96yv4c7jvpq316fp5d4609s9py7qk6cd6x9k34vm";
dependencies = mapFeatures features ([
@@ -1069,19 +1103,19 @@ rec {
};
features_.lazy_static."0.2.11" = deps: f: updateFeatures f (rec {
lazy_static = fold recursiveUpdate {} [
- { "0.2.11".compiletest_rs =
- (f.lazy_static."0.2.11".compiletest_rs or false) ||
+ { "0.2.11"."compiletest_rs" =
+ (f.lazy_static."0.2.11"."compiletest_rs" or false) ||
(f.lazy_static."0.2.11".compiletest or false) ||
(lazy_static."0.2.11"."compiletest" or false); }
+ { "0.2.11"."nightly" =
+ (f.lazy_static."0.2.11"."nightly" or false) ||
+ (f.lazy_static."0.2.11".spin_no_std or false) ||
+ (lazy_static."0.2.11"."spin_no_std" or false); }
+ { "0.2.11"."spin" =
+ (f.lazy_static."0.2.11"."spin" or false) ||
+ (f.lazy_static."0.2.11".spin_no_std or false) ||
+ (lazy_static."0.2.11"."spin_no_std" or false); }
{ "0.2.11".default = (f.lazy_static."0.2.11".default or true); }
- { "0.2.11".nightly =
- (f.lazy_static."0.2.11".nightly or false) ||
- (f.lazy_static."0.2.11".spin_no_std or false) ||
- (lazy_static."0.2.11"."spin_no_std" or false); }
- { "0.2.11".spin =
- (f.lazy_static."0.2.11".spin or false) ||
- (f.lazy_static."0.2.11".spin_no_std or false) ||
- (lazy_static."0.2.11"."spin_no_std" or false); }
];
}) [];
@@ -1092,6 +1126,7 @@ rec {
crates.lazy_static."1.2.0" = deps: { features?(features_.lazy_static."1.2.0" deps {}) }: buildRustCrate {
crateName = "lazy_static";
version = "1.2.0";
+ description = "A macro for declaring lazily evaluated statics in Rust.";
authors = [ "Marvin Löbel " ];
sha256 = "07p3b30k2akyr6xw08ggd5qiz5nw3vd3agggj360fcc1njz7d0ss";
dependencies = mapFeatures features ([
@@ -1100,11 +1135,11 @@ rec {
};
features_.lazy_static."1.2.0" = deps: f: updateFeatures f (rec {
lazy_static = fold recursiveUpdate {} [
- { "1.2.0".default = (f.lazy_static."1.2.0".default or true); }
- { "1.2.0".spin =
- (f.lazy_static."1.2.0".spin or false) ||
+ { "1.2.0"."spin" =
+ (f.lazy_static."1.2.0"."spin" or false) ||
(f.lazy_static."1.2.0".spin_no_std or false) ||
(lazy_static."1.2.0"."spin_no_std" or false); }
+ { "1.2.0".default = (f.lazy_static."1.2.0".default or true); }
];
}) [];
@@ -1115,6 +1150,7 @@ rec {
crates.libc."0.2.44" = deps: { features?(features_.libc."0.2.44" deps {}) }: buildRustCrate {
crateName = "libc";
version = "0.2.44";
+ description = "A library for types and bindings to native C functions often found in libc or\nother common platform libraries.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "17a7p0lcf3qwl1pcxffdflgnx8zr2659mgzzg4zi5fnv1mlj3q6z";
build = "build.rs";
@@ -1124,19 +1160,19 @@ rec {
};
features_.libc."0.2.44" = deps: f: updateFeatures f (rec {
libc = fold recursiveUpdate {} [
- { "0.2.44".align =
- (f.libc."0.2.44".align or false) ||
+ { "0.2.44"."align" =
+ (f.libc."0.2.44"."align" or false) ||
(f.libc."0.2.44".rustc-dep-of-std or false) ||
(libc."0.2.44"."rustc-dep-of-std" or false); }
- { "0.2.44".default = (f.libc."0.2.44".default or true); }
- { "0.2.44".rustc-std-workspace-core =
- (f.libc."0.2.44".rustc-std-workspace-core or false) ||
+ { "0.2.44"."rustc-std-workspace-core" =
+ (f.libc."0.2.44"."rustc-std-workspace-core" or false) ||
(f.libc."0.2.44".rustc-dep-of-std or false) ||
(libc."0.2.44"."rustc-dep-of-std" or false); }
- { "0.2.44".use_std =
- (f.libc."0.2.44".use_std or false) ||
+ { "0.2.44"."use_std" =
+ (f.libc."0.2.44"."use_std" or false) ||
(f.libc."0.2.44".default or false) ||
(libc."0.2.44"."default" or false); }
+ { "0.2.44".default = (f.libc."0.2.44".default or true); }
];
}) [];
@@ -1147,6 +1183,7 @@ rec {
crates.libloading."0.3.4" = deps: { features?(features_.libloading."0.3.4" deps {}) }: buildRustCrate {
crateName = "libloading";
version = "0.3.4";
+ description = "A safer binding to platform’s dynamic library loading utilities";
authors = [ "Simonas Kazlauskas " ];
sha256 = "1f2vy32cr434n638nv8sdf05iwa53q9q5ahlcpw1l9ywh1bcbhf1";
build = "build.rs";
@@ -1162,7 +1199,7 @@ rec {
(crates."target_build_utils"."${deps."libloading"."0.3.4"."target_build_utils"}" deps)
]);
};
- features_.libloading."0.3.4" = deps: f: updateFeatures f (rec {
+ features_.libloading."0.3.4" = deps: f: updateFeatures f ({
kernel32_sys."${deps.libloading."0.3.4".kernel32_sys}".default = true;
lazy_static."${deps.libloading."0.3.4".lazy_static}".default = true;
libloading."0.3.4".default = (f.libloading."0.3.4".default or true);
@@ -1182,6 +1219,7 @@ rec {
crates.libloading."0.5.0" = deps: { features?(features_.libloading."0.5.0" deps {}) }: buildRustCrate {
crateName = "libloading";
version = "0.5.0";
+ description = "A safer binding to platform’s dynamic library loading utilities";
authors = [ "Simonas Kazlauskas " ];
sha256 = "11vzjaka1y979aril4ggwp33p35yz2isvx9m5w88r5sdcmq6iscn";
build = "build.rs";
@@ -1193,7 +1231,7 @@ rec {
(crates."cc"."${deps."libloading"."0.5.0"."cc"}" deps)
]);
};
- features_.libloading."0.5.0" = deps: f: updateFeatures f (rec {
+ features_.libloading."0.5.0" = deps: f: updateFeatures f ({
cc."${deps.libloading."0.5.0".cc}".default = true;
libloading."0.5.0".default = (f.libloading."0.5.0".default or true);
winapi = fold recursiveUpdate {} [
@@ -1214,6 +1252,7 @@ rec {
crates.log."0.3.9" = deps: { features?(features_.log."0.3.9" deps {}) }: buildRustCrate {
crateName = "log";
version = "0.3.9";
+ description = "A lightweight logging facade for Rust\n";
authors = [ "The Rust Project Developers" ];
sha256 = "19i9pwp7lhaqgzangcpw00kc3zsgcqcx84crv07xgz3v7d3kvfa2";
dependencies = mapFeatures features ([
@@ -1276,11 +1315,11 @@ rec {
(log."0.3.9"."use_std" or false) ||
(f."log"."0.3.9"."use_std" or false); }
{ "${deps.log."0.3.9".log}".default = true; }
- { "0.3.9".default = (f.log."0.3.9".default or true); }
- { "0.3.9".use_std =
- (f.log."0.3.9".use_std or false) ||
+ { "0.3.9"."use_std" =
+ (f.log."0.3.9"."use_std" or false) ||
(f.log."0.3.9".default or false) ||
(log."0.3.9"."default" or false); }
+ { "0.3.9".default = (f.log."0.3.9".default or true); }
];
}) [
(features_.log."${deps."log"."0.3.9"."log"}" deps)
@@ -1293,6 +1332,7 @@ rec {
crates.log."0.4.6" = deps: { features?(features_.log."0.4.6" deps {}) }: buildRustCrate {
crateName = "log";
version = "0.4.6";
+ description = "A lightweight logging facade for Rust\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1nd8dl9mvc9vd6fks5d4gsxaz990xi6rzlb8ymllshmwi153vngr";
dependencies = mapFeatures features ([
@@ -1300,7 +1340,7 @@ rec {
]);
features = mkFeatures (features."log"."0.4.6" or {});
};
- features_.log."0.4.6" = deps: f: updateFeatures f (rec {
+ features_.log."0.4.6" = deps: f: updateFeatures f ({
cfg_if."${deps.log."0.4.6".cfg_if}".default = true;
log."0.4.6".default = (f.log."0.4.6".default or true);
}) [
@@ -1314,13 +1354,14 @@ rec {
crates.memchr."0.1.11" = deps: { features?(features_.memchr."0.1.11" deps {}) }: buildRustCrate {
crateName = "memchr";
version = "0.1.11";
+ description = "Safe interface to memchr.";
authors = [ "Andrew Gallant " "bluss" ];
sha256 = "0x73jghamvxxq5fsw9wb0shk5m6qp3q6fsf0nibn0i6bbqkw91s8";
dependencies = mapFeatures features ([
(crates."libc"."${deps."memchr"."0.1.11"."libc"}" deps)
]);
};
- features_.memchr."0.1.11" = deps: f: updateFeatures f (rec {
+ features_.memchr."0.1.11" = deps: f: updateFeatures f ({
libc."${deps.memchr."0.1.11".libc}".default = true;
memchr."0.1.11".default = (f.memchr."0.1.11".default or true);
}) [
@@ -1334,6 +1375,7 @@ rec {
crates.nix."0.6.0" = deps: { features?(features_.nix."0.6.0" deps {}) }: buildRustCrate {
crateName = "nix";
version = "0.6.0";
+ description = "Rust friendly bindings to *nix APIs";
authors = [ "Carl Lerche " ];
sha256 = "1bgh75y897isnxbw3vd79vns9h6q4d59p1cgv9c4laysyw6fkqwf";
build = "build.rs";
@@ -1350,7 +1392,7 @@ rec {
]);
features = mkFeatures (features."nix"."0.6.0" or {});
};
- features_.nix."0.6.0" = deps: f: updateFeatures f (rec {
+ features_.nix."0.6.0" = deps: f: updateFeatures f ({
bitflags."${deps.nix."0.6.0".bitflags}".default = true;
cfg_if."${deps.nix."0.6.0".cfg_if}".default = true;
libc."${deps.nix."0.6.0".libc}".default = true;
@@ -1374,6 +1416,7 @@ rec {
crates.nix."0.9.0" = deps: { features?(features_.nix."0.9.0" deps {}) }: buildRustCrate {
crateName = "nix";
version = "0.9.0";
+ description = "Rust friendly bindings to *nix APIs";
authors = [ "The nix-rust Project Developers" ];
sha256 = "00p63bphzwwn460rja5l2wcpgmv7ljf7illf6n95cppx63d180q0";
dependencies = mapFeatures features ([
@@ -1383,7 +1426,7 @@ rec {
(crates."void"."${deps."nix"."0.9.0"."void"}" deps)
]);
};
- features_.nix."0.9.0" = deps: f: updateFeatures f (rec {
+ features_.nix."0.9.0" = deps: f: updateFeatures f ({
bitflags."${deps.nix."0.9.0".bitflags}".default = true;
cfg_if."${deps.nix."0.9.0".cfg_if}".default = true;
libc."${deps.nix."0.9.0".libc}".default = true;
@@ -1403,13 +1446,14 @@ rec {
crates.num_traits."0.1.43" = deps: { features?(features_.num_traits."0.1.43" deps {}) }: buildRustCrate {
crateName = "num-traits";
version = "0.1.43";
+ description = "Numeric traits for generic mathematics";
authors = [ "The Rust Project Developers" ];
sha256 = "1zdzx78vrcg3f39w94pqjs1mwxl1phyv7843hwgwkzggwcxhhf6s";
dependencies = mapFeatures features ([
(crates."num_traits"."${deps."num_traits"."0.1.43"."num_traits"}" deps)
]);
};
- features_.num_traits."0.1.43" = deps: f: updateFeatures f (rec {
+ features_.num_traits."0.1.43" = deps: f: updateFeatures f ({
num_traits = fold recursiveUpdate {} [
{ "${deps.num_traits."0.1.43".num_traits}".default = true; }
{ "0.1.43".default = (f.num_traits."0.1.43".default or true); }
@@ -1425,6 +1469,7 @@ rec {
crates.num_traits."0.2.6" = deps: { features?(features_.num_traits."0.2.6" deps {}) }: buildRustCrate {
crateName = "num-traits";
version = "0.2.6";
+ description = "Numeric traits for generic mathematics";
authors = [ "The Rust Project Developers" ];
sha256 = "1d20sil9n0wgznd1nycm3yjfj1mzyl41ambb7by1apxlyiil1azk";
build = "build.rs";
@@ -1432,11 +1477,11 @@ rec {
};
features_.num_traits."0.2.6" = deps: f: updateFeatures f (rec {
num_traits = fold recursiveUpdate {} [
- { "0.2.6".default = (f.num_traits."0.2.6".default or true); }
- { "0.2.6".std =
- (f.num_traits."0.2.6".std or false) ||
+ { "0.2.6"."std" =
+ (f.num_traits."0.2.6"."std" or false) ||
(f.num_traits."0.2.6".default or false) ||
(num_traits."0.2.6"."default" or false); }
+ { "0.2.6".default = (f.num_traits."0.2.6".default or true); }
];
}) [];
@@ -1447,6 +1492,7 @@ rec {
crates.ordermap."0.3.5" = deps: { features?(features_.ordermap."0.3.5" deps {}) }: buildRustCrate {
crateName = "ordermap";
version = "0.3.5";
+ description = "A hash table with consistent order and fast iteration.";
authors = [ "bluss" ];
sha256 = "0b6vxfyh627yqm6war3392g1hhi4dbn49ibx2qv6mv490jdhv7d3";
dependencies = mapFeatures features ([
@@ -1455,11 +1501,11 @@ rec {
};
features_.ordermap."0.3.5" = deps: f: updateFeatures f (rec {
ordermap = fold recursiveUpdate {} [
- { "0.3.5".default = (f.ordermap."0.3.5".default or true); }
- { "0.3.5".serde =
- (f.ordermap."0.3.5".serde or false) ||
+ { "0.3.5"."serde" =
+ (f.ordermap."0.3.5"."serde" or false) ||
(f.ordermap."0.3.5".serde-1 or false) ||
(ordermap."0.3.5"."serde-1" or false); }
+ { "0.3.5".default = (f.ordermap."0.3.5".default or true); }
];
}) [];
@@ -1470,6 +1516,7 @@ rec {
crates.petgraph."0.4.13" = deps: { features?(features_.petgraph."0.4.13" deps {}) }: buildRustCrate {
crateName = "petgraph";
version = "0.4.13";
+ description = "Graph data structure library. Provides graph types and graph algorithms.";
authors = [ "bluss" "mitchmindtree" ];
sha256 = "0a8k12b9vd0bndwqhafa853w186axdw05bv4kqjimyaz67428g1i";
dependencies = mapFeatures features ([
@@ -1482,43 +1529,43 @@ rec {
fixedbitset."${deps.petgraph."0.4.13".fixedbitset}".default = true;
ordermap."${deps.petgraph."0.4.13".ordermap}".default = true;
petgraph = fold recursiveUpdate {} [
- { "0.4.13".default = (f.petgraph."0.4.13".default or true); }
- { "0.4.13".generate =
- (f.petgraph."0.4.13".generate or false) ||
+ { "0.4.13"."generate" =
+ (f.petgraph."0.4.13"."generate" or false) ||
(f.petgraph."0.4.13".unstable or false) ||
(petgraph."0.4.13"."unstable" or false); }
- { "0.4.13".graphmap =
- (f.petgraph."0.4.13".graphmap or false) ||
+ { "0.4.13"."graphmap" =
+ (f.petgraph."0.4.13"."graphmap" or false) ||
(f.petgraph."0.4.13".all or false) ||
(petgraph."0.4.13"."all" or false) ||
(f.petgraph."0.4.13".default or false) ||
(petgraph."0.4.13"."default" or false); }
- { "0.4.13".ordermap =
- (f.petgraph."0.4.13".ordermap or false) ||
+ { "0.4.13"."ordermap" =
+ (f.petgraph."0.4.13"."ordermap" or false) ||
(f.petgraph."0.4.13".graphmap or false) ||
(petgraph."0.4.13"."graphmap" or false); }
- { "0.4.13".quickcheck =
- (f.petgraph."0.4.13".quickcheck or false) ||
+ { "0.4.13"."quickcheck" =
+ (f.petgraph."0.4.13"."quickcheck" or false) ||
(f.petgraph."0.4.13".all or false) ||
(petgraph."0.4.13"."all" or false); }
- { "0.4.13".serde =
- (f.petgraph."0.4.13".serde or false) ||
+ { "0.4.13"."serde" =
+ (f.petgraph."0.4.13"."serde" or false) ||
(f.petgraph."0.4.13".serde-1 or false) ||
(petgraph."0.4.13"."serde-1" or false); }
- { "0.4.13".serde_derive =
- (f.petgraph."0.4.13".serde_derive or false) ||
+ { "0.4.13"."serde_derive" =
+ (f.petgraph."0.4.13"."serde_derive" or false) ||
(f.petgraph."0.4.13".serde-1 or false) ||
(petgraph."0.4.13"."serde-1" or false); }
- { "0.4.13".stable_graph =
- (f.petgraph."0.4.13".stable_graph or false) ||
+ { "0.4.13"."stable_graph" =
+ (f.petgraph."0.4.13"."stable_graph" or false) ||
(f.petgraph."0.4.13".all or false) ||
(petgraph."0.4.13"."all" or false) ||
(f.petgraph."0.4.13".default or false) ||
(petgraph."0.4.13"."default" or false); }
- { "0.4.13".unstable =
- (f.petgraph."0.4.13".unstable or false) ||
+ { "0.4.13"."unstable" =
+ (f.petgraph."0.4.13"."unstable" or false) ||
(f.petgraph."0.4.13".all or false) ||
(petgraph."0.4.13"."all" or false); }
+ { "0.4.13".default = (f.petgraph."0.4.13".default or true); }
];
}) [
(features_.fixedbitset."${deps."petgraph"."0.4.13"."fixedbitset"}" deps)
@@ -1532,6 +1579,7 @@ rec {
crates.phf."0.7.23" = deps: { features?(features_.phf."0.7.23" deps {}) }: buildRustCrate {
crateName = "phf";
version = "0.7.23";
+ description = "Runtime support for perfect hash function data structures";
authors = [ "Steven Fackler " ];
sha256 = "0annmaf9mmm12g2cdwpip32p674pmsf6xpiwa27mz3glmz73y8aq";
libPath = "src/lib.rs";
@@ -1564,6 +1612,7 @@ rec {
crates.phf_codegen."0.7.23" = deps: { features?(features_.phf_codegen."0.7.23" deps {}) }: buildRustCrate {
crateName = "phf_codegen";
version = "0.7.23";
+ description = "Codegen library for PHF types";
authors = [ "Steven Fackler " ];
sha256 = "0k5ly0qykw56fxd19iy236wzghqdxq9zxnzcg8nm22cfzw4a35n0";
dependencies = mapFeatures features ([
@@ -1571,7 +1620,7 @@ rec {
(crates."phf_shared"."${deps."phf_codegen"."0.7.23"."phf_shared"}" deps)
]);
};
- features_.phf_codegen."0.7.23" = deps: f: updateFeatures f (rec {
+ features_.phf_codegen."0.7.23" = deps: f: updateFeatures f ({
phf_codegen."0.7.23".default = (f.phf_codegen."0.7.23".default or true);
phf_generator."${deps.phf_codegen."0.7.23".phf_generator}".default = true;
phf_shared."${deps.phf_codegen."0.7.23".phf_shared}".default = true;
@@ -1587,6 +1636,7 @@ rec {
crates.phf_generator."0.7.23" = deps: { features?(features_.phf_generator."0.7.23" deps {}) }: buildRustCrate {
crateName = "phf_generator";
version = "0.7.23";
+ description = "PHF generation logic";
authors = [ "Steven Fackler " ];
sha256 = "106cd0bx3jf7mf2gaa8nx62c1las1w95c5gwsd4yqm5lj2rj4mza";
dependencies = mapFeatures features ([
@@ -1594,7 +1644,7 @@ rec {
(crates."rand"."${deps."phf_generator"."0.7.23"."rand"}" deps)
]);
};
- features_.phf_generator."0.7.23" = deps: f: updateFeatures f (rec {
+ features_.phf_generator."0.7.23" = deps: f: updateFeatures f ({
phf_generator."0.7.23".default = (f.phf_generator."0.7.23".default or true);
phf_shared."${deps.phf_generator."0.7.23".phf_shared}".default = true;
rand."${deps.phf_generator."0.7.23".rand}".default = true;
@@ -1610,6 +1660,7 @@ rec {
crates.phf_shared."0.7.23" = deps: { features?(features_.phf_shared."0.7.23" deps {}) }: buildRustCrate {
crateName = "phf_shared";
version = "0.7.23";
+ description = "Support code shared by PHF libraries";
authors = [ "Steven Fackler " ];
sha256 = "04gzsq9vg9j8cr39hpkddxb0yqjdknvcpnylw112rqamy7ml4fy1";
libPath = "src/lib.rs";
@@ -1618,7 +1669,7 @@ rec {
]);
features = mkFeatures (features."phf_shared"."0.7.23" or {});
};
- features_.phf_shared."0.7.23" = deps: f: updateFeatures f (rec {
+ features_.phf_shared."0.7.23" = deps: f: updateFeatures f ({
phf_shared."0.7.23".default = (f.phf_shared."0.7.23".default or true);
siphasher."${deps.phf_shared."0.7.23".siphasher}".default = true;
}) [
@@ -1632,10 +1683,11 @@ rec {
crates.pkg_config."0.3.14" = deps: { features?(features_.pkg_config."0.3.14" deps {}) }: buildRustCrate {
crateName = "pkg-config";
version = "0.3.14";
+ description = "A library to run the pkg-config system tool at build time in order to be used in\nCargo build scripts.\n";
authors = [ "Alex Crichton " ];
sha256 = "0207fsarrm412j0dh87lfcas72n8mxar7q3mgflsbsrqnb140sv6";
};
- features_.pkg_config."0.3.14" = deps: f: updateFeatures f (rec {
+ features_.pkg_config."0.3.14" = deps: f: updateFeatures f ({
pkg_config."0.3.14".default = (f.pkg_config."0.3.14".default or true);
}) [];
@@ -1646,6 +1698,7 @@ rec {
crates.rand."0.3.22" = deps: { features?(features_.rand."0.3.22" deps {}) }: buildRustCrate {
crateName = "rand";
version = "0.3.22";
+ description = "Random number generators and other randomness functionality.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "0wrj12acx7l4hr7ag3nz8b50yhp8ancyq988bzmnnsxln67rsys0";
dependencies = mapFeatures features ([
@@ -1662,11 +1715,11 @@ rec {
libc."${deps.rand."0.3.22".libc}".default = true;
rand = fold recursiveUpdate {} [
{ "${deps.rand."0.3.22".rand}".default = true; }
- { "0.3.22".default = (f.rand."0.3.22".default or true); }
- { "0.3.22".i128_support =
- (f.rand."0.3.22".i128_support or false) ||
+ { "0.3.22"."i128_support" =
+ (f.rand."0.3.22"."i128_support" or false) ||
(f.rand."0.3.22".nightly or false) ||
(rand."0.3.22"."nightly" or false); }
+ { "0.3.22".default = (f.rand."0.3.22".default or true); }
];
}) [
(features_.libc."${deps."rand"."0.3.22"."libc"}" deps)
@@ -1681,6 +1734,7 @@ rec {
crates.rand."0.4.3" = deps: { features?(features_.rand."0.4.3" deps {}) }: buildRustCrate {
crateName = "rand";
version = "0.4.3";
+ description = "Random number generators and other randomness functionality.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1644wri45l147822xy7dgdm4k7myxzs66cb795ga0x7dan11ci4f";
dependencies = (if kernel == "fuchsia" then mapFeatures features ([
@@ -1698,19 +1752,19 @@ rec {
fuchsia_zircon."${deps.rand."0.4.3".fuchsia_zircon}".default = true;
libc."${deps.rand."0.4.3".libc}".default = true;
rand = fold recursiveUpdate {} [
- { "0.4.3".default = (f.rand."0.4.3".default or true); }
- { "0.4.3".i128_support =
- (f.rand."0.4.3".i128_support or false) ||
+ { "0.4.3"."i128_support" =
+ (f.rand."0.4.3"."i128_support" or false) ||
(f.rand."0.4.3".nightly or false) ||
(rand."0.4.3"."nightly" or false); }
- { "0.4.3".libc =
- (f.rand."0.4.3".libc or false) ||
+ { "0.4.3"."libc" =
+ (f.rand."0.4.3"."libc" or false) ||
(f.rand."0.4.3".std or false) ||
(rand."0.4.3"."std" or false); }
- { "0.4.3".std =
- (f.rand."0.4.3".std or false) ||
+ { "0.4.3"."std" =
+ (f.rand."0.4.3"."std" or false) ||
(f.rand."0.4.3".default or false) ||
(rand."0.4.3"."default" or false); }
+ { "0.4.3".default = (f.rand."0.4.3".default or true); }
];
winapi = fold recursiveUpdate {} [
{ "${deps.rand."0.4.3".winapi}"."minwindef" = true; }
@@ -1732,6 +1786,7 @@ rec {
crates.rand."0.5.5" = deps: { features?(features_.rand."0.5.5" deps {}) }: buildRustCrate {
crateName = "rand";
version = "0.5.5";
+ description = "Random number generators and other randomness functionality.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "0d7pnsh57qxhz1ghrzk113ddkn13kf2g758ffnbxq4nhwjfzhlc9";
dependencies = mapFeatures features ([
@@ -1758,43 +1813,43 @@ rec {
fuchsia_zircon."${deps.rand."0.5.5".fuchsia_zircon}".default = true;
libc."${deps.rand."0.5.5".libc}".default = true;
rand = fold recursiveUpdate {} [
- { "0.5.5".alloc =
- (f.rand."0.5.5".alloc or false) ||
+ { "0.5.5"."alloc" =
+ (f.rand."0.5.5"."alloc" or false) ||
(f.rand."0.5.5".std or false) ||
(rand."0.5.5"."std" or false); }
- { "0.5.5".cloudabi =
- (f.rand."0.5.5".cloudabi or false) ||
+ { "0.5.5"."cloudabi" =
+ (f.rand."0.5.5"."cloudabi" or false) ||
+ (f.rand."0.5.5".std or false) ||
+ (rand."0.5.5"."std" or false); }
+ { "0.5.5"."fuchsia-zircon" =
+ (f.rand."0.5.5"."fuchsia-zircon" or false) ||
+ (f.rand."0.5.5".std or false) ||
+ (rand."0.5.5"."std" or false); }
+ { "0.5.5"."i128_support" =
+ (f.rand."0.5.5"."i128_support" or false) ||
+ (f.rand."0.5.5".nightly or false) ||
+ (rand."0.5.5"."nightly" or false); }
+ { "0.5.5"."libc" =
+ (f.rand."0.5.5"."libc" or false) ||
+ (f.rand."0.5.5".std or false) ||
+ (rand."0.5.5"."std" or false); }
+ { "0.5.5"."serde" =
+ (f.rand."0.5.5"."serde" or false) ||
+ (f.rand."0.5.5".serde1 or false) ||
+ (rand."0.5.5"."serde1" or false); }
+ { "0.5.5"."serde_derive" =
+ (f.rand."0.5.5"."serde_derive" or false) ||
+ (f.rand."0.5.5".serde1 or false) ||
+ (rand."0.5.5"."serde1" or false); }
+ { "0.5.5"."std" =
+ (f.rand."0.5.5"."std" or false) ||
+ (f.rand."0.5.5".default or false) ||
+ (rand."0.5.5"."default" or false); }
+ { "0.5.5"."winapi" =
+ (f.rand."0.5.5"."winapi" or false) ||
(f.rand."0.5.5".std or false) ||
(rand."0.5.5"."std" or false); }
{ "0.5.5".default = (f.rand."0.5.5".default or true); }
- { "0.5.5".fuchsia-zircon =
- (f.rand."0.5.5".fuchsia-zircon or false) ||
- (f.rand."0.5.5".std or false) ||
- (rand."0.5.5"."std" or false); }
- { "0.5.5".i128_support =
- (f.rand."0.5.5".i128_support or false) ||
- (f.rand."0.5.5".nightly or false) ||
- (rand."0.5.5"."nightly" or false); }
- { "0.5.5".libc =
- (f.rand."0.5.5".libc or false) ||
- (f.rand."0.5.5".std or false) ||
- (rand."0.5.5"."std" or false); }
- { "0.5.5".serde =
- (f.rand."0.5.5".serde or false) ||
- (f.rand."0.5.5".serde1 or false) ||
- (rand."0.5.5"."serde1" or false); }
- { "0.5.5".serde_derive =
- (f.rand."0.5.5".serde_derive or false) ||
- (f.rand."0.5.5".serde1 or false) ||
- (rand."0.5.5"."serde1" or false); }
- { "0.5.5".std =
- (f.rand."0.5.5".std or false) ||
- (f.rand."0.5.5".default or false) ||
- (rand."0.5.5"."default" or false); }
- { "0.5.5".winapi =
- (f.rand."0.5.5".winapi or false) ||
- (f.rand."0.5.5".std or false) ||
- (rand."0.5.5"."std" or false); }
];
rand_core = fold recursiveUpdate {} [
{ "${deps.rand."0.5.5".rand_core}"."alloc" =
@@ -1833,6 +1888,7 @@ rec {
crates.rand_core."0.2.2" = deps: { features?(features_.rand_core."0.2.2" deps {}) }: buildRustCrate {
crateName = "rand_core";
version = "0.2.2";
+ description = "Core random number generator traits and tools for implementation.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1cxnaxmsirz2wxsajsjkd1wk6lqfqbcprqkha4bq3didznrl22sc";
dependencies = mapFeatures features ([
@@ -1868,6 +1924,7 @@ rec {
crates.rand_core."0.3.0" = deps: { features?(features_.rand_core."0.3.0" deps {}) }: buildRustCrate {
crateName = "rand_core";
version = "0.3.0";
+ description = "Core random number generator traits and tools for implementation.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "1vafw316apjys9va3j987s02djhqp7y21v671v3ix0p5j9bjq339";
dependencies = mapFeatures features ([
@@ -1876,23 +1933,23 @@ rec {
};
features_.rand_core."0.3.0" = deps: f: updateFeatures f (rec {
rand_core = fold recursiveUpdate {} [
- { "0.3.0".alloc =
- (f.rand_core."0.3.0".alloc or false) ||
+ { "0.3.0"."alloc" =
+ (f.rand_core."0.3.0"."alloc" or false) ||
(f.rand_core."0.3.0".std or false) ||
(rand_core."0.3.0"."std" or false); }
- { "0.3.0".default = (f.rand_core."0.3.0".default or true); }
- { "0.3.0".serde =
- (f.rand_core."0.3.0".serde or false) ||
+ { "0.3.0"."serde" =
+ (f.rand_core."0.3.0"."serde" or false) ||
(f.rand_core."0.3.0".serde1 or false) ||
(rand_core."0.3.0"."serde1" or false); }
- { "0.3.0".serde_derive =
- (f.rand_core."0.3.0".serde_derive or false) ||
+ { "0.3.0"."serde_derive" =
+ (f.rand_core."0.3.0"."serde_derive" or false) ||
(f.rand_core."0.3.0".serde1 or false) ||
(rand_core."0.3.0"."serde1" or false); }
- { "0.3.0".std =
- (f.rand_core."0.3.0".std or false) ||
+ { "0.3.0"."std" =
+ (f.rand_core."0.3.0"."std" or false) ||
(f.rand_core."0.3.0".default or false) ||
(rand_core."0.3.0"."default" or false); }
+ { "0.3.0".default = (f.rand_core."0.3.0".default or true); }
];
}) [];
@@ -1903,6 +1960,7 @@ rec {
crates.regex."0.1.80" = deps: { features?(features_.regex."0.1.80" deps {}) }: buildRustCrate {
crateName = "regex";
version = "0.1.80";
+ description = "An implementation of regular expressions for Rust. This implementation uses\nfinite automata and guarantees linear time matching on all inputs.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "0y4s8ghhx6sgzb35irwivm3w0l2hhqhmdcd2px9hirqnkagal9l6";
dependencies = mapFeatures features ([
@@ -1918,11 +1976,11 @@ rec {
aho_corasick."${deps.regex."0.1.80".aho_corasick}".default = true;
memchr."${deps.regex."0.1.80".memchr}".default = true;
regex = fold recursiveUpdate {} [
- { "0.1.80".default = (f.regex."0.1.80".default or true); }
- { "0.1.80".simd =
- (f.regex."0.1.80".simd or false) ||
+ { "0.1.80"."simd" =
+ (f.regex."0.1.80"."simd" or false) ||
(f.regex."0.1.80".simd-accel or false) ||
(regex."0.1.80"."simd-accel" or false); }
+ { "0.1.80".default = (f.regex."0.1.80".default or true); }
];
regex_syntax."${deps.regex."0.1.80".regex_syntax}".default = true;
thread_local."${deps.regex."0.1.80".thread_local}".default = true;
@@ -1942,10 +2000,11 @@ rec {
crates.regex_syntax."0.3.9" = deps: { features?(features_.regex_syntax."0.3.9" deps {}) }: buildRustCrate {
crateName = "regex-syntax";
version = "0.3.9";
+ description = "A regular expression parser.";
authors = [ "The Rust Project Developers" ];
sha256 = "1mzhphkbwppwd1zam2jkgjk550cqgf6506i87bw2yzrvcsraiw7m";
};
- features_.regex_syntax."0.3.9" = deps: f: updateFeatures f (rec {
+ features_.regex_syntax."0.3.9" = deps: f: updateFeatures f ({
regex_syntax."0.3.9".default = (f.regex_syntax."0.3.9".default or true);
}) [];
@@ -1956,6 +2015,7 @@ rec {
crates.rlua."0.9.7" = deps: { features?(features_.rlua."0.9.7" deps {}) }: buildRustCrate {
crateName = "rlua";
version = "0.9.7";
+ description = "High level bindings to Lua 5.3";
authors = [ "kyren " ];
sha256 = "1671b5ga54aq49sqx69hvnjr732hf9jpqwswwxgpcqq8q05mfzgp";
dependencies = mapFeatures features ([
@@ -1971,15 +2031,15 @@ rec {
gcc."${deps.rlua."0.9.7".gcc}".default = true;
libc."${deps.rlua."0.9.7".libc}".default = true;
rlua = fold recursiveUpdate {} [
- { "0.9.7".builtin-lua =
- (f.rlua."0.9.7".builtin-lua or false) ||
+ { "0.9.7"."builtin-lua" =
+ (f.rlua."0.9.7"."builtin-lua" or false) ||
(f.rlua."0.9.7".default or false) ||
(rlua."0.9.7"."default" or false); }
- { "0.9.7".default = (f.rlua."0.9.7".default or true); }
- { "0.9.7".gcc =
- (f.rlua."0.9.7".gcc or false) ||
+ { "0.9.7"."gcc" =
+ (f.rlua."0.9.7"."gcc" or false) ||
(f.rlua."0.9.7".builtin-lua or false) ||
(rlua."0.9.7"."builtin-lua" or false); }
+ { "0.9.7".default = (f.rlua."0.9.7".default or true); }
];
}) [
(features_.libc."${deps."rlua"."0.9.7"."libc"}" deps)
@@ -1993,10 +2053,11 @@ rec {
crates.rustc_serialize."0.3.24" = deps: { features?(features_.rustc_serialize."0.3.24" deps {}) }: buildRustCrate {
crateName = "rustc-serialize";
version = "0.3.24";
+ description = "Generic serialization/deserialization support corresponding to the\n`derive(RustcEncodable, RustcDecodable)` mode in the compiler. Also includes\nsupport for hex, base64, and json encoding and decoding.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "0rfk6p66mqkd3g36l0ddlv2rvnp1mp3lrq5frq9zz5cbnz5pmmxn";
};
- features_.rustc_serialize."0.3.24" = deps: f: updateFeatures f (rec {
+ features_.rustc_serialize."0.3.24" = deps: f: updateFeatures f ({
rustc_serialize."0.3.24".default = (f.rustc_serialize."0.3.24".default or true);
}) [];
@@ -2007,13 +2068,14 @@ rec {
crates.rustc_version."0.1.7" = deps: { features?(features_.rustc_version."0.1.7" deps {}) }: buildRustCrate {
crateName = "rustc_version";
version = "0.1.7";
+ description = "A library for querying the version of a installed rustc compiler";
authors = [ "Marvin Löbel " ];
sha256 = "0plm9pbyvcwfibd0kbhzil9xmr1bvqi8fgwlfw0x4vali8s6s99p";
dependencies = mapFeatures features ([
(crates."semver"."${deps."rustc_version"."0.1.7"."semver"}" deps)
]);
};
- features_.rustc_version."0.1.7" = deps: f: updateFeatures f (rec {
+ features_.rustc_version."0.1.7" = deps: f: updateFeatures f ({
rustc_version."0.1.7".default = (f.rustc_version."0.1.7".default or true);
semver."${deps.rustc_version."0.1.7".semver}".default = true;
}) [
@@ -2027,6 +2089,7 @@ rec {
crates.rustwlc."0.7.0" = deps: { features?(features_.rustwlc."0.7.0" deps {}) }: buildRustCrate {
crateName = "rustwlc";
version = "0.7.0";
+ description = "wlc Wayland library bindings for Rust";
authors = [ "Snirk Immington " "Timidger " ];
sha256 = "0gqi9pdw74al33ja25h33q68vnfklj3gpjgkiqqbr3gflgli5h1i";
build = "build.rs";
@@ -2041,11 +2104,11 @@ rec {
bitflags."${deps.rustwlc."0.7.0".bitflags}".default = true;
libc."${deps.rustwlc."0.7.0".libc}".default = true;
rustwlc = fold recursiveUpdate {} [
- { "0.7.0".default = (f.rustwlc."0.7.0".default or true); }
- { "0.7.0".wayland-sys =
- (f.rustwlc."0.7.0".wayland-sys or false) ||
+ { "0.7.0"."wayland-sys" =
+ (f.rustwlc."0.7.0"."wayland-sys" or false) ||
(f.rustwlc."0.7.0".wlc-wayland or false) ||
(rustwlc."0.7.0"."wlc-wayland" or false); }
+ { "0.7.0".default = (f.rustwlc."0.7.0".default or true); }
];
wayland_sys = fold recursiveUpdate {} [
{ "${deps.rustwlc."0.7.0".wayland_sys}"."server" = true; }
@@ -2064,10 +2127,11 @@ rec {
crates.semver."0.1.20" = deps: { features?(features_.semver."0.1.20" deps {}) }: buildRustCrate {
crateName = "semver";
version = "0.1.20";
+ description = "Semantic version parsing and comparison.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "05cdig0071hls2k8lxbqmyqpl0zjmc53i2d43mwzps033b8njh4n";
};
- features_.semver."0.1.20" = deps: f: updateFeatures f (rec {
+ features_.semver."0.1.20" = deps: f: updateFeatures f ({
semver."0.1.20".default = (f.semver."0.1.20".default or true);
}) [];
@@ -2078,6 +2142,7 @@ rec {
crates.serde."0.9.15" = deps: { features?(features_.serde."0.9.15" deps {}) }: buildRustCrate {
crateName = "serde";
version = "0.9.15";
+ description = "A generic serialization/deserialization framework";
authors = [ "Erick Tryzelaar " ];
sha256 = "0rlflkc57kvy69hnhj4arfsj7ic4hpihxsb00zg5lkdxfj5qjx9b";
dependencies = mapFeatures features ([
@@ -2086,29 +2151,29 @@ rec {
};
features_.serde."0.9.15" = deps: f: updateFeatures f (rec {
serde = fold recursiveUpdate {} [
- { "0.9.15".alloc =
- (f.serde."0.9.15".alloc or false) ||
+ { "0.9.15"."alloc" =
+ (f.serde."0.9.15"."alloc" or false) ||
(f.serde."0.9.15".collections or false) ||
(serde."0.9.15"."collections" or false); }
- { "0.9.15".default = (f.serde."0.9.15".default or true); }
- { "0.9.15".serde_derive =
- (f.serde."0.9.15".serde_derive or false) ||
+ { "0.9.15"."serde_derive" =
+ (f.serde."0.9.15"."serde_derive" or false) ||
(f.serde."0.9.15".derive or false) ||
(serde."0.9.15"."derive" or false) ||
(f.serde."0.9.15".playground or false) ||
(serde."0.9.15"."playground" or false); }
- { "0.9.15".std =
- (f.serde."0.9.15".std or false) ||
+ { "0.9.15"."std" =
+ (f.serde."0.9.15"."std" or false) ||
(f.serde."0.9.15".default or false) ||
(serde."0.9.15"."default" or false) ||
(f.serde."0.9.15".unstable-testing or false) ||
(serde."0.9.15"."unstable-testing" or false); }
- { "0.9.15".unstable =
- (f.serde."0.9.15".unstable or false) ||
+ { "0.9.15"."unstable" =
+ (f.serde."0.9.15"."unstable" or false) ||
(f.serde."0.9.15".alloc or false) ||
(serde."0.9.15"."alloc" or false) ||
(f.serde."0.9.15".unstable-testing or false) ||
(serde."0.9.15"."unstable-testing" or false); }
+ { "0.9.15".default = (f.serde."0.9.15".default or true); }
];
}) [];
@@ -2119,6 +2184,7 @@ rec {
crates.serde_json."0.9.10" = deps: { features?(features_.serde_json."0.9.10" deps {}) }: buildRustCrate {
crateName = "serde_json";
version = "0.9.10";
+ description = "A JSON serialization file format";
authors = [ "Erick Tryzelaar " ];
sha256 = "0g6bxlfnvf2miicnsizyrxm686rfval6gbss1i2qcna8msfwc005";
dependencies = mapFeatures features ([
@@ -2135,11 +2201,11 @@ rec {
num_traits."${deps.serde_json."0.9.10".num_traits}".default = true;
serde."${deps.serde_json."0.9.10".serde}".default = true;
serde_json = fold recursiveUpdate {} [
- { "0.9.10".default = (f.serde_json."0.9.10".default or true); }
- { "0.9.10".linked-hash-map =
- (f.serde_json."0.9.10".linked-hash-map or false) ||
+ { "0.9.10"."linked-hash-map" =
+ (f.serde_json."0.9.10"."linked-hash-map" or false) ||
(f.serde_json."0.9.10".preserve_order or false) ||
(serde_json."0.9.10"."preserve_order" or false); }
+ { "0.9.10".default = (f.serde_json."0.9.10".default or true); }
];
}) [
(features_.dtoa."${deps."serde_json"."0.9.10"."dtoa"}" deps)
@@ -2155,10 +2221,11 @@ rec {
crates.siphasher."0.2.3" = deps: { features?(features_.siphasher."0.2.3" deps {}) }: buildRustCrate {
crateName = "siphasher";
version = "0.2.3";
+ description = "SipHash functions from rust-core < 1.13";
authors = [ "Frank Denis " ];
sha256 = "1ganj1grxqnkvv4ds3vby039bm999jrr58nfq2x3kjhzkw2bnqkw";
};
- features_.siphasher."0.2.3" = deps: f: updateFeatures f (rec {
+ features_.siphasher."0.2.3" = deps: f: updateFeatures f ({
siphasher."0.2.3".default = (f.siphasher."0.2.3".default or true);
}) [];
@@ -2169,6 +2236,7 @@ rec {
crates.target_build_utils."0.3.1" = deps: { features?(features_.target_build_utils."0.3.1" deps {}) }: buildRustCrate {
crateName = "target_build_utils";
version = "0.3.1";
+ description = "DEPRECATED: Use Cargo environment variables `CARGO_CFG_TARGET_*`";
authors = [ "Simonas Kazlauskas " ];
sha256 = "1b450nyxlbgicp2p45mhxiv6yv0z7s4iw01lsaqh3v7b4bm53flj";
build = "build.rs";
@@ -2187,11 +2255,11 @@ rec {
phf_codegen."${deps.target_build_utils."0.3.1".phf_codegen}".default = true;
serde_json."${deps.target_build_utils."0.3.1".serde_json}".default = true;
target_build_utils = fold recursiveUpdate {} [
- { "0.3.1".default = (f.target_build_utils."0.3.1".default or true); }
- { "0.3.1".serde_json =
- (f.target_build_utils."0.3.1".serde_json or false) ||
+ { "0.3.1"."serde_json" =
+ (f.target_build_utils."0.3.1"."serde_json" or false) ||
(f.target_build_utils."0.3.1".default or false) ||
(target_build_utils."0.3.1"."default" or false); }
+ { "0.3.1".default = (f.target_build_utils."0.3.1".default or true); }
];
}) [
(features_.phf."${deps."target_build_utils"."0.3.1"."phf"}" deps)
@@ -2206,6 +2274,7 @@ rec {
crates.thread_id."2.0.0" = deps: { features?(features_.thread_id."2.0.0" deps {}) }: buildRustCrate {
crateName = "thread-id";
version = "2.0.0";
+ description = "Get a unique thread ID";
authors = [ "Ruud van Asseldonk " ];
sha256 = "06i3c8ckn97i5rp16civ2vpqbknlkx66dkrl070iw60nawi0kjc3";
dependencies = mapFeatures features ([
@@ -2213,7 +2282,7 @@ rec {
(crates."libc"."${deps."thread_id"."2.0.0"."libc"}" deps)
]);
};
- features_.thread_id."2.0.0" = deps: f: updateFeatures f (rec {
+ features_.thread_id."2.0.0" = deps: f: updateFeatures f ({
kernel32_sys."${deps.thread_id."2.0.0".kernel32_sys}".default = true;
libc."${deps.thread_id."2.0.0".libc}".default = true;
thread_id."2.0.0".default = (f.thread_id."2.0.0".default or true);
@@ -2229,13 +2298,14 @@ rec {
crates.thread_local."0.2.7" = deps: { features?(features_.thread_local."0.2.7" deps {}) }: buildRustCrate {
crateName = "thread_local";
version = "0.2.7";
+ description = "Per-object thread-local storage";
authors = [ "Amanieu d'Antras " ];
sha256 = "19p0zrs24rdwjvpi10jig5ms3sxj00pv8shkr9cpddri8cdghqp7";
dependencies = mapFeatures features ([
(crates."thread_id"."${deps."thread_local"."0.2.7"."thread_id"}" deps)
]);
};
- features_.thread_local."0.2.7" = deps: f: updateFeatures f (rec {
+ features_.thread_local."0.2.7" = deps: f: updateFeatures f ({
thread_id."${deps.thread_local."0.2.7".thread_id}".default = true;
thread_local."0.2.7".default = (f.thread_local."0.2.7".default or true);
}) [
@@ -2249,10 +2319,11 @@ rec {
crates.token_store."0.1.2" = deps: { features?(features_.token_store."0.1.2" deps {}) }: buildRustCrate {
crateName = "token_store";
version = "0.1.2";
+ description = "A token-based store for arbitrary values";
authors = [ "Victor Berger " ];
sha256 = "1v7acraqyh6iibg87pwkxm41v783sminxm5k9f4ndra7r0vq4zvq";
};
- features_.token_store."0.1.2" = deps: f: updateFeatures f (rec {
+ features_.token_store."0.1.2" = deps: f: updateFeatures f ({
token_store."0.1.2".default = (f.token_store."0.1.2".default or true);
}) [];
@@ -2263,11 +2334,12 @@ rec {
crates.unicode_width."0.1.5" = deps: { features?(features_.unicode_width."0.1.5" deps {}) }: buildRustCrate {
crateName = "unicode-width";
version = "0.1.5";
+ description = "Determine displayed width of `char` and `str` types\naccording to Unicode Standard Annex #11 rules.\n";
authors = [ "kwantam " ];
sha256 = "0886lc2aymwgy0lhavwn6s48ik3c61ykzzd3za6prgnw51j7bi4w";
features = mkFeatures (features."unicode_width"."0.1.5" or {});
};
- features_.unicode_width."0.1.5" = deps: f: updateFeatures f (rec {
+ features_.unicode_width."0.1.5" = deps: f: updateFeatures f ({
unicode_width."0.1.5".default = (f.unicode_width."0.1.5".default or true);
}) [];
@@ -2278,10 +2350,11 @@ rec {
crates.utf8_ranges."0.1.3" = deps: { features?(features_.utf8_ranges."0.1.3" deps {}) }: buildRustCrate {
crateName = "utf8-ranges";
version = "0.1.3";
+ description = "Convert ranges of Unicode codepoints to UTF-8 byte ranges.";
authors = [ "Andrew Gallant " ];
sha256 = "1cj548a91a93j8375p78qikaiam548xh84cb0ck8y119adbmsvbp";
};
- features_.utf8_ranges."0.1.3" = deps: f: updateFeatures f (rec {
+ features_.utf8_ranges."0.1.3" = deps: f: updateFeatures f ({
utf8_ranges."0.1.3".default = (f.utf8_ranges."0.1.3".default or true);
}) [];
@@ -2292,6 +2365,7 @@ rec {
crates.uuid."0.3.1" = deps: { features?(features_.uuid."0.3.1" deps {}) }: buildRustCrate {
crateName = "uuid";
version = "0.3.1";
+ description = "A library to generate and parse UUIDs.\n";
authors = [ "The Rust Project Developers" ];
sha256 = "16ak1c84dfkd8h33cvkxrkvc30k7b0bhrnza8ni2c0jsx85fpbip";
dependencies = mapFeatures features ([
@@ -2304,15 +2378,15 @@ rec {
rand."${deps.uuid."0.3.1".rand}".default = true;
rustc_serialize."${deps.uuid."0.3.1".rustc_serialize}".default = true;
uuid = fold recursiveUpdate {} [
- { "0.3.1".default = (f.uuid."0.3.1".default or true); }
- { "0.3.1".rand =
- (f.uuid."0.3.1".rand or false) ||
+ { "0.3.1"."rand" =
+ (f.uuid."0.3.1"."rand" or false) ||
(f.uuid."0.3.1".v4 or false) ||
(uuid."0.3.1"."v4" or false); }
- { "0.3.1".sha1 =
- (f.uuid."0.3.1".sha1 or false) ||
+ { "0.3.1"."sha1" =
+ (f.uuid."0.3.1"."sha1" or false) ||
(f.uuid."0.3.1".v5 or false) ||
(uuid."0.3.1"."v5" or false); }
+ { "0.3.1".default = (f.uuid."0.3.1".default or true); }
];
}) [
(features_.rand."${deps."uuid"."0.3.1"."rand"}" deps)
@@ -2326,17 +2400,18 @@ rec {
crates.void."1.0.2" = deps: { features?(features_.void."1.0.2" deps {}) }: buildRustCrate {
crateName = "void";
version = "1.0.2";
+ description = "The uninhabited void type for use in statically impossible cases.";
authors = [ "Jonathan Reem " ];
sha256 = "0h1dm0dx8dhf56a83k68mijyxigqhizpskwxfdrs1drwv2cdclv3";
features = mkFeatures (features."void"."1.0.2" or {});
};
features_.void."1.0.2" = deps: f: updateFeatures f (rec {
void = fold recursiveUpdate {} [
- { "1.0.2".default = (f.void."1.0.2".default or true); }
- { "1.0.2".std =
- (f.void."1.0.2".std or false) ||
+ { "1.0.2"."std" =
+ (f.void."1.0.2"."std" or false) ||
(f.void."1.0.2".default or false) ||
(void."1.0.2"."default" or false); }
+ { "1.0.2".default = (f.void."1.0.2".default or true); }
];
}) [];
@@ -2347,6 +2422,7 @@ rec {
crates.way_cooler."0.8.1" = deps: { features?(features_.way_cooler."0.8.1" deps {}) }: buildRustCrate {
crateName = "way-cooler";
version = "0.8.1";
+ description = "Customizeable Wayland compositor written in Rust";
authors = [ "Snirk Immington " "Timidger " ];
sha256 = "01cp5z0qf522d7cvsr9gfp7f4hkphmp38hv70dsf9lvcnp6p1qkc";
build = "build.rs";
@@ -2459,13 +2535,14 @@ rec {
crates.wayland_scanner."0.12.5" = deps: { features?(features_.wayland_scanner."0.12.5" deps {}) }: buildRustCrate {
crateName = "wayland-scanner";
version = "0.12.5";
+ description = "Wayland Scanner for generating rust APIs from XML wayland protocol files. Intented for use with wayland-sys. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.";
authors = [ "Victor Berger " ];
sha256 = "1s0fsc3pff0fxvzqsy8n018smwacih9ix8ww0yf969aa0vak15dz";
dependencies = mapFeatures features ([
(crates."xml_rs"."${deps."wayland_scanner"."0.12.5"."xml_rs"}" deps)
]);
};
- features_.wayland_scanner."0.12.5" = deps: f: updateFeatures f (rec {
+ features_.wayland_scanner."0.12.5" = deps: f: updateFeatures f ({
wayland_scanner."0.12.5".default = (f.wayland_scanner."0.12.5".default or true);
xml_rs."${deps.wayland_scanner."0.12.5".xml_rs}".default = true;
}) [
@@ -2479,6 +2556,7 @@ rec {
crates.wayland_server."0.12.5" = deps: { features?(features_.wayland_server."0.12.5" deps {}) }: buildRustCrate {
crateName = "wayland-server";
version = "0.12.5";
+ description = "Bindings to the standard C implementation of the wayland protocol, server side.";
authors = [ "Victor Berger " ];
sha256 = "17g0m9afcmi24ylirw4l8i70s5849x7m4b5nxk9k13s5pkza68ag";
build = "build.rs";
@@ -2526,6 +2604,7 @@ rec {
crates.wayland_sys."0.6.0" = deps: { features?(features_.wayland_sys."0.6.0" deps {}) }: buildRustCrate {
crateName = "wayland-sys";
version = "0.6.0";
+ description = "FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.";
authors = [ "Victor Berger " ];
sha256 = "0m6db0kld2d4xv4ai9kxlqrh362hwi0030b4zbss0sfha1hx5mfl";
dependencies = mapFeatures features ([
@@ -2544,15 +2623,15 @@ rec {
];
libc."${deps.wayland_sys."0.6.0".libc}".default = true;
wayland_sys = fold recursiveUpdate {} [
- { "0.6.0".default = (f.wayland_sys."0.6.0".default or true); }
- { "0.6.0".lazy_static =
- (f.wayland_sys."0.6.0".lazy_static or false) ||
+ { "0.6.0"."lazy_static" =
+ (f.wayland_sys."0.6.0"."lazy_static" or false) ||
(f.wayland_sys."0.6.0".dlopen or false) ||
(wayland_sys."0.6.0"."dlopen" or false); }
- { "0.6.0".libc =
- (f.wayland_sys."0.6.0".libc or false) ||
+ { "0.6.0"."libc" =
+ (f.wayland_sys."0.6.0"."libc" or false) ||
(f.wayland_sys."0.6.0".server or false) ||
(wayland_sys."0.6.0"."server" or false); }
+ { "0.6.0".default = (f.wayland_sys."0.6.0".default or true); }
];
}) [
(features_.dlib."${deps."wayland_sys"."0.6.0"."dlib"}" deps)
@@ -2566,6 +2645,7 @@ rec {
crates.wayland_sys."0.9.10" = deps: { features?(features_.wayland_sys."0.9.10" deps {}) }: buildRustCrate {
crateName = "wayland-sys";
version = "0.9.10";
+ description = "FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.";
authors = [ "Victor Berger " ];
sha256 = "011q7lfii222whvif39asvryl1sf3rc1fxp8qs8gh84kr4mna0k8";
dependencies = mapFeatures features ([
@@ -2586,15 +2666,15 @@ rec {
lazy_static."${deps.wayland_sys."0.9.10".lazy_static}".default = true;
libc."${deps.wayland_sys."0.9.10".libc}".default = true;
wayland_sys = fold recursiveUpdate {} [
- { "0.9.10".default = (f.wayland_sys."0.9.10".default or true); }
- { "0.9.10".lazy_static =
- (f.wayland_sys."0.9.10".lazy_static or false) ||
+ { "0.9.10"."lazy_static" =
+ (f.wayland_sys."0.9.10"."lazy_static" or false) ||
(f.wayland_sys."0.9.10".dlopen or false) ||
(wayland_sys."0.9.10"."dlopen" or false); }
- { "0.9.10".libc =
- (f.wayland_sys."0.9.10".libc or false) ||
+ { "0.9.10"."libc" =
+ (f.wayland_sys."0.9.10"."libc" or false) ||
(f.wayland_sys."0.9.10".server or false) ||
(wayland_sys."0.9.10"."server" or false); }
+ { "0.9.10".default = (f.wayland_sys."0.9.10".default or true); }
];
}) [
(features_.dlib."${deps."wayland_sys"."0.9.10"."dlib"}" deps)
@@ -2609,6 +2689,7 @@ rec {
crates.wayland_sys."0.12.5" = deps: { features?(features_.wayland_sys."0.12.5" deps {}) }: buildRustCrate {
crateName = "wayland-sys";
version = "0.12.5";
+ description = "FFI bindings to the various libwayland-*.so libraries. You should only need this crate if you are working on custom wayland protocol extensions. Look at the crate wayland-client for usable bindings.";
authors = [ "Victor Berger " ];
sha256 = "0mwk5vc7mibxka5w66vy2qj32b72d1srqvp36nr15xfl9lwf3dc4";
dependencies = mapFeatures features ([
@@ -2629,15 +2710,15 @@ rec {
lazy_static."${deps.wayland_sys."0.12.5".lazy_static}".default = true;
libc."${deps.wayland_sys."0.12.5".libc}".default = true;
wayland_sys = fold recursiveUpdate {} [
- { "0.12.5".default = (f.wayland_sys."0.12.5".default or true); }
- { "0.12.5".lazy_static =
- (f.wayland_sys."0.12.5".lazy_static or false) ||
+ { "0.12.5"."lazy_static" =
+ (f.wayland_sys."0.12.5"."lazy_static" or false) ||
(f.wayland_sys."0.12.5".dlopen or false) ||
(wayland_sys."0.12.5"."dlopen" or false); }
- { "0.12.5".libc =
- (f.wayland_sys."0.12.5".libc or false) ||
+ { "0.12.5"."libc" =
+ (f.wayland_sys."0.12.5"."libc" or false) ||
(f.wayland_sys."0.12.5".server or false) ||
(wayland_sys."0.12.5"."server" or false); }
+ { "0.12.5".default = (f.wayland_sys."0.12.5".default or true); }
];
}) [
(features_.dlib."${deps."wayland_sys"."0.12.5"."dlib"}" deps)
@@ -2652,10 +2733,11 @@ rec {
crates.winapi."0.2.8" = deps: { features?(features_.winapi."0.2.8" deps {}) }: buildRustCrate {
crateName = "winapi";
version = "0.2.8";
+ description = "Types and constants for WinAPI bindings. See README for list of crates providing function bindings.";
authors = [ "Peter Atashian " ];
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
};
- features_.winapi."0.2.8" = deps: f: updateFeatures f (rec {
+ features_.winapi."0.2.8" = deps: f: updateFeatures f ({
winapi."0.2.8".default = (f.winapi."0.2.8".default or true);
}) [];
@@ -2666,6 +2748,7 @@ rec {
crates.winapi."0.3.6" = deps: { features?(features_.winapi."0.3.6" deps {}) }: buildRustCrate {
crateName = "winapi";
version = "0.3.6";
+ description = "Raw FFI bindings for all of Windows API.";
authors = [ "Peter Atashian " ];
sha256 = "1d9jfp4cjd82sr1q4dgdlrkvm33zhhav9d7ihr0nivqbncr059m4";
build = "build.rs";
@@ -2677,7 +2760,7 @@ rec {
]) else []);
features = mkFeatures (features."winapi"."0.3.6" or {});
};
- features_.winapi."0.3.6" = deps: f: updateFeatures f (rec {
+ features_.winapi."0.3.6" = deps: f: updateFeatures f ({
winapi."0.3.6".default = (f.winapi."0.3.6".default or true);
winapi_i686_pc_windows_gnu."${deps.winapi."0.3.6".winapi_i686_pc_windows_gnu}".default = true;
winapi_x86_64_pc_windows_gnu."${deps.winapi."0.3.6".winapi_x86_64_pc_windows_gnu}".default = true;
@@ -2693,11 +2776,12 @@ rec {
crates.winapi_build."0.1.1" = deps: { features?(features_.winapi_build."0.1.1" deps {}) }: buildRustCrate {
crateName = "winapi-build";
version = "0.1.1";
+ description = "Common code for build.rs in WinAPI -sys crates.";
authors = [ "Peter Atashian " ];
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
libName = "build";
};
- features_.winapi_build."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.winapi_build."0.1.1" = deps: f: updateFeatures f ({
winapi_build."0.1.1".default = (f.winapi_build."0.1.1".default or true);
}) [];
@@ -2708,11 +2792,12 @@ rec {
crates.winapi_i686_pc_windows_gnu."0.4.0" = deps: { features?(features_.winapi_i686_pc_windows_gnu."0.4.0" deps {}) }: buildRustCrate {
crateName = "winapi-i686-pc-windows-gnu";
version = "0.4.0";
+ description = "Import libraries for the i686-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.";
authors = [ "Peter Atashian " ];
sha256 = "05ihkij18r4gamjpxj4gra24514can762imjzlmak5wlzidplzrp";
build = "build.rs";
};
- features_.winapi_i686_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f (rec {
+ features_.winapi_i686_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f ({
winapi_i686_pc_windows_gnu."0.4.0".default = (f.winapi_i686_pc_windows_gnu."0.4.0".default or true);
}) [];
@@ -2723,11 +2808,12 @@ rec {
crates.winapi_x86_64_pc_windows_gnu."0.4.0" = deps: { features?(features_.winapi_x86_64_pc_windows_gnu."0.4.0" deps {}) }: buildRustCrate {
crateName = "winapi-x86_64-pc-windows-gnu";
version = "0.4.0";
+ description = "Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.";
authors = [ "Peter Atashian " ];
sha256 = "0n1ylmlsb8yg1v583i4xy0qmqg42275flvbc51hdqjjfjcl9vlbj";
build = "build.rs";
};
- features_.winapi_x86_64_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f (rec {
+ features_.winapi_x86_64_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f ({
winapi_x86_64_pc_windows_gnu."0.4.0".default = (f.winapi_x86_64_pc_windows_gnu."0.4.0".default or true);
}) [];
@@ -2738,6 +2824,7 @@ rec {
crates.xcb."0.8.2" = deps: { features?(features_.xcb."0.8.2" deps {}) }: buildRustCrate {
crateName = "xcb";
version = "0.8.2";
+ description = "Rust bindings and wrappers for XCB";
authors = [ "Remi Thebault " ];
sha256 = "06l8jms57wvz01vx82a3cwak9b9qwdkadvpmkk1zimy2qg7i7dkl";
build = "build.rs";
@@ -2755,41 +2842,40 @@ rec {
libc."${deps.xcb."0.8.2".libc}".default = true;
log."${deps.xcb."0.8.2".log}".default = true;
xcb = fold recursiveUpdate {} [
- { "0.8.2".composite =
- (f.xcb."0.8.2".composite or false) ||
+ { "0.8.2"."composite" =
+ (f.xcb."0.8.2"."composite" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".damage =
- (f.xcb."0.8.2".damage or false) ||
+ { "0.8.2"."damage" =
+ (f.xcb."0.8.2"."damage" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".default = (f.xcb."0.8.2".default or true); }
- { "0.8.2".dpms =
- (f.xcb."0.8.2".dpms or false) ||
+ { "0.8.2"."dpms" =
+ (f.xcb."0.8.2"."dpms" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".dri2 =
- (f.xcb."0.8.2".dri2 or false) ||
+ { "0.8.2"."dri2" =
+ (f.xcb."0.8.2"."dri2" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".dri3 =
- (f.xcb."0.8.2".dri3 or false) ||
+ { "0.8.2"."dri3" =
+ (f.xcb."0.8.2"."dri3" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".glx =
- (f.xcb."0.8.2".glx or false) ||
+ { "0.8.2"."glx" =
+ (f.xcb."0.8.2"."glx" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".randr =
- (f.xcb."0.8.2".randr or false) ||
+ { "0.8.2"."randr" =
+ (f.xcb."0.8.2"."randr" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".record =
- (f.xcb."0.8.2".record or false) ||
+ { "0.8.2"."record" =
+ (f.xcb."0.8.2"."record" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".render =
- (f.xcb."0.8.2".render or false) ||
+ { "0.8.2"."render" =
+ (f.xcb."0.8.2"."render" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false) ||
(f.xcb."0.8.2".present or false) ||
@@ -2798,44 +2884,44 @@ rec {
(xcb."0.8.2"."randr" or false) ||
(f.xcb."0.8.2".xfixes or false) ||
(xcb."0.8.2"."xfixes" or false); }
- { "0.8.2".res =
- (f.xcb."0.8.2".res or false) ||
+ { "0.8.2"."res" =
+ (f.xcb."0.8.2"."res" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".screensaver =
- (f.xcb."0.8.2".screensaver or false) ||
+ { "0.8.2"."screensaver" =
+ (f.xcb."0.8.2"."screensaver" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".shape =
- (f.xcb."0.8.2".shape or false) ||
+ { "0.8.2"."shape" =
+ (f.xcb."0.8.2"."shape" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false) ||
(f.xcb."0.8.2".xfixes or false) ||
(xcb."0.8.2"."xfixes" or false); }
- { "0.8.2".shm =
- (f.xcb."0.8.2".shm or false) ||
+ { "0.8.2"."shm" =
+ (f.xcb."0.8.2"."shm" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false) ||
(f.xcb."0.8.2".xv or false) ||
(xcb."0.8.2"."xv" or false); }
- { "0.8.2".sync =
- (f.xcb."0.8.2".sync or false) ||
+ { "0.8.2"."sync" =
+ (f.xcb."0.8.2"."sync" or false) ||
(f.xcb."0.8.2".present or false) ||
(xcb."0.8.2"."present" or false); }
- { "0.8.2".thread =
- (f.xcb."0.8.2".thread or false) ||
+ { "0.8.2"."thread" =
+ (f.xcb."0.8.2"."thread" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xevie =
- (f.xcb."0.8.2".xevie or false) ||
+ { "0.8.2"."xevie" =
+ (f.xcb."0.8.2"."xevie" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xf86dri =
- (f.xcb."0.8.2".xf86dri or false) ||
+ { "0.8.2"."xf86dri" =
+ (f.xcb."0.8.2"."xf86dri" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xfixes =
- (f.xcb."0.8.2".xfixes or false) ||
+ { "0.8.2"."xfixes" =
+ (f.xcb."0.8.2"."xfixes" or false) ||
(f.xcb."0.8.2".composite or false) ||
(xcb."0.8.2"."composite" or false) ||
(f.xcb."0.8.2".damage or false) ||
@@ -2846,40 +2932,41 @@ rec {
(xcb."0.8.2"."present" or false) ||
(f.xcb."0.8.2".xinput or false) ||
(xcb."0.8.2"."xinput" or false); }
- { "0.8.2".xinerama =
- (f.xcb."0.8.2".xinerama or false) ||
+ { "0.8.2"."xinerama" =
+ (f.xcb."0.8.2"."xinerama" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xkb =
- (f.xcb."0.8.2".xkb or false) ||
+ { "0.8.2"."xkb" =
+ (f.xcb."0.8.2"."xkb" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xlib_xcb =
- (f.xcb."0.8.2".xlib_xcb or false) ||
+ { "0.8.2"."xlib_xcb" =
+ (f.xcb."0.8.2"."xlib_xcb" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xprint =
- (f.xcb."0.8.2".xprint or false) ||
+ { "0.8.2"."xprint" =
+ (f.xcb."0.8.2"."xprint" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xselinux =
- (f.xcb."0.8.2".xselinux or false) ||
+ { "0.8.2"."xselinux" =
+ (f.xcb."0.8.2"."xselinux" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xtest =
- (f.xcb."0.8.2".xtest or false) ||
+ { "0.8.2"."xtest" =
+ (f.xcb."0.8.2"."xtest" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
- { "0.8.2".xv =
- (f.xcb."0.8.2".xv or false) ||
+ { "0.8.2"."xv" =
+ (f.xcb."0.8.2"."xv" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false) ||
(f.xcb."0.8.2".xvmc or false) ||
(xcb."0.8.2"."xvmc" or false); }
- { "0.8.2".xvmc =
- (f.xcb."0.8.2".xvmc or false) ||
+ { "0.8.2"."xvmc" =
+ (f.xcb."0.8.2"."xvmc" or false) ||
(f.xcb."0.8.2".debug_all or false) ||
(xcb."0.8.2"."debug_all" or false); }
+ { "0.8.2".default = (f.xcb."0.8.2".default or true); }
];
}) [
(features_.libc."${deps."xcb"."0.8.2"."libc"}" deps)
@@ -2894,6 +2981,7 @@ rec {
crates.xml_rs."0.7.0" = deps: { features?(features_.xml_rs."0.7.0" deps {}) }: buildRustCrate {
crateName = "xml-rs";
version = "0.7.0";
+ description = "An XML library in pure Rust";
authors = [ "Vladimir Matveev " ];
sha256 = "12rynhqjgkg2hzy9x1d1232p9d9jm40bc3by5yzjv8gx089mflyb";
libPath = "src/lib.rs";
@@ -2904,7 +2992,7 @@ rec {
(crates."bitflags"."${deps."xml_rs"."0.7.0"."bitflags"}" deps)
]);
};
- features_.xml_rs."0.7.0" = deps: f: updateFeatures f (rec {
+ features_.xml_rs."0.7.0" = deps: f: updateFeatures f ({
bitflags."${deps.xml_rs."0.7.0".bitflags}".default = true;
xml_rs."0.7.0".default = (f.xml_rs."0.7.0".default or true);
}) [
diff --git a/pkgs/applications/window-managers/way-cooler/default.nix b/pkgs/applications/window-managers/way-cooler/default.nix
index 8f35cb620ca..7bc6ac70020 100644
--- a/pkgs/applications/window-managers/way-cooler/default.nix
+++ b/pkgs/applications/window-managers/way-cooler/default.nix
@@ -1,8 +1,10 @@
{ stdenv, fetchurl, makeWrapper, symlinkJoin, writeShellScriptBin, callPackage, defaultCrateOverrides
-, wayland, wlc, cairo, libxkbcommon, pam, python3Packages, lemonbar, gdk_pixbuf
+, wayland, cairo, libxkbcommon, pam, python3Packages, lemonbar, gdk-pixbuf
}:
let
+ wlc = callPackage ./wlc.nix {};
+
# refer to
# https://github.com/way-cooler/way-cooler.github.io/blob/master/way-cooler-release-i3-default.sh
# for version numbers
@@ -14,23 +16,23 @@ let
# https://nest.pijul.com/pmeunier/carnix/discussions/22
version = "0.8.1";
deps = (callPackage ./way-cooler.nix {}).deps;
- way_cooler_ = f: cratesIO.crates.way_cooler."${version}" deps {
- features = cratesIO.features_.way_cooler."${version}" deps {
- "way_cooler"."${version}" = f;
+ way_cooler_ = f: cratesIO.crates.way_cooler.${version} deps {
+ features = cratesIO.features_.way_cooler.${version} deps {
+ way_cooler.${version} = f;
};
};
way-cooler = ((way_cooler_ { builtin-lua = true; }).override {
crateOverrides = defaultCrateOverrides // {
- way-cooler = attrs: { buildInputs = [ wlc cairo libxkbcommon fakegit gdk_pixbuf wayland ]; };
- };}).overrideAttrs (oldAttrs: rec {
+ way-cooler = attrs: { buildInputs = [ wlc cairo libxkbcommon fakegit gdk-pixbuf wayland ]; };
+ };}).overrideAttrs (oldAttrs: {
postBuild = ''
mkdir -p $out/etc
cp -r config $out/etc/way-cooler
'';
});
- wc-bg = ((callPackage ./wc-bg.nix {}).wc_bg {}).overrideAttrs (oldAttrs: rec {
+ wc-bg = ((callPackage ./wc-bg.nix {}).wc_bg {}).overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
@@ -45,7 +47,7 @@ let
crateOverrides = defaultCrateOverrides // {
wc-lock = attrs: { buildInputs = [ pam ]; };
- };}).overrideAttrs (oldAttrs: rec {
+ };}).overrideAttrs (oldAttrs: {
nativeBuildInputs = [ makeWrapper ];
postFixup = ''
@@ -85,7 +87,7 @@ let
sleep 5
${wc-bar-bare}/bin/bar.py $SELECTED $BACKGROUND $SELECTED_OTHER_WORKSPACE 2> /tmp/bar_debug.txt | ${lemonbar}/bin/lemonbar -B $BACKGROUND -F "#FFF" -n "lemonbar" -p -d
'';
-in symlinkJoin rec {
+in symlinkJoin {
inherit version;
name = "way-cooler-with-extensions-${version}";
paths = [ way-cooler wc-bg wc-grab wc-lock wc-bar ];
@@ -105,7 +107,7 @@ in symlinkJoin rec {
homepage = http://way-cooler.org/;
license = with licenses; [ mit ];
maintainers = [ maintainers.miltador ];
- broken = stdenv.hostPlatform.isAarch64; # fails to build wc-bg (on aarch64)
platforms = platforms.all;
+ broken = true;
};
}
diff --git a/pkgs/applications/window-managers/way-cooler/wc-bg.nix b/pkgs/applications/window-managers/way-cooler/wc-bg.nix
index 4d527715c5f..a797e7aacde 100644
--- a/pkgs/applications/window-managers/way-cooler/wc-bg.nix
+++ b/pkgs/applications/window-managers/way-cooler/wc-bg.nix
@@ -508,7 +508,7 @@ rec {
inherit dependencies buildDependencies features;
};
ansi_term_0_9_0 = { features?(ansi_term_0_9_0_features {}) }: ansi_term_0_9_0_ {};
- ansi_term_0_9_0_features = f: updateFeatures f (rec {
+ ansi_term_0_9_0_features = f: updateFeatures f ({
ansi_term_0_9_0.default = (f.ansi_term_0_9_0.default or true);
}) [];
atty_0_2_3 = { features?(atty_0_2_3_features {}) }: atty_0_2_3_ {
@@ -516,7 +516,7 @@ rec {
++ (if (kernel == "linux" || kernel == "darwin") then mapFeatures features ([ libc_0_2_32 ]) else [])
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
};
- atty_0_2_3_features = f: updateFeatures f (rec {
+ atty_0_2_3_features = f: updateFeatures f ({
atty_0_2_3.default = (f.atty_0_2_3.default or true);
kernel32_sys_0_2_2.default = true;
libc_0_2_32.default = (f.libc_0_2_32.default or false);
@@ -524,7 +524,7 @@ rec {
winapi_0_2_8.default = true;
}) [ termion_1_5_1_features libc_0_2_32_features kernel32_sys_0_2_2_features winapi_0_2_8_features ];
bitflags_0_7_0 = { features?(bitflags_0_7_0_features {}) }: bitflags_0_7_0_ {};
- bitflags_0_7_0_features = f: updateFeatures f (rec {
+ bitflags_0_7_0_features = f: updateFeatures f ({
bitflags_0_7_0.default = (f.bitflags_0_7_0.default or true);
}) [];
bitflags_0_9_1 = { features?(bitflags_0_9_1_features {}) }: bitflags_0_9_1_ {
@@ -631,25 +631,25 @@ rec {
dependencies = mapFeatures features ([ either_1_2_0 scopeguard_0_3_2 ]);
features = mkFeatures (features.coco_0_1_1 or {});
};
- coco_0_1_1_features = f: updateFeatures f (rec {
+ coco_0_1_1_features = f: updateFeatures f ({
coco_0_1_1.default = (f.coco_0_1_1.default or true);
either_1_2_0.default = true;
scopeguard_0_3_2.default = true;
}) [ either_1_2_0_features scopeguard_0_3_2_features ];
color_quant_1_0_0 = { features?(color_quant_1_0_0_features {}) }: color_quant_1_0_0_ {};
- color_quant_1_0_0_features = f: updateFeatures f (rec {
+ color_quant_1_0_0_features = f: updateFeatures f ({
color_quant_1_0_0.default = (f.color_quant_1_0_0.default or true);
}) [];
dlib_0_3_1 = { features?(dlib_0_3_1_features {}) }: dlib_0_3_1_ {
dependencies = mapFeatures features ([ libloading_0_3_4 ]);
features = mkFeatures (features.dlib_0_3_1 or {});
};
- dlib_0_3_1_features = f: updateFeatures f (rec {
+ dlib_0_3_1_features = f: updateFeatures f ({
dlib_0_3_1.default = (f.dlib_0_3_1.default or true);
libloading_0_3_4.default = true;
}) [ libloading_0_3_4_features ];
dtoa_0_4_2 = { features?(dtoa_0_4_2_features {}) }: dtoa_0_4_2_ {};
- dtoa_0_4_2_features = f: updateFeatures f (rec {
+ dtoa_0_4_2_features = f: updateFeatures f ({
dtoa_0_4_2.default = (f.dtoa_0_4_2.default or true);
}) [];
either_1_2_0 = { features?(either_1_2_0_features {}) }: either_1_2_0_ {
@@ -665,7 +665,7 @@ rec {
enum_primitive_0_1_1 = { features?(enum_primitive_0_1_1_features {}) }: enum_primitive_0_1_1_ {
dependencies = mapFeatures features ([ num_traits_0_1_40 ]);
};
- enum_primitive_0_1_1_features = f: updateFeatures f (rec {
+ enum_primitive_0_1_1_features = f: updateFeatures f ({
enum_primitive_0_1_1.default = (f.enum_primitive_0_1_1.default or true);
num_traits_0_1_40.default = (f.num_traits_0_1_40.default or false);
}) [ num_traits_0_1_40_features ];
@@ -698,14 +698,14 @@ rec {
fuchsia_zircon_0_2_1 = { features?(fuchsia_zircon_0_2_1_features {}) }: fuchsia_zircon_0_2_1_ {
dependencies = mapFeatures features ([ fuchsia_zircon_sys_0_2_0 ]);
};
- fuchsia_zircon_0_2_1_features = f: updateFeatures f (rec {
+ fuchsia_zircon_0_2_1_features = f: updateFeatures f ({
fuchsia_zircon_0_2_1.default = (f.fuchsia_zircon_0_2_1.default or true);
fuchsia_zircon_sys_0_2_0.default = true;
}) [ fuchsia_zircon_sys_0_2_0_features ];
fuchsia_zircon_sys_0_2_0 = { features?(fuchsia_zircon_sys_0_2_0_features {}) }: fuchsia_zircon_sys_0_2_0_ {
dependencies = mapFeatures features ([ bitflags_0_7_0 ]);
};
- fuchsia_zircon_sys_0_2_0_features = f: updateFeatures f (rec {
+ fuchsia_zircon_sys_0_2_0_features = f: updateFeatures f ({
bitflags_0_7_0.default = true;
fuchsia_zircon_sys_0_2_0.default = (f.fuchsia_zircon_sys_0_2_0.default or true);
}) [ bitflags_0_7_0_features ];
@@ -741,7 +741,7 @@ rec {
lzw_0_10_0.default = true;
}) [ color_quant_1_0_0_features lzw_0_10_0_features ];
glob_0_2_11 = { features?(glob_0_2_11_features {}) }: glob_0_2_11_ {};
- glob_0_2_11_features = f: updateFeatures f (rec {
+ glob_0_2_11_features = f: updateFeatures f ({
glob_0_2_11.default = (f.glob_0_2_11.default or true);
}) [];
image_0_10_4 = { features?(image_0_10_4_features {}) }: image_0_10_4_ {
@@ -828,13 +828,13 @@ rec {
inflate_0_1_1 = { features?(inflate_0_1_1_features {}) }: inflate_0_1_1_ {
features = mkFeatures (features.inflate_0_1_1 or {});
};
- inflate_0_1_1_features = f: updateFeatures f (rec {
+ inflate_0_1_1_features = f: updateFeatures f ({
inflate_0_1_1.default = (f.inflate_0_1_1.default or true);
}) [];
itoa_0_3_4 = { features?(itoa_0_3_4_features {}) }: itoa_0_3_4_ {
features = mkFeatures (features.itoa_0_3_4 or {});
};
- itoa_0_3_4_features = f: updateFeatures f (rec {
+ itoa_0_3_4_features = f: updateFeatures f ({
itoa_0_3_4.default = (f.itoa_0_3_4.default or true);
}) [];
jpeg_decoder_0_1_13 = { features?(jpeg_decoder_0_1_13_features {}) }: jpeg_decoder_0_1_13_ {
@@ -855,7 +855,7 @@ rec {
dependencies = mapFeatures features ([ winapi_0_2_8 ]);
buildDependencies = mapFeatures features ([ winapi_build_0_1_1 ]);
};
- kernel32_sys_0_2_2_features = f: updateFeatures f (rec {
+ kernel32_sys_0_2_2_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = (f.kernel32_sys_0_2_2.default or true);
winapi_0_2_8.default = true;
winapi_build_0_1_1.default = true;
@@ -890,7 +890,7 @@ rec {
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
buildDependencies = mapFeatures features ([ target_build_utils_0_3_1 ]);
};
- libloading_0_3_4_features = f: updateFeatures f (rec {
+ libloading_0_3_4_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = true;
lazy_static_0_2_9.default = true;
libloading_0_3_4.default = (f.libloading_0_3_4.default or true);
@@ -911,7 +911,7 @@ rec {
dependencies = mapFeatures features ([ libc_0_2_32 ]);
buildDependencies = mapFeatures features ([ cc_1_0_0 ]);
};
- miniz_sys_0_1_10_features = f: updateFeatures f (rec {
+ miniz_sys_0_1_10_features = f: updateFeatures f ({
cc_1_0_0.default = true;
libc_0_2_32.default = true;
miniz_sys_0_1_10.default = (f.miniz_sys_0_1_10.default or true);
@@ -940,14 +940,14 @@ rec {
num_integer_0_1_35 = { features?(num_integer_0_1_35_features {}) }: num_integer_0_1_35_ {
dependencies = mapFeatures features ([ num_traits_0_1_40 ]);
};
- num_integer_0_1_35_features = f: updateFeatures f (rec {
+ num_integer_0_1_35_features = f: updateFeatures f ({
num_integer_0_1_35.default = (f.num_integer_0_1_35.default or true);
num_traits_0_1_40.default = true;
}) [ num_traits_0_1_40_features ];
num_iter_0_1_34 = { features?(num_iter_0_1_34_features {}) }: num_iter_0_1_34_ {
dependencies = mapFeatures features ([ num_integer_0_1_35 num_traits_0_1_40 ]);
};
- num_iter_0_1_34_features = f: updateFeatures f (rec {
+ num_iter_0_1_34_features = f: updateFeatures f ({
num_integer_0_1_35.default = true;
num_iter_0_1_34.default = (f.num_iter_0_1_34.default or true);
num_traits_0_1_40.default = true;
@@ -978,13 +978,13 @@ rec {
rustc_serialize_0_3_24.default = true;
}) [ num_bigint_0_1_40_features num_integer_0_1_35_features num_traits_0_1_40_features rustc_serialize_0_3_24_features ];
num_traits_0_1_40 = { features?(num_traits_0_1_40_features {}) }: num_traits_0_1_40_ {};
- num_traits_0_1_40_features = f: updateFeatures f (rec {
+ num_traits_0_1_40_features = f: updateFeatures f ({
num_traits_0_1_40.default = (f.num_traits_0_1_40.default or true);
}) [];
num_cpus_1_7_0 = { features?(num_cpus_1_7_0_features {}) }: num_cpus_1_7_0_ {
dependencies = mapFeatures features ([ libc_0_2_32 ]);
};
- num_cpus_1_7_0_features = f: updateFeatures f (rec {
+ num_cpus_1_7_0_features = f: updateFeatures f ({
libc_0_2_32.default = true;
num_cpus_1_7_0.default = (f.num_cpus_1_7_0.default or true);
}) [ libc_0_2_32_features ];
@@ -1007,7 +1007,7 @@ rec {
phf_codegen_0_7_21 = { features?(phf_codegen_0_7_21_features {}) }: phf_codegen_0_7_21_ {
dependencies = mapFeatures features ([ phf_generator_0_7_21 phf_shared_0_7_21 ]);
};
- phf_codegen_0_7_21_features = f: updateFeatures f (rec {
+ phf_codegen_0_7_21_features = f: updateFeatures f ({
phf_codegen_0_7_21.default = (f.phf_codegen_0_7_21.default or true);
phf_generator_0_7_21.default = true;
phf_shared_0_7_21.default = true;
@@ -1015,7 +1015,7 @@ rec {
phf_generator_0_7_21 = { features?(phf_generator_0_7_21_features {}) }: phf_generator_0_7_21_ {
dependencies = mapFeatures features ([ phf_shared_0_7_21 rand_0_3_17 ]);
};
- phf_generator_0_7_21_features = f: updateFeatures f (rec {
+ phf_generator_0_7_21_features = f: updateFeatures f ({
phf_generator_0_7_21.default = (f.phf_generator_0_7_21.default or true);
phf_shared_0_7_21.default = true;
rand_0_3_17.default = true;
@@ -1024,7 +1024,7 @@ rec {
dependencies = mapFeatures features ([ siphasher_0_2_2 ]);
features = mkFeatures (features.phf_shared_0_7_21 or {});
};
- phf_shared_0_7_21_features = f: updateFeatures f (rec {
+ phf_shared_0_7_21_features = f: updateFeatures f ({
phf_shared_0_7_21.default = (f.phf_shared_0_7_21.default or true);
siphasher_0_2_2.default = true;
}) [ siphasher_0_2_2_features ];
@@ -1065,14 +1065,14 @@ rec {
rayon_0_8_2 = { features?(rayon_0_8_2_features {}) }: rayon_0_8_2_ {
dependencies = mapFeatures features ([ rayon_core_1_2_1 ]);
};
- rayon_0_8_2_features = f: updateFeatures f (rec {
+ rayon_0_8_2_features = f: updateFeatures f ({
rayon_0_8_2.default = (f.rayon_0_8_2.default or true);
rayon_core_1_2_1.default = true;
}) [ rayon_core_1_2_1_features ];
rayon_core_1_2_1 = { features?(rayon_core_1_2_1_features {}) }: rayon_core_1_2_1_ {
dependencies = mapFeatures features ([ coco_0_1_1 futures_0_1_16 lazy_static_0_2_9 libc_0_2_32 num_cpus_1_7_0 rand_0_3_17 ]);
};
- rayon_core_1_2_1_features = f: updateFeatures f (rec {
+ rayon_core_1_2_1_features = f: updateFeatures f ({
coco_0_1_1.default = true;
futures_0_1_16.default = true;
lazy_static_0_2_9.default = true;
@@ -1082,24 +1082,24 @@ rec {
rayon_core_1_2_1.default = (f.rayon_core_1_2_1.default or true);
}) [ coco_0_1_1_features futures_0_1_16_features lazy_static_0_2_9_features libc_0_2_32_features num_cpus_1_7_0_features rand_0_3_17_features ];
redox_syscall_0_1_31 = { features?(redox_syscall_0_1_31_features {}) }: redox_syscall_0_1_31_ {};
- redox_syscall_0_1_31_features = f: updateFeatures f (rec {
+ redox_syscall_0_1_31_features = f: updateFeatures f ({
redox_syscall_0_1_31.default = (f.redox_syscall_0_1_31.default or true);
}) [];
redox_termios_0_1_1 = { features?(redox_termios_0_1_1_features {}) }: redox_termios_0_1_1_ {
dependencies = mapFeatures features ([ redox_syscall_0_1_31 ]);
};
- redox_termios_0_1_1_features = f: updateFeatures f (rec {
+ redox_termios_0_1_1_features = f: updateFeatures f ({
redox_syscall_0_1_31.default = true;
redox_termios_0_1_1.default = (f.redox_termios_0_1_1.default or true);
}) [ redox_syscall_0_1_31_features ];
rustc_serialize_0_3_24 = { features?(rustc_serialize_0_3_24_features {}) }: rustc_serialize_0_3_24_ {};
- rustc_serialize_0_3_24_features = f: updateFeatures f (rec {
+ rustc_serialize_0_3_24_features = f: updateFeatures f ({
rustc_serialize_0_3_24.default = (f.rustc_serialize_0_3_24.default or true);
}) [];
scoped_threadpool_0_1_8 = { features?(scoped_threadpool_0_1_8_features {}) }: scoped_threadpool_0_1_8_ {
features = mkFeatures (features.scoped_threadpool_0_1_8 or {});
};
- scoped_threadpool_0_1_8_features = f: updateFeatures f (rec {
+ scoped_threadpool_0_1_8_features = f: updateFeatures f ({
scoped_threadpool_0_1_8.default = (f.scoped_threadpool_0_1_8.default or true);
}) [];
scopeguard_0_3_2 = { features?(scopeguard_0_3_2_features {}) }: scopeguard_0_3_2_ {
@@ -1159,11 +1159,11 @@ rec {
siphasher_0_2_2 = { features?(siphasher_0_2_2_features {}) }: siphasher_0_2_2_ {
dependencies = mapFeatures features ([]);
};
- siphasher_0_2_2_features = f: updateFeatures f (rec {
+ siphasher_0_2_2_features = f: updateFeatures f ({
siphasher_0_2_2.default = (f.siphasher_0_2_2.default or true);
}) [];
strsim_0_6_0 = { features?(strsim_0_6_0_features {}) }: strsim_0_6_0_ {};
- strsim_0_6_0_features = f: updateFeatures f (rec {
+ strsim_0_6_0_features = f: updateFeatures f ({
strsim_0_6_0.default = (f.strsim_0_6_0.default or true);
}) [];
target_build_utils_0_3_1 = { features?(target_build_utils_0_3_1_features {}) }: target_build_utils_0_3_1_ {
@@ -1188,7 +1188,7 @@ rec {
++ (if (kernel == "linux" || kernel == "darwin") then mapFeatures features ([ libc_0_2_32 ]) else [])
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
};
- tempfile_2_2_0_features = f: updateFeatures f (rec {
+ tempfile_2_2_0_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = true;
libc_0_2_32.default = true;
rand_0_3_17.default = true;
@@ -1226,7 +1226,7 @@ rec {
dependencies = (if !(kernel == "redox") then mapFeatures features ([ libc_0_2_32 ]) else [])
++ (if kernel == "redox" then mapFeatures features ([ redox_syscall_0_1_31 redox_termios_0_1_1 ]) else []);
};
- termion_1_5_1_features = f: updateFeatures f (rec {
+ termion_1_5_1_features = f: updateFeatures f ({
libc_0_2_32.default = true;
redox_syscall_0_1_31.default = true;
redox_termios_0_1_1.default = true;
@@ -1235,7 +1235,7 @@ rec {
textwrap_0_8_0 = { features?(textwrap_0_8_0_features {}) }: textwrap_0_8_0_ {
dependencies = mapFeatures features ([ term_size_0_3_0 unicode_width_0_1_4 ]);
};
- textwrap_0_8_0_features = f: updateFeatures f (rec {
+ textwrap_0_8_0_features = f: updateFeatures f ({
term_size_0_3_0.default = true;
textwrap_0_8_0.default = (f.textwrap_0_8_0.default or true);
unicode_width_0_1_4.default = true;
@@ -1243,7 +1243,7 @@ rec {
unicode_width_0_1_4 = { features?(unicode_width_0_1_4_features {}) }: unicode_width_0_1_4_ {
features = mkFeatures (features.unicode_width_0_1_4 or {});
};
- unicode_width_0_1_4_features = f: updateFeatures f (rec {
+ unicode_width_0_1_4_features = f: updateFeatures f ({
unicode_width_0_1_4.default = (f.unicode_width_0_1_4.default or true);
}) [];
vec_map_0_8_0 = { features?(vec_map_0_8_0_features {}) }: vec_map_0_8_0_ {
@@ -1264,7 +1264,7 @@ rec {
way_cooler_client_helpers_0_1_0 = { features?(way_cooler_client_helpers_0_1_0_features {}) }: way_cooler_client_helpers_0_1_0_ {
dependencies = mapFeatures features ([ wayland_client_0_9_10 wayland_sys_0_9_10 ]);
};
- way_cooler_client_helpers_0_1_0_features = f: updateFeatures f (rec {
+ way_cooler_client_helpers_0_1_0_features = f: updateFeatures f ({
way_cooler_client_helpers_0_1_0.default = (f.way_cooler_client_helpers_0_1_0.default or true);
wayland_client_0_9_10.cursor = true;
wayland_client_0_9_10.default = true;
@@ -1309,7 +1309,7 @@ rec {
wayland_scanner_0_9_10 = { features?(wayland_scanner_0_9_10_features {}) }: wayland_scanner_0_9_10_ {
dependencies = mapFeatures features ([ xml_rs_0_6_1 ]);
};
- wayland_scanner_0_9_10_features = f: updateFeatures f (rec {
+ wayland_scanner_0_9_10_features = f: updateFeatures f ({
wayland_scanner_0_9_10.default = (f.wayland_scanner_0_9_10.default or true);
xml_rs_0_6_1.default = true;
}) [ xml_rs_0_6_1_features ];
@@ -1339,7 +1339,7 @@ rec {
dependencies = mapFeatures features ([ byteorder_0_5_3 clap_2_26_2 image_0_10_4 tempfile_2_2_0 way_cooler_client_helpers_0_1_0 wayland_client_0_9_10 wayland_sys_0_9_10 ]);
buildDependencies = mapFeatures features ([ wayland_scanner_0_9_10 ]);
};
- wc_bg_0_3_0_features = f: updateFeatures f (rec {
+ wc_bg_0_3_0_features = f: updateFeatures f ({
byteorder_0_5_3.default = true;
clap_2_26_2.default = true;
image_0_10_4.default = true;
@@ -1355,17 +1355,17 @@ rec {
wc_bg_0_3_0.default = (f.wc_bg_0_3_0.default or true);
}) [ byteorder_0_5_3_features clap_2_26_2_features image_0_10_4_features tempfile_2_2_0_features way_cooler_client_helpers_0_1_0_features wayland_client_0_9_10_features wayland_sys_0_9_10_features wayland_scanner_0_9_10_features ];
winapi_0_2_8 = { features?(winapi_0_2_8_features {}) }: winapi_0_2_8_ {};
- winapi_0_2_8_features = f: updateFeatures f (rec {
+ winapi_0_2_8_features = f: updateFeatures f ({
winapi_0_2_8.default = (f.winapi_0_2_8.default or true);
}) [];
winapi_build_0_1_1 = { features?(winapi_build_0_1_1_features {}) }: winapi_build_0_1_1_ {};
- winapi_build_0_1_1_features = f: updateFeatures f (rec {
+ winapi_build_0_1_1_features = f: updateFeatures f ({
winapi_build_0_1_1.default = (f.winapi_build_0_1_1.default or true);
}) [];
xml_rs_0_6_1 = { features?(xml_rs_0_6_1_features {}) }: xml_rs_0_6_1_ {
dependencies = mapFeatures features ([ bitflags_0_9_1 ]);
};
- xml_rs_0_6_1_features = f: updateFeatures f (rec {
+ xml_rs_0_6_1_features = f: updateFeatures f ({
bitflags_0_9_1.default = true;
xml_rs_0_6_1.default = (f.xml_rs_0_6_1.default or true);
}) [ bitflags_0_9_1_features ];
diff --git a/pkgs/applications/window-managers/way-cooler/wc-grab.nix b/pkgs/applications/window-managers/way-cooler/wc-grab.nix
index 6f936eb2e43..3264357b2fd 100644
--- a/pkgs/applications/window-managers/way-cooler/wc-grab.nix
+++ b/pkgs/applications/window-managers/way-cooler/wc-grab.nix
@@ -305,25 +305,25 @@ rec {
inherit dependencies buildDependencies features;
};
adler32_1_0_0 = { features?(adler32_1_0_0_features {}) }: adler32_1_0_0_ {};
- adler32_1_0_0_features = f: updateFeatures f (rec {
+ adler32_1_0_0_features = f: updateFeatures f ({
adler32_1_0_0.default = (f.adler32_1_0_0.default or true);
}) [];
ansi_term_0_9_0 = { features?(ansi_term_0_9_0_features {}) }: ansi_term_0_9_0_ {};
- ansi_term_0_9_0_features = f: updateFeatures f (rec {
+ ansi_term_0_9_0_features = f: updateFeatures f ({
ansi_term_0_9_0.default = (f.ansi_term_0_9_0.default or true);
}) [];
atty_0_2_2 = { features?(atty_0_2_2_features {}) }: atty_0_2_2_ {
dependencies = (if !(kernel == "windows") then mapFeatures features ([ libc_0_2_21 ]) else [])
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
};
- atty_0_2_2_features = f: updateFeatures f (rec {
+ atty_0_2_2_features = f: updateFeatures f ({
atty_0_2_2.default = (f.atty_0_2_2.default or true);
kernel32_sys_0_2_2.default = true;
libc_0_2_21.default = true;
winapi_0_2_8.default = true;
}) [ libc_0_2_21_features kernel32_sys_0_2_2_features winapi_0_2_8_features ];
bitflags_0_7_0 = { features?(bitflags_0_7_0_features {}) }: bitflags_0_7_0_ {};
- bitflags_0_7_0_features = f: updateFeatures f (rec {
+ bitflags_0_7_0_features = f: updateFeatures f ({
bitflags_0_7_0.default = (f.bitflags_0_7_0.default or true);
}) [];
bitflags_0_8_0 = { features?(bitflags_0_8_0_features {}) }: bitflags_0_8_0_ {
@@ -402,7 +402,7 @@ rec {
vec_map_0_7_0.default = true;
}) [ ansi_term_0_9_0_features atty_0_2_2_features bitflags_0_8_0_features strsim_0_6_0_features term_size_0_2_3_features unicode_segmentation_1_1_0_features unicode_width_0_1_4_features vec_map_0_7_0_features ];
color_quant_1_0_0 = { features?(color_quant_1_0_0_features {}) }: color_quant_1_0_0_ {};
- color_quant_1_0_0_features = f: updateFeatures f (rec {
+ color_quant_1_0_0_features = f: updateFeatures f ({
color_quant_1_0_0.default = (f.color_quant_1_0_0.default or true);
}) [];
dbus_0_5_2 = { features?(dbus_0_5_2_features {}) }: dbus_0_5_2_ {
@@ -410,7 +410,7 @@ rec {
buildDependencies = mapFeatures features ([ metadeps_1_1_1 ]);
features = mkFeatures (features.dbus_0_5_2 or {});
};
- dbus_0_5_2_features = f: updateFeatures f (rec {
+ dbus_0_5_2_features = f: updateFeatures f ({
dbus_0_5_2.default = (f.dbus_0_5_2.default or true);
libc_0_2_21.default = true;
metadeps_1_1_1.default = true;
@@ -418,7 +418,7 @@ rec {
deflate_0_7_5 = { features?(deflate_0_7_5_features {}) }: deflate_0_7_5_ {
dependencies = mapFeatures features ([ adler32_1_0_0 byteorder_1_0_0 ]);
};
- deflate_0_7_5_features = f: updateFeatures f (rec {
+ deflate_0_7_5_features = f: updateFeatures f ({
adler32_1_0_0.default = true;
byteorder_1_0_0.default = true;
deflate_0_7_5.default = (f.deflate_0_7_5.default or true);
@@ -426,14 +426,14 @@ rec {
deque_0_3_1 = { features?(deque_0_3_1_features {}) }: deque_0_3_1_ {
dependencies = mapFeatures features ([ rand_0_3_15 ]);
};
- deque_0_3_1_features = f: updateFeatures f (rec {
+ deque_0_3_1_features = f: updateFeatures f ({
deque_0_3_1.default = (f.deque_0_3_1.default or true);
rand_0_3_15.default = true;
}) [ rand_0_3_15_features ];
enum_primitive_0_1_1 = { features?(enum_primitive_0_1_1_features {}) }: enum_primitive_0_1_1_ {
dependencies = mapFeatures features ([ num_traits_0_1_37 ]);
};
- enum_primitive_0_1_1_features = f: updateFeatures f (rec {
+ enum_primitive_0_1_1_features = f: updateFeatures f ({
enum_primitive_0_1_1.default = (f.enum_primitive_0_1_1.default or true);
num_traits_0_1_37.default = (f.num_traits_0_1_37.default or false);
}) [ num_traits_0_1_37_features ];
@@ -470,7 +470,7 @@ rec {
lzw_0_10_0.default = true;
}) [ color_quant_1_0_0_features lzw_0_10_0_features ];
glob_0_2_11 = { features?(glob_0_2_11_features {}) }: glob_0_2_11_ {};
- glob_0_2_11_features = f: updateFeatures f (rec {
+ glob_0_2_11_features = f: updateFeatures f ({
glob_0_2_11.default = (f.glob_0_2_11.default or true);
}) [];
image_0_12_3 = { features?(image_0_12_3_features {}) }: image_0_12_3_ {
@@ -557,7 +557,7 @@ rec {
inflate_0_1_1 = { features?(inflate_0_1_1_features {}) }: inflate_0_1_1_ {
features = mkFeatures (features.inflate_0_1_1 or {});
};
- inflate_0_1_1_features = f: updateFeatures f (rec {
+ inflate_0_1_1_features = f: updateFeatures f ({
inflate_0_1_1.default = (f.inflate_0_1_1.default or true);
}) [];
jpeg_decoder_0_1_11 = { features?(jpeg_decoder_0_1_11_features {}) }: jpeg_decoder_0_1_11_ {
@@ -578,7 +578,7 @@ rec {
dependencies = mapFeatures features ([ winapi_0_2_8 ]);
buildDependencies = mapFeatures features ([ winapi_build_0_1_1 ]);
};
- kernel32_sys_0_2_2_features = f: updateFeatures f (rec {
+ kernel32_sys_0_2_2_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = (f.kernel32_sys_0_2_2.default or true);
winapi_0_2_8.default = true;
winapi_build_0_1_1.default = true;
@@ -606,7 +606,7 @@ rec {
metadeps_1_1_1 = { features?(metadeps_1_1_1_features {}) }: metadeps_1_1_1_ {
dependencies = mapFeatures features ([ error_chain_0_7_2 pkg_config_0_3_9 toml_0_2_1 ]);
};
- metadeps_1_1_1_features = f: updateFeatures f (rec {
+ metadeps_1_1_1_features = f: updateFeatures f ({
error_chain_0_7_2.default = (f.error_chain_0_7_2.default or false);
metadeps_1_1_1.default = (f.metadeps_1_1_1.default or true);
pkg_config_0_3_9.default = true;
@@ -615,14 +615,14 @@ rec {
num_integer_0_1_33 = { features?(num_integer_0_1_33_features {}) }: num_integer_0_1_33_ {
dependencies = mapFeatures features ([ num_traits_0_1_37 ]);
};
- num_integer_0_1_33_features = f: updateFeatures f (rec {
+ num_integer_0_1_33_features = f: updateFeatures f ({
num_integer_0_1_33.default = (f.num_integer_0_1_33.default or true);
num_traits_0_1_37.default = true;
}) [ num_traits_0_1_37_features ];
num_iter_0_1_33 = { features?(num_iter_0_1_33_features {}) }: num_iter_0_1_33_ {
dependencies = mapFeatures features ([ num_integer_0_1_33 num_traits_0_1_37 ]);
};
- num_iter_0_1_33_features = f: updateFeatures f (rec {
+ num_iter_0_1_33_features = f: updateFeatures f ({
num_integer_0_1_33.default = true;
num_iter_0_1_33.default = (f.num_iter_0_1_33.default or true);
num_traits_0_1_37.default = true;
@@ -649,18 +649,18 @@ rec {
num_traits_0_1_37.default = true;
}) [ num_integer_0_1_33_features num_traits_0_1_37_features ];
num_traits_0_1_37 = { features?(num_traits_0_1_37_features {}) }: num_traits_0_1_37_ {};
- num_traits_0_1_37_features = f: updateFeatures f (rec {
+ num_traits_0_1_37_features = f: updateFeatures f ({
num_traits_0_1_37.default = (f.num_traits_0_1_37.default or true);
}) [];
num_cpus_1_3_0 = { features?(num_cpus_1_3_0_features {}) }: num_cpus_1_3_0_ {
dependencies = mapFeatures features ([ libc_0_2_21 ]);
};
- num_cpus_1_3_0_features = f: updateFeatures f (rec {
+ num_cpus_1_3_0_features = f: updateFeatures f ({
libc_0_2_21.default = true;
num_cpus_1_3_0.default = (f.num_cpus_1_3_0.default or true);
}) [ libc_0_2_21_features ];
pkg_config_0_3_9 = { features?(pkg_config_0_3_9_features {}) }: pkg_config_0_3_9_ {};
- pkg_config_0_3_9_features = f: updateFeatures f (rec {
+ pkg_config_0_3_9_features = f: updateFeatures f ({
pkg_config_0_3_9.default = (f.pkg_config_0_3_9.default or true);
}) [];
png_0_6_2 = { features?(png_0_6_2_features {}) }: png_0_6_2_ {
@@ -686,7 +686,7 @@ rec {
rand_0_3_15 = { features?(rand_0_3_15_features {}) }: rand_0_3_15_ {
dependencies = mapFeatures features ([ libc_0_2_21 ]);
};
- rand_0_3_15_features = f: updateFeatures f (rec {
+ rand_0_3_15_features = f: updateFeatures f ({
libc_0_2_21.default = true;
rand_0_3_15.default = (f.rand_0_3_15.default or true);
}) [ libc_0_2_21_features ];
@@ -694,7 +694,7 @@ rec {
dependencies = mapFeatures features ([ deque_0_3_1 libc_0_2_21 num_cpus_1_3_0 rand_0_3_15 ]);
features = mkFeatures (features.rayon_0_6_0 or {});
};
- rayon_0_6_0_features = f: updateFeatures f (rec {
+ rayon_0_6_0_features = f: updateFeatures f ({
deque_0_3_1.default = true;
libc_0_2_21.default = true;
num_cpus_1_3_0.default = true;
@@ -704,11 +704,11 @@ rec {
scoped_threadpool_0_1_7 = { features?(scoped_threadpool_0_1_7_features {}) }: scoped_threadpool_0_1_7_ {
features = mkFeatures (features.scoped_threadpool_0_1_7 or {});
};
- scoped_threadpool_0_1_7_features = f: updateFeatures f (rec {
+ scoped_threadpool_0_1_7_features = f: updateFeatures f ({
scoped_threadpool_0_1_7.default = (f.scoped_threadpool_0_1_7.default or true);
}) [];
strsim_0_6_0 = { features?(strsim_0_6_0_features {}) }: strsim_0_6_0_ {};
- strsim_0_6_0_features = f: updateFeatures f (rec {
+ strsim_0_6_0_features = f: updateFeatures f ({
strsim_0_6_0.default = (f.strsim_0_6_0.default or true);
}) [];
term_size_0_2_3 = { features?(term_size_0_2_3_features {}) }: term_size_0_2_3_ {
@@ -750,13 +750,13 @@ rec {
unicode_segmentation_1_1_0 = { features?(unicode_segmentation_1_1_0_features {}) }: unicode_segmentation_1_1_0_ {
features = mkFeatures (features.unicode_segmentation_1_1_0 or {});
};
- unicode_segmentation_1_1_0_features = f: updateFeatures f (rec {
+ unicode_segmentation_1_1_0_features = f: updateFeatures f ({
unicode_segmentation_1_1_0.default = (f.unicode_segmentation_1_1_0.default or true);
}) [];
unicode_width_0_1_4 = { features?(unicode_width_0_1_4_features {}) }: unicode_width_0_1_4_ {
features = mkFeatures (features.unicode_width_0_1_4 or {});
};
- unicode_width_0_1_4_features = f: updateFeatures f (rec {
+ unicode_width_0_1_4_features = f: updateFeatures f ({
unicode_width_0_1_4.default = (f.unicode_width_0_1_4.default or true);
}) [];
vec_map_0_7_0 = { features?(vec_map_0_7_0_features {}) }: vec_map_0_7_0_ {
@@ -777,18 +777,18 @@ rec {
wc_grab_0_3_0 = { features?(wc_grab_0_3_0_features {}) }: wc_grab_0_3_0_ {
dependencies = mapFeatures features ([ clap_2_22_0 dbus_0_5_2 image_0_12_3 ]);
};
- wc_grab_0_3_0_features = f: updateFeatures f (rec {
+ wc_grab_0_3_0_features = f: updateFeatures f ({
clap_2_22_0.default = true;
dbus_0_5_2.default = true;
image_0_12_3.default = true;
wc_grab_0_3_0.default = (f.wc_grab_0_3_0.default or true);
}) [ clap_2_22_0_features dbus_0_5_2_features image_0_12_3_features ];
winapi_0_2_8 = { features?(winapi_0_2_8_features {}) }: winapi_0_2_8_ {};
- winapi_0_2_8_features = f: updateFeatures f (rec {
+ winapi_0_2_8_features = f: updateFeatures f ({
winapi_0_2_8.default = (f.winapi_0_2_8.default or true);
}) [];
winapi_build_0_1_1 = { features?(winapi_build_0_1_1_features {}) }: winapi_build_0_1_1_ {};
- winapi_build_0_1_1_features = f: updateFeatures f (rec {
+ winapi_build_0_1_1_features = f: updateFeatures f ({
winapi_build_0_1_1.default = (f.winapi_build_0_1_1.default or true);
}) [];
}
diff --git a/pkgs/applications/window-managers/way-cooler/wc-lock.nix b/pkgs/applications/window-managers/way-cooler/wc-lock.nix
index 1b9e3df3508..6ffc5779a0b 100644
--- a/pkgs/applications/window-managers/way-cooler/wc-lock.nix
+++ b/pkgs/applications/window-managers/way-cooler/wc-lock.nix
@@ -557,21 +557,21 @@ rec {
inherit dependencies buildDependencies features;
};
ansi_term_0_9_0 = { features?(ansi_term_0_9_0_features {}) }: ansi_term_0_9_0_ {};
- ansi_term_0_9_0_features = f: updateFeatures f (rec {
+ ansi_term_0_9_0_features = f: updateFeatures f ({
ansi_term_0_9_0.default = (f.ansi_term_0_9_0.default or true);
}) [];
atty_0_2_2 = { features?(atty_0_2_2_features {}) }: atty_0_2_2_ {
dependencies = (if !(kernel == "windows") then mapFeatures features ([ libc_0_2_23 ]) else [])
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
};
- atty_0_2_2_features = f: updateFeatures f (rec {
+ atty_0_2_2_features = f: updateFeatures f ({
atty_0_2_2.default = (f.atty_0_2_2.default or true);
kernel32_sys_0_2_2.default = true;
libc_0_2_23.default = true;
winapi_0_2_8.default = true;
}) [ libc_0_2_23_features kernel32_sys_0_2_2_features winapi_0_2_8_features ];
bitflags_0_7_0 = { features?(bitflags_0_7_0_features {}) }: bitflags_0_7_0_ {};
- bitflags_0_7_0_features = f: updateFeatures f (rec {
+ bitflags_0_7_0_features = f: updateFeatures f ({
bitflags_0_7_0.default = (f.bitflags_0_7_0.default or true);
}) [];
bitflags_0_8_2 = { features?(bitflags_0_8_2_features {}) }: bitflags_0_8_2_ {
@@ -674,20 +674,20 @@ rec {
dependencies = mapFeatures features ([ either_1_2_0 scopeguard_0_3_2 ]);
features = mkFeatures (features.coco_0_1_1 or {});
};
- coco_0_1_1_features = f: updateFeatures f (rec {
+ coco_0_1_1_features = f: updateFeatures f ({
coco_0_1_1.default = (f.coco_0_1_1.default or true);
either_1_2_0.default = true;
scopeguard_0_3_2.default = true;
}) [ either_1_2_0_features scopeguard_0_3_2_features ];
color_quant_1_0_0 = { features?(color_quant_1_0_0_features {}) }: color_quant_1_0_0_ {};
- color_quant_1_0_0_features = f: updateFeatures f (rec {
+ color_quant_1_0_0_features = f: updateFeatures f ({
color_quant_1_0_0.default = (f.color_quant_1_0_0.default or true);
}) [];
dbus_0_5_4 = { features?(dbus_0_5_4_features {}) }: dbus_0_5_4_ {
dependencies = mapFeatures features ([ libc_0_2_23 libdbus_sys_0_1_1 ]);
features = mkFeatures (features.dbus_0_5_4 or {});
};
- dbus_0_5_4_features = f: updateFeatures f (rec {
+ dbus_0_5_4_features = f: updateFeatures f ({
dbus_0_5_4.default = (f.dbus_0_5_4.default or true);
libc_0_2_23.default = true;
libdbus_sys_0_1_1.default = true;
@@ -696,12 +696,12 @@ rec {
dependencies = mapFeatures features ([ libloading_0_3_4 ]);
features = mkFeatures (features.dlib_0_3_1 or {});
};
- dlib_0_3_1_features = f: updateFeatures f (rec {
+ dlib_0_3_1_features = f: updateFeatures f ({
dlib_0_3_1.default = (f.dlib_0_3_1.default or true);
libloading_0_3_4.default = true;
}) [ libloading_0_3_4_features ];
dtoa_0_4_1 = { features?(dtoa_0_4_1_features {}) }: dtoa_0_4_1_ {};
- dtoa_0_4_1_features = f: updateFeatures f (rec {
+ dtoa_0_4_1_features = f: updateFeatures f ({
dtoa_0_4_1.default = (f.dtoa_0_4_1.default or true);
}) [];
either_1_2_0 = { features?(either_1_2_0_features {}) }: either_1_2_0_ {
@@ -717,7 +717,7 @@ rec {
enum_primitive_0_1_1 = { features?(enum_primitive_0_1_1_features {}) }: enum_primitive_0_1_1_ {
dependencies = mapFeatures features ([ num_traits_0_1_37 ]);
};
- enum_primitive_0_1_1_features = f: updateFeatures f (rec {
+ enum_primitive_0_1_1_features = f: updateFeatures f ({
enum_primitive_0_1_1.default = (f.enum_primitive_0_1_1.default or true);
num_traits_0_1_37.default = (f.num_traits_0_1_37.default or false);
}) [ num_traits_0_1_37_features ];
@@ -765,7 +765,7 @@ rec {
fs2_0_2_5 = { features?(fs2_0_2_5_features {}) }: fs2_0_2_5_ {
dependencies = mapFeatures features ([ kernel32_sys_0_2_2 libc_0_2_23 winapi_0_2_8 ]);
};
- fs2_0_2_5_features = f: updateFeatures f (rec {
+ fs2_0_2_5_features = f: updateFeatures f ({
fs2_0_2_5.default = (f.fs2_0_2_5.default or true);
kernel32_sys_0_2_2.default = true;
libc_0_2_23.default = true;
@@ -814,7 +814,7 @@ rec {
lzw_0_10_0.default = true;
}) [ color_quant_1_0_0_features lzw_0_10_0_features ];
glob_0_2_11 = { features?(glob_0_2_11_features {}) }: glob_0_2_11_ {};
- glob_0_2_11_features = f: updateFeatures f (rec {
+ glob_0_2_11_features = f: updateFeatures f ({
glob_0_2_11.default = (f.glob_0_2_11.default or true);
}) [];
image_0_10_4 = { features?(image_0_10_4_features {}) }: image_0_10_4_ {
@@ -901,11 +901,11 @@ rec {
inflate_0_1_1 = { features?(inflate_0_1_1_features {}) }: inflate_0_1_1_ {
features = mkFeatures (features.inflate_0_1_1 or {});
};
- inflate_0_1_1_features = f: updateFeatures f (rec {
+ inflate_0_1_1_features = f: updateFeatures f ({
inflate_0_1_1.default = (f.inflate_0_1_1.default or true);
}) [];
itoa_0_3_1 = { features?(itoa_0_3_1_features {}) }: itoa_0_3_1_ {};
- itoa_0_3_1_features = f: updateFeatures f (rec {
+ itoa_0_3_1_features = f: updateFeatures f ({
itoa_0_3_1.default = (f.itoa_0_3_1.default or true);
}) [];
jpeg_decoder_0_1_13 = { features?(jpeg_decoder_0_1_13_features {}) }: jpeg_decoder_0_1_13_ {
@@ -926,7 +926,7 @@ rec {
dependencies = mapFeatures features ([ winapi_0_2_8 ]);
buildDependencies = mapFeatures features ([ winapi_build_0_1_1 ]);
};
- kernel32_sys_0_2_2_features = f: updateFeatures f (rec {
+ kernel32_sys_0_2_2_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = (f.kernel32_sys_0_2_2.default or true);
winapi_0_2_8.default = true;
winapi_build_0_1_1.default = true;
@@ -958,7 +958,7 @@ rec {
}) [];
libdbus_sys_0_1_1 = { features?(libdbus_sys_0_1_1_features {}) }: libdbus_sys_0_1_1_ {
buildDependencies = mapFeatures features ([ metadeps_1_1_2 ]);};
- libdbus_sys_0_1_1_features = f: updateFeatures f (rec {
+ libdbus_sys_0_1_1_features = f: updateFeatures f ({
libdbus_sys_0_1_1.default = (f.libdbus_sys_0_1_1.default or true);
metadeps_1_1_2.default = true;
}) [ metadeps_1_1_2_features ];
@@ -967,7 +967,7 @@ rec {
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
buildDependencies = mapFeatures features ([ target_build_utils_0_3_1 ]);
};
- libloading_0_3_4_features = f: updateFeatures f (rec {
+ libloading_0_3_4_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = true;
lazy_static_0_2_8.default = true;
libloading_0_3_4.default = (f.libloading_0_3_4.default or true);
@@ -987,7 +987,7 @@ rec {
memmap_0_4_0 = { features?(memmap_0_4_0_features {}) }: memmap_0_4_0_ {
dependencies = mapFeatures features ([ fs2_0_2_5 kernel32_sys_0_2_2 libc_0_2_23 winapi_0_2_8 ]);
};
- memmap_0_4_0_features = f: updateFeatures f (rec {
+ memmap_0_4_0_features = f: updateFeatures f ({
fs2_0_2_5.default = true;
kernel32_sys_0_2_2.default = true;
libc_0_2_23.default = true;
@@ -997,7 +997,7 @@ rec {
metadeps_1_1_2 = { features?(metadeps_1_1_2_features {}) }: metadeps_1_1_2_ {
dependencies = mapFeatures features ([ error_chain_0_10_0 pkg_config_0_3_9 toml_0_2_1 ]);
};
- metadeps_1_1_2_features = f: updateFeatures f (rec {
+ metadeps_1_1_2_features = f: updateFeatures f ({
error_chain_0_10_0.default = (f.error_chain_0_10_0.default or false);
metadeps_1_1_2.default = (f.metadeps_1_1_2.default or true);
pkg_config_0_3_9.default = true;
@@ -1007,7 +1007,7 @@ rec {
dependencies = mapFeatures features ([ libc_0_2_23 ]);
buildDependencies = mapFeatures features ([ cc_1_0_0 ]);
};
- miniz_sys_0_1_10_features = f: updateFeatures f (rec {
+ miniz_sys_0_1_10_features = f: updateFeatures f ({
cc_1_0_0.default = true;
libc_0_2_23.default = true;
miniz_sys_0_1_10.default = (f.miniz_sys_0_1_10.default or true);
@@ -1036,14 +1036,14 @@ rec {
num_integer_0_1_35 = { features?(num_integer_0_1_35_features {}) }: num_integer_0_1_35_ {
dependencies = mapFeatures features ([ num_traits_0_1_37 ]);
};
- num_integer_0_1_35_features = f: updateFeatures f (rec {
+ num_integer_0_1_35_features = f: updateFeatures f ({
num_integer_0_1_35.default = (f.num_integer_0_1_35.default or true);
num_traits_0_1_37.default = true;
}) [ num_traits_0_1_37_features ];
num_iter_0_1_34 = { features?(num_iter_0_1_34_features {}) }: num_iter_0_1_34_ {
dependencies = mapFeatures features ([ num_integer_0_1_35 num_traits_0_1_37 ]);
};
- num_iter_0_1_34_features = f: updateFeatures f (rec {
+ num_iter_0_1_34_features = f: updateFeatures f ({
num_integer_0_1_35.default = true;
num_iter_0_1_34.default = (f.num_iter_0_1_34.default or true);
num_traits_0_1_37.default = true;
@@ -1074,13 +1074,13 @@ rec {
rustc_serialize_0_3_24.default = true;
}) [ num_bigint_0_1_40_features num_integer_0_1_35_features num_traits_0_1_37_features rustc_serialize_0_3_24_features ];
num_traits_0_1_37 = { features?(num_traits_0_1_37_features {}) }: num_traits_0_1_37_ {};
- num_traits_0_1_37_features = f: updateFeatures f (rec {
+ num_traits_0_1_37_features = f: updateFeatures f ({
num_traits_0_1_37.default = (f.num_traits_0_1_37.default or true);
}) [];
num_cpus_1_6_2 = { features?(num_cpus_1_6_2_features {}) }: num_cpus_1_6_2_ {
dependencies = mapFeatures features ([ libc_0_2_23 ]);
};
- num_cpus_1_6_2_features = f: updateFeatures f (rec {
+ num_cpus_1_6_2_features = f: updateFeatures f ({
libc_0_2_23.default = true;
num_cpus_1_6_2.default = (f.num_cpus_1_6_2.default or true);
}) [ libc_0_2_23_features ];
@@ -1103,7 +1103,7 @@ rec {
phf_codegen_0_7_21 = { features?(phf_codegen_0_7_21_features {}) }: phf_codegen_0_7_21_ {
dependencies = mapFeatures features ([ phf_generator_0_7_21 phf_shared_0_7_21 ]);
};
- phf_codegen_0_7_21_features = f: updateFeatures f (rec {
+ phf_codegen_0_7_21_features = f: updateFeatures f ({
phf_codegen_0_7_21.default = (f.phf_codegen_0_7_21.default or true);
phf_generator_0_7_21.default = true;
phf_shared_0_7_21.default = true;
@@ -1111,7 +1111,7 @@ rec {
phf_generator_0_7_21 = { features?(phf_generator_0_7_21_features {}) }: phf_generator_0_7_21_ {
dependencies = mapFeatures features ([ phf_shared_0_7_21 rand_0_3_15 ]);
};
- phf_generator_0_7_21_features = f: updateFeatures f (rec {
+ phf_generator_0_7_21_features = f: updateFeatures f ({
phf_generator_0_7_21.default = (f.phf_generator_0_7_21.default or true);
phf_shared_0_7_21.default = true;
rand_0_3_15.default = true;
@@ -1120,12 +1120,12 @@ rec {
dependencies = mapFeatures features ([ siphasher_0_2_2 ]);
features = mkFeatures (features.phf_shared_0_7_21 or {});
};
- phf_shared_0_7_21_features = f: updateFeatures f (rec {
+ phf_shared_0_7_21_features = f: updateFeatures f ({
phf_shared_0_7_21.default = (f.phf_shared_0_7_21.default or true);
siphasher_0_2_2.default = true;
}) [ siphasher_0_2_2_features ];
pkg_config_0_3_9 = { features?(pkg_config_0_3_9_features {}) }: pkg_config_0_3_9_ {};
- pkg_config_0_3_9_features = f: updateFeatures f (rec {
+ pkg_config_0_3_9_features = f: updateFeatures f ({
pkg_config_0_3_9.default = (f.pkg_config_0_3_9.default or true);
}) [];
png_0_5_2 = { features?(png_0_5_2_features {}) }: png_0_5_2_ {
@@ -1151,21 +1151,21 @@ rec {
rand_0_3_15 = { features?(rand_0_3_15_features {}) }: rand_0_3_15_ {
dependencies = mapFeatures features ([ libc_0_2_23 ]);
};
- rand_0_3_15_features = f: updateFeatures f (rec {
+ rand_0_3_15_features = f: updateFeatures f ({
libc_0_2_23.default = true;
rand_0_3_15.default = (f.rand_0_3_15.default or true);
}) [ libc_0_2_23_features ];
rayon_0_8_2 = { features?(rayon_0_8_2_features {}) }: rayon_0_8_2_ {
dependencies = mapFeatures features ([ rayon_core_1_2_1 ]);
};
- rayon_0_8_2_features = f: updateFeatures f (rec {
+ rayon_0_8_2_features = f: updateFeatures f ({
rayon_0_8_2.default = (f.rayon_0_8_2.default or true);
rayon_core_1_2_1.default = true;
}) [ rayon_core_1_2_1_features ];
rayon_core_1_2_1 = { features?(rayon_core_1_2_1_features {}) }: rayon_core_1_2_1_ {
dependencies = mapFeatures features ([ coco_0_1_1 futures_0_1_16 lazy_static_0_2_8 libc_0_2_23 num_cpus_1_6_2 rand_0_3_15 ]);
};
- rayon_core_1_2_1_features = f: updateFeatures f (rec {
+ rayon_core_1_2_1_features = f: updateFeatures f ({
coco_0_1_1.default = true;
futures_0_1_16.default = true;
lazy_static_0_2_8.default = true;
@@ -1175,20 +1175,20 @@ rec {
rayon_core_1_2_1.default = (f.rayon_core_1_2_1.default or true);
}) [ coco_0_1_1_features futures_0_1_16_features lazy_static_0_2_8_features libc_0_2_23_features num_cpus_1_6_2_features rand_0_3_15_features ];
rustc_serialize_0_3_24 = { features?(rustc_serialize_0_3_24_features {}) }: rustc_serialize_0_3_24_ {};
- rustc_serialize_0_3_24_features = f: updateFeatures f (rec {
+ rustc_serialize_0_3_24_features = f: updateFeatures f ({
rustc_serialize_0_3_24.default = (f.rustc_serialize_0_3_24.default or true);
}) [];
rustc_version_0_1_7 = { features?(rustc_version_0_1_7_features {}) }: rustc_version_0_1_7_ {
dependencies = mapFeatures features ([ semver_0_1_20 ]);
};
- rustc_version_0_1_7_features = f: updateFeatures f (rec {
+ rustc_version_0_1_7_features = f: updateFeatures f ({
rustc_version_0_1_7.default = (f.rustc_version_0_1_7.default or true);
semver_0_1_20.default = true;
}) [ semver_0_1_20_features ];
scoped_threadpool_0_1_8 = { features?(scoped_threadpool_0_1_8_features {}) }: scoped_threadpool_0_1_8_ {
features = mkFeatures (features.scoped_threadpool_0_1_8 or {});
};
- scoped_threadpool_0_1_8_features = f: updateFeatures f (rec {
+ scoped_threadpool_0_1_8_features = f: updateFeatures f ({
scoped_threadpool_0_1_8.default = (f.scoped_threadpool_0_1_8.default or true);
}) [];
scopeguard_0_3_2 = { features?(scopeguard_0_3_2_features {}) }: scopeguard_0_3_2_ {
@@ -1202,7 +1202,7 @@ rec {
(scopeguard_0_3_2.default or false);
}) [];
semver_0_1_20 = { features?(semver_0_1_20_features {}) }: semver_0_1_20_ {};
- semver_0_1_20_features = f: updateFeatures f (rec {
+ semver_0_1_20_features = f: updateFeatures f ({
semver_0_1_20.default = (f.semver_0_1_20.default or true);
}) [];
serde_0_9_15 = { features?(serde_0_9_15_features {}) }: serde_0_9_15_ {
@@ -1252,11 +1252,11 @@ rec {
siphasher_0_2_2 = { features?(siphasher_0_2_2_features {}) }: siphasher_0_2_2_ {
dependencies = mapFeatures features ([]);
};
- siphasher_0_2_2_features = f: updateFeatures f (rec {
+ siphasher_0_2_2_features = f: updateFeatures f ({
siphasher_0_2_2.default = (f.siphasher_0_2_2.default or true);
}) [];
strsim_0_6_0 = { features?(strsim_0_6_0_features {}) }: strsim_0_6_0_ {};
- strsim_0_6_0_features = f: updateFeatures f (rec {
+ strsim_0_6_0_features = f: updateFeatures f ({
strsim_0_6_0.default = (f.strsim_0_6_0.default or true);
}) [];
target_build_utils_0_3_1 = { features?(target_build_utils_0_3_1_features {}) }: target_build_utils_0_3_1_ {
@@ -1281,7 +1281,7 @@ rec {
++ (if kernel == "windows" then mapFeatures features ([ kernel32_sys_0_2_2 winapi_0_2_8 ]) else []);
buildDependencies = mapFeatures features ([ rustc_version_0_1_7 ]);
};
- tempfile_2_1_5_features = f: updateFeatures f (rec {
+ tempfile_2_1_5_features = f: updateFeatures f ({
kernel32_sys_0_2_2.default = true;
libc_0_2_23.default = true;
rand_0_3_15.default = true;
@@ -1328,13 +1328,13 @@ rec {
unicode_segmentation_1_2_0 = { features?(unicode_segmentation_1_2_0_features {}) }: unicode_segmentation_1_2_0_ {
features = mkFeatures (features.unicode_segmentation_1_2_0 or {});
};
- unicode_segmentation_1_2_0_features = f: updateFeatures f (rec {
+ unicode_segmentation_1_2_0_features = f: updateFeatures f ({
unicode_segmentation_1_2_0.default = (f.unicode_segmentation_1_2_0.default or true);
}) [];
unicode_width_0_1_4 = { features?(unicode_width_0_1_4_features {}) }: unicode_width_0_1_4_ {
features = mkFeatures (features.unicode_width_0_1_4 or {});
};
- unicode_width_0_1_4_features = f: updateFeatures f (rec {
+ unicode_width_0_1_4_features = f: updateFeatures f ({
unicode_width_0_1_4.default = (f.unicode_width_0_1_4.default or true);
}) [];
vec_map_0_8_0 = { features?(vec_map_0_8_0_features {}) }: vec_map_0_8_0_ {
@@ -1355,7 +1355,7 @@ rec {
way_cooler_client_helpers_0_1_0 = { features?(way_cooler_client_helpers_0_1_0_features {}) }: way_cooler_client_helpers_0_1_0_ {
dependencies = mapFeatures features ([ wayland_client_0_9_6 wayland_sys_0_9_6 ]);
};
- way_cooler_client_helpers_0_1_0_features = f: updateFeatures f (rec {
+ way_cooler_client_helpers_0_1_0_features = f: updateFeatures f ({
way_cooler_client_helpers_0_1_0.default = (f.way_cooler_client_helpers_0_1_0.default or true);
wayland_client_0_9_6.cursor = true;
wayland_client_0_9_6.default = true;
@@ -1400,7 +1400,7 @@ rec {
wayland_kbd_0_9_0 = { features?(wayland_kbd_0_9_0_features {}) }: wayland_kbd_0_9_0_ {
dependencies = mapFeatures features ([ bitflags_0_7_0 dlib_0_3_1 lazy_static_0_2_8 memmap_0_4_0 wayland_client_0_9_6 ]);
};
- wayland_kbd_0_9_0_features = f: updateFeatures f (rec {
+ wayland_kbd_0_9_0_features = f: updateFeatures f ({
bitflags_0_7_0.default = true;
dlib_0_3_1.default = true;
lazy_static_0_2_8.default = true;
@@ -1411,7 +1411,7 @@ rec {
wayland_scanner_0_9_6 = { features?(wayland_scanner_0_9_6_features {}) }: wayland_scanner_0_9_6_ {
dependencies = mapFeatures features ([ xml_rs_0_3_6 ]);
};
- wayland_scanner_0_9_6_features = f: updateFeatures f (rec {
+ wayland_scanner_0_9_6_features = f: updateFeatures f ({
wayland_scanner_0_9_6.default = (f.wayland_scanner_0_9_6.default or true);
xml_rs_0_3_6.default = true;
}) [ xml_rs_0_3_6_features ];
@@ -1441,7 +1441,7 @@ rec {
dependencies = mapFeatures features ([ byteorder_0_5_3 clap_2_24_2 dbus_0_5_4 image_0_10_4 libc_0_2_23 rand_0_3_15 tempfile_2_1_5 way_cooler_client_helpers_0_1_0 wayland_client_0_9_6 wayland_kbd_0_9_0 wayland_sys_0_9_6 ]);
buildDependencies = mapFeatures features ([ gcc_0_3_50 wayland_scanner_0_9_6 ]);
};
- wc_lock_0_2_1_features = f: updateFeatures f (rec {
+ wc_lock_0_2_1_features = f: updateFeatures f ({
byteorder_0_5_3.default = true;
clap_2_24_2.default = true;
dbus_0_5_4.default = true;
@@ -1462,17 +1462,17 @@ rec {
wc_lock_0_2_1.default = (f.wc_lock_0_2_1.default or true);
}) [ byteorder_0_5_3_features clap_2_24_2_features dbus_0_5_4_features image_0_10_4_features libc_0_2_23_features rand_0_3_15_features tempfile_2_1_5_features way_cooler_client_helpers_0_1_0_features wayland_client_0_9_6_features wayland_kbd_0_9_0_features wayland_sys_0_9_6_features gcc_0_3_50_features wayland_scanner_0_9_6_features ];
winapi_0_2_8 = { features?(winapi_0_2_8_features {}) }: winapi_0_2_8_ {};
- winapi_0_2_8_features = f: updateFeatures f (rec {
+ winapi_0_2_8_features = f: updateFeatures f ({
winapi_0_2_8.default = (f.winapi_0_2_8.default or true);
}) [];
winapi_build_0_1_1 = { features?(winapi_build_0_1_1_features {}) }: winapi_build_0_1_1_ {};
- winapi_build_0_1_1_features = f: updateFeatures f (rec {
+ winapi_build_0_1_1_features = f: updateFeatures f ({
winapi_build_0_1_1.default = (f.winapi_build_0_1_1.default or true);
}) [];
xml_rs_0_3_6 = { features?(xml_rs_0_3_6_features {}) }: xml_rs_0_3_6_ {
dependencies = mapFeatures features ([ bitflags_0_7_0 ]);
};
- xml_rs_0_3_6_features = f: updateFeatures f (rec {
+ xml_rs_0_3_6_features = f: updateFeatures f ({
bitflags_0_7_0.default = true;
xml_rs_0_3_6.default = (f.xml_rs_0_3_6.default or true);
}) [ bitflags_0_7_0_features ];
diff --git a/pkgs/development/libraries/wlc/default.nix b/pkgs/applications/window-managers/way-cooler/wlc.nix
similarity index 88%
rename from pkgs/development/libraries/wlc/default.nix
rename to pkgs/applications/window-managers/way-cooler/wlc.nix
index 572adfeb0bb..03d0b3023f7 100644
--- a/pkgs/development/libraries/wlc/default.nix
+++ b/pkgs/applications/window-managers/way-cooler/wlc.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig
, wayland, pixman, libxkbcommon, libinput, xcbutilwm, xcbutilimage, libGL
-, libX11, dbus, wayland-protocols, libdrm, mesa_noglu
+, libX11, dbus, wayland-protocols, libdrm, mesa
, libpthreadstubs, libXdmcp, libXext, libXfixes
, withOptionalPackages ? true, zlib, valgrind, doxygen
}:
stdenv.mkDerivation rec {
- name = "wlc-${version}";
+ pname = "wlc";
version = "0.0.11";
src = fetchFromGitHub {
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
buildInputs = [
wayland pixman libxkbcommon libinput xcbutilwm xcbutilimage libGL
libX11 libXfixes dbus wayland-protocols
- libpthreadstubs libXdmcp libXext libdrm mesa_noglu ]
+ libpthreadstubs libXdmcp libXext libdrm mesa ]
++ stdenv.lib.optionals withOptionalPackages [ zlib valgrind doxygen ];
doCheck = true;
diff --git a/pkgs/applications/window-managers/weston/default.nix b/pkgs/applications/window-managers/weston/default.nix
index b9d16db5792..34ad2bcc732 100644
--- a/pkgs/applications/window-managers/weston/default.nix
+++ b/pkgs/applications/window-managers/weston/default.nix
@@ -1,47 +1,53 @@
-{ stdenv, fetchurl, pkgconfig, wayland, libGL, mesa_noglu, libxkbcommon, cairo, libxcb
-, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput
+{ stdenv, fetchurl, meson, ninja, pkgconfig
+, wayland, libGL, mesa, libxkbcommon, cairo, libxcb
+, libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev
+, colord, lcms2, pipewire ? null
, pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null
, libwebp ? null, xwayland ? null, wayland-protocols
# beware of null defaults, as the parameters *are* supplied by callPackage by default
}:
+with stdenv.lib;
stdenv.mkDerivation rec {
- name = "weston-${version}";
- version = "5.0.0";
+ pname = "weston";
+ version = "7.0.0";
src = fetchurl {
- url = "https://wayland.freedesktop.org/releases/${name}.tar.xz";
- sha256 = "1bsc9ry566mpk6fdwkqpvwq2j7m79d9cvh7d3lgf6igsphik98hm";
+ url = "https://wayland.freedesktop.org/releases/${pname}-${version}.tar.xz";
+ sha256 = "0r4sj11hq4brv3ryrgp2wmkkfz1h59vh9ih18igzjibagch6s2m0";
};
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ meson ninja pkgconfig ];
buildInputs = [
- wayland libGL mesa_noglu libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
- mtdev libjpeg pam dbus libinput pango libunwind freerdp vaapi libva
+ wayland libGL mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm
+ mtdev libjpeg pam dbus libinput libevdev pango libunwind freerdp vaapi libva
libwebp wayland-protocols
+ colord lcms2 pipewire
];
- configureFlags = [
- "--enable-x11-compositor"
- "--enable-drm-compositor"
- "--enable-wayland-compositor"
- "--enable-headless-compositor"
- "--enable-fbdev-compositor"
- "--enable-screen-sharing"
- "--enable-clients"
- "--enable-weston-launch"
- "--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
- ] ++ stdenv.lib.optional (freerdp != null) "--enable-rdp-compositor"
- ++ stdenv.lib.optional (vaapi != null) "--enable-vaapi-recorder"
- ++ stdenv.lib.optionals (xwayland != null) [
- "--enable-xwayland"
- "--with-xserver-path=${xwayland.out}/bin/Xwayland"
- ];
+ mesonFlags= [
+ "-Dbackend-drm-screencast-vaapi=${boolToString (vaapi != null)}"
+ "-Dbackend-rdp=${boolToString (freerdp != null)}"
+ "-Dxwayland=${boolToString (xwayland != null)}" # Default is true!
+ "-Dremoting=false" # TODO
+ "-Dpipewire=${boolToString (pipewire != null)}"
+ "-Dimage-webp=${boolToString (libwebp != null)}"
+ "-Dsimple-dmabuf-drm=" # Disables all drivers
+ "-Ddemo-clients=false"
+ "-Dsimple-clients="
+ "-Dtest-junit-xml=false"
+ # TODO:
+ #"--enable-clients"
+ #"--disable-setuid-install" # prevent install target to chown root weston-launch, which fails
+ ] ++ optionals (xwayland != null) [
+ "-Dxwayland-path=${xwayland.out}/bin/Xwayland"
+ ];
- meta = with stdenv.lib; {
+ meta = {
description = "Reference implementation of a Wayland compositor";
homepage = https://wayland.freedesktop.org/;
license = licenses.mit;
platforms = platforms.linux;
+ maintainers = with maintainers; [ primeos ];
};
}
diff --git a/pkgs/applications/window-managers/windowlab/default.nix b/pkgs/applications/window-managers/windowlab/default.nix
index caf97c6510d..d0a1de7f600 100644
--- a/pkgs/applications/window-managers/windowlab/default.nix
+++ b/pkgs/applications/window-managers/windowlab/default.nix
@@ -3,7 +3,8 @@
let version = "1.40"; in
stdenv.mkDerivation {
- name = "windowlab-${version}";
+ pname = "windowlab";
+ inherit version;
src = fetchurl {
url = "http://nickgravgaard.com/windowlab/windowlab-${version}.tar";
diff --git a/pkgs/applications/window-managers/windowmaker/default.nix b/pkgs/applications/window-managers/windowmaker/default.nix
index d83c4493acc..8ad63999289 100644
--- a/pkgs/applications/window-managers/windowmaker/default.nix
+++ b/pkgs/applications/window-managers/windowmaker/default.nix
@@ -3,7 +3,7 @@
, imagemagick, libpng, libjpeg, libexif, libtiff, libungif, libwebp }:
stdenv.mkDerivation rec {
- name = "windowmaker-${version}";
+ pname = "windowmaker";
version = "0.95.8";
srcName = "WindowMaker-${version}";
diff --git a/pkgs/applications/window-managers/wmfs/default.nix b/pkgs/applications/window-managers/wmfs/default.nix
index d615b4fe010..2013096d6fe 100644
--- a/pkgs/applications/window-managers/wmfs/default.nix
+++ b/pkgs/applications/window-managers/wmfs/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gnumake,
libX11, libXinerama, libXrandr, libXpm, libXft, imlib2 }:
-stdenv.mkDerivation rec {
- name = "wmfs-${version}";
+stdenv.mkDerivation {
+ pname = "wmfs";
version = "201902";
diff --git a/pkgs/applications/window-managers/wmii-hg/default.nix b/pkgs/applications/window-managers/wmii-hg/default.nix
index 5a8b68df364..e0f2243827c 100644
--- a/pkgs/applications/window-managers/wmii-hg/default.nix
+++ b/pkgs/applications/window-managers/wmii-hg/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
rev = "2823";
version = "hg-2012-12-09";
- name = "wmii-${version}";
+ pname = "wmii";
src = fetchurl {
url = https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/wmii/source-archive.zip;
diff --git a/pkgs/applications/window-managers/wtftw/default.nix b/pkgs/applications/window-managers/wtftw/default.nix
index 8a680e1f763..36ca00b776b 100644
--- a/pkgs/applications/window-managers/wtftw/default.nix
+++ b/pkgs/applications/window-managers/wtftw/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, rustPlatform, libXinerama, libX11, pkgconfig }:
-rustPlatform.buildRustPackage rec {
+rustPlatform.buildRustPackage {
name = "wtftw-0.0pre20170921";
src = fetchFromGitHub {
owner = "kintaro";
@@ -9,7 +9,7 @@ rustPlatform.buildRustPackage rec {
sha256 = "1r74nhcwiy2rmifzjhdal3jcqz4jz48nfvhdyw4gasa6nxp3msdl";
};
- cargoSha256 = "0z92ml84b5652zgwzn08a8vvxksaa54jql66sfpdz1mvjwhgdmvn";
+ cargoSha256 = "18lb24k71sndklbwwhbv8jglj2d4y9mdk07l60wsvn5m2jbnpckk";
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ libXinerama libX11 ];
diff --git a/pkgs/applications/window-managers/yabar/build.nix b/pkgs/applications/window-managers/yabar/build.nix
index 6fc1797dd25..f7867882d22 100644
--- a/pkgs/applications/window-managers/yabar/build.nix
+++ b/pkgs/applications/window-managers/yabar/build.nix
@@ -1,11 +1,12 @@
-{ stdenv, fetchFromGitHub, cairo, gdk_pixbuf, libconfig, pango, pkgconfig
+{ stdenv, fetchFromGitHub, cairo, gdk-pixbuf, libconfig, pango, pkgconfig
, xcbutilwm, alsaLib, wirelesstools, asciidoc, libxslt, makeWrapper, docbook_xsl
, configFile ? null, lib
, rev, sha256, version, patches ? []
}:
stdenv.mkDerivation {
- name = "yabar-${version}";
+ pname = "yabar";
+ inherit version;
src = fetchFromGitHub {
inherit rev sha256;
@@ -20,7 +21,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- cairo gdk_pixbuf libconfig pango xcbutilwm docbook_xsl
+ cairo gdk-pixbuf libconfig pango xcbutilwm docbook_xsl
alsaLib wirelesstools asciidoc libxslt makeWrapper
];
diff --git a/pkgs/build-support/appimage/default.nix b/pkgs/build-support/appimage/default.nix
index c17274295c9..1f84403c10f 100644
--- a/pkgs/build-support/appimage/default.nix
+++ b/pkgs/build-support/appimage/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, stdenv, libarchive, patchelf, zlib, buildFHSUserEnv, writeScript }:
+{ stdenv, libarchive, patchelf, zlib, buildFHSUserEnv, writeScript }:
rec {
# Both extraction functions could be unified, but then
@@ -97,7 +97,7 @@ rec {
gtk2
bzip2
zlib
- gdk_pixbuf
+ gdk-pixbuf
xorg.libXinerama
xorg.libXdamage
@@ -133,6 +133,11 @@ rec {
xorg.libXt
xorg.libXmu
xorg.libxcb
+ xorg.xcbutil
+ xorg.xcbutilwm
+ xorg.xcbutilimage
+ xorg.xcbutilkeysyms
+ xorg.xcbutilrenderutil
libGLU
libuuid
libogg
@@ -144,7 +149,7 @@ rec {
libidn
tbb
wayland
- mesa_noglu
+ mesa
libxkbcommon
flac
diff --git a/pkgs/build-support/bintools-wrapper/default.nix b/pkgs/build-support/bintools-wrapper/default.nix
index e1ec09bc95a..e02e77de45e 100644
--- a/pkgs/build-support/bintools-wrapper/default.nix
+++ b/pkgs/build-support/bintools-wrapper/default.nix
@@ -180,10 +180,10 @@ stdenv.mkDerivation {
else if targetPlatform.isx86_64 then "x86-64"
else if targetPlatform.isx86_32 then "i386"
else if targetPlatform.isMips then {
- "mips" = "btsmipn32"; # n32 variant
- "mipsel" = "ltsmipn32"; # n32 variant
- "mips64" = "btsmip";
- "mips64el" = "ltsmip";
+ mips = "btsmipn32"; # n32 variant
+ mipsel = "ltsmipn32"; # n32 variant
+ mips64 = "btsmip";
+ mips64el = "ltsmip";
}.${targetPlatform.parsed.cpu.name}
else if targetPlatform.isPower then if targetPlatform.isBigEndian then "ppc" else "lppc"
else if targetPlatform.isSparc then "sparc"
diff --git a/pkgs/build-support/build-bazel-package/default.nix b/pkgs/build-support/build-bazel-package/default.nix
index b0840192ece..d4318b715ba 100644
--- a/pkgs/build-support/build-bazel-package/default.nix
+++ b/pkgs/build-support/build-bazel-package/default.nix
@@ -1,6 +1,10 @@
-{ stdenv, bazel, cacert, enableNixHacks ? true }:
+{ stdenv
+, bazel
+, cacert
+, lib
+}:
-args@{ name, bazelFlags ? [], bazelTarget, buildAttrs, fetchAttrs, ... }:
+args@{ name, bazelFlags ? [], bazelBuildFlags ? [], bazelFetchFlags ? [], bazelTarget, buildAttrs, fetchAttrs, ... }:
let
fArgs = removeAttrs args [ "buildAttrs" "fetchAttrs" ];
@@ -8,11 +12,11 @@ let
fFetchAttrs = fArgs // removeAttrs fetchAttrs [ "sha256" ];
in stdenv.mkDerivation (fBuildAttrs // {
- inherit name bazelFlags bazelTarget;
+ inherit name bazelFlags bazelBuildFlags bazelFetchFlags bazelTarget;
deps = stdenv.mkDerivation (fFetchAttrs // {
name = "${name}-deps";
- inherit bazelFlags bazelTarget;
+ inherit bazelFlags bazelBuildFlags bazelFetchFlags bazelTarget;
nativeBuildInputs = fFetchAttrs.nativeBuildInputs or [] ++ [ bazel ];
@@ -34,8 +38,19 @@ in stdenv.mkDerivation (fBuildAttrs // {
# https://github.com/bazelbuild/bazel/blob/9323c57607d37f9c949b60e293b573584906da46/src/main/cpp/startup_options.cc#L123-L124
#
# On macOS Bazel will use the system installed Xcode or CLT toolchain instead of the one in the PATH unless we pass BAZEL_USE_CPP_ONLY_TOOLCHAIN
- #
- BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 USER=homeless-shelter bazel --output_base="$bazelOut" --output_user_root="$bazelUserRoot" fetch $bazelFlags $bazelTarget
+
+ # We disable multithreading for the fetching phase since it can lead to timeouts with many dependencies/threads:
+ # https://github.com/bazelbuild/bazel/issues/6502
+ BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
+ USER=homeless-shelter \
+ bazel \
+ --output_base="$bazelOut" \
+ --output_user_root="$bazelUserRoot" \
+ fetch \
+ --loading_phase_threads=1 \
+ $bazelFlags \
+ $bazelFetchFlags \
+ $bazelTarget
runHook postBuild
'';
@@ -46,20 +61,30 @@ in stdenv.mkDerivation (fBuildAttrs // {
# Remove all built in external workspaces, Bazel will recreate them when building
rm -rf $bazelOut/external/{bazel_tools,\@bazel_tools.marker}
rm -rf $bazelOut/external/{embedded_jdk,\@embedded_jdk.marker}
- rm -rf $bazelOut/external/{local_*,\@local_*}
+ rm -rf $bazelOut/external/{local_*,\@local_*.marker}
- # Patching markers to make them deterministic
- sed -i 's, -\?[0-9][0-9]*$, 1,' $bazelOut/external/\@*.marker
- sed -i '/^ENV:TMP.*/d' $bazelOut/external/\@*.marker
+ # Clear markers
+ find $bazelOut/external -name '@*\.marker' -exec sh -c 'echo > {}' \;
# Remove all vcs files
rm -rf $(find $bazelOut/external -type d -name .git)
rm -rf $(find $bazelOut/external -type d -name .svn)
rm -rf $(find $bazelOut/external -type d -name .hg)
+ # Removing top-level symlinks along with their markers.
+ # This is needed because they sometimes point to temporary paths (?).
+ # For example, in Tensorflow-gpu build:
+ # platforms -> NIX_BUILD_TOP/tmp/install/35282f5123611afa742331368e9ae529/_embedded_binaries/platforms
+ find $bazelOut/external -maxdepth 1 -type l | while read symlink; do
+ name="$(basename "$symlink")"
+ rm "$symlink" "$bazelOut/external/@$name.marker"
+ done
+
# Patching symlinks to remove build directory reference
find $bazelOut/external -type l | while read symlink; do
- ln -sf $(readlink "$symlink" | sed "s,$NIX_BUILD_TOP,NIX_BUILD_TOP,") "$symlink"
+ new_target="$(readlink "$symlink" | sed "s,$NIX_BUILD_TOP,NIX_BUILD_TOP,")"
+ rm "$symlink"
+ ln -sf "$new_target" "$symlink"
done
cp -r $bazelOut/external $out
@@ -68,12 +93,14 @@ in stdenv.mkDerivation (fBuildAttrs // {
'';
dontFixup = true;
+ allowedRequisites = [];
+
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = fetchAttrs.sha256;
});
- nativeBuildInputs = fBuildAttrs.nativeBuildInputs or [] ++ [ (if enableNixHacks then (bazel.override { enableNixHacks = true; }) else bazel) ];
+ nativeBuildInputs = fBuildAttrs.nativeBuildInputs or [] ++ [ (bazel.override { enableNixHacks = true; }) ];
preHook = fBuildAttrs.preHook or "" + ''
export bazelOut="$NIX_BUILD_TOP/output"
@@ -82,8 +109,8 @@ in stdenv.mkDerivation (fBuildAttrs // {
'';
preConfigure = ''
- mkdir -p $bazelOut/external
- cp -r $deps/* $bazelOut/external
+ mkdir -p "$bazelOut"
+ cp -r $deps $bazelOut/external
chmod -R +w $bazelOut
find $bazelOut -type l | while read symlink; do
ln -sf $(readlink "$symlink" | sed "s,NIX_BUILD_TOP,$NIX_BUILD_TOP,") "$symlink"
@@ -93,6 +120,7 @@ in stdenv.mkDerivation (fBuildAttrs // {
buildPhase = fBuildAttrs.buildPhase or ''
runHook preBuild
+ '' + lib.optionalString stdenv.isDarwin ''
# Bazel sandboxes the execution of the tools it invokes, so even though we are
# calling the correct nix wrappers, the values of the environment variables
# the wrappers are expecting will not be set. So instead of relying on the
@@ -115,6 +143,7 @@ in stdenv.mkDerivation (fBuildAttrs // {
linkopts+=( "--linkopt=$flag" )
host_linkopts+=( "--host_linkopt=$flag" )
done
+ '' + ''
BAZEL_USE_CPP_ONLY_TOOLCHAIN=1 \
USER=homeless-shelter \
@@ -123,11 +152,14 @@ in stdenv.mkDerivation (fBuildAttrs // {
--output_user_root="$bazelUserRoot" \
build \
-j $NIX_BUILD_CORES \
+ '' + lib.optionalString stdenv.isDarwin ''
"''${copts[@]}" \
"''${host_copts[@]}" \
"''${linkopts[@]}" \
"''${host_linkopts[@]}" \
+ '' + ''
$bazelFlags \
+ $bazelBuildFlags \
$bazelTarget
runHook postBuild
diff --git a/pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c b/pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c
index 34e050dde4f..dcb2e97aa93 100644
--- a/pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c
+++ b/pkgs/build-support/build-fhs-userenv/chrootenv/chrootenv.c
@@ -7,32 +7,43 @@
#include
#include
+#include
+#include
+#include
+#include
+#include
+
#define fail(s, err) g_error("%s: %s: %s", __func__, s, g_strerror(err))
#define fail_if(expr) \
if (expr) \
fail(#expr, errno);
-#include
+const gchar *bind_blacklist[] = {"bin", "etc", "host", "real-host", "usr", "lib", "lib64", "lib32", "sbin", NULL};
-#include
-#include
-#include
-#include
-
-int min(int a, int b) {
- return a > b ? b : a;
+int pivot_root(const char *new_root, const char *put_old) {
+ return syscall(SYS_pivot_root, new_root, put_old);
}
-const gchar *bind_blacklist[] = {"bin", "etc", "host", "usr", "lib", "lib64", "lib32", "sbin", NULL};
+void mount_tmpfs(const gchar *target) {
+ fail_if(mount("none", target, "tmpfs", 0, NULL));
+}
void bind_mount(const gchar *source, const gchar *target) {
fail_if(g_mkdir(target, 0755));
- fail_if(mount(source, target, "bind", MS_BIND | MS_REC, NULL));
+ fail_if(mount(source, target, NULL, MS_BIND | MS_REC, NULL));
}
-void bind_mount_host(const gchar *host, const gchar *guest) {
+const gchar *create_tmpdir() {
+ gchar *prefix =
+ g_build_filename(g_get_tmp_dir(), "chrootenvXXXXXX", NULL);
+ fail_if(!g_mkdtemp_full(prefix, 0755));
+ return prefix;
+}
+
+void pivot_host(const gchar *guest) {
g_autofree gchar *point = g_build_filename(guest, "host", NULL);
- bind_mount(host, point);
+ fail_if(g_mkdir(point, 0755));
+ fail_if(pivot_root(guest, point));
}
void bind_mount_item(const gchar *host, const gchar *guest, const gchar *name) {
@@ -44,19 +55,22 @@ void bind_mount_item(const gchar *host, const gchar *guest, const gchar *name) {
}
void bind(const gchar *host, const gchar *guest) {
+ mount_tmpfs(guest);
+ pivot_host(guest);
+
+ g_autofree gchar *host_dir = g_build_filename("/host", host, NULL);
+
g_autoptr(GError) err = NULL;
- g_autoptr(GDir) dir = g_dir_open(host, 0, &err);
+ g_autoptr(GDir) dir = g_dir_open(host_dir, 0, &err);
if (err != NULL)
fail("g_dir_open", errno);
const gchar *item;
- while (item = g_dir_read_name(dir))
+ while ((item = g_dir_read_name(dir)))
if (!g_strv_contains(bind_blacklist, item))
- bind_mount_item(host, guest, item);
-
- bind_mount_host(host, guest);
+ bind_mount_item(host_dir, "/", item);
}
void spit(const char *path, char *fmt, ...) {
@@ -72,11 +86,6 @@ void spit(const char *path, char *fmt, ...) {
fclose(f);
}
-int nftw_remove(const char *path, const struct stat *sb, int type,
- struct FTW *ftw) {
- return remove(path);
-}
-
int main(gint argc, gchar **argv) {
const gchar *self = *argv++;
@@ -85,15 +94,7 @@ int main(gint argc, gchar **argv) {
return 1;
}
- if (g_getenv("NIX_CHROOTENV"))
- g_warning("chrootenv doesn't stack!");
- else
- g_setenv("NIX_CHROOTENV", "", TRUE);
-
- g_autofree gchar *prefix =
- g_build_filename(g_get_tmp_dir(), "chrootenvXXXXXX", NULL);
-
- fail_if(!g_mkdtemp_full(prefix, 0755));
+ g_autofree const gchar *prefix = create_tmpdir();
pid_t cpid = fork();
@@ -119,9 +120,24 @@ int main(gint argc, gchar **argv) {
spit("/proc/self/uid_map", "%d %d 1", uid, uid);
spit("/proc/self/gid_map", "%d %d 1", gid, gid);
- bind("/", prefix);
+ // If there is a /host directory, assume this is nested chrootenv and use it as host instead.
+ gboolean nested_host = g_file_test("/host", G_FILE_TEST_EXISTS | G_FILE_TEST_IS_DIR);
+ g_autofree const gchar *host = nested_host ? "/host" : "/";
+
+ bind(host, prefix);
+
+ // Replace /host by an actual (inner) /host.
+ if (nested_host) {
+ fail_if(g_mkdir("/real-host", 0755));
+ fail_if(mount("/host/host", "/real-host", NULL, MS_BIND | MS_REC, NULL));
+ // For some reason umount("/host") returns EBUSY even immediately after
+ // pivot_root. We detach it at least to keep `/proc/mounts` from blowing
+ // up in nested cases.
+ fail_if(umount2("/host", MNT_DETACH));
+ fail_if(mount("/real-host", "/host", NULL, MS_MOVE, NULL));
+ fail_if(rmdir("/real-host"));
+ }
- fail_if(chroot(prefix));
fail_if(chdir("/"));
fail_if(execvp(*argv, argv));
}
@@ -130,10 +146,7 @@ int main(gint argc, gchar **argv) {
int status;
fail_if(waitpid(cpid, &status, 0) != cpid);
- // glibc 2.27 (and possibly other versions) can't handle
- // an nopenfd value larger than 2^19
- fail_if(nftw(prefix, nftw_remove, min(getdtablesize(), 1<<19),
- FTW_DEPTH | FTW_MOUNT | FTW_PHYS));
+ fail_if(rmdir(prefix));
if (WIFEXITED(status))
return WEXITSTATUS(status);
diff --git a/pkgs/build-support/build-pecl.nix b/pkgs/build-support/build-pecl.nix
index d08f8822d75..a1030e3b34f 100644
--- a/pkgs/build-support/build-pecl.nix
+++ b/pkgs/build-support/build-pecl.nix
@@ -1,4 +1,4 @@
-{ stdenv, php, autoreconfHook, fetchurl }:
+{ stdenv, php, autoreconfHook, fetchurl, re2c }:
{ pname
, version
@@ -17,7 +17,7 @@ stdenv.mkDerivation (args // {
inherit src;
- nativeBuildInputs = [ autoreconfHook ] ++ nativeBuildInputs;
+ nativeBuildInputs = [ autoreconfHook re2c ] ++ nativeBuildInputs;
buildInputs = [ php ] ++ buildInputs;
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ makeFlags;
diff --git a/pkgs/build-support/cc-wrapper/setup-hook.sh b/pkgs/build-support/cc-wrapper/setup-hook.sh
index 28060de7411..211b5063291 100644
--- a/pkgs/build-support/cc-wrapper/setup-hook.sh
+++ b/pkgs/build-support/cc-wrapper/setup-hook.sh
@@ -70,12 +70,12 @@ ccWrapper_addCVars () {
local role_post role_pre
getHostRoleEnvHook
- if [[ -d "$1/include" ]]; then
- export NIX_${role_pre}CFLAGS_COMPILE+=" ${ccIncludeFlag:--isystem} $1/include"
+ if [ -d "$1/include" ]; then
+ export NIX_${role_pre}CFLAGS_COMPILE+=" -isystem $1/include"
fi
- if [[ -d "$1/Library/Frameworks" ]]; then
- export NIX_${role_pre}CFLAGS_COMPILE+=" -F$1/Library/Frameworks"
+ if [ -d "$1/Library/Frameworks" ]; then
+ export NIX_${role_pre}CFLAGS_COMPILE+=" -iframework $1/Library/Frameworks"
fi
}
diff --git a/pkgs/build-support/closure-info.nix b/pkgs/build-support/closure-info.nix
index 24795a724ec..6b3ff6fd62b 100644
--- a/pkgs/build-support/closure-info.nix
+++ b/pkgs/build-support/closure-info.nix
@@ -4,7 +4,7 @@
# "nix-store --load-db" and "nix-store --register-validity
# --hash-given".
-{ stdenv, coreutils, jq, buildPackages }:
+{ stdenv, buildPackages }:
{ rootPaths }:
diff --git a/pkgs/build-support/dhall-to-nix.nix b/pkgs/build-support/dhall-to-nix.nix
index c563b34ff3b..3805656dfa0 100644
--- a/pkgs/build-support/dhall-to-nix.nix
+++ b/pkgs/build-support/dhall-to-nix.nix
@@ -33,6 +33,6 @@ let
};
in
- import "${drv}";
+ import drv;
in
dhallToNix
diff --git a/pkgs/build-support/docker/default.nix b/pkgs/build-support/docker/default.nix
index 57e40069003..83e21c8945d 100644
--- a/pkgs/build-support/docker/default.nix
+++ b/pkgs/build-support/docker/default.nix
@@ -1,38 +1,41 @@
{
- symlinkJoin,
+ cacert,
+ callPackage,
+ closureInfo,
coreutils,
docker,
e2fsprogs,
findutils,
go,
- jshon,
jq,
+ jshon,
lib,
- pkgs,
- pigz,
+ moreutils,
nix,
- runCommand,
+ pigz,
+ referencesByPopularity,
rsync,
+ runCommand,
+ runtimeShell,
shadow,
+ skopeo,
stdenv,
storeDir ? builtins.storeDir,
+ substituteAll,
+ symlinkJoin,
utillinux,
vmTools,
writeReferencesToFile,
- referencesByPopularity,
writeScript,
writeText,
- closureInfo,
- substituteAll,
- runtimeShell
}:
# WARNING: this API is unstable and may be subject to backwards-incompatible changes in the future.
rec {
- examples = import ./examples.nix {
- inherit pkgs buildImage pullImage shadowSetup buildImageWithNixDb;
+ examples = callPackage ./examples.nix {
+ inherit buildImage pullImage shadowSetup buildImageWithNixDb;
};
pullImage = let
@@ -58,13 +61,13 @@ rec {
inherit imageDigest;
imageName = finalImageName;
imageTag = finalImageTag;
- impureEnvVars = pkgs.stdenv.lib.fetchers.proxyImpureEnvVars;
+ impureEnvVars = stdenv.lib.fetchers.proxyImpureEnvVars;
outputHashMode = "flat";
outputHashAlgo = "sha256";
outputHash = sha256;
- nativeBuildInputs = lib.singleton (pkgs.skopeo);
- SSL_CERT_FILE = "${pkgs.cacert.out}/etc/ssl/certs/ca-bundle.crt";
+ nativeBuildInputs = lib.singleton skopeo;
+ SSL_CERT_FILE = "${cacert.out}/etc/ssl/certs/ca-bundle.crt";
sourceURL = "docker://${imageName}@${imageDigest}";
destNameTag = "${finalImageName}:${finalImageTag}";
@@ -75,7 +78,7 @@ rec {
# We need to sum layer.tar, not a directory, hence tarsum instead of nix-hash.
# And we cannot untar it, because then we cannot preserve permissions ecc.
tarsum = runCommand "tarsum" {
- buildInputs = [ go ];
+ nativeBuildInputs = [ go ];
} ''
mkdir tarsum
cd tarsum
@@ -157,7 +160,8 @@ rec {
postMount ? "",
postUmount ? ""
}:
- vmTools.runInLinuxVM (
+ let
+ result = vmTools.runInLinuxVM (
runCommand name {
preVM = vmTools.createEmptyImage {
size = diskSize;
@@ -165,10 +169,8 @@ rec {
};
inherit fromImage fromImageName fromImageTag;
- buildInputs = [ utillinux e2fsprogs jshon rsync jq ];
+ nativeBuildInputs = [ utillinux e2fsprogs jshon rsync jq ];
} ''
- rm -rf $out
-
mkdir disk
mkfs /dev/${vmTools.hd}
mount /dev/${vmTools.hd} disk
@@ -251,6 +253,12 @@ rec {
${postUmount}
'');
+ in
+ runCommand name {} ''
+ mkdir -p $out
+ cd ${result}
+ cp layer.tar json VERSION $out
+ '';
exportImage = { name ? fromImage.name, fromImage, fromImageName ? null, fromImageTag ? null, diskSize ? 1024 }:
runWithOverlay {
@@ -283,9 +291,10 @@ rec {
# Files to add to the layer.
closure,
configJson,
- # Docker has a 42-layer maximum, we pick 24 to ensure there is plenty
- # of room for extension
- maxLayers ? 24
+ # Docker has a 125-layer maximum, we pick 100 to ensure there is
+ # plenty of room for extension.
+ # https://github.com/moby/moby/blob/b3e9f7b13b0f0c414fa6253e1f17a86b2cff68b5/layer/layer_store.go#L23-L26
+ maxLayers ? 100
}:
let
storePathToLayer = substituteAll
@@ -297,7 +306,7 @@ rec {
runCommand "${name}-granular-docker-layers" {
inherit maxLayers;
paths = referencesByPopularity closure;
- buildInputs = [ jshon rsync tarsum ];
+ nativeBuildInputs = [ jshon rsync tarsum ];
enableParallelBuilding = true;
}
''
@@ -335,7 +344,7 @@ rec {
uid ? 0, gid ? 0,
}:
runCommand "${name}-customisation-layer" {
- buildInputs = [ jshon rsync tarsum ];
+ nativeBuildInputs = [ jshon rsync tarsum ];
inherit extraCommands;
}
''
@@ -380,7 +389,7 @@ rec {
}:
runCommand "docker-layer-${name}" {
inherit baseJson contents extraCommands;
- buildInputs = [ jshon rsync tarsum ];
+ nativeBuildInputs = [ jshon rsync tarsum ];
}
''
mkdir layer
@@ -490,7 +499,7 @@ rec {
(cd layer; ${extraCommandsScript})
echo "Packing layer..."
- mkdir $out
+ mkdir -p $out
tar -C layer --hard-dereference --sort=name --mtime="@$SOURCE_DATE_EPOCH" -cf $out/layer.tar .
# Compute the tar checksum and add it to the output json.
@@ -535,7 +544,7 @@ rec {
os = "linux";
});
impure = runCommand "${baseName}-standard-dynamic-date.json"
- { buildInputs = [ jq ]; }
+ { nativeBuildInputs = [ jq ]; }
''
jq ".created = \"$(TZ=utc date --iso-8601="seconds")\"" ${pure} > $out
'';
@@ -556,7 +565,7 @@ rec {
inherit uid gid extraCommands;
};
result = runCommand "docker-image-${baseName}.tar.gz" {
- buildInputs = [ jshon pigz coreutils findutils jq ];
+ nativeBuildInputs = [ jshon pigz coreutils findutils jq ];
# Image name and tag must be lowercase
imageName = lib.toLower name;
baseJson = configJson;
@@ -653,7 +662,7 @@ rec {
os = "linux";
});
impure = runCommand "${baseName}-config.json"
- { buildInputs = [ jq ]; }
+ { nativeBuildInputs = [ jq ]; }
''
jq ".created = \"$(TZ=utc date --iso-8601="seconds")\"" ${pure} > $out
'';
@@ -671,7 +680,7 @@ rec {
extraCommands;
};
result = runCommand "docker-image-${baseName}.tar.gz" {
- buildInputs = [ jshon pigz coreutils findutils jq ];
+ nativeBuildInputs = [ jshon pigz coreutils findutils jq moreutils ];
# Image name and tag must be lowercase
imageName = lib.toLower name;
imageTag = if tag == null then "" else lib.toLower tag;
@@ -785,7 +794,7 @@ rec {
# originally this used `sed -i "1i$layerID" layer-list`, but
# would fail if layer-list was completely empty.
echo "$layerID/layer.tar"
- ) | ${pkgs.moreutils}/bin/sponge layer-list
+ ) | sponge layer-list
# Create image json and image manifest
imageJson=$(cat ${baseJson} | jq ". + {\"rootfs\": {\"diff_ids\": [], \"type\": \"layers\"}}")
diff --git a/pkgs/build-support/docker/examples.nix b/pkgs/build-support/docker/examples.nix
index ac21be907b8..29eea33a7e1 100644
--- a/pkgs/build-support/docker/examples.nix
+++ b/pkgs/build-support/docker/examples.nix
@@ -226,4 +226,12 @@ rec {
'';
};
+ # 14. Create another layered image, for comparing layers with image 10.
+ another-layered-image = pkgs.dockerTools.buildLayeredImage {
+ name = "another-layered-image";
+ tag = "latest";
+ config.Cmd = [ "${pkgs.hello}/bin/hello" ];
+ contents = [ pkgs.hello ];
+ };
+
}
diff --git a/pkgs/build-support/docker/nix-prefetch-docker.nix b/pkgs/build-support/docker/nix-prefetch-docker.nix
index 03a936e08e0..c1d86adc6d8 100644
--- a/pkgs/build-support/docker/nix-prefetch-docker.nix
+++ b/pkgs/build-support/docker/nix-prefetch-docker.nix
@@ -7,7 +7,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ makeWrapper ];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
install -vD ${./nix-prefetch-docker} $out/bin/$name;
diff --git a/pkgs/build-support/docker/store-path-to-layer.sh b/pkgs/build-support/docker/store-path-to-layer.sh
index 98c5b8cc212..bcad9e83e06 100755
--- a/pkgs/build-support/docker/store-path-to-layer.sh
+++ b/pkgs/build-support/docker/store-path-to-layer.sh
@@ -9,7 +9,9 @@ layerPath="./layers/$layerNumber"
echo "Creating layer #$layerNumber for $@"
mkdir -p "$layerPath"
-tar --no-recursion -rf "$layerPath/layer.tar" /nix /nix/store
+tar --no-recursion -rf "$layerPath/layer.tar" \
+ --mtime="@$SOURCE_DATE_EPOCH" \
+ --owner=0 --group=0 /nix /nix/store
tar -rpf "$layerPath/layer.tar" --hard-dereference --sort=name \
--mtime="@$SOURCE_DATE_EPOCH" \
--owner=0 --group=0 "$@"
diff --git a/pkgs/build-support/emacs/wrapper.nix b/pkgs/build-support/emacs/wrapper.nix
index dfdd5b60851..b242672df10 100644
--- a/pkgs/build-support/emacs/wrapper.nix
+++ b/pkgs/build-support/emacs/wrapper.nix
@@ -18,10 +18,10 @@ the correct version of Emacs.
`emacsWithPackages` inherits the package set which contains it, so the
correct way to override the provided package set is to override the
set which contains `emacsWithPackages`. For example, to override
-`emacsPackagesNg.emacsWithPackages`,
+`emacsPackages.emacsWithPackages`,
```
let customEmacsPackages =
- emacsPackagesNg.overrideScope' (self: super: {
+ emacsPackages.overrideScope' (self: super: {
# use a custom version of emacs
emacs = ...;
# use the unstable MELPA version of magit
diff --git a/pkgs/build-support/fetchdocker/default.nix b/pkgs/build-support/fetchdocker/default.nix
index bbd2bae46df..57d2e4ad82d 100644
--- a/pkgs/build-support/fetchdocker/default.nix
+++ b/pkgs/build-support/fetchdocker/default.nix
@@ -37,8 +37,8 @@ let
repositories =
writeText "repositories" (builtins.toJSON {
- "${repoTag1}" = {
- "${tag}" = lib.last layers;
+ ${repoTag1} = {
+ ${tag} = lib.last layers;
};
});
diff --git a/pkgs/build-support/fetchgit/default.nix b/pkgs/build-support/fetchgit/default.nix
index 256c86748d2..0405951a9e4 100644
--- a/pkgs/build-support/fetchgit/default.nix
+++ b/pkgs/build-support/fetchgit/default.nix
@@ -52,7 +52,7 @@ else
stdenvNoCC.mkDerivation {
inherit name;
builder = ./builder.sh;
- fetcher = "${./nix-prefetch-git}"; # This must be a string to ensure it's called with bash.
+ fetcher = ./nix-prefetch-git; # This must be a string to ensure it's called with bash.
nativeBuildInputs = [git];
outputHashAlgo = "sha256";
diff --git a/pkgs/build-support/fetchgit/nix-prefetch-git b/pkgs/build-support/fetchgit/nix-prefetch-git
index c681be8e4c3..931be1a3700 100755
--- a/pkgs/build-support/fetchgit/nix-prefetch-git
+++ b/pkgs/build-support/fetchgit/nix-prefetch-git
@@ -265,12 +265,14 @@ make_deterministic_repo(){
rm -f .git/config
# Garbage collect unreferenced objects.
- git gc --prune=all
+ # Note: --keep-largest-pack prevents non-deterministic ordering of packs
+ # listed in .git/objects/info/packs by only using a single pack
+ git gc --prune=all --keep-largest-pack
)
}
-_clone_user_rev() {
+clone_user_rev() {
local dir="$1"
local url="$2"
local rev="${3:-HEAD}"
@@ -307,19 +309,29 @@ _clone_user_rev() {
fi
}
-clone_user_rev() {
- if ! test -n "$QUIET"; then
- _clone_user_rev "$@"
- else
- errfile="$(mktemp "${TMPDIR:-/tmp}/git-checkout-err-XXXXXXXX")"
- # shellcheck disable=SC2064
- trap "rm -rf \"$errfile\"" EXIT
- _clone_user_rev "$@" 2> "$errfile" || (
- status="$?"
- cat "$errfile" >&2
- exit "$status"
- )
+exit_handlers=()
+
+run_exit_handlers() {
+ exit_status=$?
+ for handler in "${exit_handlers[@]}"; do
+ eval "$handler $exit_status"
+ done
+}
+
+trap run_exit_handlers EXIT
+
+quiet_exit_handler() {
+ exec 2>&3 3>&-
+ if [ $1 -ne 0 ]; then
+ cat "$errfile" >&2
fi
+ rm -f "$errfile"
+}
+
+quiet_mode() {
+ errfile="$(mktemp "${TMPDIR:-/tmp}/git-checkout-err-XXXXXXXX")"
+ exit_handlers+=(quiet_exit_handler)
+ exec 3>&2 2>"$errfile"
}
json_escape() {
@@ -362,6 +374,14 @@ EOF
fi
}
+remove_tmpPath() {
+ rm -rf "$tmpPath"
+}
+
+if test -n "$QUIET"; then
+ quiet_mode
+fi
+
if test -z "$branchName"; then
branchName=fetchgit
fi
@@ -390,8 +410,7 @@ else
if test -z "$finalPath"; then
tmpPath="$(mktemp -d "${TMPDIR:-/tmp}/git-checkout-tmp-XXXXXXXX")"
- # shellcheck disable=SC2064
- trap "rm -rf \"$tmpPath\"" EXIT
+ exit_handlers+=(remove_tmpPath)
tmpFile="$tmpPath/$(url_to_name "$url" "$rev")"
mkdir -p "$tmpFile"
diff --git a/pkgs/build-support/fetchgit/private.nix b/pkgs/build-support/fetchgit/private.nix
index 59376f3b042..6731cf87fbd 100644
--- a/pkgs/build-support/fetchgit/private.nix
+++ b/pkgs/build-support/fetchgit/private.nix
@@ -4,7 +4,7 @@
else null;
GIT_SSH = let
- config = ''${let
+ config = let
sshConfigFile = if (builtins.tryEval ).success
then
else builtins.trace ''
@@ -14,7 +14,7 @@
You may need StrictHostKeyChecking=no in the config file. Since ssh will refuse to use a group-readable private key, if using build-users you will likely want to use something like IdentityFile /some/directory/%u/key and have a directory for each build user accessible to that user.
'' "/var/lib/empty/config";
- in builtins.toString sshConfigFile}'';
+ in builtins.toString sshConfigFile;
ssh-wrapped = runCommand "fetchgit-ssh" {
nativeBuildInputs = [ makeWrapper ];
diff --git a/pkgs/build-support/fetchurl/default.nix b/pkgs/build-support/fetchurl/default.nix
index 3ce90cbeab3..6300587a7d1 100644
--- a/pkgs/build-support/fetchurl/default.nix
+++ b/pkgs/build-support/fetchurl/default.nix
@@ -49,8 +49,11 @@ in
# first element of `urls').
name ? ""
- # Different ways of specifying the hash.
-, outputHash ? ""
+, # SRI hash.
+ hash ? ""
+
+, # Legacy ways of specifying the hash.
+ outputHash ? ""
, outputHashAlgo ? ""
, md5 ? ""
, sha1 ? ""
@@ -103,7 +106,8 @@ let
else throw "fetchurl requires either `url` or `urls` to be set";
hash_ =
- if md5 != "" then throw "fetchurl does not support md5 anymore, please use sha256 or sha512"
+ if hash != "" then { outputHashAlgo = null; outputHash = hash; }
+ else if md5 != "" then throw "fetchurl does not support md5 anymore, please use sha256 or sha512"
else if (outputHash != "" && outputHashAlgo != "") then { inherit outputHashAlgo outputHash; }
else if sha512 != "" then { outputHashAlgo = "sha512"; outputHash = sha512; }
else if sha256 != "" then { outputHashAlgo = "sha256"; outputHash = sha256; }
diff --git a/pkgs/build-support/fetchurl/mirrors.nix b/pkgs/build-support/fetchurl/mirrors.nix
index 404cea7532b..c0e115bca28 100644
--- a/pkgs/build-support/fetchurl/mirrors.nix
+++ b/pkgs/build-support/fetchurl/mirrors.nix
@@ -1,4 +1,4 @@
-rec {
+{
# Content-addressable Nix mirrors.
hashedMirrors = [
@@ -8,6 +8,13 @@ rec {
# Mirrors for mirror://site/filename URIs, where "site" is
# "sourceforge", "gnu", etc.
+ luarocks = [
+ https://luarocks.org
+ https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/
+ http://luafr.org/moonrocks
+ http://luarocks.logiceditor.com/rocks
+ ];
+
# SourceForge.
sourceforge = [
https://downloads.sourceforge.net/
@@ -19,8 +26,11 @@ rec {
https://kent.dl.sourceforge.net/sourceforge/
];
- # SourceForge.jp.
- sourceforgejp = [
+ # OSDN (formerly SourceForge.jp).
+ osdn = [
+ https://osdn.dl.osdn.jp/
+ https://osdn.mirror.constant.com/
+ https://mirrors.gigenet.com/OSDN/
https://osdn.dl.sourceforge.jp/
https://jaist.dl.sourceforge.jp/
];
@@ -166,6 +176,20 @@ rec {
http://backpan.perl.org/ # for old releases
];
+ # CentOS.
+ centos = [
+ http://mirror.centos.org/centos/
+ # For old releases
+ http://vault.centos.org/
+ https://archive.kernel.org/centos-vault/
+ http://ftp.jaist.ac.jp/pub/Linux/CentOS-vault/
+ http://mirrors.aliyun.com/centos-vault/
+ https://mirror.chpc.utah.edu/pub/vault.centos.org/
+ https://mirror.its.sfu.ca/mirror/CentOS-vault/
+ https://mirror.math.princeton.edu/pub/centos-vault/
+ https://mirrors.tripadvisor.com/centos-vault/
+ ];
+
# Debian.
debian = [
http://httpredir.debian.org/debian/
@@ -265,13 +289,14 @@ rec {
# Apache mirrors (see http://www.apache.org/mirrors/).
apache = [
+ https://www-eu.apache.org/dist/
+ https://www-us.apache.org/dist/
http://www.eu.apache.org/dist/
- http://wwwftp.ciril.fr/pub/apache/
ftp://ftp.fu-berlin.de/unix/www/apache/
http://ftp.tudelft.nl/apache/
http://mirror.cc.columbia.edu/pub/software/apache/
- http://www.apache.org/dist/
- http://archive.apache.org/dist/ # fallback for old releases
+ https://www.apache.org/dist/
+ https://archive.apache.org/dist/ # fallback for old releases
ftp://ftp.funet.fi/pub/mirrors/apache.org/
http://apache.cs.uu.nl/
http://apache.cs.utah.edu/
@@ -381,7 +406,7 @@ rec {
# Steam Runtime mirrors
steamrt = [
http://repo.steampowered.com/steamrt/
- https://abbradar.net/steamrt/
+ https://public.abbradar.moe/steamrt/
];
# Python PyPI mirrors
@@ -406,9 +431,10 @@ rec {
# Alsa Project
alsa = [
- ftp://ftp.alsa-project.org/pub/
- http://alsa.cybermirror.org/
- http://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/
- http://alsa.mirror.fr/
+ https://www.alsa-project.org/files/pub/
+ ftp://ftp.alsa-project.org/pub/
+ http://alsa.cybermirror.org/
+ http://www.mirrorservice.org/sites/ftp.alsa-project.org/pub/
+ http://alsa.mirror.fr/
];
}
diff --git a/pkgs/build-support/fetchzip/default.nix b/pkgs/build-support/fetchzip/default.nix
index f1b9b9290d4..c61df8ceb00 100644
--- a/pkgs/build-support/fetchzip/default.nix
+++ b/pkgs/build-support/fetchzip/default.nix
@@ -5,7 +5,7 @@
# (e.g. due to minor changes in the compression algorithm, or changes
# in timestamps).
-{ lib, fetchurl, unzip }:
+{ fetchurl, unzip }:
{ # Optionally move the contents of the unpacked tree up one level.
stripRoot ? true
diff --git a/pkgs/build-support/install-shell-files/default.nix b/pkgs/build-support/install-shell-files/default.nix
new file mode 100644
index 00000000000..e1f2e24dd87
--- /dev/null
+++ b/pkgs/build-support/install-shell-files/default.nix
@@ -0,0 +1,4 @@
+{ makeSetupHook }:
+
+# See the header comment in ../setup-hooks/install-shell-files.sh for example usage.
+makeSetupHook { name = "install-shell-files"; } ../setup-hooks/install-shell-files.sh
diff --git a/pkgs/build-support/kernel/make-initrd.nix b/pkgs/build-support/kernel/make-initrd.nix
index 7ad1affb65a..7a5642e565d 100644
--- a/pkgs/build-support/kernel/make-initrd.nix
+++ b/pkgs/build-support/kernel/make-initrd.nix
@@ -16,10 +16,16 @@
, name ? "initrd"
, compressor ? "gzip -9n"
, prepend ? []
+, lib
}:
+let
+ # !!! Move this into a public lib function, it is probably useful for others
+ toValidStoreName = x: with builtins;
+ lib.concatStringsSep "-" (filter (x: !(isList x)) (split "[^a-zA-Z0-9_=.?-]+" x));
-stdenv.mkDerivation rec {
+in stdenv.mkDerivation rec {
inherit name;
+
builder = ./make-initrd.sh;
makeUInitrd = stdenv.hostPlatform.platform.kernelTarget == "uImage";
@@ -36,8 +42,12 @@ stdenv.mkDerivation rec {
# Note: we don't use closureInfo yet, as that won't build with nix-1.x.
# See #36268.
exportReferencesGraph =
- map (x: [("closure-" + baseNameOf x.symlink) x.object]) contents;
+ lib.zipListsWith
+ (x: i: [("closure-${toValidStoreName (baseNameOf x.symlink)}-${toString i}") x.object])
+ contents
+ (lib.range 0 (lib.length contents - 1));
pathsFromGraph = ./paths-from-graph.pl;
inherit compressor prepend;
}
+
diff --git a/pkgs/build-support/libredirect/libredirect.c b/pkgs/build-support/libredirect/libredirect.c
index 655399af58f..8e8da00b02a 100644
--- a/pkgs/build-support/libredirect/libredirect.c
+++ b/pkgs/build-support/libredirect/libredirect.c
@@ -160,6 +160,19 @@ int posix_spawn(pid_t * pid, const char * path,
return posix_spawn_real(pid, rewrite(path, buf), file_actions, attrp, argv, envp);
}
+int posix_spawnp(pid_t * pid, const char * file,
+ const posix_spawn_file_actions_t * file_actions,
+ const posix_spawnattr_t * attrp,
+ char * const argv[], char * const envp[])
+{
+ int (*posix_spawnp_real) (pid_t *, const char *,
+ const posix_spawn_file_actions_t *,
+ const posix_spawnattr_t *,
+ char * const argv[], char * const envp[]) = dlsym(RTLD_NEXT, "posix_spawnp");
+ char buf[PATH_MAX];
+ return posix_spawnp_real(pid, rewrite(file, buf), file_actions, attrp, argv, envp);
+}
+
int execv(const char *path, char *const argv[])
{
int (*execv_real) (const char *path, char *const argv[]) = dlsym(RTLD_NEXT, "execv");
diff --git a/pkgs/build-support/mkshell/default.nix b/pkgs/build-support/mkshell/default.nix
index a98b4affacb..a70dc0390cb 100644
--- a/pkgs/build-support/mkshell/default.nix
+++ b/pkgs/build-support/mkshell/default.nix
@@ -11,13 +11,8 @@
...
}@attrs:
let
- mergeInputs = name:
- let
- op = item: sum: sum ++ item."${name}" or [];
- nul = [];
- list = [attrs] ++ inputsFrom;
- in
- lib.foldr op nul list;
+ mergeInputs = name: lib.concatLists (lib.catAttrs name
+ ([attrs] ++ inputsFrom));
rest = builtins.removeAttrs attrs [
"inputsFrom"
@@ -25,6 +20,7 @@ let
"nativeBuildInputs"
"propagatedBuildInputs"
"propagatedNativeBuildInputs"
+ "shellHook"
];
in
@@ -37,6 +33,9 @@ stdenv.mkDerivation ({
propagatedBuildInputs = mergeInputs "propagatedBuildInputs";
propagatedNativeBuildInputs = mergeInputs "propagatedNativeBuildInputs";
+ shellHook = lib.concatStringsSep "\n" (lib.catAttrs "shellHook"
+ (lib.reverseList inputsFrom ++ [attrs]));
+
nobuildPhase = ''
echo
echo "This derivation is not meant to be built, aborting";
diff --git a/pkgs/build-support/nix-prefetch-github/default.nix b/pkgs/build-support/nix-prefetch-github/default.nix
index acc95eaf993..10a6daaf53f 100644
--- a/pkgs/build-support/nix-prefetch-github/default.nix
+++ b/pkgs/build-support/nix-prefetch-github/default.nix
@@ -5,13 +5,13 @@
python3.pkgs.buildPythonApplication rec {
pname = "nix-prefetch-github";
- version = "2.2";
+ version = "2.3.1";
src = fetchFromGitHub {
owner = "seppeljordan";
repo = "nix-prefetch-github";
rev = "v${version}";
- sha256 = "1m1d1fzacvwprfvhxih1hzr1m0y1jjxiznf8p8b3bi5a41yzvrrl";
+ sha256 = "13wvq13iiva97a16kahfpxar5ppb015nnbn7d4v9s9jyxdickc2c";
};
propagatedBuildInputs = with python3.pkgs; [
@@ -19,7 +19,6 @@ python3.pkgs.buildPythonApplication rec {
click
effect
jinja2
- requests
];
meta = with stdenv.lib; {
description = "Prefetch sources from github";
diff --git a/pkgs/build-support/nuke-references/builder.sh b/pkgs/build-support/nuke-references/builder.sh
index 02eac664d43..7da32203218 100644
--- a/pkgs/build-support/nuke-references/builder.sh
+++ b/pkgs/build-support/nuke-references/builder.sh
@@ -7,7 +7,7 @@ cat > $out/bin/nuke-refs < "\$i.tmp"
+ cat "\$i" | $perl/bin/perl -pe "s|\Q$NIX_STORE\E/\$excludes[a-z0-9]{32}-|$NIX_STORE/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-|g" > "\$i.tmp"
if test -x "\$i"; then chmod +x "\$i.tmp"; fi
mv "\$i.tmp" "\$i"
fi
diff --git a/pkgs/build-support/ocaml/dune.nix b/pkgs/build-support/ocaml/dune.nix
index 4d6ed76aca0..a0aac144796 100644
--- a/pkgs/build-support/ocaml/dune.nix
+++ b/pkgs/build-support/ocaml/dune.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, ocaml, findlib, dune, opaline }:
+{ stdenv, ocaml, findlib, dune, opaline }:
{ pname, version, buildInputs ? [], ... }@args:
diff --git a/pkgs/build-support/ocaml/oasis.nix b/pkgs/build-support/ocaml/oasis.nix
new file mode 100644
index 00000000000..74977486f2f
--- /dev/null
+++ b/pkgs/build-support/ocaml/oasis.nix
@@ -0,0 +1,46 @@
+{ stdenv, ocaml_oasis, ocaml, findlib, ocamlbuild }:
+
+{ pname, version, buildInputs ? [], meta ? { platforms = ocaml.meta.platforms or []; },
+ minimumOCamlVersion ? null,
+ createFindlibDestdir ? true,
+ dontStrip ? true,
+ ...
+}@args:
+
+if args ? minimumOCamlVersion &&
+ ! stdenv.lib.versionAtLeast ocaml.version args.minimumOCamlVersion
+then throw "${pname}-${version} is not available for OCaml ${ocaml.version}"
+else
+
+stdenv.mkDerivation (args // {
+ name = "ocaml${ocaml.version}-${pname}-${version}";
+
+ buildInputs = [ ocaml findlib ocamlbuild ocaml_oasis ] ++ buildInputs;
+
+ inherit createFindlibDestdir;
+ inherit dontStrip;
+
+ buildPhase = ''
+ runHook preBuild
+ oasis setup
+ ocaml setup.ml -configure
+ ocaml setup.ml -build
+ runHook postBuild
+ '';
+
+ checkPhase = ''
+ runHook preCheck
+ ocaml setup.ml -test
+ runHook postCheck
+ '';
+
+ installPhase = ''
+ runHook preInstall
+ mkdir -p $out
+ sed -i s+/usr/local+$out+g setup.ml
+ sed -i s+/usr/local+$out+g setup.data
+ prefix=$OCAMLFIND_DESTDIR ocaml setup.ml -install
+ runHook postInstall
+ '';
+
+})
diff --git a/pkgs/build-support/oci-tools/default.nix b/pkgs/build-support/oci-tools/default.nix
new file mode 100644
index 00000000000..18b238033ff
--- /dev/null
+++ b/pkgs/build-support/oci-tools/default.nix
@@ -0,0 +1,78 @@
+{ lib, writeText, runCommand, writeReferencesToFile }:
+
+{
+ buildContainer =
+ { args
+ , mounts ? {}
+ , os ? "linux"
+ , arch ? "x86_64"
+ , readonly ? false
+ }:
+ let
+ sysMounts = {
+ "/proc" = {
+ type = "proc";
+ source = "proc";
+ };
+ "/dev" = {
+ type = "tmpfs";
+ source = "tmpfs";
+ options = [ "nosuid" "strictatime" "mode=755" "size=65536k" ];
+ };
+ "/dev/pts" = {
+ type = "devpts";
+ source = "devpts";
+ options = [ "nosuid" "noexec" "newinstance" "ptmxmode=0666" "mode=755" "gid=5" ];
+ };
+ "/dev/shm" = {
+ type = "tmpfs";
+ source = "shm";
+ options = [ "nosuid" "noexec" "nodev" "mode=1777" "size=65536k" ];
+ };
+ "/dev/mqueue" = {
+ type = "mqueue";
+ source = "mqueue";
+ options = [ "nosuid" "noexec" "nodev" ];
+ };
+ "/sys" = {
+ type = "sysfs";
+ source = "sysfs";
+ options = [ "nosuid" "noexec" "nodev" "ro" ];
+ };
+ "/sys/fs/cgroup" = {
+ type = "cgroup";
+ source = "cgroup";
+ options = [ "nosuid" "noexec" "nodev" "realatime" "ro" ];
+ };
+ };
+ config = writeText "config.json" (builtins.toJSON {
+ ociVersion = "1.0.0";
+ platform = {
+ inherit os arch;
+ };
+
+ linux = {
+ namespaces = map (type: { inherit type; }) [ "pid" "network" "mount" "ipc" "uts" ];
+ };
+
+ root = { path = "rootfs"; inherit readonly; };
+
+ process = {
+ inherit args;
+ user = { uid = 0; gid = 0; };
+ cwd = "/";
+ };
+
+ mounts = lib.mapAttrsToList (destination: { type, source, options ? null }: {
+ inherit destination type source options;
+ }) sysMounts;
+ });
+ in
+ runCommand "join" {} ''
+ set -o pipefail
+ mkdir -p $out/rootfs/{dev,proc,sys}
+ cp ${config} $out/config.json
+ xargs tar c < ${writeReferencesToFile args} | tar -xC $out/rootfs/
+ '';
+}
+
diff --git a/pkgs/build-support/release/maven-build.nix b/pkgs/build-support/release/maven-build.nix
index f7ea07baccb..71eb63b850d 100644
--- a/pkgs/build-support/release/maven-build.nix
+++ b/pkgs/build-support/release/maven-build.nix
@@ -15,7 +15,7 @@ let
mvnFlags = "-Dmaven.repo.local=$M2_REPO ${if doTest then "" else "-Dmaven.test.skip.exec=true"} ${extraMvnFlags}";
in
-stdenv.mkDerivation ( rec {
+stdenv.mkDerivation ( {
inherit name src;
phases = "setupPhase unpackPhase patchPhase mvnCompile ${if doTestCompile then "mvnTestCompile mvnTestJar" else ""} ${if doTest then "mvnTest" else ""} ${if doJavadoc then "mvnJavadoc" else ""} ${if doCheckstyle then "mvnCheckstyle" else ""} mvnJar mvnAssembly mvnRelease finalPhase";
diff --git a/pkgs/build-support/rust/build-rust-crate/build-crate.nix b/pkgs/build-support/rust/build-rust-crate/build-crate.nix
index 2999c3d4c1d..e0a52e62561 100644
--- a/pkgs/build-support/rust/build-rust-crate/build-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/build-crate.nix
@@ -1,13 +1,13 @@
{ lib, stdenv, echo_build_heading, noisily, makeDeps }:
{ crateName,
dependencies,
- crateFeatures, libName, release, libPath,
+ crateFeatures, crateRenames, libName, release, libPath,
crateType, metadata, crateBin, hasCrateBin,
extraRustcOpts, verbose, colors }:
let
- deps = makeDeps dependencies;
+ deps = makeDeps dependencies crateRenames;
rustcOpts =
lib.lists.foldl' (opts: opt: opts + " " + opt)
(if release then "-C opt-level=3" else "-C debuginfo=2")
diff --git a/pkgs/build-support/rust/build-rust-crate/configure-crate.nix b/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
index 169adcf2d43..2a40240671c 100644
--- a/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
+++ b/pkgs/build-support/rust/build-rust-crate/configure-crate.nix
@@ -9,6 +9,7 @@
, crateHomepage
, crateFeatures
, crateName
+, crateRenames
, crateVersion
, extraLinkFlags
, extraRustcOpts
@@ -24,7 +25,7 @@ let version_ = lib.splitString "-" crateVersion;
rustcOpts = lib.lists.foldl' (opts: opt: opts + " " + opt)
(if release then "-C opt-level=3" else "-C debuginfo=2")
(["-C codegen-units=$NIX_BUILD_CORES"] ++ extraRustcOpts);
- buildDeps = makeDeps buildDependencies;
+ buildDeps = makeDeps buildDependencies crateRenames;
authors = lib.concatStringsSep ":" crateAuthors;
optLevel = if release then 3 else 0;
completeDepsDir = lib.concatStringsSep " " completeDeps;
diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix
index acb2ee63cce..6534e21c0f0 100644
--- a/pkgs/build-support/rust/build-rust-crate/default.nix
+++ b/pkgs/build-support/rust/build-rust-crate/default.nix
@@ -13,13 +13,18 @@ let
then "macos"
else stdenv.hostPlatform.parsed.kernel.name;
- makeDeps = dependencies:
+ makeDeps = dependencies: crateRenames:
(lib.concatMapStringsSep " " (dep:
- let extern = lib.strings.replaceStrings ["-"] ["_"] dep.libName; in
- (if lib.lists.any (x: x == "lib") dep.crateType then
- " --extern ${extern}=${dep.out}/lib/lib${extern}-${dep.metadata}.rlib"
+ let
+ extern = lib.strings.replaceStrings ["-"] ["_"] dep.libName;
+ name = if builtins.hasAttr dep.crateName crateRenames then
+ lib.strings.replaceStrings ["-"] ["_"] crateRenames.${dep.crateName}
+ else
+ extern;
+ in (if lib.lists.any (x: x == "lib") dep.crateType then
+ " --extern ${name}=${dep.out}/lib/lib${extern}-${dep.metadata}.rlib"
else
- " --extern ${extern}=${dep.out}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}")
+ " --extern ${name}=${dep.out}/lib/lib${extern}-${dep.metadata}${stdenv.hostPlatform.extensions.sharedLibrary}")
) dependencies);
echo_build_heading = colors: ''
@@ -60,7 +65,7 @@ let
in
crate_: lib.makeOverridable ({ rust, release, verbose, features, buildInputs, crateOverrides,
- dependencies, buildDependencies,
+ dependencies, buildDependencies, crateRenames,
extraRustcOpts,
preUnpack, postUnpack, prePatch, patches, postPatch,
preConfigure, postConfigure, preBuild, postBuild, preInstall, postInstall }:
@@ -70,7 +75,7 @@ let crate = crate_ // (lib.attrByPath [ crate_.crateName ] (attr: {}) crateOverr
buildDependencies_ = buildDependencies;
processedAttrs = [
"src" "buildInputs" "crateBin" "crateLib" "libName" "libPath"
- "buildDependencies" "dependencies" "features"
+ "buildDependencies" "dependencies" "features" "crateRenames"
"crateName" "version" "build" "authors" "colors" "edition"
];
extraDerivationAttrs = lib.filterAttrs (n: v: ! lib.elem n processedAttrs) crate;
@@ -143,13 +148,13 @@ stdenv.mkDerivation (rec {
configurePhase = configureCrate {
inherit crateName buildDependencies completeDeps completeBuildDeps crateDescription
- crateFeatures libName build workspace_member release libPath crateVersion
+ crateFeatures crateRenames libName build workspace_member release libPath crateVersion
extraLinkFlags extraRustcOpts
crateAuthors crateHomepage verbose colors target_os;
};
buildPhase = buildCrate {
inherit crateName dependencies
- crateFeatures libName release libPath crateType
+ crateFeatures crateRenames libName release libPath crateType
metadata crateBin hasCrateBin verbose colors
extraRustcOpts;
};
@@ -177,4 +182,5 @@ stdenv.mkDerivation (rec {
postInstall = crate_.postInstall or "";
dependencies = crate_.dependencies or [];
buildDependencies = crate_.buildDependencies or [];
+ crateRenames = crate_.crateRenames or {};
}
diff --git a/pkgs/build-support/rust/build-rust-crate/test/brotli-crates.nix b/pkgs/build-support/rust/build-rust-crate/test/brotli-crates.nix
index 068cc5a9884..ab9b0a13ae7 100644
--- a/pkgs/build-support/rust/build-rust-crate/test/brotli-crates.nix
+++ b/pkgs/build-support/rust/build-rust-crate/test/brotli-crates.nix
@@ -44,7 +44,7 @@ rec {
alloc_no_stdlib_1_3_0 = { features?(alloc_no_stdlib_1_3_0_features {}) }: alloc_no_stdlib_1_3_0_ {
features = mkFeatures (features.alloc_no_stdlib_1_3_0 or {});
};
- alloc_no_stdlib_1_3_0_features = f: updateFeatures f (rec {
+ alloc_no_stdlib_1_3_0_features = f: updateFeatures f ({
alloc_no_stdlib_1_3_0.default = (f.alloc_no_stdlib_1_3_0.default or true);
}) [];
brotli_2_5_0 = { features?(brotli_2_5_0_features {}) }: brotli_2_5_0_ {
@@ -52,20 +52,20 @@ rec {
features = mkFeatures (features.brotli_2_5_0 or {});
};
brotli_2_5_0_features = f: updateFeatures f (rec {
- alloc_no_stdlib_1_3_0."no-stdlib" =
- (f.alloc_no_stdlib_1_3_0."no-stdlib" or false) ||
- (brotli_2_5_0."no-stdlib" or false) ||
- (f.brotli_2_5_0."no-stdlib" or false);
+ alloc_no_stdlib_1_3_0.no-stdlib =
+ (f.alloc_no_stdlib_1_3_0.no-stdlib or false) ||
+ (brotli_2_5_0.no-stdlib or false) ||
+ (f.brotli_2_5_0.no-stdlib or false);
alloc_no_stdlib_1_3_0.default = true;
brotli_2_5_0.default = (f.brotli_2_5_0.default or true);
- brotli_decompressor_1_3_1."disable-timer" =
- (f.brotli_decompressor_1_3_1."disable-timer" or false) ||
- (brotli_2_5_0."disable-timer" or false) ||
- (f.brotli_2_5_0."disable-timer" or false);
- brotli_decompressor_1_3_1."no-stdlib" =
- (f.brotli_decompressor_1_3_1."no-stdlib" or false) ||
- (brotli_2_5_0."no-stdlib" or false) ||
- (f.brotli_2_5_0."no-stdlib" or false);
+ brotli_decompressor_1_3_1.disable-timer =
+ (f.brotli_decompressor_1_3_1.disable-timer or false) ||
+ (brotli_2_5_0.disable-timer or false) ||
+ (f.brotli_2_5_0.disable-timer or false);
+ brotli_decompressor_1_3_1.no-stdlib =
+ (f.brotli_decompressor_1_3_1.no-stdlib or false) ||
+ (brotli_2_5_0.no-stdlib or false) ||
+ (f.brotli_2_5_0.no-stdlib or false);
brotli_decompressor_1_3_1.benchmark =
(f.brotli_decompressor_1_3_1.benchmark or false) ||
(brotli_2_5_0.benchmark or false) ||
@@ -81,10 +81,10 @@ rec {
features = mkFeatures (features.brotli_decompressor_1_3_1 or {});
};
brotli_decompressor_1_3_1_features = f: updateFeatures f (rec {
- alloc_no_stdlib_1_3_0."no-stdlib" =
- (f.alloc_no_stdlib_1_3_0."no-stdlib" or false) ||
- (brotli_decompressor_1_3_1."no-stdlib" or false) ||
- (f.brotli_decompressor_1_3_1."no-stdlib" or false);
+ alloc_no_stdlib_1_3_0.no-stdlib =
+ (f.alloc_no_stdlib_1_3_0.no-stdlib or false) ||
+ (brotli_decompressor_1_3_1.no-stdlib or false) ||
+ (f.brotli_decompressor_1_3_1.no-stdlib or false);
alloc_no_stdlib_1_3_0.default = true;
alloc_no_stdlib_1_3_0.unsafe =
(f.alloc_no_stdlib_1_3_0.unsafe or false) ||
diff --git a/pkgs/build-support/rust/build-rust-crate/test/default.nix b/pkgs/build-support/rust/build-rust-crate/test/default.nix
index 08f7238c1fd..4a90cf442a4 100644
--- a/pkgs/build-support/rust/build-rust-crate/test/default.nix
+++ b/pkgs/build-support/rust/build-rust-crate/test/default.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv, buildRustCrate, runCommand, writeTextFile, symlinkJoin, callPackage }:
+{ lib, buildRustCrate, runCommand, writeTextFile, symlinkJoin, callPackage }:
let
mkCrate = args: let
p = {
@@ -22,6 +22,13 @@ let
}
'';
+ mkBinExtern = name: extern: mkFile name ''
+ extern crate ${extern};
+ fn main() {
+ assert_eq!(${extern}::test(), 23);
+ }
+ '';
+
mkLib = name: mkFile name "pub fn test() -> i32 { return 23; }";
mkTest = crateArgs: let
@@ -34,12 +41,7 @@ let
libTestBinary = if !isLib then null else mkCrate {
crateName = "run-test-${crateName}";
dependencies = [ crate ];
- src = mkFile "src/main.rs" ''
- extern crate ${libName};
- fn main() {
- assert_eq!(${libName}::test(), 23);
- }
- '';
+ src = mkBinExtern "src/main.rs" libName;
};
in runCommand "run-buildRustCrate-${crateName}-test" {
@@ -71,6 +73,18 @@ let
};
crateBinNoPath3 = { crateBin = [{ name = "my-binary5"; }]; src = mkBin "src/bin/main.rs"; };
crateBinNoPath4 = { crateBin = [{ name = "my-binary6"; }]; src = mkBin "src/main.rs";};
+ crateBinRename1 = {
+ crateBin = [{ name = "my-binary-rename1"; }];
+ src = mkBinExtern "src/main.rs" "foo_renamed";
+ dependencies = [ (mkCrate { crateName = "foo"; src = mkLib "src/lib.rs"; }) ];
+ crateRenames = { "foo" = "foo_renamed"; };
+ };
+ crateBinRename2 = {
+ crateBin = [{ name = "my-binary-rename2"; }];
+ src = mkBinExtern "src/main.rs" "foo_renamed";
+ dependencies = [ (mkCrate { crateName = "foo"; libName = "foolib"; src = mkLib "src/lib.rs"; }) ];
+ crateRenames = { "foo" = "foo_renamed"; };
+ };
};
brotliCrates = (callPackage ./brotli-crates.nix {});
in lib.mapAttrs (key: value: mkTest (value // lib.optionalAttrs (!value?crateName) { crateName = key; })) cases // {
diff --git a/pkgs/build-support/rust/crates-io.nix b/pkgs/build-support/rust/crates-io.nix
index 9dd2da28ad5..66f98cd9912 100644
--- a/pkgs/build-support/rust/crates-io.nix
+++ b/pkgs/build-support/rust/crates-io.nix
@@ -19,7 +19,7 @@ rec {
(crates."memchr"."${deps."aho_corasick"."0.6.10"."memchr"}" deps)
]);
};
- features_.aho_corasick."0.6.10" = deps: f: updateFeatures f (rec {
+ features_.aho_corasick."0.6.10" = deps: f: updateFeatures f ({
aho_corasick."0.6.10".default = (f.aho_corasick."0.6.10".default or true);
memchr."${deps.aho_corasick."0.6.10".memchr}".default = true;
}) [
@@ -42,7 +42,7 @@ rec {
(crates."memchr"."${deps."aho_corasick"."0.6.8"."memchr"}" deps)
]);
};
- features_.aho_corasick."0.6.8" = deps: f: updateFeatures f (rec {
+ features_.aho_corasick."0.6.8" = deps: f: updateFeatures f ({
aho_corasick."0.6.8".default = (f.aho_corasick."0.6.8".default or true);
memchr."${deps.aho_corasick."0.6.8".memchr}".default = true;
}) [
@@ -62,7 +62,7 @@ rec {
(crates."winapi"."${deps."ansi_term"."0.11.0"."winapi"}" deps)
]) else []);
};
- features_.ansi_term."0.11.0" = deps: f: updateFeatures f (rec {
+ features_.ansi_term."0.11.0" = deps: f: updateFeatures f ({
ansi_term."0.11.0".default = (f.ansi_term."0.11.0".default or true);
winapi = fold recursiveUpdate {} [
{ "${deps.ansi_term."0.11.0".winapi}"."consoleapi" = true; }
@@ -186,7 +186,7 @@ rec {
(crates."winapi"."${deps."atty"."0.2.11"."winapi"}" deps)
]) else []);
};
- features_.atty."0.2.11" = deps: f: updateFeatures f (rec {
+ features_.atty."0.2.11" = deps: f: updateFeatures f ({
atty."0.2.11".default = (f.atty."0.2.11".default or true);
libc."${deps.atty."0.2.11".libc}".default = (f.libc."${deps.atty."0.2.11".libc}".default or false);
termion."${deps.atty."0.2.11".termion}".default = true;
@@ -215,7 +215,7 @@ rec {
authors = [ "Josh Stone " ];
sha256 = "0dv81dwnp1al3j4ffz007yrjv4w1c7hw09gnf0xs3icxiw6qqfs3";
};
- features_.autocfg."0.1.2" = deps: f: updateFeatures f (rec {
+ features_.autocfg."0.1.2" = deps: f: updateFeatures f ({
autocfg."0.1.2".default = (f.autocfg."0.1.2".default or true);
}) [];
@@ -461,7 +461,7 @@ rec {
(crates."cc"."${deps."backtrace_sys"."0.1.24"."cc"}" deps)
]);
};
- features_.backtrace_sys."0.1.24" = deps: f: updateFeatures f (rec {
+ features_.backtrace_sys."0.1.24" = deps: f: updateFeatures f ({
backtrace_sys."0.1.24".default = (f.backtrace_sys."0.1.24".default or true);
cc."${deps.backtrace_sys."0.1.24".cc}".default = true;
libc."${deps.backtrace_sys."0.1.24".libc}".default = true;
@@ -489,7 +489,7 @@ rec {
(crates."cc"."${deps."backtrace_sys"."0.1.28"."cc"}" deps)
]);
};
- features_.backtrace_sys."0.1.28" = deps: f: updateFeatures f (rec {
+ features_.backtrace_sys."0.1.28" = deps: f: updateFeatures f ({
backtrace_sys."0.1.28".default = (f.backtrace_sys."0.1.28".default or true);
cc."${deps.backtrace_sys."0.1.28".cc}".default = true;
libc."${deps.backtrace_sys."0.1.28".libc}".default = (f.libc."${deps.backtrace_sys."0.1.28".libc}".default or false);
@@ -509,7 +509,7 @@ rec {
sha256 = "1g1wmz2001qmfrd37dnd5qiss5njrw26aywmg6yhkmkbyrhjxb08";
features = mkFeatures (features."bitflags"."1.0.4" or {});
};
- features_.bitflags."1.0.4" = deps: f: updateFeatures f (rec {
+ features_.bitflags."1.0.4" = deps: f: updateFeatures f ({
bitflags."1.0.4".default = (f.bitflags."1.0.4".default or true);
}) [];
@@ -582,7 +582,7 @@ rec {
(crates."url"."${deps."carnix"."0.10.0"."url"}" deps)
]);
};
- features_.carnix."0.10.0" = deps: f: updateFeatures f (rec {
+ features_.carnix."0.10.0" = deps: f: updateFeatures f ({
carnix."0.10.0".default = (f.carnix."0.10.0".default or true);
clap."${deps.carnix."0.10.0".clap}".default = true;
dirs."${deps.carnix."0.10.0".dirs}".default = true;
@@ -645,7 +645,7 @@ rec {
(crates."toml"."${deps."carnix"."0.9.1"."toml"}" deps)
]);
};
- features_.carnix."0.9.1" = deps: f: updateFeatures f (rec {
+ features_.carnix."0.9.1" = deps: f: updateFeatures f ({
carnix."0.9.1".default = (f.carnix."0.9.1".default or true);
clap."${deps.carnix."0.9.1".clap}".default = true;
dirs."${deps.carnix."0.9.1".dirs}".default = true;
@@ -704,7 +704,7 @@ rec {
(crates."toml"."${deps."carnix"."0.9.2"."toml"}" deps)
]);
};
- features_.carnix."0.9.2" = deps: f: updateFeatures f (rec {
+ features_.carnix."0.9.2" = deps: f: updateFeatures f ({
carnix."0.9.2".default = (f.carnix."0.9.2".default or true);
clap."${deps.carnix."0.9.2".clap}".default = true;
dirs."${deps.carnix."0.9.2".dirs}".default = true;
@@ -764,7 +764,7 @@ rec {
(crates."url"."${deps."carnix"."0.9.8"."url"}" deps)
]);
};
- features_.carnix."0.9.8" = deps: f: updateFeatures f (rec {
+ features_.carnix."0.9.8" = deps: f: updateFeatures f ({
carnix."0.9.8".default = (f.carnix."0.9.8".default or true);
clap."${deps.carnix."0.9.8".clap}".default = true;
dirs."${deps.carnix."0.9.8".dirs}".default = true;
@@ -854,7 +854,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "11qrix06wagkplyk908i3423ps9m9np6c4vbcq81s9fyl244xv3n";
};
- features_.cfg_if."0.1.6" = deps: f: updateFeatures f (rec {
+ features_.cfg_if."0.1.6" = deps: f: updateFeatures f ({
cfg_if."0.1.6".default = (f.cfg_if."0.1.6".default or true);
}) [];
@@ -869,7 +869,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "13gvcx1dxjq4mpmpj26hpg3yc97qffkx2zi58ykr1dwr8q2biiig";
};
- features_.cfg_if."0.1.7" = deps: f: updateFeatures f (rec {
+ features_.cfg_if."0.1.7" = deps: f: updateFeatures f ({
cfg_if."0.1.7".default = (f.cfg_if."0.1.7".default or true);
}) [];
@@ -1001,7 +1001,7 @@ rec {
authors = [ "Cesar Eduardo Barros " ];
sha256 = "03qri9hjf049gwqg9q527lybpg918q6y5q4g9a5lma753nff49wd";
};
- features_.constant_time_eq."0.1.3" = deps: f: updateFeatures f (rec {
+ features_.constant_time_eq."0.1.3" = deps: f: updateFeatures f ({
constant_time_eq."0.1.3".default = (f.constant_time_eq."0.1.3".default or true);
}) [];
@@ -1024,7 +1024,7 @@ rec {
(crates."winapi"."${deps."dirs"."1.0.4"."winapi"}" deps)
]) else []);
};
- features_.dirs."1.0.4" = deps: f: updateFeatures f (rec {
+ features_.dirs."1.0.4" = deps: f: updateFeatures f ({
dirs."1.0.4".default = (f.dirs."1.0.4".default or true);
libc."${deps.dirs."1.0.4".libc}".default = true;
redox_users."${deps.dirs."1.0.4".redox_users}".default = true;
@@ -1062,7 +1062,7 @@ rec {
(crates."winapi"."${deps."dirs"."1.0.5"."winapi"}" deps)
]) else []);
};
- features_.dirs."1.0.5" = deps: f: updateFeatures f (rec {
+ features_.dirs."1.0.5" = deps: f: updateFeatures f ({
dirs."1.0.5".default = (f.dirs."1.0.5".default or true);
libc."${deps.dirs."1.0.5".libc}".default = true;
redox_users."${deps.dirs."1.0.5".redox_users}".default = true;
@@ -1359,7 +1359,7 @@ rec {
]);
features = mkFeatures (features."failure_derive"."0.1.3" or {});
};
- features_.failure_derive."0.1.3" = deps: f: updateFeatures f (rec {
+ features_.failure_derive."0.1.3" = deps: f: updateFeatures f ({
failure_derive."0.1.3".default = (f.failure_derive."0.1.3".default or true);
proc_macro2."${deps.failure_derive."0.1.3".proc_macro2}".default = true;
quote."${deps.failure_derive."0.1.3".quote}".default = true;
@@ -1392,7 +1392,7 @@ rec {
]);
features = mkFeatures (features."failure_derive"."0.1.5" or {});
};
- features_.failure_derive."0.1.5" = deps: f: updateFeatures f (rec {
+ features_.failure_derive."0.1.5" = deps: f: updateFeatures f ({
failure_derive."0.1.5".default = (f.failure_derive."0.1.5".default or true);
proc_macro2."${deps.failure_derive."0.1.5".proc_macro2}".default = true;
quote."${deps.failure_derive."0.1.5".quote}".default = true;
@@ -1417,7 +1417,7 @@ rec {
edition = "2018";
sha256 = "07apwv9dj716yjlcj29p94vkqn5zmfh7hlrqvrjx3wzshphc95h9";
};
- features_.fuchsia_cprng."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.fuchsia_cprng."0.1.1" = deps: f: updateFeatures f ({
fuchsia_cprng."0.1.1".default = (f.fuchsia_cprng."0.1.1".default or true);
}) [];
@@ -1435,7 +1435,7 @@ rec {
(crates."fuchsia_zircon_sys"."${deps."fuchsia_zircon"."0.3.3"."fuchsia_zircon_sys"}" deps)
]);
};
- features_.fuchsia_zircon."0.3.3" = deps: f: updateFeatures f (rec {
+ features_.fuchsia_zircon."0.3.3" = deps: f: updateFeatures f ({
bitflags."${deps.fuchsia_zircon."0.3.3".bitflags}".default = true;
fuchsia_zircon."0.3.3".default = (f.fuchsia_zircon."0.3.3".default or true);
fuchsia_zircon_sys."${deps.fuchsia_zircon."0.3.3".fuchsia_zircon_sys}".default = true;
@@ -1454,7 +1454,7 @@ rec {
authors = [ "Raph Levien " ];
sha256 = "08jp1zxrm9jbrr6l26bjal4dbm8bxfy57ickdgibsqxr1n9j3hf5";
};
- features_.fuchsia_zircon_sys."0.3.3" = deps: f: updateFeatures f (rec {
+ features_.fuchsia_zircon_sys."0.3.3" = deps: f: updateFeatures f ({
fuchsia_zircon_sys."0.3.3".default = (f.fuchsia_zircon_sys."0.3.3".default or true);
}) [];
@@ -1472,7 +1472,7 @@ rec {
(crates."quick_error"."${deps."humantime"."1.1.1"."quick_error"}" deps)
]);
};
- features_.humantime."1.1.1" = deps: f: updateFeatures f (rec {
+ features_.humantime."1.1.1" = deps: f: updateFeatures f ({
humantime."1.1.1".default = (f.humantime."1.1.1".default or true);
quick_error."${deps.humantime."1.1.1".quick_error}".default = true;
}) [
@@ -1494,7 +1494,7 @@ rec {
(crates."quick_error"."${deps."humantime"."1.2.0"."quick_error"}" deps)
]);
};
- features_.humantime."1.2.0" = deps: f: updateFeatures f (rec {
+ features_.humantime."1.2.0" = deps: f: updateFeatures f ({
humantime."1.2.0".default = (f.humantime."1.2.0".default or true);
quick_error."${deps.humantime."1.2.0".quick_error}".default = true;
}) [
@@ -1516,7 +1516,7 @@ rec {
(crates."unicode_normalization"."${deps."idna"."0.1.5"."unicode_normalization"}" deps)
]);
};
- features_.idna."0.1.5" = deps: f: updateFeatures f (rec {
+ features_.idna."0.1.5" = deps: f: updateFeatures f ({
idna."0.1.5".default = (f.idna."0.1.5".default or true);
matches."${deps.idna."0.1.5".matches}".default = true;
unicode_bidi."${deps.idna."0.1.5".unicode_bidi}".default = true;
@@ -1730,7 +1730,7 @@ rec {
]);
features = mkFeatures (features."log"."0.4.5" or {});
};
- features_.log."0.4.5" = deps: f: updateFeatures f (rec {
+ features_.log."0.4.5" = deps: f: updateFeatures f ({
cfg_if."${deps.log."0.4.5".cfg_if}".default = true;
log."0.4.5".default = (f.log."0.4.5".default or true);
}) [
@@ -1752,7 +1752,7 @@ rec {
]);
features = mkFeatures (features."log"."0.4.6" or {});
};
- features_.log."0.4.6" = deps: f: updateFeatures f (rec {
+ features_.log."0.4.6" = deps: f: updateFeatures f ({
cfg_if."${deps.log."0.4.6".cfg_if}".default = true;
log."0.4.6".default = (f.log."0.4.6".default or true);
}) [
@@ -1770,7 +1770,7 @@ rec {
sha256 = "03hl636fg6xggy0a26200xs74amk3k9n0908rga2szn68agyz3cv";
libPath = "lib.rs";
};
- features_.matches."0.1.8" = deps: f: updateFeatures f (rec {
+ features_.matches."0.1.8" = deps: f: updateFeatures f ({
matches."0.1.8".default = (f.matches."0.1.8".default or true);
}) [];
@@ -2004,7 +2004,7 @@ rec {
sha256 = "04ahrp7aw4ip7fmadb0bknybmkfav0kk0gw4ps3ydq5w6hr0ib5i";
libPath = "lib.rs";
};
- features_.percent_encoding."1.0.1" = deps: f: updateFeatures f (rec {
+ features_.percent_encoding."1.0.1" = deps: f: updateFeatures f ({
percent_encoding."1.0.1".default = (f.percent_encoding."1.0.1".default or true);
}) [];
@@ -2077,7 +2077,7 @@ rec {
authors = [ "Paul Colomiets " "Colin Kiegel " ];
sha256 = "192a3adc5phgpibgqblsdx1b421l5yg9bjbmv552qqq9f37h60k5";
};
- features_.quick_error."1.2.2" = deps: f: updateFeatures f (rec {
+ features_.quick_error."1.2.2" = deps: f: updateFeatures f ({
quick_error."1.2.2".default = (f.quick_error."1.2.2".default or true);
}) [];
@@ -2362,7 +2362,7 @@ rec {
++ (if kernel == "wasm32-unknown-unknown" then mapFeatures features ([
]) else []);
};
- features_.rand_os."0.1.3" = deps: f: updateFeatures f (rec {
+ features_.rand_os."0.1.3" = deps: f: updateFeatures f ({
cloudabi."${deps.rand_os."0.1.3".cloudabi}".default = true;
fuchsia_cprng."${deps.rand_os."0.1.3".fuchsia_cprng}".default = true;
libc."${deps.rand_os."0.1.3".libc}".default = true;
@@ -2426,7 +2426,7 @@ rec {
sha256 = "132rnhrq49l3z7gjrwj2zfadgw6q0355s6a7id7x7c0d7sk72611";
libName = "syscall";
};
- features_.redox_syscall."0.1.40" = deps: f: updateFeatures f (rec {
+ features_.redox_syscall."0.1.40" = deps: f: updateFeatures f ({
redox_syscall."0.1.40".default = (f.redox_syscall."0.1.40".default or true);
}) [];
@@ -2442,7 +2442,7 @@ rec {
sha256 = "1a61cv7yydx64vpyvzr0z0hwzdvy4gcvcnfc6k70zpkngj5sz3ip";
libName = "syscall";
};
- features_.redox_syscall."0.1.51" = deps: f: updateFeatures f (rec {
+ features_.redox_syscall."0.1.51" = deps: f: updateFeatures f ({
redox_syscall."0.1.51".default = (f.redox_syscall."0.1.51".default or true);
}) [];
@@ -2460,7 +2460,7 @@ rec {
(crates."redox_syscall"."${deps."redox_termios"."0.1.1"."redox_syscall"}" deps)
]);
};
- features_.redox_termios."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.redox_termios."0.1.1" = deps: f: updateFeatures f ({
redox_syscall."${deps.redox_termios."0.1.1".redox_syscall}".default = true;
redox_termios."0.1.1".default = (f.redox_termios."0.1.1".default or true);
}) [
@@ -2483,7 +2483,7 @@ rec {
(crates."redox_syscall"."${deps."redox_users"."0.2.0"."redox_syscall"}" deps)
]);
};
- features_.redox_users."0.2.0" = deps: f: updateFeatures f (rec {
+ features_.redox_users."0.2.0" = deps: f: updateFeatures f ({
argon2rs."${deps.redox_users."0.2.0".argon2rs}".default = (f.argon2rs."${deps.redox_users."0.2.0".argon2rs}".default or false);
failure."${deps.redox_users."0.2.0".failure}".default = true;
rand."${deps.redox_users."0.2.0".rand}".default = true;
@@ -2513,7 +2513,7 @@ rec {
(crates."redox_syscall"."${deps."redox_users"."0.3.0"."redox_syscall"}" deps)
]);
};
- features_.redox_users."0.3.0" = deps: f: updateFeatures f (rec {
+ features_.redox_users."0.3.0" = deps: f: updateFeatures f ({
argon2rs."${deps.redox_users."0.3.0".argon2rs}".default = (f.argon2rs."${deps.redox_users."0.3.0".argon2rs}".default or false);
failure."${deps.redox_users."0.3.0".failure}".default = true;
rand_os."${deps.redox_users."0.3.0".rand_os}".default = true;
@@ -2626,7 +2626,7 @@ rec {
(crates."ucd_util"."${deps."regex_syntax"."0.6.2"."ucd_util"}" deps)
]);
};
- features_.regex_syntax."0.6.2" = deps: f: updateFeatures f (rec {
+ features_.regex_syntax."0.6.2" = deps: f: updateFeatures f ({
regex_syntax."0.6.2".default = (f.regex_syntax."0.6.2".default or true);
ucd_util."${deps.regex_syntax."0.6.2".ucd_util}".default = true;
}) [
@@ -2647,7 +2647,7 @@ rec {
(crates."ucd_util"."${deps."regex_syntax"."0.6.5"."ucd_util"}" deps)
]);
};
- features_.regex_syntax."0.6.5" = deps: f: updateFeatures f (rec {
+ features_.regex_syntax."0.6.5" = deps: f: updateFeatures f ({
regex_syntax."0.6.5".default = (f.regex_syntax."0.6.5".default or true);
ucd_util."${deps.regex_syntax."0.6.5".ucd_util}".default = true;
}) [
@@ -2667,7 +2667,7 @@ rec {
(crates."winapi"."${deps."remove_dir_all"."0.5.1"."winapi"}" deps)
]) else []);
};
- features_.remove_dir_all."0.5.1" = deps: f: updateFeatures f (rec {
+ features_.remove_dir_all."0.5.1" = deps: f: updateFeatures f ({
remove_dir_all."0.5.1".default = (f.remove_dir_all."0.5.1".default or true);
winapi = fold recursiveUpdate {} [
{ "${deps.remove_dir_all."0.5.1".winapi}"."errhandlingapi" = true; }
@@ -2692,7 +2692,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "0sr6cr02araqnlqwc5ghvnafjmkw11vzjswqaz757lvyrcl8xcy6";
};
- features_.rustc_demangle."0.1.13" = deps: f: updateFeatures f (rec {
+ features_.rustc_demangle."0.1.13" = deps: f: updateFeatures f ({
rustc_demangle."0.1.13".default = (f.rustc_demangle."0.1.13".default or true);
}) [];
@@ -2706,7 +2706,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "00ma4r9haq0zv5krps617mym6y74056pfcivyld0kpci156vfaax";
};
- features_.rustc_demangle."0.1.9" = deps: f: updateFeatures f (rec {
+ features_.rustc_demangle."0.1.9" = deps: f: updateFeatures f ({
rustc_demangle."0.1.9".default = (f.rustc_demangle."0.1.9".default or true);
}) [];
@@ -2724,7 +2724,7 @@ rec {
]);
features = mkFeatures (features."ryu"."0.2.6" or {});
};
- features_.ryu."0.2.6" = deps: f: updateFeatures f (rec {
+ features_.ryu."0.2.6" = deps: f: updateFeatures f ({
ryu."0.2.6".default = (f.ryu."0.2.6".default or true);
}) [];
@@ -2743,7 +2743,7 @@ rec {
]);
features = mkFeatures (features."ryu"."0.2.7" or {});
};
- features_.ryu."0.2.7" = deps: f: updateFeatures f (rec {
+ features_.ryu."0.2.7" = deps: f: updateFeatures f ({
ryu."0.2.7".default = (f.ryu."0.2.7".default or true);
}) [];
@@ -2758,7 +2758,7 @@ rec {
sha256 = "1arqj2skcfr46s1lcyvnlmfr5456kg5nhn8k90xyfjnxkp5yga2v";
features = mkFeatures (features."scoped_threadpool"."0.1.9" or {});
};
- features_.scoped_threadpool."0.1.9" = deps: f: updateFeatures f (rec {
+ features_.scoped_threadpool."0.1.9" = deps: f: updateFeatures f ({
scoped_threadpool."0.1.9".default = (f.scoped_threadpool."0.1.9".default or true);
}) [];
@@ -2876,7 +2876,7 @@ rec {
]);
features = mkFeatures (features."serde_derive"."1.0.80" or {});
};
- features_.serde_derive."1.0.80" = deps: f: updateFeatures f (rec {
+ features_.serde_derive."1.0.80" = deps: f: updateFeatures f ({
proc_macro2."${deps.serde_derive."1.0.80".proc_macro2}".default = true;
quote."${deps.serde_derive."1.0.80".quote}".default = true;
serde_derive."1.0.80".default = (f.serde_derive."1.0.80".default or true);
@@ -2908,7 +2908,7 @@ rec {
]);
features = mkFeatures (features."serde_derive"."1.0.89" or {});
};
- features_.serde_derive."1.0.89" = deps: f: updateFeatures f (rec {
+ features_.serde_derive."1.0.89" = deps: f: updateFeatures f ({
proc_macro2."${deps.serde_derive."1.0.89".proc_macro2}".default = true;
quote."${deps.serde_derive."1.0.89".quote}".default = true;
serde_derive."1.0.89".default = (f.serde_derive."1.0.89".default or true);
@@ -3024,7 +3024,7 @@ rec {
authors = [ "Danny Guo " ];
sha256 = "0fy0k5f2705z73mb3x9459bpcvrx4ky8jpr4zikcbiwan4bnm0iv";
};
- features_.strsim."0.7.0" = deps: f: updateFeatures f (rec {
+ features_.strsim."0.7.0" = deps: f: updateFeatures f ({
strsim."0.7.0".default = (f.strsim."0.7.0".default or true);
}) [];
@@ -3176,7 +3176,7 @@ rec {
]);
features = mkFeatures (features."synstructure"."0.10.0" or {});
};
- features_.synstructure."0.10.0" = deps: f: updateFeatures f (rec {
+ features_.synstructure."0.10.0" = deps: f: updateFeatures f ({
proc_macro2."${deps.synstructure."0.10.0".proc_macro2}".default = true;
quote."${deps.synstructure."0.10.0".quote}".default = true;
syn = fold recursiveUpdate {} [
@@ -3211,7 +3211,7 @@ rec {
]);
features = mkFeatures (features."synstructure"."0.10.1" or {});
};
- features_.synstructure."0.10.1" = deps: f: updateFeatures f (rec {
+ features_.synstructure."0.10.1" = deps: f: updateFeatures f ({
proc_macro2."${deps.synstructure."0.10.1".proc_macro2}".default = true;
quote."${deps.synstructure."0.10.1".quote}".default = true;
syn = fold recursiveUpdate {} [
@@ -3242,7 +3242,7 @@ rec {
(crates."remove_dir_all"."${deps."tempdir"."0.3.7"."remove_dir_all"}" deps)
]);
};
- features_.tempdir."0.3.7" = deps: f: updateFeatures f (rec {
+ features_.tempdir."0.3.7" = deps: f: updateFeatures f ({
rand."${deps.tempdir."0.3.7".rand}".default = true;
remove_dir_all."${deps.tempdir."0.3.7".remove_dir_all}".default = true;
tempdir."0.3.7".default = (f.tempdir."0.3.7".default or true);
@@ -3264,7 +3264,7 @@ rec {
(crates."wincolor"."${deps."termcolor"."1.0.4"."wincolor"}" deps)
]) else []);
};
- features_.termcolor."1.0.4" = deps: f: updateFeatures f (rec {
+ features_.termcolor."1.0.4" = deps: f: updateFeatures f ({
termcolor."1.0.4".default = (f.termcolor."1.0.4".default or true);
wincolor."${deps.termcolor."1.0.4".wincolor}".default = true;
}) [
@@ -3288,7 +3288,7 @@ rec {
(crates."redox_termios"."${deps."termion"."1.5.1"."redox_termios"}" deps)
]) else []);
};
- features_.termion."1.5.1" = deps: f: updateFeatures f (rec {
+ features_.termion."1.5.1" = deps: f: updateFeatures f ({
libc."${deps.termion."1.5.1".libc}".default = true;
redox_syscall."${deps.termion."1.5.1".redox_syscall}".default = true;
redox_termios."${deps.termion."1.5.1".redox_termios}".default = true;
@@ -3312,7 +3312,7 @@ rec {
(crates."unicode_width"."${deps."textwrap"."0.10.0"."unicode_width"}" deps)
]);
};
- features_.textwrap."0.10.0" = deps: f: updateFeatures f (rec {
+ features_.textwrap."0.10.0" = deps: f: updateFeatures f ({
textwrap."0.10.0".default = (f.textwrap."0.10.0".default or true);
unicode_width."${deps.textwrap."0.10.0".unicode_width}".default = true;
}) [
@@ -3332,7 +3332,7 @@ rec {
(crates."lazy_static"."${deps."thread_local"."0.3.6"."lazy_static"}" deps)
]);
};
- features_.thread_local."0.3.6" = deps: f: updateFeatures f (rec {
+ features_.thread_local."0.3.6" = deps: f: updateFeatures f ({
lazy_static."${deps.thread_local."0.3.6".lazy_static}".default = true;
thread_local."0.3.6".default = (f.thread_local."0.3.6".default or true);
}) [
@@ -3352,7 +3352,7 @@ rec {
(crates."serde"."${deps."toml"."0.4.10"."serde"}" deps)
]);
};
- features_.toml."0.4.10" = deps: f: updateFeatures f (rec {
+ features_.toml."0.4.10" = deps: f: updateFeatures f ({
serde."${deps.toml."0.4.10".serde}".default = true;
toml."0.4.10".default = (f.toml."0.4.10".default or true);
}) [
@@ -3372,7 +3372,7 @@ rec {
(crates."serde"."${deps."toml"."0.4.8"."serde"}" deps)
]);
};
- features_.toml."0.4.8" = deps: f: updateFeatures f (rec {
+ features_.toml."0.4.8" = deps: f: updateFeatures f ({
serde."${deps.toml."0.4.8".serde}".default = true;
toml."0.4.8".default = (f.toml."0.4.8".default or true);
}) [
@@ -3420,7 +3420,7 @@ rec {
(crates."toml"."${deps."toml2nix"."0.1.1"."toml"}" deps)
]);
};
- features_.toml2nix."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.toml2nix."0.1.1" = deps: f: updateFeatures f ({
toml."${deps.toml2nix."0.1.1".toml}".default = true;
toml2nix."0.1.1".default = (f.toml2nix."0.1.1".default or true);
}) [
@@ -3437,7 +3437,7 @@ rec {
authors = [ "Andrew Gallant " ];
sha256 = "02a8h3siipx52b832xc8m8rwasj6nx9jpiwfldw8hp6k205hgkn0";
};
- features_.ucd_util."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.ucd_util."0.1.1" = deps: f: updateFeatures f ({
ucd_util."0.1.1".default = (f.ucd_util."0.1.1".default or true);
}) [];
@@ -3452,7 +3452,7 @@ rec {
authors = [ "Andrew Gallant " ];
sha256 = "1n1qi3jywq5syq90z9qd8qzbn58pcjgv1sx4sdmipm4jf9zanz15";
};
- features_.ucd_util."0.1.3" = deps: f: updateFeatures f (rec {
+ features_.ucd_util."0.1.3" = deps: f: updateFeatures f ({
ucd_util."0.1.3".default = (f.ucd_util."0.1.3".default or true);
}) [];
@@ -3502,7 +3502,7 @@ rec {
authors = [ "kwantam " ];
sha256 = "1da2hv800pd0wilmn4idwpgv5p510hjxizjcfv6xzb40xcsjd8gs";
};
- features_.unicode_normalization."0.1.7" = deps: f: updateFeatures f (rec {
+ features_.unicode_normalization."0.1.7" = deps: f: updateFeatures f ({
unicode_normalization."0.1.7".default = (f.unicode_normalization."0.1.7".default or true);
}) [];
@@ -3520,7 +3520,7 @@ rec {
(crates."smallvec"."${deps."unicode_normalization"."0.1.8"."smallvec"}" deps)
]);
};
- features_.unicode_normalization."0.1.8" = deps: f: updateFeatures f (rec {
+ features_.unicode_normalization."0.1.8" = deps: f: updateFeatures f ({
smallvec."${deps.unicode_normalization."0.1.8".smallvec}".default = true;
unicode_normalization."0.1.8".default = (f.unicode_normalization."0.1.8".default or true);
}) [
@@ -3538,7 +3538,7 @@ rec {
sha256 = "0886lc2aymwgy0lhavwn6s48ik3c61ykzzd3za6prgnw51j7bi4w";
features = mkFeatures (features."unicode_width"."0.1.5" or {});
};
- features_.unicode_width."0.1.5" = deps: f: updateFeatures f (rec {
+ features_.unicode_width."0.1.5" = deps: f: updateFeatures f ({
unicode_width."0.1.5".default = (f.unicode_width."0.1.5".default or true);
}) [];
@@ -3553,7 +3553,7 @@ rec {
sha256 = "05wdmwlfzxhq3nhsxn6wx4q8dhxzzfb9szsz6wiw092m1rjj01zj";
features = mkFeatures (features."unicode_xid"."0.1.0" or {});
};
- features_.unicode_xid."0.1.0" = deps: f: updateFeatures f (rec {
+ features_.unicode_xid."0.1.0" = deps: f: updateFeatures f ({
unicode_xid."0.1.0".default = (f.unicode_xid."0.1.0".default or true);
}) [];
@@ -3604,7 +3604,7 @@ rec {
authors = [ "Andrew Gallant " ];
sha256 = "1s56ihd2c8ba6191078wivvv59247szaiszrh8x2rxqfsxlfrnpp";
};
- features_.utf8_ranges."1.0.1" = deps: f: updateFeatures f (rec {
+ features_.utf8_ranges."1.0.1" = deps: f: updateFeatures f ({
utf8_ranges."1.0.1".default = (f.utf8_ranges."1.0.1".default or true);
}) [];
@@ -3619,7 +3619,7 @@ rec {
authors = [ "Andrew Gallant " ];
sha256 = "1my02laqsgnd8ib4dvjgd4rilprqjad6pb9jj9vi67csi5qs2281";
};
- features_.utf8_ranges."1.0.2" = deps: f: updateFeatures f (rec {
+ features_.utf8_ranges."1.0.2" = deps: f: updateFeatures f ({
utf8_ranges."1.0.2".default = (f.utf8_ranges."1.0.2".default or true);
}) [];
@@ -3656,7 +3656,7 @@ rec {
authors = [ "Sergio Benitez " ];
sha256 = "1yrx9xblmwbafw2firxyqbj8f771kkzfd24n3q7xgwiqyhi0y8qd";
};
- features_.version_check."0.1.5" = deps: f: updateFeatures f (rec {
+ features_.version_check."0.1.5" = deps: f: updateFeatures f ({
version_check."0.1.5".default = (f.version_check."0.1.5".default or true);
}) [];
@@ -3678,7 +3678,7 @@ rec {
]) else []);
features = mkFeatures (features."winapi"."0.3.6" or {});
};
- features_.winapi."0.3.6" = deps: f: updateFeatures f (rec {
+ features_.winapi."0.3.6" = deps: f: updateFeatures f ({
winapi."0.3.6".default = (f.winapi."0.3.6".default or true);
winapi_i686_pc_windows_gnu."${deps.winapi."0.3.6".winapi_i686_pc_windows_gnu}".default = true;
winapi_x86_64_pc_windows_gnu."${deps.winapi."0.3.6".winapi_x86_64_pc_windows_gnu}".default = true;
@@ -3698,7 +3698,7 @@ rec {
sha256 = "05ihkij18r4gamjpxj4gra24514can762imjzlmak5wlzidplzrp";
build = "build.rs";
};
- features_.winapi_i686_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f (rec {
+ features_.winapi_i686_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f ({
winapi_i686_pc_windows_gnu."0.4.0".default = (f.winapi_i686_pc_windows_gnu."0.4.0".default or true);
}) [];
@@ -3715,7 +3715,7 @@ rec {
(crates."winapi"."${deps."winapi_util"."0.1.1"."winapi"}" deps)
]) else []);
};
- features_.winapi_util."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.winapi_util."0.1.1" = deps: f: updateFeatures f ({
winapi = fold recursiveUpdate {} [
{ "${deps.winapi_util."0.1.1".winapi}"."consoleapi" = true; }
{ "${deps.winapi_util."0.1.1".winapi}"."errhandlingapi" = true; }
@@ -3747,7 +3747,7 @@ rec {
(crates."winapi"."${deps."winapi_util"."0.1.2"."winapi"}" deps)
]) else []);
};
- features_.winapi_util."0.1.2" = deps: f: updateFeatures f (rec {
+ features_.winapi_util."0.1.2" = deps: f: updateFeatures f ({
winapi = fold recursiveUpdate {} [
{ "${deps.winapi_util."0.1.2".winapi}"."consoleapi" = true; }
{ "${deps.winapi_util."0.1.2".winapi}"."errhandlingapi" = true; }
@@ -3777,7 +3777,7 @@ rec {
sha256 = "0n1ylmlsb8yg1v583i4xy0qmqg42275flvbc51hdqjjfjcl9vlbj";
build = "build.rs";
};
- features_.winapi_x86_64_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f (rec {
+ features_.winapi_x86_64_pc_windows_gnu."0.4.0" = deps: f: updateFeatures f ({
winapi_x86_64_pc_windows_gnu."0.4.0".default = (f.winapi_x86_64_pc_windows_gnu."0.4.0".default or true);
}) [];
@@ -3795,7 +3795,7 @@ rec {
(crates."winapi_util"."${deps."wincolor"."1.0.1"."winapi_util"}" deps)
]);
};
- features_.wincolor."1.0.1" = deps: f: updateFeatures f (rec {
+ features_.wincolor."1.0.1" = deps: f: updateFeatures f ({
winapi = fold recursiveUpdate {} [
{ "${deps.wincolor."1.0.1".winapi}"."minwindef" = true; }
{ "${deps.wincolor."1.0.1".winapi}"."wincon" = true; }
@@ -4104,7 +4104,7 @@ rec {
dependencies = mapFeatures features ([
]);
};
- features_.bytesize."1.0.0" = deps: f: updateFeatures f (rec {
+ features_.bytesize."1.0.0" = deps: f: updateFeatures f ({
bytesize."1.0.0".default = (f.bytesize."1.0.0".default or true);
}) [];
@@ -4549,7 +4549,7 @@ rec {
build = "build.rs";
features = mkFeatures (features."core_foundation_sys"."0.6.2" or {});
};
- features_.core_foundation_sys."0.6.2" = deps: f: updateFeatures f (rec {
+ features_.core_foundation_sys."0.6.2" = deps: f: updateFeatures f ({
core_foundation_sys."0.6.2".default = (f.core_foundation_sys."0.6.2".default or true);
}) [];
@@ -4576,7 +4576,7 @@ rec {
(crates."url"."${deps."crates_io"."0.23.0"."url"}" deps)
]);
};
- features_.crates_io."0.23.0" = deps: f: updateFeatures f (rec {
+ features_.crates_io."0.23.0" = deps: f: updateFeatures f ({
crates_io."0.23.0".default = (f.crates_io."0.23.0".default or true);
curl."${deps.crates_io."0.23.0".curl}".default = true;
failure."${deps.crates_io."0.23.0".failure}".default = true;
@@ -4670,7 +4670,7 @@ rec {
(crates."smallvec"."${deps."crossbeam_channel"."0.3.8"."smallvec"}" deps)
]);
};
- features_.crossbeam_channel."0.3.8" = deps: f: updateFeatures f (rec {
+ features_.crossbeam_channel."0.3.8" = deps: f: updateFeatures f ({
crossbeam_channel."0.3.8".default = (f.crossbeam_channel."0.3.8".default or true);
crossbeam_utils."${deps.crossbeam_channel."0.3.8".crossbeam_utils}".default = true;
smallvec."${deps.crossbeam_channel."0.3.8".smallvec}".default = true;
@@ -4737,7 +4737,7 @@ rec {
(crates."winapi"."${deps."crypto_hash"."0.3.3"."winapi"}" deps)
]) else []);
};
- features_.crypto_hash."0.3.3" = deps: f: updateFeatures f (rec {
+ features_.crypto_hash."0.3.3" = deps: f: updateFeatures f ({
commoncrypto."${deps.crypto_hash."0.3.3".commoncrypto}".default = true;
crypto_hash."0.3.3".default = (f.crypto_hash."0.3.3".default or true);
hex."${deps.crypto_hash."0.3.3".hex}".default = true;
@@ -4929,7 +4929,7 @@ rec {
(crates."strsim"."${deps."docopt"."1.1.0"."strsim"}" deps)
]);
};
- features_.docopt."1.1.0" = deps: f: updateFeatures f (rec {
+ features_.docopt."1.1.0" = deps: f: updateFeatures f ({
docopt."1.1.0".default = (f.docopt."1.1.0".default or true);
lazy_static."${deps.docopt."1.1.0".lazy_static}".default = true;
regex."${deps.docopt."1.1.0".regex}".default = true;
@@ -4989,7 +4989,7 @@ rec {
(crates."libc"."${deps."filetime"."0.2.4"."libc"}" deps)
]) else []);
};
- features_.filetime."0.2.4" = deps: f: updateFeatures f (rec {
+ features_.filetime."0.2.4" = deps: f: updateFeatures f ({
cfg_if."${deps.filetime."0.2.4".cfg_if}".default = true;
filetime."0.2.4".default = (f.filetime."0.2.4".default or true);
libc."${deps.filetime."0.2.4".libc}".default = true;
@@ -5078,7 +5078,7 @@ rec {
sha256 = "128mlh23y3gg6ag5h8iiqlcbl59smisdzraqy88ldrf75kbw27ip";
libPath = "lib.rs";
};
- features_.fnv."1.0.6" = deps: f: updateFeatures f (rec {
+ features_.fnv."1.0.6" = deps: f: updateFeatures f ({
fnv."1.0.6".default = (f.fnv."1.0.6".default or true);
}) [];
@@ -5096,7 +5096,7 @@ rec {
(crates."foreign_types_shared"."${deps."foreign_types"."0.3.2"."foreign_types_shared"}" deps)
]);
};
- features_.foreign_types."0.3.2" = deps: f: updateFeatures f (rec {
+ features_.foreign_types."0.3.2" = deps: f: updateFeatures f ({
foreign_types."0.3.2".default = (f.foreign_types."0.3.2".default or true);
foreign_types_shared."${deps.foreign_types."0.3.2".foreign_types_shared}".default = true;
}) [
@@ -5114,7 +5114,7 @@ rec {
authors = [ "Steven Fackler " ];
sha256 = "0b6cnvqbflws8dxywk4589vgbz80049lz4x1g9dfy4s1ppd3g4z5";
};
- features_.foreign_types_shared."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.foreign_types_shared."0.1.1" = deps: f: updateFeatures f ({
foreign_types_shared."0.1.1".default = (f.foreign_types_shared."0.1.1".default or true);
}) [];
@@ -5135,7 +5135,7 @@ rec {
(crates."winapi"."${deps."fs2"."0.4.3"."winapi"}" deps)
]) else []);
};
- features_.fs2."0.4.3" = deps: f: updateFeatures f (rec {
+ features_.fs2."0.4.3" = deps: f: updateFeatures f ({
fs2."0.4.3".default = (f.fs2."0.4.3".default or true);
libc."${deps.fs2."0.4.3".libc}".default = true;
winapi = fold recursiveUpdate {} [
@@ -5167,7 +5167,7 @@ rec {
(crates."termcolor"."${deps."fwdansi"."1.0.1"."termcolor"}" deps)
]);
};
- features_.fwdansi."1.0.1" = deps: f: updateFeatures f (rec {
+ features_.fwdansi."1.0.1" = deps: f: updateFeatures f ({
fwdansi."1.0.1".default = (f.fwdansi."1.0.1".default or true);
memchr."${deps.fwdansi."1.0.1".memchr}".default = true;
termcolor."${deps.fwdansi."1.0.1".termcolor}".default = true;
@@ -5279,7 +5279,7 @@ rec {
(crates."url"."${deps."git2_curl"."0.9.0"."url"}" deps)
]);
};
- features_.git2_curl."0.9.0" = deps: f: updateFeatures f (rec {
+ features_.git2_curl."0.9.0" = deps: f: updateFeatures f ({
curl."${deps.git2_curl."0.9.0".curl}".default = true;
git2."${deps.git2_curl."0.9.0".git2}".default = (f.git2."${deps.git2_curl."0.9.0".git2}".default or false);
git2_curl."0.9.0".default = (f.git2_curl."0.9.0".default or true);
@@ -5303,7 +5303,7 @@ rec {
authors = [ "The Rust Project Developers" ];
sha256 = "104389jjxs8r2f5cc9p0axhjmndgln60ih5x4f00ccgg9d3zarlf";
};
- features_.glob."0.2.11" = deps: f: updateFeatures f (rec {
+ features_.glob."0.2.11" = deps: f: updateFeatures f ({
glob."0.2.11".default = (f.glob."0.2.11".default or true);
}) [];
@@ -5326,7 +5326,7 @@ rec {
]);
features = mkFeatures (features."globset"."0.4.3" or {});
};
- features_.globset."0.4.3" = deps: f: updateFeatures f (rec {
+ features_.globset."0.4.3" = deps: f: updateFeatures f ({
aho_corasick."${deps.globset."0.4.3".aho_corasick}".default = true;
bstr = fold recursiveUpdate {} [
{ "${deps.globset."0.4.3".bstr}"."std" = true; }
@@ -5360,7 +5360,7 @@ rec {
]);
features = mkFeatures (features."hashbrown"."0.1.8" or {});
};
- features_.hashbrown."0.1.8" = deps: f: updateFeatures f (rec {
+ features_.hashbrown."0.1.8" = deps: f: updateFeatures f ({
byteorder."${deps.hashbrown."0.1.8".byteorder}".default = (f.byteorder."${deps.hashbrown."0.1.8".byteorder}".default or false);
hashbrown."0.1.8".default = (f.hashbrown."0.1.8".default or true);
scopeguard."${deps.hashbrown."0.1.8".scopeguard}".default = (f.scopeguard."${deps.hashbrown."0.1.8".scopeguard}".default or false);
@@ -5381,7 +5381,7 @@ rec {
sha256 = "0hs0xfb4x67y4ss9mmbjmibkwakbn3xf23i21m409bw2zqk9b6kz";
features = mkFeatures (features."hex"."0.3.2" or {});
};
- features_.hex."0.3.2" = deps: f: updateFeatures f (rec {
+ features_.hex."0.3.2" = deps: f: updateFeatures f ({
hex."0.3.2".default = (f.hex."0.3.2".default or true);
}) [];
@@ -5400,7 +5400,7 @@ rec {
(crates."winapi"."${deps."home"."0.3.4"."winapi"}" deps)
]) else []);
};
- features_.home."0.3.4" = deps: f: updateFeatures f (rec {
+ features_.home."0.3.4" = deps: f: updateFeatures f ({
home."0.3.4".default = (f.home."0.3.4".default or true);
scopeguard."${deps.home."0.3.4".scopeguard}".default = true;
winapi = fold recursiveUpdate {} [
@@ -5434,7 +5434,7 @@ rec {
(crates."itoa"."${deps."http"."0.1.17"."itoa"}" deps)
]);
};
- features_.http."0.1.17" = deps: f: updateFeatures f (rec {
+ features_.http."0.1.17" = deps: f: updateFeatures f ({
bytes."${deps.http."0.1.17".bytes}".default = true;
fnv."${deps.http."0.1.17".fnv}".default = true;
http."0.1.17".default = (f.http."0.1.17".default or true);
@@ -5524,7 +5524,7 @@ rec {
(crates."rustc_version"."${deps."im_rc"."12.3.4"."rustc_version"}" deps)
]);
};
- features_.im_rc."12.3.4" = deps: f: updateFeatures f (rec {
+ features_.im_rc."12.3.4" = deps: f: updateFeatures f ({
im_rc."12.3.4".default = (f.im_rc."12.3.4".default or true);
rustc_version."${deps.im_rc."12.3.4".rustc_version}".default = true;
sized_chunks."${deps.im_rc."12.3.4".sized_chunks}".default = true;
@@ -5552,7 +5552,7 @@ rec {
(crates."winapi"."${deps."iovec"."0.1.2"."winapi"}" deps)
]) else []);
};
- features_.iovec."0.1.2" = deps: f: updateFeatures f (rec {
+ features_.iovec."0.1.2" = deps: f: updateFeatures f ({
iovec."0.1.2".default = (f.iovec."0.1.2".default or true);
libc."${deps.iovec."0.1.2".libc}".default = true;
winapi."${deps.iovec."0.1.2".winapi}".default = true;
@@ -5609,7 +5609,7 @@ rec {
(crates."rand"."${deps."jobserver"."0.1.13"."rand"}" deps)
]) else []);
};
- features_.jobserver."0.1.13" = deps: f: updateFeatures f (rec {
+ features_.jobserver."0.1.13" = deps: f: updateFeatures f ({
jobserver."0.1.13".default = (f.jobserver."0.1.13".default or true);
libc."${deps.jobserver."0.1.13".libc}".default = true;
log."${deps.jobserver."0.1.13".log}".default = true;
@@ -5640,7 +5640,7 @@ rec {
(crates."winapi_build"."${deps."kernel32_sys"."0.2.2"."winapi_build"}" deps)
]);
};
- features_.kernel32_sys."0.2.2" = deps: f: updateFeatures f (rec {
+ features_.kernel32_sys."0.2.2" = deps: f: updateFeatures f ({
kernel32_sys."0.2.2".default = (f.kernel32_sys."0.2.2".default or true);
winapi."${deps.kernel32_sys."0.2.2".winapi}".default = true;
winapi_build."${deps.kernel32_sys."0.2.2".winapi_build}".default = true;
@@ -5790,7 +5790,7 @@ rec {
(crates."cc"."${deps."libnghttp2_sys"."0.1.1"."cc"}" deps)
]);
};
- features_.libnghttp2_sys."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.libnghttp2_sys."0.1.1" = deps: f: updateFeatures f ({
cc."${deps.libnghttp2_sys."0.1.1".cc}".default = true;
libc."${deps.libnghttp2_sys."0.1.1".libc}".default = true;
libnghttp2_sys."0.1.1".default = (f.libnghttp2_sys."0.1.1".default or true);
@@ -5827,7 +5827,7 @@ rec {
(crates."pkg_config"."${deps."libssh2_sys"."0.2.11"."pkg_config"}" deps)
]);
};
- features_.libssh2_sys."0.2.11" = deps: f: updateFeatures f (rec {
+ features_.libssh2_sys."0.2.11" = deps: f: updateFeatures f ({
cc."${deps.libssh2_sys."0.2.11".cc}".default = true;
libc."${deps.libssh2_sys."0.2.11".libc}".default = true;
libssh2_sys."0.2.11".default = (f.libssh2_sys."0.2.11".default or true);
@@ -5865,7 +5865,7 @@ rec {
]);
features = mkFeatures (features."libz_sys"."1.0.25" or {});
};
- features_.libz_sys."1.0.25" = deps: f: updateFeatures f (rec {
+ features_.libz_sys."1.0.25" = deps: f: updateFeatures f ({
cc."${deps.libz_sys."1.0.25".cc}".default = true;
libc."${deps.libz_sys."1.0.25".libc}".default = true;
libz_sys."1.0.25".default = (f.libz_sys."1.0.25".default or true);
@@ -5891,7 +5891,7 @@ rec {
]);
features = mkFeatures (features."lock_api"."0.1.5" or {});
};
- features_.lock_api."0.1.5" = deps: f: updateFeatures f (rec {
+ features_.lock_api."0.1.5" = deps: f: updateFeatures f ({
lock_api."0.1.5".default = (f.lock_api."0.1.5".default or true);
scopeguard."${deps.lock_api."0.1.5".scopeguard}".default = (f.scopeguard."${deps.lock_api."0.1.5".scopeguard}".default or false);
}) [
@@ -5913,7 +5913,7 @@ rec {
(crates."rawpointer"."${deps."matrixmultiply"."0.1.15"."rawpointer"}" deps)
]);
};
- features_.matrixmultiply."0.1.15" = deps: f: updateFeatures f (rec {
+ features_.matrixmultiply."0.1.15" = deps: f: updateFeatures f ({
matrixmultiply."0.1.15".default = (f.matrixmultiply."0.1.15".default or true);
rawpointer."${deps.matrixmultiply."0.1.15".rawpointer}".default = true;
}) [
@@ -5941,7 +5941,7 @@ rec {
(crates."cc"."${deps."miniz_sys"."0.1.11"."cc"}" deps)
]);
};
- features_.miniz_sys."0.1.11" = deps: f: updateFeatures f (rec {
+ features_.miniz_sys."0.1.11" = deps: f: updateFeatures f ({
cc."${deps.miniz_sys."0.1.11".cc}".default = true;
libc."${deps.miniz_sys."0.1.11".libc}".default = true;
miniz_sys."0.1.11".default = (f.miniz_sys."0.1.11".default or true);
@@ -5964,7 +5964,7 @@ rec {
(crates."adler32"."${deps."miniz_oxide"."0.2.1"."adler32"}" deps)
]);
};
- features_.miniz_oxide."0.2.1" = deps: f: updateFeatures f (rec {
+ features_.miniz_oxide."0.2.1" = deps: f: updateFeatures f ({
adler32."${deps.miniz_oxide."0.2.1".adler32}".default = true;
miniz_oxide."0.2.1".default = (f.miniz_oxide."0.2.1".default or true);
}) [
@@ -6039,7 +6039,7 @@ rec {
(crates."winapi"."${deps."miow"."0.3.3"."winapi"}" deps)
]);
};
- features_.miow."0.3.3" = deps: f: updateFeatures f (rec {
+ features_.miow."0.3.3" = deps: f: updateFeatures f ({
miow."0.3.3".default = (f.miow."0.3.3".default or true);
socket2."${deps.miow."0.3.3".socket2}".default = true;
winapi = fold recursiveUpdate {} [
@@ -6200,7 +6200,7 @@ rec {
(crates."libc"."${deps."num_cpus"."1.10.0"."libc"}" deps)
]);
};
- features_.num_cpus."1.10.0" = deps: f: updateFeatures f (rec {
+ features_.num_cpus."1.10.0" = deps: f: updateFeatures f ({
libc."${deps.num_cpus."1.10.0".libc}".default = true;
num_cpus."1.10.0".default = (f.num_cpus."1.10.0".default or true);
}) [
@@ -6253,7 +6253,7 @@ rec {
(crates."winapi"."${deps."opener"."0.3.2"."winapi"}" deps)
]) else []);
};
- features_.opener."0.3.2" = deps: f: updateFeatures f (rec {
+ features_.opener."0.3.2" = deps: f: updateFeatures f ({
failure."${deps.opener."0.3.2".failure}".default = true;
failure_derive."${deps.opener."0.3.2".failure_derive}".default = true;
opener."0.3.2".default = (f.opener."0.3.2".default or true);
@@ -6321,7 +6321,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "1a89fznx26vvaxyrxdvgf6iwai5xvs6xjvpjin68fgvrslv6n15a";
};
- features_.openssl_probe."0.1.2" = deps: f: updateFeatures f (rec {
+ features_.openssl_probe."0.1.2" = deps: f: updateFeatures f ({
openssl_probe."0.1.2".default = (f.openssl_probe."0.1.2".default or true);
}) [];
@@ -6339,7 +6339,7 @@ rec {
(crates."cc"."${deps."openssl_src"."111.2.1+1.1.1b"."cc"}" deps)
]);
};
- features_.openssl_src."111.2.1+1.1.1b" = deps: f: updateFeatures f (rec {
+ features_.openssl_src."111.2.1+1.1.1b" = deps: f: updateFeatures f ({
cc."${deps.openssl_src."111.2.1+1.1.1b".cc}".default = true;
openssl_src."111.2.1+1.1.1b".default = (f.openssl_src."111.2.1+1.1.1b".default or true);
}) [
@@ -6518,7 +6518,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "0207fsarrm412j0dh87lfcas72n8mxar7q3mgflsbsrqnb140sv6";
};
- features_.pkg_config."0.3.14" = deps: f: updateFeatures f (rec {
+ features_.pkg_config."0.3.14" = deps: f: updateFeatures f ({
pkg_config."0.3.14".default = (f.pkg_config."0.3.14".default or true);
}) [];
@@ -6705,7 +6705,7 @@ rec {
(crates."autocfg"."${deps."rand_chacha"."0.1.1"."autocfg"}" deps)
]);
};
- features_.rand_chacha."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.rand_chacha."0.1.1" = deps: f: updateFeatures f ({
autocfg."${deps.rand_chacha."0.1.1".autocfg}".default = true;
rand_chacha."0.1.1".default = (f.rand_chacha."0.1.1".default or true);
rand_core."${deps.rand_chacha."0.1.1".rand_core}".default = (f.rand_core."${deps.rand_chacha."0.1.1".rand_core}".default or false);
@@ -6728,7 +6728,7 @@ rec {
(crates."rand_core"."${deps."rand_hc"."0.1.0"."rand_core"}" deps)
]);
};
- features_.rand_hc."0.1.0" = deps: f: updateFeatures f (rec {
+ features_.rand_hc."0.1.0" = deps: f: updateFeatures f ({
rand_core."${deps.rand_hc."0.1.0".rand_core}".default = (f.rand_core."${deps.rand_hc."0.1.0".rand_core}".default or false);
rand_hc."0.1.0".default = (f.rand_hc."0.1.0".default or true);
}) [
@@ -6896,7 +6896,7 @@ rec {
authors = [ "bluss" ];
sha256 = "0hblv2cv310ixf5f1jw4nk9w5pb95wh4dwqyjv07g2xrshbw6j04";
};
- features_.rawpointer."0.1.0" = deps: f: updateFeatures f (rec {
+ features_.rawpointer."0.1.0" = deps: f: updateFeatures f ({
rawpointer."0.1.0".default = (f.rawpointer."0.1.0".default or true);
}) [];
@@ -6912,7 +6912,7 @@ rec {
sha256 = "1ndcp7brnvii87ndcd34fk846498r07iznphkslcy0shic9cp4rr";
libName = "syscall";
};
- features_.redox_syscall."0.1.54" = deps: f: updateFeatures f (rec {
+ features_.redox_syscall."0.1.54" = deps: f: updateFeatures f ({
redox_syscall."0.1.54".default = (f.redox_syscall."0.1.54".default or true);
}) [];
@@ -6974,7 +6974,7 @@ rec {
(crates."ucd_util"."${deps."regex_syntax"."0.6.6"."ucd_util"}" deps)
]);
};
- features_.regex_syntax."0.6.6" = deps: f: updateFeatures f (rec {
+ features_.regex_syntax."0.6.6" = deps: f: updateFeatures f ({
regex_syntax."0.6.6".default = (f.regex_syntax."0.6.6".default or true);
ucd_util."${deps.regex_syntax."0.6.6".ucd_util}".default = true;
}) [
@@ -7020,7 +7020,7 @@ rec {
authors = [ "Alex Crichton " ];
sha256 = "0arpdp472j4lrwxbmf4z21d8kh95rbbphnzccf605pqq2rvczv3p";
};
- features_.rustc_workspace_hack."1.0.0" = deps: f: updateFeatures f (rec {
+ features_.rustc_workspace_hack."1.0.0" = deps: f: updateFeatures f ({
rustc_workspace_hack."1.0.0".default = (f.rustc_workspace_hack."1.0.0".default or true);
}) [];
@@ -7038,7 +7038,7 @@ rec {
(crates."semver"."${deps."rustc_version"."0.2.3"."semver"}" deps)
]);
};
- features_.rustc_version."0.2.3" = deps: f: updateFeatures f (rec {
+ features_.rustc_version."0.2.3" = deps: f: updateFeatures f ({
rustc_version."0.2.3".default = (f.rustc_version."0.2.3".default or true);
semver."${deps.rustc_version."0.2.3".semver}".default = true;
}) [
@@ -7063,7 +7063,7 @@ rec {
(crates."serde_json"."${deps."rustfix"."0.4.5"."serde_json"}" deps)
]);
};
- features_.rustfix."0.4.5" = deps: f: updateFeatures f (rec {
+ features_.rustfix."0.4.5" = deps: f: updateFeatures f ({
failure."${deps.rustfix."0.4.5".failure}".default = true;
log."${deps.rustfix."0.4.5".log}".default = true;
rustfix."0.4.5".default = (f.rustfix."0.4.5".default or true);
@@ -7092,7 +7092,7 @@ rec {
(crates."winapi_util"."${deps."same_file"."1.0.4"."winapi_util"}" deps)
]) else []);
};
- features_.same_file."1.0.4" = deps: f: updateFeatures f (rec {
+ features_.same_file."1.0.4" = deps: f: updateFeatures f ({
same_file."1.0.4".default = (f.same_file."1.0.4".default or true);
winapi_util."${deps.same_file."1.0.4".winapi_util}".default = true;
}) [
@@ -7114,7 +7114,7 @@ rec {
(crates."winapi"."${deps."schannel"."0.1.15"."winapi"}" deps)
]);
};
- features_.schannel."0.1.15" = deps: f: updateFeatures f (rec {
+ features_.schannel."0.1.15" = deps: f: updateFeatures f ({
lazy_static."${deps.schannel."0.1.15".lazy_static}".default = true;
schannel."0.1.15".default = (f.schannel."0.1.15".default or true);
winapi = fold recursiveUpdate {} [
@@ -7199,7 +7199,7 @@ rec {
authors = [ "Steve Klabnik " ];
sha256 = "1da66c8413yakx0y15k8c055yna5lyb6fr0fw9318kdwkrk5k12h";
};
- features_.semver_parser."0.7.0" = deps: f: updateFeatures f (rec {
+ features_.semver_parser."0.7.0" = deps: f: updateFeatures f ({
semver_parser."0.7.0".default = (f.semver_parser."0.7.0".default or true);
}) [];
@@ -7258,7 +7258,7 @@ rec {
]);
features = mkFeatures (features."serde_derive"."1.0.90" or {});
};
- features_.serde_derive."1.0.90" = deps: f: updateFeatures f (rec {
+ features_.serde_derive."1.0.90" = deps: f: updateFeatures f ({
proc_macro2."${deps.serde_derive."1.0.90".proc_macro2}".default = true;
quote."${deps.serde_derive."1.0.90".quote}".default = true;
serde_derive."1.0.90".default = (f.serde_derive."1.0.90".default or true);
@@ -7286,7 +7286,7 @@ rec {
(crates."serde"."${deps."serde_ignored"."0.0.4"."serde"}" deps)
]);
};
- features_.serde_ignored."0.0.4" = deps: f: updateFeatures f (rec {
+ features_.serde_ignored."0.0.4" = deps: f: updateFeatures f ({
serde."${deps.serde_ignored."0.0.4".serde}".default = true;
serde_ignored."0.0.4".default = (f.serde_ignored."0.0.4".default or true);
}) [
@@ -7304,7 +7304,7 @@ rec {
authors = [ "Steven Fackler " ];
sha256 = "02ik28la039b8anx0sx8mbdp2yx66m64mjrjyy6x0dgpbmfxmc24";
};
- features_.shell_escape."0.1.4" = deps: f: updateFeatures f (rec {
+ features_.shell_escape."0.1.4" = deps: f: updateFeatures f ({
shell_escape."0.1.4".default = (f.shell_escape."0.1.4".default or true);
}) [];
@@ -7323,7 +7323,7 @@ rec {
(crates."typenum"."${deps."sized_chunks"."0.1.3"."typenum"}" deps)
]);
};
- features_.sized_chunks."0.1.3" = deps: f: updateFeatures f (rec {
+ features_.sized_chunks."0.1.3" = deps: f: updateFeatures f ({
sized_chunks."0.1.3".default = (f.sized_chunks."0.1.3".default or true);
typenum."${deps.sized_chunks."0.1.3".typenum}".default = true;
}) [
@@ -7352,7 +7352,7 @@ rec {
]) else []);
features = mkFeatures (features."socket2"."0.3.8" or {});
};
- features_.socket2."0.3.8" = deps: f: updateFeatures f (rec {
+ features_.socket2."0.3.8" = deps: f: updateFeatures f ({
cfg_if."${deps.socket2."0.3.8".cfg_if}".default = true;
libc."${deps.socket2."0.3.8".libc}".default = true;
redox_syscall."${deps.socket2."0.3.8".redox_syscall}".default = true;
@@ -7383,7 +7383,7 @@ rec {
authors = [ "Danny Guo " ];
sha256 = "0d3jsdz22wgjyxdakqnvdgmwjdvkximz50d9zfk4qlalw635qcvy";
};
- features_.strsim."0.8.0" = deps: f: updateFeatures f (rec {
+ features_.strsim."0.8.0" = deps: f: updateFeatures f ({
strsim."0.8.0".default = (f.strsim."0.8.0".default or true);
}) [];
@@ -7402,7 +7402,7 @@ rec {
(crates."ndarray"."${deps."strsim"."0.9.1"."ndarray"}" deps)
]);
};
- features_.strsim."0.9.1" = deps: f: updateFeatures f (rec {
+ features_.strsim."0.9.1" = deps: f: updateFeatures f ({
hashbrown."${deps.strsim."0.9.1".hashbrown}".default = true;
ndarray."${deps.strsim."0.9.1".ndarray}".default = true;
strsim."0.9.1".default = (f.strsim."0.9.1".default or true);
@@ -7539,7 +7539,7 @@ rec {
(crates."winapi"."${deps."tempfile"."3.0.7"."winapi"}" deps)
]) else []);
};
- features_.tempfile."3.0.7" = deps: f: updateFeatures f (rec {
+ features_.tempfile."3.0.7" = deps: f: updateFeatures f ({
cfg_if."${deps.tempfile."3.0.7".cfg_if}".default = true;
libc."${deps.tempfile."3.0.7".libc}".default = true;
rand."${deps.tempfile."3.0.7".rand}".default = true;
@@ -7575,7 +7575,7 @@ rec {
(crates."unicode_width"."${deps."textwrap"."0.11.0"."unicode_width"}" deps)
]);
};
- features_.textwrap."0.11.0" = deps: f: updateFeatures f (rec {
+ features_.textwrap."0.11.0" = deps: f: updateFeatures f ({
textwrap."0.11.0".default = (f.textwrap."0.11.0".default or true);
unicode_width."${deps.textwrap."0.11.0".unicode_width}".default = true;
}) [
@@ -7595,7 +7595,7 @@ rec {
build = "build/main.rs";
features = mkFeatures (features."typenum"."1.10.0" or {});
};
- features_.typenum."1.10.0" = deps: f: updateFeatures f (rec {
+ features_.typenum."1.10.0" = deps: f: updateFeatures f ({
typenum."1.10.0".default = (f.typenum."1.10.0".default or true);
}) [];
@@ -7614,7 +7614,7 @@ rec {
(crates."url"."${deps."url_serde"."0.2.0"."url"}" deps)
]);
};
- features_.url_serde."0.2.0" = deps: f: updateFeatures f (rec {
+ features_.url_serde."0.2.0" = deps: f: updateFeatures f ({
serde."${deps.url_serde."0.2.0".serde}".default = true;
url."${deps.url_serde."0.2.0".url}".default = true;
url_serde."0.2.0".default = (f.url_serde."0.2.0".default or true);
@@ -7634,7 +7634,7 @@ rec {
authors = [ "Jim McGrath " ];
sha256 = "1ig6jqpzzl1z9vk4qywgpfr4hfbd8ny8frqsgm3r449wkc4n1i5x";
};
- features_.vcpkg."0.2.6" = deps: f: updateFeatures f (rec {
+ features_.vcpkg."0.2.6" = deps: f: updateFeatures f ({
vcpkg."0.2.6".default = (f.vcpkg."0.2.6".default or true);
}) [];
@@ -7656,7 +7656,7 @@ rec {
(crates."winapi_util"."${deps."walkdir"."2.2.7"."winapi_util"}" deps)
]) else []);
};
- features_.walkdir."2.2.7" = deps: f: updateFeatures f (rec {
+ features_.walkdir."2.2.7" = deps: f: updateFeatures f ({
same_file."${deps.walkdir."2.2.7".same_file}".default = true;
walkdir."2.2.7".default = (f.walkdir."2.2.7".default or true);
winapi = fold recursiveUpdate {} [
@@ -7682,7 +7682,7 @@ rec {
authors = [ "Peter Atashian " ];
sha256 = "0a45b58ywf12vb7gvj6h3j264nydynmzyqz8d8rqxsj6icqv82as";
};
- features_.winapi."0.2.8" = deps: f: updateFeatures f (rec {
+ features_.winapi."0.2.8" = deps: f: updateFeatures f ({
winapi."0.2.8".default = (f.winapi."0.2.8".default or true);
}) [];
@@ -7732,7 +7732,7 @@ rec {
sha256 = "1lxlpi87rkhxcwp2ykf1ldw3p108hwm24nywf3jfrvmff4rjhqga";
libName = "build";
};
- features_.winapi_build."0.1.1" = deps: f: updateFeatures f (rec {
+ features_.winapi_build."0.1.1" = deps: f: updateFeatures f ({
winapi_build."0.1.1".default = (f.winapi_build."0.1.1".default or true);
}) [];
@@ -7747,7 +7747,7 @@ rec {
authors = [ "Remi Rampin " ];
sha256 = "1z3mvjgw02mbqk98kizzibrca01d5wfkpazsrp3vkkv3i56pn6fb";
};
- features_.adler32."1.0.3" = deps: f: updateFeatures f (rec {
+ features_.adler32."1.0.3" = deps: f: updateFeatures f ({
adler32."1.0.3".default = (f.adler32."1.0.3".default or true);
}) [];
diff --git a/pkgs/build-support/rust/default-crate-overrides.nix b/pkgs/build-support/rust/default-crate-overrides.nix
index c0b1797f73f..b3ab9f5ba78 100644
--- a/pkgs/build-support/rust/default-crate-overrides.nix
+++ b/pkgs/build-support/rust/default-crate-overrides.nix
@@ -1,5 +1,5 @@
{ stdenv, pkgconfig, curl, darwin, libiconv, libgit2, libssh2,
- openssl, sqlite, zlib, dbus, dbus-glib, gdk_pixbuf, cairo, python3,
+ openssl, sqlite, zlib, dbus, dbus-glib, gdk-pixbuf, cairo, python3,
libsodium, postgresql, gmp, foundationdb, ... }:
let
@@ -62,7 +62,7 @@ in
};
gdk-pixbuf = attrs: {
- buildInputs = [ gdk_pixbuf ];
+ buildInputs = [ gdk-pixbuf ];
};
libgit2-sys = attrs: {
diff --git a/pkgs/build-support/rust/default.nix b/pkgs/build-support/rust/default.nix
index 2579c97b99e..ce1bf800276 100644
--- a/pkgs/build-support/rust/default.nix
+++ b/pkgs/build-support/rust/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, cacert, git, cargo, rustc, cargo-vendor, fetchcargo, python3, buildPackages }:
+{ stdenv, cacert, git, cargo, rustc, fetchcargo, buildPackages, windows }:
{ name ? "${args.pname}-${args.version}"
, cargoSha256 ? "unset"
@@ -14,6 +14,7 @@
, cargoDepsHook ? ""
, cargoBuildFlags ? []
, buildType ? "release"
+, meta ? {}
, cargoVendorDir ? null
, ... } @ args:
@@ -40,19 +41,26 @@ let
cargoDepsCopy="$sourceRoot/${cargoVendorDir}"
'';
+ hostConfig = stdenv.hostPlatform.config;
+
+ rustHostConfig = {
+ x86_64-pc-mingw32 = "x86_64-pc-windows-gnu";
+ }.${hostConfig} or hostConfig;
+
ccForBuild="${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}cc";
cxxForBuild="${buildPackages.stdenv.cc}/bin/${buildPackages.stdenv.cc.targetPrefix}c++";
ccForHost="${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc";
cxxForHost="${stdenv.cc}/bin/${stdenv.cc.targetPrefix}c++";
- releaseDir = "target/${stdenv.hostPlatform.config}/${buildType}";
+ releaseDir = "target/${rustHostConfig}/${buildType}";
+in
-in stdenv.mkDerivation (args // {
+stdenv.mkDerivation (args // {
inherit cargoDeps;
patchRegistryDeps = ./patch-registry-deps;
- nativeBuildInputs = [ cargo rustc git cacert ] ++ nativeBuildInputs;
- inherit buildInputs;
+ nativeBuildInputs = nativeBuildInputs ++ [ cacert git cargo rustc ];
+ buildInputs = buildInputs ++ stdenv.lib.optional stdenv.hostPlatform.isMinGW windows.pthreads;
patches = cargoPatches ++ patches;
@@ -72,23 +80,21 @@ in stdenv.mkDerivation (args // {
substitute $config .cargo/config \
--subst-var-by vendor "$(pwd)/$cargoDepsCopy"
- unset cargoDepsCopy
+ cat >> .cargo/config <<'EOF'
+ [target."${stdenv.buildPlatform.config}"]
+ "linker" = "${ccForBuild}"
+ ${stdenv.lib.optionalString (stdenv.buildPlatform.config != stdenv.hostPlatform.config) ''
+ [target."${rustHostConfig}"]
+ "linker" = "${ccForHost}"
+ ''}
+ EOF
+ unset cargoDepsCopy
export RUST_LOG=${logLevel}
'' + (args.postUnpack or "");
configurePhase = args.configurePhase or ''
runHook preConfigure
- mkdir -p .cargo
- cat >> .cargo/config <<'EOF'
- [target."${stdenv.buildPlatform.config}"]
- "linker" = "${ccForBuild}"
- ${stdenv.lib.optionalString (stdenv.buildPlatform.config != stdenv.hostPlatform.config) ''
- [target."${stdenv.hostPlatform.config}"]
- "linker" = "${ccForHost}"
- ''}
- EOF
- cat .cargo/config
runHook postConfigure
'';
@@ -103,8 +109,8 @@ in stdenv.mkDerivation (args // {
"CC_${stdenv.hostPlatform.config}"="${ccForHost}" \
"CXX_${stdenv.hostPlatform.config}"="${cxxForHost}" \
cargo build \
- --${buildType} \
- --target ${stdenv.hostPlatform.config} \
+ ${stdenv.lib.optionalString (buildType == "release") "--release"} \
+ --target ${rustHostConfig} \
--frozen ${concatStringsSep " " cargoBuildFlags}
)
@@ -147,4 +153,9 @@ in stdenv.mkDerivation (args // {
'';
passthru = { inherit cargoDeps; } // (args.passthru or {});
+
+ meta = {
+ # default to Rust's platforms
+ platforms = rustc.meta.platforms;
+ } // meta;
})
diff --git a/pkgs/build-support/rust/fetchcargo.nix b/pkgs/build-support/rust/fetchcargo.nix
index e8465ba6162..4e6058383d4 100644
--- a/pkgs/build-support/rust/fetchcargo.nix
+++ b/pkgs/build-support/rust/fetchcargo.nix
@@ -3,7 +3,7 @@ let cargo-vendor-normalise = stdenv.mkDerivation {
name = "cargo-vendor-normalise";
src = ./cargo-vendor-normalise.py;
nativeBuildInputs = [ python3.pkgs.wrapPython ];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = "install -D $src $out/bin/cargo-vendor-normalise";
pythonPath = [ python3.pkgs.toml ];
postFixup = "wrapPythonPrograms";
diff --git a/pkgs/build-support/setup-hooks/install-shell-files.sh b/pkgs/build-support/setup-hooks/install-shell-files.sh
new file mode 100644
index 00000000000..e0ea1f7f30a
--- /dev/null
+++ b/pkgs/build-support/setup-hooks/install-shell-files.sh
@@ -0,0 +1,165 @@
+#!/bin/bash
+# Setup hook for the `installShellFiles` package.
+#
+# Example usage in a derivation:
+#
+# { …, installShellFiles, … }:
+# stdenv.mkDerivation {
+# …
+# nativeBuildInputs = [ installShellFiles ];
+# postInstall = ''
+# installManPage share/doc/foobar.1
+# installShellCompletion share/completions/foobar.{bash,fish,zsh}
+# '';
+# …
+# }
+#
+# See comments on each function for more details.
+
+# installManPage [...]
+#
+# Each argument is checked for its man section suffix and installed into the appropriate
+# share/man/ directory. The function returns an error if any paths don't have the man section
+# suffix (with optional .gz compression).
+installManPage() {
+ local path
+ for path in "$@"; do
+ if (( "${NIX_DEBUG:-0}" >= 1 )); then
+ echo "installManPage: installing $path"
+ fi
+ if test -z "$path"; then
+ echo "installManPage: error: path cannot be empty" >&2
+ return 1
+ fi
+ local basename
+ basename=$(stripHash "$path") # use stripHash in case it's a nix store path
+ local trimmed=${basename%.gz} # don't get fooled by compressed manpages
+ local suffix=${trimmed##*.}
+ if test -z "$suffix" -o "$suffix" = "$trimmed"; then
+ echo "installManPage: error: path missing manpage section suffix: $path" >&2
+ return 1
+ fi
+ local outRoot
+ if test "$suffix" = 3; then
+ outRoot=${!outputDevman:?}
+ else
+ outRoot=${!outputMan:?}
+ fi
+ install -Dm644 -T "$path" "${outRoot}/share/man/man$suffix/$basename" || return
+ done
+}
+
+# installShellCompletion [--bash|--fish|--zsh] ([--name ] )...
+#
+# Each path is installed into the appropriate directory for shell completions for the given shell.
+# If one of `--bash`, `--fish`, or `--zsh` is given the path is assumed to belong to that shell.
+# Otherwise the file extension will be examined to pick a shell. If the shell is unknown a warning
+# will be logged and the command will return a non-zero status code after processing any remaining
+# paths. Any of the shell flags will affect all subsequent paths (unless another shell flag is
+# given).
+#
+# If the shell completion needs to be renamed before installing the optional `--name ` flag
+# may be given. Any name provided with this flag only applies to the next path.
+#
+# For zsh completions, if the `--name` flag is not given, the path will be automatically renamed
+# such that `foobar.zsh` becomes `_foobar`.
+#
+# This command accepts multiple shell flags in conjunction with multiple paths if you wish to
+# install them all in one command:
+#
+# installShellCompletion share/completions/foobar.{bash,fish} --zsh share/completions/_foobar
+#
+# However it may be easier to read if each shell is split into its own invocation, especially when
+# renaming is involved:
+#
+# installShellCompletion --bash --name foobar.bash share/completions.bash
+# installShellCompletion --fish --name foobar.fish share/completions.fish
+# installShellCompletion --zsh --name _foobar share/completions.zsh
+#
+# If any argument is `--` the remaining arguments will be treated as paths.
+installShellCompletion() {
+ local shell='' name='' retval=0 parseArgs=1 arg
+ while { arg=$1; shift; }; do
+ # Parse arguments
+ if (( parseArgs )); then
+ case "$arg" in
+ --bash|--fish|--zsh)
+ shell=${arg#--}
+ continue;;
+ --name)
+ name=$1
+ shift || {
+ echo 'installShellCompletion: error: --name flag expected an argument' >&2
+ return 1
+ }
+ continue;;
+ --name=*)
+ # treat `--name=foo` the same as `--name foo`
+ name=${arg#--name=}
+ continue;;
+ --?*)
+ echo "installShellCompletion: warning: unknown flag ${arg%%=*}" >&2
+ retval=2
+ continue;;
+ --)
+ # treat remaining args as paths
+ parseArgs=0
+ continue;;
+ esac
+ fi
+ if (( "${NIX_DEBUG:-0}" >= 1 )); then
+ echo "installShellCompletion: installing $arg${name:+ as $name}"
+ fi
+ # if we get here, this is a path
+ # Identify shell
+ local basename
+ basename=$(stripHash "$arg")
+ local curShell=$shell
+ if [[ -z "$curShell" ]]; then
+ # auto-detect the shell
+ case "$basename" in
+ ?*.bash) curShell=bash;;
+ ?*.fish) curShell=fish;;
+ ?*.zsh) curShell=zsh;;
+ *)
+ if [[ "$basename" = _* && "$basename" != *.* ]]; then
+ # probably zsh
+ echo "installShellCompletion: warning: assuming path \`$arg' is zsh; please specify with --zsh" >&2
+ curShell=zsh
+ else
+ echo "installShellCompletion: warning: unknown shell for path: $arg" >&2
+ retval=2
+ continue
+ fi;;
+ esac
+ fi
+ # Identify output path
+ local outName sharePath
+ outName=${name:-$basename}
+ case "$curShell" in
+ bash) sharePath=bash-completion/completions;;
+ fish) sharePath=fish/vendor_completions.d;;
+ zsh)
+ sharePath=zsh/site-functions
+ # only apply automatic renaming if we didn't have a manual rename
+ if test -z "$name"; then
+ # convert a name like `foo.zsh` into `_foo`
+ outName=${outName%.zsh}
+ outName=_${outName#_}
+ fi;;
+ *)
+ # Our list of shells is out of sync with the flags we accept or extensions we detect.
+ echo 'installShellCompletion: internal error' >&2
+ return 1;;
+ esac
+ # Install file
+ install -Dm644 -T "$arg" "${!outputBin:?}/share/$sharePath/$outName" || return
+ # Clear the name, it only applies to one path
+ name=
+ done
+ if [[ -n "$name" ]]; then
+ echo 'installShellCompletion: error: --name flag given with no path' >&2
+ return 1
+ fi
+ return $retval
+}
diff --git a/pkgs/build-support/setup-hooks/patch-shebangs.sh b/pkgs/build-support/setup-hooks/patch-shebangs.sh
index f4a865e9668..3e900d0704c 100644
--- a/pkgs/build-support/setup-hooks/patch-shebangs.sh
+++ b/pkgs/build-support/setup-hooks/patch-shebangs.sh
@@ -4,11 +4,14 @@
# /usr/bin/env gets special treatment so that ".../bin/env python" is
# rewritten to /nix/store//bin/python. Interpreters that are
# already in the store are left untouched.
+# A script file must be marked as executable, otherwise it will not be
+# considered.
fixupOutputHooks+=(patchShebangsAuto)
-# Run patch shebangs on a directory.
-# patchShebangs [--build | --host] directory
+# Run patch shebangs on a directory or file.
+# Can take multiple paths as arguments.
+# patchShebangs [--build | --host] PATH...
# Flags:
# --build : Lookup commands available at build-time
@@ -29,9 +32,7 @@ patchShebangs() {
shift
fi
- local dir="$1"
-
- header "patching script interpreter paths in $dir"
+ echo "patching script interpreter paths in $@"
local f
local oldPath
local newPath
@@ -40,7 +41,10 @@ patchShebangs() {
local oldInterpreterLine
local newInterpreterLine
- [ -e "$dir" ] || return 0
+ if [ $# -eq 0 ]; then
+ echo "No arguments supplied to patchShebangs" >0
+ return 0
+ fi
local f
while IFS= read -r -d $'\0' f; do
@@ -62,7 +66,7 @@ patchShebangs() {
# - options: something starting with a '-'
# - environment variables: foo=bar
if $(echo "$arg0" | grep -q -- "^-.*\|.*=.*"); then
- echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)"
+ echo "$f: unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)" >0
exit 1
fi
@@ -95,7 +99,7 @@ patchShebangs() {
rm "$timestamp"
fi
fi
- done < <(find "$dir" -type f -perm -0100 -print0)
+ done < <(find "$@" -type f -perm -0100 -print0)
stopNest
}
diff --git a/pkgs/build-support/setup-hooks/shorten-perl-shebang.sh b/pkgs/build-support/setup-hooks/shorten-perl-shebang.sh
new file mode 100644
index 00000000000..4bf7c0ff1af
--- /dev/null
+++ b/pkgs/build-support/setup-hooks/shorten-perl-shebang.sh
@@ -0,0 +1,88 @@
+# This setup hook modifies a Perl script so that any "-I" flags in its shebang
+# line are rewritten into a "use lib ..." statement on the next line. This gets
+# around a limitation in Darwin, which will not properly handle a script whose
+# shebang line exceeds 511 characters.
+#
+# Each occurrence of "-I /path/to/lib1" or "-I/path/to/lib2" is removed from
+# the shebang line, along with the single space that preceded it. These library
+# paths are placed into a new line of the form
+#
+# use lib "/path/to/lib1", "/path/to/lib2";
+#
+# immediately following the shebang line. If a library appeared in the original
+# list more than once, only its first occurrence will appear in the output
+# list. In other words, the libraries are deduplicated, but the ordering of the
+# first appearance of each one is preserved.
+#
+# Any flags other than "-I" in the shebang line are left as-is, and the
+# interpreter is also left alone (although the script will abort if the
+# interpreter does not seem to be either "perl" or else "env" with "perl" as
+# its argument). Each line after the shebang line is left unchanged. Each file
+# is modified in place.
+#
+# Usage:
+# shortenPerlShebang SCRIPT...
+
+shortenPerlShebang() {
+ while [ $# -gt 0 ]; do
+ _shortenPerlShebang "$1"
+ shift
+ done
+}
+
+_shortenPerlShebang() {
+ local program="$1"
+
+ echo "shortenPerlShebang: rewriting shebang line in $program"
+
+ if ! isScript "$program"; then
+ die "shortenPerlShebang: refusing to modify $program because it is not a script"
+ fi
+
+ local temp="$(mktemp)"
+
+ gawk '
+ (NR == 1) {
+ if (!($0 ~ /\/(perl|env +perl)\>/)) {
+ print "shortenPerlShebang: script does not seem to be a Perl script" > "/dev/stderr"
+ exit 1
+ }
+ idx = 0
+ while (match($0, / -I ?([^ ]+)/, pieces)) {
+ matches[idx] = pieces[1]
+ idx++
+ $0 = gensub(/ -I ?[^ ]+/, "", 1, $0)
+ }
+ print $0
+ if (idx > 0) {
+ prefix = "use lib "
+ for (idx in matches) {
+ path = matches[idx]
+ if (!(path in seen)) {
+ printf "%s\"%s\"", prefix, path
+ seen[path] = 1
+ prefix = ", "
+ }
+ }
+ print ";"
+ }
+ }
+ (NR > 1 ) {
+ print
+ }
+ ' "$program" > "$temp" || die
+ # Preserve the mode of the original file
+ cp --preserve=mode --attributes-only "$program" "$temp"
+ mv "$temp" "$program"
+
+ # Measure the new shebang line length and make sure it's okay. We subtract
+ # one to account for the trailing newline that "head" included in its
+ # output.
+ local new_length=$(( $(head -n 1 "$program" | wc -c) - 1 ))
+
+ # Darwin is okay when the shebang line contains 511 characters, but not
+ # when it contains 512 characters.
+ if [ $new_length -ge 512 ]; then
+ die "shortenPerlShebang: shebang line is $new_length characters--still too long for Darwin!"
+ fi
+}
diff --git a/pkgs/build-support/singularity-tools/default.nix b/pkgs/build-support/singularity-tools/default.nix
index 3fc10c8b0b4..c110d327d3a 100644
--- a/pkgs/build-support/singularity-tools/default.nix
+++ b/pkgs/build-support/singularity-tools/default.nix
@@ -37,8 +37,7 @@ rec {
contents ? [],
diskSize ? 1024,
runScript ? "#!${stdenv.shell}\nexec /bin/sh",
- runAsRoot ? null,
- extraSpace ? 0
+ runAsRoot ? null
}:
let layer = mkLayer {
inherit name;
diff --git a/pkgs/build-support/skaware/build-skaware-package.nix b/pkgs/build-support/skaware/build-skaware-package.nix
index e4712a5ef22..ce32279710e 100644
--- a/pkgs/build-support/skaware/build-skaware-package.nix
+++ b/pkgs/build-support/skaware/build-skaware-package.nix
@@ -1,4 +1,4 @@
-{ stdenv, callPackage, cleanPackaging, fetchurl, writeScript, file }:
+{ stdenv, cleanPackaging, fetchurl }:
let lib = stdenv.lib;
in {
# : string
diff --git a/pkgs/build-support/snap/default.nix b/pkgs/build-support/snap/default.nix
new file mode 100644
index 00000000000..ba527186891
--- /dev/null
+++ b/pkgs/build-support/snap/default.nix
@@ -0,0 +1,4 @@
+{ callPackage, hello }:
+{
+ makeSnap = callPackage ./make-snap.nix { };
+}
diff --git a/pkgs/build-support/snap/make-snap.nix b/pkgs/build-support/snap/make-snap.nix
new file mode 100644
index 00000000000..cef7500bcba
--- /dev/null
+++ b/pkgs/build-support/snap/make-snap.nix
@@ -0,0 +1,84 @@
+{
+ runCommand, squashfsTools, closureInfo, lib, jq, writeText
+}:
+
+{
+ # The meta parameter is the contents of the `snap.yaml`, NOT the
+ # `snapcraft.yaml`.
+ #
+ # - `snap.yaml` is what is inside of the final Snap,
+ # - `snapcraft.yaml` is used by `snapcraft` to build snaps
+ #
+ # Since we skip the `snapcraft` tool, we skip the `snapcraft.yaml`
+ # file. For more information:
+ #
+ # https://docs.snapcraft.io/snap-format
+ #
+ # Note: unsquashfs'ing an existing snap from the store can be helpful
+ # for determining what you you're missing.
+ #
+ meta
+}: let
+ snap_yaml = let
+ # Validate the snap's meta contains a name.
+ # Also: automatically set the `base` parameter and the layout for
+ # the `/nix` bind.
+ validate = { name, ... } @ args:
+ args // {
+ # Combine the provided arguments with the required options.
+
+ # base: built from https://github.com/NixOS/snapd-nix-base
+ # and published as The NixOS Foundation on the Snapcraft store.
+ base = "nix-base";
+ layout = (args.layout or {}) // {
+ # Bind mount the Snap's root nix directory to `/nix` in the
+ # execution environment's filesystem namespace.
+ "/nix".bind = "$SNAP/nix";
+ };
+ };
+ in writeText "snap.yaml"
+ (builtins.toJSON (validate meta));
+
+ # These are specifically required by snapd, so don't change them
+ # unless you've verified snapcraft / snapd can handle them. Best bet
+ # is to just mirror this list against how snapcraft creates images.
+ # from: https://github.com/snapcore/snapcraft/blob/b88e378148134383ffecf3658e3a940b67c9bcc9/snapcraft/internal/lifecycle/_packer.py#L96-L98
+ mksquashfs_args = [
+ "-noappend" "-comp" "xz" "-no-xattrs" "-no-fragments"
+
+ # Note: We want -all-root every time, since all the files are
+ # owned by root anyway. This is true for Nix, but not true for
+ # other builds.
+ # from: https://github.com/snapcore/snapcraft/blob/b88e378148134383ffecf3658e3a940b67c9bcc9/snapcraft/internal/lifecycle/_packer.py#L100
+ "-all-root"
+ ];
+
+in runCommand "squashfs.img" {
+ nativeBuildInputs = [ squashfsTools jq ];
+
+ closureInfo = closureInfo {
+ rootPaths = [ snap_yaml ];
+ };
+} ''
+ root=$PWD/root
+ mkdir $root
+
+ (
+ # Put the snap.yaml in to `/meta/snap.yaml`, setting the version
+ # to the hash part of the store path
+ mkdir $root/meta
+ version=$(echo $out | cut -d/ -f4 | cut -d- -f1)
+ cat ${snap_yaml} | jq ". + { version: \"$version\" }" \
+ > $root/meta/snap.yaml
+ )
+
+ (
+ # Copy the store closure in to the root
+ mkdir -p $root/nix/store
+ cat $closureInfo/store-paths | xargs -I{} cp -r {} $root/nix/store/
+ )
+
+ # Generate the squashfs image.
+ mksquashfs $root $out \
+ ${lib.concatStringsSep " " mksquashfs_args}
+''
diff --git a/pkgs/build-support/templaterpm/default.nix b/pkgs/build-support/templaterpm/default.nix
index aca4e340e26..30465c740e5 100644
--- a/pkgs/build-support/templaterpm/default.nix
+++ b/pkgs/build-support/templaterpm/default.nix
@@ -1,7 +1,7 @@
{stdenv, makeWrapper, python, toposort, rpm}:
-stdenv.mkDerivation rec {
- name = "nix-template-rpm-${version}";
+stdenv.mkDerivation {
+ pname = "nix-template-rpm";
version = "0.1";
buildInputs = [ makeWrapper python toposort rpm ];
diff --git a/pkgs/build-support/trivial-builders.nix b/pkgs/build-support/trivial-builders.nix
index f56ce7bb87d..55df09121b4 100644
--- a/pkgs/build-support/trivial-builders.nix
+++ b/pkgs/build-support/trivial-builders.nix
@@ -94,23 +94,32 @@ rec {
/*
* Writes a text file to nix store in a specific directory with no
- * optional parameters available. Name passed is the destination.
+ * optional parameters available.
*
* Example:
- * # Writes contents of file to /nix/store//
+ * # Writes contents of file to /nix/store//share/my-file
* writeTextDir "share/my-file"
* ''
* Contents of File
* '';
*
*/
- writeTextDir = name: text: writeTextFile {inherit name text; destination = "/${name}";};
+ writeTextDir = path: text: writeTextFile {
+ inherit text;
+ name = builtins.baseNameOf path;
+ destination = "/${path}";
+ };
/*
- * Writes a text file to /nix/store/ and marks the file as executable.
+ * Writes a text file to /nix/store/ and marks the file as
+ * executable.
+ *
+ * If passed as a build input, will be used as a setup hook. This makes setup
+ * hooks more efficient to create: you don't need a derivation that copies
+ * them to $out/nix-support/setup-hook, instead you can use the file as is.
*
* Example:
- * # Writes my-file to /nix/store//bin/my-file and makes executable
+ * # Writes my-file to /nix/store/ and makes executable
* writeScript "my-file"
* ''
* Contents of File
@@ -138,7 +147,7 @@ rec {
* Automatically includes interpreter above the contents passed.
*
* Example:
- * # Writes my-file to /nix/store//my-file and makes executable.
+ * # Writes my-file to /nix/store/ and makes executable.
* writeShellScript "my-file"
* ''
* Contents of File
@@ -372,4 +381,37 @@ rec {
# Copy a list of paths to the Nix store.
copyPathsToStore = builtins.map copyPathToStore;
+ /* Applies a list of patches to a source directory.
+ *
+ * Examples:
+ *
+ * # Patching nixpkgs:
+ * applyPatches {
+ * src = pkgs.path;
+ * patches = [
+ * (pkgs.fetchpatch {
+ * url = "https://github.com/NixOS/nixpkgs/commit/1f770d20550a413e508e081ddc08464e9d08ba3d.patch";
+ * sha256 = "1nlzx171y3r3jbk0qhvnl711kmdk57jlq4na8f8bs8wz2pbffymr";
+ * })
+ * ];
+ * }
+ */
+ applyPatches =
+ { src
+ , name ? (if builtins.typeOf src == "path"
+ then builtins.baseNameOf src
+ else
+ if builtins.isAttrs src && builtins.hasAttr "name" src
+ then src.name
+ else throw "applyPatches: please supply a `name` argument because a default name can only be computed when the `src` is a path or is an attribute set with a `name` attribute."
+ ) + "-patched"
+ , patches ? []
+ , postPatch ? ""
+ }: stdenvNoCC.mkDerivation {
+ inherit name src patches postPatch;
+ preferLocalBuild = true;
+ allowSubstitutes = false;
+ phases = "unpackPhase patchPhase installPhase";
+ installPhase = "cp -R ./ $out";
+ };
}
diff --git a/pkgs/build-support/upstream-updater/attrset-to-dir.nix b/pkgs/build-support/upstream-updater/attrset-to-dir.nix
index bdf44b7a5bf..24f7b735c2e 100644
--- a/pkgs/build-support/upstream-updater/attrset-to-dir.nix
+++ b/pkgs/build-support/upstream-updater/attrset-to-dir.nix
@@ -1,5 +1,5 @@
a :
-a.stdenv.mkDerivation rec {
+a.stdenv.mkDerivation {
buildCommand = ''
mkdir -p "$out/attributes"
diff --git a/pkgs/build-support/vm/default.nix b/pkgs/build-support/vm/default.nix
index 10367957915..335cab7c45e 100644
--- a/pkgs/build-support/vm/default.nix
+++ b/pkgs/build-support/vm/default.nix
@@ -741,7 +741,7 @@ rec {
# Note: no i386 release for Fedora >= 26
fedora26x86_64 =
let version = "26";
- in rec {
+ in {
name = "fedora-${version}-x86_64";
fullName = "Fedora ${version} (x86_64)";
packagesList = fetchurl rec {
@@ -756,7 +756,7 @@ rec {
fedora27x86_64 =
let version = "27";
- in rec {
+ in {
name = "fedora-${version}-x86_64";
fullName = "Fedora ${version} (x86_64)";
packagesList = fetchurl rec {
@@ -774,9 +774,7 @@ rec {
in rec {
name = "centos-${version}-i386";
fullName = "CentOS ${version} (i386)";
- # N.B. Switch to vault.centos.org when the next release comes out
- # urlPrefix = "http://vault.centos.org/${version}/os/i386";
- urlPrefix = "http://mirror.centos.org/centos-6/${version}/os/i386";
+ urlPrefix = "mirror://centos/${version}/os/i386";
packagesList = fetchurl rec {
url = "${urlPrefix}/repodata/${sha256}-primary.xml.gz";
sha256 = "b826a45082ef68340325c0855f3d2e5d5a4d0f77d28ba3b871791d6f14a97aeb";
@@ -790,9 +788,7 @@ rec {
in rec {
name = "centos-${version}-x86_64";
fullName = "CentOS ${version} (x86_64)";
- # N.B. Switch to vault.centos.org when the next release comes out
- # urlPrefix = "http://vault.centos.org/${version}/os/x86_64";
- urlPrefix = "http://mirror.centos.org/centos-6/${version}/os/x86_64";
+ urlPrefix = "mirror://centos/${version}/os/x86_64";
packagesList = fetchurl rec {
url = "${urlPrefix}/repodata/${sha256}-primary.xml.gz";
sha256 = "ed2b2d4ac98d774d4cd3e91467e1532f7e8b0275cfc91a0d214b532dcaf1e979";
@@ -807,9 +803,7 @@ rec {
in rec {
name = "centos-${version}-x86_64";
fullName = "CentOS ${version} (x86_64)";
- # N.B. Switch to vault.centos.org when the next release comes out
- # urlPrefix = "http://vault.centos.org/${version}/os/x86_64";
- urlPrefix = "http://mirror.centos.org/centos-7/${version}/os/x86_64";
+ urlPrefix = "mirror://centos/${version}/os/x86_64";
packagesList = fetchurl rec {
url = "${urlPrefix}/repodata/${sha256}-primary.xml.gz";
sha256 = "b686d3a0f337323e656d9387b9a76ce6808b26255fc3a138b1a87d3b1cb95ed5";
@@ -822,7 +816,7 @@ rec {
/* The set of supported Dpkg-based distributions. */
- debDistros = rec {
+ debDistros = {
# Interestingly, the SHA-256 hashes provided by Ubuntu in
# http://nl.archive.ubuntu.com/ubuntu/dists/{gutsy,hardy}/Release are
diff --git a/pkgs/build-support/vm/test.nix b/pkgs/build-support/vm/test.nix
index d0d85fce366..69850303267 100644
--- a/pkgs/build-support/vm/test.nix
+++ b/pkgs/build-support/vm/test.nix
@@ -1,7 +1,7 @@
with import ../../.. {};
with vmTools;
-rec {
+{
# Run the PatchELF derivation in a VM.
diff --git a/pkgs/build-support/vm/windows/default.nix b/pkgs/build-support/vm/windows/default.nix
index e5ff13f0da9..48ee2713d1f 100644
--- a/pkgs/build-support/vm/windows/default.nix
+++ b/pkgs/build-support/vm/windows/default.nix
@@ -25,7 +25,7 @@ in {
bootstrap = bootstrapper attrs.windowsImage;
in {
requiredSystemFeatures = [ "kvm" ];
- builder = "${pkgs.stdenv.shell}";
+ builder = pkgs.stdenv.shell;
args = ["-e" (bootstrap.resumeAndRun builder)];
windowsImage = bootstrap.suspendedVM;
origArgs = attrs.args;
diff --git a/pkgs/build-support/writers/default.nix b/pkgs/build-support/writers/default.nix
index ae7b42449fb..8dbe0dbdbd0 100644
--- a/pkgs/build-support/writers/default.nix
+++ b/pkgs/build-support/writers/default.nix
@@ -10,12 +10,12 @@ rec {
# makeScriptWriter { interpreter = "${pkgs.dash}/bin/dash"; } "hello" "echo hello world"
makeScriptWriter = { interpreter, check ? "" }: nameOrPath: content:
assert lib.or (types.path.check nameOrPath) (builtins.match "([0-9A-Za-z._])[0-9A-Za-z._-]*" nameOrPath != null);
- assert lib.or (types.path.check content) (types.string.check content);
+ assert lib.or (types.path.check content) (types.str.check content);
let
name = last (builtins.split "/" nameOrPath);
in
- pkgs.runCommand name (if (types.string.check content) then {
+ pkgs.runCommand name (if (types.str.check content) then {
inherit content interpreter;
passAsFile = [ "content" ];
} else {
@@ -42,11 +42,11 @@ rec {
# writeSimpleC = makeBinWriter { compileScript = name: "gcc -o $out $contentPath"; }
makeBinWriter = { compileScript }: nameOrPath: content:
assert lib.or (types.path.check nameOrPath) (builtins.match "([0-9A-Za-z._])[0-9A-Za-z._-]*" nameOrPath != null);
- assert lib.or (types.path.check content) (types.string.check content);
+ assert lib.or (types.path.check content) (types.str.check content);
let
name = last (builtins.split "/" nameOrPath);
in
- pkgs.runCommand name (if (types.string.check content) then {
+ pkgs.runCommand name (if (types.str.check content) then {
inherit content;
passAsFile = [ "content" ];
} else {
diff --git a/pkgs/build-support/writers/test.nix b/pkgs/build-support/writers/test.nix
index 80e9543f9c8..d7c347a559e 100644
--- a/pkgs/build-support/writers/test.nix
+++ b/pkgs/build-support/writers/test.nix
@@ -159,8 +159,8 @@ in runCommand "test-writers" {
meta.platforms = stdenv.lib.platforms.all;
} ''
${lib.concatMapStringsSep "\n" (test: writeTest "success" "${test}/bin/test_writers") (lib.attrValues bin)}
- ${lib.concatMapStringsSep "\n" (test: writeTest "success" "${test}") (lib.attrValues simple)}
- ${lib.concatMapStringsSep "\n" (test: writeTest "success" "${test}") (lib.attrValues path)}
+ ${lib.concatMapStringsSep "\n" (test: writeTest "success" test) (lib.attrValues simple)}
+ ${lib.concatMapStringsSep "\n" (test: writeTest "success" test) (lib.attrValues path)}
echo 'nix-writers successfully tested' >&2
touch $out
diff --git a/pkgs/common-updater/scripts.nix b/pkgs/common-updater/scripts.nix
index 8a122b74b23..1bec4a73996 100644
--- a/pkgs/common-updater/scripts.nix
+++ b/pkgs/common-updater/scripts.nix
@@ -5,7 +5,7 @@ stdenv.mkDerivation {
buildInputs = [ makeWrapper ];
- unpackPhase = "true";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
diff --git a/pkgs/common-updater/scripts/update-source-version b/pkgs/common-updater/scripts/update-source-version
index bc2c68feaea..591ffa6ca5b 100755
--- a/pkgs/common-updater/scripts/update-source-version
+++ b/pkgs/common-updater/scripts/update-source-version
@@ -86,14 +86,10 @@ if [ $(grep -c "$oldHash" "$nixFile") != 1 ]; then
die "Couldn't locate old source hash '$oldHash' (or it appeared more than once) in '$nixFile'!"
fi
-oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; builtins.elemAt $attr.src.drvAttrs.urls 0" | tr -d '"')
+oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; builtins.elemAt ($attr.src.drvAttrs.urls or [ $attr.src.url ]) 0" | tr -d '"')
if [ -z "$oldUrl" ]; then
- oldUrl=$(nix-instantiate $systemArg --eval -E "with import ./. {}; $attr.src.url" | tr -d '"')
-
- if [ -z "$oldUrl" ]; then
- die "Couldn't evaluate source url from '$attr.src'!"
- fi
+ die "Couldn't evaluate source url from '$attr.src'!"
fi
drvName=$(nix-instantiate $systemArg --eval -E "with import ./. {}; (builtins.parseDrvName $attr.name).name" | tr -d '"')
@@ -109,13 +105,13 @@ if [ "$oldVersion" = "$newVersion" ]; then
fi
# Escape regex metacharacter that are allowed in store path names
-oldVersion=$(echo "$oldVersion" | sed -re 's|[.+]|\\&|g')
-oldUrl=$(echo "$oldUrl" | sed -re 's|[${}.+]|\\&|g')
+oldVersionEscaped=$(echo "$oldVersion" | sed -re 's|[.+]|\\&|g')
+oldUrlEscaped=$(echo "$oldUrl" | sed -re 's|[${}.+]|\\&|g')
-if [ $(grep -c -E "^\s*(let\b)?\s*$versionKey\s*=\s*\"$oldVersion\"" "$nixFile") = 1 ]; then
- pattern="/\b$versionKey\b\s*=/ s|\"$oldVersion\"|\"$newVersion\"|"
-elif [ $(grep -c -E "^\s*(let\b)?\s*name\s*=\s*\"[^\"]+-$oldVersion\"" "$nixFile") = 1 ]; then
- pattern="/\bname\b\s*=/ s|-$oldVersion\"|-$newVersion\"|"
+if [ $(grep -c -E "^\s*(let\b)?\s*$versionKey\s*=\s*\"$oldVersionEscaped\"" "$nixFile") = 1 ]; then
+ pattern="/\b$versionKey\b\s*=/ s|\"$oldVersionEscaped\"|\"$newVersion\"|"
+elif [ $(grep -c -E "^\s*(let\b)?\s*name\s*=\s*\"[^\"]+-$oldVersionEscaped\"" "$nixFile") = 1 ]; then
+ pattern="/\bname\b\s*=/ s|-$oldVersionEscaped\"|-$newVersion\"|"
else
die "Couldn't figure out where out where to patch in new version in '$attr'!"
fi
@@ -128,7 +124,7 @@ fi
# Replace new URL
if [ -n "$newUrl" ]; then
- sed -i "$nixFile" -re "s|\"$oldUrl\"|\"$newUrl\"|"
+ sed -i "$nixFile" -re "s|\"$oldUrlEscaped\"|\"$newUrl\"|"
if cmp -s "$nixFile" "$nixFile.bak"; then
die "Failed to replace source URL '$oldUrl' to '$newUrl' in '$attr'!"
diff --git a/pkgs/data/documentation/bgnet/default.nix b/pkgs/data/documentation/bgnet/default.nix
index 51ebe704bea..7297d18df27 100644
--- a/pkgs/data/documentation/bgnet/default.nix
+++ b/pkgs/data/documentation/bgnet/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchurl, python, zip, fop }:
-stdenv.mkDerivation rec {
- name = "bgnet-${version}";
+stdenv.mkDerivation {
+ pname = "bgnet";
version = "3.0.21";
src = fetchurl {
diff --git a/pkgs/data/documentation/gnome-user-docs/default.nix b/pkgs/data/documentation/gnome-user-docs/default.nix
index 9e6639c0a0a..4bdfa70c63f 100644
--- a/pkgs/data/documentation/gnome-user-docs/default.nix
+++ b/pkgs/data/documentation/gnome-user-docs/default.nix
@@ -1,12 +1,27 @@
-{ stdenv, fetchurl, itstool, libxml2, gettext }:
+{ stdenv, fetchurl, itstool, libxml2, gettext, gnome3 }:
-stdenv.mkDerivation {
- name = "gnome-user-docs-3.2.2";
+stdenv.mkDerivation rec {
+ pname = "gnome-user-docs";
+ version = "3.2.2";
src = fetchurl {
- url = mirror://gnome/sources/gnome-user-docs/3.2/gnome-user-docs-3.2.2.tar.xz;
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1ka0nw2kc85p10y8x31v0wv06a88k7qrgafp4ys04y9fzz0rkcjj";
};
nativeBuildInputs = [ itstool libxml2 gettext ];
+
+ passthru = {
+ updateScript = gnome3.updateScript {
+ packageName = pname;
+ attrPath = "gnome3.gnome-user-docs";
+ };
+ };
+
+ meta = {
+ homepage = "https://gitlab.gnome.org/GNOME/gnome-user-docs";
+ description = "GNOME User Documentation";
+ license = stdenv.lib.licenses.cc-by-30;
+ maintainers = gnome3.maintainers;
+ };
}
diff --git a/pkgs/data/documentation/man-pages/default.nix b/pkgs/data/documentation/man-pages/default.nix
index 04130f25f30..8b0696408e6 100644
--- a/pkgs/data/documentation/man-pages/default.nix
+++ b/pkgs/data/documentation/man-pages/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "man-pages-${version}";
- version = "5.01";
+ pname = "man-pages";
+ version = "5.02";
src = fetchurl {
- url = "mirror://kernel/linux/docs/man-pages/${name}.tar.xz";
- sha256 = "09xn8d8xxwgms6h1bvjlgn3mxz51vxf3ra0ry9f5dqi29qry3z3x";
+ url = "mirror://kernel/linux/docs/man-pages/${pname}-${version}.tar.xz";
+ sha256 = "1s4pdz2pwf0kvhdwx2s6lqn3xxzi38yz5jfyq5ymdmswc9gaiyn2";
};
makeFlags = [ "MANDIR=$(out)/share/man" ];
diff --git a/pkgs/data/documentation/mustache-spec/default.nix b/pkgs/data/documentation/mustache-spec/default.nix
index 08690b7cecf..b2a6eaa1535 100644
--- a/pkgs/data/documentation/mustache-spec/default.nix
+++ b/pkgs/data/documentation/mustache-spec/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "mustache-spec-${version}";
+ pname = "mustache-spec";
version = "1.0.2";
src = fetchFromGitHub {
diff --git a/pkgs/data/documentation/std-man-pages/default.nix b/pkgs/data/documentation/std-man-pages/default.nix
index d90fa99dd70..b3b2b956de8 100644
--- a/pkgs/data/documentation/std-man-pages/default.nix
+++ b/pkgs/data/documentation/std-man-pages/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "std-man-pages-4.4.0";
src = fetchurl {
diff --git a/pkgs/data/documentation/stdman/default.nix b/pkgs/data/documentation/stdman/default.nix
index 25df45258a6..66f1a5033eb 100644
--- a/pkgs/data/documentation/stdman/default.nix
+++ b/pkgs/data/documentation/stdman/default.nix
@@ -1,13 +1,13 @@
{ stdenv, curl, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "stdman-${version}";
+ pname = "stdman";
version = "2018.03.11";
src = fetchFromGitHub {
owner = "jeaye";
repo = "stdman";
- rev = "${version}";
+ rev = version;
sha256 = "1017vwhcwlwi5sa8h6pkhj048in826wxnhl6qarykmzksvidff3r";
};
diff --git a/pkgs/data/documentation/zeal/default.nix b/pkgs/data/documentation/zeal/default.nix
index 63fe26f069c..2566b162d65 100644
--- a/pkgs/data/documentation/zeal/default.nix
+++ b/pkgs/data/documentation/zeal/default.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchFromGitHub, cmake, extra-cmake-modules, pkgconfig
-, qtbase, qtimageformats, qtwebkit, qtx11extras
+, qtbase, qtimageformats, qtwebkit, qtx11extras, mkDerivation
, libarchive, libXdmcp, libpthreadstubs, xcbutilkeysyms }:
-stdenv.mkDerivation rec {
- name = "zeal-${version}";
+mkDerivation rec {
+ pname = "zeal";
version = "0.6.1";
src = fetchFromGitHub {
diff --git a/pkgs/data/fonts/agave/default.nix b/pkgs/data/fonts/agave/default.nix
index b9417256867..1fffbd9dcb1 100644
--- a/pkgs/data/fonts/agave/default.nix
+++ b/pkgs/data/fonts/agave/default.nix
@@ -2,18 +2,18 @@
let
pname = "agave";
- version = "009";
+ version = "14";
in fetchurl {
name = "${pname}-${version}";
- url = "https://github.com/agarick/agave/releases/download/v${version}/agave-r.ttf";
+ url = "https://github.com/agarick/agave/releases/download/v${version}/Agave-Regular.ttf";
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
- install -D $downloadedFile $out/share/fonts/truetype/agave-r.ttf
+ install -D $downloadedFile $out/share/fonts/truetype/Agave-Regular.ttf
'';
- sha256 = "16qvz3zpwiq2nw0gxygva5pssswcia5xp0q6ir5jfkackvqf3fql";
+ sha256 = "14hr6cdn5xbfpszj4qyfqbwmjyrkmi83yl0g9j3y3jw561jwy27j";
meta = with lib; {
description = "truetype monospaced typeface designed for X environments";
diff --git a/pkgs/data/fonts/aileron/default.nix b/pkgs/data/fonts/aileron/default.nix
index ee85ee59882..4961a5e7449 100644
--- a/pkgs/data/fonts/aileron/default.nix
+++ b/pkgs/data/fonts/aileron/default.nix
@@ -6,7 +6,7 @@ let
pname = "aileron";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}.zip";
diff --git a/pkgs/data/fonts/amiri/default.nix b/pkgs/data/fonts/amiri/default.nix
new file mode 100644
index 00000000000..36d8ed3c674
--- /dev/null
+++ b/pkgs/data/fonts/amiri/default.nix
@@ -0,0 +1,27 @@
+{ lib, fetchzip }:
+
+let
+ version = "0.111";
+
+in fetchzip rec {
+ name = "Amiri-${version}";
+
+ url = "https://github.com/alif-type/amiri/releases/download/${version}/${name}.zip";
+
+ sha256 = "1w3a5na4mazspwy8j2hvpjha10sgd287kamm51p49jcr90cvwbdr";
+
+ postFetch = ''
+ unzip $downloadedFile
+ install -m444 -Dt $out/share/fonts/truetype ${name}/*.ttf
+ install -m444 -Dt $out/share/doc/${name} ${name}/{*.txt,*.pdf}
+ '';
+
+ meta = with lib; {
+ description = "A classical Arabic typeface in Naskh style";
+ homepage = "https://www.amirifont.org/";
+ license = licenses.ofl;
+ maintainers = [ maintainers.vbgl ];
+ platforms = platforms.all;
+ };
+}
+
diff --git a/pkgs/data/fonts/ankacoder/condensed.nix b/pkgs/data/fonts/ankacoder/condensed.nix
index 53f4d94b38f..0b6340d1ba9 100644
--- a/pkgs/data/fonts/ankacoder/condensed.nix
+++ b/pkgs/data/fonts/ankacoder/condensed.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let version = "1.100"; in
-fetchzip rec {
+fetchzip {
name = "ankacoder-condensed-${version}";
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoderCondensed.${version}.zip";
diff --git a/pkgs/data/fonts/ankacoder/default.nix b/pkgs/data/fonts/ankacoder/default.nix
index 52e2d4a4233..3a57d08dbc2 100644
--- a/pkgs/data/fonts/ankacoder/default.nix
+++ b/pkgs/data/fonts/ankacoder/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let version = "1.100"; in
-fetchzip rec {
+fetchzip {
name = "ankacoder-${version}";
url = "https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/anka-coder-fonts/AnkaCoder.${version}.zip";
diff --git a/pkgs/data/fonts/arkpandora/default.nix b/pkgs/data/fonts/arkpandora/default.nix
index 26c4530ac0e..827d7b0a5a4 100644
--- a/pkgs/data/fonts/arkpandora/default.nix
+++ b/pkgs/data/fonts/arkpandora/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchurl }:
+{ fetchurl }:
let
version = "2.04";
diff --git a/pkgs/data/fonts/baekmuk-ttf/default.nix b/pkgs/data/fonts/baekmuk-ttf/default.nix
index b11a0a4f0f0..583a7457e2d 100644
--- a/pkgs/data/fonts/baekmuk-ttf/default.nix
+++ b/pkgs/data/fonts/baekmuk-ttf/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchzip }:
+{ fetchzip }:
fetchzip rec {
name = "baekmuk-ttf-2.2";
diff --git a/pkgs/data/fonts/bakoma-ttf/default.nix b/pkgs/data/fonts/bakoma-ttf/default.nix
index 53ebba41fd5..70074a58d96 100644
--- a/pkgs/data/fonts/bakoma-ttf/default.nix
+++ b/pkgs/data/fonts/bakoma-ttf/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchzip }:
+{ fetchzip }:
fetchzip {
name = "bakoma-ttf";
diff --git a/pkgs/data/fonts/behdad-fonts/default.nix b/pkgs/data/fonts/behdad-fonts/default.nix
index 8b4228ec423..a0fcd5f7bbf 100644
--- a/pkgs/data/fonts/behdad-fonts/default.nix
+++ b/pkgs/data/fonts/behdad-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "behdad-fonts";
version = "0.0.3";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "font-store";
repo = "BehdadFont";
diff --git a/pkgs/data/fonts/caladea/default.nix b/pkgs/data/fonts/caladea/default.nix
index 29bd001f808..b1f9312a7e9 100644
--- a/pkgs/data/fonts/caladea/default.nix
+++ b/pkgs/data/fonts/caladea/default.nix
@@ -2,7 +2,7 @@
let
version = "20130214";
-in fetchzip rec {
+in fetchzip {
name = "caladea-${version}";
url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-${version}.tar.gz";
diff --git a/pkgs/data/fonts/carlito/default.nix b/pkgs/data/fonts/carlito/default.nix
index 3c0e314579d..79913bb8398 100644
--- a/pkgs/data/fonts/carlito/default.nix
+++ b/pkgs/data/fonts/carlito/default.nix
@@ -2,7 +2,7 @@
let
version = "20130920";
-in fetchzip rec {
+in fetchzip {
name = "carlito-${version}";
url = "https://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/crosextrafonts-carlito-${version}.tar.gz";
diff --git a/pkgs/data/fonts/d2coding/default.nix b/pkgs/data/fonts/d2coding/default.nix
index 00823fe05b2..b73da9a504b 100644
--- a/pkgs/data/fonts/d2coding/default.nix
+++ b/pkgs/data/fonts/d2coding/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchzip, unzip }:
+{ lib, fetchzip }:
let
version = "1.3.2";
diff --git a/pkgs/data/fonts/dejavu-fonts/default.nix b/pkgs/data/fonts/dejavu-fonts/default.nix
index fa877ea6ed5..38a2d8fe56c 100644
--- a/pkgs/data/fonts/dejavu-fonts/default.nix
+++ b/pkgs/data/fonts/dejavu-fonts/default.nix
@@ -24,7 +24,8 @@ let
};
full-ttf = stdenv.mkDerivation {
- name = "dejavu-fonts-full-${version}";
+ pname = "dejavu-fonts-full";
+ inherit version;
nativeBuildInputs = [fontforge perl perlPackages.IOString perlPackages.FontTTF];
src = fetchFromGitHub {
@@ -38,38 +39,27 @@ let
preBuild = "patchShebangs scripts";
- installPhase = ''
- mkdir -p $out/share/fonts/truetype
- cp build/*.ttf $out/share/fonts/truetype/
- '';
+ installPhase = "install -m444 -Dt $out/share/fonts/truetype build/*.ttf";
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "1cxprzsr826d888ha4zxx28i9jfj1k74q9kfv3v2rf603460iha9";
inherit meta;
};
minimal = stdenv.mkDerivation {
- name = "dejavu-fonts-minimal-${version}";
+ pname = "dejavu-fonts-minimal";
+ inherit version;
buildCommand = ''
- install -D ${full-ttf}/share/fonts/truetype/DejaVuSans.ttf $out/share/fonts/truetype/DejaVuSans.ttf
+ install -m444 -Dt $out/share/fonts/truetype ${full-ttf}/share/fonts/truetype/DejaVuSans.ttf
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "0ybsynp9904vmd3qv5b438swhx43m5q6gfih3i32iw33rks8nkpj";
inherit meta;
};
in stdenv.mkDerivation {
- name = "dejavu-fonts-${version}";
+ pname = "dejavu-fonts";
+ inherit version;
buildCommand = ''
- mkdir -p $out/share/fonts/truetype
- cp ${full-ttf}/share/fonts/truetype/*.ttf $out/share/fonts/truetype/
+ install -m444 -Dt $out/share/fonts/truetype ${full-ttf}/share/fonts/truetype/*.ttf
ln -s --relative --force --target-directory=$out/share/fonts/truetype ${minimal}/share/fonts/truetype/DejaVuSans.ttf
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "15l93xm9mg2ziaxv4nqy2a4jaz54d05xf0hfz1h84bclzb882llh";
inherit meta;
- passthru.minimal = minimal;
+ passthru = { inherit minimal full-ttf; };
}
diff --git a/pkgs/data/fonts/dina-pcf/default.nix b/pkgs/data/fonts/dina-pcf/default.nix
index 27306a0ef05..eff0c579a70 100644
--- a/pkgs/data/fonts/dina-pcf/default.nix
+++ b/pkgs/data/fonts/dina-pcf/default.nix
@@ -1,8 +1,8 @@
{stdenv, fetchurl, unzip, bdftopcf, mkfontdir, mkfontscale}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "2.92";
- name = "dina-font-pcf-${version}";
+ pname = "dina-font-pcf";
src = fetchurl {
url = "http://www.donationcoder.com/Software/Jibz/Dina/downloads/Dina.zip";
diff --git a/pkgs/data/fonts/dina/default.nix b/pkgs/data/fonts/dina/default.nix
index 8638ec74f77..0d4cd286219 100644
--- a/pkgs/data/fonts/dina/default.nix
+++ b/pkgs/data/fonts/dina/default.nix
@@ -2,7 +2,7 @@
let
version = "2.92";
-in fetchzip rec {
+in fetchzip {
name = "dina-font-${version}";
# `meta.homepage` has no direct download link
diff --git a/pkgs/data/fonts/dosemu-fonts/default.nix b/pkgs/data/fonts/dosemu-fonts/default.nix
index 4837425d19a..81a1b5649b3 100644
--- a/pkgs/data/fonts/dosemu-fonts/default.nix
+++ b/pkgs/data/fonts/dosemu-fonts/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, bdftopcf, mkfontdir, mkfontscale }:
stdenv.mkDerivation rec {
- name = "dosemu-fonts-${version}";
+ pname = "dosemu-fonts";
version = "1.4.0";
src = fetchurl {
diff --git a/pkgs/data/fonts/emojione/default.nix b/pkgs/data/fonts/emojione/default.nix
index 3e71352f802..171ec10c8f1 100644
--- a/pkgs/data/fonts/emojione/default.nix
+++ b/pkgs/data/fonts/emojione/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, inkscape, imagemagick, potrace, svgo, scfbuild }:
stdenv.mkDerivation rec {
- name = "emojione-${version}";
+ pname = "emojione";
version = "1.4";
src = fetchFromGitHub {
diff --git a/pkgs/data/fonts/envypn-font/default.nix b/pkgs/data/fonts/envypn-font/default.nix
index 0e31231d05f..351a0617ddc 100644
--- a/pkgs/data/fonts/envypn-font/default.nix
+++ b/pkgs/data/fonts/envypn-font/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, mkfontdir, mkfontscale }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "envypn-font-1.7.1";
src = fetchurl {
diff --git a/pkgs/data/fonts/eunomia/default.nix b/pkgs/data/fonts/eunomia/default.nix
index 55250156fcd..de68b17d6eb 100644
--- a/pkgs/data/fonts/eunomia/default.nix
+++ b/pkgs/data/fonts/eunomia/default.nix
@@ -6,7 +6,7 @@ let
pname = "eunomia";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip";
diff --git a/pkgs/data/fonts/f5_6/default.nix b/pkgs/data/fonts/f5_6/default.nix
index 28969f02364..175648198ce 100644
--- a/pkgs/data/fonts/f5_6/default.nix
+++ b/pkgs/data/fonts/f5_6/default.nix
@@ -6,7 +6,7 @@ let
pname = "f5_6";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip";
diff --git a/pkgs/data/fonts/ferrum/default.nix b/pkgs/data/fonts/ferrum/default.nix
index ec3f3218ea5..fe40252ab23 100644
--- a/pkgs/data/fonts/ferrum/default.nix
+++ b/pkgs/data/fonts/ferrum/default.nix
@@ -6,7 +6,7 @@ let
pname = "ferrum";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}.zip";
diff --git a/pkgs/data/fonts/fira-code/default.nix b/pkgs/data/fonts/fira-code/default.nix
index b0b58b0ebfc..46149b0781b 100644
--- a/pkgs/data/fonts/fira-code/default.nix
+++ b/pkgs/data/fonts/fira-code/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchzip }:
let
- version = "1.206";
+ version = "2";
in fetchzip {
name = "fira-code-${version}";
@@ -10,9 +10,10 @@ in fetchzip {
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
'';
- sha256 = "0074d8q4m802f5yms8yxdx4rdz5xnpgv1w5hs330zg2p9ksicgzy";
+ sha256 = "0kg9lrrjr6wrd4r96y0rnslnaw2276558a369qdvalwb3q1gi8d2";
meta = with stdenv.lib; {
homepage = https://github.com/tonsky/FiraCode;
diff --git a/pkgs/data/fonts/font-awesome-5/default.nix b/pkgs/data/fonts/font-awesome-5/default.nix
index 8ed30632c0a..bcf02f1328e 100644
--- a/pkgs/data/fonts/font-awesome-5/default.nix
+++ b/pkgs/data/fonts/font-awesome-5/default.nix
@@ -1,30 +1,45 @@
{ lib, fetchFromGitHub }:
-
let
- version = "5.8.2";
-in fetchFromGitHub rec {
- name = "font-awesome-${version}";
+ font-awesome = { version, sha256, rev ? version}: fetchFromGitHub {
+ name = "font-awesome-${version}";
- owner = "FortAwesome";
- repo = "Font-Awesome";
- rev = version;
- postFetch = ''
- tar xf $downloadedFile --strip=1
- install -m444 -Dt $out/share/fonts/opentype otfs/*.otf
- '';
+ owner = "FortAwesome";
+ repo = "Font-Awesome";
+ inherit rev;
- sha256 = "1h0qhvkfyfs4579jvrk3gwc7dp4i9s46bkj406b493dvmxxhv986";
-
- meta = with lib; {
- description = "Font Awesome - OTF font";
- longDescription = ''
- Font Awesome gives you scalable vector icons that can instantly be customized.
- This package includes only the OTF font. For full CSS etc. see the project website.
+ postFetch = ''
+ tar xf $downloadedFile --strip=1
+ install -m444 -Dt $out/share/fonts/opentype {fonts,otfs}/*.otf
'';
- homepage = http://fortawesome.github.io/Font-Awesome/;
- license = licenses.ofl;
- platforms = platforms.all;
- maintainers = with maintainers; [ abaldeau ];
+
+ inherit sha256;
+
+ meta = with lib; {
+ description = "Font Awesome - OTF font";
+ longDescription = ''
+ Font Awesome gives you scalable vector icons that can instantly be customized.
+ This package includes only the OTF font. For full CSS etc. see the project website.
+ '';
+ homepage = "http://fortawesome.github.io/Font-Awesome/";
+ license = licenses.ofl;
+ platforms = platforms.all;
+ maintainers = with maintainers; [ abaldeau johnazoidberg ];
+ };
+ };
+in {
+ # Keeping version 4 because version 5 is incompatible for some icons. That
+ # means that projects which depend on it need to actively convert the
+ # symbols. See:
+ # https://github.com/greshake/i3status-rust/issues/130
+ # https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4
+ v4 = font-awesome {
+ version = "4.7.0";
+ rev = "v4.7.0";
+ sha256 = "1j8i32dq6rrlv3kf2hnq81iqks06kczaxjks7nw3zyq1231winm9";
+ };
+ v5 = font-awesome {
+ version = "5.10.2";
+ sha256 = "0bg28zn2lhrcyj7mbavphkvw3hrbnjsnn84305ax93nj3qd0d4hx";
};
}
diff --git a/pkgs/data/fonts/gelasio/default.nix b/pkgs/data/fonts/gelasio/default.nix
new file mode 100644
index 00000000000..c8cf655a18c
--- /dev/null
+++ b/pkgs/data/fonts/gelasio/default.nix
@@ -0,0 +1,31 @@
+{ lib, fetchFromGitHub }:
+
+let
+ version = "unstable-2018-08-12";
+in fetchFromGitHub {
+ name = "gelasio-${version}";
+ owner = "SorkinType";
+ repo = "Gelasio";
+ rev = "5bced461d54bcf8e900bb3ba69455af35b0d2ff1";
+ sha256 = "0dfskz2vpwsmd88rxqsxf0f01g4f2hm6073afcm424x5gc297n39";
+
+ postFetch = ''
+ tar xf $downloadedFile --strip=1
+ mkdir -p $out/share/fonts/truetype
+ cp *.ttf $out/share/fonts/truetype/
+ '';
+
+ meta = with lib; {
+ description = "a font which is metric-compatible with Microsoft's Georgia";
+ longDescription = ''
+ Gelasio is an original typeface which is metrics compatible with Microsoft's
+ Georgia in its Regular, Bold, Italic and Bold Italic weights. Interpolated
+ Medium, medium Italic, SemiBold and SemiBold Italic have now been added as well.
+ '';
+ homepage = "https://github.com/SorkinType/Gelasio";
+ license = licenses.ofl;
+ platforms = platforms.all;
+ maintainers = with maintainers; [ colemickens ];
+ };
+}
+
diff --git a/pkgs/data/fonts/gohufont/default.nix b/pkgs/data/fonts/gohufont/default.nix
index 59ac4ec850b..1f861afcf83 100644
--- a/pkgs/data/fonts/gohufont/default.nix
+++ b/pkgs/data/fonts/gohufont/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "gohufont-${version}";
+ pname = "gohufont";
version = "2.1";
src = fetchurl {
- url = "http://font.gohu.org/${name}.tar.gz";
+ url = "http://font.gohu.org/${pname}-${version}.tar.gz";
sha256 = "10dsl7insnw95hinkcgmp9rx39lyzb7bpx5g70vswl8d6p4n53bm";
};
diff --git a/pkgs/data/fonts/google-fonts/default.nix b/pkgs/data/fonts/google-fonts/default.nix
index 207f3615d1b..7c1af485a98 100644
--- a/pkgs/data/fonts/google-fonts/default.nix
+++ b/pkgs/data/fonts/google-fonts/default.nix
@@ -1,20 +1,16 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
- name = "google-fonts-${version}";
- version = "2018-07-13";
+stdenv.mkDerivation {
+ pname = "google-fonts";
+ version = "2019-07-14";
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
- rev = "3ca591dae7372a26e254ec6d22e7b453813b9530";
- sha256 = "01ak3dzw2kihwa0dy27x8vvpiscd66mnkf61vj1xn29m4g48y0lr";
+ rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
+ sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
};
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "1pzm26794nwdbsvjnczpfchxiqa1n1zhp517g6g39wfm1nfszz83";
-
phases = [ "unpackPhase" "patchPhase" "installPhase" ];
patchPhase = ''
@@ -29,6 +25,13 @@ stdenv.mkDerivation rec {
ofl/siamreap \
ofl/terminaldosislight
+ # See comment above, the structure of these is a bit odd
+ # We keep the ofl//static/ variants
+ rm -rv ofl/comfortaa/*.ttf \
+ ofl/mavenpro/*.ttf \
+ ofl/muli/*.ttf \
+ ofl/oswald/*.ttf
+
if find . -name "*.ttf" | sed 's|.*/||' | sort | uniq -c | sort -n | grep -v '^.*1 '; then
echo "error: duplicate font names"
exit 1
diff --git a/pkgs/data/fonts/hack/default.nix b/pkgs/data/fonts/hack/default.nix
index ef0df1ba67f..3c49bf7f565 100644
--- a/pkgs/data/fonts/hack/default.nix
+++ b/pkgs/data/fonts/hack/default.nix
@@ -2,7 +2,7 @@
let
version = "3.003";
-in fetchzip rec {
+in fetchzip {
name = "hack-font-${version}";
url = "https://github.com/chrissimpkins/Hack/releases/download/v${version}/Hack-v${version}-ttf.zip";
diff --git a/pkgs/data/fonts/hanazono/default.nix b/pkgs/data/fonts/hanazono/default.nix
index cc219b74179..29c982ed8ae 100644
--- a/pkgs/data/fonts/hanazono/default.nix
+++ b/pkgs/data/fonts/hanazono/default.nix
@@ -5,7 +5,7 @@ let
in fetchzip {
name = "hanazono-${version}";
- url = "mirror://sourceforgejp/hanazono-font/68253/hanazono-${version}.zip";
+ url = "mirror://osdn/hanazono-font/68253/hanazono-${version}.zip";
postFetch = ''
mkdir -p $out/share/{doc,fonts}
diff --git a/pkgs/data/fonts/helvetica-neue-lt-std/default.nix b/pkgs/data/fonts/helvetica-neue-lt-std/default.nix
index 759d2c2db1d..23f6fb29be0 100644
--- a/pkgs/data/fonts/helvetica-neue-lt-std/default.nix
+++ b/pkgs/data/fonts/helvetica-neue-lt-std/default.nix
@@ -2,7 +2,7 @@
let
version = "2013.06.07"; # date of most recent file in distribution
-in fetchzip rec {
+in fetchzip {
name = "helvetica-neue-lt-std-${version}";
url = "http://www.ephifonts.com/downloads/helvetica-neue-lt-std.zip";
diff --git a/pkgs/data/fonts/hyperscrypt/default.nix b/pkgs/data/fonts/hyperscrypt/default.nix
index 362781c05bb..726fbab95bd 100644
--- a/pkgs/data/fonts/hyperscrypt/default.nix
+++ b/pkgs/data/fonts/hyperscrypt/default.nix
@@ -5,7 +5,7 @@ let
pname = "HyperScrypt";
in
-fetchzip rec {
+fetchzip {
name = "${lib.toLower pname}-font-${version}";
url = "https://gitlab.com/StudioTriple/Hyper-Scrypt/-/archive/${version}/Hyper-Scrypt-${version}.zip";
sha256 = "01pf5p2scmw02s0gxnibiwxbpzczphaaapv0v4s7svk9aw2gmc0m";
diff --git a/pkgs/data/fonts/ia-writer-duospace/default.nix b/pkgs/data/fonts/ia-writer-duospace/default.nix
index a042a31f1d0..1d910ed54a4 100644
--- a/pkgs/data/fonts/ia-writer-duospace/default.nix
+++ b/pkgs/data/fonts/ia-writer-duospace/default.nix
@@ -2,7 +2,7 @@
let
version = "20180721";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "ia-writer-duospace-${version}";
owner = "iaolo";
diff --git a/pkgs/data/fonts/ibm-plex/default.nix b/pkgs/data/fonts/ibm-plex/default.nix
index b767c670650..7401c569462 100644
--- a/pkgs/data/fonts/ibm-plex/default.nix
+++ b/pkgs/data/fonts/ibm-plex/default.nix
@@ -1,15 +1,15 @@
{ lib, fetchzip }:
let
- version = "1.4.1";
-in fetchzip rec {
+ version = "2.0.0";
+in fetchzip {
name = "ibm-plex-${version}";
url = "https://github.com/IBM/plex/releases/download/v${version}/OpenType.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile "OpenType/*/*.otf" -d $out/share/fonts/opentype
'';
- sha256 = "1y2p0gf8znryfcidg26dn9xi81wl9vq5m56ylvg5jp0sn971r4xq";
+ sha256 = "0m4paww4349d37s7j20a00hp514p1jq54xrnz45wyrafb8pkah4g";
meta = with lib; {
description = "IBM Plex Typeface";
diff --git a/pkgs/data/fonts/inconsolata/default.nix b/pkgs/data/fonts/inconsolata/default.nix
index 7eded5deab4..a170a0780a4 100644
--- a/pkgs/data/fonts/inconsolata/default.nix
+++ b/pkgs/data/fonts/inconsolata/default.nix
@@ -1,7 +1,7 @@
{ stdenv, google-fonts }:
-stdenv.mkDerivation rec {
- name = "inconsolata-${version}";
+stdenv.mkDerivation {
+ pname = "inconsolata";
inherit (google-fonts) src version;
diff --git a/pkgs/data/fonts/inconsolata/lgc.nix b/pkgs/data/fonts/inconsolata/lgc.nix
index 8563e0e112a..aec48b12086 100644
--- a/pkgs/data/fonts/inconsolata/lgc.nix
+++ b/pkgs/data/fonts/inconsolata/lgc.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, fontforge}:
stdenv.mkDerivation rec {
- name = "inconsolata-lgc-${version}";
+ pname = "inconsolata-lgc";
version = "1.3";
src = fetchFromGitHub {
@@ -14,20 +14,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ fontforge ];
installPhase = ''
- mkdir -p $out/share/fonts/truetype
- cp -v $(find . -name '*.ttf') $out/share/fonts/truetype
-
- mkdir -p $out/share/fonts/opentype
- cp -v $(find . -name '*.otf') $out/share/fonts/opentype
-
- mkdir -p "$out/doc/${name}"
- cp -v AUTHORS ChangeLog COPYING License.txt README "$out/doc/${name}" || true
+ find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
+ find . -name '*.otf' -exec install -m444 -Dt $out/share/fonts/opentype {} \;
+ install -m444 -Dt $out/share/doc/${pname}-${version} LICENSE README
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "18brmw0h4hjq1m2l0abwc3zmib4rnfalpywdk68djm711zldxr76";
-
meta = with stdenv.lib; {
description = "Fork of Inconsolata font, with proper support of Cyrillic and Greek";
longDescription = ''
@@ -57,6 +48,5 @@ stdenv.mkDerivation rec {
license = licenses.ofl;
homepage = https://github.com/MihailJP/Inconsolata-LGC;
maintainers = with maintainers; [ avnik rht ];
- platforms = platforms.linux;
};
}
diff --git a/pkgs/data/fonts/input-fonts/default.nix b/pkgs/data/fonts/input-fonts/default.nix
index 94c580c30df..3bc836fa4e4 100644
--- a/pkgs/data/fonts/input-fonts/default.nix
+++ b/pkgs/data/fonts/input-fonts/default.nix
@@ -1,12 +1,12 @@
{ stdenv, requireFile, unzip }:
-stdenv.mkDerivation rec {
- name = "input-fonts-${version}";
+stdenv.mkDerivation {
+ pname = "input-fonts";
version = "2017-08-10"; # date of the download and checksum
src = requireFile {
name = "Input-Font.zip";
- url = "http://input.fontbureau.com/download/";
+ url = "https://input.fontbureau.com/download/";
sha256 = "07fkyvbb12agkb2kpnq2j45nycgbjvb4n1s5hjyqsipdh2z9zihq";
};
diff --git a/pkgs/data/fonts/inriafonts/default.nix b/pkgs/data/fonts/inriafonts/default.nix
index 52c28db639e..5a8e3476bf8 100644
--- a/pkgs/data/fonts/inriafonts/default.nix
+++ b/pkgs/data/fonts/inriafonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "inriafonts";
version = "1.200";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "BlackFoundry";
repo = "InriaFonts";
diff --git a/pkgs/data/fonts/inter/default.nix b/pkgs/data/fonts/inter/default.nix
index f11f13283d5..33e7283147a 100644
--- a/pkgs/data/fonts/inter/default.nix
+++ b/pkgs/data/fonts/inter/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
- version = "3.5";
+ version = "3.10";
in fetchzip {
name = "inter-${version}";
@@ -12,14 +12,14 @@ in fetchzip {
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
'';
- sha256 = "0zqixzzbb3n1j4jvpjm0hlxc32j53hgq4j078gihjkhgvjhsklf2";
+ sha256 = "029fjpgdml8qx2cqn4rnh2xm3z4cnh74jlzjb8pbfm2azsnvi6r1";
meta = with lib; {
homepage = https://rsms.me/inter/;
description = "A typeface specially designed for user interfaces";
license = licenses.ofl;
platforms = platforms.all;
- maintainers = with maintainers; [ demize ];
+ maintainers = with maintainers; [ demize dtzWill ];
};
}
diff --git a/pkgs/data/fonts/iosevka/bin.nix b/pkgs/data/fonts/iosevka/bin.nix
index 0676d3c0e1f..962769b8144 100644
--- a/pkgs/data/fonts/iosevka/bin.nix
+++ b/pkgs/data/fonts/iosevka/bin.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchzip }:
let
- version = "2.2.1";
-in fetchzip rec {
+ version = "2.3.0";
+in fetchzip {
name = "iosevka-bin-${version}";
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip";
@@ -12,7 +12,7 @@ in fetchzip rec {
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
'';
- sha256 = "0d5ys9k8adj9v1hpwbmjqshzpjlnyj81xwp0328vc5q8pvjcfly6";
+ sha256 = "0nry6zsmvcj44rijhbvrry84rh5hrixzb4n1mx9c27vvpy33a56w";
meta = with stdenv.lib; {
homepage = https://be5invis.github.io/Iosevka/;
diff --git a/pkgs/data/fonts/iosevka/package-lock.nix b/pkgs/data/fonts/iosevka/package-lock.nix
index 4a7be92e737..546482cc0d2 100644
--- a/pkgs/data/fonts/iosevka/package-lock.nix
+++ b/pkgs/data/fonts/iosevka/package-lock.nix
@@ -14,58 +14,58 @@ let
0;
chars = stringToCharacters (substring 0 (len - padding) str);
table = {
- "A" = [0 0 0];
- "B" = [0 0 1];
- "C" = [0 0 2];
- "D" = [0 0 3];
- "E" = [0 1 0];
- "F" = [0 1 1];
- "G" = [0 1 2];
- "H" = [0 1 3];
- "I" = [0 2 0];
- "J" = [0 2 1];
- "K" = [0 2 2];
- "L" = [0 2 3];
- "M" = [0 3 0];
- "N" = [0 3 1];
- "O" = [0 3 2];
- "P" = [0 3 3];
- "Q" = [1 0 0];
- "R" = [1 0 1];
- "S" = [1 0 2];
- "T" = [1 0 3];
- "U" = [1 1 0];
- "V" = [1 1 1];
- "W" = [1 1 2];
- "X" = [1 1 3];
- "Y" = [1 2 0];
- "Z" = [1 2 1];
- "a" = [1 2 2];
- "b" = [1 2 3];
- "c" = [1 3 0];
- "d" = [1 3 1];
- "e" = [1 3 2];
- "f" = [1 3 3];
- "g" = [2 0 0];
- "h" = [2 0 1];
- "i" = [2 0 2];
- "j" = [2 0 3];
- "k" = [2 1 0];
- "l" = [2 1 1];
- "m" = [2 1 2];
- "n" = [2 1 3];
- "o" = [2 2 0];
- "p" = [2 2 1];
- "q" = [2 2 2];
- "r" = [2 2 3];
- "s" = [2 3 0];
- "t" = [2 3 1];
- "u" = [2 3 2];
- "v" = [2 3 3];
- "w" = [3 0 0];
- "x" = [3 0 1];
- "y" = [3 0 2];
- "z" = [3 0 3];
+ A = [0 0 0];
+ B = [0 0 1];
+ C = [0 0 2];
+ D = [0 0 3];
+ E = [0 1 0];
+ F = [0 1 1];
+ G = [0 1 2];
+ H = [0 1 3];
+ I = [0 2 0];
+ J = [0 2 1];
+ K = [0 2 2];
+ L = [0 2 3];
+ M = [0 3 0];
+ N = [0 3 1];
+ O = [0 3 2];
+ P = [0 3 3];
+ Q = [1 0 0];
+ R = [1 0 1];
+ S = [1 0 2];
+ T = [1 0 3];
+ U = [1 1 0];
+ V = [1 1 1];
+ W = [1 1 2];
+ X = [1 1 3];
+ Y = [1 2 0];
+ Z = [1 2 1];
+ a = [1 2 2];
+ b = [1 2 3];
+ c = [1 3 0];
+ d = [1 3 1];
+ e = [1 3 2];
+ f = [1 3 3];
+ g = [2 0 0];
+ h = [2 0 1];
+ i = [2 0 2];
+ j = [2 0 3];
+ k = [2 1 0];
+ l = [2 1 1];
+ m = [2 1 2];
+ n = [2 1 3];
+ o = [2 2 0];
+ p = [2 2 1];
+ q = [2 2 2];
+ r = [2 2 3];
+ s = [2 3 0];
+ t = [2 3 1];
+ u = [2 3 2];
+ v = [2 3 3];
+ w = [3 0 0];
+ x = [3 0 1];
+ y = [3 0 2];
+ z = [3 0 3];
"0" = [3 1 0];
"1" = [3 1 1];
"2" = [3 1 2];
diff --git a/pkgs/data/fonts/ir-standard-fonts/default.nix b/pkgs/data/fonts/ir-standard-fonts/default.nix
index 1501e0fb7fa..eef3883506e 100644
--- a/pkgs/data/fonts/ir-standard-fonts/default.nix
+++ b/pkgs/data/fonts/ir-standard-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "ir-standard-fonts";
version = "unstable-2017-01-21";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "morealaz";
repo = pname;
diff --git a/pkgs/data/fonts/jost/default.nix b/pkgs/data/fonts/jost/default.nix
new file mode 100644
index 00000000000..ecada2eda7b
--- /dev/null
+++ b/pkgs/data/fonts/jost/default.nix
@@ -0,0 +1,22 @@
+{stdenv, fetchzip}:
+
+let
+ version = "3.3";
+in fetchzip {
+ name = "jost-${version}";
+ url = "https://github.com/indestructible-type/Jost/releases/download/${version}/Jost.zip";
+
+ postFetch = ''
+ mkdir -p $out/share/fonts
+ unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
+ '';
+
+ sha256="00nrhs3aif2hc4yhjhbn9ywmydl2w0g0hv5m5is8gv7wx8yi2j9z";
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/indestructible-type/Jost;
+ description = "A sans serif font by Indestructible Type";
+ license = licenses.ofl;
+ maintainers = [ maintainers.ar1a ];
+ };
+}
diff --git a/pkgs/data/fonts/joypixels/default.nix b/pkgs/data/fonts/joypixels/default.nix
new file mode 100644
index 00000000000..fc6481e9a89
--- /dev/null
+++ b/pkgs/data/fonts/joypixels/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchurl }:
+
+stdenv.mkDerivation rec {
+ pname = "joypixels";
+ version = "5.0.2";
+
+ src = fetchurl {
+ url = "https://cdn.joypixels.com/arch-linux/font/${version}/joypixels-android.ttf";
+ sha256 = "0javgnfsh2nfddr5flf4yzi81ar8wx2z8w1q7h4fvdng5fsrgici";
+ };
+
+ dontUnpack = true;
+
+ installPhase = ''
+ install -Dm644 $src $out/share/fonts/truetype/joypixels.ttf
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Emoji as a Service (formerly EmojiOne)";
+ homepage = https://www.joypixels.com/;
+ license = licenses.unfree;
+ maintainers = with maintainers; [ jtojnar ];
+ };
+}
diff --git a/pkgs/data/fonts/kawkab-mono/default.nix b/pkgs/data/fonts/kawkab-mono/default.nix
index c1de2806ef1..f6a031c7faf 100644
--- a/pkgs/data/fonts/kawkab-mono/default.nix
+++ b/pkgs/data/fonts/kawkab-mono/default.nix
@@ -1,6 +1,6 @@
{ lib, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "kawkab-mono-20151015";
url = "http://makkuk.com/kawkab-mono/downloads/kawkab-mono-0.1.zip";
diff --git a/pkgs/data/fonts/kochi-substitute-naga10/default.nix b/pkgs/data/fonts/kochi-substitute-naga10/default.nix
index cc2ec0d641f..1b63223f0bf 100644
--- a/pkgs/data/fonts/kochi-substitute-naga10/default.nix
+++ b/pkgs/data/fonts/kochi-substitute-naga10/default.nix
@@ -5,7 +5,7 @@ in
fetchzip {
name = "kochi-substitute-naga10-${version}";
- url = "mirror://sourceforgejp/efont/5411/kochi-substitute-${version}.tar.bz2";
+ url = "mirror://osdn/efont/5411/kochi-substitute-${version}.tar.bz2";
postFetch = ''
tar -xjf $downloadedFile --strip-components=1
@@ -25,7 +25,7 @@ fetchzip {
this font may not be sold commercially. See kochi-substitute for the free
Debian version.
'';
- homepage = http://sourceforge.jp/projects/efont/;
+ homepage = "https://osdn.net/projects/efont/";
license = lib.licenses.unfreeRedistributable;
maintainers = [ lib.maintainers.auntie ];
};
diff --git a/pkgs/data/fonts/kochi-substitute/default.nix b/pkgs/data/fonts/kochi-substitute/default.nix
index 11cd73e5237..cf89a8fcb8f 100644
--- a/pkgs/data/fonts/kochi-substitute/default.nix
+++ b/pkgs/data/fonts/kochi-substitute/default.nix
@@ -3,7 +3,8 @@
let version = "20030809";
in
stdenv.mkDerivation {
- name = "kochi-substitute-${version}";
+ pname = "kochi-substitute";
+ inherit version;
src = fetchurl {
url = "mirror://debian/pool/main/t/ttf-kochi/ttf-kochi-gothic_${version}-15_all.deb";
@@ -40,7 +41,7 @@ stdenv.mkDerivation {
versions of the fonts, which remove some non-free glyphs that were added
from the naga10 font.
'';
- homepage = http://sourceforge.jp/projects/efont/;
+ homepage = "https://osdn.net/projects/efont/";
license = stdenv.lib.licenses.wadalab;
maintainers = [ stdenv.lib.maintainers.auntie ];
};
diff --git a/pkgs/data/fonts/libertine/default.nix b/pkgs/data/fonts/libertine/default.nix
index 748c0268a80..eb0a47e13d9 100644
--- a/pkgs/data/fonts/libertine/default.nix
+++ b/pkgs/data/fonts/libertine/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fontforge }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "linux-libertine-5.3.0";
src = fetchurl {
@@ -31,23 +31,16 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
- mkdir -p $out/share/fonts/{opentype,truetype,type1}/public
- mkdir -p $out/share/texmf/fonts/{enc,map}
- cp *.otf $out/share/fonts/opentype/public
- cp *.ttf $out/share/fonts/truetype/public
- cp *.pfb $out/share/fonts/type1/public
- cp *.enc $out/share/texmf/fonts/enc
- cp *.map $out/share/texmf/fonts/map
+ install -m444 -Dt $out/share/fonts/opentype/public *.otf
+ install -m444 -Dt $out/share/fonts/truetype/public *.ttf
+ install -m444 -Dt $out/share/fonts/type1/public *.pfb
+ install -m444 -Dt $out/share/texmf/fonts/enc *.enc
+ install -m444 -Dt $out/share/texmf/fonts/map *.map
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "1mj0j0hkp8pn7jcs4pvcan6whba60bfd671g3vhx3s9kxwf7xjvr";
-
meta = with stdenv.lib; {
description = "Linux Libertine Fonts";
homepage = http://linuxlibertine.sf.net;
- platforms = platforms.linux;
maintainers = [ maintainers.volth ];
license = licenses.ofl;
};
diff --git a/pkgs/data/fonts/libertinus/default.nix b/pkgs/data/fonts/libertinus/default.nix
index 578550bbe45..62aad87c902 100644
--- a/pkgs/data/fonts/libertinus/default.nix
+++ b/pkgs/data/fonts/libertinus/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchFromGitHub }:
let
- version = "6.8";
+ version = "6.9";
in fetchFromGitHub rec {
name = "libertinus-${version}";
@@ -14,7 +14,7 @@ in fetchFromGitHub rec {
install -m444 -Dt $out/share/fonts/opentype *.otf
install -m444 -Dt $out/share/doc/${name} *.txt
'';
- sha256 = "0iwbw3sw8rcsifpzw72g3cz0a960scv7cib8mwrw53282waqq2gc";
+ sha256 = "0765a7w0askkhrjmjk638gcm9h6fcm1jpaza8iw9afr3sz1s0xlq";
meta = with lib; {
description = "A fork of the Linux Libertine and Linux Biolinum fonts";
diff --git a/pkgs/data/fonts/libre-caslon/default.nix b/pkgs/data/fonts/libre-caslon/default.nix
index ec932ab978c..7a68c9deb5a 100644
--- a/pkgs/data/fonts/libre-caslon/default.nix
+++ b/pkgs/data/fonts/libre-caslon/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "libre-caslon-${version}";
+ pname = "libre-caslon";
version = "1.002";
srcs = [
@@ -26,10 +26,10 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/share/fonts/opentype
- mkdir -p $out/share/doc/${name}
+ mkdir -p $out/share/doc/${pname}-${version}
cp -v "libre-caslon-text-${version}-src/fonts/OTF/"*.otf $out/share/fonts/opentype/
cp -v "libre-caslon-display-${version}-src/fonts/OTF/"*.otf $out/share/fonts/opentype/
- cp -v libre-caslon-text-${version}-src/README.md libre-caslon-text-${version}-src/FONTLOG.txt $out/share/doc/${name}
+ cp -v libre-caslon-text-${version}-src/README.md libre-caslon-text-${version}-src/FONTLOG.txt $out/share/doc/${pname}-${version}
'';
outputHashAlgo = "sha256";
diff --git a/pkgs/data/fonts/lmodern/default.nix b/pkgs/data/fonts/lmodern/default.nix
index 644efd8b858..1b277a0691c 100644
--- a/pkgs/data/fonts/lmodern/default.nix
+++ b/pkgs/data/fonts/lmodern/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchzip }:
+{ fetchzip }:
fetchzip {
name = "lmodern-2.004.5";
diff --git a/pkgs/data/fonts/lmodern/lmmath.nix b/pkgs/data/fonts/lmodern/lmmath.nix
index 98bde90ff94..679f5200213 100644
--- a/pkgs/data/fonts/lmodern/lmmath.nix
+++ b/pkgs/data/fonts/lmodern/lmmath.nix
@@ -1,4 +1,4 @@
-{ lib, fetchzip }:
+{ fetchzip }:
fetchzip {
name = "lmmath-0.903";
diff --git a/pkgs/data/fonts/lobster-two/default.nix b/pkgs/data/fonts/lobster-two/default.nix
index d9e7ec66ee6..773b53c8892 100644
--- a/pkgs/data/fonts/lobster-two/default.nix
+++ b/pkgs/data/fonts/lobster-two/default.nix
@@ -50,15 +50,15 @@ let
in
stdenv.mkDerivation rec {
- name = "lobstertwo-${version}";
+ pname = "lobstertwo";
version = "1.006";
phases = ["installPhase"];
installPhase = ''
mkdir -p $out/share/fonts/opentype
- mkdir -p $out/share/doc/${name}
- cp -v ${fontlog.file} $out/share/doc/${name}/${fontlog.name}
+ mkdir -p $out/share/doc/${pname}-${version}
+ cp -v ${fontlog.file} $out/share/doc/${pname}-${version}/${fontlog.name}
cp -v ${bold.file} $out/share/fonts/opentype/${bold.name}
cp -v ${boldItalic.file} $out/share/fonts/opentype/${boldItalic.name}
cp -v ${italic.file} $out/share/fonts/opentype/${italic.name}
diff --git a/pkgs/data/fonts/luculent/default.nix b/pkgs/data/fonts/luculent/default.nix
index fe733359f3a..7e5a69a2c1f 100644
--- a/pkgs/data/fonts/luculent/default.nix
+++ b/pkgs/data/fonts/luculent/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let version = "2.0.0"; in
-fetchzip rec {
+fetchzip {
name = "luculent-${version}";
url = http://www.eastfarthing.com/luculent/luculent.tar.xz;
diff --git a/pkgs/data/fonts/medio/default.nix b/pkgs/data/fonts/medio/default.nix
index 024e6049a38..c94046f085f 100644
--- a/pkgs/data/fonts/medio/default.nix
+++ b/pkgs/data/fonts/medio/default.nix
@@ -6,7 +6,7 @@ let
pname = "medio";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}.zip";
diff --git a/pkgs/data/fonts/meslo-lg/default.nix b/pkgs/data/fonts/meslo-lg/default.nix
index f990575def0..a041f9ce907 100644
--- a/pkgs/data/fonts/meslo-lg/default.nix
+++ b/pkgs/data/fonts/meslo-lg/default.nix
@@ -3,17 +3,17 @@
stdenv.mkDerivation rec {
version = "1.2.1";
- name = "meslo-lg-${version}";
+ pname = "meslo-lg";
meslo-lg = fetchurl {
url="https://github.com/andreberg/Meslo-Font/blob/master/dist/v${version}/Meslo%20LG%20v${version}.zip?raw=true";
- name="${name}";
+ name="${pname}-${version}";
sha256="1l08mxlzaz3i5bamnfr49s2k4k23vdm64b8nz2ha33ysimkbgg6h";
};
meslo-lg-dz = fetchurl {
url="https://github.com/andreberg/Meslo-Font/blob/master/dist/v${version}/Meslo%20LG%20DZ%20v${version}.zip?raw=true";
- name="${name}-dz";
+ name="${pname}-${version}-dz";
sha256="0lnbkrvcpgz9chnvix79j6fiz36wj6n46brb7b1746182rl1l875";
};
diff --git a/pkgs/data/fonts/migmix/default.nix b/pkgs/data/fonts/migmix/default.nix
index 986751645e3..8a089ea9e79 100644
--- a/pkgs/data/fonts/migmix/default.nix
+++ b/pkgs/data/fonts/migmix/default.nix
@@ -1,29 +1,29 @@
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
- name = "migmix-${version}";
+ pname = "migmix";
version = "20150712";
srcs = [
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63544/migmix-1p-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63544/migmix-1p-${version}.zip";
sha256 = "0wp44axcalaak04nj3dgpx0vk13nqa3ihx2vjv4acsgv83x8ciph";
})
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63544/migmix-2p-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63544/migmix-2p-${version}.zip";
sha256 = "0y7s3rbxrp5bv56qgihk8b847lqgibfhn2wlkzx7z655fbzdgxw9";
})
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63544/migmix-1m-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63544/migmix-1m-${version}.zip";
sha256 = "1sfym0chy8ilyd9sr3mjc0bf63vc33p05ynpdc11miivxn4qsshx";
})
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63544/migmix-2m-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63544/migmix-2m-${version}.zip";
sha256 = "0hg04rvm39fh4my4akmv4rhfc14s3ipz2aw718h505k9hppkhkch";
})
];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
find $srcs -name '*.ttf' -exec install -m644 -Dt $out/share/fonts/truetype/migmix {} \;
diff --git a/pkgs/data/fonts/migu/default.nix b/pkgs/data/fonts/migu/default.nix
index 3b03460125f..775d1766894 100644
--- a/pkgs/data/fonts/migu/default.nix
+++ b/pkgs/data/fonts/migu/default.nix
@@ -1,29 +1,29 @@
{ stdenv, fetchzip }:
stdenv.mkDerivation rec {
- name = "migu-${version}";
+ pname = "migu";
version = "20150712";
srcs = [
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63545/migu-1p-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63545/migu-1p-${version}.zip";
sha256 = "04wpbk5xbbcv2rzac8yzj4ww7sk2hy2rg8zs96yxc5vzj9q7svf6";
})
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63545/migu-1c-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63545/migu-1c-${version}.zip";
sha256 = "1k7ymix14ac5fb44bjvbaaf24784zzpyc1jj2280c0zdnpxksyk6";
})
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63545/migu-1m-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63545/migu-1m-${version}.zip";
sha256 = "07r8id83v92hym21vrqmfsfxb646v8258001pkjhgfnfg1yvw8lm";
})
(fetchzip {
- url = "mirror://sourceforgejp/mix-mplus-ipa/63545/migu-2m-${version}.zip";
+ url = "mirror://osdn/mix-mplus-ipa/63545/migu-2m-${version}.zip";
sha256 = "1pvzbrawh43589j8rfxk86y1acjbgzzdy5wllvdkpm1qnx28zwc2";
})
];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
find $srcs -name '*.ttf' | xargs install -m644 --target $out/share/fonts/truetype/migu -D
diff --git a/pkgs/data/fonts/mno16/default.nix b/pkgs/data/fonts/mno16/default.nix
new file mode 100644
index 00000000000..2a700be113a
--- /dev/null
+++ b/pkgs/data/fonts/mno16/default.nix
@@ -0,0 +1,21 @@
+{ lib, fetchzip }:
+
+let
+ pname = "mno16";
+ version = "1.0";
+in fetchzip rec {
+ name = "${pname}-${version}";
+ url = "https://github.com/sevmeyer/${pname}/releases/download/${version}/${name}.zip";
+ sha256 = "1x06nl281fcjk6g1p4cgrgxakmwcci6vvasskaygsqlzxd8ig87w";
+
+ postFetch = ''
+ mkdir -p $out/share/fonts/truetype
+ unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype/
+ '';
+
+ meta = with lib; {
+ description = "minimalist monospaced font";
+ homepage = https://sev.dev/fonts/mno16;
+ license = licenses.cc0;
+ };
+}
diff --git a/pkgs/data/fonts/monoid/default.nix b/pkgs/data/fonts/monoid/default.nix
index 77c311ce364..06fb7499b81 100644
--- a/pkgs/data/fonts/monoid/default.nix
+++ b/pkgs/data/fonts/monoid/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, python, fontforge }:
-stdenv.mkDerivation rec {
- name = "monoid-${version}";
+stdenv.mkDerivation {
+ pname = "monoid";
version = "2016-07-21";
src = fetchFromGitHub {
@@ -24,15 +24,10 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
- mkdir -p $out/share/{doc,fonts/truetype}
- cp -va _release/* $out/share/fonts/truetype
- cp -va Readme.md $out/share/doc
+ install -m444 -Dt $out/share/fonts/truetype _release/*
+ install -m444 -Dt $out/share/doc Readme.md
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "0lbipgygiva3gg1pqw07phpnnf0s6ka9vqdk1pw7bkybjw3f7wzm";
-
meta = with stdenv.lib; {
homepage = http://larsenwork.com/monoid;
description = "Customisable coding font with alternates, ligatures and contextual positioning";
diff --git a/pkgs/data/fonts/mph-2b-damase/default.nix b/pkgs/data/fonts/mph-2b-damase/default.nix
index 4102386af90..4230e63360b 100644
--- a/pkgs/data/fonts/mph-2b-damase/default.nix
+++ b/pkgs/data/fonts/mph-2b-damase/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchzip }:
+{ fetchzip }:
fetchzip {
name = "MPH-2B-Damase-2";
diff --git a/pkgs/data/fonts/mplus-outline-fonts/default.nix b/pkgs/data/fonts/mplus-outline-fonts/default.nix
index 812f96352f0..75e8899e664 100644
--- a/pkgs/data/fonts/mplus-outline-fonts/default.nix
+++ b/pkgs/data/fonts/mplus-outline-fonts/default.nix
@@ -1,11 +1,11 @@
{ lib, fetchzip }:
let
- version = "063";
-in fetchzip rec {
+ version = "063a";
+in fetchzip {
name = "mplus-${version}";
- url = "mirror://sourceforgejp/mplus-fonts/62344/mplus-TESTFLIGHT-${version}.tar.xz";
+ url = "mirror://osdn/mplus-fonts/62344/mplus-TESTFLIGHT-${version}.tar.xz";
postFetch = ''
tar -xJf $downloadedFile --strip-components=1
@@ -13,11 +13,11 @@ in fetchzip rec {
cp *.ttf $out/share/fonts/truetype
'';
- sha256 = "0d485l2ihxfk039rrrnfviamlbj13cwky0c752m4ikwvgiqiq94y";
+ sha256 = "1khbkch2r96ppifc93bmy1v047pgciyhfmcjb98ggncp5ix885xz";
meta = with lib; {
description = "M+ Outline Fonts";
- homepage = http://mplus-fonts.sourceforge.jp/mplus-outline-fonts/index-en.html;
+ homepage = "https://mplus-fonts.osdn.jp/about-en.html";
license = licenses.mit;
maintainers = with maintainers; [ henrytill ];
platforms = platforms.all;
diff --git a/pkgs/data/fonts/myrica/default.nix b/pkgs/data/fonts/myrica/default.nix
index f3be8857284..444d526f5ae 100644
--- a/pkgs/data/fonts/myrica/default.nix
+++ b/pkgs/data/fonts/myrica/default.nix
@@ -1,6 +1,6 @@
{ lib, fetchFromGitHub }:
-fetchFromGitHub rec {
+fetchFromGitHub {
name = "myrica-2.011.20160403";
owner = "tomokuni";
diff --git a/pkgs/data/fonts/nafees/default.nix b/pkgs/data/fonts/nafees/default.nix
index b39a59d1ba7..d2aaadc4279 100644
--- a/pkgs/data/fonts/nafees/default.nix
+++ b/pkgs/data/fonts/nafees/default.nix
@@ -1,6 +1,6 @@
{stdenv, fetchurl, unzip}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "nafees";
srcs = [(fetchurl {
diff --git a/pkgs/data/fonts/nanum-gothic-coding/default.nix b/pkgs/data/fonts/nanum-gothic-coding/default.nix
index f6b8210290e..7d908b62cc6 100644
--- a/pkgs/data/fonts/nanum-gothic-coding/default.nix
+++ b/pkgs/data/fonts/nanum-gothic-coding/default.nix
@@ -4,7 +4,7 @@ let
version = "VER2.5";
fullName = "NanumGothicCoding-2.5";
-in fetchzip rec {
+in fetchzip {
name = "nanum-gothic-coding";
url = "https://github.com/naver/nanumfont/releases/download/${version}/${fullName}.zip";
diff --git a/pkgs/data/fonts/national-park/default.nix b/pkgs/data/fonts/national-park/default.nix
new file mode 100644
index 00000000000..bc8fc8041a8
--- /dev/null
+++ b/pkgs/data/fonts/national-park/default.nix
@@ -0,0 +1,24 @@
+{ lib, fetchzip }:
+
+let
+ pname = "national-park-typeface";
+ version = "206464";
+in fetchzip {
+ name = "${pname}-${version}";
+ url = "https://files.cargocollective.com/c${version}/NationalPark.zip";
+
+ postFetch = ''
+ mkdir -p $out/share/fonts
+ unzip -j $downloadedFile National\*.otf -d $out/share/fonts/opentype/
+ '';
+
+ sha256 = "044gh4xcasp8i9ny6z4nmns1am2pk5krc4ann2afq35v9bnl2q5d";
+
+ meta = with lib; {
+ description = ''Typeface designed to mimic the national park service
+ signs that are carved using a router bit'';
+ homepage = https://nationalparktypeface.com/;
+ license = licenses.ofl;
+ maintainers = with maintainers; [ dtzWill ];
+ };
+}
diff --git a/pkgs/data/fonts/nerdfonts/default.nix b/pkgs/data/fonts/nerdfonts/default.nix
index 985f264f40e..59b0f89e45e 100644
--- a/pkgs/data/fonts/nerdfonts/default.nix
+++ b/pkgs/data/fonts/nerdfonts/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2.0.0";
- name = "nerdfonts-${version}";
+ pname = "nerdfonts";
src = fetchFromGitHub {
owner = "ryanoasis";
repo = "nerd-fonts";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://github.com/ryanoasis/nerd-fonts;
license = licenses.mit;
- maintainers = with maintainers; [ garbas ];
+ maintainers = with maintainers; [ ];
hydraPlatforms = []; # 'Output limit exceeded' on Hydra
};
}
diff --git a/pkgs/data/fonts/nika-fonts/default.nix b/pkgs/data/fonts/nika-fonts/default.nix
index c6bdbd40248..3f58bc5f933 100644
--- a/pkgs/data/fonts/nika-fonts/default.nix
+++ b/pkgs/data/fonts/nika-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "nika-fonts";
version = "1.0.0";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "font-store";
repo = "NikaFont";
diff --git a/pkgs/data/fonts/norwester/default.nix b/pkgs/data/fonts/norwester/default.nix
index 0de5aa8fdf3..ae70c74c3e4 100644
--- a/pkgs/data/fonts/norwester/default.nix
+++ b/pkgs/data/fonts/norwester/default.nix
@@ -3,7 +3,7 @@
let
version = "1.2";
pname = "norwester";
-in fetchzip rec {
+in fetchzip {
name = "${pname}-${version}";
url = "http://jamiewilson.io/norwester/assets/norwester.zip";
diff --git a/pkgs/data/fonts/noto-fonts/default.nix b/pkgs/data/fonts/noto-fonts/default.nix
index 5043e031c08..bd0d39c7f29 100644
--- a/pkgs/data/fonts/noto-fonts/default.nix
+++ b/pkgs/data/fonts/noto-fonts/default.nix
@@ -46,7 +46,7 @@ let
};
in
-rec {
+{
noto-fonts = mkNoto {
name = "noto-fonts";
weights = "{Regular,Bold,Light,Italic,BoldItalic,LightItalic}";
@@ -90,7 +90,8 @@ rec {
};
};
noto-fonts-emoji = let version = "2018-08-10-unicode11"; in stdenv.mkDerivation {
- name = "noto-fonts-emoji-${version}";
+ pname = "noto-fonts-emoji";
+ inherit version;
src = fetchFromGitHub {
owner = "googlei18n";
diff --git a/pkgs/data/fonts/noto-fonts/tools.nix b/pkgs/data/fonts/noto-fonts/tools.nix
index a9d45128c5b..f4c36f34074 100644
--- a/pkgs/data/fonts/noto-fonts/tools.nix
+++ b/pkgs/data/fonts/noto-fonts/tools.nix
@@ -1,14 +1,14 @@
{ fetchFromGitHub, pythonPackages, lib }:
pythonPackages.buildPythonPackage rec {
- version = "2017-09-25";
- name = "nototools-${version}";
+ pname = "nototools";
+ version = "unstable-2019-03-20";
src = fetchFromGitHub {
- owner = "googlei18n";
+ owner = "googlefonts";
repo = "nototools";
- rev = "v2017-09-25-tooling-for-phase3-update";
- sha256 = "03nzvcvwmrhfrcjhg218q2f3hfrm3vlivp4rk19sc397kh3hisiz";
+ rev = "9c4375f07c9adc00c700c5d252df6a25d7425870";
+ sha256 = "0z9i23vl6xar4kvbqbc8nznq3s690mqc5zfv280l1c02l5n41smc";
};
propagatedBuildInputs = with pythonPackages; [ fonttools numpy ];
@@ -26,6 +26,6 @@ pythonPackages.buildPythonPackage rec {
meta = {
description = "Noto fonts support tools and scripts plus web site generation";
license = lib.licenses.asl20;
- homepage = https://github.com/googlei18n/nototools;
+ homepage = https://github.com/googlefonts/nototools;
};
}
diff --git a/pkgs/data/fonts/open-sans/default.nix b/pkgs/data/fonts/open-sans/default.nix
index dfe1426d697..0c1293ebda3 100644
--- a/pkgs/data/fonts/open-sans/default.nix
+++ b/pkgs/data/fonts/open-sans/default.nix
@@ -3,7 +3,7 @@
let
pname = "open-sans";
version = "1.11";
-in fetchFromGitLab rec {
+in fetchFromGitLab {
name = "${pname}-${version}";
domain = "salsa.debian.org";
diff --git a/pkgs/data/fonts/parastoo-fonts/default.nix b/pkgs/data/fonts/parastoo-fonts/default.nix
index d02925e3a37..d297baddc4d 100644
--- a/pkgs/data/fonts/parastoo-fonts/default.nix
+++ b/pkgs/data/fonts/parastoo-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "parastoo-fonts";
version = "1.0.0-alpha5";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
diff --git a/pkgs/data/fonts/paratype-pt/mono.nix b/pkgs/data/fonts/paratype-pt/mono.nix
index e6f0776daea..6b619d23201 100644
--- a/pkgs/data/fonts/paratype-pt/mono.nix
+++ b/pkgs/data/fonts/paratype-pt/mono.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "paratype-pt-mono";
url = [
diff --git a/pkgs/data/fonts/paratype-pt/sans.nix b/pkgs/data/fonts/paratype-pt/sans.nix
index 1e6610e8e44..a3692809026 100644
--- a/pkgs/data/fonts/paratype-pt/sans.nix
+++ b/pkgs/data/fonts/paratype-pt/sans.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "paratype-pt-sans";
url = [
diff --git a/pkgs/data/fonts/paratype-pt/serif.nix b/pkgs/data/fonts/paratype-pt/serif.nix
index f4da6508f08..d74295571e0 100644
--- a/pkgs/data/fonts/paratype-pt/serif.nix
+++ b/pkgs/data/fonts/paratype-pt/serif.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "paratype-pt-serif";
url = [
diff --git a/pkgs/data/fonts/pecita/default.nix b/pkgs/data/fonts/pecita/default.nix
index 144ec3bab85..1fc252421de 100644
--- a/pkgs/data/fonts/pecita/default.nix
+++ b/pkgs/data/fonts/pecita/default.nix
@@ -4,7 +4,7 @@ let
version = "5.4";
in
-fetchurl rec {
+fetchurl {
name = "pecita-${version}";
url = "http://pecita.eu/b/Pecita.otf";
diff --git a/pkgs/data/fonts/penna/default.nix b/pkgs/data/fonts/penna/default.nix
index 57395c507fe..784f9d2573e 100644
--- a/pkgs/data/fonts/penna/default.nix
+++ b/pkgs/data/fonts/penna/default.nix
@@ -6,7 +6,7 @@ let
pname = "penna";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}.zip";
diff --git a/pkgs/data/fonts/poly/default.nix b/pkgs/data/fonts/poly/default.nix
index d291d50e836..24155f2ea54 100644
--- a/pkgs/data/fonts/poly/default.nix
+++ b/pkgs/data/fonts/poly/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
sourceRoot = ".";
- unpackPhase = "true";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/share/fonts/opentype
diff --git a/pkgs/data/fonts/profont/default.nix b/pkgs/data/fonts/profont/default.nix
index c28c9283a9b..89565910f7a 100644
--- a/pkgs/data/fonts/profont/default.nix
+++ b/pkgs/data/fonts/profont/default.nix
@@ -1,6 +1,6 @@
{ lib, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "profont";
url = "http://web.archive.org/web/20160707013914/http://tobiasjung.name/downloadfile.php?file=profont-x11.zip";
diff --git a/pkgs/data/fonts/proggyfonts/default.nix b/pkgs/data/fonts/proggyfonts/default.nix
index b2207e01df1..580ea61a2df 100644
--- a/pkgs/data/fonts/proggyfonts/default.nix
+++ b/pkgs/data/fonts/proggyfonts/default.nix
@@ -2,7 +2,7 @@
# adapted from https://aur.archlinux.org/packages/proggyfonts/
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "proggyfonts-0.1";
src = fetchurl {
diff --git a/pkgs/data/fonts/public-sans/default.nix b/pkgs/data/fonts/public-sans/default.nix
index cfcf2563340..46ebe4dd4b2 100644
--- a/pkgs/data/fonts/public-sans/default.nix
+++ b/pkgs/data/fonts/public-sans/default.nix
@@ -1,8 +1,8 @@
{ lib, fetchzip }:
let
- version = "1.003";
-in fetchzip rec {
+ version = "1.005";
+in fetchzip {
name = "public-sans-${version}";
url = "https://github.com/uswds/public-sans/releases/download/v${version}/public-sans-v${version}.zip";
@@ -12,7 +12,7 @@ in fetchzip rec {
unzip $downloadedFile fonts/{otf,variable}/\*.\[ot\]tf -d $out/share/
'';
- sha256 = "02ranwr1bw4n9n1ljw234nzhj2a0hgradniib37nh10maark5wg3";
+ sha256 = "0s0zgszpi12wanl031gi3j24ci9pkbkhvsxc30skx8s1mj99cd7i";
meta = with lib; {
description = "A strong, neutral, principles-driven, open source typeface for text or display";
diff --git a/pkgs/data/fonts/redhat-liberation-fonts/default.nix b/pkgs/data/fonts/redhat-liberation-fonts/default.nix
index 0ee2a0c308c..6d075424bc5 100644
--- a/pkgs/data/fonts/redhat-liberation-fonts/default.nix
+++ b/pkgs/data/fonts/redhat-liberation-fonts/default.nix
@@ -4,7 +4,7 @@ let
inherit (python3.pkgs) fonttools;
common =
- { version, repo, sha256, nativeBuildInputs, postPatch ? null, outputHash }:
+ { version, repo, sha256, nativeBuildInputs, postPatch ? null }:
stdenv.mkDerivation rec {
pname = "liberation-fonts";
inherit version;
@@ -18,17 +18,15 @@ let
inherit nativeBuildInputs postPatch;
installPhase = ''
- mkdir -p $out/share/fonts/truetype
- cp -v $( find . -name '*.ttf') $out/share/fonts/truetype
+ find . -name '*.ttf' -exec install -m444 -Dt $out/share/fonts/truetype {} \;
- mkdir -p "$out/share/doc/${pname}-${version}"
- cp -v AUTHORS ChangeLog COPYING License.txt README "$out/share/doc/${pname}-${version}" || true
+ install -m444 -Dt $out/share/doc/${pname}-${version} AUTHORS || true
+ install -m444 -Dt $out/share/doc/${pname}-${version} ChangeLog || true
+ install -m444 -Dt $out/share/doc/${pname}-${version} COPYING || true
+ install -m444 -Dt $out/share/doc/${pname}-${version} License.txt || true
+ install -m444 -Dt $out/share/doc/${pname}-${version} README || true
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- inherit outputHash;
-
meta = with stdenv.lib; {
description = "Liberation Fonts, replacements for Times New Roman, Arial, and Courier New";
longDescription = ''
@@ -48,19 +46,17 @@ let
maintainers = [
maintainers.raskin
];
- platforms = platforms.unix;
};
};
in {
- liberation_ttf_v1 = common rec {
+ liberation_ttf_v1 = common {
repo = "liberation-1.7-fonts";
version = "1.07.5";
nativeBuildInputs = [ fontforge ];
sha256 = "1ffl10mf78hx598sy9qr5m6q2b8n3mpnsj73bwixnd4985gsz56v";
- outputHash = "16jn17p22z2vip58aza2dfg1ri31ki6z3hsnmidfqfi7v8k83vq4";
};
- liberation_ttf_v2 = common rec {
+ liberation_ttf_v2 = common {
repo = "liberation-fonts";
version = "2.00.4";
nativeBuildInputs = [ fontforge fonttools ];
@@ -70,6 +66,5 @@ in {
'font = ttLib.TTFont(fontfile, recalcTimestamp=False)'
'';
sha256 = "14bn1zlhyr4qaz5z2sx4h115pnbd41ix1vky8fxm2lx76xrjjiaa";
- outputHash = "14c0c5n4vzd5y0hf9jkh48h12kkd8hlg94npbmv41j449g6wv6vn";
};
}
diff --git a/pkgs/data/fonts/redhat-official/default.nix b/pkgs/data/fonts/redhat-official/default.nix
index c05b9c69aef..33321a2c7fe 100644
--- a/pkgs/data/fonts/redhat-official/default.nix
+++ b/pkgs/data/fonts/redhat-official/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let version = "2.2.0"; in
-fetchzip rec {
+fetchzip {
name = "redhat-official-${version}";
url = "https://github.com/RedHatOfficial/RedHatFont/archive/${version}.zip";
diff --git a/pkgs/data/fonts/ricty/default.nix b/pkgs/data/fonts/ricty/default.nix
index 2667562b1b0..ab794992e45 100644
--- a/pkgs/data/fonts/ricty/default.nix
+++ b/pkgs/data/fonts/ricty/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, google-fonts, migu, fontforge, which }:
stdenv.mkDerivation rec {
- name = "ricty-${version}";
+ pname = "ricty";
version = "4.1.1";
src = fetchurl {
diff --git a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix
index 10d4678de05..2e83d5b12d4 100644
--- a/pkgs/data/fonts/rictydiminished-with-firacode/default.nix
+++ b/pkgs/data/fonts/rictydiminished-with-firacode/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, fontforge, pythonFull }:
stdenv.mkDerivation rec {
- name = "rictydiminished-with-firacode-${version}";
+ pname = "rictydiminished-with-firacode";
version = "0.0.1";
src = fetchgit {
url = "https://github.com/hakatashi/RictyDiminished-with-FiraCode.git";
@@ -22,8 +22,7 @@ stdenv.mkDerivation rec {
'';
installPhase = ''
- mkdir -p $out/share/fonts/rictydiminished-with-firacode
- cp *.ttf $out/share/fonts/rictydiminished-with-firacode
+ install -m444 -Dt $out/share/fonts/rictydiminished-with-firacode *.ttf
'';
nativeBuildInputs = [
@@ -35,10 +34,6 @@ stdenv.mkDerivation rec {
]))
];
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "09ldviapljn4bb1mcxap2pkz7cq3wr2k2qialbnav5y7ii82acd4";
-
meta = with stdenv.lib; {
homepage = https://github.com/hakatashi/RictyDiminished-with-FiraCode;
description = "The best Japanese programming font meets the awesone ligatures of Firacode";
diff --git a/pkgs/data/fonts/roboto-mono/default.nix b/pkgs/data/fonts/roboto-mono/default.nix
index 175acb22d7b..cfd4e3808aa 100644
--- a/pkgs/data/fonts/roboto-mono/default.nix
+++ b/pkgs/data/fonts/roboto-mono/default.nix
@@ -4,8 +4,8 @@ let
# last commit on the directory containing the fonts in the upstream repository
commit = "883939708704a19a295e0652036369d22469e8dc";
in
-stdenv.mkDerivation rec {
- name = "roboto-mono-${version}";
+stdenv.mkDerivation {
+ pname = "roboto-mono";
version = "2016-01-11";
srcs = [
diff --git a/pkgs/data/fonts/roboto-slab/default.nix b/pkgs/data/fonts/roboto-slab/default.nix
index c5ce13ad7ae..f9f6ec342e9 100644
--- a/pkgs/data/fonts/roboto-slab/default.nix
+++ b/pkgs/data/fonts/roboto-slab/default.nix
@@ -4,8 +4,8 @@ let
# last commit on the directory containing the fonts in the upstream repository
commit = "883939708704a19a295e0652036369d22469e8dc";
in
-stdenv.mkDerivation rec {
- name = "roboto-slab-${version}";
+stdenv.mkDerivation {
+ pname = "roboto-slab";
version = "2016-01-11";
srcs = [
diff --git a/pkgs/data/fonts/roboto/default.nix b/pkgs/data/fonts/roboto/default.nix
index 707d31ac531..50629c5f977 100644
--- a/pkgs/data/fonts/roboto/default.nix
+++ b/pkgs/data/fonts/roboto/default.nix
@@ -2,7 +2,7 @@
let
version = "2.138";
-in fetchzip rec {
+in fetchzip {
name = "roboto-${version}";
url = "https://github.com/google/roboto/releases/download/v${version}/roboto-unhinted.zip";
diff --git a/pkgs/data/fonts/route159/default.nix b/pkgs/data/fonts/route159/default.nix
index 1b8d4e60653..cbc89c550b3 100644
--- a/pkgs/data/fonts/route159/default.nix
+++ b/pkgs/data/fonts/route159/default.nix
@@ -6,7 +6,7 @@ let
pname = "route159";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip";
diff --git a/pkgs/data/fonts/sahel-fonts/default.nix b/pkgs/data/fonts/sahel-fonts/default.nix
index 0b90a43ca3e..029ed33611f 100644
--- a/pkgs/data/fonts/sahel-fonts/default.nix
+++ b/pkgs/data/fonts/sahel-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "sahel-fonts";
version = "1.0.0-alpha22";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
diff --git a/pkgs/data/fonts/samim-fonts/default.nix b/pkgs/data/fonts/samim-fonts/default.nix
index dd4a01c782e..d8d3d0d3b5a 100644
--- a/pkgs/data/fonts/samim-fonts/default.nix
+++ b/pkgs/data/fonts/samim-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "samim-fonts";
version = "3.1.0";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
diff --git a/pkgs/data/fonts/sarasa-gothic/default.nix b/pkgs/data/fonts/sarasa-gothic/default.nix
index f46fda0dd31..7e073bf56d3 100644
--- a/pkgs/data/fonts/sarasa-gothic/default.nix
+++ b/pkgs/data/fonts/sarasa-gothic/default.nix
@@ -1,12 +1,12 @@
{ lib, fetchurl, p7zip }:
let
- version = "0.8.0";
-in fetchurl rec {
+ version = "0.8.2";
+in fetchurl {
name = "sarasa-gothic-${version}";
url = "https://github.com/be5invis/Sarasa-Gothic/releases/download/v${version}/sarasa-gothic-ttc-${version}.7z";
- sha256 = "0zafvzrh4180hmz351f1rvs29n8mfxf0qv6mdl7psf1f066dizs6";
+ sha256 = "17xkpklb6spi10132lq658fwvrms3fs7ksb9j098z9vaqad1k51q";
recursiveHash = true;
downloadToTemp = true;
diff --git a/pkgs/data/fonts/seshat/default.nix b/pkgs/data/fonts/seshat/default.nix
index af3c5dd25ee..71483a04cbb 100644
--- a/pkgs/data/fonts/seshat/default.nix
+++ b/pkgs/data/fonts/seshat/default.nix
@@ -6,7 +6,7 @@ let
pname = "seshat";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}.zip";
diff --git a/pkgs/data/fonts/shabnam-fonts/default.nix b/pkgs/data/fonts/shabnam-fonts/default.nix
index 89bca56a53e..5834b797eea 100644
--- a/pkgs/data/fonts/shabnam-fonts/default.nix
+++ b/pkgs/data/fonts/shabnam-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "shabnam-fonts";
version = "4.0.0";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
diff --git a/pkgs/data/fonts/source-sans-pro/default.nix b/pkgs/data/fonts/source-sans-pro/default.nix
index bea5fea0f9d..5186b9fe4a5 100644
--- a/pkgs/data/fonts/source-sans-pro/default.nix
+++ b/pkgs/data/fonts/source-sans-pro/default.nix
@@ -1,9 +1,11 @@
{ lib, fetchzip }:
-fetchzip {
- name = "source-sans-pro-2.045";
+let
+ version = "3.006";
+in fetchzip {
+ name = "source-sans-pro-${version}";
- url = https://github.com/adobe-fonts/source-sans-pro/releases/download/2.045R-ro%2F1.095R-it/source-sans-pro-2.045R-ro-1.095R-it.zip;
+ url = "https://github.com/adobe-fonts/source-sans-pro/releases/download/${version}R/source-sans-pro-${version}R.zip";
postFetch = ''
mkdir -p $out/share/fonts/{opentype,truetype,variable}
@@ -12,7 +14,7 @@ fetchzip {
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
'';
- sha256 = "0xjdp226ybdcfylbpfsdgnz2bf4pj4qv1wfs6fv22hjxlzqfixf3";
+ sha256 = "11jd50cqiq2s0z39rclg73iiw2j5yzgs1glfs9psw5wbbisgysmr";
meta = with lib; {
homepage = https://adobe-fonts.github.io/source-sans-pro/;
diff --git a/pkgs/data/fonts/source-serif-pro/default.nix b/pkgs/data/fonts/source-serif-pro/default.nix
index 87484a99b11..eb776a3df26 100644
--- a/pkgs/data/fonts/source-serif-pro/default.nix
+++ b/pkgs/data/fonts/source-serif-pro/default.nix
@@ -1,20 +1,20 @@
{ lib, fetchzip }:
let
- version = "2.010";
+ version = "3.000";
in fetchzip {
name = "source-serif-pro-${version}";
- url = "https://github.com/adobe-fonts/source-serif-pro/releases/download/${version}R-ro%2F1.010R-it/source-serif-pro-${version}R-ro-1.010R-it.zip";
+ url = "https://github.com/adobe-fonts/source-serif-pro/releases/download/${version}R/source-serif-pro-${version}R.zip";
postFetch = ''
mkdir -p $out/share/fonts/{opentype,truetype,variable}
- unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
- unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
- unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
+ unzip -j $downloadedFile "OTF/*.otf" -d $out/share/fonts/opentype
+ unzip -j $downloadedFile "TTF/*.ttf" -d $out/share/fonts/truetype
+ unzip -j $downloadedFile "VAR/*.otf" -d $out/share/fonts/variable
'';
- sha256 = "1a3lmqk7hyxpfkb30s9z73lhs823dmq6xr5llp9w23g6bh332x2h";
+ sha256 = "06yp8y79mqk02qzp81h8zkmzqqlhicgrkwmzkd0bm338xh8grsiz";
meta = with lib; {
homepage = https://adobe-fonts.github.io/source-serif-pro/;
diff --git a/pkgs/data/fonts/spleen/default.nix b/pkgs/data/fonts/spleen/default.nix
index ed1e1e52e98..f8830bbd211 100644
--- a/pkgs/data/fonts/spleen/default.nix
+++ b/pkgs/data/fonts/spleen/default.nix
@@ -2,22 +2,21 @@
let
pname = "spleen";
- version = "1.0.4";
-in fetchurl rec {
+ version = "1.3.0";
+in fetchurl {
name = "${pname}-${version}";
url = "https://github.com/fcambus/spleen/releases/download/${version}/spleen-${version}.tar.gz";
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
- tar xf $downloadedFile --strip=1
+ tar xvf $downloadedFile --strip=1
d="$out/share/fonts/X11/misc/spleen"
gzip -n9 *.pcf
- install -Dm644 *.pcf.gz -t $d
- install -Dm644 *.bdf -t $d
+ install -Dm644 *.{pcf.gz,psfu,bdf} -t $d
install -m644 fonts.alias-spleen $d/fonts.alias
'';
- sha256 = "0jab55h08gy7gpyxqfrfj30iinmknpllh3dp5g7ck5q3qfgdzh7m";
+ sha256 = "1l1ksl8xnz1yh7jl8h2g25a7wfm9xgj3lay8ddqzlxzydkkm110q";
meta = with lib; {
description = "Monospaced bitmap fonts";
diff --git a/pkgs/data/fonts/stix-otf/default.nix b/pkgs/data/fonts/stix-otf/default.nix
index f5d15439079..f3ff9600f5d 100644
--- a/pkgs/data/fonts/stix-otf/default.nix
+++ b/pkgs/data/fonts/stix-otf/default.nix
@@ -2,7 +2,7 @@
let
version = "1.1.1";
-in fetchzip rec {
+in fetchzip {
name = "stix-otf-${version}";
url = "http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/STIXv${version}-word.zip";
diff --git a/pkgs/data/fonts/sudo/default.nix b/pkgs/data/fonts/sudo/default.nix
index bfc66a77207..359139ec9c6 100644
--- a/pkgs/data/fonts/sudo/default.nix
+++ b/pkgs/data/fonts/sudo/default.nix
@@ -1,11 +1,11 @@
{ lib, fetchzip }:
let
- version = "0.37";
-in fetchzip rec {
+ version = "0.40";
+in fetchzip {
name = "sudo-font-${version}";
url = "https://github.com/jenskutilek/sudo-font/releases/download/v${version}/sudo.zip";
- sha256 = "16x6vs016wz6rmd4p248ri9fn35xq7r3dc8hv4w2c4rz1xl8c099";
+ sha256 = "1nf025sjps4yysf6zkns5fzjgls6xdpifh7bz4ray9x8h5pz0z64";
postFetch = ''
mkdir -p $out/share/fonts/truetype/
diff --git a/pkgs/data/fonts/tenderness/default.nix b/pkgs/data/fonts/tenderness/default.nix
index 958af414ff0..09ea566e738 100644
--- a/pkgs/data/fonts/tenderness/default.nix
+++ b/pkgs/data/fonts/tenderness/default.nix
@@ -6,7 +6,7 @@ let
pname = "tenderness";
in
-fetchzip rec {
+fetchzip {
name = "${pname}-font-${majorVersion}.${minorVersion}";
url = "http://dotcolon.net/DL/font/${pname}_${majorVersion}${minorVersion}.zip";
diff --git a/pkgs/data/fonts/terminus-font-ttf/default.nix b/pkgs/data/fonts/terminus-font-ttf/default.nix
index 211cc73cc9d..bdd0fd7762b 100644
--- a/pkgs/data/fonts/terminus-font-ttf/default.nix
+++ b/pkgs/data/fonts/terminus-font-ttf/default.nix
@@ -2,7 +2,7 @@
let
version = "4.47.0";
-in fetchzip rec {
+in fetchzip {
name = "terminus-font-ttf-${version}";
url = "http://files.ax86.net/terminus-ttf/files/${version}/terminus-ttf-${version}.zip";
diff --git a/pkgs/data/fonts/terminus-font/default.nix b/pkgs/data/fonts/terminus-font/default.nix
index 4198fe2cbe6..358ab959cd0 100644
--- a/pkgs/data/fonts/terminus-font/default.nix
+++ b/pkgs/data/fonts/terminus-font/default.nix
@@ -2,12 +2,11 @@
stdenv.mkDerivation rec {
pname = "terminus-font";
- version = "4.47";
- name = "${pname}-${version}"; # set here for use in URL below
+ version = "4.48"; # set here for use in URL below
src = fetchurl {
- url = "mirror://sourceforge/project/${pname}/${name}/${name}.tar.gz";
- sha256 = "15qjcpalcxjiwsjgjg5k88vkwp56cs2nnx4ghya6mqp4i1c206qg";
+ url = "mirror://sourceforge/project/${pname}/${pname}-${version}/${pname}-${version}.tar.gz";
+ sha256 = "1bwlkj39rqbyq57v5yssayav6hzv1n11b9ml2s0dpiyfsn6rqy9l";
};
nativeBuildInputs = [ python3 bdftopcf mkfontdir mkfontscale ];
diff --git a/pkgs/data/fonts/tlwg/default.nix b/pkgs/data/fonts/tlwg/default.nix
index 494f48fd36e..78700992831 100644
--- a/pkgs/data/fonts/tlwg/default.nix
+++ b/pkgs/data/fonts/tlwg/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, fontforge }:
stdenv.mkDerivation rec {
- name = "tlwg-${version}";
+ pname = "tlwg";
version = "0.6.4";
src = fetchFromGitHub {
diff --git a/pkgs/data/fonts/ttf-bitstream-vera/default.nix b/pkgs/data/fonts/ttf-bitstream-vera/default.nix
index a732b576ffd..f485f43b60c 100644
--- a/pkgs/data/fonts/ttf-bitstream-vera/default.nix
+++ b/pkgs/data/fonts/ttf-bitstream-vera/default.nix
@@ -1,9 +1,12 @@
-{ lib, fetchzip }:
+{ stdenv, fetchzip }:
+let
+ pname = "ttf-bitstream-vera";
+ version = "1.10";
+in
+fetchzip rec {
+ name = "${pname}-${version}";
-fetchzip {
- name = "ttf-bitstream-vera-1.10";
-
- url = mirror://gnome/sources/ttf-bitstream-vera/1.10/ttf-bitstream-vera-1.10.tar.bz2;
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.bz2";
postFetch = ''
tar -xjf $downloadedFile --strip-components=1
diff --git a/pkgs/data/fonts/twitter-color-emoji/default.nix b/pkgs/data/fonts/twitter-color-emoji/default.nix
new file mode 100644
index 00000000000..5c01283d3e9
--- /dev/null
+++ b/pkgs/data/fonts/twitter-color-emoji/default.nix
@@ -0,0 +1,122 @@
+# Based upon https://src.fedoraproject.org/rpms/twitter-twemoji-fonts/tree/454acad50ba584d9602ccd4238fc5e585abc15c9
+# The main difference is that we use “Twitter Color Emoji” name (which is recognized by upstream fontconfig)
+
+{ stdenv
+, fetchFromGitHub
+, cairo
+, imagemagick
+, pkg-config
+, pngquant
+, python2
+, which
+, zopfli
+}:
+
+let
+ version = "12.1.2";
+
+ # Cannot use noto-fonts-emoji.src since it is too old
+ # and still tries to use vendored pngquant.
+ notoSrc = fetchFromGitHub {
+ name = "noto";
+ owner = "googlefonts";
+ repo = "noto-emoji";
+ rev = "833a43d03246a9325e748a2d783006454d76ff66";
+ sha256 = "1g6ikzk8banm3ihqm9g27ggjq2mn1b1hq3zhpl13lxid6mp60s4a";
+ };
+
+ twemojiSrc = fetchFromGitHub {
+ name = "twemoji";
+ owner = "twitter";
+ repo = "twemoji";
+ rev = "v${version}";
+ sha256 = "0vzmlp83vnk4njcfkn03jcc1vkg2rf12zf5kj3p3a373xr4ds1zn";
+ };
+
+ python = python2.withPackages (pp: with pp; [
+ nototools
+ ]);
+in
+stdenv.mkDerivation rec {
+ pname = "twitter-color-emoji";
+ inherit version;
+
+ srcs = [
+ notoSrc
+ twemojiSrc
+ ];
+
+ sourceRoot = notoSrc.name;
+
+ postUnpack = ''
+ chmod -R +w ${twemojiSrc.name}
+ mv ${twemojiSrc.name} ${notoSrc.name}
+ '';
+
+ nativeBuildInputs = [
+ cairo
+ imagemagick
+ pkg-config
+ pngquant
+ python
+ which
+ zopfli
+ ];
+
+ postPatch = let
+ templateSubstitutions = stdenv.lib.concatStringsSep "; " [
+ ''s#Noto Color Emoji#Twitter Color Emoji#''
+ ''s#NotoColorEmoji#TwitterColorEmoji#''
+ ''s#Copyright .* Google Inc\.#Twitter, Inc and other contributors.#''
+ ''s# Version .*# ${version}#''
+ ''s#.*is a trademark.*##''
+ ''s#Google, Inc\.#Twitter, Inc and other contributors#''
+ ''s#http://www.google.com/get/noto/#https://twemoji.twitter.com/#''
+ ''s#.*is licensed under.*# Creative Commons Attribution 4.0 International#''
+ ''s#http://scripts.sil.org/OFL#http://creativecommons.org/licenses/by/4.0/#''
+ ];
+ in ''
+ patchShebangs ./flag_glyph_name.py
+
+ sed '${templateSubstitutions}' NotoColorEmoji.tmpl.ttx.tmpl > TwitterColorEmoji.tmpl.ttx.tmpl
+ pushd ${twemojiSrc.name}/assets/72x72/
+ for png in *.png; do
+ mv $png emoji_u''${png//-/_}
+ done
+ popd
+ '';
+
+ makeFlags = [
+ "EMOJI=TwitterColorEmoji"
+ "EMOJI_SRC_DIR=${twemojiSrc.name}/assets/72x72"
+ "BODY_DIMENSIONS=76x72"
+ ];
+
+ enableParallelBuilding = true;
+
+ installPhase = ''
+ install -Dm644 TwitterColorEmoji.ttf $out/share/fonts/truetype/TwitterColorEmoji.ttf
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Color emoji font with a flat visual style, designed and used by Twitter";
+ longDescription = ''
+ A bitmap color emoji font built from the Twitter Emoji for
+ Everyone artwork with support for ZWJ, skin tone diversity and country
+ flags.
+
+ This font uses Google’s CBDT format making it work on Android and Linux graphical stack.
+ '';
+ homepage = "https://twemoji.twitter.com/";
+ # In noto-emoji-fonts source
+ ## noto-emoji code is in ASL 2.0 license
+ ## Emoji fonts are under OFL license
+ ### third_party color-emoji code is in ASL 2.0 license
+ ### third_party region-flags code is in Public Domain license
+ # In twemoji source
+ ## Artwork is Creative Commons Attribution 4.0 International
+ ## Non-artwork is MIT
+ license = with licenses; [ asl20 ofl cc-by-40 mit ];
+ maintainers = with maintainers; [ jtojnar ];
+ };
+}
diff --git a/pkgs/data/fonts/ubuntu-font-family/default.nix b/pkgs/data/fonts/ubuntu-font-family/default.nix
index 5f072f90f05..7c90c16d4d1 100644
--- a/pkgs/data/fonts/ubuntu-font-family/default.nix
+++ b/pkgs/data/fonts/ubuntu-font-family/default.nix
@@ -1,6 +1,6 @@
{ lib, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "ubuntu-font-family-0.83";
url = "https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip";
diff --git a/pkgs/data/fonts/ucs-fonts/default.nix b/pkgs/data/fonts/ucs-fonts/default.nix
index 996d1192397..0ea0363763d 100644
--- a/pkgs/data/fonts/ucs-fonts/default.nix
+++ b/pkgs/data/fonts/ucs-fonts/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, mkfontdir, mkfontscale }:
-stdenv.mkDerivation rec {
- name = "ucs-fonts-${version}";
+stdenv.mkDerivation {
+ pname = "ucs-fonts";
version = "20090406";
srcs = [
diff --git a/pkgs/data/fonts/ultimate-oldschool-pc-font-pack/default.nix b/pkgs/data/fonts/ultimate-oldschool-pc-font-pack/default.nix
index 35551e929e6..f9045794fe1 100644
--- a/pkgs/data/fonts/ultimate-oldschool-pc-font-pack/default.nix
+++ b/pkgs/data/fonts/ultimate-oldschool-pc-font-pack/default.nix
@@ -3,7 +3,7 @@
let
version = "1.0";
in
-fetchzip rec {
+fetchzip {
name = "ultimate-oldschool-pc-font-pack-${version}";
url = "http://int10h.org/oldschool-pc-fonts/download/ultimate_oldschool_pc_font_pack_v${version}.zip";
sha256 = "0hid4dgqfy2w26734vcw2rxmpacd9vd1r2qpdr9ww1n3kgc92k9y";
diff --git a/pkgs/data/fonts/unifont/default.nix b/pkgs/data/fonts/unifont/default.nix
index d495efc79ec..a80beee342b 100644
--- a/pkgs/data/fonts/unifont/default.nix
+++ b/pkgs/data/fonts/unifont/default.nix
@@ -1,17 +1,17 @@
{ stdenv, fetchurl, mkfontscale, mkfontdir }:
stdenv.mkDerivation rec {
- name = "unifont-${version}";
- version = "12.1.01";
+ pname = "unifont";
+ version = "12.1.03";
ttf = fetchurl {
- url = "mirror://gnu/unifont/${name}/${name}.ttf";
- sha256 = "05knv3vlnk8ahaybwz6r95d3a1h7h7q9ll6ij2jl7zgjhcx4zy5d";
+ url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.ttf";
+ sha256 = "10igjlf05d97h3vcggr2ahxmq9ljby4ypja2g4s9bvxs2w1si51p";
};
pcf = fetchurl {
- url = "mirror://gnu/unifont/${name}/${name}.pcf.gz";
- sha256 = "0q7dlnfzk49m4pgf2s7jv05jysa6sfxx3w0y17yis9j7g18lyw1b";
+ url = "mirror://gnu/unifont/${pname}-${version}/${pname}-${version}.pcf.gz";
+ sha256 = "1cd1fnk3m7giqp099kynnjj4m7q00lqm4ybqb1vzd2wi3j4a1awf";
};
nativeBuildInputs = [ mkfontscale mkfontdir ];
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
outputHashAlgo = "sha256";
outputHashMode = "recursive";
- outputHash = "0sgdr9dma4hkda3siydfvjrnzrpri8r7iqs2zqf77z9n4zn90qp5";
+ outputHash = "0n3ms2k2mk7j6144l05c45smggwf3j5cwkaxhw93wf9hd1lhpwq1";
meta = with stdenv.lib; {
description = "Unicode font for Base Multilingual Plane";
diff --git a/pkgs/data/fonts/unifont_upper/default.nix b/pkgs/data/fonts/unifont_upper/default.nix
index 5cccc1eddc6..21d31914479 100644
--- a/pkgs/data/fonts/unifont_upper/default.nix
+++ b/pkgs/data/fonts/unifont_upper/default.nix
@@ -1,7 +1,7 @@
{ lib, fetchzip }:
let
- version = "12.1.01";
+ version = "12.1.03";
in fetchzip rec {
name = "unifont_upper-${version}";
@@ -9,7 +9,7 @@ in fetchzip rec {
postFetch = "install -Dm644 $downloadedFile $out/share/fonts/truetype/unifont_upper.ttf";
- sha256 = "11b14ka2w16vssxdhgq7k9bx7xx0sr36hfi2vzyimmaibasi1r74";
+ sha256 = "1w0bg276cyv6xs6clld8gv4w88rj9fw9rc8zs9ahc6y9hv677knj";
meta = with lib; {
description = "Unicode font for glyphs above the Unicode Basic Multilingual Plane";
diff --git a/pkgs/data/fonts/unscii/default.nix b/pkgs/data/fonts/unscii/default.nix
index c4969d046d4..cd4d0dc42cd 100644
--- a/pkgs/data/fonts/unscii/default.nix
+++ b/pkgs/data/fonts/unscii/default.nix
@@ -1,32 +1,25 @@
{stdenv, fetchurl, perl, bdftopcf, perlPackages, fontforge, SDL, SDL_image}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "unscii";
version = "1.1";
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
src = fetchurl {
- url = "http://pelulamu.net/${pname}/${name}-src.tar.gz";
+ url = "http://pelulamu.net/${pname}/${pname}-${version}-src.tar.gz";
sha256 = "0qcxcnqz2nlwfzlrn115kkp3n8dd7593h762vxs6vfqm13i39lq1";
};
- nativeBuildInputs = [perl bdftopcf perlPackages.TextCharWidth fontforge
+ nativeBuildInputs = [perl bdftopcf perlPackages.TextCharWidth fontforge
SDL SDL_image];
preConfigure = ''
patchShebangs .
'';
installPhase = ''
- mkdir -p "$out/share/fonts"/{truetype,opentype,web,svg}
- cp *.hex "$out/share/fonts/"
- cp *.pcf "$out/share/fonts/"
- cp *.ttf "$out/share/fonts/truetype"
- cp *.otf "$out/share/fonts/opentype"
- cp *.svg "$out/share/fonts/svg"
- cp *.woff "$out/share/fonts/web"
+ install -m444 -Dt $out/share/fonts *.hex *.pcf
+ install -m444 -Dt $out/share/fonts/truetype *.ttf
+ install -m444 -Dt $out/share/fonts/opentype *.otf
+ install -m444 -Dt $out/share/fonts/svg *.svg
+ install -m444 -Dt $out/share/fonts/web *.woff
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "03zvczdka665zcyf9fjrnx434mwpr5q8396j34kjmc67w7nhc49r";
-
meta = {
inherit version;
description = ''Bitmapped character-art-friendly Unicode fonts'';
@@ -34,7 +27,6 @@ stdenv.mkDerivation rec {
# version. The reduced version is public domain.
license = http://unifoundry.com/LICENSE.txt;
maintainers = [stdenv.lib.maintainers.raskin];
- platforms = stdenv.lib.platforms.linux;
homepage = http://pelulamu.net/unscii/;
};
}
diff --git a/pkgs/data/fonts/vazir-fonts/default.nix b/pkgs/data/fonts/vazir-fonts/default.nix
index d004e75571b..f3986753809 100755
--- a/pkgs/data/fonts/vazir-fonts/default.nix
+++ b/pkgs/data/fonts/vazir-fonts/default.nix
@@ -3,7 +3,7 @@
let
pname = "vazir-fonts";
version = "19.2.0";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "rastikerdar";
diff --git a/pkgs/data/fonts/vdrsymbols/default.nix b/pkgs/data/fonts/vdrsymbols/default.nix
index 01a4072099a..fd74897077f 100644
--- a/pkgs/data/fonts/vdrsymbols/default.nix
+++ b/pkgs/data/fonts/vdrsymbols/default.nix
@@ -1,6 +1,6 @@
{ lib, fetchzip }:
-fetchzip rec {
+fetchzip {
name = "vdrsymbols-20100612";
url = http://andreas.vdr-developer.org/fonts/download/vdrsymbols-ttf-20100612.tgz;
diff --git a/pkgs/data/fonts/victor-mono/default.nix b/pkgs/data/fonts/victor-mono/default.nix
new file mode 100644
index 00000000000..e886ad7578e
--- /dev/null
+++ b/pkgs/data/fonts/victor-mono/default.nix
@@ -0,0 +1,39 @@
+{ lib, fetchFromGitHub }:
+
+let
+ pname = "victor-mono";
+ version = "1.2.5";
+in fetchFromGitHub rec {
+ name = "${pname}-${version}";
+
+ owner = "rubjo";
+ repo = pname;
+ rev = "v${version}";
+
+ # Upstream prefers we download from the website,
+ # but we really insist on a more versioned resource.
+ # Happily, tagged releases on github contain the same
+ # file `VictorMonoAll.zip` as from the website,
+ # so we extract it from the tagged release.
+ # Both methods produce the same file, but this way
+ # we can safely reason about what version it is.
+ postFetch = ''
+ tar xvf $downloadedFile --strip-components=2 ${name}/public/VictorMonoAll.zip
+
+ mkdir -p $out/share/fonts/{true,open}type/${pname}
+
+ unzip -j VictorMonoAll.zip \*.ttf -d $out/share/fonts/truetype/${pname}
+ unzip -j VictorMonoAll.zip \*.otf -d $out/share/fonts/opentype/${pname}
+ '';
+
+ sha256 = "0dj5h45qk6abggj6mgm19sb0a7q0v4x41f2zds1ab79yd22gbjns";
+
+ meta = with lib; {
+ description = "Free programming font with cursive italics and ligatures";
+ homepage = "https://rubjo.github.io/victor-mono";
+ license = with licenses; [ mit ];
+ maintainers = with maintainers; [ jpotier dtzWill ];
+ platforms = platforms.all;
+ };
+}
+
diff --git a/pkgs/data/fonts/xits-math/default.nix b/pkgs/data/fonts/xits-math/default.nix
index 25431c7f9d7..24e9f2a3935 100644
--- a/pkgs/data/fonts/xits-math/default.nix
+++ b/pkgs/data/fonts/xits-math/default.nix
@@ -1,35 +1,26 @@
{ stdenv, fetchFromGitHub, python2Packages, fontforge }:
stdenv.mkDerivation rec {
- name = "xits-math-${version}";
- version = "1.108";
+ pname = "xits-math";
+ version = "1.200";
src = fetchFromGitHub {
- owner = "khaledhosny";
- repo = "xits-math";
+ owner = "alif-type";
+ repo = "xits";
rev = "v${version}";
- sha256 = "08nn676c41a7gmmhrzi8mm0g74z8aiaafjk48pqcwxvjj9av7xjg";
+ sha256 = "0s1qqqg3zv9k4wqn1vkx0z895fjccg96n58syc1d5f2wba9kyfcm";
};
nativeBuildInputs = [ fontforge ] ++ (with python2Packages; [ python fonttools ]);
postPatch = ''
rm *.otf
-
- substituteInPlace tools/postprocess.py --replace \
- 'font = ttLib.TTFont(sys.argv[1])' \
- 'font = ttLib.TTFont(sys.argv[1], recalcTimestamp=False)'
'';
installPhase = ''
- mkdir -p $out/share/fonts/opentype
- cp *.otf $out/share/fonts/opentype
+ install -m444 -Dt $out/share/fonts/opentype *.otf
'';
- outputHashAlgo = "sha256";
- outputHashMode = "recursive";
- outputHash = "00xycmb9ka67j5s66nkng53y8q6362igisxz04zb58r2717jk50m";
-
meta = with stdenv.lib; {
homepage = https://github.com/khaledhosny/xits-math;
description = "OpenType implementation of STIX fonts with math support";
diff --git a/pkgs/data/fonts/xkcd-font/default.nix b/pkgs/data/fonts/xkcd-font/default.nix
index 0e996da2fc7..e5dd11db72a 100644
--- a/pkgs/data/fonts/xkcd-font/default.nix
+++ b/pkgs/data/fonts/xkcd-font/default.nix
@@ -3,7 +3,7 @@
let
pname = "xkcd-font";
version = "unstable-2017-08-24";
-in fetchFromGitHub rec {
+in fetchFromGitHub {
name = "${pname}-${version}";
owner = "ipython";
diff --git a/pkgs/data/icons/bibata-cursors/default.nix b/pkgs/data/icons/bibata-cursors/default.nix
index ce7bb11522b..2e99c3d9232 100644
--- a/pkgs/data/icons/bibata-cursors/default.nix
+++ b/pkgs/data/icons/bibata-cursors/default.nix
@@ -1,7 +1,7 @@
{ fetchFromGitHub, gnome-themes-extra, inkscape, stdenv, xcursorgen }:
stdenv.mkDerivation rec {
- name = "bibata-cursors-${version}";
+ pname = "bibata-cursors";
version = "0.4.1";
src = fetchFromGitHub {
diff --git a/pkgs/data/icons/elementary-xfce-icon-theme/default.nix b/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
index d4a15a105cd..5a566bef6ef 100644
--- a/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
+++ b/pkgs/data/icons/elementary-xfce-icon-theme/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, pkgconfig, gdk_pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
+{ stdenv, fetchFromGitHub, pkgconfig, gdk-pixbuf, optipng, librsvg, gtk3, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "elementary-xfce-icon-theme-${version}";
+ pname = "elementary-xfce-icon-theme";
version = "0.13.1";
src = fetchFromGitHub {
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "16msdrazhbv80cvh5ffvgj13xmkpf87r7mq6xz071fza6nv7g0jn";
};
- nativeBuildInputs = [ pkgconfig gdk_pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
+ nativeBuildInputs = [ pkgconfig gdk-pixbuf librsvg optipng gtk3 hicolor-icon-theme ];
postPatch = ''
substituteInPlace svgtopng/Makefile --replace "-O0" "-O"
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "Elementary icons for Xfce and other GTK+ desktops like GNOME";
+ description = "Elementary icons for Xfce and other GTK desktops like GNOME";
homepage = https://github.com/shimmerproject/elementary-xfce;
license = licenses.gpl2;
# darwin cannot deal with file names differing only in case
diff --git a/pkgs/data/icons/faba-mono-icons/default.nix b/pkgs/data/icons/faba-mono-icons/default.nix
index a4ffefe1f26..99488a26f2b 100644
--- a/pkgs/data/icons/faba-mono-icons/default.nix
+++ b/pkgs/data/icons/faba-mono-icons/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gtk3, moka-icon-theme }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "faba-mono-icons";
version = "2016-04-30";
diff --git a/pkgs/data/icons/iconpack-obsidian/default.nix b/pkgs/data/icons/iconpack-obsidian/default.nix
index ee45a186f29..f7015621853 100644
--- a/pkgs/data/icons/iconpack-obsidian/default.nix
+++ b/pkgs/data/icons/iconpack-obsidian/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gtk3 }:
stdenv.mkDerivation rec {
- name = "iconpack-obsidian-${version}";
+ pname = "iconpack-obsidian";
version = "4.3";
src = fetchFromGitHub {
diff --git a/pkgs/data/icons/maia-icon-theme/default.nix b/pkgs/data/icons/maia-icon-theme/default.nix
index 7b4ed7a6680..a623af20604 100644
--- a/pkgs/data/icons/maia-icon-theme/default.nix
+++ b/pkgs/data/icons/maia-icon-theme/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitLab, cmake, extra-cmake-modules, gtk3, kdeFrameworks, hicolor-icon-theme }:
-stdenv.mkDerivation rec {
- name = "maia-icon-theme-${version}";
+stdenv.mkDerivation {
+ pname = "maia-icon-theme";
version = "2018-02-24";
src = fetchFromGitLab {
diff --git a/pkgs/data/icons/moka-icon-theme/default.nix b/pkgs/data/icons/moka-icon-theme/default.nix
index 17892679a7e..83c4b19472a 100644
--- a/pkgs/data/icons/moka-icon-theme/default.nix
+++ b/pkgs/data/icons/moka-icon-theme/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, meson, ninja, gtk3, python3, faba-icon-theme }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "moka-icon-theme";
version = "5.4.0";
diff --git a/pkgs/data/icons/numix-icon-theme/default.nix b/pkgs/data/icons/numix-icon-theme/default.nix
index 1a2eb6504d9..e41373f536f 100644
--- a/pkgs/data/icons/numix-icon-theme/default.nix
+++ b/pkgs/data/icons/numix-icon-theme/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, gtk3, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "numix-icon-theme";
version = "18.07.17";
diff --git a/pkgs/data/icons/paper-icon-theme/default.nix b/pkgs/data/icons/paper-icon-theme/default.nix
index de808e44ea6..5359b2229f3 100644
--- a/pkgs/data/icons/paper-icon-theme/default.nix
+++ b/pkgs/data/icons/paper-icon-theme/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, meson, ninja, gtk3, python3 }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "paper-icon-theme";
version = "2018-06-24";
diff --git a/pkgs/data/icons/papirus-icon-theme/default.nix b/pkgs/data/icons/papirus-icon-theme/default.nix
index b13dcf9b422..3f9cff62ee4 100644
--- a/pkgs/data/icons/papirus-icon-theme/default.nix
+++ b/pkgs/data/icons/papirus-icon-theme/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, gtk3 }:
stdenv.mkDerivation rec {
- name = "papirus-icon-theme-${version}";
- version = "20190501";
+ pname = "papirus-icon-theme";
+ version = "20190802";
src = fetchFromGitHub {
owner = "PapirusDevelopmentTeam";
- repo = "papirus-icon-theme";
+ repo = pname;
rev = version;
- sha256 = "1sdzbvlzzg42vqahjqcsj6v87y1xhchw7bgiv8jgwd2n4l3gg2zy";
+ sha256 = "1i6nh1vy2cjqh4fw1mzq5v4ah613ghf018g8w0npxhj9qi3pyjm5";
};
nativeBuildInputs = [ gtk3 ];
@@ -28,6 +28,8 @@ stdenv.mkDerivation rec {
description = "Papirus icon theme";
homepage = https://github.com/PapirusDevelopmentTeam/papirus-icon-theme;
license = licenses.lgpl3;
- platforms = platforms.all;
+ # darwin gives hash mismatch in source, probably because of file names differing only in case
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ romildo ];
};
}
diff --git a/pkgs/data/icons/vanilla-dmz/default.nix b/pkgs/data/icons/vanilla-dmz/default.nix
index b6def37def6..c4a8fd44a61 100644
--- a/pkgs/data/icons/vanilla-dmz/default.nix
+++ b/pkgs/data/icons/vanilla-dmz/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchzip, xorg }:
stdenv.mkDerivation rec {
- name = "vanilla-dmz-${version}";
+ pname = "vanilla-dmz";
version = "0.4.4";
src = fetchzip {
url = "http://ftp.de.debian.org/debian/pool/main/d/dmz-cursor-theme/dmz-cursor-theme_${version}.tar.gz";
diff --git a/pkgs/data/machine-learning/mnist/default.nix b/pkgs/data/machine-learning/mnist/default.nix
index 26b06b4e652..fe9e83492e4 100644
--- a/pkgs/data/machine-learning/mnist/default.nix
+++ b/pkgs/data/machine-learning/mnist/default.nix
@@ -20,7 +20,7 @@ let
};
in
stdenvNoCC.mkDerivation rec {
- name = "mnist-${version}";
+ pname = "mnist";
version = "2018-11-16";
installPhase = ''
mkdir -p $out
diff --git a/pkgs/data/misc/adapta-backgrounds/default.nix b/pkgs/data/misc/adapta-backgrounds/default.nix
index 41f704e750c..1c35d3deef9 100644
--- a/pkgs/data/misc/adapta-backgrounds/default.nix
+++ b/pkgs/data/misc/adapta-backgrounds/default.nix
@@ -1,23 +1,23 @@
-{ stdenv, fetchFromGitHub, autoreconfHook }:
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, glib }:
stdenv.mkDerivation rec {
- name = "adapta-backgrounds-${version}";
- version = "0.5.2.3";
+ pname = "adapta-backgrounds";
+ version = "0.5.3.1";
src = fetchFromGitHub {
owner = "adapta-project";
repo = "adapta-backgrounds";
rev = version;
- sha256 = "0n0ggcxinja81lasmpviqq3l4jiwb05bs8r5aah1im2zvls1g007";
+ sha256 = "04hmbmzf97rsii8gpwy3wkljy5xhxmlsl34d63s6hfy05knclydj";
};
- nativeBuildInputs = [ autoreconfHook ];
+ nativeBuildInputs = [ meson ninja pkgconfig glib ];
meta = with stdenv.lib; {
description = "Wallpaper collection for adapta-project";
- homepage = https://github.com/adapta-project/adapta-backgrounds;
+ homepage = "https://github.com/adapta-project/adapta-backgrounds";
license = with licenses; [ gpl2 cc-by-sa-40 ];
platforms = platforms.all;
- maintainers = [ maintainers.romildo ];
+ maintainers = with maintainers; [ romildo ];
};
}
diff --git a/pkgs/data/misc/brise/default.nix b/pkgs/data/misc/brise/default.nix
index 54b54d278ff..f1e0604acf8 100644
--- a/pkgs/data/misc/brise/default.nix
+++ b/pkgs/data/misc/brise/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, librime }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "brise-unstable-2017-09-16";
src = fetchFromGitHub {
diff --git a/pkgs/data/misc/cacert/default.nix b/pkgs/data/misc/cacert/default.nix
index a99df2e7bd6..99739646a8b 100644
--- a/pkgs/data/misc/cacert/default.nix
+++ b/pkgs/data/misc/cacert/default.nix
@@ -15,7 +15,7 @@ let
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "nss-cacert-${nss.version}";
src = nss.src;
diff --git a/pkgs/data/misc/cacert/setup-hook.sh b/pkgs/data/misc/cacert/setup-hook.sh
index b704a6a919e..e969596752f 100644
--- a/pkgs/data/misc/cacert/setup-hook.sh
+++ b/pkgs/data/misc/cacert/setup-hook.sh
@@ -1,4 +1,6 @@
cacertHook() {
+ export NIX_SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
+ # left for compatibility
export SSL_CERT_FILE=@out@/etc/ssl/certs/ca-bundle.crt
}
diff --git a/pkgs/data/misc/combinatorial_designs/default.nix b/pkgs/data/misc/combinatorial_designs/default.nix
index 18331b5ada9..5df7343f3be 100644
--- a/pkgs/data/misc/combinatorial_designs/default.nix
+++ b/pkgs/data/misc/combinatorial_designs/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "combinatorial_designs-${version}";
+ pname = "combinatorial_designs";
version = "20140630";
src = fetchurl {
diff --git a/pkgs/data/misc/conway_polynomials/default.nix b/pkgs/data/misc/conway_polynomials/default.nix
index fec422b33ac..48b538fe183 100644
--- a/pkgs/data/misc/conway_polynomials/default.nix
+++ b/pkgs/data/misc/conway_polynomials/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "conway_polynomials-${version}";
+ pname = "conway_polynomials";
version = "0.5";
pythonEnv = python.withPackages (ps: with ps; [ six ]);
diff --git a/pkgs/data/misc/elliptic_curves/default.nix b/pkgs/data/misc/elliptic_curves/default.nix
index 528486328c6..49b8736b084 100644
--- a/pkgs/data/misc/elliptic_curves/default.nix
+++ b/pkgs/data/misc/elliptic_curves/default.nix
@@ -6,7 +6,6 @@
stdenv.mkDerivation rec {
pname = "elliptic_curves";
version = "0.8";
- name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
diff --git a/pkgs/data/misc/geolite-legacy/default.nix b/pkgs/data/misc/geolite-legacy/default.nix
index 309ae47a851..8cbd526f3d3 100644
--- a/pkgs/data/misc/geolite-legacy/default.nix
+++ b/pkgs/data/misc/geolite-legacy/default.nix
@@ -6,8 +6,8 @@ let
url = "https://geolite.maxmind.com/download/geoip/database/${src}";
};
in
-stdenv.mkDerivation rec {
- name = "geolite-legacy-${version}";
+stdenv.mkDerivation {
+ pname = "geolite-legacy";
version = "2017-12-02";
srcGeoIP = fetchDB
diff --git a/pkgs/data/misc/graphs/default.nix b/pkgs/data/misc/graphs/default.nix
index aea5feef46c..14551c6a4a4 100644
--- a/pkgs/data/misc/graphs/default.nix
+++ b/pkgs/data/misc/graphs/default.nix
@@ -5,7 +5,6 @@
stdenv.mkDerivation rec {
pname = "graphs";
version = "20161026";
- name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
diff --git a/pkgs/data/misc/hackage/default.nix b/pkgs/data/misc/hackage/default.nix
index 78f660ae443..3500eaa6326 100644
--- a/pkgs/data/misc/hackage/default.nix
+++ b/pkgs/data/misc/hackage/default.nix
@@ -1,6 +1,6 @@
{ fetchurl }:
fetchurl {
- url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/85d71d5231521c70b961570dbbee953253fb379b.tar.gz";
- sha256 = "1mdp2ivnx7wvd63bq1li9gpsm5sv1s167crv1jjlqw578lbi8hv7";
+ url = "https://github.com/commercialhaskell/all-cabal-hashes/archive/93bcfb09798da885d29304fa4dab1e234e3b728e.tar.gz";
+ sha256 = "1mv5kxqldakapzbmch2b88mynng268njq3dxbkmyzli8fwnllra2";
}
diff --git a/pkgs/data/misc/iana-etc/default.nix b/pkgs/data/misc/iana-etc/default.nix
index 163f230e077..3124b57ac2b 100644
--- a/pkgs/data/misc/iana-etc/default.nix
+++ b/pkgs/data/misc/iana-etc/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchzip }:
let
- version = "20190504";
+ version = "20190731";
in fetchzip {
name = "iana-etc-${version}";
url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz";
- sha256 = "1h61qnb3ybyfivyq8qjnisj4arbnhn8hcwad1bp4iqidjk6rjfv3";
+ sha256 = "0vqr4zm53zn7z75ynmf59xfrlhpyk8f41xd6i4v8j0f7k6hfdvpi";
postFetch = ''
tar -xzvf $downloadedFile --strip-components=1
diff --git a/pkgs/data/misc/libkkc-data/default.nix b/pkgs/data/misc/libkkc-data/default.nix
index 343071fcf59..cb446e9b0bc 100644
--- a/pkgs/data/misc/libkkc-data/default.nix
+++ b/pkgs/data/misc/libkkc-data/default.nix
@@ -3,10 +3,9 @@
stdenv.mkDerivation rec {
pname = "libkkc-data";
version = "0.2.7";
- name = "${pname}-${version}";
src = fetchurl {
- url = "${meta.homepage}/releases/download/v${libkkc.version}/${name}.tar.xz";
+ url = "${meta.homepage}/releases/download/v${libkkc.version}/${pname}-${version}.tar.xz";
sha256 = "16avb50jasq2f1n9xyziky39dhlnlad0991pisk3s11hl1aqfrwy";
};
diff --git a/pkgs/data/misc/nixos-artwork/default.nix b/pkgs/data/misc/nixos-artwork/default.nix
index 71fe32c1066..4814232fbfe 100644
--- a/pkgs/data/misc/nixos-artwork/default.nix
+++ b/pkgs/data/misc/nixos-artwork/default.nix
@@ -1,5 +1,5 @@
{ callPackage }:
-rec {
+{
wallpapers = callPackage ./wallpapers.nix { };
}
diff --git a/pkgs/data/misc/nixos-artwork/wallpapers.nix b/pkgs/data/misc/nixos-artwork/wallpapers.nix
index 50f874baa4a..3983869a452 100644
--- a/pkgs/data/misc/nixos-artwork/wallpapers.nix
+++ b/pkgs/data/misc/nixos-artwork/wallpapers.nix
@@ -6,7 +6,7 @@ let
stdenv.mkDerivation {
inherit name src;
- unpackPhase = "true";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/share/artwork/gnome
diff --git a/pkgs/data/misc/osinfo-db/default.nix b/pkgs/data/misc/osinfo-db/default.nix
index 0cb3ae5136f..b41c4a4c5aa 100644
--- a/pkgs/data/misc/osinfo-db/default.nix
+++ b/pkgs/data/misc/osinfo-db/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "osinfo-db";
- version = "20190504";
+ version = "20190805";
src = fetchurl {
url = "https://releases.pagure.org/libosinfo/${pname}-${version}.tar.xz";
- sha256 = "1yik26gbm3y3wviyabfpyx7pnqx72z5j7267hdgfscdvrwwmyi5z";
+ sha256 = "1la80kmh58nrra8aa4grv31gc7xbqbybl8q1m4yv0byb11slg93x";
};
nativeBuildInputs = [ osinfo-db-tools intltool libxml2 ];
diff --git a/pkgs/data/misc/pari-galdata/default.nix b/pkgs/data/misc/pari-galdata/default.nix
index 222fd2f8870..2535e8cfc25 100644
--- a/pkgs/data/misc/pari-galdata/default.nix
+++ b/pkgs/data/misc/pari-galdata/default.nix
@@ -2,9 +2,9 @@
, fetchurl
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "20080411";
- name = "pari-galdata-${version}";
+ pname = "pari-galdata";
src = fetchurl {
url = "http://pari.math.u-bordeaux.fr/pub/pari/packages/galdata.tgz";
diff --git a/pkgs/data/misc/pari-seadata-small/default.nix b/pkgs/data/misc/pari-seadata-small/default.nix
index 967122c1bd4..3470a0804f7 100644
--- a/pkgs/data/misc/pari-seadata-small/default.nix
+++ b/pkgs/data/misc/pari-seadata-small/default.nix
@@ -2,9 +2,9 @@
, fetchurl
}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "20090618";
- name = "pari-seadata-small-${version}";
+ pname = "pari-seadata-small";
src = fetchurl {
url = "http://pari.math.u-bordeaux.fr/pub/pari/packages/seadata-small.tgz";
diff --git a/pkgs/data/misc/polytopes_db/default.nix b/pkgs/data/misc/polytopes_db/default.nix
index 85f2cff09db..8fec9a85426 100644
--- a/pkgs/data/misc/polytopes_db/default.nix
+++ b/pkgs/data/misc/polytopes_db/default.nix
@@ -5,7 +5,6 @@
stdenv.mkDerivation rec {
pname = "polytopes_db";
version = "20170220";
- name = "${pname}-${version}";
src = fetchurl {
url = "mirror://sageupstream/${pname}/${pname}-${version}.tar.bz2";
diff --git a/pkgs/data/misc/publicsuffix-list/default.nix b/pkgs/data/misc/publicsuffix-list/default.nix
new file mode 100644
index 00000000000..ca79e251f28
--- /dev/null
+++ b/pkgs/data/misc/publicsuffix-list/default.nix
@@ -0,0 +1,25 @@
+{ lib, fetchFromGitHub }:
+
+let
+ pname = "publicsuffix-list";
+ version = "2019-05-24";
+in fetchFromGitHub {
+ name = "${pname}-${version}";
+ owner = "publicsuffix";
+ repo = "list";
+ rev = "a1db0e898956e126de65be1a5e977fbbbbeebe33";
+ sha256 = "092153w2jr7nx28p9wc9k6b5azi9c39ghnqfnfiwfzv1j8jm3znq";
+
+ postFetch = ''
+ tar xf $downloadedFile --strip=1
+ install -Dm0444 public_suffix_list.dat tests/test_psl.txt -t $out/share/publicsuffix
+ '';
+
+ meta = with lib; {
+ homepage = "https://publicsuffix.org/";
+ description = "Cross-vendor public domain suffix database";
+ platforms = platforms.all;
+ license = licenses.mpl20;
+ maintainers = [ maintainers.c0bw3b ];
+ };
+}
diff --git a/pkgs/data/misc/scowl/default.nix b/pkgs/data/misc/scowl/default.nix
index c90b8aa7e37..f15a7534e26 100644
--- a/pkgs/data/misc/scowl/default.nix
+++ b/pkgs/data/misc/scowl/default.nix
@@ -3,7 +3,6 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "scowl";
version = "2018.04.16";
diff --git a/pkgs/data/misc/shared-mime-info/default.nix b/pkgs/data/misc/shared-mime-info/default.nix
index 6d29d876073..6569efa2cde 100644
--- a/pkgs/data/misc/shared-mime-info/default.nix
+++ b/pkgs/data/misc/shared-mime-info/default.nix
@@ -2,8 +2,9 @@
, libxml2, glib}:
let version = "1.12"; in
-stdenv.mkDerivation rec {
- name = "shared-mime-info-${version}";
+stdenv.mkDerivation {
+ pname = "shared-mime-info";
+ inherit version;
src = fetchurl {
url = "https://gitlab.freedesktop.org/xdg/shared-mime-info/uploads/80c7f1afbcad2769f38aeb9ba6317a51/shared-mime-info-1.12.tar.xz";
@@ -19,6 +20,6 @@ stdenv.mkDerivation rec {
homepage = http://freedesktop.org/wiki/Software/shared-mime-info;
license = licenses.gpl2Plus;
platforms = platforms.unix;
- maintainers = [ maintainers.mimadrid ];
+ maintainers = [ maintainers.mimame ];
};
}
diff --git a/pkgs/data/misc/sound-theme-freedesktop/default.nix b/pkgs/data/misc/sound-theme-freedesktop/default.nix
index 043d3d65b84..355a2c2c577 100644
--- a/pkgs/data/misc/sound-theme-freedesktop/default.nix
+++ b/pkgs/data/misc/sound-theme-freedesktop/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
- name = "sound-theme-freedesktop-${version}";
+ pname = "sound-theme-freedesktop";
version = "0.8";
src = fetchurl {
sha256 = "054abv4gmfk9maw93fis0bf605rc56dah7ys5plc4pphxqh8nlfb";
- url = "https://people.freedesktop.org/~mccann/dist/${name}.tar.bz2";
+ url = "https://people.freedesktop.org/~mccann/dist/${pname}-${version}.tar.bz2";
};
nativeBuildInputs = [ intltool ];
diff --git a/pkgs/data/misc/tzdata/default.nix b/pkgs/data/misc/tzdata/default.nix
index 0d19d8c9dca..b2363b4b549 100644
--- a/pkgs/data/misc/tzdata/default.nix
+++ b/pkgs/data/misc/tzdata/default.nix
@@ -1,17 +1,17 @@
{ stdenv, fetchurl, buildPackages }:
stdenv.mkDerivation rec {
- name = "tzdata-${version}";
- version = "2019a";
+ pname = "tzdata";
+ version = "2019b";
srcs =
[ (fetchurl {
url = "https://data.iana.org/time-zones/releases/tzdata${version}.tar.gz";
- sha256 = "0wlpqm4asvi0waaz24xj20iq40gqfypmb4nldjhkfgm09bgnsdlh";
+ sha256 = "0r0clnlslwm15m1c61dinf1fi9ffgl6aipng7i7yryfwj0n0kn85";
})
(fetchurl {
url = "https://data.iana.org/time-zones/releases/tzcode${version}.tar.gz";
- sha256 = "1x9z8fpgnhzlsnps0hamb54ymaskjab7ys9m4i4gpk9hpiig2fc7";
+ sha256 = "0vbmswvv3li25s31shyllq5v24449lxnrki9hr043nipjd09sirf";
})
];
diff --git a/pkgs/data/misc/wireless-regdb/default.nix b/pkgs/data/misc/wireless-regdb/default.nix
index e44526cbe66..43847b4b3b6 100644
--- a/pkgs/data/misc/wireless-regdb/default.nix
+++ b/pkgs/data/misc/wireless-regdb/default.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
pname = "wireless-regdb";
- version = "2019.03.01";
+ version = "2019.06.03";
src = fetchurl {
url = "https://www.kernel.org/pub/software/network/${pname}/${pname}-${version}.tar.xz";
- sha256 = "0pwipig8bik1gca440hfv0xa23bi49jfiqc69xvcb6sr0rq6ykis";
+ sha256 = "1gslvh0aqdkv48jyr2ddq153mw28i7qz2ybrjj9qvkk3dgc7x4fd";
};
dontBuild = true;
diff --git a/pkgs/data/misc/xorg-rgb/default.nix b/pkgs/data/misc/xorg-rgb/default.nix
index e1136299260..12acc424b9d 100644
--- a/pkgs/data/misc/xorg-rgb/default.nix
+++ b/pkgs/data/misc/xorg-rgb/default.nix
@@ -1,6 +1,5 @@
{stdenv, fetchurl, pkgconfig, xorgproto}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "rgb";
version = "1.0.6";
diff --git a/pkgs/data/sgml+xml/schemas/docbook-5.0/default.nix b/pkgs/data/sgml+xml/schemas/docbook-5.0/default.nix
index 4986101584e..17303e682b9 100644
--- a/pkgs/data/sgml+xml/schemas/docbook-5.0/default.nix
+++ b/pkgs/data/sgml+xml/schemas/docbook-5.0/default.nix
@@ -1,11 +1,12 @@
{ lib, stdenv, fetchurl, unzip }:
-stdenv.mkDerivation {
- name = "docbook5-5.0";
+stdenv.mkDerivation rec {
+ pname = "docbook5";
+ version = "5.0.1";
src = fetchurl {
- url = http://www.docbook.org/xml/5.0/docbook-5.0.zip;
- sha256 = "13i04dkd709f0p5f2413sf2y9321pfi4y85ynf8wih6ryphnbk9x";
+ url = "http://www.docbook.org/xml/${version}/docbook-${version}.zip";
+ sha256 = "1iz3hq1lqgnshvlz4j9gvh4jy1ml74qf90vqf2ikbq0h4i2xzybs";
};
nativeBuildInputs = [ unzip ];
diff --git a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix
index cc71e002632..9728b2f96c4 100644
--- a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix
+++ b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/3.1.nix
@@ -17,7 +17,7 @@ in
stdenv.mkDerivation {
name = "docbook-sgml-3.1";
- unpackPhase = "true";
+ dontUnpack = true;
nativeBuildInputs = [ unzip ];
diff --git a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix
index dc7ebf5959d..78b99081504 100644
--- a/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix
+++ b/pkgs/data/sgml+xml/schemas/sgml-dtd/docbook/4.1.nix
@@ -17,7 +17,7 @@ in
stdenv.mkDerivation {
name = "docbook-sgml-4.1";
- unpackPhase = "true";
+ dontUnpack = true;
nativeBuildInputs = [ unzip ];
diff --git a/pkgs/data/themes/tetra/default.nix b/pkgs/data/themes/adementary/default.nix
similarity index 67%
rename from pkgs/data/themes/tetra/default.nix
rename to pkgs/data/themes/adementary/default.nix
index 2a7b6e595c4..1cb7ac53432 100644
--- a/pkgs/data/themes/tetra/default.nix
+++ b/pkgs/data/themes/adementary/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, gtk3, sassc }:
stdenv.mkDerivation rec {
- pname = "tetra-gtk-theme";
- version = "201905";
+ pname = "adementary-theme";
+ version = "201905r1";
src = fetchFromGitHub {
owner = "hrdwrrsk";
repo = pname;
rev = version;
- sha256 = "1j2w8na564f5yjm5am7843hq5qk28h1rq8rcbak4xsygdc3lbsfi";
+ sha256 = "14y5s18g9r2c1ciw1skfksn09gvqgy8vjvwbr0z8gacf0jc2apqk";
};
preBuild = ''
@@ -27,8 +27,8 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "Adwaita-based gtk+ theme with design influence from elementary OS and Vertex gtk+ theme";
- homepage = https://github.com/hrdwrrsk/tetra-gtk-theme;
+ description = "Adwaita-based GTK theme with design influence from elementary OS and Vertex GTK theme";
+ homepage = https://github.com/hrdwrrsk/adementary-theme;
license = licenses.gpl3;
maintainers = with maintainers; [ dtzWill ];
platforms = platforms.linux;
diff --git a/pkgs/misc/themes/arc/default.nix b/pkgs/data/themes/arc/default.nix
similarity index 65%
rename from pkgs/misc/themes/arc/default.nix
rename to pkgs/data/themes/arc/default.nix
index da12255e91e..dc54c1499fb 100644
--- a/pkgs/misc/themes/arc/default.nix
+++ b/pkgs/data/themes/arc/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
pname = "arc-theme";
- version = "20190330";
+ version = "20190910";
src = fetchFromGitHub {
- owner = "NicoHood";
+ owner = "arc-design";
repo = pname;
rev = version;
- sha256 = "16n5svgkpa8azxgyy64zwjjc04r57wfzkdq9igqvbvwkbvx8aa89";
+ sha256 = "161kx9ii5ij1503nvhgn3pyqfj7cj03l1di2yf8kwwfczbi4mq3j";
};
nativeBuildInputs = [
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
optipng
inkscape
gtk3
- gnome3.gnome-shell
];
propagatedUserEnvPkgs = [
@@ -29,26 +28,23 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- postPatch = ''
- patchShebangs .
- # TODO: remove this after update
- ln -s 3.30 common/gnome-shell/3.32
- '';
-
preBuild = ''
# Shut up inkscape's warnings about creating profile directory
export HOME="$NIX_BUILD_ROOT"
'';
- configureFlags = [ "--disable-unity" ];
+ configureFlags = [
+ "--with-gnome-shell=${stdenv.lib.versions.majorMinor gnome3.gnome-shell.version}"
+ "--disable-unity"
+ ];
postInstall = ''
install -Dm644 -t $out/share/doc/${pname} AUTHORS *.md
'';
meta = with stdenv.lib; {
- description = "A flat theme with transparent elements for GTK 3, GTK 2 and Gnome-Shell";
- homepage = https://github.com/NicoHood/arc-theme;
+ description = "Flat theme with transparent elements for GTK 3, GTK 2 and Gnome Shell";
+ homepage = https://github.com/arc-design/arc-theme;
license = licenses.gpl3;
maintainers = with maintainers; [ simonvandel romildo ];
platforms = platforms.linux;
diff --git a/pkgs/data/themes/greybird/default.nix b/pkgs/data/themes/greybird/default.nix
index 02c8d2b6490..1c5a631a48c 100644
--- a/pkgs/data/themes/greybird/default.nix
+++ b/pkgs/data/themes/greybird/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, autoreconfHook, which, sassc, glib, libxml2, gdk_pixbuf, librsvg, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, autoreconfHook, which, sassc, glib, libxml2, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "greybird";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
- gdk_pixbuf
+ gdk-pixbuf
librsvg
];
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
];
meta = with stdenv.lib; {
- description = "Grey and blue theme from the Shimmer Project for GTK+-based environments";
+ description = "Grey and blue theme from the Shimmer Project for GTK-based environments";
homepage = https://github.com/shimmerproject/Greybird;
license = with licenses; [ gpl2Plus ]; # or alternatively: cc-by-nc-sa-30
platforms = platforms.linux;
diff --git a/pkgs/data/themes/matcha/default.nix b/pkgs/data/themes/matcha/default.nix
index 31d4a068908..bfbf98b508e 100644
--- a/pkgs/data/themes/matcha/default.nix
+++ b/pkgs/data/themes/matcha/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchFromGitHub, gdk_pixbuf, librsvg, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
- name = "matcha-${version}";
- version = "2019_05_09";
+ pname = "matcha";
+ version = "2019-07";
src = fetchFromGitHub {
owner = "vinceliuice";
- repo = "matcha";
- rev = version;
- sha256 = "0xnv89appivrnbppyjqaa35pls120mkz253p2lblyxzbvi5kgn73";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "1jv7qq4lsjpz40wchrqlzc8w4ggrmwjavy4ipzz11jal99skpv7i";
};
- buildInputs = [ gdk_pixbuf librsvg ];
+ buildInputs = [ gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
diff --git a/pkgs/data/themes/materia-theme/default.nix b/pkgs/data/themes/materia-theme/default.nix
index 46b44d3ff90..02c1b91a3eb 100644
--- a/pkgs/data/themes/materia-theme/default.nix
+++ b/pkgs/data/themes/materia-theme/default.nix
@@ -1,19 +1,19 @@
-{ stdenv, fetchFromGitHub, gnome3, glib, libxml2, gtk-engine-murrine, gdk_pixbuf, librsvg, bc }:
+{ stdenv, fetchFromGitHub, gnome3, glib, libxml2, gtk-engine-murrine, gdk-pixbuf, librsvg, bc }:
stdenv.mkDerivation rec {
pname = "materia-theme";
- version = "20190315";
+ version = "20190831";
src = fetchFromGitHub {
owner = "nana-4";
repo = pname;
rev = "v${version}";
- sha256 = "1fpipwvwxjiriqhysqgx51rnax73hyd5jkyxhc2g3y73s5r2xq82";
+ sha256 = "19b2wyq38wj3id0an47jln1y3zp5ih3kbrgmfpjp6bbdrmfcyccf";
};
nativeBuildInputs = [ glib libxml2 bc ];
- buildInputs = [ gnome3.gnome-themes-extra gdk_pixbuf librsvg ];
+ buildInputs = [ gnome3.gnome-themes-extra gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "Material Design theme for GNOME/GTK+ based desktop environments";
+ description = "Material Design theme for GNOME/GTK based desktop environments";
homepage = https://github.com/nana-4/materia-theme;
license = licenses.gpl2;
platforms = platforms.all;
diff --git a/pkgs/data/themes/mojave/default.nix b/pkgs/data/themes/mojave/default.nix
index 1fc82e8aca2..714e026d32c 100644
--- a/pkgs/data/themes/mojave/default.nix
+++ b/pkgs/data/themes/mojave/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "mojave-gtk-theme";
- version = "2019-05-21";
+ version = "2019-09-09";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
- rev = "f6167740b308715b38567ec660aa5241d964af1b";
- sha256 = "1k57f5vimdrciskjgxqz7k0xybc7b8pwcsii0p6kc8klmyrjrr9c";
+ rev = version;
+ sha256 = "1qffh6jsvy61f29ymw1v9hpjnsvhqin19mp05cys1lnwc7y810zr";
};
buildInputs = [ gtk_engines ];
diff --git a/pkgs/data/themes/nordic-polar/default.nix b/pkgs/data/themes/nordic-polar/default.nix
index c4265875390..d1cfb800001 100644
--- a/pkgs/data/themes/nordic-polar/default.nix
+++ b/pkgs/data/themes/nordic-polar/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
- name = "nordic-polar-${version}";
+ pname = "nordic-polar";
version = "1.5.0";
srcs = [
diff --git a/pkgs/data/themes/nordic/default.nix b/pkgs/data/themes/nordic/default.nix
index 1f0e110488b..5172b2992cc 100644
--- a/pkgs/data/themes/nordic/default.nix
+++ b/pkgs/data/themes/nordic/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, gtk-engine-murrine }:
stdenv.mkDerivation rec {
- name = "nordic-${version}";
+ pname = "nordic";
version = "1.6.5";
srcs = [
diff --git a/pkgs/misc/themes/obsidian2/default.nix b/pkgs/data/themes/obsidian2/default.nix
similarity index 73%
rename from pkgs/misc/themes/obsidian2/default.nix
rename to pkgs/data/themes/obsidian2/default.nix
index 8a8e88ff6f9..3a2dcea4b3a 100644
--- a/pkgs/misc/themes/obsidian2/default.nix
+++ b/pkgs/data/themes/obsidian2/default.nix
@@ -1,25 +1,23 @@
{ stdenv, fetchFromGitHub, gtk-engine-murrine }:
stdenv.mkDerivation rec {
- name = "theme-obsidian2-${version}";
- version = "2.8";
+ pname = "theme-obsidian2";
+ version = "2.9";
src = fetchFromGitHub {
owner = "madmaxms";
repo = "theme-obsidian-2";
rev = "v${version}";
- sha256 = "0qryqpyxbhr0kyar2cshwhzv4da6rfz9gi4wjb6xvcb6szxhlcaq";
+ sha256 = "1m89ws2a4nms4m8187d5cxi281b66i59xa5shlp3g1r2jc4312cy";
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
- postPatch = ''
- sed -i -e 's|Obsidian-2-Local|Obsidian-2|' Obsidian-2/index.theme
- '';
-
installPhase = ''
+ runHook preInstall
mkdir -p $out/share/themes
cp -a Obsidian-2 $out/share/themes
+ runHook postInstall
'';
meta = with stdenv.lib; {
diff --git a/pkgs/data/themes/plano/default.nix b/pkgs/data/themes/plano/default.nix
index d672855df09..b009bd2780c 100644
--- a/pkgs/data/themes/plano/default.nix
+++ b/pkgs/data/themes/plano/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, gdk_pixbuf, gtk_engines, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, gdk-pixbuf, gtk_engines, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "plano-theme";
@@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
sha256 = "0p9j4p32489jb6d67jhf9x26my0mddcc6a174x713drch8zvb96l";
};
- buildInputs = [ gdk_pixbuf gtk_engines ];
+ buildInputs = [ gdk-pixbuf gtk_engines ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
diff --git a/pkgs/data/themes/plata/default.nix b/pkgs/data/themes/plata/default.nix
index 3b80c60044b..d026e06e39d 100644
--- a/pkgs/data/themes/plata/default.nix
+++ b/pkgs/data/themes/plata/default.nix
@@ -1,33 +1,31 @@
{ stdenv, fetchFromGitLab, autoreconfHook, pkgconfig, parallel
-, sassc, inkscape, libxml2, gnome2, gdk_pixbuf, librsvg, gtk-engine-murrine
+, sassc, inkscape, libxml2, glib, gdk-pixbuf, librsvg, gtk-engine-murrine
, cinnamonSupport ? true
, gnomeFlashbackSupport ? true
, gnomeShellSupport ? true
-, mateSupport ? true
, openboxSupport ? true
, xfceSupport ? true
+, mateSupport ? true, gtk3, marco
, gtkNextSupport ? false
, plankSupport ? false
, steamSupport ? false
-, telegramSupport ? false
-, tweetdeckSupport ? false, zip ? null
+, telegramSupport ? false, zip
+, tweetdeckSupport ? false
, selectionColor ? null # Primary color for 'selected-items' (Default: #3F51B5 = Indigo500)
, accentColor ? null # Secondary color for notifications and OSDs (Default: #7986CB = Indigo300)
, suggestionColor ? null # Secondary color for 'suggested' buttons (Default: #673AB7 = DPurple500)
, destructionColor ? null # Tertiary color for 'destructive' buttons (Default: #F44336 = Red500)
}:
-assert tweetdeckSupport -> zip != null;
-
stdenv.mkDerivation rec {
- name = "plata-theme-${version}";
- version = "0.8.0";
+ pname = "plata-theme";
+ version = "0.8.9";
src = fetchFromGitLab {
owner = "tista500";
repo = "plata-theme";
rev = version;
- sha256 = "10xvfrc945zqlgzlx8zjyg0gnkwmq9vfjk0yqjy3gg62i65s8sch";
+ sha256 = "0a2wczxxfd2nfr7biawbs3rwy2sivcl2sv43y2638gmfp0w6zh9r";
};
preferLocalBuild = true;
@@ -39,12 +37,13 @@ stdenv.mkDerivation rec {
sassc
inkscape
libxml2
- gnome2.glib.dev
+ glib.dev
]
- ++ stdenv.lib.optional tweetdeckSupport zip;
+ ++ stdenv.lib.optionals mateSupport [ gtk3 marco ]
+ ++ stdenv.lib.optional telegramSupport zip;
buildInputs = [
- gdk_pixbuf
+ gdk-pixbuf
librsvg
];
@@ -61,9 +60,9 @@ stdenv.mkDerivation rec {
(enableFeature cinnamonSupport "cinnamon")
(enableFeature gnomeFlashbackSupport "flashback")
(enableFeature gnomeShellSupport "gnome")
- (enableFeature mateSupport "mate")
(enableFeature openboxSupport "openbox")
(enableFeature xfceSupport "xfce")
+ (enableFeature mateSupport "mate")
(enableFeature gtkNextSupport "gtk_next")
(enableFeature plankSupport "plank")
(enableFeature steamSupport "airforsteam")
@@ -83,7 +82,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "A Gtk+ theme based on Material Design Refresh";
+ description = "A GTK theme based on Material Design Refresh";
homepage = https://gitlab.com/tista500/plata-theme;
license = with licenses; [ gpl2 cc-by-sa-40 ];
platforms = platforms.linux;
diff --git a/pkgs/data/themes/qogir/default.nix b/pkgs/data/themes/qogir/default.nix
index aac9ec5e85e..6461697b04f 100644
--- a/pkgs/data/themes/qogir/default.nix
+++ b/pkgs/data/themes/qogir/default.nix
@@ -1,24 +1,24 @@
-{ stdenv, fetchFromGitHub, gdk_pixbuf, librsvg, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "qogir-theme";
- version = "2019-05-03";
+ version = "2019-08-31";
src = fetchFromGitHub {
owner = "vinceliuice";
repo = pname;
rev = version;
- sha256 = "031nqr47b3x8ahcym7cfc75y8sy53dcmrrrlywi7m1a10ckfp0pd";
+ sha256 = "1pqfnqc2c6f5cidg6c3y492hqlyn5ma4b7ra2lchw7g2dxfvq8w1";
};
- buildInputs = [ gdk_pixbuf librsvg ];
+ buildInputs = [ gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
installPhase = ''
patchShebangs .
mkdir -p $out/share/themes
- name= ./Install -d $out/share/themes
+ name= ./install.sh -d $out/share/themes
'';
meta = with stdenv.lib; {
diff --git a/pkgs/data/themes/shades-of-gray/default.nix b/pkgs/data/themes/shades-of-gray/default.nix
index 35ad998e859..5d335905273 100644
--- a/pkgs/data/themes/shades-of-gray/default.nix
+++ b/pkgs/data/themes/shades-of-gray/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "shades-of-gray-theme";
- version = "1.1.7";
+ version = "1.1.9";
src = fetchFromGitHub {
owner = "WernerFP";
repo = pname;
rev = version;
- sha256 = "09r26izbx9sj9czc95cn4r0c1v9yj2qm84zdl047fiqa49czwbzq";
+ sha256 = "1hg4g242cjncrx9cn7gbzl9gj7zz2fwrkzkkbfazzrdaylbwgm4i";
};
buildInputs = [ gtk_engines ];
diff --git a/pkgs/data/themes/sierra/default.nix b/pkgs/data/themes/sierra/default.nix
index b845522a28a..e5b5ad8d611 100644
--- a/pkgs/data/themes/sierra/default.nix
+++ b/pkgs/data/themes/sierra/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, libxml2, gdk_pixbuf, librsvg, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, libxml2, gdk-pixbuf, librsvg, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "sierra-gtk-theme";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ libxml2 ];
- buildInputs = [ gdk_pixbuf librsvg ];
+ buildInputs = [ gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
diff --git a/pkgs/data/themes/stilo/default.nix b/pkgs/data/themes/stilo/default.nix
index 48f29ad3111..61ec697d841 100644
--- a/pkgs/data/themes/stilo/default.nix
+++ b/pkgs/data/themes/stilo/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, ninja, sassc, gdk_pixbuf, librsvg, gtk_engines, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, meson, ninja, sassc, gdk-pixbuf, librsvg, gtk_engines, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "stilo-themes";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja sassc ];
- buildInputs = [ gdk_pixbuf librsvg gtk_engines ];
+ buildInputs = [ gdk-pixbuf librsvg gtk_engines ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
diff --git a/pkgs/data/themes/zuki/default.nix b/pkgs/data/themes/zuki/default.nix
index f55ed31c1ce..59099bf5227 100644
--- a/pkgs/data/themes/zuki/default.nix
+++ b/pkgs/data/themes/zuki/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, meson, ninja, sassc, gdk_pixbuf, librsvg, gtk_engines, gtk-engine-murrine }:
+{ stdenv, fetchFromGitHub, meson, ninja, sassc, gdk-pixbuf, librsvg, gtk_engines, gtk-engine-murrine }:
stdenv.mkDerivation rec {
pname = "zuki-themes";
@@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja sassc ];
- buildInputs = [ gdk_pixbuf librsvg gtk_engines ];
+ buildInputs = [ gdk-pixbuf librsvg gtk_engines ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
diff --git a/pkgs/desktops/deepin/dbus-factory/default.nix b/pkgs/desktops/deepin/dbus-factory/default.nix
index ee0c81d7d39..2511f05c4ea 100644
--- a/pkgs/desktops/deepin/dbus-factory/default.nix
+++ b/pkgs/desktops/deepin/dbus-factory/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, jq, libxml2, go-dbus-generator, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "dbus-factory";
version = "3.1.17";
@@ -18,13 +17,13 @@ stdenv.mkDerivation rec {
go-dbus-generator
];
- makeFlags = [ "GOPATH=${placeholder ''out''}/share/go" ];
+ makeFlags = [ "GOPATH=${placeholder "out"}/share/go" ];
postPatch = ''
sed -i -e 's:/share/gocode:/share/go:' Makefile
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Generates static DBus bindings for Golang and QML at build-time";
diff --git a/pkgs/desktops/deepin/dde-api/default.nix b/pkgs/desktops/deepin/dde-api/default.nix
index 76c0861cb3a..b052a104240 100644
--- a/pkgs/desktops/deepin/dde-api/default.nix
+++ b/pkgs/desktops/deepin/dde-api/default.nix
@@ -7,7 +7,6 @@
deepin,
deepin-gettext-tools,
fontconfig,
- glib,
go,
go-dbus-factory,
go-gir-generator,
@@ -24,9 +23,8 @@
}:
buildGoPackage rec {
- name = "${pname}-${version}";
pname = "dde-api";
- version = "3.18.3";
+ version = "3.18.4.1";
goPackagePath = "pkg.deepin.io/dde/api";
@@ -34,7 +32,7 @@ buildGoPackage rec {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0sbzjpjy2d7j22v5sw3mf472lcnsy81n2rgly87k79r5gk9x89ar";
+ sha256 = "0bcjp5ijwa4wmx6p43lik6vjlb7d5rk7nf8xl495i3yk9x70wyfa";
};
goDeps = ./deps.nix;
@@ -115,7 +113,7 @@ buildGoPackage rec {
searchHardCodedPaths $out # debugging
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Go-lang bindings for dde-daemon";
diff --git a/pkgs/desktops/deepin/dde-api/deps.nix b/pkgs/desktops/deepin/dde-api/deps.nix
index 380f07d3d19..a3b5e20effc 100644
--- a/pkgs/desktops/deepin/dde-api/deps.nix
+++ b/pkgs/desktops/deepin/dde-api/deps.nix
@@ -32,8 +32,8 @@
fetch = {
type = "git";
url = "https://github.com/disintegration/imaging";
- rev = "061e8a750a4db9667cdf9e2af7f4029ba506cb3b";
- sha256 = "13fkknwz2iby5rdzv9sgam6p27zdgxis3sxgyls9sdir5lbhjhm7";
+ rev = "465faf0892b5c7b3325643b0e47282e1331672e7";
+ sha256 = "1z9rkphmqgyphznl53pp1gmf0dfrfrmr95bx46p422ldml26c5a0";
};
}
{
@@ -41,8 +41,8 @@
fetch = {
type = "git";
url = "https://github.com/fogleman/gg";
- rev = "72436a171bf31757dc87fb8fa9f7485307350307";
- sha256 = "116ysxj7nv9zw5ff75p2mriwf6fx4qzdik9za8cy0l0vih78qvjq";
+ rev = "f194ddec6f45226fc9e1b4a61b7237f186edd543";
+ sha256 = "095g5hpqvpy5w9l4kb65cif013snsvlbw6sgln0kwdix0z099j3i";
};
}
{
@@ -77,8 +77,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/image";
- rev = "6d32002ffd7577f23673706728e1c510698cecb1";
- sha256 = "03jzn07kfgdzzm4785xngcksv9ix6q1lf12b8j91flc0v7swsd1b";
+ rev = "7e034cad644213bc79b336b52fce73624259aeca";
+ sha256 = "04n4yi0p2yjv8sr9dmnzwc2k6hvzzvl6jdq2xd043kvjwzk583va";
};
}
{
@@ -86,8 +86,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
- rev = "f4e77d36d62c17c2336347bb2670ddbd02d092b7";
- sha256 = "0avjnglqqg9ya0cbhp23m4namykii219kxjywxn4cd7pfcc5arha";
+ rev = "3b0461eec859c4b73bb64fdc8285971fd33e3938";
+ sha256 = "0l00c8l0a8xnv6qdpwfzxxsr58jggacgzdrwiprrfx2xqm37b6d5";
};
}
{
diff --git a/pkgs/desktops/deepin/dde-calendar/default.nix b/pkgs/desktops/deepin/dde-calendar/default.nix
index 0ef0da5c70b..427cb1249c9 100644
--- a/pkgs/desktops/deepin/dde-calendar/default.nix
+++ b/pkgs/desktops/deepin/dde-calendar/default.nix
@@ -1,22 +1,21 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, qttools,
deepin-gettext-tools, dtkcore, dtkwidget, deepin
}:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dde-calendar";
- version = "1.2.6";
+ version = "1.2.10";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0k973rv0prvr7cg1xwg7kr14fkx13aslhiqc3q7vpakfk53qsw4n";
+ sha256 = "00aqx24jccf88vvkpb9svyjz8knrqyjgd0152psf9dxc9q13f61h";
};
nativeBuildInputs = [
+ cmake
pkgconfig
- qmake
qttools
deepin-gettext-tools
deepin.setupHook
@@ -38,7 +37,7 @@ stdenv.mkDerivation rec {
-e "s,/usr/bin/deepin-desktop-ts-convert,deepin-desktop-ts-convert,"
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Calendar for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/dde-control-center/default.nix b/pkgs/desktops/deepin/dde-control-center/default.nix
new file mode 100644
index 00000000000..0871e004e5f
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-control-center/default.nix
@@ -0,0 +1,111 @@
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, deepin, qttools, qtdeclarative,
+ networkmanager, qtsvg, qtx11extras, dtkcore, dtkwidget, geoip, gsettings-qt,
+ dde-network-utils, networkmanager-qt, xorg, mtdev, fontconfig, freetype, dde-api,
+ dde-daemon, qt5integration, deepin-desktop-base, deepin-desktop-schemas, dbus,
+ systemd, dde-qt-dbus-factory, qtmultimedia, qtbase, glib, gnome3, which,
+ substituteAll, tzdata, wrapGAppsHook
+}:
+
+mkDerivation rec {
+ pname = "dde-control-center";
+ version = "4.10.11";
+
+ src = fetchFromGitHub {
+ owner = "linuxdeepin";
+ repo = pname;
+ rev = version;
+ sha256 = "1ip8wjwf0n9q8xnqymzh8lz0j5gcnns976n291np6k5kdh2wqhr5";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ deepin.setupHook
+ pkgconfig
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ dde-api
+ dde-daemon
+ dde-network-utils
+ dde-qt-dbus-factory
+ deepin-desktop-base
+ deepin-desktop-schemas
+ dtkcore
+ dtkwidget
+ fontconfig
+ freetype
+ geoip
+ glib
+ gnome3.networkmanager-l2tp
+ gnome3.networkmanager-openconnect
+ gnome3.networkmanager-openvpn
+ gnome3.networkmanager-vpnc
+ gsettings-qt
+ mtdev
+ networkmanager-qt
+ qt5integration
+ qtbase
+ qtdeclarative
+ qtmultimedia
+ qtsvg
+ qttools
+ qtx11extras
+ xorg.libX11
+ xorg.libXext
+ xorg.libXrandr
+ xorg.libxcb
+ ];
+
+ cmakeFlags = [
+ "-DDISABLE_SYS_UPDATE=YES"
+ "-DDCC_DISABLE_GRUB=YES"
+ ];
+
+ patches = [
+ (substituteAll {
+ src = ./fix-paths.patch;
+ nmcli = "${networkmanager}/bin/nmcli";
+ which = "${which}/bin/which";
+ # not packaged
+ # dman = "${deepin-manual}/bin/dman";
+ inherit tzdata;
+ # exclusive to deepin linux?
+ # allows to synchronize configuration files to cloud networks
+ # deepin_sync = "${deepin-sync}";
+ })
+ ];
+
+ postPatch = ''
+ searchHardCodedPaths
+
+ patchShebangs translate_ts2desktop.sh
+ patchShebangs translate_generation.sh
+ patchShebangs translate_desktop2ts.sh
+
+ fixPath $out /usr dde-control-center-autostart.desktop \
+ com.deepin.dde.ControlCenter.service \
+ src/frame/widgets/utils.h
+
+ substituteInPlace dde-control-center.desktop \
+ --replace "dbus-send" "${dbus}/bin/dbus-send"
+ substituteInPlace com.deepin.controlcenter.addomain.policy \
+ --replace "/bin/systemctl" "${systemd}/bin/systemctl"
+ '';
+
+ postFixup = ''
+ # debuging
+ searchForUnresolvedDLL $out
+ searchHardCodedPaths $out
+ '';
+
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
+
+ meta = with stdenv.lib; {
+ description = "Control panel of Deepin Desktop Environment";
+ homepage = https://github.com/linuxdeepin/dde-control-center;
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ romildo worldofpeace ];
+ };
+}
diff --git a/pkgs/desktops/deepin/dde-control-center/fix-paths.patch b/pkgs/desktops/deepin/dde-control-center/fix-paths.patch
new file mode 100644
index 00000000000..2c6e204d343
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-control-center/fix-paths.patch
@@ -0,0 +1,65 @@
+diff --git a/src/frame/frame.cpp b/src/frame/frame.cpp
+index 90d06f8..7cdad04 100644
+--- a/src/frame/frame.cpp
++++ b/src/frame/frame.cpp
+@@ -375,7 +375,7 @@ void Frame::keyPressEvent(QKeyEvent *e)
+ #ifdef QT_DEBUG
+ case Qt::Key_Escape: qApp->quit(); break;
+ #endif
+- case Qt::Key_F1: QProcess::startDetached("dman", QStringList("dde")); break;
++ case Qt::Key_F1: QProcess::startDetached("@dman@", QStringList("dde")); break;
+ default:;
+ }
+ }
+diff --git a/src/frame/modules/datetime/timezone_dialog/timezone.cpp b/src/frame/modules/datetime/timezone_dialog/timezone.cpp
+index 3dd4aad..5f1b363 100644
+--- a/src/frame/modules/datetime/timezone_dialog/timezone.cpp
++++ b/src/frame/modules/datetime/timezone_dialog/timezone.cpp
+@@ -46,7 +46,7 @@ namespace installer {
+ namespace {
+
+ // Absolute path to zone.tab file.
+-const char kZoneTabFile[] = "/usr/share/zoneinfo/zone.tab";
++const char kZoneTabFile[] = "@tzdata@/share/zoneinfo/zone.tab";
+
+ // Absolute path to backward timezone file.
+ const char kTimezoneAliasFile[] = "/timezone_alias";
+diff --git a/src/frame/modules/network/connectionvpneditpage.cpp b/src/frame/modules/network/connectionvpneditpage.cpp
+index e292865..95c5a2b 100644
+--- a/src/frame/modules/network/connectionvpneditpage.cpp
++++ b/src/frame/modules/network/connectionvpneditpage.cpp
+@@ -215,7 +215,7 @@ void ConnectionVpnEditPage::exportConnConfig()
+ qDebug() << Q_FUNC_INFO << args;
+
+ QProcess p;
+- p.start("nmcli", args);
++ p.start("@nmcli@", args);
+ p.waitForFinished();
+ qDebug() << p.readAllStandardOutput();
+ qDebug() << p.readAllStandardError();
+diff --git a/src/frame/modules/network/vpnpage.cpp b/src/frame/modules/network/vpnpage.cpp
+index 521a603..450d1a6 100644
+--- a/src/frame/modules/network/vpnpage.cpp
++++ b/src/frame/modules/network/vpnpage.cpp
+@@ -224,7 +224,7 @@ void VpnPage::importVPN()
+ qDebug() << args;
+
+ QProcess p;
+- p.start("nmcli", args);
++ p.start("@nmcli@", args);
+ p.waitForFinished();
+ const auto stat = p.exitCode();
+ const QString output = p.readAllStandardOutput();
+diff --git a/src/frame/modules/sync/syncworker.cpp b/src/frame/modules/sync/syncworker.cpp
+index 3f929bf..6f240d9 100644
+--- a/src/frame/modules/sync/syncworker.cpp
++++ b/src/frame/modules/sync/syncworker.cpp
+@@ -24,7 +24,7 @@ SyncWorker::SyncWorker(SyncModel *model, QObject *parent)
+
+ m_model->setSyncIsValid(
+ QProcess::execute(
+- "which", QStringList() << "/usr/lib/deepin-sync-daemon/deepin-sync-daemon") ==
++ "@which@", QStringList() << "@deepin_sync@/lib/deepin-sync-daemon/deepin-sync-daemon") ==
+ 0 &&
+ valueByQSettings(DCC_CONFIG_FILES, "CloudSync", "AllowCloudSync", false));
+ }
diff --git a/pkgs/desktops/deepin/dde-daemon/default.nix b/pkgs/desktops/deepin/dde-daemon/default.nix
index c709c2894c4..19089a6b050 100644
--- a/pkgs/desktops/deepin/dde-daemon/default.nix
+++ b/pkgs/desktops/deepin/dde-daemon/default.nix
@@ -3,13 +3,12 @@
deepin-gettext-tools, dde-api, deepin-desktop-schemas,
deepin-wallpapers, deepin-desktop-base, alsaLib, glib, gtk3,
libgudev, libinput, libnl, librsvg, linux-pam, networkmanager,
- pulseaudio, xorg, python3, hicolor-icon-theme, glibc, tzdata, go,
- deepin, makeWrapper, wrapGAppsHook }:
+ pulseaudio, python3, hicolor-icon-theme, glibc, tzdata, go,
+ deepin, makeWrapper, xkeyboard_config, wrapGAppsHook }:
buildGoPackage rec {
- name = "${pname}-${version}";
pname = "dde-daemon";
- version = "3.27.1";
+ version = "3.27.2.6";
goPackagePath = "pkg.deepin.io/dde/daemon";
@@ -17,7 +16,7 @@ buildGoPackage rec {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1rbv7fals2bwhalw1hh3swmrdzclqbhny782shnrwqv53235xda3";
+ sha256 = "14g138h23f1lh1y98pdrfhnph1m7pw8lq8ypiwv9qf3fmdyn35d4";
};
patches = [
@@ -63,6 +62,7 @@ buildGoPackage rec {
librsvg
pulseaudio
tzdata
+ xkeyboard_config
];
postPatch = ''
@@ -70,12 +70,16 @@ buildGoPackage rec {
patchShebangs network/nm_generator/gen_nm_consts.py
fixPath $out /usr/share/dde/data launcher/manager.go dock/dock_manager_init.go
+ fixPath $out /usr/share/dde-daemon launcher/manager.go gesture/config.go
fixPath ${networkmanager.dev} /usr/share/gir-1.0/NM-1.0.gir network/nm_generator/Makefile
fixPath ${glibc.bin} /usr/bin/getconf systeminfo/utils.go
fixPath ${deepin-desktop-base} /etc/deepin-version systeminfo/version.go accounts/deepinversion.go
fixPath ${tzdata} /usr/share/zoneinfo timedate/zoneinfo/zone.go
fixPath ${dde-api} /usr/lib/deepin-api grub2/modify_manger.go accounts/image_blur.go
fixPath ${deepin-wallpapers} /usr/share/wallpapers appearance/background/list.go accounts/user.go
+ fixPath ${xkeyboard_config} /usr/share/X11/xkb inputdevices/layout_list.go
+
+ # TODO: deepin-system-monitor comes from dde-extra
sed -i -e "s|{DESTDIR}/etc|{DESTDIR}$out/etc|" Makefile
sed -i -e "s|{DESTDIR}/lib|{DESTDIR}$out/lib|" Makefile
@@ -117,7 +121,7 @@ buildGoPackage rec {
searchHardCodedPaths $out # debugging
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Daemon for handling Deepin Desktop Environment session settings";
diff --git a/pkgs/desktops/deepin/dde-daemon/deps.nix b/pkgs/desktops/deepin/dde-daemon/deps.nix
index 352a6c0e519..c9a15ad88d4 100644
--- a/pkgs/desktops/deepin/dde-daemon/deps.nix
+++ b/pkgs/desktops/deepin/dde-daemon/deps.nix
@@ -77,8 +77,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/image";
- rev = "6d32002ffd7577f23673706728e1c510698cecb1";
- sha256 = "03jzn07kfgdzzm4785xngcksv9ix6q1lf12b8j91flc0v7swsd1b";
+ rev = "7e034cad644213bc79b336b52fce73624259aeca";
+ sha256 = "04n4yi0p2yjv8sr9dmnzwc2k6hvzzvl6jdq2xd043kvjwzk583va";
};
}
{
@@ -86,8 +86,8 @@
fetch = {
type = "git";
url = "https://go.googlesource.com/net";
- rev = "f4e77d36d62c17c2336347bb2670ddbd02d092b7";
- sha256 = "0avjnglqqg9ya0cbhp23m4namykii219kxjywxn4cd7pfcc5arha";
+ rev = "3b0461eec859c4b73bb64fdc8285971fd33e3938";
+ sha256 = "0l00c8l0a8xnv6qdpwfzxxsr58jggacgzdrwiprrfx2xqm37b6d5";
};
}
{
diff --git a/pkgs/desktops/deepin/dde-dock/default.nix b/pkgs/desktops/deepin/dde-dock/default.nix
index 30ec61f73c3..fc25d007f20 100644
--- a/pkgs/desktops/deepin/dde-dock/default.nix
+++ b/pkgs/desktops/deepin/dde-dock/default.nix
@@ -1,20 +1,19 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras,
- qtsvg, libsForQt5, polkit, gsettings-qt, dtkcore, dtkwidget,
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras,
+ qtsvg, polkit, gsettings-qt, dtkcore, dtkwidget,
dde-qt-dbus-factory, dde-network-utils, dde-daemon,
deepin-desktop-schemas, xorg, glib, wrapGAppsHook, deepin,
- plugins ? [], symlinkJoin, makeWrapper }:
+ plugins ? [], symlinkJoin, makeWrapper, libdbusmenu }:
let
-unwrapped = stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+unwrapped = mkDerivation rec {
pname = "dde-dock";
- version = "4.9.9";
+ version = "4.10.3";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0vscm808q63bbl84q9l3vhhd8mw86wfjdh55rvyj42qpa5q4mvlz";
+ sha256 = "17iy78r0frpv42g521igfdcgdklbifzig1wzxq2nl14fq0bgxg4v";
};
nativeBuildInputs = [
@@ -34,7 +33,7 @@ unwrapped = stdenv.mkDerivation rec {
dtkwidget
glib.bin
gsettings-qt
- libsForQt5.libdbusmenu
+ libdbusmenu
polkit
qtsvg
qtx11extras
@@ -69,7 +68,7 @@ unwrapped = stdenv.mkDerivation rec {
searchHardCodedPaths $out
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Dock for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.fix-mime-cache-paths.patch b/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.fix-mime-cache-paths.patch
new file mode 100644
index 00000000000..253a67b04ec
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.fix-mime-cache-paths.patch
@@ -0,0 +1,323 @@
+From 29f4ad88e2294ae70b10180e7361d135c4e5c896 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?=
+Date: Mon, 13 May 2019 00:09:42 -0300
+Subject: [PATCH 2/2] Use XDG to look for mime cache
+
+---
+ .../shutil/mimesappsmanager.cpp | 230 ++++++++++--------
+ .../shutil/mimesappsmanager.h | 6 +-
+ 2 files changed, 125 insertions(+), 111 deletions(-)
+
+diff --git a/dde-file-manager-lib/shutil/mimesappsmanager.cpp b/dde-file-manager-lib/shutil/mimesappsmanager.cpp
+index c9e53630..7a21df51 100644
+--- a/dde-file-manager-lib/shutil/mimesappsmanager.cpp
++++ b/dde-file-manager-lib/shutil/mimesappsmanager.cpp
+@@ -552,14 +552,20 @@ QString MimesAppsManager::getMimeAppsCacheFile()
+ return QString("%1/%2").arg(DFMStandardPaths::location(DFMStandardPaths::CachePath), "MimeApps.json");
+ }
+
+-QString MimesAppsManager::getMimeInfoCacheFilePath()
++QStringList MimesAppsManager::getMimeInfoCacheFilePath()
+ {
+- return "/usr/share/applications/mimeinfo.cache";
++ QStringList paths;
++ for (const QString dir : getMimeInfoCacheFileRootPath() )
++ paths.append(dir + QDir::separator() + "mimeinfo.cache");
++ qDebug() << "getMimeInfoCacheFilePath: " << paths;
++ return paths;
+ }
+
+-QString MimesAppsManager::getMimeInfoCacheFileRootPath()
++QStringList MimesAppsManager::getMimeInfoCacheFileRootPath()
+ {
+- return "/usr/share/applications";
++ QStringList paths = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
++ qDebug() << "getMimeInfoCacheFileRootPath: " << paths;
++ return paths;
+ }
+
+ QString MimesAppsManager::getDesktopFilesCacheFile()
+@@ -574,23 +580,27 @@ QString MimesAppsManager::getDesktopIconsCacheFile()
+
+ QStringList MimesAppsManager::getDesktopFiles()
+ {
+- QStringList desktopFiles;
++ QStringList desktopFiles;
+
+- foreach (QString desktopFolder, getApplicationsFolders()) {
+- QDirIterator it(desktopFolder, QStringList("*.desktop"),
+- QDir::Files | QDir::NoDotAndDotDot,
+- QDirIterator::Subdirectories);
+- while (it.hasNext()) {
+- it.next();
+- desktopFiles.append(it.filePath());
+- }
+- }
+- return desktopFiles;
++ foreach (QString desktopFolder, getApplicationsFolders()) {
++ QDirIterator it(desktopFolder, QStringList("*.desktop"),
++ QDir::Files | QDir::NoDotAndDotDot,
++ QDirIterator::Subdirectories);
++ while (it.hasNext()) {
++ it.next();
++ desktopFiles.append(it.filePath());
++ }
++ }
++ return desktopFiles;
+ }
+
+-QString MimesAppsManager::getDDEMimeTypeFile()
++QStringList MimesAppsManager::getDDEMimeTypeFile()
+ {
+- return QString("%1/%2/%3").arg(getMimeInfoCacheFileRootPath(), "deepin", "dde-mimetype.list");
++ QStringList paths;
++ for (const QString path : getMimeInfoCacheFileRootPath())
++ paths.append(QString("%1/%2/%3").arg(path, "deepin", "dde-mimetype.list"));
++ qDebug() << "getDDEMimeTypeFile: " << paths;
++ return paths;
+ }
+
+ QMap MimesAppsManager::getDesktopObjs()
+@@ -663,124 +673,128 @@ void MimesAppsManager::initMimeTypeApps()
+ MimeApps.insert(key, orderApps);
+ }
+
+- //check mime apps from cache
+- QFile f(getMimeInfoCacheFilePath());
+- if(!f.open(QIODevice::ReadOnly)){
+- qDebug () << "failed to read mime info cache file:" << f.errorString();
+- return;
+- }
+-
+ QStringList audioDesktopList;
+ QStringList imageDeksopList;
+ QStringList textDekstopList;
+ QStringList videoDesktopList;
+
+- while (!f.atEnd()) {
+- QString data = f.readLine();
+- QString _desktops = data.split("=").last();
+- QString mimeType = data.split("=").first();
+- QStringList desktops = _desktops.split(";");
+-
+- foreach (const QString desktop, desktops) {
+- if(desktop.isEmpty() || audioDesktopList.contains(desktop))
+- continue;
++ //check mime apps from cache
++ for (const QString path : getMimeInfoCacheFilePath()) {
++ QFile f(path);
++ if(!f.open(QIODevice::ReadOnly)){
++ qDebug () << "failed to read mime info cache file:" << f.errorString();
++ return;
++ }
+
+- if(mimeType.startsWith("audio")){
+- if(!audioDesktopList.contains(desktop))
+- audioDesktopList << desktop;
+- } else if(mimeType.startsWith("image")){
+- if(!imageDeksopList.contains(desktop))
+- imageDeksopList << desktop;
+- } else if(mimeType.startsWith("text")){
+- if(!textDekstopList.contains(desktop))
+- textDekstopList << desktop;
+- } else if(mimeType.startsWith("video")){
+- if(!videoDesktopList.contains(desktop))
+- videoDesktopList << desktop;
++ while (!f.atEnd()) {
++ QString data = f.readLine();
++ QString _desktops = data.split("=").last();
++ QString mimeType = data.split("=").first();
++ QStringList desktops = _desktops.split(";");
++
++ foreach (const QString desktop, desktops) {
++ if(desktop.isEmpty() || audioDesktopList.contains(desktop))
++ continue;
++
++ if(mimeType.startsWith("audio")){
++ if(!audioDesktopList.contains(desktop))
++ audioDesktopList << desktop;
++ } else if(mimeType.startsWith("image")){
++ if(!imageDeksopList.contains(desktop))
++ imageDeksopList << desktop;
++ } else if(mimeType.startsWith("text")){
++ if(!textDekstopList.contains(desktop))
++ textDekstopList << desktop;
++ } else if(mimeType.startsWith("video")){
++ if(!videoDesktopList.contains(desktop))
++ videoDesktopList << desktop;
++ }
+ }
+ }
++ f.close();
+ }
+- f.close();
+
+- const QString mimeInfoCacheRootPath = getMimeInfoCacheFileRootPath();
+- foreach (QString desktop, audioDesktopList) {
+- const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
+- if(!QFile::exists(path))
+- continue;
+- DesktopFile df(path);
+- AudioMimeApps.insert(path, df);
+- }
++ for (const QString mimeInfoCacheRootPath : getMimeInfoCacheFileRootPath()) {
++ foreach (QString desktop, audioDesktopList) {
++ const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
++ if(!QFile::exists(path))
++ continue;
++ DesktopFile df(path);
++ AudioMimeApps.insert(path, df);
++ }
+
+- foreach (QString desktop, imageDeksopList) {
+- const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
+- if(!QFile::exists(path))
+- continue;
+- DesktopFile df(path);
+- ImageMimeApps.insert(path, df);
+- }
++ foreach (QString desktop, imageDeksopList) {
++ const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
++ if(!QFile::exists(path))
++ continue;
++ DesktopFile df(path);
++ ImageMimeApps.insert(path, df);
++ }
+
+- foreach (QString desktop, textDekstopList) {
+- const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
+- if(!QFile::exists(path))
+- continue;
+- DesktopFile df(path);
+- TextMimeApps.insert(path, df);
+- }
++ foreach (QString desktop, textDekstopList) {
++ const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
++ if(!QFile::exists(path))
++ continue;
++ DesktopFile df(path);
++ TextMimeApps.insert(path, df);
++ }
+
+- foreach (QString desktop, videoDesktopList) {
+- const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
+- if(!QFile::exists(path))
+- continue;
+- DesktopFile df(path);
+- VideoMimeApps.insert(path, df);
++ foreach (QString desktop, videoDesktopList) {
++ const QString path = QString("%1/%2").arg(mimeInfoCacheRootPath,desktop);
++ if(!QFile::exists(path))
++ continue;
++ DesktopFile df(path);
++ VideoMimeApps.insert(path, df);
++ }
+ }
+-
+ return;
+ }
+
+ void MimesAppsManager::loadDDEMimeTypes()
+ {
+- QSettings settings(getDDEMimeTypeFile(), QSettings::IniFormat);
+- qDebug() << settings.childGroups();
++ for (const QString path : getDDEMimeTypeFile()) {
++ QSettings settings(path, QSettings::IniFormat);
++ qDebug() << settings.childGroups();
+
+- QFile file(getDDEMimeTypeFile());
+- if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
+- return;
+- }
++ QFile file(path);
++ if (!file.open(QIODevice::ReadOnly | QIODevice::Text)) {
++ continue;
++ }
++
++ // Read propeties
++ QTextStream in(&file);
++ QString desktopKey;
++ while (!in.atEnd()) {
+
+- // Read propeties
+- QTextStream in(&file);
+- QString desktopKey;
+- while (!in.atEnd()) {
++ // Read new line
++ QString line = in.readLine();
+
+- // Read new line
+- QString line = in.readLine();
++ // Skip empty line or line with invalid format
++ if (line.trimmed().isEmpty()) {
++ continue;
++ }
+
+- // Skip empty line or line with invalid format
+- if (line.trimmed().isEmpty()) {
+- continue;
+- }
++ // Read group
++ // NOTE: symbols '[' and ']' can be found not only in group names, but
++ // only group can start with '['
+
+- // Read group
+- // NOTE: symbols '[' and ']' can be found not only in group names, but
+- // only group can start with '['
++ if (line.trimmed().startsWith("[") && line.trimmed().endsWith("]")) {
++ QString tmp = line.trimmed().replace("[", "").replace("]", "");
++ desktopKey = tmp;
++ continue;
++ }
+
+- if (line.trimmed().startsWith("[") && line.trimmed().endsWith("]")) {
+- QString tmp = line.trimmed().replace("[", "").replace("]", "");
+- desktopKey = tmp;
+- continue;
+- }
+-
+- // If we are in correct group and line contains assignment then read data
+- int first_equal = line.indexOf('=');
+- if (!desktopKey.isEmpty() && first_equal >= 0) {
+- QString value = line.mid(first_equal + 1);
+- QStringList mimetypes = value.split(";");
+- DDE_MimeTypes.insert(desktopKey, mimetypes);
+- desktopKey.clear();
++ // If we are in correct group and line contains assignment then read data
++ int first_equal = line.indexOf('=');
++ if (!desktopKey.isEmpty() && first_equal >= 0) {
++ QString value = line.mid(first_equal + 1);
++ QStringList mimetypes = value.split(";");
++ DDE_MimeTypes.insert(desktopKey, mimetypes);
++ desktopKey.clear();
++ }
+ }
++ file.close();
+ }
+- file.close();
+ }
+
+ bool MimesAppsManager::lessByDateTime(const QFileInfo &f1, const QFileInfo &f2)
+diff --git a/dde-file-manager-lib/shutil/mimesappsmanager.h b/dde-file-manager-lib/shutil/mimesappsmanager.h
+index 223c80aa..00a61302 100644
+--- a/dde-file-manager-lib/shutil/mimesappsmanager.h
++++ b/dde-file-manager-lib/shutil/mimesappsmanager.h
+@@ -101,12 +101,12 @@ public:
+
+ static QStringList getApplicationsFolders();
+ static QString getMimeAppsCacheFile();
+- static QString getMimeInfoCacheFilePath();
+- static QString getMimeInfoCacheFileRootPath();
++ static QStringList getMimeInfoCacheFilePath();
++ static QStringList getMimeInfoCacheFileRootPath();
+ static QString getDesktopFilesCacheFile();
+ static QString getDesktopIconsCacheFile();
+ static QStringList getDesktopFiles();
+- static QString getDDEMimeTypeFile();
++ static QStringList getDDEMimeTypeFile();
+ static QMap getDesktopObjs();
+ static void initMimeTypeApps();
+ static void loadDDEMimeTypes();
+--
+2.21.0
+
diff --git a/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.fix-paths.patch b/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.fix-paths.patch
new file mode 100644
index 00000000000..3ced15e7e5a
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.fix-paths.patch
@@ -0,0 +1,89 @@
+From e68d983a6befd223087916cb3fe31baee77decc4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?=
+Date: Sun, 12 May 2019 08:50:07 -0300
+Subject: [PATCH 1/2] Use qt library to determine where to look for application
+ files
+
+---
+ dde-file-manager-lib/shutil/fileutils.cpp | 34 ++++++++++++-------
+ .../shutil/mimesappsmanager.cpp | 11 ++----
+ 2 files changed, 25 insertions(+), 20 deletions(-)
+
+diff --git a/dde-file-manager-lib/shutil/fileutils.cpp b/dde-file-manager-lib/shutil/fileutils.cpp
+index ae8120d3..d6a0573a 100644
+--- a/dde-file-manager-lib/shutil/fileutils.cpp
++++ b/dde-file-manager-lib/shutil/fileutils.cpp
+@@ -242,13 +242,19 @@ bool FileUtils::isArchive(const QString &path)
+ */
+ QStringList FileUtils::getApplicationNames() {
+ QStringList appNames;
+- QDirIterator it("/usr/share/applications", QStringList("*.desktop"),
+- QDir::Files | QDir::NoDotAndDotDot,
+- QDirIterator::Subdirectories);
+- while (it.hasNext()) {
+- it.next();
+- appNames.append(it.fileName());
++
++ const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
++ qDebug() << "dde-file-manager getApplicationNames desktopDirs:" << desktopDirs;
++ for (const QString &dir : desktopDirs) {
++ QDirIterator it(dir, QStringList("*.desktop"),
++ QDir::Files | QDir::NoDotAndDotDot,
++ QDirIterator::Subdirectories);
++ while (it.hasNext()) {
++ it.next();
++ appNames.append(it.fileName());
++ }
+ }
++
+ return appNames;
+ }
+ //---------------------------------------------------------------------------
+@@ -259,12 +265,16 @@ QStringList FileUtils::getApplicationNames() {
+ */
+ QList FileUtils::getApplications() {
+ QList apps;
+- QDirIterator it("/usr/share/applications", QStringList("*.desktop"),
+- QDir::Files | QDir::NoDotAndDotDot,
+- QDirIterator::Subdirectories);
+- while (it.hasNext()) {
+- it.next();
+- apps.append(DesktopFile(it.filePath()));
++ const QStringList desktopDirs = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
++ qDebug() << "dde-file-manager getApplications desktopDirs:" << desktopDirs;
++ for (const QString &dir : desktopDirs) {
++ QDirIterator it(dir, QStringList("*.desktop"),
++ QDir::Files | QDir::NoDotAndDotDot,
++ QDirIterator::Subdirectories);
++ while (it.hasNext()) {
++ it.next();
++ apps.append(DesktopFile(it.filePath()));
++ }
+ }
+ return apps;
+ }
+diff --git a/dde-file-manager-lib/shutil/mimesappsmanager.cpp b/dde-file-manager-lib/shutil/mimesappsmanager.cpp
+index c6149702..c9e53630 100644
+--- a/dde-file-manager-lib/shutil/mimesappsmanager.cpp
++++ b/dde-file-manager-lib/shutil/mimesappsmanager.cpp
+@@ -542,14 +542,9 @@ QStringList MimesAppsManager::getrecommendedAppsFromMimeWhiteList(const DUrl &ur
+
+ QStringList MimesAppsManager::getApplicationsFolders()
+ {
+- QStringList desktopFolders;
+- desktopFolders << QString("/usr/share/applications/")
+- << QString("/usr/local/share/applications/")
+- << QString("/usr/share/gnome/applications/")
+- << QString("/var/lib/flatpak/exports/share/applications")
+- << QDir::homePath() + QString("/.local/share/flatpak/exports/share/applications")
+- << QDir::homePath() + QString( "/.local/share/applications" );
+- return desktopFolders;
++ QStringList paths = QStandardPaths::standardLocations(QStandardPaths::ApplicationsLocation);
++ qDebug() << "dde-file-manager getApplicationsFolders:" << paths;
++ return paths;
+ }
+
+ QString MimesAppsManager::getMimeAppsCacheFile()
+--
+2.21.0
+
diff --git a/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.pixmaps-paths.patch b/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.pixmaps-paths.patch
new file mode 100644
index 00000000000..582760e6db2
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-file-manager/dde-file-manager.pixmaps-paths.patch
@@ -0,0 +1,38 @@
+From 084c3cfcf4995c109ca2e96f042fe341f925b0b4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jos=C3=A9=20Romildo=20Malaquias?=
+Date: Thu, 16 May 2019 19:00:52 -0300
+Subject: [PATCH 4/4] Use xdg to look for pixmap icons
+
+---
+ dde-file-manager-lib/shutil/fileutils.cpp | 15 ++++++++++-----
+ 1 file changed, 10 insertions(+), 5 deletions(-)
+
+diff --git a/dde-file-manager-lib/shutil/fileutils.cpp b/dde-file-manager-lib/shutil/fileutils.cpp
+index d6a0573a..e912e7c2 100644
+--- a/dde-file-manager-lib/shutil/fileutils.cpp
++++ b/dde-file-manager-lib/shutil/fileutils.cpp
+@@ -362,11 +362,16 @@ QIcon FileUtils::searchAppIcon(const DesktopFile &app,
+ }
+
+ // Last chance
+- QDir appIcons("/usr/share/pixmaps","", 0, QDir::Files | QDir::NoDotAndDotDot);
+- QStringList iconFiles = appIcons.entryList();
+- QStringList searchIcons = iconFiles.filter(name);
+- if (searchIcons.count() > 0) {
+- return QIcon("/usr/share/pixmaps/" + searchIcons.at(0));
++ const QStringList dirs = QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation);
++ qDebug() << "searchAppIcon: last chance: look for pixmaps at: " << dirs;
++ for (const QString &dir : dirs) {
++ const QString path = dir + QDir::separator() + "pixmaps";
++ QDir appIcons(path,"", 0, QDir::Files | QDir::NoDotAndDotDot);
++ QStringList iconFiles = appIcons.entryList();
++ QStringList searchIcons = iconFiles.filter(name);
++ if (searchIcons.count() > 0) {
++ return QIcon(path + QDir::separator() + searchIcons.at(0));
++ }
+ }
+
+ // Default icon
+--
+2.21.0
+
diff --git a/pkgs/desktops/deepin/dde-file-manager/default.nix b/pkgs/desktops/deepin/dde-file-manager/default.nix
new file mode 100644
index 00000000000..081c93a65c8
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-file-manager/default.nix
@@ -0,0 +1,250 @@
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, avfs, dde-daemon, dde-dock,
+ dde-polkit-agent, dde-qt-dbus-factory, deepin, deepin-anything,
+ deepin-desktop-schemas, deepin-gettext-tools, deepin-movie-reborn,
+ deepin-shortcut-viewer, deepin-terminal, dtkcore, dtkwidget,
+ ffmpegthumbnailer, file, glib, gnugrep, gsettings-qt, gvfs,
+ jemalloc, kcodecs, libX11, libsecret, polkit, polkit-qt, poppler,
+ procps, qmake, qt5integration, qtmultimedia, qtsvg, qttools,
+ qtx11extras, runtimeShell, samba, shadow, taglib, udisks2-qt5,
+ xdg-user-dirs, xorg, zlib, wrapGAppsHook }:
+
+mkDerivation rec {
+ pname = "dde-file-manager";
+ version = "4.8.6.4";
+
+ src = fetchFromGitHub {
+ owner = "linuxdeepin";
+ repo = pname;
+ rev = version;
+ sha256 = "1m0ykw5a91rm5xcah8bzk21xsambqvncj8104ihdhf9h0z9kdmm2";
+ };
+
+ nativeBuildInputs = [
+ deepin.setupHook
+ qmake
+ qttools
+ pkgconfig
+ deepin-gettext-tools
+ wrapGAppsHook
+ ];
+
+ buildInputs = [
+ avfs
+ dde-daemon
+ dde-dock
+ dde-polkit-agent
+ dde-qt-dbus-factory
+ deepin-anything
+ deepin-desktop-schemas
+ deepin-movie-reborn.dev
+ deepin-shortcut-viewer
+ deepin-terminal
+ dtkcore
+ dtkwidget
+ ffmpegthumbnailer
+ file
+ glib.bin
+ glib.dev
+ gnugrep
+ gsettings-qt
+ gvfs
+ jemalloc
+ kcodecs
+ libsecret
+ polkit
+ polkit-qt
+ poppler
+ procps
+ qt5integration
+ qtmultimedia
+ qtsvg
+ qtx11extras
+ samba
+ taglib
+ udisks2-qt5
+ xdg-user-dirs
+ xorg.libX11
+ xorg.libxcb
+ xorg.xcbutil
+ xorg.xcbutilwm
+ xorg.xorgproto
+ zlib
+ ];
+
+ patches = [
+ ./dde-file-manager.fix-paths.patch
+ ./dde-file-manager.fix-mime-cache-paths.patch
+ ./dde-file-manager.pixmaps-paths.patch
+ ];
+
+ postPatch = ''
+ searchHardCodedPaths
+
+ patchShebangs dde-desktop/translate_generation.sh
+ patchShebangs dde-desktop/translate_ts2desktop.sh
+ patchShebangs dde-file-manager-lib/generate_translations.sh
+ patchShebangs dde-file-manager/generate_translations.sh
+ patchShebangs dde-file-manager/translate_ts2desktop.sh
+ patchShebangs usb-device-formatter/generate_translations.sh
+ patchShebangs usb-device-formatter/translate_ts2desktop.sh
+
+ # x-terminal-emulator is a virtual package in Debian systems. The
+ # terminal emulator is configured by Debian's alternative system.
+ # It is not available on NixOS. Use deepin-terminal instead
+ sed -i -e "s,x-terminal-emulator,deepin-terminal," \
+ dde-file-manager-lib/shutil/fileutils.cpp
+
+ sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/lib," \
+ dde-file-manager-lib/dde-file-manager-lib.pro \
+ dde-file-thumbnail-tool/common.pri \
+ common/common.pri
+
+ sed -i '/^QMAKE_PKGCONFIG_DESTDIR/i QMAKE_PKGCONFIG_PREFIX = $$PREFIX' \
+ dde-file-manager-lib/dde-file-manager-lib.pro
+
+ fixPath ${dde-dock} /usr/include/dde-dock \
+ dde-dock-plugins/disk-mount/disk-mount.pro
+
+ # treefrog is not available in NixOS, and I am not sure if it is really needed
+ #fixPath $ {treefrog-framework} /usr/include/treefrog \
+ # dde-sharefiles/appbase.pri
+
+ fixPath ${deepin-anything} /usr/share/dbus-1/interfaces \
+ dde-file-manager-lib/dbusinterface/dbusinterface.pri
+
+ sed -i -e "s,\$\$system(\$\$PKG_CONFIG --variable libdir deepin-anything-server-lib),$out/lib," \
+ deepin-anything-server-plugins/dde-anythingmonitor/dde-anythingmonitor.pro
+
+ fixPath ${dde-daemon} /usr/lib/deepin-daemon/desktop-toggle \
+ dde-zone/mainwindow.h
+
+ fixPath ${deepin-gettext-tools} /usr/bin/deepin-desktop-ts-convert \
+ dde-desktop/translate_desktop2ts.sh \
+ dde-desktop/translate_ts2desktop.sh \
+ dde-file-manager/translate_desktop2ts.sh \
+ dde-file-manager/translate_ts2desktop.sh \
+ usb-device-formatter/translate_desktop2ts.sh \
+ usb-device-formatter/translate_ts2desktop.sh
+
+ fixPath ${avfs} /usr/bin/mountavfs dde-file-manager-lib/shutil/fileutils.cpp
+ fixPath ${avfs} /usr/bin/umountavfs dde-file-manager-lib/shutil/fileutils.cpp
+
+ fixPath ${deepin-terminal} /usr/bin/deepin-terminal \
+ dde-file-manager-lib/shutil/fileutils.cpp
+
+ fixPath $out /usr/share/dde-file-manager \
+ dde-sharefiles/appbase.pri \
+ dde-sharefiles/dde-sharefiles.pro
+
+ fixPath $out /usr/share/usb-device-formatter \
+ usb-device-formatter/main.cpp
+
+ fixPath $out /usr/share/applications \
+ dde-file-manager/mips/dde-file-manager-autostart.desktop \
+ dde-desktop/development.pri
+
+ fixPath $out /usr/bin \
+ dbusservices/com.deepin.dde.desktop.service \
+ dde-desktop/data/com.deepin.dde.desktop.service \
+ dde-desktop/dbus/filedialog/com.deepin.filemanager.filedialog.service \
+ dde-desktop/dbus/filemanager1/org.freedesktop.FileManager.service \
+ dde-file-manager-daemon/dbusservice/com.deepin.filemanager.daemon.service \
+ dde-file-manager-daemon/dbusservice/dde-filemanager-daemon.service \
+ dde-file-manager-daemon/dde-file-manager-daemon.pro \
+ dde-file-manager-lib/dde-file-manager-lib.pro \
+ dde-file-manager-lib/pkexec/com.deepin.pkexec.dde-file-manager.policy \
+ dde-file-manager/dde-file-manager-xdg-autostart.desktop \
+ dde-file-manager/dde-file-manager.desktop \
+ dde-file-manager/dde-file-manager.pro \
+ dde-file-manager/mips/dde-file-manager-autostart.desktop \
+ dde-file-manager/mips/dde-file-manager.desktop \
+ dde-file-manager/pkexec/com.deepin.pkexec.dde-file-manager.policy \
+ usb-device-formatter/pkexec/com.deepin.pkexec.usb-device-formatter.policy \
+ usb-device-formatter/usb-device-formatter.desktop \
+ usb-device-formatter/usb-device-formatter.pro
+ fixPath $out /etc \
+ dde-file-manager/dde-file-manager.pro \
+ dde-file-manager-daemon/dde-file-manager-daemon.pro
+
+ fixPath $out /usr \
+ common/common.pri \
+ dde-desktop/dbus/filedialog/filedialog.pri \
+ dde-desktop/dbus/filemanager1/filemanager1.pri \
+ dde-desktop/development.pri \
+ dde-dock-plugins/disk-mount/disk-mount.pro \
+ dde-file-manager-daemon/dde-file-manager-daemon.pro \
+ usb-device-formatter/usb-device-formatter.pro
+
+ sed -i -e "s,xdg-user-dir,${xdg-user-dirs}/bin/xdg-user-dir," \
+ dde-file-manager/dde-xdg-user-dirs-update
+
+ sed -i -e "s,Exec=dde-file-manager,Exec=$out/bin/dde-file-manager," \
+ dde-file-manager/dde-file-manager.desktop
+
+ sed -i -e "s,Exec=gio,Exec=${glib.bin}/bin/gio," \
+ dde-desktop/data/applications/dde-trash.desktop \
+ dde-desktop/data/applications/dde-computer.desktop
+
+ sed -i -e "s,/usr/lib/gvfs/gvfsd,${gvfs}/libexec/gvfsd," \
+ dde-file-manager-lib/gvfs/networkmanager.cpp
+
+ sed -i -e "s,/usr/sbin/smbd,${samba}/bin/smbd," \
+ -e "s,/usr/sbin/groupadd,${shadow}/bin/groupadd," \
+ -e "s,/usr/sbin/adduser,${shadow}/bin/adduser," \
+ dde-file-manager-daemon/usershare/usersharemanager.cpp
+
+ sed -i -e 's,startDetached("deepin-shortcut-viewer",startDetached("${deepin-shortcut-viewer}/bin/deepin-shortcut-viewer",' \
+ dde-file-manager-lib/controllers/appcontroller.cpp
+
+ sed -i -e 's,/bin/bash,${runtimeShell},' \
+ -e 's,\,${procps}/bin/ps,' \
+ -e 's,\,${gnugrep}/bin/grep,' \
+ utils/utils.cpp \
+ dde-file-manager-lib/controllers/fileeventprocessor.cpp
+
+ # The hard coded path in `QString("/etc/xdg/%1/%2")` in
+ # dde-file-manager-lib/interfaces/dfmsettings.cpp
+ # does not needed a fix because all the standard locations
+ # are tried before faling back to /etc/xdg.
+
+ # I do not know yet how to deal with:
+ # dde-file-manager-lib/sw_label/llsdeepinlabellibrary.h: return "/usr/lib/sw_64-linux-gnu/dde-file-manager/libllsdeeplabel.so";
+ # dde-file-manager-lib/sw_label/filemanagerlibrary.h: return "/usr/lib/sw_64-linux-gnu/dde-file-manager/libfilemanager.so";
+ # dde-file-manager-lib/sw_label/libinstall.sh:mkdir /usr/lib/sw_64-linux-gnu/dde-file-manager
+ # dde-file-manager-lib/sw_label/libinstall.sh:cp libfilemanager.so libllsdeeplabel.so /usr/lib/sw_64-linux-gnu/dde-file-manager
+ # They are not present on my installations of Deepin Linux, Arch Linux and Ubuntu. Can they be ignored?
+
+ # Notes:
+ # - As file-roller is looked in the path using QStandardPaths::findExecutable, it is not been added as a dependency.
+ # - deepin-qt5config is a dependency exclusive to the Deepin Linux distribution. No other distribution has it, according to repology.
+ '';
+
+ qmakeFlags = [
+ "QMAKE_CFLAGS_ISYSTEM="
+
+ # Disable ffmpeg
+ "CONFIG+=DISABLE_FFMPEG"
+ ];
+
+ preBuild = ''
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${zlib}/lib";
+ export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${libX11}/lib";
+ '';
+
+ postFixup = ''
+ # debuging
+ unset LD_LIBRARY_PATH
+ searchForUnresolvedDLL $out
+ searchHardCodedPaths $out
+ '';
+
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
+
+ meta = with stdenv.lib; {
+ description = "File manager and desktop module for Deepin Desktop Environment";
+ homepage = https://github.com/linuxdeepin/dde-file-manager;
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ romildo ];
+ };
+}
diff --git a/pkgs/desktops/deepin/dde-launcher/default.nix b/pkgs/desktops/deepin/dde-launcher/default.nix
new file mode 100644
index 00000000000..b36d87604e7
--- /dev/null
+++ b/pkgs/desktops/deepin/dde-launcher/default.nix
@@ -0,0 +1,75 @@
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, dde-qt-dbus-factory,
+ dde-session-ui, deepin, deepin-desktop-schemas, deepin-wallpapers,
+ dtkcore, dtkwidget, gsettings-qt, qtsvg, qttools, qtx11extras,
+ which, xdg_utils, wrapGAppsHook }:
+
+mkDerivation rec {
+ pname = "dde-launcher";
+ version = "4.6.13";
+
+ src = fetchFromGitHub {
+ owner = "linuxdeepin";
+ repo = pname;
+ rev = version;
+ sha256 = "1lwwn2qjbd4i7wx18mi8n7hzdh832i3kdadrivr10sbafdank7ky";
+ };
+
+ nativeBuildInputs = [
+ cmake
+ pkgconfig
+ qttools
+ wrapGAppsHook
+ deepin.setupHook
+ ];
+
+ buildInputs = [
+ dde-qt-dbus-factory
+ dde-session-ui
+ deepin-desktop-schemas
+ deepin-wallpapers
+ dtkcore
+ dtkwidget
+ gsettings-qt
+ qtsvg
+ qtx11extras
+ which
+ xdg_utils
+ ];
+
+ postPatch = ''
+ # debugging
+ searchHardCodedPaths
+
+ substituteInPlace CMakeLists.txt --replace "/usr/share" "$out/share"
+
+ substituteInPlace src/dbusservices/com.deepin.dde.Launcher.service --replace "/usr" "$out"
+
+ substituteInPlace src/historywidget.cpp --replace "xdg-open" "${xdg_utils}/bin/xdg-open"
+ substituteInPlace src/widgets/miniframebottombar.cpp --replace "dde-shutdown" "${dde-session-ui}/bin/dde-shutdown"
+ substituteInPlace src/widgets/miniframerightbar.cpp --replace "which" "${which}/bin/which"
+
+ # Uncomment (and remove space after $) after packaging deepin-manual
+ #substituteInPlace src/sharedeventfilter.cpp --replace "dman" "$ {deepin-manual}/bin/dman"
+
+ for f in src/boxframe/*.cpp; do
+ substituteInPlace $f --replace "/usr/share/backgrounds/default_background.jpg" "${deepin-wallpapers}/share/backgrounds/deepin/desktop.jpg"
+ done
+
+ # note: `dbus-send` path does not need to be hard coded because it is not used for dtkcore >= 2.0.8.0
+ '';
+
+ postFixup = ''
+ # debugging
+ searchHardCodedPaths $out
+ '';
+
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
+
+ meta = with stdenv.lib; {
+ description = "Deepin Desktop Environment launcher module";
+ homepage = https://github.com/linuxdeepin/dde-launcher;
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ romildo ];
+ };
+}
diff --git a/pkgs/desktops/deepin/dde-network-utils/default.nix b/pkgs/desktops/deepin/dde-network-utils/default.nix
index 84c7c9207ec..5397439949b 100644
--- a/pkgs/desktops/deepin/dde-network-utils/default.nix
+++ b/pkgs/desktops/deepin/dde-network-utils/default.nix
@@ -1,8 +1,7 @@
-{ stdenv, fetchFromGitHub, substituteAll, qmake, pkgconfig, qttools,
+{ stdenv, mkDerivation, fetchFromGitHub, substituteAll, qmake, pkgconfig, qttools,
dde-qt-dbus-factory, proxychains, which, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dde-network-utils";
version = "0.1.4";
@@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out # for debugging
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin network utils";
diff --git a/pkgs/desktops/deepin/dde-polkit-agent/default.nix b/pkgs/desktops/deepin/dde-polkit-agent/default.nix
index da54fcdb64d..9d181c188d4 100644
--- a/pkgs/desktops/deepin/dde-polkit-agent/default.nix
+++ b/pkgs/desktops/deepin/dde-polkit-agent/default.nix
@@ -1,16 +1,15 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, polkit-qt,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, polkit-qt,
dtkcore, dtkwidget, dde-qt-dbus-factory, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dde-polkit-agent";
- version = "0.2.6";
+ version = "0.2.10";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1ih78sxhnn6hbx9mzhalx95dk18f217mjbvymf8dky2vkmw8vnmx";
+ sha256 = "0syg121slpd6d9xpifgcf85lg9ca0k96cl1g3rjvsmczs2d2ffgf";
};
nativeBuildInputs = [
@@ -27,10 +26,6 @@ stdenv.mkDerivation rec {
polkit-qt
];
- patches = [
- ./dde-polkit-agent.plugins-dir.patch
- ];
-
postPatch = ''
searchHardCodedPaths
patchShebangs translate_generation.sh
@@ -43,7 +38,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "PolicyKit agent for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix b/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix
index 1d9c13c17bb..a0e1e35ad85 100644
--- a/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix
+++ b/pkgs/desktops/deepin/dde-qt-dbus-factory/default.nix
@@ -1,15 +1,14 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, python3, deepin }:
+{ stdenv, fetchFromGitHub, qmake, python3, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "dde-qt-dbus-factory";
- version = "1.1.1";
+ version = "1.1.5";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1b2i5m6fzkga72hbl85v2rng3qq53di39p7jj2f119wmlfbyp2vg";
+ sha256 = "1jzfblsmnfpgym95mmbd8mjkk8wqqfb0kz6n6fy742hmqlzrpsj7";
};
nativeBuildInputs = [
@@ -27,7 +26,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Qt DBus interface library for Deepin software";
diff --git a/pkgs/desktops/deepin/dde-session-ui/default.nix b/pkgs/desktops/deepin/dde-session-ui/default.nix
index f6d70e330ea..d6713fb3688 100644
--- a/pkgs/desktops/deepin/dde-session-ui/default.nix
+++ b/pkgs/desktops/deepin/dde-session-ui/default.nix
@@ -1,18 +1,19 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtsvg, qttools,
- qtx11extras, xkeyboard_config, xorg, lightdm_qt, gsettings-qt,
- dde-qt-dbus-factory, deepin-gettext-tools, dtkcore, dtkwidget,
- deepin-desktop-schemas, deepin, hicolor-icon-theme, wrapGAppsHook }:
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, dbus, dde-daemon,
+ dde-qt-dbus-factory, deepin, deepin-desktop-schemas,
+ deepin-gettext-tools, deepin-icon-theme, deepin-wallpapers, dtkcore,
+ dtkwidget, gnugrep, gsettings-qt, hicolor-icon-theme, lightdm_qt,
+ onboard, qtsvg, qttools, qtx11extras, setxkbmap, utillinux, which,
+ xkeyboard_config, xorg, xrandr, wrapGAppsHook }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dde-session-ui";
- version = "4.9.6";
+ version = "4.9.12";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1wk5mjv1g9my80cxpcycqkm2gjc5r5rrcpxmsl06w4g2c19k50x1";
+ sha256 = "00i45xv87wx9cww1d445lg6zjbhda5kki8nhsaav8gf2d4cmwzf4";
};
nativeBuildInputs = [
@@ -25,37 +26,95 @@ stdenv.mkDerivation rec {
];
buildInputs = [
+ dbus
+ dde-daemon
dde-qt-dbus-factory
+ deepin-desktop-schemas
+ deepin-icon-theme
+ deepin-wallpapers
dtkcore
dtkwidget
+ gnugrep
gsettings-qt
+ hicolor-icon-theme
lightdm_qt
+ onboard
qtsvg
qtx11extras
+ setxkbmap
+ utillinux
+ which
+ xkeyboard_config
xorg.libXcursor
xorg.libXrandr
xorg.libXtst
- xkeyboard_config
- hicolor-icon-theme
- deepin-desktop-schemas
+ xrandr
];
postPatch = ''
- searchHardCodedPaths
- patchShebangs translate_generation.sh
- patchShebangs translate_desktop.sh
- sed -i translate_desktop.sh -e "s,/usr/bin/deepin-desktop-ts-convert,deepin-desktop-ts-convert,"
+ searchHardCodedPaths # debugging
+
+ patchShebangs translate_generation.sh translate_desktop.sh
+
+ substituteInPlace translate_desktop.sh --replace "/usr/bin/deepin-desktop-ts-convert" "deepin-desktop-ts-convert"
+
find -type f -exec sed -i -e "s,path = /etc,path = $out/etc," {} +
find -type f -exec sed -i -e "s,path = /usr,path = $out," {} +
- find -type f -exec sed -i -e "s,Exec=/usr,Exec=$out," {} +
find -type f -exec sed -i -e "s,/usr/share/dde-session-ui,$out/share/dde-session-ui," {} +
- sed -i global_util/xkbparser.h -e "s,/usr/share/X11/xkb/rules/base.xml,${xkeyboard_config}/share/X11/xkb/rules/base.xml,"
- sed -i lightdm-deepin-greeter/scripts/lightdm-deepin-greeter -e "s,/usr/bin/lightdm-deepin-greeter,$out/bin/lightdm-deepin-greeter,"
+
+ substituteInPlace dde-osd/dde-osd_autostart.desktop --replace "Exec=/usr/lib/deepin-daemon/dde-osd" "Exec=$out/lib/deepin-daemon/dde-osd"
+ substituteInPlace dde-osd/com.deepin.dde.osd.service --replace "Exec=/usr/lib/deepin-daemon/dde-osd" "Exec=$out/lib/deepin-daemon/dde-osd"
+ substituteInPlace dde-lock/com.deepin.dde.lockFront.service --replace "Exec=/usr/bin/dde-lock" "Exec=$out/bin/dde-lock"
+ substituteInPlace dmemory-warning-dialog/com.deepin.dde.MemoryWarningDialog.service --replace "Exec=/usr/bin/dmemory-warning-dialog" "Exec=$out/bin/dmemory-warning-dialog"
+ substituteInPlace dde-warning-dialog/com.deepin.dde.WarningDialog.service --replace "Exec=/usr/lib/deepin-daemon/dde-warning-dialog" "Exec=$out/lib/deepin-daemon/dde-warning-dialog"
+ substituteInPlace dde-shutdown/com.deepin.dde.shutdownFront.service --replace "Exec=/usr/bin/dde-shutdown" "Exec=$out/bin/dde-shutdown"
+ substituteInPlace dde-welcome/com.deepin.dde.welcome.service --replace "Exec=/usr/lib/deepin-daemon/dde-welcome" "Exec=$out/lib/deepin-daemon/dde-welcome"
+ substituteInPlace session-ui-guardien/session-ui-guardien.desktop --replace "Exec=/usr/bin/session-ui-guardien" "Exec=$out/bin/session-ui-guardien"
+ substituteInPlace lightdm-deepin-greeter/lightdm-deepin-greeter.desktop --replace "Exec=/usr/bin/deepin-greeter" "Exec=$out/bin/deepin-greeter"
+ substituteInPlace misc/applications/deepin-toggle-desktop.desktop.in --replace "Exec=/usr/lib/deepin-daemon/desktop-toggle" "Exec=${dde-daemon}/lib/deepin-daemon/desktop-toggle"
+
+ # Uncomment (and remove space after $) after packaging deepin-system-monitor
+ #substituteInPlace dde-shutdown/view/contentwidget.cpp --replace "/usr/bin/deepin-system-monitor" "$ {deepin-system-monitor}/bin/deepin-system-monitor"
+
+ substituteInPlace dde-offline-upgrader/main.cpp --replace "dbus-send" "${dbus}/bin/dbus-send"
+ substituteInPlace dde-osd/kblayoutindicator.cpp --replace "dbus-send" "${dbus}/bin/dbus-send"
+ substituteInPlace dde-shutdown/view/contentwidget.cpp --replace "/usr/share/backgrounds/deepin" "${deepin-wallpapers}/share/backgrounds/deepin"
+ substituteInPlace dde-welcome/mainwidget.cpp --replace "dbus-send" "${dbus}/bin/dbus-send"
+ substituteInPlace dmemory-warning-dialog/src/buttondelegate.cpp --replace "dbus-send" "${dbus}/bin/dbus-send"
+ substituteInPlace dmemory-warning-dialog/src/buttondelegate.cpp --replace "kill" "${utillinux}/bin/dbus-send"
+ substituteInPlace global_util/xkbparser.h --replace "/usr/share/X11/xkb/rules/base.xml" "${xkeyboard_config}/share/X11/xkb/rules/base.xml"
+ substituteInPlace lightdm-deepin-greeter/deepin-greeter --replace "/etc/deepin/greeters.d" "$out/etc/deepin/greeters.d"
+ substituteInPlace lightdm-deepin-greeter/main.cpp --replace "/usr/share/icons/deepin" "${deepin-icon-theme}/share/icons/deepin"
+ substituteInPlace lightdm-deepin-greeter/scripts/00-xrandr --replace "egrep" "${gnugrep}/bin/egrep"
+ substituteInPlace lightdm-deepin-greeter/scripts/00-xrandr --replace "xrandr" "${xrandr}/bin/xrandr"
+ substituteInPlace lightdm-deepin-greeter/scripts/lightdm-deepin-greeter --replace "/usr/bin/lightdm-deepin-greeter" "$out/bin/lightdm-deepin-greeter"
+ substituteInPlace session-ui-guardien/guardien.cpp --replace "dde-lock" "$out/bin/dde-lock"
+ substituteInPlace session-ui-guardien/guardien.cpp --replace "dde-shutdown" "$out/bin/dde-shutdown"
+ substituteInPlace session-widgets/lockworker.cpp --replace "dde-switchtogreeter" "$out/bin/dde-switchtogreeter"
+ substituteInPlace session-widgets/lockworker.cpp --replace "which" "${which}/bin/which"
+ substituteInPlace session-widgets/userinfo.cpp --replace "/usr/share/wallpapers/deepin" "${deepin-wallpapers}/share/wallpapers/deepin"
+ substituteInPlace widgets/fullscreenbackground.cpp --replace "/usr/share/wallpapers/deepin" "${deepin-wallpapers}/share/wallpapers/deepin"
+ substituteInPlace widgets/kblayoutwidget.cpp --replace "setxkbmap" "${setxkbmap}/bin/setxkbmap"
+ substituteInPlace widgets/virtualkbinstance.cpp --replace "onboard" "${onboard}/bin/onboard"
+
# fix default background url
- sed -i widgets/*.cpp boxframe/*.cpp -e 's,/usr/share/backgrounds/default_background.jpg,/usr/share/backgrounds/deepin/desktop.jpg,'
+ substituteInPlace widgets/fullscreenbackground.cpp --replace "/usr/share/backgrounds/default_background.jpg" "${deepin-wallpapers}/share/backgrounds/deepin/desktop.jpg"
+
+ # NOTES
+ # - on deepin linux /usr/share/icons/default/index.theme is controlled by alternatives, without an equivalent mechanism in NixOS
+ # - do not wrap dde-dman-portal related files: it appears it has been removed: https://github.com/linuxdeepin/dde-session-ui/commit/3bd028cf135ad22c784c0146e447ef34a69af768
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ postFixup = ''
+ # wrapGAppsHook does not work with binaries outside of $out/bin or $out/libexec
+ for binary in $out/lib/deepin-daemon/*; do
+ wrapProgram $binary "''${qtWrapperArgs[@]}"
+ done
+
+ searchHardCodedPaths $out # debugging
+ '';
+
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin desktop-environment - Session UI module";
diff --git a/pkgs/desktops/deepin/deepin-anything/default.nix b/pkgs/desktops/deepin/deepin-anything/default.nix
index 39e3a66af5e..7c88102c5f3 100644
--- a/pkgs/desktops/deepin/deepin-anything/default.nix
+++ b/pkgs/desktops/deepin/deepin-anything/default.nix
@@ -1,16 +1,15 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qtbase, udisks2-qt5, utillinux,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qtbase, udisks2-qt5, utillinux,
dtkcore, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-anything";
- version = "0.0.7";
+ version = "0.1.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1qggqjjqz2y51pag0v5qniv6763mgrmzjmr7248xx2paw3a923vk";
+ sha256 = "1kvyffrii4b012f6ld1ih14qrn7gg5cxbdpbkac0wxb22hnz0azm";
};
outputs = [ "out" "modsrc" ];
@@ -31,7 +30,7 @@ stdenv.mkDerivation rec {
makeFlags = [
"DEB_HOST_MULTIARCH="
- "PREFIX=${placeholder ''out''}"
+ "PREFIX=${placeholder "out"}"
];
postPatch = ''
@@ -52,7 +51,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $modsrc # for debugging
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin file search tool";
diff --git a/pkgs/desktops/deepin/deepin-calculator/default.nix b/pkgs/desktops/deepin/deepin-calculator/default.nix
new file mode 100644
index 00000000000..97d2b53da70
--- /dev/null
+++ b/pkgs/desktops/deepin/deepin-calculator/default.nix
@@ -0,0 +1,48 @@
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, qtsvg, dtkcore,
+ dtkwidget, deepin }:
+
+mkDerivation rec {
+ pname = "deepin-calculator";
+ version = "1.0.11";
+
+ src = fetchFromGitHub {
+ owner = "linuxdeepin";
+ repo = pname;
+ rev = version;
+ sha256 = "10bfq0h8v0a8i46gcbsy79l194g8sc0ysg289ndrra209fhwlidq";
+ };
+
+ nativeBuildInputs = [
+ qmake
+ pkgconfig
+ qttools
+ deepin.setupHook
+ ];
+
+ buildInputs = [
+ dtkcore
+ dtkwidget
+ qtsvg
+ ];
+
+ postPatch = ''
+ searchHardCodedPaths # debugging
+ patchShebangs translate_generation.sh
+ fixPath $out /usr deepin-calculator.pro
+ substituteInPlace deepin-calculator.desktop --replace "Exec=deepin-calculator" "Exec=$out/bin/deepin-calculator"
+ '';
+
+ postFixup = ''
+ searchHardCodedPaths $out # debugging
+ '';
+
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
+
+ meta = with stdenv.lib; {
+ description = "Easy to use calculator for Deepin Desktop Environment";
+ homepage = https://github.com/linuxdeepin/deepin-calculator;
+ license = licenses.gpl3;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ romildo ];
+ };
+}
diff --git a/pkgs/desktops/deepin/deepin-desktop-base/default.nix b/pkgs/desktops/deepin/deepin-desktop-base/default.nix
index 6e6d02f17e0..ba826eb9063 100644
--- a/pkgs/desktops/deepin/deepin-desktop-base/default.nix
+++ b/pkgs/desktops/deepin/deepin-desktop-base/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, deepin-wallpapers, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-desktop-base";
- version = "2019.04.24";
+ version = "2019.06.19";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0mdfjkyjrccxlsg05mf80qcw8v5srlp80rvjkpnnbhfscq1fnpgn";
+ sha256 = "1r158x4z4qalv4q1ni3aln05krdzblvr7y6wyciwl7cr5ag1i1jy";
};
nativeBuildInputs = [ deepin.setupHook ];
@@ -41,7 +40,7 @@ stdenv.mkDerivation rec {
ln -s ../lib/deepin/desktop-version $out/etc/deepin-version
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Base assets and definitions for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix b/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix
index f0a3d711a1d..4f2427e8237 100644
--- a/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix
+++ b/pkgs/desktops/deepin/deepin-desktop-schemas/default.nix
@@ -2,15 +2,14 @@
deepin-icon-theme, deepin-sound-theme, deepin-wallpapers, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-desktop-schemas";
- version = "3.13.0";
+ version = "3.13.6";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0bamjcpmsl8xhw3ksgl11wv5xwcdhrkl1namikfzc4an03sk1rdq";
+ sha256 = "03jqb47kjyb9b43m2yincfjn2i43ma1pn1hddyicrrpg937caa81";
};
nativeBuildInputs = [
@@ -33,7 +32,7 @@ stdenv.mkDerivation rec {
# fix default background url
sed -i -e 's,/usr/share/backgrounds/default_background.jpg,/usr/share/backgrounds/deepin/desktop.jpg,' \
overrides/common/com.deepin.wrap.gnome.desktop.override
-
+
fixPath ${deepin-wallpapers} /usr/share/backgrounds \
overrides/common/com.deepin.wrap.gnome.desktop.override
@@ -47,7 +46,7 @@ stdenv.mkDerivation rec {
# /usr/share/desktop-directories
'';
- makeFlags = [ "PREFIX=${placeholder ''out''}" ];
+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
doCheck = true;
checkTarget = "test";
@@ -57,7 +56,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "GSettings deepin desktop-wide schemas";
diff --git a/pkgs/desktops/deepin/deepin-gettext-tools/default.nix b/pkgs/desktops/deepin/deepin-gettext-tools/default.nix
index d9a6f370168..67fcc36bcef 100644
--- a/pkgs/desktops/deepin/deepin-gettext-tools/default.nix
+++ b/pkgs/desktops/deepin/deepin-gettext-tools/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, gettext, python3Packages, perlPackages, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-gettext-tools";
version = "1.0.8";
@@ -24,7 +23,7 @@ stdenv.mkDerivation rec {
python3Packages.python
];
- makeFlags = [ "PREFIX=${placeholder ''out''}" ];
+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
postPatch = ''
sed -e 's/sudo cp/cp/' -i src/generate_mo.py
@@ -36,7 +35,7 @@ stdenv.mkDerivation rec {
wrapProgram $out/bin/deepin-desktop-ts-convert --set PERL5LIB $PERL5LIB
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin Internationalization utilities";
diff --git a/pkgs/desktops/deepin/deepin-gtk-theme/default.nix b/pkgs/desktops/deepin/deepin-gtk-theme/default.nix
index e0657752d10..8e2469a2c78 100644
--- a/pkgs/desktops/deepin/deepin-gtk-theme/default.nix
+++ b/pkgs/desktops/deepin/deepin-gtk-theme/default.nix
@@ -1,22 +1,21 @@
{ stdenv, fetchFromGitHub, gtk-engine-murrine, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-gtk-theme";
- version = "17.10.10";
+ version = "17.10.11";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-gtk-theme";
rev = version;
- sha256 = "0vwly24cvjwhvda7g3l595vpf99d2z7b2zr0q5kna4df4iql7vn4";
+ sha256 = "0zs6mq70yd1k3d9zm3q6zxnw1md56r4imad5imdxwx58yxdx47fw";
};
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
- makeFlags = [ "PREFIX=${placeholder ''out''}" ];
+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin GTK Theme";
diff --git a/pkgs/desktops/deepin/deepin-icon-theme/default.nix b/pkgs/desktops/deepin/deepin-icon-theme/default.nix
index 5976b7cb1af..e63a228d0cb 100644
--- a/pkgs/desktops/deepin/deepin-icon-theme/default.nix
+++ b/pkgs/desktops/deepin/deepin-icon-theme/default.nix
@@ -1,15 +1,14 @@
{ stdenv, fetchFromGitHub, gtk3, xcursorgen, papirus-icon-theme, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-icon-theme";
- version = "15.12.69";
+ version = "15.12.71";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1y6r2as3acqkq8z1d44c82jfplihscmqc9fgpq1j0anznwcdj73k";
+ sha256 = "12rzzjp906np95ckbxrd4mb345lm198wz69kxy48f8q1zg78q8iw";
};
nativeBuildInputs = [ gtk3 xcursorgen ];
@@ -28,13 +27,13 @@ stdenv.mkDerivation rec {
buildTargets = "all hicolor-links";
installTargets = "install-icons install-cursors";
- installFlags = [ "PREFIX=${placeholder ''out''}" ];
+ installFlags = [ "PREFIX=${placeholder "out"}" ];
postInstall = ''
cp -a ./Sea ./usr/share/icons/hicolor "$out"/share/icons/
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Icons for the Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/deepin-image-viewer/default.nix b/pkgs/desktops/deepin/deepin-image-viewer/default.nix
index 54e9db4cb49..733f4846f5c 100644
--- a/pkgs/desktops/deepin/deepin-image-viewer/default.nix
+++ b/pkgs/desktops/deepin/deepin-image-viewer/default.nix
@@ -1,18 +1,17 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, qtsvg,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, qtsvg,
qtx11extras, dtkcore, dtkwidget, qt5integration, freeimage, libraw,
libexif, deepin
}:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-image-viewer";
- version = "1.3.13";
+ version = "1.3.17";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1ql3li63qiw92jx5jzmx3k115vdn3cjfysja3afjhmfngq1xibmj";
+ sha256 = "0hz4f1kqcycyvggwfzpkblhhha87rqd427hq0mf31jfh5x17ymnh";
};
nativeBuildInputs = [
@@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
-e "s,\$\$\[QT_INSTALL_PLUGINS\],$out/$qtPluginPrefix,"
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Image Viewer for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/deepin-menu/default.nix b/pkgs/desktops/deepin/deepin-menu/default.nix
index 990c6a850ff..9aef8a15eb9 100644
--- a/pkgs/desktops/deepin/deepin-menu/default.nix
+++ b/pkgs/desktops/deepin/deepin-menu/default.nix
@@ -1,16 +1,15 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget,
qt5integration, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-menu";
- version = "3.4.6";
+ version = "3.4.8";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1gxf3slqx1s15bjrds29sas7ah6kp8c4pjvzwipncyx6qfgczj2a";
+ sha256 = "09i0ybllymlj7s46pxma5py6x8nknfja4gxn5gj9kpf2c37qsqjc";
};
nativeBuildInputs = [
@@ -35,7 +34,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin menu service";
diff --git a/pkgs/desktops/deepin/deepin-metacity/default.nix b/pkgs/desktops/deepin/deepin-metacity/default.nix
index fdf2c240e2c..18f54223301 100644
--- a/pkgs/desktops/deepin/deepin-metacity/default.nix
+++ b/pkgs/desktops/deepin/deepin-metacity/default.nix
@@ -1,10 +1,9 @@
{ stdenv, fetchFromGitHub, pkgconfig, intltool, libtool, gnome3, glib,
gtk3, libgtop, bamf, json-glib, libcanberra-gtk3, libxkbcommon,
libstartup_notification, deepin-wallpapers, deepin-desktop-schemas,
- deepin }:
+ deepin, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-metacity";
version = "3.22.24";
@@ -21,6 +20,7 @@ stdenv.mkDerivation rec {
libtool
glib.dev
gnome3.gnome-common
+ wrapGAppsHook
];
buildInputs = [
@@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "2D window manager for Deepin";
diff --git a/pkgs/desktops/deepin/deepin-movie-reborn/default.nix b/pkgs/desktops/deepin/deepin-movie-reborn/default.nix
index 914e77d8515..046f589263b 100644
--- a/pkgs/desktops/deepin/deepin-movie-reborn/default.nix
+++ b/pkgs/desktops/deepin/deepin-movie-reborn/default.nix
@@ -1,19 +1,20 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras,
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qttools, qtx11extras,
dtkcore, dtkwidget, ffmpeg, ffmpegthumbnailer, mpv, pulseaudio,
libdvdnav, libdvdread, xorg, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-movie-reborn";
- version = "3.2.22.1";
+ version = "3.2.24";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1qh079j4c2n33z0ykv87af9vfkmdxxrv6dy54wdqdpr7vrhn89gb";
+ sha256 = "16mxym7dm6qk90q2w7xqm62047rq0lirrjmnnpaxshzaww9gngkh";
};
+ outputs = [ "out" "dev" ];
+
nativeBuildInputs = [
cmake
pkgconfig
@@ -43,7 +44,7 @@ stdenv.mkDerivation rec {
sed -i src/libdmr/libdmr.pc.in -e "s,/usr,$out," -e 's,libdir=''${prefix}/,libdir=,'
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin movie player";
diff --git a/pkgs/desktops/deepin/deepin-mutter/default.nix b/pkgs/desktops/deepin/deepin-mutter/default.nix
index 83afe1ee24f..9f2e8068d55 100644
--- a/pkgs/desktops/deepin/deepin-mutter/default.nix
+++ b/pkgs/desktops/deepin/deepin-mutter/default.nix
@@ -5,7 +5,6 @@
deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-mutter";
version = "3.20.38";
@@ -68,7 +67,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Base window manager for deepin, fork of gnome mutter";
diff --git a/pkgs/desktops/deepin/deepin-screenshot/default.nix b/pkgs/desktops/deepin/deepin-screenshot/default.nix
index 9313b903c62..e77aa5e68c6 100644
--- a/pkgs/desktops/deepin/deepin-screenshot/default.nix
+++ b/pkgs/desktops/deepin/deepin-screenshot/default.nix
@@ -1,17 +1,16 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, pkgconfig, xdg_utils, qttools, qtx11extras,
+{ stdenv, mkDerivation, fetchFromGitHub, fetchpatch, cmake, pkgconfig, xdg_utils, qttools, qtx11extras,
dtkcore, dtkwidget, dtkwm, deepin-turbo, deepin-shortcut-viewer,
deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-screenshot";
- version = "4.1.10";
+ version = "4.2.1";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "00zmmnvm5wv9fkc9fbqs23jsqs1mnr68afl4irj6y287ic0pj61i";
+ sha256 = "16wy1ywp4lm7fg488laqxgxpir745rbpj9z410r6x7krpgjds189";
};
nativeBuildInputs = [
@@ -49,7 +48,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Easy-to-use screenshot tool for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/deepin-shortcut-viewer/default.nix b/pkgs/desktops/deepin/deepin-shortcut-viewer/default.nix
index 737c99261f9..62c6c7ed925 100644
--- a/pkgs/desktops/deepin/deepin-shortcut-viewer/default.nix
+++ b/pkgs/desktops/deepin/deepin-shortcut-viewer/default.nix
@@ -1,8 +1,7 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, dtkcore, dtkwidget,
qt5integration, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-shortcut-viewer";
version = "1.3.5";
@@ -26,7 +25,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Pop-up shortcut viewer for Deepin applications";
diff --git a/pkgs/desktops/deepin/deepin-sound-theme/default.nix b/pkgs/desktops/deepin/deepin-sound-theme/default.nix
index bb752cc1ca9..e61e91fc87c 100644
--- a/pkgs/desktops/deepin/deepin-sound-theme/default.nix
+++ b/pkgs/desktops/deepin/deepin-sound-theme/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-sound-theme";
version = "15.10.3";
@@ -12,9 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "1sw4nrn7q7wk1hpicm05apyc0mihaw42iqm52wb8ib8gm1qiylr9";
};
- makeFlags = [ "PREFIX=${placeholder ''out''}" ];
+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin sound theme";
diff --git a/pkgs/desktops/deepin/deepin-terminal/default.nix b/pkgs/desktops/deepin/deepin-terminal/default.nix
index cbee49c0572..59789bd84bb 100644
--- a/pkgs/desktops/deepin/deepin-terminal/default.nix
+++ b/pkgs/desktops/deepin/deepin-terminal/default.nix
@@ -1,19 +1,18 @@
-{ stdenv, fetchurl, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
+{ stdenv, fetchFromGitHub, pkgconfig, cmake, ninja, vala,
gettext, at-spi2-core, dbus, epoxy, expect, gtk3, json-glib,
libXdmcp, libgee, libpthreadstubs, librsvg, libsecret, libtasn1,
libxcb, libxkbcommon, p11-kit, pcre, vte, wnck, libselinux,
- libsepol, utillinux, deepin-menu, deepin-shortcut-viewer, deepin }:
+ libsepol, utillinux, deepin-menu, deepin-shortcut-viewer, deepin, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-terminal";
- version = "3.2.2.1";
+ version = "3.2.6";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = "deepin-terminal";
rev = version;
- sha256 = "08bhdd9q4aqy5yjbpqy918j63c3b2rrdqdkxh3fk258n1fm72gmw";
+ sha256 = "09s5gvzfxfb353kb61x1b6z3h2aqgln3s3mah3f3zkf5y8hrp2pj";
};
nativeBuildInputs = [
@@ -24,6 +23,7 @@ stdenv.mkDerivation rec {
gettext
libselinux libsepol utillinux # required by gio
deepin.setupHook
+ wrapGAppsHook
];
buildInputs = [
@@ -59,7 +59,7 @@ stdenv.mkDerivation rec {
"-DVERSION=${version}"
];
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Default terminal emulator for Deepin";
diff --git a/pkgs/desktops/deepin/deepin-turbo/default.nix b/pkgs/desktops/deepin/deepin-turbo/default.nix
index d5702a55d90..299db533674 100644
--- a/pkgs/desktops/deepin/deepin-turbo/default.nix
+++ b/pkgs/desktops/deepin/deepin-turbo/default.nix
@@ -1,7 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, deepin }:
+{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "deepin-turbo";
version = "0.0.3";
@@ -32,7 +31,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out # for debugging
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "A daemon that helps to launch applications faster";
diff --git a/pkgs/desktops/deepin/deepin-wallpapers/default.nix b/pkgs/desktops/deepin/deepin-wallpapers/default.nix
index f99974ba9c2..e822cf6269d 100644
--- a/pkgs/desktops/deepin/deepin-wallpapers/default.nix
+++ b/pkgs/desktops/deepin/deepin-wallpapers/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, dde-api, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-wallpapers";
version = "1.7.7";
@@ -34,7 +33,7 @@ stdenv.mkDerivation rec {
$out/var/cache/image-blur/$(echo -n $out/share/backgrounds/deepin/desktop.jpg | md5sum | cut -d " " -f 1).jpg
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Wallpapers for Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/deepin-wm/default.nix b/pkgs/desktops/deepin/deepin-wm/default.nix
index 986bee2f0dd..13b115e7042 100644
--- a/pkgs/desktops/deepin/deepin-wm/default.nix
+++ b/pkgs/desktops/deepin/deepin-wm/default.nix
@@ -4,7 +4,6 @@
deepin-desktop-schemas, wrapGAppsHook, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "deepin-wm";
version = "1.9.38";
@@ -64,7 +63,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin Window Manager";
diff --git a/pkgs/desktops/deepin/default.nix b/pkgs/desktops/deepin/default.nix
index ccc2270a8ed..869f08154bb 100644
--- a/pkgs/desktops/deepin/default.nix
+++ b/pkgs/desktops/deepin/default.nix
@@ -9,13 +9,17 @@ let
dbus-factory = callPackage ./dbus-factory { };
dde-api = callPackage ./dde-api { };
dde-calendar = callPackage ./dde-calendar { };
+ dde-control-center = callPackage ./dde-control-center { };
dde-daemon = callPackage ./dde-daemon { };
dde-dock = callPackage ./dde-dock { };
+ dde-file-manager = callPackage ./dde-file-manager { };
+ dde-launcher = callPackage ./dde-launcher { };
dde-network-utils = callPackage ./dde-network-utils { };
dde-polkit-agent = callPackage ./dde-polkit-agent { };
dde-qt-dbus-factory = callPackage ./dde-qt-dbus-factory { };
dde-session-ui = callPackage ./dde-session-ui { };
deepin-anything = callPackage ./deepin-anything { };
+ deepin-calculator = callPackage ./deepin-calculator { };
deepin-desktop-base = callPackage ./deepin-desktop-base { };
deepin-desktop-schemas = callPackage ./deepin-desktop-schemas { };
deepin-gettext-tools = callPackage ./deepin-gettext-tools { };
@@ -34,7 +38,9 @@ let
};
deepin-turbo = callPackage ./deepin-turbo { };
deepin-wallpapers = callPackage ./deepin-wallpapers { };
- deepin-wm = callPackage ./deepin-wm { };
+ deepin-wm = callPackage ./deepin-wm {
+ vala = pkgs.vala_0_42;
+ };
dpa-ext-gnomekeyring = callPackage ./dpa-ext-gnomekeyring { };
dtkcore = callPackage ./dtkcore { };
dtkwidget = callPackage ./dtkwidget { };
diff --git a/pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix b/pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix
index 4baa2262cd6..f645be0f4d9 100644
--- a/pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix
+++ b/pkgs/desktops/deepin/dpa-ext-gnomekeyring/default.nix
@@ -2,7 +2,6 @@
dde-polkit-agent, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "dpa-ext-gnomekeyring";
version = "0.1.0";
@@ -31,7 +30,7 @@ stdenv.mkDerivation rec {
fixPath $out /usr dpa-ext-gnomekeyring.pro gnomekeyringextention.cpp
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "GNOME keyring extension for dde-polkit-agent";
diff --git a/pkgs/desktops/deepin/dtkcore/default.nix b/pkgs/desktops/deepin/dtkcore/default.nix
index 15e2c8be799..2ed10f99368 100644
--- a/pkgs/desktops/deepin/dtkcore/default.nix
+++ b/pkgs/desktops/deepin/dtkcore/default.nix
@@ -1,15 +1,14 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, gsettings-qt, pythonPackages, deepin }:
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, gsettings-qt, pythonPackages, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dtkcore";
- version = "2.0.12.1";
+ version = "2.0.14";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1akfzkdhgsndm6rlr7snhpznxj0w351v6rr8vvnr6ka2dw75xsl4";
+ sha256 = "0yc6zx8rhzg9mj2brggcsr1jy1pzfvgqy1h305y2dwnx5haazd04";
};
nativeBuildInputs = [
@@ -30,7 +29,10 @@ stdenv.mkDerivation rec {
sed -i tools/script/dtk-translate.py -e "s,#!env,#!/usr/bin/env,"
'';
- qmakeFlags = [ "MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs" ];
+ qmakeFlags = [
+ "DTK_VERSION=${version}"
+ "MKSPECS_INSTALL_DIR=${placeholder "out"}/mkspecs"
+ ];
postFixup = ''
chmod +x $out/lib/dtk2/*.py
@@ -40,7 +42,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin tool kit core modules";
diff --git a/pkgs/desktops/deepin/dtkwidget/default.nix b/pkgs/desktops/deepin/dtkwidget/default.nix
index ff92ced6e7a..54c4163fcd1 100644
--- a/pkgs/desktops/deepin/dtkwidget/default.nix
+++ b/pkgs/desktops/deepin/dtkwidget/default.nix
@@ -1,17 +1,16 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qttools, qtmultimedia,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qttools, qtmultimedia,
qtsvg, qtx11extras, librsvg, libstartup_notification, gsettings-qt,
dde-qt-dbus-factory, dtkcore, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dtkwidget";
- version = "2.0.12.3";
+ version = "2.0.14";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0z71il09gj1frkxfw3av97szh17spr6ss1k07l0prk1s1wm7yyfr";
+ sha256 = "11ws0rl7rhlgwbqd4nqpqxhngf4lcyfrrdq33wzxwdlk33d69i1h";
};
nativeBuildInputs = [
@@ -31,16 +30,17 @@ stdenv.mkDerivation rec {
dtkcore
];
- preConfigure = ''
- qmakeFlags="$qmakeFlags \
- INCLUDE_INSTALL_DIR=$out/include \
- LIB_INSTALL_DIR=$out/lib \
- QT_HOST_DATA=$out"
- '';
+ outRef = placeholder "out";
+
+ qmakeFlags = [
+ "INCLUDE_INSTALL_DIR=${outRef}/include"
+ "LIB_INSTALL_DIR=${outRef}/lib"
+ "QT_HOST_DATA=${outRef}"
+ ];
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin graphical user interface library";
diff --git a/pkgs/desktops/deepin/dtkwm/default.nix b/pkgs/desktops/deepin/dtkwm/default.nix
index c0834ace8f8..4807c3d312b 100644
--- a/pkgs/desktops/deepin/dtkwm/default.nix
+++ b/pkgs/desktops/deepin/dtkwm/default.nix
@@ -1,8 +1,7 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, dtkcore,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, dtkcore,
deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "dtkwm";
version = "2.0.11";
@@ -23,14 +22,15 @@ stdenv.mkDerivation rec {
qtx11extras
];
- preConfigure = ''
- qmakeFlags="$qmakeFlags \
- QT_HOST_DATA=$out \
- INCLUDE_INSTALL_DIR=$out/include \
- LIB_INSTALL_DIR=$out/lib"
- '';
+ outRef = placeholder "out";
- passthru.updateScript = deepin.updateScript { inherit name; };
+ qmakeFlags = [
+ "QT_HOST_DATA=${outRef}"
+ "INCLUDE_INSTALL_DIR=${outRef}/include"
+ "LIB_INSTALL_DIR=${outRef}/lib"
+ ];
+
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Deepin graphical user interface library";
diff --git a/pkgs/desktops/deepin/go-dbus-factory/default.nix b/pkgs/desktops/deepin/go-dbus-factory/default.nix
index 5d526017f8d..d302cc3417f 100644
--- a/pkgs/desktops/deepin/go-dbus-factory/default.nix
+++ b/pkgs/desktops/deepin/go-dbus-factory/default.nix
@@ -1,24 +1,23 @@
{ stdenv, fetchFromGitHub, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "go-dbus-factory";
- version = "0.7.0";
+ version = "0.9.0";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "080bcwbq00d91iazgl59cp5ra2x6xkhnc41ipvglvrkibq9zi1a4";
+ sha256 = "06fqyad9f50gcjsjkh7929yyaprahdjhnd0dr4gl2797a7wysl3f";
};
- makeFlags = [ "PREFIX=${placeholder ''out''}" ];
+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
postPatch = ''
sed -i -e 's:/share/gocode:/share/go:' Makefile
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "GoLang DBus factory for the Deepin Desktop Environment";
diff --git a/pkgs/desktops/deepin/go-dbus-generator/default.nix b/pkgs/desktops/deepin/go-dbus-generator/default.nix
index 92cf3960c73..12562976490 100644
--- a/pkgs/desktops/deepin/go-dbus-generator/default.nix
+++ b/pkgs/desktops/deepin/go-dbus-generator/default.nix
@@ -1,7 +1,6 @@
{ stdenv, fetchFromGitHub, go, go-lib, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "go-dbus-generator";
version = "0.6.6";
@@ -18,11 +17,11 @@ stdenv.mkDerivation rec {
];
makeFlags = [
- "PREFIX=${placeholder ''out''}"
+ "PREFIX=${placeholder "out"}"
"GOCACHE=$(TMPDIR)/go-cache"
];
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Convert dbus interfaces to go-lang or qml wrapper code";
diff --git a/pkgs/desktops/deepin/go-gir-generator/default.nix b/pkgs/desktops/deepin/go-gir-generator/default.nix
index aef87f04b12..2f431bd941b 100644
--- a/pkgs/desktops/deepin/go-gir-generator/default.nix
+++ b/pkgs/desktops/deepin/go-gir-generator/default.nix
@@ -1,16 +1,15 @@
{ stdenv, fetchFromGitHub, pkgconfig, go, gobject-introspection,
- libgudev, deepin, fetchurl }:
+ libgudev, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "go-gir-generator";
- version = "2.0.1";
+ version = "2.0.2";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "0jdhfnwrpp77893zxljr453w23kahqsdpd8a8i5jp6pyvkdm816j";
+ sha256 = "1ydzll8zlk897iqcihvv6p046p0rzr4qqz2drmz2nx95njp8n03a";
};
nativeBuildInputs = [
@@ -28,11 +27,11 @@ stdenv.mkDerivation rec {
'';
makeFlags = [
- "PREFIX=${placeholder ''out''}"
+ "PREFIX=${placeholder "out"}"
"GOCACHE=$(TMPDIR)/go-cache"
];
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Generate static golang bindings for GObject";
diff --git a/pkgs/desktops/deepin/go-lib/default.nix b/pkgs/desktops/deepin/go-lib/default.nix
index a6282b979f7..fff92b595f8 100644
--- a/pkgs/desktops/deepin/go-lib/default.nix
+++ b/pkgs/desktops/deepin/go-lib/default.nix
@@ -1,8 +1,7 @@
-{ stdenv, fetchFromGitHub, glib, xorg, gdk_pixbuf, pulseaudio,
+{ stdenv, fetchFromGitHub, glib, xorg, gdk-pixbuf, pulseaudio,
mobile-broadband-provider-info, deepin }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "go-lib";
version = "1.10.2";
@@ -16,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [
glib
xorg.libX11
- gdk_pixbuf
+ gdk-pixbuf
pulseaudio
mobile-broadband-provider-info
];
@@ -28,7 +27,7 @@ stdenv.mkDerivation rec {
rm -r $out/share/go/src/pkg.deepin.io/lib/debian
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Go bindings for Deepin Desktop Environment development";
diff --git a/pkgs/desktops/deepin/qcef/default.nix b/pkgs/desktops/deepin/qcef/default.nix
index f7019339882..ffbc230d2e2 100644
--- a/pkgs/desktops/deepin/qcef/default.nix
+++ b/pkgs/desktops/deepin/qcef/default.nix
@@ -1,9 +1,8 @@
-{ stdenv, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools,
- qtwebchannel, qtx11extras, dtkcore, dtkwidget, qt5integration,
- libXScrnSaver, gnome2, nss, nspr, alsaLib, atk, cairo, cups, dbus,
- expat, fontconfig, gdk_pixbuf, glib, gtk2, libX11, libXcomposite,
- libXcursor, libXdamage, libXext, libXfixes, libXi, libXrandr,
- libXrender, libXtst, libxcb, pango, pulseaudio, xorg, deepin }:
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, cmake, qtbase, qttools,
+ qtwebchannel, qtx11extras,
+ gnome2, nss, nspr, alsaLib, atk, cairo, cups, dbus,
+ expat, fontconfig, gdk-pixbuf, glib, gtk2,
+ libxcb, pango, pulseaudio, xorg, deepin }:
let
rpahtLibraries = [
@@ -15,7 +14,7 @@ let
dbus
expat
fontconfig
- gdk_pixbuf
+ gdk-pixbuf
glib
gnome2.GConf
gtk2
@@ -39,8 +38,7 @@ let
libPath = stdenv.lib.makeLibraryPath rpahtLibraries;
in
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "qcef";
version = "1.1.6";
@@ -92,7 +90,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Qt5 binding of Chromium Embedded Framework";
diff --git a/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix b/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix
index ee597184381..4d0240c426b 100644
--- a/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix
+++ b/pkgs/desktops/deepin/qt5dxcb-plugin/default.nix
@@ -1,16 +1,15 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
- mtdev, cairo, deepin }:
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, qtx11extras, libSM,
+ mtdev, cairo, deepin, qtbase }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "qt5dxcb-plugin";
- version = "1.1.27";
+ version = "1.2.2";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1hs7r17qsqn3hgfjd0scagpj1dqys7i1507vxadfac4h1ahyxaz7";
+ sha256 = "1zvab6qxdr49pmk6mbk7s0md7bx585p32lca0xbg8mrkajz7g8rq";
};
nativeBuildInputs = [
@@ -25,13 +24,13 @@ stdenv.mkDerivation rec {
cairo
];
- preConfigure = ''
- qmakeFlags="$qmakeFlags INSTALL_PATH=$out/$qtPluginPrefix/platforms"
- '';
+ qmakeFlags = [
+ "INSTALL_PATH=${placeholder "out"}/${qtbase.qtPluginPrefix}/platforms"
+ ];
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Qt platform theme integration plugin for DDE";
diff --git a/pkgs/desktops/deepin/qt5integration/default.nix b/pkgs/desktops/deepin/qt5integration/default.nix
index 55084ed9484..97e60be6d67 100644
--- a/pkgs/desktops/deepin/qt5integration/default.nix
+++ b/pkgs/desktops/deepin/qt5integration/default.nix
@@ -1,17 +1,16 @@
-{ stdenv, fetchFromGitHub, pkgconfig, qmake, mtdev, gsettings-qt ,
- lxqt, qtx11extras, qtmultimedia, qtsvg, fontconfig, freetype ,
+{ stdenv, mkDerivation, fetchFromGitHub, pkgconfig, qmake, mtdev,
+ lxqt, qtx11extras, qtmultimedia, qtsvg,
qt5dxcb-plugin, qtstyleplugins, dtkcore, dtkwidget, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "qt5integration";
- version = "0.3.11";
+ version = "0.3.12";
src = fetchFromGitHub {
owner = "linuxdeepin";
repo = pname;
rev = version;
- sha256 = "1p3bnjy449vy5mpxassjv6sr2dp887gsss000szk5s0p1agmydxq";
+ sha256 = "140wb3vcm2ji8jhqdxv8f4shiknia1zk8fssqlp09kzc1cmb4ncy";
};
nativeBuildInputs = [
@@ -41,7 +40,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "Qt platform theme integration plugins for DDE";
diff --git a/pkgs/desktops/deepin/udisks2-qt5/default.nix b/pkgs/desktops/deepin/udisks2-qt5/default.nix
index f4dae779061..51c38f6d347 100644
--- a/pkgs/desktops/deepin/udisks2-qt5/default.nix
+++ b/pkgs/desktops/deepin/udisks2-qt5/default.nix
@@ -1,7 +1,6 @@
-{ stdenv, fetchFromGitHub, qmake, qtbase, pkgconfig, deepin }:
+{ stdenv, mkDerivation, fetchFromGitHub, qmake, qtbase, deepin }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "udisks2-qt5";
version = "0.0.1";
@@ -29,7 +28,7 @@ stdenv.mkDerivation rec {
searchHardCodedPaths $out
'';
- passthru.updateScript = deepin.updateScript { inherit name; };
+ passthru.updateScript = deepin.updateScript { inherit ;name = "${pname}-${version}"; };
meta = with stdenv.lib; {
description = "UDisks2 D-Bus interfaces binding for Qt5";
diff --git a/pkgs/desktops/enlightenment/default.nix b/pkgs/desktops/enlightenment/default.nix
index a8b5e08abd6..2739b9a2517 100644
--- a/pkgs/desktops/enlightenment/default.nix
+++ b/pkgs/desktops/enlightenment/default.nix
@@ -1,7 +1,9 @@
{ callPackage, pkgs }:
-rec {
+{
#### CORE EFL
- efl = callPackage ./efl.nix { openjpeg = pkgs.openjpeg_1; };
+ efl = callPackage ./efl.nix {
+ openjpeg = pkgs.openjpeg_1;
+ };
#### WINDOW MANAGER
enlightenment = callPackage ./enlightenment.nix { };
diff --git a/pkgs/desktops/enlightenment/econnman.nix b/pkgs/desktops/enlightenment/econnman.nix
index 60e63dc68ed..93b0cb59650 100644
--- a/pkgs/desktops/enlightenment/econnman.nix
+++ b/pkgs/desktops/enlightenment/econnman.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, efl, python2Packages, dbus, makeWrapper }:
stdenv.mkDerivation rec {
- name = "econnman-${version}";
+ pname = "econnman";
version = "1.1";
src = fetchurl {
- url = "http://download.enlightenment.org/rel/apps/econnman/${name}.tar.gz";
+ url = "http://download.enlightenment.org/rel/apps/econnman/${pname}-${version}.tar.gz";
sha256 = "057pwwavlvrrq26bncqnfrf449zzaim0zq717xv86av4n940gwv0";
};
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
meta = {
description = "A user interface for the connman network connection manager";
- homepage = http://enlightenment.org/;
+ homepage = https://enlightenment.org/;
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.lgpl3;
diff --git a/pkgs/desktops/enlightenment/efl.nix b/pkgs/desktops/enlightenment/efl.nix
index 5545142fdc3..1876cce6c8a 100644
--- a/pkgs/desktops/enlightenment/efl.nix
+++ b/pkgs/desktops/enlightenment/efl.nix
@@ -3,21 +3,21 @@
, libsndfile, xorg, libdrm, libxkbcommon, udev, utillinux, bullet, luajit
, python27Packages, openjpeg, doxygen, expat, harfbuzz, jbig2dec, librsvg
, dbus, alsaLib, poppler, ghostscript, libraw, libspectre, xineLib, libwebp
-, curl, libinput, systemd, mesa_noglu, writeText, gtk3
+, curl, libinput, systemd, mesa, writeText, gtk3
}:
stdenv.mkDerivation rec {
- name = "efl-${version}";
- version = "1.22.2";
+ pname = "efl";
+ version = "1.22.3";
src = fetchurl {
- url = "http://download.enlightenment.org/rel/libs/efl/${name}.tar.xz";
- sha256 = "1l0wdgzxqm2y919277b1p9d37xzg808zwxxaw0nn44arh8gqk68n";
+ url = "http://download.enlightenment.org/rel/libs/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "1j1i8cwq4ym9z34ikv35mdmv5q7q69hdp494mc6l03g9n6cl2yky";
};
nativeBuildInputs = [ pkgconfig gtk3 ];
- buildInputs = [ openssl zlib lz4 freetype fontconfig SDL libGL mesa_noglu
+ buildInputs = [ openssl zlib lz4 freetype fontconfig SDL libGL mesa
giflib libpng libtiff glib gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
gst_all_1.gst-libav libpulseaudio libsndfile xorg.libXcursor xorg.xorgproto
xorg.libX11 udev systemd ];
@@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Enlightenment foundation libraries";
- homepage = http://enlightenment.org/;
+ homepage = https://enlightenment.org/;
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.lgpl3;
maintainers = with stdenv.lib.maintainers; [ matejc tstrobel ftrvxmtrx ];
diff --git a/pkgs/desktops/enlightenment/enlightenment.nix b/pkgs/desktops/enlightenment/enlightenment.nix
index 8edf702a24c..b2a9d398709 100644
--- a/pkgs/desktops/enlightenment/enlightenment.nix
+++ b/pkgs/desktops/enlightenment/enlightenment.nix
@@ -1,16 +1,19 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, efl,
xcbutilkeysyms, libXrandr, libXdmcp, libxcb, libffi, pam, alsaLib,
- luajit, bzip2, libpthreadstubs, gdbm, libcap, mesa_noglu,
- xkeyboard_config, pcre
+ luajit, bzip2, libpthreadstubs, gdbm, libcap, mesa,
+ xkeyboard_config, pcre,
+
+ bluetoothSupport ? true, bluez5,
+ pulseSupport ? !stdenv.isDarwin, libpulseaudio,
}:
stdenv.mkDerivation rec {
- name = "enlightenment-${version}";
- version = "0.22.4";
+ pname = "enlightenment";
+ version = "0.23.0";
src = fetchurl {
- url = "http://download.enlightenment.org/rel/apps/enlightenment/${name}.tar.xz";
- sha256 = "0ygy891rrw5c7lhk539nhif77j88phvz2h0fhx172iaridy9kx2r";
+ url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "1y7x594gvyvl5zbb1rnf3clj2pm6j97n8wl5mp9x6xjmhx0d1idq";
};
nativeBuildInputs = [
@@ -34,10 +37,13 @@ stdenv.mkDerivation rec {
libpthreadstubs
gdbm
pcre
- mesa_noglu
+ mesa
xkeyboard_config
- ] ++
- stdenv.lib.optionals stdenv.isLinux [ libcap ];
+ ]
+ ++ stdenv.lib.optional stdenv.isLinux libcap
+ ++ stdenv.lib.optional bluetoothSupport bluez5
+ ++ stdenv.lib.optional pulseSupport libpulseaudio
+ ;
patches = [
# Some programs installed by enlightenment (to set the cpu frequency,
@@ -46,7 +52,7 @@ stdenv.mkDerivation rec {
# installer to try to do this, the file $out/e-wrappers.nix is created,
# containing the needed configuration for wrapping those programs. It
# can be used in the enlightenment module. The idea is:
- #
+ #
# 1) rename the original binary adding the extension .orig
# 2) wrap the renamed binary at /run/wrappers/bin/
# 3) create a new symbolic link using the original binary name (in the
diff --git a/pkgs/desktops/enlightenment/ephoto.nix b/pkgs/desktops/enlightenment/ephoto.nix
index ad4620d4f45..f1455f68338 100644
--- a/pkgs/desktops/enlightenment/ephoto.nix
+++ b/pkgs/desktops/enlightenment/ephoto.nix
@@ -1,17 +1,17 @@
-{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa_noglu, makeWrapper }:
+{ stdenv, fetchurl, pkgconfig, efl, pcre, mesa, makeWrapper }:
stdenv.mkDerivation rec {
- name = "ephoto-${version}";
+ pname = "ephoto";
version = "1.5";
-
+
src = fetchurl {
- url = "http://www.smhouston.us/stuff/${name}.tar.gz";
+ url = "http://www.smhouston.us/stuff/${pname}-${version}.tar.gz";
sha256 = "09kraa5zz45728h2dw1ssh23b87j01bkfzf977m48y1r507sy3vb";
};
nativeBuildInputs = [
(pkgconfig.override { vanilla = true; })
- mesa_noglu.dev # otherwise pkg-config does not find gbm
+ mesa.dev # otherwise pkg-config does not find gbm
makeWrapper
];
diff --git a/pkgs/desktops/enlightenment/rage.nix b/pkgs/desktops/enlightenment/rage.nix
index e7dfb5ca398..8d99ce6e8e0 100644
--- a/pkgs/desktops/enlightenment/rage.nix
+++ b/pkgs/desktops/enlightenment/rage.nix
@@ -1,19 +1,19 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa_noglu, wrapGAppsHook }:
+{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, gst_all_1, pcre, mesa, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "rage-${version}";
- version = "0.3.0";
-
+ pname = "rage";
+ version = "0.3.1";
+
src = fetchurl {
- url = "http://download.enlightenment.org/rel/apps/rage/${name}.tar.xz";
- sha256 = "0gfzdd4jg78bkmj61yg49w7bzspl5m1nh6agqgs8k7qrq9q26xqy";
+ url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
+ sha256 = "04fdk23bbgvni212zrfy4ndg7vmshbsjgicrhckdvhay87pk9i75";
};
nativeBuildInputs = [
meson
ninja
(pkgconfig.override { vanilla = true; })
- mesa_noglu.dev
+ mesa.dev
wrapGAppsHook
];
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Video + Audio player along the lines of mplayer";
- homepage = http://enlightenment.org/;
+ homepage = https://enlightenment.org/;
maintainers = with stdenv.lib.maintainers; [ matejc ftrvxmtrx romildo ];
platforms = stdenv.lib.platforms.linux;
license = stdenv.lib.licenses.bsd2;
diff --git a/pkgs/desktops/enlightenment/terminology.nix b/pkgs/desktops/enlightenment/terminology.nix
index a2cd8ee192d..52f0ff15e23 100644
--- a/pkgs/desktops/enlightenment/terminology.nix
+++ b/pkgs/desktops/enlightenment/terminology.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa_noglu, makeWrapper }:
+{ stdenv, fetchurl, meson, ninja, pkgconfig, efl, pcre, mesa, makeWrapper }:
stdenv.mkDerivation rec {
pname = "terminology";
- version = "1.4.1";
+ version = "1.5.0";
src = fetchurl {
url = "http://download.enlightenment.org/rel/apps/${pname}/${pname}-${version}.tar.xz";
- sha256 = "0mm9v5a94369is3kaarnr3a28wy42wslzi1mcisaidlcldgv7f6p";
+ sha256 = "0v4amfg8ji0mb6j7kcxh3wz1xw5zyxg4rw6ylx17rfw2nc1yamfy";
};
nativeBuildInputs = [
@@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
buildInputs = [
efl
pcre
- mesa_noglu
+ mesa
];
meta = {
diff --git a/pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix b/pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix
index 31dd985af2a..7d8365337aa 100644
--- a/pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix
+++ b/pkgs/desktops/gnome-2/bindings/gnome-python-desktop/default.nix
@@ -6,7 +6,7 @@ in stdenv.mkDerivation rec {
ver_maj = "2.32";
ver_min = "0";
version = "${ver_maj}.${ver_min}";
- name = "gnome-python-desktop-${version}";
+ pname = "gnome-python-desktop";
src = fetchurl {
url = "mirror://gnome/sources/gnome-python-desktop/${ver_maj}/gnome-python-desktop-${version}.tar.bz2";
@@ -20,7 +20,7 @@ in stdenv.mkDerivation rec {
# gnome-python-desktop expects that .pth file is already installed by PyGTK
# in the same directory. This is not the case for Nix.
postInstall = ''
- echo "gtk-2.0" > $out/${python2.sitePackages}/${name}.pth
+ echo "gtk-2.0" > $out/${python2.sitePackages}/${pname}-${version}.pth
'';
meta = with stdenv.lib; {
diff --git a/pkgs/desktops/gnome-2/default.nix b/pkgs/desktops/gnome-2/default.nix
index b1a2d6ae7fa..6cc6848b316 100644
--- a/pkgs/desktops/gnome-2/default.nix
+++ b/pkgs/desktops/gnome-2/default.nix
@@ -37,7 +37,9 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome_python_desktop = callPackage ./bindings/gnome-python-desktop { };
- gnome_vfs = callPackage ./platform/gnome-vfs { };
+ gnome_vfs = callPackage ./platform/gnome-vfs {
+ openssl = pkgs.openssl_1_0_2;
+ };
libgnome = callPackage ./platform/libgnome { };
@@ -47,16 +49,14 @@ lib.makeScope pkgs.newScope (self: with self; {
libbonoboui = callPackage ./platform/libbonoboui { };
- gtkhtml = callPackage ./platform/gtkhtml { };
+ gtkhtml = callPackage ./platform/gtkhtml { enchant = pkgs.enchant1; };
- gtkhtml4 = callPackage ./platform/gtkhtml/4.x.nix { };
+ gtkhtml4 = callPackage ./platform/gtkhtml/4.x.nix { enchant = pkgs.enchant1; };
gtkglext = callPackage ./platform/gtkglext { };
#### DESKTOP
- gvfs = pkgs.gvfs.override { gnome = self; };
-
# Removed from recent GNOME releases, but still required
scrollkeeper = callPackage ./desktop/scrollkeeper { };
@@ -76,7 +76,10 @@ lib.makeScope pkgs.newScope (self: with self; {
glib glibmm atk atkmm cairo pango pangomm gdk_pixbuf gtkmm2 libcanberra-gtk2
# Included for backwards compatibility
- libsoup libwnck gtk-doc gnome-doc-utils rarian;
+ libsoup libwnck gtk-doc gnome-doc-utils rarian
+
+ gvfs # added 2019-09-03
+ ;
gtk = pkgs.gtk2;
gtkmm = pkgs.gtkmm2;
diff --git a/pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix b/pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
index 03440c02c14..87d2931d274 100644
--- a/pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
+++ b/pkgs/desktops/gnome-2/desktop/gtksourceview/default.nix
@@ -5,11 +5,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "gtksourceview-${version}";
+ pname = "gtksourceview";
version = "2.10.5";
src = fetchurl {
- url = "mirror://gnome/sources/gtksourceview/2.10/${name}.tar.bz2";
+ url = "mirror://gnome/sources/gtksourceview/2.10/${pname}-${version}.tar.bz2";
sha256 = "c585773743b1df8a04b1be7f7d90eecdf22681490d6810be54c81a7ae152191e";
};
diff --git a/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix b/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix
index ac9a87299ab..10b99e4eb5d 100644
--- a/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix
+++ b/pkgs/desktops/gnome-2/desktop/mail-notification/default.nix
@@ -3,7 +3,7 @@
stdenv.mkDerivation rec {
rev = "9ae8768";
version = "5.4";
- name = "mail-notification-${version}";
+ pname = "mail-notification";
src = fetchFromGitHub {
inherit rev;
diff --git a/pkgs/desktops/gnome-2/desktop/vte/default.nix b/pkgs/desktops/gnome-2/desktop/vte/default.nix
index c774468852e..606ba93d3fc 100644
--- a/pkgs/desktops/gnome-2/desktop/vte/default.nix
+++ b/pkgs/desktops/gnome-2/desktop/vte/default.nix
@@ -45,10 +45,10 @@ in stdenv.mkDerivation rec {
meta = {
homepage = https://www.gnome.org/;
- description = "A library implementing a terminal emulator widget for GTK+";
+ description = "A library implementing a terminal emulator widget for GTK";
longDescription = ''
VTE is a library (libvte) implementing a terminal emulator widget for
- GTK+, and a minimal sample application (vte) using that. Vte is
+ GTK, and a minimal sample application (vte) using that. Vte is
mainly used in gnome-terminal, but can also be used to embed a
console/terminal in games, editors, IDEs, etc. VTE supports Unicode and
character set conversion, as well as emulating any terminal known to
diff --git a/pkgs/desktops/gnome-2/platform/GConf/default.nix b/pkgs/desktops/gnome-2/platform/GConf/default.nix
index df3de11e738..1a1848491b1 100644
--- a/pkgs/desktops/gnome-2/platform/GConf/default.nix
+++ b/pkgs/desktops/gnome-2/platform/GConf/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, dbus-glib, glib, ORBit2, libxml2, polkit, python2, intltool }:
stdenv.mkDerivation rec {
- name = "gconf-${version}";
+ pname = "gconf";
version = "3.2.6";
src = fetchurl {
diff --git a/pkgs/desktops/gnome-2/platform/gtkglext/default.nix b/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
index 369880c4fc1..27caaa70634 100644
--- a/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
+++ b/pkgs/desktops/gnome-2/platform/gtkglext/default.nix
@@ -29,14 +29,14 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://projects.gnome.org/gtkglext/;
- description = "GtkGLExt, an OpenGL extension to GTK+";
- longDescription =
- '' GtkGLExt is an OpenGL extension to GTK+. It provides additional GDK
- objects which support OpenGL rendering in GTK+ and GtkWidget API
- add-ons to make GTK+ widgets OpenGL-capable. In contrast to Janne
- Löf's GtkGLArea, GtkGLExt provides a GtkWidget API that enables
- OpenGL drawing for standard and custom GTK+ widgets.
- '';
+ description = "GtkGLExt, an OpenGL extension to GTK";
+ longDescription = ''
+ GtkGLExt is an OpenGL extension to GTK. It provides additional GDK
+ objects which support OpenGL rendering in GTK and GtkWidget API
+ add-ons to make GTK widgets OpenGL-capable. In contrast to Janne
+ Löf's GtkGLArea, GtkGLExt provides a GtkWidget API that enables
+ OpenGL drawing for standard and custom GTK widgets.
+ '';
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};
diff --git a/pkgs/desktops/gnome-2/platform/gtkhtml/4.x.nix b/pkgs/desktops/gnome-2/platform/gtkhtml/4.x.nix
index 493f88290f3..33c2abef0fa 100644
--- a/pkgs/desktops/gnome-2/platform/gtkhtml/4.x.nix
+++ b/pkgs/desktops/gnome-2/platform/gtkhtml/4.x.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, pkgconfig, gtk3, intltool,
-GConf, enchant, isocodes, gnome_icon_theme, gsettings-desktop-schemas }:
+{ stdenv, fetchurl, pkgconfig, gtk3, intltool
+, GConf, enchant, isocodes, gnome_icon_theme, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
version = "4.10.0";
- name = "gtkhtml-${version}";
+ pname = "gtkhtml";
src = fetchurl {
- url = "mirror://gnome/sources/gtkhtml/4.10/${name}.tar.xz";
+ url = "mirror://gnome/sources/gtkhtml/4.10/${pname}-${version}.tar.xz";
sha256 = "1hq6asgb5n9q3ryx2vngr4jyi8lg65lzpnlgrgcwayiczcj68fya";
};
diff --git a/pkgs/desktops/gnome-2/platform/libglade/default.nix b/pkgs/desktops/gnome-2/platform/libglade/default.nix
index c61ecc16f15..d51cccf7906 100644
--- a/pkgs/desktops/gnome-2/platform/libglade/default.nix
+++ b/pkgs/desktops/gnome-2/platform/libglade/default.nix
@@ -1,4 +1,6 @@
-{stdenv, fetchurl, pkgconfig, gtk2, libxml2, python, gettext}:
+{ stdenv, fetchurl, pkgconfig, gtk2, libxml2, python2 ? null, withLibgladeConvert ? false, gettext }:
+
+assert withLibgladeConvert -> python2 != null;
stdenv.mkDerivation {
name = "libglade-2.6.4";
@@ -11,7 +13,8 @@ stdenv.mkDerivation {
outputs = [ "out" "dev" ];
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ gtk2 python gettext ];
+ buildInputs = [ gtk2 gettext ]
+ ++ stdenv.lib.optional withLibgladeConvert python2;
NIX_LDFLAGS = "-lgmodule-2.0";
diff --git a/pkgs/desktops/gnome-3/apps/accerciser/default.nix b/pkgs/desktops/gnome-3/apps/accerciser/default.nix
index f7d22220e64..9a70319952c 100644
--- a/pkgs/desktops/gnome-3/apps/accerciser/default.nix
+++ b/pkgs/desktops/gnome-3/apps/accerciser/default.nix
@@ -3,7 +3,6 @@
, pkgconfig
, gnome3
, gtk3
-, glib
, wrapGAppsHook
, gobject-introspection
, itstool
@@ -18,13 +17,13 @@
python3.pkgs.buildPythonApplication rec {
name = "accerciser-${version}";
- version = "3.32.2";
+ version = "3.32.3";
format = "other";
src = fetchurl {
url = "mirror://gnome/sources/accerciser/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "05ssj8whzhf98lpcaca7m45h03g0wx0i8jlsrh3yn943mshzidy8";
+ sha256 = "0ark4qkfvdggz2mbksq12iq55izdsjnkjqkvfnnkf4k5vfpa95y5";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/apps/cheese/default.nix b/pkgs/desktops/gnome-3/apps/cheese/default.nix
index 4e5595385b4..b18e58f6f56 100644
--- a/pkgs/desktops/gnome-3/apps/cheese/default.nix
+++ b/pkgs/desktops/gnome-3/apps/cheese/default.nix
@@ -2,14 +2,14 @@
, pkgconfig, gtk3, glib, clutter-gtk, clutter-gst, udev, gst_all_1, itstool
, libgudev, autoreconfHook, vala, docbook_xml_dtd_43, docbook_xsl, appstream-glib
, libxslt, yelp-tools, gnome-common, gtk-doc
-, adwaita-icon-theme, librsvg, totem, gdk_pixbuf, gnome3, gnome-desktop, libxml2 }:
+, adwaita-icon-theme, librsvg, totem, gdk-pixbuf, gnome3, gnome-desktop, libxml2 }:
stdenv.mkDerivation rec {
- name = "cheese-${version}";
+ pname = "cheese";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/cheese/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/cheese/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1xlmsm4zsx05ahvpd4mgy1hfhxbag0r5i6p63bksjxdligdd36kv";
};
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
autoreconfHook gtk-doc yelp-tools gnome-common
];
buildInputs = [ gtk3 glib gnome-video-effects
- gdk_pixbuf adwaita-icon-theme librsvg udev gst_all_1.gstreamer
+ gdk-pixbuf adwaita-icon-theme librsvg udev gst_all_1.gstreamer
gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gnome-desktop
gst_all_1.gst-plugins-bad clutter-gtk clutter-gst
libcanberra-gtk3 libgudev ];
@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
# vp8enc preset
--prefix GST_PRESET_PATH : "${gst_all_1.gst-plugins-good}/share/gstreamer-1.0/presets"
# Thumbnailers
- --prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share"
+ --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
--prefix XDG_DATA_DIRS : "${totem}/share"
)
'';
diff --git a/pkgs/desktops/gnome-3/apps/evolution/default.nix b/pkgs/desktops/gnome-3/apps/evolution/default.nix
index 83202a75c26..2061fc26607 100644
--- a/pkgs/desktops/gnome-3/apps/evolution/default.nix
+++ b/pkgs/desktops/gnome-3/apps/evolution/default.nix
@@ -1,41 +1,111 @@
-{ stdenv, cmake, ninja, intltool, fetchurl, libxml2, webkitgtk, highlight
-, pkgconfig, gtk3, glib, libnotify, gtkspell3, evolution-data-server
-, adwaita-icon-theme, gnome-desktop, libgdata
-, libgweather, glib-networking, gsettings-desktop-schemas
-, wrapGAppsHook, itstool, shared-mime-info, libical, db, gcr, sqlite
-, gnome3, librsvg, gdk_pixbuf, libsecret, nss, nspr, icu
-, libcanberra-gtk3, bogofilter, gst_all_1, procps, p11-kit, openldap }:
+{ stdenv
+, cmake
+, ninja
+, intltool
+, fetchurl
+, libxml2
+, webkitgtk
+, highlight
+, pkgconfig
+, gtk3
+, glib
+, libnotify
+, gtkspell3
+, evolution-data-server
+, adwaita-icon-theme
+, gnome-desktop
+, libgdata
+, libgweather
+, glib-networking
+, gsettings-desktop-schemas
+, wrapGAppsHook
+, itstool
+, shared-mime-info
+, libical
+, db
+, gcr
+, sqlite
+, gnome3
+, librsvg
+, gdk-pixbuf
+, libsecret
+, nss
+, nspr
+, icu
+, libcanberra-gtk3
+, bogofilter
+, gst_all_1
+, procps
+, p11-kit
+, openldap
+}:
-let
- version = "3.32.2";
-in stdenv.mkDerivation rec {
- name = "evolution-${version}";
+stdenv.mkDerivation rec {
+ pname = "evolution";
+ version = "3.32.4";
src = fetchurl {
- url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1sb60zhdawza33zlp0n3hbd7mq43a4y09jmkphpnxdifypfkar55";
+ url = "mirror://gnome/sources/evolution/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "00hmmg4hfns8rq9rcilmy0gi1xkksld27lfbd9zmw2xw37wjmbqh";
};
- propagatedUserEnvPkgs = [ evolution-data-server ];
-
- buildInputs = [
- gtk3 glib gdk_pixbuf adwaita-icon-theme librsvg db icu
- evolution-data-server libsecret libical gcr
- webkitgtk shared-mime-info gnome-desktop gtkspell3
- libcanberra-gtk3 bogofilter libgdata sqlite
- gst_all_1.gstreamer gst_all_1.gst-plugins-base p11-kit
- nss nspr libnotify procps highlight libgweather
- gsettings-desktop-schemas
- glib-networking openldap
+ nativeBuildInputs = [
+ cmake
+ intltool
+ itstool
+ libxml2
+ ninja
+ pkgconfig
+ wrapGAppsHook
];
- nativeBuildInputs = [ cmake ninja intltool itstool libxml2 pkgconfig wrapGAppsHook ];
+ buildInputs = [
+ adwaita-icon-theme
+ bogofilter
+ db
+ evolution-data-server
+ gcr
+ gdk-pixbuf
+ glib
+ glib-networking
+ gnome-desktop
+ gsettings-desktop-schemas
+ gst_all_1.gst-plugins-base
+ gst_all_1.gstreamer
+ gtk3
+ gtkspell3
+ highlight
+ icu
+ libcanberra-gtk3
+ libgdata
+ libgweather
+ libical
+ libnotify
+ librsvg
+ libsecret
+ nspr
+ nss
+ openldap
+ p11-kit
+ procps
+ shared-mime-info
+ sqlite
+ webkitgtk
+ ];
+
+ propagatedUserEnvPkgs = [
+ evolution-data-server
+ ];
cmakeFlags = [
"-DENABLE_AUTOAR=OFF"
"-DENABLE_LIBCRYPTUI=OFF"
- "-DENABLE_YTNEF=OFF"
"-DENABLE_PST_IMPORT=OFF"
+ "-DENABLE_YTNEF=OFF"
+ ];
+
+ requiredSystemFeatures = [
+ "big-parallel"
];
doCheck = true;
@@ -49,8 +119,6 @@ in stdenv.mkDerivation rec {
PKG_CONFIG_LIBEDATASERVERUI_1_2_UIMODULEDIR = "${placeholder "out"}/lib/evolution-data-server/ui-modules";
- requiredSystemFeatures = [ "big-parallel" ];
-
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Evolution;
description = "Personal information management application that provides integrated mail, calendaring and address book functionality";
diff --git a/pkgs/desktops/gnome-3/apps/file-roller/default.nix b/pkgs/desktops/gnome-3/apps/file-roller/default.nix
index 733b8ecca92..267a7f2f7d2 100644
--- a/pkgs/desktops/gnome-3/apps/file-roller/default.nix
+++ b/pkgs/desktops/gnome-3/apps/file-roller/default.nix
@@ -2,11 +2,11 @@
, file, json-glib, python3, wrapGAppsHook, desktop-file-utils, libnotify, nautilus, glibcLocales }:
stdenv.mkDerivation rec {
- name = "file-roller-${version}";
+ pname = "file-roller";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/file-roller/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/file-roller/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0irm72cf8222h93skivn0nn0ckahiiiimy4rb9r3ccjvhi3hiaqw";
};
diff --git a/pkgs/desktops/gnome-3/apps/gedit/default.nix b/pkgs/desktops/gnome-3/apps/gedit/default.nix
index 532e8dcb0f0..35d97a87a86 100644
--- a/pkgs/desktops/gnome-3/apps/gedit/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gedit/default.nix
@@ -5,11 +5,11 @@
, gnome3, gspell, perl, itstool, desktop-file-utils }:
stdenv.mkDerivation rec {
- name = "gedit-${version}";
+ pname = "gedit";
version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gedit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1q2rk7fym542c7k3bn2wlnzgy384gxacbifsjny0spbg95gfybvl";
};
@@ -32,10 +32,6 @@ stdenv.mkDerivation rec {
patchShebangs plugins/externaltools/scripts/gedit-tool-merge.pl
'';
- mesonFlags = [
- "--buildtype=plain" # don't require git
- ];
-
# Reliably fails to generate gedit-file-browser-enum-types.h in time
enableParallelBuilding = false;
diff --git a/pkgs/desktops/gnome-3/apps/ghex/default.nix b/pkgs/desktops/gnome-3/apps/ghex/default.nix
index 388808b7d64..f776f4dbe5a 100644
--- a/pkgs/desktops/gnome-3/apps/ghex/default.nix
+++ b/pkgs/desktops/gnome-3/apps/ghex/default.nix
@@ -1,30 +1,86 @@
-{ stdenv, fetchurl, pkgconfig, gnome3, intltool, itstool, libxml2, gtk3,
- wrapGAppsHook }:
+{ stdenv
+, fetchurl
+, fetchpatch
+, pkgconfig
+, meson
+, ninja
+, python3
+, gnome3
+, hicolor-icon-theme
+, desktop-file-utils
+, appstream-glib
+, gettext
+, itstool
+, libxml2
+, gtk3
+, glib
+, atk
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- name = "ghex-${version}";
- version = "3.18.3";
+ pname = "ghex";
+ version = "3.18.4";
+
+ outputs = [ "out" "dev" ];
src = fetchurl {
- url = "mirror://gnome/sources/ghex/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "c67450f86f9c09c20768f1af36c11a66faf460ea00fbba628a9089a6804808d3";
+ url = "mirror://gnome/sources/ghex/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1h1pjrr9wynclfykizqd78dbi785wjz6b63p31k87kjvzy8w3nf2";
};
- nativeBuildInputs = [ pkgconfig wrapGAppsHook ];
+ nativeBuildInputs = [
+ desktop-file-utils
+ gettext
+ hicolor-icon-theme # for setup-hook
+ itstool
+ meson
+ ninja
+ pkgconfig
+ python3
+ wrapGAppsHook
+ ];
- buildInputs = [ gtk3 intltool itstool libxml2 ];
+ buildInputs = [
+ gtk3
+ atk
+ glib
+ ];
+
+ checkInputs = [
+ appstream-glib
+ desktop-file-utils
+ ];
+
+ patches = [
+ # Fixes for darwin. Drop in next release.
+ (fetchpatch {
+ url = "https://gitlab.gnome.org/GNOME/ghex/commit/b0af26666cd990d99076c242b2abb3efc6e98671.patch";
+ sha256 = "1zwdkgr2nqrn9q3ydyvrrpn5x55cdi747fhbq6mh6blp9cbrk9b5";
+ })
+ (fetchpatch {
+ url = "https://gitlab.gnome.org/GNOME/ghex/commit/cc8ef9e67b23604c402460010dc0b5dccb85391b.patch";
+ sha256 = "0j2165rfhlbrlzhmcnirqd5m89ljpz0n3nz20sxbwlc8h42zv36s";
+ })
+ ];
+
+ postPatch = ''
+ chmod +x meson_post_install.py
+ patchShebangs meson_post_install.py
+ '';
passthru = {
updateScript = gnome3.updateScript {
packageName = "ghex";
- attrPath = "gnome3.ghex";
+ attrPath = "gnome3.${pname}";
};
};
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Ghex;
description = "Hex editor for GNOME desktop environment";
- platforms = platforms.linux;
+ platforms = platforms.unix;
+ license = licenses.gpl2Plus;
maintainers = gnome3.maintainers;
};
}
diff --git a/pkgs/desktops/gnome-3/apps/glade/default.nix b/pkgs/desktops/gnome-3/apps/glade/default.nix
index e0078d5ae41..84d1a8a76ba 100644
--- a/pkgs/desktops/gnome-3/apps/glade/default.nix
+++ b/pkgs/desktops/gnome-3/apps/glade/default.nix
@@ -1,14 +1,14 @@
{ stdenv, intltool, fetchurl, python3
, pkgconfig, gtk3, glib, gobject-introspection
, wrapGAppsHook, itstool, libxml2, docbook_xsl
-, gnome3, gdk_pixbuf, libxslt, gsettings-desktop-schemas }:
+, gnome3, gdk-pixbuf, libxslt, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "glade-${version}";
+ pname = "glade";
version = "3.22.1";
src = fetchurl {
- url = "mirror://gnome/sources/glade/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/glade/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16p38xavpid51qfy0s26n0n21f9ws1w9k5s65bzh1w7ay8p9my6z";
};
@@ -22,14 +22,14 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3 glib libxml2 python3 python3.pkgs.pygobject3
gsettings-desktop-schemas
- gdk_pixbuf gnome3.adwaita-icon-theme
+ gdk-pixbuf gnome3.adwaita-icon-theme
];
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Glade;
- description = "User interface designer for GTK+ applications";
+ description = "User interface designer for GTK applications";
maintainers = gnome3.maintainers;
license = licenses.lgpl2;
platforms = platforms.linux;
diff --git a/pkgs/desktops/gnome-3/apps/gnome-books/default.nix b/pkgs/desktops/gnome-3/apps/gnome-books/default.nix
index b9fb2dc05a0..25ee957224c 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-books/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-books/default.nix
@@ -1,6 +1,6 @@
{ stdenv, meson, ninja, gettext, fetchurl, evince, gjs
, pkgconfig, gtk3, glib, tracker, tracker-miners, libxslt
-, webkitgtk, gnome-desktop, libgepub, gnome3, gdk_pixbuf
+, webkitgtk, gnome-desktop, libgepub, gnome3, gdk-pixbuf
, gsettings-desktop-schemas, adwaita-icon-theme, docbook_xsl
, docbook_xml_dtd_42, desktop-file-utils, python3
, gobject-introspection, wrapGAppsHook }:
@@ -14,10 +14,6 @@ stdenv.mkDerivation rec {
sha256 = "1wkcywcwwszj9mldr0lngczqdz7hys08rr1nd2k6rs8ykzs2z7m4";
};
- mesonFlags = [
- "--buildtype=plain"
- ];
-
nativeBuildInputs = [
meson ninja pkgconfig gettext libxslt desktop-file-utils
docbook_xsl docbook_xml_dtd_42 wrapGAppsHook python3
@@ -25,7 +21,7 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3 glib gsettings-desktop-schemas
- gdk_pixbuf adwaita-icon-theme evince
+ gdk-pixbuf adwaita-icon-theme evince
webkitgtk gjs gobject-introspection tracker
tracker-miners gnome-desktop libgepub
];
diff --git a/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix b/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
index 3b68bec7585..27ce5d0f078 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-boxes/default.nix
@@ -2,7 +2,7 @@
, glib, gobject-introspection, libxml2, gtk3, gtk-vnc, freerdp, libvirt, spice-gtk, python3
, spice-protocol, libsoup, libosinfo, systemd, tracker, tracker-miners, vala
, libcap, yajl, gmp, gdbm, cyrus_sasl, gnome3, librsvg, desktop-file-utils
-, mtools, cdrkit, libcdio, libusb, libarchive, acl, libgudev, qemu, libsecret
+, mtools, cdrkit, libcdio, libusb, libarchive, acl, libgudev, libsecret
, libcap_ng, numactl, xen, libapparmor, json-glib, webkitgtk, vte
}:
@@ -11,10 +11,11 @@
let
version = "3.32.1";
in stdenv.mkDerivation rec {
- name = "gnome-boxes-${version}";
+ pname = "gnome-boxes";
+ inherit version;
src = fetchurl {
- url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-boxes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "159sxii3g4s5pjb4s4i3kc4q162w5vicp4g6wvk1y2yv68bgmcl4";
};
@@ -36,7 +37,7 @@ in stdenv.mkDerivation rec {
];
preFixup = ''
- gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ mtools cdrkit libcdio qemu ]}")
+ gappsWrapperArgs+=(--prefix PATH : "${stdenv.lib.makeBinPath [ mtools cdrkit libcdio ]}")
'';
mesonFlags = [
diff --git a/pkgs/desktops/gnome-3/apps/gnome-characters/default.nix b/pkgs/desktops/gnome-3/apps/gnome-characters/default.nix
index c95d135e9e7..ac1e9ee85c0 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-characters/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-characters/default.nix
@@ -1,39 +1,80 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, gnome3, glib, gtk3, pango, wrapGAppsHook, python3
-, gobject-introspection, gjs, libunistring, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop }:
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, gettext
+, gnome3
+, glib
+, gtk3
+, pango
+, wrapGAppsHook
+, python3
+, gobject-introspection
+, gjs
+, libunistring
+, gsettings-desktop-schemas
+, adwaita-icon-theme
+, gnome-desktop
+}:
stdenv.mkDerivation rec {
- name = "gnome-characters-${version}";
+ pname = "gnome-characters";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-characters/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-characters/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1mpg125x9k879ryg8xgbm9w1amx6b3iq9sqv7xfii7kzaanjb4js";
};
+ nativeBuildInputs = [
+ gettext
+ gobject-introspection
+ meson
+ ninja
+ pkgconfig
+ python3
+ wrapGAppsHook
+ ];
+
+
+ buildInputs = [
+ adwaita-icon-theme
+ gjs
+ glib
+ gnome-desktop # for typelib
+ gsettings-desktop-schemas
+ gtk3
+ libunistring
+ pango
+ ];
+
postPatch = ''
chmod +x meson_post_install.py # patchShebangs requires executable file
patchShebangs meson_post_install.py
'';
+ dontWrapGApps = true;
+
+ # Fixes https://github.com/NixOS/nixpkgs/issues/31168
+ postFixup = ''
+ for file in $out/share/org.gnome.Characters/org.gnome.Characters \
+ $out/share/org.gnome.Characters/org.gnome.Characters.BackgroundService
+ do
+ sed -e $"2iimports.package._findEffectiveEntryPointName = () => \'$(basename $file)\' " \
+ -i $file
+
+ wrapProgram $file "''${gappsWrapperArgs[@]}"
+ done
+ '';
+
passthru = {
updateScript = gnome3.updateScript {
- packageName = "gnome-characters";
- attrPath = "gnome3.gnome-characters";
+ packageName = pname;
+ attrPath = "gnome3.${pname}";
};
};
- nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook python3 gobject-introspection ];
- buildInputs = [
- glib gtk3 gjs pango gsettings-desktop-schemas
- adwaita-icon-theme libunistring
- # typelib
- gnome-desktop
- ];
-
- mesonFlags = [
- "-Ddbus_service_dir=${placeholder "out"}/share/dbus-1/services"
- ];
-
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Design/Apps/CharacterMap;
description = "Simple utility application to find and insert unusual characters";
diff --git a/pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix b/pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
index f29f324f2ee..38182f1f994 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-clocks/default.nix
@@ -2,14 +2,14 @@
, meson, ninja, gettext, pkgconfig, wrapGAppsHook, itstool, desktop-file-utils
, vala, gobject-introspection, libxml2, gtk3, glib, gsound, sound-theme-freedesktop
, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop, geocode-glib
-, gnome3, gdk_pixbuf, geoclue2, libgweather }:
+, gnome3, gdk-pixbuf, geoclue2, libgweather }:
stdenv.mkDerivation rec {
- name = "gnome-clocks-${version}";
+ pname = "gnome-clocks";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-clocks/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-clocks/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1w6lgjdak3x76c9gyhd1lqrdmjfh8q77sjnrkcimylsg0jq913bc";
};
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
gobject-introspection # for finding vapi files
];
buildInputs = [
- gtk3 glib gsettings-desktop-schemas gdk_pixbuf adwaita-icon-theme
+ gtk3 glib gsettings-desktop-schemas gdk-pixbuf adwaita-icon-theme
gnome-desktop geocode-glib geoclue2 libgweather gsound
];
diff --git a/pkgs/desktops/gnome-3/apps/gnome-documents/default.nix b/pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
index 4491d60a5ad..1301381e5aa 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-documents/default.nix
@@ -1,17 +1,17 @@
-{ stdenv, meson, ninja, gettext, fetchurl, fetchpatch, evince, gjs
+{ stdenv, meson, ninja, gettext, fetchurl, evince, gjs
, pkgconfig, gtk3, glib, tracker, tracker-miners
, itstool, libxslt, webkitgtk, libgdata
, gnome-desktop, libzapojit, libgepub
-, gnome3, gdk_pixbuf, libsoup, docbook_xsl, docbook_xml_dtd_42
+, gnome3, gdk-pixbuf, libsoup, docbook_xsl, docbook_xml_dtd_42
, gobject-introspection, inkscape, poppler_utils
, desktop-file-utils, wrapGAppsHook, python3, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gnome-documents-${version}";
+ pname = "gnome-documents";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-documents/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-documents/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1gqddzbr4d8s0asmrhy0sfmwggzhbmpm61mqf8rxpdjk7s26086c";
};
@@ -19,7 +19,6 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dgetting-started=true"
- "--buildtype=plain"
];
nativeBuildInputs = [
@@ -28,7 +27,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
gtk3 glib gsettings-desktop-schemas
- gdk_pixbuf gnome3.adwaita-icon-theme evince
+ gdk-pixbuf gnome3.adwaita-icon-theme evince
libsoup webkitgtk gjs gobject-introspection
tracker tracker-miners libgdata
gnome-desktop libzapojit libgepub
diff --git a/pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix b/pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix
index 37f2a859488..655e9e9fe34 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-getting-started-docs/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, gnome3, intltool, itstool, libxml2 }:
stdenv.mkDerivation rec {
- name = "gnome-getting-started-docs-${version}";
- version = "3.32.1";
+ pname = "gnome-getting-started-docs";
+ version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-getting-started-docs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0g4zaafj442gpir0hxv5hya37ax1ai40slls7sa2a02fdarilrjf";
+ url = "mirror://gnome/sources/gnome-getting-started-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1v4k465mlzrhgcdddzs6bmm0yliyrfx6jg3gh0s17a08i0w5rbwq";
};
passthru = {
diff --git a/pkgs/desktops/gnome-3/apps/gnome-logs/default.nix b/pkgs/desktops/gnome-3/apps/gnome-logs/default.nix
index d46882deb41..8681a3c866c 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-logs/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-logs/default.nix
@@ -2,11 +2,11 @@
, gettext, itstool, libxml2, libxslt, docbook_xsl, docbook_xml_dtd_43, systemd, python3, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gnome-logs-${version}";
+ pname = "gnome-logs";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-logs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-logs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0hh3nnbq7q2xbflvaywanm0j3dqhb04ngphskhnjx2sg7px12068";
};
diff --git a/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix b/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
index a059ec3ac3c..6011092c0e0 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-maps/default.nix
@@ -1,17 +1,17 @@
{ stdenv, fetchurl, meson, ninja, gettext, python3, pkgconfig, gnome3, gtk3
-, gobject-introspection, gdk_pixbuf, librsvg, libgweather
+, gobject-introspection, gdk-pixbuf, librsvg, libgweather
, geoclue2, wrapGAppsHook, folks, libchamplain, gfbgraph, libsoup, gsettings-desktop-schemas
, webkitgtk, gjs, libgee, geocode-glib, evolution-data-server, gnome-online-accounts }:
let
pname = "gnome-maps";
- version = "3.32.2";
+ version = "3.32.2.1";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1yvwzdfxjdgx4478l2i240ssvbr8hm5sg4krc1gw2ps08sgap7yx";
+ sha256 = "1m191iq1gjaqz79ci3dkbmwrkxp7pzknngimlf5bqib5x8yairlb";
};
doCheck = true;
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
gobject-introspection
gtk3 geoclue2 gjs libgee folks gfbgraph
geocode-glib libchamplain libsoup
- gdk_pixbuf librsvg libgweather
+ gdk-pixbuf librsvg libgweather
gsettings-desktop-schemas evolution-data-server
gnome-online-accounts gnome3.adwaita-icon-theme
webkitgtk
diff --git a/pkgs/desktops/gnome-3/apps/gnome-music/default.nix b/pkgs/desktops/gnome-3/apps/gnome-music/default.nix
index 1f1bfafb595..9b8c96729ad 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-music/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-music/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, meson, ninja, gettext, fetchurl, gdk_pixbuf, tracker
+{ stdenv, meson, ninja, gettext, fetchurl, gdk-pixbuf, tracker
, libxml2, python3, libnotify, wrapGAppsHook, libmediaart
, gobject-introspection, gnome-online-accounts, grilo, grilo-plugins
, pkgconfig, gtk3, glib, desktop-file-utils, appstream-glib
@@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec {
nativeBuildInputs = [ meson ninja gettext itstool pkgconfig libxml2 wrapGAppsHook desktop-file-utils appstream-glib gobject-introspection ];
buildInputs = with gst_all_1; [
gtk3 glib libmediaart gnome-online-accounts gobject-introspection
- gdk_pixbuf gnome3.adwaita-icon-theme python3
+ gdk-pixbuf gnome3.adwaita-icon-theme python3
grilo grilo-plugins libnotify libdazzle libsoup
gsettings-desktop-schemas tracker
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly
diff --git a/pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix b/pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix
index 9bc71bb4338..37401af3ce6 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-nettool/default.nix
@@ -2,10 +2,11 @@
, libgtop, intltool, itstool, libxml2, nmap, inetutils }:
stdenv.mkDerivation rec {
- name = "gnome-nettool-3.8.1";
+ pname = "gnome-nettool";
+ version = "3.8.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-nettool/3.8/${name}.tar.xz";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1c9cvzvyqgfwa5zzyvp7118pkclji62fkbb33g4y9sp5kw6m397h";
};
@@ -17,8 +18,16 @@ stdenv.mkDerivation rec {
propagatedUserEnvPkgs = [ nmap inetutils ];
+ passthru = {
+ updateScript = gnome3.updateScript {
+ packageName = pname;
+ attrPath = "gnome3.${pname}";
+ versionPolicy = "none";
+ };
+ };
+
meta = with stdenv.lib; {
- homepage = http://projects.gnome.org/gnome-network;
+ homepage = "https://gitlab.gnome.org/GNOME/gnome-nettool";
description = "A collection of networking tools";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
diff --git a/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix b/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
index 3a28b8635a1..920343a6024 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-notes/default.nix
@@ -1,17 +1,18 @@
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig
, wrapGAppsHook, itstool, desktop-file-utils, python3
-, glib, gtk3, evolution-data-server
+, glib, gtk3, evolution-data-server, gnome-online-accounts
, libuuid, webkitgtk, zeitgeist
-, gnome3, libxml2, gsettings-desktop-schemas }:
+, gnome3, libxml2, gsettings-desktop-schemas, tracker }:
let
- version = "3.32.1";
-in stdenv.mkDerivation rec {
- name = "gnome-notes-${version}";
+ version = "3.32.2";
+in stdenv.mkDerivation {
+ pname = "gnome-notes";
+ inherit version;
src = fetchurl {
url = "mirror://gnome/sources/bijiben/${stdenv.lib.versions.majorMinor version}/bijiben-${version}.tar.xz";
- sha256 = "02b7afg3ps0hxp5dkb4kv6315ydc2r6bxgk1kamwp581lc7ghd67";
+ sha256 = "0chm2fks7cpx3mycxzddpj6v9by203c3m1y6zns5ra43bspwafy2";
};
doCheck = true;
@@ -26,8 +27,8 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
- glib gtk3 libuuid webkitgtk gnome3.tracker
- gnome3.gnome-online-accounts zeitgeist
+ glib gtk3 libuuid webkitgtk tracker
+ gnome-online-accounts zeitgeist
gsettings-desktop-schemas
evolution-data-server
gnome3.adwaita-icon-theme
diff --git a/pkgs/desktops/gnome-3/apps/gnome-photos/default.nix b/pkgs/desktops/gnome-3/apps/gnome-photos/default.nix
deleted file mode 100644
index 0a33a3bff55..00000000000
--- a/pkgs/desktops/gnome-3/apps/gnome-photos/default.nix
+++ /dev/null
@@ -1,60 +0,0 @@
-{ stdenv, gettext, fetchurl, libxml2, libgdata
-, pkgconfig, gtk3, glib, tracker, tracker-miners
-, itstool, gegl, babl, libdazzle, gfbgraph, grilo-plugins
-, grilo, gnome-online-accounts
-, desktop-file-utils, wrapGAppsHook
-, gnome3, gdk_pixbuf, gexiv2, geocode-glib
-, dleyna-renderer, dbus, meson, ninja, python3, gsettings-desktop-schemas }:
-
-let
- pname = "gnome-photos";
- version = "3.32.0";
-in stdenv.mkDerivation rec {
- name = "${pname}-${version}";
-
- src = fetchurl {
- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "160vqmcqvyzby27wd2lzwzgbfl6jxxk7phhnqh9498r3clr73haj";
- };
-
- # doCheck = true;
-
- nativeBuildInputs = [
- pkgconfig gettext itstool meson ninja libxml2
- desktop-file-utils wrapGAppsHook python3
- ];
- buildInputs = [
- gtk3 glib gegl babl libgdata libdazzle
- gsettings-desktop-schemas
- gdk_pixbuf gnome3.adwaita-icon-theme
- gfbgraph grilo-plugins grilo
- gnome-online-accounts tracker
- gexiv2 geocode-glib dleyna-renderer
- tracker-miners # For 'org.freedesktop.Tracker.Miner.Files' GSettings schema
- dbus
- ];
-
- mesonFlags = [
- "--buildtype=plain" # don't do any git commands
- ];
-
- postPatch = ''
- chmod +x meson_post_install.py
- patchShebangs meson_post_install.py
- '';
-
- passthru = {
- updateScript = gnome3.updateScript {
- packageName = pname;
- attrPath = "gnome3.${pname}";
- };
- };
-
- meta = with stdenv.lib; {
- homepage = https://wiki.gnome.org/Apps/Photos;
- description = "Access, organize and share your photos";
- maintainers = gnome3.maintainers;
- license = licenses.gpl3Plus;
- platforms = platforms.linux;
- };
-}
diff --git a/pkgs/desktops/gnome-3/apps/gnome-sound-recorder/default.nix b/pkgs/desktops/gnome-3/apps/gnome-sound-recorder/default.nix
index c9e6356aac6..907c0424454 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-sound-recorder/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-sound-recorder/default.nix
@@ -1,20 +1,20 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, gettext, gobject-introspection, wrapGAppsHook, gjs, glib, gtk3, gdk_pixbuf, gst_all_1, gnome3
+{ stdenv, fetchurl, pkgconfig, gettext, gobject-introspection, wrapGAppsHook, gjs, glib, gtk3, gdk-pixbuf, gst_all_1, gnome3
, meson, ninja, python3, hicolor-icon-theme, desktop-file-utils }:
stdenv.mkDerivation rec {
pname = "gnome-sound-recorder";
- version = "3.32.0";
+ version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0rchzap5mg9ach3jcf4sci5v2h5pgpdjafjfllfd09w9yg3brspp";
+ sha256 = "0q83b6dabckmwj8mcw0wvhbxaszwdzzcf8ajx5bldll3lyl5yh2b";
};
nativeBuildInputs = [
pkgconfig gettext meson ninja gobject-introspection
wrapGAppsHook python3 hicolor-icon-theme desktop-file-utils
];
- buildInputs = [ gjs glib gtk3 gdk_pixbuf ] ++ (with gst_all_1; [ gstreamer.dev gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]);
+ buildInputs = [ gjs glib gtk3 gdk-pixbuf ] ++ (with gst_all_1; [ gstreamer.dev gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad ]);
postPatch = ''
chmod +x build-aux/meson_post_install.py
diff --git a/pkgs/desktops/gnome-3/apps/gnome-todo/default.nix b/pkgs/desktops/gnome-3/apps/gnome-todo/default.nix
index 4ae3b629af9..dbbbb43659b 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-todo/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-todo/default.nix
@@ -13,7 +13,6 @@
, libpeas
, gnome-online-accounts
, gsettings-desktop-schemas
-, adwaita-icon-theme
, evolution-data-server
, libxml2
, libsoup
@@ -38,6 +37,10 @@ stdenv.mkDerivation rec {
sha256 = "08ldgyxv9216dgr8y9asqd7j2y82y9yqnqhkqaxc9i8a67yz1gzy";
})
];
+ postPatch = ''
+ chmod +x meson_post_install.py
+ patchShebangs meson_post_install.py
+ '';
nativeBuildInputs = [
meson
@@ -64,10 +67,9 @@ stdenv.mkDerivation rec {
json-glib
];
- postPatch = ''
- chmod +x meson_post_install.py
- patchShebangs meson_post_install.py
- '';
+ # Fix parallel building: missing dependency from src/gtd-application.c
+ # Probably remove for 3.30+ https://gitlab.gnome.org/GNOME/gnome-todo/issues/170
+ preBuild = "ninja src/gtd-vcs-identifier.h";
passthru = {
updateScript = gnome3.updateScript {
diff --git a/pkgs/desktops/gnome-3/apps/gnome-weather/default.nix b/pkgs/desktops/gnome-3/apps/gnome-weather/default.nix
index d21cfcfd72d..1e5a641f08f 100644
--- a/pkgs/desktops/gnome-3/apps/gnome-weather/default.nix
+++ b/pkgs/desktops/gnome-3/apps/gnome-weather/default.nix
@@ -2,11 +2,11 @@
, libgweather, meson, ninja, geoclue2, gnome-desktop, python3, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gnome-weather-${version}";
+ pname = "gnome-weather";
version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-weather/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-weather/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0jfxdfbjkrk3x48w6nxgbmazd6jw1fh4mfw12hlly4rs0cjw698s";
};
diff --git a/pkgs/desktops/gnome-3/apps/polari/default.nix b/pkgs/desktops/gnome-3/apps/polari/default.nix
index 73b8016d97b..51fea63b714 100644
--- a/pkgs/desktops/gnome-3/apps/polari/default.nix
+++ b/pkgs/desktops/gnome-3/apps/polari/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, itstool, fetchurl, gdk_pixbuf, adwaita-icon-theme
+{ stdenv, itstool, fetchurl, gdk-pixbuf, adwaita-icon-theme
, telepathy-glib, gjs, meson, ninja, gettext, telepathy-idle, libxml2, desktop-file-utils
, pkgconfig, gtk3, glib, libsecret, libsoup, gobject-introspection, appstream-glib
, gnome3, wrapGAppsHook, telepathy-logger, gspell, gsettings-desktop-schemas }:
@@ -23,7 +23,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
gtk3 glib adwaita-icon-theme gsettings-desktop-schemas
- telepathy-glib telepathy-logger gjs gspell gdk_pixbuf libsecret libsoup
+ telepathy-glib telepathy-logger gjs gspell gdk-pixbuf libsecret libsoup
];
passthru = {
diff --git a/pkgs/desktops/gnome-3/apps/vinagre/default.nix b/pkgs/desktops/gnome-3/apps/vinagre/default.nix
index ae360d73b87..c5377157ef0 100644
--- a/pkgs/desktops/gnome-3/apps/vinagre/default.nix
+++ b/pkgs/desktops/gnome-3/apps/vinagre/default.nix
@@ -2,11 +2,11 @@
, libsecret, itstool, wrapGAppsHook, librsvg }:
stdenv.mkDerivation rec {
- name = "vinagre-${version}";
+ pname = "vinagre";
version = "3.22.0";
src = fetchurl {
- url = "mirror://gnome/sources/vinagre/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/vinagre/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "cd1cdbacca25c8d1debf847455155ee798c3e67a20903df8b228d4ece5505e82";
};
diff --git a/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix b/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix
index 0f88372d9cf..a7f4a637b17 100644
--- a/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix
+++ b/pkgs/desktops/gnome-3/core/adwaita-icon-theme/default.nix
@@ -1,19 +1,19 @@
{ stdenv, fetchurl, pkgconfig, intltool, gnome3
-, iconnamingutils, gtk3, gdk_pixbuf, librsvg, hicolor-icon-theme }:
+, iconnamingutils, gtk3, gdk-pixbuf, librsvg, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "adwaita-icon-theme-${version}";
+ pname = "adwaita-icon-theme";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/adwaita-icon-theme/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "11ij35na8nisvxx3qh527iz33h6z2q1a7iinqyp7p65v0zjbd3b9";
};
# For convenience, we can specify adwaita-icon-theme only in packages
propagatedBuildInputs = [ hicolor-icon-theme ];
- buildInputs = [ gdk_pixbuf librsvg ];
+ buildInputs = [ gdk-pixbuf librsvg ];
nativeBuildInputs = [ pkgconfig intltool iconnamingutils gtk3 ];
diff --git a/pkgs/desktops/gnome-3/core/dconf-editor/default.nix b/pkgs/desktops/gnome-3/core/dconf-editor/default.nix
index 8a6ecc5d5e1..7f4f84fa5fe 100644
--- a/pkgs/desktops/gnome-3/core/dconf-editor/default.nix
+++ b/pkgs/desktops/gnome-3/core/dconf-editor/default.nix
@@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
passthru = {
updateScript = gnome3.updateScript {
- packageName = "${pname}";
+ packageName = pname;
attrPath = "gnome3.${pname}";
};
};
diff --git a/pkgs/desktops/gnome-3/core/empathy/default.nix b/pkgs/desktops/gnome-3/core/empathy/default.nix
index 5a08454cb35..5e4bbf8cce1 100644
--- a/pkgs/desktops/gnome-3/core/empathy/default.nix
+++ b/pkgs/desktops/gnome-3/core/empathy/default.nix
@@ -1,5 +1,5 @@
{ stdenv, intltool, fetchurl, webkitgtk, pkgconfig, gtk3, glib
-, file, librsvg, gnome3, gdk_pixbuf, python3
+, file, librsvg, gnome3, gdk-pixbuf, python3
, telepathy-glib, telepathy-farstream, glibcLocales
, clutter-gtk, clutter-gst, gst_all_1, cogl, gnome-online-accounts
, gcr, libsecret, folks, libpulseaudio, telepathy-mission-control
@@ -10,11 +10,11 @@
, isocodes, enchant, libchamplain, geoclue2, geocode-glib, cheese, libgudev }:
stdenv.mkDerivation rec {
- name = "empathy-${version}";
+ pname = "empathy";
version = "3.25.90";
src = fetchurl {
- url = "mirror://gnome/sources/empathy/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/empathy/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0sn10fcymc6lyrabk7vx8lpvlaxxkqnmcwj9zdkfa8qf3388k4nc";
};
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
gtk3 glib webkitgtk icu gnome-online-accounts
telepathy-glib clutter-gtk clutter-gst cogl
gst_all_1.gstreamer gst_all_1.gst-plugins-base
- gcr libsecret libpulseaudio gdk_pixbuf
+ gcr libsecret libpulseaudio gdk-pixbuf
libnotify clutter libsoup gnutls libgee p11-kit
libcanberra-gtk3 telepathy-farstream farstream
gnome3.adwaita-icon-theme gsettings-desktop-schemas
diff --git a/pkgs/desktops/gnome-3/core/eog/default.nix b/pkgs/desktops/gnome-3/core/eog/default.nix
index 5c896ec01fc..8bb727a6fc5 100644
--- a/pkgs/desktops/gnome-3/core/eog/default.nix
+++ b/pkgs/desktops/gnome-3/core/eog/default.nix
@@ -1,5 +1,5 @@
{ fetchurl, stdenv, meson, ninja, gettext, itstool, pkgconfig, libxml2, libjpeg, libpeas, gnome3
-, gtk3, glib, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop, lcms2, gdk_pixbuf, exempi
+, gtk3, glib, gsettings-desktop-schemas, adwaita-icon-theme, gnome-desktop, lcms2, gdk-pixbuf, exempi
, shared-mime-info, wrapGAppsHook, librsvg, libexif, gobject-introspection, python3 }:
let
@@ -16,7 +16,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ meson ninja pkgconfig gettext itstool wrapGAppsHook libxml2 gobject-introspection python3 ];
buildInputs = [
- libjpeg gtk3 gdk_pixbuf glib libpeas librsvg lcms2 gnome-desktop libexif exempi
+ libjpeg gtk3 gdk-pixbuf glib libpeas librsvg lcms2 gnome-desktop libexif exempi
gsettings-desktop-schemas shared-mime-info adwaita-icon-theme
];
@@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
preFixup = ''
gappsWrapperArgs+=(
# Thumbnailers
- --prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share"
+ --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
--prefix XDG_DATA_DIRS : "${librsvg}/share"
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
)
diff --git a/pkgs/desktops/gnome-3/core/epiphany/default.nix b/pkgs/desktops/gnome-3/core/epiphany/default.nix
index 641cfa5236f..c52162ce7f1 100644
--- a/pkgs/desktops/gnome-3/core/epiphany/default.nix
+++ b/pkgs/desktops/gnome-3/core/epiphany/default.nix
@@ -1,16 +1,16 @@
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, gtk3, glib, icu
, wrapGAppsHook, gnome3, libxml2, libxslt, itstool
, webkitgtk, libsoup, glib-networking, libsecret, gnome-desktop, libnotify, p11-kit
-, sqlite, gcr, isocodes, desktop-file-utils, python3
-, gdk_pixbuf, gst_all_1, json-glib, libdazzle, libhandy }:
+, sqlite, gcr, isocodes, desktop-file-utils, python3, nettle
+, gdk-pixbuf, gst_all_1, json-glib, libdazzle, libhandy }:
stdenv.mkDerivation rec {
- name = "epiphany-${version}";
- version = "3.32.2";
+ pname = "epiphany";
+ version = "3.32.4";
src = fetchurl {
- url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1yhc8hpylj7i2i15nrbjldhi38xpz7pdwjdj7b358dxsxaghvrwa";
+ url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "15d9s295yr6m9pbwh344c4akm7rgn19y4g1xkyn7gbq1hdbjia69";
};
# Tests need an X display
@@ -23,10 +23,10 @@ stdenv.mkDerivation rec {
buildInputs = [
gtk3 glib webkitgtk libsoup libxml2 libsecret gnome-desktop libnotify
sqlite isocodes p11-kit icu libhandy
- gdk_pixbuf gnome3.adwaita-icon-theme gcr
+ gdk-pixbuf gnome3.adwaita-icon-theme gcr
glib-networking gst_all_1.gstreamer gst_all_1.gst-plugins-base
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly
- gst_all_1.gst-libav json-glib libdazzle
+ gst_all_1.gst-libav json-glib libdazzle nettle
];
postPatch = ''
diff --git a/pkgs/desktops/gnome-3/core/evince/default.nix b/pkgs/desktops/gnome-3/core/evince/default.nix
index 6e7f0716eef..9313ca8990c 100644
--- a/pkgs/desktops/gnome-3/core/evince/default.nix
+++ b/pkgs/desktops/gnome-3/core/evince/default.nix
@@ -11,7 +11,7 @@
, gtk3
, pango
, atk
-, gdk_pixbuf
+, gdk-pixbuf
, shared-mime-info
, itstool
, gnome3
@@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
gtk3
pango
atk
- gdk_pixbuf
+ gdk-pixbuf
libxml2
gsettings-desktop-schemas
poppler
@@ -104,7 +104,6 @@ stdenv.mkDerivation rec {
gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav ]);
mesonFlags = [
- "-Dauto_features=enabled"
"-Dnautilus=false"
"-Dps=enabled"
"-Dgtk_doc=false"
diff --git a/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix b/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
index 8920c401882..0048b02581a 100644
--- a/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
+++ b/pkgs/desktops/gnome-3/core/evolution-data-server/default.nix
@@ -2,17 +2,17 @@
, intltool, libsoup, libxml2, libsecret, icu, sqlite, tzdata, libcanberra-gtk3, gcr
, p11-kit, db, nspr, nss, libical, gperf, wrapGAppsHook, glib-networking, pcre
, vala, cmake, ninja, kerberos, openldap, webkitgtk, libaccounts-glib, json-glib
-, glib, gtk3, gnome-online-accounts, libgweather, libgdata }:
+, glib, gtk3, gnome-online-accounts, libgweather, libgdata, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "evolution-data-server-${version}";
- version = "3.32.2";
+ pname = "evolution-data-server";
+ version = "3.32.4";
outputs = [ "out" "dev" ];
src = fetchurl {
- url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1jdk3az797kznkg40nbxb3ddyx8s6favzxlc4vr840zxcl84k9vy";
+ url = "mirror://gnome/sources/evolution-data-server/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0zsc9xwy6ixk3x0dx69ax5isrdw8qxjdxg2i5fr95s40nss7rxl3";
};
patches = [
@@ -20,9 +20,14 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit tzdata;
})
- ./hardcode-gsettings.patch
];
+ prePatch = ''
+ substitute ${./hardcode-gsettings.patch} hardcode-gsettings.patch --subst-var-by ESD_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"} \
+ --subst-var-by GDS_GSETTINGS_PATH ${glib.getSchemaPath gsettings-desktop-schemas}
+ patches="$patches $PWD/hardcode-gsettings.patch"
+ '';
+
nativeBuildInputs = [
cmake ninja pkgconfig intltool python3 gperf wrapGAppsHook gobject-introspection vala
];
@@ -43,11 +48,6 @@ stdenv.mkDerivation rec {
"-DINCLUDE_INSTALL_DIR=${placeholder "dev"}/include"
];
- postPatch = ''
- substituteInPlace src/libedataserver/e-source-registry.c --subst-var-by ESD_GSETTINGS_PATH $out/share/gsettings-schemas/${name}/glib-2.0/schemas
- '';
-
-
passthru = {
updateScript = gnome3.updateScript {
packageName = "evolution-data-server";
diff --git a/pkgs/desktops/gnome-3/core/evolution-data-server/hardcode-gsettings.patch b/pkgs/desktops/gnome-3/core/evolution-data-server/hardcode-gsettings.patch
index 8b64b3df801..c499bac4552 100644
--- a/pkgs/desktops/gnome-3/core/evolution-data-server/hardcode-gsettings.patch
+++ b/pkgs/desktops/gnome-3/core/evolution-data-server/hardcode-gsettings.patch
@@ -1,36 +1,526 @@
-diff --git a/src/libedataserver/e-source-registry.c b/src/libedataserver/e-source-registry.c
-index 9c166dbaf..ef368f8d4 100644
---- a/src/libedataserver/e-source-registry.c
-+++ b/src/libedataserver/e-source-registry.c
-@@ -116,6 +116,8 @@ struct _ESourceRegistryPrivate {
- GHashTable *sources;
- GMutex sources_lock;
+diff --git a/src/addressbook/libebook/e-book-client.c b/src/addressbook/libebook/e-book-client.c
+index 2c0557c3c..5955aa55e 100644
+--- a/src/addressbook/libebook/e-book-client.c
++++ b/src/addressbook/libebook/e-book-client.c
+@@ -1989,7 +1989,20 @@ e_book_client_get_self (ESourceRegistry *registry,
-+ GSettingsSchemaSource *schema_source;
-+ GSettingsSchema *schema;
- GSettings *settings;
+ *out_client = book_client;
- gboolean initialized;
-@@ -1339,7 +1341,11 @@ source_registry_dispose (GObject *object)
- if (priv->settings != NULL) {
- g_signal_handlers_disconnect_by_data (priv->settings, object);
- g_object_unref (priv->settings);
-+ g_settings_schema_unref (priv->schema);
-+ g_settings_schema_source_unref (priv->schema_source);
- priv->settings = NULL;
-+ priv->schema = NULL;
-+ priv->schema_source = NULL;
+- settings = g_settings_new (SELF_UID_PATH_ID);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ SELF_UID_PATH_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ uid = g_settings_get_string (settings, SELF_UID_KEY);
+ g_object_unref (settings);
+
+@@ -2057,7 +2070,20 @@ e_book_client_set_self (EBookClient *client,
+ g_return_val_if_fail (
+ e_contact_get_const (contact, E_CONTACT_UID) != NULL, FALSE);
+
+- settings = g_settings_new (SELF_UID_PATH_ID);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ SELF_UID_PATH_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ g_settings_set_string (
+ settings, SELF_UID_KEY,
+ e_contact_get_const (contact, E_CONTACT_UID));
+@@ -2093,8 +2119,20 @@ e_book_client_is_self (EContact *contact)
+ * unfortunately the API doesn't allow that.
+ */
+ g_mutex_lock (&mutex);
+- if (!settings)
+- settings = g_settings_new (SELF_UID_PATH_ID);
++ if (!settings) {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ SELF_UID_PATH_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ uid = g_settings_get_string (settings, SELF_UID_KEY);
+ g_mutex_unlock (&mutex);
+
+diff --git a/src/addressbook/libebook/e-book.c b/src/addressbook/libebook/e-book.c
+index 3396b57c0..ac6420b2e 100644
+--- a/src/addressbook/libebook/e-book.c
++++ b/src/addressbook/libebook/e-book.c
+@@ -2594,7 +2594,20 @@ e_book_get_self (ESourceRegistry *registry,
+ return FALSE;
}
- /* Chain up to parent's finalize() method. */
-@@ -1743,7 +1749,9 @@ e_source_registry_init (ESourceRegistry *registry)
+- settings = g_settings_new (SELF_UID_PATH_ID);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ SELF_UID_PATH_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ uid = g_settings_get_string (settings, SELF_UID_KEY);
+ g_object_unref (settings);
+
+@@ -2649,7 +2662,20 @@ e_book_set_self (EBook *book,
+ g_return_val_if_fail (E_IS_BOOK (book), FALSE);
+ g_return_val_if_fail (E_IS_CONTACT (contact), FALSE);
+
+- settings = g_settings_new (SELF_UID_PATH_ID);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ SELF_UID_PATH_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ g_settings_set_string (
+ settings, SELF_UID_KEY,
+ e_contact_get_const (contact, E_CONTACT_UID));
+@@ -2677,7 +2703,20 @@ e_book_is_self (EContact *contact)
+
+ g_return_val_if_fail (E_IS_CONTACT (contact), FALSE);
+
+- settings = g_settings_new (SELF_UID_PATH_ID);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ SELF_UID_PATH_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ uid = g_settings_get_string (settings, SELF_UID_KEY);
+ g_object_unref (settings);
+
+diff --git a/src/calendar/backends/contacts/e-cal-backend-contacts.c b/src/calendar/backends/contacts/e-cal-backend-contacts.c
+index de1716941..e83b104f1 100644
+--- a/src/calendar/backends/contacts/e-cal-backend-contacts.c
++++ b/src/calendar/backends/contacts/e-cal-backend-contacts.c
+@@ -1397,7 +1397,20 @@ e_cal_backend_contacts_init (ECalBackendContacts *cbc)
+ (GDestroyNotify) g_free,
+ (GDestroyNotify) contact_record_free);
+
+- cbc->priv->settings = g_settings_new ("org.gnome.evolution-data-server.calendar");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server.calendar",
++ FALSE);
++ cbc->priv->settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ cbc->priv->notifyid = 0;
+ cbc->priv->update_alarms_id = 0;
+ cbc->priv->alarm_enabled = FALSE;
+diff --git a/src/calendar/libecal/e-reminder-watcher.c b/src/calendar/libecal/e-reminder-watcher.c
+index b08a7f301..a49fe39c5 100644
+--- a/src/calendar/libecal/e-reminder-watcher.c
++++ b/src/calendar/libecal/e-reminder-watcher.c
+@@ -2202,7 +2202,21 @@ e_reminder_watcher_init (EReminderWatcher *watcher)
+
+ watcher->priv = G_TYPE_INSTANCE_GET_PRIVATE (watcher, E_TYPE_REMINDER_WATCHER, EReminderWatcherPrivate);
+ watcher->priv->cancellable = g_cancellable_new ();
+- watcher->priv->settings = g_settings_new ("org.gnome.evolution-data-server.calendar");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server.calendar",
++ FALSE);
++ watcher->priv->settings = g_settings_new_full(schema, NULL,
++ NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ watcher->priv->scheduled = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, e_reminder_watcher_free_rd_slist);
+ watcher->priv->default_zone = icaltimezone_copy (zone);
+ watcher->priv->timers_enabled = TRUE;
+diff --git a/src/camel/camel-cipher-context.c b/src/camel/camel-cipher-context.c
+index dcdc3eed0..fd2e428c2 100644
+--- a/src/camel/camel-cipher-context.c
++++ b/src/camel/camel-cipher-context.c
+@@ -1635,7 +1635,20 @@ camel_cipher_can_load_photos (void)
+ GSettings *settings;
+ gboolean load_photos;
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ load_photos = g_settings_get_boolean (settings, "camel-cipher-load-photos");
+ g_clear_object (&settings);
+
+diff --git a/src/camel/camel-gpg-context.c b/src/camel/camel-gpg-context.c
+index 1b3362886..f0811b292 100644
+--- a/src/camel/camel-gpg-context.c
++++ b/src/camel/camel-gpg-context.c
+@@ -573,7 +573,20 @@ gpg_ctx_get_executable_name (void)
+ GSettings *settings;
+ gchar *path;
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ path = g_settings_get_string (settings, "camel-gpg-binary");
+ g_clear_object (&settings);
+
+diff --git a/src/libedataserver/e-network-monitor.c b/src/libedataserver/e-network-monitor.c
+index e0d8b87d6..3a4d5a359 100644
+--- a/src/libedataserver/e-network-monitor.c
++++ b/src/libedataserver/e-network-monitor.c
+@@ -255,7 +255,20 @@ e_network_monitor_constructed (GObject *object)
+ /* Chain up to parent's method. */
+ G_OBJECT_CLASS (e_network_monitor_parent_class)->constructed (object);
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ g_settings_bind (
+ settings, "network-monitor-gio-name",
+ object, "gio-name",
+diff --git a/src/libedataserver/e-oauth2-service-google.c b/src/libedataserver/e-oauth2-service-google.c
+index f0c6f2cbf..0053e3ce6 100644
+--- a/src/libedataserver/e-oauth2-service-google.c
++++ b/src/libedataserver/e-oauth2-service-google.c
+@@ -69,7 +69,20 @@ eos_google_read_settings (EOAuth2Service *service,
+ if (!value) {
+ GSettings *settings;
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ value = g_settings_get_string (settings, key_name);
+ g_object_unref (settings);
+
+diff --git a/src/libedataserver/e-oauth2-service-outlook.c b/src/libedataserver/e-oauth2-service-outlook.c
+index 687c10d3b..684583c35 100644
+--- a/src/libedataserver/e-oauth2-service-outlook.c
++++ b/src/libedataserver/e-oauth2-service-outlook.c
+@@ -70,7 +70,20 @@ eos_outlook_read_settings (EOAuth2Service *service,
+ if (!value) {
+ GSettings *settings;
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ value = g_settings_get_string (settings, key_name);
+ g_object_unref (settings);
+
+diff --git a/src/libedataserver/e-oauth2-service.c b/src/libedataserver/e-oauth2-service.c
+index 682673c16..436f52d5f 100644
+--- a/src/libedataserver/e-oauth2-service.c
++++ b/src/libedataserver/e-oauth2-service.c
+@@ -95,7 +95,20 @@ eos_default_guess_can_process (EOAuth2Service *service,
+ name_len = strlen (name);
+ hostname_len = strlen (hostname);
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ values = g_settings_get_strv (settings, "oauth2-services-hint");
+ g_object_unref (settings);
+
+diff --git a/src/libedataserver/e-proxy.c b/src/libedataserver/e-proxy.c
+index 883379a60..989353494 100644
+--- a/src/libedataserver/e-proxy.c
++++ b/src/libedataserver/e-proxy.c
+@@ -969,8 +969,37 @@ e_proxy_init (EProxy *proxy)
+
+ proxy->priv->type = PROXY_TYPE_SYSTEM;
+
+- proxy->priv->evolution_proxy_settings = g_settings_new ("org.gnome.evolution.shell.network-config");
+- proxy->priv->proxy_settings = g_settings_new ("org.gnome.system.proxy");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution.shell.network-config",
++ FALSE);
++ proxy->priv->evolution_proxy_settings = g_settings_new_full(schema,
++ NULL,
++ NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@GDS_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.system.proxy",
++ FALSE);
++ proxy->priv->proxy_settings = g_settings_new_full(schema,
++ NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ proxy->priv->proxy_http_settings = g_settings_get_child (proxy->priv->proxy_settings, "http");
+ proxy->priv->proxy_https_settings = g_settings_get_child (proxy->priv->proxy_settings, "https");
+ proxy->priv->proxy_socks_settings = g_settings_get_child (proxy->priv->proxy_settings, "socks");
+diff --git a/src/libedataserver/e-source-registry.c b/src/libedataserver/e-source-registry.c
+index a5a30a3e1..5fbdf8190 100644
+--- a/src/libedataserver/e-source-registry.c
++++ b/src/libedataserver/e-source-registry.c
+@@ -1749,7 +1749,21 @@ e_source_registry_init (ESourceRegistry *registry)
g_mutex_init (®istry->priv->sources_lock);
- registry->priv->settings = g_settings_new (GSETTINGS_SCHEMA);
-+ GSettingsSchemaSource *schema_source = registry->priv->schema_source = g_settings_schema_source_new_from_directory ("@ESD_GSETTINGS_PATH@", g_settings_schema_source_get_default (), TRUE, NULL);
-+ registry->priv->schema = g_settings_schema_source_lookup (schema_source, GSETTINGS_SCHEMA, FALSE);
-+ registry->priv->settings = g_settings_new_full (registry->priv->schema, NULL, NULL);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ GSETTINGS_SCHEMA,
++ FALSE);
++ registry->priv->settings = g_settings_new_full(schema, NULL,
++ NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
g_signal_connect (
registry->priv->settings, "changed",
+diff --git a/src/libedataserverui/e-reminders-widget.c b/src/libedataserverui/e-reminders-widget.c
+index f89cd4a5c..06cca9b5f 100644
+--- a/src/libedataserverui/e-reminders-widget.c
++++ b/src/libedataserverui/e-reminders-widget.c
+@@ -1642,7 +1642,21 @@ static void
+ e_reminders_widget_init (ERemindersWidget *reminders)
+ {
+ reminders->priv = G_TYPE_INSTANCE_GET_PRIVATE (reminders, E_TYPE_REMINDERS_WIDGET, ERemindersWidgetPrivate);
+- reminders->priv->settings = g_settings_new ("org.gnome.evolution-data-server.calendar");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server.calendar",
++ FALSE);
++ reminders->priv->settings = g_settings_new_full(schema, NULL,
++ NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+ reminders->priv->cancellable = g_cancellable_new ();
+ reminders->priv->is_empty = TRUE;
+ reminders->priv->is_mapped = FALSE;
+diff --git a/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c b/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c
+index 6f03053d6..dffc186c7 100644
+--- a/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c
++++ b/src/services/evolution-source-registry/evolution-source-registry-autoconfig.c
+@@ -706,7 +706,20 @@ evolution_source_registry_merge_autoconfig_sources (ESourceRegistryServer *serve
+ gchar *autoconfig_directory;
+ gint ii;
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+
+ autoconfig_sources = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, e_autoconfig_free_merge_source_data);
+
+diff --git a/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c b/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c
+index d531cb9e2..c5b1c761c 100644
+--- a/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c
++++ b/src/services/evolution-source-registry/evolution-source-registry-migrate-proxies.c
+@@ -61,7 +61,20 @@ evolution_source_registry_migrate_proxies (ESourceRegistryServer *server)
+ extension_name = E_SOURCE_EXTENSION_PROXY;
+ extension = e_source_get_extension (source, extension_name);
+
+- settings = g_settings_new (NETWORK_CONFIG_SCHEMA_ID);
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ NETWORK_CONFIG_SCHEMA_ID,
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+
+ switch (g_settings_get_int (settings, "proxy-type")) {
+ case 1:
+diff --git a/src/services/evolution-source-registry/evolution-source-registry.c b/src/services/evolution-source-registry/evolution-source-registry.c
+index 1c0a11382..3e144845e 100644
+--- a/src/services/evolution-source-registry/evolution-source-registry.c
++++ b/src/services/evolution-source-registry/evolution-source-registry.c
+@@ -181,7 +181,20 @@ main (gint argc,
+
+ reload:
+
+- settings = g_settings_new ("org.gnome.evolution-data-server");
++ {
++ GSettingsSchemaSource *schema_source;
++ GSettingsSchema *schema;
++ schema_source = g_settings_schema_source_new_from_directory("@ESD_GSETTINGS_PATH@",
++ g_settings_schema_source_get_default(),
++ TRUE,
++ NULL);
++ schema = g_settings_schema_source_lookup(schema_source,
++ "org.gnome.evolution-data-server",
++ FALSE);
++ settings = g_settings_new_full(schema, NULL, NULL);
++ g_settings_schema_source_unref(schema_source);
++ g_settings_schema_unref(schema);
++ }
+
+ if (!opt_disable_migration && !g_settings_get_boolean (settings, "migrated")) {
+ g_settings_set_boolean (settings, "migrated", TRUE);
diff --git a/pkgs/desktops/gnome-3/core/gdm/default.nix b/pkgs/desktops/gnome-3/core/gdm/default.nix
index 83134381173..a4d2fd2be5a 100644
--- a/pkgs/desktops/gnome-3/core/gdm/default.nix
+++ b/pkgs/desktops/gnome-3/core/gdm/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, substituteAll, pkgconfig, glib, itstool, libxml2, xorg
, accountsservice, libX11, gnome3, systemd, autoreconfHook
, gtk3, libcanberra-gtk3, pam, libtool, gobject-introspection, plymouth
-, librsvg, coreutils, xwayland, fetchpatch }:
+, librsvg, coreutils, xwayland }:
stdenv.mkDerivation rec {
- name = "gdm-${version}";
+ pname = "gdm";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gdm/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gdm/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "12ypdz9i24hwbl1d1wnnxb8zlvfa4f49n9ac5cl9d6h8qp4b0gb4";
};
diff --git a/pkgs/desktops/gnome-3/core/gjs/default.nix b/pkgs/desktops/gnome-3/core/gjs/default.nix
index ef4de369915..303377b8631 100644
--- a/pkgs/desktops/gnome-3/core/gjs/default.nix
+++ b/pkgs/desktops/gnome-3/core/gjs/default.nix
@@ -1,13 +1,13 @@
{ fetchurl, stdenv, pkgconfig, gnome3, gtk3, atk, gobject-introspection
-, spidermonkey_60, pango, readline, glib, libxml2, dbus, gdk_pixbuf
+, spidermonkey_60, pango, readline, glib, libxml2, dbus, gdk-pixbuf
, makeWrapper }:
stdenv.mkDerivation rec {
- name = "gjs-${version}";
+ pname = "gjs";
version = "1.56.2";
src = fetchurl {
- url = "mirror://gnome/sources/gjs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gjs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1b5321krn89p3f7s2ik6gpfnc61apzljhlnbqky8c88f7n6832ac";
};
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
moveToOutput "libexec/gjs/installed-tests" "$installedTests"
wrapProgram "$installedTests/libexec/gjs/installed-tests/minijasmine" \
- --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk_pixbuf ]}:$installedTests/libexec/gjs/installed-tests"
+ --prefix GI_TYPELIB_PATH : "${stdenv.lib.makeSearchPath "lib/girepository-1.0" [ gtk3 atk pango.out gdk-pixbuf ]}:$installedTests/libexec/gjs/installed-tests"
'';
meta = with stdenv.lib; {
diff --git a/pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix b/pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix
index 1e332502db5..e4c772cb1d4 100644
--- a/pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-backgrounds/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gnome3, gettext }:
stdenv.mkDerivation rec {
- name = "gnome-backgrounds-${version}";
+ pname = "gnome-backgrounds";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-backgrounds/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-backgrounds/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1s5krdmd3md44p1fgr2lqm5ifxb8s1vzx6hm11sb4cgzr4dw6lrz";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-calculator/default.nix b/pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
index 5d980c3c347..df43371a497 100644
--- a/pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-calculator/default.nix
@@ -3,12 +3,12 @@
, gnome3, mpfr, gmp, libsoup, libmpc, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gnome-calculator-${version}";
- version = "3.32.1";
+ pname = "gnome-calculator";
+ version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-calculator/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "121fyhrzdf7zf3iis0rlpag7hfg8jsan2zy83x5l00rq7abdpn8d";
+ url = "mirror://gnome/sources/gnome-calculator/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0fgpn3sc226s9fpzhik5rkkrf669037gc659ga2kn9jsyckj6p41";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix b/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix
index b79651ea4bc..bcc8871bcf1 100644
--- a/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-color-manager/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, itstool, desktop-file-utils, gnome3, glib, gtk3, libexif, libtiff, colord, colord-gtk, libcanberra-gtk3, lcms2, vte, exiv2 }:
+{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, itstool, desktop-file-utils, gnome3, glib, gtk3, libexif, libtiff, colord, colord-gtk, libcanberra-gtk3, lcms2, vte, exiv2, hicolor-icon-theme }:
let
pname = "gnome-color-manager";
@@ -11,7 +11,12 @@ in stdenv.mkDerivation rec {
sha256 = "1vpxa2zjz3lkq9ldjg0fl65db9s6b4kcs8nyaqfz3jygma7ifg3w";
};
- nativeBuildInputs = [ meson ninja pkgconfig gettext itstool desktop-file-utils ];
+ nativeBuildInputs = [
+ meson ninja pkgconfig gettext itstool desktop-file-utils
+ # setup-hook
+ hicolor-icon-theme
+ ];
+
buildInputs = [ glib gtk3 libexif libtiff colord colord-gtk libcanberra-gtk3 lcms2 vte exiv2 ];
passthru = {
diff --git a/pkgs/desktops/gnome-3/core/gnome-common/default.nix b/pkgs/desktops/gnome-3/core/gnome-common/default.nix
index d0ab339a504..f2eb65e50bb 100644
--- a/pkgs/desktops/gnome-3/core/gnome-common/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-common/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, which, gnome3, autoconf, automake }:
stdenv.mkDerivation rec {
- name = "gnome-common-${version}";
+ pname = "gnome-common";
version = "3.18.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-common/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-common/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-contacts/default.nix b/pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
index a405ca0f808..75a15a41f97 100644
--- a/pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-contacts/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, gettext, fetchurl, evolution-data-server
+{ stdenv, gettext, fetchurl, evolution-data-server, fetchpatch
, pkgconfig, libxslt, docbook_xsl, docbook_xml_dtd_42, python3, gtk3, glib, cheese
, libchamplain, clutter-gtk, geocode-glib, gnome-desktop, gnome-online-accounts
, wrapGAppsHook, folks, libxml2, gnome3, telepathy-glib
@@ -7,10 +7,11 @@
let
version = "3.32.1";
in stdenv.mkDerivation rec {
- name = "gnome-contacts-${version}";
+ pname = "gnome-contacts";
+ inherit version;
src = fetchurl {
- url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-contacts/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "17g1gh8yj58cfpdx69h2szivlbjgvv982kmhnkkh0i5bwj0zs2yy";
};
@@ -31,6 +32,18 @@ in stdenv.mkDerivation rec {
"-Dtelepathy=true"
];
+ patches = [
+ # Fixes build with libhandy >= 0.0.10
+ (fetchpatch {
+ url = "https://gitlab.gnome.org/GNOME/gnome-contacts/commit/c5eee38cd2556403a640a0a4c11d36cbf9a5a798.patch";
+ sha256 = "0s2cl7z6b0x3ky4y28yyxc9x5zp4r3vqmvbhz5m2fm6830fyjg13";
+ })
+ (fetchpatch {
+ url = "https://gitlab.gnome.org/GNOME/gnome-contacts/commit/1f1500ca01098ffda6392f5ec9ce3a29a48a84b1.patch";
+ sha256 = "082zaaj2l5cgr2qy145x8yknja87r0vpigrhidal40041kd5nldg";
+ })
+ ];
+
postPatch = ''
chmod +x build-aux/meson_post_install.py
patchShebangs build-aux/meson_post_install.py
diff --git a/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix b/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
index cfd20044c6c..04730f2370f 100644
--- a/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-control-center/default.nix
@@ -1,39 +1,137 @@
-{ fetchurl, stdenv, substituteAll, meson, ninja, pkgconfig, gnome3, ibus, gettext, upower, wrapGAppsHook
-, libcanberra-gtk3, accountsservice, libpwquality, libpulseaudio
-, gdk_pixbuf, librsvg, libgudev, libsecret, gnome-color-manager
-, libxml2, polkit, libxslt, libgtop, libsoup, colord, colord-gtk
-, libkrb5, networkmanagerapplet, networkmanager, glibc
-, libwacom, samba, shared-mime-info, tzdata, libgnomekbd
-, docbook_xsl, modemmanager, clutter, clutter-gtk, cheese, gnome-session
-, fontconfig, sound-theme-freedesktop, grilo, python3
-, gtk3, glib, glib-networking, gsettings-desktop-schemas
-, gnome-desktop, gnome-settings-daemon, gnome-online-accounts
-, vino, gnome-bluetooth, tracker, adwaita-icon-theme
-, udisks2, gsound, libhandy, cups, mutter }:
+{ fetchurl
+, stdenv
+, substituteAll
+, accountsservice
+, adwaita-icon-theme
+, cheese
+, clutter
+, clutter-gtk
+, colord
+, colord-gtk
+, cups
+, docbook_xsl
+, fontconfig
+, gdk-pixbuf
+, gettext
+, glib
+, glib-networking
+, glibc
+, gnome-bluetooth
+, gnome-color-manager
+, gnome-desktop
+, gnome-online-accounts
+, gnome-session
+, gnome-settings-daemon
+, gnome3
+, grilo
+, grilo-plugins
+, gsettings-desktop-schemas
+, gsound
+, gtk3
+, ibus
+, libcanberra-gtk3
+, libgnomekbd
+, libgtop
+, libgudev
+, libhandy
+, libkrb5
+, libpulseaudio
+, libpwquality
+, librsvg
+, libsecret
+, libsoup
+, libwacom
+, libxml2
+, libxslt
+, meson
+, modemmanager
+, mutter
+, networkmanager
+, networkmanagerapplet
+, ninja
+, pkgconfig
+, polkit
+, python3
+, samba
+, shared-mime-info
+, sound-theme-freedesktop
+, tracker
+, tzdata
+, udisks2
+, upower
+, vino
+, gnome-user-share
+, gnome-remote-desktop
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "gnome-control-center";
- version = "3.32.1";
+ version = "3.32.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0xpcmwgnn29syi2kfxc8233a5f3j8cij5wcn76xmsmwxvxz5r85l";
+ sha256 = "03np0mhfl9kkdw4cb711pda0cli9zgh2bq2gqn2zwbdi3qnhk9gs";
};
nativeBuildInputs = [
- meson ninja pkgconfig gettext wrapGAppsHook libxslt docbook_xsl
- shared-mime-info python3
+ docbook_xsl
+ gettext
+ libxslt
+ meson
+ ninja
+ pkgconfig
+ python3
+ shared-mime-info
+ wrapGAppsHook
];
buildInputs = [
- ibus gtk3 glib glib-networking upower gsettings-desktop-schemas
- libxml2 gnome-desktop gnome-settings-daemon polkit libgtop
- gnome-online-accounts libsoup colord libpulseaudio fontconfig colord-gtk
- accountsservice libkrb5 networkmanagerapplet libwacom samba
- grilo libpwquality vino libcanberra-gtk3 libgudev libsecret
- gdk_pixbuf adwaita-icon-theme librsvg clutter clutter-gtk cheese
- networkmanager modemmanager gnome-bluetooth tracker
- udisks2 gsound libhandy
+ accountsservice
+ adwaita-icon-theme
+ cheese
+ clutter
+ clutter-gtk
+ colord
+ colord-gtk
+ fontconfig
+ gdk-pixbuf
+ glib
+ glib-networking
+ gnome-bluetooth
+ gnome-desktop
+ gnome-online-accounts
+ gnome-remote-desktop # optional, sharing panel
+ gnome-settings-daemon
+ gnome-user-share # optional, sharing panel
+ grilo
+ grilo-plugins # for setting wallpaper from Flickr
+ gsettings-desktop-schemas
+ gsound
+ gtk3
+ ibus
+ libcanberra-gtk3
+ libgtop
+ libgudev
+ libhandy
+ libkrb5
+ libpulseaudio
+ libpwquality
+ librsvg
+ libsecret
+ libsoup
+ libwacom
+ libxml2
+ modemmanager
+ mutter # schemas for the keybindings
+ networkmanager
+ networkmanagerapplet
+ polkit
+ samba
+ tracker
+ udisks2
+ upower
+ vino
];
patches = [
@@ -59,7 +157,7 @@ stdenv.mkDerivation rec {
gappsWrapperArgs+=(
--prefix XDG_DATA_DIRS : "${sound-theme-freedesktop}/share"
# Thumbnailers (for setting user profile pictures)
- --prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share"
+ --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
--prefix XDG_DATA_DIRS : "${librsvg}/share"
# WM keyboard shortcuts
--prefix XDG_DATA_DIRS : "${mutter}/share"
diff --git a/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix b/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
index 4a614b88072..9d798c2811b 100644
--- a/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-desktop/default.nix
@@ -1,27 +1,25 @@
{ stdenv, fetchurl, substituteAll, pkgconfig, libxslt, ninja, libX11, gnome3, gtk3, glib
-, gettext, libxml2, xkeyboard_config, isocodes, meson, wayland, fetchpatch
-, libseccomp, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }:
+, gettext, libxml2, xkeyboard_config, isocodes, meson, wayland
+, libseccomp, systemd, bubblewrap, gobject-introspection, gtk-doc, docbook_xsl, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gnome-desktop-${version}";
+ pname = "gnome-desktop";
version = "3.32.2";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
- url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-desktop/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0bidx4626x7k2myv6f64qv4fzmxv8v475wibiz19kj8hjfr737q9";
};
- enableParallelBuilding = true;
-
nativeBuildInputs = [
pkgconfig meson ninja gettext libxslt libxml2 gobject-introspection
gtk-doc docbook_xsl
];
buildInputs = [
libX11 bubblewrap xkeyboard_config isocodes wayland
- gtk3 glib libseccomp
+ gtk3 glib libseccomp systemd
];
propagatedBuildInputs = [ gsettings-desktop-schemas ];
diff --git a/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix b/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix
index 613de6c3c16..98398311882 100644
--- a/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-dictionary/default.nix
@@ -3,11 +3,11 @@
, gnome3, gtk3, glib, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gnome-dictionary-${version}";
+ pname = "gnome-dictionary";
version = "3.26.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-dictionary/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-dictionary/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16b8bc248dcf68987826d5e39234b1bb7fd24a2607fcdbf4258fde88f012f300";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix b/pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
index 8e09b152e83..d6d9f927252 100644
--- a/pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-disk-utility/default.nix
@@ -4,11 +4,11 @@
, libcanberra-gtk3, libxslt, docbook_xsl, libpwquality }:
stdenv.mkDerivation rec {
- name = "gnome-disk-utility-${version}";
+ pname = "gnome-disk-utility";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-disk-utility/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "08vwbji9m1nhjjdiyhhaqi8cncys7i89b4bpy095f8475v8y05bg";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix b/pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix
index 317c7e91584..976829acd4c 100644
--- a/pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-font-viewer/default.nix
@@ -3,11 +3,11 @@
, wrapGAppsHook, gnome3, harfbuzz }:
stdenv.mkDerivation rec {
- name = "gnome-font-viewer-${version}";
+ pname = "gnome-font-viewer";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-font-viewer/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-font-viewer/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "10b150sa3971i5lfnk0jkkzlril97lz09sshwsbkabc8b7kv1qa3";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix b/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix
index f36d3f4a6e0..7817936bfda 100644
--- a/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-keyring/default.nix
@@ -3,11 +3,11 @@
, docbook_xsl, docbook_xml_dtd_43, gnome3 }:
stdenv.mkDerivation rec {
- name = "gnome-keyring-${version}";
+ pname = "gnome-keyring";
version = "3.31.91";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-keyring/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-keyring/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1fjylqw4xp0rqsylq4gbxzw1sql2sy55h1mnz1pprrxb9py0mnd4";
};
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
];
configureFlags = [
- "--with-pkcs11-config=${placeholder ''out''}/etc/pkcs11/" # installation directories
- "--with-pkcs11-modules=${placeholder ''out''}/lib/pkcs11/"
+ "--with-pkcs11-config=${placeholder "out"}/etc/pkcs11/" # installation directories
+ "--with-pkcs11-modules=${placeholder "out"}/lib/pkcs11/"
];
postPatch = ''
diff --git a/pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix b/pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
index ed4c1a3da13..93da1f8abec 100644
--- a/pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-online-miners/default.nix
@@ -3,11 +3,11 @@
, tracker, gfbgraph, librest, libsoup, json-glib, gmp, openssl, dleyna-server, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "gnome-online-miners-${version}";
+ pname = "gnome-online-miners";
version = "3.30.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-online-miners/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-online-miners/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0pjamwwzn5wqgihyss357dyl2q70r0bngnqmwsqawchx5f9aja9c";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix b/pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
index 4a22fc53519..fd507acc009 100644
--- a/pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-remote-desktop/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, meson, ninja, pkgconfig, python3, wrapGAppsHook
-, glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk_pixbuf, gnome3 }:
+, glib, pipewire, systemd, libvncserver, libsecret, libnotify, gdk-pixbuf, gnome3 }:
stdenv.mkDerivation rec {
pname = "gnome-remote-desktop";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
buildInputs = [
glib pipewire systemd libvncserver libsecret libnotify
- gdk_pixbuf # For libnotify
+ gdk-pixbuf # For libnotify
];
postPatch = ''
diff --git a/pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix b/pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix
index 1d14481e778..33acfd245cf 100644
--- a/pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-screenshot/default.nix
@@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
passthru = {
updateScript = gnome3.updateScript {
- packageName = "${pname}";
+ packageName = pname;
attrPath = "gnome3.${pname}";
};
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-session/default.nix b/pkgs/desktops/gnome-3/core/gnome-session/default.nix
index 38adf7137f7..f13ad9f47aa 100644
--- a/pkgs/desktops/gnome-3/core/gnome-session/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-session/default.nix
@@ -3,11 +3,11 @@
, libxslt, gettext, makeWrapper, systemd, xorg, epoxy, gnugrep, bash }:
stdenv.mkDerivation rec {
- name = "gnome-session-${version}";
+ pname = "gnome-session";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-session/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zrzkpd406i159mla7bfs5npa32fgqh66aip1rfq02rgsgmc9m5v";
};
diff --git a/pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix b/pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
index 466e1669e18..b9f33ce73a8 100644
--- a/pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-settings-daemon/default.nix
@@ -39,11 +39,11 @@
stdenv.mkDerivation rec {
pname = "gnome-settings-daemon";
- version = "3.32.0";
+ version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/gnome-settings-daemon/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "15w3sn9qf1zqlmk8c93kgrh2a20s62m5yfizkp21m5ylrrd07f63";
+ sha256 = "02d0s0g2mmqfib44r3sf0499r08p61s8l2ndsjssbam1bi7x2dks";
};
patches = [
@@ -95,6 +95,12 @@ stdenv.mkDerivation rec {
"-Dudev_dir=${placeholder "out"}/lib/udev"
];
+ NIX_CFLAGS_COMPILE = [
+ # Default for release buildtype but passed manually because
+ # we're using plain
+ "-DG_DISABLE_CAST_CHECKS"
+ ];
+
# So the polkit policy can reference /run/current-system/sw/bin/gnome-settings-daemon/gsd-backlight-helper
postFixup = ''
mkdir -p $out/bin/gnome-settings-daemon
diff --git a/pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix b/pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix
index 21281f15a5c..3d37040828c 100644
--- a/pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-shell-extensions/default.nix
@@ -2,11 +2,11 @@
, gnome3, gnome-menus, substituteAll }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extensions-${version}";
+ pname = "gnome-shell-extensions";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-shell-extensions/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "07libf6z24n42hpdsq163w0j8xyrav0lxqrwxrvq5kbz8zxv5ch2";
};
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
# Fixup adapted from export-zips.sh in the source.
extensiondir=$out/share/gnome-shell/extensions
- schemadir=$out/share/gsettings-schemas/${name}/glib-2.0/schemas/
+ schemadir=${glib.makeSchemaPath "$out" "${pname}-${version}"}
glib-compile-schemas $schemadir
diff --git a/pkgs/desktops/gnome-3/core/gnome-shell/default.nix b/pkgs/desktops/gnome-3/core/gnome-shell/default.nix
index d9001d9b1b9..a1d8f2c599a 100644
--- a/pkgs/desktops/gnome-3/core/gnome-shell/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-shell/default.nix
@@ -3,7 +3,7 @@
, libstartup_notification, telepathy-glib, telepathy-logger, libXtst, unzip, glibcLocales, shared-mime-info
, libgweather, libcanberra-gtk3, librsvg, geoclue2, perl, docbook_xml_dtd_42, desktop-file-utils
, libpulseaudio, libical, gobject-introspection, gstreamer, wrapGAppsHook, libxslt, gcr, caribou
-, accountsservice, gdk_pixbuf, gdm, upower, ibus, networkmanagerapplet, libgnomekbd, gnome-desktop
+, accountsservice, gdk-pixbuf, gdm, upower, ibus, networkmanagerapplet, libgnomekbd, gnome-desktop
, gsettings-desktop-schemas, gnome-keyring, glib, gjs, mutter, evolution-data-server, gtk3
, sassc, systemd, gst_all_1, adwaita-icon-theme, gnome-bluetooth, gnome-clocks, gnome-settings-daemon }:
@@ -13,11 +13,11 @@ let
pythonEnv = python3.withPackages ( ps: with ps; [ pygobject3 ] );
in stdenv.mkDerivation rec {
- name = "gnome-shell-${version}";
+ pname = "gnome-shell";
version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-shell/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0anlkdnqsp5fqvmg95rqjpp1ifcx5xzsvwcrdsvb1cqzbh6inmp5";
};
@@ -30,7 +30,7 @@ in stdenv.mkDerivation rec {
buildInputs = [
systemd caribou
gsettings-desktop-schemas gnome-keyring glib gcr json-glib accountsservice
- libcroco libsecret libsoup polkit gdk_pixbuf librsvg
+ libcroco libsecret libsoup polkit gdk-pixbuf librsvg
clutter networkmanager libstartup_notification telepathy-glib
libXtst gjs mutter libpulseaudio evolution-data-server
libical gtk3 gstreamer gdm libcanberra-gtk3 geoclue2
diff --git a/pkgs/desktops/gnome-3/core/gnome-software/default.nix b/pkgs/desktops/gnome-3/core/gnome-software/default.nix
index ab4b360221e..12081bbae5b 100644
--- a/pkgs/desktops/gnome-3/core/gnome-software/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-software/default.nix
@@ -3,13 +3,19 @@
, gtk3, gsettings-desktop-schemas, gnome-desktop, libxmlb, gnome-online-accounts, hicolor-icon-theme
, json-glib, libsecret, valgrind-light, docbook_xsl, docbook_xml_dtd_42, docbook_xml_dtd_43, gtk-doc, desktop-file-utils }:
+let
+
+ withFwupd = stdenv.isx86_64 || stdenv.isi686;
+
+in
+
stdenv.mkDerivation rec {
- name = "gnome-software-${version}";
- version = "3.32.2";
+ pname = "gnome-software";
+ version = "3.32.4";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "12kw5vyg8jy0xiq1shfh4ksar2dpyzcdxbyx8lrp9494d606nrlx";
+ url = "mirror://gnome/sources/gnome-software/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0g30wdrpypj23npvx85wqh1i4a8bbg00ainz7wmsvry21hcny4d4";
};
patches = [
@@ -29,13 +35,16 @@ stdenv.mkDerivation rec {
gtk3 glib packagekit appstream-glib libsoup
gsettings-desktop-schemas gnome-desktop
gspell json-glib libsecret ostree
- polkit flatpak fwupd
- libxmlb gnome-online-accounts
+ polkit flatpak libxmlb gnome-online-accounts
+ ] ++ stdenv.lib.optionals withFwupd [
+ fwupd
];
mesonFlags = [
"-Dubuntu_reviews=false"
"-Dgudev=false"
+ ] ++ stdenv.lib.optionals (!withFwupd) [
+ "-Dfwupd=false"
];
passthru = {
diff --git a/pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix b/pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
index 83159c2ad72..a9f8367a548 100644
--- a/pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-system-monitor/default.nix
@@ -1,13 +1,13 @@
{ stdenv, gettext, fetchurl, pkgconfig, gtkmm3, libxml2, polkit
, bash, gtk3, glib, wrapGAppsHook, meson, ninja, python3
-, gsettings-desktop-schemas, itstool, gnome3, librsvg, gdk_pixbuf, libgtop, systemd }:
+, gsettings-desktop-schemas, itstool, gnome3, librsvg, gdk-pixbuf, libgtop, systemd }:
stdenv.mkDerivation rec {
- name = "gnome-system-monitor-${version}";
+ pname = "gnome-system-monitor";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-system-monitor/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-system-monitor/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1wd43qdgjav6xamq5z5cy8fri5zr01jga3plc9w95gcia0rk3ha8";
};
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
polkit # for ITS file
];
buildInputs = [
- bash gtk3 glib libxml2 gtkmm3 libgtop gdk_pixbuf gnome3.adwaita-icon-theme librsvg
+ bash gtk3 glib libxml2 gtkmm3 libgtop gdk-pixbuf gnome3.adwaita-icon-theme librsvg
gsettings-desktop-schemas systemd
];
diff --git a/pkgs/desktops/gnome-3/core/gnome-terminal/default.nix b/pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
index 77a630261fb..75d4b117e77 100644
--- a/pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-terminal/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchurl, pkgconfig, libxml2, gnome3, dconf, nautilus
, gtk3, gsettings-desktop-schemas, vte, intltool, which, libuuid, vala
-, desktop-file-utils, itstool, wrapGAppsHook }:
+, desktop-file-utils, itstool, wrapGAppsHook, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "gnome-terminal-${version}";
+ pname = "gnome-terminal";
version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-terminal/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0shhpnagasyp1kxgjczfrivcxbgrrl3y8lzvp1z101m67h4jp6km";
};
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
pkgconfig intltool itstool which libxml2
vala desktop-file-utils wrapGAppsHook
+ hicolor-icon-theme # for setup-hook
];
# Silly ./configure, it looks for dbus file from gnome-shell in the
diff --git a/pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix b/pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix
index 3d5cfb85d67..5cd8f249481 100644
--- a/pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-themes-extra/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, intltool, gtk3, gnome3, librsvg, pkgconfig, pango, atk, gtk2
-, gdk_pixbuf }:
+, gdk-pixbuf }:
let
pname = "gnome-themes-extra";
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ pkgconfig intltool ];
- buildInputs = [ gtk3 librsvg pango atk gtk2 gdk_pixbuf gnome3.adwaita-icon-theme ];
+ buildInputs = [ gtk3 librsvg pango atk gtk2 gdk-pixbuf gnome3.adwaita-icon-theme ];
postFixup = ''
gtk-update-icon-cache "$out"/share/icons/HighContrast
diff --git a/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix b/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
index d9f93862143..7915e71a73c 100644
--- a/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-user-docs/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, gnome3, itstool, libxml2, intltool }:
stdenv.mkDerivation rec {
- name = "gnome-user-docs-${version}";
- version = "3.32.2";
+ pname = "gnome-user-docs";
+ version = "3.32.3";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-user-docs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1ny7cwkyskrykzsrabjnlc9jsdl4kdk73smwxas6ddmca02hpm7c";
+ url = "mirror://gnome/sources/gnome-user-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0dvsl0ldg8rf7yq0r4dv1pn41s7gjgcqp7agkbflkbmhrl6vbhig";
};
passthru = {
diff --git a/pkgs/desktops/gnome-3/core/gnome-user-share/default.nix b/pkgs/desktops/gnome-3/core/gnome-user-share/default.nix
index 65f9fb0db80..2a425acb067 100644
--- a/pkgs/desktops/gnome-3/core/gnome-user-share/default.nix
+++ b/pkgs/desktops/gnome-3/core/gnome-user-share/default.nix
@@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-httpd=${apacheHttpd.out}/bin/httpd"
"--with-modules-path=${apacheHttpd.dev}/modules"
- "--with-systemduserunitdir=${placeholder ''out''}/etc/systemd/user"
- "--with-nautilusdir=${placeholder ''out''}/lib/nautilus/extensions-3.0"
+ "--with-systemduserunitdir=${placeholder "out"}/etc/systemd/user"
+ "--with-nautilusdir=${placeholder "out"}/lib/nautilus/extensions-3.0"
];
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/gucharmap/default.nix b/pkgs/desktops/gnome-3/core/gucharmap/default.nix
index 3d32a1c2436..6c291c1874f 100644
--- a/pkgs/desktops/gnome-3/core/gucharmap/default.nix
+++ b/pkgs/desktops/gnome-3/core/gucharmap/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, intltool, fetchFromGitLab, fetchpatch, pkgconfig, gtk3, adwaita-icon-theme
+{ stdenv, intltool, fetchFromGitLab, pkgconfig, gtk3, adwaita-icon-theme
, glib, desktop-file-utils, gtk-doc, autoconf, automake, libtool
, wrapGAppsHook, gnome3, itstool, libxml2, yelp-tools
, docbook_xsl, docbook_xml_dtd_412, gsettings-desktop-schemas
diff --git a/pkgs/desktops/gnome-3/core/gucharmap/unicode-data.nix b/pkgs/desktops/gnome-3/core/gucharmap/unicode-data.nix
index cfdda920e27..56104aff484 100644
--- a/pkgs/desktops/gnome-3/core/gucharmap/unicode-data.nix
+++ b/pkgs/desktops/gnome-3/core/gucharmap/unicode-data.nix
@@ -1,6 +1,6 @@
{ fetchurl, stdenv, gnome3 }:
stdenv.mkDerivation rec {
- name = "unicode-data-${version}";
+ pname = "unicode-data";
version = "12.0.0";
srcs = [
(fetchurl {
diff --git a/pkgs/desktops/gnome-3/core/mutter/0001-Revert-ClutterActor-Preserve-valid-paint-volumes-til.patch b/pkgs/desktops/gnome-3/core/mutter/0001-Revert-ClutterActor-Preserve-valid-paint-volumes-til.patch
new file mode 100644
index 00000000000..0e1c33773b0
--- /dev/null
+++ b/pkgs/desktops/gnome-3/core/mutter/0001-Revert-ClutterActor-Preserve-valid-paint-volumes-til.patch
@@ -0,0 +1,147 @@
+From 76477def5c103f10d62e604305802d7f5506afd4 Mon Sep 17 00:00:00 2001
+From: worldofpeace
+Date: Sun, 15 Sep 2019 20:14:16 -0400
+Subject: [PATCH] Revert "ClutterActor: Preserve valid paint volumes till the
+ next relayout/repaint"
+
+This causes issues for users of mutter like in gala[0].
+
+Upstream report: https://gitlab.gnome.org/GNOME/mutter/issues/536
+[0]: https://github.com/elementary/gala/issues/605
+---
+ clutter/clutter/clutter-actor.c | 35 +++++----------------------------
+ 1 file changed, 5 insertions(+), 30 deletions(-)
+
+diff --git a/clutter/clutter/clutter-actor.c b/clutter/clutter/clutter-actor.c
+index e70892308..8cb60fa07 100644
+--- a/clutter/clutter/clutter-actor.c
++++ b/clutter/clutter/clutter-actor.c
+@@ -24,7 +24,7 @@
+
+ /**
+ * SECTION:clutter-actor
+- * @short_description: The basic element of the scene graph
++ * @short_description: The basic element of the scene graph
+ *
+ * The ClutterActor class is the basic element of the scene graph in Clutter,
+ * and it encapsulates the position, size, and transformations of a node in
+@@ -840,7 +840,6 @@ struct _ClutterActorPrivate
+ guint needs_compute_expand : 1;
+ guint needs_x_expand : 1;
+ guint needs_y_expand : 1;
+- guint needs_paint_volume_update : 1;
+ guint had_effects_on_last_paint_volume_update : 1;
+ };
+
+@@ -1511,8 +1510,6 @@ clutter_actor_real_map (ClutterActor *self)
+
+ CLUTTER_ACTOR_SET_FLAGS (self, CLUTTER_ACTOR_MAPPED);
+
+- self->priv->needs_paint_volume_update = TRUE;
+-
+ stage = _clutter_actor_get_stage_internal (self);
+ priv->pick_id = _clutter_stage_acquire_pick_id (CLUTTER_STAGE (stage), self);
+
+@@ -2746,7 +2743,6 @@ clutter_actor_real_queue_relayout (ClutterActor *self)
+ priv->needs_width_request = TRUE;
+ priv->needs_height_request = TRUE;
+ priv->needs_allocation = TRUE;
+- priv->needs_paint_volume_update = TRUE;
+
+ /* reset the cached size requests */
+ memset (priv->width_requests, 0,
+@@ -4742,7 +4738,7 @@ clutter_actor_set_rotation_center_internal (ClutterActor *self,
+ ClutterRotateAxis axis,
+ const ClutterVertex *center)
+ {
+- ClutterVertex v = CLUTTER_VERTEX_INIT_ZERO;
++ ClutterVertex v = CLUTTER_VERTEX_INIT_ZERO;
+ GObject *obj = G_OBJECT (self);
+ ClutterTransformInfo *info;
+
+@@ -8531,7 +8527,6 @@ clutter_actor_init (ClutterActor *self)
+ priv->needs_width_request = TRUE;
+ priv->needs_height_request = TRUE;
+ priv->needs_allocation = TRUE;
+- priv->needs_paint_volume_update = TRUE;
+
+ priv->cached_width_age = 1;
+ priv->cached_height_age = 1;
+@@ -10098,9 +10093,6 @@ clutter_actor_allocate (ClutterActor *self,
+ return;
+ }
+
+- if (CLUTTER_ACTOR_IS_MAPPED (self))
+- self->priv->needs_paint_volume_update = TRUE;
+-
+ if (!stage_allocation_changed)
+ {
+ /* If the actor didn't move but needs_allocation is set, we just
+@@ -12992,9 +12984,6 @@ clutter_actor_add_child_internal (ClutterActor *self,
+ child->priv->needs_height_request = TRUE;
+ child->priv->needs_allocation = TRUE;
+
+- if (CLUTTER_ACTOR_IS_MAPPED (child))
+- child->priv->needs_paint_volume_update = TRUE;
+-
+ /* we only queue a relayout here, because any possible
+ * redraw has already been queued either by show() or
+ * by our call to queue_redraw() above
+@@ -14130,7 +14119,7 @@ clutter_actor_get_anchor_point_gravity (ClutterActor *self)
+ *
+ * Since: 0.6
+ *
+- * Deprecated: 1.12: Use #ClutterActor:pivot-point and
++ * Deprecated: 1.12: Use #ClutterActor:pivot-point and
+ * clutter_actor_set_translation() instead.
+ */
+ void
+@@ -14178,7 +14167,7 @@ clutter_actor_move_anchor_point (ClutterActor *self,
+ *
+ * Since: 0.6
+ *
+- * Deprecated: 1.12: Use #ClutterActor:pivot-point and
++ * Deprecated: 1.12: Use #ClutterActor:pivot-point and
+ * clutter_actor_set_translation() instead.
+ */
+ void
+@@ -14230,7 +14219,7 @@ clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
+ *
+ * Since: 0.6
+ *
+- * Deprecated: 1.12: Use #ClutterActor:pivot-point and
++ * Deprecated: 1.12: Use #ClutterActor:pivot-point and
+ * clutter_actor_set_translation() instead. E.g. For %CLUTTER_GRAVITY_CENTER set
+ * pivot_point to (0.5,0.5) and the translation to (width/2,height/2).
+ */
+@@ -17567,19 +17556,6 @@ _clutter_actor_get_paint_volume_mutable (ClutterActor *self)
+
+ if (priv->paint_volume_valid)
+ {
+- /* If effects are applied, the actor paint volume
+- * needs to be recomputed on each paint, since those
+- * paint volumes could change over the duration of the
+- * effect.
+- *
+- * We also need to update the paint volume if we went
+- * from having effects to not having effects on the last
+- * paint volume update. */
+- if (!priv->needs_paint_volume_update &&
+- priv->current_effect == NULL &&
+- !has_paint_volume_override_effects &&
+- !priv->had_effects_on_last_paint_volume_update)
+- return &priv->paint_volume;
+ clutter_paint_volume_free (&priv->paint_volume);
+ }
+
+@@ -17588,7 +17564,6 @@ _clutter_actor_get_paint_volume_mutable (ClutterActor *self)
+ if (_clutter_actor_get_paint_volume_real (self, &priv->paint_volume))
+ {
+ priv->paint_volume_valid = TRUE;
+- priv->needs_paint_volume_update = FALSE;
+ return &priv->paint_volume;
+ }
+ else
+--
+2.22.1
+
diff --git a/pkgs/desktops/gnome-3/core/mutter/3.28.nix b/pkgs/desktops/gnome-3/core/mutter/3.28.nix
index 8aa7cff2d03..cc00fc5ece4 100644
--- a/pkgs/desktops/gnome-3/core/mutter/3.28.nix
+++ b/pkgs/desktops/gnome-3/core/mutter/3.28.nix
@@ -1,7 +1,7 @@
{ fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3, fetchpatch
, gsettings-desktop-schemas, gnome-desktop, wrapGAppsHook
-, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
+, libtool, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
, geocode-glib, libgudev, libwacom, xwayland, autoreconfHook }:
stdenv.mkDerivation rec {
@@ -12,8 +12,8 @@ stdenv.mkDerivation rec {
domain = "gitlab.gnome.org";
owner = "GNOME";
repo = pname;
- rev = version;
- sha256 = "0p8ky306dnm4alkncmsnd8r2awpsi37p0bzvkv313pgqw2hbwq9i";
+ rev = "74e3126b77eb5f27c0ae3f53b0aff2d2eebc15af"; # patches of tip from gnome-3-28 branch
+ sha256 = "0gw1n1w3i040w5mv30kkg7g8a59ymjlc5yaklip0ngg8xv76g0zi";
};
patches = [
@@ -48,11 +48,18 @@ stdenv.mkDerivation rec {
url = "https://src.fedoraproject.org/rpms/mutter328/raw/fff28bebda02111b4c534952465ff967ba7efced/f/0075-backends-Update-to-new-output-setting-for-tablets-to.patch";
sha256 = "141p3an83s042f67fw2fqmr79i5g634ndrbpd8cs47fd4wwiwpj5";
})
+ # https://gitlab.gnome.org/GNOME/mutter/merge_requests/670
+ # Needed for gala redorder workspace
+ (fetchpatch {
+ url = "https://github.com/elementary/os-patches/commit/d636a44885c5be662997f8e19f7dcd26670b3219.patch";
+ sha256 = "12pbxk6f39a09jxjam5a5hxl4whp3cifzpck2m7fpp0n98nc63qh";
+ })
+ # See patch commit message
+ ./0001-Revert-ClutterActor-Preserve-valid-paint-volumes-til.patch
];
configureFlags = [
"--with-x"
- "--disable-static"
"--enable-shape"
"--enable-sm"
"--enable-startup-notification"
diff --git a/pkgs/desktops/gnome-3/core/mutter/default.nix b/pkgs/desktops/gnome-3/core/mutter/default.nix
index a8bc4e77011..eab0b131ea9 100644
--- a/pkgs/desktops/gnome-3/core/mutter/default.nix
+++ b/pkgs/desktops/gnome-3/core/mutter/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, substituteAll, stdenv, pkgconfig, gnome3, gettext, gobject-introspection, upower, cairo
+{ fetchurl, fetchpatch, substituteAll, stdenv, pkgconfig, gnome3, gettext, gobject-introspection, upower, cairo
, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
, ninja, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
, gsettings-desktop-schemas, glib, gtk3, gnome-desktop
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
pname = "mutter";
version = "3.32.2";
+ outputs = [ "out" "dev" "man" ];
+
src = fetchurl {
url = "mirror://gnome/sources/mutter/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1h577i2ap7dpfy1jg101jvc6nzccc0csgvd55ahydlr8f94frcva";
@@ -20,6 +22,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dxwayland-path=${xwayland}/bin/Xwayland"
+ "-Dinstalled_tests=false" # TODO: enable these
];
propagatedBuildInputs = [
@@ -52,6 +55,13 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit zenity;
})
+ # Fix a segmentation fault in dri_flush_front_buffer() upon
+ # suspend/resume. This change should be removed when Mutter
+ # is updated to 3.34.
+ (fetchpatch {
+ url = "https://gitlab.gnome.org/GNOME/mutter/commit/8307c0f7ab60760de53f764e6636893733543be8.diff";
+ sha256 = "1hzfva71xdqvvnx5smjsrjlgyrmc7dj94mpylkak0gwda5si0h2n";
+ })
];
postPatch = ''
diff --git a/pkgs/desktops/gnome-3/core/nautilus/default.nix b/pkgs/desktops/gnome-3/core/nautilus/default.nix
index 2eeb77db0c6..14551fb7d0c 100644
--- a/pkgs/desktops/gnome-3/core/nautilus/default.nix
+++ b/pkgs/desktops/gnome-3/core/nautilus/default.nix
@@ -1,19 +1,19 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, libxml2
, desktop-file-utils, python3, wrapGAppsHook , gtk3, gnome3, gnome-autoar
, glib-networking, shared-mime-info, libnotify, libexif, libseccomp , exempi
-, librsvg, tracker, tracker-miners, gexiv2, libselinux, gdk_pixbuf
+, librsvg, tracker, tracker-miners, gexiv2, libselinux, gdk-pixbuf
, substituteAll, bubblewrap, gst_all_1, gsettings-desktop-schemas
}:
let
pname = "nautilus";
- version = "3.32.1";
+ version = "3.32.3";
in stdenv.mkDerivation rec {
name = "${pname}-${version}";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0vmrvimv4183l3ij4kv0ir2c9rfzk7gh3xc2pa4wkqq9kn7h6m7s";
+ sha256 = "1x9crzbj6rrrf8w5dkcx0c14j40byr4ijpzkwd5dcrbfvvdy1r01";
};
nativeBuildInputs = [
@@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
preFixup = ''
gappsWrapperArgs+=(
# Thumbnailers
- --prefix XDG_DATA_DIRS : "${gdk_pixbuf}/share"
+ --prefix XDG_DATA_DIRS : "${gdk-pixbuf}/share"
--prefix XDG_DATA_DIRS : "${librsvg}/share"
--prefix XDG_DATA_DIRS : "${shared-mime-info}/share"
)
diff --git a/pkgs/desktops/gnome-3/core/rygel/default.nix b/pkgs/desktops/gnome-3/core/rygel/default.nix
index 5e701e488f2..c38e677a421 100644
--- a/pkgs/desktops/gnome-3/core/rygel/default.nix
+++ b/pkgs/desktops/gnome-3/core/rygel/default.nix
@@ -28,14 +28,14 @@
stdenv.mkDerivation rec {
pname = "rygel";
- version = "0.38.0";
+ version = "0.38.1";
# TODO: split out lib
outputs = [ "out" "dev" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "03ky18hwcz362lbhqm1zm0ax2a075r69xms5cznchn9p9w8z5axc";
+ sha256 = "1w8bi2rw91qyfny1zxhy32k4qn62hdjl2m38f75cp7wv6494d7w0";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/simple-scan/default.nix b/pkgs/desktops/gnome-3/core/simple-scan/default.nix
index 047e79e14e5..de56b14d46f 100644
--- a/pkgs/desktops/gnome-3/core/simple-scan/default.nix
+++ b/pkgs/desktops/gnome-3/core/simple-scan/default.nix
@@ -1,18 +1,18 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, gettext, itstool, python3, wrapGAppsHook
-, cairo, gdk_pixbuf, colord, glib, gtk3, gusb, packagekit, libwebp
+, cairo, gdk-pixbuf, colord, glib, gtk3, gusb, packagekit, libwebp
, libxml2, sane-backends, vala, gnome3, gobject-introspection }:
stdenv.mkDerivation rec {
- name = "simple-scan-${version}";
+ pname = "simple-scan";
version = "3.32.2.1";
src = fetchurl {
- url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/simple-scan/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xqb642bsd2hddsm4bd199vyq8jcipdlxm0br3mjlc5vjcxgkxyp";
};
buildInputs = [
- cairo gdk_pixbuf colord glib gnome3.adwaita-icon-theme gusb
+ cairo gdk-pixbuf colord glib gnome3.adwaita-icon-theme gusb
gtk3 libwebp packagekit sane-backends vala
];
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/core/sushi/default.nix b/pkgs/desktops/gnome-3/core/sushi/default.nix
index 478aac8c173..86675f21f06 100644
--- a/pkgs/desktops/gnome-3/core/sushi/default.nix
+++ b/pkgs/desktops/gnome-3/core/sushi/default.nix
@@ -1,15 +1,15 @@
{ stdenv, fetchurl, pkgconfig, meson, gettext, gobject-introspection, glib
, clutter-gtk, clutter-gst, gnome3, gtksourceview, gjs
, webkitgtk, libmusicbrainz5, icu, wrapGAppsHook, gst_all_1
-, gdk_pixbuf, librsvg, gtk3, harfbuzz, ninja }:
+, gdk-pixbuf, librsvg, gtk3, harfbuzz, ninja }:
stdenv.mkDerivation rec {
- name = "sushi-${version}";
- version = "3.32.0";
+ pname = "sushi";
+ version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0f1i8qp39gq749h90f7nwgrj4q6y55jnyh62n1v8hxvlk0b2wqnx";
+ url = "mirror://gnome/sources/sushi/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "02idvqjk76lii9xyg3b1yz4rw721709bdm5j8ikjym6amcghl0aj";
};
nativeBuildInputs = [
@@ -17,13 +17,11 @@ stdenv.mkDerivation rec {
];
buildInputs = [
glib gtk3 gnome3.evince icu harfbuzz
- clutter-gtk clutter-gst gjs gtksourceview gdk_pixbuf
+ clutter-gtk clutter-gst gjs gtksourceview gdk-pixbuf
librsvg libmusicbrainz5 webkitgtk
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good
];
- enableParallelBuilding = true;
-
passthru = {
updateScript = gnome3.updateScript {
packageName = "sushi";
diff --git a/pkgs/desktops/gnome-3/core/totem/default.nix b/pkgs/desktops/gnome-3/core/totem/default.nix
index d3319c4522e..a5388f2eae1 100644
--- a/pkgs/desktops/gnome-3/core/totem/default.nix
+++ b/pkgs/desktops/gnome-3/core/totem/default.nix
@@ -3,15 +3,15 @@
, pkgconfig, gtk3, glib, gobject-introspection, totem-pl-parser
, wrapGAppsHook, itstool, libxml2, vala, gnome3, grilo, grilo-plugins
, libpeas, adwaita-icon-theme, gnome-desktop, gsettings-desktop-schemas
-, gdk_pixbuf, tracker, nautilus, xvfb_run }:
+, gdk-pixbuf, tracker, nautilus, xvfb_run }:
stdenv.mkDerivation rec {
- name = "totem-${version}";
- version = "3.32.0";
+ pname = "totem";
+ version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/totem/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "12iykwslvnpgmrm4bcchx5rzn2g4rl5r9s86n2001djn58yw6m6r";
+ url = "mirror://gnome/sources/totem/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0yra8apc7smpwf7d1k8crhrm8d4wix24ds6i9yxbch1v11jnhr3v";
};
doCheck = true;
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
gtk3 glib grilo clutter-gtk clutter-gst totem-pl-parser grilo-plugins
gst_all_1.gstreamer gst_all_1.gst-plugins-base gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad
gst_all_1.gst-plugins-ugly gst_all_1.gst-libav libpeas shared-mime-info
- gdk_pixbuf libxml2 adwaita-icon-theme gnome-desktop
+ gdk-pixbuf libxml2 adwaita-icon-theme gnome-desktop
gsettings-desktop-schemas tracker nautilus
python3Packages.pygobject3 python3Packages.dbus-python # for plug-ins
];
diff --git a/pkgs/desktops/gnome-3/core/vino/default.nix b/pkgs/desktops/gnome-3/core/vino/default.nix
index b3f06c2dcc1..e18f4de68d6 100644
--- a/pkgs/desktops/gnome-3/core/vino/default.nix
+++ b/pkgs/desktops/gnome-3/core/vino/default.nix
@@ -1,29 +1,85 @@
-{ stdenv, fetchurl, lib, wrapGAppsHook
-, pkgconfig, gnome3, gtk3, glib, intltool, libXtst, libnotify, libsoup
-, telepathySupport ? false, dbus-glib ? null, telepathy-glib ? null
-, libsecret, gnutls, libgcrypt, avahi, zlib, libjpeg, libXdamage, libXfixes, libXext
-, networkmanager }:
+{ stdenv
+, fetchFromGitLab
+, wrapGAppsHook
+, pkgconfig
+, gnome3
+, gtk3
+, glib
+, intltool
+, libXtst
+, libnotify
+, libsoup
+, libsecret
+, gnutls
+, libgcrypt
+, avahi
+, zlib
+, libjpeg
+, libXdamage
+, libXfixes
+, libXext
+, networkmanager
+, gnome-common
+, libtool
+, automake
+, autoconf
+, telepathySupport ? false
+, dbus-glib ? null
+, telepathy-glib ? null
+}:
-with lib;
+stdenv.mkDerivation {
+ pname = "vino";
+ version = "unstable-2019-07-08";
-stdenv.mkDerivation rec {
- name = "vino-${version}";
- version = "3.22.0";
-
- src = fetchurl {
- url = "mirror://gnome/sources/vino/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "2911c779b6a2c46e5bc8e5a0c94c2a4d5bd4a1ee7e35f2818702cb13d9d23bab";
+ src = fetchFromGitLab {
+ domain = "gitlab.gnome.org";
+ owner = "GNOME";
+ repo = "vino";
+ rev = "aed81a798558c8127b765cd4fb4dc726d10f1e21";
+ sha256 = "16r4cj5nsygmd9v97nq6d1yhynzak9hdnaprcdbmwfhh0c9w8jv3";
};
doCheck = true;
- nativeBuildInputs = [ intltool wrapGAppsHook pkgconfig ];
+ nativeBuildInputs = [
+ autoconf
+ automake
+ gnome-common
+ intltool
+ libtool
+ pkgconfig
+ wrapGAppsHook
+ ];
buildInputs = [
- gnome3.adwaita-icon-theme gtk3 glib libXtst libnotify libsoup
- libsecret gnutls libgcrypt avahi zlib libjpeg
- libXdamage libXfixes libXext networkmanager
- ] ++ optionals telepathySupport [ dbus-glib telepathy-glib ];
+ avahi
+ glib
+ gnome3.adwaita-icon-theme
+ gnutls
+ gtk3
+ libXdamage
+ libXext
+ libXfixes
+ libXtst
+ libgcrypt
+ libjpeg
+ libnotify
+ libsecret
+ libsoup
+ networkmanager
+ zlib
+ ]
+ ++ stdenv.lib.optionals telepathySupport [ dbus-glib telepathy-glib ]
+ ;
+
+ preConfigure = ''
+ NOCONFIGURE=1 ./autogen.sh
+ '';
+
+ postInstall = stdenv.lib.optionalString (!telepathySupport) ''
+ rm -f $out/share/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service
+ '';
passthru = {
updateScript = gnome3.updateScript {
@@ -35,7 +91,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/Vino;
description = "GNOME desktop sharing server";
- maintainers = with maintainers; [ lethalman domenkozar ];
+ maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
};
diff --git a/pkgs/desktops/gnome-3/core/yelp-tools/default.nix b/pkgs/desktops/gnome-3/core/yelp-tools/default.nix
index d6ed0c22e4b..43863bf7f85 100644
--- a/pkgs/desktops/gnome-3/core/yelp-tools/default.nix
+++ b/pkgs/desktops/gnome-3/core/yelp-tools/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, libxml2, libxslt, itstool, gnome3, pkgconfig }:
stdenv.mkDerivation rec {
- name = "yelp-tools-${version}";
- version = "3.32.1";
+ pname = "yelp-tools";
+ version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/yelp-tools/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1qrn8ss3wc601w8j0ziicgmgic0yh01az6611n3jgd7wll9c79wr";
+ url = "mirror://gnome/sources/yelp-tools/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1yg8f5g5wadhmy4yfd9yjhvd8vll4gq4l86ibp0b42qbxnsmcf0q";
};
passthru = {
diff --git a/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix b/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
index f1a39311728..fc5b0268df7 100644
--- a/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
+++ b/pkgs/desktops/gnome-3/core/yelp-xsl/default.nix
@@ -2,11 +2,11 @@
, itstool, libxml2, libxslt, gnome3 }:
stdenv.mkDerivation rec {
- name = "yelp-xsl-${version}";
+ pname = "yelp-xsl";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/yelp-xsl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "013z2ixx9kfrs6hq79qpil093xfbc12y1p0mvsh6lpala30iphya";
};
diff --git a/pkgs/desktops/gnome-3/core/yelp/default.nix b/pkgs/desktops/gnome-3/core/yelp/default.nix
index 24a49413960..7e326dd1657 100644
--- a/pkgs/desktops/gnome-3/core/yelp/default.nix
+++ b/pkgs/desktops/gnome-3/core/yelp/default.nix
@@ -4,11 +4,11 @@
, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "yelp-${version}";
+ pname = "yelp";
version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/yelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yrl96icmmrxvg7sxl519gzg9qb368cmzgrr9ddh181ignkxzx7f";
};
diff --git a/pkgs/desktops/gnome-3/core/zenity/default.nix b/pkgs/desktops/gnome-3/core/zenity/default.nix
index 89d0fd7a3b9..5023ffce6b9 100644
--- a/pkgs/desktops/gnome-3/core/zenity/default.nix
+++ b/pkgs/desktops/gnome-3/core/zenity/default.nix
@@ -2,11 +2,11 @@
, gnome-doc-utils, intltool, libX11, which, itstool, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "zenity-${version}";
+ pname = "zenity";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/zenity/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/zenity/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "15fdh8xfdhnwcynyh4byx3mrjxbyprqnwxzi7qn3g5wwaqryg1p7";
};
diff --git a/pkgs/desktops/gnome-3/default.nix b/pkgs/desktops/gnome-3/default.nix
index 8680e3ed81d..370733798af 100644
--- a/pkgs/desktops/gnome-3/default.nix
+++ b/pkgs/desktops/gnome-3/default.nix
@@ -21,36 +21,6 @@ lib.makeScope pkgs.newScope (self: with self; {
maintainers = with pkgs.lib.maintainers; [ lethalman jtojnar hedning worldofpeace ];
- corePackages = with gnome3; [
- pkgs.desktop-file-utils
- pkgs.shared-mime-info # for update-mime-database
- glib # for gsettings
- gtk3.out # for gtk-update-icon-cache
- glib-networking gvfs dconf gnome-backgrounds gnome-control-center
- gnome-menus gnome-settings-daemon gnome-shell
- gnome-themes-extra adwaita-icon-theme gnome-shell-extensions
- pkgs.hicolor-icon-theme
- ];
-
- optionalPackages = with gnome3; [ baobab eog epiphany evince
- gucharmap nautilus totem vino yelp gnome-bluetooth
- gnome-calculator gnome-contacts gnome-font-viewer gnome-screenshot
- gnome-system-monitor simple-scan
- gnome-terminal gnome-user-docs evolution file-roller gedit
- gnome-clocks gnome-music gnome-tweaks gnome-photos
- nautilus-sendto dconf-editor vinagre gnome-weather gnome-logs
- gnome-maps gnome-characters gnome-calendar accerciser gnome-nettool
- gnome-getting-started-docs gnome-packagekit gnome-software
- gnome-power-manager gnome-todo gnome-usage
- ];
-
- gamesPackages = with gnome3; [ swell-foop lightsoff iagno
- tali quadrapassel gnome-sudoku atomix aisleriot five-or-more
- four-in-a-row gnome-chess gnome-klotski gnome-mahjongg
- gnome-mines gnome-nibbles gnome-robots gnome-tetravex
- hitori gnome-taquin
- ];
-
libsoup = pkgs.libsoup.override { gnomeSupport = true; };
libchamplain = pkgs.libchamplain.override { libsoup = libsoup; };
gnome3 = self // { recurseForDerivations = false; };
@@ -83,10 +53,6 @@ lib.makeScope pkgs.newScope (self: with self; {
gjs = callPackage ./core/gjs { };
- glib-networking = pkgs.glib-networking.override {
- inherit (pkgs) gsettings-desktop-schemas;
- };
-
gnome-backgrounds = callPackage ./core/gnome-backgrounds { };
gnome-bluetooth = callPackage ./core/gnome-bluetooth { };
@@ -113,8 +79,6 @@ lib.makeScope pkgs.newScope (self: with self; {
libgnome-keyring = callPackage ./core/libgnome-keyring { };
- gnome-online-accounts = callPackage ./core/gnome-online-accounts { };
-
gnome-online-miners = callPackage ./core/gnome-online-miners { };
gnome-remote-desktop = callPackage ./core/gnome-remote-desktop { };
@@ -141,13 +105,9 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-user-share = callPackage ./core/gnome-user-share { };
- grilo = callPackage ./core/grilo { };
-
- grilo-plugins = callPackage ./core/grilo-plugins { };
-
gucharmap = callPackage ./core/gucharmap { };
- gvfs = pkgs.gvfs.override { gnome = gnome3; gnomeSupport = true; };
+ gvfs = pkgs.gvfs.override { gnomeSupport = true; };
eog = callPackage ./core/eog { };
@@ -196,10 +156,6 @@ lib.makeScope pkgs.newScope (self: with self; {
totem = callPackage ./core/totem { };
- tracker = callPackage ./core/tracker { };
-
- tracker-miners = callPackage ./core/tracker-miners { };
-
vino = callPackage ./core/vino { };
yelp = callPackage ./core/yelp { };
@@ -251,10 +207,6 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-notes = callPackage ./apps/gnome-notes { };
- gnome-photos = callPackage ./apps/gnome-photos {
- gegl = gegl_0_4;
- };
-
gnome-power-manager = callPackage ./apps/gnome-power-manager { };
gnome-sound-recorder = callPackage ./apps/gnome-sound-recorder { };
@@ -279,8 +231,6 @@ lib.makeScope pkgs.newScope (self: with self; {
gnome-devel-docs = callPackage ./devtools/gnome-devel-docs { };
- nemiver = callPackage ./devtools/nemiver { };
-
#### Games
aisleriot = callPackage ./games/aisleriot { };
@@ -345,16 +295,12 @@ lib.makeScope pkgs.newScope (self: with self; {
nautilus-python = callPackage ./misc/nautilus-python { };
- pidgin-im-gnome-shell-extension = callPackage ./misc/pidgin { };
-
- gtkhtml = callPackage ./misc/gtkhtml { };
+ gtkhtml = callPackage ./misc/gtkhtml { enchant = pkgs.enchant1; };
pomodoro = callPackage ./misc/pomodoro { };
gnome-autoar = callPackage ./misc/gnome-autoar { };
- gnome-video-effects = callPackage ./misc/gnome-video-effects { };
-
gnome-packagekit = callPackage ./misc/gnome-packagekit { };
} // lib.optionalAttrs (config.allowAliases or true) {
#### Legacy aliases
@@ -394,8 +340,20 @@ lib.makeScope pkgs.newScope (self: with self; {
easytag meld orca rhythmbox shotwell gnome-usage
clutter clutter-gst clutter-gtk cogl gtk-vnc libdazzle libgda libgit2-glib libgxps libgdata libgepub libcroco libpeas libgee geocode-glib libgweather librest libzapojit libmediaart gfbgraph gexiv2 folks totem-pl-parser gcr gsound libgnomekbd vte vte_290 vte-ng gnome-menus gdl;
inherit (pkgs) gsettings-desktop-schemas; # added 2019-04-16
+ inherit (pkgs) gnome-video-effects; # added 2019-08-19
+ inherit (pkgs) gnome-online-accounts grilo grilo-plugins tracker tracker-miners gnome-photos; # added 2019-08-23
+ inherit (pkgs) glib-networking; # added 2019-09-02
+ inherit (pkgs) nemiver; # added 2019-09-09
+
defaultIconTheme = adwaita-icon-theme;
gtk = gtk3;
gtkmm = gtkmm3;
rest = librest;
+
+ pidgin-im-gnome-shell-extension = pkgs.gnomeExtensions.pidgin-im-integration; # added 2019-08-01
+
+ # added 2019-08-25
+ corePackages = throw "deprecated 2019-08-25: please use `services.gnome3.core-shell.enable`";
+ optionalPackages = throw "deprecated 2019-08-25: please use `services.gnome3.core-utilities.enable`";
+ gamesPackages = throw "deprecated 2019-08-25: please use `services.gnome3.games.enable`";
})
diff --git a/pkgs/desktops/gnome-3/devtools/anjuta/default.nix b/pkgs/desktops/gnome-3/devtools/anjuta/default.nix
index d1e5179063f..573259b7e7d 100644
--- a/pkgs/desktops/gnome-3/devtools/anjuta/default.nix
+++ b/pkgs/desktops/gnome-3/devtools/anjuta/default.nix
@@ -3,11 +3,11 @@
itstool, python3, ncurses, makeWrapper }:
stdenv.mkDerivation rec {
- name = "anjuta-${version}";
+ pname = "anjuta";
version = "3.28.0";
src = fetchurl {
- url = "mirror://gnome/sources/anjuta/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/anjuta/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0ya7ajai9rx9g597sr5wawr6l5pb2s34bbjdsbnx0lkrhnjv11xh";
};
diff --git a/pkgs/desktops/gnome-3/devtools/devhelp/default.nix b/pkgs/desktops/gnome-3/devtools/devhelp/default.nix
index 80a3770b703..23a58011e02 100644
--- a/pkgs/desktops/gnome-3/devtools/devhelp/default.nix
+++ b/pkgs/desktops/gnome-3/devtools/devhelp/default.nix
@@ -3,11 +3,11 @@
, webkitgtk, gettext, itstool, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "devhelp-${version}";
+ pname = "devhelp";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/devhelp/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/devhelp/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "06sa83zggk29wcg75fl3gqh0rmi7cd3gsbk09a2z23r7vpy7xanq";
};
diff --git a/pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix b/pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix
index 647e7163d0b..81f63941729 100644
--- a/pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix
+++ b/pkgs/desktops/gnome-3/devtools/gnome-devel-docs/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, gnome3, intltool, itstool, libxml2 }:
stdenv.mkDerivation rec {
- name = "gnome-devel-docs-${version}";
+ pname = "gnome-devel-docs";
version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-devel-docs/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-devel-docs/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0xqpgf975rws60qxilq635pblbpgwspyykgzxnb4awd9zrs5lbx0";
};
diff --git a/pkgs/desktops/gnome-3/devtools/nemiver/bool_slot.patch b/pkgs/desktops/gnome-3/devtools/nemiver/bool_slot.patch
deleted file mode 100644
index 83423122110..00000000000
--- a/pkgs/desktops/gnome-3/devtools/nemiver/bool_slot.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/src/dbgengine/nmv-dbg-common.h 2014-07-09 10:36:05.000000000 +0200
-+++ b/src/dbgengine/nmv-dbg-common.h 2016-08-04 22:40:28.447842746 +0200
-@@ -171,7 +171,9 @@
-
- bool has_slot () const
- {
-- return m_slot;
-+ //return m_slot;
-+ // https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822502
-+ return static_cast (m_slot);
- }
-
- template
diff --git a/pkgs/desktops/gnome-3/devtools/nemiver/default.nix b/pkgs/desktops/gnome-3/devtools/nemiver/default.nix
deleted file mode 100644
index 9fbce7c6cc0..00000000000
--- a/pkgs/desktops/gnome-3/devtools/nemiver/default.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, gnome3, gtk3, libxml2, intltool, itstool, gdb,
- boost, sqlite, libgtop, glibmm, gtkmm3, vte, gtksourceview, gsettings-desktop-schemas,
- gtksourceviewmm, wrapGAppsHook }:
-
-stdenv.mkDerivation rec {
- name = "nemiver-${version}";
- version = "0.9.6";
-
- src = fetchurl {
- url = "mirror://gnome/sources/nemiver/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "85ab8cf6c4f83262f441cb0952a6147d075c3c53d0687389a3555e946b694ef2";
- };
-
- nativeBuildInputs = [ libxml2 intltool itstool pkgconfig wrapGAppsHook ];
-
- buildInputs = [
- gtk3 gdb boost sqlite libgtop
- glibmm gtkmm3 vte gtksourceview gtksourceviewmm
- gsettings-desktop-schemas
- ];
-
- patches = [
- ./bool_slot.patch
- ./safe_ptr.patch
- (fetchpatch {
- url = https://gitlab.gnome.org/GNOME/nemiver/commit/262cf9657f9c2727a816972b348692adcc666008.patch;
- sha256 = "03jv6z54b8nzvplplapk4aj206zl1gvnv6iz0mad19g6yvfbw7a7";
- })
- ];
-
- configureFlags = [
- "--enable-gsettings"
- ];
-
- passthru = {
- updateScript = gnome3.updateScript {
- packageName = "nemiver";
- attrPath = "gnome3.nemiver";
- versionPolicy = "none";
- };
- };
-
- meta = with stdenv.lib; {
- homepage = https://wiki.gnome.org/Apps/Nemiver;
- description = "Easy to use standalone C/C++ debugger";
- license = licenses.gpl2;
- platforms = platforms.linux;
- maintainers = [ maintainers.juliendehos ];
- };
-}
diff --git a/pkgs/desktops/gnome-3/devtools/nemiver/safe_ptr.patch b/pkgs/desktops/gnome-3/devtools/nemiver/safe_ptr.patch
deleted file mode 100644
index e3413b22497..00000000000
--- a/pkgs/desktops/gnome-3/devtools/nemiver/safe_ptr.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/confmgr/nmv-gconf-mgr.cc 2014-07-08 10:24:06.000000000 +0200
-+++ b/src/confmgr/nmv-gconf-mgr.cc 2016-08-04 23:50:08.143060464 +0200
-@@ -32,6 +32,7 @@
- NEMIVER_BEGIN_NAMESPACE (nemiver)
-
- using nemiver::common::GCharSafePtr;
-+using nemiver::common::GErrorSafePtr;
-
- class GConfMgr : public IConfMgr {
- GConfMgr (const GConfMgr &);
diff --git a/pkgs/desktops/gnome-3/extensions/appindicator/default.nix b/pkgs/desktops/gnome-3/extensions/appindicator/default.nix
index d8180096d2f..6f289fd74d9 100644
--- a/pkgs/desktops/gnome-3/extensions/appindicator/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/appindicator/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, gnome3 }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-appindicator-${version}";
- version = "28";
+ pname = "gnome-shell-extension-appindicator";
+ version = "29";
src = fetchFromGitHub {
owner = "Ubuntu";
repo = "gnome-shell-extension-appindicator";
rev = "v${version}";
- sha256 = "03sgb2xkb4lzp8pbb7g56q29y1r764qzpc0j4d4m1gi0sb39sxrl";
+ sha256 = "02cr6rhi3dfk49jcjm6vh7yx117bv5wqyvd34cyv1kzwzsla8v2i";
};
# This package has a Makefile, but it's used for building a zip for
diff --git a/pkgs/desktops/gnome-3/extensions/arc-menu/default.nix b/pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
new file mode 100644
index 00000000000..b38f0aeba91
--- /dev/null
+++ b/pkgs/desktops/gnome-3/extensions/arc-menu/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitLab, glib, gettext, substituteAll, gnome-menus }:
+
+stdenv.mkDerivation rec {
+ pname = "gnome-shell-arc-menu";
+ version = "31";
+
+ src = fetchFromGitLab {
+ owner = "LinxGem33";
+ repo = "Arc-Menu";
+ rev = "v${version}-stable";
+ sha256 = "124jgdy6mw76nrkq3f0y7qkhdm39wg273zifdvwbgpvirwzxbia1";
+ };
+
+ patches = [
+ (substituteAll {
+ src = ./fix_gmenu.patch;
+ gmenu_path = "${gnome-menus}/lib/girepository-1.0";
+ })
+ ];
+
+ buildInputs = [
+ glib gettext
+ ];
+
+ makeFlags = [ "INSTALL_BASE=$(out)/share/gnome-shell/extensions" ];
+
+ meta = with stdenv.lib; {
+ description = "Gnome shell extension designed to replace the standard menu found in Gnome 3";
+ license = licenses.gpl2Plus;
+ maintainers = with maintainers; [ dkabot ];
+ homepage = https://gitlab.com/LinxGem33/Arc-Menu;
+ };
+}
diff --git a/pkgs/desktops/gnome-3/extensions/arc-menu/fix_gmenu.patch b/pkgs/desktops/gnome-3/extensions/arc-menu/fix_gmenu.patch
new file mode 100644
index 00000000000..7f6b8489ea8
--- /dev/null
+++ b/pkgs/desktops/gnome-3/extensions/arc-menu/fix_gmenu.patch
@@ -0,0 +1,12 @@
+--- a/extension.js
++++ b/extension.js
+@@ -29,6 +29,8 @@
+ * https://github.com/The-Panacea-Projects/Gnomenu
+ */
+
++
++imports.gi.GIRepository.Repository.prepend_search_path('@gmenu_path@');
+
+ // Import Libraries
+ const Main = imports.ui.main;
+
diff --git a/pkgs/desktops/gnome-3/extensions/battery-status/default.nix b/pkgs/desktops/gnome-3/extensions/battery-status/default.nix
index afedd5f98e1..b7bde83915c 100644
--- a/pkgs/desktops/gnome-3/extensions/battery-status/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/battery-status/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-battery-status-${version}";
+ pname = "gnome-shell-extension-battery-status";
version = "6";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/caffeine/default.nix b/pkgs/desktops/gnome-3/extensions/caffeine/default.nix
index e627bec8b93..95a68505c7c 100644
--- a/pkgs/desktops/gnome-3/extensions/caffeine/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/caffeine/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib, gettext, bash }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-caffeine-${version}";
+ pname = "gnome-shell-extension-caffeine";
version = "unstable-2019-04-02";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix b/pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix
index 755c8e1b02f..f04999a449c 100644
--- a/pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/chrome-gnome-shell/default.nix
@@ -5,10 +5,11 @@ let
inherit (python3.pkgs) python pygobject3 requests;
in stdenv.mkDerivation rec {
- name = "chrome-gnome-shell-${version}";
+ pname = "chrome-gnome-shell";
+ inherit version;
src = fetchurl {
- url = "mirror://gnome/sources/chrome-gnome-shell/${version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/chrome-gnome-shell/${version}/${pname}-${version}.tar.xz";
sha256 = "0f54xyamm383ypbh0ndkza0pif6ljddg2f947p265fkqj3p4zban";
};
@@ -34,7 +35,7 @@ in stdenv.mkDerivation rec {
description = "GNOME Shell integration for Chrome";
homepage = https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome;
longDescription = ''
- To use the integration, install the browser extension, and then set to true. For Firefox based browsers, you will also need to build the wrappers with set to true.
+ To use the integration, install the browser extension, and then set to true.
'';
license = licenses.gpl3;
maintainers = gnome3.maintainers;
diff --git a/pkgs/desktops/gnome-3/extensions/clipboard-indicator/default.nix b/pkgs/desktops/gnome-3/extensions/clipboard-indicator/default.nix
index e41227e8513..0faadbcd2b6 100644
--- a/pkgs/desktops/gnome-3/extensions/clipboard-indicator/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/clipboard-indicator/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-clipboard-indicator-${version}";
+ pname = "gnome-shell-extension-clipboard-indicator";
version = "30";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix b/pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
index 06e7d27c544..e80149e5005 100644
--- a/pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/dash-to-dock/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib, gettext }:
stdenv.mkDerivation rec {
- name = "gnome-shell-dash-to-dock-${version}";
+ pname = "gnome-shell-dash-to-dock";
version = "66";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix b/pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix
index 0d48b8359c9..f7f189e23bd 100644
--- a/pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/dash-to-panel/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, glib, gettext }:
stdenv.mkDerivation rec {
- name = "gnome-shell-dash-to-panel-${version}";
- version = "19";
+ pname = "gnome-shell-dash-to-panel";
+ version = "23";
src = fetchFromGitHub {
owner = "home-sweet-gnome";
repo = "dash-to-panel";
rev = "v${version}";
- sha256 = "0r26ph6zq87kvglydv00rf24mshz7l4r38zf9niyp3mxyzz6rwys";
+ sha256 = "12smkz3clcvgicr0pdc0fk6igf82nw4hzih1ywv9q43xkqh9w1i6";
};
buildInputs = [
diff --git a/pkgs/desktops/gnome-3/extensions/gsconnect/default.nix b/pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
index dd2a02b6be8..cff0db665bb 100644
--- a/pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/gsconnect/default.nix
@@ -3,7 +3,7 @@
, glib, gtk3, at-spi2-core, upower, openssh, gnome3 }:
stdenv.mkDerivation rec {
- name = "gnome-shell-gsconnect-${version}";
+ pname = "gnome-shell-gsconnect";
version = "23";
src = fetchFromGitHub {
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
(substituteAll {
src = ./fix-paths.patch;
gapplication = "${glib.bin}/bin/gapplication";
- mutter_gsettings_path = "${gnome3.mutter}/share/gsettings-schemas/${gnome3.mutter.name}/glib-2.0/schemas";
+ mutter_gsettings_path = glib.getSchemaPath gnome3.mutter;
})
];
@@ -46,7 +46,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dgnome_shell_libdir=${gnome3.gnome-shell}/lib"
- "-Dgsettings_schemadir=${placeholder "out"}/share/gsettings-schemas/${name}/glib-2.0/schemas"
+ "-Dgsettings_schemadir=${glib.makeSchemaPath (placeholder "out") "${pname}-${version}"}"
"-Dchrome_nmhdir=${placeholder "out"}/etc/opt/chrome/native-messaging-hosts"
"-Dchromium_nmhdir=${placeholder "out"}/etc/chromium/native-messaging-hosts"
"-Dopenssl_path=${openssl}/bin/openssl"
diff --git a/pkgs/desktops/gnome-3/extensions/icon-hider/default.nix b/pkgs/desktops/gnome-3/extensions/icon-hider/default.nix
index d08e6f3a57d..8214300a531 100644
--- a/pkgs/desktops/gnome-3/extensions/icon-hider/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/icon-hider/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, gnome3 }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-icon-hider-${version}";
+ pname = "gnome-shell-extension-icon-hider";
version = "23";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/impatience.nix b/pkgs/desktops/gnome-3/extensions/impatience.nix
index 24b4c1cf703..b36f3489b57 100644
--- a/pkgs/desktops/gnome-3/extensions/impatience.nix
+++ b/pkgs/desktops/gnome-3/extensions/impatience.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib }:
stdenv.mkDerivation rec {
- name = "gnome-shell-impatience-${version}";
+ pname = "gnome-shell-impatience";
version = "0.4.5";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/mediaplayer/default.nix b/pkgs/desktops/gnome-3/extensions/mediaplayer/default.nix
index 686d7be91a4..10175719e46 100644
--- a/pkgs/desktops/gnome-3/extensions/mediaplayer/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/mediaplayer/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib, meson, gettext, ninja, python3 }:
-stdenv.mkDerivation rec {
- name = "gnome-shell-extensions-mediaplayer-${version}";
+stdenv.mkDerivation {
+ pname = "gnome-shell-extensions-mediaplayer";
version = "unstable-2019-03-21";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix b/pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix
index 8c075a11bdc..f9f72bd77f0 100644
--- a/pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/no-title-bar/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, substituteAll, glib, gettext, xorg }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-no-title-bar-${version}";
+ pname = "gnome-shell-extension-no-title-bar";
version = "9";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/nohotcorner/default.nix b/pkgs/desktops/gnome-3/extensions/nohotcorner/default.nix
index 21ff70140be..e2b5288e886 100644
--- a/pkgs/desktops/gnome-3/extensions/nohotcorner/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/nohotcorner/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-nohotcorner-${version}";
+ pname = "gnome-shell-extension-nohotcorner";
version = "19.0";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix b/pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix
new file mode 100644
index 00000000000..6f1cc3df409
--- /dev/null
+++ b/pkgs/desktops/gnome-3/extensions/pidgin-im-integration/default.nix
@@ -0,0 +1,31 @@
+{ stdenv, fetchFromGitHub, glib }:
+
+stdenv.mkDerivation rec {
+ pname = "gnome-shell-extension-pidgin-im-integration";
+ version = "32";
+
+ src = fetchFromGitHub {
+ owner = "muffinmad";
+ repo = "pidgin-im-gnome-shell-extension";
+ rev = "v${version}";
+ sha256 = "1jyg8r0s1v83sgg6y0jbsj2v37mglh8rvd8vi27fxnjq9xmg8kpc";
+ };
+
+ dontConfigure = true;
+ dontBuild = true;
+
+ installPhase = ''
+ share_dir="$prefix/share"
+ extensions_dir="$share_dir/gnome-shell/extensions/pidgin@muffinmad"
+ mkdir -p "$extensions_dir"
+ mv *.js metadata.json dbus.xml schemas locale "$extensions_dir"
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/muffinmad/pidgin-im-gnome-shell-extension;
+ description = "Make Pidgin IM conversations appear in the Gnome Shell message tray";
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ ];
+ };
+}
diff --git a/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix b/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
index 5faa55652d8..d9ea670db09 100644
--- a/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/remove-dropdown-arrows/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-remove-dropdown-arrows-${version}";
+ pname = "gnome-shell-extension-remove-dropdown-arrows";
version = "11";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/system-monitor/default.nix b/pkgs/desktops/gnome-3/extensions/system-monitor/default.nix
index 7046e673726..13b2d6a1db4 100644
--- a/pkgs/desktops/gnome-3/extensions/system-monitor/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/system-monitor/default.nix
@@ -1,14 +1,14 @@
{ stdenv, substituteAll, fetchFromGitHub, glib, glib-networking, libgtop }:
stdenv.mkDerivation rec {
- name = "gnome-shell-system-monitor-${version}";
- version = "36";
+ pname = "gnome-shell-system-monitor";
+ version = "38";
src = fetchFromGitHub {
owner = "paradoxxxzero";
repo = "gnome-shell-system-monitor-applet";
rev = "v${version}";
- sha256 = "0x3r189h5264kjxsm18d34gzb5ih8l4pz7i9qks9slcnzaiw4y0z";
+ sha256 = "1sdj2kxb418mgq44a6lf6jic33wlfbnn3ja61igmx0jj1530iknv";
};
buildInputs = [
@@ -39,7 +39,6 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Display system informations in gnome shell status bar";
license = licenses.gpl3Plus;
- broken = true; # GNOME 3.32 support WIP: https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet/pull/510
maintainers = with maintainers; [ aneeshusa tiramiseb ];
homepage = https://github.com/paradoxxxzero/gnome-shell-system-monitor-applet;
};
diff --git a/pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nix b/pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nix
index c72d72cce12..90be6aed1d7 100644
--- a/pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/taskwhisperer/default.nix
@@ -1,7 +1,7 @@
{ stdenv, substituteAll, fetchFromGitHub, taskwarrior, gettext, runtimeShell }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-taskwhisperer-${version}";
+ pname = "gnome-shell-extension-taskwhisperer";
version = "12";
src = fetchFromGitHub {
@@ -22,14 +22,14 @@ stdenv.mkDerivation rec {
uuid = "taskwhisperer-extension@infinicode.de";
makeFlags = [
- "INSTALLBASE=${placeholder ''out''}/share/gnome-shell/extensions"
+ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions"
];
patches = [
(substituteAll {
src = ./fix-paths.patch;
task = "${taskwarrior}/bin/task";
- shell = "${runtimeShell}";
+ shell = runtimeShell;
})
];
diff --git a/pkgs/desktops/gnome-3/extensions/timepp/default.nix b/pkgs/desktops/gnome-3/extensions/timepp/default.nix
index 604b7433ccb..f841ef2403d 100644
--- a/pkgs/desktops/gnome-3/extensions/timepp/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/timepp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-timepp-${version}";
+ pname = "gnome-shell-extension-timepp";
version = "unstable-2019-03-30";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix b/pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
index 9a151a6ac8f..f0f6279fe2e 100644
--- a/pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
+++ b/pkgs/desktops/gnome-3/extensions/topicons-plus/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib, gettext }:
stdenv.mkDerivation rec {
- name = "gnome-shell-extension-topicons-plus-${version}";
+ pname = "gnome-shell-extension-topicons-plus";
version = "22";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/volume-mixer.nix b/pkgs/desktops/gnome-3/extensions/volume-mixer.nix
index 19ced0b5252..072d31b84fe 100644
--- a/pkgs/desktops/gnome-3/extensions/volume-mixer.nix
+++ b/pkgs/desktops/gnome-3/extensions/volume-mixer.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib }:
stdenv.mkDerivation rec {
- name = "gnome-shell-volume-mixer-${version}";
+ pname = "gnome-shell-volume-mixer";
version = "844ed80ad448855d8f6218847183a80474b523c7";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/extensions/workspace-grid.nix b/pkgs/desktops/gnome-3/extensions/workspace-grid.nix
index 10aee5cafe6..811e9911f62 100644
--- a/pkgs/desktops/gnome-3/extensions/workspace-grid.nix
+++ b/pkgs/desktops/gnome-3/extensions/workspace-grid.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, glib }:
stdenv.mkDerivation rec {
- name = "gnome-shell-workspace-grid-${version}";
+ pname = "gnome-shell-workspace-grid";
version = "0f3a430e7d04bb5465a17c1225aab0f574426d6b";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/gnome-3/games/atomix/default.nix b/pkgs/desktops/gnome-3/games/atomix/default.nix
index 00b3a04a168..c9395166c52 100644
--- a/pkgs/desktops/gnome-3/games/atomix/default.nix
+++ b/pkgs/desktops/gnome-3/games/atomix/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, meson, ninja, pkgconfig, wrapGAppsHook, python3
-, gettext, gnome3, glib, gtk3, libgnome-games-support, gdk_pixbuf }:
+, gettext, gnome3, glib, gtk3, libgnome-games-support, gdk-pixbuf }:
let
pname = "atomix";
@@ -13,7 +13,7 @@ in stdenv.mkDerivation rec {
};
nativeBuildInputs = [ meson ninja pkgconfig gettext wrapGAppsHook python3 ];
- buildInputs = [ glib gtk3 gdk_pixbuf libgnome-games-support gnome3.adwaita-icon-theme ];
+ buildInputs = [ glib gtk3 gdk-pixbuf libgnome-games-support gnome3.adwaita-icon-theme ];
postPatch = ''
chmod +x meson_post_install.py
diff --git a/pkgs/desktops/gnome-3/games/five-or-more/default.nix b/pkgs/desktops/gnome-3/games/five-or-more/default.nix
index 21f089b324e..b4c6eaaec1b 100644
--- a/pkgs/desktops/gnome-3/games/five-or-more/default.nix
+++ b/pkgs/desktops/gnome-3/games/five-or-more/default.nix
@@ -2,11 +2,11 @@
, librsvg, libgnome-games-support, gettext, itstool, libxml2, python3, vala }:
stdenv.mkDerivation rec {
- name = "five-or-more-${version}";
+ pname = "five-or-more";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/five-or-more/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/five-or-more/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0v52i22ygv6y4zqs8nyb1qmacmj9whhqrw7qss6vn7by4nsikhrn";
};
diff --git a/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix b/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix
index 94428d6640d..5b233c48385 100644
--- a/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix
+++ b/pkgs/desktops/gnome-3/games/four-in-a-row/default.nix
@@ -3,11 +3,11 @@
, python3, ninja, desktop-file-utils }:
stdenv.mkDerivation rec {
- name = "four-in-a-row-${version}";
+ pname = "four-in-a-row";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/four-in-a-row/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0h4wmbkdp7x3gp9sbxmvla316m8n6iy4f5sq0ksldj0z7ghlx9zl";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-chess/default.nix b/pkgs/desktops/gnome-3/games/gnome-chess/default.nix
index c6c24be4be8..d7001e1c527 100644
--- a/pkgs/desktops/gnome-3/games/gnome-chess/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-chess/default.nix
@@ -2,11 +2,11 @@
, gettext, itstool, libxml2, python3, gnome3, glib, gtk3, librsvg }:
stdenv.mkDerivation rec {
- name = "gnome-chess-${version}";
+ pname = "gnome-chess";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-chess/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-chess/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0hzb6s4wmfy1fysagc5hmn1ijvrwyd2cg7iz41mpn7gfdjyak639";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-klotski/default.nix b/pkgs/desktops/gnome-3/games/gnome-klotski/default.nix
index c913a9e8729..904edd7e51a 100644
--- a/pkgs/desktops/gnome-3/games/gnome-klotski/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-klotski/default.nix
@@ -28,7 +28,7 @@ in stdenv.mkDerivation rec {
passthru = {
updateScript = gnome3.updateScript {
- packageName = "${pname}";
+ packageName = pname;
attrPath = "gnome3.${pname}";
};
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix b/pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix
index ee55b5a65a5..9d173945cdd 100644
--- a/pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-mahjongg/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "gnome-mahjongg-${version}";
+ pname = "gnome-mahjongg";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-mahjongg/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "12kamxnxbh26k4iykhbs873mx25a2wrjnhr013lfkwbyl52kg12j";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-mines/default.nix b/pkgs/desktops/gnome-3/games/gnome-mines/default.nix
index b2c8e99e823..1ac7e51357e 100644
--- a/pkgs/desktops/gnome-3/games/gnome-mines/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-mines/default.nix
@@ -2,11 +2,11 @@
, librsvg, gettext, itstool, python3, libxml2, libgnome-games-support, libgee, desktop-file-utils }:
stdenv.mkDerivation rec {
- name = "gnome-mines-${version}";
+ pname = "gnome-mines";
version = "3.32.2";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-mines/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-mines/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1nv966wkp2rqxzcdb76bwlbzpjqadcaqzrnkxpzwnvjjr167yx8g";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix b/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
index cbac95c8f41..7b069922169 100644
--- a/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-nibbles/default.nix
@@ -3,12 +3,12 @@
, libxml2, libgee, libgnome-games-support }:
stdenv.mkDerivation rec {
- name = "gnome-nibbles-${version}";
- version = "3.31.3";
+ pname = "gnome-nibbles";
+ version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0wg0l3aghkxcwp74liw115qjzy6w18hn80mhsz4lrjpnbpaivi18";
+ url = "mirror://gnome/sources/gnome-nibbles/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0g627pzbfywiy2rsh4aidgbln9s4j5m8pryw4cgr5ygc4z8l6l9p";
};
nativeBuildInputs = [ pkgconfig wrapGAppsHook intltool itstool libxml2 ];
diff --git a/pkgs/desktops/gnome-3/games/gnome-robots/default.nix b/pkgs/desktops/gnome-3/games/gnome-robots/default.nix
index 2b40548d37c..46723867f8a 100644
--- a/pkgs/desktops/gnome-3/games/gnome-robots/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-robots/default.nix
@@ -3,11 +3,11 @@
, libgee, meson, ninja, python3, desktop-file-utils , hicolor-icon-theme, adwaita-icon-theme }:
stdenv.mkDerivation rec {
- name = "gnome-robots-${version}";
+ pname = "gnome-robots";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-robots/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-robots/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1xp1sijl5k7wmnbb0hdgh4ajxgp74k7fcnmd5c6rw6lf51wpinyh";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix b/pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix
index 5c3fafd3d02..a555ee31cf3 100644
--- a/pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-sudoku/default.nix
@@ -2,11 +2,11 @@
, libgee, json-glib, qqwing, itstool, libxml2, python3, desktop-file-utils }:
stdenv.mkDerivation rec {
- name = "gnome-sudoku-${version}";
+ pname = "gnome-sudoku";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-sudoku/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-sudoku/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1wwdjflw1lbx3cv6gvqcgp5jnjkrq37ld6mjbjj03g3vr90qaf0l";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix b/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
index 06914d9817c..b6c60362265 100644
--- a/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-taquin/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "gnome-taquin-${version}";
+ pname = "gnome-taquin";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-taquin/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1kyxh68gg7clxg22ls4sliisxb2sydwccbxqgfvxjg2fklr6r1lm";
};
diff --git a/pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix b/pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix
index ab0f0f0faf2..29141530211 100644
--- a/pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix
+++ b/pkgs/desktops/gnome-3/games/gnome-tetravex/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "gnome-tetravex-${version}";
+ pname = "gnome-tetravex";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-tetravex/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-tetravex/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "18drxp43j2jnywxl6qa7mn1iv33jxr0dpc1l9xza3lnrb0jp0kjl";
};
diff --git a/pkgs/desktops/gnome-3/games/hitori/default.nix b/pkgs/desktops/gnome-3/games/hitori/default.nix
index 72cce760b03..8e53a937a5e 100644
--- a/pkgs/desktops/gnome-3/games/hitori/default.nix
+++ b/pkgs/desktops/gnome-3/games/hitori/default.nix
@@ -18,11 +18,11 @@
stdenv.mkDerivation rec {
pname = "hitori";
- version = "3.31.92";
+ version = "3.32.0";
src = fetchurl {
url = "mirror://gnome/sources/hitori/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "0m2w3zz6v1bsd1fn78ab79d72ywd9vq60rziazsblxsi4qy9dva5";
+ sha256 = "15s20db2fq4cy031sw20pmf53hxiak44fgyjy5njqnp2h2sg3806";
};
nativeBuildInputs = [
@@ -58,7 +58,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Apps/Hitori;
- description = "GTK+ application to generate and let you play games of Hitori";
+ description = "GTK application to generate and let you play games of Hitori";
maintainers = gnome3.maintainers;
license = licenses.gpl2;
platforms = platforms.linux;
diff --git a/pkgs/desktops/gnome-3/games/iagno/default.nix b/pkgs/desktops/gnome-3/games/iagno/default.nix
index 8ef4b2f3075..114551ed4ee 100644
--- a/pkgs/desktops/gnome-3/games/iagno/default.nix
+++ b/pkgs/desktops/gnome-3/games/iagno/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
-, intltool, itstool, libcanberra-gtk3, libxml2
+{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf, librsvg, wrapGAppsHook
+, itstool, libcanberra-gtk3, libxml2
, meson, ninja, python3, vala, desktop-file-utils
}:
stdenv.mkDerivation rec {
- name = "iagno-${version}";
+ pname = "iagno";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/iagno/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1rcqb4gpam16xw87n4q2akkrg94ksrn16ry21pr6bsd7qs7hw17d";
};
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
meson ninja python3 vala desktop-file-utils
pkgconfig wrapGAppsHook itstool libxml2
];
- buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk_pixbuf librsvg libcanberra-gtk3 ];
+ buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk-pixbuf librsvg libcanberra-gtk3 ];
enableParallelBuilding = true;
diff --git a/pkgs/desktops/gnome-3/games/lightsoff/default.nix b/pkgs/desktops/gnome-3/games/lightsoff/default.nix
index 18c6f43b3b3..9c582f037a2 100644
--- a/pkgs/desktops/gnome-3/games/lightsoff/default.nix
+++ b/pkgs/desktops/gnome-3/games/lightsoff/default.nix
@@ -1,13 +1,13 @@
-{ stdenv, fetchurl, vala, pkgconfig, gtk3, gnome3, gdk_pixbuf, librsvg, wrapGAppsHook
+{ stdenv, fetchurl, vala, pkgconfig, gtk3, gnome3, gdk-pixbuf, librsvg, wrapGAppsHook
, gettext, itstool, clutter, clutter-gtk, libxml2, appstream-glib
, meson, ninja, python3 }:
stdenv.mkDerivation rec {
- name = "lightsoff-${version}";
+ pname = "lightsoff";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/lightsoff/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/lightsoff/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0vc3ibjs9ynnm0gxlhhin7jpnsx22vnn4ygaybxwmv9w2q49cs9f";
};
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
vala pkgconfig wrapGAppsHook itstool gettext appstream-glib libxml2
meson ninja python3
];
- buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk_pixbuf librsvg clutter clutter-gtk ];
+ buildInputs = [ gtk3 gnome3.adwaita-icon-theme gdk-pixbuf librsvg clutter clutter-gtk ];
postPatch = ''
chmod +x build-aux/meson_post_install.py
diff --git a/pkgs/desktops/gnome-3/games/quadrapassel/default.nix b/pkgs/desktops/gnome-3/games/quadrapassel/default.nix
index 712f984cbf9..78ed0d9fa68 100644
--- a/pkgs/desktops/gnome-3/games/quadrapassel/default.nix
+++ b/pkgs/desktops/gnome-3/games/quadrapassel/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf
+{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
, librsvg, libcanberra-gtk3, libmanette
, gettext, itstool, libxml2, clutter, clutter-gtk, wrapGAppsHook
, meson, ninja, python3, vala, desktop-file-utils
@@ -21,7 +21,7 @@ in stdenv.mkDerivation rec {
libxml2 itstool gettext wrapGAppsHook
];
buildInputs = [
- gtk3 gdk_pixbuf librsvg libmanette
+ gtk3 gdk-pixbuf librsvg libmanette
libcanberra-gtk3 clutter libxml2 clutter-gtk
];
diff --git a/pkgs/desktops/gnome-3/games/tali/default.nix b/pkgs/desktops/gnome-3/games/tali/default.nix
index 5ec29554b36..f196ada3850 100644
--- a/pkgs/desktops/gnome-3/games/tali/default.nix
+++ b/pkgs/desktops/gnome-3/games/tali/default.nix
@@ -1,15 +1,15 @@
-{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk_pixbuf
+{ stdenv, fetchurl, pkgconfig, gtk3, gnome3, gdk-pixbuf
, librsvg, gettext, itstool, libxml2, wrapGAppsHook
, meson, ninja, python3, desktop-file-utils
}:
stdenv.mkDerivation rec {
- name = "tali-${version}";
- version = "3.32.0";
+ pname = "tali";
+ version = "3.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "0s5clkn0qm298mvphx1xdymg67w1p8vvgvypvs97k6lfjqijkx3v";
+ url = "mirror://gnome/sources/tali/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0na7sswfh63wj44aibcnqdsbb24yfngcwgi07lv8rky6rry0kqgz";
};
passthru = {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
pkgconfig gnome3.adwaita-icon-theme
libxml2 itstool gettext wrapGAppsHook
];
- buildInputs = [ gtk3 gdk_pixbuf librsvg ];
+ buildInputs = [ gtk3 gdk-pixbuf librsvg ];
postPatch = ''
chmod +x build-aux/meson_post_install.py
diff --git a/pkgs/desktops/gnome-3/misc/geary/default.nix b/pkgs/desktops/gnome-3/misc/geary/default.nix
index c43daf2ebb2..8babe77e412 100644
--- a/pkgs/desktops/gnome-3/misc/geary/default.nix
+++ b/pkgs/desktops/gnome-3/misc/geary/default.nix
@@ -2,15 +2,15 @@
, desktop-file-utils, gnome-online-accounts, gsettings-desktop-schemas, adwaita-icon-theme
, libnotify, libcanberra-gtk3, libsecret, gmime, isocodes, libxml2, gettext
, sqlite, gcr, json-glib, itstool, libgee, gnome3, webkitgtk, python3
-, xvfb_run, dbus, shared-mime-info, libunwind, folks, glib-networking }:
+, xvfb_run, dbus, shared-mime-info, libunwind, libunity, folks, glib-networking }:
stdenv.mkDerivation rec {
pname = "geary";
- version = "3.32.1";
+ version = "3.32.2";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "07y5ii5bn7fgdpr88307fwxiafm5fwdxmzwhi6h1y4z880nnzp7f";
+ sha256 = "0sg53zq81v28hdqiy5d048skwfgsa8ck0z7ywsagdh7iaqin68gq";
};
nativeBuildInputs = [
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
adwaita-icon-theme enchant2 gcr gmime gnome-online-accounts
gsettings-desktop-schemas gtk3 isocodes json-glib libcanberra-gtk3
libgee libnotify libsecret sqlite webkitgtk glib-networking
- libunwind folks
+ libunwind libunity folks
];
checkInputs = [ xvfb_run dbus ];
diff --git a/pkgs/desktops/gnome-3/misc/gitg/default.nix b/pkgs/desktops/gnome-3/misc/gitg/default.nix
index cb4c5c05cb0..94418849b98 100644
--- a/pkgs/desktops/gnome-3/misc/gitg/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gitg/default.nix
@@ -1,8 +1,8 @@
{ stdenv
, fetchurl
, fetchpatch
-, vala_0_42
-, intltool
+, vala
+, gettext
, pkgconfig
, gtk3
, glib
@@ -24,34 +24,27 @@
, meson
, ninja
, python3
+, hicolor-icon-theme
+, libdazzle
}:
stdenv.mkDerivation rec {
pname = "gitg";
- version = "3.30.1";
+ version = "3.32.1";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "1fz8q1aiql6k740savdjh0vzbyhcflgf94cfdhvzcrrvm929n2ss";
+ sha256 = "0npg4kqpwl992fgjd2cn3fh84aiwpdp9kd8z7rw2xaj2iazsm914";
};
- patches = [
- # Fix build with latest libgit2-glib
- (fetchpatch {
- url = https://gitlab.gnome.org/GNOME/gitg/commit/42bceea265f53fe7fd4a41037b936deed975fc6c.patch;
- sha256 = "1xq245rsi1bi66lswk33pdiazfaagxf77836ds5q73900rx4r7fw";
- })
- ];
-
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
- sed -i '/gtk-update-icon-cache/s/^/#/' meson_post_install.py
substituteInPlace tests/libgitg/test-commit.vala --replace "/bin/bash" "${bash}/bin/bash"
'';
- doCheck = false; # FAIL: tests-gitg gtk_style_context_add_provider_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
+ doCheck = true;
enableParallelBuilding = true;
@@ -63,6 +56,7 @@ stdenv.mkDerivation rec {
gtksourceview
gtkspell3
json-glib
+ libdazzle
libgee
libgit2-glib
libpeas
@@ -72,12 +66,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
gobject-introspection
- intltool
+ hicolor-icon-theme
+ gettext
meson
ninja
pkgconfig
python3
- vala_0_42 # fails build with 0.44, drop in >3.30.1
+ vala
wrapGAppsHook
];
diff --git a/pkgs/desktops/gnome-3/misc/gnome-applets/default.nix b/pkgs/desktops/gnome-3/misc/gnome-applets/default.nix
index 7bb162b7b8b..25e1347f1c9 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-applets/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-applets/default.nix
@@ -68,7 +68,7 @@ in stdenv.mkDerivation rec {
doCheck = true;
configureFlags = [
- "--with-libpanel-applet-dir=${placeholder ''out''}/share/gnome-panel/applets"
+ "--with-libpanel-applet-dir=${placeholder "out"}/share/gnome-panel/applets"
];
passthru = {
diff --git a/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix b/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
index c80c8b977cf..c8d26988391 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-autoar/default.nix
@@ -3,11 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "gnome-autoar-${version}";
+ pname = "gnome-autoar";
version = "0.2.3";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-autoar/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-autoar/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "02i4zgqqqj56h7bcys6dz7n78m4nj2x4dv1ggjmnrk98n06xpsax";
};
diff --git a/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix b/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
index 6d8f48f0d8e..3cade7ccdf8 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-flashback/default.nix
@@ -11,14 +11,12 @@
, gsettings-desktop-schemas
, gtk3
, ibus
-, intltool
, libcanberra-gtk3
, libpulseaudio
, libxkbfile
, libxml2
, pkgconfig
, polkit
-, substituteAll
, upower
, wrapGAppsHook
, writeTextFile
diff --git a/pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix b/pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix
index d819961d281..ea9a79de40e 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-packagekit/default.nix
@@ -2,11 +2,11 @@
, gtk3, systemd, wrapGAppsHook, desktop-file-utils, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "gnome-packagekit-${version}";
+ pname = "gnome-packagekit";
version = "3.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/gnome-packagekit/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gnome-packagekit/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "08rhsisdvx7pnx3rrg5v7c09jbw4grglkdj979gwl4a31j24zjsd";
};
diff --git a/pkgs/desktops/gnome-3/misc/gnome-screensaver/default.nix b/pkgs/desktops/gnome-3/misc/gnome-screensaver/default.nix
index 5afc92aa482..b1e9cde906c 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-screensaver/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-screensaver/default.nix
@@ -1,6 +1,5 @@
{ stdenv
, fetchgit
-, fetchurl
, autoreconfHook
, dbus-glib
, glib
@@ -8,7 +7,6 @@
, gnome-desktop
, gnome3
, gtk3
-, gsettings-desktop-schemas
, pkgconfig
, intltool
, pam
diff --git a/pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix b/pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix
index fd7f7ef609d..7a54114d2db 100644
--- a/pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gnome-tweaks/default.nix
@@ -1,7 +1,7 @@
{ stdenv, meson, ninja, gettext, fetchurl
, pkgconfig, gtk3, glib, libsoup, gsettings-desktop-schemas
, itstool, libxml2, python3Packages
-, gnome3, gdk_pixbuf, libnotify, gobject-introspection, wrapGAppsHook }:
+, gnome3, gdk-pixbuf, libnotify, gobject-introspection, wrapGAppsHook }:
let
pname = "gnome-tweaks";
@@ -19,7 +19,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
gtk3 glib gsettings-desktop-schemas
- gdk_pixbuf gnome3.adwaita-icon-theme
+ gdk-pixbuf gnome3.adwaita-icon-theme
libnotify gnome3.gnome-shell python3Packages.pygobject3
libsoup gnome3.gnome-settings-daemon gnome3.nautilus
gnome3.mutter gnome3.gnome-desktop gobject-introspection
diff --git a/pkgs/desktops/gnome-3/misc/gnome-video-effects/default.nix b/pkgs/desktops/gnome-3/misc/gnome-video-effects/default.nix
deleted file mode 100644
index b65e9c1021e..00000000000
--- a/pkgs/desktops/gnome-3/misc/gnome-video-effects/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{ stdenv, fetchurl, pkgconfig, intltool, gnome3 }:
-let
- pname = "gnome-video-effects";
- version = "0.4.3";
-in stdenv.mkDerivation rec {
- name = "${pname}-${version}";
-
- src = fetchurl {
- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "06c2f1kihyhawap1s3zg5w7q7fypsybkp7xry4hxkdz4mpsy0zjs";
- };
-
- nativeBuildInputs = [ pkgconfig intltool ];
-
- passthru = {
- updateScript = gnome3.updateScript {
- packageName = pname;
- attrPath = "gnome3.${pname}";
- };
- };
-
- meta = with stdenv.lib; {
- description = "A collection of GStreamer effects to be used in different GNOME Modules";
- homepage = https://wiki.gnome.org/Projects/GnomeVideoEffects;
- platforms = platforms.linux;
- maintainers = gnome3.maintainers;
- license = licenses.gpl2;
- };
-}
diff --git a/pkgs/desktops/gnome-3/misc/gpaste/default.nix b/pkgs/desktops/gnome-3/misc/gpaste/default.nix
index 3da7031b511..46ca01c1a1a 100644
--- a/pkgs/desktops/gnome-3/misc/gpaste/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gpaste/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchurl, autoreconfHook, pkgconfig, vala, glib, gjs, mutter, fetchpatch
-, pango, gtk3, gnome3, dbus, clutter, appstream-glib, wrapGAppsHook, systemd, gobject-introspection }:
+{ stdenv, fetchurl, autoreconfHook, pkgconfig, vala, glib, gjs, mutter
+, pango, gtk3, gnome3, dbus, clutter, appstream-glib, wrapGAppsHook, gobject-introspection }:
stdenv.mkDerivation rec {
version = "3.32.0";
- name = "gpaste-${version}";
+ pname = "gpaste";
src = fetchurl {
url = "https://github.com/Keruspe/GPaste/archive/v${version}.tar.gz";
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
substituteInPlace src/gnome-shell/prefs.js \
--subst-var-by typelibPath "${placeholder "out"}/lib/girepository-1.0"
substituteInPlace src/libgpaste/settings/gpaste-settings.c \
- --subst-var-by gschemasCompiled "${placeholder "out"}/share/gsettings-schemas/${name}/glib-2.0/schemas"
+ --subst-var-by gschemasCompiled ${glib.makeSchemaPath (placeholder "out") "${pname}-${version}"}
'';
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/misc/gtkhtml/default.nix b/pkgs/desktops/gnome-3/misc/gtkhtml/default.nix
index 543453a2bd3..a607a6eb6a0 100644
--- a/pkgs/desktops/gnome-3/misc/gtkhtml/default.nix
+++ b/pkgs/desktops/gnome-3/misc/gtkhtml/default.nix
@@ -2,11 +2,11 @@
, gnome3, enchant, isocodes, gsettings-desktop-schemas }:
stdenv.mkDerivation rec {
- name = "gtkhtml-${version}";
+ pname = "gtkhtml";
version = "4.10.0";
src = fetchurl {
- url = "mirror://gnome/sources/gtkhtml/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/gtkhtml/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "ca3b6424fb2c7ac5d9cb8fdafb69318fa2e825c9cf6ed17d1e38d9b29e5606c3";
};
diff --git a/pkgs/desktops/gnome-3/misc/nautilus-python/default.nix b/pkgs/desktops/gnome-3/misc/nautilus-python/default.nix
index 4aec5ba4d84..4c2a551b1c7 100644
--- a/pkgs/desktops/gnome-3/misc/nautilus-python/default.nix
+++ b/pkgs/desktops/gnome-3/misc/nautilus-python/default.nix
@@ -14,13 +14,13 @@
stdenv.mkDerivation rec {
pname = "nautilus-python";
- version = "1.2.2";
+ version = "1.2.3";
outputs = [ "out" "dev" "doc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
- sha256 = "04pib6fan6cq8x0fhf5gll2f5d2dh5pxrhj79qhi5l1yc7ys7kch";
+ sha256 = "161050sx3sdxqcpjkjcpf6wl4kx0jydihga7mcvrj9c2f8ly0g07";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/gnome-3/misc/pidgin/default.nix b/pkgs/desktops/gnome-3/misc/pidgin/default.nix
deleted file mode 100644
index c11fdfa6099..00000000000
--- a/pkgs/desktops/gnome-3/misc/pidgin/default.nix
+++ /dev/null
@@ -1,42 +0,0 @@
-{ stdenv, fetchFromGitHub, glib }:
-
-stdenv.mkDerivation rec {
- version = "1.0.1";
- basename = "pidgin-im-gnome-shell-extension";
- name = "${basename}-${version}";
-
- src = fetchFromGitHub {
- owner = "muffinmad";
- repo = "${basename}";
- rev = "v${version}";
- sha256 = "1567s2sfqig4jw0nrn134f5vkx0yq31q044grv3xk4vpl1f3z2lr";
- };
-
- buildInputs = [ glib ];
-
- configurePhase = "";
- buildPhase = "";
- installPhase = ''
- share_dir="$prefix/share"
- extensions_dir="$share_dir/gnome-shell/extensions/pidgin@muffinmad"
- mkdir -p "$extensions_dir"
- mv *.js metadata.json dbus.xml gnome-shell-extension-pidgin.pot "$extensions_dir"
-
- schemas_dir="$share_dir/gsettings-schemas/${name}/glib-2.0/schemas"
- mkdir -p "$schemas_dir"
- mv schemas/* "$schemas_dir" # fix Emacs syntax highlighting: */
- glib-compile-schemas "$schemas_dir"
-
- locale_dir="$share_dir/locale"
- mkdir -p "$locale_dir"
- mv locale/* $locale_dir # fix Emacs syntax highlighting: */
- '';
-
- meta = with stdenv.lib; {
- homepage = https://github.com/muffinmad/pidgin-im-gnome-shell-extension;
- description = "Make Pidgin IM conversations appear in the Gnome Shell message tray";
- license = licenses.gpl2;
- platforms = platforms.linux;
- maintainers = with maintainers; [ ];
- };
-}
diff --git a/pkgs/desktops/gnome-3/update.nix b/pkgs/desktops/gnome-3/update.nix
index 2ee72d46993..f42b6723950 100644
--- a/pkgs/desktops/gnome-3/update.nix
+++ b/pkgs/desktops/gnome-3/update.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, writeScript, python3, common-updater-scripts, coreutils, gnugrep, gnused }:
+{ stdenv, lib, writeScript, python3, common-updater-scripts }:
{ packageName, attrPath ? packageName, versionPolicy ? "odd-unstable" }:
let
@@ -9,7 +9,7 @@ let
package_name="$1"
attr_path="$2"
version_policy="$3"
- PATH=${lib.makeBinPath [ common-updater-scripts coreutils gnugrep gnused python ]}
+ PATH=${lib.makeBinPath [ common-updater-scripts python ]}
latest_tag=$(python "${./find-latest-version.py}" "$package_name" "$version_policy" "stable")
update-source-version "$attr_path" "$latest_tag"
'';
diff --git a/pkgs/desktops/gnustep/default.nix b/pkgs/desktops/gnustep/default.nix
index 1fdf79ef9ae..4f7c13e8e4a 100644
--- a/pkgs/desktops/gnustep/default.nix
+++ b/pkgs/desktops/gnustep/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, newScope, stdenv, llvmPackages_6 }:
+{ pkgs, newScope, llvmPackages_6 }:
let
callPackage = newScope self;
diff --git a/pkgs/desktops/gnustep/libobjc2/default.nix b/pkgs/desktops/gnustep/libobjc2/default.nix
index b238623eb09..b058bd87989 100644
--- a/pkgs/desktops/gnustep/libobjc2/default.nix
+++ b/pkgs/desktops/gnustep/libobjc2/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "libobjc2";
- version = "1.9";
+ version = "2.0";
src = fetchFromGitHub {
owner = "gnustep";
repo = "libobjc2";
rev = "v${version}";
- sha256 = "00pscl3ly3rv6alf9vk70kxnnxq2rfgpc1ylcv6cgjs9jxdnrqmn";
+ sha256 = "1b4h0a4pqr8j6300qr2wmi33r7ysvp705gs0ypx69hbmifln0mlf";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/desktops/gnustep/make/default.nix b/pkgs/desktops/gnustep/make/default.nix
index 6ef87cece4e..64e9332a306 100644
--- a/pkgs/desktops/gnustep/make/default.nix
+++ b/pkgs/desktops/gnustep/make/default.nix
@@ -4,8 +4,9 @@ let
version = "2.7.0";
in
-stdenv.mkDerivation rec {
- name = "gnustep-make-${version}";
+stdenv.mkDerivation {
+ pname = "gnustep-make";
+ inherit version;
src = fetchurl {
url = "ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-make-${version}.tar.gz";
diff --git a/pkgs/desktops/lxde/core/lxmenu-data.nix b/pkgs/desktops/lxde/core/lxmenu-data.nix
index 6e8644b19b0..550e98c9dcc 100644
--- a/pkgs/desktops/lxde/core/lxmenu-data.nix
+++ b/pkgs/desktops/lxde/core/lxmenu-data.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
- name = "lxmenu-data-${version}";
+ pname = "lxmenu-data";
version = "0.1.5";
src = fetchurl {
- url = "mirror://sourceforge/lxde/${name}.tar.xz";
+ url = "mirror://sourceforge/lxde/${pname}-${version}.tar.xz";
sha256 = "9fe3218d2ef50b91190162f4f923d6524c364849f87bcda8b4ed8eb59b80bab8";
};
diff --git a/pkgs/desktops/lxde/core/lxpanel/default.nix b/pkgs/desktops/lxde/core/lxpanel/default.nix
index af9570a2c73..a24a33c2e76 100644
--- a/pkgs/desktops/lxde/core/lxpanel/default.nix
+++ b/pkgs/desktops/lxde/core/lxpanel/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, gettext, m4, intltool, libxmlxx, keybinder
-, gtk2, libX11, libfm, libwnck, libXmu, libXpm, cairo, gdk_pixbuf
+, gtk2, libX11, libfm, libwnck, libXmu, libXpm, cairo, gdk-pixbuf
, menu-cache, lxmenu-data, wirelesstools
, supportAlsa ? false, alsaLib
}:
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig gettext m4 intltool libxmlxx ];
buildInputs = [
- keybinder gtk2 libX11 libfm libwnck libXmu libXpm cairo gdk_pixbuf
+ keybinder gtk2 libX11 libfm libwnck libXmu libXpm cairo gdk-pixbuf
menu-cache lxmenu-data m4 wirelesstools
] ++ stdenv.lib.optional supportAlsa alsaLib;
diff --git a/pkgs/desktops/lxde/core/lxtask/default.nix b/pkgs/desktops/lxde/core/lxtask/default.nix
index ca601531b68..0646078d825 100644
--- a/pkgs/desktops/lxde/core/lxtask/default.nix
+++ b/pkgs/desktops/lxde/core/lxtask/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libintl }:
stdenv.mkDerivation rec {
- name = "lxtask-${version}";
+ pname = "lxtask";
version = "0.1.9";
src = fetchurl {
- url = "mirror://sourceforge/lxde/${name}.tar.xz";
+ url = "mirror://sourceforge/lxde/${pname}-${version}.tar.xz";
sha256 = "0cv4hx5dg01hbyi5p10pl78n0a40xajpq4wx9c7886pkmpq8isj1";
};
@@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
with all xfce4 dependencies removed, some bugs fixed, and some
improvement of UI. Although being part of LXDE, the Lightweight X11
Desktop Environment, it's totally desktop independent and only
- requires pure gtk+.
+ requires pure GTK.
'';
homepage = https://wiki.lxde.org/en/LXTask;
license = stdenv.lib.licenses.gpl2Plus;
diff --git a/pkgs/desktops/lxqt/compton-conf/default.nix b/pkgs/desktops/lxqt/compton-conf/default.nix
index f5331751c70..e639996f7c6 100644
--- a/pkgs/desktops/lxqt/compton-conf/default.nix
+++ b/pkgs/desktops/lxqt/compton-conf/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, lxqt,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, lxqt,
libconfig }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "compton-conf";
version = "0.14.1";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
--replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg" \
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "GUI configuration tool for compton X composite manager";
homepage = https://github.com/lxqt/compton-conf;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/libfm-qt/default.nix b/pkgs/desktops/lxqt/libfm-qt/default.nix
index 3ce1ea068a7..c214f0b3dcd 100644
--- a/pkgs/desktops/lxqt/libfm-qt/default.nix
+++ b/pkgs/desktops/lxqt/libfm-qt/default.nix
@@ -1,10 +1,10 @@
{
- stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
+ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
pcre, libexif, xorg, libfm, menu-cache,
qtx11extras, qttools
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "libfm-qt";
version = "0.14.1";
@@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
menu-cache
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Core library of PCManFM-Qt (Qt binding for libfm)";
homepage = https://github.com/lxqt/libfm-qt;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/liblxqt/default.nix b/pkgs/desktops/lxqt/liblxqt/default.nix
index 19335860599..d94b1ac0d03 100644
--- a/pkgs/desktops/lxqt/liblxqt/default.nix
+++ b/pkgs/desktops/lxqt/liblxqt/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras,
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras,
qttools, qtsvg, libqtxdg, polkit-qt, kwindowsystem, xorg }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "liblxqt";
version = "0.14.1";
@@ -27,18 +27,11 @@ stdenv.mkDerivation rec {
xorg.libXScrnSaver
];
- cmakeFlags = [
- "-DLXQT_ETC_XDG_DIR=/run/current-system/sw/etc/xdg"
- ];
-
postPatch = ''
- sed -i 's|set(LXQT_SHARE_DIR .*)|set(LXQT_SHARE_DIR "/run/current-system/sw/share/lxqt")|' CMakeLists.txt
sed -i "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" CMakeLists.txt
- substituteInPlace CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Core utility library for all LXQt components";
homepage = https://github.com/lxqt/liblxqt;
license = licenses.lgpl21Plus;
diff --git a/pkgs/desktops/lxqt/libqtxdg/default.nix b/pkgs/desktops/lxqt/libqtxdg/default.nix
index d351f3e0d6e..799e4286803 100644
--- a/pkgs/desktops/lxqt/libqtxdg/default.nix
+++ b/pkgs/desktops/lxqt/libqtxdg/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase, qtsvg, lxqt-build-tools }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtsvg, lxqt-build-tools }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "libqtxdg";
version = "3.3.1";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
)
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Qt implementation of freedesktop.org xdg specs";
homepage = https://github.com/lxqt/libqtxdg;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/libsysstat/default.nix b/pkgs/desktops/lxqt/libsysstat/default.nix
index 74fa1b03fa6..dc2ce54d6ae 100644
--- a/pkgs/desktops/lxqt/libsysstat/default.nix
+++ b/pkgs/desktops/lxqt/libsysstat/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase, lxqt-build-tools }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, lxqt-build-tools }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "libsysstat";
version = "0.4.2";
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Library used to query system info and statistics";
homepage = https://github.com/lxqt/libsysstat;
license = licenses.lgpl21Plus;
diff --git a/pkgs/desktops/lxqt/lximage-qt/default.nix b/pkgs/desktops/lxqt/lximage-qt/default.nix
index affa0cc8c9d..33e6a1f99e5 100644
--- a/pkgs/desktops/lxqt/lximage-qt/default.nix
+++ b/pkgs/desktops/lxqt/lximage-qt/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools,
qtx11extras, qtsvg, xorg, lxqt-build-tools, libfm-qt, libexif }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lximage-qt";
version = "0.14.1";
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
libexif
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "The image viewer and screenshot tool for lxqt";
homepage = https://github.com/lxqt/lximage-qt;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/lxqt-about/default.nix b/pkgs/desktops/lxqt/lxqt-about/default.nix
index 7778eb92263..595141daffc 100644
--- a/pkgs/desktops/lxqt/lxqt-about/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-about/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-about";
version = "0.14.1";
@@ -25,12 +25,7 @@ stdenv.mkDerivation rec {
libqtxdg
];
- postPatch = ''
- substituteInPlace CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Dialogue window providing information about LXQt and the system it's running on";
homepage = https://github.com/lxqt/lxqt-about;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-admin/default.nix b/pkgs/desktops/lxqt/lxqt-admin/default.nix
index 5ea6b0d0882..a49bb120791 100644
--- a/pkgs/desktops/lxqt/lxqt-admin/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-admin/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, polkit-qt }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtx11extras, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, polkit-qt }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-admin";
version = "0.14.1";
@@ -29,14 +29,9 @@ stdenv.mkDerivation rec {
postPatch = ''
sed "s|\''${POLKITQT-1_POLICY_FILES_INSTALL_DIR}|''${out}/share/polkit-1/actions|" \
-i lxqt-admin-user/CMakeLists.txt
-
- for f in lxqt-admin-{user,time}/CMakeLists.txt; do
- substituteInPlace $f \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- done
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "LXQt system administration tool";
homepage = https://github.com/lxqt/lxqt-admin;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-archiver/default.nix b/pkgs/desktops/lxqt/lxqt-archiver/default.nix
index 75ec5aa06ed..da90826116f 100644
--- a/pkgs/desktops/lxqt/lxqt-archiver/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-archiver/default.nix
@@ -1,7 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, json-glib, libfm-qt, qtbase, qttools, qtx11extras }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, json-glib, libfm-qt, qtbase, qttools, qtx11extras }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "lxqt-archiver";
version = "0.0.96";
@@ -30,7 +29,7 @@ stdenv.mkDerivation rec {
hardeningDisable = [ "format" ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Archive tool for the LXQt desktop environment";
homepage = https://github.com/lxqt/lxqt-archiver/;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/lxqt-build-tools/LXQtConfigVars.cmake b/pkgs/desktops/lxqt/lxqt-build-tools/LXQtConfigVars.cmake
new file mode 100644
index 00000000000..fd7ef927f8b
--- /dev/null
+++ b/pkgs/desktops/lxqt/lxqt-build-tools/LXQtConfigVars.cmake
@@ -0,0 +1,7 @@
+add_definitions("-DLXQT_RELATIVE_SHARE_DIR=\"${LXQT_RELATIVE_SHARE_DIR}\"")
+add_definitions("-DLXQT_SHARE_DIR=\"${LXQT_SHARE_DIR}\"")
+add_definitions("-DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=\"${LXQT_RELATIVE_TRANSLATIONS_DIR}\"")
+add_definitions("-DLXQT_SHARE_TRANSLATIONS_DIR=\"${LXQT_TRANSLATIONS_DIR}\"")
+add_definitions("-DLXQT_GRAPHICS_DIR=\"${LXQT_GRAPHICS_DIR}\"")
+add_definitions("-DLXQT_ETC_XDG_DIR=\"${LXQT_ETC_XDG_DIR}\"")
+add_definitions("-DLXQT_DATA_DIR=\"${LXQT_DATA_DIR}\"")
diff --git a/pkgs/desktops/lxqt/lxqt-build-tools/default.nix b/pkgs/desktops/lxqt/lxqt-build-tools/default.nix
index f55fa579ff4..626c99fcf9c 100644
--- a/pkgs/desktops/lxqt/lxqt-build-tools/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-build-tools/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, glib }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, glib }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-build-tools";
version = "0.6.0";
@@ -11,13 +11,20 @@ stdenv.mkDerivation rec {
sha256 = "0i7m9s4g5rsw28vclc9nh0zcapx85cqfwxkx7rrw7wa12svy7pm2";
};
- nativeBuildInputs = [ cmake pkgconfig ];
+ nativeBuildInputs = [ cmake pkgconfig setupHook ];
buildInputs = [ qtbase glib pcre ];
- preConfigure = ''cmakeFlags+=" -DLXQT_ETC_XDG_DIR=$out/etc/xdg"'';
+ setupHook = ./setup-hook.sh;
- meta = with stdenv.lib; {
+ # We're dependent on this macro doing add_definitions in most places
+ # But we have the setup-hook to set the values.
+ postInstall = ''
+ rm $out/share/cmake/lxqt-build-tools/modules/LXQtConfigVars.cmake
+ cp ${./LXQtConfigVars.cmake} $out/share/cmake/lxqt-build-tools/modules/LXQtConfigVars.cmake
+ '';
+
+ meta = with lib; {
description = "Various packaging tools and scripts for LXQt applications";
homepage = https://github.com/lxqt/lxqt-build-tools;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-build-tools/setup-hook.sh b/pkgs/desktops/lxqt/lxqt-build-tools/setup-hook.sh
new file mode 100644
index 00000000000..e40765116e9
--- /dev/null
+++ b/pkgs/desktops/lxqt/lxqt-build-tools/setup-hook.sh
@@ -0,0 +1,15 @@
+LXQtCMakePostHook() {
+ cmakeFlagsArray+=(
+ -DLXQT_LIBRARY_NAME=lxqt
+ -DLXQT_SHARE_DIR=$out/share/lxqt
+ -DLXQT_TRANSLATIONS_DIR=$out/share/lxqt/translations
+ -DLXQT_GRAPHICS_DIR=$out/share/lxqt/graphics
+ -DLXQT_ETC_XDG_DIR=$out/etc/xdg
+ -DLXQT_DATA_DIR=$out/share
+ -DLXQT_RELATIVE_SHARE_DIR=lxqt
+ -DLXQT_RELATIVE_SHARE_TRANSLATIONS_DIR=lxqt/translations
+ )
+
+}
+
+postHooks+=(LXQtCMakePostHook)
diff --git a/pkgs/desktops/lxqt/lxqt-config/default.nix b/pkgs/desktops/lxqt/lxqt-config/default.nix
index e7ba00bc8a8..d775a93fff4 100644
--- a/pkgs/desktops/lxqt/lxqt-config/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-config/default.nix
@@ -1,8 +1,8 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase,
qtx11extras, qttools, qtsvg, kwindowsystem, libkscreen, liblxqt,
libqtxdg, xorg }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-config";
version = "0.14.1";
@@ -38,27 +38,10 @@ stdenv.mkDerivation rec {
];
postPatch = ''
- substituteInPlace src/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
-
- for f in \
- lxqt-config-file-associations/CMakeLists.txt \
- lxqt-config-brightness/CMakeLists.txt \
- lxqt-config-appearance/CMakeLists.txt \
- lxqt-config-locale/CMakeLists.txt \
- lxqt-config-monitor/CMakeLists.txt \
- lxqt-config-input/CMakeLists.txt \
- liblxqt-config-cursor/CMakeLists.txt \
- src/CMakeLists.txt
- do
- substituteInPlace $f \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- done
-
sed -i "/\''${XORG_LIBINPUT_INCLUDE_DIRS}/a ${xorg.xf86inputlibinput.dev}/include/xorg" lxqt-config-input/CMakeLists.txt
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Tools to configure LXQt and the underlying operating system";
homepage = https://github.com/lxqt/lxqt-config;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-globalkeys/default.nix b/pkgs/desktops/lxqt/lxqt-globalkeys/default.nix
index 0502426e82d..d836ddeea38 100644
--- a/pkgs/desktops/lxqt/lxqt-globalkeys/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-globalkeys/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-globalkeys";
version = "0.14.1";
@@ -26,17 +26,7 @@ stdenv.mkDerivation rec {
libqtxdg
];
- postPatch = ''
- for dir in autostart xdg; do
- substituteInPlace $dir/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
- done
-
- substituteInPlace config/CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Daemon used to register global keyboard shortcuts";
homepage = https://github.com/lxqt/lxqt-globalkeys;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-notificationd/default.nix b/pkgs/desktops/lxqt/lxqt-notificationd/default.nix
index 7eed84b3390..81a6a423a21 100644
--- a/pkgs/desktops/lxqt/lxqt-notificationd/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-notificationd/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, qtx11extras }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-notificationd";
version = "0.14.1";
@@ -16,16 +16,6 @@ stdenv.mkDerivation rec {
lxqt-build-tools
];
- postPatch = ''
- substituteInPlace autostart/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
-
- for f in {config,src}/CMakeLists.txt; do
- substituteInPlace $f \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- done
- '';
-
buildInputs = [
qtbase
qttools
@@ -36,7 +26,7 @@ stdenv.mkDerivation rec {
qtx11extras
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "The LXQt notification daemon";
homepage = https://github.com/lxqt/lxqt-notificationd;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix b/pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix
index 7ba2f00b5c5..83048ed7d57 100644
--- a/pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-openssh-askpass/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-openssh-askpass";
version = "0.14.1";
@@ -26,12 +26,7 @@ stdenv.mkDerivation rec {
libqtxdg
];
- postPatch = ''
- substituteInPlace CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "GUI to query passwords on behalf of SSH agents";
homepage = https://github.com/lxqt/lxqt-openssh-askpass;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-panel/default.nix b/pkgs/desktops/lxqt/lxqt-panel/default.nix
index 4363c9f8392..4558d36e554 100644
--- a/pkgs/desktops/lxqt/lxqt-panel/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-panel/default.nix
@@ -1,5 +1,5 @@
{
- stdenv, fetchFromGitHub,
+ lib, mkDerivation, fetchFromGitHub,
cmake, pkgconfig, lxqt-build-tools,
qtbase, qttools, qtx11extras, qtsvg, libdbusmenu, kwindowsystem, solid,
kguiaddons, liblxqt, libqtxdg, lxqt-globalkeys, libsysstat,
@@ -7,7 +7,7 @@
lxmenu-data, pcre, libXdamage
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-panel";
version = "0.14.1";
@@ -49,21 +49,7 @@ stdenv.mkDerivation rec {
libXdamage
];
- postPatch = ''
- for dir in autostart menu; do
- substituteInPlace $dir/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
- done
- substituteInPlace panel/CMakeLists.txt \
- --replace "DESTINATION \''${LXQT_ETC_XDG_DIR}" "DESTINATION etc/xdg"
-
- for f in cmake/BuildPlugin.cmake panel/CMakeLists.txt; do
- substituteInPlace $f \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- done
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "The LXQt desktop panel";
homepage = https://github.com/lxqt/lxqt-panel;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-policykit/default.nix b/pkgs/desktops/lxqt/lxqt-policykit/default.nix
index 792a323e682..d501d83947e 100644
--- a/pkgs/desktops/lxqt/lxqt-policykit/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-policykit/default.nix
@@ -1,10 +1,10 @@
{
- stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
+ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools,
qtbase, qttools, qtx11extras, qtsvg, polkit-qt, kwindowsystem, liblxqt,
libqtxdg, pcre
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-policykit";
version = "0.14.1";
@@ -33,15 +33,7 @@ stdenv.mkDerivation rec {
pcre
];
- postPatch = ''
- substituteInPlace autostart/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
-
- substituteInPlace CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "The LXQt PolicyKit agent";
homepage = https://github.com/lxqt/lxqt-policykit;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-powermanagement/default.nix b/pkgs/desktops/lxqt/lxqt-powermanagement/default.nix
index 6bdf5ce2c0c..9f8c66d826c 100644
--- a/pkgs/desktops/lxqt/lxqt-powermanagement/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-powermanagement/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, solid, kidletime, liblxqt, libqtxdg }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, solid, kidletime, liblxqt, libqtxdg }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-powermanagement";
version = "0.14.1";
@@ -28,17 +28,7 @@ stdenv.mkDerivation rec {
libqtxdg
];
- postPatch = ''
- substituteInPlace autostart/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
-
- for f in {config,src}/CMakeLists.txt; do
- substituteInPlace $f \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- done
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Power management module for LXQt";
homepage = https://github.com/lxqt/lxqt-powermanagement;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-qtplugin/default.nix b/pkgs/desktops/lxqt/lxqt-qtplugin/default.nix
index 82f393cf8d5..604fc570e1f 100644
--- a/pkgs/desktops/lxqt/lxqt-qtplugin/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-qtplugin/default.nix
@@ -1,10 +1,10 @@
{
- stdenv, fetchFromGitHub,
+ lib, mkDerivation, fetchFromGitHub,
cmake, lxqt-build-tools,
qtbase, qtx11extras, qttools, qtsvg, libdbusmenu, libqtxdg, libfm-qt
}:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-qtplugin";
version = "0.14.0";
@@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
--replace "DESTINATION \"\''${QT_PLUGINS_DIR}" "DESTINATION \"$qtPluginPrefix"
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "LXQt Qt platform integration plugin";
homepage = https://github.com/lxqt/lxqt-qtplugin;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-runner/default.nix b/pkgs/desktops/lxqt/lxqt-runner/default.nix
index 54236bfbb7e..d737bd91c91 100644
--- a/pkgs/desktops/lxqt/lxqt-runner/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-runner/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-globalkeys, qtx11extras,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, kwindowsystem, liblxqt, libqtxdg, lxqt-globalkeys, qtx11extras,
menu-cache, muparser, pcre }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-runner";
version = "0.14.1";
@@ -32,15 +32,7 @@ stdenv.mkDerivation rec {
pcre
];
- postPatch = ''
- substituteInPlace autostart/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
-
- substituteInPlace CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Tool used to launch programs quickly by typing their names";
homepage = https://github.com/lxqt/lxqt-runner;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-session/default.nix b/pkgs/desktops/lxqt/lxqt-session/default.nix
index 40ef5697a54..fbf2c7ddde7 100644
--- a/pkgs/desktops/lxqt/lxqt-session/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-session/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg, xorg, xdg-user-dirs }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt-build-tools, qtbase, qttools, qtsvg, qtx11extras, kwindowsystem, liblxqt, libqtxdg, xorg, xdg-user-dirs }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-session";
version = "0.14.1";
@@ -30,19 +30,7 @@ stdenv.mkDerivation rec {
xdg-user-dirs
];
- postPatch = ''
- for dir in autostart config; do
- substituteInPlace $dir/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
- done
-
- for f in lxqt-{config-session,leave,session}/CMakeLists.txt; do
- substituteInPlace $f \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- done
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "An alternative session manager ported from the original razor-session";
homepage = https://github.com/lxqt/lxqt-session;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-sudo/default.nix b/pkgs/desktops/lxqt/lxqt-sudo/default.nix
index 6deef1bf56b..91159398b8f 100644
--- a/pkgs/desktops/lxqt/lxqt-sudo/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-sudo/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg, sudo }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, liblxqt, libqtxdg, sudo }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-sudo";
version = "0.14.1";
@@ -27,12 +27,7 @@ stdenv.mkDerivation rec {
sudo
];
- postPatch = ''
- substituteInPlace CMakeLists.txt \
- --replace "\''${LXQT_TRANSLATIONS_DIR}" "''${out}/share/lxqt/translations"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "GUI frontend for sudo/su";
homepage = https://github.com/lxqt/lxqt-sudo;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/lxqt-themes/default.nix b/pkgs/desktops/lxqt/lxqt-themes/default.nix
index 02591b9eb86..9d8da87fd5d 100644
--- a/pkgs/desktops/lxqt/lxqt-themes/default.nix
+++ b/pkgs/desktops/lxqt/lxqt-themes/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "lxqt-themes";
version = "0.14.0";
@@ -16,14 +16,7 @@ stdenv.mkDerivation rec {
lxqt-build-tools
];
- postPatch = ''
- substituteInPlace CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_GRAPHICS_DIR}" "DESTINATION \"share/lxqt/graphics"
- substituteInPlace themes/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_SHARE_DIR}" "DESTINATION \"share/lxqt"
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Themes, graphics and icons for LXQt";
homepage = https://github.com/lxqt/lxqt-themes;
license = licenses.lgpl21;
diff --git a/pkgs/desktops/lxqt/obconf-qt/default.nix b/pkgs/desktops/lxqt/obconf-qt/default.nix
index 2360d1970c9..a5be8f41967 100644
--- a/pkgs/desktops/lxqt/obconf-qt/default.nix
+++ b/pkgs/desktops/lxqt/obconf-qt/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, qttools,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, pcre, qtbase, qttools,
qtx11extras, xorg, lxqt-build-tools, openbox, hicolor-icon-theme }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "obconf-qt";
version = "0.14.1";
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
hicolor-icon-theme
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "The Qt port of obconf, the Openbox configuration tool";
homepage = https://github.com/lxqt/obconf-qt;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/pavucontrol-qt/default.nix b/pkgs/desktops/lxqt/pavucontrol-qt/default.nix
index 00359e2ffed..7b7d7290320 100644
--- a/pkgs/desktops/lxqt/pavucontrol-qt/default.nix
+++ b/pkgs/desktops/lxqt/pavucontrol-qt/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt, libpulseaudio,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt, libpulseaudio,
pcre, qtbase, qttools, qtx11extras }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "pavucontrol-qt";
version = "0.14.1";
@@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
pcre
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "A Pulseaudio mixer in Qt (port of pavucontrol)";
homepage = https://github.com/lxqt/pavucontrol-qt;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/pcmanfm-qt/default.nix b/pkgs/desktops/lxqt/pcmanfm-qt/default.nix
index 320d451f087..168b7f35ad2 100644
--- a/pkgs/desktops/lxqt/pcmanfm-qt/default.nix
+++ b/pkgs/desktops/lxqt/pcmanfm-qt/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, lxqt, qtbase, qttools,
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, lxqt, qtbase, qttools,
qtx11extras, libfm-qt, menu-cache, lxmenu-data }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "pcmanfm-qt";
version = "0.14.1";
@@ -28,14 +28,7 @@ stdenv.mkDerivation rec {
lxmenu-data
];
- postPatch = ''
- for dir in autostart config; do
- substituteInPlace $dir/CMakeLists.txt \
- --replace "DESTINATION \"\''${LXQT_ETC_XDG_DIR}" "DESTINATION \"etc/xdg"
- done
- '';
-
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "File manager and desktop icon manager (Qt port of PCManFM and libfm)";
homepage = https://github.com/lxqt/pcmanfm-qt;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/qlipper/default.nix b/pkgs/desktops/lxqt/qlipper/default.nix
index f5bdcf064fd..df717debbae 100644
--- a/pkgs/desktops/lxqt/qlipper/default.nix
+++ b/pkgs/desktops/lxqt/qlipper/default.nix
@@ -1,7 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase, qttools }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qttools }:
-stdenv.mkDerivation rec {
- name = "${pname}-${version}";
+mkDerivation rec {
pname = "qlipper";
version = "5.1.1";
@@ -16,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase qttools ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Cross-platform clipboard history applet";
homepage = https://github.com/pvanek/qlipper;
license = licenses.gpl2Plus;
diff --git a/pkgs/desktops/lxqt/qps/default.nix b/pkgs/desktops/lxqt/qps/default.nix
index c17ef21c676..942c9257c25 100644
--- a/pkgs/desktops/lxqt/qps/default.nix
+++ b/pkgs/desktops/lxqt/qps/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase, qtx11extras, qttools,
+{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtx11extras, qttools,
lxqt-build-tools }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "qps";
version = "1.10.20";
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase qtx11extras qttools ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "The Qt process manager";
homepage = https://github.com/lxqt/qps;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/qterminal/default.nix b/pkgs/desktops/lxqt/qterminal/default.nix
index 748d33aa2ce..10f525eb9e6 100644
--- a/pkgs/desktops/lxqt/qterminal/default.nix
+++ b/pkgs/desktops/lxqt/qterminal/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, cmake, lxqt-build-tools, qtermwidget,
+{ lib, mkDerivation, fetchFromGitHub, cmake, lxqt-build-tools, qtermwidget,
qtbase, qttools, qtx11extras }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "qterminal";
version = "0.14.1";
@@ -24,11 +24,11 @@ stdenv.mkDerivation rec {
qtermwidget
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "A lightweight Qt-based terminal emulator";
homepage = https://github.com/lxqt/qterminal;
license = licenses.gpl2;
platforms = with platforms; unix;
- maintainers = with maintainers; [ romildo ];
+ maintainers = with maintainers; [ romildo globin ];
};
}
diff --git a/pkgs/desktops/lxqt/qtermwidget/default.nix b/pkgs/desktops/lxqt/qtermwidget/default.nix
index e47d8e05082..e61360f6a3b 100644
--- a/pkgs/desktops/lxqt/qtermwidget/default.nix
+++ b/pkgs/desktops/lxqt/qtermwidget/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, qtbase, qttools, lxqt-build-tools }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qttools, lxqt-build-tools }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "qtermwidget";
version = "0.14.1";
@@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake lxqt-build-tools ];
- buildInputs = [ qtbase qttools];
+ buildInputs = [ qtbase qttools ];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "A terminal emulator widget for Qt 5";
homepage = https://github.com/lxqt/qtermwidget;
license = licenses.gpl2;
diff --git a/pkgs/desktops/lxqt/screengrab/default.nix b/pkgs/desktops/lxqt/screengrab/default.nix
index 14fa977e023..bac68f7166c 100644
--- a/pkgs/desktops/lxqt/screengrab/default.nix
+++ b/pkgs/desktops/lxqt/screengrab/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg, autoPatchelfHook }:
+{ lib, mkDerivation, fetchFromGitHub, cmake, pkgconfig, qtbase, qttools, qtx11extras, qtsvg, kwindowsystem, libqtxdg, xorg, autoPatchelfHook }:
-stdenv.mkDerivation rec {
+mkDerivation rec {
pname = "screengrab";
version = "1.101";
@@ -28,7 +28,7 @@ stdenv.mkDerivation rec {
xorg.libXdmcp
];
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Crossplatform tool for fast making screenshots";
homepage = https://github.com/lxqt/screengrab;
license = licenses.gpl2;
diff --git a/pkgs/desktops/mate/atril/default.nix b/pkgs/desktops/mate/atril/default.nix
index 5ef080ef50b..15dea9b1018 100644
--- a/pkgs/desktops/mate/atril/default.nix
+++ b/pkgs/desktops/mate/atril/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, glib, libxml2, libsecret, poppler, itstool, hicolor-icon-theme, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "atril-${version}";
+ pname = "atril";
version = "1.22.1";
src = fetchurl {
- url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "https://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0i2wgsksgwhrmajj1lay3iym4dcyj8cdd813yh5mrfz4rkv49190";
};
diff --git a/pkgs/desktops/mate/caja-dropbox/default.nix b/pkgs/desktops/mate/caja-dropbox/default.nix
index 411308c488c..597391eb135 100644
--- a/pkgs/desktops/mate/caja-dropbox/default.nix
+++ b/pkgs/desktops/mate/caja-dropbox/default.nix
@@ -1,31 +1,49 @@
-{ stdenv, fetchurl, pkgconfig, gtk3, mate, python3Packages }:
+{ stdenv, fetchurl, substituteAll
+, pkgconfig, gobject-introspection, gdk-pixbuf
+, gtk3, mate, python3, dropbox }:
+let
+ dropboxd = "${dropbox}/bin/dropbox";
+in
stdenv.mkDerivation rec {
- name = "caja-dropbox-${version}";
+ pname = "caja-dropbox";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "18cnd3yw2ingvl38mhmfbl5k0kfg8pzcf2649j00i6v90cwiril5";
};
+ patches = [
+ (substituteAll {
+ src = ./fix-cli-paths.patch;
+ inherit dropboxd;
+ })
+ ];
+
+ strictDeps = true;
+
nativeBuildInputs = [
pkgconfig
+ gobject-introspection
+ gdk-pixbuf
+ (python3.withPackages (ps: with ps; [
+ docutils
+ pygobject3
+ ]))
];
buildInputs = [
gtk3
mate.caja
- python3Packages.python
- python3Packages.pygtk
- python3Packages.docutils
+ python3
];
configureFlags = [ "--with-caja-extension-dir=$$out/lib/caja/extensions-2.0" ];
meta = with stdenv.lib; {
description = "Dropbox extension for Caja file manager";
- homepage = https://github.com/mate-desktop/caja-dropbox;
+ homepage = "https://github.com/mate-desktop/caja-dropbox";
license = with licenses; [ gpl3 cc-by-nd-30 ];
platforms = platforms.unix;
maintainers = [ maintainers.romildo ];
diff --git a/pkgs/desktops/mate/caja-dropbox/fix-cli-paths.patch b/pkgs/desktops/mate/caja-dropbox/fix-cli-paths.patch
new file mode 100644
index 00000000000..de591f493f6
--- /dev/null
+++ b/pkgs/desktops/mate/caja-dropbox/fix-cli-paths.patch
@@ -0,0 +1,11 @@
+--- a/caja-dropbox.in
++++ b/caja-dropbox.in
+@@ -70,7 +70,7 @@ DOWNLOADING = "Downloading Dropbox... %d%%"
+ UNPACKING = "Unpacking Dropbox... %d%%"
+
+ PARENT_DIR = os.path.expanduser("~")
+-DROPBOXD_PATH = "%s/.dropbox-dist/dropboxd" % PARENT_DIR
++DROPBOXD_PATH = "@dropboxd@"
+ DESKTOP_FILE = "@DESKTOP_FILE_DIR@/caja-dropbox.desktop"
+
+ enc = locale.getpreferredencoding()
diff --git a/pkgs/desktops/mate/caja-extensions/default.nix b/pkgs/desktops/mate/caja-extensions/default.nix
index 108e8fe1e0b..ba21cb00d35 100644
--- a/pkgs/desktops/mate/caja-extensions/default.nix
+++ b/pkgs/desktops/mate/caja-extensions/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, gupnp, mate, imagemagick, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "caja-extensions-${version}";
+ pname = "caja-extensions";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1h866jmdd3qpjzi7wjj11krwiaadnlf21844g1zqfb4jgrzj773p";
};
diff --git a/pkgs/desktops/mate/caja-with-extensions/default.nix b/pkgs/desktops/mate/caja-with-extensions/default.nix
new file mode 100644
index 00000000000..35e3cd198f6
--- /dev/null
+++ b/pkgs/desktops/mate/caja-with-extensions/default.nix
@@ -0,0 +1,20 @@
+{ stdenv, lib, makeWrapper, caja-extensions, caja, extensions ? [ caja-extensions ] }:
+
+stdenv.mkDerivation {
+ pname = "${caja.pname}-with-extensions";
+ version = caja.version;
+
+ phases = [ "installPhase" ];
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ inherit caja;
+
+ installPhase = ''
+ mkdir -p $out/bin
+ makeWrapper $caja/bin/caja $out/bin/caja \
+ --set CAJA_EXTENSION_DIRS ${lib.concatMapStringsSep ":" (x: "${x.outPath}/lib/caja/extensions-2.0") extensions}
+ '';
+
+ inherit (caja.meta);
+}
diff --git a/pkgs/desktops/mate/caja/default.nix b/pkgs/desktops/mate/caja/default.nix
index fcb903f703e..667a73eb630 100644
--- a/pkgs/desktops/mate/caja/default.nix
+++ b/pkgs/desktops/mate/caja/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libnotify, libxml2, libexif, exempi, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "caja-${version}";
+ pname = "caja";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "10b7yjimblymp1fpsrl4jb2k7kbhla2izsj3njfmg2n6fv9fy9iv";
};
diff --git a/pkgs/desktops/mate/default.nix b/pkgs/desktops/mate/default.nix
index 3cab936b92b..3970b2b2921 100644
--- a/pkgs/desktops/mate/default.nix
+++ b/pkgs/desktops/mate/default.nix
@@ -1,14 +1,15 @@
-{ pkgs, newScope }:
+{ newScope }:
let
callPackage = newScope self;
self = rec {
-
+
atril = callPackage ./atril { };
caja = callPackage ./caja { };
caja-dropbox = callPackage ./caja-dropbox { };
caja-extensions = callPackage ./caja-extensions { };
+ caja-with-extensions = callPackage ./caja-with-extensions { };
engrampa = callPackage ./engrampa { };
eom = callPackage ./eom { };
libmatekbd = callPackage ./libmatekbd { };
@@ -86,7 +87,7 @@ let
mozo
pluma
];
-
+
};
in self
diff --git a/pkgs/desktops/mate/engrampa/default.nix b/pkgs/desktops/mate/engrampa/default.nix
index 9e41969a568..0278fd7fec8 100644
--- a/pkgs/desktops/mate/engrampa/default.nix
+++ b/pkgs/desktops/mate/engrampa/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gnome3, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "engrampa-${version}";
- version = "1.22.1";
+ pname = "engrampa";
+ version = "1.22.2";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "06z38vfs15f5crrrgvcsqfb557fhpq1mqkj5fd9wb0hvi77hasrk";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0ph7ngk32nnzc3psqjs5zy52zbjilk30spr2r4sixqxvmz7d28gd";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/mate/eom/default.nix b/pkgs/desktops/mate/eom/default.nix
index 793ca66583b..cc683ab2db2 100644
--- a/pkgs/desktops/mate/eom/default.nix
+++ b/pkgs/desktops/mate/eom/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, pkgconfig, intltool, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gnome3, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, itstool, exempi, lcms2, libexif, libjpeg, librsvg, libxml2, libpeas, shared-mime-info, gtk3, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "eom-${version}";
+ pname = "eom";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "03lpxqvyaqhz4wmi07nxcyn5q73ym3dzm41cdid53f2dp9lk1mv4";
};
diff --git a/pkgs/desktops/mate/libmatekbd/default.nix b/pkgs/desktops/mate/libmatekbd/default.nix
index 553fadc568a..d6709c375e6 100644
--- a/pkgs/desktops/mate/libmatekbd/default.nix
+++ b/pkgs/desktops/mate/libmatekbd/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, intltool, gtk3, libxklavier }:
+{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libxklavier }:
stdenv.mkDerivation rec {
- name = "libmatekbd-${version}";
+ pname = "libmatekbd";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1dsr7618c92mhwabwhgxqsfp7gnf9zrz2z790jc5g085dxhg13y8";
};
diff --git a/pkgs/desktops/mate/libmatemixer/default.nix b/pkgs/desktops/mate/libmatemixer/default.nix
index bf2a91971dd..17fee5d61cb 100644
--- a/pkgs/desktops/mate/libmatemixer/default.nix
+++ b/pkgs/desktops/mate/libmatemixer/default.nix
@@ -5,11 +5,11 @@
}:
stdenv.mkDerivation rec {
- name = "libmatemixer-${version}";
+ pname = "libmatemixer";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1v0gpr55gj4mj8hzxbhgzrmhaxvs2inxhsmirvjw39sc7iplvrh9";
};
diff --git a/pkgs/desktops/mate/libmateweather/default.nix b/pkgs/desktops/mate/libmateweather/default.nix
index 664b85fc287..e4976f71ae6 100644
--- a/pkgs/desktops/mate/libmateweather/default.nix
+++ b/pkgs/desktops/mate/libmateweather/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libsoup, tzdata }:
stdenv.mkDerivation rec {
- name = "libmateweather-${version}";
+ pname = "libmateweather";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1ribgcwl4ncfbcf9bkcbxrgc7yzajdnxg12837psngymkqswlp6a";
};
diff --git a/pkgs/desktops/mate/marco/default.nix b/pkgs/desktops/mate/marco/default.nix
index 3719225fe8f..9899256018a 100644
--- a/pkgs/desktops/mate/marco/default.nix
+++ b/pkgs/desktops/mate/marco/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, libxml2, libcanberra-gtk3, libgtop, libstartup_notification, gnome3, gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "marco-${version}";
- version = "1.22.1";
+ pname = "marco";
+ version = "1.22.2";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1j7pvq8ndyl2x8jmh95sj69cnf0q9qsjn7lkr3jz6hk103mga82f";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0sc7x14229yj22ka1vlzbaqndwcgh6idypjmm9rydkj4n968jwry";
};
nativeBuildInputs = [
diff --git a/pkgs/desktops/mate/mate-applets/default.nix b/pkgs/desktops/mate/mate-applets/default.nix
index 7fbd192ac2c..ec7ad2b4294 100644
--- a/pkgs/desktops/mate/mate-applets/default.nix
+++ b/pkgs/desktops/mate/mate-applets/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gnome3, glib, gtk3, gtksourceview3, libwnck3, libgtop, libxml2, libnotify, polkit, upower, wirelesstools, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-applets-${version}";
+ pname = "mate-applets";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "19sjm2180ir8a264rz8m528qaqjpl3q3cq095ab0sbkp2igksrfx";
};
diff --git a/pkgs/desktops/mate/mate-backgrounds/default.nix b/pkgs/desktops/mate/mate-backgrounds/default.nix
index f5c151d01f7..2667c25959e 100644
--- a/pkgs/desktops/mate/mate-backgrounds/default.nix
+++ b/pkgs/desktops/mate/mate-backgrounds/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, intltool }:
stdenv.mkDerivation rec {
- name = "mate-backgrounds-${version}";
+ pname = "mate-backgrounds";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1j9ch04qi2q4mdcvb92w667ra9hpfdf2bfpi1dpw0nbph7r6qvj9";
};
diff --git a/pkgs/desktops/mate/mate-calc/default.nix b/pkgs/desktops/mate/mate-calc/default.nix
index 85631f03e1d..64ede5101c7 100644
--- a/pkgs/desktops/mate/mate-calc/default.nix
+++ b/pkgs/desktops/mate/mate-calc/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-calc-${version}";
+ pname = "mate-calc";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zin3w03zrkpb12rvay23bfk9fnjpybkr5mqzkpn9xfnqamhk8ld";
};
diff --git a/pkgs/desktops/mate/mate-common/default.nix b/pkgs/desktops/mate/mate-common/default.nix
index 3b154fd9812..f85dd632bd1 100644
--- a/pkgs/desktops/mate/mate-common/default.nix
+++ b/pkgs/desktops/mate/mate-common/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "mate-common-${version}";
+ pname = "mate-common";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "11lwckndizawbq993ws8lqp59vsc873zri0m8s1i5zyc4qx9f69z";
};
diff --git a/pkgs/desktops/mate/mate-control-center/default.nix b/pkgs/desktops/mate/mate-control-center/default.nix
index 6e54b137ba1..a06c24b9c72 100644
--- a/pkgs/desktops/mate/mate-control-center/default.nix
+++ b/pkgs/desktops/mate/mate-control-center/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "mate-control-center-${version}";
+ pname = "mate-control-center";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0w9w3wkxksbhzyd96y1x6yxb0q5lkp16y8i42564b6njvwqch5a0";
};
diff --git a/pkgs/desktops/mate/mate-desktop/default.nix b/pkgs/desktops/mate/mate-desktop/default.nix
index 0bfcab58663..58515a492b5 100644
--- a/pkgs/desktops/mate/mate-desktop/default.nix
+++ b/pkgs/desktops/mate/mate-desktop/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, isocodes, gnome3, gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-desktop-${version}";
+ pname = "mate-desktop";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1hr4r69855csqrcaqpbcyplsy4cwjfz7gabps2pzkh5132jycfr0";
};
diff --git a/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix b/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
index ba0cbd526f9..7db01f59816 100644
--- a/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
+++ b/pkgs/desktops/mate/mate-icon-theme-faenza/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, autoreconfHook, gtk3, mate, hicolor-icon-theme }:
stdenv.mkDerivation rec {
- name = "mate-icon-theme-faenza-${version}";
+ pname = "mate-icon-theme-faenza";
version = "1.20.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "000vr9cnbl2qlysf2gyg1lsjirqdzmwrnh6d3hyrsfc0r2vh4wna";
};
diff --git a/pkgs/desktops/mate/mate-icon-theme/default.nix b/pkgs/desktops/mate/mate-icon-theme/default.nix
index 8f0f15fac2d..9df0d0ce5a8 100644
--- a/pkgs/desktops/mate/mate-icon-theme/default.nix
+++ b/pkgs/desktops/mate/mate-icon-theme/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, iconnamingutils, librsvg, hicolor-icon-theme, gtk3 }:
stdenv.mkDerivation rec {
- name = "mate-icon-theme-${version}";
+ pname = "mate-icon-theme";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1pn1xbmr4w4mi45nwk1qh18z9rlngmkhp9bw671yn4k6sii8fi3k";
};
diff --git a/pkgs/desktops/mate/mate-indicator-applet/default.nix b/pkgs/desktops/mate/mate-indicator-applet/default.nix
index 623e7f24096..e1a6e874d1d 100644
--- a/pkgs/desktops/mate/mate-indicator-applet/default.nix
+++ b/pkgs/desktops/mate/mate-indicator-applet/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libindicator-gtk3, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-indicator-applet-${version}";
+ pname = "mate-indicator-applet";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0zad81qvcin4m329hfxhv4a5j8gf4gj8944mvjrdgdh71bzan2x1";
};
diff --git a/pkgs/desktops/mate/mate-media/default.nix b/pkgs/desktops/mate/mate-media/default.nix
index 59b93a890eb..93c765a9953 100644
--- a/pkgs/desktops/mate/mate-media/default.nix
+++ b/pkgs/desktops/mate/mate-media/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, pkgconfig, intltool, libtool, libxml2, libcanberra-gtk3, gnome3, gtk3, mate, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, libtool, libxml2, libcanberra-gtk3, gtk3, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-media-${version}";
+ pname = "mate-media";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "13g1n2ddgr1yxgl4fsqj3sgb9344b756kam9v3sq6vh0bxlr4yf2";
};
diff --git a/pkgs/desktops/mate/mate-menus/default.nix b/pkgs/desktops/mate/mate-menus/default.nix
index bb09b0a4849..e37a270f9dc 100644
--- a/pkgs/desktops/mate/mate-menus/default.nix
+++ b/pkgs/desktops/mate/mate-menus/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, gobject-introspection, python3 }:
stdenv.mkDerivation rec {
- name = "mate-menus-${version}";
+ pname = "mate-menus";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1lkakbf2f1815c146z4xp5f0h4lim6jzr02681wbvzalc6k97v5c";
};
diff --git a/pkgs/desktops/mate/mate-netbook/default.nix b/pkgs/desktops/mate/mate-netbook/default.nix
index 049e0a4bb69..51d23e475ff 100644
--- a/pkgs/desktops/mate/mate-netbook/default.nix
+++ b/pkgs/desktops/mate/mate-netbook/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, libwnck3, libfakekey, libXtst, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-netbook-${version}";
+ pname = "mate-netbook";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "00n162bskbvxhy4k2w14f9zwlsg3wgi43228ssx7sc2p95psmm64";
};
diff --git a/pkgs/desktops/mate/mate-notification-daemon/default.nix b/pkgs/desktops/mate/mate-notification-daemon/default.nix
index 63996f4256b..d53ae8efa35 100644
--- a/pkgs/desktops/mate/mate-notification-daemon/default.nix
+++ b/pkgs/desktops/mate/mate-notification-daemon/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, libcanberra-gtk3,
- libnotify, libwnck3, gnome3, gtk3, wrapGAppsHook }:
+ libnotify, libwnck3, gtk3, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-notification-daemon-${version}";
+ pname = "mate-notification-daemon";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "06z3xczhz5diy4kk7b8lrzljrnql6fz0n1jyy916cf8pnnanpg0j";
};
diff --git a/pkgs/desktops/mate/mate-panel/default.nix b/pkgs/desktops/mate/mate-panel/default.nix
index bbb49c20347..39d2c1812cb 100644
--- a/pkgs/desktops/mate/mate-panel/default.nix
+++ b/pkgs/desktops/mate/mate-panel/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, glib, libwnck3, librsvg, libxml2, gnome3, gtk3, mate, hicolor-icon-theme, gobject-introspection, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-panel-${version}";
+ pname = "mate-panel";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0pb9dpgsfjp6gsldg4ad2jz23xdvjfarmz4cjwkpakygkq5i6dma";
};
diff --git a/pkgs/desktops/mate/mate-polkit/default.nix b/pkgs/desktops/mate/mate-polkit/default.nix
index f5b6d62dd59..253472e3987 100644
--- a/pkgs/desktops/mate/mate-polkit/default.nix
+++ b/pkgs/desktops/mate/mate-polkit/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, gobject-introspection, libappindicator-gtk3, libindicator-gtk3, polkit }:
stdenv.mkDerivation rec {
- name = "mate-polkit-${version}";
+ pname = "mate-polkit";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "02r8n71xflhvw2hsf6g4svdahzyg3r4n6xamasyzqfhyn0mqmjy0";
};
diff --git a/pkgs/desktops/mate/mate-power-manager/default.nix b/pkgs/desktops/mate/mate-power-manager/default.nix
index 7f4d1c85015..6ba6ac205ce 100644
--- a/pkgs/desktops/mate/mate-power-manager/default.nix
+++ b/pkgs/desktops/mate/mate-power-manager/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, libnotify, libcanberra-gtk3, dbus-glib, upower, gnome3, gtk3, libtool, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-power-manager-${version}";
+ pname = "mate-power-manager";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "06vs2w44l1s25j0mifkid02yncw0nvdxw8r4pp2jm18kxan4frms";
};
diff --git a/pkgs/desktops/mate/mate-screensaver/default.nix b/pkgs/desktops/mate/mate-screensaver/default.nix
index 53a89bec4c1..d1c1e481d70 100644
--- a/pkgs/desktops/mate/mate-screensaver/default.nix
+++ b/pkgs/desktops/mate/mate-screensaver/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, dbus-glib, libXScrnSaver, libnotify, pam, systemd, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-screensaver-${version}";
+ pname = "mate-screensaver";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0c4qq5szsbfrz8hgkmlby2k7f1qs8kgqf2shd63z0pc8p6f47vvc";
};
diff --git a/pkgs/desktops/mate/mate-sensors-applet/default.nix b/pkgs/desktops/mate/mate-sensors-applet/default.nix
index c5ad4628c54..bd9ed9f6cbe 100644
--- a/pkgs/desktops/mate/mate-sensors-applet/default.nix
+++ b/pkgs/desktops/mate/mate-sensors-applet/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, libxslt, libatasmart, libnotify, lm_sensors, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-sensors-applet-${version}";
+ pname = "mate-sensors-applet";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0rv19jxxviqqwk2wlhxlm98jsxa26scvs7ilp2i6plhn3ap2alq3";
};
diff --git a/pkgs/desktops/mate/mate-session-manager/default.nix b/pkgs/desktops/mate/mate-session-manager/default.nix
index 3448e8327f5..b7735ec77fe 100644
--- a/pkgs/desktops/mate/mate-session-manager/default.nix
+++ b/pkgs/desktops/mate/mate-session-manager/default.nix
@@ -4,11 +4,11 @@
}:
stdenv.mkDerivation rec {
- name = "mate-session-manager-${version}";
+ pname = "mate-session-manager";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1ix8picxgc28m5zd0ww3zvzw6rz38wvzsrbqw28hghrfg926h6ig";
};
diff --git a/pkgs/desktops/mate/mate-settings-daemon/default.nix b/pkgs/desktops/mate/mate-settings-daemon/default.nix
index 00d967a2d5c..5ee995402ec 100644
--- a/pkgs/desktops/mate/mate-settings-daemon/default.nix
+++ b/pkgs/desktops/mate/mate-settings-daemon/default.nix
@@ -4,11 +4,11 @@
wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-settings-daemon-${version}";
+ pname = "mate-settings-daemon";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yr5v6b9hdk20j29smbw1k4fkyg82i5vlflmgly0vi5whgc74gym";
};
diff --git a/pkgs/desktops/mate/mate-system-monitor/default.nix b/pkgs/desktops/mate/mate-system-monitor/default.nix
index f7cdf036ceb..6f5993cfc35 100644
--- a/pkgs/desktops/mate/mate-system-monitor/default.nix
+++ b/pkgs/desktops/mate/mate-system-monitor/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtkmm3, libxml2, libgtop, libwnck3, librsvg, systemd, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-system-monitor-${version}";
+ pname = "mate-system-monitor";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0yh1sh5snd7ivchh6l9rbn1s7ia4j5ihhzhqkyjnhr8ln59dvcbm";
};
diff --git a/pkgs/desktops/mate/mate-terminal/default.nix b/pkgs/desktops/mate/mate-terminal/default.nix
index 2339ad8fb1b..7ec9944aa0e 100644
--- a/pkgs/desktops/mate/mate-terminal/default.nix
+++ b/pkgs/desktops/mate/mate-terminal/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, glib, itstool, libxml2, mate, gnome3, gtk3, vte, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-terminal-${version}";
+ pname = "mate-terminal";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "08210ry5lrivsgzqpdaxrchhpj0n5s1q0x4pxmwdpnksjpcj11mn";
};
diff --git a/pkgs/desktops/mate/mate-themes/default.nix b/pkgs/desktops/mate/mate-themes/default.nix
index a5ed677a98d..9ed5515ea3e 100644
--- a/pkgs/desktops/mate/mate-themes/default.nix
+++ b/pkgs/desktops/mate/mate-themes/default.nix
@@ -1,18 +1,18 @@
{ stdenv, fetchurl, pkgconfig, intltool, mate, gtk2, gtk3,
- gtk_engines, gtk-engine-murrine, gdk_pixbuf, librsvg }:
+ gtk_engines, gtk-engine-murrine, gdk-pixbuf, librsvg }:
stdenv.mkDerivation rec {
- name = "mate-themes-${version}";
- version = "3.22.19";
+ pname = "mate-themes";
+ version = "3.22.20";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/themes/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "1ycb8b8r0s8d1h1477135mynr53s5781gdb2ap8xlvj2g58492wq";
+ url = "http://pub.mate-desktop.org/releases/themes/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0c3dhf8p9nc2maky4g9xr04iil9wwbdkmhpzynlc6lfg4ksqq2bx";
};
nativeBuildInputs = [ pkgconfig intltool gtk3 ];
- buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk_pixbuf librsvg ];
+ buildInputs = [ mate.mate-icon-theme gtk2 gtk_engines gdk-pixbuf librsvg ];
propagatedUserEnvPkgs = [ gtk-engine-murrine ];
diff --git a/pkgs/desktops/mate/mate-user-guide/default.nix b/pkgs/desktops/mate/mate-user-guide/default.nix
index 4d624479bbf..a9a0e171231 100644
--- a/pkgs/desktops/mate/mate-user-guide/default.nix
+++ b/pkgs/desktops/mate/mate-user-guide/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, intltool, itstool, libxml2, yelp }:
stdenv.mkDerivation rec {
- name = "mate-user-guide-${version}";
- version = "1.22.1";
+ pname = "mate-user-guide";
+ version = "1.22.2";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "02zlfdhrvamd299pbf5s19pr90y8yah84g12shwihlxff7d3hxvs";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "01kcszsjiriqp4hf1k4fhazi2yfqlkn415sfgx0jw0p821bzqf2h";
};
nativeBuildInputs = [ itstool intltool libxml2 ];
diff --git a/pkgs/desktops/mate/mate-user-share/default.nix b/pkgs/desktops/mate/mate-user-share/default.nix
index dffdde42ad1..999bee2e5d1 100644
--- a/pkgs/desktops/mate/mate-user-share/default.nix
+++ b/pkgs/desktops/mate/mate-user-share/default.nix
@@ -1,26 +1,27 @@
-{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libnotify, libxml2, libcanberra-gtk3, mod_dnssd, apacheHttpd, hicolor-icon-theme, mate, wrapGAppsHook }:
+{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, dbus-glib, libnotify, libxml2, libcanberra-gtk3, mod_dnssd, apacheHttpd, hicolor-icon-theme, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-user-share-${version}";
- version = "1.22.0";
+ pname = "mate-user-share";
+ version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
- sha256 = "14bhr6fv6gj3ka3sf13q64ck4svx8f4x8kzbppxv0jygpjp48w7h";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "1krsar1pwa8720qz2dckcg0f6z9mvfk49djdxaz1afvi7blmqd6k";
};
nativeBuildInputs = [
pkgconfig
intltool
itstool
+ libxml2
wrapGAppsHook
];
buildInputs = [
gtk3
+ dbus-glib
libnotify
libcanberra-gtk3
- libxml2
mate.caja
hicolor-icon-theme
# Should mod_dnssd and apacheHttpd be runtime dependencies?
diff --git a/pkgs/desktops/mate/mate-utils/default.nix b/pkgs/desktops/mate/mate-utils/default.nix
index 606a473cfaa..7775173611e 100644
--- a/pkgs/desktops/mate/mate-utils/default.nix
+++ b/pkgs/desktops/mate/mate-utils/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, gtk3, libxml2, libgtop, libcanberra-gtk3, inkscape, mate, hicolor-icon-theme, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "mate-utils-${version}";
+ pname = "mate-utils";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0768y6x33ljc9dxjlfmvplsn4lrxj5xhjddbyab9h6pqav8527rg";
};
diff --git a/pkgs/desktops/mate/pluma/default.nix b/pkgs/desktops/mate/pluma/default.nix
index 171d8971c4e..cfbe33dd380 100644
--- a/pkgs/desktops/mate/pluma/default.nix
+++ b/pkgs/desktops/mate/pluma/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, itstool, isocodes, enchant, libxml2, python3, gnome3, gtksourceview3, libpeas, mate, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "pluma-${version}";
+ pname = "pluma";
version = "1.22.1";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "14d5c5fg31d7br9h1y3gdcr53j4sxlgybf326jvdcw8mgy91k3dg";
};
diff --git a/pkgs/desktops/mate/python-caja/default.nix b/pkgs/desktops/mate/python-caja/default.nix
index c3b39e85925..42a8e328a16 100644
--- a/pkgs/desktops/mate/python-caja/default.nix
+++ b/pkgs/desktops/mate/python-caja/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk3, mate, python3Packages }:
stdenv.mkDerivation rec {
- name = "python-caja-${version}";
+ pname = "python-caja";
version = "1.22.0";
src = fetchurl {
- url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "http://pub.mate-desktop.org/releases/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "1zwdjvxci72j0181nlfq6912lw3aq8j3746brlp7wlzn22qp7b0k";
};
diff --git a/pkgs/desktops/maxx/default.nix b/pkgs/desktops/maxx/default.nix
index 5edebb39be4..aaf9986fbb2 100644
--- a/pkgs/desktops/maxx/default.nix
+++ b/pkgs/desktops/maxx/default.nix
@@ -3,7 +3,7 @@
, libX11, libXext, libXi, libXau, libXrender, libXft, libXmu, libSM, libXcomposite, libXfixes, libXpm
, libXinerama, libXdamage, libICE, libXtst, libXaw, fontconfig, pango, cairo, glib, libxml2, atk, gtk2
-, gdk_pixbuf, libGL, ncurses5
+, gdk-pixbuf, libGL, ncurses5
, dmidecode, pciutils, usbutils
}:
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
buildInputs = [
stdenv.cc.cc libX11 libXext libXi libXau libXrender libXft libXmu libSM libXcomposite libXfixes libXpm
libXinerama libXdamage libICE libXtst libXaw fontconfig pango cairo glib libxml2 atk gtk2
- gdk_pixbuf libGL ncurses5
+ gdk-pixbuf libGL ncurses5
];
buildPhase = ''
@@ -70,7 +70,7 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.gnidorah ];
platforms = ["x86_64-linux"];
longDescription = ''
- A clone of IRIX Interactive Desktop made in agreement with SGI.
+ A clone of IRIX Interactive Desktop made in agreement with SGI.
Provides simple and fast retro desktop environment.
'';
};
diff --git a/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix b/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
index 9aed8ffcc27..bcbe50e5de3 100644
--- a/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-calculator/default.nix
@@ -1,32 +1,44 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig
-, meson, ninja, vala, desktop-file-utils, libxml2
-, gtk3, python3, granite, libgee, gobject-introspection
-, elementary-icon-theme, appstream, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, desktop-file-utils
+, libxml2
+, gtk3
+, python3
+, granite
+, libgee
+, elementary-icon-theme
+, appstream
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "calculator";
+ pname = "elementary-calculator";
version = "1.5.2";
- name = "elementary-${pname}-${version}";
+ repoName = "calculator";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1vdgl89hdf9q1ya6as7310hlr0xls3w7js2gzsd9z8arb6037ccl";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
appstream
desktop-file-utils
- gobject-introspection
libxml2
meson
ninja
diff --git a/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix b/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
index c165df26f60..b806c085f84 100644
--- a/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-calendar/default.nix
@@ -1,33 +1,51 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
-, ninja, vala, desktop-file-utils, gtk3, granite, libgee
-, geoclue2, libchamplain, clutter, folks, geocode-glib, python3
-, libnotify, libical, evolution-data-server, appstream-glib
-, elementary-icon-theme, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, desktop-file-utils
+, gtk3
+, granite
+, libgee
+, geoclue2
+, libchamplain
+, clutter
+, folks
+, geocode-glib
+, python3
+, libnotify
+, libical
+, evolution-data-server
+, appstream-glib
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "calendar";
+ pname = "elementary-calendar";
version = "5.0";
- name = "elementary-${pname}-${version}";
+ repoName = "calendar";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "0yiis5ig98gjw4s2qh8lppkdmv1cgi6qchxqncsjdki7yxyyni35";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
appstream-glib
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/apps/elementary-camera/default.nix b/pkgs/desktops/pantheon/apps/elementary-camera/default.nix
index 90f326fb826..279e9eff87a 100644
--- a/pkgs/desktops/pantheon/apps/elementary-camera/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-camera/default.nix
@@ -1,24 +1,43 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
-, desktop-file-utils, python3, gettext, libxml2, gtk3, granite, libgee, gst_all_1
-, libcanberra, clutter-gtk, clutter-gst, elementary-icon-theme, appstream, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, desktop-file-utils
+, python3
+, gettext
+, libxml2
+, gtk3
+, granite
+, libgee
+, gst_all_1
+, libcanberra
+, clutter-gtk
+, clutter-gst
+, elementary-icon-theme
+, appstream
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "camera";
+ pname = "elementary-camera";
version = "1.0.4";
- name = "elementary-${pname}-${version}";
+ repoName = "camera";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1p532f961cjdg7szmxw7hw3av9v342hv5rx7in3bbhlc7adxflyc";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
diff --git a/pkgs/desktops/pantheon/apps/elementary-code/default.nix b/pkgs/desktops/pantheon/apps/elementary-code/default.nix
index 438144613c4..355f3ea8d0f 100644
--- a/pkgs/desktops/pantheon/apps/elementary-code/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-code/default.nix
@@ -1,25 +1,47 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, substituteAll
-, python3, desktop-file-utils, gtk3, granite, libgee, elementary-icon-theme
-, appstream, libpeas, editorconfig-core-c, gtksourceview3, gtkspell3, libsoup
-, vte, webkitgtk, zeitgeist, ctags, libgit2-glib, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, python3
+, desktop-file-utils
+, gtk3
+, granite
+, libgee
+, elementary-icon-theme
+, appstream
+, libpeas
+, editorconfig-core-c
+, gtksourceview3
+, gtkspell3
+, libsoup
+, vte
+, webkitgtk
+, zeitgeist
+, ctags
+, libgit2-glib
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "code";
+ pname = "elementary-code";
version = "3.1.1";
- name = "elementary-${pname}-${version}";
+ repoName = "code";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "0l469fi5vbcazwfhy320nr8wrzz96jbrqn4hag0kdm16wvf5x1yc";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
@@ -36,8 +58,8 @@ stdenv.mkDerivation rec {
buildInputs = [
ctags
- elementary-icon-theme
editorconfig-core-c
+ elementary-icon-theme
granite
gtk3
gtksourceview3
diff --git a/pkgs/desktops/pantheon/apps/elementary-files/default.nix b/pkgs/desktops/pantheon/apps/elementary-files/default.nix
index c90d9a566f8..0decbbc6c7a 100644
--- a/pkgs/desktops/pantheon/apps/elementary-files/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-files/default.nix
@@ -1,25 +1,50 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, gettext, vala
-, python3, desktop-file-utils, libcanberra, gtk3, libgee, granite, libnotify
-, libunity, pango, plank, bamf, sqlite, libdbusmenu-gtk3, zeitgeist, glib-networking
-, elementary-icon-theme, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, gettext
+, vala
+, python3
+, desktop-file-utils
+, libcanberra
+, gtk3
+, glib
+, libgee
+, granite
+, libnotify
+, libunity
+, pango
+, plank
+, bamf
+, sqlite
+, libdbusmenu-gtk3
+, zeitgeist
+, glib-networking
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "files";
- version = "4.1.8";
+ pname = "elementary-files";
+ version = "4.1.9";
- name = "elementary-${pname}-${version}";
+ repoName = "files";
+
+ outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
- sha256 = "1frslwbqnv3mwv5dpb1sbhxnwl87cps2ambkkhnn9wwckjpm7p8f";
+ sha256 = "12p1li9a7kqdlgkq20svaly5kr661ww93qngaiic6zv1bdw2bpmv";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
@@ -27,7 +52,6 @@ stdenv.mkDerivation rec {
desktop-file-utils
gettext
glib-networking
- gobject-introspection
meson
ninja
pkgconfig
@@ -58,7 +82,8 @@ stdenv.mkDerivation rec {
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
- substituteInPlace filechooser-module/FileChooserDialog.vala --subst-var-by ELEMENTARY_FILES_GSETTINGS_PATH $out/share/gsettings-schemas/${name}/glib-2.0/schemas
+ substituteInPlace filechooser-module/FileChooserDialog.vala \
+ --subst-var-by ELEMENTARY_FILES_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
'';
meta = with stdenv.lib; {
diff --git a/pkgs/desktops/pantheon/apps/elementary-music/default.nix b/pkgs/desktops/pantheon/apps/elementary-music/default.nix
index 78ddeb6e6d9..7d235551a80 100644
--- a/pkgs/desktops/pantheon/apps/elementary-music/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-music/default.nix
@@ -1,27 +1,49 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
-, ninja, vala, desktop-file-utils, libxml2, gtk3, granite
-, python3, libgee, clutter-gtk, json-glib, libgda, libgpod
-, libnotify, libpeas, libsoup, zeitgeist, gst_all_1, taglib
-, libdbusmenu, libsignon-glib, libaccounts-glib
-, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, desktop-file-utils
+, gtk3
+, granite
+, python3
+, libgee
+, clutter-gtk
+, json-glib
+, libgda
+, libgpod
+, libnotify
+, libpeas
+, libsoup
+, zeitgeist
+, gst_all_1
+, taglib
+, libdbusmenu
+, libsignon-glib
+, libaccounts-glib
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "music";
+ pname = "elementary-music";
version = "5.0.4";
- name = "elementary-${pname}-${version}";
+ repoName = "music";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "02qjsf9xnfh043xbls9mll2r1wcdvclw60x8wysv12rhbm90gwvp";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
@@ -51,9 +73,9 @@ stdenv.mkDerivation rec {
libgda
libgee
libgpod
- libsignon-glib
libnotify
libpeas
+ libsignon-glib
libsoup
taglib
zeitgeist
diff --git a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix
index 4ee2aef1760..94b6a2fce8e 100644
--- a/pkgs/desktops/pantheon/apps/elementary-photos/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-photos/default.nix
@@ -1,32 +1,59 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, desktop-file-utils
-, gtk3, glib, libaccounts-glib, libexif, libgee, geocode-glib, gexiv2,libgphoto2, fetchpatch
-, granite, gst_all_1, libgudev, json-glib, libraw, librest, libsoup, sqlite, python3
-, scour, webkitgtk, libwebp, appstream, libunity, wrapGAppsHook, gobject-introspection, elementary-icon-theme }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, desktop-file-utils
+, gtk3
+, libaccounts-glib
+, libexif
+, libgee
+, geocode-glib
+, gexiv2
+, libgphoto2
+, granite
+, gst_all_1
+, libgudev
+, json-glib
+, libraw
+, librest
+, libsoup
+, sqlite
+, python3
+, scour
+, webkitgtk
+, libwebp
+, appstream
+, libunity
+, wrapGAppsHook
+, elementary-icon-theme
+}:
stdenv.mkDerivation rec {
- pname = "photos";
+ pname = "elementary-photos";
version = "2.6.4";
- name = "elementary-${pname}-${version}";
+ repoName = "photos";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "17r9658s0pqy6s45ysi3915sm8hpvmsp7cw2jahqvjc61r4qpdc1";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
appstream
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
@@ -53,10 +80,10 @@ stdenv.mkDerivation rec {
libgphoto2
libgudev
libraw
+ librest
libsoup
libunity
libwebp
- librest
scour
sqlite
webkitgtk
diff --git a/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix b/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
index 2644d31d798..4dd168f25f0 100644
--- a/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-screenshot-tool/default.nix
@@ -1,30 +1,42 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, callPackage
-, ninja, vala, python3, desktop-file-utils, gtk3, granite, libgee
-, libcanberra, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, python3
+, desktop-file-utils
+, gtk3
+, granite
+, libgee
+, libcanberra
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93
+ pname = "elementary-screenshot-tool"; # This will be renamed to "screenshot" soon. See -> https://github.com/elementary/screenshot/pull/93
version = "1.6.2";
- name = "elementary-${pname}-${version}";
+ repoName = "screenshot";
src = fetchFromGitHub {
owner = "elementary";
- repo = "screenshot";
+ repo = repoName;
rev = version;
sha256 = "1z61j96jk9zjr3bn5hgsp25m4v8h1rqwxm0kg8c34bvl06f13v8q";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = "screenshot";
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
index 19bf4ce098b..8bd335c6530 100644
--- a/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-terminal/default.nix
@@ -1,31 +1,46 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, python3
-, vala, desktop-file-utils, gtk3, libxml2, granite, libnotify, vte, libgee
-, elementary-icon-theme, appstream, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, python3
+, vala
+, desktop-file-utils
+, gtk3
+, libxml2
+, granite
+, libnotify
+, vte
+, libgee
+, elementary-icon-theme
+, appstream
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "terminal";
- version = "5.3.4";
+ pname = "elementary-terminal";
+ version = "5.3.6";
- name = "elementary-${pname}-${version}";
+ repoName = "terminal";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
- sha256 = "08vwgd385j7cbi7c8442sjygzw9qy2phsi5lva4jaxwm8l15hk86";
+ sha256 = "0jp21sy8k3jq3ycvng9yy2hbhcvfgiknxxa8vcg3c06vqhadmnc3";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
appstream
desktop-file-utils
- gobject-introspection
libxml2
meson
ninja
diff --git a/pkgs/desktops/pantheon/apps/elementary-videos/default.nix b/pkgs/desktops/pantheon/apps/elementary-videos/default.nix
index b123d4cbf5b..9132707db2b 100644
--- a/pkgs/desktops/pantheon/apps/elementary-videos/default.nix
+++ b/pkgs/desktops/pantheon/apps/elementary-videos/default.nix
@@ -1,30 +1,44 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, python3
-, desktop-file-utils, gtk3, granite, libgee, clutter-gst, clutter-gtk, gst_all_1
-, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, python3
+, desktop-file-utils
+, gtk3
+, granite
+, libgee
+, clutter-gst
+, clutter-gtk
+, gst_all_1
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "videos";
+ pname = "elementary-videos";
version = "2.6.3";
- name = "elementary-${pname}-${version}";
+ repoName = "videos";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1ncm8kh6dcy83p8pmpilnk03b4dx3b1jm8w13izq2dkglfgdwvqx";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix
index 1883e229479..7a79f72f1a2 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/default.nix
@@ -1,5 +1,17 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
+{ stdenv
+, substituteAll
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+, onboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-a11y";
@@ -12,6 +24,13 @@ stdenv.mkDerivation rec {
sha256 = "1wh46lrsliii5bbvfc4xnzgnii2v7sqxnbn43ylmyqppfv9mk1wd";
};
+ patches = [
+ (substituteAll {
+ src = ./fix-paths.patch;
+ inherit onboard;
+ })
+ ];
+
passthru = {
updateScript = pantheon.updateScript {
repoName = pname;
@@ -19,7 +38,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -33,7 +51,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Universal Access Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/fix-paths.patch b/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/fix-paths.patch
new file mode 100644
index 00000000000..4d69390f39d
--- /dev/null
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/a11y/fix-paths.patch
@@ -0,0 +1,13 @@
+diff --git a/src/Panes/Typing.vala b/src/Panes/Typing.vala
+index b4ae8b0..5b8fd7e 100644
+--- a/src/Panes/Typing.vala
++++ b/src/Panes/Typing.vala
+@@ -83,7 +83,7 @@ public class Accessibility.Panes.Typing : Categories.Pane {
+
+ onboard_settings_label.clicked.connect (() => {
+ try {
+- var appinfo = AppInfo.create_from_commandline ("onboard-settings", null, AppInfoCreateFlags.NONE);
++ var appinfo = AppInfo.create_from_commandline ("@onboard@/bin/onboard-settings", null, AppInfoCreateFlags.NONE);
+ appinfo.launch (null, null);
+ } catch (Error e) {
+ warning ("%s\n", e.message);
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
index d217ad20d2e..3247aed4993 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/about/default.nix
@@ -1,5 +1,17 @@
-{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, switchboard, pciutils, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, substituteAll
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+, pciutils
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-about";
@@ -19,7 +31,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -41,7 +52,7 @@ stdenv.mkDerivation rec {
./remove-update-button.patch
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard About Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
index ed4dc0c8447..ddb589c9e79 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/applications/default.nix
@@ -1,5 +1,15 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-applications";
@@ -19,7 +29,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -33,7 +42,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Applications Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix
index db653a7f8ff..9f1c75b7b43 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/bluetooth/default.nix
@@ -1,5 +1,16 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, libgee
-, granite, gtk3, bluez, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, bluez
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-bluetooth";
@@ -19,7 +30,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -34,7 +44,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Bluetooth Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix
index 8c00ff4728e..c0c7bbdec2e 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/datetime/default.nix
@@ -1,5 +1,18 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, substituteAll, pkgconfig
-, vala, libgee, granite, gtk3, libxml2, switchboard, tzdata, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, substituteAll
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, libxml2
+, switchboard
+, tzdata
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-datetime";
@@ -19,7 +32,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
libxml2
meson
ninja
@@ -43,7 +55,7 @@ stdenv.mkDerivation rec {
./clock-format.patch
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Date & Time Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
index f5fbb0a51cf..76cfe61fc77 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/display/default.nix
@@ -1,5 +1,15 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-display";
@@ -19,7 +29,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -33,7 +42,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Displays Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix
index 50256b8f77d..8b82543a0e5 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/keyboard/default.nix
@@ -1,5 +1,20 @@
-{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja, pkgconfig, vala, libgee
-, granite, gtk3, libxml2, libgnomekbd, libxklavier, xorg, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, substituteAll
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, libxml2
+, libgnomekbd
+, libxklavier
+, xorg
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-keyboard";
@@ -19,7 +34,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
libxml2
meson
ninja
@@ -43,7 +57,7 @@ stdenv.mkDerivation rec {
})
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Keyboard Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
index eaf15fdb815..a8556bd5401 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/mouse-touchpad/default.nix
@@ -1,5 +1,17 @@
-{ stdenv, fetchFromGitHub, pantheon, fetchpatch, meson, ninja, pkgconfig, vala
-, libgee, granite, gtk3, switchboard, elementary-settings-daemon, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+, elementary-settings-daemon
+, glib
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-mouse-touchpad";
@@ -17,7 +29,8 @@ stdenv.mkDerivation rec {
];
postPatch = ''
- substituteInPlace src/Views/General.vala --subst-var-by GSD_GSETTINGS ${elementary-settings-daemon}/share/gsettings-schemas/${elementary-settings-daemon.name}/glib-2.0/schemas
+ substituteInPlace src/Views/General.vala \
+ --subst-var-by GSD_GSETTINGS ${glib.getSchemaPath elementary-settings-daemon}
'';
passthru = {
@@ -27,7 +40,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -35,13 +47,14 @@ stdenv.mkDerivation rec {
];
buildInputs = [
+ glib
granite
gtk3
libgee
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Mouse & Touchpad Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
index 95b558901d2..175f0e45f46 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/network/default.nix
@@ -1,5 +1,18 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, substituteAll, vala
-, libgee, granite, gtk3, networkmanager, networkmanagerapplet, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, substituteAll
+, vala
+, libgee
+, granite
+, gtk3
+, networkmanager
+, networkmanagerapplet
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-network";
@@ -19,7 +32,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -38,12 +50,12 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./nma.patch;
- networkmanagerapplet = "${networkmanagerapplet}";
+ networkmanagerapplet = networkmanagerapplet;
})
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Networking Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix
index a6fb86bb828..a6112495469 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/notifications/default.nix
@@ -1,5 +1,15 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-notifications";
@@ -19,7 +29,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -33,7 +42,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Notifications Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix
index 0417d33df7d..aa9cdfa0ddd 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/onlineaccounts/default.nix
@@ -1,6 +1,21 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala
-, libgee, granite, gtk3, libaccounts-glib, libsignon-glib, json-glib
-, librest, webkitgtk, libsoup, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, libaccounts-glib
+, libsignon-glib
+, json-glib
+, librest
+, webkitgtk
+, libsoup
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-onlineaccounts";
@@ -20,7 +35,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
index 6c29282652c..35dd958483d 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/pantheon-shell/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala
+{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, glib
, libgee, granite, gexiv2, elementary-settings-daemon, gtk3, gnome-desktop
-, gala, wingpanel, plank, switchboard, gettext, gobject-introspection, bamf }:
+, gala, wingpanel, plank, switchboard, gettext, bamf, fetchpatch }:
stdenv.mkDerivation rec {
pname = "switchboard-plug-pantheon-shell";
@@ -21,7 +21,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
gettext
- gobject-introspection
meson
ninja
pkgconfig
@@ -30,9 +29,10 @@ stdenv.mkDerivation rec {
buildInputs = [
bamf
- gexiv2
- gnome-desktop
elementary-settings-daemon
+ gexiv2
+ glib
+ gnome-desktop
granite
gtk3
libgee
@@ -43,15 +43,22 @@ stdenv.mkDerivation rec {
patches = [
./backgrounds.patch # Having https://github.com/elementary/switchboard-plug-pantheon-shell/issues/166 would make this patch uneeded
./hardcode-gsettings.patch
+ # Fixes https://github.com/elementary/switchboard-plug-pantheon-shell/issues/172
+ (fetchpatch {
+ url = "https://github.com/elementary/switchboard-plug-pantheon-shell/commit/e4f86df6a6be402db4c979a4b005573618b744d1.patch";
+ sha256 = "0sa8611k6sqg96mnp2plmxd30w6zq76bfwszl8ankr9kwsgyc66y";
+ })
];
postPatch = ''
- substituteInPlace src/Views/Appearance.vala --subst-var-by GALA_GSETTINGS_PATH ${gala}/share/gsettings-schemas/${gala.name}/glib-2.0/schemas
- substituteInPlace src/Views/Appearance.vala --subst-var-by WINGPANEL_GSETTINGS_PATH ${wingpanel}/share/gsettings-schemas/${wingpanel.name}/glib-2.0/schemas
+ substituteInPlace src/Views/Appearance.vala \
+ --subst-var-by GALA_GSETTINGS_PATH ${glib.getSchemaPath gala}
+ substituteInPlace src/Views/Appearance.vala \
+ --subst-var-by WINGPANEL_GSETTINGS_PATH ${glib.getSchemaPath wingpanel}
'';
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Desktop Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
index 0178f23f5e1..7bc3f6ba7ad 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/power/default.nix
@@ -1,6 +1,21 @@
-{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja
-, pkgconfig, vala, libgee, elementary-dpms-helper, elementary-settings-daemon
-, makeWrapper, granite, gtk3, dbus, polkit, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, substituteAll
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, elementary-dpms-helper
+, elementary-settings-daemon
+, granite
+, gtk3
+, glib
+, dbus
+, polkit
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-power";
@@ -20,7 +35,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -29,6 +43,7 @@ stdenv.mkDerivation rec {
buildInputs = [
dbus
+ glib
granite
gtk3
libgee
@@ -39,20 +54,22 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./dpms-helper-exec.patch;
- elementary_dpms_helper = "${elementary-dpms-helper}";
+ elementary_dpms_helper = elementary-dpms-helper;
})
./hardcode-gsettings.patch
];
postPatch = ''
- substituteInPlace src/MainView.vala --subst-var-by DPMS_HELPER_GSETTINGS_PATH ${elementary-dpms-helper}/share/gsettings-schemas/${elementary-dpms-helper.name}/glib-2.0/schemas
- substituteInPlace src/MainView.vala --subst-var-by GSD_GSETTINGS_PATH ${elementary-settings-daemon}/share/gsettings-schemas/${elementary-settings-daemon.name}/glib-2.0/schemas
+ substituteInPlace src/MainView.vala \
+ --subst-var-by DPMS_HELPER_GSETTINGS_PATH ${glib.getSchemaPath elementary-dpms-helper}
+ substituteInPlace src/MainView.vala \
+ --subst-var-by GSD_GSETTINGS_PATH ${glib.getSchemaPath elementary-settings-daemon}
'';
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
- PKG_CONFIG_DBUS_1_SYSTEM_BUS_SERVICES_DIR = "${placeholder ''out''}/share/dbus-1/system-services";
- PKG_CONFIG_DBUS_1_SYSCONFDIR = "${placeholder ''out''}/etc";
- PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder ''out''}/share/polkit-1/actions";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
+ PKG_CONFIG_DBUS_1_SYSTEM_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/system-services";
+ PKG_CONFIG_DBUS_1_SYSCONFDIR = "${placeholder "out"}/etc";
+ PKG_CONFIG_POLKIT_GOBJECT_1_POLICYDIR = "${placeholder "out"}/share/polkit-1/actions";
meta = with stdenv.lib; {
description = "Switchboard Power Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
index 11bd70894ed..d1feaaf0ea4 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/printers/default.nix
@@ -1,5 +1,16 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, cups, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, cups
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-printers";
@@ -19,7 +30,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -34,7 +44,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Printers Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
index ff59768e363..fd67440a43c 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/security-privacy/default.nix
@@ -1,6 +1,20 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, python3, ninja
-, pkgconfig, vala, libgee, granite, gtk3, polkit, zeitgeist
-, switchboard, lightlocker, pantheon-agent-geoclue2, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, python3
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, glib
+, polkit
+, zeitgeist
+, switchboard
+, lightlocker
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-security-privacy";
@@ -20,7 +34,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -29,6 +42,7 @@ stdenv.mkDerivation rec {
];
buildInputs = [
+ glib
granite
gtk3
libgee
@@ -37,7 +51,7 @@ stdenv.mkDerivation rec {
zeitgeist
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
patches = [
./hardcode-gsettings.patch
@@ -47,8 +61,10 @@ stdenv.mkDerivation rec {
chmod +x meson/post_install.py
patchShebangs meson/post_install.py
- substituteInPlace src/Views/LockPanel.vala --subst-var-by LIGHTLOCKER_GSETTINGS_PATH ${lightlocker}/share/gsettings-schemas/${lightlocker.name}/glib-2.0/schemas
- substituteInPlace src/Views/FirewallPanel.vala --subst-var-by SWITCHBOARD_SEC_PRIV_GSETTINGS_PATH $out/share/gsettings-schemas/${pname}-${version}/glib-2.0/schemas
+ substituteInPlace src/Views/LockPanel.vala \
+ --subst-var-by LIGHTLOCKER_GSETTINGS_PATH ${glib.getSchemaPath lightlocker}
+ substituteInPlace src/Views/FirewallPanel.vala \
+ --subst-var-by SWITCHBOARD_SEC_PRIV_GSETTINGS_PATH ${glib.makeSchemaPath "$out" "${pname}-${version}"}
'';
meta = with stdenv.lib; {
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix
index 9660daa7715..87ae233916d 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/sharing/default.nix
@@ -1,5 +1,15 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-sharing";
@@ -19,7 +29,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -33,7 +42,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Sharing Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix b/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
index ad379f37471..dee2f851e3f 100644
--- a/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard-plugs/sound/default.nix
@@ -1,6 +1,18 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig
-, vala, libgee, granite, gtk3, pulseaudio, libcanberra, libcanberra-gtk3
-, switchboard, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, libgee
+, granite
+, gtk3
+, pulseaudio
+, libcanberra
+, libcanberra-gtk3
+, switchboard
+}:
stdenv.mkDerivation rec {
pname = "switchboard-plug-sound";
@@ -20,7 +32,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -37,7 +48,7 @@ stdenv.mkDerivation rec {
switchboard
];
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
meta = with stdenv.lib; {
description = "Switchboard Sound Plug";
diff --git a/pkgs/desktops/pantheon/apps/switchboard/default.nix b/pkgs/desktops/pantheon/apps/switchboard/default.nix
index 310230c7aac..5c10cc0e9e4 100644
--- a/pkgs/desktops/pantheon/apps/switchboard/default.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard/default.nix
@@ -1,6 +1,20 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja
-, vala, gtk3, libgee, granite, gettext, clutter-gtk, libunity
-, elementary-icon-theme, wrapGAppsHook, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, gtk3
+, libgee
+, granite
+, gettext
+, clutter-gtk
+, libunity
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "switchboard";
@@ -21,7 +35,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
gettext
- gobject-introspection
meson
ninja
pkgconfig
@@ -39,7 +52,9 @@ stdenv.mkDerivation rec {
libunity
];
- patches = [ ./plugs-path-env.patch ];
+ patches = [
+ ./plugs-path-env.patch
+ ];
postPatch = ''
chmod +x meson/post_install.py
diff --git a/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix b/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
index cae8e74f4ba..756ae86bb19 100644
--- a/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
+++ b/pkgs/desktops/pantheon/apps/switchboard/wrapper.nix
@@ -1,4 +1,9 @@
-{ stdenv, makeWrapper, symlinkJoin, switchboard, switchboardPlugs, plugs }:
+{ makeWrapper
+, symlinkJoin
+, switchboard
+, switchboardPlugs
+, plugs
+}:
let
selectedPlugs = if plugs == null then switchboardPlugs else plugs;
diff --git a/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix b/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
index 0e0fa106958..fe9db999bb6 100644
--- a/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
+++ b/pkgs/desktops/pantheon/artwork/elementary-gtk-theme/default.nix
@@ -1,22 +1,27 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+}:
stdenv.mkDerivation rec {
- pname = "stylesheet";
- version = "5.2.3";
+ pname = "elementary-gtk-theme";
+ version = "5.2.5";
- name = "elementary-gtk-theme-${version}";
+ repoName = "stylesheet";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
- sha256 = "1ghb6zl9yszsrxdkg8va1b29kyazbny2kncr9fdw6v2rbjnp7zhr";
+ sha256 = "0934rfdwkn4315mhayzba8a3b6i1xczp66gl6n45hh5c81gb2p65";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-gtk-theme";
+ inherit repoName;
+ attrPath = pname;
};
};
diff --git a/pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix b/pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
index 23fb8445838..bdf42b1c1ef 100644
--- a/pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
+++ b/pkgs/desktops/pantheon/artwork/elementary-icon-theme/default.nix
@@ -1,34 +1,43 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, python3,ninja, hicolor-icon-theme, gtk3 }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, python3
+, ninja
+, hicolor-icon-theme
+, gtk3
+}:
stdenv.mkDerivation rec {
- pname = "icons";
- version = "5.0.3";
+ pname = "elementary-icon-theme";
+ version = "5.0.4";
- name = "elementary-icon-theme-${version}";
+ repoName = "icons";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
- sha256 = "0wpv7yirf44bfqfmyshzfw9605j1idm7c9jqg68k3nmymmd6iqzf";
+ sha256 = "0ha7biqvmkv68x1gi9bfcn5z0ld067pa5czx0pyf053pa86lg3hx";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-icon-theme";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
+ gtk3
meson
ninja
python3
];
- buildInputs = [ gtk3 ];
-
- propagatedBuildInputs = [ hicolor-icon-theme ];
+ propagatedBuildInputs = [
+ hicolor-icon-theme
+ ];
mesonFlags = [
"-Dvolume_icons=false" # Tries to install some icons to /
diff --git a/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix b/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix
index 061feb4b2d9..df2475ce82a 100644
--- a/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix
+++ b/pkgs/desktops/pantheon/artwork/elementary-redacted-script/default.nix
@@ -1,6 +1,9 @@
-{ stdenv, fetchFromGitHub, pantheon }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+}:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
pname = "elementary-redacted-script";
version = "unstable-2016-06-03";
diff --git a/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix b/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix
index 430acfd9ac1..aff830fda56 100644
--- a/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix
+++ b/pkgs/desktops/pantheon/artwork/elementary-sound-theme/default.nix
@@ -1,22 +1,28 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+}:
stdenv.mkDerivation rec {
- pname = "sound-theme";
+ pname = "elementary-sound-theme";
version = "1.0";
- name = "elementary-${pname}-${version}";
+ repoName = "sound-theme";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1dc583lq61c361arjl3s44d2k72c46bqvcqv1c3s69f2ndsnxjdz";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
diff --git a/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix b/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
index 898d5f7b454..30145541750 100644
--- a/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
+++ b/pkgs/desktops/pantheon/artwork/elementary-wallpapers/default.nix
@@ -1,26 +1,30 @@
-{ stdenv, fetchFromGitHub, pantheon }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+}:
stdenv.mkDerivation rec {
- pname = "wallpapers";
+ pname = "elementary-wallpapers";
version = "5.3";
- name = "elementary-${pname}-${version}";
+ repoName = "wallpapers";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1i0zf9gzhwm8hgq5cp1xnxipqjvgzd9wfiicz612hgp6ivc0z0ag";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
dontBuild = true;
+ dontConfigure = true;
installPhase = ''
mkdir -p $out/share/backgrounds/elementary
diff --git a/pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix b/pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
index 39299d2c2eb..a1a69ee303f 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-default-settings/default.nix
@@ -1,22 +1,25 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pantheon }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+}:
stdenv.mkDerivation rec {
- pname = "default-settings";
+ pname = "elementary-default-settings";
version = "5.1.0";
- name = "elementary-${pname}-${version}";
+ repoName = "default-settings";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "0l73py4rr56i4dalb2wh1c6qiwmcjkm0l1j75jp5agcnxldh5wym";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
@@ -25,6 +28,7 @@ stdenv.mkDerivation rec {
];
dontBuild = true;
+ dontConfigure = true;
installPhase = ''
mkdir -p $out/etc/gtk-3.0
diff --git a/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix b/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
index 32083d3ada6..8ef85b90a3b 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-greeter/default.nix
@@ -1,32 +1,31 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, substituteAll, makeWrapper, meson
+{ stdenv, fetchFromGitHub, pantheon, pkgconfig, substituteAll, meson
, ninja, vala, desktop-file-utils, gtk3, granite, libgee, elementary-settings-daemon
-, gnome-desktop, mutter, gobject-introspection, elementary-icon-theme, wingpanel-with-indicators
-, elementary-gtk-theme, nixos-artwork, elementary-default-settings, lightdm, numlockx
+, gnome-desktop, mutter, elementary-icon-theme, wingpanel-with-indicators
+, elementary-gtk-theme, nixos-artwork, lightdm, numlockx
, clutter-gtk, libGL, dbus, wrapGAppsHook }:
stdenv.mkDerivation rec {
- pname = "greeter";
+ pname = "elementary-greeter";
version = "3.3.1";
- name = "elementary-${pname}-${version}";
+ repoName = "greeter";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1vkq4z0hrmvzv4sh2qkxjajdxcycd1zj97a3pc8n4yb858pqfyzc";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/desktop/elementary-gsettings-schemas/default.nix b/pkgs/desktops/pantheon/desktop/elementary-gsettings-schemas/default.nix
index 2726ea2b936..9fc4418e7ca 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-gsettings-schemas/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-gsettings-schemas/default.nix
@@ -1,4 +1,15 @@
-{ stdenv, runCommand, mutter, elementary-default-settings, nixos-artwork, glib, gala, epiphany, elementary-settings-daemon, gtk3, plank, gsettings-desktop-schemas
+{ stdenv
+, runCommand
+, mutter
+, elementary-default-settings
+, nixos-artwork
+, glib
+, gala
+, epiphany
+, elementary-settings-daemon
+, gtk3
+, plank
+, gsettings-desktop-schemas
, extraGSettingsOverrides ? ""
, extraGSettingsOverridePackages ? []
}:
@@ -22,22 +33,23 @@ with stdenv.lib;
# TODO: Having https://github.com/NixOS/nixpkgs/issues/54150 would supersede this
runCommand "elementary-gsettings-desktop-schemas" {}
''
- mkdir -p $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
- cp -rf ${gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
+ schema_dir=$out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
- ${concatMapStrings (pkg: "cp -rf ${pkg}/share/gsettings-schemas/*/glib-2.0/schemas/*.xml $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas\n") gsettingsOverridePackages}
+ mkdir -p $schema_dir
+ cp -rf ${glib.getSchemaPath gsettings-desktop-schemas}/*.xml $schema_dir
+
+ ${concatMapStrings (pkg: "cp -rf ${glib.getSchemaPath pkg}/*.xml $schema_dir\n") gsettingsOverridePackages}
chmod -R a+w $out/share/gsettings-schemas/nixos-gsettings-overrides
- cp ${elementary-default-settings}/share/glib-2.0/schemas/20-io.elementary.desktop.gschema.override \
- $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas
+ cp ${elementary-default-settings}/share/glib-2.0/schemas/20-io.elementary.desktop.gschema.override $schema_dir
- cat - > $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/nixos-defaults.gschema.override <<- EOF
+ cat - > $schema_dir/nixos-defaults.gschema.override <<- EOF
[org.gnome.desktop.background]
- picture-uri='${nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png'
+ picture-uri='file://${nixos-artwork.wallpapers.simple-dark-gray}/share/artwork/gnome/nix-wallpaper-simple-dark-gray.png'
primary-color='#000000'
${extraGSettingsOverrides}
EOF
- ${glib.dev}/bin/glib-compile-schemas $out/share/gsettings-schemas/nixos-gsettings-overrides/glib-2.0/schemas/
+ ${glib.dev}/bin/glib-compile-schemas $schema_dir
''
diff --git a/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix b/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
index d8634b48570..0be2431d33d 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-print-shim/default.nix
@@ -1,22 +1,30 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, ninja, pkgconfig, vala, gtk3 }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, pkgconfig
+, vala
+, gtk3
+}:
stdenv.mkDerivation rec {
- pname = "print";
+ pname = "elementary-print-shim";
version = "0.1.3";
- name = "elementary-print-shim-${version}";
+ repoName = "print";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1w3cfap7j42x14mqpfqdm46hk5xc0v5kv8r6wxcnknr3sfxi8qlp";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}-shim";
+ inherit repoName;
+ attrPath = pname;
};
};
diff --git a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
index a6ec70a6b58..7b0657bcd80 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-session-settings/default.nix
@@ -1,4 +1,19 @@
-{ stdenv, fetchFromGitHub, substituteAll, writeScript, pantheon, gnome-keyring, gnome-session, wingpanel, orca, at-spi2-core, elementary-default-settings, writeTextFile, writeShellScriptBin, elementary-settings-daemon, runtimeShell }:
+{ stdenv
+, fetchFromGitHub
+, substituteAll
+, writeScript
+, pantheon
+, gnome-keyring
+, gnome-session
+, wingpanel
+, orca
+, onboard
+, at-spi2-core
+, elementary-default-settings
+, writeShellScriptBin
+, elementary-settings-daemon
+, runtimeShell
+}:
let
@@ -7,7 +22,7 @@ let
#
#
- # Upstream relies on /etc/skel to initiate a new users home directory with planks dockitems.
+ # Upstream relies on /etc/skel to initiate a new users home directory with plank's dockitems.
#
# That is not possible within nixos, but we can achieve this easily with a simple script that copies
# them. We then use a xdg autostart and initalize it during the "EarlyInitialization" phase of a gnome session
@@ -32,7 +47,7 @@ let
dockitemAutostart = substituteAll {
src = ./default-elementary-dockitems.desktop;
- script = "${dockitems-script}";
+ script = dockitems-script;
};
executable = writeShellScriptBin "pantheon" ''
@@ -44,35 +59,36 @@ let
in
stdenv.mkDerivation rec {
- pname = "session-settings";
+ pname = "elementary-session-settings";
version = "5.0.3";
- name = "elementary-${pname}-${version}";
+ repoName = "session-settings";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1vrjm7bklkfv0dyafm312v4hxzy6lb7p1ny4ijkn48kr719gc71k";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
dontBuild = true;
+ dontConfigure = true;
installPhase = ''
mkdir -p $out/share/applications
cp -av ${./pantheon-mimeapps.list} $out/share/applications/pantheon-mimeapps.list
mkdir -p $out/etc/xdg/autostart
- cp -av ${gnome-keyring}/etc/xdg/autostart/* $out/etc/xdg/autostart
- cp -av ${orca}/etc/xdg/autostart/* $out/etc/xdg/autostart
- cp -av ${at-spi2-core}/etc/xdg/autostart/* $out/etc/xdg/autostart
+ for package in ${gnome-keyring} ${orca} ${onboard} ${at-spi2-core}; do
+ cp -av $package/etc/xdg/autostart/* $out/etc/xdg/autostart
+ done
cp "${dockitemAutostart}" $out/etc/xdg/autostart/default-elementary-dockitems.desktop
diff --git a/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix b/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
index 6ceebf1980c..20b1ac7d353 100644
--- a/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
+++ b/pkgs/desktops/pantheon/desktop/elementary-shortcut-overlay/default.nix
@@ -1,29 +1,42 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, libxml2, desktop-file-utils
-, gtk3, glib, granite, libgee, elementary-icon-theme, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, libxml2
+, desktop-file-utils
+, gtk3
+, glib
+, granite
+, libgee
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "shortcut-overlay";
+ pname = "elementary-shortcut-overlay";
version = "1.0.1";
- name = "elementary-${pname}-${version}";
+ repoName = "shortcut-overlay";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "1ph4rx2l5fn0zh4fjfjlgbgskmzc0lvzqgcv7v4kr5m4rij1p4y4";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
libxml2
meson
ninja
diff --git a/pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix b/pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
index 4e19a65b58d..8e180ca83a6 100644
--- a/pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
+++ b/pkgs/desktops/pantheon/desktop/extra-elementary-contracts/default.nix
@@ -1,11 +1,14 @@
-{ stdenv, substituteAll, fetchFromGitHub, file-roller, gnome-bluetooth }:
+{ stdenv
+, substituteAll
+, fetchFromGitHub
+, file-roller
+, gnome-bluetooth
+}:
stdenv.mkDerivation rec {
pname = "extra-elementary-contracts";
version = "2018-08-21";
- name = "${pname}-${version}";
-
src = fetchFromGitHub {
owner = "worldofpeace";
repo = pname;
@@ -16,12 +19,13 @@ stdenv.mkDerivation rec {
patches = [
(substituteAll {
src = ./exec-path.patch;
- file_roller = "${file-roller}";
- gnome_bluetooth = "${gnome-bluetooth}";
+ file_roller = file-roller;
+ gnome_bluetooth = gnome-bluetooth;
})
];
dontBuild = true;
+ dontConfigure = true;
installPhase = ''
mkdir -p $out/share/contractor
diff --git a/pkgs/desktops/pantheon/desktop/gala/default.nix b/pkgs/desktops/pantheon/desktop/gala/default.nix
index bc29dba9718..b80e93279c8 100644
--- a/pkgs/desktops/pantheon/desktop/gala/default.nix
+++ b/pkgs/desktops/pantheon/desktop/gala/default.nix
@@ -1,17 +1,38 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, vala
-, desktop-file-utils, gettext, libxml2, gtk3, granite, libgee, bamf, libcanberra
-, libcanberra-gtk3, gnome-desktop, mutter, clutter, plank, gobject-introspection
-, elementary-icon-theme, elementary-settings-daemon, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, desktop-file-utils
+, gettext
+, libxml2
+, gtk3
+, granite
+, libgee
+, bamf
+, libcanberra
+, libcanberra-gtk3
+, gnome-desktop
+, mutter
+, clutter
+, plank
+, elementary-icon-theme
+, elementary-settings-daemon
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "gala";
- version = "unstable-2019-05-14"; # Is tracking https://github.com/elementary/gala/commits/stable/juno
+ version = "unstable-2019-07-21"; # Is tracking https://github.com/elementary/gala/commits/stable/juno
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
- rev = "3ae100da4bbd9dabe353f468778ef63ef2dcd5d7";
- sha256 = "08xcj4z9mq511w8hdpr60nmd6j1cj7rs7rgs4s5ivyg11kg5w17b";
+ rev = "50694796d4c8f0ca92517d5a628b0efdf748279c";
+ sha256 = "17d0hd2145mrf8y5ws3xypdbwj72qv7hrrp6p6lm4k16xd96yznr";
};
passthru = {
@@ -24,7 +45,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
desktop-file-utils
gettext
- gobject-introspection
libxml2
meson
ninja
@@ -49,7 +69,9 @@ stdenv.mkDerivation rec {
plank
];
- patches = [ ./plugins-dir.patch ];
+ patches = [
+ ./plugins-dir.patch
+ ];
postPatch = ''
chmod +x build-aux/meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
index e905ce9d854..ae138c9215c 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/applications-menu/default.nix
@@ -1,25 +1,46 @@
-{ stdenv, fetchFromGitHub, pantheon, substituteAll, meson, ninja, python3
-, pkgconfig, vala, granite, libgee, gettext, gtk3, appstream, gnome-menus
-, json-glib, plank, bamf, switchboard, libunity, libsoup, wingpanel, libwnck3
-, zeitgeist, bc }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, substituteAll
+, meson
+, ninja
+, python3
+, pkgconfig
+, vala
+, granite
+, libgee
+, gettext
+, gtk3
+, appstream
+, gnome-menus
+, json-glib
+, plank
+, bamf
+, switchboard
+, libunity
+, libsoup
+, wingpanel
+, zeitgeist
+, bc
+}:
stdenv.mkDerivation rec {
- pname = "applications-menu";
+ pname = "wingpanel-applications-menu";
version = "2.4.3";
- name = "wingpanel-${pname}-${version}";
+ repoName = "applications-menu";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "15mwfynaa57jii43x77iaz5gqjlylh5zxc70am8zgp8vhgzflvyd";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "wingpanel-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
@@ -42,7 +63,6 @@ stdenv.mkDerivation rec {
libgee
libsoup
libunity
- libwnck3
plank
switchboard
wingpanel
@@ -50,11 +70,11 @@ stdenv.mkDerivation rec {
];
mesonFlags = [
- "--sysconfdir=${placeholder ''out''}/etc"
+ "--sysconfdir=${placeholder "out"}/etc"
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
- PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder ''out''}/lib/switchboard";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
+ PKG_CONFIG_SWITCHBOARD_2_0_PLUGSDIR = "${placeholder "out"}/lib/switchboard";
patches = [
(substituteAll {
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
index 571dab02c31..36d1cf0e77a 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/bluetooth/default.nix
@@ -1,6 +1,20 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3
-, ninja, vala, gtk3, granite, libnotify, wingpanel, libgee, libxml2
-, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, gtk3
+, granite
+, libnotify
+, wingpanel
+, libgee
+, libxml2
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-bluetooth";
@@ -20,7 +34,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
libxml2
meson
ninja
@@ -39,7 +52,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
postPatch = ''
chmod +x meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
index 297e99fe47b..74408a4ed6d 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/datetime/default.nix
@@ -1,7 +1,24 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pantheon, pkgconfig, meson, python3
-, ninja, substituteAll, vala, gtk3, granite, wingpanel, evolution-data-server
-, libical, libgee, libxml2, libsoup, gobject-introspection
-, elementary-calendar, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, gtk3
+, granite
+, wingpanel
+, evolution-data-server
+, libical
+, libgee
+, libxml2
+, libsoup
+, elementary-calendar
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-datetime";
@@ -21,7 +38,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
libxml2
meson
ninja
@@ -55,7 +71,7 @@ stdenv.mkDerivation rec {
})
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
postPatch = ''
chmod +x meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix
index f34ca29a98b..5431b982f54 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/keyboard/default.nix
@@ -1,6 +1,21 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja
-, substituteAll, vala, gtk3, granite, libxml2, wingpanel, libgee
-, xorg, libgnomekbd, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, substituteAll
+, vala
+, gtk3
+, granite
+, libxml2
+, wingpanel
+, libgee
+, xorg
+, libgnomekbd
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-keyboard";
@@ -20,7 +35,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
libxml2
@@ -45,7 +59,7 @@ stdenv.mkDerivation rec {
})
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
meta = with stdenv.lib; {
description = "Keyboard Indicator for Wingpanel";
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix
index 2ac05fdc6d8..6ba19ebf77e 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/network/default.nix
@@ -1,6 +1,19 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
-, gtk3, granite, networkmanager, networkmanagerapplet, wingpanel
-, libgee, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, gtk3
+, granite
+, networkmanager
+, networkmanagerapplet
+, wingpanel
+, libgee
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-network";
@@ -20,7 +33,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -38,7 +50,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
meta = with stdenv.lib; {
description = "Network Indicator for Wingpanel";
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
index 8e450726976..0327d5e78e2 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/nightlight/default.nix
@@ -1,6 +1,18 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala
-, gtk3, granite, wingpanel, libgee, libxml2, gobject-introspection
-, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, gtk3
+, granite
+, wingpanel
+, libgee
+, libxml2
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-nightlight";
@@ -20,7 +32,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
libxml2
meson
ninja
@@ -37,7 +48,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
meta = with stdenv.lib; {
description = "Night Light Indicator for Wingpanel";
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
index 6a7fcfbb4e0..a4266a6f459 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/notifications/default.nix
@@ -1,5 +1,18 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja, vala, gtk3, granite
-, wingpanel, libgee, libwnck3, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, gtk3
+, granite
+, wingpanel
+, libgee
+, libwnck3
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-notifications";
@@ -19,7 +32,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -36,7 +48,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
meta = with stdenv.lib; {
description = "Notifications Indicator for Wingpanel";
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix
index 45a4e543b66..9f9d4703060 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/power/default.nix
@@ -1,6 +1,21 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3
-, ninja, vala, gtk3, granite, bamf, libgtop, udev, wingpanel
-, libgee, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, gtk3
+, granite
+, bamf
+, libgtop
+, udev
+, wingpanel
+, libgee
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-power";
@@ -20,7 +35,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -40,7 +54,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
postPatch = ''
chmod +x meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
index a46e001e7a0..f48638ff2b1 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/session/default.nix
@@ -1,16 +1,28 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
-, ninja, vala, gtk3, granite, wingpanel, accountsservice
-, libgee, gobject-introspection, elementary-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, gtk3
+, granite
+, wingpanel
+, accountsservice
+, libgee
+, elementary-icon-theme
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-session";
- version = "2.2.3";
+ version = "2.2.5";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "1y0blff02p3w23sv17yg7fq0yq0g2k8j7vjmk92k664fx72kjjzh";
+ sha256 = "0lqh9g6qq09m744gncspm79lbwx1vjl1d6j2szwcq9f0jdm01pm5";
};
passthru = {
@@ -20,7 +32,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
@@ -37,7 +48,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
meta = with stdenv.lib; {
description = "Session Indicator for Wingpanel";
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
index fc40c2faf5e..038ab75094c 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel-indicators/sound/default.nix
@@ -1,7 +1,22 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson
-, python3, ninja, vala, gtk3, granite, wingpanel, libnotify
-, pulseaudio, libcanberra-gtk3, libgee, libxml2, wrapGAppsHook
-, gobject-introspection, elementary-icon-theme }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, gtk3
+, granite
+, wingpanel
+, libnotify
+, pulseaudio
+, libcanberra-gtk3
+, libgee
+, libxml2
+, wrapGAppsHook
+, elementary-icon-theme
+}:
stdenv.mkDerivation rec {
pname = "wingpanel-indicator-sound";
@@ -21,7 +36,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
libxml2
meson
ninja
@@ -42,7 +56,7 @@ stdenv.mkDerivation rec {
wingpanel
];
- PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder ''out''}/lib/wingpanel";
+ PKG_CONFIG_WINGPANEL_2_0_INDICATORSDIR = "${placeholder "out"}/lib/wingpanel";
postPatch = ''
chmod +x meson/post_install.py
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel/default.nix b/pkgs/desktops/pantheon/desktop/wingpanel/default.nix
index 28b226bdedb..b98c205d491 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel/default.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel/default.nix
@@ -1,16 +1,30 @@
-{ stdenv, fetchFromGitHub, pantheon, fetchpatch, wrapGAppsHook, pkgconfig, meson, ninja
-, vala, gala, gtk3, libgee, granite, gettext, glib-networking, mutter, json-glib
-, python3, gobject-introspection }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, wrapGAppsHook
+, pkgconfig
+, meson
+, ninja
+, vala
+, gala
+, gtk3
+, libgee
+, granite
+, gettext
+, mutter
+, json-glib
+, python3
+}:
stdenv.mkDerivation rec {
pname = "wingpanel";
- version = "2.2.4";
+ version = "2.2.5";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "17xl4l0znr91aj6kb9p0rswyii4gy8k16r9fvj7d96dd5szdp4mc";
+ sha256 = "15pl3km8jfmlgrrb2fcabdd0rkc849arz6sc3vz6azzpln7gxbq7";
};
passthru = {
@@ -21,8 +35,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
gettext
- glib-networking
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix b/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
index cfae604d3a5..6b554d89caa 100644
--- a/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
+++ b/pkgs/desktops/pantheon/desktop/wingpanel/wrapper.nix
@@ -1,4 +1,11 @@
-{ lib, makeWrapper, symlinkJoin, wingpanel, wingpanelIndicators, switchboard-with-plugs, indicators ? null }:
+{ lib
+, makeWrapper
+, symlinkJoin
+, wingpanel
+, wingpanelIndicators
+, switchboard-with-plugs
+, indicators ? null
+}:
let
selectedIndicators = if indicators == null then wingpanelIndicators else indicators;
diff --git a/pkgs/desktops/pantheon/granite/default.nix b/pkgs/desktops/pantheon/granite/default.nix
index 66ba331ddcd..521d22d2335 100644
--- a/pkgs/desktops/pantheon/granite/default.nix
+++ b/pkgs/desktops/pantheon/granite/default.nix
@@ -1,4 +1,20 @@
-{ stdenv, fetchFromGitHub, fetchpatch, python3, meson, ninja, vala, pkgconfig, gobject-introspection, libgee, pantheon, gtk3, glib, gettext, hicolor-icon-theme, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, fetchpatch
+, python3
+, meson
+, ninja
+, vala
+, pkgconfig
+, libgee
+, pantheon
+, gtk3
+, glib
+, gettext
+, hicolor-icon-theme
+, gobject-introspection
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "granite";
@@ -50,9 +66,9 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "An extension to GTK+ used by elementary OS";
+ description = "An extension to GTK used by elementary OS";
longDescription = ''
- Granite is a companion library for GTK+ and GLib. Among other things, it provides complex widgets and convenience functions
+ Granite is a companion library for GTK and GLib. Among other things, it provides complex widgets and convenience functions
designed for use in apps built for elementary OS.
'';
homepage = https://github.com/elementary/granite;
diff --git a/pkgs/desktops/pantheon/services/cerbere/default.nix b/pkgs/desktops/pantheon/services/cerbere/default.nix
index 59983469c11..a8eaf766664 100644
--- a/pkgs/desktops/pantheon/services/cerbere/default.nix
+++ b/pkgs/desktops/pantheon/services/cerbere/default.nix
@@ -1,14 +1,25 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, glib, libgee, vala, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, glib
+, libgee
+, vala
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "cerbere";
- version = "0.2.4";
+ version = "2.5.0";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0f9jr6q5z6nir5b77f96wm9rx6r6s9i0sr1yrymg3n7jyjgrvdwp";
+ sha256 = "12y6gg4vyc1rhdm2c7pr7bgmdrah7ddphyh25fgh3way8l9gh7vw";
};
passthru = {
@@ -18,7 +29,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/services/contractor/default.nix b/pkgs/desktops/pantheon/services/contractor/default.nix
index d7d3cdb0312..b10e97f77d7 100644
--- a/pkgs/desktops/pantheon/services/contractor/default.nix
+++ b/pkgs/desktops/pantheon/services/contractor/default.nix
@@ -1,4 +1,17 @@
-{ stdenv, fetchFromGitHub, pantheon, meson, python3, ninja, pkgconfig, vala, glib, libgee, dbus, glib-networking, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, python3
+, ninja
+, pkgconfig
+, vala
+, glib
+, libgee
+, dbus
+, glib-networking
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "contractor";
@@ -33,7 +46,7 @@ stdenv.mkDerivation rec {
libgee
];
- PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "share/dbus-1/services";
+ PKG_CONFIG_DBUS_1_SESSION_BUS_SERVICES_DIR = "${placeholder "out"}/share/dbus-1/services";
meta = with stdenv.lib; {
description = "A desktop-wide extension service used by elementary OS";
diff --git a/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix b/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
index e77948ccf29..6305c872b2f 100644
--- a/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
+++ b/pkgs/desktops/pantheon/services/elementary-capnet-assist/default.nix
@@ -1,29 +1,42 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, python3, ninja, vala
-, desktop-file-utils, gtk3, granite, libgee, gcr, webkitgtk, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, python3
+, ninja
+, vala
+, desktop-file-utils
+, gtk3
+, granite
+, libgee
+, gcr
+, webkitgtk
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "capnet-assist";
+ pname = "elementary-capnet-assist";
version = "2.2.3";
- name = "elementary-${pname}-${version}";
+ repoName = "capnet-assist";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "15cnwimkmmsb4rwvgm8bizcsn1krsj6k3qc88izn79is75y6wwji";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
@@ -41,7 +54,9 @@ stdenv.mkDerivation rec {
];
# Not useful here or in elementary - See: https://github.com/elementary/capnet-assist/issues/3
- patches = [ ./remove-capnet-test.patch ];
+ patches = [
+ ./remove-capnet-test.patch
+ ];
postPatch = ''
chmod +x meson/post_install.py
diff --git a/pkgs/desktops/pantheon/services/elementary-dpms-helper/default.nix b/pkgs/desktops/pantheon/services/elementary-dpms-helper/default.nix
index 4dab02d5083..fb9d28eaf6b 100644
--- a/pkgs/desktops/pantheon/services/elementary-dpms-helper/default.nix
+++ b/pkgs/desktops/pantheon/services/elementary-dpms-helper/default.nix
@@ -1,28 +1,37 @@
-{ stdenv, fetchFromGitHub, pantheon, makeWrapper, lib, meson, ninja, desktop-file-utils, glib, coreutils, elementary-settings-daemon, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, meson
+, ninja
+, desktop-file-utils
+, glib
+, coreutils
+, elementary-settings-daemon
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
- pname = "dpms-helper";
+ pname = "elementary-dpms-helper";
version = "1.0";
- name = "elementary-${pname}-${version}";
+ repoName = "dpms-helper";
src = fetchFromGitHub {
owner = "elementary";
- repo = pname;
+ repo = repoName;
rev = version;
sha256 = "0svfp0qyb6nx4mjl3jx4aqmb4x24m25jpi75mdis3yfr3c1xz9nh";
};
passthru = {
updateScript = pantheon.updateScript {
- repoName = pname;
- attrPath = "elementary-${pname}";
+ inherit repoName;
+ attrPath = pname;
};
};
nativeBuildInputs = [
desktop-file-utils
- makeWrapper
meson
ninja
wrapGAppsHook
diff --git a/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix b/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix
index aa451ba7516..67a67dd4b3d 100644
--- a/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix
+++ b/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix
@@ -36,25 +36,26 @@
, systemd
, tzdata
, upower
+, libXtst
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "elementary-settings-daemon";
- version = "3.32.0";
+ version = "3.30.2";
- projectName = "gnome-settings-daemon";
+ repoName = "gnome-settings-daemon";
src = fetchurl {
- url = "mirror://gnome/sources/${projectName}/${stdenv.lib.versions.majorMinor version}/${projectName}-${version}.tar.xz";
- sha256 = "15w3sn9qf1zqlmk8c93kgrh2a20s62m5yfizkp21m5ylrrd07f63";
+ url = "mirror://gnome/sources/${repoName}/${stdenv.lib.versions.majorMinor version}/${repoName}-${version}.tar.xz";
+ sha256 = "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12";
};
# Source for ubuntu's patchset
src2 = fetchgit {
- url = "https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/${projectName}";
+ url = "https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/${repoName}";
rev = "refs/tags/ubuntu/${version}-1ubuntu1";
- sha256 = "0ayd50mr0pv2h4j1r1haf8y2hj8jv59vypa7lx8jis0llrm7s3yn";
+ sha256 = "02awkhw6jqm7yh812mw0nsdmsljfi8ksz8mvd2qpns5pcv002g2c";
};
# We've omitted the 53_sync_input_sources_to_accountsservice patch because it breaks the build.
@@ -71,6 +72,7 @@ stdenv.mkDerivation rec {
"${patchPath}/64_restore_terminal_keyboard_shortcut_schema.patch"
"${patchPath}/correct_logout_action.patch"
"${patchPath}/ubuntu-lid-close-suspend.patch"
+ "${patchPath}/revert-wacom-migration.patch"
"${patchPath}/revert-gsettings-removals.patch"
"${patchPath}/revert-mediakeys-dbus-interface-drop.patch"
"${patchPath}/ubuntu_ibus_configs.patch"
@@ -129,6 +131,7 @@ stdenv.mkDerivation rec {
gsettings-desktop-schemas
gtk3
lcms2
+ libXtst
libcanberra-gtk3
libgnomekbd # for org.gnome.libgnomekbd.keyboard schema
libgudev
@@ -147,9 +150,15 @@ stdenv.mkDerivation rec {
"-Dudev_dir=${placeholder "out"}/lib/udev"
];
+ NIX_CFLAGS_COMPILE = [
+ # Default for release buildtype but passed manually because
+ # we're using plain
+ "-DG_DISABLE_CAST_CHECKS"
+ ];
+
passthru = {
updateScript = gnome3.updateScript {
- packageName = projectName;
+ packageName = repoName;
attrPath = "pantheon.${pname}";
};
};
diff --git a/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch b/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch
index dcdc83934ba..c073b23e6b9 100644
--- a/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch
+++ b/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch
@@ -1,18 +1,18 @@
-diff --git a/plugins/power/gsd-backlight.c b/plugins/power/gsd-backlight.c
-index d7d10fd2..5619d6ad 100644
---- a/plugins/power/gsd-backlight.c
-+++ b/plugins/power/gsd-backlight.c
-@@ -358,7 +358,7 @@ gsd_backlight_run_set_helper (GsdBacklight *backlight, GTask *task)
- proc = g_subprocess_new (G_SUBPROCESS_FLAGS_STDOUT_SILENCE,
- &error,
- "pkexec",
-- LIBEXECDIR "/gsd-backlight-helper",
-+ "/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper",
- g_udev_device_get_sysfs_path (backlight->udev_device),
- data->value_str, NULL);
- } else {
+diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c
+index e83f1549..15890053 100644
+--- a/plugins/power/gpm-common.c
++++ b/plugins/power/gpm-common.c
+@@ -452,7 +452,7 @@ run_backlight_helper (enum BacklightHelperCommand command,
+ gchar *argv[5] = { 0 };
+
+ argv[0] = "pkexec";
+- argv[1] = LIBEXECDIR "/gsd-backlight-helper";
++ argv[1] = "/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper";
+ argv[2] = helper_args[command];
+ argv[3] = value;
+
diff --git a/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in b/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in
-index f16300f8..79d6bd17 100644
+index f16300f8..f19bba3e 100644
--- a/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in
+++ b/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in
@@ -25,7 +25,7 @@
@@ -22,5 +22,5 @@ index f16300f8..79d6bd17 100644
- @libexecdir@/gsd-backlight-helper
+ /run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper
-
+
diff --git a/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix b/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
index 2487c4ba3af..8afbbbeed82 100644
--- a/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
+++ b/pkgs/desktops/pantheon/services/pantheon-agent-geoclue2/default.nix
@@ -1,15 +1,27 @@
-{ stdenv, fetchFromGitHub, fetchpatch, pantheon, pkgconfig, meson, ninja, vala, glib
-, gtk3, libgee, desktop-file-utils, geoclue2, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, glib
+, gtk3
+, libgee
+, desktop-file-utils
+, geoclue2
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-geoclue2";
- version = "1.0.1";
+ version = "1.0.2";
src = fetchFromGitHub {
owner = "elementary";
repo = pname;
rev = version;
- sha256 = "0fww65dnbg9zn0gy1q2db39kjra50ykzw05pmn9iwxkijyxi8hm5";
+ sha256 = "1hjnbbzsch09090b200b3i85x8fv95agfqd6nrlc9za3jqjhm2xs";
};
passthru = {
@@ -20,7 +32,6 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [
desktop-file-utils
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix b/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
index 4fdaa4a8bf9..53a65ddb947 100644
--- a/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
+++ b/pkgs/desktops/pantheon/services/pantheon-agent-polkit/default.nix
@@ -1,5 +1,15 @@
-{ stdenv, fetchFromGitHub, pantheon, pkgconfig, meson, ninja
-, vala, gtk3, libgee, polkit, gobject-introspection, wrapGAppsHook }:
+{ stdenv
+, fetchFromGitHub
+, pantheon
+, pkgconfig
+, meson
+, ninja
+, vala
+, gtk3
+, libgee
+, polkit
+, wrapGAppsHook
+}:
stdenv.mkDerivation rec {
pname = "pantheon-agent-polkit";
@@ -19,7 +29,6 @@ stdenv.mkDerivation rec {
};
nativeBuildInputs = [
- gobject-introspection
meson
ninja
pkgconfig
diff --git a/pkgs/desktops/pantheon/update.nix b/pkgs/desktops/pantheon/update.nix
index 48fd2f2bf85..3bc432c5d32 100644
--- a/pkgs/desktops/pantheon/update.nix
+++ b/pkgs/desktops/pantheon/update.nix
@@ -1,5 +1,21 @@
-{ stdenv, writeScript, runCommand, nix, bash, git, jq, nix-prefetch-scripts, coreutils, common-updater-scripts, gnugrep, gnused, curl }:
-{ repoName, attrPath ? repoName, versionPolicy ? "release" }:
+{ runCommand
+, nix
+, bash
+, git
+, jq
+, nix-prefetch-scripts
+, coreutils
+, common-updater-scripts
+, gnugrep
+, gnused
+, curl
+}:
+
+{ repoName
+, attrPath ? repoName
+, versionPolicy ? "release"
+}:
+
let
script = ./update.sh;
@@ -13,6 +29,8 @@ let
chmod +x $out
'';
- versionFlag = { "release" = "-r"; "master" = "-m"; }.${versionPolicy};
+ throwFlag = throw "${versionPolicy} is not a valid versionPolicy - Options are either 'release' or 'master' (defaults to release).";
+
+ versionFlag = { release = "-r"; master = "-m"; }.${versionPolicy} or throwFlag;
in [ updateScript versionFlag repoName attrPath ]
diff --git a/pkgs/desktops/plasma-5/default.nix b/pkgs/desktops/plasma-5/default.nix
index d1bd9e957f7..e188e4e3fcd 100644
--- a/pkgs/desktops/plasma-5/default.nix
+++ b/pkgs/desktops/plasma-5/default.nix
@@ -72,7 +72,7 @@ let
let
inherit (args) name;
sname = args.sname or name;
- inherit (srcs."${sname}") src version;
+ inherit (srcs.${sname}) src version;
outputs = args.outputs or [ "out" ];
hasBin = lib.elem "bin" outputs;
@@ -86,7 +86,7 @@ let
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
platforms = lib.platforms.linux;
- maintainers = with lib.maintainers; [ ttuegel ];
+ maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
homepage = http://www.kde.org;
} // (args.meta or {});
in
diff --git a/pkgs/desktops/plasma-5/fetch.sh b/pkgs/desktops/plasma-5/fetch.sh
index 034b57ec06a..e2e6da6f07c 100644
--- a/pkgs/desktops/plasma-5/fetch.sh
+++ b/pkgs/desktops/plasma-5/fetch.sh
@@ -1 +1 @@
-WGET_ARGS=( https://download.kde.org/stable/plasma/5.15.5/ )
+WGET_ARGS=( https://download.kde.org/stable/plasma/5.16.5/ )
diff --git a/pkgs/desktops/plasma-5/ksysguard.nix b/pkgs/desktops/plasma-5/ksysguard.nix
index 150b97be50d..01e740f74c4 100644
--- a/pkgs/desktops/plasma-5/ksysguard.nix
+++ b/pkgs/desktops/plasma-5/ksysguard.nix
@@ -3,7 +3,7 @@
extra-cmake-modules, kdoctools,
lm_sensors,
kconfig, kcoreaddons, kdelibs4support, ki18n, kiconthemes, kitemviews,
- knewstuff, libksysguard, qtwebkit
+ knewstuff, libksysguard
}:
mkDerivation {
@@ -11,6 +11,6 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard
- kdelibs4support ki18n lm_sensors qtwebkit
+ kdelibs4support ki18n lm_sensors
];
}
diff --git a/pkgs/desktops/plasma-5/kwallet-pam.nix b/pkgs/desktops/plasma-5/kwallet-pam.nix
index 1cbfb87ea56..b4fd032cf1f 100644
--- a/pkgs/desktops/plasma-5/kwallet-pam.nix
+++ b/pkgs/desktops/plasma-5/kwallet-pam.nix
@@ -1,9 +1,9 @@
-{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, }:
+{ mkDerivation, lib, extra-cmake-modules, pam, socat, libgcrypt, qtbase, kwallet, }:
mkDerivation {
name = "kwallet-pam";
nativeBuildInputs = [ extra-cmake-modules ];
- buildInputs = [ pam socat libgcrypt qtbase ];
+ buildInputs = [ pam socat libgcrypt qtbase kwallet ];
postPatch = ''
sed -i pam_kwallet_init -e "s|socat|${lib.getBin socat}/bin/socat|"
'';
diff --git a/pkgs/desktops/plasma-5/kwin/scripts/tiling.nix b/pkgs/desktops/plasma-5/kwin/scripts/tiling.nix
new file mode 100644
index 00000000000..d2c68d3cb7b
--- /dev/null
+++ b/pkgs/desktops/plasma-5/kwin/scripts/tiling.nix
@@ -0,0 +1,44 @@
+{ lib, mkDerivation, fetchFromGitHub
+, kcoreaddons, kwindowsystem, plasma-framework, systemsettings }:
+
+mkDerivation rec {
+ pname = "kwin-tiling";
+ version = "2.2";
+
+ src = fetchFromGitHub {
+ owner = "kwin-scripts";
+ repo = "kwin-tiling";
+ rev = "v${version}";
+ sha256 = "1sx64xv7g9yh3j26zxxrbndv79xam9jq0vs00fczgfv2n0m7j7bl";
+ };
+
+ # This is technically not needed, but we might as well clean up
+ postPatch = ''
+ rm release.sh
+ '';
+
+ buildInputs = [
+ kcoreaddons kwindowsystem plasma-framework systemsettings
+ ];
+
+ dontBuild = true;
+
+ # 1. --global still installs to $HOME/.local/share so we use --packageroot
+ # 2. plasmapkg2 doesn't copy metadata.desktop into place, so we do that manually
+ installPhase = ''
+ runHook preInstall
+
+ plasmapkg2 --type kwinscript --install ${src} --packageroot $out/share/kwin/scripts
+ install -Dm644 ${src}/metadata.desktop $out/share/kservices5/kwin-script-tiling.desktop
+
+ runHook postInstalll
+ '';
+
+ meta = with lib; {
+ description = "Tiling script for kwin";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ peterhoeg ];
+ inherit (src.meta) homepage;
+ inherit (kwindowsystem.meta) platforms;
+ };
+}
diff --git a/pkgs/desktops/plasma-5/kwin/xwayland.patch b/pkgs/desktops/plasma-5/kwin/xwayland.patch
index 51f15c87d27..9d405b3bbb8 100644
--- a/pkgs/desktops/plasma-5/kwin/xwayland.patch
+++ b/pkgs/desktops/plasma-5/kwin/xwayland.patch
@@ -1,13 +1,13 @@
-Index: kwin-5.7.3/main_wayland.cpp
+Index: kwin-5.15.5/xwl/xwayland.cpp
===================================================================
---- kwin-5.7.3.orig/main_wayland.cpp
-+++ kwin-5.7.3/main_wayland.cpp
-@@ -315,7 +315,7 @@ void ApplicationWayland::startXwaylandSe
+--- kwin-5.15.5.orig/xwl/xwayland.cpp
++++ kwin-5.15.5/xwl/xwayland.cpp
+@@ -143,7 +143,7 @@ void Xwayland::init()
- m_xwaylandProcess = new Process(kwinApp());
+ m_xwaylandProcess = new Process(this);
m_xwaylandProcess->setProcessChannelMode(QProcess::ForwardedErrorChannel);
- m_xwaylandProcess->setProgram(QStringLiteral("Xwayland"));
+ m_xwaylandProcess->setProgram(QLatin1String(NIXPKGS_XWAYLAND));
- QProcessEnvironment env = m_environment;
+ QProcessEnvironment env = m_app->processStartupEnvironment();
env.insert("WAYLAND_SOCKET", QByteArray::number(wlfd));
- m_xwaylandProcess->setProcessEnvironment(env);
+ env.insert("EGL_PLATFORM", QByteArrayLiteral("DRM"));
diff --git a/pkgs/desktops/plasma-5/libksysguard/default.nix b/pkgs/desktops/plasma-5/libksysguard/default.nix
index 0f9fe40d73c..96d113e11fb 100644
--- a/pkgs/desktops/plasma-5/libksysguard/default.nix
+++ b/pkgs/desktops/plasma-5/libksysguard/default.nix
@@ -2,7 +2,7 @@
mkDerivation,
extra-cmake-modules,
kauth, kcompletion, kconfig, kconfigwidgets, kcoreaddons, ki18n, kiconthemes,
- kservice, kwidgetsaddons, kwindowsystem, plasma-framework, qtscript, qtwebkit,
+ kservice, kwidgetsaddons, kwindowsystem, plasma-framework, qtscript, qtwebengine,
qtx11extras
}:
@@ -15,7 +15,7 @@ mkDerivation {
buildInputs = [
kauth kconfig ki18n kiconthemes kwindowsystem kcompletion kconfigwidgets
kcoreaddons kservice kwidgetsaddons plasma-framework qtscript qtx11extras
- qtwebkit
+ qtwebengine
];
outputs = [ "bin" "dev" "out" ];
}
diff --git a/pkgs/desktops/plasma-5/plasma-desktop/default.nix b/pkgs/desktops/plasma-5/plasma-desktop/default.nix
index 32bd5f3a9f2..4183b38ba49 100644
--- a/pkgs/desktops/plasma-5/plasma-desktop/default.nix
+++ b/pkgs/desktops/plasma-5/plasma-desktop/default.nix
@@ -15,7 +15,7 @@
plasma-workspace, xf86inputlibinput
}:
-mkDerivation rec {
+mkDerivation {
name = "plasma-desktop";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
diff --git a/pkgs/desktops/plasma-5/plasma-workspace/default.nix b/pkgs/desktops/plasma-5/plasma-workspace/default.nix
index 2866cddbea1..1403c9e4c8b 100644
--- a/pkgs/desktops/plasma-5/plasma-workspace/default.nix
+++ b/pkgs/desktops/plasma-5/plasma-workspace/default.nix
@@ -1,5 +1,5 @@
{
- mkDerivation, lib, fetchpatch,
+ mkDerivation, lib,
extra-cmake-modules, kdoctools,
@@ -34,7 +34,8 @@ mkDerivation {
qtgraphicaleffects qtquickcontrols qtquickcontrols2 qtscript qtwayland qtx11extras
];
- outputs = [ "bin" "dev" "out" ];
+ propagatedUserEnvPkgs = [ qtgraphicaleffects ];
+ outputs = [ "out" "dev" ];
cmakeFlags = [
"-DNIXPKGS_XMESSAGE=${getBin xmessage}/bin/xmessage"
@@ -45,7 +46,7 @@ mkDerivation {
"-DNIXPKGS_XPROP=${getBin xprop}/bin/xprop"
"-DNIXPKGS_ID=${getBin coreutils}/bin/id"
"-DNIXPKGS_DBUS_UPDATE_ACTIVATION_ENVIRONMENT=${getBin dbus}/bin/dbus-update-activation-environment"
- "-DNIXPKGS_START_KDEINIT_WRAPPER=${getLib kinit}/lib/libexec/kf5/start_kdeinit_wrapper"
+ "-DNIXPKGS_START_KDEINIT_WRAPPER=${getLib kinit}/libexec/kf5/start_kdeinit_wrapper"
"-DNIXPKGS_QDBUS=${getBin qttools}/bin/qdbus"
"-DNIXPKGS_KWRAPPER5=${getBin kinit}/bin/kwrapper5"
"-DNIXPKGS_KREADCONFIG5=${getBin kconfig}/bin/kreadconfig5"
@@ -72,10 +73,6 @@ mkDerivation {
preConfigure = ''
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_KDOSTARTUPCONFIG5=\"''${!outputBin}/bin/kdostartupconfig5\""
- cmakeFlags+=" -DNIXPKGS_STARTPLASMA=''${!outputBin}/lib/libexec/startplasma"
- '';
-
- postInstall = ''
- moveToOutput lib/libexec/startplasma ''${!outputBin}
+ cmakeFlags+=" -DNIXPKGS_STARTPLASMA=''${!outputBin}/libexec/startplasma"
'';
}
diff --git a/pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch b/pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch
index 55a4518021e..5c27eee5010 100644
--- a/pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch
+++ b/pkgs/desktops/plasma-5/plasma-workspace/plasma-workspace.patch
@@ -2,12 +2,13 @@ diff --git a/sddm-theme/theme.conf.cmake b/sddm-theme/theme.conf.cmake
index 69d3070..52e9102 100644
--- a/sddm-theme/theme.conf.cmake
+++ b/sddm-theme/theme.conf.cmake
-@@ -1,4 +1,4 @@
+@@ -1,5 +1,5 @@
[General]
type=image
color=#1d99f3
--background=${CMAKE_INSTALL_PREFIX}/${WALLPAPER_INSTALL_DIR}/Next/contents/images/3200x2000.png
-+background=${NIXPKGS_WALLPAPER_INSTALL_DIR}/Next/contents/images/3200x2000.png
+ fontSize=10
+-background=${CMAKE_INSTALL_PREFIX}/${WALLPAPER_INSTALL_DIR}/Next/contents/images/5120x2880.png
++background=${NIXPKGS_WALLPAPER_INSTALL_DIR}/Next/contents/images/5120x2880.png
diff --git a/startkde/CMakeLists.txt b/startkde/CMakeLists.txt
index 6a1a212..f03fd34 100644
--- a/startkde/CMakeLists.txt
diff --git a/pkgs/desktops/plasma-5/srcs.nix b/pkgs/desktops/plasma-5/srcs.nix
index ac0a3494c22..f299ed953de 100644
--- a/pkgs/desktops/plasma-5/srcs.nix
+++ b/pkgs/desktops/plasma-5/srcs.nix
@@ -3,363 +3,363 @@
{
bluedevil = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/bluedevil-5.15.5.tar.xz";
- sha256 = "7379230de96c5e6d4ea40f4dfa8732e20a6ee3bd291e6f119ccb57646c33fe1f";
- name = "bluedevil-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/bluedevil-5.16.5.tar.xz";
+ sha256 = "60ac3471d30cb113b1959eacdaa1f4898f04f779f94a35dbca00993cda4ea464";
+ name = "bluedevil-5.16.5.tar.xz";
};
};
breeze = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/breeze-5.15.5.tar.xz";
- sha256 = "a13de0472dacd5240c3d38d0841ea7b9098405cf1f8cff77504d1824d09dcac4";
- name = "breeze-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/breeze-5.16.5.tar.xz";
+ sha256 = "09225021a2cf396e74cabe692b0a5dcf9a12f0b47f02fb14df6ccc9db01f2e6b";
+ name = "breeze-5.16.5.tar.xz";
};
};
breeze-grub = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/breeze-grub-5.15.5.tar.xz";
- sha256 = "4a27689446d66b7de043321022093e8f457dd4d47c124186f233b0606ddcfd64";
- name = "breeze-grub-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/breeze-grub-5.16.5.tar.xz";
+ sha256 = "ce73297350e7b79b04aa8ba44594e8eca2d37c0342eb331bd5d31679f3887878";
+ name = "breeze-grub-5.16.5.tar.xz";
};
};
breeze-gtk = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/breeze-gtk-5.15.5.tar.xz";
- sha256 = "d4e16ffbcbe74c48fda7c5bfd18c3f479f56d54b761d9b1d9678119479412ca8";
- name = "breeze-gtk-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/breeze-gtk-5.16.5.tar.xz";
+ sha256 = "d9849ecf6c2fc85fde76912410ab36c46ca65b96d80b4e51819ca35015a88098";
+ name = "breeze-gtk-5.16.5.tar.xz";
};
};
breeze-plymouth = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/breeze-plymouth-5.15.5.tar.xz";
- sha256 = "0a518d5a9e1bddeb3e1c7329966ce178a36ab0a0bd6dd28caf803fe8c1680de8";
- name = "breeze-plymouth-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/breeze-plymouth-5.16.5.tar.xz";
+ sha256 = "bb10d2f0185181e6f2fe8e3b85415dfcce6069595e0074b182688c6f567dd0b0";
+ name = "breeze-plymouth-5.16.5.tar.xz";
};
};
discover = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/discover-5.15.5.tar.xz";
- sha256 = "6f2bbaade87b959c8bd847e90ecec0c9aa8b4accee63318d25e5beb77deaf854";
- name = "discover-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/discover-5.16.5.tar.xz";
+ sha256 = "26c47a5c0f59a31f37da85e894a926c76805b66f91dde8ba6d2de8015842d5c1";
+ name = "discover-5.16.5.tar.xz";
};
};
drkonqi = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/drkonqi-5.15.5.tar.xz";
- sha256 = "8669913aa8485257cbb19bbe5bb6956044d0a6896a365cea024b1247d0a6502e";
- name = "drkonqi-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/drkonqi-5.16.5.tar.xz";
+ sha256 = "b4ae1518108c2d3ccbc533708801b52b83b7e9efd6eed9f1ee9d67936b9e78ff";
+ name = "drkonqi-5.16.5.tar.xz";
};
};
kactivitymanagerd = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kactivitymanagerd-5.15.5.tar.xz";
- sha256 = "e38ec9074e0bc5c1a21bd5eee97b7d99e6528186918e832fecf1e3f95da239db";
- name = "kactivitymanagerd-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kactivitymanagerd-5.16.5.tar.xz";
+ sha256 = "e35dbf7aae8a7b7f21b2304935cad96881af558a7c9d947f0114093038b1c4bc";
+ name = "kactivitymanagerd-5.16.5.tar.xz";
};
};
kde-cli-tools = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kde-cli-tools-5.15.5.tar.xz";
- sha256 = "fbff40188d7864a11aa6aea0b6d8cca2c66025924b3cb29275ac6d282ece9ace";
- name = "kde-cli-tools-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kde-cli-tools-5.16.5.tar.xz";
+ sha256 = "bc82b159d3c9a23f0ecb47a8314b645041b01692887a3be0ef0582d54f926de2";
+ name = "kde-cli-tools-5.16.5.tar.xz";
};
};
kdecoration = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kdecoration-5.15.5.tar.xz";
- sha256 = "33d613b706b83c025675d7d2b20e074219c9a0953a500c306081c24fcf84d99f";
- name = "kdecoration-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kdecoration-5.16.5.tar.xz";
+ sha256 = "2b8c7b7cf114d0eff4ec842009cda264d8cf1254ec4bf65868b6d26f263829bb";
+ name = "kdecoration-5.16.5.tar.xz";
};
};
kde-gtk-config = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kde-gtk-config-5.15.5.tar.xz";
- sha256 = "958163b1134b7c9e9735b5b6a4448973f09dbf43991511f768b29bd038baa185";
- name = "kde-gtk-config-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kde-gtk-config-5.16.5.tar.xz";
+ sha256 = "f78abf129aaa7afac2c7a71105b36b9553a975bbcb89ec65a0166099d1cca8c1";
+ name = "kde-gtk-config-5.16.5.tar.xz";
};
};
kdeplasma-addons = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kdeplasma-addons-5.15.5.tar.xz";
- sha256 = "1e11158f636e1d4bb25bbe4bb2f2fca37728c6aae07340ca6c2c1ec9e882ece3";
- name = "kdeplasma-addons-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kdeplasma-addons-5.16.5.tar.xz";
+ sha256 = "a4737a54b75143053a9f8a5bc28c608f843c524872c665d4e5a65bd2853e1e00";
+ name = "kdeplasma-addons-5.16.5.tar.xz";
};
};
kgamma5 = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kgamma5-5.15.5.tar.xz";
- sha256 = "5e5d2dd439d4fd298eb0283fd9f2bad009c5efe22f72aea795138d22adfdc1e7";
- name = "kgamma5-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kgamma5-5.16.5.tar.xz";
+ sha256 = "838fabf4312f022ee3df5bba940c0c73e26260cfee39235c1ba8da8a2e61bfa0";
+ name = "kgamma5-5.16.5.tar.xz";
};
};
khotkeys = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/khotkeys-5.15.5.tar.xz";
- sha256 = "59dd6a571d52401b1963cde732b6c6c589a328438155ec0e0c5c77b5ac029127";
- name = "khotkeys-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/khotkeys-5.16.5.tar.xz";
+ sha256 = "e7b866b5249ff7c5860a5a222dca79691ca1f09af176f786021fbbadbd718c8c";
+ name = "khotkeys-5.16.5.tar.xz";
};
};
kinfocenter = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kinfocenter-5.15.5.tar.xz";
- sha256 = "0119da58b2274bab76ef27d37032b5b104bad162675bfbee631286186d2e17a8";
- name = "kinfocenter-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kinfocenter-5.16.5.tar.xz";
+ sha256 = "e3bbc5e2baedf35dc8750c99e18c115b651f2665218a105c08177bc5250eb9b1";
+ name = "kinfocenter-5.16.5.tar.xz";
};
};
kmenuedit = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kmenuedit-5.15.5.tar.xz";
- sha256 = "ad407757e93928dc506271998881a2e5f4a4c96bf763c25e80347e3e23361c26";
- name = "kmenuedit-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kmenuedit-5.16.5.tar.xz";
+ sha256 = "8e95b81b910e5e78689fc7d4427c813ba7d39426df24cf8606adb850913a19a4";
+ name = "kmenuedit-5.16.5.tar.xz";
};
};
kscreen = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kscreen-5.15.5.tar.xz";
- sha256 = "c0c47c6d5c618e2c40794dd37586a1733ef6939383b4bb760638e8758a0bd6f7";
- name = "kscreen-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kscreen-5.16.5.tar.xz";
+ sha256 = "ce35f554014cee819767180f0c9381d539e497edfb9c290b279fa78e9dea4bb0";
+ name = "kscreen-5.16.5.tar.xz";
};
};
kscreenlocker = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kscreenlocker-5.15.5.tar.xz";
- sha256 = "09d9d63e81a60d1c95532639287ba29403e0b04d7e4d46f5a49adbfccf215dcd";
- name = "kscreenlocker-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kscreenlocker-5.16.5.tar.xz";
+ sha256 = "5ed6fdeac9aaba014edf67c5f782fc210d58310d083afaa589d0ff1bb3e8e02d";
+ name = "kscreenlocker-5.16.5.tar.xz";
};
};
ksshaskpass = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/ksshaskpass-5.15.5.tar.xz";
- sha256 = "4b6eae3b594480f6265843fa0b2f3d2051fd45894d27eee3681b7b33c4f52e7e";
- name = "ksshaskpass-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/ksshaskpass-5.16.5.tar.xz";
+ sha256 = "78eaa38ebbf888a8905e9385173e7161335041d6d07720283ce6f3fa06426a33";
+ name = "ksshaskpass-5.16.5.tar.xz";
};
};
ksysguard = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/ksysguard-5.15.5.tar.xz";
- sha256 = "c767cfff83cb8d6d99a6ba13fa534656d6d31666a3eaa7cdce677535e9f9624a";
- name = "ksysguard-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/ksysguard-5.16.5.tar.xz";
+ sha256 = "5558977389cb1fac4a5ce52c9430b27d9d1ee92705ae1995d92bed5340477282";
+ name = "ksysguard-5.16.5.tar.xz";
};
};
kwallet-pam = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kwallet-pam-5.15.5.tar.xz";
- sha256 = "36f3e50019dcd9919755d47b62abf99412299aa87ee27fecbf1dca212a94d22e";
- name = "kwallet-pam-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kwallet-pam-5.16.5.tar.xz";
+ sha256 = "4a12a8ed51973f9ea318a39a699523bcc99ae4e1cac932fccd19dedd45e758a8";
+ name = "kwallet-pam-5.16.5.tar.xz";
};
};
kwayland-integration = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kwayland-integration-5.15.5.tar.xz";
- sha256 = "8dec5719104a551fc8c1d6249568accedce9b8d18691d818f2b7abc13f21fd17";
- name = "kwayland-integration-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kwayland-integration-5.16.5.tar.xz";
+ sha256 = "63724ecfb6db053ee949273979b393192309dbeed45b59bc193a605f90232282";
+ name = "kwayland-integration-5.16.5.tar.xz";
};
};
kwin = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kwin-5.15.5.tar.xz";
- sha256 = "e341c8165354643fd201292e53418050970bf8819b2cd0dd932423a342d2f805";
- name = "kwin-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kwin-5.16.5.tar.xz";
+ sha256 = "7ff0e114e323ff7e10d78a157f8242b1d3cfa03967898d9e3fd3c039b7c9918b";
+ name = "kwin-5.16.5.tar.xz";
};
};
kwrited = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/kwrited-5.15.5.tar.xz";
- sha256 = "fbc27517898e57aa6b4c476673971f310121ac3d61e1d30a23e9289930056510";
- name = "kwrited-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/kwrited-5.16.5.tar.xz";
+ sha256 = "4b122099b0a362fc409b50b7523689ba8a112508dad26f58753c6b648e7c5313";
+ name = "kwrited-5.16.5.tar.xz";
};
};
libkscreen = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/libkscreen-5.15.5.tar.xz";
- sha256 = "bee15b0ce38e17475542b0e500a82567fdbe0a635e84a543b2f3255ac8c58d87";
- name = "libkscreen-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/libkscreen-5.16.5.tar.xz";
+ sha256 = "fd2d1e849315ac745ecfe757d6b2c5cc6486e0be5397f686dae3916c0252c938";
+ name = "libkscreen-5.16.5.tar.xz";
};
};
libksysguard = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/libksysguard-5.15.5.tar.xz";
- sha256 = "4255a997c4f0b2039201db6e00038e08519c5fde73032ba709ae9bcfaceabfd0";
- name = "libksysguard-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/libksysguard-5.16.5.tar.xz";
+ sha256 = "f09b99737a937df890ecdd2a33720b6cba3c79fc8bc17ef1470572748a6e1976";
+ name = "libksysguard-5.16.5.tar.xz";
};
};
milou = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/milou-5.15.5.tar.xz";
- sha256 = "2740cbfae30483c402471349f4d1315b98edf054827ec70980bb966cd6b3fcf9";
- name = "milou-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/milou-5.16.5.tar.xz";
+ sha256 = "bfcdba29262dda9f386ee99132053ad5751194b2df8219899fcbb0b3699afcd5";
+ name = "milou-5.16.5.tar.xz";
};
};
oxygen = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/oxygen-5.15.5.tar.xz";
- sha256 = "0791314c8894331bfa46d8b8aa30805972d09497a9e4bbe3f82270d4455be62c";
- name = "oxygen-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/oxygen-5.16.5.tar.xz";
+ sha256 = "0e85dcd874d2e69aaa2d4eefc379289c7dd572437f53e42f1d6d260d97c2f8a2";
+ name = "oxygen-5.16.5.tar.xz";
};
};
plasma-browser-integration = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-browser-integration-5.15.5.tar.xz";
- sha256 = "f1883b504cb5e86a43e16fea803b93c81b09e4ce1339ae8bcf6cf35d7e734d3b";
- name = "plasma-browser-integration-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-browser-integration-5.16.5.tar.xz";
+ sha256 = "99269c7e27fddb0c075bff28a5afba41298dc8d28297d69f35f6bc30f3af1d35";
+ name = "plasma-browser-integration-5.16.5.tar.xz";
};
};
plasma-desktop = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-desktop-5.15.5.tar.xz";
- sha256 = "42097c0b2553dd4767b6fde441db371d5e2defbd4e82389ca91d076f62ae3741";
- name = "plasma-desktop-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-desktop-5.16.5.tar.xz";
+ sha256 = "49dc4c9eff5742eb52fc0d12c139c194eda837945389cd09f498a0c4c352a20f";
+ name = "plasma-desktop-5.16.5.tar.xz";
};
};
plasma-integration = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-integration-5.15.5.tar.xz";
- sha256 = "05920610c68981a9effb1a97395a22d281d3b61e42d55d66adf8bb587da29621";
- name = "plasma-integration-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-integration-5.16.5.tar.xz";
+ sha256 = "635f109e7b59bb440c6be0c7a4baae70d2f44e659ab0522e170693b664e6d709";
+ name = "plasma-integration-5.16.5.tar.xz";
};
};
plasma-nm = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-nm-5.15.5.tar.xz";
- sha256 = "6a2cde83ff031de3565465d48538578380301debb8e49345e25ff3f723c908ee";
- name = "plasma-nm-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-nm-5.16.5.tar.xz";
+ sha256 = "b519429bd784ff2ede0bf10e1e943822ef08ea5cf85e901363fda36d32907460";
+ name = "plasma-nm-5.16.5.tar.xz";
};
};
plasma-pa = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-pa-5.15.5.tar.xz";
- sha256 = "326a6d3f6f9d462a3b88402ae6be2dac976f166995a5cb750d294d51085a0a92";
- name = "plasma-pa-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-pa-5.16.5.tar.xz";
+ sha256 = "e029563d50cc6266a4a3e22574c33fef4670e1aaab18630eb30769e2167acc96";
+ name = "plasma-pa-5.16.5.tar.xz";
};
};
plasma-sdk = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-sdk-5.15.5.tar.xz";
- sha256 = "f91ccb03f016328c2bd54ac11a916b4f874cfe2304da1600f3fa014faeb7d329";
- name = "plasma-sdk-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-sdk-5.16.5.tar.xz";
+ sha256 = "1b05f0501309099f241ebae857c24b31bc4e61fde8bfc33e854d3a1dd3d37385";
+ name = "plasma-sdk-5.16.5.tar.xz";
};
};
plasma-tests = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-tests-5.15.5.tar.xz";
- sha256 = "534c018f45f8545f027aeccea8731a26311179328e7a746522fa11961c5c5827";
- name = "plasma-tests-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-tests-5.16.5.tar.xz";
+ sha256 = "236a83c2caa99801b6db1debce53a6c7390087115899410a8139ad3b7268b7f7";
+ name = "plasma-tests-5.16.5.tar.xz";
};
};
plasma-vault = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-vault-5.15.5.tar.xz";
- sha256 = "2d7c356fa951b341fcb5ea48ed819f396fe9096e06e6f2026c9f59a59fa48fd5";
- name = "plasma-vault-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-vault-5.16.5.tar.xz";
+ sha256 = "2bb40a80c35f3eaedc729013a8b6b76641cc74eca4fd171f1cda99237f83198c";
+ name = "plasma-vault-5.16.5.tar.xz";
};
};
plasma-workspace = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-workspace-5.15.5.tar.xz";
- sha256 = "c25f9b348e3ab2d370325f7da989a3f599a408dabfadda65cbb590fb26a2f973";
- name = "plasma-workspace-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-workspace-5.16.5.tar.xz";
+ sha256 = "43364fe4e7ea10ad7b5b1d7af4f1baa1d8796b60692f2dfc0d58693f63e458ff";
+ name = "plasma-workspace-5.16.5.tar.xz";
};
};
plasma-workspace-wallpapers = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plasma-workspace-wallpapers-5.15.5.tar.xz";
- sha256 = "0dc21728f3a08d823106bae7dd99d9b6b28b9b77abe8cf8f213bd4cf5b66b945";
- name = "plasma-workspace-wallpapers-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plasma-workspace-wallpapers-5.16.5.tar.xz";
+ sha256 = "ff6e0eac42c540c72556439e6477fb78be2dab456386218813cce021f82d42d9";
+ name = "plasma-workspace-wallpapers-5.16.5.tar.xz";
};
};
plymouth-kcm = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/plymouth-kcm-5.15.5.tar.xz";
- sha256 = "9454cff23e7acae549bdd61818cb351332b334f9cf0b7a7eb065d6dd784950aa";
- name = "plymouth-kcm-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/plymouth-kcm-5.16.5.tar.xz";
+ sha256 = "db839c5fe9f6df882b95f436983c129cd553dd50e6cf1065c4410a91b20f1dcc";
+ name = "plymouth-kcm-5.16.5.tar.xz";
};
};
polkit-kde-agent = {
- version = "1-5.15.5";
+ version = "1-5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/polkit-kde-agent-1-5.15.5.tar.xz";
- sha256 = "628ce9a02defa31e98a6a373abb6a1f2bf39f065eaf82fdbb4f93bf07165e267";
- name = "polkit-kde-agent-1-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/polkit-kde-agent-1-5.16.5.tar.xz";
+ sha256 = "6f7a17990d72bb25c93acae919b764f95ac226754209b2e177075fbe9251f95f";
+ name = "polkit-kde-agent-1-5.16.5.tar.xz";
};
};
powerdevil = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/powerdevil-5.15.5.tar.xz";
- sha256 = "c435cdcab2ff367ca86f91a45ac43fa9f9b68251e8e444b285b7edd33482ad06";
- name = "powerdevil-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/powerdevil-5.16.5.tar.xz";
+ sha256 = "ac868f31df8c6bcc6b1c850efa0640695ba698caabefcb21fc0b0c3405712139";
+ name = "powerdevil-5.16.5.tar.xz";
};
};
sddm-kcm = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/sddm-kcm-5.15.5.tar.xz";
- sha256 = "4d5ee74e494f78a90d1586862749d53f4dc34970f47307d62a4e6ead9161c25b";
- name = "sddm-kcm-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/sddm-kcm-5.16.5.tar.xz";
+ sha256 = "4220d18f1a04c767649bffee1aed6c2b2c12c60cd7d6ca6fabc3dbec1ec3f127";
+ name = "sddm-kcm-5.16.5.tar.xz";
};
};
systemsettings = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/systemsettings-5.15.5.tar.xz";
- sha256 = "a29227329f8ddd2db2ba8aafb3eb5f2b09d01e3a6f761d291afba95935ceb93a";
- name = "systemsettings-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/systemsettings-5.16.5.tar.xz";
+ sha256 = "57944cf3f566cf5e25d5859f5716b2ad5dbd87de259f8d77efdfdd50a16fe1ec";
+ name = "systemsettings-5.16.5.tar.xz";
};
};
user-manager = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/user-manager-5.15.5.tar.xz";
- sha256 = "09e746e14bc732e296e93290929dfd1d378abe0b6b47fce084c97dd82a3f2431";
- name = "user-manager-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/user-manager-5.16.5.tar.xz";
+ sha256 = "e9df3ec2718de68b0b46d0b86f993fe450b236e13dda6219f350121f08f4c468";
+ name = "user-manager-5.16.5.tar.xz";
};
};
xdg-desktop-portal-kde = {
- version = "5.15.5";
+ version = "5.16.5";
src = fetchurl {
- url = "${mirror}/stable/plasma/5.15.5/xdg-desktop-portal-kde-5.15.5.tar.xz";
- sha256 = "fd98af5fe77e5a387bee25bcbdfa39607d1b91ba1cd431ae72cff8103548ac50";
- name = "xdg-desktop-portal-kde-5.15.5.tar.xz";
+ url = "${mirror}/stable/plasma/5.16.5/xdg-desktop-portal-kde-5.16.5.tar.xz";
+ sha256 = "4884652b642fb6e8db791a04e9d42b5fec53f28cc0f0d26f49eb2bdaaa1709df";
+ name = "xdg-desktop-portal-kde-5.16.5.tar.xz";
};
};
}
diff --git a/pkgs/desktops/surf-display/default.nix b/pkgs/desktops/surf-display/default.nix
new file mode 100644
index 00000000000..47b7e117206
--- /dev/null
+++ b/pkgs/desktops/surf-display/default.nix
@@ -0,0 +1,53 @@
+{ stdenv, fetchgit, makeWrapper
+, surf, wmctrl, matchbox, xdotool, unclutter
+, xorg, pulseaudio, xprintidle-ng }:
+
+stdenv.mkDerivation rec {
+ pname = "surf-display";
+ version = "unstable-2019-04-15";
+
+ src = fetchgit {
+ url = "https://code.it-zukunft-schule.de/cgit/surf-display";
+ rev = "972d6c4b7c4503dbb63fa6c92cdc24d1e32064a4";
+ sha256 = "03c68gg4kfmkri1gn5b7m1g8vh9ciawhajb29c17kkc7mn388hjm";
+ };
+
+ nativeBuildInputs = [ makeWrapper ];
+
+ buildInputs = [
+ surf
+ wmctrl
+ matchbox
+ pulseaudio
+ xprintidle-ng
+ xdotool
+ xorg.xmodmap
+ xorg.xkbutils
+ unclutter
+ ];
+
+ patches = [ ./pdf-makefile.patch ];
+
+ buildFlags = [ "man" ];
+
+ postFixup = ''
+ substituteInPlace $out/share/xsessions/surf-display.desktop \
+ --replace surf-display $out/bin/surf-display
+
+ substituteInPlace $out/bin/surf-display --replace /usr/share $out/share
+
+ patchShebangs $out/bin/surf-display
+ wrapProgram $out/bin/surf-display \
+ --prefix PATH ':' ${stdenv.lib.makeBinPath buildInputs}
+ '';
+
+ makeFlags = [ "PREFIX=${placeholder "out"}" ];
+
+ meta = with stdenv.lib; {
+ description = "Kiosk browser session manager based on the surf browser";
+ homepage = "https://code.it-zukunft-schule.de/cgit/surf-display/";
+ maintainers = with maintainers; [ etu ];
+ license = licenses.gpl2;
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/desktops/surf-display/pdf-makefile.patch b/pkgs/desktops/surf-display/pdf-makefile.patch
new file mode 100644
index 00000000000..9c2541052c0
--- /dev/null
+++ b/pkgs/desktops/surf-display/pdf-makefile.patch
@@ -0,0 +1,24 @@
+diff --git a/Makefile b/Makefile
+index 1081d64..499160c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -13,19 +13,10 @@ man::
+ gzip -9 -c -n data/surf-display.1 > data/surf-display.1.gz
+
+ install:
+- if [ ! -e data/surf-display.pdf.gz ]; then \
+- echo "Run 'make build' first, before running 'sudo make install'."; \
+- exit -1; \
+- fi
+-
+ # script
+ mkdir -p $(DESTDIR)$(PREFIX)/bin/
+ install -m 0755 bin/surf-display $(DESTDIR)$(PREFIX)/bin/
+
+- # LaTeX Beamer PDF: Impressive HowTo
+- mkdir -p $(DESTDIR)$(PREFIX)/share/doc/surf-display/
+- install -m 0644 data/*.pdf.gz $(DESTDIR)$(PREFIX)/share/doc/surf-display/
+-
+ # man page
+ mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1
+ install -m 0644 data/*.1.gz $(DESTDIR)$(PREFIX)/share/man/man1/
diff --git a/pkgs/desktops/xfce/applications/orage.nix b/pkgs/desktops/xfce/applications/orage.nix
index 5cf39639a12..19bd560cbae 100644
--- a/pkgs/desktops/xfce/applications/orage.nix
+++ b/pkgs/desktops/xfce/applications/orage.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, pkgconfig, bison, flex, intltool, gtk, libical, dbus-glib, tzdata
-, libnotify, popt, xfce, hicolor-icon-theme }:
+, libnotify, popt, xfce }:
stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
diff --git a/pkgs/desktops/xfce/core/gtk-xfce-engine.nix b/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
index bb319e6fc6c..567d3b80387 100644
--- a/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
+++ b/pkgs/desktops/xfce/core/gtk-xfce-engine.nix
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = https://www.xfce.org/;
- description = "GTK+ theme engine for Xfce";
+ description = "GTK theme engine for Xfce";
license = stdenv.lib.licenses.gpl2Plus;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.eelco ];
diff --git a/pkgs/desktops/xfce/core/tumbler.nix b/pkgs/desktops/xfce/core/tumbler.nix
index 3e1d2be2b53..9087d3a0255 100644
--- a/pkgs/desktops/xfce/core/tumbler.nix
+++ b/pkgs/desktops/xfce/core/tumbler.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, pkgconfig, intltool, dbus-glib, gdk_pixbuf, curl, freetype
+{ stdenv, fetchurl, pkgconfig, intltool, dbus-glib, gdk-pixbuf, curl, freetype
, libgsf, poppler, bzip2 }:
let
p_name = "tumbler";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- intltool dbus-glib gdk_pixbuf curl freetype
+ intltool dbus-glib gdk-pixbuf curl freetype
poppler libgsf bzip2
];
diff --git a/pkgs/desktops/xfce/default.nix b/pkgs/desktops/xfce/default.nix
index e5182a12d43..20d5175fed6 100644
--- a/pkgs/desktops/xfce/default.nix
+++ b/pkgs/desktops/xfce/default.nix
@@ -20,7 +20,7 @@ lib.makeScope pkgs.newScope (self: with self; {
garcon = callPackage ./core/garcon.nix { };
- # When built with GTK+3, it was breaking GTK+3 app layout
+ # When built with GTK 3, it was breaking GTK 3 app layout
gtk-xfce-engine = callPackage ./core/gtk-xfce-engine.nix { withGtk3 = false; };
libxfce4ui = callPackage ./core/libxfce4ui.nix { };
@@ -151,7 +151,7 @@ lib.makeScope pkgs.newScope (self: with self; {
xfce4-pulseaudio-plugin = callPackage ./panel-plugins/xfce4-pulseaudio-plugin.nix { };
- #### GTK+3 (deprecated, see NixOS/nixpkgs#32763)
+ #### GTK3 (deprecated, see NixOS/nixpkgs#32763)
libxfce4ui_gtk3 = libxfce4ui.override { withGtk3 = true; };
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix
index 79f0800ff34..2782decf6c4 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-hardware-monitor-plugin.nix
@@ -3,12 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "xfce4-hardware-monitor-plugin";
version = "1.6.0";
src = fetchurl {
- url = "https://git.xfce.org/panel-plugins/${pname}/snapshot/${name}.tar.bz2";
+ url = "https://git.xfce.org/panel-plugins/${pname}/snapshot/${pname}-${version}.tar.bz2";
sha256 = "0xg5har11fk1wmdymydxlbk1z8aa39j8k0p4gzw2iqslv3n0zf7b";
};
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/appmenu-gtk-module.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/appmenu-gtk-module.nix
index 7134d29c9ff..39393dd39e9 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/appmenu-gtk-module.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/appmenu-gtk-module.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, cmake, vala, glib, gtk2, gtk3 }:
stdenv.mkDerivation rec {
- name = "vala-panel-appmenu-xfce-${version}";
+ pname = "vala-panel-appmenu-xfce";
version = "0.6.94";
src = "${fetchFromGitHub {
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
'';
meta = with stdenv.lib; {
- description = "Port of the Unity GTK+ Module";
+ description = "Port of the Unity GTK Module";
license = licenses.lgpl3;
maintainers = with maintainers; [ jD91mZM2 ];
};
diff --git a/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/default.nix b/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/default.nix
index 694f6772282..144291da86d 100644
--- a/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/default.nix
+++ b/pkgs/desktops/xfce/panel-plugins/xfce4-vala-panel-appmenu-plugin/default.nix
@@ -3,7 +3,7 @@
xfce, libwnck3, libdbusmenu, gobject-introspection }:
stdenv.mkDerivation rec {
- name = "xfce4-vala-panel-appmenu-plugin-${version}";
+ pname = "xfce4-vala-panel-appmenu-plugin";
version = "0.6.94";
src = fetchFromGitHub {
diff --git a/pkgs/desktops/xfce4-13/exo/default.nix b/pkgs/desktops/xfce4-13/exo/default.nix
deleted file mode 100644
index 1096996ee6d..00000000000
--- a/pkgs/desktops/xfce4-13/exo/default.nix
+++ /dev/null
@@ -1,23 +0,0 @@
-{ mkXfceDerivation, docbook_xsl, libxslt, perlPackages, gtk2, gtk3
-, libxfce4ui, libxfce4util }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "exo";
- version = "0.12.2";
-
- sha256 = "1b4hl9yxvf8b8akqf2zngq3m93yqnqcmxqqds1dwzm9vm5sqydgh";
-
- nativeBuildInputs = [ libxslt perlPackages.URI ];
- buildInputs = [ gtk2 gtk3 libxfce4ui libxfce4util ];
-
- postPatch = ''
- substituteInPlace docs/reference/Makefile.am \
- --replace http://docbook.sourceforge.net/release/xsl/current \
- ${docbook_xsl}/share/xml/docbook-xsl
- '';
-
- meta = {
- description = "Application library for Xfce";
- };
-}
diff --git a/pkgs/desktops/xfce4-13/garcon/12700.patch b/pkgs/desktops/xfce4-13/garcon/12700.patch
deleted file mode 100644
index fda36d69651..00000000000
--- a/pkgs/desktops/xfce4-13/garcon/12700.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From: Yegor Timoshenko
-Date: Thu, 14 Dec 2017 21:13:02 +0000
-Subject: [PATCH] Decrement allocation counter on item unref (#12700)
-
-diff --git a/garcon/garcon-menu-item-pool.c b/garcon/garcon-menu-item-pool.c
-index 2017180..355e520 100644
---- a/garcon/garcon-menu-item-pool.c
-+++ b/garcon/garcon-menu-item-pool.c
-@@ -191,7 +191,12 @@ garcon_menu_item_pool_filter_exclude (const gchar *desktop_id,
- g_return_val_if_fail (GARCON_IS_MENU_ITEM (item), FALSE);
- g_return_val_if_fail (node != NULL, FALSE);
-
-- return garcon_menu_node_tree_rule_matches (node, item);
-+ gboolean matches = garcon_menu_node_tree_rule_matches (node, item);
-+
-+ if (matches)
-+ garcon_menu_item_increment_allocated (item);
-+
-+ return matches;
- }
-
-
-diff --git a/garcon/garcon-menu-item.c b/garcon/garcon-menu-item.c
-index ca8cb63..b44acfe 100644
---- a/garcon/garcon-menu-item.c
-+++ b/garcon/garcon-menu-item.c
-@@ -1908,6 +1908,8 @@ garcon_menu_item_unref (GarconMenuItem *item)
- {
- g_return_if_fail (GARCON_IS_MENU_ITEM (item));
-
-+ garcon_menu_item_decrement_allocated (item);
-+
- /* Decrement the reference counter */
- g_object_unref (G_OBJECT (item));
- }
---
-2.15.1
diff --git a/pkgs/desktops/xfce4-13/garcon/13785.patch b/pkgs/desktops/xfce4-13/garcon/13785.patch
deleted file mode 100644
index 1b723d21d60..00000000000
--- a/pkgs/desktops/xfce4-13/garcon/13785.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-From 4387496fe332a50945e7db76bc2196b419656fe3 Mon Sep 17 00:00:00 2001
-From: Stefan Berzl
-Date: Mon, 21 Aug 2017 18:39:07 +0300
-Subject: [PATCH] fix: some menu icons are too big (Bug #13785)
-
-Some packages only provide icons in sizes much bigger than the standard
-GTK menu size of 16px.
-
-The clipboard manager qlipper for example provides the following icon:
-/usr/share/icons/hicolor/128x128/apps/qlipper.png
-
-In GTK 3.22.18 the function gtk_image_new_from_icon_name when given
-GTK_ICON_SIZE_MENU as second argument still returns an image with 128x128.
-
-The patch I have supplied uses existing code to scale such an image.
-
-Signed-off-by: Eric Koegel
----
- garcon-gtk/garcon-gtk-menu.c | 33 +++++++++++++++++++--------------
- 1 file changed, 19 insertions(+), 14 deletions(-)
-
-diff --git a/garcon-gtk/garcon-gtk-menu.c b/garcon-gtk/garcon-gtk-menu.c
-index 41990f2..f31a1ed 100644
---- a/garcon-gtk/garcon-gtk-menu.c
-+++ b/garcon-gtk/garcon-gtk-menu.c
-@@ -650,7 +650,11 @@ garcon_gtk_menu_load_icon (const gchar *icon_name)
- gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h);
- size = MIN (w, h);
-
-- if (! gtk_icon_theme_has_icon (icon_theme, icon_name))
-+ if (gtk_icon_theme_has_icon (icon_theme, icon_name))
-+ {
-+ pixbuf = gtk_icon_theme_load_icon (icon_theme, icon_name, size, 0, NULL);;
-+ }
-+ else
- {
- if (g_path_is_absolute (icon_name))
- {
-@@ -684,22 +688,23 @@ garcon_gtk_menu_load_icon (const gchar *icon_name)
- g_free (name);
- }
- }
-+ }
-
-- /* Turn the pixbuf into a gtk_image */
-- if (G_LIKELY (pixbuf))
-- {
-- /* scale the pixbuf down if it needs it */
-- GdkPixbuf *tmp = gdk_pixbuf_scale_simple (pixbuf, w, h, GDK_INTERP_BILINEAR);
-- g_object_unref (pixbuf);
-- pixbuf = tmp;
-+ /* Turn the pixbuf into a gtk_image */
-+ if (G_LIKELY (pixbuf))
-+ {
-+ /* scale the pixbuf down if it needs it */
-+ GdkPixbuf *pixbuf_scaled = gdk_pixbuf_scale_simple (pixbuf, w, h, GDK_INTERP_BILINEAR);
-+ g_object_unref (G_OBJECT (pixbuf));
-
-- image = gtk_image_new_from_pixbuf (pixbuf);
-- g_object_unref (G_OBJECT (pixbuf));
-- }
-+ image = gtk_image_new_from_pixbuf (pixbuf_scaled);
-+ g_object_unref (G_OBJECT (pixbuf_scaled));
-+ }
-+ else
-+ {
-+ /* display the placeholder at least */
-+ image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU);
- }
--
-- if (image == NULL)
-- image = gtk_image_new_from_icon_name (icon_name, GTK_ICON_SIZE_MENU);
-
- return image;
- }
diff --git a/pkgs/desktops/xfce4-13/garcon/default.nix b/pkgs/desktops/xfce4-13/garcon/default.nix
deleted file mode 100644
index a88d64702a1..00000000000
--- a/pkgs/desktops/xfce4-13/garcon/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ mkXfceDerivation, gtk2 ? null, gtk3, libxfce4ui, libxfce4util }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "garcon";
- version = "0.6.1";
-
- sha256 = "19k8bwn29x7hkg882pxv5xxmrbfagdqgkxg166pwz2k0prab6hl8";
-
- patches = [ ./12700.patch ./13785.patch ];
- buildInputs = [ gtk2 gtk3 libxfce4ui libxfce4util ];
-}
diff --git a/pkgs/desktops/xfce4-13/gigolo/default.nix b/pkgs/desktops/xfce4-13/gigolo/default.nix
deleted file mode 100644
index 0d7b2210b12..00000000000
--- a/pkgs/desktops/xfce4-13/gigolo/default.nix
+++ /dev/null
@@ -1,11 +0,0 @@
-{ mkXfceDerivation, gtk2, libX11 }:
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "gigolo";
- version = "0.4.2";
-
- sha256 = "0qd2jkf3zsvfyd9jn8bfnljja1xfj3ph4wjh3fx10dcwcd791al1";
-
- buildInputs = [ gtk2 libX11 ];
-}
diff --git a/pkgs/desktops/xfce4-13/libxfce4ui/default.nix b/pkgs/desktops/xfce4-13/libxfce4ui/default.nix
deleted file mode 100644
index f6997551262..00000000000
--- a/pkgs/desktops/xfce4-13/libxfce4ui/default.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ lib, mkXfceDerivation, gobject-introspection, gtk2, gtk3, libICE, libSM
-, libstartup_notification ? null, libxfce4util, xfconf }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "libxfce4ui";
- version = "4.13.4";
-
- sha256 = "0m9h3kvkk2nx8pxxmsg9sjnyp6ajwjrz9djjxxvranjsdw3ilydy";
-
- buildInputs = [ gobject-introspection gtk2 gtk3 libstartup_notification xfconf ];
- propagatedBuildInputs = [ libxfce4util libICE libSM ];
-
- meta = with lib; {
- description = "Widgets library for Xfce";
- license = licenses.lgpl2Plus;
- };
-}
diff --git a/pkgs/desktops/xfce4-13/mousepad/default.nix b/pkgs/desktops/xfce4-13/mousepad/default.nix
deleted file mode 100644
index b5fd3a19d06..00000000000
--- a/pkgs/desktops/xfce4-13/mousepad/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ mkXfceDerivation, exo, wrapGAppsHook, dbus-glib, gtk3, gtksourceview3 }:
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "mousepad";
- version = "0.4.1";
-
- sha256 = "0pr1w9n0qq2raxhy78982i9g17x0ya02q7vdrn0wb2bpk74hlki5";
-
- nativeBuildInputs = [ exo wrapGAppsHook ];
- buildInputs = [ dbus-glib gtk3 gtksourceview3 ];
-}
diff --git a/pkgs/desktops/xfce4-13/ristretto/default.nix b/pkgs/desktops/xfce4-13/ristretto/default.nix
deleted file mode 100644
index b4b0778e982..00000000000
--- a/pkgs/desktops/xfce4-13/ristretto/default.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ mkXfceDerivation, automakeAddFlags, exo, dbus-glib, gtk2, libexif
-, libxfce4ui, libxfce4util, xfconf }:
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "ristretto";
- version = "0.8.3";
-
- postPatch = ''
- automakeAddFlags src/Makefile.am ristretto_CFLAGS DBUS_GLIB_CFLAGS
- automakeAddFlags src/Makefile.am ristretto_LDADD DBUS_GLIB_LIBS
- '';
-
- nativeBuildInputs = [ automakeAddFlags exo ];
- buildInputs = [ dbus-glib gtk2 libexif libxfce4ui libxfce4util xfconf ];
-
- sha256 = "02i61ddzpv0qjwahkksnzla57zdmkywyg1qrqs57z4bzj6l4nmkx";
-}
diff --git a/pkgs/desktops/xfce4-13/thunar/default.nix b/pkgs/desktops/xfce4-13/thunar/default.nix
deleted file mode 100644
index dbeb80ac9bd..00000000000
--- a/pkgs/desktops/xfce4-13/thunar/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ mkXfceDerivation, docbook_xsl, exo, gdk_pixbuf, gtk3, libgudev ? null
-, libnotify ? null, libX11, libxfce4ui, libxfce4util, libxslt, xfconf }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "thunar";
- version = "1.8.1";
-
- sha256 = "00n5iinhg3xgzj2rcy7zl6g9449i59x2l09cnlkhyrjzghb4k5ha";
-
- postPatch = ''
- substituteInPlace docs/Makefile.am \
- --replace http://docbook.sourceforge.net/release/xsl/current \
- ${docbook_xsl}/share/xml/docbook-xsl
- '';
-
- nativeBuildInputs = [ libxslt ];
-
- buildInputs = [
- exo
- gdk_pixbuf
- gtk3
- libgudev
- libnotify
- libX11
- libxfce4ui
- libxfce4util
- xfconf
- ];
-}
diff --git a/pkgs/desktops/xfce4-13/tumbler/default.nix b/pkgs/desktops/xfce4-13/tumbler/default.nix
deleted file mode 100644
index 05a4f4ecde3..00000000000
--- a/pkgs/desktops/xfce4-13/tumbler/default.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ mkXfceDerivation, gdk_pixbuf ? null, ffmpegthumbnailer ? null, libgsf ? null
-, poppler ? null }:
-
-# TODO: add libopenraw
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "tumbler";
- version = "0.2.3";
-
- sha256 = "1gb4dav6q9bn64c2ayi4896cr79lb8k63ja2sm3lwsjxgg1r4hw9";
-
- buildInputs = [ gdk_pixbuf ffmpegthumbnailer libgsf poppler ];
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-mixer/default.nix b/pkgs/desktops/xfce4-13/xfce4-mixer/default.nix
deleted file mode 100644
index a4bc0a3eadd..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-mixer/default.nix
+++ /dev/null
@@ -1,32 +0,0 @@
-{ mkXfceDerivation, automakeAddFlags, dbus-glib, gtk2, libxfce4ui, libxfce4util, xfce4-panel, xfconf, gst-plugins-base, libunique }:
-
-let
- gst_plugins_minimal = gst-plugins-base.override {
- minimalDeps = true;
- };
-in
-mkXfceDerivation rec {
- category = "apps";
- pname = "xfce4-mixer";
- version = "4.11.0";
-
- sha256 = "1kiz5ysn4rqkjfzz4dvbsfj64kqqayg7bqakcys3rw28g2q5qyys";
-
- nativeBuildInputs = [ automakeAddFlags ];
-
- postPatch = ''
- automakeAddFlags panel-plugin/Makefile.am libmixer_la_CFLAGS DBUS_GLIB_CFLAGS
- automakeAddFlags xfce4-mixer/Makefile.am xfce4_mixer_CFLAGS DBUS_GLIB_CFLAGS
- '';
-
- buildInputs = [
- dbus-glib
- gst_plugins_minimal
- gtk2
- libunique
- libxfce4ui
- libxfce4util
- xfce4-panel
- xfconf
- ];
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-notifyd/default.nix b/pkgs/desktops/xfce4-13/xfce4-notifyd/default.nix
deleted file mode 100644
index bac25878507..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-notifyd/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ mkXfceDerivation, dbus-glib, exo, gtk3, libnotify, libxfce4ui, libxfce4util
-, xfce4-panel, xfconf }:
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "xfce4-notifyd";
- version = "0.4.2";
-
- sha256 = "1zxwzigrhms74crasbqpnzidmq2mnyxpmc9pqr4p4qj14yw4sam9";
-
- buildInputs = [ dbus-glib exo gtk3 libnotify libxfce4ui libxfce4util xfce4-panel xfconf ];
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-panel/default.nix b/pkgs/desktops/xfce4-13/xfce4-panel/default.nix
deleted file mode 100644
index 27c8e1e58c7..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-panel/default.nix
+++ /dev/null
@@ -1,36 +0,0 @@
-{ mkXfceDerivation, makeWrapper, tzdata, exo, garcon, gtk2, gtk3, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "xfce4-panel";
- version = "4.13.4";
-
- sha256 = "13hnzh31d2b1331lnsbfaxg4fqhqa7hmdwkiqsl9hyr8pqimjb2g";
-
- nativeBuildInputs = [ makeWrapper ];
- buildInputs = [ exo garcon gtk2 gtk3 libxfce4ui libxfce4util libwnck3 xfconf ];
-
- patches = [ ../../xfce/core/xfce4-panel-datadir.patch ];
- patchFlags = "-p1";
-
- postPatch = ''
- for f in $(find . -name \*.sh); do
- substituteInPlace $f --replace gettext ${gettext}/bin/gettext
- done
- substituteInPlace plugins/clock/clock.c \
- --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo" \
- --replace "if (!g_file_test (filename, G_FILE_TEST_IS_SYMLINK))" ""
- '';
-
- configureFlags = [ "--enable-gtk3" ];
-
- postInstall = ''
- wrapProgram "$out/bin/xfce4-panel" \
- --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" \
- --prefix GIO_EXTRA_MODULES : "${glib-networking}/lib/gio/modules"
- '';
-
- meta = {
- description = "Xfce's panel";
- };
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-screenshooter/default.nix b/pkgs/desktops/xfce4-13/xfce4-screenshooter/default.nix
deleted file mode 100644
index 0dfad21d07b..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-screenshooter/default.nix
+++ /dev/null
@@ -1,12 +0,0 @@
-{ mkXfceDerivation, exo, gtk3, libsoup, libxfce4ui, libxfce4util, xfce4-panel, wrapGAppsHook, glib-networking }:
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "xfce4-screenshooter";
- version = "1.9.2";
-
- sha256 = "1zl16xcmgrb1s6rsrn37mpl5w522i1i9s7x167xf2d092x333yx2";
-
- nativeBuildInputs = [ wrapGAppsHook ]; # fix "No GSettings schemas are installed on the system"
- buildInputs = [ exo gtk3 libsoup libxfce4ui libxfce4util xfce4-panel glib-networking ];
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-session/default.nix b/pkgs/desktops/xfce4-13/xfce4-session/default.nix
deleted file mode 100644
index ecf1f6ac505..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-session/default.nix
+++ /dev/null
@@ -1,27 +0,0 @@
-{ mkXfceDerivation, polkit, exo, libxfce4util, libxfce4ui, xfconf, dbus-glib, dbus, iceauth, gtk3, libwnck3, xorg }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "xfce4-session";
- version = "4.13.0";
-
- sha256 = "0d6h1kgqq6g084jrxx4jxw98h5g0vwsxqrvk0bmapyxh2sbrg07y";
-
- buildInputs = [ exo dbus-glib dbus gtk3 libxfce4ui libxfce4util libwnck3 xfconf polkit iceauth ];
-
- configureFlags = [ "--with-xsession-prefix=$(out)" ];
-
- NIX_CFLAGS_COMPILE = [ "-I${dbus-glib.dev}/include/dbus-1.0"
- "-I${dbus.dev}/include/dbus-1.0"
- "-I${dbus.lib}/lib/dbus-1.0/include"
- ];
-
- postPatch = ''
- substituteInPlace configure.ac.in --replace gio-2.0 gio-unix-2.0
- substituteInPlace scripts/xflock4 --replace PATH=/bin:/usr/bin "PATH=\$PATH:$out/bin:${xorg.xset}/bin"
- '';
-
- meta = {
- description = "Session manager for Xfce";
- };
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-taskmanager/default.nix b/pkgs/desktops/xfce4-13/xfce4-taskmanager/default.nix
deleted file mode 100644
index d9a5991598b..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-taskmanager/default.nix
+++ /dev/null
@@ -1,18 +0,0 @@
-{ lib, mkXfceDerivation, exo, gtk2, gtk3 ? null, libwnck3 ? null, libXmu }:
-
-let
- inherit (lib) enableFeature;
-in
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "xfce4-taskmanager";
- version = "1.2.1";
-
- sha256 = "1p0496r1fb5zqvn6c41kb6rjqwlqghqahgg6hkzw0gjy911im99w";
-
- nativeBuildInputs = [ exo ];
- buildInputs = [ gtk2 gtk3 libwnck3 libXmu ];
-
- configureFlags = [ (enableFeature (gtk3 != null) "gtk3") ];
-}
diff --git a/pkgs/desktops/xfce4-13/xfce4-terminal/default.nix b/pkgs/desktops/xfce4-13/xfce4-terminal/default.nix
deleted file mode 100644
index 6bc88ee7661..00000000000
--- a/pkgs/desktops/xfce4-13/xfce4-terminal/default.nix
+++ /dev/null
@@ -1,16 +0,0 @@
-{ mkXfceDerivation, gtk3, libxfce4ui, wrapGAppsHook, vte }:
-
-mkXfceDerivation rec {
- category = "apps";
- pname = "xfce4-terminal";
- version = "0.8.7.4";
-
- sha256 = "1s1dq560icg602jjb2ja58x7hxg4ikp3jrrf74v3qgi0ir950k2y";
-
- buildInputs = [ gtk3 libxfce4ui vte ];
- nativeBuildInputs = [ wrapGAppsHook ];
-
- meta = {
- description = "A modern terminal emulator";
- };
-}
diff --git a/pkgs/desktops/xfce4-13/xfwm4/default.nix b/pkgs/desktops/xfce4-13/xfwm4/default.nix
deleted file mode 100644
index 97d414d6693..00000000000
--- a/pkgs/desktops/xfce4-13/xfwm4/default.nix
+++ /dev/null
@@ -1,26 +0,0 @@
-{ mkXfceDerivation, exo, dbus-glib, epoxy, gtk2, libXdamage
-, libstartup_notification, libxfce4ui, libxfce4util, libwnck
-, libXpresent, xfconf }:
-
-mkXfceDerivation rec {
- category = "xfce";
- pname = "xfwm4";
- version = "4.13.0";
-
- sha256 = "19ikyls4xawsbz07qdz60g5yl2jbvpb90sfy5zql7ghypd69cgn9";
-
- nativeBuildInputs = [ exo ];
-
- buildInputs = [
- dbus-glib
- epoxy
- gtk2
- libXdamage
- libstartup_notification
- libxfce4ui
- libxfce4util
- libwnck
- libXpresent
- xfconf
- ];
-}
diff --git a/pkgs/desktops/xfce4-13/automakeAddFlags.sh b/pkgs/desktops/xfce4-14/automakeAddFlags.sh
similarity index 100%
rename from pkgs/desktops/xfce4-13/automakeAddFlags.sh
rename to pkgs/desktops/xfce4-14/automakeAddFlags.sh
diff --git a/pkgs/desktops/xfce4-13/default.nix b/pkgs/desktops/xfce4-14/default.nix
similarity index 94%
rename from pkgs/desktops/xfce4-13/default.nix
rename to pkgs/desktops/xfce4-14/default.nix
index d3e46cf2365..294dfa92c79 100644
--- a/pkgs/desktops/xfce4-13/default.nix
+++ b/pkgs/desktops/xfce4-14/default.nix
@@ -58,8 +58,6 @@ makeScope newScope (self: with self; {
xfce4-dict = callPackage ./xfce4-dict { };
- xfce4-mixer = callPackage ./xfce4-mixer { };
-
xfce4-netload-plugin = callPackage ./xfce4-netload-plugin { };
xfce4-notifyd = callPackage ./xfce4-notifyd { };
@@ -83,6 +81,8 @@ makeScope newScope (self: with self; {
xfce4-terminal = callPackage ./xfce4-terminal { };
+ xfdashboard = callPackage ./xfdashboard { };
+
xfce4-volumed-pulse = callPackage ./xfce4-volumed-pulse { };
xfce4-whiskermenu-plugin = callPackage ./xfce4-whiskermenu-plugin { };
@@ -110,4 +110,10 @@ makeScope newScope (self: with self; {
xfce4-namebar-plugin = callPackage ../xfce/panel-plugins/xfce4-namebar-plugin.nix { };
xfce4-windowck-plugin = callPackage ../xfce/panel-plugins/xfce4-windowck-plugin.nix { };
+
+
+ ## ALIASES
+
+ # added 2019-08-18
+ xfce4-mixer = throw "deprecated 2019-08-18: obsoleted by xfce4-pulseaudio-plugin";
})
diff --git a/pkgs/desktops/xfce4-14/exo/default.nix b/pkgs/desktops/xfce4-14/exo/default.nix
new file mode 100644
index 00000000000..59ab5823314
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/exo/default.nix
@@ -0,0 +1,20 @@
+{ mkXfceDerivation, docbook_xsl, glib, libxslt, perlPackages, gtk3
+, libxfce4ui, libxfce4util }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "exo";
+ version = "0.12.8";
+
+ sha256 = "013am7q4pwfncf4hk2a3hv7yx2vxgzb5xm8qsi9mxkj29xdhrvs5";
+
+ nativeBuildInputs = [ libxslt perlPackages.URI docbook_xsl ];
+ buildInputs = [ gtk3 glib libxfce4ui libxfce4util ];
+
+ # Workaround https://bugzilla.xfce.org/show_bug.cgi?id=15825
+ NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+
+ meta = {
+ description = "Application library for Xfce";
+ };
+}
diff --git a/pkgs/desktops/xfce4-14/garcon/default.nix b/pkgs/desktops/xfce4-14/garcon/default.nix
new file mode 100644
index 00000000000..0d6cb8c410e
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/garcon/default.nix
@@ -0,0 +1,11 @@
+{ mkXfceDerivation, gtk3, libxfce4ui, libxfce4util }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "garcon";
+ version = "0.6.4";
+
+ sha256 = "0pamhp1wffiw638s66nws2mpzmwkhvhb6iwccfy8b0kyr57wipjv";
+
+ buildInputs = [ gtk3 libxfce4ui libxfce4util ];
+}
diff --git a/pkgs/desktops/xfce4-14/gigolo/default.nix b/pkgs/desktops/xfce4-14/gigolo/default.nix
new file mode 100644
index 00000000000..5b25e474af2
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/gigolo/default.nix
@@ -0,0 +1,12 @@
+{ mkXfceDerivation, exo, gtk3, gvfs, glib }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "gigolo";
+ version = "0.5.0";
+
+ sha256 = "1lqsxb0d5i8p9vbzx8s4p3rga7va5h1q146xgmsa41j5v40wrlw6";
+
+ nativeBuildInputs = [ exo ];
+ buildInputs = [ gtk3 glib gvfs ];
+}
diff --git a/pkgs/desktops/xfce4-14/libxfce4ui/default.nix b/pkgs/desktops/xfce4-14/libxfce4ui/default.nix
new file mode 100644
index 00000000000..79c8ec74b62
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/libxfce4ui/default.nix
@@ -0,0 +1,23 @@
+{ lib, mkXfceDerivation, gobject-introspection, gtk2, gtk3, libICE, libSM
+, libstartup_notification, libxfce4util, xfconf }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "libxfce4ui";
+ version = "4.14.1";
+
+ sha256 = "0fnncf30s51qhgixn57z4d021pjjhzgsg2x69w4dy68vff2347qy";
+
+ nativeBuildInputs = [ gobject-introspection ];
+ buildInputs = [ gtk2 gtk3 libstartup_notification xfconf ];
+ propagatedBuildInputs = [ libxfce4util libICE libSM ];
+
+ configureFlags = [
+ "--with-vendor-info='NixOS'"
+ ];
+
+ meta = with lib; {
+ description = "Widgets library for Xfce";
+ license = licenses.lgpl2Plus;
+ };
+}
diff --git a/pkgs/desktops/xfce4-13/libxfce4util/default.nix b/pkgs/desktops/xfce4-14/libxfce4util/default.nix
similarity index 58%
rename from pkgs/desktops/xfce4-13/libxfce4util/default.nix
rename to pkgs/desktops/xfce4-14/libxfce4util/default.nix
index 6a3b633cd09..4540d235251 100644
--- a/pkgs/desktops/xfce4-13/libxfce4util/default.nix
+++ b/pkgs/desktops/xfce4-14/libxfce4util/default.nix
@@ -1,13 +1,13 @@
{ lib, mkXfceDerivation, gobject-introspection }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "libxfce4util";
- version = "4.13.2";
+ version = "4.14.0";
- sha256 = "0sb6pzhmh0qzfdhixj1ard56zi68318k86z3a1h3f2fhqy7gyf98";
+ sha256 = "0vq16bzmnykiikg4dhiaj0qbyj76nkdd54j6k6n568h3dc9ix6q4";
- buildInputs = [ gobject-introspection ];
+ nativeBuildInputs = [ gobject-introspection ];
meta = with lib; {
description = "Extension library for Xfce";
diff --git a/pkgs/desktops/xfce4-13/mkXfceDerivation.nix b/pkgs/desktops/xfce4-14/mkXfceDerivation.nix
similarity index 91%
rename from pkgs/desktops/xfce4-13/mkXfceDerivation.nix
rename to pkgs/desktops/xfce4-14/mkXfceDerivation.nix
index da7179c4646..b7dc8322569 100644
--- a/pkgs/desktops/xfce4-13/mkXfceDerivation.nix
+++ b/pkgs/desktops/xfce4-14/mkXfceDerivation.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme }:
+{ stdenv, fetchgit, pkgconfig, xfce4-dev-tools, hicolor-icon-theme, wrapGAppsHook }:
{ category, pname, version, rev ? "${pname}-${version}", sha256, ... } @ args:
@@ -12,10 +12,10 @@ let
concatAttrLists = attrsets:
zipAttrsWithNames (filterAttrNames isList (head attrsets)) (_: concatLists) attrsets;
- template = rec {
+ template = {
name = "${pname}-${version}";
- nativeBuildInputs = [ pkgconfig xfce4-dev-tools ];
+ nativeBuildInputs = [ pkgconfig xfce4-dev-tools wrapGAppsHook ];
buildInputs = [ hicolor-icon-theme ];
configureFlags = [ "--enable-maintainer-mode" ];
diff --git a/pkgs/desktops/xfce4-14/mousepad/default.nix b/pkgs/desktops/xfce4-14/mousepad/default.nix
new file mode 100644
index 00000000000..77559aaf329
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/mousepad/default.nix
@@ -0,0 +1,15 @@
+{ mkXfceDerivation, exo, glib, gtk3, gtksourceview3, xfconf }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "mousepad";
+ version = "0.4.2";
+
+ sha256 = "0a35vaq4l0d8vzw7hqpvbgkr3wj1sqr2zvj7bc5z4ikz2cppqj7p";
+
+ nativeBuildInputs = [ exo ];
+ buildInputs = [ glib gtk3 gtksourceview3 xfconf ];
+
+ # See https://github.com/NixOS/nixpkgs/issues/36468
+ NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+}
diff --git a/pkgs/desktops/xfce4-13/orage/default.nix b/pkgs/desktops/xfce4-14/orage/default.nix
similarity index 92%
rename from pkgs/desktops/xfce4-13/orage/default.nix
rename to pkgs/desktops/xfce4-14/orage/default.nix
index 3c8395a4908..7bb10c2fd94 100644
--- a/pkgs/desktops/xfce4-13/orage/default.nix
+++ b/pkgs/desktops/xfce4-14/orage/default.nix
@@ -1,5 +1,5 @@
{ lib, fetchpatch, mkXfceDerivation, dbus-glib, gtk2, libical, libnotify, tzdata
-, popt, libxfce4ui ? null, xfce4-panel ? null, withPanelPlugin ? true }:
+, popt, libxfce4ui, xfce4-panel, withPanelPlugin ? true }:
assert withPanelPlugin -> libxfce4ui != null && xfce4-panel != null;
@@ -7,7 +7,7 @@ let
inherit (lib) optionals;
in
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "apps";
pname = "orage";
version = "4.12.1";
diff --git a/pkgs/desktops/xfce4-13/parole/default.nix b/pkgs/desktops/xfce4-14/parole/default.nix
similarity index 54%
rename from pkgs/desktops/xfce4-13/parole/default.nix
rename to pkgs/desktops/xfce4-14/parole/default.nix
index e720791f1c4..ed3979072ed 100644
--- a/pkgs/desktops/xfce4-13/parole/default.nix
+++ b/pkgs/desktops/xfce4-14/parole/default.nix
@@ -1,24 +1,22 @@
-{ mkXfceDerivation, makeWrapper, wrapGAppsHook, dbus, dbus-glib
-, gst-plugins-bad ? null, gst-plugins-base, gst-plugins-good
-, gst-plugins-ugly ? null, gtk3, libnotify, libxfce4ui, libxfce4util
-, taglib ? null, xfconf }:
+{ mkXfceDerivation, dbus, dbus-glib
+, gst-plugins-bad, gst-plugins-base, gst-plugins-good
+, gst-plugins-ugly, gtk3, libnotify, libxfce4ui, libxfce4util
+, taglib, xfconf }:
# Doesn't seem to find H.264 codec even though built with gst-plugins-bad.
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "apps";
pname = "parole";
- version = "1.0.1";
+ version = "1.0.4";
- sha256 = "0zq1imbjqmwfk3yrsha2s7lclzbh8xgggz0rbksa51siqk73swbb";
+ sha256 = "18j4bmny37crryh4pvxcjjvj99mln6ljq2vy69awxhvrjx9ljv13";
postPatch = ''
substituteInPlace src/plugins/mpris2/Makefile.am \
--replace GST_BASE_CFLAGS GST_VIDEO_CFLAGS
'';
- nativeBuildInputs = [ makeWrapper wrapGAppsHook ];
-
buildInputs = [
dbus
dbus-glib
diff --git a/pkgs/desktops/xfce4-14/ristretto/default.nix b/pkgs/desktops/xfce4-14/ristretto/default.nix
new file mode 100644
index 00000000000..4a24bf90532
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/ristretto/default.nix
@@ -0,0 +1,13 @@
+{ mkXfceDerivation, automakeAddFlags, exo, gtk3, glib, libexif
+, libxfce4ui, libxfce4util, xfconf }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "ristretto";
+ version = "0.10.0";
+
+ sha256 = "07h7wbq3xh2ac6q4kp2ai1incfn0zfxxngap7hzqx47a5xw2mrm8";
+
+ nativeBuildInputs = [ exo ];
+ buildInputs = [ glib gtk3 libexif libxfce4ui libxfce4util xfconf ];
+}
diff --git a/pkgs/desktops/xfce4-13/thunar-volman/default.nix b/pkgs/desktops/xfce4-14/thunar-volman/default.nix
similarity index 65%
rename from pkgs/desktops/xfce4-13/thunar-volman/default.nix
rename to pkgs/desktops/xfce4-14/thunar-volman/default.nix
index 0055d0d8217..11b29c64b33 100644
--- a/pkgs/desktops/xfce4-13/thunar-volman/default.nix
+++ b/pkgs/desktops/xfce4-14/thunar-volman/default.nix
@@ -1,11 +1,11 @@
{ mkXfceDerivation, exo, gtk3, libgudev, libxfce4ui, libxfce4util, xfconf }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "thunar-volman";
- version = "0.9.0";
+ version = "0.9.5";
buildInputs = [ exo gtk3 libgudev libxfce4ui libxfce4util xfconf ];
- sha256 = "08aqbp3i0z6frj7z3laz9nj641iakrcr7vh2dxb057ky24gj61i7";
+ sha256 = "1qrlpn0q5g9psd41l6y80r3bvbg8jaic92m6r400zzwcvivf95z0";
}
diff --git a/pkgs/desktops/xfce4-14/thunar/default.nix b/pkgs/desktops/xfce4-14/thunar/default.nix
new file mode 100644
index 00000000000..12a1a62991a
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/thunar/default.nix
@@ -0,0 +1,25 @@
+{ mkXfceDerivation, docbook_xsl, exo, gdk-pixbuf, gtk3, libgudev
+, libnotify, libX11, libxfce4ui, libxfce4util, libxslt, xfconf, gobject-introspection, gvfs }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "thunar";
+ version = "1.8.9";
+
+ sha256 = "01w60csbs2nq1bhb8n1bnmjmx48fm0va3qbnq84z0h2dxpr80b1w";
+
+ nativeBuildInputs = [ libxslt docbook_xsl gobject-introspection ];
+
+ buildInputs = [
+ exo
+ gdk-pixbuf
+ gtk3
+ libgudev
+ libnotify
+ libX11
+ libxfce4ui
+ libxfce4util
+ xfconf
+ gvfs
+ ];
+}
diff --git a/pkgs/desktops/xfce4-14/tumbler/default.nix b/pkgs/desktops/xfce4-14/tumbler/default.nix
new file mode 100644
index 00000000000..ecbc62d8ffb
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/tumbler/default.nix
@@ -0,0 +1,30 @@
+{ mkXfceDerivation
+, ffmpegthumbnailer
+, gdk-pixbuf
+, glib
+, freetype
+, libgsf
+, poppler
+, libjpeg
+, gst_all_1
+}:
+
+# TODO: add libopenraw
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "tumbler";
+ version = "0.2.7";
+
+ sha256 = "14ql3fcxyz81qr9s0vcwh6j2ks5fl8jf9scwnkilv5jy0ii9l0ry";
+
+ buildInputs = [
+ ffmpegthumbnailer
+ freetype
+ gdk-pixbuf
+ glib
+ gst_all_1.gst-plugins-base
+ libgsf
+ poppler # technically the glib binding
+ ];
+}
diff --git a/pkgs/desktops/xfce4-13/xfburn/default.nix b/pkgs/desktops/xfce4-14/xfburn/default.nix
similarity index 53%
rename from pkgs/desktops/xfce4-13/xfburn/default.nix
rename to pkgs/desktops/xfce4-14/xfburn/default.nix
index b8a61f6cf90..27fae12981c 100644
--- a/pkgs/desktops/xfce4-13/xfburn/default.nix
+++ b/pkgs/desktops/xfce4-14/xfburn/default.nix
@@ -1,18 +1,12 @@
{ mkXfceDerivation, docbook_xsl, exo, gtk2, libburn, libisofs, libxfce4ui, libxslt }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "apps";
pname = "xfburn";
version = "0.5.5";
- postPatch = ''
- substituteInPlace docs/Makefile.am \
- --replace http://docbook.sourceforge.net/release/xsl/current \
- ${docbook_xsl}/share/xml/docbook-xsl
- '';
-
sha256 = "1lmv48vqrlap1a2ha72g16vqly18zvcwj8y3f3f00l10pmn52bkp";
- nativeBuildInputs = [ libxslt ];
+ nativeBuildInputs = [ libxslt docbook_xsl ];
buildInputs = [ exo gtk2 libburn libisofs libxfce4ui ];
}
diff --git a/pkgs/desktops/xfce4-13/xfce4-appfinder/default.nix b/pkgs/desktops/xfce4-14/xfce4-appfinder/default.nix
similarity index 67%
rename from pkgs/desktops/xfce4-13/xfce4-appfinder/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-appfinder/default.nix
index 65941fee4c4..6c4af66c866 100644
--- a/pkgs/desktops/xfce4-13/xfce4-appfinder/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-appfinder/default.nix
@@ -1,11 +1,11 @@
{ mkXfceDerivation, exo, garcon, gtk3, libxfce4util, libxfce4ui, xfconf }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "xfce4-appfinder";
- version = "4.13.0";
+ version = "4.14.0";
- sha256 = "13xsshzw04gx5rhalx4r0khjb0dbq26fv6n20biyiai1ykznyryy";
+ sha256 = "04h7jxfm3wkxnxfy8149dckay7i160vvk4p9lnq6xny22r4x20h8";
nativeBuildInputs = [ exo ];
buildInputs = [ garcon gtk3 libxfce4ui libxfce4util xfconf ];
diff --git a/pkgs/desktops/xfce4-13/xfce4-battery-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-battery-plugin/default.nix
similarity index 75%
rename from pkgs/desktops/xfce4-13/xfce4-battery-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-battery-plugin/default.nix
index b4b5ff7b714..376551b09c0 100644
--- a/pkgs/desktops/xfce4-13/xfce4-battery-plugin/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-battery-plugin/default.nix
@@ -3,9 +3,9 @@
mkXfceDerivation rec {
category = "panel-plugins";
pname = "xfce4-battery-plugin";
- version = "1.1.0";
+ version = "1.1.2";
rev = version;
- sha256 = "0mz0lj3wjrsj9n4wcqrvv08430g38nkjbdimxdy8316n6bqgngfn";
+ sha256 = "0329miiclc8da6j0sz495p99hyrf9fjhvpmdl0556fphybz5agc0";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
}
diff --git a/pkgs/desktops/xfce4-13/xfce4-clipman-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-clipman-plugin/default.nix
similarity index 76%
rename from pkgs/desktops/xfce4-13/xfce4-clipman-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-clipman-plugin/default.nix
index 28f63a6769d..74628a325d4 100644
--- a/pkgs/desktops/xfce4-13/xfce4-clipman-plugin/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-clipman-plugin/default.nix
@@ -3,9 +3,9 @@
mkXfceDerivation rec {
category = "panel-plugins";
pname = "xfce4-clipman-plugin";
- version = "1.4.2";
+ version = "1.4.3";
rev = version;
- sha256 = "1c2h1cs7pycf1rhpirmvb0l0dfvlacb7xgm31q9rxmhihnycd2na";
+ sha256 = "1xk79xh1zk0x4r1z9m1dakp79pip0zh3naviybvl1dnpwwfc03gq";
buildInputs = [ exo gtk3 libXtst libxfce4ui libxfce4util xfce4-panel xfconf ];
}
diff --git a/pkgs/desktops/xfce4-13/xfce4-cpufreq-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-cpufreq-plugin/default.nix
similarity index 66%
rename from pkgs/desktops/xfce4-13/xfce4-cpufreq-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-cpufreq-plugin/default.nix
index e17204c0cd5..22793963df3 100644
--- a/pkgs/desktops/xfce4-13/xfce4-cpufreq-plugin/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-cpufreq-plugin/default.nix
@@ -1,10 +1,10 @@
{ mkXfceDerivation, gtk3, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "panel-plugins";
pname = "xfce4-cpufreq-plugin";
- version = "1.2.0";
- sha256 = "0zhs7b7py1njczmpnib4532fwpnd3vnpqfhss2r136cfgy72kp6g";
+ version = "1.2.1";
+ sha256 = "1p7c4g3yfc19ksdckxpzq1q35jvplh5g55299cvv0afhdb5l8zhv";
buildInputs = [ gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
}
diff --git a/pkgs/desktops/xfce4-13/xfce4-dev-tools/default.nix b/pkgs/desktops/xfce4-14/xfce4-dev-tools/default.nix
similarity index 83%
rename from pkgs/desktops/xfce4-13/xfce4-dev-tools/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-dev-tools/default.nix
index 9dedb8674dc..38fe82ffb01 100644
--- a/pkgs/desktops/xfce4-13/xfce4-dev-tools/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-dev-tools/default.nix
@@ -1,12 +1,12 @@
{ mkXfceDerivation, autoreconfHook, autoconf, automake
, glib, gtk-doc, intltool, libtool }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "xfce4-dev-tools";
- version = "4.12.0";
+ version = "4.14.0";
- sha256 = "0bbmlmw2dpm10q2wv3vy592i0vx7b5h1qnd35j0fdzxqb8x2hbw2";
+ sha256 = "10hcj88784faqrk08xb538355cla26vdk9ckx158hqdqv38sb42f";
nativeBuildInputs = [ autoreconfHook ];
diff --git a/pkgs/desktops/xfce4-13/xfce4-dev-tools/setup-hook.sh b/pkgs/desktops/xfce4-14/xfce4-dev-tools/setup-hook.sh
similarity index 100%
rename from pkgs/desktops/xfce4-13/xfce4-dev-tools/setup-hook.sh
rename to pkgs/desktops/xfce4-14/xfce4-dev-tools/setup-hook.sh
diff --git a/pkgs/desktops/xfce4-13/xfce4-dict/configure-gio.patch b/pkgs/desktops/xfce4-14/xfce4-dict/configure-gio.patch
similarity index 100%
rename from pkgs/desktops/xfce4-13/xfce4-dict/configure-gio.patch
rename to pkgs/desktops/xfce4-14/xfce4-dict/configure-gio.patch
diff --git a/pkgs/desktops/xfce4-13/xfce4-dict/default.nix b/pkgs/desktops/xfce4-14/xfce4-dict/default.nix
similarity index 77%
rename from pkgs/desktops/xfce4-13/xfce4-dict/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-dict/default.nix
index 1236b60175d..66ca7affa48 100644
--- a/pkgs/desktops/xfce4-13/xfce4-dict/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-dict/default.nix
@@ -1,11 +1,11 @@
{ mkXfceDerivation, automakeAddFlags, gtk3, libxfce4ui, libxfce4util, xfce4-panel }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "apps";
pname = "xfce4-dict";
- version = "0.8.1";
+ version = "0.8.2";
- sha256 = "0kxirzqmpp7qlr8220i8kipz4bgzkam7h1lpx7yzld5xf7wdzvaf";
+ sha256 = "1zbb0k0984ny7wy4gbk6ymkh87rbfakpim54yq4r3h5ymslx7iv7";
patches = [ ./configure-gio.patch ];
diff --git a/pkgs/desktops/xfce4-13/xfce4-netload-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-netload-plugin/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-13/xfce4-netload-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-netload-plugin/default.nix
diff --git a/pkgs/desktops/xfce4-14/xfce4-notifyd/default.nix b/pkgs/desktops/xfce4-14/xfce4-notifyd/default.nix
new file mode 100644
index 00000000000..e468fea637e
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-notifyd/default.nix
@@ -0,0 +1,12 @@
+{ mkXfceDerivation, glib, exo, gtk3, libnotify, libxfce4ui, libxfce4util
+, xfce4-panel, xfconf }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "xfce4-notifyd";
+ version = "0.4.4";
+
+ sha256 = "1lmm9h3ych8dz9jpjkxg91f9ln14xs527nxjxsryks00kmqk4kai";
+
+ buildInputs = [ exo gtk3 glib libnotify libxfce4ui libxfce4util xfce4-panel xfconf ];
+}
diff --git a/pkgs/desktops/xfce4-14/xfce4-panel/default.nix b/pkgs/desktops/xfce4-14/xfce4-panel/default.nix
new file mode 100644
index 00000000000..c571666e5c4
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-panel/default.nix
@@ -0,0 +1,29 @@
+{ mkXfceDerivation, tzdata, exo, garcon, gtk2, gtk3, glib, gettext, glib-networking, libxfce4ui, libxfce4util, libwnck3, xfconf, gobject-introspection }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "xfce4-panel";
+ version = "4.14.0";
+
+ sha256 = "1v3f2xjz9gwa8maqqvv9w2dh1cgy03v89a9ny7nrv0cjsxwwrr15";
+
+ nativeBuildInputs = [ gobject-introspection ];
+ buildInputs = [ exo garcon gtk2 gtk3 glib glib-networking libxfce4ui libxfce4util libwnck3 xfconf ];
+
+ patches = [ ../../xfce/core/xfce4-panel-datadir.patch ];
+ patchFlags = "-p1";
+
+ postPatch = ''
+ for f in $(find . -name \*.sh); do
+ substituteInPlace $f --replace gettext ${gettext}/bin/gettext
+ done
+ substituteInPlace plugins/clock/clock.c \
+ --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
+ '';
+
+ configureFlags = [ "--enable-gtk3" ];
+
+ meta = {
+ description = "Xfce's panel";
+ };
+}
diff --git a/pkgs/desktops/xfce4-13/xfce4-power-manager/default.nix b/pkgs/desktops/xfce4-14/xfce4-power-manager/default.nix
similarity index 83%
rename from pkgs/desktops/xfce4-13/xfce4-power-manager/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-power-manager/default.nix
index 5389af66882..985146c8257 100644
--- a/pkgs/desktops/xfce4-13/xfce4-power-manager/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-power-manager/default.nix
@@ -1,12 +1,12 @@
{ mkXfceDerivation, automakeAddFlags, exo, gtk3, libnotify
, libxfce4ui, libxfce4util, upower, xfconf }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "xfce4-power-manager";
- version = "1.6.1";
+ version = "1.6.5";
- sha256 = "0b32m46v3dv1ln3xwlpqbnpflknm4gyfk2w6gn7xjx1k7igcjym3";
+ sha256 = "0zazm2cgkz5xj7rvy9gbh4kaay2anfcmawg4gj38pnq3a8zcwwd5";
nativeBuildInputs = [ automakeAddFlags exo ];
buildInputs = [ gtk3 libnotify libxfce4ui libxfce4util upower xfconf ];
diff --git a/pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-pulseaudio-plugin/default.nix
similarity index 96%
rename from pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-pulseaudio-plugin/default.nix
index 185494c2543..6fca6069d1e 100644
--- a/pkgs/desktops/xfce4-13/xfce4-pulseaudio-plugin/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-pulseaudio-plugin/default.nix
@@ -1,7 +1,7 @@
{ mkXfceDerivation, automakeAddFlags, dbus-glib, dbus, gtk3, libpulseaudio
, libnotify, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "panel-plugins";
pname = "xfce4-pulseaudio-plugin";
version = "0.4.1";
diff --git a/pkgs/desktops/xfce4-14/xfce4-screenshooter/default.nix b/pkgs/desktops/xfce4-14/xfce4-screenshooter/default.nix
new file mode 100644
index 00000000000..f13a8fba6d0
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-screenshooter/default.nix
@@ -0,0 +1,11 @@
+{ mkXfceDerivation, exo, gtk3, libsoup, libxfce4ui, libxfce4util, xfce4-panel, glib-networking }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "xfce4-screenshooter";
+ version = "1.9.5";
+
+ sha256 = "1h14sywvk9l06p3z1cpb79911j8w2wqbk03ldknjkia2rfymjk06";
+
+ buildInputs = [ exo gtk3 libsoup libxfce4ui libxfce4util xfce4-panel glib-networking ];
+}
diff --git a/pkgs/desktops/xfce4-14/xfce4-session/default.nix b/pkgs/desktops/xfce4-14/xfce4-session/default.nix
new file mode 100644
index 00000000000..d44cd8b0dd7
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-session/default.nix
@@ -0,0 +1,20 @@
+{ mkXfceDerivation, polkit, exo, libxfce4util, libxfce4ui, xfconf, iceauth, gtk3, glib, libwnck3, xorg }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "xfce4-session";
+ version = "4.14.0";
+
+ sha256 = "0v0xzkdr5rgv6219c1dy96cghgw8bqnb313jccxihfgddf363104";
+
+ buildInputs = [ exo gtk3 glib libxfce4ui libxfce4util libwnck3 xfconf polkit iceauth ];
+
+ configureFlags = [ "--with-xsession-prefix=${placeholder "out"}" ];
+
+ # See https://github.com/NixOS/nixpkgs/issues/36468
+ NIX_CFLAGS_COMPILE = "-I${glib.dev}/include/gio-unix-2.0";
+
+ meta = {
+ description = "Session manager for Xfce";
+ };
+}
diff --git a/pkgs/desktops/xfce4-13/xfce4-settings/default.nix b/pkgs/desktops/xfce4-14/xfce4-settings/default.nix
similarity index 52%
rename from pkgs/desktops/xfce4-13/xfce4-settings/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-settings/default.nix
index 6eb917fd76f..8cda66359e3 100644
--- a/pkgs/desktops/xfce4-13/xfce4-settings/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-settings/default.nix
@@ -1,34 +1,32 @@
-{ mkXfceDerivation, automakeAddFlags, exo, garcon, gtk3
-, libnotify ? null, libxfce4ui, libxfce4util, libxklavier ? null
-, upower ? null, xfconf, xf86inputlibinput ? null }:
+{ mkXfceDerivation, automakeAddFlags, exo, garcon, gtk3, glib
+, libnotify, libxfce4ui, libxfce4util, libxklavier
+, upower, xfconf, xf86inputlibinput }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "xfce4-settings";
- version = "4.13.4";
+ version = "4.14.0";
- sha256 = "0qnnpvcs2hpfq3n4byjwq343p95i9xw96rq7ym4md4mahnk176dy";
+ sha256 = "13gmxd4sfgd6wky7s03bar58w9vl4i6jv2wncd6iajww791y5akn";
postPatch = ''
- automakeAddFlags xfce4-settings-editor/Makefile.am xfce4_settings_editor_CFLAGS DBUS_GLIB_CFLAGS
for f in $(find . -name \*.c); do
substituteInPlace $f --replace \"libinput-properties.h\" ''
done
'';
- nativeBuildInputs = [ automakeAddFlags ];
-
buildInputs = [
exo
garcon
+ glib
gtk3
libnotify
libxfce4ui
libxfce4util
libxklavier
upower
- xfconf
xf86inputlibinput
+ xfconf
];
configureFlags = [
diff --git a/pkgs/desktops/xfce4-14/xfce4-taskmanager/default.nix b/pkgs/desktops/xfce4-14/xfce4-taskmanager/default.nix
new file mode 100644
index 00000000000..776b3797f76
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-taskmanager/default.nix
@@ -0,0 +1,12 @@
+{ lib, mkXfceDerivation, exo, gtk3, libwnck3, libXmu }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "xfce4-taskmanager";
+ version = "1.2.2";
+
+ sha256 = "03js0pmhrybxa7hrp3gx4rm7j061ansv0bp2dwhnbrdpmzjysysc";
+
+ nativeBuildInputs = [ exo ];
+ buildInputs = [ gtk3 libwnck3 libXmu ];
+}
diff --git a/pkgs/desktops/xfce4-14/xfce4-terminal/default.nix b/pkgs/desktops/xfce4-14/xfce4-terminal/default.nix
new file mode 100644
index 00000000000..78e98e9ea7d
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfce4-terminal/default.nix
@@ -0,0 +1,15 @@
+{ mkXfceDerivation, gtk3, libxfce4ui, vte, xfconf }:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "xfce4-terminal";
+ version = "0.8.8";
+
+ sha256 = "0sg9vwyvhh7pjp83biv7gvf42423a7ly4dc7q2gn28kp6bds2qcp";
+
+ buildInputs = [ gtk3 libxfce4ui vte xfconf ];
+
+ meta = {
+ description = "A modern terminal emulator";
+ };
+}
diff --git a/pkgs/desktops/xfce4-13/xfce4-volumed-pulse/default.nix b/pkgs/desktops/xfce4-14/xfce4-volumed-pulse/default.nix
similarity index 71%
rename from pkgs/desktops/xfce4-13/xfce4-volumed-pulse/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-volumed-pulse/default.nix
index 626451c70d6..97a00e9b67f 100644
--- a/pkgs/desktops/xfce4-13/xfce4-volumed-pulse/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-volumed-pulse/default.nix
@@ -1,6 +1,6 @@
-{ lib, mkXfceDerivation, gtk3, libnotify ? null, libpulseaudio, keybinder3, xfconf }:
+{ lib, mkXfceDerivation, gtk3, libnotify, libpulseaudio, keybinder3, xfconf }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "apps";
pname = "xfce4-volumed-pulse";
version = "0.2.3";
diff --git a/pkgs/desktops/xfce4-13/xfce4-whiskermenu-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
similarity index 52%
rename from pkgs/desktops/xfce4-13/xfce4-whiskermenu-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
index 41a1ef82932..f943f2ab333 100644
--- a/pkgs/desktops/xfce4-13/xfce4-whiskermenu-plugin/default.nix
+++ b/pkgs/desktops/xfce4-14/xfce4-whiskermenu-plugin/default.nix
@@ -1,15 +1,15 @@
-{ mkXfceDerivation, dbus-glib, gtk3, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
+{ mkXfceDerivation, gtk3, glib, cmake, exo, garcon, libxfce4ui, libxfce4util, xfce4-panel, xfconf }:
mkXfceDerivation rec {
category = "panel-plugins";
pname = "xfce4-whiskermenu-plugin";
- version = "2.2.0";
+ version = "2.3.3";
rev = "v${version}";
- sha256 = "1d35xxkdzw8pl3d5ps226mmrrjk0hqczsbvl5smh7l7jbwfambjm";
+ sha256 = "0agh0a5srsy6vi6r50ak9rb42r7vcnfv6nfvg4qbqi77yc44yqdb";
nativeBuildInputs = [ cmake ];
- buildInputs = [ dbus-glib exo garcon gtk3 libxfce4ui libxfce4util xfce4-panel xfconf ];
+ buildInputs = [ exo garcon gtk3 glib libxfce4ui libxfce4util xfce4-panel xfconf ];
postInstall = ''
substituteInPlace $out/bin/xfce4-popup-whiskermenu \
diff --git a/pkgs/desktops/xfce4-13/xfce4-xkb-plugin/default.nix b/pkgs/desktops/xfce4-14/xfce4-xkb-plugin/default.nix
similarity index 100%
rename from pkgs/desktops/xfce4-13/xfce4-xkb-plugin/default.nix
rename to pkgs/desktops/xfce4-14/xfce4-xkb-plugin/default.nix
diff --git a/pkgs/desktops/xfce4-13/xfconf/default.nix b/pkgs/desktops/xfce4-14/xfconf/default.nix
similarity index 52%
rename from pkgs/desktops/xfce4-13/xfconf/default.nix
rename to pkgs/desktops/xfce4-14/xfconf/default.nix
index def60bcfe21..a9d6ceaf469 100644
--- a/pkgs/desktops/xfce4-13/xfconf/default.nix
+++ b/pkgs/desktops/xfce4-14/xfconf/default.nix
@@ -1,11 +1,11 @@
{ mkXfceDerivation, libxfce4util }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "xfconf";
- version = "4.13.5";
+ version = "4.14.1";
- sha256 = "0xpnwb04yw5qdn0bj8b740a7rmiy316vhja5pp8p6sdiqm32yi8a";
+ sha256 = "1mbqc1463xgn7gafbh2fyshshdxin33iwk96y4nw2gl48nhx4sgs";
buildInputs = [ libxfce4util ];
}
diff --git a/pkgs/desktops/xfce4-14/xfdashboard/default.nix b/pkgs/desktops/xfce4-14/xfdashboard/default.nix
new file mode 100644
index 00000000000..a17c29f6723
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfdashboard/default.nix
@@ -0,0 +1,44 @@
+{ mkXfceDerivation
+, clutter
+, libXcomposite
+, libXinerama
+, libXdamage
+, libX11
+, libwnck3
+, libxfce4ui
+, libxfce4util
+, garcon
+, xfconf
+, gtk3
+, glib
+, dbus-glib
+}:
+
+mkXfceDerivation {
+ category = "apps";
+ pname = "xfdashboard";
+ version = "0.7.5";
+ rev = "0.7.5";
+
+ sha256 = "0d0kg90h3li41bs75z3xldljsglkz220pba39c54qznnzb8v8a2i";
+
+ buildInputs = [
+ clutter
+ dbus-glib
+ garcon
+ glib
+ gtk3
+ libX11
+ libXcomposite
+ libXdamage
+ libXinerama
+ libwnck3
+ libxfce4ui
+ libxfce4util
+ xfconf
+ ];
+
+ meta = {
+ description = "Gnome shell like dashboard";
+ };
+}
diff --git a/pkgs/desktops/xfce4-13/xfdesktop/default.nix b/pkgs/desktops/xfce4-14/xfdesktop/default.nix
similarity index 60%
rename from pkgs/desktops/xfce4-13/xfdesktop/default.nix
rename to pkgs/desktops/xfce4-14/xfdesktop/default.nix
index 0209b791360..afcd0d19dc3 100644
--- a/pkgs/desktops/xfce4-13/xfdesktop/default.nix
+++ b/pkgs/desktops/xfce4-14/xfdesktop/default.nix
@@ -1,11 +1,11 @@
-{ mkXfceDerivation, exo, gtk3, libxfce4ui, libxfce4util, libwnck3, xfconf }:
+{ mkXfceDerivation, exo, gtk3, libxfce4ui, libxfce4util, libwnck3, xfconf, libnotify, garcon, thunar }:
-mkXfceDerivation rec {
+mkXfceDerivation {
category = "xfce";
pname = "xfdesktop";
- version = "4.13.2";
+ version = "4.14.1";
- sha256 = "0v6dlhraqh9v20qciyj03cbjmg3jb6gvmf0hqzavxqi2di3mv5fl";
+ sha256 = "006w4xwmpwp34q2qkkixr3xz0vb0kny79pw64yj4304wsb5jr14g";
buildInputs = [
exo
@@ -14,6 +14,9 @@ mkXfceDerivation rec {
libxfce4util
libwnck3
xfconf
+ libnotify
+ garcon
+ thunar
];
meta = {
diff --git a/pkgs/desktops/xfce4-14/xfwm4/default.nix b/pkgs/desktops/xfce4-14/xfwm4/default.nix
new file mode 100644
index 00000000000..358e99c893f
--- /dev/null
+++ b/pkgs/desktops/xfce4-14/xfwm4/default.nix
@@ -0,0 +1,26 @@
+{ mkXfceDerivation, exo, librsvg, dbus-glib, epoxy, gtk3, libXdamage
+, libstartup_notification, libxfce4ui, libxfce4util, libwnck3
+, libXpresent, xfconf }:
+
+mkXfceDerivation {
+ category = "xfce";
+ pname = "xfwm4";
+ version = "4.14.0";
+
+ sha256 = "1z5aqij2d8n9wnha88b0qzkvss54jvqs8w1w5m3mzjl4c9mn9n8m";
+
+ nativeBuildInputs = [ exo librsvg ];
+
+ buildInputs = [
+ dbus-glib
+ epoxy
+ gtk3
+ libXdamage
+ libstartup_notification
+ libxfce4ui
+ libxfce4util
+ libwnck3
+ libXpresent
+ xfconf
+ ];
+}
diff --git a/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix b/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
index cca0f0d4adb..02aa6567c1a 100644
--- a/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
+++ b/pkgs/development/androidndk-pkgs/androidndk-pkgs.nix
@@ -1,4 +1,4 @@
-{ lib, stdenv
+{ stdenv
, makeWrapper
, runCommand, wrapBintoolsWith, wrapCCWith
, buildAndroidndk, androidndk, targetAndroidndkPkgs
@@ -12,31 +12,31 @@ let
# than we do. We don't just use theirs because ours are less ambiguous and
# some builds need that clarity.
ndkInfoFun = { config, ... }: {
- "x86_64-apple-darwin" = {
+ x86_64-apple-darwin = {
double = "darwin-x86_64";
};
- "x86_64-unknown-linux-gnu" = {
+ x86_64-unknown-linux-gnu = {
double = "linux-x86_64";
};
- "i686-unknown-linux-android" = {
+ i686-unknown-linux-android = {
triple = "i686-linux-android";
arch = "x86";
toolchain = "x86";
gccVer = "4.9";
};
- "x86_64-unknown-linux-android" = {
+ x86_64-unknown-linux-android = {
triple = "x86_64-linux-android";
arch = "x86_64";
toolchain = "x86_64";
gccVer = "4.9";
};
- "armv7a-unknown-linux-androideabi" = {
+ armv7a-unknown-linux-androideabi = {
arch = "arm";
triple = "arm-linux-androideabi";
toolchain = "arm-linux-androideabi";
gccVer = "4.9";
};
- "aarch64-unknown-linux-android" = {
+ aarch64-unknown-linux-android = {
arch = "arm64";
triple = "aarch64-linux-android";
toolchain = "aarch64-linux-android";
diff --git a/pkgs/development/androidndk-pkgs/default.nix b/pkgs/development/androidndk-pkgs/default.nix
index 341cdf72028..7bb779d1d13 100644
--- a/pkgs/development/androidndk-pkgs/default.nix
+++ b/pkgs/development/androidndk-pkgs/default.nix
@@ -1,8 +1,7 @@
{ androidenv, buildPackages, pkgs, targetPackages
-, includeSources ? true, licenseAccepted ? false
}:
-rec {
+{
"18b" =
let
ndkVersion = "18.1.5063045";
@@ -21,7 +20,7 @@ rec {
inherit (buildPackages)
makeWrapper;
inherit (pkgs)
- lib stdenv
+ stdenv
runCommand wrapBintoolsWith wrapCCWith;
# buildPackages.foo rather than buildPackages.buildPackages.foo would work,
# but for splicing messing up on infinite recursion for the variants we
diff --git a/pkgs/development/arduino/arduino-core/default.nix b/pkgs/development/arduino/arduino-core/default.nix
index 2df5d16dbac..2897bac0614 100644
--- a/pkgs/development/arduino/arduino-core/default.nix
+++ b/pkgs/development/arduino/arduino-core/default.nix
@@ -3,7 +3,7 @@
, withGui ? false, gtk2 ? null, withTeensyduino ? false
/* Packages needed for Teensyduino */
, upx, fontconfig, xorg, gcc
-, atk, glib, pango, gdk_pixbuf, libpng12, expat, freetype,
+, atk, glib, pango, gdk-pixbuf, libpng12, expat, freetype,
}:
assert withGui -> gtk2 != null;
@@ -24,8 +24,8 @@ let
};
# Some .so-files are later copied from .jar-s to $HOME, so patch them beforehand
patchelfInJars =
- lib.optional (stdenv.hostPlatform.system == "x86_64-linux") {jar = "share/arduino/lib/jssc-2.8.0-arduino1.jar"; file = "libs/linux/libjSSC-2.8_x86_64.so";}
- ++ lib.optional (stdenv.hostPlatform.system == "i686-linux") {jar = "share/arduino/lib/jssc-2.8.0-arduino1.jar"; file = "libs/linux/libjSSC-2.8_x86.so";}
+ lib.optional (stdenv.hostPlatform.system == "x86_64-linux") {jar = "share/arduino/lib/jssc-2.8.0-arduino3.jar"; file = "libs/linux/libjSSC-2.8_x86_64.so";}
+ ++ lib.optional (stdenv.hostPlatform.system == "i686-linux") {jar = "share/arduino/lib/jssc-2.8.0-arduino3.jar"; file = "libs/linux/libjSSC-2.8_x86.so";}
;
# abiVersion 6 is default, but we need 5 for `avrdude_bin` executable
ncurses5 = ncurses.override { abiVersion = "5"; };
@@ -36,7 +36,7 @@ let
fontconfig
freetype
gcc.cc.lib
- gdk_pixbuf
+ gdk-pixbuf
glib
gtk2
libpng12
@@ -58,37 +58,37 @@ let
+ stdenv.lib.optionalString (!withGui) "-core";
in
stdenv.mkDerivation rec {
- version = "1.8.5";
+ version = "1.8.9";
name = "${flavor}-${version}";
src = fetchFromGitHub {
owner = "arduino";
repo = "Arduino";
- rev = "${version}";
- sha256 = "0ww72qfk7fyvprz15lc80i1axfdacb5fij4h5j5pakrg76mng2c3";
+ rev = version;
+ sha256 = "0kblq0bqap2zzkflrj6rmdi8dvqxa28fcwwrc3lfmbz2893ni3w4";
};
- teensyduino_version = "145";
+ teensyduino_version = "147";
teensyduino_src = fetchurl {
url = "https://www.pjrc.com/teensy/td_${teensyduino_version}/TeensyduinoInstall.${teensy_architecture}";
sha256 =
- lib.optionalString ("${teensy_architecture}" == "linux64")
- "0n8812znwdyvy7d1321p4r6j5pixg1sr31z5pfr7i0ikw0jxfrxb"
- + lib.optionalString ("${teensy_architecture}" == "linux32")
- "1p74rb8g4v6kd09a0af1yra8xjzy3iyv5w5b6h6ljfhb022v3l57"
- + lib.optionalString ("${teensy_architecture}" == "linuxarm")
- "0jd9dvr8zx9hlyn6j979d66qdvzgv3dmx5x9yviqvrn1f3w4hfbf";
+ lib.optionalString (teensy_architecture == "linux64")
+ "09ysanip5d2f5axzd81z2l74ayng60zqhjxmxs7xa5098fff46il"
+ + lib.optionalString (teensy_architecture == "linux32")
+ "1zw3cfv2p62dwg8838vh0gd1934b18cyx7c13azvwmrpj601l0xx"
+ + lib.optionalString (teensy_architecture == "linuxarm")
+ "12421z26ksx84aldw1pq0cakh8jhs33mwafgvfij0zfgn9x0i877";
};
# Used because teensyduino requires jars be a specific size
arduino_dist_src = fetchurl {
url = "http://downloads.arduino.cc/arduino-${version}-${teensy_architecture}.tar.xz";
sha256 =
- lib.optionalString ("${teensy_architecture}" == "linux64")
- "1f8s3by5lc6fazyaa9zc9kz3ar8zj8jabab1fy5jzh49fbd8bydx"
- + lib.optionalString ("${teensy_architecture}" == "linux32")
- "1r9ral9aq5vp02dwgagifk5h403l7knxdyi1w23rqpcbbpa423lw"
- + lib.optionalString ("${teensy_architecture}" == "linuxarm")
- "0sz18wns00kysmb2zv7a67dy9wpxiawq3ykfr07wjyg8h1fy3p6h";
+ lib.optionalString (teensy_architecture == "linux64")
+ "1lv4in9j0r8s0cis4zdvbk2637vlj12w69wdxgcxcrwvkcdahkpa"
+ + lib.optionalString (teensy_architecture == "linux32")
+ "0zla3a6gd9prclgrbbgsmhf8ds8zb221m65x21pvz0y1cwsdvjpm"
+ + lib.optionalString (teensy_architecture == "linuxarm")
+ "1w5m49wfd68zazli0lf3w4zykab8n7mzp3wnbjqfpx2vip80bqnz";
};
@@ -115,7 +115,7 @@ stdenv.mkDerivation rec {
substituteInPlace build/build.xml --replace "get src" "get error"
cd ./arduino-core && ant
- cd ../build && ant
+ cd ../build && ant
cd ..
'';
@@ -216,6 +216,6 @@ stdenv.mkDerivation rec {
homepage = http://arduino.cc/;
license = if withTeensyduino then licenses.unfreeRedistributable else licenses.gpl2;
platforms = platforms.linux;
- maintainers = with maintainers; [ antono auntie robberer bjornfor ];
+ maintainers = with maintainers; [ antono auntie robberer bjornfor bergey ];
};
}
diff --git a/pkgs/development/arduino/arduino-core/downloads.nix b/pkgs/development/arduino/arduino-core/downloads.nix
index e71c898dd55..9c4f795d293 100644
--- a/pkgs/development/arduino/arduino-core/downloads.nix
+++ b/pkgs/development/arduino/arduino-core/downloads.nix
@@ -16,13 +16,33 @@
url = "https://downloads.arduino.cc/Edison_help_files-1.6.2.zip";
sha256 = "1x25rivmh0zpa6lr8dafyxvim34wl3wnz3r9msfxg45hnbjqqwan";
};
- "build/Firmata-2.5.6.zip" = fetchurl {
- url = "https://github.com/arduino-libraries/Firmata/archive/2.5.6.zip";
- sha256 = "117dd4pdlgv60gdlgm2ckjfq89i0dg1q8vszg6hxywdf701c1fk4";
+ "build/Ethernet-2.0.0.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/Ethernet/archive/2.0.0.zip";
+ sha256 = "0had46c1n1wx9fa7ki5dwidvchiy00pv7qj9msp6wgv199vm19m8";
};
- "build/Bridge-1.6.3.zip" = fetchurl {
- url = "https://github.com/arduino-libraries/Bridge/archive/1.6.3.zip";
- sha256 = "1lha5wkzz63bgcn7bhx4rmgsh9ywa47lffycpyz6qjnl1pvm5mmj";
+ "build/GSM-1.0.6.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/GSM/archive/1.0.6.zip";
+ sha256 = "1kmikxr07cyzsnhhymvgj9m4dxi671ni120l33gfmmm6079qfwbk";
+ };
+ "build/Stepper-1.1.3.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/Stepper/archive/1.1.3.zip";
+ sha256 = "1kyv6bmhmbjh7z8x77v04aywd2s54nm80g0j07gay2sa3f6k1p4v";
+ };
+ "build/TFT-1.0.6.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/TFT/archive/1.0.6.zip";
+ sha256 = "1d69xp3hrva58nrx0vy4skrr1h63649q1jnc2g55bpbaxjhf5j5w";
+ };
+ "build/WiFi-1.2.7.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/WiFi/archive/1.2.7.zip";
+ sha256 = "1fmj2q2672hivp5jn05xhc875ii3w54nfja3b1yrp8s2fwinh7f6";
+ };
+ "build/Firmata-2.5.8.zip" = fetchurl {
+ url = "https://github.com/firmata/arduino/archive/2.5.8.zip";
+ sha256 = "0jmlqrnw5fksyqkjhcsl6j1q7c0clnvfr8yknanqqssc19pxp722";
+ };
+ "build/Bridge-1.7.0.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/Bridge/archive/1.7.0.zip";
+ sha256 = "1qpnb2mj77jm4qczk1ndgjc9j2kqxnyahxdvlp0120x6w2jcq8s8";
};
"build/Robot_Control-1.0.4.zip" = fetchurl {
url = "https://github.com/arduino-libraries/Robot_Control/archive/1.0.4.zip";
@@ -52,87 +72,91 @@
url = "https://github.com/arduino-libraries/Mouse/archive/1.0.1.zip";
sha256 = "106jjqxzpf5lrs9akwvamqsblj5w2fb7vd0wafm9ihsikingiypr";
};
- "build/Keyboard-1.0.1.zip" = fetchurl {
- url = "https://github.com/arduino-libraries/Keyboard/archive/1.0.1.zip";
- sha256 = "1spv73zhjbrb0vgpzjnh6wr3bddlbyzv78d21dbn8z2l0aqv2sac";
+ "build/Keyboard-1.0.2.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/Keyboard/archive/1.0.2.zip";
+ sha256 = "17yfj95r1i7fb87q4krmxmaq07b4x2xf8cjngrj5imj68wgjck53";
};
- "build/SD-1.1.1.zip" = fetchurl {
- url = "https://github.com/arduino-libraries/SD/archive/1.1.1.zip";
- sha256 = "0nackcf7yx5np1s24wnsrcjl8j0nlmqqir6316vqqkfayvb1247n";
+ "build/SD-1.2.3.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/SD/archive/1.2.3.zip";
+ sha256 = "0i5hb5hmrsrhfgxx8w7zzrfrkc751vs63vhxrj6qvwazhfcdpjw2";
};
- "build/Servo-1.1.2.zip" = fetchurl {
- url = "https://github.com/arduino-libraries/Servo/archive/1.1.2.zip";
- sha256 = "14k1883qrx425wnm0r8kszzq32yvvs3jwxf3g7ybp7v0ga0q47l7";
+ "build/Servo-1.1.3.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/Servo/archive/1.1.3.zip";
+ sha256 = "1m019a75cdn1fg0cwlzbahmaqvg8sgzr6v1812rd7rjh8ismiah6";
};
"build/LiquidCrystal-1.0.7.zip" = fetchurl {
url = "https://github.com/arduino-libraries/LiquidCrystal/archive/1.0.7.zip";
sha256 = "1wrxrqz3n4yrj9j1a2b7pdd7a1rlyi974ra7crv5amjng8817x9n";
};
- "build/Adafruit_CircuitPlayground-1.6.8.zip" = fetchurl {
- url = "https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.6.8.zip";
- sha256 = "0zm667xiaygx8v1ygcls43s6qd5n7pf21n0998n1z7nf18s35j41";
+ "build/Adafruit_Circuit_Playground-1.8.1.zip" = fetchurl {
+ url = "https://github.com/Adafruit/Adafruit_CircuitPlayground/archive/1.8.1.zip";
+ sha256 = "1fl24px4c42f6shpb3livwsxgpj866yy285274qrj4m1zl07f18q";
};
- "build/libastylej-2.05.1-3.zip" = fetchurl {
- url = "https://downloads.arduino.cc/libastylej-2.05.1-3.zip";
- sha256 = "0a1xy2cdl0xls5r21vy5d2j1dapn1jsdw0vbimlwnzfx7r84mxa6";
+ "build/libastylej-2.05.1-4.zip" = fetchurl {
+ url = "https://downloads.arduino.cc/libastylej-2.05.1-4.zip";
+ sha256 = "0q307b85xba7izjh344kqby3qahg3f5zy18gg52sjk1lbkl9i39s";
};
- "build/liblistSerials-1.4.0.zip" = fetchurl {
- url = "https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.0.zip";
- sha256 = "129mfbyx7snq3znzhkfbdjiifdr85cwk6wjn8l9ia0wynszs5zyv";
+ "build/liblistSerials-1.4.2.zip" = fetchurl {
+ url = "https://downloads.arduino.cc/liblistSerials/liblistSerials-1.4.2.zip";
+ sha256 = "1p58b421k92rbgwfgbihy0d04mby7kfssghpmjb4gk9yix09za3m";
};
- "build/shared/WiFi101-Updater-ArduinoIDE-Plugin-0.9.1.zip" = fetchurl {
- url = "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.9.1/WiFi101-Updater-ArduinoIDE-Plugin-0.9.1.zip";
- sha256 = "15przp8z1dp6lamcvqdx4daq6fqi3c1algc3sbinyh25pm69pq74";
+ "build/shared/WiFi101-Updater-ArduinoIDE-Plugin-0.10.6.zip" = fetchurl {
+ url = "https://github.com/arduino-libraries/WiFi101-FirmwareUpdater-Plugin/releases/download/v0.10.6/WiFi101-Updater-ArduinoIDE-Plugin-0.10.6.zip";
+ sha256 = "1k23xyr5dmr60y8hb9x24wrgd4mfgvrzky621p6fvawn5xbdq8a3";
};
}
// optionalAttrs (system == "x86_64-linux") {
- "build/arduino-builder-linux64-1.3.25.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduino-builder-linux64-1.3.25.tar.bz2";
- sha256 = "15y80p255w2rg028vc8dq4hpqsmf770qigv3hgf78npb4qrjnqqf";
+ "build/arduino-builder-linux64-1.4.4.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduino-builder-linux64-1.4.4.tar.bz2";
+ sha256 = "1m5b4rc9i235ra6isqdpjj9llddb5sldkhidb8c4i14mcqbdci1n";
};
- "build/linux/avr-gcc-4.9.2-atmel3.5.4-arduino2-x86_64-pc-linux-gnu.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avr-gcc-4.9.2-atmel3.5.4-arduino2-x86_64-pc-linux-gnu.tar.bz2";
- sha256 = "132qm8l6h50z4s9h0i5mfv6bp0iia0pp9kc3gd37hkajy4bh4j0r";
+ "build/linux/avr-gcc-5.4.0-atmel3.6.1-arduino2-x86_64-pc-linux-gnu.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avr-gcc-5.4.0-atmel3.6.1-arduino2-x86_64-pc-linux-gnu.tar.bz2";
+ sha256 = "11ciwv9sw900wxb2fwm4i4ml4a85ylng0f595v0mf0xifc6jnhh5";
};
- "build/linux/avrdude-6.3.0-arduino9-x86_64-pc-linux-gnu.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino9-x86_64-pc-linux-gnu.tar.bz2";
- sha256 = "0shz5ymnlsrbnaqcb13fwbd73hz9k45adw14gf1ywjgywa2cpk68";
+ "build/linux/avrdude-6.3.0-arduino14-x86_64-pc-linux-gnu.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino14-x86_64-pc-linux-gnu.tar.bz2";
+ sha256 = "1z4b6pvn1823h8mg0iph88igmcnrk2y7skr3z44dqlwk0pryi1kr";
};
- "build/linux/arduinoOTA-1.1.1-linux_amd64.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduinoOTA-1.1.1-linux_amd64.tar.bz2";
- sha256 = "0xy25srvpz6d0yfnz8b17mkmary3k51lb1cvgw7n2zyxayjd0npb";
+ "build/linux/arduinoOTA-1.2.1-linux_amd64.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduinoOTA-1.2.1-linux_amd64.tar.bz2";
+ sha256 = "1ya834p2cqjj8k1ad3yxcnzd4bcgrlqsqsli9brq1138ac6k30jv";
+ };
+ "build/avr-1.6.23.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/cores/avr-1.6.23.tar.bz2";
+ sha256 = "1al449r8hcdck7f4y295g7q388qvbn6qhk2zqdvws9kg4mzqsq8q";
};
}
// optionalAttrs (system == "i686-linux") {
- "build/arduino-builder-linux32-1.3.25.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduino-builder-linux32-1.3.25.tar.bz2";
- sha256 = "0hjiqbf7xspdcr7lganqnl68qcmndc9pz06dghkrwzbzc5ki72qr";
+ "build/arduino-builder-linux32-1.4.4.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduino-builder-linux32-1.4.4.tar.bz2";
+ sha256 = "0q3i1ba7vh14616d9ligizcz89yadr0skazxbrcq3mvvjqzbifw8";
};
- "build/linux/avr-gcc-4.9.2-atmel3.5.4-arduino2-i686-pc-linux-gnu.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avr-gcc-4.9.2-atmel3.5.4-arduino2-i686-pc-linux-gnu.tar.bz2";
- sha256 = "1d81z5m4cklv29hgb5ywrmyq64ymlwmjx2plm1gzs1mcpg7d9ab3";
+ "build/linux/avr-gcc-5.4.0-atmel3.6.1-arduino2-i686-pc-linux-gnu.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avr-gcc-5.4.0-atmel3.6.1-arduino2-i686-pc-linux-gnu.tar.bz2";
+ sha256 = "13skspybzq80ndsi93s7v15900lf26n5243mbib77andyc27xy2i";
};
- "build/linux/avrdude-6.3.0-arduino9-i686-pc-linux-gnu.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino9-i686-pc-linux-gnu.tar.bz2";
- sha256 = "12r1drjafxwzrvf1y1glxd46rv870mhz1ifn0g328ciwivas4da2";
+ "build/linux/avrdude-6.3.0-arduino14-i686-pc-linux-gnu.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino14-i686-pc-linux-gnu.tar.bz2";
+ sha256 = "1jklpk1sgrmbh1r25ynps4qcs5dbg6hd54fzjx4hcdf68cw0w42g";
};
- "build/linux/arduinoOTA-1.1.1-linux_386.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduinoOTA-1.1.1-linux_386.tar.bz2";
- sha256 = "1vvilbbbvv68svxzyhjspacbavcqakph5glhnz7c0mxkspqixjbs";
+ "build/linux/arduinoOTA-1.2.1-linux_386.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduinoOTA-1.2.1-linux_386.tar.bz2";
+ sha256 = "1m56ps58h0fs8rr4ifc45slmrdvalc63vhldy85isv28g15zdz9g";
};
}
// optionalAttrs (system == "x86_64-darwin") {
- "build/arduino-builder-macosx-1.3.25.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduino-builder-macosx-1.3.25.tar.bz2";
- sha256 = "0inkxjzdplb8b17j7lyam6v9gca25rxmsinrkgqnx3xxgkaxz2k0";
+ "build/arduino-builder-macosx-1.4.4.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduino-builder-macosx-1.4.4.tar.bz2";
+ sha256 = "1jp5kg32aiw062kcxlv660w38iaprifm8h3g2798izpwyfj0dmwg";
};
- "build/macosx/avr-gcc-4.9.2-atmel3.5.4-arduino2-i386-apple-darwin11.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avr-gcc-4.9.2-atmel3.5.4-arduino2-i386-apple-darwin11.tar.bz2";
- sha256 = "0c27i3y4f5biinxjdpp43wbj00lz7dvl08pnqr7hpkzaalsyvcv7";
+ "build/macosx/avr-gcc-5.4.0-atmel3.6.1-arduino2-i386-apple-darwin11.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avr-gcc-5.4.0-atmel3.6.1-arduino2-i386-apple-darwin11.tar.bz2";
+ sha256 = "1y2972b08ac59xwjqkyjmi5lf2pmzw88a6sdgci3x9rvahvh3idb";
};
- "build/macosx/avrdude-6.3.0-arduino9-i386-apple-darwin11.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino9-i386-apple-darwin11.tar.bz2";
- sha256 = "0rc4x8mcsva4v6j7ssfj8rdyg14l2pd9ivgdm39m5wnz8b06p85z11703f0r82aq3mmkiy7vwa4jfjhs9826qpp724hbng9dx74kk86r";
+ "build/macosx/avrdude-6.3.0-arduino14-i386-apple-darwin11.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino14-i386-apple-darwin11.tar.bz2";
+ sha256 = "0qsa3sb3f480fm2z75fq14cqddw5hq8w8q0c2a9cw8i7aa8kkl27";
};
"build/macosx/appbundler/appbundler-1.0ea-arduino4.jar.zip" = fetchurl {
url = "https://downloads.arduino.cc/appbundler-1.0ea-arduino4.jar.zip";
@@ -140,20 +164,20 @@
};
}
// optionalAttrs (system == "armv6l-linux") {
- "build/arduino-builder-linuxarm-1.3.25.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduino-builder-linuxarm-1.3.25.tar.bz2";
- sha256 = "1jvlihpcbdv1sgq1wjdwp7dhznk7nd88zin6yj40kr80gcd2ykry";
+ "build/arduino-builder-linuxarm-1.4.4.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduino-builder-linuxarm-1.4.4.tar.bz2";
+ sha256 = "03bhlhdkg1jx0d3lh9194xgaqsbank9njhlnwy8braa7pw4p58gn";
};
- "build/linux/avr-gcc-4.9.2-atmel3.5.4-arduino2-armhf-pc-linux-gnu.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avr-gcc-4.9.2-atmel3.5.4-arduino2-armhf-pc-linux-gnu.tar.bz2";
- sha256 = "033jb1vmspcxsv0w9pk73xv195xnbnmckjsiccgqs8xx36g00dpf";
+ "build/linux/avr-gcc-5.4.0-atmel3.6.1-arduino2-armhf-pc-linux-gnu.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avr-gcc-5.4.0-atmel3.6.1-arduino2-armhf-pc-linux-gnu.tar.bz2";
+ sha256 = "17z9li387mx2acgad733h7l1jnnwv09ynw4nrwlqfahqqdfgjhb7";
};
- "build/linux/avrdude-6.3.0-arduino9-armhf-pc-linux-gnu.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino9-armhf-pc-linux-gnu.tar.bz2";
- sha256 = "1kp1xry97385zbrs94j285h1gqlzyyhkchh26z7zq6c0wi5879i5";
+ "build/linux/avrdude-6.3.0-arduino14-armhf-pc-linux-gnu.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/avrdude-6.3.0-arduino14-armhf-pc-linux-gnu.tar.bz2";
+ sha256 = "12amp8hqcj6gcdga7hfs22asgmgzafy8ny0rqhqs8n8d95sn586i";
};
- "build/linux/arduinoOTA-1.1.1-linux_arm.tar.bz2" = fetchurl {
- url = "https://downloads.arduino.cc/tools/arduinoOTA-1.1.1-linux_arm.tar.bz2";
- sha256 = "0k1pib8lmvk6c0y3m038fj3mc18ax1hy3kbvgd5nygrxvy1hv274";
+ "build/linux/arduinoOTA-1.2.1-linux_arm.tar.bz2" = fetchurl {
+ url = "https://downloads.arduino.cc/tools/arduinoOTA-1.2.1-linux_arm.tar.bz2";
+ sha256 = "1q79w1d0h2lp3jcg58qrlh3k5lak7dbsnawrzm0jj8c6spfb6m5d";
};
}
diff --git a/pkgs/development/arduino/arduino-mk/default.nix b/pkgs/development/arduino/arduino-mk/default.nix
index 9cefd1dfe54..f450d4f850f 100644
--- a/pkgs/development/arduino/arduino-mk/default.nix
+++ b/pkgs/development/arduino/arduino-mk/default.nix
@@ -1,13 +1,13 @@
-{ stdenv, lib, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "1.6.0";
- name = "arduino-mk-${version}";
+ pname = "arduino-mk";
src = fetchFromGitHub {
owner = "sudar";
repo = "Arduino-Makefile";
- rev = "${version}";
+ rev = version;
sha256 = "0flpl97d2231gp51n3y4qvf3y1l8xzafi1sgpwc305vwc2h4dl2x";
};
diff --git a/pkgs/development/arduino/platformio/chrootenv.nix b/pkgs/development/arduino/platformio/chrootenv.nix
index 182f8fbefab..01a2fb873aa 100644
--- a/pkgs/development/arduino/platformio/chrootenv.nix
+++ b/pkgs/development/arduino/platformio/chrootenv.nix
@@ -3,19 +3,8 @@
let
pio-pkgs = pkgs:
let
- python = pkgs.python.override {
+ python = pkgs.python3.override {
packageOverrides = self: super: {
-
- # https://github.com/platformio/platformio-core/issues/349
- click = super.click.overridePythonAttrs (oldAttrs: rec {
- version = "5.1";
- src = oldAttrs.src.override {
- inherit version;
- sha256 = "678c98275431fad324275dec63791e4a17558b40e5a110e20a82866139a85a5a";
- };
- postPatch = "";
- });
-
platformio = self.callPackage ./core.nix { };
};
};
@@ -38,7 +27,7 @@ in buildFHSUserEnv {
meta = with lib; {
description = "An open source ecosystem for IoT development";
- homepage = http://platformio.org;
+ homepage = "https://platformio.org";
maintainers = with maintainers; [ mog ];
license = licenses.asl20;
platforms = with platforms; linux;
diff --git a/pkgs/development/arduino/platformio/core.nix b/pkgs/development/arduino/platformio/core.nix
index 0866311ad89..bfe216c6ad3 100644
--- a/pkgs/development/arduino/platformio/core.nix
+++ b/pkgs/development/arduino/platformio/core.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, buildPythonApplication, fetchFromGitHub
, bottle, click, colorama
, lockfile, pyserial, requests
-, pytest, semantic-version, tox
+, pytest, semantic-version, tox, tabulate
, git
}:
@@ -35,6 +35,7 @@ let
"test_builder.py::test_build_unflags"
"test_misc.py::test_api_cache"
"test_misc.py::test_ping_internet_ips"
+ "test_misc.py::test_platformio_cli"
"test_pkgmanifest.py::test_packages"
]) ++ (map (e: "--ignore=tests/${e}") [
"commands/test_boards.py"
@@ -46,19 +47,20 @@ let
in buildPythonApplication rec {
pname = "platformio";
- version = "3.6.6";
+ version = "4.0.3";
# pypi tarballs don't contain tests - https://github.com/platformio/platformio-core/issues/1964
src = fetchFromGitHub {
owner = "platformio";
repo = "platformio-core";
rev = "v${version}";
- sha256 = "1qwd6684y2xagl375sv8fm6a535hcdqx296hknjlbvsgc1jc514a";
+ sha256 = "1naaa53cc7n7zyqggqjvvgkcq8cyzngdf904y9ag0x1vvb70f8j9";
};
propagatedBuildInputs = [
bottle click colorama git lockfile
pyserial requests semantic-version
+ tabulate
];
HOME = "/tmp";
diff --git a/pkgs/development/arduino/platformio/default.nix b/pkgs/development/arduino/platformio/default.nix
index 45186914604..280fd496650 100644
--- a/pkgs/development/arduino/platformio/default.nix
+++ b/pkgs/development/arduino/platformio/default.nix
@@ -4,7 +4,7 @@
let
callPackage = newScope self;
- self = rec {
+ self = {
platformio-chrootenv = callPackage ./chrootenv.nix { };
};
diff --git a/pkgs/development/arduino/platformio/fix-searchpath.patch b/pkgs/development/arduino/platformio/fix-searchpath.patch
index a215ffc7d61..1570cae1b19 100644
--- a/pkgs/development/arduino/platformio/fix-searchpath.patch
+++ b/pkgs/development/arduino/platformio/fix-searchpath.patch
@@ -1,6 +1,6 @@
---- ./platformio/util.py-old 2017-09-29 01:20:08.174548250 +0200
-+++ ./platformio/util.py 2017-09-29 01:19:48.410485308 +0200
-@@ -395,7 +395,7 @@
+--- ./platformio/proc.py-old 2017-09-29 01:20:08.174548250 +0200
++++ ./platformio/proc.py 2017-09-29 01:19:48.410485308 +0200
+@@ -164,7 +164,7 @@
isdir(join(p, "click")) or isdir(join(p, "platformio")))
if all(conditions):
_PYTHONPATH.append(p)
diff --git a/pkgs/development/beam-modules/build-erlang-mk.nix b/pkgs/development/beam-modules/build-erlang-mk.nix
index 110c06e6f8a..4dedf782b75 100644
--- a/pkgs/development/beam-modules/build-erlang-mk.nix
+++ b/pkgs/development/beam-modules/build-erlang-mk.nix
@@ -25,7 +25,7 @@ let
};
pkg = self: stdenv.mkDerivation ( attrs // {
- app_name = "${name}";
+ app_name = name;
name = "${name}-${version}";
inherit version;
diff --git a/pkgs/development/beam-modules/build-mix.nix b/pkgs/development/beam-modules/build-mix.nix
index abe3c9e5122..d947acc3ea6 100644
--- a/pkgs/development/beam-modules/build-mix.nix
+++ b/pkgs/development/beam-modules/build-mix.nix
@@ -63,7 +63,7 @@ let
export MIX_ENV=prod
export MIX_NO_DEPS=1
- mix compile ${debugInfoFlag}
+ mix compile ${debugInfoFlag} --no-deps-check
runHook postBuild
''
diff --git a/pkgs/development/beam-modules/default.nix b/pkgs/development/beam-modules/default.nix
index a1eedaad6a0..eb9353a4a63 100644
--- a/pkgs/development/beam-modules/default.nix
+++ b/pkgs/development/beam-modules/default.nix
@@ -41,7 +41,12 @@ let
buildMix = callPackage ./build-mix.nix {};
# BEAM-based languages.
- elixir = elixir_1_7;
+ elixir = elixir_1_9;
+
+ elixir_1_9 = lib.callElixir ../interpreters/elixir/1.9.nix {
+ inherit rebar erlang;
+ debugInfo = true;
+ };
elixir_1_8 = lib.callElixir ../interpreters/elixir/1.8.nix {
inherit rebar erlang;
@@ -63,11 +68,6 @@ let
debugInfo = true;
};
- elixir_1_4 = lib.callElixir ../interpreters/elixir/1.4.nix {
- inherit rebar erlang;
- debugInfo = true;
- };
-
# Remove old versions of elixir, when the supports fades out:
# https://hexdocs.pm/elixir/compatibility-and-deprecations.html
diff --git a/pkgs/development/beam-modules/fetch-rebar-deps.nix b/pkgs/development/beam-modules/fetch-rebar-deps.nix
index a94d803f0d3..389e07beca6 100644
--- a/pkgs/development/beam-modules/fetch-rebar-deps.nix
+++ b/pkgs/development/beam-modules/fetch-rebar-deps.nix
@@ -1,4 +1,4 @@
-{ stdenv, rebar3, curl }:
+{ stdenv, rebar3 }:
{ name, version, sha256, src
, meta ? {}
@@ -29,4 +29,5 @@ stdenv.mkDerivation ({
outputHash = sha256;
impureEnvVars = stdenv.lib.fetchers.proxyImpureEnvVars;
+ inherit meta;
})
diff --git a/pkgs/development/beam-modules/hex/default.nix b/pkgs/development/beam-modules/hex/default.nix
index 7e91153bed5..e8faa9c0a9c 100644
--- a/pkgs/development/beam-modules/hex/default.nix
+++ b/pkgs/development/beam-modules/hex/default.nix
@@ -8,13 +8,13 @@ let
pkg = self: stdenv.mkDerivation rec {
pname = "hex";
- version = "0.17.1";
+ version = "0.20.1";
src = fetchFromGitHub {
owner = "hexpm";
repo = "hex";
rev = "v${version}";
- sha256 = "1s4asar1mcavzj3w37jcz243ka0z5jm0r42yws3h4aagawxxg02z";
+ sha256 = "0yxw7r31kk45b1nk48pajwwv9zl746kc9pwqfb73za8b1g8bgxd3";
};
setupHook = writeText "setupHook.sh" ''
diff --git a/pkgs/development/beam-modules/pgsql/default.nix b/pkgs/development/beam-modules/pgsql/default.nix
index 18abe1055b5..6edee5d8bc6 100644
--- a/pkgs/development/beam-modules/pgsql/default.nix
+++ b/pkgs/development/beam-modules/pgsql/default.nix
@@ -6,7 +6,7 @@ let
buildInputs = [ drv ];
};
- pkg = self: buildRebar3 rec {
+ pkg = self: buildRebar3 {
name = "pgsql";
version = "25+beta.2";
diff --git a/pkgs/development/beam-modules/rebar3-release.nix b/pkgs/development/beam-modules/rebar3-release.nix
index 837d0ccf15c..1ec9f244d6c 100644
--- a/pkgs/development/beam-modules/rebar3-release.nix
+++ b/pkgs/development/beam-modules/rebar3-release.nix
@@ -1,5 +1,5 @@
-{ stdenv, writeText, erlang, rebar3, openssl, libyaml,
- pc, lib }:
+{ stdenv, writeText, erlang, rebar3, openssl,
+ lib }:
{ name, version
, src
@@ -18,8 +18,6 @@
with stdenv.lib;
let
- debugInfoFlag = lib.optionalString (enableDebugInfo || erlang.debugInfo) "debug-info";
-
shell = drv: stdenv.mkDerivation {
name = "interactive-shell-${drv.name}";
buildInputs = [ drv ];
diff --git a/pkgs/development/beam-modules/webdriver/default.nix b/pkgs/development/beam-modules/webdriver/default.nix
index 4de7e3cc01e..b6695029f34 100644
--- a/pkgs/development/beam-modules/webdriver/default.nix
+++ b/pkgs/development/beam-modules/webdriver/default.nix
@@ -6,7 +6,7 @@ let
buildInputs = [ drv ];
};
- pkg = self: stdenv.mkDerivation rec {
+ pkg = self: stdenv.mkDerivation {
name = "webdriver";
version = "0.0.0+build.18.7ceaf1f";
diff --git a/pkgs/development/compilers/abcl/default.nix b/pkgs/development/compilers/abcl/default.nix
index c48b36e5aba..accedf9a7af 100644
--- a/pkgs/development/compilers/abcl/default.nix
+++ b/pkgs/development/compilers/abcl/default.nix
@@ -1,6 +1,5 @@
{stdenv, fetchurl, ant, jre, jdk}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "abcl";
version = "1.5.0";
# or fetchFromGitHub(owner,repo,rev) or fetchgit(rev)
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py b/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
index 40b690048eb..22a3c9cf468 100755
--- a/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
+++ b/pkgs/development/compilers/adoptopenjdk-bin/generate-sources.py
@@ -6,14 +6,15 @@ import re
import requests
import sys
-releases = ["openjdk11"]
-oses = ["mac", "linux"]
-types = ["jre", "jdk"]
-impls = ["hotspot", "openj9"]
+releases = ("openjdk8", "openjdk11")
+oses = ("mac", "linux")
+types = ("jre", "jdk")
+impls = ("hotspot", "openj9")
arch_to_nixos = {
- "x64": "x86_64",
- "aarch64": "aarch64",
+ "x64": ("x86_64",),
+ "aarch64": ("aarch64",),
+ "arm": ("armv6l", "armv7l"),
}
def get_sha256(url):
@@ -23,7 +24,6 @@ def get_sha256(url):
sys.exit(1)
return resp.text.strip().split(" ")[0]
-RE_RELEASE_NAME = re.compile(r'[^-]+-([0-9.]+)\+([0-9]+)') # example release name: jdk-11.0.1+13
def generate_sources(release, assets):
out = {}
for asset in assets:
@@ -33,7 +33,8 @@ def generate_sources(release, assets):
if asset["heap_size"] != "normal": continue
if asset["architecture"] not in arch_to_nixos: continue
- version, build = RE_RELEASE_NAME.match(asset["release_name"]).groups()
+ # examples: 11.0.1+13, 8.0.222+10
+ version, build = asset["version_data"]["semver"].split("+")
type_map = out.setdefault(asset["os"], {})
impl_map = type_map.setdefault(asset["binary_type"], {})
@@ -42,12 +43,13 @@ def generate_sources(release, assets):
"vmType": asset["openjdk_impl"],
})
- arch_map[arch_to_nixos[asset["architecture"]]] = {
- "url": asset["binary_link"],
- "sha256": get_sha256(asset["checksum_link"]),
- "version": version,
- "build": build,
- }
+ for nixos_arch in arch_to_nixos[asset["architecture"]]:
+ arch_map[nixos_arch] = {
+ "url": asset["binary_link"],
+ "sha256": get_sha256(asset["checksum_link"]),
+ "version": version,
+ "build": build,
+ }
return out
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
index 7b16d6ad9db..03857627952 100644
--- a/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
+++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk-darwin-base.nix
@@ -6,7 +6,7 @@ sourcePerArch:
}:
let cpuName = stdenv.hostPlatform.parsed.cpu.name;
- result = stdenv.mkDerivation rec {
+ result = stdenv.mkDerivation {
name = if sourcePerArch.packageType == "jdk"
then "adoptopenjdk-${sourcePerArch.vmType}-bin-${sourcePerArch.${cpuName}.version}"
else "adoptopenjdk-${sourcePerArch.packageType}-${sourcePerArch.vmType}-bin-${sourcePerArch.${cpuName}.version}";
@@ -46,9 +46,6 @@ let cpuName = stdenv.hostPlatform.parsed.cpu.name;
passthru.home = result;
- # for backward compatibility
- passthru.architecture = "";
-
meta = with stdenv.lib; {
license = licenses.gpl2Classpath;
description = "AdoptOpenJDK, prebuilt OpenJDK binary";
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
index 8e8b157aa22..509050209fb 100644
--- a/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
+++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk-linux-base.nix
@@ -1,48 +1,17 @@
sourcePerArch:
-{ swingSupport ? true
-, stdenv
+{ stdenv
+, lib
, fetchurl
-, file
-, xorg ? null
-, glib
-, libxml2
-, ffmpeg_2
-, libxslt
-, libGL
+, autoPatchelfHook
+, alsaLib
, freetype
, fontconfig
-, gtk2
-, pango
-, cairo
-, alsaLib
-, atk
-, gdk_pixbuf
, zlib
-, elfutils
+, xorg
}:
-assert swingSupport -> xorg != null;
-
let
- rSubPaths = [
- "lib/jli"
- "lib/server"
- "lib/compressedrefs" # OpenJ9
- "lib/j9vm" # OpenJ9
- "lib"
- ];
-
- libraries = [
- stdenv.cc.libc glib libxml2 ffmpeg_2 libxslt libGL
- xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf
- atk zlib elfutils
- ] ++ (stdenv.lib.optionals swingSupport [
- xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt
- xorg.libXrender
- stdenv.cc.cc
- ]);
-
cpuName = stdenv.hostPlatform.parsed.cpu.name;
in
@@ -57,7 +26,12 @@ let result = stdenv.mkDerivation rec {
inherit (sourcePerArch.${cpuName}) url sha256;
};
- nativeBuildInputs = [ file ];
+ buildInputs = [
+ alsaLib freetype fontconfig zlib xorg.libX11 xorg.libXext xorg.libXtst
+ xorg.libXi xorg.libXrender
+ ];
+
+ nativeBuildInputs = [ autoPatchelfHook ];
# See: https://github.com/NixOS/patchelf/issues/10
dontStrip = 1;
@@ -74,45 +48,31 @@ let result = stdenv.mkDerivation rec {
# Remove embedded freetype to avoid problems like
# https://github.com/NixOS/nixpkgs/issues/57733
- rm $out/lib/libfreetype.so
-
- # for backward compatibility
- ln -s $out $out/jre
+ find "$out" -name 'libfreetype.so*' -delete
mkdir -p $out/nix-support
# Set JAVA_HOME automatically.
- cat <> $out/nix-support/setup-hook
+ cat <> "$out/nix-support/setup-hook"
if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out; fi
EOF
'';
- postFixup = ''
- rpath+="''${rpath:+:}${stdenv.lib.concatStringsSep ":" (map (a: "$out/${a}") rSubPaths)}"
-
- # set all the dynamic linkers
- find $out -type f -perm -0100 \
- -exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
- --set-rpath "$rpath" {} \;
-
- find $out -name "*.so" -exec patchelf --set-rpath "$rpath" {} \;
+ preFixup = ''
+ find "$out" -name libfontmanager.so -exec \
+ patchelf --add-needed libfontconfig.so {} \;
'';
- rpath = stdenv.lib.strings.makeLibraryPath libraries;
-
# FIXME: use multiple outputs or return actual JRE package
passthru.jre = result;
passthru.home = result;
- # for backward compatibility
- passthru.architecture = "";
-
meta = with stdenv.lib; {
license = licenses.gpl2Classpath;
description = "AdoptOpenJDK, prebuilt OpenJDK binary";
- platforms = stdenv.lib.mapAttrsToList (arch: _: arch + "-linux") sourcePerArch; # some inherit jre.meta.platforms
- maintainers = with stdenv.lib.maintainers; [ taku0 ];
+ platforms = lib.mapAttrsToList (arch: _: arch + "-linux") sourcePerArch; # some inherit jre.meta.platforms
+ maintainers = with lib.maintainers; [ taku0 ];
};
}; in result
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk8-darwin.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk8-darwin.nix
new file mode 100644
index 00000000000..a170e0141cf
--- /dev/null
+++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk8-darwin.nix
@@ -0,0 +1,9 @@
+let
+ sources = builtins.fromJSON (builtins.readFile ./sources.json);
+in
+{
+ jdk-hotspot = import ./jdk-darwin-base.nix sources.openjdk8.mac.jdk.hotspot;
+ jre-hotspot = import ./jdk-darwin-base.nix sources.openjdk8.mac.jre.hotspot;
+ jdk-openj9 = import ./jdk-darwin-base.nix sources.openjdk8.mac.jdk.openj9;
+ jre-openj9 = import ./jdk-darwin-base.nix sources.openjdk8.mac.jre.openj9;
+}
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/jdk8-linux.nix b/pkgs/development/compilers/adoptopenjdk-bin/jdk8-linux.nix
new file mode 100644
index 00000000000..4937eace490
--- /dev/null
+++ b/pkgs/development/compilers/adoptopenjdk-bin/jdk8-linux.nix
@@ -0,0 +1,9 @@
+let
+ sources = builtins.fromJSON (builtins.readFile ./sources.json);
+in
+{
+ jdk-hotspot = import ./jdk-linux-base.nix sources.openjdk8.linux.jdk.hotspot;
+ jre-hotspot = import ./jdk-linux-base.nix sources.openjdk8.linux.jre.hotspot;
+ jdk-openj9 = import ./jdk-linux-base.nix sources.openjdk8.linux.jdk.openj9;
+ jre-openj9 = import ./jdk-linux-base.nix sources.openjdk8.linux.jre.openj9;
+}
diff --git a/pkgs/development/compilers/adoptopenjdk-bin/sources.json b/pkgs/development/compilers/adoptopenjdk-bin/sources.json
index 03febb6aa35..403bd96efb0 100644
--- a/pkgs/development/compilers/adoptopenjdk-bin/sources.json
+++ b/pkgs/development/compilers/adoptopenjdk-bin/sources.json
@@ -4,56 +4,68 @@
"jdk": {
"hotspot": {
"aarch64": {
+ "build": "11",
+ "sha256": "10e33e1862638e11a9158947b3d7b461727d8e396e378b171be1eb4dfe12f1ed",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.4_11.tar.gz",
+ "version": "11.0.4"
+ },
+ "armv6l": {
"build": "7",
- "sha256": "894a846600ddb0df474350037a2fb43e3343dc3606809a20c65e750580d8f2b9",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.3_7.tar.gz",
+ "sha256": "3fbe418368e6d5888d0f15c4751139eb60d9785b864158a001386537fa46f67e",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_arm_linux_hotspot_11.0.3_7.tar.gz",
+ "version": "11.0.3"
+ },
+ "armv7l": {
+ "build": "7",
+ "sha256": "3fbe418368e6d5888d0f15c4751139eb60d9785b864158a001386537fa46f67e",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_arm_linux_hotspot_11.0.3_7.tar.gz",
"version": "11.0.3"
},
"packageType": "jdk",
"vmType": "hotspot",
"x86_64": {
- "build": "7",
- "sha256": "23cded2b43261016f0f246c85c8948d4a9b7f2d44988f75dad69723a7a526094",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "90c33cf3f2ed0bd773f648815de7347e69cfbb3416ef3bf41616ab1c4aa0f5a8",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_x64_linux_hotspot_11.0.4_11.tar.gz",
+ "version": "11.0.4"
}
},
"openj9": {
"packageType": "jdk",
"vmType": "openj9",
"x86_64": {
- "build": "7",
- "sha256": "7012edd56fc958070bc4747073de14ea08eb43081eb6ea19bdbf4763186e2d17",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7_openj9-0.14.0/OpenJDK11U-jdk_x64_linux_openj9_11.0.3_7_openj9-0.14.0.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "b1099cccc80a3f434728c9bc3b8a90395793b625f4680ca05267cf635143d64d",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jdk_x64_linux_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
+ "version": "11.0.4"
}
}
},
"jre": {
"hotspot": {
"aarch64": {
- "build": "7",
- "sha256": "de31fab70640c6d5099de5fc8fa8b4d6b484a7352fa48a9fafbdc088ca708564",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "5f7b5c110fc0f344a549cb11784a6d76838061a2b6f654f7841f60e0cd286c6a",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jre_aarch64_linux_hotspot_11.0.4_11.tar.gz",
+ "version": "11.0.4"
},
"packageType": "jre",
"vmType": "hotspot",
"x86_64": {
- "build": "7",
- "sha256": "d2df8bc799b09c8375f79bf646747afac3d933bb1f65de71d6c78e7466ff8fe4",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jre_x64_linux_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "70d2cc675155476f1d8516a7ae6729d44681e4fad5a6fc8dfa65cab36a67b7e0",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jre_x64_linux_hotspot_11.0.4_11.tar.gz",
+ "version": "11.0.4"
}
},
"openj9": {
"packageType": "jre",
"vmType": "openj9",
"x86_64": {
- "build": "7",
- "sha256": "14c660294832c7b2deb2845d96dce83df677e204b4f0f1fee0052764c4a56720",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7_openj9-0.14.0/OpenJDK11U-jre_x64_linux_openj9_11.0.3_7_openj9-0.14.0.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "c2601e7cb22af7a910e03883280cee805074656104d6d3dcaaf30e3bbb832690",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jre_x64_linux_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
+ "version": "11.0.4"
}
}
}
@@ -64,20 +76,20 @@
"packageType": "jdk",
"vmType": "hotspot",
"x86_64": {
- "build": "7",
- "sha256": "5ca2a24f1827bd7c110db99854693bf418f51ee3093c31332db5cd605278faad",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jdk_x64_mac_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "a50b211f475b9497311c9b65594764d7b852b1653f249582bb20fc3c302846a5",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jdk_x64_mac_hotspot_11.0.4_11.tar.gz",
+ "version": "11.0.4"
}
},
"openj9": {
"packageType": "jdk",
"vmType": "openj9",
"x86_64": {
- "build": "7",
- "sha256": "01045a99ff23bda354f82c0fd3fa6e8222e4a5acce7494e82495f47b30bc5e18",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7_openj9-0.14.0/OpenJDK11U-jdk_x64_mac_openj9_11.0.3_7_openj9-0.14.0.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "7c09678d9c2d9dd0366693c6ab27bed39c76a23e7ac69b8a25c794e99dcf3ba7",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jdk_x64_mac_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
+ "version": "11.0.4"
}
}
},
@@ -86,20 +98,126 @@
"packageType": "jre",
"vmType": "hotspot",
"x86_64": {
- "build": "7",
- "sha256": "9523b97288ff5d50e404565d346ed8ea8f19dd155092951af88d4be6b8414776",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7/OpenJDK11U-jre_x64_mac_hotspot_11.0.3_7.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "1647fded28d25e562811f7bce2092eb9c21d30608843b04250c023b40604ff26",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11/OpenJDK11U-jre_x64_mac_hotspot_11.0.4_11.tar.gz",
+ "version": "11.0.4"
}
},
"openj9": {
"packageType": "jre",
"vmType": "openj9",
"x86_64": {
- "build": "7",
- "sha256": "150c4065a57ec368b692276e8e3320b183ee17b402b7db07e676dff5837f0c52",
- "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.3%2B7_openj9-0.14.0/OpenJDK11U-jre_x64_mac_openj9_11.0.3_7_openj9-0.14.0.tar.gz",
- "version": "11.0.3"
+ "build": "11",
+ "sha256": "1a8e84bae517a848aa5f25c7b04f26ab3a3bfffaa7fdf9be24e1f83325e46766",
+ "url": "https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.4%2B11_openj9-0.15.1/OpenJDK11U-jre_x64_mac_openj9_11.0.4_11_openj9-0.15.1.tar.gz",
+ "version": "11.0.4"
+ }
+ }
+ }
+ }
+ },
+ "openjdk8": {
+ "linux": {
+ "jdk": {
+ "hotspot": {
+ "aarch64": {
+ "build": "10",
+ "sha256": "652776586ede124189dc218174b5922cc97feac81021ad81905900b349a352d2",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_aarch64_linux_hotspot_8u222b10.tar.gz",
+ "version": "8.0.222"
+ },
+ "packageType": "jdk",
+ "vmType": "hotspot",
+ "x86_64": {
+ "build": "10",
+ "sha256": "37356281345b93feb4212e6267109b4409b55b06f107619dde4960e402bafa77",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_linux_hotspot_8u222b10.tar.gz",
+ "version": "8.0.222"
+ }
+ },
+ "openj9": {
+ "packageType": "jdk",
+ "vmType": "openj9",
+ "x86_64": {
+ "build": "10",
+ "sha256": "20cff719c6de43f8bb58c7f59e251da7c1fa2207897c9a4768c8c669716dc819",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jdk_x64_linux_openj9_8u222b10_openj9-0.15.1.tar.gz",
+ "version": "8.0.222"
+ }
+ }
+ },
+ "jre": {
+ "hotspot": {
+ "aarch64": {
+ "build": "10",
+ "sha256": "dfaf5a121f7606c54bd6232793677a4267eddf65d29cde352b84d84edbccbb51",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jre_aarch64_linux_hotspot_8u222b10.tar.gz",
+ "version": "8.0.222"
+ },
+ "packageType": "jre",
+ "vmType": "hotspot",
+ "x86_64": {
+ "build": "10",
+ "sha256": "a418ce895c8bf3ca2e7b2f423f038b8b093941684c9430f2e40da0982e12b52d",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jre_x64_linux_hotspot_8u222b10.tar.gz",
+ "version": "8.0.222"
+ }
+ },
+ "openj9": {
+ "packageType": "jre",
+ "vmType": "openj9",
+ "x86_64": {
+ "build": "10",
+ "sha256": "ae56994a7c8e8c19939c0c2ff8fe5a850eb2f23845c499aa5ede26deb3d5ad28",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jre_x64_linux_openj9_8u222b10_openj9-0.15.1.tar.gz",
+ "version": "8.0.222"
+ }
+ }
+ }
+ },
+ "mac": {
+ "jdk": {
+ "hotspot": {
+ "packageType": "jdk",
+ "vmType": "hotspot",
+ "x86_64": {
+ "build": "10",
+ "sha256": "9605fd00d2960934422437f601c7a9a1c5537309b9199d5bc75f84f20cd29a76",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jdk_x64_mac_hotspot_8u222b10.tar.gz",
+ "version": "8.0.222"
+ }
+ },
+ "openj9": {
+ "packageType": "jdk",
+ "vmType": "openj9",
+ "x86_64": {
+ "build": "10",
+ "sha256": "df185e167756332163633a826b329db067f8a721f7d5d27f0b353a35fc415de0",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jdk_x64_mac_openj9_8u222b10_openj9-0.15.1.tar.gz",
+ "version": "8.0.222"
+ }
+ }
+ },
+ "jre": {
+ "hotspot": {
+ "packageType": "jre",
+ "vmType": "hotspot",
+ "x86_64": {
+ "build": "10",
+ "sha256": "b3ac2436534cea932ccf665b317dbf5ffc0ee065efca808b22b6c2d795ca1b90",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10/OpenJDK8U-jre_x64_mac_hotspot_8u222b10.tar.gz",
+ "version": "8.0.222"
+ }
+ },
+ "openj9": {
+ "packageType": "jre",
+ "vmType": "openj9",
+ "x86_64": {
+ "build": "10",
+ "sha256": "d5754413d7bc3a3233aaa7f8465451fbdabaf2a0c2a91743155bf135a3047ec8",
+ "url": "https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u222-b10_openj9-0.15.1/OpenJDK8U-jre_x64_mac_openj9_8u222b10_openj9-0.15.1.tar.gz",
+ "version": "8.0.222"
}
}
}
diff --git a/pkgs/development/compilers/adoptopenjdk-icedtea-web/default.nix b/pkgs/development/compilers/adoptopenjdk-icedtea-web/default.nix
new file mode 100644
index 00000000000..305e0f202bf
--- /dev/null
+++ b/pkgs/development/compilers/adoptopenjdk-icedtea-web/default.nix
@@ -0,0 +1,64 @@
+{ stdenv, fetchFromGitHub, cargo, rustc, autoreconfHook, jdk, glib, xulrunner, zip, pkgconfig, npapi_sdk, bash, bc }:
+
+stdenv.mkDerivation rec {
+ pname = "adoptopenjdk-icedtea-web";
+
+ version = "1.8.3";
+
+ src = fetchFromGitHub {
+ owner = "AdoptOpenJDK";
+ repo = "IcedTea-Web";
+ rev = "icedtea-web-${version}";
+ sha256 = "0bm5k11i2vgb54ch1bawsmjbwnqnp04saadwm2f2mggmmdc6b1qq";
+ };
+
+ nativeBuildInputs = [ autoreconfHook pkgconfig bc ];
+ buildInputs = [ cargo rustc glib xulrunner zip npapi_sdk ];
+
+ preConfigure = ''
+ configureFlagsArray+=("BIN_BASH=${bash}/bin/bash")
+ '';
+
+ patches = [ ./patches/0001-make-cargo-work-with-nix-build-on-linux.patch ];
+
+ doCheck = true;
+ preCheck = ''
+ # Needed for the below rust-launcher tests to pass
+ # dirs_paths_helper::tests::check_config_files_paths
+ # dirs_paths_helper::tests::check_legacy_config_files_paths
+
+ mkdir -p $HOME/.icedtea
+ touch $HOME/.icedtea/deployment.properties
+
+ mkdir -p $XDG_CONFIG_HOME/icedtea-web
+ touch $XDG_CONFIG_HOME/icedtea-web/deployment.properties
+ '';
+
+ HOME = "/build";
+ XDG_CONFIG_HOME = "/build";
+
+ configureFlags = [
+ "--with-itw-libs=DISTRIBUTION"
+ "--with-jdk-home=${jdk.home}"
+ "--disable-docs"
+ ];
+
+ mozillaPlugin = "/lib";
+
+ postInstall = ''
+ mkdir -p $out/share/applications
+ cp javaws.desktop itweb-settings.desktop policyeditor.desktop $out/share/applications
+ '';
+
+ meta = {
+ description = "Java web browser plugin and an implementation of Java Web Start";
+ longDescription = ''
+ A Free Software web browser plugin running applets written in the Java
+ programming language and an implementation of Java Web Start, originally
+ based on the NetX project.
+ '';
+ homepage = https://github.com/adoptopenjdk/icedtea-web;
+ maintainers = with stdenv.lib.maintainers; [ wizeman ];
+ platforms = stdenv.lib.platforms.linux;
+ };
+}
diff --git a/pkgs/development/compilers/adoptopenjdk-icedtea-web/patches/0001-make-cargo-work-with-nix-build-on-linux.patch b/pkgs/development/compilers/adoptopenjdk-icedtea-web/patches/0001-make-cargo-work-with-nix-build-on-linux.patch
new file mode 100644
index 00000000000..85cad6cf467
--- /dev/null
+++ b/pkgs/development/compilers/adoptopenjdk-icedtea-web/patches/0001-make-cargo-work-with-nix-build-on-linux.patch
@@ -0,0 +1,46 @@
+Subject: [PATCH] make cargo work with nix-build on linux
+
+---
+ .cargo/config | 2 ++
+ rust-launcher/Cargo.lock | 4 ++++
+ rust-launcher/Cargo.toml | 7 ++++---
+ 3 files changed, 10 insertions(+), 3 deletions(-)
+ create mode 100644 .cargo/config
+ create mode 100644 rust-launcher/Cargo.lock
+
+diff --git a/.cargo/config b/.cargo/config
+new file mode 100644
+index 0000000..03ec4a2
+--- /dev/null
++++ b/.cargo/config
+@@ -0,0 +1,2 @@
++[net]
++offline=true
+diff --git a/rust-launcher/Cargo.lock b/rust-launcher/Cargo.lock
+new file mode 100644
+index 0000000..6055cc0
+--- /dev/null
++++ b/rust-launcher/Cargo.lock
+@@ -0,0 +1,4 @@
++[[package]]
++name = "launcher"
++version = "1.8.0"
++
+diff --git a/rust-launcher/Cargo.toml b/rust-launcher/Cargo.toml
+index 61ee308..5e6e91b 100644
+--- a/rust-launcher/Cargo.toml
++++ b/rust-launcher/Cargo.toml
+@@ -3,6 +3,7 @@ name = "launcher"
+ version = "1.8.0"
+ authors = ["https://icedtea.classpath.org/wiki/IcedTea-Web"]
+
+-[dependencies]
+-[target.'cfg(windows)'.dependencies]
+-dunce = "0.1.1"
++[workspace]
++# We need this too or cargo will fail. Some files seem to be copied around and
++# cargo thinks we are in a workspace, so let's exclude everything.
++exclude = ["*"]
+--
+2.19.2
+
diff --git a/pkgs/development/compilers/apache-flex-sdk/default.nix b/pkgs/development/compilers/apache-flex-sdk/default.nix
index e8759ec073b..ed6b2b2ff24 100644
--- a/pkgs/development/compilers/apache-flex-sdk/default.nix
+++ b/pkgs/development/compilers/apache-flex-sdk/default.nix
@@ -7,11 +7,11 @@ let
sha256 = "0qw2bgls8qsmp80j8vpd4c7s0c8anlrk0ac8z42w89bajcdbwk2f";
};
in stdenv.mkDerivation rec {
- name = "apache-flex-sdk-${version}";
+ pname = "apache-flex-sdk";
version = "4.16.1";
src = fetchurl {
- url = "https://www.apache.org/dist/flex/${version}/binaries/${name}-bin.tar.gz";
+ url = "https://www.apache.org/dist/flex/${version}/binaries/${pname}-${version}-bin.tar.gz";
sha256 = "13iq16dqvgcpb0p35x66hzxsq5pkbr2lbwr766nnqiryinnagz8p";
};
diff --git a/pkgs/development/compilers/arachne-pnr/default.nix b/pkgs/development/compilers/arachne-pnr/default.nix
index ad68382c13a..3058e926c3f 100644
--- a/pkgs/development/compilers/arachne-pnr/default.nix
+++ b/pkgs/development/compilers/arachne-pnr/default.nix
@@ -3,7 +3,7 @@
with builtins;
stdenv.mkDerivation rec {
- name = "arachne-pnr-${version}";
+ pname = "arachne-pnr";
version = "2018.09.09";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/as31/default.nix b/pkgs/development/compilers/as31/default.nix
index 519992fd8c2..b70fde00e15 100644
--- a/pkgs/development/compilers/as31/default.nix
+++ b/pkgs/development/compilers/as31/default.nix
@@ -5,7 +5,8 @@ let
version = "2.3.1";
in stdenv.mkDerivation {
- name = "as31-${version}";
+ pname = "as31";
+ inherit version;
src = fetchurl {
name = "as31-${version}.tar.gz"; # Nix doesn't like the colons in the URL
url = "http://wiki.erazor-zone.de/_media/wiki:projects:linux:as31:as31-${version}.tar.gz";
diff --git a/pkgs/development/compilers/asn1c/default.nix b/pkgs/development/compilers/asn1c/default.nix
index ce754813dda..3cbb7577f34 100644
--- a/pkgs/development/compilers/asn1c/default.nix
+++ b/pkgs/development/compilers/asn1c/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, perl }:
stdenv.mkDerivation rec {
- name = "asn1c-${version}";
+ pname = "asn1c";
version = "0.9.28";
src = fetchurl {
diff --git a/pkgs/development/compilers/ats/default.nix b/pkgs/development/compilers/ats/default.nix
index 002f34daa13..f086c36468d 100644
--- a/pkgs/development/compilers/ats/default.nix
+++ b/pkgs/development/compilers/ats/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, gmp }:
stdenv.mkDerivation rec {
- name = "ats-${version}";
+ pname = "ats";
version = "0.2.12";
src = fetchurl {
diff --git a/pkgs/development/compilers/ats2/default.nix b/pkgs/development/compilers/ats2/default.nix
index df61ea2b791..a1e5927e349 100644
--- a/pkgs/development/compilers/ats2/default.nix
+++ b/pkgs/development/compilers/ats2/default.nix
@@ -26,7 +26,7 @@ let
in
stdenv.mkDerivation rec {
- name = "ats2-${version}";
+ pname = "ats2";
version = versionPkg;
src = fetchurl {
diff --git a/pkgs/development/compilers/avian/default.nix b/pkgs/development/compilers/avian/default.nix
index 387ae906b88..34d1e64c484 100644
--- a/pkgs/development/compilers/avian/default.nix
+++ b/pkgs/development/compilers/avian/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, zlib, jdk, CoreServices, Foundation }:
stdenv.mkDerivation rec {
- name = "avian-${version}";
+ pname = "avian";
version = "1.2.0";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/bigloo/default.nix b/pkgs/development/compilers/bigloo/default.nix
index bf2272a75c1..6e768e65091 100644
--- a/pkgs/development/compilers/bigloo/default.nix
+++ b/pkgs/development/compilers/bigloo/default.nix
@@ -1,7 +1,7 @@
{ fetchurl, stdenv, gmp }:
stdenv.mkDerivation rec {
- name = "bigloo-${version}";
+ pname = "bigloo";
version = "4.1a-2";
src = fetchurl {
diff --git a/pkgs/development/compilers/binaryen/default.nix b/pkgs/development/compilers/binaryen/default.nix
index 7c3203fe62e..664335c3dad 100644
--- a/pkgs/development/compilers/binaryen/default.nix
+++ b/pkgs/development/compilers/binaryen/default.nix
@@ -1,11 +1,11 @@
{ stdenv, cmake, python, fetchFromGitHub, emscriptenRev ? null }:
let
- defaultVersion = "83";
+ defaultVersion = "89";
# Map from git revs to SHA256 hashes
sha256s = {
- "version_83" = "0vggd9n6anfxsdk4kiyylysi4cfm2rp39f66sq9zkg0h7vw5x5sm";
+ version_89 = "0rh1dq33ilq54szfgi1ajaiaj7rbylai02rhp9zm9vpwp0rw8mij";
"1.38.28" = "172s7y5f38736ic8ri3mnbdqcrkadd40a26cxcfwbscc53phl11v";
};
in
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
rev = if emscriptenRev == null
then "version_${version}"
else emscriptenRev;
- name = "binaryen-${version}";
+ pname = "binaryen";
src = fetchFromGitHub {
owner = "WebAssembly";
diff --git a/pkgs/development/compilers/carp/default.nix b/pkgs/development/compilers/carp/default.nix
index 65f0481a801..235ec409039 100644
--- a/pkgs/development/compilers/carp/default.nix
+++ b/pkgs/development/compilers/carp/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, makeWrapper, clang, haskellPackages }:
-haskellPackages.mkDerivation rec {
+haskellPackages.mkDerivation {
pname = "carp";
version = "unstable-2018-09-15";
diff --git a/pkgs/development/compilers/ccl/default.nix b/pkgs/development/compilers/ccl/default.nix
index 646963eedbc..ec166352267 100644
--- a/pkgs/development/compilers/ccl/default.nix
+++ b/pkgs/development/compilers/ccl/default.nix
@@ -29,11 +29,11 @@ let
};
armv6l-linux = armv7l-linux;
};
- cfg = options."${stdenv.hostPlatform.system}" or (throw "missing source url for platform ${stdenv.hostPlatform.system}");
+ cfg = options.${stdenv.hostPlatform.system} or (throw "missing source url for platform ${stdenv.hostPlatform.system}");
in
stdenv.mkDerivation rec {
- name = "ccl-${version}";
+ pname = "ccl";
version = "1.11.5";
src = fetchurl {
diff --git a/pkgs/development/compilers/chez/default.nix b/pkgs/development/compilers/chez/default.nix
index 9216c779143..a0fc30c8586 100644
--- a/pkgs/development/compilers/chez/default.nix
+++ b/pkgs/development/compilers/chez/default.nix
@@ -4,7 +4,7 @@
}:
stdenv.mkDerivation rec {
- name = "chez-scheme-${version}";
+ pname = "chez-scheme";
version = "9.5.2";
src = fetchFromGitHub {
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
+ NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.cc.isGNU "-Wno-error=format-truncation";
+
/*
** We patch out a very annoying 'feature' in ./configure, which
** tries to use 'git' to update submodules.
diff --git a/pkgs/development/compilers/chicken/4/chicken.nix b/pkgs/development/compilers/chicken/4/chicken.nix
index ceeff56330b..34512fc8ef0 100644
--- a/pkgs/development/compilers/chicken/4/chicken.nix
+++ b/pkgs/development/compilers/chicken/4/chicken.nix
@@ -11,7 +11,8 @@ let
lib = stdenv.lib;
in
stdenv.mkDerivation {
- name = "chicken-${version}";
+ pname = "chicken";
+ inherit version;
binaryVersion = 8;
diff --git a/pkgs/development/compilers/chicken/5/chicken.nix b/pkgs/development/compilers/chicken/5/chicken.nix
index ff0faf40839..5fefce12dbf 100644
--- a/pkgs/development/compilers/chicken/5/chicken.nix
+++ b/pkgs/development/compilers/chicken/5/chicken.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeWrapper, bootstrap-chicken ? null }:
let
- version = "5.0.0";
+ version = "5.1.0";
platform = with stdenv;
if isDarwin then "macosx"
else if isCygwin then "cygwin"
@@ -11,19 +11,20 @@ let
lib = stdenv.lib;
in
stdenv.mkDerivation {
- name = "chicken-${version}";
+ pname = "chicken";
+ inherit version;
- binaryVersion = 9;
+ binaryVersion = 11;
src = fetchurl {
url = "https://code.call-cc.org/releases/${version}/chicken-${version}.tar.gz";
- sha256 = "15b5yrzfa8aimzba79x7v6y282f898rxqxfxrr446sjx9jwlpfd8";
+ sha256 = "0jsbp3kp0134f318j3wpd1n85gf8qzh034fn198gvazsv2l024aw";
};
setupHook = lib.ifEnable (bootstrap-chicken != null) ./setup-hook.sh;
- buildFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib";
- installFlags = "PLATFORM=${platform} PREFIX=$(out) VARDIR=$(out)/var/lib";
+ buildFlags = "PLATFORM=${platform} PREFIX=$(out)";
+ installFlags = "PLATFORM=${platform} PREFIX=$(out)";
buildInputs = [
makeWrapper
@@ -37,10 +38,6 @@ stdenv.mkDerivation {
wrapProgram $f \
--prefix PATH : ${stdenv.cc}/bin
done
-
- mv $out/var/lib/chicken $out/lib
- rmdir $out/var/lib
- rmdir $out/var
'';
# TODO: Assert csi -R files -p '(pathname-file (repository-path))' == binaryVersion
diff --git a/pkgs/development/compilers/chicken/5/eggs.nix b/pkgs/development/compilers/chicken/5/eggs.nix
index 04f7551f32d..a8e3ee5976e 100644
--- a/pkgs/development/compilers/chicken/5/eggs.nix
+++ b/pkgs/development/compilers/chicken/5/eggs.nix
@@ -33,12 +33,12 @@ rec {
};
srfi-1 = eggDerivation {
- name = "srfi-1-0.5";
+ name = "srfi-1-0.5.1";
src = fetchegg {
name = "srfi-1";
- version = "0.5";
- sha256 = "0gh1h406xbxwm5gvc5znc93nxp9xjbhyqf7zzga08k5y6igxrlvk";
+ version = "0.5.1";
+ sha256 = "15x0ajdkw5gb3vgs8flzh5g0pzl3wmcpf11iimlm67mw6fxc8p7j";
};
buildInputs = [
@@ -47,12 +47,12 @@ rec {
};
srfi-13 = eggDerivation {
- name = "srfi-13-0.2";
+ name = "srfi-13-0.2.1";
src = fetchegg {
name = "srfi-13";
- version = "0.2";
- sha256 = "0jazbdnn9bjm7wwxqq7xzqxc9zfvaapq565rf1czj6ayl96yvk3n";
+ version = "0.2.1";
+ sha256 = "0204i7fhc4dy0l89lbi2lv9cjndrvwyrk68z3wy7x445jb4ky1gq";
};
buildInputs = [
@@ -61,12 +61,12 @@ rec {
};
srfi-14 = eggDerivation {
- name = "srfi-14-0.2";
+ name = "srfi-14-0.2.1";
src = fetchegg {
name = "srfi-14";
- version = "0.2";
- sha256 = "13nm4nn1d52nkvhjizy26z3s6q41x1ml4zm847xzf86x1zwvymni";
+ version = "0.2.1";
+ sha256 = "0gc33cx4xll9vsf7fm8jvn3gc0604kn3bbi6jfn6xscqp86kqb9p";
};
buildInputs = [
diff --git a/pkgs/development/compilers/chicken/5/setup-hook.sh b/pkgs/development/compilers/chicken/5/setup-hook.sh
index 2447aeb0cea..f5ebaaf638e 100644
--- a/pkgs/development/compilers/chicken/5/setup-hook.sh
+++ b/pkgs/development/compilers/chicken/5/setup-hook.sh
@@ -1,5 +1,5 @@
addChickenRepositoryPath() {
- addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_PATH "$1/lib/chicken/9/"
+ addToSearchPathWithCustomDelimiter : CHICKEN_REPOSITORY_PATH "$1/lib/chicken/11/"
addToSearchPathWithCustomDelimiter : CHICKEN_INCLUDE_PATH "$1/share/"
}
diff --git a/pkgs/development/compilers/clasp/default.nix b/pkgs/development/compilers/clasp/default.nix
index a1e29951ddb..664d8492113 100644
--- a/pkgs/development/compilers/clasp/default.nix
+++ b/pkgs/development/compilers/clasp/default.nix
@@ -56,7 +56,6 @@ let
};
in
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "clasp";
version = "0.8.99.20181128";
diff --git a/pkgs/development/compilers/clean/default.nix b/pkgs/development/compilers/clean/default.nix
index 91c163fd343..03a5cec5004 100644
--- a/pkgs/development/compilers/clean/default.nix
+++ b/pkgs/development/compilers/clean/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "clean-3.0";
src =
diff --git a/pkgs/development/compilers/closure/default.nix b/pkgs/development/compilers/closure/default.nix
index e9e97361825..d9f2a588d8f 100644
--- a/pkgs/development/compilers/closure/default.nix
+++ b/pkgs/development/compilers/closure/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, jre, makeWrapper }:
stdenv.mkDerivation rec {
- name = "closure-compiler-${version}";
+ pname = "closure-compiler";
version = "20190215";
src = fetchurl {
diff --git a/pkgs/development/compilers/cmdstan/default.nix b/pkgs/development/compilers/cmdstan/default.nix
index dab724ea607..9a01519a881 100644
--- a/pkgs/development/compilers/cmdstan/default.nix
+++ b/pkgs/development/compilers/cmdstan/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, python, runtimeShell }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "cmdstan-2.17.1";
src = fetchurl {
diff --git a/pkgs/development/compilers/cmucl/binary.nix b/pkgs/development/compilers/cmucl/binary.nix
index 9e3184c42eb..3f93ea9e1ba 100644
--- a/pkgs/development/compilers/cmucl/binary.nix
+++ b/pkgs/development/compilers/cmucl/binary.nix
@@ -19,7 +19,8 @@ let
in
stdenv.mkDerivation {
- name = "cmucl-binary-${version}";
+ pname = "cmucl-binary";
+ inherit version;
buildCommand = ''
mkdir -p $out
diff --git a/pkgs/development/compilers/colm/cross-compile.patch b/pkgs/development/compilers/colm/cross-compile.patch
new file mode 100644
index 00000000000..470ea23aaf1
--- /dev/null
+++ b/pkgs/development/compilers/colm/cross-compile.patch
@@ -0,0 +1,13 @@
+--- a/configure.ac 2019-07-09 22:41:03.166948024 -0700
++++ b/configure.ac 2019-07-09 22:41:16.699948056 -0700
+@@ -40,9 +40,7 @@
+
+ dnl Choose a default for the build_manual var. If the dist file is present in
+ dnl the root then default to no, otherwise go for it.
+-AC_CHECK_FILES( [$srcdir/DIST],
+- [. $srcdir/DIST;],
+- [build_manual=yes; ] )
++build_manual=yes;
+
+ dnl Set to true if the manual should be built.
+ AM_CONDITIONAL(BUILD_MANUAL, [test "x$build_manual" = "xyes"])
diff --git a/pkgs/development/compilers/colm/default.nix b/pkgs/development/compilers/colm/default.nix
index 888750efdf9..cc8e9f827b7 100644
--- a/pkgs/development/compilers/colm/default.nix
+++ b/pkgs/development/compilers/colm/default.nix
@@ -1,15 +1,17 @@
-{ stdenv, fetchurl, makeWrapper, gcc, asciidoc }:
+{ stdenv, fetchurl, makeWrapper, gcc, asciidoc, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "colm-${version}";
+ pname = "colm";
version = "0.13.0.7";
src = fetchurl {
- url = "https://www.colm.net/files/colm/${name}.tar.gz";
+ url = "https://www.colm.net/files/colm/${pname}-${version}.tar.gz";
sha256 = "0f76iri173l2wja2v7qrwmf958cqwh5g9x4bhj2z8wknmlla6gz4";
};
- nativeBuildInputs = [ makeWrapper asciidoc ];
+ patches = [ ./cross-compile.patch ];
+
+ nativeBuildInputs = [ makeWrapper asciidoc autoreconfHook ];
doCheck = true;
diff --git a/pkgs/development/compilers/compcert/default.nix b/pkgs/development/compilers/compcert/default.nix
index 4538d303148..940eb851fe6 100644
--- a/pkgs/development/compilers/compcert/default.nix
+++ b/pkgs/development/compilers/compcert/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchFromGitHub, fetchpatch, makeWrapper
+{ stdenv, lib, fetchFromGitHub, makeWrapper
, coq, ocamlPackages, coq2html
, tools ? stdenv.cc
}:
@@ -11,7 +11,7 @@ let
ccomp-platform = if stdenv.isDarwin then "x86_64-macosx" else "x86_64-linux";
in
stdenv.mkDerivation rec {
- name = "compcert-${version}";
+ pname = "compcert";
version = "3.5";
src = fetchFromGitHub {
@@ -27,6 +27,7 @@ stdenv.mkDerivation rec {
patchPhase = ''
substituteInPlace ./configure \
+ --replace '|8.9.0' '|8.9.0|8.9.1' \
--replace '{toolprefix}gcc' '{toolprefix}cc'
'';
diff --git a/pkgs/development/compilers/coreclr/default.nix b/pkgs/development/compilers/coreclr/default.nix
index 8be482e2150..00816fca36b 100644
--- a/pkgs/development/compilers/coreclr/default.nix
+++ b/pkgs/development/compilers/coreclr/default.nix
@@ -18,7 +18,7 @@
}:
stdenv.mkDerivation rec {
- name = "coreclr-${version}";
+ pname = "coreclr";
version = "2.0.7";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/crystal/build-package.nix b/pkgs/development/compilers/crystal/build-package.nix
new file mode 100644
index 00000000000..8ffa89a11b4
--- /dev/null
+++ b/pkgs/development/compilers/crystal/build-package.nix
@@ -0,0 +1,53 @@
+{ stdenv, lib, crystal, linkFarm, fetchFromGitHub }:
+{ # Generate shards.nix with `nix-shell -p crystal2nix --run crystal2nix` in the projects root
+ shardsFile ? null
+ # Specify binaries to build in the form { foo.src = "src/foo.cr"; }
+ # The default `crystal build` options can be overridden with { foo.options = [ "--no-debug" ]; }
+, crystalBinaries ? {}
+, ...
+}@args:
+let
+ mkDerivationArgs = builtins.removeAttrs args [ "shardsFile" "crystalBinaries" ];
+
+ crystalLib = linkFarm "crystal-lib" (lib.mapAttrsToList (name: value: {
+ inherit name;
+ path = fetchFromGitHub value;
+ }) (import shardsFile));
+
+ defaultOptions = [ "--release" "--progress" "--no-debug" "--verbose" ];
+
+in stdenv.mkDerivation (mkDerivationArgs // {
+
+ configurePhase = args.configurePhase or ''
+ runHook preConfigure
+ ${lib.optionalString (shardsFile != null) "ln -s ${crystalLib} lib"}
+ runHook postConfigure
+ '';
+
+ buildInputs = args.buildInputs or [] ++ [ crystal ];
+
+ buildPhase = args.buildPhase or ''
+ runHook preBuild
+ ${lib.concatStringsSep "\n" (lib.mapAttrsToList (bin: attrs: ''
+ crystal ${lib.escapeShellArgs ([
+ "build"
+ "-o" bin
+ (attrs.src or (throw "No source file for crystal binary ${bin} provided"))
+ ] ++ attrs.options or defaultOptions)}
+ '') crystalBinaries)}
+ runHook postBuild
+ '';
+
+ installPhase = args.installPhase or ''
+ runHook preInstall
+ mkdir -p "$out/bin"
+ ${lib.concatMapStringsSep "\n" (bin: ''
+ mv ${lib.escapeShellArgs [ bin "${placeholder "out"}/bin/${bin}" ]}
+ '') (lib.attrNames crystalBinaries)}
+ runHook postInstall
+ '';
+
+ meta = args.meta or {} // {
+ platforms = args.meta.platforms or crystal.meta.platforms;
+ };
+})
diff --git a/pkgs/development/compilers/mint/crystal2nix.cr b/pkgs/development/compilers/crystal/crystal2nix.cr
similarity index 94%
rename from pkgs/development/compilers/mint/crystal2nix.cr
rename to pkgs/development/compilers/crystal/crystal2nix.cr
index f608102a37b..0610de5cfa4 100644
--- a/pkgs/development/compilers/mint/crystal2nix.cr
+++ b/pkgs/development/compilers/crystal/crystal2nix.cr
@@ -26,7 +26,7 @@ File.open "shards.nix", "w+" do |file|
sha256 = ""
args = ["--url", url, "--rev", rev]
- Process.run("nix-prefetch-git", args: args) do |x|
+ Process.run("@nixPrefetchGit@", args: args) do |x|
x.error.each_line { |e| puts e }
sha256 = PrefetchJSON.from_json(x.output).sha256
end
diff --git a/pkgs/development/compilers/crystal/crystal2nix.nix b/pkgs/development/compilers/crystal/crystal2nix.nix
new file mode 100644
index 00000000000..ac69b9b3d96
--- /dev/null
+++ b/pkgs/development/compilers/crystal/crystal2nix.nix
@@ -0,0 +1,16 @@
+{ lib, crystal, nix-prefetch-git }:
+crystal.buildCrystalPackage {
+ pname = "crystal2nix";
+ version = "unstable-2018-07-31";
+
+ nixPrefetchGit = "${lib.getBin nix-prefetch-git}/bin/nix-prefetch-git";
+ unpackPhase = "substituteAll ${./crystal2nix.cr} crystal2nix.cr";
+
+ crystalBinaries.crystal2nix.src = "crystal2nix.cr";
+
+ meta = with lib; {
+ description = "Utility to convert Crystal's shard.lock files to a Nix file";
+ license = licenses.mit;
+ maintainers = [ maintainers.manveru ];
+ };
+}
diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix
index 3c6f3693401..409ac03d92f 100644
--- a/pkgs/development/compilers/crystal/default.nix
+++ b/pkgs/development/compilers/crystal/default.nix
@@ -1,33 +1,35 @@
{ stdenv, lib, fetchFromGitHub, fetchurl, makeWrapper
-, gmp, openssl, readline, tzdata, libxml2, libyaml
-, boehmgc, libatomic_ops, pcre, libevent, libiconv, llvm, clang, which, zlib }:
+, coreutils, git, gmp, nettools, openssl_1_0_2, readline, tzdata, libxml2, libyaml
+, boehmgc, libatomic_ops, pcre, libevent, libiconv, llvm, clang, which, zlib
+, callPackage }:
# We need multiple binaries as a given binary isn't always able to build
-# (even slightly) older or newer version.
+# (even slightly) older or newer versions.
# - 0.26.1 can build 0.25.x and 0.26.x but not 0.27.x
-# - 0.27.2 can build 0.27.x but not 0.25.x and 0.26.x
+# - 0.27.2 can build 0.27.x but not 0.25.x, 0.26.x and 0.29.x
#
# We need to keep around at least the latest version released with a stable
# NixOS
let
archs = {
- "x86_64-linux" = "linux-x86_64";
- "i686-linux" = "linux-i686";
- "x86_64-darwin" = "darwin-x86_64";
+ x86_64-linux = "linux-x86_64";
+ i686-linux = "linux-i686";
+ x86_64-darwin = "darwin-x86_64";
};
- arch = archs."${stdenv.system}" or (throw "system ${stdenv.system} not supported");
+ arch = archs.${stdenv.system} or (throw "system ${stdenv.system} not supported");
- checkInputs = [ gmp openssl readline libxml2 libyaml tzdata ];
+ checkInputs = [ git gmp openssl_1_0_2 readline libxml2 libyaml ];
genericBinary = { version, sha256s, rel ? 1 }:
stdenv.mkDerivation rec {
- name = "crystal-binary-${version}";
+ pname = "crystal-binary";
+ inherit version;
src = fetchurl {
url = "https://github.com/crystal-lang/crystal/releases/download/${version}/crystal-${version}-${toString rel}-${arch}.tar.gz";
- sha256 = sha256s."${stdenv.system}";
+ sha256 = sha256s.${stdenv.system};
};
buildCommand = ''
@@ -37,9 +39,9 @@ let
};
generic = { version, sha256, binary, doCheck ? true }:
- stdenv.mkDerivation rec {
- inherit doCheck;
- name = "crystal-${version}";
+ let compiler = stdenv.mkDerivation rec {
+ pname = "crystal";
+ inherit doCheck version;
src = fetchFromGitHub {
owner = "crystal-lang";
@@ -48,15 +50,31 @@ let
inherit sha256;
};
+ # we are almost able to run the full test suite now
postPatch = ''
+ substituteInPlace src/crystal/system/unix/time.cr \
+ --replace /usr/share/zoneinfo ${tzdata}/share/zoneinfo
+
ln -s spec/compiler spec/std
+
+ substituteInPlace spec/std/file_spec.cr \
+ --replace '/bin/ls' '${coreutils}/bin/ls' \
+ --replace '/usr/share' '/tmp/test'
+
substituteInPlace spec/std/process_spec.cr \
- --replace /bin/ /run/current-system/sw/bin/
+ --replace '/bin/cat' '${coreutils}/bin/cat' \
+ --replace '/bin/ls' '${coreutils}/bin/ls' \
+ --replace '/usr/bin/env' '${coreutils}/bin/env' \
+ --replace '"env"' '"${coreutils}/bin/env"' \
+ --replace '"/usr"' '"/tmp"'
+
+ substituteInPlace spec/std/system_spec.cr \
+ --replace '`hostname`' '`${nettools}/bin/hostname`'
'';
buildInputs = [
- boehmgc libatomic_ops pcre libevent
- llvm zlib openssl
+ boehmgc libatomic_ops pcre libevent libyaml
+ llvm zlib openssl_1_0_2
] ++ stdenv.lib.optionals stdenv.isDarwin [
libiconv
];
@@ -111,9 +129,17 @@ let
checkTarget = "spec";
preCheck = ''
+ export HOME=/tmp
+ mkdir -p $HOME/test
+
export LIBRARY_PATH=${lib.makeLibraryPath checkInputs}:$LIBRARY_PATH
+ export PATH=${lib.makeBinPath checkInputs}:$PATH
'';
+ passthru.buildCrystalPackage = callPackage ./build-package.nix {
+ crystal = compiler;
+ };
+
meta = with lib; {
description = "A compiled language with Ruby like syntax and type inference";
homepage = https://crystal-lang.org/;
@@ -121,24 +147,33 @@ let
maintainers = with maintainers; [ manveru david50407 peterhoeg ];
platforms = builtins.attrNames archs;
};
- };
+ }; in compiler;
in rec {
binaryCrystal_0_26 = genericBinary {
version = "0.26.1";
sha256s = {
- "x86_64-linux" = "1xban102yiiwmlklxvn3xp3q546bp8hlxxpakayajkhhnpl6yv45";
- "i686-linux" = "1igspf1lrv7wpmz0pfrkbx8m1ykvnv4zhic53cav4nicppm2v0ic";
- "x86_64-darwin" = "0hzc65ccajr0yhmvi5vbdgbzbp1gbjy56da24ds3zwwkam1ddk0k";
+ x86_64-linux = "1xban102yiiwmlklxvn3xp3q546bp8hlxxpakayajkhhnpl6yv45";
+ i686-linux = "1igspf1lrv7wpmz0pfrkbx8m1ykvnv4zhic53cav4nicppm2v0ic";
+ x86_64-darwin = "1mri8bfrcldl69gczxpihxpv1shn4bijx28m3qby8vnk0ii63n9s";
};
};
binaryCrystal_0_27 = genericBinary {
version = "0.27.2";
sha256s = {
- "x86_64-linux" = "05l5x7kx2acgnv42fj3rr17z73ix06zvi05h7d7vf3kw0izxrasm";
- "i686-linux" = "1iwizkvn6pglc0azkyfhlmk9ap793krdgcnbihd1kvrvs4cz0mm9";
- "x86_64-darwin" = "14c69ac2dmfwmb5q56ps3xyxxb0mrbc91ahk9h07c8fiqfii3k9g";
+ x86_64-linux = "05l5x7kx2acgnv42fj3rr17z73ix06zvi05h7d7vf3kw0izxrasm";
+ i686-linux = "1iwizkvn6pglc0azkyfhlmk9ap793krdgcnbihd1kvrvs4cz0mm9";
+ x86_64-darwin = "14c69ac2dmfwmb5q56ps3xyxxb0mrbc91ahk9h07c8fiqfii3k9g";
+ };
+ };
+
+ binaryCrystal_0_29 = genericBinary {
+ version = "0.29.0";
+ sha256s = {
+ x86_64-linux = "1wrk29sfx35akg7hxwpdiikvl18wd40gq1kwirw7x522hnq7vlna";
+ i686-linux = "1nx0piis2k3nn7kqiijqazzbvlaavhgvsln0l3dxmpfa4i4dz5h2";
+ x86_64-darwin = "1fd0fbyf05abivnp3igjlrm2axf65n2wdmg4aq6nqj60ipc01rvd";
};
};
@@ -163,5 +198,21 @@ in rec {
binary = binaryCrystal_0_27;
};
- crystal = crystal_0_27;
+ crystal_0_29 = generic {
+ version = "0.29.0";
+ sha256 = "0v9l253b2x8yw6a43vvalywpwciwr094l3g5wakmndfrzak2s3zr";
+ doCheck = false; # 6 checks are failing now
+ binary = binaryCrystal_0_29;
+ };
+
+ crystal_0_30 = generic {
+ version = "0.30.1";
+ sha256 = "0fbk784zjflsl3hys5a1xmn8mda8kb2z7ql58wpyfavivswxanbs";
+ doCheck = false; # 6 checks are failing now
+ binary = binaryCrystal_0_29;
+ };
+
+ crystal = crystal_0_30;
+
+ crystal2nix = callPackage ./crystal2nix.nix {};
}
diff --git a/pkgs/development/compilers/cudatoolkit/default.nix b/pkgs/development/compilers/cudatoolkit/default.nix
index 6a18c05f38e..8aab9580232 100644
--- a/pkgs/development/compilers/cudatoolkit/default.nix
+++ b/pkgs/development/compilers/cudatoolkit/default.nix
@@ -1,6 +1,6 @@
{ lib, stdenv, makeWrapper, fetchurl, requireFile, perl, ncurses5, expat, python27, zlib
, gcc48, gcc49, gcc5, gcc6, gcc7
-, xorg, gtk2, gdk_pixbuf, glib, fontconfig, freetype, unixODBC, alsaLib, glibc
+, xorg, gtk2, gdk-pixbuf, glib, fontconfig, freetype, unixODBC, alsaLib, glibc
, addOpenGLRunpath
}:
@@ -16,7 +16,7 @@ let
}:
stdenv.mkDerivation rec {
- name = "cudatoolkit-${version}";
+ pname = "cudatoolkit";
inherit version runPatches;
dontPatchELF = true;
@@ -41,7 +41,7 @@ let
outputs = [ "out" "lib" "doc" ];
nativeBuildInputs = [ perl makeWrapper addOpenGLRunpath ];
- buildInputs = [ gdk_pixbuf ]; # To get $GDK_PIXBUF_MODULE_FILE via setup-hook
+ buildInputs = [ gdk-pixbuf ]; # To get $GDK_PIXBUF_MODULE_FILE via setup-hook
runtimeDependencies = [
ncurses5 expat python zlib glibc
xorg.libX11 xorg.libXext xorg.libXrender xorg.libXt xorg.libXtst xorg.libXi xorg.libXext
diff --git a/pkgs/development/compilers/dale/default.nix b/pkgs/development/compilers/dale/default.nix
index 8bae6e2363f..128c245d277 100644
--- a/pkgs/development/compilers/dale/default.nix
+++ b/pkgs/development/compilers/dale/default.nix
@@ -11,7 +11,8 @@
let version = "20170519";
in stdenv.mkDerivation {
- name = "dale-${version}";
+ pname = "dale";
+ inherit version;
src = fetchFromGitHub {
owner = "tomhrr";
diff --git a/pkgs/development/compilers/dev86/default.nix b/pkgs/development/compilers/dev86/default.nix
index 514075651e1..839ee821d00 100644
--- a/pkgs/development/compilers/dev86/default.nix
+++ b/pkgs/development/compilers/dev86/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "dev86-${version}";
+ pname = "dev86";
version = "0.16.21";
src = fetchurl {
diff --git a/pkgs/development/compilers/dmd/default.nix b/pkgs/development/compilers/dmd/default.nix
index 5c4e570fcb8..6cae1fa073b 100644
--- a/pkgs/development/compilers/dmd/default.nix
+++ b/pkgs/development/compilers/dmd/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, lib, fetchFromGitHub, fetchpatch
+{ stdenv, lib, fetchFromGitHub
, makeWrapper, unzip, which, writeTextFile
, curl, tzdata, gdb, darwin, git
-, callPackage, targetPackages, ldc
+, targetPackages, ldc
, version ? "2.085.1"
, dmdSha256 ? "0ccidfcawrcwdpfjwjiln5xwr4ffp8i2hwx52p8zn3xmc5yxm660"
, druntimeSha256 ? "109f2glsqrlshk06761xlw4r5v22mivp873cq9g5gcax3g00k617"
@@ -13,7 +13,7 @@ let
dmdConfFile = writeTextFile {
name = "dmd.conf";
text = (lib.generators.toINI {} {
- "Environment" = {
+ Environment = {
DFLAGS = ''-I@out@/include/dmd -L-L@out@/lib -fPIC ${stdenv.lib.optionalString (!targetPackages.stdenv.cc.isClang) "-L--export-dynamic"}'';
};
});
@@ -22,7 +22,7 @@ let
in
stdenv.mkDerivation rec {
- name = "dmd-${version}";
+ pname = "dmd";
inherit version;
enableParallelBuilding = true;
@@ -111,8 +111,6 @@ stdenv.mkDerivation rec {
cd ..
'';
- dontStrip = true;
-
installPhase = ''
cd dmd
mkdir $out
diff --git a/pkgs/development/compilers/dotnet/sdk/default.nix b/pkgs/development/compilers/dotnet/sdk/default.nix
index b4f35b1c4c0..984ab39c91a 100644
--- a/pkgs/development/compilers/dotnet/sdk/default.nix
+++ b/pkgs/development/compilers/dotnet/sdk/default.nix
@@ -12,14 +12,14 @@ let
rpath = stdenv.lib.makeLibraryPath [ stdenv.cc.cc libunwind libuuid icu openssl zlib curl ];
in
stdenv.mkDerivation rec {
- version = "2.2.203";
- netCoreVersion = "2.2.4";
+ version = "2.2.401";
+ netCoreVersion = "2.2.6";
pname = "dotnet-sdk";
src = fetchurl {
url = "https://dotnetcli.azureedge.net/dotnet/Sdk/${version}/${pname}-${version}-linux-x64.tar.gz";
# use sha512 from the download page
- sha512 = "8DA955FA0AEEBB6513A6E8C4C23472286ED78BD5533AF37D79A4F2C42060E736FDA5FD48B61BF5AEC10BBA96EB2610FACC0F8A458823D374E1D437B26BA61A5C";
+ sha512 = "05w3zk7bcd8sv3k4kplf20j906and2006g1fggq7y6kaxrlhdnpd6jhy6idm8v5bz48wfxga5b4yys9qx0fp3p8yl7wi67qljpzrq88";
};
sourceRoot = ".";
@@ -28,7 +28,7 @@ in
runHook preBuild
patchelf --set-interpreter "${stdenv.cc.bintools.dynamicLinker}" ./dotnet
patchelf --set-rpath "${rpath}" ./dotnet
- find -type f -name "*.so" -exec patchelf --set-rpath "${rpath}" {} \;
+ find -type f -name "*.so" -exec patchelf --set-rpath '$ORIGIN:${rpath}' {} \;
echo -n "dotnet-sdk version: "
./dotnet --version
runHook postBuild
diff --git a/pkgs/development/compilers/dtc/default.nix b/pkgs/development/compilers/dtc/default.nix
index ea305cc5c84..6c47cbcd3a5 100644
--- a/pkgs/development/compilers/dtc/default.nix
+++ b/pkgs/development/compilers/dtc/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
pname = "dtc";
- version = "1.5.0";
+ version = "1.5.1";
src = fetchgit {
url = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git";
rev = "refs/tags/v${version}";
- sha256 = "075gj8bbahfdb8dlif3d2dpzjrkyf3bwbcmx96zpwhlgs0da8jxh";
+ sha256 = "1jhhfrg22h53lvm2lqhd66pyk20pil08ry03wcwyx1c3ln27k73z";
};
nativeBuildInputs = [ flex bison pkgconfig swig which ];
diff --git a/pkgs/development/compilers/ecl/16.1.2.nix b/pkgs/development/compilers/ecl/16.1.2.nix
index c27f2a22670..bede9fa4aa6 100644
--- a/pkgs/development/compilers/ecl/16.1.2.nix
+++ b/pkgs/development/compilers/ecl/16.1.2.nix
@@ -78,6 +78,6 @@ stdenv.mkDerivation {
description = "Lisp implementation aiming to be small, fast and easy to embed";
license = stdenv.lib.licenses.mit ;
maintainers = [stdenv.lib.maintainers.raskin];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/development/compilers/edk2/default.nix b/pkgs/development/compilers/edk2/default.nix
index 809fc6a4cf1..97af433d606 100644
--- a/pkgs/development/compilers/edk2/default.nix
+++ b/pkgs/development/compilers/edk2/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub, fetchpatch, libuuid, python2, iasl }:
+{ stdenv, fetchgit, fetchpatch, libuuid, python3, iasl, bc }:
let
- pythonEnv = python2.withPackages(ps: [ps.tkinter]);
+ pythonEnv = python3.withPackages (ps: [ps.tkinter]);
targetArch = if stdenv.isi686 then
"IA32"
@@ -13,80 +13,68 @@ else
throw "Unsupported architecture";
edk2 = stdenv.mkDerivation {
- name = "edk2-2017-12-05";
+ pname = "edk2";
+ version = "201905";
- src = fetchFromGitHub {
- owner = "tianocore";
- repo = "edk2";
- rev = "f71a70e7a4c93a6143d7bad8ab0220a947679697";
- sha256 = "0k48xfwxcgcim1bhkggc19hilvsxsf5axvvcpmld0ng1fcfg0cr6";
+ # submodules
+ src = fetchgit {
+ url = "https://github.com/tianocore/edk2";
+ rev = "edk2-stable${edk2.version}";
+ sha256 = "0fk40h4nj4qg8shg0yd1zj4iyspslms5fx95ysi04akv90k5sqkn";
};
- patches = [
- (fetchpatch {
- name = "short-circuit-the-transfer-of-an-empty-S3_CONTEXT.patch";
- url = "https://github.com/tianocore/edk2/commit/9e2a8e928995c3b1bb664b73fd59785055c6b5f6.diff";
- sha256 = "0x24npijhgpjpsn3n74wayf8qcbaj97vi4z2iyf4almavqq8qaz4";
- })
- ];
-
buildInputs = [ libuuid pythonEnv ];
- makeFlags = "-C BaseTools";
+ makeFlags = [ "-C BaseTools" ];
+ NIX_CFLAGS_COMPILE = "-Wno-return-type -Wno-error=stringop-truncation";
hardeningDisable = [ "format" "fortify" ];
installPhase = ''
mkdir -vp $out
mv -v BaseTools $out
- mv -v EdkCompatibilityPkg $out
mv -v edksetup.sh $out
'';
enableParallelBuilding = true;
- meta = {
+ meta = with stdenv.lib; {
description = "Intel EFI development kit";
homepage = https://sourceforge.net/projects/edk2/;
- license = stdenv.lib.licenses.bsd2;
- branch = "UDK2017";
- platforms = ["x86_64-linux" "i686-linux" "aarch64-linux"];
+ license = licenses.bsd2;
+ platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
};
passthru = {
- setup = projectDscPath: attrs: {
- buildInputs = [ pythonEnv ] ++
- stdenv.lib.optionals (attrs ? buildInputs) attrs.buildInputs;
+ mkDerivation = projectDscPath: attrs: stdenv.mkDerivation ({
+ inherit (edk2) src;
- configurePhase = ''
- mkdir -v Conf
+ buildInputs = [ bc pythonEnv ] ++ attrs.buildInputs or [];
- cp ${edk2}/BaseTools/Conf/target.template Conf/target.txt
- sed -i Conf/target.txt \
- -e 's|Nt32Pkg/Nt32Pkg.dsc|${projectDscPath}|' \
- -e 's|MYTOOLS|GCC49|' \
- -e 's|IA32|${targetArch}|' \
- -e 's|DEBUG|RELEASE|'\
-
- cp ${edk2}/BaseTools/Conf/tools_def.template Conf/tools_def.txt
- sed -i Conf/tools_def.txt \
- -e 's|DEFINE GCC48_IA32_PREFIX = /usr/bin/|DEFINE GCC48_IA32_PREFIX = ""|' \
- -e 's|DEFINE GCC48_X64_PREFIX = /usr/bin/|DEFINE GCC48_X64_PREFIX = ""|' \
- -e 's|DEFINE UNIX_IASL_BIN = /usr/bin/iasl|DEFINE UNIX_IASL_BIN = ${iasl}/bin/iasl|'
-
- export WORKSPACE="$PWD"
- export EFI_SOURCE="$PWD/EdkCompatibilityPkg"
+ prePatch = ''
+ rm -rf BaseTools
ln -sv ${edk2}/BaseTools BaseTools
- ln -sv ${edk2}/EdkCompatibilityPkg EdkCompatibilityPkg
- . ${edk2}/edksetup.sh BaseTools
'';
- buildPhase = "
- build
- ";
+ configurePhase = ''
+ runHook preConfigure
+ export WORKSPACE="$PWD"
+ . ${edk2}/edksetup.sh BaseTools
+ runHook postConfigure
+ '';
- installPhase = "mv -v Build/*/* $out";
- } // (removeAttrs attrs [ "buildInputs" ] );
+ buildPhase = ''
+ runHook preBuild
+ build -a ${targetArch} -b RELEASE -t GCC5 -p ${projectDscPath} -n $NIX_BUILD_CORES $buildFlags
+ runHook postBuild
+ '';
+
+ installPhase = ''
+ runHook preInstall
+ mv -v Build/*/* $out
+ runHook postInstall
+ '';
+ } // removeAttrs attrs [ "buildInputs" ]);
};
};
diff --git a/pkgs/development/compilers/eli/default.nix b/pkgs/development/compilers/eli/default.nix
index 4635c6d0a4e..a22862c4292 100644
--- a/pkgs/development/compilers/eli/default.nix
+++ b/pkgs/development/compilers/eli/default.nix
@@ -28,11 +28,11 @@ let
};
in
stdenv.mkDerivation rec {
- name = "eli-${version}";
+ pname = "eli";
version = "4.8.1";
src = fetchurl {
- url = "mirror://sourceforge/project/eli-project/Eli/Eli%20${version}/${name}.tar.bz2";
+ url = "mirror://sourceforge/project/eli-project/Eli/Eli%20${version}/${pname}-${version}.tar.bz2";
sha256="1vran8583hbwrr5dciji4zkhz3f88w4mn8n9sdpr6zw0plpf1whj";
};
diff --git a/pkgs/development/compilers/elm/default.nix b/pkgs/development/compilers/elm/default.nix
index f14bce5d96b..ce18200943e 100644
--- a/pkgs/development/compilers/elm/default.nix
+++ b/pkgs/development/compilers/elm/default.nix
@@ -1,14 +1,23 @@
-{ lib, stdenv, buildEnv
+{ lib, stdenv, pkgs
, haskell, nodejs
-, fetchurl, fetchpatch, makeWrapper, git }:
-
+, fetchurl, fetchpatch, makeWrapper, writeScriptBin }:
let
fetchElmDeps = import ./fetchElmDeps.nix { inherit stdenv lib fetchurl; };
+
+ patchBinwrap = import ./packages/patch-binwrap.nix { inherit lib writeScriptBin stdenv; };
+
+ elmNodePackages =
+ import ./packages/node-composition.nix {
+ inherit nodejs pkgs;
+ inherit (stdenv.hostPlatform) system;
+ };
+
hsPkgs = haskell.packages.ghc864.override {
overrides = self: super: with haskell.lib;
- let elmPkgs = {
+ let elmPkgs = rec {
elm = overrideCabal (self.callPackage ./packages/elm.nix { }) (drv: {
# sadly with parallelism most of the time breaks compilation
+ # also compilation is slower with increasing number of cores anyway (Tested on Ryzen 7 and i7)
enableParallelBuilding = false;
preConfigure = self.fetchElmDeps {
elmPackages = (import ./packages/elm-srcs.nix);
@@ -30,12 +39,28 @@ let
/*
The elm-format expression is updated via a script in the https://github.com/avh4/elm-format repo:
- `pacakge/nix/build.sh`
+ `package/nix/build.sh`
*/
elm-format = justStaticExecutables (doJailbreak (self.callPackage ./packages/elm-format.nix {}));
+ elmi-to-json = justStaticExecutables (self.callPackage ./packages/elmi-to-json.nix {});
+
inherit fetchElmDeps;
elmVersion = elmPkgs.elm.version;
+
+ /*
+ Node/NPM based dependecies can be upgraded using script
+ `packages/generate-node-packages.sh`.
+ Packages which rely on `bin-wrap` will fail by default
+ and can be patched using `patchBinwrap` function defined in `packages/patch-binwrap.nix`.
+ */
+ elm-test = patchBinwrap [elmi-to-json] elmNodePackages.elm-test;
+ elm-verify-examples = patchBinwrap [elmi-to-json] elmNodePackages.elm-verify-examples;
+ elm-language-server = elmNodePackages."@elm-tooling/elm-language-server";
+
+ # elm-analyse@0.16.4 build is not working
+ elm-analyse = elmNodePackages."elm-analyse-0.16.3";
+ inherit (elmNodePackages) elm-doc-preview elm-live elm-upgrade elm-xref;
};
in elmPkgs // {
inherit elmPkgs;
diff --git a/pkgs/development/compilers/elm/packages/README.md b/pkgs/development/compilers/elm/packages/README.md
new file mode 100644
index 00000000000..5b21736afc0
--- /dev/null
+++ b/pkgs/development/compilers/elm/packages/README.md
@@ -0,0 +1,25 @@
+# Elm packages
+
+Mixtures of useful Elm lang tooling containing both Haskell and Node.js based utilities.
+
+## Upgrades
+
+Haskell parts of the ecosystem are using [cabal2nix](https://github.com/NixOS/cabal2nix).
+Please refer to [nix documentation](https://nixos.org/nixpkgs/manual/#how-to-create-nix-builds-for-your-own-private-haskell-packages)
+and [cabal2nix readme](https://github.com/NixOS/cabal2nix#readme) for more information. Elm-format [update scripts](https://github.com/avh4/elm-format/tree/master/package/nix)
+is part of its repository.
+
+Node dependencies are defined in [node-packages.json](node-packages.json).
+[Node2nix](https://github.com/svanderburg/node2nix) is used for generating nix expression
+from this file. Use [generate-node-packages.sh](generate-node-packages.sh) for updates of nix expressions.
+
+## Binwrap Patch
+
+Some node packages might use [binwrap](https://github.com/avh4/binwrap) typically for installing
+[elmi-to-json](https://github.com/stoeffel/elmi-to-json). Binwrap is not compatible with nix.
+To overcome issues with those packages apply [patch-binwrap.nix](patch-binwrap.nix) which essentially does 2 things.
+
+1. It replaces binwrap scripts with noop shell scripts
+2. It uses nix for installing the binaries to expected location in `node_modules`
+
+Example usage be found in `elm/default.nix`.
diff --git a/pkgs/development/compilers/elm/packages/elm-format.nix b/pkgs/development/compilers/elm/packages/elm-format.nix
index aaae9fa4ba9..3660e42e363 100644
--- a/pkgs/development/compilers/elm/packages/elm-format.nix
+++ b/pkgs/development/compilers/elm/packages/elm-format.nix
@@ -1,24 +1,28 @@
{ mkDerivation, fetchgit, ansi-terminal, ansi-wl-pprint, base, binary
-, bytestring, Cabal, cmark, containers, directory, filepath, free
-, HUnit, indents, json, mtl, optparse-applicative, parsec, process
+, bytestring, cmark, containers, directory, filepath, free, HUnit
+, indents, json, mtl, optparse-applicative, parsec, process
, QuickCheck, quickcheck-io, split, stdenv, tasty, tasty-golden
, tasty-hunit, tasty-quickcheck, text
}:
mkDerivation {
pname = "elm-format";
- version = "0.8.1";
+ version = "0.8.2";
src = fetchgit {
url = "https://github.com/avh4/elm-format";
- sha256 = "0p1dy1m6illsl7i04zsv5jqw7i4znv7pfpdfm53zy0k7mq0fk09j";
- rev = "89694e858664329e3cbdaeb71b15c4456fd739ff";
+ sha256 = "0ly37fszrfviwqgrww57ikdcr7i8lcpczhqm8xqp5s7mrlpdxv7z";
+ rev = "ab3627cce01e5556b3fe8c2b5e3d92b80bfc74af";
};
postPatch = ''
- sed -i "s|desc <-.*||" ./Setup.hs
- sed -i "s|gitDescribe = .*|gitDescribe = \\\\\"0.8.1\\\\\"\"|" ./Setup.hs
+ mkdir -p ./generated
+ cat < ./generated/Build_elm_format.hs
+ module Build_elm_format where
+
+ gitDescribe :: String
+ gitDescribe = "0.8.2"
+ EOHS
'';
- isLibrary = true;
+ isLibrary = false;
isExecutable = true;
- setupHaskellDepends = [ base Cabal directory filepath process ];
libraryHaskellDepends = [
ansi-terminal ansi-wl-pprint base binary bytestring containers
directory filepath free indents json mtl optparse-applicative
diff --git a/pkgs/development/compilers/elm/packages/elmi-to-json.nix b/pkgs/development/compilers/elm/packages/elmi-to-json.nix
new file mode 100644
index 00000000000..f6a0b9e2426
--- /dev/null
+++ b/pkgs/development/compilers/elm/packages/elmi-to-json.nix
@@ -0,0 +1,27 @@
+{ mkDerivation, aeson, async, base, binary, bytestring, containers
+, directory, filepath, hpack, optparse-applicative, safe-exceptions
+, stdenv, text, fetchgit
+}:
+mkDerivation {
+ pname = "elmi-to-json";
+ version = "0.19.4";
+ src = fetchgit {
+ url = "https://github.com/stoeffel/elmi-to-json.git";
+ rev = "357ad96f05e4c68023b036f27f6f65c4377c7427";
+ sha256 = "0vj9fdqgg2zd1nxpll6v02fk6bcyhx00xhp3s8sd7ycvirwsim9n";
+ };
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson async base binary bytestring containers directory filepath
+ optparse-applicative safe-exceptions text
+ ];
+ libraryToolDepends = [ hpack ];
+ executableHaskellDepends = [ base ];
+ testHaskellDepends = [ base ];
+ preConfigure = "hpack";
+ homepage = "https://github.com/stoeffel/elmi-to-json#readme";
+ description = "Translates elmi binary files to JSON representation";
+ license = stdenv.lib.licenses.bsd3;
+ maintainers = with stdenv.lib.maintainers; [ turbomack ];
+}
diff --git a/pkgs/development/compilers/elm/packages/generate-node-packages.sh b/pkgs/development/compilers/elm/packages/generate-node-packages.sh
new file mode 100755
index 00000000000..1d24df549ea
--- /dev/null
+++ b/pkgs/development/compilers/elm/packages/generate-node-packages.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env nix-shell
+#! nix-shell -i bash -p nodePackages.node2nix
+
+set -eu -o pipefail
+
+rm -f node-env.nix
+node2nix --nodejs-10 \
+ -i node-packages.json \
+ -o node-packages.nix \
+ -c node-composition.nix \
+ --no-copy-node-env -e ../../../node-packages/node-env.nix
diff --git a/pkgs/servers/web-apps/codimd/CodeMirror/node.nix b/pkgs/development/compilers/elm/packages/node-composition.nix
similarity index 60%
rename from pkgs/servers/web-apps/codimd/CodeMirror/node.nix
rename to pkgs/development/compilers/elm/packages/node-composition.nix
index 7f95c2b8801..1ffd758ac82 100644
--- a/pkgs/servers/web-apps/codimd/CodeMirror/node.nix
+++ b/pkgs/development/compilers/elm/packages/node-composition.nix
@@ -1,11 +1,11 @@
-# This file has been generated by node2nix 1.6.0. Do not edit!
+# This file has been generated by node2nix 1.7.0. Do not edit!
{pkgs ? import {
inherit system;
- }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-8_x"}:
+ }, system ? builtins.currentSystem, nodejs ? pkgs."nodejs-10_x"}:
let
- nodeEnv = import ../../../../development/node-packages/node-env.nix {
+ nodeEnv = import ../../../node-packages/node-env.nix {
inherit (pkgs) stdenv python2 utillinux runCommand writeTextFile;
inherit nodejs;
libtool = if pkgs.stdenv.isDarwin then pkgs.darwin.cctools else null;
@@ -14,4 +14,4 @@ in
import ./node-packages.nix {
inherit (pkgs) fetchurl fetchgit;
inherit nodeEnv;
-}
+}
\ No newline at end of file
diff --git a/pkgs/development/compilers/elm/packages/node-packages.json b/pkgs/development/compilers/elm/packages/node-packages.json
new file mode 100644
index 00000000000..9faaaced709
--- /dev/null
+++ b/pkgs/development/compilers/elm/packages/node-packages.json
@@ -0,0 +1,10 @@
+[
+ "elm-test",
+ "elm-verify-examples",
+ "elm-doc-preview",
+ "elm-upgrade",
+ { "elm-analyse": "0.16.3" },
+ "elm-live",
+ "elm-xref",
+ "@elm-tooling/elm-language-server"
+]
diff --git a/pkgs/development/compilers/elm/packages/node-packages.nix b/pkgs/development/compilers/elm/packages/node-packages.nix
new file mode 100644
index 00000000000..45fb96ed693
--- /dev/null
+++ b/pkgs/development/compilers/elm/packages/node-packages.nix
@@ -0,0 +1,6712 @@
+# This file has been generated by node2nix 1.7.0. Do not edit!
+
+{nodeEnv, fetchurl, fetchgit, globalBuildInputs ? []}:
+
+let
+ sources = {
+ "@cnakazawa/watch-1.0.3" = {
+ name = "_at_cnakazawa_slash_watch";
+ packageName = "@cnakazawa/watch";
+ version = "1.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.3.tgz";
+ sha512 = "r5160ogAvGyHsal38Kux7YYtodEKOj89RGb28ht1jh3SJb08VwRwAKKJL0bGb04Zd/3r9FL3BFIc3bBidYffCA==";
+ };
+ };
+ "@nodelib/fs.scandir-2.1.2" = {
+ name = "_at_nodelib_slash_fs.scandir";
+ packageName = "@nodelib/fs.scandir";
+ version = "2.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.2.tgz";
+ sha512 = "wrIBsjA5pl13f0RN4Zx4FNWmU71lv03meGKnqRUoCyan17s4V3WL92f3w3AIuWbNnpcrQyFBU5qMavJoB8d27w==";
+ };
+ };
+ "@nodelib/fs.stat-2.0.2" = {
+ name = "_at_nodelib_slash_fs.stat";
+ packageName = "@nodelib/fs.stat";
+ version = "2.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.2.tgz";
+ sha512 = "z8+wGWV2dgUhLqrtRYa03yDx4HWMvXKi1z8g3m2JyxAx8F7xk74asqPk5LAETjqDSGLFML/6CDl0+yFunSYicw==";
+ };
+ };
+ "@nodelib/fs.walk-1.2.3" = {
+ name = "_at_nodelib_slash_fs.walk";
+ packageName = "@nodelib/fs.walk";
+ version = "1.2.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.3.tgz";
+ sha512 = "l6t8xEhfK9Sa4YO5mIRdau7XSOADfmh3jCr0evNHdY+HNkW6xuQhgMH7D73VV6WpZOagrW0UludvMTiifiwTfA==";
+ };
+ };
+ "@sindresorhus/is-0.7.0" = {
+ name = "_at_sindresorhus_slash_is";
+ packageName = "@sindresorhus/is";
+ version = "0.7.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@sindresorhus/is/-/is-0.7.0.tgz";
+ sha512 = "ONhaKPIufzzrlNbqtWFFd+jlnemX6lJAgq9ZeiZtS7I1PIf/la7CW4m83rTXRnVnsMbW2k56pGYu7AUFJD9Pow==";
+ };
+ };
+ "@types/events-3.0.0" = {
+ name = "_at_types_slash_events";
+ packageName = "@types/events";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz";
+ sha512 = "EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g==";
+ };
+ };
+ "@types/glob-7.1.1" = {
+ name = "_at_types_slash_glob";
+ packageName = "@types/glob";
+ version = "7.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@types/glob/-/glob-7.1.1.tgz";
+ sha512 = "1Bh06cbWJUHMC97acuD6UMG29nMt0Aqz1vF3guLfG+kHHJhy3AyohZFFxYk2f7Q1SQIrNwvncxAE0N/9s70F2w==";
+ };
+ };
+ "@types/minimatch-3.0.3" = {
+ name = "_at_types_slash_minimatch";
+ packageName = "@types/minimatch";
+ version = "3.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz";
+ sha512 = "tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==";
+ };
+ };
+ "@types/node-12.7.5" = {
+ name = "_at_types_slash_node";
+ packageName = "@types/node";
+ version = "12.7.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@types/node/-/node-12.7.5.tgz";
+ sha512 = "9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYDd5p3w==";
+ };
+ };
+ "accepts-1.3.7" = {
+ name = "accepts";
+ packageName = "accepts";
+ version = "1.3.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz";
+ sha512 = "Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==";
+ };
+ };
+ "ajv-6.10.2" = {
+ name = "ajv";
+ packageName = "ajv";
+ version = "6.10.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz";
+ sha512 = "TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==";
+ };
+ };
+ "ansi-regex-2.1.1" = {
+ name = "ansi-regex";
+ packageName = "ansi-regex";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz";
+ sha1 = "c3b33ab5ee360d86e0e628f0468ae7ef27d654df";
+ };
+ };
+ "ansi-regex-4.1.0" = {
+ name = "ansi-regex";
+ packageName = "ansi-regex";
+ version = "4.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz";
+ sha512 = "1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==";
+ };
+ };
+ "ansi-styles-2.2.1" = {
+ name = "ansi-styles";
+ packageName = "ansi-styles";
+ version = "2.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz";
+ sha1 = "b432dd3358b634cf75e1e4664368240533c1ddbe";
+ };
+ };
+ "ansi-styles-3.2.1" = {
+ name = "ansi-styles";
+ packageName = "ansi-styles";
+ version = "3.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz";
+ sha512 = "VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==";
+ };
+ };
+ "anymatch-2.0.0" = {
+ name = "anymatch";
+ packageName = "anymatch";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz";
+ sha512 = "5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==";
+ };
+ };
+ "anymatch-3.1.0" = {
+ name = "anymatch";
+ packageName = "anymatch";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/anymatch/-/anymatch-3.1.0.tgz";
+ sha512 = "Ozz7l4ixzI7Oxj2+cw+p0tVUt27BpaJ+1+q1TCeANWxHpvyn2+Un+YamBdfKu0uh8xLodGhoa1v7595NhKDAuA==";
+ };
+ };
+ "arr-diff-4.0.0" = {
+ name = "arr-diff";
+ packageName = "arr-diff";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz";
+ sha1 = "d6461074febfec71e7e15235761a329a5dc7c520";
+ };
+ };
+ "arr-flatten-1.1.0" = {
+ name = "arr-flatten";
+ packageName = "arr-flatten";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz";
+ sha512 = "L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==";
+ };
+ };
+ "arr-union-3.1.0" = {
+ name = "arr-union";
+ packageName = "arr-union";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz";
+ sha1 = "e39b09aea9def866a8f206e288af63919bae39c4";
+ };
+ };
+ "array-flatten-1.1.1" = {
+ name = "array-flatten";
+ packageName = "array-flatten";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz";
+ sha1 = "9a5f699051b1e7073328f2a008968b64ea2955d2";
+ };
+ };
+ "array-union-2.1.0" = {
+ name = "array-union";
+ packageName = "array-union";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz";
+ sha512 = "HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==";
+ };
+ };
+ "array-unique-0.3.2" = {
+ name = "array-unique";
+ packageName = "array-unique";
+ version = "0.3.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz";
+ sha1 = "a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428";
+ };
+ };
+ "asn1-0.2.4" = {
+ name = "asn1";
+ packageName = "asn1";
+ version = "0.2.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz";
+ sha512 = "jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==";
+ };
+ };
+ "assert-plus-1.0.0" = {
+ name = "assert-plus";
+ packageName = "assert-plus";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz";
+ sha1 = "f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525";
+ };
+ };
+ "assign-symbols-1.0.0" = {
+ name = "assign-symbols";
+ packageName = "assign-symbols";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz";
+ sha1 = "59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367";
+ };
+ };
+ "async-each-1.0.3" = {
+ name = "async-each";
+ packageName = "async-each";
+ version = "1.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz";
+ sha512 = "z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==";
+ };
+ };
+ "async-limiter-1.0.1" = {
+ name = "async-limiter";
+ packageName = "async-limiter";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz";
+ sha512 = "csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==";
+ };
+ };
+ "asynckit-0.4.0" = {
+ name = "asynckit";
+ packageName = "asynckit";
+ version = "0.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz";
+ sha1 = "c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79";
+ };
+ };
+ "atob-2.1.2" = {
+ name = "atob";
+ packageName = "atob";
+ version = "2.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz";
+ sha512 = "Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==";
+ };
+ };
+ "aws-sign2-0.7.0" = {
+ name = "aws-sign2";
+ packageName = "aws-sign2";
+ version = "0.7.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz";
+ sha1 = "b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8";
+ };
+ };
+ "aws4-1.8.0" = {
+ name = "aws4";
+ packageName = "aws4";
+ version = "1.8.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz";
+ sha512 = "ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==";
+ };
+ };
+ "babel-runtime-6.18.0" = {
+ name = "babel-runtime";
+ packageName = "babel-runtime";
+ version = "6.18.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.18.0.tgz";
+ sha1 = "0f4177ffd98492ef13b9f823e9994a02584c9078";
+ };
+ };
+ "balanced-match-1.0.0" = {
+ name = "balanced-match";
+ packageName = "balanced-match";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz";
+ sha1 = "89b4d199ab2bee49de164ea02b89ce462d71b767";
+ };
+ };
+ "base-0.11.2" = {
+ name = "base";
+ packageName = "base";
+ version = "0.11.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/base/-/base-0.11.2.tgz";
+ sha512 = "5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==";
+ };
+ };
+ "batch-0.6.1" = {
+ name = "batch";
+ packageName = "batch";
+ version = "0.6.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz";
+ sha1 = "dc34314f4e679318093fc760272525f94bf25c16";
+ };
+ };
+ "bcrypt-pbkdf-1.0.2" = {
+ name = "bcrypt-pbkdf";
+ packageName = "bcrypt-pbkdf";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz";
+ sha1 = "a4301d389b6a43f9b67ff3ca11a3f6637e360e9e";
+ };
+ };
+ "binary-0.3.0" = {
+ name = "binary";
+ packageName = "binary";
+ version = "0.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz";
+ sha1 = "9f60553bc5ce8c3386f3b553cff47462adecaa79";
+ };
+ };
+ "binary-extensions-1.13.1" = {
+ name = "binary-extensions";
+ packageName = "binary-extensions";
+ version = "1.13.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz";
+ sha512 = "Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==";
+ };
+ };
+ "binary-extensions-2.0.0" = {
+ name = "binary-extensions";
+ packageName = "binary-extensions";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.0.0.tgz";
+ sha512 = "Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow==";
+ };
+ };
+ "bindings-1.5.0" = {
+ name = "bindings";
+ packageName = "bindings";
+ version = "1.5.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz";
+ sha512 = "p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==";
+ };
+ };
+ "binwrap-0.2.2" = {
+ name = "binwrap";
+ packageName = "binwrap";
+ version = "0.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/binwrap/-/binwrap-0.2.2.tgz";
+ sha512 = "Y+Wvypk3JhH5GPZAvlwJAWOVH/OsOhQMSj37vySuWHwQivoALplPxfBA8b973rFJI7OS+O+1YmmYXIiEXVMAcw==";
+ };
+ };
+ "bluebird-3.5.5" = {
+ name = "bluebird";
+ packageName = "bluebird";
+ version = "3.5.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz";
+ sha512 = "5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==";
+ };
+ };
+ "body-parser-1.18.2" = {
+ name = "body-parser";
+ packageName = "body-parser";
+ version = "1.18.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/body-parser/-/body-parser-1.18.2.tgz";
+ sha1 = "87678a19d84b47d859b83199bd59bce222b10454";
+ };
+ };
+ "body-parser-1.19.0" = {
+ name = "body-parser";
+ packageName = "body-parser";
+ version = "1.19.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz";
+ sha512 = "dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==";
+ };
+ };
+ "brace-expansion-1.1.11" = {
+ name = "brace-expansion";
+ packageName = "brace-expansion";
+ version = "1.1.11";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz";
+ sha512 = "iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==";
+ };
+ };
+ "braces-2.3.2" = {
+ name = "braces";
+ packageName = "braces";
+ version = "2.3.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz";
+ sha512 = "aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==";
+ };
+ };
+ "braces-3.0.2" = {
+ name = "braces";
+ packageName = "braces";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz";
+ sha512 = "b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==";
+ };
+ };
+ "bser-2.1.0" = {
+ name = "bser";
+ packageName = "bser";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/bser/-/bser-2.1.0.tgz";
+ sha512 = "8zsjWrQkkBoLK6uxASk1nJ2SKv97ltiGDo6A3wA0/yRPz+CwmEyDo0hUrhIuukG2JHpAl3bvFIixw2/3Hi0DOg==";
+ };
+ };
+ "buffers-0.1.1" = {
+ name = "buffers";
+ packageName = "buffers";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz";
+ sha1 = "b24579c3bed4d6d396aeee6d9a8ae7f5482ab7bb";
+ };
+ };
+ "bytes-3.0.0" = {
+ name = "bytes";
+ packageName = "bytes";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz";
+ sha1 = "d32815404d689699f85a4ea4fa8755dd13a96048";
+ };
+ };
+ "bytes-3.1.0" = {
+ name = "bytes";
+ packageName = "bytes";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz";
+ sha512 = "zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==";
+ };
+ };
+ "cache-base-1.0.1" = {
+ name = "cache-base";
+ packageName = "cache-base";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz";
+ sha512 = "AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==";
+ };
+ };
+ "cacheable-request-2.1.4" = {
+ name = "cacheable-request";
+ packageName = "cacheable-request";
+ version = "2.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cacheable-request/-/cacheable-request-2.1.4.tgz";
+ sha1 = "0d808801b6342ad33c91df9d0b44dc09b91e5c3d";
+ };
+ };
+ "camelcase-5.3.1" = {
+ name = "camelcase";
+ packageName = "camelcase";
+ version = "5.3.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz";
+ sha512 = "L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==";
+ };
+ };
+ "capture-exit-2.0.0" = {
+ name = "capture-exit";
+ packageName = "capture-exit";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/capture-exit/-/capture-exit-2.0.0.tgz";
+ sha512 = "PiT/hQmTonHhl/HFGN+Lx3JJUznrVYJ3+AQsnthneZbvW7x+f08Tk7yLJTLEOUvBTbduLeeBkxEaYXUOUrRq6g==";
+ };
+ };
+ "capture-stack-trace-1.0.1" = {
+ name = "capture-stack-trace";
+ packageName = "capture-stack-trace";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz";
+ sha512 = "mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==";
+ };
+ };
+ "caseless-0.12.0" = {
+ name = "caseless";
+ packageName = "caseless";
+ version = "0.12.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz";
+ sha1 = "1b681c21ff84033c826543090689420d187151dc";
+ };
+ };
+ "caw-2.0.1" = {
+ name = "caw";
+ packageName = "caw";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/caw/-/caw-2.0.1.tgz";
+ sha512 = "Cg8/ZSBEa8ZVY9HspcGUYaK63d/bN7rqS3CYCzEGUxuYv6UlmcjzDUz2fCFFHyTvUW5Pk0I+3hkA3iXlIj6guA==";
+ };
+ };
+ "chainsaw-0.1.0" = {
+ name = "chainsaw";
+ packageName = "chainsaw";
+ version = "0.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz";
+ sha1 = "5eab50b28afe58074d0d58291388828b5e5fbc98";
+ };
+ };
+ "chalk-1.1.3" = {
+ name = "chalk";
+ packageName = "chalk";
+ version = "1.1.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz";
+ sha1 = "a8115c55e4a702fe4d150abd3872822a7e09fc98";
+ };
+ };
+ "chalk-2.1.0" = {
+ name = "chalk";
+ packageName = "chalk";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chalk/-/chalk-2.1.0.tgz";
+ sha512 = "LUHGS/dge4ujbXMJrnihYMcL4AoOweGnw9Tp3kQuqy1Kx5c1qKjqvMJZ6nVJPMWJtKCTN72ZogH3oeSO9g9rXQ==";
+ };
+ };
+ "chalk-2.4.2" = {
+ name = "chalk";
+ packageName = "chalk";
+ version = "2.4.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz";
+ sha512 = "Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==";
+ };
+ };
+ "charenc-0.0.2" = {
+ name = "charenc";
+ packageName = "charenc";
+ version = "0.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/charenc/-/charenc-0.0.2.tgz";
+ sha1 = "c0a1d2f3a7092e03774bfa83f14c0fc5790a8667";
+ };
+ };
+ "chokidar-2.1.2" = {
+ name = "chokidar";
+ packageName = "chokidar";
+ version = "2.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chokidar/-/chokidar-2.1.2.tgz";
+ sha512 = "IwXUx0FXc5ibYmPC2XeEj5mpXoV66sR+t3jqu2NS2GYwCktt3KF1/Qqjws/NkegajBA4RbZ5+DDwlOiJsxDHEg==";
+ };
+ };
+ "chokidar-3.0.2" = {
+ name = "chokidar";
+ packageName = "chokidar";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chokidar/-/chokidar-3.0.2.tgz";
+ sha512 = "c4PR2egjNjI1um6bamCQ6bUNPDiyofNQruHvKgHQ4gDUP/ITSVSzNsiI5OWtHOsX323i5ha/kk4YmOZ1Ktg7KA==";
+ };
+ };
+ "chownr-1.1.2" = {
+ name = "chownr";
+ packageName = "chownr";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/chownr/-/chownr-1.1.2.tgz";
+ sha512 = "GkfeAQh+QNy3wquu9oIZr6SS5x7wGdSgNQvD10X3r+AZr1Oys22HW8kAmDMvNg2+Dm0TeGaEuO8gFwdBXxwO8A==";
+ };
+ };
+ "class-utils-0.3.6" = {
+ name = "class-utils";
+ packageName = "class-utils";
+ version = "0.3.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz";
+ sha512 = "qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==";
+ };
+ };
+ "cliui-5.0.0" = {
+ name = "cliui";
+ packageName = "cliui";
+ version = "5.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz";
+ sha512 = "PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==";
+ };
+ };
+ "clone-response-1.0.2" = {
+ name = "clone-response";
+ packageName = "clone-response";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/clone-response/-/clone-response-1.0.2.tgz";
+ sha1 = "d1dc973920314df67fbeb94223b4ee350239e96b";
+ };
+ };
+ "collection-visit-1.0.0" = {
+ name = "collection-visit";
+ packageName = "collection-visit";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz";
+ sha1 = "4bc0373c164bc3291b4d368c829cf1a80a59dca0";
+ };
+ };
+ "color-convert-1.9.3" = {
+ name = "color-convert";
+ packageName = "color-convert";
+ version = "1.9.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz";
+ sha512 = "QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==";
+ };
+ };
+ "color-name-1.1.3" = {
+ name = "color-name";
+ packageName = "color-name";
+ version = "1.1.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz";
+ sha1 = "a7d0558bd89c42f795dd42328f740831ca53bc25";
+ };
+ };
+ "combined-stream-1.0.8" = {
+ name = "combined-stream";
+ packageName = "combined-stream";
+ version = "1.0.8";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz";
+ sha512 = "FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==";
+ };
+ };
+ "commander-2.17.1" = {
+ name = "commander";
+ packageName = "commander";
+ version = "2.17.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz";
+ sha512 = "wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==";
+ };
+ };
+ "commander-3.0.1" = {
+ name = "commander";
+ packageName = "commander";
+ version = "3.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/commander/-/commander-3.0.1.tgz";
+ sha512 = "UNgvDd+csKdc9GD4zjtkHKQbT8Aspt2jCBqNSPp53vAS0L1tS9sXB2TCEOPHJ7kt9bN/niWkYj8T3RQSoMXdSQ==";
+ };
+ };
+ "component-emitter-1.3.0" = {
+ name = "component-emitter";
+ packageName = "component-emitter";
+ version = "1.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz";
+ sha512 = "Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==";
+ };
+ };
+ "concat-map-0.0.1" = {
+ name = "concat-map";
+ packageName = "concat-map";
+ version = "0.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz";
+ sha1 = "d8a96bd77fd68df7793a73036a3ba0d5405d477b";
+ };
+ };
+ "concat-stream-1.5.2" = {
+ name = "concat-stream";
+ packageName = "concat-stream";
+ version = "1.5.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/concat-stream/-/concat-stream-1.5.2.tgz";
+ sha1 = "708978624d856af41a5a741defdd261da752c266";
+ };
+ };
+ "config-chain-1.1.12" = {
+ name = "config-chain";
+ packageName = "config-chain";
+ version = "1.1.12";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/config-chain/-/config-chain-1.1.12.tgz";
+ sha512 = "a1eOIcu8+7lUInge4Rpf/n4Krkf3Dd9lqhljRzII1/Zno/kRtUWnznPO3jOKBmTEktkt3fkxisUcivoj0ebzoA==";
+ };
+ };
+ "content-disposition-0.5.2" = {
+ name = "content-disposition";
+ packageName = "content-disposition";
+ version = "0.5.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.2.tgz";
+ sha1 = "0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4";
+ };
+ };
+ "content-disposition-0.5.3" = {
+ name = "content-disposition";
+ packageName = "content-disposition";
+ version = "0.5.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz";
+ sha512 = "ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==";
+ };
+ };
+ "content-type-1.0.4" = {
+ name = "content-type";
+ packageName = "content-type";
+ version = "1.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz";
+ sha512 = "hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==";
+ };
+ };
+ "cookie-0.3.1" = {
+ name = "cookie";
+ packageName = "cookie";
+ version = "0.3.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cookie/-/cookie-0.3.1.tgz";
+ sha1 = "e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb";
+ };
+ };
+ "cookie-0.4.0" = {
+ name = "cookie";
+ packageName = "cookie";
+ version = "0.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz";
+ sha512 = "+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==";
+ };
+ };
+ "cookie-signature-1.0.6" = {
+ name = "cookie-signature";
+ packageName = "cookie-signature";
+ version = "1.0.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz";
+ sha1 = "e303a882b342cc3ee8ca513a79999734dab3ae2c";
+ };
+ };
+ "copy-descriptor-0.1.1" = {
+ name = "copy-descriptor";
+ packageName = "copy-descriptor";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz";
+ sha1 = "676f6eb3c39997c2ee1ac3a924fd6124748f578d";
+ };
+ };
+ "core-js-2.6.9" = {
+ name = "core-js";
+ packageName = "core-js";
+ version = "2.6.9";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/core-js/-/core-js-2.6.9.tgz";
+ sha512 = "HOpZf6eXmnl7la+cUdMnLvUxKNqLUzJvgIziQ0DiF3JwSImNphIqdGqzj6hIKyX04MmV0poclQ7+wjWvxQyR2A==";
+ };
+ };
+ "core-js-3.2.1" = {
+ name = "core-js";
+ packageName = "core-js";
+ version = "3.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/core-js/-/core-js-3.2.1.tgz";
+ sha512 = "Qa5XSVefSVPRxy2XfUC13WbvqkxhkwB3ve+pgCQveNgYzbM/UxZeu1dcOX/xr4UmfUd+muuvsaxilQzCyUurMw==";
+ };
+ };
+ "core-util-is-1.0.2" = {
+ name = "core-util-is";
+ packageName = "core-util-is";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz";
+ sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
+ };
+ };
+ "create-error-class-3.0.2" = {
+ name = "create-error-class";
+ packageName = "create-error-class";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/create-error-class/-/create-error-class-3.0.2.tgz";
+ sha1 = "06be7abef947a3f14a30fd610671d401bca8b7b6";
+ };
+ };
+ "crocks-0.12.1" = {
+ name = "crocks";
+ packageName = "crocks";
+ version = "0.12.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/crocks/-/crocks-0.12.1.tgz";
+ sha512 = "2qCRJwBmPlRQXzd50k9gt9PaItultOP8lj/cKSH2Eai9aeBuNqAnDuyolAm9TGn6Pw/4BgbxtPJLU1S+tQ4WMQ==";
+ };
+ };
+ "cross-spawn-4.0.0" = {
+ name = "cross-spawn";
+ packageName = "cross-spawn";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.0.tgz";
+ sha1 = "8254774ab4786b8c5b3cf4dfba66ce563932c252";
+ };
+ };
+ "cross-spawn-5.0.1" = {
+ name = "cross-spawn";
+ packageName = "cross-spawn";
+ version = "5.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.0.1.tgz";
+ sha1 = "a3bbb302db2297cbea3c04edf36941f4613aa399";
+ };
+ };
+ "cross-spawn-6.0.5" = {
+ name = "cross-spawn";
+ packageName = "cross-spawn";
+ version = "6.0.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz";
+ sha512 = "eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==";
+ };
+ };
+ "crypt-0.0.2" = {
+ name = "crypt";
+ packageName = "crypt";
+ version = "0.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/crypt/-/crypt-0.0.2.tgz";
+ sha1 = "88d7ff7ec0dfb86f713dc87bbb42d044d3e6c41b";
+ };
+ };
+ "dashdash-1.14.1" = {
+ name = "dashdash";
+ packageName = "dashdash";
+ version = "1.14.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz";
+ sha1 = "853cfa0f7cbe2fed5de20326b8dd581035f6e2f0";
+ };
+ };
+ "debug-2.6.9" = {
+ name = "debug";
+ packageName = "debug";
+ version = "2.6.9";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz";
+ sha512 = "bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==";
+ };
+ };
+ "debug-3.2.6" = {
+ name = "debug";
+ packageName = "debug";
+ version = "3.2.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz";
+ sha512 = "mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==";
+ };
+ };
+ "decamelize-1.2.0" = {
+ name = "decamelize";
+ packageName = "decamelize";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz";
+ sha1 = "f6534d15148269b20352e7bee26f501f9a191290";
+ };
+ };
+ "decode-uri-component-0.2.0" = {
+ name = "decode-uri-component";
+ packageName = "decode-uri-component";
+ version = "0.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz";
+ sha1 = "eb3913333458775cb84cd1a1fae062106bb87545";
+ };
+ };
+ "decompress-response-3.3.0" = {
+ name = "decompress-response";
+ packageName = "decompress-response";
+ version = "3.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz";
+ sha1 = "80a4dd323748384bfa248083622aedec982adff3";
+ };
+ };
+ "deep-extend-0.6.0" = {
+ name = "deep-extend";
+ packageName = "deep-extend";
+ version = "0.6.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz";
+ sha512 = "LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==";
+ };
+ };
+ "default-gateway-4.2.0" = {
+ name = "default-gateway";
+ packageName = "default-gateway";
+ version = "4.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/default-gateway/-/default-gateway-4.2.0.tgz";
+ sha512 = "h6sMrVB1VMWVrW13mSc6ia/DwYYw5MN6+exNu1OaJeFac5aSAvwM7lZ0NVfTABuSkQelr4h5oebg3KB1XPdjgA==";
+ };
+ };
+ "define-properties-1.1.3" = {
+ name = "define-properties";
+ packageName = "define-properties";
+ version = "1.1.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz";
+ sha512 = "3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==";
+ };
+ };
+ "define-property-0.2.5" = {
+ name = "define-property";
+ packageName = "define-property";
+ version = "0.2.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz";
+ sha1 = "c35b1ef918ec3c990f9a5bc57be04aacec5c8116";
+ };
+ };
+ "define-property-1.0.0" = {
+ name = "define-property";
+ packageName = "define-property";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz";
+ sha1 = "769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6";
+ };
+ };
+ "define-property-2.0.2" = {
+ name = "define-property";
+ packageName = "define-property";
+ version = "2.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz";
+ sha512 = "jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==";
+ };
+ };
+ "delayed-stream-1.0.0" = {
+ name = "delayed-stream";
+ packageName = "delayed-stream";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz";
+ sha1 = "df3ae199acadfb7d440aaae0b29e2272b24ec619";
+ };
+ };
+ "depd-1.1.1" = {
+ name = "depd";
+ packageName = "depd";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/depd/-/depd-1.1.1.tgz";
+ sha1 = "5783b4e1c459f06fa5ca27f991f3d06e7a310359";
+ };
+ };
+ "depd-1.1.2" = {
+ name = "depd";
+ packageName = "depd";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz";
+ sha1 = "9bcd52e14c097763e749b274c4346ed2e560b5a9";
+ };
+ };
+ "destroy-1.0.4" = {
+ name = "destroy";
+ packageName = "destroy";
+ version = "1.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz";
+ sha1 = "978857442c44749e4206613e37946205826abd80";
+ };
+ };
+ "dir-glob-3.0.1" = {
+ name = "dir-glob";
+ packageName = "dir-glob";
+ version = "3.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz";
+ sha512 = "WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==";
+ };
+ };
+ "duplexer3-0.1.4" = {
+ name = "duplexer3";
+ packageName = "duplexer3";
+ version = "0.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/duplexer3/-/duplexer3-0.1.4.tgz";
+ sha1 = "ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2";
+ };
+ };
+ "ecc-jsbn-0.1.2" = {
+ name = "ecc-jsbn";
+ packageName = "ecc-jsbn";
+ version = "0.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz";
+ sha1 = "3a83a904e54353287874c564b7549386849a98c9";
+ };
+ };
+ "ee-first-1.1.1" = {
+ name = "ee-first";
+ packageName = "ee-first";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz";
+ sha1 = "590c61156b0ae2f4f0255732a158b266bc56b21d";
+ };
+ };
+ "elm-analyse-git://github.com/elm-tooling/elm-analyse#f2a983fc7bab262a3e44b46732735d8510d18876" = {
+ name = "elm-analyse";
+ packageName = "elm-analyse";
+ version = "0.16.4";
+ src = fetchgit {
+ url = "git://github.com/elm-tooling/elm-analyse";
+ rev = "f2a983fc7bab262a3e44b46732735d8510d18876";
+ sha256 = "ce2770330503a0b8fe56eb369a95e9bad13b46676ff76f5303570d731cea4de2";
+ };
+ };
+ "elm-hot-1.1.1" = {
+ name = "elm-hot";
+ packageName = "elm-hot";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-hot/-/elm-hot-1.1.1.tgz";
+ sha512 = "ZHjoHd2Ev6riNXNQirj3J+GKKXXwedAUikfFBYzlVL/+3CdGs96cpZ7nhAk4c5l//Qa9ymltrqX36mOlr0pPFA==";
+ };
+ };
+ "elm-test-0.19.0-rev6" = {
+ name = "elm-test";
+ packageName = "elm-test";
+ version = "0.19.0-rev6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-test/-/elm-test-0.19.0-rev6.tgz";
+ sha512 = "Qdy9QusZF+eT0203XBiT1Y/UhFeUjcSuyyzf3iyp32dsYpAfcoDTWHjlBVjia1CyvFauESQ4pc81nKaq6snClg==";
+ };
+ };
+ "elmi-to-json-0.19.1" = {
+ name = "elmi-to-json";
+ packageName = "elmi-to-json";
+ version = "0.19.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elmi-to-json/-/elmi-to-json-0.19.1.tgz";
+ sha512 = "O0Z3YsYU9OTb1hTDGORWxi69QjQFEIPfZVq/oc1D5lhL3swduHKY8vdKGuo+WlKVdTas99oNIsgL7yojWdYcsQ==";
+ };
+ };
+ "emoji-regex-7.0.3" = {
+ name = "emoji-regex";
+ packageName = "emoji-regex";
+ version = "7.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz";
+ sha512 = "CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==";
+ };
+ };
+ "encodeurl-1.0.2" = {
+ name = "encodeurl";
+ packageName = "encodeurl";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz";
+ sha1 = "ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59";
+ };
+ };
+ "end-of-stream-1.4.1" = {
+ name = "end-of-stream";
+ packageName = "end-of-stream";
+ version = "1.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz";
+ sha512 = "1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==";
+ };
+ };
+ "es-abstract-1.14.2" = {
+ name = "es-abstract";
+ packageName = "es-abstract";
+ version = "1.14.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/es-abstract/-/es-abstract-1.14.2.tgz";
+ sha512 = "DgoQmbpFNOofkjJtKwr87Ma5EW4Dc8fWhD0R+ndq7Oc456ivUfGOOP6oAZTTKl5/CcNMP+EN+e3/iUzgE0veZg==";
+ };
+ };
+ "es-to-primitive-1.2.0" = {
+ name = "es-to-primitive";
+ packageName = "es-to-primitive";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.0.tgz";
+ sha512 = "qZryBOJjV//LaxLTV6UC//WewneB3LcXOL9NP++ozKVXsIIIpm/2c13UDiD9Jp2eThsecw9m3jPqDwTyobcdbg==";
+ };
+ };
+ "es6-promisify-6.0.2" = {
+ name = "es6-promisify";
+ packageName = "es6-promisify";
+ version = "6.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/es6-promisify/-/es6-promisify-6.0.2.tgz";
+ sha512 = "eO6vFm0JvqGzjWIQA6QVKjxpmELfhWbDUWHm1rPfIbn55mhKPiAa5xpLmQWJrNa629ZIeQ8ZvMAi13kvrjK6Mg==";
+ };
+ };
+ "escape-html-1.0.3" = {
+ name = "escape-html";
+ packageName = "escape-html";
+ version = "1.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz";
+ sha1 = "0258eae4d3d0c0974de1c169188ef0051d1d1988";
+ };
+ };
+ "escape-string-regexp-1.0.5" = {
+ name = "escape-string-regexp";
+ packageName = "escape-string-regexp";
+ version = "1.0.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz";
+ sha1 = "1b61c0562190a8dff6ae3bb2cf0200ca130b86d4";
+ };
+ };
+ "etag-1.8.1" = {
+ name = "etag";
+ packageName = "etag";
+ version = "1.8.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz";
+ sha1 = "41ae2eeb65efa62268aebfea83ac7d79299b0887";
+ };
+ };
+ "eventemitter3-3.1.2" = {
+ name = "eventemitter3";
+ packageName = "eventemitter3";
+ version = "3.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.2.tgz";
+ sha512 = "tvtQIeLVHjDkJYnzf2dgVMxfuSGJeM/7UCG17TT4EumTfNtF+0nebF/4zWOIkCreAbtNqhGEboB6BWrwqNaw4Q==";
+ };
+ };
+ "exec-sh-0.3.2" = {
+ name = "exec-sh";
+ packageName = "exec-sh";
+ version = "0.3.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/exec-sh/-/exec-sh-0.3.2.tgz";
+ sha512 = "9sLAvzhI5nc8TpuQUh4ahMdCrWT00wPWz7j47/emR5+2qEfoZP5zzUXvx+vdx+H6ohhnsYC31iX04QLYJK8zTg==";
+ };
+ };
+ "execa-1.0.0" = {
+ name = "execa";
+ packageName = "execa";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz";
+ sha512 = "adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==";
+ };
+ };
+ "execa-2.0.4" = {
+ name = "execa";
+ packageName = "execa";
+ version = "2.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/execa/-/execa-2.0.4.tgz";
+ sha512 = "VcQfhuGD51vQUQtKIq2fjGDLDbL6N1DTQVpYzxZ7LPIXw3HqTuIz6uxRmpV1qf8i31LHf2kjiaGI+GdHwRgbnQ==";
+ };
+ };
+ "expand-brackets-2.1.4" = {
+ name = "expand-brackets";
+ packageName = "expand-brackets";
+ version = "2.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz";
+ sha1 = "b77735e315ce30f6b6eff0f83b04151a22449622";
+ };
+ };
+ "express-4.16.3" = {
+ name = "express";
+ packageName = "express";
+ version = "4.16.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/express/-/express-4.16.3.tgz";
+ sha1 = "6af8a502350db3246ecc4becf6b5a34d22f7ed53";
+ };
+ };
+ "express-4.17.1" = {
+ name = "express";
+ packageName = "express";
+ version = "4.17.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/express/-/express-4.17.1.tgz";
+ sha512 = "mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==";
+ };
+ };
+ "express-ws-2.0.0" = {
+ name = "express-ws";
+ packageName = "express-ws";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/express-ws/-/express-ws-2.0.0.tgz";
+ sha1 = "96d13fa41c8de8fa5dcbfa2dacace6f594272888";
+ };
+ };
+ "express-ws-4.0.0" = {
+ name = "express-ws";
+ packageName = "express-ws";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/express-ws/-/express-ws-4.0.0.tgz";
+ sha512 = "KEyUw8AwRET2iFjFsI1EJQrJ/fHeGiJtgpYgEWG3yDv4l/To/m3a2GaYfeGyB3lsWdvbesjF5XCMx+SVBgAAYw==";
+ };
+ };
+ "extend-3.0.2" = {
+ name = "extend";
+ packageName = "extend";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz";
+ sha512 = "fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==";
+ };
+ };
+ "extend-shallow-2.0.1" = {
+ name = "extend-shallow";
+ packageName = "extend-shallow";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz";
+ sha1 = "51af7d614ad9a9f610ea1bafbb989d6b1c56890f";
+ };
+ };
+ "extend-shallow-3.0.2" = {
+ name = "extend-shallow";
+ packageName = "extend-shallow";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz";
+ sha1 = "26a71aaf073b39fb2127172746131c2704028db8";
+ };
+ };
+ "extglob-2.0.4" = {
+ name = "extglob";
+ packageName = "extglob";
+ version = "2.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz";
+ sha512 = "Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==";
+ };
+ };
+ "extsprintf-1.3.0" = {
+ name = "extsprintf";
+ packageName = "extsprintf";
+ version = "1.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz";
+ sha1 = "96918440e3041a7a414f8c52e3c574eb3c3e1e05";
+ };
+ };
+ "fast-deep-equal-2.0.1" = {
+ name = "fast-deep-equal";
+ packageName = "fast-deep-equal";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz";
+ sha1 = "7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49";
+ };
+ };
+ "fast-diff-1.2.0" = {
+ name = "fast-diff";
+ packageName = "fast-diff";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz";
+ sha512 = "xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==";
+ };
+ };
+ "fast-glob-3.0.4" = {
+ name = "fast-glob";
+ packageName = "fast-glob";
+ version = "3.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fast-glob/-/fast-glob-3.0.4.tgz";
+ sha512 = "wkIbV6qg37xTJwqSsdnIphL1e+LaGz4AIQqr00mIubMaEhv1/HEmJ0uuCGZRNRUkZZmOB5mJKO0ZUTVq+SxMQg==";
+ };
+ };
+ "fast-json-stable-stringify-2.0.0" = {
+ name = "fast-json-stable-stringify";
+ packageName = "fast-json-stable-stringify";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz";
+ sha1 = "d5142c0caee6b1189f87d3a76111064f86c8bbf2";
+ };
+ };
+ "fastq-1.6.0" = {
+ name = "fastq";
+ packageName = "fastq";
+ version = "1.6.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fastq/-/fastq-1.6.0.tgz";
+ sha512 = "jmxqQ3Z/nXoeyDmWAzF9kH1aGZSis6e/SbfPmJpUnyZ0ogr6iscHQaml4wsEepEWSdtmpy+eVXmCRIMpxaXqOA==";
+ };
+ };
+ "fb-watchman-2.0.0" = {
+ name = "fb-watchman";
+ packageName = "fb-watchman";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.0.tgz";
+ sha1 = "54e9abf7dfa2f26cd9b1636c588c1afc05de5d58";
+ };
+ };
+ "file-uri-to-path-1.0.0" = {
+ name = "file-uri-to-path";
+ packageName = "file-uri-to-path";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz";
+ sha512 = "0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==";
+ };
+ };
+ "fill-range-4.0.0" = {
+ name = "fill-range";
+ packageName = "fill-range";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz";
+ sha1 = "d544811d428f98eb06a63dc402d2403c328c38f7";
+ };
+ };
+ "fill-range-7.0.1" = {
+ name = "fill-range";
+ packageName = "fill-range";
+ version = "7.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz";
+ sha512 = "qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==";
+ };
+ };
+ "finalhandler-1.1.1" = {
+ name = "finalhandler";
+ packageName = "finalhandler";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz";
+ sha512 = "Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==";
+ };
+ };
+ "finalhandler-1.1.2" = {
+ name = "finalhandler";
+ packageName = "finalhandler";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz";
+ sha512 = "aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==";
+ };
+ };
+ "find-0.2.7" = {
+ name = "find";
+ packageName = "find";
+ version = "0.2.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/find/-/find-0.2.7.tgz";
+ sha1 = "7afbd00f8f08c5b622f97cda6f714173d547bb3f";
+ };
+ };
+ "find-elm-dependencies-2.0.1" = {
+ name = "find-elm-dependencies";
+ packageName = "find-elm-dependencies";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/find-elm-dependencies/-/find-elm-dependencies-2.0.1.tgz";
+ sha512 = "KBxPjc7J1CLw90jVateMKvMYMROZRTR7/QT2I3MxT+7I6KuUQUMNUFuS/eQXQnMnyElGKQ1iyPbe7GnEuYnFXw==";
+ };
+ };
+ "find-parent-dir-0.3.0" = {
+ name = "find-parent-dir";
+ packageName = "find-parent-dir";
+ version = "0.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz";
+ sha1 = "33c44b429ab2b2f0646299c5f9f718f376ff8d54";
+ };
+ };
+ "find-up-3.0.0" = {
+ name = "find-up";
+ packageName = "find-up";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz";
+ sha512 = "1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==";
+ };
+ };
+ "firstline-1.2.0" = {
+ name = "firstline";
+ packageName = "firstline";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/firstline/-/firstline-1.2.0.tgz";
+ sha1 = "c9f4886e7f7fbf0afc12d71941dce06b192aea05";
+ };
+ };
+ "firstline-1.2.1" = {
+ name = "firstline";
+ packageName = "firstline";
+ version = "1.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/firstline/-/firstline-1.2.1.tgz";
+ sha1 = "b88673c42009f8821fac2926e99720acee924fae";
+ };
+ };
+ "follow-redirects-1.9.0" = {
+ name = "follow-redirects";
+ packageName = "follow-redirects";
+ version = "1.9.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.9.0.tgz";
+ sha512 = "CRcPzsSIbXyVDl0QI01muNDu69S8trU4jArW9LpOt2WtC6LyUJetcIrmfHsRBx7/Jb6GHJUiuqyYxPooFfNt6A==";
+ };
+ };
+ "for-in-1.0.2" = {
+ name = "for-in";
+ packageName = "for-in";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz";
+ sha1 = "81068d295a8142ec0ac726c6e2200c30fb6d5e80";
+ };
+ };
+ "forever-agent-0.6.1" = {
+ name = "forever-agent";
+ packageName = "forever-agent";
+ version = "0.6.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz";
+ sha1 = "fbc71f0c41adeb37f96c577ad1ed42d8fdacca91";
+ };
+ };
+ "form-data-2.3.3" = {
+ name = "form-data";
+ packageName = "form-data";
+ version = "2.3.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz";
+ sha512 = "1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==";
+ };
+ };
+ "forwarded-0.1.2" = {
+ name = "forwarded";
+ packageName = "forwarded";
+ version = "0.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz";
+ sha1 = "98c23dab1175657b8c0573e8ceccd91b0ff18c84";
+ };
+ };
+ "fragment-cache-0.2.1" = {
+ name = "fragment-cache";
+ packageName = "fragment-cache";
+ version = "0.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz";
+ sha1 = "4290fad27f13e89be7f33799c6bc5a0abfff0d19";
+ };
+ };
+ "fresh-0.5.2" = {
+ name = "fresh";
+ packageName = "fresh";
+ version = "0.5.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz";
+ sha1 = "3d8cadd90d976569fa835ab1f8e4b23a105605a7";
+ };
+ };
+ "from2-2.3.0" = {
+ name = "from2";
+ packageName = "from2";
+ version = "2.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz";
+ sha1 = "8bfb5502bde4a4d36cfdeea007fcca21d7e382af";
+ };
+ };
+ "fs-extra-0.30.0" = {
+ name = "fs-extra";
+ packageName = "fs-extra";
+ version = "0.30.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz";
+ sha1 = "f233ffcc08d4da7d432daa449776989db1df93f0";
+ };
+ };
+ "fs-extra-2.0.0" = {
+ name = "fs-extra";
+ packageName = "fs-extra";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fs-extra/-/fs-extra-2.0.0.tgz";
+ sha1 = "337352bded4a0b714f3eb84de8cea765e9d37600";
+ };
+ };
+ "fs-extra-5.0.0" = {
+ name = "fs-extra";
+ packageName = "fs-extra";
+ version = "5.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fs-extra/-/fs-extra-5.0.0.tgz";
+ sha512 = "66Pm4RYbjzdyeuqudYqhFiNBbCIuI9kgRqLPSHIlXHidW8NIQtVdkM1yeZ4lXwuhbTETv3EUGMNHAAw6hiundQ==";
+ };
+ };
+ "fs-extra-6.0.1" = {
+ name = "fs-extra";
+ packageName = "fs-extra";
+ version = "6.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fs-extra/-/fs-extra-6.0.1.tgz";
+ sha512 = "GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==";
+ };
+ };
+ "fs-minipass-1.2.6" = {
+ name = "fs-minipass";
+ packageName = "fs-minipass";
+ version = "1.2.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.6.tgz";
+ sha512 = "crhvyXcMejjv3Z5d2Fa9sf5xLYVCF5O1c71QxbVnbLsmYMBEvDAftewesN/HhY03YRoA7zOMxjNGrF5svGaaeQ==";
+ };
+ };
+ "fs.realpath-1.0.0" = {
+ name = "fs.realpath";
+ packageName = "fs.realpath";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz";
+ sha1 = "1504ad2523158caa40db4a2787cb01411994ea4f";
+ };
+ };
+ "fsevents-1.2.4" = {
+ name = "fsevents";
+ packageName = "fsevents";
+ version = "1.2.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz";
+ sha512 = "z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==";
+ };
+ };
+ "fsevents-1.2.9" = {
+ name = "fsevents";
+ packageName = "fsevents";
+ version = "1.2.9";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fsevents/-/fsevents-1.2.9.tgz";
+ sha512 = "oeyj2H3EjjonWcFjD5NvZNE9Rqe4UW+nQBU2HNeKw0koVLEFIhtyETyAakeAM3de7Z/SW5kcA+fZUait9EApnw==";
+ };
+ };
+ "fsevents-2.0.7" = {
+ name = "fsevents";
+ packageName = "fsevents";
+ version = "2.0.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/fsevents/-/fsevents-2.0.7.tgz";
+ sha512 = "a7YT0SV3RB+DjYcppwVDLtn13UQnmg0SWZS7ezZD0UjnLwXmy8Zm21GMVGLaFGimIqcvyMQaOJBrop8MyOp1kQ==";
+ };
+ };
+ "function-bind-1.1.1" = {
+ name = "function-bind";
+ packageName = "function-bind";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz";
+ sha512 = "yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==";
+ };
+ };
+ "get-caller-file-2.0.5" = {
+ name = "get-caller-file";
+ packageName = "get-caller-file";
+ version = "2.0.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz";
+ sha512 = "DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==";
+ };
+ };
+ "get-proxy-2.1.0" = {
+ name = "get-proxy";
+ packageName = "get-proxy";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/get-proxy/-/get-proxy-2.1.0.tgz";
+ sha512 = "zmZIaQTWnNQb4R4fJUEp/FC51eZsc6EkErspy3xtIYStaq8EB/hDIWipxsal+E8rz0qD7f2sL/NA9Xee4RInJw==";
+ };
+ };
+ "get-stream-3.0.0" = {
+ name = "get-stream";
+ packageName = "get-stream";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz";
+ sha1 = "8e943d1358dc37555054ecbe2edb05aa174ede14";
+ };
+ };
+ "get-stream-4.1.0" = {
+ name = "get-stream";
+ packageName = "get-stream";
+ version = "4.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz";
+ sha512 = "GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==";
+ };
+ };
+ "get-stream-5.1.0" = {
+ name = "get-stream";
+ packageName = "get-stream";
+ version = "5.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/get-stream/-/get-stream-5.1.0.tgz";
+ sha512 = "EXr1FOzrzTfGeL0gQdeFEvOMm2mzMOglyiOXSTpPC+iAjAKftbr3jpCMWynogwYnM+eSj9sHGc6wjIcDvYiygw==";
+ };
+ };
+ "get-value-2.0.6" = {
+ name = "get-value";
+ packageName = "get-value";
+ version = "2.0.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz";
+ sha1 = "dc15ca1c672387ca76bd37ac0a395ba2042a2c28";
+ };
+ };
+ "getpass-0.1.7" = {
+ name = "getpass";
+ packageName = "getpass";
+ version = "0.1.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz";
+ sha1 = "5eff8e3e684d569ae4cb2b1282604e8ba62149fa";
+ };
+ };
+ "glob-7.1.1" = {
+ name = "glob";
+ packageName = "glob";
+ version = "7.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/glob/-/glob-7.1.1.tgz";
+ sha1 = "805211df04faaf1c63a3600306cdf5ade50b2ec8";
+ };
+ };
+ "glob-7.1.4" = {
+ name = "glob";
+ packageName = "glob";
+ version = "7.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz";
+ sha512 = "hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==";
+ };
+ };
+ "glob-parent-3.1.0" = {
+ name = "glob-parent";
+ packageName = "glob-parent";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz";
+ sha1 = "9e6af6299d8d3bd2bd40430832bd113df906c5ae";
+ };
+ };
+ "glob-parent-5.0.0" = {
+ name = "glob-parent";
+ packageName = "glob-parent";
+ version = "5.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/glob-parent/-/glob-parent-5.0.0.tgz";
+ sha512 = "Z2RwiujPRGluePM6j699ktJYxmPpJKCfpGA13jz2hmFZC7gKetzrWvg5KN3+OsIFmydGyZ1AVwERCq1w/ZZwRg==";
+ };
+ };
+ "globby-10.0.1" = {
+ name = "globby";
+ packageName = "globby";
+ version = "10.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/globby/-/globby-10.0.1.tgz";
+ sha512 = "sSs4inE1FB2YQiymcmTv6NWENryABjUNPeWhOvmn4SjtKybglsyPZxFB3U1/+L1bYi0rNZDqCLlHyLYDl1Pq5A==";
+ };
+ };
+ "got-6.7.1" = {
+ name = "got";
+ packageName = "got";
+ version = "6.7.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/got/-/got-6.7.1.tgz";
+ sha1 = "240cd05785a9a18e561dc1b44b41c763ef1e8db0";
+ };
+ };
+ "got-8.3.2" = {
+ name = "got";
+ packageName = "got";
+ version = "8.3.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/got/-/got-8.3.2.tgz";
+ sha512 = "qjUJ5U/hawxosMryILofZCkm3C84PLJS/0grRIpjAwu+Lkxxj5cxeCU25BG0/3mDSpXKTyZr8oh8wIgLaH0QCw==";
+ };
+ };
+ "graceful-fs-4.2.2" = {
+ name = "graceful-fs";
+ packageName = "graceful-fs";
+ version = "4.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.2.tgz";
+ sha512 = "IItsdsea19BoLC7ELy13q1iJFNmd7ofZH5+X/pJr90/nRoPEX0DJo1dHDbgtYWOhJhcCgMDTOw84RZ72q6lB+Q==";
+ };
+ };
+ "har-schema-2.0.0" = {
+ name = "har-schema";
+ packageName = "har-schema";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz";
+ sha1 = "a94c2224ebcac04782a0d9035521f24735b7ec92";
+ };
+ };
+ "har-validator-5.1.3" = {
+ name = "har-validator";
+ packageName = "har-validator";
+ version = "5.1.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz";
+ sha512 = "sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==";
+ };
+ };
+ "has-1.0.3" = {
+ name = "has";
+ packageName = "has";
+ version = "1.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has/-/has-1.0.3.tgz";
+ sha512 = "f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==";
+ };
+ };
+ "has-ansi-2.0.0" = {
+ name = "has-ansi";
+ packageName = "has-ansi";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz";
+ sha1 = "34f5049ce1ecdf2b0649af3ef24e45ed35416d91";
+ };
+ };
+ "has-flag-2.0.0" = {
+ name = "has-flag";
+ packageName = "has-flag";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz";
+ sha1 = "e8207af1cc7b30d446cc70b734b5e8be18f88d51";
+ };
+ };
+ "has-flag-3.0.0" = {
+ name = "has-flag";
+ packageName = "has-flag";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz";
+ sha1 = "b5d454dc2199ae225699f3467e5a07f3b955bafd";
+ };
+ };
+ "has-symbol-support-x-1.4.2" = {
+ name = "has-symbol-support-x";
+ packageName = "has-symbol-support-x";
+ version = "1.4.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-symbol-support-x/-/has-symbol-support-x-1.4.2.tgz";
+ sha512 = "3ToOva++HaW+eCpgqZrCfN51IPB+7bJNVT6CUATzueB5Heb8o6Nam0V3HG5dlDvZU1Gn5QLcbahiKw/XVk5JJw==";
+ };
+ };
+ "has-symbols-1.0.0" = {
+ name = "has-symbols";
+ packageName = "has-symbols";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.0.tgz";
+ sha1 = "ba1a8f1af2a0fc39650f5c850367704122063b44";
+ };
+ };
+ "has-to-string-tag-x-1.4.1" = {
+ name = "has-to-string-tag-x";
+ packageName = "has-to-string-tag-x";
+ version = "1.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz";
+ sha512 = "vdbKfmw+3LoOYVr+mtxHaX5a96+0f3DljYd8JOqvOLsf5mw2Otda2qCDT9qRqLAhrjyQ0h7ual5nOiASpsGNFw==";
+ };
+ };
+ "has-value-0.3.1" = {
+ name = "has-value";
+ packageName = "has-value";
+ version = "0.3.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz";
+ sha1 = "7b1f58bada62ca827ec0a2078025654845995e1f";
+ };
+ };
+ "has-value-1.0.0" = {
+ name = "has-value";
+ packageName = "has-value";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz";
+ sha1 = "18b281da585b1c5c51def24c930ed29a0be6b177";
+ };
+ };
+ "has-values-0.1.4" = {
+ name = "has-values";
+ packageName = "has-values";
+ version = "0.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz";
+ sha1 = "6d61de95d91dfca9b9a02089ad384bff8f62b771";
+ };
+ };
+ "has-values-1.0.0" = {
+ name = "has-values";
+ packageName = "has-values";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz";
+ sha1 = "95b0b63fec2146619a6fe57fe75628d5a39efe4f";
+ };
+ };
+ "http-cache-semantics-3.8.1" = {
+ name = "http-cache-semantics";
+ packageName = "http-cache-semantics";
+ version = "3.8.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz";
+ sha512 = "5ai2iksyV8ZXmnZhHH4rWPoxxistEexSi5936zIQ1bnNTW5VnA85B6P/VpXiRM017IgRvb2kKo1a//y+0wSp3w==";
+ };
+ };
+ "http-errors-1.6.2" = {
+ name = "http-errors";
+ packageName = "http-errors";
+ version = "1.6.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-errors/-/http-errors-1.6.2.tgz";
+ sha1 = "0a002cc85707192a7e7946ceedc11155f60ec736";
+ };
+ };
+ "http-errors-1.6.3" = {
+ name = "http-errors";
+ packageName = "http-errors";
+ version = "1.6.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz";
+ sha1 = "8b55680bb4be283a0b5bf4ea2e38580be1d9320d";
+ };
+ };
+ "http-errors-1.7.2" = {
+ name = "http-errors";
+ packageName = "http-errors";
+ version = "1.7.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz";
+ sha512 = "uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==";
+ };
+ };
+ "http-errors-1.7.3" = {
+ name = "http-errors";
+ packageName = "http-errors";
+ version = "1.7.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz";
+ sha512 = "ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==";
+ };
+ };
+ "http-proxy-1.17.0" = {
+ name = "http-proxy";
+ packageName = "http-proxy";
+ version = "1.17.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-proxy/-/http-proxy-1.17.0.tgz";
+ sha512 = "Taqn+3nNvYRfJ3bGvKfBSRwy1v6eePlm3oc/aWVxZp57DQr5Eq3xhKJi7Z4hZpS8PC3H4qI+Yly5EmFacGuA/g==";
+ };
+ };
+ "http-signature-1.2.0" = {
+ name = "http-signature";
+ packageName = "http-signature";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz";
+ sha1 = "9aecd925114772f3d95b65a60abb8f7c18fbace1";
+ };
+ };
+ "iconv-lite-0.4.19" = {
+ name = "iconv-lite";
+ packageName = "iconv-lite";
+ version = "0.4.19";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.19.tgz";
+ sha512 = "oTZqweIP51xaGPI4uPa56/Pri/480R+mo7SeU+YETByQNhDG55ycFyNLIgta9vXhILrxXDmF7ZGhqZIcuN0gJQ==";
+ };
+ };
+ "iconv-lite-0.4.24" = {
+ name = "iconv-lite";
+ packageName = "iconv-lite";
+ version = "0.4.24";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz";
+ sha512 = "v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==";
+ };
+ };
+ "ignore-5.1.4" = {
+ name = "ignore";
+ packageName = "ignore";
+ version = "5.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz";
+ sha512 = "MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==";
+ };
+ };
+ "inflight-1.0.6" = {
+ name = "inflight";
+ packageName = "inflight";
+ version = "1.0.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz";
+ sha1 = "49bd6331d7d02d0c09bc910a1075ba8165b56df9";
+ };
+ };
+ "inherits-2.0.3" = {
+ name = "inherits";
+ packageName = "inherits";
+ version = "2.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz";
+ sha1 = "633c2c83e3da42a502f52466022480f4208261de";
+ };
+ };
+ "inherits-2.0.4" = {
+ name = "inherits";
+ packageName = "inherits";
+ version = "2.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz";
+ sha512 = "k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==";
+ };
+ };
+ "ini-1.3.5" = {
+ name = "ini";
+ packageName = "ini";
+ version = "1.3.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz";
+ sha512 = "RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==";
+ };
+ };
+ "internal-ip-4.3.0" = {
+ name = "internal-ip";
+ packageName = "internal-ip";
+ version = "4.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/internal-ip/-/internal-ip-4.3.0.tgz";
+ sha512 = "S1zBo1D6zcsyuC6PMmY5+55YMILQ9av8lotMx447Bq6SAgo/sDK6y6uUKmuYhW7eacnIhFfsPmCNYdDzsnnDCg==";
+ };
+ };
+ "into-stream-3.1.0" = {
+ name = "into-stream";
+ packageName = "into-stream";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/into-stream/-/into-stream-3.1.0.tgz";
+ sha1 = "96fb0a936c12babd6ff1752a17d05616abd094c6";
+ };
+ };
+ "ip-regex-2.1.0" = {
+ name = "ip-regex";
+ packageName = "ip-regex";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz";
+ sha1 = "fa78bf5d2e6913c911ce9f819ee5146bb6d844e9";
+ };
+ };
+ "ipaddr.js-1.9.0" = {
+ name = "ipaddr.js";
+ packageName = "ipaddr.js";
+ version = "1.9.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.0.tgz";
+ sha512 = "M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==";
+ };
+ };
+ "ipaddr.js-1.9.1" = {
+ name = "ipaddr.js";
+ packageName = "ipaddr.js";
+ version = "1.9.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz";
+ sha512 = "0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==";
+ };
+ };
+ "is-accessor-descriptor-0.1.6" = {
+ name = "is-accessor-descriptor";
+ packageName = "is-accessor-descriptor";
+ version = "0.1.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz";
+ sha1 = "a9e12cb3ae8d876727eeef3843f8a0897b5c98d6";
+ };
+ };
+ "is-accessor-descriptor-1.0.0" = {
+ name = "is-accessor-descriptor";
+ packageName = "is-accessor-descriptor";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz";
+ sha512 = "m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==";
+ };
+ };
+ "is-binary-path-1.0.1" = {
+ name = "is-binary-path";
+ packageName = "is-binary-path";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz";
+ sha1 = "75f16642b480f187a711c814161fd3a4a7655898";
+ };
+ };
+ "is-binary-path-2.1.0" = {
+ name = "is-binary-path";
+ packageName = "is-binary-path";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz";
+ sha512 = "ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==";
+ };
+ };
+ "is-buffer-1.1.6" = {
+ name = "is-buffer";
+ packageName = "is-buffer";
+ version = "1.1.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz";
+ sha512 = "NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==";
+ };
+ };
+ "is-callable-1.1.4" = {
+ name = "is-callable";
+ packageName = "is-callable";
+ version = "1.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-callable/-/is-callable-1.1.4.tgz";
+ sha512 = "r5p9sxJjYnArLjObpjA4xu5EKI3CuKHkJXMhT7kwbpUyIFD1n5PMAsoPvWnvtZiNz7LjkYDRZhd7FlI0eMijEA==";
+ };
+ };
+ "is-data-descriptor-0.1.4" = {
+ name = "is-data-descriptor";
+ packageName = "is-data-descriptor";
+ version = "0.1.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz";
+ sha1 = "0b5ee648388e2c860282e793f1856fec3f301b56";
+ };
+ };
+ "is-data-descriptor-1.0.0" = {
+ name = "is-data-descriptor";
+ packageName = "is-data-descriptor";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz";
+ sha512 = "jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==";
+ };
+ };
+ "is-date-object-1.0.1" = {
+ name = "is-date-object";
+ packageName = "is-date-object";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.1.tgz";
+ sha1 = "9aa20eb6aeebbff77fbd33e74ca01b33581d3a16";
+ };
+ };
+ "is-descriptor-0.1.6" = {
+ name = "is-descriptor";
+ packageName = "is-descriptor";
+ version = "0.1.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz";
+ sha512 = "avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==";
+ };
+ };
+ "is-descriptor-1.0.2" = {
+ name = "is-descriptor";
+ packageName = "is-descriptor";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz";
+ sha512 = "2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==";
+ };
+ };
+ "is-extendable-0.1.1" = {
+ name = "is-extendable";
+ packageName = "is-extendable";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz";
+ sha1 = "62b110e289a471418e3ec36a617d472e301dfc89";
+ };
+ };
+ "is-extendable-1.0.1" = {
+ name = "is-extendable";
+ packageName = "is-extendable";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz";
+ sha512 = "arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==";
+ };
+ };
+ "is-extglob-2.1.1" = {
+ name = "is-extglob";
+ packageName = "is-extglob";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz";
+ sha1 = "a88c02535791f02ed37c76a1b9ea9773c833f8c2";
+ };
+ };
+ "is-fullwidth-code-point-2.0.0" = {
+ name = "is-fullwidth-code-point";
+ packageName = "is-fullwidth-code-point";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz";
+ sha1 = "a3b30a5c4f199183167aaab93beefae3ddfb654f";
+ };
+ };
+ "is-glob-3.1.0" = {
+ name = "is-glob";
+ packageName = "is-glob";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz";
+ sha1 = "7ba5ae24217804ac70707b96922567486cc3e84a";
+ };
+ };
+ "is-glob-4.0.1" = {
+ name = "is-glob";
+ packageName = "is-glob";
+ version = "4.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz";
+ sha512 = "5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==";
+ };
+ };
+ "is-number-3.0.0" = {
+ name = "is-number";
+ packageName = "is-number";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz";
+ sha1 = "24fd6201a4782cf50561c810276afc7d12d71195";
+ };
+ };
+ "is-number-7.0.0" = {
+ name = "is-number";
+ packageName = "is-number";
+ version = "7.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz";
+ sha512 = "41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==";
+ };
+ };
+ "is-object-1.0.1" = {
+ name = "is-object";
+ packageName = "is-object";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-object/-/is-object-1.0.1.tgz";
+ sha1 = "8952688c5ec2ffd6b03ecc85e769e02903083470";
+ };
+ };
+ "is-plain-obj-1.1.0" = {
+ name = "is-plain-obj";
+ packageName = "is-plain-obj";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz";
+ sha1 = "71a50c8429dfca773c92a390a4a03b39fcd51d3e";
+ };
+ };
+ "is-plain-object-2.0.4" = {
+ name = "is-plain-object";
+ packageName = "is-plain-object";
+ version = "2.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz";
+ sha512 = "h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==";
+ };
+ };
+ "is-redirect-1.0.0" = {
+ name = "is-redirect";
+ packageName = "is-redirect";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-redirect/-/is-redirect-1.0.0.tgz";
+ sha1 = "1d03dded53bd8db0f30c26e4f95d36fc7c87dc24";
+ };
+ };
+ "is-regex-1.0.4" = {
+ name = "is-regex";
+ packageName = "is-regex";
+ version = "1.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-regex/-/is-regex-1.0.4.tgz";
+ sha1 = "5517489b547091b0930e095654ced25ee97e9491";
+ };
+ };
+ "is-retry-allowed-1.2.0" = {
+ name = "is-retry-allowed";
+ packageName = "is-retry-allowed";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz";
+ sha512 = "RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==";
+ };
+ };
+ "is-stream-1.1.0" = {
+ name = "is-stream";
+ packageName = "is-stream";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz";
+ sha1 = "12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44";
+ };
+ };
+ "is-stream-2.0.0" = {
+ name = "is-stream";
+ packageName = "is-stream";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz";
+ sha512 = "XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==";
+ };
+ };
+ "is-symbol-1.0.2" = {
+ name = "is-symbol";
+ packageName = "is-symbol";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.2.tgz";
+ sha512 = "HS8bZ9ox60yCJLH9snBpIwv9pYUAkcuLhSA1oero1UB5y9aiQpRA8y2ex945AOtCZL1lJDeIk3G5LthswI46Lw==";
+ };
+ };
+ "is-typedarray-1.0.0" = {
+ name = "is-typedarray";
+ packageName = "is-typedarray";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz";
+ sha1 = "e479c80858df0c1b11ddda6940f96011fcda4a9a";
+ };
+ };
+ "is-windows-1.0.2" = {
+ name = "is-windows";
+ packageName = "is-windows";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz";
+ sha512 = "eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==";
+ };
+ };
+ "is-wsl-1.1.0" = {
+ name = "is-wsl";
+ packageName = "is-wsl";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz";
+ sha1 = "1f16e4aa22b04d1336b66188a66af3c600c3a66d";
+ };
+ };
+ "isarray-1.0.0" = {
+ name = "isarray";
+ packageName = "isarray";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz";
+ sha1 = "bb935d48582cba168c06834957a54a3e07124f11";
+ };
+ };
+ "isexe-2.0.0" = {
+ name = "isexe";
+ packageName = "isexe";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz";
+ sha1 = "e8fbf374dc556ff8947a10dcb0572d633f2cfa10";
+ };
+ };
+ "isobject-2.1.0" = {
+ name = "isobject";
+ packageName = "isobject";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz";
+ sha1 = "f065561096a3f1da2ef46272f815c840d87e0c89";
+ };
+ };
+ "isobject-3.0.1" = {
+ name = "isobject";
+ packageName = "isobject";
+ version = "3.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz";
+ sha1 = "4e431e92b11a9731636aa1f9c8d1ccbcfdab78df";
+ };
+ };
+ "isstream-0.1.2" = {
+ name = "isstream";
+ packageName = "isstream";
+ version = "0.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz";
+ sha1 = "47e63f7af55afa6f92e1500e690eb8b8529c099a";
+ };
+ };
+ "isurl-1.0.0" = {
+ name = "isurl";
+ packageName = "isurl";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/isurl/-/isurl-1.0.0.tgz";
+ sha512 = "1P/yWsxPlDtn7QeRD+ULKQPaIaN6yF368GZ2vDfv0AL0NwpStafjWCDDdn0k8wgFMWpVAqG7oJhxHnlud42i9w==";
+ };
+ };
+ "jsbn-0.1.1" = {
+ name = "jsbn";
+ packageName = "jsbn";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz";
+ sha1 = "a5e654c2e5a2deb5f201d96cefbca80c0ef2f513";
+ };
+ };
+ "json-buffer-3.0.0" = {
+ name = "json-buffer";
+ packageName = "json-buffer";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz";
+ sha1 = "5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898";
+ };
+ };
+ "json-schema-0.2.3" = {
+ name = "json-schema";
+ packageName = "json-schema";
+ version = "0.2.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz";
+ sha1 = "b480c892e59a2f05954ce727bd3f2a4e882f9e13";
+ };
+ };
+ "json-schema-traverse-0.4.1" = {
+ name = "json-schema-traverse";
+ packageName = "json-schema-traverse";
+ version = "0.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz";
+ sha512 = "xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==";
+ };
+ };
+ "json-stringify-safe-5.0.1" = {
+ name = "json-stringify-safe";
+ packageName = "json-stringify-safe";
+ version = "5.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz";
+ sha1 = "1296a2d58fd45f19a0f6ce01d65701e2c735b6eb";
+ };
+ };
+ "jsonfile-2.4.0" = {
+ name = "jsonfile";
+ packageName = "jsonfile";
+ version = "2.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz";
+ sha1 = "3736a2b428b87bbda0cc83b53fa3d633a35c2ae8";
+ };
+ };
+ "jsonfile-4.0.0" = {
+ name = "jsonfile";
+ packageName = "jsonfile";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz";
+ sha1 = "8771aae0799b64076b76640fca058f9c10e33ecb";
+ };
+ };
+ "jsprim-1.4.1" = {
+ name = "jsprim";
+ packageName = "jsprim";
+ version = "1.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz";
+ sha1 = "313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2";
+ };
+ };
+ "keyv-3.0.0" = {
+ name = "keyv";
+ packageName = "keyv";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/keyv/-/keyv-3.0.0.tgz";
+ sha512 = "eguHnq22OE3uVoSYG0LVWNP+4ppamWr9+zWBe1bsNcovIMy6huUJFPgy4mGwCd/rnl3vOLGW1MTlu4c57CT1xA==";
+ };
+ };
+ "kind-of-3.2.2" = {
+ name = "kind-of";
+ packageName = "kind-of";
+ version = "3.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz";
+ sha1 = "31ea21a734bab9bbb0f32466d893aea51e4a3c64";
+ };
+ };
+ "kind-of-4.0.0" = {
+ name = "kind-of";
+ packageName = "kind-of";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz";
+ sha1 = "20813df3d712928b207378691a45066fae72dd57";
+ };
+ };
+ "kind-of-5.1.0" = {
+ name = "kind-of";
+ packageName = "kind-of";
+ version = "5.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz";
+ sha512 = "NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==";
+ };
+ };
+ "kind-of-6.0.2" = {
+ name = "kind-of";
+ packageName = "kind-of";
+ version = "6.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/kind-of/-/kind-of-6.0.2.tgz";
+ sha512 = "s5kLOcnH0XqDO+FvuaLX8DDjZ18CGFk7VygH40QoKPUQhW4e2rvM0rwUq0t8IQDOwYSeLK01U90OjzBTme2QqA==";
+ };
+ };
+ "klaw-1.3.1" = {
+ name = "klaw";
+ packageName = "klaw";
+ version = "1.3.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz";
+ sha1 = "4088433b46b3b1ba259d78785d8e96f73ba02439";
+ };
+ };
+ "klaw-2.1.1" = {
+ name = "klaw";
+ packageName = "klaw";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/klaw/-/klaw-2.1.1.tgz";
+ sha1 = "42b76894701169cc910fd0d19ce677b5fb378af1";
+ };
+ };
+ "latest-version-4.0.0" = {
+ name = "latest-version";
+ packageName = "latest-version";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/latest-version/-/latest-version-4.0.0.tgz";
+ sha512 = "b4Myk7aQiQJvgssw2O8yITjELdqKRX4JQJUF1IUplgLaA8unv7s+UsAOwH6Q0/a09czSvlxEm306it2LBXrCzg==";
+ };
+ };
+ "locate-path-3.0.0" = {
+ name = "locate-path";
+ packageName = "locate-path";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz";
+ sha512 = "7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==";
+ };
+ };
+ "lodash-4.17.11" = {
+ name = "lodash";
+ packageName = "lodash";
+ version = "4.17.11";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/lodash/-/lodash-4.17.11.tgz";
+ sha512 = "cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==";
+ };
+ };
+ "lodash-4.17.15" = {
+ name = "lodash";
+ packageName = "lodash";
+ version = "4.17.15";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz";
+ sha512 = "8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==";
+ };
+ };
+ "lowercase-keys-1.0.0" = {
+ name = "lowercase-keys";
+ packageName = "lowercase-keys";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.0.tgz";
+ sha1 = "4e3366b39e7f5457e35f1324bdf6f88d0bfc7306";
+ };
+ };
+ "lowercase-keys-1.0.1" = {
+ name = "lowercase-keys";
+ packageName = "lowercase-keys";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz";
+ sha512 = "G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA==";
+ };
+ };
+ "lru-cache-4.1.5" = {
+ name = "lru-cache";
+ packageName = "lru-cache";
+ version = "4.1.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz";
+ sha512 = "sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==";
+ };
+ };
+ "makeerror-1.0.11" = {
+ name = "makeerror";
+ packageName = "makeerror";
+ version = "1.0.11";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz";
+ sha1 = "e01a5c9109f2af79660e4e8b9587790184f5a96c";
+ };
+ };
+ "map-cache-0.2.2" = {
+ name = "map-cache";
+ packageName = "map-cache";
+ version = "0.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz";
+ sha1 = "c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf";
+ };
+ };
+ "map-visit-1.0.0" = {
+ name = "map-visit";
+ packageName = "map-visit";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz";
+ sha1 = "ecdca8f13144e660f1b5bd41f12f3479d98dfb8f";
+ };
+ };
+ "md5-2.2.1" = {
+ name = "md5";
+ packageName = "md5";
+ version = "2.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/md5/-/md5-2.2.1.tgz";
+ sha1 = "53ab38d5fe3c8891ba465329ea23fac0540126f9";
+ };
+ };
+ "media-typer-0.3.0" = {
+ name = "media-typer";
+ packageName = "media-typer";
+ version = "0.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz";
+ sha1 = "8710d7af0aa626f8fffa1ce00168545263255748";
+ };
+ };
+ "merge-descriptors-1.0.1" = {
+ name = "merge-descriptors";
+ packageName = "merge-descriptors";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz";
+ sha1 = "b00aaa556dd8b44568150ec9d1b953f3f90cbb61";
+ };
+ };
+ "merge-stream-2.0.0" = {
+ name = "merge-stream";
+ packageName = "merge-stream";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz";
+ sha512 = "abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==";
+ };
+ };
+ "merge2-1.3.0" = {
+ name = "merge2";
+ packageName = "merge2";
+ version = "1.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/merge2/-/merge2-1.3.0.tgz";
+ sha512 = "2j4DAdlBOkiSZIsaXk4mTE3sRS02yBHAtfy127xRV3bQUFqXkjHCHLW6Scv7DwNRbIWNHH8zpnz9zMaKXIdvYw==";
+ };
+ };
+ "methods-1.1.2" = {
+ name = "methods";
+ packageName = "methods";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz";
+ sha1 = "5529a4d67654134edcc5266656835b0f851afcee";
+ };
+ };
+ "micromatch-3.1.10" = {
+ name = "micromatch";
+ packageName = "micromatch";
+ version = "3.1.10";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz";
+ sha512 = "MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==";
+ };
+ };
+ "micromatch-4.0.2" = {
+ name = "micromatch";
+ packageName = "micromatch";
+ version = "4.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz";
+ sha512 = "y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==";
+ };
+ };
+ "mime-1.4.1" = {
+ name = "mime";
+ packageName = "mime";
+ version = "1.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz";
+ sha512 = "KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==";
+ };
+ };
+ "mime-1.6.0" = {
+ name = "mime";
+ packageName = "mime";
+ version = "1.6.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz";
+ sha512 = "x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==";
+ };
+ };
+ "mime-2.4.3" = {
+ name = "mime";
+ packageName = "mime";
+ version = "2.4.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mime/-/mime-2.4.3.tgz";
+ sha512 = "QgrPRJfE+riq5TPZMcHZOtm8c6K/yYrMbKIoRfapfiGLxS8OTeIfRhUGW5LU7MlRa52KOAGCfUNruqLrIBvWZw==";
+ };
+ };
+ "mime-db-1.40.0" = {
+ name = "mime-db";
+ packageName = "mime-db";
+ version = "1.40.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz";
+ sha512 = "jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==";
+ };
+ };
+ "mime-types-2.1.24" = {
+ name = "mime-types";
+ packageName = "mime-types";
+ version = "2.1.24";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz";
+ sha512 = "WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==";
+ };
+ };
+ "mimic-fn-2.1.0" = {
+ name = "mimic-fn";
+ packageName = "mimic-fn";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz";
+ sha512 = "OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==";
+ };
+ };
+ "mimic-response-1.0.1" = {
+ name = "mimic-response";
+ packageName = "mimic-response";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz";
+ sha512 = "j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==";
+ };
+ };
+ "minimatch-3.0.4" = {
+ name = "minimatch";
+ packageName = "minimatch";
+ version = "3.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz";
+ sha512 = "yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==";
+ };
+ };
+ "minimist-0.0.8" = {
+ name = "minimist";
+ packageName = "minimist";
+ version = "0.0.8";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz";
+ sha1 = "857fcabfc3397d2625b8228262e86aa7a011b05d";
+ };
+ };
+ "minimist-1.2.0" = {
+ name = "minimist";
+ packageName = "minimist";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz";
+ sha1 = "a35008b20f41383eec1fb914f4cd5df79a264284";
+ };
+ };
+ "minipass-2.5.1" = {
+ name = "minipass";
+ packageName = "minipass";
+ version = "2.5.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/minipass/-/minipass-2.5.1.tgz";
+ sha512 = "dmpSnLJtNQioZFI5HfQ55Ad0DzzsMAb+HfokwRTNXwEQjepbTkl5mtIlSVxGIkOkxlpX7wIn5ET/oAd9fZ/Y/Q==";
+ };
+ };
+ "minizlib-1.2.2" = {
+ name = "minizlib";
+ packageName = "minizlib";
+ version = "1.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/minizlib/-/minizlib-1.2.2.tgz";
+ sha512 = "hR3At21uSrsjjDTWrbu0IMLTpnkpv8IIMFDFaoz43Tmu4LkmAXfH44vNNzpTnf+OAQQCHrb91y/wc2J4x5XgSQ==";
+ };
+ };
+ "mixin-deep-1.3.2" = {
+ name = "mixin-deep";
+ packageName = "mixin-deep";
+ version = "1.3.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz";
+ sha512 = "WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==";
+ };
+ };
+ "mkdirp-0.5.1" = {
+ name = "mkdirp";
+ packageName = "mkdirp";
+ version = "0.5.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz";
+ sha1 = "30057438eac6cf7f8c4767f38648d6697d75c903";
+ };
+ };
+ "ms-2.0.0" = {
+ name = "ms";
+ packageName = "ms";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz";
+ sha1 = "5608aeadfc00be6c2901df5f9861788de0d597c8";
+ };
+ };
+ "ms-2.1.1" = {
+ name = "ms";
+ packageName = "ms";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz";
+ sha512 = "tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==";
+ };
+ };
+ "ms-2.1.2" = {
+ name = "ms";
+ packageName = "ms";
+ version = "2.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz";
+ sha512 = "sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==";
+ };
+ };
+ "murmur-hash-js-1.0.0" = {
+ name = "murmur-hash-js";
+ packageName = "murmur-hash-js";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/murmur-hash-js/-/murmur-hash-js-1.0.0.tgz";
+ sha1 = "5041049269c96633c866386960b2f4289e75e5b0";
+ };
+ };
+ "mustache-3.1.0" = {
+ name = "mustache";
+ packageName = "mustache";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/mustache/-/mustache-3.1.0.tgz";
+ sha512 = "3Bxq1R5LBZp7fbFPZzFe5WN4s0q3+gxZaZuZVY+QctYJiCiVgXHOTIC0/HgZuOPFt/6BQcx5u0H2CUOxT/RoGQ==";
+ };
+ };
+ "nan-2.14.0" = {
+ name = "nan";
+ packageName = "nan";
+ version = "2.14.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz";
+ sha512 = "INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==";
+ };
+ };
+ "nanomatch-1.2.13" = {
+ name = "nanomatch";
+ packageName = "nanomatch";
+ version = "1.2.13";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz";
+ sha512 = "fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==";
+ };
+ };
+ "negotiator-0.6.2" = {
+ name = "negotiator";
+ packageName = "negotiator";
+ version = "0.6.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz";
+ sha512 = "hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==";
+ };
+ };
+ "nice-try-1.0.5" = {
+ name = "nice-try";
+ packageName = "nice-try";
+ version = "1.0.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz";
+ sha512 = "1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==";
+ };
+ };
+ "node-elm-compiler-5.0.3" = {
+ name = "node-elm-compiler";
+ packageName = "node-elm-compiler";
+ version = "5.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/node-elm-compiler/-/node-elm-compiler-5.0.3.tgz";
+ sha512 = "I3CWm/ExYYQ/a9bjB0OL9VsGa3Lmgbb8QOs4y2kEiB/DTkTqkcTaCr/lVyOYjRpgR25TsmOBATscsg6H6aC9Hg==";
+ };
+ };
+ "node-int64-0.4.0" = {
+ name = "node-int64";
+ packageName = "node-int64";
+ version = "0.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz";
+ sha1 = "87a9065cdb355d3182d8f94ce11188b825c68a3b";
+ };
+ };
+ "node-watch-0.5.5" = {
+ name = "node-watch";
+ packageName = "node-watch";
+ version = "0.5.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/node-watch/-/node-watch-0.5.5.tgz";
+ sha512 = "z9xN2ibI6P0UylFadN7oMcIMsoTeCENC0rZyRM5MVK9AqzSPx+uGqKG6KMPeC/laOV4wOGZq/GH0PTstRNSqOA==";
+ };
+ };
+ "normalize-path-2.1.1" = {
+ name = "normalize-path";
+ packageName = "normalize-path";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz";
+ sha1 = "1ab28b556e198363a8c1a6f7e6fa20137fe6aed9";
+ };
+ };
+ "normalize-path-3.0.0" = {
+ name = "normalize-path";
+ packageName = "normalize-path";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz";
+ sha512 = "6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==";
+ };
+ };
+ "normalize-url-2.0.1" = {
+ name = "normalize-url";
+ packageName = "normalize-url";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/normalize-url/-/normalize-url-2.0.1.tgz";
+ sha512 = "D6MUW4K/VzoJ4rJ01JFKxDrtY1v9wrgzCX5f2qj/lzH1m/lW6MhUZFKerVsnyjOhOsYzI9Kqqak+10l4LvLpMw==";
+ };
+ };
+ "npm-conf-1.1.3" = {
+ name = "npm-conf";
+ packageName = "npm-conf";
+ version = "1.1.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/npm-conf/-/npm-conf-1.1.3.tgz";
+ sha512 = "Yic4bZHJOt9RCFbRP3GgpqhScOY4HH3V2P8yBj6CeYq118Qr+BLXqT2JvpJ00mryLESpgOxf5XlFv4ZjXxLScw==";
+ };
+ };
+ "npm-run-path-2.0.2" = {
+ name = "npm-run-path";
+ packageName = "npm-run-path";
+ version = "2.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz";
+ sha1 = "35a9232dfa35d7067b4cb2ddf2357b1871536c5f";
+ };
+ };
+ "npm-run-path-3.1.0" = {
+ name = "npm-run-path";
+ packageName = "npm-run-path";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/npm-run-path/-/npm-run-path-3.1.0.tgz";
+ sha512 = "Dbl4A/VfiVGLgQv29URL9xshU8XDY1GeLy+fsaZ1AA8JDSfjvr5P5+pzRbWqRSBxk6/DW7MIh8lTM/PaGnP2kg==";
+ };
+ };
+ "npx-10.2.0" = {
+ name = "npx";
+ packageName = "npx";
+ version = "10.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/npx/-/npx-10.2.0.tgz";
+ sha512 = "DqjFkzET0DeaXYXNJnirnvEovwk4lBa33ZQCw1jxMuas4yH9jdU8q2U8L3cLaB2UqzgmW2Ssqk8lcGiPRL8pRg==";
+ };
+ };
+ "oauth-sign-0.9.0" = {
+ name = "oauth-sign";
+ packageName = "oauth-sign";
+ version = "0.9.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz";
+ sha512 = "fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==";
+ };
+ };
+ "object-assign-4.1.1" = {
+ name = "object-assign";
+ packageName = "object-assign";
+ version = "4.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz";
+ sha1 = "2109adc7965887cfc05cbbd442cac8bfbb360863";
+ };
+ };
+ "object-copy-0.1.0" = {
+ name = "object-copy";
+ packageName = "object-copy";
+ version = "0.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz";
+ sha1 = "7e7d858b781bd7c991a41ba975ed3812754e998c";
+ };
+ };
+ "object-inspect-1.6.0" = {
+ name = "object-inspect";
+ packageName = "object-inspect";
+ version = "1.6.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object-inspect/-/object-inspect-1.6.0.tgz";
+ sha512 = "GJzfBZ6DgDAmnuaM3104jR4s1Myxr3Y3zfIyN4z3UdqN69oSRacNK8UhnobDdC+7J2AHCjGwxQubNJfE70SXXQ==";
+ };
+ };
+ "object-keys-1.1.1" = {
+ name = "object-keys";
+ packageName = "object-keys";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz";
+ sha512 = "NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==";
+ };
+ };
+ "object-visit-1.0.1" = {
+ name = "object-visit";
+ packageName = "object-visit";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz";
+ sha1 = "f79c4493af0c5377b59fe39d395e41042dd045bb";
+ };
+ };
+ "object.getownpropertydescriptors-2.0.3" = {
+ name = "object.getownpropertydescriptors";
+ packageName = "object.getownpropertydescriptors";
+ version = "2.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.0.3.tgz";
+ sha1 = "8758c846f5b407adab0f236e0986f14b051caa16";
+ };
+ };
+ "object.pick-1.3.0" = {
+ name = "object.pick";
+ packageName = "object.pick";
+ version = "1.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz";
+ sha1 = "87a10ac4c1694bd2e1cbf53591a66141fb5dd747";
+ };
+ };
+ "on-finished-2.3.0" = {
+ name = "on-finished";
+ packageName = "on-finished";
+ version = "2.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz";
+ sha1 = "20f1336481b083cd75337992a16971aa2d906947";
+ };
+ };
+ "once-1.4.0" = {
+ name = "once";
+ packageName = "once";
+ version = "1.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/once/-/once-1.4.0.tgz";
+ sha1 = "583b1aa775961d4b113ac17d9c50baef9dd76bd1";
+ };
+ };
+ "onetime-5.1.0" = {
+ name = "onetime";
+ packageName = "onetime";
+ version = "5.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz";
+ sha512 = "5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==";
+ };
+ };
+ "open-6.4.0" = {
+ name = "open";
+ packageName = "open";
+ version = "6.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/open/-/open-6.4.0.tgz";
+ sha512 = "IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==";
+ };
+ };
+ "opn-5.4.0" = {
+ name = "opn";
+ packageName = "opn";
+ version = "5.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz";
+ sha512 = "YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw==";
+ };
+ };
+ "opn-5.5.0" = {
+ name = "opn";
+ packageName = "opn";
+ version = "5.5.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/opn/-/opn-5.5.0.tgz";
+ sha512 = "PqHpggC9bLV0VeWcdKhkpxY+3JTzetLSqTCWL/z/tFIbI6G8JCjondXklT1JinczLz2Xib62sSp0T/gKT4KksA==";
+ };
+ };
+ "options-0.0.6" = {
+ name = "options";
+ packageName = "options";
+ version = "0.0.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/options/-/options-0.0.6.tgz";
+ sha1 = "ec22d312806bb53e731773e7cdaefcf1c643128f";
+ };
+ };
+ "os-homedir-1.0.2" = {
+ name = "os-homedir";
+ packageName = "os-homedir";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz";
+ sha1 = "ffbc4988336e0e833de0c168c7ef152121aa7fb3";
+ };
+ };
+ "os-tmpdir-1.0.2" = {
+ name = "os-tmpdir";
+ packageName = "os-tmpdir";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz";
+ sha1 = "bbe67406c79aa85c5cfec766fe5734555dfa1274";
+ };
+ };
+ "p-cancelable-0.4.1" = {
+ name = "p-cancelable";
+ packageName = "p-cancelable";
+ version = "0.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz";
+ sha512 = "HNa1A8LvB1kie7cERyy21VNeHb2CWJJYqyyC2o3klWFfMGlFmWv2Z7sFgZH8ZiaYL95ydToKTFVXgMV/Os0bBQ==";
+ };
+ };
+ "p-finally-1.0.0" = {
+ name = "p-finally";
+ packageName = "p-finally";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz";
+ sha1 = "3fbcfb15b899a44123b34b6dcc18b724336a2cae";
+ };
+ };
+ "p-finally-2.0.1" = {
+ name = "p-finally";
+ packageName = "p-finally";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-finally/-/p-finally-2.0.1.tgz";
+ sha512 = "vpm09aKwq6H9phqRQzecoDpD8TmVyGw70qmWlyq5onxY7tqyTTFVvxMykxQSQKILBSFlbXpypIw2T1Ml7+DDtw==";
+ };
+ };
+ "p-is-promise-1.1.0" = {
+ name = "p-is-promise";
+ packageName = "p-is-promise";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-is-promise/-/p-is-promise-1.1.0.tgz";
+ sha1 = "9c9456989e9f6588017b0434d56097675c3da05e";
+ };
+ };
+ "p-limit-2.2.1" = {
+ name = "p-limit";
+ packageName = "p-limit";
+ version = "2.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-limit/-/p-limit-2.2.1.tgz";
+ sha512 = "85Tk+90UCVWvbDavCLKPOLC9vvY8OwEX/RtKF+/1OADJMVlFfEHOiMTPVyxg7mk/dKa+ipdHm0OUkTvCpMTuwg==";
+ };
+ };
+ "p-locate-3.0.0" = {
+ name = "p-locate";
+ packageName = "p-locate";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz";
+ sha512 = "x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==";
+ };
+ };
+ "p-timeout-2.0.1" = {
+ name = "p-timeout";
+ packageName = "p-timeout";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-timeout/-/p-timeout-2.0.1.tgz";
+ sha512 = "88em58dDVB/KzPEx1X0N3LwFfYZPyDc4B6eF38M1rk9VTZMbxXXgjugz8mmwpS9Ox4BDZ+t6t3QP5+/gazweIA==";
+ };
+ };
+ "p-try-2.2.0" = {
+ name = "p-try";
+ packageName = "p-try";
+ version = "2.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz";
+ sha512 = "R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==";
+ };
+ };
+ "package-json-5.0.0" = {
+ name = "package-json";
+ packageName = "package-json";
+ version = "5.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/package-json/-/package-json-5.0.0.tgz";
+ sha512 = "EeHQFFTlEmLrkIQoxbE9w0FuAWHoc1XpthDqnZ/i9keOt701cteyXwAxQFLpVqVjj3feh2TodkihjLaRUtIgLg==";
+ };
+ };
+ "parseurl-1.3.3" = {
+ name = "parseurl";
+ packageName = "parseurl";
+ version = "1.3.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz";
+ sha512 = "CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==";
+ };
+ };
+ "pascalcase-0.1.1" = {
+ name = "pascalcase";
+ packageName = "pascalcase";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz";
+ sha1 = "b363e55e8006ca6fe21784d2db22bd15d7917f14";
+ };
+ };
+ "path-dirname-1.0.2" = {
+ name = "path-dirname";
+ packageName = "path-dirname";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz";
+ sha1 = "cc33d24d525e099a5388c0336c6e32b9160609e0";
+ };
+ };
+ "path-exists-3.0.0" = {
+ name = "path-exists";
+ packageName = "path-exists";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz";
+ sha1 = "ce0ebeaa5f78cb18925ea7d810d7b59b010fd515";
+ };
+ };
+ "path-is-absolute-1.0.1" = {
+ name = "path-is-absolute";
+ packageName = "path-is-absolute";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz";
+ sha1 = "174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f";
+ };
+ };
+ "path-key-2.0.1" = {
+ name = "path-key";
+ packageName = "path-key";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz";
+ sha1 = "411cadb574c5a140d3a4b1910d40d80cc9f40b40";
+ };
+ };
+ "path-key-3.1.0" = {
+ name = "path-key";
+ packageName = "path-key";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-key/-/path-key-3.1.0.tgz";
+ sha512 = "8cChqz0RP6SHJkMt48FW0A7+qUOn+OsnOsVtzI59tZ8m+5bCSk7hzwET0pulwOM2YMn9J1efb07KB9l9f30SGg==";
+ };
+ };
+ "path-to-regexp-0.1.7" = {
+ name = "path-to-regexp";
+ packageName = "path-to-regexp";
+ version = "0.1.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz";
+ sha1 = "df604178005f522f15eb4490e7247a1bfaa67f8c";
+ };
+ };
+ "path-type-4.0.0" = {
+ name = "path-type";
+ packageName = "path-type";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz";
+ sha512 = "gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==";
+ };
+ };
+ "pem-1.14.2" = {
+ name = "pem";
+ packageName = "pem";
+ version = "1.14.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/pem/-/pem-1.14.2.tgz";
+ sha512 = "TOnPtq3ZFnCniOZ+rka4pk8UIze9xG1qI+wNE7EmkiR/cg+53uVvk5QbkWZ7M6RsuOxzz62FW1hlAobJr/lTOA==";
+ };
+ };
+ "performance-now-2.1.0" = {
+ name = "performance-now";
+ packageName = "performance-now";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz";
+ sha1 = "6309f4e0e5fa913ec1c69307ae364b4b377c9e7b";
+ };
+ };
+ "picomatch-2.0.7" = {
+ name = "picomatch";
+ packageName = "picomatch";
+ version = "2.0.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/picomatch/-/picomatch-2.0.7.tgz";
+ sha512 = "oLHIdio3tZ0qH76NybpeneBhYVj0QFTfXEFTc/B3zKQspYfYYkWYgFsmzo+4kvId/bQRcNkVeguI3y+CD22BtA==";
+ };
+ };
+ "pify-3.0.0" = {
+ name = "pify";
+ packageName = "pify";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz";
+ sha1 = "e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176";
+ };
+ };
+ "posix-character-classes-0.1.1" = {
+ name = "posix-character-classes";
+ packageName = "posix-character-classes";
+ version = "0.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz";
+ sha1 = "01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab";
+ };
+ };
+ "prepend-http-1.0.4" = {
+ name = "prepend-http";
+ packageName = "prepend-http";
+ version = "1.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz";
+ sha1 = "d4f4562b0ce3696e41ac52d0e002e57a635dc6dc";
+ };
+ };
+ "prepend-http-2.0.0" = {
+ name = "prepend-http";
+ packageName = "prepend-http";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/prepend-http/-/prepend-http-2.0.0.tgz";
+ sha1 = "e92434bfa5ea8c19f41cdfd401d741a3c819d897";
+ };
+ };
+ "process-nextick-args-1.0.7" = {
+ name = "process-nextick-args";
+ packageName = "process-nextick-args";
+ version = "1.0.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.7.tgz";
+ sha1 = "150e20b756590ad3f91093f25a4f2ad8bff30ba3";
+ };
+ };
+ "process-nextick-args-2.0.1" = {
+ name = "process-nextick-args";
+ packageName = "process-nextick-args";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz";
+ sha512 = "3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==";
+ };
+ };
+ "proto-list-1.2.4" = {
+ name = "proto-list";
+ packageName = "proto-list";
+ version = "1.2.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz";
+ sha1 = "212d5bfe1318306a420f6402b8e26ff39647a849";
+ };
+ };
+ "proxy-addr-2.0.5" = {
+ name = "proxy-addr";
+ packageName = "proxy-addr";
+ version = "2.0.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.5.tgz";
+ sha512 = "t/7RxHXPH6cJtP0pRG6smSr9QJidhB+3kXu0KgXnbGYMgzEnUxRQ4/LDdfOwZEMyIh3/xHb8PX3t+lfL9z+YVQ==";
+ };
+ };
+ "pseudomap-1.0.2" = {
+ name = "pseudomap";
+ packageName = "pseudomap";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz";
+ sha1 = "f052a28da70e618917ef0a8ac34c1ae5a68286b3";
+ };
+ };
+ "psl-1.4.0" = {
+ name = "psl";
+ packageName = "psl";
+ version = "1.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/psl/-/psl-1.4.0.tgz";
+ sha512 = "HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw==";
+ };
+ };
+ "pump-3.0.0" = {
+ name = "pump";
+ packageName = "pump";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz";
+ sha512 = "LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==";
+ };
+ };
+ "punycode-1.4.1" = {
+ name = "punycode";
+ packageName = "punycode";
+ version = "1.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz";
+ sha1 = "c0d5a63b2718800ad8e1eb0fa5269c84dd41845e";
+ };
+ };
+ "punycode-2.1.1" = {
+ name = "punycode";
+ packageName = "punycode";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz";
+ sha512 = "XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==";
+ };
+ };
+ "qs-6.5.1" = {
+ name = "qs";
+ packageName = "qs";
+ version = "6.5.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/qs/-/qs-6.5.1.tgz";
+ sha512 = "eRzhrN1WSINYCDCbrz796z37LOe3m5tmW7RQf6oBntukAG1nmovJvhnwHHRMAfeoItc1m2Hk02WER2aQ/iqs+A==";
+ };
+ };
+ "qs-6.5.2" = {
+ name = "qs";
+ packageName = "qs";
+ version = "6.5.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz";
+ sha512 = "N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==";
+ };
+ };
+ "qs-6.7.0" = {
+ name = "qs";
+ packageName = "qs";
+ version = "6.7.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz";
+ sha512 = "VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==";
+ };
+ };
+ "query-string-5.1.1" = {
+ name = "query-string";
+ packageName = "query-string";
+ version = "5.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz";
+ sha512 = "gjWOsm2SoGlgLEdAGt7a6slVOk9mGiXmPFMqrEhLQ68rhQuBnpfs3+EmlvqKyxnCo9/PPlF+9MtY02S1aFg+Jw==";
+ };
+ };
+ "range-parser-1.2.1" = {
+ name = "range-parser";
+ packageName = "range-parser";
+ version = "1.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz";
+ sha512 = "Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==";
+ };
+ };
+ "raw-body-2.3.2" = {
+ name = "raw-body";
+ packageName = "raw-body";
+ version = "2.3.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz";
+ sha1 = "bcd60c77d3eb93cde0050295c3f379389bc88f89";
+ };
+ };
+ "raw-body-2.4.0" = {
+ name = "raw-body";
+ packageName = "raw-body";
+ version = "2.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz";
+ sha512 = "4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==";
+ };
+ };
+ "rc-1.2.8" = {
+ name = "rc";
+ packageName = "rc";
+ version = "1.2.8";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz";
+ sha512 = "y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==";
+ };
+ };
+ "readable-stream-2.0.6" = {
+ name = "readable-stream";
+ packageName = "readable-stream";
+ version = "2.0.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.6.tgz";
+ sha1 = "8f90341e68a53ccc928788dacfcd11b36eb9b78e";
+ };
+ };
+ "readable-stream-2.3.6" = {
+ name = "readable-stream";
+ packageName = "readable-stream";
+ version = "2.3.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz";
+ sha512 = "tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==";
+ };
+ };
+ "readdirp-2.2.1" = {
+ name = "readdirp";
+ packageName = "readdirp";
+ version = "2.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz";
+ sha512 = "1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==";
+ };
+ };
+ "readdirp-3.1.2" = {
+ name = "readdirp";
+ packageName = "readdirp";
+ version = "3.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/readdirp/-/readdirp-3.1.2.tgz";
+ sha512 = "8rhl0xs2cxfVsqzreYCvs8EwBfn/DhVdqtoLmw19uI3SC5avYX9teCurlErfpPXGmYtMHReGaP2RsLnFvz/lnw==";
+ };
+ };
+ "regenerator-runtime-0.9.6" = {
+ name = "regenerator-runtime";
+ packageName = "regenerator-runtime";
+ version = "0.9.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.9.6.tgz";
+ sha1 = "d33eb95d0d2001a4be39659707c51b0cb71ce029";
+ };
+ };
+ "regex-not-1.0.2" = {
+ name = "regex-not";
+ packageName = "regex-not";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz";
+ sha512 = "J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==";
+ };
+ };
+ "registry-auth-token-3.4.0" = {
+ name = "registry-auth-token";
+ packageName = "registry-auth-token";
+ version = "3.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz";
+ sha512 = "4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A==";
+ };
+ };
+ "registry-url-3.1.0" = {
+ name = "registry-url";
+ packageName = "registry-url";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/registry-url/-/registry-url-3.1.0.tgz";
+ sha1 = "3d4ef870f73dde1d77f0cf9a381432444e174942";
+ };
+ };
+ "remove-trailing-separator-1.1.0" = {
+ name = "remove-trailing-separator";
+ packageName = "remove-trailing-separator";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz";
+ sha1 = "c24bce2a283adad5bc3f58e0d48249b92379d8ef";
+ };
+ };
+ "repeat-element-1.1.3" = {
+ name = "repeat-element";
+ packageName = "repeat-element";
+ version = "1.1.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz";
+ sha512 = "ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==";
+ };
+ };
+ "repeat-string-1.6.1" = {
+ name = "repeat-string";
+ packageName = "repeat-string";
+ version = "1.6.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz";
+ sha1 = "8dcae470e1c88abc2d600fff4a776286da75e637";
+ };
+ };
+ "request-2.88.0" = {
+ name = "request";
+ packageName = "request";
+ version = "2.88.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/request/-/request-2.88.0.tgz";
+ sha512 = "NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg==";
+ };
+ };
+ "request-promise-4.2.4" = {
+ name = "request-promise";
+ packageName = "request-promise";
+ version = "4.2.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/request-promise/-/request-promise-4.2.4.tgz";
+ sha512 = "8wgMrvE546PzbR5WbYxUQogUnUDfM0S7QIFZMID+J73vdFARkFy+HElj4T+MWYhpXwlLp0EQ8Zoj8xUA0he4Vg==";
+ };
+ };
+ "request-promise-core-1.1.2" = {
+ name = "request-promise-core";
+ packageName = "request-promise-core";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.2.tgz";
+ sha512 = "UHYyq1MO8GsefGEt7EprS8UrXsm1TxEvFUX1IMTuSLU2Rh7fTIdFtl8xD7JiEYiWU2dl+NYAjCTksTehQUxPag==";
+ };
+ };
+ "require-directory-2.1.1" = {
+ name = "require-directory";
+ packageName = "require-directory";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz";
+ sha1 = "8c64ad5fd30dab1c976e2344ffe7f792a6a6df42";
+ };
+ };
+ "require-main-filename-2.0.0" = {
+ name = "require-main-filename";
+ packageName = "require-main-filename";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz";
+ sha512 = "NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==";
+ };
+ };
+ "requires-port-1.0.0" = {
+ name = "requires-port";
+ packageName = "requires-port";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz";
+ sha1 = "925d2601d39ac485e091cf0da5c6e694dc3dcaff";
+ };
+ };
+ "resolve-url-0.2.1" = {
+ name = "resolve-url";
+ packageName = "resolve-url";
+ version = "0.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz";
+ sha1 = "2c637fe77c893afd2a663fe21aa9080068e2052a";
+ };
+ };
+ "responselike-1.0.2" = {
+ name = "responselike";
+ packageName = "responselike";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz";
+ sha1 = "918720ef3b631c5642be068f15ade5a46f4ba1e7";
+ };
+ };
+ "ret-0.1.15" = {
+ name = "ret";
+ packageName = "ret";
+ version = "0.1.15";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz";
+ sha512 = "TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==";
+ };
+ };
+ "reusify-1.0.4" = {
+ name = "reusify";
+ packageName = "reusify";
+ version = "1.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz";
+ sha512 = "U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==";
+ };
+ };
+ "rimraf-2.2.8" = {
+ name = "rimraf";
+ packageName = "rimraf";
+ version = "2.2.8";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/rimraf/-/rimraf-2.2.8.tgz";
+ sha1 = "e439be2aaee327321952730f99a8929e4fc50582";
+ };
+ };
+ "rimraf-2.7.1" = {
+ name = "rimraf";
+ packageName = "rimraf";
+ version = "2.7.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz";
+ sha512 = "uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==";
+ };
+ };
+ "rsvp-4.8.5" = {
+ name = "rsvp";
+ packageName = "rsvp";
+ version = "4.8.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/rsvp/-/rsvp-4.8.5.tgz";
+ sha512 = "nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA==";
+ };
+ };
+ "run-parallel-1.1.9" = {
+ name = "run-parallel";
+ packageName = "run-parallel";
+ version = "1.1.9";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.9.tgz";
+ sha512 = "DEqnSRTDw/Tc3FXf49zedI638Z9onwUotBMiUFKmrO2sdFKIbXamXGQ3Axd4qgphxKB4kw/qP1w5kTxnfU1B9Q==";
+ };
+ };
+ "rxjs-6.5.3" = {
+ name = "rxjs";
+ packageName = "rxjs";
+ version = "6.5.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz";
+ sha512 = "wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==";
+ };
+ };
+ "safe-buffer-5.1.1" = {
+ name = "safe-buffer";
+ packageName = "safe-buffer";
+ version = "5.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz";
+ sha512 = "kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==";
+ };
+ };
+ "safe-buffer-5.1.2" = {
+ name = "safe-buffer";
+ packageName = "safe-buffer";
+ version = "5.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz";
+ sha512 = "Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==";
+ };
+ };
+ "safe-buffer-5.2.0" = {
+ name = "safe-buffer";
+ packageName = "safe-buffer";
+ version = "5.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.0.tgz";
+ sha512 = "fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg==";
+ };
+ };
+ "safe-regex-1.1.0" = {
+ name = "safe-regex";
+ packageName = "safe-regex";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz";
+ sha1 = "40a3669f3b077d1e943d44629e157dd48023bf2e";
+ };
+ };
+ "safename-1.0.2" = {
+ name = "safename";
+ packageName = "safename";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/safename/-/safename-1.0.2.tgz";
+ sha1 = "e659f8ea3ce2148880fbf56de78d8e061f229031";
+ };
+ };
+ "safer-buffer-2.1.2" = {
+ name = "safer-buffer";
+ packageName = "safer-buffer";
+ version = "2.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz";
+ sha512 = "YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==";
+ };
+ };
+ "sane-4.1.0" = {
+ name = "sane";
+ packageName = "sane";
+ version = "4.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/sane/-/sane-4.1.0.tgz";
+ sha512 = "hhbzAgTIX8O7SHfp2c8/kREfEn4qO/9q8C9beyY6+tvZ87EpoZ3i1RIEvp27YBswnNbY9mWd6paKVmKbAgLfZA==";
+ };
+ };
+ "semver-5.7.1" = {
+ name = "semver";
+ packageName = "semver";
+ version = "5.7.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz";
+ sha512 = "sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==";
+ };
+ };
+ "semver-regex-1.0.0" = {
+ name = "semver-regex";
+ packageName = "semver-regex";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/semver-regex/-/semver-regex-1.0.0.tgz";
+ sha1 = "92a4969065f9c70c694753d55248fc68f8f652c9";
+ };
+ };
+ "semver-sort-0.0.4" = {
+ name = "semver-sort";
+ packageName = "semver-sort";
+ version = "0.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/semver-sort/-/semver-sort-0.0.4.tgz";
+ sha1 = "34fdbddc6a6b2b4161398c3c4dba56243bfeaa8b";
+ };
+ };
+ "send-0.16.2" = {
+ name = "send";
+ packageName = "send";
+ version = "0.16.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/send/-/send-0.16.2.tgz";
+ sha512 = "E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==";
+ };
+ };
+ "send-0.17.1" = {
+ name = "send";
+ packageName = "send";
+ version = "0.17.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/send/-/send-0.17.1.tgz";
+ sha512 = "BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==";
+ };
+ };
+ "serve-index-1.9.1" = {
+ name = "serve-index";
+ packageName = "serve-index";
+ version = "1.9.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz";
+ sha1 = "d3768d69b1e7d82e5ce050fff5b453bea12a9239";
+ };
+ };
+ "serve-static-1.13.2" = {
+ name = "serve-static";
+ packageName = "serve-static";
+ version = "1.13.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz";
+ sha512 = "p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==";
+ };
+ };
+ "serve-static-1.14.1" = {
+ name = "serve-static";
+ packageName = "serve-static";
+ version = "1.14.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz";
+ sha512 = "JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==";
+ };
+ };
+ "set-blocking-2.0.0" = {
+ name = "set-blocking";
+ packageName = "set-blocking";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz";
+ sha1 = "045f9782d011ae9a6803ddd382b24392b3d890f7";
+ };
+ };
+ "set-value-2.0.1" = {
+ name = "set-value";
+ packageName = "set-value";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz";
+ sha512 = "JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==";
+ };
+ };
+ "setprototypeof-1.0.3" = {
+ name = "setprototypeof";
+ packageName = "setprototypeof";
+ version = "1.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.0.3.tgz";
+ sha1 = "66567e37043eeb4f04d91bd658c0cbefb55b8e04";
+ };
+ };
+ "setprototypeof-1.1.0" = {
+ name = "setprototypeof";
+ packageName = "setprototypeof";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz";
+ sha512 = "BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==";
+ };
+ };
+ "setprototypeof-1.1.1" = {
+ name = "setprototypeof";
+ packageName = "setprototypeof";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz";
+ sha512 = "JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==";
+ };
+ };
+ "shebang-command-1.2.0" = {
+ name = "shebang-command";
+ packageName = "shebang-command";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz";
+ sha1 = "44aac65b695b03398968c39f363fee5deafdf1ea";
+ };
+ };
+ "shebang-regex-1.0.0" = {
+ name = "shebang-regex";
+ packageName = "shebang-regex";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz";
+ sha1 = "da42f49740c0b42db2ca9728571cb190c98efea3";
+ };
+ };
+ "signal-exit-3.0.2" = {
+ name = "signal-exit";
+ packageName = "signal-exit";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz";
+ sha1 = "b5fdc08f1287ea1178628e415e25132b73646c6d";
+ };
+ };
+ "slash-3.0.0" = {
+ name = "slash";
+ packageName = "slash";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz";
+ sha512 = "g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==";
+ };
+ };
+ "snapdragon-0.8.2" = {
+ name = "snapdragon";
+ packageName = "snapdragon";
+ version = "0.8.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz";
+ sha512 = "FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==";
+ };
+ };
+ "snapdragon-node-2.1.1" = {
+ name = "snapdragon-node";
+ packageName = "snapdragon-node";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz";
+ sha512 = "O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==";
+ };
+ };
+ "snapdragon-util-3.0.1" = {
+ name = "snapdragon-util";
+ packageName = "snapdragon-util";
+ version = "3.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz";
+ sha512 = "mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==";
+ };
+ };
+ "sort-keys-2.0.0" = {
+ name = "sort-keys";
+ packageName = "sort-keys";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz";
+ sha1 = "658535584861ec97d730d6cf41822e1f56684128";
+ };
+ };
+ "source-map-0.5.7" = {
+ name = "source-map";
+ packageName = "source-map";
+ version = "0.5.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz";
+ sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc";
+ };
+ };
+ "source-map-resolve-0.5.2" = {
+ name = "source-map-resolve";
+ packageName = "source-map-resolve";
+ version = "0.5.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.2.tgz";
+ sha512 = "MjqsvNwyz1s0k81Goz/9vRBe9SZdB09Bdw+/zYyO+3CuPk6fouTaxscHkgtE8jKvf01kVfl8riHzERQ/kefaSA==";
+ };
+ };
+ "source-map-url-0.4.0" = {
+ name = "source-map-url";
+ packageName = "source-map-url";
+ version = "0.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz";
+ sha1 = "3e935d7ddd73631b97659956d55128e87b5084a3";
+ };
+ };
+ "split-1.0.1" = {
+ name = "split";
+ packageName = "split";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/split/-/split-1.0.1.tgz";
+ sha512 = "mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==";
+ };
+ };
+ "split-string-3.1.0" = {
+ name = "split-string";
+ packageName = "split-string";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz";
+ sha512 = "NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==";
+ };
+ };
+ "sshpk-1.16.1" = {
+ name = "sshpk";
+ packageName = "sshpk";
+ version = "1.16.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz";
+ sha512 = "HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==";
+ };
+ };
+ "static-extend-0.1.2" = {
+ name = "static-extend";
+ packageName = "static-extend";
+ version = "0.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz";
+ sha1 = "60809c39cbff55337226fd5e0b520f341f1fb5c6";
+ };
+ };
+ "statuses-1.4.0" = {
+ name = "statuses";
+ packageName = "statuses";
+ version = "1.4.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/statuses/-/statuses-1.4.0.tgz";
+ sha512 = "zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==";
+ };
+ };
+ "statuses-1.5.0" = {
+ name = "statuses";
+ packageName = "statuses";
+ version = "1.5.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz";
+ sha1 = "161c7dac177659fd9811f43771fa99381478628c";
+ };
+ };
+ "stealthy-require-1.1.1" = {
+ name = "stealthy-require";
+ packageName = "stealthy-require";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz";
+ sha1 = "35b09875b4ff49f26a777e509b3090a3226bf24b";
+ };
+ };
+ "strict-uri-encode-1.1.0" = {
+ name = "strict-uri-encode";
+ packageName = "strict-uri-encode";
+ version = "1.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz";
+ sha1 = "279b225df1d582b1f54e65addd4352e18faa0713";
+ };
+ };
+ "string-width-3.1.0" = {
+ name = "string-width";
+ packageName = "string-width";
+ version = "3.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz";
+ sha512 = "vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==";
+ };
+ };
+ "string.prototype.trimleft-2.1.0" = {
+ name = "string.prototype.trimleft";
+ packageName = "string.prototype.trimleft";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.0.tgz";
+ sha512 = "FJ6b7EgdKxxbDxc79cOlok6Afd++TTs5szo+zJTUyow3ycrRfJVE2pq3vcN53XexvKZu/DJMDfeI/qMiZTrjTw==";
+ };
+ };
+ "string.prototype.trimright-2.1.0" = {
+ name = "string.prototype.trimright";
+ packageName = "string.prototype.trimright";
+ version = "2.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.0.tgz";
+ sha512 = "fXZTSV55dNBwv16uw+hh5jkghxSnc5oHq+5K/gXgizHwAvMetdAJlHqqoFC1FSDVPYWLkAKl2cxpUT41sV7nSg==";
+ };
+ };
+ "string_decoder-0.10.31" = {
+ name = "string_decoder";
+ packageName = "string_decoder";
+ version = "0.10.31";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz";
+ sha1 = "62e203bc41766c6c28c9fc84301dab1c5310fa94";
+ };
+ };
+ "string_decoder-1.1.1" = {
+ name = "string_decoder";
+ packageName = "string_decoder";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz";
+ sha512 = "n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==";
+ };
+ };
+ "strip-ansi-3.0.1" = {
+ name = "strip-ansi";
+ packageName = "strip-ansi";
+ version = "3.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz";
+ sha1 = "6a385fb8853d952d5ff05d0e8aaf94278dc63dcf";
+ };
+ };
+ "strip-ansi-5.2.0" = {
+ name = "strip-ansi";
+ packageName = "strip-ansi";
+ version = "5.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz";
+ sha512 = "DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==";
+ };
+ };
+ "strip-eof-1.0.0" = {
+ name = "strip-eof";
+ packageName = "strip-eof";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz";
+ sha1 = "bb43ff5598a6eb05d89b59fcd129c983313606bf";
+ };
+ };
+ "strip-final-newline-2.0.0" = {
+ name = "strip-final-newline";
+ packageName = "strip-final-newline";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz";
+ sha512 = "BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==";
+ };
+ };
+ "strip-json-comments-2.0.1" = {
+ name = "strip-json-comments";
+ packageName = "strip-json-comments";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz";
+ sha1 = "3c531942e908c2697c0ec344858c286c7ca0a60a";
+ };
+ };
+ "sums-0.2.4" = {
+ name = "sums";
+ packageName = "sums";
+ version = "0.2.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/sums/-/sums-0.2.4.tgz";
+ sha1 = "d78c14398297d604fe6588dc3b03deca7b91ba93";
+ };
+ };
+ "supports-color-2.0.0" = {
+ name = "supports-color";
+ packageName = "supports-color";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz";
+ sha1 = "535d045ce6b6363fa40117084629995e9df324c7";
+ };
+ };
+ "supports-color-4.2.0" = {
+ name = "supports-color";
+ packageName = "supports-color";
+ version = "4.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/supports-color/-/supports-color-4.2.0.tgz";
+ sha512 = "Ts0Mu/A1S1aZxEJNG88I4Oc9rcZSBFNac5e27yh4j2mqbhZSSzR1Ah79EYwSn9Zuh7lrlGD2cVGzw1RKGzyLSg==";
+ };
+ };
+ "supports-color-5.5.0" = {
+ name = "supports-color";
+ packageName = "supports-color";
+ version = "5.5.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz";
+ sha512 = "QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==";
+ };
+ };
+ "syncprompt-2.0.0" = {
+ name = "syncprompt";
+ packageName = "syncprompt";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/syncprompt/-/syncprompt-2.0.0.tgz";
+ sha512 = "tPYCsLGWTDRlET7cen2iAwbmO+lSwfIdKoLkUPC41t/54UhqbzpwXL4RhODu5fQnmZdQZlEFKeD0W/BysU5WEg==";
+ };
+ };
+ "tar-4.4.10" = {
+ name = "tar";
+ packageName = "tar";
+ version = "4.4.10";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tar/-/tar-4.4.10.tgz";
+ sha512 = "g2SVs5QIxvo6OLp0GudTqEf05maawKUxXru104iaayWA09551tFCTI8f1Asb4lPfkBr91k07iL4c11XO3/b0tA==";
+ };
+ };
+ "temp-0.8.3" = {
+ name = "temp";
+ packageName = "temp";
+ version = "0.8.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/temp/-/temp-0.8.3.tgz";
+ sha1 = "e0c6bc4d26b903124410e4fed81103014dfc1f59";
+ };
+ };
+ "through-2.3.8" = {
+ name = "through";
+ packageName = "through";
+ version = "2.3.8";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/through/-/through-2.3.8.tgz";
+ sha1 = "0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5";
+ };
+ };
+ "through2-2.0.1" = {
+ name = "through2";
+ packageName = "through2";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/through2/-/through2-2.0.1.tgz";
+ sha1 = "384e75314d49f32de12eebb8136b8eb6b5d59da9";
+ };
+ };
+ "through2-2.0.5" = {
+ name = "through2";
+ packageName = "through2";
+ version = "2.0.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz";
+ sha512 = "/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==";
+ };
+ };
+ "timed-out-4.0.1" = {
+ name = "timed-out";
+ packageName = "timed-out";
+ version = "4.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz";
+ sha1 = "f32eacac5a175bea25d7fab565ab3ed8741ef56f";
+ };
+ };
+ "tmp-0.0.31" = {
+ name = "tmp";
+ packageName = "tmp";
+ version = "0.0.31";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tmp/-/tmp-0.0.31.tgz";
+ sha1 = "8f38ab9438e17315e5dbd8b3657e8bfb277ae4a7";
+ };
+ };
+ "tmp-0.1.0" = {
+ name = "tmp";
+ packageName = "tmp";
+ version = "0.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tmp/-/tmp-0.1.0.tgz";
+ sha512 = "J7Z2K08jbGcdA1kkQpJSqLF6T0tdQqpR2pnSUXsIchbPdTI9v3e85cLW0d6WDhwuAleOV71j2xWs8qMPfK7nKw==";
+ };
+ };
+ "tmpl-1.0.4" = {
+ name = "tmpl";
+ packageName = "tmpl";
+ version = "1.0.4";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz";
+ sha1 = "23640dd7b42d00433911140820e5cf440e521dd1";
+ };
+ };
+ "to-object-path-0.3.0" = {
+ name = "to-object-path";
+ packageName = "to-object-path";
+ version = "0.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz";
+ sha1 = "297588b7b0e7e0ac08e04e672f85c1f4999e17af";
+ };
+ };
+ "to-regex-3.0.2" = {
+ name = "to-regex";
+ packageName = "to-regex";
+ version = "3.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz";
+ sha512 = "FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==";
+ };
+ };
+ "to-regex-range-2.1.1" = {
+ name = "to-regex-range";
+ packageName = "to-regex-range";
+ version = "2.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz";
+ sha1 = "7c80c17b9dfebe599e27367e0d4dd5590141db38";
+ };
+ };
+ "to-regex-range-5.0.1" = {
+ name = "to-regex-range";
+ packageName = "to-regex-range";
+ version = "5.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz";
+ sha512 = "65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==";
+ };
+ };
+ "toidentifier-1.0.0" = {
+ name = "toidentifier";
+ packageName = "toidentifier";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz";
+ sha512 = "yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==";
+ };
+ };
+ "tough-cookie-2.4.3" = {
+ name = "tough-cookie";
+ packageName = "tough-cookie";
+ version = "2.4.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz";
+ sha512 = "Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ==";
+ };
+ };
+ "traverse-0.3.9" = {
+ name = "traverse";
+ packageName = "traverse";
+ version = "0.3.9";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz";
+ sha1 = "717b8f220cc0bb7b44e40514c22b2e8bbc70d8b9";
+ };
+ };
+ "traverse-chain-0.1.0" = {
+ name = "traverse-chain";
+ packageName = "traverse-chain";
+ version = "0.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/traverse-chain/-/traverse-chain-0.1.0.tgz";
+ sha1 = "61dbc2d53b69ff6091a12a168fd7d433107e40f1";
+ };
+ };
+ "tslib-1.10.0" = {
+ name = "tslib";
+ packageName = "tslib";
+ version = "1.10.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz";
+ sha512 = "qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==";
+ };
+ };
+ "tunnel-agent-0.6.0" = {
+ name = "tunnel-agent";
+ packageName = "tunnel-agent";
+ version = "0.6.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz";
+ sha1 = "27a5dea06b36b04a0a9966774b290868f0fc40fd";
+ };
+ };
+ "tweetnacl-0.14.5" = {
+ name = "tweetnacl";
+ packageName = "tweetnacl";
+ version = "0.14.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz";
+ sha1 = "5ae68177f192d4456269d108afa93ff8743f4f64";
+ };
+ };
+ "type-is-1.6.18" = {
+ name = "type-is";
+ packageName = "type-is";
+ version = "1.6.18";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz";
+ sha512 = "TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==";
+ };
+ };
+ "typedarray-0.0.6" = {
+ name = "typedarray";
+ packageName = "typedarray";
+ version = "0.0.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz";
+ sha1 = "867ac74e3864187b1d3d47d996a78ec5c8830777";
+ };
+ };
+ "ultron-1.0.2" = {
+ name = "ultron";
+ packageName = "ultron";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ultron/-/ultron-1.0.2.tgz";
+ sha1 = "ace116ab557cd197386a4e88f4685378c8b2e4fa";
+ };
+ };
+ "ultron-1.1.1" = {
+ name = "ultron";
+ packageName = "ultron";
+ version = "1.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ultron/-/ultron-1.1.1.tgz";
+ sha512 = "UIEXBNeYmKptWH6z8ZnqTeS8fV74zG0/eRU9VGkpzz+LIJNs8W/zM/L+7ctCkRrgbNnnR0xxw4bKOr0cW0N0Og==";
+ };
+ };
+ "union-value-1.0.1" = {
+ name = "union-value";
+ packageName = "union-value";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz";
+ sha512 = "tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==";
+ };
+ };
+ "universalify-0.1.2" = {
+ name = "universalify";
+ packageName = "universalify";
+ version = "0.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz";
+ sha512 = "rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==";
+ };
+ };
+ "unpipe-1.0.0" = {
+ name = "unpipe";
+ packageName = "unpipe";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz";
+ sha1 = "b2bf4ee8514aae6165b4817829d21b2ef49904ec";
+ };
+ };
+ "unset-value-1.0.0" = {
+ name = "unset-value";
+ packageName = "unset-value";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz";
+ sha1 = "8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559";
+ };
+ };
+ "unzip-response-2.0.1" = {
+ name = "unzip-response";
+ packageName = "unzip-response";
+ version = "2.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/unzip-response/-/unzip-response-2.0.1.tgz";
+ sha1 = "d2f0f737d16b0615e72a6935ed04214572d56f97";
+ };
+ };
+ "unzip-stream-0.3.0" = {
+ name = "unzip-stream";
+ packageName = "unzip-stream";
+ version = "0.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/unzip-stream/-/unzip-stream-0.3.0.tgz";
+ sha512 = "NG1h/MdGIX3HzyqMjyj1laBCmlPYhcO4xEy7gEqqzGiSLw7XqDQCnY4nYSn5XSaH8mQ6TFkaujrO8d/PIZN85A==";
+ };
+ };
+ "upath-1.2.0" = {
+ name = "upath";
+ packageName = "upath";
+ version = "1.2.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz";
+ sha512 = "aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==";
+ };
+ };
+ "uri-js-4.2.2" = {
+ name = "uri-js";
+ packageName = "uri-js";
+ version = "4.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz";
+ sha512 = "KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==";
+ };
+ };
+ "urix-0.1.0" = {
+ name = "urix";
+ packageName = "urix";
+ version = "0.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz";
+ sha1 = "da937f7a62e21fec1fd18d49b35c2935067a6c72";
+ };
+ };
+ "url-parse-lax-1.0.0" = {
+ name = "url-parse-lax";
+ packageName = "url-parse-lax";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-1.0.0.tgz";
+ sha1 = "7af8f303645e9bd79a272e7a14ac68bc0609da73";
+ };
+ };
+ "url-parse-lax-3.0.0" = {
+ name = "url-parse-lax";
+ packageName = "url-parse-lax";
+ version = "3.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/url-parse-lax/-/url-parse-lax-3.0.0.tgz";
+ sha1 = "16b5cafc07dbe3676c1b1999177823d6503acb0c";
+ };
+ };
+ "url-to-options-1.0.1" = {
+ name = "url-to-options";
+ packageName = "url-to-options";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/url-to-options/-/url-to-options-1.0.1.tgz";
+ sha1 = "1505a03a289a48cbd7a434efbaeec5055f5633a9";
+ };
+ };
+ "use-3.1.1" = {
+ name = "use";
+ packageName = "use";
+ version = "3.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/use/-/use-3.1.1.tgz";
+ sha512 = "cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==";
+ };
+ };
+ "util-deprecate-1.0.2" = {
+ name = "util-deprecate";
+ packageName = "util-deprecate";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz";
+ sha1 = "450d4dc9fa70de732762fbd2d4a28981419a0ccf";
+ };
+ };
+ "util.promisify-1.0.0" = {
+ name = "util.promisify";
+ packageName = "util.promisify";
+ version = "1.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz";
+ sha512 = "i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==";
+ };
+ };
+ "utils-merge-1.0.1" = {
+ name = "utils-merge";
+ packageName = "utils-merge";
+ version = "1.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz";
+ sha1 = "9f95710f50a267947b2ccc124741c1028427e713";
+ };
+ };
+ "uuid-3.3.3" = {
+ name = "uuid";
+ packageName = "uuid";
+ version = "3.3.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/uuid/-/uuid-3.3.3.tgz";
+ sha512 = "pW0No1RGHgzlpHJO1nsVrHKpOEIxkGg1xB+v0ZmdNH5OAeAwzAVrCnI2/6Mtx+Uys6iaylxa+D3g4j63IKKjSQ==";
+ };
+ };
+ "vary-1.1.2" = {
+ name = "vary";
+ packageName = "vary";
+ version = "1.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz";
+ sha1 = "2299f02c6ded30d4a5961b0b9f74524a18f634fc";
+ };
+ };
+ "verror-1.10.0" = {
+ name = "verror";
+ packageName = "verror";
+ version = "1.10.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz";
+ sha1 = "3a105ca17053af55d6e270c1f8288682e18da400";
+ };
+ };
+ "vscode-jsonrpc-4.0.0" = {
+ name = "vscode-jsonrpc";
+ packageName = "vscode-jsonrpc";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-4.0.0.tgz";
+ sha512 = "perEnXQdQOJMTDFNv+UF3h1Y0z4iSiaN9jIlb0OqIYgosPCZGYh/MCUlkFtV2668PL69lRDO32hmvL2yiidUYg==";
+ };
+ };
+ "vscode-languageserver-5.2.1" = {
+ name = "vscode-languageserver";
+ packageName = "vscode-languageserver";
+ version = "5.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-5.2.1.tgz";
+ sha512 = "GuayqdKZqAwwaCUjDvMTAVRPJOp/SLON3mJ07eGsx/Iq9HjRymhKWztX41rISqDKhHVVyFM+IywICyZDla6U3A==";
+ };
+ };
+ "vscode-languageserver-protocol-3.14.1" = {
+ name = "vscode-languageserver-protocol";
+ packageName = "vscode-languageserver-protocol";
+ version = "3.14.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.14.1.tgz";
+ sha512 = "IL66BLb2g20uIKog5Y2dQ0IiigW0XKrvmWiOvc0yXw80z3tMEzEnHjaGAb3ENuU7MnQqgnYJ1Cl2l9RvNgDi4g==";
+ };
+ };
+ "vscode-languageserver-types-3.14.0" = {
+ name = "vscode-languageserver-types";
+ packageName = "vscode-languageserver-types";
+ version = "3.14.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.14.0.tgz";
+ sha512 = "lTmS6AlAlMHOvPQemVwo3CezxBp0sNB95KNPkqp3Nxd5VFEnuG1ByM0zlRWos0zjO3ZWtkvhal0COgiV1xIA4A==";
+ };
+ };
+ "vscode-uri-1.0.8" = {
+ name = "vscode-uri";
+ packageName = "vscode-uri";
+ version = "1.0.8";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.8.tgz";
+ sha512 = "obtSWTlbJ+a+TFRYGaUumtVwb+InIUVI0Lu0VBUAPmj2cU5JutEXg3xUE0c2J5Tcy7h2DEKVJBFi+Y9ZSFzzPQ==";
+ };
+ };
+ "vscode-uri-2.0.3" = {
+ name = "vscode-uri";
+ packageName = "vscode-uri";
+ version = "2.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/vscode-uri/-/vscode-uri-2.0.3.tgz";
+ sha512 = "4D3DI3F4uRy09WNtDGD93H9q034OHImxiIcSq664Hq1Y1AScehlP3qqZyTkX/RWxeu0MRMHGkrxYqm2qlDF/aw==";
+ };
+ };
+ "walker-1.0.7" = {
+ name = "walker";
+ packageName = "walker";
+ version = "1.0.7";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz";
+ sha1 = "2f7f9b8fd10d677262b18a884e28d19618e028fb";
+ };
+ };
+ "web-tree-sitter-0.15.9" = {
+ name = "web-tree-sitter";
+ packageName = "web-tree-sitter";
+ version = "0.15.9";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/web-tree-sitter/-/web-tree-sitter-0.15.9.tgz";
+ sha512 = "1lf4lnmi8oxuEzI6gpUok2FQlHXOmV1iipltkQvmR785JWnUbjhw1sZnwSCkisQP+/g/aezpMGcW3mjz0uVhMw==";
+ };
+ };
+ "which-1.3.1" = {
+ name = "which";
+ packageName = "which";
+ version = "1.3.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/which/-/which-1.3.1.tgz";
+ sha512 = "HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==";
+ };
+ };
+ "which-module-2.0.0" = {
+ name = "which-module";
+ packageName = "which-module";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz";
+ sha1 = "d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a";
+ };
+ };
+ "wrap-ansi-5.1.0" = {
+ name = "wrap-ansi";
+ packageName = "wrap-ansi";
+ version = "5.1.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz";
+ sha512 = "QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==";
+ };
+ };
+ "wrappy-1.0.2" = {
+ name = "wrappy";
+ packageName = "wrappy";
+ version = "1.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz";
+ sha1 = "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f";
+ };
+ };
+ "ws-1.1.5" = {
+ name = "ws";
+ packageName = "ws";
+ version = "1.1.5";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ws/-/ws-1.1.5.tgz";
+ sha512 = "o3KqipXNUdS7wpQzBHSe180lBGO60SoK0yVo3CYJgb2MkobuWuBX6dhkYP5ORCLd55y+SaflMOV5fqAB53ux4w==";
+ };
+ };
+ "ws-3.3.1" = {
+ name = "ws";
+ packageName = "ws";
+ version = "3.3.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ws/-/ws-3.3.1.tgz";
+ sha512 = "8A/uRMnQy8KCQsmep1m7Bk+z/+LIkeF7w+TDMLtX1iZm5Hq9HsUDmgFGaW1ACW5Cj0b2Qo7wCvRhYN2ErUVp/A==";
+ };
+ };
+ "ws-5.2.2" = {
+ name = "ws";
+ packageName = "ws";
+ version = "5.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz";
+ sha512 = "jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==";
+ };
+ };
+ "ws-6.2.1" = {
+ name = "ws";
+ packageName = "ws";
+ version = "6.2.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz";
+ sha512 = "GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==";
+ };
+ };
+ "ws-7.1.1" = {
+ name = "ws";
+ packageName = "ws";
+ version = "7.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ws/-/ws-7.1.1.tgz";
+ sha512 = "o41D/WmDeca0BqYhsr3nJzQyg9NF5X8l/UdnFNux9cS3lwB+swm8qGWX5rn+aD6xfBU3rGmtHij7g7x6LxFU3A==";
+ };
+ };
+ "ws-7.1.2" = {
+ name = "ws";
+ packageName = "ws";
+ version = "7.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/ws/-/ws-7.1.2.tgz";
+ sha512 = "gftXq3XI81cJCgkUiAVixA0raD9IVmXqsylCrjRygw4+UOOGzPoxnQ6r/CnVL9i+mDncJo94tSkyrtuuQVBmrg==";
+ };
+ };
+ "xmlbuilder-8.2.2" = {
+ name = "xmlbuilder";
+ packageName = "xmlbuilder";
+ version = "8.2.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-8.2.2.tgz";
+ sha1 = "69248673410b4ba42e1a6136551d2922335aa773";
+ };
+ };
+ "xtend-4.0.2" = {
+ name = "xtend";
+ packageName = "xtend";
+ version = "4.0.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz";
+ sha512 = "LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==";
+ };
+ };
+ "y18n-4.0.0" = {
+ name = "y18n";
+ packageName = "y18n";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz";
+ sha512 = "r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==";
+ };
+ };
+ "yallist-2.1.2" = {
+ name = "yallist";
+ packageName = "yallist";
+ version = "2.1.2";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz";
+ sha1 = "1c11f9218f076089a47dd512f93c6699a6a81d52";
+ };
+ };
+ "yallist-3.0.3" = {
+ name = "yallist";
+ packageName = "yallist";
+ version = "3.0.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/yallist/-/yallist-3.0.3.tgz";
+ sha512 = "S+Zk8DEWE6oKpV+vI3qWkaK+jSbIK86pCwe2IF/xwIpQ8jEuxpw9NyaGjmp9+BoJv5FV2piqCDcoCtStppiq2A==";
+ };
+ };
+ "yargs-13.3.0" = {
+ name = "yargs";
+ packageName = "yargs";
+ version = "13.3.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz";
+ sha512 = "2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==";
+ };
+ };
+ "yargs-parser-13.1.1" = {
+ name = "yargs-parser";
+ packageName = "yargs-parser";
+ version = "13.1.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz";
+ sha512 = "oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==";
+ };
+ };
+ "yn-2.0.0" = {
+ name = "yn";
+ packageName = "yn";
+ version = "2.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/yn/-/yn-2.0.0.tgz";
+ sha1 = "e5adabc8acf408f6385fc76495684c88e6af689a";
+ };
+ };
+ };
+in
+{
+ elm-test = nodeEnv.buildNodePackage {
+ name = "elm-test";
+ packageName = "elm-test";
+ version = "0.19.0-rev6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-test/-/elm-test-0.19.0-rev6.tgz";
+ sha512 = "Qdy9QusZF+eT0203XBiT1Y/UhFeUjcSuyyzf3iyp32dsYpAfcoDTWHjlBVjia1CyvFauESQ4pc81nKaq6snClg==";
+ };
+ dependencies = [
+ sources."ajv-6.10.2"
+ sources."ansi-styles-3.2.1"
+ (sources."anymatch-2.0.0" // {
+ dependencies = [
+ sources."normalize-path-2.1.1"
+ ];
+ })
+ sources."arr-diff-4.0.0"
+ sources."arr-flatten-1.1.0"
+ sources."arr-union-3.1.0"
+ sources."array-unique-0.3.2"
+ sources."asn1-0.2.4"
+ sources."assert-plus-1.0.0"
+ sources."assign-symbols-1.0.0"
+ sources."async-each-1.0.3"
+ sources."asynckit-0.4.0"
+ sources."atob-2.1.2"
+ sources."aws-sign2-0.7.0"
+ sources."aws4-1.8.0"
+ sources."balanced-match-1.0.0"
+ (sources."base-0.11.2" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ ];
+ })
+ sources."bcrypt-pbkdf-1.0.2"
+ sources."binary-0.3.0"
+ sources."binary-extensions-1.13.1"
+ sources."binwrap-0.2.2"
+ sources."bluebird-3.5.5"
+ sources."brace-expansion-1.1.11"
+ (sources."braces-2.3.2" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ sources."buffers-0.1.1"
+ sources."cache-base-1.0.1"
+ sources."caseless-0.12.0"
+ sources."chainsaw-0.1.0"
+ sources."chalk-2.1.0"
+ (sources."chokidar-2.1.2" // {
+ dependencies = [
+ sources."fsevents-1.2.9"
+ ];
+ })
+ sources."chownr-1.1.2"
+ (sources."class-utils-0.3.6" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."collection-visit-1.0.0"
+ sources."color-convert-1.9.3"
+ sources."color-name-1.1.3"
+ sources."combined-stream-1.0.8"
+ sources."component-emitter-1.3.0"
+ sources."concat-map-0.0.1"
+ sources."copy-descriptor-0.1.1"
+ sources."core-util-is-1.0.2"
+ sources."cross-spawn-4.0.0"
+ sources."dashdash-1.14.1"
+ sources."debug-2.6.9"
+ sources."decode-uri-component-0.2.0"
+ sources."define-property-2.0.2"
+ sources."delayed-stream-1.0.0"
+ sources."ecc-jsbn-0.1.2"
+ sources."elmi-to-json-0.19.1"
+ sources."escape-string-regexp-1.0.5"
+ (sources."expand-brackets-2.1.4" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."extend-shallow-2.0.1"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."is-extendable-0.1.1"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."extend-3.0.2"
+ sources."extend-shallow-3.0.2"
+ (sources."extglob-2.0.4" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ sources."extsprintf-1.3.0"
+ sources."fast-deep-equal-2.0.1"
+ sources."fast-json-stable-stringify-2.0.0"
+ (sources."fill-range-4.0.0" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ (sources."find-elm-dependencies-2.0.1" // {
+ dependencies = [
+ sources."firstline-1.2.0"
+ ];
+ })
+ sources."find-parent-dir-0.3.0"
+ sources."firstline-1.2.1"
+ sources."for-in-1.0.2"
+ sources."forever-agent-0.6.1"
+ sources."form-data-2.3.3"
+ sources."fragment-cache-0.2.1"
+ sources."fs-extra-0.30.0"
+ sources."fs-minipass-1.2.6"
+ sources."fs.realpath-1.0.0"
+ sources."fsevents-1.2.4"
+ sources."get-value-2.0.6"
+ sources."getpass-0.1.7"
+ sources."glob-7.1.1"
+ (sources."glob-parent-3.1.0" // {
+ dependencies = [
+ sources."is-glob-3.1.0"
+ ];
+ })
+ sources."graceful-fs-4.2.2"
+ sources."har-schema-2.0.0"
+ sources."har-validator-5.1.3"
+ sources."has-flag-2.0.0"
+ sources."has-value-1.0.0"
+ (sources."has-values-1.0.0" // {
+ dependencies = [
+ sources."kind-of-4.0.0"
+ ];
+ })
+ sources."http-signature-1.2.0"
+ sources."inflight-1.0.6"
+ sources."inherits-2.0.4"
+ sources."is-accessor-descriptor-1.0.0"
+ sources."is-binary-path-1.0.1"
+ sources."is-buffer-1.1.6"
+ sources."is-data-descriptor-1.0.0"
+ sources."is-descriptor-1.0.2"
+ sources."is-extendable-1.0.1"
+ sources."is-extglob-2.1.1"
+ sources."is-glob-4.0.1"
+ (sources."is-number-3.0.0" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-plain-object-2.0.4"
+ sources."is-typedarray-1.0.0"
+ sources."is-windows-1.0.2"
+ sources."isarray-1.0.0"
+ sources."isexe-2.0.0"
+ sources."isobject-3.0.1"
+ sources."isstream-0.1.2"
+ sources."jsbn-0.1.1"
+ sources."json-schema-0.2.3"
+ sources."json-schema-traverse-0.4.1"
+ sources."json-stringify-safe-5.0.1"
+ sources."jsonfile-2.4.0"
+ sources."jsprim-1.4.1"
+ sources."kind-of-6.0.2"
+ sources."klaw-1.3.1"
+ sources."lodash-4.17.11"
+ sources."lru-cache-4.1.5"
+ sources."map-cache-0.2.2"
+ sources."map-visit-1.0.0"
+ sources."micromatch-3.1.10"
+ sources."mime-db-1.40.0"
+ sources."mime-types-2.1.24"
+ sources."minimatch-3.0.4"
+ sources."minimist-1.2.0"
+ (sources."minipass-2.5.1" // {
+ dependencies = [
+ sources."yallist-3.0.3"
+ ];
+ })
+ sources."minizlib-1.2.2"
+ sources."mixin-deep-1.3.2"
+ (sources."mkdirp-0.5.1" // {
+ dependencies = [
+ sources."minimist-0.0.8"
+ ];
+ })
+ sources."ms-2.0.0"
+ sources."murmur-hash-js-1.0.0"
+ sources."mustache-3.1.0"
+ sources."nan-2.14.0"
+ sources."nanomatch-1.2.13"
+ sources."node-elm-compiler-5.0.3"
+ sources."normalize-path-3.0.0"
+ sources."oauth-sign-0.9.0"
+ (sources."object-copy-0.1.0" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."is-accessor-descriptor-0.1.6"
+ sources."is-data-descriptor-0.1.4"
+ (sources."is-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."object-visit-1.0.1"
+ sources."object.pick-1.3.0"
+ sources."once-1.4.0"
+ sources."os-tmpdir-1.0.2"
+ sources."pascalcase-0.1.1"
+ sources."path-dirname-1.0.2"
+ sources."path-is-absolute-1.0.1"
+ sources."performance-now-2.1.0"
+ sources."posix-character-classes-0.1.1"
+ sources."process-nextick-args-2.0.1"
+ sources."pseudomap-1.0.2"
+ sources."psl-1.4.0"
+ sources."punycode-2.1.1"
+ sources."qs-6.5.2"
+ sources."readable-stream-2.3.6"
+ sources."readdirp-2.2.1"
+ sources."regex-not-1.0.2"
+ sources."remove-trailing-separator-1.1.0"
+ sources."repeat-element-1.1.3"
+ sources."repeat-string-1.6.1"
+ sources."request-2.88.0"
+ sources."request-promise-4.2.4"
+ sources."request-promise-core-1.1.2"
+ sources."resolve-url-0.2.1"
+ sources."ret-0.1.15"
+ (sources."rimraf-2.7.1" // {
+ dependencies = [
+ sources."glob-7.1.4"
+ ];
+ })
+ sources."safe-buffer-5.1.2"
+ sources."safe-regex-1.1.0"
+ sources."safer-buffer-2.1.2"
+ (sources."set-value-2.0.1" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ (sources."snapdragon-0.8.2" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."extend-shallow-2.0.1"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."is-extendable-0.1.1"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ (sources."snapdragon-node-2.1.1" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ ];
+ })
+ (sources."snapdragon-util-3.0.1" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."source-map-0.5.7"
+ sources."source-map-resolve-0.5.2"
+ sources."source-map-url-0.4.0"
+ sources."split-1.0.1"
+ sources."split-string-3.1.0"
+ sources."sshpk-1.16.1"
+ (sources."static-extend-0.1.2" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."stealthy-require-1.1.1"
+ sources."string_decoder-1.1.1"
+ sources."supports-color-4.2.0"
+ (sources."tar-4.4.10" // {
+ dependencies = [
+ sources."yallist-3.0.3"
+ ];
+ })
+ (sources."temp-0.8.3" // {
+ dependencies = [
+ sources."rimraf-2.2.8"
+ ];
+ })
+ sources."through-2.3.8"
+ (sources."to-object-path-0.3.0" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."to-regex-3.0.2"
+ sources."to-regex-range-2.1.1"
+ (sources."tough-cookie-2.4.3" // {
+ dependencies = [
+ sources."punycode-1.4.1"
+ ];
+ })
+ sources."traverse-0.3.9"
+ sources."tunnel-agent-0.6.0"
+ sources."tweetnacl-0.14.5"
+ (sources."union-value-1.0.1" // {
+ dependencies = [
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ (sources."unset-value-1.0.0" // {
+ dependencies = [
+ (sources."has-value-0.3.1" // {
+ dependencies = [
+ sources."isobject-2.1.0"
+ ];
+ })
+ sources."has-values-0.1.4"
+ ];
+ })
+ sources."unzip-stream-0.3.0"
+ sources."upath-1.2.0"
+ sources."uri-js-4.2.2"
+ sources."urix-0.1.0"
+ sources."use-3.1.1"
+ sources."util-deprecate-1.0.2"
+ sources."uuid-3.3.3"
+ sources."verror-1.10.0"
+ sources."which-1.3.1"
+ sources."wrappy-1.0.2"
+ sources."xmlbuilder-8.2.2"
+ sources."yallist-2.1.2"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "Run elm-test suites.";
+ homepage = "https://github.com/rtfeldman/node-test-runner#readme";
+ license = "BSD-3-Clause";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ elm-verify-examples = nodeEnv.buildNodePackage {
+ name = "elm-verify-examples";
+ packageName = "elm-verify-examples";
+ version = "4.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-verify-examples/-/elm-verify-examples-4.0.1.tgz";
+ sha512 = "YlkOLWIDnlgkKG8gnxQkKKJHkkx4MqyIXqjmYqvGPwatrPmLo46BJ2drOPHNIh43T7mh7c1K8vxrzV4seQtFUA==";
+ };
+ dependencies = [
+ sources."ajv-6.10.2"
+ sources."ansi-regex-4.1.0"
+ sources."ansi-styles-3.2.1"
+ (sources."anymatch-2.0.0" // {
+ dependencies = [
+ sources."normalize-path-2.1.1"
+ ];
+ })
+ sources."arr-diff-4.0.0"
+ sources."arr-flatten-1.1.0"
+ sources."arr-union-3.1.0"
+ sources."array-unique-0.3.2"
+ sources."asn1-0.2.4"
+ sources."assert-plus-1.0.0"
+ sources."assign-symbols-1.0.0"
+ sources."async-each-1.0.3"
+ sources."asynckit-0.4.0"
+ sources."atob-2.1.2"
+ sources."aws-sign2-0.7.0"
+ sources."aws4-1.8.0"
+ sources."balanced-match-1.0.0"
+ (sources."base-0.11.2" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ ];
+ })
+ sources."bcrypt-pbkdf-1.0.2"
+ sources."binary-0.3.0"
+ sources."binary-extensions-1.13.1"
+ sources."binwrap-0.2.2"
+ sources."bluebird-3.5.5"
+ sources."brace-expansion-1.1.11"
+ (sources."braces-2.3.2" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ sources."buffers-0.1.1"
+ sources."cache-base-1.0.1"
+ sources."camelcase-5.3.1"
+ sources."caseless-0.12.0"
+ sources."chainsaw-0.1.0"
+ sources."chalk-2.4.2"
+ (sources."chokidar-2.1.2" // {
+ dependencies = [
+ sources."fsevents-1.2.9"
+ ];
+ })
+ sources."chownr-1.1.2"
+ (sources."class-utils-0.3.6" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."cliui-5.0.0"
+ sources."collection-visit-1.0.0"
+ sources."color-convert-1.9.3"
+ sources."color-name-1.1.3"
+ sources."combined-stream-1.0.8"
+ sources."component-emitter-1.3.0"
+ sources."concat-map-0.0.1"
+ sources."copy-descriptor-0.1.1"
+ sources."core-util-is-1.0.2"
+ sources."cross-spawn-4.0.0"
+ sources."dashdash-1.14.1"
+ sources."debug-2.6.9"
+ sources."decamelize-1.2.0"
+ sources."decode-uri-component-0.2.0"
+ sources."define-property-2.0.2"
+ sources."delayed-stream-1.0.0"
+ sources."ecc-jsbn-0.1.2"
+ (sources."elm-test-0.19.0-rev6" // {
+ dependencies = [
+ sources."chalk-2.1.0"
+ sources."fs-extra-0.30.0"
+ sources."has-flag-2.0.0"
+ sources."supports-color-4.2.0"
+ ];
+ })
+ sources."elmi-to-json-0.19.1"
+ sources."emoji-regex-7.0.3"
+ sources."escape-string-regexp-1.0.5"
+ (sources."expand-brackets-2.1.4" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."extend-shallow-2.0.1"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."is-extendable-0.1.1"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."extend-3.0.2"
+ sources."extend-shallow-3.0.2"
+ (sources."extglob-2.0.4" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ sources."extsprintf-1.3.0"
+ sources."fast-deep-equal-2.0.1"
+ sources."fast-json-stable-stringify-2.0.0"
+ (sources."fill-range-4.0.0" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ (sources."find-elm-dependencies-2.0.1" // {
+ dependencies = [
+ sources."firstline-1.2.0"
+ ];
+ })
+ sources."find-parent-dir-0.3.0"
+ sources."find-up-3.0.0"
+ sources."firstline-1.2.1"
+ sources."for-in-1.0.2"
+ sources."forever-agent-0.6.1"
+ sources."form-data-2.3.3"
+ sources."fragment-cache-0.2.1"
+ (sources."fs-extra-5.0.0" // {
+ dependencies = [
+ sources."jsonfile-4.0.0"
+ ];
+ })
+ sources."fs-minipass-1.2.6"
+ sources."fs.realpath-1.0.0"
+ sources."fsevents-1.2.4"
+ sources."get-caller-file-2.0.5"
+ sources."get-value-2.0.6"
+ sources."getpass-0.1.7"
+ sources."glob-7.1.1"
+ (sources."glob-parent-3.1.0" // {
+ dependencies = [
+ sources."is-glob-3.1.0"
+ ];
+ })
+ sources."graceful-fs-4.2.2"
+ sources."har-schema-2.0.0"
+ sources."har-validator-5.1.3"
+ sources."has-flag-3.0.0"
+ sources."has-value-1.0.0"
+ (sources."has-values-1.0.0" // {
+ dependencies = [
+ sources."kind-of-4.0.0"
+ ];
+ })
+ sources."http-signature-1.2.0"
+ sources."inflight-1.0.6"
+ sources."inherits-2.0.4"
+ sources."is-accessor-descriptor-1.0.0"
+ sources."is-binary-path-1.0.1"
+ sources."is-buffer-1.1.6"
+ sources."is-data-descriptor-1.0.0"
+ sources."is-descriptor-1.0.2"
+ sources."is-extendable-1.0.1"
+ sources."is-extglob-2.1.1"
+ sources."is-fullwidth-code-point-2.0.0"
+ sources."is-glob-4.0.1"
+ (sources."is-number-3.0.0" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-plain-object-2.0.4"
+ sources."is-typedarray-1.0.0"
+ sources."is-windows-1.0.2"
+ sources."isarray-1.0.0"
+ sources."isexe-2.0.0"
+ sources."isobject-3.0.1"
+ sources."isstream-0.1.2"
+ sources."jsbn-0.1.1"
+ sources."json-schema-0.2.3"
+ sources."json-schema-traverse-0.4.1"
+ sources."json-stringify-safe-5.0.1"
+ sources."jsonfile-2.4.0"
+ sources."jsprim-1.4.1"
+ sources."kind-of-6.0.2"
+ sources."klaw-1.3.1"
+ sources."locate-path-3.0.0"
+ sources."lodash-4.17.11"
+ sources."lru-cache-4.1.5"
+ sources."map-cache-0.2.2"
+ sources."map-visit-1.0.0"
+ sources."micromatch-3.1.10"
+ sources."mime-db-1.40.0"
+ sources."mime-types-2.1.24"
+ sources."minimatch-3.0.4"
+ sources."minimist-1.2.0"
+ (sources."minipass-2.5.1" // {
+ dependencies = [
+ sources."yallist-3.0.3"
+ ];
+ })
+ sources."minizlib-1.2.2"
+ sources."mixin-deep-1.3.2"
+ (sources."mkdirp-0.5.1" // {
+ dependencies = [
+ sources."minimist-0.0.8"
+ ];
+ })
+ sources."ms-2.0.0"
+ sources."murmur-hash-js-1.0.0"
+ sources."mustache-3.1.0"
+ sources."nan-2.14.0"
+ sources."nanomatch-1.2.13"
+ sources."node-elm-compiler-5.0.3"
+ sources."normalize-path-3.0.0"
+ sources."oauth-sign-0.9.0"
+ (sources."object-copy-0.1.0" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."is-accessor-descriptor-0.1.6"
+ sources."is-data-descriptor-0.1.4"
+ (sources."is-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."object-visit-1.0.1"
+ sources."object.pick-1.3.0"
+ sources."once-1.4.0"
+ sources."os-tmpdir-1.0.2"
+ sources."p-limit-2.2.1"
+ sources."p-locate-3.0.0"
+ sources."p-try-2.2.0"
+ sources."pascalcase-0.1.1"
+ sources."path-dirname-1.0.2"
+ sources."path-exists-3.0.0"
+ sources."path-is-absolute-1.0.1"
+ sources."performance-now-2.1.0"
+ sources."posix-character-classes-0.1.1"
+ sources."process-nextick-args-2.0.1"
+ sources."pseudomap-1.0.2"
+ sources."psl-1.4.0"
+ sources."punycode-2.1.1"
+ sources."qs-6.5.2"
+ sources."readable-stream-2.3.6"
+ sources."readdirp-2.2.1"
+ sources."regex-not-1.0.2"
+ sources."remove-trailing-separator-1.1.0"
+ sources."repeat-element-1.1.3"
+ sources."repeat-string-1.6.1"
+ sources."request-2.88.0"
+ sources."request-promise-4.2.4"
+ sources."request-promise-core-1.1.2"
+ sources."require-directory-2.1.1"
+ sources."require-main-filename-2.0.0"
+ sources."resolve-url-0.2.1"
+ sources."ret-0.1.15"
+ (sources."rimraf-2.7.1" // {
+ dependencies = [
+ sources."glob-7.1.4"
+ ];
+ })
+ sources."safe-buffer-5.1.2"
+ sources."safe-regex-1.1.0"
+ sources."safer-buffer-2.1.2"
+ sources."set-blocking-2.0.0"
+ (sources."set-value-2.0.1" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ (sources."snapdragon-0.8.2" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."extend-shallow-2.0.1"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."is-extendable-0.1.1"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ (sources."snapdragon-node-2.1.1" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ ];
+ })
+ (sources."snapdragon-util-3.0.1" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."source-map-0.5.7"
+ sources."source-map-resolve-0.5.2"
+ sources."source-map-url-0.4.0"
+ sources."split-1.0.1"
+ sources."split-string-3.1.0"
+ sources."sshpk-1.16.1"
+ (sources."static-extend-0.1.2" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."stealthy-require-1.1.1"
+ sources."string-width-3.1.0"
+ sources."string_decoder-1.1.1"
+ sources."strip-ansi-5.2.0"
+ sources."supports-color-5.5.0"
+ (sources."tar-4.4.10" // {
+ dependencies = [
+ sources."yallist-3.0.3"
+ ];
+ })
+ (sources."temp-0.8.3" // {
+ dependencies = [
+ sources."rimraf-2.2.8"
+ ];
+ })
+ sources."through-2.3.8"
+ (sources."to-object-path-0.3.0" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."to-regex-3.0.2"
+ sources."to-regex-range-2.1.1"
+ (sources."tough-cookie-2.4.3" // {
+ dependencies = [
+ sources."punycode-1.4.1"
+ ];
+ })
+ sources."traverse-0.3.9"
+ sources."tunnel-agent-0.6.0"
+ sources."tweetnacl-0.14.5"
+ (sources."union-value-1.0.1" // {
+ dependencies = [
+ sources."is-extendable-0.1.1"
+ ];
+ })
+ sources."universalify-0.1.2"
+ (sources."unset-value-1.0.0" // {
+ dependencies = [
+ (sources."has-value-0.3.1" // {
+ dependencies = [
+ sources."isobject-2.1.0"
+ ];
+ })
+ sources."has-values-0.1.4"
+ ];
+ })
+ sources."unzip-stream-0.3.0"
+ sources."upath-1.2.0"
+ sources."uri-js-4.2.2"
+ sources."urix-0.1.0"
+ sources."use-3.1.1"
+ sources."util-deprecate-1.0.2"
+ sources."uuid-3.3.3"
+ sources."verror-1.10.0"
+ sources."which-1.3.1"
+ sources."which-module-2.0.0"
+ sources."wrap-ansi-5.1.0"
+ sources."wrappy-1.0.2"
+ sources."xmlbuilder-8.2.2"
+ sources."y18n-4.0.0"
+ sources."yallist-2.1.2"
+ sources."yargs-13.3.0"
+ sources."yargs-parser-13.1.1"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "Verify examples in Elm doc-comments";
+ license = "BSD-3-Clause";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ elm-doc-preview = nodeEnv.buildNodePackage {
+ name = "elm-doc-preview";
+ packageName = "elm-doc-preview";
+ version = "3.0.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-doc-preview/-/elm-doc-preview-3.0.1.tgz";
+ sha512 = "NpAgEKNiYkQE932gMjFGC/BpcmUD9ohhrbSnGSoQBsC+VPRKCiGdmLJUiql/aPC2eXYIlWQJ5YJ5rFWI0iovbw==";
+ };
+ dependencies = [
+ sources."@cnakazawa/watch-1.0.3"
+ sources."@sindresorhus/is-0.7.0"
+ sources."accepts-1.3.7"
+ sources."ansi-styles-3.2.1"
+ sources."anymatch-2.0.0"
+ sources."arr-diff-4.0.0"
+ sources."arr-flatten-1.1.0"
+ sources."arr-union-3.1.0"
+ sources."array-flatten-1.1.1"
+ sources."array-unique-0.3.2"
+ sources."assign-symbols-1.0.0"
+ sources."async-limiter-1.0.1"
+ sources."atob-2.1.2"
+ sources."balanced-match-1.0.0"
+ (sources."base-0.11.2" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ ];
+ })
+ sources."batch-0.6.1"
+ sources."body-parser-1.19.0"
+ sources."brace-expansion-1.1.11"
+ (sources."braces-2.3.2" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ ];
+ })
+ sources."bser-2.1.0"
+ sources."bytes-3.1.0"
+ sources."cache-base-1.0.1"
+ (sources."cacheable-request-2.1.4" // {
+ dependencies = [
+ sources."lowercase-keys-1.0.0"
+ ];
+ })
+ sources."capture-exit-2.0.0"
+ sources."chalk-2.4.2"
+ (sources."class-utils-0.3.6" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."clone-response-1.0.2"
+ sources."collection-visit-1.0.0"
+ sources."color-convert-1.9.3"
+ sources."color-name-1.1.3"
+ sources."commander-3.0.1"
+ sources."component-emitter-1.3.0"
+ sources."concat-map-0.0.1"
+ sources."content-disposition-0.5.3"
+ sources."content-type-1.0.4"
+ sources."cookie-0.4.0"
+ sources."cookie-signature-1.0.6"
+ sources."copy-descriptor-0.1.1"
+ sources."core-js-3.2.1"
+ sources."core-util-is-1.0.2"
+ sources."cross-spawn-6.0.5"
+ sources."debug-2.6.9"
+ sources."decode-uri-component-0.2.0"
+ sources."decompress-response-3.3.0"
+ sources."deep-extend-0.6.0"
+ sources."define-properties-1.1.3"
+ sources."define-property-2.0.2"
+ sources."depd-1.1.2"
+ sources."destroy-1.0.4"
+ sources."duplexer3-0.1.4"
+ sources."ee-first-1.1.1"
+ sources."encodeurl-1.0.2"
+ sources."end-of-stream-1.4.1"
+ sources."es-abstract-1.14.2"
+ sources."es-to-primitive-1.2.0"
+ sources."escape-html-1.0.3"
+ sources."escape-string-regexp-1.0.5"
+ sources."etag-1.8.1"
+ sources."exec-sh-0.3.2"
+ (sources."execa-1.0.0" // {
+ dependencies = [
+ sources."get-stream-4.1.0"
+ ];
+ })
+ (sources."expand-brackets-2.1.4" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."extend-shallow-2.0.1"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."express-4.17.1"
+ (sources."express-ws-4.0.0" // {
+ dependencies = [
+ sources."ws-5.2.2"
+ ];
+ })
+ (sources."extend-shallow-3.0.2" // {
+ dependencies = [
+ sources."is-extendable-1.0.1"
+ ];
+ })
+ (sources."extglob-2.0.4" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ sources."extend-shallow-2.0.1"
+ ];
+ })
+ sources."fb-watchman-2.0.0"
+ (sources."fill-range-4.0.0" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ ];
+ })
+ sources."finalhandler-1.1.2"
+ sources."for-in-1.0.2"
+ sources."forwarded-0.1.2"
+ sources."fragment-cache-0.2.1"
+ sources."fresh-0.5.2"
+ sources."from2-2.3.0"
+ sources."fs.realpath-1.0.0"
+ sources."function-bind-1.1.1"
+ sources."get-stream-3.0.0"
+ sources."get-value-2.0.6"
+ sources."glob-7.1.4"
+ sources."got-8.3.2"
+ sources."has-1.0.3"
+ sources."has-flag-3.0.0"
+ sources."has-symbol-support-x-1.4.2"
+ sources."has-symbols-1.0.0"
+ sources."has-to-string-tag-x-1.4.1"
+ sources."has-value-1.0.0"
+ (sources."has-values-1.0.0" // {
+ dependencies = [
+ sources."kind-of-4.0.0"
+ ];
+ })
+ sources."http-cache-semantics-3.8.1"
+ sources."http-errors-1.7.2"
+ sources."iconv-lite-0.4.24"
+ sources."inflight-1.0.6"
+ sources."inherits-2.0.3"
+ sources."ini-1.3.5"
+ sources."into-stream-3.1.0"
+ sources."ipaddr.js-1.9.0"
+ sources."is-accessor-descriptor-1.0.0"
+ sources."is-buffer-1.1.6"
+ sources."is-callable-1.1.4"
+ sources."is-data-descriptor-1.0.0"
+ sources."is-date-object-1.0.1"
+ sources."is-descriptor-1.0.2"
+ sources."is-extendable-0.1.1"
+ (sources."is-number-3.0.0" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-object-1.0.1"
+ sources."is-plain-obj-1.1.0"
+ sources."is-plain-object-2.0.4"
+ sources."is-regex-1.0.4"
+ sources."is-retry-allowed-1.2.0"
+ sources."is-stream-1.1.0"
+ sources."is-symbol-1.0.2"
+ sources."is-windows-1.0.2"
+ sources."is-wsl-1.1.0"
+ sources."isarray-1.0.0"
+ sources."isexe-2.0.0"
+ sources."isobject-3.0.1"
+ sources."isurl-1.0.0"
+ sources."json-buffer-3.0.0"
+ sources."keyv-3.0.0"
+ sources."kind-of-6.0.2"
+ sources."latest-version-4.0.0"
+ sources."lowercase-keys-1.0.1"
+ sources."makeerror-1.0.11"
+ sources."map-cache-0.2.2"
+ sources."map-visit-1.0.0"
+ sources."media-typer-0.3.0"
+ sources."merge-descriptors-1.0.1"
+ sources."methods-1.1.2"
+ sources."micromatch-3.1.10"
+ sources."mime-1.6.0"
+ sources."mime-db-1.40.0"
+ sources."mime-types-2.1.24"
+ sources."mimic-response-1.0.1"
+ sources."minimatch-3.0.4"
+ sources."minimist-1.2.0"
+ (sources."mixin-deep-1.3.2" // {
+ dependencies = [
+ sources."is-extendable-1.0.1"
+ ];
+ })
+ sources."ms-2.0.0"
+ sources."nanomatch-1.2.13"
+ sources."negotiator-0.6.2"
+ sources."nice-try-1.0.5"
+ sources."node-int64-0.4.0"
+ sources."normalize-path-2.1.1"
+ sources."normalize-url-2.0.1"
+ sources."npm-run-path-2.0.2"
+ sources."npx-10.2.0"
+ sources."object-assign-4.1.1"
+ (sources."object-copy-0.1.0" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."is-accessor-descriptor-0.1.6"
+ sources."is-data-descriptor-0.1.4"
+ (sources."is-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."object-inspect-1.6.0"
+ sources."object-keys-1.1.1"
+ sources."object-visit-1.0.1"
+ sources."object.getownpropertydescriptors-2.0.3"
+ sources."object.pick-1.3.0"
+ sources."on-finished-2.3.0"
+ sources."once-1.4.0"
+ sources."opn-5.5.0"
+ sources."p-cancelable-0.4.1"
+ sources."p-finally-1.0.0"
+ sources."p-is-promise-1.1.0"
+ sources."p-timeout-2.0.1"
+ sources."package-json-5.0.0"
+ sources."parseurl-1.3.3"
+ sources."pascalcase-0.1.1"
+ sources."path-is-absolute-1.0.1"
+ sources."path-key-2.0.1"
+ sources."path-to-regexp-0.1.7"
+ sources."pify-3.0.0"
+ sources."posix-character-classes-0.1.1"
+ sources."prepend-http-2.0.0"
+ sources."process-nextick-args-2.0.1"
+ sources."proxy-addr-2.0.5"
+ sources."pump-3.0.0"
+ sources."qs-6.7.0"
+ sources."query-string-5.1.1"
+ sources."range-parser-1.2.1"
+ sources."raw-body-2.4.0"
+ sources."rc-1.2.8"
+ sources."readable-stream-2.3.6"
+ sources."regex-not-1.0.2"
+ sources."registry-auth-token-3.4.0"
+ sources."registry-url-3.1.0"
+ sources."remove-trailing-separator-1.1.0"
+ sources."repeat-element-1.1.3"
+ sources."repeat-string-1.6.1"
+ sources."resolve-url-0.2.1"
+ sources."responselike-1.0.2"
+ sources."ret-0.1.15"
+ sources."rimraf-2.7.1"
+ sources."rsvp-4.8.5"
+ sources."safe-buffer-5.1.2"
+ sources."safe-regex-1.1.0"
+ sources."safer-buffer-2.1.2"
+ sources."sane-4.1.0"
+ sources."semver-5.7.1"
+ (sources."send-0.17.1" // {
+ dependencies = [
+ sources."ms-2.1.1"
+ ];
+ })
+ (sources."serve-index-1.9.1" // {
+ dependencies = [
+ sources."http-errors-1.6.3"
+ sources."setprototypeof-1.1.0"
+ ];
+ })
+ sources."serve-static-1.14.1"
+ (sources."set-value-2.0.1" // {
+ dependencies = [
+ sources."extend-shallow-2.0.1"
+ ];
+ })
+ sources."setprototypeof-1.1.1"
+ sources."shebang-command-1.2.0"
+ sources."shebang-regex-1.0.0"
+ sources."signal-exit-3.0.2"
+ (sources."snapdragon-0.8.2" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ sources."extend-shallow-2.0.1"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ (sources."snapdragon-node-2.1.1" // {
+ dependencies = [
+ sources."define-property-1.0.0"
+ ];
+ })
+ (sources."snapdragon-util-3.0.1" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."sort-keys-2.0.0"
+ sources."source-map-0.5.7"
+ sources."source-map-resolve-0.5.2"
+ sources."source-map-url-0.4.0"
+ sources."split-string-3.1.0"
+ (sources."static-extend-0.1.2" // {
+ dependencies = [
+ sources."define-property-0.2.5"
+ (sources."is-accessor-descriptor-0.1.6" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ (sources."is-data-descriptor-0.1.4" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."is-descriptor-0.1.6"
+ sources."kind-of-5.1.0"
+ ];
+ })
+ sources."statuses-1.5.0"
+ sources."strict-uri-encode-1.1.0"
+ sources."string.prototype.trimleft-2.1.0"
+ sources."string.prototype.trimright-2.1.0"
+ sources."string_decoder-1.1.1"
+ sources."strip-eof-1.0.0"
+ sources."strip-json-comments-2.0.1"
+ sources."supports-color-5.5.0"
+ sources."timed-out-4.0.1"
+ sources."tmp-0.1.0"
+ sources."tmpl-1.0.4"
+ (sources."to-object-path-0.3.0" // {
+ dependencies = [
+ sources."kind-of-3.2.2"
+ ];
+ })
+ sources."to-regex-3.0.2"
+ sources."to-regex-range-2.1.1"
+ sources."toidentifier-1.0.0"
+ sources."type-is-1.6.18"
+ sources."union-value-1.0.1"
+ sources."unpipe-1.0.0"
+ (sources."unset-value-1.0.0" // {
+ dependencies = [
+ (sources."has-value-0.3.1" // {
+ dependencies = [
+ sources."isobject-2.1.0"
+ ];
+ })
+ sources."has-values-0.1.4"
+ ];
+ })
+ sources."urix-0.1.0"
+ sources."url-parse-lax-3.0.0"
+ sources."url-to-options-1.0.1"
+ sources."use-3.1.1"
+ sources."util-deprecate-1.0.2"
+ sources."util.promisify-1.0.0"
+ sources."utils-merge-1.0.1"
+ sources."vary-1.1.2"
+ sources."walker-1.0.7"
+ sources."which-1.3.1"
+ sources."wrappy-1.0.2"
+ sources."ws-6.2.1"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "Elm offline documentation previewer with hot reloading.";
+ homepage = "https://github.com/dmy/elm-doc-preview#readme";
+ license = "BSD-3-Clause";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ elm-upgrade = nodeEnv.buildNodePackage {
+ name = "elm-upgrade";
+ packageName = "elm-upgrade";
+ version = "0.19.6";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-upgrade/-/elm-upgrade-0.19.6.tgz";
+ sha512 = "i7+z/6uAqKxOUD58nwyAJJGUCNKG7/wTBY1qBanveFSaQuX5vrfhQNH/3NWIGCufGoW3QEyADGhaLhAxNPVs5Q==";
+ };
+ dependencies = [
+ sources."balanced-match-1.0.0"
+ sources."bindings-1.5.0"
+ sources."brace-expansion-1.1.11"
+ sources."capture-stack-trace-1.0.1"
+ sources."caw-2.0.1"
+ sources."concat-map-0.0.1"
+ sources."config-chain-1.1.12"
+ sources."create-error-class-3.0.2"
+ sources."duplexer3-0.1.4"
+ sources."file-uri-to-path-1.0.0"
+ sources."fs-extra-0.30.0"
+ sources."fs.realpath-1.0.0"
+ sources."get-proxy-2.1.0"
+ sources."get-stream-3.0.0"
+ sources."glob-7.1.4"
+ sources."got-6.7.1"
+ sources."graceful-fs-4.2.2"
+ sources."has-symbol-support-x-1.4.2"
+ sources."has-to-string-tag-x-1.4.1"
+ sources."inflight-1.0.6"
+ sources."inherits-2.0.4"
+ sources."ini-1.3.5"
+ sources."is-object-1.0.1"
+ sources."is-redirect-1.0.0"
+ sources."is-retry-allowed-1.2.0"
+ sources."is-stream-1.1.0"
+ sources."isexe-2.0.0"
+ sources."isurl-1.0.0"
+ sources."jsonfile-2.4.0"
+ sources."klaw-1.3.1"
+ sources."lowercase-keys-1.0.1"
+ sources."minimatch-3.0.4"
+ sources."nan-2.14.0"
+ sources."npm-conf-1.1.3"
+ sources."once-1.4.0"
+ sources."path-is-absolute-1.0.1"
+ sources."pify-3.0.0"
+ sources."prepend-http-1.0.4"
+ sources."proto-list-1.2.4"
+ sources."rimraf-2.7.1"
+ sources."safe-buffer-5.2.0"
+ sources."safename-1.0.2"
+ sources."semver-5.7.1"
+ sources."syncprompt-2.0.0"
+ sources."timed-out-4.0.1"
+ sources."tunnel-agent-0.6.0"
+ sources."unzip-response-2.0.1"
+ sources."url-parse-lax-1.0.0"
+ sources."url-to-options-1.0.1"
+ sources."which-1.3.1"
+ sources."wrappy-1.0.2"
+ sources."yn-2.0.0"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "Upgrade Elm projects";
+ homepage = "https://github.com/avh4/elm-upgrade#readme";
+ license = "MIT";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ "elm-analyse-0.16.3" = nodeEnv.buildNodePackage {
+ name = "elm-analyse";
+ packageName = "elm-analyse";
+ version = "0.16.3";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-analyse/-/elm-analyse-0.16.3.tgz";
+ sha512 = "JFlGT0d6v3EPk1UnB5xb6VYWrKzwGD76wBwr2R0xwA3T6Rju7zEnzfs8LiBo+b3gSH5cmRDfnK9BLRFiosWEfQ==";
+ };
+ dependencies = [
+ sources."accepts-1.3.7"
+ sources."ajv-6.10.2"
+ sources."array-flatten-1.1.1"
+ sources."asn1-0.2.4"
+ sources."assert-plus-1.0.0"
+ sources."async-limiter-1.0.1"
+ sources."asynckit-0.4.0"
+ sources."aws-sign2-0.7.0"
+ sources."aws4-1.8.0"
+ sources."babel-runtime-6.18.0"
+ sources."bcrypt-pbkdf-1.0.2"
+ sources."body-parser-1.18.2"
+ sources."bytes-3.0.0"
+ sources."caseless-0.12.0"
+ sources."combined-stream-1.0.8"
+ sources."concat-stream-1.5.2"
+ sources."content-disposition-0.5.2"
+ sources."content-type-1.0.4"
+ sources."cookie-0.3.1"
+ sources."cookie-signature-1.0.6"
+ sources."core-js-2.6.9"
+ sources."core-util-is-1.0.2"
+ sources."dashdash-1.14.1"
+ sources."debug-2.6.9"
+ sources."delayed-stream-1.0.0"
+ sources."depd-1.1.2"
+ sources."destroy-1.0.4"
+ sources."ecc-jsbn-0.1.2"
+ sources."ee-first-1.1.1"
+ sources."encodeurl-1.0.2"
+ sources."escape-html-1.0.3"
+ sources."etag-1.8.1"
+ sources."express-4.16.3"
+ (sources."express-ws-2.0.0" // {
+ dependencies = [
+ sources."ws-1.1.5"
+ ];
+ })
+ sources."extend-3.0.2"
+ sources."extsprintf-1.3.0"
+ sources."fast-deep-equal-2.0.1"
+ sources."fast-json-stable-stringify-2.0.0"
+ sources."finalhandler-1.1.1"
+ sources."find-0.2.7"
+ sources."forever-agent-0.6.1"
+ sources."form-data-2.3.3"
+ sources."forwarded-0.1.2"
+ sources."fresh-0.5.2"
+ sources."fs-extra-2.0.0"
+ sources."getpass-0.1.7"
+ sources."graceful-fs-4.2.2"
+ sources."har-schema-2.0.0"
+ sources."har-validator-5.1.3"
+ sources."http-errors-1.6.3"
+ sources."http-signature-1.2.0"
+ sources."iconv-lite-0.4.19"
+ sources."inherits-2.0.3"
+ sources."ipaddr.js-1.9.0"
+ sources."is-stream-1.1.0"
+ sources."is-typedarray-1.0.0"
+ sources."is-wsl-1.1.0"
+ sources."isarray-1.0.0"
+ sources."isstream-0.1.2"
+ sources."jsbn-0.1.1"
+ sources."json-schema-0.2.3"
+ sources."json-schema-traverse-0.4.1"
+ sources."json-stringify-safe-5.0.1"
+ sources."jsonfile-2.4.0"
+ sources."jsprim-1.4.1"
+ sources."lodash-4.17.11"
+ sources."media-typer-0.3.0"
+ sources."merge-descriptors-1.0.1"
+ sources."methods-1.1.2"
+ sources."mime-1.4.1"
+ sources."mime-db-1.40.0"
+ sources."mime-types-2.1.24"
+ sources."minimist-1.2.0"
+ sources."ms-2.0.0"
+ sources."negotiator-0.6.2"
+ sources."node-watch-0.5.5"
+ sources."oauth-sign-0.9.0"
+ sources."on-finished-2.3.0"
+ sources."opn-5.4.0"
+ sources."options-0.0.6"
+ sources."os-homedir-1.0.2"
+ sources."os-tmpdir-1.0.2"
+ sources."parseurl-1.3.3"
+ sources."path-to-regexp-0.1.7"
+ sources."performance-now-2.1.0"
+ sources."process-nextick-args-1.0.7"
+ sources."proxy-addr-2.0.5"
+ sources."psl-1.4.0"
+ sources."punycode-2.1.1"
+ sources."qs-6.5.1"
+ sources."range-parser-1.2.1"
+ (sources."raw-body-2.3.2" // {
+ dependencies = [
+ sources."depd-1.1.1"
+ sources."http-errors-1.6.2"
+ sources."setprototypeof-1.0.3"
+ ];
+ })
+ sources."readable-stream-2.0.6"
+ sources."regenerator-runtime-0.9.6"
+ (sources."request-2.88.0" // {
+ dependencies = [
+ sources."qs-6.5.2"
+ sources."safe-buffer-5.2.0"
+ ];
+ })
+ sources."safe-buffer-5.1.1"
+ sources."safer-buffer-2.1.2"
+ sources."send-0.16.2"
+ sources."serve-static-1.13.2"
+ sources."setprototypeof-1.1.0"
+ sources."sshpk-1.16.1"
+ sources."statuses-1.4.0"
+ sources."string_decoder-0.10.31"
+ sources."sums-0.2.4"
+ sources."through2-2.0.1"
+ sources."tmp-0.0.31"
+ (sources."tough-cookie-2.4.3" // {
+ dependencies = [
+ sources."punycode-1.4.1"
+ ];
+ })
+ sources."traverse-chain-0.1.0"
+ sources."tunnel-agent-0.6.0"
+ sources."tweetnacl-0.14.5"
+ sources."type-is-1.6.18"
+ sources."typedarray-0.0.6"
+ sources."ultron-1.0.2"
+ sources."unpipe-1.0.0"
+ sources."uri-js-4.2.2"
+ sources."util-deprecate-1.0.2"
+ sources."utils-merge-1.0.1"
+ sources."uuid-3.3.3"
+ sources."vary-1.1.2"
+ sources."verror-1.10.0"
+ (sources."ws-3.3.1" // {
+ dependencies = [
+ sources."ultron-1.1.1"
+ ];
+ })
+ sources."xtend-4.0.2"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "A tool that allows you analyse your Elm code and identifies deficiencies and best practices.";
+ license = "MIT";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ elm-live = nodeEnv.buildNodePackage {
+ name = "elm-live";
+ packageName = "elm-live";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-live/-/elm-live-4.0.0.tgz";
+ sha512 = "Yf6afXvBnghRZkefxgXCf/KjCm3DlwT6lfTrjLSc5v0I0VXE2Rc5T9iqXihjg3alh9t8NwDVLL+/py8PkkdC9Q==";
+ };
+ dependencies = [
+ sources."ansi-regex-2.1.1"
+ sources."ansi-styles-2.2.1"
+ sources."anymatch-3.1.0"
+ sources."async-limiter-1.0.1"
+ sources."binary-extensions-2.0.0"
+ sources."braces-3.0.2"
+ sources."chalk-1.1.3"
+ sources."charenc-0.0.2"
+ sources."chokidar-3.0.2"
+ sources."commander-2.17.1"
+ sources."crocks-0.12.1"
+ sources."cross-spawn-5.0.1"
+ sources."crypt-0.0.2"
+ sources."debug-2.6.9"
+ sources."default-gateway-4.2.0"
+ sources."depd-1.1.2"
+ sources."destroy-1.0.4"
+ sources."ee-first-1.1.1"
+ sources."elm-hot-1.1.1"
+ sources."encodeurl-1.0.2"
+ sources."end-of-stream-1.4.1"
+ sources."es6-promisify-6.0.2"
+ sources."escape-html-1.0.3"
+ sources."escape-string-regexp-1.0.5"
+ sources."etag-1.8.1"
+ sources."eventemitter3-3.1.2"
+ (sources."execa-1.0.0" // {
+ dependencies = [
+ sources."cross-spawn-6.0.5"
+ ];
+ })
+ sources."fill-range-7.0.1"
+ sources."finalhandler-1.1.2"
+ (sources."follow-redirects-1.9.0" // {
+ dependencies = [
+ sources."debug-3.2.6"
+ sources."ms-2.1.2"
+ ];
+ })
+ sources."fresh-0.5.2"
+ sources."fsevents-2.0.7"
+ sources."get-stream-4.1.0"
+ sources."glob-parent-5.0.0"
+ sources."has-ansi-2.0.0"
+ sources."http-errors-1.7.3"
+ sources."http-proxy-1.17.0"
+ sources."inherits-2.0.4"
+ sources."internal-ip-4.3.0"
+ sources."ip-regex-2.1.0"
+ sources."ipaddr.js-1.9.1"
+ sources."is-binary-path-2.1.0"
+ sources."is-buffer-1.1.6"
+ sources."is-extglob-2.1.1"
+ sources."is-glob-4.0.1"
+ sources."is-number-7.0.0"
+ sources."is-stream-1.1.0"
+ sources."is-wsl-1.1.0"
+ sources."isexe-2.0.0"
+ sources."lru-cache-4.1.5"
+ sources."md5-2.2.1"
+ sources."mime-2.4.3"
+ sources."ms-2.0.0"
+ sources."nice-try-1.0.5"
+ sources."normalize-path-3.0.0"
+ sources."npm-run-path-2.0.2"
+ sources."on-finished-2.3.0"
+ sources."once-1.4.0"
+ sources."open-6.4.0"
+ sources."os-tmpdir-1.0.2"
+ sources."p-finally-1.0.0"
+ sources."parseurl-1.3.3"
+ sources."path-key-2.0.1"
+ sources."pem-1.14.2"
+ sources."picomatch-2.0.7"
+ sources."pseudomap-1.0.2"
+ sources."pump-3.0.0"
+ sources."range-parser-1.2.1"
+ sources."readdirp-3.1.2"
+ sources."requires-port-1.0.0"
+ sources."semver-5.7.1"
+ (sources."send-0.17.1" // {
+ dependencies = [
+ sources."mime-1.6.0"
+ sources."ms-2.1.1"
+ ];
+ })
+ sources."serve-static-1.14.1"
+ sources."setprototypeof-1.1.1"
+ sources."shebang-command-1.2.0"
+ sources."shebang-regex-1.0.0"
+ sources."signal-exit-3.0.2"
+ sources."statuses-1.5.0"
+ sources."strip-ansi-3.0.1"
+ sources."strip-eof-1.0.0"
+ sources."supports-color-2.0.0"
+ sources."to-regex-range-5.0.1"
+ sources."toidentifier-1.0.0"
+ sources."unpipe-1.0.0"
+ sources."which-1.3.1"
+ sources."wrappy-1.0.2"
+ sources."ws-7.1.1"
+ sources."yallist-2.1.2"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "A flexible dev server for Elm. Live reload included!";
+ homepage = "https://github.com/wking-io/elm-live#readme";
+ license = "MIT";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ elm-xref = nodeEnv.buildNodePackage {
+ name = "elm-xref";
+ packageName = "elm-xref";
+ version = "4.0.0";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/elm-xref/-/elm-xref-4.0.0.tgz";
+ sha512 = "9AjXLkznJBVLHHO+KErcgFMKeXe3tcudjj3PYIH6gWXG6W3PT+HF+t2zCflvgFPlhJO5H/wQCCo4rfCApltBzg==";
+ };
+ dependencies = [
+ sources."bluebird-3.5.5"
+ sources."core-util-is-1.0.2"
+ sources."fs-extra-6.0.1"
+ sources."graceful-fs-4.2.2"
+ sources."inherits-2.0.4"
+ sources."isarray-1.0.0"
+ sources."jsonfile-4.0.0"
+ sources."klaw-2.1.1"
+ sources."minimist-1.2.0"
+ sources."process-nextick-args-2.0.1"
+ sources."readable-stream-2.3.6"
+ sources."safe-buffer-5.1.2"
+ sources."semver-5.7.1"
+ sources."semver-regex-1.0.0"
+ sources."semver-sort-0.0.4"
+ sources."string_decoder-1.1.1"
+ sources."through2-2.0.5"
+ sources."universalify-0.1.2"
+ sources."util-deprecate-1.0.2"
+ sources."xtend-4.0.2"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "Cross referencing tool for Elm - find usages and unused code";
+ homepage = "https://github.com/zwilias/elm-xref#readme";
+ license = "BSD-3-Clause";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+ "@elm-tooling/elm-language-server" = nodeEnv.buildNodePackage {
+ name = "_at_elm-tooling_slash_elm-language-server";
+ packageName = "@elm-tooling/elm-language-server";
+ version = "1.4.1";
+ src = fetchurl {
+ url = "https://registry.npmjs.org/@elm-tooling/elm-language-server/-/elm-language-server-1.4.1.tgz";
+ sha512 = "gzN/ee5JfQmg/+2xFq49zRN62ZFeMTu5A0unwQpOf3qLZa8Rz7no6OIaCnl6nEkNsaoAjvZxv1aFJOd2TtNtFw==";
+ };
+ dependencies = [
+ sources."@nodelib/fs.scandir-2.1.2"
+ sources."@nodelib/fs.stat-2.0.2"
+ sources."@nodelib/fs.walk-1.2.3"
+ sources."@types/events-3.0.0"
+ sources."@types/glob-7.1.1"
+ sources."@types/minimatch-3.0.3"
+ sources."@types/node-12.7.5"
+ sources."accepts-1.3.7"
+ sources."ajv-6.10.2"
+ sources."array-flatten-1.1.1"
+ sources."array-union-2.1.0"
+ sources."asn1-0.2.4"
+ sources."assert-plus-1.0.0"
+ sources."async-limiter-1.0.1"
+ sources."asynckit-0.4.0"
+ sources."aws-sign2-0.7.0"
+ sources."aws4-1.8.0"
+ sources."babel-runtime-6.18.0"
+ sources."balanced-match-1.0.0"
+ sources."bcrypt-pbkdf-1.0.2"
+ sources."body-parser-1.18.2"
+ sources."brace-expansion-1.1.11"
+ sources."braces-3.0.2"
+ sources."bytes-3.0.0"
+ sources."caseless-0.12.0"
+ sources."combined-stream-1.0.8"
+ sources."concat-map-0.0.1"
+ sources."concat-stream-1.5.2"
+ sources."content-disposition-0.5.2"
+ sources."content-type-1.0.4"
+ sources."cookie-0.3.1"
+ sources."cookie-signature-1.0.6"
+ sources."core-js-2.6.9"
+ sources."core-util-is-1.0.2"
+ sources."cross-spawn-6.0.5"
+ sources."dashdash-1.14.1"
+ sources."debug-2.6.9"
+ sources."delayed-stream-1.0.0"
+ sources."depd-1.1.2"
+ sources."destroy-1.0.4"
+ sources."dir-glob-3.0.1"
+ sources."ecc-jsbn-0.1.2"
+ sources."ee-first-1.1.1"
+ (sources."elm-analyse-git://github.com/elm-tooling/elm-analyse#f2a983fc7bab262a3e44b46732735d8510d18876" // {
+ dependencies = [
+ sources."ultron-1.1.1"
+ sources."ws-3.3.1"
+ ];
+ })
+ sources."encodeurl-1.0.2"
+ sources."end-of-stream-1.4.1"
+ sources."escape-html-1.0.3"
+ sources."etag-1.8.1"
+ (sources."execa-2.0.4" // {
+ dependencies = [
+ sources."is-stream-2.0.0"
+ ];
+ })
+ sources."express-4.16.3"
+ (sources."express-ws-2.0.0" // {
+ dependencies = [
+ sources."ws-1.1.5"
+ ];
+ })
+ sources."extend-3.0.2"
+ sources."extsprintf-1.3.0"
+ sources."fast-deep-equal-2.0.1"
+ sources."fast-diff-1.2.0"
+ sources."fast-glob-3.0.4"
+ sources."fast-json-stable-stringify-2.0.0"
+ sources."fastq-1.6.0"
+ sources."fill-range-7.0.1"
+ sources."finalhandler-1.1.1"
+ sources."find-0.2.7"
+ sources."forever-agent-0.6.1"
+ sources."form-data-2.3.3"
+ sources."forwarded-0.1.2"
+ sources."fresh-0.5.2"
+ sources."fs-extra-2.0.0"
+ sources."fs.realpath-1.0.0"
+ sources."get-stream-5.1.0"
+ sources."getpass-0.1.7"
+ sources."glob-7.1.4"
+ sources."glob-parent-5.0.0"
+ sources."globby-10.0.1"
+ sources."graceful-fs-4.2.2"
+ sources."har-schema-2.0.0"
+ sources."har-validator-5.1.3"
+ sources."http-errors-1.6.3"
+ sources."http-signature-1.2.0"
+ sources."iconv-lite-0.4.19"
+ sources."ignore-5.1.4"
+ sources."inflight-1.0.6"
+ sources."inherits-2.0.3"
+ sources."ipaddr.js-1.9.0"
+ sources."is-extglob-2.1.1"
+ sources."is-glob-4.0.1"
+ sources."is-number-7.0.0"
+ sources."is-stream-1.1.0"
+ sources."is-typedarray-1.0.0"
+ sources."is-wsl-1.1.0"
+ sources."isarray-1.0.0"
+ sources."isexe-2.0.0"
+ sources."isstream-0.1.2"
+ sources."jsbn-0.1.1"
+ sources."json-schema-0.2.3"
+ sources."json-schema-traverse-0.4.1"
+ sources."json-stringify-safe-5.0.1"
+ sources."jsonfile-2.4.0"
+ sources."jsprim-1.4.1"
+ sources."lodash-4.17.15"
+ sources."media-typer-0.3.0"
+ sources."merge-descriptors-1.0.1"
+ sources."merge-stream-2.0.0"
+ sources."merge2-1.3.0"
+ sources."methods-1.1.2"
+ sources."micromatch-4.0.2"
+ sources."mime-1.4.1"
+ sources."mime-db-1.40.0"
+ sources."mime-types-2.1.24"
+ sources."mimic-fn-2.1.0"
+ sources."minimatch-3.0.4"
+ sources."minimist-1.2.0"
+ sources."ms-2.0.0"
+ sources."negotiator-0.6.2"
+ sources."nice-try-1.0.5"
+ sources."node-watch-0.5.5"
+ (sources."npm-run-path-3.1.0" // {
+ dependencies = [
+ sources."path-key-3.1.0"
+ ];
+ })
+ sources."oauth-sign-0.9.0"
+ sources."on-finished-2.3.0"
+ sources."once-1.4.0"
+ sources."onetime-5.1.0"
+ sources."opn-5.4.0"
+ sources."options-0.0.6"
+ sources."os-homedir-1.0.2"
+ sources."os-tmpdir-1.0.2"
+ sources."p-finally-2.0.1"
+ sources."parseurl-1.3.3"
+ sources."path-is-absolute-1.0.1"
+ sources."path-key-2.0.1"
+ sources."path-to-regexp-0.1.7"
+ sources."path-type-4.0.0"
+ sources."performance-now-2.1.0"
+ sources."picomatch-2.0.7"
+ sources."process-nextick-args-1.0.7"
+ sources."proxy-addr-2.0.5"
+ sources."psl-1.4.0"
+ sources."pump-3.0.0"
+ sources."punycode-2.1.1"
+ sources."qs-6.5.1"
+ sources."range-parser-1.2.1"
+ (sources."raw-body-2.3.2" // {
+ dependencies = [
+ sources."depd-1.1.1"
+ sources."http-errors-1.6.2"
+ sources."setprototypeof-1.0.3"
+ ];
+ })
+ sources."readable-stream-2.0.6"
+ sources."regenerator-runtime-0.9.6"
+ (sources."request-2.88.0" // {
+ dependencies = [
+ sources."qs-6.5.2"
+ sources."safe-buffer-5.2.0"
+ ];
+ })
+ sources."reusify-1.0.4"
+ sources."run-parallel-1.1.9"
+ sources."rxjs-6.5.3"
+ sources."safe-buffer-5.1.1"
+ sources."safer-buffer-2.1.2"
+ sources."semver-5.7.1"
+ sources."send-0.16.2"
+ sources."serve-static-1.13.2"
+ sources."setprototypeof-1.1.0"
+ sources."shebang-command-1.2.0"
+ sources."shebang-regex-1.0.0"
+ sources."signal-exit-3.0.2"
+ sources."slash-3.0.0"
+ sources."sshpk-1.16.1"
+ sources."statuses-1.4.0"
+ sources."string_decoder-0.10.31"
+ sources."strip-final-newline-2.0.0"
+ sources."sums-0.2.4"
+ sources."through2-2.0.1"
+ sources."tmp-0.0.31"
+ sources."to-regex-range-5.0.1"
+ (sources."tough-cookie-2.4.3" // {
+ dependencies = [
+ sources."punycode-1.4.1"
+ ];
+ })
+ sources."traverse-chain-0.1.0"
+ sources."tslib-1.10.0"
+ sources."tunnel-agent-0.6.0"
+ sources."tweetnacl-0.14.5"
+ sources."type-is-1.6.18"
+ sources."typedarray-0.0.6"
+ sources."ultron-1.0.2"
+ sources."unpipe-1.0.0"
+ sources."uri-js-4.2.2"
+ sources."util-deprecate-1.0.2"
+ sources."utils-merge-1.0.1"
+ sources."uuid-3.3.3"
+ sources."vary-1.1.2"
+ sources."verror-1.10.0"
+ sources."vscode-jsonrpc-4.0.0"
+ (sources."vscode-languageserver-5.2.1" // {
+ dependencies = [
+ sources."vscode-uri-1.0.8"
+ ];
+ })
+ sources."vscode-languageserver-protocol-3.14.1"
+ sources."vscode-languageserver-types-3.14.0"
+ sources."vscode-uri-2.0.3"
+ sources."web-tree-sitter-0.15.9"
+ sources."which-1.3.1"
+ sources."wrappy-1.0.2"
+ sources."ws-7.1.2"
+ sources."xtend-4.0.2"
+ ];
+ buildInputs = globalBuildInputs;
+ meta = {
+ description = "Implementation of an elm language server in node.";
+ homepage = "https://github.com/elm-tooling/elm-language-server#readme";
+ license = "MIT";
+ };
+ production = true;
+ bypassCache = true;
+ reconstructLock = true;
+ };
+}
\ No newline at end of file
diff --git a/pkgs/development/compilers/elm/packages/patch-binwrap.nix b/pkgs/development/compilers/elm/packages/patch-binwrap.nix
new file mode 100644
index 00000000000..3a67954b78c
--- /dev/null
+++ b/pkgs/development/compilers/elm/packages/patch-binwrap.nix
@@ -0,0 +1,30 @@
+{ writeScriptBin, stdenv, lib }:
+let
+ # Patching binwrap by NoOp script
+ binwrap = writeScriptBin "binwrap" ''
+ #! ${stdenv.shell}
+ echo "binwrap called: Returning 0"
+ return 0
+ '';
+ binwrap-install = writeScriptBin "binwrap-install" ''
+ #! ${stdenv.shell}
+ echo "binwrap-install called: Doing nothing"
+ '';
+in
+targets:
+pkg:
+pkg.override {
+ buildInputs = [ binwrap binwrap-install ];
+
+ # Manually install targets
+ # by symlinking binaries into `node_modules`
+ postInstall = let
+ binFile = module: lib.strings.removeSuffix ("-" + module.version) module.name;
+ in ''
+ ${lib.concatStrings (map (module: ''
+ echo "linking ${binFile module}"
+ ln -sf ${module}/bin/${binFile module} \
+ node_modules/${binFile module}/bin/${binFile module}
+ '') targets)}
+ '';
+}
diff --git a/pkgs/development/compilers/eql/default.nix b/pkgs/development/compilers/eql/default.nix
index 1128fbe64ec..cb960227beb 100644
--- a/pkgs/development/compilers/eql/default.nix
+++ b/pkgs/development/compilers/eql/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = src.rev;
- name = "eql-git-${version}";
+ pname = "eql-git";
src = fetchgit {
rev = "9097bf98446ee33c07bb155d800395775ce0d9b2";
url = "https://gitlab.com/eql/eql.git";
diff --git a/pkgs/development/compilers/factor-lang/default.nix b/pkgs/development/compilers/factor-lang/default.nix
index 65fb8a9c82d..ef445faec92 100644
--- a/pkgs/development/compilers/factor-lang/default.nix
+++ b/pkgs/development/compilers/factor-lang/default.nix
@@ -1,13 +1,10 @@
-{ stdenv, fetchurl, glib, glibc, git,
+{ stdenv, fetchurl, glib, git,
rlwrap, curl, pkgconfig, perl, makeWrapper, tzdata, ncurses,
- pango, cairo, gtk2, gdk_pixbuf, gtkglext,
+ pango, cairo, gtk2, gdk-pixbuf, gtkglext,
mesa, xorg, openssl, unzip }:
-let
- inherit (stdenv.lib) optional;
-
-in stdenv.mkDerivation rec {
- name = "factor-lang-${version}";
+stdenv.mkDerivation rec {
+ pname = "factor-lang";
version = "0.98";
rev = "7999e72aecc3c5bc4019d43dc4697f49678cc3b4";
@@ -23,7 +20,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = with xorg; [ git rlwrap curl pkgconfig perl makeWrapper
- libX11 pango cairo gtk2 gdk_pixbuf gtkglext
+ libX11 pango cairo gtk2 gdk-pixbuf gtkglext
mesa libXmu libXt libICE libSM openssl unzip ];
buildPhase = ''
@@ -51,7 +48,7 @@ in stdenv.mkDerivation rec {
# will work only on the known libraries. There does not seem
# to be a generic solution here.
find $(echo ${stdenv.lib.makeLibraryPath (with xorg; [
- glib libX11 pango cairo gtk2 gdk_pixbuf gtkglext
+ glib libX11 pango cairo gtk2 gdk-pixbuf gtkglext
mesa libXmu libXt libICE libSM ])} | sed -e 's#:# #g') -name \*.so.\* > $TMPDIR/so.lst
(echo $(cat $TMPDIR/so.lst | wc -l) "libs found in cache \`/etc/ld.so.cache'";
@@ -72,7 +69,7 @@ in stdenv.mkDerivation rec {
cp ./factor $out/bin
wrapProgram $out/bin/factor --prefix LD_LIBRARY_PATH : \
"${stdenv.lib.makeLibraryPath (with xorg; [ glib
- libX11 pango cairo gtk2 gdk_pixbuf gtkglext
+ libX11 pango cairo gtk2 gdk-pixbuf gtkglext
mesa libXmu libXt libICE libSM openssl])}"
sed -ie 's#/bin/.factor-wrapped#/lib/factor/factor#g' $out/bin/factor
diff --git a/pkgs/development/compilers/fasm/bin.nix b/pkgs/development/compilers/fasm/bin.nix
index 7b23d4f6bcc..5353862424a 100644
--- a/pkgs/development/compilers/fasm/bin.nix
+++ b/pkgs/development/compilers/fasm/bin.nix
@@ -1,13 +1,13 @@
{ stdenvNoCC, lib, fetchurl }:
stdenvNoCC.mkDerivation rec {
- name = "fasm-bin-${version}";
+ pname = "fasm-bin";
- version = "1.73.11";
+ version = "1.73.16";
src = fetchurl {
url = "https://flatassembler.net/fasm-${version}.tgz";
- sha256 = "1zhbs72qc8bw5158zh6mvzznfamcx5a1bsmbmq9ci0d7wb58sxmg";
+ sha256 = "1jaqm7w458ny37fsw3fln17kw31rcsk8kyadci45qcbw6jspmn7k";
};
installPhase = ''
diff --git a/pkgs/development/compilers/fasm/default.nix b/pkgs/development/compilers/fasm/default.nix
index 47b90469234..f17d18bf92a 100644
--- a/pkgs/development/compilers/fasm/default.nix
+++ b/pkgs/development/compilers/fasm/default.nix
@@ -1,9 +1,9 @@
{ stdenv, lib, fasm-bin, isx86_64 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
inherit (fasm-bin) version src meta;
- name = "fasm-${version}";
+ pname = "fasm";
nativeBuildInputs = [ fasm-bin ];
diff --git a/pkgs/development/compilers/flux/default.nix b/pkgs/development/compilers/flux/default.nix
new file mode 100644
index 00000000000..c599c9f8baf
--- /dev/null
+++ b/pkgs/development/compilers/flux/default.nix
@@ -0,0 +1,21 @@
+{ stdenv, lib, fetchFromGitHub, autoreconfHook, pkgconfig }:
+
+stdenv.mkDerivation rec {
+ pname = "flux";
+ version = "2013-09-20";
+
+ src = fetchFromGitHub {
+ owner = "deniskropp";
+ repo = pname;
+ rev = "e45758aa9384b9740ff021ea952399fd113eb0e9";
+ sha256 = "11f3ypg0sdq5kj69zgz6kih1yrzgm48r16spyvzwvlswng147410";
+ };
+
+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
+
+ meta = with lib; {
+ description = "An interface description language used by DirectFB";
+ homepage = "https://github.com/deniskropp/flux";
+ license = licenses.mit;
+ };
+}
diff --git a/pkgs/development/compilers/fpc/default.nix b/pkgs/development/compilers/fpc/default.nix
index b516019ffc9..a2b73f61c27 100644
--- a/pkgs/development/compilers/fpc/default.nix
+++ b/pkgs/development/compilers/fpc/default.nix
@@ -4,7 +4,7 @@ let startFPC = import ./binary.nix { inherit stdenv fetchurl; }; in
stdenv.mkDerivation rec {
version = "3.0.0";
- name = "fpc-${version}";
+ pname = "fpc";
src = fetchurl {
url = "mirror://sourceforge/freepascal/fpcbuild-${version}.tar.gz";
diff --git a/pkgs/development/compilers/fpc/lazarus.nix b/pkgs/development/compilers/fpc/lazarus.nix
index 74ca246deb0..1b3f4d168ee 100644
--- a/pkgs/development/compilers/fpc/lazarus.nix
+++ b/pkgs/development/compilers/fpc/lazarus.nix
@@ -1,9 +1,9 @@
{ stdenv, fetchurl, makeWrapper
-, fpc, gtk2, glib, pango, atk, gdk_pixbuf
+, fpc, gtk2, glib, pango, atk, gdk-pixbuf
, libXi, xorgproto, libX11, libXext
}:
stdenv.mkDerivation rec {
- name = "lazarus-${version}";
+ pname = "lazarus";
version = "1.8.4";
src = fetchurl {
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [
fpc gtk2 glib libXi xorgproto
libX11 libXext pango atk
- stdenv.cc makeWrapper gdk_pixbuf
+ stdenv.cc makeWrapper gdk-pixbuf
];
makeFlags = [
diff --git a/pkgs/development/compilers/fsharp/default.nix b/pkgs/development/compilers/fsharp/default.nix
index 2de487cc9c8..bcb95d9ca90 100644
--- a/pkgs/development/compilers/fsharp/default.nix
+++ b/pkgs/development/compilers/fsharp/default.nix
@@ -3,7 +3,7 @@
{ stdenv, fetchurl, mono, pkgconfig, dotnetbuildhelpers, autoconf, automake, which }:
stdenv.mkDerivation rec {
- name = "fsharp-${version}";
+ pname = "fsharp";
version = "4.0.1.1";
src = fetchurl {
diff --git a/pkgs/development/compilers/fsharp41/default.nix b/pkgs/development/compilers/fsharp41/default.nix
index e0094c73098..e497deb2e87 100644
--- a/pkgs/development/compilers/fsharp41/default.nix
+++ b/pkgs/development/compilers/fsharp41/default.nix
@@ -1,14 +1,14 @@
# Temporaririly avoid dependency on dotnetbuildhelpers to avoid rebuilding many times while working on it
-{ stdenv, fetchurl, pkgconfig, autoconf, automake, which, mono, dotnetbuildhelpers, dotnetPackages }:
+{ stdenv, fetchurl, pkgconfig, autoconf, automake, which, mono, msbuild, dotnetbuildhelpers, dotnetPackages }:
stdenv.mkDerivation rec {
- name = "fsharp-${version}";
- version = "4.1.7";
+ pname = "fsharp";
+ version = "4.1.34";
src = fetchurl {
url = "https://github.com/fsharp/fsharp/archive/${version}.tar.gz";
- sha256 = "0rfkrk4mzi4w54mfqilvng9ar5swhmnwhsyjc54rx3fd0np3jiyl";
+ sha256 = "0cv6p5pin962vhbpsji40nkckkag5c96kq5qihvg60pc1z821p0i";
};
nativeBuildInputs = [ pkgconfig ];
@@ -17,12 +17,16 @@ stdenv.mkDerivation rec {
automake
which
mono
+ msbuild
dotnetbuildhelpers
dotnetPackages.FsCheck262
dotnetPackages.FSharpCompilerTools
- dotnetPackages.FSharpCore
+ dotnetPackages.FSharpCore302
+ dotnetPackages.FSharpCore3125
+ dotnetPackages.FSharpCore4001
+ dotnetPackages.FSharpCore4117
dotnetPackages.FSharpData225
- dotnetPackages.FsLexYacc704
+ dotnetPackages.FsLexYacc706
dotnetPackages.MicrosoftDiaSymReader
dotnetPackages.MicrosoftDiaSymReaderPortablePdb
dotnetPackages.NUnit350
@@ -31,6 +35,14 @@ stdenv.mkDerivation rec {
dotnetPackages.SystemValueTuple
];
+ # https://github.com/mono/mono/tree/fe0f311a848068ab2d17a9b9dd15326e5712d520/packaging/MacSDK/patches
+ # https://github.com/mono/mono/issues/7805
+ patches = [
+ ./fsharp-IsPathRooted-type-inference.patch
+ ./fsharp-string-switchName.patch
+ ./fsharp-path-overloads.patch
+ ];
+
configurePhase = ''
substituteInPlace ./autogen.sh --replace "/usr/bin/env sh" "${stdenv.shell}"
./autogen.sh --prefix $out
@@ -47,24 +59,30 @@ stdenv.mkDerivation rec {
mkdir packages
ln -s ${dotnetPackages.FsCheck262}/lib/dotnet/FsCheck packages/FsCheck.2.6.2
- ln -s ${dotnetPackages.FSharpCompilerTools}/lib/dotnet/FSharp.Compiler.Tools packages/FSharp.Compiler.Tools.4.1.4
- ln -s ${dotnetPackages.FSharpCore}/lib/dotnet/FSharp.Core/ packages/FSharp.Core.4.0.0.1
+ ln -s ${dotnetPackages.FSharpCompilerTools}/lib/dotnet/FSharp.Compiler.Tools packages/FSharp.Compiler.Tools.4.1.27
+ ln -s ${dotnetPackages.FSharpCore302}/lib/dotnet/FSharp.Core/ packages/FSharp.Core.3.0.2
+ ln -s ${dotnetPackages.FSharpCore3125}/lib/dotnet/FSharp.Core/ packages/FSharp.Core.3.1.2.5
+ ln -s ${dotnetPackages.FSharpCore4001}/lib/dotnet/FSharp.Core/ packages/FSharp.Core.4.0.0.1
+ ln -s ${dotnetPackages.FSharpCore4117}/lib/dotnet/FSharp.Core/ packages/FSharp.Core.4.1.17
ln -s ${dotnetPackages.FSharpData225}/lib/dotnet/FSharp.Data/ packages/FSharp.Data.2.2.5
- ln -s ${dotnetPackages.FsLexYacc704}/lib/dotnet/FsLexYacc/ packages/FsLexYacc.7.0.4
+ ln -s ${dotnetPackages.FsLexYacc706}/lib/dotnet/FsLexYacc/ packages/FsLexYacc.7.0.6
ln -s ${dotnetPackages.MicrosoftDiaSymReader}/lib/dotnet/Microsoft.DiaSymReader/ packages/Microsoft.DiaSymReader.1.1.0
ln -s ${dotnetPackages.MicrosoftDiaSymReaderPortablePdb}/lib/dotnet/Microsoft.DiaSymReader.PortablePdb/ packages/Microsoft.DiaSymReader.PortablePdb.1.2.0
ln -s ${dotnetPackages.NUnit350}/lib/dotnet/NUnit/ packages/NUnit.3.5.0
ln -s ${dotnetPackages.SystemCollectionsImmutable131}/lib/dotnet/System.Collections.Immutable/ packages/System.Collections.Immutable.1.3.1
ln -s ${dotnetPackages.SystemReflectionMetadata}/lib/dotnet/System.Reflection.Metadata/ packages/System.Reflection.Metadata.1.4.2
- ln -s ${dotnetPackages.SystemValueTuple}/lib/dotnet/System.ValueTuple/ packages/System.ValueTuple.4.3.0
+ ln -s ${dotnetPackages.SystemValueTuple}/lib/dotnet/System.ValueTuple/ packages/System.ValueTuple.4.3.1
'';
- # Make sure the executables use the right mono binary,
- # and set up some symlinks for backwards compatibility.
+ # Signing /home/jdanek/nix/nixpkgs/build/fss/fsharp-4.1.34/again/fsharp-4.1.34/Release/fsharp30/net40/bin/FSharp.Core.dll with Mono key
+ # ERROR: Unknown error during processing: System.UnauthorizedAccessException: Access to the path
+ # "Release/fsharp30/net40/bin/FSharp.Core.dll" is denied.
+ preInstall = ''
+ find Release/ -name FSharp.Core.dll -exec chmod u+w {} \;
+ '';
+
+ # Set up some symlinks for backwards compatibility.
postInstall = ''
- substituteInPlace $out/bin/fsharpc --replace " mono " " ${mono}/bin/mono "
- substituteInPlace $out/bin/fsharpi --replace " mono " " ${mono}/bin/mono "
- substituteInPlace $out/bin/fsharpiAnyCpu --replace " mono " " ${mono}/bin/mono "
ln -s $out/bin/fsharpc $out/bin/fsc
ln -s $out/bin/fsharpi $out/bin/fsi
for dll in "$out/lib/mono/fsharp"/FSharp*.dll
@@ -73,6 +91,26 @@ stdenv.mkDerivation rec {
done
'';
+ doInstallCheck = true;
+ installCheckPhase = ''
+ echo 'printf "int = %i" (6 * 7);;' > script.fsx
+ $out/bin/fsi --exec script.fsx | grep "int = 42"
+ $out/bin/fsharpi --exec script.fsx | grep "int = 42"
+ $out/bin/fsharpiAnyCpu --exec script.fsx | grep "int = 42"
+
+ cat > answer.fs <]
+let main argv =
+ printfn "int = %i" (6 * 7)
+ 0
+EOF
+
+ $out/bin/fsc answer.fs
+ ${mono}/bin/mono answer.exe | grep "int = 42"
+ '';
+
# To fix this error when running:
# The file "/nix/store/path/whatever.exe" is an not a valid CIL image
dontStrip = true;
diff --git a/pkgs/development/compilers/fsharp41/fsharp-IsPathRooted-type-inference.patch b/pkgs/development/compilers/fsharp41/fsharp-IsPathRooted-type-inference.patch
new file mode 100644
index 00000000000..06dd3e82adc
--- /dev/null
+++ b/pkgs/development/compilers/fsharp41/fsharp-IsPathRooted-type-inference.patch
@@ -0,0 +1,21 @@
+commit c37fce5b3019c7a150203fc3a484885591b194de
+Author: Alexis Christoforides
+Date: Sun Dec 2 00:10:24 2018 -0500
+
+ Help Path.IsPathRooted method overload selection.
+
+ .NET Core, and Mono after merging https://github.com/mono/mono/pull/11342, introduce ambiguity with a new overload.
+
+diff --git a/src/scripts/scriptlib.fsx b/src/scripts/scriptlib.fsx
+index cc797e305..699c7bb93 100644
+--- a/src/scripts/scriptlib.fsx
++++ b/src/scripts/scriptlib.fsx
+@@ -92,7 +92,7 @@ module Scripting =
+
+ module Process =
+
+- let processExePath baseDir exe =
++ let processExePath baseDir (exe:string) =
+ if Path.IsPathRooted(exe) then exe
+ else
+ match Path.GetDirectoryName(exe) with
diff --git a/pkgs/development/compilers/fsharp41/fsharp-path-overloads.patch b/pkgs/development/compilers/fsharp41/fsharp-path-overloads.patch
new file mode 100644
index 00000000000..f791317d080
--- /dev/null
+++ b/pkgs/development/compilers/fsharp41/fsharp-path-overloads.patch
@@ -0,0 +1,22 @@
+diff --git a/src/scripts/scriptlib.fsx b/src/scripts/scriptlib.fsx
+index cc797e305..ae8a6d3cc 100644
+--- a/src/scripts/scriptlib.fsx
++++ b/src/scripts/scriptlib.fsx
+@@ -59,12 +59,12 @@ module Scripting =
+
+ let (++) a b = Path.Combine(a,b)
+
+- let getBasename a = Path.GetFileNameWithoutExtension a
+- let getFullPath a = Path.GetFullPath a
+- let getFilename a = Path.GetFileName a
+- let getDirectoryName a = Path.GetDirectoryName a
++ let getBasename (path: string) = Path.GetFileNameWithoutExtension path
++ let getFullPath (path: string) = Path.GetFullPath path
++ let getFilename (path: string) = Path.GetFileName path
++ let getDirectoryName (path: string) = Path.GetDirectoryName path
+
+- let copyFile source dir =
++ let copyFile (source: string) dir =
+ let dest =
+ if not (Directory.Exists dir) then Directory.CreateDirectory dir |>ignore
+ let result = Path.Combine(dir, Path.GetFileName source)
diff --git a/pkgs/development/compilers/fsharp41/fsharp-string-switchName.patch b/pkgs/development/compilers/fsharp41/fsharp-string-switchName.patch
new file mode 100644
index 00000000000..4b36eaabcaf
--- /dev/null
+++ b/pkgs/development/compilers/fsharp41/fsharp-string-switchName.patch
@@ -0,0 +1,13 @@
+diff --git a/src/scripts/scriptlib.fsx b/src/scripts/scriptlib.fsx
+index cc797e305..5a7be7d2b 100644
+--- a/src/scripts/scriptlib.fsx
++++ b/src/scripts/scriptlib.fsx
+@@ -36,7 +36,7 @@ module Scripting =
+ #if INTERACTIVE
+ let argv = Microsoft.FSharp.Compiler.Interactive.Settings.fsi.CommandLineArgs |> Seq.skip 1 |> Seq.toArray
+
+- let getCmdLineArgOptional switchName =
++ let getCmdLineArgOptional (switchName: string) =
+ argv |> Array.filter(fun t -> t.StartsWith(switchName)) |> Array.map(fun t -> t.Remove(0, switchName.Length).Trim()) |> Array.tryHead
+
+ let getCmdLineArg switchName defaultValue =
diff --git a/pkgs/development/compilers/fstar/default.nix b/pkgs/development/compilers/fstar/default.nix
index 94836e84fd6..9306eec817f 100644
--- a/pkgs/development/compilers/fstar/default.nix
+++ b/pkgs/development/compilers/fstar/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, z3, ocamlPackages, makeWrapper }:
stdenv.mkDerivation rec {
- name = "fstar-${version}";
+ pname = "fstar";
version = "0.9.6.0";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/gambit/bootstrap.nix b/pkgs/development/compilers/gambit/bootstrap.nix
index 65cd67f527d..f00a8b6efc9 100644
--- a/pkgs/development/compilers/gambit/bootstrap.nix
+++ b/pkgs/development/compilers/gambit/bootstrap.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, autoconf, ... }:
-stdenv.mkDerivation rec {
- name = "gambit-bootstrap-${version}";
+stdenv.mkDerivation {
+ pname = "gambit-bootstrap";
version = "4.9.3";
src = fetchurl {
diff --git a/pkgs/development/compilers/gambit/build.nix b/pkgs/development/compilers/gambit/build.nix
index 65d16c48a61..7a3324d7560 100644
--- a/pkgs/development/compilers/gambit/build.nix
+++ b/pkgs/development/compilers/gambit/build.nix
@@ -1,7 +1,8 @@
{ stdenv, git, openssl, autoconf, pkgs, makeStaticLibraries, version, src }:
stdenv.mkDerivation rec {
- name = "gambit-${version}";
+ pname = "gambit";
+ inherit version;
inherit src;
bootstrap = import ./bootstrap.nix ( pkgs );
diff --git a/pkgs/development/compilers/gambit/unstable.nix b/pkgs/development/compilers/gambit/unstable.nix
index 5788f0df1da..d855b83f0af 100644
--- a/pkgs/development/compilers/gambit/unstable.nix
+++ b/pkgs/development/compilers/gambit/unstable.nix
@@ -1,13 +1,13 @@
{ stdenv, callPackage, fetchFromGitHub }:
callPackage ./build.nix {
- version = "unstable-2019-02-05";
-# git-version = "4.9.3";
+ version = "unstable-2019-07-21";
+# git-version = "4.9.3-109-g3b5f74fa";
src = fetchFromGitHub {
owner = "feeley";
repo = "gambit";
- rev = "baf7de67f6d800821412fe83a8d9e9e09faeb490";
- sha256 = "0ygm5y8fvq6dbb8mwq52v8rc8pdnwm4qpmxlnx5m9hzzbm1kzxxv";
+ rev = "3b5f74fae74b2159e3bf6923f29a18b31cc15dcc";
+ sha256 = "07cb0d8754dqhxawkp5dp4y0bsa9kfald4dkj60j5yfnsp81y5mi";
};
inherit stdenv;
}
diff --git a/pkgs/development/compilers/gcc-arm-embedded/6/default.nix b/pkgs/development/compilers/gcc-arm-embedded/6/default.nix
index 9e5a172eed8..940dec0338c 100644
--- a/pkgs/development/compilers/gcc-arm-embedded/6/default.nix
+++ b/pkgs/development/compilers/gcc-arm-embedded/6/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ncurses5, python27 }:
stdenv.mkDerivation rec {
- name = "gcc-arm-embedded-${version}";
+ pname = "gcc-arm-embedded";
version = "6-2017-q2-update";
subdir = "6-2017q2";
diff --git a/pkgs/development/compilers/gcc-arm-embedded/7/default.nix b/pkgs/development/compilers/gcc-arm-embedded/7/default.nix
index 80e042b5c2e..90f9d5957bb 100644
--- a/pkgs/development/compilers/gcc-arm-embedded/7/default.nix
+++ b/pkgs/development/compilers/gcc-arm-embedded/7/default.nix
@@ -3,7 +3,7 @@
with lib;
stdenv.mkDerivation rec {
- name = "gcc-arm-embedded-${version}";
+ pname = "gcc-arm-embedded";
version = "7-2018-q2-update";
subdir = "7-2018q2";
diff --git a/pkgs/development/compilers/gcc-arm-embedded/8/default.nix b/pkgs/development/compilers/gcc-arm-embedded/8/default.nix
index ee57dcc8c14..b2815cc7184 100644
--- a/pkgs/development/compilers/gcc-arm-embedded/8/default.nix
+++ b/pkgs/development/compilers/gcc-arm-embedded/8/default.nix
@@ -3,20 +3,20 @@
with lib;
stdenv.mkDerivation rec {
- name = "gcc-arm-embedded-${version}";
- version = "8-2018-q4-major";
- subdir = "8-2018q4";
+ pname = "gcc-arm-embedded";
+ version = "8-2019-q3-update";
+ subdir = "8-2019q3/RC1.1";
src =
if stdenv.isLinux then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-linux.tar.bz2";
- sha256="fb31fbdfe08406ece43eef5df623c0b2deb8b53e405e2c878300f7a1f303ee52";
+ sha256="b50b02b0a16e5aad8620e9d7c31110ef285c1dde28980b1a9448b764d77d8f92";
}
else if stdenv.isDarwin then
fetchurl {
url = "https://developer.arm.com/-/media/Files/downloads/gnu-rm/${subdir}/gcc-arm-none-eabi-${version}-mac.tar.bz2";
- sha256="0q44r57fizpk1z3ngcjwal3rxgsnzjyfknpgwlwzmw5r9p98wlhb";
+ sha256="fc235ce853bf3bceba46eff4b95764c5935ca07fc4998762ef5e5b7d05f37085";
}
else throw "unsupported platform";
diff --git a/pkgs/development/compilers/gcc-arm-embedded/default.nix b/pkgs/development/compilers/gcc-arm-embedded/default.nix
index 350eed2fedd..b86b35525a6 100644
--- a/pkgs/development/compilers/gcc-arm-embedded/default.nix
+++ b/pkgs/development/compilers/gcc-arm-embedded/default.nix
@@ -14,7 +14,8 @@ let
else "${majorVersion}-${year}-q${quarter}-${releaseType}"; # 4.7-2013-q3-update
in
stdenv.mkDerivation {
- name = "gcc-arm-embedded-${version}";
+ pname = "gcc-arm-embedded";
+ inherit version;
src = fetchurl {
url = "https://launchpad.net/gcc-arm-embedded/${dirName_}/${subdirName_}/+download/gcc-arm-none-eabi-${underscoreVersion}-linux.tar.bz2";
diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix
index 8fba9be4901..06c2aa838c5 100644
--- a/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/pkgs/development/compilers/gcc/4.8/default.nix
@@ -162,7 +162,7 @@ let version = "4.8.5";
in
-# We need all these X libraries when building AWT with GTK+.
+# We need all these X libraries when building AWT with GTK.
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
@@ -341,7 +341,7 @@ stdenv.mkDerivation ({
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.
#
- # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
+ # Note: When building the Java AWT GTK peer, the build system doesn't honor
# `--with-gmp' et al., e.g., when building
# `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
# them to $CPATH and $LIBRARY_PATH in this case.
diff --git a/pkgs/development/compilers/gcc/4.9/default.nix b/pkgs/development/compilers/gcc/4.9/default.nix
index 3ce5ea1f64c..ebcf20d4e09 100644
--- a/pkgs/development/compilers/gcc/4.9/default.nix
+++ b/pkgs/development/compilers/gcc/4.9/default.nix
@@ -170,7 +170,7 @@ let version = "4.9.4";
in
-# We need all these X libraries when building AWT with GTK+.
+# We need all these X libraries when building AWT with GTK.
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
@@ -354,7 +354,7 @@ stdenv.mkDerivation ({
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.
#
- # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
+ # Note: When building the Java AWT GTK peer, the build system doesn't honor
# `--with-gmp' et al., e.g., when building
# `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
# them to $CPATH and $LIBRARY_PATH in this case.
diff --git a/pkgs/development/compilers/gcc/5/default.nix b/pkgs/development/compilers/gcc/5/default.nix
index e6115b10481..0adedb6f842 100644
--- a/pkgs/development/compilers/gcc/5/default.nix
+++ b/pkgs/development/compilers/gcc/5/default.nix
@@ -157,7 +157,7 @@ let version = "5.5.0";
in
-# We need all these X libraries when building AWT with GTK+.
+# We need all these X libraries when building AWT with GTK.
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
@@ -359,7 +359,7 @@ stdenv.mkDerivation ({
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.
#
- # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
+ # Note: When building the Java AWT GTK peer, the build system doesn't honor
# `--with-gmp' et al., e.g., when building
# `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
# them to $CPATH and $LIBRARY_PATH in this case.
diff --git a/pkgs/development/compilers/gcc/6/default.nix b/pkgs/development/compilers/gcc/6/default.nix
index 7644f4d3f62..959b5e62381 100644
--- a/pkgs/development/compilers/gcc/6/default.nix
+++ b/pkgs/development/compilers/gcc/6/default.nix
@@ -156,7 +156,7 @@ let version = "6.5.0";
in
-# We need all these X libraries when building AWT with GTK+.
+# We need all these X libraries when building AWT with GTK.
assert x11Support -> (filter (x: x == null) ([ gtk2 libart_lgpl ] ++ xlibs)) == [];
stdenv.mkDerivation ({
@@ -366,7 +366,7 @@ stdenv.mkDerivation ({
# Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the
# library headers and binaries, regarless of the language being compiled.
#
- # Note: When building the Java AWT GTK+ peer, the build system doesn't honor
+ # Note: When building the Java AWT GTK peer, the build system doesn't honor
# `--with-gmp' et al., e.g., when building
# `libjava/classpath/native/jni/java-math/gnu_java_math_GMP.c', so we just add
# them to $CPATH and $LIBRARY_PATH in this case.
diff --git a/pkgs/development/compilers/gcc/8/default.nix b/pkgs/development/compilers/gcc/8/default.nix
index f5572c077f3..129ca72251f 100644
--- a/pkgs/development/compilers/gcc/8/default.nix
+++ b/pkgs/development/compilers/gcc/8/default.nix
@@ -373,6 +373,9 @@ stdenv.mkDerivation ({
stdenv.lib.platforms.freebsd ++
stdenv.lib.platforms.illumos ++
stdenv.lib.platforms.darwin;
+
+ # See #40038
+ broken = stdenv.isDarwin;
};
}
diff --git a/pkgs/development/compilers/gcc/9/default.nix b/pkgs/development/compilers/gcc/9/default.nix
index 0d75de7557b..506cfee7f49 100644
--- a/pkgs/development/compilers/gcc/9/default.nix
+++ b/pkgs/development/compilers/gcc/9/default.nix
@@ -37,7 +37,7 @@ assert langGo -> langCC;
with stdenv.lib;
with builtins;
-let version = "9.1.0";
+let version = "9.2.0";
inherit (stdenv) buildPlatform hostPlatform targetPlatform;
@@ -131,7 +131,7 @@ stdenv.mkDerivation ({
src = fetchurl {
url = "mirror://gcc/releases/gcc-${version}/gcc-${version}.tar.xz";
- sha256 = "1817nc2bqdc251k0lpc51cimna7v68xjrnvqzvc50q3ax4s6i9kr";
+ sha256 = "01mj3yk7z49i49168hg2cg7qs4bsccrrnv7pjmbdlf8j2a7z0vpa";
};
inherit patches;
diff --git a/pkgs/development/compilers/gcl/2.6.13-pre.nix b/pkgs/development/compilers/gcl/2.6.13-pre.nix
index 16450cf24ab..f4f63bc9b19 100644
--- a/pkgs/development/compilers/gcl/2.6.13-pre.nix
+++ b/pkgs/development/compilers/gcl/2.6.13-pre.nix
@@ -7,8 +7,8 @@ assert stdenv.cc.isGNU ;
assert stdenv.cc ? libc ;
assert stdenv.cc.libc != null ;
-stdenv.mkDerivation rec {
- name = "gcl-${version}";
+stdenv.mkDerivation {
+ pname = "gcl";
version = "2.6.13pre50";
src = fetchgit {
diff --git a/pkgs/development/compilers/gcl/default.nix b/pkgs/development/compilers/gcl/default.nix
index 50d397d2cd4..e3c2d0e09de 100644
--- a/pkgs/development/compilers/gcl/default.nix
+++ b/pkgs/development/compilers/gcl/default.nix
@@ -8,12 +8,12 @@ assert stdenv.cc ? libc ;
assert stdenv.cc.libc != null ;
stdenv.mkDerivation rec {
- name = "gcl-${version}";
+ pname = "gcl";
version = "2.6.12";
src = fetchurl {
sha256 = "1s4hs2qbjqmn9h88l4xvsifq5c3dlc5s74lyb61rdi5grhdlkf4f";
- url = "http://gnu.spinellicreations.com/gcl/${name}.tar.gz";
+ url = "http://gnu.spinellicreations.com/gcl/${pname}-${version}.tar.gz";
};
patches = [(fetchurl {
diff --git a/pkgs/development/compilers/gerbil/build.nix b/pkgs/development/compilers/gerbil/build.nix
index b20d6f9c47e..9ef650c330f 100644
--- a/pkgs/development/compilers/gerbil/build.nix
+++ b/pkgs/development/compilers/gerbil/build.nix
@@ -7,7 +7,8 @@
# TODO: make static compilation work
stdenv.mkDerivation rec {
- name = "gerbil-${version}";
+ pname = "gerbil";
+ inherit version;
inherit src;
# Use makeStaticLibraries to enable creation of statically linked binaries
diff --git a/pkgs/development/compilers/gerbil/unstable.nix b/pkgs/development/compilers/gerbil/unstable.nix
index 6e60ea6fea4..a9618a7e066 100644
--- a/pkgs/development/compilers/gerbil/unstable.nix
+++ b/pkgs/development/compilers/gerbil/unstable.nix
@@ -1,14 +1,14 @@
{ stdenv, callPackage, fetchFromGitHub, gambit-unstable }:
callPackage ./build.nix {
- version = "unstable-2019-02-09";
- git-version = "0.16-DEV-15-gafc20fc2";
+ version = "unstable-2019-08-11";
+ git-version = "0.16-DEV-132-gcb58f9a3";
gambit = gambit-unstable;
src = fetchFromGitHub {
owner = "vyzo";
repo = "gerbil";
- rev = "afc20fc21030e8445b46b8267cc4c52cfd662aad";
- sha256 = "02v16zya9zryjs4wallibp1kvnpba60aw15y4k7zhddc71qjfbhw";
+ rev = "cb58f9a30630a6f3e85a55f2c1dcc654f517ffed";
+ sha256 = "18jh64v1gi6z3pks9zf19f2wcjpv21cs270dnaq617kgwp53vysh";
};
inherit stdenv;
}
diff --git a/pkgs/development/compilers/gforth/default.nix b/pkgs/development/compilers/gforth/default.nix
index 675522d54ea..e90e0dc3d98 100644
--- a/pkgs/development/compilers/gforth/default.nix
+++ b/pkgs/development/compilers/gforth/default.nix
@@ -4,7 +4,8 @@ let
version = "0.7.3";
in
stdenv.mkDerivation {
- name = "gforth-${version}";
+ pname = "gforth";
+ inherit version;
src = fetchurl {
url = "https://ftp.gnu.org/gnu/gforth/gforth-${version}.tar.gz";
sha256 = "1c1bahc9ypmca8rv2dijiqbangm1d9av286904yw48ph7ciz4qig";
diff --git a/pkgs/development/compilers/ghc/8.2.2-binary.nix b/pkgs/development/compilers/ghc/8.2.2-binary.nix
index 9fe3a7d9dba..d68bf7e24b5 100644
--- a/pkgs/development/compilers/ghc/8.2.2-binary.nix
+++ b/pkgs/development/compilers/ghc/8.2.2-binary.nix
@@ -29,23 +29,23 @@ stdenv.mkDerivation rec {
name = "ghc-${version}-binary";
src = fetchurl ({
- "i686-linux" = {
+ i686-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-deb8-linux.tar.xz";
sha256 = "08w2ik55dp3n95qikmrflc91lsiq01xp53ki3jlhnbj8fqnxfrwy";
};
- "x86_64-linux" = {
+ x86_64-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-deb8-linux.tar.xz";
sha256 = "0ahv26304pqi3dm7i78si4pxwvg5f5dc2jwsfgvcrhcx5g30bqj8";
};
- "armv7l-linux" = {
+ armv7l-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-armv7-deb8-linux.tar.xz";
sha256 = "1jmv8qmnh5bn324fivbwdcaj55kvw7cb2zq9pafmlmv3qwwx7s46";
};
- "aarch64-linux" = {
+ aarch64-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-aarch64-deb8-linux.tar.xz";
sha256 = "1k2amylcp1ad67c75h1pqf7czf9m0zj1i7hdc45ghjklnfq9hrk7";
};
- "x86_64-darwin" = {
+ x86_64-darwin = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-apple-darwin.tar.xz";
sha256 = "09swx71gh5habzbx55shz2xykgr96xkcy09nzinnm4z0yxicy3zr";
};
diff --git a/pkgs/development/compilers/ghc/8.2.2.nix b/pkgs/development/compilers/ghc/8.2.2.nix
index a88cf9c0116..7c13db74c4c 100644
--- a/pkgs/development/compilers/ghc/8.2.2.nix
+++ b/pkgs/development/compilers/ghc/8.2.2.nix
@@ -3,10 +3,13 @@
# build-tools
, bootPkgs
, autoconf, autoreconfHook, automake, coreutils, fetchurl, fetchpatch, perl, python3, sphinx
+, bash
, runCommand
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
+
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
@@ -68,7 +71,8 @@ let
# Splicer will pull out correct variations
libDeps = platform: [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc") libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc") libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -165,7 +169,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isAarch32 ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -202,6 +206,8 @@ stdenv.mkDerivation (rec {
] ++ stdenv.lib.optionals (targetPlatform.isDarwin && targetPlatform.isAarch64) [
# fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
];
# Don’t add -liconv to LDFLAGS automatically so that GHC will add it itself.
@@ -218,7 +224,7 @@ stdenv.mkDerivation (rec {
# For building runtime libs
depsBuildTarget = toolsForTarget;
- buildInputs = [ perl ] ++ (libDeps hostPlatform);
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
@@ -230,6 +236,10 @@ stdenv.mkDerivation (rec {
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
+ # See #63511 - the only unstripped file is the debug rts which isn't meant to
+ # be stripped.
+ dontStrip = true;
+
checkTarget = "test";
doCheck = false; # fails with "testsuite/tests: No such file or directory. Stop."
diff --git a/pkgs/development/compilers/ghc/8.4.4.nix b/pkgs/development/compilers/ghc/8.4.4.nix
index da72c351ec6..30353771ea6 100644
--- a/pkgs/development/compilers/ghc/8.4.4.nix
+++ b/pkgs/development/compilers/ghc/8.4.4.nix
@@ -3,9 +3,12 @@
# build-tools
, bootPkgs
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx
+, bash
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
+
, useLLVM ? !stdenv.targetPlatform.isx86 || (stdenv.targetPlatform.isMusl && stdenv.hostPlatform != stdenv.targetPlatform)
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
@@ -70,7 +73,8 @@ let
# Splicer will pull out correct variations
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -125,7 +129,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isAarch32 ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -179,6 +183,8 @@ stdenv.mkDerivation (rec {
] ++ stdenv.lib.optionals (targetPlatform.isDarwin && targetPlatform.isAarch64) [
# fix for iOS: https://www.reddit.com/r/haskell/comments/4ttdz1/building_an_osxi386_to_iosarm64_cross_compiler/d5qvd67/
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
];
# Make sure we never relax`$PATH` and hooks support for compatability.
@@ -195,7 +201,7 @@ stdenv.mkDerivation (rec {
# For building runtime libs
depsBuildTarget = toolsForTarget;
- buildInputs = [ perl ] ++ (libDeps hostPlatform);
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
@@ -207,6 +213,10 @@ stdenv.mkDerivation (rec {
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
+ # See #63511 - the only unstripped file is the debug rts which isn't meant to
+ # be stripped.
+ dontStrip = true;
+
checkTarget = "test";
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
diff --git a/pkgs/development/compilers/ghc/8.6.3-binary.nix b/pkgs/development/compilers/ghc/8.6.3-binary.nix
index 7e845da5b64..152bd5e4874 100644
--- a/pkgs/development/compilers/ghc/8.6.3-binary.nix
+++ b/pkgs/development/compilers/ghc/8.6.3-binary.nix
@@ -29,15 +29,15 @@ stdenv.mkDerivation rec {
name = "ghc-${version}-binary";
src = fetchurl ({
- "i686-linux" = {
+ i686-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-i386-deb8-linux.tar.xz";
sha256 = "0bw8a7fxcbskf93rb4m542ff66vrmx5i5kj77qx37cbhijx70w5m";
};
- "x86_64-linux" = {
+ x86_64-linux = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-deb8-linux.tar.xz";
sha256 = "1m9gaga2pzi2cx5gvasg0rx1dlvr68gmi20l67652kag6xjsa719";
};
- "x86_64-darwin" = {
+ x86_64-darwin = {
url = "http://haskell.org/ghc/dist/${version}/ghc-${version}-x86_64-apple-darwin.tar.xz";
sha256 = "1hbzk57v45176kxcx848p5jn5p1xbp2129ramkbzsk6plyhnkl3r";
};
diff --git a/pkgs/development/compilers/ghc/8.6.4.nix b/pkgs/development/compilers/ghc/8.6.4.nix
index 54c53691574..7b6769df682 100644
--- a/pkgs/development/compilers/ghc/8.6.4.nix
+++ b/pkgs/development/compilers/ghc/8.6.4.nix
@@ -3,9 +3,12 @@
# build-tools
, bootPkgs
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx
+, bash
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
+
, # GHC can be built with system libffi or a bundled one.
libffi ? null
@@ -75,7 +78,8 @@ let
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -103,7 +107,7 @@ stdenv.mkDerivation (rec {
name = "D5123.diff";
sha256 = "0nhqwdamf2y4gbwqxcgjxs0kqx23w9gv5kj0zv6450dq19rji82n";
})
- (fetchpatch rec { # https://github.com/haskell/haddock/issues/900
+ (fetchpatch { # https://github.com/haskell/haddock/issues/900
url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/983.diff";
name = "loadpluginsinmodules.diff";
sha256 = "0bvvv0zsfq2581zsir97zfkggc1kkircbbajc2fz3b169ycpbha1";
@@ -124,7 +128,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isAarch32 ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -178,6 +182,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
];
# Make sure we never relax`$PATH` and hooks support for compatability.
@@ -194,7 +200,7 @@ stdenv.mkDerivation (rec {
# For building runtime libs
depsBuildTarget = toolsForTarget;
- buildInputs = [ perl ] ++ (libDeps hostPlatform);
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
@@ -206,6 +212,10 @@ stdenv.mkDerivation (rec {
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
+ # See #63511 - the only unstripped file is the debug rts which isn't meant to
+ # be stripped.
+ dontStrip = true;
+
checkTarget = "test";
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
diff --git a/pkgs/development/compilers/ghc/8.6.5.nix b/pkgs/development/compilers/ghc/8.6.5.nix
index bc45540036d..acc97f93c63 100644
--- a/pkgs/development/compilers/ghc/8.6.5.nix
+++ b/pkgs/development/compilers/ghc/8.6.5.nix
@@ -3,9 +3,12 @@
# build-tools
, bootPkgs
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx
+, bash
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
+
, # GHC can be built with system libffi or a bundled one.
libffi ? null
@@ -75,7 +78,8 @@ let
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -103,7 +107,7 @@ stdenv.mkDerivation (rec {
name = "D5123.diff";
sha256 = "0nhqwdamf2y4gbwqxcgjxs0kqx23w9gv5kj0zv6450dq19rji82n";
})
- (fetchpatch rec { # https://github.com/haskell/haddock/issues/900
+ (fetchpatch { # https://github.com/haskell/haddock/issues/900
url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/983.diff";
name = "loadpluginsinmodules.diff";
sha256 = "0bvvv0zsfq2581zsir97zfkggc1kkircbbajc2fz3b169ycpbha1";
@@ -124,7 +128,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isAarch32 ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -178,6 +182,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
];
# Make sure we never relax`$PATH` and hooks support for compatability.
@@ -194,7 +200,7 @@ stdenv.mkDerivation (rec {
# For building runtime libs
depsBuildTarget = toolsForTarget;
- buildInputs = [ perl ] ++ (libDeps hostPlatform);
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
@@ -206,6 +212,10 @@ stdenv.mkDerivation (rec {
# that in turn causes GHCi to abort
stripDebugFlags = [ "-S" ] ++ stdenv.lib.optional (!targetPlatform.isDarwin) "--keep-file-symbols";
+ # See #63511 - the only unstripped file is the debug rts which isn't meant to
+ # be stripped.
+ dontStrip = true;
+
checkTarget = "test";
hardeningDisable = [ "format" ] ++ stdenv.lib.optional stdenv.targetPlatform.isMusl "pie";
@@ -220,6 +230,10 @@ stdenv.mkDerivation (rec {
egrep --quiet '^#!' <(head -n 1 $i) || continue
sed -i -e '2i export PATH="$PATH:${stdenv.lib.makeBinPath [ targetPackages.stdenv.cc.bintools coreutils ]}"' $i
done
+ ''
+ # Temporary work-around for https://github.com/NixOS/nixpkgs/issues/66277
+ + stdenv.lib.optionalString hostPlatform.isAarch64 ''
+ rm -rf "$doc/share/doc/ghc/html/libraries"
'';
passthru = {
diff --git a/pkgs/development/compilers/ghc/8.8.1.nix b/pkgs/development/compilers/ghc/8.8.1.nix
index ad2d64866f8..c80ccf72817 100644
--- a/pkgs/development/compilers/ghc/8.8.1.nix
+++ b/pkgs/development/compilers/ghc/8.8.1.nix
@@ -2,10 +2,13 @@
# build-tools
, bootPkgs
-, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4, sphinx
+, autoconf, automake, coreutils, fetchurl, perl, python3, m4, sphinx
+, bash
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
+
, # GHC can be built with system libffi or a bundled one.
libffi ? null
@@ -75,7 +78,8 @@ let
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ [libffi]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -85,12 +89,12 @@ let
in
stdenv.mkDerivation (rec {
- version = "8.8.0.20190424";
+ version = "8.8.1";
name = "${targetPrefix}ghc-${version}";
src = fetchurl {
- url = "https://downloads.haskell.org/~ghc/8.8.1-alpha1/ghc-${version}-src.tar.xz";
- sha256 = "1lwzy4q9hhaayamr1ij3lk8l7zdwfqza5b2racylp7xn2y9wanl9";
+ url = "https://downloads.haskell.org/ghc/${version}/ghc-${version}-src.tar.xz";
+ sha256 = "06kj4fhvijinjafiy4s873n60qly323rdlz9bmc79nhlp3cq72lh";
};
enableParallelBuilding = true;
@@ -109,7 +113,7 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isAarch32 ".gold"}"
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -163,6 +167,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
];
# Make sure we never relax`$PATH` and hooks support for compatability.
@@ -179,7 +185,7 @@ stdenv.mkDerivation (rec {
# For building runtime libs
depsBuildTarget = toolsForTarget;
- buildInputs = [ perl ] ++ (libDeps hostPlatform);
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
diff --git a/pkgs/development/compilers/ghc/head.nix b/pkgs/development/compilers/ghc/head.nix
index 46d8dfafd0f..240b55deb68 100644
--- a/pkgs/development/compilers/ghc/head.nix
+++ b/pkgs/development/compilers/ghc/head.nix
@@ -2,10 +2,13 @@
# build-tools
, bootPkgs
-, autoconf, automake, coreutils, fetchgit, fetchurl, fetchpatch, perl, python3, m4, sphinx
+, autoconf, automake, coreutils, fetchgit, fetchpatch, perl, python3, m4, sphinx
+, bash
, libiconv ? null, ncurses
+, enableDwarf ? !stdenv.isDarwin, elfutils # for DWARF support
+
, useLLVM ? !stdenv.targetPlatform.isx86
, # LLVM is conceptually a run-time-only depedendency, but for
# non-x86, we need LLVM to bootstrap later stages, so it becomes a
@@ -26,7 +29,7 @@
, # Whetherto build terminfo.
enableTerminfo ? !stdenv.targetPlatform.isWindows
-, version ? "8.7.20190115"
+, version ? "8.9.20190601"
, # What flavour to build. An empty string indicates no
# specific flavour and falls back to ghc default values.
ghcFlavour ? stdenv.lib.optionalString (stdenv.targetPlatform != stdenv.hostPlatform)
@@ -72,7 +75,8 @@ let
# Splicer will pull out correct variations
libDeps = platform: stdenv.lib.optional enableTerminfo [ ncurses ]
++ stdenv.lib.optional (!enableIntegerSimple) gmp
- ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv;
+ ++ stdenv.lib.optional (platform.libc != "glibc" && !targetPlatform.isWindows) libiconv
+ ++ stdenv.lib.optional enableDwarf elfutils;
toolsForTarget = [
pkgsBuildTarget.targetPackages.stdenv.cc
@@ -88,14 +92,24 @@ stdenv.mkDerivation (rec {
src = fetchgit {
url = "https://gitlab.haskell.org/ghc/ghc.git/";
- rev = "c9756dbf1ee58b117ea5c4ded45dea88030efd65";
- sha256 = "0ja3ivyz4jrqkw6z1mdgsczxaqkjy5vw0nyyqlqr0bqxiw9p8834";
+ rev = "9bc10993bb300d3712b0f13ec6e28621d75d4204";
+ sha256 = "1s7vbinywx8ffj09nxr0h32nggjiqpssrvgmj7820k32w2yi7i8v";
};
enableParallelBuilding = true;
outputs = [ "out" "doc" ];
+ patches = [
+ (fetchpatch { # https://github.com/haskell/haddock/issues/900
+ url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/983.diff";
+ name = "loadpluginsinmodules.diff";
+ sha256 = "0bvvv0zsfq2581zsir97zfkggc1kkircbbajc2fz3b169ycpbha1";
+ extraPrefix = "utils/haddock/";
+ stripLen = 1;
+ })
+ ];
+
postPatch = "patchShebangs .";
# GHC is a bit confused on its cross terminology.
@@ -108,7 +122,8 @@ stdenv.mkDerivation (rec {
export CC="${targetCC}/bin/${targetCC.targetPrefix}cc"
export CXX="${targetCC}/bin/${targetCC.targetPrefix}cxx"
# Use gold to work around https://sourceware.org/bugzilla/show_bug.cgi?id=16177
- export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isAarch32 ".gold"}"
+ # and more generally have a faster linker.
+ export LD="${targetCC.bintools}/bin/${targetCC.bintools.targetPrefix}ld${stdenv.lib.optionalString targetPlatform.isLinux ".gold"}"
export AS="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}as"
export AR="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}ar"
export NM="${targetCC.bintools.bintools}/bin/${targetCC.bintools.targetPrefix}nm"
@@ -164,6 +179,8 @@ stdenv.mkDerivation (rec {
"CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold"
] ++ stdenv.lib.optionals (disableLargeAddressSpace) [
"--disable-large-address-space"
+ ] ++ stdenv.lib.optional enableDwarf [
+ "--enable-dwarf-unwind"
];
# Make sure we never relax`$PATH` and hooks support for compatability.
@@ -177,7 +194,7 @@ stdenv.mkDerivation (rec {
# For building runtime libs
depsBuildTarget = toolsForTarget;
- buildInputs = [ perl ] ++ (libDeps hostPlatform);
+ buildInputs = [ perl bash ] ++ (libDeps hostPlatform);
propagatedBuildInputs = [ targetPackages.stdenv.cc ]
++ stdenv.lib.optional useLLVM llvmPackages.llvm;
diff --git a/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix b/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix
index 8681aceacd7..53b6dd43134 100644
--- a/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix
+++ b/pkgs/development/compilers/ghcjs-ng/8.6/dep-overrides.nix
@@ -1,6 +1,6 @@
{ haskellLib }:
-let inherit (haskellLib) dontCheck doJailbreak dontHaddock;
+let inherit (haskellLib) doJailbreak dontHaddock;
in self: super: {
haddock-library-ghcjs = doJailbreak super.haddock-library-ghcjs;
haddock-api-ghcjs = doJailbreak (dontHaddock super.haddock-api-ghcjs);
diff --git a/pkgs/development/compilers/ghcjs/base.nix b/pkgs/development/compilers/ghcjs/base.nix
index 93e6a47934f..ba0bbb1962b 100644
--- a/pkgs/development/compilers/ghcjs/base.nix
+++ b/pkgs/development/compilers/ghcjs/base.nix
@@ -29,7 +29,7 @@
, lens
, parallel, safe, shelly, split, stringsearch, syb
, tar, terminfo
-, vector, yaml, fetchgit, fetchFromGitHub
+, vector, yaml
, alex, happy, git, gnumake, autoconf, patch
, automake, libtool
, cryptohash
@@ -61,7 +61,7 @@
let
inherit (bootPkgs) ghc;
-in mkDerivation (rec {
+in mkDerivation ({
pname = "ghcjs";
inherit version;
src = ghcjsSrc;
diff --git a/pkgs/development/compilers/glslang/default.nix b/pkgs/development/compilers/glslang/default.nix
index 784d66a0f24..161e57b5479 100644
--- a/pkgs/development/compilers/glslang/default.nix
+++ b/pkgs/development/compilers/glslang/default.nix
@@ -1,16 +1,29 @@
-{ stdenv, fetchFromGitHub, fetchpatch, cmake, bison, jq, python, spirv-tools, spirv-headers }:
+{ stdenv, fetchFromGitHub
+, bison
+, cmake
+, jq
+, python3
+, spirv-headers
+, spirv-tools
+}:
+
stdenv.mkDerivation rec {
- name = "glslang-${version}";
- version = "7.11.3113";
+ pname = "glslang";
+ version = "7.11.3214";
src = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
- rev = "${version}";
- sha256 = "1kzv2b4q1fddxd7c0hc754nd6rw6y9vijb9fsi13xzzq9dficgb6";
+ rev = version;
+ sha256 = "0dqjga0lcza006fhac26zp2plbq4gx8a6nsmrwkqlzji6lw1jins";
};
- nativeBuildInputs = [ cmake python bison jq ];
+ # These get set at all-packages, keep onto them for child drvs
+ passthru = {
+ inherit spirv-tools spirv-headers;
+ };
+
+ nativeBuildInputs = [ cmake python3 bison jq ];
enableParallelBuilding = true;
postPatch = ''
@@ -18,6 +31,7 @@ stdenv.mkDerivation rec {
ln -s "${spirv-headers.src}" External/spirv-tools/external/spirv-headers
'';
+ # Ensure spirv-headers and spirv-tools match exactly to what is expected
preConfigure = ''
HEADERS_COMMIT=$(jq -r < known_good.json '.commits|map(select(.name=="spirv-tools/external/spirv-headers"))[0].commit')
TOOLS_COMMIT=$(jq -r < known_good.json '.commits|map(select(.name=="spirv-tools"))[0].commit')
diff --git a/pkgs/development/compilers/gnu-cobol/default.nix b/pkgs/development/compilers/gnu-cobol/default.nix
index ae27964ae8f..df5202cb1c2 100644
--- a/pkgs/development/compilers/gnu-cobol/default.nix
+++ b/pkgs/development/compilers/gnu-cobol/default.nix
@@ -6,7 +6,7 @@ let
lib = stdenv.lib;
in
stdenv.mkDerivation rec {
- name = "gnu-cobol-${version}";
+ pname = "gnu-cobol";
inherit version;
src = fetchurl {
diff --git a/pkgs/development/compilers/gnu-smalltalk/default.nix b/pkgs/development/compilers/gnu-smalltalk/default.nix
index 41c325c2b1a..1035091654a 100644
--- a/pkgs/development/compilers/gnu-smalltalk/default.nix
+++ b/pkgs/development/compilers/gnu-smalltalk/default.nix
@@ -18,7 +18,7 @@ let # The gnu-smalltalk project has a dependency to the libsigsegv library.
in stdenv.mkDerivation rec {
version = "3.2.5";
- name = "gnu-smalltalk-${version}";
+ pname = "gnu-smalltalk";
src = fetchurl {
url = "mirror://gnu/smalltalk/smalltalk-${version}.tar.xz";
diff --git a/pkgs/development/compilers/go-jsonnet/default.nix b/pkgs/development/compilers/go-jsonnet/default.nix
new file mode 100644
index 00000000000..e051d41993c
--- /dev/null
+++ b/pkgs/development/compilers/go-jsonnet/default.nix
@@ -0,0 +1,33 @@
+{ lib, buildGoPackage, fetchFromGitHub }:
+
+buildGoPackage rec {
+ pname = "go-jsonnet";
+ version = "0.13.0";
+
+ goPackagePath = "github.com/google/go-jsonnet";
+
+ # regenerate deps.nix using following steps:
+ #
+ # go get -u github.com/google/go-jsonnet
+ # cd $GOPATH/src/github.com/google/go-jsonnet
+ # git checkout
+ # dep init
+ # dep2nix
+ goDeps = ./deps.nix;
+
+ src = fetchFromGitHub {
+ rev = "v${version}";
+ owner = "google";
+ repo = "go-jsonnet";
+ sha256 = "0x95sqhrw4pscxq0q8781wix0w881k9my5kn5nf6k0fg1d6qlgiy";
+ fetchSubmodules = true;
+ };
+
+ meta = {
+ description = "An implementation of Jsonnet in pure Go";
+ maintainers = with lib.maintainers; [ nshalman ];
+ license = lib.licenses.asl20;
+ homepage = https://github.com/google/go-jsonnet;
+ platforms = lib.platforms.unix;
+ };
+}
diff --git a/pkgs/development/compilers/go-jsonnet/deps.nix b/pkgs/development/compilers/go-jsonnet/deps.nix
new file mode 100644
index 00000000000..1f413a16d81
--- /dev/null
+++ b/pkgs/development/compilers/go-jsonnet/deps.nix
@@ -0,0 +1,48 @@
+# file generated from Gopkg.lock using dep2nix (https://github.com/nixcloud/dep2nix)
+[
+ {
+ goPackagePath = "github.com/fatih/color";
+ fetch = {
+ type = "git";
+ url = "https://github.com/fatih/color";
+ rev = "5b77d2a35fb0ede96d138fc9a99f5c9b6aef11b4";
+ sha256 = "0v8msvg38r8d1iiq2i5r4xyfx0invhc941kjrsg5gzwvagv55inv";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-colorable";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-colorable";
+ rev = "167de6bfdfba052fa6b2d3664c8f5272e23c9072";
+ sha256 = "1nwjmsppsjicr7anq8na6md7b1z84l9ppnlr045hhxjvbkqwalvx";
+ };
+ }
+ {
+ goPackagePath = "github.com/mattn/go-isatty";
+ fetch = {
+ type = "git";
+ url = "https://github.com/mattn/go-isatty";
+ rev = "1311e847b0cb909da63b5fecfb5370aa66236465";
+ sha256 = "0rqfh1rj6f5wm8p2ky7inm8g10152p7w6n2cli17kf9gad797i8h";
+ };
+ }
+ {
+ goPackagePath = "github.com/sergi/go-diff";
+ fetch = {
+ type = "git";
+ url = "https://github.com/sergi/go-diff";
+ rev = "1744e2970ca51c86172c8190fadad617561ed6e7";
+ sha256 = "0swiazj8wphs2zmk1qgq75xza6m19snif94h2m6fi8dqkwqdl7c7";
+ };
+ }
+ {
+ goPackagePath = "golang.org/x/sys";
+ fetch = {
+ type = "git";
+ url = "https://go.googlesource.com/sys";
+ rev = "4c4f7f33c9ed00de01c4c741d2177abfcfe19307";
+ sha256 = "191001bxqyc3xfs46nnqmm7jdk0r73vk7a4zqngfl7zwjv9smwsq";
+ };
+ }
+]
\ No newline at end of file
diff --git a/pkgs/development/compilers/go/1.10.nix b/pkgs/development/compilers/go/1.10.nix
deleted file mode 100644
index d18d260b505..00000000000
--- a/pkgs/development/compilers/go/1.10.nix
+++ /dev/null
@@ -1,187 +0,0 @@
-{ stdenv, fetchFromGitHub, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
-, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation
-, fetchpatch
-}:
-
-let
-
- inherit (stdenv.lib) optionals optionalString;
-
- clangHack = writeScriptBin "clang" ''
- #!${stdenv.shell}
- exec ${stdenv.cc}/bin/clang "$@" 2> >(sed '/ld: warning:.*ignoring unexpected dylib file/ d' 1>&2)
- '';
-
- goBootstrap = runCommand "go-bootstrap" {} ''
- mkdir $out
- cp -rf ${go_bootstrap}/* $out/
- chmod -R u+w $out
- find $out -name "*.c" -delete
- cp -rf $out/bin/* $out/share/go/bin/
- '';
-
-in
-
-stdenv.mkDerivation rec {
- name = "go-${version}";
- version = "1.10.8";
-
- src = fetchFromGitHub {
- owner = "golang";
- repo = "go";
- rev = "go${version}";
- sha256 = "1yynv105wh8pwiq61v4yg5i50k13g3x634x60mhxhv4gj9cq06cx";
- };
-
- GOCACHE = "off";
-
- # perl is used for testing go vet
- nativeBuildInputs = [ perl which pkgconfig patch procps ];
- buildInputs = [ cacert pcre ]
- ++ optionals stdenv.isLinux [ stdenv.cc.libc.out ]
- ++ optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
- propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
-
- hardeningDisable = [ "all" ];
-
- prePatch = ''
- patchShebangs ./ # replace /bin/bash
-
- # This source produces shell script at run time,
- # and thus it is not corrected by patchShebangs.
- substituteInPlace misc/cgo/testcarchive/carchive_test.go \
- --replace '#!/usr/bin/env bash' '#!${stdenv.shell}'
-
- # Disabling the 'os/http/net' tests (they want files not available in
- # chroot builds)
- rm src/net/{listen,parse}_test.go
- rm src/syscall/exec_linux_test.go
-
- # !!! substituteInPlace does not seems to be effective.
- # The os test wants to read files in an existing path. Just don't let it be /usr/bin.
- sed -i 's,/usr/bin,'"`pwd`", src/os/os_test.go
- sed -i 's,/bin/pwd,'"`type -P pwd`", src/os/os_test.go
- # Disable the unix socket test
- sed -i '/TestShutdownUnix/areturn' src/net/net_test.go
- # Disable the hostname test
- sed -i '/TestHostname/areturn' src/os/os_test.go
- # ParseInLocation fails the test
- sed -i '/TestParseInSydney/areturn' src/time/format_test.go
- # Remove the api check as it never worked
- sed -i '/src\/cmd\/api\/run.go/ireturn nil' src/cmd/dist/test.go
- # Remove the coverage test as we have removed this utility
- sed -i '/TestCoverageWithCgo/areturn' src/cmd/go/go_test.go
- # Remove the timezone naming test
- sed -i '/TestLoadFixed/areturn' src/time/time_test.go
- # Remove disable setgid test
- sed -i '/TestRespectSetgidDir/areturn' src/cmd/go/internal/work/build_test.go
- # Remove cert tests that conflict with NixOS's cert resolution
- sed -i '/TestEnvVars/areturn' src/crypto/x509/root_unix_test.go
- # TestWritevError hangs sometimes
- sed -i '/TestWritevError/areturn' src/net/writev_test.go
- # TestVariousDeadlines fails sometimes
- sed -i '/TestVariousDeadlines/areturn' src/net/timeout_test.go
-
- sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
- sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go
-
- # Disable cgo lookup tests not works, they depend on resolver
- rm src/net/cgo_unix_test.go
-
- '' + optionalString stdenv.isLinux ''
- sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
- '' + optionalString stdenv.isAarch32 ''
- sed -i '/TestCurrent/areturn' src/os/user/user_test.go
- echo '#!${stdenv.shell}' > misc/cgo/testplugin/test.bash
- '' + optionalString stdenv.isDarwin ''
- substituteInPlace src/race.bash --replace \
- "sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
- sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
- sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
- sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
-
- sed -i '/TestChdirAndGetwd/areturn' src/os/os_test.go
- sed -i '/TestCredentialNoSetGroups/areturn' src/os/exec/exec_posix_test.go
- sed -i '/TestCurrent/areturn' src/os/user/user_test.go
- sed -i '/TestNohup/areturn' src/os/signal/signal_test.go
- sed -i '/TestRead0/areturn' src/os/os_test.go
- sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go
-
- sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/areturn' src/cmd/go/go_test.go
- sed -i '/TestBuildDashIInstallsDependencies/areturn' src/cmd/go/go_test.go
-
- sed -i '/TestDisasmExtld/areturn' src/cmd/objdump/objdump_test.go
-
- sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
-
- touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
- '';
-
- patches = [
- ./remove-tools-1.9.patch
- ./ssl-cert-file-1.9.patch
- ./remove-test-pie.patch
- ./creds-test.patch
- ./go-1.9-skip-flaky-19608.patch
- ./go-1.9-skip-flaky-20072.patch
- (fetchpatch {
- name = "missing_cpuHog_in_pprof_output.diff";
- url = "https://github.com/golang/go/commit/33110e2c.diff";
- sha256 = "04vh9lflbpz9xjvymyzhd91gkxiiwwz4lhglzl3r8z0lk45p96qn";
- })
- ];
-
- GOOS = if stdenv.isDarwin then "darwin" else "linux";
- GOARCH = if stdenv.isDarwin then "amd64"
- else if stdenv.hostPlatform.system == "i686-linux" then "386"
- else if stdenv.hostPlatform.system == "x86_64-linux" then "amd64"
- else if stdenv.isAarch32 then "arm"
- else if stdenv.isAarch64 then "arm64"
- else throw "Unsupported system";
- GOARM = optionalString (stdenv.hostPlatform.system == "armv5tel-linux") "5";
- GO386 = 387; # from Arch: don't assume sse2 on i686
- CGO_ENABLED = 1;
- GOROOT_BOOTSTRAP = "${goBootstrap}/share/go";
- # Hopefully avoids test timeouts on Hydra
- GO_TEST_TIMEOUT_SCALE = 3;
-
- # The go build actually checks for CC=*/clang and does something different, so we don't
- # just want the generic `cc` here.
- CC = if stdenv.isDarwin then "clang" else "cc";
-
- configurePhase = ''
- mkdir -p $out/share/go/bin
- export GOROOT=$out/share/go
- export GOBIN=$GOROOT/bin
- export PATH=$GOBIN:$PATH
- ulimit -a
- '';
-
- postConfigure = optionalString stdenv.isDarwin ''
- export PATH=${clangHack}/bin:$PATH
- '';
-
- installPhase = ''
- cp -r . $GOROOT
- ( cd $GOROOT/src && ./all.bash )
- '';
-
- preFixup = ''
- rm -r $out/share/go/pkg/bootstrap
- ln -s $out/share/go/bin $out/bin
- '';
-
- setupHook = ./setup-hook.sh;
-
- disallowedReferences = [ go_bootstrap ];
-
- meta = with stdenv.lib; {
- branch = "1.10";
- homepage = http://golang.org/;
- description = "The Go Programming language";
- license = licenses.bsd3;
- maintainers = with maintainers; [ cstrahan orivej velovix mic92 ];
- platforms = platforms.linux ++ platforms.darwin;
- badPlatforms = [ "x86_64-darwin" ];
- };
-}
diff --git a/pkgs/development/compilers/go/1.11.nix b/pkgs/development/compilers/go/1.11.nix
deleted file mode 100644
index eec472fb88e..00000000000
--- a/pkgs/development/compilers/go/1.11.nix
+++ /dev/null
@@ -1,232 +0,0 @@
-{ stdenv, fetchurl, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
-, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation
-, mailcap, runtimeShell
-, buildPackages, pkgsTargetTarget
-}:
-
-let
-
- inherit (stdenv.lib) optionals optionalString;
-
- goBootstrap = runCommand "go-bootstrap" {} ''
- mkdir $out
- cp -rf ${buildPackages.go_bootstrap}/* $out/
- chmod -R u+w $out
- find $out -name "*.c" -delete
- cp -rf $out/bin/* $out/share/go/bin/
- '';
-
- goarch = platform: {
- "i686" = "386";
- "x86_64" = "amd64";
- "aarch64" = "arm64";
- "arm" = "arm";
- "armv5tel" = "arm";
- "armv6l" = "arm";
- "armv7l" = "arm";
- }.${platform.parsed.cpu.name} or (throw "Unsupported system");
-
-in
-
-stdenv.mkDerivation rec {
- name = "go-${version}";
- version = "1.11.6";
-
- src = fetchurl {
- url = "https://dl.google.com/go/go${version}.src.tar.gz";
- sha256 = "0cz1sdhxf9283p1p4jxb020pym0ncd0qlfh36r3hkv6bbm1a2vd9";
- };
-
- # perl is used for testing go vet
- nativeBuildInputs = [ perl which pkgconfig patch procps ];
- buildInputs = [ cacert pcre ]
- ++ optionals stdenv.isLinux [ stdenv.cc.libc.out ]
- ++ optionals (stdenv.hostPlatform.libc == "glibc") [ stdenv.cc.libc.static ];
-
-
- propagatedBuildInputs = optionals stdenv.isDarwin [ Security Foundation ];
-
- hardeningDisable = [ "all" ];
-
- prePatch = ''
- patchShebangs ./ # replace /bin/bash
-
- # This source produces shell script at run time,
- # and thus it is not corrected by patchShebangs.
- substituteInPlace misc/cgo/testcarchive/carchive_test.go \
- --replace '#!/usr/bin/env bash' '#!${runtimeShell}'
-
- # Patch the mimetype database location which is missing on NixOS.
- substituteInPlace src/mime/type_unix.go \
- --replace '/etc/mime.types' '${mailcap}/etc/mime.types'
-
- # Disabling the 'os/http/net' tests (they want files not available in
- # chroot builds)
- rm src/net/{listen,parse}_test.go
- rm src/syscall/exec_linux_test.go
-
- # !!! substituteInPlace does not seems to be effective.
- # The os test wants to read files in an existing path. Just don't let it be /usr/bin.
- sed -i 's,/usr/bin,'"`pwd`", src/os/os_test.go
- sed -i 's,/bin/pwd,'"`type -P pwd`", src/os/os_test.go
- # Disable the unix socket test
- sed -i '/TestShutdownUnix/areturn' src/net/net_test.go
- # Disable the hostname test
- sed -i '/TestHostname/areturn' src/os/os_test.go
- # ParseInLocation fails the test
- sed -i '/TestParseInSydney/areturn' src/time/format_test.go
- # Remove the api check as it never worked
- sed -i '/src\/cmd\/api\/run.go/ireturn nil' src/cmd/dist/test.go
- # Remove the coverage test as we have removed this utility
- sed -i '/TestCoverageWithCgo/areturn' src/cmd/go/go_test.go
- # Remove the timezone naming test
- sed -i '/TestLoadFixed/areturn' src/time/time_test.go
- # Remove disable setgid test
- sed -i '/TestRespectSetgidDir/areturn' src/cmd/go/internal/work/build_test.go
- # Remove cert tests that conflict with NixOS's cert resolution
- sed -i '/TestEnvVars/areturn' src/crypto/x509/root_unix_test.go
- # TestWritevError hangs sometimes
- sed -i '/TestWritevError/areturn' src/net/writev_test.go
- # TestVariousDeadlines fails sometimes
- sed -i '/TestVariousDeadlines/areturn' src/net/timeout_test.go
-
- sed -i 's,/etc/protocols,${iana-etc}/etc/protocols,' src/net/lookup_unix.go
- sed -i 's,/etc/services,${iana-etc}/etc/services,' src/net/port_unix.go
-
- # Disable cgo lookup tests not works, they depend on resolver
- rm src/net/cgo_unix_test.go
-
- '' + optionalString stdenv.isLinux ''
- sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
- '' + optionalString stdenv.isAarch32 ''
- echo '#!${runtimeShell}' > misc/cgo/testplugin/test.bash
- '' + optionalString stdenv.isDarwin ''
- substituteInPlace src/race.bash --replace \
- "sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
- sed -i 's,strings.Contains(.*sysctl.*,true {,' src/cmd/dist/util.go
- sed -i 's,"/etc","'"$TMPDIR"'",' src/os/os_test.go
- sed -i 's,/_go_os_test,'"$TMPDIR"'/_go_os_test,' src/os/path_test.go
-
- sed -i '/TestChdirAndGetwd/areturn' src/os/os_test.go
- sed -i '/TestCredentialNoSetGroups/areturn' src/os/exec/exec_posix_test.go
- sed -i '/TestRead0/areturn' src/os/os_test.go
- sed -i '/TestSystemRoots/areturn' src/crypto/x509/root_darwin_test.go
-
- sed -i '/TestGoInstallRebuildsStalePackagesInOtherGOPATH/areturn' src/cmd/go/go_test.go
- sed -i '/TestBuildDashIInstallsDependencies/areturn' src/cmd/go/go_test.go
-
- sed -i '/TestDisasmExtld/areturn' src/cmd/objdump/objdump_test.go
-
- sed -i 's/unrecognized/unknown/' src/cmd/link/internal/ld/lib.go
-
- touch $TMPDIR/group $TMPDIR/hosts $TMPDIR/passwd
- '';
-
- patches = [
- ./remove-tools-1.11.patch
- ./ssl-cert-file-1.12.1.patch
- ./remove-test-pie.patch
- ./creds-test.patch
- ./go-1.9-skip-flaky-19608.patch
- ./go-1.9-skip-flaky-20072.patch
- ./remove-fhs-test-references.patch
- ./skip-external-network-tests.patch
- ./skip-nohup-tests.patch
- # breaks under load: https://github.com/golang/go/issues/25628
- ./skip-test-extra-files-on-386.patch
- ];
-
- GOOS = stdenv.targetPlatform.parsed.kernel.name;
- GOARCH = goarch stdenv.targetPlatform;
- # GOHOSTOS/GOHOSTARCH must match the building system, not the host system.
- # Go will nevertheless build a for host system that we will copy over in
- # the install phase.
- GOHOSTOS = stdenv.buildPlatform.parsed.kernel.name;
- GOHOSTARCH = goarch stdenv.buildPlatform;
-
- # {CC,CXX}_FOR_TARGET must be only set for cross compilation case as go expect those
- # to be different from CC/CXX
- CC_FOR_TARGET = if (stdenv.buildPlatform != stdenv.targetPlatform) then
- "${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}cc"
- else
- null;
- CXX_FOR_TARGET = if (stdenv.buildPlatform != stdenv.targetPlatform) then
- "${pkgsTargetTarget.stdenv.cc}/bin/${pkgsTargetTarget.stdenv.cc.targetPrefix}c++"
- else
- null;
-
- GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
- GO386 = 387; # from Arch: don't assume sse2 on i686
- CGO_ENABLED = 1;
- # Hopefully avoids test timeouts on Hydra
- GO_TEST_TIMEOUT_SCALE = 3;
-
- # Indicate that we are running on build infrastructure
- # Some tests assume things like home directories and users exists
- GO_BUILDER_NAME = "nix";
-
- GOROOT_BOOTSTRAP="${goBootstrap}/share/go";
-
- postConfigure = ''
- export GOCACHE=$TMPDIR/go-cache
- # this is compiled into the binary
- export GOROOT_FINAL=$out/share/go
-
- export PATH=$(pwd)/bin:$PATH
-
- # Independent from host/target, CC should produce code for the building system.
- export CC=${buildPackages.stdenv.cc}/bin/cc
- ulimit -a
- '';
-
- postBuild = ''
- (cd src && ./make.bash)
- '';
-
- doCheck = stdenv.hostPlatform == stdenv.targetPlatform && !stdenv.isDarwin;
-
- checkPhase = ''
- runHook preCheck
- (cd src && ./run.bash --no-rebuild)
- runHook postCheck
- '';
-
- preInstall = ''
- rm -r pkg/{bootstrap,obj}
- # Contains the wrong perl shebang when cross compiling,
- # since it is not used for anything we can deleted as well.
- rm src/regexp/syntax/make_perl_groups.pl
- '' + (if (stdenv.buildPlatform != stdenv.hostPlatform) then ''
- mv bin/*_*/* bin
- rmdir bin/*_*
- ${optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
- rm -rf pkg/${GOHOSTOS}_${GOHOSTARCH} pkg/tool/${GOHOSTOS}_${GOHOSTARCH}
- ''}
- '' else if (stdenv.hostPlatform != stdenv.targetPlatform) then ''
- rm -rf bin/*_*
- ${optionalString (!(GOHOSTARCH == GOARCH && GOOS == GOHOSTOS)) ''
- rm -rf pkg/${GOOS}_${GOARCH} pkg/tool/${GOOS}_${GOARCH}
- ''}
- '' else "");
-
- installPhase = ''
- runHook preInstall
- mkdir -p $GOROOT_FINAL
- cp -a bin pkg src lib misc api doc $GOROOT_FINAL
- ln -s $GOROOT_FINAL/bin $out/bin
- runHook postInstall
- '';
-
- setupHook = ./setup-hook.sh;
-
- disallowedReferences = [ goBootstrap ];
-
- meta = with stdenv.lib; {
- branch = "1.11";
- homepage = http://golang.org/;
- description = "The Go Programming language";
- license = licenses.bsd3;
- maintainers = with maintainers; [ cstrahan orivej velovix mic92 ];
- platforms = platforms.linux ++ platforms.darwin;
- };
-}
diff --git a/pkgs/development/compilers/go/1.12.nix b/pkgs/development/compilers/go/1.12.nix
index 68f9d1d531f..817f3ab324d 100644
--- a/pkgs/development/compilers/go/1.12.nix
+++ b/pkgs/development/compilers/go/1.12.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchurl, tzdata, iana-etc, go_bootstrap, runCommand, writeScriptBin
-, perl, which, pkgconfig, patch, procps, pcre, cacert, llvm, Security, Foundation
+{ stdenv, fetchurl, tzdata, iana-etc, runCommand
+, perl, which, pkgconfig, patch, procps, pcre, cacert, Security, Foundation
, mailcap, runtimeShell
, buildPackages, pkgsTargetTarget
}:
@@ -17,24 +17,24 @@ let
'';
goarch = platform: {
- "i686" = "386";
- "x86_64" = "amd64";
- "aarch64" = "arm64";
- "arm" = "arm";
- "armv5tel" = "arm";
- "armv6l" = "arm";
- "armv7l" = "arm";
+ i686 = "386";
+ x86_64 = "amd64";
+ aarch64 = "arm64";
+ arm = "arm";
+ armv5tel = "arm";
+ armv6l = "arm";
+ armv7l = "arm";
}.${platform.parsed.cpu.name} or (throw "Unsupported system");
in
stdenv.mkDerivation rec {
- name = "go-${version}";
- version = "1.12.1";
+ pname = "go";
+ version = "1.12.9";
src = fetchurl {
url = "https://dl.google.com/go/go${version}.src.tar.gz";
- sha256 = "12l12mmgqvy3nbscy7sz83qj4m6iz5a322aq9sk45f7l9ml2gq8b";
+ sha256 = "1z32imbwmpkzgyh5c3vi7rbvzbq94xjk5qi2xm9sccj7kknmc3mb";
};
# perl is used for testing go vet
@@ -233,7 +233,7 @@ stdenv.mkDerivation rec {
homepage = http://golang.org/;
description = "The Go Programming language";
license = licenses.bsd3;
- maintainers = with maintainers; [ cstrahan orivej velovix mic92 ];
+ maintainers = with maintainers; [ cstrahan orivej velovix mic92 rvolosatovs ];
platforms = platforms.linux ++ platforms.darwin;
};
}
diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix
index 95312f9e1ea..1052f1f1ae1 100644
--- a/pkgs/development/compilers/go/1.4.nix
+++ b/pkgs/development/compilers/go/1.4.nix
@@ -4,11 +4,11 @@
, Security }:
let
- libc = if stdenv ? "cross" then libcCross else stdenv.cc.libc;
+ libc = if stdenv ? cross then libcCross else stdenv.cc.libc;
in
stdenv.mkDerivation rec {
- name = "go-${version}";
+ pname = "go";
version = "1.4-bootstrap-20161024";
revision = "79d85a4965ea7c46db483314c3981751909d7883";
diff --git a/pkgs/development/compilers/graalvm/001_mx.py.patch b/pkgs/development/compilers/graalvm/001_mx.py.patch
index 25a9efa9641..a87a030aa39 100644
--- a/pkgs/development/compilers/graalvm/001_mx.py.patch
+++ b/pkgs/development/compilers/graalvm/001_mx.py.patch
@@ -1,8 +1,8 @@
diff --git a/mx.py b/mx.py
-index d119b62..471fe98 100644
+index af7a9c2..08c0ea8 100755
--- a/mx.py
+++ b/mx.py
-@@ -4961,30 +4961,6 @@ class PackedResourceLibrary(ResourceLibrary):
+@@ -4976,30 +4976,6 @@ class PackedResourceLibrary(ResourceLibrary):
def get_path(self, resolve):
extract_path = _make_absolute(self.extract_path, self.suite.dir)
@@ -33,7 +33,7 @@ index d119b62..471fe98 100644
return extract_path
def _check_download_needed(self):
-@@ -5885,7 +5861,7 @@ class HgConfig(VC):
+@@ -5900,7 +5876,7 @@ class HgConfig(VC):
def update_to_branch(self, vcdir, branch, abortOnError=True):
cmd = ['update', branch]
@@ -42,7 +42,7 @@ index d119b62..471fe98 100644
def add(self, vcdir, path, abortOnError=True):
return self.run(['hg', '-q', '-R', vcdir, 'add', path]) == 0
-@@ -5922,7 +5898,7 @@ class HgConfig(VC):
+@@ -5937,7 +5913,7 @@ class HgConfig(VC):
return None
def parent_info(self, vcdir, abortOnError=True):
@@ -51,7 +51,7 @@ index d119b62..471fe98 100644
author, date = out.split("|||")
ts, _ = date.split(" ")
return self._sanitize_parent_info({
-@@ -8287,46 +8263,8 @@ class SuiteImport:
+@@ -8301,46 +8277,8 @@ class SuiteImport:
version = import_dict.get("version")
suite_dir = None
version_from = import_dict.get("versionFrom")
@@ -100,7 +100,7 @@ index d119b62..471fe98 100644
@staticmethod
def get_source_urls(source, kind=None):
-@@ -8367,8 +8305,6 @@ class Suite(object):
+@@ -8381,8 +8319,6 @@ class Suite(object):
:type dists: list[Distribution]
"""
def __init__(self, mxDir, primary, internal, importing_suite, load, vc, vc_dir, dynamicallyImported=False):
@@ -109,7 +109,7 @@ index d119b62..471fe98 100644
self.imported_by = [] if primary else [importing_suite]
self.mxDir = mxDir
self.dir = dirname(mxDir)
-@@ -8396,7 +8332,7 @@ class Suite(object):
+@@ -8410,7 +8346,7 @@ class Suite(object):
self._outputRoot = None
self._preloaded_suite_dict = None
self.vc = vc
@@ -118,7 +118,7 @@ index d119b62..471fe98 100644
self._preload_suite_dict()
self._init_imports()
if load:
-@@ -9295,7 +9231,9 @@ def get_dynamic_imports():
+@@ -9310,7 +9246,9 @@ def get_dynamic_imports():
class SourceSuite(Suite):
"""A source suite"""
def __init__(self, mxDir, primary=False, load=True, internal=False, importing_suite=None, dynamicallyImported=False):
@@ -129,7 +129,7 @@ index d119b62..471fe98 100644
Suite.__init__(self, mxDir, primary, internal, importing_suite, load, vc, vc_dir, dynamicallyImported=dynamicallyImported)
logvv("SourceSuite.__init__({}), got vc={}, vc_dir={}".format(mxDir, self.vc, self.vc_dir))
self.projects = []
-@@ -9344,17 +9282,7 @@ class SourceSuite(Suite):
+@@ -9359,17 +9297,7 @@ class SourceSuite(Suite):
"""
Gets the release tag from VC or create a time based once if VC is unavailable
"""
@@ -148,7 +148,7 @@ index d119b62..471fe98 100644
def scm_metadata(self, abortOnError=False):
scm = self.scm
-@@ -12526,55 +12454,8 @@ def _attempt_download(url, path, jarEntryName=None):
+@@ -12541,55 +12469,8 @@ def _attempt_download(url, path, jarEntryName=None):
return False
def download(path, urls, verbose=False, abortOnError=True, verifyOnly=False):
@@ -206,7 +206,7 @@ index d119b62..471fe98 100644
def update_file(path, content, showDiff=False):
"""
-@@ -13378,6 +13259,7 @@ class Archiver(SafeFileCreation):
+@@ -13393,6 +13274,7 @@ class Archiver(SafeFileCreation):
def _add_zip(self, filename, archive_name, provenance):
self._add_provenance(archive_name, provenance)
@@ -214,7 +214,7 @@ index d119b62..471fe98 100644
self.zf.write(filename, archive_name)
def _add_str_zip(self, data, archive_name, provenance):
-@@ -18526,12 +18408,35 @@ def _find_suite_import(importing_suite, suite_import, fatalIfMissing=True, load=
+@@ -18541,12 +18423,35 @@ def _find_suite_import(importing_suite, suite_import, fatalIfMissing=True, load=
Attempts to locate an existing suite in the local context
Returns the path to the mx.name dir if found else None
"""
diff --git a/pkgs/development/compilers/graalvm/default.nix b/pkgs/development/compilers/graalvm/default.nix
index 3cb0d7430ab..61e3b6c16ae 100644
--- a/pkgs/development/compilers/graalvm/default.nix
+++ b/pkgs/development/compilers/graalvm/default.nix
@@ -1,15 +1,11 @@
-{ stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial, python27,
- zlib, makeWrapper, openjdk, unzip, git, clang, llvm, which, icu, ruby, bzip2
+{ stdenv, lib, fetchFromGitHub, fetchurl, fetchzip, fetchgit, mercurial, python27, setJavaClassPath,
+ zlib, makeWrapper, openjdk, unzip, git, clang, llvm, which, icu, ruby, bzip2, glibc
# gfortran, readline, bzip2, lzma, pcre, curl, ed, tree ## WIP: fastr deps
}:
let
- version = "1.0.0-rc15";
+ version = "19.1.1";
truffleMake = ./truffle.make;
- R = fetchurl {
- url = "http://cran.rstudio.com/src/base/R-3/R-3.5.1.tar.gz";
- sha256 = "1vap2k8kj5icy9naw61f9zyphf4rs0c9rxvil0zxkwx0xvsvyqq4";
- };
makeMxGitCache = list: out: ''
mkdir ${out}
${lib.concatMapStrings ({ url, name, rev, sha256 }: ''
@@ -36,7 +32,7 @@ let
hg checkout ${lib.escapeShellArg "vm${version}"}
'';
- # pre-download some cache entries ('mx' will not be able to download under nixbld1)
+ # pre-download some cache entries ('mx' will not be able to download under nixbld)
makeMxCache = list:
stdenv.mkDerivation {
name = "mx-cache";
@@ -66,31 +62,27 @@ let
};
jvmci8-mxcache = [
- rec { sha1 = "977b33afe2344a9ee801fd3317c54d8e1f9d7a79"; name = "JACOCOCORE_0.8.2_${sha1}/jacococore-0.8.2.jar"; url = mirror://maven/org/jacoco/org.jacoco.core/0.8.2/org.jacoco.core-0.8.2.jar; }
- rec { sha1 = "46f38efb779fb08216379e1a196396f4e22bbe41"; name = "JACOCOCORE_0.8.2_${sha1}/jacococore-0.8.2.sources.jar"; url = mirror://maven/org/jacoco/org.jacoco.core/0.8.2/org.jacoco.core-0.8.2-sources.jar; }
- rec { sha1 = "50e133cdfd2d31ca5702b73615be70f801d3ae26"; name = "JACOCOREPORT_0.8.2_${sha1}/jacocoreport-0.8.2.jar"; url = mirror://maven/org/jacoco/org.jacoco.report/0.8.2/org.jacoco.report-0.8.2.jar; }
- rec { sha1 = "7488cd6e42cc4fa85b51200b7f451465692e033b"; name = "JACOCOREPORT_0.8.2_${sha1}/jacocoreport-0.8.2.sources.jar"; url = mirror://maven/org/jacoco/org.jacoco.report/0.8.2/org.jacoco.report-0.8.2-sources.jar; }
- rec { sha1 = "4806883004063feb978b8811f00d5ea2138750bb"; name = "JACOCOAGENT_0.8.2_${sha1}/jacocoagent-0.8.2.jar"; url = mirror://maven/org/jacoco/org.jacoco.agent/0.8.2/org.jacoco.agent-0.8.2-runtime.jar; }
+ rec { sha1 = "53addc878614171ff0fcbc8f78aed12175c22cdb"; name = "JACOCOCORE_0.8.4_${sha1}/jacococore-0.8.4.jar"; url = mirror://maven/org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4.jar; }
+ rec { sha1 = "9bd1fa334d941005bc9ab3ac92478a590f5b7d73"; name = "JACOCOCORE_0.8.4_${sha1}/jacococore-0.8.4.sources.jar"; url = mirror://maven/org/jacoco/org.jacoco.core/0.8.4/org.jacoco.core-0.8.4-sources.jar; }
+ rec { sha1 = "e5ca9511493b7e3bc2cabdb8ded92e855f3aac32"; name = "JACOCOREPORT_0.8.4_${sha1}/jacocoreport-0.8.4.jar"; url = mirror://maven/org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4.jar; }
+ rec { sha1 = "eb61e479b35b467954f28a565c094c563b790e19"; name = "JACOCOREPORT_0.8.4_${sha1}/jacocoreport-0.8.4.sources.jar"; url = mirror://maven/org/jacoco/org.jacoco.report/0.8.4/org.jacoco.report-0.8.4-sources.jar; }
+ rec { sha1 = "869021a6d90cfb008b12e83fccbe42eca29e5355"; name = "JACOCOAGENT_0.8.4_${sha1}/jacocoagent-0.8.4.jar"; url = mirror://maven/org/jacoco/org.jacoco.agent/0.8.4/org.jacoco.agent-0.8.4-runtime.jar; }
rec { sha1 = "306816fb57cf94f108a43c95731b08934dcae15c"; name = "JOPTSIMPLE_4_6_${sha1}/joptsimple-4-6.jar"; url = mirror://maven/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6.jar; }
rec { sha1 = "9cd14a61d7aa7d554f251ef285a6f2c65caf7b65"; name = "JOPTSIMPLE_4_6_${sha1}/joptsimple-4-6.sources.jar"; url = mirror://maven/net/sf/jopt-simple/jopt-simple/4.6/jopt-simple-4.6-sources.jar; }
- rec { sha1 = "b852fb028de645ad2852bbe998e084d253f450a5"; name = "JMH_GENERATOR_ANNPROCESS_1_18_${sha1}/jmh-generator-annprocess-1-18.jar"; url = mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.18/jmh-generator-annprocess-1.18.jar; }
- rec { sha1 = "d455b0dc6108b5e6f1fb4f6cf1c7b4cbedbecc97"; name = "JMH_GENERATOR_ANNPROCESS_1_18_${sha1}/jmh-generator-annprocess-1-18.sources.jar"; url = mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.18/jmh-generator-annprocess-1.18-sources.jar; }
- rec { sha1 = "7aac374614a8a76cad16b91f1a4419d31a7dcda3"; name = "JMH_GENERATOR_ANNPROCESS_1_21_${sha1}/jmh-generator-annprocess-1-21.jar"; url = mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21.jar; }
- rec { sha1 = "fb48e2a97df95f8b9dced54a1a37749d2a64d2ae"; name = "JMH_GENERATOR_ANNPROCESS_1_21_${sha1}/jmh-generator-annprocess-1-21.sources.jar"; url = mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21-sources.jar; }
- rec { sha1 = "c01b6798f81b0fc2c5faa70cbe468c275d4b50c7"; name = "ASM_6.2.1_${sha1}/asm-6.2.1.jar"; url = mirror://maven/org/ow2/asm/asm/6.2.1/asm-6.2.1.jar; }
- rec { sha1 = "cee28077ac7a63d3de0b205ec314d83944ff6267"; name = "ASM_6.2.1_${sha1}/asm-6.2.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm/6.2.1/asm-6.2.1-sources.jar; }
- rec { sha1 = "332b022092ecec53cdb6272dc436884b2d940615"; name = "ASM_TREE_6.2.1_${sha1}/asm-tree-6.2.1.jar"; url = mirror://maven/org/ow2/asm/asm-tree/6.2.1/asm-tree-6.2.1.jar; }
- rec { sha1 = "072bd64989090e4ed58e4657e3d4481d96f643af"; name = "ASM_TREE_6.2.1_${sha1}/asm-tree-6.2.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm-tree/6.2.1/asm-tree-6.2.1-sources.jar; }
- rec { sha1 = "e8b876c5ccf226cae2f44ed2c436ad3407d0ec1d"; name = "ASM_ANALYSIS_6.2.1_${sha1}/asm-analysis-6.2.1.jar"; url = mirror://maven/org/ow2/asm/asm-analysis/6.2.1/asm-analysis-6.2.1.jar; }
- rec { sha1 = "b0b249bd185677648692e7c57b488b6d7c2a6653"; name = "ASM_ANALYSIS_6.2.1_${sha1}/asm-analysis-6.2.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm-analysis/6.2.1/asm-analysis-6.2.1-sources.jar; }
- rec { sha1 = "eaf31376d741a3e2017248a4c759209fe25c77d3"; name = "ASM_COMMONS_6.2.1_${sha1}/asm-commons-6.2.1.jar"; url = mirror://maven/org/ow2/asm/asm-commons/6.2.1/asm-commons-6.2.1.jar; }
- rec { sha1 = "667fa0f9d370e7848b0e3d173942855a91fd1daf"; name = "ASM_COMMONS_6.2.1_${sha1}/asm-commons-6.2.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm-commons/6.2.1/asm-commons-6.2.1-sources.jar; }
+ rec { sha1 = "fa29aa438674ff19d5e1386d2c3527a0267f291e"; name = "ASM_7.1_${sha1}/asm-7.1.jar"; url = mirror://maven/org/ow2/asm/asm/7.1/asm-7.1.jar; }
+ rec { sha1 = "9d170062d595240da35301362b079e5579c86f49"; name = "ASM_7.1_${sha1}/asm-7.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm/7.1/asm-7.1-sources.jar; }
+ rec { sha1 = "a3662cf1c1d592893ffe08727f78db35392fa302"; name = "ASM_TREE_7.1_${sha1}/asm-tree-7.1.jar"; url = mirror://maven/org/ow2/asm/asm-tree/7.1/asm-tree-7.1.jar; }
+ rec { sha1 = "157238292b551de8680505fa2d19590d136e25b9"; name = "ASM_TREE_7.1_${sha1}/asm-tree-7.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm-tree/7.1/asm-tree-7.1-sources.jar; }
+ rec { sha1 = "379e0250f7a4a42c66c5e94e14d4c4491b3c2ed3"; name = "ASM_ANALYSIS_7.1_${sha1}/asm-analysis-7.1.jar"; url = mirror://maven/org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1.jar; }
+ rec { sha1 = "36789198124eb075f1a5efa18a0a7812fb16f47f"; name = "ASM_ANALYSIS_7.1_${sha1}/asm-analysis-7.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm-analysis/7.1/asm-analysis-7.1-sources.jar; }
+ rec { sha1 = "431dc677cf5c56660c1c9004870de1ed1ea7ce6c"; name = "ASM_COMMONS_7.1_${sha1}/asm-commons-7.1.jar"; url = mirror://maven/org/ow2/asm/asm-commons/7.1/asm-commons-7.1.jar; }
+ rec { sha1 = "a62ff3ae6e37affda7c6fb7d63b89194c6d006ee"; name = "ASM_COMMONS_7.1_${sha1}/asm-commons-7.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm-commons/7.1/asm-commons-7.1-sources.jar; }
rec { sha1 = "ec2544ab27e110d2d431bdad7d538ed509b21e62"; name = "COMMONS_MATH3_3_2_${sha1}/commons-math3-3-2.jar"; url = mirror://maven/org/apache/commons/commons-math3/3.2/commons-math3-3.2.jar; }
rec { sha1 = "cd098e055bf192a60c81d81893893e6e31a6482f"; name = "COMMONS_MATH3_3_2_${sha1}/commons-math3-3-2.sources.jar"; url = mirror://maven/org/apache/commons/commons-math3/3.2/commons-math3-3.2-sources.jar; }
- rec { sha1 = "0174aa0077e9db596e53d7f9ec37556d9392d5a6"; name = "JMH_1_18_${sha1}/jmh-1-18.jar"; url = mirror://maven/org/openjdk/jmh/jmh-core/1.18/jmh-core-1.18.jar; }
- rec { sha1 = "7ff1e1aafea436b6aa8b29a8b8f1c2d66be26f5b"; name = "JMH_1_18_${sha1}/jmh-1-18.sources.jar"; url = mirror://maven/org/openjdk/jmh/jmh-core/1.18/jmh-core-1.18-sources.jar; }
rec { sha1 = "442447101f63074c61063858033fbfde8a076873"; name = "JMH_1_21_${sha1}/jmh-1-21.jar"; url = mirror://maven/org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21.jar; }
rec { sha1 = "a6fe84788bf8cf762b0e561bf48774c2ea74e370"; name = "JMH_1_21_${sha1}/jmh-1-21.sources.jar"; url = mirror://maven/org/openjdk/jmh/jmh-core/1.21/jmh-core-1.21-sources.jar; }
+ rec { sha1 = "7aac374614a8a76cad16b91f1a4419d31a7dcda3"; name = "JMH_GENERATOR_ANNPROCESS_1_21_${sha1}/jmh-generator-annprocess-1-21.jar"; url = mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21.jar; }
+ rec { sha1 = "fb48e2a97df95f8b9dced54a1a37749d2a64d2ae"; name = "JMH_GENERATOR_ANNPROCESS_1_21_${sha1}/jmh-generator-annprocess-1-21.sources.jar"; url = mirror://maven/org/openjdk/jmh/jmh-generator-annprocess/1.21/jmh-generator-annprocess-1.21-sources.jar; }
rec { sha1 = "2973d150c0dc1fefe998f834810d68f278ea58ec"; name = "JUNIT_${sha1}/junit.jar"; url = mirror://maven/junit/junit/4.12/junit-4.12.jar; }
rec { sha1 = "a6c32b40bf3d76eca54e3c601e5d1470c86fcdfa"; name = "JUNIT_${sha1}/junit.sources.jar"; url = mirror://maven/junit/junit/4.12/junit-4.12-sources.jar; }
rec { sha1 = "42a25dc3219429f0e5d060061f71acb49bf010a0"; name = "HAMCREST_${sha1}/hamcrest.jar"; url = mirror://maven/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar; }
@@ -118,11 +110,11 @@ let
rec { sha1 = "280c265b789e041c02e5c97815793dfc283fb1e6"; name = "LIBFFI_SOURCES_${sha1}/libffi-sources.tar.gz"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/libffi-3.2.1.tar.gz; }
rec { sha1 = "8819cea8bfe22c9c63f55465e296b3855ea41786"; name = "TruffleJSON_${sha1}/trufflejson.jar"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/trufflejson-20180130.jar; }
rec { sha1 = "9712a8124c40298015f04a74f61b3d81a51513af"; name = "CHECKSTYLE_8.8_${sha1}/checkstyle-8.8.jar"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/checkstyle-8.8-all.jar; }
- rec { sha1 = "5a5574f03b58465226166a638641a384b9f44445"; name = "VISUALVM_COMMON_${sha1}/visualvm-common.tar.gz"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm-655.tar.gz; }
- rec { sha1 = "64f07398bac9897e9b8123edeaf5cf9ff19517b5"; name = "VISUALVM_PLATFORM_SPECIFIC_${sha1}/visualvm-platform-specific.tar.gz"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm-655-linux-amd64.tar.gz; }
+ rec { sha1 = "158ba6f2b346469b5f8083d1700c3f55b8b9082c"; name = "VISUALVM_COMMON_${sha1}/visualvm-common.tar.gz"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm/visualvm-19_0_0-11.tar.gz; }
+ rec { sha1 = "eb5ffa476ed2f6fac0ecd4bb2ae32741f9646932"; name = "VISUALVM_PLATFORM_SPECIFIC_${sha1}/visualvm-platform-specific.tar.gz"; url = https://lafo.ssw.uni-linz.ac.at/pub/graal-external-deps/visualvm/visualvm-19_0_0-11-linux-amd64.tar.gz; }
rec { sha1 = "e6e60889b7211a80b21052a249bd7e0f88f79fee"; name = "Java-WebSocket_${sha1}/java-websocket.jar"; url = mirror://maven/org/java-websocket/Java-WebSocket/1.3.9/Java-WebSocket-1.3.9.jar; }
rec { sha1 = "7a4d00d5ec5febd252a6182e8b6e87a0a9821f81"; name = "ICU4J_${sha1}/icu4j.jar"; url = mirror://maven/com/ibm/icu/icu4j/62.1/icu4j-62.1.jar; }
- # This duplication of asm with underscore and minus is totally weird
+ # This duplication of asm with underscore and minus is totally weird
rec { sha1 = "c01b6798f81b0fc2c5faa70cbe468c275d4b50c7"; name = "ASM-6.2.1_${sha1}/asm-6.2.1.jar"; url = mirror://maven/org/ow2/asm/asm/6.2.1/asm-6.2.1.jar; }
rec { sha1 = "cee28077ac7a63d3de0b205ec314d83944ff6267"; name = "ASM-6.2.1_${sha1}/asm-6.2.1.sources.jar"; url = mirror://maven/org/ow2/asm/asm/6.2.1/asm-6.2.1-sources.jar; }
rec { sha1 = "332b022092ecec53cdb6272dc436884b2d940615"; name = "ASM_TREE-6.2.1_${sha1}/asm-tree-6.2.1.jar"; url = mirror://maven/org/ow2/asm/asm-tree/6.2.1/asm-tree-6.2.1.jar; }
@@ -149,14 +141,10 @@ let
];
graal-mxcachegit = [
- { sha256 = "0siryzvmj9h8zkyr0d3gy9fqgyxb9s5xs15rf7lnx9zh3ykq549y"; name = "graaljs";
- url = "http://github.com/graalvm/graaljs.git"; rev = "vm-${version}"; }
- { sha256 = "1ii3mwa0c2zk9vm51hyrymdz3whfihm6sccd2r5ja2v53jcdc1a3"; name = "truffleruby";
- url = "http://github.com/oracle/truffleruby.git"; rev = "vm-${version}"; }
- { sha256 = "1nz8yqg2k9shpmhj3jv7k2icfg72cm55baf354rsh1pqanay8qb7"; name = "fastr";
- url = "http://github.com/oracle/fastr.git"; rev = "vm-${version}"; }
- { sha256 = "1c8nnrl30fys22gk3y6dvxzq0fq1a5hjkqrw15p68cwpz9wma4gi"; name = "graalpython";
- url = "https://github.com/graalvm/graalpython.git"; rev = "vm-${version}"; }
+ { sha256 = "05z2830ng71bhgsxc0zyc74l1bz7hg54la8j1r99993fhhch4y36"; name = "graaljs"; url = "https://github.com/graalvm/graaljs.git"; rev = "vm-${version}"; }
+ { sha256 = "0ai5x4n1c2lcfkfpp29zn1bcmp3khc5hvssyw1qr1l2zy79fxwjp"; name = "truffleruby"; url = "https://github.com/oracle/truffleruby.git"; rev = "vm-${version}"; }
+ { sha256 = "010079qsl6dff3yca8vlzcahq9z1ppyr758shjkm1f7izwphjv7p"; name = "fastr"; url = "https://github.com/oracle/fastr.git"; rev = "vm-${version}"; }
+ { sha256 = "0hcqbasqs0yb7p1sal63qbxqxh942gh5vzl95pfdlflmc2g82v4q"; name = "graalpython"; url = "https://github.com/graalvm/graalpython.git"; rev = "vm-${version}"; }
];
ninja-syntax = python27.pkgs.buildPythonPackage rec {
@@ -180,13 +168,13 @@ let
in rec {
mx = stdenv.mkDerivation rec {
- version = "5.215.4";
+ version = "5.223.0";
pname = "mx";
src = fetchFromGitHub {
owner = "graalvm";
repo = "mx";
rev = version;
- sha256 = "0wrwfiwqjw6xp0bvp2g15jn6yrjb9w6jw1xnwvkyhkw1s6m0w0z1";
+ sha256 = "0q51dnm6n1472p93dxr4jh8d7cv09a70pq89cdgxwh42vapykrn9";
};
nativeBuildInputs = [ makeWrapper ];
prePatch = ''
@@ -219,19 +207,19 @@ in rec {
meta = with stdenv.lib; {
homepage = https://github.com/graalvm/mx;
description = "Command-line tool used for the development of Graal projects";
- license = licenses.unfree;
+ license = licenses.gpl2;
platforms = python27.meta.platforms;
};
};
jvmci8 = stdenv.mkDerivation rec {
- version = "0.58";
- name = "jvmci-${version}";
+ version = "19.2-b01";
+ pname = "jvmci";
src = fetchFromGitHub {
owner = "graalvm";
repo = "graal-jvmci-8";
rev = "jvmci-${version}";
- sha256 = "0p8icn3d99zggsh6pqb15dz1j186ck442sjpn2cv43n4nvdmmp1m";
+ sha256 = "0maipj871vaxvap4576m0pzblzqxfjjzmwap3ndd84ny8d6vbqaa";
};
buildInputs = [ mx mercurial openjdk ];
postUnpack = ''
@@ -249,6 +237,9 @@ in rec {
# The hotspot version name regex fix
substituteInPlace mx.jvmci/mx_jvmci.py \
--replace "\\d+.\\d+-b\\d+" "\\d+.\\d+-bga"
+ substituteInPlace src/share/vm/jvmci/jvmciCompilerToVM.cpp \
+ --replace 'method->name_and_sig_as_C_string(), method->native_function(), entry' \
+ 'method->name_and_sig_as_C_string(), p2i(method->native_function()), p2i(entry)' || exit -1
'';
hardeningDisable = [ "fortify" ];
NIX_CFLAGS_COMPILE = [
@@ -268,20 +259,33 @@ in rec {
mv openjdk1.8.0_*/linux-amd64/product/* $out
install -v -m0555 -D $MX_CACHE_DIR/hsdis*/hsdis.so $out/jre/lib/amd64/hsdis-amd64.so
'';
- dontFixup = true; # do not nuke path of ffmpeg etc
- dontStrip = true; # why? see in oraclejdk derivation
- meta = openjdk.meta // { inherit (graalvm8.meta) platforms; };
- inherit (openjdk) postFixup;
+ # copy-paste openjdk's preFixup
+ preFixup = ''
+ # Propagate the setJavaClassPath setup hook from the JRE so that
+ # any package that depends on the JRE has $CLASSPATH set up
+ # properly.
+ mkdir -p $out/nix-support
+ printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
+
+ # Set JAVA_HOME automatically.
+ mkdir -p $out/nix-support
+ cat < $out/nix-support/setup-hook
+ if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out; fi
+ EOF
+ '';
+ postFixup = openjdk.postFixup or null;
+ dontStrip = true; # stripped javac crashes with "segmentaion fault"
+ inherit (openjdk) meta;
};
graalvm8 = stdenv.mkDerivation rec {
inherit version;
- name = "graal-${version}";
+ pname = "graal";
src = fetchFromGitHub {
owner = "oracle";
repo = "graal";
rev = "vm-${version}";
- sha256 = "18fqah8x7gwz02ji40b4vyqav9x5dw703xwikjc117wlyymb1k56";
+ sha256 = "0abx6adk91yzaf1md4qbidxykpqcgphh6j4hj01ry57s4if0j66f";
};
patches = [ ./002_setjmp.c.patch ./003_mx_truffle.py.patch ];
buildInputs = [ mx zlib mercurial jvmci8 git clang llvm
@@ -324,6 +328,10 @@ in rec {
# Patch the native-image template, as it will be run during build
chmod +x vm/mx.vm/launcher_template.sh && patchShebangs vm/mx.vm
+ # Prevent random errors from too low maxRuntimecompilemethods
+ substituteInPlace truffle/mx.truffle/macro-truffle.properties \
+ --replace '-H:MaxRuntimeCompileMethods=1400' \
+ '-H:MaxRuntimeCompileMethods=28000'
'';
buildPhase = ''
@@ -349,19 +357,21 @@ in rec {
installPhase = ''
mkdir -p $out
- cp -rf $MX_ALT_OUTPUT_ROOT/vm/linux-amd64/GRAALVM_CMP_GU_GVM_INS_JS_LIBPOLY_NFI_NJS_POLY_POLYNATIVE_PRO_PYN_RGX_SLG_SVM_SVMAG_SVMCF_SVML_TFL_VVM/graalvm-unknown-${version}/* $out
+ rm -rf $MX_ALT_OUTPUT_ROOT/vm/linux-amd64/GRAALVM_*STAGE1*
+ cp -rf $MX_ALT_OUTPUT_ROOT/vm/linux-amd64/GRAALVM*/graalvm-unknown-${version}/* $out
# BUG workaround http://mail.openjdk.java.net/pipermail/graal-dev/2017-December/005141.html
substituteInPlace $out/jre/lib/security/java.security \
--replace file:/dev/random file:/dev/./urandom \
--replace NativePRNGBlocking SHA1PRNG
- # Organize the out dir
- mkdir -p $out/share && mv $out/man $out/share
- rm $out/ASSEMBLY_EXCEPTION $out/release $out/LICENSE $out/THIRD_PARTY_README
+ # copy static and dynamic libraries needed for static compilation
+ cp -rf ${glibc}/lib/* $out/jre/lib/svm/clibraries/linux-amd64/
+ cp ${glibc.static}/lib/* $out/jre/lib/svm/clibraries/linux-amd64/
+ cp ${zlib.static}/lib/libz.a $out/jre/lib/svm/clibraries/linux-amd64/libz.a
'';
- dontFixup = true; # do not nuke path of ffmpeg etc
- dontStrip = true; # why? see in oraclejdk derivation
+ inherit (jvmci8) preFixup;
+ dontStrip = true; # stripped javac crashes with "segmentaion fault"
doInstallCheck = true;
installCheckPhase = ''
echo ${lib.escapeShellArg ''
@@ -381,8 +391,14 @@ in rec {
$out/bin/native-image --no-server HelloWorld
./helloworld
./helloworld | fgrep 'Hello World'
+
+ # Ahead-Of-Time compilation with --static
+ $out/bin/native-image --no-server --static HelloWorld
+ ./helloworld
+ ./helloworld | fgrep 'Hello World'
'';
+ enableParallelBuilding = true;
passthru.home = graalvm8;
meta = with stdenv.lib; {
@@ -390,7 +406,7 @@ in rec {
description = "High-Performance Polyglot VM";
license = licenses.gpl2;
maintainers = with maintainers; [ volth hlolli ];
- platforms = [ "x86_64-linux" ];
+ platforms = [ "x86_64-linux" /*"aarch64-linux" "x86_64-darwin"*/ ];
};
};
}
diff --git a/pkgs/development/compilers/graalvm/enterprise-edition.nix b/pkgs/development/compilers/graalvm/enterprise-edition.nix
new file mode 100644
index 00000000000..84cb38aa8d1
--- /dev/null
+++ b/pkgs/development/compilers/graalvm/enterprise-edition.nix
@@ -0,0 +1,133 @@
+{ stdenv, requireFile, perl, unzip, glibc, zlib, gdk-pixbuf, xorg, glib, fontconfig, freetype, cairo, pango, gtk3, gtk2, ffmpeg, libGL, atk, alsaLib, libav_0_8, setJavaClassPath }:
+
+let
+ graalvm8-ee = stdenv.mkDerivation rec {
+ pname = "graalvm8-ee";
+ version = "19.2.0";
+ srcs = [
+ (requireFile {
+ name = "graalvm-ee-linux-amd64-${version}.tar.gz";
+ sha256 = "1j56lyids48zyjhxk8xl4niy8hk6qzi1aj7c55yfh62id8v6cpbw";
+ url = "https://www.oracle.com/technetwork/graalvm/downloads/index.html";
+ })
+ (requireFile {
+ name = "native-image-installable-svm-svmee-linux-amd64-${version}.jar";
+ sha256 = "07c25l27msxccqrbz4bknz0sxsl0z2k8990cdfkbrgxvhxspfnnm";
+ url = "https://www.oracle.com/technetwork/graalvm/downloads/index.html";
+ })
+ (requireFile {
+ name = "python-installable-svm-svmee-linux-amd64-${version}.jar";
+ sha256 = "1c7kpz56w9p418li97ymixdwywscr85vhn7jkzxq71bj7ia7pxwz";
+ url = "https://www.oracle.com/technetwork/graalvm/downloads/index.html";
+ })
+ (requireFile {
+ name = "ruby-installable-svm-svmee-linux-amd64-${version}.jar";
+ sha256 = "13jfm5qpxqxz7f5n9yyvqrv1vwigifrjwk3hssp23maski2ssys1";
+ url = "https://www.oracle.com/technetwork/graalvm/downloads/index.html";
+ })
+ ];
+ nativeBuildInputs = [ unzip perl ];
+ unpackPhase = ''
+ unpack_jar() {
+ jar=$1
+ unzip $jar -d $out
+ perl -ne 'use File::Path qw(make_path);
+ use File::Basename qw(dirname);
+ if (/^(.+) = (.+)$/) {
+ make_path dirname("$ENV{out}/$1");
+ system "ln -s $2 $ENV{out}/$1";
+ }' $out/META-INF/symlinks
+ perl -ne 'if (/^(.+) = ([r-])([w-])([x-])([r-])([w-])([x-])([r-])([w-])([x-])$/) {
+ my $mode = ($2 eq 'r' ? 0400 : 0) + ($3 eq 'w' ? 0200 : 0) + ($4 eq 'x' ? 0100 : 0) +
+ ($5 eq 'r' ? 0040 : 0) + ($6 eq 'w' ? 0020 : 0) + ($7 eq 'x' ? 0010 : 0) +
+ ($8 eq 'r' ? 0004 : 0) + ($9 eq 'w' ? 0002 : 0) + ($10 eq 'x' ? 0001 : 0);
+ chmod $mode, "$ENV{out}/$1";
+ }' $out/META-INF/permissions
+ rm -rf $out/META-INF
+ }
+
+ mkdir -p $out
+ arr=($srcs)
+ tar xf ''${arr[0]} -C $out --strip-components=1
+ unpack_jar ''${arr[1]}
+ unpack_jar ''${arr[2]}
+ unpack_jar ''${arr[3]}
+ '';
+
+ installPhase = ''
+ # BUG workaround http://mail.openjdk.java.net/pipermail/graal-dev/2017-December/005141.html
+ substituteInPlace $out/jre/lib/security/java.security \
+ --replace file:/dev/random file:/dev/./urandom \
+ --replace NativePRNGBlocking SHA1PRNG
+
+ # provide libraries needed for static compilation
+ for f in ${glibc}/lib/* ${glibc.static}/lib/* ${zlib.static}/lib/*; do
+ ln -s $f $out/jre/lib/svm/clibraries/linux-amd64/$(basename $f)
+ done
+ '';
+
+ dontStrip = true;
+
+ preFixup = ''
+ # Set JAVA_HOME automatically.
+ mkdir -p $out/nix-support
+ cat < $out/nix-support/setup-hook
+ if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out; fi
+ EOF
+ '';
+
+ postFixup = ''
+ rpath="$out/jre/lib/amd64/jli:$out/jre/lib/amd64/server:$out/jre/lib/amd64:${
+ stdenv.lib.strings.makeLibraryPath [ glibc xorg.libXxf86vm xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXrender
+ glib zlib alsaLib fontconfig freetype pango gtk3 gtk2 cairo gdk-pixbuf atk ffmpeg libGL ]}"
+
+ for f in $(find $out -type f -perm -0100); do
+ patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" "$f" || true
+ patchelf --set-rpath "$rpath" "$f" || true
+ done
+
+ for f in $(find $out -type f -perm -0100); do
+ if ldd "$f" | fgrep 'not found'; then echo "in file $f"; fi
+ done
+ '';
+
+ propagatedBuildInputs = [ setJavaClassPath zlib ]; # $out/bin/native-image needs zlib to build native executables
+
+ doInstallCheck = true;
+ installCheckPhase = ''
+ echo ${stdenv.lib.escapeShellArg ''
+ public class HelloWorld {
+ public static void main(String[] args) {
+ System.out.println("Hello World");
+ }
+ }
+ ''} > HelloWorld.java
+ $out/bin/javac HelloWorld.java
+
+ # run on JVM with Graal Compiler
+ $out/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler HelloWorld
+ $out/bin/java -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI -XX:+UseJVMCICompiler HelloWorld | fgrep 'Hello World'
+
+ # Ahead-Of-Time compilation
+ $out/bin/native-image --no-server HelloWorld
+ ./helloworld
+ ./helloworld | fgrep 'Hello World'
+
+ # Ahead-Of-Time compilation with --static
+ $out/bin/native-image --no-server --static HelloWorld
+ ./helloworld
+ ./helloworld | fgrep 'Hello World'
+ '';
+
+ passthru.home = graalvm8-ee;
+
+ meta = with stdenv.lib; {
+ homepage = https://www.graalvm.org/;
+ description = "High-Performance Polyglot VM";
+ license = licenses.unfree;
+ maintainers = with maintainers; [ volth hlolli ];
+ platforms = [ "x86_64-linux" ];
+ };
+ };
+in
+ graalvm8-ee
diff --git a/pkgs/development/compilers/halide/default.nix b/pkgs/development/compilers/halide/default.nix
index 1d3b13937fc..683f8d7ace0 100644
--- a/pkgs/development/compilers/halide/default.nix
+++ b/pkgs/development/compilers/halide/default.nix
@@ -1,5 +1,5 @@
{ llvmPackages, lib, fetchFromGitHub, cmake
-, libpng, libjpeg, mesa_noglu, eigen, openblas
+, libpng, libjpeg, mesa, eigen, openblas
}:
let
@@ -37,7 +37,7 @@ in llvmPackages.stdenv.mkDerivation {
# Note: only openblas and not atlas part of this Nix expression
# see pkgs/development/libraries/science/math/liblapack/3.5.0.nix
# to get a hint howto setup atlas instead of openblas
- buildInputs = [ llvmPackages.llvm libpng libjpeg mesa_noglu eigen openblas ];
+ buildInputs = [ llvmPackages.llvm libpng libjpeg mesa eigen openblas ];
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/compilers/haxe/default.nix b/pkgs/development/compilers/haxe/default.nix
index 0a974fccc88..0ae038d4713 100644
--- a/pkgs/development/compilers/haxe/default.nix
+++ b/pkgs/development/compilers/haxe/default.nix
@@ -2,8 +2,9 @@
let
generic = { version, sha256, prePatch }:
- stdenv.mkDerivation rec {
- name = "haxe-${version}";
+ stdenv.mkDerivation {
+ pname = "haxe";
+ inherit version;
buildInputs = [ocaml zlib pcre neko camlp4];
diff --git a/pkgs/development/compilers/hhvm/default.nix b/pkgs/development/compilers/hhvm/default.nix
index 010dacd0c71..24e88f9ee2e 100644
--- a/pkgs/development/compilers/hhvm/default.nix
+++ b/pkgs/development/compilers/hhvm/default.nix
@@ -7,7 +7,7 @@
}:
stdenv.mkDerivation rec {
- name = "hhvm-${version}";
+ pname = "hhvm";
version = "3.23.2";
# use git version since we need submodules
diff --git a/pkgs/development/compilers/iasl/default.nix b/pkgs/development/compilers/iasl/default.nix
index 2b589125604..fccdf7a978d 100644
--- a/pkgs/development/compilers/iasl/default.nix
+++ b/pkgs/development/compilers/iasl/default.nix
@@ -1,15 +1,17 @@
-{stdenv, fetchurl, bison, flex}:
+{stdenv, fetchurl, fetchpatch, bison, flex}:
stdenv.mkDerivation rec {
- name = "iasl-${version}";
- version = "20181213";
+ pname = "iasl";
+ version = "20190108";
src = fetchurl {
url = "https://acpica.org/sites/acpica/files/acpica-unix-${version}.tar.gz";
- sha256 = "1vgqlv9pvxc52faxixpgz7hi1awqmj88bw5vqn3bldf6fmkh147w";
+ sha256 = "0bqhr3ndchvfhxb31147z8gd81dysyz5dwkvmp56832d0js2564q";
};
- NIX_CFLAGS_COMPILE = "-O3";
+ NIX_CFLAGS_COMPILE = [
+ "-O3"
+ ];
buildFlags = "iasl";
diff --git a/pkgs/development/compilers/icedtea-web/default.nix b/pkgs/development/compilers/icedtea-web/default.nix
deleted file mode 100644
index 9390cbde637..00000000000
--- a/pkgs/development/compilers/icedtea-web/default.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{ stdenv, fetchurl, jdk, gtk2, xulrunner, zip, pkgconfig, perl, npapi_sdk, bash, bc }:
-
-stdenv.mkDerivation rec {
- name = "icedtea-web-${version}";
-
- version = "1.7.1";
-
- src = fetchurl {
- url = "http://icedtea.wildebeest.org/download/source/${name}.tar.gz";
- sha256 = "1b9z0i9b1dsc2qpfdzbn2fi4vi3idrhm7ig45g1ny40ymvxcwwn9";
- };
-
- nativeBuildInputs = [ pkgconfig bc perl ];
- buildInputs = [ gtk2 xulrunner zip npapi_sdk ];
-
- preConfigure = ''
- #patchShebangs javac.in
- configureFlagsArray+=("BIN_BASH=${bash}/bin/bash")
- '';
-
- configureFlags = [
- "--with-jdk-home=${jdk.home}"
- "--disable-docs"
- ];
-
- mozillaPlugin = "/lib";
-
- meta = {
- description = "Java web browser plugin and an implementation of Java Web Start";
- longDescription = ''
- A Free Software web browser plugin running applets written in the Java
- programming language and an implementation of Java Web Start, originally
- based on the NetX project.
- '';
- homepage = http://icedtea.classpath.org/wiki/IcedTea-Web;
- maintainers = with stdenv.lib.maintainers; [ wizeman ];
- platforms = stdenv.lib.platforms.linux;
- };
-}
diff --git a/pkgs/development/compilers/inform7/default.nix b/pkgs/development/compilers/inform7/default.nix
index a6955c03051..2a6551aad18 100644
--- a/pkgs/development/compilers/inform7/default.nix
+++ b/pkgs/development/compilers/inform7/default.nix
@@ -2,7 +2,8 @@
let
version = "6M62";
in stdenv.mkDerivation {
- name = "inform7-${version}";
+ pname = "inform7";
+ inherit version;
buildInputs = [ perl coreutils gnutar gzip ];
src = fetchzip {
url = "http://inform7.com/download/content/6M62/I7_6M62_Linux_all.tar.gz";
diff --git a/pkgs/development/compilers/intercal/default.nix b/pkgs/development/compilers/intercal/default.nix
index f601dc254a4..6640c4aa89a 100644
--- a/pkgs/development/compilers/intercal/default.nix
+++ b/pkgs/development/compilers/intercal/default.nix
@@ -6,11 +6,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "intercal-${version}";
+ pname = "intercal";
version = "0.30";
src = fetchurl {
- url = "http://catb.org/esr/intercal/${name}.tar.gz";
+ url = "http://catb.org/esr/intercal/${pname}-${version}.tar.gz";
sha256 = "058ppvvgz9r5603ia9jkknbrciypgg4hjbczrv9v1d9w3ak652xk";
};
diff --git a/pkgs/development/compilers/ispc/default.nix b/pkgs/development/compilers/ispc/default.nix
index 2657ee6633b..f240deda0bf 100644
--- a/pkgs/development/compilers/ispc/default.nix
+++ b/pkgs/development/compilers/ispc/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchFromGitHub, fetchpatch, which, m4, python, bison, flex, llvmPackages,
+{stdenv, fetchFromGitHub, which, m4, python, bison, flex, llvmPackages,
testedTargets ? ["sse2" "host"] # the default test target is sse4, but that is not supported by all Hydra agents
}:
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
inherit testedTargets;
- name = "ispc-${version}";
+ pname = "ispc";
src = fetchFromGitHub {
owner = "ispc";
diff --git a/pkgs/development/compilers/javacard-devkit/default.nix b/pkgs/development/compilers/javacard-devkit/default.nix
index 06f321bc39c..f49d3d6e210 100644
--- a/pkgs/development/compilers/javacard-devkit/default.nix
+++ b/pkgs/development/compilers/javacard-devkit/default.nix
@@ -3,7 +3,6 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "javacard-devkit";
version = "2.2.2";
uscoreVersion = builtins.replaceStrings ["."] ["_"] version;
diff --git a/pkgs/development/compilers/jetbrains-jdk/default.nix b/pkgs/development/compilers/jetbrains-jdk/default.nix
index 08e3ec4f445..1349b7f0ddd 100644
--- a/pkgs/development/compilers/jetbrains-jdk/default.nix
+++ b/pkgs/development/compilers/jetbrains-jdk/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, file, glib, libxml2, libav_0_8, ffmpeg, libxslt
, libGL , xorg, alsaLib, fontconfig, freetype, pango, gtk2, cairo
-, gdk_pixbuf, atk, zlib }:
+, gdk-pixbuf, atk, zlib }:
# TODO: Investigate building from source instead of patching binaries.
# TODO: Binary patching for not just x86_64-linux but also x86_64-darwin i686-linux
@@ -8,7 +8,6 @@
let drv = stdenv.mkDerivation rec {
pname = "jetbrainsjdk";
version = "164";
- name = pname + "-" + version;
src = if stdenv.hostPlatform.system == "x86_64-linux" then
fetchurl {
@@ -38,7 +37,7 @@ let drv = stdenv.mkDerivation rec {
rpath = lib.makeLibraryPath ([
stdenv.cc.cc stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
- alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk zlib
+ alsaLib fontconfig freetype pango gtk2 cairo gdk-pixbuf atk zlib
(placeholder "out")
] ++ (with xorg; [
libX11 libXext libXtst libXi libXp libXt libXrender libXxf86vm
diff --git a/pkgs/development/compilers/jsonnet/default.nix b/pkgs/development/compilers/jsonnet/default.nix
index 6104ffc7aaa..460ff405b94 100644
--- a/pkgs/development/compilers/jsonnet/default.nix
+++ b/pkgs/development/compilers/jsonnet/default.nix
@@ -1,26 +1,28 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "jsonnet-${version}";
- version = "0.12.1";
+ pname = "jsonnet";
+ version = "0.13.0";
src = fetchFromGitHub {
rev = "v${version}";
owner = "google";
repo = "jsonnet";
- sha256 = "13a0sf1k8ivxhc28w0d0axzr0sj3jccl9sjq6l0dkyzrnmbxzmkb";
+ sha256 = "1fibr1kysbxcf8jp2a4xvs3n7i8d9k2430agxzc9mdyqrh79zlxk";
};
enableParallelBuilding = true;
makeFlags = [
"jsonnet"
+ "jsonnetfmt"
"libjsonnet.so"
];
installPhase = ''
mkdir -p $out/bin $out/lib $out/include
cp jsonnet $out/bin/
+ cp jsonnetfmt $out/bin/
cp libjsonnet*.so $out/lib/
cp -a include/*.h $out/include/
'';
diff --git a/pkgs/development/compilers/julia/1.0.nix b/pkgs/development/compilers/julia/1.0.nix
index a679eda3306..3cd9daee141 100644
--- a/pkgs/development/compilers/julia/1.0.nix
+++ b/pkgs/development/compilers/julia/1.0.nix
@@ -1,8 +1,8 @@
import ./shared.nix {
majorVersion = "1";
minorVersion = "0";
- maintenanceVersion = "3";
- src_sha256 = "0666chsc19wx02k5m1yilf6wbc9bw27ay8p1d00jkh8m0jkrpf7l";
+ maintenanceVersion = "4";
+ src_sha256 = "1dfx68wbrrzpbh74rla7i2g3r5z6wa1pxq3ahyfm5m27vfyjbkhg";
libuvVersion = "ed3700c849289ed01fe04273a7bf865340b2bd7e";
libuvSha256 = "137w666zsjw1p0ma3lf94d75hr1q45sgkfmbizkyji2qm57cnxjs";
diff --git a/pkgs/development/compilers/julia/1.1.nix b/pkgs/development/compilers/julia/1.1.nix
index a868f949d27..5be34b4c4b4 100644
--- a/pkgs/development/compilers/julia/1.1.nix
+++ b/pkgs/development/compilers/julia/1.1.nix
@@ -1,8 +1,8 @@
import ./shared.nix {
majorVersion = "1";
minorVersion = "1";
- maintenanceVersion = "0";
- src_sha256 = "08fyck4qcdv9nnrdqh1wb7lb8pkkikh67xx5lc872sjl9w3p0sak";
+ maintenanceVersion = "1";
+ src_sha256 = "1yqjd0n42xf9hzxpvc9vysyjj98p42by216jkdqakdy7dkjcmnhq";
libuvVersion = "2348256acf5759a544e5ca7935f638d2bc091d60";
libuvSha256 = "1363f4vqayfcv5zqg07qmzjff56yhad74k16c22ian45lram8mv8";
diff --git a/pkgs/development/compilers/julia/shared.nix b/pkgs/development/compilers/julia/shared.nix
index 6706cf1e2bd..c706f2facec 100644
--- a/pkgs/development/compilers/julia/shared.nix
+++ b/pkgs/development/compilers/julia/shared.nix
@@ -9,7 +9,7 @@
{ stdenv, fetchurl, fetchzip
# build tools
, gfortran, m4, makeWrapper, patchelf, perl, which, python2
-, llvm, cmake
+, cmake
# libjulia dependencies
, libunwind, readline, utf8proc, zlib
# standard library dependencies
@@ -77,10 +77,9 @@ in
stdenv.mkDerivation rec {
pname = "julia";
inherit version;
- name = "${pname}-${version}";
src = fetchzip {
- url = "https://github.com/JuliaLang/${pname}/releases/download/v${version}/${name}.tar.gz";
+ url = "https://github.com/JuliaLang/${pname}/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = src_sha256;
};
prePatch = ''
@@ -130,10 +129,10 @@ stdenv.mkDerivation rec {
makeFlags =
let
arch = head (splitString "-" stdenv.system);
- march = { "x86_64" = stdenv.hostPlatform.platform.gcc.arch or "x86-64"; "i686" = "pentium4"; }."${arch}"
+ march = { x86_64 = stdenv.hostPlatform.platform.gcc.arch or "x86-64"; i686 = "pentium4"; }.${arch}
or (throw "unsupported architecture: ${arch}");
# Julia requires Pentium 4 (SSE2) or better
- cpuTarget = { "x86_64" = "x86-64"; "i686" = "pentium4"; }."${arch}"
+ cpuTarget = { x86_64 = "x86-64"; i686 = "pentium4"; }.${arch}
or (throw "unsupported architecture: ${arch}");
in [
"ARCH=${arch}"
@@ -173,16 +172,11 @@ stdenv.mkDerivation rec {
"USE_SYSTEM_ZLIB=1"
];
- NIX_CFLAGS_COMPILE = [ "-fPIC" ];
-
LD_LIBRARY_PATH = makeLibraryPath [
arpack fftw fftwSinglePrec gmp libgit2 mpfr openblas openlibm
openspecfun pcre2
];
- dontStrip = true;
- dontPatchELF = true;
-
enableParallelBuilding = true;
doCheck = !stdenv.isDarwin;
diff --git a/pkgs/development/compilers/jwasm/default.nix b/pkgs/development/compilers/jwasm/default.nix
index 9800b33e7a9..a9613de91eb 100644
--- a/pkgs/development/compilers/jwasm/default.nix
+++ b/pkgs/development/compilers/jwasm/default.nix
@@ -2,8 +2,8 @@
, cmake }:
with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "jwasm-${version}";
+stdenv.mkDerivation {
+ pname = "jwasm";
version = "git-2017-11-22";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/kotlin/default.nix b/pkgs/development/compilers/kotlin/default.nix
index 87c798c8d38..90dc20fcd3e 100644
--- a/pkgs/development/compilers/kotlin/default.nix
+++ b/pkgs/development/compilers/kotlin/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchurl, makeWrapper, jre, unzip }:
let
- version = "1.3.31";
-in stdenv.mkDerivation rec {
+ version = "1.3.41";
+in stdenv.mkDerivation {
inherit version;
- name = "kotlin-${version}";
+ pname = "kotlin";
src = fetchurl {
url = "https://github.com/JetBrains/kotlin/releases/download/v${version}/kotlin-compiler-${version}.zip";
- sha256 = "0sldhjxh2ghzwkabgziyiq4609iws0vninr8zxclzbqmcgajawqh";
+ sha256 = "0ch1fynqjfsb7jklw3pa6fygrgnl8nz4x4v0id06wq4md23bcjn4";
};
propagatedBuildInputs = [ jre ] ;
diff --git a/pkgs/development/compilers/ldc/default.nix b/pkgs/development/compilers/ldc/default.nix
index b3cf84fdd0f..787a9352e22 100644
--- a/pkgs/development/compilers/ldc/default.nix
+++ b/pkgs/development/compilers/ldc/default.nix
@@ -2,8 +2,8 @@
, python, libconfig, lit, gdb, unzip, darwin, bash
, callPackage, makeWrapper, targetPackages
, bootstrapVersion ? false
-, version ? "1.15.0"
-, ldcSha256 ? "1qnfy2q8zkywvby7wa8jm20mlpghn28x6w357cpc8hi56g7y1q6p"
+, version ? "1.16.0"
+, ldcSha256 ? "00kk6pijn1ay2kkrp6b5ismawxr10azwij89k1rkszavqq6rsva2"
}:
let
@@ -21,7 +21,8 @@ let
in
stdenv.mkDerivation rec {
- name = "ldc-${version}";
+ pname = "ldc";
+ inherit version;
enableParallelBuilding = true;
diff --git a/pkgs/development/compilers/llvm/3.5/clang.nix b/pkgs/development/compilers/llvm/3.5/clang.nix
index 7e0163577ba..9a602c62777 100644
--- a/pkgs/development/compilers/llvm/3.5/clang.nix
+++ b/pkgs/development/compilers/llvm/3.5/clang.nix
@@ -2,10 +2,13 @@
let
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
in stdenv.mkDerivation {
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
+
+ src = fetch "cfe" "0846h8vn3zlc00jkmvrmy88gc6ql6014c02l4jv78fpvfigmgssg";
unpackPhase = ''
- unpackFile ${fetch "cfe" "0846h8vn3zlc00jkmvrmy88gc6ql6014c02l4jv78fpvfigmgssg"}
+ unpackFile $src
mv cfe-${version}.src clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
diff --git a/pkgs/development/compilers/llvm/3.5/dragonegg.nix b/pkgs/development/compilers/llvm/3.5/dragonegg.nix
index d54ffd96382..e327fa79c6f 100644
--- a/pkgs/development/compilers/llvm/3.5/dragonegg.nix
+++ b/pkgs/development/compilers/llvm/3.5/dragonegg.nix
@@ -1,7 +1,8 @@
{stdenv, fetch, llvm, gmp, mpfr, libmpc, ncurses, zlib, version}:
stdenv.mkDerivation rec {
- name = "dragonegg-${version}";
+ pname = "dragonegg";
+ inherit version;
src = fetch "dragonegg" "1va4wv2b1dj0dpzsksnpnd0jic52q7pqj79w3m9jwdb58h7104dw";
@@ -11,9 +12,9 @@ stdenv.mkDerivation rec {
buildInputs = [ llvm gmp mpfr libmpc ncurses zlib ];
installPhase = ''
- mkdir -p $out/lib $out/share/doc/${name}
+ mkdir -p $out/lib $out/share/doc/${pname}-${version}
cp -d dragonegg.so $out/lib
- cp README COPYING $out/share/doc/${name}
+ cp README COPYING $out/share/doc/${pname}-${version}
'';
meta = {
diff --git a/pkgs/development/compilers/llvm/3.5/libc++/default.nix b/pkgs/development/compilers/llvm/3.5/libc++/default.nix
index 6edd5e9798c..44610a1b11d 100644
--- a/pkgs/development/compilers/llvm/3.5/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/3.5/libc++/default.nix
@@ -2,8 +2,9 @@
let version = "3.5.2"; in
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
src = fetchurl {
url = "http://llvm.org/releases/${version}/libcxx-${version}.src.tar.xz";
diff --git a/pkgs/development/compilers/llvm/3.5/libc++abi/default.nix b/pkgs/development/compilers/llvm/3.5/libc++abi/default.nix
index 268f2702a23..d295ddbf8a4 100644
--- a/pkgs/development/compilers/llvm/3.5/libc++abi/default.nix
+++ b/pkgs/development/compilers/llvm/3.5/libc++abi/default.nix
@@ -8,7 +8,8 @@ let
sha256 = "10idgcbs4pcx6mjsbq1vjm8hzqqdk2p7k86cw9f473jmfyfwgf5j";
};
in stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
src = fetchurl {
url = "http://llvm.org/releases/${version}/libcxxabi-${version}.src.tar.xz";
diff --git a/pkgs/development/compilers/llvm/3.5/lld.nix b/pkgs/development/compilers/llvm/3.5/lld.nix
index 4a398bd96a0..8fe4dd6f1d5 100644
--- a/pkgs/development/compilers/llvm/3.5/lld.nix
+++ b/pkgs/development/compilers/llvm/3.5/lld.nix
@@ -1,7 +1,8 @@
{ stdenv, fetch, cmake, llvm, ncurses, zlib, python, version }:
stdenv.mkDerivation {
- name = "lld-${version}";
+ pname = "lld";
+ inherit version;
src = fetch "lld" "1hpqawg1sc8mdqxqaxqmlzbrn69w1pkj8rxhjgqgmwra6c0xky89";
diff --git a/pkgs/development/compilers/llvm/3.5/lldb.nix b/pkgs/development/compilers/llvm/3.5/lldb.nix
index a5161333b28..b4823e9d8c2 100644
--- a/pkgs/development/compilers/llvm/3.5/lldb.nix
+++ b/pkgs/development/compilers/llvm/3.5/lldb.nix
@@ -13,7 +13,8 @@
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
src = fetch "lldb" "0ffi9jn4k3yd0hvxs1v4n710x8siq21lb49v3351d7j5qinrpgi7";
diff --git a/pkgs/development/compilers/llvm/3.5/llvm.nix b/pkgs/development/compilers/llvm/3.5/llvm.nix
index 2645469767a..fc53ad266a6 100644
--- a/pkgs/development/compilers/llvm/3.5/llvm.nix
+++ b/pkgs/development/compilers/llvm/3.5/llvm.nix
@@ -17,13 +17,14 @@
, enableSharedLibraries ? !stdenv.isDarwin
}:
-let
+stdenv.mkDerivation {
+ pname = "llvm";
+ inherit version;
+
src = fetch "llvm" "0xf5q17kkxsrm2gsi93h4pwlv663kji73r2g4asb97klsmb626a4";
-in stdenv.mkDerivation rec {
- name = "llvm-${version}";
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}.src llvm
sourceRoot=$PWD/llvm
unpackFile ${compiler-rt_src}
@@ -85,8 +86,6 @@ in stdenv.mkDerivation rec {
enableParallelBuilding = true;
- passthru.src = src;
-
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
homepage = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/3.5/polly.nix b/pkgs/development/compilers/llvm/3.5/polly.nix
index bacf4d30556..06bc7490c7b 100644
--- a/pkgs/development/compilers/llvm/3.5/polly.nix
+++ b/pkgs/development/compilers/llvm/3.5/polly.nix
@@ -1,7 +1,8 @@
{ stdenv, fetch, cmake, isl, python, gmp, llvm, version }:
stdenv.mkDerivation {
- name = "polly-${version}";
+ pname = "polly";
+ inherit version;
src = fetch "polly" "1s6v54czmgq626an4yk2k34lrzkwmz1bjrbiafh7j23yc2w4nalx";
diff --git a/pkgs/development/compilers/llvm/3.8/D17533-1.patch b/pkgs/development/compilers/llvm/3.8/D17533-1.patch
deleted file mode 100644
index 79ca953d6e5..00000000000
--- a/pkgs/development/compilers/llvm/3.8/D17533-1.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-commit eb92f5a745014532b83abfba04602fce87ca8393
-Author: Chuang-Yu Cheng
-Date: Fri Apr 8 12:04:32 2016 +0000
-
- CXX_FAST_TLS calling convention: performance improvement for PPC64
-
- This is the same change on PPC64 as r255821 on AArch64. I have even borrowed
- his commit message.
-
- The access function has a short entry and a short exit, the initialization
- block is only run the first time. To improve the performance, we want to
- have a short frame at the entry and exit.
-
- We explicitly handle most of the CSRs via copies. Only the CSRs that are not
- handled via copies will be in CSR_SaveList.
-
- Frame lowering and prologue/epilogue insertion will generate a short frame
- in the entry and exit according to CSR_SaveList. The majority of the CSRs will
- be handled by register allcoator. Register allocator will try to spill and
- reload them in the initialization block.
-
- We add CSRsViaCopy, it will be explicitly handled during lowering.
-
- 1> we first set FunctionLoweringInfo->SplitCSR if conditions are met (the target
- supports it for the given machine function and the function has only return
- exits). We also call TLI->initializeSplitCSR to perform initialization.
- 2> we call TLI->insertCopiesSplitCSR to insert copies from CSRsViaCopy to
- virtual registers at beginning of the entry block and copies from virtual
- registers to CSRsViaCopy at beginning of the exit blocks.
- 3> we also need to make sure the explicit copies will not be eliminated.
-
- Author: Tom Jablin (tjablin)
- Reviewers: hfinkel kbarton cycheng
-
- http://reviews.llvm.org/D17533
-
- git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265781 91177308-0d34-0410-b5e6-96231b3b80d8
-
-diff --git a/lib/CodeGen/TargetFrameLoweringImpl.cpp b/lib/CodeGen/TargetFrameLoweringImpl.cpp
-index 679ade1..0a0e079 100644
---- a/lib/CodeGen/TargetFrameLoweringImpl.cpp
-+++ b/lib/CodeGen/TargetFrameLoweringImpl.cpp
-@@ -63,12 +63,15 @@ void TargetFrameLowering::determineCalleeSaves(MachineFunction &MF,
- const TargetRegisterInfo &TRI = *MF.getSubtarget().getRegisterInfo();
- const MCPhysReg *CSRegs = TRI.getCalleeSavedRegs(&MF);
-
-+ // Resize before the early returns. Some backends expect that
-+ // SavedRegs.size() == TRI.getNumRegs() after this call even if there are no
-+ // saved registers.
-+ SavedRegs.resize(TRI.getNumRegs());
-+
- // Early exit if there are no callee saved registers.
- if (!CSRegs || CSRegs[0] == 0)
- return;
-
-- SavedRegs.resize(TRI.getNumRegs());
--
- // In Naked functions we aren't going to save any registers.
- if (MF.getFunction()->hasFnAttribute(Attribute::Naked))
- return;
diff --git a/pkgs/development/compilers/llvm/3.8/clang/default.nix b/pkgs/development/compilers/llvm/3.8/clang/default.nix
deleted file mode 100644
index cc25a41b040..00000000000
--- a/pkgs/development/compilers/llvm/3.8/clang/default.nix
+++ /dev/null
@@ -1,78 +0,0 @@
-{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python }:
-
-let
- gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
- self = stdenv.mkDerivation {
- name = "clang-${version}";
-
- unpackPhase = ''
- unpackFile ${fetch "cfe" "1prc72xmkgx8wrzmrr337776676nhsp1qd3mw2bvb22bzdnq7lsc"}
- mv cfe-${version}.src clang
- sourceRoot=$PWD/clang
- unpackFile ${clang-tools-extra_src}
- mv clang-tools-extra-* $sourceRoot/tools/extra
- '';
-
- nativeBuildInputs = [ cmake ];
- buildInputs = [ libxml2 llvm python ];
-
- cmakeFlags = [
- "-DCMAKE_CXX_FLAGS=-std=c++11"
- ] ++
- # Maybe with compiler-rt this won't be needed?
- (stdenv.lib.optional stdenv.isLinux "-DGCC_INSTALL_PREFIX=${gcc}") ++
- (stdenv.lib.optional (stdenv.cc.libc != null) "-DC_INCLUDE_DIRS=${stdenv.cc.libc}/include");
-
- patches = [ ./purity.patch ];
-
- postPatch = ''
- sed -i -e 's/Args.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/Tools.cpp
- sed -i -e 's/DriverArgs.hasArg(options::OPT_nostdlibinc)/true/' lib/Driver/ToolChains.cpp
- '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
- sed -i -e 's/lgcc_s/lgcc_eh/' lib/Driver/Tools.cpp
- '';
-
- outputs = [ "out" "lib" "python" ];
-
- # Clang expects to find LLVMgold in its own prefix
- # Clang expects to find sanitizer libraries in its own prefix
- postInstall = ''
- if [ -e ${llvm}/lib/LLVMgold.so ]; then
- ln -sv ${llvm}/lib/LLVMgold.so $out/lib
- fi
-
- ln -sv ${llvm}/lib/clang/${version}/lib $out/lib/clang/${version}/
- ln -sv $out/bin/clang $out/bin/cpp
-
- # Move libclang to 'lib' output
- moveToOutput "lib/libclang.*" "$lib"
- substituteInPlace $out/share/clang/cmake/ClangTargets-release.cmake \
- --replace "\''${_IMPORT_PREFIX}/lib/libclang." "$lib/lib/libclang."
-
- mkdir -p $python/bin $python/share/clang/
- mv $out/bin/{git-clang-format,scan-view} $python/bin
- if [ -e $out/bin/set-xcode-analyzer ]; then
- mv $out/bin/set-xcode-analyzer $python/bin
- fi
- mv $out/share/clang/*.py $python/share/clang
-
- rm $out/bin/c-index-test
- '';
-
- enableParallelBuilding = true;
-
- passthru = {
- isClang = true;
- inherit llvm;
- } // stdenv.lib.optionalAttrs stdenv.isLinux {
- inherit gcc;
- };
-
- meta = {
- description = "A c, c++, objective-c, and objective-c++ frontend for the llvm compiler";
- homepage = http://llvm.org/;
- license = stdenv.lib.licenses.ncsa;
- platforms = stdenv.lib.platforms.all;
- };
- };
-in self
diff --git a/pkgs/development/compilers/llvm/3.8/clang/purity.patch b/pkgs/development/compilers/llvm/3.8/clang/purity.patch
deleted file mode 100644
index 2d1c68d865e..00000000000
--- a/pkgs/development/compilers/llvm/3.8/clang/purity.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- a/lib/Driver/Tools.cpp 2016-02-12 15:51:41.000000000 -0700
-+++ b/lib/Driver/Tools.cpp 2016-03-08 15:39:06.790111122 -0700
-@@ -8833,15 +8833,6 @@
- CmdArgs.push_back("-shared");
- }
-
-- if (Arch == llvm::Triple::arm || Arch == llvm::Triple::armeb ||
-- Arch == llvm::Triple::thumb || Arch == llvm::Triple::thumbeb ||
-- (!Args.hasArg(options::OPT_static) &&
-- !Args.hasArg(options::OPT_shared))) {
-- CmdArgs.push_back("-dynamic-linker");
-- CmdArgs.push_back(Args.MakeArgString(
-- D.DyldPrefix + getLinuxDynamicLinker(Args, ToolChain)));
-- }
--
- CmdArgs.push_back("-o");
- CmdArgs.push_back(Output.getFilename());
diff --git a/pkgs/development/compilers/llvm/3.8/default.nix b/pkgs/development/compilers/llvm/3.8/default.nix
deleted file mode 100644
index a848c8b9252..00000000000
--- a/pkgs/development/compilers/llvm/3.8/default.nix
+++ /dev/null
@@ -1,59 +0,0 @@
-{ newScope, stdenv, libstdcxxHook, isl, fetchurl, overrideCC, wrapCCWith
-, buildLlvmTools # tools, but from the previous stage, for cross
-, targetLlvmLibraries # libraries, but from the next stage, for cross
-}:
-
-let
- version = "3.8.1";
-
- fetch = fetch_v version;
- fetch_v = ver: name: sha256: fetchurl {
- url = "https://releases.llvm.org/${ver}/${name}-${ver}.src.tar.xz";
- inherit sha256;
- };
-
- compiler-rt_src = fetch "compiler-rt" "0p0y85c7izndbpg2l816z7z7558axq11d5pwkm4h11sdw7d13w0d";
- clang-tools-extra_src = fetch "clang-tools-extra" "15n39r4ssphpaq4a0wzyjm7ilwxb0bch6nrapy8c5s8d49h5qjk6";
-
- tools = stdenv.lib.makeExtensible (tools: let
- callPackage = newScope (tools // { inherit stdenv isl version fetch; });
- in {
- llvm = callPackage ./llvm.nix {
- inherit compiler-rt_src;
- };
-
- clang-unwrapped = callPackage ./clang {
- inherit clang-tools-extra_src;
- };
-
- libclang = tools.clang-unwrapped.lib;
-
- clang = if stdenv.cc.isGNU then tools.libstdcxxClang else tools.libcxxClang;
-
- libstdcxxClang = wrapCCWith {
- cc = tools.clang-unwrapped;
- extraPackages = [ libstdcxxHook ];
- };
-
- libcxxClang = wrapCCWith {
- cc = tools.clang-unwrapped;
- extraPackages = [ targetLlvmLibraries.libcxx targetLlvmLibraries.libcxxabi ];
- };
-
- lldb = callPackage ./lldb.nix {};
- });
-
- libraries = stdenv.lib.makeExtensible (libraries: let
- callPackage = newScope (libraries // buildLlvmTools // { inherit stdenv isl version fetch; });
- in {
-
- stdenv = overrideCC stdenv buildLlvmTools.clang;
-
- libcxxStdenv = overrideCC stdenv buildLlvmTools.libcxxClang;
-
- libcxx = callPackage ./libc++ {};
-
- libcxxabi = callPackage ./libc++abi.nix {};
- });
-
-in { inherit tools libraries; } // libraries // tools
diff --git a/pkgs/development/compilers/llvm/3.8/fix-llvm-config.patch b/pkgs/development/compilers/llvm/3.8/fix-llvm-config.patch
deleted file mode 100644
index 6e56c67c897..00000000000
--- a/pkgs/development/compilers/llvm/3.8/fix-llvm-config.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- llvm.org/utils/llvm-build/llvmbuild/main.py 2015-10-07 00:24:35.000000000 +0100
-+++ llvm/utils/llvm-build/llvmbuild/main.py 2017-06-16 17:08:39.866586578 +0100
-@@ -413,7 +413,7 @@
- if library_name is None:
- library_name_as_cstr = 'nullptr'
- else:
-- library_name_as_cstr = '"lib%s.a"' % library_name
-+ library_name_as_cstr = '"lib%s.so"' % library_name
- if is_installed:
- is_installed_as_cstr = 'true'
- else:
diff --git a/pkgs/development/compilers/llvm/3.8/libc++/darwin.patch b/pkgs/development/compilers/llvm/3.8/libc++/darwin.patch
deleted file mode 100644
index 6dd756f01cc..00000000000
--- a/pkgs/development/compilers/llvm/3.8/libc++/darwin.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- libcxx-3.8.0.src.org/lib/CMakeLists.txt 2015-12-16 15:41:05.000000000 -0800
-+++ libcxx-3.8.0.src/lib/CMakeLists.txt 2016-06-17 19:40:00.293394500 -0700
-@@ -94,30 +94,30 @@
- add_definitions(-D__STRICT_ANSI__)
- add_link_flags(
- "-compatibility_version 1"
- "-current_version 1"
-- "-install_name /usr/lib/libc++.1.dylib"
-- "-Wl,-reexport_library,/usr/lib/libc++abi.dylib"
-+ "-install_name ${LIBCXX_LIBCXXABI_LIB_PATH}/libc++.1.dylib"
-+ "-Wl,-reexport_library,${LIBCXX_LIBCXXABI_LIB_PATH}/libc++abi.dylib"
- "-Wl,-unexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++unexp.exp"
- "/usr/lib/libSystem.B.dylib")
- else()
- if ( ${CMAKE_OSX_SYSROOT} )
- list(FIND ${CMAKE_OSX_ARCHITECTURES} "armv7" OSX_HAS_ARMV7)
- if (OSX_HAS_ARMV7)
- set(OSX_RE_EXPORT_LINE
-- "${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib"
-+ "${CMAKE_OSX_SYSROOT}${LIBCXX_LIBCXXABI_LIB_PATH}/libc++abi.dylib"
- "-Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++sjlj-abi.exp")
- else()
- set(OSX_RE_EXPORT_LINE
-- "-Wl,-reexport_library,${CMAKE_OSX_SYSROOT}/usr/lib/libc++abi.dylib")
-+ "-Wl,-reexport_library,${CMAKE_OSX_SYSROOT}${LIBCXX_LIBCXXABI_LIB_PATH}/libc++abi.dylib")
- endif()
- else()
-- set(OSX_RE_EXPORT_LINE "/usr/lib/libc++abi.dylib -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++abi${LIBCXX_LIBCPPABI_VERSION}.exp")
-+ set(OSX_RE_EXPORT_LINE "${LIBCXX_LIBCXXABI_LIB_PATH}/libc++abi.dylib -Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++abi${LIBCXX_LIBCPPABI_VERSION}.exp")
- endif()
-
- add_link_flags(
- "-compatibility_version 1"
-- "-install_name /usr/lib/libc++.1.dylib"
-+ "-install_name ${LIBCXX_LIBCXXABI_LIB_PATH}/libc++.1.dylib"
- "-Wl,-unexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/libc++unexp.exp"
- "${OSX_RE_EXPORT_LINE}"
- "-Wl,-force_symbols_not_weak_list,${CMAKE_CURRENT_SOURCE_DIR}/notweak.exp"
- "-Wl,-force_symbols_weak_list,${CMAKE_CURRENT_SOURCE_DIR}/weak.exp")
diff --git a/pkgs/development/compilers/llvm/3.8/libc++/default.nix b/pkgs/development/compilers/llvm/3.8/libc++/default.nix
deleted file mode 100644
index 5a0410302f2..00000000000
--- a/pkgs/development/compilers/llvm/3.8/libc++/default.nix
+++ /dev/null
@@ -1,52 +0,0 @@
-{ lib, stdenv, fetch, cmake, libcxxabi, fixDarwinDylibNames, version }:
-
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
-
- src = fetch "libcxx" "1k7f9qk5bgwa02ksh6yr9hccwcbhmcdzl1fpbdw6s2c89iwg7mvp";
-
- postUnpack = ''
- unpackFile ${libcxxabi.src}
- '';
-
- preConfigure = ''
- # Get headers from the cxxabi source so we can see private headers not installed by the cxxabi package
- cmakeFlagsArray=($cmakeFlagsArray -DLIBCXX_CXX_ABI_INCLUDE_PATHS="$NIX_BUILD_TOP/libcxxabi-${version}.src/include")
- '';
-
- patches = [
- # glibc 2.26 fix
- ../../3.9/libc++/xlocale-glibc-2.26.patch
- ]
- ++ lib.optional stdenv.isDarwin ./darwin.patch
- ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
- ../../libcxx-0001-musl-hacks.patch
- ../../libcxx-max_align_t.patch
- ];
-
- nativeBuildInputs = [ cmake ];
-
- buildInputs = [ libcxxabi ] ++ lib.optional stdenv.isDarwin fixDarwinDylibNames;
-
- cmakeFlags = [
- "-DLIBCXX_LIBCXXABI_LIB_PATH=${libcxxabi}/lib"
- "-DLIBCXX_LIBCPPABI_VERSION=2"
- "-DLIBCXX_CXX_ABI=libcxxabi"
- ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl "-DLIBCXX_HAS_MUSL_LIBC=1";
-
- enableParallelBuilding = true;
-
- linkCxxAbi = stdenv.isLinux;
-
- setupHooks = [
- ../../../../../build-support/setup-hooks/role.bash
- ./setup-hook.sh
- ];
-
- meta = {
- homepage = http://libcxx.llvm.org/;
- description = "A new implementation of the C++ standard library, targeting C++11";
- license = with stdenv.lib.licenses; [ ncsa mit ];
- platforms = stdenv.lib.platforms.unix;
- };
-}
diff --git a/pkgs/development/compilers/llvm/3.8/libc++/setup-hook.sh b/pkgs/development/compilers/llvm/3.8/libc++/setup-hook.sh
deleted file mode 100644
index 6611259165a..00000000000
--- a/pkgs/development/compilers/llvm/3.8/libc++/setup-hook.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-# See pkgs/build-support/setup-hooks/role.bash
-getHostRole
-
-linkCxxAbi="@linkCxxAbi@"
-export NIX_${role_pre}CXXSTDLIB_COMPILE+=" -isystem @out@/include/c++/v1"
-export NIX_${role_pre}CXXSTDLIB_LINK=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
diff --git a/pkgs/development/compilers/llvm/3.8/libc++abi.nix b/pkgs/development/compilers/llvm/3.8/libc++abi.nix
deleted file mode 100644
index 8b25681c2db..00000000000
--- a/pkgs/development/compilers/llvm/3.8/libc++abi.nix
+++ /dev/null
@@ -1,51 +0,0 @@
-{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
-
-stdenv.mkDerivation {
- name = "libc++abi-${version}";
-
- src = fetch "libcxxabi" "1qfs2iis1i0ppv11jndc98cvd7s25pj46pq2sfyldmzswdxmzdg1";
-
- nativeBuildInputs = [ cmake ];
- buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD) libunwind;
-
- postUnpack = ''
- unpackFile ${libcxx.src}
- unpackFile ${llvm.src}
- export NIX_CFLAGS_COMPILE+=" -I$PWD/include"
- export cmakeFlags="-DLLVM_PATH=$PWD/$(ls -d llvm-*) -DLIBCXXABI_LIBCXX_INCLUDES=$PWD/$(ls -d libcxx-*)/include"
- '' + stdenv.lib.optionalString stdenv.isDarwin ''
- export TRIPLE=x86_64-apple-darwin
- '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
- patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
- patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-max_align_t.patch}
- '';
-
- installPhase = if stdenv.isDarwin
- then ''
- for file in lib/*.dylib; do
- # this should be done in CMake, but having trouble figuring out
- # the magic combination of necessary CMake variables
- # if you fancy a try, take a look at
- # http://www.cmake.org/Wiki/CMake_RPATH_handling
- install_name_tool -id $out/$file $file
- done
- make install
- install -d 755 $out/include
- install -m 644 ../include/*.h $out/include
- ''
- else ''
- install -d -m 755 $out/include $out/lib
- install -m 644 lib/libc++abi.so.1.0 $out/lib
- install -m 644 ../include/cxxabi.h $out/include
- ln -s libc++abi.so.1.0 $out/lib/libc++abi.so
- ln -s libc++abi.so.1.0 $out/lib/libc++abi.so.1
- '';
-
- meta = {
- homepage = http://libcxxabi.llvm.org/;
- description = "A new implementation of low level support for a standard C++ library";
- license = with stdenv.lib.licenses; [ ncsa mit ];
- maintainers = with stdenv.lib.maintainers; [ vlstill ];
- platforms = stdenv.lib.platforms.unix;
- };
-}
diff --git a/pkgs/development/compilers/llvm/3.8/lldb.nix b/pkgs/development/compilers/llvm/3.8/lldb.nix
deleted file mode 100644
index d27786464c0..00000000000
--- a/pkgs/development/compilers/llvm/3.8/lldb.nix
+++ /dev/null
@@ -1,50 +0,0 @@
-{ stdenv
-, fetch
-, cmake
-, zlib
-, ncurses
-, swig
-, which
-, libedit
-, llvm
-, clang-unwrapped
-, python
-, version
-}:
-
-stdenv.mkDerivation {
- name = "lldb-${version}";
-
- src = fetch "lldb" "18z8vhfgh4m57hl66i83cp4d4mv3i86z2hjhbp5rvqs7d88li49l";
-
- postUnpack = ''
- # Hack around broken standalone builf as of 3.8
- unpackFile ${llvm.src}
- srcDir="$(ls -d lldb-*.src)"
- mkdir -p "$srcDir/tools/lib/Support"
- cp "$(ls -d llvm-*.src)/lib/Support/regex_impl.h" "$srcDir/tools/lib/Support/"
- '';
-
- buildInputs = [ cmake python which swig ncurses zlib libedit llvm ];
-
- hardeningDisable = [ "format" ];
-
- cmakeFlags = [
- "-DLLDB_PATH_TO_LLVM_BUILD=${llvm}"
- "-DLLVM_MAIN_INCLUDE_DIR=${llvm}/include"
- "-DLLDB_PATH_TO_CLANG_BUILD=${clang-unwrapped}"
- "-DCLANG_MAIN_INCLUDE_DIR=${clang-unwrapped}/include"
- "-DPYTHON_VERSION_MAJOR=2"
- "-DPYTHON_VERSION_MINOR=7"
- "-DLLDB_DISABLE_LIBEDIT=1" # https://llvm.org/bugs/show_bug.cgi?id=28898
- ];
-
- enableParallelBuilding = true;
-
- meta = {
- description = "A next-generation high-performance debugger";
- homepage = http://llvm.org/;
- license = stdenv.lib.licenses.ncsa;
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/development/compilers/llvm/3.8/llvm.nix b/pkgs/development/compilers/llvm/3.8/llvm.nix
deleted file mode 100644
index 261a1d0f94c..00000000000
--- a/pkgs/development/compilers/llvm/3.8/llvm.nix
+++ /dev/null
@@ -1,117 +0,0 @@
-{ stdenv
-, fetch
-, fetchpatch
-, perl
-, groff
-, cmake
-, python
-, libffi
-, libbfd
-, libxml2
-, ncurses
-, version
-, zlib
-, compiler-rt_src
-, debugVersion ? false
-, enableSharedLibraries ? true
-}:
-
-let
- src = fetch "llvm" "1ybmnid4pw2hxn12ax5qa5kl1ldfns0njg8533y3mzslvd5cx0kf";
-in stdenv.mkDerivation rec {
- name = "llvm-${version}";
-
- unpackPhase = ''
- unpackFile ${src}
- mv llvm-${version}.src llvm
- sourceRoot=$PWD/llvm
- unpackFile ${compiler-rt_src}
- mv compiler-rt-* $sourceRoot/projects/compiler-rt
- '';
-
- buildInputs = [ perl groff cmake libxml2 python libffi ];
-
- propagatedBuildInputs = [ ncurses zlib ];
-
- # Fix a segfault in llc
- # See http://lists.llvm.org/pipermail/llvm-dev/2016-October/106500.html
- patches = [ ./D17533-1.patch ]
- ++ stdenv.lib.optional (!stdenv.isDarwin) ./fix-llvm-config.patch
- ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
- ../TLI-musl.patch
- ../dynamiclibrary-musl.patch
- ];
-
- # hacky fix: New LLVM releases require a newer macOS SDK than
- # 10.9. This is a temporary measure until nixpkgs darwin support is
- # updated.
- postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
- sed -i 's/os_trace(\(.*\)");$/printf(\1\\n");/g' ./projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
-
- substituteInPlace CMakeLists.txt \
- --replace 'set(CMAKE_INSTALL_NAME_DIR "@rpath")' "set(CMAKE_INSTALL_NAME_DIR "$out/lib")" \
- --replace 'set(CMAKE_INSTALL_RPATH "@executable_path/../lib")' ""
- ''
- + ''
- (
- cd projects/compiler-rt
- patch -p1 < ${
- fetchpatch {
- name = "sigaltstack.patch"; # for glibc-2.26
- url = https://github.com/llvm-mirror/compiler-rt/commit/8a5e425a68d.diff;
- sha256 = "0h4y5vl74qaa7dl54b1fcyqalvlpd8zban2d1jxfkxpzyi7m8ifi";
- }
- }
- )
- '';
-
- # hacky fix: created binaries need to be run before installation
- preBuild = ''
- mkdir -p $out/
- ln -sv $PWD/lib $out
- '';
-
- cmakeFlags = with stdenv; [
- "-DCMAKE_BUILD_TYPE=${if debugVersion then "Debug" else "Release"}"
- "-DLLVM_INSTALL_UTILS=ON" # Needed by rustc
- "-DLLVM_BUILD_TESTS=ON"
- "-DLLVM_ENABLE_FFI=ON"
- "-DLLVM_ENABLE_RTTI=ON"
-
- "-DLLVM_HOST_TRIPLE=${stdenv.hostPlatform.config}"
- "-DLLVM_DEFAULT_TARGET_TRIPLE=${stdenv.hostPlatform.config}"
- "-DTARGET_TRIPLE=${stdenv.hostPlatform.config}"
- ] ++ stdenv.lib.optional enableSharedLibraries [
- "-DLLVM_LINK_LLVM_DYLIB=ON"
- ] ++ stdenv.lib.optional (!isDarwin)
- "-DLLVM_BINUTILS_INCDIR=${libbfd.dev}/include"
- ++ stdenv.lib.optionals ( isDarwin) [
- "-DLLVM_ENABLE_LIBCXX=ON"
- "-DCAN_TARGET_i386=false"
- ] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
- # Not yet supported
- "-DCOMPILER_RT_BUILD_SANITIZERS=OFF"
- "-DCOMPILER_RT_BUILD_XRAY=OFF"
-
- ];
-
- postBuild = ''
- rm -fR $out
- '';
-
- postInstall = stdenv.lib.optionalString (stdenv.isDarwin && enableSharedLibraries) ''
- ln -s $out/lib/libLLVM.dylib $out/lib/libLLVM-${version}.dylib
- '';
-
- enableParallelBuilding = true;
-
- passthru.src = src;
-
- meta = {
- description = "Collection of modular and reusable compiler and toolchain technologies";
- homepage = http://llvm.org/;
- license = stdenv.lib.licenses.ncsa;
- maintainers = with stdenv.lib.maintainers; [ lovek323 raskin ];
- platforms = stdenv.lib.platforms.all;
- };
-}
diff --git a/pkgs/development/compilers/llvm/3.9/clang/default.nix b/pkgs/development/compilers/llvm/3.9/clang/default.nix
index f597c559dba..3d09277ad4c 100644
--- a/pkgs/development/compilers/llvm/3.9/clang/default.nix
+++ b/pkgs/development/compilers/llvm/3.9/clang/default.nix
@@ -3,10 +3,13 @@
let
gcc = if stdenv.cc.isGNU then stdenv.cc.cc else stdenv.cc.cc.gcc;
self = stdenv.mkDerivation {
- name = "clang-${version}";
+ pname = "clang";
+ inherit version;
+
+ src = fetch "cfe" "0qsyyb40iwifhhlx9a3drf8z6ni6zwyk3bvh0kx2gs6yjsxwxi76";
unpackPhase = ''
- unpackFile ${fetch "cfe" "0qsyyb40iwifhhlx9a3drf8z6ni6zwyk3bvh0kx2gs6yjsxwxi76"}
+ unpackFile $src
mv cfe-${version}.src clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
diff --git a/pkgs/development/compilers/llvm/3.9/libc++/default.nix b/pkgs/development/compilers/llvm/3.9/libc++/default.nix
index bd2cc19d2e0..9d82aa23035 100644
--- a/pkgs/development/compilers/llvm/3.9/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/3.9/libc++/default.nix
@@ -1,7 +1,8 @@
{ lib, stdenv, fetch, cmake, libcxxabi, fixDarwinDylibNames, version }:
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
src = fetch "libcxx" "0qbl3afl2p2h87p977lsqr5kykl6cgjpkzczs0g6a3pn53j1bri5";
diff --git a/pkgs/development/compilers/llvm/3.9/libc++abi.nix b/pkgs/development/compilers/llvm/3.9/libc++abi.nix
index dffb207a32b..f799199d449 100644
--- a/pkgs/development/compilers/llvm/3.9/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/3.9/libc++abi.nix
@@ -1,7 +1,8 @@
{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
src = fetch "libcxxabi" "1qi9q06zanqm8awzq83810avmvi52air6gr9zfip8mbg5viqn3cj";
diff --git a/pkgs/development/compilers/llvm/3.9/lldb.nix b/pkgs/development/compilers/llvm/3.9/lldb.nix
index 52f27de8cdb..1a7c9aeead8 100644
--- a/pkgs/development/compilers/llvm/3.9/lldb.nix
+++ b/pkgs/development/compilers/llvm/3.9/lldb.nix
@@ -13,7 +13,8 @@
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
src = fetch "lldb" "1z30ljmcpp261bjng1i5k3bb9jkrs1cr97z04qs4s3zql6r12cvy";
diff --git a/pkgs/development/compilers/llvm/3.9/llvm.nix b/pkgs/development/compilers/llvm/3.9/llvm.nix
index 174cb17908c..4dde3be277a 100644
--- a/pkgs/development/compilers/llvm/3.9/llvm.nix
+++ b/pkgs/development/compilers/llvm/3.9/llvm.nix
@@ -20,8 +20,6 @@
assert (stdenv.hostPlatform != stdenv.buildPlatform) -> !enableSharedLibraries;
let
- src = fetch "llvm" "1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z";
-
# Used when creating a versioned symlinks of libLLVM.dylib
versionSuffixes = with stdenv.lib;
let parts = splitString "." version; in
@@ -29,10 +27,13 @@ let
in
stdenv.mkDerivation {
- name = "llvm-${version}";
+ pname = "llvm";
+ inherit version;
+
+ src = fetch "llvm" "1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z";
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}.src llvm
sourceRoot=$PWD/llvm
unpackFile ${compiler-rt_src}
@@ -163,8 +164,6 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
- passthru.src = src;
-
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
homepage = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/4/clang/default.nix b/pkgs/development/compilers/llvm/4/clang/default.nix
index c6538282f23..f50da39a624 100644
--- a/pkgs/development/compilers/llvm/4/clang/default.nix
+++ b/pkgs/development/compilers/llvm/4/clang/default.nix
@@ -8,8 +8,10 @@ let
self = stdenv.mkDerivation ({
name = "clang-${version}";
+ src = fetch "cfe" "16vnv3msnvx33dydd17k2cq0icndi1a06bg5vcxkrhjjb1rqlwv1";
+
unpackPhase = ''
- unpackFile ${fetch "cfe" "16vnv3msnvx33dydd17k2cq0icndi1a06bg5vcxkrhjjb1rqlwv1"}
+ unpackFile $src
mv cfe-${version}* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
diff --git a/pkgs/development/compilers/llvm/4/libc++/default.nix b/pkgs/development/compilers/llvm/4/libc++/default.nix
index 2b543b9d793..0213741e3e0 100644
--- a/pkgs/development/compilers/llvm/4/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/4/libc++/default.nix
@@ -1,7 +1,8 @@
{ lib, stdenv, fetch, cmake, python, libcxxabi, fixDarwinDylibNames, version }:
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
src = fetch "libcxx" "0k6cmjcxnp2pyl8xwy1wkyyckkmdrjddim94yf1gzjbjy9qi22jj";
diff --git a/pkgs/development/compilers/llvm/4/libc++abi.nix b/pkgs/development/compilers/llvm/4/libc++abi.nix
index 735c5e9e743..8e36c5ad53a 100644
--- a/pkgs/development/compilers/llvm/4/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/4/libc++abi.nix
@@ -1,7 +1,8 @@
{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
src = fetch "libcxxabi" "0cqvzallxh0nwiijsf6i4d5ds9m5ijfzywg7376ncv50i64if24g";
diff --git a/pkgs/development/compilers/llvm/4/lld.nix b/pkgs/development/compilers/llvm/4/lld.nix
index cf6de26a9e8..3ab56677d72 100644
--- a/pkgs/development/compilers/llvm/4/lld.nix
+++ b/pkgs/development/compilers/llvm/4/lld.nix
@@ -6,7 +6,8 @@
}:
stdenv.mkDerivation {
- name = "lld-${version}";
+ pname = "lld";
+ inherit version;
src = fetch "lld" "1v9nkpr158j4yd4zmi6rpnfxkp78r1fapr8wji9s6v176gji1kk3";
diff --git a/pkgs/development/compilers/llvm/4/lldb.nix b/pkgs/development/compilers/llvm/4/lldb.nix
index 0be8a4d4186..8adf11abddd 100644
--- a/pkgs/development/compilers/llvm/4/lldb.nix
+++ b/pkgs/development/compilers/llvm/4/lldb.nix
@@ -15,7 +15,8 @@
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
src = fetch "lldb" "0yy43a27zx3r51b6gkv3v2mdiqcq3mf0ngki47ya0i30v3gx4cl4";
@@ -32,7 +33,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python which swig ];
buildInputs = [ ncurses zlib libedit libxml2 llvm ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.cf-private ];
+ ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];
CXXFLAGS = "-fno-rtti";
hardeningDisable = [ "format" ];
diff --git a/pkgs/development/compilers/llvm/4/llvm.nix b/pkgs/development/compilers/llvm/4/llvm.nix
index ecb18a58054..7e855995352 100644
--- a/pkgs/development/compilers/llvm/4/llvm.nix
+++ b/pkgs/development/compilers/llvm/4/llvm.nix
@@ -17,19 +17,19 @@
}:
let
- src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
-
# Used when creating a versioned symlinks of libLLVM.dylib
versionSuffixes = with stdenv.lib;
let parts = splitString "." release_version; in
imap (i: _: concatStringsSep "." (take i parts)) parts;
in
-stdenv.mkDerivation (rec {
+stdenv.mkDerivation ({
name = "llvm-${version}";
+ src = fetch "llvm" "0l9bf7kdwhlj0kq1hawpyxhna1062z3h7qcz2y8nfl9dz2qksy6s";
+
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}* llvm
sourceRoot=$PWD/llvm
unpackFile ${compiler-rt_src}
@@ -46,6 +46,14 @@ stdenv.mkDerivation (rec {
propagatedBuildInputs = [ ncurses zlib ];
+ patches = [
+ (fetchpatch {
+ name = "0001-Fix-return-type-in-ORC-readMem-client-interface.patch";
+ url = "https://bugzilla.redhat.com/attachment.cgi?id=1389687";
+ sha256 = "0ga2123aclq3x9w72d0rm0az12m8c1i4r1106vh701hf4cghgbch";
+ })
+ ];
+
# TSAN requires XPC on Darwin, which we have no public/free source files for. We can depend on the Apple frameworks
# to get it, but they're unfree. Since LLVM is rather central to the stdenv, we patch out TSAN support so that Hydra
# can build this. If we didn't do it, basically the entire nixpkgs on Darwin would have an unfree dependency and we'd
@@ -150,8 +158,6 @@ stdenv.mkDerivation (rec {
enableParallelBuilding = true;
- passthru.src = src;
-
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
homepage = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/4/openmp.nix b/pkgs/development/compilers/llvm/4/openmp.nix
index a8a6b3dfea8..a69fe286ecc 100644
--- a/pkgs/development/compilers/llvm/4/openmp.nix
+++ b/pkgs/development/compilers/llvm/4/openmp.nix
@@ -7,7 +7,8 @@
}:
stdenv.mkDerivation {
- name = "openmp-${version}";
+ pname = "openmp";
+ inherit version;
src = fetch "openmp" "195dykamd39yhi5az7nqj3ksqhb3wq30l93jnfkxl0061qbknsgc";
diff --git a/pkgs/development/compilers/llvm/5/clang/default.nix b/pkgs/development/compilers/llvm/5/clang/default.nix
index 5fd0271f026..7a3b151f835 100644
--- a/pkgs/development/compilers/llvm/5/clang/default.nix
+++ b/pkgs/development/compilers/llvm/5/clang/default.nix
@@ -8,8 +8,10 @@ let
self = stdenv.mkDerivation ({
name = "clang-${version}";
+ src = fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s";
+
unpackPhase = ''
- unpackFile ${fetch "cfe" "0018520c4qxf5hgjdqgpz2dgl3faf4gsz87fdlb8zdmx99rfk77s"}
+ unpackFile $src
mv cfe-${version}* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
diff --git a/pkgs/development/compilers/llvm/5/compiler-rt.nix b/pkgs/development/compilers/llvm/5/compiler-rt.nix
index 19833e4d3d4..c87b0f23596 100644
--- a/pkgs/development/compilers/llvm/5/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/5/compiler-rt.nix
@@ -1,7 +1,7 @@
{ stdenv, version, fetch, cmake, python, llvm, libcxxabi }:
with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "compiler-rt-${version}";
+stdenv.mkDerivation {
+ pname = "compiler-rt";
inherit version;
src = fetch "compiler-rt" "0ipd4jdxpczgr2w6lzrabymz6dhzj69ywmyybjjc1q397zgrvziy";
diff --git a/pkgs/development/compilers/llvm/5/libc++/default.nix b/pkgs/development/compilers/llvm/5/libc++/default.nix
index b182f1250e7..03d8a2085d0 100644
--- a/pkgs/development/compilers/llvm/5/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/5/libc++/default.nix
@@ -1,7 +1,8 @@
{ lib, stdenv, fetch, cmake, python, libcxxabi, fixDarwinDylibNames, version }:
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
src = fetch "libcxx" "1672aaf95fgy4xsfra8pw24f6r93zwzpan1033hkcm8p2glqipvf";
diff --git a/pkgs/development/compilers/llvm/5/libc++abi.nix b/pkgs/development/compilers/llvm/5/libc++abi.nix
index 227ecbeda19..1b891af09ed 100644
--- a/pkgs/development/compilers/llvm/5/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/5/libc++abi.nix
@@ -1,7 +1,8 @@
{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
src = fetch "libcxxabi" "12lp799rskr4fc2xr64qn4jfkjnfd8b1aymvsxyn4k9ar7r9pgqv";
diff --git a/pkgs/development/compilers/llvm/5/lld.nix b/pkgs/development/compilers/llvm/5/lld.nix
index bf23f80ef10..bfee91d91bf 100644
--- a/pkgs/development/compilers/llvm/5/lld.nix
+++ b/pkgs/development/compilers/llvm/5/lld.nix
@@ -6,7 +6,8 @@
}:
stdenv.mkDerivation {
- name = "lld-${version}";
+ pname = "lld";
+ inherit version;
src = fetch "lld" "1ah75rjly6747jk1zbwca3z0svr9b09ylgxd4x9ns721xir6sia6";
diff --git a/pkgs/development/compilers/llvm/5/lldb.nix b/pkgs/development/compilers/llvm/5/lldb.nix
index 7be9a7e47b7..cce44c7e50f 100644
--- a/pkgs/development/compilers/llvm/5/lldb.nix
+++ b/pkgs/development/compilers/llvm/5/lldb.nix
@@ -15,7 +15,8 @@
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
src = fetch "lldb" "05j2a63yzln43852nng8a7y47spzlyr1cvdmgmbxgd29c8r0bfkq";
@@ -31,7 +32,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python which swig ];
buildInputs = [ ncurses zlib libedit libxml2 llvm ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.cf-private ];
+ ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];
CXXFLAGS = "-fno-rtti";
hardeningDisable = [ "format" ];
diff --git a/pkgs/development/compilers/llvm/5/llvm.nix b/pkgs/development/compilers/llvm/5/llvm.nix
index d6839f0f290..02db395db57 100644
--- a/pkgs/development/compilers/llvm/5/llvm.nix
+++ b/pkgs/development/compilers/llvm/5/llvm.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetch
+, fetchpatch
, cmake
, python
, libffi
@@ -9,26 +10,25 @@
, version
, release_version
, zlib
-, libcxxabi
, debugVersion ? false
, enableManpages ? false
, enableSharedLibraries ? !enableManpages
}:
let
- src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
-
# Used when creating a versioned symlinks of libLLVM.dylib
versionSuffixes = with stdenv.lib;
let parts = splitString "." release_version; in
imap (i: _: concatStringsSep "." (take i parts)) parts;
in
-stdenv.mkDerivation (rec {
+stdenv.mkDerivation ({
name = "llvm-${version}";
+ src = fetch "llvm" "0g1bbj2n6xv4p1n6hh17vj3vpvg56wacipc81dgwga9mg2lys8nm";
+
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}* llvm
sourceRoot=$PWD/llvm
'';
@@ -43,6 +43,13 @@ stdenv.mkDerivation (rec {
propagatedBuildInputs = [ ncurses zlib ];
+ patches = [
+ (fetchpatch {
+ url = "https://bugzilla.redhat.com/attachment.cgi?id=1389687";
+ name = "llvm-gcc8-type-mismatch.patch";
+ sha256 = "0ga2123aclq3x9w72d0rm0az12m8c1i4r1106vh701hf4cghgbch";
+ })
+ ];
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace cmake/modules/AddLLVM.cmake \
--replace 'set(_install_name_dir INSTALL_NAME_DIR "@rpath")' "set(_install_name_dir)" \
@@ -133,8 +140,6 @@ stdenv.mkDerivation (rec {
enableParallelBuilding = true;
- passthru.src = src;
-
requiredSystemFeatures = [ "big-parallel" ];
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
diff --git a/pkgs/development/compilers/llvm/5/openmp.nix b/pkgs/development/compilers/llvm/5/openmp.nix
index 901015bf2ff..559377bcc1b 100644
--- a/pkgs/development/compilers/llvm/5/openmp.nix
+++ b/pkgs/development/compilers/llvm/5/openmp.nix
@@ -7,7 +7,8 @@
}:
stdenv.mkDerivation {
- name = "openmp-${version}";
+ pname = "openmp";
+ inherit version;
src = fetch "openmp" "0p2n52676wlq6y9q99n5pivq6pvvda1p994r69fxj206ahn59jir";
diff --git a/pkgs/development/compilers/llvm/6/clang/default.nix b/pkgs/development/compilers/llvm/6/clang/default.nix
index 84056749678..ff9064f455e 100644
--- a/pkgs/development/compilers/llvm/6/clang/default.nix
+++ b/pkgs/development/compilers/llvm/6/clang/default.nix
@@ -8,8 +8,10 @@ let
self = stdenv.mkDerivation ({
name = "clang-${version}";
+ src = fetch "cfe" "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w";
+
unpackPhase = ''
- unpackFile ${fetch "cfe" "0rxn4rh7rrnsqbdgp4gzc8ishbkryhpl1kd3mpnxzpxxhla3y93w"}
+ unpackFile $src
mv cfe-${version}* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
diff --git a/pkgs/development/compilers/llvm/6/compiler-rt.nix b/pkgs/development/compilers/llvm/6/compiler-rt.nix
index be18a315f12..4cf79e79569 100644
--- a/pkgs/development/compilers/llvm/6/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/6/compiler-rt.nix
@@ -1,7 +1,7 @@
{ stdenv, version, fetch, cmake, python, llvm, libcxxabi }:
with stdenv.lib;
-stdenv.mkDerivation rec {
- name = "compiler-rt-${version}";
+stdenv.mkDerivation {
+ pname = "compiler-rt";
inherit version;
src = fetch "compiler-rt" "1fcr3jn24yr8lh36nc0c4ikli4744i2q9m1ik67p1jymwwaixkgl";
diff --git a/pkgs/development/compilers/llvm/6/libc++/default.nix b/pkgs/development/compilers/llvm/6/libc++/default.nix
index 3a165e9da7b..658068cbfaf 100644
--- a/pkgs/development/compilers/llvm/6/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/6/libc++/default.nix
@@ -1,7 +1,8 @@
{ lib, stdenv, fetch, cmake, python, libcxxabi, fixDarwinDylibNames, version }:
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
src = fetch "libcxx" "0rzw4qvxp6qx4l4h9amrq02gp7hbg8lw4m0sy3k60f50234gnm3n";
diff --git a/pkgs/development/compilers/llvm/6/libc++abi.nix b/pkgs/development/compilers/llvm/6/libc++abi.nix
index df9c784a10f..ac1f4f653e6 100644
--- a/pkgs/development/compilers/llvm/6/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/6/libc++abi.nix
@@ -1,7 +1,8 @@
{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
src = fetch "libcxxabi" "0prqvdj317qrc8nddaq1hh2ag9algkd9wbkj3y4mr5588k12x7r0";
diff --git a/pkgs/development/compilers/llvm/6/lld.nix b/pkgs/development/compilers/llvm/6/lld.nix
index 1e68276945e..58b9b8060fa 100644
--- a/pkgs/development/compilers/llvm/6/lld.nix
+++ b/pkgs/development/compilers/llvm/6/lld.nix
@@ -7,7 +7,8 @@
}:
stdenv.mkDerivation {
- name = "lld-${version}";
+ pname = "lld";
+ inherit version;
src = fetch "lld" "04afcfq2h7ysyqxxhyhb7ig4p0vdw7mi63kh8mffl74j0rc781p7";
diff --git a/pkgs/development/compilers/llvm/6/lldb.nix b/pkgs/development/compilers/llvm/6/lldb.nix
index d33de248835..d3db8082c96 100644
--- a/pkgs/development/compilers/llvm/6/lldb.nix
+++ b/pkgs/development/compilers/llvm/6/lldb.nix
@@ -15,7 +15,8 @@
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
src = fetch "lldb" "05178zkyh84x32n91md6wm22lkzzrrfwa5cpmgzn0yrg3y2771bb";
@@ -31,7 +32,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python which swig ];
buildInputs = [ ncurses zlib libedit libxml2 llvm ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.cf-private ];
+ ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];
CXXFLAGS = "-fno-rtti";
hardeningDisable = [ "format" ];
diff --git a/pkgs/development/compilers/llvm/6/llvm.nix b/pkgs/development/compilers/llvm/6/llvm.nix
index 9237d442b77..2586602d737 100644
--- a/pkgs/development/compilers/llvm/6/llvm.nix
+++ b/pkgs/development/compilers/llvm/6/llvm.nix
@@ -19,19 +19,19 @@
let
inherit (stdenv.lib) optional optionals optionalString;
- src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn";
-
# Used when creating a versioned symlinks of libLLVM.dylib
versionSuffixes = with stdenv.lib;
let parts = splitString "." release_version; in
imap (i: _: concatStringsSep "." (take i parts)) parts;
in
-stdenv.mkDerivation (rec {
+stdenv.mkDerivation ({
name = "llvm-${version}";
+ src = fetch "llvm" "1qpls3vk85lydi5b4axl0809fv932qgsqgdgrk098567z4jc7mmn";
+
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}* llvm
sourceRoot=$PWD/llvm
'';
@@ -146,8 +146,6 @@ stdenv.mkDerivation (rec {
enableParallelBuilding = true;
- passthru.src = src;
-
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
homepage = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/6/openmp.nix b/pkgs/development/compilers/llvm/6/openmp.nix
index 908a5f1218f..447904b9ad5 100644
--- a/pkgs/development/compilers/llvm/6/openmp.nix
+++ b/pkgs/development/compilers/llvm/6/openmp.nix
@@ -7,7 +7,8 @@
}:
stdenv.mkDerivation {
- name = "openmp-${version}";
+ pname = "openmp";
+ inherit version;
src = fetch "openmp" "0nhwfba9c351r16zgyjyfwdayr98nairky3c2f0b2lc360mwmbv6";
diff --git a/pkgs/development/compilers/llvm/7/clang/default.nix b/pkgs/development/compilers/llvm/7/clang/default.nix
index a4877b3fe6f..e49c8387f7e 100644
--- a/pkgs/development/compilers/llvm/7/clang/default.nix
+++ b/pkgs/development/compilers/llvm/7/clang/default.nix
@@ -8,8 +8,10 @@ let
self = stdenv.mkDerivation ({
name = "clang-${version}";
+ src = fetch "cfe" "0vc4i87qwxnw9lci4ayws9spakg0z6w5w670snj9f8g5m9rc8zg9";
+
unpackPhase = ''
- unpackFile ${fetch "cfe" "0vc4i87qwxnw9lci4ayws9spakg0z6w5w670snj9f8g5m9rc8zg9"}
+ unpackFile $src
mv cfe-${version}* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
diff --git a/pkgs/development/compilers/llvm/7/compiler-rt.nix b/pkgs/development/compilers/llvm/7/compiler-rt.nix
index 989529ff8cc..0912435327c 100644
--- a/pkgs/development/compilers/llvm/7/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/7/compiler-rt.nix
@@ -1,6 +1,6 @@
{ stdenv, version, fetch, cmake, python, llvm, libcxxabi }:
-stdenv.mkDerivation rec {
- name = "compiler-rt-${version}";
+stdenv.mkDerivation {
+ pname = "compiler-rt";
inherit version;
src = fetch "compiler-rt" "1n48p8gjarihkws0i2bay5w9bdwyxyxxbpwyng7ba58jb30dlyq5";
diff --git a/pkgs/development/compilers/llvm/7/default.nix b/pkgs/development/compilers/llvm/7/default.nix
index 7f99cc9ae2c..621a246225d 100644
--- a/pkgs/development/compilers/llvm/7/default.nix
+++ b/pkgs/development/compilers/llvm/7/default.nix
@@ -111,7 +111,7 @@ let
'' + mkExtraBuildCommands cc;
};
- lldClangNoCompilerRt = wrapCCWith rec {
+ lldClangNoCompilerRt = wrapCCWith {
cc = tools.clang-unwrapped;
bintools = wrapBintoolsWith {
inherit (tools) bintools;
diff --git a/pkgs/development/compilers/llvm/7/libc++/default.nix b/pkgs/development/compilers/llvm/7/libc++/default.nix
index e2ec4e274f4..7a0716a6eb3 100644
--- a/pkgs/development/compilers/llvm/7/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/7/libc++/default.nix
@@ -1,7 +1,8 @@
{ lib, stdenv, fetch, cmake, python, libcxxabi, fixDarwinDylibNames, version }:
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
src = fetch "libcxx" "0kmhcapm2cjwalyiqasj9dmqbw59mcwdl8fgl951wg7ax84b8hj4";
diff --git a/pkgs/development/compilers/llvm/7/libc++abi.nix b/pkgs/development/compilers/llvm/7/libc++abi.nix
index 2fe6f1c58f6..b5e6e0e7048 100644
--- a/pkgs/development/compilers/llvm/7/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/7/libc++abi.nix
@@ -1,7 +1,8 @@
{ stdenv, cmake, fetch, libcxx, libunwind, llvm, version }:
stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
src = fetch "libcxxabi" "1zcqxsdjhawgz1cvpk07y3jl6fg9p3ay4nl69zsirqb2ghgyhhb2";
diff --git a/pkgs/development/compilers/llvm/7/lld.nix b/pkgs/development/compilers/llvm/7/lld.nix
index 63ad43e62cd..823e9640cf4 100644
--- a/pkgs/development/compilers/llvm/7/lld.nix
+++ b/pkgs/development/compilers/llvm/7/lld.nix
@@ -7,7 +7,8 @@
}:
stdenv.mkDerivation {
- name = "lld-${version}";
+ pname = "lld";
+ inherit version;
src = fetch "lld" "0rsqb7zcnij5r5ipfhr129j7skr5n9pyr388kjpqwh091952f3x1";
diff --git a/pkgs/development/compilers/llvm/7/lldb.nix b/pkgs/development/compilers/llvm/7/lldb.nix
index f58871f1d7c..44687ead4d1 100644
--- a/pkgs/development/compilers/llvm/7/lldb.nix
+++ b/pkgs/development/compilers/llvm/7/lldb.nix
@@ -9,16 +9,23 @@
, libxml2
, llvm
, clang-unwrapped
+, perl
, python
, version
, darwin
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
src = fetch "lldb" "0klsscg1sczc4nw2l53xggi969k361cng2sjjrfp3bv4g5x14s4v";
+ nativeBuildInputs = [ cmake perl python which swig ];
+ buildInputs = [ ncurses zlib libedit libxml2 llvm ]
+ ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];
+
+
postPatch = ''
# Fix up various paths that assume llvm and clang are installed in the same place
sed -i 's,".*ClangConfig.cmake","${clang-unwrapped}/lib/cmake/clang/ClangConfig.cmake",' \
@@ -30,22 +37,21 @@ stdenv.mkDerivation {
sed -i -e 's,message(SEND_ERROR "Cannot find debugserver on system."),,' \
-e 's,string(STRIP ''${XCODE_DEV_DIR} XCODE_DEV_DIR),,' \
tools/debugserver/source/CMakeLists.txt
+
+ # Fix /usr/bin references for sandboxed builds.
+ patchShebangs scripts
'';
- nativeBuildInputs = [ cmake python which swig ];
- buildInputs = [ ncurses zlib libedit libxml2 llvm ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.cf-private ];
-
- CXXFLAGS = "-fno-rtti";
- hardeningDisable = [ "format" ];
-
- NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-I${libxml2.dev}/include/libxml2";
-
cmakeFlags = [
"-DLLDB_CODESIGN_IDENTITY=" # codesigning makes nondeterministic
"-DSKIP_DEBUGSERVER=ON"
];
+ CXXFLAGS = "-fno-rtti";
+ hardeningDisable = [ "format" ];
+
+ NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isClang "-I${libxml2.dev}/include/libxml2";
+
enableParallelBuilding = true;
postInstall = ''
diff --git a/pkgs/development/compilers/llvm/7/llvm.nix b/pkgs/development/compilers/llvm/7/llvm.nix
index c288fd3e2a5..cfcda02b413 100644
--- a/pkgs/development/compilers/llvm/7/llvm.nix
+++ b/pkgs/development/compilers/llvm/7/llvm.nix
@@ -15,30 +15,32 @@
, debugVersion ? false
, enableManpages ? false
, enableSharedLibraries ? true
-, enablePFM ? !stdenv.isDarwin
+, enablePFM ? !(stdenv.isDarwin
+ || stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
+ )
, enablePolly ? false
}:
let
inherit (stdenv.lib) optional optionals optionalString;
- src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v";
- polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h";
-
# Used when creating a versioned symlinks of libLLVM.dylib
versionSuffixes = with stdenv.lib;
let parts = splitString "." release_version; in
imap (i: _: concatStringsSep "." (take i parts)) parts;
-in stdenv.mkDerivation (rec {
+in stdenv.mkDerivation ({
name = "llvm-${version}";
+ src = fetch "llvm" "0r1p5didv4rkgxyvbkyz671xddg6i3dxvbpsi1xxipkla0l9pk0v";
+ polly_src = fetch "polly" "16qkns4ab4x0azrvhy4j7cncbyb2rrbdrqj87zphvqxm5pvm8m1h";
+
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}* llvm
sourceRoot=$PWD/llvm
'' + optionalString enablePolly ''
- unpackFile ${polly_src}
+ unpackFile $polly_src
mv polly-* $sourceRoot/tools/polly
'';
@@ -84,6 +86,14 @@ in stdenv.mkDerivation (rec {
substituteInPlace unittests/Support/CMakeLists.txt \
--replace "add_subdirectory(DynamicLibrary)" ""
rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
+ '' + optionalString stdenv.hostPlatform.isAarch32 ''
+ # skip failing X86 test cases on armv7l
+ rm test/DebugInfo/X86/debug_addr.ll
+ rm test/tools/llvm-dwarfdump/X86/debug_addr.s
+ rm test/tools/llvm-dwarfdump/X86/debug_addr_address_size_mismatch.s
+ rm test/tools/llvm-dwarfdump/X86/debug_addr_dwarf4.s
+ rm test/tools/llvm-dwarfdump/X86/debug_addr_unsupported_version.s
+ rm test/tools/llvm-dwarfdump/X86/debug_addr_version_mismatch.s
'' + ''
patchShebangs test/BugPoint/compile-custom.ll.py
'';
@@ -154,8 +164,6 @@ in stdenv.mkDerivation (rec {
enableParallelBuilding = true;
- passthru.src = src;
-
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
homepage = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/7/openmp.nix b/pkgs/development/compilers/llvm/7/openmp.nix
index e55f4aa5ba1..7adc2aa588e 100644
--- a/pkgs/development/compilers/llvm/7/openmp.nix
+++ b/pkgs/development/compilers/llvm/7/openmp.nix
@@ -7,7 +7,8 @@
}:
stdenv.mkDerivation {
- name = "openmp-${version}";
+ pname = "openmp";
+ inherit version;
src = fetch "openmp" "1dg53wzsci2kra8lh1y0chh60h2l8h1by93br5spzvzlxshkmrqy";
diff --git a/pkgs/development/compilers/llvm/8/clang/compiler-rt-baremetal.patch b/pkgs/development/compilers/llvm/8/clang/compiler-rt-baremetal.patch
new file mode 100644
index 00000000000..a4a0f21b0fc
--- /dev/null
+++ b/pkgs/development/compilers/llvm/8/clang/compiler-rt-baremetal.patch
@@ -0,0 +1,53 @@
+Index: lib/Driver/ToolChains/BareMetal.cpp
+===================================================================
+--- a/lib/Driver/ToolChains/BareMetal.cpp
++++ b/lib/Driver/ToolChains/BareMetal.cpp
+@@ -157,7 +157,7 @@
+ void BareMetal::AddLinkRuntimeLib(const ArgList &Args,
+ ArgStringList &CmdArgs) const {
+ CmdArgs.push_back(Args.MakeArgString("-lclang_rt.builtins-" +
+- getTriple().getArchName() + ".a"));
++ getTriple().getArchName()));
+ }
+
+ void baremetal::Linker::ConstructJob(Compilation &C, const JobAction &JA,
+Index: test/Driver/baremetal.cpp
+===================================================================
+--- a/test/Driver/baremetal.cpp
++++ b/test/Driver/baremetal.cpp
+@@ -13,7 +13,7 @@
+ // CHECK-V6M-C-NEXT: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
+ // CHECK-V6M-C-SAME: "-L[[RESOURCE_DIR:[^"]+]]{{[/\\]+}}lib{{[/\\]+}}baremetal"
+ // CHECK-V6M-C-SAME: "-T" "semihosted.lds" "-Lsome{{[/\\]+}}directory{{[/\\]+}}user{{[/\\]+}}asked{{[/\\]+}}for"
+-// CHECK-V6M-C-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m.a"
++// CHECK-V6M-C-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
+ // CHECK-V6M-C-SAME: "-o" "{{.*}}.o"
+
+ // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+@@ -35,7 +35,7 @@
+ // CHECK-V6M-DEFAULTCXX: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
+ // CHECK-V6M-DEFAULTCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
+ // CHECK-V6M-DEFAULTCXX-SAME: "-lc++" "-lc++abi" "-lunwind"
+-// CHECK-V6M-DEFAULTCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m.a"
++// CHECK-V6M-DEFAULTCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
+ // CHECK-V6M-DEFAULTCXX-SAME: "-o" "{{.*}}.o"
+
+ // RUN: %clangxx -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+@@ -48,7 +48,7 @@
+ // CHECK-V6M-LIBCXX: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
+ // CHECK-V6M-LIBCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
+ // CHECK-V6M-LIBCXX-SAME: "-lc++" "-lc++abi" "-lunwind"
+-// CHECK-V6M-LIBCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m.a"
++// CHECK-V6M-LIBCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
+ // CHECK-V6M-LIBCXX-SAME: "-o" "{{.*}}.o"
+
+ // RUN: %clangxx -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+@@ -61,7 +61,7 @@
+ // CHECK-V6M-LIBSTDCXX: "{{[^"]*}}ld{{(\.(lld|bfd|gold))?}}{{(\.exe)?}}" "{{.*}}.o" "-Bstatic"
+ // CHECK-V6M-LIBSTDCXX-SAME: "-L{{[^"]*}}{{[/\\]+}}lib{{(64)?}}{{[/\\]+}}clang{{[/\\]+}}{{.*}}{{[/\\]+}}lib{{[/\\]+}}baremetal"
+ // CHECK-V6M-LIBSTDCXX-SAME: "-lstdc++" "-lsupc++" "-lunwind"
+-// CHECK-V6M-LIBSTDCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m.a"
++// CHECK-V6M-LIBSTDCXX-SAME: "-lc" "-lm" "-lclang_rt.builtins-armv6m"
+ // CHECK-V6M-LIBSTDCXX-SAME: "-o" "{{.*}}.o"
+
+ // RUN: %clangxx -no-canonical-prefixes %s -### -o %t.o 2>&1 \
diff --git a/pkgs/development/compilers/llvm/8/clang/default.nix b/pkgs/development/compilers/llvm/8/clang/default.nix
index c0a0e085145..6911089250e 100644
--- a/pkgs/development/compilers/llvm/8/clang/default.nix
+++ b/pkgs/development/compilers/llvm/8/clang/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetch, fetchpatch, cmake, libxml2, llvm, version, clang-tools-extra_src, python
+{ stdenv, fetch, cmake, libxml2, llvm, version, clang-tools-extra_src, python
, fixDarwinDylibNames
, enableManpages ? false
, enablePolly ? false # TODO: get this info from llvm (passthru?)
@@ -8,8 +8,10 @@ let
self = stdenv.mkDerivation ({
name = "clang-${version}";
+ src = fetch "cfe" "0ihnbdl058gvl2wdy45p5am55bq8ifx8m9mhcsgj9ax8yxlzvvvh";
+
unpackPhase = ''
- unpackFile ${fetch "cfe" "0svk1f70hvpwrjp6x5i9kqwrqwxnmcrw5s7f4cxyd100mdd12k08"}
+ unpackFile $src
mv cfe-${version}* clang
sourceRoot=$PWD/clang
unpackFile ${clang-tools-extra_src}
@@ -45,6 +47,8 @@ let
# Backport for the `--unwindlib=[libgcc|compiler-rt]` flag, which is
# needed for our bootstrapping to not interfere with C.
./unwindlib.patch
+ # https://reviews.llvm.org/D51899
+ ./compiler-rt-baremetal.patch
];
postPatch = ''
diff --git a/pkgs/development/compilers/llvm/8/compiler-rt.nix b/pkgs/development/compilers/llvm/8/compiler-rt.nix
index a8bbb1f719b..936c877d58c 100644
--- a/pkgs/development/compilers/llvm/8/compiler-rt.nix
+++ b/pkgs/development/compilers/llvm/8/compiler-rt.nix
@@ -1,8 +1,8 @@
{ stdenv, version, fetch, cmake, python, llvm, libcxxabi }:
-stdenv.mkDerivation rec {
- name = "compiler-rt-${version}";
+stdenv.mkDerivation {
+ pname = "compiler-rt";
inherit version;
- src = fetch "compiler-rt" "1c919wsm17xnv7lr8bhpq2wkq8113lzlw6hzhfr737j59x3wfddl";
+ src = fetch "compiler-rt" "0dqqf8f930l8gag4d9qjgn1n0pj0nbv2anviqqhdi1rkhas8z0hi";
nativeBuildInputs = [ cmake python llvm ];
buildInputs = stdenv.lib.optional stdenv.hostPlatform.isDarwin libcxxabi;
@@ -27,6 +27,9 @@ stdenv.mkDerivation rec {
"-DCOMPILER_RT_BUILD_XRAY=OFF"
"-DCOMPILER_RT_BUILD_LIBFUZZER=OFF"
"-DCOMPILER_RT_BUILD_PROFILE=OFF"
+ ] ++ stdenv.lib.optionals (stdenv.hostPlatform.parsed.kernel.name == "none") [
+ "-DCOMPILER_RT_BAREMETAL_BUILD=ON"
+ "-DCOMPILER_RT_OS_DIR=baremetal"
];
outputs = [ "out" "dev" ];
diff --git a/pkgs/development/compilers/llvm/8/default.nix b/pkgs/development/compilers/llvm/8/default.nix
index 48cf9e5e589..36d7a14142b 100644
--- a/pkgs/development/compilers/llvm/8/default.nix
+++ b/pkgs/development/compilers/llvm/8/default.nix
@@ -5,15 +5,15 @@
}:
let
- release_version = "8.0.0";
+ release_version = "8.0.1";
version = release_version; # differentiating these is important for rc's
fetch = name: sha256: fetchurl {
- url = "https://releases.llvm.org/${release_version}/${name}-${version}.src.tar.xz";
+ url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-${release_version}/${name}-${version}.src.tar.xz";
inherit sha256;
};
- clang-tools-extra_src = fetch "clang-tools-extra" "0jwx6nnshp92pd5852y7ip7qhaqdf8az5g0440pli9q8whmi402g";
+ clang-tools-extra_src = fetch "clang-tools-extra" "1qf3097bc5ia8p6cpmbx985rjr3yaah5s8fc0nv7pw742yv7jw8q";
tools = stdenv.lib.makeExtensible (tools: let
callPackage = newScope (tools // { inherit stdenv cmake libxml2 python isl release_version version fetch; });
@@ -145,7 +145,7 @@ let
'' + mkExtraBuildCommands cc;
};
- lldClangNoCompilerRt = wrapCCWith rec {
+ lldClangNoCompilerRt = wrapCCWith {
cc = tools.clang-unwrapped;
libcxx = null;
bintools = wrapBintoolsWith {
diff --git a/pkgs/development/compilers/llvm/8/libc++/default.nix b/pkgs/development/compilers/llvm/8/libc++/default.nix
index 3d67c37dcdd..8ec1c419748 100644
--- a/pkgs/development/compilers/llvm/8/libc++/default.nix
+++ b/pkgs/development/compilers/llvm/8/libc++/default.nix
@@ -1,10 +1,11 @@
{ lib, stdenv, fetch, cmake, python, libcxxabi, fixDarwinDylibNames, version
, enableShared ? true }:
-stdenv.mkDerivation rec {
- name = "libc++-${version}";
+stdenv.mkDerivation {
+ pname = "libc++";
+ inherit version;
- src = fetch "libcxx" "1qlx3wlxrnc5cwc1fcfc2vhfsl7j4294hi8y5kxj8hy8wxsjd462";
+ src = fetch "libcxx" "0y4vc9z36c1zlq15cnibdzxnc1xi5glbc6klnm8a41q3db4541kz";
postUnpack = ''
unpackFile ${libcxxabi.src}
diff --git a/pkgs/development/compilers/llvm/8/libc++abi.nix b/pkgs/development/compilers/llvm/8/libc++abi.nix
index bb5b368267f..58a1241d823 100644
--- a/pkgs/development/compilers/llvm/8/libc++abi.nix
+++ b/pkgs/development/compilers/llvm/8/libc++abi.nix
@@ -2,9 +2,10 @@
, enableShared ? true }:
stdenv.mkDerivation {
- name = "libc++abi-${version}";
+ pname = "libc++abi";
+ inherit version;
- src = fetch "libcxxabi" "1k875f977ybdkpdnr9105wa6hccy9qvpd9xd42n75h7p56bdxmn2";
+ src = fetch "libcxxabi" "1vznz8n1z1h8af0ga451m98lc2hjnv4fyzl71napsvjhvk4g6nxp";
nativeBuildInputs = [ cmake ];
buildInputs = stdenv.lib.optional (!stdenv.isDarwin && !stdenv.isFreeBSD && !stdenv.hostPlatform.isWasm) libunwind;
diff --git a/pkgs/development/compilers/llvm/8/libunwind.nix b/pkgs/development/compilers/llvm/8/libunwind.nix
index a187d0adc99..646cd3c3ca4 100644
--- a/pkgs/development/compilers/llvm/8/libunwind.nix
+++ b/pkgs/development/compilers/llvm/8/libunwind.nix
@@ -1,9 +1,10 @@
-{ stdenv, version, fetch, cmake, libcxx, fetchpatch }:
+{ stdenv, version, fetch, cmake, fetchpatch, enableShared ? true }:
stdenv.mkDerivation {
- name = "libunwind-${version}";
+ pname = "libunwind";
+ inherit version;
- src = fetch "libunwind" "0q7ndlldid9wchnny0a936llwxj7zgb9gxp46wjjxvwwkik3l97z";
+ src = fetch "libunwind" "0vhgcgzsb33l83qaikrkj87ypqb48mi607rccczccwiiv8ficw0q";
nativeBuildInputs = [ cmake ];
@@ -19,4 +20,6 @@ stdenv.mkDerivation {
];
enableParallelBuilding = true;
+
+ cmakeFlags = stdenv.lib.optional (!enableShared) "-DLIBUNWIND_ENABLE_SHARED=OFF";
}
diff --git a/pkgs/development/compilers/llvm/8/lld.nix b/pkgs/development/compilers/llvm/8/lld.nix
index 7fff6843c5f..fc52d691d03 100644
--- a/pkgs/development/compilers/llvm/8/lld.nix
+++ b/pkgs/development/compilers/llvm/8/lld.nix
@@ -7,9 +7,10 @@
}:
stdenv.mkDerivation {
- name = "lld-${version}";
+ pname = "lld";
+ inherit version;
- src = fetch "lld" "0dvf38pbm7jy88g66mz7ikkdfhm2qpj0iyzh62hzycifjbnciblw";
+ src = fetch "lld" "121xhxrlvwy3k5nf6p1wv31whxlb635ssfkci8z93mwv4ja1xflz";
nativeBuildInputs = [ cmake ];
buildInputs = [ llvm libxml2 ];
diff --git a/pkgs/development/compilers/llvm/8/lldb.nix b/pkgs/development/compilers/llvm/8/lldb.nix
index ae9198e99d2..254933c82a0 100644
--- a/pkgs/development/compilers/llvm/8/lldb.nix
+++ b/pkgs/development/compilers/llvm/8/lldb.nix
@@ -15,9 +15,10 @@
}:
stdenv.mkDerivation {
- name = "lldb-${version}";
+ pname = "lldb";
+ inherit version;
- src = fetch "lldb" "0wq3mi76fk86g2g2bcsr0yhagh1dlf2myk641ai58rc116gqp4a9";
+ src = fetch "lldb" "1mriw4adrwm6kzabrjr7yqmdiylxd6glf6samd80dp8idnm9p9z8";
postPatch = ''
# Fix up various paths that assume llvm and clang are installed in the same place
@@ -31,7 +32,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake python which swig ];
buildInputs = [ ncurses zlib libedit libxml2 llvm ]
- ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa darwin.cf-private ];
+ ++ stdenv.lib.optionals stdenv.isDarwin [ darwin.libobjc darwin.apple_sdk.libs.xpc darwin.apple_sdk.frameworks.Foundation darwin.bootstrap_cmds darwin.apple_sdk.frameworks.Carbon darwin.apple_sdk.frameworks.Cocoa ];
CXXFLAGS = "-fno-rtti";
hardeningDisable = [ "format" ];
diff --git a/pkgs/development/compilers/llvm/8/llvm.nix b/pkgs/development/compilers/llvm/8/llvm.nix
index 5d8d0816729..70e666ba27d 100644
--- a/pkgs/development/compilers/llvm/8/llvm.nix
+++ b/pkgs/development/compilers/llvm/8/llvm.nix
@@ -1,6 +1,5 @@
{ stdenv
, fetch
-, fetchpatch
, cmake
, python
, libffi
@@ -15,29 +14,31 @@
, debugVersion ? false
, enableManpages ? false
, enableSharedLibraries ? true
-, enablePFM ? !stdenv.isDarwin
+, enablePFM ? !(stdenv.isDarwin
+ || stdenv.isAarch64 # broken for Ampere eMAG 8180 (c2.large.arm on Packet) #56245
+)
, enablePolly ? false
}:
let
inherit (stdenv.lib) optional optionals optionalString;
- src = fetch "llvm" "0k124sxkfhfi1rca6kzkdraf4axhx99x3cw2rk55056628dvwwl8";
- polly_src = fetch "polly" "1x4xv3j226rqdddp7b61d71wsx2b8vmmri02ycx27y2fg7ba7xg3";
-
# Used when creating a version-suffixed symlink of libLLVM.dylib
shortVersion = with stdenv.lib;
concatStringsSep "." (take 1 (splitString "." release_version));
-in stdenv.mkDerivation (rec {
+in stdenv.mkDerivation ({
name = "llvm-${version}";
+ src = fetch "llvm" "1rvm5gqp5v8hfn17kqws3zhk94w4kxndal12bqa0y57p09nply24";
+ polly_src = fetch "polly" "1lfjdz3ilj5xmjxvicd8f5ykybks67ry2pdb777352r3mzlgg8g8";
+
unpackPhase = ''
- unpackFile ${src}
+ unpackFile $src
mv llvm-${version}* llvm
sourceRoot=$PWD/llvm
'' + optionalString enablePolly ''
- unpackFile ${polly_src}
+ unpackFile $polly_src
mv polly-* $sourceRoot/tools/polly
'';
@@ -141,8 +142,6 @@ in stdenv.mkDerivation (rec {
enableParallelBuilding = true;
- passthru.src = src;
-
meta = {
description = "Collection of modular and reusable compiler and toolchain technologies";
homepage = http://llvm.org/;
diff --git a/pkgs/development/compilers/llvm/8/openmp.nix b/pkgs/development/compilers/llvm/8/openmp.nix
index bf85cae5abe..166e7f68eb3 100644
--- a/pkgs/development/compilers/llvm/8/openmp.nix
+++ b/pkgs/development/compilers/llvm/8/openmp.nix
@@ -7,9 +7,10 @@
}:
stdenv.mkDerivation {
- name = "openmp-${version}";
+ pname = "openmp";
+ inherit version;
- src = fetch "openmp" "1mf9cpgvix34xlpv0inkgl3qmdvgvp96f7sksqizri0n5xfp1cgp";
+ src = fetch "openmp" "0b3jlxhqbpyd1nqkpxjfggm5d9va5qpyf7d4i5y7n4a1mlydv19y";
nativeBuildInputs = [ cmake perl ];
buildInputs = [ llvm ];
diff --git a/pkgs/development/compilers/manticore/default.nix b/pkgs/development/compilers/manticore/default.nix
index efbf8561b7f..6e0716659c7 100644
--- a/pkgs/development/compilers/manticore/default.nix
+++ b/pkgs/development/compilers/manticore/default.nix
@@ -2,8 +2,8 @@
let
rev= "47273c463fc3c5d0a0ae655cf75a4700bdb020b4";
-in stdenv.mkDerivation rec {
- name = "manticore-${version}";
+in stdenv.mkDerivation {
+ pname = "manticore";
version = "2018.09.29";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/matter-compiler/default.nix b/pkgs/development/compilers/matter-compiler/default.nix
index 4b3ff844977..f415fa8c012 100644
--- a/pkgs/development/compilers/matter-compiler/default.nix
+++ b/pkgs/development/compilers/matter-compiler/default.nix
@@ -1,10 +1,12 @@
-{ lib, bundlerApp }:
+{ lib, bundlerApp, bundlerUpdateScript }:
bundlerApp {
pname = "matter_compiler";
gemdir = ./.;
exes = [ "matter_compiler" ];
+ passthru.updateScript = bundlerUpdateScript "matter-compiler";
+
meta = with lib; {
description = ''
Matter Compiler is a API Blueprint AST Media Types to API Blueprint conversion tool.
@@ -12,7 +14,7 @@ bundlerApp {
'';
homepage = https://github.com/apiaryio/matter_compiler/;
license = licenses.mit;
- maintainers = with maintainers; [ rvlander manveru ];
+ maintainers = with maintainers; [ rvlander manveru nicknovitski ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/development/compilers/mcpp/default.nix b/pkgs/development/compilers/mcpp/default.nix
index 9ce7c9166bc..d7151147933 100644
--- a/pkgs/development/compilers/mcpp/default.nix
+++ b/pkgs/development/compilers/mcpp/default.nix
@@ -1,10 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "mcpp-2.7.2";
+ pname = "mcpp";
+ version = "2.7.2";
src = fetchurl {
- url = "mirror://sourceforge/mcpp/${name}.tar.gz";
+ url = "mirror://sourceforge/mcpp/mcpp-${version}.tar.gz";
sha256 = "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv";
};
diff --git a/pkgs/development/compilers/mercury/default.nix b/pkgs/development/compilers/mercury/default.nix
index b7fc3e4dd77..0327e0dc215 100644
--- a/pkgs/development/compilers/mercury/default.nix
+++ b/pkgs/development/compilers/mercury/default.nix
@@ -2,7 +2,7 @@
, readline }:
stdenv.mkDerivation rec {
- name = "mercury-${version}";
+ pname = "mercury";
version = "14.01.1";
src = fetchurl {
diff --git a/pkgs/development/compilers/microscheme/default.nix b/pkgs/development/compilers/microscheme/default.nix
index f15a7624327..a18202b9f88 100644
--- a/pkgs/development/compilers/microscheme/default.nix
+++ b/pkgs/development/compilers/microscheme/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchzip, vim, makeWrapper }:
stdenv.mkDerivation rec {
- name = "microscheme-${version}";
+ pname = "microscheme";
version = "0.9.3";
src = fetchzip {
- name = "${name}-src";
+ name = "${pname}-${version}-src";
url = "https://github.com/ryansuchocki/microscheme/archive/v${version}.tar.gz";
sha256 = "1r3ng4pw1s9yy1h5rafra1rq19d3vmb5pzbpcz1913wz22qdd976";
};
diff --git a/pkgs/development/compilers/mint/default.nix b/pkgs/development/compilers/mint/default.nix
index 1c8e9fb7eb2..5f72bd3649b 100644
--- a/pkgs/development/compilers/mint/default.nix
+++ b/pkgs/development/compilers/mint/default.nix
@@ -1,40 +1,7 @@
-# Updating the dependencies for this package:
-#
-# wget https://raw.githubusercontent.com/mint-lang/mint/0.3.1/shard.lock
-# nix-shell -p crystal libyaml --run 'crystal run crystal2nix.cr'
-#
-{stdenv, lib, fetchFromGitHub, crystal, zlib, openssl, duktape, which, libyaml }:
-let
- crystalPackages = lib.mapAttrs (name: src:
- stdenv.mkDerivation {
- name = lib.replaceStrings ["/"] ["-"] name;
- src = fetchFromGitHub src;
- phases = "installPhase";
- installPhase = ''cp -r $src $out'';
- passthru = { libName = name; };
- }
- ) (import ./shards.nix);
-
- crystalLib = stdenv.mkDerivation {
- name = "crystal-lib";
- src = lib.attrValues crystalPackages;
- libNames = lib.mapAttrsToList (k: v: [k v]) crystalPackages;
- phases = "buildPhase";
- buildPhase = ''
- mkdir -p $out
- linkup () {
- while [ "$#" -gt 0 ]; do
- ln -s $2 $out/$1
- shift; shift
- done
- }
- linkup $libNames
- '';
- };
-in
-stdenv.mkDerivation rec {
+{ lib, fetchFromGitHub, crystal, zlib, openssl_1_0_2, duktape, which, libyaml }:
+crystal.buildCrystalPackage rec {
version = "0.5.0";
- name = "mint-${version}";
+ pname = "mint";
src = fetchFromGitHub {
owner = "mint-lang";
repo = "mint";
@@ -42,23 +9,19 @@ stdenv.mkDerivation rec {
sha256 = "0vxbx38c390rd2ysvbwgh89v2232sh5rbsp3nk9wzb70jybpslvl";
};
- nativeBuildInputs = [ which crystal zlib openssl duktape libyaml ];
+ buildInputs = [ openssl_1_0_2 ];
- buildPhase = ''
- mkdir -p $out/bin tmp
- cd tmp
- ln -s ${crystalLib} lib
- cp -r $src/* .
- crystal build src/mint.cr -o $out/bin/mint --verbose --progress --release --no-debug
- '';
-
- installPhase = ''true'';
+ # Update with
+ # nix-shell -p crystal2nix --run crystal2nix
+ # with mint's shard.lock file in the current directory
+ shardsFile = ./shards.nix;
+ crystalBinaries.mint.src = "src/mint.cr";
meta = {
description = "A refreshing language for the front-end web";
homepage = https://mint-lang.com/;
- license = stdenv.lib.licenses.bsd3;
- maintainers = with stdenv.lib.maintainers; [ manveru ];
+ license = lib.licenses.bsd3;
+ maintainers = with lib.maintainers; [ manveru ];
platforms = [ "x86_64-linux" "i686-linux" "x86_64-darwin" ];
};
}
diff --git a/pkgs/development/compilers/mkcl/default.nix b/pkgs/development/compilers/mkcl/default.nix
index 72626ec0014..405846343cf 100644
--- a/pkgs/development/compilers/mkcl/default.nix
+++ b/pkgs/development/compilers/mkcl/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, makeWrapper, gmp, gcc }:
with stdenv.lib; stdenv.mkDerivation rec {
- name = "mkcl-${version}";
+ pname = "mkcl";
version = "1.1.11";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/mlton/20130715.nix b/pkgs/development/compilers/mlton/20130715.nix
index f495be8a93e..207ed8f29bc 100644
--- a/pkgs/development/compilers/mlton/20130715.nix
+++ b/pkgs/development/compilers/mlton/20130715.nix
@@ -9,32 +9,33 @@ let
in
stdenv.mkDerivation rec {
- name = "mlton-${version}";
+ pname = "mlton";
+ inherit version;
binSrc =
if stdenv.hostPlatform.system == "i686-linux" then (fetchurl {
- url = "mirror://sourceforge/project/mlton/mlton/${version}/${name}-1.x86-linux.tgz";
+ url = "mirror://sourceforge/project/mlton/mlton/${version}/${pname}-${version}-1.x86-linux.tgz";
sha256 = "1kxjjmnw4xk2d9hpvz43w9dvyhb3025k4zvjx785c33nrwkrdn4j";
})
else if stdenv.hostPlatform.system == "x86_64-linux" then (fetchurl {
- url = "mirror://sourceforge/project/mlton/mlton/${version}/${name}-1.amd64-linux.tgz";
+ url = "mirror://sourceforge/project/mlton/mlton/${version}/${pname}-${version}-1.amd64-linux.tgz";
sha256 = "0fyhwxb4nmpirjbjcvk9f6w67gmn2gkz7xcgz0xbfih9kc015ygn";
})
else if stdenv.hostPlatform.system == "x86_64-darwin" then (fetchurl {
- url = "mirror://sourceforge/project/mlton/mlton/${version}/${name}-1.amd64-darwin.gmp-macports.tgz";
+ url = "mirror://sourceforge/project/mlton/mlton/${version}/${pname}-${version}-1.amd64-darwin.gmp-macports.tgz";
sha256 = "044wnh9hhg6if886xy805683k0as347xd37r0r1yi4x7qlxzzgx9";
})
else throw "Architecture not supported";
codeSrc =
fetchurl {
- url = "mirror://sourceforge/project/mlton/mlton/${version}/${name}.src.tgz";
+ url = "mirror://sourceforge/project/mlton/mlton/${version}/${pname}-${version}.src.tgz";
sha256 = "0v1x2hrh9hiqkvnbq11kf34v4i5a2x0ffxbzqaa8skyl26nmfn11";
};
srcs = [ binSrc codeSrc ];
- sourceRoot = name;
+ sourceRoot = "${pname}-${version}";
buildInputs = [ gmp ];
nativeBuildInputs = stdenv.lib.optional stdenv.isLinux patchelf;
diff --git a/pkgs/development/compilers/mlton/20180207-binary.nix b/pkgs/development/compilers/mlton/20180207-binary.nix
index 0589733cb3c..2b4998f91c9 100644
--- a/pkgs/development/compilers/mlton/20180207-binary.nix
+++ b/pkgs/development/compilers/mlton/20180207-binary.nix
@@ -3,15 +3,15 @@ let
dynamic-linker = stdenv.cc.bintools.dynamicLinker;
in
stdenv.mkDerivation rec {
- name = "mlton-${version}";
+ pname = "mlton";
version = "20180207";
src = if stdenv.hostPlatform.system == "x86_64-linux" then (fetchurl {
- url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${name}-1.amd64-linux.tgz";
+ url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.amd64-linux.tgz";
sha256 = "0f4q575yfm5dpg4a2wsnqn4l2zrar96p6rlsk0dw10ggyfwvsjlf";
})
else if stdenv.hostPlatform.system == "x86_64-darwin" then (fetchurl {
- url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${name}-1.amd64-darwin.gmp-static.tgz";
+ url = "https://github.com/MLton/mlton/releases/download/on-${version}-release/${pname}-${version}-1.amd64-darwin.gmp-static.tgz";
sha256 = "1cw7yhw48qp12q0adwf8srpjzrgkp84kmlkqw3pz8vkxz4p9hbdv";
})
else
diff --git a/pkgs/development/compilers/mlton/from-git-source.nix b/pkgs/development/compilers/mlton/from-git-source.nix
index 3a3538a7ea4..2585b599caf 100644
--- a/pkgs/development/compilers/mlton/from-git-source.nix
+++ b/pkgs/development/compilers/mlton/from-git-source.nix
@@ -9,7 +9,8 @@
}:
stdenv.mkDerivation {
- name = "mlton-${version}";
+ pname = "mlton";
+ inherit version;
src = fetchgit {
inherit url rev sha256;
diff --git a/pkgs/development/compilers/mono/4.nix b/pkgs/development/compilers/mono/4.nix
index 3c748e2dff7..cb6edb2a546 100644
--- a/pkgs/development/compilers/mono/4.nix
+++ b/pkgs/development/compilers/mono/4.nix
@@ -1,6 +1,6 @@
{ callPackage, Foundation, libobjc }:
-callPackage ./generic.nix (rec {
+callPackage ./generic.nix ({
inherit Foundation libobjc;
version = "4.8.1.0";
sha256 = "1vyvp2g28ihcgxgxr8nhzyzdmzicsh5djzk8dk1hj5p5f2k3ijqq";
diff --git a/pkgs/development/compilers/mono/5.nix b/pkgs/development/compilers/mono/5.nix
index 0db13308a5a..0ecb362acb4 100644
--- a/pkgs/development/compilers/mono/5.nix
+++ b/pkgs/development/compilers/mono/5.nix
@@ -1,6 +1,6 @@
{ callPackage, Foundation, libobjc }:
-callPackage ./generic.nix (rec {
+callPackage ./generic.nix ({
inherit Foundation libobjc;
version = "5.20.1.27";
sha256 = "15rpwxw642ad1na93k5nj7d2lb24f21kncr924gxr00178a9x0jy";
diff --git a/pkgs/development/compilers/mono/6.nix b/pkgs/development/compilers/mono/6.nix
new file mode 100644
index 00000000000..0157fa7b7f6
--- /dev/null
+++ b/pkgs/development/compilers/mono/6.nix
@@ -0,0 +1,9 @@
+{ callPackage, Foundation, libobjc }:
+
+callPackage ./generic.nix ({
+ inherit Foundation libobjc;
+ version = "6.0.0.313";
+ srcArchiveSuffix = "tar.xz";
+ sha256 = "0l0cd6q5xh1vdm6zr78rkfqdsmrgzanjgpxvgig0pyd3glfyjim9";
+ enableParallelBuilding = true;
+})
diff --git a/pkgs/development/compilers/mono/generic.nix b/pkgs/development/compilers/mono/generic.nix
index 43ef5d4b62d..9a2f01b9f3d 100644
--- a/pkgs/development/compilers/mono/generic.nix
+++ b/pkgs/development/compilers/mono/generic.nix
@@ -1,14 +1,18 @@
-{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python, version, sha256, autoconf, libtool, automake, cmake, which, enableParallelBuilding ? true }:
+{ stdenv, fetchurl, bison, pkgconfig, glib, gettext, perl, libgdiplus, libX11, callPackage, ncurses, zlib, withLLVM ? false, cacert, Foundation, libobjc, python, version, sha256, autoconf, libtool, automake, cmake, which
+, enableParallelBuilding ? true
+, srcArchiveSuffix ? "tar.bz2"
+}:
let
llvm = callPackage ./llvm.nix { };
in
stdenv.mkDerivation rec {
- name = "mono-${version}";
+ pname = "mono";
+ inherit version;
src = fetchurl {
inherit sha256;
- url = "https://download.mono-project.com/sources/mono/${name}.tar.bz2";
+ url = "https://download.mono-project.com/sources/mono/${pname}-${version}.${srcArchiveSuffix}";
};
buildInputs =
diff --git a/pkgs/development/compilers/mono/llvm.nix b/pkgs/development/compilers/mono/llvm.nix
index 616ec420d2d..36a457125fa 100644
--- a/pkgs/development/compilers/mono/llvm.nix
+++ b/pkgs/development/compilers/mono/llvm.nix
@@ -13,8 +13,8 @@
, zlib
}:
-stdenv.mkDerivation rec {
- name = "llvm-${version}";
+stdenv.mkDerivation {
+ pname = "llvm";
version = "3.6-mono-2017-02-15";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/mosml/default.nix b/pkgs/development/compilers/mosml/default.nix
index 89726f20c6b..19324593a30 100644
--- a/pkgs/development/compilers/mosml/default.nix
+++ b/pkgs/development/compilers/mosml/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, gmp, perl }:
stdenv.mkDerivation rec {
- name = "mosml-${version}";
+ pname = "mosml";
version = "2.10.1";
buildInputs = [ gmp perl ];
- makeFlags = "PREFIX=$(out)";
+ makeFlags = [ "PREFIX=$(out)" ] ++ stdenv.lib.optionals stdenv.isDarwin [ "CC=cc" ];
src = fetchurl {
url = "https://github.com/kfl/mosml/archive/ver-${version}.tar.gz";
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
'';
homepage = https://mosml.org/;
license = licenses.gpl2;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ vaibhavsagar ];
};
}
diff --git a/pkgs/development/compilers/mozart/binary.nix b/pkgs/development/compilers/mozart/binary.nix
index ef6cd1160b3..8eb35f1b5f7 100644
--- a/pkgs/development/compilers/mozart/binary.nix
+++ b/pkgs/development/compilers/mozart/binary.nix
@@ -8,7 +8,7 @@ let
version = "2.0.0";
binaries = {
- "x86_64-linux" = fetchurl {
+ x86_64-linux = fetchurl {
url = "mirror://sourceforge/project/mozart-oz/v${version}-alpha.0/mozart2-${version}-alpha.0+build.4105.5c06ced-x86_64-linux.tar.gz";
sha256 = "0rsfrjimjxqbwprpzzlmydl3z3aiwg5qkb052jixdxjyad7gyh5z";
};
@@ -16,11 +16,12 @@ let
in
stdenv.mkDerivation {
- name = "mozart-binary-${version}";
+ pname = "mozart-binary";
+ inherit version;
preferLocalBuild = true;
- src = binaries."${stdenv.hostPlatform.system}" or (throw "unsupported system: ${stdenv.hostPlatform.system}");
+ src = binaries.${stdenv.hostPlatform.system} or (throw "unsupported system: ${stdenv.hostPlatform.system}");
libPath = stdenv.lib.makeLibraryPath
[ stdenv.cc.cc
diff --git a/pkgs/development/compilers/nasm/default.nix b/pkgs/development/compilers/nasm/default.nix
index bfb3c154a3c..f5645ae0219 100644
--- a/pkgs/development/compilers/nasm/default.nix
+++ b/pkgs/development/compilers/nasm/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchFromRepoOrCz, autoreconfHook, perl, asciidoc, xmlto, docbook_xml_dtd_45, docbook_xsl }:
stdenv.mkDerivation rec {
- name = "nasm-${version}";
+ pname = "nasm";
version = "2.14.02";
src = fetchFromRepoOrCz {
repo = "nasm";
- rev = name;
+ rev = "${pname}-${version}";
sha256 = "15z6ybnzlsrqs2964h6czqhpmr7vc3ln4y4h0z9vrznk4mqcwbsa";
};
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
make golden && make test
'';
+ NIX_CFLAGS_COMPILE="-Wno-error=attributes";
+
meta = with stdenv.lib; {
homepage = https://www.nasm.us/;
description = "An 80x86 and x86-64 assembler designed for portability and modularity";
diff --git a/pkgs/development/compilers/neko/default.nix b/pkgs/development/compilers/neko/default.nix
index e2aa5736c7a..74ccaac388f 100644
--- a/pkgs/development/compilers/neko/default.nix
+++ b/pkgs/development/compilers/neko/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "neko-${version}";
+ pname = "neko";
version = "2.2.0";
src = fetchurl {
diff --git a/pkgs/development/compilers/nextpnr/default.nix b/pkgs/development/compilers/nextpnr/default.nix
index ec5deb4e22a..357f26cf314 100644
--- a/pkgs/development/compilers/nextpnr/default.nix
+++ b/pkgs/development/compilers/nextpnr/default.nix
@@ -1,53 +1,51 @@
-{ stdenv, fetchFromGitHub, cmake, makeWrapper
+{ stdenv, fetchFromGitHub, cmake
, boost, python3, eigen
, icestorm, trellis
+, llvmPackages
-# TODO(thoughtpolice) Currently the GUI build seems broken at runtime on my
-# laptop (and over a remote X server on my server...), so mark it broken for
-# now, with intent to fix later.
-, enableGui ? false
+, enableGui ? true
+, wrapQtAppsHook
, qtbase
+, OpenGL ? null
}:
let
boostPython = boost.override { python = python3; enablePython = true; };
-
- # This is a massive hack. For now, Trellis doesn't really support
- # installation through an already-built package; you have to build it once to
- # get the tools, then reuse the build directory to build nextpnr -- the
- # 'install' phase doesn't install everything it needs. This will be fixed in
- # the future but for now we can do this horrific thing.
- trellisRoot = trellis.overrideAttrs (_: {
- installPhase = ''
- mkdir -p $out
- cp *.so ..
- cd ../../.. && cp -R trellis database $out/
- '';
- });
in
-stdenv.mkDerivation rec {
- name = "nextpnr-${version}";
- version = "2019.04.19";
+with stdenv; mkDerivation rec {
+ pname = "nextpnr";
+ version = "2019.08.31";
src = fetchFromGitHub {
owner = "yosyshq";
repo = "nextpnr";
- rev = "5344bc3b65f4e06f983db781e9a82d30b3f1512b";
- sha256 = "1y14jpa948cwk0i19bsfqh7yxsxkgskm4xym4z179sjcvcdvrn3a";
+ rev = "c0b7379e8672b6263152d5e340e62f22179fdc8b";
+ sha256 = "174n962xiwyzy53cn192h9rq95h951k3xy6bs43p5ya592ai5mjh";
};
- nativeBuildInputs = [ cmake makeWrapper ];
+ nativeBuildInputs
+ = [ cmake ]
+ ++ (lib.optional enableGui wrapQtAppsHook);
buildInputs
= [ boostPython python3 eigen ]
- ++ (stdenv.lib.optional enableGui qtbase);
+ ++ (lib.optional enableGui qtbase)
+ ++ (lib.optional stdenv.cc.isClang llvmPackages.openmp);
enableParallelBuilding = true;
cmakeFlags =
[ "-DARCH=generic;ice40;ecp5"
"-DICEBOX_ROOT=${icestorm}/share/icebox"
- "-DTRELLIS_ROOT=${trellisRoot}/trellis"
+ "-DTRELLIS_ROOT=${trellis}/share/trellis"
+ "-DPYTRELLIS_LIBDIR=${trellis}/lib/trellis"
"-DUSE_OPENMP=ON"
- ] ++ (stdenv.lib.optional (!enableGui) "-DBUILD_GUI=OFF");
+ # warning: high RAM usage
+ "-DSERIALIZE_CHIPDB=OFF"
+ # use PyPy for icestorm if enabled
+ "-DPYTHON_EXECUTABLE=${icestorm.pythonInterp}"
+ ]
+ ++ (lib.optional (!enableGui) "-DBUILD_GUI=OFF")
+ ++ (lib.optional (enableGui && stdenv.isDarwin)
+ "-DOPENGL_INCLUDE_DIR=${OpenGL}/Library/Frameworks");
# Fix the version number. This is a bit stupid (and fragile) in practice
# but works ok. We should probably make this overrideable upstream.
@@ -56,20 +54,18 @@ stdenv.mkDerivation rec {
--replace 'git log -1 --format=%h' 'echo ${substring 0 11 src.rev}'
'';
- postInstall = stdenv.lib.optionalString enableGui ''
- for x in generic ice40 ecp5; do
- wrapProgram $out/bin/nextpnr-$x \
- --prefix QT_PLUGIN_PATH : "${qtbase}/${qtbase.qtPluginPrefix}"
- done
+
+ postFixup = lib.optionalString enableGui ''
+ wrapQtApp $out/bin/nextpnr-generic
+ wrapQtApp $out/bin/nextpnr-ice40
+ wrapQtApp $out/bin/nextpnr-ecp5
'';
- meta = with stdenv.lib; {
+ meta = with lib; {
description = "Place and route tool for FPGAs";
homepage = https://github.com/yosyshq/nextpnr;
license = licenses.isc;
- platforms = platforms.linux;
- maintainers = with maintainers; [ thoughtpolice ];
-
- broken = enableGui;
+ platforms = platforms.all;
+ maintainers = with maintainers; [ thoughtpolice emily ];
};
}
diff --git a/pkgs/development/compilers/nim/default.nix b/pkgs/development/compilers/nim/default.nix
index 0d319d235fd..4228c368e56 100644
--- a/pkgs/development/compilers/nim/default.nix
+++ b/pkgs/development/compilers/nim/default.nix
@@ -1,14 +1,15 @@
# based on https://github.com/nim-lang/Nim/blob/v0.18.0/.travis.yml
-{ stdenv, lib, fetchurl, makeWrapper, nodejs-slim-10_x, openssl, pcre, readline, boehmgc, sfml, tzdata, coreutils }:
+{ stdenv, lib, fetchurl, makeWrapper, nodejs-slim-11_x, openssl, pcre, readline,
+ boehmgc, sfml, tzdata, coreutils, sqlite }:
stdenv.mkDerivation rec {
- name = "nim-${version}";
- version = "0.19.4";
+ pname = "nim";
+ version = "0.20.2";
src = fetchurl {
- url = "https://nim-lang.org/download/${name}.tar.xz";
- sha256 = "0k59dhfsg5wnkc3nxg5a336pjd9jnfxabns63bl9n28iwdg16hgl";
+ url = "https://nim-lang.org/download/${pname}-${version}.tar.xz";
+ sha256 = "0pibil10x0c181kw705phlwk8bn8dy5ghqd9h9fm6i9afrz5ryp1";
};
doCheck = !stdenv.isDarwin;
@@ -20,6 +21,7 @@ stdenv.mkDerivation rec {
"-lpcre"
"-lreadline"
"-lgc"
+ "-lsqlite3"
];
# 1. nodejs is only needed for tests
@@ -27,19 +29,21 @@ stdenv.mkDerivation rec {
# used for bootstrapping, but koch insists on moving the nim compiler around
# as part of building it, so it cannot be read-only
+ checkInputs = [
+ nodejs-slim-11_x tzdata coreutils
+ ];
+
nativeBuildInputs = [
- makeWrapper nodejs-slim-10_x tzdata coreutils
+ makeWrapper
];
buildInputs = [
- openssl pcre readline boehmgc sfml
+ openssl pcre readline boehmgc sfml sqlite
];
- phases = [ "unpackPhase" "patchPhase" "buildPhase" "installPhase" "checkPhase" ];
-
buildPhase = ''
- # use $CC to trigger the linker since calling ld in build.sh causes an error
- LD=$CC
+ runHook preBuild
+
# build.sh wants to write to $HOME/.cache
HOME=$TMPDIR
sh build.sh
@@ -48,41 +52,60 @@ stdenv.mkDerivation rec {
-d:useGnuReadline \
${lib.optionals (stdenv.isDarwin || stdenv.isLinux) "-d:nativeStacktrace"}
./koch tools -d:release
+
+ runHook postBuild
+ '';
+
+ prePatch =
+ let disableTest = ''sed -i '1i discard \"\"\"\n disabled: true\n\"\"\"\n\n' '';
+ disableStdLibTest = ''sed -i -e '/^when isMainModule/,/^END$/{s/^/#/}' '';
+ disableCompile = ''sed -i -e 's/^/#/' '';
+ in ''
+ substituteInPlace ./tests/osproc/tworkingdir.nim --replace "/usr/bin" "${coreutils}/bin"
+ substituteInPlace ./tests/stdlib/ttimes.nim --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
+
+ # reported upstream: https://github.com/nim-lang/Nim/issues/11435
+ ${disableTest} ./tests/misc/tstrace.nim
+
+ # runs out of memory on a machine with 8GB RAM
+ ${disableTest} ./tests/system/t7894.nim
+
+ # requires network access (not available in the build container)
+ ${disableTest} ./tests/stdlib/thttpclient.nim
+ '' + lib.optionalString stdenv.isAarch64 ''
+ # supposedly broken on aarch64
+ ${disableStdLibTest} ./lib/pure/stats.nim
+
+ # reported upstream: https://github.com/nim-lang/Nim/issues/11463
+ ${disableCompile} ./lib/nimhcr.nim
+ ${disableTest} ./tests/dll/nimhcr_unit.nim
+ ${disableTest} ./tests/dll/nimhcr_integration.nim
+ '';
+
+ checkPhase = ''
+ runHook preCheck
+
+ ./koch tests --nim:bin/nim all
+
+ runHook postCheck
'';
installPhase = ''
+ runHook preInstall
+
install -Dt $out/bin bin/* koch
./koch install $out
mv $out/nim/bin/* $out/bin/ && rmdir $out/nim/bin
mv $out/nim/* $out/ && rmdir $out/nim
wrapProgram $out/bin/nim \
--suffix PATH : ${lib.makeBinPath [ stdenv.cc ]}
- '';
- patchPhase =
- let disableTest = ''sed -i '1i discard \"\"\"\n disabled: true\n\"\"\"\n\n' '';
- disableStdLibTest = ''sed -i -e '/^when isMainModule/,/^END$/{s/^/#/}' '';
- disableCompile = ''sed -i -e 's/^/#/' '';
- in ''
- substituteInPlace ./tests/async/tioselectors.nim --replace "/bin/sleep" "sleep"
- substituteInPlace ./tests/osproc/tworkingdir.nim --replace "/usr/bin" "${coreutils}/bin"
- substituteInPlace ./tests/stdlib/ttimes.nim --replace "/usr/share/zoneinfo" "${tzdata}/share/zoneinfo"
-
- # disable tests requiring network access (not available in the build container)
- ${disableTest} ./tests/stdlib/thttpclient.nim
- '' + lib.optionalString stdenv.isAarch64 ''
- # disable test supposedly broken on aarch64
- ${disableStdLibTest} ./lib/pure/stats.nim
- '';
-
- checkPhase = ''
- PATH=$PATH:$out/bin
- ./koch tests
+ runHook postInstall
'';
meta = with stdenv.lib; {
description = "Statically typed, imperative programming language";
- homepage = https://nim-lang.org/;
+ homepage = "https://nim-lang.org/";
license = licenses.mit;
maintainers = with maintainers; [ ehmry peterhoeg ];
platforms = with platforms; linux ++ darwin; # arbitrary
diff --git a/pkgs/development/compilers/nvidia-cg-toolkit/default.nix b/pkgs/development/compilers/nvidia-cg-toolkit/default.nix
index b6e2aea7eca..fa49bf9dd73 100644
--- a/pkgs/development/compilers/nvidia-cg-toolkit/default.nix
+++ b/pkgs/development/compilers/nvidia-cg-toolkit/default.nix
@@ -7,7 +7,7 @@ stdenv.mkDerivation rec {
date = "April2012";
- name = "nvidia-cg-toolkit-${version}";
+ pname = "nvidia-cg-toolkit";
src =
if stdenv.hostPlatform.system == "x86_64-linux" then
@@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
'';
meta = {
- homepage = http://developer.nvidia.com/cg-toolkit;
+ homepage = https://developer.nvidia.com/cg-toolkit;
license = lib.licenses.unfreeRedistributable;
};
}
diff --git a/pkgs/development/compilers/obliv-c/default.nix b/pkgs/development/compilers/obliv-c/default.nix
index 0d171a474a2..8fd6f33740e 100644
--- a/pkgs/development/compilers/obliv-c/default.nix
+++ b/pkgs/development/compilers/obliv-c/default.nix
@@ -1,6 +1,6 @@
{ stdenv, libgcrypt, fetchFromGitHub, ocamlPackages, perl }:
stdenv.mkDerivation rec {
- name = "obliv-c-${version}";
+ pname = "obliv-c";
version = "0.0pre20180624";
buildInputs = [ perl ]
++ (with ocamlPackages; [ ocaml findlib ocamlbuild ]);
diff --git a/pkgs/development/compilers/ocaml/3.08.0.nix b/pkgs/development/compilers/ocaml/3.08.0.nix
index 4337de702e1..cd621c131ff 100644
--- a/pkgs/development/compilers/ocaml/3.08.0.nix
+++ b/pkgs/development/compilers/ocaml/3.08.0.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, xlibsWrapper }:
stdenv.mkDerivation rec {
- name = "ocaml-${version}";
+ pname = "ocaml";
version = "3.08.0";
builder = ./builder.sh;
src = fetchurl {
- url = "http://tarballs.nixos.org/${name}.tar.gz";
+ url = "http://tarballs.nixos.org/${pname}-${version}.tar.gz";
sha256 = "135g5waj7djzrj0dbc8z1llasfs2iv5asq41jifhldxb4l2b97mx";
};
configureScript = ./configure-3.08.0;
diff --git a/pkgs/development/compilers/ocaml/3.10.0.nix b/pkgs/development/compilers/ocaml/3.10.0.nix
index 99a65dec150..556aefd3704 100644
--- a/pkgs/development/compilers/ocaml/3.10.0.nix
+++ b/pkgs/development/compilers/ocaml/3.10.0.nix
@@ -2,11 +2,11 @@
stdenv.mkDerivation (rec {
- name = "ocaml-${version}";
+ pname = "ocaml";
version = "3.10.0";
src = fetchurl {
- url = "https://caml.inria.fr/pub/distrib/ocaml-3.10/${name}.tar.bz2";
+ url = "https://caml.inria.fr/pub/distrib/ocaml-3.10/${pname}-${version}.tar.bz2";
sha256 = "1ihmx1civ78s7k2hfc05z1s9vbyx2qw7fg8lnbxnfd6zxkk8878d";
};
diff --git a/pkgs/development/compilers/ocaml/3.11.2.nix b/pkgs/development/compilers/ocaml/3.11.2.nix
index e65510c172e..4be41490534 100644
--- a/pkgs/development/compilers/ocaml/3.11.2.nix
+++ b/pkgs/development/compilers/ocaml/3.11.2.nix
@@ -8,11 +8,11 @@ in
stdenv.mkDerivation rec {
- name = "ocaml-${version}";
+ pname = "ocaml";
version = "3.11.2";
src = fetchurl {
- url = "https://caml.inria.fr/pub/distrib/ocaml-3.11/${name}.tar.bz2";
+ url = "https://caml.inria.fr/pub/distrib/ocaml-3.11/${pname}-${version}.tar.bz2";
sha256 = "86f3387a0d7e7c8be2a3c53af083a5a726e333686208d5ea0dd6bb5ac3f58143";
};
diff --git a/pkgs/development/compilers/ocaml/3.12.1.nix b/pkgs/development/compilers/ocaml/3.12.1.nix
index 8636f670059..edb3acdbdb1 100644
--- a/pkgs/development/compilers/ocaml/3.12.1.nix
+++ b/pkgs/development/compilers/ocaml/3.12.1.nix
@@ -8,11 +8,11 @@ in
stdenv.mkDerivation rec {
- name = "ocaml-${version}";
+ pname = "ocaml";
version = "3.12.1";
src = fetchurl {
- url = "https://caml.inria.fr/pub/distrib/ocaml-3.12/${name}.tar.bz2";
+ url = "https://caml.inria.fr/pub/distrib/ocaml-3.12/${pname}-${version}.tar.bz2";
sha256 = "13cmhkh7s6srnlvhg3s9qzh3a5dbk2m9qr35jzq922sylwymdkzd";
};
diff --git a/pkgs/development/compilers/ocaml/4.00.1.nix b/pkgs/development/compilers/ocaml/4.00.1.nix
index 0a30ef1352c..2669e8224bf 100644
--- a/pkgs/development/compilers/ocaml/4.00.1.nix
+++ b/pkgs/development/compilers/ocaml/4.00.1.nix
@@ -7,11 +7,11 @@ let
in
stdenv.mkDerivation rec {
- name = "ocaml-${version}";
+ pname = "ocaml";
version = "4.00.1";
src = fetchurl {
- url = "https://caml.inria.fr/pub/distrib/ocaml-4.00/${name}.tar.bz2";
+ url = "https://caml.inria.fr/pub/distrib/ocaml-4.00/${pname}-${version}.tar.bz2";
sha256 = "33c3f4acff51685f5bfd7c260f066645e767d4e865877bf1613c176a77799951";
};
diff --git a/pkgs/development/compilers/ocaml/4.01.0.nix b/pkgs/development/compilers/ocaml/4.01.0.nix
index aa6cf68d2c9..6362f360f7d 100644
--- a/pkgs/development/compilers/ocaml/4.01.0.nix
+++ b/pkgs/development/compilers/ocaml/4.01.0.nix
@@ -1,4 +1,4 @@
-import ./generic.nix rec {
+import ./generic.nix {
major_version = "4";
minor_version = "01";
patch_version = "0";
diff --git a/pkgs/development/compilers/ocaml/4.02.nix b/pkgs/development/compilers/ocaml/4.02.nix
index 9ac53f56790..4773f9f74a5 100644
--- a/pkgs/development/compilers/ocaml/4.02.nix
+++ b/pkgs/development/compilers/ocaml/4.02.nix
@@ -1,4 +1,4 @@
-import ./generic.nix rec {
+import ./generic.nix {
major_version = "4";
minor_version = "02";
patch_version = "3";
diff --git a/pkgs/development/compilers/ocaml/4.03.nix b/pkgs/development/compilers/ocaml/4.03.nix
index c9536c487d0..0bbe8233041 100644
--- a/pkgs/development/compilers/ocaml/4.03.nix
+++ b/pkgs/development/compilers/ocaml/4.03.nix
@@ -1,4 +1,4 @@
-import ./generic.nix rec {
+import ./generic.nix {
major_version = "4";
minor_version = "03";
patch_version = "0";
diff --git a/pkgs/development/compilers/ocaml/4.08.nix b/pkgs/development/compilers/ocaml/4.08.nix
index 53d4ceef92a..11c22e636ef 100644
--- a/pkgs/development/compilers/ocaml/4.08.nix
+++ b/pkgs/development/compilers/ocaml/4.08.nix
@@ -1,8 +1,8 @@
import ./generic.nix {
major_version = "4";
minor_version = "08";
- patch_version = "0+beta3";
- sha256 = "02pk4bxrgqb12hvpbxyqnl4nwr4g2h96wsfzfd1k8vj8h0jmxzc4";
+ patch_version = "1";
+ sha256 = "18sycl3zmgb8ghpxymriy5d72gvw7m5ra65v51hcrmzzac21hkyd";
# If the executable is stripped it does not work
dontStrip = true;
diff --git a/pkgs/development/compilers/ocaml/ber-metaocaml.nix b/pkgs/development/compilers/ocaml/ber-metaocaml.nix
index a933151de12..fb507b9836a 100644
--- a/pkgs/development/compilers/ocaml/ber-metaocaml.nix
+++ b/pkgs/development/compilers/ocaml/ber-metaocaml.nix
@@ -14,7 +14,7 @@ let
in
stdenv.mkDerivation rec {
- name = "ber-metaocaml-${version}";
+ pname = "ber-metaocaml";
version = metaocamlPatch;
src = fetchurl {
@@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
postConfigure = ''
tar -xvzf $metaocaml
- cd ${name}
+ cd ${pname}-${version}
make patch
cd ..
'';
@@ -57,7 +57,7 @@ stdenv.mkDerivation rec {
make installopt
mkdir -p $out/include
ln -sv $out/lib/ocaml/caml $out/include/caml
- cd ${name}
+ cd ${pname}-${version}
make all
'';
@@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
'';
checkPhase = ''
- cd ${name}
+ cd ${pname}-${version}
make test
make test-compile
make test-native
diff --git a/pkgs/development/compilers/ocaml/generic.nix b/pkgs/development/compilers/ocaml/generic.nix
index 0085739147b..9557d0a79ae 100644
--- a/pkgs/development/compilers/ocaml/generic.nix
+++ b/pkgs/development/compilers/ocaml/generic.nix
@@ -30,7 +30,7 @@ let
x11inc = x11env + "/include";
in
-stdenv.mkDerivation (args // rec {
+stdenv.mkDerivation (args // {
inherit name;
inherit version;
diff --git a/pkgs/development/compilers/ocaml/metaocaml-3.09.nix b/pkgs/development/compilers/ocaml/metaocaml-3.09.nix
index e9adbeff490..aa50cf225ca 100644
--- a/pkgs/development/compilers/ocaml/metaocaml-3.09.nix
+++ b/pkgs/development/compilers/ocaml/metaocaml-3.09.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, xlibsWrapper, ncurses }:
-stdenv.mkDerivation (rec {
+stdenv.mkDerivation ({
- name = "metaocaml-${version}";
+ pname = "metaocaml";
version = "3.09-alpha-30";
src = fetchurl {
diff --git a/pkgs/development/compilers/opa/default.nix b/pkgs/development/compilers/opa/default.nix
index 06ed7c51e9a..da1df6f30bb 100644
--- a/pkgs/development/compilers/opa/default.nix
+++ b/pkgs/development/compilers/opa/default.nix
@@ -7,7 +7,6 @@
stdenv.mkDerivation rec {
pname = "opa";
version = "4310";
- name = "${pname}-${version}";
src = fetchFromGitHub {
owner = "MLstate";
diff --git a/pkgs/development/compilers/openjdk/005_enable-infinality.patch b/pkgs/development/compilers/openjdk/005_enable-infinality.patch
index f8de9698996..cc34e548758 100644
--- a/pkgs/development/compilers/openjdk/005_enable-infinality.patch
+++ b/pkgs/development/compilers/openjdk/005_enable-infinality.patch
@@ -6,7 +6,7 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
@@ -23,6 +23,9 @@
* questions.
*/
-
+
+/* Use Infinality patches as default */
+#define INFINALITY
+
@@ -21,13 +21,13 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
+#include FT_LCD_FILTER_H
+#include
+#endif
-
+
#include "fontscaler.h"
-
+
@@ -676,6 +683,147 @@ static void CopyFTSubpixelVToSubpixel(co
}
}
-
+
+#ifdef INFINALITY
+typedef struct {
+ FT_Render_Mode ftRenderMode;
@@ -169,7 +169,7 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
+ rp->ftLcdFilter = ftLcdFilter;
+}
+#endif
-
+
/*
* Class: sun_font_FreetypeFontScaler
@@ -691,7 +839,9 @@ Java_sun_font_FreetypeFontScaler_getGlyp
@@ -180,28 +180,27 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
int renderFlags = FT_LOAD_RENDER, target;
+#endif
FT_GlyphSlot ftglyph;
-
+
FTScalerContext* context =
-@@ -709,6 +859,11 @@ Java_sun_font_FreetypeFontScaler_getGlyp
+@@ -709,5 +859,10 @@ Java_sun_font_FreetypeFontScaler_getGlyp
return ptr_to_jlong(getNullGlyphImage());
}
-
+
+#ifdef INFINALITY
+ RenderingProperties renderingProperties;
+ readFontconfig((const FcChar8 *) scalerInfo->face->family_name,
+ context->ptsz, context->aaType, &renderingProperties);
+#else
- /* if algorithmic styling is required then we do not request bitmap */
- if (context->doBold || context->doItalize) {
- renderFlags = FT_LOAD_DEFAULT;
+ if (!context->useSbits) {
+ renderFlags |= FT_LOAD_NO_BITMAP;
@@ -731,10 +886,17 @@ Java_sun_font_FreetypeFontScaler_getGlyp
target = FT_LOAD_TARGET_LCD_V;
}
renderFlags |= target;
+#endif
-
+
glyph_index = FT_Get_Char_Index(scalerInfo->face, glyphCode);
-
+
+#ifdef INFINALITY
+ FT_Library_SetLcdFilter(scalerInfo->library, renderingProperties.ftLcdFilter);
+ error = FT_Load_Glyph(scalerInfo->face, glyphCode, renderingProperties.ftLoadFlags);
@@ -213,7 +212,7 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
//do not destroy scaler yet.
//this can be problem of particular context (e.g. with bad transform)
@@ -753,9 +915,13 @@ Java_sun_font_FreetypeFontScaler_getGlyp
-
+
/* generate bitmap if it is not done yet
e.g. if algorithmic styling is performed and style was added to outline */
+#ifdef INFINALITY
@@ -223,7 +222,7 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
FT_Render_Glyph(ftglyph, FT_LOAD_TARGET_MODE(target));
}
+#endif
-
+
width = (UInt16) ftglyph->bitmap.width;
height = (UInt16) ftglyph->bitmap.rows;
@@ -969,7 +1135,9 @@ Java_sun_font_FreetypeFontScaler_getGlyp
@@ -239,7 +238,7 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
@@ -984,11 +1152,22 @@ static FT_Outline* getFTOutline(JNIEnv*
return NULL;
}
-
+
+#ifdef INFINALITY
+ RenderingProperties renderingProperties;
+ readFontconfig((const FcChar8 *) scalerInfo->face->family_name,
@@ -247,9 +246,9 @@ diff -ur a/jdk/src/share/native/sun/font/freetypeScaler.c b/jdk/src/share/native
+#else
renderFlags = FT_LOAD_NO_HINTING | FT_LOAD_NO_BITMAP;
+#endif
-
+
glyph_index = FT_Get_Char_Index(scalerInfo->face, glyphCode);
-
+
+#ifdef INFINALITY
+ error = FT_Load_Glyph(scalerInfo->face, glyphCode, renderingProperties.ftLoadFlags);
+#else
diff --git a/pkgs/development/compilers/openjdk/11.nix b/pkgs/development/compilers/openjdk/11.nix
index 5840061ed53..57911f2d58e 100644
--- a/pkgs/development/compilers/openjdk/11.nix
+++ b/pkgs/development/compilers/openjdk/11.nix
@@ -1,41 +1,33 @@
-{ stdenv, lib, fetchurl, bash, cpio, autoconf, pkgconfig, file, which, unzip, zip, cups, freetype
-, alsaLib, bootjdk, perl, liberation_ttf, fontconfig, zlib, lndir
-, libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr
-, libjpeg, giflib
+{ stdenv, lib, fetchurl, bash, pkgconfig, autoconf, cpio, file, which, unzip
+, zip, perl, cups, freetype, alsaLib, libjpeg, giflib, libpng, zlib, lcms2
+, libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama
+, libXcursor, libXrandr, fontconfig, openjdk11-bootstrap
, setJavaClassPath
-, minimal ? false
+, headless ? false
+, enableJavaFX ? openjfx.meta.available, openjfx
, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
}:
let
-
- /**
- * The JDK libraries are in directories that depend on the CPU.
- */
- architecture =
- if stdenv.hostPlatform.system == "i686-linux" then
- "i386"
- else "amd64";
-
major = "11";
- update = ".0.3";
+ update = ".0.4";
build = "ga";
- repover = "jdk-${major}${update}-${build}";
- openjdk = stdenv.mkDerivation {
- name = "openjdk-${major}${update}-${build}";
+ openjdk = stdenv.mkDerivation rec {
+ pname = "openjdk" + lib.optionalString headless "-headless";
+ version = "${major}${update}-${build}";
src = fetchurl {
- url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/${repover}.tar.gz";
+ url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/jdk-${version}.tar.gz";
sha256 = "1v6pam38iidlhz46046h17hf5kki6n3kl302awjcyxzk7bmkvb8x";
};
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ pkgconfig autoconf ];
buildInputs = [
- autoconf cpio file which unzip zip perl bootjdk zlib cups freetype alsaLib
- libjpeg giflib libX11 libICE libXext libXrender libXtst libXt libXtst
- libXi libXinerama libXcursor libXrandr lndir fontconfig
- ] ++ lib.optionals (!minimal && enableGnome2) [
+ cpio file which unzip zip perl zlib cups freetype alsaLib libjpeg giflib
+ libpng zlib lcms2 libX11 libICE libXrender libXext libXtst libXt libXtst
+ libXi libXinerama libXcursor libXrandr fontconfig openjdk11-bootstrap
+ ] ++ lib.optionals (!headless && enableGnome2) [
gtk3 gnome_vfs GConf glib
];
@@ -43,65 +35,61 @@ let
./fix-java-home-jdk10.patch
./read-truststore-from-env-jdk10.patch
./currency-date-range-jdk10.patch
- ] ++ lib.optionals (!minimal && enableGnome2) [
+ ./increase-javadoc-heap.patch
+ ] ++ lib.optionals (!headless && enableGnome2) [
./swing-use-gtk-jdk10.patch
];
preConfigure = ''
chmod +x configure
substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"
-
- configureFlagsArray=(
- "--with-boot-jdk=${bootjdk.home}"
- "--with-update-version=${major}${update}"
- "--with-build-number=${build}"
- "--with-milestone=fcs"
- "--enable-unlimited-crypto"
- "--disable-debug-symbols"
- "--with-zlib=system"
- "--with-giflib=system"
- "--with-stdc++lib=dynamic"
-
- # glibc 2.24 deprecated readdir_r so we need this
- # See https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg49006.html
- "--with-extra-cflags=-Wno-error=deprecated-declarations -Wno-error=format-contains-nul -Wno-error=unused-result"
- ''
- + lib.optionalString (architecture == "amd64") " \"--with-jvm-features=zgc\""
- + lib.optionalString minimal " \"--enable-headless-only\""
- + ");"
- # https://bugzilla.redhat.com/show_bug.cgi?id=1306558
- # https://github.com/JetBrains/jdk8u/commit/eaa5e0711a43d64874111254d74893fa299d5716
- + stdenv.lib.optionalString stdenv.cc.isGNU ''
- NIX_CFLAGS_COMPILE+=" -fno-lifetime-dse -fno-delete-null-pointer-checks -std=gnu++98 -Wno-error"
'';
- NIX_LDFLAGS= lib.optionals (!minimal) [
+ configureFlags = [
+ "--with-boot-jdk=${openjdk11-bootstrap.home}"
+ "--enable-unlimited-crypto"
+ "--with-native-debug-symbols=internal"
+ "--with-libjpeg=system"
+ "--with-giflib=system"
+ "--with-libpng=system"
+ "--with-zlib=system"
+ "--with-lcms=system"
+ "--with-stdc++lib=dynamic"
+ ] ++ lib.optional stdenv.isx86_64 "--with-jvm-features=zgc"
+ ++ lib.optional headless "--enable-headless-only"
+ ++ lib.optional (!headless && enableJavaFX) "--with-import-modules=${openjfx}";
+
+ separateDebugInfo = true;
+
+ NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
+
+ NIX_LDFLAGS = lib.optionals (!headless) [
"-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
- ] ++ lib.optionals (!minimal && enableGnome2) [
+ ] ++ lib.optionals (!headless && enableGnome2) [
"-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
];
buildFlags = [ "all" ];
installPhase = ''
- mkdir -p $out/lib/openjdk $out/share
+ mkdir -p $out/lib
- cp -av build/*/images/jdk/* $out/lib/openjdk
+ mv build/*/images/jdk $out/lib/openjdk
# Remove some broken manpages.
rm -rf $out/lib/openjdk/man/ja*
# Mirror some stuff in top-level.
- mkdir $out/include $out/share/man
- ln -s $out/lib/openjdk/include/* $out/include/
- ln -s $out/lib/openjdk/man/* $out/share/man/
+ mkdir -p $out/share
+ ln -s $out/lib/openjdk/include $out/include
+ ln -s $out/lib/openjdk/man $out/share/man
# jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/linux/*_md.h $out/include/
# Remove crap from the installation.
rm -rf $out/lib/openjdk/demo
- ${lib.optionalString minimal ''
+ ${lib.optionalString headless ''
rm $out/lib/openjdk/lib/{libjsound,libfontmanager}.so
''}
@@ -126,11 +114,12 @@ let
# Build the set of output library directories to rpath against
LIBDIRS=""
for output in $outputs; do
+ if [ "$output" = debug ]; then continue; fi
LIBDIRS="$(find $(eval echo \$$output) -name \*.so\* -exec dirname {} \+ | sort | uniq | tr '\n' ':'):$LIBDIRS"
done
-
# Add the local library paths to remove dependencies on the bootstrap
for output in $outputs; do
+ if [ "$output" = debug ]; then continue; fi
OUTPUTDIR=$(eval echo \$$output)
BINLIBS=$(find $OUTPUTDIR/bin/ -type f; find $OUTPUTDIR -name \*.so\*)
echo "$BINLIBS" | while read i; do
@@ -138,26 +127,20 @@ let
patchelf --shrink-rpath "$i" || true
done
done
-
- # Test to make sure that we don't depend on the bootstrap
- for output in $outputs; do
- if grep -q -r '${bootjdk}' $(eval echo \$$output); then
- echo "Extraneous references to ${bootjdk} detected"
- exit 1
- fi
- done
'';
+ disallowedReferences = [ openjdk11-bootstrap ];
+
meta = with stdenv.lib; {
homepage = http://openjdk.java.net/;
license = licenses.gpl2;
description = "The open-source Java Development Kit";
maintainers = with maintainers; [ edwtjo ];
- platforms = ["i686-linux" "x86_64-linux"];
+ platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
};
passthru = {
- inherit architecture;
+ architecture = "";
home = "${openjdk}/lib/openjdk";
};
};
diff --git a/pkgs/development/compilers/openjdk/8.nix b/pkgs/development/compilers/openjdk/8.nix
index 952c5d1bf6a..1d356945a4f 100644
--- a/pkgs/development/compilers/openjdk/8.nix
+++ b/pkgs/development/compilers/openjdk/8.nix
@@ -1,9 +1,10 @@
-{ stdenv, lib, fetchurl, bash, cpio, pkgconfig, file, which, unzip, zip, cups, freetype
-, alsaLib, bootjdk, cacert, perl, liberation_ttf, fontconfig, zlib, lndir
+{ stdenv, lib, fetchurl, pkgconfig, lndir, bash, cpio, file, which, unzip, zip
+, cups, freetype, alsaLib, cacert, perl, liberation_ttf, fontconfig, zlib
, libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama, libXcursor, libXrandr
, libjpeg, giflib
+, openjdk8-bootstrap
, setJavaClassPath
-, minimal ? false
+, headless ? false
, enableInfinality ? true # font rendering patch
, enableGnome2 ? true, gtk2, gnome_vfs, glib, GConf
}:
@@ -13,69 +14,88 @@ let
/**
* The JRE libraries are in directories that depend on the CPU.
*/
- architecture =
- if stdenv.hostPlatform.system == "i686-linux" then
- "i386"
- else if stdenv.hostPlatform.system == "x86_64-linux" then
- "amd64"
- else
- throw "openjdk requires i686-linux or x86_64 linux";
+ architecture = {
+ i686-linux = "i386";
+ x86_64-linux = "amd64";
+ aarch64-linux = "aarch64";
+ }.${stdenv.system} or (throw "Unsupported platform");
+
+ update = "222";
+ build = if stdenv.isAarch64 then "b10"
+ else "ga";
+ baseurl = if stdenv.isAarch64 then "https://hg.openjdk.java.net/aarch64-port/jdk8u-shenandoah"
+ else "https://hg.openjdk.java.net/jdk8u/jdk8u";
+ repover = lib.optionalString stdenv.isAarch64 "aarch64-shenandoah-"
+ + "jdk8u${update}-${build}";
- update = "212";
- build = "ga";
- baseurl = "http://hg.openjdk.java.net/jdk8u/jdk8u";
- repover = "jdk8u${update}-${build}";
jdk8 = fetchurl {
+ name = "jdk8-${repover}.tar.gz";
url = "${baseurl}/archive/${repover}.tar.gz";
- sha256 = "00rl33h4cl4b4p3hcid765h38x2jdkb14ylh8k1zhnd0ka76crgg";
+ sha256 = if stdenv.isAarch64 then "1h19zpmc76f8v4s0mfvqxmxvv8imdwq92z5dmgi19y4xnl978qq8"
+ else "19dyqayn8n2y08p08g34xxnf0dkm6bfjxkp7633m7dx50mjcpxnj";
};
langtools = fetchurl {
+ name = "langtools-${repover}.tar.gz";
url = "${baseurl}/langtools/archive/${repover}.tar.gz";
- sha256 = "0va6g2dccf1ph6mpwxswbks5axp7zz258cl89qq9r8jn4ni04agw";
+ sha256 = if stdenv.isAarch64 then "09phy2izw2yyp3hnw7jmb7lp559dgnp2a0rymx1k3q97anfz3bzj"
+ else "11nibmqnf7nap10sydk57gimgwpxqk5mn12dyg6fzg4s2fxf0y1q";
};
hotspot = fetchurl {
+ name = "hotspot-${repover}.tar.gz";
url = "${baseurl}/hotspot/archive/${repover}.tar.gz";
- sha256 = "0sgr9df10hs49pjld6c6kr374v4zwd9s52pc3drz68zrlk71ja4s";
+ sha256 = if stdenv.isAarch64 then "1dqrzg2af94pjam6jg9nq8ydaibn4bsjv7ai6m7m3r2ph2fml80s"
+ else "1g512xrrxvnrk5szg7wqqz00x4gv53dx3yffk5im2zfcalyka2q7";
};
corba = fetchurl {
+ name = "corba-${repover}.tar.gz";
url = "${baseurl}/corba/archive/${repover}.tar.gz";
- sha256 = "1hq0sr4k4k4iv815kg72i9lvd7n7mn5pmw96ckk9p1rnyagn9z03";
+ sha256 = if stdenv.isAarch64 then "15l1ccvk2slx8wf5gilzjvhc428hl57gg1knbma1jqgs3ymnqwpr"
+ else "0h8nprfzpy21mfl39fxxzfa420skwmaaji4r31j7lj3g8c1wp62r";
};
jdk = fetchurl {
+ name = "jdk-${repover}.tar.gz";
url = "${baseurl}/jdk/archive/${repover}.tar.gz";
- sha256 = "1fc59jrbfq8l067mggzy5dnrvni7lwaqd7hahs4nqv87kyrfg545";
+ sha256 = if stdenv.isAarch64 then "179ij3rs1ahl6dh3n64k4xp2prv413ckqk7sj1g5lw48rj7bjh83"
+ else "1sb38h0rckgkr2y0kfzav6mb74nv5whb9l8m842mv1jpavxrdv6k";
};
jaxws = fetchurl {
+ name = "jaxws-${repover}.tar.gz";
url = "${baseurl}/jaxws/archive/${repover}.tar.gz";
- sha256 = "1ka2fvyxdmpfhk814s314gx53yvdr19vpsqygx283v9nbq90l1yg";
+ sha256 = if stdenv.isAarch64 then "16bayw7c4vzm9s0ixhw2dv6pan6wywyiddh9a8dss35660dnhrm0"
+ else "0akn5zapff5m32ibgm3f4lhgq96bsqx74g4xl38xmivvxddsd6kz";
};
jaxp = fetchurl {
+ name = "jaxp-${repover}.tar.gz";
url = "${baseurl}/jaxp/archive/${repover}.tar.gz";
- sha256 = "15vlgs5v2ax8sqwh7bg50fnlrwlpnkp0myzrvpqs1mcza8pyasp8";
+ sha256 = if stdenv.isAarch64 then "176db7pi2irc7q87c273cjm5nrlj5g973fjmh24m6a1jxanrrm9x"
+ else "0bw4q8yhmrl8hqlimy1ijnarav4r91dj73lpr7axba77rqlr41c8";
};
nashorn = fetchurl {
+ name = "nashorn-${repover}.tar.gz";
url = "${baseurl}/nashorn/archive/${repover}.tar.gz";
- sha256 = "1jzn0yi0v6lda5y8ib07g1p6zymnbcx9yy6iz8niggpm7205y93h";
+ sha256 = if stdenv.isAarch64 then "0vi3kbsqfpdjxc08ayxk2c87zycd7z0qbqw9xka1vc59iyv97n62"
+ else "0bfcf3iv2lr0xlp6sclxq7zz7b9ahajl008hz5rasjnrnr993qja";
};
openjdk8 = stdenv.mkDerivation {
- name = "openjdk-8u${update}-${build}";
+ pname = "openjdk" + lib.optionalString headless "-headless";
+ version = "8u${update}-${build}";
srcs = [ jdk8 langtools hotspot corba jdk jaxws jaxp nashorn ];
sourceRoot = ".";
outputs = [ "out" "jre" ];
- nativeBuildInputs = [ pkgconfig ];
+ nativeBuildInputs = [ pkgconfig lndir ];
buildInputs = [
- cpio file which unzip zip perl bootjdk zlib cups freetype alsaLib
+ cpio file which unzip zip perl openjdk8-bootstrap zlib cups freetype alsaLib
libjpeg giflib libX11 libICE libXext libXrender libXtst libXt libXtst
- libXi libXinerama libXcursor libXrandr lndir fontconfig
- ] ++ lib.optionals (!minimal && enableGnome2) [
+ libXi libXinerama libXcursor libXrandr fontconfig
+ ] ++ lib.optionals (!headless && enableGnome2) [
gtk2 gnome_vfs GConf glib
];
- #move the seven other source dirs under the main jdk8u directory,
- #with version suffixes removed, as the remainder of the build will expect
+ # move the seven other source dirs under the main jdk8u directory,
+ # with version suffixes removed, as the remainder of the build will expect
prePatch = ''
mainDir=$(find . -maxdepth 1 -name jdk8u\*);
find . -maxdepth 1 -name \*jdk\* -not -name jdk8u\* | awk -F- '{print $1}' | while read p; do
@@ -88,10 +108,10 @@ let
./fix-java-home-jdk8.patch
./read-truststore-from-env-jdk8.patch
./currency-date-range-jdk8.patch
- ] ++ lib.optionals (!minimal && enableInfinality) [
+ ] ++ lib.optionals (!headless && enableInfinality) [
./004_add-fontconfig.patch
./005_enable-infinality.patch
- ] ++ lib.optionals (!minimal && enableGnome2) [
+ ] ++ lib.optionals (!headless && enableGnome2) [
./swing-use-gtk-jdk8.patch
];
@@ -103,33 +123,39 @@ let
substituteInPlace configure --replace /bin/bash "${bash}/bin/bash"
substituteInPlace hotspot/make/linux/adlc_updater --replace /bin/sh "${stdenv.shell}"
substituteInPlace hotspot/make/linux/makefiles/dtrace.make --replace /usr/include/sys/sdt.h "/no-such-path"
- ''
- # https://bugzilla.redhat.com/show_bug.cgi?id=1306558
- # https://github.com/JetBrains/jdk8u/commit/eaa5e0711a43d64874111254d74893fa299d5716
- + stdenv.lib.optionalString stdenv.cc.isGNU ''
- NIX_CFLAGS_COMPILE+=" -fno-lifetime-dse -fno-delete-null-pointer-checks -std=gnu++98 -Wno-error"
'';
configureFlags = [
- "--with-boot-jdk=${bootjdk.home}"
+ "--with-boot-jdk=${openjdk8-bootstrap.home}"
"--with-update-version=${update}"
"--with-build-number=${build}"
"--with-milestone=fcs"
"--enable-unlimited-crypto"
- "--disable-debug-symbols"
+ "--with-native-debug-symbols=internal"
"--disable-freetype-bundling"
"--with-zlib=system"
"--with-giflib=system"
"--with-stdc++lib=dynamic"
+ ] ++ lib.optional headless "--disable-headful";
+ separateDebugInfo = true;
+
+ NIX_CFLAGS_COMPILE = [
# glibc 2.24 deprecated readdir_r so we need this
# See https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg49006.html
- "--with-extra-cflags=\"-Wno-error=deprecated-declarations\""
- ] ++ lib.optional minimal "--disable-headful";
+ "-Wno-error=deprecated-declarations"
+ ] ++ lib.optionals stdenv.cc.isGNU [
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1306558
+ # https://github.com/JetBrains/jdk8u/commit/eaa5e0711a43d64874111254d74893fa299d5716
+ "-fno-lifetime-dse"
+ "-fno-delete-null-pointer-checks"
+ "-std=gnu++98"
+ "-Wno-error"
+ ];
- NIX_LDFLAGS= lib.optionals (!minimal) [
+ NIX_LDFLAGS= lib.optionals (!headless) [
"-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
- ] ++ lib.optionals (!minimal && enableGnome2) [
+ ] ++ lib.optionals (!headless && enableGnome2) [
"-lgtk-x11-2.0" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
];
@@ -138,45 +164,40 @@ let
doCheck = false; # fails with "No rule to make target 'y'."
installPhase = ''
- mkdir -p $out/lib/openjdk $out/share $jre/lib/openjdk
+ mkdir -p $out/lib
- cp -av build/*/images/j2sdk-image/* $out/lib/openjdk
+ mv build/*/images/j2sdk-image $out/lib/openjdk
# Remove some broken manpages.
rm -rf $out/lib/openjdk/man/ja*
# Mirror some stuff in top-level.
- mkdir $out/include $out/share/man
- ln -s $out/lib/openjdk/include/* $out/include/
- ln -s $out/lib/openjdk/man/* $out/share/man/
+ mkdir -p $out/share
+ ln -s $out/lib/openjdk/include $out/include
+ ln -s $out/lib/openjdk/man $out/share/man
# jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/linux/*_md.h $out/include/
# Remove crap from the installation.
rm -rf $out/lib/openjdk/demo $out/lib/openjdk/sample
- ${lib.optionalString minimal ''
+ ${lib.optionalString headless ''
rm $out/lib/openjdk/jre/lib/${architecture}/{libjsound,libjsoundalsa,libsplashscreen,libawt*,libfontmanager}.so
rm $out/lib/openjdk/jre/bin/policytool
rm $out/lib/openjdk/bin/{policytool,appletviewer}
''}
- # Move the JRE to a separate output and setup fallback fonts
- mv $out/lib/openjdk/jre $jre/lib/openjdk/
+ # Move the JRE to a separate output
+ mkdir -p $jre/lib/openjdk
+ mv $out/lib/openjdk/jre $jre/lib/openjdk/jre
mkdir $out/lib/openjdk/jre
- ${lib.optionalString (!minimal) ''
- mkdir -p $jre/lib/openjdk/jre/lib/fonts/fallback
- lndir ${liberation_ttf}/share/fonts/truetype $jre/lib/openjdk/jre/lib/fonts/fallback
- ''}
lndir $jre/lib/openjdk/jre $out/lib/openjdk/jre
- rm -rf $out/lib/openjdk/jre/bina
- ln -s $out/lib/openjdk/bin $out/lib/openjdk/jre/bin
-
- # Make sure cmm/*.pf are not symlinks:
- # https://youtrack.jetbrains.com/issue/IDEA-147272
- rm -rf $out/lib/openjdk/jre/lib/cmm
- ln -s {$jre,$out}/lib/openjdk/jre/lib/cmm
+ # Setup fallback fonts
+ ${lib.optionalString (!headless) ''
+ mkdir -p $jre/lib/openjdk/jre/lib/fonts
+ ln -s ${liberation_ttf}/share/fonts/truetype $jre/lib/openjdk/jre/lib/fonts/fallback
+ ''}
# Remove duplicate binaries.
for i in $(cd $out/lib/openjdk/bin && echo *); do
@@ -198,12 +219,7 @@ let
ln -s $jre/lib/openjdk/jre $out/jre
'';
- # FIXME: this is unnecessary once the multiple-outputs branch is merged.
preFixup = ''
- prefix=$jre stripDirs "$STRIP" "$stripDebugList" "''${stripDebugFlags:--S}"
- patchELF $jre
- propagatedBuildInputs+=" $jre"
-
# Propagate the setJavaClassPath setup hook from the JRE so that
# any package that depends on the JRE has $CLASSPATH set up
# properly.
@@ -221,11 +237,12 @@ let
# Build the set of output library directories to rpath against
LIBDIRS=""
for output in $outputs; do
+ if [ "$output" = debug ]; then continue; fi
LIBDIRS="$(find $(eval echo \$$output) -name \*.so\* -exec dirname {} \+ | sort | uniq | tr '\n' ':'):$LIBDIRS"
done
-
# Add the local library paths to remove dependencies on the bootstrap
for output in $outputs; do
+ if [ "$output" = debug ]; then continue; fi
OUTPUTDIR=$(eval echo \$$output)
BINLIBS=$(find $OUTPUTDIR/bin/ -type f; find $OUTPUTDIR -name \*.so\*)
echo "$BINLIBS" | while read i; do
@@ -233,22 +250,16 @@ let
patchelf --shrink-rpath "$i" || true
done
done
-
- # Test to make sure that we don't depend on the bootstrap
- for output in $outputs; do
- if grep -q -r '${bootjdk}' $(eval echo \$$output); then
- echo "Extraneous references to ${bootjdk} detected"
- exit 1
- fi
- done
'';
- meta = with stdenv.lib; {
+ disallowedReferences = [ openjdk8-bootstrap ];
+
+ meta = with lib; {
homepage = http://openjdk.java.net/;
license = licenses.gpl2;
description = "The open-source Java Development Kit";
maintainers = with maintainers; [ edwtjo nequissimus ];
- platforms = platforms.linux;
+ platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" ];
};
passthru = {
diff --git a/pkgs/development/compilers/openjdk/darwin/11.nix b/pkgs/development/compilers/openjdk/darwin/11.nix
index 61c2d57423e..4c808302b4f 100644
--- a/pkgs/development/compilers/openjdk/darwin/11.nix
+++ b/pkgs/development/compilers/openjdk/darwin/11.nix
@@ -52,7 +52,10 @@ let
home = jdk;
};
- meta.platforms = stdenv.lib.platforms.darwin;
+ meta = with stdenv.lib; {
+ license = licenses.gpl2;
+ platforms = platforms.darwin;
+ };
};
in jdk
diff --git a/pkgs/development/compilers/openjdk/darwin/8.nix b/pkgs/development/compilers/openjdk/darwin/8.nix
index 7457ffceab1..045901b1bae 100644
--- a/pkgs/development/compilers/openjdk/darwin/8.nix
+++ b/pkgs/development/compilers/openjdk/darwin/8.nix
@@ -53,7 +53,10 @@ let
home = jdk;
};
- meta.platforms = stdenv.lib.platforms.darwin;
+ meta = with stdenv.lib; {
+ license = licenses.gpl2;
+ platforms = platforms.darwin;
+ };
};
in jdk
diff --git a/pkgs/development/compilers/openjdk/darwin/default.nix b/pkgs/development/compilers/openjdk/darwin/default.nix
index 54239e58002..58e4ba99014 100644
--- a/pkgs/development/compilers/openjdk/darwin/default.nix
+++ b/pkgs/development/compilers/openjdk/darwin/default.nix
@@ -1,18 +1,28 @@
{ stdenv, fetchurl, unzip, setJavaClassPath, freetype }:
let
- jdk = stdenv.mkDerivation {
- name = "openjdk-7u60b30";
+ jce-policies = fetchurl {
+ # Ugh, unversioned URLs... I hope this doesn't change often enough to cause pain before we move to a Darwin source build of OpenJDK!
+ url = "http://cdn.azul.com/zcek/bin/ZuluJCEPolicies.zip";
+ sha256 = "0nk7m0lgcbsvldq2wbfni2pzq8h818523z912i7v8hdcij5s48c0";
+ };
+
+ jdk = stdenv.mkDerivation rec {
+ name = "zulu12.1.3-ca-jdk12";
- # From https://github.com/alexkasko/openjdk-unofficial-builds
src = fetchurl {
- url = https://bitbucket.org/alexkasko/openjdk-unofficial-builds/downloads/openjdk-1.7.0-u60-unofficial-macosx-x86_64-bundle.zip;
- sha256 = "af510a4d566712d82c17054bb39f91d98c69a85586e244c6123669a0bd4b7401";
+ url = "https://cdn.azul.com/zulu/bin/${name}-macosx_x64.tar.gz";
+ sha256 = "05q3v4vwjd7xhqr21bzlip5x4xhq5rpdshfpb8i86n4zvn7l0mxy";
+ curlOpts = "-H Referer:https://www.azul.com/downloads/zulu/";
};
buildInputs = [ unzip freetype ];
installPhase = ''
- mv */Contents/Home $out
+ mkdir -p $out
+ mv * $out
+
+ unzip ${jce-policies}
+ mv -f ZuluJCEPolicies/*.jar $out/lib/security/
# jni.h expects jni_md.h to be in the header search path.
ln -s $out/include/darwin/*_md.h $out/include/
@@ -24,13 +34,13 @@ let
'';
preFixup = ''
- # Propagate the setJavaClassPath setup hook from the JRE so that
- # any package that depends on the JRE has $CLASSPATH set up
+ # Propagate the setJavaClassPath setup hook from the JDK so that
+ # any package that depends on the JDK has $CLASSPATH set up
# properly.
mkdir -p $out/nix-support
printWords ${setJavaClassPath} > $out/nix-support/propagated-build-inputs
- install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/jre/lib/libfontmanager.dylib
+ install_name_tool -change /usr/X11/lib/libfreetype.6.dylib ${freetype}/lib/libfreetype.6.dylib $out/lib/libfontmanager.dylib
# Set JAVA_HOME automatically.
cat <> $out/nix-support/setup-hook
@@ -39,11 +49,13 @@ let
'';
passthru = {
- jre = jdk;
home = jdk;
};
- meta.platforms = stdenv.lib.platforms.darwin;
+ meta = with stdenv.lib; {
+ license = licenses.gpl2;
+ platforms = platforms.darwin;
+ };
};
in jdk
diff --git a/pkgs/development/compilers/openjdk/default.nix b/pkgs/development/compilers/openjdk/default.nix
new file mode 100644
index 00000000000..094bd57e6e9
--- /dev/null
+++ b/pkgs/development/compilers/openjdk/default.nix
@@ -0,0 +1,155 @@
+{ stdenv, lib, fetchurl, bash, pkgconfig, autoconf, cpio, file, which, unzip
+, zip, perl, cups, freetype, alsaLib, libjpeg, giflib, libpng, zlib, lcms2
+, libX11, libICE, libXrender, libXext, libXt, libXtst, libXi, libXinerama
+, libXcursor, libXrandr, fontconfig, openjdk11
+, setJavaClassPath
+, headless ? false
+, enableJavaFX ? openjfx.meta.available, openjfx
+, enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
+}:
+
+let
+ major = "12";
+ update = ".0.2";
+ build = "ga";
+
+ openjdk = stdenv.mkDerivation rec {
+ pname = "openjdk" + lib.optionalString headless "-headless";
+ version = "${major}${update}-${build}";
+
+ src = fetchurl {
+ url = "http://hg.openjdk.java.net/jdk-updates/jdk${major}u/archive/jdk-${version}.tar.gz";
+ sha256 = "1ndlxmikyy298z7lqpr1bd0zxq7yx6xidj8y3c8mw9m9fy64h9c7";
+ };
+
+ nativeBuildInputs = [ pkgconfig autoconf ];
+ buildInputs = [
+ cpio file which unzip zip perl zlib cups freetype alsaLib libjpeg giflib
+ libpng zlib lcms2 libX11 libICE libXrender libXext libXtst libXt libXtst
+ libXi libXinerama libXcursor libXrandr fontconfig openjdk11
+ ] ++ lib.optionals (!headless && enableGnome2) [
+ gtk3 gnome_vfs GConf glib
+ ];
+
+ patches = [
+ ./fix-java-home-jdk10.patch
+ ./read-truststore-from-env-jdk10.patch
+ ./currency-date-range-jdk10.patch
+ ./increase-javadoc-heap.patch
+ # -Wformat etc. are stricter in newer gccs, per
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79677
+ # so grab the work-around from
+ # https://src.fedoraproject.org/rpms/java-openjdk/pull-request/24
+ (fetchurl {
+ url = https://src.fedoraproject.org/rpms/java-openjdk/raw/06c001c7d87f2e9fe4fedeef2d993bcd5d7afa2a/f/rh1673833-remove_removal_of_wformat_during_test_compilation.patch;
+ sha256 = "082lmc30x64x583vqq00c8y0wqih3y4r0mp1c4bqq36l22qv6b6r";
+ })
+ ] ++ lib.optionals (!headless && enableGnome2) [
+ ./swing-use-gtk-jdk10.patch
+ ];
+
+ prePatch = ''
+ chmod +x configure
+ patchShebangs --build configure
+ '';
+
+ configureFlags = [
+ "--with-boot-jdk=${openjdk11.home}"
+ "--enable-unlimited-crypto"
+ "--with-native-debug-symbols=internal"
+ "--with-libjpeg=system"
+ "--with-giflib=system"
+ "--with-libpng=system"
+ "--with-zlib=system"
+ "--with-lcms=system"
+ "--with-stdc++lib=dynamic"
+ ] ++ lib.optional stdenv.isx86_64 "--with-jvm-features=zgc"
+ ++ lib.optional headless "--enable-headless-only"
+ ++ lib.optional (!headless && enableJavaFX) "--with-import-modules=${openjfx}";
+
+ separateDebugInfo = true;
+
+ NIX_CFLAGS_COMPILE = [ "-Wno-error" ];
+
+ NIX_LDFLAGS = lib.optionals (!headless) [
+ "-lfontconfig" "-lcups" "-lXinerama" "-lXrandr" "-lmagic"
+ ] ++ lib.optionals (!headless && enableGnome2) [
+ "-lgtk-3" "-lgio-2.0" "-lgnomevfs-2" "-lgconf-2"
+ ];
+
+ buildFlags = [ "all" ];
+
+ installPhase = ''
+ mkdir -p $out/lib
+
+ mv build/*/images/jdk $out/lib/openjdk
+
+ # Remove some broken manpages.
+ rm -rf $out/lib/openjdk/man/ja*
+
+ # Mirror some stuff in top-level.
+ mkdir -p $out/share
+ ln -s $out/lib/openjdk/include $out/include
+ ln -s $out/lib/openjdk/man $out/share/man
+
+ # jni.h expects jni_md.h to be in the header search path.
+ ln -s $out/include/linux/*_md.h $out/include/
+
+ # Remove crap from the installation.
+ rm -rf $out/lib/openjdk/demo
+ ${lib.optionalString headless ''
+ rm $out/lib/openjdk/lib/{libjsound,libfontmanager}.so
+ ''}
+
+ ln -s $out/lib/openjdk/bin $out/bin
+ '';
+
+ preFixup = ''
+ # Propagate the setJavaClassPath setup hook so that any package
+ # that depends on the JDK has $CLASSPATH set up properly.
+ mkdir -p $out/nix-support
+ #TODO or printWords? cf https://github.com/NixOS/nixpkgs/pull/27427#issuecomment-317293040
+ echo -n "${setJavaClassPath}" > $out/nix-support/propagated-build-inputs
+
+ # Set JAVA_HOME automatically.
+ mkdir -p $out/nix-support
+ cat < $out/nix-support/setup-hook
+ if [ -z "\$JAVA_HOME" ]; then export JAVA_HOME=$out/lib/openjdk; fi
+ EOF
+ '';
+
+ postFixup = ''
+ # Build the set of output library directories to rpath against
+ LIBDIRS=""
+ for output in $outputs; do
+ if [ "$output" = debug ]; then continue; fi
+ LIBDIRS="$(find $(eval echo \$$output) -name \*.so\* -exec dirname {} \+ | sort | uniq | tr '\n' ':'):$LIBDIRS"
+ done
+ # Add the local library paths to remove dependencies on the bootstrap
+ for output in $outputs; do
+ if [ "$output" = debug ]; then continue; fi
+ OUTPUTDIR=$(eval echo \$$output)
+ BINLIBS=$(find $OUTPUTDIR/bin/ -type f; find $OUTPUTDIR -name \*.so\*)
+ echo "$BINLIBS" | while read i; do
+ patchelf --set-rpath "$LIBDIRS:$(patchelf --print-rpath "$i")" "$i" || true
+ patchelf --shrink-rpath "$i" || true
+ done
+ done
+ '';
+
+ disallowedReferences = [ openjdk11 ];
+
+ meta = with stdenv.lib; {
+ homepage = http://openjdk.java.net/;
+ license = licenses.gpl2;
+ description = "The open-source Java Development Kit";
+ maintainers = with maintainers; [ edwtjo ];
+ platforms = [ "i686-linux" "x86_64-linux" "aarch64-linux" "armv7l-linux" "armv6l-linux" ];
+ };
+
+ passthru = {
+ architecture = "";
+ home = "${openjdk}/lib/openjdk";
+ };
+ };
+in openjdk
diff --git a/pkgs/development/compilers/openjdk/increase-javadoc-heap.patch b/pkgs/development/compilers/openjdk/increase-javadoc-heap.patch
new file mode 100644
index 00000000000..6a1b253f913
--- /dev/null
+++ b/pkgs/development/compilers/openjdk/increase-javadoc-heap.patch
@@ -0,0 +1,12 @@
+--- a/make/Docs.gmk 2019-07-24 13:07:37.013405090 -0400
++++ b/make/Docs.gmk 2019-07-24 13:07:28.406550535 -0400
+@@ -274,7 +274,7 @@
+ $1_INDIRECT_EXPORTS := $$(call FindTransitiveIndirectDepsForModules, $$($1_MODULES))
+ $1_ALL_MODULES := $$(sort $$($1_MODULES) $$($1_INDIRECT_EXPORTS))
+
+- $1_JAVA_ARGS := -Dextlink.spec.version=$$(VERSION_SPECIFICATION)
++ $1_JAVA_ARGS := -Dextlink.spec.version=$$(VERSION_SPECIFICATION) -Xmx1G
+
+ ifeq ($$(ENABLE_FULL_DOCS), true)
+ # Tell the ModuleGraph taglet to generate html links to soon-to-be-created
+
diff --git a/pkgs/development/compilers/openjdk/openjfx/11.nix b/pkgs/development/compilers/openjdk/openjfx/11.nix
new file mode 100644
index 00000000000..9e6d30efda8
--- /dev/null
+++ b/pkgs/development/compilers/openjdk/openjfx/11.nix
@@ -0,0 +1,107 @@
+{ stdenv, lib, fetchurl, writeText, gradleGen, pkgconfig, perl, cmake
+, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib, ffmpeg, python, ruby
+, openjdk11-bootstrap }:
+
+let
+ major = "11";
+ update = ".0.3";
+ build = "1";
+ repover = "${major}${update}+${build}";
+ gradle_ = (gradleGen.override {
+ java = openjdk11-bootstrap;
+ }).gradle_4_10;
+
+ makePackage = args: stdenv.mkDerivation ({
+ version = "${major}${update}-${build}";
+
+ src = fetchurl {
+ url = "https://hg.openjdk.java.net/openjfx/${major}/rt/archive/${repover}.tar.gz";
+ sha256 = "1h7qsylr7rnwnbimqjyn3whszp9kv4h3gpicsrb3mradxc9yv194";
+ };
+
+ buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg ];
+ nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
+
+ dontUseCmakeConfigure = true;
+
+ config = writeText "gradle.properties" (''
+ CONF = Release
+ JDK_HOME = ${openjdk11-bootstrap.home}
+ '' + args.gradleProperties or "");
+
+ buildPhase = ''
+ runHook preBuild
+
+ export GRADLE_USER_HOME=$(mktemp -d)
+ ln -s $config gradle.properties
+ export NIX_CFLAGS_COMPILE="$(pkg-config --cflags glib-2.0) $NIX_CFLAGS_COMPILE"
+ gradle --no-daemon $gradleFlags sdk
+
+ runHook postBuild
+ '';
+ } // args);
+
+ # Fake build to pre-download deps into fixed-output derivation.
+ # We run nearly full build because I see no other way to download everything that's needed.
+ # Anyone who knows a better way?
+ deps = makePackage {
+ pname = "openjfx-deps";
+
+ # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
+ installPhase = ''
+ find $GRADLE_USER_HOME -type f -regex '.*/modules.*\.\(jar\|pom\)' \
+ | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
+ | sh
+ rm -rf $out/tmp
+ '';
+
+ outputHashAlgo = "sha256";
+ outputHashMode = "recursive";
+ # Downloaded AWT jars differ by platform.
+ outputHash = {
+ i686-linux = "0mjlyf6jvbis7nrm5d394sjv4hjw6k3753hr1nwdxk8skwc3ry08";
+ x86_64-linux = "0d4msxswdav1xsfkpr0qd3xgqkcbxzf47v1zdy5jmg5w4bs6a78a";
+ }.${stdenv.system} or (throw "Unsupported platform");
+ };
+
+in makePackage {
+ pname = "openjfx-modular-sdk";
+
+ gradleProperties = ''
+ COMPILE_MEDIA = true
+ COMPILE_WEBKIT = true
+ '';
+
+ preBuild = ''
+ swtJar="$(find ${deps} -name org.eclipse.swt\*.jar)"
+ substituteInPlace build.gradle \
+ --replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }' \
+ --replace 'name: SWT_FILE_NAME' "files('$swtJar')"
+ '';
+
+ installPhase = ''
+ cp -r build/modular-sdk $out
+ '';
+
+ stripDebugList = [ "." ];
+
+ postFixup = ''
+ # Remove references to bootstrap.
+ find "$out" -name \*.so | while read lib; do
+ new_refs="$(patchelf --print-rpath "$lib" | sed -E 's,:?${openjdk11-bootstrap}[^:]*,,')"
+ patchelf --set-rpath "$new_refs" "$lib"
+ done
+ '';
+
+ disallowedReferences = [ openjdk11-bootstrap ];
+
+ passthru.deps = deps;
+
+ meta = with stdenv.lib; {
+ homepage = http://openjdk.java.net/projects/openjfx/;
+ license = licenses.gpl2;
+ description = "The next-generation Java client toolkit.";
+ maintainers = with maintainers; [ abbradar ];
+ platforms = [ "i686-linux" "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/development/compilers/openjdk/openjfx/12.nix b/pkgs/development/compilers/openjdk/openjfx/12.nix
new file mode 100644
index 00000000000..418c58ac683
--- /dev/null
+++ b/pkgs/development/compilers/openjdk/openjfx/12.nix
@@ -0,0 +1,107 @@
+{ stdenv, lib, fetchurl, writeText, openjdk11_headless, gradleGen
+, pkgconfig, perl, cmake, gperf, gtk2, gtk3, libXtst, libXxf86vm, glib, alsaLib
+, ffmpeg, python, ruby }:
+
+let
+ major = "12";
+ update = "";
+ build = "14";
+ repover = "${major}${update}+${build}";
+ gradle_ = (gradleGen.override {
+ java = openjdk11_headless;
+ }).gradle_4_10;
+
+ makePackage = args: stdenv.mkDerivation ({
+ version = "${major}${update}-${build}";
+
+ src = fetchurl {
+ url = "https://hg.openjdk.java.net/openjfx/${major}/rt/archive/${repover}.tar.gz";
+ sha256 = "16jjfjkrg57wsj9mmm52i2kl3byz3ba1f9f8wwc8zwqm4cpjzliz";
+ };
+
+ buildInputs = [ gtk2 gtk3 libXtst libXxf86vm glib alsaLib ffmpeg ];
+ nativeBuildInputs = [ gradle_ perl pkgconfig cmake gperf python ruby ];
+
+ dontUseCmakeConfigure = true;
+
+ config = writeText "gradle.properties" (''
+ CONF = Release
+ JDK_HOME = ${openjdk11_headless.home}
+ '' + args.gradleProperties or "");
+
+ buildPhase = ''
+ runHook preBuild
+
+ export GRADLE_USER_HOME=$(mktemp -d)
+ ln -s $config gradle.properties
+ export NIX_CFLAGS_COMPILE="$(pkg-config --cflags glib-2.0) $NIX_CFLAGS_COMPILE"
+ gradle --no-daemon $gradleFlags sdk
+
+ runHook postBuild
+ '';
+ } // args);
+
+ # Fake build to pre-download deps into fixed-output derivation.
+ # We run nearly full build because I see no other way to download everything that's needed.
+ # Anyone who knows a better way?
+ deps = makePackage {
+ pname = "openjfx-deps";
+
+ # perl code mavenizes pathes (com.squareup.okio/okio/1.13.0/a9283170b7305c8d92d25aff02a6ab7e45d06cbe/okio-1.13.0.jar -> com/squareup/okio/okio/1.13.0/okio-1.13.0.jar)
+ installPhase = ''
+ find $GRADLE_USER_HOME -type f -regex '.*/modules.*\.\(jar\|pom\)' \
+ | perl -pe 's#(.*/([^/]+)/([^/]+)/([^/]+)/[0-9a-f]{30,40}/([^/\s]+))$# ($x = $2) =~ tr|\.|/|; "install -Dm444 $1 \$out/$x/$3/$4/$5" #e' \
+ | sh
+ rm -rf $out/tmp
+ '';
+
+ outputHashAlgo = "sha256";
+ outputHashMode = "recursive";
+ # Downloaded AWT jars differ by platform.
+ outputHash = {
+ x86_64-linux = "1z5qar5l28ja4pkf5l5m48xbv3x1yrnilsv9lpf2j3vkdk9h1nci";
+ i686-linux = "0rbygvjc7w197fi5nxldqdrm6mpiyd3n45042g3gd4s5qk08spjd";
+ }.${stdenv.system} or (throw "Unsupported platform");
+ };
+
+in makePackage {
+ pname = "openjfx-modular-sdk";
+
+ gradleProperties = ''
+ COMPILE_MEDIA = true
+ COMPILE_WEBKIT = true
+ '';
+
+ preBuild = ''
+ swtJar="$(find ${deps} -name org.eclipse.swt\*.jar)"
+ substituteInPlace build.gradle \
+ --replace 'mavenCentral()' 'mavenLocal(); maven { url uri("${deps}") }' \
+ --replace 'name: SWT_FILE_NAME' "files('$swtJar')"
+ '';
+
+ installPhase = ''
+ cp -r build/modular-sdk $out
+ '';
+
+ stripDebugList = [ "." ];
+
+ postFixup = ''
+ # Remove references to bootstrap.
+ find "$out" -name \*.so | while read lib; do
+ new_refs="$(patchelf --print-rpath "$lib" | sed -E 's,:?${openjdk11_headless}[^:]*,,')"
+ patchelf --set-rpath "$new_refs" "$lib"
+ done
+ '';
+
+ disallowedReferences = [ openjdk11_headless ];
+
+ passthru.deps = deps;
+
+ meta = with stdenv.lib; {
+ homepage = http://openjdk.java.net/projects/openjfx/;
+ license = licenses.gpl2;
+ description = "The next-generation Java client toolkit.";
+ maintainers = with maintainers; [ abbradar ];
+ platforms = [ "i686-linux" "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/development/compilers/openjdk/read-truststore-from-env-jdk8.patch b/pkgs/development/compilers/openjdk/read-truststore-from-env-jdk8.patch
index 4902b8e8401..08cf554a18f 100644
--- a/pkgs/development/compilers/openjdk/read-truststore-from-env-jdk8.patch
+++ b/pkgs/development/compilers/openjdk/read-truststore-from-env-jdk8.patch
@@ -1,21 +1,30 @@
-diff -ur openjdk-7u65-b32/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java openjdk-7u65-b32.new/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java
---- openjdk-7u65-b32/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java 2014-07-17 12:12:14.000000000 +0200
-+++ openjdk-7u65-b32.new/jdk/src/share/classes/sun/security/ssl/TrustManagerFactoryImpl.java 2014-12-09 13:31:27.821960372 +0100
-@@ -161,6 +161,7 @@
- /*
- * Try:
- * javax.net.ssl.trustStore (if this variable exists, stop)
-+ * system environment variable JAVAX_NET_SSL_TRUSTSTORE
- * jssecacerts
- * cacerts
- *
-@@ -169,6 +169,9 @@
-
- try {
- storeFileName = props.get("trustStore");
-+ if (storeFileName == null) {
-+ storeFileName = System.getenv("JAVAX_NET_SSL_TRUSTSTORE");
-+ }
- if (!"NONE".equals(storeFileName)) {
- if (storeFileName != null) {
- storeFile = new File(storeFileName);
+--- a/jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java 2017-06-26 21:48:25.000000000 -0400
++++ b/jdk/src/share/classes/sun/security/ssl/TrustStoreManager.java 2017-07-05 20:45:57.491295030 -0400
+@@ -71,6 +71,7 @@
+ *
+ * The preference of the default trusted KeyStore is:
+ * javax.net.ssl.trustStore
++ * system environment variable JAVAX_NET_SSL_TRUSTSTORE
+ * jssecacerts
+ * cacerts
+ */
+@@ -132,7 +133,8 @@
+ public TrustStoreDescriptor run() {
+ // Get the system properties for trust store.
+ String storePropName = System.getProperty(
+- "javax.net.ssl.trustStore", jsseDefaultStore);
++ "javax.net.ssl.trustStore",
++ System.getenv("JAVAX_NET_SSL_TRUSTSTORE"));
+ String storePropType = System.getProperty(
+ "javax.net.ssl.trustStoreType",
+ KeyStore.getDefaultType());
+@@ -144,6 +146,9 @@
+ String temporaryName = "";
+ File temporaryFile = null;
+ long temporaryTime = 0L;
++ if (storePropName == null) {
++ storePropName = jsseDefaultStore;
++ }
+ if (!"NONE".equals(storePropName)) {
+ String[] fileNames =
+ new String[] {storePropName, defaultStore};
diff --git a/pkgs/development/compilers/openspin/default.nix b/pkgs/development/compilers/openspin/default.nix
index 71bda3e03d9..b1e95bb704c 100644
--- a/pkgs/development/compilers/openspin/default.nix
+++ b/pkgs/development/compilers/openspin/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchurl, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
- name = "openspin-${version}";
+stdenv.mkDerivation {
+ pname = "openspin";
version = "unstable-2018-10-02";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
index ea6b9d2a9fe..e80d81dc5a0 100644
--- a/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
+++ b/pkgs/development/compilers/oraclejdk/jdk-linux-base.nix
@@ -32,7 +32,7 @@
, cairo
, alsaLib
, atk
-, gdk_pixbuf
+, gdk-pixbuf
, setJavaClassPath
}:
@@ -183,7 +183,7 @@ let result = stdenv.mkDerivation rec {
* libXt is only needed on amd64
*/
libraries =
- [stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk_pixbuf atk] ++
+ [stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL xorg.libXxf86vm alsaLib fontconfig freetype pango gtk2 cairo gdk-pixbuf atk] ++
(if swingSupport then [xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp xorg.libXt xorg.libXrender stdenv.cc.cc] else []);
rpath = stdenv.lib.strings.makeLibraryPath libraries;
diff --git a/pkgs/development/compilers/orc/default.nix b/pkgs/development/compilers/orc/default.nix
index 1a81a5ec20a..4540a301610 100644
--- a/pkgs/development/compilers/orc/default.nix
+++ b/pkgs/development/compilers/orc/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "orc-0.4.28";
+ name = "orc-0.4.29";
src = fetchurl {
url = "https://gstreamer.freedesktop.org/src/orc/${name}.tar.xz";
- sha256 = "bfcd7c6563b05672386c4eedfc4c0d4a0a12b4b4775b74ec6deb88fc2bcd83ce";
+ sha256 = "1cisbbn69p9c8vikn0nin14q0zscby5m8cyvzxyw2pjb2kwh32ag";
};
outputs = [ "out" "dev" ];
@@ -15,8 +15,9 @@ stdenv.mkDerivation rec {
sed "/^toolsdir=/ctoolsdir=$dev/bin" -i "$dev"/lib/pkgconfig/orc*.pc
'';
- # https://bugzilla.gnome.org/show_bug.cgi?id=728129#c15
- doCheck = stdenv.hostPlatform.system != "i686-linux"; # not sure about cross-compiling
+ # i686 https://gitlab.freedesktop.org/gstreamer/orc/issues/18
+ # armv7l https://gitlab.freedesktop.org/gstreamer/orc/issues/9
+ doCheck = (!stdenv.hostPlatform.isi686 && !stdenv.hostPlatform.isAarch32);
meta = with stdenv.lib; {
description = "The Oil Runtime Compiler";
diff --git a/pkgs/development/compilers/osl/default.nix b/pkgs/development/compilers/osl/default.nix
index a498eafd425..e4d3398476e 100644
--- a/pkgs/development/compilers/osl/default.nix
+++ b/pkgs/development/compilers/osl/default.nix
@@ -8,13 +8,13 @@ in clangStdenv.mkDerivation rec {
# In theory this could use GCC + Clang rather than just Clang,
# but https://github.com/NixOS/nixpkgs/issues/29877 stops this
name = "openshadinglanguage-${version}";
- version = "1.10.4";
+ version = "1.10.6";
src = fetchFromGitHub {
owner = "imageworks";
repo = "OpenShadingLanguage";
- rev = "Release-1.10.4";
- sha256 = "0qarxlm139y5sb9dd9rrljb2xnz8mvyfj497via6yqgwy90zr26g";
+ rev = "Release-1.10.6";
+ sha256 = "1g8g853iq56knlvn1hdsck78by3843vyly9wji5ip41r6i2s0zla";
};
cmakeFlags = [ "-DUSE_BOOST_WAVE=ON" "-DENABLERTTI=ON" ];
diff --git a/pkgs/development/compilers/owl-lisp/default.nix b/pkgs/development/compilers/owl-lisp/default.nix
index ccd149bbb40..80ea9eb4c0b 100644
--- a/pkgs/development/compilers/owl-lisp/default.nix
+++ b/pkgs/development/compilers/owl-lisp/default.nix
@@ -1,33 +1,31 @@
-{ stdenv, fetchFromGitHub, coreutils, which }:
+{ stdenv, fetchFromGitLab, coreutils, which }:
stdenv.mkDerivation rec {
- name = "owl-lisp-${version}";
- version = "0.1.16";
+ pname = "owl-lisp";
+ version = "0.1.19";
- src = fetchFromGitHub {
- owner = "aoh";
- repo = "owl-lisp";
+ src = fetchFromGitLab {
+ owner = "owl-lisp";
+ repo = "owl";
rev = "v${version}";
- sha256 = "1qp6p48bmlyn83rqi6k3d098dg4cribavg5rd4x17z37i181vxvj";
+ sha256 = "1bgjd2gkr5risfcc401rlr5fc82gwm4r2gpp9gzkg9h64acivkjx";
};
nativeBuildInputs = [ which ];
prePatch = ''
- substituteInPlace Makefile --replace /usr $out
-
- for f in tests/run tests/exec.sh ; do
- substituteInPlace $f --replace /bin/echo ${coreutils}/bin/echo
- done
+ substituteInPlace Makefile \
+ --replace /usr $out
'';
# tests are run as part of the compilation process
doCheck = false;
meta = with stdenv.lib; {
- description = "A functional lisp";
- homepage = https://github.com/aoh/owl-lisp;
+ description = "A functional Scheme for world domination";
+ homepage = "https://gitlab.com/owl-lisp/owl";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
+ platforms = platforms.linux;
};
}
diff --git a/pkgs/development/compilers/pforth/default.nix b/pkgs/development/compilers/pforth/default.nix
index 7885582ad12..67d444428e9 100644
--- a/pkgs/development/compilers/pforth/default.nix
+++ b/pkgs/development/compilers/pforth/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "28";
pname = "pforth";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/polyml/5.6.nix b/pkgs/development/compilers/polyml/5.6.nix
index 7f22f4de624..370c08f001a 100644
--- a/pkgs/development/compilers/polyml/5.6.nix
+++ b/pkgs/development/compilers/polyml/5.6.nix
@@ -5,7 +5,8 @@ let
in
stdenv.mkDerivation {
- name = "polyml-${version}";
+ pname = "polyml";
+ inherit version;
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace configure.ac --replace stdc++ c++
diff --git a/pkgs/development/compilers/polyml/5.7.nix b/pkgs/development/compilers/polyml/5.7.nix
index b7feed84c37..eef972a2cc3 100644
--- a/pkgs/development/compilers/polyml/5.7.nix
+++ b/pkgs/development/compilers/polyml/5.7.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gmp, libffi }:
stdenv.mkDerivation rec {
- name = "polyml-${version}";
+ pname = "polyml";
version = "5.7.1";
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
diff --git a/pkgs/development/compilers/polyml/default.nix b/pkgs/development/compilers/polyml/default.nix
index 91a3bb45352..5ab13d5f761 100644
--- a/pkgs/development/compilers/polyml/default.nix
+++ b/pkgs/development/compilers/polyml/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, gmp, libffi }:
stdenv.mkDerivation rec {
- name = "polyml-${version}";
+ pname = "polyml";
version = "5.8";
prePatch = stdenv.lib.optionalString stdenv.isDarwin ''
diff --git a/pkgs/development/compilers/ponyc/default.nix b/pkgs/development/compilers/ponyc/default.nix
index 749fbcc2faf..85641c351d4 100644
--- a/pkgs/development/compilers/ponyc/default.nix
+++ b/pkgs/development/compilers/ponyc/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation ( rec {
pname = "ponyc";
- version = "0.28.0";
+ version = "0.30.0";
src = fetchFromGitHub {
owner = "ponylang";
repo = pname;
rev = version;
- sha256 = "011qxhiq75j6d37ws4nb6a8bdfw2cvlcsb2fgdkn1hx2xb81h6wc";
+ sha256 = "1gs9x4rw4mfv499j3k1brm8gbz7pjl8dyr7v68pa2f563cbzwaq9";
};
buildInputs = [ llvm makeWrapper which ];
@@ -25,6 +25,10 @@ stdenv.mkDerivation ( rec {
substituteInPlace packages/process/_test.pony \
--replace '=/bin' "${coreutils}/bin"
+ # Disabling the stdlib tests
+ substituteInPlace Makefile-ponyc \
+ --replace 'test-ci: all check-version test-core test-stdlib-debug test-stdlib' 'test-ci: all check-version test-core'
+
# Remove impure system refs
substituteInPlace src/libponyc/pkg/package.c \
--replace "/usr/local/lib" "" \
diff --git a/pkgs/development/compilers/ponyc/pony-stable.nix b/pkgs/development/compilers/ponyc/pony-stable.nix
index 821a9b8125c..6719293af2a 100644
--- a/pkgs/development/compilers/ponyc/pony-stable.nix
+++ b/pkgs/development/compilers/ponyc/pony-stable.nix
@@ -1,14 +1,14 @@
{stdenv, fetchFromGitHub, ponyc }:
stdenv.mkDerivation rec {
- name = "pony-stable-${version}";
- version = "0.2.0";
+ pname = "pony-stable";
+ version = "0.2.1";
src = fetchFromGitHub {
owner = "ponylang";
repo = "pony-stable";
rev = version;
- sha256 = "0zzcq0vsl6kcrsxwqzd3s9mq7aq5sg8si5c83rxyi9n6a06gnbh7";
+ sha256 = "1wiinw35bp3zpq9kx61x2zvid7ln00jrw052ah8801s0d9dbwrdr";
};
buildInputs = [ ponyc ];
diff --git a/pkgs/development/compilers/purescript/purescript/default.nix b/pkgs/development/compilers/purescript/purescript/default.nix
index 67818bfa1dc..d25cd9fee77 100644
--- a/pkgs/development/compilers/purescript/purescript/default.nix
+++ b/pkgs/development/compilers/purescript/purescript/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, zlib, gmp, ncurses5, lib }:
+{ stdenv, pkgs, fetchurl, zlib, gmp, ncurses5, lib }:
# from justinwoo/easy-purescript-nix
# https://github.com/justinwoo/easy-purescript-nix/blob/d383972c82620a712ead4033db14110497bc2c9c/purs.nix
@@ -18,19 +18,19 @@ let
in stdenv.mkDerivation rec {
pname = "purescript";
- version = "0.12.5";
+ version = "0.13.0";
src =
if stdenv.isDarwin
then
fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/macos.tar.gz";
- sha256 = "15j9lkrl15dicx37bmh0199b3qdixig7w24wvdzi20jqbacz8nkn";
+ sha256 = "0xpisy38gj6fgyyzm6fdl0v819dhjmil4634xxangvhvs7jf5il0";
}
else
fetchurl {
url = "https://github.com/${pname}/${pname}/releases/download/v${version}/linux64.tar.gz";
- sha256 = "07dva5gxq77g787krscv4dsz5088fzkvpmm9fwxw9a59jszzs7kq";
+ sha256 = "06g5q69yv6c3alq9vr8zjqqzamlii7xf6vj9j52akjq5lww214ba";
};
@@ -50,6 +50,11 @@ in stdenv.mkDerivation rec {
mkdir -p $out/etc/bash_completion.d/
$PURS --bash-completion-script $PURS > $out/etc/bash_completion.d/purs-completion.bash
'';
+
+ passthru.tests = {
+ minimal-module = pkgs.callPackage ./test-minimal-module {};
+ };
+
meta = with stdenv.lib; {
description = "A strongly-typed functional programming language that compiles to JavaScript";
homepage = http://www.purescript.org/;
diff --git a/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.js b/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.js
new file mode 100644
index 00000000000..a3547e206b7
--- /dev/null
+++ b/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.js
@@ -0,0 +1,8 @@
+"use strict"
+
+exports.log = function (s) {
+ return function () {
+ console.log(s);
+ return {};
+ };
+};
diff --git a/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.purs b/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.purs
new file mode 100644
index 00000000000..8bf5a23f346
--- /dev/null
+++ b/pkgs/development/compilers/purescript/purescript/test-minimal-module/Main.purs
@@ -0,0 +1,9 @@
+module Main where
+
+foreign import data Effect :: Type -> Type
+data Unit = Unit
+
+foreign import log :: String -> Effect Unit
+
+main :: Effect Unit
+main = log "hello world"
diff --git a/pkgs/development/compilers/purescript/purescript/test-minimal-module/default.nix b/pkgs/development/compilers/purescript/purescript/test-minimal-module/default.nix
new file mode 100644
index 00000000000..5f01298960c
--- /dev/null
+++ b/pkgs/development/compilers/purescript/purescript/test-minimal-module/default.nix
@@ -0,0 +1,11 @@
+{ runCommand, purescript, nodejs }:
+
+runCommand "purescript-test-minimal-module" {} ''
+ ${purescript}/bin/purs compile -o ./output ${./.}/Main.purs
+
+ echo 'require("./output/Main/index.js").main()' > node.js
+
+ ${nodejs}/bin/node node.js | grep "hello world" || echo "did not output hello world"
+
+ touch $out
+''
diff --git a/pkgs/development/compilers/qbe/default.nix b/pkgs/development/compilers/qbe/default.nix
new file mode 100644
index 00000000000..8926fced482
--- /dev/null
+++ b/pkgs/development/compilers/qbe/default.nix
@@ -0,0 +1,22 @@
+{ stdenv, fetchgit }:
+
+stdenv.mkDerivation {
+ pname = "qbe";
+ version = "unstable-2019-07-11";
+
+ src = fetchgit {
+ url = "git://c9x.me/qbe.git";
+ rev = "7bf08ff50729037c8820b26d085905175b5593c8";
+ sha256 = "0w1yack5ky6x6lbw8vn6swsy8s90n6ny0jpkw0866ja677z7qz34";
+ };
+
+ makeFlags = [ "PREFIX=$(out)" ];
+ meta = with stdenv.lib; {
+ homepage = "https://c9x.me/compile/";
+ description = "A small compiler backend written in C";
+ maintainers = with maintainers; [ fgaz ];
+ license = licenses.mit;
+ platforms = platforms.all;
+ };
+}
+
diff --git a/pkgs/development/compilers/reason/default.nix b/pkgs/development/compilers/reason/default.nix
index 1b84b934852..5ade7fd6fba 100644
--- a/pkgs/development/compilers/reason/default.nix
+++ b/pkgs/development/compilers/reason/default.nix
@@ -1,23 +1,24 @@
{ stdenv, makeWrapper, fetchFromGitHub, ocaml, findlib, dune
-, menhir, merlin_extend, ppx_tools_versioned, utop
+, menhir, merlin-extend, ppx_tools_versioned, utop, cppo
+, ocaml_lwt
}:
stdenv.mkDerivation rec {
name = "ocaml${ocaml.version}-reason-${version}";
- version = "3.3.7";
+ version = "3.5.0";
src = fetchFromGitHub {
owner = "facebook";
repo = "reason";
- rev = "4d20e5b535c29c5ef1283e65958b32996e449e5a";
- sha256 = "0f3pb61wg58g8f3wcnp1h4gpmnwmp7bq0cnqdfwldmh9cs0dqyfk";
+ rev = "ea207004e021efef5a92ecd011d9d5b9b16bbded";
+ sha256 = "0cdjy7sw15rlk63prrwy8lavqrz8fqwsgwr19ihvj99x332r98kk";
};
nativeBuildInputs = [ makeWrapper ];
- propagatedBuildInputs = [ menhir merlin_extend ppx_tools_versioned ];
+ propagatedBuildInputs = [ menhir merlin-extend ppx_tools_versioned ];
- buildInputs = [ ocaml findlib dune utop menhir ];
+ buildInputs = [ ocaml findlib dune cppo utop menhir ];
buildFlags = [ "build" ]; # do not "make tests" before reason lib is installed
@@ -26,6 +27,7 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/rtop \
--prefix PATH : "${utop}/bin" \
+ --set CAML_LD_LIBRARY_PATH ${ocaml_lwt}/lib/ocaml/${ocaml.version}/site-lib:$CAML_LD_LIBRARY_PATH \
--set OCAMLPATH $out/lib/ocaml/${ocaml.version}/site-lib:$OCAMLPATH
'';
diff --git a/pkgs/development/compilers/rgbds/default.nix b/pkgs/development/compilers/rgbds/default.nix
index eee4507d6ce..3856ced250e 100644
--- a/pkgs/development/compilers/rgbds/default.nix
+++ b/pkgs/development/compilers/rgbds/default.nix
@@ -5,7 +5,7 @@
# in a published version.
stdenv.mkDerivation rec {
- name = "rgbds-${version}";
+ pname = "rgbds";
version = "0.3.8";
src = fetchFromGitHub {
owner = "rednex";
diff --git a/pkgs/development/compilers/rust/binaryBuild.nix b/pkgs/development/compilers/rust/binary.nix
similarity index 61%
rename from pkgs/development/compilers/rust/binaryBuild.nix
rename to pkgs/development/compilers/rust/binary.nix
index 77dba7f9e62..06202901563 100644
--- a/pkgs/development/compilers/rust/binaryBuild.nix
+++ b/pkgs/development/compilers/rust/binary.nix
@@ -18,7 +18,7 @@ let
in
rec {
- rustc = stdenv.mkDerivation rec {
+ rustc = stdenv.mkDerivation {
name = "rustc-${versionType}-${version}";
inherit version;
@@ -31,7 +31,8 @@ rec {
license = [ licenses.mit licenses.asl20 ];
};
- buildInputs = [ bash ] ++ stdenv.lib.optional stdenv.isDarwin Security;
+ buildInputs = [ bash ]
+ ++ stdenv.lib.optional stdenv.isDarwin Security;
postPatch = ''
patchShebangs .
@@ -53,26 +54,17 @@ rec {
"$out/bin/cargo"
''}
- ${optionalString (stdenv.isDarwin && bootstrapping) ''
- install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/rustc"
- install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/rustdoc"
- install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
- install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/cargo"
- install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
- for f in $out/lib/lib*.dylib; do
- install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$f"
- done
- ''}
-
# Do NOT, I repeat, DO NOT use `wrapProgram` on $out/bin/rustc
# (or similar) here. It causes strange effects where rustc loads
# the wrong libraries in a bootstrap-build causing failures that
# are very hard to track down. For details, see
# https://github.com/rust-lang/rust/issues/34722#issuecomment-232164943
'';
+
+ setupHooks = ./setup-hook.sh;
};
- cargo = stdenv.mkDerivation rec {
+ cargo = stdenv.mkDerivation {
name = "cargo-${versionType}-${version}";
inherit version;
@@ -85,7 +77,8 @@ rec {
license = [ licenses.mit licenses.asl20 ];
};
- buildInputs = [ makeWrapper bash ] ++ stdenv.lib.optional stdenv.isDarwin Security;
+ buildInputs = [ makeWrapper bash ]
+ ++ stdenv.lib.optional stdenv.isDarwin Security;
postPatch = ''
patchShebangs .
@@ -102,12 +95,6 @@ rec {
"$out/bin/cargo"
''}
- ${optionalString (stdenv.isDarwin && bootstrapping) ''
- install_name_tool -change /usr/lib/libiconv.2.dylib '${darwin.libiconv}/lib/libiconv.2.dylib' "$out/bin/cargo"
- install_name_tool -change /usr/lib/libresolv.9.dylib '${darwin.libresolv}/lib/libresolv.9.dylib' "$out/bin/cargo"
- install_name_tool -change /usr/lib/libcurl.4.dylib '${stdenv.lib.getLib curl}/lib/libcurl.4.dylib' "$out/bin/cargo"
- ''}
-
wrapProgram "$out/bin/cargo" \
--suffix PATH : "${rustc}/bin"
'';
diff --git a/pkgs/development/compilers/rust/bootstrap.nix b/pkgs/development/compilers/rust/bootstrap.nix
index b3446436179..43a72985dde 100644
--- a/pkgs/development/compilers/rust/bootstrap.nix
+++ b/pkgs/development/compilers/rust/bootstrap.nix
@@ -3,16 +3,16 @@
let
# Note: the version MUST be one version prior to the version we're
# building
- version = "1.33.0";
+ version = "1.36.0";
- # fetch hashes by running `print-hashes.sh 1.33.0`
+ # fetch hashes by running `print-hashes.sh 1.36.0`
hashes = {
- i686-unknown-linux-gnu = "c379203687d98e60623aa88c4df4992dd5a9548bc30674b9fc8e671a979e9f3a";
- x86_64-unknown-linux-gnu = "6623168b9ee9de79deb0d9274c577d741ea92003768660aca184e04fe774393f";
- armv7-unknown-linux-gnueabihf = "f6f0ec0a98d922c4bfd79703bc9e9eef439ba347453f33608a87cd63c47e7245";
- aarch64-unknown-linux-gnu = "a308044e4076b62f637313ea803fa0a8f340b0f1b53136856f2c43afcabe5387";
- i686-apple-darwin = "ed20809d56bbaea041721ce6fc9f10f7ae7a720c5821587f01a537d07a5454b1";
- x86_64-apple-darwin = "864e7c074a0b88e38883c87c169513d072300bb52e1d320a067bd34cf14f66bd";
+ i686-unknown-linux-gnu = "9f95c3e96622a792858c8a1c9274fa63e6992370493b27c1ac7299a3bec5156d";
+ x86_64-unknown-linux-gnu = "15e592ec52f14a0586dcebc87a957e472c4544e07359314f6354e2b8bd284c55";
+ armv7-unknown-linux-gnueabihf = "798181a728017068f9eddfa665771805d97846cd87bddcd67e0fe27c8d082ceb";
+ aarch64-unknown-linux-gnu = "db78c24d93756f9fe232f081dbc4a46d38f8eec98353a9e78b9b164f9628042d";
+ i686-apple-darwin = "3dbc34fdea8bc030badf9c8b2572c09fd3f5369b59ac099fc521064b390b9e60";
+ x86_64-apple-darwin = "91f151ec7e24f5b0645948d439fc25172ec4012f0584dd16c3fb1acb709aa325";
};
platform =
@@ -32,10 +32,10 @@ let
src = fetchurl {
url = "https://static.rust-lang.org/dist/rust-${version}-${platform}.tar.gz";
- sha256 = hashes."${platform}";
+ sha256 = hashes.${platform};
};
-in callPackage ./binaryBuild.nix
+in callPackage ./binary.nix
{ inherit version src platform;
versionType = "bootstrap";
}
diff --git a/pkgs/development/compilers/rust/cargo.nix b/pkgs/development/compilers/rust/cargo.nix
index 9f576042787..2bf2722818b 100644
--- a/pkgs/development/compilers/rust/cargo.nix
+++ b/pkgs/development/compilers/rust/cargo.nix
@@ -3,7 +3,7 @@
, CoreFoundation, Security
}:
-rustPlatform.buildRustPackage rec {
+rustPlatform.buildRustPackage {
name = "cargo-${rustc.version}";
inherit (rustc) version src;
@@ -26,13 +26,6 @@ rustPlatform.buildRustPackage rec {
# fixes: the cargo feature `edition` requires a nightly version of Cargo, but this is the `stable` channel
RUSTC_BOOTSTRAP = 1;
- # FIXME: Use impure version of CoreFoundation because of missing symbols.
- # CFURLSetResourcePropertyForKey is defined in the headers but there's no
- # corresponding implementation in the sources from opensource.apple.com.
- preConfigure = stdenv.lib.optionalString stdenv.isDarwin ''
- export NIX_CFLAGS_COMPILE="-F${CoreFoundation}/Library/Frameworks $NIX_CFLAGS_COMPILE"
- '';
-
postInstall = ''
# NOTE: We override the `http.cainfo` option usually specified in
# `.cargo/config`. This is an issue when users want to specify
diff --git a/pkgs/development/compilers/rust/clippy.nix b/pkgs/development/compilers/rust/clippy.nix
new file mode 100644
index 00000000000..56b70f21d4c
--- /dev/null
+++ b/pkgs/development/compilers/rust/clippy.nix
@@ -0,0 +1,35 @@
+{ stdenv, lib, rustPlatform, rustc, Security, patchelf }:
+rustPlatform.buildRustPackage {
+ name = "clippy-${rustc.version}";
+ inherit (rustc) version src;
+
+ # the rust source tarball already has all the dependencies vendored, no need to fetch them again
+ cargoVendorDir = "vendor";
+ preBuild = "pushd src/tools/clippy";
+ postBuild = "popd";
+
+ # changes hash of vendor directory otherwise
+ dontUpdateAutotoolsGnuConfigScripts = true;
+
+ buildInputs = [ rustc ] ++ stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+ # fixes: error: the option `Z` is only accepted on the nightly compiler
+ RUSTC_BOOTSTRAP = 1;
+
+ # Without disabling the test the build fails with:
+ # error: failed to run custom build command for `rustc_llvm v0.0.0
+ # (/private/tmp/nix-build-clippy-1.36.0.drv-0/rustc-1.36.0-src/src/librustc_llvm)
+ doCheck = false;
+
+ preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
+ install_name_tool -add_rpath "${rustc}/lib" $out/bin/clippy-driver
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = https://rust-lang.github.io/rust-clippy/;
+ description = "A bunch of lints to catch common mistakes and improve your Rust code";
+ maintainers = with maintainers; [ basvandijk ];
+ license = with licenses; [ mit asl20 ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/development/compilers/rust/default.nix b/pkgs/development/compilers/rust/default.nix
index 5c3c0895207..a39cd785cf7 100644
--- a/pkgs/development/compilers/rust/default.nix
+++ b/pkgs/development/compilers/rust/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, lib, overrideCC
+{ stdenv, lib
, buildPackages
, newScope, callPackage
, CoreFoundation, Security
, llvmPackages_5
-, pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost
+, pkgsBuildTarget, pkgsBuildBuild
}: rec {
makeRustPlatform = { rustc, cargo, ... }: {
rust = {
@@ -59,11 +59,14 @@
pkgsBuildHost = pkgsBuildBuild // { targetPackages.stdenv = llvmPackages_5.stdenv; };
pkgsBuildTarget = pkgsBuildTarget // { targetPackages.stdenv = llvmPackages_5.stdenv; };
});
+ rustfmt = self.callPackage ./rustfmt.nix { inherit Security; };
cargo = self.callPackage ./cargo.nix {
# Use boot package set to break cycle
rustPlatform = bootRustPlatform;
inherit CoreFoundation Security;
};
+ clippy = self.callPackage ./clippy.nix { inherit Security; };
+ rls = self.callPackage ./rls { inherit CoreFoundation Security; };
});
};
}
diff --git a/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch b/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
index 1bb9a98f7b6..583a6027f83 100644
--- a/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
+++ b/pkgs/development/compilers/rust/patches/net-tcp-disable-tests.patch
@@ -1,8 +1,7 @@
-diff --git a/src/libstd/net/tcp.rs b/src/libstd/net/tcp.rs
-index 86ecb10edf..626be0a52d 100644
---- a/src/libstd/net/tcp.rs
-+++ b/src/libstd/net/tcp.rs
-@@ -955,6 +955,7 @@ mod tests {
+diff -ru rustc-1.36.0-src-orig/src/libstd/net/tcp.rs rustc-1.36.0-src/src/libstd/net/tcp.rs
+--- rustc-1.36.0-src-orig/src/libstd/net/tcp.rs 2019-07-03 10:00:00.000000000 +0200
++++ rustc-1.36.0-src/src/libstd/net/tcp.rs 2019-07-07 11:33:35.378130207 +0200
+@@ -973,6 +973,7 @@
}
}
@@ -10,7 +9,7 @@ index 86ecb10edf..626be0a52d 100644
#[test]
fn listen_localhost() {
let socket_addr = next_test_ip4();
-@@ -1013,6 +1014,7 @@ mod tests {
+@@ -1031,6 +1032,7 @@
})
}
@@ -18,7 +17,7 @@ index 86ecb10edf..626be0a52d 100644
#[test]
fn read_eof() {
each_ip(&mut |addr| {
-@@ -1032,6 +1034,7 @@ mod tests {
+@@ -1050,6 +1052,7 @@
})
}
@@ -26,7 +25,7 @@ index 86ecb10edf..626be0a52d 100644
#[test]
fn write_close() {
each_ip(&mut |addr| {
-@@ -1058,6 +1061,7 @@ mod tests {
+@@ -1076,6 +1079,7 @@
})
}
@@ -34,7 +33,7 @@ index 86ecb10edf..626be0a52d 100644
#[test]
fn multiple_connect_serial() {
each_ip(&mut |addr| {
-@@ -1080,6 +1084,7 @@ mod tests {
+@@ -1098,6 +1102,7 @@
})
}
@@ -42,7 +41,7 @@ index 86ecb10edf..626be0a52d 100644
#[test]
fn multiple_connect_interleaved_greedy_schedule() {
const MAX: usize = 10;
-@@ -1116,6 +1121,7 @@ mod tests {
+@@ -1134,6 +1139,7 @@
}
#[test]
@@ -50,7 +49,7 @@ index 86ecb10edf..626be0a52d 100644
fn multiple_connect_interleaved_lazy_schedule() {
const MAX: usize = 10;
each_ip(&mut |addr| {
-@@ -1394,6 +1400,7 @@ mod tests {
+@@ -1467,6 +1473,7 @@
}
#[test]
@@ -58,39 +57,36 @@ index 86ecb10edf..626be0a52d 100644
fn clone_while_reading() {
each_ip(&mut |addr| {
let accept = t!(TcpListener::bind(&addr));
-@@ -1504,7 +1511,10 @@ mod tests {
+@@ -1597,7 +1604,7 @@
- // FIXME: re-enabled bitrig/openbsd tests once their socket timeout code
+ // FIXME: re-enabled openbsd tests once their socket timeout code
// no longer has rounding errors.
-- #[cfg_attr(any(target_os = "bitrig", target_os = "netbsd", target_os = "openbsd"), ignore)]
-+ #[cfg_attr(any(target_os = "bitrig",
-+ target_os = "netbsd",
-+ target_os = "openbsd",
-+ target_os = "macos"), ignore)]
+- #[cfg_attr(any(target_os = "netbsd", target_os = "openbsd"), ignore)]
++ #[cfg_attr(any(target_os = "netbsd", target_os = "openbsd", target_os = "macos"), ignore)]
+ #[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
#[test]
fn timeouts() {
- let addr = next_test_ip4();
-@@ -1591,6 +1601,7 @@ mod tests {
+@@ -1643,6 +1650,7 @@
drop(listener);
}
+ #[cfg_attr(target_os = "macos", ignore)]
#[test]
+ #[cfg_attr(target_env = "sgx", ignore)] // FIXME: https://github.com/fortanix/rust-sgx/issues/31
+ fn test_read_with_timeout() {
+@@ -1687,6 +1695,7 @@
+ drop(listener);
+ }
+
++ #[cfg_attr(target_os = "macos", ignore)]
+ #[test]
+ #[cfg_attr(target_env = "sgx", ignore)]
fn nodelay() {
- let addr = next_test_ip4();
-@@ -1605,6 +1616,7 @@ mod tests {
- assert_eq!(false, t!(stream.nodelay()));
+@@ -1719,6 +1728,7 @@
+ assert_eq!(ttl, t!(stream.ttl()));
}
+ #[cfg_attr(target_os = "macos", ignore)]
#[test]
- fn ttl() {
- let ttl = 100;
-@@ -1642,6 +1654,7 @@ mod tests {
- }
- }
-
-+ #[cfg_attr(target_os = "macos", ignore)]
- #[test]
- fn peek() {
- each_ip(&mut |addr| {
+ #[cfg_attr(target_env = "sgx", ignore)]
+ fn set_nonblocking() {
diff --git a/pkgs/development/compilers/rust/rls/default.nix b/pkgs/development/compilers/rust/rls/default.nix
new file mode 100644
index 00000000000..942e23c6170
--- /dev/null
+++ b/pkgs/development/compilers/rust/rls/default.nix
@@ -0,0 +1,45 @@
+{ stdenv, fetchFromGitHub, rustPlatform
+, openssh, openssl, pkgconfig, cmake, zlib, curl, libiconv
+, CoreFoundation, Security }:
+
+rustPlatform.buildRustPackage {
+ pname = "rls";
+ inherit (rustPlatform.rust.rustc) src version;
+
+ # changes hash of vendor directory otherwise
+ dontUpdateAutotoolsGnuConfigScripts = true;
+
+ cargoVendorDir = "vendor";
+ preBuild = ''
+ pushd src/tools/rls
+ # client tests are flaky
+ rm tests/client.rs
+ '';
+
+ # a nightly compiler is required unless we use this cheat code.
+ RUSTC_BOOTSTRAP=1;
+
+ # rls-rustc links to rustc_private crates
+ CARGO_BUILD_RUSTFLAGS = if stdenv.isDarwin then "-C rpath" else null;
+
+ nativeBuildInputs = [ pkgconfig cmake ];
+ buildInputs = [ openssh openssl curl zlib libiconv ]
+ ++ (stdenv.lib.optionals stdenv.isDarwin [ CoreFoundation Security ]);
+
+ doCheck = true;
+
+ preInstall = "popd";
+
+ doInstallCheck = true;
+ installCheckPhase = ''
+ $out/bin/rls --version
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Rust Language Server - provides information about Rust programs to IDEs and other tools";
+ homepage = https://github.com/rust-lang/rls/;
+ license = with licenses; [ asl20 /* or */ mit ];
+ maintainers = with maintainers; [ symphorien ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/development/compilers/rust/rustc.nix b/pkgs/development/compilers/rust/rustc.nix
index 59264ca6efa..daf7af1babd 100644
--- a/pkgs/development/compilers/rust/rustc.nix
+++ b/pkgs/development/compilers/rust/rustc.nix
@@ -1,6 +1,6 @@
{ stdenv, removeReferencesTo, pkgsBuildBuild, pkgsBuildHost, pkgsBuildTarget
-, fetchurl, fetchgit, fetchzip, file, python2, tzdata, ps
-, llvm_7, ncurses, darwin, git, cmake, curl, rustPlatform
+, fetchurl, file, python2, tzdata, ps
+, llvmPackages_7, darwin, git, cmake, rustPlatform
, which, libffi, gdb
, withBundledLLVM ? false
}:
@@ -9,21 +9,31 @@ let
inherit (stdenv.lib) optional optionalString;
inherit (darwin.apple_sdk.frameworks) Security;
- llvmSharedForBuild = pkgsBuildBuild.llvm_7.override { enableSharedLibraries = true; };
- llvmSharedForHost = pkgsBuildHost.llvm_7.override { enableSharedLibraries = true; };
- llvmSharedForTarget = pkgsBuildTarget.llvm_7.override { enableSharedLibraries = true; };
+ llvmPackages = llvmPackages_7;
+
+ llvmSharedForBuild = pkgsBuildBuild.llvmPackages.llvm.override { enableSharedLibraries = true; };
+ llvmSharedForHost = pkgsBuildHost.llvmPackages.llvm.override { enableSharedLibraries = true; };
+ llvmSharedForTarget = pkgsBuildTarget.llvmPackages.llvm.override { enableSharedLibraries = true; };
# For use at runtime
- llvmShared = llvm_7.override { enableSharedLibraries = true; };
-in stdenv.mkDerivation rec {
+ llvmShared = llvmPackages.llvm.override { enableSharedLibraries = true; };
+in
+
+stdenv.mkDerivation rec {
pname = "rustc";
- version = "1.34.2";
+ version = "1.37.0";
src = fetchurl {
url = "https://static.rust-lang.org/dist/rustc-${version}-src.tar.gz";
- sha256 = "0mig0prkmlnpbba1cmi17vlsl88ikv5pi26zjy2kcr64l62lm6n6";
+ sha256 = "1hrqprybhkhs6d9b5pjskfnc5z9v2l2gync7nb39qjb5s0h703hj";
};
+ # Provide the compiler-rt sources needed for profiling.
+ preConfigure = ''
+ mkdir src/llvm-project/compiler-rt
+ tar xf ${llvmPackages.compiler-rt.src} -C src/llvm-project/compiler-rt --strip-components=1
+ '';
+
__darwinAllowLocalNetworking = true;
# rustc complains about modified source files otherwise
@@ -38,19 +48,12 @@ in stdenv.mkDerivation rec {
# See: https://github.com/NixOS/nixpkgs/pull/56540#issuecomment-471624656
stripDebugList = [ "bin" ];
-
NIX_LDFLAGS =
# when linking stage1 libstd: cc: undefined reference to `__cxa_begin_catch'
optional (stdenv.isLinux && !withBundledLLVM) "--push-state --as-needed -lstdc++ --pop-state"
++ optional (stdenv.isDarwin && !withBundledLLVM) "-lc++"
++ optional stdenv.isDarwin "-rpath ${llvmSharedForHost}/lib";
- # Enable nightly features in stable compiles (used for
- # bootstrapping, see https://github.com/rust-lang/rust/pull/37265).
- # This loosens the hard restrictions on bootstrapping-compiler
- # versions.
- RUSTC_BOOTSTRAP = "1";
-
# Increase codegen units to introduce parallelism within the compiler.
RUSTFLAGS = "-Ccodegen-units=10";
@@ -92,6 +95,8 @@ in stdenv.mkDerivation rec {
"${setBuild}.llvm-config=${llvmSharedForBuild}/bin/llvm-config"
"${setHost}.llvm-config=${llvmSharedForHost}/bin/llvm-config"
"${setTarget}.llvm-config=${llvmSharedForTarget}/bin/llvm-config"
+ ] ++ optional stdenv.isLinux [
+ "--enable-profiler" # build libprofiler_builtins
];
# The bootstrap.py will generated a Makefile that then executes the build.
@@ -206,6 +211,8 @@ in stdenv.mkDerivation rec {
# https://github.com/rust-lang/rust/issues/30181
# enableParallelBuilding = false;
+ setupHooks = ./setup-hook.sh;
+
requiredSystemFeatures = [ "big-parallel" ];
meta = with stdenv.lib; {
diff --git a/pkgs/development/tools/rust/rustfmt/default.nix b/pkgs/development/compilers/rust/rustfmt.nix
similarity index 51%
rename from pkgs/development/tools/rust/rustfmt/default.nix
rename to pkgs/development/compilers/rust/rustfmt.nix
index e1afeee3422..9793eee1708 100644
--- a/pkgs/development/tools/rust/rustfmt/default.nix
+++ b/pkgs/development/compilers/rust/rustfmt.nix
@@ -1,19 +1,18 @@
-{ stdenv, fetchFromGitHub, rustPlatform, darwin }:
+{ stdenv, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
- name = "rustfmt-${version}";
- version = "1.2.1";
+ pname = "rustfmt";
+ inherit (rustPlatform.rust.rustc) version src;
- src = fetchFromGitHub {
- owner = "rust-lang";
- repo = "rustfmt";
- rev = "v${version}";
- sha256 = "153pas7d5fchkmiw6mkbhn75lv3y69k85spzmm5i4lqnq7f0yqap";
- };
+ # the rust source tarball already has all the dependencies vendored, no need to fetch them again
+ cargoVendorDir = "vendor";
+ preBuild = "pushd src/tools/rustfmt";
+ preInstall = "popd";
- cargoSha256 = "08x6vy5v2vgrk3gsw3qcvv52a7hifsgcsnsg1phlk1ikaff21y4z";
+ # changes hash of vendor directory otherwise
+ dontUpdateAutotoolsGnuConfigScripts = true;
- buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
+ buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
# As of 1.0.0 and rustc 1.30 rustfmt requires a nightly compiler
RUSTC_BOOTSTRAP = 1;
@@ -28,8 +27,7 @@ rustPlatform.buildRustPackage rec {
description = "A tool for formatting Rust code according to style guidelines";
homepage = https://github.com/rust-lang-nursery/rustfmt;
license = with licenses; [ mit asl20 ];
- maintainers = [ maintainers.globin ];
- broken = stdenv.isDarwin;
+ maintainers = with maintainers; [ globin basvandijk ];
platforms = platforms.all;
};
}
diff --git a/pkgs/development/compilers/rust/setup-hook.sh b/pkgs/development/compilers/rust/setup-hook.sh
new file mode 100644
index 00000000000..7078ec7060b
--- /dev/null
+++ b/pkgs/development/compilers/rust/setup-hook.sh
@@ -0,0 +1,4 @@
+# Fix 'failed to open: /homeless-shelter/.cargo/.package-cache' in rust 1.36.
+if [[ -z $IN_NIX_SHELL && -z $CARGO_HOME ]]; then
+ export CARGO_HOME=$TMPDIR
+fi
diff --git a/pkgs/development/compilers/sagittarius-scheme/default.nix b/pkgs/development/compilers/sagittarius-scheme/default.nix
new file mode 100644
index 00000000000..4b1358b7247
--- /dev/null
+++ b/pkgs/development/compilers/sagittarius-scheme/default.nix
@@ -0,0 +1,58 @@
+{ stdenv
+, fetchurl
+, cmake
+, pkgconfig
+, libffi
+, boehmgc
+, openssl
+, zlib
+, odbcSupport ? true
+, libiodbc
+}:
+
+let platformLdLibraryPath = if stdenv.isDarwin then "DYLD_FALLBACK_LIBRARY_PATH"
+ else if (stdenv.isLinux or stdenv.isBSD) then "LD_LIBRARY_PATH"
+ else throw "unsupported platform";
+in
+stdenv.mkDerivation rec {
+ pname = "sagittarius-scheme";
+ version = "0.9.6";
+ src = fetchurl {
+ url = "https://bitbucket.org/ktakashi/${pname}/downloads/sagittarius-${version}.tar.gz";
+ sha256 = "03nvvvfd4gdlvq244zpnikxxajp6w8jj3ymw4bcq83x7zilb2imr";
+ };
+ preBuild = ''
+ # since we lack rpath during build, need to explicitly add build path
+ # to LD_LIBRARY_PATH so we can load libsagittarius.so as required to
+ # build extensions
+ export ${platformLdLibraryPath}="$(pwd)/build"
+ '';
+ nativeBuildInputs = [ pkgconfig cmake ];
+
+ buildInputs = [ libffi boehmgc openssl zlib ] ++ stdenv.lib.optional odbcSupport libiodbc;
+
+ meta = with stdenv.lib; {
+ description = "An R6RS/R7RS Scheme system";
+ longDescription = ''
+ Sagittarius Scheme is a free Scheme implementation supporting
+ R6RS/R7RS specification.
+
+ Features:
+
+ - Builtin CLOS.
+ - Common Lisp like reader macro.
+ - Cryptographic libraries.
+ - Customisable cipher and hash algorithm.
+ - Custom codec mechanism.
+ - CL like keyword lambda syntax (taken from Gauche).
+ - Constant definition form. (define-constant form).
+ - Builtin regular expression
+ - mostly works O(n)
+ - Replaceable reader
+ '';
+ homepage = "https://bitbucket.org/ktakashi/sagittarius-scheme";
+ license = licenses.bsd2;
+ platforms = platforms.all;
+ maintainers = with maintainers; [ abbe ];
+ };
+}
diff --git a/pkgs/development/compilers/sbcl/bootstrap.nix b/pkgs/development/compilers/sbcl/bootstrap.nix
index 056ad745460..9c777cc7572 100644
--- a/pkgs/development/compilers/sbcl/bootstrap.nix
+++ b/pkgs/development/compilers/sbcl/bootstrap.nix
@@ -2,38 +2,38 @@
let
options = rec {
- x86_64-darwin = rec {
+ x86_64-darwin = {
version = "1.2.11";
system = "x86-64-darwin";
sha256 = "0lh4gpvi8hl6g6b9321g5pwh8sk3218i7h4lx7p3vd9z0cf3lz85";
};
- x86_64-linux = rec {
+ x86_64-linux = {
version = "1.3.16";
system = "x86-64-linux";
sha256 = "0sq2dylwwyqfwkbdvcgqwz3vay9v895zpb0fyzsiwy31d1x9pr2s";
};
- i686-linux = rec {
+ i686-linux = {
version = "1.2.7";
system = "x86-linux";
sha256 = "07f3bz4br280qvn85i088vpzj9wcz8wmwrf665ypqx181pz2ai3j";
};
- aarch64-linux = rec {
+ aarch64-linux = {
version = "1.3.16";
system = "arm64-linux";
sha256 = "0q1brz9c49xgdljzfx8rpxxnlwhadxkcy5kg0mcd9wnxygind1cl";
};
- armv7l-linux = rec {
+ armv7l-linux = {
version = "1.2.14";
system = "armhf-linux";
sha256 = "0sp5445rbvms6qvzhld0kwwvydw51vq5iaf4kdqsf2d9jvaz3yx5";
};
armv6l-linux = armv7l-linux;
- x86_64-freebsd = rec {
+ x86_64-freebsd = {
version = "1.2.7";
system = "x86-64-freebsd";
sha256 = "14k42xiqd2rrim4pd5k5pjcrpkac09qnpynha8j1v4jngrvmw7y6";
};
- x86_64-solaris = rec {
+ x86_64-solaris = {
version = "1.2.7";
system = "x86-64-solaris";
sha256 = "05c12fmac4ha72k1ckl6i780rckd7jh4g5s5hiic7fjxnf1kx8d0";
@@ -43,7 +43,7 @@ let
in
assert builtins.hasAttr stdenv.hostPlatform.system options;
stdenv.mkDerivation rec {
- name = "sbcl-bootstrap-${version}";
+ pname = "sbcl-bootstrap";
version = cfg.version;
src = fetchurl {
diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix
index 469d7847409..e3d9ee98635 100644
--- a/pkgs/development/compilers/sbcl/default.nix
+++ b/pkgs/development/compilers/sbcl/default.nix
@@ -9,12 +9,12 @@
}:
stdenv.mkDerivation rec {
- name = "sbcl-${version}";
- version = "1.5.1";
+ pname = "sbcl";
+ version = "1.5.6";
src = fetchurl {
- url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${name}-source.tar.bz2";
- sha256 = "08z62qba0kmm15k93s2rq7ipi769895g8iwigcp20qjh6amwnwph";
+ url = "mirror://sourceforge/project/sbcl/sbcl/${version}/${pname}-${version}-source.tar.bz2";
+ sha256 = "10z43dc29p7s8dl3jixklhmzqfp7gcm3fccjdfd36qqhyfxqxx3a";
};
buildInputs = [texinfo];
diff --git a/pkgs/development/compilers/scala/default.nix b/pkgs/development/compilers/scala/2.12.nix
similarity index 93%
rename from pkgs/development/compilers/scala/default.nix
rename to pkgs/development/compilers/scala/2.12.nix
index ce863ef9c91..0e4207dccac 100644
--- a/pkgs/development/compilers/scala/default.nix
+++ b/pkgs/development/compilers/scala/2.12.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, makeWrapper, jre, gnugrep, coreutils }:
stdenv.mkDerivation rec {
- name = "scala-2.12.8";
+ name = "scala-2.12.9";
src = fetchurl {
url = "https://www.scala-lang.org/files/archive/${name}.tgz";
- sha256 = "18w0vdbsp0q5rxglgalwlgkggld926bqi1fxc598rn4gh46a03j4";
+ sha256 = "0wpnxrhnhhscfk0k8yxk86akpvxbr5w1i8jb2igj2q4vax7h97sy";
};
propagatedBuildInputs = [ jre ] ;
diff --git a/pkgs/development/compilers/scala/2.13.nix b/pkgs/development/compilers/scala/2.13.nix
new file mode 100644
index 00000000000..ab27d93a7cf
--- /dev/null
+++ b/pkgs/development/compilers/scala/2.13.nix
@@ -0,0 +1,46 @@
+{ stdenv, fetchurl, makeWrapper, jre, gnugrep, coreutils }:
+
+stdenv.mkDerivation rec {
+ name = "scala-2.13.0";
+
+ src = fetchurl {
+ url = "https://www.scala-lang.org/files/archive/${name}.tgz";
+ sha256 = "12g0a9i0xxqxxcvmimm5w2wgmrdhq80p8bsp52d6yldz4lrnbm7p";
+ };
+
+ propagatedBuildInputs = [ jre ] ;
+ buildInputs = [ makeWrapper ] ;
+
+ installPhase = ''
+ mkdir -p $out
+ rm "bin/"*.bat
+ mv * $out
+
+ # put docs in correct subdirectory
+ mkdir -p $out/share/doc
+ mv $out/doc $out/share/doc/scala
+
+ for p in $(ls $out/bin/) ; do
+ wrapProgram $out/bin/$p \
+ --prefix PATH ":" ${coreutils}/bin \
+ --prefix PATH ":" ${gnugrep}/bin \
+ --prefix PATH ":" ${jre}/bin \
+ --set JAVA_HOME ${jre}
+ done
+ '';
+
+ meta = {
+ description = "General purpose programming language";
+ longDescription = ''
+ Scala is a general purpose programming language designed to express
+ common programming patterns in a concise, elegant, and type-safe way.
+ It smoothly integrates features of object-oriented and functional
+ languages, enabling Java and other programmers to be more productive.
+ Code sizes are typically reduced by a factor of two to three when
+ compared to an equivalent Java application.
+ '';
+ homepage = https://www.scala-lang.org/;
+ license = stdenv.lib.licenses.bsd3;
+ platforms = stdenv.lib.platforms.all;
+ };
+}
diff --git a/pkgs/development/compilers/scala/dotty-bare.nix b/pkgs/development/compilers/scala/dotty-bare.nix
index ab42eae31a6..5a01e295e49 100644
--- a/pkgs/development/compilers/scala/dotty-bare.nix
+++ b/pkgs/development/compilers/scala/dotty-bare.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.14.0-RC1";
- name = "dotty-bare-${version}";
+ pname = "dotty-bare";
src = fetchurl {
url = "https://github.com/lampepfl/dotty/releases/download/${version}/dotty-${version}.tar.gz";
diff --git a/pkgs/development/compilers/scala/dotty.nix b/pkgs/development/compilers/scala/dotty.nix
index a999bd422e6..7bc7fa3d4c2 100644
--- a/pkgs/development/compilers/scala/dotty.nix
+++ b/pkgs/development/compilers/scala/dotty.nix
@@ -9,7 +9,7 @@ in
stdenv.mkDerivation {
name = "dotty-${dotty-bare.version}";
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
mkdir -p $out/bin
diff --git a/pkgs/development/compilers/sdcc/default.nix b/pkgs/development/compilers/sdcc/default.nix
index f7429933453..cdac400b1af 100644
--- a/pkgs/development/compilers/sdcc/default.nix
+++ b/pkgs/development/compilers/sdcc/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, autoconf, bison, boost, flex, texinfo, gputils ? null
+{ stdenv, fetchurl, autoconf, bison, boost, flex, texinfo, zlib, gputils ? null
, excludePorts ? [] }:
with stdenv.lib;
@@ -9,15 +9,15 @@ let
in
stdenv.mkDerivation rec {
- name = "sdcc-${version}";
- version = "3.7.0";
+ pname = "sdcc";
+ version = "3.9.0";
src = fetchurl {
url = "mirror://sourceforge/sdcc/sdcc-src-${version}.tar.bz2";
- sha256 = "13llvx0j3v5qa7qd4fh7nix4j3alpd3ccprxvx163c4q8q4lfkc5";
+ sha256 = "0dn0cy6whcrvbfh9x467jdi8dmzjrvixz2bz63pgxwzpz9rsxv4l";
};
- buildInputs = [ autoconf bison boost flex gputils texinfo ];
+ buildInputs = [ autoconf bison boost flex gputils texinfo zlib ];
configureFlags = map (f: "--disable-${f}-port") excludedPorts;
@@ -34,6 +34,6 @@ stdenv.mkDerivation rec {
homepage = http://sdcc.sourceforge.net/;
license = with licenses; if (gputils == null) then gpl2 else unfreeRedistributable;
maintainers = with maintainers; [ bjornfor yorickvp ];
- platforms = platforms.linux;
+ platforms = platforms.all;
};
}
diff --git a/pkgs/development/compilers/seexpr/default.nix b/pkgs/development/compilers/seexpr/default.nix
index a6abe6791d7..f6b732f02ae 100644
--- a/pkgs/development/compilers/seexpr/default.nix
+++ b/pkgs/development/compilers/seexpr/default.nix
@@ -2,8 +2,8 @@
bison, flex, libGLU, pythonPackages
}:
-stdenv.mkDerivation rec {
- name = "seexpr-${version}";
+stdenv.mkDerivation {
+ pname = "seexpr";
version = "2.11";
src = fetchFromGitHub {
owner = "wdas";
diff --git a/pkgs/development/compilers/serpent/default.nix b/pkgs/development/compilers/serpent/default.nix
index e9c6b706e5a..6f1156897db 100644
--- a/pkgs/development/compilers/serpent/default.nix
+++ b/pkgs/development/compilers/serpent/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, ... }:
-stdenv.mkDerivation rec {
- name = "serpent-${version}";
+stdenv.mkDerivation {
+ pname = "serpent";
# I can't find any version numbers, so we're just using the date
# of the last commit.
diff --git a/pkgs/development/compilers/shaderc/default.nix b/pkgs/development/compilers/shaderc/default.nix
index 7ce7f9cefe5..82cccc3befc 100644
--- a/pkgs/development/compilers/shaderc/default.nix
+++ b/pkgs/development/compilers/shaderc/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, python }:
+{ stdenv, fetchFromGitHub, cmake, python3 }:
# Like many google projects, shaderc doesn't gracefully support separately compiled dependencies, so we can't easily use
# the versions of glslang and spirv-tools used by vulkan-loader. Exact revisions are taken from
# https://github.com/google/shaderc/blob/known-good/known_good.json
@@ -8,24 +8,24 @@ let
glslang = fetchFromGitHub {
owner = "KhronosGroup";
repo = "glslang";
- rev = "712cd6618df2c77e126d68042ad7a81a69ee4a6f";
- sha256 = "0wncdj6q1hn40lc7cnz97mx5qjvb8p13mhxilnncgcmf0crsvblz";
+ rev = "d3692c701b1265955221aa0d6ebc656bc4442b2a";
+ sha256 = "11cvwbzlpr4zrcmmyd9h0kbfhmhr6r696ydmn0yp1jrixby4bmji";
};
spirv-tools = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Tools";
- rev = "df5bd2d05ac1fd3ec3024439f885ec21cc949b22";
- sha256 = "0l8ds4nn2qcfi8535ai8891i3547x35hscs2jxwwq6qjgw1sgkax";
+ rev = "08cc49ec59c3ff4d6bd4bb4f2097ede35e802158";
+ sha256 = "1xhgcppx02fp3nr7654mr3qrgy1fxlxdyl87jhmn3k9jf24gmmmz";
};
spirv-headers = fetchFromGitHub {
owner = "KhronosGroup";
repo = "SPIRV-Headers";
- rev = "79b6681aadcb53c27d1052e5f8a0e82a981dbf2f";
- sha256 = "0flng2rdmc4ndq3j71h6wk1ibcjvhjrg2rzd6rv445vcsf0jh2pj";
+ rev = "8b911bd2ba37677037b38c9bd286c7c05701bcda";
+ sha256 = "0qdnj34bkagszyvci6ifpqd7iqvybhmqzvc9lvqnls44qg90aqh2";
};
in stdenv.mkDerivation rec {
- name = "shaderc-${version}";
- version = "2018.0";
+ pname = "shaderc";
+ version = "2019.0";
outputs = [ "out" "lib" "bin" "dev" "static" ];
@@ -33,7 +33,7 @@ in stdenv.mkDerivation rec {
owner = "google";
repo = "shaderc";
rev = "v${version}";
- sha256 = "0qigmj0riw43pgjn5f6kpvk72fajssz1lc2aiqib5qvmj9rqq3hl";
+ sha256 = "1l5mmyxhzsbp0a6y2d86i8jmf46c6bjgjkdgkr5l8hmhflmm7gi2";
};
patchPhase = ''
@@ -42,16 +42,12 @@ in stdenv.mkDerivation rec {
ln -s ${spirv-headers} third_party/spirv-tools/external/spirv-headers
'';
- nativeBuildInputs = [ cmake python ];
+ nativeBuildInputs = [ cmake python3 ];
postInstall = ''
moveToOutput "lib/*.a" $static
'';
- preConfigure = ''cmakeFlags="$cmakeFlags -DCMAKE_INSTALL_BINDIR=$bin/bin"'';
-
- enableParallelBuilding = true;
-
cmakeFlags = [ "-DSHADERC_SKIP_TESTS=ON" ];
meta = with stdenv.lib; {
diff --git a/pkgs/development/compilers/smlnj/bootstrap.nix b/pkgs/development/compilers/smlnj/bootstrap.nix
index 2fe1f1f3f5a..e2103fb718f 100644
--- a/pkgs/development/compilers/smlnj/bootstrap.nix
+++ b/pkgs/development/compilers/smlnj/bootstrap.nix
@@ -1,19 +1,19 @@
-{ stdenv, fetchurl, cpio, rsync, makeWrapper }:
+{ stdenv, fetchurl, cpio, rsync, xar, makeWrapper }:
stdenv.mkDerivation rec {
- name = "smlnj-bootstrap-${version}";
+ pname = "smlnj-bootstrap";
- version = "110.84";
+ version = "110.91";
src = fetchurl {
url = "http://smlnj.cs.uchicago.edu/dist/working/${version}/smlnj-x86-${version}.pkg";
- sha256 = "17fpnlxcfwx2ysg6y9c5wwx6s3jca981nb0pawfcg6xg9wcapyfz";
+ sha256 = "12jn50h5jz0ac1vzld2mb94p1dyc8h0mk0hip2wj5xqk1dbzwxl4";
};
buildInputs = [ cpio rsync makeWrapper ];
unpackPhase = ''
- /usr/bin/xar -xf $src
+ ${xar}/bin/xar -xf $src
cd smlnj.pkg
'';
diff --git a/pkgs/development/compilers/smlnj/default.nix b/pkgs/development/compilers/smlnj/default.nix
index b0ca96f23ac..89912ac9ad6 100644
--- a/pkgs/development/compilers/smlnj/default.nix
+++ b/pkgs/development/compilers/smlnj/default.nix
@@ -1,50 +1,43 @@
-{ stdenv, fetchurl, darwin }:
+{ stdenv, fetchurl }:
let
- version = "110.85";
+ version = "110.91";
baseurl = "http://smlnj.cs.uchicago.edu/dist/working/${version}";
sources = map fetchurl [
- { url = "${baseurl}/config.tgz"; sha256 = "1qlir3q0vi7f1wyz2jyaiqy3z72d0xngsa122ks5g0b7b0hcdgm1"; }
- { url = "${baseurl}/cm.tgz"; sha256 = "0330jkmaxgy085hsgajqikm242gms650rks24mfxhgk11r4ks105"; }
- { url = "${baseurl}/compiler.tgz"; sha256 = "1zrqqvi9332g3clrh01z19sl06g3zlnp6zzz5z8rvsfwbiqp929m"; }
- { url = "${baseurl}/runtime.tgz"; sha256 = "1n9hd99s2i834yihx4n59gl1cnh7hiiz8im735bmifmv50vzfdf4"; }
- { url = "${baseurl}/system.tgz"; sha256 = "17samia4lzcz3mk73i330bspap2ks937arx35n9dr7bws0appfm8"; }
- { url = "${baseurl}/MLRISC.tgz"; sha256 = "039g6dwxy96bkvw1z19vwn8q150h7s8jlcmsg851bgz3j3h6vs18"; }
- { url = "${baseurl}/smlnj-lib.tgz"; sha256 = "1wk4w1npipm6qqgwis2xrbdjamwmiwv6ci4y40nzryhb37yxfj6d"; }
- { url = "${baseurl}/old-basis.tgz"; sha256 = "0lkhbkkglz7lk1c93hc1y1di5dx20fgfhybvsqjp1bcwz8jsd70y"; }
- { url = "${baseurl}/ckit.tgz"; sha256 = "14qxgw2vhq4dfiv5zl2gdhvjp75s10dqw97mqxffmh3vayyad1fi"; }
- { url = "${baseurl}/nlffi.tgz"; sha256 = "16l8iszkyh34dqdbplsxycipvbw61yjamgxllcq8axiq4h7spy7w"; }
- { url = "${baseurl}/cml.tgz"; sha256 = "05dlqz4r3qa3rpqgjlx91fsfx7j6gk3dkw28zcgg5g32irmd1la3"; }
- { url = "${baseurl}/eXene.tgz"; sha256 = "07mahzxns26hkfax9gc8cq4s8sfzj531wwnm47b8qkhd72d3ncn2"; }
- { url = "${baseurl}/ml-lpt.tgz"; sha256 = "0073hfn98l61ryshhqw9855fb49vs9qcz9nplbg2pa2f7manqbk0"; }
- { url = "${baseurl}/ml-lex.tgz"; sha256 = "106km17f4wyvhzkx62cfq2gp4ihya8l234550laqb50zf8vxyklq"; }
- { url = "${baseurl}/ml-yacc.tgz"; sha256 = "1r0k7lz8xnir271pykbs4agadysbs35kkmg1p816kzfyz5bsrrq9"; }
- { url = "${baseurl}/ml-burg.tgz"; sha256 = "10jqasplbxp50ryq74aazbnyaz8l492rhdij5mr1kzyfj79fysh9"; }
- { url = "${baseurl}/pgraph.tgz"; sha256 = "1pxqddbrb7y9kp89gz8v8vfjmw4wajfy6757gb8c6x499jarxa60"; }
- { url = "${baseurl}/trace-debug-profile.tgz"; sha256 = "0fkalpdzdrm1gmafn33ck4dw8s92p9iwm4fav4m9jcqyha9az3g7"; }
- { url = "${baseurl}/heap2asm.tgz"; sha256 = "056gkmrylyrf0q0r3cpx76zx8mc62033jkn1bnjn0f8r31yhbipc"; }
- { url = "${baseurl}/smlnj-c.tgz"; sha256 = "04c4jnylj5dnd4sjywzwnqlv9g7dkrilq6d4cy543dw03yhjdykw"; }
- { url = "${baseurl}/doc.tgz"; sha256 = "1rpk9g1nhjpc2b4pmzmj8v80knrhljn17ghiwznnljv53hka7jzx"; }
- { url = "${baseurl}/boot.x86-unix.tgz"; sha256 = "05rh1y74jvp6zs96mb7nkwbgwwbss0zy2iw4gicdkyf6in0nk4la"; }
- { url = "${baseurl}/asdl.tgz"; sha256 = "1d465bncgy92ni6430dbq6isvnysfhvykjrxm98dz82iih7a6vqb"; }
+ { url = "${baseurl}/config.tgz"; sha256 = "00vbg2kpwgkf272m697p5hd35pawficbrifchn7dnd519wpdx436"; }
+ { url = "${baseurl}/cm.tgz"; sha256 = "0wxb0s2fwh7lbb3z2pfvmvhk5v0gm75kchkv7gg9f895ahyvm6yd"; }
+ { url = "${baseurl}/compiler.tgz"; sha256 = "0iq06ycivy562i59vvbma9zi575zw1djhdfkcy0bn7m9kfzzbgkh"; }
+ { url = "${baseurl}/runtime.tgz"; sha256 = "0km8p4vmy3m38xv0rl8d3mh2nlk2mvx010npm34gs374bmmzc7z9"; }
+ { url = "${baseurl}/system.tgz"; sha256 = "16d5vs1rn7ly6jxjm08222cj0sry73pr57xpc9d6k286b1v0910b"; }
+ { url = "${baseurl}/MLRISC.tgz"; sha256 = "1c9sw8zm90ykas5nwbhk2wic7sxkjrylb610x37v46m5ips1wlma"; }
+ { url = "${baseurl}/smlnj-lib.tgz"; sha256 = "09ka20ym7ahrpj4r6vc5phflc8y57dj09qvwk8ambfwb2p2274sw"; }
+ { url = "${baseurl}/old-basis.tgz"; sha256 = "1bhq9fv6p8diz489h9571g0xrsi8yx7h6gh9410255klxjrw964h"; }
+ { url = "${baseurl}/ckit.tgz"; sha256 = "1lq9ljai0shc6hszx5v6bqmkz16a3f295mfg7q622apzgzark3vd"; }
+ { url = "${baseurl}/nlffi.tgz"; sha256 = "1xjmlwiclgckj73z5hz3hnqlavp3ax9sfvgc0rvj3xpy3i3n6axj"; }
+ { url = "${baseurl}/cml.tgz"; sha256 = "1sjzipxnvr9dgcg16bllfk3b46ac9f8h353nh1ccykwwq4whi9bf"; }
+ { url = "${baseurl}/eXene.tgz"; sha256 = "04clbchrlqx5v35gkbydbfnpl720i4nqijkshiwn0v592n4xfdf4"; }
+ { url = "${baseurl}/ml-lpt.tgz"; sha256 = "0max073nzwv7vx13caj7zmlhslvxlgg8rj52278g7f6fqcrwp5cf"; }
+ { url = "${baseurl}/ml-lex.tgz"; sha256 = "0x2mbg45l71049sgvvkl6bnqc5svz70vh1m1rbf3xk41z5bapcgr"; }
+ { url = "${baseurl}/ml-yacc.tgz"; sha256 = "0a1pbwpw1y6d1xn9yjarqpmybrxqwp5snp28by36745h1jvb1p1b"; }
+ { url = "${baseurl}/ml-burg.tgz"; sha256 = "119mq5jrbkn9vf9fgb0wyz483hf26al9hwb91xpmlmfx5qqnfzik"; }
+ { url = "${baseurl}/pgraph.tgz"; sha256 = "1s7jmh3q88rz29bk02y3gzdqrgvk484j5ji8bn7s6fc78m50nqp8"; }
+ { url = "${baseurl}/trace-debug-profile.tgz"; sha256 = "1gzf1pbmw2cn5w6f5qfdm3d6n6069n1nnzz6z4v7mr07x54c6mdv"; }
+ { url = "${baseurl}/heap2asm.tgz"; sha256 = "09cgj568a9x017awysjdx35mlp5zkdmc2fs67fvnm5ifl7ivfs8j"; }
+ { url = "${baseurl}/smlnj-c.tgz"; sha256 = "1g4xhcxychs9q25x7a5lvqfamq52c5ljlx84bc5cazvpkhixyg04"; }
+ { url = "${baseurl}/doc.tgz"; sha256 = "1l0x91dscizk2pyj1lw595r84h1h0shxh0x5hva891717a1hfa51"; }
+ { url = "${baseurl}/boot.x86-unix.tgz"; sha256 = "0f6x4nfhrgm1z4dx862df2yaffdh1sd6zx2lyb2vph5mhp7x9n58"; }
+ { url = "${baseurl}/asdl.tgz"; sha256 = "1pi3m21jllyd2h0zpz4bajskfv58g6pjhpprqiwgmikn6w1pryp8"; }
];
in stdenv.mkDerivation {
- name = "smlnj-${version}";
+ pname = "smlnj";
+ inherit version;
inherit sources;
patchPhase = ''
sed -i '/PATH=/d' config/_arch-n-opsys base/runtime/config/gen-posix-names.sh
echo SRCARCHIVEURL="file:/$TMP" > config/srcarchiveurl
- '' + stdenv.lib.optionalString stdenv.isDarwin (with darwin; ''
- sed -i '/^[[:space:]]*\*x86-darwin\*)$/,/^[[:space:]]*\*) ;;/ c\
-\ \*x86-darwin\*)\
-\ INCLFILE=${stdenv.lib.getDev apple_sdk.sdk}/include/unistd.h\
-\ ;;\
-\ \*) ;;
-' base/runtime/config/gen-posix-names.sh
- sed -i 's|^AS =\([[:space:]]*\)/usr/bin/as|AS =\1as|' base/runtime/objs/mk.x86-darwin
- '');
+ '';
unpackPhase = ''
for s in $sources; do
@@ -74,7 +67,7 @@ in stdenv.mkDerivation {
description = "Standard ML of New Jersey, a compiler";
homepage = http://smlnj.org;
license = licenses.bsd3;
- platforms = [ "i686-linux" ] ++ platforms.darwin;
+ platforms = [ "i686-linux" ];
maintainers = with maintainers; [ thoughtpolice ];
};
}
diff --git a/pkgs/development/compilers/solc/default.nix b/pkgs/development/compilers/solc/default.nix
index a4fb9b6c6d8..b0fdc886378 100644
--- a/pkgs/development/compilers/solc/default.nix
+++ b/pkgs/development/compilers/solc/default.nix
@@ -1,14 +1,12 @@
-{ stdenv, fetchzip, fetchFromGitHub, boost, cmake, ncurses, python2
-, z3Support ? true, z3 ? null
+{ stdenv, fetchzip, boost, cmake, ncurses, python2
+, z3Support ? true, z3 ? null, cvc4Support ? true, cvc4 ? null
+, cln ? null, gmp ? null
}:
-assert z3Support -> z3 != null;
-assert z3Support -> stdenv.lib.versionAtLeast z3.version "4.6.0";
+assert z3Support -> z3 != null && stdenv.lib.versionAtLeast z3.version "4.6.0";
+assert cvc4Support -> cvc4 != null && cln != null && gmp != null;
let
- version = "0.5.8";
- rev = "23d335f28e4055e67c3b22466ac7c4e41dc48344";
- sha256 = "10fa4qwfr3gfvxkzzjfs0w2fyij67cczklpj2x5hghcg08amkq37";
jsoncppURL = https://github.com/open-source-parsers/jsoncpp/archive/1.8.4.tar.gz;
jsoncpp = fetchzip {
url = jsoncppURL;
@@ -16,20 +14,20 @@ let
};
buildSharedLibs = stdenv.hostPlatform.isLinux;
in
-stdenv.mkDerivation {
- name = "solc-${version}";
+stdenv.mkDerivation rec {
- src = fetchFromGitHub {
- owner = "ethereum";
- repo = "solidity";
- inherit rev sha256;
+ pname = "solc";
+ version = "0.5.11";
+
+ # upstream suggests avoid using archive generated by github
+ src = fetchzip {
+ url = "https://github.com/ethereum/solidity/releases/download/v${version}/solidity_${version}.tar.gz";
+ sha256 = "0679s5pqbfy7fgpb4f3ppgj8iafxb64g046v8vhp29mf3dsdcnyl";
};
patches = stdenv.lib.optionals buildSharedLibs [ ./patches/shared-libs-install.patch ];
postPatch = ''
- touch prerelease.txt
- echo >commit_hash.txt "${rev}"
substituteInPlace cmake/jsoncpp.cmake \
--replace "${jsoncppURL}" ${jsoncpp}
'';
@@ -40,10 +38,14 @@ stdenv.mkDerivation {
"-DBUILD_SHARED_LIBS=ON"
] ++ stdenv.lib.optionals (!z3Support) [
"-DUSE_Z3=OFF"
+ ] ++ stdenv.lib.optionals (!cvc4Support) [
+ "-DUSE_CVC4=OFF"
];
nativeBuildInputs = [ cmake ];
- buildInputs = [ boost ] ++ stdenv.lib.optionals z3Support [ z3 ];
+ buildInputs = [ boost ]
+ ++ stdenv.lib.optionals z3Support [ z3 ]
+ ++ stdenv.lib.optionals cvc4Support [ cvc4 cln gmp ];
checkInputs = [ ncurses python2 ];
# Test fails on darwin for unclear reason
diff --git a/pkgs/development/compilers/solc/patches/shared-libs-install.patch b/pkgs/development/compilers/solc/patches/shared-libs-install.patch
index e106c9bbb74..382d49599c7 100644
--- a/pkgs/development/compilers/solc/patches/shared-libs-install.patch
+++ b/pkgs/development/compilers/solc/patches/shared-libs-install.patch
@@ -49,8 +49,8 @@ index 0bdec4b4..e876177e 100644
+++ b/libsolidity/CMakeLists.txt
@@ -29,6 +29,7 @@ endif()
- add_library(solidity ${sources} ${headers})
- target_link_libraries(solidity PUBLIC yul evmasm langutil devcore ${Boost_FILESYSTEM_LIBRARY} ${Boost_SYSTEM_LIBRARY})
+ add_library(solidity ${sources} ${z3_SRCS} ${cvc4_SRCS})
+ target_link_libraries(solidity PUBLIC yul evmasm langutil devcore Boost::boost Boost::filesystem Boost::system)
+install(TARGETS solidity LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
if (${Z3_FOUND})
diff --git a/pkgs/development/compilers/souffle/default.nix b/pkgs/development/compilers/souffle/default.nix
index 87eac541862..a39a6c4a2e4 100644
--- a/pkgs/development/compilers/souffle/default.nix
+++ b/pkgs/development/compilers/souffle/default.nix
@@ -9,14 +9,14 @@ let
toolsPath = stdenv.lib.makeBinPath [ mcpp ];
in
stdenv.mkDerivation rec {
- name = "souffle-${version}";
- version = "1.5.1";
+ pname = "souffle";
+ version = "1.6.1";
src = fetchFromGitHub {
owner = "souffle-lang";
repo = "souffle";
rev = version;
- sha256 = "06sa250z3v8hs91p6cqdzlwwaq96j6zmfrrld1fzd1b620aa5iys";
+ sha256 = "004c5iicjnlzn1yz1k7a28s4xdqx00016rr870drdq2z30mxfgz8";
};
nativeBuildInputs = [ autoreconfHook bison flex mcpp doxygen graphviz makeWrapper perl ];
diff --git a/pkgs/development/compilers/squeak/default.nix b/pkgs/development/compilers/squeak/default.nix
index 25ea47978fc..c8379fe9090 100644
--- a/pkgs/development/compilers/squeak/default.nix
+++ b/pkgs/development/compilers/squeak/default.nix
@@ -2,7 +2,7 @@
, libpthreadstubs, pango, pkgconfig, libpulseaudio, which }:
stdenv.mkDerivation rec {
- name = "squeak-${version}";
+ pname = "squeak";
version = "4.10.2.2614";
src = fetchurl {
diff --git a/pkgs/development/compilers/swi-prolog/default.nix b/pkgs/development/compilers/swi-prolog/default.nix
index 97b4a627540..9245e59553f 100644
--- a/pkgs/development/compilers/swi-prolog/default.nix
+++ b/pkgs/development/compilers/swi-prolog/default.nix
@@ -1,5 +1,5 @@
-{ stdenv, fetchgit, jdk, gmp, readline, openssl, libjpeg, unixODBC, zlib
-, libXinerama, libarchive, db, pcre, libedit, libossp_uuid, libXft, libXpm
+{ stdenv, fetchgit, jdk, gmp, readline, openssl, unixODBC, zlib
+, libarchive, db, pcre, libedit, libossp_uuid, libXpm
, libSM, libXt, freetype, pkgconfig, fontconfig, makeWrapper ? stdenv.isDarwin
, git, cacert, cmake, libyaml
, extraLibraries ? [ jdk unixODBC libXpm libSM libXt freetype fontconfig ]
@@ -13,7 +13,8 @@ let
'';
in
stdenv.mkDerivation {
- name = "swi-prolog-${version}";
+ pname = "swi-prolog";
+ inherit version;
src = fetchgit {
url = "https://github.com/SWI-Prolog/swipl-devel";
diff --git a/pkgs/development/compilers/swift/default.nix b/pkgs/development/compilers/swift/default.nix
index 33f4d2a33fc..817f81f9257 100644
--- a/pkgs/development/compilers/swift/default.nix
+++ b/pkgs/development/compilers/swift/default.nix
@@ -1,5 +1,4 @@
{ stdenv
-, targetPackages
, cmake
, coreutils
, glibc
@@ -34,9 +33,9 @@
}:
let
- v_base = "5.0.1";
+ v_base = "5.0.2";
version = "${v_base}-RELEASE";
- version_friendly = "${v_base}";
+ version_friendly = v_base;
tag = "refs/tags/swift-${version}";
fetch = { repo, sha256, fetchSubmodules ? false }:
@@ -52,7 +51,7 @@ let
# For more inforation, see: https://github.com/apple/swift/pull/3594#issuecomment-234169759
clang = fetch {
repo = "swift-clang";
- sha256 = "1ap26425zhn2sdw3m9snyrqhi4phv2fgblyv9wp8xppjlnjkax9k";
+ sha256 = "046p7f4044ls8hhgklsz32md5jvxkaaim1d75n0fmnwap6di3n1q";
};
llvm = fetch {
repo = "swift-llvm";
@@ -84,16 +83,16 @@ let
};
foundation = fetch {
repo = "swift-corelibs-foundation";
- sha256 = "11w0iapccrk13hjbrwylq8g71znrncnc3mrm345gvnjfgz08ffaq";
+ sha256 = "1wys4xh7f6c7yjf210x41n2krmyi2qj1wpxbv0p48d230va1azj1";
};
libdispatch = fetch {
repo = "swift-corelibs-libdispatch";
- sha256 = "1mgzsq3nfzbkssfkswzvvjgsbv2fx36i1r83d4nzw3di8spxmg32";
+ sha256 = "0chnb0d4xjyn9wnc8bgimd5ji5igfyq891flgnqpfwr4y26496c1";
fetchSubmodules = true;
};
swift = fetch {
repo = "swift";
- sha256 = "02bv47pd0k0xy4k7q6c3flwxwkm2palnzvpr4w3nmvqk0flrbsq6";
+ sha256 = "0fsq1y8dz4ssn90akvzj36cqyblalb09bjzy4ikqn67mb5x99wpb";
};
};
@@ -132,7 +131,7 @@ let
extra_cmake_options="${stdenv.lib.concatStringsSep "," cmakeFlags}"'';
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "swift-${version_friendly}";
nativeBuildInputs = [
@@ -249,9 +248,6 @@ stdenv.mkDerivation rec {
PREFIX=''${out/#\/}
substituteInPlace swift-corelibs-xctest/build_script.py \
--replace usr "$PREFIX"
- substituteInPlace swiftpm/Utilities/bootstrap \
- --replace \"usr\" \"$PREFIX\" \
- --replace usr/lib "$PREFIX/lib"
'';
buildPhase = builder;
diff --git a/pkgs/development/compilers/terra/default.nix b/pkgs/development/compilers/terra/default.nix
index b1f9ee799e5..dea6df1b7aa 100644
--- a/pkgs/development/compilers/terra/default.nix
+++ b/pkgs/development/compilers/terra/default.nix
@@ -9,7 +9,7 @@ let
in
stdenv.mkDerivation rec {
- name = "terra-git-${version}";
+ pname = "terra-git";
version = "1.0.0-beta1";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/teyjus/default.nix b/pkgs/development/compilers/teyjus/default.nix
index 04efe1a9134..41cc9b38606 100644
--- a/pkgs/development/compilers/teyjus/default.nix
+++ b/pkgs/development/compilers/teyjus/default.nix
@@ -5,7 +5,8 @@ let
in
stdenv.mkDerivation {
- name = "teyjus-${version}";
+ pname = "teyjus";
+ inherit version;
src = fetchurl {
url = "https://github.com/teyjus/teyjus/archive/v${version}.tar.gz";
diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix
index a5c3db65857..338ba931249 100644
--- a/pkgs/development/compilers/tinycc/default.nix
+++ b/pkgs/development/compilers/tinycc/default.nix
@@ -2,7 +2,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "tcc-${version}";
+ pname = "tcc";
version = "0.9.27";
src = fetchFromRepoOrCz {
diff --git a/pkgs/development/compilers/unison/default.nix b/pkgs/development/compilers/unison/default.nix
new file mode 100644
index 00000000000..d4e536484c4
--- /dev/null
+++ b/pkgs/development/compilers/unison/default.nix
@@ -0,0 +1,41 @@
+{ stdenv, fetchurl, autoPatchelfHook
+, ncurses5, zlib, gmp
+}:
+
+stdenv.mkDerivation rec {
+ pname = "unison-code-manager";
+ milestone_id = "M1d";
+ version = "1.0.${milestone_id}-alpha";
+
+ src = if (stdenv.isDarwin) then
+ fetchurl {
+ url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-osx.tar.gz";
+ sha256 = "0cgkqwniw2fclsxgx6b1kgjmylqnn67kjs61iygzbpip8nvcm7pv";
+ }
+ else
+ fetchurl {
+ url = "https://github.com/unisonweb/unison/releases/download/release/${milestone_id}/unison-linux64.tar.gz";
+ sha256 = "0rpz40d23daad16r2s4appiay3brbk0awp38yamavlr6dh23c9ws";
+ };
+
+ # The tarball is just the prebuilt binary, in the archive root.
+ sourceRoot = ".";
+ dontBuild = true;
+ dontConfigure = true;
+
+ nativeBuildInputs = stdenv.lib.optional (!stdenv.isDarwin) autoPatchelfHook;
+ buildInputs = stdenv.lib.optionals (!stdenv.isDarwin) [ ncurses5 zlib gmp ];
+
+ installPhase = ''
+ mkdir -p $out/bin
+ mv ucm $out/bin
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Modern, statically-typed purely functional language";
+ homepage = http://unisonweb.org/posts/;
+ license = licenses.free;
+ maintainers = [ maintainers.virusdave ];
+ platforms = [ "x86_64-darwin" "x86_64-linux" ];
+ };
+}
diff --git a/pkgs/development/compilers/urn/default.nix b/pkgs/development/compilers/urn/default.nix
index d5f0dcbec29..f3ff864f81b 100644
--- a/pkgs/development/compilers/urn/default.nix
+++ b/pkgs/development/compilers/urn/default.nix
@@ -20,7 +20,7 @@ let
inherit (stdenv.lib) optionalString concatMapStringsSep;
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "urn-${optionalString (extraLibraries != []) "with-libraries-"}${version}";
src = fetchFromGitLab {
diff --git a/pkgs/development/compilers/urweb/default.nix b/pkgs/development/compilers/urweb/default.nix
index d81ddd9b58f..01d4972a55d 100644
--- a/pkgs/development/compilers/urweb/default.nix
+++ b/pkgs/development/compilers/urweb/default.nix
@@ -1,17 +1,17 @@
{ stdenv, fetchurl, file, openssl, mlton
-, mysql, postgresql, sqlite, gcc
+, mysql, postgresql, sqlite, gcc, icu
}:
stdenv.mkDerivation rec {
- name = "urweb-${version}";
- version = "20180616";
+ pname = "urweb";
+ version = "20190217";
src = fetchurl {
- url = "https://github.com/urweb/urweb/releases/download/${version}/${name}.tar.gz";
- sha256 = "04iy2ky78q6w0d2xyfz2a1k26g2yrwsh1hw1bgs5ia9v3ih965r1";
+ url = "https://github.com/urweb/urweb/releases/download/${version}/${pname}-${version}.tar.gz";
+ sha256 = "1cl0x0sy7w1lazszc8q06q3wx0x0rczxh27vimrsw54s6s9y096s";
};
- buildInputs = [ openssl mlton mysql.connector-c postgresql sqlite ];
+ buildInputs = [ openssl mlton mysql.connector-c postgresql sqlite icu ];
prePatch = ''
sed -e 's@/usr/bin/file@${file}/bin/file@g' -i configure
diff --git a/pkgs/development/compilers/vala/default.nix b/pkgs/development/compilers/vala/default.nix
index 65a3f19102e..15ed7f8bd29 100644
--- a/pkgs/development/compilers/vala/default.nix
+++ b/pkgs/development/compilers/vala/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, flex, bison, libxslt, autoconf, automake, autoreconfHook
+{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, flex, bison, libxslt, autoconf, autoreconfHook
, graphviz, glib, libiconv, libintl, libtool, expat, substituteAll
}:
@@ -119,8 +119,8 @@ in rec {
};
vala_0_40 = generic {
- version = "0.40.15";
- sha256 = "0mfayli159yyw6abjf6sgq41j54mr3nspg25b1kxhypcz0scjm19";
+ version = "0.40.16";
+ sha256 = "0vv25fmr9jqiqf080vak1x4raa4w3cz3n5ysjglqsq9qfx304i7b";
};
vala_0_42 = generic {
@@ -129,8 +129,8 @@ in rec {
};
vala_0_44 = generic {
- version = "0.44.3";
- sha256 = "1sgas7z6y9r2mf4pxry3fx2awdnzn3vlg2sxd3hqpy2a90ib8lw5";
+ version = "0.44.6";
+ sha256 = "0fkrrpnisgq3y816piyr7hm2b94jaj7ki9y974galq3lmxb1g7xb";
};
vala = vala_0_44;
diff --git a/pkgs/development/compilers/vlang/default.nix b/pkgs/development/compilers/vlang/default.nix
new file mode 100644
index 00000000000..f72ec089054
--- /dev/null
+++ b/pkgs/development/compilers/vlang/default.nix
@@ -0,0 +1,50 @@
+{ stdenv, fetchFromGitHub, glfw, freetype, openssl }:
+
+stdenv.mkDerivation rec {
+ pname = "vlang";
+ version = "0.1.18";
+
+ src = fetchFromGitHub {
+ owner = "vlang";
+ repo = "v";
+ rev = version;
+ sha256 = "0js92v2r1h4vaaha3z1spgi7qynlmr9vls41gxp284w4yhnjzv15";
+ };
+
+ # V compiler source translated to C for bootstrap.
+ vc = fetchFromGitHub {
+ owner = "vlang";
+ repo = "vc";
+ rev = version;
+ sha256 = "0qx1drs1hr94w7vaaq5w8mkq7j1d3biffnmxkyz63yv8573k03bj";
+ };
+
+ enableParallelBuilding = true;
+ buildInputs = [ glfw freetype openssl ];
+
+ buildPhase = ''
+ runHook preBuild
+ cc -std=gnu11 $CFLAGS -w -o v $vc/v.c -lm $LDFLAGS
+ ./v -prod -o v compiler
+ make thirdparty
+ runHook postBuild
+ '';
+
+ installPhase = ''
+ runHook preInstall
+ mkdir -p $out/{bin,lib/vlang,share/vlang}
+ cp -r examples $out/share/vlang
+ cp -r {vlib,thirdparty} $out/lib/vlang
+ cp v $out/lib/vlang
+ ln -s $out/lib/vlang/v $out/bin/v
+ runHook postInstall
+ '';
+
+ meta = with stdenv.lib; {
+ homepage = "https://vlang.io/";
+ description = "Simple, fast, safe, compiled language for developing maintainable software";
+ license = licenses.mit;
+ maintainers = with maintainers; [ chiiruno ];
+ platforms = platforms.all;
+ };
+}
diff --git a/pkgs/development/compilers/wcc/default.nix b/pkgs/development/compilers/wcc/default.nix
index 8cb1e8e5f2c..5f812e2c463 100644
--- a/pkgs/development/compilers/wcc/default.nix
+++ b/pkgs/development/compilers/wcc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, capstone, libbfd, libelf, libiberty, readline }:
-stdenv.mkDerivation rec {
- name = "wcc-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "wcc-unstable";
version = "2018-04-05";
src = fetchFromGitHub {
diff --git a/pkgs/development/compilers/wla-dx/default.nix b/pkgs/development/compilers/wla-dx/default.nix
index 78df2583140..5f83845a12a 100644
--- a/pkgs/development/compilers/wla-dx/default.nix
+++ b/pkgs/development/compilers/wla-dx/default.nix
@@ -1,18 +1,16 @@
{stdenv, fetchFromGitHub, cmake}:
stdenv.mkDerivation rec {
- version = "2017-06-05";
- name = "wla-dx-git-${version}";
+ pname = "wla-dx";
+ version = "9.8";
src = fetchFromGitHub {
owner = "vhelin";
repo = "wla-dx";
- rev = "ae6843f9711cbc2fa6dd8c200877b40bd2bcad7f";
- sha256 = "09c2kz12ld97ad41j6r8r65jknllrak1x8r43fgr26x7hdlxz5c6";
+ rev = "v${version}-fix";
+ sha256 = "1dsxhy19nif983lr20vxl099giwzgmzqyh7ass705hkphmwagcv6";
};
- hardeningDisable = [ "format" ];
-
installPhase = ''
mkdir -p $out/bin
install binaries/* $out/bin
diff --git a/pkgs/development/compilers/x11basic/default.nix b/pkgs/development/compilers/x11basic/default.nix
index a26bc41c594..3d955c4394b 100644
--- a/pkgs/development/compilers/x11basic/default.nix
+++ b/pkgs/development/compilers/x11basic/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchFromGitHub
+{ stdenv, fetchFromGitHub
, automake, autoconf, readline
, libX11, bluez, SDL2
}:
@@ -6,7 +6,6 @@
stdenv.mkDerivation rec {
pname = "X11basic";
version = "1.26";
- name = pname + "-" + version;
src = fetchFromGitHub {
owner = "kollokollo";
diff --git a/pkgs/development/compilers/yap/default.nix b/pkgs/development/compilers/yap/default.nix
index 3ad0bc25787..1cc96455be7 100644
--- a/pkgs/development/compilers/yap/default.nix
+++ b/pkgs/development/compilers/yap/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "6.3.3";
- name = "yap-${version}";
+ pname = "yap";
src = fetchurl {
- url = "https://www.dcc.fc.up.pt/~vsc/Yap/${name}.tar.gz";
+ url = "https://www.dcc.fc.up.pt/~vsc/Yap/${pname}-${version}.tar.gz";
sha256 = "0y7sjwimadqsvgx9daz28c9mxcx9n1znxklih9xg16k6n54v9qxf";
};
diff --git a/pkgs/development/compilers/yosys/default.nix b/pkgs/development/compilers/yosys/default.nix
index afb1bcd5a0b..1535c7a7de6 100644
--- a/pkgs/development/compilers/yosys/default.nix
+++ b/pkgs/development/compilers/yosys/default.nix
@@ -1,21 +1,21 @@
{ stdenv, fetchFromGitHub
, pkgconfig, bison, flex
, tcl, readline, libffi, python3
-, protobuf
+, protobuf, zlib
}:
with builtins;
stdenv.mkDerivation rec {
- name = "yosys-${version}";
- version = "2019.04.23";
+ pname = "yosys";
+ version = "2019.09.01";
srcs = [
(fetchFromGitHub {
owner = "yosyshq";
repo = "yosys";
- rev = "d9daf09cf3aab202b6da058c5e959f6375a4541e";
- sha256 = "0l27r9l3fvkqhmbqqpjz1f3ny4wdh5mdc7jlnbgy6nxx6vqcmkh0";
+ rev = "4aa505d1b254b3fbb66af2d95b396a8f077da9d0";
+ sha256 = "16rhwmn1z2ppaq3wycgq713krq48s80a6h57vgzjzj17hgncg7hs";
name = "yosys";
})
@@ -25,8 +25,8 @@ stdenv.mkDerivation rec {
(fetchFromGitHub {
owner = "berkeley-abc";
repo = "abc";
- rev = "3709744c60696c5e3f4cc123939921ce8107fe04";
- sha256 = "18a9cjng3qfalq8m9az5ck1y5h4l2pf9ycrvkzs9hn82b1j7vrax";
+ rev = "5776ad07e7247993976bffed4802a5737c456782";
+ sha256 = "1la4idmssg44rp6hd63sd5vybvs3vr14yzvwcg03ls37p39cslnl";
name = "yosys-abc";
})
];
@@ -34,16 +34,20 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
- buildInputs = [ tcl readline libffi python3 bison flex protobuf ];
+ buildInputs = [ tcl readline libffi python3 bison flex protobuf zlib ];
makeFlags = [ "ENABLE_PROTOBUF=1" ];
patchPhase = ''
substituteInPlace ../yosys-abc/Makefile \
- --replace 'CC := gcc' ""
+ --replace 'CC := gcc' "" \
+ --replace 'CXX := g++' ""
substituteInPlace ./Makefile \
--replace 'CXX = clang' "" \
- --replace 'ABCMKARGS = CC="$(CXX)"' 'ABCMKARGS =' \
+ --replace 'LD = clang++' 'LD = $(CXX)' \
+ --replace 'CXX = gcc' "" \
+ --replace 'LD = gcc' 'LD = $(CXX)' \
+ --replace 'ABCMKARGS = CC="$(CXX)" CXX="$(CXX)"' 'ABCMKARGS =' \
--replace 'echo UNKNOWN' 'echo ${substring 0 10 (elemAt srcs 0).rev}'
'';
@@ -71,7 +75,7 @@ stdenv.mkDerivation rec {
'';
homepage = http://www.clifford.at/yosys/;
license = stdenv.lib.licenses.isc;
- maintainers = with stdenv.lib.maintainers; [ shell thoughtpolice ];
- platforms = stdenv.lib.platforms.unix;
+ maintainers = with stdenv.lib.maintainers; [ shell thoughtpolice emily ];
+ platforms = stdenv.lib.platforms.all;
};
}
diff --git a/pkgs/development/compilers/z88dk/default.nix b/pkgs/development/compilers/z88dk/default.nix
index 19056ec2b6f..433b6e6b32c 100644
--- a/pkgs/development/compilers/z88dk/default.nix
+++ b/pkgs/development/compilers/z88dk/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
#_FORTIFY_SOURCE requires compiling with optimization (-O)
NIX_CFLAGS_COMPILE = "-O";
- short_rev = "${builtins.substring 0 7 src.rev}";
+ short_rev = builtins.substring 0 7 src.rev;
makeFlags = [
"git_rev=${short_rev}"
"version=${version}"
diff --git a/pkgs/development/compilers/zulu/8.nix b/pkgs/development/compilers/zulu/8.nix
index fb1798ab819..d4caabc6cb8 100644
--- a/pkgs/development/compilers/zulu/8.nix
+++ b/pkgs/development/compilers/zulu/8.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, libGL, alsaLib
-, fontconfig, freetype, gnome2, cairo, gdk_pixbuf, atk, xorg
+, fontconfig, freetype, gnome2, cairo, gdk-pixbuf, atk, xorg
, swingSupport ? true }:
let
@@ -17,16 +17,16 @@ let
libraries = [
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
- gnome2.gtk cairo gdk_pixbuf atk
+ gnome2.gtk cairo gdk-pixbuf atk
] ++ (lib.optionals swingSupport (with xorg; [
xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp
xorg.libXt xorg.libXrender stdenv.cc.cc
]));
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
inherit version openjdk platform hash extension;
- name = "zulu-${version}";
+ pname = "zulu";
src = fetchurl {
url = "https://cdn.azul.com/zulu/bin/zulu${version}-jdk${openjdk}-${platform}_x64.${extension}";
@@ -65,7 +65,7 @@ in stdenv.mkDerivation rec {
rpath = stdenv.lib.strings.makeLibraryPath libraries;
passthru = {
- home = "${zulu}";
+ home = zulu;
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/compilers/zulu/default.nix b/pkgs/development/compilers/zulu/default.nix
index 908aa29e178..5f345c87355 100644
--- a/pkgs/development/compilers/zulu/default.nix
+++ b/pkgs/development/compilers/zulu/default.nix
@@ -1,6 +1,6 @@
{ stdenv, lib, fetchurl, unzip, makeWrapper, setJavaClassPath
, zulu, glib, libxml2, libav_0_8, ffmpeg, libxslt, libGL, alsaLib
-, fontconfig, freetype, gnome2, cairo, gdk_pixbuf, atk, xorg, zlib
+, fontconfig, freetype, gnome2, cairo, gdk-pixbuf, atk, xorg, zlib
, swingSupport ? true }:
let
@@ -17,16 +17,16 @@ let
libraries = [
stdenv.cc.libc glib libxml2 libav_0_8 ffmpeg libxslt libGL
xorg.libXxf86vm alsaLib fontconfig freetype gnome2.pango
- gnome2.gtk cairo gdk_pixbuf atk zlib
+ gnome2.gtk cairo gdk-pixbuf atk zlib
] ++ (lib.optionals swingSupport (with xorg; [
xorg.libX11 xorg.libXext xorg.libXtst xorg.libXi xorg.libXp
xorg.libXt xorg.libXrender stdenv.cc.cc
]));
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
inherit version openjdk platform hash extension;
- name = "zulu-${version}";
+ pname = "zulu";
src = fetchurl {
url = "https://cdn.azul.com/zulu/bin/zulu${version}-jdk${openjdk}-${platform}_x64.${extension}";
@@ -62,7 +62,7 @@ in stdenv.mkDerivation rec {
rpath = stdenv.lib.strings.makeLibraryPath libraries;
passthru = {
- home = "${zulu}";
+ home = zulu;
};
meta = with stdenv.lib; {
diff --git a/pkgs/development/coq-modules/Cheerios/default.nix b/pkgs/development/coq-modules/Cheerios/default.nix
index d58f6510219..4e75b9407de 100644
--- a/pkgs/development/coq-modules/Cheerios/default.nix
+++ b/pkgs/development/coq-modules/Cheerios/default.nix
@@ -8,7 +8,7 @@ let param =
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-Cheerios-${param.version}";
src = fetchFromGitHub {
diff --git a/pkgs/development/coq-modules/InfSeqExt/default.nix b/pkgs/development/coq-modules/InfSeqExt/default.nix
index 4fe86c3fae1..5df96519e7f 100644
--- a/pkgs/development/coq-modules/InfSeqExt/default.nix
+++ b/pkgs/development/coq-modules/InfSeqExt/default.nix
@@ -8,7 +8,7 @@ let param =
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-InfSeqExt-${param.version}";
src = fetchFromGitHub {
diff --git a/pkgs/development/coq-modules/QuickChick/default.nix b/pkgs/development/coq-modules/QuickChick/default.nix
index ee1aeb1503e..b9961289480 100644
--- a/pkgs/development/coq-modules/QuickChick/default.nix
+++ b/pkgs/development/coq-modules/QuickChick/default.nix
@@ -14,24 +14,24 @@ let params =
sha256 = "0fri4nih40vfb0fbr82dsi631ydkw48xszinq43lyinpknf54y17";
};
- "8.7" = {
- version = "20171212";
- rev = "195e550a1cf0810497734356437a1720ebb6d744";
- sha256 = "0zm23y89z0h4iamy74qk9qi2pz2cj3ga6ygav0w79n0qyqwhxcq1";
- };
- "8.8" = rec {
- preConfigure = "substituteInPlace Makefile --replace quickChickTool.byte quickChickTool.native";
+ "8.8" = {
version = "20190311";
rev = "22af9e9a223d0038f05638654422e637e863b355";
sha256 = "00rnr19lg6lg0haq1sy4ld38p7imzand6fc52fvfq27gblxkp2aq";
- buildInputs = with coq.ocamlPackages; [ ocamlbuild num ];
- propagatedBuildInputs = [ coq-ext-lib simple-io ];
+ };
+
+ "8.9" = rec {
+ version = "1.1.0";
+ rev = "v${version}";
+ sha256 = "1c34v1k37rk7v0xk2czv5n79mbjxjrm6nh3llg2mpfmdsqi68wf3";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
-stdenv.mkDerivation rec {
+let recent = stdenv.lib.versionAtLeast coq.coq-version "8.8"; in
+
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-QuickChick-${param.version}";
@@ -41,16 +41,19 @@ stdenv.mkDerivation rec {
inherit (param) rev sha256;
};
+ preConfigure = stdenv.lib.optionalString recent
+ "substituteInPlace Makefile --replace quickChickTool.byte quickChickTool.native";
+
buildInputs = [ coq ]
++ (with coq.ocamlPackages; [ ocaml camlp5 findlib ])
- ++ (param.buildInputs or [])
+ ++ stdenv.lib.optionals recent
+ (with coq.ocamlPackages; [ ocamlbuild num ])
;
- propagatedBuildInputs = [ ssreflect ] ++ (param.propagatedBuildInputs or []);
+ propagatedBuildInputs = [ ssreflect ]
+ ++ stdenv.lib.optionals recent [ coq-ext-lib simple-io ];
enableParallelBuilding = false;
- preConfigure = param.preConfigure or null;
-
installPhase = ''
make -f Makefile.coq COQLIB=$out/lib/coq/${coq.coq-version}/ install
'';
diff --git a/pkgs/development/coq-modules/StructTact/default.nix b/pkgs/development/coq-modules/StructTact/default.nix
index 55d59b93140..2e4d12478b7 100644
--- a/pkgs/development/coq-modules/StructTact/default.nix
+++ b/pkgs/development/coq-modules/StructTact/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, coq, mathcomp }:
+{ stdenv, fetchFromGitHub, coq }:
let param =
{
@@ -8,7 +8,7 @@ let param =
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-StructTact-${param.version}";
src = fetchFromGitHub {
diff --git a/pkgs/development/coq-modules/Velisarios/default.nix b/pkgs/development/coq-modules/Velisarios/default.nix
index cd7ddfefb84..92c9b2569ca 100644
--- a/pkgs/development/coq-modules/Velisarios/default.nix
+++ b/pkgs/development/coq-modules/Velisarios/default.nix
@@ -20,10 +20,10 @@ let params =
sha256 = "0l9885nxy0n955fj1gnijlxl55lyxiv9yjfmz8hmfrn9hl8vv1m2";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-Velisarios-${param.version}";
src = fetchFromGitHub {
diff --git a/pkgs/development/coq-modules/Verdi/default.nix b/pkgs/development/coq-modules/Verdi/default.nix
index 00d088a4a92..d2e9660a630 100644
--- a/pkgs/development/coq-modules/Verdi/default.nix
+++ b/pkgs/development/coq-modules/Verdi/default.nix
@@ -13,7 +13,7 @@ let param =
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-verdi-${param.version}";
src = fetchFromGitHub {
diff --git a/pkgs/development/coq-modules/bignums/default.nix b/pkgs/development/coq-modules/bignums/default.nix
index 14a7f2dc4e2..fb45e591ec1 100644
--- a/pkgs/development/coq-modules/bignums/default.nix
+++ b/pkgs/development/coq-modules/bignums/default.nix
@@ -17,11 +17,15 @@ let params = {
rev = "V8.9.0";
sha256 = "03qz1w2xb2j5p06liz5yyafl0fl9vprcqm6j0iwi7rxwghl00p01";
};
+ "8.10" = {
+ rev = "V8.10+beta1";
+ sha256 = "1slw227idwjw9a21vj3s6kal22mrmvvlpg8r7xk590ml99bn6404";
+ };
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-bignums";
diff --git a/pkgs/development/coq-modules/category-theory/default.nix b/pkgs/development/coq-modules/category-theory/default.nix
index 59f2295e215..025a67a1e70 100644
--- a/pkgs/development/coq-modules/category-theory/default.nix
+++ b/pkgs/development/coq-modules/category-theory/default.nix
@@ -8,20 +8,21 @@ let
rev = "3b9ba7b26a64d49a55e8b6ccea570a7f32c11ead";
sha256 = "0f2nr8dgn1ab7hr7jrdmr1zla9g9h8216q4yf4wnff9qkln8sbbs";
};
- v20181016 = {
- version = "20181016";
- rev = "8049479c5aee00ed0b92e5edc7c8996aebf48208";
- sha256 = "14f9rlwh8vgmcl6njykvsiwxx0jn623375afixk26mzpy12zdcph";
+ v20190414 = {
+ version = "20190414";
+ rev = "706fdb4065cc2302d92ac2bce62cb59713253119";
+ sha256 = "16lg4xs2wzbdbsn148xiacgl4wq4xwfqjnjkdhfr3w0qh1s81hay";
};
in {
"8.6" = v20180709;
"8.7" = v20180709;
- "8.8" = v20181016;
+ "8.8" = v20190414;
+ "8.9" = v20190414;
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-category-theory-${param.version}";
diff --git a/pkgs/development/coq-modules/contribs/default.nix b/pkgs/development/coq-modules/contribs/default.nix
index faf7db09ff9..524427c109a 100644
--- a/pkgs/development/coq-modules/contribs/default.nix
+++ b/pkgs/development/coq-modules/contribs/default.nix
@@ -3,13 +3,13 @@
let mkContrib = repo: revs: param:
stdenv.mkDerivation rec {
name = "coq${coq.coq-version}-${repo}-${version}";
- version = "${param.version}";
+ version = param.version;
src = fetchFromGitHub {
owner = "coq-contribs";
- repo = "${repo}";
- rev = "${param.rev}";
- sha256 = "${param.sha256}";
+ repo = repo;
+ rev = param.rev;
+ sha256 = param.sha256;
};
buildInputs = with coq.ocamlPackages; [ ocaml camlp5 findlib coq ];
@@ -34,7 +34,7 @@ let mkContrib = repo: revs: param:
rev = "86ac28259030649ef51460e4de2441c8a1017751";
sha256 = "09bbk2a7pn0j76mmapl583f8a20zqd3a1m9lkml8rpwml692bzi9";
};
- }."${coq.coq-version}";
+ }.${coq.coq-version};
abp = mkContrib "abp" [ "8.5" "8.6" "8.7" ] {
version = "v8.6.0";
@@ -219,7 +219,7 @@ let mkContrib = repo: revs: param:
rev = "aa33052c1edfc5a65885942a67c2773b5d96f8cc";
sha256 = "0mjgfdr9bzsch0dlk4vq1frkaig14dqh46r54cv0l15flxapg0iw";
};
- }."${coq.coq-version}";
+ }.${coq.coq-version};
continuations = mkContrib "continuations" [ ] {
version = "v8.5.0-13-g6885310";
diff --git a/pkgs/development/coq-modules/coq-elpi/default.nix b/pkgs/development/coq-modules/coq-elpi/default.nix
new file mode 100644
index 00000000000..c689cea1a82
--- /dev/null
+++ b/pkgs/development/coq-modules/coq-elpi/default.nix
@@ -0,0 +1,38 @@
+{ stdenv, fetchFromGitHub, which, coq }:
+
+let params = {
+ "8.10" = {
+ version = "master";
+ rev = "bc7134deba1aacc7ecd2f5d1032bdf05b125c568";
+ sha256 = "188avk9irwjsbs5ya4ka01mpk3vw4397kv2rmsncqrrrsa1pdddk";
+ };
+};
+ param = params.${coq.coq-version};
+in
+
+stdenv.mkDerivation rec {
+ name = "coq${coq.coq-version}-elpi-${param.version}";
+
+ src = fetchFromGitHub {
+ owner = "LPCIC";
+ repo = "coq-elpi";
+ inherit (param) rev sha256;
+ };
+
+ nativeBuildInputs = [ which ];
+ buildInputs = [ coq coq.ocaml ] ++ (with coq.ocamlPackages; [ findlib elpi ]);
+
+ installFlags = "COQLIB=$(out)/lib/coq/${coq.coq-version}/";
+
+ meta = {
+ description = "Coq plugin embedding ELPI.";
+ maintainers = [ stdenv.lib.maintainers.cohencyril ];
+ license = stdenv.lib.licenses.lgpl21;
+ inherit (coq.meta) platforms;
+ inherit (src.meta) homepage;
+ };
+
+ passthru = {
+ compatibleCoqVersions = stdenv.lib.flip builtins.hasAttr params;
+ };
+}
diff --git a/pkgs/development/coq-modules/coq-ext-lib/default.nix b/pkgs/development/coq-modules/coq-ext-lib/default.nix
index cade2bd352e..898272d402b 100644
--- a/pkgs/development/coq-modules/coq-ext-lib/default.nix
+++ b/pkgs/development/coq-modules/coq-ext-lib/default.nix
@@ -8,7 +8,7 @@ let params =
"8.8" = { version = "0.9.8"; sha256 = "0z1ix855kdjl7zw5ca664h5njd1x8mmvf5wi37fck4dj9dgamwlz"; };
"8.9" = { version = "0.10.1"; sha256 = "0r1vspad8fb8bry3zliiz4hfj4w1iib1l2gm115a94m6zbiksd95"; };
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
stdenv.mkDerivation rec {
diff --git a/pkgs/development/coq-modules/coq-haskell/default.nix b/pkgs/development/coq-modules/coq-haskell/default.nix
index 57f31e1847c..e9263fb2be1 100644
--- a/pkgs/development/coq-modules/coq-haskell/default.nix
+++ b/pkgs/development/coq-modules/coq-haskell/default.nix
@@ -26,10 +26,10 @@ let params =
sha256 = "09dq1vvshhlhgjccrhqgbhnq2hrys15xryfszqq11rzpgvl2zgdv";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "coq${coq.coq-version}-coq-haskell-${param.version}";
diff --git a/pkgs/development/coq-modules/coqhammer/default.nix b/pkgs/development/coq-modules/coqhammer/default.nix
index 28c651f9b16..83a505017fb 100644
--- a/pkgs/development/coq-modules/coqhammer/default.nix
+++ b/pkgs/development/coq-modules/coqhammer/default.nix
@@ -9,7 +9,7 @@ let
sha256 = "0hmqwsry8ldg4g4hhwg4b84dgzibpdrg1wwsajhlyqfx3fb3n3b5";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
stdenv.mkDerivation rec {
diff --git a/pkgs/development/coq-modules/coqprime/default.nix b/pkgs/development/coq-modules/coqprime/default.nix
index 191812b3f2e..6228bd4be9d 100644
--- a/pkgs/development/coq-modules/coqprime/default.nix
+++ b/pkgs/development/coq-modules/coqprime/default.nix
@@ -13,8 +13,9 @@ let params =
};
"8.8" = v_8_8;
"8.9" = v_8_8;
+ "8.10" = v_8_8;
};
- param = params."${coq.coq-version}"
+ param = params.${coq.coq-version}
; in
stdenv.mkDerivation rec {
diff --git a/pkgs/development/coq-modules/coquelicot/default.nix b/pkgs/development/coq-modules/coquelicot/default.nix
index e316a8b792d..3b916b5e40b 100644
--- a/pkgs/development/coq-modules/coquelicot/default.nix
+++ b/pkgs/development/coq-modules/coquelicot/default.nix
@@ -1,10 +1,23 @@
{ stdenv, fetchurl, which, coq, ssreflect }:
-stdenv.mkDerivation {
- name = "coq${coq.coq-version}-coquelicot-3.0.2";
- src = fetchurl {
- url = "https://gforge.inria.fr/frs/download.php/file/37523/coquelicot-3.0.2.tar.gz";
+let param =
+ if stdenv.lib.versionAtLeast coq.coq-version "8.8"
+ then {
+ version = "3.0.3";
+ uid = "38105";
+ sha256 = "0y52lqx1jphv6fwf0d702vzprxmfmxggnh1hy3fznxyl4isfpg4j";
+ } else {
+ version = "3.0.2";
+ uid = "37523";
sha256 = "1biia7nfqf7vaqq5gmykl4rwjyvrcwss6r2jdf0in5pvp2rnrj2w";
+ }
+; in
+
+stdenv.mkDerivation {
+ name = "coq${coq.coq-version}-coquelicot-${param.version}";
+ src = fetchurl {
+ url = "https://gforge.inria.fr/frs/download.php/file/${param.uid}/coquelicot-${param.version}.tar.gz";
+ inherit (param) sha256;
};
nativeBuildInputs = [ which ];
@@ -24,7 +37,7 @@ stdenv.mkDerivation {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/coq-modules/dpdgraph/default.nix b/pkgs/development/coq-modules/dpdgraph/default.nix
index e403f7d4fb5..401cb299497 100644
--- a/pkgs/development/coq-modules/dpdgraph/default.nix
+++ b/pkgs/development/coq-modules/dpdgraph/default.nix
@@ -22,7 +22,7 @@ let params = {
sha256 = "0qvar8gfbrcs9fmvkph5asqz4l5fi63caykx3bsn8zf0xllkwv0n";
};
};
-param = params."${coq.coq-version}";
+param = params.${coq.coq-version};
in
stdenv.mkDerivation {
diff --git a/pkgs/development/coq-modules/equations/default.nix b/pkgs/development/coq-modules/equations/default.nix
index b31fcde1b80..b6efd3d75a4 100644
--- a/pkgs/development/coq-modules/equations/default.nix
+++ b/pkgs/development/coq-modules/equations/default.nix
@@ -15,30 +15,36 @@ let
};
"8.8" = {
- version = "1.2beta2";
- rev = "v1.2-beta2-8.8";
- sha256 = "1v9asdlhhks25ngnjn4dafx7nrcc5p0lhriqckh3y79nxbgpq4lx";
+ version = "1.2";
+ rev = "v1.2-8.8";
+ sha256 = "06452fyzalz7zcjjp73qb7d6xvmqb6skljkivf8pfm55fsc8s7kx";
};
"8.9" = {
- version = "1.2beta2";
- rev = "v1.2-beta2-8.9";
- sha256 = "0y2zwv7jxs1crprj5qvg46h0v9wyfn99ln40yskq91y9h1lj5h3j";
+ version = "1.2";
+ rev = "v1.2-8.9";
+ sha256 = "1q3wvicr43bgy7xn1diwh4j43mnrhprrc2xd22qlbz9cl6bhf8bj";
+ };
+
+ "8.10" = {
+ version = "1.2";
+ rev = "v1.2-8.10";
+ sha256 = "1v5kx0xzxzsbs5r4w08rm1lrmjjggnd3ap0sd1my88ds17jzyasd";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
stdenv.mkDerivation rec {
name = "coq${coq.coq-version}-equations-${version}";
- version = "${param.version}";
+ version = param.version;
src = fetchFromGitHub {
owner = "mattam82";
repo = "Coq-Equations";
- rev = "${param.rev}";
- sha256 = "${param.sha256}";
+ rev = param.rev;
+ sha256 = param.sha256;
};
buildInputs = with coq.ocamlPackages; [ ocaml camlp5 findlib coq ];
diff --git a/pkgs/development/coq-modules/flocq/default.nix b/pkgs/development/coq-modules/flocq/default.nix
index 09fbd580845..d9ad7d6e3be 100644
--- a/pkgs/development/coq-modules/flocq/default.nix
+++ b/pkgs/development/coq-modules/flocq/default.nix
@@ -1,14 +1,12 @@
-{ stdenv, bash, which, autoconf, automake, fetchurl, coq }:
+{ stdenv, bash, which, autoconf, automake, fetchzip, coq }:
let params =
if stdenv.lib.versionAtLeast coq.coq-version "8.7" then {
- version = "3.1.0";
- uid = "37901";
- sha256 = "02szrgz9m0ac51la1lqpiv6i2g0zbgx9gz5rp0q1g00ajldyna5c";
+ version = "3.2.0";
+ sha256 = "15bi36x7zj0glsb3s2gwqd4wswhfzh36rbp7imbyff53a7nna95l";
} else {
version = "2.6.1";
- uid = "37454";
- sha256 = "06msp1fwpqv6p98a3i1nnkj7ch9rcq3rm916yxq8dxf51lkghrin";
+ sha256 = "1y4czkfrd8p37vwv198nns4hz1brfv71na17pxsidwpxy7qnyfw1";
}
; in
@@ -17,8 +15,8 @@ stdenv.mkDerivation rec {
name = "coq${coq.coq-version}-flocq-${version}";
inherit (params) version;
- src = fetchurl {
- url = "https://gforge.inria.fr/frs/download.php/file/${params.uid}/flocq-${version}.tar.gz";
+ src = fetchzip {
+ url = "https://gitlab.inria.fr/flocq/flocq/-/archive/flocq-${version}.tar.gz";
inherit (params) sha256;
};
@@ -46,6 +44,6 @@ stdenv.mkDerivation rec {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/coq-modules/gappalib/default.nix b/pkgs/development/coq-modules/gappalib/default.nix
new file mode 100644
index 00000000000..c610039eeec
--- /dev/null
+++ b/pkgs/development/coq-modules/gappalib/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchurl, which, coq, flocq }:
+
+stdenv.mkDerivation {
+ name = "coq${coq.coq-version}-gappalib-1.4.1";
+ src = fetchurl {
+ url = https://gforge.inria.fr/frs/download.php/file/37917/gappalib-coq-1.4.1.tar.gz;
+ sha256 = "0d3f23a871haglg8hq1jgxz3y5nryiwy12b5xfnfjn279jfqqjw4";
+ };
+
+ nativeBuildInputs = [ which ];
+ buildInputs = [ coq coq.ocamlPackages.ocaml ];
+ propagatedBuildInputs = [ flocq ];
+
+ configurePhase = "./configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Gappa";
+ buildPhase = "./remake";
+ installPhase = "./remake install";
+
+ meta = {
+ description = "Coq support library for Gappa";
+ license = stdenv.lib.licenses.lgpl21;
+ homepage = http://gappa.gforge.inria.fr/;
+ maintainers = [ stdenv.lib.maintainers.vbgl ];
+ inherit (coq.meta) platforms;
+ };
+
+ passthru = {
+ compatibleCoqVersions = stdenv.lib.flip builtins.elem [ "8.7" "8.8" "8.9" ];
+ };
+
+}
diff --git a/pkgs/development/coq-modules/interval/default.nix b/pkgs/development/coq-modules/interval/default.nix
index 0b97358d863..73a0a07f704 100644
--- a/pkgs/development/coq-modules/interval/default.nix
+++ b/pkgs/development/coq-modules/interval/default.nix
@@ -3,9 +3,9 @@
let params =
if stdenv.lib.versionAtLeast coq.coq-version "8.7" then {
- version = "3.4.0";
- uid = "37524";
- sha256 = "023j9sd64brqvjdidqkn5m8d7a93zd9r86ggh573z9nkjm2m7vvg";
+ version = "3.4.1";
+ uid = "38104";
+ sha256 = "1zklv2w34k866fpwmw8q692mid5n6s75d2mmhhigrzpx5l3d4z6y";
} else {
version = "3.3.0";
uid = "37077";
@@ -23,7 +23,7 @@ stdenv.mkDerivation {
nativeBuildInputs = [ which ];
buildInputs = [ coq ];
- propagatedBuildInputs = [ bignums coquelicot flocq mathcomp ];
+ propagatedBuildInputs = [ bignums coquelicot flocq ];
configurePhase = "./configure --libdir=$out/lib/coq/${coq.coq-version}/user-contrib/Interval";
buildPhase = "./remake";
@@ -38,7 +38,7 @@ stdenv.mkDerivation {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.5" "8.6" "8.7" "8.8" "8.9" "8.10" ];
};
diff --git a/pkgs/development/coq-modules/iris/default.nix b/pkgs/development/coq-modules/iris/default.nix
index ea26f3e1ca9..0718e518b35 100644
--- a/pkgs/development/coq-modules/iris/default.nix
+++ b/pkgs/development/coq-modules/iris/default.nix
@@ -1,15 +1,18 @@
-{ stdenv, fetchzip, coq, ssreflect, stdpp }:
+{ stdenv, fetchFromGitLab, coq, stdpp }:
stdenv.mkDerivation rec {
- version = "3.1.0";
+ version = "3.2.0";
name = "coq${coq.coq-version}-iris-${version}";
- src = fetchzip {
- url = "https://gitlab.mpi-sws.org/FP/iris-coq/-/archive/iris-${version}/iris-coq-iris-${version}.tar.gz";
- sha256 = "0ipdb061jj205avxifshxkpyxxqykigmlxk2n5nvxj62gs3rl5j1";
+ src = fetchFromGitLab {
+ domain = "gitlab.mpi-sws.org";
+ owner = "iris";
+ repo = "iris";
+ rev = "iris-${version}";
+ sha256 = "10dfi7qx6j5w6kbmbrf05xh18jwxr9iz5g7y0f6157msgvl081xs";
};
buildInputs = [ coq ];
- propagatedBuildInputs = [ ssreflect stdpp ];
+ propagatedBuildInputs = [ stdpp ];
enableParallelBuilding = true;
@@ -24,7 +27,7 @@ stdenv.mkDerivation rec {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/coq-modules/ltac2/default.nix b/pkgs/development/coq-modules/ltac2/default.nix
index 30917fcb78f..80b167aaa98 100644
--- a/pkgs/development/coq-modules/ltac2/default.nix
+++ b/pkgs/development/coq-modules/ltac2/default.nix
@@ -17,7 +17,7 @@ let params = {
sha256 = "0xby1kb26r9gcvk5511wqj05fqm9paynwfxlfqkmwkgnfmzk0x73";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
stdenv.mkDerivation rec {
diff --git a/pkgs/development/coq-modules/math-classes/default.nix b/pkgs/development/coq-modules/math-classes/default.nix
index 0fa17e292fa..82802b8f30e 100644
--- a/pkgs/development/coq-modules/math-classes/default.nix
+++ b/pkgs/development/coq-modules/math-classes/default.nix
@@ -3,13 +3,13 @@
stdenv.mkDerivation rec {
name = "coq${coq.coq-version}-math-classes-${version}";
- version = "8.8.1";
+ version = "8.9.1";
src = fetchFromGitHub {
owner = "coq-community";
repo = "math-classes";
rev = version;
- sha256 = "05vlrrwnlfhd7l3xwn4zwpnkwvziw84zpd9775c6ffb83z48ri1r";
+ sha256 = "1lw89js07m1wcaycpnyd85sf0snil2rrsfmry9lna2x66ah1mzn5";
};
buildInputs = [ coq bignums ];
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/coq-modules/mathcomp/default.nix b/pkgs/development/coq-modules/mathcomp/default.nix
index a9933692db3..6798236591c 100644
--- a/pkgs/development/coq-modules/mathcomp/default.nix
+++ b/pkgs/development/coq-modules/mathcomp/default.nix
@@ -3,22 +3,35 @@
}:
with builtins // stdenv.lib;
let
+ ####################################
+ # CONFIGURATION (please edit this) #
+ ####################################
# sha256 of released mathcomp versions
mathcomp-sha256 = {
+ "1.9.0" = "0lid9zaazdi3d38l8042lczb02pw5m9wq0yysiilx891hgq2p81r";
"1.8.0" = "07l40is389ih8bi525gpqs3qp4yb2kl11r9c8ynk1ifpjzpnabwp";
"1.7.0" = "0wnhj9nqpx2bw6n1l4i8jgrw3pjajvckvj3lr4vzjb3my2lbxdd1";
"1.6.1" = "1ilw6vm4dlsdv9cd7kmf0vfrh2kkzr45wrqr8m37miy0byzr4p9i";
};
# versions of coq compatible with released mathcomp versions
mathcomp-coq-versions = {
+ "1.9.0" = flip elem ["8.7" "8.8" "8.9" "8.10"];
"1.8.0" = flip elem ["8.7" "8.8" "8.9"];
"1.7.0" = flip elem ["8.6" "8.7" "8.8" "8.9"];
"1.6.1" = flip elem ["8.5"];
};
# computes the default version of mathcomp given a version of Coq
max-mathcomp-version = last (naturalSort (attrNames mathcomp-coq-versions));
- default-mathcomp-version = let v = last (naturalSort (["0.0.0"]
- ++ (attrNames (filterAttrs (_: vs: vs coq.coq-version) mathcomp-coq-versions))));
+ # mathcomp prefered version by decreasing order
+ # (the first version in the list will be tried first)
+ mathcomp-version-preference = [ "1.8.0" "1.9.0" "1.7.0" "1.6.1" ];
+
+ ##############################################################
+ # COMPUTED using the configuration above (edit with caution) #
+ ##############################################################
+ default-mathcomp-version = let v = head (
+ filter (mc: mathcomp-coq-versions.${mc} coq.coq-version)
+ mathcomp-version-preference ++ ["0.0.0"]);
in if v == "0.0.0" then max-mathcomp-version else v;
# list of core mathcomp packages sorted by dependency order
@@ -56,20 +69,22 @@ let
echo "-I ." >> Make
echo "-R . mathcomp.all" >> Make
'';
+ is-released = builtins.isString mathcomp-version;
+ custom-version = if is-released then mathcomp-version else "custom";
# the base set of attributes for mathcomp
- attrs = rec {
- name = "coq${coq.coq-version}-${pkgname}-${mathcomp-version}";
+ attrs = {
+ name = "coq${coq.coq-version}-${pkgname}-${custom-version}";
# used in ssreflect
- version = mathcomp-version;
+ version = custom-version;
- src = fetchFromGitHub {
+ src = if is-released then fetchFromGitHub {
owner = "math-comp";
repo = "math-comp";
rev = "mathcomp-${mathcomp-version}";
sha256 = mathcomp-sha256.${mathcomp-version};
- };
+ } else mathcomp-version;
nativeBuildInputs = optionals withDoc [ graphviz ];
buildInputs = [ ncurses which ] ++ (with coq.ocamlPackages; [ ocaml findlib camlp5 ]);
@@ -111,21 +126,23 @@ let
};
};
in
- {"${mathcomp-pkg}" = stdenv.mkDerivation (attrs // overrides attrs);};
+ {${mathcomp-pkg} = stdenv.mkDerivation (attrs // overrides attrs);};
-getAttrOr = a: n: a."${n}" or (throw a.error);
+getAttrOr = a: n: a.${n} or (throw a.error);
mathcompCorePkgs_1_7 = mathcompGen "1.7.0";
mathcompCorePkgs_1_8 = mathcompGen "1.8.0";
+mathcompCorePkgs_1_9 = mathcompGen "1.9.0";
mathcompCorePkgs = recurseIntoAttrs
(mapDerivationAttrset dontDistribute (mathcompGen default-mathcomp-version));
-in rec {
+in {
# mathcompGenSingle: given a version of mathcomp
# generates an attribute set {single = ;} with the single mathcomp derivation
inherit mathcompGenSingle;
mathcomp_1_7_single = getAttrOr (mathcompGenSingle "1.7.0") "single";
mathcomp_1_8_single = getAttrOr (mathcompGenSingle "1.8.0") "single";
+mathcomp_1_9_single = getAttrOr (mathcompGenSingle "1.9.0") "single";
mathcomp_single = dontDistribute
(getAttrOr (mathcompGenSingle default-mathcomp-version) "single");
@@ -133,15 +150,19 @@ mathcomp_single = dontDistribute
# generates an attribute set {ssreflect = ; ... character = ; all = ;}.
# each of these have a special attribute overrideMathcomp which
# must be used instead of overrideAttrs in order to also fix the dependencies
-inherit mathcompGen mathcompCorePkgs_1_7 mathcompCorePkgs_1_8 mathcompCorePkgs;
+inherit mathcompGen mathcompCorePkgs
+ mathcompCorePkgs_1_7 mathcompCorePkgs_1_8 mathcompCorePkgs_1_9;
+
+mathcomp = getAttrOr mathcompCorePkgs "all";
mathcomp_1_7 = getAttrOr mathcompCorePkgs_1_7 "all";
mathcomp_1_8 = getAttrOr mathcompCorePkgs_1_8 "all";
-mathcomp = getAttrOr mathcompCorePkgs "all";
+mathcomp_1_9 = getAttrOr mathcompCorePkgs_1_9 "all";
-ssreflect = getAttrOr mathcompCorePkgs "ssreflect";
+ssreflect = getAttrOr mathcompCorePkgs "ssreflect";
} //
(mapAttrs' (n: pkg: {name = "mathcomp-${n}"; value = pkg;}) mathcompCorePkgs) //
(mapAttrs' (n: pkg: {name = "mathcomp-${n}_1_7"; value = pkg;}) mathcompCorePkgs_1_7) //
-(mapAttrs' (n: pkg: {name = "mathcomp-${n}_1_8"; value = pkg;}) mathcompCorePkgs_1_8)
+(mapAttrs' (n: pkg: {name = "mathcomp-${n}_1_8"; value = pkg;}) mathcompCorePkgs_1_8) //
+(mapAttrs' (n: pkg: {name = "mathcomp-${n}_1_9"; value = pkg;}) mathcompCorePkgs_1_9)
diff --git a/pkgs/development/coq-modules/mathcomp/extra.nix b/pkgs/development/coq-modules/mathcomp/extra.nix
index 3666d54a786..c342c25a411 100644
--- a/pkgs/development/coq-modules/mathcomp/extra.nix
+++ b/pkgs/development/coq-modules/mathcomp/extra.nix
@@ -1,12 +1,13 @@
-{ stdenv, fetchFromGitHub, coq, mathcomp, coqPackages,
+{ stdenv, fetchFromGitHub, coq, ssreflect, coqPackages,
recurseIntoAttrs }:
with builtins // stdenv.lib;
-let current-mathcomp = mathcomp; in
+let current-ssreflect = ssreflect; in
let
# configuring packages
param = {
finmap = {
version-sha256 = {
+ "1.2.1" = "0jryb5dq8js3imbmwrxignlk5zh8gwfb1wr4b1s7jbwz410vp7zf";
"1.2.0" = "0b6wrdr0d7rcnv86s37zm80540jl2wmiyf39ih7mw3dlwli2cyj4";
"1.1.0" = "05df59v3na8jhpsfp7hq3niam6asgcaipg2wngnzxzqnl86srp2a";
"1.0.0" = "0sah7k9qm8sw17cgd02f0x84hki8vj8kdz7h15i7rmz08rj0whpa";
@@ -19,6 +20,7 @@ param = {
};
multinomials = {
version-sha256 = {
+ "1.3" = "0l3vi5n094nx3qmy66hsv867fnqm196r8v605kpk24gl0aa57wh4";
"1.2" = "1mh1w339dslgv4f810xr1b8v2w7rpx6fgk9pz96q0fyq49fw2xcq";
"1.1" = "1q8alsm89wkc0lhcvxlyn0pd8rbl2nnxg81zyrabpz610qqjqc3s";
"1.0" = "1qmbxp1h81cy3imh627pznmng0kvv37k4hrwi2faa101s6bcx55m";
@@ -27,40 +29,94 @@ param = {
};
analysis = {
version-sha256 = {
+ "0.2.2" = "1d5dwg9di2ppdzfg21zr0a691zigb5kz0lcw263jpyli1nrq7cvk";
"0.2.0" = "1186xjxgns4ns1szyi931964bjm0mp126qzlv10mkqqgfw07nhrd";
"0.1.0" = "0hwkr2wzy710pcyh274fcarzdx8sv8myp16pv0vq5978nmih46al";
};
+ compatibleCoqVersions = flip elem ["8.8" "8.9"];
description = "Analysis library compatible with Mathematical Components";
+ license = stdenv.lib.licenses.cecill-c;
+ };
+ real-closed = {
+ version-sha256 = {
+ "1.0.3" = "1xbzkzqgw5p42dx1liy6wy8lzdk39zwd6j14fwvv5735k660z7yb";
+ "1.0.2" = "0097pafwlmzd0gyfs31bxpi1ih04i72nxhn99r93aj20mn7mcsgl";
+ "1.0.1" = "0j81gkjbza5vg89v4n9z598mfdbql416963rj4b8fzm7dp2r4rxg";
+ };
+ description = "Mathematical Components Library on real closed fields";
+ };
+ coqeal = {
+ version-sha256 = {
+ "1.0.0" = "1had6f1n85lmh9x31avbmgl3m0rsiw9f8ma95qzk5b57fjg5k1ii";
+ };
+ description = "CoqEAL - The Coq Effective Algebra Library";
+ owner = "CoqEAL";
+ compatibleCoqVersions = flip elem ["8.7" "8.8" "8.9"];
+ license = stdenv.lib.licenses.mit;
};
};
versions = {
- "1.8.0" = {
- finmap.version = "1.2.0";
+ "1.9.0" = {
+ finmap.version = "1.2.1";
bigenough.version = "1.0.0";
analysis = {
- version = "0.2.0";
- core-deps = with coqPackages; [ mathcomp_1_8-field ];
+ version = "0.2.2";
+ core-deps = with coqPackages; [ mathcomp-field_1_9 ];
+ extra-deps = with coqPackages; [ mathcomp_1_9-finmap mathcomp_1_9-bigenough ];
+ };
+ multinomials = {
+ version = "1.3";
+ core-deps = with coqPackages; [ mathcomp-algebra_1_9 ];
+ extra-deps = with coqPackages; [ mathcomp_1_9-finmap mathcomp_1_9-bigenough ];
+ };
+ real-closed = {
+ version = "1.0.3";
+ core-deps = with coqPackages; [ mathcomp-field_1_9 ];
+ extra-deps = with coqPackages; [ mathcomp_1_9-bigenough ];
+ };
+ };
+ "1.8.0" = {
+ finmap.version = "1.2.1";
+ bigenough.version = "1.0.0";
+ analysis = {
+ version = "0.2.2";
+ core-deps = with coqPackages; [ mathcomp-field_1_8 ];
extra-deps = with coqPackages; [ mathcomp_1_8-finmap mathcomp_1_8-bigenough ];
};
multinomials = {
- version = "1.2";
- core-deps = with coqPackages; [ mathcomp_1_8-algebra ];
+ version = "1.3";
+ core-deps = with coqPackages; [ mathcomp-algebra_1_8 ];
extra-deps = with coqPackages; [ mathcomp_1_8-finmap mathcomp_1_8-bigenough ];
};
+ real-closed = {
+ version = "1.0.3";
+ core-deps = with coqPackages; [ mathcomp-field_1_8 ];
+ extra-deps = with coqPackages; [ mathcomp_1_8-bigenough ];
+ };
+ coqeal = {
+ version = "1.0.0";
+ core-deps = with coqPackages; [ mathcomp-algebra_1_8 ];
+ extra-deps = with coqPackages; [ bignums paramcoq mathcomp_1_8-multinomials ];
+ };
};
"1.7.0" = {
finmap.version = "1.1.0";
bigenough.version = "1.0.0";
analysis = {
version = "0.1.0";
- core-deps = with coqPackages; [ mathcomp_1_7-field ];
+ core-deps = with coqPackages; [ mathcomp-field_1_7 ];
extra-deps = with coqPackages; [ mathcomp_1_7-finmap mathcomp_1_7-bigenough ];
};
multinomials = {
version = "1.1";
- core-deps = with coqPackages; [ mathcomp_1_7-algebra ];
+ core-deps = with coqPackages; [ mathcomp-algebra_1_7 ];
extra-deps = with coqPackages; [ mathcomp_1_7-finmap_1_0 mathcomp_1_7-bigenough ];
};
+ real-closed = {
+ version = "1.0.1";
+ core-deps = with coqPackages; [ mathcomp-field_1_7 ];
+ extra-deps = with coqPackages; [ mathcomp_1_7-bigenough ];
+ };
};
};
@@ -69,28 +125,34 @@ packageGen = {
# optional arguments
src ? "",
owner ? "math-comp",
- core-deps ? [ coqPackages.mathcomp-ssreflect ],
extra-deps ? [],
- coq-versions ? ["8.6" "8.7" "8.8" "8.9"],
- mathcomp ? current-mathcomp,
- license ? mathcomp.meta.license,
+ ssreflect ? current-ssreflect,
+ core-deps ? null,
+ compatibleCoqVersions ? null,
+ license ? ssreflect.meta.license,
# mandatory
package, version ? "broken", version-sha256, description
}:
- { "${package}" = let from = src; in
+ let
+ theCompatibleCoqVersions = if compatibleCoqVersions == null
+ then ssreflect.compatibleCoqVersions
+ else compatibleCoqVersions;
+ mc-core-deps = if builtins.isNull core-deps then [ssreflect] else core-deps;
+ in
+ { ${package} = let from = src; in
stdenv.mkDerivation rec {
inherit version;
- name = "coq${coq.coq-version}-mathcomp-${mathcomp.version}-${package}-${version}";
+ name = "coq${coq.coq-version}-mathcomp${ssreflect.version}-${package}-${version}";
src = if from == "" then fetchFromGitHub {
owner = owner;
repo = package;
rev = version;
- sha256 = version-sha256."${version}";
+ sha256 = version-sha256.${version};
} else from;
- propagatedBuildInputs = [ coq mathcomp ] ++ extra-deps;
+ propagatedBuildInputs = [ coq ] ++ mc-core-deps ++ extra-deps;
installFlags = "-f Makefile.coq COQLIB=$(out)/lib/coq/${coq.coq-version}/";
@@ -98,40 +160,43 @@ packageGen = {
inherit description;
inherit license;
inherit (src.meta) homepage;
- inherit (mathcomp.meta) platforms;
+ inherit (ssreflect.meta) platforms;
maintainers = [ stdenv.lib.maintainers.vbgl ];
broken = (version == "broken");
};
passthru = {
inherit version-sha256;
- compatibleCoqVersions = if meta.broken then _: false else
- v: builtins.elem v coq-versions;
+ compatibleCoqVersions = if meta.broken then _: false
+ else theCompatibleCoqVersions;
};
};
};
-current-versions = versions."${current-mathcomp.version}" or {};
+current-versions = versions.${current-ssreflect.version} or {};
select = x: mapAttrs (n: pkg: {package = n;} // pkg) (recursiveUpdate param x);
-all = (mapAttrs' (n: pkg:
- {name = "mathcomp_1_7-${n}";
- value = (packageGen ({mathcomp = coqPackages.mathcomp_1_7;} // pkg))."${n}";})
- (select versions."1.7.0")) //
- (mapAttrs' (n: pkg:
- {name = "mathcomp_1_8-${n}";
- value = (packageGen ({mathcomp = coqPackages.mathcomp_1_8;} // pkg))."${n}";})
- (select versions."1.8.0")) //
+for-version = v: suffix: (mapAttrs' (n: pkg:
+ {name = "mathcomp_${suffix}-${n}";
+ value = (packageGen ({
+ ssreflect = coqPackages."mathcomp-ssreflect_${suffix}";
+ } // pkg)).${n};})
+ (select versions.${v}));
+
+all = (for-version "1.7.0" "1_7") //
+ (for-version "1.8.0" "1_8") //
+ (for-version "1.9.0" "1_9") //
(recurseIntoAttrs (mapDerivationAttrset dontDistribute (
- mapAttrs' (n: pkg: {name = "mathcomp-${n}"; value = (packageGen pkg)."${n}";})
+ mapAttrs' (n: pkg: {name = "mathcomp-${n}"; value = (packageGen pkg).${n};})
(select current-versions))));
in
{
mathcompExtraGen = packageGen;
mathcomp_1_7-finmap_1_0 =
(packageGen (select {finmap = {version = "1.0.0";
- mathcomp = coqPackages.mathcomp_1_7;};
+ ssreflect = coqPackages.mathcomp-ssreflect_1_7;};
}).finmap).finmap;
multinomials = all.mathcomp-multinomials;
+coqeal = all.mathcomp-coqeal;
} // all
diff --git a/pkgs/development/coq-modules/paramcoq/default.nix b/pkgs/development/coq-modules/paramcoq/default.nix
index 472d3aeb2d0..a8dd74dd5fb 100644
--- a/pkgs/development/coq-modules/paramcoq/default.nix
+++ b/pkgs/development/coq-modules/paramcoq/default.nix
@@ -15,7 +15,7 @@ let params =
sha256 = "002xabhjlph394vydw3dx8ipv5ry2nq3py4440bk9a18ljx0w6ll";
};
};
- param = params."${coq.coq-version}";
+ param = params.${coq.coq-version};
in
stdenv.mkDerivation rec {
diff --git a/pkgs/development/coq-modules/simple-io/default.nix b/pkgs/development/coq-modules/simple-io/default.nix
index e685de4e974..e74b158d33a 100644
--- a/pkgs/development/coq-modules/simple-io/default.nix
+++ b/pkgs/development/coq-modules/simple-io/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, coq, coq-ext-lib }:
stdenv.mkDerivation rec {
- version = "1.0.0";
+ version = "1.2.0";
name = "coq${coq.coq-version}-simple-io-${version}";
src = fetchFromGitHub {
owner = "Lysxia";
repo = "coq-simple-io";
rev = version;
- sha256 = "06gnbl8chv6ig18rlxnp8gg0np6863kxd7j15h46q0v1cnpx84lp";
+ sha256 = "1im1vwp7l7ha8swnhgbih0qjg187n8yx14i003nf6yy7p0ryxc9m";
};
buildInputs = [ coq ] ++ (with coq.ocamlPackages; [ ocaml ocamlbuild ]);
diff --git a/pkgs/development/coq-modules/ssreflect/default.nix b/pkgs/development/coq-modules/ssreflect/default.nix
index 1fcb7e2da8a..01df38375ef 100644
--- a/pkgs/development/coq-modules/ssreflect/default.nix
+++ b/pkgs/development/coq-modules/ssreflect/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, coq, ncurses, which
+{ stdenv, coq, ncurses, which
, graphviz, mathcomp, withDoc ? false
}:
diff --git a/pkgs/development/coq-modules/stdpp/default.nix b/pkgs/development/coq-modules/stdpp/default.nix
index 883ed971b08..3ba99e87ffb 100644
--- a/pkgs/development/coq-modules/stdpp/default.nix
+++ b/pkgs/development/coq-modules/stdpp/default.nix
@@ -1,10 +1,14 @@
-{ stdenv, fetchzip, coq }:
+{ stdenv, fetchFromGitLab, coq }:
-stdenv.mkDerivation {
- name = "coq${coq.coq-version}-stdpp-1.1";
- src = fetchzip {
- url = "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp/-/archive/coq-stdpp-1.1.0/coq-stdpp-coq-stdpp-1.1.0.tar.gz";
- sha256 = "0z8zl288x9w32w06sjax01jcpy12wd5i3ygps58dl2hfy7r3lwg0";
+stdenv.mkDerivation rec {
+ name = "coq${coq.coq-version}-stdpp-${version}";
+ version = "1.2.1";
+ src = fetchFromGitLab {
+ domain = "gitlab.mpi-sws.org";
+ owner = "iris";
+ repo = "stdpp";
+ rev = "coq-stdpp-${version}";
+ sha256 = "1lczybg1jq9drbi8nzrlb0k199x4n07aawjwfzrl3qqc0w8kmvdz";
};
buildInputs = [ coq ];
@@ -14,7 +18,7 @@ stdenv.mkDerivation {
installFlags = [ "COQLIB=$(out)/lib/coq/${coq.coq-version}/" ];
meta = {
- homepage = "https://gitlab.mpi-sws.org/robbertkrebbers/coq-stdpp";
+ inherit (src.meta) homepage;
description = "An extended “Standard Library” for Coq";
inherit (coq.meta) platforms;
license = stdenv.lib.licenses.bsd3;
@@ -22,7 +26,7 @@ stdenv.mkDerivation {
};
passthru = {
- compatibleCoqVersions = v: builtins.elem v [ "8.6" "8.7" "8.8" ];
+ compatibleCoqVersions = v: builtins.elem v [ "8.7" "8.8" "8.9" "8.10" ];
};
}
diff --git a/pkgs/development/em-modules/generic/default.nix b/pkgs/development/em-modules/generic/default.nix
index f03e6e42739..d1e7ac882d7 100644
--- a/pkgs/development/em-modules/generic/default.nix
+++ b/pkgs/development/em-modules/generic/default.nix
@@ -7,10 +7,11 @@
, meta ? {}, ... } @ args:
pkgs.stdenv.mkDerivation (
- args //
+ args //
{
- name = "emscripten-${args.name}";
+ pname = "emscripten-${args.pname or (builtins.parseDrvName args.name).name}";
+ version = args.version or (builtins.parseDrvName args.name).version;
buildInputs = [ emscripten python ] ++ buildInputs;
nativeBuildInputs = [ emscripten python ] ++ nativeBuildInputs;
diff --git a/pkgs/development/go-modules/generic/default.nix b/pkgs/development/go-modules/generic/default.nix
index ca1bab1e087..55fda78b03e 100644
--- a/pkgs/development/go-modules/generic/default.nix
+++ b/pkgs/development/go-modules/generic/default.nix
@@ -7,6 +7,9 @@
, passthru ? {}
, patches ? []
+# A function to override the go-modules derivation
+, overrideModAttrs ? (_oldAttrs : {})
+
# modSha256 is the sha256 of the vendored dependencies
, modSha256
@@ -27,13 +30,13 @@
with builtins;
let
- args = removeAttrs args' [ "modSha256" "disabled" ];
+ args = removeAttrs args' [ "overrideModAttrs" "modSha256" "disabled" ];
removeReferences = [ ] ++ lib.optional (!allowGoReference) go;
removeExpr = refs: ''remove-references-to ${lib.concatMapStrings (ref: " -t ${ref}") refs}'';
- go-modules = go.stdenv.mkDerivation {
+ go-modules = go.stdenv.mkDerivation (let modArgs = {
name = "${name}-go-modules";
nativeBuildInputs = [ go git cacert ];
@@ -79,7 +82,7 @@ let
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = modSha256;
- };
+ }; in modArgs // overrideModAttrs modArgs);
package = go.stdenv.mkDerivation (args // {
nativeBuildInputs = [ removeReferencesTo go ] ++ nativeBuildInputs;
@@ -125,7 +128,7 @@ let
local type;
type="$1"
if [ -n "$subPackages" ]; then
- echo "./$subPackages"
+ echo "$subPackages" | sed "s,\(^\| \),\1./,g"
else
find . -type f -name \*$type.go -exec dirname {} \; | grep -v "/vendor/" | sort --unique
fi
@@ -144,6 +147,7 @@ let
export NIX_BUILD_CORES=1
fi
for pkg in $(getGoDirs ""); do
+ echo "Building subPackage $pkg"
buildGoDir install "$pkg"
done
'' + lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
diff --git a/pkgs/development/go-packages/generic/default.nix b/pkgs/development/go-packages/generic/default.nix
index eb45f446dc9..b3386aaf24b 100644
--- a/pkgs/development/go-packages/generic/default.nix
+++ b/pkgs/development/go-packages/generic/default.nix
@@ -35,14 +35,12 @@
# IE: programs coupled with the compiler
, allowGoReference ? false
-, meta ? {}, ... } @ args':
+, meta ? {}, ... } @ args:
with builtins;
let
- args = lib.filterAttrs (name: _: name != "extraSrcs") args';
-
removeReferences = [ ] ++ lib.optional (!allowGoReference) go;
removeExpr = refs: ''remove-references-to ${lib.concatMapStrings (ref: " -t ${ref}") refs}'';
@@ -74,14 +72,19 @@ let
goPath = if goDeps != null then importGodeps { depsFile = goDeps; } ++ extraSrcs
else extraSrcs;
- package = go.stdenv.mkDerivation (
- (builtins.removeAttrs args [ "goPackageAliases" "disabled" ]) // {
+ package = stdenv.mkDerivation (
+ (builtins.removeAttrs args [ "goPackageAliases" "disabled" "extraSrcs"]) // {
nativeBuildInputs = [ removeReferencesTo go ]
++ (lib.optional (!dontRenameImports) govers) ++ nativeBuildInputs;
buildInputs = buildInputs;
- inherit (go) GOOS GOARCH;
+ inherit (go) GOOS GOARCH GO386 CGO_ENABLED;
+
+ GOHOSTARCH = go.GOHOSTARCH or null;
+ GOHOSTOS = go.GOHOSTOS or null;
+
+ GOARM = toString (stdenv.lib.intersectLists [(stdenv.hostPlatform.parsed.cpu.version or "")] ["5" "6" "7"]);
configurePhase = args.configurePhase or ''
runHook preConfigure
diff --git a/pkgs/development/guile-modules/guile-cairo/default.nix b/pkgs/development/guile-modules/guile-cairo/default.nix
index 592e6ad8999..8377dad690f 100644
--- a/pkgs/development/guile-modules/guile-cairo/default.nix
+++ b/pkgs/development/guile-modules/guile-cairo/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, guile, guile-lib, cairo, expat }:
stdenv.mkDerivation rec {
- name = "guile-cairo-${version}";
+ pname = "guile-cairo";
version = "1.10.0";
src = fetchurl {
- url = "mirror://savannah/guile-cairo/${name}.tar.gz";
+ url = "mirror://savannah/guile-cairo/${pname}-${version}.tar.gz";
sha256 = "0p6xrhf2k6n5dybn88050za7h90gnd7534n62l53vsca187pwgdf";
};
diff --git a/pkgs/development/guile-modules/guile-gnome/default.nix b/pkgs/development/guile-modules/guile-gnome/default.nix
index 26fffac0a13..17f03f67cef 100644
--- a/pkgs/development/guile-modules/guile-gnome/default.nix
+++ b/pkgs/development/guile-modules/guile-gnome/default.nix
@@ -5,12 +5,11 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "guile-gnome-platform";
version = "2.16.4";
src = fetchurl {
- url = "mirror://gnu/guile-gnome/${pname}/${name}.tar.gz";
+ url = "mirror://gnu/guile-gnome/${pname}/${pname}-${version}.tar.gz";
sha256 = "adabd48ed5993d8528fd604e0aa0d96ad81a61d06da6cdd68323572ad6c216c3";
};
@@ -29,7 +28,7 @@ stdenv.mkDerivation rec {
longDescription = ''
GNU guile-gnome brings the power of Scheme to your graphical application.
guile-gnome modules support the entire Gnome library stack: from Pango to
- GnomeCanvas, Gtk+ to GStreamer, Glade to GtkSourceView, you will find in
+ GnomeCanvas, GTK to GStreamer, Glade to GtkSourceView, you will find in
guile-gnome a comprehensive environment for developing modern
applications.
'';
diff --git a/pkgs/development/guile-modules/guile-reader/default.nix b/pkgs/development/guile-modules/guile-reader/default.nix
index 35bcd7bfc2f..6ffcc153ec4 100644
--- a/pkgs/development/guile-modules/guile-reader/default.nix
+++ b/pkgs/development/guile-modules/guile-reader/default.nix
@@ -4,11 +4,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "guile-reader-${version}";
+ pname = "guile-reader";
version = "0.6.2";
src = fetchurl {
- url = "http://download.savannah.nongnu.org/releases/guile-reader/${name}.tar.gz";
+ url = "http://download.savannah.nongnu.org/releases/guile-reader/${pname}-${version}.tar.gz";
sha256 = "0592s2s8ampqmqwilc4fvcild6rb9gy79di6vxv5kcdmv23abkgx";
};
diff --git a/pkgs/development/guile-modules/guile-sdl/default.nix b/pkgs/development/guile-modules/guile-sdl/default.nix
index a606b3ecf28..41bfb2ef62a 100644
--- a/pkgs/development/guile-modules/guile-sdl/default.nix
+++ b/pkgs/development/guile-modules/guile-sdl/default.nix
@@ -3,12 +3,11 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "guile-sdl";
version = "0.5.2";
src = fetchurl {
- url = "mirror://gnu/${pname}/${name}.tar.xz";
+ url = "mirror://gnu/${pname}/${pname}-${version}.tar.xz";
sha256 = "0cjgs012a9922hn6xqwj66w6qmfs3nycnm56hyykx5n3g5p7ag01";
};
diff --git a/pkgs/development/guile-modules/guile-sdl2/default.nix b/pkgs/development/guile-modules/guile-sdl2/default.nix
index e4a548ae376..be885d990ec 100644
--- a/pkgs/development/guile-modules/guile-sdl2/default.nix
+++ b/pkgs/development/guile-modules/guile-sdl2/default.nix
@@ -5,13 +5,13 @@
let
name = "${pname}-${version}";
pname = "guile-sdl2";
- version = "0.3.1";
+ version = "0.4.0";
in stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "https://files.dthompson.us/${pname}/${name}.tar.gz";
- sha256 = "0bw7x2lx90k4banc5k7yfkn3as93y25gr1xdr225ll7lmij21k64";
+ sha256 = "0zcxwgyadwpbhq6h5mv2569c3kalgra26zc186y9fqiyyzmh1v9s";
};
nativeBuildInputs = [ libtool pkgconfig ];
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index f5c6f3da14a..c4cca42309d 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -32,32 +32,20 @@ self: super: {
# compiled on Linux. We provide the name to avoid evaluation errors.
unbuildable = throw "package depends on meta package 'unbuildable'";
- # Use the latest version of the Cabal library.
- cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_2_4_1_0; });
-
# The test suite depends on old versions of tasty and QuickCheck.
hackage-security = dontCheck super.hackage-security;
- # Link statically to avoid runtime dependency on GHC.
- jailbreak-cabal = disableSharedExecutables super.jailbreak-cabal;
-
# enable using a local hoogle with extra packagages in the database
# nix-shell -p "haskellPackages.hoogleLocal { packages = with haskellPackages; [ mtl lens ]; }"
# $ hoogle server
hoogleLocal = { packages ? [] }: self.callPackage ./hoogle.nix { inherit packages; };
- # Break infinite recursions.
- attoparsec-varword = super.attoparsec-varword.override { bytestring-builder-varword = dontCheck self.bytestring-builder-varword; };
- Dust-crypto = dontCheck super.Dust-crypto;
- hasql-postgres = dontCheck super.hasql-postgres;
- hspec-core = super.hspec-core.override { silently = dontCheck self.silently; temporary = dontCheck self.temporary; };
- hspec-expectations = dontCheck super.hspec-expectations;
- HTTP = dontCheck super.HTTP;
- http-streams = dontCheck super.http-streams;
- nanospec = dontCheck super.nanospec;
- options = dontCheck super.options;
+ # Needs older QuickCheck version
+ attoparsec-varword = dontCheck super.attoparsec-varword;
+
+ # Tests are failing
+ # https://github.com/bos/statistics/issues/123
statistics = dontCheck super.statistics;
- vector-builder = dontCheck super.vector-builder;
# These packages (and their reverse deps) cannot be built with profiling enabled.
ghc-heap-view = disableLibraryProfiling super.ghc-heap-view;
@@ -66,16 +54,13 @@ self: super: {
# This test keeps being aborted because it runs too quietly for too long
Lazy-Pbkdf2 = if pkgs.stdenv.isi686 then dontCheck super.Lazy-Pbkdf2 else super.Lazy-Pbkdf2;
- # Use the default version of mysql to build this package (which is actually mariadb).
- # test phase requires networking
- mysql = dontCheck (super.mysql.override { mysql = pkgs.mysql.connector-c; });
-
# check requires mysql server
mysql-simple = dontCheck super.mysql-simple;
mysql-haskell = dontCheck super.mysql-haskell;
- # Link the proper version.
- zeromq4-haskell = super.zeromq4-haskell.override { zeromq = pkgs.zeromq4; };
+ # Tests failing, fixed once 0.8.0 is in stackage
+ # https://gitlab.com/twittner/zeromq-haskell/issues/63
+ zeromq4-haskell = dontCheck super.zeromq4-haskell;
# The Hackage tarball is purposefully broken, because it's not intended to be, like, useful.
# https://git-annex.branchable.com/bugs/bash_completion_file_is_missing_in_the_6.20160527_tarball_on_hackage/
@@ -84,7 +69,7 @@ self: super: {
name = "git-annex-${super.git-annex.version}-src";
url = "git://git-annex.branchable.com/";
rev = "refs/tags/" + super.git-annex.version;
- sha256 = "0arripb1w3dcabjipdjrdq46q2z0l4b7jp0vl5iyhq7j0blg13xh";
+ sha256 = "1795sad0jr2da2pn28nbqsvpld6zw8gf9yscywixkbabf7ls66fn";
};
}).override {
dbus = if pkgs.stdenv.isLinux then self.dbus else null;
@@ -104,7 +89,7 @@ self: super: {
# https://github.com/froozen/kademlia/issues/2
kademlia = dontCheck super.kademlia;
- # Test suite doesn't terminate
+ # Tests require older tasty
hzk = dontCheck super.hzk;
# Tests require a Kafka broker running locally
@@ -161,32 +146,29 @@ self: super: {
else super.halive;
# Hakyll's tests are broken on Darwin (3 failures); and they require util-linux
- hakyll = if pkgs.stdenv.isDarwin
+ hakyll = appendPatch
+ (if pkgs.stdenv.isDarwin
then dontCheck (overrideCabal super.hakyll (drv: {
testToolDepends = [];
}))
- else super.hakyll;
+ else super.hakyll)
+ (pkgs.fetchpatch {
+ url = https://github.com/jaspervdj/hakyll/commit/25a4460b75b3c9f3ce339b3311b084d92994f5f1.patch;
+ sha256 = "sha256-F59WHt52LOKGsGoaD3LAIZFEMe9s9WHfGxQgSh9Q8uQ=";
+ });
double-conversion = if !pkgs.stdenv.isDarwin
then super.double-conversion
else addExtraLibrary super.double-conversion pkgs.libcxx;
- inline-c-cpp = if !pkgs.stdenv.isDarwin
- then super.inline-c-cpp
- else
- let drv = addExtraLibrary (overrideCabal super.inline-c-cpp (drv: {
- postPatch = ''
- substituteInPlace inline-c-cpp.cabal --replace stdc++ c++
- '';
- })) pkgs.libcxx;
- in # https://github.com/fpco/inline-c/issues/75
- dontCheck drv;
+ inline-c-cpp = overrideCabal super.inline-c-cpp (drv: {
+ postPatch = (drv.postPatch or "") + ''
+ substituteInPlace inline-c-cpp.cabal --replace "-optc-std=c++11" ""
+ '';
+ });
inline-java = addBuildDepend super.inline-java pkgs.jdk;
- # https://github.com/mvoidex/hsdev/issues/11
- hsdev = dontHaddock super.hsdev;
-
# Upstream notified by e-mail.
permutation = dontCheck super.permutation;
@@ -234,15 +216,19 @@ self: super: {
# base bound
digit = doJailbreak super.digit;
+ # Needs older version of QuickCheck.
+ these_0_7_6 = doJailbreak super.these_0_7_6;
+
# dontCheck: Can be removed once https://github.com/haskell-nix/hnix/commit/471712f is in (5.2 probably)
# This is due to GenList having been removed from generic-random in 1.2.0.0
# doJailbreak: Can be removed once https://github.com/haskell-nix/hnix/pull/329 is in (5.2 probably)
# This is due to hnix currently having an upper bound of <0.5 on deriving-compat, works just fine with our current version 0.5.1 though
+ # Does not support recent versions of "these".
+ # https://github.com/haskell-nix/hnix/issues/514
hnix =
generateOptparseApplicativeCompletion "hnix" (
- dontCheck (doJailbreak (overrideCabal super.hnix (old: {
- testHaskellDepends = old.testHaskellDepends or [] ++ [ pkgs.nix ];
- }))));
+ dontCheck (doJailbreak (super.hnix.override { these = self.these_0_7_6; }))
+ );
# Fails for non-obvious reasons while attempting to use doctest.
search = dontCheck super.search;
@@ -339,6 +325,7 @@ self: super: {
lensref = dontCheck super.lensref;
lucid = dontCheck super.lucid; #https://github.com/chrisdone/lucid/issues/25
lvmrun = disableHardening (dontCheck super.lvmrun) ["format"];
+ matplotlib = dontCheck super.matplotlib;
memcache = dontCheck super.memcache;
MemoTrie = dontHaddock (dontCheck super.MemoTrie);
metrics = dontCheck super.metrics;
@@ -369,6 +356,7 @@ self: super: {
pwstore-cli = dontCheck super.pwstore-cli;
quantities = dontCheck super.quantities;
redis-io = dontCheck super.redis-io;
+ reflex = dontCheck super.reflex; # test suite uses hlint, which has different haskell-src-exts version
rethinkdb = dontCheck super.rethinkdb;
Rlang-QQ = dontCheck super.Rlang-QQ;
safecopy = dontCheck super.safecopy;
@@ -397,6 +385,7 @@ self: super: {
xsd = dontCheck super.xsd;
snap-core = dontCheck super.snap-core;
sourcemap = dontCheck super.sourcemap;
+ zip-archive = dontCheck super.zip-archive; # https://github.com/jgm/zip-archive/issues/57
# These test suites run for ages, even on a fast machine. This is nuts.
Random123 = dontCheck super.Random123;
@@ -724,15 +713,9 @@ self: super: {
'';
});
- # A simple MonadFail patch would do too, but not doing the tests is easier
- megaparsec_6_5_0 = dontCheck super.megaparsec_6_5_0;
-
# The standard libraries are compiled separately
idris = generateOptparseApplicativeCompletion "idris" (
- doJailbreak (dontCheck (super.idris.override {
- # Needed for versions <= 1.3.1 https://github.com/idris-lang/Idris-dev/pull/4610
- megaparsec = self.megaparsec_6_5_0;
- }))
+ doJailbreak (dontCheck super.idris)
);
# https://github.com/bos/math-functions/issues/25
@@ -872,7 +855,7 @@ self: super: {
# Wrap the generated binaries to include their run-time dependencies in
# $PATH. Also, cryptol needs a version of sbl that's newer than what we have
# in LTS-13.x.
- cryptol = overrideCabal (super.cryptol.override { sbv = self.sbv_8_2; }) (drv: {
+ cryptol = overrideCabal super.cryptol (drv: {
buildTools = drv.buildTools or [] ++ [ pkgs.makeWrapper ];
postInstall = drv.postInstall or "" + ''
for b in $out/bin/cryptol $out/bin/cryptol-html; do
@@ -1003,26 +986,19 @@ self: super: {
'';
});
- # https://github.com/haskell-rewriting/term-rewriting/issues/11
- term-rewriting = dontCheck (doJailbreak super.term-rewriting);
+ # https://github.com/haskell-rewriting/term-rewriting/pull/15
+ # remove on next hackage update
+ term-rewriting = doJailbreak super.term-rewriting;
- # https://github.com/nick8325/twee/pull/1
- twee-lib = dontHaddock super.twee-lib;
-
- # Needs older hlint
- hpio = dontCheck super.hpio;
-
- # https://github.com/fpco/inline-c/issues/72
- inline-c = dontCheck super.inline-c;
-
- # https://github.com/GaloisInc/pure-zlib/issues/6
+ # https://github.com/GaloisInc/pure-zlib/pull/11
pure-zlib = doJailbreak super.pure-zlib;
- # https://github.com/strake/lenz-template.hs/issues/1
+ # https://github.com/strake/lenz-template.hs/pull/2
lenz-template = doJailbreak super.lenz-template;
- # https://github.com/haskell-hvr/resolv/issues/1
+ # https://github.com/haskell-hvr/resolv/pull/6
resolv = dontCheck super.resolv;
+ resolv_0_1_1_2 = dontCheck super.resolv_0_1_1_2;
# spdx 0.2.2.0 needs older tasty
# was fixed in spdx master (4288df6e4b7840eb94d825dcd446b42fef25ef56)
@@ -1033,11 +1009,6 @@ self: super: {
testSystemDepends = (drv.testSystemDepends or []) ++ [pkgs.which];
preCheck = ''export PATH="$PWD/dist/build/alex:$PATH"'';
});
- arbtt = overrideCabal super.arbtt (drv: {
- preCheck = ''
- for n in $PWD/dist/build/*; do PATH+=":$n"; done
- '';
- });
# This package refers to the wrong library (itself in fact!)
vulkan = super.vulkan.override { vulkan = pkgs.vulkan-loader; };
@@ -1048,16 +1019,11 @@ self: super: {
# };
# https://github.com/dmwit/encoding/pull/3
- encoding = appendPatch super.encoding ./patches/encoding-Cabal-2.0.patch;
-
- clock = dontCheck (appendPatch super.clock ./patches/clock-0.7.2.patch);
+ encoding = doJailbreak (appendPatch super.encoding ./patches/encoding-Cabal-2.0.patch);
# Work around overspecified constraint on github ==0.18.
github-backup = doJailbreak super.github-backup;
- # https://github.com/fpco/streaming-commons/issues/49
- streaming-commons = dontCheck super.streaming-commons;
-
# Test suite depends on old QuickCheck 2.10.x.
cassava = dontCheck super.cassava;
@@ -1076,9 +1042,11 @@ self: super: {
dontCheck super.dhall
);
+ # Missing test files in source distribution, fixed once 1.4.0 is bumped
+ # https://github.com/dhall-lang/dhall-haskell/pull/997
dhall-json =
generateOptparseApplicativeCompletions ["dhall-to-json" "dhall-to-yaml"] (
- super.dhall-json
+ dontCheck super.dhall-json
);
dhall-nix =
@@ -1086,32 +1054,23 @@ self: super: {
super.dhall-nix
);
- # https://github.com/well-typed/cborg/issues/174
- cborg = doJailbreak super.cborg;
- serialise = doJailbreak (dontCheck super.serialise);
-
# https://github.com/haskell-hvr/netrc/pull/2#issuecomment-469526558
netrc = doJailbreak super.netrc;
- # https://github.com/phadej/tree-diff/issues/19
- tree-diff = doJailbreak super.tree-diff;
-
# https://github.com/haskell-hvr/hgettext/issues/14
hgettext = doJailbreak super.hgettext;
+ # haddock-api-2.22.0: Break out of “QuickCheck ==2.11.*, hspec >=2.4.4 && <2.6”
+ haddock-api = dontHaddock (doJailbreak (super.haddock-api));
+
# The test suite is broken. Break out of "base-compat >=0.9.3 && <0.10, hspec >=2.4.4 && <2.5".
haddock-library = doJailbreak (dontCheck super.haddock-library);
# haddock-library_1_6_0 = doJailbreak (dontCheck super.haddock-library_1_6_0);
- # Break out of tasty >=0.10 && <1.2.
- aeson-compat = doJailbreak super.aeson-compat;
-
- # Break out of pretty-show >=1.6 && <1.9
- hedgehog = doJailbreak super.hedgehog;
-
# Generate shell completion.
cabal2nix = generateOptparseApplicativeCompletion "cabal2nix" super.cabal2nix;
- stack = generateOptparseApplicativeCompletion "stack" super.stack;
+ stack = generateOptparseApplicativeCompletion "stack" (super.stack.overrideScope (self: super: {
+ }));
# musl fixes
# dontCheck: use of non-standard strptime "%s" which musl doesn't support; only used in test
@@ -1148,22 +1107,6 @@ self: super: {
# Generate shell completions
purescript = generateOptparseApplicativeCompletion "purs" super.purescript;
- # https://github.com/adinapoli/mandrill/pull/52
- mandrill = appendPatch super.mandrill (pkgs.fetchpatch {
- url = https://github.com/adinapoli/mandrill/commit/30356d9dfc025a5f35a156b17685241fc3882c55.patch;
- sha256 = "1qair09xs6vln3vsjz7sy4hhv037146zak4mq3iv6kdhmp606hqv";
- });
-
- # https://github.com/Euterpea/Euterpea2/pull/22
- Euterpea = overrideSrc super.Euterpea {
- src = pkgs.fetchFromGitHub {
- owner = "Euterpea";
- repo = "Euterpea2";
- rev = "6f49b790adfb8b65d95a758116c20098fb0cd34c";
- sha256 = "0qz1svb96n42nmig16vyphwxas34hypgayvwc91ri7w7xd6yi1ba";
- };
- };
-
# https://github.com/kcsongor/generic-lens/pull/65
generic-lens = dontCheck super.generic-lens;
@@ -1186,14 +1129,8 @@ self: super: {
# https://github.com/mgajda/json-autotype/issues/25
json-autotype = dontCheck super.json-autotype;
- # The LTS-12.x version doesn't suffice to build hlint, hoogle, etc.
- hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_21_0; });
- hoogle = super.hoogle.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_21_0; });
-
# Jailbreak tasty < 1.2: https://github.com/phadej/tdigest/issues/30
tdigest = doJailbreak super.tdigest; # until tdigest > 0.2.1
- these = doJailbreak super.these; # until these >= 0.7.6
- insert-ordered-containers = appendPatch super.insert-ordered-containers ./patches/insert-ordered-containers-fix-test.patch;
uri-bytestring = appendPatch super.uri-bytestring (pkgs.fetchpatch {
url = "https://github.com/Soostone/uri-bytestring/commit/e5c5602a97160a6a6304a24947e33e47c9155460.patch";
@@ -1205,13 +1142,6 @@ self: super: {
testToolDepends = (drv.testToolDepends or []) ++ [pkgs.postgresql];
});
- # https://github.com/sighingnow/computations/pull/1
- primesieve = appendPatch super.primesieve (pkgs.fetchpatch {
- url = "https://github.com/sighingnow/computations/commit/1f96788367c879b999afe733e2fe28d919d17702.patch";
- sha256 = "0lrcmcrxp9imj9rfaq7mb0fn9mxms4gq4sz95n4san3dpd0qmj9x";
- stripLen = 1;
- });
-
# Fix for base >= 4.11
scat = overrideCabal super.scat (drv: {
patches = [(pkgs.fetchpatch {
@@ -1228,38 +1158,29 @@ self: super: {
'';
});
- # Use latest pandoc despite what LTS says.
- # Test suite fails in both 2.5 and 2.6: https://github.com/jgm/pandoc/issues/5309.
- pandoc = doDistribute super.pandoc_2_7_2;
- pandoc-citeproc = doDistribute super.pandoc-citeproc_0_16_2;
-
- # Current versions of tasty-hedgehog need hedgehog 1.x, which
- # we don't have in LTS-13.x.
- tasty-hedgehog = super.tasty-hedgehog.override { hedgehog = self.hedgehog_1_0; };
+ # test suite failure: https://github.com/jgm/pandoc/issues/5582
+ pandoc = dontCheck super.pandoc;
# The latest release version is ancient. You really need this tool from git.
haskell-ci = generateOptparseApplicativeCompletion "haskell-ci"
(addBuildDepend (overrideSrc (dontCheck super.haskell-ci) {
- version = "20190307-git";
+ version = "20190814-git";
src = pkgs.fetchFromGitHub {
owner = "haskell-CI";
repo = "haskell-ci";
- rev = "2baceb59bc2f36e798ff9fb6e8865c449f01d3a2";
- sha256 = "1wqhqajxni6h9rrj22xj6421d4m0gs8qk2glghpdp307ns5gr2j4";
+ rev = "70918d80b6fd43aca7e4d00ba0d2ea116b666556";
+ sha256 = "0bzp959qy74zmqq75f60rcixpjbvvyrb5a8zp2nyql3nm9vxzy5k";
};
- }) (with self; [base-compat generic-lens microlens optparse-applicative ShellCheck]));
+ }) (with self; [temporary lattices Cabal_3_0_0_0]));
# Fix build with attr-2.4.48 (see #53716)
xattr = appendPatch super.xattr ./patches/xattr-fix-build.patch;
- # Break out of pandoc >=2.0 && <2.7 (https://github.com/pbrisbin/yesod-markdown/pull/65)
- yesod-markdown = doJailbreak super.yesod-markdown;
-
# These packages needs network 3.x, which is not in LTS-13.x.
- network-bsd = super.network-bsd.override { network = self.network_3_0_1_1; };
+ network-bsd_2_8_1_0 = super.network-bsd_2_8_1_0.override { network = self.network_3_0_1_1; };
lambdabot-core = super.lambdabot-core.overrideScope (self: super: { network = self.network_3_0_1_1; hslogger = self.hslogger_1_3_0_0; });
lambdabot-reference-plugins = super.lambdabot-reference-plugins.overrideScope (self: super: { network = self.network_3_0_1_1; hslogger = self.hslogger_1_3_0_0; });
- lambdabot-haskell-plugins = super.lambdabot-haskell-plugins.overrideScope (self: super: { network = self.network_3_0_1_1; socks = self.socks_0_6_0; connection = self.connection_0_3_0; haskell-src-exts = self.haskell-src-exts_1_21_0; });
+ lambdabot-haskell-plugins = super.lambdabot-haskell-plugins.overrideScope (self: super: { network = self.network_3_0_1_1; });
# Some tests depend on a postgresql instance
# Haddock failure: https://github.com/haskell/haddock/issues/979
@@ -1275,11 +1196,36 @@ self: super: {
# Has tasty < 1.2 requirement, but works just fine with 1.2
temporary-resourcet = doJailbreak super.temporary-resourcet;
- # Tests require internet
- dhall_1_23_0 = dontCheck super.dhall_1_23_0;
-
# Requires dhall >= 1.23.0
- ats-pkg = super.ats-pkg.override { dhall = self.dhall_1_23_0; };
- dhall-to-cabal = super.dhall-to-cabal.override { dhall = self.dhall_1_23_0; };
+ ats-pkg = super.ats-pkg.override { dhall = self.dhall_1_25_0; };
+ dhall-to-cabal = super.dhall-to-cabal.override { dhall = self.dhall_1_25_0; };
+
+ # Test suite doesn't work with current QuickCheck
+ # https://github.com/pruvisto/heap/issues/11
+ heap = dontCheck super.heap;
+
+ # Test suite won't link for no apparent reason.
+ constraints-deriving = dontCheck super.constraints-deriving;
+
+ # need newer version of ghc-libparser
+ hlint = super.hlint.override { ghc-lib-parser = self.ghc-lib-parser_8_8_0_20190723; };
+
+ # https://github.com/sol/hpack/issues/366
+ hpack = self.hpack_0_32_0;
+
+ # QuickCheck >=2.3 && <2.13, hspec >=2.1 && <2.7
+ graphviz = dontCheck super.graphviz;
+
+ # https://github.com/elliottt/hsopenid/issues/15
+ openid = markBroken super.openid;
+
+ # The test suite needs the packages's executables in $PATH to succeed.
+ arbtt = overrideCabal super.arbtt (drv: {
+ preCheck = ''
+ for i in $PWD/dist/build/*; do
+ export PATH="$i:$PATH"
+ done
+ '';
+ });
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
index de01fe4cd12..8e796aa3f1f 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix
@@ -39,12 +39,12 @@ self: super: {
# These are now core libraries in GHC 8.4.x.
mtl = self.mtl_2_2_2;
- parsec = self.parsec_3_1_13_0;
+ parsec = self.parsec_3_1_14_0;
stm = self.stm_2_5_0_0;
- text = self.text_1_2_3_1;
+ text = self.text_1_2_4_0;
- # Build with the latest Cabal version, which works best albeit not perfectly.
- jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_2_2_0_1; };
+ # Needs Cabal 3.0.x.
+ jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_3_0_0_0; };
# https://github.com/bmillwood/applicative-quoters/issues/6
applicative-quoters = appendPatch super.applicative-quoters (pkgs.fetchpatch {
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
index e8c138e594c..513c55ea9e9 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
@@ -40,6 +40,10 @@ self: super: {
unix = null;
xhtml = null;
+ # Needs Cabal 3.0.x.
+ cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; });
+ jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_3_0_0_0; };
+
# Restricts aeson to <1.4
# https://github.com/purescript/purescript/pull/3537
purescript = doJailbreak super.purescript;
@@ -76,4 +80,7 @@ self: super: {
aeson = addBuildDepend super.aeson self.contravariant;
base-compat-batteries = addBuildDepend super.base-compat-batteries self.contravariant;
+ # Newer versions don't compile.
+ resolv = self.resolv_0_1_1_2;
+
}
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
index 8d0582a8d06..d2e463b123c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix
@@ -41,6 +41,10 @@ self: super: {
unix = null;
xhtml = null;
+ # Needs Cabal 3.0.x.
+ cabal-install = super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal_3_0_0_0; });
+ jailbreak-cabal = super.jailbreak-cabal.override { Cabal = self.Cabal_3_0_0_0; };
+
# https://github.com/tibbe/unordered-containers/issues/214
unordered-containers = dontCheck super.unordered-containers;
@@ -88,4 +92,7 @@ self: super: {
version = "0.8.6.0-pre-release";
};
+ # Newer versions don't compile.
+ resolv = self.resolv_0_1_1_2;
+
}
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
index dc3071e5fab..69bd3844c9c 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -41,39 +41,16 @@ self: super: {
unix = null;
xhtml = null;
- # Use the current git version of cabal-install.
- cabal-install = overrideCabal (super.cabal-install.overrideScope (self: super: { Cabal = self.Cabal-git; })) (drv: {
- src = pkgs.fetchFromGitHub {
- owner = "haskell";
- repo = "cabal";
- rev = "e98f6c26fa301b49921c2df67934bf9b0a4f3386";
- sha256 = "15nrkvckq2rw31z7grgbsg5f0gxfc09afsrqdfi4n471k630xd2i";
- };
- version = "20190510-git";
- editedCabalFile = null;
- postUnpack = "sourceRoot+=/cabal-install";
- jailbreak = true;
- });
- Cabal-git = overrideCabal super.Cabal_2_4_1_0 (drv: {
- src = pkgs.fetchFromGitHub {
- owner = "haskell";
- repo = "cabal";
- rev = "e98f6c26fa301b49921c2df67934bf9b0a4f3386";
- sha256 = "15nrkvckq2rw31z7grgbsg5f0gxfc09afsrqdfi4n471k630xd2i";
- };
- version = "20190510-git";
- editedCabalFile = null;
- postUnpack = "sourceRoot+=/Cabal";
- });
-
# Ignore overly restrictive upper version bounds.
async = doJailbreak super.async;
+ cabal-install = doJailbreak super.cabal-install;
ChasingBottoms = doJailbreak super.ChasingBottoms;
cryptohash-sha256 = doJailbreak super.cryptohash-sha256;
Diff = dontCheck super.Diff;
doctest = doJailbreak super.doctest;
hashable = doJailbreak super.hashable;
hashable-time = doJailbreak super.hashable-time;
+ hledger-lib = doJailbreak super.hledger-lib; # base >=4.8 && <4.13, easytest >=0.2.1 && <0.3
integer-logarithms = doJailbreak super.integer-logarithms;
lucid = doJailbreak super.lucid;
parallel = doJailbreak super.parallel;
@@ -82,8 +59,6 @@ self: super: {
split = doJailbreak super.split;
tasty-expected-failure = doJailbreak super.tasty-expected-failure;
test-framework = doJailbreak super.test-framework;
- th-lift = self.th-lift_0_8_0_1;
- hledger-lib = doJailbreak super.hledger-lib; # base >=4.8 && <4.13, easytest >=0.2.1 && <0.3
# These packages don't work and need patching and/or an update.
primitive = overrideSrc (doJailbreak super.primitive) {
@@ -95,62 +70,22 @@ self: super: {
sha256 = "1p1pinca33vd10iy7hl20c1fc99vharcgcai6z3ngqbq50k2pd3q";
};
};
- tar = overrideCabal (appendPatch super.tar (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/tar-0.5.1.0.patch";
- sha256 = "1inbfpamfdpi3yfac59j5xpaq5fvh5g1ca8hlbpic1bizd3s03i0";
- })) (drv: {
- configureFlags = ["-f-old-time"];
- editedCabalFile = null;
- preConfigure = ''
- cp -v ${pkgs.fetchurl {url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/tar-0.5.1.0.cabal"; sha256 = "1lydbwsmccf2av0g61j07bx7r5mzbcfgwvmh0qwg3a91857x264x";}} tar.cabal
- sed -i -e 's/time < 1.9/time < 2/' tar.cabal
- '';
- });
- resolv = overrideCabal (overrideSrc super.resolv {
- version = "20180411-git";
- src = pkgs.fetchFromGitHub {
- owner = "haskell-hvr";
- repo = "resolv";
- rev = "a22f9dd900cb276b3dd70f4781fb436d617e2186";
- sha256 = "1j2jyywmxjhyk46kxff625yvg5y37knv7q6y0qkwiqdwdsppccdk";
- };
- }) (drv: {
- buildTools = with pkgs; [autoconf];
- preConfigure = "autoreconf --install";
- });
- dlist = appendPatch (doJailbreak super.dlist) (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/dlist-0.8.0.6.patch";
- sha256 = "0lkhibfxfk6mi796mrjgmbb50hbyjgc7xdinci64dahj8325jlpc";
- });
vector-th-unbox = appendPatch super.vector-th-unbox (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/vector-th-unbox-0.2.1.6.patch";
sha256 = "0169yf9ms1g5mmkc5l6hpffzm34zdrqdng4df02nbdmfgba45h19";
});
- cabal-doctest = appendPatch (doJailbreak super.cabal-doctest) (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/cabal-doctest-1.0.6.patch";
- sha256 = "0735mkxhv557pgnfvdjakkw9r85l5gy28grdwg929m26ghbf9s8j";
- });
- QuickCheck = appendPatch super.QuickCheck (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/QuickCheck-2.13.1.patch";
- sha256 = "138yrp3x5cnvncimrnhnkawz6clyk7fj3sr3y93l5szfr11kcvbl";
- });
- regex-base = appendPatch super.regex-base (pkgs.fetchpatch {
+ cabal-doctest = super.cabal-doctest_1_0_7;
+ regex-base = overrideCabal (appendPatch super.regex-base (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/regex-base-0.93.2.patch";
sha256 = "01d1plrdx6hcspwn2h6y9pyi5366qk926vb5cl5qcl6x4m23l6y1";
+ })) (drv: {
+ preConfigure = "sed -i -e 's/base >=4 && < 4.13,/base,/' regex-base.cabal";
});
regex-posix = appendPatch super.regex-posix (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/regex-posix-0.95.2.patch";
sha256 = "006yli58jpqp786zm1xlncjsilc38iv3a09r4pv94l587sdzasd2";
});
- th-abstraction = appendPatch (doJailbreak super.th-abstraction) (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/th-abstraction-0.2.11.0.patch";
- sha256 = "0czqfszfblz6bvsybcd1z5jijj79f9czqq6dn992wp2gibsbrgj3";
- });
- zlib = appendPatch super.zlib (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/zlib-0.6.2.patch";
- sha256 = "13fy730z9ihyc9kw3qkh642mi0bdbd7bz01dksj1zz845pr9jjif";
- });
- haskell-src-exts = appendPatch super.haskell-src-exts_1_21_0 (pkgs.fetchpatch {
+ haskell-src-exts = appendPatch super.haskell-src-exts (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/haskell-src-exts-1.21.0.patch";
sha256 = "0alb28hcsp774c9s73dgrajcb44vgv1xqfg2n5a9y2bpyngqscs3";
});
@@ -158,17 +93,13 @@ self: super: {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/optparse-applicative-0.14.3.0.patch";
sha256 = "068sjj98jqiq3h8h03mg4w2pa11q8lxkx2i4lmxivq77xyhlwq3y";
});
- HTTP = appendPatch (doJailbreak super.HTTP) (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/HTTP-4000.3.13.patch";
- sha256 = "1fadi529x7dnmbfmls5969qfn9d4z954nc4lbqxmrwgirphkpmn4";
- });
hackage-security = appendPatch (doJailbreak super.hackage-security) (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/hackage-security-0.5.3.0.patch";
sha256 = "0l8x0pbsn18fj5ak5q0g5rva4xw1s9yc4d86a1pfyaz467b9i5a4";
});
happy = appendPatch super.happy (pkgs.fetchpatch {
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/happy-1.19.9.patch";
- sha256 = "1zmcb7dgcwivq2mddcy1f20djw2kds1m7ahwsa4xpbbwnijc6zjx";
+ url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/happy-1.19.11.patch";
+ sha256 = "16m659kxbq0s87ak2y1pqggfy67yfvcwc0zi3hcphf3v8735xhkk";
});
hedgehog = appendPatch super.hedgehog (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/hedgehog-0.6.1.patch";
@@ -179,15 +110,10 @@ self: super: {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/regex-tdfa-1.2.3.1.patch";
sha256 = "1lhas4s2ms666prb475gaw2bqw1v4y8cxi66sy20j727sx7ppjs7";
});
- unordered-containers = self.unordered-containers_0_2_10_0;
- attoparsec = appendPatch super.attoparsec (pkgs.fetchpatch {
+ attoparsec = appendPatch (doJailbreak super.attoparsec) (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/attoparsec-0.13.2.2.patch";
sha256 = "13i1p5g0xzxnv966nlyb77mfmxvg9jzbym1d36h1ajn045yf4igl";
});
- aeson = appendPatch (dontCheck super.aeson) (pkgs.fetchpatch { # the test suite breaks the compiler
- url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/aeson-1.4.3.0.patch";
- sha256 = "1z6wmsmc682qs3y768r0zx493dxardwbsp0wdc4dsx83c0m5x66f";
- });
cassava = appendPatch super.cassava (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/cassava-0.5.1.0.patch";
sha256 = "11scwwjp94si90vb8v5yr291g9qwv5l223z8y0g0lc63932bp63g";
@@ -196,9 +122,51 @@ self: super: {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/shakespeare-2.0.20.patch";
sha256 = "1dgx41ylahj4wk8r422aik0d7qdpawdga4gqz905nvlnhqjla58y";
});
+ socks = appendPatch super.socks (pkgs.fetchpatch {
+ url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/socks-0.6.0.patch";
+ sha256 = "1dsqmx0sw62x4glh43c0sbizd2y00v5xybiqadn96v6pmfrap5cp";
+ });
lens = appendPatch (doJailbreak super.lens) (pkgs.fetchpatch {
url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/lens-4.17.1.patch";
sha256 = "0w89ipi6dfkx5vlw4a64hh6fd0bm9hg33mwpghliyyxik5jmilv1";
});
-
+ polyparse = appendPatch (doJailbreak super.polyparse) (pkgs.fetchpatch {
+ url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/polyparse-1.12.1.patch";
+ sha256 = "01b2gnsq0x4fd9na8zpk6pajym55mbz64hgzawlwxdw0y6681kr5";
+ });
+ foundation = dontCheck super.foundation;
+ memory = overrideCabal (appendPatch super.memory (pkgs.fetchpatch {
+ url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/memory-0.14.18.patch";
+ sha256 = "16ar8921s3bi31y1az9zgyg0iaxxc2wvvwqjnl11a17p03wi6b29";
+ })) (drv: {
+ editedCabalFile = null;
+ preConfigure = ''
+ cp -v ${pkgs.fetchurl {url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/memory-0.14.18.cabal"; sha256 = "1325wny0irnq51rz0f4xgkvm01p6n4z5jid2jgpkhjac8a2sdgwl";}} memory.cabal
+ '';
+ });
+ chell = overrideCabal (doJailbreak super.chell) (_drv: {
+ broken = false;
+ });
+ th-expand-syns = doJailbreak super.th-expand-syns;
+ shelly = overrideCabal (appendPatch (doJailbreak super.shelly) (pkgs.fetchpatch {
+ url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/shelly-1.8.1.patch";
+ sha256 = "1kglbwrr4ra81v9x3bfsk5l6pyl0my2a1zkr3qjjx7acn0dfpgbc";
+ })) (drv: {
+ editedCabalFile = null;
+ preConfigure = ''
+ cp -v ${pkgs.fetchurl {url = "https://raw.githubusercontent.com/hvr/head.hackage/master/patches/shelly-1.8.1.cabal"; sha256 = "0crf0m077wky76f5nav2p9q4fa5q4yhv5l4bq9hd073dzdaywhz0";}} shelly.cabal
+ sed -i -e 's/< 1.9,/< 2,/' shelly.cabal # bump time version
+ '';
+ });
+ system-fileio = doJailbreak super.system-fileio;
+ yaml = self.yaml_0_11_1_2;
+ haskell-src-meta = appendPatch (dontCheck (doJailbreak super.haskell-src-meta)) (pkgs.fetchpatch {
+ url = "https://gitlab.haskell.org/ghc/head.hackage/raw/master/patches/haskell-src-meta-0.8.2.patch";
+ sha256 = "146im1amywyl29kcldvgrxpwj22lrpzxysl7vc8rmn3hrq130dyc";
+ });
+ asn1-encoding = appendPatch (dontCheck (doJailbreak super.asn1-encoding)) (pkgs.fetchpatch {
+ url = "https://gitlab.haskell.org/ghc/head.hackage/raw/master/patches/asn1-encoding-0.9.5.patch";
+ sha256 = "0a3159rnaw6shjzdm46799crd4pxh33s23qy51xa7z6nv5q8wsb5";
+ });
+ tls = self.tls_1_5_1;
}
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
index 936e8c15291..c0692d975df 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml
@@ -43,10 +43,7 @@ core-packages:
- ghcjs-base-0
default-package-overrides:
- # Newer versions don't work in LTS-12.x
- - alsa-mixer < 0.3
- - cassava-megaparsec < 2
- # LTS Haskell 13.22
+ # LTS Haskell 14.5
- abstract-deque ==0.3
- abstract-deque-tests ==0.3
- abstract-par ==0.3.3
@@ -58,29 +55,27 @@ default-package-overrides:
- adjunctions ==4.4
- adler32 ==0.1.2.0
- advent-of-code-api ==0.1.2.3
- - aern2-mp ==0.1.3.1
- - aeson ==1.4.2.0
+ - aeson ==1.4.4.0
- aeson-attoparsec ==0.0.0
- aeson-better-errors ==0.9.1.0
- - aeson-casing ==0.1.1.0
+ - aeson-casing ==0.2.0.0
- aeson-compat ==0.3.9
- aeson-diff ==1.1.0.7
- - aeson-extra ==0.4.1.1
+ - aeson-extra ==0.4.1.2
- aeson-generic-compat ==0.0.1.3
- aeson-iproute ==0.2
- - aeson-picker ==0.1.0.4
+ - aeson-picker ==0.1.0.5
- aeson-pretty ==0.8.7
- aeson-qq ==0.8.2
- - aeson-typescript ==0.1.2.0
- aeson-utils ==0.3.0.2
- aeson-yak ==0.1.1.3
- al ==0.1.4.2
- - alarmclock ==0.6.0.2
- - alerts ==0.1.0.0
+ - alarmclock ==0.7.0.2
+ - alerts ==0.1.2.0
- alex ==3.2.4
- alg ==0.2.10.0
- - algebraic-graphs ==0.3
- - Allure ==0.8.3.0
+ - algebraic-graphs ==0.4
+ - Allure ==0.9.5.0
- almost-fix ==0.0.2
- alsa-core ==0.5.0.1
- alsa-mixer ==0.3.0
@@ -88,113 +83,16 @@ default-package-overrides:
- alsa-seq ==0.6.0.7
- alternative-vector ==0.0.0
- alternators ==1.0.0.0
- - ALUT ==2.4.0.2
- - amazonka ==1.6.1
- - amazonka-apigateway ==1.6.1
- - amazonka-application-autoscaling ==1.6.1
- - amazonka-appstream ==1.6.1
- - amazonka-athena ==1.6.1
- - amazonka-autoscaling ==1.6.1
- - amazonka-budgets ==1.6.1
- - amazonka-certificatemanager ==1.6.1
- - amazonka-cloudformation ==1.6.1
- - amazonka-cloudfront ==1.6.1
- - amazonka-cloudhsm ==1.6.1
- - amazonka-cloudsearch ==1.6.1
- - amazonka-cloudsearch-domains ==1.6.1
- - amazonka-cloudtrail ==1.6.1
- - amazonka-cloudwatch ==1.6.1
- - amazonka-cloudwatch-events ==1.6.1
- - amazonka-cloudwatch-logs ==1.6.1
- - amazonka-codebuild ==1.6.1
- - amazonka-codecommit ==1.6.1
- - amazonka-codedeploy ==1.6.1
- - amazonka-codepipeline ==1.6.1
- - amazonka-cognito-identity ==1.6.1
- - amazonka-cognito-idp ==1.6.1
- - amazonka-cognito-sync ==1.6.1
- - amazonka-config ==1.6.1
- - amazonka-core ==1.6.1
- - amazonka-datapipeline ==1.6.1
- - amazonka-devicefarm ==1.6.1
- - amazonka-directconnect ==1.6.1
- - amazonka-discovery ==1.6.1
- - amazonka-dms ==1.6.1
- - amazonka-ds ==1.6.1
- - amazonka-dynamodb ==1.6.1
- - amazonka-dynamodb-streams ==1.6.1
- - amazonka-ec2 ==1.6.1
- - amazonka-ecr ==1.6.1
- - amazonka-ecs ==1.6.1
- - amazonka-efs ==1.6.1
- - amazonka-elasticache ==1.6.1
- - amazonka-elasticbeanstalk ==1.6.1
- - amazonka-elasticsearch ==1.6.1
- - amazonka-elastictranscoder ==1.6.1
- - amazonka-elb ==1.6.1
- - amazonka-elbv2 ==1.6.1
- - amazonka-emr ==1.6.1
- - amazonka-gamelift ==1.6.1
- - amazonka-glacier ==1.6.1
- - amazonka-health ==1.6.1
- - amazonka-iam ==1.6.1
- - amazonka-importexport ==1.6.1
- - amazonka-inspector ==1.6.1
- - amazonka-iot ==1.6.1
- - amazonka-iot-dataplane ==1.6.1
- - amazonka-kinesis ==1.6.1
- - amazonka-kinesis-analytics ==1.6.1
- - amazonka-kinesis-firehose ==1.6.1
- - amazonka-kms ==1.6.1
- - amazonka-lambda ==1.6.1
- - amazonka-lightsail ==1.6.1
- - amazonka-marketplace-analytics ==1.6.1
- - amazonka-marketplace-metering ==1.6.1
- - amazonka-ml ==1.6.1
- - amazonka-opsworks ==1.6.1
- - amazonka-opsworks-cm ==1.6.1
- - amazonka-pinpoint ==1.6.1
- - amazonka-polly ==1.6.1
- - amazonka-rds ==1.6.1
- - amazonka-redshift ==1.6.1
- - amazonka-rekognition ==1.6.1
- - amazonka-route53 ==1.6.1
- - amazonka-route53-domains ==1.6.1
- - amazonka-s3 ==1.6.1
- - amazonka-sdb ==1.6.1
- - amazonka-servicecatalog ==1.6.1
- - amazonka-ses ==1.6.1
- - amazonka-shield ==1.6.1
- - amazonka-sms ==1.6.1
- - amazonka-snowball ==1.6.1
- - amazonka-sns ==1.6.1
- - amazonka-sqs ==1.6.1
- - amazonka-ssm ==1.6.1
- - amazonka-stepfunctions ==1.6.1
- - amazonka-storagegateway ==1.6.1
- - amazonka-sts ==1.6.1
- - amazonka-support ==1.6.1
- - amazonka-swf ==1.6.1
- - amazonka-test ==1.6.1
- - amazonka-waf ==1.6.1
- - amazonka-workspaces ==1.6.1
- - amazonka-xray ==1.6.1
- - amqp ==0.18.2
+ - ALUT ==2.4.0.3
+ - amqp ==0.18.3
- annotated-wl-pprint ==0.7.0
- - ansi-terminal ==0.8.2
- - ansi-wl-pprint ==0.6.8.2
- - antiope-athena ==6.2.0
- - antiope-core ==6.2.0
- - antiope-dynamodb ==6.2.0
- - antiope-messages ==6.2.0
- - antiope-s3 ==6.2.0
- - antiope-sns ==6.2.0
- - antiope-sqs ==6.2.0
+ - ansi-terminal ==0.9.1
+ - ansi-wl-pprint ==0.6.9
- ANum ==0.2.0.2
- aos-signature ==0.1.1
- - apecs ==0.7.3
- - apecs-gloss ==0.2.0
- - apecs-physics ==0.3.2
+ - apecs ==0.8.1
+ - apecs-gloss ==0.2.3
+ - apecs-physics ==0.4.2
- api-field-json-th ==0.1.0.2
- appar ==0.1.8
- appendmap ==0.1.5
@@ -203,18 +101,19 @@ default-package-overrides:
- approximate ==0.3.1
- app-settings ==0.2.0.12
- arbor-lru-cache ==0.1.1.0
- - arithmoi ==0.8.0.0
+ - arithmoi ==0.9.0.0
- array-memoize ==0.6.0
- arrow-extras ==0.1.0.1
- - asciidiagram ==1.3.3.2
+ - asciidiagram ==1.3.3.3
- ascii-progress ==0.3.3.0
- - asif ==3.2.0
+ - asif ==6.0.1
- asn1-encoding ==0.9.5
- asn1-parse ==0.9.4
- - asn1-types ==0.3.2
+ - asn1-types ==0.3.3
- assert-failure ==0.1.2.2
+ - assoc ==1
- astro ==0.4.2.1
- - async ==2.2.1
+ - async ==2.2.2
- async-extra ==0.2.0.0
- async-refresh ==0.3.0.0
- async-refresh-tokens ==0.4.0.0
@@ -222,7 +121,7 @@ default-package-overrides:
- atom-basic ==0.2.5
- atomic-primops ==0.8.3
- atomic-write ==0.2.0.6
- - attoparsec ==0.13.2.2
+ - attoparsec ==0.13.2.3
- attoparsec-base64 ==0.0.0
- attoparsec-binary ==0.2
- attoparsec-expr ==0.1.1.2
@@ -231,20 +130,22 @@ default-package-overrides:
- attoparsec-path ==0.0.0.1
- attoparsec-uri ==0.0.7
- audacity ==0.0.2
+ - aur ==6.2.0.1
- authenticate ==1.3.4
- authenticate-oauth ==1.6
- auto ==0.4.3.1
- - autoexporter ==1.1.13
- - auto-update ==0.1.4.1
+ - autoexporter ==1.1.14
+ - auto-update ==0.1.6
- avers ==0.0.17.1
- avers-api ==0.1.0
- avers-server ==0.1.0.1
- - avro ==0.4.4.2
+ - avro ==0.4.5.2
- avwx ==0.3.0.2
- - axel ==0.0.9
- - backprop ==0.2.6.2
- - bank-holidays-england ==0.1.0.8
- - barbies ==1.1.2.1
+ - aws-cloudfront-signed-cookies ==0.2.0.1
+ - aws-lambda-haskell-runtime ==2.0.1
+ - backprop ==0.2.6.3
+ - bank-holidays-england ==0.2.0.2
+ - barbies ==1.1.3.0
- barrier ==0.1.1
- base16-bytestring ==0.1.1.6
- base32string ==0.9.1
@@ -254,7 +155,7 @@ default-package-overrides:
- base64-string ==0.2
- base-compat ==0.10.5
- base-compat-batteries ==0.10.5
- - basement ==0.0.10
+ - basement ==0.0.11
- base-noprelude ==4.12.0.0
- base-orphans ==0.8.1
- base-prelude ==1.3
@@ -264,25 +165,31 @@ default-package-overrides:
- bbdb ==0.8
- bcrypt ==0.0.11
- beam-core ==0.8.0.0
+ - beam-migrate ==0.4.0.1
+ - beam-mysql ==0.2.0.0
+ - beam-postgres ==0.4.0.0
+ - beam-sqlite ==0.4.0.0
- bench ==1.0.12
- benchpress ==0.2.2.12
+ - bench-show ==0.3.0
- bencode ==0.6.0.0
+ - bencoding ==0.4.5.1
- between ==0.11.0.0
- bibtex ==0.1.0.6
- - bifunctors ==5.5.4
- - bimap ==0.3.3
+ - bifunctors ==5.5.5
+ - bimap ==0.4.0
- bimap-server ==0.1.0.1
- binary-bits ==0.5
- binary-conduit ==1.3.1
- binary-ext ==2.0.4
- binary-ieee754 ==0.1.0.0
- binary-list ==1.1.1.2
- - binary-orphans ==0.1.8.0
+ - binary-orphans ==1.0.1
- binary-parser ==0.5.5
- - binary-parsers ==0.2.3.0
+ - binary-parsers ==0.2.4.0
- binary-search ==1.0.0.3
- binary-shared ==0.8.3
- - binary-tagged ==0.1.5.2
+ - binary-tagged ==0.2
- bindings-DSL ==1.0.25
- bindings-GLFW ==3.2.1.1
- bindings-libzip ==1.0.1
@@ -296,44 +203,51 @@ default-package-overrides:
- bits ==0.5.2
- bitset-word8 ==0.1.1.1
- bits-extra ==0.0.1.3
- - bit-stream ==0.1.0.2
+ - bitvec ==1.0.0.1
- bitx-bitcoin ==0.12.0.0
- - blake2 ==0.2.0
+ - blake2 ==0.3.0
+ - blas-carray ==0.1.0.1
+ - blas-comfort-array ==0.0.0.2
- blas-ffi ==0.1
- blas-hs ==0.1.1.0
- blaze-bootstrap ==0.1.0.1
- blaze-builder ==0.4.1.0
- - blaze-colonnade ==1.2.2
+ - blaze-colonnade ==1.2.2.1
- blaze-html ==0.9.1.1
- blaze-markup ==0.8.2.2
- blaze-svg ==0.3.6.1
- blaze-textual ==0.2.1.0
- bmp ==1.2.6.3
- - bno055-haskell ==0.1.0
+ - board-games ==0.3
- boltzmann-samplers ==0.1.1.0
- Boolean ==0.2.4
- boolean-like ==0.1.1.0
- boolean-normal-forms ==0.0.1
- boolsimplifier ==0.1.8
+ - boots ==0.0.100
- bordacount ==0.1.0.0
- - boring ==0.1.1
+ - boring ==0.1.2
- both ==0.1.1.0
- bound ==2.0.1
- BoundedChan ==1.0.3.0
+ - bounded-queue ==1.0.0
- boundingboxes ==0.2.3
- bower-json ==1.0.0.1
- boxes ==0.1.5
+ - brick ==0.47.1
+ - brittany ==0.12.0.0
- bsb-http-chunked ==0.0.0.4
- - bson ==0.3.2.7
+ - bson ==0.3.2.8
- bson-lens ==0.1.1
- btrfs ==0.2.0.0
- buffer-builder ==0.2.4.7
- buffer-pipe ==0.0
- bugsnag-haskell ==0.0.3.0
- bulletproofs ==0.4.0
+ - butcher ==1.3.2.3
- butter ==0.1.0.6
- bv ==0.5
- - bv-little ==0.1.2
+ - bv-little ==1.1.0
- byteable ==0.1.1
- bytedump ==1.0
- byteorder ==1.0.4
@@ -342,42 +256,43 @@ default-package-overrides:
- bytestring-builder ==0.10.8.2.0
- bytestring-conversion ==0.3.1
- bytestring-lexing ==0.5.0.2
- - bytestring-strict-builder ==0.4.5.2
+ - bytestring-strict-builder ==0.4.5.3
+ - bytestring-to-vector ==0.3.0.1
- bytestring-tree-builder ==0.2.7.3
- bzlib ==0.5.0.5
- - bzlib-conduit ==0.3.0.1
+ - bzlib-conduit ==0.3.0.2
- c2hs ==0.28.6
- Cabal ==2.4.1.0
- cabal2spec ==2.2.2.1
- - cabal-doctest ==1.0.6
- - cabal-rpm ==0.12.6
+ - cabal-doctest ==1.0.7
+ - cabal-file-th ==0.2.6
- cache ==0.1.1.2
- - cachix ==0.2.0
- - cachix-api ==0.2.0
- cacophony ==0.10.1
- calendar-recycling ==0.0.0.1
- call-stack ==0.1.0
+ - ca-province-codes ==1.0.0.0
- carray ==0.1.6.8
- cased ==0.1.0.0
- case-insensitive ==1.2.0.11
- cases ==0.1.3.2
- - casing ==0.1.4.0
- - cassava ==0.5.1.0
+ - casing ==0.1.4.1
+ - cassava ==0.5.2.0
- cassava-conduit ==0.5.1
- cassava-megaparsec ==2.0.0
- cassava-records ==0.1.0.4
- cast ==0.1.0.2
- - category ==0.2.4.0
+ - caster ==0.0.3.0
+ - category ==0.2.4.1
- cayley-client ==0.4.9
- - cborg ==0.2.1.0
+ - cborg ==0.2.2.0
- cborg-json ==0.2.1.0
- - cereal ==0.5.8.0
+ - cereal ==0.5.8.1
- cereal-conduit ==0.8.0
- cereal-text ==0.1.0.2
- cereal-time ==0.1.0.0
- cereal-vector ==0.2.0.1
- cfenv ==0.1.0.0
- - cgi ==3001.3.0.3
+ - cgi ==3001.4.0.0
- chan ==0.0.4.1
- ChannelT ==0.0.0.7
- charset ==0.3.7.1
@@ -389,10 +304,13 @@ default-package-overrides:
- cheapskate-highlight ==0.1.0.0
- cheapskate-lucid ==0.1.0.0
- check-email ==1.0.2
- - checkers ==0.4.14
+ - checkers ==0.5.2
- checksum ==0.0
+ - chimera ==0.2.0.0
- choice ==0.2.2
- chronologique ==0.3.1.1
+ - chronos ==1.0.7
+ - chronos-bench ==0.2.0.2
- chunked-data ==0.3.1
- cipher-aes ==0.2.11
- cipher-aes128 ==0.7.0.4
@@ -409,13 +327,14 @@ default-package-overrides:
- clay ==0.13.1
- clientsession ==0.9.1.2
- Clipboard ==2.3.2.0
- - clock ==0.7.2
+ - clock ==0.8
- clock-extras ==0.1.0.2
+ - closed ==0.2.0.1
- clr-host ==0.2.1.0
- clr-marshal ==0.2.0.0
- clumpiness ==0.17.0.2
- - cmark ==0.5.6.3
- - cmark-gfm ==0.1.8
+ - cmark ==0.6
+ - cmark-gfm ==0.2.0
- cmdargs ==0.10.20
- codec ==0.2.1
- codec-beam ==0.2.0
@@ -423,16 +342,19 @@ default-package-overrides:
- code-page ==0.2
- codo-notation ==0.5.2
- coercible-utils ==0.0.0
- - co-log ==0.2.0
- - co-log-core ==0.1.1
- - colonnade ==1.2.0.1
+ - co-log ==0.3.0.0
+ - co-log-core ==0.2.0.0
+ - colonnade ==1.2.0.2
- colorful-monoids ==0.2.1.2
- colorize-haskell ==1.0.1
- colour ==2.3.5
+ - columnar ==1.0.0.0
- combinatorial ==0.1.0.1
+ - comfort-array ==0.4
- comfort-graph ==0.0.3.1
- commutative ==0.0.2
- comonad ==5.0.5
+ - compact ==0.1.0.1
- compactmap ==0.1.4.2.1
- compensated ==0.7.2
- compiler-warnings ==0.1.0
@@ -441,32 +363,32 @@ default-package-overrides:
- composition ==1.0.2.1
- composition-extra ==2.0.0
- concise ==0.1.0.1
- - concurrency ==1.6.2.0
+ - concurrency ==1.7.0.0
- concurrent-extra ==0.7.0.12
- - concurrent-output ==1.10.9
+ - concurrent-output ==1.10.10
- concurrent-split ==0.0.1.1
- concurrent-supply ==0.1.8
- cond ==0.4.1.1
- conduit ==1.3.1.1
- - conduit-algorithms ==0.0.9.0
+ - conduit-algorithms ==0.0.10.1
- conduit-combinators ==1.3.0
- conduit-concurrent-map ==0.1.1
- - conduit-connection ==0.1.0.4
- - conduit-extra ==1.3.1.1
+ - conduit-extra ==1.3.4
- conduit-iconv ==0.1.1.3
- conduit-parse ==0.2.1.0
- conduit-throttle ==0.3.1.0
- conduit-zstd ==0.0.1.1
- - confcrypt ==0.1.0.4
+ - config-ini ==0.2.4.0
- configuration-tools ==0.4.1
- configurator ==0.3.0.0
- configurator-export ==0.1.0.1
- - connection ==0.2.8
+ - configurator-pg ==0.1.0.3
+ - connection ==0.3.1
- connection-pool ==0.2.2
- console-style ==0.0.2.1
- constraint ==0.1.3.0
- constraints ==0.10.1
- - contravariant ==1.5.1
+ - contravariant ==1.5.2
- contravariant-extras ==0.3.4
- control-bool ==0.2.1
- control-dsl ==0.2.1.3
@@ -474,6 +396,9 @@ default-package-overrides:
- control-monad-omega ==0.3.1
- convertible ==1.1.1.0
- cookie ==0.4.4
+ - core-data ==0.2.0.0
+ - core-program ==0.2.0.0
+ - core-text ==0.2.0.0
- countable ==1.0
- country ==0.1.6
- courier ==0.1.1.5
@@ -483,11 +408,12 @@ default-package-overrides:
- cpu ==0.1.2
- cpuinfo ==0.1.0.1
- cql ==4.0.1
- - cql-io ==1.0.1.1
+ - cql-io ==1.1.1
- crackNum ==2.3
+ - crc32c ==0.0.0
- credential-store ==0.1.2
- - criterion ==1.5.5.0
- - criterion-measurement ==0.1.1.0
+ - criterion ==1.5.6.0
+ - criterion-measurement ==0.1.2.0
- cron ==0.6.1
- crypto-api ==0.13.3
- crypto-api-tests ==0.3
@@ -505,6 +431,8 @@ default-package-overrides:
- cryptonite ==0.25
- cryptonite-conduit ==0.2.2
- cryptonite-openssl ==0.7
+ - crypto-numbers ==0.2.7
+ - crypto-pubkey ==0.2.8
- crypto-pubkey-openssh ==0.2.7
- crypto-pubkey-types ==0.4.3
- crypto-random ==0.0.9
@@ -515,7 +443,7 @@ default-package-overrides:
- css-text ==0.1.3.0
- csv ==0.1.2
- ctrie ==0.2
- - cubicbezier ==0.6.0.5
+ - cubicbezier ==0.6.0.6
- cubicspline ==0.1.2
- cublas ==0.5.0.0
- cuckoo-filter ==0.2.0.2
@@ -527,7 +455,8 @@ default-package-overrides:
- currency ==0.2.0.0
- cusparse ==0.2.0.0
- cutter ==0.0
- - czipwith ==1.0.1.1
+ - cyclotomic ==1.0
+ - czipwith ==1.0.1.2
- data-accessor ==0.2.2.8
- data-accessor-mtl ==0.2.0.4
- data-accessor-template ==0.2.1.16
@@ -535,6 +464,7 @@ default-package-overrides:
- data-binary-ieee754 ==0.4.4
- data-bword ==0.1.0.1
- data-checked ==0.3
+ - data-clist ==0.1.2.3
- data-default ==0.7.1.1
- data-default-class ==0.1.2.0
- data-default-instances-containers ==0.0.1
@@ -542,7 +472,7 @@ default-package-overrides:
- data-default-instances-old-locale ==0.0.1
- data-diverse ==4.6.0.0
- data-diverse-lens ==4.3.0.0
- - datadog ==0.2.3.0
+ - datadog ==0.2.4.0
- data-dword ==0.3.1.2
- data-endian ==0.1.1
- data-fix ==0.2.0
@@ -557,6 +487,7 @@ default-package-overrides:
- data-ref ==0.0.2
- data-reify ==0.6.1
- data-serializer ==0.3.4
+ - datasets ==0.4.0
- data-textual ==0.3.0.2
- data-tree-print ==0.1.0.2
- dataurl ==0.1.0.0
@@ -567,25 +498,25 @@ default-package-overrides:
- debian-build ==0.10.1.2
- debug ==0.1.1
- debug-trace-var ==0.2.0
+ - dec ==0.0.3
- decidable ==0.1.5.0
- Decimal ==0.5.1
- declarative ==0.5.2
- deepseq-generics ==0.2.0.0
- - deferred-folds ==0.9.10
- - dejafu ==1.11.0.5
+ - deferred-folds ==0.9.10.1
+ - dejafu ==2.1.0.0
- dense-linear-algebra ==0.1.0.0
- dependent-map ==0.2.4.0
- dependent-sum ==0.4
- dependent-sum-template ==0.0.0.6
- - deque ==0.2.7
+ - deque ==0.4.2.3
- deriveJsonNoPrefix ==0.1.0.1
- - deriving-compat ==0.5.6
+ - deriving-compat ==0.5.7
- derulo ==1.0.5
- detour-via-sci ==1.0.0
- - dhall ==1.19.1
- - dhall-bash ==1.0.18
- - dhall-json ==1.2.6
- - dhall-text ==1.0.17
+ - dhall ==1.24.0
+ - dhall-bash ==1.0.21
+ - dhall-json ==1.3.0
- diagrams ==1.4
- diagrams-contrib ==1.4.3
- diagrams-core ==1.4.1.1
@@ -599,6 +530,7 @@ default-package-overrides:
- Diff ==0.3.4
- digest ==0.0.1.2
- digits ==0.3.1
+ - dimensional ==1.3
- di-monad ==1.3
- directory-tree ==0.12.1
- direct-sqlite ==2.3.24
@@ -606,26 +538,29 @@ default-package-overrides:
- disk-free-space ==0.1.0.1
- distributed-closure ==0.4.1.1
- distribution-opensuse ==1.1.1
- - distributive ==0.6
- - dlist ==0.8.0.6
+ - distributive ==0.6.1
+ - dl-fedora ==0.5
+ - dlist ==0.8.0.7
- dlist-instances ==0.1.1.1
- dlist-nonempty ==0.1.1
- - dns ==3.0.4
+ - dns ==4.0.0
- dockerfile ==0.2.0
- docopt ==0.7.0.5
- doctemplates ==0.2.2.1
- - doctest ==0.16.0.1
+ - doctest ==0.16.2
- doctest-discover ==0.2.0.0
- doctest-driver-gen ==0.3.0.1
+ - doldol ==0.4.1.2
- do-list ==1.0.1
- dom-parser ==3.1.0
- - dotenv ==0.8.0.0
+ - do-notation ==0.1.0.2
+ - dotenv ==0.8.0.2
- dotgen ==0.4.2
- dotnet-timespan ==0.0.1.0
- double-conversion ==2.0.2.0
- download ==0.3.2.7
- drinkery ==0.4
- - dsp ==0.2.4.1
+ - dsp ==0.2.5
- dual-tree ==0.2.2
- dublincore-xml-conduit ==0.1.0.2
- dunai ==0.5.1
@@ -634,38 +569,44 @@ default-package-overrides:
- dvorak ==0.1.0.0
- dynamic-state ==0.3.1
- dyre ==0.8.12
+ - eap ==0.9.0.2
- Earley ==0.13.0.1
- easy-file ==0.2.2
- easytest ==0.2.1
- Ebnf2ps ==1.0.15
- echo ==0.1.3
+ - ecstasy ==0.2.1.0
- ed25519 ==0.0.5.0
- edit-distance ==0.2.2.1
- edit-distance-vector ==1.0.0.4
- editor-open ==0.6.0.0
- either ==5.0.1.1
- - either-both ==0.1.0.0
+ - either-both ==0.1.1.1
- ekg ==0.4.0.15
- ekg-core ==0.1.1.6
- ekg-json ==0.1.0.6
- ekg-statsd ==0.2.4.0
- elerea ==2.9.0
- - elf ==0.29
+ - elf ==0.30
- eliminators ==0.5.1
- elm2nix ==0.1.1
+ - elm-bridge ==0.5.2
- elm-core-sources ==1.0.0
- elm-export ==0.6.0.1
+ - elm-street ==0.0.1
- emacs-module ==0.1.1
- email-validate ==2.3.2.11
- - emd ==0.1.4.0
+ - emd ==0.1.5.1
- enclosed-exceptions ==1.0.3
- - entropy ==0.4.1.4
- - enummapset ==0.6.0.1
- - enumset ==0.0.4.1
+ - ENIG ==0.0.1.0
+ - entropy ==0.4.1.5
+ - enummapset ==0.6.0.2
+ - enumset ==0.0.5
- enum-subset-generate ==0.1.0.0
- - enum-text ==0.5.0.0
+ - enum-text ==0.5.1.0
+ - enum-text-rio ==1.2.0.0
- envelope ==0.2.2.0
- - envy ==1.5.1.0
+ - envy ==2.0.0.0
- epub-metadata ==4.5
- eq ==4.2
- equal-files ==0.0.5.3
@@ -673,8 +614,8 @@ default-package-overrides:
- errors ==2.3.0
- errors-ext ==0.4.2
- error-util ==0.0.1.2
- - ersatz ==0.4.5
- - esqueleto ==2.6.0
+ - ersatz ==0.4.7
+ - esqueleto ==3.0.0
- etc ==0.4.1.0
- eventful-core ==0.2.0
- eventful-memory ==0.2.0
@@ -682,39 +623,42 @@ default-package-overrides:
- eventful-sqlite ==0.2.0
- eventful-test-helpers ==0.2.0
- event-list ==0.1.2
- - eventstore ==1.2.4
+ - eventstore ==1.3.0
- every ==0.0.1
- exact-combinatorics ==0.2.0.9
- exact-pi ==0.5.0.1
- exceptional ==0.3.0.0
- exception-mtl ==0.4.0.1
- - exceptions ==0.10.2
+ - exceptions ==0.10.3
- exception-transformers ==0.4.0.7
- executable-hash ==0.2.0.4
- executable-path ==0.0.3.1
- exit-codes ==1.0.0
- exomizer ==1.0.0
- expiring-cache-map ==0.0.6.1
- - explicit-exception ==0.1.9.2
+ - explicit-exception ==0.1.10
- exp-pairs ==0.2.0.0
- extensible-exceptions ==0.1.1.4
- - extra ==1.6.15
+ - extra ==1.6.18
- extractable-singleton ==0.0.1
- extrapolate ==0.3.3
- fail ==4.9.0.0
+ - failable ==1.2.2.0
+ - fakedata ==0.2.2
- farmhash ==0.1.0.5
+ - fast-builder ==0.1.1.0
- fast-digits ==0.2.1.0
- - fast-logger ==2.4.15
+ - fast-logger ==2.4.17
- fast-math ==1.0.2
- - fb ==1.2.1
+ - fb ==2.0.0
- fclabels ==2.0.3.3
- feature-flags ==0.1.0.1
- fedora-dists ==1.0.1
- - fedora-haskell-tools ==0.6
- - feed ==1.0.1.0
+ - feed ==1.2.0.0
- FenwickTree ==0.1.2.1
- fft ==0.1.8.6
- fgl ==5.7.0.1
+ - fib ==0.1
- filecache ==0.4.1
- file-embed ==0.0.11
- file-embed-lzma ==0
@@ -724,28 +668,30 @@ default-package-overrides:
- filepattern ==0.1.1
- fileplow ==0.1.0.0
- filter-logger ==0.6.0.0
- - filtrable ==0.1.1.0
- - fin ==0.0.2
+ - filtrable ==0.1.2.0
+ - fin ==0.1
- FindBin ==0.0.5
- fingertree ==0.1.4.2
- finite-typelits ==0.1.4.2
- - first-class-families ==0.3.0.1
+ - first-class-families ==0.5.0.0
- first-class-patterns ==0.3.2.4
- fitspec ==0.4.7
- - fixed ==0.2.1.1
+ - fixed ==0.3
- fixed-length ==0.2.1
- fixed-vector ==1.2.0.0
- fixed-vector-hetero ==0.5.0.0
- - flac ==0.1.2
+ - flac ==0.2.0
- flac-picture ==0.1.2
+ - flags-applicative ==0.1.0.1
- flat-mcmc ==1.5.0
- flay ==0.4
- flexible-defaults ==0.0.2
- FloatingHex ==0.4
- floatshow ==0.2.4
- flow ==1.0.18
- - fmlist ==0.9.2
- - fmt ==0.6.1.1
+ - fmlist ==0.9.3
+ - fmt ==0.6.1.2
+ - fmt-for-rio ==1.0.0.0
- fn ==0.3.0.2
- focus ==1.0.1.3
- focuslist ==0.1.0.2
@@ -754,6 +700,7 @@ default-package-overrides:
- fold-debounce-conduit ==0.2.0.3
- foldl ==1.4.5
- folds ==0.7.4
+ - follow-file ==0.0.3
- FontyFruity ==0.5.3.4
- force-layout ==0.4.0.6
- foreign-store ==0.2
@@ -761,8 +708,8 @@ default-package-overrides:
- forma ==1.1.2
- format-numbers ==0.1.0.0
- formatting ==6.3.7
- - foundation ==0.0.23
- - free ==5.1.1
+ - foundation ==0.0.25
+ - free ==5.1.2
- freenect ==1.2.1
- freer-simple ==1.2.1.0
- freetype2 ==0.1.2
@@ -773,107 +720,114 @@ default-package-overrides:
- frontmatter ==0.1.0.2
- fsnotify ==0.3.0.1
- fsnotify-conduit ==0.1.1.1
- - ftp-client ==0.5.1.1
- - ftp-client-conduit ==0.5.0.4
- funcmp ==1.9
+ - function-builder ==0.3.0.1
- functor-classes-compat ==1
- - fused-effects ==0.1.2.1
+ - functor-combinators ==0.1.1.1
+ - fused-effects ==0.5.0.1
- fuzzcheck ==0.1.1
- fuzzy-dates ==0.1.1.1
- - fuzzyset ==0.1.0.8
- - gauge ==0.2.4
+ - fuzzyset ==0.1.1
+ - galois-field ==0.3.0
+ - gauge ==0.2.5
- gc ==0.0.3
- gd ==3000.7.3
- gdp ==0.0.0.2
- general-games ==1.1.1
- generic-arbitrary ==0.1.0
- - generic-data ==0.3.0.0
+ - generic-data ==0.7.0.0
+ - generic-data-surgery ==0.2.0.0
- generic-deriving ==1.12.4
- generic-lens ==1.1.0.0
- GenericPretty ==1.2.2
- generic-random ==1.2.0.0
- generics-eot ==0.4.0.1
- - generics-mrsop ==1.2.2
+ - generics-mrsop ==2.1.0
- generics-sop ==0.4.0.1
- - generics-sop-lens ==0.1.3
- - genvalidity ==0.7.0.2
- - genvalidity-aeson ==0.2.0.2
- - genvalidity-bytestring ==0.3.0.1
- - genvalidity-containers ==0.5.1.1
- - genvalidity-hspec ==0.6.2.3
- - genvalidity-hspec-aeson ==0.3.0.1
+ - generics-sop-lens ==0.2
+ - genvalidity ==0.8.0.0
+ - genvalidity-aeson ==0.3.0.0
+ - genvalidity-bytestring ==0.5.0.0
+ - genvalidity-containers ==0.6.0.0
+ - genvalidity-hspec ==0.7.0.0
+ - genvalidity-hspec-aeson ==0.3.1.0
- genvalidity-hspec-binary ==0.2.0.3
- genvalidity-hspec-cereal ==0.2.0.3
- genvalidity-hspec-hashable ==0.2.0.4
- genvalidity-hspec-optics ==0.1.1.1
- genvalidity-path ==0.3.0.2
- - genvalidity-property ==0.3.0.0
+ - genvalidity-property ==0.4.0.0
- genvalidity-scientific ==0.2.1.0
- - genvalidity-text ==0.5.1.0
+ - genvalidity-text ==0.6.0.0
- genvalidity-time ==0.2.1.1
- - genvalidity-unordered-containers ==0.2.0.4
+ - genvalidity-unordered-containers ==0.3.0.0
- genvalidity-uuid ==0.1.0.2
- - genvalidity-vector ==0.2.0.3
- - geojson ==3.0.4
- - getopt-generics ==0.13.0.3
+ - genvalidity-vector ==0.3.0.0
+ - geojson ==4.0.1
+ - getopt-generics ==0.13.0.4
+ - ghc-compact ==0.1.0.0
- ghc-core ==0.5.6
- - ghc-exactprint ==0.5.8.2
- - ghcid ==0.7.4
- - ghci-hexcalc ==0.1.0.2
+ - ghc-exactprint ==0.6.1
+ - ghcid ==0.7.5
+ - ghci-hexcalc ==0.1.1.0
- ghcjs-codemirror ==0.0.0.2
- - ghc-paths ==0.1.0.9
+ - ghc-lib ==8.8.0.20190424
+ - ghc-lib-parser ==8.8.0.20190424
+ - ghc-parser ==0.2.0.3
+ - ghc-paths ==0.1.0.12
- ghc-prof ==1.4.1.5
- ghc-syntax-highlighter ==0.0.4.0
- ghc-tcplugins-extra ==0.3
- - ghc-typelits-extra ==0.3
+ - ghc-typelits-extra ==0.3.1
- ghc-typelits-knownnat ==0.6
- ghc-typelits-natnormalise ==0.6.2
- ghost-buster ==0.1.1.0
- - gi-atk ==2.0.15
- - gi-cairo ==1.0.17
- - gi-gdk ==3.0.16
- - gi-gdkpixbuf ==2.0.18
- - gi-gio ==2.0.19
- - gi-glib ==2.0.17
- - gi-gobject ==2.0.16
- - gi-gtk ==3.0.27
- - gi-gtk-hs ==0.3.6.3
- - gi-gtksource ==3.0.16
- - gi-javascriptcore ==4.0.16
+ - gi-atk ==2.0.21
+ - gi-cairo ==1.0.23
+ - gi-gdk ==3.0.22
+ - gi-gdkpixbuf ==2.0.23
+ - gi-gio ==2.0.25
+ - gi-glib ==2.0.23
+ - gi-gobject ==2.0.22
+ - gi-gtk ==3.0.32
+ - gi-gtk-hs ==0.3.8.0
+ - gi-gtksource ==3.0.22
+ - gi-javascriptcore ==4.0.21
+ - ginger ==0.9.1.0
- gingersnap ==0.3.1.0
- - gi-pango ==1.0.16
- - giphy-api ==0.6.0.1
- - githash ==0.1.3.1
+ - gi-pango ==1.0.22
+ - githash ==0.1.3.2
- github-release ==1.2.4
- github-types ==0.2.1
- github-webhooks ==0.10.1
- gitrev ==1.3.1
- - gi-vte ==2.91.19
- - gl ==0.8.0
- - glabrous ==1.0.1
+ - gi-vte ==2.91.25
+ - gl ==0.9
+ - glabrous ==2.0.0
- glaze ==0.3.0.1
- glazier ==1.0.0.0
- GLFW-b ==3.2.1.0
- - Glob ==0.9.3
+ - Glob ==0.10.0
- gloss ==1.13.0.1
- gloss-algorithms ==1.13.0.1
- gloss-examples ==1.13.0.2
- gloss-raster ==1.13.0.2
- - gloss-rendering ==1.13.0.2
+ - gloss-rendering ==1.13.1.1
- GLURaw ==2.0.0.4
- - GLUT ==2.7.0.14
+ - GLUT ==2.7.0.15
- gnuplot ==0.5.6
- - goggles ==0.3.2
- google-isbn ==1.0.3
- google-oauth2-jwt ==0.3.1
- gpolyline ==0.1.0.1
- graph-core ==0.3.0.0
+ - graphite ==0.10.0.1
- graphs ==0.7.1
+ - graphviz ==2999.20.0.3
- graph-wrapper ==0.2.6.0
- gravatar ==0.8.0
- graylog ==0.1.0.1
- greskell ==0.2.3.0
- - greskell-core ==0.1.2.5
+ - greskell-core ==0.1.2.6
- greskell-websocket ==0.1.1.2
- groom ==0.1.2.1
- groundhog ==0.10.0
@@ -882,48 +836,51 @@ default-package-overrides:
- groundhog-postgresql ==0.10
- groundhog-sqlite ==0.10.0
- groundhog-th ==0.10.2
+ - group-by-date ==0.1.0.3
+ - grouped-list ==0.2.2.1
- groups ==0.4.1.0
- guarded-allocation ==0.0.1
- gym-http-api ==0.1.0.1
- - h2c ==1.0.0
+ - H ==0.9.0.1
- hackage-db ==2.0.1
- hackage-security ==0.5.3.0
- haddock-library ==1.7.0
- - hailgun ==0.4.2
+ - hadolint ==1.17.2
- half ==0.3
- hamilton ==0.1.0.3
- hamtsolo ==1.0.3
- HandsomeSoup ==0.4.2
- - hapistrano ==0.3.9.2
- - happy ==1.19.10
- - hasbolt ==0.1.3.3
+ - hapistrano ==0.3.9.3
+ - happy ==1.19.12
+ - hasbolt ==0.1.3.5
- hashable ==1.2.7.0
- hashable-time ==0.2.0.2
- hashids ==1.0.2.4
- hashmap ==1.3.3
- - hashtables ==1.2.3.1
+ - hashtables ==1.2.3.4
- haskeline ==0.7.5.0
- - haskell-gi ==0.21.5
- - haskell-gi-base ==0.21.5
+ - haskell-gi ==0.23.0
+ - haskell-gi-base ==0.23.0
- haskell-gi-overloading ==1.0
- haskell-lexer ==1.0.2
- - haskell-lsp ==0.8.2.0
- - haskell-lsp-types ==0.8.2.0
- - haskell-names ==0.9.4
- - HaskellNet ==0.5.1
+ - haskell-lsp ==0.15.0.1
+ - haskell-lsp-types ==0.15.0.1
+ - haskell-names ==0.9.6
- haskell-spacegoo ==0.2.0.1
- haskell-src ==1.0.3.0
- - haskell-src-exts ==1.20.3
+ - haskell-src-exts ==1.21.1
- haskell-src-exts-util ==0.2.5
- - haskell-src-meta ==0.8.2
+ - haskell-src-meta ==0.8.3
- haskey-btree ==0.3.0.1
- - haskoin-core ==0.8.4
- - hasql ==1.3.0.5
- - hasql-optparse-applicative ==0.3.0.3
- - hasql-pool ==0.5.0.2
- - hasql-transaction ==0.7.1
+ - haskintex ==0.8.0.0
+ - haskoin-core ==0.9.0
+ - hasql ==1.4
+ - hasql-optparse-applicative ==0.3.0.5
+ - hasql-pool ==0.5.1
+ - hasql-transaction ==0.7.2
- hasty-hamiltonian ==1.3.2
- - haxl ==2.0.1.1
+ - HaTeX ==3.21.0.0
+ - haxl ==2.1.2.0
- hbeanstalk ==0.2.4
- HCodecs ==0.5.1
- hdaemonize ==0.5.5
@@ -933,9 +890,10 @@ default-package-overrides:
- heap ==1.0.4
- heaps ==0.3.6.1
- hebrew-time ==0.1.2
- - hedgehog ==0.6.1
+ - hedgehog ==1.0
- hedgehog-corpus ==0.1.0
- - hedis ==0.10.10
+ - hedgehog-fn ==1.0
+ - hedis ==0.12.8
- hedn ==0.2.0.1
- here ==1.2.13
- heredoc ==0.2.0.0
@@ -947,27 +905,30 @@ default-package-overrides:
- hexstring ==0.11.1
- hformat ==0.3.3.1
- hfsevents ==0.1.6
- - hgmp ==0.1.1
- hidapi ==0.1.5
- hidden-char ==0.1.0.2
+ - hi-file-parser ==0.1.0.0
- higher-leveldb ==0.5.0.2
- highlighting-kate ==0.6.4
- hinfo ==0.0.3.0
- hinotify ==0.4
- - hint ==0.9.0
+ - hint ==0.9.0.1
- hjsmin ==0.2.0.2
+ - hkgr ==0.2.2
- hlibgit2 ==0.18.0.16
- hlibsass ==0.1.8.0
- - hmatrix ==0.19.0.0
- - hmatrix-backprop ==0.1.2.5
+ - hmatrix ==0.20.0.0
+ - hmatrix-backprop ==0.1.3.0
- hmatrix-gsl ==0.19.0.1
- - hmatrix-gsl-stats ==0.4.1.7
+ - hmatrix-gsl-stats ==0.4.1.8
- hmatrix-morpheus ==0.1.1.2
- - hmatrix-vector-sized ==0.1.1.3
+ - hmatrix-vector-sized ==0.1.2.0
+ - hmm-lapack ==0.4
- hmpfr ==0.4.4
- - hoauth2 ==1.8.6
+ - hoauth2 ==1.8.9
- Hoed ==0.5.1
- - hOpenPGP ==2.7.4.1
+ - hOpenPGP ==2.8
+ - hopenpgp-tools ==0.21.3
- hopfli ==0.2.2.1
- hosc ==0.17
- hostname ==1.0
@@ -977,20 +938,22 @@ default-package-overrides:
- hp2pretty ==0.9
- hpack ==0.31.2
- hpack-dhall ==0.5.2
+ - hquantlib-time ==0.0.4.1
- hreader ==1.1.0
- hreader-lens ==0.1.3.0
- hruby ==0.3.8
- hsass ==0.8.0
- hs-bibutils ==6.7.0.0
+ - hsc2hs ==0.68.6
- hschema ==0.0.1.1
- hschema-aeson ==0.0.1.1
- hschema-prettyprinter ==0.0.1.1
- hschema-quickcheck ==0.0.1.1
- hscolour ==1.24.4
- hsdev ==0.3.2.3
- - hsdns ==1.7.1
+ - hsdns ==1.8
- hsebaysdk ==0.4.0.0
- - hsemail ==2
+ - hsemail ==2.2.0
- HSet ==0.0.1
- hset ==2.2.0
- hsexif ==0.6.1.6
@@ -1000,24 +963,25 @@ default-package-overrides:
- hsinstall ==2.2
- HSlippyMap ==3.0.1
- hslogger ==1.2.12
- - hslua ==1.0.3.1
+ - hslua ==1.0.3.2
- hslua-aeson ==1.0.0
+ - hslua-module-system ==0.2.1
- hslua-module-text ==0.2.1
- HsOpenSSL ==0.11.4.16
- HsOpenSSL-x509-system ==0.1.0.3
- hsp ==0.10.0
- - hspec ==2.6.1
+ - hspec ==2.7.1
- hspec-attoparsec ==0.1.0.2
- hspec-checkers ==0.1.0.2
- hspec-contrib ==0.5.1
- - hspec-core ==2.6.1
- - hspec-discover ==2.6.1
+ - hspec-core ==2.7.1
+ - hspec-discover ==2.7.1
- hspec-expectations ==0.8.2
- hspec-expectations-lifted ==0.10.0
- hspec-expectations-pretty-diff ==0.7.2.4
- hspec-golden-aeson ==0.7.0.0
- hspec-leancheck ==0.0.3
- - hspec-megaparsec ==2.0.0
+ - hspec-megaparsec ==2.0.1
- hspec-meta ==2.6.0
- hspec-need-env ==0.1.0.3
- hspec-pg-transact ==0.1.0.2
@@ -1025,6 +989,7 @@ default-package-overrides:
- hspec-wai ==0.9.2
- hspec-wai-json ==0.9.2
- hs-php-session ==0.0.9.3
+ - hsshellscript ==3.4.5
- hstatsd ==0.1
- HStringTemplate ==0.8.7
- HSvm ==0.1.1.3.22
@@ -1039,50 +1004,56 @@ default-package-overrides:
- html-entity-map ==0.1.0.0
- htoml ==1.0.0.3
- http2 ==1.6.5
- - HTTP ==4000.3.13
- - http-api-data ==0.4
- - http-client ==0.5.14
+ - HTTP ==4000.3.14
+ - http-api-data ==0.4.1
+ - http-client ==0.6.4
- http-client-tls ==0.3.5.3
- http-common ==0.8.2.0
- http-conduit ==2.3.7.1
- http-date ==0.0.8
- - http-directory ==0.1.2
- - httpd-shed ==0.4.0.3
+ - http-directory ==0.1.5
+ - http-download ==0.1.0.0
+ - httpd-shed ==0.4.1.1
- http-link-header ==1.0.3.1
- - http-media ==0.7.1.3
+ - http-media ==0.8.0.0
- http-reverse-proxy ==0.6.0
- http-streams ==0.8.6.1
- http-types ==0.12.3
- - human-readable-duration ==0.2.1.3
+ - human-readable-duration ==0.2.1.4
- HUnit ==1.6.0.0
- HUnit-approx ==1.1.1.1
- - hunit-dejafu ==1.2.1.0
+ - hunit-dejafu ==2.0.0.1
- hvect ==0.4.0.0
- - hvega ==0.1.0.3
- - hw-balancedparens ==0.2.0.2
+ - hvega ==0.3.0.1
+ - hw-balancedparens ==0.2.0.4
- hw-bits ==0.7.0.6
- hw-conduit ==0.2.0.5
- hw-conduit-merges ==0.2.0.0
- hw-diagnostics ==0.0.0.7
+ - hw-dsv ==0.3.5
- hweblib ==0.6.3
- - hw-eliasfano ==0.1.0.1
- - hw-excess ==0.2.0.2
+ - hw-eliasfano ==0.1.1.0
+ - hw-excess ==0.2.2.0
+ - hw-fingertree ==0.1.1.0
- hw-fingertree-strict ==0.1.1.1
- - hw-hspec-hedgehog ==0.1.0.4
+ - hw-hedgehog ==0.1.0.3
+ - hw-hspec-hedgehog ==0.1.0.8
- hw-int ==0.0.0.3
- - hw-ip ==2.0.1.0
- - hw-json ==0.9.0.1
- - hw-mquery ==0.1.0.3
- - hw-packed-vector ==0.0.0.1
- - hw-parser ==0.1.0.0
- - hw-prim ==0.6.2.23
- - hw-rankselect ==0.12.0.4
+ - hw-ip ==2.3.4.1
+ - hw-json ==1.0.0.2
+ - hw-json-simd ==0.1.0.2
+ - hw-mquery ==0.2.0.1
+ - hw-packed-vector ==0.0.0.3
+ - hw-parser ==0.1.0.1
+ - hw-prim ==0.6.2.31
+ - hw-rankselect ==0.13.0.0
- hw-rankselect-base ==0.3.2.1
+ - hw-simd ==0.1.1.4
- hw-streams ==0.0.0.10
- hw-string-parse ==0.0.0.4
- hw-succinct ==0.1.0.1
- - hxt ==9.3.1.16
- - hxt-charproperties ==9.2.0.1
+ - hxt ==9.3.1.18
+ - hxt-charproperties ==9.4.0.0
- hxt-css ==0.1.0.3
- hxt-curl ==9.1.1.1
- hxt-expat ==9.1.1
@@ -1091,14 +1062,16 @@ default-package-overrides:
- hxt-tagsoup ==9.1.4
- hxt-unicode ==9.0.2.4
- hybrid-vectors ==0.2.2
+ - hyper ==0.1.0.3
- hyperloglog ==0.4.2
- - hyphenation ==0.7.1
+ - hyphenation ==0.8
- hyraxAbif ==0.2.3.15
- iconv ==0.4.1.3
- identicon ==0.2.2
- ieee754 ==0.8.0
- if ==0.1.0.0
- iff ==0.0.6
+ - ihaskell ==0.10.0.0
- ihs ==0.1.0.3
- ilist ==0.3.1.0
- imagesize-conduit ==1.1
@@ -1109,29 +1082,36 @@ default-package-overrides:
- indentation-core ==0.0.0.2
- indentation-parsec ==0.0.0.2
- indents ==0.5.0.0
+ - indexed ==0.1.3
- indexed-list-literals ==0.2.1.2
- infer-license ==0.2.0
- inflections ==0.4.0.4
- - influxdb ==1.6.1.3
- - ini ==0.3.6
+ - influxdb ==1.7.1
+ - ini ==0.4.1
+ - inj ==1.0
- inline-c ==0.7.0.1
- - inline-c-cpp ==0.3.0.1
+ - inline-c-cpp ==0.3.0.2
+ - inline-r ==0.10.2
- inliterate ==0.1.0
- - insert-ordered-containers ==0.2.1.0
- - inspection-testing ==0.4.1.2
+ - insert-ordered-containers ==0.2.2
+ - inspection-testing ==0.4.2.2
- instance-control ==0.1.2.0
+ - int-cast ==0.2.0.0
- integer-logarithms ==1.0.3
- integration ==0.2.1
- intern ==0.9.2
- interpolate ==0.2.0
- interpolatedstring-perl6 ==1.0.1
- - interpolation ==0.1.1
- - interpolator ==0.1.2
+ - interpolatedstring-qq2 ==0.1.0.0
+ - interpolation ==0.1.1.1
+ - interpolator ==1.0.0
- IntervalMap ==0.6.1.1
- intervals ==0.8.1
+ - intro ==0.5.2.1
- intset-imperative ==0.1.0.0
- invariant ==0.5.3
- invertible ==0.2.0.5
+ - invertible-grammar ==0.1.2
- io-choice ==0.0.7
- io-machine ==0.2.0.0
- io-manager ==0.1.0.2
@@ -1140,14 +1120,15 @@ default-package-overrides:
- io-storage ==0.3
- io-streams ==1.5.1.0
- io-streams-haproxy ==1.0.1.0
- - ip ==1.4.2.1
+ - ip ==1.5.1
- ip6addr ==1.0.0
- iproute ==1.7.7
- IPv6Addr ==1.1.2
- - ipython-kernel ==0.9.1.0
+ - ipynb ==0.1
+ - ipython-kernel ==0.10.0.0
- irc ==0.6.1.0
- - irc-client ==1.1.0.6
- - irc-conduit ==0.3.0.2
+ - irc-client ==1.1.1.0
+ - irc-conduit ==0.3.0.3
- irc-ctcp ==0.1.3.0
- islink ==0.1.0.0
- iso3166-country-codes ==0.20140203.8
@@ -1157,7 +1138,7 @@ default-package-overrides:
- ixset-typed ==0.4.0.1
- ix-shapable ==0.1.0
- jack ==0.7.1.4
- - jose ==0.8.0.0
+ - jose ==0.8.1.0
- jose-jwt ==0.8.0
- js-dgtable ==0.5.2
- js-flot ==0.8.3
@@ -1165,53 +1146,60 @@ default-package-overrides:
- json ==0.9.3
- json-alt ==1.0.0
- json-feed ==1.0.6
+ - jsonpath ==0.1.0.1
- json-rpc ==1.0.0
- json-rpc-client ==0.2.5.0
- json-rpc-generic ==0.2.1.5
- json-rpc-server ==0.2.6.0
- - JuicyPixels ==3.3.3
+ - JuicyPixels ==3.3.3.1
- JuicyPixels-extra ==0.4.1
- JuicyPixels-scale-dct ==0.1.2
- justified-containers ==0.3.0.0
+ - jwt ==0.10.0
- kan-extensions ==5.2
- kanji ==3.4.0.2
- - katip ==0.7.0.0
+ - katip ==0.8.3.0
- kawhi ==0.3.0
- kazura-queue ==0.1.0.4
- kdt ==0.2.4
- keycode ==0.2.2
- keys ==3.12.2
- - kind-apply ==0.3.1.0
+ - kind-apply ==0.3.2.0
- kind-generics ==0.3.0.0
- kind-generics-th ==0.1.1.0
- - kleene ==0
+ - kleene ==0.1
- kmeans ==0.1.3
- koofr-client ==1.0.0.3
- kraken ==0.1.0
- l10n ==0.1.0.1
- labels ==0.3.3
- lackey ==1.0.9
- - LambdaHack ==0.8.3.0
- - lame ==0.1.1
+ - LambdaHack ==0.9.5.0
+ - lame ==0.2.0
- language-c ==0.8.2
- language-c-quote ==0.12.2
- language-docker ==8.0.2
- language-ecmascript ==0.19
- language-haskell-extract ==0.2.4
- language-java ==0.2.9
- - language-javascript ==0.6.0.12
- - language-puppet ==1.4.4
+ - language-javascript ==0.6.0.13
+ - language-puppet ==1.4.5
+ - lapack ==0.3.1
+ - lapack-carray ==0.0.3
+ - lapack-comfort-array ==0.0.0.1
- lapack-ffi ==0.0.2
- - lapack-ffi-tools ==0.1.2
+ - lapack-ffi-tools ==0.1.2.1
- largeword ==1.2.5
- latex ==0.1.0.4
- - lattices ==1.7.1.1
+ - lattices ==2.0.1
- lawful ==0.1.0.0
+ - lazy-csv ==0.5.1
- lazyio ==0.1.0.4
- lca ==0.3.1
- - leancheck ==0.8.0
+ - leancheck ==0.9.1
- leancheck-instances ==0.0.3
- leapseconds-announced ==2017.1.0.1
+ - learn-physics ==0.6.4
- lens ==4.17.1
- lens-action ==0.2.3
- lens-aeson ==1.0.2
@@ -1219,19 +1207,21 @@ default-package-overrides:
- lens-family ==1.2.3
- lens-family-core ==1.2.3
- lens-family-th ==0.5.0.2
- - lens-labels ==0.3.0.1
- lens-misc ==0.0.2.0
+ - lens-process ==0.3.0.0
- lens-properties ==4.11.1
- lens-regex ==0.1.1
+ - lens-regex-pcre ==0.3.1.0
- lens-simple ==0.1.0.9
- lens-typelevel ==0.1.1.0
- - lenz ==0.3.0.0
+ - lenz ==0.3.1.0
- leveldb-haskell ==0.6.5
- libffi ==0.1
- libgit ==0.3.1
- libgraph ==1.14
- libmpd ==0.9.0.9
- - libraft ==0.1.1.0
+ - liboath-hs ==0.0.1.1
+ - libraft ==0.5.0.0
- libyaml ==0.1.1.0
- LibZip ==1.0.1
- lifted-async ==0.10.0.4
@@ -1239,6 +1229,7 @@ default-package-overrides:
- lift-generics ==0.1.2
- line ==4.0.1
- linear ==1.20.9
+ - linear-circuit ==0.1.0.2
- linux-file-extents ==0.2.0.0
- linux-namespaces ==0.1.3.0
- List ==0.6.2
@@ -1246,27 +1237,30 @@ default-package-overrides:
- listsafe ==0.1.0.1
- list-t ==1.0.3.1
- ListTree ==0.2.3
- - llvm-hs-pure ==7.0.0
+ - list-witnesses ==0.1.1.1
+ - llvm-hs ==8.0.0
+ - llvm-hs-pure ==8.0.0
- lmdb ==0.2.5
- - load-env ==0.2.0.2
+ - load-env ==0.2.1.0
- loc ==0.1.3.4
- locators ==0.2.4.4
- loch-th ==0.2.2
- lockfree-queue ==0.2.3.1
- - log-base ==0.7.4.0
+ - log-base ==0.8.0.0
- log-domain ==0.12
- logfloat ==0.13.3.3
- logger-thread ==0.1.0.2
- logging-effect ==1.3.4
- logging-facade ==0.3.0
- logging-facade-syslog ==1
- - logict ==0.6.0.3
- - long-double ==0.1
+ - logict ==0.7.0.2
- loop ==0.3.0
+ - loopbreaker ==0.1.1.0
+ - lrucache ==1.2.0.1
- lrucaching ==0.3.3
- - lsp-test ==0.5.1.2
+ - lsp-test ==0.6.1.0
- lucid ==2.9.11
- - lucid-extras ==0.1.0.1
+ - lucid-extras ==0.2.2
- lxd-client-config ==0.1.0.1
- lzma ==0.0.0.3
- lzma-conduit ==1.2.1
@@ -1274,40 +1268,41 @@ default-package-overrides:
- machines-binary ==0.3.0.3
- machines-directory ==0.2.1.0
- machines-io ==0.2.0.13
+ - magico ==0.0.2.1
- mainland-pretty ==0.7
- main-tester ==0.2.0.1
- makefile ==1.1.0.0
- managed ==1.0.6
- - mapquest-api ==0.3.1
- markdown ==0.1.17.4
- markdown-unlit ==0.5.0
- markov-chain ==0.0.3.4
- - massiv ==0.2.8.0
+ - massiv ==0.4.1.0
- massiv-io ==0.1.6.0
+ - massiv-test ==0.1.0
- mathexpr ==0.3.0.0
- - math-functions ==0.3.1.0
- - matrices ==0.4.5
+ - math-functions ==0.3.2.0
+ - matplotlib ==0.7.4
+ - matrices ==0.5.0
- matrix ==0.3.6.1
- matrix-market-attoparsec ==0.1.0.8
- matrix-static ==0.2
- maximal-cliques ==0.1.1
- mbox ==0.3.4
- - mbox-utility ==0.0.1
- mbtiles ==0.6.0.0
- - mbug ==1.3.2
- mcmc-types ==1.0.3
- median-stream ==0.7.0.0
- megaparsec ==7.0.5
- - mega-sdist ==0.3.3.2
+ - megaparsec-tests ==7.0.5
+ - mega-sdist ==0.4.0.1
- memory ==0.14.18
- MemoTrie ==0.6.9
- menshen ==0.0.3
- mercury-api ==0.1.0.2
- merkle-tree ==0.1.1
- mersenne-random-pure64 ==0.2.2.0
+ - messagepack ==0.5.4
- metrics ==0.4.1.1
- mfsolve ==0.3.2.0
- - microbench ==0.1
- microformats2-parser ==1.0.1.9
- microlens ==0.4.10
- microlens-aeson ==2.3.0.4
@@ -1315,33 +1310,36 @@ default-package-overrides:
- microlens-ghc ==0.4.10
- microlens-mtl ==0.1.11.1
- microlens-platform ==0.3.11
+ - microlens-process ==0.2.0.0
- microlens-th ==0.4.2.3
- microspec ==0.2.1.3
- microstache ==1.0.1.1
- midair ==0.2.0.1
- midi ==0.2.2.2
+ - midi-music-box ==0.0.1.1
- mighty-metropolis ==1.2.0
- - mime-mail ==0.4.14
+ - mime-mail ==0.5.0
- mime-mail-ses ==0.4.1
- mime-types ==0.1.0.9
- minimorph ==0.2.1.0
- - minio-hs ==1.2.0
+ - minio-hs ==1.5.0
- miniutter ==0.5.0.0
- mintty ==0.1.2
- - miso ==0.21.2.0
+ - miso ==1.2.0.0
- missing-foreign ==0.1.1
- MissingH ==1.4.1.0
- - mixed-types-num ==0.3.1.5
- - mixpanel-client ==0.1.1
+ - mixed-types-num ==0.4.0.1
+ - mixpanel-client ==0.2.1
- mltool ==0.2.0.1
- mmap ==0.5.9
- - mmark ==0.0.7.0
+ - mmark ==0.0.7.1
- mmark-cli ==0.0.5.0
- mmark-ext ==0.2.1.2
- mmorph ==1.1.3
+ - mmtf ==0.1.3.1
- mnist-idx ==0.1.2.8
- mockery ==0.3.5
- - modern-uri ==0.3.0.1
+ - modern-uri ==0.3.1.0
- modular ==0.1.0.8
- monad-control ==1.0.2.3
- monad-control-aligned ==0.0.1.1
@@ -1355,6 +1353,7 @@ default-package-overrides:
- monad-logger-syslog ==0.1.4.0
- monad-loops ==0.4.3
- monad-memo ==0.5.1
+ - monad-metrics ==0.2.1.4
- monad-par ==0.3.4.8
- monad-parallel ==0.7.2.3
- monad-par-extras ==0.3.3
@@ -1368,14 +1367,19 @@ default-package-overrides:
- monad-time ==0.3.1.0
- monad-unlift ==0.2.0
- monad-unlift-ref ==0.2.1
- - mongoDB ==2.4.0.1
+ - mongoDB ==2.5.0.0
- monoidal-containers ==0.4.0.0
- monoid-extras ==0.5
- monoid-subclasses ==0.4.6.1
- monoid-transformer ==0.0.4
- - mono-traversable ==1.0.11.0
+ - mono-traversable ==1.0.12.0
- mono-traversable-instances ==0.1.0.0
+ - mono-traversable-keys ==0.1.0
+ - more-containers ==0.2.1.2
- mountpoints ==1.0.2
+ - mpi-hs ==0.5.3.0
+ - msgpack ==1.0.1.0
+ - msgpack-aeson ==0.1.0.0
- mtl ==2.2.2
- mtl-compat ==0.2.2
- mtl-prelude ==2.0.3.1
@@ -1383,12 +1387,13 @@ default-package-overrides:
- multimap ==1.2.1
- multipart ==0.1.3
- multiset ==0.3.4.1
+ - multistate ==0.8.0.2
- murmur3 ==1.0.3
- murmur-hash ==0.1.0.9
- MusicBrainz ==0.4.1
- mustache ==2.3.0
- mutable-containers ==0.3.4
- - mwc-probability ==2.0.4
+ - mwc-probability ==2.1.0
- mwc-probability-transition ==0.4
- mwc-random ==0.14.0.0
- mysql ==0.1.7
@@ -1397,7 +1402,7 @@ default-package-overrides:
- mysql-simple ==0.4.5
- n2o ==0.11.1
- nagios-check ==0.3.2
- - named ==0.2.0.0
+ - named ==0.3.0.0
- names-th ==0.3.0.0
- nano-erl ==0.1.0.1
- nanospec ==0.2.2
@@ -1407,6 +1412,8 @@ default-package-overrides:
- natural-transformation ==0.4
- ndjson-conduit ==0.1.0.5
- neat-interpolation ==0.3.2.4
+ - netlib-carray ==0.1
+ - netlib-comfort-array ==0.0.0.1
- netlib-ffi ==0.1.1
- netpbm ==1.0.3
- netrc ==0.2.0.0
@@ -1416,16 +1423,16 @@ default-package-overrides:
- netwire-input-glfw ==0.0.10
- network ==2.8.0.1
- network-anonymous-i2p ==0.10.0
- - network-anonymous-tor ==0.11.0
- network-attoparsec ==0.12.2
- - network-byte-order ==0.0.0.0
+ - network-bsd ==2.8.0.0
+ - network-byte-order ==0.1.1.0
- network-conduit-tls ==1.3.2
- network-house ==0.1.0.2
- network-info ==0.2.0.10
- network-ip ==0.3.0.2
- - network-messagepack-rpc ==0.1.1.0
- - network-multicast ==0.2.0
- - network-simple ==0.4.3
+ - network-messagepack-rpc ==0.1.1.1
+ - network-multicast ==0.3.2
+ - network-simple ==0.4.5
- network-simple-tls ==0.3.2
- network-transport ==0.5.4
- network-transport-composed ==0.2.1
@@ -1438,27 +1445,32 @@ default-package-overrides:
- NoHoed ==0.1.1
- nonce ==1.0.7
- nondeterminism ==1.4
- - non-empty ==0.3.1
- - nonempty-containers ==0.1.1.0
+ - non-empty ==0.3.2
+ - nonempty-containers ==0.3.1.0
- nonemptymap ==0.0.6.0
- non-empty-sequence ==0.2.0.2
- non-negative ==0.1.2
+ - not-gloss ==0.7.7.0
+ - no-value ==1.0.0.0
- nowdoc ==0.1.1.0
- nqe ==0.6.1
- nsis ==0.3.3
- numbers ==3000.2.0.2
- numeric-extras ==0.1
- numeric-prelude ==0.4.3.1
+ - numhask ==0.3.0.0
- NumInstances ==1.4
- numtype-dk ==0.5.0.2
- nuxeo ==0.3.2
+ - nvim-hs ==2.1.0.2
+ - nvim-hs-contrib ==2.0.0.0
- nvvm ==0.9.0.0
- oauthenticated ==0.2.1.0
- ObjectName ==1.1.0.1
- oblivious-transfer ==0.1.0
- odbc ==0.2.2
- oeis ==0.3.9
- - oeis2 ==1.0.2
+ - oeis2 ==1.0.3
- ofx ==0.4.2.0
- old-locale ==1.0.0.7
- old-time ==1.1.0.3
@@ -1468,48 +1480,57 @@ default-package-overrides:
- OneTuple ==0.2.2
- Only ==0.1
- oo-prototypes ==0.1.0.0
- - opaleye ==0.6.7003.1
- - OpenAL ==1.7.0.4
+ - opaleye ==0.6.7004.0
+ - OpenAL ==1.7.0.5
- open-browser ==0.2.1.0
- openexr-write ==0.1.0.2
- OpenGL ==3.0.3.0
- - OpenGLRaw ==3.3.2.0
- - openpgp-asciiarmor ==0.1.1
+ - OpenGLRaw ==3.3.3.0
+ - openpgp-asciiarmor ==0.1.2
- opensource ==0.1.1.0
- openssl-streams ==1.2.2.0
- open-witness ==0.4.0.1
- operational ==0.2.3.5
- operational-class ==0.3.0.0
- - opml-conduit ==0.6.0.4
- optional-args ==1.0.2
- options ==1.2.1.1
- optparse-applicative ==0.14.3.0
+ - optparse-enum ==1.0.0.0
- optparse-generic ==1.3.0
- optparse-simple ==0.1.1.2
- optparse-text ==0.1.1.0
+ - ordered-containers ==0.2.2
+ - oset ==0.4.0.1
- overhang ==1.0.0
- - packcheck ==0.4.1
+ - packcheck ==0.4.2
- pager ==0.1.1.0
- pagination ==0.2.1
- - pairing ==0.1.4
- - pandoc ==2.5
- - pandoc-citeproc ==0.15.0.1
- - pandoc-pyplot ==1.0.3.0
- - pandoc-types ==1.17.5.4
+ - pairing ==0.4.1
+ - palette ==0.3.0.2
+ - pandoc ==2.7.3
+ - pandoc-citeproc ==0.16.2
+ - pandoc-csv2table ==1.0.7
+ - pandoc-markdown-ghci-filter ==0.1.0.0
+ - pandoc-pyplot ==2.1.5.1
+ - pandoc-types ==1.17.6
+ - pantry ==0.1.1.2
- parallel ==3.2.2.0
- parallel-io ==0.3.3
- paripari ==0.6.0.0
- parseargs ==0.2.0.9
- - parsec ==3.1.13.0
+ - parsec ==3.1.14.0
- parsec-class ==1.0.0.0
- parsec-numbers ==0.1.0
- parsec-numeric ==0.1.0.0
- ParsecTools ==0.0.2.0
- - parser-combinators ==1.0.3
+ - parser-combinators ==1.1.0
+ - parser-combinators-tests ==1.1.0
- parsers ==0.12.10
- partial-handler ==1.0.3
- partial-isomorphisms ==0.2.2.1
- partial-semigroup ==0.5.1.1
+ - password ==0.1.0.0
+ - password-instances ==0.3.0.0
- path ==0.6.1
- path-extra ==0.2.0
- path-io ==1.4.2
@@ -1520,7 +1541,7 @@ default-package-overrides:
- pattern-arrows ==0.0.2
- pcf-font ==0.2.2.0
- pcf-font-embed ==0.1.2.0
- - pcg-random ==0.1.3.5
+ - pcg-random ==0.1.3.6
- pcre-heavy ==1.0.0.2
- pcre-light ==0.4.0.4
- pcre-utils ==0.1.8.1.1
@@ -1528,7 +1549,9 @@ default-package-overrides:
- peano ==0.1.0.1
- pedersen-commitment ==0.2.0
- pem ==0.2.4
+ - pencil ==1.0.1
- percent-format ==0.0.1
+ - peregrin ==0.3.0
- perfect-hash-generator ==0.2.0.6
- persist ==0.1.1.3
- persistable-record ==0.6.0.4
@@ -1537,14 +1560,20 @@ default-package-overrides:
- persistent-iproute ==0.2.3
- persistent-mysql ==2.9.0
- persistent-mysql-haskell ==0.5.2
+ - persistent-pagination ==0.1.1.0
- persistent-postgresql ==2.9.1
+ - persistent-qq ==2.9.1
- persistent-sqlite ==2.9.3
- - persistent-template ==2.5.4
+ - persistent-template ==2.6.0
+ - persistent-typed-db ==0.0.1.1
+ - pg-harness-client ==0.6.0
+ - pg-harness-server ==0.6.2
- pgp-wordlist ==0.1.0.3
- - pg-transact ==0.1.0.1
+ - pg-transact ==0.1.2.0
- phantom-state ==0.2.1.2
- pid1 ==0.1.2.0
- - pipes ==4.3.9
+ - pinboard ==0.10.1.4
+ - pipes ==4.3.12
- pipes-aeson ==0.4.1.8
- pipes-attoparsec ==0.5.1.5
- pipes-binary ==0.4.2
@@ -1561,51 +1590,61 @@ default-package-overrides:
- pipes-network ==0.6.5
- pipes-network-tls ==0.3
- pipes-parse ==3.0.8
- - pipes-safe ==2.3.1
+ - pipes-random ==1.0.0.5
+ - pipes-safe ==2.3.2
- pipes-wai ==3.2.0
- pkcs10 ==0.2.0.0
- placeholders ==0.1
+ - planb-token-introspection ==0.1.4.0
- plotlyhs ==0.2.1
- pointed ==5.0.1
- pointedlist ==0.6.1
- pointless-fun ==1.1.0.6
- poll ==0.0.0.1
+ - poly ==0.3.1.0
- poly-arity ==0.1.0
- polynomials-bernstein ==1.1.2
- polyparse ==1.12.1
+ - polysemy ==1.0.0.0
+ - polysemy-plugin ==0.2.3.0
+ - polysemy-zoo ==0.5.0.1
- pooled-io ==0.0.2.2
- port-utils ==0.2.1.0
- posix-paths ==0.2.1.6
- possibly ==1.0.0.0
- - postgresql-binary ==0.12.1.2
+ - postgresql-binary ==0.12.1.3
- postgresql-libpq ==0.9.4.2
+ - postgresql-orm ==0.5.1
- postgresql-schema ==0.1.14
- postgresql-simple ==0.6.2
- postgresql-simple-migration ==0.1.14.0
- postgresql-simple-queue ==1.0.1
- postgresql-simple-url ==0.2.1.0
- postgresql-transactional ==1.1.1
+ - postgresql-typed ==0.6.0.1
- post-mess-age ==0.2.1.0
- pptable ==0.3.0.0
- pqueue ==1.4.1.2
- prefix-units ==0.2.0
- - prelude-compat ==0.0.0.1
+ - prelude-compat ==0.0.0.2
- prelude-safeenum ==0.1.1.2
- present ==4.1.0
- prettyclass ==1.0.0.0
- pretty-class ==1.0.1.1
- pretty-hex ==1.0
- - prettyprinter ==1.2.1
+ - prettyprinter ==1.2.1.1
- prettyprinter-ansi-terminal ==1.1.1.2
- prettyprinter-compat-annotated-wl-pprint ==1
- prettyprinter-compat-ansi-wl-pprint ==1.0.1
- prettyprinter-compat-wl-pprint ==1.0.0.1
+ - prettyprinter-convert-ansi-wl-pprint ==1.1
- pretty-show ==1.9.5
- pretty-simple ==2.2.0.1
- pretty-sop ==0.2.0.3
- - pretty-types ==0.2.3.1
+ - pretty-types ==0.3.0.1
- primes ==0.2.1.0
- primitive ==0.6.4.0
+ - primitive-extras ==0.7.1.1
- prim-uniq ==0.1.0.1
- probability ==0.2.5.2
- process-extras ==0.7.4
@@ -1618,84 +1657,95 @@ default-package-overrides:
- prometheus-client ==1.0.0
- promises ==0.3
- prompt ==0.1.1.2
+ - prospect ==0.1.0.0
- protobuf ==0.2.1.2
- protobuf-simple ==0.1.1.0
- protocol-buffers ==2.4.12
- protocol-buffers-descriptor ==2.4.12
- protocol-radius ==0.0.1.1
- - protocol-radius-test ==0.0.1.0
- - proto-lens ==0.4.0.1
+ - protocol-radius-test ==0.1.0.0
+ - proto-lens ==0.5.1.0
- proto-lens-arbitrary ==0.1.2.7
- - proto-lens-combinators ==0.4.0.1
- proto-lens-optparse ==0.1.1.5
- - proto-lens-protobuf-types ==0.4.0.1
- - proto-lens-protoc ==0.4.0.2
- - proto-lens-runtime ==0.4.0.2
+ - proto-lens-protobuf-types ==0.5.0.0
+ - proto-lens-protoc ==0.5.0.0
+ - proto-lens-runtime ==0.5.0.0
- proto-lens-setup ==0.4.0.2
- protolude ==0.2.3
- proxied ==0.3.1
- psql-helpers ==0.1.0.0
- - psqueues ==0.2.7.1
+ - psqueues ==0.2.7.2
- pureMD5 ==2.1.3
- purescript-bridge ==0.13.0.0
- - pure-zlib ==0.6.4
+ - pure-zlib ==0.6.6
- pushbullet-types ==0.4.1.0
- - pusher-http-haskell ==1.5.1.8
+ - pusher-http-haskell ==1.5.1.9
+ - PyF ==0.8.1.0
- qchas ==1.1.0.1
- qm-interpolated-string ==0.3.0.0
- - qnap-decrypt ==0.3.4
- - quadratic-irrational ==0.0.6
+ - qnap-decrypt ==0.3.5
+ - qrcode-core ==0.9.1
+ - qrcode-juicypixels ==0.8.0
+ - quadratic-irrational ==0.1.0
- QuasiText ==0.1.2.6
- quickbench ==1.0
- - QuickCheck ==2.12.6.1
+ - QuickCheck ==2.13.2
- quickcheck-arbitrary-adt ==0.3.1.0
- quickcheck-assertions ==0.3.0
- - quickcheck-classes ==0.6.0.0
- - quickcheck-instances ==0.3.19
+ - quickcheck-classes ==0.6.1.0
+ - quickcheck-instances ==0.3.22
- quickcheck-io ==0.2.0
- - quickcheck-simple ==0.1.1.0
+ - quickcheck-simple ==0.1.1.1
- quickcheck-special ==0.1.0.6
- - quickcheck-state-machine ==0.4.3
+ - quickcheck-state-machine ==0.6.0
- quickcheck-text ==0.1.2.1
+ - quickcheck-transformer ==0.3.1
- quickcheck-unicode ==1.0.1.0
+ - radius ==0.6.0.3
- rainbow ==0.30.0.2
- rainbox ==0.20.0.0
- ramus ==0.1.2
- rando ==0.0.0.4
- random ==1.1
- - random-bytestring ==0.1.3.1
+ - random-bytestring ==0.1.3.2
- random-fu ==0.2.7.0
- random-shuffle ==0.0.4
- random-source ==0.3.0.6
- random-tree ==0.6.0.5
- range ==0.2.1.1
- - range-set-list ==0.1.3
+ - Ranged-sets ==0.4.0
+ - range-set-list ==0.1.3.1
- rank1dynamic ==0.4.0
- - rank2classes ==1.2.1
- - Rasterific ==0.7.4.2
+ - rank2classes ==1.3
+ - Rasterific ==0.7.4.4
- rasterific-svg ==0.3.3.2
- ratel ==1.0.8
- - ratel-wai ==1.0.5
- - rattletrap ==6.0.2
+ - ratel-wai ==1.1.0
+ - rattle ==0.1
+ - rattletrap ==9.0.2
- rawfilepath ==0.2.4
- rawstring-qm ==0.2.3.0
- raw-strings-qq ==1.1
- rcu ==0.2.4
+ - rdf ==0.1.0.3
- re2 ==0.3
- readable ==0.3.1
- read-editor ==0.1.0.2
- read-env-var ==1.0.0.0
+ - reanimate ==0.1.5.0
+ - reanimate-svg ==0.9.1.0
- rebase ==1.3.1.1
- - record-dot-preprocessor ==0.1.5
+ - record-dot-preprocessor ==0.2
+ - record-hasfield ==1.0
- records-sop ==0.1.0.3
- recursion-schemes ==5.1.3
- reducers ==3.12.3
- refact ==0.3.0.2
- references ==0.3.3.1
- - reflection ==2.1.4
+ - reflection ==2.1.5
- RefSerialize ==0.4.0
- regex ==1.0.2.0
- - regex-applicative ==0.3.3
+ - regex-applicative ==0.3.3.1
- regex-applicative-text ==0.1.0.1
- regex-base ==0.93.2
- regex-compat ==0.95.1
@@ -1707,41 +1757,46 @@ default-package-overrides:
- regex-tdfa ==1.2.3.2
- regex-tdfa-text ==1.0.0.3
- regex-with-pcre ==1.0.2.0
- - registry ==0.1.5.1
+ - registry ==0.1.7.0
- reinterpret-cast ==0.1.0
- relapse ==1.0.0.0
- - relational-query ==0.12.2.1
+ - relational-query ==0.12.2.2
- relational-query-HDBC ==0.7.2.0
- relational-record ==0.2.2.0
- relational-schemas ==0.1.7.0
- - relude ==0.4.0
+ - relude ==0.5.0
- renderable ==0.2.0.1
- repa ==3.4.1.4
- repa-algorithms ==3.4.1.3
- repa-io ==3.4.1.1
- repline ==0.2.1.0
- - req ==1.2.1
+ - req ==2.1.0
- req-conduit ==1.0.0
- - req-url-extra ==0.1.0.0
+ - require ==0.4.2
- rerebase ==1.3.1.1
+ - resistor-cube ==0.0.1.2
- resource-pool ==0.2.3.2
- resourcet ==1.2.2
- result ==0.2.6.0
- rethinkdb-client-driver ==0.0.25
- - retry ==0.7.7.0
+ - retry ==0.8.0.1
- rev-state ==0.1.2
- rfc1751 ==0.1.2
- rfc5051 ==0.1.0.4
- - rio ==0.1.8.0
+ - rg ==1.4.0.0
+ - rhine ==0.5.1.0
+ - rhine-gloss ==0.5.1.0
+ - rigel-viz ==0.2.0.0
+ - rio ==0.1.12.0
- rio-orphans ==0.1.1.0
- - rng-utils ==0.3.0
+ - rio-prettyprint ==0.1.0.0
- roc-id ==0.1.0.0
- rocksdb-haskell ==1.0.1
- rocksdb-query ==0.2.0
- roles ==0.2.0.0
+ - rope-utf16-splay ==0.3.1.0
- rosezipper ==0.2
- rot13 ==0.2.0.1
- - rounded ==0.1.0.1
- rpmbuild-order ==0.2.1
- RSA ==2.3.1
- runmemo ==1.0.0.1
@@ -1753,8 +1808,12 @@ default-package-overrides:
- safe-exceptions-checked ==0.1.0
- safe-foldable ==0.1.0.0
- safeio ==0.0.5.0
+ - safe-json ==0.1.0
+ - safe-money ==0.9
- SafeSemaphore ==0.10.1
- - salak ==0.1.11
+ - salak ==0.3.5.3
+ - salak-toml ==0.3.5.3
+ - salak-yaml ==0.3.5.3
- saltine ==0.1.0.2
- salve ==1.0.6
- sample-frame ==0.0.3
@@ -1762,102 +1821,117 @@ default-package-overrides:
- sampling ==0.3.3
- sandman ==0.2.0.1
- say ==0.1.0.1
- - sbp ==2.4.7
- - sbv ==7.13
- - scalpel ==0.5.1
- - scalpel-core ==0.5.1
+ - sbp ==2.6.3
+ - sbv ==8.3
+ - scalpel ==0.6.0
+ - scalpel-core ==0.6.0
- scanf ==0.1.0.0
- scanner ==0.3
+ - scheduler ==1.4.2
- scientific ==0.3.6.2
- - scotty ==0.11.4
+ - scotty ==0.11.5
- scrypt ==0.5.0
- - sdl2 ==2.4.1.0
+ - sdl2 ==2.5.0.0
- sdl2-gfx ==0.2
- sdl2-image ==2.0.0
- sdl2-mixer ==1.1.0
- sdl2-ttf ==2.1.0
- secp256k1-haskell ==0.1.4
- securemem ==0.1.10
- - selda ==0.3.4.0
- - selda-postgresql ==0.1.7.3
- - selda-sqlite ==0.1.6.1
+ - selda ==0.4.0.0
+ - selda-json ==0.1.0.0
+ - selda-postgresql ==0.1.8.0
+ - selda-sqlite ==0.1.7.0
+ - selective ==0.3
+ - semialign ==1
- semigroupoid-extras ==5
- - semigroupoids ==5.3.2
+ - semigroupoids ==5.3.3
- semigroups ==0.18.5
- - semirings ==0.2.1.1
+ - semirings ==0.4.2
- semiring-simple ==1.0.0.1
- semver ==0.3.4
- - sendfile ==0.7.10
+ - sendfile ==0.7.11.1
- seqalign ==0.2.0.4
- serf ==0.1.1.0
- serialise ==0.2.1.0
- - servant ==0.15
+ - servant ==0.16.2
- servant-auth ==0.3.2.0
- - servant-auth-client ==0.3.3.0
+ - servant-auth-client ==0.4.0.0
- servant-auth-docs ==0.2.10.0
- servant-auth-server ==0.4.4.0
- servant-auth-swagger ==0.2.10.0
- - servant-blaze ==0.8
+ - servant-auth-wordpress ==1.0.0.1
+ - servant-blaze ==0.9
- servant-cassava ==0.10
- - servant-checked-exceptions ==2.0.0.0
- - servant-checked-exceptions-core ==2.0.0.0
- - servant-client ==0.15
- - servant-client-core ==0.15
+ - servant-checked-exceptions ==2.2.0.0
+ - servant-checked-exceptions-core ==2.2.0.0
+ - servant-cli ==0.1.0.1
+ - servant-client ==0.16
+ - servant-client-core ==0.16
- servant-conduit ==0.15
- servant-docs ==0.11.3
- - servant-elm ==0.5.0.0
- - servant-exceptions ==0.1.1
+ - servant-elm ==0.6.0.2
- servant-foreign ==0.15
+ - servant-http-streams ==0.16
- servant-js ==0.9.4
- servant-JuicyPixels ==0.3.0.4
- - servant-kotlin ==0.1.1.7
- - servant-lucid ==0.8.1
+ - servant-kotlin ==0.1.1.9
+ - servant-lucid ==0.9
+ - servant-machines ==0.15
- servant-mock ==0.8.5
- - servant-pandoc ==0.5.0.0
- - servant-rawm ==0.3.0.0
+ - servant-multipart ==0.11.4
+ - servant-pipes ==0.15
- servant-ruby ==0.9.0.0
- - servant-server ==0.15
+ - servant-server ==0.16.2
- servant-static-th ==0.2.2.0
- - servant-streaming ==0.3.0.0
- - servant-swagger ==1.1.7
- - servant-swagger-ui ==0.3.2.3.19.3
- - servant-swagger-ui-core ==0.3.2
- - servant-swagger-ui-redoc ==0.3.2.1.22.2
+ - servant-swagger ==1.1.7.1
+ - servant-swagger-ui ==0.3.4.3.22.2
+ - servant-swagger-ui-core ==0.3.3
+ - servant-swagger-ui-redoc ==0.3.3.1.22.2
- servant-tracing ==0.1.0.2
- - servant-websockets ==1.1.0
+ - servant-xml ==1.0.1.4
- servant-yaml ==0.1.0.1
- - serverless-haskell ==0.8.7
- serversession ==1.0.1
- serversession-frontend-wai ==1.0
- servius ==1.2.3.0
- ses-html ==0.4.0.0
+ - set-cover ==0.0.9
- setenv ==0.1.1.3
- setlocale ==1.0.0.8
+ - sexp-grammar ==2.0.2
+ - sexpr-parser ==0.1.1.2
- SHA ==1.6.4.4
- shake-language-c ==0.12.0
- - shakespeare ==2.0.20
+ - shakespeare ==2.0.21
- shared-memory ==0.2.0.0
- shell-conduit ==4.7.0
- shell-escape ==0.2.0
+ - shellmet ==0.0.2.0
- shelltestrunner ==1.9
- - shelly ==1.8.0
+ - shelly ==1.8.1
- shikensu ==0.3.11
- shortcut-links ==0.4.2.1
- should-not-typecheck ==2.1.0
- show-combinators ==0.1.1.0
- - show-prettyprint ==0.2.3
+ - shower ==0.2.0.1
+ - show-prettyprint ==0.3.0.1
- siggy-chardust ==1.0.0
- signal ==0.1.0.4
- - silently ==1.2.5
- - simple-cmd ==0.1.4
- - simple-cmd-args ==0.1.1
- - simple-log ==0.9.11
+ - silently ==1.2.5.1
+ - simple ==0.11.3
+ - simple-cabal ==0.0.0.1
+ - simple-cmd ==0.2.0.1
+ - simple-cmd-args ==0.1.2
+ - simple-log ==0.9.12
- simple-reflect ==0.3.3
- simple-sendfile ==0.2.28
- - simple-vec3 ==0.4.0.10
+ - simple-session ==0.10.1.1
+ - simple-templates ==0.9.0.0
+ - simple-vec3 ==0.6
+ - simplistic-generics ==0.1.0.0
- since ==0.0.0
- - singleton-bool ==0.1.4
- - singleton-nats ==0.4.2
+ - singleton-bool ==0.1.5
+ - singleton-nats ==0.4.3
- singletons ==2.5.1
- siphash ==1.0.3
- size-based ==0.1.2.0
@@ -1865,20 +1939,20 @@ default-package-overrides:
- skein ==1.0.9.4
- skews ==0.1.0.2
- skip-var ==0.1.1.0
- - skylighting ==0.7.7
- - skylighting-core ==0.7.7
+ - skylighting ==0.8.2
+ - skylighting-core ==0.8.2
- slack-web ==0.2.0.11
- smallcheck ==1.1.5
+ - smallcheck-series ==0.6.1
- smoothie ==0.4.2.9
- - smtp-mail ==0.1.4.6
- snap-blaze ==0.2.1.5
- snap-core ==1.0.4.0
- - snap-server ==1.1.0.0
+ - snap-server ==1.1.1.1
- snowflake ==0.1.1.1
- soap ==0.2.3.6
- soap-tls ==0.1.1.4
- socket-activation ==0.1.0.2
- - socks ==0.5.6
+ - socks ==0.6.0
- sop-core ==0.4.0.0
- sort ==1.0.0.0
- sorted-list ==0.2.1.0
@@ -1886,6 +1960,7 @@ default-package-overrides:
- sox ==0.2.3.1
- soxlib ==0.0.3.1
- sparse-linear-algebra ==0.3.1
+ - spatial-math ==0.5.0.1
- special-values ==0.1.0.0
- speculate ==0.3.5
- speedy-slice ==0.3.0
@@ -1893,7 +1968,7 @@ default-package-overrides:
- Spintax ==0.3.3
- splice ==0.6.1.1
- split ==0.2.3.3
- - splitmix ==0.0.2
+ - splitmix ==0.0.3
- spoon ==0.3.1
- spreadsheet ==0.1.3.8
- sqlite-simple ==0.4.16.0
@@ -1901,17 +1976,15 @@ default-package-overrides:
- sql-words ==0.1.6.3
- srcloc ==0.5.1.2
- stache ==2.0.1
- - stack2nix ==0.2.3
- starter ==0.3.0
- state-codes ==0.1.3
- stateref ==0.3
- statestack ==0.2.0.5
- - StateVar ==1.1.1.1
+ - StateVar ==1.2
- static-text ==0.2.0.4
- statistics ==0.15.0.0
- stb-image-redux ==0.2.1.2
- step-function ==0.2
- - stm ==2.5.0.0
- stm-chans ==3.0.0.4
- stm-conduit ==4.0.1
- stm-delay ==0.1.1.1
@@ -1922,79 +1995,89 @@ default-package-overrides:
- storable-record ==0.0.4
- storable-tuple ==0.0.3.3
- storablevector ==0.2.13
- - store ==0.5.1.0
+ - store ==0.5.1.2
- store-core ==0.4.4
- Strafunski-StrategyLib ==5.0.1.0
- - stratosphere ==0.29.1
+ - stratosphere ==0.40.0
- streaming ==0.2.2.0
- streaming-attoparsec ==1.0.0.1
- streaming-bytestring ==0.1.6
- - streaming-commons ==0.2.1.0
+ - streaming-cassava ==0.1.0.1
+ - streaming-commons ==0.2.1.1
- streaming-wai ==0.1.1
- - streamly ==0.5.2
+ - streamly ==0.6.1
- streamproc ==1.6.2
- streams ==3.3
- strict ==0.3.2
- strict-base-types ==0.6.1
- strict-concurrency ==0.2.4.3
+ - strict-list ==0.1.4
- stringbuilder ==0.5.1
- string-class ==0.1.7.0
- string-combinators ==0.6.0.5
- string-conv ==0.1.2
- string-conversions ==0.4.0.1
+ - string-interpolate ==0.1.0.1
- string-qq ==0.0.2
- stringsearch ==0.3.6.6
- - string-transform ==1.1.0
+ - string-transform ==1.1.1
+ - stripe-concepts ==1.0.1.0
+ - stripe-scotty ==1.0.0.0
+ - stripe-signature ==1.0.0.1
+ - stripe-wreq ==1.0.0.0
- strive ==5.0.8
- structs ==0.1.2
- - stylish-haskell ==0.9.2.1
- - summoner ==1.2.0
+ - structured-cli ==2.5.1.0
+ - summoner ==1.3.0.1
- sum-type-boilerplate ==0.1.1
- sundown ==0.6
- superbuffer ==0.3.1.1
+ - sv ==1.3.1
- sv-cassava ==0.3
- - sv-core ==0.3.1
+ - sv-core ==0.4.1
- svg-builder ==0.1.1
- SVGFonts ==1.7.0.1
- - svg-tree ==0.6.2.3
+ - svg-tree ==0.6.2.4
- swagger ==0.3.0
- - swagger2 ==2.3.1.1
+ - swagger2 ==2.4
- swish ==0.10.0.1
- - syb ==0.7
+ - syb ==0.7.1
- symbol ==0.2.4
- symengine ==0.1.2.0
- sysinfo ==0.1.1
- system-argv0 ==0.1.1
- - systemd ==1.1.2
+ - systemd ==1.2.0
- system-fileio ==0.3.16.4
- system-filepath ==0.4.14
- tabular ==0.2.2.7
- tagchup ==0.4.1.1
- tagged ==0.8.6
- tagged-binary ==0.2.0.1
- - tagged-identity ==0.1.2
+ - tagged-identity ==0.1.3
- tagged-transformer ==0.8.1
- tagshare ==0.0
- tagsoup ==0.14.8
- tagstream-conduit ==0.5.5.3
- tao ==1.0.0
- tao-example ==1.0.0
- - tar ==0.5.1.0
+ - tar ==0.5.1.1
- tar-conduit ==0.3.2
- tardis ==0.4.1.0
- - tasty ==1.2
+ - tasty ==1.2.3
- tasty-ant-xml ==1.1.6
- - tasty-dejafu ==1.2.1.0
+ - tasty-dejafu ==2.0.0.1
- tasty-discover ==4.2.1
- - tasty-expected-failure ==0.11.1.1
+ - tasty-expected-failure ==0.11.1.2
- tasty-golden ==2.3.2
+ - tasty-hedgehog ==1.0.0.1
- tasty-hspec ==1.1.5.1
- - tasty-hunit ==0.10.0.1
+ - tasty-hunit ==0.10.0.2
- tasty-kat ==0.0.3
- tasty-leancheck ==0.0.1
+ - tasty-lua ==0.2.0.1
- tasty-program ==1.0.5
- tasty-quickcheck ==0.10.1
- - tasty-silver ==3.1.12
+ - tasty-silver ==3.1.13
- tasty-smallcheck ==0.8.1
- tasty-th ==0.1.7
- TCache ==0.12.1
@@ -2002,14 +2085,14 @@ default-package-overrides:
- tcp-streams ==1.0.1.1
- tcp-streams-openssl ==1.0.1.0
- tdigest ==0.2.1
- - telegram-bot-simple ==0.2.0
- template-toolkit ==0.1.1.0
- temporary ==1.3
- temporary-rc ==1.2.0.3
- temporary-resourcet ==0.1.0.1
- tensorflow-test ==0.1.0.0
- tensors ==0.1.4
- - termbox ==0.1.0
+ - termbox ==0.2.0
+ - terminal-progress-bar ==0.4.1
- terminal-size ==0.3.2.1
- test-framework ==0.8.2.0
- test-framework-hunit ==0.3.0.2
@@ -2020,7 +2103,6 @@ default-package-overrides:
- testing-feat ==1.1.0.0
- testing-type-modifiers ==0.1.0.1
- texmath ==0.11.2.2
- - text ==1.2.3.1
- text-binary ==0.2.1.1
- text-builder ==0.6.5.1
- text-conversions ==0.3.0
@@ -2032,21 +2114,24 @@ default-package-overrides:
- text-manipulate ==0.2.0.1
- text-metrics ==0.3.0
- text-postgresql ==0.0.3.1
- - text-printer ==0.5
+ - text-printer ==0.5.0.1
- text-region ==0.3.1.0
- - text-short ==0.1.2
- - text-show ==3.7.5
+ - text-short ==0.1.3
+ - text-show ==3.8.2
+ - text-show-instances ==3.8.2
+ - text-zipper ==0.10.1
- tfp ==1.0.1.1
- tf-random ==0.5
- - th-abstraction ==0.2.11.0
+ - th-abstraction ==0.3.1.0
- th-data-compat ==0.0.2.7
- th-desugar ==1.9
- - these ==0.7.6
- - th-expand-syns ==0.4.4.0
+ - these ==1.0.1
+ - th-expand-syns ==0.4.5.0
- th-extras ==0.0.0.4
- - th-lift ==0.7.11
- - th-lift-instances ==0.1.12
- - th-orphans ==0.13.7
+ - th-lift ==0.8.0.1
+ - th-lift-instances ==0.1.14
+ - th-nowq ==0.1.0.3
+ - th-orphans ==0.13.8
- th-printf ==0.6.0
- thread-hierarchy ==0.3.0.1
- thread-local-storage ==0.2
@@ -2057,79 +2142,99 @@ default-package-overrides:
- throttle-io-stream ==0.2.0.1
- throwable-exceptions ==0.1.0.9
- th-strict-compat ==0.1.0.1
+ - th-test-utils ==1.0.0
- th-utilities ==0.2.3.0
- thyme ==0.3.5.5
- - tidal ==1.0.13
- tile ==0.3.0.0
- - time-compat ==0.1.0.3
+ - time-compat ==1.9.2.2
- timeit ==2.0
- timelens ==0.2.0.2
- time-lens ==0.4.0.2
- time-locale-compat ==0.1.1.5
- time-locale-vietnamese ==1.0.0.0
+ - time-manager ==0.0.0
- time-parsers ==0.1.2.1
- time-qq ==0.0.1.0
- timerep ==2.0.0.2
- - timer-wheel ==0.1.0
+ - timer-wheel ==0.2.0.1
- timezone-olson ==0.1.9
- timezone-series ==0.1.9
- - tinylog ==0.14.1
+ - tintin ==1.10.0
+ - tinylog ==0.15.0
- titlecase ==1.0.1
- tldr ==0.4.0.1
- tls ==1.4.1
- tls-debug ==0.4.5
- - tls-session-manager ==0.0.0.2
+ - tls-session-manager ==0.0.3
- tmapchan ==0.0.3
- tmapmvar ==0.0.4
- - tmp-postgres ==0.1.2.2
+ - tmp-postgres ==0.2.0.0
- token-bucket ==0.1.0.1
- - tomland ==0.5.0
+ - tomland ==1.1.0.1
+ - tonalude ==0.1.1.0
+ - tonaparser ==0.1.0.0
+ - tonatona ==0.1.0.1
+ - tonatona-logger ==0.2.0.0
+ - tonatona-persistent-postgresql ==0.1.0.1
+ - tonatona-persistent-sqlite ==0.1.0.1
+ - tonatona-servant ==0.1.0.2
+ - torsor ==0.1
- tostring ==0.2.1.1
- TotalMap ==0.1.0.0
+ - tracing ==0.0.4.0
- transaction ==0.1.1.3
- transformers-base ==0.4.5.2
- transformers-bifunctors ==0.1
- transformers-compat ==0.6.5
- transformers-fix ==1.0
- traverse-with-class ==1.0.0.0
- - tree-diff ==0.0.2.1
+ - tree-diff ==0.1
- tree-fun ==0.8.1.0
- trifecta ==2
- - triplesec ==0.2.2.0
+ - triplesec ==0.2.2.1
+ - trivial-constraint ==0.6.0.0
+ - true-name ==0.1.0.3
- tsv2csv ==0.1.0.2
+ - ttl-hashtables ==1.3.1.1
- ttrie ==0.1.2.1
- tuple ==0.3.0.2
- tuples-homogenous-h98 ==0.1.1.0
- tuple-sop ==0.3.1.0
- tuple-th ==0.2.5
- turtle ==1.5.14
- - typed-process ==0.2.4.0
+ - TypeCompose ==0.9.14
+ - typed-process ==0.2.6.0
+ - type-errors ==0.2.0.0
+ - type-errors-pretty ==0.0.0.0
- type-fun ==0.1.1
- type-hint ==0.1
- type-level-integers ==0.0.1
- type-level-kv-list ==1.1.0
- type-level-numbers ==0.1.1.1
- - typelits-witnesses ==0.3.0.3
+ - typelits-witnesses ==0.4.0.0
+ - type-map ==0.1.6.0
- typenums ==0.1.2.1
- type-of-html ==1.5.0.0
- type-of-html-static ==0.1.0.2
- - type-operators ==0.1.0.4
- - typerep-map ==0.3.1
- - type-spec ==0.3.0.1
+ - type-operators ==0.2.0.0
+ - typerep-map ==0.3.2
+ - type-spec ==0.4.0.0
- tz ==0.1.3.2
- tzdata ==0.1.20190325.0
- ua-parser ==0.7.5.1
- ucam-webauth ==0.1.0.0
- ucam-webauth-types ==0.1.0.0
- uglymemo ==0.1.0.1
+ - unagi-chan ==0.4.1.2
- unbounded-delays ==0.1.1.0
- unbound-generics ==0.4.0
- unboxed-ref ==0.4.0.0
+ - unboxing-vector ==0.1.1.0
- uncertain ==0.3.1.0
- unconstrained ==0.1.0.2
- unicode ==0.0.1.1
- unicode-show ==0.1.0.3
- - unicode-transforms ==0.3.5
+ - unicode-transforms ==0.3.6
- unification-fd ==0.10.0.1
- union ==0.1.2
- union-find ==0.2
@@ -2137,19 +2242,26 @@ default-package-overrides:
- uniprot-kb ==0.1.2.0
- uniq-deep ==1.1.1
- unique ==0
+ - unique-logic ==0.4
+ - unique-logic-tf ==0.5.1
- unit-constraint ==0.0.0
- - universe-base ==1.0.2.1
- - universe-instances-base ==1.0
- - universe-instances-trans ==1.0.0.1
- - universe-reverse-instances ==1.0
+ - universe ==1.1
+ - universe-base ==1.1.1
+ - universe-dependent-sum ==1.1.0.1
+ - universe-instances-base ==1.1
+ - universe-instances-extended ==1.1
+ - universe-instances-trans ==1.1
+ - universe-reverse-instances ==1.1
- universum ==1.5.0
- unix-bytestring ==0.3.7.3
- - unix-compat ==0.5.1
- - unix-time ==0.4.5
- - unliftio ==0.2.10
+ - unix-compat ==0.5.2
+ - unix-time ==0.4.7
+ - unliftio ==0.2.12
- unliftio-core ==0.1.2.0
+ - unliftio-pool ==0.2.1.0
+ - unliftio-streams ==0.1.1.0
- unlit ==0.4.0.0
- - unordered-containers ==0.2.9.0
+ - unordered-containers ==0.2.10.0
- unordered-intmap ==0.1.1
- unsafe ==0.0
- uri-bytestring ==0.3.2.1
@@ -2167,7 +2279,7 @@ default-package-overrides:
- utility-ht ==0.0.14
- uuid ==1.3.13
- uuid-types ==1.0.3
- - validation ==1
+ - validation ==1.1
- validity ==0.9.0.1
- validity-aeson ==0.2.0.2
- validity-bytestring ==0.4.1.0
@@ -2180,8 +2292,8 @@ default-package-overrides:
- validity-uuid ==0.1.0.2
- validity-vector ==0.2.0.2
- valor ==0.1.0.0
- - vault ==0.3.1.2
- - vec ==0.1.1
+ - vault ==0.3.1.3
+ - vec ==0.1.1.1
- vector ==0.12.0.3
- vector-algorithms ==0.8.0.1
- vector-binary-instances ==0.2.5.1
@@ -2190,33 +2302,35 @@ default-package-overrides:
- vector-bytes-instances ==0.1.1
- vector-instances ==3.4
- vector-mmap ==0.0.3
- - vector-sized ==1.2.0.0
- - vector-space ==0.15
+ - vector-sized ==1.2.0.1
+ - vector-space ==0.16
- vector-split ==1.0.0.2
- vector-th-unbox ==0.2.1.6
- - verbosity ==0.2.3.0
- - versions ==3.5.1
+ - verbosity ==0.3.0.0
+ - versions ==3.5.1.1
- ViennaRNAParser ==1.3.3
- - vinyl ==0.10.0.1
+ - viewprof ==0.0.0.29
+ - vinyl ==0.11.0
- vivid ==0.4.2.3
- vivid-osc ==0.5.0.0
- vivid-supercollider ==0.4.1.2
- void ==0.7.3
- vty ==5.25.1
- - wai ==3.2.2
+ - wai ==3.2.2.1
- wai-app-static ==3.1.6.3
- - wai-cli ==0.1.1
+ - wai-cli ==0.2.1
- wai-conduit ==3.0.0.4
- - wai-cors ==0.2.6
+ - wai-cors ==0.2.7
+ - wai-enforce-https ==0.0.1
- wai-eventsource ==3.0.0
- - wai-extra ==3.0.26
+ - wai-extra ==3.0.28
- wai-handler-launch ==3.0.2.4
- - wai-logger ==2.3.4
+ - wai-logger ==2.3.5
- wai-middleware-auth ==0.1.2.1
- wai-middleware-caching ==0.1.0.2
- wai-middleware-crowd ==0.1.4.2
- wai-middleware-static ==0.8.2
- - wai-middleware-throttle ==0.3.0.0
+ - wai-middleware-throttle ==0.3.0.1
- wai-middleware-travisci ==0.1.0
- wai-predicates ==0.10.0
- wai-session ==0.3.3
@@ -2224,13 +2338,13 @@ default-package-overrides:
- wai-slack-middleware ==0.2.0
- wai-transformers ==0.1.0
- wai-websockets ==3.0.1.2
- - warp ==3.2.27
- - warp-tls ==3.2.5
+ - warp ==3.2.28
+ - warp-tls ==3.2.7
- warp-tls-uid ==0.2.0.6
- - wave ==0.1.5
+ - wave ==0.2.0
- wcwidth ==0.0.2
- web3 ==0.8.3.2
- - webdriver ==0.8.5
+ - webdriver ==0.9.0.1
- webex-teams-api ==0.2.0.0
- webex-teams-conduit ==0.2.0.0
- webex-teams-pipes ==0.2.0.0
@@ -2245,11 +2359,12 @@ default-package-overrides:
- wikicfp-scraper ==0.1.0.11
- wild-bind ==0.1.2.4
- wild-bind-x11 ==0.2.0.7
+ - Win32 ==2.6.1.0
- Win32-notify ==0.3.0.3
- windns ==0.1.0.1
- - winery ==0.3.1
+ - winery ==1.1.2
- wire-streams ==0.1.1.0
- - witherable ==0.3
+ - witherable ==0.3.3
- with-location ==0.1.0
- witness ==0.4
- wizards ==1.0.3
@@ -2258,12 +2373,17 @@ default-package-overrides:
- wl-pprint-text ==1.2.0.0
- word24 ==2.0.1
- word8 ==0.1.3
+ - wordpress-auth ==1.0.0.0
- word-trie ==0.3.0
- - world-peace ==0.1.0.0
+ - word-wrap ==0.4.1
+ - world-peace ==1.0.1.0
- wrap ==0.0.0
- - wreq ==0.5.3.1
+ - wreq ==0.5.3.2
+ - writer-cps-exceptions ==0.1.0.1
+ - writer-cps-mtl ==0.1.1.6
+ - writer-cps-transformers ==0.5.6.1
- ws ==0.0.5
- - wuss ==1.1.13
+ - wuss ==1.1.14
- X11 ==1.9
- X11-xft ==0.3.1
- x11-xim ==0.0.9.0
@@ -2273,21 +2393,21 @@ default-package-overrides:
- x509-validation ==1.6.11
- Xauth ==0.1
- xdg-basedir ==0.2.2
+ - xdg-userdirs ==0.1.0.2
- xeno ==0.3.5.1
- xenstore ==0.1.1
- - xhtml ==3000.2.2.1
- - xls ==0.1.1
+ - xls ==0.1.2
- xlsx ==0.7.2
- xlsx-tabular ==0.2.2.1
- xml ==1.3.14
- xml-basic ==0.1.3.1
- - xmlbf ==0.4.1
- - xmlbf-xeno ==0.1.1
+ - xmlbf ==0.6
+ - xmlbf-xeno ==0.2
- xml-conduit ==1.8.0.1
- xml-conduit-parse ==0.3.1.2
- xml-conduit-writer ==0.1.1.2
- xmlgen ==0.6.2.2
- - xml-hamlet ==0.5.0
+ - xml-hamlet ==0.5.0.1
- xml-html-qq ==0.1.0.1
- xml-indexed-cursor ==0.1.1.0
- xml-isogen ==0.3.0
@@ -2301,36 +2421,33 @@ default-package-overrides:
- xmonad-extras ==0.15.1
- xss-sanitize ==0.3.6
- xxhash-ffi ==0.2.0.0
- - yam ==0.5.17
- - yam-datasource ==0.5.17
- - yaml ==0.11.0.0
+ - yaml ==0.11.1.2
- yeshql ==4.1.0.1
- yeshql-core ==4.1.0.2
- yeshql-hdbc ==4.1.0.2
- yesod ==1.6.0
- - yesod-alerts ==0.1.2.0
- - yesod-auth ==1.6.6
+ - yesod-alerts ==0.1.3.0
+ - yesod-auth ==1.6.8
- yesod-auth-hashdb ==1.7.1.1
- - yesod-auth-oauth2 ==0.6.1.1
+ - yesod-auth-oauth2 ==0.6.1.2
- yesod-bin ==1.6.0.3
- - yesod-core ==1.6.14
+ - yesod-core ==1.6.16.1
- yesod-csp ==0.2.5.0
- yesod-eventsource ==1.6.0
- yesod-fb ==0.5.0
- - yesod-form ==1.6.4
- - yesod-form-bootstrap4 ==2.1.0
+ - yesod-form ==1.6.6
+ - yesod-form-bootstrap4 ==2.1.2
- yesod-gitrepo ==0.3.0
- yesod-gitrev ==0.2.1
- - yesod-markdown ==0.12.6.2
- yesod-newsfeed ==1.6.1.0
- yesod-paginator ==1.1.0.2
- yesod-persistent ==1.6.0.2
- yesod-recaptcha2 ==0.3.0
- yesod-sitemap ==1.6.0
- yesod-static ==1.6.0.1
- - yesod-test ==1.6.6.1
+ - yesod-test ==1.6.6.2
- yesod-text-markdown ==0.1.10
- - yesod-websockets ==0.3.0.1
+ - yesod-websockets ==0.3.0.2
- yes-precure5-command ==5.5.3
- yi-language ==0.18.0
- yi-rope ==0.11
@@ -2338,18 +2455,18 @@ default-package-overrides:
- yoga ==0.0.0.5
- youtube ==0.2.1.1
- zero ==0.1.5
- - zeromq4-haskell ==0.7.0
+ - zeromq4-haskell ==0.8.0
- zeromq4-patterns ==0.3.1.0
- zim-parser ==0.2.1.0
- zip ==1.2.0
- zip-archive ==0.4.1
- - zippers ==0.2.5
+ - zippers ==0.3
- zip-stream ==0.2.0.1
- - zlib ==0.6.2
+ - zlib ==0.6.2.1
- zlib-bindings ==0.1.1.5
- zlib-lens ==0.1.2.1
- zot ==0.0.3
- - zstd ==0.1.0.0
+ - zstd ==0.1.1.2
- ztail ==1.2.0.2
extra-packages:
@@ -2361,6 +2478,7 @@ extra-packages:
- binary > 0.8 && < 0.9 # keep a 8.x major release around for older compilers
- blank-canvas < 0.6.3 # more recent versions depend on base-compat-batteries == 0.10.* but we're on base-compat-0.9.*
- Cabal == 2.2.* # required for jailbreak-cabal etc.
+ - Cabal == 2.4.* # required for cabal-install etc.
- colour < 2.3.4 # newer versions don't support GHC 7.10.x
- conduit >=1.1 && <1.3 # pre-lts-11.x versions neeed by git-annex 6.20180227
- conduit-extra >=1.1 && <1.3 # pre-lts-11.x versions neeed by git-annex 6.20180227
@@ -2369,6 +2487,7 @@ extra-packages:
- dbus <1 # for xmonad-0.26
- deepseq == 1.3.0.1 # required to build Cabal with GHC 6.12.3
- generic-deriving == 1.10.5.* # new versions don't compile with GHC 7.10.x
+ - ghc-lib-parser == 8.8.0.20190723 # required by hlint-2.2.2
- gloss < 1.9.3 # new versions don't compile with GHC 7.8.x
- haddock < 2.17 # required on GHC 7.10.x
- haddock == 2.17.* # required on GHC 8.0.x
@@ -2388,7 +2507,6 @@ extra-packages:
- inline-c-cpp < 0.2 # required on GHC 8.0.x
- lens-labels == 0.1.* # required for proto-lens-descriptors
- mainland-pretty == 0.6.2.* # required for tensorflow-opgen-0.1.0.0
- - megaparsec < 7.0 # required for idris <= 1.3.1: https://github.com/idris-lang/Idris-dev/pull/4610
- mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x
- mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms
- network == 2.6.3.1 # newer versions don't compile with GHC 7.4.x and below
@@ -2402,11 +2520,13 @@ extra-packages:
- proto-lens-protobuf-types == 0.2.* # required for tensorflow-proto-0.1.x on GHC 8.2.x
- proto-lens-protoc == 0.2.* # required for tensorflow-proto-0.1.x on GHC 8.2.x
- QuickCheck < 2 # required by test-framework-quickcheck and its users
+ - resolv == 0.1.1.2 # required to build cabal-install-3.0.0.0 with pre ghc-8.8.x
- resourcet ==1.1.* # pre-lts-11.x versions neeed by git-annex 6.20180227
- seqid < 0.2 # newer versions depend on transformers 0.4.x which we cannot provide in GHC 7.8.x
- seqid-streams < 0.2 # newer versions depend on transformers 0.4.x which we cannot provide in GHC 7.8.x
- split < 0.2 # newer versions don't work with GHC 6.12.3
- tar < 0.4.2.0 # later versions don't work with GHC < 7.6.x
+ - these == 0.7.6 # required by hnix 0.6.1
- transformers == 0.4.3.* # the latest version isn't supported by mtl yet
- vector < 0.10.10 # newer versions don't work with GHC 6.12.3
- xml-conduit ^>= 1.7 # pre-lts-11.x versions neeed by git-annex 6.20180227
@@ -2426,6 +2546,7 @@ package-maintainers:
- funcmp
- git-annex
- hackage-db
+ - haskell-ci
- hledger
- hledger-interest
- hledger-ui
@@ -2436,8 +2557,6 @@ package-maintainers:
- hsyslog
- jailbreak-cabal
- json-autotype
- - lambdabot-core
- - lambdabot-irc-plugins
- language-nix
- liquid-fixpoint
- liquidhaskell
@@ -2628,7 +2747,6 @@ broken-packages:
- accelerate-arithmetic
- accelerate-fftw
- accelerate-fourier
- - accelerate-llvm
- accelerate-llvm-native
- accelerate-random
- accelerate-typelits
@@ -2691,7 +2809,6 @@ broken-packages:
- aeson-applicative
- aeson-decode
- aeson-diff-generic
- - aeson-extra
- aeson-flowtyped
- aeson-injector
- aeson-native
@@ -2702,6 +2819,7 @@ broken-packages:
- aeson-t
- aeson-tiled
- aeson-typescript
+ - affection
- affine-invariant-ensemble-mcmc
- afv
- ag-pictgen
@@ -2719,9 +2837,6 @@ broken-packages:
- airship
- airtable-api
- aivika-distributed
- - aivika-experiment-cairo
- - aivika-experiment-chart
- - aivika-experiment-diagrams
- ajhc
- AlanDeniseEricLauren
- alerta
@@ -2732,12 +2847,14 @@ broken-packages:
- algebra
- algebra-sql
- algebraic
+ - algebraic-graphs
- algebraic-prelude
- algo-s
- AlgoRhythm
- AlgorithmW
- align-text
- AlignmentAlgorithms
+ - Allure
- alms
- alpha
- alphachar
@@ -2754,8 +2871,146 @@ broken-packages:
- amazon-emailer
- amazon-emailer-client-snap
- amazon-products
+ - amazonka
+ - amazonka-alexa-business
+ - amazonka-apigateway
+ - amazonka-application-autoscaling
+ - amazonka-appstream
+ - amazonka-appsync
+ - amazonka-athena
+ - amazonka-autoscaling
+ - amazonka-autoscaling-plans
+ - amazonka-batch
+ - amazonka-budgets
+ - amazonka-certificatemanager
+ - amazonka-certificatemanager-pca
+ - amazonka-cloud9
+ - amazonka-clouddirectory
+ - amazonka-cloudformation
+ - amazonka-cloudfront
+ - amazonka-cloudhsm
+ - amazonka-cloudhsmv2
+ - amazonka-cloudsearch
+ - amazonka-cloudsearch-domains
+ - amazonka-cloudtrail
+ - amazonka-cloudwatch
+ - amazonka-cloudwatch-events
+ - amazonka-cloudwatch-logs
+ - amazonka-codebuild
+ - amazonka-codecommit
+ - amazonka-codedeploy
+ - amazonka-codepipeline
+ - amazonka-codestar
- amazonka-cognito-identity
+ - amazonka-cognito-idp
+ - amazonka-cognito-sync
+ - amazonka-comprehend
+ - amazonka-config
+ - amazonka-connect
+ - amazonka-core
+ - amazonka-cost-explorer
+ - amazonka-cur
+ - amazonka-datapipeline
+ - amazonka-devicefarm
+ - amazonka-directconnect
+ - amazonka-discovery
+ - amazonka-dms
+ - amazonka-ds
+ - amazonka-dynamodb
+ - amazonka-dynamodb-dax
+ - amazonka-dynamodb-streams
+ - amazonka-ec2
+ - amazonka-ecr
- amazonka-ecs
+ - amazonka-efs
+ - amazonka-elasticache
+ - amazonka-elasticbeanstalk
+ - amazonka-elasticsearch
+ - amazonka-elastictranscoder
+ - amazonka-elb
+ - amazonka-elbv2
+ - amazonka-emr
+ - amazonka-fms
+ - amazonka-gamelift
+ - amazonka-glacier
+ - amazonka-glue
+ - amazonka-greengrass
+ - amazonka-guardduty
+ - amazonka-health
+ - amazonka-iam
+ - amazonka-importexport
+ - amazonka-inspector
+ - amazonka-iot
+ - amazonka-iot-analytics
+ - amazonka-iot-dataplane
+ - amazonka-iot-jobs-dataplane
+ - amazonka-kinesis
+ - amazonka-kinesis-analytics
+ - amazonka-kinesis-firehose
+ - amazonka-kinesis-video
+ - amazonka-kinesis-video-archived-media
+ - amazonka-kinesis-video-media
+ - amazonka-kms
+ - amazonka-lambda
+ - amazonka-lex-models
+ - amazonka-lex-runtime
+ - amazonka-lightsail
+ - amazonka-marketplace-analytics
+ - amazonka-marketplace-entitlement
+ - amazonka-marketplace-metering
+ - amazonka-mechanicalturk
+ - amazonka-mediaconvert
+ - amazonka-medialive
+ - amazonka-mediapackage
+ - amazonka-mediastore
+ - amazonka-mediastore-dataplane
+ - amazonka-migrationhub
+ - amazonka-ml
+ - amazonka-mobile
+ - amazonka-mq
+ - amazonka-opsworks
+ - amazonka-opsworks-cm
+ - amazonka-organizations
+ - amazonka-pinpoint
+ - amazonka-polly
+ - amazonka-pricing
+ - amazonka-rds
+ - amazonka-redshift
+ - amazonka-rekognition
+ - amazonka-resourcegroups
+ - amazonka-resourcegroupstagging
+ - amazonka-route53
+ - amazonka-route53-autonaming
+ - amazonka-route53-domains
+ - amazonka-s3
+ - amazonka-s3-streaming
+ - amazonka-sagemaker
+ - amazonka-sagemaker-runtime
+ - amazonka-sdb
+ - amazonka-secretsmanager
+ - amazonka-serverlessrepo
+ - amazonka-servicecatalog
+ - amazonka-ses
+ - amazonka-shield
+ - amazonka-sms
+ - amazonka-snowball
+ - amazonka-sns
+ - amazonka-sqs
+ - amazonka-ssm
+ - amazonka-stepfunctions
+ - amazonka-storagegateway
+ - amazonka-sts
+ - amazonka-support
+ - amazonka-swf
+ - amazonka-test
+ - amazonka-transcribe
+ - amazonka-translate
+ - amazonka-waf
+ - amazonka-waf-regional
+ - amazonka-workdocs
+ - amazonka-workmail
+ - amazonka-workspaces
+ - amazonka-xray
- amby
- AMI
- ampersand
@@ -2782,20 +3037,33 @@ broken-packages:
- anonymous-sums
- anonymous-sums-tests
- ansi-terminal-game
+ - ansigraph
- antagonist
- antfarm
- anticiv
- antigate
- antimirov
+ - antiope-athena
+ - antiope-contract
+ - antiope-core
+ - antiope-dynamodb
+ - antiope-messages
+ - antiope-optparse-applicative
+ - antiope-s3
+ - antiope-sns
+ - antiope-sqs
+ - antiope-swf
- antisplice
- antlr-haskell
- antlrc
- anydbm
- aosd
- apart
+ - apecs-stm
- apelsin
- api-builder
- api-tools
+ - api-yoti
- apiary
- apiary-authenticate
- apiary-clientsession
@@ -2826,6 +3094,7 @@ broken-packages:
- ApproxFun-hs
- arb-fft
- arbb-vm
+ - arbor-monad-logger
- arbor-monad-metric
- arbor-monad-metric-datadog
- arbor-postgres
@@ -2847,8 +3116,10 @@ broken-packages:
- armor
- arpa
- arpack
+ - array-chunks
- array-forth
- array-primops
+ - arraylist
- ArrayRef
- arrow-improve
- arrow-list
@@ -2858,7 +3129,9 @@ broken-packages:
- ArrowVHDL
- artery
- artifact
+ - asap
- ascii-flatten
+ - ascii-string
- ascii-vector-avc
- ascii85-conduit
- asic
@@ -2866,7 +3139,6 @@ broken-packages:
- asil
- asn
- asn1-codec
- - AspectAG
- assert
- assertions
- asset-map
@@ -2878,7 +3150,6 @@ broken-packages:
- async-combinators
- async-dejafu
- async-manager
- - async-pool
- async-timer
- asynchronous-exceptions
- aterm
@@ -2907,7 +3178,6 @@ broken-packages:
- attoparsec-time
- attoparsec-trans
- attoparsec-uri
- - attoparsec-varword
- attosplit
- Attrac
- atuin
@@ -2940,6 +3210,7 @@ broken-packages:
- aws-configuration-tools
- aws-dynamodb-conduit
- aws-dynamodb-streams
+ - aws-easy
- aws-ec2
- aws-ec2-knownhosts
- aws-elastic-transcoder
@@ -2948,12 +3219,14 @@ broken-packages:
- aws-kinesis-client
- aws-kinesis-reshard
- aws-lambda
+ - aws-lambda-runtime
- aws-mfa-credentials
- aws-performance-tests
- aws-route53
- aws-sdk
- aws-sdk-text-converter
- aws-sdk-xml-unordered
+ - aws-ses-easy
- aws-sign4
- aws-simple
- aws-sns
@@ -2965,7 +3238,10 @@ broken-packages:
- azurify
- b9
- babylon
+ - backblaze-b2-hs
- backdropper
+ - backprop
+ - backstop
- backtracking-exceptions
- backward-state
- bag
@@ -2983,6 +3259,7 @@ broken-packages:
- Bang
- bank-holiday-usa
- banwords
+ - barbly
- barchart
- barcodes-code128
- barecheck
@@ -2994,7 +3271,6 @@ broken-packages:
- base-feature-macros
- base-generics
- base-io-access
- - base64-bytestring-type
- base64-conduit
- baserock-schema
- BASIC
@@ -3012,6 +3288,7 @@ broken-packages:
- bdcs-api
- beam
- beam-newtype-field
+ - beam-postgres
- beam-th
- beamable
- beautifHOL
@@ -3019,8 +3296,6 @@ broken-packages:
- Befunge93
- bein
- belka
- - bench-graph
- - bench-show
- BenchmarkHistory
- bencodex
- berkeleydb
@@ -3030,16 +3305,13 @@ broken-packages:
- besout
- bet
- betacode
- - betris
- bff
- - bgmax
- bgzf
- bhoogle
- bibdb
- bidirectionalization-combined
- bidispec
- bidispec-extras
- - bifunctor
- BiGUL
- billboard-parser
- billeksah-forms
@@ -3051,7 +3323,6 @@ broken-packages:
- binary-ext
- binary-file
- binary-indexed-tree
- - binary-instances
- binary-protocol
- binary-protocol-zmq
- binary-streams
@@ -3090,7 +3361,6 @@ broken-packages:
- bindynamic
- binembed
- binembed-example
- - bins
- bio
- bio-sequence
- bioace
@@ -3098,6 +3368,7 @@ broken-packages:
- Biobase
- BiobaseBlast
- BiobaseDotP
+ - BiobaseENA
- BiobaseEnsembl
- BiobaseFasta
- BiobaseFR3D
@@ -3137,11 +3408,13 @@ broken-packages:
- bitstream
- BitStringRandomMonad
- bittorrent
- - bitvec
+ - bitwise
- bizzlelude
- bizzlelude-js
- bkr
- bla
+ - blacktip
+ - blake2
- blakesum
- blakesum-demo
- blas
@@ -3168,6 +3441,7 @@ broken-packages:
- blockhash
- Blogdown
- blogination
+ - BlogLiterately
- BlogLiterately-diagrams
- bloodhound
- bloodhound-amazonka-auth
@@ -3191,16 +3465,19 @@ broken-packages:
- bookkeeper
- bookkeeper-permissions
- Bookshelf
+ - boolean-normal-forms
- boolexpr
- boombox
- boomslang
+ - boots-app
+ - boots-cloud
+ - boots-web
- borel
- - boring
- boring-window-switcher
- bot
- - bound-extras
- bounded-array
- bowntz
+ - box
- braid
- brain-bleep
- Bravo
@@ -3215,8 +3492,6 @@ broken-packages:
- bricks-rendering
- bricks-syntax
- brillig
- - brittany
- - broadcast-chan
- broadcast-chan-conduit
- broadcast-chan-pipes
- broadcast-chan-tests
@@ -3242,21 +3517,23 @@ broken-packages:
- buildbox-tools
- buildwrapper
- bullet
+ - bulletproofs
+ - bulmex
- bumper
- bunz
- burnt-explorer
- burst-detection
- bus-pirate
- - buster
- Buster
+ - buster
- buster-gtk
- buster-network
- - butcher
- butter
- butterflies
- bv-sized
- bytable
- - bytestring-arbitrary
+ - byteslice
+ - bytesmith
- bytestring-builder-varword
- bytestring-class
- bytestring-csv
@@ -3285,10 +3562,10 @@ broken-packages:
- cabal-dependency-licenses
- cabal-dev
- cabal-dir
+ - cabal-fmt
- cabal-ghc-dynflags
- cabal-ghci
- cabal-graphdeps
- - cabal-helper
- Cabal-ide-backend
- cabal-info
- cabal-install-bundle
@@ -3299,10 +3576,12 @@ broken-packages:
- cabal-nirvana
- cabal-progdeps
- cabal-query
+ - cabal-rpm
- cabal-setup
- cabal-sort
- cabal-src
- cabal-test
+ - cabal-test-quickcheck
- cabal-toolkit
- cabal-upload
- cabal2arch
@@ -3337,7 +3616,6 @@ broken-packages:
- call-haskell-from-anything
- camfort
- campfire
- - canon
- canonical-filepath
- canonical-json
- canteven-http
@@ -3345,11 +3623,10 @@ broken-packages:
- canteven-log
- canteven-parsedate
- cantor
+ - cantor-pairing
- cao
- cap
- Capabilities
- - capability
- - capataz
- capnp
- capped-list
- capri
@@ -3374,19 +3651,20 @@ broken-packages:
- cash
- cassandra-cql
- Cassava
- - cassava-streams
+ - cassava-conduit
- cassette
- cassy
+ - caster
- castle
- casui
- catamorphism
- Catana
- catch-fd
- categorical-algebra
- - category
- category-extras
- category-traced
- catnplus
+ - cautious-gen
- cayley-client
- CBOR
- CC-delcont-alt
@@ -3411,6 +3689,7 @@ broken-packages:
- cereal-ieee754
- cereal-io-streams
- cereal-plus
+ - cereal-streams
- certificate
- cf
- cfipu
@@ -3423,10 +3702,6 @@ broken-packages:
- chalkboard
- chalkboard-viewer
- charade
- - Chart
- - Chart-cairo
- - Chart-diagrams
- - Chart-gtk
- chart-histogram
- Chart-simple
- chart-unit
@@ -3438,9 +3713,13 @@ broken-packages:
- Checked
- checked
- checkmate
+ - chell
+ - chell-hunit
+ - chell-quickcheck
- chessIO
- chevalier-common
- chiasma
+ - chiphunk
- chitauri
- Chitra
- choose
@@ -3536,6 +3815,8 @@ broken-packages:
- clustering
- clustertools
- clutterhs
+ - cmark-highlight
+ - cmark-patterns
- cmark-sections
- cmath
- cmathml3
@@ -3572,6 +3853,7 @@ broken-packages:
- collada-types
- collapse-duplication
- collapse-util
+ - collection-json
- collections
- collections-api
- collections-base-instances
@@ -3579,7 +3861,6 @@ broken-packages:
- colorless
- colorless-http-client
- colorless-scotty
- - colour-accelerate
- colour-space
- coltrane
- columbia
@@ -3591,8 +3872,6 @@ broken-packages:
- combinatorial-problems
- Combinatorrent
- combobuffer
- - comfort-array
- - comic
- Command
- commander
- Commando
@@ -3632,9 +3911,9 @@ broken-packages:
- concrete-haskell-autogen
- concrete-relaxng-parser
- concrete-typerep
- - concurrency-benchmarks
- concurrent-buffer
- Concurrent-Cache
+ - concurrent-dns-cache
- concurrent-machines
- concurrent-state
- Concurrential
@@ -3645,16 +3924,13 @@ broken-packages:
- conductive-base
- conductive-hsc3
- conductive-song
- - conduit-algorithms
- conduit-audio-lame
- conduit-audio-samplerate
- conduit-find
- - conduit-merge
- conduit-network-stream
- conduit-resumablesink
- conduit-throttle
- conduit-tokenize-attoparsec
- - conduit-zstd
- conf
- confcrypt
- conffmt
@@ -3674,18 +3950,15 @@ broken-packages:
- connection-string
- Conscript
- consistent
- - console-program
- const-math-ghc-plugin
+ - constr-eq
+ - constrained-categories
- constrained-category
- constrained-dynamic
- constrained-monads
- - constraint
- constraint-manip
- - constraint-reflection
- ConstraintKinds
- - constraints-deriving
- constraints-emerge
- - constraints-extras
- constructive-algebra
- consul-haskell
- Consumer
@@ -3704,7 +3977,6 @@ broken-packages:
- continuum
- continuum-client
- Contract
- - control-event
- control-monad-attempt
- control-monad-exception
- control-monad-exception-monadsfd
@@ -3720,9 +3992,7 @@ broken-packages:
- convertible-ascii
- convertible-text
- copilot
- - copilot-c99
- copilot-cbmc
- - copilot-core
- copilot-language
- copilot-libraries
- copilot-sbv
@@ -3753,7 +4023,6 @@ broken-packages:
- cparsing
- CPBrainfuck
- cpio-conduit
- - cpkg
- cplusplus-th
- cprng-aes-effect
- cpuperf
@@ -3785,6 +4054,7 @@ broken-packages:
- crf-chain2-generic
- crf-chain2-tiers
- critbit
+ - criterion-compare
- criterion-plus
- criterion-to-html
- criu-rpc
@@ -3803,11 +4073,12 @@ broken-packages:
- crypto-simple
- cryptocompare
- cryptoconditions
+ - cryptol
- cryptsy-api
- crystalfontz
+ - csa
- cse-ghc-plugin
- csg
- - csound-catalog
- CSPM-cspm
- CSPM-FiringRules
- CSPM-Frontend
@@ -3823,18 +4094,16 @@ broken-packages:
- ctpl
- cube
- cuboid
+ - cuckoo
- cudd
- - curl-runnings
- currency-convert
- curry-frontend
- CurryDB
- cursedcsv
- - cursor-gen
- curve25519
- curves
- custom-prelude
- CV
- - cyclotomic
- cypher
- d-bus
- d3js
@@ -3904,16 +4173,17 @@ broken-packages:
- data-spacepart
- data-standards
- data-store
- - data-stringmap
- data-structure-inferrer
- data-type
- data-util
- data-variant
+ - database-id-groundhog
- database-study
- datadog
- datadog-tracing
- datafix
- dataflow
+ - DataIndex
- datalog
- datasets
- DataTreeView
@@ -3998,8 +4268,10 @@ broken-packages:
- deptrack-core
- deptrack-devops
- deptrack-dot
+ - dequeue
- derangement
- derivation-trees
+ - derive
- derive-enumerable
- derive-gadt
- derive-IG
@@ -4014,18 +4286,17 @@ broken-packages:
- deunicode
- devil
- dewdrop
- - df1
- dfinity-radix-tree
- Dflow
- dfsbuild
- dgim
- dgs
- dhall-check
+ - dhall-lsp-server
- dhall-nix
+ - dhall-to-cabal
- dhcp-lease-parser
- - di
- - di-df1
- - di-handle
+ - dhrun
- dia-base
- dia-functions
- diagrams-boolean
@@ -4056,10 +4327,13 @@ broken-packages:
- difftodo
- digestive-bootstrap
- digestive-foundation-lucid
+ - digestive-functors-happstack
- digestive-functors-heist
- digestive-functors-hsp
+ - digit
- DigitalOcean
- digitalocean-kzs
+ - digraph
- dimensional-tf
- DimensionalHash
- dingo-core
@@ -4075,6 +4349,7 @@ broken-packages:
- direct-rocksdb
- directed-cubical
- dirfiles
+ - dirtree
- discogs-haskell
- discord-gateway
- discord-haskell
@@ -4089,12 +4364,9 @@ broken-packages:
- disjoint-set-stateful
- diskhash
- disposable
- - Dist
- dist-upload
- distance
- DisTract
- - distributed-closure
- - distributed-fork
- distributed-fork-aws-lambda
- distributed-process
- distributed-process-async
@@ -4122,6 +4394,8 @@ broken-packages:
- dixi
- djembe
- djinn-th
+ - dl-fedora
+ - dmcc
- dmenu
- dmenu-pkill
- dmenu-pmount
@@ -4149,9 +4423,11 @@ broken-packages:
- domain-auth
- domplate
- dot-linker
+ - dot2graphml
- dotenv
- dotfs
- doublify-toolkit
+ - dovin
- download-media-content
- dozenal
- dozens
@@ -4176,6 +4452,7 @@ broken-packages:
- DrIFT-cabalized
- drifter-postgresql
- drmaa
+ - drone
- dropbox-sdk
- dropsolve
- ds-kanren
@@ -4184,7 +4461,6 @@ broken-packages:
- dsh-sql
- dsmc
- dsmc-tools
- - dson
- dson-parsec
- DSTM
- dstring
@@ -4207,7 +4483,6 @@ broken-packages:
- dwarfadt
- dyckword
- dynamic-cabal
- - dynamic-graph
- dynamic-object
- dynamic-plot
- dynamic-pp
@@ -4218,16 +4493,16 @@ broken-packages:
- DysFRP-Cairo
- DysFRP-Craftwerk
- dywapitchtrack
+ - dzen-dhall
- dzen-utils
- earclipper
- ease
- easy-api
- easyjson
- easyplot
- - easytensor
- - easytensor-vulkan
- ebeats
- ebnf-bff
+ - ec2-unikernel
- ecma262
- ecu
- eddie
@@ -4242,9 +4517,9 @@ broken-packages:
- editline
- EditTimeReport
- effect-handlers
- - effects
- - effects-parser
+ - effect-stack
- effin
+ - egison
- egison-quote
- egison-tutorial
- ehaskell
@@ -4254,6 +4529,7 @@ broken-packages:
- Eight-Ball-Pool-Hack-Cheats
- either-list-functions
- EitherT
+ - ekg-cloudwatch
- ekg-elastic
- ekg-elasticsearch
- ekg-influxdb
@@ -4263,29 +4539,26 @@ broken-packages:
- ekg-rrd
- elevator
- elision
+ - elliptic-curve
- elm-websocket
- elsa
- emacs-keys
- email
- email-header
- email-postmark
- - email-validator
- emailparse
- embeddock
- embeddock-example
- embroidery
- - emd
- emgm
- Emping
- Empty
- empty-monad
- - encoding
+ - enchant
- encoding-io
- engine-io-growler
- engine-io-snap
- - engine-io-wai
- engine-io-yesod
- - ENIG
- entangle
- EntrezHTTP
- entwine
@@ -4299,7 +4572,6 @@ broken-packages:
- enumfun
- EnumMap
- enummapmap
- - enummapset
- enummapset-th
- env-parser
- envstatus
@@ -4351,9 +4623,9 @@ broken-packages:
- ethereum-client-haskell
- ethereum-merkle-patricia-db
- eths-rlp
+ - euler-tour-tree
- euphoria
- eurofxref
- - Euterpea
- eve
- eve-cli
- event
@@ -4361,16 +4633,17 @@ broken-packages:
- event-monad
- eventful-dynamodb
- eventful-postgresql
- - eventloop
+ - eventlog2html
- EventSocket
- eventsource-geteventstore-store
+ - eventsource-store-specs
+ - eventsource-stub-store
- eventstore
- every-bit-counts
- exact-cover
- exact-real
- exact-real-positional
- except-exceptions
- - exception-hierarchy
- exception-monads-fd
- exchangerates
- execs
@@ -4394,7 +4667,6 @@ broken-packages:
- explicit-sharing
- explore
- exposed-containers
- - expressions
- expressions-z3
- extcore
- extemp
@@ -4404,6 +4676,7 @@ broken-packages:
- Extra
- extract-dependencies
- extractelf
+ - extralife
- ez-couch
- ez3
- f-ree-hack-cheats-free-v-bucks-generator
@@ -4417,7 +4690,6 @@ broken-packages:
- failable-list
- failure-detector
- FailureT
- - fake
- fake-type
- faktory
- falling-turnip
@@ -4431,7 +4703,6 @@ broken-packages:
- fastedit
- fastirc
- fastly
- - fastparser
- FastPush
- FastxPipe
- fathead-util
@@ -4460,6 +4731,7 @@ broken-packages:
- fdo-trash
- feature-flipper
- feature-flipper-postgres
+ - fedora-haskell-tools
- fedora-img-dl
- fedora-packages
- feed-cli
@@ -4482,7 +4754,6 @@ broken-packages:
- ffmpeg-tutorials
- ffunctor
- fgl-extras-decompositions
- - fib
- fibon
- ficketed
- fields
@@ -4505,13 +4776,14 @@ broken-packages:
- filesystem-enumerator
- filesystem-trees
- fillit
- - fin
+ - Fin
- final-pretty-printer
- Finance-Quote-Yahoo
- Finance-Treasury
- find-clumpiness
- find-conduit
- find-source-files
+ - findhttp
- fingertree-psqueue
- fingertree-tf
- FiniteMap
@@ -4520,6 +4792,7 @@ broken-packages:
- firstify
- FirstOrderTheory
- fit
+ - fits-parse
- fitsio
- fix-parser-simple
- fix-symbols-gitit
@@ -4528,6 +4801,7 @@ broken-packages:
- fixed-point-vector-space
- fixed-precision
- fixed-storable-array
+ - fixed-timestep
- fixed-vector-binary
- fixed-vector-cborg
- fixed-vector-cereal
@@ -4600,6 +4874,7 @@ broken-packages:
- forth-hll
- Fortnite-Hack-Cheats-Free-V-Bucks-Generator
- fortran-src
+ - fortytwo
- foscam-directory
- foscam-filename
- foscam-sort
@@ -4611,6 +4886,7 @@ broken-packages:
- Fractaler
- fractals
- frag
+ - Frames
- Frames-beam
- Frames-dsv
- Frames-map-reduce
@@ -4646,7 +4922,6 @@ broken-packages:
- fresh
- friday-devil
- friday-scale-dct
- - friendly
- front
- frown
- frp-arduino
@@ -4660,13 +4935,15 @@ broken-packages:
- fsmActions
- fsutils
- fswait
+ - ft-generator
- ftdi
- FTGL-bytestring
+ - ftp-client
+ - ftp-client-conduit
- ftp-conduit
- FTPLine
- ftshell
- full-sessions
- - full-text-search
- fullstop
- funbot
- funbot-client
@@ -4676,16 +4953,19 @@ broken-packages:
- function-instances-algebra
- functional-arrow
- functor
+ - functor-combinators
+ - functor-products
- functorm
- funflow
- funflow-nix
- FunGEn
- Fungi
- funion
+ - funnyprint
- funpat
- funsat
- - fused-effects-exceptions
- fusion
+ - futhark
- futun
- future
- fuzzy-timings
@@ -4693,10 +4973,13 @@ broken-packages:
- fwgl-glfw
- fwgl-javascript
- g-npm
+ - g2
+ - g2q
- g4ip
- gact
- game-probability
- gameclock
+ - gamgee
- Gamgine
- gamma
- Ganymede
@@ -4733,7 +5016,6 @@ broken-packages:
- GeneralTicTacToe
- generators
- generic-accessors
- - generic-aeson
- generic-binary
- generic-church
- generic-enum
@@ -4745,7 +5027,6 @@ broken-packages:
- generic-tree
- generic-xml
- generic-xmlpickler
- - generics-eot
- genericserialize
- genesis
- genesis-test
@@ -4760,10 +5041,12 @@ broken-packages:
- GenSmsPdu
- gentlemark
- GenussFold
+ - genvalidity-mergeless
- geo-resolver
- GeocoderOpenCage
- geodetic
- geodetic-types
+ - geojson
- geojson-types
- geolite-csv
- geom2d
@@ -4776,20 +5059,16 @@ broken-packages:
- ggtsTC
- ghc-core-smallstep
- ghc-datasize
- - ghc-dump-core
- ghc-dump-tree
- - ghc-dump-util
- ghc-dup
- ghc-events-analyze
- ghc-events-parallel
- ghc-generic-instances
- - ghc-heap-view
- ghc-imported-from
- ghc-instances
- ghc-man-completion
- ghc-mod
- ghc-parmake
- - ghc-parser
- ghc-pkg-autofix
- ghc-pkg-lib
- ghc-proofs
@@ -4809,41 +5088,43 @@ broken-packages:
- ghci-lib
- ghci-ng
- ghcjs-base-stub
- - ghcjs-dom
- - ghcjs-dom-jsaddle
- ghcjs-dom-jsffi
- ghcjs-fetch
- ghcjs-hplay
- ghcjs-promise
- ghcjs-xhr
- ghclive
+ - ghcprofview
- ght
- gi-cairo-again
+ - gi-graphene
+ - gi-gsk
- gi-gstpbutils
- gi-gsttag
+ - gi-gtk-declarative
+ - gi-gtk-declarative-app-simple
- gi-gtkosxapplication
+ - gi-handy
- gi-notify
- gi-poppler
- gi-wnck
- giak
- Gifcurry
- - ginger
- ginsu
- gipeda
- - gist
+ - giphy-api
- GiST
+ - gist
- git-checklist
- git-config
- git-date
- git-fmt
- git-gpush
- git-jump
- - git-monitor
- git-object
- git-remote-ipfs
- git-repair
- git-sanity
- - git-vogue
- gitdo
- github-backup
- github-data
@@ -4852,14 +5133,13 @@ broken-packages:
- github-webhook-handler
- github-webhook-handler-snap
- gitignore
+ - gitit
- gitlab-api
- gitlib-cross
- - gitlib-libgit2
- gitlib-s3
- - gitlib-test
- gitlib-utils
- gitson
- - gitter
+ - givegif
- glade
- gladexml-accessor
- glapp
@@ -4880,7 +5160,6 @@ broken-packages:
- glome-hs
- GlomeTrace
- GlomeView
- - gloss-accelerate
- gloss-banana
- gloss-devil
- gloss-export
@@ -4888,10 +5167,6 @@ broken-packages:
- gloss-sodium
- glpk-hs
- glue
- - glue-common
- - glue-core
- - glue-ekg
- - glue-example
- gmap
- gmndl
- gnome-desktop
@@ -4911,9 +5186,11 @@ broken-packages:
- google-drive
- google-html5-slide
- google-mail-filters
+ - google-maps-geocoding
- google-oauth2
- google-oauth2-easy
- google-search
+ - google-static-maps
- google-translate
- GoogleCodeJam
- GoogleDirections
@@ -4921,7 +5198,6 @@ broken-packages:
- googlepolyline
- GoogleSB
- GoogleTranslate
- - gopher-proxy
- gopherbot
- gore-and-ash
- gore-and-ash-actor
@@ -4945,6 +5221,8 @@ broken-packages:
- gps2htmlReport
- GPX
- gpx-conduit
+ - grab
+ - grab-form
- graceful
- graflog
- Grafos
@@ -4979,7 +5257,9 @@ broken-packages:
- graphics-formats-collada
- graphicsFormats
- graphicstools
- - graphql-w-persistent
+ - graphite
+ - graphql
+ - graphql-api
- graphtype
- graql
- grasp
@@ -4999,9 +5279,9 @@ broken-packages:
- GroteTrap
- groundhog-converters
- group-with
- - grouped-list
- growler
- GrowlNotify
+ - grpc-api-etcd
- grpc-etcd-client
- gruff
- gruff-examples
@@ -5073,8 +5353,6 @@ broken-packages:
- hackmanager
- hactor
- hactors
- - haddock
- - haddock-api
- haddock-leksah
- haddock-test
- haddocset
@@ -5087,12 +5365,15 @@ broken-packages:
- hahp
- haiji
- hail
+ - hailgun
- hailgun-send
+ - hailgun-simple
- hairy
- hakaru
- hakismet
- hakka
- hako
+ - hakyll
- hakyll-agda
- hakyll-blaze-templates
- hakyll-contrib
@@ -5156,20 +5437,25 @@ broken-packages:
- happstack-data
- happstack-dlg
- happstack-facebook
+ - happstack-fastcgi
- happstack-fay
- happstack-fay-ajax
- happstack-foundation
- happstack-hamlet
- happstack-heist
- happstack-helpers
+ - happstack-hsp
- happstack-hstringtemplate
- happstack-ixset
- happstack-jmacro
- happstack-lite
- happstack-monad-peel
- happstack-plugins
+ - happstack-server
+ - happstack-server-tls
- happstack-server-tls-cryptonite
- happstack-state
+ - happstack-static-routing
- happstack-util
- happstack-yui
- happy-meta
@@ -5185,6 +5471,7 @@ broken-packages:
- hArduino
- hardware-edsl
- HaRe
+ - harg
- hark
- harmony
- HarmTrace
@@ -5192,14 +5479,13 @@ broken-packages:
- haroonga-httpd
- harpy
- harvest-api
- - has
- has-th
- - HasBigDecimal
- HasCacBDD
- hascas
- Haschoo
- HasGP
- hash
+ - hash-store
- hashable-extras
- hashable-generics
- hashabler
@@ -5226,22 +5512,20 @@ broken-packages:
- haskell-cnc
- haskell-coffee
- haskell-compression
- - haskell-conll
- haskell-course-preludes
- haskell-disque
- - haskell-docs
- haskell-eigen-util
- haskell-formatter
- haskell-ftp
- haskell-generate
- haskell-go-checkers
- haskell-holes-th
+ - haskell-import-graph
- haskell-in-space
- haskell-kubernetes
- haskell-lsp-client
- haskell-ml
- haskell-mpfr
- - haskell-names
- haskell-neo4j-client
- haskell-openflow
- haskell-overridez
@@ -5258,7 +5542,6 @@ broken-packages:
- haskell-src-exts-prisms
- haskell-src-exts-qq
- haskell-src-exts-sc
- - haskell-src-exts-simple
- haskell-src-meta-mwotton
- haskell-stack-trace-plugin
- haskell-token-utils
@@ -5302,6 +5585,8 @@ broken-packages:
- haskelldb-th
- haskelldb-wx
- HaskellLM
+ - HaskellNet
+ - HaskellNet-SSL
- HaskellNN
- Haskelloids
- haskellscrabble
@@ -5340,6 +5625,11 @@ broken-packages:
- hasktorch-signatures-partial
- hasktorch-signatures-support
- hasktorch-zoo
+ - haskus-binary
+ - haskus-system-build
+ - haskus-utils
+ - haskus-utils-compat
+ - haskus-utils-variant
- haskus-web
- haslo
- hasloGUI
@@ -5347,7 +5637,9 @@ broken-packages:
- hasql-backend
- hasql-class
- hasql-cursor-query
+ - hasql-dynamic-statements
- hasql-generic
+ - hasql-implicits
- hasql-migration
- hasql-optparse-applicative
- hasql-pool
@@ -5367,7 +5659,6 @@ broken-packages:
- HaTeX-qq
- hats
- hatt
- - haven
- haverer
- HaVSA
- hawitter
@@ -5376,6 +5667,7 @@ broken-packages:
- haxl-amazonka
- haxl-facebook
- haxparse
+ - haxr
- haxr-th
- haxy
- hayland
@@ -5423,23 +5715,22 @@ broken-packages:
- hdiscount
- hdm
- hdo
- - hdocs
- hdph
- hdph-closure
- hdr-histogram
- HDRUtils
- headergen
- - heap
- heartbeat-streams
- heatitup
- heatitup-complete
+ - heavy-logger-amazon
- hecc
- heckle
- hedgehog-checkers
- hedgehog-checkers-lens
- - hedgehog-fn
+ - hedgehog-classes
- hedgehog-gen-json
- - hedgehog-quickcheck
+ - hedgehog-generic
- Hedi
- hedis-config
- hedis-pile
@@ -5486,6 +5777,7 @@ broken-packages:
- hevm
- hevolisa
- hevolisa-dph
+ - HExcel
- hexchat
- hexif
- hexmino
@@ -5522,6 +5814,7 @@ broken-packages:
- hgis
- hgithub
- HGL
+ - hgmp
- hgom
- hgopher
- HGraphStorage
@@ -5530,11 +5823,11 @@ broken-packages:
- hgrib
- hharp
- HHDL
- - hhp
- hi3status
- hiccup
- hichi
- hid-examples
+ - hie-core
- hieraclus
- hierarchical-clustering
- hierarchical-clustering-diagrams
@@ -5561,9 +5854,9 @@ broken-packages:
- hinstaller
- hint-server
- hinter
+ - hinterface
- hinvaders
- hinze-streams
- - hip
- hipbot
- hipchat-hs
- hipe
@@ -5587,6 +5880,7 @@ broken-packages:
- hjson-query
- hjsonpointer
- hjsonschema
+ - hjugement-cli
- HJVM
- hlatex
- hlbfgsb
@@ -5596,6 +5890,7 @@ broken-packages:
- HLearn-classification
- HLearn-datastructures
- HLearn-distributions
+ - hledger-api
- hledger-chart
- hledger-flow
- hledger-irr
@@ -5605,6 +5900,7 @@ broken-packages:
- hlibfam
- HList
- HListPP
+ - hlivy
- HLogger
- hlogger
- hlongurl
@@ -5621,6 +5917,7 @@ broken-packages:
- hmatrix-sparse
- hmatrix-static
- hmatrix-sundials
+ - hmatrix-svdlibc
- hmatrix-syntax
- hmatrix-tests
- hmeap
@@ -5628,8 +5925,8 @@ broken-packages:
- hmenu
- hmep
- hmk
- - hmm
- HMM
+ - hmm
- hmm-hmatrix
- hmm-lapack
- hMollom
@@ -5637,6 +5934,7 @@ broken-packages:
- Hmpf
- hmt-diagrams
- hmumps
+ - hnetcdf
- HNM
- hnormalise
- ho-rewriting
@@ -5685,6 +5983,7 @@ broken-packages:
- hoovie
- hopencc
- hopencl
+ - hopenpgp-tools
- hopfield
- hoppy-docs
- hoppy-generator
@@ -5704,6 +6003,7 @@ broken-packages:
- hp2any-graph
- hp2any-manager
- hpack-convert
+ - hpack-dhall
- hpaco
- hpaco-lib
- hpage
@@ -5718,13 +6018,16 @@ broken-packages:
- hpdft
- hpg
- HPi
+ - hpio
- hplaylist
- HPlot
- hpodder
- HPong
- hpqtypes
- hpqtypes-extras
+ - hprotoc
- hprotoc-fork
+ - hprox
- hps
- hps-cairo
- hps-kmeans
@@ -5737,8 +6040,8 @@ broken-packages:
- hR
- hranker
- HRay
- - hricket
- Hricket
+ - hricket
- hriemann
- HROOT
- HROOT-core
@@ -5785,6 +6088,7 @@ broken-packages:
- hsbencher
- hsbencher-codespeed
- hsbencher-fusion
+ - hsc2hs
- hsc3-auditor
- hsc3-cairo
- hsc3-data
@@ -5840,7 +6144,6 @@ broken-packages:
- hslinks
- hslogger-reader
- hslogstash
- - hslua-module-system
- hsluv-haskell
- hsmagick
- HSmarty
@@ -5894,8 +6197,6 @@ broken-packages:
- hsreadability
- hsseccomp
- hsSqlite3
- - hssqlppp
- - hssqlppp-th
- HsSVN
- hstatistics
- hstats
@@ -5913,6 +6214,7 @@ broken-packages:
- hsx
- hsx-jmacro
- hsx-xhtml
+ - hsx2hs
- hsXenCtrl
- HsYAML-aeson
- hsyscall
@@ -5931,6 +6233,8 @@ broken-packages:
- html-kure
- html-rules
- html-tokenizer
+ - htoml
+ - htoml-megaparsec
- hts
- htsn
- htsn-import
@@ -5938,10 +6242,11 @@ broken-packages:
- http-client-auth
- http-client-lens
- http-client-request-modifiers
+ - http-client-restricted
- http-client-session
- http-client-streams
- http-conduit-browser
- - http-conduit-downloader
+ - http-directory
- http-dispatch
- http-enumerator
- http-grammar
@@ -5952,15 +6257,16 @@ broken-packages:
- http-querystring
- http-response-decoder
- http-shed
+ - http-streams
- http-wget
- http2-client-grpc
- - http2-grpc-types
- https-everywhere-rules
- https-everywhere-rules-raw
- httpspec
- htune
- htvm
- htzaar
+ - hubigraph
- huck
- HueAPI
- huff
@@ -5978,7 +6284,6 @@ broken-packages:
- hunspell-hs
- hunt-searchengine
- hunt-server
- - hup
- hurdle
- hurriyet
- husk-scheme
@@ -5990,6 +6295,7 @@ broken-packages:
- hVOIDP
- hw-balancedparens
- hw-bits
+ - hw-ci-assist
- hw-dsv
- hw-dump
- hw-eliasfano
@@ -5997,10 +6303,9 @@ broken-packages:
- hw-ip
- hw-json
- hw-json-lens
- - hw-json-simd
+ - hw-json-simple-cursor
+ - hw-json-standard-cursor
- hw-packed-vector
- - hw-parser
- - hw-prim
- hw-prim-bits
- hw-rankselect
- hw-rankselect-base
@@ -6008,7 +6313,6 @@ broken-packages:
- hw-streams
- hw-succinct
- hw-uri
- - hw-vector
- hw-xml
- hwall-auth-iitk
- hweblib
@@ -6032,8 +6336,8 @@ broken-packages:
- hybrid
- hydra-hs
- hydra-print
- - hydrogen
- Hydrogen
+ - hydrogen
- hydrogen-cli
- hydrogen-cli-args
- hydrogen-data
@@ -6057,6 +6361,7 @@ broken-packages:
- hypher
- hzulip
- i18n
+ - I1M
- i3blocks-hs-contrib
- i3ipc
- iap-verifier
@@ -6065,6 +6370,7 @@ broken-packages:
- ical
- iCalendar
- IcoGrid
+ - iconv-typed
- ide-backend
- ide-backend-common
- ide-backend-server
@@ -6076,6 +6382,7 @@ broken-packages:
- idna2008
- IDynamic
- ieee-utils
+ - iexcloud
- ifcxt
- IFS
- ig
@@ -6119,6 +6426,7 @@ broken-packages:
- imperative-edsl
- imperative-edsl-vhdl
- ImperativeHaskell
+ - impl
- implicit-logging
- implicit-params
- importify
@@ -6145,6 +6453,7 @@ broken-packages:
- InfixApplicative
- inflist
- informative
+ - ini-qq
- inilist
- inject-function
- inline-java
@@ -6193,7 +6502,6 @@ broken-packages:
- iptables-helpers
- iptadmin
- IPv6DB
- - ipython-kernel
- Irc
- irc-dcc
- irc-fun-bot
@@ -6250,7 +6558,6 @@ broken-packages:
- jail
- jalaali
- jalla
- - jammittools
- jarfind
- jarify
- jason
@@ -6259,10 +6566,10 @@ broken-packages:
- java-character
- java-reflect
- javascript-extras
- - javasf
- Javasf
- - javav
+ - javasf
- Javav
+ - javav
- jbi
- jcdecaux-vls
- Jdh
@@ -6285,13 +6592,12 @@ broken-packages:
- jonathanscard
- jpeg
- js-good-parts
- - jsaddle-dom
- jsaddle-hello
- jsaddle-warp
- jsaddle-wkwebview
- JsContracts
- jsmw
- - json-api
+ - json-api-lib
- json-ast-json-encoder
- json-ast-quickcheck
- json-b
@@ -6315,7 +6621,6 @@ broken-packages:
- JSONb
- jsonextfilter
- JsonGrammar
- - JSONParser
- jsonresume
- jsonrpc-conduit
- jsons-to-schema
@@ -6327,6 +6632,7 @@ broken-packages:
- judge
- judy
- juicy-gcode
+ - JuicyPixels-blp
- JuicyPixels-canvas
- JunkDB
- JunkDB-driver-gdbm
@@ -6346,25 +6652,24 @@ broken-packages:
- Kalman
- kalman
- kangaroo
- - kanji
- kansas-lava
- kansas-lava-cores
- kansas-lava-papilio
- kansas-lava-shake
- karakuri
- karps
- - katip-datadog
- katip-elasticsearch
- - katip-logzio
+ - katip-kafka
- katip-rollbar
- katip-scalyr-scribe
- katip-syslog
- katt
+ - katydid
- kawaii
+ - kawhi
- kazura-queue
- kd-tree
- kdesrc-build-extra
- - kdt
- keccak
- keera-hails-i18n
- keera-hails-mvc-environment-gtk
@@ -6388,6 +6693,7 @@ broken-packages:
- keyring
- keysafe
- keystore
+ - keyvaluehash
- keyword-args
- khph
- kicad-data
@@ -6395,7 +6701,6 @@ broken-packages:
- kickchan
- kif-parser
- kit
- - kleene
- kmeans-par
- kmeans-vector
- kmp-dfa
@@ -6404,6 +6709,7 @@ broken-packages:
- knit-haskell
- knots
- koellner-phonetic
+ - kontra-config
- korfu
- kqueue
- krapsh
@@ -6412,6 +6718,8 @@ broken-packages:
- ks-test
- KSP
- ktx
+ - kubernetes-client
+ - kubernetes-client-core
- kure
- kure-your-boilerplate
- kurita
@@ -6434,7 +6742,13 @@ broken-packages:
- lambda2js
- lambdaBase
- lambdabot
+ - lambdabot-core
- lambdabot-haskell-plugins
+ - lambdabot-irc-plugins
+ - lambdabot-misc-plugins
+ - lambdabot-novelty-plugins
+ - lambdabot-reference-plugins
+ - lambdabot-social-plugins
- lambdabot-utils
- lambdabot-zulip
- lambdacms-core
@@ -6506,7 +6820,6 @@ broken-packages:
- language-vhdl
- language-webidl
- lapack
- - lapack-comfort-array
- Lastik
- lat
- latest-npm-version
@@ -6526,11 +6839,11 @@ broken-packages:
- lazy-hash-cache
- lazy-io-streams
- lazyarray
+ - lazyboy
- lazyset
- LazyVault
- ld-intervals
- lda
- - ldap-client
- ldapply
- ldif
- leaf
@@ -6539,7 +6852,6 @@ broken-packages:
- leanpub-wreq
- leapseconds
- learn
- - learn-physics
- learn-physics-examples
- Learning
- leetify
@@ -6549,10 +6861,11 @@ broken-packages:
- legion-extra
- leksah-server
- lendingclub
- - lens-accelerate
+ - lens-filesystem
- lens-prelude
- lens-text-encoding
- lens-time
+ - lens-toml-parser
- lens-tutorial
- lensref
- level-monad
@@ -6571,7 +6884,6 @@ broken-packages:
- libconfig
- libcspm
- libexpect
- - libffi-dynamic
- libGenI
- libhbb
- libinfluxdb
@@ -6580,15 +6892,16 @@ broken-packages:
- liblawless
- liblinear-enumerator
- libltdl
+ - libmodbus
- libmolude
- liboath-hs
- liboleg
- libpafe
- libpq
+ - libraft
- librandomorg
- librato
- libsystemd-daemon
- - libsystemd-journal
- libtagc
- libxls
- libxml-enumerator
@@ -6607,13 +6920,15 @@ broken-packages:
- limp-cbc
- linda
- linden
- - linear-accelerate
+ - line-bot-sdk
- linear-algebra-cblas
- linear-circuit
- linear-code
- linear-maps
- linear-opengl
+ - linear-socket
- linear-vect
+ - linearEqSolver
- linearmap-category
- linearscan
- linearscan-hoopl
@@ -6624,6 +6939,7 @@ broken-packages:
- linkcore
- linked-list-with-iterator
- linkedhashmap
+ - linode
- linode-v4
- linux-blkid
- linux-cgroup
@@ -6638,7 +6954,6 @@ broken-packages:
- lio-simple
- lipsum-gen
- liquid
- - liquidhaskell-cabal-demo
- list-fusion-probe
- list-mux
- list-prompt
@@ -6647,10 +6962,12 @@ broken-packages:
- list-t-html-parser
- list-t-http-client
- list-t-text
+ - list-witnesses
- list-zipper
- listenbrainz-client
- listlike-instances
- ListT
+ - liszt
- lit
- literals
- live-sequencer
@@ -6667,7 +6984,6 @@ broken-packages:
- llvm-general
- llvm-general-pure
- llvm-general-quote
- - llvm-hs
- llvm-hs-pretty
- llvm-ht
- llvm-pkg-config
@@ -6695,7 +7011,6 @@ broken-packages:
- logging-effect-extra
- logging-effect-extra-file
- logging-effect-extra-handler
- - logging-facade-journald
- Logic
- logic-classes
- logic-TPTP
@@ -6742,7 +7057,6 @@ broken-packages:
- lua-bc
- luachunk
- luautils
- - lucid-svg
- lucienne
- Lucu
- lui
@@ -6767,6 +7081,7 @@ broken-packages:
- machines-amazonka
- machines-process
- machines-zlib
+ - mackerel-client
- maclight
- macos-corelibs
- macosx-make-standalone
@@ -6779,6 +7094,7 @@ broken-packages:
- magma
- mahoro
- maid
+ - mail-pool
- mailbox-count
- mailchimp
- mailchimp-subscribe
@@ -6811,10 +7127,10 @@ broken-packages:
- mangopay
- manifold-random
- manifolds
- - manifolds-core
- map-exts
- map-reduce-folds
- map-syntax
+ - mapalgebra
- Mapping
- mappy
- marionetta
@@ -6822,7 +7138,9 @@ broken-packages:
- markdown-pap
- markdown2svg
- marked-pretty
+ - markov-chain-usage-model
- markov-processes
+ - markov-realization
- markup
- marmalade-upload
- marquise
@@ -6832,13 +7150,17 @@ broken-packages:
- marxup
- masakazu-bot
- MASMGen
+ - massiv
+ - massiv-io
+ - massiv-test
- master-plan
+ - matchable-th
- matchers
- math-grads
- mathblog
- mathflow
+ - mathgenealogy
- mathlink
- - matplotlib
- matrix-as-xyz
- matsuri
- matterhorn
@@ -6854,6 +7176,7 @@ broken-packages:
- MazesOfMonad
- MBot
- mbox-tools
+ - mbug
- MC-Fold-DP
- mcl
- mcm
@@ -6877,9 +7200,10 @@ broken-packages:
- mediabus
- mediabus-fdk-aac
- mediabus-rtp
- - median-stream
- mediawiki
+ - mediawiki2latex
- medium-sdk-haskell
+ - mega-sdist
- mellon-core
- mellon-gpio
- mellon-web
@@ -6924,17 +7248,21 @@ broken-packages:
- microgroove
- microlens-each
- micrologger
+ - microsoft-translator
- MicrosoftTranslator
- mida
+ - midi-simple
- midi-utils
- midimory
- midisurface
- mighttpd
+ - mighttpd2
- mighty-metropolis
- mikmod
- mikrokosmos
- miku
- mime-directory
+ - min-max-pqueue
- minecraft-data
- minesweeper
- miniforth
@@ -6947,10 +7275,11 @@ broken-packages:
- miniplex
- minirotate
- ministg
- - minitypeset-opengl
- minst-idx
- mios
- mirror-tweet
+ - miso-action-logger
+ - miso-examples
- miss
- miss-porcelain
- missing-py2
@@ -6967,11 +7296,9 @@ broken-packages:
- mmtl-base
- moan
- Mobile-Legends-Hack-Cheats
- - model
- modelicaparser
- modify-fasta
- modsplit
- - modular
- modular-prelude
- modular-prelude-classy
- modularity
@@ -7013,7 +7340,6 @@ broken-packages:
- monad-unify
- monad-var
- monad-wrap
- - monadacme
- MonadCatchIO-mtl
- MonadCatchIO-mtl-foreign
- MonadCatchIO-transformers
@@ -7052,7 +7378,6 @@ broken-packages:
- monzo
- moo
- moonshine
- - more-containers
- morfette
- morfeusz
- morley
@@ -7063,8 +7388,6 @@ broken-packages:
- morphisms-objects
- morte
- mosaico-lib
- - moto
- - moto-postgresql
- mount
- movie-monad
- mp
@@ -7075,6 +7398,7 @@ broken-packages:
- mpris
- mprover
- mps
+ - mptcp-pm
- mpvguihs
- mqtt
- mqtt-hs
@@ -7107,9 +7431,9 @@ broken-packages:
- multiaddr
- multiarg
- multibase
- - multifile
- multifocal
- multihash
+ - multihash-cryptonite
- multihash-serialise
- multilinear
- multilinear-io
@@ -7119,7 +7443,6 @@ broken-packages:
- multirec-alt-deriver
- multirec-binary
- multisetrewrite
- - multistate
- multivariant
- Munkres-simple
- muon
@@ -7146,7 +7469,6 @@ broken-packages:
- mvc
- mvc-updates
- mvclient
- - mwc-random-accelerate
- mxnet
- mxnet-dataiter
- mxnet-examples
@@ -7181,10 +7503,11 @@ broken-packages:
- nanovg
- nanovg-simple
- nanq
- - naqsha
+ - NaperianNetCDF
- narc
- nat-sized-numbers
- nationstates
+ - nats-queue
- natural
- natural-number
- naver-translate
@@ -7207,13 +7530,14 @@ broken-packages:
- nested-sequence
- NestedFunctor
- nestedmap
+ - net-mqtt
- net-spider
+ - net-spider-cli
- net-spider-pangraph
- net-spider-rpl
- netclock
- netcore
- netease-fm
- - netlib-comfort-array
- netlines
- netrium
- NetSNMP
@@ -7226,6 +7550,9 @@ broken-packages:
- netwire-vinylglfw-examples
- network-address
- network-anonymous-i2p
+ - network-anonymous-tor
+ - network-api-support
+ - network-arbitrary
- network-builder
- network-bytestring
- network-connection
@@ -7238,17 +7565,17 @@ broken-packages:
- network-netpacket
- network-protocol-xmpp
- network-rpca
+ - network-run
- network-server
- network-service
- network-simple-sockaddr
- - network-simple-wss
- network-stream
- network-topic-models
- network-transport-amqp
- network-transport-inmemory
- network-transport-tcp
- network-transport-tests
- - network-transport-zeromq
+ - network-uri-json
- network-voicetext
- network-wai-router
- network-websocket
@@ -7273,17 +7600,17 @@ broken-packages:
- nice-html
- nicovideo-translator
- nikepub
- - nimber
- Ninjas
- nirum
- nitro
- - nix-eval
+ - niv
- nixfromnpm
- nkjp
- nlp-scores
- nlp-scores-scripts
- nm
- NMap
+ - nn
- nntp
- no-role-annots
- noether
@@ -7297,7 +7624,7 @@ broken-packages:
- Nomyx-Web
- non-empty-zipper
- NonEmpty
- - nonempty-containers
+ - nonempty-lift
- NonEmptyList
- normalization-insensitive
- NoSlow
@@ -7305,9 +7632,10 @@ broken-packages:
- notcpp
- notmuch-haskell
- notmuch-web
- - NoTrace
+ - now-haskell
- np-linear
- nptools
+ - ntha
- ntrip-client
- NTRU
- null-canvas
@@ -7322,17 +7650,14 @@ broken-packages:
- numeric-qq
- numeric-ranges
- numerical
- - numhask
- numhask-array
- numhask-hedgehog
- numhask-histogram
- numhask-prelude
- numhask-range
- - numhask-space
- numhask-test
- Nussinov78
- Nutri
- - nvim-hs-ghcid
- NXT
- NXTDSL
- nylas
@@ -7350,6 +7675,7 @@ broken-packages:
- objectid
- ObjectIO
- objective
+ - oblivious-transfer
- ocaml-export
- octane
- octohat
@@ -7368,7 +7694,6 @@ broken-packages:
- oidc-client
- ois-input-manager
- olwrapper
- - om-elm
- omaketex
- ombra
- Omega
@@ -7391,7 +7716,6 @@ broken-packages:
- OpenAFP
- OpenAFP-Utils
- openapi-petstore
- - opench-meteo
- OpenCL
- OpenCLRaw
- OpenCLWrappers
@@ -7402,6 +7726,7 @@ broken-packages:
- OpenSCAD
- opensoundcontrol-ht
- openssh-github-keys
+ - openssh-protocol
- opentheory-char
- opentok
- opentype
@@ -7410,6 +7735,8 @@ broken-packages:
- openweathermap
- Operads
- operational-extra
+ - opml-conduit
+ - opn
- optima
- optimal-blocks
- optimization
@@ -7453,6 +7780,7 @@ broken-packages:
- packed-dawg
- packed-multikey-map
- packedstring
+ - packer-messagepack
- packman
- packunused
- pacman-memcache
@@ -7462,18 +7790,24 @@ broken-packages:
- PageIO
- pagure-hook-receiver
- Paillier
+ - pairing
- pam
- panda
+ - pandoc-emphasize-code
- pandoc-include
- pandoc-include-code
- pandoc-japanese-filters
- pandoc-lens
+ - pandoc-markdown-ghci-filter
+ - pandoc-placetable
- pandoc-plantuml-diagrams
+ - pandoc-pyplot
- pandoc-unlit
- PandocAgda
- pang-a-lambda
- pangraph
- panpipe
+ - pantry-tmp
- papa-export
- papa-implement
- papa-include
@@ -7492,7 +7826,6 @@ broken-packages:
- parallel-tasks
- parameterized
- parameterized-utils
- - paramtree
- paranoia
- parco
- parco-attoparsec
@@ -7557,7 +7890,7 @@ broken-packages:
- pedestrian-dag
- peg
- peggy
- - pencil
+ - pell
- penny
- penny-bin
- penny-lib
@@ -7567,6 +7900,7 @@ broken-packages:
- peregrin
- perf
- perf-analysis
+ - perfect-vector-shuffle
- PerfectHash
- perfecthash
- perhaps
@@ -7590,10 +7924,8 @@ broken-packages:
- persistent-protobuf
- persistent-ratelimit
- persistent-refs
- - persistent-relational-record
- persistent-template-classy
- persistent-test
- - persistent-typed-db
- persistent-vector
- persistent-zookeeper
- persona
@@ -7603,7 +7935,6 @@ broken-packages:
- peyotls-codec
- pez
- pg-harness
- - pg-harness-server
- pg-recorder
- pg-store
- pg-transact
@@ -7629,16 +7960,17 @@ broken-packages:
- picoparsec
- picosat
- pictikz
- - pidfile
- pier
- pier-core
- piet
- pig
+ - pinboard-notes-backup
- pinchot
- ping
- pinpon
- Pipe
- pipe-enumerator
+ - piped
- pipes-async
- pipes-attoparsec-streaming
- pipes-bgzf
@@ -7658,7 +7990,6 @@ broken-packages:
- pipes-p2p
- pipes-p2p-examples
- pipes-protolude
- - pipes-random
- pipes-rt
- pipes-s3
- pipes-shell
@@ -7675,11 +8006,11 @@ broken-packages:
- pkcs10
- pkcs7
- pkggraph
+ - pkgtreediff
- plailude
- plan-applicative
- plan-b
- planar-graph
- - planb-token-introspection
- planet-mitchell
- planet-mitchell-test
- plankton
@@ -7696,11 +8027,11 @@ broken-packages:
- Plot-ho-matic
- plot-lab
- plot-light-examples
- - plots
- PlslTools
- plugins
- plugins-auto
- plugins-multistage
+ - plur
- plural
- png-file
- pngload
@@ -7709,7 +8040,6 @@ broken-packages:
- pocket-dns
- point-octree
- pointfree-fancy
- - pointful
- pointless-lenses
- pointless-rewrite
- pokemon-go-protobuf-types
@@ -7720,11 +8050,13 @@ broken-packages:
- polh-lexicon
- polimorf
- Pollutocracy
- - poly
- poly-control
- polydata
- polydata-core
- polynomial
+ - polysemy-plugin
+ - polysemy-RandomFu
+ - polysemy-zoo
- polyseq
- polysoup
- polytypeable
@@ -7740,10 +8072,10 @@ broken-packages:
- poppler
- portager
- porte
- - porter
- PortFusion
- ports
- posix-acl
+ - posix-api
- posix-realtime
- posix-waitpid
- postcodes
@@ -7751,10 +8083,11 @@ broken-packages:
- postgres-tmp
- postgres-websockets
- postgresql-copy-escape
- - postgresql-lo-stream
- postgresql-named
- postgresql-query
- postgresql-simple-bind
+ - postgresql-simple-named
+ - postgresql-simple-opts
- postgresql-simple-queue
- postgresql-simple-sop
- postgresql-simple-typed
@@ -7764,6 +8097,7 @@ broken-packages:
- postgrest
- postgrest-ws
- postie
+ - postmark
- postmark-streams
- potato-tool
- potoki
@@ -7797,19 +8131,16 @@ broken-packages:
- presburger
- press
- presto-hdbc
- - pretty-ghci
- pretty-ncols
- pretty-relative-time
- prettyprinter-vty
- preview
- prim-array
- - prim-instances
- primes-type
- - primitive-addr
- primitive-atomic
+ - primitive-checked
- primitive-containers
- primitive-indexed
- - primitive-maybe
- primitive-simd
- primitive-sort
- primitive-unlifted
@@ -7835,7 +8166,6 @@ broken-packages:
- procrastinating-variable
- procstat
- producer
- - product
- prof2dot
- prof2pretty
- progress
@@ -7847,6 +8177,7 @@ broken-packages:
- project-m36
- projectile
- prolog-graph
+ - prolog-graph-lib
- prometheus
- prometheus-effect
- promise
@@ -7873,7 +8204,6 @@ broken-packages:
- proxy-mapping
- psc-ide
- pseudo-trie
- - pthread
- PTQ
- ptr
- publicsuffixlistcreate
@@ -7908,6 +8238,7 @@ broken-packages:
- puzzle-draw
- puzzle-draw-cmdline
- pvd
+ - PyF
- pyffi
- pyfi
- python-pickle
@@ -7944,8 +8275,7 @@ broken-packages:
- quick-schema
- QuickAnnotate
- quickbooks
- - quickcheck-arbitrary-template
- - quickcheck-classes
+ - quickcheck-combinators
- quickcheck-poly
- quickcheck-property-comb
- quickcheck-property-monad
@@ -7955,8 +8285,8 @@ broken-packages:
- quickcheck-report
- quickcheck-state-machine
- quickcheck-state-machine-distributed
+ - quickcheck-string-random
- quickcheck-webdriver
- - quickcheck-with-counterexamples
- QuickCheckVariant
- QuickPlot
- quickpull
@@ -7977,11 +8307,11 @@ broken-packages:
- quoridor-hs
- qux
- R-pandoc
- - raaz
- rad
- radium
- radium-formula-parser
- radix
+ - radixtree
- rados-haskell
- raft
- rail-compiler-editor
@@ -7990,6 +8320,7 @@ broken-packages:
- raketka
- rakhana
- rakuten
+ - ralist
- rallod
- raml
- rand-vars
@@ -7999,18 +8330,15 @@ broken-packages:
- random-derive
- random-eff
- random-effin
- - random-fu-multivariate
- random-hypergeometric
- random-stream
- RandomDotOrg
- Range
- - range-set-list
- range-space
- rangemin
- rank1dynamic
- rank2classes
- Ranka
- - rapid
- rapid-term
- rasa
- rasa-example-config
@@ -8026,7 +8354,6 @@ broken-packages:
- rasa-ext-vim
- rascal
- Rasenschach
- - rating-chgk-info
- rattle
- rattletrap
- raven-haskell-scotty
@@ -8036,8 +8363,6 @@ broken-packages:
- razom-text-util
- rbr
- rc
- - rcu
- - rdf
- rdf4h
- rdioh
- react-flux
@@ -8058,7 +8383,6 @@ broken-packages:
- reactor
- read-io
- readline-statevar
- - readme-lhs
- readpyc
- readshp
- really-simple-xml-parser
@@ -8080,8 +8404,8 @@ broken-packages:
- reduce-equations
- reedsolomon
- reenact
- - ref
- Ref
+ - ref
- ref-fd
- ref-mtl
- refcount
@@ -8093,13 +8417,15 @@ broken-packages:
- reflex-animation
- reflex-backend-wai
- reflex-basic-host
- - reflex-dom-core
- reflex-dom-svg
- reflex-gloss
- reflex-gloss-scene
- reflex-orphans
- reflex-sdl2
- reflex-transformers
+ - reflex-vty
+ - reform-happstack
+ - reform-hsp
- reformat
- refresht
- refurb
@@ -8136,9 +8462,9 @@ broken-packages:
- reified-records
- reify
- relacion
+ - relapse
- relation
- relational-postgresql8
- - relational-record-examples
- relative-date
- reload
- remark
@@ -8158,12 +8484,12 @@ broken-packages:
- repa-flow
- repa-linear-algebra
- repa-plugin
- - repa-scalar
- repa-series
- repa-stream
- repa-v4l2
- repl
- RepLib
+ - replica
- replicant
- ReplicateEffects
- repo-based-blog
@@ -8173,10 +8499,14 @@ broken-packages:
- reprinter
- reproject
- req-conduit
+ - req-oauth2
+ - req-url-extra
+ - reqcatcher
- request-monad
- require
- reserve
- reservoir
+ - resin
- resistor-cube
- resolve
- resolve-trivial-conflicts
@@ -8206,6 +8536,7 @@ broken-packages:
- reversi
- ReviewBoard
- rewrite
+ - rewrite-inspector
- rewriting
- rezoom
- rfc
@@ -8215,10 +8546,9 @@ broken-packages:
- rfc-psql
- rfc-redis
- rfc-servant
- - rhine
- - rhine-gloss
+ - rg
- rhythm-game-tutorial
- - ribosome
+ - rib
- RichConditional
- ridley
- ridley-extras
@@ -8237,6 +8567,7 @@ broken-packages:
- rl-satton
- Rlang-QQ
- rlglue
+ - RLP
- rlwe-challenges
- rmonad
- RMP
@@ -8246,14 +8577,12 @@ broken-packages:
- RNAFoldProgs
- RNAlien
- RNAwolf
- - rncryptor
- rng-utils
- rob
- robin
- robots-txt
- roc-cluster
- roc-cluster-demo
- - rocksdb-query
- roku-api
- rollbar-hs
- roller
@@ -8283,7 +8612,6 @@ broken-packages:
- rspp
- rss-conduit
- rss2irc
- - rtnetlink
- rtorrent-rpc
- rts-loader
- ruby-marshal
@@ -8291,6 +8619,7 @@ broken-packages:
- ruin
- ruler
- ruler-core
+ - run-st
- rungekutta
- runmany
- runtime-arbitrary
@@ -8306,12 +8635,7 @@ broken-packages:
- safe-json
- safe-lazy-io
- safe-length
- - safe-money
- - safe-money-aeson
- - safe-money-cereal
- - safe-money-serialise
- safe-money-store
- - safe-money-xmlbf
- safe-plugins
- safe-printf
- safecopy-store
@@ -8323,9 +8647,7 @@ broken-packages:
- saferoute
- sai-shape-syb
- sajson
- - salak
- salak-toml
- - salak-yaml
- Salsa
- saltine-quickcheck
- salvia
@@ -8353,15 +8675,17 @@ broken-packages:
- savage
- sax
- SBench
+ - sbv
- sbvPlugin
- sc2-lowlevel
- sc2-proto
- sc3-rdu
- scalable-server
- scaleimage
- - scalendar
- SCalendar
+ - scalendar
- scalp-webhooks
+ - scan-metadata
- scan-vector-machine
- scc
- scenegraph
@@ -8374,8 +8698,10 @@ broken-packages:
- scholdoc-citeproc
- scholdoc-texmath
- scholdoc-types
- - SciBaseTypes
+ - scidb-hquery
- science-constants-dimensional
+ - SciFlow
+ - SciFlow-drmaa
- scion
- scion-browser
- scons2dot
@@ -8385,6 +8711,7 @@ broken-packages:
- scotty-binding-play
- scotty-blaze
- scotty-fay
+ - scotty-form
- scotty-format
- scotty-hastache
- scotty-resource
@@ -8405,6 +8732,7 @@ broken-packages:
- sde-solver
- sdl2-cairo-image
- sdl2-compositor
+ - sdl2-fps
- sdr
- seakale
- seakale-postgresql
@@ -8423,7 +8751,6 @@ broken-packages:
- SelectSequencesFromMSA
- selenium
- selenium-server
- - self-extract
- selinux
- Semantique
- semdoc
@@ -8435,7 +8762,6 @@ broken-packages:
- semilattices
- semiring
- semiring-num
- - semver-range
- sendgrid-haskell
- sendgrid-v3
- sensei
@@ -8449,6 +8775,7 @@ broken-packages:
- seqloc
- seqloc-datafiles
- sequence-formats
+ - sequenceTools
- sequent-core
- sequor
- serialize-instances
@@ -8465,12 +8792,14 @@ broken-packages:
- servant-auth-token-leveldb
- servant-auth-token-persistent
- servant-auth-token-rocksdb
+ - servant-cli
- servant-client-namedargs
- servant-csharp
- servant-db
- servant-db-postgresql
- servant-dhall
- servant-examples
+ - servant-exceptions
- servant-generate
- servant-generic
- servant-github
@@ -8483,6 +8812,7 @@ broken-packages:
- servant-matrix-param
- servant-namedargs
- servant-nix
+ - servant-pandoc
- servant-pool
- servant-postgresql
- servant-proto-lens
@@ -8490,16 +8820,22 @@ broken-packages:
- servant-pushbullet-client
- servant-py
- servant-quickcheck
+ - servant-reason
- servant-reflex
- servant-router
- servant-scotty
- servant-server-namedargs
- servant-smsc-ru
- servant-snap
+ - servant-static-th
+ - servant-streaming
- servant-streaming-client
- servant-streaming-docs
- servant-streaming-server
+ - servant-subscriber
+ - servant-swagger-tags
- servant-waargonaut
+ - servant-websockets
- servant-xml
- servant-zeppelin
- servant-zeppelin-client
@@ -8507,15 +8843,16 @@ broken-packages:
- servant-zeppelin-swagger
- server-generic
- serverless-haskell
+ - serversession-backend-redis
- serversession-frontend-snap
- serversession-frontend-yesod
- services
+ - ses-html
- ses-html-snaplet
- SessionLogger
- sessions
- sessiontypes
- sessiontypes-distributed
- - set-cover
- set-with
- setdown
- setgame
@@ -8530,6 +8867,7 @@ broken-packages:
- sfnt2woff
- SFont
- SG
+ - sgd
- SGdemo
- sgf
- SGplus
@@ -8569,13 +8907,13 @@ broken-packages:
- shorten-strings
- ShortestPathProblems
- showdown
- - shower
- shpider
- shuffle
- si-clock
- sibe
- sifflet
- sifflet-lib
+ - siggy-chardust
- sigma-ij
- sign
- signals
@@ -8583,7 +8921,6 @@ broken-packages:
- silvi
- simd
- simgi
- - simple
- simple-actors
- simple-affine-space
- simple-atom
@@ -8604,14 +8941,10 @@ broken-packages:
- simple-nix
- simple-pascal
- simple-pipe
- - simple-postgresql-orm
- simple-rope
- - simple-session
+ - simple-src-utils
- simple-tabular
- simple-tar
- - simple-templates
- - simple-ui
- - simple-units
- simple-vec3
- simple-zipper
- simpleargs
@@ -8623,7 +8956,6 @@ broken-packages:
- simplenote
- simpleprelude
- SimpleServer
- - simplest-sqlite
- simseq
- singleton-dict
- singleton-typelits
@@ -8650,16 +8982,17 @@ broken-packages:
- skylark-client
- skype4hs
- slack
+ - slate
+ - slave-thread
- slidemews
- Slides
- slim
- sloane
- - slope-field
- slot-lambda
- sloth
- slug
+ - small-bytearray-builder
- smallarray
- - smallcaps
- smallcheck-laws
- smallcheck-lens
- smallpt-hs
@@ -8688,12 +9021,12 @@ broken-packages:
- snake
- snake-game
- snap
+ - snap-accept
- snap-auth-cli
- snap-blaze-clay
- snap-configuration-utilities
- snap-error-collector
- snap-extras
- - snap-language
- snap-routes
- snap-stream
- snap-testing
@@ -8789,11 +9122,11 @@ broken-packages:
- sparrow
- sparse
- sparse-lin-alg
+ - sparse-tensor
- sparsebit
- sparsecheck
- sparser
- spata
- - spatial-rotations
- special-functors
- special-keys
- specialize-th
@@ -8813,6 +9146,7 @@ broken-packages:
- splay
- splaytree
- splines
+ - split-morphism
- splitter
- splot
- Spock
@@ -8864,6 +9198,7 @@ broken-packages:
- stack-run-auto
- stack-type
- stack2cabal
+ - stack2nix
- stackage
- stackage-build-plan
- stackage-cabal
@@ -8877,8 +9212,8 @@ broken-packages:
- stackage-types
- stackage-upload
- stackage2nix
+ - stacked-dag
- standalone-derive-topdown
- - standalone-haddock
- starling
- stash
- Stasis
@@ -8899,9 +9234,8 @@ broken-packages:
- statsd
- statsd-client
- statsdi
- - staversion
- stb-image-redux
- - stb-truetype
+ - stc-lang
- stdata
- stdf
- stdio
@@ -8910,14 +9244,16 @@ broken-packages:
- stemmer
- stemmer-german
- stepwise
+ - stern-brocot
- stgi
- - STL
- stm-chunked-queues
+ - stm-containers
- stm-firehose
+ - stm-hamt
- stm-io-hooks
- - stm-lifted
- stm-promise
- stm-stats
+ - stm-supply
- stmcontrol
- stochastic
- Stomp
@@ -8931,23 +9267,17 @@ broken-packages:
- StrappedTemplates
- stratum-tool
- stratux
- - stratux-http
- - stratux-types
+ - stratux-demo
- stratux-websockets
- stream
- stream-fusion
- stream-monad
- streamdeck
- streamed
- - streaming-benchmarks
- streaming-brotli
- streaming-cassava
- - streaming-concurrency
- streaming-conduit
- streaming-fft
- - streaming-lzma
- - streaming-osm
- - streaming-pcap
- streaming-png
- streaming-postgresql-simple
- streaming-process
@@ -8964,20 +9294,22 @@ broken-packages:
- stripe
- stripe-haskell
- stripe-http-client
- - strongswan-sql
+ - stripe-http-streams
+ - stripe-tests
- structural-induction
- structural-traversal
- structured-mongoDB
- structures
- stt
- stunts
+ - stylist
- stylized
+ - suavemente
- sub-state
- subhask
- subleq-toolchain
- submark
- subsample
- - substring-parser
- subwordgraph
- successors
- suffix-array
@@ -8993,6 +9325,7 @@ broken-packages:
- sunroof-server
- super-user-spark
- superbubbles
+ - superbuffer
- supercollider-ht
- supercollider-midi
- superconstraints
@@ -9000,6 +9333,7 @@ broken-packages:
- supermonad
- supero
- supervisor
+ - supervisors
- supplemented
- surjective
- sv
@@ -9025,11 +9359,8 @@ broken-packages:
- sylvia
- sym
- sym-plot
- - symantic
- - symantic-cli
- - symantic-grammar
- symantic-http-test
- - symantic-lib
+ - symantic-xml
- symengine
- symengine-hs
- sync
@@ -9080,9 +9411,9 @@ broken-packages:
- taglib-api
- tagsoup-ht
- tagsoup-megaparsec
+ - tagsoup-navigate
- tagsoup-parsec
- tagsoup-selection
- - tai
- tai64
- takahashi
- Takusen
@@ -9107,11 +9438,9 @@ broken-packages:
- tasty-jenkins-xml
- tasty-laws
- tasty-lens
- - tasty-lua
- - tasty-quickcheck-laws
- tasty-stats
- tasty-tap
- - tasty-travis
+ - Taxonomy
- TaxonomyTools
- TBC
- TBit
@@ -9122,7 +9451,6 @@ broken-packages:
- tcp
- tcp-streams-openssl
- tdd-util
- - tdigest-Chart
- tds
- TeaHS
- teams
@@ -9150,12 +9478,10 @@ broken-packages:
- tensorflow-opgen
- tensorflow-ops
- tensorflow-proto
- - termbox-banana
- termbox-bindings
- terminal-punch
- terminal-text
- termination-combinators
- - termonad
- termplot
- terntup
- terrahs
@@ -9194,10 +9520,12 @@ broken-packages:
- text-plus
- text-position
- text-register-machine
+ - text-replace
- text-time
- text-utf8
- text-xml-qq
- text-zipper-monad
+ - text1
- textmatetags
- textocat-api
- textual
@@ -9218,7 +9546,7 @@ broken-packages:
- th-traced
- th-typegraph
- thank-you-stars
- - themoviedb
+ - theatre
- thentos-cookie-session
- Theora
- theoremquest
@@ -9229,7 +9557,6 @@ broken-packages:
- Thingie
- thorn
- threadmanager
- - threads-supervisor
- threadscope
- threepenny-gui-contextmenu
- threepenny-gui-flexbox
@@ -9255,7 +9582,6 @@ broken-packages:
- time-http
- time-io-access
- time-machine
- - time-parsers
- time-quote
- time-recurrence
- time-series
@@ -9273,6 +9599,7 @@ broken-packages:
- timers-tick
- timeseries
- timespan
+ - timeutils
- timezone-unix
- tintin
- tiny-scheduler
@@ -9294,7 +9621,6 @@ broken-packages:
- to-string-class
- to-string-instances
- toboggan
- - todo
- todos
- tofromxml
- toilet
@@ -9305,7 +9631,7 @@ broken-packages:
- tokyotyrant-haskell
- tomato-rubato-openal
- toml
- - tomland
+ - tomlcheck
- too-many-cells
- toodles
- Top
@@ -9321,14 +9647,13 @@ broken-packages:
- toysolver
- tpar
- tpb
- - tpdb
- trace
- trace-call
- trace-function-call
- traced
- tracetree
+ - tracing
- tracker
- - trackit
- traction
- tracy
- traildb
@@ -9351,12 +9676,24 @@ broken-packages:
- translate-cli
- trasa
- trasa-client
+ - trasa-extra
+ - trasa-form
- trasa-server
- trasa-th
- travis
- travis-meta-yaml
- trawl
- traypoweroff
+ - tree-sitter
+ - tree-sitter-go
+ - tree-sitter-haskell
+ - tree-sitter-java
+ - tree-sitter-json
+ - tree-sitter-php
+ - tree-sitter-python
+ - tree-sitter-ruby
+ - tree-sitter-tsx
+ - tree-sitter-typescript
- tree-traversals
- TreeCounter
- treemap-html
@@ -9371,8 +9708,8 @@ broken-packages:
- TrieMap
- tries
- trigger
+ - trim
- trimpolya
- - triplesec
- tripLL
- trivia
- tropical
@@ -9385,6 +9722,7 @@ broken-packages:
- tsparse
- tsuntsun
- tsvsql
+ - tsweb
- ttask
- ttn-client
- tttool
@@ -9402,7 +9740,6 @@ broken-packages:
- twee
- tweet-hs
- twentefp-eventloop-graphics
- - twentefp-eventloop-trees
- twentefp-graphs
- twentefp-rosetree
- twentefp-trees
@@ -9416,8 +9753,11 @@ broken-packages:
- twill
- twine
- twitter
+ - twitter-conduit
- twitter-enumerator
- twitter-feed
+ - twitter-types
+ - twitter-types-lens
- tx
- txt
- txtblk
@@ -9463,6 +9803,7 @@ broken-packages:
- types-compat
- typesafe-precure
- typescript-docs
+ - typograffiti
- typography-geometry
- tyro
- u2f
@@ -9479,32 +9820,34 @@ broken-packages:
- unagi-bloomfilter
- unagi-streams
- unamb-custom
- - unbeliever
- unbound
+ - unbound-kind-generics
- unbounded-delays-units
- unboxed-containers
- unbreak
+ - unfoldable
+ - unfoldable-restricted
- uni-graphs
- uni-uDrawGraph
- unicode-normalization
- unicode-show
- unicode-symbols
- uniform-io
+ - union
- union-map
+ - Unique
- uniqueid
- uniquely-represented-sets
- units-attoparsec
- unittyped
- unity-testresult-parser
- unitym-yesod
- - universe
- - universe-dependent-sum
- - universe-instances-extended
- universe-th
- universum
- unix-fcntl
- unix-handle
- unix-process-conduit
+ - unjson
- unm-hip
- unordered-containers-rematch
- unordered-graphs
@@ -9551,6 +9894,7 @@ broken-packages:
- usb-id-database
- usb-iteratee
- usb-safe
+ - userid
- users-mysql-haskell
- users-persistent
- utc
@@ -9560,6 +9904,7 @@ broken-packages:
- util-exception
- util-primitive
- util-primitive-control
+ - util-universe
- uu-cco
- uu-cco-examples
- uu-cco-hut-parsing
@@ -9567,20 +9912,20 @@ broken-packages:
- uuagc-bootstrap
- uuagc-diagrams
- uuid-aeson
+ - uuid-orphans
- uvector
- uvector-algorithms
- uxadt
- v4l2
- v4l2-examples
+ - vabal
- vacuum
- vacuum-cairo
- vacuum-graphviz
- vacuum-opengl
- vacuum-ubigraph
- - vado
- valid-names
- validate-input
- - validated-literals
- validated-types
- Validation
- validations
@@ -9591,7 +9936,6 @@ broken-packages:
- variable-precision
- variables
- variation
- - vault-tool
- vault-tool-server
- vault-trans
- vaultaire-common
@@ -9600,7 +9944,6 @@ broken-packages:
- vcf
- vcsgui
- vcswrapper
- - vec
- Vec-Boolean
- Vec-OpenGLRaw
- Vec-Transform
@@ -9611,12 +9954,12 @@ broken-packages:
- vector-clock
- vector-conduit
- vector-endian
- - vector-extras
- vector-functorlazy
- vector-heterogenous
- vector-instances-collections
- vector-random
- vector-read-instances
+ - vector-space-map
- vector-space-opengl
- vector-static
- vectortiles
@@ -9639,10 +9982,13 @@ broken-packages:
- views
- vigilance
- Villefort
- - vimeta
- vimus
- vintage-basic
+ - vinyl
+ - vinyl-generics
+ - vinyl-gl
- vinyl-json
+ - vinyl-named-sugar
- vinyl-operational
- vinyl-plus
- vinyl-utils
@@ -9669,11 +10015,11 @@ broken-packages:
- vty-ui
- vty-ui-extras
- vulkan
- - vulkan-api
- waargonaut
- wacom-daemon
- waddle
- wahsp
+ - wai-app-file-cgi
- wai-devel
- wai-git-http
- wai-graceful
@@ -9733,12 +10079,15 @@ broken-packages:
- web-css
- web-encodings
- web-fpco
+ - web-inv-route
- web-mongrel2
- web-output
- web-page
- web-push
+ - web-routes-happstack
- web-routes-quasi
- web-routes-regular
+ - web-routes-th
- web-routes-transformers
- web-routing
- web3
@@ -9747,22 +10096,24 @@ broken-packages:
- WebBits
- WebBits-Html
- WebBits-multiplate
+ - webby
- webcloud
- WebCont
- webcrank
- webcrank-dispatch
- webcrank-wai
+ - webdriver-angular
- webdriver-snoy
- webdriver-w3c
- WeberLogic
- webfinger-client
- webify
- webkit-javascriptcore
- - webkit2gtk3-javascriptcore
- Webrexp
- webserver
- webshow
- websockets-rpc
+ - websockets-simple
- webwire
- weighted
- weighted-regexp
@@ -9790,7 +10141,6 @@ broken-packages:
- Wired
- wires
- wiring
- - withdependencies
- wkt
- wkt-geom
- wl-pprint-ansiterm
@@ -9802,9 +10152,10 @@ broken-packages:
- wobsurv
- woffex
- wolf
+ - word
- word2vec-model
- WordAlignment
- - wordchoice
+ - wordify
- WordNet
- WordNet-ghc74
- wordpass
@@ -9828,7 +10179,6 @@ broken-packages:
- writer-cps-monads-tf
- writer-cps-morph
- ws
- - ws-chans
- wsdl
- wsedit
- wss-client
@@ -9873,9 +10223,11 @@ broken-packages:
- xkcd
- xleb
- xlsior
+ - xlsx-tabular
- xlsx-templater
- xml-catalog
- xml-conduit-decode
+ - xml-conduit-stylist
- xml-enumerator
- xml-enumerator-combinators
- xml-html-conduit-lens
@@ -9891,9 +10243,8 @@ broken-packages:
- xml-tydom-core
- xml2json
- xml2x
- - xmlbf-xmlhtml
+ - xmlbf-xeno
- XmlHtmlWriter
- - XMLParser
- xmltv
- XMMS
- xmms2-client
@@ -10003,7 +10354,6 @@ broken-packages:
- yesod-mangopay
- yesod-paginate
- yesod-pagination
- - yesod-paginator
- yesod-paypal-rest
- yesod-platform
- yesod-pnotify
@@ -10022,10 +10372,12 @@ broken-packages:
- yesod-sass
- yesod-session-redis
- yesod-static-angular
+ - yesod-static-remote
- yesod-test-json
- yesod-tls
- yesod-vend
- yesod-worker
+ - yet-another-logger
- YFrob
- yggdrasil
- yhccore
@@ -10033,6 +10385,7 @@ broken-packages:
- yi-contrib
- yi-core
- yi-dynamic-configuration
+ - yi-emacs-colours
- yi-frontend-pango
- yi-frontend-vty
- yi-fuzzy-open
@@ -10040,6 +10393,7 @@ broken-packages:
- yi-keymap-cua
- yi-keymap-emacs
- yi-keymap-vim
+ - yi-language
- yi-misc-modes
- yi-mode-haskell
- yi-mode-javascript
@@ -10063,6 +10417,7 @@ broken-packages:
- yuuko
- yx
- yxdb-utils
+ - z3
- z3-encoding
- z85
- zabt
@@ -10078,9 +10433,7 @@ broken-packages:
- zeromq3-haskell
- zeromq4-clone-pattern
- zeromq4-conduit
- - zeromq4-haskell == 0.7.*
- zeromq4-patterns
- - zeromq4-simple
- zeroth
- ZFS
- zifter
@@ -10107,11 +10460,9 @@ broken-packages:
- zoom-cache-pcm
- zoom-cache-sndfile
- zoom-refs
+ - Zora
- zre
- zsh-battery
- - zstd
- zsyntax
- - ztar
- zuramaru
- Zwaluw
- - zxcvbn-c
diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix
index f4dd805568e..88ec8ad85ff 100644
--- a/pkgs/development/haskell-modules/configuration-nix.nix
+++ b/pkgs/development/haskell-modules/configuration-nix.nix
@@ -94,7 +94,13 @@ self: super: builtins.intersectAttrs super {
# Won't find it's header files without help.
sfml-audio = appendConfigureFlag super.sfml-audio "--extra-include-dirs=${pkgs.openal}/include/AL";
- cachix = enableSeparateBinOutput super.cachix;
+ cachix = overrideCabal (addBuildTools (enableSeparateBinOutput super.cachix) [pkgs.boost]) (drv: {
+ postPatch = (drv.postPatch or "") + ''
+ substituteInPlace cachix.cabal --replace "c++14" "c++17"
+ '';
+ });
+
+ ghcid = enableSeparateBinOutput super.ghcid;
hzk = overrideCabal super.hzk (drv: {
preConfigure = "sed -i -e /include-dirs/d hzk.cabal";
@@ -279,9 +285,7 @@ self: super: builtins.intersectAttrs super {
let dontCheckDarwin = if pkgs.stdenv.isDarwin
then dontCheck
else pkgs.lib.id;
- in dontCheckDarwin (super.llvm-hs.override {
- llvm-config = pkgs.llvm_6;
- });
+ in dontCheckDarwin (super.llvm-hs.override { llvm-config = pkgs.llvm_8; });
# Needs help finding LLVM.
spaceprobe = addBuildTool super.spaceprobe self.llvmPackages.llvm;
@@ -491,7 +495,11 @@ self: super: builtins.intersectAttrs super {
servant-streaming-server = dontCheck super.servant-streaming-server;
# https://github.com/haskell-servant/servant/pull/1128
- servant-client-core = appendPatch super.servant-client-core ./patches/servant-client-core-streamBody.patch;
+ servant-client-core = if (pkgs.lib.getVersion super.servant-client-core) == "0.15" then
+ appendPatch super.servant-client-core ./patches/servant-client-core-streamBody.patch
+ else
+ super.servant-client-core;
+
# tests run executable, relying on PATH
# without this, tests fail with "Couldn't launch intero process"
@@ -501,6 +509,12 @@ self: super: builtins.intersectAttrs super {
'';
});
+ # Break infinite recursion cycle between QuickCheck and splitmix.
+ splitmix = dontCheck super.splitmix;
+
+ # Break infinite recursion cycle between tasty and clock.
+ clock = dontCheck super.clock;
+
# loc and loc-test depend on each other for testing. Break that infinite cycle:
loc-test = super.loc-test.override { loc = dontCheck self.loc; };
@@ -522,10 +536,6 @@ self: super: builtins.intersectAttrs super {
librarySystemDepends = drv.librarySystemDepends or [] ++ [ pkgs.cyrus_sasl.dev ];
}));
- # Doctests hang only when compiling with nix.
- # https://github.com/cdepillabout/termonad/issues/15
- termonad = dontCheck super.termonad;
-
# Expects z3 to be on path so we replace it with a hard
sbv = overrideCabal super.sbv (drv: {
postPatch = ''
@@ -569,4 +579,18 @@ self: super: builtins.intersectAttrs super {
# Avoid infitite recursion with tonatona.
tonaparser = dontCheck super.tonaparser;
+ # Needs internet to run tests
+ HTTP = dontCheck super.HTTP;
+
+ # Break infinite recursions.
+ Dust-crypto = dontCheck super.Dust-crypto;
+ nanospec = dontCheck super.nanospec;
+ options = dontCheck super.options;
+ snap-server = dontCheck super.snap-server;
+
+ # Tests require internet
+ dhall_1_25_0 = dontCheck super.dhall_1_25_0;
+ http-download = dontCheck super.http-download;
+ pantry = dontCheck super.pantry;
+
}
diff --git a/pkgs/development/haskell-modules/configuration-tensorflow.nix b/pkgs/development/haskell-modules/configuration-tensorflow.nix
index 43a3b82923b..71ae70335fd 100644
--- a/pkgs/development/haskell-modules/configuration-tensorflow.nix
+++ b/pkgs/development/haskell-modules/configuration-tensorflow.nix
@@ -44,7 +44,7 @@ in
);
tensorflow-proto = super.tensorflow-proto.override {
- inherit proto-lens proto-lens-protoc proto-lens-protobuf-types;
+ inherit proto-lens proto-lens-protobuf-types;
};
tensorflow = super.tensorflow.override {
inherit mainland-pretty proto-lens;
diff --git a/pkgs/development/haskell-modules/generic-builder.nix b/pkgs/development/haskell-modules/generic-builder.nix
index b2d7d0eaf9c..87d3b5ae496 100644
--- a/pkgs/development/haskell-modules/generic-builder.nix
+++ b/pkgs/development/haskell-modules/generic-builder.nix
@@ -96,7 +96,7 @@ assert stdenv.hostPlatform.isWindows -> enableStaticLibraries == false;
let
inherit (stdenv.lib) optional optionals optionalString versionOlder versionAtLeast
- concatStringsSep enableFeature optionalAttrs toUpper;
+ concatStringsSep enableFeature optionalAttrs;
isGhcjs = ghc.isGhcjs or false;
isHaLVM = ghc.isHaLVM or false;
diff --git a/pkgs/development/haskell-modules/generic-stack-builder.nix b/pkgs/development/haskell-modules/generic-stack-builder.nix
index 184d45eda44..96774f71730 100644
--- a/pkgs/development/haskell-modules/generic-stack-builder.nix
+++ b/pkgs/development/haskell-modules/generic-stack-builder.nix
@@ -2,6 +2,7 @@
, cacert, stack, makeSetupHook, lib }@depArgs:
{ buildInputs ? []
+, nativeBuildInputs ? []
, extraArgs ? []
, LD_LIBRARY_PATH ? []
, ghc ? depArgs.ghc
@@ -22,7 +23,8 @@ in stdenv.mkDerivation (args // {
buildInputs = buildInputs
++ lib.optional (stdenv.hostPlatform.libc == "glibc") glibcLocales;
- nativeBuildInputs = [ ghc pkgconfig stack stackHook ];
+ nativeBuildInputs = nativeBuildInputs
+ ++ [ ghc pkgconfig stack stackHook ];
STACK_PLATFORM_VARIANT = "nix";
STACK_IN_NIX_SHELL = 1;
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 01fa97eb25d..3b91b02ffad 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -527,8 +527,8 @@ self: {
({ mkDerivation, base, freealut, OpenAL, StateVar, transformers }:
mkDerivation {
pname = "ALUT";
- version = "2.4.0.2";
- sha256 = "11sb715z6rkmwf9n7l9q32g81qiv2ld8a9z42dfxiwgmh2ilsdmq";
+ version = "2.4.0.3";
+ sha256 = "04nrh7vribs4jvg99hj3fmshzcw6kkf45r842iys19ln3l51p2bi";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base OpenAL StateVar transformers ];
@@ -636,8 +636,8 @@ self: {
}:
mkDerivation {
pname = "AbortT-transformers";
- version = "1.0.1.2";
- sha256 = "1skqp7zmh7vzrfhfnc6mn125xmqz2p0c8pmaccxynga9623dmsb2";
+ version = "1.0.1.3";
+ sha256 = "14bv2bmd6fi1kf0id3ah7gfabbqzbpahws6zy11ji6h3j29pwk8y";
libraryHaskellDepends = [ base transformers ];
testHaskellDepends = [
base HUnit QuickCheck test-framework test-framework-hunit
@@ -918,31 +918,6 @@ self: {
}) {};
"Allure" = callPackage
- ({ mkDerivation, async, base, containers, enummapset, filepath
- , LambdaHack, optparse-applicative, random, template-haskell, text
- , transformers, zlib
- }:
- mkDerivation {
- pname = "Allure";
- version = "0.8.3.0";
- sha256 = "1yzqiidc8qbjlpgs2d3jkikzggyd7ajq7i7l1dgwqv6sh4r030vb";
- isLibrary = false;
- isExecutable = true;
- enableSeparateDataOutput = true;
- executableHaskellDepends = [
- async base containers enummapset filepath LambdaHack
- optparse-applicative random template-haskell text transformers zlib
- ];
- testHaskellDepends = [
- base containers enummapset filepath LambdaHack optparse-applicative
- random template-haskell text transformers zlib
- ];
- description = "Near-future Sci-Fi roguelike and tactical squad game";
- license = "unknown";
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
- "Allure_0_9_5_0" = callPackage
({ mkDerivation, async, base, enummapset, filepath, ghc-compact
, LambdaHack, optparse-applicative, primitive, random
, template-haskell, text, transformers
@@ -968,6 +943,7 @@ self: {
description = "Near-future Sci-Fi roguelike and tactical squad combat game";
license = stdenv.lib.licenses.agpl3Plus;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"AndroidViewHierarchyImporter" = callPackage
@@ -1104,20 +1080,21 @@ self: {
}) {};
"AspectAG" = callPackage
- ({ mkDerivation, base, containers, HList, mtl, template-haskell }:
+ ({ mkDerivation, base, containers, ghc-prim, mtl, tagged
+ , template-haskell, th-strict-compat
+ }:
mkDerivation {
pname = "AspectAG";
- version = "0.3.6.1";
- sha256 = "01pglvf38v5ii2w03kdlgngxbb3ih0j5bsilv5qwc9vrh2iwirhf";
- revision = "1";
- editedCabalFile = "0w0098491vypmvhpy23bzs2vdbym4qfllxymysc1j4gjx8q81dnm";
+ version = "0.5.0.0";
+ sha256 = "039k40swscsg21b4k4a3q95migvkflcp7sgx2a8gpzanrkx3ckz2";
+ revision = "2";
+ editedCabalFile = "1afrgn3hhkfrb3khfnbj7x9p4dh8j682zjhp5lc7s7syr8zp8pxy";
libraryHaskellDepends = [
- base containers HList mtl template-haskell
+ base containers ghc-prim mtl tagged template-haskell
+ th-strict-compat
];
- description = "Attribute Grammars in the form of an EDSL";
- license = "LGPL";
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ description = "Strongly typed Attribute Grammars implemented using type-level programming";
+ license = stdenv.lib.licenses.gpl3;
}) {};
"AttoBencode" = callPackage
@@ -1266,22 +1243,23 @@ self: {
"BNFC" = callPackage
({ mkDerivation, alex, array, base, containers, deepseq, directory
, doctest, filepath, happy, hspec, HUnit, mtl, pretty, process
- , QuickCheck, temporary
+ , QuickCheck, semigroups, temporary, time
}:
mkDerivation {
pname = "BNFC";
- version = "2.8.2";
- sha256 = "1n4zgm6gls6lpasn8y5hy0m75qkkbk6mj18g2yhjrw8514a5860h";
+ version = "2.8.3";
+ sha256 = "00w8g0kn4sgjyiq4hykkz8k0kl5b5861v7d9g2021vca78gif6wl";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ array base ];
executableHaskellDepends = [
array base containers deepseq directory filepath mtl pretty process
+ semigroups time
];
executableToolDepends = [ alex happy ];
testHaskellDepends = [
array base containers deepseq directory doctest filepath hspec
- HUnit mtl pretty process QuickCheck temporary
+ HUnit mtl pretty process QuickCheck semigroups temporary time
];
description = "A compiler front-end generator";
license = stdenv.lib.licenses.gpl2;
@@ -1524,19 +1502,22 @@ self: {
}) {};
"BiobaseBlast" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, binary, BiobaseTypes
- , BiobaseXNA, bytestring, cereal, containers, deepseq, directory
- , filepath, PrimitiveArray, split, tasty, tasty-quickcheck
- , tasty-silver, tasty-th, text, vector, vector-th-unbox
+ ({ mkDerivation, aeson, attoparsec, base, binary, BiobaseENA
+ , BiobaseTypes, BiobaseXNA, bytestring, cereal, containers, deepseq
+ , directory, file-embed, filepath, lens, log-domain, mtl
+ , PrimitiveArray, SciBaseTypes, split, tasty, tasty-quickcheck
+ , tasty-silver, tasty-th, text, unordered-containers, vector
+ , vector-th-unbox
}:
mkDerivation {
pname = "BiobaseBlast";
- version = "0.2.1.0";
- sha256 = "1vrdnb8mjl6r02b37w3r25pf6kxn97w7zya148qpnlfgc2ffa23a";
+ version = "0.3.1.0";
+ sha256 = "153bxf221jga58ibxgd660465klbqj49qr3rk6ni77v7sb4qgrg0";
libraryHaskellDepends = [
- aeson attoparsec base binary BiobaseTypes BiobaseXNA bytestring
- cereal containers deepseq directory PrimitiveArray vector
- vector-th-unbox
+ aeson attoparsec base binary BiobaseENA BiobaseTypes BiobaseXNA
+ bytestring cereal containers deepseq directory file-embed lens
+ log-domain mtl PrimitiveArray SciBaseTypes text
+ unordered-containers vector vector-th-unbox
];
testHaskellDepends = [
base bytestring containers filepath split tasty tasty-quickcheck
@@ -1561,6 +1542,30 @@ self: {
broken = true;
}) {};
+ "BiobaseENA" = callPackage
+ ({ mkDerivation, base, BiobaseTypes, bytestring, containers
+ , directory, file-embed, lens, megaparsec, mtl, QuickCheck, tasty
+ , tasty-quickcheck, tasty-th, text, vector, vector-th-unbox
+ }:
+ mkDerivation {
+ pname = "BiobaseENA";
+ version = "0.0.0.1";
+ sha256 = "0wkfaxrv4s34amjjl02q0si5nvs18f74z9dxp5r024fd42g3fdka";
+ libraryHaskellDepends = [
+ base BiobaseTypes bytestring containers directory file-embed lens
+ megaparsec mtl text vector vector-th-unbox
+ ];
+ testHaskellDepends = [
+ base BiobaseTypes bytestring containers directory file-embed lens
+ megaparsec mtl QuickCheck tasty tasty-quickcheck tasty-th text
+ vector vector-th-unbox
+ ];
+ description = "European Nucleotide Archive data";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"BiobaseEnsembl" = callPackage
({ mkDerivation, aeson, attoparsec, base, binary, bytestring
, cereal, containers, deepseq, directory, either-unwrap, text
@@ -1598,22 +1603,22 @@ self: {
}) {};
"BiobaseFasta" = callPackage
- ({ mkDerivation, base, BiobaseTypes, bytestring, filepath, lens
- , QuickCheck, resourcet, streaming, streaming-bytestring
+ ({ mkDerivation, base, BiobaseTypes, bytestring, DPutils, filepath
+ , lens, QuickCheck, resourcet, streaming, streaming-bytestring
, string-conversions, tasty, tasty-golden, tasty-hunit
, tasty-quickcheck, tasty-silver, tasty-th, text
}:
mkDerivation {
pname = "BiobaseFasta";
- version = "0.3.0.0";
- sha256 = "0ka04dfgqv031k17dwnxkrq77r7xzmmbj8byrdrqr7r0z0ad0ns1";
+ version = "0.3.0.1";
+ sha256 = "11vwvqln5jv4k97miyjgqs3yckm8fhyclclhfxq473i4g22amjyh";
libraryHaskellDepends = [
- base BiobaseTypes bytestring lens resourcet streaming
+ base BiobaseTypes bytestring DPutils lens resourcet streaming
streaming-bytestring string-conversions
];
testHaskellDepends = [
- base BiobaseTypes bytestring filepath lens QuickCheck resourcet
- streaming streaming-bytestring string-conversions tasty
+ base BiobaseTypes bytestring DPutils filepath lens QuickCheck
+ resourcet streaming streaming-bytestring string-conversions tasty
tasty-golden tasty-hunit tasty-quickcheck tasty-silver tasty-th
text
];
@@ -1650,6 +1655,8 @@ self: {
pname = "BiobaseHTTPTools";
version = "1.0.0";
sha256 = "1sbwhil0d0118nwx7wsryk6j8a7rysdxqksphvyrlxfdm7pd3l1z";
+ revision = "1";
+ editedCabalFile = "1aibwdw1bh0gl4czff4n8jkf79ma3isqwqgnjh186xn1rbnibvmw";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -1789,23 +1796,28 @@ self: {
, bytestring, cereal, cereal-text, cereal-vector, containers
, data-default, deepseq, ForestStructures, hashable, intern, lens
, mtl, primitive, PrimitiveArray, QuickCheck, SciBaseTypes
- , string-conversions, tasty, tasty-quickcheck, tasty-th, text
- , text-binary, utf8-string, vector, vector-binary-instances
+ , streaming, string-conversions, tasty, tasty-quickcheck, tasty-th
+ , text, text-binary, utf8-string, vector, vector-binary-instances
, vector-th-unbox
}:
mkDerivation {
pname = "BiobaseTypes";
- version = "0.2.0.0";
- sha256 = "16irdkcrih8b1mnjmnzq1bz2hbn02ayzhsmx97fqvy9py21mvrgv";
+ version = "0.2.0.1";
+ sha256 = "1ygyq169dcz1bswppljkskvqamvvs61n8fwyyplyf4348i1v938i";
libraryHaskellDepends = [
aeson attoparsec base bimaps binary bytestring cereal cereal-text
cereal-vector containers data-default deepseq ForestStructures
hashable intern lens mtl primitive PrimitiveArray QuickCheck
- SciBaseTypes string-conversions text text-binary utf8-string vector
- vector-binary-instances vector-th-unbox
+ SciBaseTypes streaming string-conversions text text-binary
+ utf8-string vector vector-binary-instances vector-th-unbox
];
testHaskellDepends = [
- base bytestring lens QuickCheck tasty tasty-quickcheck tasty-th
+ aeson attoparsec base bimaps binary bytestring cereal cereal-text
+ cereal-vector containers data-default deepseq ForestStructures
+ hashable intern lens mtl primitive PrimitiveArray QuickCheck
+ SciBaseTypes streaming string-conversions tasty tasty-quickcheck
+ tasty-th text text-binary utf8-string vector
+ vector-binary-instances vector-th-unbox
];
description = "Collection of types for bioinformatics";
license = stdenv.lib.licenses.bsd3;
@@ -1832,32 +1844,43 @@ self: {
"BiobaseXNA" = callPackage
({ mkDerivation, aeson, attoparsec, base, bimaps, binary
- , BiobaseTypes, bytes, bytestring, cereal, cereal-vector, cmdargs
- , containers, csv, deepseq, file-embed, ForestStructures, hashable
- , lens, mtl, primitive, PrimitiveArray, QuickCheck, split, tasty
- , tasty-quickcheck, tasty-th, text, tuple, vector
- , vector-binary-instances, vector-th-unbox
+ , BiobaseENA, BiobaseTypes, bytes, bytestring, cereal
+ , cereal-vector, cmdargs, containers, csv, data-default, deepseq
+ , file-embed, ForestStructures, hashable, lens, mtl, primitive
+ , PrimitiveArray, QuickCheck, split, tasty, tasty-quickcheck
+ , tasty-th, text, tuple, vector, vector-binary-instances
+ , vector-th-unbox
}:
mkDerivation {
pname = "BiobaseXNA";
- version = "0.10.0.0";
- sha256 = "0ah8qzr3wv4x1khh970isbrdn2fabsa7f9v92wif7ls798hw5abz";
+ version = "0.11.0.0";
+ sha256 = "1yrq14mv5bbw6drlpk2cf6incdg2wqw3i0zgdd0vpfmxbwr3wjl4";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- aeson attoparsec base bimaps binary BiobaseTypes bytes bytestring
- cereal cereal-vector containers csv deepseq file-embed
- ForestStructures hashable lens mtl primitive PrimitiveArray
- QuickCheck split text tuple vector vector-binary-instances
- vector-th-unbox
+ aeson attoparsec base bimaps binary BiobaseENA BiobaseTypes bytes
+ bytestring cereal cereal-vector containers csv data-default deepseq
+ file-embed ForestStructures hashable lens mtl primitive
+ PrimitiveArray QuickCheck split text tuple vector
+ vector-binary-instances vector-th-unbox
+ ];
+ executableHaskellDepends = [
+ aeson attoparsec base bimaps binary BiobaseENA BiobaseTypes bytes
+ bytestring cereal cereal-vector cmdargs containers csv data-default
+ deepseq file-embed ForestStructures hashable lens mtl primitive
+ PrimitiveArray QuickCheck split text tuple vector
+ vector-binary-instances vector-th-unbox
];
- executableHaskellDepends = [ base cmdargs ];
testHaskellDepends = [
- base QuickCheck tasty tasty-quickcheck tasty-th vector
+ aeson attoparsec base bimaps binary BiobaseENA BiobaseTypes bytes
+ bytestring cereal cereal-vector containers csv data-default deepseq
+ file-embed ForestStructures hashable lens mtl primitive
+ PrimitiveArray QuickCheck split tasty tasty-quickcheck tasty-th
+ text tuple vector vector-binary-instances vector-th-unbox
];
description = "Efficient RNA/DNA/Protein Primary/Secondary Structure";
- license = stdenv.lib.licenses.gpl3;
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -1925,17 +1948,17 @@ self: {
}) {};
"BlastHTTP" = callPackage
- ({ mkDerivation, base, BiobaseBlast, biocore, biofasta, blastxml
- , bytestring, conduit, either-unwrap, HTTP, http-conduit, hxt, mtl
- , network, transformers
+ ({ mkDerivation, base, BiobaseBlast, BiobaseFasta, bytestring
+ , conduit, either-unwrap, HTTP, http-conduit, hxt, mtl, network
+ , transformers, zip-archive
}:
mkDerivation {
pname = "BlastHTTP";
- version = "1.3.0";
- sha256 = "1hlb6mmhcb7ijpd3xbsq2piw817k9pk09w4lgq1cgfgs1r6f3vdh";
+ version = "1.4.1";
+ sha256 = "1h7bj9a6qfzwlclr39dvbcz4r8l8s7n53z6ir8wff5ssq2wvq4qd";
libraryHaskellDepends = [
- base BiobaseBlast biocore biofasta blastxml bytestring conduit
- either-unwrap HTTP http-conduit hxt mtl network transformers
+ base BiobaseBlast BiobaseFasta bytestring conduit either-unwrap
+ HTTP http-conduit hxt mtl network transformers zip-archive
];
description = "Libary to interface with the NCBI blast REST interface";
license = stdenv.lib.licenses.gpl3;
@@ -1988,6 +2011,8 @@ self: {
executableHaskellDepends = [ base cmdargs ];
description = "A tool for posting Haskelly articles to blogs";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"BlogLiterately-diagrams" = callPackage
@@ -2616,8 +2641,8 @@ self: {
pname = "Cabal";
version = "2.4.1.0";
sha256 = "151mrrd9sskghvlwmj32da5gafwqj6sv9xz9fmp84b7vm4nr0skk";
- revision = "1";
- editedCabalFile = "1dvs2i0kfk8rji9wbrv7y0iydbif9jzg4c7rmaa6lxg8hp7mij2n";
+ revision = "2";
+ editedCabalFile = "04kg5xh8yabmp1ymk32gw2r66l76338rsglq8i4j2913bhq23vwa";
setupHaskellDepends = [ mtl parsec ];
libraryHaskellDepends = [
array base binary bytestring containers deepseq directory filepath
@@ -2635,6 +2660,35 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "Cabal_3_0_0_0" = callPackage
+ ({ mkDerivation, array, base, base-compat, base-orphans, binary
+ , bytestring, containers, deepseq, Diff, directory, filepath
+ , integer-logarithms, mtl, optparse-applicative, parsec, pretty
+ , process, QuickCheck, stm, tagged, tar, tasty, tasty-golden
+ , tasty-hunit, tasty-quickcheck, temporary, text, time
+ , transformers, tree-diff, unix
+ }:
+ mkDerivation {
+ pname = "Cabal";
+ version = "3.0.0.0";
+ sha256 = "11yjd0cmqngi1yr7v0dr55n59rq78kk6121sr44abha0swkfqhsi";
+ setupHaskellDepends = [ mtl parsec ];
+ libraryHaskellDepends = [
+ array base binary bytestring containers deepseq directory filepath
+ mtl parsec pretty process text time transformers unix
+ ];
+ testHaskellDepends = [
+ array base base-compat base-orphans binary bytestring containers
+ deepseq Diff directory filepath integer-logarithms
+ optparse-applicative pretty process QuickCheck stm tagged tar tasty
+ tasty-golden tasty-hunit tasty-quickcheck temporary text tree-diff
+ ];
+ doCheck = false;
+ description = "A framework for packaging Haskell software";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"Cabal-ide-backend" = callPackage
({ mkDerivation, array, base, binary, bytestring, Cabal, containers
, deepseq, directory, extensible-exceptions, filepath, HUnit
@@ -2821,14 +2875,14 @@ self: {
pname = "Chart";
version = "1.9.1";
sha256 = "1pn735k9ifxlb9mdh8xy7wi22cxni8xyr28n8zx9w0j6vprcg89l";
+ revision = "1";
+ editedCabalFile = "1v7qip375kzn9k9k0c79jj55xigi05s5dl318smqazjdlyj55q55";
libraryHaskellDepends = [
array base colour data-default-class lens mtl old-locale
operational time vector
];
description = "A library for generating 2D Charts and Plots";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"Chart-cairo" = callPackage
@@ -2839,14 +2893,14 @@ self: {
pname = "Chart-cairo";
version = "1.9.1";
sha256 = "0hknj4rsjf2m8p5pyq5zff8ai7v80yvmxb5c6n0bkgxs4317nbl9";
+ revision = "1";
+ editedCabalFile = "1c1m0vk4rnx3myv43kag17nf1j1w9kjc226jpf1f86gkcd35lq45";
libraryHaskellDepends = [
array base cairo Chart colour data-default-class lens mtl
old-locale operational time
];
description = "Cairo backend for Charts";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"Chart-diagrams" = callPackage
@@ -2859,6 +2913,8 @@ self: {
pname = "Chart-diagrams";
version = "1.9.2";
sha256 = "0am51ck84apijwwvpkwhnpmsr4047svzdi7g5nbf5yprsb8vzd4n";
+ revision = "1";
+ editedCabalFile = "0h57ds1j43h4knnwb75dgsgw90mz7lf8k590dkfdrgsszpb9as50";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base blaze-markup bytestring Chart colour containers
@@ -2868,8 +2924,6 @@ self: {
];
description = "Diagrams backend for Charts";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"Chart-gtk" = callPackage
@@ -2886,8 +2940,6 @@ self: {
];
description = "Utility functions for using the chart library with GTK";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"Chart-simple" = callPackage
@@ -2914,8 +2966,8 @@ self: {
}:
mkDerivation {
pname = "ChasingBottoms";
- version = "1.3.1.5";
- sha256 = "0hfk2cb9da5fvr96x8lzij93yl3rvax2id9a8gihd5j5aq4kxx30";
+ version = "1.3.1.6";
+ sha256 = "17lw2mdzrn2f4w0byfdkyd7h7pcnjzv3n3giapcjg6bza5xjqfbd";
libraryHaskellDepends = [
base containers mtl QuickCheck random syb
];
@@ -4128,6 +4180,8 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "A package for adding index column to data files";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"DataTreeView" = callPackage
@@ -4149,6 +4203,19 @@ self: {
broken = true;
}) {};
+ "DataVersion" = callPackage
+ ({ mkDerivation, base, generic-lens, hspec, microlens, QuickCheck
+ }:
+ mkDerivation {
+ pname = "DataVersion";
+ version = "0.1.0.0";
+ sha256 = "13cw7rzp510spn5ncxdqyzz66d9dnyq7s650zmpmjx2cg456zw9x";
+ libraryHaskellDepends = [ base generic-lens microlens ];
+ testHaskellDepends = [ base hspec QuickCheck ];
+ description = "Type safe data migrations";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"Deadpan-DDP" = callPackage
({ mkDerivation, aeson, base, base64-bytestring, bytestring
, containers, doctest, filemanip, hashable, haskeline, lens, mtl
@@ -4494,14 +4561,12 @@ self: {
({ mkDerivation, base, containers, MonadRandom }:
mkDerivation {
pname = "Dist";
- version = "0.4.1.0";
- sha256 = "1fmln09jai679lwpxngx8dn0yr2g5dsccvjhacl69s3hy76czd0b";
+ version = "0.5.0";
+ sha256 = "1x4yg2hhccx7mpa1fch609ibcqz2b1vmg5fiik4qimq5yw9j7g99";
libraryHaskellDepends = [ base containers MonadRandom ];
testHaskellDepends = [ base containers MonadRandom ];
description = "A Haskell library for probability distributions";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"DistanceTransform" = callPackage
@@ -4856,8 +4921,6 @@ self: {
];
description = "Auto Korean conjugator/adjustor/adopter/converter";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"Earley" = callPackage
@@ -5315,18 +5378,14 @@ self: {
}:
mkDerivation {
pname = "Euterpea";
- version = "2.0.6";
- sha256 = "0smaa34s0yz90q4qx104glyx8s93k6vn6r60m6aq9infm7rkffxw";
- revision = "1";
- editedCabalFile = "1yrr18wv22ri1v8mij4lazl5lpri7sf8bxbz7igsbs8dngmycn9r";
+ version = "2.0.7";
+ sha256 = "0kxdilxzg0dgz1684csbyfv4cifh9d92ac6pwp6dnrcwwpwskiw8";
libraryHaskellDepends = [
array arrows base bytestring containers deepseq ghc-prim HCodecs
heap PortMidi random stm
];
description = "Library for computer music research and education";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"EventSocket" = callPackage
@@ -5773,6 +5832,8 @@ self: {
];
description = "Finite totally-ordered sets";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"Finance-Quote-Yahoo" = callPackage
@@ -6169,6 +6230,8 @@ self: {
benchmarkHaskellDepends = [ base criterion pipes transformers ];
description = "Data frames For working with tabular data files";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"Frames-beam" = callPackage
@@ -6493,8 +6556,8 @@ self: {
}:
mkDerivation {
pname = "GLUT";
- version = "2.7.0.14";
- sha256 = "01i162fly4q1751fp60lgkzlb8kr0qqbvmxj74zc6skb19qggy2w";
+ version = "2.7.0.15";
+ sha256 = "0271vnf6wllhxjwy0m348x90kv27aybxcbqkkglmd5w4cpwjg5g9";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -6546,8 +6609,8 @@ self: {
}:
mkDerivation {
pname = "GPipe";
- version = "2.2.3";
- sha256 = "19bn3471h6p7a34l3ydgyvqn118f4wb6l3djldlx0cvrga6wmfkp";
+ version = "2.2.4";
+ sha256 = "0l3s3j41fwwcjdc0nymzqmdsd7wlvaqyn1lg7n1wdx65wy4iz6j0";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base Boolean containers exception-transformers gl hashtables linear
@@ -6597,8 +6660,8 @@ self: {
({ mkDerivation, async, base, containers, GLFW-b, GPipe, stm }:
mkDerivation {
pname = "GPipe-GLFW";
- version = "1.4.1.1";
- sha256 = "1sr4dxc9bkfijaxvs7s94x5yfg14pb1r49fycwmzqkcycgz87n8q";
+ version = "1.4.1.2";
+ sha256 = "0i63pxz6bvzixjgi1hbipxhrg7nykd37zii555qhss2m7x4pydak";
enableSeparateDataOutput = true;
libraryHaskellDepends = [ async base containers GLFW-b GPipe stm ];
description = "GLFW OpenGL context creation for GPipe";
@@ -6992,28 +7055,6 @@ self: {
}) {};
"Glob" = callPackage
- ({ mkDerivation, base, containers, directory, dlist, filepath
- , HUnit, QuickCheck, test-framework, test-framework-hunit
- , test-framework-quickcheck2, transformers, transformers-compat
- }:
- mkDerivation {
- pname = "Glob";
- version = "0.9.3";
- sha256 = "1s69lk3ic6zlkikhvb78ly9wl3g70a1h1m6ndhsca01pp8z8axrs";
- libraryHaskellDepends = [
- base containers directory dlist filepath transformers
- transformers-compat
- ];
- testHaskellDepends = [
- base containers directory dlist filepath HUnit QuickCheck
- test-framework test-framework-hunit test-framework-quickcheck2
- transformers transformers-compat
- ];
- description = "Globbing library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "Glob_0_10_0" = callPackage
({ mkDerivation, base, containers, directory, dlist, filepath
, HUnit, QuickCheck, test-framework, test-framework-hunit
, test-framework-quickcheck2, transformers, transformers-compat
@@ -7022,6 +7063,8 @@ self: {
pname = "Glob";
version = "0.10.0";
sha256 = "0953f91f62ncna402vsrfzdcyxhdpjna3bgdw017kad0dfymacs7";
+ revision = "1";
+ editedCabalFile = "0zfd4wimwgnmgqkz9g9jqj2dq2r50wdcqmcz6v7is1zrpwhszk5v";
libraryHaskellDepends = [
base containers directory dlist filepath transformers
transformers-compat
@@ -7033,7 +7076,6 @@ self: {
];
description = "Globbing library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"GlomeTrace" = callPackage
@@ -7828,6 +7870,24 @@ self: {
broken = true;
}) {inherit (pkgs) mpfr;};
+ "HExcel" = callPackage
+ ({ mkDerivation, base, microlens, microlens-th, time, transformers
+ , xlsxwriter, zlib
+ }:
+ mkDerivation {
+ pname = "HExcel";
+ version = "0.1.0.0";
+ sha256 = "1g761qaqijwsnwinhbk44m967myz7iz8qfz60vhh9fljv89afifg";
+ libraryHaskellDepends = [
+ base microlens microlens-th time transformers
+ ];
+ librarySystemDepends = [ xlsxwriter zlib ];
+ description = "Create Excel files with Haskell";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {xlsxwriter = null; inherit (pkgs) zlib;};
+
"HFitUI" = callPackage
({ mkDerivation, base, blaze-html, blaze-markup, MissingH, mtl
, process, random, shakespeare, template-haskell, text, uuid
@@ -8444,6 +8504,8 @@ self: {
pname = "HList";
version = "0.5.0.0";
sha256 = "16qf076p66caf3cabajbz0lgqzffqzcg0jr6lb4af18kpnpq4zqb";
+ revision = "1";
+ editedCabalFile = "0hxc725laxdz2gy18bf0rwzaxsqvl8a54v7r1ghy19q1ipp0nykx";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
array base base-orphans ghc-prim mtl profunctors semigroups tagged
@@ -9106,10 +9168,8 @@ self: {
}:
mkDerivation {
pname = "HTTP";
- version = "4000.3.13";
- sha256 = "0xb66msgr6d4vxr80a7wvwb0fwh20xfimdwakkg7x7qk4bdx6657";
- revision = "1";
- editedCabalFile = "07wn0skwbmms9g5lyzaaal6cbjffvisampv85r934cqh7kl9wkzh";
+ version = "4000.3.14";
+ sha256 = "0yv8mbjicpl7l2017c4dhm49117lblgwpy1llv368wci1vrxf0m6";
libraryHaskellDepends = [
array base bytestring mtl network network-uri parsec time
];
@@ -9439,6 +9499,8 @@ self: {
pname = "HaXml";
version = "1.25.5";
sha256 = "0d8jbiv53r3ndg76r3937idqdg34nhmb99vj087i73hjnv21mifb";
+ revision = "1";
+ editedCabalFile = "1xnni9hdvi87incm1pcx0b7jv410maww99acdfkx1cwhlb6k91ag";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -9630,8 +9692,6 @@ self: {
testHaskellDepends = [ base hspec QuickCheck ];
description = "A library for arbitrary precision decimal numbers";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"HasCacBDD" = callPackage
@@ -9640,8 +9700,8 @@ self: {
}:
mkDerivation {
pname = "HasCacBDD";
- version = "0.1.0.1";
- sha256 = "0mvhhwgz2k46d2adrrs5bhc4x2yx3zr5fwi2nnxzrjhm1ki9b8zb";
+ version = "0.1.0.2";
+ sha256 = "1yilx2pl0j4bw3c83kzc1y9wmg67r88gpahbwykff1jjr2xnrsp0";
setupHaskellDepends = [ base Cabal directory ];
libraryHaskellDepends = [ base process QuickCheck ];
librarySystemDepends = [ CacBDD ];
@@ -9773,12 +9833,16 @@ self: {
pname = "HaskellNet";
version = "0.5.1";
sha256 = "0f581izyh6bdk85i0g07xdp3fdzdfdfjiqpnl89r17vgswdd6i9j";
+ revision = "1";
+ editedCabalFile = "12p3v58jhr54yzsmqgza3rbrp19w2iq5m43g568hcx20n7zwzwjk";
libraryHaskellDepends = [
array base base64-string bytestring cryptohash mime-mail mtl
network old-time pretty text
];
description = "Client support for POP3, SMTP, and IMAP";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"HaskellNet-SSL" = callPackage
@@ -9795,6 +9859,8 @@ self: {
];
description = "Helpers to connect to SSL/TLS mail servers with HaskellNet";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"HaskellTorrent" = callPackage
@@ -10544,6 +10610,8 @@ self: {
pname = "HsYAML";
version = "0.1.2.0";
sha256 = "1pajfhj16559v64ixm8j7bvxdqmxg6c3c0z3wz7in8ckswgzfp54";
+ revision = "1";
+ editedCabalFile = "0j6qmmcz5yqh89hs2cq453maix50q61vl2h0ahj5lg02bygn42cf";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -10560,6 +10628,8 @@ self: {
pname = "HsYAML-aeson";
version = "0.1.0.0";
sha256 = "1hf1gwa89ghd4aaim6g8dx9wppp6d1y0w1xiddm1r8lpfidca1nw";
+ revision = "1";
+ editedCabalFile = "1kf35mnvc2syly35c2ffl8xxcw4h6lxv9kqirzj2in1ms19df41y";
libraryHaskellDepends = [
aeson base bytestring HsYAML mtl text vector
];
@@ -10688,6 +10758,22 @@ self: {
broken = true;
}) {};
+ "I1M" = callPackage
+ ({ mkDerivation, array, base, QuickCheck, tasty, tasty-hunit
+ , tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "I1M";
+ version = "0.0.2";
+ sha256 = "0f9pl46m05izxhychf7j8pd9rfx8bqw13735xvq602iyszng8pa4";
+ libraryHaskellDepends = [ array base QuickCheck ];
+ testHaskellDepends = [ base tasty tasty-hunit tasty-quickcheck ];
+ description = "Code for the Haskell course taught at the University of Seville";
+ license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"IDynamic" = callPackage
({ mkDerivation, base, containers, directory }:
mkDerivation {
@@ -11067,8 +11153,6 @@ self: {
libraryHaskellDepends = [ base parsec ];
description = "Parse JSON";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"JSONb" = callPackage
@@ -11256,10 +11340,8 @@ self: {
}:
mkDerivation {
pname = "JuicyPixels";
- version = "3.3.3";
- sha256 = "1i5k81nfgibbmf5f70iicbh8rqbng61r926wcf9hwy2aa2vba11c";
- revision = "2";
- editedCabalFile = "1vvbvvkpm4vlh0v8d8irzipd5yg1rrd5xdfcm2yibn1h0iqpzdi4";
+ version = "3.3.3.1";
+ sha256 = "1zwp78zk4ybaqg57njhww67x3bb75h1i3rdliz40q4p4050gn6mf";
libraryHaskellDepends = [
base binary bytestring containers deepseq mtl primitive
transformers vector zlib
@@ -11289,6 +11371,8 @@ self: {
];
description = "BLP format decoder/encoder over JuicyPixels library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"JuicyPixels-canvas" = callPackage
@@ -11341,8 +11425,8 @@ self: {
pname = "JuicyPixels-scale-dct";
version = "0.1.2";
sha256 = "04rhrmjnh12hh2nz04k245avgdcwqfyjnsbpcrz8j9328j41nf7p";
- revision = "2";
- editedCabalFile = "0pp67ygrd3m6q8ry5229m1b2rhy401gb74368h09bqc6wa3g7ygv";
+ revision = "4";
+ editedCabalFile = "0r6v9iv7fkslznn6fw2132j1gpxk9dyccdg8r5qj2vvsrbp0dpjf";
libraryHaskellDepends = [
base base-compat carray fft JuicyPixels
];
@@ -11713,8 +11797,8 @@ self: {
({ mkDerivation, base, containers }:
mkDerivation {
pname = "LParse";
- version = "0.3.0.0";
- sha256 = "0nl76ycq608p2wm61pqn64wmq5aqmnwc9p8k4mvx8zwqw06jqlmm";
+ version = "0.3.1.0";
+ sha256 = "1fw5s0688d5x2i2qarac2r96pj13b2fhla0212fzwlsgpbmg7g8z";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [ base ];
description = "A continuation-based parser library";
@@ -11795,48 +11879,6 @@ self: {
}) {};
"LambdaHack" = callPackage
- ({ mkDerivation, assert-failure, async, base, base-compat, binary
- , bytestring, containers, deepseq, directory, enummapset, filepath
- , ghc-prim, hashable, hsini, keys, miniutter, optparse-applicative
- , pretty-show, random, sdl2, sdl2-ttf, stm, template-haskell, text
- , time, transformers, unordered-containers, vector
- , vector-binary-instances, zlib
- }:
- mkDerivation {
- pname = "LambdaHack";
- version = "0.8.3.0";
- sha256 = "0v07c8v7l8yg111fysl735scsbsl9l6q3vzigy7rv05sjfl276ss";
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- assert-failure async base base-compat binary bytestring containers
- deepseq directory enummapset filepath ghc-prim hashable hsini keys
- miniutter optparse-applicative pretty-show random sdl2 sdl2-ttf stm
- text time transformers unordered-containers vector
- vector-binary-instances zlib
- ];
- executableHaskellDepends = [
- assert-failure async base base-compat binary bytestring containers
- deepseq directory enummapset filepath ghc-prim hashable hsini keys
- miniutter optparse-applicative pretty-show random stm
- template-haskell text time transformers unordered-containers vector
- vector-binary-instances zlib
- ];
- testHaskellDepends = [
- assert-failure async base base-compat binary bytestring containers
- deepseq directory enummapset filepath ghc-prim hashable hsini keys
- miniutter optparse-applicative pretty-show random stm
- template-haskell text time transformers unordered-containers vector
- vector-binary-instances zlib
- ];
- description = "A game engine library for tactical squad ASCII roguelike dungeon crawlers";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "LambdaHack_0_9_5_0" = callPackage
({ mkDerivation, assert-failure, async, base, base-compat, binary
, bytestring, containers, deepseq, directory, enummapset, filepath
, ghc-compact, ghc-prim, hashable, hsini, keys, miniutter
@@ -12668,24 +12710,20 @@ self: {
}) {};
"Map" = callPackage
- ({ mkDerivation, base, containers, either-both, filtrable, map
+ ({ mkDerivation, base, containers, either-both, filtrable
, smallcheck, tasty, tasty-smallcheck, util
}:
mkDerivation {
pname = "Map";
- version = "0.0.0.0";
- sha256 = "1w79zzlzh3ivrqznvcrg5kgaizzs838y7hd52nvxn5v7lax5y3wz";
+ version = "0.1.1.0";
+ sha256 = "0x5sy115f5yx580g8pl8jkjwzd0ih2n4fbvh5f5ch2i749l4dyq1";
libraryHaskellDepends = [
base containers either-both filtrable util
];
- testHaskellDepends = [
- base map smallcheck tasty tasty-smallcheck
- ];
+ testHaskellDepends = [ base smallcheck tasty tasty-smallcheck ];
description = "Class of key-value maps";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {map = null;};
+ }) {};
"Mapping" = callPackage
({ mkDerivation, base }:
@@ -13269,17 +13307,17 @@ self: {
}) {};
"Monadoro" = callPackage
- ({ mkDerivation, ansi-terminal, base, process, time }:
+ ({ mkDerivation, ansi-terminal, base, doctest, time }:
mkDerivation {
pname = "Monadoro";
- version = "0.1.2.0";
- sha256 = "1bqaiarr5gv42xl8fww67iryyh1mscwdkgcahdc988y19ag8a4j9";
+ version = "0.2.1.5";
+ sha256 = "1k4f7ks0cbyqz2g6y5kdzrlbx2j3xz7mrvj79k2m3lbhs4hcik6l";
isLibrary = true;
isExecutable = true;
- libraryHaskellDepends = [ ansi-terminal base process time ];
- executableHaskellDepends = [ ansi-terminal base process time ];
- testHaskellDepends = [ ansi-terminal base process time ];
- description = "A minimalistic CLI Pomodoro timer, based on a library of the same purpose";
+ libraryHaskellDepends = [ ansi-terminal base time ];
+ executableHaskellDepends = [ ansi-terminal base time ];
+ testHaskellDepends = [ ansi-terminal base doctest time ];
+ description = "A minimalistic CLI Pomodoro timer";
license = stdenv.lib.licenses.mit;
}) {};
@@ -13693,6 +13731,8 @@ self: {
executableHaskellDepends = [ base hnetcdf Naperian split ];
description = "Instances of NcStore for hypercuboids";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"NaturalLanguageAlphabets" = callPackage
@@ -13924,8 +13964,6 @@ self: {
testHaskellDepends = [ base ];
description = "Remove all the functions come from Debug.Trace after debugging";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"Noise" = callPackage
@@ -14239,8 +14277,8 @@ self: {
pname = "OTP";
version = "0.1.0.0";
sha256 = "1r7vpc0bv89d70j6pc3z3vam93gahl4j0y5w8smknxwjliwqxkcb";
- revision = "1";
- editedCabalFile = "1bcp6mixf0yxn6qmql3zhyshpa55mkrfnxdb1ma6gvbs7h28lnin";
+ revision = "2";
+ editedCabalFile = "012yi2pvjjlk6vri5zj8a7pipscsfc6rgkw7s5qldqmvvwvrk64s";
libraryHaskellDepends = [
base bytestring cryptohash-sha1 cryptohash-sha256 cryptohash-sha512
time
@@ -14405,8 +14443,8 @@ self: {
pname = "OneTuple";
version = "0.2.2";
sha256 = "1p14cvjk3rgfc0xxcn7ffaajd2ii1ljnlayil2yyzgdwhlj70bnq";
- revision = "1";
- editedCabalFile = "07jd23glblzmnlw7sn565sk9gm7vj9h459j46bkbcrrxnp0n0myq";
+ revision = "3";
+ editedCabalFile = "0m3a9fj2h0v529q3i1kq1jfbdj68wxsmhq65hgx2rwjpgb8cqf0z";
libraryHaskellDepends = [ base ];
description = "Singleton Tuple";
license = stdenv.lib.licenses.bsd3;
@@ -14471,8 +14509,8 @@ self: {
}:
mkDerivation {
pname = "OpenAL";
- version = "1.7.0.4";
- sha256 = "067in6qb2i0xwy6bnkxfhzbn7gq88cf03p8421al6y23zv2gd29r";
+ version = "1.7.0.5";
+ sha256 = "167qgbls1439wbckva281cf61bclkca0krbbi4451l7qjinm8fil";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -14533,6 +14571,8 @@ self: {
pname = "OpenGL";
version = "3.0.3.0";
sha256 = "069fg8jcxqq2z9iikynd8vi3jxm2b5y3qywdh4bdviyzab3zy1as";
+ revision = "1";
+ editedCabalFile = "1748mrb6r9mpf5jbrx436lwbg8w6dadyy8dhxw2dwnrj5z7zf741";
libraryHaskellDepends = [
base bytestring containers GLURaw ObjectName OpenGLRaw StateVar
text transformers
@@ -14562,8 +14602,8 @@ self: {
}:
mkDerivation {
pname = "OpenGLRaw";
- version = "3.3.2.0";
- sha256 = "1qy41qpqmksvgy7j73b46ksvm00mh6amgy9n9wkal4czkaj26kpj";
+ version = "3.3.3.0";
+ sha256 = "0zgllb4bcash2i2cispa3j565aw3dpxs41ghmhpvyvi4a6xmyldx";
libraryHaskellDepends = [
base bytestring containers fixed half text transformers
];
@@ -14700,15 +14740,15 @@ self: {
}:
mkDerivation {
pname = "OrderedBits";
- version = "0.0.1.2";
- sha256 = "1xax6wldwqlgidpbp35wzskxaqj0k2c5y248qmafl8jqvbg5z18l";
+ version = "0.0.2.0";
+ sha256 = "1kfb7z5xbzgn1aj8kpij4ry5i4v3v5h55pp3g6qzvgayn25xqc05";
libraryHaskellDepends = [
base bits primitive vector vector-algorithms
];
testHaskellDepends = [
base QuickCheck tasty tasty-quickcheck tasty-th vector
];
- benchmarkHaskellDepends = [ base criterion vector ];
+ benchmarkHaskellDepends = [ base criterion ];
description = "Efficient ordered (by popcount) enumeration of bits";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -15251,12 +15291,15 @@ self: {
}:
mkDerivation {
pname = "Persistence";
- version = "1.1.4.2";
- sha256 = "0lvzzcmsmpmsj63ysf3ad6a2v14cf61daz767fxkcf7b7cl50cjp";
+ version = "2.0.3";
+ sha256 = "19zzggnzdfdvvp0svixpdrnxpjn5h4wgpi01vkjydczq4630aiaa";
libraryHaskellDepends = [
base containers maximal-cliques parallel vector
];
- description = "Quickly detect clusters and holes in data";
+ testHaskellDepends = [
+ base containers maximal-cliques parallel vector
+ ];
+ description = "A versatile library for topological data analysis";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -15467,6 +15510,8 @@ self: {
pname = "Prelude";
version = "0.1.0.1";
sha256 = "14p4jkhzdh618r7gvj6dd4w1zj4b032g4nx43bihnnaf2dqyppy6";
+ revision = "1";
+ editedCabalFile = "14z8gv75jnvykk5naqcqqrdcx7160kzd3gnfdvx6rw4nqzsi6hw1";
libraryHaskellDepends = [ base ];
description = "A Prelude module replacement";
license = stdenv.lib.licenses.bsd3;
@@ -15474,20 +15519,20 @@ self: {
"PrimitiveArray" = callPackage
({ mkDerivation, aeson, base, binary, bits, cereal, cereal-vector
- , containers, deepseq, DPutils, hashable, lens, log-domain, mtl
- , OrderedBits, primitive, QuickCheck, smallcheck, tasty
- , tasty-quickcheck, tasty-smallcheck, tasty-th, text, vector
+ , containers, criterion, deepseq, DPutils, hashable, lens
+ , log-domain, mtl, OrderedBits, primitive, QuickCheck, smallcheck
+ , tasty, tasty-quickcheck, tasty-smallcheck, tasty-th, text, vector
, vector-binary-instances, vector-th-unbox
}:
mkDerivation {
pname = "PrimitiveArray";
- version = "0.9.1.0";
- sha256 = "1kz3jvq4bc7hap7633a87nbgp9gi081qnnhmld26j8rj7wdzkrbp";
+ version = "0.10.0.0";
+ sha256 = "0g9shj3zqk8rdp905di9i5g5bhga5msc7cs609fk3nkjm16ms0vi";
libraryHaskellDepends = [
aeson base binary bits cereal cereal-vector containers deepseq
DPutils hashable lens log-domain mtl OrderedBits primitive
- QuickCheck smallcheck tasty tasty-quickcheck tasty-smallcheck
- tasty-th text vector vector-binary-instances vector-th-unbox
+ QuickCheck smallcheck text vector vector-binary-instances
+ vector-th-unbox
];
testHaskellDepends = [
aeson base binary bits cereal cereal-vector containers deepseq
@@ -15495,6 +15540,12 @@ self: {
QuickCheck smallcheck tasty tasty-quickcheck tasty-smallcheck
tasty-th text vector vector-binary-instances vector-th-unbox
];
+ benchmarkHaskellDepends = [
+ aeson base binary bits cereal cereal-vector containers criterion
+ deepseq DPutils hashable lens log-domain mtl OrderedBits primitive
+ QuickCheck smallcheck text vector vector-binary-instances
+ vector-th-unbox
+ ];
description = "Efficient multidimensional arrays";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -15707,25 +15758,28 @@ self: {
}) {};
"PyF" = callPackage
- ({ mkDerivation, base, containers, deepseq, directory, filepath
- , hashable, haskell-src-exts, haskell-src-meta, hspec, HUnit
- , megaparsec, process, python3, template-haskell, temporary, text
+ ({ mkDerivation, base, bytestring, containers, deepseq, directory
+ , filepath, hashable, haskell-src-exts, haskell-src-meta, hspec
+ , HUnit, megaparsec, mtl, process, python3, template-haskell
+ , temporary, text
}:
mkDerivation {
pname = "PyF";
- version = "0.7.3.0";
- sha256 = "17asilwlq7c8kj5jk0gm0pkfr2m65pgdspgx8hl0hwlp1wsg74yl";
+ version = "0.8.1.0";
+ sha256 = "10zmw6ircqq53jvkmpqdf7sqf1pgc85m4w2k981jwbhpc3dycgrb";
libraryHaskellDepends = [
- base containers haskell-src-exts haskell-src-meta megaparsec
+ base containers haskell-src-exts haskell-src-meta megaparsec mtl
template-haskell text
];
testHaskellDepends = [
- base deepseq directory filepath hashable hspec HUnit process
- template-haskell temporary text
+ base bytestring deepseq directory filepath hashable hspec HUnit
+ process template-haskell temporary text
];
testToolDepends = [ python3 ];
description = "Quasiquotations for a python like interpolated string formater";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {inherit (pkgs) python3;};
"QIO" = callPackage
@@ -15849,34 +15903,13 @@ self: {
}) {};
"QuickCheck" = callPackage
- ({ mkDerivation, base, containers, deepseq, erf, process, random
- , template-haskell, tf-random, transformers
- }:
- mkDerivation {
- pname = "QuickCheck";
- version = "2.12.6.1";
- sha256 = "0w51zbbvh46g3wllqfmx251xzbnddy94ixgm6rf8gd95qvssfahb";
- revision = "3";
- editedCabalFile = "1cxsn5y6mnzqp681fcghjiqk47bq8mnkvcfc5c8c7yvl258lz5yf";
- libraryHaskellDepends = [
- base containers deepseq erf random template-haskell tf-random
- transformers
- ];
- testHaskellDepends = [ base deepseq process ];
- description = "Automatic testing of Haskell programs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "QuickCheck_2_13_1" = callPackage
({ mkDerivation, base, containers, deepseq, process, random
, splitmix, template-haskell, transformers
}:
mkDerivation {
pname = "QuickCheck";
- version = "2.13.1";
- sha256 = "1inri6n4rr7v7wrmajikcqmbjh77lvf9m4fw2ib6szdgwyb3lim6";
- revision = "2";
- editedCabalFile = "061d4nf7n75rri0mzz5k50d8v5ja4a6w43fmm990z07vgxm5rj5n";
+ version = "2.13.2";
+ sha256 = "0426j43af8v3qmdjjqxivazsvr3a2brac8yw09vpgpjkb2m0nmkv";
libraryHaskellDepends = [
base containers deepseq random splitmix template-haskell
transformers
@@ -15884,7 +15917,6 @@ self: {
testHaskellDepends = [ base deepseq process ];
description = "Automatic testing of Haskell programs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"QuickCheck-GenT" = callPackage
@@ -16071,6 +16103,8 @@ self: {
testHaskellDepends = [ base binary bytestring hspec ];
description = "RLP serialization as defined in Ethereum Yellow Paper";
license = stdenv.lib.licenses.lgpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"RMP" = callPackage
@@ -16189,32 +16223,32 @@ self: {
}) {};
"RNAlien" = callPackage
- ({ mkDerivation, aeson, base, biocore, biofasta, BlastHTTP
- , blastxml, bytestring, cassava, ClustalParser, cmdargs, containers
- , directory, edit-distance, either-unwrap, EntrezHTTP, filepath
- , hierarchical-clustering, HTTP, http-conduit, http-types, hxt
- , matrix, network, parsec, process, pureMD5, random, split
- , Taxonomy, text, text-metrics, time, transformers, vector
- , ViennaRNAParser
+ ({ mkDerivation, aeson, base, BiobaseBlast, BiobaseFasta
+ , BiobaseHTTP, BiobaseTypes, BlastHTTP, bytestring, cassava
+ , ClustalParser, cmdargs, containers, directory, edit-distance
+ , either-unwrap, filepath, hierarchical-clustering, HTTP
+ , http-conduit, http-types, hxt, matrix, network, parsec, process
+ , pureMD5, random, silently, split, Taxonomy, text, text-metrics
+ , time, transformers, vector, ViennaRNAParser
}:
mkDerivation {
pname = "RNAlien";
- version = "1.3.7";
- sha256 = "19a8hb92jvklnfw38xpzdxvh7d9jyrak2nhmxrl9bkgfha4jfm6y";
+ version = "1.7.0";
+ sha256 = "1yqf2i1q5s65i968ha4lhnn0njmgapb30sxwdq5rpf7wbw2f29by";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base biocore biofasta BlastHTTP blastxml bytestring cassava
- ClustalParser cmdargs containers directory edit-distance
- either-unwrap EntrezHTTP filepath hierarchical-clustering HTTP
- http-conduit http-types hxt matrix network parsec process pureMD5
- random Taxonomy text text-metrics transformers vector
- ViennaRNAParser
+ aeson base BiobaseBlast BiobaseFasta BiobaseHTTP BiobaseTypes
+ BlastHTTP bytestring cassava ClustalParser cmdargs containers
+ directory edit-distance either-unwrap filepath
+ hierarchical-clustering HTTP http-conduit http-types hxt matrix
+ network parsec process pureMD5 random silently Taxonomy text
+ text-metrics transformers vector ViennaRNAParser
];
executableHaskellDepends = [
- base biocore biofasta bytestring cassava cmdargs containers
- directory either-unwrap filepath process random split text time
- vector ViennaRNAParser
+ base BiobaseFasta BiobaseTypes bytestring cassava cmdargs
+ containers directory either-unwrap filepath process random split
+ text time vector ViennaRNAParser
];
description = "Unsupervized construction of RNA family models";
license = stdenv.lib.licenses.gpl3;
@@ -16265,16 +16299,39 @@ self: {
}) {};
"RSolve" = callPackage
- ({ mkDerivation, base, containers }:
+ ({ mkDerivation, base, containers, lens, mtl }:
mkDerivation {
pname = "RSolve";
- version = "0.1.0.1";
- sha256 = "1qqcn87hmya2cl8d4b312y4j4s099czsw5qgqcwh1gc261ppkxvm";
- libraryHaskellDepends = [ base containers ];
- description = "A general solver for equations";
+ version = "2.0.0.0";
+ sha256 = "0rcbdxn9n2fimqxmprcfgq5c48y69wfjy5ny3acr5ln8ppcinmq8";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base containers lens mtl ];
+ executableHaskellDepends = [ base containers lens mtl ];
+ testHaskellDepends = [ base containers lens mtl ];
license = stdenv.lib.licenses.mit;
}) {};
+ "RabbitMQ" = callPackage
+ ({ mkDerivation, array, base, binary, bytestring, clock, containers
+ , HsOpenSSL, io-streams, monad-control, network, network-uri
+ , openssl-streams, split, stm, text, vector
+ }:
+ mkDerivation {
+ pname = "RabbitMQ";
+ version = "0.1.0.0";
+ sha256 = "14rxwsxxqhj91alcnvvp6949ig0ifnls9x2mgnd1jmknqz7pwvrs";
+ revision = "1";
+ editedCabalFile = "17ypl1n9f1nyc1axdmmfgb188d0ml7i3sqgmbka1k4l0p2ik9qpp";
+ libraryHaskellDepends = [
+ array base binary bytestring clock containers HsOpenSSL io-streams
+ monad-control network network-uri openssl-streams split stm text
+ vector
+ ];
+ description = "AMQP 0-9-1 client library for RabbitMQ servers";
+ license = "BSD-3-Clause AND GPL-3.0-or-later";
+ }) {};
+
"Raincat" = callPackage
({ mkDerivation, base, containers, extensible-exceptions, GLUT, mtl
, OpenGL, random, sdl2, sdl2-image, sdl2-mixer, time
@@ -16359,6 +16416,8 @@ self: {
pname = "Ranged-sets";
version = "0.4.0";
sha256 = "1skd2a6yw7dd5vq8x81kwh28gi8sgyzg9qqqyadxmgpvy11sh9ab";
+ revision = "2";
+ editedCabalFile = "1dl69wa509yn2jvl0d4c5c036swq22i6nd73kqn0bp7vhbj4rfq4";
libraryHaskellDepends = [ base HUnit QuickCheck ];
testHaskellDepends = [ base HUnit QuickCheck ];
description = "Ranged sets for Haskell";
@@ -16412,8 +16471,8 @@ self: {
}:
mkDerivation {
pname = "Rasterific";
- version = "0.7.4.2";
- sha256 = "1sg63cvcb64gbrxkn5pgs1nvvb1c9qfya7xxwn5daqpjgan426w1";
+ version = "0.7.4.4";
+ sha256 = "1s8d0yyh2xz8kb9476nr11jzxvgq0y9sgspgzhh9shf44fbz4gs0";
libraryHaskellDepends = [
base bytestring containers dlist FontyFruity free JuicyPixels mtl
primitive transformers vector vector-algorithms
@@ -16660,6 +16719,26 @@ self: {
broken = true;
}) {};
+ "S3" = callPackage
+ ({ mkDerivation, base, base-encoding, bytestring, cryptohash-md5
+ , cryptohash-sha1, cryptohash-sha256, deepseq, hashable
+ , http-io-streams, io-streams, Prelude, text, text-short, time, X
+ }:
+ mkDerivation {
+ pname = "S3";
+ version = "0.1.0.0";
+ sha256 = "0z59h36qnb1vvshqik3f1ai3a3frnmzzxdcmkbbh3x6flnih7r0a";
+ revision = "1";
+ editedCabalFile = "115432ww5hm6nv82rib363sx38f7vm0kl0xd5qc2dpfn1jljr0g7";
+ libraryHaskellDepends = [
+ base base-encoding bytestring cryptohash-md5 cryptohash-sha1
+ cryptohash-sha256 deepseq hashable http-io-streams io-streams
+ Prelude text text-short time X
+ ];
+ description = "Library for accessing S3 compatible storage services";
+ license = stdenv.lib.licenses.gpl3Plus;
+ }) {};
+
"SBench" = callPackage
({ mkDerivation, base, bytestring, cassava, criterion, deepseq
, directory, filepath, gnuplot, hp2any-core, parsec, process
@@ -17009,13 +17088,11 @@ self: {
({ mkDerivation, attoparsec, base, bytestring, cereal, text }:
mkDerivation {
pname = "STL";
- version = "0.3.0.4";
- sha256 = "0nms0gbyjzgb6ldhqgzfbpn150dv0ig40df1fgkqmhl0mbg4r2r9";
+ version = "0.3.0.6";
+ sha256 = "18bz9qxsl7lq3j18ilczi175j3djwlpckzj5a65l4dj7d1sw1c35";
libraryHaskellDepends = [ attoparsec base bytestring cereal text ];
description = "STL 3D geometry format parsing and pretty-printing";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"STLinkUSB" = callPackage
@@ -17061,15 +17138,17 @@ self: {
}) {};
"STMonadTrans" = callPackage
- ({ mkDerivation, array, base, Cabal, mtl }:
+ ({ mkDerivation, array, base, mtl, tasty, tasty-hunit
+ , tasty-quickcheck, transformers
+ }:
mkDerivation {
pname = "STMonadTrans";
- version = "0.4.3";
- sha256 = "1nr26fnmi5fdjc6d00w13kjhmfyvb5b837d0006w4dj0yxndaksp";
- revision = "1";
- editedCabalFile = "09kqrv9a4yhsdpix49h9qjw0j2fhxrgkjnfrnyxg1nspmqrvl50m";
+ version = "0.4.4";
+ sha256 = "00vih8xi5jf4jc4h6i9jwxb29w40gx8lakcg3fc1900b0r02ms0s";
libraryHaskellDepends = [ array base mtl ];
- testHaskellDepends = [ array base Cabal mtl ];
+ testHaskellDepends = [
+ base tasty tasty-hunit tasty-quickcheck transformers
+ ];
description = "A monad transformer version of the ST monad";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -17264,31 +17343,50 @@ self: {
];
description = "Base types and classes for statistics, sciences and humanities";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "SciFlow" = callPackage
+ ({ mkDerivation, base, binary, bytestring, constraints
+ , cryptohash-sha256, distributed-process
+ , distributed-process-monad-control, exceptions, hashable
+ , lifted-async, memory, monad-control, mtl, network-transport
+ , network-transport-tcp, rainbow, sqlite-simple, stm
+ , template-haskell, text, th-lift-instances, time
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "SciFlow";
+ version = "0.7.0";
+ sha256 = "1fm94yr872dg21j6pc0rxs5qvq7i72yn4338bhn73d1sv95c29ir";
+ libraryHaskellDepends = [
+ base binary bytestring constraints cryptohash-sha256
+ distributed-process distributed-process-monad-control exceptions
+ hashable lifted-async memory monad-control mtl network-transport
+ network-transport-tcp rainbow sqlite-simple stm template-haskell
+ text th-lift-instances time unordered-containers
+ ];
+ description = "Scientific workflow management system";
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
- "SciFlow" = callPackage
- ({ mkDerivation, aeson, base, bytestring, cereal, cereal-text
- , containers, data-default-class, directory, exceptions
- , executable-path, fgl, graphviz, lens, lifted-async, mtl, network
- , optparse-applicative, rainbow, split, sqlite-simple
- , template-haskell, temporary, text, th-lift, th-lift-instances
- , time, transformers, yaml
+ "SciFlow-drmaa" = callPackage
+ ({ mkDerivation, base, distributed-process, drmaa, hostname
+ , network-transport-tcp, random, SciFlow, stm, unordered-containers
}:
mkDerivation {
- pname = "SciFlow";
- version = "0.6.2";
- sha256 = "1d5qw79809v7q2dvyz7h857lhdbahcj8915pz0bz95nmknbjc50f";
+ pname = "SciFlow-drmaa";
+ version = "0.1.0";
+ sha256 = "08lgdm7nlqapz54ixaf7z319laqiknk3vhhhljbch093vb0925bv";
libraryHaskellDepends = [
- aeson base bytestring cereal cereal-text containers
- data-default-class directory exceptions executable-path fgl
- graphviz lens lifted-async mtl network optparse-applicative rainbow
- split sqlite-simple template-haskell temporary text th-lift
- th-lift-instances time transformers yaml
+ base distributed-process drmaa hostname network-transport-tcp
+ random SciFlow stm unordered-containers
];
description = "Scientific workflow management system";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ScratchFs" = callPackage
@@ -17447,27 +17545,28 @@ self: {
}) {};
"ShellCheck" = callPackage
- ({ mkDerivation, aeson, base, bytestring, Cabal, containers
- , directory, mtl, parsec, process, QuickCheck, regex-tdfa
+ ({ mkDerivation, aeson, array, base, bytestring, Cabal, containers
+ , deepseq, Diff, directory, filepath, mtl, parsec, process
+ , QuickCheck, regex-tdfa
}:
mkDerivation {
pname = "ShellCheck";
- version = "0.6.0";
- sha256 = "1xkxrn1j5qvh2pxm0cnjpqqqsvwr7xy8pk31cwbh8r879nrrzrzn";
+ version = "0.7.0";
+ sha256 = "1vx895cp5k5h0680xfwj74lk97m9y627n965x6srds0gfnbkzy9s";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal process ];
libraryHaskellDepends = [
- aeson base bytestring containers directory mtl parsec process
- QuickCheck regex-tdfa
+ aeson array base bytestring containers deepseq Diff directory
+ filepath mtl parsec process QuickCheck regex-tdfa
];
executableHaskellDepends = [
- aeson base bytestring containers directory mtl parsec QuickCheck
- regex-tdfa
+ aeson array base bytestring containers deepseq Diff directory
+ filepath mtl parsec QuickCheck regex-tdfa
];
testHaskellDepends = [
- aeson base bytestring containers directory mtl parsec QuickCheck
- regex-tdfa
+ aeson array base bytestring containers deepseq Diff directory
+ filepath mtl parsec QuickCheck regex-tdfa
];
description = "Shell script analysis tool";
license = stdenv.lib.licenses.gpl3;
@@ -18217,8 +18316,8 @@ self: {
({ mkDerivation, base, stm, transformers }:
mkDerivation {
pname = "StateVar";
- version = "1.1.1.1";
- sha256 = "08r2iw0gdmfs4f6wraaq19vfmkjdbics3dbhw39y7mdjd98kcr7b";
+ version = "1.2";
+ sha256 = "12sz6zkc9j5z3lwrjvljrkfxa5vhwnir5wsarigz2f6d3w13dh5g";
libraryHaskellDepends = [ base stm transformers ];
description = "State variables";
license = stdenv.lib.licenses.bsd3;
@@ -18761,6 +18860,8 @@ self: {
];
description = "Libary for parsing, processing and vizualization of taxonomy data";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"TaxonomyTools" = callPackage
@@ -18791,12 +18892,17 @@ self: {
}:
mkDerivation {
pname = "TeX-my-math";
- version = "0.201.1.1";
- sha256 = "064ram3i1a59ypd8i3wnp7x9vbkc8zawby52676y4pfkqvddnhnm";
+ version = "0.201.2.0";
+ sha256 = "1dg06lqh2x9smq6hbcn2gyh2qll9z7v4gbd1ipvf2isdwxc201vk";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
base decimal-literals dumb-cas hashable haskell-src-meta HaTeX
template-haskell text unordered-containers vector-space void
];
+ executableHaskellDepends = [
+ base directory filepath HaTeX process text
+ ];
testHaskellDepends = [
base directory dumb-cas filepath haskell-src-meta HaTeX process
template-haskell text
@@ -19431,6 +19537,8 @@ self: {
];
description = "It provides the functionality like unix \"uniq\" utility";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"Unixutils" = callPackage
@@ -20041,6 +20149,19 @@ self: {
}) {};
"Win32" = callPackage
+ ({ mkDerivation }:
+ mkDerivation {
+ pname = "Win32";
+ version = "2.6.1.0";
+ sha256 = "1qwwznnnqnr6zqvjzwr35bkvzrvjf7v90j4qkhinzs8p0yx4b97b";
+ revision = "1";
+ editedCabalFile = "1ia6dk2fvxg3gzqdmcypdka6fcnnrza23hq1rhslj53jy3qzs3kn";
+ description = "A binding to part of the Win32 library";
+ license = stdenv.lib.licenses.bsd3;
+ platforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "Win32_2_8_3_0" = callPackage
({ mkDerivation }:
mkDerivation {
pname = "Win32";
@@ -20330,6 +20451,21 @@ self: {
broken = true;
}) {};
+ "X" = callPackage
+ ({ mkDerivation, base, bytestring, deepseq, text, text-short }:
+ mkDerivation {
+ pname = "X";
+ version = "0.3.0.0";
+ sha256 = "0grjiznl8j44mq3m0jkhm9z7wcr4cywrnfmk92nk3g6ddhcyakkc";
+ revision = "1";
+ editedCabalFile = "1nbp0zci2sp07cr5j5xlh7gswcnj52z9dp6akh9xk4mzk3salxwq";
+ libraryHaskellDepends = [
+ base bytestring deepseq text text-short
+ ];
+ description = "A light-weight XML library";
+ license = "BSD-3-Clause AND GPL-3.0-or-later";
+ }) {};
+
"X11" = callPackage
({ mkDerivation, base, data-default, libX11, libXext, libXinerama
, libXrandr, libXrender, libXScrnSaver
@@ -20479,8 +20615,6 @@ self: {
libraryHaskellDepends = [ base parsec ];
description = "A library to parse xml";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"XMMS" = callPackage
@@ -20882,6 +21016,8 @@ self: {
testHaskellDepends = [ base containers random tasty tasty-hunit ];
description = "Graphing library wrapper + assorted useful functions";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"Zwaluw" = callPackage
@@ -21476,8 +21612,6 @@ self: {
];
description = "Accelerate backend component generating LLVM IR";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"accelerate-llvm-native" = callPackage
@@ -22364,14 +22498,12 @@ self: {
}) {};
"acquire" = callPackage
- ({ mkDerivation, base }:
+ ({ mkDerivation, base, transformers }:
mkDerivation {
pname = "acquire";
- version = "0.2.0.1";
- sha256 = "0l6c3kdvg71z6pfjg71jgaffb403w8y8lixw4dhi7phhhb91phn2";
- revision = "1";
- editedCabalFile = "1ihmdh0dpppgshsh7mxdz6bm9kn632xxd3g6nkigpjpfrb372q7z";
- libraryHaskellDepends = [ base ];
+ version = "0.3.1";
+ sha256 = "1spw70dw8x6d9dy5wg47fim4kpsvzgr25nmwpv8c4wd8g3gmnqmw";
+ libraryHaskellDepends = [ base transformers ];
description = "Abstraction over management of resources";
license = stdenv.lib.licenses.mit;
}) {};
@@ -22395,8 +22527,8 @@ self: {
pname = "active";
version = "0.2.0.13";
sha256 = "1yw029rh0gb63bhwwjynbv173mny14is4cyjkrlvzvxwb0fi96jx";
- revision = "8";
- editedCabalFile = "1j771jblfaygc3qf8iaw9b87yrqxhkq79mdi9zyhvlr2vcac362s";
+ revision = "9";
+ editedCabalFile = "1xq08xn26v3zi3fz1y5lhb1q2xv1d413wdg4pibi98n98nc2ypxz";
libraryHaskellDepends = [
base lens linear semigroupoids semigroups vector
];
@@ -22563,8 +22695,8 @@ self: {
}:
mkDerivation {
pname = "adblock2privoxy";
- version = "2.0.0";
- sha256 = "0wd6zavym2afw7ba2h6i5snwp5gyq64q81gwwlw7y0kslv3xkaw9";
+ version = "2.0.1";
+ sha256 = "048l78mf3ccb7l0p1zg1wsvqmvpsaqwgik29xm333y7fjlcm0kq6";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -22765,26 +22897,6 @@ self: {
}) {};
"aern2-mp" = callPackage
- ({ mkDerivation, base, convertible, hspec, integer-logarithms, lens
- , mixed-types-num, QuickCheck, regex-tdfa, rounded
- , template-haskell
- }:
- mkDerivation {
- pname = "aern2-mp";
- version = "0.1.3.1";
- sha256 = "1gyicxsdqzdbhs9bss5cfjqx859iksr7z1ilsfm9077jdf2032vm";
- libraryHaskellDepends = [
- base convertible hspec integer-logarithms lens mixed-types-num
- QuickCheck regex-tdfa rounded template-haskell
- ];
- testHaskellDepends = [ base hspec QuickCheck ];
- description = "Multi-precision ball (interval) arithmetic";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "aern2-mp_0_1_4" = callPackage
({ mkDerivation, base, convertible, hspec, integer-logarithms, lens
, mixed-types-num, QuickCheck, regex-tdfa, rounded
, template-haskell
@@ -22858,57 +22970,26 @@ self: {
}) {};
"aeson" = callPackage
- ({ mkDerivation, attoparsec, base, base-compat, base-orphans
- , base16-bytestring, bytestring, containers, deepseq, directory
- , dlist, filepath, generic-deriving, ghc-prim, hashable
- , hashable-time, integer-logarithms, primitive, QuickCheck
- , quickcheck-instances, scientific, tagged, tasty, tasty-hunit
- , tasty-quickcheck, template-haskell, text, th-abstraction, time
- , time-locale-compat, unordered-containers, uuid-types, vector
- }:
- mkDerivation {
- pname = "aeson";
- version = "1.4.2.0";
- sha256 = "1l4b675nxddim3v30kd7zr3vmrs7i1m81rh8h9bfbm9k9a0p3kkm";
- revision = "1";
- editedCabalFile = "067y82gq86740j2zj4y6v7z9b5860ncg2g9lfnrpsnb9jqm7arl1";
- libraryHaskellDepends = [
- attoparsec base base-compat bytestring containers deepseq dlist
- ghc-prim hashable primitive scientific tagged template-haskell text
- th-abstraction time time-locale-compat unordered-containers
- uuid-types vector
- ];
- testHaskellDepends = [
- attoparsec base base-compat base-orphans base16-bytestring
- bytestring containers directory dlist filepath generic-deriving
- ghc-prim hashable hashable-time integer-logarithms QuickCheck
- quickcheck-instances scientific tagged tasty tasty-hunit
- tasty-quickcheck template-haskell text time time-locale-compat
- unordered-containers uuid-types vector
- ];
- description = "Fast JSON parsing and encoding";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "aeson_1_4_3_0" = callPackage
({ mkDerivation, attoparsec, base, base-compat, base-orphans
, base16-bytestring, bytestring, containers, deepseq, Diff
, directory, dlist, filepath, generic-deriving, ghc-prim, hashable
, hashable-time, integer-logarithms, primitive, QuickCheck
, quickcheck-instances, scientific, tagged, tasty, tasty-golden
, tasty-hunit, tasty-quickcheck, template-haskell, text
- , th-abstraction, time, time-locale-compat, unordered-containers
+ , th-abstraction, time, time-compat, unordered-containers
, uuid-types, vector
}:
mkDerivation {
pname = "aeson";
- version = "1.4.3.0";
- sha256 = "068caag4pfn9cmmdksv5yxblzffs0nws8vvhzk54pk99nh7sqr35";
+ version = "1.4.4.0";
+ sha256 = "0bjdgr6wjq6cci5hxb63i18yrg66p892n6xj23rih7k5rbd7rihp";
+ revision = "1";
+ editedCabalFile = "1mn7ws8v5zsm9fy9ndvb0rygchjbwnnxyyxpl63cf9lmzzffvxd6";
libraryHaskellDepends = [
attoparsec base base-compat bytestring containers deepseq dlist
ghc-prim hashable primitive scientific tagged template-haskell text
- th-abstraction time time-locale-compat unordered-containers
- uuid-types vector
+ th-abstraction time time-compat unordered-containers uuid-types
+ vector
];
testHaskellDepends = [
attoparsec base base-compat base-orphans base16-bytestring
@@ -22916,7 +22997,39 @@ self: {
generic-deriving ghc-prim hashable hashable-time integer-logarithms
QuickCheck quickcheck-instances scientific tagged tasty
tasty-golden tasty-hunit tasty-quickcheck template-haskell text
- time time-locale-compat unordered-containers uuid-types vector
+ time time-compat unordered-containers uuid-types vector
+ ];
+ description = "Fast JSON parsing and encoding";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "aeson_1_4_5_0" = callPackage
+ ({ mkDerivation, attoparsec, base, base-compat, base-orphans
+ , base16-bytestring, bytestring, containers, deepseq, Diff
+ , directory, dlist, filepath, generic-deriving, ghc-prim, hashable
+ , hashable-time, integer-logarithms, primitive, QuickCheck
+ , quickcheck-instances, scientific, tagged, tasty, tasty-golden
+ , tasty-hunit, tasty-quickcheck, template-haskell, text
+ , th-abstraction, time, time-compat, unordered-containers
+ , uuid-types, vector
+ }:
+ mkDerivation {
+ pname = "aeson";
+ version = "1.4.5.0";
+ sha256 = "1jhabz1lbbv6yqxqiybifi86cb5xlsadrn368n5dd0wzzc7ja4iz";
+ libraryHaskellDepends = [
+ attoparsec base base-compat bytestring containers deepseq dlist
+ ghc-prim hashable primitive scientific tagged template-haskell text
+ th-abstraction time time-compat unordered-containers uuid-types
+ vector
+ ];
+ testHaskellDepends = [
+ attoparsec base base-compat base-orphans base16-bytestring
+ bytestring containers Diff directory dlist filepath
+ generic-deriving ghc-prim hashable hashable-time integer-logarithms
+ QuickCheck quickcheck-instances scientific tagged tasty
+ tasty-golden tasty-hunit tasty-quickcheck template-haskell text
+ time time-compat unordered-containers uuid-types vector
];
description = "Fast JSON parsing and encoding";
license = stdenv.lib.licenses.bsd3;
@@ -22983,22 +23096,6 @@ self: {
}) {};
"aeson-casing" = callPackage
- ({ mkDerivation, aeson, base, tasty, tasty-hunit, tasty-quickcheck
- , tasty-th
- }:
- mkDerivation {
- pname = "aeson-casing";
- version = "0.1.1.0";
- sha256 = "14qx1aqrf25bdasrwibprl116ixxfr0s4fc62fa6pdj64a7jc480";
- libraryHaskellDepends = [ aeson base ];
- testHaskellDepends = [
- aeson base tasty tasty-hunit tasty-quickcheck tasty-th
- ];
- description = "Tools to change the formatting of field names in Aeson instances";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "aeson-casing_0_2_0_0" = callPackage
({ mkDerivation, aeson, base, tasty, tasty-hunit, tasty-quickcheck
, tasty-th
}:
@@ -23012,7 +23109,6 @@ self: {
];
description = "Tools to change the formatting of field names in Aeson instances";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"aeson-coerce" = callPackage
@@ -23037,6 +23133,8 @@ self: {
pname = "aeson-compat";
version = "0.3.9";
sha256 = "1j13gykv4ryvmr14w5blz0nnpdb4p0hpa27wahw3mhb1lwdr8hz0";
+ revision = "2";
+ editedCabalFile = "1y07skwfg22z37fvjmqcpcl1yz1kx2zn4zz3n1bfghk7740c4gyd";
libraryHaskellDepends = [
aeson attoparsec attoparsec-iso8601 base base-compat bytestring
containers exceptions hashable scientific tagged text time
@@ -23121,34 +23219,31 @@ self: {
}) {};
"aeson-extra" = callPackage
- ({ mkDerivation, aeson, aeson-compat, attoparsec
+ ({ mkDerivation, aeson, aeson-compat, align, attoparsec
, attoparsec-iso8601, base, base-compat-batteries, bytestring
, containers, deepseq, exceptions, hashable, parsec
- , quickcheck-instances, recursion-schemes, scientific, tasty
- , tasty-hunit, tasty-quickcheck, template-haskell, text, these
- , time, time-parsers, unordered-containers, vector
+ , quickcheck-instances, recursion-schemes, scientific, semialign
+ , tasty, tasty-hunit, tasty-quickcheck, template-haskell, text
+ , these, time, time-parsers, unordered-containers, vector
}:
mkDerivation {
pname = "aeson-extra";
- version = "0.4.1.1";
- sha256 = "1y7xss382hdxrv4jzprsm3b7ij7wiw8jgjg9wp49dx6bfvcnb2nl";
- revision = "4";
- editedCabalFile = "0ja5vr9w22wyknkjyl7w43frdfdfnxphvrai1b18lhinjqcd9bl5";
+ version = "0.4.1.2";
+ sha256 = "1i6bm91d332117fx829imaxz6y59a0vqa7fjsr293sp8xyhlkkax";
+ revision = "2";
+ editedCabalFile = "0z43xclsy4x3my7p7d1irb40nqvj9z49m7vhkwf3k2n5gxjs6379";
libraryHaskellDepends = [
aeson aeson-compat attoparsec attoparsec-iso8601 base
base-compat-batteries bytestring containers deepseq exceptions
- hashable parsec recursion-schemes scientific template-haskell text
- these time unordered-containers vector
+ hashable parsec recursion-schemes scientific semialign
+ template-haskell text these time unordered-containers vector
];
testHaskellDepends = [
- base containers quickcheck-instances tasty tasty-hunit
- tasty-quickcheck these time time-parsers unordered-containers
- vector
+ align base containers quickcheck-instances tasty tasty-hunit
+ tasty-quickcheck time time-parsers unordered-containers vector
];
description = "Extra goodies for aeson";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"aeson-filthy" = callPackage
@@ -23263,8 +23358,8 @@ self: {
}:
mkDerivation {
pname = "aeson-injector";
- version = "1.1.1.0";
- sha256 = "04hg0vdrfb7x6qxwcifsayc6z5vhc1l96ahvswg8q5wddc00ypzp";
+ version = "1.1.2.0";
+ sha256 = "05506d6nkw7q924l2ww5mg1ahzs9122vj02mgscdh7g72n3krdd4";
libraryHaskellDepends = [
aeson base bifunctors deepseq hashable lens servant-docs swagger2
text unordered-containers
@@ -23376,8 +23471,8 @@ self: {
({ mkDerivation, aeson, base, hspec, lens, lens-aeson, text }:
mkDerivation {
pname = "aeson-picker";
- version = "0.1.0.4";
- sha256 = "0ln4qwx7app1sc01irmy5lx7bqsq6wsgdig6zihpnp9rbj8263mj";
+ version = "0.1.0.5";
+ sha256 = "05lw6fd8xk9s37iz8pvznqh4vj856ayc75ha9iw1w82zxzv87pwp";
libraryHaskellDepends = [ aeson base lens lens-aeson text ];
testHaskellDepends = [ base hspec text ];
description = "Tiny library to get fields from JSON format";
@@ -23624,8 +23719,8 @@ self: {
}:
mkDerivation {
pname = "aeson-typescript";
- version = "0.1.2.0";
- sha256 = "16bbl91fxd7xmr4qam2dbzksh9sci7c4rhxyyxbiwq387x028hrc";
+ version = "0.2.0.0";
+ sha256 = "15w28x2b8h402fic5agq96g51ssryvd7q3zs22n5mz9aa43qlphw";
libraryHaskellDepends = [
aeson base containers interpolate mtl template-haskell text
th-abstraction unordered-containers
@@ -23702,6 +23797,8 @@ self: {
];
description = "A simple Game Engine using SDL";
license = stdenv.lib.licenses.lgpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"affine" = callPackage
@@ -24152,8 +24249,6 @@ self: {
];
description = "Cairo-based charting backend for the Aivika simulation library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"aivika-experiment-chart" = callPackage
@@ -24171,8 +24266,6 @@ self: {
];
description = "Simulation experiments with charting for the Aivika library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"aivika-experiment-diagrams" = callPackage
@@ -24189,8 +24282,6 @@ self: {
];
description = "Diagrams-based charting backend for the Aivika simulation library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"aivika-gpss" = callPackage
@@ -24305,8 +24396,8 @@ self: {
}:
mkDerivation {
pname = "alarmclock";
- version = "0.6.0.2";
- sha256 = "1zhq3sx6x54v7cjzmjvcs7pzqyql3x4vk3b5n4x7xhgxs54xdasc";
+ version = "0.7.0.2";
+ sha256 = "0sp9h8vy8i4pvyadnb1ibpxpfxjikdr9ds3y9y8321cmkprlbs87";
libraryHaskellDepends = [
async base clock stm time unbounded-delays
];
@@ -24317,25 +24408,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "alarmclock_0_7_0_1" = callPackage
- ({ mkDerivation, async, base, clock, hspec, stm, time
- , unbounded-delays
- }:
- mkDerivation {
- pname = "alarmclock";
- version = "0.7.0.1";
- sha256 = "08y3qzm1z28k819xg2qz3dbj0kpynxmhs5bwa6rmgw52sxbiwlnf";
- libraryHaskellDepends = [
- async base clock stm time unbounded-delays
- ];
- testHaskellDepends = [
- async base clock hspec stm time unbounded-delays
- ];
- description = "Wake up and perform an action at a certain time";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"alea" = callPackage
({ mkDerivation, base, optparse-applicative, random, text }:
mkDerivation {
@@ -24376,8 +24448,8 @@ self: {
({ mkDerivation, base, blaze-html, text }:
mkDerivation {
pname = "alerts";
- version = "0.1.0.0";
- sha256 = "0s6af3267qfg18zsy0fb43hfwf3dym2zpr864n05xwgzmg9qwhaj";
+ version = "0.1.2.0";
+ sha256 = "14fyckdwwhp786z2gg6m92xmz0rbvqwalj0bylqagi9n295ni74f";
libraryHaskellDepends = [ base blaze-html text ];
description = "Alert messages for web applications";
license = stdenv.lib.licenses.bsd3;
@@ -24439,8 +24511,8 @@ self: {
pname = "alex-tools";
version = "0.4";
sha256 = "0qyh3dr5nh7whv3qh431l8x4lx3nzkildlyl3xgnaxpbs8gr8sgi";
- revision = "1";
- editedCabalFile = "1dwr1w2zhbvwnjc65zzmwfmwb1yxxyyfrjypvqp3m7fpc7dg1nxg";
+ revision = "2";
+ editedCabalFile = "1hz7gdff15bxvx5jijgh6ih1m2v39nadfy2yjsb43c48p9hcn93z";
libraryHaskellDepends = [ base deepseq template-haskell text ];
description = "A set of functions for a common use case of Alex";
license = stdenv.lib.licenses.isc;
@@ -24599,25 +24671,6 @@ self: {
}) {};
"algebraic-graphs" = callPackage
- ({ mkDerivation, array, base, base-compat, base-orphans, containers
- , deepseq, extra, inspection-testing, mtl, QuickCheck
- }:
- mkDerivation {
- pname = "algebraic-graphs";
- version = "0.3";
- sha256 = "1q4xlyg3xjm7q2x11s4lbffywp096y3s3b72b8amfdyi27har4hl";
- libraryHaskellDepends = [
- array base base-compat containers deepseq mtl
- ];
- testHaskellDepends = [
- array base base-compat base-orphans containers extra
- inspection-testing QuickCheck
- ];
- description = "A library for algebraic graph construction and transformation";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "algebraic-graphs_0_4" = callPackage
({ mkDerivation, array, base, base-compat, base-orphans, containers
, deepseq, extra, inspection-testing, mtl, QuickCheck
}:
@@ -24635,6 +24688,7 @@ self: {
description = "A library for algebraic graph construction and transformation";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"algebraic-prelude" = callPackage
@@ -24747,8 +24801,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "alist";
- version = "0.1.1.6";
- sha256 = "0shfvjakcq2cmqizqvsqdvc7mnxkbalj6drp289lqqcmy4nxszin";
+ version = "0.1.2.7";
+ sha256 = "0ydq2sxyfgij0rf54i3ajj4hdqjawhcdsgi822yrkq86xjvsxc4w";
libraryHaskellDepends = [ base ];
description = "lists with O(1) append";
license = stdenv.lib.licenses.bsd3;
@@ -24926,8 +24980,8 @@ self: {
}:
mkDerivation {
pname = "alsa-gui";
- version = "0.1";
- sha256 = "0zcyjckdjhsj614iib3dzj9dfp8xj847jfqf4q1sk9311gscbzns";
+ version = "0.1.0.1";
+ sha256 = "17a34k0c6s1cisbnh02akyry7fmxigzn3d2ml9j0v56340r86059";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -25253,6 +25307,8 @@ self: {
testHaskellDepends = [ base tasty tasty-hunit ];
description = "Comprehensive Amazon Web Services SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-alexa-business" = callPackage
@@ -25270,6 +25326,8 @@ self: {
];
description = "Amazon Alexa For Business SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-apigateway" = callPackage
@@ -25287,6 +25345,8 @@ self: {
];
description = "Amazon API Gateway SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-application-autoscaling" = callPackage
@@ -25304,6 +25364,8 @@ self: {
];
description = "Amazon Application Auto Scaling SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-appstream" = callPackage
@@ -25321,6 +25383,8 @@ self: {
];
description = "Amazon AppStream SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-appsync" = callPackage
@@ -25338,6 +25402,8 @@ self: {
];
description = "Amazon AppSync SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-athena" = callPackage
@@ -25355,6 +25421,8 @@ self: {
];
description = "Amazon Athena SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-autoscaling" = callPackage
@@ -25372,6 +25440,8 @@ self: {
];
description = "Amazon Auto Scaling SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-autoscaling-plans" = callPackage
@@ -25389,6 +25459,8 @@ self: {
];
description = "Amazon Auto Scaling Plans SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-batch" = callPackage
@@ -25406,6 +25478,8 @@ self: {
];
description = "Amazon Batch SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-budgets" = callPackage
@@ -25423,6 +25497,8 @@ self: {
];
description = "Amazon Budgets SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-certificatemanager" = callPackage
@@ -25440,6 +25516,8 @@ self: {
];
description = "Amazon Certificate Manager SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-certificatemanager-pca" = callPackage
@@ -25457,6 +25535,8 @@ self: {
];
description = "Amazon Certificate Manager Private Certificate Authority SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloud9" = callPackage
@@ -25474,6 +25554,8 @@ self: {
];
description = "Amazon Cloud9 SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-clouddirectory" = callPackage
@@ -25491,6 +25573,8 @@ self: {
];
description = "Amazon CloudDirectory SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudformation" = callPackage
@@ -25508,6 +25592,8 @@ self: {
];
description = "Amazon CloudFormation SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudfront" = callPackage
@@ -25525,6 +25611,8 @@ self: {
];
description = "Amazon CloudFront SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudhsm" = callPackage
@@ -25542,6 +25630,8 @@ self: {
];
description = "Amazon CloudHSM SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudhsmv2" = callPackage
@@ -25559,6 +25649,8 @@ self: {
];
description = "Amazon CloudHSM V2 SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudsearch" = callPackage
@@ -25576,6 +25668,8 @@ self: {
];
description = "Amazon CloudSearch SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudsearch-domains" = callPackage
@@ -25593,6 +25687,8 @@ self: {
];
description = "Amazon CloudSearch Domain SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudtrail" = callPackage
@@ -25610,6 +25706,8 @@ self: {
];
description = "Amazon CloudTrail SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudwatch" = callPackage
@@ -25627,6 +25725,8 @@ self: {
];
description = "Amazon CloudWatch SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudwatch-events" = callPackage
@@ -25644,6 +25744,8 @@ self: {
];
description = "Amazon CloudWatch Events SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cloudwatch-logs" = callPackage
@@ -25661,6 +25763,8 @@ self: {
];
description = "Amazon CloudWatch Logs SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-codebuild" = callPackage
@@ -25678,6 +25782,8 @@ self: {
];
description = "Amazon CodeBuild SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-codecommit" = callPackage
@@ -25695,6 +25801,8 @@ self: {
];
description = "Amazon CodeCommit SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-codedeploy" = callPackage
@@ -25712,6 +25820,8 @@ self: {
];
description = "Amazon CodeDeploy SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-codepipeline" = callPackage
@@ -25729,6 +25839,8 @@ self: {
];
description = "Amazon CodePipeline SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-codestar" = callPackage
@@ -25746,6 +25858,8 @@ self: {
];
description = "Amazon CodeStar SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cognito-identity" = callPackage
@@ -25782,6 +25896,8 @@ self: {
];
description = "Amazon Cognito Identity Provider SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cognito-sync" = callPackage
@@ -25799,6 +25915,8 @@ self: {
];
description = "Amazon Cognito Sync SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-comprehend" = callPackage
@@ -25816,6 +25934,8 @@ self: {
];
description = "Amazon Comprehend SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-config" = callPackage
@@ -25833,6 +25953,8 @@ self: {
];
description = "Amazon Config SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-connect" = callPackage
@@ -25850,6 +25972,8 @@ self: {
];
description = "Amazon Connect Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-core" = callPackage
@@ -25880,6 +26004,8 @@ self: {
];
description = "Core data types and functionality for Amazonka libraries";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cost-explorer" = callPackage
@@ -25897,6 +26023,8 @@ self: {
];
description = "Amazon Cost Explorer Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-cur" = callPackage
@@ -25914,6 +26042,8 @@ self: {
];
description = "Amazon Cost and Usage Report Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-datapipeline" = callPackage
@@ -25931,6 +26061,8 @@ self: {
];
description = "Amazon Data Pipeline SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-devicefarm" = callPackage
@@ -25948,6 +26080,8 @@ self: {
];
description = "Amazon Device Farm SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-directconnect" = callPackage
@@ -25965,6 +26099,8 @@ self: {
];
description = "Amazon Direct Connect SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-discovery" = callPackage
@@ -25982,6 +26118,8 @@ self: {
];
description = "Amazon Application Discovery Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-dms" = callPackage
@@ -25999,6 +26137,8 @@ self: {
];
description = "Amazon Database Migration Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ds" = callPackage
@@ -26016,6 +26156,8 @@ self: {
];
description = "Amazon Directory Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-dynamodb" = callPackage
@@ -26033,6 +26175,8 @@ self: {
];
description = "Amazon DynamoDB SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-dynamodb-dax" = callPackage
@@ -26050,6 +26194,8 @@ self: {
];
description = "Amazon DynamoDB Accelerator (DAX) SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-dynamodb-streams" = callPackage
@@ -26067,6 +26213,8 @@ self: {
];
description = "Amazon DynamoDB Streams SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ec2" = callPackage
@@ -26084,6 +26232,8 @@ self: {
];
description = "Amazon Elastic Compute Cloud SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ecr" = callPackage
@@ -26101,6 +26251,8 @@ self: {
];
description = "Amazon EC2 Container Registry SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ecs" = callPackage
@@ -26137,6 +26289,8 @@ self: {
];
description = "Amazon Elastic File System SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-elasticache" = callPackage
@@ -26154,6 +26308,8 @@ self: {
];
description = "Amazon ElastiCache SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-elasticbeanstalk" = callPackage
@@ -26171,6 +26327,8 @@ self: {
];
description = "Amazon Elastic Beanstalk SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-elasticsearch" = callPackage
@@ -26188,6 +26346,8 @@ self: {
];
description = "Amazon Elasticsearch Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-elastictranscoder" = callPackage
@@ -26205,6 +26365,8 @@ self: {
];
description = "Amazon Elastic Transcoder SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-elb" = callPackage
@@ -26222,6 +26384,8 @@ self: {
];
description = "Amazon Elastic Load Balancing SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-elbv2" = callPackage
@@ -26239,6 +26403,8 @@ self: {
];
description = "Amazon Elastic Load Balancing SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-emr" = callPackage
@@ -26256,6 +26422,8 @@ self: {
];
description = "Amazon Elastic MapReduce SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-fms" = callPackage
@@ -26273,6 +26441,8 @@ self: {
];
description = "Amazon Firewall Management Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-gamelift" = callPackage
@@ -26290,6 +26460,8 @@ self: {
];
description = "Amazon GameLift SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-glacier" = callPackage
@@ -26307,6 +26479,8 @@ self: {
];
description = "Amazon Glacier SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-glue" = callPackage
@@ -26324,6 +26498,8 @@ self: {
];
description = "Amazon Glue SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-greengrass" = callPackage
@@ -26341,6 +26517,8 @@ self: {
];
description = "Amazon Greengrass SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-guardduty" = callPackage
@@ -26358,6 +26536,8 @@ self: {
];
description = "Amazon GuardDuty SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-health" = callPackage
@@ -26375,6 +26555,8 @@ self: {
];
description = "Amazon Health APIs and Notifications SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-iam" = callPackage
@@ -26392,6 +26574,8 @@ self: {
];
description = "Amazon Identity and Access Management SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-iam-policy" = callPackage
@@ -26430,6 +26614,8 @@ self: {
];
description = "Amazon Import/Export SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-inspector" = callPackage
@@ -26447,6 +26633,8 @@ self: {
];
description = "Amazon Inspector SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-iot" = callPackage
@@ -26464,6 +26652,8 @@ self: {
];
description = "Amazon IoT SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-iot-analytics" = callPackage
@@ -26481,6 +26671,8 @@ self: {
];
description = "Amazon IoT Analytics SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-iot-dataplane" = callPackage
@@ -26498,6 +26690,8 @@ self: {
];
description = "Amazon IoT Data Plane SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-iot-jobs-dataplane" = callPackage
@@ -26515,6 +26709,8 @@ self: {
];
description = "Amazon IoT Jobs Data Plane SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kinesis" = callPackage
@@ -26532,6 +26728,8 @@ self: {
];
description = "Amazon Kinesis SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kinesis-analytics" = callPackage
@@ -26549,6 +26747,8 @@ self: {
];
description = "Amazon Kinesis Analytics SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kinesis-firehose" = callPackage
@@ -26566,6 +26766,8 @@ self: {
];
description = "Amazon Kinesis Firehose SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kinesis-video" = callPackage
@@ -26583,6 +26785,8 @@ self: {
];
description = "Amazon Kinesis Video Streams SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kinesis-video-archived-media" = callPackage
@@ -26600,6 +26804,8 @@ self: {
];
description = "Amazon Kinesis Video Streams Archived Media SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kinesis-video-media" = callPackage
@@ -26617,6 +26823,8 @@ self: {
];
description = "Amazon Kinesis Video Streams Media SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-kms" = callPackage
@@ -26634,6 +26842,8 @@ self: {
];
description = "Amazon Key Management Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-lambda" = callPackage
@@ -26651,6 +26861,8 @@ self: {
];
description = "Amazon Lambda SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-lex-models" = callPackage
@@ -26668,6 +26880,8 @@ self: {
];
description = "Amazon Lex Model Building Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-lex-runtime" = callPackage
@@ -26685,6 +26899,8 @@ self: {
];
description = "Amazon Lex Runtime Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-lightsail" = callPackage
@@ -26702,6 +26918,8 @@ self: {
];
description = "Amazon Lightsail SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-marketplace-analytics" = callPackage
@@ -26719,6 +26937,8 @@ self: {
];
description = "Amazon Marketplace Commerce Analytics SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-marketplace-entitlement" = callPackage
@@ -26736,6 +26956,8 @@ self: {
];
description = "Amazon Marketplace Entitlement Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-marketplace-metering" = callPackage
@@ -26753,6 +26975,8 @@ self: {
];
description = "Amazon Marketplace Metering SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mechanicalturk" = callPackage
@@ -26770,6 +26994,8 @@ self: {
];
description = "Amazon Mechanical Turk SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mediaconvert" = callPackage
@@ -26787,6 +27013,8 @@ self: {
];
description = "Amazon Elemental MediaConvert SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-medialive" = callPackage
@@ -26804,6 +27032,8 @@ self: {
];
description = "Amazon Elemental MediaLive SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mediapackage" = callPackage
@@ -26821,6 +27051,8 @@ self: {
];
description = "Amazon Elemental MediaPackage SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mediastore" = callPackage
@@ -26838,6 +27070,8 @@ self: {
];
description = "Amazon Elemental MediaStore SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mediastore-dataplane" = callPackage
@@ -26855,6 +27089,8 @@ self: {
];
description = "Amazon Elemental MediaStore Data Plane SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-migrationhub" = callPackage
@@ -26872,6 +27108,8 @@ self: {
];
description = "Amazon Migration Hub SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ml" = callPackage
@@ -26889,6 +27127,8 @@ self: {
];
description = "Amazon Machine Learning SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mobile" = callPackage
@@ -26906,6 +27146,8 @@ self: {
];
description = "Amazon Mobile SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-mq" = callPackage
@@ -26923,6 +27165,8 @@ self: {
];
description = "Amazon MQ SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-opsworks" = callPackage
@@ -26940,6 +27184,8 @@ self: {
];
description = "Amazon OpsWorks SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-opsworks-cm" = callPackage
@@ -26957,6 +27203,8 @@ self: {
];
description = "Amazon OpsWorks for Chef Automate SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-organizations" = callPackage
@@ -26974,6 +27222,8 @@ self: {
];
description = "Amazon Organizations SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-pinpoint" = callPackage
@@ -26991,6 +27241,8 @@ self: {
];
description = "Amazon Pinpoint SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-polly" = callPackage
@@ -27008,6 +27260,8 @@ self: {
];
description = "Amazon Polly SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-pricing" = callPackage
@@ -27025,6 +27279,8 @@ self: {
];
description = "Amazon Price List Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-rds" = callPackage
@@ -27042,6 +27298,8 @@ self: {
];
description = "Amazon Relational Database Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-redshift" = callPackage
@@ -27059,6 +27317,8 @@ self: {
];
description = "Amazon Redshift SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-rekognition" = callPackage
@@ -27076,6 +27336,8 @@ self: {
];
description = "Amazon Rekognition SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-resourcegroups" = callPackage
@@ -27093,6 +27355,8 @@ self: {
];
description = "Amazon Resource Groups SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-resourcegroupstagging" = callPackage
@@ -27110,6 +27374,8 @@ self: {
];
description = "Amazon Resource Groups Tagging API SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-route53" = callPackage
@@ -27127,6 +27393,8 @@ self: {
];
description = "Amazon Route 53 SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-route53-autonaming" = callPackage
@@ -27144,6 +27412,8 @@ self: {
];
description = "Amazon Route 53 Auto Naming SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-route53-domains" = callPackage
@@ -27161,6 +27431,8 @@ self: {
];
description = "Amazon Route 53 Domains SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-s3" = callPackage
@@ -27178,6 +27450,8 @@ self: {
];
description = "Amazon Simple Storage Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-s3-streaming" = callPackage
@@ -27197,6 +27471,8 @@ self: {
];
description = "Provides conduits to upload data to S3 using the Multipart API";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sagemaker" = callPackage
@@ -27214,6 +27490,8 @@ self: {
];
description = "Amazon SageMaker Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sagemaker-runtime" = callPackage
@@ -27231,6 +27509,8 @@ self: {
];
description = "Amazon SageMaker Runtime SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sdb" = callPackage
@@ -27248,6 +27528,8 @@ self: {
];
description = "Amazon SimpleDB SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-secretsmanager" = callPackage
@@ -27265,6 +27547,8 @@ self: {
];
description = "Amazon Secrets Manager SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-serverlessrepo" = callPackage
@@ -27282,6 +27566,8 @@ self: {
];
description = "Amazon ServerlessApplicationRepository SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-servicecatalog" = callPackage
@@ -27299,6 +27585,8 @@ self: {
];
description = "Amazon Service Catalog SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ses" = callPackage
@@ -27316,6 +27604,8 @@ self: {
];
description = "Amazon Simple Email Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-shield" = callPackage
@@ -27333,6 +27623,8 @@ self: {
];
description = "Amazon Shield SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sms" = callPackage
@@ -27350,6 +27642,8 @@ self: {
];
description = "Amazon Server Migration Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-snowball" = callPackage
@@ -27367,6 +27661,8 @@ self: {
];
description = "Amazon Import/Export Snowball SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sns" = callPackage
@@ -27384,6 +27680,8 @@ self: {
];
description = "Amazon Simple Notification Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sqs" = callPackage
@@ -27401,6 +27699,8 @@ self: {
];
description = "Amazon Simple Queue Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-ssm" = callPackage
@@ -27418,6 +27718,8 @@ self: {
];
description = "Amazon Simple Systems Manager (SSM) SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-stepfunctions" = callPackage
@@ -27435,6 +27737,8 @@ self: {
];
description = "Amazon Step Functions SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-storagegateway" = callPackage
@@ -27452,6 +27756,8 @@ self: {
];
description = "Amazon Storage Gateway SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-sts" = callPackage
@@ -27469,6 +27775,8 @@ self: {
];
description = "Amazon Security Token Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-support" = callPackage
@@ -27486,6 +27794,8 @@ self: {
];
description = "Amazon Support SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-swf" = callPackage
@@ -27503,6 +27813,8 @@ self: {
];
description = "Amazon Simple Workflow Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-test" = callPackage
@@ -27524,6 +27836,8 @@ self: {
];
description = "Common functionality for Amazonka library test-suites";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-transcribe" = callPackage
@@ -27541,6 +27855,8 @@ self: {
];
description = "Amazon Transcribe Service SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-translate" = callPackage
@@ -27558,6 +27874,8 @@ self: {
];
description = "Amazon Translate SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-waf" = callPackage
@@ -27575,6 +27893,8 @@ self: {
];
description = "Amazon WAF SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-waf-regional" = callPackage
@@ -27592,6 +27912,8 @@ self: {
];
description = "Amazon WAF Regional SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-workdocs" = callPackage
@@ -27609,6 +27931,8 @@ self: {
];
description = "Amazon WorkDocs SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-workmail" = callPackage
@@ -27626,6 +27950,8 @@ self: {
];
description = "Amazon WorkMail SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-workspaces" = callPackage
@@ -27643,6 +27969,8 @@ self: {
];
description = "Amazon WorkSpaces SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amazonka-xray" = callPackage
@@ -27660,6 +27988,8 @@ self: {
];
description = "Amazon X-Ray SDK";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"amby" = callPackage
@@ -27729,8 +28059,8 @@ self: {
}:
mkDerivation {
pname = "amqp";
- version = "0.18.2";
- sha256 = "0sp7c9vbgaxc5rhfc402q52djr0qpqgmfklhcrx45av2rqymkyxv";
+ version = "0.18.3";
+ sha256 = "1cyzazl3hz5yd2i220b4g8xs0fm47xqlwyvgarxbnn5gnrm8ys21";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -28343,8 +28673,8 @@ self: {
({ mkDerivation, base, colour }:
mkDerivation {
pname = "ansi-terminal";
- version = "0.8.2";
- sha256 = "147ss9wz03ww6ypbv6yh5vi1wfrfcaqm8r6nxh50vnp7254359wh";
+ version = "0.9.1";
+ sha256 = "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base colour ];
@@ -28352,12 +28682,12 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "ansi-terminal_0_9_1" = callPackage
+ "ansi-terminal_0_10" = callPackage
({ mkDerivation, base, colour }:
mkDerivation {
pname = "ansi-terminal";
- version = "0.9.1";
- sha256 = "1yr0ld0kqns3w3j9gl62bdwshvyazidx4dv1qkvq19ivnf08w23l";
+ version = "0.10";
+ sha256 = "0l96g8m88qbyhp6mvm895b102jc5z3b85i0fvb4w99x2zj4pnv7y";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base colour ];
@@ -28368,21 +28698,22 @@ self: {
"ansi-terminal-game" = callPackage
({ mkDerivation, ansi-terminal, array, base, bytestring, cereal
- , clock, hspec, linebreak, mtl, split, terminal-size, timers-tick
+ , clock, exceptions, hspec, linebreak, mintty, mtl, QuickCheck
+ , split, terminal-size, timers-tick
}:
mkDerivation {
pname = "ansi-terminal-game";
- version = "0.3.1.0";
- sha256 = "0q62lq4i638hn23qvmlv7qa6gdnxl3bnrhpp2j2liw885x4qxlhz";
+ version = "0.4.0.0";
+ sha256 = "1mjc62z7d6gzvwnwg2gsgf42hlv1l2xqpjy9v83my4s945p422lg";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- ansi-terminal array base bytestring cereal clock linebreak mtl
- split terminal-size timers-tick
+ ansi-terminal array base bytestring cereal clock exceptions
+ linebreak mintty mtl QuickCheck split terminal-size timers-tick
];
testHaskellDepends = [
- ansi-terminal array base bytestring cereal clock hspec linebreak
- mtl split terminal-size timers-tick
+ ansi-terminal array base bytestring cereal clock exceptions hspec
+ linebreak mtl QuickCheck split terminal-size timers-tick
];
description = "sdl-like functions for terminal applications, based on ansi-terminal";
license = stdenv.lib.licenses.gpl3;
@@ -28391,32 +28722,18 @@ self: {
}) {};
"ansi-wl-pprint" = callPackage
- ({ mkDerivation, ansi-terminal, base }:
- mkDerivation {
- pname = "ansi-wl-pprint";
- version = "0.6.8.2";
- sha256 = "0gnb4mkqryv08vncxnj0bzwcnd749613yw3cxfzw6y3nsldp4c56";
- revision = "2";
- editedCabalFile = "0xq83bwya8mfijp3dn9zfsqbbkl1wpzfjcmnkw8a06icjh9vg458";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ ansi-terminal base ];
- description = "The Wadler/Leijen Pretty Printer for colored ANSI terminal output";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "ansi-wl-pprint_0_6_9" = callPackage
({ mkDerivation, ansi-terminal, base }:
mkDerivation {
pname = "ansi-wl-pprint";
version = "0.6.9";
sha256 = "1b2fg8px98dzbaqyns10kvs8kn6cl1hdq5wb9saz40izrpkyicm7";
+ revision = "1";
+ editedCabalFile = "0bb5fzjjc00932pny1fql40dmpmikfqzbrbmpwr09bfw9aynvzgn";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ ansi-terminal base ];
description = "The Wadler/Leijen Pretty Printer for colored ANSI terminal output";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"ansigraph" = callPackage
@@ -28431,6 +28748,8 @@ self: {
testHaskellDepends = [ base hspec QuickCheck ];
description = "Terminal-based graphing via ANSI and Unicode";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antagonist" = callPackage
@@ -28552,27 +28871,8 @@ self: {
}:
mkDerivation {
pname = "antiope-athena";
- version = "6.2.0";
- sha256 = "0kd31s399rddcjj8ayvki85j66xlkb7gh0jgfwxmxcxp3x4gs0xi";
- libraryHaskellDepends = [
- amazonka amazonka-athena amazonka-core base lens resourcet text
- unliftio-core
- ];
- testHaskellDepends = [
- amazonka amazonka-athena amazonka-core base lens resourcet text
- unliftio-core
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-athena_7_0_3" = callPackage
- ({ mkDerivation, amazonka, amazonka-athena, amazonka-core, base
- , lens, resourcet, text, unliftio-core
- }:
- mkDerivation {
- pname = "antiope-athena";
- version = "7.0.3";
- sha256 = "15z64bwqnz7ypv35alj1wfvw0ab1zp0h7sdhw300mq3715snw0x1";
+ version = "7.3.0";
+ sha256 = "1ixrpfc1yrvzigv5mid12s9yill5x0yvr5xfzwl9plm9jpzjjvv9";
libraryHaskellDepends = [
amazonka amazonka-athena amazonka-core base lens resourcet text
unliftio-core
@@ -28584,44 +28884,25 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-contract" = callPackage
({ mkDerivation, aeson, antiope-s3, avro, base, bytestring, text }:
mkDerivation {
pname = "antiope-contract";
- version = "7.0.3";
- sha256 = "1c2q532dy6zash5ap3mq9qx9316gqhd3ilafvqs3xvfx6gddb7k6";
+ version = "7.3.0";
+ sha256 = "0alg9nfwgyrvwxi8syrarqhf8din9dayvvll2078zl82r1x8hmgb";
libraryHaskellDepends = [
aeson antiope-s3 avro base bytestring text
];
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-core" = callPackage
- ({ mkDerivation, amazonka, amazonka-core, base, bytestring
- , exceptions, generic-lens, http-client, http-types, lens
- , monad-logger, mtl, resourcet, text, transformers, unliftio-core
- }:
- mkDerivation {
- pname = "antiope-core";
- version = "6.2.0";
- sha256 = "0g3bhh8vdnkd5h9savhjc053jbb4k7b7chbzcjjqd4kj95v8jmr3";
- libraryHaskellDepends = [
- amazonka amazonka-core base bytestring exceptions generic-lens
- http-client http-types lens monad-logger mtl resourcet text
- transformers unliftio-core
- ];
- testHaskellDepends = [
- amazonka amazonka-core base bytestring exceptions generic-lens
- http-client http-types lens monad-logger mtl resourcet text
- transformers unliftio-core
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-core_7_0_3" = callPackage
({ mkDerivation, aeson, aeson-lens, amazonka, amazonka-core, base
, bytestring, exceptions, generic-lens, hedgehog, hspec
, http-client, http-types, hw-hspec-hedgehog, lens, mtl, resourcet
@@ -28629,8 +28910,8 @@ self: {
}:
mkDerivation {
pname = "antiope-core";
- version = "7.0.3";
- sha256 = "0qn89pij3gg129y4waiwq6y6i7d7lny9ibjz9zdv5n6fzsgmrz8l";
+ version = "7.3.0";
+ sha256 = "0x2lz5ljxdd2d0fv3srn6v6az1dacb83n16fshnm27z9vgnzvfjc";
libraryHaskellDepends = [
aeson amazonka amazonka-core base bytestring exceptions
generic-lens http-client http-types lens mtl resourcet text
@@ -28645,39 +28926,20 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-dynamodb" = callPackage
- ({ mkDerivation, amazonka, amazonka-core, amazonka-dynamodb
+ ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-dynamodb
, antiope-core, base, generic-lens, lens, text, unliftio-core
, unordered-containers
}:
mkDerivation {
pname = "antiope-dynamodb";
- version = "6.2.0";
- sha256 = "1kv6ihb6829fbgzz489sg0zyz02rp9p8wk90w4x3sjsynf8djrjj";
+ version = "7.3.0";
+ sha256 = "04izlg44mz7xv529q2m6j47hcxfca1zrk1fl11rcixdfi3iwfmvf";
libraryHaskellDepends = [
- amazonka amazonka-core amazonka-dynamodb antiope-core base
- generic-lens lens text unliftio-core unordered-containers
- ];
- testHaskellDepends = [
- amazonka amazonka-core amazonka-dynamodb antiope-core base
- generic-lens lens text unliftio-core unordered-containers
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-dynamodb_7_0_3" = callPackage
- ({ mkDerivation, amazonka, amazonka-core, amazonka-dynamodb
- , antiope-core, base, generic-lens, lens, text, unliftio-core
- , unordered-containers
- }:
- mkDerivation {
- pname = "antiope-dynamodb";
- version = "7.0.3";
- sha256 = "1shfi2l9pys211pxq03z71d53578d2amwlyvsj4cb9qspccqmxb0";
- libraryHaskellDepends = [
- amazonka amazonka-core amazonka-dynamodb antiope-core base
+ aeson amazonka amazonka-core amazonka-dynamodb antiope-core base
generic-lens lens text unliftio-core unordered-containers
];
testHaskellDepends = [
@@ -28687,31 +28949,10 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-messages" = callPackage
- ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3
- , amazonka-sqs, antiope-s3, base, generic-lens, lens, lens-aeson
- , monad-loops, network-uri, text, unliftio-core
- }:
- mkDerivation {
- pname = "antiope-messages";
- version = "6.2.0";
- sha256 = "11zkyfv06fsqxznr36hh563yz401y3wg2a5hc6x6ydza4xdnrzdz";
- libraryHaskellDepends = [
- aeson amazonka amazonka-core amazonka-s3 amazonka-sqs antiope-s3
- base generic-lens lens lens-aeson monad-loops network-uri text
- unliftio-core
- ];
- testHaskellDepends = [
- aeson amazonka amazonka-core amazonka-s3 amazonka-sqs antiope-s3
- base generic-lens lens lens-aeson monad-loops network-uri text
- unliftio-core
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-messages_7_0_3" = callPackage
({ mkDerivation, aeson, amazonka, amazonka-core, base, bytestring
, generic-lens, hedgehog, hspec, hw-hspec-hedgehog, lens
, lens-aeson, monad-loops, network-uri, scientific, text
@@ -28719,8 +28960,8 @@ self: {
}:
mkDerivation {
pname = "antiope-messages";
- version = "7.0.3";
- sha256 = "05xrjlm5w2pbx9dlgi800j28zxyhbilhd902f8mshdw5jq7l3ws3";
+ version = "7.3.0";
+ sha256 = "13mm39hbwmlhg1qv61nv0rs6kvw784k2ynrfd9yi1zlr5zycgwlm";
libraryHaskellDepends = [
aeson amazonka amazonka-core base bytestring generic-lens lens
lens-aeson monad-loops network-uri text unliftio-core
@@ -28733,6 +28974,7 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-optparse-applicative" = callPackage
@@ -28741,8 +28983,8 @@ self: {
}:
mkDerivation {
pname = "antiope-optparse-applicative";
- version = "7.0.3";
- sha256 = "1pw8jhbhn11jjp5zlsx2sdf3swjqcda0ka6xm09wzk14njyj2m0a";
+ version = "7.3.0";
+ sha256 = "1qgd4mb99vpjswxca6l10ghg3d63vlqj3wc87afdcddfwa50f1zr";
libraryHaskellDepends = [
amazonka amazonka-core amazonka-s3 base optparse-applicative text
];
@@ -28752,34 +28994,11 @@ self: {
];
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-s3" = callPackage
- ({ mkDerivation, amazonka, amazonka-core, amazonka-s3, antiope-core
- , attoparsec, base, bytestring, conduit, conduit-extra, exceptions
- , generic-lens, hedgehog, hspec, http-types, hw-hspec-hedgehog
- , lens, monad-logger, mtl, network-uri, resourcet, text
- , unliftio-core
- }:
- mkDerivation {
- pname = "antiope-s3";
- version = "6.2.0";
- sha256 = "1gb9ypj5gp6qkzncg44sja35pw2s6qg7msjrlcvhdfbcjs6pxrqj";
- libraryHaskellDepends = [
- amazonka amazonka-core amazonka-s3 antiope-core attoparsec base
- bytestring conduit conduit-extra exceptions generic-lens http-types
- lens monad-logger mtl network-uri resourcet text unliftio-core
- ];
- testHaskellDepends = [
- amazonka amazonka-core amazonka-s3 antiope-core attoparsec base
- bytestring conduit conduit-extra exceptions generic-lens hedgehog
- hspec http-types hw-hspec-hedgehog lens monad-logger mtl
- network-uri resourcet text unliftio-core
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-s3_7_0_3" = callPackage
({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3
, antiope-core, antiope-messages, attoparsec, base, bytestring
, conduit, conduit-extra, exceptions, generic-lens, hedgehog, hspec
@@ -28788,8 +29007,8 @@ self: {
}:
mkDerivation {
pname = "antiope-s3";
- version = "7.0.3";
- sha256 = "0n5jzp1ab3nk99z0n2d4kp400cg2ygxnk9s9siks2qncpgx3bb42";
+ version = "7.3.0";
+ sha256 = "03qkvaz95qfqrildz92qhrnrny4i00p2l89j5p7miwxbdfzy7ga9";
libraryHaskellDepends = [
aeson amazonka amazonka-core amazonka-s3 antiope-core
antiope-messages attoparsec base bytestring conduit conduit-extra
@@ -28805,36 +29024,18 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-sns" = callPackage
- ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-sns, base
- , generic-lens, lens, text, unliftio-core
- }:
- mkDerivation {
- pname = "antiope-sns";
- version = "6.2.0";
- sha256 = "0npm9q3vf2njiqwyswxc6xh5psjls0skz29mz22y59sk25m5fmkv";
- libraryHaskellDepends = [
- aeson amazonka amazonka-core amazonka-sns base generic-lens lens
- text unliftio-core
- ];
- testHaskellDepends = [
- aeson amazonka amazonka-core amazonka-sns base generic-lens lens
- text unliftio-core
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-sns_7_0_3" = callPackage
({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-sns, base
, bytestring, generic-lens, hedgehog, hspec, hw-hspec-hedgehog
, lens, text, time, unliftio-core
}:
mkDerivation {
pname = "antiope-sns";
- version = "7.0.3";
- sha256 = "0kq669k1h11cjrx4d0rdyzfv94br5w0pxl0zm0xa0pq4inagz06q";
+ version = "7.3.0";
+ sha256 = "066ryids04k0sixn9yf0h70jfj55z2g2xkrpqhxnr54sk2jr4njy";
libraryHaskellDepends = [
aeson amazonka amazonka-core amazonka-sns base bytestring
generic-lens lens text time unliftio-core
@@ -28847,31 +29048,10 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiope-sqs" = callPackage
- ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3
- , amazonka-sqs, antiope-messages, antiope-s3, base, generic-lens
- , lens, lens-aeson, monad-loops, network-uri, text, unliftio-core
- }:
- mkDerivation {
- pname = "antiope-sqs";
- version = "6.2.0";
- sha256 = "0v33diw8cwvfb9b4k24whbyl4apjq67rh36ndn5qr6627kp3b825";
- libraryHaskellDepends = [
- aeson amazonka amazonka-core amazonka-s3 amazonka-sqs
- antiope-messages antiope-s3 base generic-lens lens lens-aeson
- monad-loops network-uri text unliftio-core
- ];
- testHaskellDepends = [
- aeson amazonka amazonka-core amazonka-s3 amazonka-sqs
- antiope-messages antiope-s3 base generic-lens lens lens-aeson
- monad-loops network-uri text unliftio-core
- ];
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "antiope-sqs_7_0_3" = callPackage
({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-sqs, base
, bytestring, conduit, generic-lens, hedgehog, hspec
, hw-hspec-hedgehog, lens, lens-aeson, monad-loops, mtl
@@ -28880,8 +29060,8 @@ self: {
}:
mkDerivation {
pname = "antiope-sqs";
- version = "7.0.3";
- sha256 = "152w0zg2psdgii74k8h1wpq2qcnpmiybh0fa3y8i7fj75v8y0wj9";
+ version = "7.3.0";
+ sha256 = "1nhs4v0h0hqjv6ncfy1wpsdsxkbbb0gz45rhf8swm8h2zfv9rqxl";
libraryHaskellDepends = [
aeson amazonka amazonka-core amazonka-sqs base bytestring conduit
generic-lens lens lens-aeson monad-loops mtl network-uri split text
@@ -28895,6 +29075,23 @@ self: {
description = "Please see the README on Github at ";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "antiope-swf" = callPackage
+ ({ mkDerivation, amazonka-swf, base, hedgehog, hspec
+ , hw-hspec-hedgehog, lens, text
+ }:
+ mkDerivation {
+ pname = "antiope-swf";
+ version = "7.3.0";
+ sha256 = "1jqhq0ifdv8dqsnqsyb814nqq987fvng04gg8sbz5cjds7nm1c0m";
+ libraryHaskellDepends = [ amazonka-swf base lens text ];
+ testHaskellDepends = [ base hedgehog hspec hw-hspec-hedgehog ];
+ description = "Please see the README on Github at ";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"antiprimes" = callPackage
@@ -29108,15 +29305,15 @@ self: {
}) {};
"apecs" = callPackage
- ({ mkDerivation, base, containers, criterion, linear, mtl
+ ({ mkDerivation, array, base, containers, criterion, linear, mtl
, QuickCheck, template-haskell, vector
}:
mkDerivation {
pname = "apecs";
- version = "0.7.3";
- sha256 = "1vrfmpnpihsywd8lq1kc7bsjsp8kxrcv341mzxsaa68qd5xi698l";
+ version = "0.8.1";
+ sha256 = "10m3lbfg97psnk3z2ml1q9g2ymwa2fnsknrh6ggp9k5c7mskslv0";
libraryHaskellDepends = [
- base containers mtl template-haskell vector
+ array base containers mtl template-haskell vector
];
testHaskellDepends = [ base containers linear QuickCheck vector ];
benchmarkHaskellDepends = [ base criterion linear ];
@@ -29130,8 +29327,8 @@ self: {
}:
mkDerivation {
pname = "apecs-gloss";
- version = "0.2.0";
- sha256 = "0qkdjanbrnwhxzr168xwrnhcd1hwsymlb1nvsb1mrklzj93amfvh";
+ version = "0.2.3";
+ sha256 = "0f2cvjlsf00w69a6m52pwcp9srk441qfzbpdvdwh8pm2vl6nax69";
libraryHaskellDepends = [
apecs apecs-physics base containers gloss linear
];
@@ -29145,8 +29342,8 @@ self: {
}:
mkDerivation {
pname = "apecs-physics";
- version = "0.3.2";
- sha256 = "15xwhji60garvryv971ahibdb6b0qlpafx9xy5898h0s4bhrhysf";
+ version = "0.4.2";
+ sha256 = "0jqylv937c4y4jygqyb127n9lvvmss52pz7rcwq7x3qc3k5mwgnh";
setupHaskellDepends = [ base Cabal ];
libraryHaskellDepends = [
apecs base containers inline-c linear template-haskell vector
@@ -29155,6 +29352,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "apecs-physics_0_4_3" = callPackage
+ ({ mkDerivation, apecs, base, Cabal, containers, inline-c, linear
+ , template-haskell, vector
+ }:
+ mkDerivation {
+ pname = "apecs-physics";
+ version = "0.4.3";
+ sha256 = "1d1dq50r5hqq3551abn82i35qaq62gsk04h6vzwhi01jrfkjxyxr";
+ setupHaskellDepends = [ base Cabal ];
+ libraryHaskellDepends = [
+ apecs base containers inline-c linear template-haskell vector
+ ];
+ description = "2D physics for apecs";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"apecs-physics-gloss" = callPackage
({ mkDerivation, apecs, apecs-physics, base, gloss }:
mkDerivation {
@@ -29172,14 +29386,16 @@ self: {
}:
mkDerivation {
pname = "apecs-stm";
- version = "0.1.1";
- sha256 = "0d0l48fynsk84y2ifb004dpr39s2hdcwrgfp1ds3qff6784sh66b";
+ version = "0.1.2";
+ sha256 = "0wq20ibki20xccp7gvajzfmp90m9vr0sdx55m3ni91j76bsswqg8";
libraryHaskellDepends = [
apecs base containers list-t stm stm-containers template-haskell
vector
];
description = "STM stores for apecs";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"apelsin" = callPackage
@@ -29244,6 +29460,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "api-monobank" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, hs-coindesk-api
+ , http-client, http-client-tls, http-conduit, servant
+ , servant-client, stm, text, time
+ }:
+ mkDerivation {
+ pname = "api-monobank";
+ version = "0.1.3.0";
+ sha256 = "0ajp0wv3nkv2db9bx68mq67ag46s2b26p80fx9ypw8nqhnkddg0g";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base bytestring http-client http-client-tls http-conduit
+ servant servant-client text time
+ ];
+ executableHaskellDepends = [
+ aeson base bytestring http-client http-conduit stm text time
+ ];
+ testHaskellDepends = [ base bytestring hs-coindesk-api ];
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {hs-coindesk-api = null;};
+
"api-opentheory-unicode" = callPackage
({ mkDerivation, base, bytestring, directory, opentheory-unicode }:
mkDerivation {
@@ -29295,6 +29535,28 @@ self: {
broken = true;
}) {};
+ "api-yoti" = callPackage
+ ({ mkDerivation, aeson, base, base64-bytestring, bytestring
+ , containers, crypto-pubkey-openssh, crypto-pubkey-types
+ , crypto-simple, cryptonite, directory, hashable, memory, mtl, pem
+ , text, time, transformers, wreq
+ }:
+ mkDerivation {
+ pname = "api-yoti";
+ version = "0.1.0.0";
+ sha256 = "1c2jb9qzfzkcbcxabc7xvqc6npdm23dglpd9zqic7wafm7jdmf0s";
+ libraryHaskellDepends = [
+ aeson base base64-bytestring bytestring containers
+ crypto-pubkey-openssh crypto-pubkey-types crypto-simple cryptonite
+ directory hashable memory mtl pem text time transformers wreq
+ ];
+ testHaskellDepends = [ base bytestring text ];
+ description = "Api bindings for Yoti services";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"apiary" = callPackage
({ mkDerivation, aeson, base, blaze-builder, blaze-html
, blaze-markup, bytestring, bytestring-lexing, case-insensitive
@@ -30144,6 +30406,8 @@ self: {
testHaskellDepends = [ base hedgehog hspec hw-hspec-hedgehog ];
description = "Simple logging library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"arbor-monad-metric" = callPackage
@@ -30202,8 +30466,8 @@ self: {
}:
mkDerivation {
pname = "arbor-postgres";
- version = "0.0.3";
- sha256 = "18rqy2zyaf5cawn8dkn3xmjh19zzqgwj6mkk415x5a4p53dya46b";
+ version = "0.0.4";
+ sha256 = "0z3n2w9a57sl24i7h4yz8204drwkgr54pr2yrjam4xs3dyx6irf4";
libraryHaskellDepends = [
base bytestring generic-lens lens network-uri optparse-applicative
postgresql-simple text
@@ -30500,8 +30764,8 @@ self: {
pname = "argon2";
version = "1.3.0.1";
sha256 = "1v0clf78hykdyhv81z8v3kwp86hjgqh6b8a7wfbjv0fyy55bwxry";
- revision = "1";
- editedCabalFile = "1bqzf2cfpd03sl3wq9dnrcxaysbs116ib33ja0v8zi4szddm33jv";
+ revision = "2";
+ editedCabalFile = "0y1dg4dp3f40ghh2zcn1s4l19i8pjs0d1zpbghy4aaar4npiqxz7";
libraryHaskellDepends = [ base bytestring deepseq text-short ];
testHaskellDepends = [
base bytestring QuickCheck tasty tasty-hunit tasty-quickcheck
@@ -30639,8 +30903,8 @@ self: {
}:
mkDerivation {
pname = "arithmetic";
- version = "1.2";
- sha256 = "0yipdx61ky9db46fy2cbal4qc9y94arkcj4z1dj28bx7j7fnmvzk";
+ version = "1.4";
+ sha256 = "1qydk2sxrm0xfv23b354lfilyl2cnc0gc0842rz3672j3xwzrrfa";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -30660,34 +30924,6 @@ self: {
}) {};
"arithmoi" = callPackage
- ({ mkDerivation, array, base, containers, deepseq, exact-pi, gauge
- , ghc-prim, integer-gmp, integer-logarithms, QuickCheck, random
- , smallcheck, tasty, tasty-hunit, tasty-quickcheck
- , tasty-smallcheck, transformers, vector
- }:
- mkDerivation {
- pname = "arithmoi";
- version = "0.8.0.0";
- sha256 = "17nk0n89fb0qh6w8535ll45mq4msir32w6fhqzpzhlpbily3mlw2";
- revision = "3";
- editedCabalFile = "1cn6axcdiahaqnq1rsm0snr78lrypay6cxh3yxw3vrrwilavri1i";
- configureFlags = [ "-f-llvm" ];
- libraryHaskellDepends = [
- array base containers deepseq exact-pi ghc-prim integer-gmp
- integer-logarithms random transformers vector
- ];
- testHaskellDepends = [
- base containers exact-pi integer-gmp QuickCheck smallcheck tasty
- tasty-hunit tasty-quickcheck tasty-smallcheck transformers vector
- ];
- benchmarkHaskellDepends = [
- base containers deepseq gauge integer-logarithms random vector
- ];
- description = "Efficient basic number-theoretic functions";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "arithmoi_0_9_0_0" = callPackage
({ mkDerivation, array, base, containers, deepseq, exact-pi, gauge
, ghc-prim, integer-gmp, integer-logarithms, QuickCheck, random
, semirings, smallcheck, tasty, tasty-hunit, tasty-quickcheck
@@ -30715,7 +30951,6 @@ self: {
];
description = "Efficient basic number-theoretic functions";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"arity-generic-liftA" = callPackage
@@ -30810,18 +31045,37 @@ self: {
broken = true;
}) {inherit (pkgs) arpack;};
- "array_0_5_3_0" = callPackage
+ "array_0_5_4_0" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "array";
- version = "0.5.3.0";
- sha256 = "07pyr2x09n23rdxldqgbx12hlg9dk92q9p56bpcdw3r87ajc3m9z";
+ version = "0.5.4.0";
+ sha256 = "1ixqnwxd36l2j3873hwnfip17k2nzncbvsx7pnprqzv9z59mf4rv";
libraryHaskellDepends = [ base ];
description = "Mutable and immutable arrays";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "array-chunks" = callPackage
+ ({ mkDerivation, base, primitive, QuickCheck, quickcheck-classes
+ , tasty, tasty-hunit, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "array-chunks";
+ version = "0.1.0.0";
+ sha256 = "15x8l8m953ws3253zvxg4q0q0qqcc34wawijnzmq87y39g9ghlag";
+ libraryHaskellDepends = [ base primitive ];
+ testHaskellDepends = [
+ base primitive QuickCheck quickcheck-classes tasty tasty-hunit
+ tasty-quickcheck
+ ];
+ description = "Lists of chunks";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"array-forth" = callPackage
({ mkDerivation, array, base, HUnit, mcmc-synthesis
, modular-arithmetic, MonadRandom, OddWord, QuickCheck, split
@@ -30905,6 +31159,8 @@ self: {
];
description = "Memory-efficient ArrayList implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"arrow-extras" = callPackage
@@ -31088,6 +31344,8 @@ self: {
testHaskellDepends = [ base hedgehog jwt mtl text time ];
description = "Atlassian Service Authentication Protocol";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ascetic" = callPackage
@@ -31189,8 +31447,8 @@ self: {
}:
mkDerivation {
pname = "ascii-string";
- version = "1.0.1.3";
- sha256 = "1m11ms0x5di5qbckh2n7vnqqh94wv9p6zzynglg4ngijqhn4qjls";
+ version = "1.0.1.4";
+ sha256 = "1hzqckcbinhmsg8866y9gaghz4jvdhy7h5na9q0ylapx6kq71plf";
libraryHaskellDepends = [
base bytestring cereal deepseq deferred-folds foldl hashable
primitive primitive-extras
@@ -31201,6 +31459,8 @@ self: {
];
description = "Compact representation of ASCII strings";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ascii-table" = callPackage
@@ -31274,17 +31534,17 @@ self: {
"asciidiagram" = callPackage
({ mkDerivation, base, bytestring, containers, directory, filepath
, FontyFruity, JuicyPixels, lens, linear, mtl, optparse-applicative
- , rasterific-svg, svg-tree, text, vector
+ , pandoc-types, rasterific-svg, svg-tree, text, vector
}:
mkDerivation {
pname = "asciidiagram";
- version = "1.3.3.2";
- sha256 = "0kbf4jswdyvd0x4yk00ss4yjqla852rd64081lkf1xn7yi0k8d1b";
+ version = "1.3.3.3";
+ sha256 = "09k1kdaa0xi2fx9vfdlv2w2nxx5x1vnlkz7gp8s998a325w1x7q1";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base bytestring containers FontyFruity JuicyPixels lens linear mtl
- rasterific-svg svg-tree text vector
+ pandoc-types rasterific-svg svg-tree text vector
];
executableHaskellDepends = [
base bytestring directory filepath FontyFruity JuicyPixels
@@ -31310,44 +31570,6 @@ self: {
}) {};
"asif" = callPackage
- ({ mkDerivation, attoparsec, base, binary, bytestring, conduit
- , conduit-combinators, conduit-extra, containers, cpu, directory
- , either, exceptions, generic-lens, hedgehog, hspec, hw-bits
- , hw-hspec-hedgehog, hw-ip, iproute, lens, network, old-locale
- , optparse-applicative, resourcet, temporary-resourcet, text, thyme
- , vector
- }:
- mkDerivation {
- pname = "asif";
- version = "3.2.0";
- sha256 = "0ryg35rl7i89r28l0hpchgmrgmhxwgzxz7jhnwhqfwk5mql08hq0";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- attoparsec base binary bytestring conduit conduit-combinators
- conduit-extra containers cpu either exceptions generic-lens hw-bits
- hw-ip iproute lens network old-locale resourcet temporary-resourcet
- text thyme vector
- ];
- executableHaskellDepends = [
- attoparsec base binary bytestring conduit conduit-combinators
- conduit-extra containers cpu directory either exceptions
- generic-lens hw-bits hw-ip iproute lens network old-locale
- optparse-applicative resourcet temporary-resourcet text thyme
- vector
- ];
- testHaskellDepends = [
- attoparsec base binary bytestring conduit conduit-combinators
- conduit-extra containers cpu either exceptions generic-lens
- hedgehog hspec hw-bits hw-hspec-hedgehog hw-ip iproute lens network
- old-locale resourcet temporary-resourcet text thyme vector
- ];
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "asif_6_0_1" = callPackage
({ mkDerivation, attoparsec, base, binary, bytestring, conduit
, conduit-combinators, conduit-extra, containers, cpu, directory
, either, exceptions, foldl, generic-lens, hedgehog, hspec, hw-bits
@@ -31455,8 +31677,8 @@ self: {
pname = "asn1-data";
version = "0.7.2";
sha256 = "18dc4d71pvp5q6npxicqqj3fk6n39lm98450vvhgg4y9rc1rr6c3";
- revision = "1";
- editedCabalFile = "18qjn7asld26nlri6md4z3kmyvarvvg5wi7rwsg4ngrxw4gbqhqm";
+ revision = "2";
+ editedCabalFile = "0xnj367rxj21gnxq7d5qih54g0zwwyc6r6gaaijikhprppbvjjvy";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -31473,6 +31695,8 @@ self: {
pname = "asn1-encoding";
version = "0.9.5";
sha256 = "0adgbamyq0mj1l1hdq4zyyllay714bac1wl0rih3fv1z6vykp1hy";
+ revision = "1";
+ editedCabalFile = "0vsw8rd6fxd87rx3jyh3bb96sjd7ag0mrlylhkcmgaps2ma8sw5b";
libraryHaskellDepends = [ asn1-types base bytestring hourglass ];
testHaskellDepends = [
asn1-types base bytestring hourglass mtl tasty tasty-quickcheck
@@ -31499,8 +31723,8 @@ self: {
({ mkDerivation, base, bytestring, hourglass, memory }:
mkDerivation {
pname = "asn1-types";
- version = "0.3.2";
- sha256 = "05vjchyqiy9n275cygffhn0ma7fz7jx52j0dcdm9qm8h9bziymqc";
+ version = "0.3.3";
+ sha256 = "162lacdl9jr42pdhaj9hxqlba6hjxm6g866anna74q6v3cvw5ssp";
libraryHaskellDepends = [ base bytestring hourglass memory ];
description = "ASN.1 types";
license = stdenv.lib.licenses.bsd3;
@@ -31648,6 +31872,8 @@ self: {
pname = "assoc";
version = "1";
sha256 = "0i1jj6lrabl0fhh1iya4nxr2hw1s4xmhca5qnim93ng5znziv9n2";
+ revision = "1";
+ editedCabalFile = "0hcpyypnj9qwbpk079h6lnm8aa3mp3fzjilk9qwibkmnnqwwwcld";
libraryHaskellDepends = [ base bifunctors ];
description = "swap and assoc: Symmetric and Semigroupy Bifunctors";
license = stdenv.lib.licenses.bsd3;
@@ -31710,6 +31936,18 @@ self: {
broken = true;
}) {};
+ "ast-path" = callPackage
+ ({ mkDerivation, base, tasty, tasty-hunit }:
+ mkDerivation {
+ pname = "ast-path";
+ version = "0.2.0";
+ sha256 = "1pal5zw12f2vv7la2ijb6wgh4s3pafy4krsakgz9pcvbx96x1yxg";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base tasty tasty-hunit ];
+ description = "vocabulary representation for predicting program properties";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"astar" = callPackage
({ mkDerivation, base, hashable, psqueues, unordered-containers }:
mkDerivation {
@@ -31800,10 +32038,8 @@ self: {
}:
mkDerivation {
pname = "async";
- version = "2.2.1";
- sha256 = "09whscli1q5z7lzyq9rfk0bq1ydplh6pjmc6qv0x668k5818c2wg";
- revision = "2";
- editedCabalFile = "130rc6icx3h471qs417lkw9b2pfn27xd009liw58cmdk66zscizp";
+ version = "2.2.2";
+ sha256 = "1zxvfcyy4sg8lmzphi5dgnavksj5pav6rbvd5kc48lf4hanb2jjb";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base hashable stm ];
@@ -31928,8 +32164,8 @@ self: {
pname = "async-pool";
version = "0.9.0.2";
sha256 = "1wg78y80zd7qyizyis073dmmvq4s67ni1pkaq31jl5klr49rs5g0";
- revision = "1";
- editedCabalFile = "0w3l3lbnfdm9ihp7pfda4sf1y1cqpc6g6q6wjzafdi088l3lklkn";
+ revision = "2";
+ editedCabalFile = "1nqqjsgc44fpnsf3v37n0c866s733inssljw7wmd0fdqlxhmijis";
libraryHaskellDepends = [
async base containers fgl monad-control stm transformers
transformers-base
@@ -31940,8 +32176,6 @@ self: {
];
description = "A modified version of async that supports worker groups and many-to-many task dependencies";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"async-refresh" = callPackage
@@ -32422,8 +32656,8 @@ self: {
}:
mkDerivation {
pname = "ats-pkg";
- version = "3.2.5.16";
- sha256 = "044i1a6faw7r7ds910wk99mmg09ks1gdzc1md114nml614n3fqih";
+ version = "3.2.5.18";
+ sha256 = "16v3308zap5jhpd9xsvjdgp28330iscaikdl76jqf5jhb175pxzr";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -32524,8 +32758,8 @@ self: {
pname = "atto-lisp";
version = "0.2.2.3";
sha256 = "00a7w4jysx55y5xxmgm09akvhxxa3fs68wqn6mp789bvhvdk9khd";
- revision = "1";
- editedCabalFile = "0im8kc54hkfj578ck79j0ijc3iaigvx06pgj4sk8za26ryy7v46q";
+ revision = "2";
+ editedCabalFile = "065v6vllvwvm0zpkra7bl2hpz1lnhara13965p75pzdppv8ghd6w";
libraryHaskellDepends = [
attoparsec base blaze-builder blaze-textual bytestring containers
deepseq text
@@ -32569,10 +32803,8 @@ self: {
}:
mkDerivation {
pname = "attoparsec";
- version = "0.13.2.2";
- sha256 = "0j6qcwd146yzlkc9mcvzvnixsyl65n2a68l28322q5v9p4g4g4yx";
- revision = "3";
- editedCabalFile = "1birva836xdp92lf1v5yrs8lj3bgj9vnarrfh2ssfxxacqj1gjji";
+ version = "0.13.2.3";
+ sha256 = "1ngjn9h5n0vyki0m2jir4mg85875ysswy9hznpmj1r856mqwc6ix";
libraryHaskellDepends = [
array base bytestring containers deepseq scientific text
transformers
@@ -32715,6 +32947,8 @@ self: {
pname = "attoparsec-iso8601";
version = "1.0.1.0";
sha256 = "0hj10w15qp2z5bz2v4xahhmbgzclpyfi5l2sv97wqycysg9gp7s9";
+ revision = "1";
+ editedCabalFile = "1rjhscmczgs1bwyqx7lvkm8py3ylxjd2797mrzgnq60fvm292750";
libraryHaskellDepends = [ attoparsec base base-compat text time ];
description = "Parsing of ISO 8601 dates, originally from aeson";
license = stdenv.lib.licenses.bsd3;
@@ -32869,8 +33103,6 @@ self: {
];
description = "Variable-length integer decoding for Attoparsec";
license = stdenv.lib.licenses.lgpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"attosplit" = callPackage
@@ -33027,46 +33259,41 @@ self: {
}) {};
"aura" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, algebraic-graphs, array
- , async, aur, base, base-prelude, bytestring, compactable
- , containers, directory, errors, filepath, freer-simple
- , generic-lens, http-client, http-client-tls, http-types
- , language-bash, megaparsec, microlens, microlens-ghc, mtl
- , mwc-random, network-uri, non-empty-containers
+ ({ mkDerivation, aeson, aeson-pretty, algebraic-graphs, aur, base
+ , base-prelude, bytestring, compactable, containers, directory
+ , errors, filepath, fused-effects, generic-lens, http-client
+ , http-client-tls, http-types, language-bash, megaparsec, microlens
+ , microlens-ghc, mwc-random, network-uri, nonempty-containers
, optparse-applicative, paths, pretty-simple, prettyprinter
- , prettyprinter-ansi-terminal, semigroupoids, stm, tasty
- , tasty-hunit, text, throttled, time, transformers, typed-process
- , versions, witherable
+ , prettyprinter-ansi-terminal, scheduler, semigroupoids, stm, tasty
+ , tasty-hunit, text, these, time, transformers, typed-process
+ , unliftio, versions
}:
mkDerivation {
pname = "aura";
- version = "2.0.0";
- sha256 = "1k53r44kxy7p23nsjbx12mvn7nkl8j3h9fzy4v3dxyqkd4jz0996";
- revision = "1";
- editedCabalFile = "1z73n5fcrp23hms0l6r45p1knqqlng8g4gfb44a4raqj7da823zj";
+ version = "2.0.2";
+ sha256 = "1r11dzyy7z759ch664cml6lywh7033s6qrv56mkn41kn91jrl3qy";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson aeson-pretty algebraic-graphs array async aur base
- base-prelude bytestring compactable containers directory errors
- filepath freer-simple generic-lens http-client http-types
- language-bash megaparsec microlens microlens-ghc mtl mwc-random
- network-uri non-empty-containers paths pretty-simple prettyprinter
- prettyprinter-ansi-terminal semigroupoids stm text throttled time
- transformers typed-process versions witherable
+ aeson aeson-pretty algebraic-graphs aur base base-prelude
+ bytestring compactable containers directory errors filepath
+ fused-effects generic-lens http-client http-types language-bash
+ megaparsec microlens microlens-ghc mwc-random network-uri
+ nonempty-containers paths prettyprinter prettyprinter-ansi-terminal
+ scheduler semigroupoids stm text these time transformers
+ typed-process unliftio versions
];
executableHaskellDepends = [
- base base-prelude bytestring containers errors freer-simple
- http-client http-client-tls language-bash microlens
- non-empty-containers optparse-applicative paths pretty-simple
- prettyprinter prettyprinter-ansi-terminal text transformers
- typed-process versions
+ base base-prelude bytestring containers errors fused-effects
+ http-client http-client-tls microlens nonempty-containers
+ optparse-applicative paths pretty-simple prettyprinter
+ prettyprinter-ansi-terminal text transformers typed-process
+ versions
];
testHaskellDepends = [
- base base-prelude bytestring containers errors freer-simple
- http-client language-bash megaparsec microlens non-empty-containers
- paths pretty-simple prettyprinter prettyprinter-ansi-terminal tasty
- tasty-hunit text transformers typed-process versions
+ base base-prelude bytestring containers megaparsec microlens paths
+ tasty tasty-hunit text versions
];
description = "A secure package manager for Arch Linux and the AUR, written in Haskell";
license = stdenv.lib.licenses.gpl3;
@@ -33189,12 +33416,13 @@ self: {
}) {};
"auto-update" = callPackage
- ({ mkDerivation, base }:
+ ({ mkDerivation, base, exceptions, hspec, HUnit, retry }:
mkDerivation {
pname = "auto-update";
- version = "0.1.4.1";
- sha256 = "1jfgxwicd0r31dcbcd83sj99v1w9mbg873xp7v7z21gmxhalpzrm";
+ version = "0.1.6";
+ sha256 = "1i36xc2i34aync8271x3pv515l3zb53i518dybn8ghqkhzf27q7l";
libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base exceptions hspec HUnit retry ];
description = "Efficiently run periodic, on-demand actions";
license = stdenv.lib.licenses.mit;
}) {};
@@ -33203,8 +33431,8 @@ self: {
({ mkDerivation, base, Cabal, directory, filepath }:
mkDerivation {
pname = "autoexporter";
- version = "1.1.13";
- sha256 = "05mgvif7wiq0vplk92kp8qn4a5wfma1gwdihqlz5lspmczszpdkv";
+ version = "1.1.14";
+ sha256 = "0ijykr8qg7ijadlkn0gx3n06n14ihar8dvaddmmaab2awpmaa3l8";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base Cabal directory filepath ];
@@ -33408,8 +33636,8 @@ self: {
pname = "avers";
version = "0.0.17.1";
sha256 = "1x96fvx0z7z75c39qcggw70qvqnw7kzjf0qqxb3jwg3b0fmdhi8v";
- revision = "31";
- editedCabalFile = "03nzgni96r6yfmn196iya6akrzh46njqzd2873aj341ynfaqjyy1";
+ revision = "32";
+ editedCabalFile = "0p4jhc8rxvm82cp3zaibazb5jnjs33vl4f71pvgvzf31xd7immyy";
libraryHaskellDepends = [
aeson attoparsec base bytestring clock containers cryptonite
filepath inflections memory MonadRandom mtl network network-uri
@@ -33560,8 +33788,8 @@ self: {
}:
mkDerivation {
pname = "avro";
- version = "0.4.4.2";
- sha256 = "1x01f05rhz4nhvzbzai5817c9ajqnph1vfn0z8cp4y7r4srm55w0";
+ version = "0.4.5.2";
+ sha256 = "0cy2r8jrnyxwsxpd6mah4g56xh8n93f6gd613a4bwg8kqvykrpgq";
libraryHaskellDepends = [
aeson array base base16-bytestring bifunctors binary bytestring
containers data-binary-ieee754 deepseq fail hashable mtl scientific
@@ -33572,13 +33800,13 @@ self: {
aeson array base base16-bytestring bifunctors binary bytestring
containers directory extra fail hashable hspec lens lens-aeson mtl
pure-zlib QuickCheck raw-strings-qq scientific semigroups tagged
- template-haskell text tf-random transformers unordered-containers
- vector
+ text tf-random transformers unordered-containers vector
];
testToolDepends = [ hspec-discover ];
benchmarkHaskellDepends = [
aeson base bytestring containers gauge hashable mtl random
- raw-strings-qq text transformers unordered-containers vector
+ raw-strings-qq template-haskell text transformers
+ unordered-containers vector
];
description = "Avro serialization support for Haskell";
license = stdenv.lib.licenses.bsd3;
@@ -33745,8 +33973,8 @@ self: {
}:
mkDerivation {
pname = "aws-cloudfront-signed-cookies";
- version = "0.2.0.0";
- sha256 = "0cbhlxrdx09050pblca1p8f0f7n51p4nifp1xk48203ap435dnpj";
+ version = "0.2.0.1";
+ sha256 = "1yk40n6gjs72pyi6yjwhqj0dngqc4b74rpg0ji61852nbb0snl28";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -33861,6 +34089,8 @@ self: {
];
description = "Helper function and types for working with amazonka";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"aws-ec2" = callPackage
@@ -34084,23 +34314,19 @@ self: {
}) {};
"aws-lambda-haskell-runtime" = callPackage
- ({ mkDerivation, aeson, base, bytestring, case-insensitive, conduit
- , directory, filepath, hspec, http-client, microlens-platform, mtl
- , optparse-generic, process, template-haskell, text, uuid, wreq
+ ({ mkDerivation, aeson, base, bytestring, hspec, http-client
+ , http-types, path, path-io, safe-exceptions-checked
+ , template-haskell, text
}:
mkDerivation {
pname = "aws-lambda-haskell-runtime";
- version = "1.0.10";
- sha256 = "09rd4jfw59j003q14y76isdb5dg23r0vxqkg8jqf49c9gap7wqsq";
- isLibrary = true;
- isExecutable = true;
+ version = "2.0.1";
+ sha256 = "0q8x5zqxql403wm9ndii42lac8737i0qhd7p7nsy3i2sswfr5gry";
libraryHaskellDepends = [
- aeson base bytestring case-insensitive conduit directory filepath
- http-client microlens-platform mtl optparse-generic process
- template-haskell text uuid wreq
+ aeson base bytestring http-client http-types path path-io
+ safe-exceptions-checked template-haskell text
];
- executableHaskellDepends = [ base mtl ];
- testHaskellDepends = [ base hspec mtl ];
+ testHaskellDepends = [ base hspec ];
description = "Haskell runtime for AWS Lambda";
license = stdenv.lib.licenses.asl20;
}) {};
@@ -34125,6 +34351,8 @@ self: {
executableHaskellDepends = [ aeson base lens lens-aeson text ];
description = "Haskell on AWS Lambda Runtime API";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"aws-mfa-credentials" = callPackage
@@ -34288,6 +34516,8 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "Wrapper over Amazonka's SES";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"aws-sign4" = callPackage
@@ -34569,6 +34799,8 @@ self: {
pname = "b-tree";
version = "0.1.4";
sha256 = "17hcv85020dm5h3449bfa763bcbl723h17chah4418dby2ql5lxg";
+ revision = "1";
+ editedCabalFile = "106vsqgv7545p0rky073sd7viidbg4zy3fzlb39r9irbl3p3giih";
libraryHaskellDepends = [
base binary bytestring containers directory errors exceptions
filepath lens mmap mtl pipes pipes-interleave transformers vector
@@ -34651,6 +34883,40 @@ self: {
broken = true;
}) {};
+ "backblaze-b2-hs" = callPackage
+ ({ mkDerivation, aeson, base, base64-bytestring, bytestring
+ , case-insensitive, conduit, containers, cryptonite, formatting
+ , http-client, http-types, protolude, req, req-conduit, scientific
+ , tasty, tasty-hunit, text, time, unliftio, unliftio-core
+ }:
+ mkDerivation {
+ pname = "backblaze-b2-hs";
+ version = "0.1.0.0";
+ sha256 = "18xpjz3w9yw79732xiz8278gbd1v9vg534l0h9azg0wwhd8vbh7j";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base base64-bytestring bytestring case-insensitive conduit
+ containers cryptonite formatting http-client http-types protolude
+ req req-conduit scientific text time unliftio unliftio-core
+ ];
+ executableHaskellDepends = [
+ aeson base base64-bytestring bytestring case-insensitive conduit
+ containers cryptonite formatting http-client http-types protolude
+ req req-conduit scientific text time unliftio unliftio-core
+ ];
+ testHaskellDepends = [
+ aeson base base64-bytestring bytestring case-insensitive conduit
+ containers cryptonite formatting http-client http-types protolude
+ req req-conduit scientific tasty tasty-hunit text time unliftio
+ unliftio-core
+ ];
+ description = "A client library to access Backblaze B2 cloud storage in Haskell";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"backdropper" = callPackage
({ mkDerivation, base, directory, haskell98, hslogger, old-time
, process, random
@@ -34677,8 +34943,8 @@ self: {
}:
mkDerivation {
pname = "backprop";
- version = "0.2.6.2";
- sha256 = "10w3fb25jw7s3bal6hd0a7g5hzbdd4b3whzxkm9b3g0y36i713dm";
+ version = "0.2.6.3";
+ sha256 = "0zk3k20c100iwqcvg1xw2vdysn01w4h9jypz08xs849n1a3bp7di";
libraryHaskellDepends = [
base containers deepseq microlens primitive reflection transformers
vector vinyl
@@ -34689,6 +34955,33 @@ self: {
];
description = "Heterogeneous automatic differentation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "backstop" = callPackage
+ ({ mkDerivation, base, directory, filepath, HUnit, mtl, process
+ , QuickCheck, unix
+ }:
+ mkDerivation {
+ pname = "backstop";
+ version = "1.3.0.352";
+ sha256 = "1790n52amkvwlm92rh6i6rxfxbw2n2cfam2sf0cx4yf160jxvyj3";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base directory filepath mtl process unix
+ ];
+ executableHaskellDepends = [
+ base directory filepath mtl process unix
+ ];
+ testHaskellDepends = [
+ base filepath HUnit process QuickCheck unix
+ ];
+ description = "Backstop a target directory by source directories";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"backtracking-exceptions" = callPackage
@@ -34988,8 +35281,8 @@ self: {
({ mkDerivation, base, containers, hspec, QuickCheck, time }:
mkDerivation {
pname = "bank-holidays-england";
- version = "0.1.0.8";
- sha256 = "0ak7m4xaymbh3cyhddj45p0pcazf79lnp63wvh4kh2f4fwh4f69j";
+ version = "0.2.0.2";
+ sha256 = "1r82plqk1danqby90snmp4zjzdkwryvhbzj1c67b0h0k9w42v781";
libraryHaskellDepends = [ base containers time ];
testHaskellDepends = [ base containers hspec QuickCheck time ];
description = "Calculation of bank holidays in England and Wales";
@@ -35023,8 +35316,8 @@ self: {
}:
mkDerivation {
pname = "barbies";
- version = "1.1.2.1";
- sha256 = "0svcdjs03i4ryhg3qzrp3l7ck0ilgnhxwc2h69qnzknqjklz7p1y";
+ version = "1.1.3.0";
+ sha256 = "0fb7d0fr46zm8y00nipq8vvq5fvhsx41jj52zvz27f690azpj961";
libraryHaskellDepends = [ base bifunctors ];
testHaskellDepends = [
base QuickCheck tasty tasty-hunit tasty-quickcheck
@@ -35033,6 +35326,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "barbly" = callPackage
+ ({ mkDerivation, aeson, async, attoparsec, base, bytestring, mtl
+ , optparse-applicative, shh, text
+ }:
+ mkDerivation {
+ pname = "barbly";
+ version = "0.1.0.0";
+ sha256 = "1mmbvgw5g2jb8qv7vd00iym9xyb07jx03wi6x1ldqvzfn2vcc22l";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson async attoparsec base bytestring mtl optparse-applicative shh
+ text
+ ];
+ description = "Create status bar menus for macOS from executables";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"barchart" = callPackage
({ mkDerivation, base, cmdargs, csv, diagrams, filepath }:
mkDerivation {
@@ -35174,6 +35487,18 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "base-compat_0_11_0" = callPackage
+ ({ mkDerivation, base, unix }:
+ mkDerivation {
+ pname = "base-compat";
+ version = "0.11.0";
+ sha256 = "0svswi3nby9cabai2l9mkcx0c9zqw9y8js50sh09cms1s2jjly26";
+ libraryHaskellDepends = [ base unix ];
+ description = "A compatibility layer for base";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"base-compat-batteries" = callPackage
({ mkDerivation, base, base-compat, hspec, hspec-discover
, QuickCheck
@@ -35191,6 +35516,22 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "base-compat-batteries_0_11_0" = callPackage
+ ({ mkDerivation, base, base-compat, hspec, hspec-discover
+ , QuickCheck
+ }:
+ mkDerivation {
+ pname = "base-compat-batteries";
+ version = "0.11.0";
+ sha256 = "0r9p14ks2fspbhj61b2gi4ixipkhhkzpcx0y35nf4yypcqv5262h";
+ libraryHaskellDepends = [ base base-compat ];
+ testHaskellDepends = [ base hspec QuickCheck ];
+ testToolDepends = [ hspec-discover ];
+ description = "base-compat with extra batteries";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"base-compat-migrate" = callPackage
({ mkDerivation, base, base-compat }:
mkDerivation {
@@ -35215,8 +35556,8 @@ self: {
pname = "base-encoding";
version = "0.1.0.0";
sha256 = "1chmx5qvglf91i0c9ih9xydzb37v8j4bykvmb2g6pyg7wdq0s8si";
- revision = "1";
- editedCabalFile = "0miysladpqwm5qhphv23qhvambd7245n14qbkgvp664xj56y6df1";
+ revision = "2";
+ editedCabalFile = "0flfvs03zs7k04x7yhsc3jiw3zpnx7n3637jyy10flpqv90fy6sx";
libraryHaskellDepends = [
base base16-bytestring base64-bytestring bytestring text
];
@@ -35276,6 +35617,19 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "base-noprelude_4_13_0_0" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "base-noprelude";
+ version = "4.13.0.0";
+ sha256 = "1ld1phm7jpyvm33dj568gy28inbiklrj00yvb83v5y7rn01w32kp";
+ libraryHaskellDepends = [ base ];
+ doHaddock = false;
+ description = "\"base\" package sans \"Prelude\" module";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"base-orphans" = callPackage
({ mkDerivation, base, ghc-prim, hspec, hspec-discover, QuickCheck
}:
@@ -35312,6 +35666,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "base-unicode-symbols_0_2_4_2" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "base-unicode-symbols";
+ version = "0.2.4.2";
+ sha256 = "0qkhp4ybmx4nbqqkrmw3hkm47bv61i2wpi20qb09wvk10g2dcr23";
+ libraryHaskellDepends = [ base ];
+ description = "Unicode alternatives for common functions and operators";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"base16-bytestring" = callPackage
({ mkDerivation, base, bytestring, ghc-prim }:
mkDerivation {
@@ -35454,6 +35820,8 @@ self: {
pname = "base64-bytestring-type";
version = "1.0.1";
sha256 = "03kq4rjj6by02rf3hg815jfdqpdk0xygm5f46r2pn8mb99yd01zn";
+ revision = "3";
+ editedCabalFile = "0gqyij803y0shpc5knljbffss6c1pbdanfzwlws01vkl4y10sfja";
libraryHaskellDepends = [
aeson base base-compat base64-bytestring binary bytestring cereal
deepseq hashable http-api-data QuickCheck serialise text
@@ -35464,8 +35832,6 @@ self: {
];
description = "A newtype around ByteString, for base64 encoding";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"base64-conduit" = callPackage
@@ -35526,10 +35892,10 @@ self: {
({ mkDerivation, base, ghc-prim }:
mkDerivation {
pname = "basement";
- version = "0.0.10";
- sha256 = "01gmqkwd8cizlsn24wb1ld358k40kbaw84579y0h5nl7f41iniz3";
- revision = "1";
- editedCabalFile = "1n5wv093zx760rrd5vs5symj61fnr8pcbpzs0sbpl6n82qys3c8i";
+ version = "0.0.11";
+ sha256 = "0srlws74yiraqaapgcjd9p5d1fwb3zr9swcz74jpjm55fls2nn37";
+ revision = "2";
+ editedCabalFile = "1l95bzmn23cmx386hk3d3r0ykdaibh9rp489lcnba5g56kiy4hxg";
libraryHaskellDepends = [ base ghc-prim ];
description = "Foundation scrap box of array & string";
license = stdenv.lib.licenses.bsd3;
@@ -35955,6 +36321,25 @@ self: {
broken = true;
}) {};
+ "bcp47" = callPackage
+ ({ mkDerivation, aeson, base, containers, country, doctest
+ , generic-arbitrary, hspec, iso639, megaparsec, QuickCheck, text
+ }:
+ mkDerivation {
+ pname = "bcp47";
+ version = "0.1.0.0";
+ sha256 = "1cy2wdp97mvyg1fvkmi6vzd8vd9v8645nd5cfzgp4whhy0v5y7rj";
+ libraryHaskellDepends = [
+ aeson base containers country generic-arbitrary iso639 megaparsec
+ QuickCheck text
+ ];
+ testHaskellDepends = [
+ aeson base containers country doctest hspec iso639 QuickCheck text
+ ];
+ description = "Language tags as specified by BCP 47";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"bcrypt" = callPackage
({ mkDerivation, base, bytestring, data-default, entropy, memory }:
mkDerivation {
@@ -36216,6 +36601,8 @@ self: {
];
description = "Connection layer between beam and postgres";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"beam-sqlite" = callPackage
@@ -36416,6 +36803,8 @@ self: {
pname = "bench";
version = "1.0.12";
sha256 = "1sy97qpv6paar2d5syppk6lc06wjx6qyz5aidsmh30jq853nydx6";
+ revision = "1";
+ editedCabalFile = "0sk6vkjwk7g1diwah67ifj7s69qvwi52ngaijkfx5prn0vz24ldn";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -36439,28 +36828,32 @@ self: {
testHaskellDepends = [ base split text ];
description = "Plot and compare benchmarks";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"bench-show" = callPackage
({ mkDerivation, ansi-wl-pprint, base, Chart, Chart-diagrams, csv
- , directory, filepath, mwc-random, split, statistics, text
+ , directory, filepath, mwc-random, optparse-applicative
+ , optparse-simple, semigroups, split, statistics, text
, transformers, vector
}:
mkDerivation {
pname = "bench-show";
- version = "0.2.2";
- sha256 = "12fi59j9a98n4q6gjvjsf0hjc2rsy33b7kzjiqxy5wzh8isciaa4";
+ version = "0.3.0";
+ sha256 = "0c690w96iyj6idikcwl75ci5sqvfh4fdd8mvb4z24x3xb24kirh5";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
ansi-wl-pprint base Chart Chart-diagrams csv directory filepath
mwc-random split statistics transformers vector
];
+ executableHaskellDepends = [
+ ansi-wl-pprint base Chart Chart-diagrams csv directory filepath
+ mwc-random optparse-applicative optparse-simple semigroups split
+ statistics transformers vector
+ ];
testHaskellDepends = [ base split text ];
description = "Show, plot and compare benchmark results";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"benchmark-function" = callPackage
@@ -36494,6 +36887,8 @@ self: {
pname = "bencode";
version = "0.6.0.0";
sha256 = "12pnh598k30ggs54f0pic19j7ji8f4xn7fydkdnlig79rvzgv3iv";
+ revision = "1";
+ editedCabalFile = "0nvph7frmrra9k57v01saxgnhf1ma3m8qzwj1i53pswssfnj41mv";
libraryHaskellDepends = [
base binary bytestring containers parsec
];
@@ -36704,8 +37099,6 @@ self: {
];
description = "A horizontal version of tetris for braille users";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"between" = callPackage
@@ -36760,6 +37153,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "bglib" = callPackage
+ ({ mkDerivation, async, base, binary, bytestring, monad-loops, mtl
+ , optparse-applicative, serialport, stm
+ }:
+ mkDerivation {
+ pname = "bglib";
+ version = "2.0.0.0";
+ sha256 = "1h9ql3xz5yciwk2hd1mljql0avrqv66fswdl8bll0xpga7jnpvr8";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base binary bytestring monad-loops mtl serialport stm
+ ];
+ executableHaskellDepends = [
+ async base bytestring mtl optparse-applicative serialport stm
+ ];
+ description = "Implementation of the BGAPI serial protocol";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"bgmax" = callPackage
({ mkDerivation, attoparsec, base, bytestring, time }:
mkDerivation {
@@ -36769,8 +37182,6 @@ self: {
libraryHaskellDepends = [ attoparsec base bytestring time ];
description = "Parse BgMax-files";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"bgzf" = callPackage
@@ -36906,8 +37317,6 @@ self: {
libraryHaskellDepends = [ base category ];
description = "Bifunctors";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"bifunctors" = callPackage
@@ -36917,10 +37326,8 @@ self: {
}:
mkDerivation {
pname = "bifunctors";
- version = "5.5.4";
- sha256 = "134vn71wd194175k2fcdvd0ak2bdmdbk6ql5lls4byff7zs2rmi9";
- revision = "1";
- editedCabalFile = "05qh2xh2j3w5f1q94wfgfp06z9c4fyrgm4cncy6y2lbb1ficsh3j";
+ version = "5.5.5";
+ sha256 = "0rn47q8dzv0g1fyams99p4py6q0asxdc50q9k0nj497brk738xcb";
libraryHaskellDepends = [
base base-orphans comonad containers tagged template-haskell
th-abstraction transformers
@@ -37068,16 +37475,18 @@ self: {
}) {};
"bimap" = callPackage
- ({ mkDerivation, base, containers, exceptions, QuickCheck
+ ({ mkDerivation, base, containers, deepseq, exceptions, QuickCheck
, template-haskell
}:
mkDerivation {
pname = "bimap";
- version = "0.3.3";
- sha256 = "1lca7bdw4bh8xj88g0h05dq43dis9ah858r2pbnkxgdwqxar70kk";
- libraryHaskellDepends = [ base containers exceptions ];
+ version = "0.4.0";
+ sha256 = "1794iykd7rhj29y0w4vyjyn6wnw28hi8sxzvm1j5ivdzmf39d8yi";
+ revision = "1";
+ editedCabalFile = "111wyqh17a6pkjhyaz8n1891m69hwr2gybqcpacw4xdmarxmi7f5";
+ libraryHaskellDepends = [ base containers deepseq exceptions ];
testHaskellDepends = [
- base containers exceptions QuickCheck template-haskell
+ base containers deepseq exceptions QuickCheck template-haskell
];
description = "Bidirectional mapping between two key types";
license = stdenv.lib.licenses.bsd3;
@@ -37150,22 +37559,22 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "binary_0_8_6_0" = callPackage
- ({ mkDerivation, array, attoparsec, base, bytestring, Cabal, cereal
- , containers, criterion, deepseq, directory, filepath
- , generic-deriving, HUnit, mtl, QuickCheck, random, test-framework
- , test-framework-quickcheck2, unordered-containers, zlib
+ "binary_0_8_7_0" = callPackage
+ ({ mkDerivation, array, attoparsec, base, base-orphans, bytestring
+ , Cabal, cereal, containers, criterion, deepseq, directory
+ , filepath, generic-deriving, HUnit, mtl, QuickCheck, random
+ , test-framework, test-framework-quickcheck2, unordered-containers
+ , zlib
}:
mkDerivation {
pname = "binary";
- version = "0.8.6.0";
- sha256 = "0pz1va9bmj4daw8gi8r6d1rrnqsd4bislky6d8pjwwbyrgrw9s8y";
- revision = "1";
- editedCabalFile = "1mig95fa26jpjr0lwdkgl1l6ldxg5wzgnd1psps17xzv15cbahb2";
+ version = "0.8.7.0";
+ sha256 = "1r29yg94imhrbzjsv8ghf3217rhlas7945cp9i3dxzskzviyz78x";
libraryHaskellDepends = [ array base bytestring containers ];
testHaskellDepends = [
- array base bytestring Cabal containers directory filepath HUnit
- QuickCheck random test-framework test-framework-quickcheck2
+ array base base-orphans bytestring Cabal containers directory
+ filepath HUnit QuickCheck random test-framework
+ test-framework-quickcheck2
];
benchmarkHaskellDepends = [
array attoparsec base bytestring cereal containers criterion
@@ -37344,6 +37753,8 @@ self: {
pname = "binary-instances";
version = "1";
sha256 = "07y9582vsw94ks8whkd3dcmf4wdwlq8riyk2shmxxprkq0gsv3z0";
+ revision = "2";
+ editedCabalFile = "0yawdwm086gk51y5s5zbybiwiv386cx8xyj6kcgj9wwdidcnaxdi";
libraryHaskellDepends = [
aeson base binary binary-orphans case-insensitive hashable
scientific tagged text text-binary time-compat unordered-containers
@@ -37356,8 +37767,6 @@ self: {
];
description = "Orphan instances for binary";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"binary-list" = callPackage
@@ -37390,32 +37799,6 @@ self: {
}) {};
"binary-orphans" = callPackage
- ({ mkDerivation, aeson, base, binary, case-insensitive, hashable
- , QuickCheck, quickcheck-instances, scientific, tagged, tasty
- , tasty-quickcheck, text, text-binary, time, unordered-containers
- , vector, vector-binary-instances
- }:
- mkDerivation {
- pname = "binary-orphans";
- version = "0.1.8.0";
- sha256 = "1k6067wn9zki7xvbslvxx8cq1wrmz3kjb3q3x8mxycc9v765fxgi";
- revision = "5";
- editedCabalFile = "1dny1jvwwcyrbzhqvymmn6n7ib48bpy0nasbrcrdrpzjypkmg500";
- libraryHaskellDepends = [
- aeson base binary case-insensitive hashable scientific tagged text
- text-binary time unordered-containers vector
- vector-binary-instances
- ];
- testHaskellDepends = [
- aeson base binary case-insensitive hashable QuickCheck
- quickcheck-instances scientific tagged tasty tasty-quickcheck text
- time unordered-containers vector
- ];
- description = "Orphan instances for binary";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "binary-orphans_1_0_1" = callPackage
({ mkDerivation, base, binary, QuickCheck, quickcheck-instances
, tagged, tasty, tasty-quickcheck, transformers
}:
@@ -37423,6 +37806,8 @@ self: {
pname = "binary-orphans";
version = "1.0.1";
sha256 = "0gbmn5rpvyxhw5bxjmxwld6918lslv03b2f6hshssaw1il5x86j3";
+ revision = "1";
+ editedCabalFile = "0sww1904gn3sxvj94ac8l1g50v0j3fgpfiynbpvg0yhqsbfazi3n";
libraryHaskellDepends = [ base binary transformers ];
testHaskellDepends = [
base binary QuickCheck quickcheck-instances tagged tasty
@@ -37430,7 +37815,6 @@ self: {
];
description = "Compatibility package for binary; provides instances";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"binary-parser" = callPackage
@@ -37463,10 +37847,8 @@ self: {
}:
mkDerivation {
pname = "binary-parsers";
- version = "0.2.3.0";
- sha256 = "0yi13cf36w5ilh1cyd7rvyagibbbgbjdym7gp6zgq3lm7d4raqdw";
- revision = "1";
- editedCabalFile = "09ag18yr1m26fl3w7ab1d5q5j201ygbw7qsbsy41bwd6iq87rq15";
+ version = "0.2.4.0";
+ sha256 = "1jmr9djkp9ndysly8g1najzy38xhjpflri5jkwlyfnd2vk9x74yi";
libraryHaskellDepends = [
base binary bytestring bytestring-lexing scientific
];
@@ -37621,37 +38003,6 @@ self: {
}) {};
"binary-tagged" = callPackage
- ({ mkDerivation, aeson, array, base, base16-bytestring, bifunctors
- , binary, binary-orphans, bytestring, containers, criterion
- , deepseq, generics-sop, hashable, nats, quickcheck-instances
- , scientific, semigroups, SHA, tagged, tasty, tasty-quickcheck
- , text, time, unordered-containers, vector
- }:
- mkDerivation {
- pname = "binary-tagged";
- version = "0.1.5.2";
- sha256 = "04yy7af7iv6i4wbv69j9vldk8c2xaxd9vz3cg0j1dn7h4dmwwbsz";
- libraryHaskellDepends = [
- aeson array base base16-bytestring binary bytestring containers
- generics-sop hashable scientific SHA tagged text time
- unordered-containers vector
- ];
- testHaskellDepends = [
- aeson array base base16-bytestring bifunctors binary binary-orphans
- bytestring containers generics-sop hashable quickcheck-instances
- scientific SHA tagged tasty tasty-quickcheck text time
- unordered-containers vector
- ];
- benchmarkHaskellDepends = [
- aeson array base base16-bytestring binary binary-orphans bytestring
- containers criterion deepseq generics-sop hashable nats scientific
- semigroups SHA tagged text time unordered-containers vector
- ];
- description = "Tagged binary serialisation";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "binary-tagged_0_2" = callPackage
({ mkDerivation, aeson, array, base, base16-bytestring, bifunctors
, binary, binary-instances, bytestring, containers, criterion
, cryptohash-sha1, deepseq, generics-sop, hashable, nats
@@ -37682,7 +38033,6 @@ self: {
];
description = "Tagged binary serialisation";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"binary-tree" = callPackage
@@ -37773,8 +38123,8 @@ self: {
pname = "binding-core";
version = "0.2.2";
sha256 = "0qr7nr9cksy2cx2h8g2d485797hvv67197c654va0xwadkj5iviz";
- revision = "1";
- editedCabalFile = "1ijm34wxyxpx38yw42kl5yrb8i3gv1z7dvxhb98jz6pqxgqcvshs";
+ revision = "2";
+ editedCabalFile = "1cl8k9d0kkhxhdska3mk2c7w4xnyz7z0pd8xyynls0jx0qya0irl";
libraryHaskellDepends = [ base stm ];
testHaskellDepends = [ base HTF HUnit QuickCheck random ];
description = "Data Binding";
@@ -37787,8 +38137,8 @@ self: {
pname = "binding-gtk";
version = "0.2.1";
sha256 = "0l68n13w1khfqkc791l9mcnk3cb0565a9ysfn7b3hh5cjx8zi7vr";
- revision = "1";
- editedCabalFile = "1dcccb26m1ih3mbkhf72rmz9ywva7llxjvg9s6fpssjxpms5fhwy";
+ revision = "2";
+ editedCabalFile = "1rcipk9zk7w0q0x9sxsdy53bak9izj0bix6jykzhsxywidcriwcy";
libraryHaskellDepends = [ base binding-core gtk mtl ];
testHaskellDepends = [ base binding-core directory gtk ];
description = "Data Binding in Gtk2Hs";
@@ -37803,8 +38153,8 @@ self: {
pname = "binding-wx";
version = "0.2.1";
sha256 = "07nbb6a0fmyhmx2dakkw4msxnv273hfcw3swdk3aczpfqlxd1r4i";
- revision = "1";
- editedCabalFile = "1cpgwbzix794by0mvh3lrqv1pakh7i56hap3xhs7z2xccqc461q3";
+ revision = "2";
+ editedCabalFile = "18jckk1pf0bds9s3bw6bklp3nam4bxxs5nlkswar297byfpzghk1";
libraryHaskellDepends = [ base binding-core stm wx wxcore ];
testHaskellDepends = [ base binding-core directory wx ];
description = "Data Binding in WxHaskell";
@@ -38568,7 +38918,7 @@ self: {
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) wlc;};
+ }) {wlc = null;};
"bindings-yices" = callPackage
({ mkDerivation, base, gmp, yices }:
@@ -38589,6 +38939,8 @@ self: {
pname = "bindynamic";
version = "1.0.0.1";
sha256 = "1dp52xagwgzmm77f1cm8mvwjy7xnckbkf1inxskq0c7xcch4wbfb";
+ revision = "1";
+ editedCabalFile = "0mq2h1j1xd52irb35y9j0znxzpk661w3dl4d5a011sln4jd3f663";
libraryHaskellDepends = [ base binary bytestring rank1dynamic ];
description = "A variation of Data.Dynamic.Dynamic with a Binary instance";
license = stdenv.lib.licenses.gpl3;
@@ -38663,8 +39015,6 @@ self: {
];
description = "Aggregate continuous values into discrete bins";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"bio" = callPackage
@@ -38777,19 +39127,19 @@ self: {
}) {};
"biohazard" = callPackage
- ({ mkDerivation, async, attoparsec, base, base-prelude, bytestring
- , containers, exceptions, hashable, primitive, stm, text
- , transformers, unix, unordered-containers, vector
- , vector-algorithms, vector-th-unbox, zlib
+ ({ mkDerivation, attoparsec, base, base-prelude, bytestring
+ , containers, directory, exceptions, hashable, primitive, stm
+ , streaming, text, transformers, unix, unordered-containers, vector
+ , vector-algorithms, zlib
}:
mkDerivation {
pname = "biohazard";
- version = "1.1.1";
- sha256 = "1b9jba89l4jsyzxn3s40qp0njq4b5hdgvbs07vsrrbnlwlvshb7a";
+ version = "2.0";
+ sha256 = "0aq884bl3p4sr0lldwhmgqdhvmr6mxmcvnghli472jrrnijgbrxh";
libraryHaskellDepends = [
- async attoparsec base base-prelude bytestring containers exceptions
- hashable primitive stm text transformers unix unordered-containers
- vector vector-algorithms vector-th-unbox zlib
+ attoparsec base base-prelude bytestring containers directory
+ exceptions hashable primitive stm streaming text transformers unix
+ unordered-containers vector vector-algorithms zlib
];
description = "bioinformatics support library";
license = stdenv.lib.licenses.bsd3;
@@ -38924,8 +39274,8 @@ self: {
}:
mkDerivation {
pname = "birch-beer";
- version = "0.1.2.1";
- sha256 = "18mz6qij6frpg7d4jh1cw6jwkxd5gymrhdvprm8yq84ndcn6jxrx";
+ version = "0.1.4.5";
+ sha256 = "1yyb897yg2ipvz6jsc6np1jwlckyi41jq94dwxlpyj2sigawzvwh";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -38972,17 +39322,16 @@ self: {
"bisc" = callPackage
({ mkDerivation, base, configurator, directory, filepath, mtl
- , selda, selda-sqlite, text, xdg-basedir
+ , selda, selda-sqlite, text
}:
mkDerivation {
pname = "bisc";
- version = "0.2.0.0";
- sha256 = "07fgilmgkz95ar8gc1dvxq65xd82hvqr7y54550f1i55d2h3q95j";
+ version = "0.2.3.0";
+ sha256 = "0x03smkfx0qnsxznlp1591gi938f15w057hywfp9497mhvkr7mxg";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base configurator directory filepath mtl selda selda-sqlite text
- xdg-basedir
];
description = "A small tool that clears qutebrowser cookies";
license = stdenv.lib.licenses.gpl3;
@@ -39018,8 +39367,8 @@ self: {
}:
mkDerivation {
pname = "bishbosh";
- version = "0.0.0.3";
- sha256 = "0kwscgfwpyn5ppwg8kfvxbmm6gmg1cvf9d7dhmbi6qydxaj0n11v";
+ version = "0.0.0.4";
+ sha256 = "0d9mn2jn1iv9x41c1yskfkx9d7papwn863gc1wffcb6aw8wg4mrz";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -39658,23 +40007,24 @@ self: {
}) {};
"bitvec" = callPackage
- ({ mkDerivation, base, HUnit, primitive, QuickCheck
- , quickcheck-classes, test-framework, test-framework-hunit
- , test-framework-quickcheck2, vector
+ ({ mkDerivation, base, containers, gauge, ghc-prim, primitive
+ , quickcheck-classes, random, tasty, tasty-hunit, tasty-quickcheck
+ , vector
}:
mkDerivation {
pname = "bitvec";
- version = "0.2.0.1";
- sha256 = "0mgmf60gy3nzp66mf4bydls46bddk76rz40zkdfp0hhsspasia9b";
- libraryHaskellDepends = [ base primitive vector ];
+ version = "1.0.0.1";
+ sha256 = "1b3cf8f3a2xx4m80699p63id26dj61d7lgz38n5kv0vskq1zfcsp";
+ revision = "1";
+ editedCabalFile = "0q8hc4i62l43kpg8q3nqqzz03cdcv36ins2741sw3956sj92xfh4";
+ libraryHaskellDepends = [ base ghc-prim primitive vector ];
testHaskellDepends = [
- base HUnit primitive QuickCheck quickcheck-classes test-framework
- test-framework-hunit test-framework-quickcheck2 vector
+ base primitive quickcheck-classes tasty tasty-hunit
+ tasty-quickcheck vector
];
- description = "Unboxed bit vectors";
- license = stdenv.lib.licenses.publicDomain;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ benchmarkHaskellDepends = [ base containers gauge random vector ];
+ description = "Space-efficient bit vectors";
+ license = stdenv.lib.licenses.bsd3;
}) {};
"bitwise" = callPackage
@@ -39683,13 +40033,15 @@ self: {
pname = "bitwise";
version = "1.0.0.1";
sha256 = "03xyzdkyb99gvm9g5chl07rqbnm7qrxba7wgmrfmal0rkwm0ibkn";
- revision = "1";
- editedCabalFile = "1h6dbjmznd3pvz7j5f8xwaaxxhx57fxszli2k430wcn65bc9y0zs";
+ revision = "2";
+ editedCabalFile = "1mnh3629kgfivjwbbqwrkcyvg6iah5pncc5jzgq3ka5cq0kg09gz";
libraryHaskellDepends = [ array base bytestring ];
testHaskellDepends = [ base QuickCheck ];
benchmarkHaskellDepends = [ array base bytestring criterion ];
description = "fast multi-dimensional unboxed bit packed Bool arrays";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"bitx-bitcoin" = callPackage
@@ -39847,27 +40199,11 @@ self: {
];
description = "Decentralized, k-ordered unique ID generator";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"blake2" = callPackage
- ({ mkDerivation, base, base16-bytestring, bytestring, criterion
- , hlint, QuickCheck, tasty, tasty-quickcheck
- }:
- mkDerivation {
- pname = "blake2";
- version = "0.2.0";
- sha256 = "1z1c70l2lmaj7d4wffsikf2w61i5ypjxnlwxddd8zsf6ypii1n87";
- libraryHaskellDepends = [ base bytestring ];
- testHaskellDepends = [
- base base16-bytestring bytestring hlint QuickCheck tasty
- tasty-quickcheck
- ];
- benchmarkHaskellDepends = [ base bytestring criterion ];
- description = "A library providing BLAKE2";
- license = stdenv.lib.licenses.publicDomain;
- }) {};
-
- "blake2_0_3_0" = callPackage
({ mkDerivation, base, base16-bytestring, bytestring, criterion
, hlint, QuickCheck, tasty, tasty-quickcheck
}:
@@ -39884,6 +40220,7 @@ self: {
description = "A library providing BLAKE2";
license = stdenv.lib.licenses.publicDomain;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"blakesum" = callPackage
@@ -39957,6 +40294,8 @@ self: {
pname = "blank-canvas";
version = "0.7";
sha256 = "11blkr9yhag4l8lyg5gyi2wzcnapkgihkh01mp9lm28f3bb1v1z7";
+ revision = "1";
+ editedCabalFile = "11jqhxcr8vynlknpw73s0nmg1a7n9rsbyifyhaxi3aq7hzvb0qai";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base base-compat-batteries base64-bytestring bytestring
@@ -40160,17 +40499,17 @@ self: {
"blaze-colonnade" = callPackage
({ mkDerivation, base, blaze-html, blaze-markup, colonnade, doctest
- , text
+ , profunctors, text
}:
mkDerivation {
pname = "blaze-colonnade";
- version = "1.2.2";
- sha256 = "0k51iqfr2dvc445q6jzvf4mb3q3x4z0vvf9p8fhd4npazwb72bqz";
+ version = "1.2.2.1";
+ sha256 = "1wh0q72qv2s6a42i13lqb94i0b5bgmqwqw7d5xy89dc76j0ncd2d";
libraryHaskellDepends = [
- base blaze-html blaze-markup colonnade text
+ base blaze-html blaze-markup colonnade profunctors text
];
testHaskellDepends = [ base colonnade doctest ];
- description = "Helper functions for using blaze-html with colonnade";
+ description = "blaze-html backend for colonnade";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -40642,8 +40981,8 @@ self: {
}:
mkDerivation {
pname = "bloomfilter-redis";
- version = "0.1.0.3";
- sha256 = "0wqsynfc1ps8gxfvggp1f6q6kd2wp4blvasv7yn5ld20iw0qawid";
+ version = "0.1.0.4";
+ sha256 = "0kl166hfdnq1j2ghra4n2fi4zvi1wj1md43rmx3jcmyhj7q4s2f0";
libraryHaskellDepends = [
arithmoi base binary bytestring hashable hedis
];
@@ -40858,27 +41197,31 @@ self: {
}) {};
"board-games" = callPackage
- ({ mkDerivation, array, base, cgi, containers, html, httpd-shed
- , network-uri, non-empty, QuickCheck, random, transformers
- , utility-ht
+ ({ mkDerivation, array, base, cgi, containers, criterion
+ , enummapset, html, httpd-shed, network-uri, non-empty, parallel
+ , QuickCheck, random, transformers, utility-ht
}:
mkDerivation {
pname = "board-games";
- version = "0.2";
- sha256 = "1plgnwlpx0bw0wjwd0dxbh616vy37frclwir692x1fr2lq85y98c";
+ version = "0.3";
+ sha256 = "1ylwibyl0j1v0bdrpfnjhdm431npagavxzgi2l5sp0scgpkcyyx7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- array base cgi containers html non-empty random transformers
- utility-ht
+ array base cgi containers enummapset html non-empty QuickCheck
+ random transformers utility-ht
];
executableHaskellDepends = [
array base cgi containers html httpd-shed network-uri non-empty
random transformers utility-ht
];
testHaskellDepends = [
- array base containers non-empty QuickCheck random transformers
- utility-ht
+ array base containers enummapset non-empty QuickCheck random
+ transformers utility-ht
+ ];
+ benchmarkHaskellDepends = [
+ base containers criterion enummapset non-empty parallel QuickCheck
+ random transformers utility-ht
];
description = "Three games for inclusion in a web server";
license = "GPL";
@@ -41214,6 +41557,8 @@ self: {
];
description = "Boolean normal form: NNF, DNF & CNF";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"boolector" = callPackage
@@ -41354,6 +41699,95 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "boots" = callPackage
+ ({ mkDerivation, base, exceptions, hspec, mtl }:
+ mkDerivation {
+ pname = "boots";
+ version = "0.0.100";
+ sha256 = "0q685h5z561lgjg2kqnkls35wpys9kx4zhghqqq3dyvl2i4dwmcz";
+ libraryHaskellDepends = [ base exceptions mtl ];
+ testHaskellDepends = [ base exceptions hspec mtl ];
+ description = "IoC Monad in Haskell";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
+ "boots_0_2_0_1" = callPackage
+ ({ mkDerivation, base, exceptions, hspec, mtl }:
+ mkDerivation {
+ pname = "boots";
+ version = "0.2.0.1";
+ sha256 = "04dh749p5nwar3hgmx5g12814lazwrzzqxbxbk4f003qpbd8np8w";
+ libraryHaskellDepends = [ base exceptions mtl ];
+ testHaskellDepends = [ base exceptions hspec mtl ];
+ description = "IoC Monad in Haskell";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "boots-app" = callPackage
+ ({ mkDerivation, base, boots, data-default, exceptions, fast-logger
+ , megaparsec, microlens, mtl, optparse-applicative, salak
+ , salak-yaml, splitmix, text, time, unliftio-core
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "boots-app";
+ version = "0.2.0.1";
+ sha256 = "0wk177f6ljcqd0ya7cddvx3i6sdwx0wl9fz1idzfa8klb8pnkghh";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base boots data-default exceptions fast-logger megaparsec microlens
+ mtl optparse-applicative salak salak-yaml splitmix text
+ unliftio-core unordered-containers
+ ];
+ executableHaskellDepends = [ base time ];
+ description = "Factory for quickly building an application";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "boots-cloud" = callPackage
+ ({ mkDerivation, aeson, base, boots, boots-app, boots-web
+ , bytestring, http-client, salak, servant, servant-client, text
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "boots-cloud";
+ version = "0.2";
+ sha256 = "0wfbzf753h3bgfdw0gfh4cwi40qv2ghyyznfahwxkh9aabrwckqp";
+ libraryHaskellDepends = [
+ aeson base boots boots-app boots-web bytestring http-client salak
+ servant servant-client text unordered-containers
+ ];
+ description = "Factory for quickly building a microservice";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "boots-web" = callPackage
+ ({ mkDerivation, aeson, base, boots, boots-app, bytestring
+ , containers, ekg-core, http-types, microlens, monad-logger, salak
+ , servant, servant-server, servant-swagger, swagger2, text
+ , unordered-containers, vault, wai, warp
+ }:
+ mkDerivation {
+ pname = "boots-web";
+ version = "0.2.0.1";
+ sha256 = "1czylbghh9rzhr4zs394gdm39d2xqqkv3v7fjzq1askah48zqx18";
+ libraryHaskellDepends = [
+ aeson base boots boots-app bytestring containers ekg-core
+ http-types microlens monad-logger salak servant servant-server
+ servant-swagger swagger2 text unordered-containers vault wai warp
+ ];
+ description = "Factory for quickly building a web application";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"bootstrap-types" = callPackage
({ mkDerivation, base, text }:
mkDerivation {
@@ -41411,22 +41845,22 @@ self: {
}) {};
"boring" = callPackage
- ({ mkDerivation, adjunctions, base, base-compat, constraints, fin
- , generics-sop, streams, tagged, transformers, transformers-compat
- , vec
+ ({ mkDerivation, adjunctions, base, base-compat, constraints, dec
+ , fin, generics-sop, singleton-bool, streams, tagged, transformers
+ , transformers-compat, vec
}:
mkDerivation {
pname = "boring";
- version = "0.1.1";
- sha256 = "1v33mj4rqg0l7161ajmd35k73n66cscg7wsnmb84z0wp1wxlmhwg";
+ version = "0.1.2";
+ sha256 = "0978dq53rpb7clz1ydjm6x38nrx0vkp3safqcbjp2kq6jlaz29jr";
+ revision = "2";
+ editedCabalFile = "1qdgv5zanglhhx3hs4a7qlvfivsv82hnppj8lpyamfl4xw4x8vp1";
libraryHaskellDepends = [
- adjunctions base base-compat constraints fin generics-sop streams
- tagged transformers transformers-compat vec
+ adjunctions base base-compat constraints dec fin generics-sop
+ singleton-bool streams tagged transformers transformers-compat vec
];
description = "Boring and Absurd types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"boring-game" = callPackage
@@ -41533,6 +41967,8 @@ self: {
pname = "bound-extras";
version = "0.0.1";
sha256 = "0f49yqz5s5h4f3m3i7kpm2fqnd42nl4dbl24lvm6z3nb8qrx6ynq";
+ revision = "2";
+ editedCabalFile = "1a88bxgz9r1v6lqkab12ljw3vknx7sgi6vi3fsqli8ji2ajfn5k1";
libraryHaskellDepends = [
base bound deepseq hashable transformers
];
@@ -41542,8 +41978,6 @@ self: {
];
description = "ScopeH and ScopeT extras for bound";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"bound-gen" = callPackage
@@ -41628,8 +42062,8 @@ self: {
({ mkDerivation, base, containers, GLUT, hosc, hsc3, random }:
mkDerivation {
pname = "bowntz";
- version = "1";
- sha256 = "0b5fv59v7c896g56ixyhip8cnbfw2p2qvdmgj2dg97jvgjkxwpfn";
+ version = "2";
+ sha256 = "0i8fi5xq04s9mzyy1vdshmlyybzhim0sr9nyxxfdbvcaai796i5z";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -41641,6 +42075,43 @@ self: {
broken = true;
}) {};
+ "box" = callPackage
+ ({ mkDerivation, async, attoparsec, base, concurrency
+ , contravariant, data-default, dejafu, doctest, exceptions, flow
+ , foldl, generic-lens, lens, mmorph, pipes, profunctors, protolude
+ , random, stm, streaming, text, time, transformers
+ , transformers-base
+ }:
+ mkDerivation {
+ pname = "box";
+ version = "0.0.1.2";
+ sha256 = "11g3ig1n1myfgcfvp6gkn5lyr2gdzj4zpginwmjac1c599xiyf8i";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ async attoparsec base concurrency contravariant data-default dejafu
+ exceptions flow foldl generic-lens lens mmorph pipes profunctors
+ protolude random stm streaming text time transformers
+ transformers-base
+ ];
+ executableHaskellDepends = [
+ async attoparsec base concurrency contravariant data-default dejafu
+ exceptions flow foldl generic-lens lens mmorph pipes profunctors
+ protolude random stm streaming text time transformers
+ transformers-base
+ ];
+ testHaskellDepends = [
+ async attoparsec base concurrency contravariant data-default dejafu
+ doctest exceptions flow foldl generic-lens lens mmorph pipes
+ profunctors protolude random stm streaming text time transformers
+ transformers-base
+ ];
+ description = "boxes";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"box-tuples" = callPackage
({ mkDerivation, base, ghc-prim }:
mkDerivation {
@@ -41846,8 +42317,8 @@ self: {
}:
mkDerivation {
pname = "brick";
- version = "0.47";
- sha256 = "1glj71qajc2rdn9akhhh0yryhps57s33x0i2fb4mf12zg8pp5kj7";
+ version = "0.47.1";
+ sha256 = "0s0frxr6spgxzzvnym8rf40wj261clv7yfy2fxgm8iyjrr0ki49h";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -41863,6 +42334,33 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "brick_0_49" = callPackage
+ ({ mkDerivation, base, bytestring, config-ini, containers
+ , contravariant, data-clist, deepseq, directory, dlist, filepath
+ , microlens, microlens-mtl, microlens-th, QuickCheck, stm
+ , template-haskell, text, text-zipper, transformers, unix, vector
+ , vty, word-wrap
+ }:
+ mkDerivation {
+ pname = "brick";
+ version = "0.49";
+ sha256 = "1jlxzizxgmdsjd0x146kcmp92x7gjn0vkj0lc5dplbgshlg5hfhd";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring config-ini containers contravariant data-clist
+ deepseq directory dlist filepath microlens microlens-mtl
+ microlens-th stm template-haskell text text-zipper transformers
+ unix vector vty word-wrap
+ ];
+ testHaskellDepends = [
+ base containers microlens QuickCheck vector
+ ];
+ description = "A declarative terminal user interface library";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"brick-dropdownmenu" = callPackage
({ mkDerivation, base, brick, containers, microlens, microlens-ghc
, microlens-th, pointedlist, vector, vty
@@ -42079,10 +42577,8 @@ self: {
}:
mkDerivation {
pname = "brittany";
- version = "0.11.0.0";
- sha256 = "1fgcim4q5y7csk8c038rm97w6b8bgynmi6h1dwyr2hsmzw9hxa26";
- revision = "2";
- editedCabalFile = "1f20w6zzbygnpa7f6xbaqxx34l62r53ikywg2snn0zkfizf3lcgx";
+ version = "0.12.0.0";
+ sha256 = "058ffj00x374iaz75zzd9l0ab4crdsq2zjrq1r8lvcpp63fmsa7h";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -42108,8 +42604,6 @@ self: {
];
description = "Haskell source code formatter";
license = stdenv.lib.licenses.agpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"broadcast-chan" = callPackage
@@ -42120,12 +42614,12 @@ self: {
pname = "broadcast-chan";
version = "0.2.0.2";
sha256 = "12ax37y9i3cs8wifz01lpq0awm9c235l5xkybf13ywvyk5svb0jv";
+ revision = "1";
+ editedCabalFile = "1sgifhdf9l8zkc0dddnkfy8f1bkry061vm67iich489fi8nlhfjn";
libraryHaskellDepends = [ base unliftio-core ];
benchmarkHaskellDepends = [ async base criterion deepseq stm ];
description = "Closable, fair, single-wakeup channel type that avoids 0 reader space leaks";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"broadcast-chan-conduit" = callPackage
@@ -42176,6 +42670,8 @@ self: {
pname = "broadcast-chan-tests";
version = "0.2.0.2";
sha256 = "1m7m06pd9vfvz0rfnylpr6pjvizxv31qizri3a400rkz3zanhkym";
+ revision = "2";
+ editedCabalFile = "0mfld36ppfyhx2w9a99gxa8qxnik0mnznl7bvqhbbaf1ayinhx91";
libraryHaskellDepends = [
async base broadcast-chan clock containers optparse-applicative
paramtree stm tagged tasty tasty-golden tasty-hunit tasty-travis
@@ -42293,6 +42789,8 @@ self: {
pname = "brotli";
version = "0.0.0.0";
sha256 = "1l9qiw5cl0k1rcnqnj9pb7vgj1b06wckkk5i73nqr15ixgcjmr9j";
+ revision = "1";
+ editedCabalFile = "0fw26rv8i9zz4qyr32paz2y0psdppdaz427jp8mpbanwmg763024";
libraryHaskellDepends = [ base bytestring transformers ];
libraryPkgconfigDepends = [ libbrotlidec libbrotlienc ];
testHaskellDepends = [
@@ -42373,6 +42871,8 @@ self: {
pname = "bsb-http-chunked";
version = "0.0.0.4";
sha256 = "0z0f18yc6zlwh29c6175ivfcin325lvi4irpvv0n3cmq7vi0k0ql";
+ revision = "1";
+ editedCabalFile = "07k9422yaw7rz66awmc20ni17xw2bd1pn48ja79c66d5va89f6wz";
libraryHaskellDepends = [ base bytestring ];
testHaskellDepends = [
attoparsec base blaze-builder bytestring doctest hedgehog tasty
@@ -42397,23 +42897,21 @@ self: {
}) {};
"bson" = callPackage
- ({ mkDerivation, base, binary, bytestring, cryptohash
+ ({ mkDerivation, base, binary, bytestring, cryptohash-md5
, data-binary-ieee754, mtl, network, QuickCheck, test-framework
, test-framework-quickcheck2, text, time
}:
mkDerivation {
pname = "bson";
- version = "0.3.2.7";
- sha256 = "0avzr3aa3mbr9hcjwd0nr0pnpiym7s35qw7nghz51mrzb76rsci7";
- revision = "1";
- editedCabalFile = "1y6gy4rq2wb123p1qc35p0hnk8dqh2hnlys2c97znwcjjsd5p203";
+ version = "0.3.2.8";
+ sha256 = "1xqxjs0vhlrvnclkxn8y5dr4liaja4flqizphk1000km2kvvw748";
libraryHaskellDepends = [
- base binary bytestring cryptohash data-binary-ieee754 mtl network
- text time
+ base binary bytestring cryptohash-md5 data-binary-ieee754 mtl
+ network text time
];
testHaskellDepends = [
- base binary bytestring cryptohash data-binary-ieee754 mtl network
- QuickCheck test-framework test-framework-quickcheck2 text time
+ base bytestring QuickCheck test-framework
+ test-framework-quickcheck2 text time
];
description = "BSON documents are JSON-like objects with a standard binary encoding";
license = stdenv.lib.licenses.asl20;
@@ -42608,8 +43106,8 @@ self: {
pname = "buffer";
version = "0.5.3";
sha256 = "0bf9y6rb3q26rk6qd7a2mjlb1gd1gp2k080ywhp5g48l474h6p26";
- revision = "1";
- editedCabalFile = "19v3zis3fqirsacacqnn7ypgvddgi6i8dj8bkbap2ln2mmqkvlh0";
+ revision = "2";
+ editedCabalFile = "0lg7sy7c059a29gmyihlwck6d98vq5kqfkw4bjixnvc2r9znfcv7";
libraryHaskellDepends = [ base base-prelude bug bytestring ];
testHaskellDepends = [
bug quickcheck-instances rerebase tasty tasty-hunit
@@ -42920,6 +43418,58 @@ self: {
tasty-quickcheck text
];
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "bulletproofs_1_0_1" = callPackage
+ ({ mkDerivation, arithmoi, base, containers, criterion, cryptonite
+ , galois-field, memory, MonadRandom, protolude, QuickCheck
+ , random-shuffle, tasty, tasty-discover, tasty-hunit
+ , tasty-quickcheck, text
+ }:
+ mkDerivation {
+ pname = "bulletproofs";
+ version = "1.0.1";
+ sha256 = "1c23dppl851a1ga9x8axkl27bswb0hlwql0mfabsd9ydclmipzf0";
+ libraryHaskellDepends = [
+ arithmoi base containers cryptonite galois-field memory MonadRandom
+ protolude QuickCheck random-shuffle text
+ ];
+ testHaskellDepends = [
+ arithmoi base containers cryptonite galois-field memory MonadRandom
+ protolude QuickCheck random-shuffle tasty tasty-discover
+ tasty-hunit tasty-quickcheck text
+ ];
+ testToolDepends = [ tasty-discover ];
+ benchmarkHaskellDepends = [
+ arithmoi base containers criterion cryptonite galois-field memory
+ MonadRandom protolude QuickCheck random-shuffle tasty tasty-hunit
+ tasty-quickcheck text
+ ];
+ license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "bulmex" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, jsaddle
+ , jsaddle-dom, lens, network-uri, reflex, reflex-dom-core
+ , reflex-dom-helpers, text, time, witherable
+ }:
+ mkDerivation {
+ pname = "bulmex";
+ version = "2.0.0";
+ sha256 = "0nzgzg17av87i1777rjakiyamcgkszfcw3ch150536vkp1jaqlm5";
+ libraryHaskellDepends = [
+ aeson base bytestring containers jsaddle jsaddle-dom lens
+ network-uri reflex reflex-dom-core reflex-dom-helpers text time
+ witherable
+ ];
+ description = "Reflex infused with bulma (css)";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"bumper" = callPackage
@@ -43103,8 +43653,8 @@ self: {
}:
mkDerivation {
pname = "butcher";
- version = "1.3.2.1";
- sha256 = "16jwhj3lrghn11igc5ci484r4xc1ii6hz6ysj39njds547dmznda";
+ version = "1.3.2.3";
+ sha256 = "0lpicayq9k59m2ydz989xsypr653xwhp6mmhlp7nmjzk6jwpq5q5";
libraryHaskellDepends = [
base bifunctors containers deque extra free microlens microlens-th
mtl multistate pretty transformers unsafe void
@@ -43115,8 +43665,6 @@ self: {
];
description = "Chops a command or program invocation into digestable pieces";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"butter" = callPackage
@@ -43150,6 +43698,8 @@ self: {
pname = "butterflies";
version = "0.3.0.2";
sha256 = "0syykvrgq6i0zxy1pn934j1r9glv4yypva1mfkn0vc0nikh9fm31";
+ revision = "1";
+ editedCabalFile = "1xxdc352fp11b8mhhr3rwj5kffkglvbry2smwwfj1f10wr749zn9";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -43188,28 +43738,6 @@ self: {
}) {};
"bv-little" = callPackage
- ({ mkDerivation, base, criterion, deepseq, hashable, integer-gmp
- , mono-traversable, primitive, QuickCheck, tasty, tasty-hunit
- , tasty-quickcheck
- }:
- mkDerivation {
- pname = "bv-little";
- version = "0.1.2";
- sha256 = "0xscq4qjwisqiykdhiirxc58gsrmabvxmxwxw80f2m6ia103k3cc";
- libraryHaskellDepends = [
- base deepseq hashable integer-gmp mono-traversable primitive
- QuickCheck
- ];
- testHaskellDepends = [
- base deepseq hashable mono-traversable QuickCheck tasty tasty-hunit
- tasty-quickcheck
- ];
- benchmarkHaskellDepends = [ base criterion deepseq hashable ];
- description = "Efficient little-endian bit vector library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "bv-little_1_0_1" = callPackage
({ mkDerivation, base, criterion, deepseq, hashable, integer-gmp
, keys, mono-traversable, mono-traversable-keys, primitive
, QuickCheck, smallcheck, tasty, tasty-hunit, tasty-quickcheck
@@ -43217,8 +43745,8 @@ self: {
}:
mkDerivation {
pname = "bv-little";
- version = "1.0.1";
- sha256 = "1as21xhzrzcqmrqybczwxhh81avgkmdgn7hhk534dxv6csd7jyp6";
+ version = "1.1.0";
+ sha256 = "1cpmwmd6gig0gggbr197cjpp0ykaj30jniqq3r5lsv644wizkg6r";
libraryHaskellDepends = [
base deepseq hashable integer-gmp keys mono-traversable
mono-traversable-keys primitive QuickCheck text-show
@@ -43234,7 +43762,6 @@ self: {
];
description = "Efficient little-endian bit vector library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"bv-sized" = callPackage
@@ -43289,6 +43816,18 @@ self: {
broken = true;
}) {};
+ "byte-order" = callPackage
+ ({ mkDerivation, base, primitive, primitive-unaligned }:
+ mkDerivation {
+ pname = "byte-order";
+ version = "0.1.1.0";
+ sha256 = "09j6gkvg1nv05dga46cyxsgnf5ksqbnnsz9nf36xg0vw6c352w7s";
+ libraryHaskellDepends = [ base primitive primitive-unaligned ];
+ testHaskellDepends = [ base primitive ];
+ description = "Portable big-endian and little-endian conversions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"byteable" = callPackage
({ mkDerivation, base, bytestring }:
mkDerivation {
@@ -43360,6 +43899,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "bytes_0_16" = callPackage
+ ({ mkDerivation, base, binary, binary-orphans, bytestring, Cabal
+ , cabal-doctest, cereal, containers, directory, doctest, filepath
+ , hashable, mtl, scientific, text, time, transformers
+ , transformers-compat, unordered-containers, void
+ }:
+ mkDerivation {
+ pname = "bytes";
+ version = "0.16";
+ sha256 = "1m8nkviq4ckqi9v1w1fxzicdzmvb3wfxcmqmppjrrmkwawn4c6i9";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ base binary binary-orphans bytestring cereal containers hashable
+ mtl scientific text time transformers transformers-compat
+ unordered-containers void
+ ];
+ testHaskellDepends = [ base directory doctest filepath ];
+ description = "Sharing code for serialization between binary and cereal";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"byteset" = callPackage
({ mkDerivation, base, binary }:
mkDerivation {
@@ -43374,27 +43935,41 @@ self: {
}) {};
"byteslice" = callPackage
- ({ mkDerivation, base, primitive }:
+ ({ mkDerivation, base, primitive, primitive-addr, run-st }:
mkDerivation {
pname = "byteslice";
- version = "0.1.0.0";
- sha256 = "13qzkhj2ify1q097n1zrjwjkw2803153vp9a4281i5idkm7x9pfg";
- revision = "1";
- editedCabalFile = "191drdfs4frgg5pg7fa0qh5ikik9lnm6kbrj1bmmnmzr4s9vdklv";
- libraryHaskellDepends = [ base primitive ];
- description = "Slicing ByteArray and MutableByteArray";
+ version = "0.1.2.0";
+ sha256 = "0bivb6gn3kfzi2rxvrf3klsgzj6p864vcxr2hnrdkr16qp1x8ysv";
+ libraryHaskellDepends = [ base primitive primitive-addr run-st ];
+ description = "Slicing managed and unmanaged memory";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
- "bytestring_0_10_8_2" = callPackage
+ "bytesmith" = callPackage
+ ({ mkDerivation, base, byteslice, primitive }:
+ mkDerivation {
+ pname = "bytesmith";
+ version = "0.1.0.0";
+ sha256 = "1jj2shy510r83r8nahf6lwjhwp73kbmla6mly4fzjza81syrwrm4";
+ libraryHaskellDepends = [ base byteslice primitive ];
+ testHaskellDepends = [ base byteslice primitive ];
+ description = "Nonresumable byte parser";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "bytestring_0_10_10_0" = callPackage
({ mkDerivation, base, byteorder, deepseq, directory, dlist
, ghc-prim, HUnit, integer-gmp, mtl, QuickCheck, random
, test-framework, test-framework-hunit, test-framework-quickcheck2
}:
mkDerivation {
pname = "bytestring";
- version = "0.10.8.2";
- sha256 = "0fjc5ybxx67l0kh27l6vq4saf88hp1wnssj5ka90ii588y76cvys";
+ version = "0.10.10.0";
+ sha256 = "1h94lyyn4fpklm25dsazj9za08m0vz9irafpza90h9j5wx4qpndq";
libraryHaskellDepends = [ base deepseq ghc-prim integer-gmp ];
testHaskellDepends = [
base byteorder deepseq directory dlist ghc-prim HUnit mtl
@@ -43412,8 +43987,8 @@ self: {
}:
mkDerivation {
pname = "bytestring-arbitrary";
- version = "0.1.2";
- sha256 = "0ifa4913qbq5zqzx7c11hzyggqxyk5sfj4id0rsp7m10r53fdvgz";
+ version = "0.1.3";
+ sha256 = "0xgdrd5jzy3ihpjmxpga6xj5p90fnfqj4509q5vvgy5x9l3jigrv";
libraryHaskellDepends = [ base bytestring cryptohash QuickCheck ];
testHaskellDepends = [ base bytestring cryptohash QuickCheck ];
benchmarkHaskellDepends = [
@@ -43421,8 +43996,6 @@ self: {
];
description = "Arbitrary instances for ByteStrings";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"bytestring-builder" = callPackage
@@ -43642,14 +44215,16 @@ self: {
}) {};
"bytestring-progress" = callPackage
- ({ mkDerivation, base, bytestring, terminal-progress-bar, time }:
+ ({ mkDerivation, base, bytestring, terminal-progress-bar, text
+ , time
+ }:
mkDerivation {
pname = "bytestring-progress";
- version = "1.2";
- sha256 = "195vsqpmaycxi0k7kk1hasrklnblr3psllc288vkh77pbnfm3vqi";
+ version = "1.4";
+ sha256 = "140dn6zyc1ka8vjxwd6zzc3mwd651zrawcwk3d5ipfxrgddf9bws";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- base bytestring terminal-progress-bar time
+ base bytestring terminal-progress-bar text time
];
description = "A library for tracking the consumption of a lazy ByteString";
license = stdenv.lib.licenses.bsd3;
@@ -43733,8 +44308,10 @@ self: {
}:
mkDerivation {
pname = "bytestring-strict-builder";
- version = "0.4.5.2";
- sha256 = "14l5q4wgx3fpysindlapf2binhy6svsc904c8x052v095p6gn9c2";
+ version = "0.4.5.3";
+ sha256 = "0p4yhi2x8k2jn6xxq15r38m10h4dkxkryzqzgnw4sq47270p5k5d";
+ revision = "1";
+ editedCabalFile = "0i3gnzb2dlhxyjx5zbbgycf9l285amwj98s6drvq2hih21z4d3h6";
libraryHaskellDepends = [
base base-prelude bytestring semigroups
];
@@ -43899,6 +44476,8 @@ self: {
pname = "bzlib";
version = "0.5.0.5";
sha256 = "0zh130vw719a8d11q5qzc3ilzgv8cqyc2a7r1a131cv1fjnd1rwy";
+ revision = "1";
+ editedCabalFile = "1d4ra5prh2q9h8inpwvrsmkmg1ndisdj47jv06iijpj6xdp5bapl";
libraryHaskellDepends = [ base bytestring ];
librarySystemDepends = [ bzip2 ];
description = "Compression and decompression in the bzip2 format";
@@ -43911,8 +44490,8 @@ self: {
}:
mkDerivation {
pname = "bzlib-conduit";
- version = "0.3.0.1";
- sha256 = "0fd2hnr782s7qgipazg2yxwia9qqhkvm9bcm90773c3zkxa13n23";
+ version = "0.3.0.2";
+ sha256 = "0a21zin5plsl37hkxh2jv8cxwyjrbs2fy7n5cyrzgdaa7lmp6b7b";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bindings-DSL bytestring conduit data-default-class mtl
@@ -44256,13 +44835,13 @@ self: {
, directory, exceptions, filepath, generic-lens, hedgehog, hspec
, hspec-discover, http-client, http-types, hw-hedgehog
, hw-hspec-hedgehog, lens, mtl, optparse-applicative, process
- , raw-strings-qq, resourcet, selective, stm, stringsearch, tar
- , temporary, text, time, topograph, unliftio, zlib
+ , raw-strings-qq, relation, resourcet, selective, stm, stringsearch
+ , tar, temporary, text, time, topograph, unliftio, zlib
}:
mkDerivation {
pname = "cabal-cache";
- version = "1.0.0.10";
- sha256 = "1iy7a7zmf3z539snj6rgg3qkcx8f8xwqvjry6wwagalr6z5smhmx";
+ version = "1.0.1.1";
+ sha256 = "1yb3wvjqqmkm4aysfyx4zf1z88453ywfc4czb4zvghfdgd95d0rx";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -44270,14 +44849,14 @@ self: {
antiope-optparse-applicative antiope-s3 base bytestring
conduit-extra containers cryptonite deepseq directory exceptions
filepath generic-lens http-client http-types lens mtl
- optparse-applicative process resourcet selective stm stringsearch
- tar temporary text time topograph unliftio zlib
+ optparse-applicative process relation resourcet selective stm
+ stringsearch tar temporary text time topograph unliftio zlib
];
executableHaskellDepends = [ base optparse-applicative ];
testHaskellDepends = [
aeson antiope-core antiope-s3 base bytestring containers filepath
generic-lens hedgehog hspec http-types hw-hedgehog
- hw-hspec-hedgehog lens raw-strings-qq text
+ hw-hspec-hedgehog lens raw-strings-qq relation text
];
testToolDepends = [ hspec-discover ];
description = "CI Assistant for Haskell projects";
@@ -44349,27 +44928,23 @@ self: {
"cabal-debian" = callPackage
({ mkDerivation, ansi-wl-pprint, base, bifunctors, Cabal
, containers, data-default, debian, deepseq, Diff, directory
- , exceptions, filepath, hsemail, HUnit, lens, memoize, mtl
- , network-uri, newtype-generics, optparse-applicative, parsec
- , pretty, process, pureMD5, regex-tdfa, set-extra, syb, text, unix
- , Unixutils, utf8-string
+ , exceptions, filepath, hsemail, HUnit, lens, mtl, network-uri
+ , newtype-generics, optparse-applicative, parsec, pretty, process
+ , pureMD5, regex-tdfa, syb, text, unix, unliftio, utf8-string
}:
mkDerivation {
pname = "cabal-debian";
- version = "4.38.5";
- sha256 = "0pqislgc38q57jf252aha7x71pbdw5nxinx3gcm4s7311m25fw1f";
+ version = "5.0";
+ sha256 = "1brbn45zg8ki54xl429qlzhzn30mgy7i1sidq1imd54c0rnai46v";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-wl-pprint base bifunctors Cabal containers data-default debian
- deepseq Diff directory exceptions filepath hsemail HUnit lens
- memoize mtl network-uri newtype-generics optparse-applicative
- parsec pretty process pureMD5 regex-tdfa set-extra syb text unix
- Unixutils utf8-string
- ];
- executableHaskellDepends = [
- base Cabal debian lens mtl pretty Unixutils
+ deepseq Diff directory exceptions filepath hsemail HUnit lens mtl
+ network-uri newtype-generics optparse-applicative parsec pretty
+ process pureMD5 regex-tdfa syb text unix unliftio utf8-string
];
+ executableHaskellDepends = [ base Cabal debian lens mtl pretty ];
description = "Create a Debianization for a Cabal package";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -44436,10 +45011,8 @@ self: {
({ mkDerivation, base, Cabal, directory, filepath }:
mkDerivation {
pname = "cabal-doctest";
- version = "1.0.6";
- sha256 = "0bgd4jdmzxq5y465r4sf4jv2ix73yvblnr4c9wyazazafddamjny";
- revision = "2";
- editedCabalFile = "1kbiwqm4fxrsdpcqijdq98h8wzmxydcvxd03f1z8dliqzyqsbd60";
+ version = "1.0.7";
+ sha256 = "1v5dlwsxd9kdll07x5apnf76j2g2pqfp138pacc64j6agrgyv00h";
libraryHaskellDepends = [ base Cabal directory filepath ];
description = "A Setup.hs helper for doctests running";
license = stdenv.lib.licenses.bsd3;
@@ -44460,6 +45033,34 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "cabal-fmt" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, directory
+ , filepath, mtl, optparse-applicative, parsec, pretty, process
+ , tasty, tasty-golden
+ }:
+ mkDerivation {
+ pname = "cabal-fmt";
+ version = "0.1.1";
+ sha256 = "07hx1s7l5zmh7vs2zmmm56msz2m7wnzn919mvnpypvrsswmmnnd9";
+ isLibrary = false;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring Cabal containers directory filepath mtl parsec
+ pretty
+ ];
+ executableHaskellDepends = [
+ base bytestring directory filepath optparse-applicative
+ ];
+ testHaskellDepends = [
+ base bytestring Cabal filepath process tasty tasty-golden
+ ];
+ doHaddock = false;
+ description = "Format .cabal files";
+ license = "GPL-3.0-or-later AND BSD-3-Clause";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"cabal-ghc-dynflags" = callPackage
({ mkDerivation, base, Cabal, ghc, transformers }:
mkDerivation {
@@ -44542,8 +45143,6 @@ self: {
doCheck = false;
description = "Simple interface to some of Cabal's configuration state, mainly used by ghc-mod";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"cabal-info" = callPackage
@@ -44573,15 +45172,12 @@ self: {
, bytestring, Cabal, containers, cryptohash-sha256, deepseq
, directory, echo, edit-distance, filepath, hackage-security
, hashable, HTTP, mtl, network, network-uri, parsec, pretty
- , process, random, resolv, stm, tar, text, time, unix, zip-archive
- , zlib
+ , process, random, resolv, stm, tar, text, time, unix, zlib
}:
mkDerivation {
pname = "cabal-install";
- version = "2.4.1.0";
- sha256 = "1b91rcs00wr5mf55c6xl8hrxmymlq72w71qm5r0q4j869asv5g39";
- revision = "3";
- editedCabalFile = "1mnm6mfrgavq3blvkm3wz45pqrj10apjihg1g9cds58qp19m9r1h";
+ version = "3.0.0.0";
+ sha256 = "1wda29ifkn50376jidj6ihfk60a64y0bsd7lh3yw15py7a2sfcm4";
isLibrary = false;
isExecutable = true;
setupHaskellDepends = [ base Cabal filepath process ];
@@ -44589,8 +45185,7 @@ self: {
array async base base16-bytestring binary bytestring Cabal
containers cryptohash-sha256 deepseq directory echo edit-distance
filepath hackage-security hashable HTTP mtl network network-uri
- parsec pretty process random resolv stm tar text time unix
- zip-archive zlib
+ parsec pretty process random resolv stm tar text time unix zlib
];
doCheck = false;
postInstall = ''
@@ -44832,25 +45427,6 @@ self: {
}) {};
"cabal-rpm" = callPackage
- ({ mkDerivation, base, bytestring, Cabal, directory, filepath
- , http-client, http-client-tls, http-conduit, process, simple-cmd
- , time, unix
- }:
- mkDerivation {
- pname = "cabal-rpm";
- version = "0.12.6";
- sha256 = "1k602v7v87w6xcd9a5m8n5grnjbkyn79rdi9azl7djna0rs129ns";
- isLibrary = false;
- isExecutable = true;
- executableHaskellDepends = [
- base bytestring Cabal directory filepath http-client
- http-client-tls http-conduit process simple-cmd time unix
- ];
- description = "RPM packaging tool for Haskell Cabal-based packages";
- license = stdenv.lib.licenses.gpl3;
- }) {};
-
- "cabal-rpm_0_13_3" = callPackage
({ mkDerivation, base, bytestring, Cabal, directory, filepath
, http-client, http-client-tls, http-conduit, process, simple-cmd
, time, unix
@@ -44859,6 +45435,8 @@ self: {
pname = "cabal-rpm";
version = "0.13.3";
sha256 = "04d5m74i0r6livhkhmccrwhshpa2aizyb77i2qcqhxradw0lkvl4";
+ revision = "1";
+ editedCabalFile = "1ngw9afzplbz4q707nak9zcjmk9fdynw0jvis4lgjq02y4i14hj6";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -44868,6 +45446,7 @@ self: {
description = "RPM packaging tool for Haskell Cabal-based packages";
license = stdenv.lib.licenses.gpl3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cabal-scripts" = callPackage
@@ -45013,6 +45592,8 @@ self: {
libraryHaskellDepends = [ base Cabal QuickCheck ];
description = "QuickCheck for Cabal";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cabal-toolkit" = callPackage
@@ -45143,8 +45724,8 @@ self: {
}:
mkDerivation {
pname = "cabal2nix";
- version = "2.14.3";
- sha256 = "09qwv83fv2gq9j21hpr22bxpqwi5xlv0dr09xgwvk1r4dzjl8gbr";
+ version = "2.14.4";
+ sha256 = "0pxqdwxqc5siqrp7mqvz6g380wx4xn3y3mph8vjywvycvpqg2gqh";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -45179,6 +45760,8 @@ self: {
pname = "cabal2spec";
version = "2.2.2.1";
sha256 = "0jv335b6vz1y6jp381hhrb2miniyqzkn18ansc67as04yf3ngmay";
+ revision = "1";
+ editedCabalFile = "09bkjwnr01mgn1yf861p3dai18kgpm5mvw8nmh5zvdr8sgqi207v";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base Cabal filepath time ];
@@ -45191,6 +45774,27 @@ self: {
maintainers = with stdenv.lib.maintainers; [ peti ];
}) {};
+ "cabal2spec_2_3" = callPackage
+ ({ mkDerivation, base, Cabal, filepath, optparse-applicative, tasty
+ , tasty-golden, time
+ }:
+ mkDerivation {
+ pname = "cabal2spec";
+ version = "2.3";
+ sha256 = "1hjxsmfgf3p919d6zr3gwkzizxg4lmqyga84a917qywp9b5g3mfi";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base Cabal filepath time ];
+ executableHaskellDepends = [
+ base Cabal filepath optparse-applicative
+ ];
+ testHaskellDepends = [ base Cabal filepath tasty tasty-golden ];
+ description = "Convert Cabal files into rpm spec files";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ maintainers = with stdenv.lib.maintainers; [ peti ];
+ }) {};
+
"cabalQuery" = callPackage
({ mkDerivation, base, Cabal, containers, directory, MissingH
, pretty
@@ -45234,6 +45838,8 @@ self: {
pname = "cabalgraph";
version = "0.1";
sha256 = "1kgw1n22zh1ap6dfzhmh18d0wkr6ppd9b20r77f7q6m371hhbkvy";
+ revision = "1";
+ editedCabalFile = "01vkf16s9kplp61sbf4w6zfdd48wg65d1m31m5jqk28361c76sh7";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -45411,35 +46017,34 @@ self: {
}) {};
"cachix" = callPackage
- ({ mkDerivation, async, base, base16-bytestring, base64-bytestring
- , bytestring, cachix-api, conduit, conduit-extra, cookie
- , cryptonite, data-default, dhall, directory, ed25519, filepath
- , fsnotify, here, hspec, hspec-discover, http-client
- , http-client-tls, http-conduit, http-types, lzma-conduit
- , megaparsec, memory, mmorph, netrc, optparse-applicative, process
- , protolude, retry, safe-exceptions, servant, servant-auth
- , servant-auth-client, servant-client, servant-client-core
- , servant-conduit, temporary, text, unix, uri-bytestring, versions
+ ({ mkDerivation, async, base, base64-bytestring, bytestring
+ , cachix-api, conduit, conduit-extra, containers, cookie
+ , cryptonite, dhall, directory, ed25519, filepath, fsnotify, here
+ , hnix-store-core, hspec, hspec-discover, http-client
+ , http-client-tls, http-conduit, http-types, inline-c, inline-c-cpp
+ , lzma-conduit, megaparsec, memory, mmorph, netrc, nix
+ , optparse-applicative, process, protolude, resourcet, retry
+ , safe-exceptions, servant, servant-auth, servant-auth-client
+ , servant-client, servant-client-core, servant-conduit, temporary
+ , text, unix, uri-bytestring, versions
}:
mkDerivation {
pname = "cachix";
- version = "0.2.0";
- sha256 = "0nk6ay0vdq656bwkbnd16y95ivjbi34k8k58gcabr91bgypp1fhn";
- revision = "1";
- editedCabalFile = "103ypqp0kclc1814q2ci5fi2jpfbxwmjqfsnkvwf3c1vr8cqplmh";
+ version = "0.3.0";
+ sha256 = "0s22p9dwqw4pqlrqfqspdsiiw2k5zwzzdxc6ha6f4fxa4wa2w5dm";
isLibrary = true;
isExecutable = true;
- enableSeparateDataOutput = true;
libraryHaskellDepends = [
- async base base16-bytestring base64-bytestring bytestring
- cachix-api conduit conduit-extra cookie cryptonite data-default
- dhall directory ed25519 filepath fsnotify here http-client
- http-client-tls http-conduit http-types lzma-conduit megaparsec
- memory mmorph netrc optparse-applicative process protolude retry
- safe-exceptions servant servant-auth servant-auth-client
- servant-client servant-client-core servant-conduit text unix
- uri-bytestring versions
+ async base base64-bytestring bytestring cachix-api conduit
+ conduit-extra containers cookie cryptonite dhall directory ed25519
+ filepath fsnotify here hnix-store-core http-client http-client-tls
+ http-conduit http-types inline-c inline-c-cpp lzma-conduit
+ megaparsec memory mmorph netrc optparse-applicative process
+ protolude resourcet retry safe-exceptions servant servant-auth
+ servant-auth-client servant-client servant-client-core
+ servant-conduit text unix uri-bytestring versions
];
+ libraryPkgconfigDepends = [ nix ];
executableHaskellDepends = [ base cachix-api ];
executableToolDepends = [ hspec-discover ];
testHaskellDepends = [
@@ -45447,7 +46052,7 @@ self: {
];
description = "Command line client for Nix binary cache hosting https://cachix.org";
license = stdenv.lib.licenses.asl20;
- }) {};
+ }) {inherit (pkgs) nix;};
"cachix-api" = callPackage
({ mkDerivation, aeson, base, base16-bytestring, bytestring
@@ -45460,8 +46065,8 @@ self: {
}:
mkDerivation {
pname = "cachix-api";
- version = "0.2.0";
- sha256 = "1wmyxknd5fliqfsavngpj01i34jcl39rsm1lx0nf13vlsf279wkk";
+ version = "0.3.0";
+ sha256 = "0lkmdgqvwx6cy1hbrx130yqbcq6ln1i9kr8s9r75g6lnv539lazq";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -45910,36 +46515,52 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "call-stack_0_2_0" = callPackage
+ ({ mkDerivation, base, nanospec }:
+ mkDerivation {
+ pname = "call-stack";
+ version = "0.2.0";
+ sha256 = "1iz0wkbcqchyji72c4j4zb72vfsfdp2ys8pf9mqqsxaq774r7ilm";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base nanospec ];
+ description = "Use GHC call-stacks in a backward compatible way";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"camfort" = callPackage
({ mkDerivation, alex, array, base, binary, bytestring, containers
- , directory, fgl, filepath, flint, fortran-src, GenericPretty
- , ghc-prim, happy, hmatrix, hspec, lattices, lens, matrix, mmorph
- , mtl, optparse-applicative, partial-order, QuickCheck, sbv
- , silently, singletons, syb, syz, template-haskell, temporary, text
- , time, transformers, uniplate, vector, verifiable-expressions
- , vinyl
+ , deepseq, directory, fgl, filepath, flint, fortran-src
+ , GenericPretty, ghc-prim, happy, hmatrix, hspec, hspec-discover
+ , lattices, lens, matrix, mmorph, mtl, optparse-applicative
+ , parallel, pipes, pretty, QuickCheck, sbv, silently, singletons
+ , strict, syb, syz, template-haskell, temporary, text, time
+ , transformers, uniplate, vector, verifiable-expressions, vinyl
}:
mkDerivation {
pname = "camfort";
- version = "0.905";
- sha256 = "14wp9xkssingashbys07i536xnmrgh891260drc0f88d0mwjc935";
+ version = "1.0";
+ sha256 = "1lgsn1jin57677j8xia7ga4pdvs0yrs9spdmm9rbncxcz5c3nf52";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- array base binary bytestring containers directory fgl filepath
- fortran-src GenericPretty ghc-prim hmatrix lattices lens matrix
- mmorph mtl partial-order sbv singletons syb syz template-haskell
- text transformers uniplate vector verifiable-expressions vinyl
+ array base binary bytestring containers deepseq directory fgl
+ filepath fortran-src GenericPretty ghc-prim hmatrix lattices lens
+ matrix mmorph mtl parallel pipes pretty sbv singletons strict syb
+ syz template-haskell text transformers uniplate vector
+ verifiable-expressions vinyl
];
librarySystemDepends = [ flint ];
libraryToolDepends = [ alex happy ];
- executableHaskellDepends = [ base directory optparse-applicative ];
+ executableHaskellDepends = [
+ base directory fortran-src optparse-applicative
+ ];
testHaskellDepends = [
array base binary bytestring containers directory fgl filepath
- fortran-src hmatrix hspec lattices lens mtl partial-order
- QuickCheck sbv silently temporary text time uniplate
- verifiable-expressions
+ fortran-src hmatrix hspec lattices lens mtl QuickCheck sbv silently
+ temporary text time uniplate verifiable-expressions
];
+ testToolDepends = [ hspec-discover ];
description = "CamFort - Cambridge Fortran infrastructure";
license = stdenv.lib.licenses.asl20;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -45980,19 +46601,27 @@ self: {
broken = true;
}) {};
+ "can-i-haz" = callPackage
+ ({ mkDerivation, base, deepseq, hspec, should-not-typecheck }:
+ mkDerivation {
+ pname = "can-i-haz";
+ version = "0.1.0.1";
+ sha256 = "1nay2hrvf8cxazsy5ha3affwxayirznjf0zlir0n7vbyl5w92im0";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base deepseq hspec should-not-typecheck ];
+ description = "Generic implementation of the Has pattern";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"canon" = callPackage
- ({ mkDerivation, arithmoi, array, base, containers, polynomial }:
+ ({ mkDerivation, arithmoi, array, base, containers, random }:
mkDerivation {
pname = "canon";
- version = "0.1.0.4";
- sha256 = "0hy28s1rgzsqcbs600ppj74ls1xvm39fdjjba4p3f1cfw7g5ai1f";
- libraryHaskellDepends = [
- arithmoi array base containers polynomial
- ];
- description = "Massive Number Arithmetic";
+ version = "0.1.1.4";
+ sha256 = "1srixf1m7pzgr16y2xfckhi0xk9js68ps9zw8kvnw01c37x85f48";
+ libraryHaskellDepends = [ arithmoi array base containers random ];
+ description = "Arithmetic for Psychedelically Large Numbers";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"canonical-filepath" = callPackage
@@ -46009,21 +46638,24 @@ self: {
}) {};
"canonical-json" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers, parsec
- , pretty, QuickCheck, tasty, tasty-quickcheck, unordered-containers
- , vector
+ ({ mkDerivation, aeson, base, bytestring, containers, criterion
+ , deepseq, parsec, pretty, QuickCheck, tasty, tasty-quickcheck
+ , unordered-containers, vector
}:
mkDerivation {
pname = "canonical-json";
- version = "0.5.0.1";
- sha256 = "1r52f69afsnl6kmn0h2rl6wp21jjain4kz6123a1haacfm2f2hwj";
+ version = "0.6.0.0";
+ sha256 = "0lb847hvgkn49g6rvmavk14brvvpiy6q5fswk3cm9rc53hbq02zz";
+ revision = "1";
+ editedCabalFile = "18i3msxza5phvv5mz7gjqcygrm8rxd86pk2vqnsa715qrhsz88ch";
libraryHaskellDepends = [
- base bytestring containers parsec pretty
+ base bytestring containers deepseq parsec pretty
];
testHaskellDepends = [
- aeson base bytestring QuickCheck tasty tasty-quickcheck
+ aeson base bytestring containers QuickCheck tasty tasty-quickcheck
unordered-containers vector
];
+ benchmarkHaskellDepends = [ base bytestring containers criterion ];
description = "Canonical JSON for signing and hashing JSON values";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -46166,6 +46798,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Convert data to and from a natural number representation";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cao" = callPackage
@@ -46228,8 +46862,6 @@ self: {
];
description = "Extensional capabilities and deriving combinators";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"capataz" = callPackage
@@ -46251,8 +46883,6 @@ self: {
];
description = "OTP-like supervision trees in Haskell";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"capnp" = callPackage
@@ -46784,8 +47414,10 @@ self: {
({ mkDerivation, base, split, tasty, tasty-hunit }:
mkDerivation {
pname = "casing";
- version = "0.1.4.0";
- sha256 = "1mznhlbg8qd2yrjg23rq7s77bijn92nrfx7bvx9sw8sqxwqkd2lf";
+ version = "0.1.4.1";
+ sha256 = "1jpqni00kalydwzjh2ljpgry3w696wa52bkaxzr53da60b072qhh";
+ revision = "1";
+ editedCabalFile = "1n7w4w2icfppyvlmyzzmfivbx175ckqabs4my5qvvdvwlc89xrqb";
libraryHaskellDepends = [ base split ];
testHaskellDepends = [ base tasty tasty-hunit ];
description = "Convert between various source code casing conventions";
@@ -46793,21 +47425,15 @@ self: {
}) {};
"casr-logbook" = callPackage
- ({ mkDerivation, base, containers, digit, directory, doctest
- , filepath, lens, lucid, QuickCheck, template-haskell, text, time
+ ({ mkDerivation, base, containers, digit, lens, lucid, text, time
}:
mkDerivation {
pname = "casr-logbook";
- version = "0.3.0";
- sha256 = "1hbrvwpr5crrnqwsi9i2pcw89rpy5fy3dg40al1318lmxp6miznh";
- revision = "1";
- editedCabalFile = "03llwc37nhb4syw8a7wsp8n1135x57q9xacakfzw2rm5gby7hywm";
+ version = "0.5.4";
+ sha256 = "06r160c9cjqmiqldpdd9h4dx5g9gj6cmrajprwbcabcar6ckdsci";
libraryHaskellDepends = [
base containers digit lens lucid text time
];
- testHaskellDepends = [
- base directory doctest filepath QuickCheck template-haskell
- ];
description = "CASR 61.345 Pilot Personal Logbook";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
@@ -47008,19 +47634,17 @@ self: {
({ mkDerivation, array, attoparsec, base, bytestring, containers
, deepseq, hashable, HUnit, Only, QuickCheck, quickcheck-instances
, scientific, test-framework, test-framework-hunit
- , test-framework-quickcheck2, text, text-short
+ , test-framework-quickcheck2, text, text-short, transformers
, unordered-containers, vector
}:
mkDerivation {
pname = "cassava";
- version = "0.5.1.0";
- sha256 = "0xs2c5lpy0g5lsmp2cx0dm5lnxij7cgry6xd5gsn3bfdlap8lb3n";
- revision = "1";
- editedCabalFile = "1brz20js95synh0yw942ihy4y9y6nk4xnsqcjqi9580y24zcigkl";
+ version = "0.5.2.0";
+ sha256 = "01h1zrdqb313cjd4rqm1107azzx4czqi018c2djf66a5i7ajl3dk";
configureFlags = [ "-f-bytestring--lt-0_10_4" ];
libraryHaskellDepends = [
array attoparsec base bytestring containers deepseq hashable Only
- scientific text text-short unordered-containers vector
+ scientific text text-short transformers unordered-containers vector
];
testHaskellDepends = [
attoparsec base bytestring hashable HUnit QuickCheck
@@ -47049,6 +47673,8 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "Conduit interface for cassava package";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cassava-embed" = callPackage
@@ -47128,8 +47754,6 @@ self: {
];
description = "io-streams interface for the cassava CSV library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"cassette" = callPackage
@@ -47205,6 +47829,8 @@ self: {
testToolDepends = [ tasty-discover ];
description = "Multicast, thread-safe, and fast logger";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"castle" = callPackage
@@ -47298,13 +47924,11 @@ self: {
({ mkDerivation, alg, base, transformers }:
mkDerivation {
pname = "category";
- version = "0.2.4.0";
- sha256 = "0c1507vl3r91f401ccsnphhis8krrzj789vzx9ynlg2lfalkvnni";
+ version = "0.2.4.1";
+ sha256 = "0gliy1frgpgyzq3vkin315ylpklfc6dvg0vd93hz8f9m3js6dm48";
libraryHaskellDepends = [ alg base transformers ];
description = "Categorical types and classes";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"category-extras" = callPackage
@@ -47424,6 +48048,8 @@ self: {
hspec QuickCheck
];
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cayene-lpp" = callPackage
@@ -47518,25 +48144,26 @@ self: {
}) {};
"cborg" = callPackage
- ({ mkDerivation, aeson, array, base, base16-bytestring
- , base64-bytestring, bytestring, containers, deepseq, fail
- , ghc-prim, half, integer-gmp, primitive, QuickCheck, scientific
- , tasty, tasty-hunit, tasty-quickcheck, text, vector
+ ({ mkDerivation, aeson, array, base, base-orphans
+ , base16-bytestring, base64-bytestring, bytestring, containers
+ , deepseq, fail, ghc-prim, half, integer-gmp, primitive, QuickCheck
+ , random, scientific, tasty, tasty-hunit, tasty-quickcheck, text
+ , vector
}:
mkDerivation {
pname = "cborg";
- version = "0.2.1.0";
- sha256 = "10vlv5mwg9625rmir7mi0zj5ygs3j3vlhm2h8lilkbj5frgp764i";
+ version = "0.2.2.0";
+ sha256 = "1rdnvy0w17s70ikmbyrnwax5rvqh19l95sh8i7ipgxi23z1r0bp1";
libraryHaskellDepends = [
array base bytestring containers deepseq ghc-prim half integer-gmp
primitive text
];
testHaskellDepends = [
- aeson array base base16-bytestring base64-bytestring bytestring
- deepseq fail half QuickCheck scientific tasty tasty-hunit
- tasty-quickcheck text vector
+ aeson array base base-orphans base16-bytestring base64-bytestring
+ bytestring deepseq fail half QuickCheck random scientific tasty
+ tasty-hunit tasty-quickcheck text vector
];
- description = "Concise Binary Object Representation";
+ description = "Concise Binary Object Representation (CBOR)";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -47806,8 +48433,8 @@ self: {
}:
mkDerivation {
pname = "cereal";
- version = "0.5.8.0";
- sha256 = "10j205g4w311ypk24ds2nmv1816s8645788s6a1vrfippa56dlrp";
+ version = "0.5.8.1";
+ sha256 = "1mqvd1iwzr50az4y24332x3g3wsrzw8j1iwph02vr7jbjfn8i7id";
libraryHaskellDepends = [
array base bytestring containers ghc-prim
];
@@ -47958,6 +48585,8 @@ self: {
];
description = "Use cereal to encode/decode io-streams";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cereal-text" = callPackage
@@ -48179,24 +48808,6 @@ self: {
}) {};
"cgi" = callPackage
- ({ mkDerivation, base, bytestring, containers, exceptions, mtl
- , multipart, network, network-uri, parsec, time, xhtml
- }:
- mkDerivation {
- pname = "cgi";
- version = "3001.3.0.3";
- sha256 = "1rml686pvjhpd51vj6g79c6132m8kx6kxikk7g246imps3bl90gb";
- revision = "3";
- editedCabalFile = "06gyp3mxx9jkkbz9sbn389wjsz33s231vk53pbsm37a1z9ply14a";
- libraryHaskellDepends = [
- base bytestring containers exceptions mtl multipart network
- network-uri parsec time xhtml
- ];
- description = "A library for writing CGI programs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "cgi_3001_4_0_0" = callPackage
({ mkDerivation, base, bytestring, containers, exceptions, mtl
, multipart, network-uri, parsec, time, xhtml
}:
@@ -48214,7 +48825,6 @@ self: {
];
description = "A library for writing CGI programs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cgi-undecidable" = callPackage
@@ -48246,23 +48856,23 @@ self: {
"cgrep" = callPackage
({ mkDerivation, aeson, ansi-terminal, array, async, base
, bytestring, cmdargs, containers, directory, dlist, either
- , exceptions, filepath, ghc-prim, mtl, process, regex-base
+ , exceptions, extra, filepath, ghc-prim, mtl, process, regex-base
, regex-pcre, regex-posix, safe, split, stm, stringsearch
, transformers, unicode-show, unix-compat, unordered-containers
, utf8-string, yaml
}:
mkDerivation {
pname = "cgrep";
- version = "6.6.25";
- sha256 = "0cary2b5jg8151n48a4vij32g68mrql791mhw43v44wvhlag8plw";
+ version = "6.6.30";
+ sha256 = "1ald0461mnd65g5czp3d8dzdvy8pmdxhzj35sghcnxi6qs18xp69";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
aeson ansi-terminal array async base bytestring cmdargs containers
- directory dlist either exceptions filepath ghc-prim mtl process
- regex-base regex-pcre regex-posix safe split stm stringsearch
- transformers unicode-show unix-compat unordered-containers
- utf8-string yaml
+ directory dlist either exceptions extra filepath ghc-prim mtl
+ process regex-base regex-pcre regex-posix safe split stm
+ stringsearch transformers unicode-show unix-compat
+ unordered-containers utf8-string yaml
];
description = "Command line tool";
license = stdenv.lib.licenses.gpl2;
@@ -48493,6 +49103,25 @@ self: {
license = "LGPL";
}) {};
+ "chart-cli" = callPackage
+ ({ mkDerivation, attoparsec, base, Chart, Chart-cairo, colour
+ , data-default-class, dates, filepath, hashable, lens
+ , optparse-applicative, text, time
+ }:
+ mkDerivation {
+ pname = "chart-cli";
+ version = "0.1.0.0";
+ sha256 = "0z90jzhw0k1z20gn227r0jcpnfj6ajr9y54y5g7phb6cy1ff2iv3";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ attoparsec base Chart Chart-cairo colour data-default-class dates
+ filepath hashable lens optparse-applicative text time
+ ];
+ description = "Command-line utility to draw charts from input data easily";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"chart-histogram" = callPackage
({ mkDerivation, base, Chart }:
mkDerivation {
@@ -48798,8 +49427,8 @@ self: {
({ mkDerivation, array, base, QuickCheck, random, semigroupoids }:
mkDerivation {
pname = "checkers";
- version = "0.4.14";
- sha256 = "0pnb7xdhaq4rw28hd4cz1b04w52ffjghw3x9zchiwm4h8hwhvibz";
+ version = "0.5.2";
+ sha256 = "1mqfy6lrivc36kxbfr9zyp70pyq3k2xrmavkadznh999d54x11kq";
libraryHaskellDepends = [
array base QuickCheck random semigroupoids
];
@@ -48807,20 +49436,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "checkers_0_5_0" = callPackage
- ({ mkDerivation, array, base, QuickCheck, random, semigroupoids }:
- mkDerivation {
- pname = "checkers";
- version = "0.5.0";
- sha256 = "1kbn71blf67jfncv4gia8ygyzh4bngq36vapq2vqrqrzhap3mqi7";
- libraryHaskellDepends = [
- array base QuickCheck random semigroupoids
- ];
- description = "Check properties on standard classes and data structures";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"checkmate" = callPackage
({ mkDerivation, base, bytestring, containers, diff-parse
, directory, file-embed, filepath, github, hlint, hspec
@@ -48872,12 +49487,16 @@ self: {
pname = "chell";
version = "0.5";
sha256 = "1i845isfbk0yq852am9bqmxfpfkpnlha8nfidffsv4gw2p8gg6fg";
+ revision = "1";
+ editedCabalFile = "1q93wrw03ix4cmnkz3lzkixcvvizw6i2ia2zifdfak1dvxnblxk0";
libraryHaskellDepends = [
ansi-terminal base bytestring options patience random
template-haskell text transformers
];
description = "A simple and intuitive library for automated testing";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"chell-hunit" = callPackage
@@ -48889,6 +49508,8 @@ self: {
libraryHaskellDepends = [ base chell HUnit ];
description = "HUnit support for the Chell testing library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"chell-quickcheck" = callPackage
@@ -48900,6 +49521,8 @@ self: {
libraryHaskellDepends = [ base chell QuickCheck random ];
description = "QuickCheck support for the Chell testing library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"chessIO" = callPackage
@@ -49034,6 +49657,8 @@ self: {
libraryToolDepends = [ c2hs ];
description = "Haskell bindings for Chipmunk2D physics engine";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"chitauri" = callPackage
@@ -49370,23 +49995,22 @@ self: {
"chronos" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, clock
- , criterion, deepseq, hashable, HUnit, old-locale, primitive
- , QuickCheck, semigroups, test-framework, test-framework-hunit
- , test-framework-quickcheck2, text, thyme, time, torsor, vector
+ , criterion, deepseq, doctest, hashable, HUnit, old-locale
+ , primitive, QuickCheck, semigroups, test-framework
+ , test-framework-hunit, test-framework-quickcheck2, text, thyme
+ , time, torsor, vector
}:
mkDerivation {
pname = "chronos";
- version = "1.0.5";
- sha256 = "0274b5qv1wf52vsdjm1siksh07qgdgid0a9316b7nab2gc7jgpdz";
- revision = "3";
- editedCabalFile = "13gjxvybjkgw0qs1vi45b7vs4d2lbh7l76kl8m99dd13dvvb49qf";
+ version = "1.0.7";
+ sha256 = "0yqk43ax20sk3rpxd5s857ivbgigvd5qdq4axawzmqr2na6jlikx";
libraryHaskellDepends = [
aeson attoparsec base bytestring clock hashable primitive
semigroups text torsor vector
];
testHaskellDepends = [
- attoparsec base bytestring HUnit QuickCheck test-framework
- test-framework-hunit test-framework-quickcheck2 text
+ attoparsec base bytestring doctest HUnit QuickCheck test-framework
+ test-framework-hunit test-framework-quickcheck2 text torsor
];
benchmarkHaskellDepends = [
attoparsec base bytestring criterion deepseq old-locale QuickCheck
@@ -50186,8 +50810,8 @@ self: {
}:
mkDerivation {
pname = "clang-pure";
- version = "0.2.0.4";
- sha256 = "13c03zj15xx8hq6gqvq62dfqz936mrrz34irk7bqyi0sbhqgrjn1";
+ version = "0.2.0.5";
+ sha256 = "0s84q6qdym02xvva3iq559kmhwzb08slip69h4cvvc6a7lqmaj37";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal inline-c process ];
@@ -50266,15 +50890,13 @@ self: {
, filepath, ghc, ghc-boot, ghc-prim, ghc-typelits-extra
, ghc-typelits-knownnat, ghc-typelits-natnormalise, ghci, hashable
, haskeline, integer-gmp, lens, mtl, primitive, process, reflection
- , text, time, transformers, unbound-generics, uniplate, unix
- , unordered-containers, vector
+ , template-haskell, text, time, transformers, uniplate, unix
+ , unordered-containers, utf8-string, vector
}:
mkDerivation {
pname = "clash-ghc";
- version = "0.99.3";
- sha256 = "0gjbvh6w2yc8pk38h8pw2jqfbyjzadizszy7v24a851m2cg0yiw9";
- revision = "1";
- editedCabalFile = "0r86409nh73wcychmwh2j3qnbbjk9z2yxr5amx7gpc8gar4qb3qi";
+ version = "1.0.0";
+ sha256 = "1b216mvw4w0yhpr8bi5j6ra2lfhk6imys10r0pidrpfc8wh779lg";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -50282,8 +50904,8 @@ self: {
concurrent-supply containers deepseq directory filepath ghc
ghc-boot ghc-prim ghc-typelits-extra ghc-typelits-knownnat
ghc-typelits-natnormalise ghci hashable haskeline integer-gmp lens
- mtl primitive process reflection text time transformers
- unbound-generics uniplate unix unordered-containers vector
+ mtl primitive process reflection template-haskell text time
+ transformers uniplate unix unordered-containers utf8-string vector
];
executableHaskellDepends = [ base ];
description = "CAES Language for Synchronous Hardware";
@@ -50293,25 +50915,28 @@ self: {
}) {};
"clash-lib" = callPackage
- ({ mkDerivation, aeson, ansi-wl-pprint, attoparsec, base
- , bytestring, clash-prelude, concurrent-supply, containers
- , data-binary-ieee754, deepseq, directory, errors, fgl, filepath
- , ghc, hashable, integer-gmp, lens, mtl, parsers, prettyprinter
- , primitive, process, reducers, template-haskell, text, time
- , transformers, trifecta, unbound-generics, unordered-containers
- , vector
+ ({ mkDerivation, aeson, ansi-terminal, ansi-wl-pprint, attoparsec
+ , base, binary, bytestring, clash-prelude, concurrent-supply
+ , containers, data-binary-ieee754, deepseq, directory, errors
+ , exceptions, filepath, ghc, hashable, hint, integer-gmp
+ , interpolate, lens, mtl, parsers, prettyprinter, primitive
+ , process, reducers, template-haskell, temporary, text, text-show
+ , time, transformers, trifecta, unordered-containers, vector
+ , vector-binary-instances
}:
mkDerivation {
pname = "clash-lib";
- version = "0.99.3";
- sha256 = "1fnsffp2qr608sq7z243a772qisyqbndxmprwd43lbvg2v00yssm";
+ version = "1.0.0";
+ sha256 = "1mh6aj6987i80xkqxw1jrqf0jih7jlgsgf13p30mc1graibxbj95";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- aeson ansi-wl-pprint attoparsec base bytestring clash-prelude
- concurrent-supply containers data-binary-ieee754 deepseq directory
- errors fgl filepath ghc hashable integer-gmp lens mtl parsers
- prettyprinter primitive process reducers template-haskell text time
- transformers trifecta unbound-generics unordered-containers vector
+ aeson ansi-terminal ansi-wl-pprint attoparsec base binary
+ bytestring clash-prelude concurrent-supply containers
+ data-binary-ieee754 deepseq directory errors exceptions filepath
+ ghc hashable hint integer-gmp interpolate lens mtl parsers
+ prettyprinter primitive process reducers template-haskell temporary
+ text text-show time transformers trifecta unordered-containers
+ vector vector-binary-instances
];
description = "CAES Language for Synchronous Hardware - As a Library";
license = stdenv.lib.licenses.bsd2;
@@ -50336,23 +50961,32 @@ self: {
}) {};
"clash-prelude" = callPackage
- ({ mkDerivation, array, base, bifunctors, constraints, criterion
- , data-binary-ieee754, data-default, deepseq, doctest, ghc-prim
+ ({ mkDerivation, array, base, bifunctors, binary, bytestring
+ , constraints, containers, criterion, data-binary-ieee754
+ , data-default-class, deepseq, doctest, ghc-prim
, ghc-typelits-extra, ghc-typelits-knownnat
- , ghc-typelits-natnormalise, half, integer-gmp, lens, QuickCheck
- , reflection, singletons, template-haskell, transformers, vector
+ , ghc-typelits-natnormalise, half, hashable, hint, integer-gmp
+ , lens, QuickCheck, reflection, singletons, tasty, tasty-hunit
+ , template-haskell, text, th-lift, th-orphans, time, transformers
+ , type-errors, vector
}:
mkDerivation {
pname = "clash-prelude";
- version = "0.99.3";
- sha256 = "1g3pidjpcpzhkgyxw1w58ck0ihpla58nxx3xgkrcfz903xkjhipg";
+ version = "1.0.0";
+ sha256 = "045818jkl8q3b5rp52fx5znb0d9ai3ny8avls0jmgf7aqbmcwr5k";
+ revision = "2";
+ editedCabalFile = "0l7scl33mrr0i2208yh5dqbz8afmh9crhf9wlvyz67j1l91sfaqc";
libraryHaskellDepends = [
- array base bifunctors constraints data-binary-ieee754 data-default
- deepseq ghc-prim ghc-typelits-extra ghc-typelits-knownnat
- ghc-typelits-natnormalise half integer-gmp lens QuickCheck
- reflection singletons template-haskell transformers vector
+ array base bifunctors binary bytestring constraints containers
+ data-binary-ieee754 data-default-class deepseq ghc-prim
+ ghc-typelits-extra ghc-typelits-knownnat ghc-typelits-natnormalise
+ half hashable integer-gmp lens QuickCheck reflection singletons
+ template-haskell text th-lift th-orphans time transformers
+ type-errors vector
+ ];
+ testHaskellDepends = [
+ base doctest ghc-typelits-knownnat hint tasty tasty-hunit
];
- testHaskellDepends = [ base doctest ];
benchmarkHaskellDepends = [
base criterion deepseq template-haskell
];
@@ -50444,30 +51078,31 @@ self: {
}) {};
"classify-frog" = callPackage
- ({ mkDerivation, array, audacity, base, bifunctors, Cabal, carray
+ ({ mkDerivation, array, audacity, base, bifunctors, carray
, comfort-array, concurrent-split, containers, deepseq
, explicit-exception, fft, filemanip, gnuplot, hmm-lapack, lapack
, lazy-csv, llvm-extra, llvm-tf, non-empty, numeric-prelude
, optparse-applicative, parallel, pathtype, pooled-io, semigroups
- , soxlib, storable-record, storablevector, storablevector-carray
- , synthesizer-core, synthesizer-llvm, tagchup, text, time
- , transformers, utility-ht, xml-basic
+ , shell-utility, soxlib, storable-record, storablevector
+ , storablevector-carray, synthesizer-core, synthesizer-llvm
+ , tagchup, text, time, transformers, utility-ht, xml-basic
}:
mkDerivation {
pname = "classify-frog";
- version = "0.2.4.1";
- sha256 = "1jw61n54g65s9chqmp58ikngzmrabg8s90ghsqvm2hjg8hbx4h7p";
+ version = "0.2.4.3";
+ sha256 = "0pba3a2vj9s5x8mm878q8vl0a57vrm2c4s79n0vc2pggbkb6dybc";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
executableHaskellDepends = [
- array audacity base bifunctors Cabal carray comfort-array
+ array audacity base bifunctors carray comfort-array
concurrent-split containers deepseq explicit-exception fft
filemanip gnuplot hmm-lapack lapack lazy-csv llvm-extra llvm-tf
non-empty numeric-prelude optparse-applicative parallel pathtype
- pooled-io semigroups soxlib storable-record storablevector
- storablevector-carray synthesizer-core synthesizer-llvm tagchup
- text time transformers utility-ht xml-basic
+ pooled-io semigroups shell-utility soxlib storable-record
+ storablevector storablevector-carray synthesizer-core
+ synthesizer-llvm tagchup text time transformers utility-ht
+ xml-basic
];
description = "Classify sounds produced by Xenopus laevis";
license = stdenv.lib.licenses.bsd3;
@@ -50636,8 +51271,8 @@ self: {
}:
mkDerivation {
pname = "clckwrks";
- version = "0.24.0.10";
- sha256 = "1jzbwfiyf0zigxf15c31ibmva7pxqdbkkp3l65s6gkcnq71isz6k";
+ version = "0.25.2";
+ sha256 = "087k0n6ri0pg5wmjnw3gkjaz5d627519vby9kmiagck7id7f89q9";
enableSeparateDataOutput = true;
setupHaskellDepends = [ base Cabal ];
libraryHaskellDepends = [
@@ -50660,17 +51295,22 @@ self: {
}) {inherit (pkgs) openssl;};
"clckwrks-cli" = callPackage
- ({ mkDerivation, acid-state, base, clckwrks, haskeline, mtl
- , network, parsec
+ ({ mkDerivation, acid-state, base, clckwrks, containers, filepath
+ , haskeline, mtl, network, parsec
}:
mkDerivation {
pname = "clckwrks-cli";
- version = "0.2.17.2";
- sha256 = "0anrbigkx4y4fz8bsm1vgypf4s0ypapqh0kjyrcnyrpvn3ar5d45";
- isLibrary = false;
+ version = "0.3.0";
+ sha256 = "0ardhl27n3al945s88dmygnw42ki5sn23s59rkhbs4pdyp9yawhs";
+ isLibrary = true;
isExecutable = true;
+ libraryHaskellDepends = [
+ acid-state base clckwrks containers filepath haskeline mtl network
+ parsec
+ ];
executableHaskellDepends = [
- acid-state base clckwrks haskeline mtl network parsec
+ acid-state base clckwrks containers filepath haskeline mtl network
+ parsec
];
description = "a command-line interface for adminstrating some aspects of clckwrks";
license = stdenv.lib.licenses.bsd3;
@@ -50737,8 +51377,8 @@ self: {
}:
mkDerivation {
pname = "clckwrks-plugin-ircbot";
- version = "0.6.17.3";
- sha256 = "1fk6jyjvkqs11khj8mriqbj56kz19ayhha3kq79cnhjm8c7184cb";
+ version = "0.6.17.5";
+ sha256 = "069dvpw4g61da7v9n9ygs3lsw4c68qph4iqy6c5l9kcrkww9s3pv";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
acid-state attoparsec base blaze-html bytestring clckwrks
@@ -50788,8 +51428,8 @@ self: {
}:
mkDerivation {
pname = "clckwrks-plugin-media";
- version = "0.6.16.5";
- sha256 = "1k20i500f28pb55618zv80hg94ip4g6vkbn6szp468m4f2z01j9r";
+ version = "0.6.16.6";
+ sha256 = "05gmr0y5ygsybmdp1k2xcfhbn7wix9mrwvwsv4x0has9l8xc92q1";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
acid-state attoparsec base blaze-html cereal clckwrks containers
@@ -50815,8 +51455,8 @@ self: {
}:
mkDerivation {
pname = "clckwrks-plugin-page";
- version = "0.4.3.15";
- sha256 = "0ks0dr5arc1kvyk1qhin153v77wi0p0hrpnp563g85scgdyl82bw";
+ version = "0.4.3.18";
+ sha256 = "0fgz0rxzkbavzqci4kcav1pljkhdy1mgmf3mldbxp8f88pr5lm42";
setupHaskellDepends = [ base Cabal ];
libraryHaskellDepends = [
acid-state aeson attoparsec base clckwrks containers directory
@@ -51216,6 +51856,18 @@ self: {
broken = true;
}) {};
+ "clisparkline" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "clisparkline";
+ version = "0.1.0.0";
+ sha256 = "1ldsjx6y74cspxy5c143zdww7pxa50pn59s4v2dd1iky1x2yrygc";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base ];
+ description = "Tiny library to pretty print sparklines onto the CLI";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"clist" = callPackage
({ mkDerivation, base, natural-induction, peano }:
mkDerivation {
@@ -51270,18 +51922,6 @@ self: {
}) {};
"clock" = callPackage
- ({ mkDerivation, base, tasty, tasty-quickcheck }:
- mkDerivation {
- pname = "clock";
- version = "0.7.2";
- sha256 = "07v91s20halsqjmziqb1sqjp2sjpckl9by7y28aaklwqi2bh2rl8";
- libraryHaskellDepends = [ base ];
- testHaskellDepends = [ base tasty tasty-quickcheck ];
- description = "High-resolution clock functions: monotonic, realtime, cputime";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "clock_0_8" = callPackage
({ mkDerivation, base, criterion, tasty, tasty-quickcheck }:
mkDerivation {
pname = "clock";
@@ -51292,7 +51932,6 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "High-resolution clock functions: monotonic, realtime, cputime";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"clock-extras" = callPackage
@@ -51749,24 +52388,24 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "cmark" = callPackage
- ({ mkDerivation, base, blaze-html, bytestring, cheapskate
- , criterion, discount, HUnit, markdown, sundown, text
+ "cmake-syntax" = callPackage
+ ({ mkDerivation, base, bytestring, hspec, raw-strings-qq, trifecta
}:
mkDerivation {
- pname = "cmark";
- version = "0.5.6.3";
- sha256 = "09vzb6hsh20ykr7z7vb5af1m68w0aj0yah39kjqkwbahsq2y5qpf";
- libraryHaskellDepends = [ base bytestring text ];
- testHaskellDepends = [ base HUnit text ];
- benchmarkHaskellDepends = [
- base blaze-html cheapskate criterion discount markdown sundown text
+ pname = "cmake-syntax";
+ version = "0.1.0.0";
+ sha256 = "1d4pdnf4yb630iiw2iviidhzddfx15z2w6gamf92bdl17886i4jr";
+ libraryHaskellDepends = [
+ base bytestring raw-strings-qq trifecta
];
- description = "Fast, accurate CommonMark (Markdown) parser and renderer";
+ testHaskellDepends = [
+ base bytestring hspec raw-strings-qq trifecta
+ ];
+ description = "Parser for the CMake syntax (CMakeLists.txt and .cmake files)";
license = stdenv.lib.licenses.bsd3;
}) {};
- "cmark_0_6" = callPackage
+ "cmark" = callPackage
({ mkDerivation, base, blaze-html, bytestring, cheapskate
, criterion, discount, HUnit, markdown, sundown, text
}:
@@ -51781,27 +52420,9 @@ self: {
];
description = "Fast, accurate CommonMark (Markdown) parser and renderer";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cmark-gfm" = callPackage
- ({ mkDerivation, base, blaze-html, bytestring, cheapskate
- , criterion, discount, HUnit, markdown, sundown, text
- }:
- mkDerivation {
- pname = "cmark-gfm";
- version = "0.1.8";
- sha256 = "0z5zkhax975b3ih71x846n09zrhqb7j4pn6rmfv6p4q8gncrrv9l";
- libraryHaskellDepends = [ base bytestring text ];
- testHaskellDepends = [ base HUnit text ];
- benchmarkHaskellDepends = [
- base blaze-html cheapskate criterion discount markdown sundown text
- ];
- description = "Fast, accurate GitHub Flavored Markdown parser and renderer";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "cmark-gfm_0_2_0" = callPackage
({ mkDerivation, base, blaze-html, bytestring, cheapskate
, criterion, discount, HUnit, markdown, sundown, text
}:
@@ -51816,7 +52437,6 @@ self: {
];
description = "Fast, accurate GitHub Flavored Markdown parser and renderer";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cmark-highlight" = callPackage
@@ -51833,6 +52453,8 @@ self: {
];
description = "Code highlighting for cmark";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cmark-lucid" = callPackage
@@ -51857,6 +52479,8 @@ self: {
libraryHaskellDepends = [ base cmark ];
description = "Pattern synonyms for cmark";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cmark-sections" = callPackage
@@ -52051,6 +52675,20 @@ self: {
broken = true;
}) {cmph = null;};
+ "cmptype" = callPackage
+ ({ mkDerivation, base, ghc, magic-tyfams, should-not-typecheck }:
+ mkDerivation {
+ pname = "cmptype";
+ version = "0.2.0.0";
+ sha256 = "0pkflrrwrwks7qjw3rpqnrk1k3p1dw4dq75cqzq12m356m3a2fpc";
+ libraryHaskellDepends = [ base ghc magic-tyfams ];
+ testHaskellDepends = [
+ base ghc magic-tyfams should-not-typecheck
+ ];
+ description = "Compare types of any kinds";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"cmt" = callPackage
({ mkDerivation, attoparsec, base, classy-prelude, containers
, directory, file-embed, filepath, process, tasty, tasty-discover
@@ -52157,31 +52795,6 @@ self: {
}) {};
"co-log" = callPackage
- ({ mkDerivation, ansi-terminal, base, bytestring, co-log-core
- , containers, contravariant, directory, filepath, markdown-unlit
- , mtl, stm, text, time, transformers, typerep-map
- }:
- mkDerivation {
- pname = "co-log";
- version = "0.2.0";
- sha256 = "1xd83srrm659nf2s2xrm3zjg6zhrmhvj6s6mwx4axrgvnxf2lbjr";
- revision = "1";
- editedCabalFile = "0np7g6sqm6iyjyrypwlgrz67n0vhasvgp1k6cwrcj2lnmvjcrmvl";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- ansi-terminal base bytestring co-log-core containers contravariant
- directory filepath mtl stm text time transformers typerep-map
- ];
- executableHaskellDepends = [ base text typerep-map ];
- executableToolDepends = [ markdown-unlit ];
- description = "Composable Contravariant Comonadic Logging Library";
- license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "co-log_0_3_0_0" = callPackage
({ mkDerivation, ansi-terminal, base, bytestring, chronos
, co-log-core, containers, contravariant, directory, filepath
, hedgehog, markdown-unlit, mtl, stm, text, transformers
@@ -52212,18 +52825,6 @@ self: {
}) {};
"co-log-core" = callPackage
- ({ mkDerivation, base, doctest }:
- mkDerivation {
- pname = "co-log-core";
- version = "0.1.1";
- sha256 = "00qkkycxm4dmqpacbhi50kk9dyhd96b0d6csxs75pm4xy337205w";
- libraryHaskellDepends = [ base ];
- testHaskellDepends = [ base doctest ];
- description = "Composable Contravariant Comonadic Logging Library";
- license = stdenv.lib.licenses.mpl20;
- }) {};
-
- "co-log-core_0_2_0_0" = callPackage
({ mkDerivation, base, doctest, Glob }:
mkDerivation {
pname = "co-log-core";
@@ -52233,7 +52834,6 @@ self: {
testHaskellDepends = [ base doctest Glob ];
description = "Composable Contravariant Comonadic Logging Library";
license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"co-log-polysemy" = callPackage
@@ -52242,6 +52842,8 @@ self: {
pname = "co-log-polysemy";
version = "0.0.0.0";
sha256 = "02kv0r3ijv410lv9wz40mw4vgv4fmhgrxwppz4l0p50wyra5vq04";
+ revision = "1";
+ editedCabalFile = "1ig0giws954lsrhkw4frwmh01fsghvhpkwpj975n5fxrnzy46xy5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base co-log-core polysemy ];
@@ -52569,6 +53171,8 @@ self: {
pname = "coercible-utils";
version = "0.0.0";
sha256 = "164cn0cs7fjfm599v2z8wsgsz599f97wky4h7vycf460rn34jqia";
+ revision = "1";
+ editedCabalFile = "1xbnkv6fqf4mizqkha8b073p0r84l1rx1kzdsd6nh8b0adrp6i4d";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base ];
benchmarkHaskellDepends = [ base gauge ];
@@ -52576,6 +53180,32 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "coercible-utils_0_1_0" = callPackage
+ ({ mkDerivation, base, gauge }:
+ mkDerivation {
+ pname = "coercible-utils";
+ version = "0.1.0";
+ sha256 = "0nadwhr96nvwz1vxxr7814h22v02zrycqa9xijgvrakf0j174yls";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base ];
+ benchmarkHaskellDepends = [ base gauge ];
+ description = "Utility functions for Coercible types";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "coercion-extras" = callPackage
+ ({ mkDerivation, base, containers }:
+ mkDerivation {
+ pname = "coercion-extras";
+ version = "0.1.0.0";
+ sha256 = "051gh93yncgclmi5i16rm07wg7v0zqz7s1q40h50vny39glsgwc7";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base containers ];
+ description = "Extra utilities for manipulating nominal and representational coercions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"cofunctor" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -52853,6 +53483,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Collection+JSON—Hypermedia Type Tools";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"collections" = callPackage
@@ -52914,22 +53546,6 @@ self: {
}) {};
"colonnade" = callPackage
- ({ mkDerivation, base, bytestring, contravariant, doctest
- , profunctors, text, vector
- }:
- mkDerivation {
- pname = "colonnade";
- version = "1.2.0.1";
- sha256 = "12ryrg42qgg1hnflz757fik1lrg51l9bg4145bb678y9c1ixisrj";
- libraryHaskellDepends = [
- base bytestring contravariant profunctors text vector
- ];
- testHaskellDepends = [ base doctest ];
- description = "Generic types and functions for columnar encoding and decoding";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "colonnade_1_2_0_2" = callPackage
({ mkDerivation, ansi-wl-pprint, base, bytestring, contravariant
, doctest, fast-logger, profunctors, QuickCheck, semigroupoids
, semigroups, text, vector
@@ -52938,6 +53554,8 @@ self: {
pname = "colonnade";
version = "1.2.0.2";
sha256 = "1asjx71gp26a15v7g3p8bfddb5nnzky6672c35xx35hq73mhykr4";
+ revision = "1";
+ editedCabalFile = "1aq72ri6labv8vsf6s3h8mkry4kiig9659lgdmrqr8ngyp7jwp69";
libraryHaskellDepends = [
base bytestring contravariant profunctors semigroups text vector
];
@@ -52946,7 +53564,6 @@ self: {
];
description = "Generic types and functions for columnar encoding and decoding";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"color-counter" = callPackage
@@ -53114,8 +53731,6 @@ self: {
libraryHaskellDepends = [ accelerate base ];
description = "Working with colours in Accelerate";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"colour-space" = callPackage
@@ -53126,8 +53741,8 @@ self: {
pname = "colour-space";
version = "0.1.4.0";
sha256 = "0sr341chqhngm7ihyy3ym3w345sk101gznw80iksjwxjg3iiqxmq";
- revision = "1";
- editedCabalFile = "1n9n76g9zjp1i02f964dlfy65m978m8whbcivd063pf1acp9njax";
+ revision = "2";
+ editedCabalFile = "0qldxm84rk344h4wgk3bqsxfhkmvj8psm0sqgfnjh34a4fy5hjzg";
libraryHaskellDepends = [
base colour constrained-categories JuicyPixels linear
linearmap-category manifolds semigroups vector-space
@@ -53178,6 +53793,23 @@ self: {
broken = true;
}) {};
+ "columnar" = callPackage
+ ({ mkDerivation, base, bytestring, cassava, containers, enum-text
+ , fmt, lens, possibly, rio, template-haskell, text, time
+ , unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "columnar";
+ version = "1.0.0.0";
+ sha256 = "0qf5fbd9cwc22npww4qsjaj7rxdy2r3rjm19w23a9shqvgc2l6av";
+ libraryHaskellDepends = [
+ base bytestring cassava containers enum-text fmt lens possibly rio
+ template-haskell text time unordered-containers vector
+ ];
+ description = "A CSV toolkit based on cassava and enum-text";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"com" = callPackage
({ mkDerivation }:
mkDerivation {
@@ -53439,8 +54071,6 @@ self: {
];
description = "Arrays where the index type is a function of the shape type";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"comfort-graph" = callPackage
@@ -53475,8 +54105,6 @@ self: {
];
description = "A format for describing comics";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"comma" = callPackage
@@ -54015,8 +54643,8 @@ self: {
pname = "complex-generic";
version = "0.1.1.1";
sha256 = "03wb599difj0qm1dpzgxdymq3bql69qmkdk5fspcyc19nnd5qlqz";
- revision = "3";
- editedCabalFile = "0vm0i25bib0bzlw7fw209pqn3963y5hx0vkri049q4v7y0qld8k9";
+ revision = "4";
+ editedCabalFile = "00v0mr5fc090wph3s9ks3ppf81nqbkd0yfa347fkn3zrq3daqr8f";
libraryHaskellDepends = [ base template-haskell ];
description = "complex numbers with non-mandatory RealFloat";
license = stdenv.lib.licenses.bsd3;
@@ -54149,8 +54777,8 @@ self: {
}:
mkDerivation {
pname = "composite-aeson";
- version = "0.5.5.0";
- sha256 = "1hmhnkfmdjm5q8lkvlyr7rzs1lfycnblz3q2y8aziy27j7pvnz6h";
+ version = "0.6.0.0";
+ sha256 = "0r15hc6kwg0dibxix2f5afg91qwc6fd5m9sijn0k0mq62f0ln7ki";
libraryHaskellDepends = [
aeson aeson-better-errors base composite-base containers
contravariant generic-deriving hashable lens mmorph mtl profunctors
@@ -54175,8 +54803,8 @@ self: {
}:
mkDerivation {
pname = "composite-aeson-refined";
- version = "0.5.5.0";
- sha256 = "0mm0dbsxqw5m78jgdn6vnbck2icqkzgwqyc3c3ghyz46cymd7pjz";
+ version = "0.6.0.0";
+ sha256 = "1plhqx0k0xab8fkip6v96rqnrdjq02ph1gmrk4r5zq5x4gc7gpps";
libraryHaskellDepends = [
aeson-better-errors base composite-aeson mtl refined
];
@@ -54193,8 +54821,8 @@ self: {
}:
mkDerivation {
pname = "composite-base";
- version = "0.5.5.0";
- sha256 = "0qlg979cwkdlfpcwh7r0qr9fjs525b3xly0invr358h2g1lgi0fm";
+ version = "0.6.0.0";
+ sha256 = "188za7x9069ah8sgf8laqwkg3yfzl7cm23iacbcnbw25jd7k6vy3";
libraryHaskellDepends = [
base exceptions lens monad-control mtl profunctors template-haskell
text transformers transformers-base unliftio-core vinyl
@@ -54215,8 +54843,8 @@ self: {
}:
mkDerivation {
pname = "composite-ekg";
- version = "0.5.5.0";
- sha256 = "0bawdcx21dd0szxnnxs2iinzz6h4w2phk7mfs26fxiqx3f375lm4";
+ version = "0.6.0.0";
+ sha256 = "065aah2jx6r8i8qgwfql90nc6avhrrhc3aq3zlrqimqwv4772pvj";
libraryHaskellDepends = [
base composite-base ekg-core lens text vinyl
];
@@ -54233,8 +54861,8 @@ self: {
}:
mkDerivation {
pname = "composite-opaleye";
- version = "0.5.5.0";
- sha256 = "0s54g9c1lm3jrdj44cvzxgbfaf7l2fdq2yy25vhqdmww50h8q1cx";
+ version = "0.6.0.0";
+ sha256 = "13hpvk6wx7yiz7klay7da8lllvszddlixk9xxyc8w9kqq48b4k92";
libraryHaskellDepends = [
base bytestring composite-base lens opaleye postgresql-simple
product-profunctors profunctors template-haskell text vinyl
@@ -54257,8 +54885,8 @@ self: {
}:
mkDerivation {
pname = "composite-swagger";
- version = "0.5.5.0";
- sha256 = "1qisvrs93jnrrjyhzdn0xwq54jc1mc8avpzq41a39ak5xdslzf6a";
+ version = "0.6.0.0";
+ sha256 = "1m0a77imgrs55vmzvfx7hy74siwnxpcgjg7cawsmsnarkymb1c5c";
libraryHaskellDepends = [
base composite-base insert-ordered-containers lens swagger2
template-haskell text vinyl
@@ -54768,22 +55396,6 @@ self: {
}) {};
"concurrency" = callPackage
- ({ mkDerivation, array, atomic-primops, base, exceptions
- , monad-control, mtl, stm, transformers
- }:
- mkDerivation {
- pname = "concurrency";
- version = "1.6.2.0";
- sha256 = "004h1wxdgqpxpk9vcvds759pn5qdp873b4bidakffxgh35nkxr68";
- libraryHaskellDepends = [
- array atomic-primops base exceptions monad-control mtl stm
- transformers
- ];
- description = "Typeclasses, functions, and data types for concurrency and STM";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "concurrency_1_7_0_0" = callPackage
({ mkDerivation, array, atomic-primops, base, exceptions
, monad-control, mtl, stm, transformers
}:
@@ -54797,7 +55409,6 @@ self: {
];
description = "Typeclasses, functions, and data types for concurrency and STM";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"concurrency-benchmarks" = callPackage
@@ -54820,8 +55431,6 @@ self: {
];
description = "Benchmarks to compare concurrency APIs";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"concurrent-barrier" = callPackage
@@ -54874,8 +55483,8 @@ self: {
}:
mkDerivation {
pname = "concurrent-dns-cache";
- version = "0.1.2";
- sha256 = "1hczxqvlnp5nxcx3mdpv9cm7mv66823jhyw9pibfklpy94syiz5a";
+ version = "0.1.3";
+ sha256 = "1qq8zj39sw1jl44v3midxv0xnmn5p5v6k4j8a2s5cgkjimdwwbz3";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -54889,6 +55498,8 @@ self: {
testHaskellDepends = [ async base dns hspec ];
description = "Concurrent DNS cache";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"concurrent-extra" = callPackage
@@ -54932,22 +55543,6 @@ self: {
}) {};
"concurrent-output" = callPackage
- ({ mkDerivation, ansi-terminal, async, base, directory, exceptions
- , process, stm, terminal-size, text, transformers, unix
- }:
- mkDerivation {
- pname = "concurrent-output";
- version = "1.10.9";
- sha256 = "0mwf155w89nbbkjln7hhbn8k3f8p0ylcvgrg31cm7ijpx4499i4c";
- libraryHaskellDepends = [
- ansi-terminal async base directory exceptions process stm
- terminal-size text transformers unix
- ];
- description = "Ungarble output from several threads or commands";
- license = stdenv.lib.licenses.bsd2;
- }) {};
-
- "concurrent-output_1_10_10" = callPackage
({ mkDerivation, ansi-terminal, async, base, directory, exceptions
, process, stm, terminal-size, text, transformers, unix
}:
@@ -54961,7 +55556,6 @@ self: {
];
description = "Ungarble output from several threads or commands";
license = stdenv.lib.licenses.bsd2;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"concurrent-rpc" = callPackage
@@ -55226,8 +55820,8 @@ self: {
}:
mkDerivation {
pname = "conduit-algorithms";
- version = "0.0.9.0";
- sha256 = "1d2d9ak3mn77lklxr80xw9xpay31f71h5hd66mgrixk48bfr9p8i";
+ version = "0.0.10.1";
+ sha256 = "0lil9krb1gj4lckyfqlf9jmdb21n3wrf00kiiwcv1qc277p39z6y";
libraryHaskellDepends = [
async base bytestring bzlib-conduit conduit conduit-combinators
conduit-extra conduit-zstd containers deepseq exceptions
@@ -55249,8 +55843,6 @@ self: {
];
description = "Conduit-based algorithms";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"conduit-audio" = callPackage
@@ -55361,8 +55953,8 @@ self: {
}:
mkDerivation {
pname = "conduit-connection";
- version = "0.1.0.4";
- sha256 = "1z11r3rf6hmz5b00w4xymp6x0s00acyvbyw6n99wd3b9ycbl2y2y";
+ version = "0.1.0.5";
+ sha256 = "0mvsvxfps6pnlanl5zx7cz6qxpn907qgx5bcl18vb9vhn8frh0m6";
libraryHaskellDepends = [
base bytestring conduit connection resourcet transformers
];
@@ -55416,8 +56008,8 @@ self: {
}:
mkDerivation {
pname = "conduit-extra";
- version = "1.3.1.1";
- sha256 = "0jaj350vv6mbb26gdwcqz4gwzfzrjydv5pis2da49wz1npbakcfw";
+ version = "1.3.4";
+ sha256 = "1d853d39vj5pb8yxfcsnjwdzqzkm34ixzbnba8bslpihb7182wxi";
libraryHaskellDepends = [
async attoparsec base bytestring conduit directory filepath network
primitive process resourcet stm streaming-commons text transformers
@@ -55495,13 +56087,11 @@ self: {
({ mkDerivation, base, conduit, mtl }:
mkDerivation {
pname = "conduit-merge";
- version = "0.1.2.0";
- sha256 = "07nfq13cqn8mwnkdkrn96mpw479ynfb261w1mx2w6yacmwq2ycsd";
+ version = "0.1.3.0";
+ sha256 = "0ys65vs5wb412bimmsmkmf14krk2339n9rswynnwy3rdb74bsswf";
libraryHaskellDepends = [ base conduit mtl ];
description = "Merge multiple sorted conduits";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"conduit-network-stream" = callPackage
@@ -55607,6 +56197,56 @@ self: {
broken = true;
}) {};
+ "conduit-vfs" = callPackage
+ ({ mkDerivation, base, bytestring, classy-prelude, conduit
+ , conduit-extra, directory, exceptions, extra, filepath
+ , monad-loops, mono-traversable, mtl, resourcet, text, transformers
+ , unix, unliftio, unordered-containers
+ }:
+ mkDerivation {
+ pname = "conduit-vfs";
+ version = "0.1.0.3";
+ sha256 = "1nsq4s0cxag6drynkfl79q0lirh37r3l59nzhkdyjlak4bzq5g1f";
+ libraryHaskellDepends = [
+ base bytestring classy-prelude conduit conduit-extra directory
+ exceptions extra filepath monad-loops mono-traversable mtl
+ resourcet text transformers unix unliftio unordered-containers
+ ];
+ testHaskellDepends = [
+ base bytestring classy-prelude conduit conduit-extra directory
+ exceptions extra filepath monad-loops mono-traversable mtl
+ resourcet text transformers unix unliftio unordered-containers
+ ];
+ description = "Virtual file system for Conduit; disk, pure, and in-memory impls";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "conduit-vfs-zip" = callPackage
+ ({ mkDerivation, base, bytestring, classy-prelude, conduit
+ , conduit-extra, conduit-vfs, directory, exceptions, extra
+ , filepath, monad-loops, mono-traversable, mtl, resourcet, text
+ , transformers, unix, unliftio, unordered-containers, zip-archive
+ }:
+ mkDerivation {
+ pname = "conduit-vfs-zip";
+ version = "0.1.0.1";
+ sha256 = "07c2r03if3bminakcf4z7k990c8nf94w3q41csrzd4zy3qk0acr5";
+ libraryHaskellDepends = [
+ base bytestring classy-prelude conduit conduit-extra conduit-vfs
+ directory exceptions extra filepath monad-loops mono-traversable
+ mtl resourcet text transformers unix unliftio unordered-containers
+ zip-archive
+ ];
+ testHaskellDepends = [
+ base bytestring classy-prelude conduit conduit-extra conduit-vfs
+ directory exceptions extra filepath monad-loops mono-traversable
+ mtl resourcet text transformers unix unliftio unordered-containers
+ zip-archive
+ ];
+ description = "Zip archive interface for the Conduit Virtual File System";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"conduit-zstd" = callPackage
({ mkDerivation, base, bytestring, conduit, conduit-combinators
, conduit-extra, directory, HUnit, test-framework
@@ -55623,8 +56263,6 @@ self: {
];
description = "Conduit-based ZStd Compression";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"conf" = callPackage
@@ -55670,8 +56308,8 @@ self: {
}:
mkDerivation {
pname = "confcrypt";
- version = "0.1.0.4";
- sha256 = "1c25xjpnw802pqfjksx5fxjq9ynwfjkkmyad169bvfasry98cdbb";
+ version = "0.2.3.3";
+ sha256 = "18z0p9bd2ca43a64k3idsywm2f1vv6qh03l8isgnahjh7j96ngih";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -55698,41 +56336,22 @@ self: {
broken = true;
}) {};
- "confcrypt_0_2_3_0" = callPackage
- ({ mkDerivation, amazonka, amazonka-kms, base, base64-bytestring
- , bytestring, conduit, containers, crypto-pubkey-openssh
- , crypto-pubkey-types, cryptonite, deepseq, HUnit, lens, megaparsec
- , memory, mtl, optparse-applicative, parser-combinators, QuickCheck
- , tasty, tasty-hunit, tasty-quickcheck, text, transformers
+ "conferer" = callPackage
+ ({ mkDerivation, base, bytestring, containers, directory, hspec
+ , text
}:
mkDerivation {
- pname = "confcrypt";
- version = "0.2.3.0";
- sha256 = "1pqgh5jhnf18mfhhq8z39l2kv5pn11zw9zqxb30r75l5qhqvjjic";
- isLibrary = true;
- isExecutable = true;
+ pname = "conferer";
+ version = "0.1.0.1";
+ sha256 = "1g5kyvy067lll181xqd1lxpzl5965yj847kh6z2r0wvq01i4k467";
libraryHaskellDepends = [
- amazonka amazonka-kms base base64-bytestring bytestring conduit
- containers crypto-pubkey-openssh crypto-pubkey-types cryptonite
- deepseq lens megaparsec mtl optparse-applicative parser-combinators
- text transformers
- ];
- executableHaskellDepends = [
- amazonka amazonka-kms base base64-bytestring bytestring conduit
- containers crypto-pubkey-openssh crypto-pubkey-types cryptonite
- deepseq lens megaparsec mtl optparse-applicative parser-combinators
- text transformers
+ base bytestring containers directory text
];
testHaskellDepends = [
- amazonka amazonka-kms base base64-bytestring bytestring conduit
- containers crypto-pubkey-openssh crypto-pubkey-types cryptonite
- deepseq HUnit lens megaparsec memory mtl optparse-applicative
- parser-combinators QuickCheck tasty tasty-hunit tasty-quickcheck
- text transformers
+ base bytestring containers directory hspec text
];
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ description = "Configuration management library";
+ license = stdenv.lib.licenses.bsd3;
}) {};
"confetti" = callPackage
@@ -55850,10 +56469,10 @@ self: {
}:
mkDerivation {
pname = "config-schema";
- version = "0.5.0.1";
- sha256 = "18zdq0w65cs2zy8p0pvb0jfqffcyxq9km1c2h5fvky8c689lp0gp";
- revision = "3";
- editedCabalFile = "102mwr18aas924hlxsyyx5pi8skkb2misic1h95f6khpz7wcy3vy";
+ version = "1.1.0.0";
+ sha256 = "1nr1jyrgvvm1zlzvlfpz35zb5iydn1mpk89kljp0h1cvkl35mjkl";
+ revision = "1";
+ editedCabalFile = "0h828xld2dfjj43jwq1f98wd21nzvhn74wsx586a0kcd6q41pcs5";
libraryHaskellDepends = [
base config-value containers free kan-extensions pretty
semigroupoids text transformers
@@ -55886,8 +56505,8 @@ self: {
pname = "config-value";
version = "0.6.3.1";
sha256 = "0gfr9qcw8a7y1y9cn6635y8fgvrpkmcqx31bn2a070rbrmk3757z";
- revision = "1";
- editedCabalFile = "16h47yc8z3fkxs6gdyzfkahi9ibm7narkc72xcx67bmk309xb46c";
+ revision = "2";
+ editedCabalFile = "037hi6hrd3kk2zjsi8ly9jj4gc8xq5vnn8p09dm0hshd31fyhl52";
libraryHaskellDepends = [ array base pretty text ];
libraryToolDepends = [ alex happy ];
description = "Simple, layout-based value language similar to YAML or JSON";
@@ -56049,6 +56668,26 @@ self: {
broken = true;
}) {};
+ "configurator-pg" = callPackage
+ ({ mkDerivation, attoparsec, base, bytestring, containers, filepath
+ , HUnit, protolude, scientific, test-framework
+ , test-framework-hunit, text
+ }:
+ mkDerivation {
+ pname = "configurator-pg";
+ version = "0.1.0.3";
+ sha256 = "0fc77ihnablff8v0kgr88pcc3rn41ca14bvfxr21jx807fn8g63p";
+ libraryHaskellDepends = [
+ attoparsec base containers protolude scientific text
+ ];
+ testHaskellDepends = [
+ base bytestring filepath HUnit protolude test-framework
+ test-framework-hunit text
+ ];
+ description = "Reduced parser for configurator-ng config files";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"confsolve" = callPackage
({ mkDerivation, attoparsec, base, cmdargs, process, system-fileio
, system-filepath, text, time, unordered-containers
@@ -56149,42 +56788,22 @@ self: {
}) {};
"connection" = callPackage
- ({ mkDerivation, base, byteable, bytestring, containers
- , data-default-class, network, socks, tls, x509, x509-store
- , x509-system, x509-validation
- }:
- mkDerivation {
- pname = "connection";
- version = "0.2.8";
- sha256 = "1swkb9w5vx9ph7x55y51dc0srj2z27nd9ibgn8c0qcl6hx7g9cbh";
- revision = "2";
- editedCabalFile = "0bhwcd9dqa2jk23bdz3z3vn2p1gzssinp96dxzznb7af4y5x2gmk";
- libraryHaskellDepends = [
- base byteable bytestring containers data-default-class network
- socks tls x509 x509-store x509-system x509-validation
- ];
- description = "Simple and easy network connections API";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "connection_0_3_0" = callPackage
({ mkDerivation, base, basement, bytestring, containers
, data-default-class, network, socks, tls, x509, x509-store
, x509-system, x509-validation
}:
mkDerivation {
pname = "connection";
- version = "0.3.0";
- sha256 = "1f53bysp8zr8c8dhivrq2k9qmlwnk84d4c1s31sd62ws9yddcw34";
+ version = "0.3.1";
+ sha256 = "1nbmafhlg0wy4aa3p7amjddbamdz6avzrxn4py3lvhrjqn4raxax";
revision = "1";
- editedCabalFile = "0cm421anscv6h4nvhkaqvi5s3lwkc0f34p6z8lzap4wyc4gv578k";
+ editedCabalFile = "08f1n38zryd0jklyv3yillilp040zxfxha6jphrmf28haq2irnk5";
libraryHaskellDepends = [
base basement bytestring containers data-default-class network
socks tls x509 x509-store x509-system x509-validation
];
description = "Simple and easy network connections API";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"connection-pool" = callPackage
@@ -56256,8 +56875,6 @@ self: {
];
description = "Interpret the command line and a config file as commands and options";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"console-prompt" = callPackage
@@ -56307,15 +56924,36 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "constr-eq" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "constr-eq";
+ version = "0.1.0.0";
+ sha256 = "0vk3cz6897vjnn1q7y1sqxy42ii4pq5h7jxw1zyybi99p6c4vgm6";
+ libraryHaskellDepends = [ base ];
+ description = "Equality by only Constructor";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"constrained-categories" = callPackage
- ({ mkDerivation, base, semigroups, tagged, void }:
+ ({ mkDerivation, base, contravariant, semigroups, tagged
+ , trivial-constraint, void
+ }:
mkDerivation {
pname = "constrained-categories";
- version = "0.3.1.1";
- sha256 = "00h8pw0pqj7lmngwzmz27lmvglpidgxhhxrdf275s49cdnkf8cvk";
- libraryHaskellDepends = [ base semigroups tagged void ];
+ version = "0.4.0.0";
+ sha256 = "1wq4ivkgxbwxxrfk5lwn2psbbiaq87dr8zf1z9b9yhw2hi75lsgw";
+ revision = "1";
+ editedCabalFile = "0f96xmq5j03f9ks9cjlgbc5wq0azdbrbj2lh3kr3ybz658dli3j7";
+ libraryHaskellDepends = [
+ base contravariant semigroups tagged trivial-constraint void
+ ];
description = "Constrained clones of the category-theory type classes, using ConstraintKinds";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"constrained-category" = callPackage
@@ -56398,8 +57036,6 @@ self: {
libraryHaskellDepends = [ base category unconstrained ];
description = "Reified constraints";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"constraint-classes" = callPackage
@@ -56435,8 +57071,6 @@ self: {
libraryHaskellDepends = [ base category constraint reflection ];
description = "Constraint reflection";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"constraints" = callPackage
@@ -56460,18 +57094,18 @@ self: {
license = stdenv.lib.licenses.bsd2;
}) {};
- "constraints_0_11" = callPackage
+ "constraints_0_11_2" = callPackage
({ mkDerivation, base, binary, deepseq, ghc-prim, hashable, hspec
, hspec-discover, mtl, semigroups, transformers
- , transformers-compat
+ , transformers-compat, type-equality
}:
mkDerivation {
pname = "constraints";
- version = "0.11";
- sha256 = "1ik97w6ci9kw5ppw9nmh65j6ldqq2az8c37jlg3h5x3prn2cds1d";
+ version = "0.11.2";
+ sha256 = "10mnhg7p5gk4i3bzldl07qkrihnvmfkgsp32w7p9i7x8cmj5akjq";
libraryHaskellDepends = [
base binary deepseq ghc-prim hashable mtl semigroups transformers
- transformers-compat
+ transformers-compat type-equality
];
testHaskellDepends = [ base hspec ];
testToolDepends = [ hspec-discover ];
@@ -56486,8 +57120,8 @@ self: {
}:
mkDerivation {
pname = "constraints-deriving";
- version = "1.0.3.0";
- sha256 = "0mx3r79sc86afpa0fnb8jhxk2g8cfr4hax7q5j8a8lfyxp1bcf3z";
+ version = "1.1.0.0";
+ sha256 = "15rspwn8i2rwmqsxb505087ars0i10licwj4adsgm89ajhgrqvp9";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal ];
@@ -56497,8 +57131,6 @@ self: {
];
description = "Manipulating constraints and deriving class instances programmatically";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"constraints-emerge" = callPackage
@@ -56531,8 +57163,6 @@ self: {
executableHaskellDepends = [ aeson base constraints ];
description = "Utility package for constraints";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"constrictor" = callPackage
@@ -56674,24 +57304,13 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "containers_0_6_0_1" = callPackage
- ({ mkDerivation, array, base, ChasingBottoms, criterion, deepseq
- , ghc-prim, HUnit, QuickCheck, random, test-framework
- , test-framework-hunit, test-framework-quickcheck2, transformers
- }:
+ "containers_0_6_2_1" = callPackage
+ ({ mkDerivation, array, base, deepseq }:
mkDerivation {
pname = "containers";
- version = "0.6.0.1";
- sha256 = "0smc1g58l968jxcjxhxcd4qpfm4zk7zr6r4q6wf6ay75av9rf4d7";
- libraryHaskellDepends = [ array base deepseq ghc-prim ];
- testHaskellDepends = [
- array base ChasingBottoms deepseq ghc-prim HUnit QuickCheck
- test-framework test-framework-hunit test-framework-quickcheck2
- transformers
- ];
- benchmarkHaskellDepends = [
- base criterion deepseq ghc-prim random transformers
- ];
+ version = "0.6.2.1";
+ sha256 = "05h0sc70xy4jm0hvzv0pnqy1sbi61f73whawk46jwcjzyfa5f30k";
+ libraryHaskellDepends = [ array base deepseq ];
description = "Assorted concrete container types";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -56819,17 +57438,22 @@ self: {
"contiguous" = callPackage
({ mkDerivation, base, deepseq, primitive, primitive-unlifted
- , QuickCheck, quickcheck-instances, vector
+ , QuickCheck, quickcheck-classes, quickcheck-instances, random
+ , random-shuffle, vector, weigh
}:
mkDerivation {
pname = "contiguous";
- version = "0.4.0.1";
- sha256 = "1hs9jvl9zzy7jdbxna0aw8nbq3af327xfgb0cgzwmp55iwpjn9rn";
+ version = "0.5";
+ sha256 = "0nz3ssh0zc8rs67mk8fmc8plvbjac6mlxdmzk9fw8sj2vx2ssisq";
libraryHaskellDepends = [
base deepseq primitive primitive-unlifted
];
testHaskellDepends = [
- base primitive QuickCheck quickcheck-instances vector
+ base primitive QuickCheck quickcheck-classes quickcheck-instances
+ vector
+ ];
+ benchmarkHaskellDepends = [
+ base primitive random random-shuffle weigh
];
description = "Unified interface for primitive arrays";
license = stdenv.lib.licenses.bsd3;
@@ -56949,8 +57573,8 @@ self: {
({ mkDerivation, base, StateVar, transformers }:
mkDerivation {
pname = "contravariant";
- version = "1.5.1";
- sha256 = "1jcfbv3mmx2hb49h4djn72bb13j609wvsy9z4wcbj461cvhcr2q8";
+ version = "1.5.2";
+ sha256 = "0366gl62wwwdbl9i6kqy60asf60876k55v91la6bmhnwwcj2q9n4";
libraryHaskellDepends = [ base StateVar transformers ];
description = "Contravariant functors";
license = stdenv.lib.licenses.bsd3;
@@ -57038,8 +57662,6 @@ self: {
testHaskellDepends = [ base containers stm time ];
description = "Event scheduling system";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"control-iso" = callPackage
@@ -57518,8 +58140,6 @@ self: {
];
description = "A compiler for Copilot targeting C99";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"copilot-cbmc" = callPackage
@@ -57551,8 +58171,6 @@ self: {
];
description = "An intermediate representation for Copilot";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"copilot-language" = callPackage
@@ -57679,6 +58297,24 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "core-data" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, core-text
+ , hashable, prettyprinter, prettyprinter-ansi-terminal, scientific
+ , text, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "core-data";
+ version = "0.2.0.0";
+ sha256 = "1lzvs99qqw8nvgqqz080zdsxl5vdxdmnffxl8s26c7p41izycp5n";
+ libraryHaskellDepends = [
+ aeson base bytestring containers core-text hashable prettyprinter
+ prettyprinter-ansi-terminal scientific text unordered-containers
+ vector
+ ];
+ description = "Convenience wrappers around common data structures and encodings";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"core-haskell" = callPackage
({ mkDerivation, base, haskeline, haskell-src-exts, hint }:
mkDerivation {
@@ -57696,6 +58332,44 @@ self: {
broken = true;
}) {};
+ "core-program" = callPackage
+ ({ mkDerivation, async, base, bytestring, chronologique, core-data
+ , core-text, directory, exceptions, hashable, hourglass, mtl
+ , prettyprinter, prettyprinter-ansi-terminal, safe-exceptions, stm
+ , template-haskell, terminal-size, text, text-short, transformers
+ , unix
+ }:
+ mkDerivation {
+ pname = "core-program";
+ version = "0.2.0.0";
+ sha256 = "13907wk5p8yc31wf7s3w6an8g2b5j8pp0k196l5fh90c5dadizys";
+ libraryHaskellDepends = [
+ async base bytestring chronologique core-data core-text directory
+ exceptions hashable hourglass mtl prettyprinter
+ prettyprinter-ansi-terminal safe-exceptions stm template-haskell
+ terminal-size text text-short transformers unix
+ ];
+ description = "Opinionated Haskell Interoperability";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "core-text" = callPackage
+ ({ mkDerivation, base, bytestring, deepseq, fingertree, hashable
+ , prettyprinter, prettyprinter-ansi-terminal, template-haskell
+ , text, text-short
+ }:
+ mkDerivation {
+ pname = "core-text";
+ version = "0.2.0.0";
+ sha256 = "1rkbz43vnjv8vv68xh98qcp59lmahw4sdpfnhvgrh92wj0namifk";
+ libraryHaskellDepends = [
+ base bytestring deepseq fingertree hashable prettyprinter
+ prettyprinter-ansi-terminal template-haskell text text-short
+ ];
+ description = "A text type based on a finger tree over UTF-8 fragments";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"corebot-bliki" = callPackage
({ mkDerivation, aeson, base, blaze-builder, bytestring, containers
, directory, filepath, filestore, http-types, monads-tf, pandoc
@@ -58137,24 +58811,27 @@ self: {
}) {};
"cpkg" = callPackage
- ({ mkDerivation, base, binary, bytestring, bzlib, containers, cpphs
- , dhall, directory, filemanip, filepath, hashable, hspec
- , hspec-megaparsec, http-client, http-client-tls, libarchive, lzma
- , megaparsec, microlens, mtl, network-uri, optparse-applicative
- , prettyprinter, process, recursion, tar, temporary, text
- , zip-archive, zlib
+ ({ mkDerivation, base, binary, bytestring, bzlib
+ , composition-prelude, containers, cpphs, dhall, dir-traverse
+ , directory, filemanip, filepath, hashable, hspec, hspec-megaparsec
+ , http-client, http-client-tls, libarchive, lzma, megaparsec
+ , microlens, mtl, network-uri, optparse-applicative, prettyprinter
+ , process, recursion, tar, temporary, text, zip-archive, zlib
}:
mkDerivation {
pname = "cpkg";
- version = "0.2.0.0";
- sha256 = "1ip6wm76v39zj5r07y74d9ddrzxiyrl3fnlm3z464brgydsd8iby";
+ version = "0.2.3.1";
+ sha256 = "0nw1h6zgx3dizx92nwzdf9ny8bzyfa2n28lpv34xvw38fz9yq16w";
+ revision = "2";
+ editedCabalFile = "15bn9c0zvr8xdhq4hgnq3hhqwvv8pc5a7bdvw58psn7dwhcac6nh";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base binary bytestring bzlib containers dhall directory filemanip
- filepath hashable http-client http-client-tls libarchive lzma
- megaparsec microlens mtl network-uri prettyprinter process
- recursion tar temporary text zip-archive zlib
+ base binary bytestring bzlib composition-prelude containers dhall
+ dir-traverse directory filemanip filepath hashable http-client
+ http-client-tls libarchive lzma megaparsec microlens mtl
+ network-uri prettyprinter process recursion tar temporary text
+ zip-archive zlib
];
libraryToolDepends = [ cpphs ];
executableHaskellDepends = [
@@ -58163,8 +58840,6 @@ self: {
testHaskellDepends = [ base hspec hspec-megaparsec megaparsec ];
description = "Build tool for C";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"cplex-hs" = callPackage
@@ -58275,15 +58950,15 @@ self: {
}) {};
"cpsa" = callPackage
- ({ mkDerivation, base, containers, parallel }:
+ ({ mkDerivation, base, containers, directory, parallel }:
mkDerivation {
pname = "cpsa";
- version = "3.6.2";
- sha256 = "0byrfj9lqv4k5d0s3d7ib6bwcz50bl23qnk2nk8bzk9s1356g6yi";
+ version = "3.6.3";
+ sha256 = "121lrj9zhlcs4r2xghxw8cah705s5k9jkcl9g3mj5ixzki3b2bdm";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
- executableHaskellDepends = [ base containers parallel ];
+ executableHaskellDepends = [ base containers directory parallel ];
description = "Symbolic cryptographic protocol analyzer";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -58379,35 +59054,6 @@ self: {
}) {};
"cql-io" = callPackage
- ({ mkDerivation, async, auto-update, base, bytestring, containers
- , cql, cryptohash, data-default-class, Decimal, exceptions
- , hashable, HsOpenSSL, iproute, lens, monad-control, mtl
- , mwc-random, network, raw-strings-qq, retry, semigroups, stm
- , tasty, tasty-hunit, text, time, tinylog, transformers
- , transformers-base, unordered-containers, uuid, vector
- }:
- mkDerivation {
- pname = "cql-io";
- version = "1.0.1.1";
- sha256 = "1kdv00fv21s8vbb3dfgzlgsrr0xxl4p2h655ga3q5cg47by564xc";
- libraryHaskellDepends = [
- async auto-update base bytestring containers cql cryptohash
- data-default-class exceptions hashable HsOpenSSL iproute lens
- monad-control mtl mwc-random network retry semigroups stm text time
- tinylog transformers transformers-base unordered-containers uuid
- vector
- ];
- testHaskellDepends = [
- base containers cql Decimal iproute mtl raw-strings-qq tasty
- tasty-hunit text time tinylog uuid
- ];
- description = "Cassandra CQL client";
- license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "cql-io_1_1_0" = callPackage
({ mkDerivation, async, auto-update, base, bytestring, containers
, cql, cryptonite, data-default-class, Decimal, exceptions
, hashable, HsOpenSSL, iproute, lens, mtl, mwc-random, network
@@ -58417,10 +59063,8 @@ self: {
}:
mkDerivation {
pname = "cql-io";
- version = "1.1.0";
- sha256 = "1pqqq31f9xcpn5rykkgrakgl17dm1nnskh1m88fxaynzjj485pkw";
- revision = "1";
- editedCabalFile = "0zxc28i4c26qi6xpgsyhn0f539ni6wv6c1pixh056bzm9pwp60d7";
+ version = "1.1.1";
+ sha256 = "1zg199ifkqh1ba335vqp0jlm4sn5ybjxap4qymb54bylhwj0vzcp";
libraryHaskellDepends = [
async auto-update base bytestring containers cql cryptonite
data-default-class exceptions hashable HsOpenSSL iproute lens mtl
@@ -59085,26 +59729,28 @@ self: {
"criterion" = callPackage
({ mkDerivation, aeson, ansi-wl-pprint, base, base-compat
- , base-compat-batteries, binary, bytestring, cassava, code-page
- , containers, criterion-measurement, deepseq, directory, exceptions
- , filepath, Glob, HUnit, js-flot, js-jquery, microstache, mtl
- , mwc-random, optparse-applicative, parsec, QuickCheck, statistics
- , tasty, tasty-hunit, tasty-quickcheck, text, time, transformers
- , transformers-compat, vector, vector-algorithms
+ , base-compat-batteries, binary, binary-orphans, bytestring
+ , cassava, code-page, containers, criterion-measurement, deepseq
+ , directory, exceptions, filepath, Glob, HUnit, js-flot, js-jquery
+ , microstache, mtl, mwc-random, optparse-applicative, parsec
+ , QuickCheck, statistics, tasty, tasty-hunit, tasty-quickcheck
+ , text, time, transformers, transformers-compat, vector
+ , vector-algorithms
}:
mkDerivation {
pname = "criterion";
- version = "1.5.5.0";
- sha256 = "1a5i9ghy4hr3355ml4b0rc3b94fa2ijfflh398ncn9sw1ivmx8pa";
+ version = "1.5.6.0";
+ sha256 = "1p8rw70k69bz33a8amn1ibdf6104hjphglyjlzsxa4w949d0ahp2";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- aeson ansi-wl-pprint base base-compat-batteries binary bytestring
- cassava code-page containers criterion-measurement deepseq
- directory exceptions filepath Glob js-flot js-jquery microstache
- mtl mwc-random optparse-applicative parsec statistics text time
- transformers transformers-compat vector vector-algorithms
+ aeson ansi-wl-pprint base base-compat-batteries binary
+ binary-orphans bytestring cassava code-page containers
+ criterion-measurement deepseq directory exceptions filepath Glob
+ js-flot js-jquery microstache mtl mwc-random optparse-applicative
+ parsec statistics text time transformers transformers-compat vector
+ vector-algorithms
];
executableHaskellDepends = [
base base-compat-batteries optparse-applicative
@@ -59118,14 +59764,35 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "criterion-compare" = callPackage
+ ({ mkDerivation, base, bytestring, cassava, Chart, Chart-diagrams
+ , clay, colour, containers, data-default, filepath, lens, lucid
+ , optparse-applicative, text, vector
+ }:
+ mkDerivation {
+ pname = "criterion-compare";
+ version = "0.1.0.0";
+ sha256 = "034cm3hap9x6cwp44hrd03b09mifcm076a9pn3lgql5ardx91yl7";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base bytestring cassava Chart Chart-diagrams clay colour containers
+ data-default filepath lens lucid optparse-applicative text vector
+ ];
+ description = "A simple tool for visualising differences in Criterion benchmark results";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"criterion-measurement" = callPackage
({ mkDerivation, aeson, base, base-compat, binary, containers
, deepseq, vector
}:
mkDerivation {
pname = "criterion-measurement";
- version = "0.1.1.0";
- sha256 = "0mmbhajphlg32gqxr1lf0w12jkw0qrpjabvx92zpv4ka71lpgy7m";
+ version = "0.1.2.0";
+ sha256 = "03p71mfnnfjx9dnf0yhrhdcr30zc2nwn5f8lql48cabccpd3793l";
libraryHaskellDepends = [
aeson base base-compat binary containers deepseq vector
];
@@ -59353,8 +60020,8 @@ self: {
pname = "crypt-sha512";
version = "0";
sha256 = "1wsma9frdrn39i506zydlzlk1ir6jh1pidqfjms8rwqjpx965gn2";
- revision = "2";
- editedCabalFile = "071lxiwsf23ga1fkbjd47ykz7f5irhsh7q7zz2qczzjgnvzadadh";
+ revision = "3";
+ editedCabalFile = "1l8glrv7bhdi0p1m1xq9majlbh8n9agai9d4mldzi5bnp5m5b79q";
libraryHaskellDepends = [
attoparsec base bytestring cryptohash-sha512
];
@@ -59834,8 +60501,8 @@ self: {
pname = "cryptohash-md5";
version = "0.11.100.1";
sha256 = "1y8q7s2bn4gdknw1wjikdnar2b5pgz3nv3220lxrlgpsf23x82vi";
- revision = "3";
- editedCabalFile = "0ld224mdmw9mgzcl20q82rqkyl7d5vmi1iknsyymq58gcvcwdi2m";
+ revision = "4";
+ editedCabalFile = "0gzaibjkipijwj9m9l6wrhfk5s3kdvfbhdl7cl1373cjfs41v0m3";
libraryHaskellDepends = [ base bytestring ];
testHaskellDepends = [
base base16-bytestring bytestring pureMD5 tasty tasty-hunit
@@ -59854,8 +60521,8 @@ self: {
pname = "cryptohash-sha1";
version = "0.11.100.1";
sha256 = "1aqdxdhxhl9jldh951djpwxx8z7gzaqspxl7iwpl84i5ahrsyy9w";
- revision = "3";
- editedCabalFile = "0i30cc85732v27baibdjy2kjjkdfv335ib5sk5ggwvsysvvvr66l";
+ revision = "4";
+ editedCabalFile = "0qb2wasfc4dpf6f9ahvhlv8njb3p3p9iwblg4032ssi95cg85718";
libraryHaskellDepends = [ base bytestring ];
testHaskellDepends = [
base base16-bytestring bytestring SHA tasty tasty-hunit
@@ -59874,8 +60541,8 @@ self: {
pname = "cryptohash-sha256";
version = "0.11.101.0";
sha256 = "1p85vajcgw9hmq8zsz9krzx0vxh7aggwbg5w9ws8w97avcsn8xaj";
- revision = "2";
- editedCabalFile = "0m5h68xm60wrjv88gg6cn1q5qki5674mxl4d6sn3vxpbcj9b5417";
+ revision = "3";
+ editedCabalFile = "1arhz4y792kx439s2zv9x291gvvl2zxcfx9sq0nxsjlz7c3hpyp1";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base bytestring ];
@@ -59896,8 +60563,8 @@ self: {
pname = "cryptohash-sha512";
version = "0.11.100.1";
sha256 = "1abi23dr3vzslkh0cx24cdn2gy88jjm4qr6rcm543ajyaywqns8h";
- revision = "3";
- editedCabalFile = "19m1fp0i7ba84aa72d5wf59c7j0p4yr1bc43in8pspgywhsr3lfl";
+ revision = "4";
+ editedCabalFile = "0iqs51a58w71j1zz3rn9kical63yvvqqqrc6971mh6wfscyi1gqr";
libraryHaskellDepends = [ base bytestring ];
testHaskellDepends = [
base base16-bytestring bytestring SHA tasty tasty-hunit
@@ -59917,8 +60584,8 @@ self: {
pname = "cryptoids";
version = "0.5.1.0";
sha256 = "0ai7hg4r944hck9vq2ffwwjsxp3mjfvxwhfr8b8765n1bh86i466";
- revision = "4";
- editedCabalFile = "017fm7rcls5z2sjx4117h9bcc0szh2vs89gj2d8510vajq70yvwq";
+ revision = "5";
+ editedCabalFile = "1g2p5519rrbiizry5izdmqn47sayv7v7kqmj0w7abdn6b68di73j";
libraryHaskellDepends = [
base binary bytestring cryptoids-class cryptoids-types cryptonite
directory exceptions filepath memory
@@ -59967,8 +60634,8 @@ self: {
}:
mkDerivation {
pname = "cryptol";
- version = "2.7.0";
- sha256 = "14yk7qs7laxy5ranx9m911k1lxc4vh4pp83ywmsg1kf0cdfvmij6";
+ version = "2.8.0";
+ sha256 = "1fqhk7glh1y0a1f0iwdzrljh9k7v06pn0ybhlcs51ph9vs4byqdh";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -59988,6 +60655,8 @@ self: {
];
description = "Cryptol: The Language of Cryptography";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cryptonite" = callPackage
@@ -60147,6 +60816,8 @@ self: {
];
description = "Connection-set algebra (CSA) library";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"cse-ghc-plugin" = callPackage
@@ -60208,8 +60879,6 @@ self: {
];
description = "a gallery of Csound instruments";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"csound-expression" = callPackage
@@ -60597,26 +61266,6 @@ self: {
}) {};
"cubicbezier" = callPackage
- ({ mkDerivation, base, containers, fast-math, integration, matrices
- , microlens, microlens-mtl, microlens-th, mtl, parsec, tasty
- , tasty-hunit, vector, vector-space
- }:
- mkDerivation {
- pname = "cubicbezier";
- version = "0.6.0.5";
- sha256 = "0n17nr20skrds3b9gzy0v86jgnqz8zbds796n9cl0z6rh9bq5jf5";
- revision = "1";
- editedCabalFile = "0dii4z0cl1ylvay1n5z90d6rbvnk9k30q81i6izhgxbgdawwhh33";
- libraryHaskellDepends = [
- base containers fast-math integration matrices microlens
- microlens-mtl microlens-th mtl vector vector-space
- ];
- testHaskellDepends = [ base parsec tasty tasty-hunit ];
- description = "Efficient manipulating of 2D cubic bezier curves";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "cubicbezier_0_6_0_6" = callPackage
({ mkDerivation, base, containers, fast-math, integration, matrices
, microlens, microlens-mtl, microlens-th, mtl, parsec, tasty
, tasty-hunit, vector, vector-space
@@ -60632,7 +61281,6 @@ self: {
testHaskellDepends = [ base parsec tasty tasty-hunit ];
description = "Efficient manipulating of 2D cubic bezier curves";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"cubicspline" = callPackage
@@ -60679,6 +61327,29 @@ self: {
broken = true;
}) {};
+ "cuckoo" = callPackage
+ ({ mkDerivation, base, bytestring, criterion, cryptonite, doctest
+ , hashable, memory, primitive, QuickCheck, random, stopwatch
+ , vector
+ }:
+ mkDerivation {
+ pname = "cuckoo";
+ version = "0.2.0.1";
+ sha256 = "1q070hzrsm0f1lfxnsk4jmmb9pay98522k2lqncvzg09fm2a687j";
+ libraryHaskellDepends = [ base memory primitive random vector ];
+ testHaskellDepends = [
+ base bytestring cryptonite doctest hashable memory stopwatch
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion memory QuickCheck stopwatch
+ ];
+ doHaddock = false;
+ description = "Haskell Implementation of Cuckoo Filters";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"cuckoo-filter" = callPackage
({ mkDerivation, aeson, array, base, bytestring, cereal, containers
, criterion, hashable, QuickCheck, random, tasty, tasty-hunit
@@ -60846,8 +61517,6 @@ self: {
testHaskellDepends = [ base directory hspec hspec-expectations ];
description = "A framework for declaratively writing curl based API tests";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"curlhs" = callPackage
@@ -61049,8 +61718,8 @@ self: {
}:
mkDerivation {
pname = "cursor";
- version = "0.0.0.1";
- sha256 = "0iq83v3yp7rj1fn82qkwakxi180nri50irzf8p8bzi558c6b3bmr";
+ version = "0.1.0.1";
+ sha256 = "1ipwk9lnazhkzy4fxdc4y0hqa1vdlgda43jdjnp9j00q5fgrhldz";
libraryHaskellDepends = [
base containers microlens text validity validity-containers
validity-text
@@ -61059,6 +61728,16 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "cursor-brick" = callPackage
+ ({ mkDerivation, base, brick, cursor, text }:
+ mkDerivation {
+ pname = "cursor-brick";
+ version = "0.1.0.0";
+ sha256 = "018i8yrdcj69qf00vz1sx7is5cx1a7vn5b8kr9b226n7vxlr3nzd";
+ libraryHaskellDepends = [ base brick cursor text ];
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"cursor-gen" = callPackage
({ mkDerivation, base, containers, cursor, genvalidity
, genvalidity-containers, genvalidity-hspec
@@ -61067,8 +61746,8 @@ self: {
}:
mkDerivation {
pname = "cursor-gen";
- version = "0.0.0.0";
- sha256 = "10jxxy3dx2gsddmq4l95ddim4cj85l7l76lamhgqlhx6zw4j7d52";
+ version = "0.1.0.0";
+ sha256 = "1f9s1da9vf8sr27aidk3rgvkn594pv94w4gqqyi6ikl5dx8yzqxn";
libraryHaskellDepends = [
base containers cursor genvalidity genvalidity-containers
genvalidity-text QuickCheck text
@@ -61079,8 +61758,6 @@ self: {
];
description = "Generators for Purely Functional Cursors";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"curve25519" = callPackage
@@ -61231,8 +61908,6 @@ self: {
];
description = "A subfield of the complex numbers for exact calculation";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"cypher" = callPackage
@@ -61260,8 +61935,8 @@ self: {
({ mkDerivation, base, template-haskell, transformers }:
mkDerivation {
pname = "czipwith";
- version = "1.0.1.1";
- sha256 = "0hs296mwx62alp9fkpkhw9jsjqlygagvb911nx22b0pgyiwqa52a";
+ version = "1.0.1.2";
+ sha256 = "17zf2blgjp47dahjcprkpymg9kb1ll6386pkr109gjr78f261gs1";
libraryHaskellDepends = [ base template-haskell ];
testHaskellDepends = [ base transformers ];
description = "CZipWith class and deriving via TH";
@@ -62144,8 +62819,8 @@ self: {
({ mkDerivation, base, deepseq, QuickCheck }:
mkDerivation {
pname = "data-clist";
- version = "0.1.2.2";
- sha256 = "1aibiml1vs983lbxq18zcn9h11k3zjrxpsx4rxssqdjwni1kg9yi";
+ version = "0.1.2.3";
+ sha256 = "1mwfhnmvi3vicyjzl33m6pcipi2v887zazyqxygq258ndd010s9m";
libraryHaskellDepends = [ base deepseq QuickCheck ];
description = "Simple functional ring type";
license = stdenv.lib.licenses.bsd3;
@@ -62155,8 +62830,8 @@ self: {
({ mkDerivation, base, template-haskell }:
mkDerivation {
pname = "data-combinator-gen";
- version = "0.1.0.1";
- sha256 = "0z1x36y4d3i1pm33fjp3f0xdn9dqjbgfvd3b7yskznfjywn0jg42";
+ version = "0.1.0.4";
+ sha256 = "0f1qw5rk9x3yd7nfhkwmpig7a6dc46yzl78fi8aaxpwqbsazpkjy";
libraryHaskellDepends = [ base template-haskell ];
description = "Generate a special combinator from any data type";
license = stdenv.lib.licenses.mit;
@@ -62835,10 +63510,8 @@ self: {
}:
mkDerivation {
pname = "data-interval";
- version = "1.3.0";
- sha256 = "1i00cci7lzvkxqd1l8dacn7i0mrnccbs23mdciz6nrhlvlgsfiy9";
- revision = "3";
- editedCabalFile = "0jfqgijikf11lqsvbj0rc2b9n2ym7gn4mhk5xpsginp0vy3bgpbp";
+ version = "1.3.1";
+ sha256 = "0x09h2a6ay0h6whmja1q5dqmmf3savyvpv8h14rrwqd87x04abl9";
libraryHaskellDepends = [
base containers deepseq extended-reals hashable lattices
];
@@ -63482,8 +64155,6 @@ self: {
];
description = "An efficient implementation of maps from strings to arbitrary values";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"data-structure-inferrer" = callPackage
@@ -63642,6 +64313,34 @@ self: {
broken = true;
}) {};
+ "database-id-class" = callPackage
+ ({ mkDerivation, aeson, base }:
+ mkDerivation {
+ pname = "database-id-class";
+ version = "0.1.0.1";
+ sha256 = "0zm053ll1vwd5gdwq4p3zpl9f010q894nk3djaad3ry4y2mirsc4";
+ libraryHaskellDepends = [ aeson base ];
+ description = "Class for types with a database id";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "database-id-groundhog" = callPackage
+ ({ mkDerivation, aeson, base, database-id-class, groundhog
+ , template-haskell
+ }:
+ mkDerivation {
+ pname = "database-id-groundhog";
+ version = "0.1.0.1";
+ sha256 = "16q90lzxjbisfdvcl4lbjlfmn02xnscsxkv9hm35xw9z8q19zlsx";
+ libraryHaskellDepends = [
+ aeson base database-id-class groundhog template-haskell
+ ];
+ description = "HasId/Groundhog interop";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"database-migrate" = callPackage
({ mkDerivation, base, bytestring, cmdargs, containers, directory
, either, filepath, lens, postgresql-simple, text, time
@@ -63673,35 +64372,6 @@ self: {
}) {};
"datadog" = callPackage
- ({ mkDerivation, aeson, auto-update, base, buffer-builder
- , bytestring, Cabal, containers, dlist, exceptions, hspec
- , http-client, http-client-tls, http-types, lens, lifted-base
- , monad-control, network, old-locale, random, text, time
- , transformers-base, unliftio, unordered-containers, vector
- }:
- mkDerivation {
- pname = "datadog";
- version = "0.2.3.0";
- sha256 = "0d0rbi269hc0bq4asww69pfw4gf0z3p9ji3iw1h129h4qyhyvdcv";
- libraryHaskellDepends = [
- aeson auto-update base buffer-builder bytestring containers dlist
- http-client http-client-tls http-types lens lifted-base
- monad-control network old-locale text time transformers-base
- unliftio unordered-containers vector
- ];
- testHaskellDepends = [
- aeson auto-update base buffer-builder bytestring Cabal containers
- dlist exceptions hspec http-client http-client-tls http-types lens
- lifted-base monad-control network old-locale random text time
- transformers-base unliftio unordered-containers vector
- ];
- description = "Datadog client for Haskell. Supports both the HTTP API and StatsD.";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "datadog_0_2_4_0" = callPackage
({ mkDerivation, aeson, auto-update, base, buffer-builder
, bytestring, Cabal, containers, dlist, exceptions, hspec
, http-client, http-client-tls, http-types, lens, lifted-base
@@ -63742,6 +64412,8 @@ self: {
pname = "datadog-tracing";
version = "1.5.1";
sha256 = "1jjgavp9winbl2gyix61y30myvzhvzb500l2zwcb087cqzy7z6nb";
+ revision = "2";
+ editedCabalFile = "1mb0g3lddphaki1q946dpayhjdma9g0xcx55wdmksbhkjrbm0rgb";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -63973,16 +64645,17 @@ self: {
}) {};
"dates" = callPackage
- ({ mkDerivation, base, base-unicode-symbols, parsec, syb, time }:
+ ({ mkDerivation, base, base-unicode-symbols, hspec, parsec, syb
+ , time
+ }:
mkDerivation {
pname = "dates";
- version = "0.2.2.2";
- sha256 = "1vsjd3wwvg90yvj7g9921dz1b4j48h539jxapix319wkp0krk5cl";
- revision = "1";
- editedCabalFile = "1rm3s52hnrq1dgbslvilc7543k6z6fv109rn4ixwfi1wqfs1id8w";
+ version = "0.2.3.0";
+ sha256 = "1l9df5815gb8lxgl1kmsn4q58qrjqii5b957z5gn4hk5cjnr456k";
libraryHaskellDepends = [
base base-unicode-symbols parsec syb time
];
+ testHaskellDepends = [ base hspec ];
description = "Small library for parsing different dates formats";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -64292,6 +64965,34 @@ self: {
license = stdenv.lib.licenses.asl20;
}) {};
+ "dbus_1_2_9" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, conduit, containers
+ , criterion, deepseq, directory, exceptions, extra, filepath, lens
+ , network, parsec, process, QuickCheck, random, resourcet, split
+ , tasty, tasty-hunit, tasty-quickcheck, template-haskell, text
+ , th-lift, transformers, unix, vector, xml-conduit, xml-types
+ }:
+ mkDerivation {
+ pname = "dbus";
+ version = "1.2.9";
+ sha256 = "1q9qhl6hjbr9yxmr62md4ycadv04nqdkvsa8l5c0p724rz3faqw3";
+ libraryHaskellDepends = [
+ base bytestring cereal conduit containers deepseq exceptions
+ filepath lens network parsec random split template-haskell text
+ th-lift transformers unix vector xml-conduit xml-types
+ ];
+ testHaskellDepends = [
+ base bytestring cereal containers directory extra filepath network
+ parsec process QuickCheck random resourcet tasty tasty-hunit
+ tasty-quickcheck text transformers unix vector
+ ];
+ benchmarkHaskellDepends = [ base criterion ];
+ doCheck = false;
+ description = "A client library for the D-Bus IPC system";
+ license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"dbus-client" = callPackage
({ mkDerivation, base, containers, dbus-core, monads-tf, text
, transformers
@@ -64848,28 +65549,26 @@ self: {
"debian" = callPackage
({ mkDerivation, base, bytestring, bzlib, Cabal, containers
- , directory, either, exceptions, filepath, HaXml, hostname, HUnit
- , lens, ListLike, mtl, network-uri, old-locale, parsec, pretty
- , process, process-extras, pureMD5, QuickCheck, regex-compat
- , regex-tdfa, SHA, syb, template-haskell, text, th-lift, th-orphans
- , time, unix, Unixutils, utf8-string, zlib
+ , directory, either, exceptions, filepath, hostname, HUnit, lens
+ , ListLike, mtl, network-uri, old-locale, parsec, pretty, process
+ , process-extras, pureMD5, QuickCheck, regex-compat, regex-tdfa
+ , SHA, syb, template-haskell, temporary, text, th-lift, th-orphans
+ , time, unix, utf8-string, zlib
}:
mkDerivation {
pname = "debian";
- version = "3.95";
- sha256 = "1qbg1kya1a8ysmbls44hcwqlv7kr9cnlpnxwqv4pixamraqhqx1i";
+ version = "4.0.0";
+ sha256 = "1gshvsgbgghskl4csngffdpnf49z27yhap86bwqnkp4asbh553h6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base bytestring bzlib Cabal containers directory either exceptions
- filepath HaXml hostname HUnit lens ListLike mtl network-uri
- old-locale parsec pretty process process-extras pureMD5 QuickCheck
- regex-compat regex-tdfa SHA syb template-haskell text th-lift
- th-orphans time unix Unixutils utf8-string zlib
- ];
- executableHaskellDepends = [
- base directory filepath HaXml pretty process unix
+ filepath hostname HUnit lens ListLike mtl network-uri old-locale
+ parsec pretty process process-extras pureMD5 QuickCheck
+ regex-compat regex-tdfa SHA syb template-haskell temporary text
+ th-lift th-orphans time unix utf8-string zlib
];
+ executableHaskellDepends = [ base directory filepath process ];
testHaskellDepends = [
base Cabal HUnit parsec pretty regex-tdfa text
];
@@ -64952,6 +65651,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "debug-dump" = callPackage
+ ({ mkDerivation, base, bytestring, directory, random, text }:
+ mkDerivation {
+ pname = "debug-dump";
+ version = "0.1.1.0";
+ sha256 = "0il889gy8fdi1yxm7f1nmj4s5gxqyq35jm8p5fax6yhj6lmyciwl";
+ libraryHaskellDepends = [ base bytestring directory random text ];
+ description = "File-based debug output";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"debug-me" = callPackage
({ mkDerivation, aeson, async, base, bytestring, Cabal, cereal
, containers, cryptonite, directory, filepath, graphviz
@@ -65051,6 +65761,19 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "dec" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "dec";
+ version = "0.0.3";
+ sha256 = "1y8bvlm2371dq2v0jv1srki98nbhbz091wh0g2x58wz78h971f6r";
+ revision = "1";
+ editedCabalFile = "09dkybwqmayf2a1sn94vmmma2xfvf07bw7grhcyjm7lq9jpxv8y0";
+ libraryHaskellDepends = [ base ];
+ description = "Decidable propositions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"decepticons" = callPackage
({ mkDerivation, base, comonad-transformers }:
mkDerivation {
@@ -65075,6 +65798,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "decidable_0_2_1_0" = callPackage
+ ({ mkDerivation, base, functor-products, microlens, singletons
+ , vinyl
+ }:
+ mkDerivation {
+ pname = "decidable";
+ version = "0.2.1.0";
+ sha256 = "1l307j4n9xagarbqqa48c729fs63qlzy5sqzgfyzfqwnas8yrqhx";
+ libraryHaskellDepends = [
+ base functor-products microlens singletons vinyl
+ ];
+ description = "Combinators for manipulating dependently-typed predicates";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"decimal-arithmetic" = callPackage
({ mkDerivation, base, binary, binary-bits, deepseq, doctest, hspec
, mtl, QuickCheck
@@ -65097,6 +65836,8 @@ self: {
pname = "decimal-literals";
version = "0.1.0.1";
sha256 = "0lbpnc4c266fbqjzzrnig648zzsqfaphlxqwyly9xd15qggzasb0";
+ revision = "1";
+ editedCabalFile = "0giz73yb179xvww1s92dbl4mhvcxlv25f0zrjwc9lsvx9h2aivg0";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base tasty tasty-hunit ];
description = "Preprocessing decimal literals more or less as they are (instead of via fractions)";
@@ -65244,6 +65985,8 @@ self: {
pname = "deepseq";
version = "1.4.4.0";
sha256 = "09kfpmgl679l74b6dadia11pvhya9ik4wrd8x76cgkxk7gwcbkrc";
+ revision = "1";
+ editedCabalFile = "0mbby1hig605jyiyy4m2y2nnjjf5i2adzc6x269hbz4pxscjp43n";
libraryHaskellDepends = [ array base ];
testHaskellDepends = [
array base ghc-prim HUnit test-framework test-framework-hunit
@@ -65350,28 +66093,6 @@ self: {
}) {};
"deferred-folds" = callPackage
- ({ mkDerivation, base, bytestring, containers, foldl, hashable
- , primitive, QuickCheck, quickcheck-instances, rerebase, tasty
- , tasty-hunit, tasty-quickcheck, transformers, unordered-containers
- , vector
- }:
- mkDerivation {
- pname = "deferred-folds";
- version = "0.9.10";
- sha256 = "0rvb7cv45xs087jrm4dmv9ajyx5kfs8n01cclc7msfg90fcs60fx";
- libraryHaskellDepends = [
- base bytestring containers foldl hashable primitive transformers
- unordered-containers vector
- ];
- testHaskellDepends = [
- QuickCheck quickcheck-instances rerebase tasty tasty-hunit
- tasty-quickcheck
- ];
- description = "Abstractions over deferred folds";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "deferred-folds_0_9_10_1" = callPackage
({ mkDerivation, base, bytestring, containers, foldl, hashable
, primitive, QuickCheck, quickcheck-instances, rerebase, tasty
, tasty-hunit, tasty-quickcheck, transformers, unordered-containers
@@ -65391,7 +66112,6 @@ self: {
];
description = "Abstractions over deferred folds";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"definitive-base" = callPackage
@@ -65528,22 +66248,6 @@ self: {
}) {};
"dejafu" = callPackage
- ({ mkDerivation, base, concurrency, containers, contravariant
- , deepseq, exceptions, leancheck, profunctors, random, transformers
- }:
- mkDerivation {
- pname = "dejafu";
- version = "1.11.0.5";
- sha256 = "18pcjk60r1q798qba285g20fh8v5q2qphgpx3r0a0yy7p1qnjwv2";
- libraryHaskellDepends = [
- base concurrency containers contravariant deepseq exceptions
- leancheck profunctors random transformers
- ];
- description = "A library for unit-testing concurrent programs";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "dejafu_2_1_0_0" = callPackage
({ mkDerivation, base, concurrency, containers, contravariant
, deepseq, exceptions, leancheck, profunctors, random, transformers
}:
@@ -65557,7 +66261,6 @@ self: {
];
description = "A library for unit-testing concurrent programs";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"deka" = callPackage
@@ -65862,19 +66565,35 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "dependent-map_0_3" = callPackage
+ ({ mkDerivation, base, constraints-extras, containers
+ , dependent-sum
+ }:
+ mkDerivation {
+ pname = "dependent-map";
+ version = "0.3";
+ sha256 = "1azy6yrnd0adga4z2mlp9knbp55xhlj4v9c3rb2lr1sd2l8cgf80";
+ libraryHaskellDepends = [
+ base constraints-extras containers dependent-sum
+ ];
+ description = "Dependent finite maps (partial dependent products)";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"dependent-monoidal-map" = callPackage
({ mkDerivation, aeson, base, constraints, constraints-extras
, dependent-map, dependent-sum, dependent-sum-aeson-orphans
}:
mkDerivation {
pname = "dependent-monoidal-map";
- version = "0.1.0.0";
- sha256 = "1gzqnxnbr9r1zny932pa9qbq4ygdpkmxhb9cflvh2vav548qfkv9";
+ version = "0.1.1.0";
+ sha256 = "0l5nj7jalyca6vv9aqsx0j799vrr65cm1jzh17fcnwkxair3lkgx";
libraryHaskellDepends = [
aeson base constraints constraints-extras dependent-map
dependent-sum dependent-sum-aeson-orphans
];
- description = "Data.Dependent.Map variant that appends conflicting entries when merging maps instead of discarding one side of the conflict.";
+ description = "Dependent map that uses semigroup mappend";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -65904,15 +66623,13 @@ self: {
license = stdenv.lib.licenses.publicDomain;
}) {};
- "dependent-sum_0_5" = callPackage
- ({ mkDerivation, base }:
+ "dependent-sum_0_6_2_0" = callPackage
+ ({ mkDerivation, base, constraints-extras }:
mkDerivation {
pname = "dependent-sum";
- version = "0.5";
- sha256 = "1n5ln2fain1x9zkrzy1sknwm528lrdsnsg52z1d0hfpy5sngndsr";
- revision = "2";
- editedCabalFile = "1vxg9v2b5479qm7q9qzjyh9rmcdpr634s3kpjx0skqq0r68bc36s";
- libraryHaskellDepends = [ base ];
+ version = "0.6.2.0";
+ sha256 = "17xj5mfrqbhf614z25l2km5grhrxh1rfhb8h8g677sv2xgxrv82d";
+ libraryHaskellDepends = [ base constraints-extras ];
description = "Dependent sum type";
license = stdenv.lib.licenses.publicDomain;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -65924,12 +66641,13 @@ self: {
}:
mkDerivation {
pname = "dependent-sum-aeson-orphans";
- version = "0.2.0.0";
- sha256 = "0cb3yhrqn2mwa3spfz6sky9bh9kh92kl4959187d6kqvvhqqmafj";
+ version = "0.2.1.0";
+ sha256 = "04flfszrn4ah9vrm6hyp2pk0sbldcjp0jjibdny7lxdmv0fskzj5";
libraryHaskellDepends = [
aeson base constraints constraints-extras dependent-map
dependent-sum
];
+ description = "JSON instances for DSum, DMap, and Some";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -65950,6 +66668,23 @@ self: {
license = stdenv.lib.licenses.publicDomain;
}) {};
+ "dependent-sum-template_0_1_0_0" = callPackage
+ ({ mkDerivation, base, constraints-extras, dependent-sum
+ , template-haskell, th-extras
+ }:
+ mkDerivation {
+ pname = "dependent-sum-template";
+ version = "0.1.0.0";
+ sha256 = "07z95f27jpdb8y01f904z0fi6kjllsbcm2zg0k1v9y8c6rwavw0f";
+ libraryHaskellDepends = [
+ base dependent-sum template-haskell th-extras
+ ];
+ testHaskellDepends = [ base constraints-extras dependent-sum ];
+ description = "Template Haskell code to generate instances of classes in dependent-sum package";
+ license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"depends" = callPackage
({ mkDerivation, base, containers, directory, filepath, hspec
, process, QuickCheck, transformers, yaml-config
@@ -66041,30 +66776,13 @@ self: {
}) {};
"deque" = callPackage
- ({ mkDerivation, base, QuickCheck, quickcheck-instances, rerebase
- , tasty, tasty-hunit, tasty-quickcheck
- }:
- mkDerivation {
- pname = "deque";
- version = "0.2.7";
- sha256 = "1wshylwnajw3hhqnnb72rlb05m91br57gf32770xi2h4r0h30lcr";
- libraryHaskellDepends = [ base ];
- testHaskellDepends = [
- QuickCheck quickcheck-instances rerebase tasty tasty-hunit
- tasty-quickcheck
- ];
- description = "Double-ended queue";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "deque_0_4_2_1" = callPackage
({ mkDerivation, base, mtl, QuickCheck, quickcheck-instances
, rerebase, strict-list, tasty, tasty-hunit, tasty-quickcheck
}:
mkDerivation {
pname = "deque";
- version = "0.4.2.1";
- sha256 = "0w7d2z43flj739l3qd5vkn4bcz1ci3f24g92ky33z2gvkfiwvw9x";
+ version = "0.4.2.3";
+ sha256 = "18j4pqqn65nh4wp3fkw4bd10x1gxnv5zfkzan02fqvdg1ljk9sq0";
libraryHaskellDepends = [ base mtl strict-list ];
testHaskellDepends = [
QuickCheck quickcheck-instances rerebase tasty tasty-hunit
@@ -66072,6 +66790,24 @@ self: {
];
description = "Double-ended queues";
license = stdenv.lib.licenses.mit;
+ }) {};
+
+ "deque_0_4_3" = callPackage
+ ({ mkDerivation, base, hashable, mtl, QuickCheck
+ , quickcheck-instances, rerebase, strict-list, tasty, tasty-hunit
+ , tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "deque";
+ version = "0.4.3";
+ sha256 = "19apwmcykprz3a91wszmc1w3qcz4x3rq79gmik514fszi9yhwsmp";
+ libraryHaskellDepends = [ base hashable mtl strict-list ];
+ testHaskellDepends = [
+ QuickCheck quickcheck-instances rerebase tasty tasty-hunit
+ tasty-quickcheck
+ ];
+ description = "Double-ended queues";
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -66087,6 +66823,8 @@ self: {
testHaskellDepends = [ base Cabal cabal-test-quickcheck ];
description = "A typeclass and an implementation for double-ended queues";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"derangement" = callPackage
@@ -66135,6 +66873,8 @@ self: {
executableHaskellDepends = [ base ];
description = "A program and library to derive instances for data types";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"derive-IG" = callPackage
@@ -66295,8 +67035,8 @@ self: {
}:
mkDerivation {
pname = "deriving-compat";
- version = "0.5.6";
- sha256 = "1rsjq3s2m69x2h880r087qbiwp3173pwv2yihlb8aw7dmjybydmf";
+ version = "0.5.7";
+ sha256 = "0bp4f0is84cv139s35669dv23mcp6lhp2wall72yvkk12lp2l2mg";
libraryHaskellDepends = [
base containers ghc-boot-th ghc-prim template-haskell
th-abstraction transformers transformers-compat
@@ -66349,6 +67089,18 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "describe" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, QuickCheck }:
+ mkDerivation {
+ pname = "describe";
+ version = "0.1.2.1";
+ sha256 = "1k2ik717ab2wnffmkfqm7akp3irp3jsfsb8l49gqgn30wgrx3nk7";
+ libraryHaskellDepends = [ base bytestring cereal ];
+ testHaskellDepends = [ base bytestring cereal QuickCheck ];
+ description = "Combinators for describing binary data structures";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"descrilo" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -66592,8 +67344,6 @@ self: {
];
description = "Type, render and parse the df1 hierarchical structured log format";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"dfinity-radix-tree" = callPackage
@@ -66693,65 +67443,24 @@ self: {
}) {};
"dhall" = callPackage
- ({ mkDerivation, ansi-terminal, base, bytestring, case-insensitive
- , cborg, containers, contravariant, criterion, cryptonite, deepseq
- , Diff, directory, doctest, dotgen, exceptions, filepath, haskeline
- , http-client, http-client-tls, http-types, lens-family-core
- , megaparsec, memory, mockery, mtl, optparse-applicative, parsers
- , prettyprinter, prettyprinter-ansi-terminal, QuickCheck
- , quickcheck-instances, repline, scientific, serialise, tasty
- , tasty-hunit, tasty-quickcheck, template-haskell, text
- , transformers, unordered-containers, uri-encode, vector
- }:
- mkDerivation {
- pname = "dhall";
- version = "1.19.1";
- sha256 = "14fjfwsirf8l7wirv590ix01liyd0xbhqy4h7pjblyy62m22mlzq";
- revision = "1";
- editedCabalFile = "193h4dmlz1asfr1ldy0saa9spgp64xh60xh3yywzn9lz0hxzbfpg";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- ansi-terminal base bytestring case-insensitive cborg containers
- contravariant cryptonite Diff directory dotgen exceptions filepath
- haskeline http-client http-client-tls http-types lens-family-core
- megaparsec memory mtl optparse-applicative parsers prettyprinter
- prettyprinter-ansi-terminal repline scientific serialise
- template-haskell text transformers unordered-containers uri-encode
- vector
- ];
- executableHaskellDepends = [ base ];
- testHaskellDepends = [
- base containers deepseq directory doctest filepath mockery
- prettyprinter QuickCheck quickcheck-instances serialise tasty
- tasty-hunit tasty-quickcheck text transformers vector
- ];
- benchmarkHaskellDepends = [
- base bytestring containers criterion directory serialise text
- ];
- description = "A configuration language guaranteed to terminate";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "dhall_1_23_0" = callPackage
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, base
, bytestring, case-insensitive, cborg, cborg-json, containers
, contravariant, criterion, cryptonite, deepseq, Diff, directory
, doctest, dotgen, exceptions, filepath, foldl, haskeline
, http-client, http-client-tls, http-types, lens-family-core
, megaparsec, memory, mockery, mtl, optparse-applicative, parsers
- , prettyprinter, prettyprinter-ansi-terminal, QuickCheck
- , quickcheck-instances, repline, scientific, serialise, tasty
- , tasty-hunit, tasty-quickcheck, template-haskell, text
+ , prettyprinter, prettyprinter-ansi-terminal, profunctors
+ , QuickCheck, quickcheck-instances, repline, scientific, serialise
+ , tasty, tasty-hunit, tasty-quickcheck, template-haskell, text
, transformers, transformers-compat, turtle, unordered-containers
, uri-encode, vector
}:
mkDerivation {
pname = "dhall";
- version = "1.23.0";
- sha256 = "074xpiag5csg08s9g9lcymi2mhvlwgjpqzmg7bw190mdpb8vk9zd";
- revision = "1";
- editedCabalFile = "06z5f1jk0s65dkvv5gmflla3j18vxwzgspg0lfql1vihxnvrk9hj";
+ version = "1.24.0";
+ sha256 = "1n04jk45qjl00wx7gxzp36j7d1m1ca7h7y4qlp8gxhykpkr6zzv7";
+ revision = "2";
+ editedCabalFile = "10ki70113z1kgq35xaib7qwrpzjl93hq4qxm0qb62d3pvaf4wp15";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -66760,22 +67469,68 @@ self: {
dotgen exceptions filepath haskeline http-client http-client-tls
http-types lens-family-core megaparsec memory mtl
optparse-applicative parsers prettyprinter
- prettyprinter-ansi-terminal repline scientific serialise
- template-haskell text transformers transformers-compat
+ prettyprinter-ansi-terminal profunctors repline scientific
+ serialise template-haskell text transformers transformers-compat
unordered-containers uri-encode vector
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base bytestring cborg containers deepseq directory doctest filepath
- foldl mockery prettyprinter QuickCheck quickcheck-instances
- serialise tasty tasty-hunit tasty-quickcheck text transformers
- turtle vector
+ foldl megaparsec mockery prettyprinter QuickCheck
+ quickcheck-instances serialise tasty tasty-hunit tasty-quickcheck
+ text transformers turtle vector
];
benchmarkHaskellDepends = [
base bytestring containers criterion directory serialise text
];
description = "A configuration language guaranteed to terminate";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "dhall_1_25_0" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, base
+ , bytestring, case-insensitive, cborg, cborg-json, containers
+ , contravariant, cryptonite, deepseq, Diff, directory, doctest
+ , dotgen, either, exceptions, filepath, foldl, gauge, haskeline
+ , http-client, http-client-tls, http-types, lens-family-core
+ , megaparsec, memory, mockery, mtl, optparse-applicative, parsers
+ , prettyprinter, prettyprinter-ansi-terminal, profunctors
+ , QuickCheck, quickcheck-instances, repline, scientific, semigroups
+ , serialise, spoon, tasty, tasty-hunit, tasty-quickcheck
+ , template-haskell, text, th-lift-instances, transformers
+ , transformers-compat, turtle, unordered-containers, uri-encode
+ , vector
+ }:
+ mkDerivation {
+ pname = "dhall";
+ version = "1.25.0";
+ sha256 = "0d8qx4fawvxykig628jfgqpa660mzzicysa7g3mda6zni9j4yq0h";
+ revision = "2";
+ editedCabalFile = "00jb0n07sa6v5ynzlyz39gc6zc0s0jlfck5w64pya1nmdbiijizz";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson aeson-pretty ansi-terminal base bytestring case-insensitive
+ cborg cborg-json containers contravariant cryptonite deepseq Diff
+ directory dotgen either exceptions filepath haskeline http-client
+ http-client-tls http-types lens-family-core megaparsec memory mtl
+ optparse-applicative parsers prettyprinter
+ prettyprinter-ansi-terminal profunctors repline scientific
+ serialise template-haskell text th-lift-instances transformers
+ transformers-compat unordered-containers uri-encode vector
+ ];
+ executableHaskellDepends = [ base ];
+ testHaskellDepends = [
+ base bytestring cborg containers deepseq directory doctest filepath
+ foldl lens-family-core megaparsec mockery prettyprinter QuickCheck
+ quickcheck-instances semigroups serialise spoon tasty tasty-hunit
+ tasty-quickcheck text transformers turtle vector
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring containers directory gauge serialise text
+ ];
+ description = "A configuration language guaranteed to terminate";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -66785,8 +67540,8 @@ self: {
}:
mkDerivation {
pname = "dhall-bash";
- version = "1.0.18";
- sha256 = "036ccz1kwhavl03q5lh14dxic8gjqb5cw14aws6a53gpk6p4vvff";
+ version = "1.0.21";
+ sha256 = "06rv0wrs1ym6szy78wg3nyfwaqm279vy6m7zny9s90lnpa6dc098";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -66800,16 +67555,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "dhall-bash_1_0_20" = callPackage
+ "dhall-bash_1_0_22" = callPackage
({ mkDerivation, base, bytestring, containers, dhall
, neat-interpolation, optparse-generic, shell-escape, text
}:
mkDerivation {
pname = "dhall-bash";
- version = "1.0.20";
- sha256 = "1nqiyvyj0dw1a6shy9bb1qxzjrnh8544hsa2c6rwg2j36f0lk73d";
- revision = "1";
- editedCabalFile = "0rld0k17lprd8ibwbk0aan94lbd5ffsx5a5apjgk4d4cs3jchycp";
+ version = "1.0.22";
+ sha256 = "1qxcf3f8a390znwkbhcirlgqpgg0ssc3bnwdml7wkv8k0qwqq57j";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -66844,57 +67597,61 @@ self: {
}) {};
"dhall-json" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, base, bytestring, dhall
- , optparse-applicative, tasty, tasty-hunit, text
- , unordered-containers, vector, yaml
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
+ , dhall, exceptions, lens, libyaml, optparse-applicative
+ , scientific, tasty, tasty-hunit, text, unordered-containers
+ , vector, yaml
}:
mkDerivation {
pname = "dhall-json";
- version = "1.2.6";
- sha256 = "0f18kn15v8pzkdayj2hql28fbba9i75msbi41yscik40lw2sg2cr";
+ version = "1.3.0";
+ sha256 = "176i30shaklranbhmb4m4zqn13cn9hd6lqiqdjv9qmckkapbkjpi";
revision = "1";
- editedCabalFile = "1x6dgsqcgd8mvqwqq53aj8xgnfin6c66wn8vc7ikxiy0gilp686x";
+ editedCabalFile = "101xfp3zg9i7qyibknjpcdhha8sc024xmylphiwb509h3fjy3yks";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base dhall optparse-applicative text unordered-containers
+ aeson aeson-pretty base bytestring containers dhall exceptions lens
+ libyaml optparse-applicative scientific text unordered-containers
+ vector yaml
];
executableHaskellDepends = [
- aeson aeson-pretty base bytestring dhall optparse-applicative text
- vector yaml
+ aeson aeson-pretty base bytestring dhall exceptions
+ optparse-applicative text
];
testHaskellDepends = [
aeson base bytestring dhall tasty tasty-hunit text
];
- description = "Compile Dhall to JSON or YAML";
+ description = "Convert between Dhall and JSON or YAML";
license = stdenv.lib.licenses.bsd3;
}) {};
- "dhall-json_1_2_8" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
- , dhall, exceptions, optparse-applicative, scientific, tasty
- , tasty-hunit, text, unordered-containers, vector, yaml
+ "dhall-json_1_4_0" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, base
+ , bytestring, containers, dhall, exceptions, libyaml
+ , optparse-applicative, prettyprinter, prettyprinter-ansi-terminal
+ , scientific, tasty, tasty-hunit, text, unordered-containers
+ , vector, yaml
}:
mkDerivation {
pname = "dhall-json";
- version = "1.2.8";
- sha256 = "0s5iygh9rfmhx3v62dnfr55xz60rjvnicrq9ydspy129mhf0zzgd";
- revision = "1";
- editedCabalFile = "04gbbjns1vgafvc10zx4vrk130kww0a6c4lcqcmapa8yi7vz9670";
+ version = "1.4.0";
+ sha256 = "0kxb71m1rf6y7z3wx4yx5ks0p5vhnlpgchsih3mfn9ygppc2z0ri";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base dhall optparse-applicative text unordered-containers
+ aeson aeson-pretty base bytestring containers dhall exceptions
+ libyaml optparse-applicative scientific text unordered-containers
+ vector yaml
];
executableHaskellDepends = [
- aeson aeson-pretty base bytestring containers dhall exceptions
- optparse-applicative scientific text unordered-containers vector
- yaml
+ aeson aeson-pretty ansi-terminal base bytestring dhall exceptions
+ optparse-applicative prettyprinter prettyprinter-ansi-terminal text
];
testHaskellDepends = [
aeson base bytestring dhall tasty tasty-hunit text
];
- description = "Compile Dhall to JSON or YAML";
+ description = "Convert between Dhall and JSON or YAML";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -66918,20 +67675,51 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "dhall-nix" = callPackage
- ({ mkDerivation, base, containers, data-fix, dhall, hnix
- , insert-ordered-containers, neat-interpolation, optparse-generic
- , text
+ "dhall-lsp-server" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
+ , cryptonite, data-default, dhall, dhall-json, directory, doctest
+ , dotgen, filepath, haskell-lsp, hslogger, lens, lens-family-core
+ , megaparsec, mtl, network-uri, optparse-applicative, prettyprinter
+ , sorted-list, stm, text, transformers, unordered-containers
+ , uri-encode, yi-rope
}:
mkDerivation {
- pname = "dhall-nix";
- version = "1.1.6";
- sha256 = "0pchanzgcag6z7fywqm09xj29n0pfxd2ya2ky64aapykq038jxbs";
+ pname = "dhall-lsp-server";
+ version = "1.0.0";
+ sha256 = "1i4bx8qiy1hbs6bm50fixj1ipkd9rm6y6z3bci8ngh1rhy5v51x1";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base containers data-fix dhall hnix insert-ordered-containers
- neat-interpolation text
+ aeson aeson-pretty base bytestring containers cryptonite
+ data-default dhall dhall-json dotgen filepath haskell-lsp hslogger
+ lens lens-family-core megaparsec mtl network-uri
+ optparse-applicative prettyprinter sorted-list stm text
+ transformers unordered-containers uri-encode yi-rope
+ ];
+ executableHaskellDepends = [
+ aeson base containers data-default dhall filepath haskell-lsp
+ hslogger lens lens-family-core megaparsec mtl optparse-applicative
+ prettyprinter sorted-list stm text transformers
+ unordered-containers yi-rope
+ ];
+ testHaskellDepends = [ base directory doctest filepath ];
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "dhall-nix" = callPackage
+ ({ mkDerivation, base, containers, data-fix, dhall, hnix
+ , neat-interpolation, optparse-generic, text
+ }:
+ mkDerivation {
+ pname = "dhall-nix";
+ version = "1.1.7";
+ sha256 = "0axg7qq8rfy5qsffiw57lll40mw7bxgk67g7lgdb5vbri69xj3is";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base containers data-fix dhall hnix neat-interpolation text
];
executableHaskellDepends = [
base dhall hnix optparse-generic text
@@ -66946,10 +67734,10 @@ self: {
({ mkDerivation, base, dhall, optparse-applicative, text }:
mkDerivation {
pname = "dhall-text";
- version = "1.0.17";
- sha256 = "0bs246857r801qnqvh8cb5wm1rplr7grynl4h989i61qz7vcqf53";
+ version = "1.0.18";
+ sha256 = "1nwvj67glqyn5yd62ni16wqppv8d3hy7d9aw87p35zkch1vr8vsd";
revision = "1";
- editedCabalFile = "1avvybk495zngswlnjiqj8nk7iycwzzhxx3cml4w2yhqlic3xx2g";
+ editedCabalFile = "1dynw76kmca5l43jqrmgmzbdd7hqixiyfpb4pcx4dzr6ghar49s7";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -66967,16 +67755,16 @@ self: {
}:
mkDerivation {
pname = "dhall-to-cabal";
- version = "1.3.3.0";
- sha256 = "0nh7sn8hzm38prx4c2h9azw351gns4mscjnn7dsgxpn34l5yyql7";
+ version = "1.3.4.0";
+ sha256 = "1z69nx98wgrjhgra0rw6lvsgnjzmqpixjwd673nvs79jg98yafm7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bytestring Cabal containers contravariant dhall filepath text
- transformers vector
+ base bytestring Cabal containers contravariant dhall filepath
+ microlens text transformers vector
];
executableHaskellDepends = [
- base bytestring Cabal dhall directory filepath microlens
+ base bytestring Cabal containers dhall directory filepath microlens
optparse-applicative prettyprinter text transformers
];
testHaskellDepends = [
@@ -66985,6 +67773,8 @@ self: {
];
description = "Compile Dhall expressions to Cabal files";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"dhcp-lease-parser" = callPackage
@@ -67007,6 +67797,41 @@ self: {
broken = true;
}) {};
+ "dhrun" = callPackage
+ ({ mkDerivation, aeson, ansi-terminal, base, bytestring, conduit
+ , conduit-extra, containers, dhall, directory, editor-open
+ , filepath, generic-random, Glob, hspec, mtl, optparse-applicative
+ , process, protolude, quickcheck-text, tasty, tasty-golden
+ , tasty-hspec, tasty-hunit, tasty-quickcheck, text, time, unix
+ , unliftio, unliftio-core, yaml
+ }:
+ mkDerivation {
+ pname = "dhrun";
+ version = "1.0.1";
+ sha256 = "1gyg5221g1qsq2h62lcdwi4g7amis26692hh3fdi824bjylz8pal";
+ isLibrary = false;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ ansi-terminal base bytestring conduit conduit-extra containers
+ dhall directory mtl process protolude text time unix unliftio-core
+ yaml
+ ];
+ executableHaskellDepends = [
+ base bytestring dhall directory editor-open filepath
+ optparse-applicative protolude
+ ];
+ testHaskellDepends = [
+ aeson base bytestring dhall filepath generic-random Glob hspec mtl
+ protolude quickcheck-text tasty tasty-golden tasty-hspec
+ tasty-hunit tasty-quickcheck text unliftio yaml
+ ];
+ doHaddock = false;
+ description = "Dhall/YAML configurable concurrent integration test executor";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"di" = callPackage
({ mkDerivation, base, containers, df1, di-core, di-df1, di-handle
, di-monad, exceptions
@@ -67020,8 +67845,6 @@ self: {
];
description = "Typeful hierarchical structured logging using di, mtl and df1";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"di-core" = callPackage
@@ -67060,8 +67883,6 @@ self: {
];
description = "Write logs in the df1 format using the di logging framework";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"di-handle" = callPackage
@@ -67075,8 +67896,6 @@ self: {
];
description = "IO support for file handles in di-core";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"di-monad" = callPackage
@@ -67981,8 +68800,8 @@ self: {
}:
mkDerivation {
pname = "differential";
- version = "0.1.1.0";
- sha256 = "0h6w082zq4f4p7j61bdi3jzpb42wwgh1d3067jywlnx2qwa0ijhp";
+ version = "0.1.2.0";
+ sha256 = "1mw70yrxi72q55h5xvyds7qp5az7j1qc3xix6ahck17dv5w8fpyl";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -68184,6 +69003,8 @@ self: {
];
description = "Happstack backend for the digestive-functors library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"digestive-functors-heist" = callPackage
@@ -68270,10 +69091,8 @@ self: {
}:
mkDerivation {
pname = "digit";
- version = "0.7";
- sha256 = "0451nlmf2ggg1dy82qkdxqlg4lgnsvkrxl3qrcjr5dzmi2ghk3ql";
- revision = "2";
- editedCabalFile = "0335fzcbrf4hciz9gdkk41y9jkd5vm5vbz99v9ick76q48h2bs6p";
+ version = "0.8";
+ sha256 = "0m3m9c2452b0x7ccglkz7mr3ivi7r98qa44zwfnf7a55d6xckfa9";
libraryHaskellDepends = [
base lens parsers scientific semigroupoids semigroups
template-haskell
@@ -68284,6 +69103,8 @@ self: {
];
description = "A data-type representing digits 0-9 and other combinations";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"digitalocean-kzs" = callPackage
@@ -68317,6 +69138,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "digraph" = callPackage
+ ({ mkDerivation, base, containers, deepseq, fgl, hashable, massiv
+ , mwc-random, QuickCheck, streaming, transformers
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "digraph";
+ version = "0.1.0.2";
+ sha256 = "1kkvihqg3rhhsqz25yq7np211813kf3xqqi27lpdf1kdmq8vvf80";
+ libraryHaskellDepends = [
+ base containers deepseq hashable massiv mwc-random streaming
+ transformers unordered-containers
+ ];
+ testHaskellDepends = [ base fgl hashable massiv QuickCheck ];
+ description = "Directed Graphs";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"dihaa" = callPackage
({ mkDerivation, base, FontyFruity, JuicyPixels, Rasterific, vector
}:
@@ -68382,13 +69223,16 @@ self: {
}) {};
"dimensions" = callPackage
- ({ mkDerivation, base, Cabal, QuickCheck }:
+ ({ mkDerivation, base, Cabal, constraints-deriving, ghc, QuickCheck
+ }:
mkDerivation {
pname = "dimensions";
- version = "1.0.1.1";
- sha256 = "18f0b82vgzwk8yf0d8h10ni18jq2x34rgb1lsprlb1xxpw0dskda";
- libraryHaskellDepends = [ base ];
- testHaskellDepends = [ base Cabal QuickCheck ];
+ version = "2.0.0.0";
+ sha256 = "1k0j8lcshscs5cd18i6qqiwb7sjy55mcfha5kl5f4x9nxrnn6xa8";
+ libraryHaskellDepends = [ base constraints-deriving ghc ];
+ testHaskellDepends = [
+ base Cabal constraints-deriving QuickCheck
+ ];
description = "Safe type-level dimensionality for multidimensional data";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -68541,11 +69385,11 @@ self: {
}:
mkDerivation {
pname = "dir-traverse";
- version = "0.2.0.1";
- sha256 = "1asm4nrn3lj4nyl5ygiaqj11hjg3qsngs8jbcll7igs7xdr0pazy";
+ version = "0.2.1.0";
+ sha256 = "08xzl64clnx3mfx5bw82kpksagyl4bajkaxmbl1dpnmdc4jz35ks";
libraryHaskellDepends = [ base directory ];
benchmarkHaskellDepends = [
- base criterion dirstream pipes pipes-safe system-filepath
+ base criterion directory dirstream pipes pipes-safe system-filepath
];
description = "Simple directory traversal library";
license = stdenv.lib.licenses.bsd3;
@@ -68693,12 +69537,12 @@ self: {
broken = true;
}) {};
- "directory_1_3_3_2" = callPackage
+ "directory_1_3_4_0" = callPackage
({ mkDerivation, base, filepath, time, unix }:
mkDerivation {
pname = "directory";
- version = "1.3.3.2";
- sha256 = "0nr0lwpi20slgqc22br9ldrs57573irqbck8am0pz0gz3yvmqis3";
+ version = "1.3.4.0";
+ sha256 = "19akp75rb3zwjfxcjamj05br865rd54y1gbyyfrb3a9506zcpsfm";
libraryHaskellDepends = [ base filepath time unix ];
testHaskellDepends = [ base filepath time unix ];
description = "Platform-agnostic library for filesystem operations";
@@ -68803,6 +69647,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "dirtree" = callPackage
+ ({ mkDerivation, base, containers, deepseq, directory, filepath
+ , hspec, hspec-discover, hspec-expectations-pretty-diff, lens
+ }:
+ mkDerivation {
+ pname = "dirtree";
+ version = "0.0.1";
+ sha256 = "0i7prw2bzf5yjk42y1zvpjph8s5a73x1rj3dgba4mzdx3qpcs1gj";
+ libraryHaskellDepends = [
+ base containers deepseq directory filepath lens
+ ];
+ testHaskellDepends = [
+ base containers deepseq directory filepath hspec hspec-discover
+ hspec-expectations-pretty-diff lens
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "A small library for working with directories";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"disassembler" = callPackage
({ mkDerivation, array, base, containers, mtl, parsec }:
mkDerivation {
@@ -68871,20 +69737,23 @@ self: {
"discord-haskell" = callPackage
({ mkDerivation, aeson, async, base, base64-bytestring, bytestring
- , containers, data-default, http-client, iso8601-time, JuicyPixels
- , MonadRandom, req, safe-exceptions, text, time
+ , containers, data-default, emoji, http-client, iso8601-time
+ , JuicyPixels, MonadRandom, req, safe-exceptions, text, time
, unordered-containers, vector, websockets, wuss
}:
mkDerivation {
pname = "discord-haskell";
- version = "0.8.3";
- sha256 = "15nm4dp20ch27wf86s0z3qd98419hhc988dmbv4z9qhq0f8sdcmb";
+ version = "1.1.0";
+ sha256 = "16n78p6g0rh670zy2pbk59c8nkg5srkhlbya0aknpz2s4smpn891";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
aeson async base base64-bytestring bytestring containers
- data-default http-client iso8601-time JuicyPixels MonadRandom req
- safe-exceptions text time unordered-containers vector websockets
- wuss
+ data-default emoji http-client iso8601-time JuicyPixels MonadRandom
+ req safe-exceptions text time unordered-containers vector
+ websockets wuss
];
+ executableHaskellDepends = [ base text ];
description = "Write bots for Discord in Haskell";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -69016,19 +69885,17 @@ self: {
"discrimination" = callPackage
({ mkDerivation, array, base, containers, contravariant, criterion
- , deepseq, ghc-prim, hashable, primitive, profunctors, promises
- , semigroups, transformers, transformers-compat
+ , deepseq, ghc-prim, hashable, integer-gmp, primitive, profunctors
+ , promises, semigroups, transformers, transformers-compat
, unordered-containers, vector, void
}:
mkDerivation {
pname = "discrimination";
- version = "0.3";
- sha256 = "18scvjb4vj1y9mwhanr8h73bs80h1d23m2vrixm48riyg22v5m6n";
- revision = "1";
- editedCabalFile = "1p39vcdmv9k9wxlkh49w1dr1isvn2hvhjjbs95qwljpxca74i23g";
+ version = "0.4";
+ sha256 = "085lhsvyp4d135p9yhgyl2s92f4cjdsghk1nsp8mjjddh6hxl20a";
libraryHaskellDepends = [
array base containers contravariant deepseq ghc-prim hashable
- primitive profunctors promises semigroups transformers
+ integer-gmp primitive profunctors promises semigroups transformers
transformers-compat vector void
];
benchmarkHaskellDepends = [
@@ -69231,8 +70098,6 @@ self: {
testHaskellDepends = [ base binary hspec QuickCheck ];
description = "Serializable closures for distributed programming";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"distributed-fork" = callPackage
@@ -69251,8 +70116,6 @@ self: {
testHaskellDepends = [ base tasty tasty-hunit unix ];
description = "Like 'forkIO', but uses remote machines instead of local threads";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"distributed-fork-aws-lambda" = callPackage
@@ -69912,8 +70775,8 @@ self: {
}:
mkDerivation {
pname = "distributive";
- version = "0.6";
- sha256 = "1m61ppv851nifid98fimvpml0z0j3ximj7nxd72hshrslr0i7bx4";
+ version = "0.6.1";
+ sha256 = "1wnayzzb4vk8rhh9gzhdpd9f64366k4vmbhximavmqqmp3cv2jbp";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [ base base-orphans tagged transformers ];
testHaskellDepends = [ base doctest generic-deriving hspec ];
@@ -69922,6 +70785,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ditto" = callPackage
+ ({ mkDerivation, base, containers, mtl, semigroups, text, torsor }:
+ mkDerivation {
+ pname = "ditto";
+ version = "0.4";
+ sha256 = "0qnkv0r5dm73qlrsgwxwzm7f9gbknwcy1dzbjs6vlcmx8hyqh2gp";
+ libraryHaskellDepends = [
+ base containers mtl semigroups text torsor
+ ];
+ description = "ditto is a type-safe HTML form generation and validation library";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "ditto-lucid" = callPackage
+ ({ mkDerivation, base, ditto, lucid, path-pieces, text }:
+ mkDerivation {
+ pname = "ditto-lucid";
+ version = "0.4";
+ sha256 = "1if543wf7div8ww90ifdh75i2w99lhbfh8pfnzmd1yaw2j1m35ff";
+ libraryHaskellDepends = [ base ditto lucid path-pieces text ];
+ description = "Add support for using lucid with Ditto";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"diversity" = callPackage
({ mkDerivation, base, containers, data-ordlist, fasta
, math-functions, MonadRandom, optparse-applicative, parsec, pipes
@@ -70060,14 +70947,56 @@ self: {
broken = true;
}) {};
+ "dl-fedora" = callPackage
+ ({ mkDerivation, base, bytestring, directory, filepath
+ , http-directory, http-types, optparse-applicative, regex-posix
+ , simple-cmd, simple-cmd-args, text, unix, xdg-userdirs
+ }:
+ mkDerivation {
+ pname = "dl-fedora";
+ version = "0.5";
+ sha256 = "1zfdf2s8cq171ik3iwq0zcha60i3czpjiy9bqa5wxczbwp0jpaxa";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base bytestring directory filepath http-directory http-types
+ optparse-applicative regex-posix simple-cmd simple-cmd-args text
+ unix xdg-userdirs
+ ];
+ description = "Fedora image download tool";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "dl-fedora_0_6" = callPackage
+ ({ mkDerivation, base, bytestring, directory, filepath
+ , http-directory, http-types, optparse-applicative, regex-posix
+ , simple-cmd, simple-cmd-args, text, unix, xdg-userdirs
+ }:
+ mkDerivation {
+ pname = "dl-fedora";
+ version = "0.6";
+ sha256 = "1kq9hhpgh24kfgf9b25zppmfbylcqx0scs96dp0nbyj3rp6yl8rh";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base bytestring directory filepath http-directory http-types
+ optparse-applicative regex-posix simple-cmd simple-cmd-args text
+ unix xdg-userdirs
+ ];
+ description = "Fedora image download tool";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"dlist" = callPackage
({ mkDerivation, base, Cabal, deepseq, QuickCheck }:
mkDerivation {
pname = "dlist";
- version = "0.8.0.6";
- sha256 = "0gy70df86pfmqwbmnafdw2w5jnflvn5mca8npxzfg23f3p4ll2vq";
- revision = "1";
- editedCabalFile = "0f3r78gjdrhg5zg693dgdfx78ds6vbp5bg1sws1y1vbamraa65sf";
+ version = "0.8.0.7";
+ sha256 = "0b5spkzvj2kx8pk86xz0djkxs13j7dryf5fl16dk4mlp1wh6mh53";
libraryHaskellDepends = [ base deepseq ];
testHaskellDepends = [ base Cabal QuickCheck ];
description = "Difference lists";
@@ -70094,8 +71023,8 @@ self: {
pname = "dlist-nonempty";
version = "0.1.1";
sha256 = "0csbspdy43pzvasb5mhs5pz2f49ws78pi253cx7pp84wjx6ads20";
- revision = "5";
- editedCabalFile = "01x05d62y8f3kippxawra3fdr7jdms3zcgd7c4n8wf39np9wy556";
+ revision = "7";
+ editedCabalFile = "0cp5v4zfkx7mz8cc8hgjx0v0a37y4fnld3r59i6mb00ilzrh1nhk";
libraryHaskellDepends = [
base base-compat deepseq dlist semigroupoids
];
@@ -70149,6 +71078,8 @@ self: {
];
description = "AVAYA DMCC API bindings and WebSockets server for AVAYA";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"dmenu" = callPackage
@@ -70226,21 +71157,20 @@ self: {
}) {};
"dns" = callPackage
- ({ mkDerivation, async, attoparsec, auto-update, base
- , base64-bytestring, binary, bytestring, containers, cryptonite
- , doctest, hspec, iproute, mtl, network, psqueues, QuickCheck, safe
- , time, word8
+ ({ mkDerivation, array, async, attoparsec, auto-update, base
+ , base16-bytestring, base64-bytestring, bytestring, Cabal
+ , cabal-doctest, containers, cryptonite, doctest, hourglass, hspec
+ , iproute, mtl, network, psqueues, QuickCheck, word8
}:
mkDerivation {
pname = "dns";
- version = "3.0.4";
- sha256 = "1aa4zb9zkk244rndimrq8maxj9qrmz3rb13v9n8jblmp6ssk6d3v";
- revision = "1";
- editedCabalFile = "15jafrm919w4p23m7kpmyc1yvzpy88jcccycc00dza69d119zjdr";
+ version = "4.0.0";
+ sha256 = "0gq0y8pw4x8fja0f3hhwpbxh4rg2i8nzfnp2rxh2py49qfhg38mj";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
- async attoparsec auto-update base base64-bytestring binary
- bytestring containers cryptonite iproute mtl network psqueues safe
- time
+ array async attoparsec auto-update base base16-bytestring
+ base64-bytestring bytestring containers cryptonite hourglass
+ iproute mtl network psqueues
];
testHaskellDepends = [
base bytestring doctest hspec iproute network QuickCheck word8
@@ -70419,8 +71349,8 @@ self: {
}:
mkDerivation {
pname = "docker";
- version = "0.6.0.0";
- sha256 = "0i90nkj1fc4swr6nral2y6raa6mmdz8x40sg47ww42dw18q00fjd";
+ version = "0.6.0.2";
+ sha256 = "00xs5khq74rlc4yqlln7fdhxagzbl526mnd762ivkyikn5ip3p9r";
libraryHaskellDepends = [
aeson base blaze-builder bytestring conduit conduit-combinators
conduit-extra containers data-default-class directory exceptions
@@ -70512,6 +71442,24 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "doclayout" = callPackage
+ ({ mkDerivation, base, criterion, mtl, safe, tasty, tasty-golden
+ , tasty-hunit, text
+ }:
+ mkDerivation {
+ pname = "doclayout";
+ version = "0.1";
+ sha256 = "1dmjj3z15vr5czy5gkwzs5zvz23ap1qpya3qlqfs5phslpbsada3";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [ base mtl safe text ];
+ testHaskellDepends = [
+ base mtl tasty tasty-golden tasty-hunit text
+ ];
+ benchmarkHaskellDepends = [ base criterion mtl text ];
+ description = "A prettyprinting library for laying out text documents";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"docopt" = callPackage
({ mkDerivation, aeson, ansi-terminal, base, bytestring, containers
, HUnit, parsec, split, template-haskell, text, th-lift
@@ -70564,44 +71512,42 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "doctemplates_0_6" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, criterion
+ , doclayout, filepath, Glob, mtl, parsec, safe, scientific, tasty
+ , tasty-golden, tasty-hunit, temporary, text, unordered-containers
+ , vector
+ }:
+ mkDerivation {
+ pname = "doctemplates";
+ version = "0.6";
+ sha256 = "1bimvksijpz3czx0si9wwiigi4knc3d4i7rl6fssmz3z9qs6rhxg";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson base containers doclayout filepath mtl parsec safe scientific
+ text unordered-containers vector
+ ];
+ testHaskellDepends = [
+ aeson base bytestring doclayout filepath Glob tasty tasty-golden
+ tasty-hunit temporary text
+ ];
+ benchmarkHaskellDepends = [
+ aeson base containers criterion filepath mtl text
+ ];
+ description = "Pandoc-style document templates";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"doctest" = callPackage
({ mkDerivation, base, base-compat, code-page, deepseq, directory
, filepath, ghc, ghc-paths, hspec, HUnit, mockery, process
, QuickCheck, setenv, silently, stringbuilder, syb, transformers
- , with-location
}:
mkDerivation {
pname = "doctest";
- version = "0.16.0.1";
- sha256 = "106pc4rs4cfym7754gzdgy36dm9aidwmnqpjm9k7yq1hfd4pallv";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- base base-compat code-page deepseq directory filepath ghc ghc-paths
- process syb transformers
- ];
- executableHaskellDepends = [
- base base-compat code-page deepseq directory filepath ghc ghc-paths
- process syb transformers
- ];
- testHaskellDepends = [
- base base-compat code-page deepseq directory filepath ghc ghc-paths
- hspec HUnit mockery process QuickCheck setenv silently
- stringbuilder syb transformers with-location
- ];
- description = "Test interactive Haskell examples";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "doctest_0_16_1" = callPackage
- ({ mkDerivation, base, base-compat, code-page, deepseq, directory
- , filepath, ghc, ghc-paths, hspec, HUnit, mockery, process
- , QuickCheck, setenv, silently, stringbuilder, syb, transformers
- }:
- mkDerivation {
- pname = "doctest";
- version = "0.16.1";
- sha256 = "1xnm1sbm9lpfxw5yav8qpqr85aap94k9df6n5kx70bp6h69qnrrq";
+ version = "0.16.2";
+ sha256 = "0lk4cjfzi5bx2snfzw1zi06li0gvgz3ckfh2kwa98l7nxfdl39ag";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -70619,7 +71565,6 @@ self: {
];
description = "Test interactive Haskell examples";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"doctest-discover" = callPackage
@@ -70736,16 +71681,17 @@ self: {
"docusign-client" = callPackage
({ mkDerivation, aeson, base, base64-bytestring, bytestring
, data-default, docusign-base-minimal, exceptions, http-client
- , http-client-tls, http-types, servant-client, text, uuid
+ , http-client-tls, http-types, servant-client, servant-client-core
+ , text, uuid
}:
mkDerivation {
pname = "docusign-client";
- version = "0.0.2";
- sha256 = "14dpb1wdi6372b129hi85ksj2klxdvwnq758742akrrhaaz3lisx";
+ version = "0.0.3";
+ sha256 = "0gaqcxdl40fhpik6n8fgs717gri1g90xkhmxii5535513lp67id2";
libraryHaskellDepends = [
aeson base base64-bytestring bytestring data-default
docusign-base-minimal exceptions http-client http-client-tls
- http-types servant-client text uuid
+ http-types servant-client servant-client-core text uuid
];
description = "Client bindings for the DocuSign API";
license = stdenv.lib.licenses.bsd3;
@@ -70829,6 +71775,26 @@ self: {
broken = true;
}) {};
+ "doldol" = callPackage
+ ({ mkDerivation, base, HUnit, QuickCheck, test-framework
+ , test-framework-hunit, test-framework-quickcheck2
+ , test-framework-th
+ }:
+ mkDerivation {
+ pname = "doldol";
+ version = "0.4.1.2";
+ sha256 = "0r9ylifyyv2mg4b94ikv8q56j0z5f6qa8r2jcpqg0xzdznwxqlv5";
+ revision = "1";
+ editedCabalFile = "0xwbdrfzd6z3nwkgnav2drisw2sn464ggkz8fid58cym9hbfpl47";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [
+ base HUnit QuickCheck test-framework test-framework-hunit
+ test-framework-quickcheck2 test-framework-th
+ ];
+ description = "Flag packer & handler for flaggable data";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"dollaridoos" = callPackage
({ mkDerivation, base, profunctors, semigroups }:
mkDerivation {
@@ -71003,6 +71969,8 @@ self: {
executableHaskellDepends = [ base containers graphviz hxt text ];
description = "Converter from GraphViz .dot format to yEd GraphML";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"dotenv" = callPackage
@@ -71012,8 +71980,8 @@ self: {
}:
mkDerivation {
pname = "dotenv";
- version = "0.8.0.0";
- sha256 = "0b1pz7wh5kf0sjkig0y4ks6i2z5yzpvlnd6hgzl0sj4j6w2j35ly";
+ version = "0.8.0.2";
+ sha256 = "0an7spi0cgvzr64nyy7p8pdslyf0jlh9l2ww52jbh1habsxjn6fp";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -71162,29 +72130,31 @@ self: {
"dovin" = callPackage
({ mkDerivation, base, Cabal, containers, directory, filepath
- , hashable, lens, mtl, parsec, tasty, tasty-discover, tasty-hunit
- , tasty-quickcheck, unordered-containers
+ , hashable, lens, mtl, parsec, split, tasty, tasty-discover
+ , tasty-hunit, tasty-quickcheck, unordered-containers
}:
mkDerivation {
pname = "dovin";
- version = "0.1.0.1";
- sha256 = "1imllaywr647vkgwk7j3ha1zv3h4bks64jpjn0y3q15mlzmrcdws";
+ version = "0.2";
+ sha256 = "0iy2hfmf3riwmj880if7ar30vrwnfpmyv8dhkx42hlzjb8mg538q";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal directory filepath ];
libraryHaskellDepends = [
- base containers hashable lens mtl parsec unordered-containers
+ base containers hashable lens mtl parsec split unordered-containers
];
executableHaskellDepends = [
- base containers hashable lens mtl parsec unordered-containers
+ base containers hashable lens mtl parsec split unordered-containers
];
testHaskellDepends = [
- base containers hashable lens mtl parsec tasty tasty-discover
+ base containers hashable lens mtl parsec split tasty tasty-discover
tasty-hunit tasty-quickcheck unordered-containers
];
testToolDepends = [ tasty-discover ];
description = "A proof assistant for Magic: The Gathering puzzles";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"dow" = callPackage
@@ -71478,6 +72448,29 @@ self: {
broken = true;
}) {};
+ "dprox" = callPackage
+ ({ mkDerivation, attoparsec, base, bytestring, containers, dns
+ , hspec, iproute, network, optparse-applicative, streaming-commons
+ , unix, unordered-containers
+ }:
+ mkDerivation {
+ pname = "dprox";
+ version = "0.1.2.1";
+ sha256 = "16z7qx76qy2gjz2j630maa2jgiqhphi8vpphbdywgk1abg7iwhrz";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ attoparsec base bytestring containers dns iproute network
+ optparse-applicative streaming-commons unix unordered-containers
+ ];
+ testHaskellDepends = [
+ attoparsec base bytestring containers dns hspec iproute network
+ optparse-applicative streaming-commons unix unordered-containers
+ ];
+ description = "a lightweight DNS proxy server";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"drClickOn" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@@ -71653,6 +72646,26 @@ self: {
broken = true;
}) {drmaa = null;};
+ "drone" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, extensible
+ , formatting, hspec, microlens, req, servant-server, text, warp
+ }:
+ mkDerivation {
+ pname = "drone";
+ version = "1.0.1";
+ sha256 = "1qhgikixnzsqyywxnrgl2099klcxk17djbbz23hxvxmibay1pm8w";
+ libraryHaskellDepends = [
+ base bytestring containers extensible formatting microlens req text
+ ];
+ testHaskellDepends = [
+ aeson base bytestring containers extensible formatting hspec
+ microlens req servant-server text warp
+ ];
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"dropbox-sdk" = callPackage
({ mkDerivation, base, blaze-builder, bytestring, case-insensitive
, certificate, conduit, HTTP, http-conduit, http-types, json
@@ -71804,13 +72817,11 @@ self: {
({ mkDerivation, base, parsec }:
mkDerivation {
pname = "dson";
- version = "0.3.0.0";
- sha256 = "15pqja0q1lram7xi5xk8dlcfg5m1z0l4zscqw24wm50hmqpxi09d";
+ version = "0.3.0.1";
+ sha256 = "1vv32n736ncjsy4psp8zlqmpp0r7mncjq65zwkhq5i99jx4chb1q";
libraryHaskellDepends = [ base parsec ];
- description = "Haskell DogeScript Object Notation Parser";
+ description = "Haskell Doge Serialized Object Notation Parser";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"dson-parsec" = callPackage
@@ -71830,8 +72841,8 @@ self: {
({ mkDerivation, array, base, containers, QuickCheck, random }:
mkDerivation {
pname = "dsp";
- version = "0.2.4.1";
- sha256 = "0b748v9v9i7kw2djnb9a89yjw0nhwhb5sfml3x6ajydjhx79a8ik";
+ version = "0.2.5";
+ sha256 = "1lka6l0xf3p7cb9ikzvszwgr7pl3gjm0s5v312p6k4w1fqqsycl5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ array base containers random ];
@@ -71996,8 +73007,8 @@ self: {
pname = "dual-tree";
version = "0.2.2";
sha256 = "1sx9p9yr06z7bi7pshjpswizs6bkmfzcpw8xlasriniry86df4kl";
- revision = "2";
- editedCabalFile = "0r8idr1haqixa9nlp8db5iw9vr9sdk6rcargkr7w7s6i99lm6jmh";
+ revision = "3";
+ editedCabalFile = "00gwdgzy80p9c5r4wafm1fiqnh2hy1xjsbl86h1qkk7xg33g2ssi";
libraryHaskellDepends = [
base monoid-extras newtype-generics semigroups
];
@@ -72088,6 +73099,8 @@ self: {
pname = "dumb-cas";
version = "0.2.0.0";
sha256 = "1zcq9r2p5gjpfivprjp9hspqpayrj9in2jck5vf5ibxpc671isb4";
+ revision = "1";
+ editedCabalFile = "1269wjyywvi86gmpqdpq2niv5ifns0bqr1i5229w69jdlzrc6dqg";
libraryHaskellDepends = [
base containers decimal-literals hashable template-haskell
unordered-containers
@@ -72464,6 +73477,19 @@ self: {
broken = true;
}) {};
+ "dyepack" = callPackage
+ ({ mkDerivation, base, generics-sop }:
+ mkDerivation {
+ pname = "dyepack";
+ version = "0.1.0.0";
+ sha256 = "02kdcfnagp0aadfjhn17b47pz9bknl0yisyqpnf79v7g27szb74a";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base generics-sop ];
+ description = "Programatically identify space leaks in your program";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"dynamic" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, cassava
, containers, http-conduit, text, unordered-containers, vector
@@ -72509,16 +73535,14 @@ self: {
}:
mkDerivation {
pname = "dynamic-graph";
- version = "0.1.0.12";
- sha256 = "1jygkj2jryjxlkyf0104abhkhjmfdvjaaa4zcyz7kgpny342fhiy";
+ version = "0.1.0.13";
+ sha256 = "1gx3hqbps8mvhxm03j5wri7v4qy3z42kcy8rhhcxq7dd0mryd4rz";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base cairo colour GLFW-b GLUtil OpenGL pango pipes transformers
];
description = "Draw and update graphs in real time with OpenGL";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"dynamic-graphs" = callPackage
@@ -72618,6 +73642,8 @@ self: {
pname = "dynamic-plot";
version = "0.4.0.0";
sha256 = "1klq7lwvfwwp6z842g50a2xx6cqihp8a6551f935nr2sx9hwdr94";
+ revision = "1";
+ editedCabalFile = "0x5jxjvwfkax6lxwk28hd2p903q6zmr1nxhyahrwcnqgh6ygywiw";
libraryHaskellDepends = [
base colour colour-space constrained-categories containers
data-default deepseq diagrams-cairo diagrams-core diagrams-gtk
@@ -72772,6 +73798,43 @@ self: {
broken = true;
}) {};
+ "dzen-dhall" = callPackage
+ ({ mkDerivation, ansi-terminal, base, bytestring, dhall, directory
+ , file-embed-lzma, filepath, generic-random, hashable, hourglass
+ , hspec, http-conduit, http-types, HUnit, megaparsec, microlens
+ , microlens-th, network-uri, optparse-applicative, parsec, parsers
+ , pipes, prettyprinter, prettyprinter-ansi-terminal, process
+ , QuickCheck, random, tasty, tasty-hspec, tasty-hunit
+ , tasty-quickcheck, template-haskell, text, transformers, unix
+ , unordered-containers, utf8-string, vector
+ }:
+ mkDerivation {
+ pname = "dzen-dhall";
+ version = "1.0.1";
+ sha256 = "16rkmiczdgknlq1f8m5n3ila8727z1db77g141sq5qqlgn7x37ww";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ ansi-terminal base bytestring dhall directory file-embed-lzma
+ filepath hashable hourglass http-conduit http-types megaparsec
+ microlens microlens-th network-uri optparse-applicative parsec
+ parsers pipes prettyprinter prettyprinter-ansi-terminal process
+ random text transformers unix unordered-containers utf8-string
+ vector
+ ];
+ executableHaskellDepends = [ base ];
+ testHaskellDepends = [
+ base dhall filepath generic-random hspec HUnit microlens
+ network-uri optparse-applicative parsec QuickCheck tasty
+ tasty-hspec tasty-hunit tasty-quickcheck template-haskell text
+ unordered-containers vector
+ ];
+ description = "Configure dzen2 bars in Dhall language";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"dzen-utils" = callPackage
({ mkDerivation, base, colour, process }:
mkDerivation {
@@ -72946,31 +74009,34 @@ self: {
}) {};
"easytensor" = callPackage
- ({ mkDerivation, base, Cabal, dimensions, QuickCheck, time }:
+ ({ mkDerivation, base, Cabal, constraints-deriving, dimensions
+ , QuickCheck, template-haskell, time
+ }:
mkDerivation {
pname = "easytensor";
- version = "1.0.1.0";
- sha256 = "0s1w8ldd25m3jlqysikhzs4ygv4ar476iynbcy18nfn5qh8dvf8k";
- libraryHaskellDepends = [ base dimensions ];
- testHaskellDepends = [ base Cabal dimensions QuickCheck ];
- benchmarkHaskellDepends = [ base dimensions time ];
+ version = "2.0.1.0";
+ sha256 = "018g738yq7ac386ahbl18jnkjzd25jbgb744fg0kxz90734iwwdv";
+ libraryHaskellDepends = [ base constraints-deriving dimensions ];
+ testHaskellDepends = [
+ base Cabal constraints-deriving dimensions QuickCheck
+ template-haskell
+ ];
+ benchmarkHaskellDepends = [
+ base constraints-deriving dimensions time
+ ];
description = "Pure, type-indexed haskell vector, matrix, and tensor library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"easytensor-vulkan" = callPackage
({ mkDerivation, base, dimensions, easytensor, vulkan-api }:
mkDerivation {
pname = "easytensor-vulkan";
- version = "1.0.1.0";
- sha256 = "1mbykmlba5wlf66apiy2l2120fkj3wjhijj8b67plgpqrcw1kpp9";
+ version = "2.0.1.0";
+ sha256 = "0j3np8b24kr30bc2lcrvgpnv440a0mzcksjiyf37sp6l9fml65m5";
libraryHaskellDepends = [ base dimensions easytensor vulkan-api ];
description = "Use easytensor with vulkan-api";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"easytest" = callPackage
@@ -73078,6 +74144,8 @@ self: {
];
description = "A handy tool for uploading unikernels to Amazon's EC2";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"eccrypto" = callPackage
@@ -73550,6 +74618,19 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "effect-stack" = callPackage
+ ({ mkDerivation, base, constraints, mtl, transformers }:
+ mkDerivation {
+ pname = "effect-stack";
+ version = "0.3";
+ sha256 = "08zalj8svp78ykqbf5nhd6khgygz8dplcvjd19w3hvgm08y4kxqi";
+ libraryHaskellDepends = [ base constraints mtl transformers ];
+ description = "Reducing the pain of transformer stacks with duplicated effects";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"effective-aspects" = callPackage
({ mkDerivation, base, Cabal, ghc-prim, hashtables, HUnit, mtl
, QuickCheck, test-framework, test-framework-hunit
@@ -73601,8 +74682,6 @@ self: {
libraryHaskellDepends = [ base containers newtype-generics void ];
description = "Computational Effects";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"effects-parser" = callPackage
@@ -73614,8 +74693,6 @@ self: {
libraryHaskellDepends = [ base effects ];
description = "Parser Effect for the Control.Effects Library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"effin" = callPackage
@@ -73632,28 +74709,30 @@ self: {
}) {};
"egison" = callPackage
- ({ mkDerivation, array, base, containers, criterion, deepseq
- , directory, filepath, ghc, ghc-paths, Glob, hashable, haskeline
- , HUnit, lens, mtl, parallel, parsec, process, random, regex-tdfa
- , split, test-framework, test-framework-hunit, text, transformers
- , unordered-containers, vector
+ ({ mkDerivation, alex, array, base, containers, criterion, deepseq
+ , directory, filepath, ghc, ghc-paths, Glob, happy, hashable
+ , haskeline, HUnit, mtl, optparse-applicative, parallel, parsec
+ , process, random, regex-tdfa, split, test-framework
+ , test-framework-hunit, text, transformers, unordered-containers
+ , vector
}:
mkDerivation {
pname = "egison";
- version = "3.8.1";
- sha256 = "1qr4abniwhigx2b5bjgc444r17gbn59qrmafnb1d0vn4p2872n5w";
+ version = "3.9.1";
+ sha256 = "1q4hyvr52zv2p827cvkmi4rl1d1dvrdg9bly6wykbhdv6ycbihn5";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
array base containers directory ghc ghc-paths hashable haskeline
- lens mtl parallel parsec process random regex-tdfa split text
+ mtl parallel parsec process random regex-tdfa split text
transformers unordered-containers vector
];
+ libraryToolDepends = [ alex happy ];
executableHaskellDepends = [
array base containers directory filepath ghc ghc-paths haskeline
- mtl parsec process regex-tdfa text transformers
- unordered-containers vector
+ mtl optparse-applicative parsec process regex-tdfa text
+ transformers unordered-containers vector
];
testHaskellDepends = [
base filepath Glob HUnit mtl test-framework test-framework-hunit
@@ -73664,6 +74743,8 @@ self: {
];
description = "Programming language with non-linear pattern-matching against non-free data";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"egison-quote" = callPackage
@@ -73816,12 +74897,13 @@ self: {
}) {};
"either-both" = callPackage
- ({ mkDerivation, base }:
+ ({ mkDerivation, base, smallcheck, tasty, tasty-smallcheck }:
mkDerivation {
pname = "either-both";
- version = "0.1.0.0";
- sha256 = "1lbvahbbmhz6cazl5s4wkf66h1l20cg7380g027h53v5pjpvpdpl";
+ version = "0.1.1.1";
+ sha256 = "1cm6g0wvwqlm405y8svv2fi49kpxqs7hffwd4gnsvlk2rfxng93f";
libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base smallcheck tasty tasty-smallcheck ];
description = "Either or both";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -73930,6 +75012,8 @@ self: {
];
description = "An ekg backend for Amazon Cloudwatch";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ekg-core" = callPackage
@@ -74213,18 +75297,6 @@ self: {
}) {};
"elf" = callPackage
- ({ mkDerivation, base, binary, bytestring, containers, hspec }:
- mkDerivation {
- pname = "elf";
- version = "0.29";
- sha256 = "1b4g98fk1p8mk0zdh6fwzm3vnzcrhvpysx4g4ahcbgbr4bqhjra2";
- libraryHaskellDepends = [ base binary bytestring ];
- testHaskellDepends = [ base bytestring containers hspec ];
- description = "An Elf parser";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "elf_0_30" = callPackage
({ mkDerivation, base, binary, bytestring, containers, hspec }:
mkDerivation {
pname = "elf";
@@ -74234,7 +75306,6 @@ self: {
testHaskellDepends = [ base bytestring containers hspec ];
description = "An Elf parser";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"eliminators" = callPackage
@@ -74255,6 +75326,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "eliminators_0_6" = callPackage
+ ({ mkDerivation, base, extra, hspec, hspec-discover, singleton-nats
+ , singletons, template-haskell, th-abstraction, th-desugar
+ }:
+ mkDerivation {
+ pname = "eliminators";
+ version = "0.6";
+ sha256 = "1mxjp2ygf72k3yaiqpfi4lrmhwhx69zkm5kznrb6wainw5r6h0if";
+ libraryHaskellDepends = [
+ base extra singleton-nats singletons template-haskell
+ th-abstraction th-desugar
+ ];
+ testHaskellDepends = [ base hspec singleton-nats singletons ];
+ testToolDepends = [ hspec-discover ];
+ description = "Dependently typed elimination functions using singletons";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"elision" = callPackage
({ mkDerivation, base, profunctors }:
mkDerivation {
@@ -74271,14 +75361,41 @@ self: {
broken = true;
}) {};
+ "elliptic-curve" = callPackage
+ ({ mkDerivation, arithmoi, base, criterion, galois-field
+ , MonadRandom, protolude, tasty, tasty-hunit, tasty-quickcheck
+ , text, wl-pprint-text
+ }:
+ mkDerivation {
+ pname = "elliptic-curve";
+ version = "0.2.2";
+ sha256 = "082q01xqfqa73c0wasmh8v0hgf76gsfg8jzd78n9vgrp69zali1n";
+ libraryHaskellDepends = [
+ base galois-field MonadRandom protolude tasty-quickcheck text
+ wl-pprint-text
+ ];
+ testHaskellDepends = [
+ arithmoi base galois-field MonadRandom protolude tasty tasty-hunit
+ tasty-quickcheck text wl-pprint-text
+ ];
+ benchmarkHaskellDepends = [
+ base criterion galois-field MonadRandom protolude tasty-quickcheck
+ text wl-pprint-text
+ ];
+ description = "Elliptic curve library";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"elm-bridge" = callPackage
({ mkDerivation, aeson, base, containers, hspec, QuickCheck
, template-haskell, text
}:
mkDerivation {
pname = "elm-bridge";
- version = "0.5.1";
- sha256 = "0d9544s892rhy0dkhzz6w3nryhbl26yahs4k1nkpgdqsxsnv4rvn";
+ version = "0.5.2";
+ sha256 = "1ls4c4lrjbmms1kcaz88nnxn3ih3wbx51adjggbvyvfj52bc5cvp";
libraryHaskellDepends = [ aeson base template-haskell ];
testHaskellDepends = [
aeson base containers hspec QuickCheck text
@@ -74593,6 +75710,30 @@ self: {
license = stdenv.lib.licenses.mpl20;
}) {};
+ "elm-street_0_1_0_1" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, directory, filepath
+ , hspec, prettyprinter, servant, servant-server, text, time, wai
+ , warp
+ }:
+ mkDerivation {
+ pname = "elm-street";
+ version = "0.1.0.1";
+ sha256 = "1n02bxyva732dbnrzc6n6v8rsgpbjb6ndh4szwqj8zckj694mc77";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base directory filepath prettyprinter text time
+ ];
+ executableHaskellDepends = [
+ base directory filepath servant servant-server text wai warp
+ ];
+ testHaskellDepends = [ aeson base bytestring hspec ];
+ doHaddock = false;
+ description = "Crossing the road between Haskell and Elm";
+ license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"elm-websocket" = callPackage
({ mkDerivation, aeson, base, bytestring, concurrent-extra
, containers, directory, formatting, hspec, http-types, lens, mtl
@@ -74664,6 +75805,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "elminator" = callPackage
+ ({ mkDerivation, aeson, base, containers, mtl, template-haskell
+ , text
+ }:
+ mkDerivation {
+ pname = "elminator";
+ version = "0.2.4.1";
+ sha256 = "0b8xn26k2pmb7m5v6yn1l2kv4fv94qjl7k8563zq2aqkrfwdm068";
+ libraryHaskellDepends = [
+ aeson base containers mtl template-haskell text
+ ];
+ testHaskellDepends = [
+ aeson base containers mtl template-haskell text
+ ];
+ description = "Generate ELM types/encoders/decoders from Haskell types";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"elo" = callPackage
({ mkDerivation, base, tasty }:
mkDerivation {
@@ -74867,8 +76026,6 @@ self: {
];
description = "Perform basic syntax and deliverability checks on email addresses";
license = stdenv.lib.licenses.agpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"emailaddress" = callPackage
@@ -74978,24 +76135,28 @@ self: {
}) {};
"emd" = callPackage
- ({ mkDerivation, base, binary, containers, data-default-class
- , finite-typelits, ghc-typelits-knownnat, ghc-typelits-natnormalise
- , HUnit, transformers, typelits-witnesses, vector, vector-sized
+ ({ mkDerivation, base, binary, containers, criterion
+ , data-default-class, deepseq, finite-typelits
+ , ghc-typelits-knownnat, ghc-typelits-natnormalise, HUnit
+ , mwc-random, statistics, transformers, typelits-witnesses, vector
+ , vector-sized
}:
mkDerivation {
pname = "emd";
- version = "0.1.4.0";
- sha256 = "0mrkyy6fn4jsy6h4acqjkkq1bvp7c8yjpw5zyk9ycnk2izb7a9zw";
+ version = "0.1.5.1";
+ sha256 = "06ii6yw9612dq3ryfv2n7yk5wic3lc3kyvmvbj19wwicwc7315bf";
libraryHaskellDepends = [
- base binary containers data-default-class finite-typelits
+ base binary containers data-default-class deepseq finite-typelits
ghc-typelits-knownnat ghc-typelits-natnormalise transformers
typelits-witnesses vector vector-sized
];
testHaskellDepends = [ base containers HUnit ];
+ benchmarkHaskellDepends = [
+ base criterion deepseq ghc-typelits-knownnat mwc-random statistics
+ vector vector-sized
+ ];
description = "Empirical Mode Decomposition and Hilbert-Huang Transform";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"emgm" = callPackage
@@ -75068,6 +76229,8 @@ self: {
testHaskellDepends = [ base ];
description = "Binding to the Enchant library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {inherit (pkgs) enchant;};
"enclosed-exceptions" = callPackage
@@ -75125,8 +76288,6 @@ self: {
testHaskellDepends = [ base bytestring HUnit QuickCheck ];
description = "A library for various character encodings";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"encoding-io" = callPackage
@@ -75245,8 +76406,8 @@ self: {
}:
mkDerivation {
pname = "engine-io-wai";
- version = "1.0.9";
- sha256 = "1zdin34gfi2059n1wjfxs4i2kfc0r53f3wpwhjd0fbp0as56h94s";
+ version = "1.0.10";
+ sha256 = "07vjjb7d5ndv8cailnrv5qif0d3kmi09bq1s38hwjyp5ml8dlfis";
libraryHaskellDepends = [
attoparsec base bytestring either engine-io http-types mtl text
transformers transformers-compat unordered-containers wai
@@ -75254,8 +76415,6 @@ self: {
];
description = "An @engine-io@ @ServerAPI@ that is compatible with @Wai@";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"engine-io-yesod" = callPackage
@@ -75311,10 +76470,8 @@ self: {
}:
mkDerivation {
pname = "entropy";
- version = "0.4.1.4";
- sha256 = "1fgf47l9klwn1xssbcbq6by651vikd8hlfxhiwd5bqzxr1jnlgrf";
- revision = "1";
- editedCabalFile = "0h9wvpq4hw5ipn15ni0qdsrssjil0m59wm4l5hl607l3w2lif864";
+ version = "0.4.1.5";
+ sha256 = "0szf8hi1pi8g0kxnkcymh65gk1b0niyl1nnkckzdqyar87qal0jm";
setupHaskellDepends = [ base Cabal directory filepath process ];
libraryHaskellDepends = [ base bytestring unix ];
description = "A platform independent entropy source";
@@ -75374,8 +76531,8 @@ self: {
}:
mkDerivation {
pname = "enum-text";
- version = "0.5.0.0";
- sha256 = "0yg7rkbw1swr1mwkkkybrbs9prx1jj72af4rsx7jcb1zpzzarfs4";
+ version = "0.5.1.0";
+ sha256 = "0v48hmxbpzjpclg1q0avrc1dp4giglbxy2rkqnbj4f0sprp03kff";
libraryHaskellDepends = [
array base bytestring fmt hashable possibly text time
unordered-containers
@@ -75384,6 +76541,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "enum-text-rio" = callPackage
+ ({ mkDerivation, base, bytestring, enum-text, fmt, rio, text }:
+ mkDerivation {
+ pname = "enum-text-rio";
+ version = "1.2.0.0";
+ sha256 = "0cz91i1m9ibphlm153i23i03nhx41bca398hkfzf9hq904ziarna";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base bytestring enum-text fmt rio text ];
+ executableHaskellDepends = [
+ base bytestring enum-text fmt rio text
+ ];
+ description = "Making fmt available with rio";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"enum-types" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -75575,8 +76748,8 @@ self: {
}:
mkDerivation {
pname = "enummapset";
- version = "0.6.0.1";
- sha256 = "0nljpb5fxk4piwl5mh1v23ps9bzhxxcybfhd8mmb66k20gxxxf7q";
+ version = "0.6.0.2";
+ sha256 = "0476rzarcfpp4qm4qsz6wdnhr11nlfhqgrnbni591kbmngqlld1v";
libraryHaskellDepends = [ base containers deepseq semigroups ];
testHaskellDepends = [
array base containers deepseq ghc-prim HUnit QuickCheck semigroups
@@ -75584,8 +76757,6 @@ self: {
];
description = "IntMap and IntSet with Enum keys/elements";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"enummapset-th" = callPackage
@@ -75610,8 +76781,8 @@ self: {
}:
mkDerivation {
pname = "enumset";
- version = "0.0.4.1";
- sha256 = "0m6ha4m9hvmzkgnwani3z3vgcllzgv6n578g56x4sb9bgxgi37az";
+ version = "0.0.5";
+ sha256 = "0d9lnl7mmcwydfhb4iazh6gcdbxvdh7b3gar3c9l1k5xmc4r8qii";
libraryHaskellDepends = [
base data-accessor semigroups storable-record
];
@@ -75705,8 +76876,8 @@ self: {
}:
mkDerivation {
pname = "envy";
- version = "1.5.1.0";
- sha256 = "1r2181n5ayww1ycg7vvz5pp5cyxs6asljf4kir7g80qnj2wwpjid";
+ version = "2.0.0.0";
+ sha256 = "0l3rg9kvx5pp8ly1wl86g0nfp4161vdbf1cavpm2s84hahq9wg0z";
libraryHaskellDepends = [
base bytestring containers mtl text time transformers
];
@@ -75951,21 +77122,19 @@ self: {
"equivalence" = callPackage
({ mkDerivation, base, containers, fail, mtl, QuickCheck
- , STMonadTrans, template-haskell, test-framework
- , test-framework-quickcheck2, transformers, transformers-compat
+ , STMonadTrans, template-haskell, transformers, transformers-compat
}:
mkDerivation {
pname = "equivalence";
- version = "0.3.4";
- sha256 = "02s24624xnwq790mip5pj6828an36j8jbdj5kvx9bv5a7ap3vzn1";
+ version = "0.3.5";
+ sha256 = "167njzd1cf32aa7br90rjafrxy6hw3fxkk8awifqbxjrcwm5maqp";
libraryHaskellDepends = [
base containers fail mtl STMonadTrans transformers
transformers-compat
];
testHaskellDepends = [
base containers fail mtl QuickCheck STMonadTrans template-haskell
- test-framework test-framework-quickcheck2 transformers
- transformers-compat
+ transformers transformers-compat
];
description = "Maintaining an equivalence relation implemented as union-find using STT";
license = stdenv.lib.licenses.bsd3;
@@ -76308,36 +77477,8 @@ self: {
}:
mkDerivation {
pname = "ersatz";
- version = "0.4.5";
- sha256 = "14hk7fvwxhh080flwc3l4wqv4r3c8bf6vcbvfnnvnzj4k3s9ssia";
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- array attoparsec base bytestring containers data-default lens mtl
- process semigroups temporary transformers unordered-containers
- ];
- executableHaskellDepends = [
- array base containers fail lens mtl parsec semigroups
- ];
- testHaskellDepends = [ array base directory doctest filepath mtl ];
- description = "A monad for expressing SAT or QSAT problems using observable sharing";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "ersatz_0_4_6" = callPackage
- ({ mkDerivation, array, attoparsec, base, bytestring, Cabal
- , cabal-doctest, containers, data-default, directory, doctest, fail
- , filepath, lens, mtl, parsec, process, semigroups, temporary
- , transformers, unordered-containers
- }:
- mkDerivation {
- pname = "ersatz";
- version = "0.4.6";
- sha256 = "0h99i04690c7f1zpkzbh31p641nmxyj7grisxw5yaavdbinagmvq";
+ version = "0.4.7";
+ sha256 = "0kddsh02yrpn7xack6xcs0c93hmf4gkmh56zip2n6q7j0xgdrl6d";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -76567,8 +77708,8 @@ self: {
}:
mkDerivation {
pname = "esqueleto";
- version = "2.6.0";
- sha256 = "1asbvcjmbyd44rfs8a645cvfqmf95b6hnb3l7lqd56kv32km69nn";
+ version = "3.0.0";
+ sha256 = "187c098h2xyf2nhifkdy2bqfl6iap7a93mzwd2kirl5yyicpc9zy";
libraryHaskellDepends = [
base blaze-html bytestring conduit monad-logger persistent
resourcet tagged text time transformers unliftio
@@ -76585,29 +77726,29 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "esqueleto_3_0_0" = callPackage
- ({ mkDerivation, base, blaze-html, bytestring, conduit, containers
- , hspec, monad-logger, mysql, mysql-simple, persistent
- , persistent-mysql, persistent-postgresql, persistent-sqlite
- , persistent-template, postgresql-libpq, postgresql-simple
- , resourcet, tagged, text, time, transformers, unliftio
- , unordered-containers
+ "esqueleto_3_1_0" = callPackage
+ ({ mkDerivation, aeson, base, blaze-html, bytestring, conduit
+ , containers, exceptions, hspec, monad-logger, mysql, mysql-simple
+ , persistent, persistent-mysql, persistent-postgresql
+ , persistent-sqlite, persistent-template, postgresql-libpq
+ , postgresql-simple, resourcet, tagged, text, time, transformers
+ , unliftio, unordered-containers, vector
}:
mkDerivation {
pname = "esqueleto";
- version = "3.0.0";
- sha256 = "187c098h2xyf2nhifkdy2bqfl6iap7a93mzwd2kirl5yyicpc9zy";
+ version = "3.1.0";
+ sha256 = "0x3hrh5ymv19l52634q18hsmxjranngc32ig6b2lbd5lz8d6iigy";
libraryHaskellDepends = [
- base blaze-html bytestring conduit monad-logger persistent
+ aeson base blaze-html bytestring conduit monad-logger persistent
resourcet tagged text time transformers unliftio
unordered-containers
];
testHaskellDepends = [
- base blaze-html bytestring conduit containers hspec monad-logger
- mysql mysql-simple persistent persistent-mysql
+ aeson base blaze-html bytestring conduit containers exceptions
+ hspec monad-logger mysql mysql-simple persistent persistent-mysql
persistent-postgresql persistent-sqlite persistent-template
postgresql-libpq postgresql-simple resourcet tagged text time
- transformers unliftio unordered-containers
+ transformers unliftio unordered-containers vector
];
description = "Type-safe EDSL for SQL queries on persistent backends";
license = stdenv.lib.licenses.bsd3;
@@ -76627,6 +77768,74 @@ self: {
broken = true;
}) {};
+ "essence-of-live-coding" = callPackage
+ ({ mkDerivation, base, foreign-store, QuickCheck, syb
+ , test-framework, test-framework-quickcheck2, transformers
+ , vector-sized
+ }:
+ mkDerivation {
+ pname = "essence-of-live-coding";
+ version = "0.1.0.1";
+ sha256 = "0804zqbl2w8cvj4n9y2qx9wdmigmw56fxdzkqrw6x2szl2qvsfjz";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base foreign-store syb transformers vector-sized
+ ];
+ executableHaskellDepends = [ base transformers ];
+ testHaskellDepends = [
+ base QuickCheck syb test-framework test-framework-quickcheck2
+ ];
+ description = "General purpose live coding framework";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "essence-of-live-coding-gloss" = callPackage
+ ({ mkDerivation, base, essence-of-live-coding, foreign-store, gloss
+ , syb, transformers
+ }:
+ mkDerivation {
+ pname = "essence-of-live-coding-gloss";
+ version = "0.1.0.1";
+ sha256 = "0716mwww68x8v2r6fz6ah8m26w5h98kgd662rirh56nmwr219zk5";
+ libraryHaskellDepends = [
+ base essence-of-live-coding foreign-store gloss syb transformers
+ ];
+ description = "General purpose live coding framework - Gloss backend";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "essence-of-live-coding-pulse" = callPackage
+ ({ mkDerivation, base, essence-of-live-coding, foreign-store
+ , pulse-simple, transformers
+ }:
+ mkDerivation {
+ pname = "essence-of-live-coding-pulse";
+ version = "0.1.0.1";
+ sha256 = "18f6wrq5ar14yb44yl6m8xfi9c721yywl4gzwcrx65n6wn3h16va";
+ libraryHaskellDepends = [
+ base essence-of-live-coding foreign-store pulse-simple transformers
+ ];
+ description = "General purpose live coding framework - pulse backend";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "essence-of-live-coding-quickcheck" = callPackage
+ ({ mkDerivation, base, boltzmann-samplers, essence-of-live-coding
+ , QuickCheck, syb, transformers
+ }:
+ mkDerivation {
+ pname = "essence-of-live-coding-quickcheck";
+ version = "0.1.0.1";
+ sha256 = "0wkffsy3jxz85lxlbppi477wkzlx2zvxmjc70rgf8bjw8s631a22";
+ libraryHaskellDepends = [
+ base boltzmann-samplers essence-of-live-coding QuickCheck syb
+ transformers
+ ];
+ description = "General purpose live coding framework - QuickCheck integration";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"estimator" = callPackage
({ mkDerivation, ad, base, distributive, lens, linear, reflection
}:
@@ -77054,6 +78263,8 @@ self: {
];
description = "Euler tour trees";
license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"euphoria" = callPackage
@@ -77375,6 +78586,30 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "eventlog2html" = callPackage
+ ({ mkDerivation, aeson, array, attoparsec, base, blaze-html
+ , bytestring, containers, file-embed, filepath, ghc-events
+ , hashtables, hvega, mtl, optparse-applicative, semigroups, text
+ , time, vector
+ }:
+ mkDerivation {
+ pname = "eventlog2html";
+ version = "0.3.0";
+ sha256 = "1vg94x1f5wh20dvnqil3b3ipd8kajyplv7sv9f7zmrl73m5cgg9s";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson array attoparsec base blaze-html bytestring containers
+ file-embed filepath ghc-events hashtables hvega mtl
+ optparse-applicative semigroups text time vector
+ ];
+ executableHaskellDepends = [ aeson base filepath text ];
+ description = "Visualise an eventlog";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"eventloop" = callPackage
({ mkDerivation, aeson, base, bytestring, concurrent-utilities
, deepseq, network, stm, suspend, text, timers, websockets
@@ -77389,8 +78624,6 @@ self: {
];
description = "A different take on an IO system. Based on Amanda's IO loop, this eventloop takes a function that maps input events to output events. It can easily be extended by modules that represent IO devices or join multiple modules together.";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"eventsource-api" = callPackage
@@ -77452,6 +78685,8 @@ self: {
];
description = "Provides common test specification for Store implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"eventsource-stub-store" = callPackage
@@ -77473,6 +78708,8 @@ self: {
];
description = "An in-memory stub store implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"eventsourced" = callPackage
@@ -77497,43 +78734,6 @@ self: {
}) {};
"eventstore" = callPackage
- ({ mkDerivation, aeson, array, async, base, bifunctors, bytestring
- , cereal, clock, connection, containers, dns, dotnet-timespan
- , ekg-core, exceptions, fast-logger, file-embed, hashable
- , http-client, interpolate, lifted-async, lifted-base, machines
- , monad-control, monad-logger, mono-traversable, mtl, protobuf
- , random, safe, safe-exceptions, semigroups, stm, stm-chans
- , streaming, tasty, tasty-hspec, tasty-hunit, text, time
- , transformers-base, unordered-containers, uuid, vector
- }:
- mkDerivation {
- pname = "eventstore";
- version = "1.2.4";
- sha256 = "057nxlq78v3fzby9b0506gb85rlsv3j7q98y5asnv92n5i2barxm";
- libraryHaskellDepends = [
- aeson array base bifunctors bytestring cereal clock connection
- containers dns dotnet-timespan ekg-core exceptions fast-logger
- hashable http-client interpolate lifted-async lifted-base machines
- monad-control monad-logger mono-traversable mtl protobuf random
- safe safe-exceptions semigroups stm stm-chans streaming text time
- transformers-base unordered-containers uuid vector
- ];
- testHaskellDepends = [
- aeson async base bytestring cereal connection containers
- dotnet-timespan exceptions fast-logger file-embed hashable
- lifted-async lifted-base monad-control mono-traversable protobuf
- safe safe-exceptions semigroups stm stm-chans streaming tasty
- tasty-hspec tasty-hunit text time transformers-base
- unordered-containers uuid vector
- ];
- description = "EventStore TCP Client";
- license = stdenv.lib.licenses.bsd3;
- platforms = [ "x86_64-darwin" "x86_64-linux" ];
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "eventstore_1_3_0" = callPackage
({ mkDerivation, aeson, array, async, base, bifunctors, bytestring
, cereal, clock, connection, containers, dns, dotnet-timespan
, ekg-core, exceptions, fast-logger, file-embed, hashable
@@ -77731,8 +78931,6 @@ self: {
libraryHaskellDepends = [ base template-haskell ];
description = "Exception type hierarchy with TemplateHaskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"exception-mailer" = callPackage
@@ -77830,8 +79028,8 @@ self: {
}:
mkDerivation {
pname = "exceptions";
- version = "0.10.2";
- sha256 = "0ajiq47xd1paingr7kksh69v6d072zsppfr6cy1gzjh3zg5jr34i";
+ version = "0.10.3";
+ sha256 = "1w25j4ys5s6v239vbqlbipm9fdwxl1j2ap2lzms7f7rgnik5ir24";
libraryHaskellDepends = [
base mtl stm template-haskell transformers transformers-compat
];
@@ -78202,10 +79400,8 @@ self: {
}:
mkDerivation {
pname = "exitcode";
- version = "0.1.0.1";
- sha256 = "1h4qv29g59dxwsb2i4qrnf2f96xsmzngc9rnrqfkh8nkkcr71br5";
- revision = "2";
- editedCabalFile = "0g30lnsl947bsxcw53swl0vv3qg8c7vqf8axpdnhl28mdrxa0ax9";
+ version = "0.1.0.2";
+ sha256 = "1w3m5ib952kiyw85ysj049v01qzc8p8mlmn9mxsm1h0x0a5axf3y";
libraryHaskellDepends = [
base lens mmorph mtl semigroupoids semigroups transformers
];
@@ -78399,6 +79595,8 @@ self: {
pname = "explicit-constraint-lens";
version = "0.1.0.0";
sha256 = "181frvmgv65rcjpiya4gswvpq9ahz97c8lalhgmwknx9jx5nqd98";
+ revision = "1";
+ editedCabalFile = "06mj6zxj1l439g6l5ibrxbsr6ff2c199i3dlf0k1yxjck1dfblv4";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base tasty tasty-hunit ];
description = "Fully-flexible polymorphic lenses, without any bizarre profunctors";
@@ -78421,19 +79619,6 @@ self: {
}) {};
"explicit-exception" = callPackage
- ({ mkDerivation, base, deepseq, semigroups, transformers }:
- mkDerivation {
- pname = "explicit-exception";
- version = "0.1.9.2";
- sha256 = "1xj9fqh28br5xyzzc28zl23jj913ayhikvwcw9ccj3pqfybh5xk0";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ base deepseq semigroups transformers ];
- description = "Exceptions which are explicit in the type signature";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "explicit-exception_0_1_10" = callPackage
({ mkDerivation, base, deepseq, semigroups, transformers }:
mkDerivation {
pname = "explicit-exception";
@@ -78444,7 +79629,6 @@ self: {
libraryHaskellDepends = [ base deepseq semigroups transformers ];
description = "Exceptions which are explicit in the type signature";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"explicit-iomodes" = callPackage
@@ -78538,6 +79722,19 @@ self: {
broken = true;
}) {};
+ "express" = callPackage
+ ({ mkDerivation, base, leancheck, template-haskell }:
+ mkDerivation {
+ pname = "express";
+ version = "0.1.2";
+ sha256 = "0i6dh1kpadhh4faanmkszdq1bbsdyl2ngbyrwv7pb8kb3wqc4y6y";
+ libraryHaskellDepends = [ base template-haskell ];
+ testHaskellDepends = [ base leancheck ];
+ benchmarkHaskellDepends = [ base leancheck ];
+ description = "Dynamically-typed expressions involving applications and variables";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"expression-parser" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -78564,8 +79761,6 @@ self: {
testHaskellDepends = [ base singletons text ];
description = "Expressions and Formulae a la carte";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"expressions-z3" = callPackage
@@ -78659,6 +79854,18 @@ self: {
broken = true;
}) {};
+ "extend-record-data-th" = callPackage
+ ({ mkDerivation, attoparsec, base, template-haskell, text }:
+ mkDerivation {
+ pname = "extend-record-data-th";
+ version = "0.1.0.2";
+ sha256 = "1gy730iic17hiiqf08j4riz1086wpz6iv7i5carc04mi39zdjf4h";
+ libraryHaskellDepends = [ attoparsec base template-haskell text ];
+ testHaskellDepends = [ attoparsec base template-haskell text ];
+ description = "TH to define a new record data type that extends the existing record data type";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"extended-categories" = callPackage
({ mkDerivation, base, constraints, ghc-prim, tagged }:
mkDerivation {
@@ -78680,8 +79887,8 @@ self: {
pname = "extended-reals";
version = "0.2.3.0";
sha256 = "170nxxza6lkczh05qi2qxr8nbr3gmdjpfvl1m703gjq9xwrwg2kw";
- revision = "3";
- editedCabalFile = "0v80m6cnpx1d43cfykz5jbiqkk7l51vmrd48sb8s1h8f2pp9v3dq";
+ revision = "4";
+ editedCabalFile = "1gzi55w9kpfg51njyi3a28n7nc64chzgnv76m3xyrz7z0gbri93q";
libraryHaskellDepends = [ base deepseq hashable ];
testHaskellDepends = [
base deepseq HUnit QuickCheck tasty tasty-hunit tasty-quickcheck
@@ -78692,22 +79899,23 @@ self: {
}) {};
"extensible" = callPackage
- ({ mkDerivation, aeson, base, bytestring, cassava, comonad
+ ({ mkDerivation, aeson, barbies, base, bytestring, cassava, comonad
, constraints, deepseq, exceptions, ghc-prim, hashable, lens
- , monad-skeleton, mtl, prettyprinter, primitive, profunctors
- , QuickCheck, resourcet, StateVar, tagged, template-haskell, text
- , th-lift, transformers, unordered-containers, vector
+ , membership, monad-skeleton, mtl, prettyprinter, primitive
+ , profunctors, QuickCheck, resourcet, StateVar, tagged
+ , template-haskell, text, th-lift, transformers
+ , unordered-containers, vector
}:
mkDerivation {
pname = "extensible";
- version = "0.5";
- sha256 = "1nsidp8rb3fnkybirgql2ij1vwjzsy2da3qp8abjb1g8aj50ih14";
+ version = "0.6.1";
+ sha256 = "1h96kn622qyx27xap79ywq4kx4q82x4b3kxviakhqwxlvf2sklg2";
libraryHaskellDepends = [
- aeson base bytestring cassava comonad constraints deepseq
- exceptions ghc-prim hashable monad-skeleton mtl prettyprinter
- primitive profunctors QuickCheck resourcet StateVar tagged
- template-haskell text th-lift transformers unordered-containers
- vector
+ aeson barbies base bytestring cassava comonad constraints deepseq
+ exceptions ghc-prim hashable membership monad-skeleton mtl
+ prettyprinter primitive profunctors QuickCheck resourcet StateVar
+ tagged template-haskell text th-lift transformers
+ unordered-containers vector
];
testHaskellDepends = [ base lens QuickCheck template-haskell ];
description = "Extensible, efficient, optics-friendly data types and effects";
@@ -78757,32 +79965,31 @@ self: {
}) {};
"extensible-effects-concurrent" = callPackage
- ({ mkDerivation, async, base, bytestring, containers, data-default
- , deepseq, directory, exceptions, extensible-effects, filepath
- , hostname, HUnit, lens, monad-control, mtl, network, parallel
- , pretty-types, process, QuickCheck, safe-exceptions, stm, tasty
- , tasty-discover, tasty-hunit, text, time, transformers-base
+ ({ mkDerivation, async, base, containers, data-default, deepseq
+ , directory, exceptions, extensible-effects, filepath, hashable
+ , hostname, HUnit, lens, monad-control, mtl, network, pretty-types
+ , QuickCheck, safe-exceptions, stm, tasty, tasty-discover
+ , tasty-hunit, text, time, transformers-base
}:
mkDerivation {
pname = "extensible-effects-concurrent";
- version = "0.23.0";
- sha256 = "0lyhkpds8j8b6vb9sk4ibad8a36zanfdq59mg1kiasxx6wmy20v5";
+ version = "0.32.0";
+ sha256 = "1zipam9jac1bj4fkzihgh0hasiwgpycidhvxb0b2b0q7ic18487a";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- async base bytestring containers data-default deepseq directory
- exceptions extensible-effects filepath hostname lens monad-control
- mtl network parallel pretty-types process QuickCheck
- safe-exceptions stm text time transformers-base
+ async base containers data-default deepseq directory exceptions
+ extensible-effects filepath hashable hostname lens monad-control
+ mtl network pretty-types safe-exceptions stm text time
+ transformers-base
];
executableHaskellDepends = [
- base data-default deepseq directory extensible-effects filepath
- lens pretty-types text
+ base data-default deepseq extensible-effects lens pretty-types text
];
testHaskellDepends = [
async base containers data-default deepseq extensible-effects
- filepath hostname HUnit lens pretty-types QuickCheck stm tasty
- tasty-discover tasty-hunit text time
+ filepath hostname HUnit lens monad-control pretty-types QuickCheck
+ stm tasty tasty-discover tasty-hunit text time
];
testToolDepends = [ tasty-discover ];
description = "Message passing concurrency as extensible-effect";
@@ -78832,8 +80039,8 @@ self: {
}:
mkDerivation {
pname = "extra";
- version = "1.6.15";
- sha256 = "1kbx15x1y6mdzydm4apizym89in4dd71imwk239ywyg27hl8f4gv";
+ version = "1.6.18";
+ sha256 = "0jvd4l0hi8pf5899pxc32yc638y0mrc357w0rph99k3hm277i0cy";
libraryHaskellDepends = [
base clock directory filepath process semigroups time unix
];
@@ -78908,6 +80115,8 @@ self: {
];
description = "API Client for ExtraLife team and user data";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"extrapolate" = callPackage
@@ -78924,6 +80133,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "extrapolate_0_4_1" = callPackage
+ ({ mkDerivation, base, express, leancheck, speculate
+ , template-haskell
+ }:
+ mkDerivation {
+ pname = "extrapolate";
+ version = "0.4.1";
+ sha256 = "1rhwgbx8skq8hl1h5hnv28qavy3v1p71vdlib1kwbdp1r7niwp8l";
+ libraryHaskellDepends = [
+ base express leancheck speculate template-haskell
+ ];
+ testHaskellDepends = [ base express leancheck speculate ];
+ description = "generalize counter-examples of test properties";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ez-couch" = callPackage
({ mkDerivation, aeson, attoparsec, attoparsec-conduit, base
, blaze-builder, bytestring, classy-prelude, classy-prelude-conduit
@@ -78964,6 +80190,17 @@ self: {
broken = true;
}) {};
+ "f-algebra-gen" = callPackage
+ ({ mkDerivation, base, template-haskell }:
+ mkDerivation {
+ pname = "f-algebra-gen";
+ version = "0.1.0.2";
+ sha256 = "1vxhfr4wqm2bclnq15lp4q496w3916ll9chj6mcqbn0r64bmmkn8";
+ libraryHaskellDepends = [ base template-haskell ];
+ description = "Generate a special f-algebra combinator from any data type";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"f-ree-hack-cheats-free-v-bucks-generator" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -79000,8 +80237,8 @@ self: {
}:
mkDerivation {
pname = "factory";
- version = "0.3.2.0";
- sha256 = "1ihyqs8b2rgxny69iqaxh55a2pkamp4mb4i3gcy9c6pphjrbmyz3";
+ version = "0.3.2.1";
+ sha256 = "1vz273vni9335py69nlc2g92gkvy13rkfa238116g83qjjcx8w1f";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -79227,8 +80464,6 @@ self: {
testHaskellDepends = [ base hspec random text time ];
description = "Randomly generated fake data";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"fake-type" = callPackage
@@ -79252,8 +80487,8 @@ self: {
}:
mkDerivation {
pname = "fakedata";
- version = "0.2.1";
- sha256 = "11dsj2b1dyg6hdjhj3l7q04w896mrc32zkn1zkj2l032zlbwi44n";
+ version = "0.2.2";
+ sha256 = "11gsshxd23inh6lb3rbs0fkmh83ivffxdlcqrxsfi0ymdmzha3rr";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bytestring containers directory exceptions filepath random
@@ -79272,8 +80507,8 @@ self: {
({ mkDerivation, base, containers, hspec, mtl, QuickCheck }:
mkDerivation {
pname = "fakefs";
- version = "0.2.0.0";
- sha256 = "0r20w8grmcfr5vwh8j2kfg9lm9pkcq9cvgnrw1sj2vi38s96icwx";
+ version = "0.2.0.1";
+ sha256 = "0szdjrc4m87h9dsb7qg5rpp5avnyzv47mymyihgvmxc22wiyf1c1";
libraryHaskellDepends = [ base containers mtl ];
testHaskellDepends = [ base containers hspec QuickCheck ];
description = "Extensible fake file system for testing";
@@ -79423,8 +80658,8 @@ self: {
}:
mkDerivation {
pname = "fast-builder";
- version = "0.1.0.1";
- sha256 = "0ykl1s29kma3bxvv1jfi7q8yv9vmbn1lsrfyn7axgi51j4g06x32";
+ version = "0.1.1.0";
+ sha256 = "024n5q1zsmd1va662sjdnc42w4qj6pmqg64fsfcn0jx5zvmg62d9";
libraryHaskellDepends = [ base bytestring ghc-prim ];
testHaskellDepends = [ base bytestring process QuickCheck stm ];
benchmarkHaskellDepends = [
@@ -79496,8 +80731,10 @@ self: {
}:
mkDerivation {
pname = "fast-logger";
- version = "2.4.15";
- sha256 = "1mf2awyvc336wmcjr7v99zvx6spz8fw5xzpn19x0fldy33dr89yf";
+ version = "2.4.17";
+ sha256 = "02mxb1ckvx1s2r2m11l5i2l5rdl7232p0f61af6773haykjp0qxk";
+ revision = "1";
+ editedCabalFile = "1yv4f6pbrgqqhc0z3chhjrzz1gs7idrmcbvmbl8pfyn547ci6brb";
libraryHaskellDepends = [
array auto-update base bytestring directory easy-file filepath text
unix-compat unix-time
@@ -79720,8 +80957,6 @@ self: {
benchmarkHaskellDepends = [ base bytestring criterion ];
description = "A fast, but bare bones, bytestring parser combinators library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"fastpbkdf2" = callPackage
@@ -79986,24 +81221,21 @@ self: {
}) {};
"fb" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, base16-bytestring
- , base64-bytestring, bytestring, cereal, conduit, conduit-extra
- , containers, crypto-api, cryptohash, cryptohash-cryptoapi
- , data-default, hspec, http-client, http-conduit, http-types, HUnit
- , monad-logger, old-locale, QuickCheck, resourcet, text, time
- , transformers, transformers-base, unliftio, unliftio-core
- , unordered-containers
+ ({ mkDerivation, aeson, attoparsec, base, bytestring, conduit
+ , conduit-extra, containers, cryptonite, data-default, hspec
+ , http-client, http-conduit, http-types, HUnit, memory
+ , monad-logger, QuickCheck, resourcet, text, time, transformers
+ , transformers-base, unliftio, unliftio-core, unordered-containers
}:
mkDerivation {
pname = "fb";
- version = "1.2.1";
- sha256 = "05ax0pd9j6c64n48r9q03k5pg2axkmv11cz6azjg7k72cfkp1mm9";
+ version = "2.0.0";
+ sha256 = "0z56cibxp5f616vamj4jm76g2n33w22zz8pc9hhs33lm5m0nlncw";
libraryHaskellDepends = [
- aeson attoparsec base base16-bytestring base64-bytestring
- bytestring cereal conduit conduit-extra crypto-api cryptohash
- cryptohash-cryptoapi data-default http-client http-conduit
- http-types monad-logger old-locale resourcet text time transformers
- transformers-base unliftio unliftio-core unordered-containers
+ aeson attoparsec base bytestring conduit conduit-extra cryptonite
+ data-default http-client http-conduit http-types memory
+ monad-logger resourcet text time transformers transformers-base
+ unliftio unliftio-core unordered-containers
];
testHaskellDepends = [
aeson base bytestring conduit containers data-default hspec
@@ -80327,23 +81559,6 @@ self: {
}) {};
"fedora-haskell-tools" = callPackage
- ({ mkDerivation, base, csv, directory, filepath, HTTP, process
- , time, unix
- }:
- mkDerivation {
- pname = "fedora-haskell-tools";
- version = "0.6";
- sha256 = "06yr6hyksdqz0nksw0m23cqik51jjr74241xx96979pvw07zcym4";
- isLibrary = false;
- isExecutable = true;
- executableHaskellDepends = [
- base csv directory filepath HTTP process time unix
- ];
- description = "Building and maintenance tools for Fedora Haskell";
- license = stdenv.lib.licenses.gpl3;
- }) {};
-
- "fedora-haskell-tools_0_8" = callPackage
({ mkDerivation, base, csv, directory, fedora-dists, filepath, HTTP
, optparse-applicative, process, simple-cmd, simple-cmd-args, split
, time, unix
@@ -80352,6 +81567,8 @@ self: {
pname = "fedora-haskell-tools";
version = "0.8";
sha256 = "03wk335dpkbcdgxqsjiavnqc43jkw8gh7y41dyfwivwd9mr32y2w";
+ revision = "1";
+ editedCabalFile = "06xak96g91krd45kvz1nscnfn4rw9gdj5xxwn8simb2vmqiy6f94";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -80361,23 +81578,24 @@ self: {
description = "Building and maintenance tools for Fedora Haskell";
license = stdenv.lib.licenses.gpl3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fedora-img-dl" = callPackage
- ({ mkDerivation, base, bytestring, directory, filepath, http-client
- , http-client-tls, http-directory, http-types, optparse-applicative
- , simple-cmd, simple-cmd-args, text, unix, xdg-userdirs
+ ({ mkDerivation, base, bytestring, directory, filepath
+ , http-directory, http-types, optparse-applicative, simple-cmd
+ , simple-cmd-args, text, unix, xdg-userdirs
}:
mkDerivation {
pname = "fedora-img-dl";
- version = "0.3";
- sha256 = "0mly2lmrirzskralw9ajywmcirmsv67gjws4dckvf1ns24cx33lw";
+ version = "0.4";
+ sha256 = "1wymwrcycyq0sf3vld4fxk57g8rdwhr0cgxpx2angdw9pjcmnyd7";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- base bytestring directory filepath http-client http-client-tls
- http-directory http-types optparse-applicative simple-cmd
- simple-cmd-args text unix xdg-userdirs
+ base bytestring directory filepath http-directory http-types
+ optparse-applicative simple-cmd simple-cmd-args text unix
+ xdg-userdirs
];
description = "Fedora image download tool";
license = stdenv.lib.licenses.gpl3;
@@ -80432,10 +81650,8 @@ self: {
}:
mkDerivation {
pname = "feed";
- version = "1.0.1.0";
- sha256 = "076krkyvbh24s50chdw3nz6w2svwchys65ppjzlm8gy42ddhbgc7";
- revision = "1";
- editedCabalFile = "10xjd3syr70g3blnjy7xvd6s21y68vxsi69f6bmizpsylbfb0245";
+ version = "1.2.0.0";
+ sha256 = "0cakrlq1ra2gwyqmdhss4clkj0xxrwy3pc4xjzgqz4w3yd1czjg7";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base base-compat bytestring old-locale old-time safe text time
@@ -80450,31 +81666,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "feed_1_1_0_0" = callPackage
- ({ mkDerivation, base, base-compat, bytestring, HUnit
- , markdown-unlit, old-locale, old-time, safe, test-framework
- , test-framework-hunit, text, time, time-locale-compat, utf8-string
- , xml-conduit, xml-types
- }:
- mkDerivation {
- pname = "feed";
- version = "1.1.0.0";
- sha256 = "05hiasa6k13v1pzp9cs991zh04njda0ax9868rc7k906b19qqkjg";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base base-compat bytestring old-locale old-time safe text time
- time-locale-compat utf8-string xml-conduit xml-types
- ];
- testHaskellDepends = [
- base base-compat HUnit old-time test-framework test-framework-hunit
- text time xml-conduit xml-types
- ];
- testToolDepends = [ markdown-unlit ];
- description = "Interfacing with RSS (v 0.9x, 2.x, 1.0) + Atom feeds.";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"feed-cli" = callPackage
({ mkDerivation, base, directory, feed, old-locale, old-time, time
, xml
@@ -81037,8 +82228,6 @@ self: {
libraryHaskellDepends = [ base-noprelude integer-gmp semirings ];
description = "fibonacci algebra";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"fibon" = callPackage
@@ -81212,8 +82401,8 @@ self: {
pname = "file-embed-lzma";
version = "0";
sha256 = "0xqcgx4ysyjqrygnfabs169y4w986kwzvsaqh64h7x3wfi7z8v78";
- revision = "2";
- editedCabalFile = "0dmg69gsj2k9lf112bvqw6z2w8hl0p1lx5zxdvlvk85bb3qz6304";
+ revision = "4";
+ editedCabalFile = "19z355zylpsqsfihldbda6lwrdj5divfhhnc24ryzvi384dw74lx";
libraryHaskellDepends = [
base base-compat bytestring directory filepath lzma
template-haskell text th-lift-instances transformers
@@ -81388,6 +82577,8 @@ self: {
pname = "filepath";
version = "1.4.2.1";
sha256 = "04jlcaaab4fvlkgpss2mfmr5ixnp1k8f8051nqf8avfg0qan6hqb";
+ revision = "1";
+ editedCabalFile = "1harx8x3g3badj3087c662sd15fk850jqzx0lz5h16zbsv438lqa";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base QuickCheck ];
description = "Library for manipulating FilePaths in a cross platform way";
@@ -81404,8 +82595,8 @@ self: {
pname = "filepath-crypto";
version = "0.1.0.0";
sha256 = "1bj9haa4ignmk6c6gdiqb4rnwy395pwqdyfy4kgg0z16w0l39mw0";
- revision = "8";
- editedCabalFile = "1d4zrj5qqkqnx53fmdrw9dh2hwppc6mmykpxpddh4k84kln3mlym";
+ revision = "9";
+ editedCabalFile = "09a1y0m7jgchi8bmly49amzjrs25insvaf4ag3wys1ngb1cc2az0";
libraryHaskellDepends = [
base binary bytestring case-insensitive cryptoids cryptoids-class
cryptoids-types exceptions filepath sandi template-haskell
@@ -81610,29 +82801,27 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "filtrable";
- version = "0.1.1.0";
- sha256 = "0g1ngsbxrydbwa637sk8zvpvygppr6abj9hh87maf56ily4ki9fn";
+ version = "0.1.2.0";
+ sha256 = "1bgy3pydi7paiia63kygrg7fjjs7fm73jqfmlmw4szcbjmv8xq8k";
libraryHaskellDepends = [ base ];
description = "Class of filtrable containers";
license = stdenv.lib.licenses.bsd3;
}) {};
"fin" = callPackage
- ({ mkDerivation, base, deepseq, hashable, inspection-testing
+ ({ mkDerivation, base, dec, deepseq, hashable, inspection-testing
, tagged
}:
mkDerivation {
pname = "fin";
- version = "0.0.2";
- sha256 = "1fdykzyqc43648ka7z3jg3dciyb71ipp67ya521mp6zk9is2fx5i";
+ version = "0.1";
+ sha256 = "17nv26cznhslrfb1ajcgxa9g3zacvk3prmncr7f8d7rvh42g2gnn";
revision = "1";
- editedCabalFile = "11jxsij60l69n79sws23sgvbal2kbw7w5yv2fbp5580f8swj95c4";
- libraryHaskellDepends = [ base deepseq hashable ];
+ editedCabalFile = "0kdhmjpifbl1r44jy2spj82gdadd849zz6i0y7mw1ii25w91yb50";
+ libraryHaskellDepends = [ base dec deepseq hashable ];
testHaskellDepends = [ base inspection-testing tagged ];
description = "Nat and Fin: peano naturals and finite numbers";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"final" = callPackage
@@ -81739,6 +82928,26 @@ self: {
broken = true;
}) {};
+ "findhttp" = callPackage
+ ({ mkDerivation, base, basic-prelude, bytestring, directory
+ , filepath, Glob, http-directory, simple-cmd-args, text
+ }:
+ mkDerivation {
+ pname = "findhttp";
+ version = "0.1";
+ sha256 = "1hw7cbmy0b01kfpfxavq3gc17vnq4vr2fy3bcvh4jnz9rizfmr9w";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base basic-prelude bytestring directory filepath Glob
+ http-directory simple-cmd-args text
+ ];
+ description = "List http/html files";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"fingertree" = callPackage
({ mkDerivation, base, HUnit, QuickCheck, test-framework
, test-framework-hunit, test-framework-quickcheck2
@@ -81782,6 +82991,26 @@ self: {
broken = true;
}) {};
+ "finitary" = callPackage
+ ({ mkDerivation, base, bitvec, coercible-utils, finite-typelits
+ , ghc-typelits-knownnat, ghc-typelits-natnormalise, hedgehog
+ , monad-loops, mtl, template-haskell, vector-sized
+ }:
+ mkDerivation {
+ pname = "finitary";
+ version = "0.1.0.0";
+ sha256 = "0s42ja10hnv1czy75wh8bkz3mj9qwy0bsa90bnwnazf9q6xn9lyv";
+ libraryHaskellDepends = [
+ base bitvec coercible-utils finite-typelits ghc-typelits-knownnat
+ ghc-typelits-natnormalise mtl template-haskell vector-sized
+ ];
+ testHaskellDepends = [
+ base bitvec finite-typelits hedgehog monad-loops vector-sized
+ ];
+ description = "A better, more type-safe Enum";
+ license = stdenv.lib.licenses.gpl3Plus;
+ }) {};
+
"finite-field" = callPackage
({ mkDerivation, base, containers, deepseq, hashable, primes
, QuickCheck, singletons, tasty, tasty-hunit, tasty-quickcheck
@@ -81893,19 +83122,6 @@ self: {
}) {};
"first-class-families" = callPackage
- ({ mkDerivation, base }:
- mkDerivation {
- pname = "first-class-families";
- version = "0.3.0.1";
- sha256 = "07291dj197230kq8vxqdgs52zl428w12sgy18y0n5lk18g5isxib";
- revision = "1";
- editedCabalFile = "1gybi18yw6dzp3r82x0xq9364m3isqq31gvaa1agf6hk9c9szfl2";
- libraryHaskellDepends = [ base ];
- description = "First class type families";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "first-class-families_0_5_0_0" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "first-class-families";
@@ -81915,7 +83131,6 @@ self: {
testHaskellDepends = [ base ];
description = "First class type families";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"first-class-patterns" = callPackage
@@ -81954,8 +83169,8 @@ self: {
}:
mkDerivation {
pname = "fishfood";
- version = "0.0.1.8";
- sha256 = "04wqj8s8b97i6448f66ljv5wk6nhcjs80vapg96vwmlslxwcmhnc";
+ version = "0.0.1.9";
+ sha256 = "128m9zhn57jzz5ijkz54mlw70g0d1byp2gisw7wyrgddi0j3x3i5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -82013,6 +83228,8 @@ self: {
];
description = "Parse FITS files";
license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fitsio" = callPackage
@@ -82098,8 +83315,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "fixed";
- version = "0.2.1.1";
- sha256 = "1qhmwx8iqshns0crmr9d2f8hm65jxbcp3dvv0c39v34ra7if3a94";
+ version = "0.3";
+ sha256 = "10l2sh179xarb774q92cff2gkb20rsrlilfwp1fk61rzmz9yn64j";
libraryHaskellDepends = [ base ];
description = "Signed 15.16 precision fixed point arithmetic";
license = stdenv.lib.licenses.bsd3;
@@ -82208,6 +83425,8 @@ self: {
libraryHaskellDepends = [ async base clock time ];
description = "Pure Haskell library to repeat an action at a specific frequency";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"fixed-vector" = callPackage
@@ -82513,33 +83732,6 @@ self: {
}) {};
"flac" = callPackage
- ({ mkDerivation, base, bytestring, containers, data-default-class
- , directory, exceptions, filepath, FLAC, hspec, mtl, temporary
- , text, transformers, vector, wave
- }:
- mkDerivation {
- pname = "flac";
- version = "0.1.2";
- sha256 = "0adc88h5dmazf9m2xah0qkcav3pm0l3jiy8wbg9fxjv1qpgv74jn";
- revision = "5";
- editedCabalFile = "0rwwq8qrxd497rd5m0kidz4v69frj72ds7a6zrdqigj5f5471rhd";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base bytestring containers data-default-class directory exceptions
- filepath mtl text transformers vector wave
- ];
- librarySystemDepends = [ FLAC ];
- testHaskellDepends = [
- base bytestring data-default-class directory filepath hspec
- temporary transformers vector wave
- ];
- description = "Complete high-level binding to libFLAC";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {FLAC = null;};
-
- "flac_0_2_0" = callPackage
({ mkDerivation, base, bytestring, containers, directory
, exceptions, filepath, FLAC, hspec, hspec-discover, mtl, temporary
, text, transformers, vector, wave
@@ -82604,6 +83796,22 @@ self: {
license = stdenv.lib.licenses.gpl3;
}) {};
+ "flags-applicative" = callPackage
+ ({ mkDerivation, base, casing, containers, hspec, mtl, network
+ , text
+ }:
+ mkDerivation {
+ pname = "flags-applicative";
+ version = "0.1.0.1";
+ sha256 = "1pamcfv5g6d42ksq10af0l2a6k8y997zx3y4pvf5gcy5hlxr2gwv";
+ libraryHaskellDepends = [
+ base casing containers mtl network text
+ ];
+ testHaskellDepends = [ base containers hspec text ];
+ description = "Applicative flag parsing";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"flamethrower" = callPackage
({ mkDerivation, base, template-haskell, text }:
mkDerivation {
@@ -82989,8 +84197,8 @@ self: {
}:
mkDerivation {
pname = "floskell";
- version = "0.10.0";
- sha256 = "169b69rjqyf3rmgm0hycphcarm4cwx46gg5zgshqg170lwchxf6l";
+ version = "0.10.1";
+ sha256 = "1y79f6a6frcmhs70z34rdcpm5bqpgqf46bx29jnixgs313lwz229";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -83502,8 +84710,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "fmlist";
- version = "0.9.2";
- sha256 = "02868865hqm189h5wjd916abvqwkhbrx5b0119s1dwp70ifvbi4g";
+ version = "0.9.3";
+ sha256 = "1w9nhm2zybdx4c1lalkajwqr8wcs731lfjld2r8gknd7y96x8pwf";
libraryHaskellDepends = [ base ];
description = "FoldMap lists";
license = stdenv.lib.licenses.bsd3;
@@ -83513,21 +84721,19 @@ self: {
({ mkDerivation, base, base64-bytestring, bytestring, call-stack
, containers, criterion, deepseq, doctest, doctest-discover
, formatting, hspec, interpolate, microlens, neat-interpolation
- , text, time, time-locale-compat, vector
+ , QuickCheck, text, time, time-locale-compat, vector
}:
mkDerivation {
pname = "fmt";
- version = "0.6.1.1";
- sha256 = "1bfj94ahc06xj6x5v5gmjzgw30cgxsc1vjygajqiqnanimbhn8i6";
- revision = "2";
- editedCabalFile = "1prdnb8a8n338clkvjx0c8hmbkiy8x2c9j87b94302bq6x7rmf9d";
+ version = "0.6.1.2";
+ sha256 = "1fcamg5vpbmn0h7y4xkyrrmpkbyqqkijpgm2bhsw82swnbfppvbq";
libraryHaskellDepends = [
base base64-bytestring bytestring call-stack containers formatting
microlens text time time-locale-compat
];
testHaskellDepends = [
base bytestring call-stack containers doctest hspec
- neat-interpolation text vector
+ neat-interpolation QuickCheck text vector
];
testToolDepends = [ doctest-discover ];
benchmarkHaskellDepends = [
@@ -83538,6 +84744,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "fmt-for-rio" = callPackage
+ ({ mkDerivation, base, enum-text-rio }:
+ mkDerivation {
+ pname = "fmt-for-rio";
+ version = "1.0.0.0";
+ sha256 = "0hxf1cgch4l5vwnsg4449ing3qi40kpfcwjg4l807sw0b18ccwar";
+ libraryHaskellDepends = [ base enum-text-rio ];
+ description = "Adaptor for getting fmt to work with rio";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"fmt-terminal-colors" = callPackage
({ mkDerivation, ansi-terminal, base, fmt }:
mkDerivation {
@@ -83689,8 +84906,8 @@ self: {
pname = "foldl";
version = "1.4.5";
sha256 = "19qjmzc7gaxfwgqbgy0kq4vhbxvh3qjnwsxnc7pzwws2if5bv80b";
- revision = "3";
- editedCabalFile = "0ci6wq1lqmz0i5rlb4my21ic6ziq87kg35mkp3f9la9y32zbq600";
+ revision = "4";
+ editedCabalFile = "12qrmlazijyz5dn73p50klyny7x4vx8yw2isfmjikmrr12nhc5g0";
libraryHaskellDepends = [
base bytestring comonad containers contravariant hashable
mwc-random primitive profunctors semigroupoids semigroups text
@@ -84477,18 +85694,18 @@ self: {
}:
mkDerivation {
pname = "fortran-src";
- version = "0.2.1.1";
- sha256 = "000i0395k6wpmzymiqc4x4xi06y6a8q4yianqplfl7zn2ghyxcsz";
+ version = "0.4.0";
+ sha256 = "1l66f9wcn5dp7i63wapzkx8bgiy22xrlxbfh3jbnhy7glhvk80ja";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- array base binary bytestring containers directory fgl filepath
- GenericPretty mtl pretty text uniplate
+ array base binary bytestring containers deepseq directory fgl
+ filepath GenericPretty mtl pretty text uniplate
];
libraryToolDepends = [ alex happy ];
executableHaskellDepends = [
- array base binary bytestring containers directory fgl filepath
- GenericPretty mtl pretty text uniplate
+ array base binary bytestring containers deepseq directory fgl
+ filepath GenericPretty mtl pretty text uniplate
];
testHaskellDepends = [
array base binary bytestring containers deepseq directory fgl
@@ -84512,6 +85729,8 @@ self: {
testHaskellDepends = [ base doctest hspec ];
description = "Interactive terminal prompt";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"forward-chan" = callPackage
@@ -84599,10 +85818,10 @@ self: {
({ mkDerivation, base, basement, gauge, ghc-prim }:
mkDerivation {
pname = "foundation";
- version = "0.0.23";
- sha256 = "0g043cqgzn082jfg5q5y1mi4c4pa3is00j01gvggvz8937v3cq52";
+ version = "0.0.25";
+ sha256 = "0q6kx57ygmznlpf8n499hid4x6mj3180paijx0a8dgi9hh7man61";
revision = "1";
- editedCabalFile = "1zdlh81dii11p3bw3ffm3sr69l7nlhj622mca81swj59klgmaxwh";
+ editedCabalFile = "1ps5sk50sf4b5hd87k3jqykqrwcw2wzyp50rcy6pghd61h83cjg2";
libraryHaskellDepends = [ base basement ghc-prim ];
testHaskellDepends = [ base basement ];
benchmarkHaskellDepends = [ base basement gauge ];
@@ -84931,8 +86150,8 @@ self: {
}:
mkDerivation {
pname = "free";
- version = "5.1.1";
- sha256 = "0f33n7x4z0mc733ck4gg6ljcinfmm946a20g5irv90g77c6jmmak";
+ version = "5.1.2";
+ sha256 = "0vlf3f2ckl3cr7z2zl8c9c8qkdlfgvmh04gxkp2fg0z9dz80nlyb";
libraryHaskellDepends = [
base comonad containers distributive exceptions mtl profunctors
semigroupoids template-haskell transformers transformers-base
@@ -85213,8 +86432,8 @@ self: {
pname = "free-vector-spaces";
version = "0.1.5.0";
sha256 = "0rf6yhjcd2x4yj2jvyl6yc8x55a2hqhj5mxzg4f24734agh720z1";
- revision = "1";
- editedCabalFile = "0b95827ppw0nvhaxg9axkngsij2sj8d6s06amz2vi79jgs7vbfr6";
+ revision = "3";
+ editedCabalFile = "09jy8kj31p6b4pmzry6glq7climw6pmpph23byhijs82a7yl609w";
libraryHaskellDepends = [
base lens linear MemoTrie pragmatic-show vector vector-space
];
@@ -85674,6 +86893,8 @@ self: {
pname = "friendly";
version = "0.1.0.0";
sha256 = "0ikbfki5yvagc3xjbqwmzzp29idfviaylnan6cr39kna6fc8ajgx";
+ revision = "2";
+ editedCabalFile = "12j953w8zcix2iyqwkn08zpw1r1dd7jk8p8a3v5hs5rya1qb74si";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -85681,8 +86902,6 @@ self: {
];
description = "Attempt to pretty-print any input";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"friendly-time" = callPackage
@@ -85773,6 +86992,20 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "frotate" = callPackage
+ ({ mkDerivation, base, doctest, optparse-applicative, time }:
+ mkDerivation {
+ pname = "frotate";
+ version = "0.1.1";
+ sha256 = "1j8xh4k5kkix1aq79vg2kpzqb30pnggs8c6ksf4lqd8nmvzy47vc";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [ base optparse-applicative time ];
+ testHaskellDepends = [ base doctest ];
+ description = "Advanced rotation of backups and other things";
+ license = stdenv.lib.licenses.publicDomain;
+ }) {};
+
"frown" = callPackage
({ mkDerivation, base, directory }:
mkDerivation {
@@ -86084,6 +87317,21 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ft-generator" = callPackage
+ ({ mkDerivation, base, mtl, parsec }:
+ mkDerivation {
+ pname = "ft-generator";
+ version = "1.0.1";
+ sha256 = "17lckkrzil8lznkzswjinh88pp8nm8ijsi2bh31ayjfaqg0m229b";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [ base mtl parsec ];
+ description = "implementation accompanying a WFLP'19 paper";
+ license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"ftdi" = callPackage
({ mkDerivation, base, base-unicode-symbols, bytestring, safe
, transformers, usb
@@ -86118,6 +87366,8 @@ self: {
testHaskellDepends = [ base ];
description = "Transfer files with FTP and FTPS";
license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ftp-client-conduit" = callPackage
@@ -86134,6 +87384,8 @@ self: {
testHaskellDepends = [ base ];
description = "Transfer file with FTP and FTPS with Conduit";
license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ftp-conduit" = callPackage
@@ -86244,8 +87496,6 @@ self: {
];
description = "In-memory full text search engine";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"fullstop" = callPackage
@@ -86555,8 +87805,8 @@ self: {
pname = "functor-classes-compat";
version = "1";
sha256 = "0vrnl5crr7d2wsm4ryx26g98j23dpk7x5p31xrbnckd78i7zj4gg";
- revision = "3";
- editedCabalFile = "1jx552ysdnxvd8wdvsf4bgxlsgldpb7a8zi54abyjmxv6mkp98ys";
+ revision = "5";
+ editedCabalFile = "0n823v0avzdwvmfm5fgw5gsmrlvd12pdx1clkislpd5yq4ffgjw7";
libraryHaskellDepends = [
base containers hashable unordered-containers vector
];
@@ -86564,6 +87814,33 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "functor-combinators" = callPackage
+ ({ mkDerivation, base, bifunctors, comonad, constraints, containers
+ , dependent-sum, deriving-compat, free, hedgehog, kan-extensions
+ , mmorph, mtl, natural-transformation, nonempty-containers, pointed
+ , profunctors, semigroupoids, tagged, tasty, tasty-hedgehog, these
+ , transformers, trivial-constraint, vinyl
+ }:
+ mkDerivation {
+ pname = "functor-combinators";
+ version = "0.1.1.1";
+ sha256 = "1bs1xqlndbzi91z9048clmgmgkjyyrkgcmz6s864villy0s9h90c";
+ libraryHaskellDepends = [
+ base bifunctors comonad constraints containers deriving-compat free
+ kan-extensions mmorph mtl natural-transformation
+ nonempty-containers pointed profunctors semigroupoids tagged these
+ transformers trivial-constraint vinyl
+ ];
+ testHaskellDepends = [
+ base bifunctors dependent-sum free hedgehog nonempty-containers
+ semigroupoids tasty tasty-hedgehog transformers
+ ];
+ description = "Tools for functor combinator-based program design";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"functor-combo" = callPackage
({ mkDerivation, base, base-orphans, containers, data-inttrie, lub
, type-unary, TypeCompose
@@ -86615,6 +87892,19 @@ self: {
license = stdenv.lib.licenses.asl20;
}) {};
+ "functor-products" = callPackage
+ ({ mkDerivation, base, microlens, singletons, text, vinyl }:
+ mkDerivation {
+ pname = "functor-products";
+ version = "0.1.0.0";
+ sha256 = "18yxsqah4afyvhcgi9fp6zmn511kgnw8cx02ig2kaypl2j4bnsxp";
+ libraryHaskellDepends = [ base microlens singletons text vinyl ];
+ description = "General functor products for various Foldable instances";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"functor-utils" = callPackage
({ mkDerivation, base, ghc-prim, lens }:
mkDerivation {
@@ -86761,6 +88051,8 @@ self: {
benchmarkHaskellDepends = [ base criterion hscolour ipprint ];
description = "funnyPrint function to colorize GHCi output";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"funpat" = callPackage
@@ -86803,46 +88095,31 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "funspection";
- version = "0.1.0.0";
- sha256 = "1bq7gj8kcgz8ccy6skkqbrfkxavkg3s511shm8fd9s8syqwdglr8";
+ version = "1.0.0.0";
+ sha256 = "0jbzvn06d5kfyiav3fjd6k8sk8dy00pwk2g711nrbmlrljbw7f39";
libraryHaskellDepends = [ base ];
description = "Type-level function utilities";
license = stdenv.lib.licenses.bsd3;
}) {};
"fused-effects" = callPackage
- ({ mkDerivation, base, deepseq, doctest, hspec, MonadRandom
- , QuickCheck, random
- }:
- mkDerivation {
- pname = "fused-effects";
- version = "0.1.2.1";
- sha256 = "00lr52zfi1k52z0iqg8wb2a40x80kpwhbvmasp8c4s8c8jx4s9yn";
- libraryHaskellDepends = [ base deepseq MonadRandom random ];
- testHaskellDepends = [ base doctest hspec QuickCheck ];
- description = "A fast, flexible, fused effect system";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "fused-effects_0_4_0_0" = callPackage
- ({ mkDerivation, base, criterion, deepseq, doctest, hspec
+ ({ mkDerivation, base, deepseq, doctest, gauge, hspec
, inspection-testing, MonadRandom, QuickCheck, random, transformers
, unliftio-core
}:
mkDerivation {
pname = "fused-effects";
- version = "0.4.0.0";
- sha256 = "1r6yzw0212p5wn9rad2r7pjijnw6jajhypirm4j8h1gz1a393ds8";
+ version = "0.5.0.1";
+ sha256 = "0s6y34x29w31lzqlj7xf9sld9dmh3q1f0rl3zfmzd4kpp2ybc965";
libraryHaskellDepends = [
base deepseq MonadRandom random transformers unliftio-core
];
testHaskellDepends = [
base doctest hspec inspection-testing QuickCheck transformers
];
- benchmarkHaskellDepends = [ base criterion ];
+ benchmarkHaskellDepends = [ base gauge ];
description = "A fast, flexible, fused effect system";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"fused-effects-exceptions" = callPackage
@@ -86851,24 +88128,22 @@ self: {
}:
mkDerivation {
pname = "fused-effects-exceptions";
- version = "0.1.1.0";
- sha256 = "0b9rj752ry72n6ln4fj9n6m2d1qfdxp229hzkgxznag0rr3bm5rd";
+ version = "0.2.0.0";
+ sha256 = "1hgvl48vdrgcb45izmwad40x5jgxiaf3rdhhm5x0gjd9848drmbb";
libraryHaskellDepends = [
base fused-effects safe-exceptions unliftio-core
];
description = "Handle exceptions thrown in IO with fused-effects";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"fused-effects-lens" = callPackage
- ({ mkDerivation, base, fused-effects, hspec, lens }:
+ ({ mkDerivation, base, fused-effects, hspec, lens, microlens }:
mkDerivation {
pname = "fused-effects-lens";
- version = "0.1.0.0";
- sha256 = "010gavgbv5zvszvn6gizz7sx405fclfh6ik58a2sd0kf8mvsgzs8";
- libraryHaskellDepends = [ base fused-effects lens ];
+ version = "0.2.0.0";
+ sha256 = "199afrkhb1dhah3jy3xyq5k71cqbzf9m8ninyh95qmam600r8q0m";
+ libraryHaskellDepends = [ base fused-effects microlens ];
testHaskellDepends = [ base fused-effects hspec lens ];
description = "Monadic lens combinators for fused-effects";
license = stdenv.lib.licenses.bsd3;
@@ -86904,8 +88179,8 @@ self: {
}:
mkDerivation {
pname = "futhark";
- version = "0.10.2";
- sha256 = "0mff8kdjihakaf2gmy3a1ln9ghnqis72gqldssp9b4ahn2xni1v8";
+ version = "0.12.1";
+ sha256 = "00f95mhw6z5hz5jg6mnpgklkm548gp6nr3c49qhr661n8xl1fpyr";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -86927,6 +88202,8 @@ self: {
];
description = "An optimising compiler for a functional, array-oriented language";
license = stdenv.lib.licenses.isc;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"futun" = callPackage
@@ -87049,8 +88326,8 @@ self: {
}:
mkDerivation {
pname = "fuzzyset";
- version = "0.1.0.8";
- sha256 = "096izffsa3fgdi8qiz7n6l2fl2rbiq6kv5h1xljmq0nkaig5m5wv";
+ version = "0.1.1";
+ sha256 = "1r23xp3c4f1y0kx0kcg4z83rfxl6swciysb3cy7z6yv35fs8bs4q";
libraryHaskellDepends = [
base base-unicode-symbols data-default lens text text-metrics
unordered-containers vector
@@ -87157,6 +88434,53 @@ self: {
broken = true;
}) {};
+ "g2" = callPackage
+ ({ mkDerivation, array, base, bytestring, Cabal, concurrent-extra
+ , containers, directory, extra, filepath, ghc, ghc-paths, hashable
+ , hpc, HTTP, liquid-fixpoint, liquidhaskell, MissingH, mtl, parsec
+ , process, reducers, regex-base, regex-compat, split, tagged, tasty
+ , tasty-hunit, template-haskell, temporary-rc, text, time
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "g2";
+ version = "0.1.0.1";
+ sha256 = "0bknkpnyqmd2sxbbc9634rrd42ay3gp84g4wd6fb7h8zqww0icnq";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ array base bytestring Cabal concurrent-extra containers directory
+ extra filepath ghc ghc-paths hashable hpc HTTP liquid-fixpoint
+ liquidhaskell MissingH mtl parsec process reducers regex-base
+ regex-compat split template-haskell temporary-rc text time
+ unordered-containers
+ ];
+ executableHaskellDepends = [
+ base containers filepath ghc hpc text time unordered-containers
+ ];
+ testHaskellDepends = [
+ base containers filepath ghc ghc-paths hashable hpc tagged tasty
+ tasty-hunit text time unordered-containers
+ ];
+ description = "Haskell symbolic execution engine";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "g2q" = callPackage
+ ({ mkDerivation, base, g2 }:
+ mkDerivation {
+ pname = "g2q";
+ version = "0.1.0.0";
+ sha256 = "1g42xkc4jc1a94s1krr1yrn191f8d6rmcpwk9ndwzk3nwby9v1vf";
+ libraryHaskellDepends = [ base g2 ];
+ description = "G2Q allows constraint programming, via writing Haskell predicates";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"g4ip" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -87207,6 +88531,56 @@ self: {
broken = true;
}) {};
+ "galois-field" = callPackage
+ ({ mkDerivation, base, criterion, integer-gmp, MonadRandom
+ , protolude, tasty, tasty-quickcheck, wl-pprint-text
+ }:
+ mkDerivation {
+ pname = "galois-field";
+ version = "0.3.0";
+ sha256 = "0c4n37rf6kfpyxdmqk4hdgmjc8fvxwynq0izgrhrqinv4z4l97v7";
+ libraryHaskellDepends = [
+ base integer-gmp MonadRandom protolude tasty-quickcheck
+ wl-pprint-text
+ ];
+ testHaskellDepends = [
+ base integer-gmp MonadRandom protolude tasty tasty-quickcheck
+ wl-pprint-text
+ ];
+ benchmarkHaskellDepends = [
+ base criterion integer-gmp MonadRandom protolude tasty-quickcheck
+ wl-pprint-text
+ ];
+ description = "Galois field library";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
+ "galois-field_0_4_1" = callPackage
+ ({ mkDerivation, base, criterion, integer-gmp, MonadRandom, poly
+ , protolude, semirings, tasty, tasty-quickcheck, vector
+ , wl-pprint-text
+ }:
+ mkDerivation {
+ pname = "galois-field";
+ version = "0.4.1";
+ sha256 = "1q577m518gb3q7z7l84pf2ghw786p86sjx7b5mr3xhrvplwdvhcl";
+ libraryHaskellDepends = [
+ base integer-gmp MonadRandom poly protolude semirings
+ tasty-quickcheck vector wl-pprint-text
+ ];
+ testHaskellDepends = [
+ base integer-gmp MonadRandom poly protolude semirings tasty
+ tasty-quickcheck vector wl-pprint-text
+ ];
+ benchmarkHaskellDepends = [
+ base criterion integer-gmp MonadRandom poly protolude semirings
+ tasty-quickcheck vector wl-pprint-text
+ ];
+ description = "Galois field library";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"game-of-life" = callPackage
({ mkDerivation, array, base, hscurses, hspec, random, text }:
mkDerivation {
@@ -87260,6 +88634,40 @@ self: {
broken = true;
}) {};
+ "gamgee" = callPackage
+ ({ mkDerivation, aeson, base, base64-bytestring, bytestring
+ , cryptonite, directory, filepath, Hclip, memory
+ , optparse-applicative, polysemy, QuickCheck, quickcheck-instances
+ , relude, safe-exceptions, tasty, tasty-golden, tasty-quickcheck
+ , text, time, unix
+ }:
+ mkDerivation {
+ pname = "gamgee";
+ version = "1.1.0";
+ sha256 = "0ip6y8l2dmw15494d77s771aqmn7awrqnlmbcc7dd2lqwq5s5wgr";
+ revision = "1";
+ editedCabalFile = "1lg04ps7m85x4py844vcc53a3r6ijaqzjrggrwp53iv2ga1m88sr";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base base64-bytestring bytestring cryptonite memory polysemy
+ relude safe-exceptions text time
+ ];
+ executableHaskellDepends = [
+ aeson base directory filepath Hclip optparse-applicative polysemy
+ relude safe-exceptions text time unix
+ ];
+ testHaskellDepends = [
+ aeson base bytestring cryptonite filepath memory polysemy
+ QuickCheck quickcheck-instances relude tasty tasty-golden
+ tasty-quickcheck text time
+ ];
+ description = "Tool for generating TOTP MFA tokens";
+ license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"gamma" = callPackage
({ mkDerivation, base, continued-fractions, converge, erf, numbers
, QuickCheck, template-haskell, test-framework
@@ -87412,13 +88820,13 @@ self: {
}:
mkDerivation {
pname = "gauge";
- version = "0.2.4";
- sha256 = "1p8accsrv0njiqgybz2plwiglg90nazibggc270j7gmqxqna0zr9";
+ version = "0.2.5";
+ sha256 = "19zmnyyx7x6gf95dphqi1118avcp7w01scq12qmvzhchg1kzs86m";
libraryHaskellDepends = [
base basement deepseq directory process vector
];
testHaskellDepends = [
- base bytestring deepseq directory foundation
+ base basement bytestring deepseq directory foundation
];
benchmarkHaskellDepends = [ base ];
description = "small framework for performance measurement and analysis";
@@ -88072,8 +89480,6 @@ self: {
];
description = "Derivation of Aeson instances using GHC generics";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"generic-arbitrary" = callPackage
@@ -88117,23 +89523,19 @@ self: {
broken = true;
}) {};
- "generic-data" = callPackage
- ({ mkDerivation, base, base-orphans, contravariant
- , show-combinators, tasty, tasty-hunit
- }:
+ "generic-constraints" = callPackage
+ ({ mkDerivation, base, HUnit, template-haskell, th-abstraction }:
mkDerivation {
- pname = "generic-data";
- version = "0.3.0.0";
- sha256 = "0n53z9vmwfmb8h1x86wm9lcqrkfi1lvlfvm6kcw79d2xxx6l90jc";
- libraryHaskellDepends = [
- base base-orphans contravariant show-combinators
- ];
- testHaskellDepends = [ base tasty tasty-hunit ];
- description = "Utilities for GHC.Generics";
- license = stdenv.lib.licenses.mit;
+ pname = "generic-constraints";
+ version = "1.1.1.1";
+ sha256 = "1id341ih876qzq89cj6y3g87w4l3mfhv412l6czcs51r69s1770r";
+ libraryHaskellDepends = [ base template-haskell th-abstraction ];
+ testHaskellDepends = [ base HUnit ];
+ description = "Constraints via Generic";
+ license = stdenv.lib.licenses.bsd3;
}) {};
- "generic-data_0_7_0_0" = callPackage
+ "generic-data" = callPackage
({ mkDerivation, base, base-orphans, contravariant, criterion
, deepseq, generic-lens, one-liner, show-combinators, tasty
, tasty-hunit
@@ -88151,7 +89553,6 @@ self: {
benchmarkHaskellDepends = [ base criterion deepseq ];
description = "Deriving instances with GHC.Generics and related utilities";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"generic-data-surgery" = callPackage
@@ -88214,6 +89615,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "generic-deriving_1_13" = callPackage
+ ({ mkDerivation, base, containers, ghc-prim, hspec, hspec-discover
+ , template-haskell, th-abstraction
+ }:
+ mkDerivation {
+ pname = "generic-deriving";
+ version = "1.13";
+ sha256 = "0k4av4jamgpavn82q54g345la5i2ckfbq2w9nnf2a6vhvk1lnw8g";
+ libraryHaskellDepends = [
+ base containers ghc-prim template-haskell th-abstraction
+ ];
+ testHaskellDepends = [ base hspec template-haskell ];
+ testToolDepends = [ hspec-discover ];
+ description = "Generic programming library for generalised deriving";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"generic-enum" = callPackage
({ mkDerivation, array, base, bytestring, hspec }:
mkDerivation {
@@ -88258,6 +89677,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "generic-lens_1_2_0_0" = callPackage
+ ({ mkDerivation, base, criterion, deepseq, doctest, HUnit
+ , inspection-testing, lens, profunctors, QuickCheck, tagged, text
+ }:
+ mkDerivation {
+ pname = "generic-lens";
+ version = "1.2.0.0";
+ sha256 = "0qf49s01xkbhlfclc4a3ybhhf65g6mmigkkqj2psdjndgjdaxhb2";
+ libraryHaskellDepends = [ base profunctors tagged text ];
+ testHaskellDepends = [
+ base doctest HUnit inspection-testing lens profunctors
+ ];
+ benchmarkHaskellDepends = [
+ base criterion deepseq lens QuickCheck
+ ];
+ description = "Generically derive traversals, lenses and prisms";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"generic-lens-labels" = callPackage
({ mkDerivation, base, generic-lens }:
mkDerivation {
@@ -88352,6 +89791,19 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "generic-random_1_3_0_0" = callPackage
+ ({ mkDerivation, base, deepseq, QuickCheck }:
+ mkDerivation {
+ pname = "generic-random";
+ version = "1.3.0.0";
+ sha256 = "1z62lvb0zjdy5ass2cvj442w0cbk0zi4cx6n4qm2ai4sbmgh5hzk";
+ libraryHaskellDepends = [ base QuickCheck ];
+ testHaskellDepends = [ base deepseq QuickCheck ];
+ description = "Generic random generators";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"generic-records" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -88466,33 +89918,19 @@ self: {
testToolDepends = [ markdown-unlit ];
description = "A library for generic programming that aims to be easy to understand";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"generics-mrsop" = callPackage
({ mkDerivation, base, containers, mtl, template-haskell }:
mkDerivation {
pname = "generics-mrsop";
- version = "1.2.2";
- sha256 = "0xlvvcnmv24f0j3j4jaaymhdgz7klfdx15lxi9214d4ak4fnxjyv";
+ version = "2.1.0";
+ sha256 = "1ynzwpwry6fqzjmz3n0iwdp5ra3c402jg1g8sdf7vbpaw9ilyrng";
libraryHaskellDepends = [ base containers mtl template-haskell ];
description = "Generic Programming with Mutually Recursive Sums of Products";
license = stdenv.lib.licenses.mit;
}) {};
- "generics-mrsop_2_0_0" = callPackage
- ({ mkDerivation, base, containers, mtl, template-haskell }:
- mkDerivation {
- pname = "generics-mrsop";
- version = "2.0.0";
- sha256 = "1cdjh5bjvx8xfglwnm48lfybdz4n8v7v8va2c3zyihzqbxh6akml";
- libraryHaskellDepends = [ base containers mtl template-haskell ];
- description = "Generic Programming with Mutually Recursive Sums of Products";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"generics-sop" = callPackage
({ mkDerivation, base, criterion, deepseq, ghc-prim, sop-core
, template-haskell
@@ -88520,6 +89958,8 @@ self: {
pname = "generics-sop";
version = "0.5.0.0";
sha256 = "18dkdain2g46b1637f3pbv0fkzg4b1a8frm16hfqvhpfk46i7rzc";
+ revision = "1";
+ editedCabalFile = "10zfjhcipm77zfx32ls7bc8vk3affa5v7cyphwpw93d6sfqc9wym";
libraryHaskellDepends = [
base ghc-prim sop-core template-haskell
];
@@ -88533,26 +89973,16 @@ self: {
}) {};
"generics-sop-lens" = callPackage
- ({ mkDerivation, base, generics-sop, lens }:
- mkDerivation {
- pname = "generics-sop-lens";
- version = "0.1.3";
- sha256 = "1dk2v2ax2cryxpmgdv0bbawdfd30is3b5vzylhy9rr7bb5727vay";
- libraryHaskellDepends = [ base generics-sop lens ];
- description = "Lenses for types in generics-sop";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "generics-sop-lens_0_2" = callPackage
({ mkDerivation, base, generics-sop, lens }:
mkDerivation {
pname = "generics-sop-lens";
version = "0.2";
sha256 = "0cm3xnz5h1pxhvbgl8mm16fg8y339m6wvm6nlqmsm0jh37gvqc2a";
+ revision = "1";
+ editedCabalFile = "1ghgh91wd764firxc2s083jzr38w51fg0ry2b7s1wn71mnvzb893";
libraryHaskellDepends = [ base generics-sop lens ];
description = "Lenses for types in generics-sop";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genericserialize" = callPackage
@@ -88740,8 +90170,8 @@ self: {
pname = "geniplate-mirror";
version = "0.7.6";
sha256 = "1y0m0bw5zpm1y1y6d9qmxj3swl8j8hlw1shxbr5awycf6k884ssb";
- revision = "1";
- editedCabalFile = "1pyz2vdkr5w9wadmb5v4alx408dqamny3mkvl4x8v2pf549qn37k";
+ revision = "2";
+ editedCabalFile = "03fg4vfm1wgq4mylggawdx0bfvbbjmdn700sqx7v3hk1bx0kjfzh";
libraryHaskellDepends = [ base mtl template-haskell ];
description = "Use Template Haskell to generate Uniplate-like functions";
license = stdenv.lib.licenses.bsd3;
@@ -88798,18 +90228,6 @@ self: {
}) {};
"genvalidity" = callPackage
- ({ mkDerivation, base, hspec, hspec-core, QuickCheck, validity }:
- mkDerivation {
- pname = "genvalidity";
- version = "0.7.0.2";
- sha256 = "1yjvbpf75xrllmn7kzfjysw6rdv190bvgclzs5lapa9cakbsigyv";
- libraryHaskellDepends = [ base QuickCheck validity ];
- testHaskellDepends = [ base hspec hspec-core QuickCheck ];
- description = "Testing utilities for the validity library";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity_0_8_0_0" = callPackage
({ mkDerivation, base, hspec, hspec-core, QuickCheck, validity }:
mkDerivation {
pname = "genvalidity";
@@ -88819,32 +90237,9 @@ self: {
testHaskellDepends = [ base hspec hspec-core QuickCheck ];
description = "Testing utilities for the validity library";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-aeson" = callPackage
- ({ mkDerivation, aeson, base, genvalidity, genvalidity-hspec
- , genvalidity-scientific, genvalidity-text
- , genvalidity-unordered-containers, genvalidity-vector, hspec
- , QuickCheck, validity, validity-aeson
- }:
- mkDerivation {
- pname = "genvalidity-aeson";
- version = "0.2.0.2";
- sha256 = "1c77lbw4y6fmrsdzxwm38la161n6k3zvjwisg17ssz0a1bm4y96i";
- libraryHaskellDepends = [
- aeson base genvalidity genvalidity-scientific genvalidity-text
- genvalidity-unordered-containers genvalidity-vector QuickCheck
- validity validity-aeson
- ];
- testHaskellDepends = [
- aeson base genvalidity genvalidity-hspec hspec
- ];
- description = "GenValidity support for aeson";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-aeson_0_3_0_0" = callPackage
({ mkDerivation, aeson, base, genvalidity, genvalidity-hspec
, genvalidity-scientific, genvalidity-text
, genvalidity-unordered-containers, genvalidity-vector, hspec
@@ -88864,30 +90259,9 @@ self: {
];
description = "GenValidity support for aeson";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-bytestring" = callPackage
- ({ mkDerivation, base, bytestring, deepseq, genvalidity
- , genvalidity-hspec, hspec, QuickCheck, validity
- , validity-bytestring
- }:
- mkDerivation {
- pname = "genvalidity-bytestring";
- version = "0.3.0.1";
- sha256 = "1jc3hd5aad5vblb1mmb1xzgfdcnk37w50vxyznr1m16rdfg1xrz8";
- libraryHaskellDepends = [
- base bytestring genvalidity QuickCheck validity validity-bytestring
- ];
- testHaskellDepends = [
- base bytestring deepseq genvalidity genvalidity-hspec hspec
- QuickCheck validity
- ];
- description = "GenValidity support for ByteString";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-bytestring_0_5_0_0" = callPackage
({ mkDerivation, base, bytestring, deepseq, genvalidity
, genvalidity-hspec, hspec, QuickCheck, validity
, validity-bytestring
@@ -88905,28 +90279,9 @@ self: {
];
description = "GenValidity support for ByteString";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-containers" = callPackage
- ({ mkDerivation, base, containers, genvalidity, genvalidity-hspec
- , hspec, QuickCheck, validity, validity-containers
- }:
- mkDerivation {
- pname = "genvalidity-containers";
- version = "0.5.1.1";
- sha256 = "1z7bmbwi07nylkgm3dysmnv57z1iww2sjy2zv88jpg6nvq9r9ffg";
- libraryHaskellDepends = [
- base containers genvalidity QuickCheck validity validity-containers
- ];
- testHaskellDepends = [
- base containers genvalidity genvalidity-hspec hspec validity
- ];
- description = "GenValidity support for containers";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-containers_0_6_0_0" = callPackage
({ mkDerivation, base, containers, genvalidity, genvalidity-hspec
, hspec, QuickCheck, validity, validity-containers
}:
@@ -88942,30 +90297,9 @@ self: {
];
description = "GenValidity support for containers";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-hspec" = callPackage
- ({ mkDerivation, base, doctest, genvalidity, genvalidity-property
- , hspec, hspec-core, QuickCheck, transformers, validity
- }:
- mkDerivation {
- pname = "genvalidity-hspec";
- version = "0.6.2.3";
- sha256 = "12j603wz8g9vadh613amvqz45zg2w8lwlflf8c7gds8gp0x44b26";
- libraryHaskellDepends = [
- base genvalidity genvalidity-property hspec hspec-core QuickCheck
- transformers validity
- ];
- testHaskellDepends = [
- base doctest genvalidity genvalidity-property hspec hspec-core
- QuickCheck validity
- ];
- description = "Standard spec's for GenValidity instances";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-hspec_0_7_0_0" = callPackage
({ mkDerivation, base, doctest, genvalidity, genvalidity-property
, hspec, hspec-core, QuickCheck, transformers, validity
}:
@@ -88983,32 +90317,9 @@ self: {
];
description = "Standard spec's for GenValidity instances";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-hspec-aeson" = callPackage
- ({ mkDerivation, aeson, base, bytestring, deepseq, doctest
- , genvalidity, genvalidity-aeson, genvalidity-hspec
- , genvalidity-property, genvalidity-text, hspec, QuickCheck, text
- , validity
- }:
- mkDerivation {
- pname = "genvalidity-hspec-aeson";
- version = "0.3.0.1";
- sha256 = "0x5ja3d6vab2gmcqif3cvvbvmdpxp4hrc4ygzns5pw91nlrf5lm2";
- libraryHaskellDepends = [
- aeson base bytestring deepseq genvalidity genvalidity-hspec hspec
- QuickCheck
- ];
- testHaskellDepends = [
- aeson base doctest genvalidity genvalidity-aeson genvalidity-hspec
- genvalidity-property genvalidity-text hspec text validity
- ];
- description = "Standard spec's for aeson-related instances";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-hspec-aeson_0_3_1_0" = callPackage
({ mkDerivation, aeson, base, bytestring, deepseq, doctest
, genvalidity, genvalidity-aeson, genvalidity-hspec
, genvalidity-property, genvalidity-text, hspec, QuickCheck, text
@@ -89028,7 +90339,6 @@ self: {
];
description = "Standard spec's for aeson-related instances";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-hspec-binary" = callPackage
@@ -89131,7 +90441,7 @@ self: {
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {genvalidity-typed-uuid = null; typed-uuid = null;};
+ }) {};
"genvalidity-path" = callPackage
({ mkDerivation, base, criterion, genvalidity, genvalidity-hspec
@@ -89153,22 +90463,6 @@ self: {
}) {};
"genvalidity-property" = callPackage
- ({ mkDerivation, base, directory, doctest, filepath, genvalidity
- , hspec, QuickCheck, validity
- }:
- mkDerivation {
- pname = "genvalidity-property";
- version = "0.3.0.0";
- sha256 = "03cpmkqmfqypj9kydrdzs0pyix0ffwrlx8idzvgyrqiyhg03rsis";
- libraryHaskellDepends = [
- base genvalidity hspec QuickCheck validity
- ];
- testHaskellDepends = [ base directory doctest filepath ];
- description = "Standard properties for functions on `Validity` types";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-property_0_4_0_0" = callPackage
({ mkDerivation, base, directory, doctest, filepath, genvalidity
, hspec, QuickCheck, validity
}:
@@ -89182,7 +90476,6 @@ self: {
testHaskellDepends = [ base directory doctest filepath ];
description = "Standard properties for functions on `Validity` types";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-scientific" = callPackage
@@ -89204,24 +90497,6 @@ self: {
}) {};
"genvalidity-text" = callPackage
- ({ mkDerivation, array, base, genvalidity, genvalidity-hspec, hspec
- , QuickCheck, text, validity, validity-text
- }:
- mkDerivation {
- pname = "genvalidity-text";
- version = "0.5.1.0";
- sha256 = "0j7fx2zzv6ljqk87148h1rq3yg6vvy0dsl7kfl3f2p6ghnz7wggg";
- libraryHaskellDepends = [
- array base genvalidity QuickCheck text validity validity-text
- ];
- testHaskellDepends = [
- base genvalidity genvalidity-hspec hspec QuickCheck text
- ];
- description = "GenValidity support for Text";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-text_0_6_0_0" = callPackage
({ mkDerivation, array, base, genvalidity, genvalidity-hspec, hspec
, QuickCheck, text, validity, validity-text
}:
@@ -89237,7 +90512,6 @@ self: {
];
description = "GenValidity support for Text";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-time" = callPackage
@@ -89256,28 +90530,27 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "genvalidity-unordered-containers" = callPackage
- ({ mkDerivation, base, genvalidity, genvalidity-hspec, hashable
- , hspec, QuickCheck, unordered-containers, validity
- , validity-unordered-containers
+ "genvalidity-typed-uuid" = callPackage
+ ({ mkDerivation, base, genvalidity, genvalidity-hspec
+ , genvalidity-hspec-aeson, genvalidity-uuid, hspec, QuickCheck
+ , typed-uuid
}:
mkDerivation {
- pname = "genvalidity-unordered-containers";
- version = "0.2.0.4";
- sha256 = "0rkvwm5imbgl8cx5pdk16dc4wzhcndw6g3wwxs0blykiri32wl3q";
+ pname = "genvalidity-typed-uuid";
+ version = "0.0.0.0";
+ sha256 = "17lxwdb94lqprbymqsrm8xkgmgxaff6a3cczb1mzid9c91s1ym88";
libraryHaskellDepends = [
- base genvalidity hashable QuickCheck unordered-containers validity
- validity-unordered-containers
+ base genvalidity genvalidity-uuid QuickCheck typed-uuid
];
testHaskellDepends = [
- base genvalidity genvalidity-hspec hspec unordered-containers
- validity
+ base genvalidity genvalidity-hspec genvalidity-hspec-aeson
+ genvalidity-uuid hspec QuickCheck typed-uuid
];
- description = "GenValidity support for unordered-containers";
+ description = "Generators for Phantom-Typed version of UUID";
license = stdenv.lib.licenses.mit;
}) {};
- "genvalidity-unordered-containers_0_3_0_0" = callPackage
+ "genvalidity-unordered-containers" = callPackage
({ mkDerivation, base, genvalidity, genvalidity-hspec, hashable
, hspec, QuickCheck, unordered-containers, validity
, validity-unordered-containers
@@ -89296,7 +90569,6 @@ self: {
];
description = "GenValidity support for unordered-containers";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"genvalidity-uuid" = callPackage
@@ -89318,24 +90590,6 @@ self: {
}) {};
"genvalidity-vector" = callPackage
- ({ mkDerivation, base, genvalidity, genvalidity-hspec, hspec
- , QuickCheck, validity, validity-vector, vector
- }:
- mkDerivation {
- pname = "genvalidity-vector";
- version = "0.2.0.3";
- sha256 = "161w5shgj1k8691mmi9ddhxrnrqhsp502ywln2h0sk55zqcj1i5k";
- libraryHaskellDepends = [
- base genvalidity QuickCheck validity validity-vector vector
- ];
- testHaskellDepends = [
- base genvalidity genvalidity-hspec hspec vector
- ];
- description = "GenValidity support for vector";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "genvalidity-vector_0_3_0_0" = callPackage
({ mkDerivation, base, genvalidity, genvalidity-hspec, hspec
, QuickCheck, validity, validity-vector, vector
}:
@@ -89351,7 +90605,6 @@ self: {
];
description = "GenValidity support for vector";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"geo-resolver" = callPackage
@@ -89483,44 +90736,21 @@ self: {
"geoip2" = callPackage
({ mkDerivation, base, bytestring, cereal, containers, iproute
- , mmap, reinterpret-cast, text
+ , lens, mmap, reinterpret-cast, text
}:
mkDerivation {
pname = "geoip2";
- version = "0.3.1.1";
- sha256 = "0nq4kijjd0dmii5949xr7wf4w7fi2ffpbqr9bg7qklxhsrmwywb8";
+ version = "0.4.0.0";
+ sha256 = "1a2wxblnv611asfwkgm2ndam1jvm2xqajj3rk0ii9qi7j9s5w8v0";
libraryHaskellDepends = [
- base bytestring cereal containers iproute mmap reinterpret-cast
- text
+ base bytestring cereal containers iproute lens mmap
+ reinterpret-cast text
];
description = "Pure haskell interface to MaxMind GeoIP database";
license = stdenv.lib.licenses.bsd3;
}) {};
"geojson" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers, deepseq
- , hlint, lens, scientific, semigroups, tasty, tasty-hspec
- , tasty-quickcheck, text, transformers, validation
- }:
- mkDerivation {
- pname = "geojson";
- version = "3.0.4";
- sha256 = "0dnk9cb7y8wgnx8wzzln635r9pijljd9h5rinl0s9g4bjhw0rcw5";
- revision = "1";
- editedCabalFile = "1dp2hmnh77il2nx809bbkhhq4bz7ycy38ai5bhyklagc4k5bxl1c";
- libraryHaskellDepends = [
- aeson base containers deepseq lens scientific semigroups text
- transformers validation
- ];
- testHaskellDepends = [
- aeson base bytestring containers hlint tasty tasty-hspec
- tasty-quickcheck text validation
- ];
- description = "A thin GeoJSON Layer above the aeson library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "geojson_4_0_1" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, deepseq
, hlint, lens, scientific, semigroups, tasty, tasty-hspec
, tasty-quickcheck, text, transformers, validation, vector
@@ -89540,6 +90770,7 @@ self: {
description = "A thin GeoJSON Layer above the aeson library";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"geojson-types" = callPackage
@@ -89595,8 +90826,8 @@ self: {
}:
mkDerivation {
pname = "geos";
- version = "0.2.1";
- sha256 = "15dhxhqswi9h8zas0x27hma7pz4c7rn40pppjraax29pi4alaiq9";
+ version = "0.2.2";
+ sha256 = "15mmgn5c2ls87ajpz11zybv5i3nzva60snws2gxjh19prkhydl5c";
libraryHaskellDepends = [
base bytestring mtl transformers vector
];
@@ -89648,8 +90879,8 @@ self: {
}:
mkDerivation {
pname = "getopt-generics";
- version = "0.13.0.3";
- sha256 = "1202xsfvygd06h1d70v73ldwj32qv6sqadk5zl2979dgjx4841db";
+ version = "0.13.0.4";
+ sha256 = "1rszkcn1rg38wf35538ljk5bbqjc57y9sb3a0al7qxm82gy8yigr";
libraryHaskellDepends = [
base base-compat base-orphans generics-sop tagged
];
@@ -89779,14 +91010,14 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "ghc-boot_8_6_5" = callPackage
+ "ghc-boot_8_8_1" = callPackage
({ mkDerivation, base, binary, bytestring, directory, filepath
, ghc-boot-th
}:
mkDerivation {
pname = "ghc-boot";
- version = "8.6.5";
- sha256 = "1sxar25ji02a4yaz6s5hksf7b8pbl66vv9nb3bfc7fxq6gzj5n4b";
+ version = "8.8.1";
+ sha256 = "1f1701nkyn6cig2mh8wb5wn3vwddkfmfqz8lykh8k1sm76qx7yva";
libraryHaskellDepends = [
base binary bytestring directory filepath ghc-boot-th
];
@@ -89795,12 +91026,12 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "ghc-boot-th_8_6_5" = callPackage
+ "ghc-boot-th_8_8_1" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "ghc-boot-th";
- version = "8.6.5";
- sha256 = "18gjvxp3668np9n3c5l65q03nlqhgfjhh9wizvifmk673g0cl7n9";
+ version = "8.8.1";
+ sha256 = "14aa5jb5wz1yz12l0ixbbwiqj2rg1vgyd2rlfgm2ixsrryans4cb";
libraryHaskellDepends = [ base ];
description = "Shared functionality between GHC and the `template-haskell` library";
license = stdenv.lib.licenses.bsd3;
@@ -89824,8 +91055,8 @@ self: {
pname = "ghc-compact";
version = "0.1.0.0";
sha256 = "03sf8ap1ncjsibp9z7k9xgcsj9s0q3q6l4shf8k7p8dkwpjl1g2h";
- revision = "2";
- editedCabalFile = "1i775sc8sb89gali1w7qxs7l6y8vawp1mdd564d5mz95sxj4757b";
+ revision = "3";
+ editedCabalFile = "09l51r0nk7vj6a9crz7q5sv4962mnq18xb6zkxfl6cnm28v85nsk";
libraryHaskellDepends = [ base bytestring ghc-prim ];
description = "In memory storage of deeply evaluated data structure";
license = stdenv.lib.licenses.bsd3;
@@ -89885,8 +91116,8 @@ self: {
({ mkDerivation, base, deepseq, ghc-heap-view }:
mkDerivation {
pname = "ghc-datasize";
- version = "0.2.0";
- sha256 = "0wmlryqsw4mhk85wnril0p14gx2y0wjmq9iv9jjy0wl6gw5ps1yh";
+ version = "0.2.1";
+ sha256 = "0qsh4m6vif07nd0r5lbwggqrlykmlnspdx1jwzzhz6mk1hcf914d";
libraryHaskellDepends = [ base deepseq ghc-heap-view ];
description = "Determine the size of data structures in GHC's memory";
license = stdenv.lib.licenses.bsd3;
@@ -89907,8 +91138,6 @@ self: {
];
description = "An AST and compiler plugin for dumping GHC's Core representation";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ghc-dump-tree" = callPackage
@@ -89958,8 +91187,6 @@ self: {
];
description = "Handy tools for working with @ghc-dump@ dumps";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ghc-dup" = callPackage
@@ -89981,8 +91208,8 @@ self: {
}:
mkDerivation {
pname = "ghc-events";
- version = "0.9.0";
- sha256 = "004dfjqhqy0lpmadjmvz270ja6k2dmwbprnispdxmlg8rc5y3m10";
+ version = "0.9.1";
+ sha256 = "1phq4jxhm05xj42y7aqpjj43vj5mixi3hhf3h5c0dh1vmsz9w3z1";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -90051,8 +91278,8 @@ self: {
}:
mkDerivation {
pname = "ghc-exactprint";
- version = "0.5.8.2";
- sha256 = "18wlhvgpbk7ym1vbi8fkdwbjhcplgr7zcqm328yi4v7rilbxw7cn";
+ version = "0.6.1";
+ sha256 = "12nqpqmi9c57a3hgpfy8q073zryz66ylmcvf29hyffpj7vmmnvhl";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -90067,15 +91294,15 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "ghc-exactprint_0_6" = callPackage
+ "ghc-exactprint_0_6_2" = callPackage
({ mkDerivation, base, bytestring, containers, Diff, directory
, filemanip, filepath, free, ghc, ghc-boot, ghc-paths, HUnit, mtl
, silently, syb
}:
mkDerivation {
pname = "ghc-exactprint";
- version = "0.6";
- sha256 = "1m5ri5rn9inh9m70bpm695848pbwkjvk8gvvk8my0jpcba1wsnlq";
+ version = "0.6.2";
+ sha256 = "1c36f7vjk3gapp761c7w1ncg9hyhx2kxwk51s0d9fvapi1bkxw9j";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -90119,22 +91346,21 @@ self: {
"ghc-heap-view" = callPackage
({ mkDerivation, base, binary, bytestring, Cabal, containers
- , deepseq, filepath, ghc, template-haskell, transformers
+ , deepseq, filepath, ghc-heap, template-haskell, transformers
}:
mkDerivation {
pname = "ghc-heap-view";
- version = "0.5.10";
- sha256 = "0wb4311k8pyvgmhlxsdr8ss497nlgr8hawkm0fi930s3y4xxak1f";
+ version = "0.6.0";
+ sha256 = "1j2ygig1m7xq1y5gsaaxbgywv382yzlp1nbf3cp98yias0s61vcr";
enableSeparateDataOutput = true;
setupHaskellDepends = [ base Cabal filepath ];
libraryHaskellDepends = [
- base binary bytestring containers ghc template-haskell transformers
+ base binary bytestring containers ghc-heap template-haskell
+ transformers
];
testHaskellDepends = [ base deepseq ];
description = "Extract the heap representation of Haskell values and thunks";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ghc-hotswap" = callPackage
@@ -90229,8 +91455,8 @@ self: {
}:
mkDerivation {
pname = "ghc-lib";
- version = "0.20190523.1";
- sha256 = "12mb2s6l8vjda091j5ch99chvffhvbqc2vmrjjvls7wx94qaz3hi";
+ version = "8.8.0.20190424";
+ sha256 = "03f1racabmixc4jk3mn6k6cnhapaplswa8fbb9yajrzj56ag16wm";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -90247,6 +91473,32 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ghc-lib_8_8_1" = callPackage
+ ({ mkDerivation, alex, array, base, binary, bytestring, containers
+ , deepseq, directory, filepath, ghc-lib-parser, ghc-prim, happy
+ , haskeline, hpc, pretty, process, time, transformers, unix
+ }:
+ mkDerivation {
+ pname = "ghc-lib";
+ version = "8.8.1";
+ sha256 = "0lilr12pamss6x2vkqb700zy7yd15vd4y8f0h4q8fdp068bxn177";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ array base binary bytestring containers deepseq directory filepath
+ ghc-lib-parser ghc-prim hpc pretty process time transformers unix
+ ];
+ libraryToolDepends = [ alex happy ];
+ executableHaskellDepends = [
+ array base bytestring containers deepseq directory filepath
+ ghc-prim haskeline process time transformers unix
+ ];
+ description = "The GHC API, decoupled from GHC versions";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ghc-lib-parser" = callPackage
({ mkDerivation, alex, array, base, binary, bytestring, containers
, deepseq, directory, filepath, ghc-prim, happy, hpc, pretty
@@ -90254,8 +91506,8 @@ self: {
}:
mkDerivation {
pname = "ghc-lib-parser";
- version = "0.20190523";
- sha256 = "0z023rimlifffds03h25r9m1s5c51wfwra0d0isfiijqfxmq3ki7";
+ version = "8.8.0.20190424";
+ sha256 = "12gsh994pr13bsybwlravmi21la66dyw74pk74yfw2pnz682wv10";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
array base binary bytestring containers deepseq directory filepath
@@ -90266,6 +91518,46 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ghc-lib-parser_8_8_0_20190723" = callPackage
+ ({ mkDerivation, alex, array, base, binary, bytestring, containers
+ , deepseq, directory, filepath, ghc-prim, happy, hpc, pretty
+ , process, time, transformers, unix
+ }:
+ mkDerivation {
+ pname = "ghc-lib-parser";
+ version = "8.8.0.20190723";
+ sha256 = "0szrv98h2c1db3400cbb7vbhqnwagqncgpllzd9jiw74rq6y8mjq";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ array base binary bytestring containers deepseq directory filepath
+ ghc-prim hpc pretty process time transformers unix
+ ];
+ libraryToolDepends = [ alex happy ];
+ description = "The GHC API, decoupled from GHC versions";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "ghc-lib-parser_8_8_1" = callPackage
+ ({ mkDerivation, alex, array, base, binary, bytestring, containers
+ , deepseq, directory, filepath, ghc-prim, happy, hpc, pretty
+ , process, time, transformers, unix
+ }:
+ mkDerivation {
+ pname = "ghc-lib-parser";
+ version = "8.8.1";
+ sha256 = "12aicsvc45ld2hv2qq0wdky4qa2mg8s6hhamilavcbp0da2s6wnh";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ array base binary bytestring containers deepseq directory filepath
+ ghc-prim hpc pretty process time transformers unix
+ ];
+ libraryToolDepends = [ alex happy ];
+ description = "The GHC API, decoupled from GHC versions";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ghc-make" = callPackage
({ mkDerivation, base, process, shake, unordered-containers }:
mkDerivation {
@@ -90419,18 +91711,14 @@ self: {
libraryToolDepends = [ cpphs happy ];
description = "Haskell source parser from GHC";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ghc-paths" = callPackage
({ mkDerivation, base, Cabal, directory }:
mkDerivation {
pname = "ghc-paths";
- version = "0.1.0.9";
- sha256 = "0ibrr1dxa35xx20cpp8jzgfak1rdmy344dfwq4vlq013c6w8z9mg";
- revision = "4";
- editedCabalFile = "1fp0jyvi6prqsv0dxn010c7q4mmiwlcy1xk6ppd4d539adxxy67d";
+ version = "0.1.0.12";
+ sha256 = "1164w9pqnf7rjm05mmfjznz7rrn415blrkk1kjc0gjvks1vfdjvf";
setupHaskellDepends = [ base Cabal directory ];
libraryHaskellDepends = [ base ];
description = "Knowledge of GHC's installation directories";
@@ -90505,6 +91793,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "ghc-prof_1_4_1_6" = callPackage
+ ({ mkDerivation, attoparsec, base, containers, directory, filepath
+ , process, scientific, tasty, tasty-hunit, temporary, text, time
+ }:
+ mkDerivation {
+ pname = "ghc-prof";
+ version = "1.4.1.6";
+ sha256 = "1rypk644xpgvawymn8ib992n4qkc2fc796arf574hhikdffr5a14";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ attoparsec base containers scientific text time
+ ];
+ testHaskellDepends = [
+ attoparsec base containers directory filepath process tasty
+ tasty-hunit temporary text
+ ];
+ description = "Library for parsing GHC time and allocation profiling reports";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ghc-prof-aeson" = callPackage
({ mkDerivation, aeson, base, bytestring, hspec, text, vector }:
mkDerivation {
@@ -90612,6 +91922,22 @@ self: {
broken = true;
}) {};
+ "ghc-source-gen" = callPackage
+ ({ mkDerivation, base, ghc, ghc-paths, QuickCheck, tasty
+ , tasty-hunit, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "ghc-source-gen";
+ version = "0.2.0.1";
+ sha256 = "1diz1vrhxx8ppj4jljzfwlrg059kdcz20ba635f7hq4kpp0blbjy";
+ libraryHaskellDepends = [ base ghc ];
+ testHaskellDepends = [
+ base ghc ghc-paths QuickCheck tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "Constructs Haskell syntax trees for the GHC API";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"ghc-srcspan-plugin" = callPackage
({ mkDerivation, array, base, containers, ghc, hpc }:
mkDerivation {
@@ -90671,8 +91997,8 @@ self: {
pname = "ghc-tcplugins-extra";
version = "0.3";
sha256 = "0k1ph8za52mx6f146xhaakn630xrzk42ylchv4b9r04hslhzvb1h";
- revision = "1";
- editedCabalFile = "0x2d4bp5lhyfrqjshmgbirdn2ihc057a8a6khqmz91jj9zlhf7vb";
+ revision = "2";
+ editedCabalFile = "1hrbvixm25x1dx1ljy9x7f63kcan4ffz885xj6qsl8l070wj96s1";
libraryHaskellDepends = [ base ghc ];
description = "Utilities for writing GHC type-checker plugins";
license = stdenv.lib.licenses.bsd2;
@@ -90725,21 +92051,23 @@ self: {
}) {};
"ghc-typelits-extra" = callPackage
- ({ mkDerivation, base, ghc, ghc-prim, ghc-tcplugins-extra
- , ghc-typelits-knownnat, ghc-typelits-natnormalise, integer-gmp
- , tasty, tasty-hunit, template-haskell, transformers
+ ({ mkDerivation, base, containers, ghc, ghc-prim
+ , ghc-tcplugins-extra, ghc-typelits-knownnat
+ , ghc-typelits-natnormalise, integer-gmp, tasty, tasty-hunit
+ , transformers
}:
mkDerivation {
pname = "ghc-typelits-extra";
- version = "0.3";
- sha256 = "1khkchxic6i3sg3g3dzdg8dsdgk86xy5j5lnh5n5hr7fpdm9ppj7";
+ version = "0.3.1";
+ sha256 = "0v29lqz6q6wsdrhbcljyvcfdz1i7bvrp341816m2n5kbrkrk48ha";
libraryHaskellDepends = [
- base ghc ghc-prim ghc-tcplugins-extra ghc-typelits-knownnat
- ghc-typelits-natnormalise integer-gmp transformers
+ base containers ghc ghc-prim ghc-tcplugins-extra
+ ghc-typelits-knownnat ghc-typelits-natnormalise integer-gmp
+ transformers
];
testHaskellDepends = [
base ghc-typelits-knownnat ghc-typelits-natnormalise tasty
- tasty-hunit template-haskell
+ tasty-hunit
];
description = "Additional type-level operations on GHC.TypeLits.Nat";
license = stdenv.lib.licenses.bsd2;
@@ -90765,6 +92093,29 @@ self: {
license = stdenv.lib.licenses.bsd2;
}) {};
+ "ghc-typelits-knownnat_0_7" = callPackage
+ ({ mkDerivation, base, ghc, ghc-prim, ghc-tcplugins-extra
+ , ghc-typelits-natnormalise, tasty, tasty-hunit, tasty-quickcheck
+ , template-haskell, transformers
+ }:
+ mkDerivation {
+ pname = "ghc-typelits-knownnat";
+ version = "0.7";
+ sha256 = "00f8m3kmp572r8jr246m8r6lwzxmiqj4hml06w09l9n3lzvjwv7b";
+ revision = "1";
+ editedCabalFile = "1jgwa66dbhqsav7764cfcmzs3p0f3csbdjbrnbilhv1bpqyhz8sm";
+ libraryHaskellDepends = [
+ base ghc ghc-prim ghc-tcplugins-extra ghc-typelits-natnormalise
+ template-haskell transformers
+ ];
+ testHaskellDepends = [
+ base ghc-typelits-natnormalise tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "Derive KnownNat constraints from other KnownNat constraints";
+ license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ghc-typelits-natnormalise" = callPackage
({ mkDerivation, base, ghc, ghc-tcplugins-extra, integer-gmp, tasty
, tasty-hunit, template-haskell, transformers
@@ -90781,6 +92132,23 @@ self: {
license = stdenv.lib.licenses.bsd2;
}) {};
+ "ghc-typelits-natnormalise_0_7" = callPackage
+ ({ mkDerivation, base, containers, ghc, ghc-tcplugins-extra
+ , integer-gmp, tasty, tasty-hunit, template-haskell, transformers
+ }:
+ mkDerivation {
+ pname = "ghc-typelits-natnormalise";
+ version = "0.7";
+ sha256 = "1rfw67hhhka3ga8v3224ain7jvdc390glz5cr7vvxm1yqs1wgwx4";
+ libraryHaskellDepends = [
+ base containers ghc ghc-tcplugins-extra integer-gmp transformers
+ ];
+ testHaskellDepends = [ base tasty tasty-hunit template-haskell ];
+ description = "GHC typechecker plugin for types of kind GHC.TypeLits.Nat";
+ license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"ghc-typelits-presburger" = callPackage
({ mkDerivation, base, containers, equational-reasoning, ghc
, ghc-tcplugins-extra, mtl, pretty, reflection, singletons, syb
@@ -90910,13 +92278,13 @@ self: {
}) {};
"ghci-hexcalc" = callPackage
- ({ mkDerivation, base, doctest, QuickCheck }:
+ ({ mkDerivation, base, binary, doctest, QuickCheck }:
mkDerivation {
pname = "ghci-hexcalc";
- version = "0.1.0.2";
- sha256 = "134nby24044l0nxdss004325scca315dsa31101b9qcbwq2hd3fv";
- libraryHaskellDepends = [ base ];
- testHaskellDepends = [ base doctest QuickCheck ];
+ version = "0.1.1.0";
+ sha256 = "1kjkx8w1rq1fkzl0ffvp71xjb2q5pmlgnm19g0avim7isrjy87kh";
+ libraryHaskellDepends = [ base binary ];
+ testHaskellDepends = [ base binary doctest QuickCheck ];
description = "GHCi as a Hex Calculator interactive";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -90982,6 +92350,22 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "ghci-websockets" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, foreign-store
+ , text, wai, wai-app-static, warp, websockets
+ }:
+ mkDerivation {
+ pname = "ghci-websockets";
+ version = "0.0.2";
+ sha256 = "0x3hwgsihsr780hxsmjbxhxlw98rv1aws30myh117l7gjmj5lvzg";
+ libraryHaskellDepends = [
+ aeson base bytestring containers foreign-store text wai
+ wai-app-static warp websockets
+ ];
+ description = "A websocket server that survives GHCi reloads";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"ghcid" = callPackage
({ mkDerivation, ansi-terminal, base, cmdargs, containers
, directory, extra, filepath, fsnotify, process, tasty, tasty-hunit
@@ -90989,8 +92373,8 @@ self: {
}:
mkDerivation {
pname = "ghcid";
- version = "0.7.4";
- sha256 = "1wd278xligp0qj98zhqp3lkxdzpgb8k7yy0vhva6cs1ch6032gpp";
+ version = "0.7.5";
+ sha256 = "0ics4ibkr9p8pd81hfr7wk1wi10rjbsmwqcln8sda61p9v46pdh4";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -91093,8 +92477,6 @@ self: {
];
description = "DOM library that supports both GHCJS and GHC";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ghcjs-dom-hello" = callPackage
@@ -91129,8 +92511,6 @@ self: {
doHaddock = false;
description = "DOM library that supports both GHCJS and GHC using jsaddle";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ghcjs-dom-jsffi" = callPackage
@@ -91299,6 +92679,26 @@ self: {
broken = true;
}) {};
+ "ghcprofview" = callPackage
+ ({ mkDerivation, aeson, base, containers, ghc-prof, gi-gtk
+ , haskell-gi-base, regex-tdfa, regex-tdfa-text, scientific, text
+ }:
+ mkDerivation {
+ pname = "ghcprofview";
+ version = "0.1.0.0";
+ sha256 = "103186dik439sdzz1w6dr98s1sfghjxdkp51mh18wrcwdbdb9r3a";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson base containers ghc-prof gi-gtk haskell-gi-base regex-tdfa
+ regex-tdfa-text scientific text
+ ];
+ description = "GHC .prof files viewer";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"ghczdecode" = callPackage
({ mkDerivation, base, zenc }:
mkDerivation {
@@ -91356,15 +92756,14 @@ self: {
}:
mkDerivation {
pname = "gi-atk";
- version = "2.0.15";
- sha256 = "1vmzby12nvbrka6f44pr1pjwccl0p6s984pxvibajzp72x2knxc9";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.0.21";
+ sha256 = "0npcz82l5ssbrgzr99a94nlirmfdy9z5p2k0nrk7357bawpiv7sk";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ atk ];
- doHaddock = false;
description = "Atk bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) atk;};
@@ -91376,15 +92775,14 @@ self: {
}:
mkDerivation {
pname = "gi-cairo";
- version = "1.0.17";
- sha256 = "1ax7aly9ahvb18m3zjmy0dk47qfdx5yl15q52c3wp4wa0c5aggax";
+ version = "1.0.23";
+ sha256 = "1y479ll6pzf5qjf18ziqgvfi6zq4jyajkq9zlggmh9pjhxpwj8nh";
setupHaskellDepends = [ base Cabal haskell-gi ];
libraryHaskellDepends = [
base bytestring containers haskell-gi haskell-gi-base
haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ cairo ];
- doHaddock = false;
preCompileBuildDriver = ''
PKG_CONFIG_PATH+=":${cairo}/lib/pkgconfig"
setupCompileFlags+=" $(pkg-config --libs cairo-gobject)"
@@ -91433,6 +92831,8 @@ self: {
pname = "gi-cairo-render";
version = "0.0.1";
sha256 = "0arbynn7ilrc3shddff1rxcvlg6k3m617lrq4fdsqfas3amxarm4";
+ revision = "1";
+ editedCabalFile = "10lpmb8js19zfgnph31yz4nzyv7kbqvq1lx07w12q702khqcqb7z";
libraryHaskellDepends = [
array base bytestring haskell-gi-base mtl text utf8-string
];
@@ -91449,15 +92849,14 @@ self: {
}:
mkDerivation {
pname = "gi-dbusmenu";
- version = "0.4.1";
- sha256 = "0fi07jf6bsrxsk101ffpyv17lirjgyx4afz26lhbpkqadnpc3kp4";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "0.4.7";
+ sha256 = "0av2628vylmkk566f2zbzbwygni4rawrk14yamc6m9s9rsw2scf9";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libdbusmenu ];
- doHaddock = false;
description = "Dbusmenu bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) libdbusmenu;};
@@ -91470,16 +92869,18 @@ self: {
}:
mkDerivation {
pname = "gi-dbusmenugtk3";
- version = "0.4.2";
- sha256 = "0wflxyicav2p1z2sqdrjpvkf4blsilg7psvbr0cfl0r7vmy6nx4w";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "0.4.8";
+ sha256 = "0ncn2i0bvsqsi785bjhdxr77hyxsp2dm26ihn7nxbvdkvn0mafhz";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-dbusmenu gi-gdk gi-gdkpixbuf gi-glib
+ gi-gobject gi-gtk haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-dbusmenu gi-gdk gi-gdkpixbuf
gi-glib gi-gobject gi-gtk haskell-gi haskell-gi-base
haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gtk3 libdbusmenu-gtk3 ];
- doHaddock = false;
description = "DbusmenuGtk bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) gtk3; inherit (pkgs) libdbusmenu-gtk3;};
@@ -91492,9 +92893,12 @@ self: {
}:
mkDerivation {
pname = "gi-gdk";
- version = "3.0.16";
- sha256 = "0jp3d3zfm20b4ax1g5k1wzh8fxxzsw4ssw7zqx0d13167m4smc3y";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "3.0.22";
+ sha256 = "0a6qkikk31n5qc85zp8l8kcaf0804c52gp02hban3c8a9rbq1lgr";
+ setupHaskellDepends = [
+ base Cabal gi-cairo gi-gdkpixbuf gi-gio gi-glib gi-gobject gi-pango
+ haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-cairo gi-gdkpixbuf gi-gio gi-glib
gi-gobject gi-pango haskell-gi haskell-gi-base
@@ -91505,25 +92909,51 @@ self: {
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) gtk3;};
+ "gi-gdk_4_0_1" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, gi-cairo
+ , gi-gdkpixbuf, gi-gio, gi-glib, gi-gobject, gi-pango, gtk4
+ , haskell-gi, haskell-gi-base, haskell-gi-overloading, text
+ , transformers
+ }:
+ mkDerivation {
+ pname = "gi-gdk";
+ version = "4.0.1";
+ sha256 = "1b2azv7c3c9ni9f258ag2cxy97sh8ax78v0hym0gpvrky741vqwq";
+ setupHaskellDepends = [
+ base Cabal gi-cairo gi-gdkpixbuf gi-gio gi-glib gi-gobject gi-pango
+ haskell-gi
+ ];
+ libraryHaskellDepends = [
+ base bytestring containers gi-cairo gi-gdkpixbuf gi-gio gi-glib
+ gi-gobject gi-pango haskell-gi haskell-gi-base
+ haskell-gi-overloading text transformers
+ ];
+ libraryPkgconfigDepends = [ gtk4 ];
+ description = "Gdk bindings";
+ license = stdenv.lib.licenses.lgpl21;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {gtk4 = null;};
+
"gi-gdkpixbuf" = callPackage
- ({ mkDerivation, base, bytestring, Cabal, containers, gdk_pixbuf
+ ({ mkDerivation, base, bytestring, Cabal, containers, gdk-pixbuf
, gi-gio, gi-glib, gi-gobject, haskell-gi, haskell-gi-base
, haskell-gi-overloading, text, transformers
}:
mkDerivation {
pname = "gi-gdkpixbuf";
- version = "2.0.18";
- sha256 = "1b9ypv07siyr9gry471skc3qlaiwqf055ywz8nib5x39vs6rfcpj";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.0.23";
+ sha256 = "0jphrxqdbls3l73is1k93fizghbxgkf14q57l4w3m559vgk34anp";
+ setupHaskellDepends = [
+ base Cabal gi-gio gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
- libraryPkgconfigDepends = [ gdk_pixbuf ];
- doHaddock = false;
+ libraryPkgconfigDepends = [ gdk-pixbuf ];
description = "GdkPixbuf bindings";
license = stdenv.lib.licenses.lgpl21;
- }) {inherit (pkgs) gdk_pixbuf;};
+ }) {inherit (pkgs) gdk-pixbuf;};
"gi-gdkx11" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-cairo
@@ -91532,16 +92962,17 @@ self: {
}:
mkDerivation {
pname = "gi-gdkx11";
- version = "3.0.4";
- sha256 = "0pm1jnmal4vy53icndzzs76vcvxzn3lm31dfwg6nb6fnch5p4036";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "3.0.9";
+ sha256 = "0z3vwwpv8a85nvg2bc4cdaa8w4jmdl5mm5bxfpwmssyxcnm1xdnc";
+ setupHaskellDepends = [
+ base Cabal gi-cairo gi-gdk gi-gio gi-gobject gi-xlib haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-cairo gi-gdk gi-gio gi-gobject
gi-xlib haskell-gi haskell-gi-base haskell-gi-overloading text
transformers
];
libraryPkgconfigDepends = [ gtk3 ];
- doHaddock = false;
description = "GdkX11 bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) gtk3;};
@@ -91553,15 +92984,16 @@ self: {
}:
mkDerivation {
pname = "gi-ggit";
- version = "1.0.2";
- sha256 = "17449xz5v5n1i6c7vgrszq395v78q2hp2zjlnc85zxj5qlnkwz64";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.8";
+ sha256 = "151qgcwp2spa957nr3jdb9ac35f1r1gyi2d5vzgxy8xzc3993wmq";
+ setupHaskellDepends = [
+ base Cabal gi-gio gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libgit2-glib ];
- doHaddock = false;
description = "libgit2-glib bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) libgit2-glib;};
@@ -91573,9 +93005,9 @@ self: {
}:
mkDerivation {
pname = "gi-gio";
- version = "2.0.19";
- sha256 = "1xyg1hmxp408npri8ydm5iaphfwdq7jdgdhbwgbxiyia2ymxfhqc";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.0.25";
+ sha256 = "0w42ls035a69c2wyf050zvqxwyql3ln3ifwn9k4m187icj345qnz";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
@@ -91592,15 +93024,14 @@ self: {
}:
mkDerivation {
pname = "gi-girepository";
- version = "1.0.16";
- sha256 = "1kb7vyqks6br8z2bjp9wzj0dvh76s35dbx93iijgl138270ikww6";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.22";
+ sha256 = "1m7gnam8a46zbbnxgcszv1wn8zgzdrpki6k3fgy5xjnb4gp5pvpj";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gobject-introspection ];
- doHaddock = false;
description = "GIRepository (gobject-introspection) bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) gobject-introspection;};
@@ -91612,8 +93043,8 @@ self: {
}:
mkDerivation {
pname = "gi-glib";
- version = "2.0.17";
- sha256 = "0rxbkrwlwnjf46z0qpw0vjw1nv9kl91xp7k2098rqs36kl5bwylx";
+ version = "2.0.23";
+ sha256 = "1wsix558lj58i8mdwikb2q78941dxl3pchhd75xkk5hq8rknp37x";
setupHaskellDepends = [ base Cabal haskell-gi ];
libraryHaskellDepends = [
base bytestring containers haskell-gi haskell-gi-base
@@ -91631,19 +93062,65 @@ self: {
}:
mkDerivation {
pname = "gi-gobject";
- version = "2.0.16";
- sha256 = "1bgn4ywx94py0v213iv7mbjjvvy3y7gvpgw4wpn38s2np7al8y65";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.0.22";
+ sha256 = "0c1ia60793dly5y5xd2s1qs5a37f0r3jypzc21r0yswgqdlsi7g6";
+ setupHaskellDepends = [ base Cabal gi-glib haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib haskell-gi haskell-gi-base
haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ glib ];
- doHaddock = false;
description = "GObject bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) glib;};
+ "gi-graphene" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
+ , gi-gobject, graphene-gobject, haskell-gi, haskell-gi-base
+ , haskell-gi-overloading, text, transformers
+ }:
+ mkDerivation {
+ pname = "gi-graphene";
+ version = "1.0.1";
+ sha256 = "04aiq9zqjxaky48j57nakx0alhc9j1g6ydki7fww7r4jajmf6pjv";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
+ libraryHaskellDepends = [
+ base bytestring containers gi-glib gi-gobject haskell-gi
+ haskell-gi-base haskell-gi-overloading text transformers
+ ];
+ libraryPkgconfigDepends = [ graphene-gobject ];
+ description = "Graphene bindings";
+ license = stdenv.lib.licenses.lgpl21;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {graphene-gobject = null;};
+
+ "gi-gsk" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, gi-cairo
+ , gi-gdk, gi-glib, gi-gobject, gi-graphene, gi-pango, gtk4
+ , haskell-gi, haskell-gi-base, haskell-gi-overloading, text
+ , transformers
+ }:
+ mkDerivation {
+ pname = "gi-gsk";
+ version = "4.0.1";
+ sha256 = "0645dyifg6d3x03zrzf2andfah32s878rcyqzw891prn2dvga3nx";
+ setupHaskellDepends = [
+ base Cabal gi-cairo gi-gdk gi-glib gi-gobject gi-graphene gi-pango
+ haskell-gi
+ ];
+ libraryHaskellDepends = [
+ base bytestring containers gi-cairo gi-gdk gi-glib gi-gobject
+ gi-graphene gi-pango haskell-gi haskell-gi-base
+ haskell-gi-overloading text transformers
+ ];
+ libraryPkgconfigDepends = [ gtk4 ];
+ description = "Gsk bindings";
+ license = stdenv.lib.licenses.lgpl21;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {gtk4 = null;};
+
"gi-gst" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, gstreamer, haskell-gi, haskell-gi-base
@@ -91651,15 +93128,14 @@ self: {
}:
mkDerivation {
pname = "gi-gst";
- version = "1.0.16";
- sha256 = "0yygachni7ybb14sj8fqlb831154i1v4b7wn2z1qva6yx1h9gr3l";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.22";
+ sha256 = "0qicgvy9wm1xs5y6fda8sxdilwfg2y6albdqy3jg2n5qn7c9p0f6";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gstreamer ];
- doHaddock = false;
description = "GStreamer bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs.gst_all_1) gstreamer;};
@@ -91671,15 +93147,16 @@ self: {
}:
mkDerivation {
pname = "gi-gstaudio";
- version = "1.0.15";
- sha256 = "0yw6z11d0wgfa19446s34hr260mfasbsd1h7mzfyd690nzicyh8p";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.21";
+ sha256 = "0zrcplkd0hfdfvwq7gbg8wyvsk2an8k5yj342adq1ar0zgfh064n";
+ setupHaskellDepends = [
+ base Cabal gi-glib gi-gobject gi-gst gi-gstbase haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst gi-gstbase
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gst-plugins-base ];
- doHaddock = false;
description = "GStreamerAudio bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
@@ -91691,15 +93168,16 @@ self: {
}:
mkDerivation {
pname = "gi-gstbase";
- version = "1.0.16";
- sha256 = "1pqkiqlhvwjkw9b9i36md7nhi8205940d4jbcvaqywa82hv7k2aa";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.22";
+ sha256 = "1y7hf5kcm4kj185glb298zr6x39m61hvqrdwskk9043nrd8ifcxx";
+ setupHaskellDepends = [
+ base Cabal gi-glib gi-gobject gi-gst haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gst-plugins-base ];
- doHaddock = false;
description = "GStreamerBase bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
@@ -91712,16 +93190,18 @@ self: {
}:
mkDerivation {
pname = "gi-gstpbutils";
- version = "1.0.15";
- sha256 = "161wh4rn4f6lsnk8x12fwzn016fv4pymfb3vg6zlfijyj3avhdh9";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.21";
+ sha256 = "15kg01g8cgaw98khf6nrr9sjbfss3a3d43g9zgbbv5h5qnzvjazb";
+ setupHaskellDepends = [
+ base Cabal gi-glib gi-gobject gi-gst gi-gstaudio gi-gsttag
+ gi-gstvideo haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst gi-gstaudio
gi-gsttag gi-gstvideo haskell-gi haskell-gi-base
haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gstreamer-pbutils ];
- doHaddock = false;
description = "GStreamer Plugins Base Utils bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -91735,15 +93215,16 @@ self: {
}:
mkDerivation {
pname = "gi-gsttag";
- version = "1.0.15";
- sha256 = "1i5wqrhipyagsv94yfjfg6wmdbgnjg03mjxbfq5mx09g61iznl2r";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.21";
+ sha256 = "061xy3vx41pgyyg6mcbc7saj50n5zwfc72l8dw54kgv09vykp7ji";
+ setupHaskellDepends = [
+ base Cabal gi-glib gi-gobject gi-gst gi-gstbase haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst gi-gstbase
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gstreamer-tag ];
- doHaddock = false;
description = "GStreamer Tag bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -91757,15 +93238,16 @@ self: {
}:
mkDerivation {
pname = "gi-gstvideo";
- version = "1.0.16";
- sha256 = "0g6z15di4lk3l6hxpl6yqffw23kya3r2khxs4ah6vmkdn42wcalw";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.22";
+ sha256 = "0fr9pfcfsjajl5cd6p05a4kp83acmllzzdm0kc2nxnr0kmjifi5v";
+ setupHaskellDepends = [
+ base Cabal gi-glib gi-gobject gi-gst gi-gstbase haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject gi-gst gi-gstbase
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gst-plugins-base ];
- doHaddock = false;
description = "GStreamerVideo bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs.gst_all_1) gst-plugins-base;};
@@ -91778,9 +93260,12 @@ self: {
}:
mkDerivation {
pname = "gi-gtk";
- version = "3.0.27";
- sha256 = "1i8xrq56lp8ha87zykr3hgp13yp8amsxal320mknr2s29x6iw1kr";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "3.0.32";
+ sha256 = "0div9lqmirys1f3dy6bskvai72hb82g6rvcg0kwg1im974xp5m8l";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib
+ gi-gobject gi-pango haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-cairo gi-gdk gi-gdkpixbuf
gi-gio gi-glib gi-gobject gi-pango haskell-gi haskell-gi-base
@@ -91791,24 +93276,54 @@ self: {
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) gtk3;};
+ "gi-gtk_4_0_1" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
+ , gi-cairo, gi-gdk, gi-gdkpixbuf, gi-gio, gi-glib, gi-gobject
+ , gi-graphene, gi-gsk, gi-pango, gtk4, haskell-gi, haskell-gi-base
+ , haskell-gi-overloading, text, transformers
+ }:
+ mkDerivation {
+ pname = "gi-gtk";
+ version = "4.0.1";
+ sha256 = "1brn4pyjvnc00bwqwf3d77dhbiknak5yjqs9xyk9mknw2pb98ppv";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib
+ gi-gobject gi-graphene gi-gsk gi-pango haskell-gi
+ ];
+ libraryHaskellDepends = [
+ base bytestring containers gi-atk gi-cairo gi-gdk gi-gdkpixbuf
+ gi-gio gi-glib gi-gobject gi-graphene gi-gsk gi-pango haskell-gi
+ haskell-gi-base haskell-gi-overloading text transformers
+ ];
+ libraryPkgconfigDepends = [ gtk4 ];
+ description = "Gtk bindings";
+ license = stdenv.lib.licenses.lgpl21;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {gtk4 = null;};
+
"gi-gtk-declarative" = callPackage
- ({ mkDerivation, base, criterion, gi-gdk, gi-glib, gi-gobject
- , gi-gtk, haskell-gi, haskell-gi-base, haskell-gi-overloading, mtl
- , random, text, unordered-containers, vector
+ ({ mkDerivation, async, base, data-default-class, gi-gdk, gi-glib
+ , gi-gobject, gi-gtk, haskell-gi, haskell-gi-base
+ , haskell-gi-overloading, hedgehog, mtl, safe-exceptions, stm, text
+ , unordered-containers, vector
}:
mkDerivation {
pname = "gi-gtk-declarative";
- version = "0.4.2";
- sha256 = "0ps400bw7vsb0g67b5k0hzka3li389mmlwvlivkhi7l5a1cz751j";
+ version = "0.5.0";
+ sha256 = "0nhacfja1wrz0sa5pbz069sbpyzp8jnlrp078gg9gydwhlmh2k2h";
libraryHaskellDepends = [
- base gi-glib gi-gobject gi-gtk haskell-gi haskell-gi-base
- haskell-gi-overloading mtl text unordered-containers vector
+ base data-default-class gi-glib gi-gobject gi-gtk haskell-gi
+ haskell-gi-base haskell-gi-overloading mtl text
+ unordered-containers vector
];
- benchmarkHaskellDepends = [
- base criterion gi-gdk gi-glib gi-gtk random text vector
+ testHaskellDepends = [
+ async base gi-gdk gi-glib gi-gobject gi-gtk hedgehog
+ safe-exceptions stm text unordered-containers vector
];
description = "Declarative GTK+ programming in Haskell";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"gi-gtk-declarative-app-simple" = callPackage
@@ -91818,8 +93333,8 @@ self: {
}:
mkDerivation {
pname = "gi-gtk-declarative-app-simple";
- version = "0.4.1";
- sha256 = "0m6x1pwfzrd2d1jkj777i10f736fzbsj9cw5wdfglakf5j2flb8p";
+ version = "0.5.0";
+ sha256 = "0vl9gqgdbqr4hipr7ka01hyvyz9n8by0ry890w4n2c5w9rghgvva";
libraryHaskellDepends = [
async base gi-gdk gi-glib gi-gobject gi-gtk gi-gtk-declarative
haskell-gi haskell-gi-base haskell-gi-overloading pipes
@@ -91827,6 +93342,8 @@ self: {
];
description = "Declarative GTK+ programming in Haskell in the style of Pux";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"gi-gtk-hs" = callPackage
@@ -91836,8 +93353,8 @@ self: {
}:
mkDerivation {
pname = "gi-gtk-hs";
- version = "0.3.6.3";
- sha256 = "0xnrssnfaz57akrkgpf1cm3d4lg3cmlh0b8yp6w9pdsbp0lld2ay";
+ version = "0.3.8.0";
+ sha256 = "0cpykq24fjpidxb1hh6qi74xv5lh6nrz8q1l4iqy8jx26qlzri5l";
libraryHaskellDepends = [
base base-compat containers gi-gdk gi-gdkpixbuf gi-glib gi-gobject
gi-gtk haskell-gi-base mtl text transformers
@@ -91853,15 +93370,16 @@ self: {
}:
mkDerivation {
pname = "gi-gtkosxapplication";
- version = "2.0.16";
- sha256 = "11wfmvjgl6lmmdanz5jmmvf4289c9jiylxfn006shc4pby7ay6i8";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.0.17";
+ sha256 = "1h6j61wg9krvd3kqbkafd90vk534hhz9mrlvj2h182f5kp5rybl8";
+ setupHaskellDepends = [
+ base Cabal gi-gdkpixbuf gi-gobject gi-gtk haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gdkpixbuf gi-gobject gi-gtk
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gtk-mac-integration-gtk3 ];
- doHaddock = false;
description = "GtkosxApplication bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -91876,20 +93394,48 @@ self: {
}:
mkDerivation {
pname = "gi-gtksource";
- version = "3.0.16";
- sha256 = "0fm5bnyq4f9icyhxkyxf42mmanmc2klbdgin75dcdq5r92gipfcp";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "3.0.22";
+ sha256 = "08b3ffjdgyr5xapx37kkwx3z8fsd42ydvdwk3nvh2ysfq9q86cjh";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-cairo gi-gdk gi-gdkpixbuf gi-gio gi-glib
+ gi-gobject gi-gtk gi-pango haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-cairo gi-gdk gi-gdkpixbuf
gi-gio gi-glib gi-gobject gi-gtk gi-pango haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ gtksourceview3 ];
- doHaddock = false;
description = "GtkSource bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) gtksourceview3;};
+ "gi-handy" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
+ , gi-gdk, gi-gio, gi-glib, gi-gobject, gi-gtk, haskell-gi
+ , haskell-gi-base, haskell-gi-overloading, libhandy, text
+ , transformers
+ }:
+ mkDerivation {
+ pname = "gi-handy";
+ version = "0.0.6";
+ sha256 = "134dspf2vhwl76g25mjjj3gmdis748qg3rschmypd9w4zr2l651w";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-gdk gi-gio gi-glib gi-gobject gi-gtk
+ haskell-gi
+ ];
+ libraryHaskellDepends = [
+ base bytestring containers gi-atk gi-gdk gi-gio gi-glib gi-gobject
+ gi-gtk haskell-gi haskell-gi-base haskell-gi-overloading text
+ transformers
+ ];
+ libraryPkgconfigDepends = [ libhandy ];
+ description = "libhandy bindings";
+ license = stdenv.lib.licenses.lgpl21;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {inherit (pkgs) libhandy;};
+
"gi-javascriptcore" = callPackage
({ mkDerivation, base, bytestring, Cabal, containers, gi-glib
, gi-gobject, haskell-gi, haskell-gi-base, haskell-gi-overloading
@@ -91897,15 +93443,14 @@ self: {
}:
mkDerivation {
pname = "gi-javascriptcore";
- version = "4.0.16";
- sha256 = "0kihq9sp42k2k9j8qrwgja62i5pzwhc1z1yy6h19n56aikddfc2z";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "4.0.21";
+ sha256 = "0zl2lanysqir9qhndai7v4yp6sq671115mi5k9q58rwkmvkm6w04";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ webkitgtk ];
- doHaddock = false;
description = "JavaScriptCore bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -91918,15 +93463,16 @@ self: {
}:
mkDerivation {
pname = "gi-notify";
- version = "0.7.15";
- sha256 = "1lk27dw7kyiikknmj858g4hv9p48161ixs3qq8pb08jkjlzcwfw8";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "0.7.21";
+ sha256 = "13ifi60jlfm9jypf6gam224s5rgq2kd1cj98wfl1dg9crahghbls";
+ setupHaskellDepends = [
+ base Cabal gi-gdkpixbuf gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gdkpixbuf gi-glib gi-gobject
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libnotify ];
- doHaddock = false;
description = "Libnotify bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -91940,15 +93486,16 @@ self: {
}:
mkDerivation {
pname = "gi-ostree";
- version = "1.0.6";
- sha256 = "04pq0vz2dcyyq03l2gr0mms1l0dvh4ci17kcla6h1nw1lq5f1l6m";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.12";
+ sha256 = "0j7nd4ylz4whnsdfbn6ra7kvvnx6l6bqv2y57rgk1nnac3cc6201";
+ setupHaskellDepends = [
+ base Cabal gi-gio gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ ostree ];
- doHaddock = false;
description = "OSTree bindings";
license = stdenv.lib.licenses.lgpl21;
platforms = [ "i686-linux" "x86_64-linux" ];
@@ -91961,9 +93508,9 @@ self: {
}:
mkDerivation {
pname = "gi-pango";
- version = "1.0.16";
- sha256 = "1x3q1q4ww1v6v42p1wcaghxsja8cigqaqvklkfg4gxyp2f2cdg57";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.22";
+ sha256 = "09dz13wai7cyp24vhc6wxyyg2g89dsqq40r80j56xgpyvfki8yf2";
+ setupHaskellDepends = [ base Cabal gi-glib gi-gobject haskell-gi ];
libraryHaskellDepends = [
base bytestring containers gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
@@ -91985,15 +93532,16 @@ self: {
}:
mkDerivation {
pname = "gi-pangocairo";
- version = "1.0.17";
- sha256 = "1ysf9an7cmacyz7hzw0p7zshrn466v51d0dpqbkn2j1p2akr2v1a";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "1.0.23";
+ sha256 = "0la2ga1hprwm4fnia48y0q1cg8il0aq42nwvaj5gndx6id42a1i6";
+ setupHaskellDepends = [
+ base Cabal gi-cairo gi-glib gi-gobject gi-pango haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-cairo gi-glib gi-gobject gi-pango
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ cairo pango ];
- doHaddock = false;
preCompileBuildDriver = ''
PKG_CONFIG_PATH+=":${cairo}/lib/pkgconfig"
setupCompileFlags+=" $(pkg-config --libs cairo-gobject)"
@@ -92009,15 +93557,16 @@ self: {
}:
mkDerivation {
pname = "gi-poppler";
- version = "0.18.15";
- sha256 = "1qbsmgx0nfn3pm6ffkhaq1wy26jdwnq5zjsxs32cf8ipdzlhg3cv";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "0.18.21";
+ sha256 = "1mfi3yn7yrwg2cdpqp0av4cabmmqpmm2hywsrm5d78cxix4z1s7f";
+ setupHaskellDepends = [
+ base Cabal gi-cairo gi-gio gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-cairo gi-gio gi-glib gi-gobject
haskell-gi haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ poppler ];
- doHaddock = false;
description = "Poppler bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -92031,15 +93580,16 @@ self: {
}:
mkDerivation {
pname = "gi-secret";
- version = "0.0.5";
- sha256 = "0jwdv8fmc7wbwbh3nc1may4ij078xz9xc55rkr62x1szxi6ihdq5";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "0.0.11";
+ sha256 = "1s3vwy0aff4m1rvkbcvfa4zwbbalaiz46ij3ymmsx319v2mwwiib";
+ setupHaskellDepends = [
+ base Cabal gi-gio gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libsecret ];
- doHaddock = false;
description = "Libsecret bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) libsecret;};
@@ -92051,15 +93601,16 @@ self: {
}:
mkDerivation {
pname = "gi-soup";
- version = "2.4.16";
- sha256 = "01qsq8hy974j8i35spac1iyc46jrl4p0nnlx666nlxqa08a1f438";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.4.22";
+ sha256 = "0vgvcq9nysw9xfyjddi1qzngw7pfrfx4g1f3zngf56jcvxf8q6rw";
+ setupHaskellDepends = [
+ base Cabal gi-gio gi-glib gi-gobject haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-glib gi-gobject haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ libsoup ];
- doHaddock = false;
description = "Libsoup bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) libsoup;};
@@ -92072,9 +93623,12 @@ self: {
}:
mkDerivation {
pname = "gi-vte";
- version = "2.91.19";
- sha256 = "1hnhidjr7jh7i826lj6kdn264i592sfl5kwvymnpiycmcb37dd4y";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "2.91.25";
+ sha256 = "0h6kqbbdr7zgpq6sfqs2pfx99c7wj1aabpzna9fryn6zhaha8j3c";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-gdk gi-gio gi-glib gi-gobject gi-gtk gi-pango
+ haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-gdk gi-gio gi-glib gi-gobject
gi-gtk gi-pango haskell-gi haskell-gi-base haskell-gi-overloading
@@ -92116,16 +93670,18 @@ self: {
}:
mkDerivation {
pname = "gi-webkit2";
- version = "4.0.19";
- sha256 = "1hnxp1vk2qhi7shr4qd7khi2nq0vpn58f1g6j7dkl0h23266fwz2";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "4.0.25";
+ sha256 = "1xg4xy24nnz0ngv46m58jkmaka72nv4954g03f6ixpvwappim0vm";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-cairo gi-gdk gi-gio gi-glib gi-gobject gi-gtk
+ gi-javascriptcore gi-soup haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-cairo gi-gdk gi-gio gi-glib
gi-gobject gi-gtk gi-javascriptcore gi-soup haskell-gi
haskell-gi-base haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ webkitgtk ];
- doHaddock = false;
description = "WebKit2 bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -92139,16 +93695,18 @@ self: {
}:
mkDerivation {
pname = "gi-webkit2webextension";
- version = "4.0.17";
- sha256 = "0lpz5a9395bqfmxbhfjfbqi4832a68ybbr1y0c475r8ya6pnx4cq";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "4.0.24";
+ sha256 = "0lnf173c6myrswk0kdnwkhs925imvcpyvpmy50krqljnv6f2ksxn";
+ setupHaskellDepends = [
+ base Cabal gi-gio gi-gobject gi-gtk gi-javascriptcore gi-soup
+ haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-gio gi-gobject gi-gtk
gi-javascriptcore gi-soup haskell-gi haskell-gi-base
haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ webkitgtk ];
- doHaddock = false;
description = "WebKit2-WebExtension bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -92162,16 +93720,17 @@ self: {
}:
mkDerivation {
pname = "gi-wnck";
- version = "3.0.1";
- sha256 = "06l1gqnznpa7rgimk1l49i3yfzdaawb26vqz3baswrksmi9mhrhh";
- setupHaskellDepends = [ base Cabal haskell-gi ];
+ version = "3.0.7";
+ sha256 = "02kgbp3h5ny7y0qmddsfng0a1gqpdmadl6yy45hmk98ws02rk9bx";
+ setupHaskellDepends = [
+ base Cabal gi-atk gi-gdk gi-gdkpixbuf gi-gobject gi-gtk haskell-gi
+ ];
libraryHaskellDepends = [
base bytestring containers gi-atk gi-gdk gi-gdkpixbuf gi-gobject
gi-gtk haskell-gi haskell-gi-base haskell-gi-overloading text
transformers
];
libraryPkgconfigDepends = [ libwnck ];
- doHaddock = false;
description = "Wnck bindings";
license = stdenv.lib.licenses.lgpl21;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -92185,15 +93744,14 @@ self: {
}:
mkDerivation {
pname = "gi-xlib";
- version = "2.0.2";
- sha256 = "0w9dwnd7a9hh1qn3swa48i8hp4gx9kznc92zjf198lrmrbkamp22";
+ version = "2.0.8";
+ sha256 = "0gixgql24zx04sph7kn4n5gmgmz5xbw2f15mqfw0i5igad2pvsj3";
setupHaskellDepends = [ base Cabal haskell-gi ];
libraryHaskellDepends = [
base bytestring containers haskell-gi haskell-gi-base
haskell-gi-overloading text transformers
];
libraryPkgconfigDepends = [ xlibsWrapper ];
- doHaddock = false;
description = "xlib bindings";
license = stdenv.lib.licenses.lgpl21;
}) {inherit (pkgs) xlibsWrapper;};
@@ -92239,8 +93797,8 @@ self: {
}:
mkDerivation {
pname = "ginger";
- version = "0.8.4.1";
- sha256 = "0mvqp9p4lz4qzdiymv91858ywrkjjbra0ah0hryya9h4jdnbid5p";
+ version = "0.9.1.0";
+ sha256 = "0qlsqbkxwyc4hi8228l0mgiylnc0q9i02i46043m1390mdmp34qz";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -92260,8 +93818,6 @@ self: {
];
description = "An implementation of the Jinja2 template language in Haskell";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gingersnap" = callPackage
@@ -92375,6 +93931,8 @@ self: {
];
description = "Giphy HTTP API wrapper and CLI search tool";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"gist" = callPackage
@@ -92442,26 +94000,26 @@ self: {
({ mkDerivation, aeson, async, attoparsec, aws, base, blaze-builder
, bloomfilter, bup, byteable, bytestring, Cabal, case-insensitive
, clientsession, concurrent-output, conduit, connection, containers
- , crypto-api, cryptonite, curl, data-default, DAV, dbus, directory
- , disk-free-space, dlist, edit-distance, exceptions, fdo-notify
- , feed, filepath, free, git, gnupg, hinotify, hslogger, http-client
- , http-client-tls, http-conduit, http-types, IfElse, lsof, magic
- , memory, microlens, monad-control, monad-logger, mountpoints, mtl
- , network, network-info, network-multicast, network-uri, old-locale
- , openssh, optparse-applicative, path-pieces, perl, persistent
- , persistent-sqlite, persistent-template, process, QuickCheck
- , random, regex-tdfa, resourcet, rsync, SafeSemaphore, sandi
- , securemem, shakespeare, socks, split, stm, stm-chans, tagsoup
- , tasty, tasty-hunit, tasty-quickcheck, tasty-rerun
- , template-haskell, text, time, torrent, transformers, unix
- , unix-compat, unordered-containers, utf8-string, uuid, vector, wai
- , wai-extra, warp, warp-tls, wget, which, yesod, yesod-core
- , yesod-form, yesod-static
+ , crypto-api, cryptonite, curl, data-default, DAV, dbus, deepseq
+ , directory, disk-free-space, dlist, edit-distance, exceptions
+ , fdo-notify, feed, filepath, free, git, gnupg, hinotify, hslogger
+ , http-client, http-client-tls, http-conduit, http-types, IfElse
+ , lsof, magic, memory, microlens, monad-control, monad-logger
+ , mountpoints, mtl, network, network-info, network-multicast
+ , network-uri, old-locale, openssh, optparse-applicative
+ , path-pieces, perl, persistent, persistent-sqlite
+ , persistent-template, process, QuickCheck, random, regex-tdfa
+ , resourcet, rsync, SafeSemaphore, sandi, securemem, shakespeare
+ , socks, split, stm, stm-chans, tagsoup, tasty, tasty-hunit
+ , tasty-quickcheck, tasty-rerun, template-haskell, text, time
+ , torrent, transformers, unix, unix-compat, unordered-containers
+ , utf8-string, uuid, vector, wai, wai-extra, warp, warp-tls, wget
+ , which, yesod, yesod-core, yesod-form, yesod-static
}:
mkDerivation {
pname = "git-annex";
- version = "7.20190507";
- sha256 = "0klhqys8s6l6wh4safiyxxy3zpgzfmnn9gw14rbs89c6l18af0y4";
+ version = "7.20190819";
+ sha256 = "1fvyxx47qx7yr8xfan398jlixbawblpz5h69kqsw1z7kh6plnycy";
configureFlags = [
"-fassistant" "-f-benchmark" "-fdbus" "-f-debuglocks" "-fmagicmime"
"-f-networkbsd" "-fpairing" "-fproduction" "-fs3" "-ftorrentparser"
@@ -92477,18 +94035,18 @@ self: {
aeson async attoparsec aws base blaze-builder bloomfilter byteable
bytestring case-insensitive clientsession concurrent-output conduit
connection containers crypto-api cryptonite data-default DAV dbus
- directory disk-free-space dlist edit-distance exceptions fdo-notify
- feed filepath free hinotify hslogger http-client http-client-tls
- http-conduit http-types IfElse magic memory microlens monad-control
- monad-logger mountpoints mtl network network-info network-multicast
- network-uri old-locale optparse-applicative path-pieces persistent
- persistent-sqlite persistent-template process QuickCheck random
- regex-tdfa resourcet SafeSemaphore sandi securemem shakespeare
- socks split stm stm-chans tagsoup tasty tasty-hunit
- tasty-quickcheck tasty-rerun template-haskell text time torrent
- transformers unix unix-compat unordered-containers utf8-string uuid
- vector wai wai-extra warp warp-tls yesod yesod-core yesod-form
- yesod-static
+ deepseq directory disk-free-space dlist edit-distance exceptions
+ fdo-notify feed filepath free hinotify hslogger http-client
+ http-client-tls http-conduit http-types IfElse magic memory
+ microlens monad-control monad-logger mountpoints mtl network
+ network-info network-multicast network-uri old-locale
+ optparse-applicative path-pieces persistent persistent-sqlite
+ persistent-template process QuickCheck random regex-tdfa resourcet
+ SafeSemaphore sandi securemem shakespeare socks split stm stm-chans
+ tagsoup tasty tasty-hunit tasty-quickcheck tasty-rerun
+ template-haskell text time torrent transformers unix unix-compat
+ unordered-containers utf8-string uuid vector wai wai-extra warp
+ warp-tls yesod yesod-core yesod-form yesod-static
];
executableSystemDepends = [
bup curl git gnupg lsof openssh perl rsync wget which
@@ -92509,6 +94067,30 @@ self: {
inherit (pkgs) perl; inherit (pkgs) rsync; inherit (pkgs) wget;
inherit (pkgs) which;};
+ "git-brunch" = callPackage
+ ({ mkDerivation, base, brick, hspec, microlens, process, vector
+ , vty
+ }:
+ mkDerivation {
+ pname = "git-brunch";
+ version = "1.0.6.0";
+ sha256 = "1zhmzw1vhdxcx69l97xlm8ylfk79f95g83c3nhp39g2lj7z0wqi0";
+ isLibrary = false;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base brick microlens process vector vty
+ ];
+ executableHaskellDepends = [
+ base brick microlens process vector vty
+ ];
+ testHaskellDepends = [
+ base brick hspec microlens process vector vty
+ ];
+ doHaddock = false;
+ description = "git checkout command-line tool";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"git-checklist" = callPackage
({ mkDerivation, base, directory, filepath, optparse-applicative
, parsec, pretty, process
@@ -92672,6 +94254,22 @@ self: {
broken = true;
}) {};
+ "git-lfs" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, case-insensitive
+ , containers, http-client, http-types, network-uri, text
+ }:
+ mkDerivation {
+ pname = "git-lfs";
+ version = "1.0.0";
+ sha256 = "0ryxi43sng5nwb9brdirvvxcs2j6bmg1x9vdx9fq5r4dch62b1zy";
+ libraryHaskellDepends = [
+ aeson base bytestring case-insensitive containers http-client
+ http-types network-uri text
+ ];
+ description = "git-lfs protocol";
+ license = stdenv.lib.licenses.agpl3;
+ }) {};
+
"git-mediate" = callPackage
({ mkDerivation, ansi-terminal, base, base-compat, Diff, directory
, filepath, mtl, optparse-applicative, process, unix-compat
@@ -92711,8 +94309,6 @@ self: {
];
description = "Passively snapshots working tree changes efficiently";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"git-object" = callPackage
@@ -92843,8 +94439,6 @@ self: {
testToolDepends = [ git ];
description = "A framework for pre-commit checks";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gitHUD" = callPackage
@@ -92910,8 +94504,8 @@ self: {
}:
mkDerivation {
pname = "githash";
- version = "0.1.3.1";
- sha256 = "0vpwzbhnr0xwc7vkg3l5qy4awgsr1fkxj58lz6m56jayaad6hn7a";
+ version = "0.1.3.2";
+ sha256 = "0wn0pr7idx6nb6d7nkjx6dfncz15c9wbhpg6s5395pa1s8q7fx3j";
libraryHaskellDepends = [
base bytestring directory filepath process template-haskell
];
@@ -92925,28 +94519,27 @@ self: {
"github" = callPackage
({ mkDerivation, aeson, base, base-compat, base16-bytestring
- , binary, binary-orphans, bytestring, containers, cryptohash-sha1
+ , binary, binary-instances, bytestring, containers, cryptohash-sha1
, deepseq, deepseq-generics, exceptions, file-embed, hashable
, hspec, hspec-discover, http-client, http-client-tls
, http-link-header, http-types, iso8601-time, mtl, network-uri
- , semigroups, tagged, text, time, tls, transformers
- , transformers-compat, unordered-containers, vector
- , vector-instances
+ , tagged, text, time, tls, transformers, transformers-compat
+ , unordered-containers, vector, vector-instances
}:
mkDerivation {
pname = "github";
- version = "0.21";
- sha256 = "1ck4mnvxzgbpzy1v7xgggfn69733hm2smhbivmcvdmxd104lzvsq";
+ version = "0.22";
+ sha256 = "15py79qcpj0k331i42njgwkirwyiacbc5razmxnm4672dvvip2qk";
libraryHaskellDepends = [
- aeson base base-compat base16-bytestring binary binary-orphans
+ aeson base base-compat base16-bytestring binary binary-instances
bytestring containers cryptohash-sha1 deepseq deepseq-generics
exceptions hashable http-client http-client-tls http-link-header
- http-types iso8601-time mtl network-uri semigroups tagged text time
- tls transformers transformers-compat unordered-containers vector
+ http-types iso8601-time mtl network-uri tagged text time tls
+ transformers transformers-compat unordered-containers vector
vector-instances
];
testHaskellDepends = [
- aeson base base-compat bytestring file-embed hspec
+ aeson base base-compat bytestring file-embed hspec tagged text
unordered-containers vector
];
testToolDepends = [ hspec-discover ];
@@ -93159,21 +94752,26 @@ self: {
}) {};
"githud" = callPackage
- ({ mkDerivation, base, mtl, parsec, process, tasty, tasty-hunit
- , tasty-quickcheck, tasty-smallcheck, text, unix
+ ({ mkDerivation, base, bytestring, daemons, data-default, directory
+ , mtl, network, parsec, process, tasty, tasty-hunit
+ , tasty-quickcheck, tasty-smallcheck, text, unix, utf8-string
}:
mkDerivation {
pname = "githud";
- version = "2.1.0";
- sha256 = "19j0vy427n3rzi1nfmh7kjn8jj1ji3xrbrs957hyns9sy4wwrfly";
+ version = "3.1.0";
+ sha256 = "0shdb3a73w0n0p9pl0j7gmsqjwvniah3l251cgn27sp1cm33li8r";
isLibrary = true;
isExecutable = true;
- libraryHaskellDepends = [ base mtl parsec process text unix ];
+ libraryHaskellDepends = [
+ base bytestring daemons data-default directory mtl network parsec
+ process text unix utf8-string
+ ];
executableHaskellDepends = [ base ];
testHaskellDepends = [
- base mtl parsec tasty tasty-hunit tasty-quickcheck tasty-smallcheck
+ base daemons mtl parsec tasty tasty-hunit tasty-quickcheck
+ tasty-smallcheck
];
- description = "More efficient replacement to the great git-radar";
+ description = "Heads up, and you see your GIT context";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -93230,6 +94828,8 @@ self: {
];
description = "Wiki using happstack, git or darcs, and pandoc";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"gitlab-api" = callPackage
@@ -93256,8 +94856,8 @@ self: {
}:
mkDerivation {
pname = "gitlab-haskell";
- version = "0.1.0.1";
- sha256 = "1gvhfdlh6x500qms0kfqsyf0c934rm0xw1z1gv8zzb7nssndiann";
+ version = "0.1.0.2";
+ sha256 = "16dj3m038fgxf8w69g8qldnsk2xrk83lkkgdapwv7qz9c9jd0nh1";
libraryHaskellDepends = [
aeson base bytestring connection http-conduit http-types text
transformers unliftio unliftio-core
@@ -93358,8 +94958,6 @@ self: {
];
description = "Libgit2 backend for gitlib";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gitlib-s3" = callPackage
@@ -93422,8 +95020,6 @@ self: {
];
description = "Test library for confirming gitlib backend compliance";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gitlib-utils" = callPackage
@@ -93494,15 +95090,13 @@ self: {
}:
mkDerivation {
pname = "gitter";
- version = "0.4";
- sha256 = "0lvsjpb1iakpbvh8prnwd90p8fp7hhj5120yp2w5ra9pm5fqcl49";
+ version = "0.5";
+ sha256 = "13whv4bv7b69vzq1c6xdcim9mlsr4qsnsjiwv36g7fykcvbr72rl";
libraryHaskellDepends = [
aeson base bytestring exceptions lens lens-aeson mtl text wreq
];
description = "Gitter.im API client";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"givegif" = callPackage
@@ -93530,6 +95124,8 @@ self: {
];
description = "CLI Giphy search tool with previews in iTerm 2";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"gjk" = callPackage
@@ -93556,18 +95152,14 @@ self: {
}) {};
"gl" = callPackage
- ({ mkDerivation, base, Cabal, containers, directory, filepath
- , fixed, half, hxt, libGL, transformers
+ ({ mkDerivation, base, containers, fixed, half, libGL, transformers
}:
mkDerivation {
pname = "gl";
- version = "0.8.0";
- sha256 = "0f8l1ra05asqjnk97sliqb3wqvr6lic18rfs1f9dm1kw2lw2hkda";
- revision = "2";
- editedCabalFile = "0zbpf559ajlcwnylpbm6dbi4m3g3s08fciqfp5am3i2vrmw0wpi9";
- setupHaskellDepends = [
- base Cabal containers directory filepath hxt transformers
- ];
+ version = "0.9";
+ sha256 = "1kb1igc9cyjavf3f3ccv9xhhsfn46pcrsw47qd9m5793nnmg13ii";
+ revision = "1";
+ editedCabalFile = "19qyb9m2fy9qyirmhhayg51scas42n3i2rx7jcw6v3ra8c8r9rwr";
libraryHaskellDepends = [
base containers fixed half transformers
];
@@ -93588,26 +95180,6 @@ self: {
}) {};
"glabrous" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring
- , cereal, cereal-text, directory, either, hspec, text
- , unordered-containers
- }:
- mkDerivation {
- pname = "glabrous";
- version = "1.0.1";
- sha256 = "11s7fhlv3aq80h20jf2l447bmxy95dy7dqvzqfp0myy4hgsasks3";
- libraryHaskellDepends = [
- aeson aeson-pretty attoparsec base bytestring cereal cereal-text
- either text unordered-containers
- ];
- testHaskellDepends = [
- base directory either hspec text unordered-containers
- ];
- description = "A template DSL library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "glabrous_2_0_0" = callPackage
({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring
, cereal, cereal-text, directory, either, hspec, text
, unordered-containers
@@ -93625,7 +95197,6 @@ self: {
];
description = "A template DSL library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"glade" = callPackage
@@ -93931,8 +95502,8 @@ self: {
}:
mkDerivation {
pname = "glirc";
- version = "2.31";
- sha256 = "1div9xkls0jgsi3h0pm7y9rdlyr5rnc07ld3ka285g0hkg5yyban";
+ version = "2.32";
+ sha256 = "0rlqmmjxvynd4a2kxjyw7dm5i2rd27jgj7sm57pbh2nig2rbbbyj";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal filepath ];
@@ -94120,8 +95691,6 @@ self: {
libraryHaskellDepends = [ accelerate base gloss gloss-rendering ];
description = "Extras to interface Gloss and Accelerate";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gloss-algorithms" = callPackage
@@ -94276,10 +95845,8 @@ self: {
({ mkDerivation, base, bmp, bytestring, containers, GLUT, OpenGL }:
mkDerivation {
pname = "gloss-rendering";
- version = "1.13.0.2";
- sha256 = "0ivzijqkxn0r4iqk0rmq0bzdzzgv9a8fgwy3gwnfibmvhhm9jfq0";
- revision = "1";
- editedCabalFile = "0r57zc8ryxgjb4ydcdlmq19hl3nj6gjm3z85wrmdkn0wrx16mqih";
+ version = "1.13.1.1";
+ sha256 = "1pkzm7zzfdya8cz3h66akx8785h3vxbnyb815liw4nilvwg01d9x";
libraryHaskellDepends = [
base bmp bytestring containers GLUT OpenGL
];
@@ -94368,8 +95935,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Make better services and clients";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"glue-core" = callPackage
@@ -94394,8 +95959,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Make better services and clients";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"glue-ekg" = callPackage
@@ -94420,8 +95983,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Make better services and clients";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"glue-example" = callPackage
@@ -94442,8 +96003,6 @@ self: {
];
description = "Make better services and clients";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gluturtle" = callPackage
@@ -94531,8 +96090,8 @@ self: {
}:
mkDerivation {
pname = "gnome-keyring";
- version = "0.3.1";
- sha256 = "08fayi4ixqyzin7lxyx2s3yap377y6nrdf4fmv7bi895j2k642l8";
+ version = "0.3.1.1";
+ sha256 = "044bbgy8cssi1jc8wwb0kvxpw6d7pwxackkzvw7p9r8ybmgv4d0b";
libraryHaskellDepends = [ base bytestring text time ];
librarySystemDepends = [ gnome-keyring ];
libraryPkgconfigDepends = [ libgnome-keyring ];
@@ -94910,8 +96469,8 @@ self: {
}:
mkDerivation {
pname = "gogol";
- version = "0.4.0";
- sha256 = "1w6bxhgdsilv6z1q0m2qidv1in10i9p5biz733v2nqg2pflj8qgh";
+ version = "0.5.0";
+ sha256 = "1aah3db2ws07q4z2pka4gmsagpwlimv19xq0p6y0bznq86yy7i1q";
libraryHaskellDepends = [
aeson base bytestring case-insensitive conduit conduit-extra
cryptonite directory exceptions filepath gogol-core http-client
@@ -94928,8 +96487,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-abusiveexperiencereport";
- version = "0.4.0";
- sha256 = "0jlpybzl1p6jifrj3cdc5wndjg1ds15liz844wl3vmx45p5bj2mq";
+ version = "0.5.0";
+ sha256 = "1c701rajjybggf04rvmj39mn5ryq27kvz79jacxhk9ia1g48lfbb";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Abusive Experience Report SDK";
license = "unknown";
@@ -94940,20 +96499,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-acceleratedmobilepageurl";
- version = "0.4.0";
- sha256 = "0bd34zw60bzx4h2iczz02ynn7vm2pma3b1x419nafr70jlil11bc";
+ version = "0.5.0";
+ sha256 = "0mr77fifnjl9r1jvmdzr7nvbxrh18n1c7m5yahlg4gsph9jzxg6i";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Accelerated Mobile Pages (AMP) URL SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-accessapproval" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-accessapproval";
+ version = "0.5.0";
+ sha256 = "062377i1nrhynsqyg53fkczhj9ljxa1ms062zykyxq4inv7d9r2a";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Access Approval SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-accesscontextmanager" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-accesscontextmanager";
- version = "0.4.0";
- sha256 = "1rq8q9av1vj0v7y7av6y92isyf0rrr0v5dqihx2ryhsxcn9bly4m";
+ version = "0.5.0";
+ sha256 = "0nglp371pxal59p33bb50r1vck6mc662z2yrqsq326w77dc24k6z";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Access Context Manager SDK";
license = "unknown";
@@ -94964,8 +96535,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-adexchange-buyer";
- version = "0.4.0";
- sha256 = "056896r5iq343bam9qzd41x1iaqa0p31x20w6zspn3v9r8i1x76b";
+ version = "0.5.0";
+ sha256 = "0a2v15z4x0a6dbc789s1j78qcsfqypdf65ydw0gxzgajl136ni7x";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Ad Exchange Buyer SDK";
license = "unknown";
@@ -94976,8 +96547,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-adexchange-seller";
- version = "0.4.0";
- sha256 = "17pvmi371xx06qav5c4fsq5il9a54478jwjfk7wh1snifxwsg3dn";
+ version = "0.5.0";
+ sha256 = "02y7sz24flvm6fayfjjvdrywsqy0qw3wrqkfg4jcwa1093j2x3g9";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Ad Exchange Seller SDK";
license = "unknown";
@@ -94988,8 +96559,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-adexchangebuyer2";
- version = "0.4.0";
- sha256 = "0bsxix42viyg74yvw03bhn19c9rcav1hby63fjlcg9zvs9pqx9a2";
+ version = "0.5.0";
+ sha256 = "0sy40qp8z47d364dml5fafdy34xwlaa8lwn86n076i0xr0a2c3sc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Ad Exchange Buyer API II SDK";
license = "unknown";
@@ -95000,8 +96571,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-adexperiencereport";
- version = "0.4.0";
- sha256 = "0n9gg9rgwyj7x115dpp73gqsz61qjkph8iwlf51ak0dflvhpcirc";
+ version = "0.5.0";
+ sha256 = "1sk083dkiwzr39w7bgqv3klvnx0jb8xqz1v3x0val3dzhfhd0rg0";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Ad Experience Report SDK";
license = "unknown";
@@ -95012,8 +96583,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-admin-datatransfer";
- version = "0.4.0";
- sha256 = "0i0zrz1wgwdqxisq47icaa9rz1vawgkwk80pg8lzraaf82scxsd2";
+ version = "0.5.0";
+ sha256 = "149h3kg68xqanpzyqxbjxq1nskigv1310fq17inkl3bqm7mk0d3s";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Admin Data Transfer SDK";
license = "unknown";
@@ -95024,8 +96595,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-admin-directory";
- version = "0.4.0";
- sha256 = "0nikrrv152xnr4b8542vlmnqazq8cvq89mi004nzd8pfl0a7nz5m";
+ version = "0.5.0";
+ sha256 = "0kinbhz4j11nd6s5w4jg13dpbq6hgf6acnqi6hvmn4m4yjm6qs5i";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Admin Directory SDK";
license = "unknown";
@@ -95048,8 +96619,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-admin-reports";
- version = "0.4.0";
- sha256 = "0ncx9knx8lnkbg0zcc5ak1ywgk1nqdqvplri247wxxlyn582xx2b";
+ version = "0.5.0";
+ sha256 = "17m4924mqr0wiq07n3ada8jqc2kbwn2apzmbkpcsf6ns8qpw4r4k";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Admin Reports SDK";
license = "unknown";
@@ -95060,8 +96631,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-adsense";
- version = "0.4.0";
- sha256 = "0ahw3mapm93krj2lkzvcxqg3n7v912drfqb40afjl9p572hppl0w";
+ version = "0.5.0";
+ sha256 = "07v6sgp6dqvgcmni4579c6iyxqbbn24lyp64zfdv88s4wjhjbdjj";
libraryHaskellDepends = [ base gogol-core ];
description = "Google AdSense Management SDK";
license = "unknown";
@@ -95072,8 +96643,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-adsense-host";
- version = "0.4.0";
- sha256 = "03pm68sksb2r51a7962bjypaf0ycbjsqwdyzl338v2l03jwp4d3w";
+ version = "0.5.0";
+ sha256 = "1s9dsrz6svnm8jjl13w3v72gyyg2xc5sxg6piw087c8j1sqfx131";
libraryHaskellDepends = [ base gogol-core ];
description = "Google AdSense Host SDK";
license = "unknown";
@@ -95096,8 +96667,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-alertcenter";
- version = "0.4.0";
- sha256 = "0sb4r4xbcfmrygz92xy1b0qps32mvw4kxlgixzmx5lhabhmh19rg";
+ version = "0.5.0";
+ sha256 = "0d114xkvdjzfgl63gyc1a56jfdacbr5chdz80199jp85zp04h3wi";
libraryHaskellDepends = [ base gogol-core ];
description = "Google G Suite Alert Center SDK";
license = "unknown";
@@ -95108,8 +96679,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-analytics";
- version = "0.4.0";
- sha256 = "0vbz4ydkkglradhmrs1s3ldz8isz65lvfw84imhrmfrnbj8mvwsr";
+ version = "0.5.0";
+ sha256 = "1bfm1z13hvijln3f92n4i8042dd56z6wian6scnbfcndnsfwsrc9";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Analytics SDK";
license = "unknown";
@@ -95120,8 +96691,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-analyticsreporting";
- version = "0.4.0";
- sha256 = "0wcnvdf02l3s81f53v33f6vy3ksnpcyhdls4jf6939x2pz7frrld";
+ version = "0.5.0";
+ sha256 = "0ih63njgb3612myqfc1impas9jc5gx5hlmhvjzw0bp6rn7dv5qvm";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Analytics Reporting SDK";
license = "unknown";
@@ -95132,8 +96703,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-android-enterprise";
- version = "0.4.0";
- sha256 = "0pq3krv5gncwpiblrkqsabrkqldjl1gardkf279qqc8z7qw74wn8";
+ version = "0.5.0";
+ sha256 = "0qxvqv3i21k9g0mgy67073xb2yd8m357c2806v18inh7cikhndgy";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play EMM SDK";
license = "unknown";
@@ -95144,8 +96715,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-android-publisher";
- version = "0.4.0";
- sha256 = "0f9s1zss2i5xq67mv7wgvgbbba0fybqmnyr4vxjg28c2y5kvvggv";
+ version = "0.5.0";
+ sha256 = "05dz12615l74y4iqasgn84vi79i1m7wv11gz5sfbmmmddizjdxy4";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play Developer SDK";
license = "unknown";
@@ -95156,8 +96727,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-androiddeviceprovisioning";
- version = "0.4.0";
- sha256 = "0zynvy8720b26sp884da98cfnx9g7rcwgrj6n27lqmpw3lqmfh4r";
+ version = "0.5.0";
+ sha256 = "1yc88s0h6v8ipw26a90ds0wdmsg78zpp3pqrybip9fh8grzbplv5";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Android Device Provisioning Partner SDK";
license = "unknown";
@@ -95168,8 +96739,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-androidmanagement";
- version = "0.4.0";
- sha256 = "16xarhr93vpxawd7mg59zc53bl7xh63hpqjz869vhnf481vn4pmq";
+ version = "0.5.0";
+ sha256 = "0j68bbdyb3qnjylkb7fyv162pxfjx6802cnb63kryl7wbzcvf02s";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Android Management SDK";
license = "unknown";
@@ -95180,8 +96751,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-appengine";
- version = "0.4.0";
- sha256 = "14pf281j7q05dlz8i08m8082qixx1d5fjyi3zm19blsghx7hsn6a";
+ version = "0.5.0";
+ sha256 = "1p4cxp4f417m0llw58zslaabfswp5s9b9xlxfn3qrl3mdghs8lvk";
libraryHaskellDepends = [ base gogol-core ];
description = "Google App Engine Admin SDK";
license = "unknown";
@@ -95192,8 +96763,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-apps-activity";
- version = "0.4.0";
- sha256 = "1iv4q10h5n8mbkjgw2v7j9d9y4zvl0srpkw1kwd98h1chgg7hyhi";
+ version = "0.5.0";
+ sha256 = "0frs0976h57gckraxhipbsd1ps39ddw5bcsxrya9mczyh31aqn4w";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Drive Activity SDK";
license = "unknown";
@@ -95204,8 +96775,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-apps-calendar";
- version = "0.4.0";
- sha256 = "1dbxva37p8ww835y4sg1v01f12kr049ralsfqs3hkv516lsh7kxr";
+ version = "0.5.0";
+ sha256 = "1q68zbqk7pkh7clvlyjlkdy7i3zwrh8rl7ksyxd9x8wvla91qc34";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Calendar SDK";
license = "unknown";
@@ -95216,8 +96787,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-apps-licensing";
- version = "0.4.0";
- sha256 = "1sbbr7ihl415zx7axjwlvbfp646gr3fbb90n27wxh8pl4h2hlzkf";
+ version = "0.5.0";
+ sha256 = "1x86ssslmksdlfmf8rasavpn9dg5kpk416zf001mb896lh6r5dlq";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Enterprise License Manager SDK";
license = "unknown";
@@ -95228,8 +96799,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-apps-reseller";
- version = "0.4.0";
- sha256 = "038qfmfpw3wi5v9x9wgbpv2agbjab8z5q0idwzfih8xjckfxd520";
+ version = "0.5.0";
+ sha256 = "0zxjp7apiqd12bcj6fwwrlx8j466pavfgmv35d2alvmb83n1h8gw";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Enterprise Apps Reseller SDK";
license = "unknown";
@@ -95240,8 +96811,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-apps-tasks";
- version = "0.4.0";
- sha256 = "1nfzl9hqsh2dwgxhwwx5w6yr6vvcbx0j72iprb42bp6hsv5lh5nx";
+ version = "0.5.0";
+ sha256 = "0cb61wqjq8za2d44i0h561hzp2nmyynr2fy24mbhj2gb0zcd14bc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Tasks SDK";
license = "unknown";
@@ -95252,8 +96823,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-appstate";
- version = "0.4.0";
- sha256 = "1z6k2kx20jgankjb1ynyhr0s9q8n2wln5ng8w0bd2gnflxnh26l7";
+ version = "0.5.0";
+ sha256 = "1gx52lnrp6mdsf168x0viwkj8pr49a0npf98a402ij3gndsn28aq";
libraryHaskellDepends = [ base gogol-core ];
description = "Google App State SDK";
license = "unknown";
@@ -95276,8 +96847,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-bigquery";
- version = "0.4.0";
- sha256 = "1c1gr2pwy9a0chysfi6v1imy15f5k689ys5lfnrgnl65ff0hqifq";
+ version = "0.5.0";
+ sha256 = "1z3rdh9qrabycxnxrzay6ddw5l97qws48hn78g5pkbn73z1dh22z";
libraryHaskellDepends = [ base gogol-core ];
description = "Google BigQuery SDK";
license = "unknown";
@@ -95288,8 +96859,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-bigquerydatatransfer";
- version = "0.4.0";
- sha256 = "0gccvjc81c3kz88iy4kd7ihp57z5p2a83ma23c1rishfl2cr3p00";
+ version = "0.5.0";
+ sha256 = "13pbbhk4ryg7vpkhkdvkjhc4sjnizdpjll4x9inb0zm8k1ki21ws";
libraryHaskellDepends = [ base gogol-core ];
description = "Google BigQuery Data Transfer SDK";
license = "unknown";
@@ -95300,8 +96871,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-bigtableadmin";
- version = "0.4.0";
- sha256 = "10hcaalxhx2ds2drjqry27kk416q87hcd020nvfzsnj4hl0msl5q";
+ version = "0.5.0";
+ sha256 = "0nxrcyf3spmhchmmjbszpv935lcwb979zfil9iwdigymq5wvfzgx";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Bigtable Admin SDK";
license = "unknown";
@@ -95312,8 +96883,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-billing";
- version = "0.4.0";
- sha256 = "0ilfy5bn1wk95wg4496ap9szl9lp6sh1sdr9ngg6vral05jjf7ck";
+ version = "0.5.0";
+ sha256 = "1zx7k5qhasvjz1568znasix6xrkxhsfhcsqwv6r1zd5a3pnzvaxm";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Billing SDK";
license = "unknown";
@@ -95324,8 +96895,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-binaryauthorization";
- version = "0.4.0";
- sha256 = "182ghkavwbi6y759235wrifwywyq2r7vc45xpgk979kcgk5jnjlk";
+ version = "0.5.0";
+ sha256 = "19gbql17mrxn4xgdbl96f245fckaj5gwwggn5f7xa59ahzbgfgay";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Binary Authorization SDK";
license = "unknown";
@@ -95336,8 +96907,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-blogger";
- version = "0.4.0";
- sha256 = "16yv9rld0q2hi553k72c9z6854r7n8h3yx2hf8fam3zmkcr1qad4";
+ version = "0.5.0";
+ sha256 = "027g8vj7msdzmkb7sjbd9s0p3zpxyal1l0daxbw1bhwr9lrd8j94";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Blogger SDK";
license = "unknown";
@@ -95348,8 +96919,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-books";
- version = "0.4.0";
- sha256 = "1zkz32mwarmfcjbqzjm3lpmdibfhgpra68cad2rh68bm2jkj71yf";
+ version = "0.5.0";
+ sha256 = "07rd2592hqvbx1lkz9hgrqjfy91a6g5vhy6d88yqzzyl1mkwq405";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Books SDK";
license = "unknown";
@@ -95360,8 +96931,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-chat";
- version = "0.4.0";
- sha256 = "12af5z86s3xxhn8ci4aqls3h2q52msmnh5ygd0igmdq0vn0278ij";
+ version = "0.5.0";
+ sha256 = "0dxwfml51xh3a04ghhr41dbaayq1c36klaiwams3rq95ak7mnq6i";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Hangouts Chat SDK";
license = "unknown";
@@ -95372,8 +96943,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-civicinfo";
- version = "0.4.0";
- sha256 = "1cvb0wbmv7a78d3bannd2n3ymny90dbnn68d979qgd8nz45r0k5z";
+ version = "0.5.0";
+ sha256 = "04kv6rnaiq1bxn46ir1l5w6w5qysb6f85ly3c9jksf0m5607gxxr";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Civic Information SDK";
license = "unknown";
@@ -95384,8 +96955,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-classroom";
- version = "0.4.0";
- sha256 = "0fyq54ddh2a8l0ai29x1dz4kcisx671mcg74p3c103iynfqnlyzr";
+ version = "0.5.0";
+ sha256 = "0hh6kbknnz7drd6ba1irr9wk5vhf51pgiskydgcav3f251j31sx4";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Classroom SDK";
license = "unknown";
@@ -95396,8 +96967,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudasset";
- version = "0.4.0";
- sha256 = "0ki8r45p59hdakhdpz4sxxkfgnm908limvsd8z8afrnw5jg2h9ac";
+ version = "0.5.0";
+ sha256 = "0368lmz0nsffs9pj1v4ab5yx5xhfh1g27c9l3fs49aihdrvij3yk";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Asset SDK";
license = "unknown";
@@ -95408,8 +96979,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-clouderrorreporting";
- version = "0.4.0";
- sha256 = "1ixc67805bv4klz1sxgjg83zydar1712n4zdpps6wnccl8rh0f3p";
+ version = "0.5.0";
+ sha256 = "1hsgrpc9cbazn5a1g6lsg5azd8bgl45b95djwy13bc6vi9xwsr28";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Stackdriver Error Reporting SDK";
license = "unknown";
@@ -95420,8 +96991,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudfunctions";
- version = "0.4.0";
- sha256 = "1fz3yxhaffgn8414ak95qkliwwkd8k7kxv7kyx2sdahhk6f7gckw";
+ version = "0.5.0";
+ sha256 = "1pv7h53zyqlp7wbw48hxxp3x9n515v0jdkjnpxqbszfhza28jsy9";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Functions SDK";
license = "unknown";
@@ -95432,8 +97003,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudidentity";
- version = "0.4.0";
- sha256 = "1zfyc73xbdzwcmzn9pd8y118bwwgw02igd5knjwsvlv7jdjrsghh";
+ version = "0.5.0";
+ sha256 = "1z4ncvzggpn52r75bl7y9mk19vdpsimxfflggvzz1lgy941ciyil";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Identity SDK";
license = "unknown";
@@ -95444,8 +97015,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudiot";
- version = "0.4.0";
- sha256 = "0h30a94vj2g58y87l6k8amzxpxr71q94jli48pq81ddas78486i3";
+ version = "0.5.0";
+ sha256 = "07zw4p2pi9gb90fzfg899xqbv50iwxc7rsb705wbpiyj80ynd85b";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud IoT SDK";
license = "unknown";
@@ -95456,8 +97027,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudkms";
- version = "0.4.0";
- sha256 = "14rhdja6wwrcdhh67avbi395n870rmyrnzfx7cqyfvvngpp4321v";
+ version = "0.5.0";
+ sha256 = "0wpjmxrp1gl663sqcfgalrgjqw90wcahjlsg9bm6ay9y7g8mic0m";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Key Management Service (KMS) SDK";
license = "unknown";
@@ -95476,12 +97047,36 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-cloudprivatecatalog" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-cloudprivatecatalog";
+ version = "0.5.0";
+ sha256 = "0y0z6wmsr2qsgj6wh4y37ph68fayk5szzk02xv0ncggrn5pbpm07";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Cloud Private Catalog SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "gogol-cloudprivatecatalogproducer" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-cloudprivatecatalogproducer";
+ version = "0.5.0";
+ sha256 = "1zq8pb3jm6gpp116q4x8i69jihgwnbyafdrnw5jxyl3ynr6bwll0";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Cloud Private Catalog Producer SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-cloudprofiler" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudprofiler";
- version = "0.4.0";
- sha256 = "188c11fn4cqf32d6jp0dfql4cg4fwn85hlw59q54i2yvpkxmw666";
+ version = "0.5.0";
+ sha256 = "022d1ix4a4n3kk108jl1yl2x13q57ahg4c9gvbxlvm7g3skz2rda";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Stackdriver Profiler SDK";
license = "unknown";
@@ -95492,8 +97087,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudscheduler";
- version = "0.4.0";
- sha256 = "13yx14k78vmfdslhj5wcd8kqnh77dy0svc1d2hhbb6qazs523liq";
+ version = "0.5.0";
+ sha256 = "1vb3xwnn59b3fzybp09lxpysij37q8rxg3392gnf09mqg57vlcpw";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Scheduler SDK";
license = "unknown";
@@ -95504,8 +97099,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudsearch";
- version = "0.4.0";
- sha256 = "01ra2xwqp33v1izmsx08xwxnif3qmgz51hsgmib1l409p425bzy0";
+ version = "0.5.0";
+ sha256 = "05nwvrdilz79hdlbzl853h3aj4gqcwql251slmzgg3s92haz0ygx";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Search SDK";
license = "unknown";
@@ -95516,8 +97111,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudshell";
- version = "0.4.0";
- sha256 = "0j1f9b050vifnsdp8hby3sry77wfvx7856z92xal2adgv23qcrv1";
+ version = "0.5.0";
+ sha256 = "08hngcd8v08j7gp7pfyx6jm10p1g5w80ljq511f0jg5i5s6pkpr9";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Shell SDK";
license = "unknown";
@@ -95528,8 +97123,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudtasks";
- version = "0.4.0";
- sha256 = "02dg92n6q6j5fzvm018dsa09n1ks1dx1bh6sjl74d8wqksnzsnfr";
+ version = "0.5.0";
+ sha256 = "1rgm3m1nsvfc96vipsqjaci6h21j8lxk0qb9jxs7qmifyhlycr5a";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Tasks SDK";
license = "unknown";
@@ -95540,20 +97135,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-cloudtrace";
- version = "0.4.0";
- sha256 = "0jgpx5aln442m1zgwp44c2hlwygjkvzlxyb9lh8jb1m4yvigwmrd";
+ version = "0.5.0";
+ sha256 = "12yh4ks9mwfk48qqgkp38vv7xrrlqlnx1d41x851xwb7hw61288r";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Stackdriver Trace SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-commentanalyzer" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-commentanalyzer";
+ version = "0.5.0";
+ sha256 = "1psy2vd6xj2rlnacay6srp0lcy4bvfnkpqjg5yvl41qx74w11dc9";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Perspective Comment Analyzer SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-composer" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-composer";
- version = "0.4.0";
- sha256 = "0r28qibn9sin49gfnzqwkxd86lp4jczq3s10ry3j84rnjn6rnwf6";
+ version = "0.5.0";
+ sha256 = "1hzdnrchczaha310sr5ndk7bwykvv6qy70hh2jcw6s5fg6kjmpi5";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Composer SDK";
license = "unknown";
@@ -95564,8 +97171,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-compute";
- version = "0.4.0";
- sha256 = "16cfb8z1aycc9zgdasfp1xxihdnb92wh0kg5gw7xkfbqxvh1gbfy";
+ version = "0.5.0";
+ sha256 = "1z0l373qb3swnli6987r5s6l1kkrrh4m3hc8mghchviz16hpwm30";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Compute Engine SDK";
license = "unknown";
@@ -95576,8 +97183,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-consumersurveys";
- version = "0.4.0";
- sha256 = "0ssk3b4iq6977ivs3zki6i4bnvwcyr9sf6pay3yi17g9r4g3fxqc";
+ version = "0.5.0";
+ sha256 = "13az55a4hdpgrsfa4s4x2l40yjlfl01ypba3p1z36ckv70yqvmax";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Consumer Surveys SDK";
license = "unknown";
@@ -95588,8 +97195,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-container";
- version = "0.4.0";
- sha256 = "1jx33ziy5lmdaxiipdd6hb3qzhy1zflc3jmzhjax9lsvla8j2krx";
+ version = "0.5.0";
+ sha256 = "06pjabcch02pknn8rqq2kl4zyb331v89iq3l6i279i5prqp8jkh2";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Kubernetes Engine SDK";
license = "unknown";
@@ -95600,8 +97207,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-containeranalysis";
- version = "0.4.0";
- sha256 = "0hqkm4xjbw927pazvcawa87kfyzk7x97k3ic85q8a8zy2gc30vsg";
+ version = "0.5.0";
+ sha256 = "059nkdz6zb9ffi5731dfrppk2cv5mcvh84x8b30yhfp63vs083dp";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Container Analysis SDK";
license = "unknown";
@@ -95612,8 +97219,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-containerbuilder";
- version = "0.4.0";
- sha256 = "18ggnqngj564mbm3zm5ip8kpc1diwgvxbr51qz60jcymwlgrzk50";
+ version = "0.5.0";
+ sha256 = "04jrblg8z1sji9xg6qbypxkbwzidx76hwy2c9kdgchjj298xifcc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Build SDK";
license = "unknown";
@@ -95629,8 +97236,8 @@ self: {
}:
mkDerivation {
pname = "gogol-core";
- version = "0.4.0";
- sha256 = "1bfmdhlf5l612mwln1may5l2vqlps2k8hhxsbkx8h4n1gblriic2";
+ version = "0.5.0";
+ sha256 = "0xvlrx4hzhwp3slinh8apnxlgxmispjjnmwsfbpi4p9n451ilx93";
libraryHaskellDepends = [
aeson attoparsec base bifunctors bytestring case-insensitive
conduit dlist exceptions hashable http-api-data http-client
@@ -95647,8 +97254,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-customsearch";
- version = "0.4.0";
- sha256 = "1iq951qmm264w1lkq958fw90fcvzjsq4skz73kim4xvgiwr4q7kj";
+ version = "0.5.0";
+ sha256 = "1rfc932v4pwffry7864in7q9g68xzqz2sharzwfn8ql04la88fg7";
libraryHaskellDepends = [ base gogol-core ];
description = "Google CustomSearch SDK";
license = "unknown";
@@ -95659,20 +97266,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-dataflow";
- version = "0.4.0";
- sha256 = "0k2dlr938ilqbj56z5p75fs6yl8q6qbkfld7rbay1pnx9ss6yf67";
+ version = "0.5.0";
+ sha256 = "0k27idpz6n8gilpm5cb1yz6x6x89qlnpqg7jzpp4ipld1h4m6xp1";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Dataflow SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-datafusion" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-datafusion";
+ version = "0.5.0";
+ sha256 = "0g90fa6mdicv4fyv999vild0accvsd4kr7mj9b008b5f4x286wpn";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Cloud Data Fusion SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-dataproc" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-dataproc";
- version = "0.4.0";
- sha256 = "0h3y503chr8srqjnk1hgvn4naayp09yvp0gf9np8da9mdxwk98c6";
+ version = "0.5.0";
+ sha256 = "0v1h6621v0aj415c8d11rfgri40vh3d1h3wl5i40nnz81qa11d5j";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Dataproc SDK";
license = "unknown";
@@ -95683,8 +97302,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-datastore";
- version = "0.4.0";
- sha256 = "018qjg7vwspd86fdzxsag732d1x81yag6h8bw5arq38cq50ak3fx";
+ version = "0.5.0";
+ sha256 = "17raqp9la38r2jbx5438hxi12blkckzfdgmfvnw05isdwnz1azjl";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Datastore SDK";
license = "unknown";
@@ -95695,8 +97314,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-debugger";
- version = "0.4.0";
- sha256 = "1q3nsda0w6zkl0j49l1ry6mr030b65mzf6hylny1gxxdy2mypq3l";
+ version = "0.5.0";
+ sha256 = "0a29kcihp90s6zvc8f9733rylsnf6098vkvqx7nsrg78x7qcz48p";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Stackdriver Debugger SDK";
license = "unknown";
@@ -95707,8 +97326,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-deploymentmanager";
- version = "0.4.0";
- sha256 = "123m18nqjfgdmgrbl6b6kwppnq16bd7i3gn7mjdlrk6dm6wh84j0";
+ version = "0.5.0";
+ sha256 = "0l52j1vlnhm5dnz9jfld2rixs511l567gw7dbd2ylnx77632fvsw";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Deployment Manager SDK";
license = "unknown";
@@ -95719,8 +97338,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-dfareporting";
- version = "0.4.0";
- sha256 = "0jsv73zmdkm1lz0kk41yqayy07cfz4c2xn7q3vlg85ksv7jnn5ha";
+ version = "0.5.0";
+ sha256 = "0s7s5cm7kdigx1212abzyv69p4gzpx4dkxvycip60p27chsiv47p";
libraryHaskellDepends = [ base gogol-core ];
description = "Google DCM/DFA Reporting And Trafficking SDK";
license = "unknown";
@@ -95731,8 +97350,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-dialogflow";
- version = "0.4.0";
- sha256 = "1qma0gilizalyrwafw7rvpqmyc5vcsg4pds6f089qhxm42jwcmlk";
+ version = "0.5.0";
+ sha256 = "02q9qj713gz75gzdvqlladddniyk0waf2gbfqnh7dyirn8l67k6a";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Dialogflow SDK";
license = "unknown";
@@ -95743,8 +97362,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-digitalassetlinks";
- version = "0.4.0";
- sha256 = "1lvgk9ba0l5i39zvswqbmwhhpsq0bijis6gp6n9wq30bgzf9a8vq";
+ version = "0.5.0";
+ sha256 = "04mfan610hzi9ar7rpmdwn4hw2m4v4n5hfz00si648vx6grn3835";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Digital Asset Links SDK";
license = "unknown";
@@ -95755,10 +97374,10 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-discovery";
- version = "0.4.0";
- sha256 = "1nvhmh95k1z9q4s1lfv078dlv33lm1qkwq5hkd0nysqaibfgql5x";
+ version = "0.5.0";
+ sha256 = "14igx8cs86v88vfvdw3fr090yk3f5dnpiggai1w2xnshbvg3gfdd";
libraryHaskellDepends = [ base gogol-core ];
- description = "Google APIs Discovery Service SDK";
+ description = "Google API Discovery Service SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -95767,8 +97386,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-dlp";
- version = "0.4.0";
- sha256 = "1hbd1bld98k7am5gr0569vsdzgd9w95nx3z40lhbr23f6fybv3w7";
+ version = "0.5.0";
+ sha256 = "0wd5l1bjiaw5cp78ppz81ab3cb9dpgjw5iy3hz9cg0y6y8x6smm5";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Data Loss Prevention (DLP) SDK";
license = "unknown";
@@ -95779,20 +97398,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-dns";
- version = "0.4.0";
- sha256 = "1y0n41pq031kcphpxvr4fzrvdgy4imfmkb5frazgb3acx874pqwc";
+ version = "0.5.0";
+ sha256 = "0wzlbpkaqd94dkgbg5nqss9kbyx2lqk0jbd97l9jmka1pmm0c30a";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud DNS SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-docs" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-docs";
+ version = "0.5.0";
+ sha256 = "1ig79q8iwfmyrjy7jb27fcdd05zjgpi0aikw597gkjj9vga5jzms";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Docs SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-doubleclick-bids" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-doubleclick-bids";
- version = "0.4.0";
- sha256 = "1f1x12gcab5lz1yig3p7b9fxdwr1mj4c5r7w1c97awg4wa4qyv61";
+ version = "0.5.0";
+ sha256 = "1jk725c2viyvbi4i12zlvwnz855jnpjjfc9qp5rbbfkkyf8904n3";
libraryHaskellDepends = [ base gogol-core ];
description = "Google DoubleClick Bid Manager SDK";
license = "unknown";
@@ -95803,8 +97434,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-doubleclick-search";
- version = "0.4.0";
- sha256 = "0mzwg6njbdvn0y3qqnal919gsj5fi8fcdsn6f438dfg481g93igk";
+ version = "0.5.0";
+ sha256 = "1kd0x3xb365r30gaz74wksny20dp96ynr9xvds2z4jnmabhlc1fx";
libraryHaskellDepends = [ base gogol-core ];
description = "Google DoubleClick Search SDK";
license = "unknown";
@@ -95815,8 +97446,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-drive";
- version = "0.4.0";
- sha256 = "1k2ndnqrnc1y5ymic1g6jpigg2vg3k6y1j3mm413zh5p7lvx4ngy";
+ version = "0.5.0";
+ sha256 = "0qbdchfni89h0l28db37dl5ysjlzckby59ng7026xhjkk5c8iyrl";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Drive SDK";
license = "unknown";
@@ -95827,20 +97458,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-driveactivity";
- version = "0.4.0";
- sha256 = "0d4mbp7jryma7lr63cy819986q3plc4cgqfn217gydq7ajdzpqds";
+ version = "0.5.0";
+ sha256 = "1n2frzhrz1rfbxm6lcxyd13q99wwlyp7c6n4pjy87skvd332xqsg";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Drive Activity SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-factchecktools" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-factchecktools";
+ version = "0.5.0";
+ sha256 = "1bga1plk1v57v6lpyk292ia0fzxks6lj0jq9d5gqz7k22yaqwzl5";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Fact Check Tools SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-file" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-file";
- version = "0.4.0";
- sha256 = "161xmzxsjynnfd51df7q553bmdzgmyvddd2dn84b3hc82n3xj4km";
+ version = "0.5.0";
+ sha256 = "1k0mc2vavnfpxx6h878iib3a15bp2h2mx7wq9pa3527syh5d424p";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Filestore SDK";
license = "unknown";
@@ -95851,8 +97494,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-firebase-dynamiclinks";
- version = "0.4.0";
- sha256 = "0qckmvkrgwa79c0zg1dlr0ihz666yfg2kilanjir0yylax2w87lb";
+ version = "0.5.0";
+ sha256 = "1hbknisl0358iznc45hhjixhdb3kh2b5chxiyq028ayl5w1p4rvn";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Firebase Dynamic Links SDK";
license = "unknown";
@@ -95863,8 +97506,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-firebase-rules";
- version = "0.4.0";
- sha256 = "0j8wd8vwbpiwkhijrlh9d4c004sqy0m99qxz9sv23nakmnmq04d0";
+ version = "0.5.0";
+ sha256 = "06779qj9vjhvzw0d60ddxlzmij7sjjv67npav670xkgs3q71b655";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Firebase Rules SDK";
license = "unknown";
@@ -95875,8 +97518,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-firebasehosting";
- version = "0.4.0";
- sha256 = "1g05b90fpyl2wqi3w0w6zp4qmzc82j4qvlja0ra5vnid129l5ll2";
+ version = "0.5.0";
+ sha256 = "0h2k4ymqn0r5vpgqb1pzcydmcwx2s0x4yim5j47b963qqwrwb7yc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Firebase Hosting SDK";
license = "unknown";
@@ -95887,8 +97530,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-firebaseremoteconfig";
- version = "0.4.0";
- sha256 = "0x6k93d8gdff2byjwk47z84rmdbsr676nml1638mvq6vwx1d4zv1";
+ version = "0.5.0";
+ sha256 = "1qpv689lrizcv308303ajzjvkh9z4hs256ibnmlk0835xzwcw1qc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Firebase Remote Config SDK";
license = "unknown";
@@ -95899,8 +97542,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-firestore";
- version = "0.4.0";
- sha256 = "07x7ksyx91wisah8lmmq3p4cln1wx1wzbyc2cwb5wp0n78r83hdh";
+ version = "0.5.0";
+ sha256 = "13y9g4h21mis26x663pv9lhi9i3r4s6x4pcnnwsk20a0s83k8x2k";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Firestore SDK";
license = "unknown";
@@ -95911,8 +97554,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-fitness";
- version = "0.4.0";
- sha256 = "0170r4pph2pfsp4phfq8sjj63cz6sn5nwlqsv8810zli4ghzrcsa";
+ version = "0.5.0";
+ sha256 = "0pbz6kjkrwcb1mz83gfmyf1mcdp6lsbdp450h79083xlpbwz0kwx";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Fitness SDK";
license = "unknown";
@@ -95923,8 +97566,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-fonts";
- version = "0.4.0";
- sha256 = "11cjwnil31sskinfzfgqcq1p5d8c7gzackba5ap5kydvs9l7k6hf";
+ version = "0.5.0";
+ sha256 = "0cgkdgvs65znknf1dpdr2jxn3wan705i89bwfzfwavwykacsjqbk";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Fonts Developer SDK";
license = "unknown";
@@ -95947,8 +97590,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-fusiontables";
- version = "0.4.0";
- sha256 = "0rb3h779wy1rw1hh0y1sdvz8wg31dbsa0980wbj12jlna13qaw82";
+ version = "0.5.0";
+ sha256 = "1bi9cjm7xn5dq74a7r5y95snbfjwljmfjl5pxfh2cjshpjgdpd67";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Fusion Tables SDK";
license = "unknown";
@@ -95959,8 +97602,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-games";
- version = "0.4.0";
- sha256 = "0asy79mx2aixh9fylzczr0d8wghzgkhf1xvssmc65w41gdw9w2gg";
+ version = "0.5.0";
+ sha256 = "0kdqw6l1fr37amhd830lyqrh87znbbbs2lxh7cbqr831gwj4qnpk";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play Game Services SDK";
license = "unknown";
@@ -95971,8 +97614,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-games-configuration";
- version = "0.4.0";
- sha256 = "08g29wc9x872mq2179r9sq8sy7b8mbl4q2ak0z9wcknckn6ziq0c";
+ version = "0.5.0";
+ sha256 = "0j2psg58f6ilvnvdq88vmq1b462dpfssij1pa6y5xmm62gvvv6i5";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play Game Services Publishing SDK";
license = "unknown";
@@ -95983,8 +97626,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-games-management";
- version = "0.4.0";
- sha256 = "1j43bfb0b4xmbjhzh732mncwqlz0j0vfx032kscfy4sx9hbb2kva";
+ version = "0.5.0";
+ sha256 = "0bnkv9vic8rly2ga4k73s8cnhvird3kv5nmy17560pw4q40a5d9n";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play Game Services Management SDK";
license = "unknown";
@@ -95995,8 +97638,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-genomics";
- version = "0.4.0";
- sha256 = "1n0iqmfryqzslhq14h7sg2fxis8wbl0lkxbmcb6v51yi3cbp3ckv";
+ version = "0.5.0";
+ sha256 = "0cygvkm388g0scmy51b2dmkj6kzpcdwpxd0w98dfmwhgvln3xgl2";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Genomics SDK";
license = "unknown";
@@ -96007,8 +97650,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-gmail";
- version = "0.4.0";
- sha256 = "0fwayrrd510jm1qvsnqckar3hhvq7s2sbpzqxkj4hpgh221rmi7f";
+ version = "0.5.0";
+ sha256 = "053l0k1h2wmwgqzywswhhmwh2275n6psiy8bk684dkzvdj1msbkz";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Gmail SDK";
license = "unknown";
@@ -96019,8 +97662,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-groups-migration";
- version = "0.4.0";
- sha256 = "1d3r5qkcj9370ykg54lcfh0qmj5fs0al6k8zdjpqybr1rpfb2pnn";
+ version = "0.5.0";
+ sha256 = "1sbmnq1ivy8dcgngfprd7g5g08fvzgwhr5hrixg4gmw95hwplafi";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Groups Migration SDK";
license = "unknown";
@@ -96031,20 +97674,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-groups-settings";
- version = "0.4.0";
- sha256 = "0z7ljg2k99n0rmgy85sp1wqvmybl48y2cv91p5b2kz9jrn3bvg60";
+ version = "0.5.0";
+ sha256 = "0l1bwgwic8q252idfv8d6jamfqfghwxq4jkaan3dwwlgjc2b6b3a";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Groups Settings SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-healthcare" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-healthcare";
+ version = "0.5.0";
+ sha256 = "1ny184rhkjs571ibnwznxhc8zxqc2bag7z0lj922v53js4bvbrld";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Cloud Healthcare SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-iam" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-iam";
- version = "0.4.0";
- sha256 = "04r8igvai15rh61pskg6pa4zgrl5ik0v4xk3kqqp8z9i927h1k1d";
+ version = "0.5.0";
+ sha256 = "1hxzg3v9b8va2s76q3jizz84vfjnjrckv5ysy9193dv6yk68h48p";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Identity and Access Management (IAM) SDK";
license = "unknown";
@@ -96055,8 +97710,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-iamcredentials";
- version = "0.4.0";
- sha256 = "0a5mx6fxp6k675bhysdpr2lg2i02y7x8a9w06gqqy77wa7p7a1jj";
+ version = "0.5.0";
+ sha256 = "021x1rgmws8r2mj1ji6wpj8lspn70m1pzal6zmj3j8cbgmvbzgra";
libraryHaskellDepends = [ base gogol-core ];
description = "Google IAM Service Account Credentials SDK";
license = "unknown";
@@ -96067,8 +97722,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-iap";
- version = "0.4.0";
- sha256 = "0ri312mp793ki23bp5kdlhpww2xj56p3zh5j865jvbsphm0jccvz";
+ version = "0.5.0";
+ sha256 = "04cph84f8h7qcg8jmz442qciq81ra2yw3jrffy8apyhy78x8zxlc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Identity-Aware Proxy SDK";
license = "unknown";
@@ -96079,8 +97734,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-identity-toolkit";
- version = "0.4.0";
- sha256 = "0sw4ddfbd9x3h2w76y7r3l1rjmqdw1zv1haacsi21ipv1ic5jgf3";
+ version = "0.5.0";
+ sha256 = "12yqcxcqvmlcrjla1qx6j78dk5qnfa8mia4nv1rr9y728w0k2ski";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Identity Toolkit SDK";
license = "unknown";
@@ -96091,8 +97746,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-indexing";
- version = "0.4.0";
- sha256 = "0l3g0lyldf6m83jzrpk3h0jvz6h6w9jah2ink9p7d9pszjvnwwq5";
+ version = "0.5.0";
+ sha256 = "1vyxrl7abwkz1mc08id08ncm9f1qgpkwc9mriyx3hlr9cvdj2fb0";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Indexing SDK";
license = "unknown";
@@ -96103,8 +97758,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-jobs";
- version = "0.4.0";
- sha256 = "0d0mr7fmikxkwxws77cnsf2mvs2g6lsa993bbxlzn2qpal9h9qrs";
+ version = "0.5.0";
+ sha256 = "1azggfjas13dqhl9kzqpr8bvks1gbjg1q7ia64ssxdj19mx1d5ii";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Talent Solution SDK";
license = "unknown";
@@ -96115,8 +97770,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-kgsearch";
- version = "0.4.0";
- sha256 = "080391qg2vzw8ana00azdwjdrkwx0k7a1n0l341dgmdqcj0w02rh";
+ version = "0.5.0";
+ sha256 = "0ynll6mm551x0jbx6bar5p97hy29g6nfq9mshlapmv82n9i2qqk4";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Knowledge Graph Search SDK";
license = "unknown";
@@ -96127,8 +97782,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-language";
- version = "0.4.0";
- sha256 = "0j0z2x4h3db2gr1pham390xx66rili6yi68slr9hydfj5brm9129";
+ version = "0.5.0";
+ sha256 = "0hw181ha949q97yyg35yvwwshign43wxb2xkg482g4fq86b2iy3h";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Natural Language SDK";
license = "unknown";
@@ -96151,8 +97806,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-libraryagent";
- version = "0.4.0";
- sha256 = "0b90mvy1wj6dv6403wvm5qh0qdzfdf3ck9h8cd0bvf95iraknxly";
+ version = "0.5.0";
+ sha256 = "1jk46i3a9z5i1451gyjzmqahcjg3r1w03y2x64dfpc309zwivaar";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Library Agent SDK";
license = "unknown";
@@ -96163,8 +97818,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-logging";
- version = "0.4.0";
- sha256 = "1ln3m7n0lksjd8sbdy3dvnrixq0gv86jh643chnpdif24yradkqp";
+ version = "0.5.0";
+ sha256 = "0795dsyq28w3kgw3f96w99ax6v24lbahmr0mvyql1cx4z2slqp82";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Stackdriver Logging SDK";
license = "unknown";
@@ -96175,8 +97830,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-manufacturers";
- version = "0.4.0";
- sha256 = "0qar60zzbnpnpy1154ccynwn2k0sdkmrvxvlscjswsqhgdpbrziw";
+ version = "0.5.0";
+ sha256 = "1l7dpp39yszay5aykiq81qi1f7l3fyz2s8zskyl37lvb46mv9ywr";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Manufacturer Center SDK";
license = "unknown";
@@ -96211,8 +97866,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-mirror";
- version = "0.4.0";
- sha256 = "1vfwziz3jyhz7k96hdrrlvndxnnvqysl9bg0ipcss2h2aiha5yd0";
+ version = "0.5.0";
+ sha256 = "1nb7wydv7z5ip7jnj1928kfk57sk67ng3dhz9hq136lajl0lqy4r";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Mirror SDK";
license = "unknown";
@@ -96223,8 +97878,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-ml";
- version = "0.4.0";
- sha256 = "198hid538lxwav21r0pxkb57rlb6wzzgyjfylc20m02p72790858";
+ version = "0.5.0";
+ sha256 = "01n7jhi8p0db7dhbjm7ll3r6yqw0cfi6l48r1ms0kcrscdfij93v";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Machine Learning Engine SDK";
license = "unknown";
@@ -96235,8 +97890,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-monitoring";
- version = "0.4.0";
- sha256 = "0k0fxnym1xg0jvvssys76xvdx39jicd6cd507qg47izww0vzv618";
+ version = "0.5.0";
+ sha256 = "1754cssjhcfxn6g71vvq7jspgbwqn2a1821lhhn2ybhq8ngiay8i";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Stackdriver Monitoring SDK";
license = "unknown";
@@ -96247,8 +97902,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-oauth2";
- version = "0.4.0";
- sha256 = "07vjw6xwbrvihwhsy7v28gw9ww71skvscc0h21lgdibhksza2mzb";
+ version = "0.5.0";
+ sha256 = "0pnwmm0vn0hcdnww13b65ii5wapy8638svkf3srh2ap161ijf443";
libraryHaskellDepends = [ base gogol-core ];
description = "Google OAuth2 SDK";
license = "unknown";
@@ -96259,8 +97914,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-oslogin";
- version = "0.4.0";
- sha256 = "0k8g6lmclzhccdz5zyb4pnzv71d9cn429gi6px1jrls3w0ai8jih";
+ version = "0.5.0";
+ sha256 = "02gzg06qlli84wvq6cr1xch8qxk70r5kgs5hqaqfqsr7rg79vfvd";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud OS Login SDK";
license = "unknown";
@@ -96271,8 +97926,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-pagespeed";
- version = "0.4.0";
- sha256 = "0jgkvkpk1lw7jcjc04n8p4dw7m1by4jzi6i0c3r72sjiflmvxds3";
+ version = "0.5.0";
+ sha256 = "116diwib3xi34znhl9b2hx3y4m3nqyqfkry0zh2aqknrxx3mpyl7";
libraryHaskellDepends = [ base gogol-core ];
description = "Google PageSpeed Insights SDK";
license = "unknown";
@@ -96283,8 +97938,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-partners";
- version = "0.4.0";
- sha256 = "1035fn0ifypfv69ks9z1c960g28vkwkcfix1d01cmkmzn4a0m0wa";
+ version = "0.5.0";
+ sha256 = "12wfzjf3hvwba4ccnymxrqwk2hzi1zcw5h53iqk33yscx6s30jzm";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Partners SDK";
license = "unknown";
@@ -96295,8 +97950,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-people";
- version = "0.4.0";
- sha256 = "1x5vz0i722fj6ps7ggmjb2xnxbbyrln2s3940w575gb79c0lfji3";
+ version = "0.5.0";
+ sha256 = "01msa1r6p96kgz9isnnqy6ndsrh579c25m9sw43azsij8l1dd43j";
libraryHaskellDepends = [ base gogol-core ];
description = "Google People SDK";
license = "unknown";
@@ -96319,8 +97974,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-play-moviespartner";
- version = "0.4.0";
- sha256 = "0wrhx81pph7yw0a613k66l1p9h21y9vadi3ax8ah5ciy1vxnymh8";
+ version = "0.5.0";
+ sha256 = "0cjkikknkk4la3nlw8mn1r0xdq871sd9wakyvsznm9wjqrzysn97";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play Movies Partner SDK";
license = "unknown";
@@ -96331,8 +97986,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-playcustomapp";
- version = "0.4.0";
- sha256 = "1hb0498mm8fxl93bwjr633yi371kib27nrd7ba3nylrnv21bxp8k";
+ version = "0.5.0";
+ sha256 = "0dfiwncjngfaj5i3sf38q3qkrlggvpiw9d08xpwr5rbcbi9qp43i";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Play Custom App Publishing SDK";
license = "unknown";
@@ -96343,8 +97998,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-plus";
- version = "0.4.0";
- sha256 = "0n546pnmvsfjp32xy2xcqlns1f06ipx0ll0kiblsalrq16gd2bcr";
+ version = "0.5.0";
+ sha256 = "00njgd754pzyss5n3ilnaqr1qd1f4rfz1q9m4x1a3g73fja1yzgh";
libraryHaskellDepends = [ base gogol-core ];
description = "Google + SDK";
license = "unknown";
@@ -96355,8 +98010,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-plus-domains";
- version = "0.4.0";
- sha256 = "07nz7chwi9mls8i3h949p1ip7bfd39n61f1928x1ffik3kzrybpv";
+ version = "0.5.0";
+ sha256 = "1p3qdj0vjz01yrkdjxsikriy755028v4yhw1d27ypriqh7k5widk";
libraryHaskellDepends = [ base gogol-core ];
description = "Google + Domains SDK";
license = "unknown";
@@ -96367,8 +98022,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-poly";
- version = "0.4.0";
- sha256 = "1ixidwaczgsys7pnj4pf67j61pa250nhvb9ip0fb9lb93l0ykijd";
+ version = "0.5.0";
+ sha256 = "1da600ahg4x5k8vsw37cr5wrqrz8sq3mhir874fk5xpf2kdqdmkp";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Poly SDK";
license = "unknown";
@@ -96379,8 +98034,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-prediction";
- version = "0.4.0";
- sha256 = "06miyjhxvyp05nvdni56h4ldhs0ca3sl3n4nrx8fc6s2dam83q8b";
+ version = "0.5.0";
+ sha256 = "17dkm1wi5im1an1izcca2v432c2d86i74h6wlcyy92g7a86ajc2f";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Prediction SDK";
license = "unknown";
@@ -96391,8 +98046,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-proximitybeacon";
- version = "0.4.0";
- sha256 = "17gmd37mrg86afbx3rn4y4c48k8mi81dwrc4697rbhripviqf4fm";
+ version = "0.5.0";
+ sha256 = "1n49i32isjx3iljj035yc4y1lv3d01mpf15ab4ji49x01a0qfs5a";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Proximity Beacon SDK";
license = "unknown";
@@ -96403,8 +98058,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-pubsub";
- version = "0.4.0";
- sha256 = "0cjdmfzhxk3rb55q2aza8vs0p1p51j1i5ypnafwcnhvx90910074";
+ version = "0.5.0";
+ sha256 = "1pfw3pz8yr7slbyhp9rf32brqck2l2a60lx3ysz4pjjmfc72rahz";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Pub/Sub SDK";
license = "unknown";
@@ -96415,8 +98070,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-qpxexpress";
- version = "0.4.0";
- sha256 = "02p4jncgfcr8jbwldjyc2zn7p6nwbjccw8la1dy9dy2c863pvjrj";
+ version = "0.5.0";
+ sha256 = "1xqlqv680w1rr3sqzq5k8kk1xcxagh8zk5g6rqs83xjr1j5lfmsr";
libraryHaskellDepends = [ base gogol-core ];
description = "Google QPX Express SDK";
license = "unknown";
@@ -96427,8 +98082,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-redis";
- version = "0.4.0";
- sha256 = "1jka9qfnhsrg3i7d7adcigwimffp3w3fm65dvz905d5sk0fkja0j";
+ version = "0.5.0";
+ sha256 = "0x774h1pryr12s6ndcgdvbwqx1nw2sc8yln147hjf4mg3fva6gkc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Memorystore for Redis SDK";
license = "unknown";
@@ -96439,8 +98094,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-remotebuildexecution";
- version = "0.4.0";
- sha256 = "1p2llw3l79313hp3lmd2gvbfhxgyzw6g4yw08psi0zb3iqz5gqaj";
+ version = "0.5.0";
+ sha256 = "037biha22xv1ayb3zxx5dc7a86sbmr5zwmg1m24f3bbsgjfnn5ms";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Remote Build Execution SDK";
license = "unknown";
@@ -96451,8 +98106,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-replicapool";
- version = "0.4.0";
- sha256 = "1xdspcwbcfd48gf80i6dwnhllnbm4rh8c1wfk31gs52y5w3haxgd";
+ version = "0.5.0";
+ sha256 = "173ywr9vc69jf5s5vncwjby75mgfbfxw3m42jyi7dcyrxc4jbg68";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Replica Pool SDK";
license = "unknown";
@@ -96463,8 +98118,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-replicapool-updater";
- version = "0.4.0";
- sha256 = "0xw7js7b1w633z56bq7lz4kw7m2gz7c4my3gc868s4xv4a4hzsga";
+ version = "0.5.0";
+ sha256 = "1wi8x5zj61daln96dqlhq8ki57kl2k6jjz4sm1lbqffcgq66743d";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Compute Engine Instance Group Updater SDK";
license = "unknown";
@@ -96475,8 +98130,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-resourcemanager";
- version = "0.4.0";
- sha256 = "04kvnzf20km94dx6znx3zravqi3khl3kws6y9rxwjivhiyim11dp";
+ version = "0.5.0";
+ sha256 = "1sd8zaigvpbq591nwsjyxf9jf9hxc00mjhwfc0i6mahbgax73764";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Resource Manager SDK";
license = "unknown";
@@ -96495,12 +98150,24 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-run" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-run";
+ version = "0.5.0";
+ sha256 = "0219vjrlpq16akzwsbk8kfh7p8gc8kkczcvg5a3l6lssxjp87lfg";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Cloud Run SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-runtimeconfig" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-runtimeconfig";
- version = "0.4.0";
- sha256 = "16nykcs4iknqnyj3p1wdqvdb5sbmg0mqf1qvm291q3vsf9hsapjb";
+ version = "0.5.0";
+ sha256 = "057qlad1mipdyif8n6wmhwinknnf0qgb65wbw0484b2yzcdj3zd1";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Runtime Configuration SDK";
license = "unknown";
@@ -96511,8 +98178,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-safebrowsing";
- version = "0.4.0";
- sha256 = "1lw498y5dbb2yq9zigsw9cq5rkhzvvix94m4ir9d4ifa29xi9fmp";
+ version = "0.5.0";
+ sha256 = "0690xz81mz8gn0qgkg11y5sx57kjmvd4lryqw8rblrh7ixypn8wb";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Safe Browsing SDK";
license = "unknown";
@@ -96523,8 +98190,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-script";
- version = "0.4.0";
- sha256 = "08w8xln6wcvcp911vmfaixzgwfmg4jxazprkyrr8mwg4l45nr15s";
+ version = "0.5.0";
+ sha256 = "1ckjj9i8fqd3igz7bnjmri5pgj3risqarcivrr3nmd1d045rx1zx";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Apps Script SDK";
license = "unknown";
@@ -96535,20 +98202,32 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-searchconsole";
- version = "0.4.0";
- sha256 = "1m49h2kcs2xkxk5hy3kvyi2s3wfylkdwkfh8ckkv0nfcjxz0nxvx";
+ version = "0.5.0";
+ sha256 = "0k971p9c4yhscnxxfhxlb5wnkzjxd2k9q8qnxlbnvp7ch7z1yv00";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Search Console URL Testing Tools SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "gogol-securitycenter" = callPackage
+ ({ mkDerivation, base, gogol-core }:
+ mkDerivation {
+ pname = "gogol-securitycenter";
+ version = "0.5.0";
+ sha256 = "1axvvz60vdvjpd9bd0516fhbqnk8cjb3x52sgf42fq00dhwxy3mj";
+ libraryHaskellDepends = [ base gogol-core ];
+ description = "Google Cloud Security Command Center SDK";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"gogol-servicebroker" = callPackage
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-servicebroker";
- version = "0.4.0";
- sha256 = "15cd8hscgddwzafjcl5zj47qbv5pfs5x44h3h39315xyabps3l01";
+ version = "0.5.0";
+ sha256 = "13726hq8c3g7gqwz2zrzx0k6vywv5ggd6bl90kkw09118zvyc13a";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service Broker SDK";
license = "unknown";
@@ -96559,8 +98238,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-serviceconsumermanagement";
- version = "0.4.0";
- sha256 = "0mql8dlw07dmqrs98yb7wpgpz2dsa4y6npp9brakxpglnhqnncgi";
+ version = "0.5.0";
+ sha256 = "1pln47lpr1wb9w84z8lmskbn49456k9h4awi67mdfg10jzh4n46j";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service Consumer Management SDK";
license = "unknown";
@@ -96571,8 +98250,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-servicecontrol";
- version = "0.4.0";
- sha256 = "08xy568njzlpgs7crrxizv0nv2j9jrm3f28mv2zc3pvpi6hvf6in";
+ version = "0.5.0";
+ sha256 = "01vfjg16x6vpabvb1q2ipnv04j7r7fxxvcbjgq08phq0fnnk8sd1";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service Control SDK";
license = "unknown";
@@ -96583,8 +98262,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-servicemanagement";
- version = "0.4.0";
- sha256 = "1z9km7g6550kpwb9g0x43960xra2p0zaqc5kiy0pxzg84spwx300";
+ version = "0.5.0";
+ sha256 = "0bzcv7z5n2ykkydq4wc5ka11cc82y17x4rb26k3hbsak62qx67j2";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service Management SDK";
license = "unknown";
@@ -96595,8 +98274,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-servicenetworking";
- version = "0.4.0";
- sha256 = "15f09ixf7lw0knb3vclj27fp8y7x818rhpkdvs2a22crsk7wai31";
+ version = "0.5.0";
+ sha256 = "1aja2maxgjhxgqf6agngbx37w02ifb1b5ypnqdwwpi1615qxvrsh";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service Networking SDK";
license = "unknown";
@@ -96607,8 +98286,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-serviceusage";
- version = "0.4.0";
- sha256 = "1dc56jlz9qyq3x2acpgb55hjdxdgq73bgik9yc57h0cr237g46pp";
+ version = "0.5.0";
+ sha256 = "0zvnd7pl5q73kzdx2x19zrw0rk334l8xlqawlbl5p1zimvvsbpkl";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service Usage SDK";
license = "unknown";
@@ -96619,8 +98298,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-serviceuser";
- version = "0.4.0";
- sha256 = "04akaaw9in2s1q4mf6w7isg3p8ck5mg904lanmidbsz01x70mflq";
+ version = "0.5.0";
+ sha256 = "1xfgp5nm23c8hjzkjamk4qc6qs5j4q3z5pxrlsbnir7lqv73jnwf";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Service User SDK";
license = "unknown";
@@ -96631,8 +98310,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-sheets";
- version = "0.4.0";
- sha256 = "12v7lrp6b0jiv7rcicxw7p9b7jr768wamhddvglib98ravcjr5n3";
+ version = "0.5.0";
+ sha256 = "0wl00f6p5qylbffhm3jw0123aqfc3acls91150nj3ncfl55q0g28";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Sheets SDK";
license = "unknown";
@@ -96643,8 +98322,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-shopping-content";
- version = "0.4.0";
- sha256 = "1pkh3f7yjh9g1crqkxpxl6fac4ca9rlnf6d4v2nhmjrjr8spwrmr";
+ version = "0.5.0";
+ sha256 = "0b7i6vc5cw1sigvkpn8k1q8k06alx36h7fw520swhyk2p3v5shmh";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Content API for Shopping SDK";
license = "unknown";
@@ -96655,8 +98334,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-siteverification";
- version = "0.4.0";
- sha256 = "1z4f8lmw5pgzj5h6pdayrgs83yhxbslkhp2c69ykl4n85qzsrdvk";
+ version = "0.5.0";
+ sha256 = "0lapqji0cwf0gqp4855wqg8h1xd61bncya5b7b25lnqlld7gnp9w";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Site Verification SDK";
license = "unknown";
@@ -96667,8 +98346,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-slides";
- version = "0.4.0";
- sha256 = "0br96z0lvdqbbd4jr9qjisjx83a8w76hrqs68pxiyrpkdkq5vd81";
+ version = "0.5.0";
+ sha256 = "0b76hx0bllbpb25d59pqlz0clcv34pkw8rpd7g7g1916sqrsd7dx";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Slides SDK";
license = "unknown";
@@ -96679,8 +98358,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-sourcerepo";
- version = "0.4.0";
- sha256 = "1r57m08ggz8j9r6wya7wkhvnb8answ7mkvm9vsw7sp6vh6bfqn30";
+ version = "0.5.0";
+ sha256 = "0j3hcc9fq2aksx1nrvrb0g6xwv86a4n8l2vfgyyzji3gknbqx9ff";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Source Repositories SDK";
license = "unknown";
@@ -96691,8 +98370,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-spanner";
- version = "0.4.0";
- sha256 = "1zk0078ig63rmqdxm02bw4x8a4a0dmlqw8f3cmay0w85991m0kkz";
+ version = "0.5.0";
+ sha256 = "0z9aycaqp3rb798mcrmrni9jfa8r9j2gjgmlxjx9icg9wh4bs5h4";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Spanner SDK";
license = "unknown";
@@ -96703,8 +98382,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-spectrum";
- version = "0.4.0";
- sha256 = "1x8z4h7g7a60pkdb4j7j85i0wvn4vpi3zjm2g0m91gzghgwankx0";
+ version = "0.5.0";
+ sha256 = "12h0rgnldgjf6qkvjbjsjcbw9vn3wlbs02baybyf70hmp58n8f0k";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Spectrum Database SDK";
license = "unknown";
@@ -96715,10 +98394,10 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-speech";
- version = "0.4.0";
- sha256 = "1syq64vrdbvyi3ch4ppz2aczf37nc0whns00hv8rg7v2w6mwa3kf";
+ version = "0.5.0";
+ sha256 = "1snmajsca1fdq1c98f1pqvghlwgff6vsmz47wvwsjjjqz15nx9j1";
libraryHaskellDepends = [ base gogol-core ];
- description = "Google Cloud Speech SDK";
+ description = "Google Cloud Speech-to-Text SDK";
license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -96727,8 +98406,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-sqladmin";
- version = "0.4.0";
- sha256 = "1vqwylh42bi1rz8fykrpkdfsy06d901mnz5k8bikbq3fv5hc853m";
+ version = "0.5.0";
+ sha256 = "0yyamr3mgwg1gxy1w258gg6gvzcymmqmknkabgxp2p5kkqsyqgv1";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud SQL Admin SDK";
license = "unknown";
@@ -96739,8 +98418,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-storage";
- version = "0.4.0";
- sha256 = "1cn41jzrwxyxwmb96wgb42pbslhh3rnydnyc6yvi37n6ngp49gab";
+ version = "0.5.0";
+ sha256 = "0jsmgb311iinbmj12chbch3z0d56k9vqqvhjzfcilx05m1pm9xan";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Storage JSON SDK";
license = "unknown";
@@ -96751,8 +98430,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-storage-transfer";
- version = "0.4.0";
- sha256 = "0vdqqlv0c45k0xp1plxj8jzrb5xbkj258v7q50zi1jijv0rqnj2i";
+ version = "0.5.0";
+ sha256 = "1zlfszkh59p4pca2n2scxa02ln4va6k5vjz41186350lfxqwba4r";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Storage Transfer SDK";
license = "unknown";
@@ -96763,8 +98442,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-streetviewpublish";
- version = "0.4.0";
- sha256 = "0gyxs1kawqvbz851hd587zw999vbggv0z4hc5glc3saskl41nvpf";
+ version = "0.5.0";
+ sha256 = "07w3s049sglcvh8s94kbhj8l3irscji9s14bl493p7bwj1n3dbsb";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Street View Publish SDK";
license = "unknown";
@@ -96775,8 +98454,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-surveys";
- version = "0.4.0";
- sha256 = "1x15hdm3p7zfqadb5xnms0d6cp1gg1kk0xc81zls4hg6ryzpw43k";
+ version = "0.5.0";
+ sha256 = "0p9qkqxddgv8m24h2g58hiwhcpwndxl9r9gifjgpbh4mlcsx42q1";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Surveys SDK";
license = "unknown";
@@ -96787,8 +98466,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-tagmanager";
- version = "0.4.0";
- sha256 = "0faihzsl4i4h7ns618c1dsih9a9xplvpixmnivpxyq4z18c7mzip";
+ version = "0.5.0";
+ sha256 = "116wc01i63q519bbqdi7ln12cvbfdsf6jdfbxrmz7zrzj4zw27l5";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Tag Manager SDK";
license = "unknown";
@@ -96811,8 +98490,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-testing";
- version = "0.4.0";
- sha256 = "1qfv2qi7l2dqv7bqj1ajbmpi77a4gcr2hywjyk2s3ixyv8m97j8g";
+ version = "0.5.0";
+ sha256 = "1fawwvbcy51ri9szfiknkrqvhapdhfw2qpbvdf10mjn5jpiqmj39";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Testing SDK";
license = "unknown";
@@ -96823,8 +98502,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-texttospeech";
- version = "0.4.0";
- sha256 = "18jxvrfr90jza5k75bmnf8g2z06z5m7c14hjshi39vf8x45sh8bv";
+ version = "0.5.0";
+ sha256 = "0na9qf1307lg9bf23pd20wic530hy8hdqy95g65gdjz9g2969flk";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Text-to-Speech SDK";
license = "unknown";
@@ -96835,8 +98514,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-toolresults";
- version = "0.4.0";
- sha256 = "1kh3vyzgg21sy4pl9gxx06g2pvyd4n6b6m0slq0wi160zhwnbm3b";
+ version = "0.5.0";
+ sha256 = "1m84mv6nbbf142ss1dgk91qhciy9wlfshf3hybb364wxqf4bkq93";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Tool Results SDK";
license = "unknown";
@@ -96847,8 +98526,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-tpu";
- version = "0.4.0";
- sha256 = "0wf8arqp75rzs862s9b6jg9s2g39kmrw60mgx1n5fn13vj88i931";
+ version = "0.5.0";
+ sha256 = "1w6qcqz13sgk05i49nkx6pkxgsyc8pxy0rjyqlbribiwy30isxv3";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud TPU SDK";
license = "unknown";
@@ -96859,8 +98538,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-tracing";
- version = "0.4.0";
- sha256 = "10k5fr7m8m60z5bd87y54j68kq09ybh95mnaw5fzy44xr3w7jbwy";
+ version = "0.5.0";
+ sha256 = "12f84mhfyckic7kq92xyry4xfipic50znzm4q37vphjfsv9m9r4i";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Tracing SDK";
license = "unknown";
@@ -96871,8 +98550,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-translate";
- version = "0.4.0";
- sha256 = "0vkls4digsig95d54fzc6s222h9zvyqrivnyksyir6d897awfagn";
+ version = "0.5.0";
+ sha256 = "1ida8wkwp0fqvzsnbd99c842b6a3bcg5nw84aicffn95vwbl9rma";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Translation SDK";
license = "unknown";
@@ -96883,8 +98562,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-urlshortener";
- version = "0.4.0";
- sha256 = "05in4ydrjd9xjijb1mvzyn1z2caijg1jyby3lmd11i8bmwdjllq3";
+ version = "0.5.0";
+ sha256 = "0a5fxcrmwjncxz6l9mhgj44i8lk8rnbgqacvkdmmhylc0yh3al2l";
libraryHaskellDepends = [ base gogol-core ];
description = "Google URL Shortener SDK";
license = "unknown";
@@ -96907,8 +98586,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-vault";
- version = "0.4.0";
- sha256 = "16jrgigvhcl05fykxfh6qa4zdbibdf9rhig2i367h121k28l56lw";
+ version = "0.5.0";
+ sha256 = "1dzk79y10396qq6l3y7zs9jm5rga02yxvdhp8dm7af9lb3izmjnc";
libraryHaskellDepends = [ base gogol-core ];
description = "Google G Suite Vault SDK";
license = "unknown";
@@ -96919,8 +98598,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-videointelligence";
- version = "0.4.0";
- sha256 = "0xpayfcxcaq3lgbnr1q5yl8nx635kly6y1cdc18dq9a7y79fhxzb";
+ version = "0.5.0";
+ sha256 = "16jczzbvk4ww8li0yyk6clx4l2b28g48pxsckic9sdsqy5xj709c";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Video Intelligence SDK";
license = "unknown";
@@ -96931,8 +98610,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-vision";
- version = "0.4.0";
- sha256 = "0w5jini2yhm33pa38mkqkw2lpxjrxal9q6h1dh6kmr2lh489lcb0";
+ version = "0.5.0";
+ sha256 = "1h71p2a35lwj3p8zw6mvzxas9yyw5diss0lyg2w2nqsx8cynh7rb";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Cloud Vision SDK";
license = "unknown";
@@ -96943,8 +98622,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-webmaster-tools";
- version = "0.4.0";
- sha256 = "1ahjxr2m4x3bn5hjk7sygkpwnh7cy75cw7jap3p8qr9akqc5pb48";
+ version = "0.5.0";
+ sha256 = "029kbgzsbqyd8mbflkca8djmavmphddcldkjf8ds5jkp1qpqnnha";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Search Console SDK";
license = "unknown";
@@ -96955,8 +98634,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-websecurityscanner";
- version = "0.4.0";
- sha256 = "1z6dk8a538ljkba82k9x8jlvwb9qxhc1wfm5h9fgyhwa671fhj3y";
+ version = "0.5.0";
+ sha256 = "1mcr0cs8pnlbwwsmlwjmkclvcwdwzhg2zqw9bqljw3iism43m9dq";
libraryHaskellDepends = [ base gogol-core ];
description = "Google Web Security Scanner SDK";
license = "unknown";
@@ -96967,8 +98646,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-youtube";
- version = "0.4.0";
- sha256 = "1vi8mmiagfq4i34q7hcw85mz02l7pjd9ri8g5vk62b8n1kki46lf";
+ version = "0.5.0";
+ sha256 = "0gamhcnhvxkybsnikwrlmin0fkf1h3fcflk4vg1zcm1sg7sk9xlj";
libraryHaskellDepends = [ base gogol-core ];
description = "Google YouTube Data SDK";
license = "unknown";
@@ -96979,8 +98658,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-youtube-analytics";
- version = "0.4.0";
- sha256 = "1hq2g199i8wpr7br21ijsryk2dgv5rr7zryv5xsrql04mqiwq9d0";
+ version = "0.5.0";
+ sha256 = "0fnrmabcw5kfl8s5nam6wl8qr6ri693wk6wlhvynj1skc54v6l4s";
libraryHaskellDepends = [ base gogol-core ];
description = "Google YouTube Analytics SDK";
license = "unknown";
@@ -96991,8 +98670,8 @@ self: {
({ mkDerivation, base, gogol-core }:
mkDerivation {
pname = "gogol-youtube-reporting";
- version = "0.4.0";
- sha256 = "060bha9j7fsyhbq94md5c26dg2xqfzsfkw0jmqv3shsbjd1k4993";
+ version = "0.5.0";
+ sha256 = "0cb88q2g67cx9zndf40a0c62cw7r32g1ps12a2ks0gz863bq53vn";
libraryHaskellDepends = [ base gogol-core ];
description = "Google YouTube Reporting SDK";
license = "unknown";
@@ -97135,6 +98814,8 @@ self: {
];
description = "Bindings to the Google Geocoding API (formerly Maps Geocoding API)";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"google-oauth2" = callPackage
@@ -97264,6 +98945,8 @@ self: {
];
description = "Bindings to the Google Maps Static API (formerly Static Maps API)";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"google-translate" = callPackage
@@ -97341,8 +99024,6 @@ self: {
];
description = "proxy gopher over http";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"gopherbot" = callPackage
@@ -97577,6 +99258,25 @@ self: {
broken = true;
}) {};
+ "gothic" = callPackage
+ ({ mkDerivation, aeson, base, binary, bytestring, connection
+ , exceptions, hashable, http-client, http-client-tls, http-conduit
+ , http-types, lens, lens-aeson, scientific, text, unix
+ , unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "gothic";
+ version = "0.1.1";
+ sha256 = "0bm8m77lcvi9c8smv0z4n23f6gw3aw47g0q47aqjcpipwmjcqvhm";
+ libraryHaskellDepends = [
+ aeson base binary bytestring connection exceptions hashable
+ http-client http-client-tls http-conduit http-types lens lens-aeson
+ scientific text unix unordered-containers vector
+ ];
+ description = "A Haskell Vault KVv2 secret engine client";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"gotta-go-fast" = callPackage
({ mkDerivation, base, brick, cmdargs, directory, random, text
, time, vty, word-wrap
@@ -97637,6 +99337,8 @@ self: {
pname = "gpio";
version = "0.1.0.3";
sha256 = "1ky4i7hyx2cmxj75kx34b8w4rxrvags88xm7fbfjsb76bs1m9z10";
+ revision = "1";
+ editedCabalFile = "076vk0xf92ijl0yr1mcfnzmdlgm76nzk4s8k1xwmf6b1vj8240s7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -97722,6 +99424,35 @@ self: {
broken = true;
}) {};
+ "grab" = callPackage
+ ({ mkDerivation, base, criterion, hedgehog }:
+ mkDerivation {
+ pname = "grab";
+ version = "0.0.0.1";
+ sha256 = "1jsi8g538w4a441w412siqvrkzmvx8sff74nax93b5paiaqfwcrf";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base hedgehog ];
+ benchmarkHaskellDepends = [ base criterion ];
+ description = "Applicative non-linear consumption";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "grab-form" = callPackage
+ ({ mkDerivation, base, containers, grab, hedgehog, text }:
+ mkDerivation {
+ pname = "grab-form";
+ version = "0.0.0.2";
+ sha256 = "1mi21d3p7jwmwmn69f7xy6zkks0w11kkwwvzmhxsd84zsafnis8k";
+ libraryHaskellDepends = [ base containers grab text ];
+ testHaskellDepends = [ base containers hedgehog text ];
+ description = "Applicative parsers for form parameter lists";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"graceful" = callPackage
({ mkDerivation, base, directory, filepath, hspec, network, process
, stm, unix
@@ -97740,6 +99471,19 @@ self: {
broken = true;
}) {};
+ "grafana" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, text }:
+ mkDerivation {
+ pname = "grafana";
+ version = "0.1";
+ sha256 = "0k8a8bwyn9hvn4j3wn4crqdjg2xh36zxlka0ddx3qj6fmbfl1lps";
+ libraryHaskellDepends = [
+ aeson aeson-pretty base bytestring text
+ ];
+ description = "grafana datatypes for dashboards";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"graflog" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, hspec, mtl
, test-fixture, text, text-conversions
@@ -98350,8 +100094,8 @@ self: {
}:
mkDerivation {
pname = "graphite";
- version = "0.10.0.0";
- sha256 = "0cgsn0nwixgcamg9yp4qsz88dmm3rdmkcl7ahlnpvksgw7llnxa8";
+ version = "0.10.0.1";
+ sha256 = "1aqadpg3jm9f1z43ylpmh512gi320kqnnfl6qksp2l1w26lnd0vs";
libraryHaskellDepends = [
base bytestring cassava containers deepseq graphviz hashable
process QuickCheck random semigroups text unordered-containers
@@ -98361,6 +100105,8 @@ self: {
benchmarkHaskellDepends = [ base criterion deepseq ];
description = "Graphs and networks library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"graphmod" = callPackage
@@ -98400,16 +100146,25 @@ self: {
}) {};
"graphql" = callPackage
- ({ mkDerivation, attoparsec, base, tasty, tasty-hunit, text }:
+ ({ mkDerivation, aeson, base, hspec, hspec-expectations, megaparsec
+ , raw-strings-qq, text, transformers, unordered-containers
+ }:
mkDerivation {
pname = "graphql";
- version = "0.3";
- sha256 = "18hb8bwcwx98vrr9nzr8965i4c1y6dh10ilijksbldf10yaiq53z";
+ version = "0.5.0.1";
+ sha256 = "03q5ip176ji0yn02mhgj5rh9vpsi8kwsq3zh3cr7ry6jajgfdq3l";
enableSeparateDataOutput = true;
- libraryHaskellDepends = [ attoparsec base text ];
- testHaskellDepends = [ attoparsec base tasty tasty-hunit text ];
+ libraryHaskellDepends = [
+ aeson base megaparsec text transformers unordered-containers
+ ];
+ testHaskellDepends = [
+ aeson base hspec hspec-expectations megaparsec raw-strings-qq text
+ transformers
+ ];
description = "Haskell GraphQL implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"graphql-api" = callPackage
@@ -98435,19 +100190,19 @@ self: {
];
description = "GraphQL API";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"graphql-w-persistent" = callPackage
({ mkDerivation, base, containers, json, text }:
mkDerivation {
pname = "graphql-w-persistent";
- version = "0.3.2.1";
- sha256 = "1853jmyh2lxgx4hhcgdlnrq4sdrqva0026whfdfa909gi51bg91w";
+ version = "0.6.0.0";
+ sha256 = "03m247xmj8gvvjs4bgsc06daz9avklza7ngs575psaqmkpxd8ga3";
libraryHaskellDepends = [ base containers json text ];
- description = "Haskell GraphQL query parser-interpreter-data processor";
+ description = "GraphQL interface middleware for (SQL) databases";
license = stdenv.lib.licenses.isc;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"graphs" = callPackage
@@ -98604,8 +100359,8 @@ self: {
}:
mkDerivation {
pname = "gray-extended";
- version = "1.5.7";
- sha256 = "0j2lzy15jiykz9b6cqzh7xhpf1idwxp8illvy3r50g1g4hc8zvyp";
+ version = "1.5.8";
+ sha256 = "1vli6dc0wc1an6vfhchai6s8xrg8rfds2k07x2xszaqg7r2njc9k";
libraryHaskellDepends = [ base ];
testHaskellDepends = [
base QuickCheck test-framework test-framework-quickcheck2
@@ -98799,8 +100554,8 @@ self: {
}:
mkDerivation {
pname = "greskell-core";
- version = "0.1.2.5";
- sha256 = "1lxz9l968f8jgyyqvph3rvsfnh0kqdmnam95cn97jrfwcndc0wmp";
+ version = "0.1.2.6";
+ sha256 = "0p68kwcwccmqn58dx1vyy4k1sc9zk2n2l8hiligik6zpbv4vmkdz";
libraryHaskellDepends = [
aeson base containers hashable scientific semigroups text
unordered-containers uuid vector
@@ -98841,8 +100596,8 @@ self: {
}:
mkDerivation {
pname = "grid";
- version = "7.8.12";
- sha256 = "1ax536wr6h8kcnmnnxyd7vcdkqbjlrhrx6jab526b3f2a88n5q6z";
+ version = "7.8.14";
+ sha256 = "11rnsl6bs6qpx90p8jzdigncv6m5wbn6sav8gb3mlbm40fpi3p93";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [
base QuickCheck test-framework test-framework-quickcheck2
@@ -99202,8 +100957,8 @@ self: {
}:
mkDerivation {
pname = "group-by-date";
- version = "0.1.0.2";
- sha256 = "09x5wag0s6bkmhqcdbrzcibpwjqg5jr8lfm9vcbwi0qyv2nn7f5h";
+ version = "0.1.0.3";
+ sha256 = "0lz2ygmzxanrcnhzpqcxi1fqh75c349fcrkd13jgih10zkgk86jh";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -99262,8 +101017,6 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "Grouped lists. Equal consecutive elements are grouped.";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"groupoid" = callPackage
@@ -99332,6 +101085,8 @@ self: {
libraryHaskellDepends = [ base proto-lens proto-lens-runtime ];
description = "Generated messages and instances for etcd gRPC";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"grpc-etcd-client" = callPackage
@@ -99455,8 +101210,8 @@ self: {
}:
mkDerivation {
pname = "gscholar-rss";
- version = "0.2.1.0";
- sha256 = "0a4hhcggfbgxraq2jj40gvrg64nw37h7y6jj7pgswa623m85040j";
+ version = "0.2.3.1";
+ sha256 = "0iqrh6h2r7xr9xqk9w7yg1hilghcs0pp5mqq3s2rwmk2drp255l3";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -100570,8 +102325,8 @@ self: {
}:
mkDerivation {
pname = "hOpenPGP";
- version = "2.7.4.1";
- sha256 = "0fcm87rkf1c94w68ad2zkd3r2pbxzqa82kh3d2ky87rc1wqnia0s";
+ version = "2.8";
+ sha256 = "1n6cpwgg934ii3b4ap2gp347q3k4b64dc9x37d4bj51hs6910pmw";
libraryHaskellDepends = [
aeson asn1-encoding attoparsec base base16-bytestring
base64-bytestring bifunctors binary binary-conduit bytestring bzlib
@@ -101805,7 +103560,6 @@ self: {
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock_2_17_5" = callPackage
@@ -101823,7 +103577,6 @@ self: {
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock" = callPackage
@@ -101840,8 +103593,6 @@ self: {
preCheck = "unset GHC_PACKAGE_PATH";
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock-api_2_15_0_2" = callPackage
@@ -101861,7 +103612,6 @@ self: {
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock-api_2_16_1" = callPackage
@@ -101881,7 +103631,6 @@ self: {
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock-api_2_17_4" = callPackage
@@ -101904,7 +103653,6 @@ self: {
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock-api" = callPackage
@@ -101930,8 +103678,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "A documentation-generation tool for Haskell libraries";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haddock-cheatsheet" = callPackage
@@ -102061,25 +103807,26 @@ self: {
"hadolint" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, directory
- , filepath, gitrev, hspec, HUnit, language-docker, megaparsec, mtl
- , optparse-applicative, ShellCheck, split, text, void, yaml
+ , filepath, gitrev, hspec, HsYAML, HUnit, language-docker
+ , megaparsec, mtl, optparse-applicative, ShellCheck, split, text
+ , void
}:
mkDerivation {
pname = "hadolint";
- version = "1.16.3";
- sha256 = "0wpgj4gp6xjgk2564219cg3w54a3lfb9p3bmgdkf1pm6ilbzbf2n";
+ version = "1.17.2";
+ sha256 = "0s9q0016j3y56sblkq12mai1j58h8w8cy8k2x1bzvhb95zpg1va9";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base bytestring containers directory filepath language-docker
- megaparsec mtl ShellCheck split text void yaml
+ aeson base bytestring containers directory filepath HsYAML
+ language-docker megaparsec mtl ShellCheck split text void
];
executableHaskellDepends = [
base containers gitrev language-docker megaparsec
optparse-applicative text
];
testHaskellDepends = [
- aeson base bytestring hspec HUnit language-docker megaparsec
+ aeson base bytestring hspec HsYAML HUnit language-docker megaparsec
ShellCheck split text
];
description = "Dockerfile Linter JavaScript API";
@@ -102301,6 +104048,8 @@ self: {
];
description = "Mailgun REST api interface for Haskell";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hailgun-send" = callPackage
@@ -102333,6 +104082,8 @@ self: {
];
description = "Easy-to-use wrapper for the hailgun package";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hails" = callPackage
@@ -102527,14 +104278,14 @@ self: {
, lrucache, mtl, network-uri, optparse-applicative, pandoc
, pandoc-citeproc, parsec, process, QuickCheck, random, regex-tdfa
, resourcet, scientific, tagsoup, tasty, tasty-hunit
- , tasty-quickcheck, text, time, time-locale-compat
- , unordered-containers, utillinux, vector, wai, wai-app-static
- , warp, yaml
+ , tasty-quickcheck, template-haskell, text, time
+ , time-locale-compat, unordered-containers, utillinux, vector, wai
+ , wai-app-static, warp, yaml
}:
mkDerivation {
pname = "hakyll";
- version = "4.12.5.2";
- sha256 = "13dc8hj3xnnpyb395pbplwxb4pj4gzckdd8r5wcwg1ln0gd6w7d5";
+ version = "4.13.0.0";
+ sha256 = "1a7g79j7ai5l46nz205rl6zr3f57m5ngd46v60wll3dj6wkiaw6b";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -102543,7 +104294,7 @@ self: {
cryptohash data-default deepseq directory file-embed filepath
fsnotify http-conduit http-types lrucache mtl network-uri
optparse-applicative pandoc pandoc-citeproc parsec process random
- regex-tdfa resourcet scientific tagsoup text time
+ regex-tdfa resourcet scientific tagsoup template-haskell text time
time-locale-compat unordered-containers vector wai wai-app-static
warp yaml
];
@@ -102555,6 +104306,8 @@ self: {
testToolDepends = [ utillinux ];
description = "A static website compiler library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {inherit (pkgs) utillinux;};
"hakyll-R" = callPackage
@@ -102807,10 +104560,8 @@ self: {
}:
mkDerivation {
pname = "hakyll-images";
- version = "0.4.2";
- sha256 = "0la1c25jlqw0y0zfcskkj4mlmkpamr2psqfnsrgz52zvmhy2ha2p";
- revision = "1";
- editedCabalFile = "1kmvb0cxvphmx0f1bgjq636yga58n4g2lqrg2xg5xfpwf8r956qf";
+ version = "0.4.4";
+ sha256 = "0d837i2nsg6drwfsrxfnpzmzmzxqxvabjlrlml38z99pyp7m3h9b";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base binary bytestring hakyll JuicyPixels JuicyPixels-extra
@@ -103607,8 +105358,8 @@ self: {
}:
mkDerivation {
pname = "hapistrano";
- version = "0.3.9.2";
- sha256 = "04a0r5q6vlwxkp1gwp10fmi22brb77w02psz44zbvqbm02jf7vhd";
+ version = "0.3.9.3";
+ sha256 = "1kp2gdr0xjzr0qi584lqiqh7hjk8vymz04af2zcgdhbw68brj2cx";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -103831,8 +105582,8 @@ self: {
}:
mkDerivation {
pname = "happstack-authenticate";
- version = "2.3.4.15";
- sha256 = "1vgyzclziis403d08x4s26ml7ay0icwymixddbm409c99p6l8lif";
+ version = "2.4.0";
+ sha256 = "1q4k8x6mwh9g7y5njcjd1xyn79yjnjv01nk4xa5q9yspmsa4685m";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
acid-state aeson authenticate base base64-bytestring boomerang
@@ -103972,6 +105723,8 @@ self: {
];
description = "Happstack extension for use with FastCGI";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"happstack-fay" = callPackage
@@ -104097,6 +105850,8 @@ self: {
];
description = "Support for using HSP templates in Happstack";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"happstack-hstringtemplate" = callPackage
@@ -104210,26 +105965,28 @@ self: {
, filepath, hslogger, html, HUnit, monad-control, mtl, network
, network-uri, old-locale, parsec, process, semigroups, sendfile
, syb, system-filepath, template-haskell, text, threads, time
- , time-compat, transformers, transformers-base, transformers-compat
- , unix, utf8-string, xhtml, zlib
+ , transformers, transformers-base, transformers-compat, unix
+ , utf8-string, xhtml, zlib
}:
mkDerivation {
pname = "happstack-server";
- version = "7.5.1.3";
- sha256 = "0agxmrf2njd3whvgw4in0ixgss1qlmi6cdi9fglhs7nhykpkgllk";
+ version = "7.5.2";
+ sha256 = "1w5g5vf6jxb7fi3qg96x17y2i95mv5sbbzmjzy1m55qjqif568v1";
libraryHaskellDepends = [
base base64-bytestring blaze-html bytestring containers directory
exceptions extensible-exceptions filepath hslogger html
monad-control mtl network network-uri old-locale parsec process
semigroups sendfile syb system-filepath template-haskell text
- threads time time-compat transformers transformers-base
- transformers-compat unix utf8-string xhtml zlib
+ threads time transformers transformers-base transformers-compat
+ unix utf8-string xhtml zlib
];
testHaskellDepends = [
base bytestring containers HUnit parsec zlib
];
description = "Web related tools and services";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"happstack-server-tls" = callPackage
@@ -104248,6 +106005,8 @@ self: {
librarySystemDepends = [ openssl ];
description = "extend happstack-server with https:// support (TLS/SSL)";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {inherit (pkgs) openssl;};
"happstack-server-tls-cryptonite" = callPackage
@@ -104304,6 +106063,8 @@ self: {
];
description = "Support for static URL routing with overlap detection for Happstack";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"happstack-util" = callPackage
@@ -104375,22 +106136,33 @@ self: {
}) {};
"happy" = callPackage
- ({ mkDerivation, array, base, Cabal, containers, directory
- , filepath, mtl, process
- }:
+ ({ mkDerivation, array, base, containers, mtl, process }:
mkDerivation {
pname = "happy";
- version = "1.19.10";
- sha256 = "1vfaa8x6asmyabmd4i1ygyl2a8501h97xhkx3ip3jnqhjxn61sr2";
+ version = "1.19.12";
+ sha256 = "03xlmq6qmdx4zvzw8bp33kd9g7yvcq5cz4wg50xilw812kj276pv";
isLibrary = false;
isExecutable = true;
- setupHaskellDepends = [ base Cabal directory filepath ];
+ enableSeparateDataOutput = true;
executableHaskellDepends = [ array base containers mtl ];
testHaskellDepends = [ base process ];
description = "Happy is a parser generator for Haskell";
license = stdenv.lib.licenses.bsd2;
}) {};
+ "happy-hour" = callPackage
+ ({ mkDerivation, base, Chart, Chart-diagrams }:
+ mkDerivation {
+ pname = "happy-hour";
+ version = "0.0.0.1";
+ sha256 = "1dhqgv7q2qw9fc19mpsnfkc4y3h0d68433p2mrpx5fz81slfy4cf";
+ revision = "1";
+ editedCabalFile = "1yvz6nbqwxjyw7ffs95na7x75xc9ap8hp6m5jdvfqlgqcwlzmd6j";
+ libraryHaskellDepends = [ base Chart Chart-diagrams ];
+ description = "Generate simple okay-looking bar plots without much effort";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"happy-meta" = callPackage
({ mkDerivation, array, base, containers, happy, haskell-src-meta
, mtl, template-haskell
@@ -104576,6 +106348,28 @@ self: {
broken = true;
}) {};
+ "harg" = callPackage
+ ({ mkDerivation, aeson, barbies, base, bytestring, directory
+ , higgledy, markdown-unlit, optparse-applicative, split, text, yaml
+ }:
+ mkDerivation {
+ pname = "harg";
+ version = "0.2.0.0";
+ sha256 = "0zdngzz1p73dpfx4klxf59yhk4qf0r4ming2nw4yqfsyxqfwgw1i";
+ libraryHaskellDepends = [
+ aeson barbies base bytestring directory higgledy
+ optparse-applicative split text yaml
+ ];
+ testHaskellDepends = [
+ aeson barbies base higgledy optparse-applicative
+ ];
+ testToolDepends = [ markdown-unlit ];
+ description = "Haskell program configuration using higher kinded data";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hark" = callPackage
({ mkDerivation, base, bytestring, directory, filepath, haskell98
, mtl, old-locale, old-time, regex-pcre
@@ -104723,8 +106517,6 @@ self: {
libraryHaskellDepends = [ base QuickCheck ];
description = "Entity based records";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"has-th" = callPackage
@@ -104742,16 +106534,16 @@ self: {
"hasbolt" = callPackage
({ mkDerivation, base, binary, bytestring, connection, containers
- , data-binary-ieee754, data-default, hex, hspec, network
- , QuickCheck, text, transformers
+ , data-binary-ieee754, data-default, hex, hspec, mtl, network
+ , QuickCheck, text
}:
mkDerivation {
pname = "hasbolt";
- version = "0.1.3.3";
- sha256 = "1l1p9iz9k8i1car5cd6cfd2bpidkrfbr2354hxvg8gpnw1i5jsbb";
+ version = "0.1.3.5";
+ sha256 = "0qd5rh0jdwhkjcz5kg1bqwd5hpz5w9ph9k0vxaam1lnjjniw7zbj";
libraryHaskellDepends = [
base binary bytestring connection containers data-binary-ieee754
- data-default network text transformers
+ data-default mtl network text
];
testHaskellDepends = [
base bytestring containers hex hspec QuickCheck text
@@ -104768,8 +106560,8 @@ self: {
}:
mkDerivation {
pname = "hasbolt-extras";
- version = "0.0.0.17";
- sha256 = "1p7cwj9bm7wc39ra4vfwiv98f2zm1s9irmaf3kg64gdd2zi37d24";
+ version = "0.0.0.20";
+ sha256 = "0xqi3hb1xgbkkj8wmrvp39sh7zcj75v55xbha87nmkl2g56kaxw2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -104957,6 +106749,8 @@ self: {
];
description = "Hash as cache";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hash-tree" = callPackage
@@ -105091,8 +106885,8 @@ self: {
pname = "hashable-time";
version = "0.2.0.2";
sha256 = "1q7y4plqqwy5286hhx2fygn12h8lqk0y047b597sbdckskxzfqgs";
- revision = "1";
- editedCabalFile = "1d43ia3cg9j9k1yam0w2a8b60df7xw4zydrdvk1m868ara3nlr58";
+ revision = "2";
+ editedCabalFile = "006phc5y9rrvsshdcmjmhxzxh8dpgs685mpqbkjm9c40xb1ydjbz";
libraryHaskellDepends = [ base hashable time ];
description = "Hashable instances for Data.Time";
license = stdenv.lib.licenses.bsd3;
@@ -105255,10 +107049,8 @@ self: {
({ mkDerivation, base, ghc-prim, hashable, primitive, vector }:
mkDerivation {
pname = "hashtables";
- version = "1.2.3.1";
- sha256 = "1giw9caajr07slf09j7zry9b0kvm4yj9q78zy1mawzi6gk3wglcg";
- revision = "1";
- editedCabalFile = "1yyqnqn85mlw03f2bpvwa1w9gigswk9n30i918myqyxwr595l7rr";
+ version = "1.2.3.4";
+ sha256 = "1rjmxnr30g4hygiywkpz5p9sanh0abs7ap4zc1kgd8zv04kycp0j";
libraryHaskellDepends = [
base ghc-prim hashable primitive vector
];
@@ -105266,22 +107058,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "hashtables_1_2_3_2" = callPackage
- ({ mkDerivation, base, ghc-prim, hashable, primitive, vector }:
- mkDerivation {
- pname = "hashtables";
- version = "1.2.3.2";
- sha256 = "0scwvwswx5wyqmwac09izf1yx01l13gx7334q6qjkjplarpbrwyi";
- revision = "1";
- editedCabalFile = "19d3739zphrp82wnn248ws18lknbh3dfpki87q0d2palxbnyh1hx";
- libraryHaskellDepends = [
- base ghc-prim hashable primitive vector
- ];
- description = "Mutable hash tables in the ST monad";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"hashtables-plus" = callPackage
({ mkDerivation, base, criterion-plus, deepseq, hashable
, hashtables, lens, loch-th, mtl, mwc-random, placeholders
@@ -105532,6 +107308,8 @@ self: {
pname = "haskeline";
version = "0.7.5.0";
sha256 = "1inyq7qwih0hnqlm6gy769vsxzjpvqx9ry390dmcvvql9520hrfj";
+ revision = "1";
+ editedCabalFile = "0i8fyhk7fvz2bxnh5xsmdw5rr7yywzc2wv115034q1g4sb018zrd";
configureFlags = [ "-fterminfo" ];
libraryHaskellDepends = [
base bytestring containers directory filepath process stm terminfo
@@ -105756,21 +107534,24 @@ self: {
}) {};
"haskell-ci" = callPackage
- ({ mkDerivation, ansi-terminal, base, base-compat, bytestring
- , Cabal, containers, deepseq, Diff, directory, filepath
- , generic-lens, HsYAML, microlens, optparse-applicative, parsec
- , pretty, ShellCheck, tasty, tasty-golden, text, transformers
+ ({ mkDerivation, aeson, ansi-terminal, base, base-compat
+ , bytestring, Cabal, containers, deepseq, Diff, directory
+ , exceptions, filepath, generic-lens, HsYAML, lattices, microlens
+ , mtl, optparse-applicative, parsec, pretty, process, ShellCheck
+ , tasty, tasty-golden, temporary, text, transformers
+ , unordered-containers
}:
mkDerivation {
pname = "haskell-ci";
- version = "0.2.1";
- sha256 = "07h99vq4bmphrpi1ggm7h06ard7hyxkmsxypicghvv24cgzl3c70";
+ version = "0.4";
+ sha256 = "0paw5jczmcayda2pjgp10p983g8kbly33hpabdv37b5mkrair9d8";
isLibrary = false;
isExecutable = true;
libraryHaskellDepends = [
- base base-compat bytestring Cabal containers deepseq directory
- filepath generic-lens HsYAML microlens optparse-applicative parsec
- pretty ShellCheck text transformers
+ aeson base base-compat bytestring Cabal containers deepseq
+ directory exceptions filepath generic-lens HsYAML lattices
+ microlens mtl optparse-applicative parsec pretty process ShellCheck
+ temporary text transformers unordered-containers
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
@@ -105779,7 +107560,8 @@ self: {
];
doHaddock = false;
description = "Cabal package script generator for Travis-CI";
- license = stdenv.lib.licenses.bsd3;
+ license = stdenv.lib.licenses.gpl3Plus;
+ maintainers = with stdenv.lib.maintainers; [ peti ];
}) {};
"haskell-cnc" = callPackage
@@ -105844,15 +107626,13 @@ self: {
}:
mkDerivation {
pname = "haskell-conll";
- version = "0.1.0.1";
- sha256 = "09lgj70lk2xh75rq4gdmfacmb465r0xn03v8cnk82bx52c7jwiga";
+ version = "0.1.0.2";
+ sha256 = "05w90jlidxr55r5j1hihfhdcwjkzw85xipwxdd3i6kmskin2pv1v";
libraryHaskellDepends = [
base containers lens pretty-show protolude split text
];
description = "Core Types for NLP";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ license = stdenv.lib.licenses.mit;
}) {};
"haskell-course-preludes" = callPackage
@@ -105962,8 +107742,6 @@ self: {
testHaskellDepends = [ base ];
description = "A program to find and display the docs and type of a name";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haskell-eigen-util" = callPackage
@@ -106008,13 +107786,13 @@ self: {
"haskell-formatter" = callPackage
({ mkDerivation, base, containers, directory, directory-tree
, doctest, filemanip, filepath, haskell-src-exts, hlint
- , optparse-applicative, scientific, tasty, tasty-hunit, text
- , unordered-containers, yaml
+ , optparse-applicative, QuickCheck, scientific, tasty, tasty-hunit
+ , text, unordered-containers, yaml
}:
mkDerivation {
pname = "haskell-formatter";
- version = "1.0.0";
- sha256 = "0mrcd57g3pnn11smgak51pikxxf5zsi7h06f270pmf2r1vv2977b";
+ version = "2.0.1";
+ sha256 = "17cwpvc8yfflzvlhyvdk2kgqpi2k3s55kz1435axgn02ajvdlr75";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -106026,10 +107804,10 @@ self: {
];
testHaskellDepends = [
base containers directory-tree doctest filemanip filepath hlint
- tasty tasty-hunit
+ QuickCheck tasty tasty-hunit
];
description = "Haskell source code formatter";
- license = stdenv.lib.licenses.gpl3;
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -106109,8 +107887,8 @@ self: {
}:
mkDerivation {
pname = "haskell-gi";
- version = "0.21.5";
- sha256 = "1rvi9bmgxq7q6js8yb5yb156yxmnm9px9amgjwzxmr7sxz31dl8j";
+ version = "0.23.0";
+ sha256 = "04d2lxmbbq7g0yrc5rz9n7zscza9g63vvbz0qv3427y7hbq1xn4a";
libraryHaskellDepends = [
attoparsec base bytestring Cabal containers directory filepath
haskell-gi-base mtl pretty-show process regex-tdfa safe text
@@ -106126,8 +107904,8 @@ self: {
({ mkDerivation, base, bytestring, containers, glib, text }:
mkDerivation {
pname = "haskell-gi-base";
- version = "0.21.5";
- sha256 = "1pxnwljicxyxr83c7d8xvla7zbp2krv1n6fp4i2zh8bqwln3fkgh";
+ version = "0.23.0";
+ sha256 = "1f22d4pvmyy52w9hqa36b6psw34j562rayqgk052ng1ax9yvwzn0";
libraryHaskellDepends = [ base bytestring containers text ];
libraryPkgconfigDepends = [ glib ];
description = "Foundation for libraries generated by haskell-gi";
@@ -106191,12 +107969,13 @@ self: {
}) {};
"haskell-holes-th" = callPackage
- ({ mkDerivation, base, template-haskell }:
+ ({ mkDerivation, base, template-haskell, transformers }:
mkDerivation {
pname = "haskell-holes-th";
- version = "1.0.0.0";
- sha256 = "13xyxck9f15mwi641zs9zw77cnrgh30p2771f66haby96k8wx9jf";
- libraryHaskellDepends = [ base template-haskell ];
+ version = "2.0.0.0";
+ sha256 = "045spgarz68bay5yqd5cfllkmzja2jax9swcqhxc7gw5msfgxxw1";
+ libraryHaskellDepends = [ base template-haskell transformers ];
+ testHaskellDepends = [ base template-haskell transformers ];
description = "Infer haskell code by given type";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -106242,6 +108021,8 @@ self: {
executableHaskellDepends = [ base ];
description = "create haskell import graph for graphviz";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskell-in-space" = callPackage
@@ -106292,64 +108073,55 @@ self: {
}) {};
"haskell-lsp" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers, data-default
- , directory, filepath, hashable, haskell-lsp-types, hslogger, hspec
- , lens, mtl, network-uri, parsec, sorted-list, stm, text, time
- , transformers, unordered-containers, vector, yi-rope
+ ({ mkDerivation, aeson, async, attoparsec, base, bytestring
+ , containers, data-default, directory, filepath, hashable
+ , haskell-lsp-types, hslogger, hspec, hspec-discover, lens, mtl
+ , network-uri, QuickCheck, quickcheck-instances, rope-utf16-splay
+ , sorted-list, stm, temporary, text, time, unordered-containers
}:
mkDerivation {
pname = "haskell-lsp";
- version = "0.8.2.0";
- sha256 = "18qkrybwvmyz5h03xj9wjigpqs6s6rw9wi1lqcla4ppg1pkd5zyd";
+ version = "0.15.0.1";
+ sha256 = "0l11psgknqppisn102h2392y5jiyz026rv8v2dpq4bk50zibb7qb";
revision = "1";
- editedCabalFile = "0m6kprfsgxcmif0mmb1vpc46jyr0kjk6fqv3k1sqfvpjpldh0mvy";
+ editedCabalFile = "0rk44rxal0sm1ci7c0phwl7fpcby1vys3n3vpp4bgla2hrc6pwba";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base bytestring containers data-default directory filepath
- hashable haskell-lsp-types hslogger lens mtl network-uri parsec
- sorted-list stm text time unordered-containers yi-rope
- ];
- executableHaskellDepends = [
- aeson base bytestring containers data-default directory filepath
- hslogger lens mtl network-uri parsec stm text time transformers
- unordered-containers vector yi-rope
+ aeson async attoparsec base bytestring containers data-default
+ directory filepath hashable haskell-lsp-types hslogger lens mtl
+ network-uri rope-utf16-splay sorted-list stm temporary text time
+ unordered-containers
];
testHaskellDepends = [
aeson base bytestring containers data-default directory filepath
- hashable hspec lens network-uri sorted-list stm text yi-rope
+ hashable hspec lens network-uri QuickCheck quickcheck-instances
+ rope-utf16-splay sorted-list stm text
];
+ testToolDepends = [ hspec-discover ];
description = "Haskell library for the Microsoft Language Server Protocol";
license = stdenv.lib.licenses.mit;
}) {};
- "haskell-lsp_0_13_0_0" = callPackage
- ({ mkDerivation, aeson, async, base, bytestring, containers
- , data-default, directory, filepath, hashable, haskell-lsp-types
- , hslogger, hspec, hspec-discover, lens, mtl, network-uri, parsec
- , QuickCheck, quickcheck-instances, rope-utf16-splay, sorted-list
- , stm, temporary, text, time, transformers, unordered-containers
- , vector
+ "haskell-lsp_0_16_0_0" = callPackage
+ ({ mkDerivation, aeson, async, attoparsec, base, bytestring
+ , containers, data-default, directory, filepath, hashable
+ , haskell-lsp-types, hslogger, hspec, hspec-discover, lens, mtl
+ , network-uri, QuickCheck, quickcheck-instances, rope-utf16-splay
+ , sorted-list, stm, temporary, text, time, unordered-containers
}:
mkDerivation {
pname = "haskell-lsp";
- version = "0.13.0.0";
- sha256 = "0mxmgw32j9fzr63qj1pviszcd2fb3mqdxnhz6ghv83lgj5j8517c";
- revision = "1";
- editedCabalFile = "0qni50rymq7qx95i6jcj3mb49zxc123ciyyih82vvm15gks62fp2";
+ version = "0.16.0.0";
+ sha256 = "1s04lfnb3c0g9bkwp4j7j59yw8ypps63dq27ayybynrfci4bpj95";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson async base bytestring containers data-default directory
- filepath hashable haskell-lsp-types hslogger lens mtl network-uri
- parsec rope-utf16-splay sorted-list stm temporary text time
+ aeson async attoparsec base bytestring containers data-default
+ directory filepath hashable haskell-lsp-types hslogger lens mtl
+ network-uri rope-utf16-splay sorted-list stm temporary text time
unordered-containers
];
- executableHaskellDepends = [
- aeson base bytestring containers data-default directory filepath
- hslogger lens mtl network-uri parsec rope-utf16-splay stm text time
- transformers unordered-containers vector
- ];
testHaskellDepends = [
aeson base bytestring containers data-default directory filepath
hashable hspec lens network-uri QuickCheck quickcheck-instances
@@ -106384,35 +108156,33 @@ self: {
}) {};
"haskell-lsp-types" = callPackage
- ({ mkDerivation, aeson, base, bytestring, data-default, filepath
- , hashable, lens, network-uri, scientific, text
- , unordered-containers
- }:
- mkDerivation {
- pname = "haskell-lsp-types";
- version = "0.8.2.0";
- sha256 = "13pgjm1pm1hp7bln115cn75ig6w3mj7g7rvnvpszlrg9lzmk3ip7";
- revision = "1";
- editedCabalFile = "0gmfxhjn92kzbpd9kzq5n3707lcpkxhnzxgg7lk34jhayiw5kyzj";
- libraryHaskellDepends = [
- aeson base bytestring data-default filepath hashable lens
- network-uri scientific text unordered-containers
- ];
- description = "Haskell library for the Microsoft Language Server Protocol, data types";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "haskell-lsp-types_0_13_0_0" = callPackage
({ mkDerivation, aeson, base, bytestring, data-default, deepseq
, filepath, hashable, lens, network-uri, scientific, text
, unordered-containers
}:
mkDerivation {
pname = "haskell-lsp-types";
- version = "0.13.0.0";
- sha256 = "18np1n5qvy5020vzvvcpj431fn4dbnd3zgzqngfnhv604yymywx8";
- revision = "2";
- editedCabalFile = "02yh8lkxbr7pzr97n5w2waz9cr1fisb8c0k16ajibhj57y3dn8il";
+ version = "0.15.0.1";
+ sha256 = "07195h5qdmnkrr7v1yx8l398vi4zbcawbh7k6slyj3xs3zq9s6kx";
+ revision = "1";
+ editedCabalFile = "06naxwj75jxy9xvvlc229m1jn9bandqsxaavzm7zj9vw8sxygr0h";
+ libraryHaskellDepends = [
+ aeson base bytestring data-default deepseq filepath hashable lens
+ network-uri scientific text unordered-containers
+ ];
+ description = "Haskell library for the Microsoft Language Server Protocol, data types";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
+ "haskell-lsp-types_0_16_0_0" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, data-default, deepseq
+ , filepath, hashable, lens, network-uri, scientific, text
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "haskell-lsp-types";
+ version = "0.16.0.0";
+ sha256 = "14wlv54ydbddpw6cwgykcas3rb55w7m78q0s1wdbi594wg1bscqg";
libraryHaskellDepends = [
aeson base bytestring data-default deepseq filepath hashable lens
network-uri scientific text unordered-containers
@@ -106499,31 +108269,6 @@ self: {
}) {open-pal = null; open-rte = null; inherit (pkgs) openmpi;};
"haskell-names" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers
- , data-lens-light, filemanip, filepath, haskell-src-exts, mtl
- , pretty-show, tasty, tasty-golden, transformers
- , traverse-with-class, uniplate
- }:
- mkDerivation {
- pname = "haskell-names";
- version = "0.9.4";
- sha256 = "0dbf5rxysm57jn018wd3dfz3m621n0347mbpgv7q2yb77cwrlg8y";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- aeson base bytestring containers data-lens-light filepath
- haskell-src-exts mtl transformers traverse-with-class uniplate
- ];
- testHaskellDepends = [
- base containers filemanip filepath haskell-src-exts mtl pretty-show
- tasty tasty-golden traverse-with-class
- ];
- description = "Name resolution library for Haskell";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "haskell-names_0_9_6" = callPackage
({ mkDerivation, aeson, base, bytestring, containers
, data-lens-light, filemanip, filepath, haskell-src-exts, mtl
, pretty-show, tasty, tasty-golden, transformers
@@ -106544,8 +108289,6 @@ self: {
];
description = "Name resolution library for Haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haskell-neo4j-client" = callPackage
@@ -106749,6 +108492,29 @@ self: {
broken = true;
}) {libpostal = null;};
+ "haskell-postgis" = callPackage
+ ({ mkDerivation, aeson, base, binary, bytestring, bytestring-lexing
+ , cpu, data-binary-ieee754, hspec, mtl, placeholders, text
+ , unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "haskell-postgis";
+ version = "0.1.0.2";
+ sha256 = "0p3zdrzfsz3qj3rcx3yihg7vffa261ig5lywrfls5qvqihw62m41";
+ libraryHaskellDepends = [
+ aeson base binary bytestring bytestring-lexing cpu
+ data-binary-ieee754 mtl placeholders text unordered-containers
+ vector
+ ];
+ testHaskellDepends = [
+ aeson base binary bytestring bytestring-lexing cpu
+ data-binary-ieee754 hspec mtl placeholders text
+ unordered-containers vector
+ ];
+ description = "A haskell library for PostGIS geometry types";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"haskell-proxy-list" = callPackage
({ mkDerivation, base, base64-string, bytestring, lens, random
, regex-base, regex-posix, text, wreq
@@ -106866,6 +108632,8 @@ self: {
pname = "haskell-src";
version = "1.0.3.0";
sha256 = "1g4dj1f0j68bhn4ixfac63wjzy6gsp6kwgxryb1k5nl3i0g99d5l";
+ revision = "1";
+ editedCabalFile = "1pnrvh9wzdkhvkkky4rlq1imycl9k76x9rvgq7cmfp8rf1iwqi5q";
libraryHaskellDepends = [ array base pretty syb ];
libraryToolDepends = [ happy ];
description = "Support for manipulating Haskell source code";
@@ -106902,8 +108670,8 @@ self: {
}:
mkDerivation {
pname = "haskell-src-exts";
- version = "1.20.3";
- sha256 = "1a74s4zarxdvhnflkxy13pawbfcdhyrb6gkdx0si8spv66knhgj3";
+ version = "1.21.1";
+ sha256 = "0q1y8n3d82gid9bcx8wxsqqmj9mq11fg3gp5yzpfbw958dhi3j9f";
libraryHaskellDepends = [ array base ghc-prim pretty ];
libraryToolDepends = [ happy ];
testHaskellDepends = [
@@ -106915,27 +108683,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "haskell-src-exts_1_21_0" = callPackage
- ({ mkDerivation, array, base, containers, directory, filepath
- , ghc-prim, happy, mtl, pretty, pretty-show, smallcheck, tasty
- , tasty-golden, tasty-smallcheck
- }:
- mkDerivation {
- pname = "haskell-src-exts";
- version = "1.21.0";
- sha256 = "1wwzd6m5mm76fq7ql7k49b7ghg8ibq5qhqr3d8xs5psfha3w3nlm";
- libraryHaskellDepends = [ array base ghc-prim pretty ];
- libraryToolDepends = [ happy ];
- testHaskellDepends = [
- base containers directory filepath mtl pretty-show smallcheck tasty
- tasty-golden tasty-smallcheck
- ];
- doCheck = false;
- description = "Manipulating Haskell source: abstract syntax, lexer, parser, and pretty-printer";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"haskell-src-exts-observe" = callPackage
({ mkDerivation, base, haskell-src-exts, Hoed }:
mkDerivation {
@@ -107008,8 +108755,6 @@ self: {
libraryHaskellDepends = [ base haskell-src-exts ];
description = "A simplified view on the haskell-src-exts AST";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haskell-src-exts-util" = callPackage
@@ -107030,19 +108775,18 @@ self: {
"haskell-src-meta" = callPackage
({ mkDerivation, base, containers, haskell-src-exts, HUnit, pretty
- , syb, template-haskell, test-framework, test-framework-hunit
- , th-orphans
+ , syb, tasty, tasty-hunit, template-haskell, th-orphans
}:
mkDerivation {
pname = "haskell-src-meta";
- version = "0.8.2";
- sha256 = "0vqnq668c88x4amvbs34rxiwdpnxqxr40jy998fc4vd9z6gd4w3r";
+ version = "0.8.3";
+ sha256 = "17znnaqj2hnnfyc9p9xjzbs97h2jh1h4f4qbw648y3xa14wx5ra9";
libraryHaskellDepends = [
base haskell-src-exts pretty syb template-haskell th-orphans
];
testHaskellDepends = [
- base containers haskell-src-exts HUnit pretty syb template-haskell
- test-framework test-framework-hunit
+ base containers haskell-src-exts HUnit pretty syb tasty tasty-hunit
+ template-haskell
];
description = "Parse source to template-haskell abstract syntax";
license = stdenv.lib.licenses.bsd3;
@@ -108118,6 +109862,20 @@ self: {
broken = true;
}) {};
+ "haskeme" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "haskeme";
+ version = "0.1.0.4";
+ sha256 = "0lis0ni0l52x691adm2da7mzjam4g414gc0d0i9f6i050ra02g3j";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base ];
+ executableHaskellDepends = [ base ];
+ description = "Compiler from I- to S-Expressions for the Scheme Programming Language";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"haskey" = callPackage
({ mkDerivation, async, base, binary, bytestring, containers
, directory, exceptions, filepath, focus, haskey-btree, HUnit
@@ -108327,32 +110085,6 @@ self: {
}) {};
"haskoin-core" = callPackage
- ({ mkDerivation, aeson, array, base, base16-bytestring, bytestring
- , cereal, conduit, containers, cryptonite, entropy, hashable, hspec
- , hspec-discover, HUnit, memory, mtl, murmur3, network, QuickCheck
- , safe, scientific, secp256k1-haskell, split, string-conversions
- , text, time, transformers, unordered-containers, vector
- }:
- mkDerivation {
- pname = "haskoin-core";
- version = "0.8.4";
- sha256 = "0hpabz26wyxvpkvc2xv1xscmbvn0yfj2nnd41ysaf4xgfnh4c9sw";
- libraryHaskellDepends = [
- aeson array base base16-bytestring bytestring cereal conduit
- containers cryptonite entropy hashable memory mtl murmur3 network
- QuickCheck scientific secp256k1-haskell split string-conversions
- text time transformers unordered-containers vector
- ];
- testHaskellDepends = [
- aeson base bytestring cereal containers hspec HUnit mtl QuickCheck
- safe split string-conversions text unordered-containers vector
- ];
- testToolDepends = [ hspec-discover ];
- description = "Bitcoin & Bitcoin Cash library for Haskell";
- license = stdenv.lib.licenses.publicDomain;
- }) {};
-
- "haskoin-core_0_9_0" = callPackage
({ mkDerivation, aeson, array, base, base16-bytestring, bytestring
, cereal, conduit, containers, cryptonite, entropy, hashable, hspec
, hspec-discover, HUnit, memory, mtl, murmur3, network, QuickCheck
@@ -108376,7 +110108,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Bitcoin & Bitcoin Cash library for Haskell";
license = stdenv.lib.licenses.publicDomain;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"haskoin-crypto" = callPackage
@@ -108483,39 +110214,40 @@ self: {
"haskoin-store" = callPackage
({ mkDerivation, aeson, base, bytestring, cereal, conduit
- , containers, data-default, directory, filepath, hashable
- , haskoin-core, haskoin-node, hspec, http-types, monad-logger, mtl
- , network, nqe, optparse-applicative, random, rocksdb-haskell
- , rocksdb-query, scotty, string-conversions, text, time
- , transformers, unliftio, unordered-containers
+ , containers, data-default, filepath, hashable, haskoin-core
+ , haskoin-node, hspec, hspec-discover, http-types, monad-logger
+ , mtl, network, nqe, optparse-applicative, random, resourcet
+ , rocksdb-haskell, rocksdb-query, scotty, string-conversions, text
+ , time, transformers, unliftio, unordered-containers, wai
}:
mkDerivation {
pname = "haskoin-store";
- version = "0.15.2";
- sha256 = "078w4a3xymp79dk17rprspm4c2m3p7qbcdqzmcgxjzz7kzsr5mmr";
+ version = "0.17.1";
+ sha256 = "19vzwxy27xkkkx3lmq554kkyh6iclrxdhbp901vb0rh9v8l3cc74";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base bytestring cereal conduit containers data-default
hashable haskoin-core haskoin-node http-types monad-logger mtl
- network nqe random rocksdb-haskell rocksdb-query scotty
+ network nqe random resourcet rocksdb-haskell rocksdb-query scotty
string-conversions text time transformers unliftio
- unordered-containers
+ unordered-containers wai
];
executableHaskellDepends = [
aeson base bytestring cereal conduit containers data-default
- directory filepath hashable haskoin-core haskoin-node http-types
- monad-logger mtl network nqe optparse-applicative random
+ filepath hashable haskoin-core haskoin-node http-types monad-logger
+ mtl network nqe optparse-applicative random resourcet
rocksdb-haskell rocksdb-query scotty string-conversions text time
- transformers unliftio unordered-containers
+ transformers unliftio unordered-containers wai
];
testHaskellDepends = [
aeson base bytestring cereal conduit containers data-default
hashable haskoin-core haskoin-node hspec http-types monad-logger
- mtl network nqe random rocksdb-haskell rocksdb-query scotty
- string-conversions text time transformers unliftio
- unordered-containers
+ mtl network nqe random resourcet rocksdb-haskell rocksdb-query
+ scotty string-conversions text time transformers unliftio
+ unordered-containers wai
];
+ testToolDepends = [ hspec-discover ];
description = "Storage and index for Bitcoin and Bitcoin Cash";
license = stdenv.lib.licenses.publicDomain;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -109090,6 +110822,8 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "Haskus binary format manipulation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskus-system-build" = callPackage
@@ -109109,6 +110843,8 @@ self: {
];
description = "Haskus system build tool";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskus-utils" = callPackage
@@ -109129,6 +110865,8 @@ self: {
testHaskellDepends = [ base tasty tasty-quickcheck ];
description = "Haskus utility modules";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskus-utils-compat" = callPackage
@@ -109145,6 +110883,8 @@ self: {
];
description = "Compatibility modules with other external packages (ByteString, etc.)";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskus-utils-data" = callPackage
@@ -109192,6 +110932,8 @@ self: {
benchmarkHaskellDepends = [ base criterion deepseq QuickCheck ];
description = "Variant and EADT";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haskus-web" = callPackage
@@ -109290,6 +111032,8 @@ self: {
pname = "hasmin";
version = "1.0.3";
sha256 = "0p9a1q8brymkd4y74gn4iiwihikn55wx2h9zz3mpd6ab53rsz43k";
+ revision = "1";
+ editedCabalFile = "19xr6zk72q5sqgaxfj6xwvd98jv26d54s80gjkkpwh1i2nnsgw4v";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -109335,60 +111079,31 @@ self: {
"hasql" = callPackage
({ mkDerivation, attoparsec, base, base-prelude, bug, bytestring
, bytestring-strict-builder, contravariant, contravariant-extras
- , criterion, data-default-class, dlist, hashable, hashtables
- , loch-th, mtl, placeholders, postgresql-binary, postgresql-libpq
- , profunctors, QuickCheck, quickcheck-instances, rebase, rerebase
- , tasty, tasty-hunit, tasty-quickcheck, text, text-builder
- , transformers, vector
+ , criterion, dlist, hashable, hashtables, loch-th, mtl
+ , placeholders, postgresql-binary, postgresql-libpq, profunctors
+ , QuickCheck, quickcheck-instances, rebase, rerebase, tasty
+ , tasty-hunit, tasty-quickcheck, text, text-builder, transformers
+ , vector
}:
mkDerivation {
pname = "hasql";
- version = "1.3.0.5";
- sha256 = "0qs2x4gbaffrxndivb4237vxc6qrzn2rs5kbf04n4d6py9cdhbjv";
+ version = "1.4";
+ sha256 = "0j2arb96i1dinpz1yxl2cjl4qhbljk9yph52cj9az50mvl8vx3w4";
libraryHaskellDepends = [
attoparsec base base-prelude bytestring bytestring-strict-builder
- contravariant contravariant-extras data-default-class dlist
- hashable hashtables loch-th mtl placeholders postgresql-binary
- postgresql-libpq profunctors text text-builder transformers vector
+ contravariant contravariant-extras dlist hashable hashtables
+ loch-th mtl placeholders postgresql-binary postgresql-libpq
+ profunctors text text-builder transformers vector
];
testHaskellDepends = [
- bug data-default-class QuickCheck quickcheck-instances rebase
- rerebase tasty tasty-hunit tasty-quickcheck
+ bug QuickCheck quickcheck-instances rebase rerebase tasty
+ tasty-hunit tasty-quickcheck
];
benchmarkHaskellDepends = [ bug criterion rerebase ];
- description = "An efficient PostgreSQL driver and a flexible mapping API";
+ description = "An efficient PostgreSQL driver with a flexible mapping API";
license = stdenv.lib.licenses.mit;
}) {};
- "hasql_1_3_0_6" = callPackage
- ({ mkDerivation, attoparsec, base, base-prelude, bug, bytestring
- , bytestring-strict-builder, contravariant, contravariant-extras
- , criterion, data-default-class, dlist, hashable, hashtables
- , loch-th, mtl, placeholders, postgresql-binary, postgresql-libpq
- , profunctors, QuickCheck, quickcheck-instances, rebase, rerebase
- , tasty, tasty-hunit, tasty-quickcheck, text, text-builder
- , transformers, vector
- }:
- mkDerivation {
- pname = "hasql";
- version = "1.3.0.6";
- sha256 = "01kp8ajg7mw3j6g6d13fsygcbbw7gyrqh3hdllhb1jv53mr7fgb3";
- libraryHaskellDepends = [
- attoparsec base base-prelude bytestring bytestring-strict-builder
- contravariant contravariant-extras data-default-class dlist
- hashable hashtables loch-th mtl placeholders postgresql-binary
- postgresql-libpq profunctors text text-builder transformers vector
- ];
- testHaskellDepends = [
- bug data-default-class QuickCheck quickcheck-instances rebase
- rerebase tasty tasty-hunit tasty-quickcheck
- ];
- benchmarkHaskellDepends = [ bug criterion rerebase ];
- description = "An efficient PostgreSQL driver and a flexible mapping API";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"hasql-backend" = callPackage
({ mkDerivation, base, base-prelude, bytestring, either, free
, list-t, text, transformers, vector
@@ -109439,8 +111154,8 @@ self: {
}:
mkDerivation {
pname = "hasql-cursor-query";
- version = "0.4.4.2";
- sha256 = "1h57x0az7hlmkbwmhdm0y4c63ypx48gkkw07rb2lj5sizn9j2qq9";
+ version = "0.4.4.3";
+ sha256 = "1f4qa5gfqllw3k5qxmlp247vby3g9gy8pb2mhhfrslhr2xynzxp1";
libraryHaskellDepends = [
base base-prelude bytestring contravariant foldl hasql
hasql-cursor-transaction hasql-transaction profunctors
@@ -109462,8 +111177,8 @@ self: {
}:
mkDerivation {
pname = "hasql-cursor-transaction";
- version = "0.6.3.1";
- sha256 = "05d01gb7ag9rcpk8vwizsbyi0lxd1fh6r6y4a6pvinj5sa2qn1hn";
+ version = "0.6.4";
+ sha256 = "00g365n4ai1bl8d7yipach1ivxs9apvzdfb9zcv59hnyhdn28wgr";
libraryHaskellDepends = [
base base-prelude bytestring bytestring-tree-builder contravariant
contravariant-extras hasql hasql-transaction transformers
@@ -109472,6 +111187,28 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hasql-dynamic-statements" = callPackage
+ ({ mkDerivation, base, bytestring, containers, hasql
+ , hasql-implicits, ptr, QuickCheck, quickcheck-instances, rerebase
+ , tasty, tasty-hunit, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "hasql-dynamic-statements";
+ version = "0.2.0.1";
+ sha256 = "087zkb89cr0d3brjrpq414jpwswvzvxkbzvw63ahcvmv7lfgaknh";
+ libraryHaskellDepends = [
+ base bytestring containers hasql hasql-implicits ptr
+ ];
+ testHaskellDepends = [
+ hasql QuickCheck quickcheck-instances rerebase tasty tasty-hunit
+ tasty-quickcheck
+ ];
+ description = "Toolkit for constructing Hasql statements dynamically";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hasql-generic" = callPackage
({ mkDerivation, aeson, base, binary-parser, bytestring, containers
, contravariant, generics-sop, hasql, postgresql-binary, scientific
@@ -109492,6 +111229,24 @@ self: {
broken = true;
}) {};
+ "hasql-implicits" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, hasql
+ , network-ip, ptr, scientific, text, time, uuid, vector
+ }:
+ mkDerivation {
+ pname = "hasql-implicits";
+ version = "0.1.0.1";
+ sha256 = "1b9j2za960h3sp48mxqk8lxhjsbhs47lnsvyah8p9wahf69qki5f";
+ libraryHaskellDepends = [
+ aeson base bytestring containers hasql network-ip ptr scientific
+ text time uuid vector
+ ];
+ description = "Implicit definitions for Hasql, such as default codecs for standard types";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hasql-migration" = callPackage
({ mkDerivation, base, bytestring, contravariant, cryptonite
, data-default-class, directory, hasql, hasql-transaction, hspec
@@ -109520,8 +111275,8 @@ self: {
}:
mkDerivation {
pname = "hasql-optparse-applicative";
- version = "0.3.0.3";
- sha256 = "0d33y3bzy3q5yj4vizi9i2xwwnw1lzyxq72jk2daqjs347dc7d33";
+ version = "0.3.0.5";
+ sha256 = "0q5ggbx3xlzq0lv6i6wac9zsf0x4k91cf1n5rg6q96wg90f0dxxq";
libraryHaskellDepends = [
base-prelude hasql hasql-pool optparse-applicative
];
@@ -109535,8 +111290,8 @@ self: {
({ mkDerivation, base-prelude, hasql, hspec, resource-pool, time }:
mkDerivation {
pname = "hasql-pool";
- version = "0.5.0.2";
- sha256 = "12289a6xn7gn58s8009bwcjffvr5ipycyb2ixzkxbigaxjbprar4";
+ version = "0.5.1";
+ sha256 = "0agl5ilp0amsp9pidhmgivdyaq43x3xi7hb80c91n9l92pv6163k";
libraryHaskellDepends = [ base-prelude hasql resource-pool time ];
testHaskellDepends = [ base-prelude hasql hspec ];
description = "A pool of connections for Hasql";
@@ -109637,8 +111392,8 @@ self: {
}:
mkDerivation {
pname = "hasql-transaction";
- version = "0.7.1";
- sha256 = "02isgjzx3dhp5a7zgz2pbvm6fwmgbnwbqz7k01argf4pawckb8s9";
+ version = "0.7.2";
+ sha256 = "13d5zisr34bdbiypvpcb114d4c9yi6pyb9wnhigqpwd90vzpzsb5";
libraryHaskellDepends = [
base bytestring bytestring-tree-builder contravariant
contravariant-extras hasql mtl transformers
@@ -109648,6 +111403,25 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hasql-transaction_1" = callPackage
+ ({ mkDerivation, async, base, bytestring, bytestring-tree-builder
+ , contravariant, contravariant-extras, hasql, mtl, rebase
+ , transformers
+ }:
+ mkDerivation {
+ pname = "hasql-transaction";
+ version = "1";
+ sha256 = "1k82b0bx4j2g7lhr2p4z4a365kx1i23dr6zikwg1yyhpvhl3xbcj";
+ libraryHaskellDepends = [
+ base bytestring bytestring-tree-builder contravariant
+ contravariant-extras hasql mtl transformers
+ ];
+ testHaskellDepends = [ async hasql rebase ];
+ description = "A composable abstraction over the retryable transactions for Hasql";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"hastache" = callPackage
({ mkDerivation, base, blaze-builder, bytestring, containers
, directory, filepath, HUnit, ieee754, mtl, process, syb, text
@@ -110004,8 +111778,8 @@ self: {
}:
mkDerivation {
pname = "haven";
- version = "0.2.0.1";
- sha256 = "15q9cgfifz87ns730agv2vzc8rp5lqggiclc91khpckm2qppk6yd";
+ version = "0.2.0.2";
+ sha256 = "0n92h5gjy6ax0c5f2k80j21ymf741vzhsm1kdav86hphhxdlw8ng";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -110014,8 +111788,6 @@ self: {
];
description = "Recursively retrieve maven dependencies";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"haverer" = callPackage
@@ -110102,8 +111874,8 @@ self: {
}:
mkDerivation {
pname = "haxl";
- version = "2.0.1.1";
- sha256 = "1wfnwi3impv4cv359a65yh50c6kdfxhvbwycf5h76w3cvqdhvwsr";
+ version = "2.1.2.0";
+ sha256 = "1lwm9rs9r0qs32n3nw49j3sz41qzq2wxv0a9gpiziaw0sjlk00jy";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -110208,6 +111980,8 @@ self: {
];
description = "XML-RPC client and server library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"haxr-th" = callPackage
@@ -111197,8 +112971,8 @@ self: {
}:
mkDerivation {
pname = "hdocs";
- version = "0.5.3.1";
- sha256 = "0nxvkmhxpxx3500sy7kzpqyp45rq83hjm6gkj10vglxgjk32vzp4";
+ version = "0.5.3.2";
+ sha256 = "0x899pa5dw1jrc0vcw8aa1f3cx2xz8z0zqhplivji81lpjnajfgv";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -111212,8 +112986,6 @@ self: {
testHaskellDepends = [ base containers mtl ];
description = "Haskell docs tool";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hdph" = callPackage
@@ -111313,8 +113085,6 @@ self: {
testHaskellDepends = [ base QuickCheck ];
description = "Heaps in Haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"heaps" = callPackage
@@ -111364,8 +113134,8 @@ self: {
}:
mkDerivation {
pname = "heatitup";
- version = "0.5.3.3";
- sha256 = "1bqindh91i4ra67516nl0c5i98fgm9bwsjy7vv0qjzmfqk3bqp84";
+ version = "0.5.4.0";
+ sha256 = "07qwsmk2hszm2q7ky4avmpwmd2j4xqprid7kvcrhh1s6d9f8nbz2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -111392,8 +113162,8 @@ self: {
}:
mkDerivation {
pname = "heatitup-complete";
- version = "0.5.3.3";
- sha256 = "1djs5hni6s4mzs4fniamfz6k7590l34mgvd1d2kglmdpb5m22pcz";
+ version = "0.5.4.0";
+ sha256 = "0zxyxwvpj0mkz10y4rf793cpxmd0bmlz3d4p8c0icgainacs6dsg";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -111477,6 +113247,8 @@ self: {
];
description = "heavy-logger compatibility with amazonka-core logging";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"heavy-logger-instances" = callPackage
@@ -111547,34 +113319,6 @@ self: {
}) {};
"hedgehog" = callPackage
- ({ mkDerivation, ansi-terminal, async, base, bytestring
- , concurrent-output, containers, directory, exceptions
- , lifted-async, mmorph, monad-control, mtl, pretty-show, primitive
- , random, resourcet, semigroups, stm, template-haskell, text
- , th-lift, time, transformers, transformers-base, unix
- , wl-pprint-annotated
- }:
- mkDerivation {
- pname = "hedgehog";
- version = "0.6.1";
- sha256 = "0xz10ycdm5vk9nrcym1fi83k19frfwqz18bz8bnpzwvaj0j41yfj";
- revision = "5";
- editedCabalFile = "0kwmxjb1y3gk85njacw5wcvmq3bzp1649dbjzgzpiba2w342f7il";
- libraryHaskellDepends = [
- ansi-terminal async base bytestring concurrent-output containers
- directory exceptions lifted-async mmorph monad-control mtl
- pretty-show primitive random resourcet semigroups stm
- template-haskell text th-lift time transformers transformers-base
- unix wl-pprint-annotated
- ];
- testHaskellDepends = [
- base containers pretty-show semigroups text transformers
- ];
- description = "Hedgehog will eat all your bugs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "hedgehog_1_0" = callPackage
({ mkDerivation, ansi-terminal, async, base, bytestring
, concurrent-output, containers, directory, exceptions, fail
, lifted-async, mmorph, monad-control, mtl, pretty-show, primitive
@@ -111585,8 +113329,8 @@ self: {
pname = "hedgehog";
version = "1.0";
sha256 = "1np9xg58x20kalfci9dxbd4wsg0sl3ka56ragzy3i9p0nx29pmns";
- revision = "1";
- editedCabalFile = "1b2hvd3z5mnwfdp5xwdwrh2f1l0wshnnz6ggak2dqqm57wyifdql";
+ revision = "2";
+ editedCabalFile = "0sbw4hwcza5pb02cndl5f30cyqjl44mn5y3i72n4x8s8mknsy3a4";
libraryHaskellDepends = [
ansi-terminal async base bytestring concurrent-output containers
directory exceptions fail lifted-async mmorph monad-control mtl
@@ -111599,7 +113343,6 @@ self: {
];
description = "Release with confidence";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hedgehog-checkers" = callPackage
@@ -111633,20 +113376,25 @@ self: {
}) {};
"hedgehog-classes" = callPackage
- ({ mkDerivation, aeson, base, containers, hedgehog, pretty-show
- , semirings, transformers, wl-pprint-annotated
+ ({ mkDerivation, aeson, base, binary, comonad, containers, hedgehog
+ , pretty-show, primitive, semirings, silently, transformers
+ , wl-pprint-annotated
}:
mkDerivation {
pname = "hedgehog-classes";
- version = "0.1.2";
- sha256 = "0lvlsv7mgmys03v4xnjvfb19426xa1vwfnrbpf0yg8h0pv6hz7wv";
+ version = "0.2.4";
+ sha256 = "0cvaa8rrjwz00z377b0s6c2yyfyxka78cpw66bkrlzyihjqqg6gn";
libraryHaskellDepends = [
- aeson base containers hedgehog pretty-show semirings transformers
- wl-pprint-annotated
+ aeson base binary comonad containers hedgehog pretty-show primitive
+ semirings silently transformers wl-pprint-annotated
+ ];
+ testHaskellDepends = [
+ aeson base binary comonad containers hedgehog
];
- testHaskellDepends = [ aeson base containers hedgehog ];
description = "Hedgehog will eat your typeclass bugs";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hedgehog-corpus" = callPackage
@@ -111673,8 +113421,6 @@ self: {
];
description = "Function generation for `hedgehog`";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hedgehog-gen-json" = callPackage
@@ -111712,6 +113458,8 @@ self: {
libraryHaskellDepends = [ base hedgehog ];
description = "GHC Generics automatically derived hedgehog generators";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hedgehog-quickcheck" = callPackage
@@ -111723,8 +113471,6 @@ self: {
libraryHaskellDepends = [ base hedgehog QuickCheck transformers ];
description = "Use QuickCheck generators in Hedgehog and vice versa";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hedis" = callPackage
@@ -111735,10 +113481,8 @@ self: {
}:
mkDerivation {
pname = "hedis";
- version = "0.10.10";
- sha256 = "0hbjhccipvg2i1cyinvhlk4jgscam9y5897ib1fh6rc0qwnlblhs";
- revision = "1";
- editedCabalFile = "0fcpf0jqga8wh0ikbpkma8sw7f5376wbc9w9rsiqp51q8f23x04h";
+ version = "0.12.8";
+ sha256 = "119j0g6b2ci04bax6xl2biwwf7cfk2vybypx3089fm69xgm8spcz";
libraryHaskellDepends = [
async base bytestring bytestring-lexing deepseq errors HTTP mtl
network network-uri resource-pool scanner stm text time tls
@@ -111753,31 +113497,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "hedis_0_12_5" = callPackage
- ({ mkDerivation, async, base, bytestring, bytestring-lexing
- , deepseq, doctest, errors, HTTP, HUnit, mtl, network, network-uri
- , resource-pool, scanner, stm, test-framework, test-framework-hunit
- , text, time, tls, unordered-containers, vector
- }:
- mkDerivation {
- pname = "hedis";
- version = "0.12.5";
- sha256 = "1alabz8j9lmd2ydm34hndqcyvihnfyvl7cgda6ycsch5sbffmjlp";
- libraryHaskellDepends = [
- async base bytestring bytestring-lexing deepseq errors HTTP mtl
- network network-uri resource-pool scanner stm text time tls
- unordered-containers vector
- ];
- testHaskellDepends = [
- async base bytestring doctest HUnit mtl stm test-framework
- test-framework-hunit text time
- ];
- benchmarkHaskellDepends = [ base mtl time ];
- description = "Client library for the Redis datastore: supports full command set, pipelining";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"hedis-config" = callPackage
({ mkDerivation, aeson, base, bytestring, hedis, scientific, text
, time
@@ -112492,8 +114211,8 @@ self: {
}:
mkDerivation {
pname = "heredocs";
- version = "0.1.4";
- sha256 = "0vy5d7z58vspjgncfiy10nalm70xqqdhy8ba1rkqzn9l5w79p1rz";
+ version = "0.1.5";
+ sha256 = "1bmih3jwmx8dv128rb9w1682fp3w0f6i7hhyyakswy7a04q34ryi";
libraryHaskellDepends = [
base bytestring doctest parsec template-haskell text
];
@@ -112943,6 +114662,8 @@ self: {
pname = "hex";
version = "0.1.2";
sha256 = "1v31xiaivrrn0q2jz8919wvkjplv1kxna5ajhsj701fqxm1i5vhj";
+ revision = "1";
+ editedCabalFile = "0khmrdni6njr4wxgz15yz77l8ar4qm2jj6v0lvfnwqdms4s6i80y";
libraryHaskellDepends = [ base bytestring ];
description = "Convert strings into hexadecimal and back";
license = stdenv.lib.licenses.bsd3;
@@ -113756,12 +115477,14 @@ self: {
pname = "hgmp";
version = "0.1.1";
sha256 = "1hisbcpz47x2lbqf8vzwis7qw7xhvx22lv7dcyhm9vsmsh5741dr";
- revision = "3";
- editedCabalFile = "0z2xbqzyrgm9apy3xl353wgwhbnc3hdb1giw2j6fyvv705fmpb62";
+ revision = "4";
+ editedCabalFile = "00rg7f223716dlqk0w92ixnyj7a9imj6yqcs5qx833jv7lk8lbyj";
libraryHaskellDepends = [ base ghc-prim integer-gmp ];
testHaskellDepends = [ base QuickCheck ];
description = "Haskell interface to GMP";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hgom" = callPackage
@@ -113874,30 +115597,28 @@ self: {
"hhp" = callPackage
({ mkDerivation, base, Cabal, containers, deepseq, directory
- , doctest, filepath, ghc, hlint, hspec, io-choice, process, syb
+ , doctest, filepath, ghc, ghc-boot, hlint, hspec, process, syb
}:
mkDerivation {
pname = "hhp";
- version = "0.0.0";
- sha256 = "1520cax79wrf5a183630pji3bypz6qck73fa3p0x63vgcv3p5rwk";
+ version = "0.0.1";
+ sha256 = "0b3hliz1ags0c17kjwvsvl56ms4ga8wvaf5c7nmfiyzf0s6h0lp0";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- base Cabal containers deepseq directory filepath ghc hlint
- io-choice process syb
+ base Cabal containers deepseq directory filepath ghc ghc-boot hlint
+ process syb
];
executableHaskellDepends = [
base containers directory filepath ghc
];
testHaskellDepends = [
- base Cabal containers deepseq directory doctest filepath ghc hlint
- hspec io-choice process syb
+ base Cabal containers deepseq directory doctest filepath ghc
+ ghc-boot hlint hspec process syb
];
description = "Happy Haskell Programming";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hi" = callPackage
@@ -113930,6 +115651,20 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hi-file-parser" = callPackage
+ ({ mkDerivation, base, binary, bytestring, hspec, rio, vector }:
+ mkDerivation {
+ pname = "hi-file-parser";
+ version = "0.1.0.0";
+ sha256 = "09gs26z0jvkkhb1r43gj27pq0k5fc4i6fpr59g397vz4sm86gb2l";
+ revision = "2";
+ editedCabalFile = "1bm98h0v4wf9vmdng15c2r48yz06118jxlprsnk0z3jw0d95ij9z";
+ libraryHaskellDepends = [ base binary bytestring rio vector ];
+ testHaskellDepends = [ base binary bytestring hspec rio vector ];
+ description = "Parser for GHC's hi files";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"hi3status" = callPackage
({ mkDerivation, aeson, base, binary, bytestring, dbus, dyre
, network, prefix-units, process, regex-pcre-builtin, text, time
@@ -114066,6 +115801,66 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hie-bios" = callPackage
+ ({ mkDerivation, base, base16-bytestring, bytestring, containers
+ , cryptohash-sha1, deepseq, directory, extra, file-embed, filepath
+ , ghc, process, temporary, text, time, transformers, unix-compat
+ , unordered-containers, vector, yaml
+ }:
+ mkDerivation {
+ pname = "hie-bios";
+ version = "0.1.1";
+ sha256 = "119rqh12bq5gq5y708hxr0zci1dq8wf44xzxgxhhx4sb5zgj1l2p";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base base16-bytestring bytestring containers cryptohash-sha1
+ deepseq directory extra file-embed filepath ghc process temporary
+ text time transformers unix-compat unordered-containers vector yaml
+ ];
+ executableHaskellDepends = [ base directory filepath ghc ];
+ description = "Set up a GHC API session";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "hie-core" = callPackage
+ ({ mkDerivation, aeson, async, base, binary, bytestring, containers
+ , data-default, deepseq, directory, extra, filepath, ghc, ghc-boot
+ , ghc-boot-th, ghc-paths, hashable, haskell-lsp, haskell-lsp-types
+ , hie-bios, lens, lsp-test, mtl, network-uri, optparse-applicative
+ , parser-combinators, prettyprinter, prettyprinter-ansi-terminal
+ , rope-utf16-splay, safe-exceptions, shake, sorted-list, stm, syb
+ , tasty, tasty-hunit, text, time, transformers, unix
+ , unordered-containers, utf8-string
+ }:
+ mkDerivation {
+ pname = "hie-core";
+ version = "0.0.1";
+ sha256 = "1fdg5vz5qr9y9xmqqb2qcxss8byz3m38d7zcfybq783fxqrcyfsc";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson async base binary bytestring containers data-default deepseq
+ directory extra filepath ghc ghc-boot ghc-boot-th hashable
+ haskell-lsp haskell-lsp-types mtl network-uri prettyprinter
+ prettyprinter-ansi-terminal rope-utf16-splay safe-exceptions shake
+ sorted-list stm syb text time transformers unix
+ unordered-containers utf8-string
+ ];
+ executableHaskellDepends = [
+ base containers data-default directory extra filepath ghc ghc-paths
+ haskell-lsp hie-bios optparse-applicative shake text
+ ];
+ testHaskellDepends = [
+ base containers extra filepath haskell-lsp-types lens lsp-test
+ parser-combinators tasty tasty-hunit text
+ ];
+ description = "The core of an IDE";
+ license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hieraclus" = callPackage
({ mkDerivation, base, containers, HUnit, mtl, multiset }:
mkDerivation {
@@ -114084,8 +115879,8 @@ self: {
}:
mkDerivation {
pname = "hierarchical-clustering";
- version = "0.4.6";
- sha256 = "1cfcrnxqczqzqgpyipsw9dwfw1j75zd11vpd12i533f3p44pzwbm";
+ version = "0.4.7";
+ sha256 = "15fiqvhcd0i5l1w4s5liggfbdknasdpvyxd54qrjjdp41qb4d3qk";
libraryHaskellDepends = [ array base containers ];
testHaskellDepends = [ base hspec HUnit QuickCheck ];
description = "Fast algorithms for single, average/UPGMA and complete linkage clustering";
@@ -114130,7 +115925,7 @@ self: {
"hierarchical-spectral-clustering" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, cassava
- , clustering, containers, directory, eigen, fgl, filepath
+ , clustering, containers, directory, fgl, filepath
, hierarchical-clustering, hmatrix, lens, managed, modularity, mtl
, optparse-generic, safe, sparse-linear-algebra
, spectral-clustering, streaming, streaming-bytestring
@@ -114139,12 +115934,12 @@ self: {
}:
mkDerivation {
pname = "hierarchical-spectral-clustering";
- version = "0.4.0.0";
- sha256 = "1mw546dvyzrhcw7a61zb0anfgxk3s5r3bjrj7iry36shh1ancs1s";
+ version = "0.4.1.3";
+ sha256 = "1vhndwkny2sjh7c7m8qym6iasqacsaim0rkihdq3x58mdm2848n7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base cassava clustering containers eigen fgl
+ aeson base cassava clustering containers fgl
hierarchical-clustering hmatrix managed modularity mtl safe
sparse-linear-algebra spectral-clustering streaming
streaming-bytestring streaming-cassava streaming-with text tree-fun
@@ -114227,10 +116022,12 @@ self: {
}:
mkDerivation {
pname = "higgledy";
- version = "0.2.0.0";
- sha256 = "0q1xns7l7g1m4nfj4wr90r55m4n5c4fvigww12shr1x9hp30pqy0";
+ version = "0.3.0.0";
+ sha256 = "11kcysplf8jzym5g6kd194p72i67scprxsd6hirhacvl8qypy8d6";
libraryHaskellDepends = [ barbies base generic-lens QuickCheck ];
- testHaskellDepends = [ base doctest hspec lens QuickCheck ];
+ testHaskellDepends = [
+ barbies base doctest hspec lens QuickCheck
+ ];
description = "Partial types as a type constructor";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -114464,8 +116261,8 @@ self: {
pname = "hills";
version = "0.1.2.6";
sha256 = "0ggdppg7mbq3ljrb4hvracdv81m9jqnsrl6iqy56sba118k7m0jh";
- revision = "2";
- editedCabalFile = "11f4mmhxivxkdcn4wdcz1hszfyi3hdggls22x2q0m3jxq3lw0izg";
+ revision = "3";
+ editedCabalFile = "10l4hx0j8il66h3m9flhwsqm9v52qmpj4cyjih4c6cnng6vjsfnj";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -114549,8 +116346,8 @@ self: {
}:
mkDerivation {
pname = "hindent";
- version = "5.3.0";
- sha256 = "0wkfik7mvqskk23kyh7ybgnlh3j9j1ym7d3ncahsbli9w654b7xg";
+ version = "5.3.1";
+ sha256 = "008s8zm9qs972b7v5kkmr8l3i9kc6zm7yj33mkw6dv69b7h3c01l";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -114778,20 +116575,21 @@ self: {
}) {};
"hint" = callPackage
- ({ mkDerivation, base, directory, exceptions, extensible-exceptions
- , filepath, ghc, ghc-boot, ghc-paths, HUnit, mtl, random, temporary
- , unix
+ ({ mkDerivation, base, containers, directory, exceptions
+ , extensible-exceptions, filepath, ghc, ghc-boot, ghc-paths, HUnit
+ , mtl, random, temporary, unix
}:
mkDerivation {
pname = "hint";
- version = "0.9.0";
- sha256 = "1g7q4clzc2pdnbvmm265dindjpynabsykd088qjjzlk6590sy9bl";
+ version = "0.9.0.1";
+ sha256 = "15cnam704p7ynk70lqz3nvy91src5bd9amfdknvkfzpi5yf2825b";
libraryHaskellDepends = [
base directory exceptions filepath ghc ghc-boot ghc-paths mtl
random temporary unix
];
testHaskellDepends = [
- base directory exceptions extensible-exceptions filepath HUnit unix
+ base containers directory exceptions extensible-exceptions filepath
+ HUnit unix
];
description = "Runtime Haskell interpreter (GHC API wrapper)";
license = stdenv.lib.licenses.bsd3;
@@ -114858,6 +116656,8 @@ self: {
];
description = "Haskell / Erlang interoperability library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hinvaders" = callPackage
@@ -114909,8 +116709,6 @@ self: {
];
description = "Haskell Image Processing (HIP) Library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hipbot" = callPackage
@@ -115255,22 +117053,22 @@ self: {
}) {};
"hit-on" = callPackage
- ({ mkDerivation, ansi-terminal, base, base-noprelude, github
- , gitrev, optparse-applicative, relude, shellmet, text, vector
+ ({ mkDerivation, ansi-terminal, base, base-noprelude, directory
+ , github, gitrev, hspec, optparse-applicative, process, relude
+ , shellmet, text, vector
}:
mkDerivation {
pname = "hit-on";
- version = "0.0.0";
- sha256 = "14npvwxh33cn8z2klp7liij41r9pyr00rs4g28yva2zry75bf98r";
- revision = "1";
- editedCabalFile = "1fwvm0fz2agqziaspxlxxmdv44xrv65pf601i0938wkx4452v8fz";
+ version = "0.1.0.0";
+ sha256 = "13pxn9xqyfd5n53bl57bk0wc8qlnl5dsh1xq5y49arsnk2g86ir5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- ansi-terminal base-noprelude github gitrev optparse-applicative
- relude shellmet text vector
+ ansi-terminal base-noprelude directory github gitrev
+ optparse-applicative process relude shellmet text vector
];
executableHaskellDepends = [ base ];
+ testHaskellDepends = [ base github hspec text ];
description = "Haskell Git Helper Tool";
license = stdenv.lib.licenses.mpl20;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -115379,8 +117177,8 @@ self: {
pname = "hjsonpointer";
version = "1.5.0";
sha256 = "1bdr5jpc2vcx6bk724jmfz7nh3jgqwrmj4hab64h9pjdrl4vz00y";
- revision = "2";
- editedCabalFile = "1s43vdkl71msm8kppksn910prs40nwq4cz5klajr8apak77z4dzi";
+ revision = "3";
+ editedCabalFile = "1y9fhqb8kjgflsds8nkw7nr1b9ydyz5f3227b4k8b7ir97rzy5d0";
libraryHaskellDepends = [
aeson base hashable text unordered-containers vector
];
@@ -115405,8 +117203,8 @@ self: {
pname = "hjsonschema";
version = "1.9.0";
sha256 = "051i5y557g82hd5zcn63f65jyxk07d9wnvfmwdps391zxza8ifki";
- revision = "1";
- editedCabalFile = "1kxn0smmcmzysvi1bw9v0j6j68fk4s36nqyqmvbkl61pgm6bs803";
+ revision = "2";
+ editedCabalFile = "0110dyc8lbd8x0cbmxgwwbvzckxkfj84krd5p51p0jaixvrrl53r";
libraryHaskellDepends = [
aeson base bytestring containers file-embed filepath hashable
hjsonpointer http-client http-client-tls http-types pcre-heavy
@@ -115444,6 +117242,35 @@ self: {
license = stdenv.lib.licenses.gpl3;
}) {};
+ "hjugement-cli" = callPackage
+ ({ mkDerivation, aeson, base, base64-bytestring, binary, bytestring
+ , containers, cryptonite, deepseq, directory, filepath, ghc-prim
+ , hjugement, hjugement-protocol, lens-family-core, memory, pipes
+ , pipes-aeson, pipes-bytestring, pipes-group, pipes-parse
+ , pipes-safe, pipes-text, random, reflection, symantic-cli
+ , symantic-document, terminal-size, text, time, transformers, unix
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "hjugement-cli";
+ version = "0.0.0.20190815";
+ sha256 = "1ard95f5zs5bkj24qk3wwkgcz99xkwjqs35gfrslf3yd14davy2w";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson base base64-bytestring binary bytestring containers
+ cryptonite deepseq directory filepath ghc-prim hjugement
+ hjugement-protocol lens-family-core memory pipes pipes-aeson
+ pipes-bytestring pipes-group pipes-parse pipes-safe pipes-text
+ random reflection symantic-cli symantic-document terminal-size text
+ time transformers unix unordered-containers
+ ];
+ description = "Majority Judgment and Helios-C command line tool";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hjugement-protocol" = callPackage
({ mkDerivation, aeson, base, base64-bytestring, binary, bytestring
, containers, criterion, cryptonite, deepseq, memory, QuickCheck
@@ -115452,8 +117279,8 @@ self: {
}:
mkDerivation {
pname = "hjugement-protocol";
- version = "0.0.0.20190519";
- sha256 = "163ihhjz3ma2x6hng7zssbcr9xfni7xn7imyg98w1qv68gbb3b7r";
+ version = "0.0.7.20190815";
+ sha256 = "0b356pi6s3ih47d42ns50irgwsblwd9hvasav6sswzww3qlrnbrz";
libraryHaskellDepends = [
aeson base base64-bytestring binary bytestring containers
cryptonite deepseq memory random reflection text transformers
@@ -115470,6 +117297,28 @@ self: {
license = stdenv.lib.licenses.gpl3;
}) {};
+ "hkd-delta" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "hkd-delta";
+ version = "0.0.1";
+ sha256 = "0qb20y6nca61h4mpgyhi6xfcwxf4q92pscr5zqd8yklfcz4qqyz9";
+ libraryHaskellDepends = [ base ];
+ description = "Definition of \"Delta structures\" for higher kinded data";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "hkd-lens" = callPackage
+ ({ mkDerivation, base, profunctors }:
+ mkDerivation {
+ pname = "hkd-lens";
+ version = "0.0.1";
+ sha256 = "0s3siyp85k84c9j1srg8y78ia6yj9s6vls9y1hnkgsmg1mx755qg";
+ libraryHaskellDepends = [ base profunctors ];
+ description = "Generic lens/prism/traversal-kinded data";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"hkdf" = callPackage
({ mkDerivation, base, byteable, bytestring, cryptohash, hspec }:
mkDerivation {
@@ -115482,6 +117331,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hkgr" = callPackage
+ ({ mkDerivation, base, directory, filepath, simple-cabal
+ , simple-cmd, simple-cmd-args
+ }:
+ mkDerivation {
+ pname = "hkgr";
+ version = "0.2.2";
+ sha256 = "1wz2yy3fiwy4601p0ir24dvv7yzfrqf99z07m8whc6gr2ypsnfjc";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base directory filepath simple-cabal simple-cmd simple-cmd-args
+ ];
+ description = "Simple Hackage release workflow for package maintainers";
+ license = stdenv.lib.licenses.gpl3;
+ }) {};
+
"hkt" = callPackage
({ mkDerivation, base, hspec, inspection-testing, protolude, text
}:
@@ -115586,7 +117452,7 @@ self: {
"hledger" = callPackage
({ mkDerivation, ansi-terminal, base, base-compat-batteries
, bytestring, cmdargs, containers, criterion, data-default, Decimal
- , Diff, directory, easytest, filepath, hashable, haskeline
+ , Diff, directory, easytest, extra, filepath, hashable, haskeline
, hledger-lib, html, lucid, math-functions, megaparsec, mtl
, mtl-compat, old-time, parsec, pretty-show, process, regex-tdfa
, safe, shakespeare, split, tabular, temporary, terminfo
@@ -115596,38 +117462,39 @@ self: {
}:
mkDerivation {
pname = "hledger";
- version = "1.14.2";
- sha256 = "1si9zqparkdq77yji87lhcsrf11fr3gisqwsv82cabhrhc36x6l4";
+ version = "1.15.2";
+ sha256 = "16mpj58519p4ksd0iwwkd63xxcr21k99h015l4kgi6zd934v2qix";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-terminal base base-compat-batteries bytestring cmdargs
- containers data-default Decimal Diff directory easytest filepath
- hashable haskeline hledger-lib lucid math-functions megaparsec mtl
- mtl-compat old-time parsec pretty-show process regex-tdfa safe
- shakespeare split tabular temporary terminfo text time transformers
- unordered-containers utf8-string utility-ht wizards
+ containers data-default Decimal Diff directory easytest extra
+ filepath hashable haskeline hledger-lib lucid math-functions
+ megaparsec mtl mtl-compat old-time parsec pretty-show process
+ regex-tdfa safe shakespeare split tabular temporary terminfo text
+ time timeit transformers unordered-containers utf8-string
+ utility-ht wizards
];
executableHaskellDepends = [
ansi-terminal base base-compat-batteries bytestring cmdargs
- containers data-default Decimal directory easytest filepath
+ containers data-default Decimal directory easytest extra filepath
haskeline hledger-lib math-functions megaparsec mtl mtl-compat
old-time parsec pretty-show process regex-tdfa safe shakespeare
- split tabular temporary terminfo text time transformers
+ split tabular temporary terminfo text time timeit transformers
unordered-containers utf8-string utility-ht wizards
];
testHaskellDepends = [
ansi-terminal base base-compat-batteries bytestring cmdargs
- containers data-default Decimal directory easytest filepath
+ containers data-default Decimal directory easytest extra filepath
haskeline hledger-lib math-functions megaparsec mtl mtl-compat
old-time parsec pretty-show process regex-tdfa safe shakespeare
split tabular temporary terminfo test-framework
- test-framework-hunit text time transformers unordered-containers
- utf8-string utility-ht wizards
+ test-framework-hunit text time timeit transformers
+ unordered-containers utf8-string utility-ht wizards
];
benchmarkHaskellDepends = [
ansi-terminal base base-compat-batteries bytestring cmdargs
- containers criterion data-default Decimal directory easytest
+ containers criterion data-default Decimal directory easytest extra
filepath haskeline hledger-lib html math-functions megaparsec mtl
mtl-compat old-time parsec pretty-show process regex-tdfa safe
shakespeare split tabular temporary terminfo text time timeit
@@ -115648,6 +117515,8 @@ self: {
pname = "hledger-api";
version = "1.14";
sha256 = "18zpclm3nh2zq6cqa10vm232ndg22r8s4h3ffmn2m4fg05172ymd";
+ revision = "1";
+ editedCabalFile = "05jlbpp4p45q8bd3152l0fm4xz9yvz07ip2cd0kplzvwnmy8sfrg";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -115658,6 +117527,8 @@ self: {
];
description = "Web API server for the hledger accounting tool";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hledger-chart" = callPackage
@@ -115699,8 +117570,8 @@ self: {
}:
mkDerivation {
pname = "hledger-flow";
- version = "0.12.2.1";
- sha256 = "1vx74i1cqjmrrjq0mrdxmar6v221lir1zzkl8bn7iza4czkdarg9";
+ version = "0.12.3.1";
+ sha256 = "1a7idnrqjn7pcvskm1yd9ynlvsza9ql3qfd8d8ycb6z8gpc30fq0";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -115729,6 +117600,8 @@ self: {
pname = "hledger-iadd";
version = "1.3.9";
sha256 = "07g48w4099m4vm7z5hrg9zzd2v2yhy7kcv40902njz6v8cklgdgq";
+ revision = "1";
+ editedCabalFile = "18qjkl79gwmdgk6vl8cg3m94wm0qw30kxn4lvlnj9n6gnv2p0b3k";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -115793,31 +117666,33 @@ self: {
({ mkDerivation, ansi-terminal, array, base, base-compat-batteries
, blaze-markup, bytestring, call-stack, cassava, cassava-megaparsec
, cmdargs, containers, data-default, Decimal, deepseq, directory
- , doctest, easytest, extra, file-embed, filepath, Glob, hashtables
- , megaparsec, mtl, mtl-compat, old-time, parsec, parser-combinators
- , pretty-show, regex-tdfa, safe, split, tabular, template-haskell
- , text, time, transformers, uglymemo, utf8-string
+ , doctest, easytest, extra, fgl, file-embed, filepath, Glob
+ , hashtables, megaparsec, mtl, mtl-compat, old-time, parsec
+ , parser-combinators, pretty-show, regex-tdfa, safe, split, tabular
+ , template-haskell, text, time, timeit, transformers, uglymemo
+ , utf8-string
}:
mkDerivation {
pname = "hledger-lib";
- version = "1.14.1";
- sha256 = "1w6qp01cak6spnpldm01czlm6i5a2alw47w76875l2nagrc4rfp2";
+ version = "1.15.2";
+ sha256 = "0q6ppizyadilxma3l8bwlswa6syyzkdri0yq0bqfmdzxvh9s3bcm";
libraryHaskellDepends = [
ansi-terminal array base base-compat-batteries blaze-markup
bytestring call-stack cassava cassava-megaparsec cmdargs containers
- data-default Decimal deepseq directory easytest extra file-embed
- filepath Glob hashtables megaparsec mtl mtl-compat old-time parsec
- parser-combinators pretty-show regex-tdfa safe split tabular
- template-haskell text time transformers uglymemo utf8-string
+ data-default Decimal deepseq directory easytest extra fgl
+ file-embed filepath Glob hashtables megaparsec mtl mtl-compat
+ old-time parsec parser-combinators pretty-show regex-tdfa safe
+ split tabular template-haskell text time timeit transformers
+ uglymemo utf8-string
];
testHaskellDepends = [
ansi-terminal array base base-compat-batteries blaze-markup
bytestring call-stack cassava cassava-megaparsec cmdargs containers
- data-default Decimal deepseq directory doctest easytest extra
+ data-default Decimal deepseq directory doctest easytest extra fgl
file-embed filepath Glob hashtables megaparsec mtl mtl-compat
old-time parsec parser-combinators pretty-show regex-tdfa safe
- split tabular template-haskell text time transformers uglymemo
- utf8-string
+ split tabular template-haskell text time timeit transformers
+ uglymemo utf8-string
];
description = "Core data types, parsers and functionality for the hledger accounting tools";
license = stdenv.lib.licenses.gpl3;
@@ -115853,8 +117728,8 @@ self: {
}:
mkDerivation {
pname = "hledger-ui";
- version = "1.14.2";
- sha256 = "0bhixvzxv7d0kwb4ppv3sc98wjkc58kna9f91202s63sbikahlcr";
+ version = "1.15";
+ sha256 = "047ssmix7pxq61hknd40z983aw8110zxzh6z2ick8xkhdsnw3s1q";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -115899,8 +117774,8 @@ self: {
}:
mkDerivation {
pname = "hledger-web";
- version = "1.14.1";
- sha256 = "0w59nr7mj0nx8z44cvhy1rhlj5rmx0wq4p5nfl4dycfmp7jwvsm1";
+ version = "1.15";
+ sha256 = "1m54m8v1fzlazrh9hhv4ff7jrg95d03i8wx360l1y731gry54zw3";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -116000,8 +117875,8 @@ self: {
}:
mkDerivation {
pname = "hlint";
- version = "2.1.21";
- sha256 = "1il8nrpk5iw6949dfchb2329z5xi7rx4zq028lmfqr8sg2hhjwj4";
+ version = "2.2.2";
+ sha256 = "1v10xcz4vdzk1a3gjlvqbdckldax2643sg7s3xkm3dnlj5hg05yp";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -116056,6 +117931,8 @@ self: {
];
description = "Client library for the Apache Livy REST API";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hlogger" = callPackage
@@ -116098,10 +117975,8 @@ self: {
}:
mkDerivation {
pname = "hlrdb";
- version = "0.2.0.1";
- sha256 = "0rrpn3gsh2ck3skpc9d6mdprcac8xdxxc71m8y5jfi0yzh6priga";
- revision = "1";
- editedCabalFile = "0464nxq1q7cccfcm0wi9l3gjgppbpzg4vgm61g21x0l8fnvyv42q";
+ version = "0.3.0.0";
+ sha256 = "0pc3hqi6v9b78fijisnarfs59w6mw8jgyww25r1wmblgwyakl5ab";
libraryHaskellDepends = [
base base64-bytestring bytestring cryptonite hashable hedis
hlrdb-core memory random store time unordered-containers
@@ -116215,10 +118090,8 @@ self: {
}:
mkDerivation {
pname = "hmatrix";
- version = "0.19.0.0";
- sha256 = "10jd69nby29dggghcyjk6ykyr5wrn97nrv1dkpyrp0y5xm12xssj";
- revision = "1";
- editedCabalFile = "0krx0ds5mcj28y6zpg0r50lljn8681wi4c5lqcdz2c71nhixfq8h";
+ version = "0.20.0.0";
+ sha256 = "1sqy1aci5zfagkb34mz3xdil7cl96z4b4cx28cha54vc5sx1lhpg";
configureFlags = [ "-fdisable-default-paths" "-fopenblas" ];
libraryHaskellDepends = [
array base binary bytestring deepseq random semigroups split
@@ -116237,8 +118110,8 @@ self: {
}:
mkDerivation {
pname = "hmatrix-backprop";
- version = "0.1.2.5";
- sha256 = "1m6imvvcg8cjlqlcj2qhk5k0g88w853mw9r2mky54rmxfd86xfsf";
+ version = "0.1.3.0";
+ sha256 = "1nknwamc51f3d1syy1wi8fkvlx40riwi7x94yh34y0fzgddgjl2k";
libraryHaskellDepends = [
backprop base ghc-typelits-knownnat ghc-typelits-natnormalise
hmatrix hmatrix-vector-sized microlens vector vector-sized vinyl
@@ -116313,8 +118186,8 @@ self: {
}:
mkDerivation {
pname = "hmatrix-gsl-stats";
- version = "0.4.1.7";
- sha256 = "1gslgk58lzin43cvbpivhw7nrn9qyaa6qwhy1z9ypvyal5p8n3sa";
+ version = "0.4.1.8";
+ sha256 = "1cq049sj3q5r06x7i35hqrkf2jc4p4kfi9zv0jmi2vp7w4644i5q";
libraryHaskellDepends = [
base binary hmatrix storable-complex vector
];
@@ -116452,25 +118325,28 @@ self: {
}) {};
"hmatrix-sundials" = callPackage
- ({ mkDerivation, base, containers, diagrams-lib
- , diagrams-rasterific, hmatrix, hspec, inline-c, lens, plots
+ ({ mkDerivation, base, bytestring, cassava, clock, containers
+ , deepseq, diagrams-lib, diagrams-rasterific, hmatrix, hspec
+ , inline-c, lens, optparse-applicative, plots, split
, sundials_arkode, sundials_cvode, template-haskell, vector
}:
mkDerivation {
pname = "hmatrix-sundials";
- version = "0.19.1.0";
- sha256 = "1vbpx8661nnj15vrg177qwaylfvlp0fxdnpzncwkm4ka81v65hb5";
- revision = "1";
- editedCabalFile = "0vl85crf6zpbjpvrkydi5qk7ziaxcwr3bpm15cbxw6k94a3y9lvx";
+ version = "0.20.1.0";
+ sha256 = "0ysh3zamv8vm3i1a9bz0iqikfdxpmh95g4b0k8kgayjchhs3l6yn";
libraryHaskellDepends = [
- base containers hmatrix inline-c template-haskell vector
+ base containers deepseq hmatrix inline-c split template-haskell
+ vector
];
librarySystemDepends = [ sundials_arkode sundials_cvode ];
testHaskellDepends = [
base containers diagrams-lib diagrams-rasterific hmatrix hspec
- inline-c lens plots template-haskell vector
+ inline-c lens plots split template-haskell vector
];
testSystemDepends = [ sundials_arkode sundials_cvode ];
+ benchmarkHaskellDepends = [
+ base bytestring cassava clock hmatrix optparse-applicative
+ ];
description = "hmatrix interface to sundials";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -116490,6 +118366,8 @@ self: {
benchmarkHaskellDepends = [ base criterion hmatrix vector ];
description = "SVDLIBC bindings for HMatrix";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hmatrix-syntax" = callPackage
@@ -116534,8 +118412,8 @@ self: {
}:
mkDerivation {
pname = "hmatrix-vector-sized";
- version = "0.1.1.3";
- sha256 = "1p4222rq9xm8admm3811hgb32q1nin9y35bm4c121yhz6c0ic5cg";
+ version = "0.1.2.0";
+ sha256 = "0n9pylrxz0pkdlha1rqi2xabfjxpiya9kcyx6qlcqal1q57wh2bc";
libraryHaskellDepends = [ base hmatrix vector vector-sized ];
testHaskellDepends = [
base ghc-typelits-knownnat hedgehog hmatrix vector vector-sized
@@ -116847,6 +118725,8 @@ self: {
testSystemDepends = [ netcdf ];
description = "Haskell NetCDF library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {inherit (pkgs) netcdf;};
"hnix" = callPackage
@@ -117078,8 +118958,8 @@ self: {
}:
mkDerivation {
pname = "hoauth2";
- version = "1.8.6";
- sha256 = "1m1www5i2wp49vb03zm0d0gaq0dlgdjafwjgp2zcc16gajpabami";
+ version = "1.8.9";
+ sha256 = "03yggs3if14saxiz5m02p17crl7askh8qjky6h1jqpxric49alv7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -117928,15 +119808,15 @@ self: {
, bytestring, cmdargs, conduit, conduit-extra, connection
, containers, deepseq, directory, extra, filepath, foundation
, hashable, haskell-src-exts, http-conduit, http-types, js-flot
- , js-jquery, mmap, network-uri, old-locale, process-extras
- , QuickCheck, resourcet, storable-tuple, tar, template-haskell
- , text, time, transformers, uniplate, utf8-string, vector, wai
- , wai-logger, warp, warp-tls, zlib
+ , js-jquery, mmap, old-locale, process-extras, QuickCheck
+ , resourcet, storable-tuple, tar, template-haskell, text, time
+ , transformers, uniplate, utf8-string, vector, wai, wai-logger
+ , warp, warp-tls, zlib
}:
mkDerivation {
pname = "hoogle";
- version = "5.0.17.8";
- sha256 = "0cdxxrq3c5jpkb469y7s571q8lbw7a2adq535cx0nsjldwxvjvlb";
+ version = "5.0.17.11";
+ sha256 = "1svp8z9pad8z2j386pr0dda0ds8ddxab0salnz4gm51q877w93p1";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -117944,10 +119824,10 @@ self: {
aeson base binary blaze-html blaze-markup bytestring cmdargs
conduit conduit-extra connection containers deepseq directory extra
filepath foundation hashable haskell-src-exts http-conduit
- http-types js-flot js-jquery mmap network-uri old-locale
- process-extras QuickCheck resourcet storable-tuple tar
- template-haskell text time transformers uniplate utf8-string vector
- wai wai-logger warp warp-tls zlib
+ http-types js-flot js-jquery mmap old-locale process-extras
+ QuickCheck resourcet storable-tuple tar template-haskell text time
+ transformers uniplate utf8-string vector wai wai-logger warp
+ warp-tls zlib
];
executableHaskellDepends = [ base ];
testTarget = "--test-option=--no-net";
@@ -118122,6 +120002,8 @@ self: {
executableToolDepends = [ alex happy ];
description = "hOpenPGP-based command-line tools";
license = stdenv.lib.licenses.agpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hopenssl" = callPackage
@@ -118364,10 +120246,8 @@ self: {
}:
mkDerivation {
pname = "horname";
- version = "0.1.3.0";
- sha256 = "067jnyqk4lwrr23hvc30rqjmd400n9vd8wvj9bq67w47paqcz9p9";
- revision = "1";
- editedCabalFile = "10cgcxvpl0s4hs2r5g34kcdiy676azz751j3w5703m54mpz9irwl";
+ version = "0.2.0.0";
+ sha256 = "1qcvgjwasrgi760sv5rxl5klincgw34xczd3mqz32id183s57164";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -118726,6 +120606,45 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hpack_0_32_0" = callPackage
+ ({ mkDerivation, aeson, base, bifunctors, bytestring, Cabal
+ , containers, cryptonite, deepseq, directory, filepath, Glob, hspec
+ , hspec-discover, http-client, http-client-tls, http-types, HUnit
+ , infer-license, interpolate, mockery, pretty, QuickCheck
+ , scientific, template-haskell, temporary, text, transformers
+ , unordered-containers, vector, yaml
+ }:
+ mkDerivation {
+ pname = "hpack";
+ version = "0.32.0";
+ sha256 = "11qfqyhcwihmx1z9pg5fhza1ww8wapr04wzyx8sknwpxs3hacm4z";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base bifunctors bytestring Cabal containers cryptonite
+ deepseq directory filepath Glob http-client http-client-tls
+ http-types infer-license pretty scientific text transformers
+ unordered-containers vector yaml
+ ];
+ executableHaskellDepends = [
+ aeson base bifunctors bytestring Cabal containers cryptonite
+ deepseq directory filepath Glob http-client http-client-tls
+ http-types infer-license pretty scientific text transformers
+ unordered-containers vector yaml
+ ];
+ testHaskellDepends = [
+ aeson base bifunctors bytestring Cabal containers cryptonite
+ deepseq directory filepath Glob hspec http-client http-client-tls
+ http-types HUnit infer-license interpolate mockery pretty
+ QuickCheck scientific template-haskell temporary text transformers
+ unordered-containers vector yaml
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "A modern format for Haskell packages";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"hpack-convert" = callPackage
({ mkDerivation, aeson, aeson-qq, base, base-compat, bytestring
, Cabal, containers, deepseq, directory, filepath, Glob, hspec
@@ -118787,6 +120706,8 @@ self: {
];
description = "hpack's dhalling";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hpaco" = callPackage
@@ -118941,8 +120862,8 @@ self: {
pname = "hpc";
version = "0.6.0.3";
sha256 = "1am2fcxg7d3j3kpyhz48wzbpg83dk2jmzhqm4yiib649alzcgnhn";
- revision = "2";
- editedCabalFile = "0ywki1w4kld0m3z8v1i287g6hcsjgmyq4nxx8b9jij721ad9b9w3";
+ revision = "3";
+ editedCabalFile = "06dbiaf0sangq3zdyr3x9wkvs2fgyas3ipqkfwfmycax6j17jgyy";
libraryHaskellDepends = [
base containers directory filepath time
];
@@ -119030,13 +120951,16 @@ self: {
}:
mkDerivation {
pname = "hpdft";
- version = "0.1.0.4";
- sha256 = "1rxr2qfs6cvk0hyvvq7w0jsq8vjf8b84ay5jzfhqyk8qk73ppfji";
+ version = "0.1.0.5";
+ sha256 = "1wcbkxcfwnmfbwfa3dqlqgf825b00x0fvmp4fp3jfxs6s5dyi6lh";
+ isLibrary = true;
+ isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
attoparsec base binary bytestring containers directory file-embed
parsec text utf8-string zlib
];
+ executableHaskellDepends = [ base bytestring utf8-string ];
description = "A tool for looking through PDF file using Haskell";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -119085,6 +121009,8 @@ self: {
];
description = "Monads for GPIO in Haskell";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hplayground" = callPackage
@@ -119200,10 +121126,8 @@ self: {
}:
mkDerivation {
pname = "hpqtypes-extras";
- version = "1.9.0.0";
- sha256 = "04aibdf45w75f60wh77xk1n3a74mjqc1x4dlnxm5nx0vd8hypm2j";
- revision = "2";
- editedCabalFile = "132rdymxzkxrj8hwn7080k9xhawni3javx45rlzkr8cyv41qxwdl";
+ version = "1.9.0.1";
+ sha256 = "04qlcs5vdzyxfdmamz65lhw1bjbm8rl9h5qf4xback6lcxr2h5q7";
libraryHaskellDepends = [
base base16-bytestring bytestring containers cryptohash exceptions
fields-json hpqtypes lifted-base log-base monad-control mtl safe
@@ -119244,6 +121168,8 @@ self: {
executableToolDepends = [ alex ];
description = "Parse Google Protocol Buffer specifications";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hprotoc-fork" = callPackage
@@ -119276,6 +121202,29 @@ self: {
broken = true;
}) {};
+ "hprox" = callPackage
+ ({ mkDerivation, async, base, base64-bytestring, binary, bytestring
+ , case-insensitive, conduit, conduit-extra, http-client
+ , http-reverse-proxy, http-types, optparse-applicative, tls, unix
+ , wai, wai-extra, warp, warp-tls
+ }:
+ mkDerivation {
+ pname = "hprox";
+ version = "0.1.0.2";
+ sha256 = "0ajyv9zmi6nr8add7admfxavd691g3rvyy8ll6gra6hhpn0lwp0m";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ async base base64-bytestring binary bytestring case-insensitive
+ conduit conduit-extra http-client http-reverse-proxy http-types
+ optparse-applicative tls unix wai wai-extra warp warp-tls
+ ];
+ description = "a lightweight HTTP proxy server, and more";
+ license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hps" = callPackage
({ mkDerivation, base, filepath, hcg-minus, process }:
mkDerivation {
@@ -119523,6 +121472,18 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hrfsize" = callPackage
+ ({ mkDerivation, base, process, tasty, tasty-hunit }:
+ mkDerivation {
+ pname = "hrfsize";
+ version = "0.0.2";
+ sha256 = "1vffw7r3lx80ny2v19ykfj76xswqpsijp1mri4kmd4jnlv5z2nin";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base process tasty tasty-hunit ];
+ description = "File size in human readable format";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"hricket" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@@ -120155,6 +122116,22 @@ self: {
broken = true;
}) {};
+ "hs-rqlite" = callPackage
+ ({ mkDerivation, aeson, base, bifunctors, bytestring, containers
+ , HTTP, scientific, text, unordered-containers
+ }:
+ mkDerivation {
+ pname = "hs-rqlite";
+ version = "0.1.2.0";
+ sha256 = "1xfsbpfcy0s340jzdkl0bnx7isgx8dxhxvfdkrr9fpsga4s0l9bd";
+ libraryHaskellDepends = [
+ aeson base bifunctors bytestring containers HTTP scientific text
+ unordered-containers
+ ];
+ description = "A Haskell client for RQlite";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"hs-rs-notify" = callPackage
({ mkDerivation, base, filepath, notifier, process, protolude, text
, unix
@@ -120704,10 +122681,8 @@ self: {
}:
mkDerivation {
pname = "hsc2hs";
- version = "0.68.4";
- sha256 = "07qzyr1j76gxrrsds65vivm5cx33paxpifvxdlmkxprrm3s4z7z6";
- revision = "1";
- editedCabalFile = "1wab9n4wy3bffxly0b0v1ppzf6sfn6aqc8pi1r8jnwb4rzy94c3i";
+ version = "0.68.6";
+ sha256 = "1clj6bgs9vmiv3mjzp82lvyyik5zr5411nxab7hydbrgq94pbk70";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -120717,6 +122692,8 @@ self: {
testHaskellDepends = [ base tasty tasty-hspec ];
description = "A preprocessor that helps with writing Haskell bindings to C code";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hsc3" = callPackage
@@ -121413,7 +123390,7 @@ self: {
broken = true;
}) {};
- "hsdev_0_3_3_1" = callPackage
+ "hsdev_0_3_3_4" = callPackage
({ mkDerivation, aeson, aeson-pretty, array, async, attoparsec
, base, bytestring, Cabal, containers, cpphs, data-default, deepseq
, direct-sqlite, directory, exceptions, filepath, fsnotify, ghc
@@ -121427,8 +123404,8 @@ self: {
}:
mkDerivation {
pname = "hsdev";
- version = "0.3.3.1";
- sha256 = "09i1m3xkvjzq69mpzf73g3jxf3g5md8lfrxjwza6ns8ii9m4xcqh";
+ version = "0.3.3.4";
+ sha256 = "1hj2krdq4ybs1vcy9gw6p56sznzi7wrhkaaya4560kjyijvvfdml";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -121488,23 +123465,6 @@ self: {
}) {};
"hsdns" = callPackage
- ({ mkDerivation, adns, base, containers, network }:
- mkDerivation {
- pname = "hsdns";
- version = "1.7.1";
- sha256 = "0i50p31zxsrkx9hv3mqcl2042lf922b1fsswmd99d66ybkl01kag";
- revision = "1";
- editedCabalFile = "0w4hrmj7ph5dgarl82xpa0g77ncjdqk0wc9wp771pry98xxihzl8";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ base containers network ];
- librarySystemDepends = [ adns ];
- description = "Asynchronous DNS Resolver";
- license = stdenv.lib.licenses.lgpl3;
- maintainers = with stdenv.lib.maintainers; [ peti ];
- }) {inherit (pkgs) adns;};
-
- "hsdns_1_8" = callPackage
({ mkDerivation, adns, base, containers, network }:
mkDerivation {
pname = "hsdns";
@@ -121518,7 +123478,6 @@ self: {
librarySystemDepends = [ adns ];
description = "Asynchronous DNS Resolver";
license = stdenv.lib.licenses.lgpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
maintainers = with stdenv.lib.maintainers; [ peti ];
}) {inherit (pkgs) adns;};
@@ -121567,14 +123526,14 @@ self: {
}) {};
"hsemail" = callPackage
- ({ mkDerivation, base, doctest, hspec, mtl, old-time, parsec }:
+ ({ mkDerivation, base, hspec, parsec, time, time-compat }:
mkDerivation {
pname = "hsemail";
- version = "2";
- sha256 = "1nd8pzsdan6zxddm96xswcm67g43zkbj1rm3m3wx3as4jj3qmw7m";
- libraryHaskellDepends = [ base mtl old-time parsec ];
- testHaskellDepends = [ base doctest hspec mtl old-time parsec ];
- description = "Parsec parsers for the RFC2822 Internet Message format";
+ version = "2.2.0";
+ sha256 = "0078n2snnrgsnl6az7c6jpmgyfsls4k1zr09f7ny7kn6g33g5z84";
+ libraryHaskellDepends = [ base parsec time time-compat ];
+ testHaskellDepends = [ base hspec parsec time ];
+ description = "Parsec parsers for the Internet Message format (e-mail)";
license = stdenv.lib.licenses.bsd3;
maintainers = with stdenv.lib.maintainers; [ peti ];
}) {};
@@ -121879,6 +123838,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hsinspect" = callPackage
+ ({ mkDerivation, base, directory, ghc, ghc-boot, ghc-paths, time }:
+ mkDerivation {
+ pname = "hsinspect";
+ version = "0.0.3";
+ sha256 = "11jn8knnh859wvzfqljkhlsaqsrm20m4ryf3ncg7rhs6jcm3vknr";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base directory ghc ghc-boot time ];
+ executableHaskellDepends = [
+ base directory ghc ghc-boot ghc-paths time
+ ];
+ description = "Inspect Haskell source files";
+ license = stdenv.lib.licenses.gpl3Plus;
+ }) {};
+
"hsinstall" = callPackage
({ mkDerivation, base, Cabal, directory, filepath, heredoc, process
, safe-exceptions
@@ -121985,6 +123960,8 @@ self: {
pname = "hslogger";
version = "1.3.0.0";
sha256 = "1gnnqyd5hr59agqjcbim3kys5zarwsj7b1kfdbhy5qmjjwnpyzs8";
+ revision = "1";
+ editedCabalFile = "0hvlixqc7vr66qq96flnh3l2p7a6pfmzxf9sn8f243yvsq867yah";
libraryHaskellDepends = [
base bytestring containers network network-bsd old-locale time unix
];
@@ -122072,8 +124049,8 @@ self: {
}:
mkDerivation {
pname = "hslua";
- version = "1.0.3.1";
- sha256 = "1w11d5csjl5jdzjzcq8gkd7lzyfsgaxmby5gq97jaj6r32l3zy9m";
+ version = "1.0.3.2";
+ sha256 = "183bgl5jcx5y2r94lviqfw0a5w9089nxjd1z40k8vx9y2h60pm6j";
configureFlags = [ "-fsystem-lua" "-f-use-pkgconfig" ];
libraryHaskellDepends = [
base bytestring containers exceptions fail mtl text
@@ -122125,8 +124102,6 @@ self: {
testHaskellDepends = [ base hslua tasty tasty-hunit text ];
description = "Lua module wrapper around Haskell's System module";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hslua-module-text" = callPackage
@@ -122497,21 +124472,6 @@ self: {
}) {};
"hspec" = callPackage
- ({ mkDerivation, base, hspec-core, hspec-discover
- , hspec-expectations, QuickCheck
- }:
- mkDerivation {
- pname = "hspec";
- version = "2.6.1";
- sha256 = "1jkfqhdymr62rzqmlmc22mpla23p67rnls3v3zs30ggxbgs4dxlb";
- libraryHaskellDepends = [
- base hspec-core hspec-discover hspec-expectations QuickCheck
- ];
- description = "A Testing Framework for Haskell";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "hspec_2_7_1" = callPackage
({ mkDerivation, base, hspec-core, hspec-discover
, hspec-expectations, QuickCheck
}:
@@ -122524,7 +124484,6 @@ self: {
];
description = "A Testing Framework for Haskell";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec-attoparsec" = callPackage
@@ -122572,33 +124531,6 @@ self: {
}) {};
"hspec-core" = callPackage
- ({ mkDerivation, ansi-terminal, array, base, call-stack, clock
- , deepseq, directory, filepath, hspec-expectations, hspec-meta
- , HUnit, process, QuickCheck, quickcheck-io, random, setenv
- , silently, stm, temporary, tf-random, transformers
- }:
- mkDerivation {
- pname = "hspec-core";
- version = "2.6.1";
- sha256 = "0xg43kan7p6ahi5827qwcyiic6bq0bp8n0n8h3j4kh87qhdl4avv";
- libraryHaskellDepends = [
- ansi-terminal array base call-stack clock deepseq directory
- filepath hspec-expectations HUnit QuickCheck quickcheck-io random
- setenv stm tf-random transformers
- ];
- testHaskellDepends = [
- ansi-terminal array base call-stack clock deepseq directory
- filepath hspec-expectations hspec-meta HUnit process QuickCheck
- quickcheck-io random setenv silently stm temporary tf-random
- transformers
- ];
- testToolDepends = [ hspec-meta ];
- testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'";
- description = "A Testing Framework for Haskell";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "hspec-core_2_7_1" = callPackage
({ mkDerivation, ansi-terminal, array, base, call-stack, clock
, deepseq, directory, filepath, hspec-expectations, hspec-meta
, HUnit, process, QuickCheck, quickcheck-io, random, setenv
@@ -122623,7 +124555,6 @@ self: {
testTarget = "--test-option=--skip --test-option='Test.Hspec.Core.Runner.hspecResult runs specs in parallel'";
description = "A Testing Framework for Haskell";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec-dirstream" = callPackage
@@ -122645,25 +124576,6 @@ self: {
}) {};
"hspec-discover" = callPackage
- ({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
- }:
- mkDerivation {
- pname = "hspec-discover";
- version = "2.6.1";
- sha256 = "189gj8drfzdf3j3xm8gbj9hjc1ha95ajhi47s9r440yjhyarlmlx";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ base directory filepath ];
- executableHaskellDepends = [ base directory filepath ];
- testHaskellDepends = [
- base directory filepath hspec-meta QuickCheck
- ];
- testToolDepends = [ hspec-meta ];
- description = "Automatically discover and run Hspec tests";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "hspec-discover_2_7_1" = callPackage
({ mkDerivation, base, directory, filepath, hspec-meta, QuickCheck
}:
mkDerivation {
@@ -122680,7 +124592,6 @@ self: {
testToolDepends = [ hspec-meta ];
description = "Automatically discover and run Hspec tests";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hspec-expectations" = callPackage
@@ -122787,6 +124698,23 @@ self: {
broken = true;
}) {};
+ "hspec-golden" = callPackage
+ ({ mkDerivation, base, directory, hspec, hspec-core, silently
+ , simple-get-opt
+ }:
+ mkDerivation {
+ pname = "hspec-golden";
+ version = "0.1.0.0";
+ sha256 = "191z6pxks4ic1b8lzyfd8f3kw3zwmywvj8psd17lb65z121grj46";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base directory hspec-core ];
+ executableHaskellDepends = [ base directory simple-get-opt ];
+ testHaskellDepends = [ base directory hspec hspec-core silently ];
+ description = "Golden tests for hspec";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"hspec-golden-aeson" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, directory
, filepath, hspec, hspec-core, QuickCheck, quickcheck-arbitrary-adt
@@ -122882,10 +124810,8 @@ self: {
}:
mkDerivation {
pname = "hspec-megaparsec";
- version = "2.0.0";
- sha256 = "0c4vb0c2y8yar0jjhh24wkkp1g7pbg2wc8h8nw3avfznbil6zyd8";
- revision = "1";
- editedCabalFile = "15hpf1v1d4dwzdvk7xhgj37yd37pcyj6yzw750k1fcj6j0hk4rb7";
+ version = "2.0.1";
+ sha256 = "0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg";
libraryHaskellDepends = [
base containers hspec-expectations megaparsec
];
@@ -122969,6 +124895,20 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "hspec-parsec" = callPackage
+ ({ mkDerivation, base, hspec, hspec-expectations, parsec }:
+ mkDerivation {
+ pname = "hspec-parsec";
+ version = "0";
+ sha256 = "1q5484dzc9vpbwv7bpx83xha9ly7lsbwn4zjd6z8z5j4p8r5mk6y";
+ revision = "1";
+ editedCabalFile = "03nsxwc5p6whq21dqwba0289g8fqqqws453kyanwgb6vvg1f0s9l";
+ libraryHaskellDepends = [ base hspec-expectations parsec ];
+ testHaskellDepends = [ base hspec parsec ];
+ description = "Hspec expectations for testing Parsec parsers";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"hspec-pg-transact" = callPackage
({ mkDerivation, base, bytestring, hspec, pg-transact
, postgresql-simple, resource-pool, text, tmp-postgres
@@ -123194,6 +125134,30 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hspec-wai_0_10_1" = callPackage
+ ({ mkDerivation, base, base-compat, bytestring, case-insensitive
+ , hspec, hspec-core, hspec-expectations, http-types, QuickCheck
+ , text, transformers, wai, wai-extra
+ }:
+ mkDerivation {
+ pname = "hspec-wai";
+ version = "0.10.1";
+ sha256 = "05jv0cz8r8bf63ma5byjb2gkj9vwgnls4n9mks99qc525n055ckz";
+ libraryHaskellDepends = [
+ base base-compat bytestring case-insensitive hspec-core
+ hspec-expectations http-types QuickCheck text transformers wai
+ wai-extra
+ ];
+ testHaskellDepends = [
+ base base-compat bytestring case-insensitive hspec hspec-core
+ hspec-expectations http-types QuickCheck text transformers wai
+ wai-extra
+ ];
+ description = "Experimental Hspec support for testing WAI applications";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"hspec-wai-json" = callPackage
({ mkDerivation, aeson, aeson-qq, base, bytestring
, case-insensitive, hspec, hspec-wai, template-haskell
@@ -123211,6 +125175,24 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "hspec-wai-json_0_10_1" = callPackage
+ ({ mkDerivation, aeson, aeson-qq, base, bytestring
+ , case-insensitive, hspec, hspec-wai, template-haskell
+ }:
+ mkDerivation {
+ pname = "hspec-wai-json";
+ version = "0.10.1";
+ sha256 = "04mpqij446ki5l6xwi3bjmlf3ggjia2nzv8j62mdy6ick96dqwk6";
+ libraryHaskellDepends = [
+ aeson aeson-qq base bytestring case-insensitive hspec-wai
+ template-haskell
+ ];
+ testHaskellDepends = [ base hspec hspec-wai ];
+ description = "Testing JSON APIs with hspec-wai";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"hspec-webdriver" = callPackage
({ mkDerivation, aeson, base, data-default, hashable, hspec
, hspec-core, HUnit, lifted-base, stm, text, transformers
@@ -123679,8 +125661,8 @@ self: {
}:
mkDerivation {
pname = "hssqlppp";
- version = "0.6.1";
- sha256 = "06rqf8gkz2f1ay1vd3ba0nzv9n1098vxm9sc9ls4dk2ismab7cgz";
+ version = "0.6.2";
+ sha256 = "0lzy6laqxi6v6hlz9j2kvxm9rc4i89m9lnffymfkfwxlrgq7wg0s";
libraryHaskellDepends = [
base containers mtl parsec pretty pretty-show syb text transformers
uniplate
@@ -123691,8 +125673,6 @@ self: {
];
description = "SQL parser and type checker";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hssqlppp-th" = callPackage
@@ -123701,8 +125681,8 @@ self: {
}:
mkDerivation {
pname = "hssqlppp-th";
- version = "0.6.1";
- sha256 = "09mxb2pmnk43bvdl7f58r8wxaw3h372sy174p42k8pphlss9amkg";
+ version = "0.6.2";
+ sha256 = "1p17srzz09iikxn47yr7qmv5g6z7c5kc5svlszmxlhs5j0kgahb0";
libraryHaskellDepends = [
base hssqlppp syb template-haskell text
];
@@ -123711,8 +125691,6 @@ self: {
];
description = "hssqlppp extras which need template-haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hstatistics" = callPackage
@@ -124066,6 +126044,8 @@ self: {
];
description = "HSX (Haskell Source with XML) allows literal XML syntax in Haskell source code";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hsyscall" = callPackage
@@ -124208,6 +126188,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "htdp-image" = callPackage
+ ({ mkDerivation, AC-Angle, base, gloss, HUnit, test-framework
+ , test-framework-hunit
+ }:
+ mkDerivation {
+ pname = "htdp-image";
+ version = "1.1.0.0";
+ sha256 = "17123nqkg8yk0pssmshdza0ipc42rx818q9gidig1d1camiyrfl4";
+ libraryHaskellDepends = [ AC-Angle base gloss ];
+ testHaskellDepends = [
+ base gloss HUnit test-framework test-framework-hunit
+ ];
+ description = "Beginner friendly graphics library";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"htestu" = callPackage
({ mkDerivation, base, gcc, random }:
mkDerivation {
@@ -124636,6 +126632,8 @@ self: {
];
description = "Parser for TOML files";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"htoml-megaparsec" = callPackage
@@ -124660,6 +126658,8 @@ self: {
doHaddock = false;
description = "Parser for TOML files";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"htrace" = callPackage
@@ -124783,22 +126783,24 @@ self: {
({ mkDerivation, attoparsec, attoparsec-iso8601, base, base-compat
, bytestring, Cabal, cabal-doctest, containers, cookie, directory
, doctest, filepath, hashable, hspec, hspec-discover, http-types
- , HUnit, nats, QuickCheck, quickcheck-instances, tagged, text, time
- , time-locale-compat, unordered-containers, uuid-types
+ , HUnit, nats, QuickCheck, quickcheck-instances, tagged, text
+ , time-compat, unordered-containers, uuid-types
}:
mkDerivation {
pname = "http-api-data";
- version = "0.4";
- sha256 = "12ja2rrs6dvajw300agp4fms21859a7n193m7nicmwixy8wkyzl3";
+ version = "0.4.1";
+ sha256 = "1ps4bvln43gz72dr9mc3c9n1rn38c4rz6m49vxzz9nz6jz1978rv";
+ revision = "2";
+ editedCabalFile = "14gvcqdxxs9s74r73i5f5g2819dfyp05m0p4s729ynwm7c20fzfs";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
attoparsec attoparsec-iso8601 base base-compat bytestring
- containers cookie hashable http-types tagged text time
- time-locale-compat unordered-containers uuid-types
+ containers cookie hashable http-types tagged text time-compat
+ unordered-containers uuid-types
];
testHaskellDepends = [
base base-compat bytestring cookie directory doctest filepath hspec
- HUnit nats QuickCheck quickcheck-instances text time
+ HUnit nats QuickCheck quickcheck-instances text time-compat
unordered-containers uuid-types
];
testToolDepends = [ hspec-discover ];
@@ -124820,35 +126822,6 @@ self: {
}) {};
"http-client" = callPackage
- ({ mkDerivation, array, async, base, blaze-builder, bytestring
- , case-insensitive, containers, cookie, deepseq, directory
- , exceptions, filepath, ghc-prim, hspec, http-types, memory
- , mime-types, monad-control, network, network-uri, random, stm
- , streaming-commons, text, time, transformers, zlib
- }:
- mkDerivation {
- pname = "http-client";
- version = "0.5.14";
- sha256 = "0irnvrxlsr9f7ybvzbpv24zbq3lhxjzh6bavjnl527020jbl0l4f";
- revision = "1";
- editedCabalFile = "0xw5ac4cvcd4hcwl7j12adi7sgffjryqhk0x992k3qs1cxyv5028";
- libraryHaskellDepends = [
- array base blaze-builder bytestring case-insensitive containers
- cookie deepseq exceptions filepath ghc-prim http-types memory
- mime-types network network-uri random stm streaming-commons text
- time transformers
- ];
- testHaskellDepends = [
- async base blaze-builder bytestring case-insensitive containers
- deepseq directory hspec http-types monad-control network
- network-uri streaming-commons text time transformers zlib
- ];
- doCheck = false;
- description = "An HTTP client engine";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "http-client_0_6_4" = callPackage
({ mkDerivation, array, async, base, blaze-builder, bytestring
, case-insensitive, containers, cookie, deepseq, directory
, exceptions, filepath, ghc-prim, hspec, http-types, memory
@@ -124873,7 +126846,6 @@ self: {
doCheck = false;
description = "An HTTP client engine";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"http-client-auth" = callPackage
@@ -124977,6 +126949,28 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "http-client-overrides" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, http-client
+ , http-client-tls, http-types, network-uri, tasty, tasty-hunit
+ , text, yaml
+ }:
+ mkDerivation {
+ pname = "http-client-overrides";
+ version = "0.1.0.0";
+ sha256 = "1s6qblbw4z9afzdy43hk8rfhgxj3k60x03p3y0dmp1l2i712x89g";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base bytestring http-client http-types network-uri text yaml
+ ];
+ executableHaskellDepends = [ base http-client http-client-tls ];
+ testHaskellDepends = [
+ base bytestring http-client tasty tasty-hunit text
+ ];
+ description = "HTTP client overrides";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"http-client-request-modifiers" = callPackage
({ mkDerivation, base, bytestring, exceptions, http-client
, http-media, http-types, network, network-uri
@@ -125009,6 +127003,8 @@ self: {
];
description = "restricting the servers that http-client will use";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"http-client-session" = callPackage
@@ -125131,6 +127127,8 @@ self: {
pname = "http-conduit";
version = "2.3.7.1";
sha256 = "1xnjbwvil1an5crffcwapdqyinbvvss25rcdra05isqixcs26h39";
+ revision = "1";
+ editedCabalFile = "0mmlaxnpxpgm4kzxid3xlwwqd53djx8n9a07nhvk5awyql1h9yj5";
libraryHaskellDepends = [
aeson attoparsec base bytestring conduit conduit-extra http-client
http-client-tls http-types mtl resourcet transformers unliftio-core
@@ -125191,8 +127189,6 @@ self: {
];
description = "HTTP downloader tailored for web-crawler needs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"http-date" = callPackage
@@ -125212,19 +127208,24 @@ self: {
}) {};
"http-directory" = callPackage
- ({ mkDerivation, base, bytestring, html-conduit, http-client
+ ({ mkDerivation, base, bytestring, hspec, html-conduit, http-client
, http-client-tls, http-date, http-types, text, time, xml-conduit
}:
mkDerivation {
pname = "http-directory";
- version = "0.1.2";
- sha256 = "0p6m2xlgrs9sgn2nsn85z6gawa9509lxbsw44kdfxya3gcgyg2rp";
+ version = "0.1.5";
+ sha256 = "075crysy7avf97vlskwlk8813q2bnqw9p3q29c5yb2yhmykrpwyn";
+ revision = "1";
+ editedCabalFile = "0ynm88f9v3h5dlyf2kzydqwr2l90gwjysffr6gbnlyqw9x46pb04";
libraryHaskellDepends = [
base bytestring html-conduit http-client http-client-tls http-date
http-types text time xml-conduit
];
+ testHaskellDepends = [ base hspec ];
description = "http directory listing library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"http-dispatch" = callPackage
@@ -125246,6 +127247,34 @@ self: {
broken = true;
}) {};
+ "http-download" = callPackage
+ ({ mkDerivation, base, base64-bytestring, bytestring, conduit
+ , conduit-extra, cryptonite, cryptonite-conduit, directory
+ , exceptions, filepath, hspec, hspec-discover, http-client
+ , http-conduit, http-types, memory, path, path-io, retry, rio
+ , rio-prettyprint
+ }:
+ mkDerivation {
+ pname = "http-download";
+ version = "0.1.0.0";
+ sha256 = "0wip7l6cls734ag306s5l0683qqh273b3lk5ibig66racmysjqyb";
+ revision = "4";
+ editedCabalFile = "1s20zjh52whs6hfhr90zyyy7g78zv1pw9hry1nwlzdv4hg97cbdh";
+ libraryHaskellDepends = [
+ base base64-bytestring bytestring conduit conduit-extra cryptonite
+ cryptonite-conduit directory exceptions filepath http-client
+ http-conduit http-types memory path path-io retry rio
+ rio-prettyprint
+ ];
+ testHaskellDepends = [
+ base cryptonite hspec hspec-discover http-client path path-io retry
+ rio rio-prettyprint
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Verified downloads with retries";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"http-encodings" = callPackage
({ mkDerivation, base, bytestring, HTTP, iconv, mime, mtl, parsec
, text, utf8-string, zlib
@@ -125312,8 +127341,8 @@ self: {
pname = "http-io-streams";
version = "0.1.0.0";
sha256 = "0fxz7p5n7gd99xjq9rwm6x74qzpfp4wdmhj1hm08c7hkinizdvgv";
- revision = "1";
- editedCabalFile = "10fcy17ny5qvabm98md9j8r7vfklgzxvg89iinna7wm4v6q6j5w5";
+ revision = "2";
+ editedCabalFile = "0l6afs6bhf5q73nmlmc37qi0anr1dlrz1x10m9ipfssnkb5hp25k";
libraryHaskellDepends = [
attoparsec base base64-bytestring blaze-builder bytestring
case-insensitive containers directory HsOpenSSL io-streams mtl
@@ -125407,28 +127436,6 @@ self: {
}) {};
"http-media" = callPackage
- ({ mkDerivation, base, bytestring, case-insensitive, containers
- , QuickCheck, test-framework, test-framework-quickcheck2
- , utf8-string
- }:
- mkDerivation {
- pname = "http-media";
- version = "0.7.1.3";
- sha256 = "0kqjzvh5y8r6x5rw2kgd816w2963c6cbyw2qjvaj2mv59zxzqkrr";
- revision = "1";
- editedCabalFile = "19py5pspx80gg679p9dzqr3iidflppxc1x4vkldamjkidyi406j8";
- libraryHaskellDepends = [
- base bytestring case-insensitive containers utf8-string
- ];
- testHaskellDepends = [
- base bytestring case-insensitive containers QuickCheck
- test-framework test-framework-quickcheck2 utf8-string
- ];
- description = "Processing HTTP Content-Type and Accept headers";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "http-media_0_8_0_0" = callPackage
({ mkDerivation, base, bytestring, case-insensitive, containers
, QuickCheck, test-framework, test-framework-quickcheck2
, utf8-string
@@ -125437,8 +127444,8 @@ self: {
pname = "http-media";
version = "0.8.0.0";
sha256 = "0lww5cxrc9jlvzsysjv99lca33i4rb7cll66p3c0rdpmvz8pk0ir";
- revision = "1";
- editedCabalFile = "01kb67m99jl3b8k06bp84sxiwxygz48ci5wkll42688qgsjb3rab";
+ revision = "2";
+ editedCabalFile = "0qvkhbxdz33lis5vca3jm1b44fkm7aalf4iz1gblr8xivnpmq885";
libraryHaskellDepends = [
base bytestring case-insensitive containers utf8-string
];
@@ -125448,7 +127455,6 @@ self: {
];
description = "Processing HTTP Content-Type and Accept headers";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"http-monad" = callPackage
@@ -125700,6 +127706,8 @@ self: {
];
description = "An HTTP client using io-streams";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"http-test" = callPackage
@@ -125802,6 +127810,38 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "http2_2_0_3" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, array, base
+ , base16-bytestring, bytestring, case-insensitive, containers
+ , directory, doctest, filepath, gauge, Glob, heaps, hspec
+ , http-types, mwc-random, network, network-byte-order, psqueues
+ , stm, text, time-manager, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "http2";
+ version = "2.0.3";
+ sha256 = "14qh1g0f0m0gj8ciww7rh9mcsxxjyvp5sv3ggyyxb0qf3prhalds";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ array base bytestring case-insensitive containers http-types
+ network network-byte-order psqueues stm time-manager
+ ];
+ testHaskellDepends = [
+ aeson aeson-pretty array base base16-bytestring bytestring
+ case-insensitive containers directory doctest filepath Glob hspec
+ http-types network network-byte-order psqueues stm text
+ time-manager unordered-containers vector
+ ];
+ benchmarkHaskellDepends = [
+ array base bytestring case-insensitive containers gauge heaps
+ mwc-random network-byte-order psqueues stm
+ ];
+ description = "HTTP/2 library";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"http2-client" = callPackage
({ mkDerivation, async, base, bytestring, containers, deepseq
, http2, lifted-async, lifted-base, mtl, network, stm, time, tls
@@ -125875,26 +127915,9 @@ self: {
];
description = "Types for gRPC over HTTP2 common for client and servers";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"httpd-shed" = callPackage
- ({ mkDerivation, base, network, network-uri }:
- mkDerivation {
- pname = "httpd-shed";
- version = "0.4.0.3";
- sha256 = "064jy1mqhnf1hvq6s04wlhmp916rd522x58djb9qixv13vc8gzxh";
- revision = "2";
- editedCabalFile = "12y9qf8s0aq4dc80wrvh14cjvvm4mcygrqq72w4z8w9n8mp8jg9p";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ base network network-uri ];
- description = "A simple web-server with an interact style API";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "httpd-shed_0_4_1_1" = callPackage
({ mkDerivation, base, network, network-bsd, network-uri }:
mkDerivation {
pname = "httpd-shed";
@@ -125905,7 +127928,6 @@ self: {
libraryHaskellDepends = [ base network network-bsd network-uri ];
description = "A simple web-server with an interact style API";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"https-everywhere-rules" = callPackage
@@ -126055,6 +128077,8 @@ self: {
libraryHaskellDepends = [ base containers haxr mtl ];
description = "A haskell wrap for Ubigraph";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hubris" = callPackage
@@ -126210,13 +128234,13 @@ self: {
}) {};
"human-readable-duration" = callPackage
- ({ mkDerivation, base, criterion, doctest, Glob }:
+ ({ mkDerivation, base, criterion, doctest, Glob, time }:
mkDerivation {
pname = "human-readable-duration";
- version = "0.2.1.3";
- sha256 = "1zq85v9knc73ck9lqrn4k0w121ifpjg7j053qmhgam0605j89236";
+ version = "0.2.1.4";
+ sha256 = "06yw7bab1hk8287d2zdg45m46pgp87fivh0cb2x1nxivvn1qfs6c";
libraryHaskellDepends = [ base ];
- testHaskellDepends = [ base doctest Glob ];
+ testHaskellDepends = [ base doctest Glob time ];
benchmarkHaskellDepends = [ base criterion ];
description = "Provide duration helper";
license = stdenv.lib.licenses.bsd3;
@@ -126284,17 +128308,6 @@ self: {
}) {};
"hunit-dejafu" = callPackage
- ({ mkDerivation, base, dejafu, exceptions, HUnit }:
- mkDerivation {
- pname = "hunit-dejafu";
- version = "1.2.1.0";
- sha256 = "075xx6rz1bxyj00plkrfz04wfq1rim8nkn43xj0d7js86qhvqyrc";
- libraryHaskellDepends = [ base dejafu exceptions HUnit ];
- description = "Deja Fu support for the HUnit test framework";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "hunit-dejafu_2_0_0_1" = callPackage
({ mkDerivation, base, dejafu, exceptions, HUnit }:
mkDerivation {
pname = "hunit-dejafu";
@@ -126303,7 +128316,6 @@ self: {
libraryHaskellDepends = [ base dejafu exceptions HUnit ];
description = "Deja Fu support for the HUnit test framework";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hunit-gui" = callPackage
@@ -126497,8 +128509,6 @@ self: {
];
description = "Upload packages or documentation to a hackage server";
license = stdenv.lib.licenses.bsd2;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hurdle" = callPackage
@@ -126666,25 +128676,46 @@ self: {
({ mkDerivation, aeson, base, text, vector }:
mkDerivation {
pname = "hvega";
- version = "0.1.0.3";
- sha256 = "0hh5izmw6ss4yznr665674p48lwxgzf3kspl86sy4sfrbab5jxqa";
+ version = "0.3.0.1";
+ sha256 = "04qrlqzi065r9b83wyw1zymnyjvpy5jhlzxxqd2j6m9zsngh7hl1";
libraryHaskellDepends = [ aeson base text vector ];
- description = "Create Vega and Vega-Lite visualizations";
+ description = "Create Vega-Lite visualizations (version 3) in Haskell";
license = stdenv.lib.licenses.bsd3;
}) {};
- "hvega_0_2_0_0" = callPackage
- ({ mkDerivation, aeson, base, text, vector }:
+ "hvega_0_4_0_0" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
+ , filepath, tasty, tasty-golden, text, unordered-containers, vector
+ }:
mkDerivation {
pname = "hvega";
- version = "0.2.0.0";
- sha256 = "07ynsm2karz34wyrszkcmk6xm2pw684isgc7gjnlnn1wq2gbyj9k";
- libraryHaskellDepends = [ aeson base text vector ];
- description = "Create Vega-Lite visualizations in Haskell";
+ version = "0.4.0.0";
+ sha256 = "1clq31aq8vgvvc1mcrz4al3f7kfb6crs2nkc07n87xykmrcjkdyq";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base text unordered-containers vector
+ ];
+ testHaskellDepends = [
+ aeson aeson-pretty base bytestring containers filepath tasty
+ tasty-golden text
+ ];
+ description = "Create Vega-Lite visualizations (version 3) in Haskell";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "hvega-theme" = callPackage
+ ({ mkDerivation, base, hvega, text }:
+ mkDerivation {
+ pname = "hvega-theme";
+ version = "0.1.0.0";
+ sha256 = "03rm4fl8vgl3yv60wx6vrj1dfbwsxwksm1dbiz0wzz1scdax1gc4";
+ libraryHaskellDepends = [ base hvega text ];
+ description = "Theme for hvega";
+ license = stdenv.lib.licenses.gpl3;
+ }) {};
+
"hw-aeson" = callPackage
({ mkDerivation, aeson, base, hedgehog, hspec, text }:
mkDerivation {
@@ -126698,37 +128729,14 @@ self: {
}) {};
"hw-balancedparens" = callPackage
- ({ mkDerivation, base, criterion, hspec, hw-bits, hw-excess
- , hw-prim, hw-rankselect-base, QuickCheck, vector
- }:
- mkDerivation {
- pname = "hw-balancedparens";
- version = "0.2.0.2";
- sha256 = "0paphyp5icawflbybm40mn8r9ka7a6x128vwqagpiz6mb5zpa8hn";
- libraryHaskellDepends = [
- base hw-bits hw-excess hw-prim hw-rankselect-base vector
- ];
- testHaskellDepends = [
- base hspec hw-bits hw-prim hw-rankselect-base QuickCheck vector
- ];
- benchmarkHaskellDepends = [
- base criterion hw-bits hw-prim vector
- ];
- description = "Balanced parentheses";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "hw-balancedparens_0_2_0_3" = callPackage
({ mkDerivation, base, criterion, deepseq, hspec, hspec-discover
, hw-bits, hw-excess, hw-prim, hw-rankselect-base, QuickCheck
, vector
}:
mkDerivation {
pname = "hw-balancedparens";
- version = "0.2.0.3";
- sha256 = "18hr2knvmy0jg0w5z73hsjnqcl3804chykr81wg82dx21snd6vmi";
+ version = "0.2.0.4";
+ sha256 = "166vb5armxah2r1qwa9yzzd5abd3dnssybgwl6kjzl8q43r0n84h";
libraryHaskellDepends = [
base deepseq hw-bits hw-excess hw-prim hw-rankselect-base vector
];
@@ -126745,6 +128753,37 @@ self: {
broken = true;
}) {};
+ "hw-balancedparens_0_3_0_0" = callPackage
+ ({ mkDerivation, base, criterion, deepseq, hedgehog, hspec
+ , hspec-discover, hw-bits, hw-excess, hw-fingertree
+ , hw-hspec-hedgehog, hw-prim, hw-rankselect-base, transformers
+ , vector
+ }:
+ mkDerivation {
+ pname = "hw-balancedparens";
+ version = "0.3.0.0";
+ sha256 = "1xb2pyhmcwl927v4hc7nfi31bf9lvlz9mnqdbb7mzpl6bdlg7xc7";
+ revision = "1";
+ editedCabalFile = "1a8zs7j05vxbamcc63fi1xf6vvz7bg1zf0a72930xh4y4bd2m0qk";
+ libraryHaskellDepends = [
+ base deepseq hedgehog hspec hw-bits hw-excess hw-fingertree hw-prim
+ hw-rankselect-base vector
+ ];
+ testHaskellDepends = [
+ base hedgehog hspec hw-bits hw-hspec-hedgehog hw-prim
+ hw-rankselect-base transformers vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base criterion hedgehog hw-bits hw-prim vector
+ ];
+ doHaddock = false;
+ description = "Balanced parentheses";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hw-bits" = callPackage
({ mkDerivation, base, bytestring, criterion, hedgehog, hspec
, hspec-discover, hw-hspec-hedgehog, hw-int, hw-prim
@@ -126754,6 +128793,8 @@ self: {
pname = "hw-bits";
version = "0.7.0.6";
sha256 = "0c3bfr4x52fvvp3yin54xbfxz7nq936v2ac89vcim1gscyw51hvm";
+ revision = "1";
+ editedCabalFile = "0yl5b2qcrb2bjncwv2k9j006582cwxmpfgsggcyk5vw7i6iwhmhb";
libraryHaskellDepends = [
base bytestring hw-int hw-prim hw-string-parse safe vector
];
@@ -126788,6 +128829,8 @@ self: {
doHaddock = false;
description = "CI Assistant for Haskell projects";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"hw-conduit" = callPackage
@@ -126851,8 +128894,8 @@ self: {
pname = "hw-dsv";
version = "0.3.5";
sha256 = "15dy96ah7frs79g102vvsrihzlk2qc5c773y7bqdcm66mjhin3x2";
- revision = "1";
- editedCabalFile = "1i67wr9yhks9bzpcr0dqhqgvv2i94izv4p6wrcb2vbjl7wzzgs1v";
+ revision = "2";
+ editedCabalFile = "0flmxhc1w38si89wdr9i6x70mc3sl07hrw2b77xabva8dgx7ph3q";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -126913,18 +128956,34 @@ self: {
}) {};
"hw-eliasfano" = callPackage
- ({ mkDerivation, base, hspec, hw-bits, hw-int, hw-packed-vector
- , hw-prim, QuickCheck, safe, vector
+ ({ mkDerivation, base, binary, bytestring, criterion, deepseq
+ , generic-lens, hedgehog, hspec, hspec-discover, hw-bits
+ , hw-hedgehog, hw-hspec-hedgehog, hw-int, hw-packed-vector, hw-prim
+ , hw-rankselect, hw-rankselect-base, lens, mmap
+ , optparse-applicative, vector
}:
mkDerivation {
pname = "hw-eliasfano";
- version = "0.1.0.1";
- sha256 = "1rj8435fyg882f69cw0p20j8q9j6jlyvf3gshgkbyi2fzv5hnw8l";
+ version = "0.1.1.0";
+ sha256 = "0q3lrpw72krsbfbykjkkm55aca43ravyl4b1d3k0wgh5wv340a3v";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
- base hw-bits hw-int hw-packed-vector hw-prim safe vector
+ base deepseq hw-bits hw-int hw-packed-vector hw-prim hw-rankselect
+ hw-rankselect-base vector
+ ];
+ executableHaskellDepends = [
+ base binary bytestring generic-lens hw-packed-vector lens
+ optparse-applicative vector
];
testHaskellDepends = [
- base hspec hw-bits hw-int hw-prim QuickCheck vector
+ base hedgehog hspec hw-bits hw-hedgehog hw-hspec-hedgehog hw-int
+ hw-packed-vector hw-prim vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion hedgehog hspec hw-bits hw-hedgehog
+ hw-hspec-hedgehog hw-int hw-packed-vector hw-prim mmap vector
];
description = "Elias-Fano";
license = stdenv.lib.licenses.bsd3;
@@ -126933,34 +128992,14 @@ self: {
}) {};
"hw-excess" = callPackage
- ({ mkDerivation, base, hspec, hw-bits, hw-prim, hw-rankselect-base
- , QuickCheck, safe, vector
- }:
- mkDerivation {
- pname = "hw-excess";
- version = "0.2.0.2";
- sha256 = "1xm1nwab2zhlyd0n536pd5sny4miqr8p41pasl9mqvg89v6x0db7";
- libraryHaskellDepends = [
- base hw-bits hw-prim hw-rankselect-base safe vector
- ];
- testHaskellDepends = [
- base hspec hw-bits hw-prim QuickCheck vector
- ];
- description = "Excess";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "hw-excess_0_2_0_3" = callPackage
({ mkDerivation, base, bytestring, criterion, hedgehog, hspec
, hspec-discover, hw-bits, hw-hspec-hedgehog, hw-prim
, hw-rankselect-base, QuickCheck, safe, vector
}:
mkDerivation {
pname = "hw-excess";
- version = "0.2.0.3";
- sha256 = "0g7izay5q8krg570jxkiwwrc0kw926q6hyx6bpg9a1qx9dlpy1bi";
+ version = "0.2.2.0";
+ sha256 = "07d6q5m98z6r7p4hhzzm8ihn9sbd05hhf40a0hcq3ixxrdz7yyrb";
libraryHaskellDepends = [
base hw-bits hw-prim hw-rankselect-base safe vector
];
@@ -126980,13 +129019,13 @@ self: {
"hw-fingertree" = callPackage
({ mkDerivation, base, deepseq, hedgehog, hspec, hspec-discover
- , hw-hspec-hedgehog
+ , hw-hspec-hedgehog, hw-prim
}:
mkDerivation {
pname = "hw-fingertree";
- version = "0.1.0.3";
- sha256 = "0r5bbhyc9gwr23s2h39qfdrsvjil56k2jfj8897hswn2q1fxcpjv";
- libraryHaskellDepends = [ base deepseq ];
+ version = "0.1.1.0";
+ sha256 = "096lj6bhyk3pyal3jnif8cm6yprir1kpr5cvjl576kbfhyxdnhmy";
+ libraryHaskellDepends = [ base deepseq hw-prim ];
testHaskellDepends = [
base deepseq hedgehog hspec hw-hspec-hedgehog
];
@@ -127028,37 +129067,20 @@ self: {
}) {};
"hw-hspec-hedgehog" = callPackage
- ({ mkDerivation, base, call-stack, hedgehog, hspec, HUnit }:
- mkDerivation {
- pname = "hw-hspec-hedgehog";
- version = "0.1.0.4";
- sha256 = "1vlrrskalip7a477px7imwy9yifvdx7c03zrgk90rlarivwkggaq";
- revision = "2";
- editedCabalFile = "1jh0p4i87c2bn926s0d7qx6ykssjj26fia0d24grlklkd14bnmpq";
- libraryHaskellDepends = [ base call-stack hedgehog hspec HUnit ];
- testHaskellDepends = [ base hedgehog hspec ];
- description = "Interoperability between hspec and hedgehog";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "hw-hspec-hedgehog_0_1_0_7" = callPackage
({ mkDerivation, base, call-stack, hedgehog, hspec, hspec-discover
, HUnit, transformers
}:
mkDerivation {
pname = "hw-hspec-hedgehog";
- version = "0.1.0.7";
- sha256 = "0445b5ycr622qjann2yyri8ghkhkw0vqaqn2rlar9wq2ni3b85rv";
- revision = "1";
- editedCabalFile = "0gcfhqasff8ij0xr5wq74blp90ldzgv992agadp63bs4ikg4rajm";
+ version = "0.1.0.8";
+ sha256 = "0c54mhzbmjfjvy5lyvr6xffrncqmbbr10lran2x9czbkhhbikrss";
libraryHaskellDepends = [
base call-stack hedgehog hspec HUnit transformers
];
- testHaskellDepends = [ base hedgehog hspec ];
+ testHaskellDepends = [ base call-stack hedgehog hspec HUnit ];
testToolDepends = [ hspec-discover ];
description = "Interoperability between hspec and hedgehog";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hw-int" = callPackage
@@ -127073,41 +129095,28 @@ self: {
}) {};
"hw-ip" = callPackage
- ({ mkDerivation, appar, base, containers, generic-lens, hedgehog
- , hspec, hw-bits, hw-hspec-hedgehog, iproute, text
+ ({ mkDerivation, appar, base, binary, bytestring, containers
+ , generic-lens, hedgehog, hspec, hspec-discover, hw-bits
+ , hw-hspec-hedgehog, iproute, lens, optparse-applicative, text
}:
mkDerivation {
pname = "hw-ip";
- version = "2.0.1.0";
- sha256 = "1r1ck890id7x9b1dpp23h656mvh24bacxdbvxhgkdjiryklrjsqr";
- libraryHaskellDepends = [
- appar base containers generic-lens hw-bits iproute text
- ];
- testHaskellDepends = [
- appar base generic-lens hedgehog hspec hw-bits hw-hspec-hedgehog
- text
- ];
- description = "Library for manipulating IP addresses and CIDR blocks";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "hw-ip_2_3_1_0" = callPackage
- ({ mkDerivation, appar, base, containers, generic-lens, hedgehog
- , hspec, hw-bits, hw-hspec-hedgehog, iproute, text
- }:
- mkDerivation {
- pname = "hw-ip";
- version = "2.3.1.0";
- sha256 = "19a2z6lx064y4y2qzhfzzwwpy4hisf86a57ah1f9jjjrvnxr1363";
+ version = "2.3.4.1";
+ sha256 = "023wv7dvpyw2nnlrdqhp3nqrbbh9af074fz12y8510br2gfdyamd";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
appar base containers generic-lens hw-bits iproute text
];
+ executableHaskellDepends = [
+ appar base binary bytestring generic-lens lens optparse-applicative
+ text
+ ];
testHaskellDepends = [
appar base generic-lens hedgehog hspec hw-bits hw-hspec-hedgehog
text
];
+ testToolDepends = [ hspec-discover ];
description = "Library for manipulating IP addresses and CIDR blocks";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -127115,43 +129124,6 @@ self: {
}) {};
"hw-json" = callPackage
- ({ mkDerivation, ansi-wl-pprint, array, attoparsec, base
- , bytestring, containers, criterion, directory, dlist, hspec
- , hw-balancedparens, hw-bits, hw-mquery, hw-parser, hw-prim
- , hw-rankselect, hw-rankselect-base, lens, mmap
- , optparse-applicative, text, vector, word8
- }:
- mkDerivation {
- pname = "hw-json";
- version = "0.9.0.1";
- sha256 = "00prvi3jrb02g92vq1ghyxpdpqangj482x1k3l13s385804grgqw";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- ansi-wl-pprint array attoparsec base bytestring containers dlist
- hw-balancedparens hw-bits hw-mquery hw-parser hw-prim hw-rankselect
- hw-rankselect-base mmap text vector word8
- ];
- executableHaskellDepends = [
- base bytestring criterion dlist hw-balancedparens hw-bits hw-mquery
- hw-prim hw-rankselect hw-rankselect-base lens mmap
- optparse-applicative vector
- ];
- testHaskellDepends = [
- attoparsec base bytestring containers hspec hw-balancedparens
- hw-bits hw-prim hw-rankselect hw-rankselect-base mmap vector
- ];
- benchmarkHaskellDepends = [
- base bytestring criterion directory hw-balancedparens hw-bits
- hw-prim hw-rankselect hw-rankselect-base mmap vector
- ];
- description = "Memory efficient JSON parser";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "hw-json_1_0_0_2" = callPackage
({ mkDerivation, ansi-wl-pprint, array, attoparsec, base
, bits-extra, bytestring, criterion, directory, dlist, generic-lens
, hedgehog, hspec, hspec-discover, hw-balancedparens, hw-bits
@@ -127163,6 +129135,8 @@ self: {
pname = "hw-json";
version = "1.0.0.2";
sha256 = "0lb38kfxhamvdhp6z3aw4as57nc6jxf6wj7nr3lmiry6h2gx15js";
+ revision = "1";
+ editedCabalFile = "1laxwrcjdjrpym4gghnqa39xvdvbxsp2sbpzcc703ac3kj7v2b6h";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -127190,6 +129164,50 @@ self: {
broken = true;
}) {};
+ "hw-json_1_3_0_1" = callPackage
+ ({ mkDerivation, aeson, ansi-wl-pprint, attoparsec, base
+ , bits-extra, bytestring, criterion, directory, dlist, generic-lens
+ , hedgehog, hspec, hspec-discover, hw-balancedparens, hw-bits
+ , hw-hspec-hedgehog, hw-json-simd, hw-json-simple-cursor
+ , hw-json-standard-cursor, hw-mquery, hw-parser, hw-prim
+ , hw-rankselect, hw-rankselect-base, hw-simd, lens, mmap
+ , optparse-applicative, scientific, text, transformers, vector
+ , word8
+ }:
+ mkDerivation {
+ pname = "hw-json";
+ version = "1.3.0.1";
+ sha256 = "10m4f4jv3wb4n4na1d1a26s81n7clxgmj2745xs9yrax1wvqnjg0";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson ansi-wl-pprint attoparsec base bits-extra bytestring dlist
+ hw-balancedparens hw-bits hw-json-simple-cursor
+ hw-json-standard-cursor hw-mquery hw-parser hw-prim hw-rankselect
+ hw-rankselect-base hw-simd mmap text vector word8
+ ];
+ executableHaskellDepends = [
+ base bytestring dlist generic-lens hw-balancedparens hw-json-simd
+ hw-json-simple-cursor hw-json-standard-cursor hw-mquery hw-prim
+ hw-rankselect hw-rankselect-base lens mmap optparse-applicative
+ text vector
+ ];
+ testHaskellDepends = [
+ aeson attoparsec base bytestring hedgehog hspec hw-balancedparens
+ hw-bits hw-hspec-hedgehog hw-json-simple-cursor
+ hw-json-standard-cursor hw-prim hw-rankselect hw-rankselect-base
+ scientific text transformers vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion directory hw-json-standard-cursor mmap
+ ];
+ description = "Memory efficient JSON parser";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hw-json-lens" = callPackage
({ mkDerivation, base, bytestring, containers, criterion, hw-json
, lens, scientific, word8
@@ -127228,6 +129246,79 @@ self: {
testHaskellDepends = [ base bytestring hw-prim lens vector ];
description = "SIMD-based JSON semi-indexer";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "hw-json-simple-cursor" = callPackage
+ ({ mkDerivation, base, bytestring, criterion, directory
+ , generic-lens, hedgehog, hspec, hspec-discover, hw-balancedparens
+ , hw-bits, hw-hspec-hedgehog, hw-json-simd, hw-prim, hw-rankselect
+ , hw-rankselect-base, lens, mmap, optparse-applicative, text
+ , vector, word8
+ }:
+ mkDerivation {
+ pname = "hw-json-simple-cursor";
+ version = "0.1.0.1";
+ sha256 = "0asvkzz0dgcc5cjrn3wqhn3svxi13wfzxi0ggc8mzzmfci07jigy";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring hw-balancedparens hw-bits hw-prim hw-rankselect
+ hw-rankselect-base vector word8
+ ];
+ executableHaskellDepends = [
+ base bytestring generic-lens hw-balancedparens hw-json-simd hw-prim
+ hw-rankselect hw-rankselect-base lens mmap optparse-applicative
+ text vector
+ ];
+ testHaskellDepends = [
+ base bytestring hedgehog hspec hw-balancedparens hw-bits
+ hw-hspec-hedgehog hw-prim hw-rankselect hw-rankselect-base vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion directory mmap
+ ];
+ description = "Memory efficient JSON parser";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "hw-json-standard-cursor" = callPackage
+ ({ mkDerivation, array, base, bits-extra, bytestring, criterion
+ , directory, generic-lens, hedgehog, hspec, hspec-discover
+ , hw-balancedparens, hw-bits, hw-hspec-hedgehog, hw-json-simd
+ , hw-prim, hw-rankselect, hw-rankselect-base, lens, mmap
+ , optparse-applicative, text, vector, word8
+ }:
+ mkDerivation {
+ pname = "hw-json-standard-cursor";
+ version = "0.2.1.1";
+ sha256 = "0z0lxzciyw6b49w1s88yx9lcqgk0fjmh1zv7qs3jnn9sk0bqldh5";
+ revision = "1";
+ editedCabalFile = "15x23pa4im7ll4ipaykqavmh8frpnlmg8617g67c987f66lpyprr";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ array base bits-extra bytestring hw-balancedparens hw-bits
+ hw-json-simd hw-prim hw-rankselect hw-rankselect-base mmap vector
+ word8
+ ];
+ executableHaskellDepends = [
+ base bytestring generic-lens hw-balancedparens hw-json-simd hw-prim
+ hw-rankselect hw-rankselect-base lens mmap optparse-applicative
+ text vector
+ ];
+ testHaskellDepends = [
+ base bytestring hedgehog hspec hw-balancedparens hw-bits
+ hw-hspec-hedgehog hw-prim hw-rankselect hw-rankselect-base vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion directory mmap
+ ];
+ description = "Memory efficient JSON parser";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -127240,8 +129331,8 @@ self: {
}:
mkDerivation {
pname = "hw-kafka-avro";
- version = "4.0.0";
- sha256 = "0khqvd1l44bx4mnrv7hbvr0qbak6n17l4qqk3lwga21qnchnlgak";
+ version = "4.0.1";
+ sha256 = "1x0mq3sn05iwrn444kzyl66056xm8203hq0ajx9f8r85faq3v1ir";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -127305,31 +129396,6 @@ self: {
}) {};
"hw-mquery" = callPackage
- ({ mkDerivation, ansi-wl-pprint, base, dlist, hedgehog, hspec
- , hspec-discover, hw-hspec-hedgehog, lens, QuickCheck, semigroups
- }:
- mkDerivation {
- pname = "hw-mquery";
- version = "0.1.0.3";
- sha256 = "0i020vl1f2nkk80rd1fmx9ilkrzyggp01ka3bz9n0365mcq5g3s5";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- ansi-wl-pprint base dlist lens semigroups
- ];
- executableHaskellDepends = [
- ansi-wl-pprint base dlist lens semigroups
- ];
- testHaskellDepends = [
- ansi-wl-pprint base dlist hedgehog hspec hw-hspec-hedgehog lens
- QuickCheck semigroups
- ];
- testToolDepends = [ hspec-discover ];
- description = "Monadic query DSL";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "hw-mquery_0_2_0_1" = callPackage
({ mkDerivation, ansi-wl-pprint, base, dlist, hedgehog, hspec
, hspec-discover, hw-hspec-hedgehog, lens, semigroups
}:
@@ -127337,6 +129403,8 @@ self: {
pname = "hw-mquery";
version = "0.2.0.1";
sha256 = "04jkhnljyirbjg1b693bacfnaa3i854rg1dgy3mifr7sbmk0xgnn";
+ revision = "1";
+ editedCabalFile = "0n6zicz4cdr9z7lzlagj8gamj9gnv3nhvjz7srw4wg1cnagimi0s";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -127349,22 +129417,60 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Monadic query DSL";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hw-packed-vector" = callPackage
- ({ mkDerivation, base, bytestring, hspec, hw-bits, hw-int, hw-prim
- , hw-string-parse, QuickCheck, safe, vector
+ ({ mkDerivation, base, bytestring, criterion, deepseq, directory
+ , hedgehog, hspec, hspec-discover, hw-bits, hw-hedgehog
+ , hw-hspec-hedgehog, hw-prim, vector
}:
mkDerivation {
pname = "hw-packed-vector";
- version = "0.0.0.1";
- sha256 = "0ca9073b79ifh5rhif6ph6fqq5aad0pk1djbka46xk93rf00m65n";
+ version = "0.0.0.3";
+ sha256 = "1l021x4sya6fmdhz6nsqh4nvvc3bbb29y30ari0qvn5789nwxzv3";
libraryHaskellDepends = [
- base bytestring hw-bits hw-int hw-prim hw-string-parse safe vector
+ base bytestring deepseq hw-bits hw-prim vector
];
testHaskellDepends = [
- base bytestring hspec hw-bits hw-prim QuickCheck vector
+ base bytestring hedgehog hspec hw-bits hw-hedgehog
+ hw-hspec-hedgehog hw-prim vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base criterion directory hedgehog hspec hw-prim vector
+ ];
+ description = "Packed Vector";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "hw-packed-vector_0_2_0_0" = callPackage
+ ({ mkDerivation, base, binary, bytestring, criterion, deepseq
+ , directory, generic-lens, hedgehog, hspec, hspec-discover, hw-bits
+ , hw-hedgehog, hw-hspec-hedgehog, hw-prim, lens
+ , optparse-applicative, vector
+ }:
+ mkDerivation {
+ pname = "hw-packed-vector";
+ version = "0.2.0.0";
+ sha256 = "1nspd5hwn32fjgxmg08bq8hmyxzh61gc72zgd24mcpy94kzq58xd";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring deepseq hw-bits hw-prim vector
+ ];
+ executableHaskellDepends = [
+ base binary bytestring generic-lens hw-bits hw-prim lens
+ optparse-applicative vector
+ ];
+ testHaskellDepends = [
+ base bytestring hedgehog hspec hw-bits hw-hedgehog
+ hw-hspec-hedgehog hw-prim vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base criterion directory hedgehog hspec hw-prim vector
];
description = "Packed Vector";
license = stdenv.lib.licenses.bsd3;
@@ -127373,59 +129479,36 @@ self: {
}) {};
"hw-parser" = callPackage
- ({ mkDerivation, attoparsec, base, bytestring, hw-prim, text }:
+ ({ mkDerivation, attoparsec, base, bytestring, hedgehog, hspec
+ , hspec-discover, hw-hspec-hedgehog, hw-prim, text
+ }:
mkDerivation {
pname = "hw-parser";
- version = "0.1.0.0";
- sha256 = "14ck19m0fizv7zpqxnpgv7fah9x3fp0p5ax5a5zxr5s52b52mq2x";
+ version = "0.1.0.1";
+ sha256 = "0df3238y4ld9j9w4p1x4lcv13lip9cf3fqn88z98xqjqmfzjdffn";
+ revision = "1";
+ editedCabalFile = "1nf0s726vr90dggcjxp1qz1msnvckjj908rsc4f991524gz4ygh7";
libraryHaskellDepends = [
attoparsec base bytestring hw-prim text
];
+ testHaskellDepends = [ base hedgehog hspec hw-hspec-hedgehog ];
+ testToolDepends = [ hspec-discover ];
description = "Simple parser support";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hw-prim" = callPackage
- ({ mkDerivation, base, bytestring, criterion, directory, exceptions
- , hedgehog, hspec, hspec-discover, hw-hspec-hedgehog, mmap
- , QuickCheck, semigroups, transformers, vector
- }:
- mkDerivation {
- pname = "hw-prim";
- version = "0.6.2.23";
- sha256 = "1kilyiq6gj44gz9hqy11ab1sm4j399rkz5k0a98fpzjd6b7ndrmy";
- revision = "1";
- editedCabalFile = "0pwgw9fqrfmfk3fjcdc9xss1vc6fl53pdnp8xcawia4mskd38sv7";
- libraryHaskellDepends = [
- base bytestring mmap semigroups transformers vector
- ];
- testHaskellDepends = [
- base bytestring directory exceptions hedgehog hspec
- hw-hspec-hedgehog mmap QuickCheck semigroups transformers vector
- ];
- testToolDepends = [ hspec-discover ];
- benchmarkHaskellDepends = [
- base bytestring criterion mmap semigroups transformers vector
- ];
- description = "Primitive functions and data types";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "hw-prim_0_6_2_24" = callPackage
({ mkDerivation, base, bytestring, criterion, directory, exceptions
, ghc-prim, hedgehog, hspec, hspec-discover, hw-hspec-hedgehog
- , mmap, QuickCheck, semigroups, transformers, vector
+ , mmap, QuickCheck, semigroups, transformers, unliftio-core, vector
}:
mkDerivation {
pname = "hw-prim";
- version = "0.6.2.24";
- sha256 = "17bm69hva7cb6pf8qx4w027bckhgcci4mrqlfpf0vkbbzg3vm3wf";
+ version = "0.6.2.31";
+ sha256 = "00xfakvwnj3zys2ilpc9w9z5qzw1ng3cc65jfa1860z6yr7xdp59";
libraryHaskellDepends = [
- base bytestring ghc-prim mmap semigroups transformers vector
+ base bytestring ghc-prim mmap semigroups transformers unliftio-core
+ vector
];
testHaskellDepends = [
base bytestring directory exceptions hedgehog hspec
@@ -127437,8 +129520,6 @@ self: {
];
description = "Primitive functions and data types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hw-prim-bits" = callPackage
@@ -127464,41 +129545,6 @@ self: {
}) {};
"hw-rankselect" = callPackage
- ({ mkDerivation, base, bytestring, conduit, criterion, deepseq
- , directory, hedgehog, hspec, hw-balancedparens, hw-bits
- , hw-hedgehog, hw-hspec-hedgehog, hw-prim, hw-rankselect-base, lens
- , mmap, mtl, optparse-applicative, QuickCheck, resourcet
- , transformers, vector
- }:
- mkDerivation {
- pname = "hw-rankselect";
- version = "0.12.0.4";
- sha256 = "0l27pfsqvil9l4p7hk2bvgxsa35z88179w88wbwvmjf4vsmpiqkh";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- base deepseq hw-balancedparens hw-bits hw-prim hw-rankselect-base
- vector
- ];
- executableHaskellDepends = [
- base directory hw-bits hw-prim hw-rankselect-base lens mmap mtl
- optparse-applicative vector
- ];
- testHaskellDepends = [
- base directory hedgehog hspec hw-bits hw-hedgehog hw-hspec-hedgehog
- hw-prim hw-rankselect-base mmap QuickCheck transformers vector
- ];
- benchmarkHaskellDepends = [
- base bytestring conduit criterion directory hw-bits hw-prim
- hw-rankselect-base mmap resourcet vector
- ];
- description = "Rank-select";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "hw-rankselect_0_13_0_0" = callPackage
({ mkDerivation, base, bytestring, conduit, criterion, deepseq
, directory, generic-lens, hedgehog, hspec, hspec-discover
, hw-balancedparens, hw-bits, hw-hedgehog, hw-hspec-hedgehog
@@ -127509,6 +129555,8 @@ self: {
pname = "hw-rankselect";
version = "0.13.0.0";
sha256 = "13cdsrg7akizf5gcjvpwr8mwhl6ds9n3y7ql559w52xy5s8viqzv";
+ revision = "1";
+ editedCabalFile = "17f9zdy7620d36mrrcakpr9rhzzr7rkv8hd5n47cqllmhzvns5mg";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -127534,6 +129582,45 @@ self: {
broken = true;
}) {};
+ "hw-rankselect_0_13_2_0" = callPackage
+ ({ mkDerivation, base, bytestring, conduit, criterion, deepseq
+ , directory, generic-lens, hedgehog, hspec, hspec-discover
+ , hw-balancedparens, hw-bits, hw-fingertree, hw-hedgehog
+ , hw-hspec-hedgehog, hw-prim, hw-rankselect-base, lens, mmap, mtl
+ , optparse-applicative, QuickCheck, resourcet, transformers, vector
+ }:
+ mkDerivation {
+ pname = "hw-rankselect";
+ version = "0.13.2.0";
+ sha256 = "00k163jalapxdlcmcvi4ddk60bsj34f7ng05agvh1374kybqscb4";
+ revision = "1";
+ editedCabalFile = "0a0mlfbln3whziv2rp63qr1qjm4vxgrd8535irnlyy5ba0a0lad8";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base deepseq hedgehog hspec hw-balancedparens hw-bits hw-fingertree
+ hw-prim hw-rankselect-base vector
+ ];
+ executableHaskellDepends = [
+ base directory generic-lens hw-bits hw-prim hw-rankselect-base lens
+ mmap mtl optparse-applicative vector
+ ];
+ testHaskellDepends = [
+ base directory hedgehog hspec hw-bits hw-hedgehog hw-hspec-hedgehog
+ hw-prim hw-rankselect-base mmap QuickCheck transformers vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base bytestring conduit criterion directory hw-bits hw-prim
+ hw-rankselect-base mmap resourcet vector
+ ];
+ doHaddock = false;
+ description = "Rank-select";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"hw-rankselect-base" = callPackage
({ mkDerivation, base, bits-extra, criterion, hedgehog, hspec
, hw-bits, hw-hedgehog, hw-hspec-hedgehog, hw-int, hw-prim
@@ -127543,6 +129630,8 @@ self: {
pname = "hw-rankselect-base";
version = "0.3.2.1";
sha256 = "0q4kywln4bls2dvazhqh2acw4yqnabnx0mdkhldgg70q8amnq2nj";
+ revision = "2";
+ editedCabalFile = "0djyix1fp00s8j0qjja4557wdflgixpz4fvrmwiw7x294zr9f9fw";
libraryHaskellDepends = [
base bits-extra hw-bits hw-int hw-prim hw-string-parse safe vector
];
@@ -127569,6 +129658,8 @@ self: {
pname = "hw-simd";
version = "0.1.1.4";
sha256 = "1rc4zzp3h87zqrdsgwvc9vxydv200jk7q02vcqfk23wqg0sxvpw0";
+ revision = "1";
+ editedCabalFile = "00a1wr7sbz6hyapd26asx4zs3g1r8x2y61zdckfb2dxxhyhs2kjw";
libraryHaskellDepends = [
base bits-extra bytestring deepseq hw-bits hw-prim hw-rankselect
hw-rankselect-base vector
@@ -127601,6 +129692,8 @@ self: {
pname = "hw-streams";
version = "0.0.0.10";
sha256 = "08ghjvgyd13b1mby213j86p9b8fbk3j3jbj1n9czq4w9sbsbpxxw";
+ revision = "1";
+ editedCabalFile = "141vh52p5mwxv77gdnbs6n0k9kkapz4wnwdbm4jpirmhl45bxzph";
libraryHaskellDepends = [
base bytestring ghc-prim hw-bits hw-prim mmap primitive semigroups
transformers vector
@@ -127654,26 +129747,26 @@ self: {
}) {};
"hw-uri" = callPackage
- ({ mkDerivation, amazonka, amazonka-core, amazonka-s3, antiope-core
- , antiope-s3, base, bytestring, directory, exceptions, filepath
- , hedgehog, hspec, hspec-discover, http-client, http-types
- , hw-hspec-hedgehog, lens, mtl, resourcet, text
+ ({ mkDerivation, aeson, amazonka, amazonka-core, amazonka-s3
+ , antiope-core, antiope-s3, base, bytestring, directory, exceptions
+ , filepath, hedgehog, hspec, hspec-discover, http-client
+ , http-types, hw-hspec-hedgehog, lens, mtl, resourcet, text
}:
mkDerivation {
pname = "hw-uri";
- version = "0.0.0.1";
- sha256 = "11cibgdyk4r1ad6hamb81ffcf27yar9w8045533f2sr6vfnhrj6m";
+ version = "0.1.1.0";
+ sha256 = "1f96632k6pcaxhy2nrm13s9kdb0dz3vsav6hzf94wlv7zdlncn8x";
libraryHaskellDepends = [
- amazonka amazonka-core amazonka-s3 antiope-core antiope-s3 base
- bytestring directory exceptions filepath http-client http-types
- lens mtl resourcet text
+ aeson amazonka amazonka-core amazonka-s3 antiope-core antiope-s3
+ base bytestring directory exceptions filepath http-client
+ http-types lens mtl resourcet text
];
testHaskellDepends = [
- antiope-core antiope-s3 base bytestring filepath hedgehog hspec
- http-types hw-hspec-hedgehog lens text
+ aeson antiope-core antiope-s3 base bytestring filepath hedgehog
+ hspec http-types hw-hspec-hedgehog lens text
];
testToolDepends = [ hspec-discover ];
- description = "CI Assistant for Haskell projects";
+ description = "Supports IO on URIs";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -127691,8 +129784,6 @@ self: {
testHaskellDepends = [ base hspec QuickCheck vector ];
description = "Vector type with convenient typeclass instances";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"hw-xml" = callPackage
@@ -127705,8 +129796,8 @@ self: {
}:
mkDerivation {
pname = "hw-xml";
- version = "0.1.0.4";
- sha256 = "1ay4qz30m1aiych3rypbmpfbsc8wjal5w4l7h1zm44hl9ghiap9d";
+ version = "0.3.0.0";
+ sha256 = "1f7q4vqrj5iv2c2dcgc6cld6zaqqp8d575fnali1lg3fv5n1g69k";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -128012,8 +130103,8 @@ self: {
}:
mkDerivation {
pname = "hxt";
- version = "9.3.1.16";
- sha256 = "1qq3ykgn355rx242xjcbqqksgvwr6k2fdj5phw4iv28qqxff6m8d";
+ version = "9.3.1.18";
+ sha256 = "0836k65px3w9c5h1h2bmzq5a7mp6ajxwvfg3pfr2kbxwkgc0j63j";
libraryHaskellDepends = [
base binary bytestring containers deepseq directory filepath
hxt-charproperties hxt-regex-xmlschema hxt-unicode mtl network-uri
@@ -128060,8 +130151,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "hxt-charproperties";
- version = "9.2.0.1";
- sha256 = "1mml8wglvagqq891rchgli6r8rnkwrqhgsxfl6kb5403pzb18rp4";
+ version = "9.4.0.0";
+ sha256 = "1bk88hj2pqlvcnyfncqyb9j7w9vvdxcq3cgr0w2l09c0abas23pm";
libraryHaskellDepends = [ base ];
description = "Character properties and classes for XML and Unicode";
license = stdenv.lib.licenses.mit;
@@ -128868,28 +130959,6 @@ self: {
}) {};
"hyphenation" = callPackage
- ({ mkDerivation, base, bytestring, Cabal, cabal-doctest, containers
- , doctest, unordered-containers, zlib
- }:
- mkDerivation {
- pname = "hyphenation";
- version = "0.7.1";
- sha256 = "1h5i07v2zlka29dj4zysc47p747j88x6z4zm3zwcr5i8yirm0p52";
- revision = "5";
- editedCabalFile = "00wsp69aqi5i906liqa4sfs0p2yclhr1ihz8y1700b3ymb70lzql";
- enableSeparateDataOutput = true;
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- base bytestring containers unordered-containers zlib
- ];
- testHaskellDepends = [
- base containers doctest unordered-containers
- ];
- description = "Configurable Knuth-Liang hyphenation";
- license = stdenv.lib.licenses.bsd2;
- }) {};
-
- "hyphenation_0_8" = callPackage
({ mkDerivation, base, bytestring, Cabal, cabal-doctest, containers
, doctest, text, unordered-containers, zlib
}:
@@ -128907,7 +130976,6 @@ self: {
];
description = "Configurable Knuth-Liang hyphenation";
license = stdenv.lib.licenses.bsd2;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"hypher" = callPackage
@@ -128949,6 +131017,8 @@ self: {
pname = "hyraxAbif";
version = "0.2.3.15";
sha256 = "1wfmlqgk751ij30x0dkyc9fyc6j1a96l0s7fjj1sywdvawd8cfh1";
+ revision = "1";
+ editedCabalFile = "07i4ippga6cnwr9yl6nkrhakl9sim73fprf29lnmsvdc8ynbifcd";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -129272,6 +131342,8 @@ self: {
testHaskellDepends = [ base ];
description = "Type safe iconv wrapper";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ide-backend" = callPackage
@@ -129583,15 +131655,16 @@ self: {
, blaze-html, blaze-markup, bytestring, Cabal, cheapskate
, code-page, containers, deepseq, directory, filepath, fingertree
, fsnotify, gmp, haskeline, ieee754, libffi, megaparsec, mtl
- , network, optparse-applicative, pretty, process, regex-tdfa, safe
- , split, tagged, tasty, tasty-golden, tasty-rerun, terminal-size
- , text, time, transformers, uniplate, unix, unordered-containers
- , utf8-string, vector, vector-binary-instances, zip-archive
+ , network, optparse-applicative, parser-combinators, pretty
+ , process, regex-tdfa, safe, split, tagged, tasty, tasty-golden
+ , tasty-rerun, terminal-size, text, time, transformers, uniplate
+ , unix, unordered-containers, utf8-string, vector
+ , vector-binary-instances, zip-archive
}:
mkDerivation {
pname = "idris";
- version = "1.3.1";
- sha256 = "0fn9h58l592j72njwma1ia48h8h87wi2rjqfxs7j2lfmvgfv18fi";
+ version = "1.3.2";
+ sha256 = "0wychzkg0yghd2pp8fqz78vp1ayzks191knfpl7mhh8igsmb6bc7";
configureFlags = [ "-fcurses" "-fexeconly" "-fffi" "-fgmp" ];
isLibrary = true;
isExecutable = true;
@@ -129602,8 +131675,8 @@ self: {
base base64-bytestring binary blaze-html blaze-markup bytestring
cheapskate code-page containers deepseq directory filepath
fingertree fsnotify haskeline ieee754 libffi megaparsec mtl network
- optparse-applicative pretty process regex-tdfa safe split
- terminal-size text time transformers uniplate unix
+ optparse-applicative parser-combinators pretty process regex-tdfa
+ safe split terminal-size text time transformers uniplate unix
unordered-containers utf8-string vector vector-binary-instances
zip-archive
];
@@ -129676,6 +131749,25 @@ self: {
license = "GPL";
}) {};
+ "iexcloud" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, http-conduit
+ , HUnit, semigroups, stocks, unordered-containers
+ }:
+ mkDerivation {
+ pname = "iexcloud";
+ version = "0.0.0.1";
+ sha256 = "15qn3h1bz75bykcnyra6gg4d33gmr6ywc485hk2gmi4k6hbl6amf";
+ libraryHaskellDepends = [
+ aeson base bytestring containers http-conduit semigroups
+ unordered-containers
+ ];
+ testHaskellDepends = [ base bytestring HUnit stocks ];
+ description = "Library for the IEX Trading API";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"if" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -130025,8 +132117,8 @@ self: {
({ mkDerivation, aeson, base, hvega, ihaskell, text }:
mkDerivation {
pname = "ihaskell-hvega";
- version = "0.2.0.0";
- sha256 = "01y03r7jwxwvcs0hy8jjxz4lxg9hl5088g060w2c6pcnbz6zj7zj";
+ version = "0.2.0.2";
+ sha256 = "0xbv8801wxslcs9fsjssvdldz6nq8zmxm6l4pwkv8zpasqzq4k9q";
libraryHaskellDepends = [ aeson base hvega ihaskell text ];
description = "IHaskell display instance for hvega types";
license = stdenv.lib.licenses.bsd3;
@@ -130387,6 +132479,21 @@ self: {
broken = true;
}) {};
+ "imgur" = callPackage
+ ({ mkDerivation, base, data-default-class, http-client, req, text
+ , xml-conduit, xml-lens
+ }:
+ mkDerivation {
+ pname = "imgur";
+ version = "1.0";
+ sha256 = "140n07ygfjnyxfqbq2vzfgsk93b3j5m2s61jcivx74z6sc7g867h";
+ libraryHaskellDepends = [
+ base data-default-class http-client req text xml-conduit xml-lens
+ ];
+ description = "A function to post an image to imgur";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
"imgurder" = callPackage
({ mkDerivation, base, curl, directory, haskell98, hxt, hxt-xpath
, url
@@ -130502,38 +132609,43 @@ self: {
}) {};
"imm" = callPackage
- ({ mkDerivation, aeson, atom-conduit, base, base-noprelude
+ ({ mkDerivation, aeson, async, atom-conduit, base-noprelude, binary
, blaze-html, blaze-markup, bytestring, case-insensitive, conduit
- , connection, containers, directory, dyre, fast-logger, filepath
+ , connection, containers, dhall, directory, fast-logger, filepath
, hashable, HaskellNet, HaskellNet-SSL, http-client
, http-client-tls, http-types, microlens, mime-mail, monad-time
- , monoid-subclasses, mtl, network, opml-conduit
- , optparse-applicative, prettyprinter, prettyprinter-ansi-terminal
- , refined, relude, rss-conduit, safe-exceptions, stm
- , streaming-bytestring, streaming-with, streamly, text, time
- , timerep, tls, transformers-base, uri-bytestring, xml, xml-conduit
- , xml-types
+ , msgpack, network, opml-conduit, optparse-applicative
+ , prettyprinter, prettyprinter-ansi-terminal, refined, relude
+ , rss-conduit, safe-exceptions, stm, stm-chans
+ , streaming-bytestring, streaming-with, text, time, timerep, tls
+ , typed-process, uri-bytestring, xml-conduit, xml-types
}:
mkDerivation {
pname = "imm";
- version = "1.5.0.0";
- sha256 = "005idmw68z28pfj8q6x6al809w5hd83m0jykg5m8m1xy9fv1plja";
+ version = "1.7.0.0";
+ sha256 = "0slgfg4ay8j1kcvskl60gd2xbwllxcip6104wg36hcmb1symgdf1";
isLibrary = true;
isExecutable = true;
+ enableSeparateDataOutput = true;
libraryHaskellDepends = [
- aeson atom-conduit base-noprelude blaze-html blaze-markup
- bytestring case-insensitive conduit connection containers directory
- dyre fast-logger filepath hashable HaskellNet HaskellNet-SSL
- http-client http-client-tls http-types microlens mime-mail
- monad-time monoid-subclasses mtl network opml-conduit
- optparse-applicative prettyprinter prettyprinter-ansi-terminal
- refined relude rss-conduit safe-exceptions stm streaming-bytestring
- streaming-with streamly text time timerep tls transformers-base
- uri-bytestring xml xml-conduit xml-types
+ aeson async atom-conduit base-noprelude binary conduit containers
+ dhall directory filepath hashable http-types microlens monad-time
+ msgpack prettyprinter prettyprinter-ansi-terminal refined relude
+ rss-conduit safe-exceptions text time timerep tls uri-bytestring
+ xml-conduit xml-types
];
- executableHaskellDepends = [ base ];
- description = "Execute arbitrary actions for each unread element of RSS/Atom feeds";
- license = stdenv.lib.licenses.publicDomain;
+ executableHaskellDepends = [
+ aeson async atom-conduit base-noprelude blaze-html blaze-markup
+ bytestring case-insensitive conduit connection containers dhall
+ directory fast-logger filepath HaskellNet HaskellNet-SSL
+ http-client http-client-tls mime-mail msgpack network opml-conduit
+ optparse-applicative prettyprinter prettyprinter-ansi-terminal
+ refined relude rss-conduit safe-exceptions stm stm-chans
+ streaming-bytestring streaming-with text time typed-process
+ uri-bytestring xml-conduit xml-types
+ ];
+ description = "Execute arbitrary callbacks for each element of RSS/Atom feeds";
+ license = stdenv.lib.licenses.cc0;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -130632,6 +132744,8 @@ self: {
doHaddock = false;
description = "Framework for defaulting superclasses";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"implicit" = callPackage
@@ -130917,12 +133031,16 @@ self: {
}) {};
"incremental" = callPackage
- ({ mkDerivation, base, containers, deepseq, semigroups }:
+ ({ mkDerivation, aeson, base, containers, deepseq, extensible
+ , semigroups, text
+ }:
mkDerivation {
pname = "incremental";
- version = "0";
- sha256 = "01fvc963gln6svash9cf9v2wbfnssh4j5r49l6y23zmnmqnzxs8x";
- libraryHaskellDepends = [ base containers deepseq semigroups ];
+ version = "0.1";
+ sha256 = "03yax3xkp1mlipi1vn97ljz05c6fxflpvz9myqvlxcj658p9f3kh";
+ libraryHaskellDepends = [
+ aeson base containers deepseq extensible semigroups text
+ ];
testHaskellDepends = [ base ];
description = "incremental update library";
license = stdenv.lib.licenses.bsd3;
@@ -131026,6 +133144,20 @@ self: {
broken = true;
}) {};
+ "indent" = callPackage
+ ({ mkDerivation, base, containers, optparse-applicative, text }:
+ mkDerivation {
+ pname = "indent";
+ version = "0.0.5";
+ sha256 = "0xqvdns8rqdfqw872rcmnbiwnms8dkdp15vkczcypsxic1bliv5w";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base containers text ];
+ executableHaskellDepends = [ base optparse-applicative text ];
+ description = "Fix your indentation";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"indentation" = callPackage
({ mkDerivation, base, indentation-core, indentation-parsec
, indentation-trifecta, mtl, parsec, parsers, trifecta
@@ -131424,13 +133556,14 @@ self: {
"influxdb" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, Cabal
, cabal-doctest, clock, containers, doctest, foldl, http-client
- , http-types, lens, network, optional-args, scientific, tagged
- , template-haskell, text, time, unordered-containers, vector
+ , http-types, lens, network, optional-args, raw-strings-qq
+ , scientific, tagged, tasty, tasty-hunit, template-haskell, text
+ , time, unordered-containers, vector
}:
mkDerivation {
pname = "influxdb";
- version = "1.6.1.3";
- sha256 = "1l03bwmwxb42cha8v3fj616ks927mcklxrmqxrr1ms53m7bsa587";
+ version = "1.7.1";
+ sha256 = "1nny63rd9bw7ijg9l09cd467whfaa1n3ph8dqdy7bp6kcbvdwnzn";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
@@ -131439,21 +133572,25 @@ self: {
http-types lens network optional-args scientific tagged text time
unordered-containers vector
];
- testHaskellDepends = [ base doctest template-haskell ];
+ testHaskellDepends = [
+ base containers doctest raw-strings-qq tasty tasty-hunit
+ template-haskell time
+ ];
description = "Haskell client library for InfluxDB";
license = stdenv.lib.licenses.bsd3;
}) {};
- "influxdb_1_7_0" = callPackage
+ "influxdb_1_7_1_1" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, Cabal
, cabal-doctest, clock, containers, doctest, foldl, http-client
- , http-types, lens, network, optional-args, scientific, tagged
- , template-haskell, text, time, unordered-containers, vector
+ , http-types, lens, network, optional-args, raw-strings-qq
+ , scientific, tagged, tasty, tasty-hunit, template-haskell, text
+ , time, unordered-containers, vector
}:
mkDerivation {
pname = "influxdb";
- version = "1.7.0";
- sha256 = "1a9la9gm5brsh9rs9ai1a50kcdk75kw8jmrh1rd6xs4xiwdca819";
+ version = "1.7.1.1";
+ sha256 = "15qzlbgnplxc53l5134igf6yplxg4fgblx0s8bl8hfjh0gbnn8x8";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
@@ -131462,7 +133599,10 @@ self: {
http-types lens network optional-args scientific tagged text time
unordered-containers vector
];
- testHaskellDepends = [ base doctest template-haskell ];
+ testHaskellDepends = [
+ base containers doctest raw-strings-qq tasty tasty-hunit
+ template-haskell time
+ ];
description = "Haskell client library for InfluxDB";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -131499,21 +133639,6 @@ self: {
}) {};
"ini" = callPackage
- ({ mkDerivation, attoparsec, base, text, unordered-containers }:
- mkDerivation {
- pname = "ini";
- version = "0.3.6";
- sha256 = "1n9wsl7nz910bc8jx9ps7pvpql4hlnryjkqbdpfq0phjb9sf7fzw";
- revision = "1";
- editedCabalFile = "0gfikdal67aws20i5r4wg4r0lgn844glykcn3nnmbmyvwsks049l";
- libraryHaskellDepends = [
- attoparsec base text unordered-containers
- ];
- description = "Quick and easy configuration files in the INI format";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "ini_0_4_1" = callPackage
({ mkDerivation, attoparsec, base, hspec, text
, unordered-containers
}:
@@ -131527,7 +133652,6 @@ self: {
testHaskellDepends = [ base hspec unordered-containers ];
description = "Quick and easy configuration files in the INI format";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"ini-qq" = callPackage
@@ -131542,6 +133666,8 @@ self: {
testHaskellDepends = [ base HUnit ini raw-strings-qq text ];
description = "Quasiquoter for INI";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"inilist" = callPackage
@@ -131683,6 +133809,32 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "inline-c_0_8_0_1" = callPackage
+ ({ mkDerivation, ansi-wl-pprint, base, bytestring, containers
+ , hashable, hspec, mtl, parsec, parsers, QuickCheck, raw-strings-qq
+ , regex-posix, template-haskell, transformers, unordered-containers
+ , vector
+ }:
+ mkDerivation {
+ pname = "inline-c";
+ version = "0.8.0.1";
+ sha256 = "1w8njc8k1g8kmpk8c8q5p7m8adgpv5v4k4643hsi5422jdaq0g3i";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ ansi-wl-pprint base bytestring containers hashable mtl parsec
+ parsers template-haskell transformers unordered-containers vector
+ ];
+ testHaskellDepends = [
+ ansi-wl-pprint base containers hashable hspec parsers QuickCheck
+ raw-strings-qq regex-posix template-haskell transformers
+ unordered-containers vector
+ ];
+ description = "Write Haskell source files including C code inline. No FFI required.";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"inline-c-cpp_0_1_0_0" = callPackage
({ mkDerivation, base, inline-c, template-haskell }:
mkDerivation {
@@ -131697,22 +133849,6 @@ self: {
}) {};
"inline-c-cpp" = callPackage
- ({ mkDerivation, base, hspec, inline-c, safe-exceptions
- , template-haskell
- }:
- mkDerivation {
- pname = "inline-c-cpp";
- version = "0.3.0.1";
- sha256 = "00q4f2rv6ny5cnfyfdwqvmngw2w40jfs5zb1x7zs574w4l31g701";
- libraryHaskellDepends = [
- base inline-c safe-exceptions template-haskell
- ];
- testHaskellDepends = [ base hspec inline-c safe-exceptions ];
- description = "Lets you embed C++ code into Haskell";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "inline-c-cpp_0_3_0_2" = callPackage
({ mkDerivation, base, hspec, inline-c, safe-exceptions
, template-haskell
}:
@@ -131726,7 +133862,6 @@ self: {
testHaskellDepends = [ base hspec inline-c safe-exceptions ];
description = "Lets you embed C++ code into Haskell";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"inline-c-win32" = callPackage
@@ -131775,8 +133910,8 @@ self: {
}:
mkDerivation {
pname = "inline-r";
- version = "0.10.1";
- sha256 = "15hiql8i7jp76a1csiry6zzsmdzm0wbvlgikai7g0zdgyylqw6hg";
+ version = "0.10.2";
+ sha256 = "1lwdmdd4mx800zmiyg5z8nkpg2x31lqw74pgb515kyb9v97jykr4";
libraryHaskellDepends = [
aeson base bytestring containers data-default-class deepseq
exceptions inline-c mtl pretty primitive process reflection setenv
@@ -131840,10 +133975,10 @@ self: {
}:
mkDerivation {
pname = "insert-ordered-containers";
- version = "0.2.1.0";
- sha256 = "1612f455dw37da9g7bsd1s5kyi84mnr1ifnjw69892amyimi47fp";
- revision = "9";
- editedCabalFile = "02d4zqyb9dbahkpcbpgxylrc5xxc0zbw1awj5w0jyrql2g2b6a5f";
+ version = "0.2.2";
+ sha256 = "1ikjhg0pdfpnx1d645r92k2dwlk7y935j1w5lcsk23nzpwhbkxja";
+ revision = "1";
+ editedCabalFile = "1hlinc8nnjlzc6ds3wf8jvkihpcbhz2dk0rqxq1ns0c5zbbhnylq";
libraryHaskellDepends = [
aeson base base-compat hashable lens semigroupoids semigroups text
transformers unordered-containers
@@ -131893,8 +134028,8 @@ self: {
}:
mkDerivation {
pname = "inspection-testing";
- version = "0.4.1.2";
- sha256 = "1rh744nswl7i6wk2gv9qx5rbz74ndd1j5ynmfzdhw3i4jjr99q4v";
+ version = "0.4.2.2";
+ sha256 = "1bppz99p6ix6hah8lbr9mapl2zxgmkg9i7h6hk8wq6zf54hwz3yp";
libraryHaskellDepends = [
base containers ghc mtl template-haskell transformers
];
@@ -132135,8 +134270,8 @@ self: {
pname = "int-cast";
version = "0.2.0.0";
sha256 = "0s8rqm5d9f4y2sskajsw8ff7q8xp52vwqa18m6bajldp11m9a1p0";
- revision = "1";
- editedCabalFile = "111pac97pcrp01zphf96crdx22fnq7ha2s27av0mqki5421rghpm";
+ revision = "2";
+ editedCabalFile = "1fhc91170q9q9k628wc3dqzdvxfjs97jzg5x7g0ndaqnh60l8cy5";
libraryHaskellDepends = [ base ];
testHaskellDepends = [
base QuickCheck test-framework test-framework-quickcheck2
@@ -132189,6 +134324,8 @@ self: {
pname = "integer-logarithms";
version = "1.0.3";
sha256 = "05pc5hws66csvcvfswlwcr2fplwn1lbssvwifjxkbbwqhq0n5qjs";
+ revision = "1";
+ editedCabalFile = "1z6z63jr42jn073fd9ns7jcrw7n5lwx076q4b5rgzak7q1ixw2i8";
libraryHaskellDepends = [ array base ghc-prim integer-gmp ];
testHaskellDepends = [
base QuickCheck smallcheck tasty tasty-hunit tasty-quickcheck
@@ -132280,6 +134417,25 @@ self: {
broken = true;
}) {intel_aes = null;};
+ "interactive-plot" = callPackage
+ ({ mkDerivation, base, containers, data-default-class, microlens
+ , microlens-th, MonadRandom, mtl, transformers, vty
+ }:
+ mkDerivation {
+ pname = "interactive-plot";
+ version = "0.1.0.0";
+ sha256 = "0iq7y0vxn7cqrlqd0iqfk6cy80sc4ijln9mwm5r24v94s8cq1rkn";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base containers data-default-class microlens microlens-th
+ MonadRandom mtl transformers vty
+ ];
+ executableHaskellDepends = [ base ];
+ description = "Interactive quick time series plotting";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"interchangeable" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@@ -132568,8 +134724,8 @@ self: {
({ mkDerivation, array, base, containers, QuickCheck, utility-ht }:
mkDerivation {
pname = "interpolation";
- version = "0.1.1";
- sha256 = "0rpzilzcld0xwcfz9pkhq9sx9qd8ysz9yy3znpdslk4ia8i507y7";
+ version = "0.1.1.1";
+ sha256 = "081xlf59xp0j1svigkqfcz5an3yl3p8f5402i6492hz9rpv5qwy5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base utility-ht ];
@@ -132581,27 +134737,6 @@ self: {
}) {};
"interpolator" = callPackage
- ({ mkDerivation, aeson, base, containers, either, hspec
- , mono-traversable, mtl, product-profunctors, profunctors
- , QuickCheck, template-haskell, text
- }:
- mkDerivation {
- pname = "interpolator";
- version = "0.1.2";
- sha256 = "1kzqlwgpbzrq0flr90f9q359j8qjxll5adl9w5r9gp1yj3j7hrrz";
- libraryHaskellDepends = [
- aeson base containers either mono-traversable mtl
- product-profunctors profunctors QuickCheck template-haskell text
- ];
- testHaskellDepends = [
- aeson base containers either hspec mono-traversable mtl
- product-profunctors profunctors QuickCheck template-haskell text
- ];
- description = "Runtime interpolation of environment variables in records using profunctors";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "interpolator_1_0_0" = callPackage
({ mkDerivation, aeson, base, containers, either, hspec
, mono-traversable, mtl, product-profunctors, profunctors
, QuickCheck, template-haskell, text
@@ -132620,7 +134755,6 @@ self: {
];
description = "Runtime interpolation of environment variables in records using profunctors";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"interprocess" = callPackage
@@ -132926,8 +135060,8 @@ self: {
pname = "invertible-grammar";
version = "0.1.2";
sha256 = "1nf7dchcxs8wwd2hgfpf04qd63ws22pafjwb5911lq7da8k1y57j";
- revision = "1";
- editedCabalFile = "1qk0pi8n45mbzwr6i6sly59b74njk0akzm6k0vnr262lqahy0hdl";
+ revision = "2";
+ editedCabalFile = "0j6zmj0dlhiq4qjrbjbvdsmky1l4z1qwqikixk1b9dpa05n01ykf";
libraryHaskellDepends = [
base bifunctors containers mtl prettyprinter profunctors semigroups
tagged template-haskell text transformers
@@ -133182,6 +135316,8 @@ self: {
pname = "ioctl";
version = "0.0.1";
sha256 = "0rwh7mlwdd24ndzz4b4vd5b5daz9cga47m9nz6g75m03iyy237qs";
+ revision = "1";
+ editedCabalFile = "15i0plam5pr3zkvmmy0g5q9v1fwvp49r4gsyx3y5j89svyffwqaq";
libraryHaskellDepends = [ base network unix ];
description = "Type-safe I/O control package";
license = stdenv.lib.licenses.mit;
@@ -133260,35 +135396,6 @@ self: {
}) {};
"ip" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, bytestring, criterion
- , deepseq, doctest, hashable, hspec, hspec-discover, HUnit
- , primitive, QuickCheck, quickcheck-classes, test-framework
- , test-framework-hunit, test-framework-quickcheck2, text, vector
- }:
- mkDerivation {
- pname = "ip";
- version = "1.4.2.1";
- sha256 = "0661bygbgd2j897hbzs2pgqdk12px2d904r13lfw7bcrp892xja1";
- libraryHaskellDepends = [
- aeson attoparsec base bytestring deepseq hashable primitive text
- vector
- ];
- testHaskellDepends = [
- attoparsec base bytestring doctest hspec HUnit QuickCheck
- quickcheck-classes test-framework test-framework-hunit
- test-framework-quickcheck2 text
- ];
- testToolDepends = [ hspec-discover ];
- benchmarkHaskellDepends = [
- attoparsec base bytestring criterion text
- ];
- description = "Library for IP and MAC addresses";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "ip_1_5_0" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, criterion
, deepseq, doctest, hashable, hspec, hspec-discover, HUnit
, primitive, QuickCheck, quickcheck-classes, test-framework
@@ -133297,10 +135404,8 @@ self: {
}:
mkDerivation {
pname = "ip";
- version = "1.5.0";
- sha256 = "128kqqjbn020lpmga17dp34v91jbnnn8q2b1gy9rw21wvy507f5j";
- revision = "1";
- editedCabalFile = "09r4flbanb4zq3ixx57zd47gjvl6ghyrv62k11smbxzs6wy3szr4";
+ version = "1.5.1";
+ sha256 = "1crnn76vxhqq13556nc0537bh8xi5jzklyp24dqqfamxmfbwkzll";
libraryHaskellDepends = [
aeson attoparsec base bytestring deepseq hashable primitive text
vector wide-word
@@ -133338,11 +135443,11 @@ self: {
({ mkDerivation, base, binary, bytestring, iproute }:
mkDerivation {
pname = "ip2location";
- version = "8.0.4";
- sha256 = "0fry56zk9nbpqp58qvm1xxbq53pjiahkb58gh2h8dax80q3iczh4";
+ version = "8.1.0";
+ sha256 = "07n5xnspl318hrmff4gr274zpgszgviilwhjd7vdrhm1sq9sdir8";
libraryHaskellDepends = [ base binary bytestring iproute ];
description = "IP2Location Haskell package for IP geolocation";
- license = stdenv.lib.licenses.lgpl3;
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -133351,8 +135456,8 @@ self: {
({ mkDerivation, base, binary, bytestring, iproute }:
mkDerivation {
pname = "ip2proxy";
- version = "1.0.0";
- sha256 = "0f1plyy6hxkk7xz9m4fv7p56vqmvnna9frg21ms1n3f99wfimldx";
+ version = "2.1.0";
+ sha256 = "0qcmqy8p13hg9aih8m9w7qpbr6zcbvgc9y6bzh2cqm2sbx7ksvqm";
libraryHaskellDepends = [ base binary bytestring iproute ];
description = "IP2Proxy Haskell package for proxy detection";
license = stdenv.lib.licenses.mit;
@@ -133587,29 +135692,6 @@ self: {
}) {};
"ipython-kernel" = callPackage
- ({ mkDerivation, aeson, base, bytestring, cereal, containers
- , cryptonite, directory, filepath, memory, mtl, process, temporary
- , text, transformers, unordered-containers, uuid, zeromq4-haskell
- }:
- mkDerivation {
- pname = "ipython-kernel";
- version = "0.9.1.0";
- sha256 = "0944riw00i3m8n3cab0g9c14b24xryf9w8ddlddnmxgys4sn8qak";
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- aeson base bytestring cereal containers cryptonite directory
- filepath memory mtl process temporary text transformers
- unordered-containers uuid zeromq4-haskell
- ];
- description = "A library for creating kernels for IPython frontends";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "ipython-kernel_0_10_0_0" = callPackage
({ mkDerivation, aeson, base, bytestring, cereal, cereal-text
, containers, cryptonite, directory, filepath, memory, mtl, process
, temporary, text, transformers, unordered-containers, uuid
@@ -133629,8 +135711,6 @@ self: {
];
description = "A library for creating kernels for IPython frontends";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"irc" = callPackage
@@ -133669,8 +135749,8 @@ self: {
}:
mkDerivation {
pname = "irc-client";
- version = "1.1.0.6";
- sha256 = "0mp8zqrjplaa2xdzrbfaz4g78frhhh47a3v8l2r2p57j4v96l2b1";
+ version = "1.1.1.0";
+ sha256 = "1f2lqg37ig3f23066c4179vcym6p3ylmxsywqhmb0n078kix6kfb";
libraryHaskellDepends = [
base bytestring conduit connection containers contravariant
exceptions irc-conduit irc-ctcp mtl network-conduit-tls old-locale
@@ -133699,8 +135779,8 @@ self: {
}:
mkDerivation {
pname = "irc-conduit";
- version = "0.3.0.2";
- sha256 = "12352l9qx7cj2f2y2rk144llfr2p4ibks67gq4krjvsnhx7231m5";
+ version = "0.3.0.3";
+ sha256 = "1wbgczkiwnbpcwwcpsv9zf8n7nisv0iv2kivpjrxnhin2j4c48y1";
libraryHaskellDepends = [
async base bytestring conduit conduit-extra connection irc irc-ctcp
network-conduit-tls profunctors text time tls transformers
@@ -133716,8 +135796,8 @@ self: {
}:
mkDerivation {
pname = "irc-core";
- version = "2.7.0";
- sha256 = "1bsj4b8xwavc2z0amd2lmh4qn4gmxfmsicwdr1h3a2sqyx8qdv9m";
+ version = "2.7.1";
+ sha256 = "0syhcb1q9j68pcxzbv45pah6bkfvnqjzkpzn2356ci7jpb9qpbbn";
libraryHaskellDepends = [
attoparsec base base64-bytestring bytestring hashable primitive
text time vector
@@ -135045,10 +137125,10 @@ self: {
}:
mkDerivation {
pname = "jaeger-flamegraph";
- version = "1.3.0";
- sha256 = "03j5hjrhyhmc6qjp7v4j0mr2y0fpk0zds6v55as24par508w72ka";
- revision = "2";
- editedCabalFile = "0p2pcfyrcbqh0rnmhhp5hbwixvlml62iz0d48z7dd6cwfdzlkfrr";
+ version = "1.3.2";
+ sha256 = "1m7vs4zi1cm5xj3wn8zr44rdx1l99ra59xwr64y9bdrs1raga7k3";
+ revision = "1";
+ editedCabalFile = "003h3aqdkpvpqqyv7ypv3shvfiqcwq7cfihqv38bp2iq5vin938q";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ aeson base containers QuickCheck text ];
@@ -135086,8 +137166,8 @@ self: {
({ mkDerivation, base, Cabal }:
mkDerivation {
pname = "jailbreak-cabal";
- version = "1.3.4";
- sha256 = "0xvjdn61a8gxqj4jkdql9dyb3jk6lbx9i1w7hc27f2rqrwmfgq68";
+ version = "1.3.5";
+ sha256 = "1221gxggyk3pjqkc72wxx9gjl8dvqna1rn9nh9zkcmdpv5yww7wd";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base Cabal ];
@@ -135153,8 +137233,6 @@ self: {
executableHaskellDepends = [ base boxes directory filepath ];
description = "Export sheet music and audio from Windows/Mac app Jammit";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"japanese-calendar" = callPackage
@@ -135798,6 +137876,17 @@ self: {
broken = true;
}) {};
+ "joint" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "joint";
+ version = "0.1.1";
+ sha256 = "1iq29qyi4ij7ffshvz1x9rpbrbpd4088nccdpjzpzgza73w4bqmp";
+ libraryHaskellDepends = [ base ];
+ description = "Trying to compose non-composable";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"jonathanscard" = callPackage
({ mkDerivation, base, bytestring, containers, HTTP, json, mtl
, network, old-locale, time
@@ -135849,13 +137938,12 @@ self: {
, bytestring, concise, containers, cryptonite, hspec, lens, memory
, monad-time, mtl, network-uri, QuickCheck, quickcheck-instances
, safe, semigroups, tasty, tasty-hspec, tasty-quickcheck
- , template-haskell, text, time, unix, unordered-containers, vector
- , x509
+ , template-haskell, text, time, unordered-containers, vector, x509
}:
mkDerivation {
pname = "jose";
- version = "0.8.0.0";
- sha256 = "027698xq5l8in420x3sc5zqwp16i1jzjcy8rlh546j8acxcvrqc4";
+ version = "0.8.1.0";
+ sha256 = "02xg8axy6whbkn0mzg1gjy6b1mhxlmsh1x7vjk1fiawvg9nwzrkl";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -135864,9 +137952,6 @@ self: {
QuickCheck quickcheck-instances safe semigroups template-haskell
text time unordered-containers vector x509
];
- executableHaskellDepends = [
- aeson base bytestring lens mtl semigroups text unix
- ];
testHaskellDepends = [
aeson attoparsec base base64-bytestring bytestring concise
containers cryptonite hspec lens memory monad-time mtl network-uri
@@ -136034,20 +138119,21 @@ self: {
}) {};
"jsaddle-dom" = callPackage
- ({ mkDerivation, base, base-compat, exceptions, jsaddle, lens, text
- , transformers
+ ({ mkDerivation, base, base-compat, Cabal, exceptions, jsaddle
+ , lens, text, transformers
}:
mkDerivation {
pname = "jsaddle-dom";
- version = "0.9.3.1";
- sha256 = "0ifbddp4vjpbl89bwczfp7ivnhfayg8317l8qk6h84p9vd1km44z";
+ version = "0.9.3.2";
+ sha256 = "1qc135w1y4f2mbky36dmb0ggcbwkv1vnmszw5lkhkxhkcag2sf07";
+ revision = "1";
+ editedCabalFile = "0vhqqbcpbrsnbmix0wkkm1d21qwrpicbzjwy42p48g7whg0lf0d5";
+ setupHaskellDepends = [ base Cabal ];
libraryHaskellDepends = [
base base-compat exceptions jsaddle lens text transformers
];
description = "DOM library that uses jsaddle to support both GHCJS and GHC";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"jsaddle-hello" = callPackage
@@ -136188,6 +138274,8 @@ self: {
pname = "json";
version = "0.9.3";
sha256 = "1z8s3mfg76p2flqqd2wqsi96l5bg8k8w8m58zlv81pw3k7h1vbwb";
+ revision = "2";
+ editedCabalFile = "0iqmwfq6s1fc8jj16yx2d7jpzf94scd1hc4yvz281zxj7kds2ms5";
libraryHaskellDepends = [
array base bytestring containers mtl parsec pretty syb text
];
@@ -136213,8 +138301,8 @@ self: {
}:
mkDerivation {
pname = "json-api";
- version = "0.1.1.2";
- sha256 = "092x0zldcz6dsvvsxs2zr4cp4mbwjsrdpcassrl5i715x9rb5fmm";
+ version = "0.1.4.0";
+ sha256 = "1xswmpkwr1f49kf4hmp9014lwv4lcnyjj161ylfh5ihjfr30w0yb";
libraryHaskellDepends = [
aeson base containers data-default lens lens-aeson text
unordered-containers url
@@ -136225,6 +138313,28 @@ self: {
];
description = "Utilities for generating JSON-API payloads";
license = stdenv.lib.licenses.mit;
+ }) {};
+
+ "json-api-lib" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
+ , data-default, hspec, hspec-discover, lens, lens-aeson, text
+ , unordered-containers, uri-encode
+ }:
+ mkDerivation {
+ pname = "json-api-lib";
+ version = "0.1.1.1";
+ sha256 = "096n08y80rkjn090w9pybwbfbwamfdig451nbgd48x0nrk6c091n";
+ libraryHaskellDepends = [
+ aeson base containers data-default lens lens-aeson text
+ unordered-containers uri-encode
+ ];
+ testHaskellDepends = [
+ aeson aeson-pretty base bytestring containers data-default hspec
+ lens lens-aeson text unordered-containers uri-encode
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Utilities for generating JSON-API payloads";
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -136922,6 +139032,21 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "json5hs" = callPackage
+ ({ mkDerivation, array, base, bytestring, containers, mtl, pretty
+ , syb, text
+ }:
+ mkDerivation {
+ pname = "json5hs";
+ version = "0.1.2.2";
+ sha256 = "19r1ripvalrhvlqdk0pvm18b4a8sibdwlc60i2yj7da10rdx5cv1";
+ libraryHaskellDepends = [
+ array base bytestring containers mtl pretty syb text
+ ];
+ description = "Serialising to and from JSON5";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"jsonextfilter" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, containers
, monads-tf, optparse-applicative, process, scientific, string-qq
@@ -136944,6 +139069,29 @@ self: {
broken = true;
}) {};
+ "jsonpath" = callPackage
+ ({ mkDerivation, aeson, aeson-casing, attoparsec, base, bytestring
+ , file-embed, hspec, hspec-attoparsec, hspec-discover, text
+ , unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "jsonpath";
+ version = "0.1.0.1";
+ sha256 = "0wp5516g33spb9ilphjkzamr88xl64fb6y9zjfci1kac5vkl4qqk";
+ revision = "2";
+ editedCabalFile = "04jw3ayvcabsfcqazksnn0rg0i1326d0gjdx1zl8rk955g2qlwam";
+ libraryHaskellDepends = [
+ aeson attoparsec base text unordered-containers vector
+ ];
+ testHaskellDepends = [
+ aeson aeson-casing attoparsec base bytestring file-embed hspec
+ hspec-attoparsec text unordered-containers vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Library to parse and execute JSONPath";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"jsonresume" = callPackage
({ mkDerivation, aeson, base, bytestring, old-locale, text, time
, unordered-containers
@@ -137369,26 +139517,25 @@ self: {
"jvm-binary" = callPackage
({ mkDerivation, attoparsec, base, binary, bytestring, containers
, criterion, data-binary-ieee754, deepseq, deriving-compat
- , directory, filepath, generic-random
- , hspec-expectations-pretty-diff, mtl, QuickCheck, tasty
- , tasty-discover, tasty-hspec, tasty-quickcheck, template-haskell
- , text, vector
+ , directory, filepath, generic-random, hspec, hspec-discover
+ , hspec-expectations-pretty-diff, mtl, QuickCheck, template-haskell
+ , text, vector, zip-archive
}:
mkDerivation {
pname = "jvm-binary";
- version = "0.3.0";
- sha256 = "0qbhxd13hmzmr5mn20rcm63sxy4wm1y794b7vznz028j2krlyv5w";
+ version = "0.6.0";
+ sha256 = "1ipy0vy0pr9pbxjin0d86dwvdy70wxb1cmg1bqcdjdgrg2xbqxf8";
libraryHaskellDepends = [
attoparsec base binary bytestring containers data-binary-ieee754
deepseq deriving-compat mtl template-haskell text vector
];
testHaskellDepends = [
attoparsec base binary bytestring containers data-binary-ieee754
- deepseq deriving-compat directory filepath generic-random
- hspec-expectations-pretty-diff mtl QuickCheck tasty tasty-discover
- tasty-hspec tasty-quickcheck template-haskell text vector
+ deepseq deriving-compat directory filepath generic-random hspec
+ hspec-discover hspec-expectations-pretty-diff mtl QuickCheck
+ template-haskell text vector zip-archive
];
- testToolDepends = [ tasty-discover ];
+ testToolDepends = [ hspec-discover ];
benchmarkHaskellDepends = [
attoparsec base binary bytestring containers criterion
data-binary-ieee754 deepseq deriving-compat mtl template-haskell
@@ -137731,8 +139878,6 @@ self: {
benchmarkHaskellDepends = [ aeson base containers criterion text ];
description = "Perform 漢字検定 (Japan Kanji Aptitude Test) level analysis on Japanese Kanji";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"kansas-comet" = callPackage
@@ -137913,10 +140058,8 @@ self: {
}:
mkDerivation {
pname = "katip";
- version = "0.7.0.0";
- sha256 = "1z4533952sal5ma71xpsrwbi9pniy1cciw20w31igrx9rw9kx98b";
- revision = "1";
- editedCabalFile = "1lzla1iv5ll9iks5xh8399vs2mjxb33pbdg115kqbq9r5z3h84qp";
+ version = "0.8.3.0";
+ sha256 = "0wpqchpgrp7awrf7hirg0768g8nnqrydnwcw8xgxw6w47zcb71d0";
libraryHaskellDepends = [
aeson async auto-update base bytestring containers either hostname
microlens microlens-th monad-control mtl old-locale resourcet
@@ -137938,42 +140081,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "katip_0_8_2_0" = callPackage
- ({ mkDerivation, aeson, async, auto-update, base, blaze-builder
- , bytestring, containers, criterion, deepseq, directory, either
- , filepath, hostname, microlens, microlens-th, monad-control, mtl
- , old-locale, quickcheck-instances, regex-tdfa, resourcet
- , safe-exceptions, scientific, semigroups, stm, string-conv, tasty
- , tasty-golden, tasty-hunit, tasty-quickcheck, template-haskell
- , text, time, time-locale-compat, transformers, transformers-base
- , transformers-compat, unix, unliftio-core, unordered-containers
- }:
- mkDerivation {
- pname = "katip";
- version = "0.8.2.0";
- sha256 = "064i2dbl52i2z7lyvk01ayvf6dzzn20bac3fwh0dlvr5bn49wran";
- libraryHaskellDepends = [
- aeson async auto-update base bytestring containers either hostname
- microlens microlens-th monad-control mtl old-locale resourcet
- safe-exceptions scientific semigroups stm string-conv
- template-haskell text time transformers transformers-base
- transformers-compat unix unliftio-core unordered-containers
- ];
- testHaskellDepends = [
- aeson base bytestring containers directory microlens
- quickcheck-instances regex-tdfa safe-exceptions stm tasty
- tasty-golden tasty-hunit tasty-quickcheck template-haskell text
- time time-locale-compat unordered-containers
- ];
- benchmarkHaskellDepends = [
- aeson async base blaze-builder criterion deepseq directory filepath
- safe-exceptions text time transformers unix
- ];
- description = "A structured logging framework";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"katip-datadog" = callPackage
({ mkDerivation, aeson, async, attoparsec, base, binary, bytestring
, conduit, conduit-extra, connection, containers, katip, network
@@ -137994,8 +140101,6 @@ self: {
];
description = "Datadog scribe for the Katip logging framework";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"katip-elasticsearch" = callPackage
@@ -138042,6 +140147,8 @@ self: {
];
description = "Katip scribe to send logs to Kafka";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"katip-logzio" = callPackage
@@ -138068,8 +140175,6 @@ self: {
];
description = "Logz.IO scribe for the Katip logging framework";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"katip-rollbar" = callPackage
@@ -138182,6 +140287,8 @@ self: {
];
description = "A haskell implementation of Katydid";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"kawa" = callPackage
@@ -138252,6 +140359,8 @@ self: {
];
description = "stats.NBA.com library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"kazura-queue" = callPackage
@@ -138363,8 +140472,6 @@ self: {
];
description = "Fast and flexible k-d trees for various types of point queries";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"keccak" = callPackage
@@ -138597,8 +140704,8 @@ self: {
}:
mkDerivation {
pname = "keera-hails-reactive-gtk";
- version = "0.3";
- sha256 = "0b3j9h0d4sw1hhgihnlqpiyc9bwfk5qd6jl64jij3q3rjy97wr3v";
+ version = "0.5";
+ sha256 = "014d9hr2321gs6ska8ykrgh59k92c6kxf0a3gqvrfj3rck28izb9";
libraryHaskellDepends = [
base bytestring cairo glib gtk gtk-helpers
keera-hails-reactivevalues mtl transformers
@@ -138610,13 +140717,15 @@ self: {
}) {};
"keera-hails-reactive-network" = callPackage
- ({ mkDerivation, base, keera-hails-reactivevalues, network }:
+ ({ mkDerivation, base, bytestring, keera-hails-reactivevalues
+ , network, network-bsd
+ }:
mkDerivation {
pname = "keera-hails-reactive-network";
- version = "0.0.3.3";
- sha256 = "1379djvy5nn6k67ds7mk9jjh03zd6sj0v8sf5agmk3pf5cyp0xa3";
+ version = "0.1";
+ sha256 = "1d1r9p5ray60yfrxs89byc7rmdsm340k2b8klv25k0wh2fvrx2yw";
libraryHaskellDepends = [
- base keera-hails-reactivevalues network
+ base bytestring keera-hails-reactivevalues network network-bsd
];
description = "Haskell on Rails - Sockets as Reactive Values";
license = stdenv.lib.licenses.bsd3;
@@ -139027,6 +141136,8 @@ self: {
];
description = "Pure Haskell key/value store implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"keyword-args" = callPackage
@@ -139170,8 +141281,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "kind-apply";
- version = "0.3.1.0";
- sha256 = "1rvm0zw5gxn4jfy7ndplrzi2k77mciiisylf9adppy1an8q4zw3d";
+ version = "0.3.2.0";
+ sha256 = "0wq0jfi8jdah6mwc6amrfjs5ld0bz86y53va9sm0hzvpiyb4bpcq";
libraryHaskellDepends = [ base ];
description = "Utilities to work with lists of types";
license = stdenv.lib.licenses.bsd3;
@@ -139188,6 +141299,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "kind-generics_0_4_0_0" = callPackage
+ ({ mkDerivation, base, kind-apply }:
+ mkDerivation {
+ pname = "kind-generics";
+ version = "0.4.0.0";
+ sha256 = "1w3rpvdvgfczsc86y00qbr9s9r8vmv442m4x975f3zcqs4algfhp";
+ libraryHaskellDepends = [ base kind-apply ];
+ description = "Generic programming in GHC style for arbitrary kinds and GADTs";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"kind-generics-th" = callPackage
({ mkDerivation, base, kind-generics, template-haskell
, th-abstraction
@@ -139204,6 +141327,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "kind-generics-th_0_2_0_0" = callPackage
+ ({ mkDerivation, base, kind-generics, template-haskell
+ , th-abstraction
+ }:
+ mkDerivation {
+ pname = "kind-generics-th";
+ version = "0.2.0.0";
+ sha256 = "1vj2zbkv51fvcpjrkqqlsd685drnh2yalsplcb6sgrgq9dfdlw2h";
+ libraryHaskellDepends = [
+ base kind-generics template-haskell th-abstraction
+ ];
+ testHaskellDepends = [ base kind-generics ];
+ description = "Template Haskell support for generating `GenericK` instances";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"kinds" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -139238,27 +141378,6 @@ self: {
}) {};
"kleene" = callPackage
- ({ mkDerivation, base, base-compat-batteries, containers, lattices
- , MemoTrie, QuickCheck, range-set-list, regex-applicative
- , step-function, text, transformers
- }:
- mkDerivation {
- pname = "kleene";
- version = "0";
- sha256 = "00hbrmsm19azxxql14y6k7h7z8k4azlmy4y0gimyqbx4nb7swln6";
- revision = "1";
- editedCabalFile = "1izdmr7a2d7qssnj732m2qc02inm3hrc882x9nyvz68648pvwwsx";
- libraryHaskellDepends = [
- base base-compat-batteries containers lattices MemoTrie QuickCheck
- range-set-list regex-applicative step-function text transformers
- ];
- description = "Kleene algebra";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "kleene_0_1" = callPackage
({ mkDerivation, attoparsec, base, base-compat, bytestring
, containers, lattices, MemoTrie, QuickCheck, range-set-list
, regex-applicative, semigroupoids, step-function, text
@@ -139268,8 +141387,8 @@ self: {
pname = "kleene";
version = "0.1";
sha256 = "00w1gywdhqyy2k3y238gfjs9h2w4pjanmi45bna5lj215n0jb0hg";
- revision = "1";
- editedCabalFile = "0cirgqhbwz849szrzmyvs47pzja9wnmz5rc2ccylgdikkv4mg3bb";
+ revision = "2";
+ editedCabalFile = "1kiaxmxhlv1pczw8bg5vhcbyxgl87qs5bgcdaipd29ml0z7sncsd";
libraryHaskellDepends = [
attoparsec base base-compat bytestring containers lattices MemoTrie
QuickCheck range-set-list regex-applicative semigroupoids
@@ -139277,8 +141396,6 @@ self: {
];
description = "Kleene algebra";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"kmeans" = callPackage
@@ -139348,16 +141465,16 @@ self: {
}) {};
"knead" = callPackage
- ({ mkDerivation, base, bool8, llvm-extra, llvm-tf, storable-record
- , storable-tuple, tfp, transformers, utility-ht
+ ({ mkDerivation, base, bool8, comfort-array, llvm-extra, llvm-tf
+ , storable-record, storable-tuple, tfp, transformers, utility-ht
}:
mkDerivation {
pname = "knead";
- version = "0.3";
- sha256 = "0pghy04z5ps1m3v6qmq7pilnflrcswm83c68k2f8d4g56v9lcp40";
+ version = "0.4";
+ sha256 = "1p1zfa2mihy2di5wjb189mdq6kygr47y19194ycxdx47sh8y6s6y";
libraryHaskellDepends = [
- base bool8 llvm-extra llvm-tf storable-record storable-tuple tfp
- transformers utility-ht
+ base bool8 comfort-array llvm-extra llvm-tf storable-record
+ storable-tuple tfp transformers utility-ht
];
description = "Repa-like array processing using LLVM JIT";
license = stdenv.lib.licenses.bsd3;
@@ -139383,28 +141500,29 @@ self: {
"knit-haskell" = callPackage
({ mkDerivation, aeson-pretty, base, base64-bytestring
, blaze-colonnade, blaze-html, bytestring, case-insensitive
- , colonnade, containers, diagrams-lib, diagrams-svg, directory
- , Glob, here, http-client, http-client-tls, http-types, hvega
- , logging-effect, lucid, mtl, network, network-uri, pandoc, plots
- , polysemy, prettyprinter, random, random-fu, random-source
- , svg-builder, text, time
+ , colonnade, constraints, containers, diagrams-lib, diagrams-svg
+ , directory, Glob, here, http-client, http-client-tls, http-types
+ , hvega, logging-effect, lucid, mtl, network, network-uri, pandoc
+ , plots, polysemy, polysemy-plugin, polysemy-RandomFu, polysemy-zoo
+ , prettyprinter, random, random-fu, random-source, svg-builder
+ , text, time
}:
mkDerivation {
pname = "knit-haskell";
- version = "0.3.0.0";
- sha256 = "1mhxixiz07zlyhrdw68d2ajax40s01ikh27g56hlp1ilwnp8zqcv";
- isLibrary = true;
- isExecutable = true;
+ version = "0.6.0.1";
+ sha256 = "0wsbi614sjn62ri4msdmav7kx9k11h35dkjpxsd2ndvky2njzi33";
+ enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson-pretty base base64-bytestring blaze-colonnade blaze-html
- bytestring case-insensitive colonnade containers diagrams-lib
- diagrams-svg directory Glob http-client http-client-tls http-types
- hvega logging-effect lucid mtl network network-uri pandoc polysemy
+ bytestring case-insensitive colonnade constraints containers
+ diagrams-lib diagrams-svg directory Glob http-client
+ http-client-tls http-types hvega logging-effect lucid mtl network
+ network-uri pandoc polysemy polysemy-plugin polysemy-zoo
prettyprinter random random-fu random-source svg-builder text time
];
- executableHaskellDepends = [
+ testHaskellDepends = [
base blaze-html colonnade containers here hvega mtl plots polysemy
- random-fu text
+ polysemy-plugin polysemy-RandomFu random-fu random-source text
];
description = "a minimal Rmarkdown sort-of-thing for haskell, by way of Pandoc";
license = stdenv.lib.licenses.bsd3;
@@ -139472,6 +141590,8 @@ self: {
];
description = "JSON config file parsing based on unjson";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"kontrakcja-templates" = callPackage
@@ -139517,6 +141637,25 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "korea-holidays" = callPackage
+ ({ mkDerivation, aeson, base, hspec, monad-extras, split
+ , template-haskell, time, yaml
+ }:
+ mkDerivation {
+ pname = "korea-holidays";
+ version = "0.1.0.4";
+ sha256 = "11yiip6nv84k8q4n37w9kn1w57vizlcggszh0pnrkkx36xwwk9ll";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson base monad-extras split template-haskell time yaml
+ ];
+ testHaskellDepends = [
+ aeson base hspec monad-extras split template-haskell time yaml
+ ];
+ description = "Korea Holidays";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"korfu" = callPackage
({ mkDerivation, base, bio, bytestring, haskell98, simpleargs }:
mkDerivation {
@@ -139660,6 +141799,77 @@ self: {
broken = true;
}) {egl = null; inherit (pkgs) glew;};
+ "kubernetes-client" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, connection, containers
+ , data-default-class, hspec, http-client, http-client-tls
+ , kubernetes-client-core, microlens, mtl, pem, safe-exceptions
+ , streaming-bytestring, text, tls, x509, x509-store, x509-system
+ , x509-validation, yaml
+ }:
+ mkDerivation {
+ pname = "kubernetes-client";
+ version = "0.1.0.1";
+ sha256 = "0fzilm4k7cq3k6vlx01c5gzg4lnrgpfdldbiml4rbiv42f13pr7j";
+ libraryHaskellDepends = [
+ aeson base bytestring connection containers data-default-class
+ http-client http-client-tls kubernetes-client-core microlens mtl
+ pem safe-exceptions streaming-bytestring text tls x509 x509-store
+ x509-system x509-validation
+ ];
+ testHaskellDepends = [
+ aeson base bytestring connection containers data-default-class
+ hspec http-client http-client-tls kubernetes-client-core microlens
+ mtl pem safe-exceptions streaming-bytestring text tls x509
+ x509-store x509-system x509-validation yaml
+ ];
+ description = "Client library for Kubernetes";
+ license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "kubernetes-client-core" = callPackage
+ ({ mkDerivation, aeson, base, base64-bytestring, bytestring
+ , case-insensitive, containers, deepseq, exceptions, hspec
+ , http-api-data, http-client, http-client-tls, http-media
+ , http-types, iso8601-time, katip, microlens, mtl, network
+ , QuickCheck, random, safe-exceptions, semigroups, text, time
+ , transformers, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "kubernetes-client-core";
+ version = "0.1.0.1";
+ sha256 = "08sxsc9a9vdsqp71zxnc309cng75k3c57mcmmryhpwwyscvgfnsk";
+ revision = "1";
+ editedCabalFile = "0qzh7zq36q57yfccna1izi1gz9fpki9ngnl8dgf3m6halrxwqlc7";
+ libraryHaskellDepends = [
+ aeson base base64-bytestring bytestring case-insensitive containers
+ deepseq exceptions http-api-data http-client http-client-tls
+ http-media http-types iso8601-time katip microlens mtl network
+ random safe-exceptions text time transformers unordered-containers
+ vector
+ ];
+ testHaskellDepends = [
+ aeson base bytestring containers hspec iso8601-time mtl QuickCheck
+ semigroups text time transformers unordered-containers vector
+ ];
+ description = "Auto-generated kubernetes-client-core API Client";
+ license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "kuifje" = callPackage
+ ({ mkDerivation, base, boxes, containers, lens }:
+ mkDerivation {
+ pname = "kuifje";
+ version = "0.1.2.0";
+ sha256 = "0f7ldw506g4r6f7s803iwq49syfl1zmxdyyr62arbzg6h5qg81j7";
+ libraryHaskellDepends = [ base boxes containers lens ];
+ description = "A Quantitative Information Flow aware programming language";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"kure" = callPackage
({ mkDerivation, base, dlist, transformers }:
mkDerivation {
@@ -140241,7 +142451,8 @@ self: {
];
description = "Lambdabot core functionality";
license = "GPL";
- maintainers = with stdenv.lib.maintainers; [ peti ];
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lambdabot-haskell-plugins" = callPackage
@@ -140286,7 +142497,8 @@ self: {
];
description = "IRC plugins for lambdabot";
license = "GPL";
- maintainers = with stdenv.lib.maintainers; [ peti ];
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lambdabot-misc-plugins" = callPackage
@@ -140308,6 +142520,8 @@ self: {
];
description = "Lambdabot miscellaneous plugins";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lambdabot-novelty-plugins" = callPackage
@@ -140325,6 +142539,8 @@ self: {
];
description = "Novelty plugins for Lambdabot";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lambdabot-reference-plugins" = callPackage
@@ -140342,6 +142558,8 @@ self: {
];
description = "Lambdabot reference plugins";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lambdabot-social-plugins" = callPackage
@@ -140357,6 +142575,8 @@ self: {
];
description = "Social plugins for Lambdabot";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lambdabot-trusted" = callPackage
@@ -140402,8 +142622,8 @@ self: {
}:
mkDerivation {
pname = "lambdabot-xmpp";
- version = "0.1.0.0";
- sha256 = "1bn8gd2gxl44xqffiy8skh714hkvfv2d318v1qg9k52pp53al2ny";
+ version = "0.1.0.4";
+ sha256 = "0jgj1vyfw26asnj6zxlfzax6hs3syn29c0abp5b7blzl27iy5pdm";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -140773,33 +142993,6 @@ self: {
}) {};
"lame" = callPackage
- ({ mkDerivation, base, bytestring, data-default-class, directory
- , exceptions, filepath, hspec, htaglib, mp3lame, temporary, text
- , transformers, wave
- }:
- mkDerivation {
- pname = "lame";
- version = "0.1.1";
- sha256 = "0j35zpfhppb09m6h23awxgsawisvgsnrw7d99f5z3xq2bjihjq5k";
- revision = "4";
- editedCabalFile = "0r364limqm570a8xd82wwpcvmcx2j7nfndg5kad022vz2v5n0smz";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base bytestring data-default-class directory exceptions filepath
- text transformers wave
- ];
- librarySystemDepends = [ mp3lame ];
- testHaskellDepends = [
- base data-default-class directory filepath hspec htaglib temporary
- text
- ];
- description = "Fairly complete high-level binding to LAME encoder";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {mp3lame = null;};
-
- "lame_0_2_0" = callPackage
({ mkDerivation, base, bytestring, directory, exceptions, filepath
, hspec, hspec-discover, htaglib, mp3lame, temporary, text
, transformers, wave
@@ -140960,8 +143153,8 @@ self: {
pname = "language-c";
version = "0.8.2";
sha256 = "05ff3ywh2lpxgd00nv6y3jnqpdl6bg0f2yn3csd043rv4srd6adp";
- revision = "1";
- editedCabalFile = "1xg49j4bykgdm6l14m65wyz8r3s4v4dqc7a9zjcsr12ffkiv8nam";
+ revision = "2";
+ editedCabalFile = "074mypdymg7543waq68c72viw912w94v94y1287sp67lzwpyiixd";
libraryHaskellDepends = [
array base bytestring containers deepseq directory filepath pretty
process syb
@@ -141451,8 +143644,8 @@ self: {
}:
mkDerivation {
pname = "language-javascript";
- version = "0.6.0.12";
- sha256 = "0yqwalb3qxvmwx1gdss3sv7d8v4vzrnkvahq2b35y3lzi3fykpa7";
+ version = "0.6.0.13";
+ sha256 = "0dzvbnzkrxg9v78x2g7mhhr76viyxcgjyqpksaw7l0p1x7brjsck";
libraryHaskellDepends = [
array base blaze-builder bytestring containers mtl text utf8-string
];
@@ -141509,8 +143702,8 @@ self: {
}:
mkDerivation {
pname = "language-lua";
- version = "0.11.0";
- sha256 = "1b65bfjdx7287d65s2ki05yfps8k0w6jfq4avna4z37cqssa0z59";
+ version = "0.11.0.1";
+ sha256 = "0712xbijag03n61d80bnd9xw94fzywc76l8ya9ijv684ls0qymy2";
libraryHaskellDepends = [
alex-tools array base bytestring deepseq text
];
@@ -141781,8 +143974,8 @@ self: {
}:
mkDerivation {
pname = "language-puppet";
- version = "1.4.4";
- sha256 = "0dgbbyz89q1hhacy2pymhvmp8k5dvnzzsrxq0zc6l865nhha67ch";
+ version = "1.4.5";
+ sha256 = "1bn5gj89pxzxb8blj6v9pv8n03ksvxqrai0iin4syvyb10r7sxrq";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -142069,8 +144262,8 @@ self: {
}:
mkDerivation {
pname = "lapack";
- version = "0.3.0.1";
- sha256 = "0i7zzsw7rdb2hja0rdmw0l45x8svv5dxmnmrjdfs52gxzqmq621g";
+ version = "0.3.1";
+ sha256 = "1w8nndh3gj6vrildxjn13lmi7aqjwbhpqkdj7d21fsfbmhjlgwvr";
libraryHaskellDepends = [
base blas-ffi blaze-html boxes comfort-array deepseq fixed-length
guarded-allocation hyper lapack-ffi lazyio netlib-ffi non-empty
@@ -142117,8 +144310,6 @@ self: {
];
description = "Auto-generated interface to Fortran LAPACK via comfort-array";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"lapack-ffi" = callPackage
@@ -142141,8 +144332,8 @@ self: {
}:
mkDerivation {
pname = "lapack-ffi-tools";
- version = "0.1.2";
- sha256 = "14wfnddya7ch8hm3wgabd7nma7ahcgv6h2innfbp1ck92isn2s0q";
+ version = "0.1.2.1";
+ sha256 = "0hk54psm066acgn24mw5dbbhz4a0nqvyks75302cabijbp524gdh";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -142361,32 +144552,6 @@ self: {
}) {};
"lattices" = callPackage
- ({ mkDerivation, base, base-compat, containers, deepseq, hashable
- , QuickCheck, quickcheck-instances, semigroupoids, tagged, tasty
- , tasty-quickcheck, transformers, universe-base
- , universe-instances-base, universe-reverse-instances
- , unordered-containers
- }:
- mkDerivation {
- pname = "lattices";
- version = "1.7.1.1";
- sha256 = "1byx2hmmh2213afdcsjxf3mvq3h9bwkl5wrvzxv1yqvd9jiqjz3r";
- revision = "2";
- editedCabalFile = "0qxz4v5pqwvhb79mz4b7wc66r2c0xc9ixfhss4h56jk3vb1hriys";
- libraryHaskellDepends = [
- base base-compat containers deepseq hashable semigroupoids tagged
- universe-base universe-reverse-instances unordered-containers
- ];
- testHaskellDepends = [
- base base-compat containers QuickCheck quickcheck-instances tasty
- tasty-quickcheck transformers universe-instances-base
- unordered-containers
- ];
- description = "Fine-grained library for constructing and manipulating lattices";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "lattices_2" = callPackage
({ mkDerivation, base, base-compat, containers, deepseq, hashable
, integer-logarithms, QuickCheck, quickcheck-instances
, semigroupoids, tagged, tasty, tasty-quickcheck, transformers
@@ -142394,8 +144559,10 @@ self: {
}:
mkDerivation {
pname = "lattices";
- version = "2";
- sha256 = "050c66rrzh5p204jyqmysyhm419f8pasi0mlbwv3n167y0fnr8xq";
+ version = "2.0.1";
+ sha256 = "0c7n7fh89llg8ijylwc14ikqrg077vcqcgph5h9nar6i5dyaprfy";
+ revision = "1";
+ editedCabalFile = "1zfxq1gpfv0vb7arw0hw2nf61hyjwl8c72jng4v61xywvqh9i36q";
libraryHaskellDepends = [
base base-compat containers deepseq hashable integer-logarithms
QuickCheck semigroupoids tagged transformers universe-base
@@ -142408,7 +144575,6 @@ self: {
];
description = "Fine-grained library for constructing and manipulating lattices";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"launchpad-control" = callPackage
@@ -142622,8 +144788,8 @@ self: {
pname = "lazy-hash";
version = "0.1.0.0";
sha256 = "1xa2c8gxk5l4njbs58zpq2ybdvjd4y214p71nfmfrzw0arwz49pa";
- revision = "1";
- editedCabalFile = "07sn3q7q29zkxpillprx2d05pybjpvpglz8s7jq07akdhwmwx9mk";
+ revision = "2";
+ editedCabalFile = "0j46blbddl9y4chccyns7cixbxb0a4pkmdkbd5z09510ddz3jqm3";
libraryHaskellDepends = [
base constrained-categories hashable haskell-src-meta tagged
template-haskell vector-space
@@ -142643,6 +144809,8 @@ self: {
pname = "lazy-hash-cache";
version = "0.1.0.0";
sha256 = "1bdq2fbxpmlva1qbxbiznnjmz7yv7qzcr8wdgds0rdzwhjn97mp4";
+ revision = "1";
+ editedCabalFile = "1m42wsj93vpb6v1dcj2lc5z04qc2np8i7n3w82jwwk4wbgl5q35j";
libraryHaskellDepends = [
base base16-bytestring binary bytestring data-default-class
directory filepath hashable lazy-hash microlens microlens-th
@@ -142708,8 +144876,8 @@ self: {
}:
mkDerivation {
pname = "lazyboy";
- version = "0.2.0.1";
- sha256 = "1f5r0dpwf4x3zp9ii03pqw1j9iy0cyrrl6a9pfnmximzw753dhkp";
+ version = "0.2.2.0";
+ sha256 = "1kmiilikq4z003ngy3sk8j3973g0wh1jx7mvla68q12pii34p9gp";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base hspec microstache text transformers
@@ -142719,6 +144887,8 @@ self: {
];
description = "An EDSL for programming the Game Boy";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lazyio" = callPackage
@@ -142844,22 +145014,20 @@ self: {
"ldap-client" = callPackage
({ mkDerivation, asn1-encoding, asn1-types, async, base, bytestring
- , connection, containers, hspec, network, process, semigroups, stm
- , text
+ , connection, containers, fail, hspec, network, process, semigroups
+ , stm, text
}:
mkDerivation {
pname = "ldap-client";
- version = "0.2.0";
- sha256 = "0vs6n3q9svwhcp6853ipxmw1anmy8qfy3xajjsf7h4pjnqzy7g88";
+ version = "0.3.0";
+ sha256 = "0fii1yi3mn1dqvzbsx63fqrb53v81a7d2gqn3xma8v9vsp9nxv7v";
libraryHaskellDepends = [
asn1-encoding asn1-types async base bytestring connection
- containers network semigroups stm text
+ containers fail network semigroups stm text
];
testHaskellDepends = [ base bytestring hspec process semigroups ];
description = "Pure Haskell LDAP Client Library";
license = stdenv.lib.licenses.bsd2;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ldapply" = callPackage
@@ -142964,18 +145132,6 @@ self: {
}) {};
"leancheck" = callPackage
- ({ mkDerivation, base, template-haskell }:
- mkDerivation {
- pname = "leancheck";
- version = "0.8.0";
- sha256 = "1lblxlg881asqgbdv6sivzxryis7cgkpclgyyks598ii06vd0z1s";
- libraryHaskellDepends = [ base template-haskell ];
- testHaskellDepends = [ base ];
- description = "Enumerative property-based testing";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "leancheck_0_9_1" = callPackage
({ mkDerivation, base, template-haskell }:
mkDerivation {
pname = "leancheck";
@@ -142985,7 +145141,6 @@ self: {
testHaskellDepends = [ base ];
description = "Enumerative property-based testing";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"leancheck-enum-instances" = callPackage
@@ -143118,8 +145273,6 @@ self: {
];
description = "Haskell code for learning physics";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"learn-physics-examples" = callPackage
@@ -143390,8 +145543,8 @@ self: {
pname = "lens";
version = "4.17.1";
sha256 = "1gpkc53l2cggnfrgg5k4ih82rycjbdvpj9pnbi5cq8ms0dbvs4a7";
- revision = "1";
- editedCabalFile = "1zknh9h72qzszwrz9h25c5ssdr2pv5z67w6kv526sk1y8rnrbxk1";
+ revision = "2";
+ editedCabalFile = "1bh868l69nisdhw8qw5y51nj2w0pbbq7mxqiwf42iq0vcb6h0ybv";
setupHaskellDepends = [ base Cabal cabal-doctest filepath ];
libraryHaskellDepends = [
array base base-orphans bifunctors bytestring call-stack comonad
@@ -143416,6 +145569,47 @@ self: {
license = stdenv.lib.licenses.bsd2;
}) {};
+ "lens_4_18" = callPackage
+ ({ mkDerivation, array, base, base-orphans, bifunctors, bytestring
+ , Cabal, cabal-doctest, call-stack, comonad, containers
+ , contravariant, criterion, deepseq, directory, distributive
+ , doctest, exceptions, filepath, free, generic-deriving, ghc-prim
+ , hashable, HUnit, kan-extensions, mtl, nats, parallel, profunctors
+ , QuickCheck, reflection, semigroupoids, semigroups, simple-reflect
+ , tagged, template-haskell, test-framework, test-framework-hunit
+ , test-framework-quickcheck2, test-framework-th, text
+ , th-abstraction, transformers, transformers-compat, type-equality
+ , unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "lens";
+ version = "4.18";
+ sha256 = "0wldr36bmlxddc6d874lfl4hwnh5bq5k89v437d7xw5ldj0fgws6";
+ setupHaskellDepends = [ base Cabal cabal-doctest filepath ];
+ libraryHaskellDepends = [
+ array base base-orphans bifunctors bytestring call-stack comonad
+ containers contravariant distributive exceptions filepath free
+ ghc-prim hashable kan-extensions mtl parallel profunctors
+ reflection semigroupoids tagged template-haskell text
+ th-abstraction transformers transformers-compat type-equality
+ unordered-containers vector
+ ];
+ testHaskellDepends = [
+ base bytestring containers deepseq directory doctest filepath
+ generic-deriving HUnit mtl nats parallel QuickCheck semigroups
+ simple-reflect test-framework test-framework-hunit
+ test-framework-quickcheck2 test-framework-th text transformers
+ unordered-containers vector
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring comonad containers criterion deepseq
+ generic-deriving transformers unordered-containers vector
+ ];
+ description = "Lenses, Folds and Traversals";
+ license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"lens-accelerate" = callPackage
({ mkDerivation, accelerate, base, lens }:
mkDerivation {
@@ -143427,8 +145621,6 @@ self: {
libraryHaskellDepends = [ accelerate base lens ];
description = "Instances to mix lens with accelerate";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"lens-action" = callPackage
@@ -143473,6 +145665,28 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "lens-aeson_1_1" = callPackage
+ ({ mkDerivation, aeson, attoparsec, base, bytestring, Cabal
+ , cabal-doctest, doctest, generic-deriving, lens, scientific
+ , semigroups, simple-reflect, text, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "lens-aeson";
+ version = "1.1";
+ sha256 = "03n9dkdyqkkf15h8k4c4bjwgjcbbs2an2cf6z8x54nvkjmprrg7p";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ aeson attoparsec base bytestring lens scientific text
+ unordered-containers vector
+ ];
+ testHaskellDepends = [
+ base doctest generic-deriving semigroups simple-reflect
+ ];
+ description = "Law-abiding lenses for aeson";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"lens-datetime" = callPackage
({ mkDerivation, base, lens, time }:
mkDerivation {
@@ -143484,6 +145698,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lens-errors" = callPackage
+ ({ mkDerivation, base, containers, either, hspec, lens }:
+ mkDerivation {
+ pname = "lens-errors";
+ version = "0.2.2.0";
+ sha256 = "0wr5wfzrmacf0s53511p9dg5ymx0wk2d5771jd90pgk7v3cr39j6";
+ libraryHaskellDepends = [ base either lens ];
+ testHaskellDepends = [ base containers either hspec lens ];
+ description = "Error handling in lens chains";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"lens-family" = callPackage
({ mkDerivation, base, containers, lens-family-core, mtl
, transformers
@@ -143499,6 +145725,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lens-family_2_0_0" = callPackage
+ ({ mkDerivation, base, containers, lens-family-core, mtl
+ , transformers
+ }:
+ mkDerivation {
+ pname = "lens-family";
+ version = "2.0.0";
+ sha256 = "1nq3dwkrjyqafbv4gvwwgz6ih8y4x9bks11jhljh43q3qnjz54v7";
+ libraryHaskellDepends = [
+ base containers lens-family-core mtl transformers
+ ];
+ description = "Lens Families";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"lens-family-core" = callPackage
({ mkDerivation, base, containers, transformers }:
mkDerivation {
@@ -143510,6 +145752,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lens-family-core_2_0_0" = callPackage
+ ({ mkDerivation, base, containers, transformers }:
+ mkDerivation {
+ pname = "lens-family-core";
+ version = "2.0.0";
+ sha256 = "0ni6s873hy2h3b316835ssmlyr05yinb3a8jq5b01p9ppp9zrd0r";
+ libraryHaskellDepends = [ base containers transformers ];
+ description = "Haskell 2022 Lens Families";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"lens-family-th" = callPackage
({ mkDerivation, base, hspec, template-haskell, transformers }:
mkDerivation {
@@ -143522,6 +145776,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lens-filesystem" = callPackage
+ ({ mkDerivation, base, directory, filepath, hspec, lens
+ , lens-action
+ }:
+ mkDerivation {
+ pname = "lens-filesystem";
+ version = "0.0.0.0";
+ sha256 = "0295n9hfdq72c1knx170ccfyi93wp09szahb2q5jym0mcryvdls8";
+ libraryHaskellDepends = [
+ base directory filepath lens lens-action
+ ];
+ testHaskellDepends = [
+ base directory filepath hspec lens lens-action
+ ];
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"lens-labels_0_1_0_2" = callPackage
({ mkDerivation, base, ghc-prim }:
mkDerivation {
@@ -143586,6 +145859,25 @@ self: {
broken = true;
}) {};
+ "lens-process" = callPackage
+ ({ mkDerivation, base, Cabal, cabal-doctest, doctest, filepath
+ , lens, process, tasty, tasty-hunit
+ }:
+ mkDerivation {
+ pname = "lens-process";
+ version = "0.3.0.0";
+ sha256 = "1bp2mw38qvlq98596pn1illb6c1l8prd6qrzrg0g6xin98sqigb0";
+ revision = "1";
+ editedCabalFile = "1wwj258gq4qg97dx7pn2sxj8znrlb5sm2xcidwkhyrs45r75500b";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [ base filepath lens process ];
+ testHaskellDepends = [
+ base doctest filepath lens process tasty tasty-hunit
+ ];
+ description = "Optics for system processes";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"lens-properties" = callPackage
({ mkDerivation, base, lens, QuickCheck, transformers }:
mkDerivation {
@@ -143619,6 +145911,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lens-regex-pcre" = callPackage
+ ({ mkDerivation, base, bytestring, hspec, lens, pcre-heavy
+ , pcre-light, template-haskell, text
+ }:
+ mkDerivation {
+ pname = "lens-regex-pcre";
+ version = "0.3.1.0";
+ sha256 = "1fbhwzs7mwz9c0l3p34zcgfvqxwxlhr3abz9gawlraiiypmz0iby";
+ libraryHaskellDepends = [
+ base bytestring lens pcre-heavy pcre-light template-haskell text
+ ];
+ testHaskellDepends = [
+ base hspec lens pcre-heavy pcre-light template-haskell text
+ ];
+ description = "A lensy interface to regular expressions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"lens-simple" = callPackage
({ mkDerivation, base, lens-family, lens-family-core
, lens-family-th, mtl, transformers
@@ -143687,14 +145997,16 @@ self: {
];
description = "Lenses for toml-parser";
license = stdenv.lib.licenses.isc;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lens-tutorial" = callPackage
({ mkDerivation, base, doctest, lens }:
mkDerivation {
pname = "lens-tutorial";
- version = "1.0.3";
- sha256 = "1x6lbmylfp1gbik32ssfq643nmkhvhliryz70fsvcmscscm0chxp";
+ version = "1.0.4";
+ sha256 = "1xcadr4ynnpdm1sdv1idvs15f7d2gbr75565csvwaid2a1hz6agj";
libraryHaskellDepends = [ base lens ];
testHaskellDepends = [ base doctest ];
description = "Tutorial for the lens library";
@@ -143770,25 +146082,25 @@ self: {
}) {};
"lentil" = callPackage
- ({ mkDerivation, ansi-wl-pprint, base, csv, directory, filemanip
- , filepath, hspec, megaparsec, mtl, natural-sort
- , optparse-applicative, pipes, regex-tdfa, semigroups
+ ({ mkDerivation, ansi-wl-pprint, base, csv, deepseq, directory
+ , dlist, filemanip, filepath, hspec, megaparsec, mtl, natural-sort
+ , optparse-applicative, regex-tdfa, semigroups
, terminal-progress-bar, text
}:
mkDerivation {
pname = "lentil";
- version = "1.2.3.0";
- sha256 = "07q7s710mcsbf51cwx68ps616nlsddll5k4cq6sn81bdd2n72fbx";
+ version = "1.3.0.0";
+ sha256 = "15z32gk4ki0iz5mcakajyd70bcyn5impp0i322sc905j1wivvcz2";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- ansi-wl-pprint base csv directory filemanip filepath megaparsec mtl
- natural-sort optparse-applicative pipes regex-tdfa semigroups
- terminal-progress-bar text
+ ansi-wl-pprint base csv deepseq directory dlist filemanip filepath
+ megaparsec mtl natural-sort optparse-applicative regex-tdfa
+ semigroups terminal-progress-bar text
];
testHaskellDepends = [
- ansi-wl-pprint base csv directory filemanip filepath hspec
- megaparsec mtl natural-sort optparse-applicative pipes regex-tdfa
+ ansi-wl-pprint base csv deepseq directory dlist filemanip filepath
+ hspec megaparsec mtl natural-sort optparse-applicative regex-tdfa
semigroups terminal-progress-bar text
];
description = "frugal issue tracker";
@@ -143801,8 +146113,8 @@ self: {
}:
mkDerivation {
pname = "lenz";
- version = "0.3.0.0";
- sha256 = "17a3d91az0qv138q7x8wbka797z9pfxl3mbyydcr7i7p87dk48k3";
+ version = "0.3.1.0";
+ sha256 = "1c87m35wvsk9dyfp9d8ar6qb4gz534xmg1rf8xahsjkryn9vjqfn";
libraryHaskellDepends = [
base base-unicode-symbols hs-functors transformers
];
@@ -143810,6 +146122,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "lenz_0_4_0_0" = callPackage
+ ({ mkDerivation, base, base-unicode-symbols, hs-functors
+ , transformers
+ }:
+ mkDerivation {
+ pname = "lenz";
+ version = "0.4.0.0";
+ sha256 = "1bfhs61i7ach2d8bbrcsch57w7imrn22hilv63hif9dmqjnlwvy5";
+ libraryHaskellDepends = [
+ base base-unicode-symbols hs-functors transformers
+ ];
+ description = "Van Laarhoven lenses";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"lenz-template" = callPackage
({ mkDerivation, base, base-unicode-symbols, containers, lenz
, template-haskell
@@ -144134,6 +146462,8 @@ self: {
pname = "libarchive";
version = "1.0.5.1";
sha256 = "1fchnvs03hg513v7a45a3qbfr3kbh3nmqjqljzr2y1mg2ghkr7cz";
+ revision = "4";
+ editedCabalFile = "0wzw962gl9lm5faaa86z4q7s9cbzqn346cmlbhr518dbnw7nv31d";
libraryHaskellDepends = [
base bytestring composition-prelude dlist filepath
];
@@ -144234,14 +146564,12 @@ self: {
({ mkDerivation, base, contravariant, ffi, hashable, intern }:
mkDerivation {
pname = "libffi-dynamic";
- version = "0.0.0.1";
- sha256 = "0fh3a07qv6fgxycba2yy02warz2lm2npps9118nkxq0qf8gnvinv";
+ version = "0.0.0.2";
+ sha256 = "012dy9jcxfhxxwzfc5iky491mdgcimz71cd236bshsppscyinzkn";
libraryHaskellDepends = [ base contravariant hashable intern ];
librarySystemDepends = [ ffi ];
description = "LibFFI interface with dynamic bidirectional type-driven binding generation";
license = stdenv.lib.licenses.publicDomain;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {ffi = null;};
"libgit" = callPackage
@@ -144442,6 +146770,20 @@ self: {
broken = true;
}) {};
+ "libmodbus" = callPackage
+ ({ mkDerivation, base, bytestring, data-default, modbus, vector }:
+ mkDerivation {
+ pname = "libmodbus";
+ version = "1.1.0";
+ sha256 = "0fhx0cda803sad7489dp09lrxhwwsbldssjq4jkaprnqjvhj32al";
+ libraryHaskellDepends = [ base bytestring data-default vector ];
+ librarySystemDepends = [ modbus ];
+ description = "Haskell bindings to the C modbus library";
+ license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {modbus = null;};
+
"libmolude" = callPackage
({ mkDerivation, aeson, base, base-unicode-symbols, binary
, bytestring, concurrent-machines, containers
@@ -144618,44 +146960,6 @@ self: {
}) {inherit (pkgs) postgresql;};
"libraft" = callPackage
- ({ mkDerivation, attoparsec, base, bytestring, cereal, concurrency
- , containers, dejafu, directory, exceptions, haskeline
- , hunit-dejafu, mtl, network, network-simple, parsec, protolude
- , QuickCheck, random, repline, stm, tasty, tasty-dejafu
- , tasty-discover, tasty-expected-failure, tasty-hunit
- , tasty-quickcheck, text, time, transformers, word8
- }:
- mkDerivation {
- pname = "libraft";
- version = "0.1.1.0";
- sha256 = "1kjrrpgci6f1wsb75xrndp7xx50xgw8fgh4f6l345wyy2xxlpj8c";
- revision = "1";
- editedCabalFile = "0bzfkay18wphlqfm0i6rmr7rm1d6s16nxvrmc4wp0szim1k9k0gh";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- attoparsec base bytestring cereal concurrency containers directory
- exceptions haskeline mtl network network-simple parsec protolude
- random repline text time transformers word8
- ];
- executableHaskellDepends = [
- attoparsec base bytestring cereal concurrency containers directory
- exceptions haskeline mtl network network-simple parsec protolude
- random repline stm text time transformers word8
- ];
- testHaskellDepends = [
- attoparsec base bytestring cereal concurrency containers dejafu
- directory exceptions haskeline hunit-dejafu mtl network
- network-simple parsec protolude QuickCheck random repline tasty
- tasty-dejafu tasty-discover tasty-expected-failure tasty-hunit
- tasty-quickcheck text time transformers word8
- ];
- testToolDepends = [ tasty-discover ];
- description = "Raft consensus algorithm";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "libraft_0_5_0_0" = callPackage
({ mkDerivation, async, atomic-write, attoparsec, base
, base16-bytestring, bytestring, cereal, concurrency, containers
, cryptohash-sha256, dejafu, directory, ekg, ekg-core, exceptions
@@ -144705,6 +147009,7 @@ self: {
description = "Raft consensus algorithm";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"librandomorg" = callPackage
@@ -144893,8 +147198,6 @@ self: {
libraryPkgconfigDepends = [ systemd ];
description = "Haskell bindings to libsystemd-journal";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {inherit (pkgs) systemd;};
"libtagc" = callPackage
@@ -144931,8 +147234,8 @@ self: {
({ mkDerivation, base, c2hs, libvirt, syb, unix }:
mkDerivation {
pname = "libvirt-hs";
- version = "0.2.1";
- sha256 = "02klbgyxsy5al0gmbq5g4p8vpna443kn7h8khnhglbddag6cgkdx";
+ version = "0.2.2";
+ sha256 = "1zrc7z0v3zarmbfhasv1mk2wcyhg8azhdpk7q4aayhrb9hcq3i0n";
libraryHaskellDepends = [ base syb unix ];
libraryPkgconfigDepends = [ libvirt ];
libraryToolDepends = [ c2hs ];
@@ -145074,6 +147377,20 @@ self: {
broken = true;
}) {};
+ "lie" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "lie";
+ version = "0.1.0.0";
+ sha256 = "1kvy0zsgwq2kgdbiz7z88q9d3ldhb9z9fb057x7mnhli7b3hd8fh";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base ];
+ executableHaskellDepends = [ base ];
+ description = "Lie Algebras";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"life" = callPackage
({ mkDerivation, array, base, GLUT, OpenGL, random }:
mkDerivation {
@@ -145524,23 +147841,25 @@ self: {
"line-bot-sdk" = callPackage
({ mkDerivation, aeson, aeson-qq, base, base64-bytestring
- , bytestring, cryptohash-sha256, errors, free, hspec
+ , bytestring, cryptohash-sha256, errors, exceptions, free, hspec
, hspec-expectations, hspec-wai, http-api-data, http-client
- , http-client-tls, http-types, scientific, servant, servant-client
- , servant-client-core, servant-server, string-conversions, text
- , time, transformers, wai, wai-extra, warp
+ , http-client-tls, http-types, monad-control, mtl, scientific
+ , servant, servant-client, servant-client-core, servant-server
+ , streaming, string-conversions, text, time, transformers
+ , transformers-base, wai, wai-extra, warp
}:
mkDerivation {
pname = "line-bot-sdk";
- version = "0.5.0.1";
- sha256 = "0d2a540dflyv3zjx9phs85qar1kpyl287f01hh8fxkp550wivfgg";
+ version = "0.5.0.2";
+ sha256 = "0b33z5h22mbzxa812phpi73nmilzyvdslh355802wv625br3ljq5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base base64-bytestring bytestring cryptohash-sha256 errors
- http-api-data http-client http-client-tls http-types scientific
- servant servant-client servant-client-core servant-server
- string-conversions text time transformers wai wai-extra
+ exceptions http-api-data http-client http-client-tls http-types
+ monad-control mtl scientific servant servant-client
+ servant-client-core servant-server streaming string-conversions
+ text time transformers transformers-base wai wai-extra
];
executableHaskellDepends = [
base servant servant-client servant-server time transformers wai
@@ -145554,6 +147873,8 @@ self: {
];
description = "Haskell SDK for LINE Messaging API";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"line-break" = callPackage
@@ -145569,6 +147890,18 @@ self: {
license = stdenv.lib.licenses.gpl3;
}) {};
+ "line-drawing" = callPackage
+ ({ mkDerivation, base, hspec }:
+ mkDerivation {
+ pname = "line-drawing";
+ version = "0.1.0.0";
+ sha256 = "19hdx810mraygd1li8bw9l3i18ygbzmyxsqkyvh6q90saayglr4f";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base hspec ];
+ description = "raster line drawing";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"line-size" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -145643,8 +147976,6 @@ self: {
testHaskellDepends = [ base doctest ];
description = "Lifting linear vector spaces into Accelerate";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"linear-algebra-cblas" = callPackage
@@ -145676,8 +148007,8 @@ self: {
}:
mkDerivation {
pname = "linear-circuit";
- version = "0.1.0.1";
- sha256 = "1pm2pvx9ds1x9cb85n9b2km6ypmqqv5d3rwxyyszy10vcymypns4";
+ version = "0.1.0.2";
+ sha256 = "0cf2lq8p2yppns8qn732drky8ghhd4ri9zxv7nbvas10ha0p19lm";
libraryHaskellDepends = [
base comfort-array comfort-graph containers lapack netlib-ffi
transformers utility-ht
@@ -145774,6 +148105,8 @@ self: {
testHaskellDepends = [ base hspec network tasty-hspec ];
description = "Typed sockets";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"linear-vect" = callPackage
@@ -145798,6 +148131,8 @@ self: {
libraryHaskellDepends = [ base sbv ];
description = "Use SMT solvers to solve linear systems over integers and rationals";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"linearmap-category" = callPackage
@@ -145810,8 +148145,8 @@ self: {
pname = "linearmap-category";
version = "0.3.5.0";
sha256 = "0qmd0nz343j3j3kprbhwfkglcswfcawfy0y6g4ai6nzdga42nfrf";
- revision = "1";
- editedCabalFile = "15yqlsx8wdp8lxkr8pgr1cfrjpy5v1zsgpi584bcd7szwm76mmsw";
+ revision = "3";
+ editedCabalFile = "0b4m77csdsi5wgvbclza2arps5s0xgg0iibiy8kwax55ml04kkvp";
libraryHaskellDepends = [
base call-stack constrained-categories containers
free-vector-spaces ieee754 lens linear manifolds-core semigroups
@@ -145884,6 +148219,25 @@ self: {
broken = true;
}) {};
+ "lingo" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, containers, directory
+ , filepath, hspec, raw-strings-qq, text, yaml
+ }:
+ mkDerivation {
+ pname = "lingo";
+ version = "0.1.0.1";
+ sha256 = "1yany2pi06yvkmgz808gji6yk9v0wbl5vnaijhb8vqd152zmmzb4";
+ setupHaskellDepends = [
+ base bytestring Cabal containers directory filepath text yaml
+ ];
+ libraryHaskellDepends = [
+ base bytestring containers filepath raw-strings-qq text yaml
+ ];
+ testHaskellDepends = [ base hspec ];
+ description = "File extension based programming language detection";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"linguistic-ordinals" = callPackage
({ mkDerivation, base, text }:
mkDerivation {
@@ -146007,6 +148361,69 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "linnet" = callPackage
+ ({ mkDerivation, base, bytestring, bytestring-conversion
+ , case-insensitive, either, exceptions, hspec, http-media
+ , http-types, mtl, QuickCheck, quickcheck-classes
+ , quickcheck-instances, text, time, transformers, uri-encode, wai
+ , warp
+ }:
+ mkDerivation {
+ pname = "linnet";
+ version = "0.4.0.0";
+ sha256 = "0k64pnzs13rc68h4qpn0kd3qm3hsyzgd8d8r96vak8a0pbjkzgrq";
+ libraryHaskellDepends = [
+ base bytestring bytestring-conversion case-insensitive either
+ exceptions http-media http-types mtl text time transformers
+ uri-encode wai warp
+ ];
+ testHaskellDepends = [
+ base bytestring bytestring-conversion case-insensitive either
+ exceptions hspec http-media http-types mtl QuickCheck
+ quickcheck-classes quickcheck-instances text time transformers
+ uri-encode wai warp
+ ];
+ description = "Lightweight library for building HTTP API";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
+ "linnet-aeson" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, hspec, linnet, QuickCheck
+ , quickcheck-classes, quickcheck-instances, text
+ }:
+ mkDerivation {
+ pname = "linnet-aeson";
+ version = "0.4.0.0";
+ sha256 = "1rpc3i32vywvhfndg9p3rd5qy1m1fv0zqxbhdyp36c8awm1q5086";
+ libraryHaskellDepends = [ aeson base bytestring linnet ];
+ testHaskellDepends = [
+ aeson base bytestring hspec linnet QuickCheck quickcheck-classes
+ quickcheck-instances text
+ ];
+ description = "Aeson JSON support for Linnet";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
+ "linnet-conduit" = callPackage
+ ({ mkDerivation, base, bytestring, conduit, hspec, http-types
+ , linnet, QuickCheck, quickcheck-classes, quickcheck-instances, wai
+ , warp
+ }:
+ mkDerivation {
+ pname = "linnet-conduit";
+ version = "0.4.0.0";
+ sha256 = "1a29sahlmhl8k6xqyfm9ixf64k2x0k631z5jixvg1x1s6xpq3hyi";
+ libraryHaskellDepends = [
+ base bytestring conduit http-types linnet wai warp
+ ];
+ testHaskellDepends = [
+ base bytestring conduit hspec http-types linnet QuickCheck
+ quickcheck-classes quickcheck-instances wai warp
+ ];
+ description = "Conduit-backed support for streaming in Linnet";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
"linode" = callPackage
({ mkDerivation, aeson, async, base, binary, bytestring, containers
, errors, lens, process, retry, safe, tasty, tasty-hunit
@@ -146026,6 +148443,8 @@ self: {
];
description = "Bindings to the Linode API";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"linode-v4" = callPackage
@@ -146423,12 +148842,14 @@ self: {
}) {inherit (pkgs) z3;};
"liquidhaskell-cabal" = callPackage
- ({ mkDerivation, base, Cabal, filepath }:
+ ({ mkDerivation, base, Cabal, directory, filepath }:
mkDerivation {
pname = "liquidhaskell-cabal";
- version = "0.2.0.0";
- sha256 = "1kxdl46m4fzv9d1c74b4xqgbw4qqah4sm4z296kb5cz2fmij4hmk";
- libraryHaskellDepends = [ base Cabal filepath ];
+ version = "0.2.1.0";
+ sha256 = "1150y4dqdg735jysyak4nfrc0lbmk94mwf6dw5s9lsp73pq6gy9n";
+ revision = "1";
+ editedCabalFile = "0c76lchw32dzfn8q4qckxqjzcnw909x7niiwlzadas8mv9p93ybl";
+ libraryHaskellDepends = [ base Cabal directory filepath ];
description = "Liquid Haskell integration for Cabal and Stack";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -146437,17 +148858,16 @@ self: {
({ mkDerivation, base, Cabal, liquidhaskell-cabal }:
mkDerivation {
pname = "liquidhaskell-cabal-demo";
- version = "0.2.0.1";
- sha256 = "0pwmdzdkidrbz8sgx0qs9kq4i5jrb7nlrlhjkp7v4lb1wr7vgjy9";
+ version = "0.2.1.1";
+ sha256 = "11k2j13gclnmj0ky8pd7cgzps8ip8gygkj25gnbrg7kqj5jbvj5x";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal liquidhaskell-cabal ];
libraryHaskellDepends = [ base liquidhaskell-cabal ];
executableHaskellDepends = [ base liquidhaskell-cabal ];
- description = "Demo of Liquid Haskell integration for Cabal and stack";
- license = stdenv.lib.licenses.bsd3;
+ description = "Demo of Liquid Haskell integration for Cabal and Stack";
+ license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"lispparser" = callPackage
@@ -146560,6 +148980,17 @@ self: {
broken = true;
}) {};
+ "list-singleton" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "list-singleton";
+ version = "1.0.0.2";
+ sha256 = "0nl363fr751s2jlvkql96pdj5kvkzz3h0kbd02y5vqc3r13pchaq";
+ libraryHaskellDepends = [ base ];
+ description = "Easily and clearly create lists with only one element in them";
+ license = stdenv.lib.licenses.isc;
+ }) {};
+
"list-t" = callPackage
({ mkDerivation, base, base-prelude, HTF, mmorph, monad-control
, mtl, mtl-prelude, transformers, transformers-base
@@ -146679,8 +149110,8 @@ self: {
({ mkDerivation, base, doctest, mtl }:
mkDerivation {
pname = "list-transformer";
- version = "1.0.4";
- sha256 = "0zia1b2phk4skv39q2k481jsagz1syd6rkgfcdra15i2s5dhzvyp";
+ version = "1.0.5";
+ sha256 = "192yx9y0sp729dk9xaym1b6kyw9gv7n3fp1dvxw7z2w04s92l1k4";
libraryHaskellDepends = [ base mtl ];
testHaskellDepends = [ base doctest ];
description = "List monad transformer";
@@ -146706,16 +149137,38 @@ self: {
}) {};
"list-witnesses" = callPackage
- ({ mkDerivation, base, decidable, profunctors, singletons, vinyl }:
+ ({ mkDerivation, base, decidable, microlens, profunctors
+ , singletons, vinyl
+ }:
mkDerivation {
pname = "list-witnesses";
- version = "0.1.1.0";
- sha256 = "16dlyk9hxz5fbsj726w1sgindryhyhsgvhs37zqygwmfzvqdbasd";
+ version = "0.1.1.1";
+ sha256 = "13h5gckpysf4p5wjfnq7l5v66rmxi3i9cmykf18ld3hnilgd7wa7";
libraryHaskellDepends = [
- base decidable profunctors singletons vinyl
+ base decidable microlens profunctors singletons vinyl
];
description = "Witnesses for working with type-level lists";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "list-witnesses_0_1_3_2" = callPackage
+ ({ mkDerivation, base, decidable, functor-products, microlens
+ , profunctors, singletons, vinyl
+ }:
+ mkDerivation {
+ pname = "list-witnesses";
+ version = "0.1.3.2";
+ sha256 = "1hzm8ijx8id5ij199dg362ai1wmdrs8mr10qkv57639hv61almyq";
+ libraryHaskellDepends = [
+ base decidable functor-products microlens profunctors singletons
+ vinyl
+ ];
+ description = "Witnesses for working with type-level lists";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"list-zip-def" = callPackage
@@ -146840,6 +149293,8 @@ self: {
];
description = "Append only key-list database";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"lit" = callPackage
@@ -147093,17 +149548,17 @@ self: {
}) {};
"llvm-extra" = callPackage
- ({ mkDerivation, base, bifunctors, bool8, containers, cpuid
- , llvm-tf, non-empty, tfp, transformers, unsafe, utility-ht
+ ({ mkDerivation, base, bool8, containers, cpuid, llvm-tf, non-empty
+ , prelude-compat, tfp, transformers, unsafe, utility-ht
}:
mkDerivation {
pname = "llvm-extra";
- version = "0.8.0.1";
- sha256 = "0hnad3cqrvaijnczjy0krbf0szxf0573c5g37746xspwsjy42srd";
+ version = "0.8.0.3";
+ sha256 = "1cqxfrjhfgliwxjgbmjkbpcy4dlv0fwwqzdd9jd8fiq96njfqfvp";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bifunctors bool8 containers cpuid llvm-tf non-empty tfp
+ base bool8 containers cpuid llvm-tf non-empty prelude-compat tfp
transformers unsafe utility-ht
];
description = "Utility functions for the llvm interface";
@@ -147113,20 +149568,20 @@ self: {
}) {};
"llvm-ffi" = callPackage
- ({ mkDerivation, base, enumset, llvm }:
+ ({ mkDerivation, base, enumset, LLVM }:
mkDerivation {
pname = "llvm-ffi";
- version = "3.8.1";
- sha256 = "1j949vdscz7rcblfm1bz73dq347y7a16zmjyq2jvy7rx0f1aydnn";
+ version = "3.8.1.1";
+ sha256 = "1l74yyxgi3ndj9ffjk46wnzifgcn39gj19h9rcsbb8zvbcxw0lw6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base enumset ];
- libraryPkgconfigDepends = [ llvm ];
+ librarySystemDepends = [ LLVM ];
description = "FFI bindings to the LLVM compiler toolkit";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (self.llvmPackages) llvm;};
+ }) {LLVM = null;};
"llvm-ffi-tools" = callPackage
({ mkDerivation, base, bytestring, containers, regex-posix
@@ -147244,8 +149699,33 @@ self: {
];
description = "General purpose LLVM bindings";
license = stdenv.lib.licenses.bsd3;
+ }) {llvm-config = null;};
+
+ "llvm-hs_9_0_0" = callPackage
+ ({ mkDerivation, array, attoparsec, base, bytestring, Cabal
+ , containers, exceptions, llvm-config, llvm-hs-pure, mtl
+ , pretty-show, process, QuickCheck, tasty, tasty-hunit
+ , tasty-quickcheck, template-haskell, temporary, transformers
+ , utf8-string
+ }:
+ mkDerivation {
+ pname = "llvm-hs";
+ version = "9.0.0";
+ sha256 = "0sz1rhdf73v43jz8x7f5f7bjwrkvyyvf950gw9063aapbsdzm76h";
+ setupHaskellDepends = [ base Cabal containers ];
+ libraryHaskellDepends = [
+ array attoparsec base bytestring containers exceptions llvm-hs-pure
+ mtl template-haskell transformers utf8-string
+ ];
+ libraryToolDepends = [ llvm-config ];
+ testHaskellDepends = [
+ base bytestring containers llvm-hs-pure mtl pretty-show process
+ QuickCheck tasty tasty-hunit tasty-quickcheck temporary
+ transformers
+ ];
+ description = "General purpose LLVM bindings";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {llvm-config = null;};
"llvm-hs-pretty" = callPackage
@@ -147255,8 +149735,8 @@ self: {
}:
mkDerivation {
pname = "llvm-hs-pretty";
- version = "0.6.1.0";
- sha256 = "12w1rkkaf50jl2vdkyk4xpvjmsxzjbfkdyklaq5p6b8ykw872pda";
+ version = "0.6.2.0";
+ sha256 = "0inljys97b3vmb0006p75kzsm922w1r9721df2h7nfqp0in28c14";
libraryHaskellDepends = [
array base bytestring llvm-hs-pure prettyprinter text
];
@@ -147277,8 +149757,8 @@ self: {
}:
mkDerivation {
pname = "llvm-hs-pure";
- version = "7.0.0";
- sha256 = "1b82cin889qkyp9qv5p3yk7wq7ibnx2v9pk0mpvk6k9ca7fpr7dg";
+ version = "8.0.0";
+ sha256 = "1srlac1vdpxddvbf560npxhldkq27hkxwb2lg4qdwvks55l38nfc";
libraryHaskellDepends = [
attoparsec base bytestring containers fail mtl template-haskell
transformers unordered-containers
@@ -147290,15 +149770,15 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "llvm-hs-pure_8_0_0" = callPackage
+ "llvm-hs-pure_9_0_0" = callPackage
({ mkDerivation, attoparsec, base, bytestring, containers, fail
, mtl, tasty, tasty-hunit, tasty-quickcheck, template-haskell
, transformers, unordered-containers
}:
mkDerivation {
pname = "llvm-hs-pure";
- version = "8.0.0";
- sha256 = "1srlac1vdpxddvbf560npxhldkq27hkxwb2lg4qdwvks55l38nfc";
+ version = "9.0.0";
+ sha256 = "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf";
libraryHaskellDepends = [
attoparsec base bytestring containers fail mtl template-haskell
transformers unordered-containers
@@ -147551,8 +150031,8 @@ self: {
}:
mkDerivation {
pname = "load-env";
- version = "0.2.0.2";
- sha256 = "063zd2nbwbyndfy1hrir9x270f99wzbyarfj561r9dddak2754w1";
+ version = "0.2.1.0";
+ sha256 = "184l0km1i6rfliq9nsj9p67ynsx6nlq466hf056lbgmrzvx6vv73";
libraryHaskellDepends = [ base directory filepath parsec ];
testHaskellDepends = [
base directory doctest hspec parsec temporary
@@ -147856,24 +150336,6 @@ self: {
}) {};
"log-base" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, base, bytestring, deepseq
- , exceptions, mmorph, monad-control, monad-time, mtl, semigroups
- , stm, text, time, transformers-base, unordered-containers
- }:
- mkDerivation {
- pname = "log-base";
- version = "0.7.4.0";
- sha256 = "06rzvh3g294hpwpxw2syvywrw3rms1chjxqhki8b97ml1nlfnrs0";
- libraryHaskellDepends = [
- aeson aeson-pretty base bytestring deepseq exceptions mmorph
- monad-control monad-time mtl semigroups stm text time
- transformers-base unordered-containers
- ];
- description = "Structured logging solution (base package)";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "log-base_0_8_0_0" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, deepseq
, exceptions, mmorph, monad-control, monad-time, mtl, semigroups
, stm, text, time, transformers-base, unliftio-core
@@ -147890,7 +150352,6 @@ self: {
];
description = "Structured logging solution (base package)";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"log-domain" = callPackage
@@ -148072,6 +150533,33 @@ self: {
broken = true;
}) {};
+ "log4hs" = callPackage
+ ({ mkDerivation, aeson, aeson-qq, base, containers, criterion
+ , data-default, directory, filepath, generic-lens, hspec
+ , hspec-core, lens, process, QuickCheck, template-haskell, text
+ , time
+ }:
+ mkDerivation {
+ pname = "log4hs";
+ version = "0.1.0.0";
+ sha256 = "12crsq6gxhvamsn9ks3qn2r7aihf92aw1fcvck2wzjw9vps0y3ra";
+ libraryHaskellDepends = [
+ aeson base containers data-default directory filepath generic-lens
+ lens template-haskell text time
+ ];
+ testHaskellDepends = [
+ aeson aeson-qq base containers data-default directory filepath
+ generic-lens hspec hspec-core lens process QuickCheck
+ template-haskell text time
+ ];
+ benchmarkHaskellDepends = [
+ aeson aeson-qq base containers criterion data-default directory
+ filepath generic-lens lens template-haskell text time
+ ];
+ description = "A python logging style log library";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"logentries" = callPackage
({ mkDerivation, base, bytestring, data-default, fast-logger, hspec
, network, stm, uuid-types, wai, wai-extra
@@ -148272,8 +150760,6 @@ self: {
];
description = "Journald back-end for logging-facade";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"logging-facade-syslog" = callPackage
@@ -148343,12 +150829,13 @@ self: {
}) {};
"logict" = callPackage
- ({ mkDerivation, base, mtl }:
+ ({ mkDerivation, base, mtl, tasty, tasty-hunit }:
mkDerivation {
pname = "logict";
- version = "0.6.0.3";
- sha256 = "1a3sqws8bc55a7sxkl406a69ls75l60syv20b5rmkd30nbdisryh";
+ version = "0.7.0.2";
+ sha256 = "1xfgdsxg0lp8m0a2cb83rcxrnnc37asfikay2kydi933anh9ihfc";
libraryHaskellDepends = [ base mtl ];
+ testHaskellDepends = [ base mtl tasty tasty-hunit ];
description = "A backtracking logic-programming monad";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -148688,8 +151175,8 @@ self: {
pname = "long-double";
version = "0.1";
sha256 = "072yfv1kv83k8qc9apks2czr9p6znk46bbbjmsdbcpzyb8byh64j";
- revision = "1";
- editedCabalFile = "12vmzzrxgb4yqf9axf1fildl4m0dfm3zqxk4vg6k6m5qi6haz1yn";
+ revision = "2";
+ editedCabalFile = "03x83ycib19k2lmd3spwq2zmylfl5ihammb406fxxqqbyv4jw1mg";
libraryHaskellDepends = [ base integer-gmp ];
description = "FFI bindings for C long double";
license = stdenv.lib.licenses.bsd3;
@@ -148766,6 +151253,23 @@ self: {
broken = true;
}) {};
+ "loopbreaker" = callPackage
+ ({ mkDerivation, base, containers, ghc, hspec, hspec-discover
+ , inspection-testing, syb
+ }:
+ mkDerivation {
+ pname = "loopbreaker";
+ version = "0.1.1.0";
+ sha256 = "1hyw750r0kwyj5hb424dcxh2m11p7k694dfhgd2vadnqn80g0w5s";
+ libraryHaskellDepends = [ base containers ghc syb ];
+ testHaskellDepends = [
+ base containers ghc hspec inspection-testing syb
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "inline self-recursive definitions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"looper" = callPackage
({ mkDerivation, aeson, base, hspec, optparse-applicative, text
, time, unliftio
@@ -148976,8 +151480,8 @@ self: {
}:
mkDerivation {
pname = "lp-diagrams";
- version = "2.1.0";
- sha256 = "1gipdhbnyb7sll30ffcl42k8rqqwphi970ls7rn2g98yb39jk498";
+ version = "2.1.1";
+ sha256 = "0dynm0kib4lgyz00gbg4gi0ds5cgpbdx40davk53cknwxv7icri0";
libraryHaskellDepends = [
base containers gasp graphviz labeled-tree lens mtl parsek
polynomials-bernstein process reflection text typography-geometry
@@ -149029,8 +151533,8 @@ self: {
pname = "lrucaching";
version = "0.3.3";
sha256 = "192a2zap1bmxa2y48n48rmngf18fr8k0az4a230hziv3g795yzma";
- revision = "8";
- editedCabalFile = "11ad87kg09s9md9lqzhbcw19kmzvii4v97nw49q0wb0rs0qizpki";
+ revision = "9";
+ editedCabalFile = "0rzrj9ziwly33lhkamf9rkrc3jqhid3adl0dv9621n4zzd6dnkb6";
libraryHaskellDepends = [
base base-compat deepseq hashable psqueues vector
];
@@ -149081,21 +151585,21 @@ self: {
}) {};
"lsp-test" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, base
+ ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
, bytestring, conduit, conduit-parse, containers, data-default
, Diff, directory, filepath, haskell-lsp, hspec, lens, mtl
- , parser-combinators, process, text, transformers, unix
- , unordered-containers, yi-rope
+ , parser-combinators, process, rope-utf16-splay, text, transformers
+ , unix, unordered-containers
}:
mkDerivation {
pname = "lsp-test";
- version = "0.5.1.2";
- sha256 = "1fc58krsm2q92azkcq57xdj7ngqvkqbvngjcr3plf0793xdarxj8";
+ version = "0.6.1.0";
+ sha256 = "195p9m4992l01k8xsc8yxwsx3g74xfn6rdi00bwlzxw4ijy06lfi";
libraryHaskellDepends = [
- aeson aeson-pretty ansi-terminal base bytestring conduit
+ aeson aeson-pretty ansi-terminal async base bytestring conduit
conduit-parse containers data-default Diff directory filepath
- haskell-lsp lens mtl parser-combinators process text transformers
- unix unordered-containers yi-rope
+ haskell-lsp lens mtl parser-combinators process rope-utf16-splay
+ text transformers unix unordered-containers
];
testHaskellDepends = [
aeson base data-default haskell-lsp hspec lens text
@@ -149107,8 +151611,8 @@ self: {
broken = true;
}) {};
- "lsp-test_0_5_2_3" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, base
+ "lsp-test_0_7_0_0" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base
, bytestring, conduit, conduit-parse, containers, data-default
, Diff, directory, filepath, haskell-lsp, hspec, lens, mtl
, parser-combinators, process, rope-utf16-splay, text, transformers
@@ -149116,10 +151620,10 @@ self: {
}:
mkDerivation {
pname = "lsp-test";
- version = "0.5.2.3";
- sha256 = "1l4fdmqm6mvjpyz8imnf5q52pcls0jg5fqsxhkmj7ywnam66xfrk";
+ version = "0.7.0.0";
+ sha256 = "1lm299gbahrnwfrprhhpzxrmjljj33pps1gzz2wzmp3m9gzl1dx5";
libraryHaskellDepends = [
- aeson aeson-pretty ansi-terminal base bytestring conduit
+ aeson aeson-pretty ansi-terminal async base bytestring conduit
conduit-parse containers data-default Diff directory filepath
haskell-lsp lens mtl parser-combinators process rope-utf16-splay
text transformers unix unordered-containers
@@ -149355,6 +151859,8 @@ self: {
pname = "lucid";
version = "2.9.11";
sha256 = "13xz21hf9ywbyqwm33z8pfrjq03rzffhqswi30xsi13rrawj99cc";
+ revision = "1";
+ editedCabalFile = "10k3x9cn4a23kqk909xiv8phkfgagf7p16qlfpr9swn1dn4xasgf";
libraryHaskellDepends = [
base blaze-builder bytestring containers hashable mmorph mtl text
transformers unordered-containers
@@ -149381,24 +151887,6 @@ self: {
}) {};
"lucid-extras" = callPackage
- ({ mkDerivation, aeson, base, blaze-builder, bytestring, directory
- , lucid, text
- }:
- mkDerivation {
- pname = "lucid-extras";
- version = "0.1.0.1";
- sha256 = "0wyb5pqhphfckmzpnl0xp6fy8fmnwqjqim3h3f3sdjqkqdly5iaw";
- revision = "1";
- editedCabalFile = "030mj3yddbia6dkbl8d6mssi42l3z8gs79z50r78gwiif6mh5dny";
- libraryHaskellDepends = [
- aeson base blaze-builder bytestring lucid text
- ];
- testHaskellDepends = [ base directory lucid ];
- description = "Generate more HTML with Lucid";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "lucid-extras_0_2_2" = callPackage
({ mkDerivation, aeson, base, blaze-builder, bytestring, directory
, lucid, text
}:
@@ -149412,7 +151900,6 @@ self: {
testHaskellDepends = [ base directory lucid ];
description = "Generate more HTML with Lucid - Bootstrap, Rdash, Vega-Lite, Leaflet JS, Email";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"lucid-foundation" = callPackage
@@ -149442,8 +151929,6 @@ self: {
];
description = "DSL for SVG using lucid for HTML";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"lucienne" = callPackage
@@ -149793,8 +152278,8 @@ self: {
pname = "lzma";
version = "0.0.0.3";
sha256 = "0i416gqi8j55nd1pqbkxvf3f6hn6fjys6gq98lkkxphva71j30xg";
- revision = "3";
- editedCabalFile = "1sify6gnsalyp6dakfzi0mdy5jcz2kcp9jsdsgkmxd40nfzgd44m";
+ revision = "4";
+ editedCabalFile = "0f3zrjq4zxwacmlc934y873pvlqpmmcmhzhp34d8pvhi5c7dg47j";
libraryHaskellDepends = [ base bytestring ];
librarySystemDepends = [ lzma ];
testHaskellDepends = [
@@ -149998,6 +152483,8 @@ self: {
pname = "machines";
version = "0.6.4";
sha256 = "0s3pvdklanw6a41pyyqrplm3vid63dpy6vd6qhp86dnb4wp2ppkj";
+ revision = "2";
+ editedCabalFile = "1h0qq6kxv4kc0j0rmx7rhwhvfg1hc08r10q152km4p8kgshcwlig";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
adjunctions base comonad containers distributive mtl pointed
@@ -150206,6 +152693,8 @@ self: {
];
description = "An API client library for Mackerel";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"maclight" = callPackage
@@ -150333,6 +152822,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {inherit (pkgs) file;};
+ "magic-tyfams" = callPackage
+ ({ mkDerivation, base, ghc, ghc-tcplugins-extra, syb }:
+ mkDerivation {
+ pname = "magic-tyfams";
+ version = "0.1.1.0";
+ sha256 = "1vgbbmv2807cyi6hh2137nw6dldn84qall828d64lg2ja6zj6xii";
+ libraryHaskellDepends = [ base ghc ghc-tcplugins-extra syb ];
+ description = "Write plugins for magic type families with ease";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"magic-wormhole" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, cryptonite
, hashable, hedgehog, memory, network, network-uri
@@ -150342,8 +152842,8 @@ self: {
}:
mkDerivation {
pname = "magic-wormhole";
- version = "0.3.2";
- sha256 = "1fn9z92ckyq1zl7n83v8qcaawmgy4zbjjwihhy117m7nh4cl38hk";
+ version = "0.3.3";
+ sha256 = "1wsm7y05k8byxizkmkyl7bciyz6f3jwxiwqc0gvsqi31kkqajxqn";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -150403,8 +152903,8 @@ self: {
}:
mkDerivation {
pname = "magico";
- version = "0.0.2";
- sha256 = "0hm160w9d89qhfzq84mpb6gm6586pcxdwa7njxww21g6b0l49qmw";
+ version = "0.0.2.1";
+ sha256 = "1kcqa7xcz378q6v8aypg3ngcmiwj5c730n58rnfi3ywwl01l0x4x";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -150474,6 +152974,30 @@ self: {
broken = true;
}) {};
+ "mail-pool" = callPackage
+ ({ mkDerivation, base, HaskellNet, HaskellNet-SSL, microlens
+ , mime-mail, network, optparse-applicative, resource-pool, time
+ }:
+ mkDerivation {
+ pname = "mail-pool";
+ version = "2.1.0";
+ sha256 = "1cjl7y6djiwr94h6vhrmwjv381xp89y8hv1zmbzz8fy0dywsiyiz";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base HaskellNet HaskellNet-SSL microlens mime-mail network
+ optparse-applicative resource-pool time
+ ];
+ executableHaskellDepends = [
+ base HaskellNet HaskellNet-SSL microlens mime-mail network
+ optparse-applicative resource-pool time
+ ];
+ description = "Preconfigured email connection pool on top of smtp";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"mailbox-count" = callPackage
({ mkDerivation, base, cmdargs, configurator, containers, directory
, doctest, filemanip, filepath, HDBC, HDBC-postgresql, HDBC-sqlite3
@@ -151185,8 +153709,8 @@ self: {
}:
mkDerivation {
pname = "mandrill";
- version = "0.5.3.5";
- sha256 = "0yh7r3wrzpzm3iv0zvs6nzf36hwv0y7xlsz6cy3dlnyrr5jbsb1i";
+ version = "0.5.3.6";
+ sha256 = "1jvgxhc3x7867cryvsbpj7hks9syhpqbwyh4y0v6b0yp0xil8qrl";
libraryHaskellDepends = [
aeson base base64-bytestring blaze-html bytestring containers
email-validate http-client http-client-tls http-types microlens-th
@@ -151268,8 +153792,8 @@ self: {
}:
mkDerivation {
pname = "manifold-random";
- version = "0.5.0.2";
- sha256 = "073bqcsv09ckgdcpimq2siggh79wf8g070w05jdzmi7pvds9ys2g";
+ version = "0.5.0.3";
+ sha256 = "12k5h3r6wnqjy5vzia3hypwjrh953cc5n912k1rfdwm4m4pznq03";
libraryHaskellDepends = [
base constrained-categories linearmap-category manifolds random-fu
semigroups vector-space
@@ -151291,8 +153815,10 @@ self: {
}:
mkDerivation {
pname = "manifolds";
- version = "0.5.0.2";
- sha256 = "07jv4qvjxc1hhlvy95r3wmb9f4zlifiixjy5vhj7s02lkdpyd7xb";
+ version = "0.5.0.3";
+ sha256 = "16g0xfs99xcccyngknplgmargz4y4ncfw0wjm7sinjcrfd7js9fb";
+ revision = "2";
+ editedCabalFile = "0l76g7aqjfpp8s9wxdap4lhp3m06hfghz9lgdkr5nfjx60bgy69x";
libraryHaskellDepends = [
array base binary call-stack comonad constrained-categories
containers deepseq free free-vector-spaces ieee754 lens linear
@@ -151315,13 +153841,11 @@ self: {
({ mkDerivation, base, call-stack, tagged, vector-space }:
mkDerivation {
pname = "manifolds-core";
- version = "0.5.0.2";
- sha256 = "1i2a9nz3v19v155pjhvqwzcsnd9iqv9p28s98ms09fnjb7j1i954";
+ version = "0.5.0.3";
+ sha256 = "1r459qjbdqygxplv06bnqrysfl0xvmx5i7jkwgah1blpmipr4nwz";
libraryHaskellDepends = [ base call-stack tagged vector-space ];
description = "The basic classes for the manifolds hierarchy";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"map-classes" = callPackage
@@ -151429,6 +153953,8 @@ self: {
];
description = "Efficient, polymorphic Map Algebra";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"mappy" = callPackage
@@ -151656,6 +154182,8 @@ self: {
testToolDepends = [ tasty-discover ];
description = "Computations for Markov chain usage models";
license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"markov-processes" = callPackage
@@ -151676,6 +154204,20 @@ self: {
broken = true;
}) {};
+ "markov-realization" = callPackage
+ ({ mkDerivation, base, comonad, HTF, MonadRandom }:
+ mkDerivation {
+ pname = "markov-realization";
+ version = "0.3.2";
+ sha256 = "08zsqpsklffp26ccrqf3kja2x5p8njn9vpy24ysha01f4j9y7has";
+ libraryHaskellDepends = [ base comonad MonadRandom ];
+ testHaskellDepends = [ base HTF ];
+ description = "Realizations of Markov chains";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"markup" = callPackage
({ mkDerivation, attoparsec-uri, base, blaze-html, blaze-markup
, clay, comonad, lucid, mmorph, monad-control, monad-logger, mtl
@@ -151860,8 +154402,8 @@ self: {
}:
mkDerivation {
pname = "marxup";
- version = "3.1.0.0";
- sha256 = "0bszb1czqm7pvz8m24z06irzfrw4ch8bm8g59apdgvmp8y0yvp91";
+ version = "3.1.1.0";
+ sha256 = "0b22mf14qajkpf7hlm6086d951g0wgihlyiw93m0nh4yl1kmgf5q";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -151903,48 +154445,28 @@ self: {
}) {};
"massiv" = callPackage
- ({ mkDerivation, base, bytestring, data-default, data-default-class
- , deepseq, ghc-prim, hspec, primitive, QuickCheck, safe-exceptions
- , vector
+ ({ mkDerivation, base, bytestring, Cabal, cabal-doctest
+ , data-default-class, deepseq, doctest, exceptions
+ , mersenne-random-pure64, primitive, QuickCheck, random, scheduler
+ , splitmix, template-haskell, unliftio-core, vector
}:
mkDerivation {
pname = "massiv";
- version = "0.2.8.0";
- sha256 = "01z57p6byvrrbl9hhr1jq90kpb823kjfbq0inhvmjjbcnbngqrf3";
- libraryHaskellDepends = [
- base bytestring data-default-class deepseq ghc-prim primitive
- vector
- ];
- testHaskellDepends = [
- base bytestring data-default deepseq hspec QuickCheck
- safe-exceptions vector
- ];
- description = "Massiv (Массив) is an Array Library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "massiv_0_3_2_0" = callPackage
- ({ mkDerivation, async, base, bytestring, Cabal, cabal-doctest
- , containers, data-default, data-default-class, deepseq, doctest
- , exceptions, hspec, primitive, QuickCheck, scheduler
- , template-haskell, unliftio, unliftio-core, vector
- }:
- mkDerivation {
- pname = "massiv";
- version = "0.3.2.0";
- sha256 = "0cap5rxy3d301ci1ysh4d0y3k4smgx6w4s7ngqkzdbw17fk74iam";
+ version = "0.4.1.0";
+ sha256 = "0h6rr5fx3kj5qs30zyfzmmvqnwn43fl4smjfd7qx4fhp48bq89nw";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
base bytestring data-default-class deepseq exceptions primitive
scheduler unliftio-core vector
];
testHaskellDepends = [
- async base bytestring containers data-default deepseq doctest hspec
- QuickCheck template-haskell unliftio vector
+ base doctest mersenne-random-pure64 QuickCheck random splitmix
+ template-haskell
];
description = "Massiv (Массив) is an Array Library";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"massiv-io" = callPackage
@@ -151961,6 +154483,26 @@ self: {
];
description = "Import/export of Image files into massiv Arrays";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "massiv-io_0_1_7_0" = callPackage
+ ({ mkDerivation, base, bytestring, data-default-class, deepseq
+ , directory, filepath, JuicyPixels, massiv, netpbm, process, vector
+ }:
+ mkDerivation {
+ pname = "massiv-io";
+ version = "0.1.7.0";
+ sha256 = "0w3yffkrsjkgfqdfmhq42am2hpmkblnfg0prifr2ja5pfwr02l5c";
+ libraryHaskellDepends = [
+ base bytestring data-default-class deepseq directory filepath
+ JuicyPixels massiv netpbm process vector
+ ];
+ description = "Import/export of Image files into massiv Arrays";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"massiv-scheduler" = callPackage
@@ -151983,6 +154525,29 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "massiv-test" = callPackage
+ ({ mkDerivation, base, bytestring, containers, data-default
+ , data-default-class, deepseq, exceptions, genvalidity-hspec, hspec
+ , massiv, primitive, QuickCheck, scheduler, unliftio, vector
+ }:
+ mkDerivation {
+ pname = "massiv-test";
+ version = "0.1.0";
+ sha256 = "08rs0j773c3jxnj6akh8gaywfz2g10w1ddmcqpkci5bqqjmqqf85";
+ libraryHaskellDepends = [
+ base bytestring data-default-class deepseq exceptions hspec massiv
+ primitive QuickCheck scheduler unliftio vector
+ ];
+ testHaskellDepends = [
+ base bytestring containers data-default deepseq genvalidity-hspec
+ hspec massiv QuickCheck scheduler vector
+ ];
+ description = "Library that contains generators, properties and tests for Massiv Array Library";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"master-plan" = callPackage
({ mkDerivation, base, diagrams, diagrams-lib, diagrams-rasterific
, hspec, megaparsec, mtl, optparse-applicative, QuickCheck
@@ -152054,6 +154619,8 @@ self: {
testHaskellDepends = [ base containers matchable ];
description = "Generates Matchable instances using TemplateHaskell";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"matcher" = callPackage
@@ -152092,8 +154659,8 @@ self: {
}:
mkDerivation {
pname = "math-functions";
- version = "0.3.1.0";
- sha256 = "0mb61yn7faxhpj5d6w5dzgawz2hbjbdqbxz3dkw4855r1bnfnh1k";
+ version = "0.3.2.0";
+ sha256 = "1798n8x3w3x4s058dph18g11k2hm7vcxkbr2rb2snlksjr59c2wa";
libraryHaskellDepends = [
base data-default-class deepseq primitive vector vector-th-unbox
];
@@ -152106,6 +154673,28 @@ self: {
license = stdenv.lib.licenses.bsd2;
}) {};
+ "math-functions_0_3_2_1" = callPackage
+ ({ mkDerivation, base, data-default-class, deepseq, erf, HUnit
+ , primitive, QuickCheck, test-framework, test-framework-hunit
+ , test-framework-quickcheck2, vector, vector-th-unbox
+ }:
+ mkDerivation {
+ pname = "math-functions";
+ version = "0.3.2.1";
+ sha256 = "1d1zgc9y3pgahpkn2vgzc2vh412z54i03gw98s95jpqclvl7fyck";
+ libraryHaskellDepends = [
+ base data-default-class deepseq primitive vector vector-th-unbox
+ ];
+ testHaskellDepends = [
+ base data-default-class deepseq erf HUnit primitive QuickCheck
+ test-framework test-framework-hunit test-framework-quickcheck2
+ vector vector-th-unbox
+ ];
+ description = "Collection of tools for numeric computations";
+ license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"math-grads" = callPackage
({ mkDerivation, aeson, array, base, containers, hspec, linear
, matrix, mtl, random, vector
@@ -152223,6 +154812,8 @@ self: {
];
description = "Discover your (academic) ancestors!";
license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"mathista" = callPackage
@@ -152299,28 +154890,9 @@ self: {
];
description = "Bindings to Matplotlib; a Python plotting library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"matrices" = callPackage
- ({ mkDerivation, base, criterion, deepseq, primitive, tasty
- , tasty-hunit, tasty-quickcheck, vector
- }:
- mkDerivation {
- pname = "matrices";
- version = "0.4.5";
- sha256 = "15vkkd3jwfdp648lfhskzhnisb1bzqia3asw8fmanpk71l9nyf9d";
- libraryHaskellDepends = [ base deepseq primitive vector ];
- testHaskellDepends = [
- base tasty tasty-hunit tasty-quickcheck vector
- ];
- benchmarkHaskellDepends = [ base criterion vector ];
- description = "native matrix based on vector";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "matrices_0_5_0" = callPackage
({ mkDerivation, base, criterion, deepseq, primitive, tasty
, tasty-hunit, tasty-quickcheck, vector
}:
@@ -152335,7 +154907,6 @@ self: {
benchmarkHaskellDepends = [ base criterion vector ];
description = "native matrix based on vector";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"matrix" = callPackage
@@ -152471,8 +155042,8 @@ self: {
}:
mkDerivation {
pname = "matterhorn";
- version = "50200.3.1";
- sha256 = "0szcdiva6b4xkgjpxyvm200n8y5bdc3lk1yw06y3i907fz573q2i";
+ version = "50200.4.0";
+ sha256 = "0b4y48z3hn55y8q61l8zp7x8pf0fyps4inv1s52y1yg7b2rpyfzb";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -152504,20 +155075,20 @@ self: {
({ mkDerivation, aeson, base, binary, bytestring, connection
, containers, gitrev, hashable, HTTP, http-media, HUnit, memory
, microlens, microlens-th, mtl, network-uri, pretty-show, process
- , resource-pool, stm, tasty, tasty-hunit, template-haskell, text
- , time, unordered-containers, websockets
+ , resource-pool, split, stm, tasty, tasty-hunit, template-haskell
+ , text, time, unordered-containers, websockets
}:
mkDerivation {
pname = "mattermost-api";
- version = "50200.1.4";
- sha256 = "10z6h0d629i89yrlx7rww6j274dr57y6inlay3211k1vbfp25b62";
+ version = "50200.2.0";
+ sha256 = "1c0d2djv3a374k9avbg95sm2f22bhz8ssafw76dnphkk7yasr8h6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base binary bytestring connection containers gitrev hashable
HTTP http-media memory microlens microlens-th network-uri
- pretty-show process resource-pool stm template-haskell text time
- unordered-containers websockets
+ pretty-show process resource-pool split stm template-haskell text
+ time unordered-containers websockets
];
testHaskellDepends = [
aeson base containers HUnit mtl pretty-show stm tasty tasty-hunit
@@ -152533,8 +155104,8 @@ self: {
}:
mkDerivation {
pname = "mattermost-api-qc";
- version = "50200.1.4";
- sha256 = "057m7i55bp1d5fs9imcfqbzwb54q8pqz7pvmjwkbf0w5kd111kly";
+ version = "50200.2.0";
+ sha256 = "0wryvjx9s5p1gvvkp1kzdfgrvwrmfpy81caqc85p6mwnr18ybrbq";
libraryHaskellDepends = [
base containers mattermost-api QuickCheck text time
];
@@ -152730,17 +155301,17 @@ self: {
}) {};
"mbox-utility" = callPackage
- ({ mkDerivation, base, bytestring, hsemail, non-empty, old-time
- , parsec, spreadsheet, utility-ht
+ ({ mkDerivation, base, bytestring, hsemail, non-empty, parsec
+ , spreadsheet, time, utility-ht
}:
mkDerivation {
pname = "mbox-utility";
- version = "0.0.1";
- sha256 = "1y792np4i24jlyxfsm4dw3m1bvij5wxj77dkqj2hvclm7kw0kq75";
+ version = "0.0.3.1";
+ sha256 = "0vh9ibh4g3fssq9jfzrmaa56sk4k35r27lmz2xq4fhc62fmkia92";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- base bytestring hsemail non-empty old-time parsec spreadsheet
+ base bytestring hsemail non-empty parsec spreadsheet time
utility-ht
];
description = "List contents of an mbox file containing e-mails";
@@ -152788,6 +155359,8 @@ self: {
];
description = "download bugs mailboxes";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"mcl" = callPackage
@@ -153077,8 +155650,8 @@ self: {
}:
mkDerivation {
pname = "med-module";
- version = "0.1.1";
- sha256 = "1qzffgcg29gjc6j0dl9ablgzad3lry28n9kv55kp5lgqm3xp92gp";
+ version = "0.1.2.1";
+ sha256 = "0f1yjdix89g6z2kigj08iq88jmi0x59la7764ixfha5sbjnwz0pp";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -153200,8 +155773,6 @@ self: {
testHaskellDepends = [ base QuickCheck ];
description = "Constant-time queries for the median of a stream of numeric data";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"mediawiki" = callPackage
@@ -153249,6 +155820,8 @@ self: {
];
description = "Convert MediaWiki text to LaTeX";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"medium-sdk-haskell" = callPackage
@@ -153290,49 +155863,23 @@ self: {
}) {};
"mega-sdist" = callPackage
- ({ mkDerivation, base, bytestring, conduit, conduit-extra
- , http-conduit, optparse-simple, rio, rio-orphans, tar-conduit
- , yaml
+ ({ mkDerivation, base, bytestring, optparse-simple, pantry, path
+ , path-io, rio, rio-orphans, yaml
}:
mkDerivation {
pname = "mega-sdist";
- version = "0.3.3.2";
- sha256 = "0jhlaww753spj5k2mrzrizcb408265wglc7gycdicnashsxc7qd4";
+ version = "0.4.0.1";
+ sha256 = "191saxmdh3705rhci7lz7qzcdzv2zvw9bwa7f5d62500azi13j8v";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
- base bytestring conduit conduit-extra http-conduit optparse-simple
- rio rio-orphans tar-conduit yaml
+ base bytestring optparse-simple pantry path path-io rio rio-orphans
+ yaml
];
description = "Handles uploading to Hackage from mega repos";
license = stdenv.lib.licenses.mit;
- }) {};
-
- "megaparsec_6_5_0" = callPackage
- ({ mkDerivation, base, bytestring, case-insensitive, containers
- , criterion, deepseq, hspec, hspec-discover, hspec-expectations
- , mtl, parser-combinators, QuickCheck, scientific, text
- , transformers, weigh
- }:
- mkDerivation {
- pname = "megaparsec";
- version = "6.5.0";
- sha256 = "12iggy7qpf8x93jm64zf0g215xwy779bqyfyjk2bhmxqqr1yzgdy";
- revision = "4";
- editedCabalFile = "0ij3asi5vwlhbgwsy6nhli9a0qb7926mg809fsgyl1rnhs9fvpx1";
- libraryHaskellDepends = [
- base bytestring case-insensitive containers deepseq mtl
- parser-combinators scientific text transformers
- ];
- testHaskellDepends = [
- base bytestring containers hspec hspec-expectations mtl QuickCheck
- scientific text transformers
- ];
- testToolDepends = [ hspec-discover ];
- benchmarkHaskellDepends = [ base criterion deepseq text weigh ];
- description = "Monadic parser combinators";
- license = stdenv.lib.licenses.bsd2;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"megaparsec" = callPackage
@@ -153495,6 +156042,36 @@ self: {
broken = true;
}) {};
+ "membership" = callPackage
+ ({ mkDerivation, base, constraints, deepseq, hashable
+ , prettyprinter, template-haskell, th-lift
+ }:
+ mkDerivation {
+ pname = "membership";
+ version = "0";
+ sha256 = "0hdy0yv64gcwja2kr6akfms21jgq6lqhzbxap603nhiwvf7n8ayv";
+ libraryHaskellDepends = [
+ base constraints deepseq hashable prettyprinter template-haskell
+ th-lift
+ ];
+ description = "Indices for type level lists";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "membrain" = callPackage
+ ({ mkDerivation, base, doctest, Glob, hedgehog, hspec, type-spec }:
+ mkDerivation {
+ pname = "membrain";
+ version = "0.0.0.0";
+ sha256 = "01wv5i3kgbpmwjnjk5xgkpm3j5wazlz1f05kmm523wf34xivp498";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [
+ base doctest Glob hedgehog hspec type-spec
+ ];
+ description = "Type-safe memory units";
+ license = stdenv.lib.licenses.mpl20;
+ }) {};
+
"memcache" = callPackage
({ mkDerivation, base, binary, blaze-builder, bytestring, criterion
, data-default-class, hashable, network, resource-pool, time
@@ -153597,6 +156174,22 @@ self: {
broken = true;
}) {};
+ "memdb" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, hspec, QuickCheck
+ , vector
+ }:
+ mkDerivation {
+ pname = "memdb";
+ version = "1.0.0.3";
+ sha256 = "082i381qyba51zkv4fqkn3mdhmya39pz8pw69m02c3hnp5vr4n4c";
+ libraryHaskellDepends = [ base bytestring cereal vector ];
+ testHaskellDepends = [
+ base bytestring cereal hspec QuickCheck vector
+ ];
+ description = "Efficient in memory indexed database";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"memexml" = callPackage
({ mkDerivation, base, hxt }:
mkDerivation {
@@ -153738,8 +156331,8 @@ self: {
pname = "memory";
version = "0.14.18";
sha256 = "01rmq3vagxzjmm96qnfxk4f0516cn12bp5m8inn8h5r918bqsigm";
- revision = "1";
- editedCabalFile = "0h4d0avv8kv3my4rim79lcamv2dyibld7w6ianq46nhwgr0h2lzm";
+ revision = "2";
+ editedCabalFile = "1kwlgsjxh4ncvc6x9rps82bm55qyzn8lvzg49s4rbyc7vjjsbmx6";
libraryHaskellDepends = [
base basement bytestring deepseq ghc-prim
];
@@ -153748,6 +156341,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "memory_0_15_0" = callPackage
+ ({ mkDerivation, base, basement, bytestring, deepseq, foundation
+ , ghc-prim
+ }:
+ mkDerivation {
+ pname = "memory";
+ version = "0.15.0";
+ sha256 = "0a9mxcddnqn4359hk59d6l2zbh0vp154yb5vs1a8jw4l38n8kzz3";
+ revision = "1";
+ editedCabalFile = "136qfj1cbg9571mlwywaqml75ijx3pcgvbpbgwxrqsl71ssj8w5y";
+ libraryHaskellDepends = [
+ base basement bytestring deepseq ghc-prim
+ ];
+ testHaskellDepends = [ base basement bytestring foundation ];
+ description = "memory and related abstraction stuff";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"memorypool" = callPackage
({ mkDerivation, base, containers, transformers, unsafe, vector }:
mkDerivation {
@@ -153816,6 +156428,8 @@ self: {
pname = "menshen";
version = "0.0.3";
sha256 = "0zx530ksb0zmczbl6k70xg6pxgr2wfga2pg0ghgmpgd9f307xrwb";
+ revision = "1";
+ editedCabalFile = "0hxj40q50pbl57dribvnk8ak907p15jnk3zycv6n9vj91la9js48";
libraryHaskellDepends = [ base regex-tdfa scientific text ];
testHaskellDepends = [
aeson base hspec QuickCheck regex-tdfa scientific text
@@ -153884,6 +156498,29 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "merkle-log" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, criterion, cryptonite
+ , deepseq, exceptions, hash-tree, memory, merkle-tree, mwc-random
+ , QuickCheck, random, random-bytestring, text
+ }:
+ mkDerivation {
+ pname = "merkle-log";
+ version = "0.1.0.0";
+ sha256 = "07q0ifgwq8agwm62k1k83sdrln4zbj6ln90nw9p9g3pgxnp3inia";
+ libraryHaskellDepends = [
+ base bytestring cryptonite deepseq exceptions memory text
+ ];
+ testHaskellDepends = [
+ base bytestring cryptonite deepseq exceptions memory QuickCheck
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring cereal criterion cryptonite deepseq hash-tree
+ memory merkle-tree mwc-random QuickCheck random random-bytestring
+ ];
+ description = "Merkle Tree Logs";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"merkle-patricia-db" = callPackage
({ mkDerivation, aeson, ansi-wl-pprint, base, base16-bytestring
, binary, bytestring, containers, cryptonite, data-default
@@ -154350,8 +156987,8 @@ self: {
pname = "microaeson";
version = "0.1.0.0";
sha256 = "1hbpyz6p9snnd85h2y0pdqp20svxrggavbv0q8z33sc5i4p8b7iz";
- revision = "1";
- editedCabalFile = "0pxgpmr0xv355rnpr8m7l07swbzsjbfiba3dxyz53bdjcc8ya9dq";
+ revision = "2";
+ editedCabalFile = "1n3jhbwic8c2pa6dcz36a6fgna4b854ml5d5n8qzzhjshb0v60ri";
libraryHaskellDepends = [
array base bytestring containers deepseq text
];
@@ -154464,11 +157101,25 @@ self: {
pname = "microlens";
version = "0.4.10";
sha256 = "1v277yyy4p9q57xr2lfp6qs24agglfczmcabrapxrzci3jfshmcw";
+ revision = "1";
+ editedCabalFile = "1qh5ifbwh62v14ygg3fj22wqimylph17ykng70vqv5x2rkp630jq";
libraryHaskellDepends = [ base ];
description = "A tiny lens library with no dependencies. If you're writing an app, you probably want microlens-platform, not this.";
license = stdenv.lib.licenses.bsd3;
}) {};
+ "microlens_0_4_11_2" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "microlens";
+ version = "0.4.11.2";
+ sha256 = "1z6zdprpr193a56r5s67q75554rrqyp2kk6srxn1gif7fd54sj2f";
+ libraryHaskellDepends = [ base ];
+ description = "A tiny lens library with no dependencies";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"microlens-aeson" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, deepseq
, hashable, microlens, scientific, tasty, tasty-hunit, text
@@ -154529,6 +157180,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "microlens-ghc_0_4_11_1" = callPackage
+ ({ mkDerivation, array, base, bytestring, containers, microlens
+ , transformers
+ }:
+ mkDerivation {
+ pname = "microlens-ghc";
+ version = "0.4.11.1";
+ sha256 = "19h3rgh3xhp7zgnhpqhpihca05s69mimzkx0sh30lg96p99wx69r";
+ libraryHaskellDepends = [
+ array base bytestring containers microlens transformers
+ ];
+ description = "microlens + array, bytestring, containers, transformers";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"microlens-mtl" = callPackage
({ mkDerivation, base, microlens, mtl, transformers
, transformers-compat
@@ -154544,6 +157211,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "microlens-mtl_0_2_0_1" = callPackage
+ ({ mkDerivation, base, microlens, mtl, transformers
+ , transformers-compat
+ }:
+ mkDerivation {
+ pname = "microlens-mtl";
+ version = "0.2.0.1";
+ sha256 = "0ijy7xyd5lbc3calhcrhy8czkf3fjcxrv68p7kd2a5b352rfi7fp";
+ libraryHaskellDepends = [
+ base microlens mtl transformers transformers-compat
+ ];
+ description = "microlens support for Reader/Writer/State from mtl";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"microlens-platform" = callPackage
({ mkDerivation, base, hashable, microlens, microlens-ghc
, microlens-mtl, microlens-th, text, unordered-containers, vector
@@ -154562,6 +157245,40 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "microlens-platform_0_4_0" = callPackage
+ ({ mkDerivation, base, hashable, microlens, microlens-ghc
+ , microlens-mtl, microlens-th, text, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "microlens-platform";
+ version = "0.4.0";
+ sha256 = "0q90qsrcr6pa0nvzk46573ykxrf21lr4xm0jp5sp5pd30kx21fmx";
+ libraryHaskellDepends = [
+ base hashable microlens microlens-ghc microlens-mtl microlens-th
+ text unordered-containers vector
+ ];
+ description = "microlens + all batteries included (best for apps)";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "microlens-process" = callPackage
+ ({ mkDerivation, base, Cabal, cabal-doctest, doctest, filepath
+ , microlens, process
+ }:
+ mkDerivation {
+ pname = "microlens-process";
+ version = "0.2.0.0";
+ sha256 = "05bkm3nhiv2mprds9xlmmnzll91hn76navb9h9kc9nl5rnq4nwrn";
+ revision = "4";
+ editedCabalFile = "00dhcr2czcx986a4lijmlbrxk2wm059mmbh63qs48wb6z4rrsg7y";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [ base filepath microlens process ];
+ testHaskellDepends = [ base doctest microlens process ];
+ description = "Micro-optics for the process library";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"microlens-th" = callPackage
({ mkDerivation, base, containers, microlens, template-haskell
, th-abstraction, transformers
@@ -154581,6 +157298,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "microlens-th_0_4_3_2" = callPackage
+ ({ mkDerivation, base, containers, microlens, template-haskell
+ , th-abstraction, transformers
+ }:
+ mkDerivation {
+ pname = "microlens-th";
+ version = "0.4.3.2";
+ sha256 = "0wz27ir4fs4231a20iiy2ghnyyg4qd75h45k6602017pww1hv44x";
+ libraryHaskellDepends = [
+ base containers microlens template-haskell th-abstraction
+ transformers
+ ];
+ testHaskellDepends = [ base microlens ];
+ description = "Automatic generation of record lenses for microlens";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"micrologger" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, hspec, lens
, text, text-format, time, transformers
@@ -154615,6 +157350,8 @@ self: {
];
description = "Bindings to the Microsoft Translator API";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"microspec" = callPackage
@@ -154637,8 +157374,8 @@ self: {
pname = "microstache";
version = "1.0.1.1";
sha256 = "0851sqr1ppdj6m822635pa3j6qzdf25gyrhkjs25zdry6518bsax";
- revision = "3";
- editedCabalFile = "1pq0h64vxc7zlncn2ld6k02wi6rfa5ccqc4z0hfkvaldj41y2sb1";
+ revision = "5";
+ editedCabalFile = "1dr1yqn42j6im1x333rpsqj57nhmagmhwkdfwx832cdsw9ry2gjz";
libraryHaskellDepends = [
aeson base bytestring containers deepseq directory filepath parsec
text transformers unordered-containers vector
@@ -154743,18 +157480,18 @@ self: {
"midi-music-box" = callPackage
({ mkDerivation, base, containers, diagrams-lib
- , diagrams-postscript, event-list, midi, non-empty
- , optparse-applicative, utility-ht
+ , diagrams-postscript, event-list, midi, optparse-applicative
+ , utility-ht
}:
mkDerivation {
pname = "midi-music-box";
- version = "0.0.0.5";
- sha256 = "1zgskam31akqi58wvjxqfgag937fczskyvzanivvxd7p6gvj5l0g";
+ version = "0.0.1.1";
+ sha256 = "15i28iw6ssl7f8iivqyxgd8rg3vg76hspsyv347195d74xb5s7zb";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base containers diagrams-lib diagrams-postscript event-list midi
- non-empty optparse-applicative utility-ht
+ optparse-applicative utility-ht
];
description = "Convert MIDI file to music box punch tape";
license = stdenv.lib.licenses.bsd3;
@@ -154779,6 +157516,8 @@ self: {
benchmarkHaskellDepends = [ base bytestring criterion ];
description = "A simple and fast library for working with MIDI messages";
license = stdenv.lib.licenses.lgpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"midi-util" = callPackage
@@ -154885,8 +157624,8 @@ self: {
}:
mkDerivation {
pname = "mighttpd2";
- version = "3.4.4";
- sha256 = "0n73zr3scn6sgqwaqjzcm3gybf2j0nwdcfq4cmsq9wanc5naz1pd";
+ version = "3.4.6";
+ sha256 = "0wg4cbgpsr997ag1vba0cpqq151l5fnhq0w63icq2lp4l172c57y";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -154905,6 +157644,8 @@ self: {
testHaskellDepends = [ base hspec http-client ];
description = "High performance web server on WAI/warp";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"mighty-metropolis" = callPackage
@@ -154994,8 +157735,8 @@ self: {
}:
mkDerivation {
pname = "milena";
- version = "0.5.3.0";
- sha256 = "0n46w570i9nrh0c71gl58phbsb8g05b9gcxvkcdx94yms41wsjh1";
+ version = "0.5.4.0";
+ sha256 = "1ldjm2m1rbm74j7kygli6g6rcl5hqk0agh5xpah1i02n2f01i078";
libraryHaskellDepends = [
base bytestring cereal containers digest lens lifted-base
monad-control mtl murmur-hash network random resource-pool
@@ -155040,25 +157781,6 @@ self: {
}) {};
"mime-mail" = callPackage
- ({ mkDerivation, base, base64-bytestring, blaze-builder, bytestring
- , filepath, hspec, process, random, text
- }:
- mkDerivation {
- pname = "mime-mail";
- version = "0.4.14";
- sha256 = "0gmapbjci8nclwm8syg5xfci4nj8cpchb9ry1b7gwhcp9kaw6cln";
- revision = "1";
- editedCabalFile = "14zadyz63gjpf58h6v36w3jwwpxpg86czw19r4211wprqfclvr92";
- libraryHaskellDepends = [
- base base64-bytestring blaze-builder bytestring filepath process
- random text
- ];
- testHaskellDepends = [ base blaze-builder bytestring hspec text ];
- description = "Compose MIME email messages";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "mime-mail_0_5_0" = callPackage
({ mkDerivation, base, base64-bytestring, blaze-builder, bytestring
, filepath, hspec, process, random, text
}:
@@ -155073,7 +157795,6 @@ self: {
testHaskellDepends = [ base blaze-builder bytestring hspec text ];
description = "Compose MIME email messages";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"mime-mail-ses" = callPackage
@@ -155138,6 +157859,19 @@ self: {
];
description = "Double-ended priority queues";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "minecraft" = callPackage
+ ({ mkDerivation }:
+ mkDerivation {
+ pname = "minecraft";
+ version = "0.0.0.0";
+ sha256 = "07h6hgq4k1wm4ldwb29fgmmbl9ygrlbq3qv3ymfvc25l5rvgss4h";
+ doHaddock = false;
+ description = "TBA";
+ license = stdenv.lib.licenses.bsd3;
}) {};
"minecraft-data" = callPackage
@@ -155147,8 +157881,8 @@ self: {
}:
mkDerivation {
pname = "minecraft-data";
- version = "0.1.0.0";
- sha256 = "1p0lci3b3lwcd6j13bvsscz7ar5vskvhkpj8gy4fp8d1pak2adwr";
+ version = "0.1.0.1";
+ sha256 = "02ispnzvxjazjy76bqpils6jmy37l4v61l1wcklvvsvkb72yc39n";
libraryHaskellDepends = [
array base bytestring cereal containers lens mtl nbt pipes
pipes-bytestring pipes-cereal pipes-parse pipes-zlib text text-show
@@ -155257,8 +157991,8 @@ self: {
}:
mkDerivation {
pname = "minilight";
- version = "0.3.0";
- sha256 = "0x251755hjrzkbbsvsb0ihrrmqw82dvcsp9f9xmvff0v0s1gfi24";
+ version = "0.4.0";
+ sha256 = "1ishxvijigfjfvrqiibbds2l7bb5vp51lsy933q4nphapvqrhk2m";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -155326,68 +158060,35 @@ self: {
}) {};
"minio-hs" = callPackage
- ({ mkDerivation, aeson, base, base64-bytestring, bytestring
- , case-insensitive, conduit, conduit-extra, containers, cryptonite
- , cryptonite-conduit, directory, filepath, http-client
- , http-conduit, http-types, ini, memory, protolude, QuickCheck
- , resourcet, tasty, tasty-hunit, tasty-quickcheck, tasty-smallcheck
- , temporary, text, time, transformers, unliftio, unliftio-core
- , xml-conduit
- }:
- mkDerivation {
- pname = "minio-hs";
- version = "1.2.0";
- sha256 = "14qhaiki7g09gkakl1irf0a5fnrcaj2x84vvh09g3dfsgybr851i";
- libraryHaskellDepends = [
- aeson base base64-bytestring bytestring case-insensitive conduit
- conduit-extra containers cryptonite cryptonite-conduit directory
- filepath http-client http-conduit http-types ini memory protolude
- resourcet text time transformers unliftio unliftio-core xml-conduit
- ];
- testHaskellDepends = [
- aeson base base64-bytestring bytestring case-insensitive conduit
- conduit-extra containers cryptonite cryptonite-conduit directory
- filepath http-client http-conduit http-types ini memory protolude
- QuickCheck resourcet tasty tasty-hunit tasty-quickcheck
- tasty-smallcheck temporary text time transformers unliftio
- unliftio-core xml-conduit
- ];
- description = "A Minio Haskell Library for Amazon S3 compatible cloud storage";
- license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "minio-hs_1_3_1" = callPackage
({ mkDerivation, aeson, base, base64-bytestring, binary, bytestring
- , case-insensitive, conduit, conduit-extra, connection, containers
- , cryptonite, cryptonite-conduit, digest, directory, exceptions
- , filepath, http-client, http-client-tls, http-conduit, http-types
- , ini, memory, protolude, QuickCheck, raw-strings-qq, resourcet
- , retry, tasty, tasty-hunit, tasty-quickcheck, tasty-smallcheck
- , temporary, text, time, transformers, unliftio, unliftio-core
+ , case-insensitive, conduit, conduit-extra, connection, cryptonite
+ , cryptonite-conduit, digest, directory, exceptions, filepath
+ , http-client, http-client-tls, http-conduit, http-types, ini
+ , memory, protolude, QuickCheck, raw-strings-qq, resourcet, retry
+ , tasty, tasty-hunit, tasty-quickcheck, tasty-smallcheck, temporary
+ , text, time, transformers, unliftio, unliftio-core
, unordered-containers, xml-conduit
}:
mkDerivation {
pname = "minio-hs";
- version = "1.3.1";
- sha256 = "1z553cpflxmr5hy723bgmwyq061fpivi1jw0vq64x1i0bz0q1llp";
+ version = "1.5.0";
+ sha256 = "0qp8zl7f055lpchg8abcc27jq4s0nn14qp474qrj4wdmynfi8bc8";
libraryHaskellDepends = [
aeson base base64-bytestring binary bytestring case-insensitive
- conduit conduit-extra connection containers cryptonite
- cryptonite-conduit digest directory exceptions filepath http-client
- http-client-tls http-conduit http-types ini memory protolude
- raw-strings-qq resourcet retry text time transformers unliftio
- unliftio-core unordered-containers xml-conduit
+ conduit conduit-extra connection cryptonite cryptonite-conduit
+ digest directory exceptions filepath http-client http-client-tls
+ http-conduit http-types ini memory protolude raw-strings-qq
+ resourcet retry text time transformers unliftio unliftio-core
+ unordered-containers xml-conduit
];
testHaskellDepends = [
aeson base base64-bytestring binary bytestring case-insensitive
- conduit conduit-extra connection containers cryptonite
- cryptonite-conduit digest directory exceptions filepath http-client
- http-client-tls http-conduit http-types ini memory protolude
- QuickCheck raw-strings-qq resourcet retry tasty tasty-hunit
- tasty-quickcheck tasty-smallcheck temporary text time transformers
- unliftio unliftio-core unordered-containers xml-conduit
+ conduit conduit-extra connection cryptonite cryptonite-conduit
+ digest directory exceptions filepath http-client http-client-tls
+ http-conduit http-types ini memory protolude QuickCheck
+ raw-strings-qq resourcet retry tasty tasty-hunit tasty-quickcheck
+ tasty-smallcheck temporary text time transformers unliftio
+ unliftio-core unordered-containers xml-conduit
];
description = "A MinIO Haskell Library for Amazon S3 compatible cloud storage";
license = stdenv.lib.licenses.asl20;
@@ -155524,8 +158225,6 @@ self: {
];
description = "Layout and render text with TrueType fonts using OpenGL";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"miniutter" = callPackage
@@ -155763,8 +158462,8 @@ self: {
}:
mkDerivation {
pname = "miso";
- version = "0.21.2.0";
- sha256 = "061bjvxcs6psh8hj947p4jm9ki9ngrwvn23szvk8i3x4xd87jbfm";
+ version = "1.2.0.0";
+ sha256 = "08yhr5hxrvgqdc32yz2j3mix7s8q5bzycld3kd4rfcy2h4h72962";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -155775,6 +158474,33 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "miso-action-logger" = callPackage
+ ({ mkDerivation, aeson, base, ghcjs-base, miso }:
+ mkDerivation {
+ pname = "miso-action-logger";
+ version = "0.1.0.1";
+ sha256 = "02xcj7ic4fh3h08h89naa2rl0rkksqx426wx8k8v0zl0d7rd12jc";
+ libraryHaskellDepends = [ aeson base ghcjs-base miso ];
+ description = "Miso state transition logger";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "miso-examples" = callPackage
+ ({ mkDerivation }:
+ mkDerivation {
+ pname = "miso-examples";
+ version = "1.2.0.0";
+ sha256 = "1wg4nli3qzq0dw9il4hqw78mpvcsbj22i2vdv2n9gafv9qsb6r68";
+ isLibrary = false;
+ isExecutable = true;
+ description = "A tasty Haskell front-end framework";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"miss" = callPackage
({ mkDerivation, attoparsec, base, base16-bytestring, bytestring
, ChasingBottoms, containers, cryptohash-sha1, deepseq, digest
@@ -155905,23 +158631,6 @@ self: {
}) {};
"mixed-types-num" = callPackage
- ({ mkDerivation, base, convertible, hspec, hspec-smallcheck
- , QuickCheck, smallcheck, template-haskell
- }:
- mkDerivation {
- pname = "mixed-types-num";
- version = "0.3.1.5";
- sha256 = "0n60s5vy6l6mbc5z7di91whb3hn0qav2c98fmb7l7inxq8abzw3w";
- libraryHaskellDepends = [
- base convertible hspec hspec-smallcheck QuickCheck smallcheck
- template-haskell
- ];
- testHaskellDepends = [ base hspec hspec-smallcheck QuickCheck ];
- description = "Alternative Prelude with numeric and logic expressions typed bottom-up";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "mixed-types-num_0_4_0_1" = callPackage
({ mkDerivation, base, hspec, hspec-smallcheck, mtl, QuickCheck
, smallcheck, template-haskell
}:
@@ -155936,7 +158645,6 @@ self: {
testHaskellDepends = [ base hspec hspec-smallcheck QuickCheck ];
description = "Alternative Prelude with numeric and logic expressions typed bottom-up";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"mixpanel-client" = callPackage
@@ -155946,32 +158654,8 @@ self: {
}:
mkDerivation {
pname = "mixpanel-client";
- version = "0.1.1";
- sha256 = "1dr7h8ss3msnabz6nisq3q4khi48b4ahmghil9sz4in4s1dvn9am";
- libraryHaskellDepends = [
- aeson base base64-bytestring bytestring http-client http-client-tls
- servant servant-client string-conv text time
- ];
- testHaskellDepends = [
- aeson base base64-bytestring bytestring hspec http-client
- http-client-tls servant servant-client string-conv text time
- ];
- testToolDepends = [ hspec-discover markdown-unlit ];
- description = "Mixpanel client";
- license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "mixpanel-client_0_2_0" = callPackage
- ({ mkDerivation, aeson, base, base64-bytestring, bytestring, hspec
- , hspec-discover, http-client, http-client-tls, markdown-unlit
- , servant, servant-client, string-conv, text, time
- }:
- mkDerivation {
- pname = "mixpanel-client";
- version = "0.2.0";
- sha256 = "1c0lgysznql57wff90r5s6mwq7gwah0j6pw10i4wppqs6pdiiwik";
+ version = "0.2.1";
+ sha256 = "1gangs1ivbg0hyc804flmxq7fgai3qlf2fnsw1r9dyjb5d91smp1";
libraryHaskellDepends = [
aeson base base64-bytestring bytestring http-client http-client-tls
servant servant-client string-conv text time
@@ -156100,10 +158784,8 @@ self: {
}:
mkDerivation {
pname = "mmark";
- version = "0.0.7.0";
- sha256 = "0g7mx3xvvj8vgcids231zlz9kp7z3zjrq4xfhdm0wk0v1k51dflx";
- revision = "1";
- editedCabalFile = "1mj781f8b0hc57lw2zp1qag4sdxn0bkyzm5m321xagwk32iwz9qc";
+ version = "0.0.7.1";
+ sha256 = "0apc582ck0g5ih0rpcljsfvss646ng62bjm37nj5z6k48symh16n";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson base case-insensitive containers deepseq dlist email-validate
@@ -156130,6 +158812,8 @@ self: {
pname = "mmark-cli";
version = "0.0.5.0";
sha256 = "15qrp2q1flx9csqvj8zx9w1jqg8pwfi0v7wpia7n7vg09jgydhby";
+ revision = "1";
+ editedCabalFile = "11yrsr4hpl5vxrfav1nfg3gidcr1qy0rjv5mkh5hqsxdpxy6c7aj";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -156150,6 +158834,8 @@ self: {
pname = "mmark-ext";
version = "0.2.1.2";
sha256 = "1s44vznj8hkk7iymnzczbglxnw1q84gmm8q9yiwh0jkiw4kdi91c";
+ revision = "1";
+ editedCabalFile = "10dlh96l6fdbpl1slr8v022735z9zkdszd1aziid5ml3gf63ssd8";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base foldl ghc-syntax-highlighter lucid microlens mmark modern-uri
@@ -156253,6 +158939,24 @@ self: {
broken = true;
}) {};
+ "mockazo" = callPackage
+ ({ mkDerivation, base, constraints, hspec, multistate, relude
+ , template-haskell
+ }:
+ mkDerivation {
+ pname = "mockazo";
+ version = "0.1.1";
+ sha256 = "113z5mmka7wkih0gm7x7d3l75ayql9217168b5pbyq7yvyh5f10m";
+ libraryHaskellDepends = [
+ base constraints multistate relude template-haskell
+ ];
+ testHaskellDepends = [
+ base constraints hspec multistate relude template-haskell
+ ];
+ description = "Mock records of functions easily";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"mockery" = callPackage
({ mkDerivation, base, base-compat, bytestring, directory, filepath
, hspec, logging-facade, temporary
@@ -156289,25 +158993,20 @@ self: {
"model" = callPackage
({ mkDerivation, base, containers, convertible, deepseq, doctest
, either, filemanip, ghc-prim, pretty, tasty, tasty-hunit
- , tasty-quickcheck, transformers
+ , transformers
}:
mkDerivation {
pname = "model";
- version = "0.4.4";
- sha256 = "1mmv1m78ychgqp0mblm56fszfmnxap3jwvxviy0h06s6wl2adq24";
- revision = "1";
- editedCabalFile = "1av9z75w5cb4kh9fdr7cjp6gs9mwwbp47yi9gw1swz19yf7i1am4";
+ version = "0.5";
+ sha256 = "0yynva6zk986yl04ilkr171m2m8k649fihc2z1lkvfn6vl8qpw0d";
libraryHaskellDepends = [
base containers convertible deepseq either pretty transformers
];
testHaskellDepends = [
base containers doctest filemanip ghc-prim pretty tasty tasty-hunit
- tasty-quickcheck
];
description = "Derive a model of a data type using Generics";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"modelicaparser" = callPackage
@@ -156336,10 +159035,8 @@ self: {
}:
mkDerivation {
pname = "modern-uri";
- version = "0.3.0.1";
- sha256 = "01a5jnv8kbl2c9ka9dgqm4a8b7n6frmg7yi8f417qcnwgn1lbs78";
- revision = "1";
- editedCabalFile = "13q0lapxk1v3ci3bqv21942jf2fw87frbbam53apd3i2iv69bqyr";
+ version = "0.3.1.0";
+ sha256 = "1pi7la2rrpfa9qszz7zm4dd7dihakm4kjrhjzvxpbp4n34ihl8h5";
libraryHaskellDepends = [
base bytestring containers contravariant deepseq exceptions
megaparsec mtl profunctors QuickCheck reflection tagged
@@ -156412,8 +159109,6 @@ self: {
libraryHaskellDepends = [ base ghc-typelits-knownnat ];
description = "Type-safe modular arithmetic";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"modular-arithmetic" = callPackage
@@ -156461,15 +159156,15 @@ self: {
}) {};
"modularity" = callPackage
- ({ mkDerivation, base, eigen, hmatrix, sparse-linear-algebra
+ ({ mkDerivation, base, hmatrix, sparse-linear-algebra
, spectral-clustering, vector
}:
mkDerivation {
pname = "modularity";
- version = "0.2.1.0";
- sha256 = "1xs9hdxsdpylhq3dzmyxfycwyqzy3v1zz48gvzpfcamfivxxpdph";
+ version = "0.2.1.1";
+ sha256 = "0s7n6z48wi2cc51i9aj8c35p02jsj2g1z1lbrsa0gpk684wzg8nq";
libraryHaskellDepends = [
- base eigen hmatrix sparse-linear-algebra spectral-clustering vector
+ base hmatrix sparse-linear-algebra spectral-clustering vector
];
description = "Find the modularity of a network";
license = stdenv.lib.licenses.gpl3;
@@ -156739,6 +159434,24 @@ self: {
license = stdenv.lib.licenses.asl20;
}) {};
+ "monad-chronicle" = callPackage
+ ({ mkDerivation, base, data-default-class, mtl, semigroupoids
+ , these, transformers, transformers-compat
+ }:
+ mkDerivation {
+ pname = "monad-chronicle";
+ version = "1";
+ sha256 = "03x19683pm99zcw7gkipmdkrqwaspcyvy7yv68nlh6g4swl31a0l";
+ revision = "1";
+ editedCabalFile = "059qa4kb6x3vqw0pahbkp3i6v33cyaiizzkgxd1n36l9ybchwr4l";
+ libraryHaskellDepends = [
+ base data-default-class mtl semigroupoids these transformers
+ transformers-compat
+ ];
+ description = "These as a transformer, ChronicleT";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"monad-classes" = callPackage
({ mkDerivation, base, conduit, data-lens-light, ghc-prim, mmorph
, monad-control, peano, reflection, tasty, tasty-hunit
@@ -157267,6 +159980,26 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "monad-metrics-extensible" = callPackage
+ ({ mkDerivation, base, dependent-map, dependent-sum, ekg, ekg-core
+ , exceptions, hspec, mtl, stm, text
+ }:
+ mkDerivation {
+ pname = "monad-metrics-extensible";
+ version = "0.1.0.1";
+ sha256 = "044hvhnf7wsgd18cac2j3bfw2vbxfnra736l6qndfx07mkv1nz5n";
+ libraryHaskellDepends = [
+ base dependent-map dependent-sum ekg ekg-core exceptions mtl stm
+ text
+ ];
+ testHaskellDepends = [
+ base dependent-map dependent-sum ekg ekg-core exceptions hspec mtl
+ stm text
+ ];
+ description = "An extensible and type-safe wrapper around EKG metrics";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"monad-mock" = callPackage
({ mkDerivation, base, constraints, exceptions, haskell-src-exts
, haskell-src-meta, hspec, monad-control, mtl, template-haskell
@@ -157559,8 +160292,8 @@ self: {
pname = "monad-ste";
version = "0.1.0.0";
sha256 = "0yqkx7rlrfms7wiymb41y5nxh8fyi4049729iamwablx6hdpsrw6";
- revision = "1";
- editedCabalFile = "17xfha8zn0snlqwi8cr44my3d1zbyvhh83qlmb747dblhmj1rdi1";
+ revision = "2";
+ editedCabalFile = "0dcdf3nifq26v63r6l1bxx4zv3ldgq7dxijf07ba9dliizwj2nr8";
libraryHaskellDepends = [ base exceptions ghc-prim primitive ];
testHaskellDepends = [ base hspec HUnit ];
description = "ST monad with efficient explicit errors";
@@ -157724,6 +160457,26 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "monad-validate" = callPackage
+ ({ mkDerivation, aeson, aeson-qq, base, exceptions, hspec
+ , monad-control, mtl, scientific, text, transformers
+ , transformers-base, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "monad-validate";
+ version = "1.2.0.0";
+ sha256 = "1wqiifcwm24mfshlh0xaq9b4blpsccqxglwgjqmg4jqbav3143zm";
+ libraryHaskellDepends = [
+ base exceptions monad-control mtl transformers transformers-base
+ ];
+ testHaskellDepends = [
+ aeson aeson-qq base exceptions hspec monad-control mtl scientific
+ text transformers transformers-base unordered-containers vector
+ ];
+ description = "A monad transformer for data validation";
+ license = stdenv.lib.licenses.isc;
+ }) {};
+
"monad-var" = callPackage
({ mkDerivation, base, base-compat, stm }:
mkDerivation {
@@ -157796,8 +160549,6 @@ self: {
libraryHaskellDepends = [ base transformers ];
description = "The Acme and AcmeT monads";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"monadbi" = callPackage
@@ -158111,8 +160862,8 @@ self: {
}:
mkDerivation {
pname = "mongoDB";
- version = "2.4.0.1";
- sha256 = "0wadf91vymy1wzf1xq9k5ackj5fc7220fgg6h42y4qpmg1xzbpip";
+ version = "2.5.0.0";
+ sha256 = "15zlh2ws9vs2d5rp1g299b4lrpj6a4gcdm1zqiig452w7m1bsyzd";
libraryHaskellDepends = [
array base base16-bytestring base64-bytestring binary bson
bytestring conduit conduit-extra containers cryptohash
@@ -158234,8 +160985,8 @@ self: {
}:
mkDerivation {
pname = "mono-traversable";
- version = "1.0.11.0";
- sha256 = "1lipj4ld99cb3sc9i8va9w7cfki89h436dysyr5ifcb1l0kxg861";
+ version = "1.0.12.0";
+ sha256 = "1h586myaayxg73lc1fx18axlq2bw761fypyy7mii1h0h75d8fyry";
libraryHaskellDepends = [
base bytestring containers hashable split text transformers
unordered-containers vector vector-algorithms
@@ -158326,8 +161077,8 @@ self: {
pname = "monoid-extras";
version = "0.5";
sha256 = "172d1mfns7agd619rlbb1i9kw2y26kjvivkva06k1r14bar1lmy6";
- revision = "2";
- editedCabalFile = "1q73ghd12fd451zm4m045h8v3y61jmfhj6k890gnv6z7lyb7xwg2";
+ revision = "3";
+ editedCabalFile = "1f6yd2lzvcr983xh68wgvxibx2a8ldgkcvac48pqqcxl1ywx1iny";
libraryHaskellDepends = [ base groups semigroupoids semigroups ];
benchmarkHaskellDepends = [ base criterion semigroups ];
description = "Various extra monoid-related definitions and utilities";
@@ -158417,6 +161168,8 @@ self: {
pname = "monoidal-containers";
version = "0.4.0.0";
sha256 = "15mh2hx7a31gr5zb2g30h2fcnb3a2wvv2y8hvzzk5l9cr2nvhcm1";
+ revision = "1";
+ editedCabalFile = "18m2r5kfvkss8vh537vh2k4zbpncmwadg1g4pzsw0rdmkyn7lyjd";
libraryHaskellDepends = [
aeson base containers deepseq hashable lens newtype semigroups
unordered-containers
@@ -158425,6 +161178,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "monoidal-containers_0_6" = callPackage
+ ({ mkDerivation, aeson, base, containers, deepseq, hashable, lens
+ , newtype, semialign, semigroups, these, unordered-containers
+ }:
+ mkDerivation {
+ pname = "monoidal-containers";
+ version = "0.6";
+ sha256 = "1ii09s068g6bj2j10ig3g3ymv1ci6zg596pmmaw6als15j9bybc9";
+ revision = "1";
+ editedCabalFile = "1k4k8g5a7swaylcqnga7lyp0lly8j1fqzdwsnznmps8bwn1pn1kk";
+ libraryHaskellDepends = [
+ aeson base containers deepseq hashable lens newtype semialign
+ semigroups these unordered-containers
+ ];
+ description = "Containers with monoidal accumulation";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"monoidplus" = callPackage
({ mkDerivation, base, contravariant, semigroups, transformers }:
mkDerivation {
@@ -158636,17 +161408,15 @@ self: {
}) {};
"more-containers" = callPackage
- ({ mkDerivation, base, containers, hspec }:
+ ({ mkDerivation, base, binary, containers, hspec }:
mkDerivation {
pname = "more-containers";
- version = "0.1.2.0";
- sha256 = "0q3ljqjzzrx1y0vbsgvrnmbmvysxkfk2ky5xxix1kirpn1q45yjj";
- libraryHaskellDepends = [ base containers ];
- testHaskellDepends = [ base containers hspec ];
+ version = "0.2.1.2";
+ sha256 = "104ffslcjr8rfbsjy2g49v8l3nx9xrfqglmwcsfgar0n0xnh62ds";
+ libraryHaskellDepends = [ base binary containers ];
+ testHaskellDepends = [ base binary containers hspec ];
description = "A few more collections";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"more-extensible-effects" = callPackage
@@ -158703,39 +161473,46 @@ self: {
"morley" = callPackage
({ mkDerivation, aeson, aeson-options, aeson-pretty, base-noprelude
- , base16-bytestring, base58-bytestring, bifunctors, bytestring
- , containers, cryptonite, data-default, directory, filepath, fmt
- , formatting, hex-text, hspec, hspec-golden-aeson, HUnit, lens
- , megaparsec, memory, morley-prelude, mtl, named
- , optparse-applicative, parser-combinators, pretty-simple
+ , base16-bytestring, base58-bytestring, binary, bytestring
+ , constraints, containers, cryptonite, data-default, directory
+ , filepath, fmt, formatting, generic-arbitrary, ghc-prim, hex-text
+ , hspec, hspec-expectations, HUnit, lens, megaparsec, memory
+ , morley-prelude, mtl, named, optparse-applicative
+ , parser-combinators, pretty-simple, qm-interpolated-string
, QuickCheck, quickcheck-arbitrary-adt, quickcheck-instances
- , singletons, text, time, timerep, transformers-compat, universum
- , vinyl, wl-pprint-text
+ , singletons, syb, tasty, tasty-ant-xml, tasty-discover
+ , tasty-hspec, tasty-quickcheck, template-haskell, text, time
+ , timerep, transformers-compat, vector, vinyl, wl-pprint-text
}:
mkDerivation {
pname = "morley";
- version = "0.2.0.1";
- sha256 = "1mkc3hfhm9isnw2m2zvdpmjcxw8fh2s7gzcp5r532spy2pv82wiz";
+ version = "0.3.0.1";
+ sha256 = "042kzx6n7jc6chqjvm7l14gpyywvy2s193xsnsvax5cisppm752m";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson aeson-options aeson-pretty base-noprelude base16-bytestring
- base58-bytestring bifunctors bytestring containers cryptonite
- data-default directory fmt formatting hex-text hspec lens
- megaparsec memory morley-prelude mtl named parser-combinators
- QuickCheck singletons text time timerep transformers-compat vinyl
+ base58-bytestring binary bytestring constraints containers
+ cryptonite data-default filepath fmt formatting ghc-prim hex-text
+ hspec lens megaparsec memory morley-prelude mtl named
+ parser-combinators QuickCheck quickcheck-arbitrary-adt
+ quickcheck-instances singletons syb tasty tasty-ant-xml
+ template-haskell text time timerep transformers-compat vector vinyl
wl-pprint-text
];
executableHaskellDepends = [
- base-noprelude fmt megaparsec morley-prelude named
- optparse-applicative pretty-simple text
+ base-noprelude data-default directory filepath fmt megaparsec
+ morley-prelude named optparse-applicative pretty-simple text
];
testHaskellDepends = [
- aeson base-noprelude containers directory filepath fmt formatting
- hspec hspec-golden-aeson HUnit lens megaparsec morley-prelude
- QuickCheck quickcheck-arbitrary-adt quickcheck-instances text time
- universum vinyl
+ aeson base-noprelude bytestring containers data-default directory
+ filepath fmt formatting generic-arbitrary hex-text hspec
+ hspec-expectations HUnit lens megaparsec morley-prelude mtl
+ qm-interpolated-string QuickCheck quickcheck-arbitrary-adt
+ quickcheck-instances singletons syb tasty tasty-hspec
+ tasty-quickcheck text
];
+ testToolDepends = [ tasty-discover ];
description = "Developer tools for the Michelson Language";
license = stdenv.lib.licenses.agpl3Plus;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -158746,8 +161523,8 @@ self: {
({ mkDerivation, base-noprelude, universum }:
mkDerivation {
pname = "morley-prelude";
- version = "0.1.0.4";
- sha256 = "0k96m27ix80awh6cg7qncps6nn2gd0yr423b5gc22rw4ayqsdlr1";
+ version = "0.2.0.1";
+ sha256 = "0dc0hi1gnw5ri7m0fl0pk3frgsnav1al4b6h4kwamhz4qh3av9b2";
libraryHaskellDepends = [ base-noprelude universum ];
description = "A custom prelude used in Morley";
license = stdenv.lib.licenses.agpl3Plus;
@@ -158778,15 +161555,34 @@ self: {
"morpheus-graphql" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, containers
- , mtl, scientific, text, transformers, unordered-containers, vector
+ , filepath, lens, megaparsec, mtl, optparse-applicative, scientific
+ , scotty, tasty, tasty-hunit, template-haskell, text, transformers
+ , unordered-containers, utf8-string, uuid, vector, wai
+ , wai-websockets, warp, websockets
}:
mkDerivation {
pname = "morpheus-graphql";
- version = "0.0.1";
- sha256 = "1a9wkpsj8850abpz2z5cphphllpwzdc1l38ljfghd79y278cc1zm";
+ version = "0.2.2";
+ sha256 = "1cgf6l6p97dfgj49gyygbd088smah3ichryrr8xvl1mr6pjclq5b";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
libraryHaskellDepends = [
- aeson attoparsec base bytestring containers mtl scientific text
- transformers unordered-containers vector
+ aeson attoparsec base bytestring containers lens megaparsec mtl
+ scientific template-haskell text transformers unordered-containers
+ utf8-string uuid vector wai-websockets websockets
+ ];
+ executableHaskellDepends = [
+ aeson attoparsec base bytestring containers filepath lens
+ megaparsec mtl optparse-applicative scientific scotty
+ template-haskell text transformers unordered-containers utf8-string
+ uuid vector wai wai-websockets warp websockets
+ ];
+ testHaskellDepends = [
+ aeson attoparsec base bytestring containers lens megaparsec mtl
+ scientific tasty tasty-hunit template-haskell text transformers
+ unordered-containers utf8-string uuid vector wai-websockets
+ websockets
];
description = "Morpheus GraphQL";
license = stdenv.lib.licenses.bsd3;
@@ -158946,8 +161742,6 @@ self: {
];
description = "General purpose migrations library";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"moto-postgresql" = callPackage
@@ -158963,8 +161757,6 @@ self: {
];
description = "PostgreSQL-based migrations registry for moto";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"motor" = callPackage
@@ -158973,8 +161765,8 @@ self: {
}:
mkDerivation {
pname = "motor";
- version = "0.3.0";
- sha256 = "0yx0gwdqny8p5nggigk5w57cyf2qjdjb5ypppwd84qjm663na9bh";
+ version = "0.4.0";
+ sha256 = "1mwvq4rzfj4fl5mcbg9cfk8x0c21p9w3wbx0h0fkm6m16k94b4p6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -158994,8 +161786,8 @@ self: {
}:
mkDerivation {
pname = "motor-diagrams";
- version = "0.3.0";
- sha256 = "1rvlb3gvnzdqzwrg3nm21vw6j33c4aqp6npsz8cdbh24ijc46jbr";
+ version = "0.4.0";
+ sha256 = "12niyizqd3hvi6g30fa38b8b2m2cxbdxzcpr95wbpdxzhvbqxs0h";
libraryHaskellDepends = [
base motor motor-reflection template-haskell text
];
@@ -159013,8 +161805,8 @@ self: {
}:
mkDerivation {
pname = "motor-reflection";
- version = "0.3.0";
- sha256 = "1mac2ywknribmzs79dpjigk45nzrwsx7as0zi1zaqrq2vy45xl8y";
+ version = "0.4.0";
+ sha256 = "1n66pylcgfnmrbfbgljzx16siwv38y5j752m8yimnlg1kny1a0i6";
libraryHaskellDepends = [ base motor template-haskell text ];
testHaskellDepends = [
base hspec hspec-discover indexed motor row-types
@@ -159162,8 +161954,8 @@ self: {
}:
mkDerivation {
pname = "mpi-hs";
- version = "0.5.1.2";
- sha256 = "0v31d8i8z6ixg0vl2fk8wscnsl76y096a16650mfpbifwh9ax71m";
+ version = "0.5.3.0";
+ sha256 = "0z2m4xfk0w1zx29jb27xb6hs01xid0ghv93yhqx7zwiw01815krk";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -159172,8 +161964,11 @@ self: {
librarySystemDepends = [ openmpi ];
libraryToolDepends = [ c2hs ];
executableHaskellDepends = [ base binary ];
+ executableSystemDepends = [ openmpi ];
testHaskellDepends = [ base monad-loops ];
+ testSystemDepends = [ openmpi ];
benchmarkHaskellDepends = [ base criterion ];
+ benchmarkSystemDepends = [ openmpi ];
description = "MPI bindings for Haskell";
license = stdenv.lib.licenses.asl20;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -159266,6 +162061,34 @@ self: {
broken = true;
}) {};
+ "mptcp-pm" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, bytestring-conversion
+ , c2hs, c2hsc, cereal, containers, fast-logger, HUnit, ip, netlink
+ , optparse-applicative, process
+ }:
+ mkDerivation {
+ pname = "mptcp-pm";
+ version = "0.0.1";
+ sha256 = "0sknhb9i0hshyjc33g301l7lxy5cigilhzdmwc6bi0gxhnkgycki";
+ isLibrary = true;
+ isExecutable = true;
+ libraryToolDepends = [ c2hs ];
+ executableHaskellDepends = [
+ aeson base bytestring bytestring-conversion c2hsc cereal containers
+ fast-logger ip netlink optparse-applicative process
+ ];
+ executableToolDepends = [ c2hs ];
+ testHaskellDepends = [
+ aeson base bytestring cereal containers HUnit ip netlink
+ ];
+ testToolDepends = [ c2hs ];
+ doHaddock = false;
+ description = "A work in progress Multipath TCP path manager";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"mpvguihs" = callPackage
({ mkDerivation, base, directory, filepath, gtk, mtl, process
, template-haskell, unix
@@ -159385,23 +162208,23 @@ self: {
}) {};
"ms-tds" = callPackage
- ({ mkDerivation, array, base, binary, bytestring
- , data-default-class, mtl, network, text, time, tls, uuid-types
- , x509-store, x509-system
+ ({ mkDerivation, array, base, binary, bytestring, crypto-random
+ , data-default-class, mtl, network, template-haskell, text, time
+ , tls, uuid-types, x509-store, x509-system
}:
mkDerivation {
pname = "ms-tds";
- version = "0.1.0.0";
- sha256 = "05g5y0c105p1dqcd8mybqnrky495nb0320yrjgk7dr7lhfwsyb6s";
- revision = "1";
- editedCabalFile = "1n29v4kj4lmfvj15878l6949wjpl9h7mgrwj0i684hcqv7xlgml2";
+ version = "0.4.0.0";
+ sha256 = "0smdr7inwix9hbllj5r217pa17i6ha0wbciqnq9cjsjs9wjnybhh";
libraryHaskellDepends = [
- array base binary bytestring data-default-class mtl network text
- time tls uuid-types x509-store x509-system
+ array base binary bytestring crypto-random data-default-class mtl
+ network template-haskell text time tls uuid-types x509-store
+ x509-system
];
testHaskellDepends = [
- array base binary bytestring data-default-class mtl network text
- time tls uuid-types x509-store x509-system
+ array base binary bytestring crypto-random data-default-class mtl
+ network template-haskell text time tls uuid-types x509-store
+ x509-system
];
description = "TDS Protocol implemented in Haskell";
license = stdenv.lib.licenses.bsd3;
@@ -159528,18 +162351,20 @@ self: {
}) {};
"mssql-simple" = callPackage
- ({ mkDerivation, base, binary, bytestring, hostname, ms-tds
- , network, text, time, tls
+ ({ mkDerivation, base, binary, bytestring, hostname, ms-tds, mtl
+ , network, template-haskell, text, time, tls, uuid-types
}:
mkDerivation {
pname = "mssql-simple";
- version = "0.1.0.2";
- sha256 = "0k0ijffl4xq5jb12gnwpnpc4r6cd64r1a344mqwybqaymjyblm66";
+ version = "0.5.0.1";
+ sha256 = "174qqm4y38b4x0nc4kfrafr0cqcqshdxgxj2amn58m5zvclhn3fs";
libraryHaskellDepends = [
- base binary bytestring hostname ms-tds network text time tls
+ base binary bytestring hostname ms-tds mtl network template-haskell
+ text time tls uuid-types
];
testHaskellDepends = [
- base binary bytestring hostname ms-tds network text time tls
+ base binary bytestring hostname ms-tds mtl network template-haskell
+ text time tls uuid-types
];
description = "SQL Server client library implemented in Haskell";
license = stdenv.lib.licenses.bsd3;
@@ -160072,8 +162897,6 @@ self: {
];
description = "create many files from one";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"multifocal" = callPackage
@@ -160145,6 +162968,8 @@ self: {
testHaskellDepends = [ base cryptonite doctest hedgehog ];
description = "Self-identifying hashes, implementation of ";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"multihash-serialise" = callPackage
@@ -160522,8 +163347,8 @@ self: {
}:
mkDerivation {
pname = "multistate";
- version = "0.8.0.1";
- sha256 = "1s9fs29ki3l1df0ddi04ckbich1xid413sm2zx59aqp92dfpimvm";
+ version = "0.8.0.2";
+ sha256 = "0hypksjacpjgpkgvjn76fd5rgdz7hi6ri36ihdy0bdhpi83jnhn5";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -160532,8 +163357,6 @@ self: {
testHaskellDepends = [ base hspec transformers ];
description = "like mtl's ReaderT / WriterT / StateT, but more than one contained value/type";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"multivariant" = callPackage
@@ -161229,10 +164052,8 @@ self: {
({ mkDerivation, base, mwc-random, primitive, transformers }:
mkDerivation {
pname = "mwc-probability";
- version = "2.0.4";
- sha256 = "0msi72qp5aps3n4ji565r4rzyjg7svwilsh8lch59y2b4q7fvscz";
- revision = "1";
- editedCabalFile = "1b4wbxkxx0szjgzgn5jc1qap80zx6ispxrd51yxs4z7llv15w5k6";
+ version = "2.1.0";
+ sha256 = "0ac4pr2l0p48a0n6jym445c8h7n2nf1pqkhrz6cd1rjbmrk5mbm3";
libraryHaskellDepends = [ base mwc-random primitive transformers ];
description = "Sampling function-based probability distributions";
license = stdenv.lib.licenses.mit;
@@ -161282,8 +164103,6 @@ self: {
libraryHaskellDepends = [ accelerate base mwc-random ];
description = "Generate Accelerate arrays filled with high quality pseudorandom numbers";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"mwc-random-monad" = callPackage
@@ -161710,8 +164529,8 @@ self: {
}:
mkDerivation {
pname = "mysql-simple-typed";
- version = "0.1.1.3";
- sha256 = "1gfj7s9rxp8n0fws8x6f94z3mi7kysa0vscvm6hky9awq83avbv4";
+ version = "0.1.2.0";
+ sha256 = "160pyhcazmg3qnqsvzl05gc4xrm0cd1s622zv4z8n9z2w7xqh5qa";
libraryHaskellDepends = [
base mysql mysql-simple template-haskell typedquery utf8-string
];
@@ -161896,6 +164715,20 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "nagios-config" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "nagios-config";
+ version = "0.1.0.0";
+ sha256 = "1m6phv3w8rbdz6xk2ar803r2m8fhdij9a26v5jz1s87f3hy6d5g6";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base ];
+ executableHaskellDepends = [ base ];
+ description = "EDSL to specify Nagios configuration files";
+ license = stdenv.lib.licenses.gpl3;
+ }) {};
+
"nagios-perfdata" = callPackage
({ mkDerivation, attoparsec, base, bifunctors, bytestring
, containers, hspec, HUnit, MissingH, mtl, transformers
@@ -161994,20 +164827,6 @@ self: {
}) {};
"named" = callPackage
- ({ mkDerivation, base }:
- mkDerivation {
- pname = "named";
- version = "0.2.0.0";
- sha256 = "17ldvxypf099wj5phzh2aymzfwmyiyzhz24h1aj2s21nrys5n6n0";
- revision = "2";
- editedCabalFile = "0h9d74h6g685g1g0ylqf7kws1ancdy3q6fi39vinf5alkqa7kxwd";
- libraryHaskellDepends = [ base ];
- testHaskellDepends = [ base ];
- description = "Named parameters (keyword arguments) for Haskell";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "named_0_3_0_0" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "named";
@@ -162017,7 +164836,6 @@ self: {
testHaskellDepends = [ base ];
description = "Named parameters (keyword arguments) for Haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"named-formlet" = callPackage
@@ -162059,6 +164877,18 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "named-sop" = callPackage
+ ({ mkDerivation, base, singletons, tasty, tasty-hunit, text }:
+ mkDerivation {
+ pname = "named-sop";
+ version = "0.2.0.0";
+ sha256 = "1yz4cp19nf44cscfzhwsw7xigq07sxbvzfw5v5l3jgsjxi5xw9ad";
+ libraryHaskellDepends = [ base singletons text ];
+ testHaskellDepends = [ base tasty tasty-hunit ];
+ description = "Dependently-typed sums and products, tagged by field name";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"namelist" = callPackage
({ mkDerivation, base, case-insensitive, data-default-class, parsec
, QuickCheck, tasty, tasty-hunit, tasty-quickcheck
@@ -162350,19 +165180,21 @@ self: {
}) {};
"naqsha" = callPackage
- ({ mkDerivation, base, bytestring, groups, hspec, HUnit, QuickCheck
- , vector
+ ({ mkDerivation, base, bytestring, groups, hspec, hspec-discover
+ , HUnit, QuickCheck, vector
}:
mkDerivation {
pname = "naqsha";
- version = "0.2.0.1";
- sha256 = "154wydlz7y6mic4d1670dwn9g1c7z92v6bydll0shn6z05324ha9";
+ version = "0.3.0.1";
+ sha256 = "0wg2vvik0yhaqyla64m3mcrv0fkrs92dgkrq5pzq78xjycnm7q1r";
libraryHaskellDepends = [ base bytestring groups vector ];
- testHaskellDepends = [ base groups hspec HUnit QuickCheck ];
- description = "A library for working with geospatial data types";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ testHaskellDepends = [
+ base bytestring groups hspec hspec-discover HUnit QuickCheck vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ doHaddock = false;
+ description = "A library for working with anything map related";
+ license = "(Apache-2.0 OR BSD-3-Clause)";
}) {};
"narc" = callPackage
@@ -162498,6 +165330,8 @@ self: {
];
description = "Haskell API for NATS messaging system";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"natural" = callPackage
@@ -162520,6 +165354,17 @@ self: {
broken = true;
}) {};
+ "natural-arithmetic" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "natural-arithmetic";
+ version = "0.1.0.0";
+ sha256 = "0h5ga04hw7v54xsxjj852238spl3px190g67qjqzxvnyn0f76jrp";
+ libraryHaskellDepends = [ base ];
+ description = "Arithmetic of natural numbers";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"natural-induction" = callPackage
({ mkDerivation, base, peano }:
mkDerivation {
@@ -163089,8 +165934,8 @@ self: {
}:
mkDerivation {
pname = "net-mqtt";
- version = "0.2.4.1";
- sha256 = "0s0drakh05ygwkvlcd8z0f5168hvk8qmvdq3mg2bk1p2fjd2hfb2";
+ version = "0.2.4.2";
+ sha256 = "1ygd0ncwzzy4i2m4n0ax02csyjdsn2y66amr9yilxn6x0yhbq9rj";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -163108,25 +165953,27 @@ self: {
];
description = "An MQTT Protocol Implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"net-spider" = callPackage
({ mkDerivation, aeson, base, containers, data-interval, doctest
, doctest-discover, extended-reals, greskell, greskell-websocket
- , hashable, hspec, monad-logger, safe-exceptions, text, time
- , unordered-containers, vector
+ , hashable, hspec, monad-logger, safe-exceptions, scientific, text
+ , time, unordered-containers, vector
}:
mkDerivation {
pname = "net-spider";
- version = "0.3.0.0";
- sha256 = "1wz37rrjpk4v8h1mh6pbld84f9kp5h3qcjxxh6fgbkij5l4g7m77";
+ version = "0.3.2.0";
+ sha256 = "0b9k2gxb9nmjd59pcz7x8jrk2vycf8jk448ifpfc9spk6ylkh4gh";
libraryHaskellDepends = [
aeson base containers data-interval extended-reals greskell
- greskell-websocket hashable monad-logger safe-exceptions text time
- unordered-containers vector
+ greskell-websocket hashable monad-logger safe-exceptions scientific
+ text time unordered-containers vector
];
testHaskellDepends = [
- base doctest doctest-discover hspec vector
+ aeson base doctest doctest-discover hspec text vector
];
description = "A graph database middleware to maintain a time-varying graph";
license = stdenv.lib.licenses.bsd3;
@@ -163134,14 +165981,36 @@ self: {
broken = true;
}) {};
+ "net-spider-cli" = callPackage
+ ({ mkDerivation, aeson, base, doctest, doctest-discover
+ , greskell-core, hashable, hspec, net-spider, optparse-applicative
+ , text
+ }:
+ mkDerivation {
+ pname = "net-spider-cli";
+ version = "0.1.0.1";
+ sha256 = "1qfzdfkiri3v344mk5zkc8mhxig3xmplcbw8382hkhsdmy4ny4ga";
+ libraryHaskellDepends = [
+ aeson base greskell-core hashable net-spider optparse-applicative
+ text
+ ];
+ testHaskellDepends = [
+ base doctest doctest-discover hspec net-spider optparse-applicative
+ ];
+ description = "CLI option parsers for NetSpider objects";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"net-spider-pangraph" = callPackage
({ mkDerivation, base, bytestring, doctest, doctest-discover
, greskell, hspec, net-spider, pangraph, text, time
}:
mkDerivation {
pname = "net-spider-pangraph";
- version = "0.1.0.0";
- sha256 = "1aiacaccml8477vmcnv9mqcrn87nyx7pbgwp7rppz7h5w0dsj8lx";
+ version = "0.1.1.0";
+ sha256 = "1j3s379ri05jg3bzhiz6d8fjvxlkz00l7mrphqmr46j4y8d9vrkv";
libraryHaskellDepends = [
base bytestring greskell net-spider pangraph text time
];
@@ -163156,15 +166025,14 @@ self: {
"net-spider-rpl" = callPackage
({ mkDerivation, aeson, base, greskell, hashable, hspec, ip
- , net-spider, net-spider-pangraph, text, time
+ , net-spider, text, time
}:
mkDerivation {
pname = "net-spider-rpl";
- version = "0.1.0.0";
- sha256 = "0basbgcdkjksg9p2s5s0whnbas3w3wnrkkdsr907m8gppkdk6i69";
+ version = "0.2.1.0";
+ sha256 = "07f51ym5v1mpa1v6249sgkxqd8y52fdgs8l2r59mxil1ph6al7x1";
libraryHaskellDepends = [
- aeson base greskell hashable ip net-spider net-spider-pangraph text
- time
+ aeson base greskell hashable ip net-spider text time
];
testHaskellDepends = [ base hspec net-spider text ];
description = "NetSpider data model and utility for RPL networks";
@@ -163275,8 +166143,6 @@ self: {
];
description = "Helper modules for comfort-array wrappers to BLAS and LAPACK";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"netlib-ffi" = callPackage
@@ -163381,8 +166247,8 @@ self: {
pname = "netrc";
version = "0.2.0.0";
sha256 = "11iax3ick0im397jyyjkny7lax9bgrlgk90a25dp2jsglkphfpls";
- revision = "5";
- editedCabalFile = "0v383hy7iw44xxnpdp2fla2dc8ivrhwgh2m303ps4z9fsw25cyka";
+ revision = "6";
+ editedCabalFile = "0mn0ar2xhjdsm50kmpw5ndvbyfmc30b3x0bx291d2ml7hqspnnsw";
libraryHaskellDepends = [ base bytestring deepseq parsec ];
testHaskellDepends = [
base bytestring tasty tasty-golden tasty-quickcheck
@@ -163658,14 +166524,14 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "network_3_1_0_0" = callPackage
+ "network_3_1_0_1" = callPackage
({ mkDerivation, base, bytestring, deepseq, directory, hspec
, hspec-discover, HUnit
}:
mkDerivation {
pname = "network";
- version = "3.1.0.0";
- sha256 = "0xskqnv90h8lc663ilprwgsmx9nv7534kwsv9acxlcfvqy1nnq4s";
+ version = "3.1.0.1";
+ sha256 = "0r4x5ad7pl9fk7jknnv2wnizb83mi2ljambpavvarpj52b3mdwjs";
libraryHaskellDepends = [ base bytestring deepseq ];
testHaskellDepends = [ base bytestring directory hspec HUnit ];
testToolDepends = [ hspec-discover ];
@@ -163745,6 +166611,8 @@ self: {
];
description = "Haskell API for Tor anonymous networking";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"network-api-support" = callPackage
@@ -163762,6 +166630,8 @@ self: {
];
description = "Toolkit for building http client libraries over Network.Http.Conduit";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"network-arbitrary" = callPackage
@@ -163783,6 +166653,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Arbitrary Instances for Network Types";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"network-attoparsec" = callPackage
@@ -163830,6 +166702,18 @@ self: {
}) {};
"network-bsd" = callPackage
+ ({ mkDerivation, base, network }:
+ mkDerivation {
+ pname = "network-bsd";
+ version = "2.8.0.0";
+ sha256 = "0dfbwgrr28y6ypw7p1ppqg7v746qf14569q4xazj4ahdjw2xkpi5";
+ libraryHaskellDepends = [ base network ];
+ doHaddock = false;
+ description = "Network.BSD";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "network-bsd_2_8_1_0" = callPackage
({ mkDerivation, base, deepseq, network }:
mkDerivation {
pname = "network-bsd";
@@ -163840,6 +166724,7 @@ self: {
libraryHaskellDepends = [ base deepseq network ];
description = "POSIX network database () API";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"network-builder" = callPackage
@@ -163869,8 +166754,8 @@ self: {
({ mkDerivation, base, bytestring, doctest }:
mkDerivation {
pname = "network-byte-order";
- version = "0.0.0.0";
- sha256 = "0wfy57ip87ksppggpz26grk4w144yld95mf2y0c6mhcs1l8z3div";
+ version = "0.1.1.0";
+ sha256 = "16prqgaqxn1h56gw9r446cq5a4jyaiplg50pjy1ji4k7cvcpx5vk";
libraryHaskellDepends = [ base bytestring ];
testHaskellDepends = [ base bytestring doctest ];
description = "Network byte order utilities";
@@ -164109,8 +166994,8 @@ self: {
}:
mkDerivation {
pname = "network-messagepack-rpc";
- version = "0.1.1.0";
- sha256 = "13q3dr0l5a5yd693hb2h5nw86kxcw7vbm41dw3lbky7jr8hh2r0h";
+ version = "0.1.1.1";
+ sha256 = "1cmll84ida19f53cdvwi8nqym6bax8f0g40nq1a1gkh6mljby5a4";
libraryHaskellDepends = [
base bytestring data-msgpack safe-exceptions text
unordered-containers
@@ -164215,14 +167100,12 @@ self: {
}) {};
"network-multicast" = callPackage
- ({ mkDerivation, base, network }:
+ ({ mkDerivation, base, network, network-bsd }:
mkDerivation {
pname = "network-multicast";
- version = "0.2.0";
- sha256 = "1wkmx5gic0zqghxxdyyrcysfaj1aknj53v50qq6c40d4qfmm0fqg";
- revision = "2";
- editedCabalFile = "1hha4vvyrx29d2lwwjl0bfpbaj00k85bd4w83s4hvawqbxqvvhkw";
- libraryHaskellDepends = [ base network ];
+ version = "0.3.2";
+ sha256 = "0whvi0pbwjy6dbwfdf9rv1j3yr3lcmfp3q7a8pwq63g537l4l2l3";
+ libraryHaskellDepends = [ base network network-bsd ];
description = "Simple multicast library";
license = stdenv.lib.licenses.publicDomain;
}) {};
@@ -164298,6 +167181,19 @@ self: {
broken = true;
}) {};
+ "network-run" = callPackage
+ ({ mkDerivation, base, network }:
+ mkDerivation {
+ pname = "network-run";
+ version = "0.2.0";
+ sha256 = "1iabxk341yzsr28mpiam01wris20na4kbvbpxfzbcvlb1q2pjz5v";
+ libraryHaskellDepends = [ base network ];
+ description = "Simple network runner library";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"network-server" = callPackage
({ mkDerivation, base, network, unix }:
mkDerivation {
@@ -164332,17 +167228,16 @@ self: {
}) {};
"network-simple" = callPackage
- ({ mkDerivation, base, bytestring, network, safe-exceptions, socks
- , transformers
+ ({ mkDerivation, base, bytestring, network, network-bsd
+ , safe-exceptions, socks, transformers
}:
mkDerivation {
pname = "network-simple";
- version = "0.4.3";
- sha256 = "0a4hag26ry6lg90q4ppchvrm5xaij50jd4633mhfkfq8scgczm8d";
- revision = "2";
- editedCabalFile = "073g0agplvgan62s638w5hcq25biq8f811xhha6drfyxybs6cspn";
+ version = "0.4.5";
+ sha256 = "17hpgcwrsx2h8lrb2wwzy0anp33mn80dnwcgnqmb8prajwjvz807";
libraryHaskellDepends = [
- base bytestring network safe-exceptions socks transformers
+ base bytestring network network-bsd safe-exceptions socks
+ transformers
];
description = "Simple network sockets usage patterns";
license = stdenv.lib.licenses.bsd3;
@@ -164412,8 +167307,6 @@ self: {
];
description = "Simple interface to TLS secured WebSockets";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"network-socket-options" = callPackage
@@ -164607,8 +167500,6 @@ self: {
];
description = "ZeroMQ backend for network-transport";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"network-uri" = callPackage
@@ -164659,6 +167550,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "FromJSON and ToJSON Instances for Network.URI";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"network-uri-lenses" = callPackage
@@ -164935,8 +167828,8 @@ self: {
}:
mkDerivation {
pname = "newsynth";
- version = "0.3.0.5";
- sha256 = "1qfan8vf7s3bhdc3bfjsig4sv0cip0qfvqmyxw0iqc7gqbbkinzy";
+ version = "0.4.0.0";
+ sha256 = "1whipzp8gw08kgy3jyf4bvvjc69nbh2wpm4bv4ymf5m4fb0ikrvh";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal superdoc ];
@@ -165015,6 +167908,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "newtype-generics_0_5_4" = callPackage
+ ({ mkDerivation, base, gauge, hspec, hspec-discover, semigroups
+ , transformers
+ }:
+ mkDerivation {
+ pname = "newtype-generics";
+ version = "0.5.4";
+ sha256 = "0cprfg4n0z62cnix1qrbc79bfdd4s50b05fj9m9hk6vm1pc3szq0";
+ libraryHaskellDepends = [ base transformers ];
+ testHaskellDepends = [ base hspec ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [ base gauge semigroups ];
+ description = "A typeclass and set of functions for working with newtypes";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"newtype-th" = callPackage
({ mkDerivation, base, haskell-src-meta, newtype, syb
, template-haskell
@@ -165162,8 +168072,8 @@ self: {
}:
mkDerivation {
pname = "ngx-export-tools";
- version = "0.4.5.0";
- sha256 = "1775syhp5pgm6sdn3x8y3zqzvqrwypl07xm6rkv34sbw5x84mmmv";
+ version = "0.4.6.0";
+ sha256 = "0bvyh1b8q2mh2labaykc7lndr2rfhzmkw8c7b56pxsa2fypfl232";
libraryHaskellDepends = [
aeson base binary bytestring ngx-export safe template-haskell
];
@@ -165332,8 +168242,6 @@ self: {
libraryHaskellDepends = [ base integer-logarithms ];
description = "Finite nimber arithmetic";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"nirum" = callPackage
@@ -165402,6 +168310,34 @@ self: {
broken = true;
}) {};
+ "niv" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, base, bytestring, directory
+ , file-embed, filepath, github, hashable, mtl, optparse-applicative
+ , process, string-qq, tasty, tasty-hunit, text, unliftio
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "niv";
+ version = "0.1.1";
+ sha256 = "1vrn5b753i949nf28g1wckqiax7pn4qx2xk5z7wdbx0w212nps8w";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson aeson-pretty base bytestring directory file-embed filepath
+ github hashable mtl optparse-applicative process string-qq tasty
+ tasty-hunit text unliftio unordered-containers
+ ];
+ executableHaskellDepends = [
+ aeson aeson-pretty base bytestring directory file-embed filepath
+ github hashable mtl optparse-applicative process string-qq tasty
+ text unliftio unordered-containers
+ ];
+ description = "Easy dependency management for Nix projects";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"nix-delegate" = callPackage
({ mkDerivation, base, bytestring, foldl, managed
, neat-interpolation, optparse-applicative, text, turtle
@@ -165486,15 +168422,13 @@ self: {
}:
mkDerivation {
pname = "nix-eval";
- version = "0.3.3.0";
- sha256 = "1c8hg66s66hkn7f31ynw0km4bpdzhv0zdslzkpycvd36m3jm1wjb";
+ version = "0.4.1.0";
+ sha256 = "12krdqvkfxk587nnnddwmch5v0gpyfhmhjiwyjbf60aby0yj0xb4";
enableSeparateDataOutput = true;
libraryHaskellDepends = [ base hindent process strict ];
testHaskellDepends = [ base QuickCheck tasty tasty-quickcheck ];
description = "Evaluate Haskell expressions using Nix to get packages";
license = "GPL";
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"nix-paths" = callPackage
@@ -165510,6 +168444,26 @@ self: {
maintainers = with stdenv.lib.maintainers; [ peti ];
}) {inherit (pkgs) nix;};
+ "nixfmt" = callPackage
+ ({ mkDerivation, base, cmdargs, directory, filepath, megaparsec
+ , parser-combinators, safe-exceptions, text, unix
+ }:
+ mkDerivation {
+ pname = "nixfmt";
+ version = "0.3.0";
+ sha256 = "0y9r7l2iwy6kqqli8bfcgrcr07pqvpaym895qn21d467ybcmgqih";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base megaparsec parser-combinators text
+ ];
+ executableHaskellDepends = [
+ base cmdargs directory filepath safe-exceptions text unix
+ ];
+ description = "An opinionated formatter for Nix";
+ license = stdenv.lib.licenses.mpl20;
+ }) {};
+
"nixfromnpm" = callPackage
({ mkDerivation, aeson, ansi-terminal, base, bytestring
, classy-prelude, containers, curl, data-default, data-fix
@@ -165693,6 +168647,8 @@ self: {
testHaskellDepends = [ base tasty tasty-hspec tasty-quickcheck ];
description = "A tiny neural network";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"nntp" = callPackage
@@ -165737,6 +168693,17 @@ self: {
broken = true;
}) {};
+ "no-value" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "no-value";
+ version = "1.0.0.0";
+ sha256 = "1jczx8d4ah74wiishdcv335hlr0330wwq0vfb5rv4gmrvbpkgllf";
+ libraryHaskellDepends = [ base ];
+ description = "A type class for choosing sentinel-like values";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"noether" = callPackage
({ mkDerivation, array, async, base, bytestring, containers
, criterion, deepseq, ghc-prim, hashable, hedgehog, mtl, mtl-compat
@@ -165965,20 +168932,6 @@ self: {
}) {nomyx-auth = null;};
"non-empty" = callPackage
- ({ mkDerivation, base, containers, deepseq, QuickCheck, utility-ht
- }:
- mkDerivation {
- pname = "non-empty";
- version = "0.3.1";
- sha256 = "0118vf88pzx1spzx4amc9sxz5vdrmfpryp816fh9l7k5hnzhy0bh";
- libraryHaskellDepends = [
- base containers deepseq QuickCheck utility-ht
- ];
- description = "List-like structures with static restrictions on the number of elements";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "non-empty_0_3_2" = callPackage
({ mkDerivation, base, containers, deepseq, QuickCheck, utility-ht
}:
mkDerivation {
@@ -165991,7 +168944,6 @@ self: {
testHaskellDepends = [ base containers QuickCheck utility-ht ];
description = "List-like structures with static restrictions on the number of elements";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"non-empty-containers" = callPackage
@@ -166099,8 +169051,8 @@ self: {
}:
mkDerivation {
pname = "nonempty-containers";
- version = "0.1.1.0";
- sha256 = "1vhpanz5n7fljc86kxif9kp9fr75wr87wy1fmawd7c5qmhk1b61k";
+ version = "0.3.1.0";
+ sha256 = "15flyfv6w4078wk69d2nb2lx21b76xr6c34rxs0w8jz1mb497f6l";
libraryHaskellDepends = [
base comonad containers deepseq semigroupoids these
];
@@ -166110,26 +169062,19 @@ self: {
];
description = "Non-empty variants of containers data types, with full API";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
- "nonempty-containers_0_2_0_0" = callPackage
- ({ mkDerivation, base, comonad, containers, data-or, deepseq
- , hedgehog, hedgehog-fn, semigroupoids, tasty, tasty-hedgehog, text
+ "nonempty-lift" = callPackage
+ ({ mkDerivation, base, comonad, hedgehog, hedgehog-classes
+ , semigroupoids
}:
mkDerivation {
- pname = "nonempty-containers";
- version = "0.2.0.0";
- sha256 = "1rj8ynavi9h31l4fpivx7xkb7b8gcwcig2yl7d332z4xc76yg0jw";
- libraryHaskellDepends = [
- base comonad containers data-or deepseq semigroupoids
- ];
- testHaskellDepends = [
- base comonad containers data-or hedgehog hedgehog-fn semigroupoids
- tasty tasty-hedgehog text
- ];
- description = "Non-empty variants of containers data types, with full API";
+ pname = "nonempty-lift";
+ version = "0.1";
+ sha256 = "0zz6kh0ihbpjsigs2ssqcif6i85y9ykpx739yzpqz0drqn4013g8";
+ libraryHaskellDepends = [ base comonad semigroupoids ];
+ testHaskellDepends = [ base hedgehog hedgehog-classes ];
+ description = "nonempty structure";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -166334,18 +169279,43 @@ self: {
broken = true;
}) {};
- "notmuch" = callPackage
- ({ mkDerivation, base, bytestring, c2hs, deepseq, mtl, notmuch
- , profunctors, tagged, talloc, text, time
+ "notifications-tray-icon" = callPackage
+ ({ mkDerivation, aeson, async, base, bytestring, containers, dbus
+ , gi-dbusmenu, gi-gio, gi-glib, github, haskeline, hslogger
+ , http-conduit, http-types, optparse-applicative, process
+ , regex-compat, status-notifier-item, text, transformers, tuple
+ , vector
}:
mkDerivation {
- pname = "notmuch";
- version = "0.2.0.0";
- sha256 = "1w3g4747q02m0r0n8l5bkfp8icwwnvkp4bf9amkh7h80vidzmspy";
+ pname = "notifications-tray-icon";
+ version = "0.1.0.0";
+ sha256 = "0w047kwqccwkcykmryn3dmf3kkpjkcffz0slsmyf52va604kk7x4";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bytestring deepseq mtl profunctors tagged text time
+ aeson async base bytestring containers dbus gi-dbusmenu gi-gio
+ gi-glib github hslogger http-conduit http-types process
+ regex-compat status-notifier-item text transformers vector
+ ];
+ executableHaskellDepends = [
+ base bytestring github haskeline hslogger optparse-applicative text
+ transformers tuple
+ ];
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "notmuch" = callPackage
+ ({ mkDerivation, base, bytestring, c2hs, deepseq, filepath, mtl
+ , notmuch, profunctors, tagged, talloc, text, time
+ }:
+ mkDerivation {
+ pname = "notmuch";
+ version = "0.3.0.0";
+ sha256 = "0f4sq7wajxr9d614gyw727g2zbsbfbaw4spni1hgs9c9rllxrmsn";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring deepseq filepath mtl profunctors tagged text time
];
librarySystemDepends = [ notmuch talloc ];
libraryToolDepends = [ c2hs ];
@@ -166429,6 +169399,44 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "now-haskell" = callPackage
+ ({ mkDerivation, aeson, aeson-pretty, aws-lambda-runtime, base
+ , base64-bytestring, bytestring, Cabal, case-insensitive
+ , containers, deepseq, directory, exceptions, filepath
+ , fused-effects, ghc-lib-parser, hspec, http-api-data, http-client
+ , http-client-tls, http-media, http-types, iso8601-time, katip
+ , memory, microlens, mtl, network, QuickCheck, random
+ , safe-exceptions, semigroups, stack, text, time, transformers
+ , unordered-containers, vector, wai, yaml
+ }:
+ mkDerivation {
+ pname = "now-haskell";
+ version = "0.1.0.0";
+ sha256 = "1246jc17bcsm5jmpcbn9w5l5mnq2vvkya1q7jrw7ip5wwi6vaw7m";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base base64-bytestring bytestring case-insensitive containers
+ deepseq exceptions http-api-data http-client http-client-tls
+ http-media http-types iso8601-time katip memory microlens mtl
+ network random safe-exceptions text time transformers
+ unordered-containers vector wai
+ ];
+ executableHaskellDepends = [
+ aeson aeson-pretty base bytestring Cabal containers directory
+ filepath fused-effects ghc-lib-parser stack text yaml
+ ];
+ testHaskellDepends = [
+ aeson aws-lambda-runtime base bytestring containers hspec
+ iso8601-time mtl QuickCheck semigroups text time transformers
+ unordered-containers vector
+ ];
+ description = "Zeit Now haskell-side integration and introspection tools";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"nowdoc" = callPackage
({ mkDerivation, base, bytestring, template-haskell }:
mkDerivation {
@@ -166565,6 +169573,8 @@ self: {
testHaskellDepends = [ base containers hspec pretty ];
description = "A tiny statically typed functional programming language";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"nthable" = callPackage
@@ -166725,8 +169735,8 @@ self: {
pname = "number-show";
version = "0.1.0.0";
sha256 = "01lywbcqg46wrd3qy0jikkh1p45yflypf1vcmrw75qpwji2afjry";
- revision = "1";
- editedCabalFile = "0wzim9xpm78rd71jcgfrz427rjvyvrb7qilkcvw78si7mj9wsxcc";
+ revision = "2";
+ editedCabalFile = "1lsxi6704g6svw0834haggp6j97kb6r51583lr2a3kn1ni2zh60c";
libraryHaskellDepends = [ base microlens microlens-th ];
description = "Flexible and accurate (for a given precision) numerical->string conversion";
license = stdenv.lib.licenses.gpl3;
@@ -166738,6 +169748,8 @@ self: {
pname = "numbered-semigroups";
version = "0.1.0.0";
sha256 = "100r6k3cwycl75mj9g1x4w4qv064v8bdaan5rsj2vnvx4w1jrhp2";
+ revision = "2";
+ editedCabalFile = "04wkhb2r275nax8wh00w6c4pxfaky190g2bsviw39jyi7wr2f33c";
libraryHaskellDepends = [ base call-stack semigroups ];
description = "A sequence of semigroups, for composing stuff in multiple spatial directions";
license = stdenv.lib.licenses.lgpl3;
@@ -166991,8 +170003,6 @@ self: {
libraryHaskellDepends = [ base ];
description = "numeric classes";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"numhask-array" = callPackage
@@ -167002,8 +170012,8 @@ self: {
}:
mkDerivation {
pname = "numhask-array";
- version = "0.3";
- sha256 = "0rx24k34asmkbwsqf0i5gbcc4av4r6pnxpgfw3dxhkgha72a4g9i";
+ version = "0.3.0.1";
+ sha256 = "02pcjnj1y3q053czra9697b4xgyq8dr9ynp7yz3lj9ksnn8dpx5n";
libraryHaskellDepends = [
adjunctions base deepseq dimensions distributive numhask-prelude
protolude singletons vector
@@ -167104,8 +170114,6 @@ self: {
];
description = "numerical spaces";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"numhask-test" = callPackage
@@ -167223,8 +170231,8 @@ self: {
}:
mkDerivation {
pname = "nvim-hs";
- version = "2.1.0.0";
- sha256 = "02i6nvdk99vjy98r666sb3ik79zq8ssri0nhnfn9r60nfcpsrini";
+ version = "2.1.0.2";
+ sha256 = "0amlvrh213n9cfqax5gcy7zq3fd8q9hcskhjkbayvzsyf5hhr1rn";
libraryHaskellDepends = [
base bytestring cereal cereal-conduit conduit containers
data-default deepseq foreign-store hslogger megaparsec messagepack
@@ -167278,16 +170286,17 @@ self: {
}:
mkDerivation {
pname = "nvim-hs-ghcid";
- version = "1.0.0.0";
- sha256 = "06yz73sx2z86dm1yhs3pqpi8g88157885fpm8hd6gkl2q4pjcwc8";
+ version = "2.0.0.0";
+ sha256 = "0i9wc6mgxxzymw1smjvin70i4ynqsn2k3ig36pxmbb6qd0ci0hwg";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
base bytestring containers directory filepath ghcid nvim-hs
nvim-hs-contrib resourcet transformers unliftio yaml
];
+ executableHaskellDepends = [ base nvim-hs ];
description = "Neovim plugin that runs ghcid to update the quickfix list";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"nvvm" = callPackage
@@ -167360,6 +170369,32 @@ self: {
broken = true;
}) {};
+ "nyx-game" = callPackage
+ ({ mkDerivation, async, base, bytestring, containers, deepseq
+ , dlist, lens, mtl, optparse-generic, random, sdl2, sdl2-image
+ , sdl2-mixer, sdl2-ttf, stm, text, vector
+ }:
+ mkDerivation {
+ pname = "nyx-game";
+ version = "1.0.0.0";
+ sha256 = "16a1bkw8i81qcp7diblgkc17snxppdsfqly6diirm0sxpbsx5d8s";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ async base bytestring containers deepseq dlist lens mtl
+ optparse-generic random sdl2 sdl2-image sdl2-mixer sdl2-ttf stm
+ text vector
+ ];
+ executableHaskellDepends = [
+ async base bytestring containers deepseq dlist lens mtl
+ optparse-generic random sdl2 sdl2-image sdl2-mixer sdl2-ttf stm
+ text vector
+ ];
+ description = "A bullet-hell game made with SDL2";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
"o-clock" = callPackage
({ mkDerivation, base, deepseq, doctest, gauge, ghc-prim, Glob
, hedgehog, markdown-unlit, tasty, tasty-hedgehog, tasty-hspec
@@ -167659,6 +170694,8 @@ self: {
testToolDepends = [ tasty-discover ];
description = "An implementation of the Oblivious Transfer protocol in Haskell";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"observable" = callPackage
@@ -167920,8 +170957,8 @@ self: {
}:
mkDerivation {
pname = "oeis2";
- version = "1.0.2";
- sha256 = "1pmyx9w3jg3wsfhqp4hby6px05g09a91s6fiazyvm9yxmhaaxhxd";
+ version = "1.0.3";
+ sha256 = "04dbly6ggadmy1bi10x9bbsa6dvynb5g1m5hdrlzv3mpyfahxvwp";
libraryHaskellDepends = [
aeson base containers http-conduit lens lens-aeson text vector
];
@@ -168030,8 +171067,8 @@ self: {
}:
mkDerivation {
pname = "oidc-client";
- version = "0.4.0.0";
- sha256 = "15lnxxmnpmkvz9zqgz8sq5lzjxvgc5x8a6hrizj3m0mzg9cvml0b";
+ version = "0.4.0.1";
+ sha256 = "0761m8yi8yrqspf9hig6pbdzchz8nvc9qn995wz4v0wklcypiagr";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -168144,8 +171181,6 @@ self: {
];
description = "Haskell utilities for building embedded Elm programs";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"omaketex" = callPackage
@@ -168492,10 +171527,10 @@ self: {
}:
mkDerivation {
pname = "opaleye";
- version = "0.6.7003.1";
- sha256 = "1lj4vz1526l11b0mc5y7j9sxf7v6kkzl8c1jymvb1vrqj2qkgxsx";
- revision = "2";
- editedCabalFile = "1iq2szdw6xajljrmmz373j0wvsnkgg20gpvfiqyrzknpraq3xvj8";
+ version = "0.6.7004.0";
+ sha256 = "1p897zswmxil3yrxgdnjszbafi01gib8rl0y9lay4vqj1mrwa14m";
+ revision = "1";
+ editedCabalFile = "0wxcygykflm06v7m0p3pi7i490c1mjbid8whc9dsc181hfzhr6wl";
libraryHaskellDepends = [
aeson base base16-bytestring bytestring case-insensitive
contravariant postgresql-simple pretty product-profunctors
@@ -168505,13 +171540,42 @@ self: {
testHaskellDepends = [
aeson base containers contravariant dotenv hspec hspec-discover
multiset postgresql-simple product-profunctors profunctors
- QuickCheck semigroups text time transformers
+ QuickCheck semigroups text time transformers uuid
];
testToolDepends = [ hspec-discover ];
description = "An SQL-generating DSL targeting PostgreSQL";
license = stdenv.lib.licenses.bsd3;
}) {};
+ "opaleye_0_6_7004_1" = callPackage
+ ({ mkDerivation, aeson, base, base16-bytestring, bytestring
+ , case-insensitive, containers, contravariant, dotenv, hspec
+ , hspec-discover, multiset, postgresql-simple, pretty
+ , product-profunctors, profunctors, QuickCheck, scientific
+ , semigroups, text, time, time-locale-compat, transformers, uuid
+ , void
+ }:
+ mkDerivation {
+ pname = "opaleye";
+ version = "0.6.7004.1";
+ sha256 = "09jgdqkw8hp82b3x0fg9906gyxwl9gz3hifv2dvrj915fvgiybg1";
+ libraryHaskellDepends = [
+ aeson base base16-bytestring bytestring case-insensitive
+ contravariant postgresql-simple pretty product-profunctors
+ profunctors scientific semigroups text time time-locale-compat
+ transformers uuid void
+ ];
+ testHaskellDepends = [
+ aeson base containers contravariant dotenv hspec hspec-discover
+ multiset postgresql-simple product-profunctors profunctors
+ QuickCheck semigroups text time transformers uuid
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "An SQL-generating DSL targeting PostgreSQL";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"opaleye-classy" = callPackage
({ mkDerivation, base, bytestring, lens, mtl, opaleye
, postgresql-simple, product-profunctors, transformers
@@ -168782,8 +171846,6 @@ self: {
libraryHaskellDepends = [ aeson base data-default text time ];
description = "A Haskell implementation of the Swiss Meteo Net data API";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"opencog-atomspace" = callPackage
@@ -169059,10 +172121,8 @@ self: {
}:
mkDerivation {
pname = "openpgp-asciiarmor";
- version = "0.1.1";
- sha256 = "01zna9zifixnzgalr3k21g9dv143cn49imawm4q9x37i2r9kybxr";
- revision = "1";
- editedCabalFile = "0j4qra3i7g607axj07d7f0ycj07d889nyw2s04m5wc98blbm5k4j";
+ version = "0.1.2";
+ sha256 = "1g99llkpqp7r01xlbq9m9nrii33yagiy1ah4fgdcmjnkmqg64hjk";
libraryHaskellDepends = [
attoparsec base base64-bytestring binary bytestring
];
@@ -169072,7 +172132,7 @@ self: {
];
benchmarkHaskellDepends = [ base bytestring criterion ];
description = "OpenPGP (RFC4880) ASCII Armor codec";
- license = stdenv.lib.licenses.isc;
+ license = stdenv.lib.licenses.mit;
}) {};
"openpgp-crypto-api" = callPackage
@@ -169175,6 +172235,8 @@ self: {
testHaskellDepends = [ base cereal hedgehog time ];
description = "Haskell implementation of openssh protocol primitives";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"openssl-createkey" = callPackage
@@ -169565,36 +172627,6 @@ self: {
}) {};
"opml-conduit" = callPackage
- ({ mkDerivation, base, bytestring, case-insensitive, conduit
- , conduit-combinators, containers, data-default, lens-simple
- , mono-traversable, monoid-subclasses, mtl, parsers, QuickCheck
- , quickcheck-instances, resourcet, safe-exceptions, semigroups
- , tasty, tasty-hunit, tasty-quickcheck, text, time, timerep
- , uri-bytestring, xml-conduit, xml-types
- }:
- mkDerivation {
- pname = "opml-conduit";
- version = "0.6.0.4";
- sha256 = "07axacfa0wik2cnpzcnjjp9w6ws8sjhinzxdc4vrxdxaj1v5a2s8";
- revision = "1";
- editedCabalFile = "160sazqsrmm2755642c5y5i38miiglqb66cy5k0hy4k2jkdmjfbi";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base case-insensitive conduit conduit-combinators containers
- lens-simple mono-traversable monoid-subclasses safe-exceptions
- semigroups text time timerep uri-bytestring xml-conduit xml-types
- ];
- testHaskellDepends = [
- base bytestring conduit conduit-combinators containers data-default
- lens-simple mono-traversable mtl parsers QuickCheck
- quickcheck-instances resourcet semigroups tasty tasty-hunit
- tasty-quickcheck text time uri-bytestring xml-conduit
- ];
- description = "Streaming parser/renderer for the OPML 2.0 format.";
- license = stdenv.lib.licenses.publicDomain;
- }) {};
-
- "opml-conduit_0_7_0_0" = callPackage
({ mkDerivation, base, bytestring, case-insensitive, conduit
, conduit-combinators, containers, data-default, lens-simple
, monoid-subclasses, mtl, parsers, QuickCheck, quickcheck-instances
@@ -169621,6 +172653,7 @@ self: {
description = "Streaming parser/renderer for the OPML 2.0 format.";
license = stdenv.lib.licenses.publicDomain;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"opn" = callPackage
@@ -169639,6 +172672,97 @@ self: {
];
description = "Open files or URLs using associated programs";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "optics" = callPackage
+ ({ mkDerivation, array, base, bytestring, containers, criterion
+ , inspection-testing, lens, mtl, optics-core, optics-extra
+ , optics-th, random, tasty, tasty-hunit, template-haskell
+ , transformers, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "optics";
+ version = "0.1";
+ sha256 = "1xkccyshhzbf8c7v1vi7cw4k1a1gfgw9yl2wfma4q36bv96qq2lk";
+ revision = "1";
+ editedCabalFile = "01hbhb642f596a8dwx6rxq53cqhf40vgr6c3xrbvs025by890mpi";
+ libraryHaskellDepends = [
+ array base containers mtl optics-core optics-extra optics-th
+ transformers
+ ];
+ testHaskellDepends = [
+ base containers inspection-testing mtl optics-core random tasty
+ tasty-hunit template-haskell
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring containers criterion lens transformers
+ unordered-containers vector
+ ];
+ description = "Optics as an abstract interface";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "optics-core" = callPackage
+ ({ mkDerivation, array, base, containers, transformers }:
+ mkDerivation {
+ pname = "optics-core";
+ version = "0.1";
+ sha256 = "0vyvvjlqps0sa03rxp0p2v9vjllff53adn3y6qfwrpc08kxwh7q1";
+ libraryHaskellDepends = [ array base containers transformers ];
+ description = "Optics as an abstract interface: core definitions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "optics-extra" = callPackage
+ ({ mkDerivation, array, base, bytestring, containers, hashable, mtl
+ , optics-core, text, transformers, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "optics-extra";
+ version = "0.1";
+ sha256 = "1z0blxm9gxbzqxxcm9bkj8jvf9apgn8abh0wdc4f220rs32c3v7g";
+ revision = "1";
+ editedCabalFile = "03n8pk423ckyk5rz8z8x9g0amxqpd75lsr90bjsjcp16qak4zjc7";
+ libraryHaskellDepends = [
+ array base bytestring containers hashable mtl optics-core text
+ transformers unordered-containers vector
+ ];
+ description = "Extra utilities and instances for optics-core";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "optics-th" = callPackage
+ ({ mkDerivation, base, containers, mtl, optics-core
+ , template-haskell, th-abstraction, transformers
+ }:
+ mkDerivation {
+ pname = "optics-th";
+ version = "0.1";
+ sha256 = "1fqaxp7divk2wj7mvnsyzclly99l895dss1ssk6dzfgdijjjipk6";
+ revision = "2";
+ editedCabalFile = "1m5wcl6h83hhiyic7khw6lylmb4rvbaskvpssrd52b2a73gpzm69";
+ libraryHaskellDepends = [
+ base containers mtl optics-core template-haskell th-abstraction
+ transformers
+ ];
+ testHaskellDepends = [ base optics-core ];
+ description = "Optics construction using TemplateHaskell";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "optics-vl" = callPackage
+ ({ mkDerivation, base, optics-core, profunctors }:
+ mkDerivation {
+ pname = "optics-vl";
+ version = "0.1";
+ sha256 = "03khw0aqv7wdlym5maasm1l20gj4y1jzci89y592hx3y07mzvapl";
+ revision = "1";
+ editedCabalFile = "06x99059qi5qhsq7cql2l0pk0d1kh8is320xsnxw6qjp2c4hild2";
+ libraryHaskellDepends = [ base optics-core profunctors ];
+ description = "Utilities for compatibility with van Laarhoven optics";
+ license = stdenv.lib.licenses.bsd3;
}) {};
"optima" = callPackage
@@ -169647,8 +172771,8 @@ self: {
}:
mkDerivation {
pname = "optima";
- version = "0.3.0.2";
- sha256 = "116h7rdv7g2h5bjxr883s15hg9l194q3nkyn045w2ygapk4xsimg";
+ version = "0.4";
+ sha256 = "0ryrz9739g1zql9ldll2ilfiyazgz5xixk31wajdqz0xdzqg3bbl";
libraryHaskellDepends = [
attoparsec attoparsec-data base optparse-applicative text
text-builder
@@ -169801,8 +172925,8 @@ self: {
pname = "optparse-applicative";
version = "0.14.3.0";
sha256 = "0qvn1s7jwrabbpmqmh6d6iafln3v3h9ddmxj2y4m0njmzq166ivj";
- revision = "1";
- editedCabalFile = "0ij9kphryag2j9p561mac3jqhhmmlpd3w38vjw8nk3x5vbwidlzs";
+ revision = "2";
+ editedCabalFile = "1a08dqjly1xy730f6jf45frr8g8gap0n1vg9b0mpzpydv0kgzmrp";
libraryHaskellDepends = [
ansi-wl-pprint base process transformers transformers-compat
];
@@ -169811,14 +172935,31 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "optparse-applicative_0_15_0_0" = callPackage
+ ({ mkDerivation, ansi-wl-pprint, base, bytestring, process
+ , QuickCheck, transformers, transformers-compat
+ }:
+ mkDerivation {
+ pname = "optparse-applicative";
+ version = "0.15.0.0";
+ sha256 = "0210rv7scp2063n8pr39bzy7dbl2777zwdnnx6kp3c34jilssjxg";
+ libraryHaskellDepends = [
+ ansi-wl-pprint base process transformers transformers-compat
+ ];
+ testHaskellDepends = [ base bytestring QuickCheck ];
+ description = "Utilities and combinators for parsing command line options";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"optparse-applicative-simple" = callPackage
({ mkDerivation, attoparsec, attoparsec-data, base-prelude
, optparse-applicative, rerebase, text
}:
mkDerivation {
pname = "optparse-applicative-simple";
- version = "1.1";
- sha256 = "0v6nwgk94ax0k281fyxfi42njfi0rw36vrhak9i8k7h5z43xkfr3";
+ version = "1.1.0.2";
+ sha256 = "0vpb2y9niy00msxbz11r6v3qc399lr2rl3x0ih6hpxrm8iihypv7";
libraryHaskellDepends = [
attoparsec attoparsec-data base-prelude optparse-applicative text
];
@@ -169840,6 +172981,20 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "optparse-enum" = callPackage
+ ({ mkDerivation, base, enum-text, fmt, optparse-applicative, text
+ }:
+ mkDerivation {
+ pname = "optparse-enum";
+ version = "1.0.0.0";
+ sha256 = "0d3wpfss1nm42hjn8l7x34ksa7yx5ccc4iglbfvln0rkbqdsjh13";
+ libraryHaskellDepends = [
+ base enum-text fmt optparse-applicative text
+ ];
+ description = "An enum-text based toolkit for optparse-applicative";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"optparse-generic" = callPackage
({ mkDerivation, base, bytestring, Only, optparse-applicative
, semigroups, system-filepath, text, time, transformers, void
@@ -169848,8 +173003,8 @@ self: {
pname = "optparse-generic";
version = "1.3.0";
sha256 = "13rr3hq26dpmbami8vb6d1ig9ywk6jia22sp5dkp6jkfc1c9k4l0";
- revision = "1";
- editedCabalFile = "1fnbgrdzfbw5fhncqv9jl8k752b1rna6nir92k646p8k5zq9hr1d";
+ revision = "3";
+ editedCabalFile = "0vszcjmxywblx5z9yvrz8c6yc104jgr1nv0sbv58ansd3rkjlzfn";
libraryHaskellDepends = [
base bytestring Only optparse-applicative semigroups
system-filepath text time transformers void
@@ -170077,13 +173232,24 @@ self: {
({ mkDerivation, base, containers }:
mkDerivation {
pname = "ordered-containers";
- version = "0.2.1";
- sha256 = "1ycmlwyyflxd2bmrxqydkznqpz98sbs3c84zsszdmwn2dgyjgm01";
+ version = "0.2.2";
+ sha256 = "1j92dm36s0cfhc7s4k3dk36ibkvr6w1nhaq6q1m5vkbh1qrwfnn7";
libraryHaskellDepends = [ base containers ];
description = "Set- and Map-like types that remember the order elements were inserted";
license = stdenv.lib.licenses.bsd3;
}) {};
+ "orderly-workers" = callPackage
+ ({ mkDerivation, base, stm }:
+ mkDerivation {
+ pname = "orderly-workers";
+ version = "0.1.0.2";
+ sha256 = "0w032z05yxl7zqdganxvd8rklzli5k8bya2648hk8scl51q98390";
+ libraryHaskellDepends = [ base stm ];
+ description = "Fork concurrent worker threads and produce ordered results";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"orders" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@@ -170508,6 +173674,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "outsort" = callPackage
+ ({ mkDerivation, async, base, bytestring, conduit
+ , conduit-algorithms, conduit-combinators, conduit-extra
+ , containers, deepseq, directory, exceptions, filemanip, filepath
+ , MissingH, primitive, resourcet, safe, safeio, temporary, text
+ , transformers, transformers-base, vector, vector-algorithms
+ }:
+ mkDerivation {
+ pname = "outsort";
+ version = "0.1.0";
+ sha256 = "13iw9hgsmz1j4lm4ahpi9kjgf3pcayll9fpi3fga48474hpz7gff";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ async base bytestring conduit conduit-algorithms
+ conduit-combinators conduit-extra containers deepseq directory
+ exceptions filemanip filepath MissingH primitive resourcet safe
+ safeio temporary text transformers transformers-base vector
+ vector-algorithms
+ ];
+ description = "External sorting package based on Conduit";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"overhang" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -170534,6 +173724,27 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "overloaded" = callPackage
+ ({ mkDerivation, base, bytestring, containers, fin, generic-lens
+ , ghc, HUnit, lens, sop-core, split, syb, symbols, tasty
+ , tasty-hunit, text, vec
+ }:
+ mkDerivation {
+ pname = "overloaded";
+ version = "0.1";
+ sha256 = "0sb910gk8z3a97vqk9naa079sm84p24jh2jgm39lxagwhmz72w6a";
+ libraryHaskellDepends = [
+ base bytestring containers fin ghc sop-core split syb symbols text
+ vec
+ ];
+ testHaskellDepends = [
+ base bytestring containers fin generic-lens HUnit lens sop-core
+ symbols tasty tasty-hunit text vec
+ ];
+ description = "Overloaded pragmas as a plugin";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"overloaded-records" = callPackage
({ mkDerivation, base, data-default-class, HUnit, template-haskell
, test-framework, test-framework-hunit
@@ -170646,8 +173857,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "packcheck";
- version = "0.4.1";
- sha256 = "056sjs771gdfvbyynb3vaxgabqj747hyhnbfjq83d0nnqyks8rdy";
+ version = "0.4.2";
+ sha256 = "0za6ravq945g9gdm6sbxqklnkg56saap0kjg5ra42dabd1ma4iys";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base ];
benchmarkHaskellDepends = [ base ];
@@ -170732,6 +173943,8 @@ self: {
pname = "packed-multikey-map";
version = "0.1.0.0";
sha256 = "19bh697xazsi22krwjgy83hv1pscnaqx544d5pk0q71wnync5m89";
+ revision = "1";
+ editedCabalFile = "1z6bx1qga02f33l194k2m45gs9cddq9q7q52b2vhv408n09jixrn";
libraryHaskellDepends = [
base constraints containers QuickCheck transformers vector
];
@@ -170789,6 +174002,8 @@ self: {
];
description = "MessagePack Serialization an Deserialization for Packer";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"packman" = callPackage
@@ -170867,34 +174082,30 @@ self: {
}) {};
"pads-haskell" = callPackage
- ({ mkDerivation, base, byteorder, bytestring, Cabal, containers
- , directory, Glob, haskell-src, haskell-src-meta, HUnit
- , mainland-pretty, mtl, normaldistribution, old-locale, parsec
+ ({ mkDerivation, base, byteorder, bytestring, containers, ghc-prim
+ , haskell-src-meta, HUnit, mainland-pretty, mtl, mwc-random, parsec
, QuickCheck, random, regex-posix, syb, template-haskell
, test-framework, test-framework-hunit, test-framework-quickcheck2
, th-lift, time, transformers
}:
mkDerivation {
pname = "pads-haskell";
- version = "0.0.0.1";
- sha256 = "1glf9zfzl8lg6hvqzh76y7kpi1d8jhxgxplnkzz4pdzrh1dfzm9a";
- revision = "1";
- editedCabalFile = "1nfh2i2g4xzqr534hkwa7gygkgsdvyjk4g075n78dp6r48zynbz6";
+ version = "0.1.0.0";
+ sha256 = "0c4by0amwp5kki7h46pygd6p6f5yx0zzlbzcfhd68h5ka0alkfdf";
libraryHaskellDepends = [
- base byteorder bytestring containers Glob haskell-src
- haskell-src-meta HUnit mainland-pretty normaldistribution
- old-locale parsec random regex-posix syb template-haskell th-lift
- time transformers
+ base byteorder bytestring containers ghc-prim haskell-src-meta
+ HUnit mainland-pretty mtl mwc-random parsec random regex-posix syb
+ template-haskell th-lift time transformers
];
testHaskellDepends = [
- base byteorder bytestring Cabal containers directory Glob
- haskell-src haskell-src-meta HUnit mainland-pretty mtl old-locale
- parsec QuickCheck regex-posix syb template-haskell test-framework
+ base byteorder bytestring containers ghc-prim haskell-src-meta
+ HUnit mainland-pretty mtl mwc-random parsec QuickCheck random
+ regex-posix syb template-haskell test-framework
test-framework-hunit test-framework-quickcheck2 th-lift time
transformers
];
description = "PADS data description language for Haskell";
- license = stdenv.lib.licenses.bsd3;
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -171008,61 +174219,68 @@ self: {
}) {};
"pairing" = callPackage
- ({ mkDerivation, base, bytestring, criterion, cryptonite, memory
- , protolude, QuickCheck, random, tasty, tasty-discover, tasty-hunit
- , tasty-quickcheck, wl-pprint-text
- }:
- mkDerivation {
- pname = "pairing";
- version = "0.1.4";
- sha256 = "13g1waqb32by4qlrl2hy3mgrr3lmfwkixy0745xv33vvw8wmm36c";
- libraryHaskellDepends = [
- base bytestring cryptonite memory protolude QuickCheck random
- wl-pprint-text
- ];
- testHaskellDepends = [
- base bytestring cryptonite memory protolude QuickCheck random tasty
- tasty-discover tasty-hunit tasty-quickcheck wl-pprint-text
- ];
- testToolDepends = [ tasty-discover ];
- benchmarkHaskellDepends = [
- base bytestring criterion cryptonite memory protolude QuickCheck
- random tasty tasty-hunit tasty-quickcheck wl-pprint-text
- ];
- description = "Optimal ate pairing over Barreto-Naehrig curves";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "pairing_0_3_0" = callPackage
({ mkDerivation, arithmoi, base, binary, bytestring, criterion
- , cryptonite, errors, integer-logarithms, memory, protolude
- , QuickCheck, quickcheck-instances, random, tasty, tasty-discover
- , tasty-hunit, tasty-quickcheck, wl-pprint-text
+ , errors, galois-field, hexstring, integer-logarithms, memory
+ , MonadRandom, protolude, QuickCheck, quickcheck-instances, random
+ , tasty, tasty-discover, tasty-hunit, tasty-quickcheck
+ , wl-pprint-text
}:
mkDerivation {
pname = "pairing";
- version = "0.3.0";
- sha256 = "1l8kkyb18qm3mv5jzqyj1wgxlnla0kcah42c2837siqlxwajjbsg";
+ version = "0.4.1";
+ sha256 = "0phw8caxrxyr2wlk8gcmrr8k03d0vnc4rq5c88dh3bb9jz4fdpcw";
libraryHaskellDepends = [
- arithmoi base binary bytestring cryptonite errors
- integer-logarithms memory protolude QuickCheck random
+ arithmoi base binary bytestring errors galois-field
+ integer-logarithms memory MonadRandom protolude QuickCheck random
wl-pprint-text
];
testHaskellDepends = [
- arithmoi base binary bytestring cryptonite errors
- integer-logarithms memory protolude QuickCheck quickcheck-instances
- random tasty tasty-discover tasty-hunit tasty-quickcheck
- wl-pprint-text
+ arithmoi base binary bytestring errors galois-field hexstring
+ integer-logarithms memory MonadRandom protolude QuickCheck
+ quickcheck-instances random tasty tasty-discover tasty-hunit
+ tasty-quickcheck wl-pprint-text
];
testToolDepends = [ tasty-discover ];
benchmarkHaskellDepends = [
- arithmoi base binary bytestring criterion cryptonite errors
- integer-logarithms memory protolude QuickCheck quickcheck-instances
- random tasty tasty-hunit tasty-quickcheck wl-pprint-text
+ arithmoi base binary bytestring criterion errors galois-field
+ integer-logarithms memory MonadRandom protolude QuickCheck
+ quickcheck-instances random tasty tasty-hunit tasty-quickcheck
+ wl-pprint-text
];
- description = "Optimal ate pairing over Barreto-Naehrig curves";
+ description = "Bilinear pairings";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "pairing_0_5_0" = callPackage
+ ({ mkDerivation, base, bytestring, criterion, elliptic-curve
+ , errors, galois-field, MonadRandom, protolude, QuickCheck
+ , quickcheck-instances, tasty, tasty-hunit, tasty-quickcheck
+ , wl-pprint-text
+ }:
+ mkDerivation {
+ pname = "pairing";
+ version = "0.5.0";
+ sha256 = "0qnwkkfzd1jiqg4b989knvzzf05aljqjfqv1z35nl2ms46sqdv1b";
+ libraryHaskellDepends = [
+ base bytestring elliptic-curve errors galois-field MonadRandom
+ protolude QuickCheck wl-pprint-text
+ ];
+ testHaskellDepends = [
+ base bytestring elliptic-curve errors galois-field MonadRandom
+ protolude QuickCheck quickcheck-instances tasty tasty-hunit
+ tasty-quickcheck wl-pprint-text
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion elliptic-curve errors galois-field
+ MonadRandom protolude QuickCheck quickcheck-instances tasty
+ tasty-hunit tasty-quickcheck wl-pprint-text
+ ];
+ description = "Bilinear pairings";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"palette" = callPackage
@@ -171130,79 +174348,23 @@ self: {
}) {};
"pandoc" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, base, base64-bytestring
- , binary, blaze-html, blaze-markup, bytestring, Cabal
- , case-insensitive, cmark-gfm, containers, criterion, data-default
- , deepseq, Diff, directory, doctemplates, exceptions
- , executable-path, filepath, Glob, haddock-library, hslua
- , hslua-module-text, HsYAML, HTTP, http-client, http-client-tls
- , http-types, JuicyPixels, mtl, network, network-uri, pandoc-types
- , parsec, process, QuickCheck, random, safe, SHA, skylighting
- , split, syb, tagsoup, tasty, tasty-golden, tasty-hunit
- , tasty-quickcheck, temporary, texmath, text, time
- , unicode-transforms, unix, unordered-containers, vector, weigh
- , xml, zip-archive, zlib
- }:
- mkDerivation {
- pname = "pandoc";
- version = "2.5";
- sha256 = "0bi26r2qljdfxq26gaxj1xnhrawrfndfavs3f3g098x0g3dwazfm";
- revision = "2";
- editedCabalFile = "1z44hcwqqmkmhfak7svrrf950amf008gzhnlxkhwdyjpnpqp21sm";
- configureFlags = [ "-fhttps" "-f-trypandoc" ];
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- setupHaskellDepends = [ base Cabal ];
- libraryHaskellDepends = [
- aeson aeson-pretty base base64-bytestring binary blaze-html
- blaze-markup bytestring case-insensitive cmark-gfm containers
- data-default deepseq directory doctemplates exceptions filepath
- Glob haddock-library hslua hslua-module-text HsYAML HTTP
- http-client http-client-tls http-types JuicyPixels mtl network
- network-uri pandoc-types parsec process random safe SHA skylighting
- split syb tagsoup temporary texmath text time unicode-transforms
- unix unordered-containers vector xml zip-archive zlib
- ];
- executableHaskellDepends = [ base ];
- testHaskellDepends = [
- base base64-bytestring bytestring containers Diff directory
- executable-path filepath Glob hslua pandoc-types process QuickCheck
- tasty tasty-golden tasty-hunit tasty-quickcheck temporary text time
- xml zip-archive
- ];
- benchmarkHaskellDepends = [
- base bytestring containers criterion mtl text time weigh
- ];
- postInstall = ''
- mkdir -p $out/share
- mv $data/*/*/man $out/share/
- '';
- description = "Conversion between markup formats";
- license = stdenv.lib.licenses.gpl2;
- maintainers = with stdenv.lib.maintainers; [ peti ];
- }) {};
-
- "pandoc_2_7_2" = callPackage
({ mkDerivation, aeson, aeson-pretty, attoparsec, base
, base64-bytestring, binary, blaze-html, blaze-markup, bytestring
, case-insensitive, cmark-gfm, containers, criterion, data-default
, deepseq, Diff, directory, doctemplates, exceptions
, executable-path, filepath, Glob, haddock-library, hslua
- , hslua-module-text, HsYAML, HTTP, http-client, http-client-tls
- , http-types, ipynb, JuicyPixels, mtl, network, network-uri
- , pandoc-types, parsec, process, QuickCheck, random, safe
- , scientific, SHA, skylighting, split, syb, tagsoup, tasty
- , tasty-golden, tasty-hunit, tasty-quickcheck, temporary, texmath
- , text, time, unicode-transforms, unix, unordered-containers
- , vector, weigh, xml, zip-archive, zlib
+ , hslua-module-system, hslua-module-text, HsYAML, HTTP, http-client
+ , http-client-tls, http-types, ipynb, JuicyPixels, mtl, network
+ , network-uri, pandoc-types, parsec, process, QuickCheck, random
+ , safe, scientific, SHA, skylighting, split, syb, tagsoup, tasty
+ , tasty-golden, tasty-hunit, tasty-lua, tasty-quickcheck, temporary
+ , texmath, text, time, unicode-transforms, unix
+ , unordered-containers, vector, weigh, xml, zip-archive, zlib
}:
mkDerivation {
pname = "pandoc";
- version = "2.7.2";
- sha256 = "1qjla7zk8whx17qapmv3zji6b98qdpd464gwhi4zv8g4hfzv7010";
- revision = "3";
- editedCabalFile = "17m7pd1d1q7blavh5vv9m9ll2v9z4pj48k7cn3x6k884c9haicwc";
+ version = "2.7.3";
+ sha256 = "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8";
configureFlags = [ "-fhttps" "-f-trypandoc" ];
isLibrary = true;
isExecutable = true;
@@ -171211,19 +174373,19 @@ self: {
aeson aeson-pretty attoparsec base base64-bytestring binary
blaze-html blaze-markup bytestring case-insensitive cmark-gfm
containers data-default deepseq directory doctemplates exceptions
- filepath Glob haddock-library hslua hslua-module-text HsYAML HTTP
- http-client http-client-tls http-types ipynb JuicyPixels mtl
- network network-uri pandoc-types parsec process random safe
- scientific SHA skylighting split syb tagsoup temporary texmath text
- time unicode-transforms unix unordered-containers vector xml
- zip-archive zlib
+ filepath Glob haddock-library hslua hslua-module-system
+ hslua-module-text HsYAML HTTP http-client http-client-tls
+ http-types ipynb JuicyPixels mtl network network-uri pandoc-types
+ parsec process random safe scientific SHA skylighting split syb
+ tagsoup temporary texmath text time unicode-transforms unix
+ unordered-containers vector xml zip-archive zlib
];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base base64-bytestring bytestring containers Diff directory
executable-path filepath Glob hslua pandoc-types process QuickCheck
- tasty tasty-golden tasty-hunit tasty-quickcheck temporary text time
- xml zip-archive
+ tasty tasty-golden tasty-hunit tasty-lua tasty-quickcheck temporary
+ text time xml zip-archive
];
benchmarkHaskellDepends = [
base bytestring containers criterion mtl text time weigh
@@ -171234,45 +174396,10 @@ self: {
'';
description = "Conversion between markup formats";
license = stdenv.lib.licenses.gpl2;
- hydraPlatforms = stdenv.lib.platforms.none;
maintainers = with stdenv.lib.maintainers; [ peti ];
}) {};
"pandoc-citeproc" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring
- , Cabal, containers, data-default, directory, filepath, hs-bibutils
- , mtl, old-locale, pandoc, pandoc-types, parsec, process, rfc5051
- , setenv, split, syb, tagsoup, temporary, text, time
- , unordered-containers, vector, xml-conduit, yaml
- }:
- mkDerivation {
- pname = "pandoc-citeproc";
- version = "0.15.0.1";
- sha256 = "1y4jmralmcikmk75cf5bjlv4ymr42x35a6174ybqa99jmlm5znr9";
- isLibrary = true;
- isExecutable = true;
- enableSeparateDataOutput = true;
- setupHaskellDepends = [ base Cabal ];
- libraryHaskellDepends = [
- aeson base bytestring containers data-default directory filepath
- hs-bibutils mtl old-locale pandoc pandoc-types parsec rfc5051
- setenv split syb tagsoup text time unordered-containers vector
- xml-conduit yaml
- ];
- executableHaskellDepends = [
- aeson aeson-pretty attoparsec base bytestring filepath pandoc
- pandoc-types syb text yaml
- ];
- testHaskellDepends = [
- aeson base bytestring containers directory filepath mtl pandoc
- pandoc-types process temporary text yaml
- ];
- doCheck = false;
- description = "Supports using pandoc with citeproc";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "pandoc-citeproc_0_16_2" = callPackage
({ mkDerivation, aeson, aeson-pretty, attoparsec, base, bytestring
, Cabal, containers, data-default, directory, filepath, hs-bibutils
, libyaml, mtl, network, old-locale, pandoc, pandoc-types, parsec
@@ -171306,7 +174433,6 @@ self: {
doCheck = false;
description = "Supports using pandoc with citeproc";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"pandoc-citeproc-preamble" = callPackage
@@ -171365,8 +174491,8 @@ self: {
({ mkDerivation, base, csv, pandoc, pandoc-types, text }:
mkDerivation {
pname = "pandoc-csv2table";
- version = "1.0.6";
- sha256 = "0yv58p7l0cdk8xnn0nczmnff189dci04jr9psxzsj1yfkrvpc32h";
+ version = "1.0.7";
+ sha256 = "0b6ycr50n24cjlli7jk3dh1shfsl9wqykvmdgabk1s8n2w1ps8sa";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -171399,6 +174525,8 @@ self: {
testToolDepends = [ tasty-discover ];
description = "A Pandoc filter for emphasizing code in fenced blocks";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pandoc-filter-graphviz" = callPackage
@@ -171465,10 +174593,11 @@ self: {
}:
mkDerivation {
pname = "pandoc-include-code";
- version = "1.3.0.0";
- sha256 = "1klmshyakhli0g9prqnllyrh9hsj67lps5b1cxh3jjlb6mxg5ic4";
+ version = "1.4.0.0";
+ sha256 = "0s3dayslfpnivr5h6napcrdh35bay7797z8nxjhr7c78ni7gdax9";
isLibrary = true;
isExecutable = true;
+ enableSeparateDataOutput = true;
libraryHaskellDepends = [
base filepath mtl pandoc-types process text unordered-containers
];
@@ -171517,6 +174646,33 @@ self: {
broken = true;
}) {};
+ "pandoc-markdown-ghci-filter" = callPackage
+ ({ mkDerivation, aeson, base, containers, ghcid, pandoc
+ , pandoc-types, QuickCheck, tasty, tasty-hunit, tasty-quickcheck
+ , text
+ }:
+ mkDerivation {
+ pname = "pandoc-markdown-ghci-filter";
+ version = "0.1.0.0";
+ sha256 = "1m5hiqwkn1a0y3awrk8s7b9wwasspjaa3gdnck6w9xf7vgb5bgza";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ aeson base containers ghcid pandoc pandoc-types text
+ ];
+ executableHaskellDepends = [
+ aeson base containers ghcid pandoc pandoc-types text
+ ];
+ testHaskellDepends = [
+ aeson base containers ghcid pandoc pandoc-types QuickCheck tasty
+ tasty-hunit tasty-quickcheck text
+ ];
+ description = "Pandoc-filter to evaluate `code` section in markdown and auto-embed output";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"pandoc-placetable" = callPackage
({ mkDerivation, aeson, base, bytestring, explicit-exception
, http-conduit, pandoc-types, spreadsheet, text, utf8-string
@@ -171525,6 +174681,7 @@ self: {
pname = "pandoc-placetable";
version = "0.5.1";
sha256 = "0zfqmsq86jvwm4kpjb02whcdxk5xpgaj1sbdh471kr2vz8q4p112";
+ configureFlags = [ "-finlineMarkdown" ];
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -171534,6 +174691,8 @@ self: {
];
description = "Pandoc filter to include CSV files";
license = "GPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pandoc-plantuml-diagrams" = callPackage
@@ -171561,35 +174720,16 @@ self: {
}) {};
"pandoc-pyplot" = callPackage
- ({ mkDerivation, base, containers, directory, filepath
- , pandoc-types, temporary, typed-process
- }:
- mkDerivation {
- pname = "pandoc-pyplot";
- version = "1.0.3.0";
- sha256 = "0nzpww21j79s1ww2q26856m6zq325pz32jjd4hanki7ch0ni2kg2";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- base containers directory filepath pandoc-types temporary
- typed-process
- ];
- executableHaskellDepends = [ base pandoc-types ];
- description = "A Pandoc filter for including figures generated from Matplotlib";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "pandoc-pyplot_2_1_1_1" = callPackage
({ mkDerivation, base, containers, data-default-class, deepseq
, directory, filepath, hashable, hspec, hspec-expectations
- , open-browser, pandoc, pandoc-types, tasty, tasty-hspec
- , tasty-hunit, template-haskell, temporary, text, typed-process
- , yaml
+ , open-browser, optparse-applicative, pandoc, pandoc-types, tasty
+ , tasty-hspec, tasty-hunit, template-haskell, temporary, text
+ , typed-process, yaml
}:
mkDerivation {
pname = "pandoc-pyplot";
- version = "2.1.1.1";
- sha256 = "0m066z26z0w3jq96f4i8r45r1iwzy2wp8hzjq179z6jip4pjfh2m";
+ version = "2.1.5.1";
+ sha256 = "100mn7q5nz7xvhbnhjsfmcf9n6x1gjl71akrnc5j8k2j57bk1kkf";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -171598,7 +174738,8 @@ self: {
];
executableHaskellDepends = [
base data-default-class deepseq directory filepath open-browser
- pandoc pandoc-types template-haskell temporary text
+ optparse-applicative pandoc pandoc-types template-haskell temporary
+ text
];
testHaskellDepends = [
base data-default-class directory filepath hspec hspec-expectations
@@ -171607,6 +174748,7 @@ self: {
description = "A Pandoc filter to include figures generated from Python code blocks";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pandoc-sidenote" = callPackage
@@ -171629,8 +174771,8 @@ self: {
}:
mkDerivation {
pname = "pandoc-stylefrommeta";
- version = "0.2.0.2";
- sha256 = "12yvbh8cx5r6llx0gnz70n1b3zwm3zc8bdciq3cxyfivci5iks2r";
+ version = "0.2.1.1";
+ sha256 = "0jqgpgz1yx85zhm4f6qjaqcj94zi71ab0gam5vdz0jad79szr5l8";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -171648,10 +174790,8 @@ self: {
}:
mkDerivation {
pname = "pandoc-types";
- version = "1.17.5.4";
- sha256 = "09wk2zskr0r2llsyif3s0x7vix05l1ya7qacsmmkrlhba5naib1j";
- revision = "1";
- editedCabalFile = "0bpd2iqmriajl5qg44j4z9c4agb9gsdwbn5l4c5yry6flivysq3c";
+ version = "1.17.6";
+ sha256 = "1c4yf284wd2zbskhrqk0lhqkdyry40db087cdy86b5ywr0yy1li7";
libraryHaskellDepends = [
aeson base bytestring containers deepseq ghc-prim QuickCheck syb
transformers
@@ -171702,8 +174842,8 @@ self: {
({ mkDerivation }:
mkDerivation {
pname = "pandora";
- version = "0.1.4";
- sha256 = "03bjjv31lyjz9s5x7dwvc38wczniclvbrxj0v2rdc2z5bpsw1sg8";
+ version = "0.2.0";
+ sha256 = "0p46z3imh618v7i2734b5nlg9nx3hw4imjchqsx2l7nvkrpkgn64";
description = "A box of patterns and paradigms";
license = stdenv.lib.licenses.mit;
}) {};
@@ -171852,6 +174992,114 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "pantry" = callPackage
+ ({ mkDerivation, aeson, ansi-terminal, array, base, base-orphans
+ , base64-bytestring, bytestring, Cabal, conduit, conduit-extra
+ , containers, contravariant, cryptonite, cryptonite-conduit
+ , deepseq, digest, directory, exceptions, filelock, filepath
+ , generic-deriving, ghc-prim, hackage-security, hashable, hedgehog
+ , hpack, hspec, http-client, http-client-tls, http-conduit
+ , http-download, http-types, integer-gmp, memory, mono-traversable
+ , mtl, network, network-uri, path, path-io, persistent
+ , persistent-sqlite, persistent-template, primitive, QuickCheck
+ , raw-strings-qq, resourcet, rio, rio-orphans, rio-prettyprint
+ , safe, syb, tar-conduit, template-haskell, text, text-metrics
+ , th-lift, th-lift-instances, th-orphans, th-reify-many
+ , th-utilities, time, transformers, unix-compat, unliftio
+ , unordered-containers, vector, yaml, zip-archive
+ }:
+ mkDerivation {
+ pname = "pantry";
+ version = "0.1.1.2";
+ sha256 = "1m1sps9kc7y8zpba486lv5z8an3z8493zxb1qhghql6pybsprsgi";
+ libraryHaskellDepends = [
+ aeson ansi-terminal array base base-orphans base64-bytestring
+ bytestring Cabal conduit conduit-extra containers contravariant
+ cryptonite cryptonite-conduit deepseq digest directory filelock
+ filepath generic-deriving ghc-prim hackage-security hashable hpack
+ http-client http-client-tls http-conduit http-download http-types
+ integer-gmp memory mono-traversable mtl network network-uri path
+ path-io persistent persistent-sqlite persistent-template primitive
+ resourcet rio rio-orphans rio-prettyprint safe syb tar-conduit
+ template-haskell text text-metrics th-lift th-lift-instances
+ th-orphans th-reify-many th-utilities time transformers unix-compat
+ unliftio unordered-containers vector yaml zip-archive
+ ];
+ testHaskellDepends = [
+ aeson ansi-terminal array base base-orphans base64-bytestring
+ bytestring Cabal conduit conduit-extra containers contravariant
+ cryptonite cryptonite-conduit deepseq digest directory exceptions
+ filelock filepath generic-deriving ghc-prim hackage-security
+ hashable hedgehog hpack hspec http-client http-client-tls
+ http-conduit http-download http-types integer-gmp memory
+ mono-traversable mtl network network-uri path path-io persistent
+ persistent-sqlite persistent-template primitive QuickCheck
+ raw-strings-qq resourcet rio rio-orphans rio-prettyprint safe syb
+ tar-conduit template-haskell text text-metrics th-lift
+ th-lift-instances th-orphans th-reify-many th-utilities time
+ transformers unix-compat unliftio unordered-containers vector yaml
+ zip-archive
+ ];
+ description = "Content addressable Haskell package management";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "pantry-tmp" = callPackage
+ ({ mkDerivation, aeson, ansi-terminal, array, base, base-orphans
+ , base64-bytestring, bytestring, Cabal, conduit, conduit-extra
+ , containers, contravariant, cryptonite, cryptonite-conduit
+ , deepseq, digest, directory, exceptions, filelock, filepath
+ , generic-deriving, ghc-prim, hackage-security, hashable, hedgehog
+ , hpack, hspec, http-client, http-client-tls, http-conduit
+ , http-download, http-types, integer-gmp, memory, mono-traversable
+ , mtl, network, network-uri, path, path-io, persistent
+ , persistent-sqlite, persistent-template, primitive, QuickCheck
+ , raw-strings-qq, resourcet, rio, rio-orphans, rio-prettyprint
+ , safe, syb, tar-conduit, template-haskell, text, text-metrics
+ , th-lift, th-lift-instances, th-orphans, th-reify-many
+ , th-utilities, time, transformers, unix-compat, unliftio
+ , unordered-containers, vector, yaml, zip-archive
+ }:
+ mkDerivation {
+ pname = "pantry-tmp";
+ version = "0.1.0.0";
+ sha256 = "18b2ac5kb6xzkxa2c5hhl6n37npxcxzxghi0p5wnv5rps3ahsmnn";
+ revision = "4";
+ editedCabalFile = "0hiashi78cak635jk74bk6m1dwdgyp8m0j5bzg18i776mb1zn09y";
+ libraryHaskellDepends = [
+ aeson ansi-terminal array base base-orphans base64-bytestring
+ bytestring Cabal conduit conduit-extra containers contravariant
+ cryptonite cryptonite-conduit deepseq digest directory filelock
+ filepath generic-deriving ghc-prim hackage-security hashable hpack
+ http-client http-client-tls http-conduit http-download http-types
+ integer-gmp memory mono-traversable mtl network network-uri path
+ path-io persistent persistent-sqlite persistent-template primitive
+ resourcet rio rio-orphans rio-prettyprint safe syb tar-conduit
+ template-haskell text text-metrics th-lift th-lift-instances
+ th-orphans th-reify-many th-utilities time transformers unix-compat
+ unliftio unordered-containers vector yaml zip-archive
+ ];
+ testHaskellDepends = [
+ aeson ansi-terminal array base base-orphans base64-bytestring
+ bytestring Cabal conduit conduit-extra containers contravariant
+ cryptonite cryptonite-conduit deepseq digest directory exceptions
+ filelock filepath generic-deriving ghc-prim hackage-security
+ hashable hedgehog hpack hspec http-client http-client-tls
+ http-conduit http-download http-types integer-gmp memory
+ mono-traversable mtl network network-uri path path-io persistent
+ persistent-sqlite persistent-template primitive QuickCheck
+ raw-strings-qq resourcet rio rio-orphans rio-prettyprint safe syb
+ tar-conduit template-haskell text text-metrics th-lift
+ th-lift-instances th-orphans th-reify-many th-utilities time
+ transformers unix-compat unliftio unordered-containers vector yaml
+ zip-archive
+ ];
+ description = "Content addressable Haskell package management";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"papa" = callPackage
({ mkDerivation, base, papa-base, papa-base-export
, papa-base-implement, papa-bifunctors, papa-bifunctors-export
@@ -172283,6 +175531,17 @@ self: {
broken = true;
}) {};
+ "par-traverse" = callPackage
+ ({ mkDerivation, base, directory, filepath, parallel-io }:
+ mkDerivation {
+ pname = "par-traverse";
+ version = "0.2.0.0";
+ sha256 = "1cbanrhaad3fq2kkpdkb3rh7c8qrc1v7by8v6mg4lrgghdx3msk8";
+ libraryHaskellDepends = [ base directory filepath parallel-io ];
+ description = "Traverse a directory in parallel";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"para" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -172341,6 +175600,8 @@ self: {
pname = "parallel";
version = "3.2.2.0";
sha256 = "1xkfi96w6yfpppd0nw1rnszdxmvifwzm699ilv6332ra3akm610p";
+ revision = "1";
+ editedCabalFile = "0a3kn7arck8f2gwm8cwfkplsw4q9v9j6ifbhj1l3bmclmkwcckcj";
libraryHaskellDepends = [ array base containers deepseq ghc-prim ];
description = "Parallel programming library";
license = stdenv.lib.licenses.bsd3;
@@ -172448,14 +175709,14 @@ self: {
pname = "paramtree";
version = "0.1.1.1";
sha256 = "0ls9wzmz5lk7gyl8lx9cjs49zpwhrv955fs5q6ypv7bpbvjbchs1";
+ revision = "1";
+ editedCabalFile = "0p7zb0xvx88i72garnlihp2q1x5lpsr73jp2qh8lgasy12gy7g0q";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [
base bytestring tasty tasty-golden tasty-hunit temporary
];
description = "Generate labelled test/benchmark trees from sets of parameters";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"paranoia" = callPackage
@@ -172590,6 +175851,8 @@ self: {
pname = "paripari";
version = "0.6.0.0";
sha256 = "1604py5ms14xhmvsxdqx56xfbs3g4wkhjd8f5gsmhpqwz7acy511";
+ revision = "2";
+ editedCabalFile = "074z7wrb1p4c8wxwmqv3nxs6kp835r9pxmmnspqaajj0rag70ny3";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -172663,16 +175926,14 @@ self: {
broken = true;
}) {};
- "parsec_3_1_13_0" = callPackage
+ "parsec_3_1_14_0" = callPackage
({ mkDerivation, base, bytestring, HUnit, mtl, test-framework
, test-framework-hunit, text
}:
mkDerivation {
pname = "parsec";
- version = "3.1.13.0";
- sha256 = "1wc09pyn70p8z6llink10c8pqbh6ikyk554911yfwxv1g91swqbq";
- revision = "2";
- editedCabalFile = "032sizm03m2vdqshkv4sdviyka05gqf8gs6r4hqf9did177i0qnm";
+ version = "3.1.14.0";
+ sha256 = "132waj2cpn892midbhpkfmb74qq83v0zv29v885frlp1gvh94b67";
libraryHaskellDepends = [ base bytestring mtl text ];
testHaskellDepends = [
base HUnit mtl test-framework test-framework-hunit
@@ -172923,13 +176184,25 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "parser-combinators";
- version = "1.0.3";
- sha256 = "0cqic88xwi60x5x6pli0r8401yljvg2cis8a67766zypfg0il3bp";
+ version = "1.1.0";
+ sha256 = "149yhbnrrl108h1jinrsxni3rwrldhphpk9bbmbpr90q5fbl4xmc";
libraryHaskellDepends = [ base ];
description = "Lightweight package providing commonly useful parser combinators";
license = stdenv.lib.licenses.bsd3;
}) {};
+ "parser-combinators_1_2_0" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "parser-combinators";
+ version = "1.2.0";
+ sha256 = "18kfg4sxighqzd64ad98xhc62sh7pd63pv7xhcj601pw922iappa";
+ libraryHaskellDepends = [ base ];
+ description = "Lightweight package providing commonly useful parser combinators";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"parser-combinators-tests" = callPackage
({ mkDerivation, base, hspec, hspec-discover, hspec-expectations
, hspec-megaparsec, megaparsec, megaparsec-tests
@@ -172937,10 +176210,32 @@ self: {
}:
mkDerivation {
pname = "parser-combinators-tests";
- version = "1.0.3";
- sha256 = "0xnmf5sfr9qg2jdcvgjsfvv5b8rd4z06vgk75lsbrwv019srpamm";
+ version = "1.1.0";
+ sha256 = "0m3xgdi1q3q638zfvgpdqyrhfq9abqwjripvbdx5z9rai4whzqmz";
revision = "1";
- editedCabalFile = "08hns8ycdlvqvi0il8077c4mbzf2npvaglzd89979wqpki8jm7l2";
+ editedCabalFile = "0adgbzpylvk9p7ylxynsdrmqhhbh5pm8ww1s3nz3czl79y8lhh47";
+ isLibrary = false;
+ isExecutable = false;
+ testHaskellDepends = [
+ base hspec hspec-expectations hspec-megaparsec megaparsec
+ megaparsec-tests parser-combinators QuickCheck
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Test suite of parser-combinators";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "parser-combinators-tests_1_2_0" = callPackage
+ ({ mkDerivation, base, hspec, hspec-discover, hspec-expectations
+ , hspec-megaparsec, megaparsec, megaparsec-tests
+ , parser-combinators, QuickCheck
+ }:
+ mkDerivation {
+ pname = "parser-combinators-tests";
+ version = "1.2.0";
+ sha256 = "0ainpyrxm03brn6z27jkqp65rc1z3lza00k6mg10506qk83fa52l";
isLibrary = false;
isExecutable = false;
testHaskellDepends = [
@@ -173456,8 +176751,8 @@ self: {
}:
mkDerivation {
pname = "patat";
- version = "0.8.2.2";
- sha256 = "03k4njhn7sasr02446qj8x69hh8af7l35900lrvxr7qv741rc006";
+ version = "0.8.3.0";
+ sha256 = "1dldaqa1qbwdia6rcf0sb6bnqldcpgrimd3yx00idyjy0msl0xh6";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -173488,26 +176783,26 @@ self: {
({ mkDerivation, accelerate, accelerate-arithmetic
, accelerate-cufft, accelerate-fourier, accelerate-io
, accelerate-llvm-ptx, accelerate-utility, array, base, bool8
- , bytestring, Cabal, carray, cassava, containers, dsp, enumset
- , explicit-exception, fft, filepath, gnuplot, JuicyPixels, knead
- , llvm-extra, llvm-tf, non-empty, pqueue, prelude-compat
- , semigroups, storable-complex, storable-tuple, tfp
+ , bytestring, Cabal, carray, cassava, comfort-array, containers
+ , dsp, enumset, explicit-exception, fft, filepath, gnuplot
+ , JuicyPixels, knead, llvm-extra, llvm-tf, non-empty, pqueue
+ , prelude-compat, semigroups, storable-complex, storable-tuple, tfp
, unordered-containers, utility-ht, vector
}:
mkDerivation {
pname = "patch-image";
- version = "0.3.2.1";
- sha256 = "1z8m3lfdd2izb6riqzscc40kk8wc7588l24214sg0bkampss1ysg";
+ version = "0.3.3";
+ sha256 = "0jm723xrbiwpq7sci67z0vilsv8a8i2ndm795ssyqkgqm7g1psby";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
accelerate accelerate-arithmetic accelerate-cufft
accelerate-fourier accelerate-io accelerate-llvm-ptx
accelerate-utility array base bool8 bytestring Cabal carray cassava
- containers dsp enumset explicit-exception fft filepath gnuplot
- JuicyPixels knead llvm-extra llvm-tf non-empty pqueue
- prelude-compat semigroups storable-complex storable-tuple tfp
- unordered-containers utility-ht vector
+ comfort-array containers dsp enumset explicit-exception fft
+ filepath gnuplot JuicyPixels knead llvm-extra llvm-tf non-empty
+ pqueue prelude-compat semigroups storable-complex storable-tuple
+ tfp unordered-containers utility-ht vector
];
description = "Compose a big image from overlapping parts";
license = stdenv.lib.licenses.bsd3;
@@ -173718,8 +177013,8 @@ self: {
({ mkDerivation, base, containers }:
mkDerivation {
pname = "patience";
- version = "0.2.1.1";
- sha256 = "14d6hkrkbanlv09z7dbg8q7hk5ax5mfpgzr0knmcviq02kmzbs0s";
+ version = "0.3";
+ sha256 = "1i1b37lgi31c17yrjyf8pdm4nf5lq8vw90z3rri78hf0k66d0p3i";
libraryHaskellDepends = [ base containers ];
description = "Patience diff and longest increasing subsequence";
license = stdenv.lib.licenses.bsd3;
@@ -173755,8 +177050,8 @@ self: {
({ mkDerivation, base, containers, mtl, QuickCheck }:
mkDerivation {
pname = "pattern-matcher";
- version = "0.1.0.0";
- sha256 = "03adnzwcpc2mqqvfd2akiln0pfq6fn451an8vwxgx9gff0y85x5q";
+ version = "0.1.0.1";
+ sha256 = "1wk4kjdr5a3s6cwzw5cr52bij9ix5apn3vixrj3iycar7zsyzxgz";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [ base containers mtl QuickCheck ];
description = "A library for compiling pattern-matching to decision trees";
@@ -174065,22 +177360,6 @@ self: {
}) {};
"pcg-random" = callPackage
- ({ mkDerivation, base, bytestring, doctest, entropy, primitive
- , random
- }:
- mkDerivation {
- pname = "pcg-random";
- version = "0.1.3.5";
- sha256 = "1920g1babivacds27m0gbjs9mylwiknjykvbrpagzq7r0n4gyhyy";
- libraryHaskellDepends = [
- base bytestring entropy primitive random
- ];
- testHaskellDepends = [ base doctest ];
- description = "Haskell bindings to the PCG random number generator";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "pcg-random_0_1_3_6" = callPackage
({ mkDerivation, base, bytestring, Cabal, cabal-doctest, doctest
, entropy, primitive, random
}:
@@ -174095,7 +177374,6 @@ self: {
testHaskellDepends = [ base doctest ];
description = "Haskell bindings to the PCG random number generator";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"pcgen" = callPackage
@@ -174596,6 +177874,8 @@ self: {
];
description = "Package to solve the Generalized Pell Equation";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"pem" = callPackage
@@ -174623,18 +177903,20 @@ self: {
}:
mkDerivation {
pname = "pencil";
- version = "0.1.3";
- sha256 = "0kga9i19qxp6g51dyavnybfs6znsija87hxsfrxblsyi4gqs9hbp";
+ version = "1.0.1";
+ sha256 = "0a1lb0dclv6p6qkd6nd3zp665n6spkv10yd1i2m67rrqabg802cl";
+ revision = "1";
+ editedCabalFile = "012afvs4wghdw7adz0hw01pmi8ai89r8jhpykdwfyf4ignbrfpvq";
libraryHaskellDepends = [
base data-default directory edit-distance filepath hashable hsass
mtl pandoc parsec semigroups text time unordered-containers vector
xml yaml
];
- testHaskellDepends = [ base doctest text unordered-containers ];
+ testHaskellDepends = [
+ base doctest mtl text unordered-containers
+ ];
description = "Static site generator";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"penn-treebank" = callPackage
@@ -174722,20 +178004,37 @@ self: {
}) {};
"penrose" = callPackage
- ({ mkDerivation, ad, aeson, base, containers, gloss, megaparsec
- , old-time, random, text, websockets
+ ({ mkDerivation, ad, aeson, alex, ansi-terminal, array, base
+ , bytestring, containers, directory, docopt, extra, hmatrix
+ , hslogger, http-types, megaparsec, mtl, multimap, network
+ , old-time, parser-combinators, pretty, pretty-show
+ , pretty-terminal, process, random, random-shuffle, scotty, split
+ , tasty, tasty-hunit, tasty-quickcheck, tasty-smallcheck, text
+ , unordered-containers, uuid, websockets
}:
mkDerivation {
pname = "penrose";
- version = "0.1.0.2";
- sha256 = "0yva42b0av532a99kl0ldcfi229vs2m09w445r981i30xlilg5is";
- isLibrary = false;
+ version = "0.1.1.1";
+ sha256 = "0fak9lsa7gz1q2sbkwd76i01zi5aigi3p7q7gqlmz32y8sxsc8q0";
+ isLibrary = true;
isExecutable = true;
- executableHaskellDepends = [
- ad aeson base containers gloss megaparsec old-time random text
- websockets
+ libraryHaskellDepends = [
+ ad aeson ansi-terminal array base bytestring containers directory
+ docopt extra hmatrix hslogger http-types megaparsec mtl multimap
+ network old-time parser-combinators pretty pretty-show
+ pretty-terminal process random random-shuffle scotty split text
+ unordered-containers uuid websockets
];
- description = "A system that automatically visualize mathematics";
+ libraryToolDepends = [ alex ];
+ executableHaskellDepends = [ base ];
+ testHaskellDepends = [
+ ad aeson ansi-terminal array base bytestring containers directory
+ docopt extra hmatrix hslogger http-types megaparsec mtl multimap
+ network old-time parser-combinators pretty pretty-show
+ pretty-terminal process random random-shuffle scotty split tasty
+ tasty-hunit tasty-quickcheck tasty-smallcheck text uuid websockets
+ ];
+ description = "Create beautiful diagrams just by typing mathematical notation in plain text";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -174779,6 +178078,31 @@ self: {
broken = true;
}) {};
+ "perceptual-hash" = callPackage
+ ({ mkDerivation, base, containers, cpphs, criterion, filepath, hip
+ , hspec, optparse-applicative, par-traverse, primitive, repa, stm
+ , vector, vector-algorithms
+ }:
+ mkDerivation {
+ pname = "perceptual-hash";
+ version = "0.1.2.0";
+ sha256 = "0wj5bnm4f2n2fd1ykf0n5cbf974x34nzy16dh7z2wxv2yn7b4f9r";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ base hip primitive repa vector vector-algorithms
+ ];
+ executableHaskellDepends = [
+ base containers filepath optparse-applicative par-traverse stm
+ ];
+ testHaskellDepends = [ base hspec ];
+ benchmarkHaskellDepends = [ base criterion filepath ];
+ benchmarkToolDepends = [ cpphs ];
+ description = "Find duplicate images";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"perdure" = callPackage
({ mkDerivation, array, base, binary, bytestring, cognimeta-utils
, collections-api, comonad-transformers, containers, cryptohash
@@ -174905,8 +178229,8 @@ self: {
}:
mkDerivation {
pname = "perfect-vector-shuffle";
- version = "0.1.0";
- sha256 = "1nvwbmfqv9bq6423hxafjrvza6ynj3pry4m5ms1g2yf5vsx47w38";
+ version = "0.1.1";
+ sha256 = "1r9w8792r25fgyf7q7jdpnw4rmdvrjfg7g4dn2dk1d3gy4lbabig";
libraryHaskellDepends = [
base MonadRandom primitive random vector
];
@@ -174916,6 +178240,8 @@ self: {
];
description = "Library for performing vector shuffles";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"perfecthash" = callPackage
@@ -175153,8 +178479,8 @@ self: {
pname = "persistent";
version = "2.7.3.1";
sha256 = "1jbvavdvr9qz5ld7vf6l1jgiadhmxx6zc4vqsdk9ivfq6d5wlg1p";
- revision = "1";
- editedCabalFile = "17kdzvhakjqkif1xxrbgh1lwjd0sfd0ikl1jxrjn4il16jy7gazz";
+ revision = "2";
+ editedCabalFile = "0yccajc9j8vih4slpm28dfz2ib1phalbvg7qci78d6vsz1jjilhp";
libraryHaskellDepends = [
aeson attoparsec base base64-bytestring blaze-html blaze-markup
bytestring conduit containers exceptions fast-logger
@@ -175188,6 +178514,8 @@ self: {
pname = "persistent";
version = "2.9.2";
sha256 = "1wsa3kn427v88a6r0vwr6mz23snik2krbsgc8zqp18xajqn5szj9";
+ revision = "1";
+ editedCabalFile = "1v6ll8aggz6gvz53mzfrnb4jsc25dspk39x3vcxpzqkdp8rgz1am";
libraryHaskellDepends = [
aeson attoparsec base base64-bytestring blaze-html blaze-markup
bytestring conduit containers fast-logger http-api-data
@@ -175207,7 +178535,7 @@ self: {
maintainers = with stdenv.lib.maintainers; [ psibi ];
}) {};
- "persistent_2_10_0" = callPackage
+ "persistent_2_10_1" = callPackage
({ mkDerivation, aeson, attoparsec, base, base64-bytestring
, blaze-html, bytestring, conduit, containers, fast-logger, hspec
, http-api-data, monad-logger, mtl, path-pieces, resource-pool
@@ -175216,8 +178544,10 @@ self: {
}:
mkDerivation {
pname = "persistent";
- version = "2.10.0";
- sha256 = "1ja34gdwf72rxnz3v5d9wjri11285fpzxn8sh9ws7ldrx3kfqy1g";
+ version = "2.10.1";
+ sha256 = "1wwka7pxyym12hcvf45qr15n3ig9zyz5y2wl30vgcvwnhawmrsbg";
+ revision = "1";
+ editedCabalFile = "0b2ahki4wqb071rb329mz92gv8xnk0n8m1c39apcdq0pfqfx0a2z";
libraryHaskellDepends = [
aeson attoparsec base base64-bytestring blaze-html bytestring
conduit containers fast-logger http-api-data monad-logger mtl
@@ -175426,19 +178756,27 @@ self: {
}) {};
"persistent-mongoDB" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, bson, bytestring, cereal
- , conduit, containers, http-api-data, mongoDB, network, path-pieces
- , persistent, resource-pool, resourcet, text, time, transformers
- , unliftio-core
+ ({ mkDerivation, aeson, base, blaze-html, bson, bytestring, cereal
+ , conduit, containers, hspec, http-api-data, HUnit, mongoDB
+ , network, path-pieces, persistent, persistent-qq
+ , persistent-template, persistent-test, process, QuickCheck
+ , resource-pool, resourcet, template-haskell, text, time
+ , transformers, unliftio-core
}:
mkDerivation {
pname = "persistent-mongoDB";
- version = "2.8.0";
- sha256 = "12hp7cqdz672r5rhad6xvjpxhrs8v1swiz0d9n7xbn41g11a247l";
+ version = "2.9.0";
+ sha256 = "1xahxmr1rwi2sj809zfqs50kss7ii6df9k52rqr2zxp8q2ipkrx9";
libraryHaskellDepends = [
- aeson attoparsec base bson bytestring cereal conduit containers
- http-api-data mongoDB network path-pieces persistent resource-pool
- resourcet text time transformers unliftio-core
+ aeson base bson bytestring cereal conduit http-api-data mongoDB
+ network path-pieces persistent resource-pool resourcet text time
+ transformers unliftio-core
+ ];
+ testHaskellDepends = [
+ base blaze-html bytestring containers hspec HUnit mongoDB
+ persistent persistent-qq persistent-template persistent-test
+ process QuickCheck template-haskell text time transformers
+ unliftio-core
];
description = "Backend for the persistent library using mongoDB";
license = stdenv.lib.licenses.mit;
@@ -175466,7 +178804,7 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "persistent-mysql_2_10_0" = callPackage
+ "persistent-mysql_2_10_1" = callPackage
({ mkDerivation, aeson, base, blaze-builder, bytestring, conduit
, containers, fast-logger, hspec, HUnit, monad-logger, mysql
, mysql-simple, persistent, persistent-qq, persistent-template
@@ -175475,8 +178813,8 @@ self: {
}:
mkDerivation {
pname = "persistent-mysql";
- version = "2.10.0";
- sha256 = "13y65l0vaiczxndah2djh28j4jhslymb53gnfz3av24kg5vb2y4n";
+ version = "2.10.1";
+ sha256 = "0a75zqfhcd8xigcifi4ksdn5xwyq5qnif1r3yvnkhp5f3vjzm9vj";
libraryHaskellDepends = [
aeson base blaze-builder bytestring conduit containers monad-logger
mysql mysql-simple persistent resource-pool resourcet text
@@ -175540,6 +178878,27 @@ self: {
broken = true;
}) {};
+ "persistent-pagination" = callPackage
+ ({ mkDerivation, base, conduit, containers, esqueleto, foldl, hspec
+ , hspec-discover, microlens, mtl, persistent, persistent-sqlite
+ , persistent-template, QuickCheck, time
+ }:
+ mkDerivation {
+ pname = "persistent-pagination";
+ version = "0.1.1.0";
+ sha256 = "1g2mn2gv9dygx4rrpxi81421dyyy9pdnzrdpqcb5sygcjsqi17ha";
+ libraryHaskellDepends = [
+ base conduit esqueleto foldl microlens mtl persistent
+ ];
+ testHaskellDepends = [
+ base conduit containers esqueleto hspec hspec-discover mtl
+ persistent persistent-sqlite persistent-template QuickCheck time
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Efficient and correct pagination for persistent or esqueleto queries";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"persistent-parser" = callPackage
({ mkDerivation, attoparsec, base, hspec, text }:
mkDerivation {
@@ -175710,8 +179069,6 @@ self: {
];
description = "relational-record on persisten backends";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"persistent-spatial" = callPackage
@@ -175793,7 +179150,7 @@ self: {
maintainers = with stdenv.lib.maintainers; [ psibi ];
}) {inherit (pkgs) sqlite;};
- "persistent-sqlite_2_10_0" = callPackage
+ "persistent-sqlite_2_10_5" = callPackage
({ mkDerivation, aeson, base, bytestring, conduit, containers
, exceptions, fast-logger, hspec, HUnit, microlens-th, monad-logger
, persistent, persistent-template, persistent-test, QuickCheck
@@ -175803,10 +179160,8 @@ self: {
}:
mkDerivation {
pname = "persistent-sqlite";
- version = "2.10.0";
- sha256 = "1h3ls1wg02q7336zqfrpggx64f1wm3x701dvkwvci6yn4hqvkpn2";
- revision = "1";
- editedCabalFile = "1kxqz47h2gxinck114ip75brbm0wsimff5fdzldv72mqv7id66nl";
+ version = "2.10.5";
+ sha256 = "1sghp7ffi383bzlgm83g0l5bzjbs67m6lxn3fsz74y0yy9ix33ha";
configureFlags = [ "-fsystemlib" ];
isLibrary = true;
isExecutable = true;
@@ -175836,10 +179191,10 @@ self: {
}:
mkDerivation {
pname = "persistent-template";
- version = "2.5.4";
- sha256 = "008afcy7zbw7bzp9jww8gdldb51kfm0fg4p0x4xcp61gx4679bjc";
- revision = "4";
- editedCabalFile = "08yb4kcmpqmm50lwrbmavd0zhgg6p7bl8dy026xw644cazrzcvr1";
+ version = "2.6.0";
+ sha256 = "0wr1z2nfrl6jv1lprxb0d2jw4izqfcbcwvkdrhryzg95gjz8ryjv";
+ revision = "1";
+ editedCabalFile = "1p7j3lz0jrczrl25bw7cg0vskhxki065x8r6913sh8l1kvrdbkk8";
libraryHaskellDepends = [
aeson aeson-compat base bytestring containers ghc-prim
http-api-data monad-control monad-logger path-pieces persistent
@@ -175853,7 +179208,7 @@ self: {
maintainers = with stdenv.lib.maintainers; [ psibi ];
}) {};
- "persistent-template_2_7_1" = callPackage
+ "persistent-template_2_7_2" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, criterion
, deepseq, deepseq-generics, file-embed, hspec, http-api-data
, monad-control, monad-logger, path-pieces, persistent, QuickCheck
@@ -175861,8 +179216,8 @@ self: {
}:
mkDerivation {
pname = "persistent-template";
- version = "2.7.1";
- sha256 = "1yki4dvfk2p5cs2gfdnplsfyb1cxakhrdfjxgdgbnc0xxicbzx42";
+ version = "2.7.2";
+ sha256 = "04fpxsbj78gy51bl3jcfg70aaha92v0r48bjwq4pg7ln3cic95i8";
libraryHaskellDepends = [
aeson base bytestring containers http-api-data monad-control
monad-logger path-pieces persistent template-haskell text
@@ -175929,6 +179284,32 @@ self: {
}) {};
"persistent-typed-db" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, conduit, esqueleto, hspec
+ , http-api-data, monad-logger, path-pieces, persistent
+ , persistent-template, resource-pool, resourcet, template-haskell
+ , text, transformers
+ }:
+ mkDerivation {
+ pname = "persistent-typed-db";
+ version = "0.0.1.1";
+ sha256 = "0cn9dyv5gzkjn9jbv2srw94akz1rpgxsvn1hv1ik90a8sl3drh9n";
+ revision = "1";
+ editedCabalFile = "106dkixvzg2zia8hzxsw5fb458v7bka69szlnfxnffa5sdbm8him";
+ libraryHaskellDepends = [
+ aeson base bytestring conduit http-api-data monad-logger
+ path-pieces persistent persistent-template resource-pool resourcet
+ template-haskell text transformers
+ ];
+ testHaskellDepends = [
+ aeson base bytestring conduit esqueleto hspec http-api-data
+ monad-logger path-pieces persistent persistent-template
+ resource-pool resourcet template-haskell text transformers
+ ];
+ description = "Type safe access to multiple database schemata";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "persistent-typed-db_0_1_0_0" = callPackage
({ mkDerivation, aeson, base, bytestring, conduit, esqueleto, hspec
, http-api-data, monad-logger, path-pieces, persistent
, persistent-template, resource-pool, resourcet, template-haskell
@@ -175951,7 +179332,6 @@ self: {
description = "Type safe access to multiple database schemata";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"persistent-vector" = callPackage
@@ -176164,8 +179544,8 @@ self: {
}:
mkDerivation {
pname = "pg-harness-server";
- version = "0.6.1";
- sha256 = "1943rjcj4hbqdpg6vy7pcpq6575iag7bm15z2pdz4r8gfhq9z8an";
+ version = "0.6.2";
+ sha256 = "1wkr0vp41mjvq84q4gr29mwhrs1a805cipan0gamijhsjl2m75yc";
isLibrary = false;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -176175,8 +179555,6 @@ self: {
];
description = "REST service for creating temporary PostgreSQL databases";
license = stdenv.lib.licenses.agpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"pg-recorder" = callPackage
@@ -176238,8 +179616,8 @@ self: {
}:
mkDerivation {
pname = "pg-transact";
- version = "0.1.0.1";
- sha256 = "0zf9mfhpknaa0vggv60gpkfr0ak51n1xbw5lfqx8l8p1kqv3d0jr";
+ version = "0.1.2.0";
+ sha256 = "1xgma50c4pvvb9h2wksx8wl4sf0625ngbsb2c828xd0aqj171qmj";
libraryHaskellDepends = [
base bytestring exceptions monad-control postgresql-simple
transformers
@@ -176255,6 +179633,30 @@ self: {
broken = true;
}) {};
+ "pg-transact_0_2_0_1" = callPackage
+ ({ mkDerivation, base, bytestring, exceptions, hspec
+ , hspec-discover, hspec-expectations-lifted, monad-control
+ , postgresql-simple, tmp-postgres, transformers
+ }:
+ mkDerivation {
+ pname = "pg-transact";
+ version = "0.2.0.1";
+ sha256 = "1abv2h52x624wsrm8lhafsjdsmldghqjksww12b0g119msbsbdq9";
+ libraryHaskellDepends = [
+ base bytestring exceptions monad-control postgresql-simple
+ transformers
+ ];
+ testHaskellDepends = [
+ base bytestring exceptions hspec hspec-discover
+ hspec-expectations-lifted postgresql-simple tmp-postgres
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Another postgresql-simple transaction monad";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"pgdl" = callPackage
({ mkDerivation, base, binary, brick, bytestring, Cabal, conduit
, conduit-extra, configurator, containers, directory
@@ -176797,6 +180199,17 @@ self: {
broken = true;
}) {};
+ "pickle" = callPackage
+ ({ mkDerivation, base, containers, network, text }:
+ mkDerivation {
+ pname = "pickle";
+ version = "0.1.0.0";
+ sha256 = "1jai9ys9mznc8v6z9jsh1yc4xdf12cr3gw7ci2nx9xzjspn4qy8z";
+ libraryHaskellDepends = [ base containers network text ];
+ description = "Instant StatsD in Haskell";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"picologic" = callPackage
({ mkDerivation, base, containers, mtl, parsec, picosat, pretty
, QuickCheck
@@ -176833,6 +180246,8 @@ self: {
pname = "picoparsec";
version = "0.1.2.3";
sha256 = "0l4i5s0yh4jcagcywcx2bwpvky6xy4hisbvwbghjvxpsirkyviwf";
+ revision = "1";
+ editedCabalFile = "0hr042sd52mxkg1s0j4abl0nfqcciz12868r074mq81kj3nbf3g0";
libraryHaskellDepends = [
array base bytestring containers deepseq monoid-subclasses
scientific text
@@ -176907,8 +180322,6 @@ self: {
libraryHaskellDepends = [ base unix ];
description = "Run an IO action protected by a pidfile";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"pier" = callPackage
@@ -177025,6 +180438,28 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "pinboard-notes-backup" = callPackage
+ ({ mkDerivation, aeson, ansi-wl-pprint, base, bytestring
+ , containers, http-client, http-types, mtl, optparse-applicative
+ , req, sqlite-simple, text, time, transformers
+ }:
+ mkDerivation {
+ pname = "pinboard-notes-backup";
+ version = "1.0.4.1";
+ sha256 = "1a0lw43pjfz18aplm2frljwaww37pm2ashxi59j6l5n32lg5573j";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson ansi-wl-pprint base bytestring containers http-client
+ http-types mtl optparse-applicative req sqlite-simple text time
+ transformers
+ ];
+ description = "Back up the notes you've saved to Pinboard";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"pinch" = callPackage
({ mkDerivation, array, base, bytestring, containers, deepseq
, ghc-prim, hashable, hspec, hspec-discover, QuickCheck, semigroups
@@ -177070,15 +180505,17 @@ self: {
"ping" = callPackage
({ mkDerivation, base, cpu, ip, posix-api, primitive
- , primitive-containers, stm, transformers
+ , primitive-addr, primitive-containers, stm, transformers
}:
mkDerivation {
pname = "ping";
- version = "0.1.0.2";
- sha256 = "1cjgs571q5p5r5j94w8cax20r951v08x3cq5a2wd5r852bbgg9ww";
+ version = "0.1.0.3";
+ sha256 = "1h57p53vakjxm3g6inp9wvj5pp71qb0mpcrxbaa707w8v9lyvwwi";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
- base cpu ip posix-api primitive primitive-containers stm
- transformers
+ base cpu ip posix-api primitive primitive-addr primitive-containers
+ stm transformers
];
description = "icmp echo requests";
license = stdenv.lib.licenses.bsd3;
@@ -177195,6 +180632,29 @@ self: {
license = stdenv.lib.licenses.bsd2;
}) {};
+ "piped" = callPackage
+ ({ mkDerivation, base, conduit, gauge, microlens-platform, mtl
+ , quickcheck-instances, tasty, tasty-discover, tasty-golden
+ , tasty-hunit, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "piped";
+ version = "0.1.0.0";
+ sha256 = "0f7j4mzdcmw7lnmq73hr6wfi64jjg350bmf0w1pf1rgma2wb9cl0";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base mtl ];
+ testHaskellDepends = [
+ base conduit gauge microlens-platform mtl quickcheck-instances
+ tasty tasty-discover tasty-golden tasty-hunit tasty-quickcheck
+ ];
+ testToolDepends = [ tasty-discover ];
+ description = "Conduit with a smaller core";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"pipeline" = callPackage
({ mkDerivation, base, transformers }:
mkDerivation {
@@ -177213,10 +180673,8 @@ self: {
}:
mkDerivation {
pname = "pipes";
- version = "4.3.9";
- sha256 = "1jqs4x3xw2ya3834p36p1ycx8nxjgn2ypaibhdv97xcw3wsxlk2w";
- revision = "2";
- editedCabalFile = "0pw4i3pdg3i98a9mbps0ycgb70vf4p7dqv08xf365iy4dzdm3a1i";
+ version = "4.3.12";
+ sha256 = "0ni5szs9jl4map05lcyl97dgb69g2xk1a1rdiw8p4024vfyskp8c";
libraryHaskellDepends = [
base exceptions mmorph mtl semigroups transformers void
];
@@ -177453,6 +180911,27 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "pipes-cborg" = callPackage
+ ({ mkDerivation, base, bytestring, cborg, ghc-prim, pipes
+ , pipes-bytestring, pipes-parse, QuickCheck, serialise, tasty
+ , tasty-quickcheck, transformers
+ }:
+ mkDerivation {
+ pname = "pipes-cborg";
+ version = "0.1";
+ sha256 = "1ihngg2gvlyq40wnpajhbb7xpj028pk1k08xay19ir4n9mmx4jrn";
+ libraryHaskellDepends = [
+ base bytestring cborg ghc-prim pipes pipes-bytestring pipes-parse
+ serialise transformers
+ ];
+ testHaskellDepends = [
+ base bytestring cborg pipes pipes-bytestring QuickCheck serialise
+ tasty tasty-quickcheck transformers
+ ];
+ description = "Encode and decode cborg streams using the pipes and cborg libraries";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"pipes-cellular" = callPackage
({ mkDerivation, base, bytestring, data-cell, pipes }:
mkDerivation {
@@ -177661,6 +181140,8 @@ self: {
pname = "pipes-extras";
version = "1.0.15";
sha256 = "1cyb05bv5xkarab3090ikpjiqm79lr46n3nalplliz8jr4x67a82";
+ revision = "1";
+ editedCabalFile = "0xrd5zwkr1c7lswzi91gxl3ndra8y9g2b4j00sszyy3w187a2zwi";
libraryHaskellDepends = [ base foldl lens pipes transformers ];
testHaskellDepends = [
base HUnit pipes test-framework test-framework-hunit transformers
@@ -177743,6 +181224,8 @@ self: {
pname = "pipes-group";
version = "1.0.12";
sha256 = "1issfj3syi6lfbcdn3bhlbnlh86s92ldsb04c4ac69xipsgyhwqk";
+ revision = "1";
+ editedCabalFile = "0ws99n692c9km68n9y3x0b5bqdg3b47sva04nx9a4xdqr8p5akps";
libraryHaskellDepends = [
base free pipes pipes-parse transformers
];
@@ -177969,13 +181452,13 @@ self: {
}) {};
"pipes-ordered-zip" = callPackage
- ({ mkDerivation, base, foldl, pipes }:
+ ({ mkDerivation, base, foldl, hspec, pipes, pipes-safe }:
mkDerivation {
pname = "pipes-ordered-zip";
- version = "1.0.0.1";
- sha256 = "18qm08h5mq8pyn7cx1dabvmj63mhykm4cqsxhqsb7qf1kv70nqc8";
- libraryHaskellDepends = [ base pipes ];
- testHaskellDepends = [ base foldl pipes ];
+ version = "1.1.0";
+ sha256 = "1fs0qyhc4a7xnglxl7b1d615s9ajml6pvch337ivny31cxrngcsa";
+ libraryHaskellDepends = [ base pipes pipes-safe ];
+ testHaskellDepends = [ base foldl hspec pipes pipes-safe ];
description = "merge two ordered Producers into a new Producer";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -178080,8 +181563,6 @@ self: {
libraryHaskellDepends = [ base mwc-random pipes vector ];
description = "Producers for handling randomness";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"pipes-rt" = callPackage
@@ -178130,8 +181611,8 @@ self: {
}:
mkDerivation {
pname = "pipes-safe";
- version = "2.3.1";
- sha256 = "0dfdd3fccfd7wfn5228hbfj3h10xq01sddpy1v2ds63wlg84kwly";
+ version = "2.3.2";
+ sha256 = "10m6f52nahxwnl2zvgnbilllcvd3lpi0dxl3j6fk20lryjzmhyqc";
libraryHaskellDepends = [
base containers exceptions monad-control mtl pipes primitive
transformers transformers-base
@@ -178533,6 +182014,26 @@ self: {
broken = true;
}) {};
+ "pkgtreediff" = callPackage
+ ({ mkDerivation, async, base, directory, filepath, Glob
+ , http-directory, simple-cmd, simple-cmd-args, text
+ }:
+ mkDerivation {
+ pname = "pkgtreediff";
+ version = "0.3";
+ sha256 = "0n39cn75cdxzk39hn6fiimb7rm1qrvksmqidy5fgnx997y78z8s9";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ async base directory filepath Glob http-directory simple-cmd
+ simple-cmd-args text
+ ];
+ description = "Package tree diff tool";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"pktree" = callPackage
({ mkDerivation, base, containers }:
mkDerivation {
@@ -178650,8 +182151,6 @@ self: {
];
description = "Token Introspection for PlanB";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"planet-mitchell" = callPackage
@@ -179092,8 +182591,8 @@ self: {
}:
mkDerivation {
pname = "plots";
- version = "0.1.1.0";
- sha256 = "0hhmxwz18d2wdj2xnf9mn51ibym5dxc1gmji87cdccdf6a4wcxpa";
+ version = "0.1.1.2";
+ sha256 = "01w56qhyw8w6g8xffrvkp7d6k8l4w9as8v900v29jaq7gz680fhs";
libraryHaskellDepends = [
adjunctions base base-orphans colour containers data-default
diagrams-core diagrams-lib directory distributive filepath
@@ -179103,8 +182602,6 @@ self: {
];
description = "Diagrams based plotting library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"plotserver-api" = callPackage
@@ -179121,14 +182618,15 @@ self: {
"plugins" = callPackage
({ mkDerivation, array, base, Cabal, containers, directory
, filepath, ghc, ghc-paths, ghc-prim, haskell-src, process, random
+ , split
}:
mkDerivation {
pname = "plugins";
- version = "1.5.7";
- sha256 = "1l9ymnsxvgjp7p2j5mvyygrsg7qf2yam1k4y3gz8s2l6kl78ri5f";
+ version = "1.6.0";
+ sha256 = "0wbmvcb2j4qi29yrmvjfhdf8251lam5yiqshk9gf6dlprz2kvww1";
libraryHaskellDepends = [
array base Cabal containers directory filepath ghc ghc-paths
- ghc-prim haskell-src process random
+ ghc-prim haskell-src process random split
];
description = "Dynamic linking for Haskell and C objects";
license = stdenv.lib.licenses.bsd3;
@@ -179195,6 +182693,8 @@ self: {
testHaskellDepends = [ base hedgehog hedgehog-classes ];
description = "Plurality monad: Zero, one, or at least two";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"plural" = callPackage
@@ -179412,8 +182912,8 @@ self: {
}:
mkDerivation {
pname = "pointfree";
- version = "1.1.1.4";
- sha256 = "03jnhppm39zdfrmg1784p1y5r7r5wd5di2ddq5d71slifq7j5wd1";
+ version = "1.1.1.5";
+ sha256 = "1h5igixmn36k9b4mnc7lgalc4i88yg71h396wzqnh041jz28y6wc";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -179437,8 +182937,8 @@ self: {
}:
mkDerivation {
pname = "pointfree-fancy";
- version = "1.1.1.13";
- sha256 = "0f761h5a8byfpkf8nby4wkhra64qv7fzs3rx6gf4v07w9b2s5ph8";
+ version = "1.1.1.14";
+ sha256 = "08b2dslkblxch8k6wlc6xx50lva8abdkdwibgfxdj2yw4mgdnhry";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -179471,8 +182971,6 @@ self: {
executableHaskellDepends = [ base ];
description = "Pointful refactoring tool";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"pointless-fun" = callPackage
@@ -179668,22 +183166,24 @@ self: {
}) {};
"poly" = callPackage
- ({ mkDerivation, base, primitive, QuickCheck, quickcheck-classes
- , semirings, tasty, tasty-quickcheck, vector
+ ({ mkDerivation, base, gauge, primitive, QuickCheck
+ , quickcheck-classes, semirings, tasty, tasty-quickcheck, vector
+ , vector-algorithms
}:
mkDerivation {
pname = "poly";
- version = "0.2.0.0";
- sha256 = "19jdm2508ncwcci8bi9hwpaak3cymhbynnk3whmh0g6rny6zdla4";
- libraryHaskellDepends = [ base primitive semirings vector ];
+ version = "0.3.1.0";
+ sha256 = "1c8xnkqxwzbpx01clz9spz9zwa18qhsbvscrc381r0f46cjax2ph";
+ libraryHaskellDepends = [
+ base primitive semirings vector vector-algorithms
+ ];
testHaskellDepends = [
base QuickCheck quickcheck-classes semirings tasty tasty-quickcheck
vector
];
+ benchmarkHaskellDepends = [ base gauge semirings vector ];
description = "Polynomials";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"poly-arity" = callPackage
@@ -179844,65 +183344,174 @@ self: {
license = "LGPL";
}) {};
+ "polyparse_1_13" = callPackage
+ ({ mkDerivation, base, bytestring, text }:
+ mkDerivation {
+ pname = "polyparse";
+ version = "1.13";
+ sha256 = "0yvhg718dlksiw3v27m2d8m1sn4r4f5s0p56zq3lynhy1sc74k0w";
+ libraryHaskellDepends = [ base bytestring text ];
+ description = "A variety of alternative parser combinator libraries";
+ license = "LGPL";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"polysemy" = callPackage
- ({ mkDerivation, base, criterion, free, freer-simple, hspec
- , inspection-testing, mtl, random, syb, template-haskell
- , transformers
+ ({ mkDerivation, async, base, containers, criterion, doctest
+ , first-class-families, free, freer-simple, hspec, hspec-discover
+ , inspection-testing, mtl, syb, template-haskell, th-abstraction
+ , transformers, type-errors, type-errors-pretty, unagi-chan
}:
mkDerivation {
pname = "polysemy";
- version = "0.2.0.0";
- sha256 = "0bcqvvcpfcgx6ckz0ry942z92nvhwqva9gz4bznr9fc26i0amsjw";
+ version = "1.0.0.0";
+ sha256 = "1y63vwrmmany62ci2sdd8kfmkrigk0vds2kjpxmyh9nsvw5fv576";
libraryHaskellDepends = [
- base mtl random syb template-haskell transformers
+ async base containers first-class-families mtl syb template-haskell
+ th-abstraction transformers type-errors type-errors-pretty
+ unagi-chan
];
testHaskellDepends = [
- base hspec inspection-testing mtl random syb template-haskell
- transformers
+ async base containers doctest first-class-families hspec
+ inspection-testing mtl syb template-haskell th-abstraction
+ transformers type-errors type-errors-pretty unagi-chan
];
+ testToolDepends = [ hspec-discover ];
benchmarkHaskellDepends = [
- base criterion free freer-simple mtl random syb template-haskell
- transformers
+ async base containers criterion first-class-families free
+ freer-simple mtl syb template-haskell th-abstraction transformers
+ type-errors type-errors-pretty unagi-chan
];
description = "Higher-order, low-boilerplate, zero-cost free monads";
license = stdenv.lib.licenses.bsd3;
}) {};
+ "polysemy_1_2_0_0" = callPackage
+ ({ mkDerivation, async, base, containers, criterion, doctest
+ , first-class-families, free, freer-simple, hspec, hspec-discover
+ , inspection-testing, mtl, stm, syb, template-haskell
+ , th-abstraction, transformers, type-errors, type-errors-pretty
+ , unagi-chan
+ }:
+ mkDerivation {
+ pname = "polysemy";
+ version = "1.2.0.0";
+ sha256 = "14cl4h78vhi83c3ccz3hy1cbh21a7ry7n5z2i7m3zm2cyj4sbw4q";
+ libraryHaskellDepends = [
+ async base containers first-class-families mtl stm syb
+ template-haskell th-abstraction transformers type-errors
+ type-errors-pretty unagi-chan
+ ];
+ testHaskellDepends = [
+ async base containers doctest first-class-families hspec
+ inspection-testing mtl stm syb template-haskell th-abstraction
+ transformers type-errors type-errors-pretty unagi-chan
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ async base containers criterion first-class-families free
+ freer-simple mtl stm syb template-haskell th-abstraction
+ transformers type-errors type-errors-pretty unagi-chan
+ ];
+ description = "Higher-order, low-boilerplate, zero-cost free monads";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "polysemy-RandomFu" = callPackage
+ ({ mkDerivation, base, hspec, hspec-discover, polysemy
+ , polysemy-plugin, polysemy-zoo, random-fu, random-source, text
+ , vector
+ }:
+ mkDerivation {
+ pname = "polysemy-RandomFu";
+ version = "0.3.0.0";
+ sha256 = "17qh2p7nh091kgywdzfd8ckzk6vczm9zxyp9vs94c1ld9qxrhkv8";
+ libraryHaskellDepends = [
+ base polysemy polysemy-plugin polysemy-zoo random-fu random-source
+ ];
+ testHaskellDepends = [
+ base hspec polysemy polysemy-plugin polysemy-zoo random-fu
+ random-source text vector
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Experimental, RandomFu effect and interpreters for polysemy";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"polysemy-plugin" = callPackage
- ({ mkDerivation, base, ghc, ghc-tcplugins-extra, hspec
- , inspection-testing, polysemy, should-not-typecheck, syb
- , transformers
+ ({ mkDerivation, base, containers, doctest, ghc
+ , ghc-tcplugins-extra, hspec, hspec-discover, inspection-testing
+ , polysemy, should-not-typecheck, syb, transformers
}:
mkDerivation {
pname = "polysemy-plugin";
- version = "0.2.0.0";
- sha256 = "1qzhza8p462cm5brxyh2kv7yr39b2756h4h6yfls41smrfa7h05z";
+ version = "0.2.3.0";
+ sha256 = "1icaxdw2670svhns5g40d1kzxxx3yhcza660a0csdh83f3jzjy2w";
libraryHaskellDepends = [
- base ghc ghc-tcplugins-extra polysemy syb transformers
+ base containers ghc ghc-tcplugins-extra polysemy syb transformers
];
testHaskellDepends = [
- base ghc ghc-tcplugins-extra hspec inspection-testing polysemy
- should-not-typecheck syb transformers
+ base containers doctest ghc ghc-tcplugins-extra hspec
+ inspection-testing polysemy should-not-typecheck syb transformers
];
+ testToolDepends = [ hspec-discover ];
description = "Disambiguate obvious uses of effects";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"polysemy-zoo" = callPackage
- ({ mkDerivation, base, containers, hspec, polysemy, polysemy-plugin
+ ({ mkDerivation, async, base, binary, bytestring, constraints
+ , containers, ghc-prim, hedis, hspec, hspec-discover, mtl, polysemy
+ , polysemy-plugin, random, reflection
}:
mkDerivation {
pname = "polysemy-zoo";
- version = "0.1.1.0";
- sha256 = "1ivabmyhbajwsykq9dbx3mhybki2cnpl74cx7pcfb5i7c99qmk23";
+ version = "0.5.0.1";
+ sha256 = "06ggm3qinabwp5bha858anwdvw726wzl738wpgf1kd9mgivbv53w";
libraryHaskellDepends = [
- base containers polysemy polysemy-plugin
+ async base binary bytestring constraints containers ghc-prim hedis
+ mtl polysemy polysemy-plugin random reflection
];
testHaskellDepends = [
- base containers hspec polysemy polysemy-plugin
+ async base binary bytestring constraints containers ghc-prim hedis
+ hspec mtl polysemy polysemy-plugin random reflection
];
+ testToolDepends = [ hspec-discover ];
description = "Experimental, user-contributed effects and interpreters for polysemy";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "polysemy-zoo_0_6_0_0" = callPackage
+ ({ mkDerivation, async, base, binary, bytestring, constraints
+ , containers, contravariant, ghc-prim, hedis, hspec, hspec-discover
+ , mtl, polysemy, polysemy-plugin, random, reflection, transformers
+ }:
+ mkDerivation {
+ pname = "polysemy-zoo";
+ version = "0.6.0.0";
+ sha256 = "1d8h1hmq59b4igxdym83rd4ggcq45jb5zb0sdyvacqiicy5rnzhz";
+ libraryHaskellDepends = [
+ async base binary bytestring constraints containers contravariant
+ ghc-prim hedis mtl polysemy polysemy-plugin random reflection
+ transformers
+ ];
+ testHaskellDepends = [
+ async base binary bytestring constraints containers contravariant
+ ghc-prim hedis hspec mtl polysemy polysemy-plugin random reflection
+ transformers
+ ];
+ testToolDepends = [ hspec-discover ];
+ description = "Experimental, user-contributed effects and interpreters for polysemy";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"polyseq" = callPackage
@@ -180254,7 +183863,7 @@ self: {
"poppler" = callPackage
({ mkDerivation, array, base, bytestring, Cabal, cairo, containers
- , gdk_pixbuf, glib, gtk, gtk2, gtk2hs-buildtools, mtl, pango
+ , gdk-pixbuf, glib, gtk, gtk2, gtk2hs-buildtools, mtl, pango
, poppler
}:
mkDerivation {
@@ -180266,13 +183875,13 @@ self: {
libraryHaskellDepends = [
array base bytestring cairo containers glib gtk mtl
];
- libraryPkgconfigDepends = [ gdk_pixbuf gtk2 pango poppler ];
+ libraryPkgconfigDepends = [ gdk-pixbuf gtk2 pango poppler ];
libraryToolDepends = [ gtk2hs-buildtools ];
description = "Binding to the Poppler";
license = stdenv.lib.licenses.gpl2;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) gdk_pixbuf; inherit (pkgs) gtk2;
+ }) {inherit (pkgs) gdk-pixbuf; inherit (pkgs) gtk2;
inherit (pkgs) pango; inherit (pkgs) poppler;};
"populate-setup-exe-cache" = callPackage
@@ -180374,16 +183983,14 @@ self: {
}) {};
"porter" = callPackage
- ({ mkDerivation, haskell2010 }:
+ ({ mkDerivation, base }:
mkDerivation {
pname = "porter";
- version = "0.1";
- sha256 = "0aw1gq7z3h5ag5vzl6crw7vijg9w25s0jvxr4rkniv4jk0wlfmnk";
- libraryHaskellDepends = [ haskell2010 ];
+ version = "0.1.0.2";
+ sha256 = "12pvav3xx4mdjnvza15yhkdcphxlsjns2s1i66h2nfgbb9lc8h0q";
+ libraryHaskellDepends = [ base ];
description = "Implementation of the Porter stemming algorithm";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ports" = callPackage
@@ -180459,15 +184066,23 @@ self: {
}) {inherit (pkgs) acl;};
"posix-api" = callPackage
- ({ mkDerivation, base, primitive, tasty, tasty-hunit }:
+ ({ mkDerivation, base, primitive, primitive-addr, primitive-offset
+ , primitive-unlifted, tasty, tasty-hunit
+ }:
mkDerivation {
pname = "posix-api";
- version = "0.2.1.0";
- sha256 = "1vxasjdy3l41brzyrjqv13zazm1ryqy496p2rfvm19062bfpixji";
- libraryHaskellDepends = [ base primitive ];
- testHaskellDepends = [ base primitive tasty tasty-hunit ];
+ version = "0.3.2.0";
+ sha256 = "1ki45p31cc1zplzsi9kln85rm556rwk5yvwgsb75bcgqwg6xpcl8";
+ libraryHaskellDepends = [
+ base primitive primitive-addr primitive-offset primitive-unlifted
+ ];
+ testHaskellDepends = [
+ base primitive primitive-unlifted tasty tasty-hunit
+ ];
description = "posix bindings";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"posix-error-codes" = callPackage
@@ -180659,6 +184274,17 @@ self: {
broken = true;
}) {};
+ "postgres-options" = callPackage
+ ({ mkDerivation, base, bytestring }:
+ mkDerivation {
+ pname = "postgres-options";
+ version = "0.1.0.1";
+ sha256 = "0pysvgg2p032j5a9qdysbndy0a0fzm41zgv070cwqk199w1lh3h7";
+ libraryHaskellDepends = [ base bytestring ];
+ description = "An Options type representing options for postgres connections";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"postgres-tmp" = callPackage
({ mkDerivation, base, bytestring, postgresql-simple, text }:
mkDerivation {
@@ -180719,8 +184345,8 @@ self: {
}:
mkDerivation {
pname = "postgresql-binary";
- version = "0.12.1.2";
- sha256 = "10h5299fxqmfz0kxyvivfy396q35gzg60spnjagyha33kx5m3bc3";
+ version = "0.12.1.3";
+ sha256 = "0y2irx1fw0xqs77qpaa3lk06r2q7j7wzbzriyc274h6lmn85sjdw";
libraryHaskellDepends = [
aeson base base-prelude binary-parser bytestring
bytestring-strict-builder containers loch-th network-ip
@@ -180859,16 +184485,14 @@ self: {
}:
mkDerivation {
pname = "postgresql-lo-stream";
- version = "0.1.1.0";
- sha256 = "196f6lz8i8y0cfnd4lqjky69wpi0mc2jfs7jz5v0j3r15jbs5212";
+ version = "0.1.1.1";
+ sha256 = "0m2s717qb42ywiqvdi18nybjadkivygfi2pbflip5rvphqfc8k8x";
libraryHaskellDepends = [
base bytestring io-streams lifted-base monad-loops mtl
postgresql-simple
];
description = "Utilities for streaming PostgreSQL LargeObjects";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"postgresql-named" = callPackage
@@ -180927,10 +184551,8 @@ self: {
}:
mkDerivation {
pname = "postgresql-query";
- version = "3.5.0";
- sha256 = "1sh8kgfqy1kipz99v74xkxzfggbxxjq2gwswa94m1spy6r7k7avp";
- revision = "1";
- editedCabalFile = "11clkx7j4k3wgk6h1g0flq7frvkfxhh4dhbjjrchc5f7rd5gmjbp";
+ version = "3.6.0";
+ sha256 = "1mf9441yb72jl1gm9zpfgwwjdiipcl0gghnazf1871dgvahbx3jz";
libraryHaskellDepends = [
aeson attoparsec base blaze-builder bytestring containers
data-default exceptions file-embed haskell-src-meta hreader hset
@@ -180983,6 +184605,8 @@ self: {
pname = "postgresql-simple";
version = "0.6.2";
sha256 = "15pkflx48mgv4fjmnagyfh06q065k8m8c98bysc3gm6m4srz5ypv";
+ revision = "1";
+ editedCabalFile = "0v8a7ylnbl8iv6v3blahrsnggk3kldvrq2gpq1fxni8y2jmc96d6";
libraryHaskellDepends = [
aeson attoparsec base bytestring bytestring-builder
case-insensitive containers hashable Only postgresql-libpq
@@ -181021,6 +184645,21 @@ self: {
broken = true;
}) {};
+ "postgresql-simple-interpolate" = callPackage
+ ({ mkDerivation, base, haskell-src-meta, mtl, parsec
+ , postgresql-simple, template-haskell
+ }:
+ mkDerivation {
+ pname = "postgresql-simple-interpolate";
+ version = "0.1";
+ sha256 = "0nq4j1lbylklsz3fhc4y7rh6c4lfzzfyha65g6i22mbpx51vdf30";
+ libraryHaskellDepends = [
+ base haskell-src-meta mtl parsec postgresql-simple template-haskell
+ ];
+ description = "Interpolated SQL queries via quasiquotation";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"postgresql-simple-migration" = callPackage
({ mkDerivation, base, base64-bytestring, bytestring, cryptohash
, directory, hspec, postgresql-simple, text, time
@@ -181044,26 +184683,49 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "postgresql-simple-named" = callPackage
+ ({ mkDerivation, base, bytestring, doctest, Glob, hspec, mtl
+ , postgresql-simple, resource-pool, text, transformers
+ }:
+ mkDerivation {
+ pname = "postgresql-simple-named";
+ version = "0.0.2.0";
+ sha256 = "1bk6r67jy533zskwmg251vlb2imzyh60hx9lwag2rqclgb7fgplr";
+ libraryHaskellDepends = [
+ base bytestring mtl postgresql-simple text
+ ];
+ testHaskellDepends = [
+ base bytestring doctest Glob hspec postgresql-simple resource-pool
+ transformers
+ ];
+ description = "Implementation of named parameters for `postgresql-simple` library";
+ license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"postgresql-simple-opts" = callPackage
({ mkDerivation, base, bytestring, data-default, either
, generic-deriving, hspec, optparse-applicative, optparse-generic
- , postgresql-simple, split, uri-bytestring
+ , postgres-options, postgresql-simple, split, uri-bytestring
}:
mkDerivation {
pname = "postgresql-simple-opts";
- version = "0.3.0.1";
- sha256 = "19jhrz2lghiycb81dzzz5g2kwzaahn27q7diw6nn9qmcpwgw3rly";
+ version = "0.4.0.0";
+ sha256 = "0zrmqd25xni2d51jna2a52l3bmdn6lpx9mbjzllnf6zn6ckw4ja8";
libraryHaskellDepends = [
base bytestring data-default either generic-deriving
- optparse-applicative optparse-generic postgresql-simple split
- uri-bytestring
+ optparse-applicative optparse-generic postgres-options
+ postgresql-simple split uri-bytestring
];
testHaskellDepends = [
base bytestring data-default hspec optparse-applicative
- postgresql-simple
+ postgres-options postgresql-simple
];
description = "An optparse-applicative parser for postgresql-simple's connection options";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"postgresql-simple-queue" = callPackage
@@ -181176,22 +184838,27 @@ self: {
"postgresql-typed" = callPackage
({ mkDerivation, aeson, array, attoparsec, base, binary, bytestring
- , containers, convertible, cryptonite, haskell-src-meta, HDBC
- , HUnit, memory, network, old-locale, postgresql-binary, QuickCheck
- , scientific, template-haskell, text, time, utf8-string, uuid
+ , containers, convertible, criterion, cryptonite, data-default
+ , haskell-src-meta, HDBC, HUnit, memory, network, old-locale
+ , postgresql-binary, QuickCheck, scientific, template-haskell, text
+ , time, tls, utf8-string, uuid, x509, x509-store, x509-validation
}:
mkDerivation {
pname = "postgresql-typed";
- version = "0.5.3.0";
- sha256 = "0apq662lhkjc1xl4alpz20yz20x6mf3gz6li7wb86sp94441rh5k";
+ version = "0.6.0.1";
+ sha256 = "1kdapjx3mz7g6a35g21xql0wswrgnmp6x0hm2zpis3wp4ig503kk";
libraryHaskellDepends = [
aeson array attoparsec base binary bytestring containers cryptonite
- haskell-src-meta HDBC memory network old-locale postgresql-binary
- scientific template-haskell text time utf8-string uuid
+ data-default haskell-src-meta HDBC memory network old-locale
+ postgresql-binary scientific template-haskell text time tls
+ utf8-string uuid x509 x509-store x509-validation
];
testHaskellDepends = [
base bytestring containers convertible HDBC HUnit network
- QuickCheck time
+ QuickCheck time tls
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion network time tls
];
description = "PostgreSQL interface with compile-time SQL type checking, optional HDBC backend";
license = stdenv.lib.licenses.bsd3;
@@ -181220,26 +184887,26 @@ self: {
"postgrest" = callPackage
({ mkDerivation, aeson, aeson-qq, ansi-wl-pprint, async
, auto-update, base, base64-bytestring, bytestring
- , case-insensitive, cassava, configurator-ng, containers
- , contravariant, contravariant-extras, cookie, either, gitrev
- , hasql, hasql-pool, hasql-transaction, heredoc, hjsonschema, hspec
+ , case-insensitive, cassava, configurator-pg, containers
+ , contravariant, contravariant-extras, cookie, directory, either
+ , gitrev, hasql, hasql-pool, hasql-transaction, heredoc, hspec
, hspec-wai, hspec-wai-json, HTTP, http-types
, insert-ordered-containers, interpolatedstring-perl6, jose, lens
- , lens-aeson, monad-control, network-uri, optparse-applicative
- , parsec, process, protolude, Ranged-sets, regex-tdfa, retry
- , scientific, swagger2, text, time, transformers-base, unix
- , unordered-containers, vector, wai, wai-cors, wai-extra
- , wai-middleware-static, warp
+ , lens-aeson, monad-control, network, network-uri
+ , optparse-applicative, parsec, process, protolude, Ranged-sets
+ , regex-tdfa, retry, scientific, swagger2, text, time
+ , transformers-base, unix, unordered-containers, vector, wai
+ , wai-cors, wai-extra, wai-middleware-static, warp
}:
mkDerivation {
pname = "postgrest";
- version = "5.2.0";
- sha256 = "0h4167jr0k398paf2sgnxkm4iziqf3a9i61cbh7d0ix86z2v8a53";
+ version = "6.0.0";
+ sha256 = "0m0zplw8f1ncnbmrnsylq2z7pv8r86hsndsgbld52wfdc85b3r0z";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson ansi-wl-pprint base base64-bytestring bytestring
- case-insensitive cassava configurator-ng containers contravariant
+ case-insensitive cassava configurator-pg containers contravariant
contravariant-extras cookie either gitrev hasql hasql-pool
hasql-transaction heredoc HTTP http-types insert-ordered-containers
interpolatedstring-perl6 jose lens lens-aeson network-uri
@@ -181248,15 +184915,16 @@ self: {
wai-cors wai-extra wai-middleware-static
];
executableHaskellDepends = [
- auto-update base base64-bytestring bytestring hasql hasql-pool
- hasql-transaction protolude retry text time unix warp
+ auto-update base base64-bytestring bytestring directory hasql
+ hasql-pool hasql-transaction network protolude retry text time unix
+ warp
];
testHaskellDepends = [
aeson aeson-qq async auto-update base base64-bytestring bytestring
case-insensitive cassava containers contravariant hasql hasql-pool
- hasql-transaction heredoc hjsonschema hspec hspec-wai
- hspec-wai-json http-types lens lens-aeson monad-control process
- protolude regex-tdfa time transformers-base wai wai-extra
+ hasql-transaction heredoc hspec hspec-wai hspec-wai-json http-types
+ lens lens-aeson monad-control process protolude regex-tdfa text
+ time transformers-base wai wai-extra
];
description = "REST API for any Postgres database";
license = stdenv.lib.licenses.mit;
@@ -181338,6 +185006,8 @@ self: {
];
description = "Library for postmarkapp.com HTTP Api";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"postmark-streams" = callPackage
@@ -181366,8 +185036,8 @@ self: {
pname = "postmaster";
version = "0.3.3";
sha256 = "05608xvaig1d67j3h8ykw7a11yr1mqkw98p0ii7gbp4mp3d9kncd";
- revision = "1";
- editedCabalFile = "00rp6mdds4kssvcyc9n6iz1asgkhv96050x50jwvg3wp3pp69fg2";
+ revision = "2";
+ editedCabalFile = "0jchzy502czxfm34v9b1jyfzzaiphvfqm5vdk9fz9d0vhqwr7jjg";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -181703,6 +185373,8 @@ self: {
pname = "pqueue";
version = "1.4.1.2";
sha256 = "1v4zhv2sc1zsw91hvnarkjhayx2dnf7ccxz6rrhsqpcs0szaranj";
+ revision = "1";
+ editedCabalFile = "1la186z2np3nv06p0485xwg342gyjp7a2ikg73qs7mbg086352zs";
libraryHaskellDepends = [ base deepseq ];
testHaskellDepends = [ base deepseq QuickCheck ];
description = "Reliable, persistent, fast priority queues";
@@ -181776,6 +185448,8 @@ self: {
pname = "pragmatic-show";
version = "0.1.2.0";
sha256 = "1nkwimmnk10p0pnv2hr3mxgfs1r2rjfhiaccmhd68a6279whp6p7";
+ revision = "1";
+ editedCabalFile = "17rs7ms62aisnk5wsdp67v3cgv5ph734iswv7137ibv339dlkl82";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [
base tasty tasty-hunit tasty-quickcheck vector-space
@@ -182075,17 +185749,6 @@ self: {
}) {};
"prelude-compat" = callPackage
- ({ mkDerivation, base }:
- mkDerivation {
- pname = "prelude-compat";
- version = "0.0.0.1";
- sha256 = "1m20zczq6hz6qv48g5pa6spd9p4ylq6w0vc60rzshrbjbdfqgp3v";
- libraryHaskellDepends = [ base ];
- description = "Provide Prelude and Data.List with fixed content across GHC versions";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "prelude-compat_0_0_0_2" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "prelude-compat";
@@ -182094,7 +185757,6 @@ self: {
libraryHaskellDepends = [ base ];
description = "Provide Prelude and Data.List with fixed content across GHC versions";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"prelude-edsl" = callPackage
@@ -182411,8 +186073,6 @@ self: {
];
description = "Functionality for beautifying GHCi";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"pretty-hex" = callPackage
@@ -182426,6 +186086,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "pretty-loc" = callPackage
+ ({ mkDerivation, base, text }:
+ mkDerivation {
+ pname = "pretty-loc";
+ version = "0.1.0.1";
+ sha256 = "196slpa651p7yq8107c4pkwdfkfmg2bn6ibyqz22c46psklyrisb";
+ libraryHaskellDepends = [ base text ];
+ description = "Tracking and highlighting of locations in source files";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"pretty-ncols" = callPackage
({ mkDerivation, base, pretty }:
mkDerivation {
@@ -182513,6 +186184,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "pretty-simple_3_1_0_0" = callPackage
+ ({ mkDerivation, ansi-terminal, base, Cabal, cabal-doctest
+ , containers, criterion, doctest, Glob, mtl, QuickCheck
+ , template-haskell, text, transformers
+ }:
+ mkDerivation {
+ pname = "pretty-simple";
+ version = "3.1.0.0";
+ sha256 = "0p3p5i2rjwv19hzgqyarv7x6g6hvam159y50irvs0dd5wwphd2pa";
+ isLibrary = true;
+ isExecutable = true;
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ ansi-terminal base containers mtl text transformers
+ ];
+ testHaskellDepends = [
+ base doctest Glob QuickCheck template-haskell
+ ];
+ benchmarkHaskellDepends = [ base criterion text ];
+ description = "pretty printer for data types with a 'Show' instance";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"pretty-sop" = callPackage
({ mkDerivation, base, generics-sop, markdown-unlit, pretty-show }:
mkDerivation {
@@ -182554,18 +186249,6 @@ self: {
}) {};
"pretty-types" = callPackage
- ({ mkDerivation, base, hspec, mtl, tagged }:
- mkDerivation {
- pname = "pretty-types";
- version = "0.2.3.1";
- sha256 = "0kvqp39q1qydgf6rlrabgjcgv53irdh9xvw2p7hazbls178ljv75";
- libraryHaskellDepends = [ base mtl tagged ];
- testHaskellDepends = [ base hspec tagged ];
- description = "A small pretty printing DSL for complex types";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "pretty-types_0_3_0_1" = callPackage
({ mkDerivation, base, hspec, mtl, tagged }:
mkDerivation {
pname = "pretty-types";
@@ -182575,7 +186258,6 @@ self: {
testHaskellDepends = [ base hspec tagged ];
description = "A small pretty printing DSL for complex types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"prettyFunctionComposing" = callPackage
@@ -182607,13 +186289,15 @@ self: {
}:
mkDerivation {
pname = "prettyprinter";
- version = "1.2.1";
- sha256 = "1kvza7jp5n833m8rj0bc35bd2p8wx3fq0iqflm9nbh3wm05kwrg7";
+ version = "1.2.1.1";
+ sha256 = "1p9c3q55hba4c0zyxc624g5df7wgsclpsmd8wqpdnmib882q9d1v";
+ revision = "1";
+ editedCabalFile = "0p3qvc1fr2ayxq5s7ysm80nl6107xfkv27p3mcripffq1lqvmlma";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base text ];
testHaskellDepends = [
- base bytestring doctest pgp-wordlist tasty tasty-hunit
+ base bytestring doctest pgp-wordlist QuickCheck tasty tasty-hunit
tasty-quickcheck text
];
benchmarkHaskellDepends = [
@@ -182634,6 +186318,8 @@ self: {
pname = "prettyprinter";
version = "1.3.0";
sha256 = "1dc43z53s8pbrv6wf2mq6zvggd67lk415zqg8q9bcd1ld5m9h2x4";
+ revision = "1";
+ editedCabalFile = "0i5m6x3xsph343w2902xvv91l1raak4nz4q1py7vf95p0hbb72qq";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base text ];
@@ -182773,22 +186459,15 @@ self: {
}) {};
"prim-instances" = callPackage
- ({ mkDerivation, base, base-orphans, primitive, QuickCheck
- , quickcheck-classes, quickcheck-instances, tasty, tasty-quickcheck
- }:
+ ({ mkDerivation, base, primitive, QuickCheck, quickcheck-classes }:
mkDerivation {
pname = "prim-instances";
- version = "0.1.0.0";
- sha256 = "1l2dvq5mrbxghzrcfd1ik49lzfvly3bq15jrmn1hilvjrsscx7nf";
+ version = "0.2";
+ sha256 = "0dx5byf61725220hvwd72k2yc2n1x0qpl6rj3gfdldww98g700iq";
libraryHaskellDepends = [ base primitive ];
- testHaskellDepends = [
- base base-orphans primitive QuickCheck quickcheck-classes
- quickcheck-instances tasty tasty-quickcheck
- ];
- description = "prim typeclass instances";
+ testHaskellDepends = [ base QuickCheck quickcheck-classes ];
+ description = "Prim typeclass instances";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"prim-ref" = callPackage
@@ -182919,13 +186598,11 @@ self: {
({ mkDerivation, base, primitive }:
mkDerivation {
pname = "primitive-addr";
- version = "0.1.0.0";
- sha256 = "0nm6l9gy57l1hli7zjlh2mfdzhwi602dnicxis1d8ylqqyv633gw";
+ version = "0.1.0.2";
+ sha256 = "06r1p56wm8rbjxnlaqbmc3rbsj1rsv5scwnh80lsn0xw56jc70a2";
libraryHaskellDepends = [ base primitive ];
description = "Addresses to unmanaged memory";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"primitive-atomic" = callPackage
@@ -182946,11 +186623,13 @@ self: {
({ mkDerivation, base, primitive }:
mkDerivation {
pname = "primitive-checked";
- version = "0.6.4.2";
- sha256 = "0x659bq4pqlk8i9af98bjv7639819fdm4r0by55zhxjgm5vr179q";
+ version = "0.7.0.0";
+ sha256 = "1h4gsririgjw8p72dz2p91yq8mxr37qca8rshmxmkmmds8yv6w1s";
libraryHaskellDepends = [ base primitive ];
description = "primitive functions with bounds-checking";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"primitive-containers" = callPackage
@@ -182992,6 +186671,8 @@ self: {
pname = "primitive-extras";
version = "0.7.1.1";
sha256 = "1hffgvqdrsxml2z834jb1mpywkflcnlymmxp9dmapwg8pcadjzdm";
+ revision = "1";
+ editedCabalFile = "10z7fnz907s7ar15lk3kq62p11bbsksdb0nmg5y7ii0n97mqni96";
libraryHaskellDepends = [
base bytestring cereal deferred-folds focus foldl list-t primitive
profunctors vector
@@ -183004,6 +186685,41 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "primitive-extras_0_8" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, deferred-folds, focus
+ , foldl, list-t, primitive, primitive-unlifted, profunctors
+ , QuickCheck, quickcheck-instances, rerebase, tasty, tasty-hunit
+ , tasty-quickcheck, vector
+ }:
+ mkDerivation {
+ pname = "primitive-extras";
+ version = "0.8";
+ sha256 = "0g3b7b842wbdh7hqr6ikvycdwk1n3in9dq5yb09g744ydpmvg24r";
+ libraryHaskellDepends = [
+ base bytestring cereal deferred-folds focus foldl list-t primitive
+ primitive-unlifted profunctors vector
+ ];
+ testHaskellDepends = [
+ cereal deferred-folds focus primitive QuickCheck
+ quickcheck-instances rerebase tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "Extras for the \"primitive\" library";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "primitive-foreign" = callPackage
+ ({ mkDerivation, base, primitive, QuickCheck }:
+ mkDerivation {
+ pname = "primitive-foreign";
+ version = "0.1";
+ sha256 = "0qznygyj4fsgdggrb02nc78nfjyvfjsdaznw01a0sw2b1yld0zqg";
+ libraryHaskellDepends = [ base primitive ];
+ testHaskellDepends = [ base primitive QuickCheck ];
+ description = "using the `Prim` interface for the FFI";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"primitive-indexed" = callPackage
({ mkDerivation, base, doctest, primitive, QuickCheck }:
mkDerivation {
@@ -183032,16 +186748,14 @@ self: {
];
description = "Arrays of Maybes";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"primitive-offset" = callPackage
({ mkDerivation, base, primitive }:
mkDerivation {
pname = "primitive-offset";
- version = "0.1.0.0";
- sha256 = "0la56iw09x83ci5v82z8hpb0zdzdwi6awy5czszd78kj3n8ni3ax";
+ version = "0.2.0.0";
+ sha256 = "0aspdlzx1xaw1fyiy8vnzadbklpg7hn2mb1g9qmw2vpkxglpspmi";
libraryHaskellDepends = [ base primitive ];
description = "Types for offsets into unboxed arrays";
license = stdenv.lib.licenses.bsd3;
@@ -183097,12 +186811,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "primitive-unaligned" = callPackage
+ ({ mkDerivation, base, primitive }:
+ mkDerivation {
+ pname = "primitive-unaligned";
+ version = "0.1.1.0";
+ sha256 = "1dkxm1m22vap0xaw2ssqfqs19lmk41db09rkngbiid0by2yla1gp";
+ libraryHaskellDepends = [ base primitive ];
+ testHaskellDepends = [ base primitive ];
+ description = "Unaligned access to primitive arrays";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"primitive-unlifted" = callPackage
({ mkDerivation, base, primitive, stm }:
mkDerivation {
pname = "primitive-unlifted";
- version = "0.1.1.0";
- sha256 = "183lg1jbbs9b1ahwzdsf5d75djcqr6c0hjvd1liwz5i13ad3qdcr";
+ version = "0.1.2.0";
+ sha256 = "1zq5fx032shxsk23hlyj9js8jdbg4r17l0gigsrbrnlajnwk4683";
libraryHaskellDepends = [ base primitive ];
testHaskellDepends = [ base primitive stm ];
description = "Primitive GHC types with unlifted types inside";
@@ -183411,14 +187137,14 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "process_1_6_5_0" = callPackage
+ "process_1_6_5_1" = callPackage
({ mkDerivation, base, bytestring, deepseq, directory, filepath
, unix
}:
mkDerivation {
pname = "process";
- version = "1.6.5.0";
- sha256 = "0a04jch13d0va47yhkf1ni7pk9hxsdr3m4h8645r4qs0mzvsby60";
+ version = "1.6.5.1";
+ sha256 = "1x9vdcj4g19ibf34w96nzgv2blxx727z0xb7dq012ky04ssblx8j";
libraryHaskellDepends = [ base deepseq directory filepath unix ];
testHaskellDepends = [ base bytestring directory ];
description = "Process libraries";
@@ -183720,8 +187446,6 @@ self: {
libraryHaskellDepends = [ base category ];
description = "Product category";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"product-isomorphic" = callPackage
@@ -183744,8 +187468,8 @@ self: {
pname = "product-profunctors";
version = "0.10.0.0";
sha256 = "0s0ssl2900r16992mgl0idkryg3l7psp8nljyg9brr7fqa3pd3dd";
- revision = "1";
- editedCabalFile = "17zi38fzg7yf9i5da2hlch6jw2qhmjcvs9wwkhyvra520605mlya";
+ revision = "3";
+ editedCabalFile = "09czbjfn7kwg18726401dhlpkd5gibkk96wzczn9lngpl730jhm9";
libraryHaskellDepends = [
base bifunctors contravariant profunctors tagged template-haskell
];
@@ -183889,14 +187613,14 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "profunctors_5_4" = callPackage
+ "profunctors_5_5" = callPackage
({ mkDerivation, base, base-orphans, bifunctors, comonad
, contravariant, distributive, tagged, transformers
}:
mkDerivation {
pname = "profunctors";
- version = "5.4";
- sha256 = "1b5hidvd3rd8ilzr5ipzw0mg0a2x0ldrrcx6bacalafg7407bfhh";
+ version = "5.5";
+ sha256 = "0z7kf8hkfk5wfxw80zs9jsh22mk3mjzfvqbdkihrw1wiyw4xkjfl";
libraryHaskellDepends = [
base base-orphans bifunctors comonad contravariant distributive
tagged transformers
@@ -184197,6 +187921,8 @@ self: {
libraryHaskellDepends = [ base fgl graphviz mtl prolog text ];
description = "Generating images of resolution trees for Prolog queries";
license = stdenv.lib.licenses.publicDomain;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"prologue" = callPackage
@@ -184231,10 +187957,8 @@ self: {
}:
mkDerivation {
pname = "prometheus";
- version = "2.1.1";
- sha256 = "09g3xi6x6m6h15p3ibwyabfq15rhcaphq7ix2w23aphjwc64ll97";
- revision = "1";
- editedCabalFile = "1jbs0p3ji5jz0qglkdw6gpr6x3i7ig044rcz58mcil04bsswymgq";
+ version = "2.1.2";
+ sha256 = "1qr8nnijzlp0rwz3rab7y49kxwa4ka7ipix9dix5d1mzqpa1sj5m";
libraryHaskellDepends = [
atomic-primops base bytestring containers http-client http-types
network-uri text transformers wai warp
@@ -184422,19 +188146,19 @@ self: {
"propellor" = callPackage
({ mkDerivation, ansi-terminal, async, base, bytestring, containers
, directory, exceptions, filepath, hashable, hslogger, IfElse, mtl
- , network, process, split, stm, text, time, transformers, unix
- , unix-compat
+ , network, process, split, stm, text, time, transformers
+ , type-errors, unix, unix-compat
}:
mkDerivation {
pname = "propellor";
- version = "5.8.0";
- sha256 = "0dzil48ayfy30cx1mxhp712nibr7qc3hn2pkc11nawkf2g73552f";
+ version = "5.9.1";
+ sha256 = "1v4cpj4kbmhl4xkxm7gxm2z9pqf6zmr4psawaxixvsav6xpxgphr";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
ansi-terminal async base bytestring containers directory exceptions
filepath hashable hslogger IfElse mtl network process split stm
- text time transformers unix unix-compat
+ text time transformers type-errors unix unix-compat
];
executableHaskellDepends = [ base ];
description = "property-based host configuration management in haskell";
@@ -184612,24 +188336,6 @@ self: {
}) {};
"proto-lens" = callPackage
- ({ mkDerivation, attoparsec, base, bytestring, containers, deepseq
- , lens-family, lens-labels, parsec, pretty, text, transformers
- , void
- }:
- mkDerivation {
- pname = "proto-lens";
- version = "0.4.0.1";
- sha256 = "1ryz183ds1k28nvw6y1w84k29aq5mgrpv5yyqarj0g463gp137cm";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- attoparsec base bytestring containers deepseq lens-family
- lens-labels parsec pretty text transformers void
- ];
- description = "A lens-based implementation of protocol buffers in Haskell";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "proto-lens_0_5_0_0" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, ghc-prim
, lens-family, parsec, pretty, primitive, profunctors, QuickCheck
, tagged, test-framework, test-framework-quickcheck2, text
@@ -184637,8 +188343,8 @@ self: {
}:
mkDerivation {
pname = "proto-lens";
- version = "0.5.0.0";
- sha256 = "1h0ng6vymdswapc88c84rp7d4l2l19d9kg7v10a0zbj093k9m98s";
+ version = "0.5.1.0";
+ sha256 = "1jv88j9spv3q679syq0fbpbq8xjggaww5644as31gmvihjfaxby1";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
base bytestring containers deepseq ghc-prim lens-family parsec
@@ -184650,7 +188356,6 @@ self: {
];
description = "A lens-based implementation of protocol buffers in Haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"proto-lens-arbitrary" = callPackage
@@ -184741,23 +188446,6 @@ self: {
}) {inherit (pkgs) protobuf;};
"proto-lens-protobuf-types" = callPackage
- ({ mkDerivation, base, Cabal, lens-labels, proto-lens
- , proto-lens-runtime, proto-lens-setup, protobuf, text
- }:
- mkDerivation {
- pname = "proto-lens-protobuf-types";
- version = "0.4.0.1";
- sha256 = "091284pyp4b36hnvfjsrsg6zlgw1payzwfbsy66sgbbi285mwira";
- setupHaskellDepends = [ base Cabal proto-lens-setup ];
- libraryHaskellDepends = [
- base lens-labels proto-lens proto-lens-runtime text
- ];
- libraryToolDepends = [ protobuf ];
- description = "Basic protocol buffer message types";
- license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) protobuf;};
-
- "proto-lens-protobuf-types_0_5_0_0" = callPackage
({ mkDerivation, base, Cabal, lens-family, proto-lens
, proto-lens-runtime, proto-lens-setup, protobuf, text
}:
@@ -184772,7 +188460,6 @@ self: {
libraryToolDepends = [ protobuf ];
description = "Basic protocol buffer message types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) protobuf;};
"proto-lens-protoc_0_2_2_3" = callPackage
@@ -184803,28 +188490,6 @@ self: {
}) {inherit (pkgs) protobuf;};
"proto-lens-protoc" = callPackage
- ({ mkDerivation, base, bytestring, containers, filepath
- , haskell-src-exts, lens-family, pretty, proto-lens, protobuf, text
- }:
- mkDerivation {
- pname = "proto-lens-protoc";
- version = "0.4.0.2";
- sha256 = "1kvbv7c42qcynh25mh1vzwdzk4fhvjai031hwmsrmpqywgbgknmm";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- base containers filepath haskell-src-exts lens-family pretty
- proto-lens text
- ];
- libraryToolDepends = [ protobuf ];
- executableHaskellDepends = [
- base bytestring containers lens-family proto-lens text
- ];
- description = "Protocol buffer compiler for the proto-lens library";
- license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) protobuf;};
-
- "proto-lens-protoc_0_5_0_0" = callPackage
({ mkDerivation, base, bytestring, containers, filepath
, haskell-src-exts, lens-family, pretty, proto-lens, protobuf, text
}:
@@ -184844,26 +188509,9 @@ self: {
];
description = "Protocol buffer compiler for the proto-lens library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) protobuf;};
"proto-lens-runtime" = callPackage
- ({ mkDerivation, base, bytestring, containers, deepseq, filepath
- , lens-family, lens-labels, proto-lens, text
- }:
- mkDerivation {
- pname = "proto-lens-runtime";
- version = "0.4.0.2";
- sha256 = "1k6biy5z890nn5b76sd3xr086sbrqr09rx1r2a7jxra2l2ymc4sr";
- libraryHaskellDepends = [
- base bytestring containers deepseq filepath lens-family lens-labels
- proto-lens text
- ];
- doHaddock = false;
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "proto-lens-runtime_0_5_0_0" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, filepath
, lens-family, proto-lens, text, vector
}:
@@ -184877,7 +188525,6 @@ self: {
];
doHaddock = false;
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"proto-lens-setup" = callPackage
@@ -185114,23 +188761,6 @@ self: {
}) {};
"protocol-radius-test" = callPackage
- ({ mkDerivation, base, bytestring, cereal, containers
- , protocol-radius, QuickCheck, quickcheck-simple, transformers
- }:
- mkDerivation {
- pname = "protocol-radius-test";
- version = "0.0.1.0";
- sha256 = "185d85d9gfylcg575rvr43p4p8wzh0mi9frvkm2cn3liwwarmk5m";
- libraryHaskellDepends = [
- base bytestring cereal containers protocol-radius QuickCheck
- quickcheck-simple transformers
- ];
- testHaskellDepends = [ base quickcheck-simple ];
- description = "testsuit of protocol-radius haskell package";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "protocol-radius-test_0_1_0_0" = callPackage
({ mkDerivation, base, bytestring, cereal, containers
, protocol-radius, QuickCheck, quickcheck-simple, transformers
}:
@@ -185145,7 +188775,6 @@ self: {
testHaskellDepends = [ base quickcheck-simple ];
description = "testsuit of protocol-radius haskell package";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"protolude" = callPackage
@@ -185390,19 +189019,17 @@ self: {
"psqueues" = callPackage
({ mkDerivation, array, base, containers, criterion, deepseq
, fingertree-psqueue, ghc-prim, hashable, HUnit, mtl, PSQueue
- , QuickCheck, random, tagged, test-framework, test-framework-hunit
- , test-framework-quickcheck2, unordered-containers
+ , QuickCheck, random, tagged, tasty, tasty-hunit, tasty-quickcheck
+ , unordered-containers
}:
mkDerivation {
pname = "psqueues";
- version = "0.2.7.1";
- sha256 = "1hcfxb977lzxsmd47z0snjj4xdhiwnqzif8xkpwzw28dspn44zh4";
- revision = "1";
- editedCabalFile = "0336d9ckixv4n23vy5l3xk0wavfn3z9xk105gig0zv70b3jh3r3y";
+ version = "0.2.7.2";
+ sha256 = "1yckx2csqswghiy9nfj03cybmza8104nmnpbpcc9ngwlbmakn9i6";
libraryHaskellDepends = [ base deepseq ghc-prim hashable ];
testHaskellDepends = [
- array base deepseq ghc-prim hashable HUnit QuickCheck tagged
- test-framework test-framework-hunit test-framework-quickcheck2
+ array base deepseq ghc-prim hashable HUnit QuickCheck tagged tasty
+ tasty-hunit tasty-quickcheck
];
benchmarkHaskellDepends = [
base containers criterion deepseq fingertree-psqueue ghc-prim
@@ -185430,15 +189057,13 @@ self: {
({ mkDerivation, base, generic-deriving, hspec, hspec-discover }:
mkDerivation {
pname = "pthread";
- version = "0.2.0";
- sha256 = "12130fpdskml0mdgbr38zki48n5ffid0diiixyn89kzcq948vvmn";
+ version = "0.2.1";
+ sha256 = "03whwpcf9ycdy6bhnw6k0xcwrlf5q92lcfzvh45j3wkksccf8vm6";
libraryHaskellDepends = [ base generic-deriving ];
testHaskellDepends = [ base hspec hspec-discover ];
testToolDepends = [ hspec-discover ];
description = "Bindings for the pthread library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"ptr" = callPackage
@@ -185449,14 +189074,14 @@ self: {
}:
mkDerivation {
pname = "ptr";
- version = "0.16.6";
- sha256 = "1makksw42pb6088i3s755q0wyfismfq5avpwbcfvfbzcasn2kncs";
+ version = "0.16.6.1";
+ sha256 = "0d0ghvg2wx4z5bha33wb868wja28iafh3z5g5vsyy729nj7fp69k";
libraryHaskellDepends = [
base base-prelude bug bytestring contravariant mtl profunctors
semigroups text time transformers vector
];
testHaskellDepends = [
- bug QuickCheck quickcheck-instances rerebase tasty tasty-hunit
+ QuickCheck quickcheck-instances rerebase tasty tasty-hunit
tasty-quickcheck
];
description = "Abstractions for operations on pointers";
@@ -185489,8 +189114,8 @@ self: {
}:
mkDerivation {
pname = "publicsuffix";
- version = "0.20190115";
- sha256 = "1w73kpqb8s6yc7h66cam89gcmz6qnsgis2fqvyr9vrqs466k3j01";
+ version = "0.20190826";
+ sha256 = "1z6apxnp88jjpf5q7zg04r18lja7rafwlx1w2cy7d74qfrh1v2b7";
libraryHaskellDepends = [ base filepath template-haskell ];
testHaskellDepends = [ base hspec ];
benchmarkHaskellDepends = [ base criterion random ];
@@ -185538,25 +189163,25 @@ self: {
"publish" = callPackage
({ mkDerivation, base, bytestring, chronologique, deepseq
- , directory, filepath, hinotify, hspec, pandoc, pandoc-types
- , template-haskell, text, typed-process, unbeliever, unix
- , unordered-containers
+ , directory, filepath, hinotify, hspec, megaparsec, pandoc
+ , pandoc-types, template-haskell, text, typed-process, unbeliever
+ , unix, unordered-containers
}:
mkDerivation {
pname = "publish";
- version = "0.4.4";
- sha256 = "1a75pqz9gvzda70182gvfwjjzsrqdspngj00mlma1ayr9jy4sxr4";
+ version = "2.0.1";
+ sha256 = "12jhwihg6nlhs1q2cf4ivd7qw724qz1wk1i5rmi4akfga8ad7n4l";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
base bytestring chronologique deepseq directory filepath hinotify
- pandoc pandoc-types template-haskell text typed-process unbeliever
- unix unordered-containers
+ megaparsec pandoc pandoc-types template-haskell text typed-process
+ unbeliever unix unordered-containers
];
testHaskellDepends = [
base bytestring chronologique deepseq directory filepath hinotify
- hspec pandoc pandoc-types template-haskell text typed-process
- unbeliever unix unordered-containers
+ hspec megaparsec pandoc pandoc-types template-haskell text
+ typed-process unbeliever unix unordered-containers
];
description = "Publishing tools for papers, books, and presentations";
license = stdenv.lib.licenses.bsd3;
@@ -185869,6 +189494,8 @@ self: {
pname = "pure-io";
version = "0.2.1";
sha256 = "0pzvkd8jxw859s187n972yaq5wmwi00cxwhivgffr7z29hr0zvx9";
+ revision = "1";
+ editedCabalFile = "04r055y62f46lxhm4wbfmdk115fslw7lapw06r16lzb1l48m0phj";
libraryHaskellDepends = [ base containers mtl safe ];
description = "Pure IO monad";
license = stdenv.lib.licenses.bsd3;
@@ -185931,8 +189558,8 @@ self: {
}:
mkDerivation {
pname = "pure-zlib";
- version = "0.6.4";
- sha256 = "05rhvhvdn8ly5jldxg3q7ip6zflzqa1wyj8mlcl0scgsngn9lrzb";
+ version = "0.6.6";
+ sha256 = "1fby7dj8yp8yqycxzl1dr4s6i0isnx24zxbcan672wwrhdxh9s6y";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -185977,8 +189604,8 @@ self: {
}:
mkDerivation {
pname = "purebred-email";
- version = "0.1.0.1";
- sha256 = "0igjid6rfg13bhgkm51np0ml2sfnkg5a6z3231mmiynkdja7l5zl";
+ version = "0.2.0.0";
+ sha256 = "1jjdia8qlwdibmfrqasyvm6qq01pxc9r66qmbyjmhz9bhdkqdd61";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -185996,63 +189623,67 @@ self: {
}) {};
"purescript" = callPackage
- ({ mkDerivation, aeson, aeson-better-errors, ansi-terminal
- , ansi-wl-pprint, array, base, base-compat, blaze-html, bower-json
- , boxes, bytestring, Cabal, cheapskate, clock, containers
- , data-ordlist, deepseq, directory, dlist, edit-distance
- , file-embed, filepath, fsnotify, gitrev, Glob, haskeline, hspec
- , hspec-discover, http-types, HUnit, language-javascript
- , lifted-base, microlens-platform, monad-control, monad-logger, mtl
- , network, optparse-applicative, parallel, parsec, pattern-arrows
- , process, protolude, regex-tdfa, safe, scientific, semigroups
- , sourcemap, split, stm, stringsearch, syb, tasty, tasty-hspec
- , text, time, transformers, transformers-base, transformers-compat
- , unordered-containers, utf8-string, vector, wai, wai-websockets
- , warp, websockets
+ ({ mkDerivation, aeson, aeson-better-errors, aeson-pretty
+ , ansi-terminal, ansi-wl-pprint, array, base, base-compat
+ , blaze-html, bower-json, boxes, bytestring, Cabal, cheapskate
+ , clock, containers, data-ordlist, deepseq, directory, dlist
+ , edit-distance, file-embed, filepath, fsnotify, gitrev, Glob
+ , happy, haskeline, hspec, hspec-discover, http-types, HUnit
+ , language-javascript, lifted-async, lifted-base
+ , microlens-platform, monad-control, monad-logger, mtl, network
+ , optparse-applicative, parallel, parsec, pattern-arrows, process
+ , protolude, regex-tdfa, safe, scientific, semigroups, sourcemap
+ , split, stm, stringsearch, syb, tasty, tasty-golden, tasty-hspec
+ , tasty-quickcheck, text, time, transformers, transformers-base
+ , transformers-compat, unordered-containers, utf8-string, vector
+ , wai, wai-websockets, warp, websockets
}:
mkDerivation {
pname = "purescript";
- version = "0.12.5";
- sha256 = "0dpn0v510lgzd9zqglqan4m8l7bf891psqmih147pnrmigmiaa39";
+ version = "0.13.3";
+ sha256 = "05cz0ilxawrcn4hm6mbd0qpkbfp0g8mcqvcscl4ghagjljgimaqv";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson aeson-better-errors ansi-terminal array base base-compat
- blaze-html bower-json boxes bytestring Cabal cheapskate clock
- containers data-ordlist deepseq directory dlist edit-distance
- file-embed filepath fsnotify Glob haskeline language-javascript
- lifted-base microlens-platform monad-control monad-logger mtl
- parallel parsec pattern-arrows process protolude regex-tdfa safe
- scientific semigroups sourcemap split stm stringsearch syb text
- time transformers transformers-base transformers-compat
- unordered-containers utf8-string vector
- ];
- executableHaskellDepends = [
- aeson aeson-better-errors ansi-terminal ansi-wl-pprint array base
+ aeson aeson-better-errors aeson-pretty ansi-terminal array base
base-compat blaze-html bower-json boxes bytestring Cabal cheapskate
clock containers data-ordlist deepseq directory dlist edit-distance
- file-embed filepath fsnotify gitrev Glob haskeline http-types
- language-javascript lifted-base microlens-platform monad-control
- monad-logger mtl network optparse-applicative parallel parsec
- pattern-arrows process protolude regex-tdfa safe scientific
- semigroups sourcemap split stm stringsearch syb text time
- transformers transformers-base transformers-compat
- unordered-containers utf8-string vector wai wai-websockets warp
- websockets
+ file-embed filepath fsnotify Glob haskeline language-javascript
+ lifted-async lifted-base microlens-platform monad-control
+ monad-logger mtl parallel parsec pattern-arrows process protolude
+ regex-tdfa safe scientific semigroups sourcemap split stm
+ stringsearch syb text time transformers transformers-base
+ transformers-compat unordered-containers utf8-string vector
];
+ libraryToolDepends = [ happy ];
+ executableHaskellDepends = [
+ aeson aeson-better-errors aeson-pretty ansi-terminal ansi-wl-pprint
+ array base base-compat blaze-html bower-json boxes bytestring Cabal
+ cheapskate clock containers data-ordlist deepseq directory dlist
+ edit-distance file-embed filepath fsnotify gitrev Glob haskeline
+ http-types language-javascript lifted-async lifted-base
+ microlens-platform monad-control monad-logger mtl network
+ optparse-applicative parallel parsec pattern-arrows process
+ protolude regex-tdfa safe scientific semigroups sourcemap split stm
+ stringsearch syb text time transformers transformers-base
+ transformers-compat unordered-containers utf8-string vector wai
+ wai-websockets warp websockets
+ ];
+ executableToolDepends = [ happy ];
testHaskellDepends = [
- aeson aeson-better-errors ansi-terminal array base base-compat
- blaze-html bower-json boxes bytestring Cabal cheapskate clock
- containers data-ordlist deepseq directory dlist edit-distance
+ aeson aeson-better-errors aeson-pretty ansi-terminal array base
+ base-compat blaze-html bower-json boxes bytestring Cabal cheapskate
+ clock containers data-ordlist deepseq directory dlist edit-distance
file-embed filepath fsnotify Glob haskeline hspec hspec-discover
- HUnit language-javascript lifted-base microlens-platform
- monad-control monad-logger mtl parallel parsec pattern-arrows
- process protolude regex-tdfa safe scientific semigroups sourcemap
- split stm stringsearch syb tasty tasty-hspec text time transformers
+ HUnit language-javascript lifted-async lifted-base
+ microlens-platform monad-control monad-logger mtl parallel parsec
+ pattern-arrows process protolude regex-tdfa safe scientific
+ semigroups sourcemap split stm stringsearch syb tasty tasty-golden
+ tasty-hspec tasty-quickcheck text time transformers
transformers-base transformers-compat unordered-containers
utf8-string vector
];
- testToolDepends = [ hspec-discover ];
+ testToolDepends = [ happy hspec-discover ];
doCheck = false;
description = "PureScript Programming Language Compiler";
license = stdenv.lib.licenses.bsd3;
@@ -186134,8 +189765,8 @@ self: {
}:
mkDerivation {
pname = "purescript-tsd-gen";
- version = "0.2.0.0";
- sha256 = "1l00xyz501gaig3fci9dyz28qdd2zdajzfwnp6hj17c46g8g95f6";
+ version = "0.3.0.0";
+ sha256 = "0246pxgwrqbrhsgixx6mp9w1h355qz29gx1b7bmdxxxafyn2il6n";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -186331,30 +189962,6 @@ self: {
}) {};
"pusher-http-haskell" = callPackage
- ({ mkDerivation, aeson, base, base16-bytestring, bytestring
- , cryptonite, hashable, hspec, http-client, http-types, memory
- , QuickCheck, scientific, text, time, transformers
- , unordered-containers, vector
- }:
- mkDerivation {
- pname = "pusher-http-haskell";
- version = "1.5.1.8";
- sha256 = "1dvhpr99rfmnjf1vzxnlc2psmjazisxs9cjvfr83wiywaddqk67f";
- libraryHaskellDepends = [
- aeson base base16-bytestring bytestring cryptonite hashable
- http-client http-types memory text time transformers
- unordered-containers vector
- ];
- testHaskellDepends = [
- aeson base base16-bytestring bytestring cryptonite hspec
- http-client http-types QuickCheck scientific text time transformers
- unordered-containers vector
- ];
- description = "Haskell client library for the Pusher HTTP API";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "pusher-http-haskell_1_5_1_9" = callPackage
({ mkDerivation, aeson, base, base16-bytestring, bytestring
, cryptonite, hashable, hspec, http-client, http-types, memory
, QuickCheck, scientific, text, time, transformers
@@ -186376,7 +189983,6 @@ self: {
];
description = "Haskell client library for the Pusher HTTP API";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"pusher-ws" = callPackage
@@ -186845,8 +190451,8 @@ self: {
}:
mkDerivation {
pname = "qnap-decrypt";
- version = "0.3.4";
- sha256 = "0s263zkdns50bvanjiaiavdk6bpd1ccqbckdmxwbbl2sxp2s3jxz";
+ version = "0.3.5";
+ sha256 = "1mm08bm2jzcnh1zal7zdiyryl3z5z91ch2vyyl0p29nbwl2q06xb";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -186874,6 +190480,8 @@ self: {
pname = "qq-literals";
version = "0.1.0.0";
sha256 = "1fsl1639jzik9zrkks1badx6pd303rjdm3dmnb6cfjjb1jg50cqr";
+ revision = "1";
+ editedCabalFile = "1ckapl1mca1w61ifrfmaw2x06cy86chbicyb96kgp1hzkcpnx97k";
libraryHaskellDepends = [ base template-haskell ];
testHaskellDepends = [ base network-uri template-haskell ];
description = "Compile-time checked literal values via QuasiQuoters";
@@ -187090,28 +190698,6 @@ self: {
}) {};
"quadratic-irrational" = callPackage
- ({ mkDerivation, arithmoi, base, containers, directory, doctest
- , filepath, mtl, numbers, QuickCheck, tasty, tasty-quickcheck
- , transformers
- }:
- mkDerivation {
- pname = "quadratic-irrational";
- version = "0.0.6";
- sha256 = "02hdxi9kjp7dccmb7ix3a0yqr7fvl2vpc588ibxq6gjd5v3716r0";
- revision = "1";
- editedCabalFile = "0i7dsl7zm9r7sgfs2cwmic3qbk15lc7kbhjd53vin89p21fh8mzm";
- libraryHaskellDepends = [
- arithmoi base containers mtl transformers
- ];
- testHaskellDepends = [
- base directory doctest filepath mtl numbers QuickCheck tasty
- tasty-quickcheck
- ];
- description = "An implementation of quadratic irrationals";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "quadratic-irrational_0_1_0" = callPackage
({ mkDerivation, arithmoi, base, containers, directory, doctest
, filepath, mtl, numbers, QuickCheck, tasty, tasty-quickcheck
, transformers
@@ -187127,7 +190713,6 @@ self: {
];
description = "An implementation of quadratic irrationals";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"quandl-api" = callPackage
@@ -187542,8 +191127,8 @@ self: {
}:
mkDerivation {
pname = "quickcheck-arbitrary-template";
- version = "0.2.0.0";
- sha256 = "1bn0g3gg7cpjwap1vgvahw91yjn0v8sy1hiy60w54gdg5rrll5j9";
+ version = "0.2.1.0";
+ sha256 = "1g9b39bhjcx44l8mwj5hwbjkd575prd46v16jz895q4f3ibqnfvp";
libraryHaskellDepends = [ base QuickCheck safe template-haskell ];
testHaskellDepends = [
base QuickCheck safe tasty tasty-golden tasty-hunit
@@ -187551,8 +191136,6 @@ self: {
];
description = "Generate QuickCheck Gen for Sum Types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"quickcheck-assertions" = callPackage
@@ -187574,11 +191157,14 @@ self: {
}:
mkDerivation {
pname = "quickcheck-classes";
- version = "0.6.0.0";
- sha256 = "02ssvvhi87ggyxi3jsg2h1xirwqyydda88n5ax4imfljvig366cy";
+ version = "0.6.1.0";
+ sha256 = "01mqsffks1d0wf3vwrlmalqxqha2gfqa389gqq0zr5b9y7ka5a8h";
+ revision = "1";
+ editedCabalFile = "1n68f8qw8if3db7x7b49lfvs0hpdvlmq0bhdjf1dvmaz0wmw932i";
libraryHaskellDepends = [
aeson base base-orphans bifunctors containers fail primitive
QuickCheck semigroupoids semigroups semirings tagged transformers
+ vector
];
testHaskellDepends = [
aeson base base-orphans containers primitive QuickCheck
@@ -187586,24 +191172,24 @@ self: {
];
description = "QuickCheck common typeclasses";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
- "quickcheck-classes_0_6_2_1" = callPackage
+ "quickcheck-classes_0_6_3_0" = callPackage
({ mkDerivation, aeson, base, base-orphans, bifunctors, containers
, contravariant, fail, primitive, primitive-addr, QuickCheck
- , semigroupoids, semigroups, semirings, tagged, tasty
- , tasty-quickcheck, transformers, vector
+ , quickcheck-classes-base, semigroupoids, semigroups, semirings
+ , tagged, tasty, tasty-quickcheck, transformers, vector
}:
mkDerivation {
pname = "quickcheck-classes";
- version = "0.6.2.1";
- sha256 = "1pw4r4166a3f0ylvjifpcnicfh9kidz7lvjpgp4m0frhaqhx82ig";
+ version = "0.6.3.0";
+ sha256 = "0rbrxs79naffzp809523452xprh7z33j6p256qs0cnni9v9zfgjf";
+ revision = "1";
+ editedCabalFile = "1qm6zfmhil1wn1972hfdsvxlgzgps0ip8vdlgz3fz5a048l29ahq";
libraryHaskellDepends = [
aeson base base-orphans bifunctors containers contravariant fail
- primitive primitive-addr QuickCheck semigroupoids semigroups
- semirings tagged transformers vector
+ primitive primitive-addr QuickCheck quickcheck-classes-base
+ semigroupoids semigroups semirings tagged transformers vector
];
testHaskellDepends = [
aeson base base-orphans containers primitive QuickCheck
@@ -187612,7 +191198,22 @@ self: {
description = "QuickCheck common typeclasses";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ }) {};
+
+ "quickcheck-classes-base" = callPackage
+ ({ mkDerivation, base, base-orphans, bifunctors, containers
+ , contravariant, fail, QuickCheck, semigroups, tagged, transformers
+ }:
+ mkDerivation {
+ pname = "quickcheck-classes-base";
+ version = "0.6.0.0";
+ sha256 = "193jbr3fy2451gx0hzw82xrzxp6mxz5ics6yaybbz1a3dhlz53yx";
+ libraryHaskellDepends = [
+ base base-orphans bifunctors containers contravariant fail
+ QuickCheck semigroups tagged transformers
+ ];
+ description = "QuickCheck common typeclasses from `base`";
+ license = stdenv.lib.licenses.bsd3;
}) {};
"quickcheck-combinators" = callPackage
@@ -187623,6 +191224,8 @@ self: {
sha256 = "0qdjls949kmcv8wj3a27p4dz8nb1dq4i99zizkw7qyqn47r9ccxd";
libraryHaskellDepends = [ base QuickCheck unfoldable-restricted ];
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"quickcheck-enum-instances" = callPackage
@@ -187637,29 +191240,6 @@ self: {
}) {};
"quickcheck-instances" = callPackage
- ({ mkDerivation, array, base, base-compat, bytestring
- , case-insensitive, containers, hashable, old-time, QuickCheck
- , scientific, tagged, text, time, transformers, transformers-compat
- , unordered-containers, uuid-types, vector
- }:
- mkDerivation {
- pname = "quickcheck-instances";
- version = "0.3.19";
- sha256 = "0mls8095ylk5pq2j787ary5lyn4as64414silq3zn4sky3zsx92p";
- libraryHaskellDepends = [
- array base base-compat bytestring case-insensitive containers
- hashable old-time QuickCheck scientific tagged text time
- transformers transformers-compat unordered-containers uuid-types
- vector
- ];
- testHaskellDepends = [
- base containers QuickCheck tagged uuid-types
- ];
- description = "Common quickcheck instances";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "quickcheck-instances_0_3_21" = callPackage
({ mkDerivation, array, base, base-compat, bytestring
, case-insensitive, containers, hashable, old-time, QuickCheck
, scientific, splitmix, tagged, text, time, time-compat
@@ -187668,8 +191248,10 @@ self: {
}:
mkDerivation {
pname = "quickcheck-instances";
- version = "0.3.21";
- sha256 = "0kk9i5lck40jbx1sxcvaq66hywgnfslcx2cgy7lacq4cnjmyzrh1";
+ version = "0.3.22";
+ sha256 = "14asr9r7da3w7p4hjj51w2yb002nz8x0np8hdz9z4yjvi60vyrax";
+ revision = "2";
+ editedCabalFile = "1ia5fjhpg7rz793552v88gv2iqx7hl9mi2g09m0llasy1cpzc9jr";
libraryHaskellDepends = [
array base base-compat bytestring case-insensitive containers
hashable old-time QuickCheck scientific splitmix tagged text time
@@ -187682,7 +191264,6 @@ self: {
benchmarkHaskellDepends = [ base bytestring QuickCheck ];
description = "Common quickcheck instances";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"quickcheck-io" = callPackage
@@ -187833,8 +191414,8 @@ self: {
({ mkDerivation, base, QuickCheck }:
mkDerivation {
pname = "quickcheck-simple";
- version = "0.1.1.0";
- sha256 = "0rclb8ghakcrcw3sz9q8lvb2zh1a4lafb711mqpfl0csd3yvlia4";
+ version = "0.1.1.1";
+ sha256 = "0ah32y1p39p3d0696zp4mlf4bj67ggh73sb8nvf21snkwll86dai";
libraryHaskellDepends = [ base QuickCheck ];
description = "Test properties and default-mains for QuickCheck";
license = stdenv.lib.licenses.bsd3;
@@ -187854,38 +191435,6 @@ self: {
}) {};
"quickcheck-state-machine" = callPackage
- ({ mkDerivation, ansi-wl-pprint, base, bytestring, containers
- , directory, doctest, exceptions, filelock, filepath, http-client
- , lifted-async, matrix, monad-control, monad-logger, mtl, network
- , persistent, persistent-postgresql, persistent-template
- , pretty-show, process, QuickCheck, quickcheck-instances, random
- , resourcet, servant, servant-client, servant-server, split, stm
- , strict, string-conversions, tasty, tasty-hunit, tasty-quickcheck
- , text, tree-diff, vector, wai, warp
- }:
- mkDerivation {
- pname = "quickcheck-state-machine";
- version = "0.4.3";
- sha256 = "0f9hsjhrnab8gy51m4m1fn5i594ixx1qw14hsfwsakbn8f78aarx";
- libraryHaskellDepends = [
- ansi-wl-pprint base containers exceptions lifted-async matrix
- monad-control mtl pretty-show QuickCheck split stm tree-diff vector
- ];
- testHaskellDepends = [
- base bytestring directory doctest filelock filepath http-client
- lifted-async matrix monad-control monad-logger mtl network
- persistent persistent-postgresql persistent-template process
- QuickCheck quickcheck-instances random resourcet servant
- servant-client servant-server stm strict string-conversions tasty
- tasty-hunit tasty-quickcheck text tree-diff vector wai warp
- ];
- description = "Test monadic programs using state machine based models";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "quickcheck-state-machine_0_6_0" = callPackage
({ mkDerivation, ansi-wl-pprint, base, bytestring, containers
, directory, doctest, exceptions, filelock, filepath, http-client
, matrix, monad-logger, mtl, network, persistent
@@ -187957,6 +191506,8 @@ self: {
];
description = "Helper to build generators with Text.StringRandom";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"quickcheck-text" = callPackage
@@ -188015,8 +191566,6 @@ self: {
libraryHaskellDepends = [ base QuickCheck template-haskell ];
description = "Get counterexamples from QuickCheck as Haskell values";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"quicklz" = callPackage
@@ -188098,8 +191647,8 @@ self: {
}:
mkDerivation {
pname = "quickspec";
- version = "2.1.1";
- sha256 = "185sivnl9zwkzrsqknlpkm3mkl5irk6nawbwgm67x1y08d2wvmc4";
+ version = "2.1.2";
+ sha256 = "0igqwa195qgps5vla2a4f83rq4vdq739i94kbzzmbnniylx9wgdw";
libraryHaskellDepends = [
base constraints containers data-lens-light dlist QuickCheck
quickcheck-instances random spoon template-haskell transformers
@@ -188480,8 +192029,6 @@ self: {
];
description = "The raaz cryptographic library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rabocsv2qif" = callPackage
@@ -188570,10 +192117,8 @@ self: {
}:
mkDerivation {
pname = "radius";
- version = "0.6.0.1";
- sha256 = "19c2bv0iq4j0709rf9k9jk5q2s756bvjnr1gy630mcgp92rg8d9j";
- revision = "1";
- editedCabalFile = "1a4q1kz21v2m4wfdfaawdlkfnq9s8c5iijzcrdprrgsbi3kplrdi";
+ version = "0.6.0.3";
+ sha256 = "01mj0b0pasx60d93pi843vzhj31949wgf41l59jd2ps6ykhayx5b";
libraryHaskellDepends = [
base binary bytestring cryptonite iproute memory
];
@@ -188639,6 +192184,8 @@ self: {
attoparsec base criterion deepseq QuasiText text vector
];
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"rados-haskell" = callPackage
@@ -188673,8 +192220,8 @@ self: {
}:
mkDerivation {
pname = "raft";
- version = "0.3.11.0";
- sha256 = "0rc4gvhfcslwb01lxbwmd1j3hbcbkyflm0qg43ccdkf2pj2gibz8";
+ version = "0.4.0.0";
+ sha256 = "07lfjq2dz9vki7pvjg6p3mp2ifazhmidcx9pbsfxnhj1h8xb80bp";
libraryHaskellDepends = [
aeson attoparsec base binary bytestring cereal containers
data-default ghc-prim mtl parallel scientific split stm text time
@@ -188889,6 +192436,8 @@ self: {
benchmarkHaskellDepends = [ base criterion deepseq ];
description = "Random access list with a list compatible interface";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"rallod" = callPackage
@@ -189040,10 +192589,8 @@ self: {
}:
mkDerivation {
pname = "random-bytestring";
- version = "0.1.3.1";
- sha256 = "1d0f3y8n87fyyvlkn1c87d47xi50qn4cn11bnsn052860kyjda1k";
- revision = "1";
- editedCabalFile = "0gk5hcx1j06rklfd2cv63kh5dzjk8hr184riam784c7s9zg3s9a4";
+ version = "0.1.3.2";
+ sha256 = "16mjdb1sy7ppfbj5hshjpyrly6mklzvxip8vrqcvsfm869pkzayw";
libraryHaskellDepends = [ base bytestring mwc-random pcg-random ];
benchmarkHaskellDepends = [
async base bytestring criterion cryptonite entropy ghc-prim
@@ -189138,16 +192685,12 @@ self: {
({ mkDerivation, base, hmatrix, mtl, random-fu }:
mkDerivation {
pname = "random-fu-multivariate";
- version = "0.1.2.0";
- sha256 = "11hss3d1aa917g7w7k76zcakk82ras3046vb768yh5kayrb6a347";
- revision = "2";
- editedCabalFile = "13frafm1fdlgir64qsqy97158mv5chx98y23pdzdqiannf10w4by";
+ version = "0.1.2.1";
+ sha256 = "01r3jgjmhcj7wrc9ighwm0sbndsrz92l20gxh9p4rm2l90n0vxqc";
libraryHaskellDepends = [ base hmatrix mtl random-fu ];
testHaskellDepends = [ base ];
description = "Multivariate distributions for random-fu";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"random-hypergeometric" = callPackage
@@ -189353,18 +192896,14 @@ self: {
}:
mkDerivation {
pname = "range-set-list";
- version = "0.1.3";
- sha256 = "1pwnriv5r093qvqzzg9s868613nf92d3h8qmqaqc5qq95hykj6z5";
- revision = "1";
- editedCabalFile = "00ddj7if8lcrqf5c882m4slm15sdwcghz7d2fz222c7jcw1ahvdr";
+ version = "0.1.3.1";
+ sha256 = "0m8c8qhpk9vaykqfy6gsv1csmvdclm27zv9l56ipv152k75xks0j";
libraryHaskellDepends = [ base containers deepseq hashable ];
testHaskellDepends = [
base containers deepseq hashable tasty tasty-quickcheck
];
description = "Memory efficient sets with ranges of elements";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"range-space" = callPackage
@@ -189452,26 +192991,6 @@ self: {
}) {};
"rank2classes" = callPackage
- ({ mkDerivation, base, distributive, doctest, tasty, tasty-hunit
- , template-haskell, transformers
- }:
- mkDerivation {
- pname = "rank2classes";
- version = "1.2.1";
- sha256 = "0dbg5hc8vy0nikyw9h99d9z5jpwfzqb3jwg1li5h281fi5cm4nb0";
- libraryHaskellDepends = [
- base distributive template-haskell transformers
- ];
- testHaskellDepends = [
- base distributive doctest tasty tasty-hunit
- ];
- description = "standard type constructor class hierarchy, only with methods of rank 2 types";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "rank2classes_1_3" = callPackage
({ mkDerivation, base, distributive, doctest, tasty, tasty-hunit
, template-haskell, transformers
}:
@@ -189504,8 +193023,6 @@ self: {
];
description = "Rapid prototyping with GHCi: hot reloading of running components and reload-surviving values";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rapid-term" = callPackage
@@ -189774,6 +193291,8 @@ self: {
pname = "rasterific-svg";
version = "0.3.3.2";
sha256 = "1i0pl1hin1ipi3l0074ywd1khacpbvz3x0frx0j0hmbfiv4n3nq2";
+ revision = "1";
+ editedCabalFile = "19i9wlk951d85dqnmbgrnz0fg4xcw7cbv9cs2h8b440lycj3p4cv";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -189829,8 +193348,8 @@ self: {
}:
mkDerivation {
pname = "ratel-wai";
- version = "1.0.5";
- sha256 = "07k2gzc2by6zhsk1zqp0kjk37zc6ikigdp0j5d38pd7x30a7qk7x";
+ version = "1.1.0";
+ sha256 = "1wgmlcazfbz4y4q9k6367i76l8cal1qgqhqbh2p69ca365w9pf56";
libraryHaskellDepends = [
base bytestring case-insensitive containers http-client ratel wai
];
@@ -189847,8 +193366,8 @@ self: {
}:
mkDerivation {
pname = "rating-chgk-info";
- version = "0.3.6.4";
- sha256 = "0sfrsjlxlg08k0g8g65v21i2qr1ibq0cfgy7sayb1xbkqc319jvr";
+ version = "0.3.6.5";
+ sha256 = "08qfrrhc8kg95jvhv5m99zrb062w64z1jzm46zm4ah6mdjlpac18";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -189864,8 +193383,6 @@ self: {
benchmarkHaskellDepends = [ base-noprelude gauge relude ];
description = "Client for rating.chgk.info API and CSV tables (documentation in Russian)";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rating-systems" = callPackage
@@ -189914,29 +193431,29 @@ self: {
"rattletrap" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, binary, binary-bits
- , bytestring, clock, containers, filepath, http-client
- , http-client-tls, HUnit, template-haskell, temporary, text
+ , bytestring, containers, filepath, http-client, http-client-tls
+ , HUnit, scientific, template-haskell, temporary, text
, transformers
}:
mkDerivation {
pname = "rattletrap";
- version = "6.0.2";
- sha256 = "1904g1s61zazhg6zn189m7y9v5aap39zd0gfypzd9jrk6489aqi1";
+ version = "9.0.2";
+ sha256 = "14dnnaii24c9vh4jvdymnnhrhvgwzfr6al4qcm4bj9wk55jgj71r";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson aeson-pretty base binary binary-bits bytestring containers
- filepath http-client http-client-tls template-haskell text
- transformers
+ filepath http-client http-client-tls scientific template-haskell
+ text transformers
];
executableHaskellDepends = [
aeson aeson-pretty base binary binary-bits bytestring containers
- filepath http-client http-client-tls template-haskell text
- transformers
+ filepath http-client http-client-tls scientific template-haskell
+ text transformers
];
testHaskellDepends = [
- aeson aeson-pretty base binary binary-bits bytestring clock
- containers filepath http-client http-client-tls HUnit
+ aeson aeson-pretty base binary binary-bits bytestring containers
+ filepath http-client http-client-tls HUnit scientific
template-haskell temporary text transformers
];
description = "Parse and generate Rocket League replays";
@@ -189945,38 +193462,6 @@ self: {
broken = true;
}) {};
- "rattletrap_6_3_1" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, base, binary, binary-bits
- , bytestring, containers, filepath, http-client, http-client-tls
- , HUnit, template-haskell, temporary, text, transformers
- }:
- mkDerivation {
- pname = "rattletrap";
- version = "6.3.1";
- sha256 = "07v1cd4x9hxfnz0fm1prpgs0zms3b4wi7miw4q5n2zxcc22bdcc6";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson aeson-pretty base binary binary-bits bytestring containers
- filepath http-client http-client-tls template-haskell text
- transformers
- ];
- executableHaskellDepends = [
- aeson aeson-pretty base binary binary-bits bytestring containers
- filepath http-client http-client-tls template-haskell text
- transformers
- ];
- testHaskellDepends = [
- aeson aeson-pretty base binary binary-bits bytestring containers
- filepath http-client http-client-tls HUnit template-haskell
- temporary text transformers
- ];
- description = "Parse and generate Rocket League replays";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
"raven-haskell" = callPackage
({ mkDerivation, aeson, base, bytestring, hspec, http-conduit, mtl
, network, random, resourcet, text, time, unordered-containers
@@ -190233,8 +193718,6 @@ self: {
];
description = "Read-Copy-Update for Haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rdf" = callPackage
@@ -190255,8 +193738,6 @@ self: {
];
description = "Representation and Incremental Processing of RDF Data";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rdf4h" = callPackage
@@ -190515,8 +193996,8 @@ self: {
}:
mkDerivation {
pname = "reactive-banana-automation";
- version = "0.5.1";
- sha256 = "0wflw7rpknjj6qpf2ma1cxd03xg5v25rmfrmnli472h55jdcwdnz";
+ version = "0.5.2";
+ sha256 = "1gd6d3r0dsawi6zkr4fnkyrszikg1xzgfavxsaaswl4rw09znr7x";
libraryHaskellDepends = [
base reactive-banana stm time transformers
];
@@ -190877,26 +194358,24 @@ self: {
}) {};
"readme-lhs" = callPackage
- ({ mkDerivation, attoparsec, base, containers, filepath, foldl
- , HUnit, optparse-applicative, protolude, tasty, tasty-hunit, text
+ ({ mkDerivation, base, containers, doctest, optparse-generic
+ , pandoc, pandoc-types, protolude, tasty, text
}:
mkDerivation {
pname = "readme-lhs";
- version = "0.1.0.0";
- sha256 = "1pn0an37w4kgcn93a6qm0jxqsj882mhjwrnvl7hc5vp1960nqs6j";
+ version = "0.2.0";
+ sha256 = "0xwc2gqf23g87mi16miyi0nxy4wh33rki324biv3wh7xbpj03kpx";
isLibrary = true;
isExecutable = true;
- libraryHaskellDepends = [ attoparsec base foldl protolude text ];
+ libraryHaskellDepends = [
+ base containers pandoc pandoc-types protolude text
+ ];
executableHaskellDepends = [
- base containers filepath foldl optparse-applicative protolude text
+ base optparse-generic pandoc protolude
];
- testHaskellDepends = [
- base HUnit protolude tasty tasty-hunit text
- ];
- description = "See readme.lhs";
+ testHaskellDepends = [ base doctest protolude tasty ];
+ description = "See readme.md";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"readpyc" = callPackage
@@ -190967,13 +194446,13 @@ self: {
, cubicbezier, diagrams, diagrams-contrib, diagrams-core
, diagrams-lib, diagrams-svg, directory, filepath, fsnotify
, hashable, JuicyPixels, lens, linear, matrices, matrix, mtl
- , palette, parallel, process, reanimate-svg, svg-builder, text
- , time, unix, websockets, xml
+ , open-browser, palette, parallel, process, reanimate-svg
+ , svg-builder, text, time, websockets, xml
}:
mkDerivation {
pname = "reanimate";
- version = "0.1.4.1";
- sha256 = "04yzlznyrd4c21732ijl1y5c8kg6x3139jv3d5qvcxphsmkxw81f";
+ version = "0.1.5.0";
+ sha256 = "1jh9inlx92qn3klzi9385nfvphrwmmdbbs2gql019bdwmyhd815x";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -190981,8 +194460,8 @@ self: {
attoparsec base bytestring containers cubicbezier diagrams
diagrams-contrib diagrams-core diagrams-lib diagrams-svg directory
filepath fsnotify hashable JuicyPixels lens linear matrices matrix
- mtl palette parallel process reanimate-svg svg-builder text time
- unix websockets xml
+ mtl open-browser palette parallel process reanimate-svg svg-builder
+ text time websockets xml
];
description = "Animation library based on SVGs";
license = stdenv.lib.licenses.publicDomain;
@@ -190995,8 +194474,8 @@ self: {
}:
mkDerivation {
pname = "reanimate-svg";
- version = "0.9.0.0";
- sha256 = "0x4d06vsxz3845w05d4qnfbmws2bc7vxpny8hiqbv1wwgjwig327";
+ version = "0.9.1.0";
+ sha256 = "1hiinaz8swlg1lzm5narlwmkzqjxym4k3qn5izyhjjhx4ch0avr4";
libraryHaskellDepends = [
attoparsec base bytestring containers JuicyPixels lens linear mtl
scientific text transformers vector xml
@@ -191008,6 +194487,48 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "reanimate-svg_0_9_1_1" = callPackage
+ ({ mkDerivation, attoparsec, base, bytestring, containers, hspec
+ , JuicyPixels, lens, linear, mtl, scientific, svg-tree, text
+ , transformers, vector, xml
+ }:
+ mkDerivation {
+ pname = "reanimate-svg";
+ version = "0.9.1.1";
+ sha256 = "1y2q6nljgs4h05ga0v713z5bcjd8xrxvg6sf81di65rhdkksidx7";
+ libraryHaskellDepends = [
+ attoparsec base bytestring containers JuicyPixels lens linear mtl
+ scientific text transformers vector xml
+ ];
+ testHaskellDepends = [
+ attoparsec base hspec linear scientific svg-tree
+ ];
+ description = "SVG file loader and serializer";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "reason-export" = callPackage
+ ({ mkDerivation, base, bytestring, containers, Diff, directory
+ , formatting, hashable, hspec, hspec-core, HUnit, mtl, QuickCheck
+ , quickcheck-instances, text, time, wl-pprint-text
+ }:
+ mkDerivation {
+ pname = "reason-export";
+ version = "0.1.2.0";
+ sha256 = "0mgzpkxm38r4ghi418cp5axksh9lz3l6d439h8987rsf5n5bcndy";
+ libraryHaskellDepends = [
+ base bytestring containers directory formatting hashable mtl text
+ time wl-pprint-text
+ ];
+ testHaskellDepends = [
+ base bytestring containers Diff hashable hspec hspec-core HUnit
+ QuickCheck quickcheck-instances text time
+ ];
+ description = "Generate Reason types from Haskell";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"reasonable-lens" = callPackage
({ mkDerivation, base, mtl, split, template-haskell }:
mkDerivation {
@@ -191113,21 +194634,6 @@ self: {
}) {};
"record-dot-preprocessor" = callPackage
- ({ mkDerivation, base, extra, filepath }:
- mkDerivation {
- pname = "record-dot-preprocessor";
- version = "0.1.5";
- sha256 = "1vap09g7gh9nsr4x4bfysx3ha8kc9vpx252j0fdmffbivyj5d2wl";
- revision = "1";
- editedCabalFile = "1hggzp6fh071f2d11pn1y2rgczgxgvcfw86717gpxsm34kr60pgb";
- isLibrary = false;
- isExecutable = true;
- executableHaskellDepends = [ base extra filepath ];
- description = "Preprocessor to allow record.field syntax";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "record-dot-preprocessor_0_2" = callPackage
({ mkDerivation, base, extra, filepath, ghc, record-hasfield
, uniplate
}:
@@ -191142,7 +194648,6 @@ self: {
testHaskellDepends = [ base extra filepath record-hasfield ];
description = "Preprocessor to allow record.field syntax";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"record-encode" = callPackage
@@ -191311,8 +194816,8 @@ self: {
({ mkDerivation, base, composition-prelude }:
mkDerivation {
pname = "recursion";
- version = "2.2.3.0";
- sha256 = "193v6ygjhgv8l5b31gs4279dah677lhlj68kvj80pw5vj5azyawr";
+ version = "2.2.4.0";
+ sha256 = "0n50nv1lzahy2mfvia5v41f8jx9w2yygzq584xbkirazhj73sjbx";
libraryHaskellDepends = [ base composition-prelude ];
description = "A recursion schemes library for GHC";
license = stdenv.lib.licenses.bsd3;
@@ -191393,8 +194898,8 @@ self: {
}:
mkDerivation {
pname = "red-black-record";
- version = "2.0.2.2";
- sha256 = "1afmqdgd0xhawjckjz318561zsr478a7jkpr20l7alic6zxnl4z9";
+ version = "2.1.0.2";
+ sha256 = "0xfvvhdqnhialxf13xw894mpsf8xj8jig5zipqj1hh6galb0b164";
libraryHaskellDepends = [ base sop-core ];
testHaskellDepends = [
aeson base bytestring doctest profunctors sop-core tasty
@@ -191828,32 +195333,53 @@ self: {
}) {};
"refined" = callPackage
- ({ mkDerivation, aeson, base, deepseq, exceptions, mtl
- , prettyprinter, QuickCheck, template-haskell, these, transformers
+ ({ mkDerivation, aeson, base, deepseq, doctest, exceptions, mtl
+ , prettyprinter, QuickCheck, template-haskell, transformers
}:
mkDerivation {
pname = "refined";
- version = "0.4.1";
- sha256 = "1n3mdnknii99kvac4mmvjwi1nwk5527kci211w5n6z796dx56n8v";
+ version = "0.4.2.2";
+ sha256 = "1gdfhmj8f1abxflxmqyfibz0hdaayr932f04vchygdvdb812av60";
libraryHaskellDepends = [
aeson base deepseq exceptions mtl prettyprinter QuickCheck
- template-haskell these transformers
+ template-haskell transformers
];
+ testHaskellDepends = [ base doctest ];
description = "Refinement types with static and runtime checking";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
+ "refinery" = callPackage
+ ({ mkDerivation, base, containers, exceptions, mmorph, mtl, pipes
+ , semigroupoids
+ }:
+ mkDerivation {
+ pname = "refinery";
+ version = "0.1.0.0";
+ sha256 = "1g18ih1122h61jxgi72kxc9b4x7nvfxl807km46x150x1f3m7wvl";
+ libraryHaskellDepends = [
+ base containers exceptions mmorph mtl pipes semigroupoids
+ ];
+ testHaskellDepends = [
+ base containers exceptions mmorph mtl pipes semigroupoids
+ ];
+ description = "Toolkit for building proof automation systems";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"reflection" = callPackage
- ({ mkDerivation, base, template-haskell }:
+ ({ mkDerivation, base, hspec, hspec-discover, QuickCheck
+ , template-haskell
+ }:
mkDerivation {
pname = "reflection";
- version = "2.1.4";
- sha256 = "0kf4a5ijw6jfnfibjcrpdy9vzh1n6v2pxia8dhyyqdissiwc8bzj";
- revision = "1";
- editedCabalFile = "05ibi4ivvh87d96xl09yh0day08p5www5vp568mvn2dp37rxyngc";
+ version = "2.1.5";
+ sha256 = "0xr947nj1vww5b8fwqmypxm3y3j5sxl4z8wnf834f83jzfzyjbi7";
libraryHaskellDepends = [ base template-haskell ];
+ testHaskellDepends = [ base hspec QuickCheck ];
+ testToolDepends = [ hspec-discover ];
description = "Reifies arbitrary terms into types that can be reflected back into terms";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -191887,31 +195413,32 @@ self: {
}) {};
"reflex" = callPackage
- ({ mkDerivation, base, bifunctors, comonad, containers, criterion
- , data-default, deepseq, dependent-map, dependent-sum, directory
- , exception-transformers, filemanip, filepath, haskell-src-exts
- , haskell-src-meta, hlint, lens, loch-th, MemoTrie, monad-control
- , monoidal-containers, mtl, prim-uniq, primitive, process, random
- , ref-tf, reflection, semigroupoids, semigroups, split, stm, syb
- , template-haskell, these, time, transformers, transformers-compat
+ ({ mkDerivation, base, bifunctors, comonad, constraints-extras
+ , containers, criterion, data-default, deepseq, dependent-map
+ , dependent-sum, directory, exception-transformers, filemanip
+ , filepath, haskell-src-exts, haskell-src-meta, hlint, lens
+ , loch-th, MemoTrie, monad-control, monoidal-containers, mtl
+ , prim-uniq, primitive, process, profunctors, random, ref-tf
+ , reflection, semialign, semigroupoids, split, stm, syb
+ , template-haskell, these, these-lens, time, transformers
, unbounded-delays, witherable
}:
mkDerivation {
pname = "reflex";
- version = "0.6.1";
- sha256 = "1ggp2bpil2ig6rs45fn754kpqnp45lp069nc6ib4isj0dgzb9gpn";
+ version = "0.6.2.4";
+ sha256 = "1gm8w2ri16apy3b13i2f17pk1nsrsi0vbcrkckd1abbm4r4i16cd";
libraryHaskellDepends = [
- base bifunctors comonad containers data-default dependent-map
- dependent-sum exception-transformers haskell-src-exts
+ base bifunctors comonad constraints-extras containers data-default
+ dependent-map dependent-sum exception-transformers haskell-src-exts
haskell-src-meta lens MemoTrie monad-control monoidal-containers
- mtl prim-uniq primitive random ref-tf reflection semigroupoids
- semigroups stm syb template-haskell these time transformers
- transformers-compat unbounded-delays witherable
+ mtl prim-uniq primitive profunctors random ref-tf reflection
+ semialign semigroupoids stm syb template-haskell these time
+ transformers unbounded-delays witherable
];
testHaskellDepends = [
base bifunctors containers deepseq dependent-map dependent-sum
directory filemanip filepath hlint lens monoidal-containers mtl
- ref-tf semigroups split these transformers
+ ref-tf semialign split these these-lens transformers
];
benchmarkHaskellDepends = [
base containers criterion deepseq dependent-map dependent-sum
@@ -192098,16 +195625,18 @@ self: {
}) {};
"reflex-dom-helpers" = callPackage
- ({ mkDerivation, base, reflex, reflex-dom, template-haskell }:
+ ({ mkDerivation, base, reflex, reflex-dom-core, template-haskell
+ , text
+ }:
mkDerivation {
pname = "reflex-dom-helpers";
- version = "0.1.0.0";
- sha256 = "0fzvw9wd8465a0i0qnvnqngfs2fql13skxsrr9m1qivr3n3h7jhi";
+ version = "0.2.0.1";
+ sha256 = "1c0sa8i4rln7whmivmwlmivrj8zc45v25zsi1qwqx5d00mjbmkyk";
libraryHaskellDepends = [
- base reflex reflex-dom template-haskell
+ base reflex reflex-dom-core template-haskell text
];
testHaskellDepends = [ base ];
- description = "Element tag helpers for working with reflex-dom";
+ description = "Html tag helpers for reflex-dom";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -192248,12 +195777,38 @@ self: {
broken = true;
}) {};
+ "reflex-vty" = callPackage
+ ({ mkDerivation, base, bimap, containers, data-default
+ , dependent-map, dependent-sum, exception-transformers, mtl
+ , primitive, ref-tf, reflex, stm, text, text-icu, time
+ , transformers, vty
+ }:
+ mkDerivation {
+ pname = "reflex-vty";
+ version = "0.1.2.0";
+ sha256 = "0g28vv0p5p9z7zrh8w5n0xkardg8kcpadqz7hs52y0xz68fi0akh";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bimap containers data-default dependent-map dependent-sum
+ exception-transformers mtl primitive ref-tf reflex stm text
+ text-icu time transformers vty
+ ];
+ executableHaskellDepends = [
+ base containers reflex text time transformers vty
+ ];
+ description = "Reflex FRP host and widgets for vty applications";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"reform" = callPackage
({ mkDerivation, base, containers, mtl, semigroups, text }:
mkDerivation {
pname = "reform";
- version = "0.2.7.3";
- sha256 = "18aqpbssm2cxjry567qc7ccvs0wy18gm292gjf5vgzl7gjk7k2n2";
+ version = "0.2.7.4";
+ sha256 = "0dl0jz5ibcj4vafpf0a0v52rac4nmmif69817g7qgxavc093nq82";
libraryHaskellDepends = [ base containers mtl semigroups text ];
description = "reform is a type-safe HTML form generation and validation library";
license = stdenv.lib.licenses.bsd3;
@@ -192298,6 +195853,8 @@ self: {
];
description = "Happstack support for reform";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"reform-hsp" = callPackage
@@ -192309,6 +195866,19 @@ self: {
libraryHaskellDepends = [ base hsp hsx2hs reform text ];
description = "Add support for using HSP with Reform";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "reform-lucid" = callPackage
+ ({ mkDerivation, base, lucid, path-pieces, reform, text }:
+ mkDerivation {
+ pname = "reform-lucid";
+ version = "0.1.0.0";
+ sha256 = "1a3jfk0i87vqwxxlspzy44lf2i3bxxxy20pnbysczzf8i113y9zi";
+ libraryHaskellDepends = [ base lucid path-pieces reform text ];
+ description = "Add support for using lucid with Reform";
+ license = stdenv.lib.licenses.bsd3;
}) {};
"reformat" = callPackage
@@ -192403,18 +195973,19 @@ self: {
}) {};
"regex-applicative" = callPackage
- ({ mkDerivation, base, containers, smallcheck, tasty, tasty-hunit
- , tasty-smallcheck, transformers
+ ({ mkDerivation, base, containers, criterion, smallcheck, tasty
+ , tasty-hunit, tasty-smallcheck, transformers
}:
mkDerivation {
pname = "regex-applicative";
- version = "0.3.3";
- sha256 = "1riv7jqf26lbv4rm54sd6mrx8xdh4dvh4xbzymzdfdw13k6a4nb6";
+ version = "0.3.3.1";
+ sha256 = "0p0anx5vamrhrdvviwkh2zn6pa3pv2bjb7nfyc7dvz2q7g14y1lg";
libraryHaskellDepends = [ base containers transformers ];
testHaskellDepends = [
base containers smallcheck tasty tasty-hunit tasty-smallcheck
transformers
];
+ benchmarkHaskellDepends = [ base criterion ];
description = "Regex-based parsing with applicative interface";
license = stdenv.lib.licenses.mit;
}) {};
@@ -192425,8 +195996,8 @@ self: {
pname = "regex-applicative-text";
version = "0.1.0.1";
sha256 = "1ng2qhk4mvpzl8fx91ig7ldv09v9aqdsvn6yl9yjapc6h0ghb4xh";
- revision = "3";
- editedCabalFile = "1h911harqgfgkhdr22cndj2fdsl48sqhn8q0akgjngpf3p8z0bvv";
+ revision = "4";
+ editedCabalFile = "0ykzppl1v6k70idjl73m4w161f6lsax89v1gp100y4xgipf3yijj";
libraryHaskellDepends = [ base regex-applicative text ];
description = "regex-applicative on text";
license = stdenv.lib.licenses.bsd3;
@@ -192438,6 +196009,8 @@ self: {
pname = "regex-base";
version = "0.93.2";
sha256 = "0y1j4h2pg12c853nzmczs263di7xkkmlnsq5dlp5wgbgl49mgp10";
+ revision = "1";
+ editedCabalFile = "1ijzh7yz7i6hvn8xlgyrc75l7zzn0z3kd4ks2yjfih4iir63y4ns";
libraryHaskellDepends = [ array base bytestring containers mtl ];
description = "Replaces/Enhances Text.Regex";
license = stdenv.lib.licenses.bsd3;
@@ -192490,6 +196063,8 @@ self: {
pname = "regex-dfa";
version = "0.91";
sha256 = "1f846d86wg7yha29qinchpi3r5gv9795f384pqahbyc13wfky7dp";
+ revision = "1";
+ editedCabalFile = "089gzj8yih2f4ijyk9c49zyq6cws68z2rnklhiww9f3nb75lg6a9";
libraryHaskellDepends = [ base mtl parsec regex-base ];
description = "Replaces/Enhances Text.Regex";
license = stdenv.lib.licenses.bsd3;
@@ -192612,6 +196187,8 @@ self: {
pname = "regex-parsec";
version = "0.90";
sha256 = "0zf5cr10mxlxxd8fp4q4ix6ibxc5xx3ml3k043kx28f9vfdh2xnx";
+ revision = "1";
+ editedCabalFile = "19y0kgmqpcz4k0l3cfjbxirq844zqm71gaz7117pm399x8bz1df7";
libraryHaskellDepends = [ base parsec regex-base ];
description = "Replaces/Enhances Text.Regex";
license = stdenv.lib.licenses.bsd3;
@@ -192829,6 +196406,8 @@ self: {
pname = "regex-tre";
version = "0.91";
sha256 = "1b7x0y8q1fvipnzh06by48f8l9l5ypm6yblpl35fzf641z3m9b7j";
+ revision = "1";
+ editedCabalFile = "1xxxn1i6pgmba4p15hjw8achaiy4lfbib9gl0xz9z0jz9fmvfdab";
libraryHaskellDepends = [ base regex-base ];
librarySystemDepends = [ tre ];
description = "Replaces/Enhances Text.Regex";
@@ -192888,8 +196467,8 @@ self: {
}:
mkDerivation {
pname = "regexchar";
- version = "0.9.0.16";
- sha256 = "01bn4vazmnqvng8a989l50v7vy9bd7g57x9v44d6cn78q773vfzh";
+ version = "0.9.0.17";
+ sha256 = "1vkljfqilk0sfwnww1b907lqsdqxd8fdy64kf4vg26r89rzcd5i9";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -192912,8 +196491,8 @@ self: {
}:
mkDerivation {
pname = "regexdot";
- version = "0.12.2.0";
- sha256 = "12vbdljm38nnl76byik6fzar51v0nyjm1dp4ky8fh16f5ghnm5b8";
+ version = "0.12.2.1";
+ sha256 = "0s8jbkhhlhhdadwf7d8hy1cjs05mlf1r3czc861llwqrshys3c8c";
libraryHaskellDepends = [
base data-default deepseq extra parallel parsec toolshed
];
@@ -193072,55 +196651,26 @@ self: {
}) {};
"registry" = callPackage
- ({ mkDerivation, async, base, containers, exceptions, generic-lens
- , hashable, hedgehog, io-memoize, mmorph, MonadRandom, mtl
- , multimap, protolude, random, resourcet, semigroupoids, semigroups
- , tasty, tasty-discover, tasty-hedgehog, tasty-th, template-haskell
- , text, transformers-base, universum
+ ({ mkDerivation, async, base, bytestring, containers, directory
+ , exceptions, generic-lens, hashable, hedgehog, io-memoize, mmorph
+ , MonadRandom, mtl, multimap, protolude, random, resourcet
+ , semigroupoids, semigroups, tasty, tasty-discover, tasty-hedgehog
+ , tasty-th, template-haskell, text, transformers-base, universum
}:
mkDerivation {
pname = "registry";
- version = "0.1.5.1";
- sha256 = "1yvfrxhldbw6y8rawx5dddqrbgn8z8fsg5n745bx8wrag63s0vna";
+ version = "0.1.7.0";
+ sha256 = "14da74d1fijib9w6xi2x904c9iqhdja685lq63c0wc6zgi7ss2ln";
libraryHaskellDepends = [
base containers exceptions hashable mmorph mtl protolude resourcet
semigroupoids semigroups template-haskell text transformers-base
];
testHaskellDepends = [
- async base containers exceptions generic-lens hashable hedgehog
- io-memoize mmorph MonadRandom mtl multimap protolude random
- resourcet semigroupoids semigroups tasty tasty-discover
- tasty-hedgehog tasty-th template-haskell text transformers-base
- universum
- ];
- testToolDepends = [ tasty-discover ];
- description = "data structure for assembling components";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "registry_0_1_5_2" = callPackage
- ({ mkDerivation, async, base, containers, exceptions, generic-lens
- , hashable, hedgehog, io-memoize, mmorph, MonadRandom, mtl
- , multimap, protolude, random, resourcet, semigroupoids, semigroups
- , tasty, tasty-discover, tasty-hedgehog, tasty-th, template-haskell
- , text, transformers-base, universum
- }:
- mkDerivation {
- pname = "registry";
- version = "0.1.5.2";
- sha256 = "1spvc9y985820f945zvp822w8bxrrmny7rwcfy94nky4mv5gk4i0";
- libraryHaskellDepends = [
- base containers exceptions hashable mmorph mtl protolude resourcet
- semigroupoids semigroups template-haskell text transformers-base
- ];
- testHaskellDepends = [
- async base containers exceptions generic-lens hashable hedgehog
- io-memoize mmorph MonadRandom mtl multimap protolude random
- resourcet semigroupoids semigroups tasty tasty-discover
- tasty-hedgehog tasty-th template-haskell text transformers-base
- universum
+ async base bytestring containers directory exceptions generic-lens
+ hashable hedgehog io-memoize mmorph MonadRandom mtl multimap
+ protolude random resourcet semigroupoids semigroups tasty
+ tasty-discover tasty-hedgehog tasty-th template-haskell text
+ transformers-base universum
];
testToolDepends = [ tasty-discover ];
description = "data structure for assembling components";
@@ -193137,8 +196687,8 @@ self: {
}:
mkDerivation {
pname = "registry-hedgehog";
- version = "0.2.0.0";
- sha256 = "19wjy4dmv3cycql0aharg6qxd7bkb87qkr206apfi0km58mb01d8";
+ version = "0.2.1.0";
+ sha256 = "1gx7grxy7p08bbvmxrhr3ciw9jg7isz3xsa2ha3s3pg4ifas4g59";
libraryHaskellDepends = [
base containers hedgehog mmorph multimap protolude registry tasty
tasty-discover tasty-hedgehog tasty-th template-haskell text
@@ -193353,6 +196903,8 @@ self: {
];
description = "Sensible RLP encoding";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"relation" = callPackage
@@ -193401,8 +196953,8 @@ self: {
}:
mkDerivation {
pname = "relational-query";
- version = "0.12.2.1";
- sha256 = "09ihkynff79kpgph6kwb0rr6q9crkppdhal4nz7gvb1nx3y8fw9s";
+ version = "0.12.2.2";
+ sha256 = "0768cw6c5chzdcwshjjniysik5d1yj7zvhwncqnn0wgy4gp6kzjv";
libraryHaskellDepends = [
array base bytestring containers dlist names-th persistable-record
product-isomorphic sql-words template-haskell text th-reify-compat
@@ -193477,8 +197029,6 @@ self: {
];
description = "Examples of Haskell Relationa Record";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"relational-schemas" = callPackage
@@ -193512,6 +197062,23 @@ self: {
broken = true;
}) {};
+ "releaser" = callPackage
+ ({ mkDerivation, base, Cabal, pretty-terminal, process, regex-pcre
+ }:
+ mkDerivation {
+ pname = "releaser";
+ version = "0.1.0.0";
+ sha256 = "04icyx42ya7l4h5923yji0170c3xl0gg9lvcmswh7lmrg8x9gvip";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base Cabal pretty-terminal process regex-pcre
+ ];
+ executableHaskellDepends = [ base ];
+ description = "Automation of Haskell package release process";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
"relevant-time" = callPackage
({ mkDerivation, aeson, base, chronos, text, torsor }:
mkDerivation {
@@ -193572,29 +197139,6 @@ self: {
}) {};
"relude" = callPackage
- ({ mkDerivation, base, bytestring, containers, deepseq, doctest
- , gauge, ghc-prim, Glob, hashable, hedgehog, mtl, stm, tasty
- , tasty-hedgehog, text, transformers, unordered-containers
- }:
- mkDerivation {
- pname = "relude";
- version = "0.4.0";
- sha256 = "03z8ji8hssb811d1xvmv2zlnq7h7dsr801x05xydhfl1srbg5i9f";
- libraryHaskellDepends = [
- base bytestring containers deepseq ghc-prim hashable mtl stm text
- transformers unordered-containers
- ];
- testHaskellDepends = [
- base bytestring doctest Glob hedgehog tasty tasty-hedgehog text
- ];
- benchmarkHaskellDepends = [
- base containers gauge unordered-containers
- ];
- description = "Custom prelude from Kowainik";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "relude_0_5_0" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, doctest
, gauge, ghc-prim, Glob, hashable, hedgehog, mtl, QuickCheck, stm
, tasty, tasty-hedgehog, text, transformers, unordered-containers
@@ -193618,7 +197162,6 @@ self: {
];
description = "Custom prelude from Kowainik";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"remark" = callPackage
@@ -194119,15 +197662,13 @@ self: {
}:
mkDerivation {
pname = "repa-scalar";
- version = "4.2.3.2";
- sha256 = "1w5q7b38zy08s13nllwjisxx6mxx9pnqhh3v5ydi1b32hrkyfk7c";
+ version = "4.2.3.3";
+ sha256 = "1qjzrmz010gm50in0yja817r6wl0n2iybd00dsfpcspdaq91ahvb";
libraryHaskellDepends = [
base bytestring double-conversion primitive time vector
];
description = "Scalar data types and conversions";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"repa-series" = callPackage
@@ -194228,6 +197769,65 @@ self: {
license = stdenv.lib.licenses.asl20;
}) {};
+ "replace-attoparsec" = callPackage
+ ({ mkDerivation, attoparsec, base, bytestring, Cabal, criterion
+ , parsers, text
+ }:
+ mkDerivation {
+ pname = "replace-attoparsec";
+ version = "1.0.0.0";
+ sha256 = "0cyaqdlhjmpmw51h8k93gi21d1wkyajd2zyzfk787kg8hby0hkzi";
+ libraryHaskellDepends = [ attoparsec base bytestring text ];
+ testHaskellDepends = [
+ attoparsec base bytestring Cabal parsers text
+ ];
+ benchmarkHaskellDepends = [
+ attoparsec base bytestring criterion text
+ ];
+ description = "Stream editing with Attoparsec";
+ license = stdenv.lib.licenses.bsd2;
+ }) {};
+
+ "replace-megaparsec" = callPackage
+ ({ mkDerivation, base, bytestring, Cabal, criterion, megaparsec
+ , text
+ }:
+ mkDerivation {
+ pname = "replace-megaparsec";
+ version = "1.1.2.0";
+ sha256 = "154abc29xhc8qz3ilzrpnjn3a43rbiq7b60k4agv7zmsllihb0kk";
+ libraryHaskellDepends = [ base megaparsec ];
+ testHaskellDepends = [ base bytestring Cabal megaparsec text ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion megaparsec text
+ ];
+ description = "Stream editing with parsers";
+ license = stdenv.lib.licenses.bsd2;
+ }) {};
+
+ "replica" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, Diff
+ , file-embed, http-types, QuickCheck, quickcheck-instances
+ , template-haskell, text, wai, wai-websockets, websockets
+ }:
+ mkDerivation {
+ pname = "replica";
+ version = "0.1.0.0";
+ sha256 = "0q583krjbx8x45y8hy7vpw7b5y5c9bdfmyp0wh4bk3g8y7xxvvib";
+ libraryHaskellDepends = [
+ aeson base bytestring containers Diff file-embed http-types
+ template-haskell text wai wai-websockets websockets
+ ];
+ testHaskellDepends = [
+ aeson base bytestring containers Diff file-embed http-types
+ QuickCheck quickcheck-instances template-haskell text wai
+ wai-websockets websockets
+ ];
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"replicant" = callPackage
({ mkDerivation, aeson, aeson-pretty, ansi-terminal, attoparsec
, base, bytestring, containers, either, exceptions, fast-logger
@@ -194410,38 +198010,6 @@ self: {
}) {};
"req" = callPackage
- ({ mkDerivation, aeson, authenticate-oauth, base, blaze-builder
- , bytestring, case-insensitive, connection, data-default-class
- , hspec, hspec-core, hspec-discover, http-api-data, http-client
- , http-client-tls, http-types, monad-control, mtl, QuickCheck
- , retry, text, time, transformers, transformers-base
- , unordered-containers
- }:
- mkDerivation {
- pname = "req";
- version = "1.2.1";
- sha256 = "1s8gjifc9jixl4551hay013fwyhlamcyrxjb00qr76wwikqa0g8k";
- revision = "3";
- editedCabalFile = "1sbm2rk2q56gma2wja47q1rc8a2pizl8487g5z4fy1zynxm5inyj";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- aeson authenticate-oauth base blaze-builder bytestring
- case-insensitive connection data-default-class http-api-data
- http-client http-client-tls http-types monad-control mtl retry text
- time transformers transformers-base
- ];
- testHaskellDepends = [
- aeson base blaze-builder bytestring case-insensitive
- data-default-class hspec hspec-core http-client http-types
- monad-control mtl QuickCheck text time unordered-containers
- ];
- testToolDepends = [ hspec-discover ];
- doCheck = false;
- description = "Easy-to-use, type-safe, expandable, high-level HTTP client library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "req_2_0_1" = callPackage
({ mkDerivation, aeson, authenticate-oauth, base, blaze-builder
, bytestring, case-insensitive, connection, hspec, hspec-core
, hspec-discover, http-api-data, http-client, http-client-tls
@@ -194450,10 +198018,8 @@ self: {
}:
mkDerivation {
pname = "req";
- version = "2.0.1";
- sha256 = "1mfm6yy23l64kqbxvp1yn3yqf7fl46as87rz4yazg7f5x13bas3r";
- revision = "1";
- editedCabalFile = "1ghz63gcgkfd7hqx3ff97fg6m3cw1ariqk06ck2x75cn4y42myvn";
+ version = "2.1.0";
+ sha256 = "07sm483bkwqq7fvhwqysl4ac0nw1mvhkywawwpgq0c1gw2wnv56n";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
aeson authenticate-oauth base blaze-builder bytestring
@@ -194470,7 +198036,6 @@ self: {
doCheck = false;
description = "Easy-to-use, type-safe, expandable, high-level HTTP client library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"req-conduit" = callPackage
@@ -194519,30 +198084,11 @@ self: {
testHaskellDepends = [ base hspec ];
description = "Provides OAuth2 authentication for use with Req";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"req-url-extra" = callPackage
- ({ mkDerivation, aeson, base, data-default-class, hspec, modern-uri
- , req, text
- }:
- mkDerivation {
- pname = "req-url-extra";
- version = "0.1.0.0";
- sha256 = "113xsf37kra3k3jhf2wh37rsgphxz24rsn3dy8zw1cwzsim2dpmk";
- revision = "2";
- editedCabalFile = "0srj9fcbm9y8ddqgs8wc6caxamhgnic54y8qpxwnqdxrggdfkk67";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [ base modern-uri req ];
- executableHaskellDepends = [
- aeson base data-default-class modern-uri req text
- ];
- testHaskellDepends = [ base hspec modern-uri req ];
- description = "Provides URI/URL helper functions for use with Req";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "req-url-extra_0_1_1_0" = callPackage
({ mkDerivation, aeson, base, hspec, modern-uri, req, text }:
mkDerivation {
pname = "req-url-extra";
@@ -194556,6 +198102,7 @@ self: {
description = "Provides URI/URL helper functions for use with Req";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"reqcatcher" = callPackage
@@ -194572,6 +198119,8 @@ self: {
];
description = "A local http server to catch the HTTP redirect";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"request-monad" = callPackage
@@ -194703,14 +198252,16 @@ self: {
libraryHaskellDepends = [ base ghc-prim ralist semigroupoids ];
description = "High performance variable binders";
license = stdenv.lib.licenses.bsd2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"resistor-cube" = callPackage
({ mkDerivation, base, comfort-array, lapack }:
mkDerivation {
pname = "resistor-cube";
- version = "0.0.1";
- sha256 = "0gx2b45wyp61pqf0cwnmq1fznyvl6s3xcq9l38vggf9g90gs4fvz";
+ version = "0.0.1.2";
+ sha256 = "1jdpyxpbqhlbd66gy1qlrjqm31mhvg636yp8nrm9qbksllzdi6n6";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [ base comfort-array lapack ];
@@ -194720,7 +198271,7 @@ self: {
broken = true;
}) {};
- "resolv" = callPackage
+ "resolv_0_1_1_2" = callPackage
({ mkDerivation, base, base16-bytestring, binary, bytestring
, containers, directory, filepath, tasty, tasty-hunit
}:
@@ -194736,6 +198287,25 @@ self: {
];
description = "Domain Name Service (DNS) lookup via the libresolv standard library routines";
license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "resolv" = callPackage
+ ({ mkDerivation, base, base16-bytestring, binary, bytestring
+ , containers, directory, filepath, tasty, tasty-hunit
+ }:
+ mkDerivation {
+ pname = "resolv";
+ version = "0.1.1.3";
+ sha256 = "10y9x63m2w87qfmx9fxjfliq9881cp1x8zkf94sb0hq52rgxd3r4";
+ libraryHaskellDepends = [
+ base base16-bytestring binary bytestring containers
+ ];
+ testHaskellDepends = [
+ base bytestring directory filepath tasty tasty-hunit
+ ];
+ description = "Domain Name Service (DNS) lookup via the libresolv standard library routines";
+ license = stdenv.lib.licenses.gpl2Plus;
}) {};
"resolve" = callPackage
@@ -195342,26 +198912,6 @@ self: {
}) {};
"retry" = callPackage
- ({ mkDerivation, base, data-default-class, exceptions, ghc-prim
- , hedgehog, HUnit, mtl, random, stm, tasty, tasty-hedgehog
- , tasty-hunit, time, transformers
- }:
- mkDerivation {
- pname = "retry";
- version = "0.7.7.0";
- sha256 = "0v6irf01xykhv0mwr1k5i08jn77irqbz8h116j8p435d11xc5jrw";
- libraryHaskellDepends = [
- base data-default-class exceptions ghc-prim random transformers
- ];
- testHaskellDepends = [
- base data-default-class exceptions ghc-prim hedgehog HUnit mtl
- random stm tasty tasty-hedgehog tasty-hunit time transformers
- ];
- description = "Retry combinators for monadic actions that may fail";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "retry_0_8_0_1" = callPackage
({ mkDerivation, base, exceptions, ghc-prim, hedgehog, HUnit, mtl
, random, stm, tasty, tasty-hedgehog, tasty-hunit, time
, transformers
@@ -195379,7 +198929,6 @@ self: {
];
description = "Retry combinators for monadic actions that may fail";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"retryer" = callPackage
@@ -195495,6 +199044,27 @@ self: {
broken = true;
}) {};
+ "rewrite-inspector" = callPackage
+ ({ mkDerivation, base, binary, brick, containers, data-default
+ , hashable, microlens, microlens-th, prettyprinter, text, vty
+ }:
+ mkDerivation {
+ pname = "rewrite-inspector";
+ version = "0.1.0.9";
+ sha256 = "1f7jn46b311hlyb6zghrmqcg323235njisk4j31lf4kvbl848sn6";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base binary brick containers data-default hashable microlens
+ microlens-th prettyprinter text vty
+ ];
+ executableHaskellDepends = [ base prettyprinter ];
+ description = "Inspection of rewriting steps";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"rewriting" = callPackage
({ mkDerivation, base, containers, regular }:
mkDerivation {
@@ -195756,6 +199326,27 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "rg" = callPackage
+ ({ mkDerivation, array, base, fmt, possibly, tasty, tasty-hunit
+ , text, unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "rg";
+ version = "1.4.0.0";
+ sha256 = "1cnh3pmq80vziwr2rnz2zinlhak5abrkcpcrrs6x6jz0aq9npnj7";
+ libraryHaskellDepends = [
+ array base fmt possibly text unordered-containers vector
+ ];
+ testHaskellDepends = [
+ array base fmt possibly tasty tasty-hunit text unordered-containers
+ vector
+ ];
+ description = "A dynamic/unbounded alternative to Bounded Enum";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"rgb-color-model" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -195768,36 +199359,33 @@ self: {
}) {};
"rhine" = callPackage
- ({ mkDerivation, base, containers, deepseq, dunai, free, time
- , transformers, vector-sized
+ ({ mkDerivation, base, containers, deepseq, dunai, free
+ , MonadRandom, random, time, transformers, vector-sized
}:
mkDerivation {
pname = "rhine";
- version = "0.5.0.1";
- sha256 = "0mxqr441bav2gs856qmvivl9cd53gh28ycary112vxinalijjh23";
+ version = "0.5.1.0";
+ sha256 = "026hnakysi7xqhc630c5mbxs0y4j3wkyk71771mlrf7q2l94vh79";
libraryHaskellDepends = [
- base containers deepseq dunai free time transformers vector-sized
+ base containers deepseq dunai free MonadRandom random time
+ transformers vector-sized
];
description = "Functional Reactive Programming with type-level clocks";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rhine-gloss" = callPackage
({ mkDerivation, base, dunai, gloss, rhine }:
mkDerivation {
pname = "rhine-gloss";
- version = "0.5.0.1";
- sha256 = "0pj0in2xyz3g81rf175m65gwbwndabd0k2icsdcp3jcyqakzwari";
+ version = "0.5.1.0";
+ sha256 = "0nq5m74ivkdk15qcqpqs8bp816454k3k2big0av6lq2dzk8cjrll";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base dunai gloss rhine ];
executableHaskellDepends = [ base ];
description = "Gloss backend for Rhine";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rhythm-game-tutorial" = callPackage
@@ -195891,37 +199479,126 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "rib" = callPackage
+ ({ mkDerivation, aeson, async, base, binary, bytestring, clay
+ , cmdargs, containers, data-default, fsnotify, http-types, lens
+ , lens-aeson, lucid, mtl, pandoc, pandoc-include-code, pandoc-types
+ , safe, shake, skylighting, text, time, wai, wai-app-static
+ , wai-extra, warp
+ }:
+ mkDerivation {
+ pname = "rib";
+ version = "0.3.0.0";
+ sha256 = "1dw86xrz310vrapgln48r46z0ss35jm85c0r95pqvnq4smbwiw18";
+ libraryHaskellDepends = [
+ aeson async base binary bytestring clay cmdargs containers
+ data-default fsnotify http-types lens lens-aeson lucid mtl pandoc
+ pandoc-include-code pandoc-types safe shake skylighting text time
+ wai wai-app-static wai-extra warp
+ ];
+ description = "Static site generator using Shake";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "ribbit" = callPackage
+ ({ mkDerivation, base, Only, postgresql-simple, text, time }:
+ mkDerivation {
+ pname = "ribbit";
+ version = "0.3.0.1";
+ sha256 = "0n2xgwwff1bgpqza2l0d5j7agynkz2ps3vc0y73rrpxwc0kn8z3n";
+ libraryHaskellDepends = [ base Only postgresql-simple text time ];
+ description = "Type-level Relational DB combinators";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"ribosome" = callPackage
- ({ mkDerivation, aeson, ansi-terminal, base, bytestring, containers
- , data-default, deepseq, directory, either, filepath, hslogger, HTF
- , lens, messagepack, MissingH, mtl, nvim-hs, pretty-terminal
- , prettyprinter, prettyprinter-ansi-terminal, process, resourcet
- , safe, split, stm, text, time, transformers, typed-process, unix
- , unliftio, unliftio-core, utf8-string
+ ({ mkDerivation, aeson, ansi-terminal, base-noprelude, bytestring
+ , cereal, cereal-conduit, chiasma, composition, composition-extra
+ , conduit, conduit-extra, containers, cornea, data-default, deepseq
+ , directory, either, exceptions, filepath, free, hslogger, lens
+ , lifted-async, lifted-base, messagepack, MissingH, monad-control
+ , monad-loops, mtl, nvim-hs, path, path-io, pretty-terminal
+ , prettyprinter, prettyprinter-ansi-terminal, process, relude
+ , resourcet, safe, split, stm, stm-chans, stm-conduit
+ , template-haskell, text, th-abstraction, time, transformers
+ , transformers-base, typed-process, unix, unliftio, unliftio-core
+ , utf8-string
}:
mkDerivation {
pname = "ribosome";
- version = "0.2.2.0";
- sha256 = "0cz0ksrxin9k8pnzfhvv6ihskba7kmrwn6np3bdg6rq2g9745v9d";
+ version = "0.3.0.1";
+ sha256 = "1dka9hqh48nib7y0rz4bxr6d3iqavzw0163q64xwcjxaib293kks";
libraryHaskellDepends = [
- aeson ansi-terminal base bytestring containers data-default deepseq
- directory either filepath hslogger lens messagepack MissingH mtl
- nvim-hs pretty-terminal prettyprinter prettyprinter-ansi-terminal
- process resourcet safe split stm text time transformers
- typed-process unix unliftio unliftio-core utf8-string
- ];
- testHaskellDepends = [
- aeson ansi-terminal base bytestring containers data-default deepseq
- directory either filepath hslogger HTF lens messagepack MissingH
- mtl nvim-hs pretty-terminal prettyprinter
- prettyprinter-ansi-terminal process resourcet safe split stm text
- time transformers typed-process unix unliftio unliftio-core
+ aeson ansi-terminal base-noprelude bytestring cereal cereal-conduit
+ chiasma composition composition-extra conduit conduit-extra
+ containers cornea data-default deepseq directory either exceptions
+ filepath free hslogger lens lifted-async lifted-base messagepack
+ MissingH monad-control monad-loops mtl nvim-hs path path-io
+ pretty-terminal prettyprinter prettyprinter-ansi-terminal process
+ relude resourcet safe split stm stm-chans stm-conduit
+ template-haskell text th-abstraction time transformers
+ transformers-base typed-process unix unliftio unliftio-core
utf8-string
];
description = "api extensions for nvim-hs";
- license = stdenv.lib.licenses.mit;
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "ribosome-root" = callPackage
+ ({ mkDerivation, aeson, ansi-terminal, base-noprelude, bytestring
+ , chiasma, composition-extra, conduit, containers, cornea
+ , data-default, deepseq, directory, either, exceptions, filepath
+ , hslogger, HTF, lens, lifted-base, messagepack, MissingH
+ , monad-control, mtl, nvim-hs, pretty-terminal, prettyprinter
+ , prettyprinter-ansi-terminal, process, relude, resourcet, ribosome
+ , ribosome-test, safe, split, stm, template-haskell, text
+ , th-abstraction, time, transformers, transformers-base
+ , typed-process, unix, unliftio, unliftio-core, utf8-string
+ }:
+ mkDerivation {
+ pname = "ribosome-root";
+ version = "0.3.0.0";
+ sha256 = "0x2mgx4wsx3ridvvsjf5pssdgdj1af9bvgc4gmwf4vll43b9x603";
+ isLibrary = false;
+ isExecutable = false;
+ testHaskellDepends = [
+ aeson ansi-terminal base-noprelude bytestring chiasma
+ composition-extra conduit containers cornea data-default deepseq
+ directory either exceptions filepath hslogger HTF lens lifted-base
+ messagepack MissingH monad-control mtl nvim-hs pretty-terminal
+ prettyprinter prettyprinter-ansi-terminal process relude resourcet
+ ribosome ribosome-test safe split stm template-haskell text
+ th-abstraction time transformers transformers-base typed-process
+ unix unliftio unliftio-core utf8-string
+ ];
+ description = "api extensions for nvim-hs";
+ license = "unknown";
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
+ "ribosome-test" = callPackage
+ ({ mkDerivation, base-noprelude, bytestring, chiasma, cornea
+ , data-default, directory, exceptions, filepath, free, hslogger
+ , HTF, lifted-base, messagepack, monad-control, mtl, nvim-hs
+ , process, relude, resourcet, ribosome, text, transformers
+ , typed-process, unix, unliftio, unliftio-core
+ }:
+ mkDerivation {
+ pname = "ribosome-test";
+ version = "0.3.0.1";
+ sha256 = "18pmb6db23ak29y5vqzvblvq3yqpi2zn8qk0cp7825sbahqxn320";
+ libraryHaskellDepends = [
+ base-noprelude bytestring chiasma cornea data-default directory
+ exceptions filepath free hslogger HTF lifted-base messagepack
+ monad-control mtl nvim-hs process relude resourcet ribosome text
+ transformers typed-process unix unliftio unliftio-core
+ ];
+ description = "test helpers for ribosome";
+ license = "unknown";
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"richreports" = callPackage
@@ -196081,30 +199758,6 @@ self: {
}) {};
"rio" = callPackage
- ({ mkDerivation, base, bytestring, containers, deepseq, directory
- , exceptions, filepath, hashable, hspec, microlens, mtl, primitive
- , process, text, time, typed-process, unix, unliftio
- , unordered-containers, vector
- }:
- mkDerivation {
- pname = "rio";
- version = "0.1.8.0";
- sha256 = "1qgmvfc8whhg0qd6zh4jaqqbx5c4p11r8dskybanj6hs482ds4x0";
- libraryHaskellDepends = [
- base bytestring containers deepseq directory exceptions filepath
- hashable microlens mtl primitive process text time typed-process
- unix unliftio unordered-containers vector
- ];
- testHaskellDepends = [
- base bytestring containers deepseq directory exceptions filepath
- hashable hspec microlens mtl primitive process text time
- typed-process unix unliftio unordered-containers vector
- ];
- description = "A standard library for Haskell";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "rio_0_1_9_2" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, directory
, exceptions, filepath, hashable, hspec, microlens, mtl, primitive
, process, QuickCheck, text, time, typed-process, unix, unliftio
@@ -196112,8 +199765,8 @@ self: {
}:
mkDerivation {
pname = "rio";
- version = "0.1.9.2";
- sha256 = "14ai4z9d490bwh7xfvv3a5v4ykmfly0xli2srz98i6rg3ngv1nac";
+ version = "0.1.12.0";
+ sha256 = "0xzjkh6aavynpyskikhs8dmv0zhkiqiwz9zdn80zbd25b2182pif";
libraryHaskellDepends = [
base bytestring containers deepseq directory exceptions filepath
hashable microlens mtl primitive process text time typed-process
@@ -196127,7 +199780,6 @@ self: {
];
description = "A standard library for Haskell";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"rio-orphans" = callPackage
@@ -196150,6 +199802,24 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "rio-prettyprint" = callPackage
+ ({ mkDerivation, aeson, annotated-wl-pprint, ansi-terminal, array
+ , base, Cabal, colour, mtl, path, rio, text
+ }:
+ mkDerivation {
+ pname = "rio-prettyprint";
+ version = "0.1.0.0";
+ sha256 = "0n8ldc73i0954c6s8jh0hibxrisp84yh5pcxv3x3q0wg4v2xvr0m";
+ revision = "2";
+ editedCabalFile = "1hvhjqy7kfk7fglx1rw8axscy0dfzqwd1564awnwdhvmf8silkkn";
+ libraryHaskellDepends = [
+ aeson annotated-wl-pprint ansi-terminal array base Cabal colour mtl
+ path rio text
+ ];
+ description = "Pretty-printing for RIO";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"riot" = callPackage
({ mkDerivation, base, containers, directory, haskell98, mtl
, ncurses, old-locale, packedstring, process, unix
@@ -196500,8 +200170,6 @@ self: {
benchmarkHaskellDepends = [ base bytestring criterion ];
description = "Haskell implementation of the RNCryptor file format";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rng-utils" = callPackage
@@ -196656,6 +200324,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "rock" = callPackage
+ ({ mkDerivation, base, dependent-map, dependent-sum
+ , deriving-compat, mtl, protolude, transformers
+ }:
+ mkDerivation {
+ pname = "rock";
+ version = "0.1.0.1";
+ sha256 = "1a70c55k10algfbc77maaa8p2l16xkml6kddza52ab0vv8dn98d3";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base dependent-map dependent-sum deriving-compat mtl protolude
+ transformers
+ ];
+ description = "A build system for incremental, parallel, and demand-driven computations";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"rocksdb-haskell" = callPackage
({ mkDerivation, base, binary, bytestring, data-default, directory
, filepath, hspec, hspec-expectations, process, QuickCheck
@@ -196694,8 +200380,6 @@ self: {
];
description = "RocksDB database querying library for Haskell";
license = stdenv.lib.licenses.publicDomain;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"roguestar" = callPackage
@@ -196903,15 +200587,17 @@ self: {
"ron" = callPackage
({ mkDerivation, aeson, attoparsec, base, binary, bytestring
, containers, criterion, deepseq, hashable, integer-gmp, mtl
- , template-haskell, text, time, unordered-containers
+ , scientific, template-haskell, text, time, transformers
+ , unordered-containers
}:
mkDerivation {
pname = "ron";
- version = "0.6";
- sha256 = "022ilxpk9axw41d1cmlgdsgc3c7ss6a0j6a1w10l81g56xlpi67z";
+ version = "0.9";
+ sha256 = "0brjqb6lrcs711g5aqw3d5nidikmvjyyps8hcifzwpjanq0l8cvg";
libraryHaskellDepends = [
aeson attoparsec base binary bytestring containers hashable
- integer-gmp mtl template-haskell text time unordered-containers
+ integer-gmp mtl scientific template-haskell text time transformers
+ unordered-containers
];
benchmarkHaskellDepends = [ base criterion deepseq integer-gmp ];
description = "RON";
@@ -196924,8 +200610,8 @@ self: {
}:
mkDerivation {
pname = "ron-rdt";
- version = "0.6";
- sha256 = "0npd4fh3flywfrpnwfsfpss4zbzd9jj9xsbpxlcc4hhjh45x1b6b";
+ version = "0.9.1";
+ sha256 = "1kx858d3pyj2dlpznd9n0aw6yhkq4ac9789kkan9yi8mf0vdbn3i";
libraryHaskellDepends = [
base containers Diff hashable integer-gmp mtl ron text time
transformers unordered-containers
@@ -196941,8 +200627,8 @@ self: {
}:
mkDerivation {
pname = "ron-schema";
- version = "0.6";
- sha256 = "07nn74vwx26flam7klwfvj4yz5mqh8d5flf5ps7wxxfn70z3g4yg";
+ version = "0.9.1";
+ sha256 = "0pw398dq30bq554yfc9c6x43ng3bv5qx7mdw18ira92zlf5yh3qc";
libraryHaskellDepends = [
base bytestring containers hedn integer-gmp megaparsec mtl ron
ron-rdt template-haskell text transformers
@@ -196954,15 +200640,15 @@ self: {
"ron-storage" = callPackage
({ mkDerivation, base, bytestring, containers, directory, filepath
, integer-gmp, mtl, network-info, ron, ron-rdt, stm, text
- , transformers
+ , tf-random, transformers
}:
mkDerivation {
pname = "ron-storage";
- version = "0.7";
- sha256 = "0wqvbnylz2wx85c7qfqzima3axif6r65vc0iwl8lrmxpif2zs41c";
+ version = "0.10.1";
+ sha256 = "1wck9d188kinfzmz7ff8vw39ff5garfy6nw0cwkr4k3qdvcajj1r";
libraryHaskellDepends = [
base bytestring containers directory filepath integer-gmp mtl
- network-info ron ron-rdt stm text transformers
+ network-info ron ron-rdt stm text tf-random transformers
];
description = "RON Storage";
license = stdenv.lib.licenses.bsd3;
@@ -197241,16 +200927,17 @@ self: {
"rounded" = callPackage
({ mkDerivation, base, ghc-prim, gmp, hgmp, long-double, mpfr
- , reflection, singletons
+ , reflection
}:
mkDerivation {
pname = "rounded";
- version = "0.1.0.1";
- sha256 = "04abl192vq1xq7kf9fackcb17wjyxw4068fsks3pxm9dd4iymgls";
+ version = "1.0";
+ sha256 = "1vwy8sc457bxq3x8wzfsr5v01lp38ynwg8hp97likkckd13vkh7v";
libraryHaskellDepends = [
- base ghc-prim hgmp long-double reflection singletons
+ base ghc-prim hgmp long-double reflection
];
librarySystemDepends = [ gmp mpfr ];
+ libraryPkgconfigDepends = [ mpfr ];
testHaskellDepends = [ base long-double ];
description = "Correctly-rounded arbitrary-precision floating-point arithmetic";
license = stdenv.lib.licenses.bsd3;
@@ -197401,17 +201088,18 @@ self: {
}) {};
"row-types" = callPackage
- ({ mkDerivation, base, constraints, criterion, deepseq, hashable
- , text, unordered-containers
+ ({ mkDerivation, base, constraints, criterion, deepseq
+ , generic-lens, hashable, profunctors, text, unordered-containers
}:
mkDerivation {
pname = "row-types";
- version = "0.2.3.0";
- sha256 = "1dihp1bd6aw2hn2jbrg9kgq0rvbspbfwvcx6vv9zrq2j0jbbq250";
+ version = "0.3.0.0";
+ sha256 = "1w1xzkvg9fakz1d8a3dkfyi32gm52abrbky2knf8vhz6k5xc645i";
libraryHaskellDepends = [
- base constraints deepseq hashable text unordered-containers
+ base constraints deepseq generic-lens hashable profunctors text
+ unordered-containers
];
- testHaskellDepends = [ base ];
+ testHaskellDepends = [ base generic-lens ];
benchmarkHaskellDepends = [ base criterion deepseq ];
description = "Open Records and Variants";
license = stdenv.lib.licenses.mit;
@@ -197762,24 +201450,25 @@ self: {
}) {inherit (pkgs) rtl-sdr;};
"rtnetlink" = callPackage
- ({ mkDerivation, base, bytestring, cereal, hspec, monad-loops, mtl
- , pretty-hex, random, socket, transformers, unix
+ ({ mkDerivation, base, bits-bytestring, bytestring, cereal
+ , exceptions, hspec, linux-namespaces, pretty-hex, random, socket
+ , transformers, unix
}:
mkDerivation {
pname = "rtnetlink";
- version = "0.1.0.4";
- sha256 = "0z07ckrjkycfsh7a4llz7sr0fp9p1890kn5nd3imgmrs1d5s0wir";
+ version = "0.2.0.1";
+ sha256 = "1ly3cgkbnz24p33vlgbllmxx25f0b3d1rzr05gzcnhjlg7nxwwga";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bytestring cereal monad-loops mtl pretty-hex random socket
- transformers unix
+ base bits-bytestring bytestring cereal exceptions pretty-hex random
+ socket transformers unix
+ ];
+ testHaskellDepends = [
+ base bytestring exceptions hspec linux-namespaces socket unix
];
- testHaskellDepends = [ base hspec socket unix ];
description = "Manipulate network devices, addresses, and routes on Linux";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"rtorrent-rpc" = callPackage
@@ -197865,8 +201554,8 @@ self: {
}:
mkDerivation {
pname = "ruby-marshal";
- version = "0.1.2";
- sha256 = "13s017sqim92yz9r3x8zc4by1hksncikavsn12kf42vv58k95g1p";
+ version = "0.1.3";
+ sha256 = "0syjd9fmp55cfkq1kb78pvx0vg9dk43s5w4q2a8ndd1fkg194jwx";
libraryHaskellDepends = [
base bytestring cereal containers mtl string-conv vector
];
@@ -197970,6 +201659,19 @@ self: {
broken = true;
}) {};
+ "run-st" = callPackage
+ ({ mkDerivation, base, primitive, primitive-unlifted }:
+ mkDerivation {
+ pname = "run-st";
+ version = "0.1.0.0";
+ sha256 = "0gy5qkq8g7azfp170nsvbfdmj4k058zzfz6imvm2yvbqsny6i77a";
+ libraryHaskellDepends = [ base primitive primitive-unlifted ];
+ description = "runST without boxing penalty";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"rungekutta" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -198249,8 +201951,8 @@ self: {
pname = "safe-exceptions";
version = "0.1.7.0";
sha256 = "0sd0zfsm9pcll5bzzj523rbn45adjrnavdkz52hgmdjjgdcdrk8q";
- revision = "4";
- editedCabalFile = "0fid41gishzsyb47wzxhd5falandfirqcp760hcja81qjpfmqd32";
+ revision = "5";
+ editedCabalFile = "0yghh99yg24pzhzrflvgi4ip56ln7a56871pl3q70sm8rszy8vbr";
libraryHaskellDepends = [ base deepseq exceptions transformers ];
testHaskellDepends = [ base hspec void ];
description = "Safe, consistent, and easy exception handling";
@@ -198364,6 +202066,32 @@ self: {
broken = true;
}) {};
+ "safe-json_1_0_0" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, dlist
+ , generic-arbitrary, hashable, quickcheck-instances, scientific
+ , tasty, tasty-hunit, tasty-quickcheck, temporary, text, time
+ , unordered-containers, uuid, uuid-types, vector
+ }:
+ mkDerivation {
+ pname = "safe-json";
+ version = "1.0.0";
+ sha256 = "0i5wryhfiqdqxgzzk9ywnlh4y8hvanrm2mqa0niavf4jgvkkfalh";
+ libraryHaskellDepends = [
+ aeson base bytestring containers dlist hashable scientific tasty
+ tasty-hunit tasty-quickcheck text time unordered-containers
+ uuid-types vector
+ ];
+ testHaskellDepends = [
+ aeson base bytestring containers dlist generic-arbitrary hashable
+ quickcheck-instances scientific tasty tasty-hunit tasty-quickcheck
+ temporary text time unordered-containers uuid uuid-types vector
+ ];
+ description = "Automatic JSON format versioning";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"safe-lazy-io" = callPackage
({ mkDerivation, base, extensible-exceptions, parallel, strict-io
}:
@@ -198406,8 +202134,8 @@ self: {
}:
mkDerivation {
pname = "safe-money";
- version = "0.8.1";
- sha256 = "0yncqrdawf0p7y9qrcz6mc2xd265r3w5kj9lzwqybid8xqbaclij";
+ version = "0.9";
+ sha256 = "0c3xpsydqgcz183klmhgdn3xdagrj0falfqb63cmknk77z610s7f";
libraryHaskellDepends = [
base binary constraints deepseq hashable QuickCheck text
vector-space
@@ -198418,8 +202146,6 @@ self: {
];
description = "Type-safe and lossless encoding and manipulation of money, fiat currencies, crypto currencies and precious metals";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"safe-money-aeson" = callPackage
@@ -198437,8 +202163,6 @@ self: {
];
description = "Instances from the aeson library for the safe-money library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"safe-money-cereal" = callPackage
@@ -198456,8 +202180,6 @@ self: {
];
description = "Instances from the cereal library for the safe-money library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"safe-money-serialise" = callPackage
@@ -198475,8 +202197,6 @@ self: {
];
description = "Instances from the serialise library for the safe-money library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"safe-money-store" = callPackage
@@ -198513,8 +202233,6 @@ self: {
];
description = "Instances from the xmlbf library for the safe-money library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"safe-plugins" = callPackage
@@ -198802,92 +202520,73 @@ self: {
}) {};
"salak" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, containers, data-default
- , directory, filepath, hspec, menshen, mtl, pqueue, QuickCheck
- , scientific, text, transformers, unordered-containers, vector
- , yaml
+ ({ mkDerivation, base, bytestring, containers, criterion
+ , data-default, directory, dlist, exceptions, filepath, hashable
+ , heaps, hspec, hspec-discover, megaparsec, mtl, QuickCheck, random
+ , scientific, text, time, unliftio-core, unordered-containers
}:
mkDerivation {
pname = "salak";
- version = "0.1.11";
- sha256 = "03l6vadg5wzz2pf1kaxl0h7qndkspymamfdm27ifpwz3vwfy7m1p";
+ version = "0.3.5.3";
+ sha256 = "0k6z2vjxg6za6rfhx1xgjdck7ainnsbhrvzav2ngwpvy8li5g02b";
libraryHaskellDepends = [
- aeson attoparsec base containers data-default directory filepath
- menshen mtl pqueue scientific text transformers
- unordered-containers vector yaml
+ base bytestring containers data-default directory dlist exceptions
+ filepath hashable heaps megaparsec mtl scientific text time
+ unliftio-core unordered-containers
];
testHaskellDepends = [
- aeson attoparsec base containers data-default directory filepath
- hspec menshen mtl pqueue QuickCheck scientific text transformers
- unordered-containers vector yaml
+ base hspec mtl QuickCheck random scientific text
+ unordered-containers
];
- description = "Configuration Loader";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "salak_0_2_9_3" = callPackage
- ({ mkDerivation, attoparsec, base, bytestring, containers
- , data-default, directory, filepath, hspec, menshen, mtl, pqueue
- , QuickCheck, scientific, text, time, unliftio-core
- }:
- mkDerivation {
- pname = "salak";
- version = "0.2.9.3";
- sha256 = "0y1p2cf8bpglqf20a16d2h5xfknzz6wcdgwv6mamh24mdqv0c3rn";
- libraryHaskellDepends = [
- attoparsec base bytestring containers data-default directory
- filepath menshen mtl pqueue scientific text time unliftio-core
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ base criterion data-default mtl text time
];
- testHaskellDepends = [
- attoparsec base bytestring containers data-default directory
- filepath hspec menshen mtl pqueue QuickCheck scientific text time
- unliftio-core
- ];
- description = "Configuration Loader";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ description = "Configuration (re)Loader and Parser";
+ license = stdenv.lib.licenses.mit;
}) {};
"salak-toml" = callPackage
- ({ mkDerivation, base, hspec, mtl, QuickCheck, salak, text, time
- , tomland, unordered-containers
+ ({ mkDerivation, base, criterion, exceptions, hspec, mtl
+ , QuickCheck, salak, text, time, tomland, unordered-containers
}:
mkDerivation {
pname = "salak-toml";
- version = "0.2.9.3";
- sha256 = "1hb5ddm7a9acwri730w50p14vyk6z8q1wnx2b87386d80am5mbpy";
+ version = "0.3.5.3";
+ sha256 = "18spk2m75inddz9k0pwg58cr61rfbw1fnki56nnq7jng0wii376y";
libraryHaskellDepends = [
- base mtl salak text time tomland unordered-containers
+ base salak text time tomland unordered-containers
];
testHaskellDepends = [
- base hspec mtl QuickCheck salak text time tomland
+ base exceptions hspec mtl QuickCheck salak text time tomland
unordered-containers
];
+ benchmarkHaskellDepends = [
+ base criterion salak text time tomland unordered-containers
+ ];
description = "Configuration Loader for toml";
- license = stdenv.lib.licenses.bsd3;
+ license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
"salak-yaml" = callPackage
- ({ mkDerivation, base, conduit, hspec, libyaml, mtl, QuickCheck
- , salak, text
+ ({ mkDerivation, base, conduit, criterion, exceptions, hspec
+ , libyaml, mtl, QuickCheck, salak, text
}:
mkDerivation {
pname = "salak-yaml";
- version = "0.2.9.3";
- sha256 = "0jjmw923zvm349q318iw7y5lfqhbr85xgp6ai3xx5w5d4mcb2f32";
+ version = "0.3.5.3";
+ sha256 = "07wcwld58bdr8n5fdfq98x6c1xdr8rrx919y4f9y7abdnc4aj000";
libraryHaskellDepends = [ base conduit libyaml salak text ];
testHaskellDepends = [
- base conduit hspec libyaml mtl QuickCheck salak text
+ base conduit exceptions hspec libyaml mtl QuickCheck salak text
+ ];
+ benchmarkHaskellDepends = [
+ base conduit criterion libyaml salak text
];
description = "Configuration Loader for yaml";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
+ license = stdenv.lib.licenses.mit;
}) {};
"saltine" = callPackage
@@ -199489,15 +203188,16 @@ self: {
}) {};
"sbp" = callPackage
- ({ mkDerivation, aeson, array, base, base64-bytestring
- , basic-prelude, binary, binary-conduit, bytestring, conduit
- , conduit-extra, data-binary-ieee754, lens, lens-aeson, monad-loops
- , resourcet, tasty, tasty-hunit, template-haskell, text, time, yaml
+ ({ mkDerivation, aeson, aeson-pretty, array, base
+ , base64-bytestring, basic-prelude, binary, binary-conduit
+ , bytestring, cmdargs, conduit, conduit-extra, data-binary-ieee754
+ , lens, lens-aeson, monad-loops, resourcet, tasty, tasty-hunit
+ , template-haskell, text, time, yaml
}:
mkDerivation {
pname = "sbp";
- version = "2.4.7";
- sha256 = "1ik254jzgazlbjm09nms8imansk8nb7hhghzyqjcgywg45i119i3";
+ version = "2.6.3";
+ sha256 = "03d2wa73lg5l417c39di742x5x00bjjbqp7wkyr2vkpy04ilqvii";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -199506,8 +203206,8 @@ self: {
text
];
executableHaskellDepends = [
- aeson base basic-prelude binary-conduit bytestring conduit
- conduit-extra resourcet time yaml
+ aeson aeson-pretty base basic-prelude binary-conduit bytestring
+ cmdargs conduit conduit-extra resourcet time yaml
];
testHaskellDepends = [ base basic-prelude tasty tasty-hunit ];
description = "SwiftNav's SBP Library";
@@ -199535,33 +203235,6 @@ self: {
}) {};
"sbv" = callPackage
- ({ mkDerivation, array, async, base, bytestring, containers
- , crackNum, deepseq, directory, doctest, filepath, generic-deriving
- , ghc, Glob, hlint, mtl, pretty, process, QuickCheck, random, syb
- , tasty, tasty-golden, tasty-hunit, tasty-quickcheck
- , template-haskell, time, z3
- }:
- mkDerivation {
- pname = "sbv";
- version = "7.13";
- sha256 = "0bk400swnb4s98c5p71ml1px6jndaiqhf5dj7zmnliyplqcgpfik";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- array async base containers crackNum deepseq directory filepath
- generic-deriving ghc mtl pretty process QuickCheck random syb
- template-haskell time
- ];
- testHaskellDepends = [
- base bytestring containers crackNum directory doctest filepath Glob
- hlint mtl QuickCheck random syb tasty tasty-golden tasty-hunit
- tasty-quickcheck template-haskell
- ];
- testSystemDepends = [ z3 ];
- description = "SMT Based Verification: Symbolic Haskell theorem prover using SMT solving";
- license = stdenv.lib.licenses.bsd3;
- }) {inherit (pkgs) z3;};
-
- "sbv_8_2" = callPackage
({ mkDerivation, array, async, base, bytestring, containers
, crackNum, deepseq, directory, doctest, filepath, generic-deriving
, ghc, Glob, hlint, mtl, pretty, process, QuickCheck, random, syb
@@ -199570,10 +203243,8 @@ self: {
}:
mkDerivation {
pname = "sbv";
- version = "8.2";
- sha256 = "11jvjgcbipnk65yxv758p5cja89fpjf3nkf8nvqi69lyx1jgb72q";
- revision = "1";
- editedCabalFile = "1bn2k9ydx5vyy4z91y22lc6yhnv299y7z2cyzp1prxpvb1dgh5xv";
+ version = "8.3";
+ sha256 = "0d2ph3wr6qga3x43w7xlrvdr63zzsx4x3xn8p7l994b6i7d6rdzd";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
array async base containers crackNum deepseq directory filepath
@@ -199589,6 +203260,36 @@ self: {
description = "SMT Based Verification: Symbolic Haskell theorem prover using SMT solving";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {inherit (pkgs) z3;};
+
+ "sbv_8_4" = callPackage
+ ({ mkDerivation, array, async, base, bytestring, containers
+ , crackNum, deepseq, directory, doctest, filepath, generic-deriving
+ , ghc, Glob, hlint, mtl, pretty, process, QuickCheck, random, syb
+ , tasty, tasty-golden, tasty-hunit, tasty-quickcheck
+ , template-haskell, time, transformers, z3
+ }:
+ mkDerivation {
+ pname = "sbv";
+ version = "8.4";
+ sha256 = "0fv1l99zw29vsfgzym0qvb8qcy1jb7gkd1yj48vy1w0ayg9w01i0";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ array async base containers crackNum deepseq directory filepath
+ generic-deriving ghc mtl pretty process QuickCheck random syb
+ template-haskell time transformers
+ ];
+ testHaskellDepends = [
+ base bytestring containers crackNum directory doctest filepath Glob
+ hlint mtl QuickCheck random syb tasty tasty-golden tasty-hunit
+ tasty-quickcheck template-haskell
+ ];
+ testSystemDepends = [ z3 ];
+ description = "SMT Based Verification: Symbolic Haskell theorem prover using SMT solving";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {inherit (pkgs) z3;};
"sbvPlugin" = callPackage
@@ -199793,21 +203494,6 @@ self: {
}) {};
"scalpel" = callPackage
- ({ mkDerivation, base, bytestring, curl, data-default, scalpel-core
- , tagsoup, text
- }:
- mkDerivation {
- pname = "scalpel";
- version = "0.5.1";
- sha256 = "03cbc0yahs8pzp1jz0mvfnd9sl80zd3ql18l9xswm8kh6m1ndpr0";
- libraryHaskellDepends = [
- base bytestring curl data-default scalpel-core tagsoup text
- ];
- description = "A high level web scraping library for Haskell";
- license = stdenv.lib.licenses.asl20;
- }) {};
-
- "scalpel_0_6_0" = callPackage
({ mkDerivation, base, bytestring, case-insensitive, data-default
, http-client, http-client-tls, scalpel-core, tagsoup, text
}:
@@ -199821,29 +203507,9 @@ self: {
];
description = "A high level web scraping library for Haskell";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"scalpel-core" = callPackage
- ({ mkDerivation, base, bytestring, containers, criterion
- , data-default, fail, HUnit, regex-base, regex-tdfa, tagsoup, text
- , vector
- }:
- mkDerivation {
- pname = "scalpel-core";
- version = "0.5.1";
- sha256 = "1a99wazrgpvnjzsjk5az61f54hvppdxrrp2487nzndxpadlbh1cc";
- libraryHaskellDepends = [
- base bytestring containers data-default fail regex-base regex-tdfa
- tagsoup text vector
- ];
- testHaskellDepends = [ base HUnit regex-base regex-tdfa tagsoup ];
- benchmarkHaskellDepends = [ base criterion tagsoup text ];
- description = "A high level web scraping library for Haskell";
- license = stdenv.lib.licenses.asl20;
- }) {};
-
- "scalpel-core_0_6_0" = callPackage
({ mkDerivation, base, bytestring, containers, criterion
, data-default, fail, HUnit, pointedlist, regex-base, regex-tdfa
, tagsoup, text, vector
@@ -199860,7 +203526,6 @@ self: {
benchmarkHaskellDepends = [ base criterion tagsoup text ];
description = "A high level web scraping library for Haskell";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"scan" = callPackage
@@ -199876,6 +203541,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "scan-metadata" = callPackage
+ ({ mkDerivation, aeson, antiope-core, antiope-s3, base, bytestring
+ , containers, generic-lens, hw-aeson, hw-ip, lens, mtl, text, thyme
+ , unliftio-core
+ }:
+ mkDerivation {
+ pname = "scan-metadata";
+ version = "0.2.1.0";
+ sha256 = "0qkvx4mpa8pmsfakxg6nl711qzpsc7jx0jcwsmnsf9ms6ij1gvya";
+ libraryHaskellDepends = [
+ aeson antiope-core antiope-s3 base bytestring containers
+ generic-lens hw-aeson hw-ip lens mtl text thyme unliftio-core
+ ];
+ description = "Metadata types for Albedo Scanners";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"scan-vector-machine" = callPackage
({ mkDerivation, accelerate, array, base, dph-base, HUnit }:
mkDerivation {
@@ -200063,20 +203747,21 @@ self: {
"scheduler" = callPackage
({ mkDerivation, async, atomic-primops, base, Cabal, cabal-doctest
- , criterion, deepseq, doctest, exceptions, fib, hspec, monad-par
- , parallel, QuickCheck, streamly, template-haskell, unliftio
- , unliftio-core
+ , criterion, deepseq, doctest, exceptions, fib, genvalidity-hspec
+ , hspec, monad-par, mwc-random, parallel, primitive, QuickCheck
+ , streamly, template-haskell, unliftio, unliftio-core, vector
}:
mkDerivation {
pname = "scheduler";
- version = "1.1.0";
- sha256 = "1q4nj0ahhxcz0zzcfj58vgh1apid8hk13i5faxmqc52g9px464zd";
+ version = "1.4.2";
+ sha256 = "0px7k4lq758s8303fx690pzzigqi26m45wxpapj9pgl4kar45jzc";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
- atomic-primops base deepseq exceptions unliftio-core
+ atomic-primops base deepseq exceptions primitive unliftio-core
];
testHaskellDepends = [
- base deepseq doctest hspec QuickCheck template-haskell unliftio
+ base deepseq doctest genvalidity-hspec hspec mwc-random QuickCheck
+ template-haskell unliftio vector
];
benchmarkHaskellDepends = [
async base criterion deepseq fib monad-par parallel streamly
@@ -200288,6 +203973,39 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "scidb-hquery" = callPackage
+ ({ mkDerivation, alex, array, base, BNFC, bytestring, Cabal
+ , connection, cryptonite, data-default-class, directory, exceptions
+ , filepath, happy, haskeline, hostname-validate, HTTP, http-client
+ , http-client-tls, http-conduit, http-types, memory, mtl, network
+ , process, regex, safe, split, terminal-size, text, tls, x509-store
+ }:
+ mkDerivation {
+ pname = "scidb-hquery";
+ version = "2.8.0.434";
+ sha256 = "0q994ac1krcw312nklxxjr9d4r231s50lb2crbpph1swv6h8jwrq";
+ isLibrary = true;
+ isExecutable = true;
+ setupHaskellDepends = [ base Cabal filepath ];
+ libraryHaskellDepends = [
+ array base bytestring connection cryptonite data-default-class
+ exceptions haskeline hostname-validate HTTP http-client
+ http-client-tls http-conduit http-types memory mtl network process
+ regex safe split terminal-size text tls x509-store
+ ];
+ libraryToolDepends = [ alex BNFC happy ];
+ executableHaskellDepends = [
+ array base bytestring connection cryptonite data-default-class
+ directory exceptions filepath haskeline hostname-validate HTTP
+ http-client http-client-tls http-conduit http-types memory mtl
+ network process regex safe split terminal-size text tls x509-store
+ ];
+ description = "Haskell query for SciDB via shim";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"science-constants" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -200489,8 +204207,8 @@ self: {
}:
mkDerivation {
pname = "scotty";
- version = "0.11.4";
- sha256 = "13z0zmginaa1y5iywbbygvb9q3cmfgjkv6n2drs8gfbv3sirrf7i";
+ version = "0.11.5";
+ sha256 = "1pyj7j3zk80lv1c62ccna7nrsql5wf7pi5jscmypr2zd5xgfffvg";
libraryHaskellDepends = [
aeson base blaze-builder bytestring case-insensitive
data-default-class exceptions fail http-types monad-control mtl
@@ -200584,6 +204302,21 @@ self: {
broken = true;
}) {};
+ "scotty-form" = callPackage
+ ({ mkDerivation, base, ditto, ditto-lucid, lucid, scotty, text }:
+ mkDerivation {
+ pname = "scotty-form";
+ version = "0.2.0.0";
+ sha256 = "048vfcvi2wmpmg0ldm4fjkszsx498m22fsg0p8xdanbfbfzrzwwa";
+ libraryHaskellDepends = [
+ base ditto ditto-lucid lucid scotty text
+ ];
+ description = "Html form validation using `ditto`";
+ license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"scotty-format" = callPackage
({ mkDerivation, aeson, base, http-media, http-types, scotty, text
}:
@@ -201060,8 +204793,8 @@ self: {
}:
mkDerivation {
pname = "sdl2";
- version = "2.4.1.0";
- sha256 = "0p4b12fmxps0sbnkqdfy0qw19s355yrkw7fgw6xz53wzq706k991";
+ version = "2.5.0.0";
+ sha256 = "1x368yhdd55b3cvx8dvj1sj6nzygzigbhrwhssjs4k0rcxlwqfw8";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -201071,7 +204804,7 @@ self: {
librarySystemDepends = [ SDL2 ];
libraryPkgconfigDepends = [ SDL2 ];
testHaskellDepends = [ base deepseq linear vector weigh ];
- description = "Both high- and low-level bindings to the SDL library (version 2.0.4+).";
+ description = "Both high- and low-level bindings to the SDL library (version 2.0.6+).";
license = stdenv.lib.licenses.bsd3;
}) {inherit (pkgs) SDL2;};
@@ -201111,6 +204844,8 @@ self: {
pname = "sdl2-compositor";
version = "1.2.0.7";
sha256 = "1yfbqxrfhy951qdcf43vx9gxd4jj3l2dq5bz04blchpq4qzm4876";
+ revision = "1";
+ editedCabalFile = "0hyf1m8vi1zm88fbp4g3l4iz2lhm53mywppr3i72j78dxksyrl3l";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -201132,9 +204867,13 @@ self: {
pname = "sdl2-fps";
version = "0.0.2";
sha256 = "0lid8c2fdy43i9qjjn60mzn6mrcfnn1jflmbwfl93gc6ab5fwz63";
+ revision = "1";
+ editedCabalFile = "09bgygx1il6j4s243frlm4xl0z5drpdqn8fdgsid8m5b2m8c48ya";
libraryHaskellDepends = [ base sdl2 ];
description = "Run of the mill, frames per second timer implementation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"sdl2-gfx" = callPackage
@@ -201146,6 +204885,8 @@ self: {
pname = "sdl2-gfx";
version = "0.2";
sha256 = "03f541vrp1ifn26kzakamlc5f8pr9rfcf808cp6q5mvmlsvi07lc";
+ revision = "1";
+ editedCabalFile = "1gdasf1rq7gszfhin521cni8bxfzanvssznfi8m2fkgwz6ichhpv";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -201166,6 +204907,8 @@ self: {
pname = "sdl2-image";
version = "2.0.0";
sha256 = "1pr6dkg73cy9z0w54lrkj9c5bhxj56nl92lxikjy8kz6nyr455rr";
+ revision = "1";
+ editedCabalFile = "0471p3d1ws5n7r072xgk38n3vzs6ijjkmpv1r05vxn6qninlnq6m";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -201185,6 +204928,8 @@ self: {
pname = "sdl2-mixer";
version = "1.1.0";
sha256 = "1k8avyccq5l9z7bwxigim312yaancxl1sr3q6a96bcm7pnhiak0g";
+ revision = "1";
+ editedCabalFile = "06h708gbvl5z590p6fn10ck6yxjzyjjbmvk6mxcwgygbj76sw2f8";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -201206,6 +204951,8 @@ self: {
pname = "sdl2-sprite";
version = "0.0.1";
sha256 = "12xlq32sjvz064fll14ymbxbk52akcp24dm5vfa1x0s41z0x6fnq";
+ revision = "1";
+ editedCabalFile = "13s78cd2z14ja0cdy4p0j7y45rkj8brlv477jq3fd1v6x10wkrcy";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base sdl2 sdl2-image ];
@@ -201257,8 +205004,8 @@ self: {
}:
mkDerivation {
pname = "sdr";
- version = "0.1.0.11";
- sha256 = "0gkf7ql1a40vpb4qaivcyygvlykp4whljmhp2jy37bk56zr45yvv";
+ version = "0.1.0.12";
+ sha256 = "0nikrpcyb5mihc70cfvxy24bl80jjnabc8dc8y056yx54759jkk8";
libraryHaskellDepends = [
array base bytestring cairo cereal Chart Chart-cairo colour
containers Decimal dynamic-graph fftwRaw GLFW-b mwc-random OpenGL
@@ -201384,8 +205131,8 @@ self: {
({ mkDerivation, base, containers, doctest, hspec }:
mkDerivation {
pname = "search-algorithms";
- version = "0.3.0";
- sha256 = "046v424bvfnvf3hw38k9isdn9f05l4jk8k1fb2p3zn5zgb4h77aa";
+ version = "0.3.1";
+ sha256 = "1803pmk78l29nlgh68y7hndhlmlsabddf78hsva1bq87yhzz1rlv";
libraryHaskellDepends = [ base containers ];
testHaskellDepends = [ base containers doctest hspec ];
description = "Common graph search algorithms";
@@ -201529,6 +205276,29 @@ self: {
license = stdenv.lib.licenses.publicDomain;
}) {inherit (pkgs) secp256k1;};
+ "secp256k1-legacy" = callPackage
+ ({ mkDerivation, base, base16-bytestring, bytestring, Cabal, cereal
+ , cryptohash, entropy, HUnit, mtl, QuickCheck, string-conversions
+ , test-framework, test-framework-hunit, test-framework-quickcheck2
+ }:
+ mkDerivation {
+ pname = "secp256k1-legacy";
+ version = "0.5.4";
+ sha256 = "1sm0w29iwlhd1596h4x8dcqv5jz0jk6vfc41iqikdhgbn89xv6sd";
+ setupHaskellDepends = [ base Cabal ];
+ libraryHaskellDepends = [
+ base base16-bytestring bytestring cereal entropy mtl QuickCheck
+ string-conversions
+ ];
+ testHaskellDepends = [
+ base base16-bytestring bytestring cereal cryptohash entropy HUnit
+ mtl QuickCheck string-conversions test-framework
+ test-framework-hunit test-framework-quickcheck2
+ ];
+ description = "fork of secp256k1";
+ license = stdenv.lib.licenses.publicDomain;
+ }) {};
+
"secret-santa" = callPackage
({ mkDerivation, base, containers, diagrams-cairo, diagrams-lib
, haskell-qrencode, random
@@ -201645,50 +205415,61 @@ self: {
}) {sedna = null;};
"selda" = callPackage
- ({ mkDerivation, base, bytestring, exceptions, hashable, mtl
- , psqueues, text, time, unordered-containers
+ ({ mkDerivation, base, bytestring, containers, exceptions, mtl
+ , random, text, time, uuid-types
}:
mkDerivation {
pname = "selda";
- version = "0.3.4.0";
- sha256 = "1ww4v30ywmdshcf4fpgqj5ycd9c197xdlvnby366hzsm7byqq8wj";
+ version = "0.4.0.0";
+ sha256 = "1dqxwhipfran95gknbgab3a2nxxyg7x7m69mxs4jnn2ly97gpvbi";
libraryHaskellDepends = [
- base bytestring exceptions hashable mtl psqueues text time
- unordered-containers
+ base bytestring containers exceptions mtl random text time
+ uuid-types
];
description = "Multi-backend, high-level EDSL for interacting with SQL databases";
license = stdenv.lib.licenses.mit;
}) {};
+ "selda-json" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, selda, text }:
+ mkDerivation {
+ pname = "selda-json";
+ version = "0.1.0.0";
+ sha256 = "0m4qcnj7bplh1wpxnfx5mcpxyy2gpd00886lwmlxfdpch0qg2bd0";
+ revision = "1";
+ editedCabalFile = "1sgqscdibw80qsm02kxgx01rzh810rj3rwi1ksjq6d2j6yb1snaj";
+ libraryHaskellDepends = [ aeson base bytestring selda text ];
+ description = "JSON support for the Selda database library";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"selda-postgresql" = callPackage
- ({ mkDerivation, base, bytestring, exceptions, postgresql-libpq
- , selda, text
+ ({ mkDerivation, base, bytestring, exceptions, postgresql-binary
+ , postgresql-libpq, selda, selda-json, text, time, uuid-types
}:
mkDerivation {
pname = "selda-postgresql";
- version = "0.1.7.3";
- sha256 = "0ardh6ds8fmqy09y74nflsb8r5y4cvl2ddxcla0vzaf5xppx4czc";
- revision = "2";
- editedCabalFile = "1zrj412hkjjka4cvl5zj6gdpvdafmcny6xighi1glg67n8cmpb67";
+ version = "0.1.8.0";
+ sha256 = "0x7ncc8593lialllgsjdy759cinvgwh4spq2aarfd0j3zv78yvdi";
libraryHaskellDepends = [
- base bytestring exceptions postgresql-libpq selda text
+ base bytestring exceptions postgresql-binary postgresql-libpq selda
+ selda-json text time uuid-types
];
description = "PostgreSQL backend for the Selda database EDSL";
license = stdenv.lib.licenses.mit;
}) {};
"selda-sqlite" = callPackage
- ({ mkDerivation, base, direct-sqlite, directory, exceptions, selda
- , text
+ ({ mkDerivation, base, bytestring, direct-sqlite, directory
+ , exceptions, selda, text, time, uuid-types
}:
mkDerivation {
pname = "selda-sqlite";
- version = "0.1.6.1";
- sha256 = "1qqrgqzcfwqzlcklm0qjvdy3ndn3zg8s5mp8744v76bd6z2xwq4d";
- revision = "2";
- editedCabalFile = "0gb8raqmy8r8xwjpx238mqar5gdfd4194si2ms1a9ndcrilkkqja";
+ version = "0.1.7.0";
+ sha256 = "0qiagfsd45v3vk1npdm8g28mlbdbnrp3drvb6hdnxyp3b5cmyzik";
libraryHaskellDepends = [
- base direct-sqlite directory exceptions selda text
+ base bytestring direct-sqlite directory exceptions selda text time
+ uuid-types
];
description = "SQLite backend for the Selda database EDSL";
license = stdenv.lib.licenses.mit;
@@ -201722,12 +205503,12 @@ self: {
}:
mkDerivation {
pname = "selective";
- version = "0.2";
- sha256 = "0xg0pd3vffdxfzwkiirhnzqwqsshfb7grs7a7p3lf4yrd08h90ms";
+ version = "0.3";
+ sha256 = "135lq99h1iaip44d5kh7wpb3fcf8f6ypn5rxngm5agazy6ia42as";
libraryHaskellDepends = [ base containers transformers ];
testHaskellDepends = [
base containers mtl QuickCheck tasty tasty-expected-failure
- tasty-quickcheck
+ tasty-quickcheck transformers
];
description = "Selective applicative functors";
license = stdenv.lib.licenses.mit;
@@ -201802,8 +205583,6 @@ self: {
executableHaskellDepends = [ base ];
description = "A Haskell library to make self-extracting executables";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"selfrestart" = callPackage
@@ -201831,6 +205610,17 @@ self: {
broken = true;
}) {selinux = null;};
+ "semantic" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "semantic";
+ version = "0.0.0";
+ sha256 = "17vfwyjr3pxzjf35lhqqxid5bds52vk0gdqmnq4hvbjin3l07l98";
+ libraryHaskellDepends = [ base ];
+ description = "Framework and service for analyzing and diffing untrusted code";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"semaphore-plus" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -201881,6 +205671,43 @@ self: {
broken = true;
}) {};
+ "semialign" = callPackage
+ ({ mkDerivation, base, base-compat, containers, hashable
+ , semigroupoids, tagged, these, transformers, unordered-containers
+ , vector
+ }:
+ mkDerivation {
+ pname = "semialign";
+ version = "1";
+ sha256 = "004x0a80sqqdgvsyk4z0nasxpi6z3g1d8kgwj804bj9ka8dlc75m";
+ revision = "1";
+ editedCabalFile = "0qnqnyfng4kwy2h2anrcy5id2ijnawava3zcc5h5b8ri1y6ks6zi";
+ libraryHaskellDepends = [
+ base base-compat containers hashable semigroupoids tagged these
+ transformers unordered-containers vector
+ ];
+ description = "Align and Zip type-classes from the common Semialign ancestor";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "semialign-indexed" = callPackage
+ ({ mkDerivation, base, containers, hashable, lens, semialign, these
+ , unordered-containers, vector
+ }:
+ mkDerivation {
+ pname = "semialign-indexed";
+ version = "1";
+ sha256 = "0m37c4bfvph7w241cgr2adp3x13ffgnw2l66wyn7y9rdvm2983k2";
+ revision = "1";
+ editedCabalFile = "1m08sj2xd97ix5bkm5hpyyb7inqfqic9m5dmy5jyg0ws41077frg";
+ libraryHaskellDepends = [
+ base containers hashable lens semialign these unordered-containers
+ vector
+ ];
+ description = "SemialignWithIndex, i.e. izipWith and ialignWith";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"semibounded-lattices" = callPackage
({ mkDerivation, base, containers, lattices }:
mkDerivation {
@@ -201914,10 +205741,8 @@ self: {
}:
mkDerivation {
pname = "semigroupoids";
- version = "5.3.2";
- sha256 = "01cxdcflfzx674bhdclf6c7lwgjpbj5yqv8w1fi9dvipyhyj3a31";
- revision = "1";
- editedCabalFile = "1r88pi1bvc1w0nys810p3drra6na02zhbaf257dl4lyxl8iv5466";
+ version = "5.3.3";
+ sha256 = "016hc4imr9l4szs3p7f1aahvxr5wv4clvr3qzrm3nibssg5vrs61";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
base base-orphans bifunctors comonad containers contravariant
@@ -201964,12 +205789,12 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "semigroups_0_19" = callPackage
+ "semigroups_0_19_1" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "semigroups";
- version = "0.19";
- sha256 = "1ficdd32y0v6bi0dxzjn9fph03ql0nmyjy0x3ahr8c4508xh779r";
+ version = "0.19.1";
+ sha256 = "0j36cha1wb9vxnd8axfna92b2q5hnrn3ap8d8yin89c69gk63rvr";
libraryHaskellDepends = [ base ];
description = "Anything that associates";
license = stdenv.lib.licenses.bsd3;
@@ -202066,29 +205891,29 @@ self: {
"semirings" = callPackage
({ mkDerivation, base, containers, hashable, integer-gmp
- , unordered-containers, vector
+ , unordered-containers
}:
mkDerivation {
pname = "semirings";
- version = "0.2.1.1";
- sha256 = "0s28qq6fk2zqzz6y76fa1ddrrmpax99mlkxhz89mw15hx04mnsjp";
+ version = "0.4.2";
+ sha256 = "0bfcbi9hs9mv06ahkvq3bpf4vw6jprlssc9s8yjfb05p151qnx5j";
+ revision = "1";
+ editedCabalFile = "1wrkcfblq3j2688xg8f1ial05sijkssmdm2rv9sw6jfxiays60vq";
libraryHaskellDepends = [
- base containers hashable integer-gmp unordered-containers vector
+ base containers hashable integer-gmp unordered-containers
];
description = "two monoids as one, in holy haskimony";
license = stdenv.lib.licenses.bsd3;
}) {};
- "semirings_0_4_1" = callPackage
+ "semirings_0_5" = callPackage
({ mkDerivation, base, containers, hashable, integer-gmp
, unordered-containers
}:
mkDerivation {
pname = "semirings";
- version = "0.4.1";
- sha256 = "1zzq4x1x7fxj3zrzys1zbqidwmm7wh7ykxgr5f8bxysxbs98qjdp";
- revision = "1";
- editedCabalFile = "1d1p06clz9k35slzvj93r3q46lzanxkdxrx2ac1nrgd5khibq3wk";
+ version = "0.5";
+ sha256 = "1xfmb017jjlas0lq4969d1dw7wifsym8m2qnadz7bywhjl96kzxh";
libraryHaskellDepends = [
base containers hashable integer-gmp unordered-containers
];
@@ -202119,8 +205944,8 @@ self: {
}:
mkDerivation {
pname = "semver-range";
- version = "0.2.7";
- sha256 = "04492jx61yj4vq9bf1jg3xnviy22wb03d1kf358dy7w6xx1zzlfc";
+ version = "0.2.8";
+ sha256 = "1df663zkcf7y7a8cf5llf111rx4bsflhsi3fr1f840y4kdgxlvkf";
libraryHaskellDepends = [
base classy-prelude parsec text unordered-containers
];
@@ -202130,18 +205955,14 @@ self: {
];
description = "An implementation of semver and semantic version ranges";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"sendfile" = callPackage
({ mkDerivation, base, bytestring, network }:
mkDerivation {
pname = "sendfile";
- version = "0.7.10";
- sha256 = "1wnfmq64sq13siig0rrnln2bmk1aygnsgdwh5dh32agv9csrk4ab";
- revision = "1";
- editedCabalFile = "08k4clhyfa4h5ja9bz1mzg2wdx5337cg8bxd6lz25781f65llq7d";
+ version = "0.7.11.1";
+ sha256 = "0988snmx3bylpw3kcq8hsgji8idc6xcrcfp275qjv3apfdgc9rp0";
libraryHaskellDepends = [ base bytestring network ];
description = "A portable sendfile library";
license = stdenv.lib.licenses.bsd3;
@@ -202237,8 +206058,8 @@ self: {
}:
mkDerivation {
pname = "sensu-run";
- version = "0.6.1";
- sha256 = "1anxb5b8kmwf4bjzh49yxgnx3kkx37ydr4aw2xd46dph1gdk07mb";
+ version = "0.7.0.3";
+ sha256 = "1afn67bxmxch2gpjar89dkagchp3h0rqbv8jkglgfzjc137047dc";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -202495,20 +206316,23 @@ self: {
}) {};
"sequence-formats" = callPackage
- ({ mkDerivation, attoparsec, base, bytestring, containers
- , data-memocombinators, errors, exceptions, foldl, hslogger
- , lens-family, MissingH, pipes, pipes-attoparsec, pipes-bytestring
- , pipes-safe, pipes-text, split, text, transformers, turtle, vector
+ ({ mkDerivation, attoparsec, base, bytestring, containers, errors
+ , exceptions, foldl, hspec, lens-family, pipes, pipes-attoparsec
+ , pipes-bytestring, pipes-safe, tasty, tasty-hunit, transformers
+ , vector
}:
mkDerivation {
pname = "sequence-formats";
- version = "1.1.4.1";
- sha256 = "1zh2n1ksyvqzk2w35nsyj3sxdf7ni2iqv2ksrk8xs64n0j25c7ac";
+ version = "1.4.0.1";
+ sha256 = "1inw4agbm722zjbxi1ys73pssx76k8pg1s3cyxl5v1czqlyjxppy";
libraryHaskellDepends = [
- attoparsec base bytestring containers data-memocombinators errors
- exceptions foldl hslogger lens-family MissingH pipes
- pipes-attoparsec pipes-bytestring pipes-safe pipes-text split text
- transformers turtle vector
+ attoparsec base bytestring containers errors exceptions foldl
+ lens-family pipes pipes-attoparsec pipes-bytestring pipes-safe
+ transformers vector
+ ];
+ testHaskellDepends = [
+ base bytestring containers foldl hspec pipes pipes-safe tasty
+ tasty-hunit transformers vector
];
description = "A package with basic parsing utilities for several Bioinformatic data formats";
license = stdenv.lib.licenses.gpl3;
@@ -202516,6 +206340,36 @@ self: {
broken = true;
}) {};
+ "sequenceTools" = callPackage
+ ({ mkDerivation, ansi-wl-pprint, base, bytestring, foldl, hspec
+ , lens-family, optparse-applicative, pipes, pipes-group
+ , pipes-ordered-zip, pipes-safe, random, rio, sequence-formats
+ , split, vector
+ }:
+ mkDerivation {
+ pname = "sequenceTools";
+ version = "1.4.0.2";
+ sha256 = "1s6g5n9rb9yk2rzjc2dvmw14ncjfrf66lkla8bcacdvqwa8hl7kr";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring optparse-applicative pipes random sequence-formats
+ vector
+ ];
+ executableHaskellDepends = [
+ ansi-wl-pprint base bytestring foldl lens-family
+ optparse-applicative pipes pipes-group pipes-ordered-zip pipes-safe
+ random rio sequence-formats split vector
+ ];
+ testHaskellDepends = [
+ base bytestring hspec pipes sequence-formats vector
+ ];
+ description = "A package with tools for processing DNA sequencing data";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"sequent-core" = callPackage
({ mkDerivation, base, bytestring, containers, ghc, transformers }:
mkDerivation {
@@ -202626,6 +206480,8 @@ self: {
pname = "serialise";
version = "0.2.1.0";
sha256 = "19ary6ivzk8z7wcxhm860qmh7pwqj0qjqzav1h42y85l608zqgh4";
+ revision = "1";
+ editedCabalFile = "1rknhad1i8bpknsnphmcmb6dnb48c2p2c13ia2qqch3hkhsvfpr6";
libraryHaskellDepends = [
array base bytestring cborg containers ghc-prim half hashable
primitive text time unordered-containers vector
@@ -202769,34 +206625,6 @@ self: {
}) {};
"servant" = callPackage
- ({ mkDerivation, aeson, attoparsec, base, base-compat, bifunctors
- , bytestring, Cabal, cabal-doctest, case-insensitive, doctest
- , hspec, hspec-discover, http-api-data, http-media, http-types
- , mmorph, mtl, network-uri, QuickCheck, quickcheck-instances
- , singleton-bool, string-conversions, tagged, text, transformers
- , vault
- }:
- mkDerivation {
- pname = "servant";
- version = "0.15";
- sha256 = "0fgsddg8yn23izk3g4bmax6rlh56qhx13j8h5n6fxr7mq34kagsg";
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- aeson attoparsec base base-compat bifunctors bytestring
- case-insensitive http-api-data http-media http-types mmorph mtl
- network-uri QuickCheck singleton-bool string-conversions tagged
- text transformers vault
- ];
- testHaskellDepends = [
- aeson base base-compat bytestring doctest hspec mtl QuickCheck
- quickcheck-instances string-conversions text transformers
- ];
- testToolDepends = [ hspec-discover ];
- description = "A family of combinators for defining webservices APIs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant_0_16_0_1" = callPackage
({ mkDerivation, aeson, attoparsec, base, base-compat, bifunctors
, bytestring, Cabal, cabal-doctest, case-insensitive, deepseq
, doctest, hspec, hspec-discover, http-api-data, http-media
@@ -202806,8 +206634,8 @@ self: {
}:
mkDerivation {
pname = "servant";
- version = "0.16.0.1";
- sha256 = "0ial3gvmsbaa26lgqlxk5sigpdqrr982cgkp2amlgniwg85sa2wp";
+ version = "0.16.2";
+ sha256 = "0yzl1yklbbymlh8jdc4ncrdxkalx2z349v4msbd6wxxrxfkxbz6n";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
aeson attoparsec base base-compat bifunctors bytestring
@@ -202823,7 +206651,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "A family of combinators for defining webservices APIs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-JuicyPixels" = callPackage
@@ -202889,33 +206716,6 @@ self: {
}) {};
"servant-auth-client" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers, hspec
- , hspec-discover, http-client, http-types, jose, QuickCheck
- , servant, servant-auth, servant-auth-server, servant-client
- , servant-client-core, servant-server, text, time, transformers
- , wai, warp
- }:
- mkDerivation {
- pname = "servant-auth-client";
- version = "0.3.3.0";
- sha256 = "1pxkwpg1in3anamfvrp8gd7iihng0ikhl4k7ymz5d75ma1qwa2j9";
- revision = "3";
- editedCabalFile = "1kzyqd9hg7xld5s8qpm76l9ym48z81j6ycdwp3lb0f1p2d3aagcd";
- libraryHaskellDepends = [
- base bytestring containers servant servant-auth servant-client-core
- text
- ];
- testHaskellDepends = [
- aeson base bytestring hspec http-client http-types jose QuickCheck
- servant servant-auth servant-auth-server servant-client
- servant-server time transformers wai warp
- ];
- testToolDepends = [ hspec-discover ];
- description = "servant-client/servant-auth compatibility";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant-auth-client_0_4_0_0" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, hspec
, hspec-discover, http-client, http-types, jose, QuickCheck
, servant, servant-auth, servant-auth-server, servant-client
@@ -202939,7 +206739,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "servant-client/servant-auth compatibility";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-auth-cookie" = callPackage
@@ -203250,22 +207049,6 @@ self: {
}) {};
"servant-blaze" = callPackage
- ({ mkDerivation, base, blaze-html, http-media, servant
- , servant-server, wai, warp
- }:
- mkDerivation {
- pname = "servant-blaze";
- version = "0.8";
- sha256 = "155f20pizgkhn0hczwpxwxw1i99h0l6kfwwhs2r6bmr305aqisj6";
- revision = "2";
- editedCabalFile = "1cfla60vn4kk5gb7fawlp34jr2k6b2fprysq05561wdfv990x4bj";
- libraryHaskellDepends = [ base blaze-html http-media servant ];
- testHaskellDepends = [ base blaze-html servant-server wai warp ];
- description = "Blaze-html support for servant";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant-blaze_0_9" = callPackage
({ mkDerivation, base, blaze-html, http-media, servant
, servant-server, wai, warp
}:
@@ -203279,7 +207062,6 @@ self: {
testHaskellDepends = [ base blaze-html servant-server wai warp ];
description = "Blaze-html support for servant";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-cassava" = callPackage
@@ -203304,35 +207086,6 @@ self: {
}) {};
"servant-checked-exceptions" = callPackage
- ({ mkDerivation, aeson, base, bytestring, deepseq, hspec-wai
- , http-media, http-types, profunctors, servant
- , servant-checked-exceptions-core, servant-client
- , servant-client-core, servant-docs, servant-server, tagged, tasty
- , tasty-hspec, tasty-hunit, text, wai, world-peace
- }:
- mkDerivation {
- pname = "servant-checked-exceptions";
- version = "2.0.0.0";
- sha256 = "127nav7z2zkgfgzpjjprqb6s55mbdj9z2p05knjx3mangs2q5wm7";
- revision = "1";
- editedCabalFile = "0h18x8gimmczgml4rj74kx3463pwrsyxl2vnd13ra5hj0q44d683";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson base bytestring deepseq http-media http-types profunctors
- servant servant-checked-exceptions-core servant-client
- servant-client-core servant-docs servant-server tagged text wai
- world-peace
- ];
- testHaskellDepends = [
- base bytestring hspec-wai http-types servant servant-server tasty
- tasty-hspec tasty-hunit wai
- ];
- description = "Checked exceptions for Servant APIs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant-checked-exceptions_2_1_0_0" = callPackage
({ mkDerivation, base, bytestring, hspec-wai, http-types, servant
, servant-checked-exceptions-core, servant-client
, servant-client-core, servant-server, tasty, tasty-hspec
@@ -203340,8 +207093,8 @@ self: {
}:
mkDerivation {
pname = "servant-checked-exceptions";
- version = "2.1.0.0";
- sha256 = "0dbbixk3852phxhfcj84v3525yp5nl5krcrw53wsgc91r0w529s7";
+ version = "2.2.0.0";
+ sha256 = "1shbnrjk2d0lq9nskl95jkfgr4ad79nx4k87zjg4c4m6m09nf5bh";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -203354,72 +207107,47 @@ self: {
];
description = "Checked exceptions for Servant APIs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-checked-exceptions-core" = callPackage
- ({ mkDerivation, aeson, base, bytestring, deepseq, doctest, Glob
- , http-media, http-types, profunctors, servant, servant-docs
- , tagged, text, world-peace
+ ({ mkDerivation, aeson, base, bytestring, contravariant, doctest
+ , Glob, http-media, http-types, mtl, profunctors, servant
+ , servant-docs, tagged, text, transformers, world-peace
}:
mkDerivation {
pname = "servant-checked-exceptions-core";
- version = "2.0.0.0";
- sha256 = "0j5j7ai1b7nnsvzal27jy6hamwx5i2pyc1f6mmmb06r40cs53lxa";
- revision = "1";
- editedCabalFile = "1q2y4cri4h33cfdpgz95dczhvhmyrqajm7k6ypl3b8rw953qlzy7";
+ version = "2.2.0.0";
+ sha256 = "1irakwsdj6f0yjp0cpgai6x01yq99qd2rwy1w3pb7xwiksdnxx6c";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson base bytestring deepseq http-media http-types profunctors
- servant servant-docs tagged text world-peace
+ aeson base bytestring contravariant http-media http-types mtl
+ profunctors servant servant-docs tagged text transformers
+ world-peace
];
testHaskellDepends = [ base doctest Glob ];
description = "Checked exceptions for Servant APIs";
license = stdenv.lib.licenses.bsd3;
}) {};
- "servant-checked-exceptions-core_2_1_0_0" = callPackage
- ({ mkDerivation, aeson, base, bytestring, doctest, Glob, http-media
- , http-types, profunctors, servant, servant-docs, tagged, text
- , world-peace
- }:
- mkDerivation {
- pname = "servant-checked-exceptions-core";
- version = "2.1.0.0";
- sha256 = "1qmmbqniipx7bpinbjh9z0i2n0v71y6p3jak629aw0403rhq92pz";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson base bytestring http-media http-types profunctors servant
- servant-docs tagged text world-peace
- ];
- testHaskellDepends = [ base doctest Glob ];
- description = "Checked exceptions for Servant APIs";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"servant-cli" = callPackage
({ mkDerivation, aeson, base, bytestring, case-insensitive
- , containers, filepath, free, http-client, http-types
- , kan-extensions, optparse-applicative, profunctors, random
+ , containers, filepath, free, functor-combinators, http-client
+ , http-types, optparse-applicative, profunctors, random
, recursion-schemes, servant, servant-client, servant-client-core
- , servant-docs, servant-server, text, vinyl, warp
+ , servant-docs, servant-server, text, transformers, vinyl, warp
}:
mkDerivation {
pname = "servant-cli";
- version = "0.1.0.0";
- sha256 = "1jvdygdbz6rd4cnzp063a44m56b7dzskicbihjgkrpk73b9mvx7w";
- revision = "1";
- editedCabalFile = "06yzqhvzb9zmwidik05vndi4rphdbmciqij6azp3ng3ph8wmvd38";
+ version = "0.1.0.1";
+ sha256 = "12d18ca90b7mijaav3glx60b9c9qd1f2g4p5m4m7hzz2m22dyimn";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base bytestring case-insensitive containers filepath free
- http-types kan-extensions optparse-applicative profunctors
+ functor-combinators http-types optparse-applicative profunctors
recursion-schemes servant servant-client-core servant-docs text
- vinyl
+ transformers vinyl
];
executableHaskellDepends = [
aeson base bytestring containers http-client optparse-applicative
@@ -203427,42 +207155,11 @@ self: {
];
description = "Command line interface for Servant API clients";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-client" = callPackage
- ({ mkDerivation, aeson, base, base-compat, bytestring, containers
- , deepseq, entropy, exceptions, generics-sop, hspec, hspec-discover
- , http-api-data, http-client, http-media, http-types, HUnit
- , kan-extensions, markdown-unlit, monad-control, mtl, network
- , QuickCheck, semigroupoids, servant, servant-client-core
- , servant-server, stm, tdigest, text, time, transformers
- , transformers-base, transformers-compat, wai, warp
- }:
- mkDerivation {
- pname = "servant-client";
- version = "0.15";
- sha256 = "098aaickq6j6f0d7bl2y72fcl53xp2w29qg3gy7yls4z8wd76v1a";
- revision = "1";
- editedCabalFile = "1h3j8mpnrbpc1i4appf8g4zn7h30f6ybg6fg3w057kz18bk9y76f";
- libraryHaskellDepends = [
- base base-compat bytestring containers deepseq exceptions
- http-client http-media http-types kan-extensions monad-control mtl
- semigroupoids servant servant-client-core stm text time
- transformers transformers-base transformers-compat
- ];
- testHaskellDepends = [
- aeson base base-compat bytestring entropy generics-sop hspec
- http-api-data http-client http-types HUnit kan-extensions
- markdown-unlit mtl network QuickCheck servant servant-client-core
- servant-server tdigest text transformers transformers-compat wai
- warp
- ];
- testToolDepends = [ hspec-discover markdown-unlit ];
- description = "Automatic derivation of querying functions for servant";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant-client_0_16" = callPackage
({ mkDerivation, aeson, base, base-compat, bytestring, containers
, deepseq, entropy, exceptions, hspec, hspec-discover
, http-api-data, http-client, http-media, http-types, HUnit
@@ -203475,8 +207172,8 @@ self: {
pname = "servant-client";
version = "0.16";
sha256 = "0641fqlvqkm5075pcgcg5q81j7jil79sjpifg1snagfisrsxifxj";
- revision = "1";
- editedCabalFile = "0grjsgdmyr9mp7mnmf5qw6wkciigpzxsyzsj6l8fbb7mq5rsid78";
+ revision = "2";
+ editedCabalFile = "0xdrs79farfhw12azl9jmkwvqslassnrjqvbgz0xjnnqnb0b9l86";
libraryHaskellDepends = [
base base-compat bytestring containers deepseq exceptions
http-client http-media http-types kan-extensions monad-control mtl
@@ -203492,31 +207189,9 @@ self: {
testToolDepends = [ hspec-discover markdown-unlit ];
description = "Automatic derivation of querying functions for servant";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-client-core" = callPackage
- ({ mkDerivation, aeson, base, base-compat, base64-bytestring
- , bytestring, containers, deepseq, exceptions, free, generics-sop
- , hspec, hspec-discover, http-media, http-types, network-uri
- , QuickCheck, safe, servant, template-haskell, text, transformers
- }:
- mkDerivation {
- pname = "servant-client-core";
- version = "0.15";
- sha256 = "0q3rrbdplzzj90kdb7cmb6qknsbd9dy4w5lkqcb95nndwgjlk3lv";
- libraryHaskellDepends = [
- aeson base base-compat base64-bytestring bytestring containers
- deepseq exceptions free generics-sop http-media http-types
- network-uri safe servant template-haskell text transformers
- ];
- testHaskellDepends = [ base base-compat deepseq hspec QuickCheck ];
- testToolDepends = [ hspec-discover ];
- description = "Core functionality and class for client function generation for servant APIs";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant-client-core_0_16" = callPackage
({ mkDerivation, aeson, base, base-compat, base64-bytestring
, bytestring, containers, deepseq, exceptions, free, hspec
, hspec-discover, http-media, http-types, network-uri, QuickCheck
@@ -203537,7 +207212,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Core functionality and class for client function generation for servant APIs";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-client-namedargs" = callPackage
@@ -203682,8 +207356,8 @@ self: {
pname = "servant-docs";
version = "0.11.3";
sha256 = "0cys1h3m0aq77aw0szj7k6p7zqcr8074zrxzsjp58lss1daqisq7";
- revision = "2";
- editedCabalFile = "1zzv3mbfyvpqddhz8a7z8wfwy4w4y21rwpi7k15xzm9647sdgga5";
+ revision = "3";
+ editedCabalFile = "0hknxp6vxjmc6d4acwfs8ic9n915ldldz4ja8d86pzwv8vh5jzfv";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -203752,20 +207426,22 @@ self: {
}) {};
"servant-elm" = callPackage
- ({ mkDerivation, aeson, base, Diff, elm-export, hspec, HUnit, lens
- , servant, servant-foreign, text, wl-pprint-text
+ ({ mkDerivation, aeson, base, Diff, directory, elm-bridge, hspec
+ , HUnit, lens, servant, servant-client, servant-foreign, text
+ , wl-pprint-text
}:
mkDerivation {
pname = "servant-elm";
- version = "0.5.0.0";
- sha256 = "0l5rjml46qbnq4p3d7zjk8zl9gnpz8m5n6n8yf8kgy89ybm6xnfr";
+ version = "0.6.0.2";
+ sha256 = "1ayj0gdl8z9ns6agm64i37w0j8r51ydw4zxn8kcwsn1akswrzz3z";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base elm-export lens servant servant-foreign text wl-pprint-text
+ aeson base directory elm-bridge lens servant servant-foreign text
+ wl-pprint-text
];
testHaskellDepends = [
- aeson base Diff elm-export hspec HUnit servant text
+ aeson base Diff elm-bridge hspec HUnit servant servant-client text
];
description = "Automatically derive Elm functions to query servant webservices";
license = stdenv.lib.licenses.bsd3;
@@ -203813,6 +207489,8 @@ self: {
aeson base exceptions http-types servant-server text warp
];
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-fiat-content" = callPackage
@@ -203924,8 +207602,8 @@ self: {
}:
mkDerivation {
pname = "servant-github-webhook";
- version = "0.4.1.0";
- sha256 = "0v6gd7swhl58x3sqbb5cmn5ac6x1p5mg7jqbwk9ny9bzggz9pglb";
+ version = "0.4.2.0";
+ sha256 = "1z80h42zp781p49bskw5ilb49dnhs7y4j2g0v4xdyrrabj2m885g";
libraryHaskellDepends = [
aeson base base16-bytestring bytestring cryptonite github
github-webhooks http-types memory servant servant-server
@@ -204009,8 +207687,8 @@ self: {
pname = "servant-http-streams";
version = "0.16";
sha256 = "1gkgk13zxi8y071i9dx0i1kbs14rgp8cfnfcd7rpg86pffxkx6cp";
- revision = "1";
- editedCabalFile = "0i3668fw4h503hig1vd9d7k0mxlsis81cs7a5fh2k5yja5sj81ik";
+ revision = "2";
+ editedCabalFile = "10bpkdwlbg66zi9hzh7vbfwrcilvkav8rc0300xfmpbpw43z4iy0";
libraryHaskellDepends = [
base base-compat bytestring case-insensitive containers deepseq
exceptions http-common http-media http-streams http-types
@@ -204128,8 +207806,8 @@ self: {
}:
mkDerivation {
pname = "servant-kotlin";
- version = "0.1.1.7";
- sha256 = "138xx3jn2ay38fradssi7biff5cc6g1g3wk003bid349irmgvid4";
+ version = "0.1.1.9";
+ sha256 = "1wywp494wbhs32szyni294k5qf8fjbznydwss7lwxprnli1hh1qm";
libraryHaskellDepends = [
base containers directory formatting lens servant servant-foreign
text time wl-pprint-text
@@ -204147,22 +207825,6 @@ self: {
}) {};
"servant-lucid" = callPackage
- ({ mkDerivation, base, http-media, lucid, servant, servant-server
- , text, wai, warp
- }:
- mkDerivation {
- pname = "servant-lucid";
- version = "0.8.1";
- sha256 = "0g8icz12ydyxyv710fhixswdphiri0b44pw5p0dr21cvwbaxawb6";
- revision = "1";
- editedCabalFile = "0jna96jy6nmhk6w5zxdd3qn3vlrnhnvh4s3f2bqkn3c0had5py7d";
- libraryHaskellDepends = [ base http-media lucid servant text ];
- testHaskellDepends = [ base lucid servant-server wai warp ];
- description = "Servant support for lucid";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "servant-lucid_0_9" = callPackage
({ mkDerivation, base, http-media, lucid, servant, servant-server
, text, wai, warp
}:
@@ -204176,7 +207838,6 @@ self: {
testHaskellDepends = [ base lucid servant-server wai warp ];
description = "Servant support for lucid";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"servant-machines" = callPackage
@@ -204188,8 +207849,8 @@ self: {
pname = "servant-machines";
version = "0.15";
sha256 = "137c0svvwvkh3ad8cc5q5vygci3c5951hbwlhk09znqaqycck35i";
- revision = "1";
- editedCabalFile = "18ag4ynzq62n8n52551bm4y4xr7sn03jyp14f3kx08wid3pf5p8a";
+ revision = "2";
+ editedCabalFile = "0x7dw8mcvgaag53ai5c9nagc5dik4r06wxdhvp72q8f09pvabxxf";
libraryHaskellDepends = [ base bytestring machines mtl servant ];
testHaskellDepends = [
base base-compat bytestring http-client http-media machines servant
@@ -204395,6 +208056,8 @@ self: {
];
description = "Use Pandoc to render servant API documentation";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-pipes" = callPackage
@@ -204585,8 +208248,8 @@ self: {
}:
mkDerivation {
pname = "servant-rawm";
- version = "0.3.0.0";
- sha256 = "09va9glqkyarxsq9296br55ka8j5jd5nlb833hndpf4ib10yxzp9";
+ version = "0.3.2.0";
+ sha256 = "013d89zmlmwwwhgyc57xbzsd4phz347if5y6iz93wrw4lbvc341d";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -204604,33 +208267,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "servant-rawm_0_3_1_0" = callPackage
- ({ mkDerivation, base, bytestring, doctest, filepath, Glob
- , hspec-wai, http-client, http-media, http-types, lens, resourcet
- , servant, servant-client, servant-client-core, servant-docs
- , servant-server, tasty, tasty-hspec, tasty-hunit, text
- , transformers, wai, wai-app-static, warp
+ "servant-reason" = callPackage
+ ({ mkDerivation, aeson, base, Diff, directory, hspec, HUnit
+ , interpolate, lens, mockery, process, reason-export, servant
+ , servant-foreign, text, wl-pprint-text
}:
mkDerivation {
- pname = "servant-rawm";
- version = "0.3.1.0";
- sha256 = "055ys4gkywy1ld0d736fsmc39fix2b4ad4myb7qn0sbax6y9zn3q";
- isLibrary = true;
- isExecutable = true;
+ pname = "servant-reason";
+ version = "0.1.2.0";
+ sha256 = "0c8nwdi1xrym5q7k13qqa7mznbww9kc1ffimfpj8vr13r62j19ql";
libraryHaskellDepends = [
- base bytestring filepath http-client http-media http-types lens
- resourcet servant-client servant-client-core servant-docs
- servant-server wai wai-app-static
+ base lens reason-export servant servant-foreign text wl-pprint-text
];
testHaskellDepends = [
- base bytestring doctest Glob hspec-wai http-client http-media
- http-types servant servant-client servant-client-core
- servant-server tasty tasty-hspec tasty-hunit text transformers wai
- warp
+ aeson base Diff directory hspec HUnit interpolate lens mockery
+ process reason-export servant servant-foreign text wl-pprint-text
];
- description = "Embed a raw 'Application' in a Servant API";
+ description = "Derive Reason types to interact with a Haskell backend";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-reflex" = callPackage
@@ -204737,8 +208393,8 @@ self: {
}:
mkDerivation {
pname = "servant-server";
- version = "0.15";
- sha256 = "1qlkdgls2z71sx09lbkrqcxwx1wam3hn7dnyps6z2i7qixhlw0wq";
+ version = "0.16.2";
+ sha256 = "1l4kgjg5z775bi76hy7cb70qwvmkai4rxqkgp0ildsjgsvf8qb80";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
@@ -204762,46 +208418,6 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "servant-server_0_16" = callPackage
- ({ mkDerivation, aeson, base, base-compat, base64-bytestring
- , bytestring, Cabal, cabal-doctest, containers, directory, doctest
- , exceptions, filepath, hspec, hspec-discover, hspec-wai
- , http-api-data, http-media, http-types, monad-control, mtl
- , network, network-uri, QuickCheck, resourcet, safe, servant
- , should-not-typecheck, string-conversions, tagged, temporary, text
- , transformers, transformers-base, transformers-compat, wai
- , wai-app-static, wai-extra, warp, word8
- }:
- mkDerivation {
- pname = "servant-server";
- version = "0.16";
- sha256 = "18rv99hyb448mcv1cjvs0p6cqrkw9f3zpdh18nsd29fskcybsv3b";
- revision = "1";
- editedCabalFile = "1v0zr3mqzjhiqrgyqgbnixa9zjvgknis3rjwyi2a3ig5l36y6ifh";
- isLibrary = true;
- isExecutable = true;
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- base base-compat base64-bytestring bytestring containers exceptions
- filepath http-api-data http-media http-types monad-control mtl
- network network-uri resourcet servant string-conversions tagged
- text transformers transformers-base wai wai-app-static word8
- ];
- executableHaskellDepends = [
- aeson base base-compat servant text wai warp
- ];
- testHaskellDepends = [
- aeson base base-compat base64-bytestring bytestring directory
- doctest hspec hspec-wai http-types mtl QuickCheck resourcet safe
- servant should-not-typecheck string-conversions temporary text
- transformers transformers-compat wai wai-extra
- ];
- testToolDepends = [ hspec-discover ];
- description = "A family of combinators for defining webservices APIs and serving them";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"servant-server-namedargs" = callPackage
({ mkDerivation, base, bytestring, http-api-data, http-types, named
, servant, servant-namedargs, servant-server, string-conversions
@@ -204848,38 +208464,35 @@ self: {
"servant-snap" = callPackage
({ mkDerivation, aeson, attoparsec, base, base64-bytestring
, bytestring, case-insensitive, containers, digestive-functors
- , directory, either, errors, exceptions, filepath, heist, hspec
- , hspec-core, hspec-snap, http-api-data, http-client, http-media
- , http-types, HUnit, io-streams, lens, map-syntax, mmorph, mtl
- , network, network-uri, parsec, process, QuickCheck, servant
- , servant-client, snap, snap-core, snap-cors, snap-server
- , string-conversions, temporary, text, time, transformers, word8
+ , directory, errors, exceptions, filepath, heist, hspec, hspec-core
+ , hspec-snap, http-api-data, http-media, http-types, HUnit
+ , io-streams, lens, map-syntax, mmorph, mtl, network, network-uri
+ , parsec, process, QuickCheck, servant, snap, snap-core
+ , snap-server, string-conversions, tagged, temporary, text, time
+ , transformers, word8
}:
mkDerivation {
pname = "servant-snap";
- version = "0.8.2";
- sha256 = "0iyiifr9przbayqjs7ydwbzwad5m79379ypmmfiyvcw9m14syhyk";
- revision = "1";
- editedCabalFile = "1lycc0iagcc2yd4hq778g2mkqh5fig6vcd3fv4s48wjgw4nic9qf";
+ version = "0.8.4.1";
+ sha256 = "1649s1n313rd8h409bfz2jkq2ch7ffw06y120j95rjcp6r8xgfv2";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson attoparsec base base64-bytestring bytestring case-insensitive
- containers either filepath http-api-data http-media http-types
- io-streams mmorph mtl network-uri servant snap snap-core
- snap-server string-conversions text transformers word8
+ containers filepath http-api-data http-media http-types io-streams
+ mmorph mtl network-uri servant snap snap-core snap-server
+ string-conversions tagged text transformers word8
];
executableHaskellDepends = [
- aeson base bytestring either errors heist http-client lens
- map-syntax servant servant-client snap snap-core snap-cors
- snap-server text transformers
+ aeson base bytestring errors heist lens map-syntax servant snap
+ snap-core snap-server text transformers
];
testHaskellDepends = [
aeson base base64-bytestring bytestring case-insensitive containers
- digestive-functors directory either exceptions hspec hspec-core
- hspec-snap http-types HUnit io-streams lens mtl network parsec
- process QuickCheck servant snap snap-core snap-cors snap-server
- string-conversions temporary text time transformers
+ digestive-functors directory exceptions hspec hspec-core hspec-snap
+ http-types HUnit io-streams lens mtl network parsec process
+ QuickCheck servant snap snap-core snap-server string-conversions
+ temporary text time transformers
];
description = "A family of combinators for defining webservices APIs and serving them";
license = stdenv.lib.licenses.bsd3;
@@ -204933,6 +208546,8 @@ self: {
];
description = "Embed a directory of static files in your Servant server";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-streaming" = callPackage
@@ -204947,6 +208562,8 @@ self: {
testHaskellDepends = [ base hspec http-types QuickCheck servant ];
description = "Servant combinators for the 'streaming' package";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-streaming-client" = callPackage
@@ -205047,21 +208664,22 @@ self: {
executableHaskellDepends = [ base purescript-bridge ];
description = "When REST is not enough ...";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-swagger" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, base-compat, bytestring
, Cabal, cabal-doctest, directory, doctest, filepath, hspec
, hspec-discover, http-media, insert-ordered-containers, lens
- , QuickCheck, servant, singleton-bool, swagger2, template-haskell
- , text, time, unordered-containers, utf8-string
+ , lens-aeson, QuickCheck, servant, singleton-bool, swagger2
+ , template-haskell, text, time, unordered-containers, utf8-string
+ , vector
}:
mkDerivation {
pname = "servant-swagger";
- version = "1.1.7";
- sha256 = "0dnyh4g55x70cb6xwksm0rk23v5lawdws5bxgq27ja1walh106p3";
- revision = "2";
- editedCabalFile = "1crl8c71ns8mnp056ba1zph57cf1l4dajbgw07gpcw2cvni6x560";
+ version = "1.1.7.1";
+ sha256 = "0vdjvn5bsd26q8wx1qdwn7vdfnd9jk8m9jzzm251gyn1ijxv8ild";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
aeson aeson-pretty base base-compat bytestring hspec http-media
@@ -205070,7 +208688,8 @@ self: {
];
testHaskellDepends = [
aeson base base-compat directory doctest filepath hspec lens
- QuickCheck servant swagger2 template-haskell text time utf8-string
+ lens-aeson QuickCheck servant swagger2 template-haskell text time
+ utf8-string vector
];
testToolDepends = [ hspec-discover ];
description = "Generate a Swagger/OpenAPI/OAS 2.0 specification for your servant API.";
@@ -205091,6 +208710,8 @@ self: {
];
description = "Swagger Tags for Servant";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-swagger-ui" = callPackage
@@ -205099,10 +208720,8 @@ self: {
}:
mkDerivation {
pname = "servant-swagger-ui";
- version = "0.3.2.3.19.3";
- sha256 = "0s2y6fhm26gzs344ig86nh6d1sy2dxfqpwpgz6c2dcg65jcbbpc7";
- revision = "2";
- editedCabalFile = "1p16lixhl9dbv3xlxpzy784a68xqnhvy91wyl5y183kixjniyf6f";
+ version = "0.3.4.3.22.2";
+ sha256 = "0ig05xzh4iybnwzh7bx8i7a337j0xfmsxbmfi9iaiz4g6f9s5clm";
libraryHaskellDepends = [
base bytestring file-embed-lzma servant servant-server
servant-swagger-ui-core swagger2 text
@@ -205118,10 +208737,8 @@ self: {
}:
mkDerivation {
pname = "servant-swagger-ui-core";
- version = "0.3.2";
- sha256 = "1a1wk90vm6mq8byxz4syr03l1rf6qj8zhda7lnp23pn5d270xkd2";
- revision = "4";
- editedCabalFile = "0vvfqf9zh8a5sgd4sn4mkay803lqc5zd9dz175gxs3wmca0gr3fk";
+ version = "0.3.3";
+ sha256 = "0gpdjnclbjjr6gwc0gyx1d4w06cjf6z5b2ngjfcgbn885wqllwh3";
libraryHaskellDepends = [
base blaze-markup bytestring http-media servant servant-blaze
servant-server swagger2 text transformers transformers-compat
@@ -205137,10 +208754,8 @@ self: {
}:
mkDerivation {
pname = "servant-swagger-ui-jensoleg";
- version = "0.3.2";
- sha256 = "1ybkwa6dyi9v1rcqd0gzl1hqkinkmsqwz0ang0cmsa6d8ym3zmii";
- revision = "2";
- editedCabalFile = "0ckx9bvngl65mcg8d16baknvz0637z7griqqwkclcvgksx812kbh";
+ version = "0.3.3";
+ sha256 = "02zwymqxq54xwc8wmzhbcfgx9plvk0n4kp1907sbl98mhh2frwrw";
libraryHaskellDepends = [
base bytestring file-embed-lzma servant servant-server
servant-swagger-ui-core swagger2 text
@@ -205155,10 +208770,8 @@ self: {
}:
mkDerivation {
pname = "servant-swagger-ui-redoc";
- version = "0.3.2.1.22.2";
- sha256 = "0d4r6rp48lkgd4903hfja14mlar1h17hrb4fhq05p3wga7kik6g0";
- revision = "2";
- editedCabalFile = "160acp4hvwm4m42kx275qr1nkg9s7bjxlk61agvm45hi3lg0lm6f";
+ version = "0.3.3.1.22.2";
+ sha256 = "0qkh4h5ijhizlnps79gg75jy533rpc1vcw7v7yxika585srndim1";
libraryHaskellDepends = [
base bytestring file-embed-lzma servant servant-server
servant-swagger-ui-core swagger2 text
@@ -205204,8 +208817,8 @@ self: {
}:
mkDerivation {
pname = "servant-waargonaut";
- version = "0.6.0.0";
- sha256 = "17igh9s4bmzsx10qscrqpqd8djkmr2krfc660nhdsi7cx5hmlwl3";
+ version = "0.7.0.0";
+ sha256 = "0fn7ph0805n297nzi3ig9wfx27kz6bmn4r914ibx44927xifms59";
libraryHaskellDepends = [
base bytestring http-media lens servant text waargonaut
wl-pprint-annotated
@@ -205241,6 +208854,8 @@ self: {
];
description = "Small library providing WebSocket endpoints for servant";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"servant-xml" = callPackage
@@ -205393,8 +209008,8 @@ self: {
}:
mkDerivation {
pname = "serverless-haskell";
- version = "0.8.7";
- sha256 = "0q73j6n6552ajv5sm52rbcj4kk86wjmvrh6khci1nbln4wxgbwq2";
+ version = "0.8.10";
+ sha256 = "1gvswqkdk5awnvjqzvhbrvdmsyj73kiph872fvplmmdyvq8hb8gy";
libraryHaskellDepends = [
aeson aeson-casing aeson-extra amazonka-core amazonka-kinesis
amazonka-s3 base bytestring case-insensitive http-types iproute
@@ -205500,6 +209115,8 @@ self: {
];
description = "Storage backend for serversession using Redis";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"serversession-frontend-snap" = callPackage
@@ -205624,6 +209241,8 @@ self: {
];
description = "Send HTML formatted emails using Amazon's SES REST API with blaze";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ses-html-snaplet" = callPackage
@@ -205724,8 +209343,33 @@ self: {
];
description = "Solve exact set cover problems like Sudoku, 8 Queens, Soma Cube, Tetris Cube";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "set-cover_0_1" = callPackage
+ ({ mkDerivation, array, base, containers, enummapset, non-empty
+ , prelude-compat, psqueues, QuickCheck, random, semigroups, timeit
+ , transformers, utility-ht
+ }:
+ mkDerivation {
+ pname = "set-cover";
+ version = "0.1";
+ sha256 = "1yidgc1nbhbkxpchd96vzfgkk95hdwgpvd9ys2b4xw2m1zyzi1kb";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ array base containers enummapset non-empty prelude-compat psqueues
+ semigroups transformers utility-ht
+ ];
+ testHaskellDepends = [
+ array base containers enummapset QuickCheck transformers utility-ht
+ ];
+ benchmarkHaskellDepends = [
+ array base containers enummapset QuickCheck random timeit
+ transformers utility-ht
+ ];
+ description = "Solve exact set cover problems like Sudoku, 8 Queens, Soma Cube, Tetris Cube";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"set-extra" = callPackage
@@ -206009,6 +209653,35 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "sexp-grammar_2_1_0" = callPackage
+ ({ mkDerivation, alex, array, base, bytestring, containers
+ , criterion, deepseq, happy, invertible-grammar, prettyprinter
+ , QuickCheck, recursion-schemes, scientific, semigroups, tasty
+ , tasty-hunit, tasty-quickcheck, text, utf8-string
+ }:
+ mkDerivation {
+ pname = "sexp-grammar";
+ version = "2.1.0";
+ sha256 = "139sqr50bba74h2r6gdivzsgkqjwq1gcah54zw2jkwzhlfk03fm1";
+ libraryHaskellDepends = [
+ array base bytestring containers deepseq invertible-grammar
+ prettyprinter recursion-schemes scientific semigroups text
+ utf8-string
+ ];
+ libraryToolDepends = [ alex happy ];
+ testHaskellDepends = [
+ base containers invertible-grammar prettyprinter QuickCheck
+ scientific semigroups tasty tasty-hunit tasty-quickcheck text
+ utf8-string
+ ];
+ benchmarkHaskellDepends = [
+ base bytestring criterion deepseq text
+ ];
+ description = "Invertible grammar combinators for S-expressions";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"sexp-show" = callPackage
({ mkDerivation, base, pretty-show }:
mkDerivation {
@@ -206056,6 +209729,24 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "sexpr-parser_0_2_0_0" = callPackage
+ ({ mkDerivation, base, bytestring, data-default, hspec, megaparsec
+ , process
+ }:
+ mkDerivation {
+ pname = "sexpr-parser";
+ version = "0.2.0.0";
+ sha256 = "0cgfmnv72n5li15k8dq4w2rvfx0ahbyb7h2g51a5i4x9w70dyllg";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base data-default megaparsec ];
+ executableHaskellDepends = [ base bytestring megaparsec process ];
+ testHaskellDepends = [ base data-default hspec megaparsec ];
+ description = "Simple s-expression parser";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"sext" = callPackage
({ mkDerivation, base, bytestring, tasty, tasty-hunit
, template-haskell, text, vector
@@ -206146,6 +209837,8 @@ self: {
];
description = "Stochastic gradient descent library";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"sgf" = callPackage
@@ -206337,8 +210030,8 @@ self: {
}:
mkDerivation {
pname = "shake";
- version = "0.18.2";
- sha256 = "1drzcwspj0q9s3mpba291pich0my9pp3qrra90slv6carckcrzi8";
+ version = "0.18.3";
+ sha256 = "0ywcdzxly8zvz2p3v5b3lp5bnkwsqxvdas7ysrhgxbhi3bnjvzjf";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -206369,8 +210062,8 @@ self: {
}:
mkDerivation {
pname = "shake-ats";
- version = "1.10.2.1";
- sha256 = "1y85rrrrcd7jz51ir6cwa3w23ldi4fkc215iqj1crbxfjzrphacn";
+ version = "1.10.2.2";
+ sha256 = "070vvzz0nmdal9ja43l8s4dll2iwxjzd3lmlynkdm1v9qzj0iw67";
libraryHaskellDepends = [
base binary dependency directory hs2ats language-ats microlens
shake shake-c shake-cabal shake-ext text
@@ -206449,8 +210142,8 @@ self: {
({ mkDerivation, base, directory, shake }:
mkDerivation {
pname = "shake-ext";
- version = "3.1.0.0";
- sha256 = "1lbdz4bv95d0rwfpk1l494lrfd5qp029awbfiv1wpydbvvspdvx6";
+ version = "3.1.0.2";
+ sha256 = "04nhjq2s7iycjabh33jwbdc8pxdyxnfrwjvl1mxmwrx0zx96dbi9";
libraryHaskellDepends = [ base directory shake ];
description = "Helper functions for linting with shake";
license = stdenv.lib.licenses.bsd3;
@@ -206506,8 +210199,8 @@ self: {
({ mkDerivation, base, cpphs, shake }:
mkDerivation {
pname = "shake-literate";
- version = "0.1.0.0";
- sha256 = "1kliv9i9libcyzm0bccxi226rd69kvjxi9hi3n4y7zjbbp40cqgd";
+ version = "0.1.0.1";
+ sha256 = "0wx3mh62b8kq20qw15zg35nl4l066i11mzgj0vxlvys5a6902ijn";
libraryHaskellDepends = [ base cpphs shake ];
description = "Rules for building literate programs in shake";
license = stdenv.lib.licenses.bsd3;
@@ -206528,6 +210221,19 @@ self: {
broken = true;
}) {};
+ "shake-minify-css" = callPackage
+ ({ mkDerivation, base, directory, filepath, hasmin, shake, text }:
+ mkDerivation {
+ pname = "shake-minify-css";
+ version = "0.1.0.0";
+ sha256 = "0gy3h108gbv93jr74sp3wa3r3vkm8k53wr3z9bmm6c9rg7zwr2q7";
+ libraryHaskellDepends = [
+ base directory filepath hasmin shake text
+ ];
+ description = "Shake rules for CSS";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"shake-pack" = callPackage
({ mkDerivation, base, bytestring, bzlib, shake, tar }:
mkDerivation {
@@ -206625,8 +210331,8 @@ self: {
}:
mkDerivation {
pname = "shakespeare";
- version = "2.0.20";
- sha256 = "00wybn9dcwi2y1cp87fyvhcqn8filvb8as7k78g1m1c5wpwby3pm";
+ version = "2.0.21";
+ sha256 = "1assgcinf9i9rm7mphqfymzvn7z1m2jjkm98z7l2pb76z53mcvgh";
libraryHaskellDepends = [
aeson base blaze-html blaze-markup bytestring containers directory
exceptions ghc-prim parsec process scientific template-haskell text
@@ -207037,6 +210743,17 @@ self: {
broken = true;
}) {};
+ "shell-utility" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "shell-utility";
+ version = "0.0";
+ sha256 = "1s3482vxllmmjbcqbwsrql9ka6zng7qbbqk3kfjs6dvkcs710hbs";
+ libraryHaskellDepends = [ base ];
+ description = "Utility functions for writing command-line programs";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"shellish" = callPackage
({ mkDerivation, base, bytestring, directory, filepath, mtl
, process, strict, time, unix-compat
@@ -207097,10 +210814,8 @@ self: {
({ mkDerivation, base, markdown-unlit, process, text }:
mkDerivation {
pname = "shellmet";
- version = "0.0.1";
- sha256 = "11c53h3dvhmnkjhcjw1xjr1kx6pvdmayf86i5b6zhpl4q3q2ixlk";
- revision = "1";
- editedCabalFile = "0v6j5fgmbbqizqx800adnkij1b1b8f7zkjmyfqvcpgljgg6xada5";
+ version = "0.0.2.0";
+ sha256 = "04ylwpwzd2g3604xyqr4g8zd9dp13hrb8kajajrymv6hafm85m3i";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base process text ];
@@ -207158,37 +210873,6 @@ self: {
}) {};
"shelly" = callPackage
- ({ mkDerivation, async, base, bytestring, containers, directory
- , enclosed-exceptions, exceptions, filepath, hspec, hspec-contrib
- , HUnit, lifted-async, lifted-base, monad-control, mtl, process
- , system-fileio, system-filepath, text, time, transformers
- , transformers-base, unix-compat
- }:
- mkDerivation {
- pname = "shelly";
- version = "1.8.0";
- sha256 = "1y08pdw49yk4hbipgfwjab0wa85ng0mkypch5l0p53frykjm2zvk";
- revision = "1";
- editedCabalFile = "17achybammxg5i7zcmwlfcb7xk77q3lfvck3gqa9ljfb6ksgrxb7";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- async base bytestring containers directory enclosed-exceptions
- exceptions lifted-async lifted-base monad-control mtl process
- system-fileio system-filepath text time transformers
- transformers-base unix-compat
- ];
- testHaskellDepends = [
- async base bytestring containers directory enclosed-exceptions
- exceptions filepath hspec hspec-contrib HUnit lifted-async
- lifted-base monad-control mtl process system-fileio system-filepath
- text time transformers transformers-base unix-compat
- ];
- description = "shell-like (systems) programming in Haskell";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "shelly_1_8_1" = callPackage
({ mkDerivation, async, base, bytestring, containers, directory
, enclosed-exceptions, exceptions, filepath, hspec, hspec-contrib
, HUnit, lifted-async, lifted-base, monad-control, mtl, process
@@ -207217,6 +210901,35 @@ self: {
];
description = "shell-like (systems) programming in Haskell";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "shelly_1_9_0" = callPackage
+ ({ mkDerivation, async, base, bytestring, containers, directory
+ , enclosed-exceptions, exceptions, filepath, hspec, hspec-contrib
+ , HUnit, lifted-async, lifted-base, monad-control, mtl, process
+ , text, time, transformers, transformers-base, unix, unix-compat
+ }:
+ mkDerivation {
+ pname = "shelly";
+ version = "1.9.0";
+ sha256 = "1kma77gixhyciimh19p64h1ndbcrs9qhk8fgyv71iqh5q57zvday";
+ revision = "1";
+ editedCabalFile = "0827p6wq8j92svrvmx02gdk961xx42g1ng4j6g7nflrfks9hw0zf";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ async base bytestring containers directory enclosed-exceptions
+ exceptions filepath lifted-async lifted-base monad-control mtl
+ process text time transformers transformers-base unix unix-compat
+ ];
+ testHaskellDepends = [
+ async base bytestring containers directory enclosed-exceptions
+ exceptions filepath hspec hspec-contrib HUnit lifted-async
+ lifted-base monad-control mtl process text time transformers
+ transformers-base unix unix-compat
+ ];
+ description = "shell-like (systems) programming in Haskell";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -207255,26 +210968,29 @@ self: {
}) {};
"shh" = callPackage
- ({ mkDerivation, async, base, containers, deepseq, directory
- , doctest, filepath, mtl, process, split, tasty, tasty-hunit
- , tasty-quickcheck, template-haskell, temporary, unix
+ ({ mkDerivation, async, base, bytestring, containers, deepseq
+ , directory, doctest, filepath, markdown-unlit, mtl, process, split
+ , stringsearch, tasty, tasty-hunit, tasty-quickcheck
+ , template-haskell, temporary, unix, utf8-string
}:
mkDerivation {
pname = "shh";
- version = "0.5.0.0";
- sha256 = "03lm8np6hrbzcwzfknvixm6fjsnmjr9s379i9mwxq5d0ndf66y8y";
+ version = "0.7.0.5";
+ sha256 = "119b9rvvdsw1al0i4lqa25z7ykwwqi46xz22az1b8fi3xiijprs3";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- async base containers deepseq directory filepath mtl process split
- template-haskell unix
+ async base bytestring containers deepseq directory filepath mtl
+ process split stringsearch template-haskell unix utf8-string
];
executableHaskellDepends = [
- async base deepseq directory temporary unix
+ async base bytestring deepseq directory temporary unix
];
testHaskellDepends = [
- async base directory doctest tasty tasty-hunit tasty-quickcheck
+ async base bytestring directory doctest filepath markdown-unlit
+ tasty tasty-hunit tasty-quickcheck utf8-string
];
+ testToolDepends = [ markdown-unlit ];
description = "Simple shell scripting from Haskell";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -207540,36 +211256,21 @@ self: {
}) {};
"show-prettyprint" = callPackage
- ({ mkDerivation, ansi-wl-pprint, base, doctest, prettyprinter
- , trifecta
+ ({ mkDerivation, ansi-wl-pprint, base, containers, doctest
+ , prettyprinter, trifecta
}:
mkDerivation {
pname = "show-prettyprint";
- version = "0.2.3";
- sha256 = "01wg1bzp6dylysbm9rfq8n0ci7yzg3gw6jkzy8kzmsydgs5c54pd";
+ version = "0.3.0.1";
+ sha256 = "030dzprz07ib41f8pg2409zdxymvkk8jq4m0vczvgaajq3gghkdk";
libraryHaskellDepends = [
ansi-wl-pprint base prettyprinter trifecta
];
- testHaskellDepends = [ base doctest ];
- description = "Robust prettyprinter for output of auto-generated Show instances";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "show-prettyprint_0_3" = callPackage
- ({ mkDerivation, ansi-wl-pprint, base, doctest, prettyprinter
- , trifecta
- }:
- mkDerivation {
- pname = "show-prettyprint";
- version = "0.3";
- sha256 = "1q5q7gr73m059gslj1fpmydhqr28yav1v6jjshl2cv3yhmpp2zsy";
- libraryHaskellDepends = [
- ansi-wl-pprint base prettyprinter trifecta
+ testHaskellDepends = [
+ base containers doctest prettyprinter trifecta
];
- testHaskellDepends = [ base doctest ];
description = "Robust prettyprinter for output of auto-generated Show instances";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"show-type" = callPackage
@@ -207607,8 +211308,8 @@ self: {
}:
mkDerivation {
pname = "shower";
- version = "0.2";
- sha256 = "0jxsv08w7cmlkr820f2m9qbx00m2h6h3hp6lrng7iz03i89gwpf2";
+ version = "0.2.0.1";
+ sha256 = "13qxddl6v3kcfgyr5q281hrr4xkflnc3nafbs3jq0w5k6njn7djb";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base megaparsec pretty ];
@@ -207620,8 +211321,6 @@ self: {
];
description = "Clean up the formatting of 'show' output";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"shpider" = callPackage
@@ -207830,6 +211529,8 @@ self: {
];
description = "Rounding rationals to significant digits and decimal places";
license = stdenv.lib.licenses.mpl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"sigma-ij" = callPackage
@@ -207928,8 +211629,8 @@ self: {
({ mkDerivation, base, deepseq, directory, nanospec, temporary }:
mkDerivation {
pname = "silently";
- version = "1.2.5";
- sha256 = "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf";
+ version = "1.2.5.1";
+ sha256 = "1lgs1gsr5dp0x21diqn4l03fxgai2kgdmj85gqp0iz3zykvbmjbz";
libraryHaskellDepends = [ base deepseq directory ];
testHaskellDepends = [ base deepseq directory nanospec temporary ];
description = "Prevent or capture writing to stdout and other handles";
@@ -207996,8 +211697,8 @@ self: {
}:
mkDerivation {
pname = "simple";
- version = "0.11.2";
- sha256 = "05069qjgzm4j22p0q6i75qpsvzpw52b7bh2x2b6jcxnlvqp6flzg";
+ version = "0.11.3";
+ sha256 = "0qifp6wacsmykb09ddx03yv4pbk7c1rhs16jjlfafm2wc2025rac";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -208019,8 +211720,6 @@ self: {
];
description = "A minimalist web framework for the WAI server interface";
license = stdenv.lib.licenses.lgpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"simple-actors" = callPackage
@@ -208108,31 +211807,29 @@ self: {
broken = true;
}) {};
+ "simple-cabal" = callPackage
+ ({ mkDerivation, base, Cabal, directory, filepath }:
+ mkDerivation {
+ pname = "simple-cabal";
+ version = "0.0.0.1";
+ sha256 = "17v22v9sb8z2jbr76vv577hxcvypfkpmji2k8yzwd2kxjssxpjrn";
+ libraryHaskellDepends = [ base Cabal directory filepath ];
+ description = "Cabal file wrapper library";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"simple-cmd" = callPackage
({ mkDerivation, base, directory, filepath, process, unix }:
mkDerivation {
pname = "simple-cmd";
- version = "0.1.4";
- sha256 = "1g63c0bdm3231aqf12i45nsfpy6bvl1w3nn0jcbbg2hij377y9rg";
+ version = "0.2.0.1";
+ sha256 = "0kd0kr27q72ay5jzrnyqnbbfl4q1lyrlq13s74iphxx4s2yzn03p";
libraryHaskellDepends = [ base directory filepath process unix ];
description = "Simple String-based process commands";
license = stdenv.lib.licenses.bsd3;
}) {};
"simple-cmd-args" = callPackage
- ({ mkDerivation, base, optparse-applicative }:
- mkDerivation {
- pname = "simple-cmd-args";
- version = "0.1.1";
- sha256 = "0rgg8aqgq98yq9h5v29r0g2qjhr70gl1sgv713ihlpm7b7bykilz";
- revision = "1";
- editedCabalFile = "127m5x1k5c5ymxcxlbhjghlymdyci847qxq1ydfd8sf2m4qc4ffq";
- libraryHaskellDepends = [ base optparse-applicative ];
- description = "Simple command args parsing and execution";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "simple-cmd-args_0_1_2" = callPackage
({ mkDerivation, base, optparse-applicative }:
mkDerivation {
pname = "simple-cmd-args";
@@ -208141,7 +211838,6 @@ self: {
libraryHaskellDepends = [ base optparse-applicative ];
description = "Simple command args parsing and execution";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"simple-conduit" = callPackage
@@ -208252,12 +211948,12 @@ self: {
}) {};
"simple-enumeration" = callPackage
- ({ mkDerivation, base, doctest }:
+ ({ mkDerivation, base, doctest, integer-gmp }:
mkDerivation {
pname = "simple-enumeration";
- version = "0.1";
- sha256 = "08zqs36v8vm3iqz9pnj6df0f8c15j9gl0883xxbr27nma9mwqygx";
- libraryHaskellDepends = [ base ];
+ version = "0.2";
+ sha256 = "0792fcn7mxvhdvsqgc335lcyp89zcdk3fbfqyckz9fsmf6382hv4";
+ libraryHaskellDepends = [ base integer-gmp ];
testHaskellDepends = [ base doctest ];
description = "Finite or countably infinite sequences of values";
license = stdenv.lib.licenses.bsd3;
@@ -208381,8 +212077,8 @@ self: {
}:
mkDerivation {
pname = "simple-log";
- version = "0.9.11";
- sha256 = "1mqibcpcnwc0hqbcbvl32vv4458n02f2k2bnparh8ajm5n9h0cjk";
+ version = "0.9.12";
+ sha256 = "1038asbw9yi1wz3di0ggx62nazljh9m07dvf3lmjrvj1k8i7842w";
libraryHaskellDepends = [
async base base-unicode-symbols containers data-default deepseq
directory exceptions filepath hformat microlens microlens-platform
@@ -208576,8 +212272,6 @@ self: {
];
description = "Connector package for integrating postgresql-orm with the Simple web framework";
license = stdenv.lib.licenses.lgpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"simple-reflect" = callPackage
@@ -208654,8 +212348,6 @@ self: {
];
description = "Cookie-based session management for the Simple web framework";
license = stdenv.lib.licenses.lgpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"simple-sessions" = callPackage
@@ -208683,20 +212375,16 @@ self: {
}) {};
"simple-sql-parser" = callPackage
- ({ mkDerivation, base, HUnit, mtl, parsec, pretty, test-framework
- , test-framework-hunit
- }:
+ ({ mkDerivation, base, mtl, parsec, pretty, tasty, tasty-hunit }:
mkDerivation {
pname = "simple-sql-parser";
- version = "0.4.4";
- sha256 = "1j1p94mfb7kzrayi39xcwmagxcf5j9lvxi7niqxc5jr70958csnl";
+ version = "0.5.0";
+ sha256 = "0d063wyrz8qynngy499i00hjkacd0xg01qni1wx2cbrcxg0xwcpd";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base mtl parsec pretty ];
- testHaskellDepends = [
- base HUnit mtl parsec pretty test-framework test-framework-hunit
- ];
- description = "A parser for SQL queries";
+ testHaskellDepends = [ base mtl parsec pretty tasty tasty-hunit ];
+ description = "A parser for SQL";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -208713,6 +212401,8 @@ self: {
testHaskellDepends = [ base extra tasty tasty-hunit text ];
description = "source code editing utilities";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"simple-stacked-vm" = callPackage
@@ -208768,8 +212458,8 @@ self: {
}:
mkDerivation {
pname = "simple-templates";
- version = "0.8.0.1";
- sha256 = "13na1f29fvc0j452kh0a3fjig3fq4qbklcpdv6bm1fr0cf8hzq98";
+ version = "0.9.0.0";
+ sha256 = "09s81syr45dvrqski4gz96ynmv8gb3zwyy4n6a7frv49z843phda";
libraryHaskellDepends = [
aeson attoparsec base scientific text unordered-containers vector
];
@@ -208778,8 +212468,6 @@ self: {
];
description = "A basic template language for the Simple web framework";
license = stdenv.lib.licenses.lgpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"simple-text-format" = callPackage
@@ -208813,8 +212501,6 @@ self: {
];
description = "UI library for terminal";
license = stdenv.lib.licenses.gpl2;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"simple-units" = callPackage
@@ -208826,8 +212512,6 @@ self: {
libraryHaskellDepends = [ base first-class-families ];
description = "Simple arithmetic with SI units using type-checked dimensional analysis";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"simple-vec3" = callPackage
@@ -208836,8 +212520,8 @@ self: {
}:
mkDerivation {
pname = "simple-vec3";
- version = "0.4.0.10";
- sha256 = "0dyr9bg3y8613hd0zz7knkniq7p0hxm7w9pjs0jjhq586g0qh5ql";
+ version = "0.6";
+ sha256 = "1vw03xlnf8hj6rlcgpblg3swcbvqj4qp04zdv3a9j2a47j780qhh";
libraryHaskellDepends = [ base QuickCheck vector ];
testHaskellDepends = [
base doctest doctest-driver-gen tasty tasty-quickcheck
@@ -209014,8 +212698,6 @@ self: {
librarySystemDepends = [ sqlite ];
description = "Simplest SQLite3 binding";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {inherit (pkgs) sqlite;};
"simplex" = callPackage
@@ -209133,14 +212815,14 @@ self: {
}) {inherit (pkgs.xorg) libXft;};
"singleton-bool" = callPackage
- ({ mkDerivation, base }:
+ ({ mkDerivation, base, dec }:
mkDerivation {
pname = "singleton-bool";
- version = "0.1.4";
- sha256 = "0apvzb6ym0fnm4rx7paz6ivv72ahzn2bxhvyd1drw50ypvicd581";
+ version = "0.1.5";
+ sha256 = "17w9vv6arn7vvc7kykqcx81q2364ji43khrryl27r1cjx9yxapa0";
revision = "1";
- editedCabalFile = "0ccd49z9xwa8gr8sclmmn0zc4xq39yyjws4zr6lrw3xjql130nsx";
- libraryHaskellDepends = [ base ];
+ editedCabalFile = "1g2dchvp5clg3hfdrp7hf5pbl9kcyhqhnqxqxd7n861nfd661wqd";
+ libraryHaskellDepends = [ base dec ];
description = "Type level booleans";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -209162,8 +212844,8 @@ self: {
({ mkDerivation, base, singletons }:
mkDerivation {
pname = "singleton-nats";
- version = "0.4.2";
- sha256 = "1wcwks2acnql5ihkjn2543hgdnlw049z8av8x5dp5r552fq6k0cg";
+ version = "0.4.3";
+ sha256 = "0xj5w6dszm832y90qxmwqnyiwpav30q199cjcdbdxr7q1d4klszi";
libraryHaskellDepends = [ base singletons ];
description = "Unary natural numbers relying on the singletons infrastructure";
license = stdenv.lib.licenses.bsd3;
@@ -209201,6 +212883,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "singletons_2_6" = callPackage
+ ({ mkDerivation, base, Cabal, containers, directory, filepath
+ , ghc-boot-th, mtl, pretty, process, syb, tasty, tasty-golden
+ , template-haskell, text, th-desugar, transformers, turtle
+ }:
+ mkDerivation {
+ pname = "singletons";
+ version = "2.6";
+ sha256 = "1lc6p1f3h0j4nq5ppqwjihrjlgcwl5sx5fsw449m9lvs07vp39xy";
+ setupHaskellDepends = [ base Cabal directory filepath ];
+ libraryHaskellDepends = [
+ base containers ghc-boot-th mtl pretty syb template-haskell text
+ th-desugar transformers
+ ];
+ testHaskellDepends = [
+ base filepath process tasty tasty-golden text turtle
+ ];
+ description = "A framework for generating singleton types";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"singnal" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -209729,8 +213433,8 @@ self: {
}:
mkDerivation {
pname = "skylighting";
- version = "0.7.7";
- sha256 = "03nn5z67jg45myrcmbwkz06z4ywy06whbc0jhc3ycpw9wfy5iqvy";
+ version = "0.8.2";
+ sha256 = "0a81hd4f0xlc8as5lh454gkbyxndaxyj7lblkfk92j173nyx69cz";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -209753,8 +213457,8 @@ self: {
}:
mkDerivation {
pname = "skylighting-core";
- version = "0.7.7";
- sha256 = "0zd7gsybi02rigbgly63d8asfz8xy1xlnfy90m92zayizkagyg49";
+ version = "0.8.2";
+ sha256 = "1nd11170r7xwv0hy21bx9nz7173ijbqkh7r8504ixjkwckgr2zs0";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -209967,6 +213671,8 @@ self: {
];
description = "A note taking CLI tool";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"slave-thread" = callPackage
@@ -209987,6 +213693,8 @@ self: {
];
description = "A fundamental solution to ghost threads and silent exceptions";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"sleep" = callPackage
@@ -210021,6 +213729,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "sliceofpy" = callPackage
+ ({ mkDerivation, base, bytestring, containers, lens, process, split
+ , tasty, tasty-hspec, template-haskell, text
+ }:
+ mkDerivation {
+ pname = "sliceofpy";
+ version = "1.0.0";
+ sha256 = "0jc6abvgyrljyvzxw3v3nhxzqw3fjh2r51xag2v2xg3zb9qx8fra";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base bytestring lens process split template-haskell text
+ ];
+ executableHaskellDepends = [
+ base bytestring lens process split template-haskell text
+ ];
+ testHaskellDepends = [
+ base bytestring containers lens process split tasty tasty-hspec
+ template-haskell text
+ ];
+ description = "Python-ish slicing traversals for Haskell";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"slick" = callPackage
({ mkDerivation, aeson, base, binary, bytestring, containers, lens
, lens-aeson, mustache, pandoc, shake, text, time
@@ -210128,8 +213860,6 @@ self: {
];
description = "Visualize mathematical function's slope fields";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"slot-lambda" = callPackage
@@ -210198,6 +213928,33 @@ self: {
broken = true;
}) {};
+ "small-bytearray-builder" = callPackage
+ ({ mkDerivation, base, byteslice, bytestring, gauge
+ , natural-arithmetic, primitive, primitive-offset, QuickCheck
+ , run-st, tasty, tasty-hunit, tasty-quickcheck, text, text-short
+ , vector
+ }:
+ mkDerivation {
+ pname = "small-bytearray-builder";
+ version = "0.2.1.0";
+ sha256 = "11r0nz8z16h75867xq4c62s69ic7vhwfwhl2c11441mkhbrk2nbw";
+ libraryHaskellDepends = [
+ base byteslice bytestring natural-arithmetic primitive
+ primitive-offset run-st text-short vector
+ ];
+ testHaskellDepends = [
+ base byteslice bytestring natural-arithmetic primitive QuickCheck
+ tasty tasty-hunit tasty-quickcheck text vector
+ ];
+ benchmarkHaskellDepends = [
+ base gauge natural-arithmetic primitive
+ ];
+ description = "Serialize to a small byte arrays";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"smallarray" = callPackage
({ mkDerivation, base, bytestring, deepseq, hashable }:
mkDerivation {
@@ -210217,8 +213974,8 @@ self: {
}:
mkDerivation {
pname = "smallcaps";
- version = "0.6.0.5";
- sha256 = "06cqknha64gmf3rjjmcr3358fd5rii6xlgph5fvan0h25cnlk7nw";
+ version = "0.6.0.6";
+ sha256 = "10853yxysjzv3nq2z4p0klqz2jakcdknbwmdfvppzp604v7ip4jm";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -210231,8 +213988,6 @@ self: {
];
description = "Flatten camel case text in LaTeX files";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"smallcheck" = callPackage
@@ -210341,6 +214096,37 @@ self: {
license = stdenv.lib.licenses.publicDomain;
}) {};
+ "smap" = callPackage
+ ({ mkDerivation, attoparsec, base, bytestring, hashable, memory
+ , mmorph, optparse-applicative, resourcet, streaming
+ , streaming-bytestring, strict, text, transformers
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "smap";
+ version = "0.3.3";
+ sha256 = "17qdn1ag4pdizgdng1747jdpad6xca208w7633pw24j5nkfy72dx";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ attoparsec base bytestring hashable memory mmorph
+ optparse-applicative resourcet streaming streaming-bytestring
+ strict text transformers unordered-containers
+ ];
+ executableHaskellDepends = [
+ attoparsec base bytestring hashable memory mmorph
+ optparse-applicative resourcet streaming streaming-bytestring
+ strict text transformers unordered-containers
+ ];
+ testHaskellDepends = [
+ attoparsec base bytestring hashable memory mmorph
+ optparse-applicative resourcet streaming streaming-bytestring
+ strict text transformers unordered-containers
+ ];
+ description = "A command line tool for working with sets and maps";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"smartGroup" = callPackage
({ mkDerivation, base, bytestring, containers, template-haskell }:
mkDerivation {
@@ -210675,15 +214461,18 @@ self: {
"smtp-mail" = callPackage
({ mkDerivation, array, base, base16-bytestring, base64-bytestring
- , bytestring, cryptohash, filepath, mime-mail, network, text
+ , bytestring, connection, cryptohash, filepath, mime-mail, network
+ , network-bsd, text
}:
mkDerivation {
pname = "smtp-mail";
- version = "0.1.4.6";
- sha256 = "1g0lsbd9h8bhk4xddgzm96i8fy233904jnqnl4i94ld2hzpwpnl6";
+ version = "0.2.0.0";
+ sha256 = "0qazfkh03rnrijan037bjspskbsma5x04gcavmn0g744f7xldcaz";
+ revision = "1";
+ editedCabalFile = "1kv84kywyj8f7iypzdq6a32wwkk8318khhy4x3p9q6mlvgv8275r";
libraryHaskellDepends = [
array base base16-bytestring base64-bytestring bytestring
- cryptohash filepath mime-mail network text
+ connection cryptohash filepath mime-mail network network-bsd text
];
description = "Simple email sending via SMTP";
license = stdenv.lib.licenses.bsd3;
@@ -210849,6 +214638,8 @@ self: {
];
description = "Accept header branching for the Snap web framework";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"snap-app" = callPackage
@@ -211014,8 +214805,8 @@ self: {
}:
mkDerivation {
pname = "snap-extras";
- version = "0.12.2.1";
- sha256 = "0mzvw49v6i77ysdlxfrdva5kn0vj9p5h2br6qlwvhdwqq8269gqp";
+ version = "0.12.3.0";
+ sha256 = "0r21fmmhn90rjvgxmlcq5f1q8dxd1y2zr62z2llcnl206a2hpm2x";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -211049,8 +214840,6 @@ self: {
];
description = "Language handling for Snap";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"snap-loader-dynamic" = callPackage
@@ -211128,48 +214917,6 @@ self: {
}) {};
"snap-server" = callPackage
- ({ mkDerivation, attoparsec, base, base16-bytestring, blaze-builder
- , bytestring, bytestring-builder, case-insensitive, clock
- , containers, criterion, deepseq, directory, filepath, HsOpenSSL
- , http-common, http-streams, HUnit, io-streams, io-streams-haproxy
- , lifted-base, monad-control, mtl, network, old-locale
- , openssl-streams, parallel, QuickCheck, random, snap-core
- , test-framework, test-framework-hunit, test-framework-quickcheck2
- , text, threads, time, transformers, unix, unix-compat, vector
- }:
- mkDerivation {
- pname = "snap-server";
- version = "1.1.0.0";
- sha256 = "0vvw9n8xs272qdlrf3dxhnva41zh3awi7pf022rrjj75lj8a77i4";
- revision = "3";
- editedCabalFile = "0a9d3nqb5rvgm25nak68lp6yj9m6cwhbgdbg5l7ib5i2czcg7yjh";
- configureFlags = [ "-fopenssl" ];
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- attoparsec base blaze-builder bytestring bytestring-builder
- case-insensitive clock containers filepath HsOpenSSL io-streams
- io-streams-haproxy lifted-base mtl network old-locale
- openssl-streams snap-core text time unix unix-compat vector
- ];
- testHaskellDepends = [
- attoparsec base base16-bytestring blaze-builder bytestring
- bytestring-builder case-insensitive clock containers deepseq
- directory filepath HsOpenSSL http-common http-streams HUnit
- io-streams io-streams-haproxy lifted-base monad-control mtl network
- old-locale openssl-streams parallel QuickCheck random snap-core
- test-framework test-framework-hunit test-framework-quickcheck2 text
- threads time transformers unix unix-compat vector
- ];
- benchmarkHaskellDepends = [
- attoparsec base blaze-builder bytestring bytestring-builder
- criterion io-streams io-streams-haproxy snap-core vector
- ];
- description = "A web server for the Snap Framework";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "snap-server_1_1_1_1" = callPackage
({ mkDerivation, attoparsec, base, base16-bytestring, blaze-builder
, bytestring, bytestring-builder, case-insensitive, clock
, containers, criterion, deepseq, directory, filepath, HsOpenSSL
@@ -211209,7 +214956,6 @@ self: {
];
description = "A web server for the Snap Framework";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"snap-stream" = callPackage
@@ -211441,6 +215187,8 @@ self: {
pname = "snaplet-customauth";
version = "0.1.2";
sha256 = "0y1a8c9j1q1pzby5v4ajnafm6dr9fvxvvkiynvscyjsf73gp2myb";
+ revision = "1";
+ editedCabalFile = "1dh8vmrnndg06l5yr3fbmxlzf164nvcy923mafc624bxcr6iip9f";
libraryHaskellDepends = [
aeson base base64-bytestring binary binary-orphans bytestring
configurator containers errors heist hoauth2 http-client
@@ -211823,8 +215571,8 @@ self: {
}:
mkDerivation {
pname = "snaplet-purescript";
- version = "0.5.2.0";
- sha256 = "19d6w59c37p8na9l6xa085x9jsxnndizhd9f76fabwa70yghml71";
+ version = "0.5.2.3";
+ sha256 = "1da5yx6ghqkknkzgarnn0dx2za711sn8gl3ai0ahyy2wa9mdv6kd";
libraryHaskellDepends = [
base configurator mtl raw-strings-qq shelly snap snap-core
string-conv text transformers
@@ -212694,22 +216442,31 @@ self: {
}) {};
"sockets" = callPackage
- ({ mkDerivation, async, base, bytestring, entropy, error-codes, ip
- , posix-api, primitive, stm, tasty, tasty-hunit, text
+ ({ mkDerivation, async, base, byteslice, bytestring, entropy
+ , error-codes, ip, posix-api, primitive, primitive-addr
+ , primitive-offset, primitive-unlifted, stm, tasty, tasty-hunit
+ , text
}:
mkDerivation {
pname = "sockets";
- version = "0.3.1.0";
- sha256 = "0i1h7m7yrsgz8srmpm9fw2wa1jj0cfxah2alp7q88zpgyaz2zr9d";
+ version = "0.5.0.0";
+ sha256 = "0pxrdxmiqyp5xs24sp22b4rldhzm1rahkdq5lc24m30g4p609xa3";
+ revision = "1";
+ editedCabalFile = "1ji60m0wj3jwdfwdjaxzic41rwdnq72m9xspn64f66c872lx137d";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bytestring error-codes ip posix-api primitive stm text
+ base byteslice bytestring error-codes ip posix-api primitive
+ primitive-addr primitive-offset primitive-unlifted stm text
];
testHaskellDepends = [
- async base bytestring ip primitive tasty tasty-hunit
+ async base byteslice bytestring ip primitive primitive-addr
+ primitive-unlifted stm tasty tasty-hunit
];
- benchmarkHaskellDepends = [ base bytestring entropy ip primitive ];
+ benchmarkHaskellDepends = [
+ base byteslice bytestring entropy ip primitive
+ ];
+ doHaddock = false;
description = "High-level network sockets";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -212744,30 +216501,18 @@ self: {
}) {};
"socks" = callPackage
- ({ mkDerivation, base, bytestring, cereal, network }:
- mkDerivation {
- pname = "socks";
- version = "0.5.6";
- sha256 = "0f44qy74i0n6ll3jym0a2ipafkpw1h67amcpqmj8iq95h21wsqzs";
- revision = "1";
- editedCabalFile = "19f6yzalxbvw0zi1z8wi0vz7s21p5anvfaqsaszppnkgk6j6nnvn";
- libraryHaskellDepends = [ base bytestring cereal network ];
- description = "Socks proxy (ver 5)";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "socks_0_6_0" = callPackage
({ mkDerivation, base, basement, bytestring, cereal, network }:
mkDerivation {
pname = "socks";
version = "0.6.0";
sha256 = "10bkf2gw5l48j6g1i2slndcg4nzdqj8syrnbj21gjz6sms3zlqlp";
+ revision = "1";
+ editedCabalFile = "0a7p6gfcmxgrs3rx62qm7fi5hvn90r64px7wbqva4h6scrmywn50";
libraryHaskellDepends = [
base basement bytestring cereal network
];
description = "Socks proxy (ver 5)";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"sodium" = callPackage
@@ -213025,6 +216770,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "sortee" = callPackage
+ ({ mkDerivation, base, hspec, HUnit, QuickCheck }:
+ mkDerivation {
+ pname = "sortee";
+ version = "0.1.0.1";
+ sha256 = "0lnjxryiqnkmsdqjam37ld1xqk50l3qh6lmmpsw5fnw48c8hlyzs";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base hspec HUnit QuickCheck ];
+ description = "Generate string for sort key";
+ license = stdenv.lib.licenses.gpl3;
+ }) {};
+
"sorting" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -213508,6 +217265,30 @@ self: {
license = stdenv.lib.licenses.gpl3;
}) {};
+ "sparse-tensor" = callPackage
+ ({ mkDerivation, ad, base, bytestring, Cabal, cereal, containers
+ , deepseq, ghc-typelits-knownnat, ghc-typelits-natnormalise
+ , hmatrix, parallel, QuickCheck, tasty, tasty-hunit
+ , tasty-quickcheck, tf-random, zlib
+ }:
+ mkDerivation {
+ pname = "sparse-tensor";
+ version = "0.2.1.1";
+ sha256 = "1bjia89as14i2cif9nf7rsifazg305l7cl040gb7xbi3szlc621y";
+ setupHaskellDepends = [ base Cabal ];
+ libraryHaskellDepends = [
+ ad base bytestring cereal containers deepseq ghc-typelits-knownnat
+ ghc-typelits-natnormalise hmatrix parallel tf-random zlib
+ ];
+ testHaskellDepends = [
+ base hmatrix QuickCheck tasty tasty-hunit tasty-quickcheck
+ ];
+ description = "typesafe tensor algebra library";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"sparsebit" = callPackage
({ mkDerivation, base, haskell98 }:
mkDerivation {
@@ -213593,8 +217374,8 @@ self: {
pname = "spatial-rotations";
version = "0.1.0.1";
sha256 = "02nysw4dbg5l37j83kdybxkrdzgjxn20h3lknnphwz0hr0n489ii";
- revision = "1";
- editedCabalFile = "1g2ib60nhwwdb9fjdnmn7z0bzrsac6xcsl6bs7wi6s5rr991pp1c";
+ revision = "3";
+ editedCabalFile = "03kjhr51w600cnm1jgdc9nbm9ay66fxq93z7r6xgph1a4dmcjvg4";
libraryHaskellDepends = [
base linear manifolds-core vector-space
];
@@ -213604,8 +217385,6 @@ self: {
];
description = "Rotate about any suitable axis";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"spawn" = callPackage
@@ -213625,8 +217404,8 @@ self: {
}:
mkDerivation {
pname = "spdx";
- version = "1";
- sha256 = "1vw6pqj86slgzgbrd6kmsn5xlbxln0cys9qxxa47ypfy4spxmfkd";
+ version = "1.0.0.1";
+ sha256 = "00j0dqx9hrlpqy1jml85nykg0xl108q45ljan385bzb5nnap36l6";
libraryHaskellDepends = [ base Cabal containers transformers ];
testHaskellDepends = [
base base-compat Cabal tasty tasty-quickcheck
@@ -213742,17 +217521,17 @@ self: {
}) {};
"spectral-clustering" = callPackage
- ({ mkDerivation, base, clustering, containers, eigen, hmatrix
+ ({ mkDerivation, base, clustering, containers, hmatrix
, hmatrix-svdlibc, mwc-random, safe, sparse-linear-algebra
, statistics, vector
}:
mkDerivation {
pname = "spectral-clustering";
- version = "0.3.0.2";
- sha256 = "1jxjqdyjj8ajv7qb3qldaqh2mr00fg51yp4fiqi5d3bd4b4isga8";
+ version = "0.3.1.3";
+ sha256 = "0izf0lvk989y4d04240hbnsr5lc5lbl9200c5km0p72lv1v07mgf";
libraryHaskellDepends = [
- base clustering containers eigen hmatrix hmatrix-svdlibc mwc-random
- safe sparse-linear-algebra statistics vector
+ base clustering containers hmatrix hmatrix-svdlibc mwc-random safe
+ sparse-linear-algebra statistics vector
];
description = "Library for spectral clustering";
license = stdenv.lib.licenses.gpl3;
@@ -213773,6 +217552,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "speculate_0_4_1" = callPackage
+ ({ mkDerivation, base, cmdargs, containers, express, leancheck }:
+ mkDerivation {
+ pname = "speculate";
+ version = "0.4.1";
+ sha256 = "1fyj6kizwwb2vpvn17s7gx4swmzsziwmf6mmxaldbrzkha46y9hn";
+ libraryHaskellDepends = [
+ base cmdargs containers express leancheck
+ ];
+ testHaskellDepends = [ base express leancheck ];
+ benchmarkHaskellDepends = [ base express leancheck ];
+ description = "discovery of properties about Haskell functions";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"speculation" = callPackage
({ mkDerivation, base, ghc-prim, stm, transformers }:
mkDerivation {
@@ -214151,8 +217946,8 @@ self: {
pname = "split";
version = "0.2.3.3";
sha256 = "04qlmkcyklznl03gsjg95b4nzb6i96gdapqg60rny9szgi7ngk8x";
- revision = "1";
- editedCabalFile = "0vz2ylx81nfq2981msig080j7n41xf2lrxzf3hj1x3g3cllb3izi";
+ revision = "2";
+ editedCabalFile = "1c8bcssxq5rkxkixgms6w6x6lzf4n7cxk6cx6av1dp3lixdy9j34";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base QuickCheck ];
description = "Combinator library for splitting lists";
@@ -214174,12 +217969,14 @@ self: {
({ mkDerivation, base, invariant, lens, QuickCheck }:
mkDerivation {
pname = "split-morphism";
- version = "0.1.0.0";
- sha256 = "08mrnaj03j5z9ihayqikb06rw1fvrbjrqq0ysz28nlzawhz8x970";
+ version = "0.1.0.1";
+ sha256 = "0j7z4im0f0dblx8jzia21f3zg5qi2b3lpd9qf7w4ns8rhk4ycr58";
libraryHaskellDepends = [ base invariant lens ];
testHaskellDepends = [ base invariant lens QuickCheck ];
description = "Split Epimorphisms and Monomorphisms";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"split-record" = callPackage
@@ -214213,20 +218010,20 @@ self: {
"splitmix" = callPackage
({ mkDerivation, async, base, base-compat-batteries, bytestring
- , containers, criterion, deepseq, process, random, tf-random, time
- , vector
+ , clock, containers, criterion, deepseq, HUnit, process, random
+ , tf-random, time, vector
}:
mkDerivation {
pname = "splitmix";
- version = "0.0.2";
- sha256 = "1y9vlik5icwimw6c8zh9pzgp0pbxvwxg48r54qsypnn1p4dbgaz6";
+ version = "0.0.3";
+ sha256 = "1k0amgkz7rvyz3lnw7m786ilnr1cibwhx9sc4qynq329gxan5r7w";
libraryHaskellDepends = [ base deepseq random time ];
testHaskellDepends = [
- async base base-compat-batteries bytestring deepseq process random
- tf-random vector
+ async base base-compat-batteries bytestring deepseq HUnit process
+ random tf-random vector
];
benchmarkHaskellDepends = [
- base containers criterion random tf-random
+ base clock containers criterion random tf-random
];
description = "Fast Splittable PRNG";
license = stdenv.lib.licenses.bsd3;
@@ -214464,8 +218261,8 @@ self: {
}:
mkDerivation {
pname = "sproxy2";
- version = "1.97.0";
- sha256 = "1in8sb41bl46xwk49904xkm3k5s59xikvmyyani1p60l0zfrb2jk";
+ version = "1.97.1";
+ sha256 = "1rbklqbmp0j9wy60j03bccbc0czd4s4ki8bl3l93p8mvkv55hcx4";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -214774,31 +218571,27 @@ self: {
"squeal-postgresql" = callPackage
({ mkDerivation, aeson, base, binary-parser, bytestring
, bytestring-strict-builder, deepseq, doctest, generics-sop, hspec
- , lifted-base, mmorph, monad-control, mtl, network-ip
- , postgresql-binary, postgresql-libpq, records-sop, resource-pool
- , scientific, text, time, transformers, transformers-base
- , uuid-types, vector
+ , mmorph, mtl, network-ip, postgresql-binary, postgresql-libpq
+ , records-sop, resource-pool, scientific, text, time, transformers
+ , unliftio, unliftio-pool, uuid-types, vector
}:
mkDerivation {
pname = "squeal-postgresql";
- version = "0.4.0.0";
- sha256 = "10z1rq6jz8g6sv52bh9hjmjsw0pml9m4l04gzi19zxnwa597xk2b";
+ version = "0.5.1.0";
+ sha256 = "139a93b2zy3wximrziqxl5m9mqd66d7awzprrymwrxhxgrlrf27q";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
aeson base binary-parser bytestring bytestring-strict-builder
- deepseq generics-sop lifted-base mmorph monad-control mtl
- network-ip postgresql-binary postgresql-libpq records-sop
- resource-pool scientific text time transformers transformers-base
- uuid-types vector
+ deepseq generics-sop mmorph mtl network-ip postgresql-binary
+ postgresql-libpq records-sop resource-pool scientific text time
+ transformers unliftio unliftio-pool uuid-types vector
];
executableHaskellDepends = [
- base bytestring generics-sop mtl text transformers
- transformers-base vector
+ base bytestring generics-sop mtl text transformers vector
];
testHaskellDepends = [
- base bytestring doctest generics-sop hspec text transformers
- transformers-base vector
+ base bytestring doctest generics-sop hspec text transformers vector
];
description = "Squeal PostgreSQL Library";
license = stdenv.lib.licenses.bsd3;
@@ -214812,8 +218605,8 @@ self: {
}:
mkDerivation {
pname = "squeeze";
- version = "1.0.4.16";
- sha256 = "0ywlxh7988i87qxpmja79a98ri9myzk4648d2j3aihsfdm34w2cr";
+ version = "1.0.4.17";
+ sha256 = "10nm5jim5cw7qmkdr1j7665g646kay53w8n5rcsp1jz3lglpymdw";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -215241,31 +219034,59 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "stache_2_1_0" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, criterion
+ , deepseq, directory, file-embed, filepath, hspec, hspec-discover
+ , hspec-megaparsec, megaparsec, mtl, template-haskell, text
+ , unordered-containers, vector, yaml
+ }:
+ mkDerivation {
+ pname = "stache";
+ version = "2.1.0";
+ sha256 = "1q34h46px7miy2kx1yzaj785ai70mkchmijpdq2iih1fffir8kvk";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson base bytestring containers deepseq directory filepath
+ megaparsec mtl template-haskell text unordered-containers vector
+ ];
+ testHaskellDepends = [
+ aeson base bytestring containers file-embed hspec hspec-megaparsec
+ megaparsec template-haskell text yaml
+ ];
+ testToolDepends = [ hspec-discover ];
+ benchmarkHaskellDepends = [
+ aeson base criterion deepseq megaparsec text
+ ];
+ description = "Mustache templates for Haskell";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"stack" = callPackage
- ({ mkDerivation, aeson, annotated-wl-pprint, ansi-terminal, async
- , attoparsec, base, base64-bytestring, bindings-uname, bytestring
- , Cabal, conduit, conduit-extra, containers, cryptonite
+ ({ mkDerivation, aeson, annotated-wl-pprint, ansi-terminal, array
+ , async, attoparsec, base, base64-bytestring, bytestring, Cabal
+ , colour, conduit, conduit-extra, containers, cryptonite
, cryptonite-conduit, deepseq, directory, echo, exceptions, extra
, file-embed, filelock, filepath, fsnotify, generic-deriving
- , hackage-security, hashable, hpack, hpc, hspec, http-client
- , http-client-tls, http-conduit, http-types, memory, microlens
- , mintty, monad-logger, mono-traversable, mtl, mustache
- , neat-interpolation, network-uri, open-browser
- , optparse-applicative, path, path-io, persistent
+ , hackage-security, hashable, hi-file-parser, hpack, hpc, hspec
+ , http-client, http-client-tls, http-conduit, http-download
+ , http-types, memory, microlens, mintty, mono-traversable, mtl
+ , mustache, neat-interpolation, network-uri, open-browser
+ , optparse-applicative, pantry, path, path-io, persistent
, persistent-sqlite, persistent-template, pretty, primitive
- , process, project-template, QuickCheck, regex-applicative-text
- , resourcet, retry, rio, semigroups, smallcheck, split, stm, store
- , store-core, streaming-commons, tar, template-haskell, temporary
- , text, text-metrics, th-reify-many, time, tls, transformers
- , typed-process, unicode-transforms, unix, unix-compat, unliftio
- , unordered-containers, vector, yaml, zip-archive, zlib
+ , process, project-template, QuickCheck, raw-strings-qq
+ , regex-applicative-text, resource-pool, resourcet, retry, rio
+ , rio-prettyprint, semigroups, smallcheck, split, stm
+ , streaming-commons, tar, template-haskell, temporary
+ , terminal-size, text, text-metrics, th-reify-many, time, tls
+ , transformers, typed-process, unicode-transforms, unix
+ , unix-compat, unliftio, unordered-containers, vector, yaml
+ , zip-archive, zlib
}:
mkDerivation {
pname = "stack";
- version = "1.9.3.1";
- sha256 = "0lxx2gwwh4kjhy9d67ykdnhm5z9zsflv515jgsf97nkf6b8db8lj";
- revision = "2";
- editedCabalFile = "1fypvcvjlhyxnr81gll1w0l4nw6zvsr1vhb1y5g1jnyzy8f278zj";
+ version = "2.1.3.1";
+ sha256 = "1q2nagnc24fvyj3hwnpgyp3rqhxswhscyw4pw2dazqx34ad3d0zr";
configureFlags = [
"-fdisable-git-info" "-fhide-dependency-versions"
"-fsupported-build"
@@ -215274,55 +219095,58 @@ self: {
isExecutable = true;
setupHaskellDepends = [ base Cabal filepath ];
libraryHaskellDepends = [
- aeson annotated-wl-pprint ansi-terminal async attoparsec base
- base64-bytestring bindings-uname bytestring Cabal conduit
- conduit-extra containers cryptonite cryptonite-conduit deepseq
- directory echo exceptions extra file-embed filelock filepath
- fsnotify generic-deriving hackage-security hashable hpack hpc
- http-client http-client-tls http-conduit http-types memory
- microlens mintty monad-logger mono-traversable mtl mustache
+ aeson annotated-wl-pprint ansi-terminal array async attoparsec base
+ base64-bytestring bytestring Cabal colour conduit conduit-extra
+ containers cryptonite cryptonite-conduit deepseq directory echo
+ exceptions extra file-embed filelock filepath fsnotify
+ generic-deriving hackage-security hashable hi-file-parser hpack hpc
+ http-client http-client-tls http-conduit http-download http-types
+ memory microlens mintty mono-traversable mtl mustache
neat-interpolation network-uri open-browser optparse-applicative
- path path-io persistent persistent-sqlite persistent-template
- pretty primitive process project-template regex-applicative-text
- resourcet retry rio semigroups split stm store store-core
- streaming-commons tar template-haskell temporary text text-metrics
+ pantry path path-io persistent persistent-sqlite
+ persistent-template pretty primitive process project-template
+ regex-applicative-text resource-pool resourcet retry rio
+ rio-prettyprint semigroups split stm streaming-commons tar
+ template-haskell temporary terminal-size text text-metrics
th-reify-many time tls transformers typed-process
unicode-transforms unix unix-compat unliftio unordered-containers
vector yaml zip-archive zlib
];
executableHaskellDepends = [
- aeson annotated-wl-pprint ansi-terminal async attoparsec base
- base64-bytestring bindings-uname bytestring Cabal conduit
- conduit-extra containers cryptonite cryptonite-conduit deepseq
- directory echo exceptions extra file-embed filelock filepath
- fsnotify generic-deriving hackage-security hashable hpack hpc
- http-client http-client-tls http-conduit http-types memory
- microlens mintty monad-logger mono-traversable mtl mustache
+ aeson annotated-wl-pprint ansi-terminal array async attoparsec base
+ base64-bytestring bytestring Cabal colour conduit conduit-extra
+ containers cryptonite cryptonite-conduit deepseq directory echo
+ exceptions extra file-embed filelock filepath fsnotify
+ generic-deriving hackage-security hashable hi-file-parser hpack hpc
+ http-client http-client-tls http-conduit http-download http-types
+ memory microlens mintty mono-traversable mtl mustache
neat-interpolation network-uri open-browser optparse-applicative
- path path-io persistent persistent-sqlite persistent-template
- pretty primitive process project-template regex-applicative-text
- resourcet retry rio semigroups split stm store store-core
- streaming-commons tar template-haskell temporary text text-metrics
+ pantry path path-io persistent persistent-sqlite
+ persistent-template pretty primitive process project-template
+ regex-applicative-text resource-pool resourcet retry rio
+ rio-prettyprint semigroups split stm streaming-commons tar
+ template-haskell temporary terminal-size text text-metrics
th-reify-many time tls transformers typed-process
unicode-transforms unix unix-compat unliftio unordered-containers
vector yaml zip-archive zlib
];
testHaskellDepends = [
- aeson annotated-wl-pprint ansi-terminal async attoparsec base
- base64-bytestring bindings-uname bytestring Cabal conduit
- conduit-extra containers cryptonite cryptonite-conduit deepseq
- directory echo exceptions extra file-embed filelock filepath
- fsnotify generic-deriving hackage-security hashable hpack hpc hspec
- http-client http-client-tls http-conduit http-types memory
- microlens mintty monad-logger mono-traversable mtl mustache
+ aeson annotated-wl-pprint ansi-terminal array async attoparsec base
+ base64-bytestring bytestring Cabal colour conduit conduit-extra
+ containers cryptonite cryptonite-conduit deepseq directory echo
+ exceptions extra file-embed filelock filepath fsnotify
+ generic-deriving hackage-security hashable hi-file-parser hpack hpc
+ hspec http-client http-client-tls http-conduit http-download
+ http-types memory microlens mintty mono-traversable mtl mustache
neat-interpolation network-uri open-browser optparse-applicative
- path path-io persistent persistent-sqlite persistent-template
- pretty primitive process project-template QuickCheck
- regex-applicative-text resourcet retry rio semigroups smallcheck
- split stm store store-core streaming-commons tar template-haskell
- temporary text text-metrics th-reify-many time tls transformers
- typed-process unicode-transforms unix unix-compat unliftio
- unordered-containers vector yaml zip-archive zlib
+ pantry path path-io persistent persistent-sqlite
+ persistent-template pretty primitive process project-template
+ QuickCheck raw-strings-qq regex-applicative-text resource-pool
+ resourcet retry rio rio-prettyprint semigroups smallcheck split stm
+ streaming-commons tar template-haskell temporary terminal-size text
+ text-metrics th-reify-many time tls transformers typed-process
+ unicode-transforms unix unix-compat unliftio unordered-containers
+ vector yaml zip-archive zlib
];
doCheck = false;
preCheck = "export HOME=$TMPDIR";
@@ -215361,6 +219185,19 @@ self: {
broken = true;
}) {};
+ "stack-fix" = callPackage
+ ({ mkDerivation, base, options, text, turtle }:
+ mkDerivation {
+ pname = "stack-fix";
+ version = "0.1.0.0";
+ sha256 = "13x4pd1h2f2akpja5mxnqx0pw1ax57r2q76gsb3fs1f6kxykypwl";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [ base options text turtle ];
+ description = "Console program used to fix Stack build errors automatically";
+ license = stdenv.lib.licenses.agpl3;
+ }) {};
+
"stack-hpc-coveralls" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, deepseq
, directory, docopt, filepath, hlint, hpc, hspec, hspec-contrib
@@ -215575,8 +219412,8 @@ self: {
}:
mkDerivation {
pname = "stack2cabal";
- version = "1.0.2";
- sha256 = "0zdyjf55zda465ai6bjp13a4f4khgz59smmaa2nlbbrjknlb1kbl";
+ version = "1.0.3";
+ sha256 = "1bmghzb866p3225ai3w4xxy3s2qic3vr4srcx7xb113qjvmadran";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -215613,6 +219450,8 @@ self: {
testHaskellDepends = [ base hspec ];
description = "Convert stack.yaml files into Nix build instructions.";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stackage" = callPackage
@@ -215881,8 +219720,8 @@ self: {
}:
mkDerivation {
pname = "stackage-to-hackage";
- version = "1.1.0";
- sha256 = "165g5vyxck8hh2523v4h0cwjl3yvp4wwzlsdrs9wvg9ca3ij0v85";
+ version = "1.1.1";
+ sha256 = "10zd3wqla54mfnwv65gklvmglhcpzhanqfka0l0ilnbkqlgx4acm";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -216007,6 +219846,8 @@ self: {
testHaskellDepends = [ base containers doctest graphviz text ];
description = "Ascii DAG(Directed acyclic graph) for visualization of dataflow";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"staf" = callPackage
@@ -216072,8 +219913,6 @@ self: {
];
description = "Generate standalone haddock documentation for a set of packages";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"star" = callPackage
@@ -216654,19 +220493,20 @@ self: {
}) {};
"status-notifier-item" = callPackage
- ({ mkDerivation, base, bytestring, containers, dbus, dbus-hslogger
- , filepath, hslogger, lens, network, optparse-applicative, spool
- , template-haskell, text, transformers, vector
+ ({ mkDerivation, base, bytestring, bytestring-to-vector, containers
+ , dbus, dbus-hslogger, filepath, hslogger, lens, network
+ , optparse-applicative, template-haskell, text, transformers
+ , vector
}:
mkDerivation {
pname = "status-notifier-item";
- version = "0.3.0.1";
- sha256 = "0wrw635r7c2qdb90hpm5lg3kb16c3dkw88ypbszf18m02f4dsk8h";
+ version = "0.3.0.4";
+ sha256 = "0abck5zvk46kng28qjhvqkxj485zw3l6bsakxpjijb58d1i0g667";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bytestring containers dbus filepath hslogger lens network
- spool template-haskell text transformers vector
+ base bytestring bytestring-to-vector containers dbus filepath
+ hslogger lens network template-haskell text transformers vector
];
executableHaskellDepends = [
base dbus dbus-hslogger hslogger optparse-applicative
@@ -216712,8 +220552,6 @@ self: {
];
description = "What version is the package X in stackage lts-Y.ZZ?";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"stb-image" = callPackage
@@ -216750,10 +220588,54 @@ self: {
libraryHaskellDepends = [ array base bytestring containers ];
description = "A wrapper around Sean Barrett's TrueType rasterizer library";
license = stdenv.lib.licenses.publicDomain;
+ }) {};
+
+ "stc-lang" = callPackage
+ ({ mkDerivation, abstract-par, aeson, base, BoundedChan, bytestring
+ , clock, deepseq, ghc-prim, hashable, hashtables, hedis, HUnit
+ , hw-kafka-client, microlens, microlens-aeson, monad-par
+ , monad-par-extras, mtl, random, test-framework
+ , test-framework-hunit, text, time, transformers, uuid-types
+ , vector, yaml
+ }:
+ mkDerivation {
+ pname = "stc-lang";
+ version = "1.0.0";
+ sha256 = "1x11q696f3598g3ph3shiia0xwxqjaydp27inmfqz01p891xhj5w";
+ revision = "1";
+ editedCabalFile = "1fjkr2k0j2463vifmaqm6d8pk3r66wrmf74g8lypgf9p4vbsv53m";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ abstract-par base BoundedChan bytestring deepseq microlens
+ monad-par monad-par-extras mtl transformers
+ ];
+ executableHaskellDepends = [
+ aeson base BoundedChan bytestring clock deepseq hashable hashtables
+ hedis hw-kafka-client microlens microlens-aeson mtl random text
+ transformers uuid-types vector yaml
+ ];
+ testHaskellDepends = [
+ base deepseq ghc-prim HUnit microlens mtl test-framework
+ test-framework-hunit time transformers
+ ];
+ description = "A library for implicit, monadic dataflow parallelism";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
+ "std" = callPackage
+ ({ mkDerivation }:
+ mkDerivation {
+ pname = "std";
+ version = "0";
+ sha256 = "0ldn5yxpj99yhhp5x7zlxjmd9qgqyjg68avr19k7argwcf3nr9y9";
+ doHaddock = false;
+ description = "TBA";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"stdata" = callPackage
({ mkDerivation, base, parsec, syb, template-haskell }:
mkDerivation {
@@ -216914,8 +220796,8 @@ self: {
pname = "step-function";
version = "0.2";
sha256 = "1mg7zqqs32zdh1x1738kk0yydyksbhx3y3x8n31f7byk5fvzqq6j";
- revision = "2";
- editedCabalFile = "074399mj4p0sk49rqc9a3fikpsly95mndnmm71ya7wy34nxyafzv";
+ revision = "3";
+ editedCabalFile = "0aa7x22n5ylvryd7bm1j9s12k5xcp9fp5fz9qy03hjicxzlhm07a";
libraryHaskellDepends = [
base base-compat-batteries containers deepseq QuickCheck
];
@@ -216951,6 +220833,8 @@ self: {
benchmarkHaskellDepends = [ base criterion ];
description = "Positive rational numbers represented as paths in the Stern-Brocot tree";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stgi" = callPackage
@@ -217017,6 +220901,8 @@ self: {
pname = "stm";
version = "2.5.0.0";
sha256 = "1illcj8zgzmpl91hzgk0j74ha436a379gw13siq4gifbcrf6iqsr";
+ revision = "1";
+ editedCabalFile = "189fxk75h7n27kw7ndyn8nkxm3117qdh1dpag1mcs487kxghff62";
libraryHaskellDepends = [ array base ];
description = "Software Transactional Memory";
license = stdenv.lib.licenses.bsd3;
@@ -217105,6 +220991,8 @@ self: {
];
description = "Containers for STM";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stm-delay" = callPackage
@@ -217158,8 +221046,8 @@ self: {
}:
mkDerivation {
pname = "stm-hamt";
- version = "1.2.0.3";
- sha256 = "0bypqk2813q7ydhialig34gyrpqcfpj8w0mcq49h1j57g7hfm293";
+ version = "1.2.0.4";
+ sha256 = "0hlzi1zg58mgnb77982hkssm86ds66fs5nf1g2hcjjbjawchx3mj";
libraryHaskellDepends = [
base deferred-folds focus hashable list-t primitive
primitive-extras transformers
@@ -217174,6 +221062,8 @@ self: {
];
description = "STM-specialised Hash Array Mapped Trie";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stm-io-hooks" = callPackage
@@ -217200,8 +221090,6 @@ self: {
libraryHaskellDepends = [ base stm transformers ];
description = "Software Transactional Memory lifted to MonadIO";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"stm-linkedlist" = callPackage
@@ -217300,6 +221188,8 @@ self: {
testHaskellDepends = [ async base QuickCheck random Unique ];
description = "STM wrapper around Control.Concurrent.Supply.";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stm-tlist" = callPackage
@@ -217578,10 +221468,8 @@ self: {
}:
mkDerivation {
pname = "store";
- version = "0.5.1.0";
- sha256 = "0r15b04vxfca45a0rv1n4lcd6zpxhlhc9gmg9if17r1bm63x59hr";
- revision = "1";
- editedCabalFile = "0nfy8lrvj9kzhmbx8nkg8vlvlha8hkr4k23vs9xasvrw2wp5rfhj";
+ version = "0.5.1.2";
+ sha256 = "1abwlcj0z17hj5h94cbg1sgqfdsdgjhgfgd2aaspsn4zdfk5bjc5";
libraryHaskellDepends = [
array async base base-orphans base64-bytestring bifunctors
bytestring containers contravariant cryptohash deepseq directory
@@ -217617,58 +221505,6 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "store_0_5_1_1" = callPackage
- ({ mkDerivation, array, async, base, base-orphans
- , base64-bytestring, bifunctors, bytestring, cereal, cereal-vector
- , clock, containers, contravariant, criterion, cryptohash, deepseq
- , directory, filepath, free, ghc-prim, hashable, hspec
- , hspec-smallcheck, integer-gmp, lifted-base, monad-control
- , mono-traversable, network, primitive, resourcet, safe, semigroups
- , smallcheck, store-core, syb, template-haskell, text, th-lift
- , th-lift-instances, th-orphans, th-reify-many, th-utilities, time
- , transformers, unordered-containers, vector
- , vector-binary-instances, void, weigh
- }:
- mkDerivation {
- pname = "store";
- version = "0.5.1.1";
- sha256 = "1lp2kcrb4d3wsyd1cfmw3927w693lq9hj2anv0j993wvpdvd1cgl";
- libraryHaskellDepends = [
- array async base base-orphans base64-bytestring bifunctors
- bytestring containers contravariant cryptohash deepseq directory
- filepath free ghc-prim hashable hspec hspec-smallcheck integer-gmp
- lifted-base monad-control mono-traversable network primitive
- resourcet safe semigroups smallcheck store-core syb
- template-haskell text th-lift th-lift-instances th-orphans
- th-reify-many th-utilities time transformers unordered-containers
- vector void
- ];
- testHaskellDepends = [
- array async base base-orphans base64-bytestring bifunctors
- bytestring clock containers contravariant cryptohash deepseq
- directory filepath free ghc-prim hashable hspec hspec-smallcheck
- integer-gmp lifted-base monad-control mono-traversable network
- primitive resourcet safe semigroups smallcheck store-core syb
- template-haskell text th-lift th-lift-instances th-orphans
- th-reify-many th-utilities time transformers unordered-containers
- vector void
- ];
- benchmarkHaskellDepends = [
- array async base base-orphans base64-bytestring bifunctors
- bytestring cereal cereal-vector containers contravariant criterion
- cryptohash deepseq directory filepath free ghc-prim hashable hspec
- hspec-smallcheck integer-gmp lifted-base monad-control
- mono-traversable network primitive resourcet safe semigroups
- smallcheck store-core syb template-haskell text th-lift
- th-lift-instances th-orphans th-reify-many th-utilities time
- transformers unordered-containers vector vector-binary-instances
- void weigh
- ];
- description = "Fast binary serialization";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"store-core" = callPackage
({ mkDerivation, base, bytestring, ghc-prim, primitive, text
, transformers
@@ -217747,8 +221583,8 @@ self: {
}:
mkDerivation {
pname = "stratosphere";
- version = "0.29.1";
- sha256 = "0j3mb09k498xynhc82cnsknzkbjwn9lvvanrz78jpx4fhh73zrlz";
+ version = "0.40.0";
+ sha256 = "0xj8bclyfvhdw12jfndg6pivzrbhqjf2qky383n0w6if11cfli1z";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -217764,15 +221600,15 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "stratosphere_0_37_0" = callPackage
+ "stratosphere_0_42_0" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, bytestring, containers
, hashable, hspec, hspec-discover, lens, template-haskell, text
, unordered-containers
}:
mkDerivation {
pname = "stratosphere";
- version = "0.37.0";
- sha256 = "02m5cf4cxf32y3haqgx0nvwy64fmhbpmgk4g3i024mh1ab00k5fn";
+ version = "0.42.0";
+ sha256 = "1520dhfad9j1aa9sjxq56v6hivbfnm2vi19hjn7y0m6a80q2wawp";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -217812,87 +221648,88 @@ self: {
}) {};
"stratux" = callPackage
- ({ mkDerivation, base, directory, doctest, filepath, QuickCheck
- , stratux-http, stratux-types, stratux-websockets, template-haskell
+ ({ mkDerivation, base, stratux-http, stratux-types
+ , stratux-websockets
}:
mkDerivation {
pname = "stratux";
- version = "0.0.9";
- sha256 = "17jy7svf74k3r87p8xlp0hi9z95f5npmnn28jlwx4rb68dn63aly";
+ version = "0.0.10";
+ sha256 = "0km05c7i6yxlxy4fa39rrll1xmf5yzb6vk1b8s8rmh19520dzb07";
libraryHaskellDepends = [
base stratux-http stratux-types stratux-websockets
];
- testHaskellDepends = [
- base directory doctest filepath QuickCheck template-haskell
- ];
description = "A library for stratux";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
- "stratux-http" = callPackage
- ({ mkDerivation, aeson, base, directory, doctest, either, filepath
- , HTTP, network-uri, QuickCheck, stratux-types, template-haskell
- , utf8-string
+ "stratux-demo" = callPackage
+ ({ mkDerivation, base, lens, network-uri, optparse-applicative
+ , stratux, text, time, transformers
}:
mkDerivation {
- pname = "stratux-http";
- version = "0.0.9";
- sha256 = "121pansnd8pdhv9ki2qdav93cwldmnxnykjldhbkb2bkyr0skdyb";
- revision = "1";
- editedCabalFile = "0paq3zs9c39dcjxxyz975q4nccmgdxxay839wa60gka75hix34gs";
+ pname = "stratux-demo";
+ version = "0.0.12";
+ sha256 = "0rarr1z6rk6idjyxzb0053p90rpixqwc767bslcm6dvj9rxbgsvp";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [
- aeson base either HTTP network-uri stratux-types utf8-string
+ base lens network-uri optparse-applicative stratux text time
+ transformers
];
- testHaskellDepends = [
- base directory doctest filepath QuickCheck template-haskell
+ executableHaskellDepends = [
+ base lens network-uri optparse-applicative stratux text time
+ transformers
];
- description = "A library for using HTTP with stratux";
+ description = "A demonstration of the stratux library";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
+ "stratux-http" = callPackage
+ ({ mkDerivation, aeson, base, HTTP, network-uri, stratux-types
+ , transformers, utf8-string
+ }:
+ mkDerivation {
+ pname = "stratux-http";
+ version = "0.0.11";
+ sha256 = "056fz3fs1giwlh9yfj462p0bg98gzikbqvkkwcyrmyqpxjsala15";
+ libraryHaskellDepends = [
+ aeson base HTTP network-uri stratux-types transformers utf8-string
+ ];
+ description = "A library for using HTTP with stratux";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"stratux-types" = callPackage
- ({ mkDerivation, aeson, base, bytestring, directory, doctest
- , filepath, lens, QuickCheck, scientific, template-haskell, text
+ ({ mkDerivation, aeson, base, bytestring, lens, scientific, text
, time
}:
mkDerivation {
pname = "stratux-types";
- version = "0.0.9";
- sha256 = "06d4qagcmzch25zkxpnvw04h5aav5wbdrfyi6xvzvndj12hvayza";
+ version = "0.0.11";
+ sha256 = "0ps9y9rfjk5xzikkl4rsv203rfqc1yqa8alp5hx37lqgcnymw4hy";
libraryHaskellDepends = [
aeson base bytestring lens scientific text time
];
- testHaskellDepends = [
- base directory doctest filepath QuickCheck template-haskell
- ];
description = "A library for reading JSON output from stratux";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"stratux-websockets" = callPackage
- ({ mkDerivation, aeson, base, directory, doctest, either, filepath
- , network, QuickCheck, stratux-types, template-haskell, text
+ ({ mkDerivation, aeson, base, either, network, stratux-types, text
, transformers, websockets
}:
mkDerivation {
pname = "stratux-websockets";
- version = "0.0.9";
- sha256 = "0076n4i250frv71w9sysw935g5aq0py8shwaqrhjrv4jp6mb2k3q";
- revision = "1";
- editedCabalFile = "0863p5spgs68q6ddp3v9azm7x01wky1480yp3rrjxpkgay1ha4db";
+ version = "0.0.11";
+ sha256 = "0602y8h37zplp1g0fmdim1f8pmdz713jydc4qsh6ii3x58i8klj5";
libraryHaskellDepends = [
aeson base either network stratux-types text transformers
websockets
];
- testHaskellDepends = [
- base directory doctest filepath QuickCheck template-haskell
- ];
description = "A library for using websockets with stratux";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
@@ -217991,8 +221828,8 @@ self: {
pname = "streaming";
version = "0.2.2.0";
sha256 = "04fdw4f51yb16bv3b7z97vqxbns8rv2ag2aphglm29jsd527fsss";
- revision = "1";
- editedCabalFile = "1sq8blxh4s1lsvxkc64x7drxwn75kszxicjhvw4cg505fp9bfc7y";
+ revision = "2";
+ editedCabalFile = "0cfxibcf0lkzbbyxl96dpnmacxv39ljwrlr3935bxykihr83j9xf";
libraryHaskellDepends = [
base containers ghc-prim mmorph mtl semigroups transformers
transformers-base
@@ -218064,8 +221901,6 @@ self: {
];
description = "Benchmarks to compare streaming packages";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"streaming-binary" = callPackage
@@ -218176,8 +222011,8 @@ self: {
}:
mkDerivation {
pname = "streaming-commons";
- version = "0.2.1.0";
- sha256 = "13fn6qmpiggwpn8lczyydgp77cyzfypwds7wxskrwir4i5cgxlfq";
+ version = "0.2.1.1";
+ sha256 = "1lmyx3wkjsayhy5yilzvy0kf8qwmycwlk26r1d8f3cxbfhkr7s52";
libraryHaskellDepends = [
array async base bytestring directory network process random stm
text transformers unix zlib
@@ -218213,8 +222048,6 @@ self: {
];
description = "Concurrency support for the streaming ecosystem";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"streaming-conduit" = callPackage
@@ -218306,8 +222139,6 @@ self: {
];
description = "Streaming interface for LZMA/XZ compression";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"streaming-osm" = callPackage
@@ -218330,8 +222161,6 @@ self: {
];
description = "A hand-written streaming byte parser for OpenStreetMap Protobuf data";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"streaming-pcap" = callPackage
@@ -218353,8 +222182,6 @@ self: {
];
description = "Stream packets via libpcap";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"streaming-png" = callPackage
@@ -218500,34 +222327,6 @@ self: {
}) {};
"streamly" = callPackage
- ({ mkDerivation, atomic-primops, base, clock, containers, deepseq
- , exceptions, gauge, ghc-prim, heaps, hspec, lockfree-queue
- , monad-control, mtl, QuickCheck, random, transformers
- , transformers-base
- }:
- mkDerivation {
- pname = "streamly";
- version = "0.5.2";
- sha256 = "1pla9356yhf6zv2yz4mh8g1dslzdkkych4jrjyi4rw66frvw0jg6";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- atomic-primops base clock containers exceptions ghc-prim heaps
- lockfree-queue monad-control mtl transformers transformers-base
- ];
- testHaskellDepends = [
- base containers exceptions hspec mtl QuickCheck random transformers
- ];
- benchmarkHaskellDepends = [
- atomic-primops base clock containers deepseq exceptions gauge
- ghc-prim heaps lockfree-queue monad-control mtl random transformers
- transformers-base
- ];
- description = "Beautiful Streaming, Concurrent and Reactive Composition";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "streamly_0_6_1" = callPackage
({ mkDerivation, atomic-primops, base, containers, deepseq
, exceptions, gauge, ghc-prim, heaps, hspec, lockfree-queue
, monad-control, mtl, QuickCheck, random, transformers
@@ -218549,7 +222348,6 @@ self: {
benchmarkHaskellDepends = [ base deepseq gauge random ];
description = "Beautiful Streaming, Concurrent and Reactive Composition";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"streamproc" = callPackage
@@ -218766,6 +222564,24 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "strict-list_0_1_5" = callPackage
+ ({ mkDerivation, base, hashable, QuickCheck, quickcheck-instances
+ , rerebase, semigroupoids, tasty, tasty-hunit, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "strict-list";
+ version = "0.1.5";
+ sha256 = "06mv208bspfl2mh1razi6af3fri8w7f5p3klkc3b9yx5ddv3hwxs";
+ libraryHaskellDepends = [ base hashable semigroupoids ];
+ testHaskellDepends = [
+ QuickCheck quickcheck-instances rerebase tasty tasty-hunit
+ tasty-quickcheck
+ ];
+ description = "Strict linked list";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"strict-tuple" = callPackage
({ mkDerivation, base, deepseq, hashable }:
mkDerivation {
@@ -219025,8 +222841,8 @@ self: {
}:
mkDerivation {
pname = "string-transform";
- version = "1.1.0";
- sha256 = "1f76aiimm2knc68g08dc9j495mjkas87jw8w27silrsq3pzayzad";
+ version = "1.1.1";
+ sha256 = "08ay7r8ln4jwn7iq6smbny5lby3xgzlrlqj02yp61n1cn0sgzbhw";
libraryHaskellDepends = [ base bytestring text utf8-string ];
testHaskellDepends = [
base bytestring tasty tasty-hunit tasty-smallcheck text utf8-string
@@ -219163,6 +222979,20 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "strip-ansi-escape" = callPackage
+ ({ mkDerivation, attoparsec, base, hspec, QuickCheck, text }:
+ mkDerivation {
+ pname = "strip-ansi-escape";
+ version = "0.1.0.0";
+ sha256 = "0yxz4ygckhzav8s2vbd6355gclk1zs6xk0s0s90nxd7yxhahfpx8";
+ revision = "2";
+ editedCabalFile = "0pzp5wya73l732waxjl3fza3kkr7ip7bgsj6xhvsi1k0n69yvwh8";
+ libraryHaskellDepends = [ attoparsec base text ];
+ testHaskellDepends = [ base hspec QuickCheck text ];
+ description = "Strip ANSI escape code from string";
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
"stripe" = callPackage
({ mkDerivation, aeson, base, bytestring, http-conduit, http-types
, mtl, text, time, unordered-containers, utf8-string
@@ -219185,8 +223015,8 @@ self: {
({ mkDerivation, base, bytestring, text }:
mkDerivation {
pname = "stripe-concepts";
- version = "1.0.0.0";
- sha256 = "0s518mlb181407w2gmlhaayaf3ypn03lzw3fmkzkiqz2c89kd1rw";
+ version = "1.0.1.0";
+ sha256 = "1bpxsi9dpazxjh3m5lbkvm7aszylmhvkpazw8hdgpdnkv3gryjv5";
libraryHaskellDepends = [ base bytestring text ];
description = "Types for the Stripe API";
license = stdenv.lib.licenses.mit;
@@ -219198,8 +223028,8 @@ self: {
}:
mkDerivation {
pname = "stripe-core";
- version = "2.4.1";
- sha256 = "1ab3smzvm9qw4g1b5prin7njifwfls51c4cb625aaziljmpwyg27";
+ version = "2.5.0";
+ sha256 = "06b5qx20zkvaqvn98jqmq0vqrpkgfvab5wjq7lwlcdm9nn7nrsgi";
libraryHaskellDepends = [
aeson base bytestring mtl text time transformers
unordered-containers
@@ -219212,8 +223042,8 @@ self: {
({ mkDerivation, base, stripe-core, stripe-http-client }:
mkDerivation {
pname = "stripe-haskell";
- version = "2.4.1";
- sha256 = "041kj0dh6qzpmcwb6wm5ii9l6dwdpja3big57n0134z41hw0p45f";
+ version = "2.5.0";
+ sha256 = "0qazqygkg6hlfvz6wg3gk2am7qnxzsfqjqh6mgyandz9l141pyx5";
libraryHaskellDepends = [ base stripe-core stripe-http-client ];
description = "Stripe API for Haskell";
license = stdenv.lib.licenses.mit;
@@ -219227,8 +223057,8 @@ self: {
}:
mkDerivation {
pname = "stripe-http-client";
- version = "2.4.1";
- sha256 = "1x7720awkh97wpkyn6mbqb788a07lfshd8w55qwywfxlp42qg4a3";
+ version = "2.5.0";
+ sha256 = "1386d2bhql56kazxx89icl1j5ikhhza2cv934x19s5lqsl8089yi";
libraryHaskellDepends = [
aeson base bytestring http-client http-client-tls http-types
stripe-core text
@@ -219260,6 +223090,8 @@ self: {
doCheck = false;
description = "Stripe API for Haskell - http-streams backend";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stripe-scotty" = callPackage
@@ -219304,14 +223136,16 @@ self: {
}:
mkDerivation {
pname = "stripe-tests";
- version = "2.4.1";
- sha256 = "1lq2m450y7ylalcimy2fm2c6vhl0m3pyj7m52cni5dm398qskmr6";
+ version = "2.5.0";
+ sha256 = "0jqxzdriaysf2lya8p9lc1ind2m4b4nz15dn7vb3sx74vw6lp4s3";
libraryHaskellDepends = [
aeson base bytestring free hspec hspec-core mtl random stripe-core
text time transformers unordered-containers
];
description = "Tests for Stripe API bindings for Haskell";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"stripe-wreq" = callPackage
@@ -219375,8 +223209,8 @@ self: {
}:
mkDerivation {
pname = "strongswan-sql";
- version = "1.3.0.0";
- sha256 = "0dxl6j73hmw9la2ivbgxm6wr12dd79nh2315k517zlgiq4q1yir7";
+ version = "1.3.0.1";
+ sha256 = "1n61xxgp4saljyq6zywi5x5nlcwzp3i9vhwlmib790wr19znnxky";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -219396,8 +223230,6 @@ self: {
];
description = "Interface library for strongSwan SQL backend";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"strptime" = callPackage
@@ -219686,8 +223518,8 @@ self: {
}:
mkDerivation {
pname = "stylish-haskell";
- version = "0.9.2.1";
- sha256 = "1ls11fdx6snvfx8yykpidz142zzxwi5bazl49hgfqlwx50rqcp7w";
+ version = "0.9.2.2";
+ sha256 = "1zs624xqp6j8vrl6pfv18dm8vz8hvz25grri65ximxhcizgwhnax";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -219707,6 +223539,27 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "stylist" = callPackage
+ ({ mkDerivation, base, css-syntax, hashable, hspec, network-uri
+ , QuickCheck, text, unordered-containers
+ }:
+ mkDerivation {
+ pname = "stylist";
+ version = "1.0.0.0";
+ sha256 = "0lh8x8wqq4rsy4zn025qhs6jr9iaw65xqpbrk233h620prj23525";
+ libraryHaskellDepends = [
+ base css-syntax hashable network-uri text unordered-containers
+ ];
+ testHaskellDepends = [
+ base css-syntax hashable hspec network-uri QuickCheck text
+ unordered-containers
+ ];
+ description = "Apply CSS styles to a document tree";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"stylized" = callPackage
({ mkDerivation, ansi-terminal, base }:
mkDerivation {
@@ -219739,31 +223592,26 @@ self: {
}) {};
"suavemente" = callPackage
- ({ mkDerivation, base, blaze-markup, bytestring, diagrams-core
- , diagrams-lib, diagrams-svg, interpolatedstring-perl6, lens, mtl
- , servant, servant-blaze, servant-server, servant-websockets, stm
- , streaming, svg-builder, transformers, warp, websockets
+ ({ mkDerivation, aeson, base, blaze-markup, bytestring, colour
+ , containers, diagrams-core, diagrams-lib, diagrams-svg
+ , interpolatedstring-perl6, lens, mtl, servant, servant-blaze
+ , servant-server, servant-websockets, stm, streaming, svg-builder
+ , text, transformers, warp, websockets
}:
mkDerivation {
pname = "suavemente";
- version = "0.1.0.0";
- sha256 = "1595jc7lqvdk60p0cc3vjag7lgd90ayfwb16n70i1j9sz3b2qvva";
- isLibrary = true;
- isExecutable = true;
+ version = "0.2.0.0";
+ sha256 = "0m5sfa3sx67mx1wsps0vpr4g4vq64rmdml6p930r1jp3b4rd41wa";
libraryHaskellDepends = [
- base blaze-markup bytestring diagrams-core diagrams-lib
- diagrams-svg interpolatedstring-perl6 lens mtl servant
+ aeson base blaze-markup bytestring colour containers diagrams-core
+ diagrams-lib diagrams-svg interpolatedstring-perl6 lens mtl servant
servant-blaze servant-server servant-websockets stm streaming
- svg-builder transformers warp websockets
- ];
- executableHaskellDepends = [
- base blaze-markup bytestring diagrams-core diagrams-lib
- diagrams-svg interpolatedstring-perl6 lens mtl servant
- servant-blaze servant-server servant-websockets stm streaming
- svg-builder transformers warp websockets
+ svg-builder text transformers warp websockets
];
description = "An applicative functor that seamlessly talks to HTML inputs";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"sub-state" = callPackage
@@ -219906,8 +223754,6 @@ self: {
];
description = "Match / replace substrings with a parser combinators";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"subtitleParser" = callPackage
@@ -220076,34 +223922,6 @@ self: {
}) {};
"summoner" = callPackage
- ({ mkDerivation, aeson, ansi-terminal, base, base-noprelude
- , bytestring, directory, filepath, generic-deriving, gitrev
- , hedgehog, hspec, neat-interpolation, optparse-applicative
- , process, relude, text, time, tomland
- }:
- mkDerivation {
- pname = "summoner";
- version = "1.2.0";
- sha256 = "04shi46j44g81zylmrm807rlinfx6sjpdwvxxyw9rhnpx56b8r34";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson ansi-terminal base-noprelude bytestring directory filepath
- generic-deriving gitrev neat-interpolation optparse-applicative
- process relude text time tomland
- ];
- executableHaskellDepends = [ base ];
- testHaskellDepends = [
- base-noprelude filepath hedgehog hspec neat-interpolation relude
- tomland
- ];
- description = "Tool for scaffolding completely configured production Haskell projects";
- license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "summoner_1_3_0_1" = callPackage
({ mkDerivation, aeson, ansi-terminal, base, base-noprelude
, bytestring, directory, filepath, generic-deriving, gitrev
, hedgehog, hspec, neat-interpolation, optparse-applicative
@@ -220113,8 +223931,8 @@ self: {
pname = "summoner";
version = "1.3.0.1";
sha256 = "1m08n2ip9rjx06mcwcv636ncicmpxcmhx82i3p4yc5vylibxr57s";
- revision = "2";
- editedCabalFile = "0y3c59flsiz9w5a88ciy3jxzs1hvnlzyb3z5bz0199g0wrpwjxr6";
+ revision = "4";
+ editedCabalFile = "1vjk95n2wqybigy8p55gs7qkiv5v1lwf8qmri1f9bk29599sh74k";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -220278,8 +224096,8 @@ self: {
}:
mkDerivation {
pname = "super-user-spark";
- version = "0.4.0.1";
- sha256 = "0pxkvc1vjarh4p5rqnai6nlsqxv9as8jvqs2vpywl1525nsfyvy5";
+ version = "0.4.0.3";
+ sha256 = "0z2alc67p8nvvwaxxrgwhkwfki1iw7ycs3ay8kyfw0wh01d2cmgk";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -220331,6 +224149,8 @@ self: {
];
description = "Efficiently build a bytestring from smaller chunks";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"supercollider-ht" = callPackage
@@ -220521,6 +224341,8 @@ self: {
testHaskellDepends = [ base hspec ];
description = "Monitor groups of threads with non-hierarchical lifetimes";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"supplemented" = callPackage
@@ -220599,6 +224421,38 @@ self: {
broken = true;
}) {};
+ "sv_1_4" = callPackage
+ ({ mkDerivation, attoparsec, base, bifunctors, bytestring, cassava
+ , contravariant, criterion, deepseq, hedgehog, hw-dsv, lens, Only
+ , parsers, semigroupoids, semigroups, sv-core, tasty
+ , tasty-hedgehog, tasty-hunit, text, transformers, trifecta
+ , utf8-string, validation, vector
+ }:
+ mkDerivation {
+ pname = "sv";
+ version = "1.4";
+ sha256 = "02ymnnknfppx59b922y62grkmarwsyy77iv6bmyp2bzm8vbvnvd5";
+ revision = "1";
+ editedCabalFile = "0lzl0602dbq8nih9ylqk18vqg3xgj3bnf8c6hkxhbc2mryszrhyj";
+ libraryHaskellDepends = [
+ attoparsec base bifunctors bytestring contravariant hw-dsv
+ semigroupoids sv-core transformers utf8-string validation
+ ];
+ testHaskellDepends = [
+ base bytestring cassava contravariant hedgehog lens Only parsers
+ semigroupoids semigroups tasty tasty-hedgehog tasty-hunit text
+ trifecta utf8-string validation vector
+ ];
+ benchmarkHaskellDepends = [
+ attoparsec base bytestring criterion deepseq hw-dsv lens text
+ vector
+ ];
+ description = "Encode and decode separated values (CSV, PSV, ...)";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"sv-cassava" = callPackage
({ mkDerivation, attoparsec, base, bytestring, cassava, HUnit
, sv-core, text, utf8-string, validation, vector
@@ -220607,8 +224461,8 @@ self: {
pname = "sv-cassava";
version = "0.3";
sha256 = "1c4wacp7k5sgr5fy73h9if98d08apmcs6p4p3f3fvpqkm8jmf71b";
- revision = "2";
- editedCabalFile = "14grn815r54480jqpfib6qi3ivbaw0asa5ys0rp93allsprk96xb";
+ revision = "3";
+ editedCabalFile = "13414sn9rllq842bz0lv8qzdy6fxv72jbhmk64krrxq2xmw7wkhb";
libraryHaskellDepends = [
attoparsec base bytestring cassava sv-core utf8-string validation
vector
@@ -220621,31 +224475,6 @@ self: {
}) {};
"sv-core" = callPackage
- ({ mkDerivation, attoparsec, base, bifunctors, bytestring
- , containers, contravariant, deepseq, lens, mtl, parsec
- , profunctors, QuickCheck, readable, semigroupoids, semigroups
- , tasty, tasty-quickcheck, text, transformers, trifecta
- , utf8-string, validation, vector, void
- }:
- mkDerivation {
- pname = "sv-core";
- version = "0.3.1";
- sha256 = "08j8qin7q04jvrb1gd870cylix7p81f4rws1k31b3azby2mdja6h";
- libraryHaskellDepends = [
- attoparsec base bifunctors bytestring containers contravariant
- deepseq lens mtl parsec profunctors readable semigroupoids
- semigroups text transformers trifecta utf8-string validation vector
- void
- ];
- testHaskellDepends = [
- base bytestring profunctors QuickCheck semigroupoids semigroups
- tasty tasty-quickcheck text validation vector
- ];
- description = "Encode and decode separated values (CSV, PSV, ...)";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "sv-core_0_4_1" = callPackage
({ mkDerivation, attoparsec, base, bifunctors, bytestring
, containers, contravariant, deepseq, double-conversion, lens, mtl
, parsec, profunctors, QuickCheck, readable, semigroupoids
@@ -220670,6 +224499,33 @@ self: {
];
description = "Encode and decode separated values (CSV, PSV, ...)";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "sv-core_0_5" = callPackage
+ ({ mkDerivation, attoparsec, base, bifunctors, bytestring
+ , containers, contravariant, deepseq, double-conversion, lens, mtl
+ , parsec, profunctors, QuickCheck, readable, semigroupoids
+ , semigroups, tasty, tasty-quickcheck, text, transformers, trifecta
+ , utf8-string, validation, vector, void
+ }:
+ mkDerivation {
+ pname = "sv-core";
+ version = "0.5";
+ sha256 = "1x5gmv2pbn3hx1dhpkigivjkbg6n6xy7lc36wmccsw2qqn9r5qxa";
+ revision = "1";
+ editedCabalFile = "1vsd3g5kh50c7vrx9y04crrw6pfs3g74z3sr9s1dbapa9411pif8";
+ libraryHaskellDepends = [
+ attoparsec base bifunctors bytestring containers contravariant
+ deepseq double-conversion lens mtl parsec profunctors readable
+ semigroupoids semigroups text transformers trifecta utf8-string
+ validation vector void
+ ];
+ testHaskellDepends = [
+ base bytestring profunctors QuickCheck semigroupoids semigroups
+ tasty tasty-quickcheck text validation vector
+ ];
+ description = "Encode and decode separated values (CSV, PSV, ...)";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
@@ -220681,8 +224537,8 @@ self: {
pname = "sv-svfactor";
version = "0.2";
sha256 = "1fjgryypq6i4r3w9zdb282aq5lqp4577mzzycafklphc0d2ancgb";
- revision = "1";
- editedCabalFile = "0g0bswas1y06k1yg9lgzwm36pyxd05s3pji3nsiqff6bhfph3d37";
+ revision = "2";
+ editedCabalFile = "1igmg66d7zs8pcia4j7nhr7iivnbanqz34wcpfx967823vc2whpw";
libraryHaskellDepends = [
base bytestring lens profunctors sv-core svfactor validation
];
@@ -220758,8 +224614,8 @@ self: {
}:
mkDerivation {
pname = "svg-tree";
- version = "0.6.2.3";
- sha256 = "0snvv2l7fpj7nl1sxnpxz5h2xpskjxxl0l2c7bqkwhcj7571br99";
+ version = "0.6.2.4";
+ sha256 = "1hhs2w6fmd1m6768p1bfhj6vi4br4ray0g9f1hv8g19pqgip3r2c";
libraryHaskellDepends = [
attoparsec base bytestring containers JuicyPixels lens linear mtl
scientific text transformers vector xml
@@ -220793,13 +224649,12 @@ self: {
}:
mkDerivation {
pname = "svgcairo";
- version = "0.13.1.1";
- sha256 = "0kx5qc2snrpml2figrq1f74fzj81zbibv1x9dp8z2kh8z6n659nd";
+ version = "0.13.2.0";
+ sha256 = "1h3phyq9g7lmw0mf75hlccvixgwffvkfnlyy1g34hwh9i5nj0aqw";
enableSeparateDataOutput = true;
setupHaskellDepends = [ base Cabal gtk2hs-buildtools ];
libraryHaskellDepends = [ base cairo glib mtl text ];
libraryPkgconfigDepends = [ librsvg ];
- libraryToolDepends = [ gtk2hs-buildtools ];
description = "Binding to the libsvg-cairo library";
license = stdenv.lib.licenses.bsd3;
}) {inherit (pkgs) librsvg;};
@@ -220970,10 +224825,8 @@ self: {
}:
mkDerivation {
pname = "swagger2";
- version = "2.3.1.1";
- sha256 = "19fslhjqcnk0da1c8sdflnnxjzbbzqb0nbknpgyd45q0psxr6xs7";
- revision = "1";
- editedCabalFile = "1g6jiadrvglrbf0857nzfbnjxmb3lwqamgs47j3qv9k6kfwilzyk";
+ version = "2.4";
+ sha256 = "0m08l7nz53h6ix6xgzynnh3cf6l61437da9swdbsz8avx0rq2wci";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
aeson base base-compat-batteries bytestring containers cookie
@@ -221125,8 +224978,8 @@ self: {
({ mkDerivation, base, containers, HUnit, mtl }:
mkDerivation {
pname = "syb";
- version = "0.7";
- sha256 = "1da2zz7gqm4xbkx5vpd74dayx1svaxyl145fl14mq15lbb77sxdq";
+ version = "0.7.1";
+ sha256 = "0077vxzyi9ppbphi2ialac3p376k49qly1kskdgf57wdwix9qjp0";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base containers HUnit mtl ];
description = "Scrap Your Boilerplate";
@@ -221149,16 +225002,17 @@ self: {
}) {};
"syb-with-class" = callPackage
- ({ mkDerivation, array, base, bytestring, containers
+ ({ mkDerivation, array, base, bytestring, containers, HUnit
, template-haskell
}:
mkDerivation {
pname = "syb-with-class";
- version = "0.6.1.10";
- sha256 = "0fhkxzcvalaqv554cmjmc56b3h7vxai3k2dd1fsp7ca124ikyzm7";
+ version = "0.6.1.11";
+ sha256 = "0fgmcxhrhcjcv5nmb5irp6mqcwknpk15azzd0qhajwx8mqpw6b8l";
libraryHaskellDepends = [
array base bytestring containers template-haskell
];
+ testHaskellDepends = [ base HUnit ];
description = "Scrap Your Boilerplate With Class";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -221258,33 +225112,30 @@ self: {
}:
mkDerivation {
pname = "symantic";
- version = "6.3.2.20180208";
- sha256 = "1a6ifwhrn35wfx0lf2gbq203rb882p7hl0yji7rwfrvxrp4ax518";
+ version = "6.3.4.20190712";
+ sha256 = "0khx7ddr9cdwyqz22xai8vmjn37c3w9gf4mlzil8lqvdf2cwk6wk";
libraryHaskellDepends = [
base containers mono-traversable symantic-document symantic-grammar
text transformers
];
description = "Library for Typed Tagless-Final Higher-Order Composable DSL";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"symantic-cli" = callPackage
- ({ mkDerivation, base, containers, megaparsec, symantic-document
- , text, transformers
+ ({ mkDerivation, base, bytestring, containers, megaparsec
+ , symantic-document, text, transformers
}:
mkDerivation {
pname = "symantic-cli";
- version = "0.0.0.20180410";
- sha256 = "0025rgjjz198sh6gb8zzy7283pnb6vza3q3d7x5xl27c77mpivpx";
+ version = "2.4.0.20190719";
+ sha256 = "0ca3c309wxby99sy3xa96i04q2r7wxcgk4amy8z86xaz1r78a60d";
libraryHaskellDepends = [
- base containers megaparsec symantic-document text transformers
+ base bytestring containers megaparsec symantic-document text
+ transformers
];
- description = "Library for Command Line Interface (CLI)";
+ description = "Symantics for parsing and documenting a CLI";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"symantic-document" = callPackage
@@ -221293,8 +225144,8 @@ self: {
}:
mkDerivation {
pname = "symantic-document";
- version = "0.1.2.20180831";
- sha256 = "1vlxgn9gdd03azqf2csxjiyqsplg68wv3qr6d08zj5dvqskz27by";
+ version = "1.5.0.20190711";
+ sha256 = "01vza9k4ic6xwgj4jqihcfm5a5q8n6svi1988v851pi40dg8m03s";
libraryHaskellDepends = [ ansi-terminal base text transformers ];
testHaskellDepends = [
base containers tasty tasty-hunit text transformers
@@ -221309,16 +225160,14 @@ self: {
}:
mkDerivation {
pname = "symantic-grammar";
- version = "0.3.1.20180831";
- sha256 = "0n2x5sb5gv9lkhfmq9yfjxfk6q19h71xqbskkg7ar8nglz0jhldp";
+ version = "0.3.3.20190614";
+ sha256 = "1vrf1kmvs7x8lzbnm90kmy114d2yd81fqw6i1j9nys8yq1z40v8a";
libraryHaskellDepends = [ base text ];
testHaskellDepends = [
base megaparsec tasty tasty-hunit text transformers
];
description = "Library for symantic grammars";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"symantic-http" = callPackage
@@ -221456,8 +225305,8 @@ self: {
}:
mkDerivation {
pname = "symantic-lib";
- version = "0.0.4.20180831";
- sha256 = "1agqlz7drckjm8a2swvqiryy7y6kdahq8d24rwkbzn3nw1bnyvk1";
+ version = "0.0.5.20190614";
+ sha256 = "02rzm43h71ivdx8vwbsa8ij5vv7jkf2y78f568lvkwgr1av84hz9";
libraryHaskellDepends = [
base containers mono-traversable symantic symantic-grammar text
transformers
@@ -221469,10 +225318,54 @@ self: {
];
description = "Symantics for common types";
license = stdenv.lib.licenses.gpl3;
+ }) {};
+
+ "symantic-xml" = callPackage
+ ({ mkDerivation, base, bytestring, containers, data-default-class
+ , deepseq, filepath, hashable, hxt-charproperties, megaparsec, safe
+ , tasty, tasty-golden, text, transformers, treeseq
+ , unordered-containers
+ }:
+ mkDerivation {
+ pname = "symantic-xml";
+ version = "1.0.0.20190223";
+ sha256 = "0mqx0ysp9c4zzljjgl0w68k5r8qgv2h35cfq0mqvijcjq5dgiflp";
+ libraryHaskellDepends = [
+ base bytestring containers data-default-class filepath hashable
+ hxt-charproperties megaparsec safe text transformers treeseq
+ unordered-containers
+ ];
+ testHaskellDepends = [
+ base bytestring containers data-default-class deepseq filepath
+ hashable megaparsec tasty tasty-golden text transformers treeseq
+ ];
+ description = "Library for reading, validating and writing a subset of the XML format";
+ license = stdenv.lib.licenses.gpl3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
+ "symbiote" = callPackage
+ ({ mkDerivation, aeson, async, base, bytestring, cereal, containers
+ , monad-control, mtl, QuickCheck, quickcheck-instances, stm, tasty
+ , tasty-hunit, text
+ }:
+ mkDerivation {
+ pname = "symbiote";
+ version = "0.0.0";
+ sha256 = "1p38lblwd8cxbypnqy7f71ab2s7ia00xv6ysy24lh9xaqns43ad4";
+ libraryHaskellDepends = [
+ aeson async base bytestring cereal containers monad-control mtl
+ QuickCheck stm text
+ ];
+ testHaskellDepends = [
+ aeson async base bytestring cereal containers monad-control mtl
+ QuickCheck quickcheck-instances stm tasty tasty-hunit text
+ ];
+ description = "Data serialization, communication, and operation verification implementation";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"symbol" = callPackage
({ mkDerivation, base, containers, deepseq }:
mkDerivation {
@@ -221486,12 +225379,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "symbolic-link" = callPackage
+ ({ mkDerivation, base, directory, tasty, tasty-hunit, unix }:
+ mkDerivation {
+ pname = "symbolic-link";
+ version = "0.1.1.1";
+ sha256 = "1g5w67kviqzz5q9xpln6nh8g86yh1v2wmgmgjmn5ai1qj4x80rf8";
+ libraryHaskellDepends = [ base directory unix ];
+ testHaskellDepends = [ base tasty tasty-hunit unix ];
+ description = "Symlink functions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"symbols" = callPackage
({ mkDerivation, base }:
mkDerivation {
pname = "symbols";
- version = "0.2.0.1";
- sha256 = "00c28qy0g011acgf98981x7pw3d58dcsmb8iqfna5f6qmcya6393";
+ version = "0.3.0.0";
+ sha256 = "19hlvyq5s4lvqi8n4qwxy4fgi33y72n8h4lw5bbb35sbq9jlw69c";
libraryHaskellDepends = [ base ];
description = "Symbol manipulation";
license = stdenv.lib.licenses.bsd3;
@@ -222015,21 +225920,21 @@ self: {
"synthesizer-llvm" = callPackage
({ mkDerivation, base, containers, event-list, llvm-extra, llvm-tf
, midi, non-empty, non-negative, numeric-prelude, pathtype
- , QuickCheck, random, sox, storable-record, storable-tuple
- , storablevector, synthesizer-core, synthesizer-midi, tfp
- , transformers, unsafe, utility-ht, vault
+ , QuickCheck, random, semigroups, sox, storable-record
+ , storable-tuple, storablevector, synthesizer-core
+ , synthesizer-midi, tfp, transformers, unsafe, utility-ht, vault
}:
mkDerivation {
pname = "synthesizer-llvm";
- version = "0.8.1.2";
- sha256 = "1rklmaibicc4fwcz22cw6vp5qm74b5vn5ymflwk4gi3knsn7mzi9";
+ version = "0.8.2";
+ sha256 = "0vf0p1ajs7k327cc1dwm6ja2qyby865g1bqc6mzrjn826dv2vric";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
base containers event-list llvm-extra llvm-tf midi non-empty
- non-negative numeric-prelude pathtype random sox storable-record
- storable-tuple storablevector synthesizer-core synthesizer-midi tfp
- transformers unsafe utility-ht vault
+ non-negative numeric-prelude pathtype random semigroups sox
+ storable-record storable-tuple storablevector synthesizer-core
+ synthesizer-midi tfp transformers unsafe utility-ht vault
];
testHaskellDepends = [
base llvm-extra llvm-tf numeric-prelude QuickCheck random
@@ -222435,8 +226340,8 @@ self: {
({ mkDerivation, base, bytestring, network, transformers, unix }:
mkDerivation {
pname = "systemd";
- version = "1.1.2";
- sha256 = "11wjsfnnsfgrffsxy9s5yqlzb7zxlrjg92mhanq66jvbnqh1jijr";
+ version = "1.2.0";
+ sha256 = "04jzgixwy267bx75byi1pavfgic2h3znn42psb70i6l6xvwn875g";
libraryHaskellDepends = [
base bytestring network transformers unix
];
@@ -222445,12 +226350,12 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "systemd_1_2_0" = callPackage
+ "systemd_2_1_0" = callPackage
({ mkDerivation, base, bytestring, network, transformers, unix }:
mkDerivation {
pname = "systemd";
- version = "1.2.0";
- sha256 = "04jzgixwy267bx75byi1pavfgic2h3znn42psb70i6l6xvwn875g";
+ version = "2.1.0";
+ sha256 = "1m6z5f3zaxxn9jcbd02b16rzgbifzwlwvpbw8v16qh5q8sy074dc";
libraryHaskellDepends = [
base bytestring network transformers unix
];
@@ -222779,40 +226684,44 @@ self: {
}) {};
"taffybar" = callPackage
- ({ mkDerivation, base, bytestring, ConfigFile, containers, dbus
- , dbus-hslogger, directory, dyre, either, enclosed-exceptions
- , filepath, gi-cairo, gi-cairo-connector, gi-cairo-render, gi-gdk
- , gi-gdkpixbuf, gi-gdkx11, gi-glib, gi-gtk, gi-gtk-hs, gi-pango
- , gtk-sni-tray, gtk-strut, gtk3, haskell-gi, haskell-gi-base
- , hslogger, HStringTemplate, http-client, http-client-tls
- , http-types, multimap, network, network-uri, old-locale
- , optparse-applicative, parsec, process, rate-limit, regex-compat
- , safe, scotty, split, status-notifier-item, stm, template-haskell
- , text, time, time-locale-compat, time-units, transformers
- , transformers-base, tuple, unix, utf8-string, X11, xdg-basedir
- , xml, xml-helpers, xmonad
+ ({ mkDerivation, ansi-terminal, base, broadcast-chan, bytestring
+ , ConfigFile, containers, dbus, dbus-hslogger, directory, dyre
+ , either, enclosed-exceptions, filepath, gi-cairo
+ , gi-cairo-connector, gi-cairo-render, gi-gdk, gi-gdkpixbuf
+ , gi-gdkx11, gi-glib, gi-gtk, gi-gtk-hs, gi-pango, gtk-sni-tray
+ , gtk-strut, gtk3, haskell-gi, haskell-gi-base, hslogger
+ , HStringTemplate, http-client, http-client-tls, http-types
+ , multimap, network, network-uri, old-locale, optparse-applicative
+ , parsec, process, rate-limit, regex-compat, safe, scotty, split
+ , status-notifier-item, stm, template-haskell, text, time
+ , time-locale-compat, time-units, transformers, transformers-base
+ , tuple, unix, utf8-string, X11, xdg-basedir, xml, xml-helpers
+ , xmonad
}:
mkDerivation {
pname = "taffybar";
- version = "3.1.2";
- sha256 = "11k34kcxh2v8k7pr2nm1kib097n4l3klza6q8w9qp2dm31iww8y1";
+ version = "3.2.1";
+ sha256 = "1bha6b8p46pr6hw9iawbffdg8lf6cmv1ryw96r2qn1jfikl6h39v";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- base bytestring ConfigFile containers dbus dbus-hslogger directory
- dyre either enclosed-exceptions filepath gi-cairo
- gi-cairo-connector gi-cairo-render gi-gdk gi-gdkpixbuf gi-gdkx11
- gi-glib gi-gtk gi-gtk-hs gi-pango gtk-sni-tray gtk-strut haskell-gi
- haskell-gi-base hslogger HStringTemplate http-client
- http-client-tls http-types multimap network network-uri old-locale
- parsec process rate-limit regex-compat safe scotty split
- status-notifier-item stm template-haskell text time
- time-locale-compat time-units transformers transformers-base tuple
- unix utf8-string X11 xdg-basedir xml xml-helpers xmonad
+ ansi-terminal base broadcast-chan bytestring ConfigFile containers
+ dbus dbus-hslogger directory dyre either enclosed-exceptions
+ filepath gi-cairo gi-cairo-connector gi-cairo-render gi-gdk
+ gi-gdkpixbuf gi-gdkx11 gi-glib gi-gtk gi-gtk-hs gi-pango
+ gtk-sni-tray gtk-strut haskell-gi haskell-gi-base hslogger
+ HStringTemplate http-client http-client-tls http-types multimap
+ network network-uri old-locale parsec process rate-limit
+ regex-compat safe scotty split status-notifier-item stm
+ template-haskell text time time-locale-compat time-units
+ transformers transformers-base tuple unix utf8-string X11
+ xdg-basedir xml xml-helpers xmonad
];
libraryPkgconfigDepends = [ gtk3 ];
- executableHaskellDepends = [ base hslogger optparse-applicative ];
+ executableHaskellDepends = [
+ base directory hslogger optparse-applicative
+ ];
executablePkgconfigDepends = [ gtk3 ];
description = "A desktop bar similar to xmobar, but with more GUI";
license = stdenv.lib.licenses.bsd3;
@@ -222920,8 +226829,8 @@ self: {
({ mkDerivation, base, mtl, transformers }:
mkDerivation {
pname = "tagged-identity";
- version = "0.1.2";
- sha256 = "0402snxl1cpi7yq03aqkp036hjcrrqiy0if3c3bz6ljls7yxfvci";
+ version = "0.1.3";
+ sha256 = "1n5jafvcck6mq14fb1wrgclkrkxz4vd1x09y028awz66makn5v1c";
libraryHaskellDepends = [ base mtl transformers ];
description = "Trivial monad transformer that allows identical monad stacks have different types";
license = stdenv.lib.licenses.bsd3;
@@ -223167,6 +227076,25 @@ self: {
broken = true;
}) {};
+ "tagsoup-navigate" = callPackage
+ ({ mkDerivation, base, deriving-compat, lens, mmorph, mtl
+ , semigroupoids, semigroups, tagsoup, tagsoup-selection
+ , transformers
+ }:
+ mkDerivation {
+ pname = "tagsoup-navigate";
+ version = "0.1.0.2";
+ sha256 = "16n0s9vpwrnbknm9yfsh3qv2j3k1h579fwfqjbr1kzjn40729348";
+ libraryHaskellDepends = [
+ base deriving-compat lens mmorph mtl semigroupoids semigroups
+ tagsoup tagsoup-selection transformers
+ ];
+ description = "Tagsoup Navigate";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"tagsoup-parsec" = callPackage
({ mkDerivation, base, parsec, tagsoup }:
mkDerivation {
@@ -223221,13 +227149,13 @@ self: {
pname = "tai";
version = "0";
sha256 = "1kp7m9mhawi2fbdsir4kg9z6hbmlw4kmp3kjvlk4qkhvckgl3pxw";
+ revision = "1";
+ editedCabalFile = "0m95bx120pjigxncbdb28y3cv4d6x05vgpjgny86vk0lkslk130y";
libraryHaskellDepends = [
base clock lens mtl parsers time trifecta wreq
];
description = "Support library to enable TAI usage on systems with time kept in UTC";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tai64" = callPackage
@@ -223525,10 +227453,8 @@ self: {
}:
mkDerivation {
pname = "tar";
- version = "0.5.1.0";
- sha256 = "0s2brvaxg5fki2jdkccmnpssiy6a3wjh24p6a3dkkdvjcixnk7f8";
- revision = "1";
- editedCabalFile = "1lydbwsmccf2av0g61j07bx7r5mzbcfgwvmh0qwg3a91857x264x";
+ version = "0.5.1.1";
+ sha256 = "1ppim7cgmn7ng8zbdrwkxhhizc30h15h1c9cdlzamc5jcagl915k";
libraryHaskellDepends = [
array base bytestring containers deepseq directory filepath time
];
@@ -223631,6 +227557,8 @@ self: {
pname = "tart";
version = "0.1.2";
sha256 = "1ik86xbai9513gr9k60m55xf5pj5bdw3wbjc0gd260j9k9j4p73k";
+ revision = "1";
+ editedCabalFile = "04xkrc0xfbx2kk6f8b41zf611s4k848ahczbbs85pd9lqqpkbhzj";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -223714,8 +227642,8 @@ self: {
}:
mkDerivation {
pname = "taskell";
- version = "1.4.0.0";
- sha256 = "1l0q1wyhkh271rpd6qw12j1kkzdqqcvp2xvqwykn98jwmnhswm4m";
+ version = "1.5.0.0";
+ sha256 = "0v66297i3d36r0k2jpp1cl3g3wj83k3s2dq5n50cm7zrrg0mc7sq";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -223761,8 +227689,8 @@ self: {
}:
mkDerivation {
pname = "tasty";
- version = "1.2";
- sha256 = "05w3bl5kah238pds818sxp9x58rp1nszbiicb1l21hf9k83mw66n";
+ version = "1.2.3";
+ sha256 = "0qpn0avpw4w1qq5r2gwh2piipj0llqq6ylagr3xnqiraq6mhg8cc";
libraryHaskellDepends = [
ansi-terminal async base clock containers mtl optparse-applicative
stm tagged unbounded-delays unix wcwidth
@@ -223771,24 +227699,6 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
- "tasty_1_2_2" = callPackage
- ({ mkDerivation, ansi-terminal, async, base, clock, containers, mtl
- , optparse-applicative, stm, tagged, unbounded-delays, unix
- , wcwidth
- }:
- mkDerivation {
- pname = "tasty";
- version = "1.2.2";
- sha256 = "0jng1smav3cyam5k3a5wswgqdirlvrkwdmjyc2d9jvx1i8549mih";
- libraryHaskellDepends = [
- ansi-terminal async base clock containers mtl optparse-applicative
- stm tagged unbounded-delays unix wcwidth
- ];
- description = "Modern and extensible testing framework";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- }) {};
-
"tasty-ant-xml" = callPackage
({ mkDerivation, base, containers, directory, filepath
, generic-deriving, ghc-prim, mtl, stm, tagged, tasty, transformers
@@ -223829,17 +227739,6 @@ self: {
}) {};
"tasty-dejafu" = callPackage
- ({ mkDerivation, base, dejafu, random, tagged, tasty }:
- mkDerivation {
- pname = "tasty-dejafu";
- version = "1.2.1.0";
- sha256 = "0a0iqc9vnrj4a44h77larcprydipwxy9qkh3zb6zk9mpn9fas498";
- libraryHaskellDepends = [ base dejafu random tagged tasty ];
- description = "Deja Fu support for the Tasty test framework";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "tasty-dejafu_2_0_0_1" = callPackage
({ mkDerivation, base, dejafu, random, tagged, tasty }:
mkDerivation {
pname = "tasty-dejafu";
@@ -223848,7 +227747,6 @@ self: {
libraryHaskellDepends = [ base dejafu random tagged tasty ];
description = "Deja Fu support for the Tasty test framework";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"tasty-discover" = callPackage
@@ -223881,10 +227779,8 @@ self: {
({ mkDerivation, base, tagged, tasty }:
mkDerivation {
pname = "tasty-expected-failure";
- version = "0.11.1.1";
- sha256 = "1i2s809m644b7hgiblqay9j364r3fjj1rwbrahsn1pgr5q6mr6ji";
- revision = "1";
- editedCabalFile = "1b3fn7d3zwhhwm3gp8cmmsdcrvn9dhshd665xrx1mk6cmy4m8k16";
+ version = "0.11.1.2";
+ sha256 = "175gdk1mkslcwjxajkbl4zmaigzf8h4svzd7va5qb519y0dxk28n";
libraryHaskellDepends = [ base tagged tasty ];
description = "Mark tasty tests as failure expected";
license = stdenv.lib.licenses.mit;
@@ -224025,17 +227921,6 @@ self: {
}) {};
"tasty-hunit" = callPackage
- ({ mkDerivation, base, call-stack, tasty }:
- mkDerivation {
- pname = "tasty-hunit";
- version = "0.10.0.1";
- sha256 = "0j3hgga6c3s8h5snzivb8a75h96207ia2rlbxzj07xbf4zpkp44g";
- libraryHaskellDepends = [ base call-stack tasty ];
- description = "HUnit support for the Tasty test framework";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "tasty-hunit_0_10_0_2" = callPackage
({ mkDerivation, base, call-stack, tasty }:
mkDerivation {
pname = "tasty-hunit";
@@ -224044,7 +227929,6 @@ self: {
libraryHaskellDepends = [ base call-stack tasty ];
description = "HUnit support for the Tasty test framework";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"tasty-hunit-adapter" = callPackage
@@ -224182,8 +228066,8 @@ self: {
}:
mkDerivation {
pname = "tasty-lua";
- version = "0.2.0";
- sha256 = "0adiz7g9lri81rlnwshwswmp0ajfs4y4im37rc04krz8qr26s4v7";
+ version = "0.2.0.1";
+ sha256 = "0xlj36rrhkx312h7smx6ay20rhlhxvw2ma2ckdnzv1pvmdn6p5qx";
libraryHaskellDepends = [
base bytestring file-embed hslua tasty text
];
@@ -224192,8 +228076,6 @@ self: {
];
description = "Write tests in Lua, integrate into tasty";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tasty-program" = callPackage
@@ -224218,6 +228100,8 @@ self: {
pname = "tasty-quickcheck";
version = "0.10.1";
sha256 = "0k4vvd5vmrncv1s6gdf03l4xijwlk428sb9jfx8n1zaz02971msh";
+ revision = "1";
+ editedCabalFile = "1ms8ph2vp8x1icqiw468zlpsj4pii7xjm6g3k6ikkcy7cx3vnv4s";
libraryHaskellDepends = [
base optparse-applicative QuickCheck random tagged tasty
];
@@ -224239,8 +228123,6 @@ self: {
testHaskellDepends = [ base QuickCheck tasty ];
description = "Pre-built tasty trees for checking lawful class properties using QuickCheck";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tasty-rerun" = callPackage
@@ -224267,8 +228149,8 @@ self: {
}:
mkDerivation {
pname = "tasty-silver";
- version = "3.1.12";
- sha256 = "0s6cz0z8xmhc3gqyb68lkx0j94kagbdgc5gagknmfj6an2i33fly";
+ version = "3.1.13";
+ sha256 = "1sd9xgjcvlnw338dn5rcy5la7gw15yvg4xl85ym7aav5fr97apfs";
libraryHaskellDepends = [
ansi-terminal async base bytestring containers deepseq directory
filepath mtl optparse-applicative process process-extras regex-tdfa
@@ -224355,18 +228237,34 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "tasty-tmux" = callPackage
+ ({ mkDerivation, base, bytestring, mtl, regex-posix, tasty
+ , tasty-hunit, text, typed-process
+ }:
+ mkDerivation {
+ pname = "tasty-tmux";
+ version = "0.1.0.0";
+ sha256 = "1k7xc2fvfjrv48hml1jlhjrdrnb9sjaar7xrbwbj1275s09b51h8";
+ libraryHaskellDepends = [
+ base bytestring mtl regex-posix tasty tasty-hunit text
+ typed-process
+ ];
+ description = "Terminal user acceptance testing (UAT) via tmux";
+ license = stdenv.lib.licenses.agpl3;
+ }) {};
+
"tasty-travis" = callPackage
({ mkDerivation, base, tasty, tasty-hunit }:
mkDerivation {
pname = "tasty-travis";
version = "0.2.0.2";
sha256 = "0g1qwmr11rgpvm964367mskgrjzbi34lbxzf9c0knx5ij9565gfg";
+ revision = "2";
+ editedCabalFile = "0m8h9r1cv38sva9k5aws1l4py4xzzmlfwik2avhm8avdr0hl71dk";
libraryHaskellDepends = [ base tasty ];
testHaskellDepends = [ base tasty tasty-hunit ];
description = "Fancy Travis CI output for tasty tests";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tasty-wai" = callPackage
@@ -224377,6 +228275,8 @@ self: {
pname = "tasty-wai";
version = "0.1.1.0";
sha256 = "1ix1ksibdkqrycrcnyi6vablp17kg3ajw5kghff1ia7wd2nb9fbk";
+ revision = "1";
+ editedCabalFile = "1zwfdad5kp3l1lysz9x5hxwp0yphsdbhgbp33yczw8c8sai3l7xb";
libraryHaskellDepends = [
base bytestring http-types tasty wai wai-extra
];
@@ -224621,8 +228521,8 @@ self: {
pname = "tdigest";
version = "0.2.1";
sha256 = "0kmqmzjcs406hv2fv9bkfayxpsd41dbry8bpkhy4y1jdgh33hvnl";
- revision = "1";
- editedCabalFile = "1jrq22j9jbvx31pspwjvyb539gix7vfb8cinqkkb2abmr0jrhibn";
+ revision = "4";
+ editedCabalFile = "0830zzgbf5xffa1yqwcvy4xm1wzzydvy5wmy3sqk3a5n85v295by";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
base base-compat binary deepseq reducers semigroupoids transformers
@@ -224644,6 +228544,8 @@ self: {
pname = "tdigest-Chart";
version = "0.2";
sha256 = "1ciq7d187as9sk1dpccm2s02b6jdhij1l477wff0a7labgw21l0l";
+ revision = "1";
+ editedCabalFile = "1095k2sgyjd5m38j1qxa1df9izzdpjl80lrsmwhjm1jw4lmk8cys";
libraryHaskellDepends = [
base base-compat Chart colour lens semigroupoids tdigest
];
@@ -224653,8 +228555,6 @@ self: {
];
description = "Chart generation from tdigest";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tdoc" = callPackage
@@ -224955,12 +228855,12 @@ self: {
broken = true;
}) {};
- "template-haskell_2_14_0_0" = callPackage
+ "template-haskell_2_15_0_0" = callPackage
({ mkDerivation, base, ghc-boot-th, pretty }:
mkDerivation {
pname = "template-haskell";
- version = "2.14.0.0";
- sha256 = "1y8l2g95mhd2j09bq05q2rj6rn2ni86yhf4kgha3y5qig7j8lyy9";
+ version = "2.15.0.0";
+ sha256 = "16p8szb5by7gyk5r5cnrdp3b613vp5wasqj8dz63my17l2lsp2wl";
libraryHaskellDepends = [ base ghc-boot-th pretty ];
description = "Support library for Template Haskell";
license = stdenv.lib.licenses.bsd3;
@@ -225341,8 +229241,8 @@ self: {
}:
mkDerivation {
pname = "tensorflow";
- version = "0.2.0.0";
- sha256 = "0qlz4fxq2dv5l8krmi8q2g61ng1lhxjyzmv3bcxnc1nz4a1438dl";
+ version = "0.2.0.1";
+ sha256 = "16qwr72yyan6gvcx771p7dhp8d7m47j3l8q4dq86ljjzi2c9pswi";
libraryHaskellDepends = [
async attoparsec base bytestring containers data-default exceptions
fgl lens-family mainland-pretty mtl proto-lens semigroups split
@@ -225368,8 +229268,8 @@ self: {
}:
mkDerivation {
pname = "tensorflow-core-ops";
- version = "0.2.0.0";
- sha256 = "0ii5n2fxx6frkk6cscbn2fywx9yc914n6y9dp84rr4v3vr08ixf0";
+ version = "0.2.0.1";
+ sha256 = "1hdifal9bapc747c2w7bw2ai68sw0frhx4kvrjh0g8a19fqq95sa";
setupHaskellDepends = [
base bytestring Cabal directory filepath mainland-pretty proto-lens
tensorflow tensorflow-opgen text
@@ -225393,8 +229293,8 @@ self: {
}:
mkDerivation {
pname = "tensorflow-logging";
- version = "0.2.0.0";
- sha256 = "083jv105cx1kqc9krjp75ja8zhy860q7667l8z6fl5l9w5ilqnfs";
+ version = "0.2.0.1";
+ sha256 = "14gj6ykfrnqhzi12k3l3pvaa892bakxx3hhml117vfzgcz736gcr";
libraryHaskellDepends = [
base bytestring conduit data-default directory exceptions filepath
hostname lens-family proto-lens resourcet stm stm-chans stm-conduit
@@ -225455,8 +229355,8 @@ self: {
}:
mkDerivation {
pname = "tensorflow-opgen";
- version = "0.2.0.0";
- sha256 = "16d4bgc665synpwcapzffd1kqzvpwvfs97k0fwkxda0lzziy87xq";
+ version = "0.2.0.1";
+ sha256 = "0hlzw5l3a42q9ls8xmi9d9nybspizf1acl7ga4rzs4mw3qyadf2k";
libraryHaskellDepends = [
base bytestring containers filepath lens-family mainland-pretty
optparse-applicative proto-lens semigroups tensorflow-proto text
@@ -225477,8 +229377,8 @@ self: {
}:
mkDerivation {
pname = "tensorflow-ops";
- version = "0.2.0.0";
- sha256 = "12x37bh8172xkgnp5ahr87ykad8gbsnb4amchpjcwxap33n9h19c";
+ version = "0.2.0.1";
+ sha256 = "1v89yi2cm39aybhz4lvy2fqgpdslb1d0adxk9516f0xqz3k23ks6";
libraryHaskellDepends = [
base bytestring containers data-default fgl lens-family mtl
proto-lens tensorflow tensorflow-core-ops tensorflow-proto text
@@ -225500,15 +229400,15 @@ self: {
"tensorflow-proto" = callPackage
({ mkDerivation, base, Cabal, proto-lens, proto-lens-protobuf-types
- , proto-lens-protoc, protobuf
+ , proto-lens-runtime, proto-lens-setup, protobuf
}:
mkDerivation {
pname = "tensorflow-proto";
- version = "0.2.0.0";
- sha256 = "0s3gkis2m3ciia83ziz7rca61czzj77racmcb8si9jxxgw3rxhkc";
- setupHaskellDepends = [ base Cabal proto-lens-protoc ];
+ version = "0.2.0.1";
+ sha256 = "1gc4gwfsy0b6ns79zmxyd0pg3g00jnfynmrnkp81cq3a170z7558";
+ setupHaskellDepends = [ base Cabal proto-lens-setup ];
libraryHaskellDepends = [
- base proto-lens proto-lens-protobuf-types proto-lens-protoc
+ base proto-lens proto-lens-protobuf-types proto-lens-runtime
];
libraryToolDepends = [ protobuf ];
description = "TensorFlow protocol buffers";
@@ -225583,8 +229483,8 @@ self: {
}:
mkDerivation {
pname = "term-rewriting";
- version = "0.4.0.1";
- sha256 = "14mgpwhpfa0w5xgwsqa5nklagw6scs51cjwin7d34gx8bkvw9m13";
+ version = "0.4.0.2";
+ sha256 = "0k0aylm6vzcqghp5zw461p68zgzjzr6k4ki7d00zl471lmbdbs8n";
libraryHaskellDepends = [
ansi-wl-pprint array base containers mtl multiset parsec
union-find-array
@@ -225598,10 +229498,8 @@ self: {
({ mkDerivation, array, base, c2hs }:
mkDerivation {
pname = "termbox";
- version = "0.1.0";
- sha256 = "1wylp818y65rwdrzmh596sn8csiwjma6gh6wm4fn9m9zb1nvzbsa";
- revision = "1";
- editedCabalFile = "0qwab9ayd9b8gmcnvy6pbbp16vwnqdzji9qi71jmgvviayqdlly5";
+ version = "0.2.0";
+ sha256 = "04y1wj65c6nhv08jd83ihvph45fs5279px4ivm5cinnz5m721jqg";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ array base ];
@@ -225615,13 +229513,15 @@ self: {
({ mkDerivation, base, reactive-banana, termbox }:
mkDerivation {
pname = "termbox-banana";
- version = "0.1.1";
- sha256 = "0584n8fq3rdq4rw20sglqwm76w8qmg8akhrkvda8scrvmgi5xbck";
+ version = "0.2.0";
+ sha256 = "1n4775ahmm4h1vn1michsqp5l2j62py5wddnvcipb8225dcq8xsi";
+ revision = "1";
+ editedCabalFile = "123hndfs6x2ljwfh7izpikyv5v2d9hq122ddkk5nncnpbnb4bba5";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [ base reactive-banana termbox ];
description = "reactive-banana + termbox";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"termbox-bindings" = callPackage
@@ -225681,16 +229581,14 @@ self: {
}:
mkDerivation {
pname = "terminal-progress-bar";
- version = "0.4.0.1";
- sha256 = "0xz2kbjh83hcxxx6iaijckddfqawjziiwhqyapwq77fdrc7p5af5";
- revision = "1";
- editedCabalFile = "08wp7ac11qq1zbq0axb4xvzz6grl1jgg54sgq7i9dx3c1a7035zg";
+ version = "0.4.1";
+ sha256 = "092yx9hal3xxcvpjwyqbfqww277l4gf83272pcnp3k6aj86a2756";
libraryHaskellDepends = [ base deepseq terminal-size text time ];
testHaskellDepends = [
base HUnit test-framework test-framework-hunit text time
];
benchmarkHaskellDepends = [ base criterion time ];
- description = "A simple progress bar in the terminal";
+ description = "A progress bar in the terminal";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -225790,14 +229688,15 @@ self: {
, directory, distributive, doctest, dyre, filepath, focuslist
, genvalidity-containers, genvalidity-hspec, gi-gdk, gi-gio
, gi-glib, gi-gtk, gi-pango, gi-vte, gtk3, haskell-gi-base
- , hedgehog, lens, mono-traversable, pretty-simple, QuickCheck
- , singletons, tasty, tasty-hedgehog, tasty-hspec, template-haskell
- , vte_291, xml-conduit, xml-html-qq
+ , hedgehog, inline-c, lens, libpcre2, mono-traversable
+ , pretty-simple, QuickCheck, singletons, tasty, tasty-hedgehog
+ , tasty-hspec, template-haskell, text, vte_291, xml-conduit
+ , xml-html-qq
}:
mkDerivation {
pname = "termonad";
- version = "1.1.0.0";
- sha256 = "1xji47lpw560lj0lx79vab5bxcf96zgzsdjg0iyb02rsvjcsl5h4";
+ version = "2.0.0.0";
+ sha256 = "0rprqn5vcvhbqqg0grrmz0ijjpkrprza88la4mbdg6skb34fjsp0";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -225805,11 +229704,11 @@ self: {
libraryHaskellDepends = [
adjunctions base classy-prelude colour constraints containers
data-default directory distributive dyre filepath focuslist gi-gdk
- gi-gio gi-glib gi-gtk gi-pango gi-vte haskell-gi-base lens
- mono-traversable pretty-simple QuickCheck singletons xml-conduit
- xml-html-qq
+ gi-gio gi-glib gi-gtk gi-pango gi-vte haskell-gi-base inline-c lens
+ mono-traversable pretty-simple QuickCheck singletons text
+ xml-conduit xml-html-qq
];
- libraryPkgconfigDepends = [ gtk3 vte_291 ];
+ libraryPkgconfigDepends = [ gtk3 libpcre2 vte_291 ];
executableHaskellDepends = [ base ];
testHaskellDepends = [
base doctest genvalidity-containers genvalidity-hspec hedgehog lens
@@ -225817,9 +229716,7 @@ self: {
];
description = "Terminal emulator configurable in Haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {inherit (pkgs) gtk3; vte_291 = pkgs.vte;};
+ }) {inherit (pkgs) gtk3; libpcre2 = null; vte_291 = pkgs.vte;};
"termplot" = callPackage
({ mkDerivation, base, brick, data-default, optparse-applicative
@@ -225928,8 +229825,8 @@ self: {
pname = "test-framework";
version = "0.8.2.0";
sha256 = "1hhacrzam6b8f10hyldmjw8pb7frdxh04rfg3farxcxwbnhwgbpm";
- revision = "2";
- editedCabalFile = "1kmv576j1zbms6p3vffripvas87ca3ypdb42h7pqkxsxxfi1gb8j";
+ revision = "4";
+ editedCabalFile = "1g1z9h55ii55b44gzgrjgi1lpk85yfi4yhrynvfy0199ywpckpd5";
libraryHaskellDepends = [
ansi-terminal ansi-wl-pprint base containers hostname old-locale
random regex-posix time xml
@@ -226594,25 +230491,24 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
- "text_1_2_3_1" = callPackage
+ "text_1_2_4_0" = callPackage
({ mkDerivation, array, base, binary, bytestring, deepseq
, directory, ghc-prim, HUnit, integer-gmp, QuickCheck
- , quickcheck-unicode, random, test-framework, test-framework-hunit
- , test-framework-quickcheck2
+ , quickcheck-unicode, random, template-haskell, test-framework
+ , test-framework-hunit, test-framework-quickcheck2
}:
mkDerivation {
pname = "text";
- version = "1.2.3.1";
- sha256 = "19j725g8xma1811avl3nz2vndwynsmpx3sqf6bd7iwh1bm6n4q43";
- revision = "2";
- editedCabalFile = "0ax6h9mvs4567nzi936jkd8f94bi8jnxis4wikjzyaxqfwm5zc6f";
+ version = "1.2.4.0";
+ sha256 = "0k739i0sjrbl029y5j8n5v1hqa68z00xazvrahjhyl69mp4s5qna";
libraryHaskellDepends = [
array base binary bytestring deepseq ghc-prim integer-gmp
+ template-haskell
];
testHaskellDepends = [
array base binary bytestring deepseq directory ghc-prim HUnit
- integer-gmp QuickCheck quickcheck-unicode random test-framework
- test-framework-hunit test-framework-quickcheck2
+ integer-gmp QuickCheck quickcheck-unicode random template-haskell
+ test-framework test-framework-hunit test-framework-quickcheck2
];
doCheck = false;
description = "An efficient packed Unicode text type";
@@ -226746,8 +230642,8 @@ self: {
}:
mkDerivation {
pname = "text-cp437";
- version = "0.2.1";
- sha256 = "1fzsb341yr1jiv9wflr35ra1z1cd41wmyp0y5dv2p0fq10kxcfgs";
+ version = "0.2.2";
+ sha256 = "1lv1nhkrwdrs3ji7x2qv1r33dipgchr1fl2znmmkhxksbhlwi0x9";
libraryHaskellDepends = [ base bytestring text ];
testHaskellDepends = [
base bytestring QuickCheck quickcheck-text text
@@ -227119,8 +231015,8 @@ self: {
}:
mkDerivation {
pname = "text-printer";
- version = "0.5";
- sha256 = "02sadjd19dbxzawr1q8z3j7w6vhp5mvz1dbssk118hsvl6k0234g";
+ version = "0.5.0.1";
+ sha256 = "065m64f5l4yyccb04c7bwax09wk6aafm2v9sl3w8w1asqw7ni9sq";
libraryHaskellDepends = [
base bytestring pretty semigroups text text-latin1
];
@@ -227204,6 +231100,8 @@ self: {
testHaskellDepends = [ base hedgehog neat-interpolation text ];
description = "Simple text replacements from a list of search/replace pairs";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"text-short" = callPackage
@@ -227213,10 +231111,10 @@ self: {
}:
mkDerivation {
pname = "text-short";
- version = "0.1.2";
- sha256 = "0rqiwgjkgyfy8596swl0s0x2jqk6ddh2h02qxa32az2cs5kviwmk";
- revision = "2";
- editedCabalFile = "106p7c0399zxdlh9f9qkgy7g2gp3bxqdpy6m6lnfhzi0pm5y8mks";
+ version = "0.1.3";
+ sha256 = "0xyrxlb602z8bc9sr2y1fag0x56a20yj5qrkvy7iwc6hnznrynxz";
+ revision = "1";
+ editedCabalFile = "0lb4papn54fbgjdqj4ladaf5q12dhlwkg5z2vc5qxlh35x82sw4a";
libraryHaskellDepends = [
base binary bytestring deepseq ghc-prim hashable text
];
@@ -227229,40 +231127,6 @@ self: {
}) {};
"text-show" = callPackage
- ({ mkDerivation, array, base, base-compat-batteries, base-orphans
- , bifunctors, bytestring, bytestring-builder, containers
- , contravariant, criterion, deepseq, deriving-compat
- , generic-deriving, ghc-boot-th, ghc-prim, hspec, hspec-discover
- , integer-gmp, nats, QuickCheck, quickcheck-instances, semigroups
- , tagged, template-haskell, text, th-abstraction, th-lift
- , transformers, transformers-compat, void
- }:
- mkDerivation {
- pname = "text-show";
- version = "3.7.5";
- sha256 = "1by89i3c6qyjh7jjld06wb2sphb236rbvwb1mmvq8f6mxliiyf1r";
- revision = "1";
- editedCabalFile = "1v8czpi9mn54850k0pilqh1f3yfr5n5vykmg5k57wmrdpx25vkws";
- libraryHaskellDepends = [
- array base base-compat-batteries bifunctors bytestring
- bytestring-builder containers contravariant generic-deriving
- ghc-boot-th ghc-prim integer-gmp nats semigroups tagged
- template-haskell text th-abstraction th-lift transformers
- transformers-compat void
- ];
- testHaskellDepends = [
- array base base-compat-batteries base-orphans bytestring
- bytestring-builder deriving-compat generic-deriving ghc-prim hspec
- nats QuickCheck quickcheck-instances semigroups tagged
- template-haskell text transformers transformers-compat
- ];
- testToolDepends = [ hspec-discover ];
- benchmarkHaskellDepends = [ base criterion deepseq ghc-prim text ];
- description = "Efficient conversion of values into Text";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "text-show_3_8_2" = callPackage
({ mkDerivation, array, base, base-compat-batteries, base-orphans
, bifunctors, bytestring, bytestring-builder, containers
, contravariant, criterion, deepseq, deriving-compat
@@ -227275,6 +231139,8 @@ self: {
pname = "text-show";
version = "3.8.2";
sha256 = "0n46q5gjlxz3g4flj5mn8s78dpdfd65fjl7b5174pykanwqsqqwz";
+ revision = "1";
+ editedCabalFile = "0fdlba9rmjk7irf376rglyyi9rbz49mhm5zyx112ah8nqgh50myi";
libraryHaskellDepends = [
array base base-compat-batteries bifunctors bytestring
bytestring-builder containers contravariant generic-deriving
@@ -227292,7 +231158,6 @@ self: {
benchmarkHaskellDepends = [ base criterion deepseq ghc-prim text ];
description = "Efficient conversion of values into Text";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"text-show-instances" = callPackage
@@ -227306,8 +231171,8 @@ self: {
}:
mkDerivation {
pname = "text-show-instances";
- version = "3.8";
- sha256 = "0n1bsvjnza6iyngsjavr7kh28hy78p7qf79plkjkb7xjskik6s0k";
+ version = "3.8.2";
+ sha256 = "075a2dzbdkh13q9a1w4v0dm40rqrv1wq8nsqh4g4872h29df5mka";
libraryHaskellDepends = [
base base-compat-batteries bifunctors binary containers directory
ghc-boot-th haskeline hpc old-locale old-time pretty random
@@ -227505,6 +231370,8 @@ self: {
];
description = "Non-empty values of `Data.Text`.";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"textPlot" = callPackage
@@ -227671,20 +231538,6 @@ self: {
}) {};
"th-abstraction" = callPackage
- ({ mkDerivation, base, containers, ghc-prim, template-haskell }:
- mkDerivation {
- pname = "th-abstraction";
- version = "0.2.11.0";
- sha256 = "0340w34cqa42m0b9hdys9bfphi13swdp7xc8cwzbj9fq6764p22i";
- libraryHaskellDepends = [
- base containers ghc-prim template-haskell
- ];
- testHaskellDepends = [ base containers template-haskell ];
- description = "Nicer interface for reified information about data types";
- license = stdenv.lib.licenses.isc;
- }) {};
-
- "th-abstraction_0_3_1_0" = callPackage
({ mkDerivation, base, containers, ghc-prim, template-haskell }:
mkDerivation {
pname = "th-abstraction";
@@ -227696,7 +231549,6 @@ self: {
testHaskellDepends = [ base containers template-haskell ];
description = "Nicer interface for reified information about data types";
license = stdenv.lib.licenses.isc;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"th-alpha" = callPackage
@@ -227720,6 +231572,17 @@ self: {
broken = true;
}) {};
+ "th-bang-compat" = callPackage
+ ({ mkDerivation, base, template-haskell }:
+ mkDerivation {
+ pname = "th-bang-compat";
+ version = "0.0.1.0";
+ sha256 = "0p5zpiqk8141a4n362m3kpd92sx0192gpv172ixdnfgabk07gn1z";
+ libraryHaskellDepends = [ base template-haskell ];
+ description = "Compatibility for bang-type template";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"th-build" = callPackage
({ mkDerivation, base, template-haskell }:
mkDerivation {
@@ -227792,6 +231655,18 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "th-data-compat_0_1_0_0" = callPackage
+ ({ mkDerivation, base, template-haskell }:
+ mkDerivation {
+ pname = "th-data-compat";
+ version = "0.1.0.0";
+ sha256 = "03d5ddbxzfn60ysxxn17q7gzdlls8hvlsvhzai4mn0qfjpwi6ljx";
+ libraryHaskellDepends = [ base template-haskell ];
+ description = "Compatibility for data definition template of TH";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"th-desugar" = callPackage
({ mkDerivation, base, containers, hspec, HUnit, mtl, syb
, template-haskell, th-expand-syns, th-lift, th-orphans
@@ -227812,6 +231687,30 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "th-desugar_1_10" = callPackage
+ ({ mkDerivation, base, containers, fail, ghc-prim, hspec, HUnit
+ , mtl, ordered-containers, semigroups, syb, template-haskell
+ , th-abstraction, th-expand-syns, th-lift, th-orphans
+ , transformers-compat
+ }:
+ mkDerivation {
+ pname = "th-desugar";
+ version = "1.10";
+ sha256 = "1g3v427qlpxl1m4klsbqzg2xas5sj4059j5pdx0vpbshpq9v3x8v";
+ libraryHaskellDepends = [
+ base containers fail ghc-prim mtl ordered-containers semigroups syb
+ template-haskell th-abstraction th-lift th-orphans
+ transformers-compat
+ ];
+ testHaskellDepends = [
+ base containers hspec HUnit mtl syb template-haskell th-expand-syns
+ th-lift th-orphans
+ ];
+ description = "Functions to desugar Template Haskell";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"th-dict-discovery" = callPackage
({ mkDerivation, base, constraints, template-haskell }:
mkDerivation {
@@ -227842,10 +231741,8 @@ self: {
({ mkDerivation, base, containers, syb, template-haskell }:
mkDerivation {
pname = "th-expand-syns";
- version = "0.4.4.0";
- sha256 = "01prlvh3py5hq5ccjidfyp9ixq2zd88dkbsidyjrpkja6v8m43yc";
- revision = "1";
- editedCabalFile = "1zbdg3hrqv7rzlsrw4a2vjr3g4nzny32wvjcpxamlvx77b1jvsw9";
+ version = "0.4.5.0";
+ sha256 = "1p4wfyycan8zsp9wi7npx36qwbfsbcgdyxi3ii51scf69dkrx42y";
libraryHaskellDepends = [ base containers syb template-haskell ];
testHaskellDepends = [ base template-haskell ];
description = "Expands type synonyms in Template Haskell ASTs";
@@ -227985,23 +231882,6 @@ self: {
}) {};
"th-lift" = callPackage
- ({ mkDerivation, base, ghc-prim, template-haskell, th-abstraction
- }:
- mkDerivation {
- pname = "th-lift";
- version = "0.7.11";
- sha256 = "131360zxb0hazbqwbkk6ab2p77jkxr79bwwm618mrwrwkm3x2g6m";
- revision = "1";
- editedCabalFile = "0whppp0p9df3fphv6pyg8f70bnm2kpyb3ylznknrklsl5vn2c49d";
- libraryHaskellDepends = [
- base ghc-prim template-haskell th-abstraction
- ];
- testHaskellDepends = [ base ghc-prim template-haskell ];
- description = "Derive Template Haskell's Lift class for datatypes";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "th-lift_0_8_0_1" = callPackage
({ mkDerivation, base, ghc-prim, template-haskell, th-abstraction
}:
mkDerivation {
@@ -228014,35 +231894,16 @@ self: {
testHaskellDepends = [ base ghc-prim template-haskell ];
description = "Derive Template Haskell's Lift class for datatypes";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"th-lift-instances" = callPackage
- ({ mkDerivation, base, bytestring, containers, QuickCheck
- , template-haskell, text, vector
- }:
- mkDerivation {
- pname = "th-lift-instances";
- version = "0.1.12";
- sha256 = "1kjfwfmkn7r35qlsa0n4la3103jlfbjf3ia1pvsgizgrwxr1zjid";
- libraryHaskellDepends = [
- base bytestring containers template-haskell text vector
- ];
- testHaskellDepends = [
- base bytestring containers QuickCheck template-haskell text vector
- ];
- description = "Lift instances for template-haskell for common data types";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "th-lift-instances_0_1_13" = callPackage
({ mkDerivation, base, bytestring, containers, QuickCheck
, template-haskell, text, th-lift, transformers, vector
}:
mkDerivation {
pname = "th-lift-instances";
- version = "0.1.13";
- sha256 = "0zmhz593lfgi194ps8cv592j0wyc37mdn9pf2pchmr7h8bkmbksf";
+ version = "0.1.14";
+ sha256 = "0r1b4jnvcj64wp4hfccwkl4a70n1p1q7qzyx6ax7cmd8k961jz78";
libraryHaskellDepends = [
base bytestring containers template-haskell text th-lift
transformers vector
@@ -228052,7 +231913,6 @@ self: {
];
description = "Lift instances for template-haskell for common data types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"th-nowq" = callPackage
@@ -228074,10 +231934,8 @@ self: {
}:
mkDerivation {
pname = "th-orphans";
- version = "0.13.7";
- sha256 = "0qqxrm04nqh062cw6a2p6grvvfpg0nxkj3aymmar29yky17y8vgy";
- revision = "1";
- editedCabalFile = "1gf2rmphwgnqbbk4qcwfiprmsqp2d30xqlcxgs9h9ymazkwlh203";
+ version = "0.13.8";
+ sha256 = "0f5rf8jr9g5pgnqv7i60ygmnycjq1qbfvccjpagc1xy4gbgjng41";
libraryHaskellDepends = [
base mtl template-haskell th-lift th-lift-instances th-reify-many
];
@@ -228171,6 +232029,22 @@ self: {
license = stdenv.lib.licenses.asl20;
}) {};
+ "th-test-utils" = callPackage
+ ({ mkDerivation, base, tasty, tasty-hunit, template-haskell
+ , transformers
+ }:
+ mkDerivation {
+ pname = "th-test-utils";
+ version = "1.0.0";
+ sha256 = "1kpkf6h0vr06z7iphkcjva9x28mfjg967hrih4im527g9vw5mdq6";
+ libraryHaskellDepends = [ base template-haskell transformers ];
+ testHaskellDepends = [
+ base tasty tasty-hunit template-haskell transformers
+ ];
+ description = "Utility functions for testing Template Haskell code";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"th-to-exp" = callPackage
({ mkDerivation, base, hspec, template-haskell }:
mkDerivation {
@@ -228284,6 +232158,8 @@ self: {
];
description = "Minimalistic actor library";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"themoviedb" = callPackage
@@ -228309,8 +232185,6 @@ self: {
];
description = "Haskell API bindings for http://themoviedb.org";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"themplate" = callPackage
@@ -228389,7 +232263,7 @@ self: {
broken = true;
}) {};
- "these" = callPackage
+ "these_0_7_6" = callPackage
({ mkDerivation, aeson, base, base-compat, bifunctors, binary
, containers, data-default-class, deepseq, hashable, keys, lens
, mtl, QuickCheck, quickcheck-instances, semigroupoids, tasty
@@ -228413,34 +232287,51 @@ self: {
];
description = "An either-or-both data type & a generalized 'zip with padding' typeclass";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
}) {};
- "these_0_8_1" = callPackage
- ({ mkDerivation, aeson, assoc, base, base-compat, bifunctors
- , binary, containers, data-default-class, deepseq, hashable, keys
- , lens, mtl, QuickCheck, quickcheck-instances, semigroupoids
- , tagged, tasty, tasty-quickcheck, transformers
- , transformers-compat, unordered-containers, vector
- , vector-instances
+ "these" = callPackage
+ ({ mkDerivation, aeson, assoc, base, base-compat, binary, deepseq
+ , hashable, QuickCheck, semigroupoids, unordered-containers
}:
mkDerivation {
pname = "these";
- version = "0.8.1";
- sha256 = "0fy63prcdl21fl1vp039wi2j5vr2vgahf537pcg068a6zkfmaiwn";
+ version = "1.0.1";
+ sha256 = "1k0pi65g7cm9hzdw6my6bzz2zvddkmj1qs45ymqmi316bpiixk3r";
+ revision = "1";
+ editedCabalFile = "0923r86fnmgpx0msm68aszirh2n19nn5bccgjxfh2146jw4z7w3z";
libraryHaskellDepends = [
- aeson assoc base base-compat bifunctors binary containers
- data-default-class deepseq hashable keys lens mtl QuickCheck
- semigroupoids tagged transformers transformers-compat
- unordered-containers vector vector-instances
+ aeson assoc base base-compat binary deepseq hashable QuickCheck
+ semigroupoids unordered-containers
];
- testHaskellDepends = [
- aeson base base-compat bifunctors binary containers hashable lens
- QuickCheck quickcheck-instances tasty tasty-quickcheck transformers
- unordered-containers vector
- ];
- description = "An either-or-both data type & a generalized 'zip with padding' typeclass";
+ description = "An either-or-both data type";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "these-lens" = callPackage
+ ({ mkDerivation, base, base-compat, lens, these }:
+ mkDerivation {
+ pname = "these-lens";
+ version = "1";
+ sha256 = "144ly13qng95mwnfis8dm7n3843z3w2vp4212qawbpw8hw921c7y";
+ revision = "1";
+ editedCabalFile = "1lrpq5a8ldddmsi7ckaqinamn2f7kkijq5jq05yzdx818b2563wn";
+ libraryHaskellDepends = [ base base-compat lens these ];
+ description = "Lenses for These";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "these-optics" = callPackage
+ ({ mkDerivation, base, optics-core, these }:
+ mkDerivation {
+ pname = "these-optics";
+ version = "1";
+ sha256 = "0gmsykzcjx5h6dbfny4dw3jrm33ykcw6rpngf5awwdpg3a4cfgi7";
+ revision = "1";
+ editedCabalFile = "1fvi4m04xy3mj22ajgi95bsbr7jhm5f8dnan6hihkplqbjgrjma3";
+ libraryHaskellDepends = [ base optics-core these ];
+ description = "Optics for These";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"these-skinny" = callPackage
@@ -228648,8 +232539,6 @@ self: {
];
description = "Simple, IO-based library for Erlang-style thread supervision";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"threadscope" = callPackage
@@ -228859,8 +232748,8 @@ self: {
pname = "through-text";
version = "0.1.0.0";
sha256 = "1kdl36n98kajaa7v7js2sy8bi09p8rrxmlfcclcfc1l92bd2aclk";
- revision = "3";
- editedCabalFile = "1gia9j7zq3g74kqvkzwp68d690nhddix1kpmj23d5a3zns3rxasn";
+ revision = "4";
+ editedCabalFile = "1clc4g6rg5970654fd596ygly79axkhyzn773by1wi4grvhw96fi";
libraryHaskellDepends = [ base bytestring case-insensitive text ];
description = "Convert textual types through Text without needing O(n^2) instances";
license = stdenv.lib.licenses.bsd3;
@@ -229079,19 +232968,20 @@ self: {
"tidal" = callPackage
({ mkDerivation, base, bifunctors, bytestring, clock, colour
- , containers, hosc, microspec, mwc-random, network, parsec
- , template-haskell, text, transformers, vector
+ , containers, criterion, deepseq, hosc, microspec, mwc-random
+ , network, parsec, primitive, text, transformers, vector, weigh
}:
mkDerivation {
pname = "tidal";
- version = "1.0.13";
- sha256 = "0m28z3mlp6q51znzjgw1hsfy8g4npsxl8bydm8hm9dslqc7gdi7j";
+ version = "1.4.3";
+ sha256 = "1nj5pgzan7q070c8qhcq51mnrwpkxi51ixmmp7b4n4fxfc80v68g";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
- base bifunctors bytestring clock colour containers hosc mwc-random
- network parsec template-haskell text transformers vector
+ base bifunctors bytestring clock colour containers deepseq hosc
+ mwc-random network parsec primitive text transformers vector
];
testHaskellDepends = [ base containers microspec parsec ];
+ benchmarkHaskellDepends = [ base criterion weigh ];
description = "Pattern language for improvised music";
license = stdenv.lib.licenses.gpl3;
}) {};
@@ -229131,13 +233021,22 @@ self: {
}) {};
"tidal-vis" = callPackage
- ({ mkDerivation, base, cairo, colour, tidal }:
+ ({ mkDerivation, async, base, cairo, colour, containers, gloss
+ , hashable, hosc, mtl, network, SDL, SDL-gfx, SDL-image, SDL-ttf
+ , tidal, time, unagi-chan
+ }:
mkDerivation {
pname = "tidal-vis";
- version = "0.9.3";
- sha256 = "1sj17czyzpfrq0a8kalr170dw1zcphix0dnhdf6ggryskb1wswdp";
- libraryHaskellDepends = [ base cairo colour tidal ];
- description = "Visual rendering for Tidal patterns";
+ version = "1.0.15";
+ sha256 = "0h198v3p1z8bmn993w54a7pm4s445lvf7683h23wydpnfckxv06h";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ async base cairo colour containers gloss hashable hosc mtl network
+ SDL SDL-gfx SDL-image SDL-ttf tidal time unagi-chan
+ ];
+ executableHaskellDepends = [ base ];
+ description = "Visual rendering for Tidal patterns and osc messages";
license = stdenv.lib.licenses.gpl3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -229314,17 +233213,6 @@ self: {
}) {};
"time-compat" = callPackage
- ({ mkDerivation, base, old-time, time }:
- mkDerivation {
- pname = "time-compat";
- version = "0.1.0.3";
- sha256 = "0zqgzr8yjn36rn6gflwh5s0c92vl44xzxiw0jz8d5h0h8lhi21sr";
- libraryHaskellDepends = [ base old-time time ];
- description = "Compatibility with old-time for the time package";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "time-compat_1_9_2_2" = callPackage
({ mkDerivation, base, base-compat, base-orphans, deepseq, HUnit
, QuickCheck, tagged, tasty, tasty-hunit, tasty-quickcheck, time
}:
@@ -229332,6 +233220,8 @@ self: {
pname = "time-compat";
version = "1.9.2.2";
sha256 = "05va0rqs759vbridbcl6hksp967j9anjvys8vx72fnfkhlrn2s52";
+ revision = "1";
+ editedCabalFile = "0k8ph4sydaiqp8dav4if6hpiaq8h1xsr93khmdr7a1mmfwdxr64r";
libraryHaskellDepends = [ base base-orphans deepseq time ];
testHaskellDepends = [
base base-compat deepseq HUnit QuickCheck tagged tasty tasty-hunit
@@ -229339,7 +233229,6 @@ self: {
];
description = "Compatibility package for time";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"time-extras" = callPackage
@@ -229472,6 +233361,17 @@ self: {
broken = true;
}) {};
+ "time-manager" = callPackage
+ ({ mkDerivation, auto-update, base }:
+ mkDerivation {
+ pname = "time-manager";
+ version = "0.0.0";
+ sha256 = "1nzwj0fxz370ks6vr1sylcidx33rnqq45y3q9yv9n4dj43nid9lh";
+ libraryHaskellDepends = [ auto-update base ];
+ description = "Scalable timer";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"time-out" = callPackage
({ mkDerivation, base, data-default-class, exceptions
, time-interval, time-units, transformers
@@ -229497,6 +233397,8 @@ self: {
pname = "time-parsers";
version = "0.1.2.1";
sha256 = "102k6l9888kbgng045jk170qjbmdnwv2lbzlc12ncybfk2yk7wdv";
+ revision = "1";
+ editedCabalFile = "00063s6a75sy9fjg5507yix0wizdfx5vangn3yfmfvh3wgw8yj8c";
libraryHaskellDepends = [ base parsers template-haskell time ];
testHaskellDepends = [
attoparsec base bifunctors parsec parsers tasty tasty-hunit
@@ -229504,8 +233406,6 @@ self: {
];
description = "Parsers for types in `time`";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"time-patterns" = callPackage
@@ -229905,23 +233805,6 @@ self: {
}) {};
"timer-wheel" = callPackage
- ({ mkDerivation, atomic-primops, base, ghc-prim, primitive
- , psqueues
- }:
- mkDerivation {
- pname = "timer-wheel";
- version = "0.1.0";
- sha256 = "0wjm767yxf3hg3p80nd0hi0bfvdssq0f3lj9pzkmrsnsqafngs2j";
- revision = "1";
- editedCabalFile = "0vk0p21x90wiazss30zkbzr5fnsc4gih9a6xaa9myyycw078600v";
- libraryHaskellDepends = [
- atomic-primops base ghc-prim primitive psqueues
- ];
- description = "A timer wheel";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "timer-wheel_0_2_0_1" = callPackage
({ mkDerivation, atomic-primops, base, psqueues, random, vector }:
mkDerivation {
pname = "timer-wheel";
@@ -229931,7 +233814,6 @@ self: {
testHaskellDepends = [ base random ];
description = "A timer wheel";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"timerep" = callPackage
@@ -229971,8 +233853,8 @@ self: {
({ mkDerivation, base, hspec }:
mkDerivation {
pname = "timers-tick";
- version = "0.4.0.0";
- sha256 = "02da32j9jz21awmsf38rrj3l3ks7s9a6vvqadr98c35shx3sxzcq";
+ version = "0.4.1.0";
+ sha256 = "1dbkgsvzfxgf4cgkzlmn1dcjw3rb7rrx56ix7n5r1k42n0wsyfsg";
libraryHaskellDepends = [ base ];
testHaskellDepends = [ base hspec ];
description = "tick based timers";
@@ -230071,6 +233953,23 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "timeutils" = callPackage
+ ({ mkDerivation, base, brick, hspec, microlens, time, vty }:
+ mkDerivation {
+ pname = "timeutils";
+ version = "0.1.0";
+ sha256 = "12i331hvnbzbln8c38wqj7a7836l40zm4p1b3lb10q81qk4wnygi";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base microlens time ];
+ executableHaskellDepends = [ base brick microlens time vty ];
+ testHaskellDepends = [ base hspec microlens time ];
+ description = "Time utilities";
+ license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"timezone-olson" = callPackage
({ mkDerivation, base, binary, bytestring, extensible-exceptions
, time, timezone-series
@@ -230147,18 +234046,18 @@ self: {
"tintin" = callPackage
({ mkDerivation, base, clay, containers, data-has, directory
- , frontmatter, inliterate, lucid, optparse-generic, process
- , require, temporary, text, universum, yaml
+ , frontmatter, inflections, inliterate, lucid, optparse-generic
+ , process, require, temporary, text, universum, yaml
}:
mkDerivation {
pname = "tintin";
- version = "1.9.5";
- sha256 = "1z7yvp0c10gkxljg6lkn26niigx0wkdmzs7pqjd666lgzk0ji5hy";
+ version = "1.10.0";
+ sha256 = "04946h5jr7pbj8n46vbipj46n5klqb83az9nasq7smkv1kdz6dv6";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base clay containers data-has directory frontmatter inliterate
- lucid process require temporary text universum yaml
+ base clay containers data-has directory frontmatter inflections
+ inliterate lucid process require temporary text universum yaml
];
libraryToolDepends = [ require ];
executableHaskellDepends = [
@@ -230241,23 +234140,6 @@ self: {
}) {};
"tinylog" = callPackage
- ({ mkDerivation, base, bytestring, containers, criterion
- , double-conversion, fast-logger, text, transformers, unix-time
- }:
- mkDerivation {
- pname = "tinylog";
- version = "0.14.1";
- sha256 = "01yz41l45qmc878gzhbchzkvr4ha2cfmvvjv31hwivgwgl8rcgni";
- libraryHaskellDepends = [
- base bytestring containers double-conversion fast-logger text
- transformers unix-time
- ];
- benchmarkHaskellDepends = [ base bytestring criterion ];
- description = "Simplistic logging using fast-logger";
- license = stdenv.lib.licenses.mpl20;
- }) {};
-
- "tinylog_0_15_0" = callPackage
({ mkDerivation, base, bytestring, containers, criterion
, double-conversion, fast-logger, text, transformers, unix-time
}:
@@ -230272,7 +234154,6 @@ self: {
benchmarkHaskellDepends = [ base bytestring criterion ];
description = "Simplistic logging using fast-logger";
license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"tinytemplate" = callPackage
@@ -230500,6 +234381,34 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "tls_1_5_1" = callPackage
+ ({ mkDerivation, asn1-encoding, asn1-types, async, base, bytestring
+ , cereal, cryptonite, data-default-class, gauge, hourglass, memory
+ , mtl, network, QuickCheck, tasty, tasty-quickcheck, transformers
+ , x509, x509-store, x509-validation
+ }:
+ mkDerivation {
+ pname = "tls";
+ version = "1.5.1";
+ sha256 = "1fs5q494ip8hi2jdp34wy93hmdd42lwkh1hi0jg3ngdnilpg33yi";
+ libraryHaskellDepends = [
+ asn1-encoding asn1-types async base bytestring cereal cryptonite
+ data-default-class hourglass memory mtl network transformers x509
+ x509-store x509-validation
+ ];
+ testHaskellDepends = [
+ asn1-types async base bytestring cryptonite data-default-class
+ hourglass QuickCheck tasty tasty-quickcheck x509 x509-validation
+ ];
+ benchmarkHaskellDepends = [
+ asn1-types async base bytestring cryptonite data-default-class
+ gauge hourglass QuickCheck tasty-quickcheck x509 x509-validation
+ ];
+ description = "TLS/SSL protocol native implementation (Server and Client)";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"tls-debug" = callPackage
({ mkDerivation, base, bytestring, cryptonite, data-default-class
, network, pem, time, tls, x509, x509-store, x509-system
@@ -230519,6 +234428,26 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "tls-debug_0_4_7" = callPackage
+ ({ mkDerivation, base, bytestring, cryptonite, data-default-class
+ , network, pem, tls, tls-session-manager, x509, x509-store
+ , x509-system, x509-validation
+ }:
+ mkDerivation {
+ pname = "tls-debug";
+ version = "0.4.7";
+ sha256 = "1p3ihky5vznjv66f1mbpj33ahkg8g0xgfknldzmgllwsmh533dji";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base bytestring cryptonite data-default-class network pem tls
+ tls-session-manager x509 x509-store x509-system x509-validation
+ ];
+ description = "Set of programs for TLS testing and debugging";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"tls-extra" = callPackage
({ mkDerivation, base, bytestring, certificate, cipher-aes
, cipher-rc4, crypto-pubkey, crypto-random, cryptohash, mtl
@@ -230541,12 +234470,16 @@ self: {
}) {};
"tls-session-manager" = callPackage
- ({ mkDerivation, auto-update, base, clock, psqueues, tls }:
+ ({ mkDerivation, auto-update, base, basement, bytestring, clock
+ , memory, psqueues, tls
+ }:
mkDerivation {
pname = "tls-session-manager";
- version = "0.0.0.2";
- sha256 = "0rvmln545vghsx8zhxp44f0f6pzma8cylarmfhhysy55ipywr1n5";
- libraryHaskellDepends = [ auto-update base clock psqueues tls ];
+ version = "0.0.3";
+ sha256 = "0k57flqp2b4bipafiyfipnqmdqv04ky39yr4s4s9sx577zz2j2yi";
+ libraryHaskellDepends = [
+ auto-update base basement bytestring clock memory psqueues tls
+ ];
description = "In-memory TLS session manager";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -230593,8 +234526,8 @@ self: {
}:
mkDerivation {
pname = "tmp-postgres";
- version = "0.1.2.2";
- sha256 = "1lsf8ydf21dql452jk3x6maicip65r4jyb9xd5a98687j798bm6n";
+ version = "0.2.0.0";
+ sha256 = "08w88rh8yap7dmh2jn3x8rd918jxscw46jzljfbdyda9rzfz7kq4";
libraryHaskellDepends = [
async base bytestring directory network port-utils
postgresql-simple process temporary unix
@@ -230610,22 +234543,22 @@ self: {
broken = true;
}) {};
- "tmp-postgres_0_2_0_0" = callPackage
+ "tmp-postgres_0_3_0_1" = callPackage
({ mkDerivation, async, base, bytestring, directory, hspec
- , hspec-discover, network, port-utils, postgresql-simple, process
- , temporary, unix
+ , hspec-discover, mtl, network, port-utils, postgres-options
+ , postgresql-libpq, postgresql-simple, process, temporary, unix
}:
mkDerivation {
pname = "tmp-postgres";
- version = "0.2.0.0";
- sha256 = "08w88rh8yap7dmh2jn3x8rd918jxscw46jzljfbdyda9rzfz7kq4";
+ version = "0.3.0.1";
+ sha256 = "1h0n3kd5wz4lhg2m4zkyd0vhynrpdvvwlrngyj62d27i1qk2livy";
libraryHaskellDepends = [
- async base bytestring directory network port-utils
+ async base bytestring directory network port-utils postgres-options
postgresql-simple process temporary unix
];
testHaskellDepends = [
- base bytestring directory hspec hspec-discover postgresql-simple
- process temporary
+ base bytestring directory hspec hspec-discover mtl postgresql-libpq
+ postgresql-simple process temporary
];
testToolDepends = [ hspec-discover ];
description = "Start and stop a temporary postgres for testing";
@@ -230685,6 +234618,25 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "to" = callPackage
+ ({ mkDerivation, base, bytestring, containers, gauge, hashable
+ , text, unordered-containers, utf8-string, vector
+ }:
+ mkDerivation {
+ pname = "to";
+ version = "1.2.0";
+ sha256 = "13y4vxfm76929c4nj6rp06y81nm30m3v52r927k41nbb0fdx8z7y";
+ libraryHaskellDepends = [
+ base bytestring containers hashable text unordered-containers
+ utf8-string vector
+ ];
+ benchmarkHaskellDepends = [
+ base containers gauge text unordered-containers
+ ];
+ description = "Simple, safe, boring type conversions";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"to-haskell" = callPackage
({ mkDerivation, base, containers, haskell-src-exts, transformers
}:
@@ -230758,8 +234710,6 @@ self: {
libraryHaskellDepends = [ base ];
description = "A todo bottom";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"todos" = callPackage
@@ -231023,39 +234973,7 @@ self: {
"tomland" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, deepseq
- , gauge, hashable, hedgehog, hspec-megaparsec, htoml
- , htoml-megaparsec, megaparsec, mtl, parsec, parser-combinators
- , tasty, tasty-discover, tasty-hedgehog, tasty-hspec, tasty-silver
- , text, time, transformers, unordered-containers
- }:
- mkDerivation {
- pname = "tomland";
- version = "0.5.0";
- sha256 = "001gw3yj0ibg3dm4q5wz8akjpcdx6zj3jza1y6gq7m5h13fzrvgf";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- base bytestring containers deepseq hashable megaparsec mtl
- parser-combinators text time transformers unordered-containers
- ];
- executableHaskellDepends = [ base text time unordered-containers ];
- testHaskellDepends = [
- base hedgehog hspec-megaparsec megaparsec tasty tasty-hedgehog
- tasty-hspec tasty-silver text time unordered-containers
- ];
- testToolDepends = [ tasty-discover ];
- benchmarkHaskellDepends = [
- aeson base deepseq gauge htoml htoml-megaparsec parsec text time
- ];
- description = "Bidirectional TOML parser";
- license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "tomland_1_0_1_0" = callPackage
- ({ mkDerivation, aeson, base, bytestring, containers, deepseq
- , gauge, hashable, hedgehog, hspec-megaparsec, htoml
+ , directory, gauge, hashable, hedgehog, hspec-megaparsec, htoml
, htoml-megaparsec, markdown-unlit, megaparsec, mtl, parsec
, parser-combinators, tasty, tasty-discover, tasty-hedgehog
, tasty-hspec, tasty-silver, text, time, toml-parser, transformers
@@ -231063,8 +234981,10 @@ self: {
}:
mkDerivation {
pname = "tomland";
- version = "1.0.1.0";
- sha256 = "1f5819bxv9ybj5ygpndlhyfsjl3i6x03xfrgpxnjkjk0pyjmywx2";
+ version = "1.1.0.1";
+ sha256 = "0ihz8pvcnr33mydz4n7gsayikh50pn1bg3km2h3nlv054lff7kai";
+ revision = "1";
+ editedCabalFile = "16382q0q77bv9zlahmgbmc90hvl1b23g9fxk4dl2f1lhlfqjkxnw";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -231074,9 +234994,9 @@ self: {
executableHaskellDepends = [ base text time unordered-containers ];
executableToolDepends = [ markdown-unlit ];
testHaskellDepends = [
- base bytestring containers hashable hedgehog hspec-megaparsec
- megaparsec tasty tasty-hedgehog tasty-hspec tasty-silver text time
- unordered-containers
+ base bytestring containers directory hashable hedgehog
+ hspec-megaparsec megaparsec tasty tasty-hedgehog tasty-hspec
+ tasty-silver text time unordered-containers
];
testToolDepends = [ tasty-discover ];
benchmarkHaskellDepends = [
@@ -231085,8 +235005,6 @@ self: {
];
description = "Bidirectional TOML serialization";
license = stdenv.lib.licenses.mpl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tomlcheck" = callPackage
@@ -231104,6 +235022,8 @@ self: {
];
description = "Command-line tool to check syntax of TOML files";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"tonalude" = callPackage
@@ -231247,17 +235167,17 @@ self: {
, diversity, fgl, filepath, find-clumpiness, foldl, graphviz
, hierarchical-clustering, hierarchical-spectral-clustering
, hmatrix, inline-r, lens, managed, matrix-market-attoparsec
- , mltool, modularity, mtl, optparse-generic, palette, parallel
- , plots, safe, scientific, sparse-linear-algebra
- , spectral-clustering, split, statistics, streaming
- , streaming-bytestring, streaming-cassava, streaming-utils
- , streaming-with, SVGFonts, temporary, terminal-progress-bar, text
- , text-show, transformers, vector, vector-algorithms, zlib
+ , modularity, mtl, optparse-generic, palette, parallel, plots, safe
+ , scientific, sparse-linear-algebra, spectral-clustering, split
+ , statistics, streaming, streaming-bytestring, streaming-cassava
+ , streaming-utils, streaming-with, SVGFonts, temporary
+ , terminal-progress-bar, text, text-show, transformers, vector
+ , vector-algorithms, zlib
}:
mkDerivation {
pname = "too-many-cells";
- version = "0.1.6.1";
- sha256 = "1bs2x7y1g11lbryvih78my6vnjplzm8pkxrl209s5vdkfks8pf8x";
+ version = "0.1.12.4";
+ sha256 = "02qgin4x0vmj56y4yv3zb4fimd6zaqnx344gyj9lrq11fnr202yr";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -231265,9 +235185,9 @@ self: {
diagrams diagrams-cairo diagrams-graphviz diagrams-lib differential
directory diversity fgl filepath find-clumpiness foldl graphviz
hierarchical-clustering hierarchical-spectral-clustering hmatrix
- inline-r lens managed matrix-market-attoparsec mltool modularity
- mtl palette parallel plots safe scientific sparse-linear-algebra
- split statistics streaming streaming-bytestring streaming-cassava
+ inline-r lens managed matrix-market-attoparsec modularity mtl
+ palette parallel plots safe scientific sparse-linear-algebra split
+ statistics streaming streaming-bytestring streaming-cassava
streaming-with SVGFonts temporary text text-show vector
vector-algorithms zlib
];
@@ -231275,9 +235195,10 @@ self: {
aeson base birch-beer bytestring cassava colour containers
diagrams-cairo diagrams-lib directory fgl filepath find-clumpiness
graphviz hierarchical-spectral-clustering inline-r lens
- matrix-market-attoparsec mtl optparse-generic palette plots
- spectral-clustering streaming streaming-bytestring streaming-utils
- terminal-progress-bar text text-show transformers vector
+ matrix-market-attoparsec modularity mtl optparse-generic palette
+ plots spectral-clustering streaming streaming-bytestring
+ streaming-utils terminal-progress-bar text text-show transformers
+ vector
];
description = "Cluster single cells and analyze cell clade relationships";
license = stdenv.lib.licenses.gpl3;
@@ -231287,15 +235208,15 @@ self: {
"toodles" = callPackage
({ mkDerivation, aeson, base, base64-bytestring, blaze-html
- , bytestring, cmdargs, directory, extra, hspec, hspec-expectations
- , megaparsec, MissingH, process, regex-posix, RSA, servant
- , servant-blaze, servant-server, strict, text, time, wai, warp
- , yaml
+ , bytestring, cmdargs, directory, extra, filepath, hspec
+ , hspec-expectations, megaparsec, MissingH, process, regex-posix
+ , RSA, servant, servant-blaze, servant-server, strict, text, time
+ , wai, warp, yaml
}:
mkDerivation {
pname = "toodles";
- version = "1.2.1";
- sha256 = "19z8xx8pw66m9q9xq0qldpzhmjwfsln4hn8smmz2pjk2x713883c";
+ version = "1.2.3";
+ sha256 = "0b6sznzkcjhs5fw920ivmvh6n6walamy16602bxid7sjrlgdjzcf";
isLibrary = true;
isExecutable = true;
enableSeparateDataOutput = true;
@@ -231306,8 +235227,9 @@ self: {
];
executableHaskellDepends = [
aeson base base64-bytestring blaze-html bytestring cmdargs
- directory extra megaparsec MissingH process regex-posix RSA servant
- servant-blaze servant-server strict text time wai warp yaml
+ directory extra filepath megaparsec MissingH process regex-posix
+ RSA servant servant-blaze servant-server strict text time wai warp
+ yaml
];
testHaskellDepends = [
aeson base base64-bytestring blaze-html bytestring cmdargs
@@ -231327,8 +235249,8 @@ self: {
}:
mkDerivation {
pname = "toolshed";
- version = "0.18.0.0";
- sha256 = "0x8sn6gvmns81xjkzs1r5jfaar3qjhcyl6q9dbniyglk5y7w35gm";
+ version = "0.18.0.1";
+ sha256 = "0sw7fxcqr1pfb7kjzvra56ji6nl02175rscb1s4bvw6rrq7xjb6v";
libraryHaskellDepends = [
array base containers data-default deepseq directory filepath
QuickCheck random
@@ -231392,6 +235314,8 @@ self: {
pname = "topograph";
version = "1";
sha256 = "0vm7ja5f677lpphfmggx68h144k0fzj0n6r6ypf5474da405xad7";
+ revision = "2";
+ editedCabalFile = "0sci2p1spsh7as4n7mp1hb4pwiq4wd69p60c71kwx56wpwiglp9i";
libraryHaskellDepends = [
base base-compat base-orphans containers vector
];
@@ -231708,8 +235632,8 @@ self: {
}:
mkDerivation {
pname = "tpdb";
- version = "2.1.1";
- sha256 = "0hk592dki8hp15a84pnqnjdwql2zczfask71gxf833i0vrph38yb";
+ version = "2.2.0";
+ sha256 = "1hrnfvp49rny9rznnhlhvgw4ffmn9nbbdiknsbwxgjfh1ixir1vf";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -231720,8 +235644,6 @@ self: {
testHaskellDepends = [ base pretty text ];
description = "Data Type for Rewriting Systems";
license = "GPL";
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"tptp" = callPackage
@@ -231730,8 +235652,8 @@ self: {
}:
mkDerivation {
pname = "tptp";
- version = "0.1.0.2";
- sha256 = "0v9qh2kxdfl8g05s7wxknq3c02mzfrjka85j73576si79n06v9jq";
+ version = "0.1.0.3";
+ sha256 = "1h00g4263akyfgirvdw5ylbiskl3hhrx58jar59blj57k0i969wi";
libraryHaskellDepends = [
attoparsec base prettyprinter scientific text
];
@@ -231831,6 +235753,29 @@ self: {
broken = true;
}) {};
+ "tracing" = callPackage
+ ({ mkDerivation, aeson, base, base16-bytestring, bytestring
+ , case-insensitive, containers, hspec, http-client, ip, mtl
+ , network, random, stm, text, time, transformers, unliftio
+ }:
+ mkDerivation {
+ pname = "tracing";
+ version = "0.0.4.0";
+ sha256 = "1l0sh9rmbysjysh169902hzx86dahiffgss8wnac8vcz95kc5qjb";
+ libraryHaskellDepends = [
+ aeson base base16-bytestring bytestring case-insensitive containers
+ http-client ip mtl network random stm text time transformers
+ unliftio
+ ];
+ testHaskellDepends = [
+ base containers hspec mtl stm text unliftio
+ ];
+ description = "Distributed tracing";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"tracker" = callPackage
({ mkDerivation, base, containers, glib }:
mkDerivation {
@@ -231850,8 +235795,8 @@ self: {
}:
mkDerivation {
pname = "trackit";
- version = "0.6";
- sha256 = "0944m0s1r2f53m9cmfw7jzv4xxgrfppy0cnh0a98j129n6xn39sq";
+ version = "0.6.2";
+ sha256 = "13xydhv9aaw0yk2wa0r2izwn98b0vgsx4vr2r8zpg0qxlhhriidv";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -231860,8 +235805,6 @@ self: {
];
description = "A command-line tool for live monitoring";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"traction" = callPackage
@@ -231871,8 +235814,8 @@ self: {
}:
mkDerivation {
pname = "traction";
- version = "0.0.1";
- sha256 = "15sl663zk2fys3f5r5vizazid64ij2kwya2p8yk3gyhmnklccqmn";
+ version = "0.3.0";
+ sha256 = "1y0l02hcbxmc3vidg477z7dlbikalmi448dv8dl5pl7zpflcp7di";
libraryHaskellDepends = [
base bytestring containers exceptions mmorph postgresql-simple
resource-pool syb template-haskell text time transformers
@@ -231881,6 +235824,7 @@ self: {
testHaskellDepends = [
base hedgehog mmorph postgresql-simple resource-pool text
];
+ description = "Tools for postgresql-simple";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
@@ -232241,6 +236185,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "transformers-except" = callPackage
+ ({ mkDerivation, base, exceptions, text, transformers }:
+ mkDerivation {
+ pname = "transformers-except";
+ version = "0.1.1";
+ sha256 = "1i89k4bml223f7m3pin73vrz51xb2j7q7rr39x9v587hmm40mvkm";
+ libraryHaskellDepends = [ base exceptions text transformers ];
+ description = "An Except monad transformer with";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"transformers-fix" = callPackage
({ mkDerivation, base, transformers }:
mkDerivation {
@@ -232308,15 +236263,15 @@ self: {
"transient" = callPackage
({ mkDerivation, atomic-primops, base, bytestring, containers
- , directory, mtl, random, stm, time, transformers
+ , directory, mtl, primitive, random, stm, time, transformers
}:
mkDerivation {
pname = "transient";
- version = "0.6.0.1";
- sha256 = "1k3zh4ahzzmj5ni0jyahzhfhbnvksa1ybq93541faa4g98h44ggy";
+ version = "0.6.3";
+ sha256 = "02zy60hilgagxa08j7bvd35wkpap5dzffc5af258hxiy0gdpdw0a";
libraryHaskellDepends = [
- atomic-primops base bytestring containers directory mtl random stm
- time transformers
+ atomic-primops base bytestring containers directory mtl primitive
+ random stm time transformers
];
testHaskellDepends = [
atomic-primops base bytestring containers directory mtl random stm
@@ -232435,8 +236390,8 @@ self: {
}:
mkDerivation {
pname = "trasa";
- version = "0.4";
- sha256 = "059zbm4bfzcv0qlvr55l49xs5izycb2hdjbyqvri5f3vrnwnic1q";
+ version = "0.4.1";
+ sha256 = "0nnr72h6ylx52ni6l7r0nnv02d540agzfhyjfjrxywbx7xz70q5c";
libraryHaskellDepends = [
base binary bytestring hashable http-media http-types
quantification text unordered-containers
@@ -232466,6 +236421,45 @@ self: {
broken = true;
}) {};
+ "trasa-extra" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, case-insensitive
+ , containers, cookie, http-types, mtl, path-pieces, quantification
+ , text, trasa, trasa-server
+ }:
+ mkDerivation {
+ pname = "trasa-extra";
+ version = "0.1.0.0";
+ sha256 = "0ka5w55zzx7cy17pwdwcjf20yl0lmpg6bqv874k0ia7hihl6sx6c";
+ libraryHaskellDepends = [
+ aeson base bytestring case-insensitive containers cookie http-types
+ mtl path-pieces quantification text trasa trasa-server
+ ];
+ description = "Extra functions for trasa";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "trasa-form" = callPackage
+ ({ mkDerivation, base, bytestring, cookie, ditto, ditto-lucid
+ , http-api-data, http-types, lucid, mtl, quantification, text
+ , trasa, trasa-server, unordered-containers
+ }:
+ mkDerivation {
+ pname = "trasa-form";
+ version = "0.4";
+ sha256 = "0d3fkwvjjwvjzaw5n9n4j4mrrrf8zwrg1882gyqjg0bglsd27xzx";
+ libraryHaskellDepends = [
+ base bytestring cookie ditto ditto-lucid http-api-data http-types
+ lucid mtl quantification text trasa trasa-server
+ unordered-containers
+ ];
+ description = "generate forms using lucid, ditto and trasa";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"trasa-reflex" = callPackage
({ mkDerivation, base, bytestring, containers, ghcjs-dom
, http-media, http-types, jsaddle, reflex, reflex-dom, text, trasa
@@ -232489,8 +236483,8 @@ self: {
}:
mkDerivation {
pname = "trasa-server";
- version = "0.4";
- sha256 = "1xh85kh9ilsq8zy19if4s93zmjqxbpgqpvhkh9jpk8klia7zc0pv";
+ version = "0.5.4";
+ sha256 = "1z3cq2zfygxf1v7ifga23mf7zn750925cvghmb3i54a9r0wafmb2";
libraryHaskellDepends = [
base bytestring case-insensitive containers http-media http-types
mtl text trasa wai
@@ -232649,27 +236643,29 @@ self: {
"tree-diff" = callPackage
({ mkDerivation, aeson, ansi-terminal, ansi-wl-pprint, base
- , base-compat, bytestring, containers, generics-sop, hashable
- , MemoTrie, parsec, parsers, pretty, QuickCheck, scientific, tagged
- , tasty, tasty-golden, tasty-quickcheck, text, time, trifecta
+ , base-compat, bytestring, bytestring-builder, containers, hashable
+ , parsec, parsers, pretty, QuickCheck, scientific, tagged, tasty
+ , tasty-golden, tasty-quickcheck, text, time, trifecta
, unordered-containers, uuid-types, vector
}:
mkDerivation {
pname = "tree-diff";
- version = "0.0.2.1";
- sha256 = "0hz7jklzb4cc63l68jxc58ik0ybgim9niwq2gfi0cskv5g2yr3ym";
+ version = "0.1";
+ sha256 = "1156nbqn0pn9lp4zjsy4vv5g5wmy4zxwmbqdgvq349rydynh3ng3";
+ revision = "1";
+ editedCabalFile = "1nxwbn3z4a2102r45yhk0i6vb8fyc5mb894daai7l3l16rjzkp5a";
libraryHaskellDepends = [
aeson ansi-terminal ansi-wl-pprint base base-compat bytestring
- containers generics-sop hashable MemoTrie parsec parsers pretty
+ bytestring-builder containers hashable parsec parsers pretty
QuickCheck scientific tagged text time unordered-containers
uuid-types vector
];
testHaskellDepends = [
ansi-terminal ansi-wl-pprint base base-compat parsec QuickCheck
- tasty tasty-golden tasty-quickcheck trifecta
+ tagged tasty tasty-golden tasty-quickcheck trifecta
];
description = "Diffing of (expression) trees";
- license = stdenv.lib.licenses.bsd3;
+ license = stdenv.lib.licenses.gpl2Plus;
}) {};
"tree-fun" = callPackage
@@ -232694,6 +236690,174 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "tree-sitter" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, containers, directory
+ , filepath, fused-effects, hedgehog, hspec, split, template-haskell
+ , text, unordered-containers
+ }:
+ mkDerivation {
+ pname = "tree-sitter";
+ version = "0.2.0.0";
+ sha256 = "03xdyvmnpjswh0rkn718n1w8kqvly86s6k3cwqgb6r1ygd6kqmim";
+ libraryHaskellDepends = [
+ aeson base bytestring containers directory filepath fused-effects
+ hedgehog split template-haskell text unordered-containers
+ ];
+ testHaskellDepends = [ base hedgehog hspec ];
+ description = "Unstable bindings for the tree-sitter parsing library";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-go" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-go";
+ version = "0.1.0.0";
+ sha256 = "0lpj6sphc8gfyy8yz4pkrykwvrly3vdhy7j9n7jiacjsxnbw33ag";
+ revision = "1";
+ editedCabalFile = "04cq0vlwk4b0kyjsdc8aykm2m173wxzlvm3pjwfshcg2d5kqcn8a";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for Go";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-haskell" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-haskell";
+ version = "0.1.0.0";
+ sha256 = "0jglvy6p4xwdwpk7jn9sh83j0zv51crvzfc45l10s8lflprydk1m";
+ revision = "1";
+ editedCabalFile = "0326iz5r9bz4qsmqpiih1h28hbr10lhfy810b4p1bwianj7735bp";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for Haskell (with GHC extensions)";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-java" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-java";
+ version = "0.1.0.0";
+ sha256 = "1npa7i8c24hb0ds52cphfhn5cw087f8iq5w56x5wsjkvm531zblr";
+ revision = "1";
+ editedCabalFile = "07b2pwnfn2smaq4x9zhh721r2vqf8ipcgr3m19s9bnsyd7pbqyiy";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for Java";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-json" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-json";
+ version = "0.1.0.0";
+ sha256 = "0agmr5nj4rjdlwcf64ijjwbmkpgl10gbgg26v8bpnx84cxhfjpa3";
+ revision = "1";
+ editedCabalFile = "14gyys09392bf46vnhv4skc817ghka0bbqzrzr6lamaszk9a02ax";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for JSON";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-php" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-php";
+ version = "0.1.0.1";
+ sha256 = "1wbslim9ps3pf29445cxjr5kb4haidb43zl3a87pk5gfbr2wj0r0";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for PHP";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-python" = callPackage
+ ({ mkDerivation, aeson, base, bytestring, directory, filepath
+ , hedgehog, template-haskell, tree-sitter
+ }:
+ mkDerivation {
+ pname = "tree-sitter-python";
+ version = "0.2.0.0";
+ sha256 = "1grkz8i3d37cci1w4i1lvdr2bjp7ddhq1fbyf240132rbhx67pg8";
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ aeson base directory filepath template-haskell tree-sitter
+ ];
+ testHaskellDepends = [ base bytestring hedgehog tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for Python";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-ruby" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-ruby";
+ version = "0.1.0.0";
+ sha256 = "1rcaqib1ly4p54vqwm2mivijqirc031w18hgkccrnyv97yxrbhw9";
+ revision = "1";
+ editedCabalFile = "0vwhd6g77s0y0wxflsfvhxcb4hg527nm0h92xxkxk3f50rf2rp0z";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for Ruby";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-tsx" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-tsx";
+ version = "0.1.0.0";
+ sha256 = "0jsc5kx5dw4b686dfs7n3vdafyg8mpf94cq2mscwmcyv9w1f3gma";
+ revision = "1";
+ editedCabalFile = "0hfghgxa138m4krml12yf9s3zqnad14ryynzmyqdwb9j25302hb6";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for TSX";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
+ "tree-sitter-typescript" = callPackage
+ ({ mkDerivation, base, template-haskell, tree-sitter }:
+ mkDerivation {
+ pname = "tree-sitter-typescript";
+ version = "0.1.0.0";
+ sha256 = "1mpk1vhahbva8733anx624vl66fg3h6l9lsby87kf98yrp55ycbn";
+ revision = "1";
+ editedCabalFile = "0ahjxiz4jgym12490xmh2vsyvxly5gza01aasxblncf1h2q1nggi";
+ libraryHaskellDepends = [ base template-haskell tree-sitter ];
+ doHaddock = false;
+ description = "Tree-sitter grammar/parser for TypeScript";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"tree-traversals" = callPackage
({ mkDerivation, base, containers, doctest, mtl }:
mkDerivation {
@@ -232938,8 +237102,8 @@ self: {
pname = "trifecta";
version = "2";
sha256 = "0hznd8i65s81xy13i2qc7cvipw3lfb2yhkv53apbdsh6sbljz5sk";
- revision = "2";
- editedCabalFile = "1ihw0dm0sjn7cql6rb3y0gb5kxy1ca3ggflm4lxlmhm3gfrj2sxc";
+ revision = "4";
+ editedCabalFile = "0xbwyvwl6f2zylk60f2akwgq03qv49113xil7b1z1s3vlwbn5aj1";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
ansi-terminal ansi-wl-pprint array base blaze-builder blaze-html
@@ -232952,6 +237116,32 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "trifecta_2_1" = callPackage
+ ({ mkDerivation, ansi-terminal, array, base, blaze-builder
+ , blaze-html, blaze-markup, bytestring, Cabal, cabal-doctest
+ , charset, comonad, containers, deepseq, doctest, fingertree
+ , ghc-prim, hashable, lens, mtl, parsers, prettyprinter
+ , prettyprinter-ansi-terminal, profunctors, QuickCheck, reducers
+ , semigroups, transformers, unordered-containers, utf8-string
+ }:
+ mkDerivation {
+ pname = "trifecta";
+ version = "2.1";
+ sha256 = "0fr326lzf38m20h2g4189nsyml9w3128924zbd3cd93cgfqcc9bs";
+ setupHaskellDepends = [ base Cabal cabal-doctest ];
+ libraryHaskellDepends = [
+ ansi-terminal array base blaze-builder blaze-html blaze-markup
+ bytestring charset comonad containers deepseq fingertree ghc-prim
+ hashable lens mtl parsers prettyprinter prettyprinter-ansi-terminal
+ profunctors reducers semigroups transformers unordered-containers
+ utf8-string
+ ];
+ testHaskellDepends = [ base doctest parsers QuickCheck ];
+ description = "A modern parser combinator library with convenient diagnostics";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"trigger" = callPackage
({ mkDerivation, aeson, ansi-terminal, base, clock, directory
, exceptions, filepath, formatting, fsnotify, Glob, hspec, process
@@ -232988,6 +237178,8 @@ self: {
testHaskellDepends = [ base hspec ];
description = "A command-line tool for trimming whitespace";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"trimpolya" = callPackage
@@ -233028,8 +237220,8 @@ self: {
}:
mkDerivation {
pname = "triplesec";
- version = "0.2.2.0";
- sha256 = "1gxks45hjr3a1lnr2v75cl0iwsmlzaq3yzd3p9s0pn5227f34zh7";
+ version = "0.2.2.1";
+ sha256 = "0wfrb1qkisbypfw4djm2cwlzrb1xhmkkv6cy8wyxvyrhqs5zzdrs";
libraryHaskellDepends = [
base cryptonite memory mtl transformers
];
@@ -233039,8 +237231,6 @@ self: {
];
description = "TripleSec is a simple, triple-paranoid, symmetric encryption library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"trivia" = callPackage
@@ -233060,8 +237250,8 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "trivial-constraint";
- version = "0.4.0.0";
- sha256 = "1hc6vjgw32sz5x40zifgxy1zd107d4gyfi6mmmdqr87a5f4ldz0p";
+ version = "0.6.0.0";
+ sha256 = "0y0iyll7ml5qz271cqa0dc3w2j3w1d8jjaxwaf2flcidigws69z5";
libraryHaskellDepends = [ base ];
description = "Constraints that any type, resp. no type fulfills";
license = stdenv.lib.licenses.gpl3;
@@ -233356,6 +237546,36 @@ self: {
broken = true;
}) {};
+ "tsweb" = callPackage
+ ({ mkDerivation, base, beam-core, beam-postgres, bytestring, clay
+ , cryptonite, http-api-data, hvect, postgresql-simple
+ , pretty-simple, reroute, resource-pool, Spock, Spock-core
+ , stm-containers, superrecord, tagged, text, time, transformers
+ }:
+ mkDerivation {
+ pname = "tsweb";
+ version = "0.1.2";
+ sha256 = "00akn8nj068pd3c8zhd49n3v9y2a8slykwx8sc3mcj363bwin8ad";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ base beam-core beam-postgres bytestring clay cryptonite
+ http-api-data hvect postgresql-simple pretty-simple reroute
+ resource-pool Spock Spock-core stm-containers superrecord tagged
+ text time transformers
+ ];
+ executableHaskellDepends = [
+ base beam-core beam-postgres bytestring clay cryptonite
+ http-api-data hvect postgresql-simple pretty-simple reroute
+ resource-pool Spock Spock-core stm-containers superrecord tagged
+ text time transformers
+ ];
+ description = "An API binding Web.Spock to Database.Beam";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"ttask" = callPackage
({ mkDerivation, base, directory, either, extra, filepath, lens
, optparse-declarative, safe, strict, time, transformers
@@ -233386,8 +237606,8 @@ self: {
}:
mkDerivation {
pname = "ttl-hashtables";
- version = "1.3.1.0";
- sha256 = "0ny9iynlhpaqvqip7i9n5as21mk0kzm6akbcy7xgkams8dv76k5h";
+ version = "1.3.1.1";
+ sha256 = "14ammgggkfmc4divr1zykjadad5fzgspjnzpjfdzj3vwm1rf5gwv";
libraryHaskellDepends = [
base clock containers data-default failable hashable hashtables mtl
transformers
@@ -233679,6 +237899,22 @@ self: {
broken = true;
}) {};
+ "tuples" = callPackage
+ ({ mkDerivation, base, primitive, QuickCheck, quickcheck-classes
+ , tasty, tasty-quickcheck
+ }:
+ mkDerivation {
+ pname = "tuples";
+ version = "0.1.0.0";
+ sha256 = "0kq12l0q7d9mdkmcp2sm7pjgfh00vqkhi0id32sny1lqcnavp415";
+ libraryHaskellDepends = [ base primitive ];
+ testHaskellDepends = [
+ base primitive QuickCheck quickcheck-classes tasty tasty-quickcheck
+ ];
+ description = "Small monomorphic tuples";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"tuples-homogenous-h98" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -233796,8 +238032,8 @@ self: {
pname = "turtle";
version = "1.5.14";
sha256 = "10sxbmis82z5r2ksfkik5kryz5i0xwihz9drc1dzz4fb76kkb67z";
- revision = "2";
- editedCabalFile = "0inmpmcagv6kqhq4bqrpmygv5an8cqna0p14x3jggw8vz3a741xp";
+ revision = "3";
+ editedCabalFile = "0rmmfqsphhv7h72a8lbdbpqi3rc4k6k83x8p9mamh57108qrs3xy";
libraryHaskellDepends = [
ansi-wl-pprint async base bytestring clock containers directory
exceptions foldl hostname managed optional-args
@@ -233890,28 +238126,27 @@ self: {
}) {};
"tweet-hs" = callPackage
- ({ mkDerivation, aeson, ansi-wl-pprint, authenticate-oauth, base
- , bytestring, composition-prelude, containers, criterion
- , data-default, directory, extra, hspec, htoml-megaparsec
- , http-client, http-client-tls, http-types, megaparsec, microlens
- , optparse-applicative, split, text, unordered-containers
+ ({ mkDerivation, ansi-wl-pprint, authenticate-oauth, base
+ , bytestring, composition-prelude, containers, criterion, directory
+ , extra, htoml-megaparsec, http-client, http-client-tls, http-types
+ , megaparsec, microlens, optparse-applicative, split, text
+ , unordered-containers
}:
mkDerivation {
pname = "tweet-hs";
- version = "1.0.1.43";
- sha256 = "10bxkllxiwm1xbvpz4wh1gd24qkz8y0b7z4ciwqk13jz5ha966x0";
+ version = "1.0.2.1";
+ sha256 = "0b277whd3jywb6w0gkaijmzadpwabmyxvxyg6fmsysq1kp3isrnm";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- aeson ansi-wl-pprint authenticate-oauth base bytestring
- composition-prelude containers data-default extra htoml-megaparsec
- http-client http-client-tls http-types megaparsec microlens split
- text unordered-containers
+ ansi-wl-pprint authenticate-oauth base bytestring
+ composition-prelude containers extra htoml-megaparsec http-client
+ http-client-tls http-types megaparsec microlens split text
+ unordered-containers
];
executableHaskellDepends = [
base bytestring directory optparse-applicative
];
- testHaskellDepends = [ base hspec ];
benchmarkHaskellDepends = [ base bytestring criterion megaparsec ];
description = "Command-line tool for twitter";
license = stdenv.lib.licenses.bsd3;
@@ -233958,8 +238193,6 @@ self: {
libraryHaskellDepends = [ base eventloop ];
description = "Tree type and show functions for lab assignment of University of Twente. Contains RoseTree and RedBlackTree";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"twentefp-graphs" = callPackage
@@ -234328,6 +238561,8 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Twitter API package with conduit interface and Streaming API support";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"twitter-enumerator" = callPackage
@@ -234375,25 +238610,26 @@ self: {
"twitter-types" = callPackage
({ mkDerivation, aeson, attoparsec, base, bytestring, derive
- , directory, filepath, HUnit, old-locale, QuickCheck
- , template-haskell, test-framework, test-framework-hunit
- , test-framework-quickcheck2, text, time, unordered-containers
+ , directory, filepath, HUnit, QuickCheck, template-haskell
+ , test-framework, test-framework-hunit, test-framework-quickcheck2
+ , text, time, unordered-containers
}:
mkDerivation {
pname = "twitter-types";
- version = "0.7.2.2";
- sha256 = "0n3d3j24kk2rdc61sl9lfanwcv8f0ri7ihiy0zs5rjaxzilyi3kn";
+ version = "0.8.0";
+ sha256 = "1ijvmra797hnhhi5ag7yfqrzyyjkqk9if565054c8743jlhd3xzk";
libraryHaskellDepends = [
aeson base text time unordered-containers
];
testHaskellDepends = [
aeson attoparsec base bytestring derive directory filepath HUnit
- old-locale QuickCheck template-haskell test-framework
- test-framework-hunit test-framework-quickcheck2 text time
- unordered-containers
+ QuickCheck template-haskell test-framework test-framework-hunit
+ test-framework-quickcheck2 text time unordered-containers
];
description = "Twitter JSON parser and types";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"twitter-types-lens" = callPackage
@@ -234402,15 +238638,15 @@ self: {
}:
mkDerivation {
pname = "twitter-types-lens";
- version = "0.7.2";
- sha256 = "04mjrwd5f960kd7v5xq4wlyzksw06d3qj52ql1lhjki3f3papzjg";
- revision = "1";
- editedCabalFile = "0rag7vz1irirnqxh18xwvp8rg7ysx4lwrb9ysv5wcfjdggp6b6gs";
+ version = "0.8.1";
+ sha256 = "0yxhvl54zd33wg0lhk6278jcgi521k8j94i293h61i9jg8ywkaiq";
libraryHaskellDepends = [
base lens template-haskell text time twitter-types
];
description = "Twitter JSON types (lens powered)";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"tx" = callPackage
@@ -234685,10 +238921,10 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "type-equality";
- version = "0.1.2";
- sha256 = "06acqpkvyvalv5knjzzbgm40hzas6cdfsypvjxsbb0mhq4d80xwr";
+ version = "1";
+ sha256 = "1s4cl11rvvv7n95i3pq9lmmx08kwh4z7l3d1hbv4wi8il81baa27";
libraryHaskellDepends = [ base ];
- description = "Type equality, coercion/cast and other operations";
+ description = "Data.Type.Equality compat package";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -234703,6 +238939,37 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "type-errors" = callPackage
+ ({ mkDerivation, base, doctest, first-class-families, syb
+ , template-haskell, th-abstraction
+ }:
+ mkDerivation {
+ pname = "type-errors";
+ version = "0.2.0.0";
+ sha256 = "1d1fi4ij18q39rpibc056mgvly75zqixkba4l8bn307c62f50k8p";
+ libraryHaskellDepends = [
+ base first-class-families syb template-haskell th-abstraction
+ ];
+ testHaskellDepends = [
+ base doctest first-class-families syb template-haskell
+ th-abstraction
+ ];
+ description = "Tools for writing better type errors";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "type-errors-pretty" = callPackage
+ ({ mkDerivation, base, doctest, Glob }:
+ mkDerivation {
+ pname = "type-errors-pretty";
+ version = "0.0.0.0";
+ sha256 = "0yj8c91maanihyl9506ihpxv3zyfvprr359dvd2b9ym3py50kncs";
+ libraryHaskellDepends = [ base ];
+ testHaskellDepends = [ base doctest Glob ];
+ description = "Combinators for writing pretty type errors easily";
+ license = stdenv.lib.licenses.mpl20;
+ }) {};
+
"type-fun" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -234789,13 +239056,16 @@ self: {
}) {};
"type-iso" = callPackage
- ({ mkDerivation, base, data-default, nats, numericpeano, text }:
+ ({ mkDerivation, base, containers, data-default, nats, numericpeano
+ , text, vector, vector-builder
+ }:
mkDerivation {
pname = "type-iso";
- version = "1.0.0.0";
- sha256 = "11xcadzvvp9y7gm54k0nfsnx0hfr3g5bd8g8f8mlfqy24p0mq1m1";
+ version = "1.0.1.0";
+ sha256 = "1jhkx115jv36v1bbws061f4bn4apr6ps9zlisasfwfry3hd34cf6";
libraryHaskellDepends = [
- base data-default nats numericpeano text
+ base containers data-default nats numericpeano text vector
+ vector-builder
];
description = "Typeclasses for injective relations and isomorphisms between types";
license = stdenv.lib.licenses.asl20;
@@ -235006,17 +239276,6 @@ self: {
}) {};
"type-operators" = callPackage
- ({ mkDerivation, base, ghc-prim }:
- mkDerivation {
- pname = "type-operators";
- version = "0.1.0.4";
- sha256 = "0x0bshb13b7i4imn0pgpljcj109c9z5mgw84mjmlcg62d3ryvg6v";
- libraryHaskellDepends = [ base ghc-prim ];
- description = "Various type-level operators";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "type-operators_0_2_0_0" = callPackage
({ mkDerivation, base, ghc-prim }:
mkDerivation {
pname = "type-operators";
@@ -235025,7 +239284,6 @@ self: {
libraryHaskellDepends = [ base ghc-prim ];
description = "Various type-level operators";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"type-ord" = callPackage
@@ -235073,6 +239331,18 @@ self: {
broken = true;
}) {};
+ "type-sets" = callPackage
+ ({ mkDerivation, base, cmptype }:
+ mkDerivation {
+ pname = "type-sets";
+ version = "0.1.1.0";
+ sha256 = "0ryrivrhpplck0h6h7d8pfl5bg7lbv2519icz317yp2qy8r3g2l7";
+ libraryHaskellDepends = [ base cmptype ];
+ testHaskellDepends = [ base cmptype ];
+ description = "Type-level sets";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"type-settheory" = callPackage
({ mkDerivation, base, containers, syb, template-haskell
, transformers, type-equality
@@ -235091,18 +239361,6 @@ self: {
}) {};
"type-spec" = callPackage
- ({ mkDerivation, base, pretty }:
- mkDerivation {
- pname = "type-spec";
- version = "0.3.0.1";
- sha256 = "0hd2lgfp6vydynr2ip4zy4kg2jzrfkrrqj1vnx1fn4zwkqqimkdf";
- libraryHaskellDepends = [ base pretty ];
- testHaskellDepends = [ base ];
- description = "Type Level Specification by Example";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "type-spec_0_4_0_0" = callPackage
({ mkDerivation, base, pretty }:
mkDerivation {
pname = "type-spec";
@@ -235112,7 +239370,6 @@ self: {
testHaskellDepends = [ base ];
description = "Type Level Specification by Example";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"type-spine" = callPackage
@@ -235276,20 +239533,18 @@ self: {
"typed-process" = callPackage
({ mkDerivation, async, base, base64-bytestring, bytestring, hspec
- , process, stm, temporary, transformers
+ , process, stm, temporary, transformers, unliftio-core
}:
mkDerivation {
pname = "typed-process";
- version = "0.2.4.0";
- sha256 = "02xvyaq4sxwjqbmkn29n5x58l4rni6gbqp526r3q7wn6jalgazwr";
- revision = "1";
- editedCabalFile = "1i46snkrdpjjsfqbjjarnivadlrd7gbc4nab868ki848vd38qgf1";
+ version = "0.2.6.0";
+ sha256 = "1cf2pfym8zdxvvy7xv72ixj7wy3rjrdss6f57k1ysgs66cgsi8ii";
libraryHaskellDepends = [
- async base bytestring process stm transformers
+ async base bytestring process stm transformers unliftio-core
];
testHaskellDepends = [
async base base64-bytestring bytestring hspec process stm temporary
- transformers
+ transformers unliftio-core
];
description = "Run external processes, with strong typing of streams";
license = stdenv.lib.licenses.mit;
@@ -235339,6 +239594,22 @@ self: {
broken = true;
}) {};
+ "typed-uuid" = callPackage
+ ({ mkDerivation, aeson, base, binary, bytestring, deepseq, hashable
+ , http-api-data, random, text, uuid, validity, validity-uuid
+ }:
+ mkDerivation {
+ pname = "typed-uuid";
+ version = "0.0.0.0";
+ sha256 = "1v862wfmd03ssch7p5hr5cmzc38gzmxvw22swdfs2blfxv13cdc8";
+ libraryHaskellDepends = [
+ aeson base binary bytestring deepseq hashable http-api-data random
+ text uuid validity validity-uuid
+ ];
+ description = "Phantom-Typed version of UUID";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"typed-wire" = callPackage
({ mkDerivation, aeson, base, bytestring, containers, directory
, filepath, gitrev, HTF, http-types, mtl, optparse-applicative
@@ -235463,12 +239734,12 @@ self: {
}) {};
"typelits-witnesses" = callPackage
- ({ mkDerivation, base, constraints, reflection }:
+ ({ mkDerivation, base, dependent-sum }:
mkDerivation {
pname = "typelits-witnesses";
- version = "0.3.0.3";
- sha256 = "078r9pbkzwzm1q821zqisj0wrx1rdk9w8c3ip0g1m5j97zzlmpaf";
- libraryHaskellDepends = [ base constraints reflection ];
+ version = "0.4.0.0";
+ sha256 = "1khy5nacmsl7h4vg7driv4yb9m3zvkhbf8divyhd249i6bdmql70";
+ libraryHaskellDepends = [ base dependent-sum ];
description = "Existential witnesses, singletons, and classes for operations on GHC TypeLits";
license = stdenv.lib.licenses.mit;
}) {};
@@ -235517,37 +239788,6 @@ self: {
}) {};
"typerep-map" = callPackage
- ({ mkDerivation, base, containers, criterion, deepseq
- , dependent-map, dependent-sum, ghc-prim, ghc-typelits-knownnat
- , hedgehog, primitive, QuickCheck, tasty, tasty-discover
- , tasty-hedgehog, tasty-hspec, vector
- }:
- mkDerivation {
- pname = "typerep-map";
- version = "0.3.1";
- sha256 = "1ycyk47h578vf4kpf1y708zg9cc6i028jv1fdaw3zy59wrbl8y74";
- revision = "2";
- editedCabalFile = "0zcvg2kr3kcnhxdndw6fcjdd1421ncglr34mc8d9sw1hjjcb5w38";
- libraryHaskellDepends = [
- base containers deepseq ghc-prim primitive vector
- ];
- testHaskellDepends = [
- base ghc-typelits-knownnat hedgehog QuickCheck tasty tasty-discover
- tasty-hedgehog tasty-hspec
- ];
- testToolDepends = [ tasty-discover ];
- benchmarkHaskellDepends = [
- base criterion deepseq dependent-map dependent-sum
- ghc-typelits-knownnat
- ];
- doHaddock = false;
- description = "Efficient implementation of a dependent map with types as keys";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "typerep-map_0_3_2" = callPackage
({ mkDerivation, base, containers, criterion, deepseq
, dependent-map, dependent-sum, ghc-prim, ghc-typelits-knownnat
, hedgehog, primitive, QuickCheck, tasty, tasty-discover
@@ -235557,8 +239797,8 @@ self: {
pname = "typerep-map";
version = "0.3.2";
sha256 = "0s77hj0m9jiqgybccdfl1x88j05fx7grkg16q6kldd1lgqrvrgb0";
- revision = "1";
- editedCabalFile = "1ka2ah7cg7hzd7yvnj6iasa57bszzif1b5r94sd8fk00l1qspjag";
+ revision = "3";
+ editedCabalFile = "032y3parcz7ffmsqichmshczk7zxkg66dciwvr5d7fznqvy3sg1s";
libraryHaskellDepends = [
base containers deepseq ghc-prim primitive vector
];
@@ -235611,8 +239851,8 @@ self: {
}:
mkDerivation {
pname = "typesafe-precure";
- version = "0.7.4.1";
- sha256 = "1nm74fj819kws9rrksk80gyrl3m5dxsm17bm2a18mp8dca76iix2";
+ version = "0.7.5.1";
+ sha256 = "0n2cnd15gwixk17jqcz4hxishikscwbcn2gnrkcz3a295ng68ins";
libraryHaskellDepends = [
aeson aeson-pretty autoexporter base bytestring dlist
monad-skeleton template-haskell text th-data-compat
@@ -235681,6 +239921,8 @@ self: {
];
description = "Just let me draw nice text already";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"typography-geometry" = callPackage
@@ -235689,13 +239931,13 @@ self: {
}:
mkDerivation {
pname = "typography-geometry";
- version = "1.0.0.1";
- sha256 = "1mrack0n940idy5rv7mm0gfif8xri6z59npxwkq1kgi606vazbpd";
+ version = "1.0.1.0";
+ sha256 = "0vi2ggpvvarqimrga985cks5wq67dqyrr5nh3a0ghy0mbdrb72ps";
libraryHaskellDepends = [
base containers parallel polynomials-bernstein vector
];
description = "Drawings for printed text documents";
- license = "GPL";
+ license = stdenv.lib.licenses.gpl2;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
}) {};
@@ -235893,8 +240135,8 @@ self: {
pname = "ucam-webauth";
version = "0.1.0.0";
sha256 = "14l989aasyqdw1x7aq9ikhcq9p3s1ax4qk53rd5s53wdgbc20n9k";
- revision = "3";
- editedCabalFile = "01j0296a60hpw0n5d50327hnqpkxwzz7pngxq8da5ram0q13cfzw";
+ revision = "6";
+ editedCabalFile = "1dammzdhin226byx8p287kdnn9pc7s49hfxcdmflly6hsy1psnvy";
libraryHaskellDepends = [
aeson attoparsec base bytestring containers cryptonite errors
http-api-data http-types microlens microlens-mtl mtl
@@ -235920,8 +240162,8 @@ self: {
pname = "ucam-webauth-types";
version = "0.1.0.0";
sha256 = "0jq66amdmrbkg69m0cbbw7xfvsc9iy74khn1k39n7jkq821pzjni";
- revision = "3";
- editedCabalFile = "1png0b60pfhx5gfwbmxxq42nfy9yj2zrcw8krq0vm45qgjw4gd8g";
+ revision = "4";
+ editedCabalFile = "1lb0yq1051fi71qrbnkyg39c7rn5x62w2qkqvp88ih4wzdib8fzv";
libraryHaskellDepends = [
aeson base base64-bytestring bytestring case-insensitive containers
deepseq http-types microlens microlens-mtl mtl text time timerep
@@ -236116,18 +240358,17 @@ self: {
"uhttpc" = callPackage
({ mkDerivation, async, base, bytestring, bytestring-lexing
- , deepseq, network, network-uri, optparse-applicative
+ , deepseq, network, network-bsd, network-uri, optparse-applicative
}:
mkDerivation {
pname = "uhttpc";
- version = "0.1.1.0";
- sha256 = "1knf8r8zq8nnidmbj1blazjxkpngczs55jjx0phnnxlc026ppynb";
- revision = "4";
- editedCabalFile = "0g4rcm7kbanayv18bad7pakrnghqg2qpxq4aib1n4d8h7ximgly2";
+ version = "0.1.1.1";
+ sha256 = "01plkj4n34s1xbdaky61xzqnc7z2zfx6dzqdlv21np8rk6lirr7d";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
- base bytestring bytestring-lexing deepseq network network-uri
+ base bytestring bytestring-lexing deepseq network network-bsd
+ network-uri
];
executableHaskellDepends = [
async base bytestring bytestring-lexing deepseq network
@@ -236234,10 +240475,10 @@ self: {
}:
mkDerivation {
pname = "unagi-chan";
- version = "0.4.1.0";
- sha256 = "0nya6srsnj7f10jim3iqlmdi71n6fl8ly9sqpccgnivnd8i5iavb";
+ version = "0.4.1.2";
+ sha256 = "1lnl5n4jnjmm4chp461glcwkrrw63rjz3fvprwxcy3lkpbkrqvgn";
revision = "1";
- editedCabalFile = "0hfyjcngxj7wksjpkpf20w94xjbisi690bzx9clclqillzcqvq4p";
+ editedCabalFile = "09pqi867wskwgc5lpn197f895mbn1174ydgllvcppcsmrz2b6yr6";
libraryHaskellDepends = [ atomic-primops base ghc-prim primitive ];
testHaskellDepends = [
atomic-primops base containers ghc-prim primitive
@@ -236289,44 +240530,25 @@ self: {
}) {};
"unbeliever" = callPackage
- ({ mkDerivation, aeson, async, base, bytestring, chronologique
- , containers, deepseq, directory, exceptions, fingertree, gauge
- , hashable, hourglass, hspec, mtl, prettyprinter
- , prettyprinter-ansi-terminal, safe-exceptions, scientific, stm
- , template-haskell, terminal-size, text, text-short, transformers
- , unix, unordered-containers, vector
+ ({ mkDerivation, base, bytestring, core-data, core-program
+ , core-text, fingertree, gauge, hspec, safe-exceptions, text
+ , text-short
}:
mkDerivation {
pname = "unbeliever";
- version = "0.9.3.2";
- sha256 = "1gsjmr9h7w08576smi978k5djhvjk4ry0ljgr6zxx7nj7cy1m84b";
- revision = "1";
- editedCabalFile = "0mlbjb79ylk2jb7mp6da1xfl2r28zfijwv5dd2l73l9mgi5h0s72";
- libraryHaskellDepends = [
- aeson async base bytestring chronologique containers deepseq
- directory exceptions fingertree hashable hourglass mtl
- prettyprinter prettyprinter-ansi-terminal safe-exceptions
- scientific stm template-haskell terminal-size text text-short
- transformers unix unordered-containers vector
- ];
+ version = "0.10.0.1";
+ sha256 = "0fmv76xmi4ansrksa07vidqvxiqgdmvvampkqngi1ma7g3k2n29x";
+ libraryHaskellDepends = [ base core-data core-program core-text ];
testHaskellDepends = [
- aeson async base bytestring chronologique containers deepseq
- directory exceptions fingertree hashable hourglass hspec mtl
- prettyprinter prettyprinter-ansi-terminal safe-exceptions
- scientific stm template-haskell terminal-size text text-short
- transformers unix unordered-containers vector
+ base bytestring core-data core-program core-text fingertree hspec
+ safe-exceptions text text-short
];
benchmarkHaskellDepends = [
- aeson async base bytestring chronologique containers deepseq
- directory exceptions fingertree gauge hashable hourglass mtl
- prettyprinter prettyprinter-ansi-terminal safe-exceptions
- scientific stm template-haskell terminal-size text text-short
- transformers unix unordered-containers vector
+ base bytestring core-data core-program core-text gauge text
];
+ doHaddock = false;
description = "Opinionated Haskell Interoperability";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"unbound" = callPackage
@@ -236372,6 +240594,23 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "unbound-kind-generics" = callPackage
+ ({ mkDerivation, base, kind-generics, kind-generics-th
+ , unbound-generics
+ }:
+ mkDerivation {
+ pname = "unbound-kind-generics";
+ version = "0.2.0.0";
+ sha256 = "1hn78dixgd1p0pabh7pg0c7q607irs68vs3ggay8i1s72nc9lvj8";
+ libraryHaskellDepends = [
+ base kind-generics kind-generics-th unbound-generics
+ ];
+ description = "Support for programming with names and binders using kind-generics";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"unbounded-delays" = callPackage
({ mkDerivation, base }:
mkDerivation {
@@ -236432,6 +240671,28 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "unboxing-vector" = callPackage
+ ({ mkDerivation, base, deepseq, HUnit, mono-traversable, primitive
+ , should-not-typecheck, vector
+ }:
+ mkDerivation {
+ pname = "unboxing-vector";
+ version = "0.1.1.0";
+ sha256 = "0i2d5gzvrdi5alaj8inw0jzlh0kkd23pg5dwm24h8jyqh0kmnhj8";
+ libraryHaskellDepends = [
+ base deepseq mono-traversable primitive vector
+ ];
+ testHaskellDepends = [
+ base deepseq HUnit mono-traversable primitive should-not-typecheck
+ vector
+ ];
+ benchmarkHaskellDepends = [
+ base deepseq mono-traversable primitive vector
+ ];
+ description = "A newtype-friendly variant of unboxed vectors";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"unbreak" = callPackage
({ mkDerivation, aeson, aeson-pretty, base, base64-bytestring
, bytestring, cereal, cmdargs, cryptonite, memory, process, text
@@ -236543,6 +240804,8 @@ self: {
];
description = "Class of data structures that can be unfolded";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"unfoldable-restricted" = callPackage
@@ -236559,6 +240822,8 @@ self: {
];
description = "An alternative to the Unfoldable typeclass";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"ungadtagger" = callPackage
@@ -236783,8 +241048,10 @@ self: {
}:
mkDerivation {
pname = "unicode-transforms";
- version = "0.3.5";
- sha256 = "0gm0dwbhr666s7xx71qdrha5r3qwfyyv0wsrvq8jxva3mcwd3xy9";
+ version = "0.3.6";
+ sha256 = "1akscvyssif4hki3g6hy0jmjyr8cqly1whzvzj0km2b3qh0x09l3";
+ isLibrary = true;
+ isExecutable = true;
libraryHaskellDepends = [ base bitarray bytestring text ];
testHaskellDepends = [
base deepseq getopt-generics QuickCheck split text
@@ -236886,14 +241153,16 @@ self: {
pname = "union";
version = "0.1.2";
sha256 = "1i4fvlwkw1wx64a6l8342aqfqsdq7fqa4p24g3i5gn5704lxrsb3";
- revision = "2";
- editedCabalFile = "170dhg4z4jzi50nh4xx75r9k8zz5br7j2iqjjw2r1dx29ajqbcw9";
+ revision = "4";
+ editedCabalFile = "09b6wqnmv4g2pnjzl5k90yp78jcif8pk40c0spdrbr2vr5766clj";
libraryHaskellDepends = [
base deepseq hashable profunctors tagged vinyl
];
benchmarkHaskellDepends = [ base criterion deepseq lens ];
description = "Extensible type-safe unions";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"union-find" = callPackage
@@ -236933,6 +241202,17 @@ self: {
broken = true;
}) {};
+ "unipatterns" = callPackage
+ ({ mkDerivation, base }:
+ mkDerivation {
+ pname = "unipatterns";
+ version = "0.0.0.0";
+ sha256 = "07jl3an9y4gbpmsq2gcbp3xwyvrnvkjcxcpq1702cc320c8zq542";
+ libraryHaskellDepends = [ base ];
+ description = "Helpers which allow safe partial pattern matching in lambdas";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"uniplate" = callPackage
({ mkDerivation, base, containers, hashable, syb
, unordered-containers
@@ -236941,6 +241221,8 @@ self: {
pname = "uniplate";
version = "1.6.12";
sha256 = "1dx8f9aw27fz8kw0ad1nm6355w5rdl7bjvb427v2bsgnng30pipw";
+ revision = "1";
+ editedCabalFile = "0gsrs2mk58jg3x36dyzxi4y46isd5p6q0rd6m9l834h5r7ds6a54";
libraryHaskellDepends = [
base containers hashable syb unordered-containers
];
@@ -236985,8 +241267,8 @@ self: {
pname = "unique";
version = "0";
sha256 = "140a9avcxs1fkj1v2awplq6prd1g13yg0kckccw6i1qpgcdigyz3";
- revision = "1";
- editedCabalFile = "0pq3a5y8ddgd37x21vafwxpyi079ir7k9g96y99pygmxwibkg4v8";
+ revision = "2";
+ editedCabalFile = "0ydjjd6j7gr4mibky6j5rqwhy9frvfii0sr4g8shaxnph3y0kb6b";
libraryHaskellDepends = [ base ghc-prim hashable ];
description = "Fully concurrent unique identifiers";
license = stdenv.lib.licenses.bsd3;
@@ -237125,8 +241407,8 @@ self: {
({ mkDerivation, base, template-haskell, units }:
mkDerivation {
pname = "units-defs";
- version = "2.0.1.1";
- sha256 = "0p99gchk3m4ibmhr6jws57sv083q142rhxjavq9laz97gjm2r9w2";
+ version = "2.1.0.1";
+ sha256 = "1ck50r8mhcvjyfx3wdkn8s89rrzjkxpn439zarg5s2vqmqji7gyy";
libraryHaskellDepends = [ base template-haskell units ];
description = "Definitions for use with the units package";
license = stdenv.lib.licenses.bsd3;
@@ -237262,6 +241544,24 @@ self: {
pname = "universe";
version = "1.1";
sha256 = "0zghqcv6jyl9x3qfmbnqyfvr4pkf3m6lil0vg66m16xlrgz68hds";
+ revision = "1";
+ editedCabalFile = "0639gsf8irhpgcp69lq9l7987lsh4wnw3z9ai0dqrvx5ixpg3k5h";
+ libraryHaskellDepends = [
+ universe-base universe-dependent-sum universe-instances-extended
+ universe-reverse-instances
+ ];
+ description = "A class for finite and recursively enumerable types";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "universe_1_1_1" = callPackage
+ ({ mkDerivation, universe-base, universe-dependent-sum
+ , universe-instances-extended, universe-reverse-instances
+ }:
+ mkDerivation {
+ pname = "universe";
+ version = "1.1.1";
+ sha256 = "0jm5wi5blc21jn5hfgmx13ra006dc08dvl1sx7ciq8id87kwvxzg";
libraryHaskellDepends = [
universe-base universe-dependent-sum universe-instances-extended
universe-reverse-instances
@@ -237269,34 +241569,21 @@ self: {
description = "A class for finite and recursively enumerable types";
license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"universe-base" = callPackage
- ({ mkDerivation, base }:
- mkDerivation {
- pname = "universe-base";
- version = "1.0.2.1";
- sha256 = "0ldvk0bj16hl1v824vvsich3rzx84xm3sbppd5ahpp5cmx887i07";
- libraryHaskellDepends = [ base ];
- description = "A class for finite and recursively enumerable types and some helper functions for enumerating them";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "universe-base_1_1" = callPackage
({ mkDerivation, base, containers, QuickCheck, tagged, transformers
}:
mkDerivation {
pname = "universe-base";
- version = "1.1";
- sha256 = "1alr2gbmdp9lsarnhfl72zkcqrfwxwvmlq3nyb9ilmwinahlzf0n";
+ version = "1.1.1";
+ sha256 = "1a6yyvrzkz7jnjz4lyp8aw0r5hci1nx8c06v3dicgfqs3frk1v8x";
revision = "1";
- editedCabalFile = "1bjri6v54iy54rn972lj7hdw1bndcria23g90ikk4ni2gp65v5i0";
+ editedCabalFile = "1l6vxapfjhm5mb6w25ah8sl78hdw1ia5s18cf40lm0vzb6ip4bkk";
libraryHaskellDepends = [ base containers tagged transformers ];
testHaskellDepends = [ base containers QuickCheck ];
description = "A class for finite and recursively enumerable types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"universe-dependent-sum" = callPackage
@@ -237307,6 +241594,8 @@ self: {
pname = "universe-dependent-sum";
version = "1.1.0.1";
sha256 = "1mfvfh7rnk8lnd5lgxbhi40y31sar11dmgh5s7g2kgsprzmg1qpi";
+ revision = "2";
+ editedCabalFile = "1vh93f1nq72fwnrhl9r8qwwiwr26l9pgcmdic56j2b2iz3imnfhc";
libraryHaskellDepends = [
base dependent-sum template-haskell th-abstraction transformers
universe-base
@@ -237316,33 +241605,19 @@ self: {
];
description = "Universe instances for types from dependent-sum";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"universe-instances-base" = callPackage
- ({ mkDerivation, base, containers, universe-base }:
- mkDerivation {
- pname = "universe-instances-base";
- version = "1.0";
- sha256 = "04njgl32lk5a0masjdjkm4l2wsyrr29g0fsp599864mp7gp504d2";
- revision = "2";
- editedCabalFile = "0c9zxmifhy2qjvsikgm168n8k8ka8ia88ldy8qjqkz5pqknlr9sj";
- libraryHaskellDepends = [ base containers universe-base ];
- description = "Universe instances for types from the base package";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "universe-instances-base_1_1" = callPackage
({ mkDerivation, base, universe-base }:
mkDerivation {
pname = "universe-instances-base";
version = "1.1";
sha256 = "17g4xf7zcxd9a2am0p401b0l87ynxwpm3c2lqc4vmw4sz071kccb";
+ revision = "1";
+ editedCabalFile = "0hjrjjl6v5q9f7cmxhrdxfdk1l86im0b8anxkpgrry7s8q998979";
libraryHaskellDepends = [ base universe-base ];
description = "Universe instances for types from the base package";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"universe-instances-extended" = callPackage
@@ -237351,67 +241626,53 @@ self: {
pname = "universe-instances-extended";
version = "1.1";
sha256 = "12ads0n5md27wznrv7ah668ip2pp3gryn8d6my74kyhsz6g2fn5q";
+ revision = "1";
+ editedCabalFile = "02267na4xac77q4rnsy53h8nh0gfcmjzkb89qmi4qmvpps8h15y5";
libraryHaskellDepends = [ adjunctions base comonad universe-base ];
description = "Universe instances for types from selected extra packages";
license = stdenv.lib.licenses.bsd3;
+ }) {};
+
+ "universe-instances-extended_1_1_1" = callPackage
+ ({ mkDerivation, adjunctions, base, comonad, containers
+ , contravariant, universe-base
+ }:
+ mkDerivation {
+ pname = "universe-instances-extended";
+ version = "1.1.1";
+ sha256 = "1ppklq2rjcryld9d9kdzz55vfllfpxxgsvvkhpd1jrvhyj51yahh";
+ libraryHaskellDepends = [
+ adjunctions base comonad containers contravariant universe-base
+ ];
+ description = "Universe instances for types from selected extra packages";
+ license = stdenv.lib.licenses.bsd3;
hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"universe-instances-trans" = callPackage
- ({ mkDerivation, base, mtl, transformers, universe-base
- , universe-instances-base
- }:
- mkDerivation {
- pname = "universe-instances-trans";
- version = "1.0.0.1";
- sha256 = "03iix0bdhfi4qlgwr8sl3gsqck6lsbkqgx245w2z5yaaxgqpq10d";
- revision = "1";
- editedCabalFile = "0dcwgbgmbkjwzbxlncpl1b5hgjrmkl73djknjkhbnh02pysbwv69";
- libraryHaskellDepends = [
- base mtl transformers universe-base universe-instances-base
- ];
- description = "Universe instances for types from the transformers and mtl packages";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "universe-instances-trans_1_1" = callPackage
({ mkDerivation, base, universe-base }:
mkDerivation {
pname = "universe-instances-trans";
version = "1.1";
sha256 = "0dp37rb61g5mqj4kfkgi6zxcjhrm9npz197sksqwg1skgjdgbbn6";
+ revision = "1";
+ editedCabalFile = "0pyqcg8mfw6gg7gxxd46xq3hnhcpd39g7jb9q1awcdipzq7xjrh2";
libraryHaskellDepends = [ base universe-base ];
description = "Universe instances for types from the transformers and mtl packages";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"universe-reverse-instances" = callPackage
- ({ mkDerivation, base, containers, universe-instances-base }:
- mkDerivation {
- pname = "universe-reverse-instances";
- version = "1.0";
- sha256 = "0jcd7qyvzq8xxv9d3hfi0f1h48xdsy9r9xnxgxc7ggga4szirm79";
- revision = "2";
- editedCabalFile = "0cpnsip1iakwkgnwnd21gwrc8qbifzpff6agjwm34jgkq9j646k8";
- libraryHaskellDepends = [
- base containers universe-instances-base
- ];
- description = "instances of standard classes that are made possible by enumerations";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "universe-reverse-instances_1_1" = callPackage
({ mkDerivation, base, containers, universe-base }:
mkDerivation {
pname = "universe-reverse-instances";
version = "1.1";
sha256 = "0pdmv146ap0dh38mxhjf11jx3fbr9im7mc0zxb3bsnwpfrv1kfqd";
+ revision = "2";
+ editedCabalFile = "1ls6hss9mrdk535k9ssy4lv01gbw11pbqiikpv2m8sjmh65fjilx";
libraryHaskellDepends = [ base containers universe-base ];
description = "Instances of standard classes that are made possible by enumerations";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"universe-th" = callPackage
@@ -237466,14 +241727,42 @@ self: {
broken = true;
}) {};
+ "universum_1_6_0" = callPackage
+ ({ mkDerivation, base, bytestring, containers, deepseq, doctest
+ , gauge, ghc-prim, Glob, hashable, hedgehog, microlens
+ , microlens-mtl, mtl, safe-exceptions, stm, tasty, tasty-hedgehog
+ , text, transformers, unordered-containers, utf8-string, vector
+ }:
+ mkDerivation {
+ pname = "universum";
+ version = "1.6.0";
+ sha256 = "12gz4hpwmykb73dplbd8j628f54ipk0pygrswy0k1k7j68awnjl6";
+ libraryHaskellDepends = [
+ base bytestring containers deepseq ghc-prim hashable microlens
+ microlens-mtl mtl safe-exceptions stm text transformers
+ unordered-containers utf8-string vector
+ ];
+ testHaskellDepends = [
+ base bytestring doctest Glob hedgehog tasty tasty-hedgehog text
+ utf8-string
+ ];
+ benchmarkHaskellDepends = [
+ base containers gauge text unordered-containers
+ ];
+ description = "Custom prelude used in Serokell";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"unix_2_7_2_2" = callPackage
({ mkDerivation, base, bytestring, time }:
mkDerivation {
pname = "unix";
version = "2.7.2.2";
sha256 = "1b6ygkasn5bvmdci8g3zjkahl34kfqhf5jrayibvnrcdnaqlxpcq";
- revision = "2";
- editedCabalFile = "0d6dv944rp8g69p336b1ik9xl1f182jd8lz82ykhfjhasw8d1waf";
+ revision = "3";
+ editedCabalFile = "1bbn41bx46b9h8hbri50rw69996h75nfhm9zgyvnr8lzgfhnk4p6";
libraryHaskellDepends = [ base bytestring time ];
description = "POSIX functionality";
license = stdenv.lib.licenses.bsd3;
@@ -237495,10 +241784,8 @@ self: {
({ mkDerivation, base, unix }:
mkDerivation {
pname = "unix-compat";
- version = "0.5.1";
- sha256 = "0llwl7rp63fy2ychwdclz1afj45pbin5pfl01dvn6rwhvmwhr7d3";
- revision = "1";
- editedCabalFile = "0c4ak3y72nhv3nf025cyfi1dri2wjmsal3icjwj0aczmlb0imwrd";
+ version = "0.5.2";
+ sha256 = "1a8brv9fax76b1fymslzyghwa6ma8yijiyyhn12msl3i5x24x6k5";
libraryHaskellDepends = [ base unix ];
description = "Portable POSIX-compatibility layer";
license = stdenv.lib.licenses.bsd3;
@@ -237600,8 +241887,8 @@ self: {
}:
mkDerivation {
pname = "unix-time";
- version = "0.4.5";
- sha256 = "1bwg132x2613k93wxka17461fc72wrjy5vmgcyami0nn5b30ay7y";
+ version = "0.4.7";
+ sha256 = "02fyh298lm8jsg52i3z0ikazwz477ljqjmhnqr2d88grmn5ky8qr";
libraryHaskellDepends = [ base binary bytestring old-time ];
testHaskellDepends = [
base bytestring hspec old-locale old-time QuickCheck time
@@ -237632,6 +241919,8 @@ self: {
];
description = "Bidirectional JSON parsing and generation";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"unlambda" = callPackage
@@ -237660,25 +241949,25 @@ self: {
}) {};
"unliftio" = callPackage
- ({ mkDerivation, async, base, containers, deepseq, directory
- , filepath, gauge, hspec, process, QuickCheck, stm, time
+ ({ mkDerivation, async, base, bytestring, containers, deepseq
+ , directory, filepath, gauge, hspec, process, QuickCheck, stm, time
, transformers, unix, unliftio-core
}:
mkDerivation {
pname = "unliftio";
- version = "0.2.10";
- sha256 = "0p0vrw8yxfc5d31zybx08mp302fafs0a6lwq3n40qd1wiy2nw78l";
+ version = "0.2.12";
+ sha256 = "02gy1zrxgzg4xmzm8lafsf1nyr3as1q20r8ld73xg3q7rkag9acg";
libraryHaskellDepends = [
- async base deepseq directory filepath process stm time transformers
- unix unliftio-core
+ async base bytestring deepseq directory filepath process stm time
+ transformers unix unliftio-core
];
testHaskellDepends = [
- async base containers deepseq directory filepath hspec process
- QuickCheck stm time transformers unix unliftio-core
+ async base bytestring containers deepseq directory filepath hspec
+ process QuickCheck stm time transformers unix unliftio-core
];
benchmarkHaskellDepends = [
- async base deepseq directory filepath gauge process stm time
- transformers unix unliftio-core
+ async base bytestring deepseq directory filepath gauge process stm
+ time transformers unix unliftio-core
];
description = "The MonadUnliftIO typeclass for unlifting monads to IO (batteries included)";
license = stdenv.lib.licenses.mit;
@@ -237771,29 +242060,6 @@ self: {
}) {};
"unordered-containers" = callPackage
- ({ mkDerivation, base, bytestring, ChasingBottoms, containers
- , criterion, deepseq, deepseq-generics, hashable, hashmap, HUnit
- , mtl, QuickCheck, random, test-framework, test-framework-hunit
- , test-framework-quickcheck2
- }:
- mkDerivation {
- pname = "unordered-containers";
- version = "0.2.9.0";
- sha256 = "0l4264p0av12cc6i8gls13q8y27x12z2ar4x34n3x59y99fcnc37";
- libraryHaskellDepends = [ base deepseq hashable ];
- testHaskellDepends = [
- base ChasingBottoms containers hashable HUnit QuickCheck
- test-framework test-framework-hunit test-framework-quickcheck2
- ];
- benchmarkHaskellDepends = [
- base bytestring containers criterion deepseq deepseq-generics
- hashable hashmap mtl random
- ];
- description = "Efficient hashing-based container types";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "unordered-containers_0_2_10_0" = callPackage
({ mkDerivation, base, bytestring, ChasingBottoms, containers
, criterion, deepseq, deepseq-generics, hashable, hashmap, HUnit
, mtl, QuickCheck, random, test-framework, test-framework-hunit
@@ -237816,7 +242082,6 @@ self: {
];
description = "Efficient hashing-based container types";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"unordered-containers-rematch" = callPackage
@@ -238312,6 +242577,22 @@ self: {
broken = true;
}) {};
+ "urbit-hob" = callPackage
+ ({ mkDerivation, base, bytestring, cereal, containers, murmur3
+ , text
+ }:
+ mkDerivation {
+ pname = "urbit-hob";
+ version = "0.1.0";
+ sha256 = "01mrj3irlsqfxvswm00k893n6wybc6wxcqddd645wb9q5mpzdsqi";
+ libraryHaskellDepends = [
+ base bytestring cereal containers murmur3 text
+ ];
+ testHaskellDepends = [ base ];
+ description = "Hoon-style atom manipulation and printing functions";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"ureader" = callPackage
({ mkDerivation, ansi-wl-pprint, async, base, bytestring
, containers, curl, data-default, deepseq, directory, download-curl
@@ -238728,6 +243009,17 @@ self: {
broken = true;
}) {};
+ "usa-holidays" = callPackage
+ ({ mkDerivation, base, doctest, doctest-discover, hspec, time }:
+ mkDerivation {
+ pname = "usa-holidays";
+ version = "0.1.0.1";
+ sha256 = "04biw4l5rpfcflrmcn45hlirq26bpzs27745jhyr32gl6mpnqb12";
+ libraryHaskellDepends = [ base time ];
+ testHaskellDepends = [ base doctest doctest-discover hspec time ];
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"usb" = callPackage
({ mkDerivation, base, bindings-libusb, bytestring, containers
, ghc-prim, text, vector
@@ -238860,6 +243152,8 @@ self: {
];
description = "The UserId type and useful instances for web development";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"users" = callPackage
@@ -239123,6 +243417,8 @@ self: {
testHaskellDepends = [ base smallcheck tasty tasty-smallcheck ];
description = "Utilities for universal types";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"utility-ht" = callPackage
@@ -239339,8 +243635,8 @@ self: {
pname = "uuid";
version = "1.3.13";
sha256 = "09xhk42yhxvqmka0iqrv3338asncz8cap3j0ic0ps896f2581b6z";
- revision = "2";
- editedCabalFile = "0m185q62jkfb5jsv358nxbnrkv8y8hd0qqvgvh22wvc5g9ipz0r9";
+ revision = "3";
+ editedCabalFile = "1p2srrapgx1f3zkdjjzm5g0dyfpg1h2g056la85xmpyjs77la2rq";
libraryHaskellDepends = [
base binary bytestring cryptohash-md5 cryptohash-sha1 entropy
network-info random text time uuid-types
@@ -239406,13 +243702,15 @@ self: {
}:
mkDerivation {
pname = "uuid-orphans";
- version = "1.4.2";
- sha256 = "1rsaskv8xhj773abijsq3xi3maa0ixw1k2qywcmw4bdm25pyxsr2";
+ version = "1.4.3";
+ sha256 = "0bfjyc6dg0k7vrd0i1w7ijdld3ns46jdy3dhybh9r2k08kr7fkgy";
libraryHaskellDepends = [
base safecopy text th-lift uuid-types web-routes
];
description = "Orphan instances for the UUID datatype";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"uuid-quasi" = callPackage
@@ -239565,6 +243863,8 @@ self: {
testHaskellDepends = [ base process ];
description = "the cabal companion";
license = stdenv.lib.licenses.gpl3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"vabal-lib" = callPackage
@@ -239683,17 +243983,15 @@ self: {
];
description = "Runs commands on remote machines using ssh";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"valid" = callPackage
- ({ mkDerivation, base }:
+ ({ mkDerivation, base, util }:
mkDerivation {
pname = "valid";
- version = "0.1.0.0";
- sha256 = "10nrr48ki8vxckbz1q24nn2x8vwflj4ndgvlj99ishyypb1ijx37";
- libraryHaskellDepends = [ base ];
+ version = "0.1.1.0";
+ sha256 = "1c029mb3szixs9rr5i7ri2nm0ya5gv5r6bv8hzsyw90ys5nbgcz5";
+ libraryHaskellDepends = [ base util ];
description = "Type isomorphic to `Either` with `Applicative` instance which combines errors";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -239751,6 +244049,8 @@ self: {
pname = "validated-literals";
version = "0.3.0";
sha256 = "1k77jp19kl7h4v9hl2jhsmbq8dhzl8z9sgkw1jxx1rblm3fszjx1";
+ revision = "1";
+ editedCabalFile = "1l6b488pnarmx4a1cysbx0lpcx0kvrs4x3bc4sinpnzv0r5az4z4";
libraryHaskellDepends = [ base template-haskell ];
testHaskellDepends = [
base bytestring deepseq tasty tasty-hunit tasty-travis
@@ -239758,8 +244058,6 @@ self: {
];
description = "Compile-time checking for partial smart-constructors";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"validated-types" = callPackage
@@ -239777,24 +244075,6 @@ self: {
}) {};
"validation" = callPackage
- ({ mkDerivation, base, bifunctors, deepseq, hedgehog, HUnit, lens
- , semigroupoids, semigroups
- }:
- mkDerivation {
- pname = "validation";
- version = "1";
- sha256 = "08drmdvyzg2frbb26icy1mlz52xv0l6gi3v8gb7xp0vrcci5libh";
- revision = "1";
- editedCabalFile = "1x1g4nannz81j1h64l1m3ancc96zc57d1bjhj1wk7bwn1xxbi5h3";
- libraryHaskellDepends = [
- base bifunctors deepseq lens semigroupoids semigroups
- ];
- testHaskellDepends = [ base hedgehog HUnit lens semigroups ];
- description = "A data-type like Either but with an accumulating Applicative";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "validation_1_1" = callPackage
({ mkDerivation, base, bifunctors, deepseq, hedgehog, HUnit, lens
, semigroupoids, semigroups
}:
@@ -239810,7 +244090,6 @@ self: {
testHaskellDepends = [ base hedgehog HUnit lens semigroups ];
description = "A data-type like Either but with an accumulating Applicative";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"validations" = callPackage
@@ -240151,8 +244430,8 @@ self: {
}:
mkDerivation {
pname = "varying";
- version = "0.7.1.0";
- sha256 = "0lb76yqhb6jyfi046cy0axadi10n2h155dhi9c8sqrlwyc0n7hlx";
+ version = "0.7.1.1";
+ sha256 = "03k41nik9nl3qqb4xrwfrqwc58wpdcdfmjls84fp140n2pwgd5av";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base contravariant transformers ];
@@ -240169,8 +244448,8 @@ self: {
}:
mkDerivation {
pname = "vault";
- version = "0.3.1.2";
- sha256 = "072mbrihsdsb8c6xvg6lvk0rqjgvxvi8qkg4n6wwym5hq0pfa04y";
+ version = "0.3.1.3";
+ sha256 = "0vdm472vn734xa27jjm2mjacl37mxiqaaahvm4hzqjgyh4cqq377";
libraryHaskellDepends = [
base containers hashable semigroups unordered-containers
];
@@ -240192,8 +244471,6 @@ self: {
];
description = "Client library for HashiCorp's Vault tool (via HTTP API)";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"vault-tool-server" = callPackage
@@ -240430,10 +244707,10 @@ self: {
}:
mkDerivation {
pname = "vec";
- version = "0.1.1";
- sha256 = "1ryc6jshm26dh21xlf4wg4fhkw035bxx4smd3xyisjqm7nncq7n5";
+ version = "0.1.1.1";
+ sha256 = "0gzypyi4vv5ajysbmnpicm8r2qh95nmmrj9l6hp30b95i36cb5as";
revision = "1";
- editedCabalFile = "0yaqc8ci0iy46fimznmr499c5ygrvhfspwbkxdhn112zrci3b7af";
+ editedCabalFile = "137f3zjj0fwn3dmynvjg7k4v7k9h24a1gzqfma36hd2svksg8c3d";
libraryHaskellDepends = [
adjunctions base base-compat deepseq distributive fin hashable lens
semigroupoids transformers
@@ -240442,8 +244719,6 @@ self: {
benchmarkHaskellDepends = [ base criterion fin vector ];
description = "Vec: length-indexed (sized) list";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"vect" = callPackage
@@ -240569,6 +244844,8 @@ self: {
pname = "vector-binary-instances";
version = "0.2.5.1";
sha256 = "04n5cqm1v95pw1bp68l9drjkxqiy2vswxdq0fy1rqcgxisgvji9r";
+ revision = "1";
+ editedCabalFile = "1p7cbxdpix0rakvggnnb06kcrb787fyyqlzric6i4s3rn34547q8";
libraryHaskellDepends = [ base binary vector ];
testHaskellDepends = [ base binary tasty tasty-quickcheck vector ];
benchmarkHaskellDepends = [
@@ -240710,8 +244987,6 @@ self: {
];
description = "Utilities for the \"vector\" library";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"vector-fftw" = callPackage
@@ -240841,23 +245116,6 @@ self: {
}) {};
"vector-sized" = callPackage
- ({ mkDerivation, adjunctions, base, comonad, deepseq, distributive
- , finite-typelits, hashable, indexed-list-literals, primitive
- , vector
- }:
- mkDerivation {
- pname = "vector-sized";
- version = "1.2.0.0";
- sha256 = "04r43b30vayg56n88b5r3b5krh2kjxnqgmr4kx052bgpl8k6zh54";
- libraryHaskellDepends = [
- adjunctions base comonad deepseq distributive finite-typelits
- hashable indexed-list-literals primitive vector
- ];
- description = "Size tagged vectors";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "vector-sized_1_2_0_1" = callPackage
({ mkDerivation, adjunctions, base, comonad, deepseq, distributive
, finite-typelits, hashable, indexed-list-literals, primitive
, vector
@@ -240872,23 +245130,9 @@ self: {
];
description = "Size tagged vectors";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"vector-space" = callPackage
- ({ mkDerivation, base, Boolean, MemoTrie, NumInstances }:
- mkDerivation {
- pname = "vector-space";
- version = "0.15";
- sha256 = "03swlbn0x8gfb7bilxmh3zckprjc6v64bildmhwzlimjvd1v8jb8";
- revision = "1";
- editedCabalFile = "19549mrhg3x0d1ancrxyvrskd6p4x11iprnv0b0d84q7sc40fa8w";
- libraryHaskellDepends = [ base Boolean MemoTrie NumInstances ];
- description = "Vector & affine spaces, linear maps, and derivatives";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "vector-space_0_16" = callPackage
({ mkDerivation, base, Boolean, MemoTrie, NumInstances }:
mkDerivation {
pname = "vector-space";
@@ -240897,7 +245141,6 @@ self: {
libraryHaskellDepends = [ base Boolean MemoTrie NumInstances ];
description = "Vector & affine spaces, linear maps, and derivatives";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"vector-space-map" = callPackage
@@ -240910,6 +245153,8 @@ self: {
testHaskellDepends = [ base doctest ];
description = "vector-space operations for finite maps using Data.Map";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"vector-space-opengl" = callPackage
@@ -241005,6 +245250,8 @@ self: {
pname = "vector-th-unbox";
version = "0.2.1.6";
sha256 = "0d82x55f5vvr1jvaia382m23rs690lg55pvavv8f4ph0y6kd91xy";
+ revision = "1";
+ editedCabalFile = "1bpxdliw7jmks1rkmb8hbr7hng3niz1pfc6n3s8ndj1acrksmfmv";
libraryHaskellDepends = [ base template-haskell vector ];
testHaskellDepends = [ base data-default vector ];
description = "Deriver for Data.Vector.Unboxed using Template Haskell";
@@ -241044,6 +245291,24 @@ self: {
broken = true;
}) {};
+ "vega-view" = callPackage
+ ({ mkDerivation, aeson, base, blaze-html, bytestring, directory
+ , filepath, http-types, scotty, text, unordered-containers
+ }:
+ mkDerivation {
+ pname = "vega-view";
+ version = "0.2.0.2";
+ sha256 = "0r9l77xx0bdrpn0jj432cdrw6xw9ni09f08n70kik57raay04bnq";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ aeson base blaze-html bytestring directory filepath http-types
+ scotty text unordered-containers
+ ];
+ description = "Easily view Vega or Vega-Lite visualizations";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"verbalexpressions" = callPackage
({ mkDerivation, base, regex-pcre }:
mkDerivation {
@@ -241058,17 +245323,6 @@ self: {
}) {};
"verbosity" = callPackage
- ({ mkDerivation, base, binary, data-default-class, deepseq }:
- mkDerivation {
- pname = "verbosity";
- version = "0.2.3.0";
- sha256 = "0r7jj2h7xzz3i8ck00z19h4bfr4r4nxfzi6ya9kppcda92myak4b";
- libraryHaskellDepends = [ base binary data-default-class deepseq ];
- description = "Simple enum that encodes application verbosity";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "verbosity_0_3_0_0" = callPackage
({ mkDerivation, base, binary, data-default-class, deepseq, dhall
, generic-lens, serialise
}:
@@ -241081,7 +245335,6 @@ self: {
];
description = "Simple enum that encodes application verbosity";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"verdict" = callPackage
@@ -241131,8 +245384,8 @@ self: {
}:
mkDerivation {
pname = "verifiable-expressions";
- version = "0.4.0";
- sha256 = "0s0wqhss8155xy2gkdwylvp61cn0ra5245fa5l2k9rvqr8xxrfkd";
+ version = "0.6.0";
+ sha256 = "1drb5zkpm5zn765fkp2p7jq69q50f9577rz9bs76cp0gvccan8my";
libraryHaskellDepends = [
base containers lens mtl sbv transformers union vinyl
];
@@ -241223,8 +245476,8 @@ self: {
}:
mkDerivation {
pname = "versions";
- version = "3.5.1";
- sha256 = "1qbihyqw99wkdmslvxqkj6h8x0ih9w86h4s7k51maaicmgijm94w";
+ version = "3.5.1.1";
+ sha256 = "1cs004ixw6rp2zg9hyw4yf0n15rq3s1ns9yy18rr8sxmcsw6jb9g";
libraryHaskellDepends = [ base deepseq hashable megaparsec text ];
testHaskellDepends = [
base base-prelude checkers megaparsec microlens QuickCheck tasty
@@ -241373,8 +245626,8 @@ self: {
}:
mkDerivation {
pname = "viewprof";
- version = "0.0.0.28";
- sha256 = "1l2cjisay7vbqb64xd4lkz594x2ji2gs249h9j4anbifzg6bbjb2";
+ version = "0.0.0.29";
+ sha256 = "1cy1p1dq6blval791x01rpf1ihqawyj1shfgz46hmmfx1f5dlcdv";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
@@ -241385,6 +245638,25 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "viewprof_0_0_0_30" = callPackage
+ ({ mkDerivation, base, brick, containers, directory, ghc-prof, lens
+ , scientific, text, vector, vector-algorithms, vty
+ }:
+ mkDerivation {
+ pname = "viewprof";
+ version = "0.0.0.30";
+ sha256 = "0l3hf7dj9y4zr6qzih3xl3yz56pjd4gy9jfk9aqypv2rcvwh1w17";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base brick containers directory ghc-prof lens scientific text
+ vector vector-algorithms vty
+ ];
+ description = "Text-based interactive GHC .prof viewer";
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"views" = callPackage
({ mkDerivation, base, mtl }:
mkDerivation {
@@ -241462,8 +245734,6 @@ self: {
executableHaskellDepends = [ base ];
description = "Frontend for video metadata tagging tools";
license = stdenv.lib.licenses.bsd2;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"vimus" = callPackage
@@ -241520,28 +245790,6 @@ self: {
}) {};
"vinyl" = callPackage
- ({ mkDerivation, aeson, array, base, criterion, doctest, ghc-prim
- , hspec, lens, lens-aeson, linear, microlens, mtl, mwc-random
- , primitive, should-not-typecheck, singletons, tagged, text
- , unordered-containers, vector
- }:
- mkDerivation {
- pname = "vinyl";
- version = "0.10.0.1";
- sha256 = "1x2x40cgyhj3yzw4kajssjvlnwlcrrnz7vaa8as2k9xmv9x76ig4";
- libraryHaskellDepends = [ array base ghc-prim ];
- testHaskellDepends = [
- aeson base doctest hspec lens lens-aeson microlens mtl
- should-not-typecheck singletons text unordered-containers vector
- ];
- benchmarkHaskellDepends = [
- base criterion linear microlens mwc-random primitive tagged vector
- ];
- description = "Extensible Records";
- license = stdenv.lib.licenses.mit;
- }) {};
-
- "vinyl_0_11_0" = callPackage
({ mkDerivation, aeson, array, base, criterion, doctest, ghc-prim
, hspec, lens, lens-aeson, linear, microlens, mtl, mwc-random
, primitive, should-not-typecheck, singletons, tagged, text
@@ -241562,6 +245810,7 @@ self: {
description = "Extensible Records";
license = stdenv.lib.licenses.mit;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"vinyl-generics" = callPackage
@@ -241579,6 +245828,8 @@ self: {
];
description = "Convert plain records to vinyl (and vice versa), generically";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"vinyl-gl" = callPackage
@@ -241600,6 +245851,8 @@ self: {
];
description = "Utilities for working with OpenGL's GLSL shading language and vinyl records";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"vinyl-json" = callPackage
@@ -241629,6 +245882,8 @@ self: {
libraryHaskellDepends = [ base vinyl ];
description = "Syntax sugar for vinyl records using overloaded labels";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"vinyl-operational" = callPackage
@@ -241809,18 +246064,18 @@ self: {
"visualize-cbn" = callPackage
({ mkDerivation, ansi-terminal, base, blaze-html, blaze-markup
- , containers, data-default, optparse-applicative, parsec
+ , containers, data-default, mtl, optparse-applicative, parsec
, template-haskell, text
}:
mkDerivation {
pname = "visualize-cbn";
- version = "0.1.0.1";
- sha256 = "0aj8s3gn2qha409n1sf9a5psh5mvb2qcmqax62c2miw5i79rh7ap";
+ version = "0.1.0.2";
+ sha256 = "1vlidljhy0ykflgf7k8gawlqazcrkvcs7r8wbv7h9x6wfnx0w334";
isLibrary = false;
isExecutable = true;
executableHaskellDepends = [
ansi-terminal base blaze-html blaze-markup containers data-default
- optparse-applicative parsec template-haskell text
+ mtl optparse-applicative parsec template-haskell text
];
description = "Visualize CBN reduction";
license = stdenv.lib.licenses.bsd3;
@@ -242228,45 +246483,46 @@ self: {
({ mkDerivation, base }:
mkDerivation {
pname = "vulkan-api";
- version = "1.1.4.0";
- sha256 = "10q98v71miyb1yhnpvz9dlhjs38m4pbz7x1hndz8cfsnjk3n5b22";
+ version = "1.3.0.0";
+ sha256 = "1afnj053p3azm9wwdsr49w2s82k64lb0f12ak2g2v8vgidrjl7qk";
libraryHaskellDepends = [ base ];
description = "Low-level low-overhead vulkan api bindings";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"waargonaut" = callPackage
({ mkDerivation, attoparsec, base, bifunctors, bytestring, Cabal
, cabal-doctest, containers, contravariant, digit, directory
, distributive, doctest, errors, filepath, generics-sop, hedgehog
- , hedgehog-fn, hoist-error, hw-balancedparens, hw-bits, hw-json
- , hw-prim, hw-rankselect, lens, mmorph, mtl, nats, natural, parsers
- , scientific, semigroupoids, semigroups, tagged, tasty
- , tasty-expected-failure, tasty-golden, tasty-hedgehog, tasty-hunit
- , template-haskell, text, transformers, unordered-containers
- , vector, witherable, wl-pprint-annotated, zippers
+ , hedgehog-fn, hoist-error, hw-balancedparens, hw-bits
+ , hw-json-standard-cursor, hw-prim, hw-rankselect, lens, mmorph
+ , mtl, nats, natural, parsers, records-sop, scientific
+ , semigroupoids, semigroups, tagged, tasty, tasty-expected-failure
+ , tasty-golden, tasty-hedgehog, tasty-hunit, template-haskell, text
+ , transformers, unordered-containers, vector, witherable
+ , wl-pprint-annotated, zippers
}:
mkDerivation {
pname = "waargonaut";
- version = "0.6.1.0";
- sha256 = "0ygwwiq3nr8szp5vhs9306pwf9mqh7x75vsh1wfh369h6psqqp11";
+ version = "0.8.0.0";
+ sha256 = "1pvs379s1w5nzr5hb1c5fbbbjgvsnvggj3l1l5j6klm0zf1y7x4h";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
attoparsec base bifunctors bytestring containers contravariant
digit distributive errors generics-sop hoist-error
- hw-balancedparens hw-bits hw-json hw-prim hw-rankselect lens mmorph
- mtl nats natural parsers scientific semigroupoids semigroups tagged
- text transformers unordered-containers vector witherable
- wl-pprint-annotated zippers
+ hw-balancedparens hw-bits hw-json-standard-cursor hw-prim
+ hw-rankselect lens mmorph mtl nats natural parsers records-sop
+ scientific semigroupoids semigroups tagged text transformers
+ unordered-containers vector witherable wl-pprint-annotated zippers
];
testHaskellDepends = [
attoparsec base bytestring containers contravariant digit directory
distributive doctest filepath generics-sop hedgehog hedgehog-fn
- lens mtl natural scientific semigroupoids semigroups tagged tasty
- tasty-expected-failure tasty-golden tasty-hedgehog tasty-hunit
- template-haskell text unordered-containers vector zippers
+ hw-balancedparens hw-bits hw-json-standard-cursor hw-prim
+ hw-rankselect lens mtl natural scientific semigroupoids semigroups
+ tagged tasty tasty-expected-failure tasty-golden tasty-hedgehog
+ tasty-hunit template-haskell text unordered-containers vector
+ zippers
];
description = "JSON wrangling";
license = stdenv.lib.licenses.bsd3;
@@ -242351,8 +246607,8 @@ self: {
}:
mkDerivation {
pname = "wai";
- version = "3.2.2";
- sha256 = "1qbzq4k8b23pg1knw5y99rdvkfywnncwqkfrkp2w7g6p054xar1a";
+ version = "3.2.2.1";
+ sha256 = "058871axlq6r0gcqxbjw37w57df9xbv81dmz99b1zq59wf329xzy";
libraryHaskellDepends = [
base bytestring http-types network text transformers vault
];
@@ -242392,8 +246648,8 @@ self: {
}:
mkDerivation {
pname = "wai-app-file-cgi";
- version = "3.1.7";
- sha256 = "17cj50p16adyzqr28f28ll64g3gr8ri756dngrdgly0g7060fg53";
+ version = "3.1.9";
+ sha256 = "1knf3dmal9immsxj4cvqf2i4ijlrn17fick6slxb1mrms7f50wkq";
libraryHaskellDepends = [
array attoparsec attoparsec-conduit base bytestring
case-insensitive conduit conduit-extra containers
@@ -242407,6 +246663,8 @@ self: {
];
description = "File/CGI/Rev Proxy App of WAI";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"wai-app-static" = callPackage
@@ -242421,8 +246679,8 @@ self: {
pname = "wai-app-static";
version = "3.1.6.3";
sha256 = "0s6bpz5gmjy797bnnw1y5mwy9761h46bjp1srnrh7cxlnvm93c4c";
- revision = "2";
- editedCabalFile = "17wd7cxqwimhww53qihchrr62hnzirggk86migi9bcwv4wjykmqc";
+ revision = "3";
+ editedCabalFile = "01qzkb1niv0jzbsh802gw1a9w85h0nhp1vd6hln958hsxf25n0d9";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -242445,24 +246703,6 @@ self: {
}) {};
"wai-cli" = callPackage
- ({ mkDerivation, ansi-terminal, base, http-types, monads-tf
- , network, options, socket-activation, stm, streaming-commons, unix
- , wai, wai-extra, warp, warp-tls
- }:
- mkDerivation {
- pname = "wai-cli";
- version = "0.1.1";
- sha256 = "0qi84p1x5b0hvsdgd03fn80j3ai0s0svcl340z9fvz6lrgcfnhq6";
- libraryHaskellDepends = [
- ansi-terminal base http-types monads-tf network options
- socket-activation stm streaming-commons unix wai wai-extra warp
- warp-tls
- ];
- description = "Command line runner for Wai apps (using Warp) with TLS, CGI, socket activation & graceful shutdown";
- license = stdenv.lib.licenses.publicDomain;
- }) {};
-
- "wai-cli_0_2_1" = callPackage
({ mkDerivation, ansi-terminal, base, http-types, iproute
, monads-tf, network, options, socket-activation, stm
, streaming-commons, unix, wai, wai-extra, warp, warp-tls
@@ -242480,7 +246720,6 @@ self: {
];
description = "Command line runner for Wai apps (using Warp) with TLS, CGI, socket activation & graceful shutdown";
license = stdenv.lib.licenses.publicDomain;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"wai-conduit" = callPackage
@@ -242506,8 +246745,8 @@ self: {
}:
mkDerivation {
pname = "wai-cors";
- version = "0.2.6";
- sha256 = "11m9d8hn9pb9brprz0kglldmcqj83kjkjdwdpxdbl12430ii1ina";
+ version = "0.2.7";
+ sha256 = "10gv3jjlkcb13031frr818p56v2s0qf6dqjsfpwlhwdxdssvx5r5";
enableSeparateDataOutput = true;
libraryHaskellDepends = [
attoparsec base base-unicode-symbols bytestring case-insensitive
@@ -242624,10 +246863,8 @@ self: {
}:
mkDerivation {
pname = "wai-extra";
- version = "3.0.26";
- sha256 = "1vax87kchm92az0f4axn793bavp8pwjh7a9mc1lwwwni678h35gq";
- revision = "1";
- editedCabalFile = "02475xywcp12xysa6l2p6ibx800978lsa6rkgx9gnhans7z6yj16";
+ version = "3.0.28";
+ sha256 = "0iky7k4kirngvk1p2nz19zgzffb5hppfaxdjan80v06ikc8w1wm7";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -242741,6 +246978,8 @@ self: {
pname = "wai-handler-launch";
version = "3.0.2.4";
sha256 = "0019vz9ha2mvliz3drjbj62v26mwhl9bl1vqr06ki40865hrr78f";
+ revision = "1";
+ editedCabalFile = "1mjxbzw3a5wybcp8s4x05rx91p2qaabpfci6w2k6p6nw4rjvfijv";
libraryHaskellDepends = [
async base bytestring http-types process streaming-commons
transformers wai warp
@@ -242840,8 +247079,8 @@ self: {
}:
mkDerivation {
pname = "wai-http2-extra";
- version = "0.1.0";
- sha256 = "1gqm346vr2asshb55dyml28ifiyb975zj5mklg0yfjq2hpbn97ld";
+ version = "0.1.2";
+ sha256 = "1f4ddgrprdnbpdbb6jj8n2ib206dlj5mgf8ar6r1ls2p90vpn6yr";
libraryHaskellDepends = [
auto-update base bytestring containers http-types wai warp word8
];
@@ -242930,8 +247169,8 @@ self: {
}:
mkDerivation {
pname = "wai-logger";
- version = "2.3.4";
- sha256 = "004ng1r1qij0frlsyps0nz9b0ijn0zlk3i6qbb7lq1f4209ikzlk";
+ version = "2.3.5";
+ sha256 = "05gbipyw0672irynsc3wqvvgzqixhmq69ay2mxh2phb734r8bcmm";
setupHaskellDepends = [ base Cabal cabal-doctest ];
libraryHaskellDepends = [
base byteorder bytestring fast-logger http-types network wai
@@ -243591,8 +247830,8 @@ self: {
}:
mkDerivation {
pname = "wai-middleware-throttle";
- version = "0.3.0.0";
- sha256 = "16qhfqc0f5ahz2qc04a4by6iw1agxzcf14aqqkf1arf0hknvbvvv";
+ version = "0.3.0.1";
+ sha256 = "0mpw7b56k1a89kzwa3v4c4ff66m0py9s9p2jan2zhp8k3b8862jq";
libraryHaskellDepends = [
base bytestring bytestring-builder cache clock containers hashable
http-types mtl network safe-exceptions stm text token-bucket
@@ -244197,8 +248436,8 @@ self: {
pname = "warc";
version = "1.0.4";
sha256 = "1mxfm8kdvm0l1lnzma4n9mriz94ypckxqcz1f34fa3n1j3ckc45b";
- revision = "1";
- editedCabalFile = "1mdd3r1lg92rchy1zv4jwvrsn6x3wnplhbnwavpx0nivf3xp7m8q";
+ revision = "2";
+ editedCabalFile = "0vlh1wivzs2ikmp3jbx4m0zxyvkjy1rn6xhbgaz1n5vi37hid74n";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -244221,36 +248460,68 @@ self: {
, gauge, ghc-prim, hashable, hspec, http-client, http-date
, http-types, http2, HUnit, iproute, lifted-base, network, process
, QuickCheck, simple-sendfile, stm, streaming-commons, text, time
- , transformers, unix, unix-compat, vault, wai, word8
+ , time-manager, transformers, unix, unix-compat, vault, wai, word8
}:
mkDerivation {
pname = "warp";
- version = "3.2.27";
- sha256 = "0p2w88q0zd55ms20qylipbi0qzbf324i9r8b9qqxyds5yc1anq76";
- revision = "1";
- editedCabalFile = "19ggrgki5rdmphpg0sh5n286yfzdz6pi31gksdbbpfzxk29wx4ab";
+ version = "3.2.28";
+ sha256 = "0w2w3aiccpb2f8zssqiszcxzqdysihqi5xply23lwif5arz4saw7";
libraryHaskellDepends = [
array async auto-update base bsb-http-chunked bytestring
case-insensitive containers ghc-prim hashable http-date http-types
http2 iproute network simple-sendfile stm streaming-commons text
- unix unix-compat vault wai word8
+ time-manager unix unix-compat vault wai word8
];
testHaskellDepends = [
array async auto-update base bsb-http-chunked bytestring
case-insensitive containers directory doctest ghc-prim hashable
hspec http-client http-date http-types http2 HUnit iproute
lifted-base network process QuickCheck simple-sendfile stm
- streaming-commons text time transformers unix unix-compat vault wai
- word8
+ streaming-commons text time time-manager transformers unix
+ unix-compat vault wai word8
];
benchmarkHaskellDepends = [
auto-update base bytestring containers gauge hashable http-date
- http-types network unix unix-compat
+ http-types network time-manager unix unix-compat
];
description = "A fast, light-weight web server for WAI applications";
license = stdenv.lib.licenses.mit;
}) {};
+ "warp_3_3_1" = callPackage
+ ({ mkDerivation, array, async, auto-update, base, bsb-http-chunked
+ , bytestring, case-insensitive, containers, directory, gauge
+ , ghc-prim, hashable, hspec, http-client, http-date, http-types
+ , http2, HUnit, iproute, lifted-base, network, process, QuickCheck
+ , simple-sendfile, stm, streaming-commons, text, time, time-manager
+ , unix, unix-compat, vault, wai, word8
+ }:
+ mkDerivation {
+ pname = "warp";
+ version = "3.3.1";
+ sha256 = "0qay9h5cby5vcb1nkbrn4ch5xmj2i01g8f3psmvbgs854w2x0ygn";
+ libraryHaskellDepends = [
+ array async auto-update base bsb-http-chunked bytestring
+ case-insensitive containers ghc-prim hashable http-date http-types
+ http2 iproute network simple-sendfile stm streaming-commons text
+ time-manager unix unix-compat vault wai word8
+ ];
+ testHaskellDepends = [
+ array async auto-update base bsb-http-chunked bytestring
+ case-insensitive containers directory ghc-prim hashable hspec
+ http-client http-date http-types http2 HUnit iproute lifted-base
+ network process QuickCheck simple-sendfile stm streaming-commons
+ text time time-manager unix unix-compat vault wai word8
+ ];
+ benchmarkHaskellDepends = [
+ auto-update base bytestring containers gauge hashable http-date
+ http-types network time-manager unix unix-compat
+ ];
+ description = "A fast, light-weight web server for WAI applications";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"warp-dynamic" = callPackage
({ mkDerivation, base, data-default, dyre, http-types, wai, warp }:
mkDerivation {
@@ -244317,8 +248588,8 @@ self: {
}:
mkDerivation {
pname = "warp-tls";
- version = "3.2.5";
- sha256 = "1z98jxn1l9mp6hh2jja6cz48nx8zvp5iqrr23wmbp235vva4llmf";
+ version = "3.2.7";
+ sha256 = "1h6m9jhvk4ai945p5s6sa9lxq40cn00gjfj4yiqhj2q5ymxfgfba";
libraryHaskellDepends = [
base bytestring cryptonite data-default-class network
streaming-commons tls tls-session-manager wai warp
@@ -244327,6 +248598,23 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "warp-tls_3_2_8" = callPackage
+ ({ mkDerivation, base, bytestring, cryptonite, data-default-class
+ , network, streaming-commons, tls, tls-session-manager, wai, warp
+ }:
+ mkDerivation {
+ pname = "warp-tls";
+ version = "3.2.8";
+ sha256 = "1z5jzl40x1gp249fk8h51gkw6m3hzxchm2bp3kbpqdgmw8r5im8y";
+ libraryHaskellDepends = [
+ base bytestring cryptonite data-default-class network
+ streaming-commons tls tls-session-manager wai warp
+ ];
+ description = "HTTP over TLS support for Warp via the TLS package";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"warp-tls-uid" = callPackage
({ mkDerivation, base, bytestring, data-default, network
, streaming-commons, tls, unix, wai, warp, warp-tls, x509
@@ -244469,28 +248757,6 @@ self: {
}) {};
"wave" = callPackage
- ({ mkDerivation, base, bytestring, cereal, containers
- , data-default-class, hspec, QuickCheck, temporary, transformers
- }:
- mkDerivation {
- pname = "wave";
- version = "0.1.5";
- sha256 = "03zycmwrchhqvi37fdvlzz2d1vl4hy0i8xyys1zznw38qfq0h2i5";
- revision = "2";
- editedCabalFile = "0zs0mw42z9xzs1r935pd5dssf0x10qbkhxlpfknv0x75n2k0azzj";
- enableSeparateDataOutput = true;
- libraryHaskellDepends = [
- base bytestring cereal containers data-default-class transformers
- ];
- testHaskellDepends = [
- base bytestring containers data-default-class hspec QuickCheck
- temporary
- ];
- description = "Work with WAVE and RF64 files";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "wave_0_2_0" = callPackage
({ mkDerivation, base, bytestring, cereal, containers, hspec
, hspec-discover, QuickCheck, temporary, transformers
}:
@@ -244508,7 +248774,6 @@ self: {
testToolDepends = [ hspec-discover ];
description = "Work with WAVE and RF64 files";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"wavefront" = callPackage
@@ -244709,6 +248974,8 @@ self: {
testHaskellDepends = [ base bytestring HUnit network-uri text ];
description = "Composable, reversible, efficient web routing using invertible invariants and bijections";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"web-mongrel2" = callPackage
@@ -244838,6 +249105,17 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "web-routes-generics" = callPackage
+ ({ mkDerivation, base, parsec, text, web-routes }:
+ mkDerivation {
+ pname = "web-routes-generics";
+ version = "0.1.0.1";
+ sha256 = "16nykkzjznl9zq2qgn87lpqxkz8yx83s7949lv4vzapp4hjv04yy";
+ libraryHaskellDepends = [ base parsec text web-routes ];
+ description = "portable, type-safe URL routing";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"web-routes-happstack" = callPackage
({ mkDerivation, base, bytestring, happstack-server, text
, web-routes
@@ -244851,6 +249129,8 @@ self: {
];
description = "Adds support for using web-routes with Happstack";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"web-routes-hsp" = callPackage
@@ -244917,6 +249197,8 @@ self: {
testHaskellDepends = [ base hspec HUnit QuickCheck web-routes ];
description = "Support for deriving PathInfo using Template Haskell";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"web-routes-transformers" = callPackage
@@ -245063,8 +249345,8 @@ self: {
}:
mkDerivation {
pname = "webby";
- version = "0.1.0.2";
- sha256 = "1yndypl1x5pcxhc1mp2midbidbzvgvjy3s7h076lxpra1dvi6h7r";
+ version = "0.1.1";
+ sha256 = "0415vhp8h3lr8wlfkg6a7njq19ka1wyi9klcmsd117phd9m46whb";
libraryHaskellDepends = [
aeson base binary bytestring fast-logger formatting http-api-data
http-types monad-logger protolude resourcet text unliftio
@@ -245077,6 +249359,8 @@ self: {
];
description = "A super-simple web server framework";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"webcloud" = callPackage
@@ -245164,18 +249448,18 @@ self: {
"webdriver" = callPackage
({ mkDerivation, aeson, attoparsec, base, base64-bytestring
- , bytestring, data-default-class, directory, directory-tree
- , exceptions, filepath, http-client, http-types, lifted-base
- , monad-control, network, network-uri, scientific, temporary, text
- , time, transformers, transformers-base, unordered-containers
- , vector, zip-archive
+ , bytestring, call-stack, data-default-class, directory
+ , directory-tree, exceptions, filepath, http-client, http-types
+ , lifted-base, monad-control, network, network-uri, scientific
+ , temporary, text, time, transformers, transformers-base
+ , unordered-containers, vector, zip-archive
}:
mkDerivation {
pname = "webdriver";
- version = "0.8.5";
- sha256 = "1gn168cjwlpv2f4jchj48a9pvk8zqdxsf9qpx0lsj4bl2j5pl5m8";
+ version = "0.9.0.1";
+ sha256 = "1w6z95swrz5ijmcxh0x3i521kpxqfp6pxgqfqwix7fc4jy450n8k";
libraryHaskellDepends = [
- aeson attoparsec base base64-bytestring bytestring
+ aeson attoparsec base base64-bytestring bytestring call-stack
data-default-class directory directory-tree exceptions filepath
http-client http-types lifted-base monad-control network
network-uri scientific temporary text time transformers
@@ -245204,6 +249488,8 @@ self: {
];
description = "Webdriver actions to assist with testing a webpage which uses Angular.Js";
license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"webdriver-snoy" = callPackage
@@ -245458,8 +249744,6 @@ self: {
libraryPkgconfigDepends = [ webkitgtk ];
description = "JavaScriptCore FFI from webkitgtk";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {inherit (pkgs) webkitgtk;};
"webkitgtk3" = callPackage
@@ -245661,6 +249945,8 @@ self: {
];
description = "Composable websockets clients";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"websockets-snap" = callPackage
@@ -245753,6 +250039,35 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "weekdaze" = callPackage
+ ({ mkDerivation, array, base, bytestring, Cabal, containers
+ , cryptohash, data-default, deepseq, directory, extra, factory
+ , filepath, hxt, mtl, parallel, QuickCheck, random, time, toolshed
+ , unix, xhtml
+ }:
+ mkDerivation {
+ pname = "weekdaze";
+ version = "0.0.0.1";
+ sha256 = "13nxi6gqm4by2y6wd3vwj0rqjircpfng0nz5h2spci2jrbmv52d3";
+ isLibrary = true;
+ isExecutable = true;
+ enableSeparateDataOutput = true;
+ libraryHaskellDepends = [
+ array base bytestring Cabal containers cryptohash data-default
+ deepseq extra factory filepath hxt mtl random toolshed xhtml
+ ];
+ executableHaskellDepends = [
+ array base Cabal containers cryptohash data-default deepseq
+ directory extra factory filepath hxt mtl parallel random time
+ toolshed unix xhtml
+ ];
+ testHaskellDepends = [
+ array base Cabal containers factory mtl QuickCheck toolshed
+ ];
+ description = "A school-timetable problem-solver";
+ license = "GPL";
+ }) {};
+
"weigh" = callPackage
({ mkDerivation, base, deepseq, mtl, process, split, temporary }:
mkDerivation {
@@ -245931,6 +250246,17 @@ self: {
broken = true;
}) {};
+ "which" = callPackage
+ ({ mkDerivation, base, shelly, template-haskell, text }:
+ mkDerivation {
+ pname = "which";
+ version = "0.1.0.0";
+ sha256 = "0w1jik9bkndx8ssd00i1ii686kb0fd2sc0slr7ki561g5z1xa7dz";
+ libraryHaskellDepends = [ base shelly template-haskell text ];
+ description = "Determine the full path to an executable";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"while-lang-parser" = callPackage
({ mkDerivation, base, indents, parsec }:
mkDerivation {
@@ -246006,6 +250332,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "wholepixels" = callPackage
+ ({ mkDerivation, base, cairo, colour, directory, hsnoise
+ , MonadRandom, mtl, random, random-fu, random-shuffle
+ , random-source, relude, temporary, time
+ }:
+ mkDerivation {
+ pname = "wholepixels";
+ version = "1.1";
+ sha256 = "1xxdf0znpa54bzifj1apmc9yda4mdhy1vzdm58ihnywi9mch1c0l";
+ libraryHaskellDepends = [
+ base cairo colour directory hsnoise MonadRandom mtl random
+ random-fu random-shuffle random-source relude temporary time
+ ];
+ license = stdenv.lib.licenses.asl20;
+ }) {};
+
"why3" = callPackage
({ mkDerivation, alex, array, base, bytestring, containers, deepseq
, directory, filepath, happy, monadLib, pretty, pretty-show
@@ -246260,55 +250602,17 @@ self: {
}) {};
"winery" = callPackage
- ({ mkDerivation, aeson, base, binary, bytestring, cassava
- , containers, cpu, deepseq, directory, gauge, hashable, megaparsec
- , mtl, prettyprinter, prettyprinter-ansi-terminal, QuickCheck
- , scientific, semigroups, serialise, text, time, transformers
- , unordered-containers, vector
- }:
- mkDerivation {
- pname = "winery";
- version = "0.3.1";
- sha256 = "1f63fgw7ky6kd0dk41rhqjxgvi33pa5ffrv0vk2i7dr88bmc1wgy";
- isLibrary = true;
- isExecutable = true;
- libraryHaskellDepends = [
- aeson base bytestring containers cpu hashable megaparsec mtl
- prettyprinter prettyprinter-ansi-terminal scientific semigroups
- text time transformers unordered-containers vector
- ];
- executableHaskellDepends = [
- aeson base bytestring containers cpu hashable megaparsec mtl
- prettyprinter prettyprinter-ansi-terminal scientific semigroups
- text time transformers unordered-containers vector
- ];
- testHaskellDepends = [
- aeson base bytestring containers cpu hashable megaparsec mtl
- prettyprinter prettyprinter-ansi-terminal QuickCheck scientific
- semigroups text time transformers unordered-containers vector
- ];
- benchmarkHaskellDepends = [
- aeson base binary bytestring cassava containers cpu deepseq
- directory gauge hashable megaparsec mtl prettyprinter
- prettyprinter-ansi-terminal scientific semigroups serialise text
- time transformers unordered-containers vector
- ];
- description = "Sustainable serialisation library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "winery_1_1_1" = callPackage
({ mkDerivation, aeson, base, binary, bytestring, cereal
, containers, cpu, deepseq, directory, fast-builder, gauge
, hashable, HUnit, megaparsec, mtl, prettyprinter
, prettyprinter-ansi-terminal, QuickCheck, quickcheck-instances
- , scientific, semigroups, serialise, text, time, transformers
- , unordered-containers, vector
+ , scientific, semigroups, serialise, store, text, time
+ , transformers, unordered-containers, vector
}:
mkDerivation {
pname = "winery";
- version = "1.1.1";
- sha256 = "0jyr5vwz55rjwqvvh2ys3aq426i6jhfrykz0mx4kidr9l9yd0yls";
+ version = "1.1.2";
+ sha256 = "1hxs3pyv0icqmnmnjadr86d55jdi689hgcjgx3lq7skxs3hp0qf1";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -246328,11 +250632,10 @@ self: {
];
benchmarkHaskellDepends = [
aeson base binary bytestring cereal deepseq directory gauge
- serialise text
+ serialise store text
];
description = "A compact, well-typed seralisation format for Haskell values";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"winio" = callPackage
@@ -246466,21 +250769,22 @@ self: {
testHaskellDepends = [ base conduit hspec HUnit mtl ];
description = "Run computations that depend on one or more elements in a stream";
license = stdenv.lib.licenses.gpl3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"witherable" = callPackage
- ({ mkDerivation, base, base-orphans, containers, hashable
- , transformers, transformers-compat, unordered-containers, vector
+ ({ mkDerivation, base, base-orphans, containers, hashable, lens
+ , monoidal-containers, transformers, transformers-compat
+ , unordered-containers, vector
}:
mkDerivation {
pname = "witherable";
- version = "0.3";
- sha256 = "1h0rvygjr76avrpp8dzhama1accm2i9q3245m54543nm6yfn23v2";
+ version = "0.3.3";
+ sha256 = "0pp2p2zhdjv3kq8dywcj9hcdaf0i37vihaxcxbs889iiw2cgy9hj";
+ revision = "1";
+ editedCabalFile = "1v10h2biv5k9amahw77755k60wgqp0d36d1rb2vy8qjh07gnnanr";
libraryHaskellDepends = [
- base base-orphans containers hashable transformers
- transformers-compat unordered-containers vector
+ base base-orphans containers hashable lens monoidal-containers
+ transformers transformers-compat unordered-containers vector
];
description = "filterable traversable";
license = stdenv.lib.licenses.bsd3;
@@ -246710,7 +251014,7 @@ self: {
license = stdenv.lib.licenses.isc;
hydraPlatforms = stdenv.lib.platforms.none;
broken = true;
- }) {inherit (pkgs) wlc;};
+ }) {wlc = null;};
"wobsurv" = callPackage
({ mkDerivation, aeson, attoparsec, base-prelude, bytestring
@@ -246830,6 +251134,8 @@ self: {
testHaskellDepends = [ base smallcheck tasty tasty-smallcheck ];
description = "Words of arbitrary size";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"word-trie" = callPackage
@@ -246955,8 +251261,6 @@ self: {
benchmarkHaskellDepends = [ base criterion pandoc text ];
description = "Get word counts and distributions";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"wordcloud" = callPackage
@@ -246982,6 +251286,37 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "wordify" = callPackage
+ ({ mkDerivation, array, base, containers, directory, errors
+ , filepath, HUnit, listsafe, mtl, parsec, QuickCheck, random, safe
+ , semigroups, split, test-framework, test-framework-hunit
+ , test-framework-quickcheck2, transformers, unordered-containers
+ }:
+ mkDerivation {
+ pname = "wordify";
+ version = "0.1.0.0";
+ sha256 = "1iw3sk8sspscl29chnvd69g8l7pfz7vlpj9vyai8fkwipmc3jrwv";
+ isLibrary = true;
+ isExecutable = true;
+ libraryHaskellDepends = [
+ array base containers errors listsafe mtl parsec random safe
+ semigroups split transformers unordered-containers
+ ];
+ executableHaskellDepends = [
+ array base containers errors listsafe mtl parsec random safe
+ semigroups split transformers unordered-containers
+ ];
+ testHaskellDepends = [
+ array base containers directory errors filepath HUnit listsafe mtl
+ parsec QuickCheck random safe semigroups split test-framework
+ test-framework-hunit test-framework-quickcheck2 transformers
+ unordered-containers
+ ];
+ license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"wordlist" = callPackage
({ mkDerivation, base, MonadRandom, optparse-applicative, text
, vector
@@ -247225,14 +251560,16 @@ self: {
"world-peace" = callPackage
({ mkDerivation, aeson, base, deepseq, doctest, Glob, profunctors
- , tagged
+ , should-not-typecheck, tagged, tasty, tasty-hunit, text
}:
mkDerivation {
pname = "world-peace";
- version = "0.1.0.0";
- sha256 = "19anwyh9n9agpcdhzfbh0l28nm0mdn8616klihbw55yxkiwqaxkk";
+ version = "1.0.1.0";
+ sha256 = "1fx7y9h1yyjc5xn1mpbkwas6p6h06rivzndb545z1qnnp583vzwp";
libraryHaskellDepends = [ aeson base deepseq profunctors tagged ];
- testHaskellDepends = [ base doctest Glob ];
+ testHaskellDepends = [
+ base doctest Glob should-not-typecheck tasty tasty-hunit text
+ ];
description = "Open Union and Open Product Types";
license = stdenv.lib.licenses.bsd3;
}) {};
@@ -247315,6 +251652,8 @@ self: {
pname = "wrecker";
version = "1.3.1.0";
sha256 = "0z0a9k88npw09n54mplg2aa98y4p8kmk14v8ks2dc2ilf24lrri7";
+ revision = "1";
+ editedCabalFile = "1wzpw1cdbrb3mz7qaissdjidwdafhv9jph14066gn9dnyffg1w02";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -247373,46 +251712,6 @@ self: {
}) {};
"wreq" = callPackage
- ({ mkDerivation, aeson, aeson-pretty, attoparsec
- , authenticate-oauth, base, base16-bytestring, base64-bytestring
- , bytestring, Cabal, cabal-doctest, case-insensitive, containers
- , cryptonite, directory, doctest, exceptions, filepath, ghc-prim
- , hashable, http-client, http-client-tls, http-types, HUnit, lens
- , lens-aeson, memory, mime-types, network-info, psqueues
- , QuickCheck, snap-core, snap-server, template-haskell, temporary
- , test-framework, test-framework-hunit, test-framework-quickcheck2
- , text, time, time-locale-compat, transformers, unix-compat
- , unordered-containers, uuid, vector
- }:
- mkDerivation {
- pname = "wreq";
- version = "0.5.3.1";
- sha256 = "1i2f2bxx84l8qzkz9v3qhx5sbl78ysc3vqadfhrxk3h0ljklwfz3";
- revision = "1";
- editedCabalFile = "016sf02sm58fjsa7nmj12y8m2rwg34md8cnn533kdxm831jc9zyb";
- isLibrary = true;
- isExecutable = true;
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- aeson attoparsec authenticate-oauth base base16-bytestring
- bytestring case-insensitive containers cryptonite exceptions
- ghc-prim hashable http-client http-client-tls http-types lens
- lens-aeson memory mime-types psqueues template-haskell text time
- time-locale-compat unordered-containers
- ];
- testHaskellDepends = [
- aeson aeson-pretty base base64-bytestring bytestring
- case-insensitive containers directory doctest filepath hashable
- http-client http-types HUnit lens lens-aeson network-info
- QuickCheck snap-core snap-server temporary test-framework
- test-framework-hunit test-framework-quickcheck2 text time
- transformers unix-compat unordered-containers uuid vector
- ];
- description = "An easy-to-use HTTP client library";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "wreq_0_5_3_2" = callPackage
({ mkDerivation, aeson, aeson-pretty, attoparsec
, authenticate-oauth, base, base16-bytestring, base64-bytestring
, bytestring, Cabal, cabal-doctest, case-insensitive, containers
@@ -247428,6 +251727,8 @@ self: {
pname = "wreq";
version = "0.5.3.2";
sha256 = "16xls71aby6jqc1frhwnlfvz1iwj1ms0rw9xzif02sn84470gn36";
+ revision = "1";
+ editedCabalFile = "0gz674sb266hv6si9l79c3bv7n2nbssl1262c24in79sk27887gb";
isLibrary = true;
isExecutable = true;
setupHaskellDepends = [ base Cabal cabal-doctest ];
@@ -247448,7 +251749,6 @@ self: {
];
description = "An easy-to-use HTTP client library";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"wreq-sb" = callPackage
@@ -247716,8 +252016,6 @@ self: {
];
description = "Unagi chan based websocket client";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"wsdl" = callPackage
@@ -247849,6 +252147,21 @@ self: {
broken = true;
}) {};
+ "wu-wei" = callPackage
+ ({ mkDerivation, base, directory, symbolic-link, unix, yaml }:
+ mkDerivation {
+ pname = "wu-wei";
+ version = "0.1.0.2";
+ sha256 = "001bs5s92wpj1s7pjg7knc9w4czjq2zwm0wj6gjjxgymvvwjax7w";
+ isLibrary = false;
+ isExecutable = true;
+ executableHaskellDepends = [
+ base directory symbolic-link unix yaml
+ ];
+ description = "Unimportant Unix adminstration tool";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"wumpus-basic" = callPackage
({ mkDerivation, base, containers, directory, filepath
, vector-space, wumpus-core
@@ -247938,8 +252251,8 @@ self: {
}:
mkDerivation {
pname = "wuss";
- version = "1.1.13";
- sha256 = "16ll4wfk3i570id7ki5ab34q5wwzgr5k7fqmx8hvnxmdsr8h85cy";
+ version = "1.1.14";
+ sha256 = "1r0ljrp7kfksvmm4029b633cypdg5lqk5nga31si22bi5yz7fkiq";
libraryHaskellDepends = [
base bytestring connection network websockets
];
@@ -248358,8 +252671,8 @@ self: {
}:
mkDerivation {
pname = "xcffib";
- version = "0.8.0";
- sha256 = "1779i674hppv6samc73mq56pcyr2w69iw0p8qbqdmf3ixsaqhanf";
+ version = "0.8.1";
+ sha256 = "183f7rpckhr3cipwci6hfhrfilqq5jijkwp98r5wi0l43inj29jc";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -248454,6 +252767,22 @@ self: {
license = stdenv.lib.licenses.bsd3;
}) {};
+ "xdg-desktop-entry" = callPackage
+ ({ mkDerivation, base, ConfigFile, directory, either, filepath
+ , multimap, safe, transformers, unix
+ }:
+ mkDerivation {
+ pname = "xdg-desktop-entry";
+ version = "0.1.1.0";
+ sha256 = "0ss4marv4lyh94v9x12sy5wfdsiw0jppqpgndmg1w8b3mfk0d6s2";
+ libraryHaskellDepends = [
+ base ConfigFile directory either filepath multimap safe
+ transformers unix
+ ];
+ description = "Parse files conforming to the xdg desktop entry spec";
+ license = stdenv.lib.licenses.bsd3;
+ }) {};
+
"xdg-userdirs" = callPackage
({ mkDerivation, base, containers, directory, filepath, xdg-basedir
}:
@@ -248816,8 +253145,8 @@ self: {
}:
mkDerivation {
pname = "xls";
- version = "0.1.1";
- sha256 = "0a09zw90xiaklr68w932md38s95jzwid914lw7frnf3qd8j12xq9";
+ version = "0.1.2";
+ sha256 = "0gpfc973g6ha9w3fqm9dy59kgl21hw20l2b444rrz0lxs9ix1wyp";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -248898,6 +253227,8 @@ self: {
testHaskellDepends = [ base ];
description = "Xlsx table cell value extraction utility";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"xlsx-templater" = callPackage
@@ -249059,6 +253390,24 @@ self: {
hydraPlatforms = stdenv.lib.platforms.none;
}) {};
+ "xml-conduit-stylist" = callPackage
+ ({ mkDerivation, base, containers, css-syntax, network-uri, stylist
+ , text, unordered-containers, xml-conduit
+ }:
+ mkDerivation {
+ pname = "xml-conduit-stylist";
+ version = "1.0.0.0";
+ sha256 = "1w9ig4mr0l0kj8mk7sfsyv8p77k91l93cfpbpvmg32q9wffz2r02";
+ libraryHaskellDepends = [
+ base containers css-syntax network-uri stylist text
+ unordered-containers xml-conduit
+ ];
+ description = "Bridge between xml-conduit/html-conduit and stylist";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"xml-conduit-writer" = callPackage
({ mkDerivation, base, containers, data-default, dlist, mtl, text
, xml-conduit, xml-types
@@ -249136,8 +253485,8 @@ self: {
}:
mkDerivation {
pname = "xml-hamlet";
- version = "0.5.0";
- sha256 = "18qmj14jzh379fni477h5hrzcy1x7dajfczx1s3w4wiyv2mc1kkv";
+ version = "0.5.0.1";
+ sha256 = "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj";
libraryHaskellDepends = [
base containers parsec shakespeare template-haskell text
xml-conduit
@@ -249253,8 +253602,8 @@ self: {
pname = "xml-lens";
version = "0.1.6.3";
sha256 = "1s5ivi3caz56g5yyg3pharshs3wcygcssjx1sm9aw4mv3ylz3msd";
- revision = "1";
- editedCabalFile = "1fbk4wv7zr10wsh8a0svd799im64fybnlb09rjpfl2pvb6i6h1qs";
+ revision = "2";
+ editedCabalFile = "1phba1j6ggxfsq4ivhd5wibzw1b9hwppqmgichyj3xg9z3widmnl";
libraryHaskellDepends = [
base case-insensitive containers lens text xml-conduit
];
@@ -249560,70 +253909,27 @@ self: {
}) {};
"xmlbf" = callPackage
- ({ mkDerivation, base, bytestring, containers, QuickCheck
- , quickcheck-instances, tasty, tasty-hunit, tasty-quickcheck, text
- , transformers, unordered-containers
- }:
- mkDerivation {
- pname = "xmlbf";
- version = "0.4.1";
- sha256 = "0xfw9z1l3ja4qq0lj9i2n81fdh43ggprsy8rm71pcdacnpl056hq";
- revision = "1";
- editedCabalFile = "0j5yvsz0ib5w80wp1gc0li376adw8l861xvf5paa2hdq55jkxvi6";
- libraryHaskellDepends = [
- base bytestring containers text transformers unordered-containers
- ];
- testHaskellDepends = [
- base bytestring QuickCheck quickcheck-instances tasty tasty-hunit
- tasty-quickcheck text transformers unordered-containers
- ];
- description = "XML back and forth! Parser, renderer, ToXml, FromXml, fixpoints";
- license = stdenv.lib.licenses.asl20;
- }) {};
-
- "xmlbf_0_5" = callPackage
({ mkDerivation, base, bytestring, containers, deepseq, QuickCheck
- , quickcheck-instances, tasty, tasty-hunit, tasty-quickcheck, text
- , transformers, unordered-containers
+ , quickcheck-instances, selective, tasty, tasty-hunit
+ , tasty-quickcheck, text, transformers, unordered-containers
}:
mkDerivation {
pname = "xmlbf";
- version = "0.5";
- sha256 = "1wm7xypplnz9sl6ckh8kjsb66pd2cqgr412sdhdm0d7y0yixv2zy";
+ version = "0.6";
+ sha256 = "02wcjmpgjla568ic621hglzkgqaiq9g1s93fq4iqq4lf20yszr9y";
libraryHaskellDepends = [
- base bytestring containers deepseq text transformers
+ base bytestring containers deepseq selective text transformers
unordered-containers
];
testHaskellDepends = [
- base bytestring deepseq QuickCheck quickcheck-instances tasty
- tasty-hunit tasty-quickcheck text transformers unordered-containers
+ base bytestring QuickCheck quickcheck-instances tasty tasty-hunit
+ tasty-quickcheck text transformers
];
description = "XML back and forth! Parser, renderer, ToXml, FromXml, fixpoints";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"xmlbf-xeno" = callPackage
- ({ mkDerivation, base, bytestring, html-entities, QuickCheck
- , quickcheck-instances, tasty, tasty-hunit, tasty-quickcheck, text
- , unordered-containers, xeno, xmlbf
- }:
- mkDerivation {
- pname = "xmlbf-xeno";
- version = "0.1.1";
- sha256 = "0cnxcw1sh92ljcpla2j7pg0md8yj7j48jgjlsn0f9ha0j90lw73c";
- libraryHaskellDepends = [
- base bytestring html-entities text unordered-containers xeno xmlbf
- ];
- testHaskellDepends = [
- base bytestring QuickCheck quickcheck-instances tasty tasty-hunit
- tasty-quickcheck text unordered-containers xmlbf
- ];
- description = "xeno backend support for the xmlbf library";
- license = stdenv.lib.licenses.asl20;
- }) {};
-
- "xmlbf-xeno_0_2" = callPackage
({ mkDerivation, base, bytestring, html-entities, QuickCheck
, quickcheck-instances, tasty, tasty-hunit, tasty-quickcheck, text
, unordered-containers, xeno, xmlbf
@@ -249642,6 +253948,7 @@ self: {
description = "xeno backend support for the xmlbf library";
license = stdenv.lib.licenses.asl20;
hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"xmlbf-xmlhtml" = callPackage
@@ -249663,8 +253970,6 @@ self: {
];
description = "xmlhtml backend support for the xmlbf library";
license = stdenv.lib.licenses.asl20;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"xmlgen" = callPackage
@@ -249781,8 +254086,8 @@ self: {
}:
mkDerivation {
pname = "xmobar";
- version = "0.29.5";
- sha256 = "0k5hjpr1vanj6hxf5mn3j5rfjrmiz4x29kcvi55d8qpzsan3iz0m";
+ version = "0.30";
+ sha256 = "1msyl3gy8cybdkx24k6ykcxjf95b5zid8b6vdwqmsamw1yrb3sgr";
configureFlags = [
"-fwith_alsa" "-fwith_conduit" "-fwith_datezone" "-fwith_dbus"
"-fwith_inotify" "-fwith_iwlib" "-fwith_mpd" "-fwith_mpris"
@@ -249985,8 +254290,8 @@ self: {
({ mkDerivation, base, containers, dbus, X11 }:
mkDerivation {
pname = "xmonad-spotify";
- version = "0.1.1.0";
- sha256 = "1pihi0959wys3sd4r8r1rmh5vx84174wmjpanbyihzjhykvf7n2j";
+ version = "0.1.2.2";
+ sha256 = "0hps37yqn3grgg65wm3j41dh40fqi64ni12mgk0lfigw2fghfnvj";
libraryHaskellDepends = [ base containers dbus X11 ];
description = "Bind media keys to work with Spotify";
license = stdenv.lib.licenses.bsd3;
@@ -250038,6 +254343,8 @@ self: {
pname = "xmonad-volume";
version = "0.1.1.0";
sha256 = "0bc52vy142hn75k52zz8afjfxwv86p73kmqmi48rqiws10kpnclw";
+ revision = "2";
+ editedCabalFile = "1m1kcsvz3h8qfdbsr7xjibay9377jqq6pj5mgq08s0kmgqi4h0wn";
libraryHaskellDepends = [
alsa-mixer base composition-prelude containers X11
];
@@ -250604,39 +254911,6 @@ self: {
}) {};
"yam" = callPackage
- ({ mkDerivation, aeson, base, base16-bytestring, binary, bytestring
- , data-default, fast-logger, hspec, http-client, http-types, lens
- , menshen, monad-logger, mtl, mwc-random, QuickCheck, reflection
- , salak, scientific, servant-client, servant-server
- , servant-swagger, servant-swagger-ui, swagger2, text
- , unliftio-core, unordered-containers, vault, vector, wai, warp
- }:
- mkDerivation {
- pname = "yam";
- version = "0.5.17";
- sha256 = "128h0j2v9jsr8hpk43hd75i62xasq3g40v0fk20yzp82avyirqzq";
- libraryHaskellDepends = [
- aeson base base16-bytestring binary bytestring data-default
- fast-logger http-client http-types lens menshen monad-logger mtl
- mwc-random reflection salak scientific servant-client
- servant-server servant-swagger servant-swagger-ui swagger2 text
- unliftio-core unordered-containers vault vector wai warp
- ];
- testHaskellDepends = [
- aeson base base16-bytestring binary bytestring data-default
- fast-logger hspec http-client http-types lens menshen monad-logger
- mtl mwc-random QuickCheck reflection salak scientific
- servant-client servant-server servant-swagger servant-swagger-ui
- swagger2 text unliftio-core unordered-containers vault vector wai
- warp
- ];
- description = "Yam Web";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "yam_0_6_1" = callPackage
({ mkDerivation, aeson, base, base16-bytestring, binary, bytestring
, data-default, exceptions, fast-logger, hspec, http-client
, http-types, lens, menshen, monad-logger, mtl, mwc-random
@@ -250647,8 +254921,8 @@ self: {
}:
mkDerivation {
pname = "yam";
- version = "0.6.1";
- sha256 = "1llgyx9giibm1yzgk61c47jnr0ppgj5q4sq0ml9bz99j5c16id70";
+ version = "0.7";
+ sha256 = "1b1igh82zhdbql4kfjxxh1rg1776x2yv2755hnvps5p06c2wap7z";
libraryHaskellDepends = [
aeson base base16-bytestring binary bytestring data-default
exceptions fast-logger http-client http-types lens menshen
@@ -250711,31 +254985,14 @@ self: {
}) {};
"yam-datasource" = callPackage
- ({ mkDerivation, base, conduit, persistent, resource-pool
- , resourcet, unliftio-core, yam
- }:
- mkDerivation {
- pname = "yam-datasource";
- version = "0.5.17";
- sha256 = "1ah2y614l0a3mkdrv6a4arbsy0a2wz7w7dwmkdf4rfl9zpm1lfsf";
- libraryHaskellDepends = [
- base conduit persistent resource-pool resourcet unliftio-core yam
- ];
- description = "Yam DataSource Middleware";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "yam-datasource_0_6_1" = callPackage
({ mkDerivation, base, conduit, data-default, monad-logger
, persistent, resource-pool, resourcet, salak, servant-server, text
, unliftio-core, yam
}:
mkDerivation {
pname = "yam-datasource";
- version = "0.6.1";
- sha256 = "1k373bhh7pyb6i021a0akvsjfkpw7h3vw33a2ag57f97yalfwha4";
+ version = "0.7";
+ sha256 = "0dkricvyypyggbmqp3mqryz7sw1z1z92ixnvz48lc8xqahvj0fsv";
libraryHaskellDepends = [
base conduit data-default monad-logger persistent resource-pool
resourcet salak servant-server text unliftio-core yam
@@ -250779,8 +255036,8 @@ self: {
}:
mkDerivation {
pname = "yam-redis";
- version = "0.6.1";
- sha256 = "07qswsac1ygsfm97njry4ar1j9hb6ghkzmna7hw7f7a1y77x9m9p";
+ version = "0.7";
+ sha256 = "0cw4prkmi2csmi1kw3k0lvvzhnl71f4fplsv3f2jxgcgviim89pw";
libraryHaskellDepends = [
base bytestring data-default hedis menshen monad-logger mtl salak
servant-server text yam
@@ -250909,8 +255166,8 @@ self: {
}:
mkDerivation {
pname = "yaml";
- version = "0.11.0.0";
- sha256 = "1gr72lb3zan7g9pxqzxn3zxcbnrkc0vapm2dvp1mdlm4576ncr76";
+ version = "0.11.1.2";
+ sha256 = "028pz77n92l6kjgjv263h4b6yhw1iibdbf3a3dkn5qnz537xpzhc";
configureFlags = [ "-fsystem-libyaml" ];
isLibrary = true;
isExecutable = true;
@@ -251135,8 +255392,8 @@ self: {
pname = "yampa-canvas";
version = "0.2.3";
sha256 = "0a1pq1psmc4490isr19z4prnqq1w3374vkfmzpw9s20s2p6k5y7r";
- revision = "1";
- editedCabalFile = "0i1nni9skh2xdp3z8gd137v0l7z8zxcmwhpaq1i4qbgx1llyi96b";
+ revision = "2";
+ editedCabalFile = "1zyb6z4q46f09lsnswk3z401p5nry65k5cp3jypbcwc8m122hgb1";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [ base blank-canvas stm time Yampa ];
@@ -251696,8 +255953,8 @@ self: {
}:
mkDerivation {
pname = "yesod-alerts";
- version = "0.1.2.0";
- sha256 = "0vqlkcb2q3wz6hp6ay6gj41vwlmq4x7flfbgq36ygnwwxjkwhllf";
+ version = "0.1.3.0";
+ sha256 = "1x7l1h4xziqg6fjjp5qnqdmbnrpiryzv37q322llnmsi1f89zvzv";
libraryHaskellDepends = [
alerts base blaze-html blaze-markup safe text yesod-core
];
@@ -251781,10 +256038,8 @@ self: {
}:
mkDerivation {
pname = "yesod-auth";
- version = "1.6.6";
- sha256 = "0ibmv3ghxrrjjjqb9jg4wnwr7w4hl4lsvwic13ys8fihg40ln6ka";
- revision = "1";
- editedCabalFile = "14l8v1znq9y628vc6vj7dlgbryjkhf09kk2l2f5spr697lygh3qp";
+ version = "1.6.8";
+ sha256 = "0d2nrzrqymbbp5hfwp7c6k6gr0vn6ladq0dl7wgwrybfx8nqgf65";
libraryHaskellDepends = [
aeson authenticate base base16-bytestring base64-bytestring binary
blaze-builder blaze-html blaze-markup bytestring conduit
@@ -252103,8 +256358,8 @@ self: {
}:
mkDerivation {
pname = "yesod-auth-oauth2";
- version = "0.6.1.1";
- sha256 = "19y5m94njn26vglnyrpzy59614dj7f7wbgnc354syr8qmdiliczp";
+ version = "0.6.1.2";
+ sha256 = "07jm60q1fbdk53ncirbi8clsimg28k9j12kaq0vx2apn2rlmdy2w";
isLibrary = true;
isExecutable = true;
libraryHaskellDepends = [
@@ -252362,8 +256617,8 @@ self: {
}:
mkDerivation {
pname = "yesod-core";
- version = "1.6.14";
- sha256 = "1p7rm95fb3d27khzq6c10mvqffj8jwiirgfy53hvi3x27w9hqg6s";
+ version = "1.6.16.1";
+ sha256 = "0a0yv7wkwvb0n6iia532y9nzrirgnm09pjc8hpm0lx4ff609pgd2";
libraryHaskellDepends = [
aeson auto-update base blaze-html blaze-markup bytestring
case-insensitive cereal clientsession conduit conduit-extra
@@ -252519,8 +256774,8 @@ self: {
}:
mkDerivation {
pname = "yesod-elements";
- version = "1.1";
- sha256 = "0rxx3lxl55q0mxdzfixwy2d0cnzmfxx2zg24k6kdgghg0k77g3d3";
+ version = "1.1.1";
+ sha256 = "0i2qx53jl1hspfs2dv7n28hnwskqs1hy5h7q0kpazn70691k1b9b";
libraryHaskellDepends = [
base blaze-html blaze-markup bytestring text yesod-core
];
@@ -252660,8 +256915,8 @@ self: {
}:
mkDerivation {
pname = "yesod-form";
- version = "1.6.4";
- sha256 = "0iqcrbmwhgfk78qi2n1n3i39izqr7km4i8fa1zmvplqkcbyi149c";
+ version = "1.6.6";
+ sha256 = "16m7m7yixsnka926znjy0xn0kp30mbvjq2f46rh987kdr28dks9p";
libraryHaskellDepends = [
aeson attoparsec base blaze-builder blaze-html blaze-markup
byteable bytestring containers data-default email-validate
@@ -252673,13 +256928,40 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "yesod-form_1_6_7" = callPackage
+ ({ mkDerivation, aeson, attoparsec, base, blaze-builder, blaze-html
+ , blaze-markup, byteable, bytestring, containers, data-default
+ , email-validate, hspec, network-uri, persistent, resourcet
+ , semigroups, shakespeare, text, time, transformers, wai
+ , xss-sanitize, yesod-core, yesod-persistent
+ }:
+ mkDerivation {
+ pname = "yesod-form";
+ version = "1.6.7";
+ sha256 = "0mny71dyp6cp5akyp5wvmrhmip5rkqi8ibdn3lipvmajx9h58r5d";
+ libraryHaskellDepends = [
+ aeson attoparsec base blaze-builder blaze-html blaze-markup
+ byteable bytestring containers data-default email-validate
+ network-uri persistent resourcet semigroups shakespeare text time
+ transformers wai xss-sanitize yesod-core yesod-persistent
+ ];
+ testHaskellDepends = [ base hspec text time ];
+ description = "Form handling support for Yesod Web Framework";
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ }) {};
+
"yesod-form-bootstrap4" = callPackage
- ({ mkDerivation, base, text, yesod-core, yesod-form }:
+ ({ mkDerivation, base, blaze-html, blaze-markup, shakespeare, text
+ , yesod-core, yesod-form
+ }:
mkDerivation {
pname = "yesod-form-bootstrap4";
- version = "2.1.0";
- sha256 = "1wf1jbhfs4f75977rnrrkahgysxqrcas4qi1ay1ggq29hp1z4hic";
- libraryHaskellDepends = [ base text yesod-core yesod-form ];
+ version = "2.1.2";
+ sha256 = "1rx18ik8y55697g9mjdfpgclkny4i9d996fm874ckdmq1qwzn84k";
+ libraryHaskellDepends = [
+ base blaze-html blaze-markup shakespeare text yesod-core yesod-form
+ ];
description = "renderBootstrap4";
license = stdenv.lib.licenses.mit;
}) {};
@@ -252723,6 +257005,22 @@ self: {
license = stdenv.lib.licenses.mit;
}) {};
+ "yesod-form-multi" = callPackage
+ ({ mkDerivation, base, containers, network-uri, shakespeare, text
+ , transformers, yesod-core, yesod-form
+ }:
+ mkDerivation {
+ pname = "yesod-form-multi";
+ version = "1.6.0";
+ sha256 = "162pyvyv5kv5bicl8ikvffnsyjqc8z0n758ycgnvwly0bvskrl37";
+ libraryHaskellDepends = [
+ base containers network-uri shakespeare text transformers
+ yesod-core yesod-form
+ ];
+ description = "Multi-input form handling for Yesod Web Framework";
+ license = stdenv.lib.licenses.mit;
+ }) {};
+
"yesod-form-richtext" = callPackage
({ mkDerivation, base, blaze-builder, blaze-html, shakespeare, text
, xss-sanitize, yesod-core, yesod-form
@@ -252995,8 +257293,6 @@ self: {
];
description = "A pagination approach for yesod";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"yesod-paypal-rest" = callPackage
@@ -253554,6 +257850,24 @@ self: {
broken = true;
}) {};
+ "yesod-static-remote" = callPackage
+ ({ mkDerivation, base, bytestring, directory, filepath, http-client
+ , http-client-tls, template-haskell, yesod-static
+ }:
+ mkDerivation {
+ pname = "yesod-static-remote";
+ version = "0.0.0.0";
+ sha256 = "03ry2712hg80w97p7k1r1gspzs3xyds28mapdl7axqzk9zpw1j75";
+ libraryHaskellDepends = [
+ base bytestring directory filepath http-client http-client-tls
+ template-haskell yesod-static
+ ];
+ testHaskellDepends = [ base yesod-static ];
+ license = stdenv.lib.licenses.mit;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
+ }) {};
+
"yesod-table" = callPackage
({ mkDerivation, base, bytestring, containers, contravariant
, semigroups, text, yesod-core
@@ -253618,8 +257932,8 @@ self: {
}:
mkDerivation {
pname = "yesod-test";
- version = "1.6.6.1";
- sha256 = "1mr0ad6z6s9rnxnv5ayg8xr93xfx9gxm8zym0866339w7p292wqd";
+ version = "1.6.6.2";
+ sha256 = "1c5q11f2wscapl6a16v1r5livjiy8i2iz5zvlcsx89ikrqgvfc58";
libraryHaskellDepends = [
attoparsec base blaze-builder blaze-html bytestring
case-insensitive conduit containers cookie hspec-core html-conduit
@@ -253739,8 +258053,8 @@ self: {
}:
mkDerivation {
pname = "yesod-websockets";
- version = "0.3.0.1";
- sha256 = "1k41qglb5fdzykyfpml4w74cg2m95ggm2jrnqy7bkj2l0fm4gjc6";
+ version = "0.3.0.2";
+ sha256 = "1k206l84g25xml8yg4q7i62x5aydxq2hni2fk2cc36dlvl0rgih1";
libraryHaskellDepends = [
base conduit mtl transformers unliftio wai-websockets websockets
yesod-core
@@ -253811,6 +258125,8 @@ self: {
];
description = "Yet Another Logger";
license = stdenv.lib.licenses.asl20;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"yggdrasil" = callPackage
@@ -253947,6 +258263,8 @@ self: {
libraryHaskellDepends = [ base containers split yi-language ];
description = "Simple mapping from colour names used in emacs to Color";
license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"yi-frontend-pango" = callPackage
@@ -254127,6 +258445,8 @@ self: {
];
description = "Collection of language-related Yi libraries";
license = stdenv.lib.licenses.gpl2;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {};
"yi-misc-modes" = callPackage
@@ -254688,6 +259008,8 @@ self: {
pname = "yx";
version = "0.0.2.0";
sha256 = "05xh7x02ddh87kwslgckzh3g5i22r01vfrb160gns3zl6fv8sj2z";
+ revision = "1";
+ editedCabalFile = "19px5wf8ca7awam013ij62z04rsplgn7ks56j8jzhznarsg45ksq";
libraryHaskellDepends = [ array base bytestring ];
testHaskellDepends = [ array base bytestring hspec ];
description = "Row-major coordinates";
@@ -254751,6 +259073,8 @@ self: {
testHaskellDepends = [ base hspec QuickCheck ];
description = "Bindings for the Z3 Theorem Prover";
license = stdenv.lib.licenses.bsd3;
+ hydraPlatforms = stdenv.lib.platforms.none;
+ broken = true;
}) {gomp = null; inherit (pkgs) z3;};
"z3-encoding" = callPackage
@@ -255112,29 +259436,6 @@ self: {
}) {};
"zeromq4-haskell" = callPackage
- ({ mkDerivation, async, base, bytestring, containers, exceptions
- , monad-control, QuickCheck, semigroups, tasty, tasty-hunit
- , tasty-quickcheck, transformers, transformers-base, zeromq
- }:
- mkDerivation {
- pname = "zeromq4-haskell";
- version = "0.7.0";
- sha256 = "17q756mldxx9b8a2nx9lvjrgvbmgjbnp896sqcgnijq7wr751m2q";
- libraryHaskellDepends = [
- async base bytestring containers exceptions monad-control
- semigroups transformers transformers-base
- ];
- libraryPkgconfigDepends = [ zeromq ];
- testHaskellDepends = [
- async base bytestring QuickCheck tasty tasty-hunit tasty-quickcheck
- ];
- description = "Bindings to ZeroMQ 4.x";
- license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {inherit (pkgs) zeromq;};
-
- "zeromq4-haskell_0_8_0" = callPackage
({ mkDerivation, async, base, bytestring, containers, exceptions
, monad-control, QuickCheck, semigroups, tasty, tasty-hunit
, tasty-quickcheck, transformers, transformers-base, zeromq
@@ -255153,7 +259454,6 @@ self: {
];
description = "Bindings to ZeroMQ 4.x";
license = stdenv.lib.licenses.mit;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {inherit (pkgs) zeromq;};
"zeromq4-patterns" = callPackage
@@ -255187,15 +259487,13 @@ self: {
}:
mkDerivation {
pname = "zeromq4-simple";
- version = "0.0.0";
- sha256 = "04i8ksdyf19yywjb0gfkbc0mx90vzvrld5ba7lbnlxvx6iwmah66";
+ version = "0.0.0.1";
+ sha256 = "0h16chz3x0ipdbw935fvfhpdljbknczk1ivf87519dkrl3c1ypjv";
libraryHaskellDepends = [
aeson base bytestring constraints hashable uuid zeromq4-haskell
];
description = "More constrained extensions to zeromq4-haskell";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"zeroth" = callPackage
@@ -255541,26 +259839,6 @@ self: {
}) {};
"zippers" = callPackage
- ({ mkDerivation, base, Cabal, cabal-doctest, criterion, doctest
- , lens, profunctors, semigroupoids, semigroups
- }:
- mkDerivation {
- pname = "zippers";
- version = "0.2.5";
- sha256 = "11f0jx0dbm2y9y5hnpakdvk9fmsm3awr2lcxp46dyma6arr7f4id";
- revision = "3";
- editedCabalFile = "0y0klc2jaj611cjvmqi95dyj9yvribf9xhibn1andrz5rs6ysz3p";
- setupHaskellDepends = [ base Cabal cabal-doctest ];
- libraryHaskellDepends = [
- base lens profunctors semigroupoids semigroups
- ];
- testHaskellDepends = [ base doctest ];
- benchmarkHaskellDepends = [ base criterion lens ];
- description = "Traversal based zippers";
- license = stdenv.lib.licenses.bsd3;
- }) {};
-
- "zippers_0_3" = callPackage
({ mkDerivation, base, Cabal, cabal-doctest, criterion, doctest
, fail, lens, profunctors, semigroupoids, semigroups
}:
@@ -255576,7 +259854,6 @@ self: {
benchmarkHaskellDepends = [ base criterion lens ];
description = "Traversal based zippers";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
}) {};
"zippo" = callPackage
@@ -255640,8 +259917,8 @@ self: {
}:
mkDerivation {
pname = "zlib";
- version = "0.6.2";
- sha256 = "1vbzf0awb6zb456xf48za1kl22018646cfzq4frvxgb9ay97vk0d";
+ version = "0.6.2.1";
+ sha256 = "1l11jraslcrp9d4wnhwfyhwk4fsiq1aq8i6vj81vcq1m2zzi1y7h";
libraryHaskellDepends = [ base bytestring ];
librarySystemDepends = [ zlib ];
testHaskellDepends = [
@@ -255975,28 +260252,6 @@ self: {
}) {};
"zstd" = callPackage
- ({ mkDerivation, base, bytestring, criterion, deepseq, ghc-prim
- , QuickCheck, test-framework, test-framework-quickcheck2, zlib
- }:
- mkDerivation {
- pname = "zstd";
- version = "0.1.0.0";
- sha256 = "1zsb8wgmd23gdzk26wf0i0q4n23qd5lagq6min7wz1yrk43q8x88";
- libraryHaskellDepends = [ base bytestring deepseq ghc-prim ];
- testHaskellDepends = [
- base bytestring QuickCheck test-framework
- test-framework-quickcheck2
- ];
- benchmarkHaskellDepends = [
- base bytestring criterion ghc-prim zlib
- ];
- description = "Haskell bindings to the Zstandard compression algorithm";
- license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
- }) {};
-
- "zstd_0_1_1_2" = callPackage
({ mkDerivation, base, bytestring, criterion, deepseq, ghc-prim
, QuickCheck, test-framework, test-framework-quickcheck2, zlib
}:
@@ -256014,8 +260269,6 @@ self: {
];
description = "Haskell bindings to the Zstandard compression algorithm";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"zsyntax" = callPackage
@@ -256073,8 +260326,6 @@ self: {
];
description = "Creating and extracting arbitrary archives";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
"zuramaru" = callPackage
@@ -256126,8 +260377,6 @@ self: {
libraryHaskellDepends = [ base ];
description = "Password strength estimation";
license = stdenv.lib.licenses.bsd3;
- hydraPlatforms = stdenv.lib.platforms.none;
- broken = true;
}) {};
}
diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix
index c7fbab6ab88..0bb930a8bb3 100644
--- a/pkgs/development/haskell-modules/hoogle.nix
+++ b/pkgs/development/haskell-modules/hoogle.nix
@@ -57,11 +57,11 @@ stdenv.mkDerivation {
name = "hoogle-local-0.1";
buildInputs = [ghc hoogle];
- phases = [ "buildPhase" ];
-
inherit docPackages;
- buildPhase = ''
+ passAsFile = ["buildCommand"];
+
+ buildCommand = ''
${lib.optionalString (packages != [] -> docPackages == [])
("echo WARNING: localHoogle package list empty, even though"
+ " the following were specified: "
diff --git a/pkgs/development/haskell-modules/lib.nix b/pkgs/development/haskell-modules/lib.nix
index 41ce20373d6..aebab7b6f04 100644
--- a/pkgs/development/haskell-modules/lib.nix
+++ b/pkgs/development/haskell-modules/lib.nix
@@ -161,7 +161,9 @@ rec {
disableCabalFlag = drv: x: appendConfigureFlag (removeConfigureFlag drv "-f${x}") "-f-${x}";
markBroken = drv: overrideCabal drv (drv: { broken = true; hydraPlatforms = []; });
+ unmarkBroken = drv: overrideCabal drv (drv: { broken = false; });
markBrokenVersion = version: drv: assert drv.version == version; markBroken drv;
+ markUnbroken = drv: overrideCabal drv (drv: { broken = false; });
enableLibraryProfiling = drv: overrideCabal drv (drv: { enableLibraryProfiling = true; });
disableLibraryProfiling = drv: overrideCabal drv (drv: { enableLibraryProfiling = false; });
diff --git a/pkgs/development/haskell-modules/make-package-set.nix b/pkgs/development/haskell-modules/make-package-set.nix
index 04cbd88989a..a4c04067348 100644
--- a/pkgs/development/haskell-modules/make-package-set.nix
+++ b/pkgs/development/haskell-modules/make-package-set.nix
@@ -187,7 +187,7 @@ in package-set { inherit pkgs stdenv callPackage; } self // {
# for any version that has been released on hackage as opposed to only
# versions released before whatever version of all-cabal-hashes you happen
# to be currently using.
- callHackageDirect = {pkg, ver, sha256}@args:
+ callHackageDirect = {pkg, ver, sha256}:
let pkgver = "${pkg}-${ver}";
in self.callCabal2nix pkg (pkgs.fetchzip {
url = "mirror://hackage/${pkgver}/${pkgver}.tar.gz";
diff --git a/pkgs/development/haskell-modules/non-hackage-packages.nix b/pkgs/development/haskell-modules/non-hackage-packages.nix
index b7b057f2dc2..8b667a1e669 100644
--- a/pkgs/development/haskell-modules/non-hackage-packages.nix
+++ b/pkgs/development/haskell-modules/non-hackage-packages.nix
@@ -12,4 +12,5 @@ self: super: {
# https://github.com/channable/vaultenv/issues/1
vaultenv = self.callPackage ../tools/haskell/vaultenv { };
+
}
diff --git a/pkgs/development/haskell-modules/patches/clock-0.7.2.patch b/pkgs/development/haskell-modules/patches/clock-0.7.2.patch
deleted file mode 100644
index 8354c7fa589..00000000000
--- a/pkgs/development/haskell-modules/patches/clock-0.7.2.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff --git a/System/Clock.hsc b/System/Clock.hsc
-index 297607b..c21196b 100644
---- a/System/Clock.hsc
-+++ b/System/Clock.hsc
-@@ -41,7 +41,9 @@ import GHC.Generics (Generic)
- # endif
- #endif
-
--#let alignment t = "%lu", (unsigned long)offsetof(struct {char x__; t (y__); }, y__)
-+#if __GLASGOW_HASKELL__ < 800
-+# let alignment t = "%lu", (unsigned long)offsetof(struct {char x__; t (y__); }, y__)
-+#endif
-
- -- | Clock types. A clock may be system-wide (that is, visible to all processes)
- -- or per-process (measuring time that is meaningful only within a process).
-diff --git a/cbits/hs_clock_win32.c b/cbits/hs_clock_win32.c
-index 5dcc2a9..ebdb7fe 100644
---- a/cbits/hs_clock_win32.c
-+++ b/cbits/hs_clock_win32.c
-@@ -28,12 +28,22 @@ static void to_timespec_from_100ns(ULONGLONG t_100ns, long long *t)
- t[1] = 100*(long)(t_100ns % 10000000UL);
- }
-
-+/* See https://ghc.haskell.org/trac/ghc/ticket/15094 */
-+#if defined(_WIN32) && !defined(_WIN64)
-+__attribute__((optimize("-fno-expensive-optimizations")))
-+#endif
- void hs_clock_win32_gettime_monotonic(long long* t)
- {
- LARGE_INTEGER time;
-- LARGE_INTEGER frequency;
-+ static LARGE_INTEGER frequency;
-+ static int hasFreq = 0;
-+
- QueryPerformanceCounter(&time);
-- QueryPerformanceFrequency(&frequency);
-+ if (!hasFreq)
-+ {
-+ hasFreq = 1;
-+ QueryPerformanceFrequency(&frequency);
-+ }
- // seconds
- t[0] = time.QuadPart / frequency.QuadPart;
- // nanos =
-diff --git a/clock.cabal b/clock.cabal
-index 0f2d18a..67d232e 100644
---- a/clock.cabal
-+++ b/clock.cabal
-@@ -41,8 +41,8 @@ description: A package for convenient access to high-resolution clock and
- copyright: Copyright © Cetin Sert 2009-2016, Eugene Kirpichov 2010, Finn Espen Gundersen 2013, Gerolf Seitz 2013, Mathieu Boespflug 2014 2015, Chris Done 2015, Dimitri Sabadie 2015, Christian Burger 2015, Mario Longobardi 2016
- license: BSD3
- license-file: LICENSE
--author: Cetin Sert , Corsis Research
--maintainer: Cetin Sert , Corsis Research
-+author: Cetin Sert , Corsis Research
-+maintainer: Cetin Sert , Corsis Research
- homepage: https://github.com/corsis/clock
- bug-reports: https://github.com/corsis/clock/issues
- category: System
diff --git a/pkgs/development/haskell-modules/patches/insert-ordered-containers-fix-test.patch b/pkgs/development/haskell-modules/patches/insert-ordered-containers-fix-test.patch
deleted file mode 100644
index 1e9ac5aa66a..00000000000
--- a/pkgs/development/haskell-modules/patches/insert-ordered-containers-fix-test.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/insert-ordered-containers.cabal b/insert-ordered-containers.cabal
-index 0e8923a..bfbbec4 100644
---- a/insert-ordered-containers.cabal
-+++ b/insert-ordered-containers.cabal
-@@ -21,8 +21,8 @@ tested-with:
- GHC==7.10.3,
- GHC==8.0.1,
- GHC==8.2.2,
-- GHC==8.4.3,
-- GHC==8.6.1
-+ GHC==8.4.4,
-+ GHC==8.6.3
-
- extra-source-files:
- CHANGELOG.md
-@@ -70,7 +70,7 @@ test-suite ins-ord-containers-tests
- , unordered-containers
- , base
- , insert-ordered-containers
-- , tasty >= 0.10.1.2 && <1.2
-+ , tasty >= 0.10.1.2 && <1.3
- , tasty-quickcheck >= 0.8.3.2 && <0.11
- , QuickCheck >=2.7.6 && <2.13
- default-language: Haskell2010
-
diff --git a/pkgs/development/idris-modules/build-idris-package.nix b/pkgs/development/idris-modules/build-idris-package.nix
index c67d53f8d9c..ac0555636be 100644
--- a/pkgs/development/idris-modules/build-idris-package.nix
+++ b/pkgs/development/idris-modules/build-idris-package.nix
@@ -1,5 +1,5 @@
# Build an idris package
-{ stdenv, lib, idrisPackages, gmp }:
+{ stdenv, lib, gmp, prelude, base, with-packages, idris }:
{ idrisDeps ? []
, noPrelude ? false
, noBase ? false
@@ -7,19 +7,23 @@
, version
, ipkgName ? name
, extraBuildInputs ? []
+ , idrisBuildOptions ? []
+ , idrisTestOptions ? []
+ , idrisInstallOptions ? []
+ , idrisDocOptions ? []
, ...
}@attrs:
let
allIdrisDeps = idrisDeps
- ++ lib.optional (!noPrelude) idrisPackages.prelude
- ++ lib.optional (!noBase) idrisPackages.base;
- idris-with-packages = idrisPackages.with-packages allIdrisDeps;
+ ++ lib.optional (!noPrelude) prelude
+ ++ lib.optional (!noBase) base;
+ idris-with-packages = with-packages allIdrisDeps;
newAttrs = builtins.removeAttrs attrs [
"idrisDeps" "noPrelude" "noBase"
"name" "version" "ipkgName" "extraBuildInputs"
] // {
meta = attrs.meta // {
- platforms = attrs.meta.platforms or idrisPackages.idris.meta.platforms;
+ platforms = attrs.meta.platforms or idris.meta.platforms;
};
};
in
@@ -39,14 +43,14 @@ stdenv.mkDerivation ({
buildPhase = ''
runHook preBuild
- idris --build ${ipkgName}.ipkg
+ idris --build ${ipkgName}.ipkg ${lib.escapeShellArgs idrisBuildOptions}
runHook postBuild
'';
checkPhase = ''
runHook preCheck
if grep -q tests ${ipkgName}.ipkg; then
- idris --testpkg ${ipkgName}.ipkg
+ idris --testpkg ${ipkgName}.ipkg ${lib.escapeShellArgs idrisTestOptions}
fi
runHook postCheck
'';
@@ -54,9 +58,9 @@ stdenv.mkDerivation ({
installPhase = ''
runHook preInstall
- idris --install ${ipkgName}.ipkg --ibcsubdir $out/libs
+ idris --install ${ipkgName}.ipkg --ibcsubdir $out/libs ${lib.escapeShellArgs idrisInstallOptions}
- IDRIS_DOC_PATH=$out/doc idris --installdoc ${ipkgName}.ipkg || true
+ IDRIS_DOC_PATH=$out/doc idris --installdoc ${ipkgName}.ipkg ${lib.escapeShellArgs idrisDocOptions} || true
# If the ipkg file defines an executable, install that
executable=$(grep -Po '^executable = \K.*' ${ipkgName}.ipkg || true)
diff --git a/pkgs/development/idris-modules/sdl2.nix b/pkgs/development/idris-modules/sdl2.nix
index b0306040d73..e4a1fbae562 100644
--- a/pkgs/development/idris-modules/sdl2.nix
+++ b/pkgs/development/idris-modules/sdl2.nix
@@ -6,26 +6,33 @@
, SDL2
, SDL2_gfx
}:
-build-idris-package {
+build-idris-package rec {
name = "sdl2";
- version = "2018-01-19";
+ version = "0.1.1";
idrisDeps = [ effects ];
- extraBuildInputs = [ pkgconfig SDL2 SDL2_gfx ];
+ extraBuildInputs = [
+ pkgconfig
+ SDL2
+ SDL2_gfx
+ ];
+
+ prePatch = "patchShebangs .";
src = fetchFromGitHub {
owner = "steshaw";
repo = "idris-sdl2";
- rev = "ebc36a0efb3e8086f2999120e7a8a8ac4952c6f6";
- sha256 = "060k0i1pjilrc4pcz7v70hbipaw2crz14yxjlyjlhn6qm03131q0";
+ rev = version;
+ sha256 = sha256:1jslnlzyw04dcvcd7xsdjqa7waxzkm5znddv76sv291jc94xhl4a;
};
meta = {
description = "SDL2 binding for Idris";
homepage = https://github.com/steshaw/idris-sdl2;
- maintainers = [ lib.maintainers.brainrape ];
- # Can't find file sdl2.o
- broken = true;
+ maintainers = with lib.maintainers; [
+ brainrape
+ steshaw
+ ];
};
}
diff --git a/pkgs/development/idris-modules/tparsec.nix b/pkgs/development/idris-modules/tparsec.nix
index 8aa413b51c3..650d843be84 100644
--- a/pkgs/development/idris-modules/tparsec.nix
+++ b/pkgs/development/idris-modules/tparsec.nix
@@ -4,15 +4,15 @@
}:
build-idris-package {
name = "tparsec";
- version = "2018-12-21";
+ version = "2019-06-18";
ipkgName = "TParsec";
src = fetchFromGitHub {
owner = "gallais";
repo = "idris-tparsec";
- rev = "6fafcaa894def6f2af86bc799e507013b56e7741";
- sha256 = "0alnw0hqjs200gvb5f58lb16rna48j1v6wnvq4q7zbw99dcxsxwn";
+ rev = "3809afd8735b0054e5db788f18a7fa8ed71d8278";
+ sha256 = "0wmgg1zg9p8gqlfvcsnww17jsifx9987cxqdq6kbdgasn26w2rqx";
};
meta = {
diff --git a/pkgs/development/interpreters/acl2/default.nix b/pkgs/development/interpreters/acl2/default.nix
index a88d07d1655..8d93492209c 100644
--- a/pkgs/development/interpreters/acl2/default.nix
+++ b/pkgs/development/interpreters/acl2/default.nix
@@ -11,14 +11,14 @@ revs = {
"8.2" = "8.2";
};
in stdenv.mkDerivation rec {
- name = "acl2-${version}";
+ pname = "acl2";
version = "8.2";
src = fetchFromGitHub {
owner = "acl2-devel";
repo = "acl2-devel";
- rev = revs."${version}";
- sha256 = hashes."${version}";
+ rev = revs.${version};
+ sha256 = hashes.${version};
};
buildInputs = [ sbcl
diff --git a/pkgs/development/interpreters/bats/default.nix b/pkgs/development/interpreters/bats/default.nix
index 85794b09ae0..744106bce5d 100644
--- a/pkgs/development/interpreters/bats/default.nix
+++ b/pkgs/development/interpreters/bats/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchzip, gnugrep }:
stdenv.mkDerivation rec {
- name = "bats-${version}";
+ pname = "bats";
version = "1.1.0";
src = fetchzip {
diff --git a/pkgs/development/interpreters/ceptre/default.nix b/pkgs/development/interpreters/ceptre/default.nix
index 29d63f1d004..cde9146f78c 100644
--- a/pkgs/development/interpreters/ceptre/default.nix
+++ b/pkgs/development/interpreters/ceptre/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchgit, mlton }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "ceptre-2016-11-27";
src = fetchgit {
diff --git a/pkgs/development/interpreters/clips/default.nix b/pkgs/development/interpreters/clips/default.nix
index b597ba6fe78..c70bfd9406e 100644
--- a/pkgs/development/interpreters/clips/default.nix
+++ b/pkgs/development/interpreters/clips/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "6.30";
- name = "clips-${version}";
+ pname = "clips";
src = fetchurl {
url = "mirror://sourceforge/clipsrules/CLIPS/6.30/clips_core_source_630.tar.Z";
sha256 = "1r0m59l3mk9cwzq3nmyr5qxrlkzp3njls4hfv8ml85dmqh7n3ysy";
diff --git a/pkgs/development/interpreters/clojure/clooj.nix b/pkgs/development/interpreters/clojure/clooj.nix
index 57ced325aad..369d84708dc 100644
--- a/pkgs/development/interpreters/clojure/clooj.nix
+++ b/pkgs/development/interpreters/clojure/clooj.nix
@@ -3,7 +3,8 @@
let version = "0.4.4"; in
stdenv.mkDerivation {
- name = "clooj-${version}";
+ pname = "clooj";
+ inherit version;
jar = fetchurl {
# mirrored as original mediafire.com source does not work without user interaction
diff --git a/pkgs/development/interpreters/clojure/default.nix b/pkgs/development/interpreters/clojure/default.nix
index 4fe1e182095..b5a7c2b467e 100644
--- a/pkgs/development/interpreters/clojure/default.nix
+++ b/pkgs/development/interpreters/clojure/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, fetchurl, jdk, rlwrap, makeWrapper }:
+{ stdenv, fetchurl, jdk11, rlwrap, makeWrapper }:
stdenv.mkDerivation rec {
- name = "clojure-${version}";
- version = "1.10.0.442";
+ pname = "clojure";
+ version = "1.10.1.469";
src = fetchurl {
url = "https://download.clojure.org/install/clojure-tools-${version}.tar.gz";
- sha256 = "147pkid3pvw60gq8vansid3x6wwfy9pqdbla3wfd5qaxqbcrhclw";
+ sha256 = "0hpb6rixmgllss69vl9zlpb41svm4mx4xmfbq1q7y12jsxckzgpq";
};
buildInputs = [ makeWrapper ];
@@ -14,11 +14,11 @@ stdenv.mkDerivation rec {
outputs = [ "out" "prefix" ];
installPhase = let
- binPath = stdenv.lib.makeBinPath [ rlwrap jdk ];
+ binPath = stdenv.lib.makeBinPath [ rlwrap jdk11 ];
in ''
mkdir -p $prefix/libexec
cp clojure-tools-${version}.jar $prefix/libexec
- cp {,example-}deps.edn $prefix
+ cp example-deps.edn $prefix
substituteInPlace clojure --replace PREFIX $prefix
@@ -50,7 +50,7 @@ stdenv.mkDerivation rec {
offers a software transactional memory system and reactive Agent
system that ensure clean, correct, multithreaded designs.
'';
- maintainers = with maintainers; [ the-kenny ];
+ maintainers = with maintainers; [ jlesquembre ];
platforms = platforms.unix;
};
}
diff --git a/pkgs/development/interpreters/clojurescript/lumo/default.nix b/pkgs/development/interpreters/clojurescript/lumo/default.nix
index bc2d0e5be5a..0e9d81d5e95 100644
--- a/pkgs/development/interpreters/clojurescript/lumo/default.nix
+++ b/pkgs/development/interpreters/clojurescript/lumo/default.nix
@@ -119,7 +119,6 @@ let # packageJSON=./package.json;
cljdeps = import ./deps.nix { inherit pkgs; };
- cljpaths = cljdeps.makePaths {};
classp = cljdeps.makeClasspaths {
extraClasspaths=["src/js" "src/cljs/bundled" "src/cljs/snapshot"];
};
@@ -127,9 +126,9 @@ let # packageJSON=./package.json;
getJarPath = jarName: (lib.findFirst (p: p.name == jarName) null cljdeps.packages).path.jar;
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
inherit version;
- name = "lumo-${version}";
+ pname = "lumo";
src = fetchurl {
url = "https://github.com/anmonteiro/lumo/archive/${version}.tar.gz";
diff --git a/pkgs/development/interpreters/dart/default.nix b/pkgs/development/interpreters/dart/default.nix
index fa8996f0fb5..02ac6bfbcde 100644
--- a/pkgs/development/interpreters/dart/default.nix
+++ b/pkgs/development/interpreters/dart/default.nix
@@ -47,7 +47,8 @@ in
stdenv.mkDerivation {
- name = "dart-${version}";
+ pname = "dart";
+ inherit version;
nativeBuildInputs = [
unzip
diff --git a/pkgs/development/interpreters/duktape/default.nix b/pkgs/development/interpreters/duktape/default.nix
index f3b253bfd22..f968e04bbe9 100644
--- a/pkgs/development/interpreters/duktape/default.nix
+++ b/pkgs/development/interpreters/duktape/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "duktape-${version}";
- version = "2.3.0";
+ pname = "duktape";
+ version = "2.4.0";
src = fetchurl {
url = "http://duktape.org/duktape-${version}.tar.xz";
- sha256 = "1s5g8lg0dga6x3rcq328a6hsd2sk2vzwq9zfmskjh5h6n8x2yvpd";
+ sha256 = "1z3i0ymnkk6q48bmbgh59g1ryrwjdv46vrf6nbnmqfv3s43r7a46";
};
buildPhase = ''
diff --git a/pkgs/development/interpreters/eff/default.nix b/pkgs/development/interpreters/eff/default.nix
index 258aebe8172..7c7cd9abb7e 100644
--- a/pkgs/development/interpreters/eff/default.nix
+++ b/pkgs/development/interpreters/eff/default.nix
@@ -4,7 +4,8 @@ let version = "5.0"; in
stdenv.mkDerivation {
- name = "eff-${version}";
+ pname = "eff";
+ inherit version;
src = fetchFromGitHub {
owner = "matijapretnar";
diff --git a/pkgs/development/interpreters/elixir/1.4.nix b/pkgs/development/interpreters/elixir/1.4.nix
deleted file mode 100644
index 9ddd9062acd..00000000000
--- a/pkgs/development/interpreters/elixir/1.4.nix
+++ /dev/null
@@ -1,7 +0,0 @@
-{ mkDerivation }:
-
-mkDerivation rec {
- version = "1.4.5";
- sha256 = "18ivcxmh5bak13k3rjy7jjzin57rgb2nffhwnqb2wl7bpi8mrarw";
- minimumOTPVersion = "18";
-}
diff --git a/pkgs/development/interpreters/elixir/1.5.nix b/pkgs/development/interpreters/elixir/1.5.nix
index d32f9127565..229c42d9f7b 100644
--- a/pkgs/development/interpreters/elixir/1.5.nix
+++ b/pkgs/development/interpreters/elixir/1.5.nix
@@ -1,6 +1,6 @@
{ mkDerivation }:
-mkDerivation rec {
+mkDerivation {
version = "1.5.3";
sha256 = "00kgqcn9g6vflc551wniz9pwv7pszyf8v6smpkqs50j3kbliihy5";
minimumOTPVersion = "18";
diff --git a/pkgs/development/interpreters/elixir/1.6.nix b/pkgs/development/interpreters/elixir/1.6.nix
index 73afcbd1597..94dffd1f763 100644
--- a/pkgs/development/interpreters/elixir/1.6.nix
+++ b/pkgs/development/interpreters/elixir/1.6.nix
@@ -1,6 +1,6 @@
{ mkDerivation }:
-mkDerivation rec {
+mkDerivation {
version = "1.6.6";
sha256 = "1wl8rfpw0dxacq4f7xf6wjr8v2ww5691d0cfw9pzw7phd19vazgl";
minimumOTPVersion = "19";
diff --git a/pkgs/development/interpreters/elixir/1.7.nix b/pkgs/development/interpreters/elixir/1.7.nix
index adbbbaff890..10ebd5438a1 100644
--- a/pkgs/development/interpreters/elixir/1.7.nix
+++ b/pkgs/development/interpreters/elixir/1.7.nix
@@ -1,6 +1,6 @@
{ mkDerivation }:
-mkDerivation rec {
+mkDerivation {
version = "1.7.4";
sha256 = "0f8j4pib13kffiihagdwl3xqs3a1ak19qz3z8fpyfxn9dnjiinla";
minimumOTPVersion = "19";
diff --git a/pkgs/development/interpreters/elixir/1.8.nix b/pkgs/development/interpreters/elixir/1.8.nix
index e240e1907e0..931fa50b1f7 100644
--- a/pkgs/development/interpreters/elixir/1.8.nix
+++ b/pkgs/development/interpreters/elixir/1.8.nix
@@ -1,6 +1,6 @@
{ mkDerivation }:
-mkDerivation rec {
+mkDerivation {
version = "1.8.2";
sha256 = "1n77cpcl2b773gmj3m9s24akvj9gph9byqbmj2pvlsmby4aqwckq";
minimumOTPVersion = "20";
diff --git a/pkgs/development/interpreters/elixir/1.9.nix b/pkgs/development/interpreters/elixir/1.9.nix
new file mode 100644
index 00000000000..b9b2400b78b
--- /dev/null
+++ b/pkgs/development/interpreters/elixir/1.9.nix
@@ -0,0 +1,7 @@
+{ mkDerivation }:
+
+mkDerivation {
+ version = "1.9.1";
+ sha256 = "106s2a3dykc5iwfrd5icqd737yfzaz1dw4x5v1j5z2fvf46h96dx";
+ minimumOTPVersion = "20";
+}
diff --git a/pkgs/development/interpreters/elixir/generic-builder.nix b/pkgs/development/interpreters/elixir/generic-builder.nix
index 844d6eeb4fb..b7e98af2109 100644
--- a/pkgs/development/interpreters/elixir/generic-builder.nix
+++ b/pkgs/development/interpreters/elixir/generic-builder.nix
@@ -22,10 +22,8 @@ in
buildInputs = [ erlang rebar makeWrapper ];
- LOCALE_ARCHIVE = stdenv.lib.optionalString stdenv.isLinux
- "${pkgs.glibcLocales}/lib/locale/locale-archive";
- LANG = "en_US.UTF-8";
- LC_TYPE = "en_US.UTF-8";
+ LANG = "C.UTF-8";
+ LC_TYPE = "C.UTF-8";
setupHook = ./setup-hook.sh;
diff --git a/pkgs/development/interpreters/erlang/R16B02-basho.nix b/pkgs/development/interpreters/erlang/R16B02-basho.nix
index 714924514ed..11637868ed0 100644
--- a/pkgs/development/interpreters/erlang/R16B02-basho.nix
+++ b/pkgs/development/interpreters/erlang/R16B02-basho.nix
@@ -1,6 +1,6 @@
{ pkgs, mkDerivation }:
-mkDerivation rec {
+mkDerivation {
baseName = "erlang";
version = "16B02.basho10";
@@ -27,7 +27,7 @@ mkDerivation rec {
installTargets = "install";
postInstall = let
manpages = pkgs.fetchurl {
- url = "http://www.erlang.org/download/otp_doc_man_R16B02.tar.gz";
+ url = "https://www.erlang.org/download/otp_doc_man_R16B02.tar.gz";
sha256 = "12apxjmmd591y9g9bhr97z5jbd1jarqg7wj0y2sqhl21hc1yp75p";
};
in ''
diff --git a/pkgs/development/interpreters/erlang/R18.nix b/pkgs/development/interpreters/erlang/R18.nix
index 58b7fd71f0b..e9d9366851e 100644
--- a/pkgs/development/interpreters/erlang/R18.nix
+++ b/pkgs/development/interpreters/erlang/R18.nix
@@ -21,7 +21,7 @@ let
sha256 = "1cj9fjhdng6yllajjm3gkk04ag9bwyb3n70hrb5nk6c292v8a45c";
};
-in mkDerivation rec {
+in mkDerivation {
version = "18.3.4.8";
sha256 = "16c0h25hh5yvkv436ks5jbd7qmxzb6ndvk64mr404347a20iib0g";
diff --git a/pkgs/development/interpreters/erlang/R19.nix b/pkgs/development/interpreters/erlang/R19.nix
index e0d4ecbc95a..d5f3afe5f3d 100644
--- a/pkgs/development/interpreters/erlang/R19.nix
+++ b/pkgs/development/interpreters/erlang/R19.nix
@@ -1,6 +1,6 @@
{ mkDerivation, fetchpatch }:
-mkDerivation rec {
+mkDerivation {
version = "19.3.6.11";
sha256 = "0b02iv8dly1vkc2xnqqi030sdj34h4gji2h4qgilllajr1f868vm";
@@ -14,6 +14,6 @@ mkDerivation rec {
];
prePatch = ''
- substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
+ substituteInPlace configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
'';
}
diff --git a/pkgs/development/interpreters/erlang/R20.nix b/pkgs/development/interpreters/erlang/R20.nix
index c408d21d9b3..3a33e55767b 100644
--- a/pkgs/development/interpreters/erlang/R20.nix
+++ b/pkgs/development/interpreters/erlang/R20.nix
@@ -1,10 +1,10 @@
{ mkDerivation }:
-mkDerivation rec {
+mkDerivation {
version = "20.3.8.9";
sha256 = "0v2iiyzss8hiih98wvj0gi2qzdmmhh7bvc9p025wlfm4k7r1109a";
prePatch = ''
- substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
+ substituteInPlace configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
'';
}
diff --git a/pkgs/development/interpreters/erlang/R21.nix b/pkgs/development/interpreters/erlang/R21.nix
index 28166dfc0b0..fdd034fc607 100644
--- a/pkgs/development/interpreters/erlang/R21.nix
+++ b/pkgs/development/interpreters/erlang/R21.nix
@@ -1,10 +1,10 @@
{ mkDerivation }:
-mkDerivation rec {
- version = "21.2.3";
- sha256 = "1v47c7bddbp31y6f8yzdjyvgcx9sskxql33k7cs0p5fmr05hhxws";
+mkDerivation {
+ version = "21.3.8.3";
+ sha256 = "1szybirrcpqsl2nmlmpbkxjqnm6i7l7bma87m5cpwi0kpvlxwmcw";
prePatch = ''
- substituteInPlace configure.in --replace '`sw_vers -productVersion`' '10.10'
+ substituteInPlace configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
'';
}
diff --git a/pkgs/development/interpreters/erlang/R22.nix b/pkgs/development/interpreters/erlang/R22.nix
new file mode 100644
index 00000000000..8b471f63247
--- /dev/null
+++ b/pkgs/development/interpreters/erlang/R22.nix
@@ -0,0 +1,11 @@
+{ mkDerivation }:
+
+mkDerivation {
+ version = "22.0.4";
+ sha256 = "1aqkhd6nwdn4xp5yz02zbymd4x8ij8fjw9ji8kh860n1a513k9ai";
+
+ prePatch = ''
+ substituteInPlace make/configure.in --replace '`sw_vers -productVersion`' "''${MACOSX_DEPLOYMENT_TARGET:-10.12}"
+ substituteInPlace erts/configure.in --replace '-Wl,-no_weak_imports' ""
+ '';
+}
diff --git a/pkgs/development/interpreters/erlang/generic-builder.nix b/pkgs/development/interpreters/erlang/generic-builder.nix
index bc0b728ecce..3f1c21cc881 100644
--- a/pkgs/development/interpreters/erlang/generic-builder.nix
+++ b/pkgs/development/interpreters/erlang/generic-builder.nix
@@ -1,5 +1,5 @@
{ pkgs, stdenv, fetchFromGitHub, makeWrapper, gawk, gnum4, gnused
-, libxml2, libxslt, ncurses, openssl, perl, autoreconfHook
+, libxml2, libxslt, ncurses, openssl, perl, autoconf
, openjdk ? null # javacSupport
, unixODBC ? null # odbcSupport
, libGLU_combined ? null, wxGTK ? null, wxmac ? null, xorg ? null # wxSupport
@@ -18,7 +18,7 @@
, enableKernelPoll ? true
, javacSupport ? false, javacPackages ? [ openjdk ]
, odbcSupport ? false, odbcPackages ? [ unixODBC ]
-, wxSupport ? !stdenv.isDarwin, wxPackages ? [ libGLU_combined wxGTK xorg.libX11 ]
+, wxSupport ? true, wxPackages ? [ libGLU_combined wxGTK xorg.libX11 ]
, preUnpack ? "", postUnpack ? ""
, patches ? [], patchPhase ? "", prePatch ? "", postPatch ? ""
, configureFlags ? [], configurePhase ? "", preConfigure ? "", postConfigure ? ""
@@ -48,7 +48,7 @@ in stdenv.mkDerivation ({
inherit src version;
- nativeBuildInputs = [ autoreconfHook makeWrapper perl gnum4 libxslt libxml2 ];
+ nativeBuildInputs = [ autoconf makeWrapper perl gnum4 libxslt libxml2 ];
buildInputs = [ ncurses openssl ]
++ optionals wxSupport wxPackages2
@@ -108,8 +108,8 @@ in stdenv.mkDerivation ({
setupHook = ./setup-hook.sh;
meta = with stdenv.lib; ({
- homepage = http://www.erlang.org/;
- downloadPage = "http://www.erlang.org/download.html";
+ homepage = https://www.erlang.org/;
+ downloadPage = "https://www.erlang.org/download.html";
description = "Programming language used for massively scalable soft real-time systems";
longDescription = ''
diff --git a/pkgs/development/interpreters/evcxr/default.nix b/pkgs/development/interpreters/evcxr/default.nix
new file mode 100644
index 00000000000..54ee243cb33
--- /dev/null
+++ b/pkgs/development/interpreters/evcxr/default.nix
@@ -0,0 +1,30 @@
+{ cargo, fetchFromGitHub, makeWrapper, pkgconfig, rustPlatform, stdenv, gcc, Security, zeromq }:
+
+rustPlatform.buildRustPackage rec {
+ pname = "evcxr";
+ version = "0.4.4";
+
+ src = fetchFromGitHub {
+ owner = "google";
+ repo = "evcxr";
+ rev = "v${version}";
+ sha256 = "1j2vsqgljqw7415rgjlnc1w3nmr9ghizx2mncbm1yipwj8xbrmf6";
+ };
+
+ cargoSha256 = "0ckxpmi547y7q4w287znimpxgaj3mjkgmkcs2n9cp4m8cw143hly";
+
+ nativeBuildInputs = [ pkgconfig makeWrapper ];
+ buildInputs = [ zeromq ] ++ stdenv.lib.optional stdenv.isDarwin Security;
+ postInstall = ''
+ wrapProgram $out/bin/evcxr --prefix PATH : ${stdenv.lib.makeBinPath [ cargo gcc ]}
+ rm $out/bin/testing_runtime
+ '';
+
+ meta = {
+ description = "An evaluation context for Rust";
+ homepage = "https://github.com/google/evcxr";
+ license = stdenv.lib.licenses.asl20;
+ maintainers = [ stdenv.lib.maintainers.protoben ];
+ platforms = stdenv.lib.platforms.all;
+ };
+}
diff --git a/pkgs/development/interpreters/falcon/default.nix b/pkgs/development/interpreters/falcon/default.nix
index 857a1e5cd8d..39d4918a70b 100644
--- a/pkgs/development/interpreters/falcon/default.nix
+++ b/pkgs/development/interpreters/falcon/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, pkgconfig, pcre, zlib, sqlite }:
-stdenv.mkDerivation rec {
- name = "falcon-${version}";
+stdenv.mkDerivation {
+ pname = "falcon";
version = "2013-09-19";
src = fetchFromGitHub {
diff --git a/pkgs/development/interpreters/gauche/default.nix b/pkgs/development/interpreters/gauche/default.nix
index 5481c4e7d05..71542046af9 100644
--- a/pkgs/development/interpreters/gauche/default.nix
+++ b/pkgs/development/interpreters/gauche/default.nix
@@ -3,12 +3,12 @@
}:
stdenv.mkDerivation rec {
- name = "gauche-${version}";
- version = "0.9.7";
+ pname = "gauche";
+ version = "0.9.8";
src = fetchurl {
url = "mirror://sourceforge/gauche/Gauche-${version}.tgz";
- sha256 = "181nycikma0rwrb1h6mi3kys11f8628pq8g5r3fg5hiz5sabscrd";
+ sha256 = "0jxp1ladpy8kvfvk561c64spf1c3d6giqla6zscqkd6qa480vcry";
};
nativeBuildInputs = [ pkgconfig texinfo ];
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
"--with-iconv=${libiconv}"
"--with-dbm=gdbm"
"--with-zlib=${zlib}"
- "--with-ca-bundle=$SSL_CERT_FILE"
+ "--with-ca-bundle=$NIX_SSL_CERT_FILE"
# TODO: Enable slib
# Current slib in nixpkgs is specialized to Guile
# "--with-slib=${slibGuile}/lib/slib"
diff --git a/pkgs/development/interpreters/gnu-apl/default.nix b/pkgs/development/interpreters/gnu-apl/default.nix
index f60e5d28614..94ec0244382 100644
--- a/pkgs/development/interpreters/gnu-apl/default.nix
+++ b/pkgs/development/interpreters/gnu-apl/default.nix
@@ -1,19 +1,23 @@
{ stdenv, fetchurl, readline, gettext, ncurses }:
stdenv.mkDerivation rec {
- name = "gnu-apl-${version}";
- version = "1.7";
+ pname = "gnu-apl";
+ version = "1.8";
src = fetchurl {
url = "mirror://gnu/apl/apl-${version}.tar.gz";
- sha256 = "07xq8ddlmz8psvsmwr23gar108ri0lwmw0n6kpxcv8ypas1f5xlg";
+ sha256 = "1jxvv2h3y1am1fw6r5sn3say1n0dj8shmscbybl0qhqdia2lqkql";
};
buildInputs = [ readline gettext ncurses ];
- # Needed with GCC 7
- NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.cc.isGNU "-Wno-error=int-in-bool-context"
- + stdenv.lib.optionalString stdenv.cc.isClang "-Wno-error=null-dereference";
+ # Needed with GCC 8
+ NIX_CFLAGS_COMPILE = with stdenv.lib; (optionals stdenv.cc.isGNU [
+ "-Wno-error=int-in-bool-context"
+ "-Wno-error=class-memaccess"
+ "-Wno-error=restrict"
+ "-Wno-error=format-truncation"
+ ]) ++ optional stdenv.cc.isClang "-Wno-error=null-dereference";
patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
substituteInPlace src/LApack.cc --replace "malloc.h" "malloc/malloc.h"
diff --git a/pkgs/development/interpreters/groovy/default.nix b/pkgs/development/interpreters/groovy/default.nix
index efbd72dcefa..bdd13841896 100644
--- a/pkgs/development/interpreters/groovy/default.nix
+++ b/pkgs/development/interpreters/groovy/default.nix
@@ -3,12 +3,12 @@
# at runtime, need jdk
stdenv.mkDerivation rec {
- name = "groovy-${version}";
- version = "2.5.7";
+ pname = "groovy";
+ version = "2.5.8";
src = fetchurl {
url = "http://dl.bintray.com/groovy/maven/apache-groovy-binary-${version}.zip";
- sha256 = "1q69xg7p790dfk09wyijpx8y85n8g9lfd0fikl6qr73k9zz5v41x";
+ sha256 = "0hl7m9fpmrn9ppxbb3pm68048xpzig7q6hqyg121gvcziywi9ys9";
};
buildInputs = [ unzip makeWrapper ];
diff --git a/pkgs/development/interpreters/guile/2.0.nix b/pkgs/development/interpreters/guile/2.0.nix
index 24266d59676..af71d5cc80d 100644
--- a/pkgs/development/interpreters/guile/2.0.nix
+++ b/pkgs/development/interpreters/guile/2.0.nix
@@ -122,6 +122,6 @@
(stdenv.lib.optionalAttrs (!stdenv.isLinux) {
# Work around .
- SHELL = "${stdenv.shell}";
- CONFIG_SHELL = "${stdenv.shell}";
+ SHELL = stdenv.shell;
+ CONFIG_SHELL = stdenv.shell;
})
diff --git a/pkgs/development/interpreters/guile/default.nix b/pkgs/development/interpreters/guile/default.nix
index fb8e75e8793..fce94ecc846 100644
--- a/pkgs/development/interpreters/guile/default.nix
+++ b/pkgs/development/interpreters/guile/default.nix
@@ -12,11 +12,11 @@
(rec {
name = "guile-${version}";
- version = "2.2.3";
+ version = "2.2.6";
src = fetchurl {
url = "mirror://gnu/guile/${name}.tar.xz";
- sha256 = "11j01agvnci2cx32wwpqs9078856yxmvs15gcsz7ganpkj2ahlw3";
+ sha256 = "1269ymxm56j1z1lvq1y42rm961f2n7rinm3k6l00p9k52hrpcddk";
};
outputs = [ "out" "dev" "info" ];
@@ -42,7 +42,6 @@
patches = [
./eai_system.patch
- ./riscv.patch
] ++ stdenv.lib.optional (coverageAnalysis != null) ./gcov-file-name.patch
++ stdenv.lib.optional stdenv.isDarwin (fetchpatch {
url = "https://gitlab.gnome.org/GNOME/gtk-osx/raw/52898977f165777ad9ef169f7d4818f2d4c9b731/patches/guile-clocktime.patch";
diff --git a/pkgs/development/interpreters/hy/default.nix b/pkgs/development/interpreters/hy/default.nix
index 12631cee38a..a6acd603c81 100644
--- a/pkgs/development/interpreters/hy/default.nix
+++ b/pkgs/development/interpreters/hy/default.nix
@@ -1,23 +1,14 @@
-{ stdenv, fetchurl, fetchpatch, pythonPackages }:
+{ stdenv, fetchurl, pythonPackages }:
pythonPackages.buildPythonApplication rec {
- name = "hy-${version}";
- version = "0.16.0";
+ pname = "hy";
+ version = "0.17.0";
- src = fetchurl {
- url = "mirror://pypi/h/hy/${name}.tar.gz";
- sha256 = "00lq38ppikrpyw38fn5iy9iwrsamsv22507cp146dsjbzkwjpzrd";
+ src = pythonPackages.fetchPypi {
+ inherit pname version;
+ sha256 = "1gdbqsirsdxj320wnp7my5awzs1kfs6m4fqmkzbd1zd47qzj0zfi";
};
- patches = [
- (fetchpatch {
- name = "bytecode-error-handling.patch";
- url = "https://github.com/hylang/hy/commit/57326785b97b7b0a89f6258fe3d04dccdc06cfc0.patch";
- sha256 = "1lxxs7mxbh0kaaa25b1pbqs9d8asyjnlf2n86qg8hzsv32jfcq92";
- excludes = [ "AUTHORS" "NEWS.rst" ];
- })
- ];
-
propagatedBuildInputs = with pythonPackages; [
appdirs
astor
@@ -27,11 +18,11 @@ pythonPackages.buildPythonApplication rec {
rply
];
- meta = {
+ meta = with stdenv.lib; {
description = "A LISP dialect embedded in Python";
- homepage = http://hylang.org/;
- license = stdenv.lib.licenses.mit;
- maintainers = [ stdenv.lib.maintainers.nixy ];
- platforms = stdenv.lib.platforms.all;
+ homepage = "http://hylang.org/";
+ license = licenses.mit;
+ maintainers = with maintainers; [ nixy ];
+ platforms = platforms.all;
};
}
diff --git a/pkgs/development/interpreters/icon-lang/default.nix b/pkgs/development/interpreters/icon-lang/default.nix
index 3bec73ea036..0d3fe100329 100644
--- a/pkgs/development/interpreters/icon-lang/default.nix
+++ b/pkgs/development/interpreters/icon-lang/default.nix
@@ -1,19 +1,24 @@
-{ stdenv, fetchFromGitHub, libX11, libXt }:
+{ stdenv, fetchFromGitHub, libX11, libXt , withGraphics ? true }:
stdenv.mkDerivation rec {
- name = "icon-lang-${version}";
+ pname = "icon-lang";
version = "9.5.1";
src = fetchFromGitHub {
- rev = "39d7438e8d23ccfe20c0af8bbbf61e34d9c715e9";
owner = "gtownsend";
repo = "icon";
+ rev = "rel${builtins.replaceStrings ["."] [""] version}";
sha256 = "1gkvj678ldlr1m5kjhx6zpmq11nls8kxa7pyy64whgakfzrypynw";
};
- buildInputs = [ libX11 libXt ];
- configurePhase = ''
- make X-Configure name=linux
- '';
+ buildInputs = stdenv.lib.optionals withGraphics [ libX11 libXt ];
+
+ configurePhase =
+ let
+ _name = if stdenv.isDarwin then "macintosh" else "linux";
+ in
+ ''
+ make ${stdenv.lib.optionalString withGraphics "X-"}Configure name=${_name}
+ '';
installPhase = ''
make Install dest=$out
@@ -21,8 +26,8 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = ''A very high level general-purpose programming language'';
- maintainers = with maintainers; [ vrthra ];
- platforms = platforms.linux;
+ maintainers = with maintainers; [ vrthra yurrriq ];
+ platforms = with platforms; linux ++ darwin;
license = licenses.publicDomain;
homepage = https://www.cs.arizona.edu/icon/;
};
diff --git a/pkgs/development/interpreters/j/default.nix b/pkgs/development/interpreters/j/default.nix
index 11feb1170c2..791ac6dd338 100644
--- a/pkgs/development/interpreters/j/default.nix
+++ b/pkgs/development/interpreters/j/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, readline, libedit, bc }:
stdenv.mkDerivation rec {
- name = "j-${version}";
+ pname = "j";
version = "807";
jtype = "release";
src = fetchFromGitHub {
diff --git a/pkgs/development/interpreters/janet/default.nix b/pkgs/development/interpreters/janet/default.nix
index 2fa8b50f017..197127d8b6d 100644
--- a/pkgs/development/interpreters/janet/default.nix
+++ b/pkgs/development/interpreters/janet/default.nix
@@ -1,26 +1,26 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub, meson, ninja }:
stdenv.mkDerivation rec {
pname = "janet";
- version = "0.5.0";
+ version = "1.2.0";
src = fetchFromGitHub {
owner = "janet-lang";
- repo = "janet";
+ repo = pname;
rev = "v${version}";
- sha256 = "00lrj21k85sqyn4hv2rc5sny9vxghafjxyvs0dq4zp68461s3l7c";
+ sha256 = "1m34j4h8gh5d773hbw55gs1gimli7ccqpwddn4dd59hzhpihwgqz";
};
- JANET_BUILD=''\"release\"'';
- PREFIX = placeholder "out";
+ nativeBuildInputs = [ meson ninja ];
+ mesonFlags = ["-Dgit_hash=release"];
doCheck = true;
meta = with stdenv.lib; {
description = "Janet programming language";
homepage = https://janet-lang.org/;
- license = stdenv.lib.licenses.mit;
+ license = licenses.mit;
platforms = platforms.all;
- maintainers = with stdenv.lib.maintainers; [ andrewchambers ];
+ maintainers = with maintainers; [ andrewchambers ];
};
}
diff --git a/pkgs/development/interpreters/jimtcl/default.nix b/pkgs/development/interpreters/jimtcl/default.nix
index 704e3eb4031..91b4c0b9a9e 100644
--- a/pkgs/development/interpreters/jimtcl/default.nix
+++ b/pkgs/development/interpreters/jimtcl/default.nix
@@ -4,7 +4,7 @@ let
makeSDLFlags = map (p: "-I${stdenv.lib.getDev p}/include/SDL");
in stdenv.mkDerivation rec {
- name = "jimtcl-${version}";
+ pname = "jimtcl";
version = "0.78";
src = fetchFromGitHub {
diff --git a/pkgs/development/interpreters/joker/default.nix b/pkgs/development/interpreters/joker/default.nix
index c3b494783e7..233900cadd0 100644
--- a/pkgs/development/interpreters/joker/default.nix
+++ b/pkgs/development/interpreters/joker/default.nix
@@ -1,25 +1,17 @@
-{ stdenv, buildGoPackage, fetchFromGitHub }:
+{ stdenv, buildGoModule, fetchFromGitHub }:
-buildGoPackage rec {
- name = "joker-${version}";
- version = "0.12.2";
-
- goPackagePath = "github.com/candid82/joker";
+buildGoModule rec {
+ pname = "joker";
+ version = "0.12.7";
src = fetchFromGitHub {
rev = "v${version}";
owner = "candid82";
repo = "joker";
- sha256 = "0cqz8k53fzz3xqx9czk3hgq164dsbvnk51s0j29g1bmkbl51c2vm";
+ sha256 = "0panmhrg1i158xbvqvq3s3217smbj7ynwlaiks18pmss36xx9dk4";
};
- preBuild = "go generate ./...";
-
- dontInstallSrc = true;
-
- excludedPackages = "gen"; # Do not install private generators.
-
- goDeps = ./deps.nix;
+ modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
meta = with stdenv.lib; {
homepage = https://github.com/candid82/joker;
diff --git a/pkgs/development/interpreters/joker/deps.nix b/pkgs/development/interpreters/joker/deps.nix
deleted file mode 100644
index 4eff988796b..00000000000
--- a/pkgs/development/interpreters/joker/deps.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-[
- {
- goPackagePath = "github.com/chzyer/readline";
- fetch = {
- type = "git";
- url = "https://github.com/chzyer/readline";
- rev = "6a4bc7b4feaeff8feb63f87d5fb2cf3e3610a559";
- sha256 = "1ny3rws671sa9bj5phg6k1rprlgzys73kfdr14vxq4wnwz84zbrc";
- };
- }
- {
- goPackagePath = "github.com/pkg/profile";
- fetch = {
- type = "git";
- url = "https://github.com/pkg/profile";
- rev = "5b67d428864e92711fcbd2f8629456121a56d91f";
- sha256 = "0blqmvgqvdbqmh3fp9pfdxc9w1qfshrr0zy9whj0sn372bw64qnr";
- };
- }
- {
- goPackagePath = "gopkg.in/yaml.v2";
- fetch = {
- type = "git";
- url = "https://gopkg.in/yaml.v2";
- rev = "a83829b6f1293c91addabc89d0571c246397bbf4";
- sha256 = "1m4dsmk90sbi17571h6pld44zxz7jc4lrnl4f27dpd1l8g5xvjhh";
- };
- }
-]
diff --git a/pkgs/development/interpreters/jruby/default.nix b/pkgs/development/interpreters/jruby/default.nix
index 2e53ae1694f..6c4a9f20fa3 100644
--- a/pkgs/development/interpreters/jruby/default.nix
+++ b/pkgs/development/interpreters/jruby/default.nix
@@ -4,13 +4,13 @@ let
# The version number here is whatever is reported by the RUBY_VERSION string
rubyVersion = callPackage ../ruby/ruby-version.nix {} "2" "3" "3" "";
jruby = stdenv.mkDerivation rec {
- name = "jruby-${version}";
+ pname = "jruby";
- version = "9.2.7.0";
+ version = "9.2.8.0";
src = fetchurl {
url = "https://s3.amazonaws.com/jruby.org/downloads/${version}/jruby-bin-${version}.tar.gz";
- sha256 = "0j0k1vapxr9gx18sqjf0kqfgw22f55907jjbznxc0580x5f1lz6s";
+ sha256 = "1fy717xy8csc89dnz3a8j96arq1s1vs8nakkkpcaqm1z1648didp";
};
buildInputs = [ makeWrapper ];
diff --git a/pkgs/development/interpreters/jython/default.nix b/pkgs/development/interpreters/jython/default.nix
index 3d82535d29a..0e1734565f2 100644
--- a/pkgs/development/interpreters/jython/default.nix
+++ b/pkgs/development/interpreters/jython/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, makeWrapper, jre }:
stdenv.mkDerivation rec {
- name = "jython-${version}";
+ pname = "jython";
version = "2.7.1";
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper ];
- unpackPhase = ":";
+ dontUnpack = true;
installPhase = ''
mkdir -pv $out/bin
diff --git a/pkgs/development/interpreters/kona/default.nix b/pkgs/development/interpreters/kona/default.nix
index 03c836d9251..a9922a38765 100644
--- a/pkgs/development/interpreters/kona/default.nix
+++ b/pkgs/development/interpreters/kona/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "kona-${version}";
+ pname = "kona";
version = "3.21";
src = fetchurl {
url = "https://github.com/kevinlawler/kona/archive/Win.${version}-64.tar.gz";
diff --git a/pkgs/development/interpreters/lolcode/default.nix b/pkgs/development/interpreters/lolcode/default.nix
index 284773fe660..3ef239e89a9 100644
--- a/pkgs/development/interpreters/lolcode/default.nix
+++ b/pkgs/development/interpreters/lolcode/default.nix
@@ -3,7 +3,7 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "lolcode-${version}";
+ pname = "lolcode";
version = "0.11.2";
src = fetchurl {
diff --git a/pkgs/development/interpreters/love/0.10.nix b/pkgs/development/interpreters/love/0.10.nix
index 07ce9347cf7..7e90c6dfb28 100644
--- a/pkgs/development/interpreters/love/0.10.nix
+++ b/pkgs/development/interpreters/love/0.10.nix
@@ -8,12 +8,12 @@ let
version = "0.10.2";
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromBitbucket {
owner = "rude";
repo = "love";
- rev = "${version}";
+ rev = version;
sha256 = "19yfmlcx6w8yi4ndm5lni8lrsvnn77bxw5py0dc293nzzlaqa9ym";
};
diff --git a/pkgs/development/interpreters/love/0.7-gl-prototypes.patch b/pkgs/development/interpreters/love/0.7-gl-prototypes.patch
new file mode 100644
index 00000000000..0b6778f6a90
--- /dev/null
+++ b/pkgs/development/interpreters/love/0.7-gl-prototypes.patch
@@ -0,0 +1,21 @@
+diff --unified --recursive --text love-HEAD.orig/src/modules/graphics/opengl/Framebuffer.cpp love-HEAD.new/src/modules/graphics/opengl/Framebuffer.cpp
+--- love-HEAD.orig/src/modules/graphics/opengl/Framebuffer.cpp 2019-03-14 12:46:55.032982224 -0400
++++ love-HEAD.new/src/modules/graphics/opengl/Framebuffer.cpp 2019-03-14 12:47:22.356175299 -0400
+@@ -1,3 +1,5 @@
++#define GL_GLEXT_PROTOTYPES
++
+ #include "Framebuffer.h"
+ #include
+
+diff --unified --recursive --text love-HEAD.orig/src/modules/graphics/opengl/SpriteBatch.cpp love-HEAD.new/src/modules/graphics/opengl/SpriteBatch.cpp
+--- love-HEAD.orig/src/modules/graphics/opengl/SpriteBatch.cpp 2019-03-14 12:46:55.032982224 -0400
++++ love-HEAD.new/src/modules/graphics/opengl/SpriteBatch.cpp 2019-03-14 12:47:33.346119890 -0400
+@@ -18,6 +18,8 @@
+ * 3. This notice may not be removed or altered from any source distribution.
+ **/
+
++#define GL_GLEXT_PROTOTYPES
++
+ #include "SpriteBatch.h"
+
+ // STD
diff --git a/pkgs/development/interpreters/love/0.7.nix b/pkgs/development/interpreters/love/0.7.nix
index 884225b6483..7f39259c298 100644
--- a/pkgs/development/interpreters/love/0.7.nix
+++ b/pkgs/development/interpreters/love/0.7.nix
@@ -2,6 +2,7 @@
, SDL, libGLU_combined, openal, lua
, libdevil, freetype, physfs
, libmodplug, mpg123, libvorbis, libogg
+, libmng
}:
stdenv.mkDerivation rec {
@@ -11,10 +12,13 @@ stdenv.mkDerivation rec {
sha256 = "0s7jywkvydlshlgy11ilzngrnybmq5xlgzp2v2dhlffwrfqdqym5";
};
+ # see discussion on arch linux user repository (https://aur.archlinux.org/packages/love07/?setlang=cs#comment-684696)
+ patches = [ ./0.7-gl-prototypes.patch ];
+
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
SDL libGLU_combined openal lua
- libdevil freetype physfs libmodplug mpg123 libvorbis libogg
+ libdevil freetype physfs libmodplug mpg123 libvorbis libogg libmng
];
preConfigure = ''
diff --git a/pkgs/development/interpreters/love/0.8.nix b/pkgs/development/interpreters/love/0.8.nix
index 5fbb34bf213..792fe299e4d 100644
--- a/pkgs/development/interpreters/love/0.8.nix
+++ b/pkgs/development/interpreters/love/0.8.nix
@@ -5,9 +5,11 @@
}:
stdenv.mkDerivation rec {
- name = "love-0.8.0";
+ pname = "love";
+ version = "0.8.0";
+
src = fetchurl {
- url = "https://bitbucket.org/rude/love/downloads/${name}-linux-src.tar.gz";
+ url = "https://bitbucket.org/rude/love/downloads/${pname}-${version}-linux-src.tar.gz";
sha256 = "1k4fcsa8zzi04ja179bmj24hvqcbm3icfvrvrzyz2gw9qwfclrwi";
};
@@ -36,13 +38,14 @@ stdenv.mkDerivation rec {
} || true
'';
- NIX_CFLAGS_COMPILE = ''
- -I${SDL.dev}/include/SDL
- -I${freetype.dev}include/freetype2
- '';
+ NIX_CFLAGS_COMPILE = [
+ "-I${SDL.dev}/include/SDL"
+ "-I${freetype.dev}include/freetype2"
+ "-DGL_GLEXT_PROTOTYPES" # https://community.khronos.org/t/glgenbuffers-was-not-declared-in-this-scope/59283/2
+ ];
meta = {
- homepage = http://love2d.org;
+ homepage = "http://love2d.org";
description = "A Lua-based 2D game engine/scripting language";
license = stdenv.lib.licenses.zlib;
diff --git a/pkgs/development/interpreters/love/11.1.nix b/pkgs/development/interpreters/love/11.1.nix
index 7adaca7b865..478b147d1f3 100644
--- a/pkgs/development/interpreters/love/11.1.nix
+++ b/pkgs/development/interpreters/love/11.1.nix
@@ -8,12 +8,12 @@ let
version = "11.2";
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "${pname}-${version}";
src = fetchFromBitbucket {
owner = "rude";
repo = "love";
- rev = "${version}";
+ rev = version;
sha256 = "0q1lsgc1621czrg49nmabq6am9sgxa9syxrwzlksqqr4dyzw4nmf";
};
diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix
index bc41d86256b..74ccb91030a 100644
--- a/pkgs/development/interpreters/lua-5/build-lua-package.nix
+++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix
@@ -1,7 +1,6 @@
# Generic builder for lua packages
{ lib
, lua
-, stdenv
, wrapLua
# Whether the derivation provides a lua module or not.
, toLuaModule
@@ -13,7 +12,9 @@ name ? "${attrs.pname}-${attrs.version}"
, version
# by default prefix `name` e.g. "lua5.2-${name}"
-, namePrefix ? "lua" + lua.luaversion + "-"
+, namePrefix ? if lua.pkgs.isLuaJIT
+ then lua.name + "-"
+ else "lua" + lua.luaversion + "-"
# Dependencies for building the package
, buildInputs ? []
@@ -28,12 +29,13 @@ name ? "${attrs.pname}-${attrs.version}"
, propagatedNativeBuildInputs ? []
# used to disable derivation, useful for specific lua versions
+# TODO move from this setting meta.broken to a 'disabled' attribute on the
+# package, then use that to skip/include in each lua${ver}Packages set?
, disabled ? false
# Additional arguments to pass to the makeWrapper function, which wraps
# generated binaries.
, makeWrapperArgs ? []
-, external_deps ? propagatedBuildInputs ++ buildInputs
# Skip wrapping of lua programs altogether
, dontWrapLuaPrograms ? false
@@ -43,11 +45,19 @@ name ? "${attrs.pname}-${attrs.version}"
, passthru ? {}
, doCheck ? false
-# appended to the luarocks generated config
-# in peculiar variables like { EVENT_INCDIR } can be useful to work around
-# luarocks limitations, ie, luarocks consider include/lib folders to be subfolders of the same package in external_deps_dirs
-# as explained in https://github.com/luarocks/luarocks/issues/766
+# Non-Lua / system (e.g. C library) dependencies. Is a list of deps, where
+# each dep is either a derivation, or an attribute set like
+# { name = "rockspec external_dependencies key"; dep = derivation; }
+# The latter is used to work-around luarocks having a problem with
+# multiple-output derivations as external deps:
+# https://github.com/luarocks/luarocks/issues/766
+, externalDeps ? lib.unique (lib.filter (drv: !drv ? luaModule) (propagatedBuildInputs ++ buildInputs))
+
+# Appended to the generated luarocks config
, extraConfig ? ""
+# Inserted into the generated luarocks config in the "variables" table
+, extraVariables ? ""
+# The two above arguments have access to builder variables -- e.g. to $out
# relative to srcRoot, path to the rockspec to use when using rocks
, rockspecFilename ? "../*.rockspec"
@@ -59,44 +69,95 @@ name ? "${attrs.pname}-${attrs.version}"
# Keep extra attributes from `attrs`, e.g., `patchPhase', etc.
-if disabled
-then throw "${name} not supported for interpreter ${lua}"
-else
let
-
- deps_dirs= lib.concatStringsSep ", " (
- map (x: "\"${builtins.toString x}\"") external_deps
- );
-
- # TODO
- # - add rocktrees (look at torch-distro.nix/https://github.com/luarocks/luarocks/wiki/Config-file-format)
- # - silence warnings
- luarocks_config = "luarocksConfig";
+ # TODO fix warnings "Couldn't load rockspec for ..." during manifest
+ # construction -- from initial investigation, appears it will require
+ # upstream luarocks changes to fix cleanly (during manifest construction,
+ # luarocks only looks for rockspecs in the default/system tree instead of all
+ # configured trees)
+ luarocks_config = "luarocks-config.lua";
luarocks_content = ''
local_cache = ""
- -- array of strings
- external_deps_dirs = {
- ${deps_dirs}
- }
+ -- To prevent collisions when creating environments, we install the rock
+ -- files into per-package subdirectories
+ rocks_subdir = '${rocksSubdir}'
+ -- Then we need to tell luarocks where to find the rock files per
+ -- dependency
rocks_trees = {
+ ${lib.concatStringsSep "\n, " rocksTrees}
+ }
+ '' + lib.optionalString lua.pkgs.isLuaJIT ''
+ -- Luajit provides some additional functionality built-in; this exposes
+ -- that to luarock's dependency system
+ rocks_provided = {
+ jit='${lua.luaversion}-1';
+ ffi='${lua.luaversion}-1';
+ luaffi='${lua.luaversion}-1';
+ bit='${lua.luaversion}-1';
+ }
+ '' + ''
+ -- For single-output external dependencies
+ external_deps_dirs = {
+ ${lib.concatStringsSep "\n, " externalDepsDirs}
+ }
+ variables = {
+ -- Some needed machinery to handle multiple-output external dependencies,
+ -- as per https://github.com/luarocks/luarocks/issues/766
+ ${lib.optionalString (lib.length depVariables > 0) ''
+ ${lib.concatStringsSep "\n " depVariables}''}
+ ${extraVariables}
}
${extraConfig}
'';
+
+ rocksSubdir = "${attrs.pname}-${version}-rocks";
+
+ externalDepsDirs = map
+ (x: "'${builtins.toString x}'")
+ (lib.filter (lib.isDerivation) externalDeps);
+
+ rocksTrees = lib.imap0
+ (i: dep: "{ name = [[dep-${toString i}]], root = '${dep}', rocks_dir = '${dep}/${dep.rocksSubdir}' }")
+ requiredLuaRocks;
+
+ # Filter out the lua derivation itself from the Lua module dependency
+ # closure, as it doesn't have a rock tree :)
+ requiredLuaRocks = lib.filter (d: d ? luaModule)
+ (lua.pkgs.requiredLuaModules propagatedBuildInputs);
+
+ # Explicitly point luarocks to the relevant locations for multiple-output
+ # derivations that are external dependencies, to work around an issue it has
+ # (https://github.com/luarocks/luarocks/issues/766)
+ depVariables = lib.concatMap ({name, dep}: [
+ "${name}_INCDIR='${lib.getDev dep}/include';"
+ "${name}_LIBDIR='${lib.getLib dep}/lib';"
+ "${name}_BINDIR='${lib.getBin dep}/bin';"
+ ]) externalDeps';
+
+ # example externalDeps': [ { name = "CRYPTO"; dep = pkgs.openssl; } ]
+ externalDeps' = lib.filter (dep: !lib.isDerivation dep) externalDeps;
in
toLuaModule ( lua.stdenv.mkDerivation (
-builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
+builtins.removeAttrs attrs ["disabled" "checkInputs" "externalDeps"] // {
name = namePrefix + name;
buildInputs = [ wrapLua lua.pkgs.luarocks ]
++ buildInputs
++ lib.optionals doCheck checkInputs
+ ++ (map (d: d.dep) externalDeps')
;
# propagate lua to active setup-hook in nix-shell
propagatedBuildInputs = propagatedBuildInputs ++ [ lua ];
- doCheck = false;
+ inherit doCheck;
+
+ # @-patterns do not capture formal argument default values, so we need to
+ # explicitly inherit this for it to be available as a shell variable in the
+ # builder
+ inherit rockspecFilename;
+ inherit rocksSubdir;
# enabled only for src.rock
setSourceRoot= let
@@ -163,23 +224,20 @@ builtins.removeAttrs attrs ["disabled" "checkInputs"] // {
nix_debug "ROCKSPEC $rockspecFilename"
nix_debug "cwd: $PWD"
- $LUAROCKS make --deps-mode=none --tree $out ''${rockspecFilename}
-
- # to prevent collisions when creating environments
- # also added -f as it doesn't always exist
- # don't remove the whole directory as
- rm -rf $out/lib/luarocks/rocks-${lua.luaversion}/manifest
+ $LUAROCKS make --deps-mode=all --tree=$out ''${rockspecFilename}
runHook postInstall
'';
passthru = {
inherit lua; # The lua interpreter
+ inherit externalDeps;
} // passthru;
meta = with lib.maintainers; {
platforms = lua.meta.platforms;
# add extra maintainer(s) to every package
maintainers = (meta.maintainers or []) ++ [ ];
+ broken = disabled;
} // meta;
}))
diff --git a/pkgs/development/interpreters/lua-5/build-rocks.nix b/pkgs/development/interpreters/lua-5/build-rocks.nix
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/pkgs/development/interpreters/lua-5/build-rockspec.nix b/pkgs/development/interpreters/lua-5/build-rockspec.nix
deleted file mode 100644
index e69de29bb2d..00000000000
diff --git a/pkgs/development/interpreters/lua-5/default.nix b/pkgs/development/interpreters/lua-5/default.nix
index fb709227180..08645dfb77f 100644
--- a/pkgs/development/interpreters/lua-5/default.nix
+++ b/pkgs/development/interpreters/lua-5/default.nix
@@ -59,7 +59,7 @@ in rec {
luajit_2_1 = import ../luajit/2.1.nix {
self = luajit_2_1;
- inherit callPackage lib;
+ inherit callPackage;
};
}
diff --git a/pkgs/development/interpreters/lua-5/filesystem.nix b/pkgs/development/interpreters/lua-5/filesystem.nix
index 7aa41e95cc9..64050ea95f8 100644
--- a/pkgs/development/interpreters/lua-5/filesystem.nix
+++ b/pkgs/development/interpreters/lua-5/filesystem.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, lua5 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
version = "1.6.2";
- name = "lua-filesystem-${version}";
+ pname = "lua-filesystem";
isLibrary = true;
src = fetchurl {
url = "https://github.com/keplerproject/luafilesystem/archive/v1_6_2.tar.gz";
diff --git a/pkgs/development/interpreters/lua-5/interpreter.nix b/pkgs/development/interpreters/lua-5/interpreter.nix
index 26db917c900..fb0021cb709 100644
--- a/pkgs/development/interpreters/lua-5/interpreter.nix
+++ b/pkgs/development/interpreters/lua-5/interpreter.nix
@@ -40,14 +40,17 @@ self = stdenv.mkDerivation rec {
"PLAT=macosx"
] else [
"PLAT=linux"
- ])
+ ]) ++ (if stdenv.buildPlatform != stdenv.hostPlatform then [
+ "CC=${stdenv.hostPlatform.config}-gcc"
+ "RANLIB=${stdenv.hostPlatform.config}-ranlib"
+ ] else [])
;
configurePhase = ''
runHook preConfigure
makeFlagsArray+=(CFLAGS="-DLUA_USE_LINUX -O2 -fPIC${if compat then " -DLUA_COMPAT_ALL" else ""}" )
- makeFlagsArray+=(${stdenv.lib.optionalString stdenv.isDarwin "CC=\"$CC\""})
+ makeFlagsArray+=(${stdenv.lib.optionalString stdenv.isDarwin "CC=\"$CC\""}${stdenv.lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) " 'AR=${stdenv.hostPlatform.config}-ar rcu'"})
installFlagsArray=( TO_BIN="lua luac" INSTALL_DATA='cp -d' \
TO_LIB="${if stdenv.isDarwin then "liblua.${version}.dylib" else "liblua.a liblua.so liblua.so.${luaversion} liblua.so.${version}"}" )
diff --git a/pkgs/development/interpreters/lua-5/setup-hook.sh b/pkgs/development/interpreters/lua-5/setup-hook.sh
index 3989bedffdb..f7e56b62ac9 100644
--- a/pkgs/development/interpreters/lua-5/setup-hook.sh
+++ b/pkgs/development/interpreters/lua-5/setup-hook.sh
@@ -1,47 +1,47 @@
# set -e
nix_print() {
- if [ ${NIX_DEBUG:-0} -ge $1 ]; then
- echo "$2"
- fi
+ if [ ${NIX_DEBUG:-0} -ge $1 ]; then
+ echo "$2"
+ fi
}
nix_debug() {
- nix_print 3 "$1"
+ nix_print 3 "$1"
}
addToLuaSearchPathWithCustomDelimiter() {
- local varName="$1"
- local absPattern="$2"
- # delete longest match starting from the lua placeholder '?'
- local topDir="${absPattern%%\?*}"
+ local varName="$1"
+ local absPattern="$2"
+ # delete longest match starting from the lua placeholder '?'
+ local topDir="${absPattern%%\?*}"
- # export only if the folder exists else LUA_PATH grows too big
- if [ ! -d "$topDir" ]; then return; fi
+ # export only if the folder exists else LUA_PATH/LUA_CPATH grow too large
+ if [[ ! -d "$topDir" ]]; then return; fi
- export "${varName}=${!varName:+${!varName};}${absPattern}"
+ # export only if we haven't already got this dir in the search path
+ if [[ ${!varName} == *"$absPattern"* ]]; then return; fi
+
+ export "${varName}=${!varName:+${!varName};}${absPattern}"
}
addToLuaPath() {
- local dir="$1"
+ local dir="$1"
- if [[ ! -d "$dir" ]]; then
- nix_debug "$dir not a directory abort"
- return 0
- fi
- cd "$dir"
- for pattern in @luapathsearchpaths@;
- do
- addToLuaSearchPathWithCustomDelimiter NIX_LUA_PATH "$PWD/$pattern"
- done
+ if [[ ! -d "$dir" ]]; then
+ nix_debug "$dir not a directory abort"
+ return 0
+ fi
+ cd "$dir"
+ for pattern in @luapathsearchpaths@; do
+ addToLuaSearchPathWithCustomDelimiter LUA_PATH "$PWD/$pattern"
+ done
- # LUA_CPATH
- for pattern in @luacpathsearchpaths@;
- do
- addToLuaSearchPathWithCustomDelimiter NIX_LUA_CPATH "$PWD/$pattern"
- done
- cd - >/dev/null
+ # LUA_CPATH
+ for pattern in @luacpathsearchpaths@; do
+ addToLuaSearchPathWithCustomDelimiter LUA_CPATH "$PWD/$pattern"
+ done
+ cd - >/dev/null
}
addEnvHooks "$hostOffset" addToLuaPath
-
diff --git a/pkgs/development/interpreters/lua-5/sockets.nix b/pkgs/development/interpreters/lua-5/sockets.nix
index d8a789e9209..f0eb1becc57 100644
--- a/pkgs/development/interpreters/lua-5/sockets.nix
+++ b/pkgs/development/interpreters/lua-5/sockets.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, lua5 }:
stdenv.mkDerivation rec {
- name = "lua-sockets-${version}";
+ pname = "lua-sockets";
version = "2.0.2";
src = fetchurl {
url = "http://files.luaforge.net/releases/luasocket/luasocket/luasocket-${version}/luasocket-${version}.tar.gz";
diff --git a/pkgs/development/interpreters/lua-5/wrap.sh b/pkgs/development/interpreters/lua-5/wrap.sh
index 545a0ae271c..5941ff4a6b9 100644
--- a/pkgs/development/interpreters/lua-5/wrap.sh
+++ b/pkgs/development/interpreters/lua-5/wrap.sh
@@ -4,73 +4,72 @@
set -e
wrapLuaPrograms() {
- wrapLuaProgramsIn "$out/bin" "$out $luaPath"
+ wrapLuaProgramsIn "$out/bin" "$out $luaPath"
}
# Builds environment variables like LUA_PATH and PATH walking through closure
# of dependencies.
buildLuaPath() {
- local luaPath="$1"
- local path
+ local luaPath="$1"
+ local path
- # Create an empty table of paths (see doc on loadFromPropagatedInputs
- # for how this is used). Build up the program_PATH and program_LUA_PATH
- # variables.
- declare -A luaPathsSeen=()
- program_PATH=
- luaPathsSeen["@lua@"]=1
- addToSearchPath program_PATH @lua@/bin
- for path in $luaPath; do
- addToLuaPath "$path"
- done
+ # Create an empty table of paths (see doc on loadFromPropagatedInputs
+ # for how this is used). Build up the program_PATH and program_LUA_PATH
+ # variables.
+ declare -A luaPathsSeen=()
+ program_PATH=
+ luaPathsSeen["@lua@"]=1
+ addToSearchPath program_PATH @lua@/bin
+ for path in $luaPath; do
+ addToLuaPath "$path"
+ done
}
-
# with an executable shell script which will set some environment variables
# and then call into the original binary (which has been given a .wrapped suffix).
# luaPath is a list of directories
wrapLuaProgramsIn() {
- local dir="$1"
- local luaPath="$2"
- local f
+ local dir="$1"
+ local luaPath="$2"
+ local f
- buildLuaPath "$luaPath"
+ buildLuaPath "$luaPath"
- if [ ! -d "$dir" ]; then
- nix_debug "$dir not a directory"
- return
+ if [ ! -d "$dir" ]; then
+ nix_debug "$dir not a directory"
+ return
+ fi
+
+ nix_debug "wrapping programs in [$dir]"
+
+ # Find all regular files in the output directory that are executable.
+ find "$dir" -type f -perm -0100 -print0 | while read -d "" f; do
+ # Rewrite "#! .../env lua" to "#! /nix/store/.../lua".
+ # Strip suffix, like "3" or "2.7m" -- we don't have any choice on which
+ # Lua to use besides one with this hook anyway.
+ if head -n1 "$f" | grep -q '#!.*/env.*\(lua\)'; then
+ sed -i "$f" -e "1 s^.*/env[ ]*\(lua\)[^ ]*^#! @executable@^"
fi
- nix_debug "wrapping programs in [$dir]"
+ # wrapProgram creates the executable shell script described
+ # above. The script will set LUA_(C)PATH and PATH variables!
+ # (see pkgs/build-support/setup-hooks/make-wrapper.sh)
+ local -a wrap_args=("$f"
+ --prefix PATH ':' "$program_PATH"
+ --prefix LUA_PATH ';' "$LUA_PATH"
+ --prefix LUA_CPATH ';' "$LUA_CPATH"
+ )
- # Find all regular files in the output directory that are executable.
- find "$dir" -type f -perm -0100 -print0 | while read -d "" f; do
- # Rewrite "#! .../env lua" to "#! /nix/store/.../lua".
- # Strip suffix, like "3" or "2.7m" -- we don't have any choice on which
- # Lua to use besides one with this hook anyway.
- if head -n1 "$f" | grep -q '#!.*/env.*\(lua\)'; then
- sed -i "$f" -e "1 s^.*/env[ ]*\(lua\)[^ ]*^#! @executable@^"
- fi
+ # Add any additional arguments provided by makeWrapperArgs
+ # argument to buildLuaPackage.
+ # makeWrapperArgs
+ local -a user_args="($makeWrapperArgs)"
+ local -a wrapProgramArgs=("${wrap_args[@]}" "${user_args[@]}")
- # wrapProgram creates the executable shell script described
- # above. The script will set LUA_(C)PATH and PATH variables!
- # (see pkgs/build-support/setup-hooks/make-wrapper.sh)
- local -a wrap_args=("$f"
- --prefix PATH ':' "$program_PATH"
- --prefix LUA_PATH ';' "$NIX_LUA_PATH"
- --prefix LUA_CPATH ';' "$NIX_LUA_CPATH"
- )
+ # see setup-hooks/make-wrapper.sh
+ wrapProgram "${wrapProgramArgs[@]}"
- # Add any additional arguments provided by makeWrapperArgs
- # argument to buildLuaPackage.
- # makeWrapperArgs
- local -a user_args="($makeWrapperArgs)"
- local -a wrapProgramArgs=("${wrap_args[@]}" "${user_args[@]}")
-
- # see setup-hooks/make-wrapper.sh
- wrapProgram "${wrapProgramArgs[@]}"
-
- done
+ done
}
# Adds the lib and bin directories to the LUA_PATH and PATH variables,
@@ -78,22 +77,22 @@ wrapLuaProgramsIn() {
# `propagated-native-build-inputs`, while avoiding duplicating paths by
# flagging the directories it has visited in `luaPathsSeen`.
loadFromPropagatedInputs() {
- local dir="$1"
- # Stop if we've already visited here.
- if [ -n "${luaPathsSeen[$dir]}" ]; then
- return;
- fi
- luaPathsSeen[$dir]=1
+ local dir="$1"
+ # Stop if we've already visited here.
+ if [ -n "${luaPathsSeen[$dir]}" ]; then
+ return
+ fi
+ luaPathsSeen[$dir]=1
- addToLuaPath "$dir"
- addToSearchPath program_PATH $dir/bin
+ addToLuaPath "$dir"
+ addToSearchPath program_PATH $dir/bin
- # Inspect the propagated inputs (if they exist) and recur on them.
- local prop="$dir/nix-support/propagated-native-build-inputs"
- if [ -e "$prop" ]; then
- local new_path
- for new_path in $(cat $prop); do
- loadFromPropagatedInputs "$new_path"
- done
- fi
+ # Inspect the propagated inputs (if they exist) and recur on them.
+ local prop="$dir/nix-support/propagated-native-build-inputs"
+ if [ -e "$prop" ]; then
+ local new_path
+ for new_path in $(cat $prop); do
+ loadFromPropagatedInputs "$new_path"
+ done
+ fi
}
diff --git a/pkgs/development/interpreters/lua-5/wrapper.nix b/pkgs/development/interpreters/lua-5/wrapper.nix
index 7f584c0f0af..816744e61cf 100644
--- a/pkgs/development/interpreters/lua-5/wrapper.nix
+++ b/pkgs/development/interpreters/lua-5/wrapper.nix
@@ -3,7 +3,6 @@
, extraOutputsToInstall ? []
, postBuild ? ""
, ignoreCollisions ? false
-, lib
, requiredLuaModules
, makeWrapperArgs ? []
}:
@@ -44,7 +43,7 @@ let
rm -f "$out/bin/$prg"
if [ -x "$prg" ]; then
nix_debug "Making wrapper $prg"
- makeWrapper "$path/bin/$prg" "$out/bin/$prg" --suffix LUA_PATH ';' "$NIX_LUA_PATH" --suffix LUA_CPATH ';' "$NIX_LUA_CPATH" ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
+ makeWrapper "$path/bin/$prg" "$out/bin/$prg" --suffix LUA_PATH ';' "$LUA_PATH" --suffix LUA_CPATH ';' "$LUA_CPATH" ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
fi
fi
done
diff --git a/pkgs/development/interpreters/lua-5/zip.nix b/pkgs/development/interpreters/lua-5/zip.nix
deleted file mode 100644
index 295f41aaa2b..00000000000
--- a/pkgs/development/interpreters/lua-5/zip.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ pkgs, stdenv, fetchurl, lua5_1, zziplib }:
-
-stdenv.mkDerivation rec {
- version = "1.2.3";
- name = "lua-zip-${version}";
- isLibrary = true;
- src = fetchurl {
- url = "https://github.com/luaforge/luazip/archive/0b8f5c958e170b1b49f05bc267bc0351ad4dfc44.zip";
- sha256 = "beb9260d606fdd5304aa958d95f0d3c20be7ca0a2cff44e7b75281c138a76a50";
- };
-
- buildInputs = [ pkgs.unzip lua5_1 zziplib ];
-
- preBuild = ''
- makeFlagsArray=(
- PREFIX=$out
- LUA_LIBDIR="$out/lib/lua/${lua5_1.luaversion}"
- LUA_INC="-I${lua5_1}/include");
- '';
-
- patches = [ ./zip.patch ];
-
- meta = {
- homepage = https://github.com/luaforge/luazip;
- hydraPlatforms = stdenv.lib.platforms.linux;
- license = stdenv.lib.licenses.mit;
- };
-}
diff --git a/pkgs/development/interpreters/luajit/2.1.nix b/pkgs/development/interpreters/luajit/2.1.nix
index 0f223963132..e8f1b8b338c 100644
--- a/pkgs/development/interpreters/luajit/2.1.nix
+++ b/pkgs/development/interpreters/luajit/2.1.nix
@@ -1,4 +1,4 @@
-{ self, callPackage, lib }:
+{ self, callPackage }:
callPackage ./default.nix {
inherit self;
version = "2.1.0-beta3";
diff --git a/pkgs/development/interpreters/luajit/default.nix b/pkgs/development/interpreters/luajit/default.nix
index abd1fda47cb..7db8feb98e7 100644
--- a/pkgs/development/interpreters/luajit/default.nix
+++ b/pkgs/development/interpreters/luajit/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, lib, fetchurl, buildPackages
+{ stdenv, fetchurl, buildPackages
, name ? "luajit-${version}"
, isStable
, sha256
diff --git a/pkgs/development/interpreters/maude/default.nix b/pkgs/development/interpreters/maude/default.nix
index 30013946886..e44209799a3 100644
--- a/pkgs/development/interpreters/maude/default.nix
+++ b/pkgs/development/interpreters/maude/default.nix
@@ -13,8 +13,9 @@ let
in
-stdenv.mkDerivation rec {
- name = "maude-${version}";
+stdenv.mkDerivation {
+ pname = "maude";
+ inherit version;
src = fetchurl {
url = "http://maude.cs.illinois.edu/w/images/d/d8/Maude-${version}.tar.gz";
diff --git a/pkgs/development/interpreters/metamath/default.nix b/pkgs/development/interpreters/metamath/default.nix
index e8e23cee830..686cfee19a6 100644
--- a/pkgs/development/interpreters/metamath/default.nix
+++ b/pkgs/development/interpreters/metamath/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook }:
-stdenv.mkDerivation rec {
- name = "metamath-${version}";
+stdenv.mkDerivation {
+ pname = "metamath";
version = "0.172";
buildInputs = [ autoreconfHook ];
diff --git a/pkgs/development/interpreters/mujs/default.nix b/pkgs/development/interpreters/mujs/default.nix
index f071aab94c7..aef23ad6881 100644
--- a/pkgs/development/interpreters/mujs/default.nix
+++ b/pkgs/development/interpreters/mujs/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, readline }:
stdenv.mkDerivation rec {
- name = "mujs-${version}";
- version = "1.0.5";
+ pname = "mujs";
+ version = "1.0.6";
src = fetchurl {
url = "https://mujs.com/downloads/mujs-${version}.tar.xz";
- sha256 = "02cqrfnww2s3ylcvqin1951f2c5nzpby8gxb207p2hbrivbg8f0l";
+ sha256 = "1q9w2dcspfp580pzx7sw7x9gbn8j0ak6dvj75wd1ml3f3q3i43df";
};
buildInputs = [ readline ];
diff --git a/pkgs/development/interpreters/nix-exec/default.nix b/pkgs/development/interpreters/nix-exec/default.nix
index 277993339e2..bde2f5d9fa9 100644
--- a/pkgs/development/interpreters/nix-exec/default.nix
+++ b/pkgs/development/interpreters/nix-exec/default.nix
@@ -1,7 +1,8 @@
{ stdenv, fetchurl, pkgconfig, nix, git }: let
version = "4.1.6";
in stdenv.mkDerivation {
- name = "nix-exec-${version}";
+ pname = "nix-exec";
+ inherit version;
src = fetchurl {
url = "https://github.com/shlevy/nix-exec/releases/download/v${version}/nix-exec-${version}.tar.xz";
diff --git a/pkgs/development/interpreters/octave/default.nix b/pkgs/development/interpreters/octave/default.nix
index d3dda7655c2..cc9f6fcc3c9 100644
--- a/pkgs/development/interpreters/octave/default.nix
+++ b/pkgs/development/interpreters/octave/default.nix
@@ -19,9 +19,9 @@ in
stdenv.mkDerivation rec {
version = "5.1.0";
- name = "octave-${version}";
+ pname = "octave";
src = fetchurl {
- url = "mirror://gnu/octave/${name}.tar.gz";
+ url = "mirror://gnu/octave/${pname}-${version}.tar.gz";
sha256 = "15blrldzwyxma16rnd4n01gnsrriii0dwmyca6m7qz62r8j12sz3";
};
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
# Keep a copy of the octave tests detailed results in the output
# derivation, because someone may care
postInstall = ''
- cp test/fntests.log $out/share/octave/${name}-fntests.log || true
+ cp test/fntests.log $out/share/octave/${pname}-${version}-fntests.log || true
'';
passthru = {
diff --git a/pkgs/development/interpreters/perl/default.nix b/pkgs/development/interpreters/perl/default.nix
index c95d9b3009a..2ecc5cbb2ef 100644
--- a/pkgs/development/interpreters/perl/default.nix
+++ b/pkgs/development/interpreters/perl/default.nix
@@ -1,4 +1,4 @@
-{ config, lib, stdenv, fetchurl, buildPackages, callPackage
+{ config, lib, stdenv, fetchurl, pkgs, buildPackages, callPackage
, enableThreading ? stdenv ? glibc, makeWrapper
}:
@@ -23,7 +23,7 @@ let
libcLib = lib.getLib libc;
crossCompiling = stdenv.buildPlatform != stdenv.hostPlatform;
- common = { self, version, sha256 }: stdenv.mkDerivation (rec {
+ common = { perl, buildPerl, version, sha256 }: stdenv.mkDerivation (rec {
inherit version;
name = "perl-${version}";
@@ -43,7 +43,9 @@ let
patches =
[
# Do not look in /usr etc. for dependencies.
- (if (versionOlder version "5.29.6") then ./no-sys-dirs-5.26.patch else ./no-sys-dirs-5.29.patch)
+ (if (versionOlder version "5.29.6") then ./no-sys-dirs-5.26.patch
+ else if (versionOlder version "5.31.1") then ./no-sys-dirs-5.29.patch
+ else ./no-sys-dirs-5.31.patch)
]
++ optional (versionOlder version "5.29.6")
# Fix parallel building: https://rt.perl.org/Public/Bug/Display.html?id=132360
@@ -106,14 +108,14 @@ let
setupHook = ./setup-hook.sh;
passthru = rec {
- interpreter = "${self}/bin/perl";
+ interpreter = "${perl}/bin/perl";
libPrefix = "lib/perl5/site_perl";
pkgs = callPackage ../../../top-level/perl-packages.nix {
- perl = self;
+ inherit perl buildPerl;
overrides = config.perlPackageOverrides or (p: {}); # TODO: (self: super: {}) like in python
};
buildEnv = callPackage ./wrapper.nix {
- perl = self;
+ inherit perl;
inherit (pkgs) requiredPerlModules;
};
withPackages = f: buildEnv.override { extraLibs = f pkgs; };
@@ -171,11 +173,11 @@ let
priority = 6; # in `buildEnv' (including the one inside `perl.withPackages') the library files will have priority over files in `perl`
};
} // stdenv.lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) rec {
- crossVersion = "9e4051cd28b7b3afb162776f5627c7abe4c7b9ea"; # Apr 21, 2019
+ crossVersion = "980998f7d11baf97284426ca91f84681d49a08f5"; # Jul 20, 2019
perl-cross-src = fetchurl {
url = "https://github.com/arsv/perl-cross/archive/${crossVersion}.tar.gz";
- sha256 = "0dj99w2dicbp3c3wn0k32785pc4c68iqnlyxswnza6mhw6wvl9v7";
+ sha256 = "1hg3k2rhjs5gclrm05z87nvlh4j9pg7mkm9998h9gy6mzk8224q5";
};
depsBuildBuild = [ buildPackages.stdenv.cc makeWrapper ];
@@ -190,18 +192,28 @@ let
# TODO merge setup hooks
setupHook = ./setup-hook-cross.sh;
});
-in rec {
- # the latest Maint version
+in {
+ # Maint version
perl528 = common {
- self = perl528;
+ perl = pkgs.perl528;
+ buildPerl = buildPackages.perl528;
version = "5.28.2";
sha256 = "1iynpsxdym4h76kgndmn3ykvwxhqz444xvaz8z2irsxkvmnlb5da";
};
+ # Maint version
+ perl530 = common {
+ perl = pkgs.perl530;
+ buildPerl = buildPackages.perl530;
+ version = "5.30.0";
+ sha256 = "1wkmz6xn3fswpqhz29akiklcxclnlykhp96a8bqcz36rak3i64l5";
+ };
+
# the latest Devel version
perldevel = common {
- self = perldevel;
- version = "5.29.9";
- sha256 = "017x3nghyc5m8q1yqnrdma96b3d5rlfx87vv5mi64jq0r8k6zppm";
+ perl = pkgs.perldevel;
+ buildPerl = buildPackages.perldevel;
+ version = "5.31.2";
+ sha256 = "00bdh9lmjb0m7dhk8mj7kab7cg2zn9zgw82y4hgkwydzg6d1jis0";
};
}
diff --git a/pkgs/development/interpreters/perl/no-sys-dirs-5.31.patch b/pkgs/development/interpreters/perl/no-sys-dirs-5.31.patch
new file mode 100644
index 00000000000..62dce0e25b9
--- /dev/null
+++ b/pkgs/development/interpreters/perl/no-sys-dirs-5.31.patch
@@ -0,0 +1,254 @@
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/Configure perl-5.20.0/Configure
+--- perl-5.20.0-orig/Configure 2014-05-26 15:34:18.000000000 +0200
++++ perl-5.20.0/Configure 2014-06-25 10:43:35.368285986 +0200
+@@ -106,15 +106,7 @@
+ fi
+
+ : Proper PATH setting
+-paths='/bin /usr/bin /usr/local/bin /usr/ucb /usr/local /usr/lbin'
+-paths="$paths /opt/bin /opt/local/bin /opt/local /opt/lbin"
+-paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
+-paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
+-paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
+-paths="$paths /bsd4.3/usr/bin /usr/bsd /bsd43/bin /opt/ansic/bin /usr/ccs/bin"
+-paths="$paths /etc /usr/lib /usr/ucblib /lib /usr/ccs/lib"
+-paths="$paths /sbin /usr/sbin /usr/libexec"
+-paths="$paths /system/gnu_library/bin"
++paths=''
+
+ for p in $paths
+ do
+@@ -1337,8 +1329,7 @@
+ archname=''
+ : Possible local include directories to search.
+ : Set locincpth to "" in a hint file to defeat local include searches.
+-locincpth="/usr/local/include /opt/local/include /usr/gnu/include"
+-locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include"
++locincpth=""
+ :
+ : no include file wanted by default
+ inclwanted=''
+@@ -1349,17 +1340,12 @@
+
+ libnames=''
+ : change the next line if compiling for Xenix/286 on Xenix/386
+-xlibpth='/usr/lib/386 /lib/386'
++xlibpth=''
+ : Possible local library directories to search.
+-loclibpth="/usr/local/lib /opt/local/lib /usr/gnu/lib"
+-loclibpth="$loclibpth /opt/gnu/lib /usr/GNU/lib /opt/GNU/lib"
++loclibpth=""
+
+ : general looking path for locating libraries
+-glibpth="/lib /usr/lib $xlibpth"
+-glibpth="$glibpth /usr/ccs/lib /usr/ucblib /usr/local/lib"
+-test -f /usr/shlib/libc.so && glibpth="/usr/shlib $glibpth"
+-test -f /shlib/libc.so && glibpth="/shlib $glibpth"
+-test -d /usr/lib64 && glibpth="$glibpth /lib64 /usr/lib64 /usr/local/lib64"
++glibpth=""
+
+ : Private path used by Configure to find libraries. Its value
+ : is prepended to libpth. This variable takes care of special
+@@ -1391,8 +1377,6 @@
+ libswanted="$libswanted m crypt sec util c cposix posix ucb bsd BSD"
+ : We probably want to search /usr/shlib before most other libraries.
+ : This is only used by the lib/ExtUtils/MakeMaker.pm routine extliblist.
+-glibpth=`echo " $glibpth " | sed -e 's! /usr/shlib ! !'`
+-glibpth="/usr/shlib $glibpth"
+ : Do not use vfork unless overridden by a hint file.
+ usevfork=false
+
+@@ -2446,7 +2430,6 @@
+ zip
+ "
+ pth=`echo $PATH | sed -e "s/$p_/ /g"`
+-pth="$pth $sysroot/lib $sysroot/usr/lib"
+ for file in $loclist; do
+ eval xxx=\$$file
+ case "$xxx" in
+@@ -4936,7 +4919,7 @@
+ : Set private lib path
+ case "$plibpth" in
+ '') if ./mips; then
+- plibpth="$incpath/usr/lib $sysroot/usr/local/lib $sysroot/usr/ccs/lib"
++ plibpth="$incpath/usr/lib"
+ fi;;
+ esac
+ case "$libpth" in
+@@ -8600,13 +8583,8 @@
+ echo " "
+ case "$sysman" in
+ '')
+- syspath='/usr/share/man/man1 /usr/man/man1'
+- syspath="$syspath /usr/man/mann /usr/man/manl /usr/man/local/man1"
+- syspath="$syspath /usr/man/u_man/man1"
+- syspath="$syspath /usr/catman/u_man/man1 /usr/man/l_man/man1"
+- syspath="$syspath /usr/local/man/u_man/man1 /usr/local/man/l_man/man1"
+- syspath="$syspath /usr/man/man.L /local/man/man1 /usr/local/man/man1"
+- sysman=`./loc . /usr/man/man1 $syspath`
++ syspath=''
++ sysman=''
+ ;;
+ esac
+ if $test -d "$sysman"; then
+@@ -19900,9 +19878,10 @@
+ case "$full_ar" in
+ '') full_ar=$ar ;;
+ esac
++full_ar=ar
+
+ : Store the full pathname to the sed program for use in the C program
+-full_sed=$sed
++full_sed=sed
+
+ : see what type gids are declared as in the kernel
+ echo " "
+Only in perl-5.20.0/: Configure.orig
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/ext/Errno/Errno_pm.PL perl-5.20.0/ext/Errno/Errno_pm.PL
+--- perl-5.20.0-orig/ext/Errno/Errno_pm.PL 2014-05-26 15:34:20.000000000 +0200
++++ perl-5.20.0/ext/Errno/Errno_pm.PL 2014-06-25 10:31:24.317970047 +0200
+@@ -134,12 +126,7 @@
+ if ($dep =~ /(\S+errno\.h)/) {
+ $file{$1} = 1;
+ }
+- } elsif ($^O eq 'linux' &&
+- $Config{gccversion} ne '' &&
+- $Config{gccversion} !~ /intel/i &&
+- # might be using, say, Intel's icc
+- $linux_errno_h
+- ) {
++ } elsif (0) {
+ $file{$linux_errno_h} = 1;
+ } elsif ($^O eq 'haiku') {
+ # hidden in a special place
+Only in perl-5.20.0/ext/Errno: Errno_pm.PL.orig
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/freebsd.sh perl-5.20.0/hints/freebsd.sh
+--- perl-5.20.0-orig/hints/freebsd.sh 2014-01-31 22:55:51.000000000 +0100
++++ perl-5.20.0/hints/freebsd.sh 2014-06-25 10:25:53.263964680 +0200
+@@ -119,21 +119,21 @@
+ objformat=`/usr/bin/objformat`
+ if [ x$objformat = xaout ]; then
+ if [ -e /usr/lib/aout ]; then
+- libpth="/usr/lib/aout /usr/local/lib /usr/lib"
+- glibpth="/usr/lib/aout /usr/local/lib /usr/lib"
++ libpth=""
++ glibpth=""
+ fi
+ lddlflags='-Bshareable'
+ else
+- libpth="/usr/lib /usr/local/lib"
+- glibpth="/usr/lib /usr/local/lib"
++ libpth=""
++ glibpth=""
+ ldflags="-Wl,-E "
+ lddlflags="-shared "
+ fi
+ cccdlflags='-DPIC -fPIC'
+ ;;
+ *)
+- libpth="/usr/lib /usr/local/lib"
+- glibpth="/usr/lib /usr/local/lib"
++ libpth=""
++ glibpth=""
+ ldflags="-Wl,-E "
+ lddlflags="-shared "
+ cccdlflags='-DPIC -fPIC'
+diff -ru -x '*~' -x '*.rej' perl-5.20.0-orig/hints/linux.sh perl-5.20.0/hints/linux.sh
+--- perl-5.20.0-orig/hints/linux.sh 2014-05-26 15:34:20.000000000 +0200
++++ perl-5.20.0/hints/linux.sh 2014-06-25 10:33:47.354883843 +0200
+@@ -150,28 +150,6 @@ case "$optimize" in
+ ;;
+ esac
+
+-# Ubuntu 11.04 (and later, presumably) doesn't keep most libraries
+-# (such as -lm) in /lib or /usr/lib. So we have to ask gcc to tell us
+-# where to look. We don't want gcc's own libraries, however, so we
+-# filter those out.
+-# This could be conditional on Unbuntu, but other distributions may
+-# follow suit, and this scheme seems to work even on rather old gcc's.
+-# This unconditionally uses gcc because even if the user is using another
+-# compiler, we still need to find the math library and friends, and I don't
+-# know how other compilers will cope with that situation.
+-# Morever, if the user has their own gcc earlier in $PATH than the system gcc,
+-# we don't want its libraries. So we try to prefer the system gcc
+-# Still, as an escape hatch, allow Configure command line overrides to
+-# plibpth to bypass this check.
+-if [ -x /usr/bin/gcc ] ; then
+- gcc=/usr/bin/gcc
+-# clang also provides -print-search-dirs
+-elif ${cc:-cc} --version 2>/dev/null | grep -q '^clang ' ; then
+- gcc=${cc:-cc}
+-else
+- gcc=gcc
+-fi
+-
+ case "$plibpth" in
+ '') plibpth=`LANG=C LC_ALL=C $gcc $ccflags $ldflags -print-search-dirs | grep libraries |
+ cut -f2- -d= | tr ':' $trnl | grep -v 'gcc' | sed -e 's:/$::'`
+@@ -208,32 +186,6 @@ case "$usequadmath" in
+ ;;
+ esac
+
+-case "$libc" in
+-'')
+-# If you have glibc, then report the version for ./myconfig bug reporting.
+-# (Configure doesn't need to know the specific version since it just uses
+-# gcc to load the library for all tests.)
+-# We don't use __GLIBC__ and __GLIBC_MINOR__ because they
+-# are insufficiently precise to distinguish things like
+-# libc-2.0.6 and libc-2.0.7.
+- for p in $plibpth
+- do
+- for trylib in libc.so.6 libc.so
+- do
+- if $test -e $p/$trylib; then
+- libc=`ls -l $p/$trylib | awk '{print $NF}'`
+- if $test "X$libc" != X; then
+- break
+- fi
+- fi
+- done
+- if $test "X$libc" != X; then
+- break
+- fi
+- done
+- ;;
+-esac
+-
+ if ${sh:-/bin/sh} -c exit; then
+ echo ''
+ echo 'You appear to have a working bash. Good.'
+@@ -311,33 +263,6 @@ sparc*)
+ ;;
+ esac
+
+-# SuSE8.2 has /usr/lib/libndbm* which are ld scripts rather than
+-# true libraries. The scripts cause binding against static
+-# version of -lgdbm which is a bad idea. So if we have 'nm'
+-# make sure it can read the file
+-# NI-S 2003/08/07
+-case "$nm" in
+- '') ;;
+- *)
+- for p in $plibpth
+- do
+- if $test -r $p/libndbm.so; then
+- if $nm $p/libndbm.so >/dev/null 2>&1 ; then
+- echo 'Your shared -lndbm seems to be a real library.'
+- _libndbm_real=1
+- break
+- fi
+- fi
+- done
+- if $test "X$_libndbm_real" = X; then
+- echo 'Your shared -lndbm is not a real library.'
+- set `echo X "$libswanted "| sed -e 's/ ndbm / /'`
+- shift
+- libswanted="$*"
+- fi
+- ;;
+-esac
+-
+ # Linux on Synology.
+ if [ -f /etc/synoinfo.conf -a -d /usr/syno ]; then
+ # Tested on Synology DS213 and DS413
diff --git a/pkgs/development/interpreters/perl/wrapper.nix b/pkgs/development/interpreters/perl/wrapper.nix
index 9142a1f4fc3..95122aebf03 100644
--- a/pkgs/development/interpreters/perl/wrapper.nix
+++ b/pkgs/development/interpreters/perl/wrapper.nix
@@ -3,9 +3,7 @@
, extraOutputsToInstall ? []
, postBuild ? ""
, ignoreCollisions ? false
-, lib
, requiredPerlModules
-, makeWrapperArgs ? []
}:
# Create a perl executable that knows about additional packages.
diff --git a/pkgs/development/interpreters/php/default.nix b/pkgs/development/interpreters/php/default.nix
index 073f3dfdc30..9a82868b7b3 100644
--- a/pkgs/development/interpreters/php/default.nix
+++ b/pkgs/development/interpreters/php/default.nix
@@ -1,10 +1,10 @@
# pcre functionality is tested in nixos/tests/php-pcre.nix
-{ lib, stdenv, fetchurl, flex, bison, autoconf
+{ lib, stdenv, fetchurl, autoconf, bison, libtool, pkgconfig, re2c
, mysql, libxml2, readline, zlib, curl, postgresql, gettext
-, openssl, pcre, pcre2, pkgconfig, sqlite, config, libjpeg, libpng, freetype
+, openssl, pcre, pcre2, sqlite, config, libjpeg, libpng, freetype
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, unixODBC
, uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, html-tidy, libargon2
-, libzip, re2c, valgrind
+, libzip, valgrind
}:
with lib;
@@ -17,7 +17,7 @@ let
, withSystemd ? config.php.systemd or stdenv.isLinux
, imapSupport ? config.php.imap or (!stdenv.isDarwin)
, ldapSupport ? config.php.ldap or true
- , mhashSupport ? config.php.mhash or true
+ , mhashSupport ? config.php.mhash or false
, mysqlndSupport ? config.php.mysqlnd or true
, mysqliSupport ? config.php.mysqli or true
, pdo_mysqlSupport ? config.php.pdo_mysql or true
@@ -48,7 +48,7 @@ let
, ftpSupport ? config.php.ftp or true
, fpmSupport ? config.php.fpm or true
, gmpSupport ? config.php.gmp or true
- , ztsSupport ? config.php.zts or false
+ , ztsSupport ? (config.php.zts or false) || (apxs2Support)
, calendarSupport ? config.php.calendar or true
, sodiumSupport ? (config.php.sodium or true) && (versionAtLeast version "7.2")
, tidySupport ? (config.php.tidy or false)
@@ -59,10 +59,8 @@ let
, cliSupport ? config.php.cli or true
, pharSupport ? config.php.phar or true
, xmlrpcSupport ? (config.php.xmlrpc or false) && (libxml2Support)
- , re2cSupport ? config.php.re2c or true
- , cgotoSupport ? (config.php.cgoto or false) && (re2cSupport)
+ , cgotoSupport ? config.php.cgoto or false
, valgrindSupport ? (config.php.valgrind or true) && (versionAtLeast version "7.2")
- , valgrindPcreSupport ? (config.php.valgrindPcreSupport or false) && (valgrindSupport) && (versionAtLeast version "7.2")
}:
let
@@ -76,8 +74,8 @@ let
enableParallelBuilding = true;
- nativeBuildInputs = [ pkgconfig autoconf ];
- buildInputs = [ flex bison ]
+ nativeBuildInputs = [ autoconf bison libtool pkgconfig re2c ];
+ buildInputs = [ ]
++ optional (versionOlder version "7.3") pcre
++ optional (versionAtLeast version "7.3") pcre2
++ optional withSystemd systemd
@@ -108,7 +106,6 @@ let
++ optional tidySupport html-tidy
++ optional argon2Support libargon2
++ optional libzipSupport libzip
- ++ optional re2cSupport re2c
++ optional valgrindSupport valgrind;
CXXFLAGS = optional stdenv.cc.isClang "-std=c++11";
@@ -192,8 +189,7 @@ let
++ optional (!pharSupport) "--disable-phar"
++ optional xmlrpcSupport "--with-xmlrpc"
++ optional cgotoSupport "--enable-re2c-cgoto"
- ++ optional valgrindSupport "--with-valgrind=${valgrind.dev}"
- ++ optional valgrindPcreSupport "--with-pcre-valgrind";
+ ++ optional valgrindSupport "--with-valgrind=${valgrind.dev}";
hardeningDisable = [ "bindnow" ];
@@ -257,25 +253,17 @@ let
};
in {
- php71 = generic {
- version = "7.1.29";
- sha256 = "0dc3p3xq430vawcryw3xb4d1ckkz44rdnvfr833jsrl2zrzd2a45";
-
- # https://bugs.php.net/bug.php?id=76826
- extraPatches = optional stdenv.isDarwin ./php71-darwin-isfinite.patch;
- };
-
php72 = generic {
- version = "7.2.18";
- sha256 = "0wjb9j5slqjx1fn00ljwgy4vlxvz9a6s9677h5z20wqi5nqjf6ps";
+ version = "7.2.22";
+ sha256 = "12phn0rrd5r1j6xlz83h7v6gszmj4lb5gwj927psbbc6nn1rh2n1";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php72-darwin-isfinite.patch;
};
php73 = generic {
- version = "7.3.5";
- sha256 = "0pn3c9fj24v0r57d3cz67nisg6vjyw2yn5il7j1c6rw2z47bi023";
+ version = "7.3.9";
+ sha256 = "1i33v50rbqrfwjwch1d46mbpwbxrg1xfycs9mjl7xsy9m04rg753";
# https://bugs.php.net/bug.php?id=76826
extraPatches = optional stdenv.isDarwin ./php73-darwin-isfinite.patch;
diff --git a/pkgs/development/interpreters/php/php71-darwin-isfinite.patch b/pkgs/development/interpreters/php/php71-darwin-isfinite.patch
deleted file mode 100644
index ebfcd94f8d4..00000000000
--- a/pkgs/development/interpreters/php/php71-darwin-isfinite.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-diff -ru a/Zend/configure.in b/Zend/configure.in
---- a/Zend/configure.in 2018-11-07 15:35:26.000000000 +0000
-+++ b/Zend/configure.in 2018-11-27 00:28:48.000000000 +0000
-@@ -70,7 +70,7 @@
- #endif
-
- #ifndef zend_isnan
--#if HAVE_DECL_ISNAN && (!defined(__cplusplus) || __cplusplus < 201103L)
-+#if HAVE_DECL_ISNAN && (defined(__APPLE__) || defined(__APPLE_CC__) || !defined(__cplusplus) || __cplusplus < 201103L)
- #define zend_isnan(a) isnan(a)
- #elif defined(HAVE_FPCLASS)
- #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
-@@ -79,7 +79,7 @@
- #endif
- #endif
-
--#if HAVE_DECL_ISINF && (!defined(__cplusplus) || __cplusplus < 201103L)
-+#if HAVE_DECL_ISINF && (defined(__APPLE__) || defined(__APPLE_CC__) || !defined(__cplusplus) || __cplusplus < 201103L)
- #define zend_isinf(a) isinf(a)
- #elif defined(INFINITY)
- /* Might not work, but is required by ISO C99 */
-@@ -90,7 +90,7 @@
- #define zend_isinf(a) 0
- #endif
-
--#if HAVE_DECL_ISFINITE && (!defined(__cplusplus) || __cplusplus < 201103L)
-+#if HAVE_DECL_ISFINITE && (defined(__APPLE__) || defined(__APPLE_CC__) || !defined(__cplusplus) || __cplusplus < 201103L)
- #define zend_finite(a) isfinite(a)
- #elif defined(HAVE_FINITE)
- #define zend_finite(a) finite(a)
-diff -ru a/configure.in b/configure.in
---- a/configure.in 2018-11-07 15:35:26.000000000 +0000
-+++ b/configure.in 2018-11-27 00:28:48.000000000 +0000
-@@ -75,7 +75,7 @@
- #endif
-
- #ifndef zend_isnan
--#if HAVE_DECL_ISNAN && (!defined(__cplusplus) || __cplusplus < 201103L)
-+#if HAVE_DECL_ISNAN && (defined(__APPLE__) || defined(__APPLE_CC__) || !defined(__cplusplus) || __cplusplus < 201103L)
- #define zend_isnan(a) isnan(a)
- #elif defined(HAVE_FPCLASS)
- #define zend_isnan(a) ((fpclass(a) == FP_SNAN) || (fpclass(a) == FP_QNAN))
-@@ -84,7 +84,7 @@
- #endif
- #endif
-
--#if HAVE_DECL_ISINF && (!defined(__cplusplus) || __cplusplus < 201103L)
-+#if HAVE_DECL_ISINF && (defined(__APPLE__) || defined(__APPLE_CC__) || !defined(__cplusplus) || __cplusplus < 201103L)
- #define zend_isinf(a) isinf(a)
- #elif defined(INFINITY)
- /* Might not work, but is required by ISO C99 */
-@@ -95,7 +95,7 @@
- #define zend_isinf(a) 0
- #endif
-
--#if HAVE_DECL_ISFINITE && (!defined(__cplusplus) || __cplusplus < 201103L)
-+#if HAVE_DECL_ISFINITE && (defined(__APPLE__) || defined(__APPLE_CC__) || !defined(__cplusplus) || __cplusplus < 201103L)
- #define zend_finite(a) isfinite(a)
- #elif defined(HAVE_FINITE)
- #define zend_finite(a) finite(a)
diff --git a/pkgs/development/interpreters/picoc/default.nix b/pkgs/development/interpreters/picoc/default.nix
index 62ab7b02585..6e57ad250bb 100644
--- a/pkgs/development/interpreters/picoc/default.nix
+++ b/pkgs/development/interpreters/picoc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, readline }:
stdenv.mkDerivation rec {
- name = "picoc-${version}";
+ pname = "picoc";
version = "2015-05-04";
src = fetchFromGitHub {
diff --git a/pkgs/development/interpreters/picolisp/default.nix b/pkgs/development/interpreters/picolisp/default.nix
index 058a83b6b43..dc3b08acbd9 100644
--- a/pkgs/development/interpreters/picolisp/default.nix
+++ b/pkgs/development/interpreters/picolisp/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchurl, jdk, makeWrapper }:
+{ stdenv, fetchurl, jdk, w3m, openssl, makeWrapper }:
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "picoLisp-${version}";
- version = "18.12";
+ pname = "picoLisp";
+ version = "19.6";
src = fetchurl {
- url = "https://www.software-lab.de/${name}.tgz";
- sha256 = "0hvgq2vc03bki528jqn95xmvv7mw8xx832spfczhxc16wwbrnrhk";
+ url = "https://www.software-lab.de/${pname}-${version}.tgz";
+ sha256 = "1ixxl6m5glhwqa4q3fb90pciv7jhhvn9pkh316d4wcv0m13l04gq";
};
- buildInputs = [makeWrapper] ++ optional stdenv.is64bit jdk;
+ buildInputs = [makeWrapper openssl] ++ optional stdenv.is64bit jdk;
patchPhase = ''
sed -i "s/which java/command -v java/g" mkAsm
@@ -23,6 +23,9 @@ stdenv.mkDerivation rec {
''}
'';
sourceRoot = ''picoLisp/src${optionalString stdenv.is64bit "64"}'';
+ postBuild = ''
+ cd ../src; make gate
+ '';
installPhase = ''
cd ..
@@ -30,9 +33,11 @@ stdenv.mkDerivation rec {
cp -r . "$out/share/picolisp/build-dir"
ln -s "$out/share/picolisp/build-dir" "$out/lib/picolisp"
ln -s "$out/lib/picolisp/bin/picolisp" "$out/bin/picolisp"
+ ln -s "$out/lib/picolisp/bin/httpGate" "$out/bin/httpGate"
makeWrapper $out/bin/picolisp $out/bin/pil \
+ --prefix PATH : ${w3m}/bin \
--add-flags "$out/lib/picolisp/lib.l" \
--add-flags "@lib/misc.l" \
--add-flags "@lib/btree.l" \
diff --git a/pkgs/development/interpreters/pixie/default.nix b/pkgs/development/interpreters/pixie/default.nix
index d1f2edce936..02f6d34a030 100644
--- a/pkgs/development/interpreters/pixie/default.nix
+++ b/pkgs/development/interpreters/pixie/default.nix
@@ -30,13 +30,13 @@ let
bin-path = stdenv.lib.concatStringsSep ":"
(map (p: "${p}/bin") [ gcc ]);
build = {flags, target}: stdenv.mkDerivation rec {
- name = "pixie-${version}";
+ pname = "pixie";
version = "0-r${commit-count}-${variant}";
nativeBuildInputs = [ makeWrapper pkgconfig ];
buildInputs = libs;
PYTHON = if buildWithPypy
then "${pypy}/pypy-c/pypy-c"
- else "${python2.interpreter}";
+ else python2.interpreter;
unpackPhase = ''
cp -R ${pixie-src} pixie-src
mkdir pypy-src
diff --git a/pkgs/development/interpreters/proglodyte-wasm/default.nix b/pkgs/development/interpreters/proglodyte-wasm/default.nix
index 9a30ae7d8a8..5710f106675 100644
--- a/pkgs/development/interpreters/proglodyte-wasm/default.nix
+++ b/pkgs/development/interpreters/proglodyte-wasm/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, cmake, clang, python, v8_static, coreutils }:
+{ stdenv, fetchFromGitHub, cmake, clang, python, v8, coreutils }:
let
sexpr_wasm_prototype = stdenv.mkDerivation {
@@ -45,7 +45,7 @@ stdenv.mkDerivation {
installPhase = ''
export DESTDIR=$out
export MKTEMPDIR=${coreutils}/bin
- export D8DIR=${v8_static}/bin
+ export D8DIR=${v8}/bin
export SWDIR=${sexpr_wasm_prototype}/bin
make install
'';
diff --git a/pkgs/development/interpreters/pyrex/0.9.5.nix b/pkgs/development/interpreters/pyrex/0.9.5.nix
index 009f9b48ea4..30a601ef8df 100644
--- a/pkgs/development/interpreters/pyrex/0.9.5.nix
+++ b/pkgs/development/interpreters/pyrex/0.9.5.nix
@@ -2,8 +2,9 @@
let version = "0.9.5.1.1"; in
-python2Packages.buildPythonPackage rec {
- name = "pyrex-${version}";
+python2Packages.buildPythonPackage {
+ pname = "pyrex";
+ inherit version;
src = fetchurl {
url = "https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz";
diff --git a/pkgs/development/interpreters/pyrex/0.9.6.nix b/pkgs/development/interpreters/pyrex/0.9.6.nix
index d79cd58c159..69a93089188 100644
--- a/pkgs/development/interpreters/pyrex/0.9.6.nix
+++ b/pkgs/development/interpreters/pyrex/0.9.6.nix
@@ -2,8 +2,9 @@
let version = "0.9.6.4"; in
-python2Packages.buildPythonPackage rec {
- name = "pyrex-${version}";
+python2Packages.buildPythonPackage {
+ pname = "pyrex";
+ inherit version;
src = fetchurl {
url = "https://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/oldtar/Pyrex-${version}.tar.gz";
diff --git a/pkgs/development/interpreters/python/build-python-package-common.nix b/pkgs/development/interpreters/python/build-python-package-common.nix
deleted file mode 100644
index 0f8e088d434..00000000000
--- a/pkgs/development/interpreters/python/build-python-package-common.nix
+++ /dev/null
@@ -1,31 +0,0 @@
-# This function provides generic bits to install a Python wheel.
-
-{ python
-}:
-
-{ buildInputs ? []
-# Additional flags to pass to "pip install".
-, installFlags ? []
-, ... } @ attrs:
-
-attrs // {
- buildInputs = buildInputs ++ [ python.pythonForBuild.pkgs.bootstrapped-pip ];
-
- configurePhase = attrs.configurePhase or ''
- runHook preConfigure
- runHook postConfigure
- '';
-
- installPhase = attrs.installPhase or ''
- runHook preInstall
-
- mkdir -p "$out/${python.sitePackages}"
- export PYTHONPATH="$out/${python.sitePackages}:$PYTHONPATH"
-
- pushd dist
- ${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install *.whl --no-index --prefix=$out --no-cache ${toString installFlags} --build tmpbuild
- popd
-
- runHook postInstall
- '';
-}
diff --git a/pkgs/development/interpreters/python/build-python-package-flit.nix b/pkgs/development/interpreters/python/build-python-package-flit.nix
deleted file mode 100644
index b0f9e038021..00000000000
--- a/pkgs/development/interpreters/python/build-python-package-flit.nix
+++ /dev/null
@@ -1,22 +0,0 @@
-# This function provides specific bits for building a flit-based Python package.
-
-{ python
-, flit
-}:
-
-{ ... } @ attrs:
-
-attrs // {
- nativeBuildInputs = [ flit ];
- buildPhase = attrs.buildPhase or ''
- runHook preBuild
- flit build --format wheel
- runHook postBuild
- '';
-
- # Flit packages, like setuptools packages, might have tests.
- installCheckPhase = attrs.checkPhase or ''
- ${python.interpreter} -m unittest discover
- '';
- doCheck = attrs.doCheck or true;
-}
diff --git a/pkgs/development/interpreters/python/build-python-package-pyproject.nix b/pkgs/development/interpreters/python/build-python-package-pyproject.nix
deleted file mode 100644
index 86c450fcf92..00000000000
--- a/pkgs/development/interpreters/python/build-python-package-pyproject.nix
+++ /dev/null
@@ -1,53 +0,0 @@
-# This function provides specific bits for building a setuptools-based Python package.
-
-{ lib
-, python
-}:
-
-{
-# passed to "python setup.py build_ext"
-# https://github.com/pypa/pip/issues/881
-# Rename to `buildOptions` because it is not setuptools specific?
- setupPyBuildFlags ? []
-# Execute before shell hook
-, preShellHook ? ""
-# Execute after shell hook
-, postShellHook ? ""
-, ... } @ attrs:
-
-let
- options = lib.concatMapStringsSep " " (option: "--global-option ${option}") setupPyBuildFlags;
-in attrs // {
- buildPhase = attrs.buildPhase or ''
- runHook preBuild
- mkdir -p dist
- echo "Creating a wheel..."
- ${python.pythonForBuild.interpreter} -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist ${options} .
- echo "Finished creating a wheel..."
- runHook postBuild
- '';
-
- installCheckPhase = ''
- runHook preCheck
- echo "No checkPhase defined. Either provide a checkPhase or disable tests in case tests are not available."; exit 1
- runHook postCheck
- '';
-
- # With Python it's a common idiom to run the tests
- # after the software has been installed.
- doCheck = attrs.doCheck or true;
-
- shellHook = attrs.shellHook or ''
- ${preShellHook}
- # Long-term setup.py should be dropped.
- if [ -e pyproject.toml ]; then
- tmp_path=$(mktemp -d)
- export PATH="$tmp_path/bin:$PATH"
- export PYTHONPATH="$tmp_path/${python.pythonForBuild.sitePackages}:$PYTHONPATH"
- mkdir -p $tmp_path/${python.pythonForBuild.sitePackages}
- ${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install -e . --prefix $tmp_path >&2
- fi
- ${postShellHook}
- '';
-
-}
\ No newline at end of file
diff --git a/pkgs/development/interpreters/python/build-python-package-setuptools.nix b/pkgs/development/interpreters/python/build-python-package-setuptools.nix
deleted file mode 100644
index 4c66fdec5f6..00000000000
--- a/pkgs/development/interpreters/python/build-python-package-setuptools.nix
+++ /dev/null
@@ -1,55 +0,0 @@
-# This function provides specific bits for building a setuptools-based Python package.
-
-{ lib
-, python
-}:
-
-{
-# passed to "python setup.py build_ext"
-# https://github.com/pypa/pip/issues/881
- setupPyBuildFlags ? []
-# Execute before shell hook
-, preShellHook ? ""
-# Execute after shell hook
-, postShellHook ? ""
-, ... } @ attrs:
-
-let
- # use setuptools shim (so that setuptools is imported before distutils)
- # pip does the same thing: https://github.com/pypa/pip/pull/3265
- setuppy = ./run_setup.py;
-
-in attrs // {
- # we copy nix_run_setup over so it's executed relative to the root of the source
- # many project make that assumption
- buildPhase = attrs.buildPhase or ''
- runHook preBuild
- cp ${setuppy} nix_run_setup
- ${python.pythonForBuild.interpreter} nix_run_setup ${lib.optionalString (setupPyBuildFlags != []) ("build_ext " + (lib.concatStringsSep " " setupPyBuildFlags))} bdist_wheel
- runHook postBuild
- '';
-
- installCheckPhase = attrs.checkPhase or ''
- runHook preCheck
- ${python.pythonForBuild.interpreter} nix_run_setup test
- runHook postCheck
- '';
-
- # Python packages that are installed with setuptools
- # are typically distributed with tests.
- # With Python it's a common idiom to run the tests
- # after the software has been installed.
- doCheck = attrs.doCheck or true;
-
- shellHook = attrs.shellHook or ''
- ${preShellHook}
- if test -e setup.py; then
- tmp_path=$(mktemp -d)
- export PATH="$tmp_path/bin:$PATH"
- export PYTHONPATH="$tmp_path/${python.pythonForBuild.sitePackages}:$PYTHONPATH"
- mkdir -p $tmp_path/${python.pythonForBuild.sitePackages}
- ${python.pythonForBuild.pkgs.bootstrapped-pip}/bin/pip install -e . --prefix $tmp_path >&2
- fi
- ${postShellHook}
- '';
-}
diff --git a/pkgs/development/interpreters/python/build-python-package-wheel.nix b/pkgs/development/interpreters/python/build-python-package-wheel.nix
deleted file mode 100644
index 7be0a4c304a..00000000000
--- a/pkgs/development/interpreters/python/build-python-package-wheel.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-# This function provides specific bits for building a wheel-based Python package.
-
-{
-}:
-
-{ ... } @ attrs:
-
-attrs // {
- unpackPhase = ''
- mkdir dist
- cp $src dist/"''${src#*-}"
- '';
-
- # Wheels are pre-compiled
- buildPhase = attrs.buildPhase or ":";
- installCheckPhase = attrs.checkPhase or ":";
-
- # Wheels don't have any checks to run
- doCheck = attrs.doCheck or false;
-}
\ No newline at end of file
diff --git a/pkgs/development/interpreters/python/build-python-package.nix b/pkgs/development/interpreters/python/build-python-package.nix
deleted file mode 100644
index 98322312f7f..00000000000
--- a/pkgs/development/interpreters/python/build-python-package.nix
+++ /dev/null
@@ -1,48 +0,0 @@
-# This function provides a generic Python package builder,
-# and can build packages that use distutils, setuptools or flit.
-
-{ lib
-, config
-, python
-, wrapPython
-, setuptools
-, unzip
-, ensureNewerSourcesForZipFilesHook
-, toPythonModule
-, namePrefix
-, flit
-, writeScript
-, update-python-libraries
-}:
-
-let
- setuptools-specific = import ./build-python-package-setuptools.nix { inherit lib python; };
- pyproject-specific = import ./build-python-package-pyproject.nix { inherit lib python; };
- flit-specific = import ./build-python-package-flit.nix { inherit python flit; };
- wheel-specific = import ./build-python-package-wheel.nix { };
- common = import ./build-python-package-common.nix { inherit python; };
- mkPythonDerivation = import ./mk-python-derivation.nix {
- inherit lib config python wrapPython setuptools unzip ensureNewerSourcesForZipFilesHook;
- inherit toPythonModule namePrefix writeScript update-python-libraries;
- };
-in
-
-{
-# Several package formats are supported.
-# "setuptools" : Install a common setuptools/distutils based package. This builds a wheel.
-# "wheel" : Install from a pre-compiled wheel.
-# "flit" : Install a flit package. This builds a wheel.
-# "other" : Provide your own buildPhase and installPhase.
-format ? "setuptools"
-, ... } @ attrs:
-
-let
- formatspecific =
- if format == "pyproject" then common (pyproject-specific attrs)
- else if format == "setuptools" then common (setuptools-specific attrs)
- else if format == "flit" then common (flit-specific attrs)
- else if format == "wheel" then common (wheel-specific attrs)
- else if format == "other" then {}
- else throw "Unsupported format ${format}";
-
-in mkPythonDerivation ( attrs // formatspecific )
diff --git a/pkgs/development/interpreters/python/cpython/2.7/atomic_pyc.patch b/pkgs/development/interpreters/python/cpython/2.7/atomic_pyc.patch
new file mode 100644
index 00000000000..06d3718d499
--- /dev/null
+++ b/pkgs/development/interpreters/python/cpython/2.7/atomic_pyc.patch
@@ -0,0 +1,116 @@
+diff --git a/Lib/py_compile.py b/Lib/py_compile.py
+index 978da73d74..3559eb95ca 100644
+--- a/Lib/py_compile.py
++++ b/Lib/py_compile.py
+@@ -120,16 +120,27 @@ def compile(file, cfile=None, dfile=None, doraise=False):
+ return
+ if cfile is None:
+ cfile = file + (__debug__ and 'c' or 'o')
+- with open(cfile, 'wb') as fc:
+- fc.write('\0\0\0\0')
+- if "DETERMINISTIC_BUILD" in os.environ:
++ # Atomically write the pyc/pyo file. Issue #13146.
++ # id() is used to generate a pseudo-random filename.
++ path_tmp = '{}.{}'.format(cfile, id(cfile))
++ try:
++ with open(path_tmp, 'wb') as fc:
+ fc.write('\0\0\0\0')
+- else:
+- wr_long(fc, timestamp)
+- marshal.dump(codeobject, fc)
+- fc.flush()
+- fc.seek(0, 0)
+- fc.write(MAGIC)
++ if "DETERMINISTIC_BUILD" in os.environ:
++ fc.write('\0\0\0\0')
++ else:
++ wr_long(fc, timestamp)
++ marshal.dump(codeobject, fc)
++ fc.flush()
++ fc.seek(0, 0)
++ fc.write(MAGIC)
++ os.rename(path_tmp, cfile)
++ except OSError:
++ try:
++ os.unlink(path_tmp)
++ except OSError:
++ pass
++ raise
+
+ def main(args=None):
+ """Compile several source files.
+diff --git a/Python/import.c b/Python/import.c
+index 1e31d79279..f78a1efcf0 100644
+--- a/Python/import.c
++++ b/Python/import.c
+@@ -951,6 +951,8 @@ static void
+ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, time_t mtime)
+ {
+ FILE *fp;
++ size_t cpathname_len;
++ char *cpathname_tmp;
+ #ifdef MS_WINDOWS /* since Windows uses different permissions */
+ mode_t mode = srcstat->st_mode & ~S_IEXEC;
+ /* Issue #6074: We ensure user write access, so we can delete it later
+@@ -963,11 +965,28 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, t
+ mode_t mode = srcstat->st_mode & ~S_IXUSR & ~S_IXGRP & ~S_IXOTH;
+ #endif
+
++#ifdef MS_WINDOWS
+ fp = open_exclusive(cpathname, mode);
++#else
++ /* Under POSIX, we first write to a tmp file and then take advantage
++ of atomic renaming. */
++ cpathname_len = strlen(cpathname);
++ cpathname_tmp = PyMem_MALLOC(cpathname_len + 5);
++ if (cpathname_tmp == NULL) {
++ PyErr_Clear();
++ return;
++ }
++ memcpy(cpathname_tmp, cpathname, cpathname_len);
++ memcpy(cpathname_tmp + cpathname_len, ".tmp", 5);
++ fp = open_exclusive(cpathname_tmp, mode);
++#endif
+ if (fp == NULL) {
+ if (Py_VerboseFlag)
+ PySys_WriteStderr(
+ "# can't create %s\n", cpathname);
++#ifndef MS_WINDOWS
++ PyMem_FREE(cpathname_tmp);
++#endif
+ return;
+ }
+ PyMarshal_WriteLongToFile(pyc_magic, fp, Py_MARSHAL_VERSION);
+@@ -979,7 +998,12 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, t
+ PySys_WriteStderr("# can't write %s\n", cpathname);
+ /* Don't keep partial file */
+ fclose(fp);
++#ifdef MS_WINDOWS
+ (void) unlink(cpathname);
++#else
++ (void) unlink(cpathname_tmp);
++ PyMem_FREE(cpathname_tmp);
++#endif
+ return;
+ }
+ /* Now write the true mtime (as a 32-bit field) */
+@@ -989,6 +1013,19 @@ write_compiled_module(PyCodeObject *co, char *cpathname, struct stat *srcstat, t
+ PyMarshal_WriteLongToFile((long)mtime, fp, Py_MARSHAL_VERSION);
+ fflush(fp);
+ }
++ /* Under POSIX, do an atomic rename */
++#ifndef MS_WINDOWS
++ if (rename(cpathname_tmp, cpathname)) {
++ if (Py_VerboseFlag)
++ PySys_WriteStderr("# can't write %s\n", cpathname);
++ /* Don't keep tmp file */
++ fclose(fp);
++ (void) unlink(cpathname_tmp);
++ PyMem_FREE(cpathname_tmp);
++ return;
++ }
++ PyMem_FREE(cpathname_tmp);
++#endif
+ fclose(fp);
+ if (Py_VerboseFlag)
+ PySys_WriteStderr("# wrote %s\n", cpathname);
diff --git a/pkgs/development/interpreters/python/cpython/2.7/boot.nix b/pkgs/development/interpreters/python/cpython/2.7/boot.nix
index 9e38e825074..0b9ddc0bb34 100644
--- a/pkgs/development/interpreters/python/cpython/2.7/boot.nix
+++ b/pkgs/development/interpreters/python/cpython/2.7/boot.nix
@@ -12,7 +12,7 @@ let
in
stdenv.mkDerivation rec {
- name = "python-boot-${version}";
+ pname = "python-boot";
version = "2.7.12";
libPrefix = "python2.7";
diff --git a/pkgs/development/interpreters/python/cpython/2.7/default.nix b/pkgs/development/interpreters/python/cpython/2.7/default.nix
index 894a9b084c6..4e323898afb 100644
--- a/pkgs/development/interpreters/python/cpython/2.7/default.nix
+++ b/pkgs/development/interpreters/python/cpython/2.7/default.nix
@@ -10,7 +10,6 @@
, sqlite
, tcl ? null, tk ? null, tix ? null, xlibsWrapper ? null, libX11 ? null, x11Support ? false
, zlib
-, callPackage
, self
, CF, configd, coreutils
, python-setup-hook
@@ -22,6 +21,7 @@
, sourceVersion
, sha256
, passthruFun
+, static ? false
}:
assert x11Support -> tcl != null
@@ -79,6 +79,18 @@ let
sha256 = "0l9rw6r5r90iybdkp3hhl2pf0h0s1izc68h5d3ywrm92pq32wz57";
})
+ (fetchpatch {
+ url = "https://github.com/python/cpython/commit/979daae300916adb399ab5b51410b6ebd0888f13.patch";
+ name = "CVE-2018-20852.patch";
+ sha256 = "0p838ycssd6abxzby69rhngjqqm59cmlp07910mpjx7lmsz049pb";
+ })
+
+ # Fix race-condition during pyc creation. Has a slight backwards
+ # incompatible effect: pyc symlinks will now be overridden
+ # (https://bugs.python.org/issue17222). Included in python >= 3.4,
+ # backported in debian since 2013.
+ # https://bugs.python.org/issue13146
+ ./atomic_pyc.patch
] ++ optionals (x11Support && stdenv.isDarwin) [
./use-correct-tcl-tk-on-darwin.patch
] ++ optionals stdenv.isLinux [
@@ -164,7 +176,8 @@ let
]
# Never even try to use lchmod on linux,
# don't rely on detecting glibc-isms.
- ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no";
+ ++ optional stdenv.hostPlatform.isLinux "ac_cv_func_lchmod=no"
+ ++ optional static "LDFLAGS=-static";
buildInputs =
optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
@@ -249,6 +262,11 @@ in with passthru; stdenv.mkDerivation ({
inherit passthru;
+ postFixup = ''
+ # Include a sitecustomize.py file. Note it causes an error when it's in postInstall with 2.7.
+ cp ${../../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
+ '';
+
enableParallelBuilding = true;
doCheck = false; # expensive, and fails
diff --git a/pkgs/development/interpreters/python/cpython/3.7/python-3.x-distutils-C++.patch b/pkgs/development/interpreters/python/cpython/3.7/python-3.x-distutils-C++.patch
index ceb6047d31d..243313f7654 100644
--- a/pkgs/development/interpreters/python/cpython/3.7/python-3.x-distutils-C++.patch
+++ b/pkgs/development/interpreters/python/cpython/3.7/python-3.x-distutils-C++.patch
@@ -83,8 +83,8 @@
_osx_support.customize_compiler(_config_vars)
_config_vars['CUSTOMIZED_OSX_COMPILER'] = 'True'
-- (cc, cxx, opt, cflags, ccshared, ldshared, shlib_suffix, ar, ar_flags) = \
-- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
+- (cc, cxx, cflags, ccshared, ldshared, shlib_suffix, ar, ar_flags) = \
+- get_config_vars('CC', 'CXX', 'CFLAGS',
- 'CCSHARED', 'LDSHARED', 'SHLIB_SUFFIX', 'AR', 'ARFLAGS')
+ (cc, cxx, cflags, ccshared, ldshared, ldcxxshared, shlib_suffix, ar, ar_flags) = \
+ get_config_vars('CC', 'CXX', 'CFLAGS', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED',
@@ -108,7 +108,7 @@
ldshared = ldshared + ' ' + os.environ['LDFLAGS']
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
if 'CFLAGS' in os.environ:
-- cflags = opt + ' ' + os.environ['CFLAGS']
+- cflags = cflags + ' ' + os.environ['CFLAGS']
+ cflags = os.environ['CFLAGS']
ldshared = ldshared + ' ' + os.environ['CFLAGS']
+ if 'CXXFLAGS' in os.environ:
diff --git a/pkgs/development/interpreters/python/cpython/3.8/no-ldconfig.patch b/pkgs/development/interpreters/python/cpython/3.8/no-ldconfig.patch
new file mode 100644
index 00000000000..a1f9d68eb16
--- /dev/null
+++ b/pkgs/development/interpreters/python/cpython/3.8/no-ldconfig.patch
@@ -0,0 +1,100 @@
+From 597e73f2a4b2f0b508127931b36d5540d6941823 Mon Sep 17 00:00:00 2001
+From: Frederik Rietdijk
+Date: Mon, 28 Aug 2017 09:24:06 +0200
+Subject: [PATCH] Don't use ldconfig
+
+---
+ Lib/ctypes/util.py | 70 ++----------------------------------------------------
+ 1 file changed, 2 insertions(+), 68 deletions(-)
+
+diff --git a/Lib/ctypes/util.py b/Lib/ctypes/util.py
+index 5e8b31a854..7b45ce6c15 100644
+--- a/Lib/ctypes/util.py
++++ b/Lib/ctypes/util.py
+@@ -94,46 +94,7 @@ elif os.name == "posix":
+ import re, tempfile
+
+ def _findLib_gcc(name):
+- # Run GCC's linker with the -t (aka --trace) option and examine the
+- # library name it prints out. The GCC command will fail because we
+- # haven't supplied a proper program with main(), but that does not
+- # matter.
+- expr = os.fsencode(r'[^\(\)\s]*lib%s\.[^\(\)\s]*' % re.escape(name))
+-
+- c_compiler = shutil.which('gcc')
+- if not c_compiler:
+- c_compiler = shutil.which('cc')
+- if not c_compiler:
+- # No C compiler available, give up
+- return None
+-
+- temp = tempfile.NamedTemporaryFile()
+- try:
+- args = [c_compiler, '-Wl,-t', '-o', temp.name, '-l' + name]
+-
+- env = dict(os.environ)
+- env['LC_ALL'] = 'C'
+- env['LANG'] = 'C'
+- try:
+- proc = subprocess.Popen(args,
+- stdout=subprocess.PIPE,
+- stderr=subprocess.STDOUT,
+- env=env)
+- except OSError: # E.g. bad executable
+- return None
+- with proc:
+- trace = proc.stdout.read()
+- finally:
+- try:
+- temp.close()
+- except FileNotFoundError:
+- # Raised if the file was already removed, which is the normal
+- # behaviour of GCC if linking fails
+- pass
+- res = re.search(expr, trace)
+- if not res:
+- return None
+- return os.fsdecode(res.group(0))
++ return None
+
+
+ if sys.platform == "sunos5":
+@@ -255,34 +216,7 @@ elif os.name == "posix":
+ else:
+
+ def _findSoname_ldconfig(name):
+- import struct
+- if struct.calcsize('l') == 4:
+- machine = os.uname().machine + '-32'
+- else:
+- machine = os.uname().machine + '-64'
+- mach_map = {
+- 'x86_64-64': 'libc6,x86-64',
+- 'ppc64-64': 'libc6,64bit',
+- 'sparc64-64': 'libc6,64bit',
+- 's390x-64': 'libc6,64bit',
+- 'ia64-64': 'libc6,IA-64',
+- }
+- abi_type = mach_map.get(machine, 'libc6')
+-
+- # XXX assuming GLIBC's ldconfig (with option -p)
+- regex = r'\s+(lib%s\.[^\s]+)\s+\(%s'
+- regex = os.fsencode(regex % (re.escape(name), abi_type))
+- try:
+- with subprocess.Popen(['/sbin/ldconfig', '-p'],
+- stdin=subprocess.DEVNULL,
+- stderr=subprocess.DEVNULL,
+- stdout=subprocess.PIPE,
+- env={'LC_ALL': 'C', 'LANG': 'C'}) as p:
+- res = re.search(regex, p.stdout.read())
+- if res:
+- return os.fsdecode(res.group(1))
+- except OSError:
+- pass
++ return None
+
+ def _findLib_ld(name):
+ # See issue #9998 for why this is needed
+--
+2.15.0
+
diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix
index 60ea3bdf4c7..32aa355d3aa 100644
--- a/pkgs/development/interpreters/python/cpython/default.nix
+++ b/pkgs/development/interpreters/python/cpython/default.nix
@@ -10,7 +10,6 @@
, sqlite
, tcl ? null, tk ? null, tix ? null, libX11 ? null, xorgproto ? null, x11Support ? false
, zlib
-, callPackage
, self
, CF, configd
, python-setup-hook
@@ -22,6 +21,12 @@
, sha256
, passthruFun
, bash
+, stripConfig ? false
+, stripIdlelib ? false
+, stripTests ? false
+, stripTkinter ? false
+, rebuildBytecode ? true
+, stripBytecode ? false
}:
assert x11Support -> tcl != null
@@ -78,6 +83,8 @@ in with passthru; stdenv.mkDerivation {
prePatch = optionalString stdenv.isDarwin ''
substituteInPlace configure --replace '`/usr/bin/arch`' '"i386"'
substituteInPlace configure --replace '-Wl,-stack_size,1000000' ' '
+ '' + optionalString (stdenv.isDarwin && x11Support) ''
+ substituteInPlace setup.py --replace /Library/Frameworks /no-such-path
'';
patches = [
@@ -122,8 +129,8 @@ in with passthru; stdenv.mkDerivation {
substituteInPlace "Lib/tkinter/tix.py" --replace "os.environ.get('TIX_LIBRARY')" "os.environ.get('TIX_LIBRARY') or '${tix}/lib'"
'';
- CPPFLAGS = "${concatStringsSep " " (map (p: "-I${getDev p}/include") buildInputs)}";
- LDFLAGS = "${concatStringsSep " " (map (p: "-L${getLib p}/lib") buildInputs)}";
+ CPPFLAGS = concatStringsSep " " (map (p: "-I${getDev p}/include") buildInputs);
+ LDFLAGS = concatStringsSep " " (map (p: "-L${getLib p}/lib") buildInputs);
LIBS = "${optionalString (!stdenv.isDarwin) "-lcrypt"} ${optionalString (ncurses != null) "-lncurses"}";
NIX_LDFLAGS = optionalString stdenv.isLinux "-lgcc_s";
# Determinism: We fix the hashes of str, bytes and datetime objects.
@@ -135,6 +142,9 @@ in with passthru; stdenv.mkDerivation {
"--without-ensurepip"
"--with-system-expat"
"--with-system-ffi"
+ ] ++ optionals (sqlite != null && isPy3k) [
+ "--enable-loadable-sqlite-extensions"
+ ] ++ optionals (openssl != null) [
"--with-openssl=${openssl.dev}"
] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
"ac_cv_buggy_getaddrinfo=no"
@@ -222,6 +232,21 @@ in with passthru; stdenv.mkDerivation {
find $out/lib/python*/config-* -type f -print -exec nuke-refs -e $out '{}' +
find $out/lib -name '_sysconfigdata*.py*' -print -exec nuke-refs -e $out '{}' +
+ '' + optionalString stripConfig ''
+ rm -R $out/bin/python*-config $out/lib/python*/config-*
+ '' + optionalString stripIdlelib ''
+ # Strip IDLE (and turtledemo, which uses it)
+ rm -R $out/bin/idle* $out/lib/python*/{idlelib,turtledemo}
+ '' + optionalString stripTkinter ''
+ rm -R $out/lib/python*/tkinter
+ '' + optionalString stripTests ''
+ # Strip tests
+ rm -R $out/lib/python*/test $out/lib/python*/**/test{,s}
+ '' + ''
+ # Include a sitecustomize.py file
+ cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
+ '' + optionalString rebuildBytecode ''
+
# Determinism: rebuild all bytecode
# We exclude lib2to3 because that's Python 2 code which fails
# We rebuild three times, once for each optimization level
@@ -230,6 +255,8 @@ in with passthru; stdenv.mkDerivation {
find $out -name "*.py" | ${pythonForBuildInterpreter} -m compileall -q -f -x "lib2to3" -i -
find $out -name "*.py" | ${pythonForBuildInterpreter} -O -m compileall -q -f -x "lib2to3" -i -
find $out -name "*.py" | ${pythonForBuildInterpreter} -OO -m compileall -q -f -x "lib2to3" -i -
+ '' + optionalString stripBytecode ''
+ find $out -type d -name __pycache__ -print0 | xargs -0 -I {} rm -rf "{}"
'';
preFixup = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
@@ -239,9 +266,9 @@ in with passthru; stdenv.mkDerivation {
# Enforce that we don't have references to the OpenSSL -dev package, which we
# explicitly specify in our configure flags above.
- disallowedReferences = [
- openssl.dev
- ] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
+ disallowedReferences =
+ stdenv.lib.optionals (openssl != null) [ openssl.dev ]
+ ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# Ensure we don't have references to build-time packages.
# These typically end up in shebangs.
pythonForBuild buildPackages.bash
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
index 73d1e0ea9fd..e27959c05e8 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-html.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python27-docs-html-2.7.16";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-html.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
index 54c0954ae5d..0226f7cd880 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-a4.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python27-docs-pdf-a4-2.7.16";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-pdf-a4.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
index 059908029c0..88d1a693166 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-pdf-letter.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python27-docs-pdf-letter-2.7.16";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-pdf-letter.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix b/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
index 53c5aa3b629..ea35e9fb6a3 100644
--- a/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/2.7-text.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python27-docs-text-2.7.16";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/2.7.16/python-2.7.16-docs-text.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/3.7-html.nix b/pkgs/development/interpreters/python/cpython/docs/3.7-html.nix
index 5a6dcc63225..45783eb8263 100644
--- a/pkgs/development/interpreters/python/cpython/docs/3.7-html.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/3.7-html.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python37-docs-html-3.7.2";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-html.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-a4.nix b/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-a4.nix
index a122d7519f5..998af644c71 100644
--- a/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-a4.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-a4.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python37-docs-pdf-a4-3.7.2";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-pdf-a4.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-letter.nix b/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-letter.nix
index 4473f2e351c..1c6aea5ee3c 100644
--- a/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-letter.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/3.7-pdf-letter.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python37-docs-pdf-letter-3.7.2";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-pdf-letter.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/3.7-text.nix b/pkgs/development/interpreters/python/cpython/docs/3.7-text.nix
index d9d21bfe3a5..32388780f6f 100644
--- a/pkgs/development/interpreters/python/cpython/docs/3.7-text.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/3.7-text.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "python37-docs-text-3.7.2";
src = fetchurl {
url = http://docs.python.org/ftp/python/doc/3.7.2/python-3.7.2-docs-text.tar.bz2;
diff --git a/pkgs/development/interpreters/python/cpython/docs/template.nix b/pkgs/development/interpreters/python/cpython/docs/template.nix
index 4a0c84fb272..3cc0c2a9ee8 100644
--- a/pkgs/development/interpreters/python/cpython/docs/template.nix
+++ b/pkgs/development/interpreters/python/cpython/docs/template.nix
@@ -2,7 +2,7 @@
{ stdenv, fetchurl, lib }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "pythonMAJORMINOR-docs-TYPE-VERSION";
src = fetchurl {
url = URL;
diff --git a/pkgs/development/interpreters/python/default.nix b/pkgs/development/interpreters/python/default.nix
index 119c0a2728b..bab7a047b15 100644
--- a/pkgs/development/interpreters/python/default.nix
+++ b/pkgs/development/interpreters/python/default.nix
@@ -77,10 +77,10 @@ in {
sourceVersion = {
major = "3";
minor = "6";
- patch = "8";
+ patch = "9";
suffix = "";
};
- sha256 = "14qi6n5gpcjnwy165wi9hkfcmbadc95ny6bxxldknxwmx50n4i1m";
+ sha256 = "1nkh70azbv866aw5a9bbxsxarsf40233vrzpjq17z3rz9ramybsy";
inherit (darwin) CF configd;
inherit passthruFun;
};
@@ -90,37 +90,82 @@ in {
sourceVersion = {
major = "3";
minor = "7";
- patch = "3";
+ patch = "4";
suffix = "";
};
- sha256 = "066ka8csjwkycqpgyv424d8hhqhfd7r6svsp4sfcvkylci0baq6s";
+ sha256 = "0gxiv5617zd7dnqm5k9r4q2188lk327nf9jznwq9j6b8p0s92ygv";
inherit (darwin) CF configd;
inherit passthruFun;
};
+ python38 = callPackage ./cpython {
+ self = python38;
+ sourceVersion = {
+ major = "3";
+ minor = "8";
+ patch = "0";
+ suffix = "b3";
+ };
+ sha256 = "03wq85pkpr9j56k3zg6whahc5park1pzshbakl7y50lzrkpq2ynd";
+ inherit (darwin) CF configd;
+ inherit passthruFun;
+ };
+
+ # Minimal versions of Python (built without optional dependencies)
+ python3Minimal = (callPackage ./cpython {
+ self = python3Minimal;
+ sourceVersion = {
+ major = "3";
+ minor = "7";
+ patch = "4";
+ suffix = "";
+ };
+ sha256 = "0gxiv5617zd7dnqm5k9r4q2188lk327nf9jznwq9j6b8p0s92ygv";
+ inherit (darwin) CF configd;
+ inherit passthruFun;
+
+ # strip down that python version as much as possible
+ openssl = null;
+ readline = null;
+ ncurses = null;
+ gdbm = null;
+ sqlite = null;
+ stripConfig = true;
+ stripIdlelib = true;
+ stripTests = true;
+ stripTkinter = true;
+ rebuildBytecode = false;
+ stripBytecode = true;
+ }).overrideAttrs(old: {
+ pname = "python3-minimal";
+ meta = old.meta // {
+ maintainers = [];
+ };
+ });
+
pypy27 = callPackage ./pypy {
self = pypy27;
sourceVersion = {
major = "7";
- minor = "0";
- patch = "0";
+ minor = "1";
+ patch = "1";
};
- sha256 = "1m6ja79sbkl38p1hs7c0n4kq5xzn01wp7wl5456hsw9q6cwg6894";
+ sha256 = "0yq6ln1ic476sasp8zs4mg5i9524l1p96qwanp486rr1yza1grlg";
pythonVersion = "2.7";
db = db.override { dbmSupport = true; };
python = python27;
inherit passthruFun;
};
- pypy35 = callPackage ./pypy {
- self = pypy35;
+ pypy36 = callPackage ./pypy {
+ self = pypy36;
sourceVersion = {
major = "7";
- minor = "0";
- patch = "0";
+ minor = "1";
+ patch = "1";
};
- sha256 = "0hbv9ziv8n9lqnr6cndrw70p6g40c00w1ds7lmzgrr153myxkp7w";
- pythonVersion = "3.5";
+ sha256 = "1hqvnran7d2dzj5555n7q680dyzhmbklz04pvkxgb5j604v7kkx1";
+ pythonVersion = "3.6";
db = db.override { dbmSupport = true; };
python = python27;
inherit passthruFun;
@@ -130,26 +175,26 @@ in {
# Not included at top-level
self = pythonInterpreters.pypy27_prebuilt;
sourceVersion = {
- major = "6";
- minor = "0";
- patch = "0";
+ major = "7";
+ minor = "1";
+ patch = "1";
};
- sha256 = "0rxgnp3fm18b87ln8bbjr13g2fsf4ka4abkaim6m03y9lwmr9gvc"; # linux64
+ sha256 = "0rlx4x9xy9h989w6sy4h7lknm00956r30c5gjxwsvf8fhvq9xc3k"; # linux64
pythonVersion = "2.7";
inherit passthruFun;
ncurses = ncurses5;
};
- pypy35_prebuilt = callPackage ./pypy/prebuilt.nix {
- # Not included at top-level
- self = pythonInterpreters.pypy35_prebuilt;
+ pypy36_prebuilt = callPackage ./pypy/prebuilt.nix {
+ # Not included at top-level
+ self = pythonInterpreters.pypy36_prebuilt;
sourceVersion = {
- major = "6";
- minor = "0";
- patch = "0";
+ major = "7";
+ minor = "1";
+ patch = "1";
};
- sha256 = "0j3h08s7wpglghasmym3baycpif5jshvmk9rpav4pwwy5clzmzsc"; # linux64
- pythonVersion = "3.5";
+ sha256 = "1c1xx6dm1n4xvh1vd3rcvyyixm5jm9rvzisji1a5bc9l38xzc540"; # linux64
+ pythonVersion = "3.6";
inherit passthruFun;
ncurses = ncurses5;
};
diff --git a/pkgs/development/interpreters/python/fetchpypi.nix b/pkgs/development/interpreters/python/fetchpypi.nix
new file mode 100644
index 00000000000..e60c9df1f8b
--- /dev/null
+++ b/pkgs/development/interpreters/python/fetchpypi.nix
@@ -0,0 +1,28 @@
+# `fetchPypi` function for fetching artifacts from PyPI.
+{ fetchurl
+, makeOverridable
+}:
+
+let
+ computeUrl = {format ? "setuptools", ... } @attrs: let
+ computeWheelUrl = {pname, version, python ? "py2.py3", abi ? "none", platform ? "any"}:
+ # Fetch a wheel. By default we fetch an universal wheel.
+ # See https://www.python.org/dev/peps/pep-0427/#file-name-convention for details regarding the optional arguments.
+ "https://files.pythonhosted.org/packages/${python}/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}-${python}-${abi}-${platform}.whl";
+
+ computeSourceUrl = {pname, version, extension ? "tar.gz"}:
+ # Fetch a source tarball.
+ "mirror://pypi/${builtins.substring 0 1 pname}/${pname}/${pname}-${version}.${extension}";
+
+ compute = (if format == "wheel" then computeWheelUrl
+ else if format == "setuptools" then computeSourceUrl
+ else throw "Unsupported format ${format}");
+
+ in compute (builtins.removeAttrs attrs ["format"]);
+
+in makeOverridable( {format ? "setuptools", sha256 ? "", hash ? "", ... } @attrs:
+ let
+ url = computeUrl (builtins.removeAttrs attrs ["sha256" "hash"]) ;
+ in fetchurl {
+ inherit url sha256 hash;
+ })
diff --git a/pkgs/development/interpreters/python/hooks/default.nix b/pkgs/development/interpreters/python/hooks/default.nix
new file mode 100644
index 00000000000..3a4b4a0ccad
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/default.nix
@@ -0,0 +1,96 @@
+# Hooks for building Python packages.
+{ python
+, callPackage
+, makeSetupHook
+}:
+
+let
+ pythonInterpreter = python.pythonForBuild.interpreter;
+ pythonSitePackages = python.sitePackages;
+ pythonCheckInterpreter = python.interpreter;
+ setuppy = ../run_setup.py;
+in rec {
+
+ flitBuildHook = callPackage ({ flit }:
+ makeSetupHook {
+ name = "flit-build-hook";
+ deps = [ flit ];
+ substitutions = {
+ inherit pythonInterpreter;
+ };
+ } ./flit-build-hook.sh) {};
+
+ pipBuildHook = callPackage ({ pip }:
+ makeSetupHook {
+ name = "pip-build-hook.sh";
+ deps = [ pip ];
+ substitutions = {
+ inherit pythonInterpreter pythonSitePackages;
+ };
+ } ./pip-build-hook.sh) {};
+
+ pipInstallHook = callPackage ({ pip }:
+ makeSetupHook {
+ name = "pip-install-hook";
+ deps = [ pip ];
+ substitutions = {
+ inherit pythonInterpreter pythonSitePackages;
+ };
+ } ./pip-install-hook.sh) {};
+
+ pytestCheckHook = callPackage ({ pytest }:
+ makeSetupHook {
+ name = "pytest-check-hook";
+ deps = [ pytest ];
+ substitutions = {
+ inherit pythonCheckInterpreter;
+ };
+ } ./pytest-check-hook.sh) {};
+
+ pythonCatchConflictsHook = callPackage ({ setuptools }:
+ makeSetupHook {
+ name = "python-catch-conflicts-hook";
+ deps = [ setuptools ];
+ substitutions = {
+ inherit pythonInterpreter;
+ catchConflicts=../catch_conflicts/catch_conflicts.py;
+ };
+ } ./python-catch-conflicts-hook.sh) {};
+
+ pythonImportsCheckHook = callPackage ({}:
+ makeSetupHook {
+ name = "python-imports-check-hook.sh";
+ substitutions = {
+ inherit pythonCheckInterpreter;
+ };
+ } ./python-imports-check-hook.sh) {};
+
+ pythonRemoveBinBytecodeHook = callPackage ({ }:
+ makeSetupHook {
+ name = "python-remove-bin-bytecode-hook";
+ } ./python-remove-bin-bytecode-hook.sh) {};
+
+ setuptoolsBuildHook = callPackage ({ setuptools, wheel }:
+ makeSetupHook {
+ name = "setuptools-setup-hook";
+ deps = [ setuptools wheel ];
+ substitutions = {
+ inherit pythonInterpreter pythonSitePackages setuppy;
+ };
+ } ./setuptools-build-hook.sh) {};
+
+ setuptoolsCheckHook = callPackage ({ setuptools }:
+ makeSetupHook {
+ name = "setuptools-check-hook";
+ deps = [ setuptools ];
+ substitutions = {
+ inherit pythonCheckInterpreter setuppy;
+ };
+ } ./setuptools-check-hook.sh) {};
+
+ wheelUnpackHook = callPackage ({ wheel }:
+ makeSetupHook {
+ name = "wheel-unpack-hook.sh";
+ deps = [ wheel ];
+ } ./wheel-unpack-hook.sh) {};
+}
diff --git a/pkgs/development/interpreters/python/hooks/flit-build-hook.sh b/pkgs/development/interpreters/python/hooks/flit-build-hook.sh
new file mode 100644
index 00000000000..faa3f6e3075
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/flit-build-hook.sh
@@ -0,0 +1,15 @@
+# Setup hook for flit
+echo "Sourcing flit-build-hook"
+
+flitBuildPhase () {
+ echo "Executing flitBuildPhase"
+ preBuild
+ @pythonInterpreter@ -m flit build --format wheel
+ postBuild
+ echo "Finished executing flitBuildPhase"
+}
+
+if [ -z "$dontUseFlitBuild" ] && [ -z "$buildPhase" ]; then
+ echo "Using flitBuildPhase"
+ buildPhase=flitBuildPhase
+fi
diff --git a/pkgs/development/interpreters/python/hooks/pip-build-hook.sh b/pkgs/development/interpreters/python/hooks/pip-build-hook.sh
new file mode 100644
index 00000000000..6796d3efd0a
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/pip-build-hook.sh
@@ -0,0 +1,42 @@
+# Setup hook to use for pip projects
+echo "Sourcing pip-build-hook"
+
+pipBuildPhase() {
+ echo "Executing pipBuildPhase"
+ runHook preBuild
+
+ mkdir -p dist
+ echo "Creating a wheel..."
+ @pythonInterpreter@ -m pip wheel --no-index --no-deps --no-clean --no-build-isolation --wheel-dir dist "$options" .
+ echo "Finished creating a wheel..."
+
+ runHook postBuild
+ echo "Finished executing pipBuildPhase"
+}
+
+pipShellHook() {
+ echo "Executing pipShellHook"
+ runHook preShellHook
+
+ # Long-term setup.py should be dropped.
+ if [ -e pyproject.toml ]; then
+ tmp_path=$(mktemp -d)
+ export PATH="$tmp_path/bin:$PATH"
+ export PYTHONPATH="$tmp_path/@pythonSitePackages@:$PYTHONPATH"
+ mkdir -p "$tmp_path/@pythonSitePackages@"
+ @pythonInterpreter@ -m pip install -e . --prefix "$tmp_path" >&2
+ fi
+
+ runHook postShellHook
+ echo "Finished executing pipShellHook"
+}
+
+if [ -z "$dontUsePipBuild" ] && [ -z "$buildPhase" ]; then
+ echo "Using pipBuildPhase"
+ buildPhase=pipBuildPhase
+fi
+
+if [ -z "$shellHook" ]; then
+ echo "Using pipShellHook"
+ shellHook=pipShellHook
+fi
diff --git a/pkgs/development/interpreters/python/hooks/pip-install-hook.sh b/pkgs/development/interpreters/python/hooks/pip-install-hook.sh
new file mode 100644
index 00000000000..f528ec63cb8
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/pip-install-hook.sh
@@ -0,0 +1,24 @@
+# Setup hook for pip.
+echo "Sourcing pip-install-hook"
+
+declare -a pipInstallFlags
+
+pipInstallPhase() {
+ echo "Executing pipInstallPhase"
+ runHook preInstall
+
+ mkdir -p "$out/@pythonSitePackages@"
+ export PYTHONPATH="$out/@pythonSitePackages@:$PYTHONPATH"
+
+ pushd dist || return 1
+ @pythonInterpreter@ -m pip install ./*.whl --no-index --prefix="$out" --no-cache $pipInstallFlags --build tmpbuild
+ popd || return 1
+
+ runHook postInstall
+ echo "Finished executing pipInstallPhase"
+}
+
+if [ -z "$dontUsePipInstall" ] && [ -z "$installPhase" ]; then
+ echo "Using pipInstallPhase"
+ installPhase=pipInstallPhase
+fi
diff --git a/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh b/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
new file mode 100644
index 00000000000..24510b9f993
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/pytest-check-hook.sh
@@ -0,0 +1,49 @@
+# Setup hook for pytest
+echo "Sourcing pytest-check-hook"
+
+declare -ar disabledTests
+
+function _concatSep {
+ local result
+ local sep="$1"
+ local -n arr=$2
+ for index in ${!arr[*]}; do
+ if [ $index -eq 0 ]; then
+ result="${arr[index]}"
+ else
+ result+=" $sep ${arr[index]}"
+ fi
+ done
+ echo "$result"
+}
+
+function _pytestComputeDisabledTestsString () {
+ declare -a tests
+ local tests=($1)
+ local prefix="not "
+ prefixed=( "${tests[@]/#/$prefix}" )
+ result=$(_concatSep "and" prefixed)
+ echo "$result"
+}
+
+function pytestCheckPhase() {
+ echo "Executing pytestCheckPhase"
+ runHook preCheck
+
+ # Compose arguments
+ args=" -m pytest"
+ if [ -n "$disabledTests" ]; then
+ disabledTestsString=$(_pytestComputeDisabledTestsString "${disabledTests[@]}")
+ args+=" -k \""$disabledTestsString"\""
+ fi
+ args+=" ${pytestFlagsArray[@]}"
+ eval "@pythonCheckInterpreter@ $args"
+
+ runHook postCheck
+ echo "Finished executing pytestCheckPhase"
+}
+
+if [ -z "$dontUsePytestCheck" ] && [ -z "$installCheckPhase" ]; then
+ echo "Using pytestCheckPhase"
+ preDistPhases+=" pytestCheckPhase"
+fi
diff --git a/pkgs/development/interpreters/python/hooks/python-catch-conflicts-hook.sh b/pkgs/development/interpreters/python/hooks/python-catch-conflicts-hook.sh
new file mode 100644
index 00000000000..e9065cf1793
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/python-catch-conflicts-hook.sh
@@ -0,0 +1,10 @@
+# Setup hook for detecting conflicts in Python packages
+echo "Sourcing python-catch-conflicts-hook.sh"
+
+pythonCatchConflictsPhase() {
+ @pythonInterpreter@ @catchConflicts@
+}
+
+if [ -z "$dontUsePythonCatchConflicts" ]; then
+ preDistPhases+=" pythonCatchConflictsPhase"
+fi
diff --git a/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh b/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
new file mode 100644
index 00000000000..7e2b3f69d6d
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/python-imports-check-hook.sh
@@ -0,0 +1,16 @@
+# Setup hook for checking whether Python imports succeed
+echo "Sourcing python-imports-check-hook.sh"
+
+pythonImportsCheckPhase () {
+ echo "Executing pythonImportsCheckPhase"
+
+ if [ -n "$pythonImportsCheck" ]; then
+ echo "Check whether the following modules can be imported: $pythonImportsCheck"
+ cd $out && eval "@pythonCheckInterpreter@ -c 'import os; import importlib; list(map(lambda mod: importlib.import_module(mod), os.environ[\"pythonImportsCheck\"].split()))'"
+ fi
+}
+
+if [ -z "$dontUsePythonImportsCheck" ]; then
+ echo "Using pythonImportsCheckPhase"
+ preDistPhases+=" pythonImportsCheckPhase"
+fi
diff --git a/pkgs/development/interpreters/python/hooks/python-remove-bin-bytecode-hook.sh b/pkgs/development/interpreters/python/hooks/python-remove-bin-bytecode-hook.sh
new file mode 100644
index 00000000000..960de767be7
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/python-remove-bin-bytecode-hook.sh
@@ -0,0 +1,17 @@
+# Setup hook for detecting conflicts in Python packages
+echo "Sourcing python-remove-bin-bytecode-hook.sh"
+
+# Check if we have two packages with the same name in the closure and fail.
+# If this happens, something went wrong with the dependencies specs.
+# Intentionally kept in a subdirectory, see catch_conflicts/README.md.
+
+pythonRemoveBinBytecodePhase () {
+ if [ -d "$out/bin" ]; then
+ rm -rf "$out/bin/__pycache__" # Python 3
+ find "$out/bin" -type f -name "*.pyc" -delete # Python 2
+ fi
+}
+
+if [ -z "$dontUsePythonRemoveBinBytecode" ]; then
+ preDistPhases+=" pythonRemoveBinBytecodePhase"
+fi
diff --git a/pkgs/development/interpreters/python/hooks/setuptools-build-hook.sh b/pkgs/development/interpreters/python/hooks/setuptools-build-hook.sh
new file mode 100644
index 00000000000..db3e4225d29
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/setuptools-build-hook.sh
@@ -0,0 +1,47 @@
+# Setup hook for setuptools.
+echo "Sourcing setuptools-build-hook"
+
+setuptoolsBuildPhase() {
+ echo "Executing setuptoolsBuildPhase"
+ local args
+ runHook preBuild
+
+ cp -f @setuppy@ nix_run_setup
+ args=""
+ if [ -n "$setupPyGlobalFlags" ]; then
+ args+="$setupPyGlobalFlags"
+ fi
+ if [ -n "$setupPyBuildFlags" ]; then
+ args+="build_ext $setupPyBuildFlags"
+ fi
+ eval "@pythonInterpreter@ nix_run_setup $args bdist_wheel"
+
+ runHook postBuild
+ echo "Finished executing setuptoolsInstallPhase"
+}
+
+setuptoolsShellHook() {
+ echo "Executing setuptoolsShellHook"
+ runHook preShellHook
+
+ if test -e setup.py; then
+ tmp_path=$(mktemp -d)
+ export PATH="$tmp_path/bin:$PATH"
+ export PYTHONPATH="@pythonSitePackages@:$PYTHONPATH"
+ mkdir -p "$tmp_path/@pythonSitePackages@"
+ eval "@pythonInterpreter@ -m pip -e . --prefix $tmp_path >&2"
+ fi
+
+ runHook postShellHook
+ echo "Finished executing setuptoolsShellHook"
+}
+
+if [ -z "$dontUseSetuptoolsBuild" ] && [ -z "$buildPhase" ]; then
+ echo "Using setuptoolsBuildPhase"
+ buildPhase=setuptoolsBuildPhase
+fi
+
+if [ -z "$dontUseSetuptoolsShellHook" ] && [ -z "$shellHook" ]; then
+ echo "Using setuptoolsShellHook"
+ shellHook=setuptoolsShellHook
+fi
diff --git a/pkgs/development/interpreters/python/hooks/setuptools-check-hook.sh b/pkgs/development/interpreters/python/hooks/setuptools-check-hook.sh
new file mode 100644
index 00000000000..71bb036a91a
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/setuptools-check-hook.sh
@@ -0,0 +1,18 @@
+# Setup hook for setuptools.
+echo "Sourcing setuptools-check-hook"
+
+setuptoolsCheckPhase() {
+ echo "Executing setuptoolsCheckPhase"
+ runHook preCheck
+
+ cp -f @setuppy@ nix_run_setup
+ @pythonCheckInterpreter@ nix_run_setup test
+
+ runHook postCheck
+ echo "Finished executing setuptoolsCheckPhase"
+}
+
+if [ -z "$dontUseSetuptoolsCheck" ] && [ -z "$installCheckPhase" ]; then
+ echo "Using setuptoolsCheckPhase"
+ preDistPhases+=" setuptoolsCheckPhase"
+fi
diff --git a/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh b/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh
new file mode 100644
index 00000000000..6dd0c5be4cb
--- /dev/null
+++ b/pkgs/development/interpreters/python/hooks/wheel-unpack-hook.sh
@@ -0,0 +1,18 @@
+# Setup hook to use in case a wheel is fetched
+echo "Sourcing wheel setup hook"
+
+wheelUnpackPhase(){
+ echo "Executing wheelUnpackPhase"
+ runHook preUnpack
+
+ mkdir -p dist
+ cp "$src" "dist/$(stripHash "$src")"
+
+# runHook postUnpack # Calls find...?
+ echo "Finished executing wheelUnpackPhase"
+}
+
+if [ -z "$dontUseWheelUnpack" ] && [ -z "$unpackPhase" ]; then
+ echo "Using wheelUnpackPhase"
+ unpackPhase=wheelUnpackPhase
+fi
diff --git a/pkgs/development/interpreters/python/mk-python-derivation.nix b/pkgs/development/interpreters/python/mk-python-derivation.nix
index d986490310b..700894eda6d 100644
--- a/pkgs/development/interpreters/python/mk-python-derivation.nix
+++ b/pkgs/development/interpreters/python/mk-python-derivation.nix
@@ -4,14 +4,22 @@
, config
, python
, wrapPython
-, setuptools
, unzip
, ensureNewerSourcesForZipFilesHook
# Whether the derivation provides a Python module or not.
, toPythonModule
, namePrefix
-, writeScript
, update-python-libraries
+, setuptools
+, flitBuildHook
+, pipBuildHook
+, pipInstallHook
+, pythonCatchConflictsHook
+, pythonImportsCheckHook
+, pythonRemoveBinBytecodeHook
+, setuptoolsBuildHook
+, setuptoolsCheckHook
+, wheelUnpackHook
}:
{ name ? "${attrs.pname}-${attrs.version}"
@@ -49,12 +57,27 @@
# Skip wrapping of python programs altogether
, dontWrapPythonPrograms ? false
+# Don't use Pip to install a wheel
+# Note this is actually a variable for the pipInstallPhase in pip's setupHook.
+# It's included here to prevent an infinite recursion.
+, dontUsePipInstall ? false
+
+# Skip setting the PYTHONNOUSERSITE environment variable in wrapped programs
+, permitUserSite ? false
+
# Remove bytecode from bin folder.
# When a Python script has the extension `.py`, bytecode is generated
# Typically, executables in bin have no extension, so no bytecode is generated.
# However, some packages do provide executables with extensions, and thus bytecode is generated.
, removeBinBytecode ? true
+# Several package formats are supported.
+# "setuptools" : Install a common setuptools/distutils based package. This builds a wheel.
+# "wheel" : Install from a pre-compiled wheel.
+# "flit" : Install a flit package. This builds a wheel.
+# "other" : Provide your own buildPhase and installPhase.
+, format ? "setuptools"
+
, meta ? {}
, passthru ? {}
@@ -69,26 +92,43 @@ if disabled
then throw "${name} not supported for interpreter ${python.executable}"
else
-let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attrs [
- "disabled" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts"
- ] // {
+let
+ inherit (python) stdenv;
+
+ self = toPythonModule (stdenv.mkDerivation ((builtins.removeAttrs attrs [
+ "disabled" "checkPhase" "checkInputs" "doCheck" "doInstallCheck" "dontWrapPythonPrograms" "catchConflicts" "format"
+ ]) // {
name = namePrefix + name;
nativeBuildInputs = [
python
wrapPython
- ensureNewerSourcesForZipFilesHook
- setuptools
-# ++ lib.optional catchConflicts setuptools # If we no longer propagate setuptools
+ ensureNewerSourcesForZipFilesHook # move to wheel installer (pip) or builder (setuptools, flit, ...)?
+ ] ++ lib.optionals catchConflicts [
+ setuptools pythonCatchConflictsHook
+ ] ++ lib.optionals removeBinBytecode [
+ pythonRemoveBinBytecodeHook
] ++ lib.optionals (lib.hasSuffix "zip" (attrs.src.name or "")) [
unzip
+ ] ++ lib.optionals (format == "setuptools") [
+ setuptoolsBuildHook
+ ] ++ lib.optionals (format == "flit") [
+ flitBuildHook
+ ] ++ lib.optionals (format == "pyproject") [
+ pipBuildHook
+ ] ++ lib.optionals (format == "wheel") [
+ wheelUnpackHook
+ ] ++ lib.optionals (!(format == "other") || dontUsePipInstall) [
+ pipInstallHook
+ ] ++ lib.optionals (stdenv.buildPlatform == stdenv.hostPlatform) [
+ # This is a test, however, it should be ran independent of the checkPhase and checkInputs
+ pythonImportsCheckHook
] ++ nativeBuildInputs;
buildInputs = buildInputs ++ pythonPath;
- # Propagate python and setuptools. We should stop propagating setuptools.
- propagatedBuildInputs = propagatedBuildInputs ++ [ python setuptools ];
+ propagatedBuildInputs = propagatedBuildInputs ++ [ python ];
inherit strictDeps;
@@ -96,21 +136,17 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
# Python packages don't have a checkPhase, only an installCheckPhase
doCheck = false;
- doInstallCheck = doCheck;
- installCheckInputs = checkInputs;
+ doInstallCheck = attrs.doCheck or true;
+ installCheckInputs = [
+ ] ++ lib.optionals (format == "setuptools") [
+ # Longer-term we should get rid of this and require
+ # users of this function to set the `installCheckPhase` or
+ # pass in a hook that sets it.
+ setuptoolsCheckHook
+ ] ++ checkInputs;
postFixup = lib.optionalString (!dontWrapPythonPrograms) ''
wrapPythonPrograms
- '' + lib.optionalString removeBinBytecode ''
- if [ -d "$out/bin" ]; then
- rm -rf "$out/bin/__pycache__" # Python 3
- find "$out/bin" -type f -name "*.pyc" -delete # Python 2
- fi
- '' + lib.optionalString catchConflicts ''
- # Check if we have two packages with the same name in the closure and fail.
- # If this happens, something went wrong with the dependencies specs.
- # Intentionally kept in a subdirectory, see catch_conflicts/README.md.
- ${python.pythonForBuild.interpreter} ${./catch_conflicts}/catch_conflicts.py
'' + attrs.postFixup or '''';
# Python packages built through cross-compilation are always for the host platform.
@@ -121,6 +157,10 @@ let self = toPythonModule (python.stdenv.mkDerivation (builtins.removeAttrs attr
platforms = python.meta.platforms;
isBuildPythonPackage = python.meta.platforms;
} // meta;
+} // lib.optionalAttrs (attrs?checkPhase) {
+ # If given use the specified checkPhase, otherwise use the setup hook.
+ # Longer-term we should get rid of `checkPhase` and use `installCheckPhase`.
+ installCheckPhase = attrs.checkPhase;
}));
passthru.updateScript = let
diff --git a/pkgs/development/interpreters/python/pypy/default.nix b/pkgs/development/interpreters/python/pypy/default.nix
index 3cdc30b9234..8154a87f667 100644
--- a/pkgs/development/interpreters/python/pypy/default.nix
+++ b/pkgs/development/interpreters/python/pypy/default.nix
@@ -1,7 +1,7 @@
{ stdenv, substituteAll, fetchurl
, zlib ? null, zlibSupport ? true, bzip2, pkgconfig, libffi
-, sqlite, openssl, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11
-, callPackage, self, gdbm, db, lzma
+, sqlite, openssl_1_0_2, ncurses, python, expat, tcl, tk, tix, xlibsWrapper, libX11
+, self, gdbm, db, lzma
, python-setup-hook
# For the Python package set
, packageOverrides ? (self: super: {})
@@ -17,7 +17,7 @@ with stdenv.lib;
let
isPy3k = substring 0 1 pythonVersion == "3";
- passthru = passthruFun rec {
+ passthru = passthruFun {
inherit self sourceVersion pythonVersion packageOverrides;
implementation = "pypy";
libPrefix = "pypy${pythonVersion}";
@@ -40,7 +40,7 @@ in with passthru; stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [
- bzip2 openssl pythonForPypy libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 gdbm db
+ bzip2 openssl_1_0_2 pythonForPypy libffi ncurses expat sqlite tk tcl xlibsWrapper libX11 gdbm db
] ++ optionals isPy3k [
lzma
] ++ optionals (stdenv ? cc && stdenv.cc.libc != null) [
@@ -88,7 +88,9 @@ in with passthru; stdenv.mkDerivation rec {
setupHook = python-setup-hook sitePackages;
- doCheck = true;
+ # TODO: A bunch of tests are failing as of 7.1.1, please feel free to
+ # fix and re-enable if you have the patience and tenacity.
+ doCheck = false;
checkPhase = let
disabledTests = [
# disable shutils because it assumes gid 0 exists
@@ -137,6 +139,9 @@ in with passthru; stdenv.mkDerivation rec {
# Python on Nix is not manylinux1 compatible. https://github.com/NixOS/nixpkgs/issues/18484
echo "manylinux1_compatible=False" >> $out/lib/${libPrefix}/_manylinux.py
+
+ # Include a sitecustomize.py file
+ cp ${../sitecustomize.py} $out/lib/${libPrefix}/${sitePackages}/sitecustomize.py
'';
inherit passthru;
@@ -146,7 +151,7 @@ in with passthru; stdenv.mkDerivation rec {
homepage = http://pypy.org/;
description = "Fast, compliant alternative implementation of the Python language (${pythonVersion})";
license = licenses.mit;
- platforms = [ "i686-linux" "x86_64-linux" ];
+ platforms = [ "i686-linux" "x86_64-linux" "x86_64-darwin" ];
maintainers = with maintainers; [ andersk ];
};
}
diff --git a/pkgs/development/interpreters/python/pypy/prebuilt.nix b/pkgs/development/interpreters/python/pypy/prebuilt.nix
index 552f230ee71..7ac8037293f 100644
--- a/pkgs/development/interpreters/python/pypy/prebuilt.nix
+++ b/pkgs/development/interpreters/python/pypy/prebuilt.nix
@@ -6,7 +6,7 @@
# Dependencies
, bzip2
, zlib
-, openssl
+, openssl_1_0_2
, expat
, libffi
, ncurses
@@ -27,7 +27,7 @@ with stdenv.lib;
let
isPy3k = majorVersion == "3";
- passthru = passthruFun rec {
+ passthru = passthruFun {
inherit self sourceVersion pythonVersion packageOverrides;
implementation = "pypy";
libPrefix = "pypy${pythonVersion}";
@@ -41,12 +41,10 @@ let
majorVersion = substring 0 1 pythonVersion;
- setupHook = python-setup-hook sitePackages;
-
deps = [
bzip2
zlib
- openssl
+ openssl_1_0_2
expat
libffi
ncurses
@@ -58,7 +56,7 @@ in with passthru; stdenv.mkDerivation {
inherit pname version;
src = fetchurl {
- url= "https://bitbucket.org/pypy/pypy/downloads/pypy${majorVersion}-v${version}-linux64.tar.bz2";
+ url = "https://bitbucket.org/pypy/pypy/downloads/pypy${pythonVersion}-v${version}-linux64.tar.bz2";
inherit sha256;
};
@@ -86,6 +84,10 @@ in with passthru; stdenv.mkDerivation {
echo "Removing bytecode"
find . -name "__pycache__" -type d -depth -exec rm -rf {} \;
popd
+
+ # Include a sitecustomize.py file
+ cp ${../sitecustomize.py} $out/${sitePackages}/sitecustomize.py
+
'';
doInstallCheck = true;
@@ -121,4 +123,4 @@ in with passthru; stdenv.mkDerivation {
platforms = [ "x86_64-linux" ];
};
-}
\ No newline at end of file
+}
diff --git a/pkgs/development/interpreters/python/sitecustomize.py b/pkgs/development/interpreters/python/sitecustomize.py
new file mode 100644
index 00000000000..e03b244dbc0
--- /dev/null
+++ b/pkgs/development/interpreters/python/sitecustomize.py
@@ -0,0 +1,26 @@
+"""
+This is a Nix-specific module for discovering modules built with Nix.
+
+The module recursively adds paths that are on `NIX_PYTHONPATH` to `sys.path`. In
+order to process possible `.pth` files `site.addsitedir` is used.
+
+The paths listed in `PYTHONPATH` are added to `sys.path` afterwards, but they
+will be added before the entries we add here and thus take precedence.
+
+Note the `NIX_PYTHONPATH` environment variable is unset in order to prevent leakage.
+
+Similarly, this module listens to the environment variable `NIX_PYTHONEXECUTABLE`
+and sets `sys.executable` to its value.
+"""
+import site
+import sys
+import os
+import functools
+
+paths = os.environ.pop('NIX_PYTHONPATH', None)
+if paths:
+ functools.reduce(lambda k, p: site.addsitedir(p, k), paths.split(':'), site._init_pathinfo())
+
+executable = os.environ.pop('NIX_PYTHONEXECUTABLE', None)
+if 'PYTHONEXECUTABLE' not in os.environ and executable:
+ sys.executable = executable
diff --git a/pkgs/development/interpreters/python/wrap.sh b/pkgs/development/interpreters/python/wrap.sh
index b2d65422db4..c7201c7a997 100644
--- a/pkgs/development/interpreters/python/wrap.sh
+++ b/pkgs/development/interpreters/python/wrap.sh
@@ -73,9 +73,12 @@ wrapPythonProgramsIn() {
# (see pkgs/build-support/setup-hooks/make-wrapper.sh)
local -a wrap_args=("$f"
--prefix PATH ':' "$program_PATH"
- --set PYTHONNOUSERSITE "true"
)
+ if [ -z "$permitUserSite" ]; then
+ wrap_args+=(--set PYTHONNOUSERSITE "true")
+ fi
+
# Add any additional arguments provided by makeWrapperArgs
# argument to buildPythonPackage.
local -a user_args="($makeWrapperArgs)"
diff --git a/pkgs/development/interpreters/python/wrapper.nix b/pkgs/development/interpreters/python/wrapper.nix
index 27d01e4e1f5..b437584024f 100644
--- a/pkgs/development/interpreters/python/wrapper.nix
+++ b/pkgs/development/interpreters/python/wrapper.nix
@@ -3,6 +3,7 @@
, extraOutputsToInstall ? []
, postBuild ? ""
, ignoreCollisions ? false
+, permitUserSite ? false
, requiredPythonModules
# Wrap executables with the given argument.
, makeWrapperArgs ? []
@@ -12,6 +13,8 @@
let
env = let
paths = requiredPythonModules (extraLibs ++ [ python ] ) ;
+ pythonPath = "${placeholder "out"}/${python.sitePackages}";
+ pythonExecutable = "${placeholder "out"}/bin/${python.executable}";
in buildEnv {
name = "${python.name}-env";
@@ -34,7 +37,7 @@ let
if [ -f "$prg" ]; then
rm -f "$out/bin/$prg"
if [ -x "$prg" ]; then
- makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set PYTHONHOME "$out" --set PYTHONNOUSERSITE "true" ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
+ makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set NIX_PYTHONEXECUTABLE ${pythonExecutable} --set NIX_PYTHONPATH ${pythonPath} ${if permitUserSite then "" else ''--set PYTHONNOUSERSITE "true"''} ${stdenv.lib.concatStringsSep " " makeWrapperArgs}
fi
fi
done
diff --git a/pkgs/development/interpreters/qnial/default.nix b/pkgs/development/interpreters/qnial/default.nix
index 779039c6d6a..d49886da8f5 100644
--- a/pkgs/development/interpreters/qnial/default.nix
+++ b/pkgs/development/interpreters/qnial/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, unzip, pkgconfig, makeWrapper, ncurses }:
-stdenv.mkDerivation rec {
- name = "qnial-${version}";
+stdenv.mkDerivation {
+ pname = "qnial";
version = "6.3";
src = fetchFromGitHub {
diff --git a/pkgs/development/interpreters/racket/default.nix b/pkgs/development/interpreters/racket/default.nix
index c2147fb5f6a..f13adc21d9e 100644
--- a/pkgs/development/interpreters/racket/default.nix
+++ b/pkgs/development/interpreters/racket/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, makeFontsConf, makeWrapper
+{ stdenv, fetchurl, makeFontsConf
, cacert
, cairo, coreutils, fontconfig, freefont_ttf
, glib, gmp
@@ -45,16 +45,16 @@ let
in
stdenv.mkDerivation rec {
- name = "racket-${version}";
+ pname = "racket";
version = "7.3"; # always change at once with ./minimal.nix
src = (stdenv.lib.makeOverridable ({ name, sha256 }:
- fetchurl rec {
+ fetchurl {
url = "https://mirror.racket-lang.org/installers/${version}/${name}-src.tgz";
inherit sha256;
}
)) {
- inherit name;
+ inherit ;name = "${pname}-${version}";
sha256 = "0h6072njhb87rkz4arijvahxgjzn8r14s4wns0ijvxm89bg136yl";
};
diff --git a/pkgs/development/interpreters/rakudo/default.nix b/pkgs/development/interpreters/rakudo/default.nix
index 1244ad5ecd2..ab5493e8a9d 100644
--- a/pkgs/development/interpreters/rakudo/default.nix
+++ b/pkgs/development/interpreters/rakudo/default.nix
@@ -2,11 +2,11 @@
, CoreServices, ApplicationServices }:
stdenv.mkDerivation rec {
- name = "rakudo-star-${version}";
+ pname = "rakudo-star";
version = "2017.01";
src = fetchurl {
- url = "http://rakudo.org/downloads/star/${name}.tar.gz";
+ url = "http://rakudo.org/downloads/star/${pname}-${version}.tar.gz";
sha256 = "07zjqdzxm30pmjqwlnr669d75bsbimy09sk0dvgm0pnn3zr92fjq";
};
diff --git a/pkgs/development/interpreters/rascal/default.nix b/pkgs/development/interpreters/rascal/default.nix
index 25e125b9af6..22eee0f6ead 100644
--- a/pkgs/development/interpreters/rascal/default.nix
+++ b/pkgs/development/interpreters/rascal/default.nix
@@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
buildInputs = [ makeWrapper jdk ];
- unpackPhase = "true";
+ dontUnpack = true;
installPhase =
''
diff --git a/pkgs/development/interpreters/rebol/default.nix b/pkgs/development/interpreters/rebol/default.nix
index 4d98f18eee4..274b70b2c79 100644
--- a/pkgs/development/interpreters/rebol/default.nix
+++ b/pkgs/development/interpreters/rebol/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, fetchurl, glibc, libX11, libXt, perl }:
stdenv.mkDerivation rec {
- name = "rebol-nightly-${version}";
+ pname = "rebol-nightly";
version = "3-alpha";
src = fetchFromGitHub {
rev = "bd45d0de512ff5953e098301c3d610f6024515d6";
diff --git a/pkgs/development/interpreters/red/default.nix b/pkgs/development/interpreters/red/default.nix
index 56ff0283174..2121f54a3b1 100644
--- a/pkgs/development/interpreters/red/default.nix
+++ b/pkgs/development/interpreters/red/default.nix
@@ -1,7 +1,7 @@
{ stdenv, stdenv_32bit, pkgsi686Linux, fetchFromGitHub, fetchurl }:
stdenv.mkDerivation rec {
- name = "red-${version}";
+ pname = "red";
version = "0.6.3";
src = fetchFromGitHub {
rev = "6a43c767fa2e85d668b83f749158a18e62c30f70";
@@ -55,13 +55,13 @@ stdenv.mkDerivation rec {
rm -rf $out/opt/red/rebol
install -Dm755 console $out/bin/red
install -Dm644 BSD-3-License.txt \
- $out/share/licenses/${name}/BSD-3-License.txt
+ $out/share/licenses/${pname}-${version}/BSD-3-License.txt
install -Dm644 BSL-License.txt \
- $out/share/licenses/${name}/BSL-License.txt
+ $out/share/licenses/${pname}-${version}/BSL-License.txt
install -Dm644 docs/red-system-quick-test.html \
- $out/share/doc/${name}/red-system-quick-test.html
+ $out/share/doc/${pname}-${version}/red-system-quick-test.html
install -Dm644 docs/red-system-specs.html \
- $out/share/doc/${name}/red-system-specs.html
+ $out/share/doc/${pname}-${version}/red-system-specs.html
# PathElf
patchelf --set-interpreter \
diff --git a/pkgs/development/interpreters/regina/default.nix b/pkgs/development/interpreters/regina/default.nix
index 1d67193a73c..ec19b0679f4 100644
--- a/pkgs/development/interpreters/regina/default.nix
+++ b/pkgs/development/interpreters/regina/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "Regina-REXX-${version}";
+ pname = "Regina-REXX";
version = "3.9.1";
src = fetchurl {
- url = "mirror://sourceforge/regina-rexx/regina-rexx/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/regina-rexx/regina-rexx/${version}/${pname}-${version}.tar.gz";
sha256 = "1vpksnjmg6y5zag9li6sxqxj2xapgalfz8krfxgg49vyk0kdy4sx";
};
diff --git a/pkgs/development/interpreters/renpy/default.nix b/pkgs/development/interpreters/renpy/default.nix
index 16434837dd1..30ac6d2bd5b 100644
--- a/pkgs/development/interpreters/renpy/default.nix
+++ b/pkgs/development/interpreters/renpy/default.nix
@@ -6,8 +6,8 @@
with pythonPackages;
stdenv.mkDerivation rec {
- name = "renpy-${version}";
- version = "7.2.2";
+ pname = "renpy";
+ version = "7.3.2";
meta = with stdenv.lib; {
description = "Ren'Py Visual Novel Engine";
@@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "https://www.renpy.org/dl/${version}/renpy-${version}-source.tar.bz2";
- sha256 = "0b8pky0npi4gw59cnjicyrc9q1x2zsxa7x68y74dbgjg9r0dgkd7";
+ sha256 = "1i7s9s8invsm5bavw2jlk965pb5h5vgwyk1nhw0z1d22spmj4a4m";
};
patches = [
@@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
pythonPath = [ pygame_sdl2 tkinter ];
- RENPY_DEPS_INSTALL = stdenv.lib.concatStringsSep "::" (map (path: "${path}") [
+ RENPY_DEPS_INSTALL = stdenv.lib.concatStringsSep "::" (map (path: path) [
SDL2 SDL2.dev libpng ffmpeg ffmpeg.out freetype glew.dev glew.out libGLU_combined fribidi zlib
]);
diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix
index 6f333e13c2b..3494c8dee24 100644
--- a/pkgs/development/interpreters/ruby/default.nix
+++ b/pkgs/development/interpreters/ruby/default.nix
@@ -3,6 +3,7 @@
, zlib, openssl, gdbm, ncurses, readline, groff, libyaml, libffi, autoreconfHook, bison
, autoconf, libiconv, libobjc, libunwind, Foundation
, buildEnv, bundler, bundix
+, makeWrapper, buildRubyGem, defaultGemConfig
} @ args:
let
@@ -11,7 +12,7 @@ let
opString = lib.optionalString;
patchSet = import ./rvm-patchsets.nix { inherit fetchFromGitHub; };
config = import ./config.nix { inherit fetchFromSavannah; };
- rubygems = import ./rubygems { inherit stdenv lib fetchurl fetchpatch; };
+ rubygems = import ./rubygems { inherit stdenv lib fetchurl; };
# Contains the ruby version heuristics
rubyVersion = import ./ruby-version.nix { inherit lib; };
@@ -26,24 +27,31 @@ let
ver = version;
tag = ver.gitTag;
atLeast25 = lib.versionAtLeast ver.majMin "2.5";
- baseruby = self.override { useRailsExpress = false; };
+ baseruby = self.override {
+ useRailsExpress = false;
+ docSupport = false;
+ rubygemsSupport = false;
+ };
self = lib.makeOverridable (
{ stdenv, buildPackages, lib
, fetchurl, fetchpatch, fetchFromSavannah, fetchFromGitHub
, useRailsExpress ? true
+ , rubygemsSupport ? true
, zlib, zlibSupport ? true
, openssl, opensslSupport ? true
, gdbm, gdbmSupport ? true
, ncurses, readline, cursesSupport ? true
- , groff, docSupport ? false
+ , groff, docSupport ? true
, libyaml, yamlSupport ? true
, libffi, fiddleSupport ? true
, autoreconfHook, bison, autoconf
, buildEnv, bundler, bundix
, libiconv, libobjc, libunwind, Foundation
+ , makeWrapper, buildRubyGem, defaultGemConfig
}:
stdenv.mkDerivation rec {
- name = "ruby-${version}";
+ pname = "ruby";
+ inherit version;
src = if useRailsExpress then fetchFromGitHub {
owner = "ruby";
@@ -58,6 +66,8 @@ let
# Have `configure' avoid `/usr/bin/nroff' in non-chroot builds.
NROFF = if docSupport then "${groff}/bin/nroff" else null;
+ outputs = [ "out" ] ++ lib.optional docSupport "devdoc";
+
nativeBuildInputs = [ autoreconfHook bison ]
++ (op docSupport groff)
++ op (stdenv.buildPlatform != stdenv.hostPlatform) buildPackages.ruby;
@@ -80,12 +90,14 @@ let
patches =
(import ./patchsets.nix {
- inherit patchSet useRailsExpress ops;
+ inherit patchSet useRailsExpress ops fetchpatch;
patchLevel = ver.patchLevel;
- })."${ver.majMinTiny}";
+ }).${ver.majMinTiny};
- postUnpack = ''
- cp -r ${rubygems} $sourceRoot/rubygems
+ postUnpack = opString rubygemsSupport ''
+ rm -rf $sourceRoot/{lib,test}/rubygems*
+ cp -r ${rubygems}/lib/rubygems* $sourceRoot/lib
+ cp -r ${rubygems}/test/rubygems $sourceRoot/test
'';
postPatch = if atLeast25 then ''
@@ -112,6 +124,10 @@ let
++ op (stdenv.hostPlatform != stdenv.buildPlatform)
"--with-baseruby=${buildRuby}";
+ preConfigure = opString docSupport ''
+ configureFlagsArray+=("--with-ridir=$devdoc/share/ri")
+ '';
+
# fails with "16993 tests, 2229489 assertions, 105 failures, 14 errors, 89 skips"
# mostly TZ- and patch-related tests
# TZ- failures are caused by nix sandboxing, I didn't investigate others
@@ -126,12 +142,6 @@ let
installFlags = stdenv.lib.optionalString docSupport "install-doc";
# Bundler tries to create this directory
postInstall = ''
- # Update rubygems
- pushd rubygems
- chmod +w bundler/bundler.gemspec
- ${buildRuby} setup.rb --destdir $GEM_HOME
- popd
-
# Remove unnecessary groff reference from runtime closure, since it's big
sed -i '/NROFF/d' $out/lib/ruby/*/*/rbconfig.rb
@@ -141,12 +151,26 @@ let
addGemPath() {
addToSearchPath GEM_PATH \$1/${passthru.gemPath}
}
+ addRubyLibPath() {
+ addToSearchPath RUBYLIB \$1/lib/ruby/site_ruby
+ addToSearchPath RUBYLIB \$1/lib/ruby/site_ruby/${ver.libDir}
+ addToSearchPath RUBYLIB \$1/lib/ruby/site_ruby/${ver.libDir}/${stdenv.targetPlatform.system}
+ }
addEnvHooks "$hostOffset" addGemPath
+ addEnvHooks "$hostOffset" addRubyLibPath
EOF
- '' + opString useRailsExpress ''
- rbConfig=$(find $out/lib/ruby -name rbconfig.rb)
+ rbConfig=$(find $out/lib/ruby -name rbconfig.rb)
+ '' + opString docSupport ''
+ # Prevent the docs from being included in the closure
+ sed -i "s|\$(DESTDIR)$devdoc|\$(datarootdir)/\$(RI_BASE_NAME)|" $rbConfig
+ sed -i "s|'--with-ridir=$devdoc/share/ri'||" $rbConfig
+
+ # Add rbconfig shim so ri can find docs
+ mkdir -p $devdoc/lib/ruby/site_ruby
+ cp ${./rbconfig.rb} $devdoc/lib/ruby/site_ruby/rbconfig.rb
+ '' + opString useRailsExpress ''
# Prevent the baseruby from being included in the closure.
sed -i '/^ CONFIG\["BASERUBY"\]/d' $rbConfig
sed -i "s|'--with-baseruby=${baseruby}/bin/ruby'||" $rbConfig
@@ -171,6 +195,12 @@ let
ruby = self;
};
+ inherit (import ../../ruby-modules/with-packages {
+ inherit lib stdenv makeWrapper buildRubyGem buildEnv;
+ gemConfig = defaultGemConfig;
+ ruby = self;
+ }) withPackages gems;
+
# deprecated 2016-09-21
majorVersion = ver.major;
minorVersion = ver.minor;
@@ -181,35 +211,27 @@ let
) args; in self;
in {
- ruby_2_3 = generic {
- version = rubyVersion "2" "3" "8" "";
- sha256 = {
- src = "1gwsqmrhpx1wanrfvrsj3j76rv888zh7jag2si2r14qf8ihns0dm";
- git = "0158fg1sx6l6applbq0831kl8kzx5jacfl9lfg0shfzicmjlys3f";
- };
- };
-
ruby_2_4 = generic {
- version = rubyVersion "2" "4" "5" "";
+ version = rubyVersion "2" "4" "7" "";
sha256 = {
- src = "162izk7c72y73vmdgcbsh8kqihrbm65xvp53r1s139pzwqd78dv7";
- git = "181za4h6bd2bkyzyknxc18i5gq0pnqag60ybc17p0ixw3q7pdj43";
+ src = "12cbyf7zai8mi3mxffm5ynq3mmkcbvs7kb1bbrs259m61irgqvnd";
+ git = "1dgch9xz4wdcncb6pf2dvijm10yk6mbw2wfdrj7d3wazrjzh305z";
};
};
ruby_2_5 = generic {
- version = rubyVersion "2" "5" "5" "";
+ version = rubyVersion "2" "5" "6" "";
sha256 = {
- src = "0k2in88jymqh727s88yjsv7wrqs2hdj9h2w9zh2bmrj0ygylba98";
- git = "0l7b7xv48gvvlqs27gghfi645qvc1nwiz8ym4j8w100rzzzfy6zz";
+ src = "19xy6rf138ys4qycv0ibsycqwbjmf1j6iv9plw9cs81hcxnd0zhx";
+ git = "067gyy7149m6vk9dfyx22mghm2gbgy7snfa7df4ddrvr1pqffqmz";
};
};
ruby_2_6 = generic {
- version = rubyVersion "2" "6" "3" "";
+ version = rubyVersion "2" "6" "4" "";
sha256 = {
- src = "1yw23hmllxsc4b7zqndn5l4d9503gdik6rsf3lfdkf12bxwx6zsp";
- git = "1h4k2kw0vr4jh2ra9l89i8lnddfh2qfw67y9cknjylf7kw2m1pmh";
+ src = "0dvrw4g2igvjclxk9bmb9pf6mzxwm22zqvqa0abkfnshfnxdihag";
+ git = "1h4z66amjykpzl6lxx6yad2yfpwnwix4sw19bd96jnwg248kviqf";
};
};
}
diff --git a/pkgs/development/interpreters/ruby/patchsets.nix b/pkgs/development/interpreters/ruby/patchsets.nix
index 47d8397c966..56164de5b5f 100644
--- a/pkgs/development/interpreters/ruby/patchsets.nix
+++ b/pkgs/development/interpreters/ruby/patchsets.nix
@@ -1,22 +1,27 @@
-{ patchSet, useRailsExpress, ops, patchLevel }:
+{ patchSet, useRailsExpress, ops, patchLevel, fetchpatch }:
-rec {
+{
"2.3.8" = ops useRailsExpress [
"${patchSet}/patches/ruby/2.3/head/railsexpress/01-skip-broken-tests.patch"
"${patchSet}/patches/ruby/2.3/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.3/head/railsexpress/03-display-more-detailed-stack-trace.patch"
];
- "2.4.5" = ops useRailsExpress [
+ "2.4.7" = ops useRailsExpress [
"${patchSet}/patches/ruby/2.4/head/railsexpress/01-skip-broken-tests.patch"
"${patchSet}/patches/ruby/2.4/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.4/head/railsexpress/03-display-more-detailed-stack-trace.patch"
];
- "2.5.5" = ops useRailsExpress [
+ "2.5.6" = ops useRailsExpress [
"${patchSet}/patches/ruby/2.5/head/railsexpress/01-fix-broken-tests-caused-by-ad.patch"
"${patchSet}/patches/ruby/2.5/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.5/head/railsexpress/03-more-detailed-stacktrace.patch"
];
- "2.6.3" = ops useRailsExpress [
+ "2.6.4" = [
+ (fetchpatch {
+ url = "https://git.ruby-lang.org/ruby.git/patch/?id=ade1283ca276f7d589ffd3539fbc7b9817f682d5";
+ sha256 = "1vgrckmzz0ykyxgzyp8fcifa93xz2hvyfil79bw1gc3xx94wnnxd";
+ })
+ ] ++ ops useRailsExpress [
"${patchSet}/patches/ruby/2.6/head/railsexpress/01-fix-broken-tests-caused-by-ad.patch"
"${patchSet}/patches/ruby/2.6/head/railsexpress/02-improve-gc-stats.patch"
"${patchSet}/patches/ruby/2.6/head/railsexpress/03-more-detailed-stacktrace.patch"
diff --git a/pkgs/development/interpreters/ruby/rbconfig.rb b/pkgs/development/interpreters/ruby/rbconfig.rb
new file mode 100644
index 00000000000..eeba930b54b
--- /dev/null
+++ b/pkgs/development/interpreters/ruby/rbconfig.rb
@@ -0,0 +1,25 @@
+# This is a shim around whatever real rbconfig.rb is in the LOAD_PATH,
+# so that RbConfig::CONFIG["ridir"] can be overridden to point to the
+# custom location of the ri docs, without the main derivation having
+# those docs in its closure.
+
+MY_PATH = File.realpath(__FILE__)
+
+candidates = $LOAD_PATH.map { |dir| File.join(dir, "rbconfig.rb") }
+
+# First, drop everything _before_ this file in the LOAD_PATH, just on
+# the off-chance somebody is composing shims like this for some reason.
+candidates.drop_while { |c| !File.exist?(c) || File.realpath(c) != MY_PATH }
+
+# Now, the wrapped rbconfig.rb is the next rbconfig.rb in the LOAD_PATH
+# that isn't this same file. (Yes, duplicate LOAD_PATH entries are a
+# thing we have to deal with.)
+next_rbconfig = candidates.find { |c|
+ File.exist?(c) && File.realpath(c) != MY_PATH
+}
+
+# Load the wrapped rbconfig.rb
+require next_rbconfig
+
+# Now we have RbConfig, and can modify it for our own ends.
+RbConfig::CONFIG["ridir"] = File.expand_path("../../../share/ri", __dir__)
diff --git a/pkgs/development/interpreters/ruby/rubygems/default.nix b/pkgs/development/interpreters/ruby/rubygems/default.nix
index db28cbe28fa..1042caa41ac 100644
--- a/pkgs/development/interpreters/ruby/rubygems/default.nix
+++ b/pkgs/development/interpreters/ruby/rubygems/default.nix
@@ -1,12 +1,12 @@
-{ stdenv, lib, fetchurl, fetchpatch }:
+{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
name = "rubygems";
- version = "3.0.3";
+ version = "3.0.6";
src = fetchurl {
url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
- sha256 = "0b6b9ads8522804xv8b8498gqwsv4qawv13f81kyc7g966y7lfmy";
+ sha256 = "1ca1i4xmggizr59m6p28gprlvshczsbx30q8iyzxb2vj4jn8arzx";
};
patches = [
diff --git a/pkgs/development/interpreters/ruby/rvm-patchsets.nix b/pkgs/development/interpreters/ruby/rvm-patchsets.nix
index 95b38fc8ebd..883987683b0 100644
--- a/pkgs/development/interpreters/ruby/rvm-patchsets.nix
+++ b/pkgs/development/interpreters/ruby/rvm-patchsets.nix
@@ -3,6 +3,6 @@
fetchFromGitHub {
owner = "skaes";
repo = "rvm-patchsets";
- rev = "e6e12c2c32ff184e0409d8f9f2a870f2dfbd06a3";
- sha256 = "0n71h2ip1k18icb3bcr1jz4161lh6vr6i3f7b45jswg77c4rrxcy";
+ rev = "58f72dccc8bb4dc9b1035f6af903d21f2465367a";
+ sha256 = "00gbrhvnf05g6zmfim472ld0l1lp100dy4pi3lixm6ry9iw9m4ag";
}
diff --git a/pkgs/development/interpreters/self/default.nix b/pkgs/development/interpreters/self/default.nix
index 594bbc05b7c..43f5758e4c4 100644
--- a/pkgs/development/interpreters/self/default.nix
+++ b/pkgs/development/interpreters/self/default.nix
@@ -1,6 +1,6 @@
{ fetchgit, stdenv, xorg, makeWrapper, ncurses, cmake }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
# The Self wrapper stores source in $XDG_DATA_HOME/self or ~/.local/share/self
# so that it can be written to when using the Self transposer. Running 'Self'
# after installation runs without an image. You can then build a Self image with:
@@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
# $ Self -s myimage.snap
#
version = "4.5.0";
- name = "self-${version}";
+ pname = "self";
src = fetchgit {
url = "https://github.com/russellallen/self";
diff --git a/pkgs/development/interpreters/spidermonkey/1.8.5.nix b/pkgs/development/interpreters/spidermonkey/1.8.5.nix
index 9c81b230ada..97d2b67372a 100644
--- a/pkgs/development/interpreters/spidermonkey/1.8.5.nix
+++ b/pkgs/development/interpreters/spidermonkey/1.8.5.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, autoconf213, fetchurl, fetchpatch, pkgconfig, nspr, perl, python2, zip }:
-stdenv.mkDerivation rec {
- name = "spidermonkey-${version}";
+stdenv.mkDerivation {
+ pname = "spidermonkey";
version = "1.8.5";
src = fetchurl {
@@ -37,6 +37,12 @@ stdenv.mkDerivation rec {
patchFlags = "-p3";
+ # fixes build on gcc8
+ postPatch = ''
+ substituteInPlace ./methodjit/MethodJIT.cpp \
+ --replace 'asm volatile' 'asm'
+ '';
+
# On the Sheevaplug, ARM, its nanojit thing segfaults in japi-tests in
# "make check". Disabling tracejit makes it work, but then it needs the
# patch findvanilla.patch do disable a checker about allocator safety. In case
diff --git a/pkgs/development/interpreters/spidermonkey/38.nix b/pkgs/development/interpreters/spidermonkey/38.nix
index d48cf841b04..89bbd713a5c 100644
--- a/pkgs/development/interpreters/spidermonkey/38.nix
+++ b/pkgs/development/interpreters/spidermonkey/38.nix
@@ -1,16 +1,18 @@
-{ stdenv, fetchurl, pkgconfig, gnused_422, perl, python2, zip, libffi, readline, icu, zlib, nspr
+{ stdenv, fetchurl, pkgconfig, gnused_422, perl, python2, zip, libffi, readline, icu, zlib, buildPackages
, libobjc }:
+with stdenv.lib;
+
stdenv.mkDerivation rec {
version = "38.8.0";
- name = "spidermonkey-${version}";
+ pname = "spidermonkey";
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.bz2";
sha256 = "10lrync6cxnjlnadc0j3vg8r2dq9b3wwanw8qj1h6ncxwb7asxcl";
};
- buildInputs = [ libffi readline icu zlib nspr ]
+ buildInputs = [ libffi readline icu zlib ]
++ stdenv.lib.optional stdenv.isDarwin libobjc;
nativeBuildInputs = [ pkgconfig perl python2 zip gnused_422 ];
@@ -19,13 +21,13 @@ stdenv.mkDerivation rec {
preConfigure = ''
export CXXFLAGS="-fpermissive"
export LIBXUL_DIST=$out
- export PYTHON="${python2.interpreter}"
+ export PYTHON="${buildPackages.python2.interpreter}"
'';
configureFlags = [
"--enable-threadsafe"
"--with-system-ffi"
- "--with-system-nspr"
+ "--enable-posix-nspr-emulation"
"--with-system-zlib"
"--with-system-icu"
"--enable-readline"
@@ -34,8 +36,17 @@ stdenv.mkDerivation rec {
# not be good defaults for other uses.
"--enable-gcgenerational"
"--enable-shared-js"
+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
+ # Spidermonkey seems to use different host/build terminology for cross
+ # compilation here.
+ "--host=${stdenv.buildPlatform.config}"
+ "--target=${stdenv.hostPlatform.config}"
];
+ configurePlatforms = [];
+
+ depsBuildBuild = [ buildPackages.stdenv.cc ];
+
# This addresses some build system bug. It's quite likely to be safe
# to re-enable parallel builds if the source revision changes.
enableParallelBuilding = true;
diff --git a/pkgs/development/interpreters/spidermonkey/52.nix b/pkgs/development/interpreters/spidermonkey/52.nix
index feac99b2d8e..238afd4bd04 100644
--- a/pkgs/development/interpreters/spidermonkey/52.nix
+++ b/pkgs/development/interpreters/spidermonkey/52.nix
@@ -1,9 +1,10 @@
-{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, zip, which, readline, icu, zlib, nspr, buildPackages }:
+{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, zip, which, readline, icu, zlib, nspr, buildPackages }:
let
version = "52.9.0";
-in stdenv.mkDerivation rec {
- name = "spidermonkey-${version}";
+in stdenv.mkDerivation {
+ pname = "spidermonkey";
+ inherit version;
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz";
diff --git a/pkgs/development/interpreters/spidermonkey/60.nix b/pkgs/development/interpreters/spidermonkey/60.nix
index 1dfaf9a2286..f62638dd838 100644
--- a/pkgs/development/interpreters/spidermonkey/60.nix
+++ b/pkgs/development/interpreters/spidermonkey/60.nix
@@ -1,10 +1,13 @@
-{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, zip
+{ stdenv, fetchurl, fetchpatch, autoconf213, pkgconfig, perl, python2, zip, buildPackages
, which, readline, zlib, icu }:
+with stdenv.lib;
+
let
version = "60.4.0";
-in stdenv.mkDerivation rec {
- name = "spidermonkey-${version}";
+in stdenv.mkDerivation {
+ pname = "spidermonkey";
+ inherit version;
src = fetchurl {
url = "mirror://mozilla/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz";
@@ -24,7 +27,7 @@ in stdenv.mkDerivation rec {
preConfigure = ''
export CXXFLAGS="-fpermissive"
export LIBXUL_DIST=$out
- export PYTHON="${python2.interpreter}"
+ export PYTHON="${buildPackages.python2.interpreter}"
# We can't build in js/src/, so create a build dir
mkdir obj
@@ -45,8 +48,17 @@ in stdenv.mkDerivation rec {
# https://src.fedoraproject.org/rpms/mozjs38/c/761399aba092bcb1299bb4fccfd60f370ab4216e
"--enable-optimize"
"--enable-release"
+ ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
+ # Spidermonkey seems to use different host/build terminology for cross
+ # compilation here.
+ "--host=${stdenv.buildPlatform.config}"
+ "--target=${stdenv.hostPlatform.config}"
];
+ configurePlatforms = [];
+
+ depsBuildBuild = [ buildPackages.stdenv.cc ];
+
# Remove unnecessary static lib
preFixup = ''
rm $out/lib/libjs_static.ajs
diff --git a/pkgs/development/interpreters/supercollider/default.nix b/pkgs/development/interpreters/supercollider/default.nix
index c16b57dcb9c..b4ed9232452 100644
--- a/pkgs/development/interpreters/supercollider/default.nix
+++ b/pkgs/development/interpreters/supercollider/default.nix
@@ -1,40 +1,43 @@
-{ stdenv, fetchurl, cmake, pkgconfig, alsaLib
+{ stdenv, mkDerivation, fetchurl, cmake, pkgconfig, alsaLib
, libjack2, libsndfile, fftw, curl, gcc
-, libXt, qtbase, qttools, qtwebkit, readline
-, useSCEL ? false, emacs
+, libXt, qtbase, qttools, qtwebengine
+, readline, qtwebsockets, useSCEL ? false, emacs
}:
let optional = stdenv.lib.optional;
in
-stdenv.mkDerivation rec {
- name = "supercollider-${version}";
- version = "3.9.3";
+mkDerivation rec {
+ pname = "supercollider";
+ version = "3.10.3";
src = fetchurl {
- url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source-linux.tar.bz2";
- sha256 = "1d8ixfl100jvlialxdizp8wqsl1mp5pi2bam25vp97bhjd59cfdr";
+ url = "https://github.com/supercollider/supercollider/releases/download/Version-${version}/SuperCollider-${version}-Source.tar.bz2";
+ sha256 = "1wvsrr4qcqmpxpn57wwrnwbnf3pflr3n4wkj9j6b9cdisp34kv5d";
};
hardeningDisable = [ "stackprotector" ];
- cmakeFlags = ''
- -DSC_WII=OFF
- -DSC_EL=${if useSCEL then "ON" else "OFF"}
- '';
+ cmakeFlags = [
+ "-DSC_WII=OFF"
+ "-DSC_EL=${if useSCEL then "ON" else "OFF"}"
+ ];
nativeBuildInputs = [ cmake pkgconfig qttools ];
+ enableParallelBuilding = true;
+
buildInputs = [
- gcc libjack2 libsndfile fftw curl libXt qtbase qtwebkit readline ]
+ gcc libjack2 libsndfile fftw curl libXt qtbase qtwebengine qtwebsockets readline ]
++ optional (!stdenv.isDarwin) alsaLib
++ optional useSCEL emacs;
- meta = {
+ meta = with stdenv.lib; {
description = "Programming language for real time audio synthesis";
- homepage = http://supercollider.sourceforge.net/;
- license = stdenv.lib.licenses.gpl3Plus;
+ homepage = "https://supercollider.github.io";
+ maintainers = with maintainers; [ mrmebelman ];
+ license = licenses.gpl3;
platforms = [ "x686-linux" "x86_64-linux" ];
};
}
diff --git a/pkgs/development/interpreters/tcl/generic.nix b/pkgs/development/interpreters/tcl/generic.nix
index cd377e70cd9..3c585c3f07f 100644
--- a/pkgs/development/interpreters/tcl/generic.nix
+++ b/pkgs/development/interpreters/tcl/generic.nix
@@ -5,8 +5,9 @@
, ...
}:
-stdenv.mkDerivation rec {
- name = "tcl-${version}";
+stdenv.mkDerivation {
+ pname = "tcl";
+ inherit version;
inherit src;
diff --git a/pkgs/development/interpreters/tinyscheme/default.nix b/pkgs/development/interpreters/tinyscheme/default.nix
index f2c5fd938ce..ca897ec692c 100644
--- a/pkgs/development/interpreters/tinyscheme/default.nix
+++ b/pkgs/development/interpreters/tinyscheme/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "tinyscheme-${version}";
+ pname = "tinyscheme";
version = "1.41";
src = fetchurl {
- url = "mirror://sourceforge/tinyscheme/${name}.tar.gz";
+ url = "mirror://sourceforge/tinyscheme/${pname}-${version}.tar.gz";
sha256 = "168rk4zrlhsknbvldq2jsgabpwlqkx6la44gkqmijmf7jhs11h7a";
};
diff --git a/pkgs/development/interpreters/unicon-lang/default.nix b/pkgs/development/interpreters/unicon-lang/default.nix
index 77154b54fd8..bb4a2d01499 100644
--- a/pkgs/development/interpreters/unicon-lang/default.nix
+++ b/pkgs/development/interpreters/unicon-lang/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip, libX11, libXt }:
-stdenv.mkDerivation rec {
- name = "unicon-lang-${version}";
+stdenv.mkDerivation {
+ pname = "unicon-lang";
version = "11.7";
src = fetchurl {
url = "http://unicon.org/dist/uni-2-4-2010.zip";
diff --git a/pkgs/development/interpreters/wasm-gc/default.nix b/pkgs/development/interpreters/wasm-gc/default.nix
index cf0fad18d1c..44ac11be540 100644
--- a/pkgs/development/interpreters/wasm-gc/default.nix
+++ b/pkgs/development/interpreters/wasm-gc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
- name = "wasm-gc-${version}";
+ pname = "wasm-gc";
version = "0.1.6";
src = fetchFromGitHub {
@@ -13,7 +13,7 @@ rustPlatform.buildRustPackage rec {
cargoPatches = [ ./fix-build.patch ]; # Cargo.lock is not up-to-date
- cargoSha256 = "1jvk9n324p3x3j6q6x0p5diig3b5c683k74cfflff25i7gsmmvc7";
+ cargoSha256 = "073dnn80sl4adh7vi6q9sx2vkmy27gxy7ysxz17iz12p7pfcagm2";
meta = with stdenv.lib; {
description = "gc-sections for wasm";
diff --git a/pkgs/development/interpreters/wasmtime/cargo-lock.patch b/pkgs/development/interpreters/wasmtime/cargo-lock.patch
index be5bd0ab3d3..85479886570 100644
--- a/pkgs/development/interpreters/wasmtime/cargo-lock.patch
+++ b/pkgs/development/interpreters/wasmtime/cargo-lock.patch
@@ -1,9 +1,11 @@
diff --git a/Cargo.lock b/Cargo.lock
new file mode 100644
-index 0000000..f702de1
+index 0000000..b961a31
--- /dev/null
+++ b/Cargo.lock
-@@ -0,0 +1,1475 @@
+@@ -0,0 +1,1608 @@
++# This file is automatically @generated by Cargo.
++# It is not intended for manual editing.
+[[package]]
+name = "aho-corasick"
+version = "0.7.3"
@@ -33,27 +35,26 @@ index 0000000..f702de1
+version = "0.2.11"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "autocfg"
-+version = "0.1.2"
++version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "backtrace"
-+version = "0.3.15"
++version = "0.3.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
+ "backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "rustc-demangle 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -61,35 +62,35 @@ index 0000000..f702de1
+version = "0.1.28"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "bindgen"
-+version = "0.49.0"
++version = "0.49.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cexpr 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "clang-sys 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "env_logger 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fxhash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "which 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "bitflags"
-+version = "1.0.4"
++version = "1.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -110,7 +111,7 @@ index 0000000..f702de1
+version = "0.9.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -120,7 +121,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "cc"
-+version = "1.0.35"
++version = "1.0.37"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -133,7 +134,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "cfg-if"
-+version = "0.1.7"
++version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -141,8 +142,8 @@ index 0000000..f702de1
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+ "time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -152,8 +153,8 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libloading 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libloading 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -163,7 +164,7 @@ index 0000000..f702de1
+dependencies = [
+ "ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -175,15 +176,15 @@ index 0000000..f702de1
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "cmake"
-+version = "0.1.38"
++version = "0.1.40"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -274,7 +275,7 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
+ "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -287,7 +288,7 @@ index 0000000..f702de1
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -296,9 +297,9 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "strsim 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
++ "strsim 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -306,13 +307,13 @@ index 0000000..f702de1
+version = "0.3.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -338,8 +339,8 @@ index 0000000..f702de1
+ "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -350,8 +351,8 @@ index 0000000..f702de1
+ "atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -360,7 +361,7 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "errno-dragonfly 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -370,7 +371,7 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "gcc 0.3.55 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -385,8 +386,8 @@ index 0000000..f702de1
+ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "string-interner 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "structopt 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "structopt-derive 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",
++ "structopt 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
++ "structopt-derive 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
+ "target-lexicon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -395,7 +396,7 @@ index 0000000..f702de1
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "backtrace 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)",
++ "backtrace 0.3.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -404,10 +405,10 @@ index 0000000..f702de1
+version = "0.1.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
++ "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -430,6 +431,14 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
++name = "fxhash"
++version = "0.2.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "gcc"
+version = "0.3.55"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -480,7 +489,7 @@ index 0000000..f702de1
+version = "0.3.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "unicode-segmentation 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -498,14 +507,6 @@ index 0000000..f702de1
+
+[[package]]
+name = "itertools"
-+version = "0.7.11"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "either 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
-+name = "itertools"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
@@ -514,7 +515,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "itoa"
-+version = "0.4.3"
++version = "0.4.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -524,15 +525,15 @@ index 0000000..f702de1
+
+[[package]]
+name = "libc"
-+version = "0.2.51"
++version = "0.2.58"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
+name = "libloading"
-+version = "0.5.0"
++version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -563,7 +564,7 @@ index 0000000..f702de1
+version = "0.4.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -571,15 +572,7 @@ index 0000000..f702de1
+version = "0.2.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
-+name = "matrixmultiply"
-+version = "0.1.15"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "rawpointer 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -592,7 +585,7 @@ index 0000000..f702de1
+version = "0.6.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -615,14 +608,15 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
-+name = "ndarray"
-+version = "0.12.1"
++name = "nix"
++version = "0.13.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "itertools 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "matrixmultiply 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-complex 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -640,35 +634,36 @@ index 0000000..f702de1
+]
+
+[[package]]
-+name = "num-complex"
-+version = "0.2.1"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
-+
-+[[package]]
+name = "num-integer"
-+version = "0.1.39"
++version = "0.1.41"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "num-traits"
-+version = "0.2.6"
++version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++]
+
+[[package]]
+name = "num_cpus"
+version = "1.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
++name = "numtoa"
++version = "0.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
+name = "owning_ref"
+version = "0.3.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -698,7 +693,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "proc-macro2"
-+version = "0.4.27"
++version = "0.4.30"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -725,7 +720,7 @@ index 0000000..f702de1
+version = "0.6.12"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -735,12 +730,39 @@ index 0000000..f702de1
+dependencies = [
+ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
++name = "rand"
++version = "0.6.5"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_chacha"
++version = "0.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "rand_core"
+version = "0.2.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -762,21 +784,72 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
++name = "rand_hc"
++version = "0.1.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_isaac"
++version = "0.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_jitter"
++version = "0.1.4"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_os"
++version = "0.1.3"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
++ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_pcg"
++version = "0.1.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "rand_xorshift"
++version = "0.1.1"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "raw-cpuid"
+version = "6.1.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
+ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
-+name = "rawpointer"
-+version = "0.1.0"
-+source = "registry+https://github.com/rust-lang/crates.io-index"
-+
-+[[package]]
+name = "rayon"
+version = "1.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -793,11 +866,19 @@ index 0000000..f702de1
+dependencies = [
+ "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
++name = "rdrand"
++version = "0.4.0"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++dependencies = [
++ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "redox_syscall"
+version = "0.1.54"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -812,7 +893,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "regex"
-+version = "1.1.5"
++version = "1.1.6"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -835,15 +916,15 @@ index 0000000..f702de1
+version = "2.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "rustc-demangle"
-+version = "0.1.14"
++version = "0.1.15"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -856,7 +937,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "ryu"
-+version = "0.2.7"
++version = "0.2.8"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -878,9 +959,9 @@ index 0000000..f702de1
+version = "0.9.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -898,20 +979,20 @@ index 0000000..f702de1
+
+[[package]]
+name = "serde"
-+version = "1.0.90"
++version = "1.0.92"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "serde_derive"
-+version = "1.0.90"
++version = "1.0.92"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -919,9 +1000,9 @@ index 0000000..f702de1
+version = "1.0.39"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
++ "itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "ryu 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -944,7 +1025,7 @@ index 0000000..f702de1
+version = "0.6.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -954,51 +1035,47 @@ index 0000000..f702de1
+
+[[package]]
+name = "strsim"
-+version = "0.9.1"
++version = "0.9.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
-+dependencies = [
-+ "hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "ndarray 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+]
+
+[[package]]
+name = "structopt"
-+version = "0.2.15"
++version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "structopt-derive 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)",
++ "structopt-derive 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "structopt-derive"
-+version = "0.2.15"
++version = "0.2.17"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "syn"
-+version = "0.15.31"
++version = "0.15.34"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
+name = "synstructure"
-+version = "0.10.1"
++version = "0.10.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
++ "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
+ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
+ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
@@ -1019,7 +1096,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "termcolor"
-+version = "1.0.4"
++version = "1.0.5"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "wincolor 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1027,10 +1104,11 @@ index 0000000..f702de1
+
+[[package]]
+name = "termion"
-+version = "1.5.1"
++version = "1.5.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1056,7 +1134,7 @@ index 0000000..f702de1
+version = "0.1.42"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1081,7 +1159,7 @@ index 0000000..f702de1
+
+[[package]]
+name = "unicode-segmentation"
-+version = "1.2.1"
++version = "1.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
@@ -1118,12 +1196,17 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+
+[[package]]
++name = "void"
++version = "1.0.2"
++source = "registry+https://github.com/rust-lang/crates.io-index"
++
++[[package]]
+name = "wabt"
+version = "0.7.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
+ "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wabt-sys 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)",
+]
@@ -1133,12 +1216,35 @@ index 0000000..f702de1
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
-+ "cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cmake 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cmake 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
+ "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
++name = "wasi-common"
++version = "0.1.0"
++source = "git+https://github.com/CraneStation/wasi-common#9a66400cd8cb31badaf4e43d0e27afd76639b3ac"
++dependencies = [
++ "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
++ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "nix 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi-common-cbindgen 0.1.0 (git+https://github.com/CraneStation/wasi-common)",
++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
++name = "wasi-common-cbindgen"
++version = "0.1.0"
++source = "git+https://github.com/CraneStation/wasi-common#9a66400cd8cb31badaf4e43d0e27afd76639b3ac"
++dependencies = [
++ "quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)",
++ "syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "wasmparser"
+version = "0.29.2"
+source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1147,6 +1253,33 @@ index 0000000..f702de1
+]
+
+[[package]]
++name = "wasmtime"
++version = "0.1.0"
++dependencies = [
++ "cranelift-codegen 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-native 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "faerie 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
++ "file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
++ "pretty_env_logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
++ "serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wabt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasmtime-debug 0.1.0",
++ "wasmtime-environ 0.1.0",
++ "wasmtime-jit 0.1.0",
++ "wasmtime-obj 0.1.0",
++ "wasmtime-runtime 0.1.0",
++ "wasmtime-wasi 0.0.0",
++ "wasmtime-wasi-c 0.0.0",
++ "wasmtime-wast 0.1.0",
++ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
++]
++
++[[package]]
+name = "wasmtime-debug"
+version = "0.1.0"
+dependencies = [
@@ -1211,9 +1344,9 @@ index 0000000..f702de1
+name = "wasmtime-runtime"
+version = "0.1.0"
+dependencies = [
-+ "bindgen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "bindgen 0.49.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cmake 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cmake 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cranelift-codegen 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cranelift-entity 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cranelift-wasm 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1222,50 +1355,40 @@ index 0000000..f702de1
+ "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
+ "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
+ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "memoffset 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
++ "regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "region 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.1.0",
+ "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
-+name = "wasmtime-tools"
-+version = "0.1.0"
-+dependencies = [
-+ "cranelift-codegen 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cranelift-native 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "docopt 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "errno 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "faerie 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "pretty_env_logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "target-lexicon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wabt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "wasmtime-debug 0.1.0",
-+ "wasmtime-environ 0.1.0",
-+ "wasmtime-jit 0.1.0",
-+ "wasmtime-obj 0.1.0",
-+ "wasmtime-runtime 0.1.0",
-+ "wasmtime-wasi 0.0.0",
-+ "wasmtime-wast 0.1.0",
-+]
-+
-+[[package]]
+name = "wasmtime-wasi"
+version = "0.0.0"
+dependencies = [
-+ "bindgen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "cmake 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cranelift-codegen 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cranelift-entity 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "cranelift-wasm 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
++ "target-lexicon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "wasi-common 0.1.0 (git+https://github.com/CraneStation/wasi-common)",
++ "wasmtime-environ 0.1.0",
++ "wasmtime-jit 0.1.0",
++ "wasmtime-runtime 0.1.0",
++]
++
++[[package]]
++name = "wasmtime-wasi-c"
++version = "0.0.0"
++dependencies = [
++ "bindgen 0.49.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cmake 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-codegen 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-entity 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "cranelift-wasm 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
+ "target-lexicon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
+ "wasmtime-environ 0.1.0",
@@ -1296,7 +1419,7 @@ index 0000000..f702de1
+source = "registry+https://github.com/rust-lang/crates.io-index"
+dependencies = [
+ "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
-+ "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)",
++ "libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)",
+]
+
+[[package]]
@@ -1340,23 +1463,23 @@ index 0000000..f702de1
+"checksum ansi_term 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
+"checksum arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "92c7fb76bc8826a8b33b4ee5bb07a247a81e76764ab4d55e8f73e3a4d8808c71"
+"checksum atty 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652"
-+"checksum autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799"
-+"checksum backtrace 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "f106c02a3604afcdc0df5d36cc47b44b55917dbaf3d808f71c163a0ddba64637"
++"checksum autocfg 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "0e49efa51329a5fd37e7c79db4621af617cd4e3e5bc224939808d076077077bf"
++"checksum backtrace 0.3.30 (registry+https://github.com/rust-lang/crates.io-index)" = "ada4c783bb7e7443c14e0480f429ae2cc99da95065aeab7ee1b81ada0419404f"
+"checksum backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)" = "797c830ac25ccc92a7f8a7b9862bde440715531514594a6154e3d4a54dd769b6"
-+"checksum bindgen 0.49.0 (registry+https://github.com/rust-lang/crates.io-index)" = "33e1b67a27bca31fd12a683b2a3618e275311117f48cfcc892e18403ff889026"
-+"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12"
++"checksum bindgen 0.49.2 (registry+https://github.com/rust-lang/crates.io-index)" = "846a1fba6535362a01487ef6b10f0275faa12e5c5d835c5c1c627aabc46ccbd6"
++"checksum bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d155346769a6855b86399e9bc3814ab343cd3d62c7e985113d46a0ec3c281fd"
+"checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb"
+"checksum capstone 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "00be9d203fa0e078b93b24603633fb081851dfe0c1086364431f52587a47157e"
+"checksum capstone-sys 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2dc8d32bc5c1e6d0fcde10af411c98b07d93498d51654f678757f08fa2acd6a6"
+"checksum cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "926013f2860c46252efceabb19f4a6b308197505082c609025aa6706c011d427"
-+"checksum cc 1.0.35 (registry+https://github.com/rust-lang/crates.io-index)" = "5e5f3fee5eeb60324c2781f1e41286bdee933850fff9b3c672587fed5ec58c83"
++"checksum cc 1.0.37 (registry+https://github.com/rust-lang/crates.io-index)" = "39f75544d7bbaf57560d2168f28fd649ff9c76153874db88bdbdfd839b1a7e7d"
+"checksum cexpr 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "a7fa24eb00d5ffab90eaeaf1092ac85c04c64aaf358ea6f84505b8116d24c6af"
-+"checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4"
++"checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33"
+"checksum chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878"
+"checksum clang-sys 0.28.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4227269cec09f5f83ff160be12a1e9b0262dd1aa305302d5ba296c2ebd291055"
+"checksum clap 2.33.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
+"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
-+"checksum cmake 0.1.38 (registry+https://github.com/rust-lang/crates.io-index)" = "96210eec534fc3fbfc0452a63769424eaa80205fda6cea98e5b61cb3d97bcec8"
++"checksum cmake 0.1.40 (registry+https://github.com/rust-lang/crates.io-index)" = "2ca4386c8954b76a8415b63959337d940d724b336cabd3afe189c2b51a7e1ff0"
+"checksum cranelift-bforest 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e5a357d20666bf4a8c2d626a19f1b59dbca66cd844fb1e66c5612254fd0f7505"
+"checksum cranelift-codegen 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ab00cb149a5bb0f7e6dd391357356a5d71c335a431e8eece94f32da2d5a043f7"
+"checksum cranelift-codegen-meta 0.30.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e3797a2f450ac71297e083dd440d0cdd0d3bceabe4a3ca6bcb9e4077e9c0327d"
@@ -1381,6 +1504,7 @@ index 0000000..f702de1
+"checksum fallible-iterator 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "eb7217124812dc5672b7476d0c2d20cfe9f7c0f1ba0904b674a9762a0212f72e"
+"checksum file-per-thread-logger 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8505b75b31ef7285168dd237c4a7db3c1f3e0927e7d314e670bc98e854272fe9"
+"checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
++"checksum fxhash 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
+"checksum gcc 0.3.55 (registry+https://github.com/rust-lang/crates.io-index)" = "8f5f3913fa0bfe7ee1fd8248b6b9f42a5af4b9d65ec2dd2c3c26132b950ecfc2"
+"checksum gimli 0.17.0 (registry+https://github.com/rust-lang/crates.io-index)" = "eb3243218ca3773e9aa00d27602f35bd1daca3be1b7112ea5fc23b2899f1a4f3"
+"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
@@ -1390,88 +1514,97 @@ index 0000000..f702de1
+"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
+"checksum humantime 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ca7e5f2e110db35f93b837c81797f3714500b81d517bf20c431b16d3ca4f114"
+"checksum indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7e81a7c05f79578dbc15793d8b619db9ba32b4577003ef3af1a91c416798c58d"
-+"checksum itertools 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)" = "0d47946d458e94a1b7bcabbf6521ea7c037062c81f534615abcad76e84d4970d"
+"checksum itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358"
-+"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
++"checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
+"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14"
-+"checksum libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)" = "bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917"
-+"checksum libloading 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9c3ad660d7cb8c5822cd83d10897b0f1f1526792737a179e73896152f85b88c2"
++"checksum libc 0.2.58 (registry+https://github.com/rust-lang/crates.io-index)" = "6281b86796ba5e4366000be6e9e18bf35580adf9e63fbe2294aadb587613a319"
++"checksum libloading 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a5692f82b51823e27c4118b3e5c0d98aee9be90633ebc71ad12afef380b50219"
+"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
+"checksum mach 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "86dd2487cdfea56def77b88438a2c915fb45113c5319bfe7e14306ca4cd0b0e1"
-+"checksum matrixmultiply 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "dcad67dcec2d58ff56f6292582377e6921afdf3bfbd533e26fb8900ae575e002"
+"checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39"
+"checksum memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e2ffa2c986de11a9df78620c01eeaaf27d94d3ff02bf81bfcca953102dd0c6ff"
+"checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3"
+"checksum memoffset 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7efacc914ca612fc1022f27b7dc51585e1a9f94c08fd5d322cfd741399260ce0"
+"checksum multi_mut 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "816df386e5557ac1843a96f1ba8a7cbf4ab175d05ccc15c87a3cda27b4fbdece"
-+"checksum ndarray 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7cf380a8af901ad627594013a3bbac903ae0a6f94e176e47e46b5bbc1877b928"
++"checksum nix 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "46f0f3210768d796e8fa79ec70ee6af172dacbe7147f5e69be5240a47778302b"
+"checksum nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945"
+"checksum nom 4.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2ad2a91a8e869eeb30b9cb3119ae87773a8f4ae617f41b1eb9c154b2905f7bd6"
-+"checksum num-complex 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "107b9be86cd2481930688277b675b0114578227f034674726605b8a482d8baf8"
-+"checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea"
-+"checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
++"checksum num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "b85e541ef8255f6cf42bbfe4ef361305c6c135d10919ecc26126c4e5ae94bc09"
++"checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32"
+"checksum num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a23f0ed30a54abaa0c7e83b1d2d87ada7c3c23078d1d87815af3e3b6385fbba"
++"checksum numtoa 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b8f8bdf33df195859076e54ab11ee78a1b208382d3a26ec40d142ffc1ecc49ef"
+"checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37"
+"checksum peeking_take_while 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
+"checksum plain 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
+"checksum pretty_env_logger 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "df8b3f4e0475def7d9c2e5de8e5a1306949849761e107b360d03e98eafaffd61"
-+"checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915"
++"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
+"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
+"checksum quickcheck 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "d4537d3e4edf73a15dd059b75bed1c292d17d3ea7517f583cebe716794fcf816"
+"checksum quote 0.6.12 (registry+https://github.com/rust-lang/crates.io-index)" = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
+"checksum rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9"
++"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
++"checksum rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "556d3a1ca6600bfcbab7c7c91ccb085ac7fbbcd70e008a98742e7847f4f7bcef"
+"checksum rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1961a422c4d189dfb50ffa9320bf1f2a9bd54ecb92792fb9477f99a1045f3372"
+"checksum rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6fdeb83b075e8266dcc8762c22776f6877a63111121f5f8c7411e5be7eed4b"
+"checksum rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0"
++"checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
++"checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
++"checksum rand_jitter 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "1166d5c91dc97b88d1decc3285bb0a99ed84b05cfd0bc2341bdf2d43fc41e39b"
++"checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
++"checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
++"checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
+"checksum raw-cpuid 6.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "30a9d219c32c9132f7be513c18be77c9881c7107d2ab5569d205a6a0f0e6dc7d"
-+"checksum rawpointer 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ebac11a9d2e11f2af219b8b8d833b76b1ea0e054aa0e8d8e9e4cbde353bdf019"
+"checksum rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "373814f27745b2686b350dd261bfd24576a6fb0e2c5919b3a2b6005f820b0473"
+"checksum rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b055d1e92aba6877574d8fe604a63c8b5df60f60e5982bf7ccbb1338ea527356"
++"checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
+"checksum redox_syscall 0.1.54 (registry+https://github.com/rust-lang/crates.io-index)" = "12229c14a0f65c4f1cb046a3b52047cdd9da1f4b30f8a39c5063c8bae515e252"
+"checksum redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
-+"checksum regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "559008764a17de49a3146b234641644ed37d118d1ef641a0bb573d146edc6ce0"
++"checksum regex 1.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "8f0a0bcab2fd7d1d7c54fa9eae6f43eddeb9ce2e7352f8518a814a4f65d60c58"
+"checksum regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "dcfd8681eebe297b81d98498869d4aae052137651ad7b96822f09ceb690d0a96"
+"checksum region 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ace21a7fc79cffefeb66f2cc3ef22c7687015023bf7f85bec8840f0d46cb51cc"
-+"checksum rustc-demangle 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)" = "ccc78bfd5acd7bf3e89cffcf899e5cb1a52d6fafa8dec2739ad70c9577a57288"
++"checksum rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "a7f4dccf6f4891ebcc0c39f9b6eb1a83b9bf5d747cb439ec6fba4f3b977038af"
+"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
-+"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7"
++"checksum ryu 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "b96a9549dc8d48f2c283938303c4b5a77aa29bfbc5b54b084fb1630408899a8f"
+"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
+"checksum scroll 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2f84d114ef17fd144153d608fba7c446b0145d038985e7a8cc5d08bb0ce20383"
+"checksum scroll_derive 0.9.5 (registry+https://github.com/rust-lang/crates.io-index)" = "8f1aa96c45e7f5a91cb7fabe7b279f02fea7126239fc40b732316e8b6a2d0fcb"
+"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
+"checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
-+"checksum serde 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "aa5f7c20820475babd2c077c3ab5f8c77a31c15e16ea38687b4c02d3e48680f4"
-+"checksum serde_derive 1.0.90 (registry+https://github.com/rust-lang/crates.io-index)" = "58fc82bec244f168b23d1963b45c8bf5726e9a15a9d146a067f9081aeed2de79"
++"checksum serde 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)" = "32746bf0f26eab52f06af0d0aa1984f641341d06d8d673c693871da2d188c9be"
++"checksum serde_derive 1.0.92 (registry+https://github.com/rust-lang/crates.io-index)" = "46a3223d0c9ba936b61c0d2e3e559e3217dbfb8d65d06d26e8b3c25de38bae3e"
+"checksum serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)" = "5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d"
+"checksum shlex 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
+"checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be"
+"checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8"
+"checksum string-interner 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "abb38a0d8fe673c40b10b6b75abcb076a958cc10fb894f14993d9737c4c87000"
+"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
-+"checksum strsim 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "34ac666ab1423aa93bbd4cd47b6e62db5a846df4e28b959d823776eed5b57643"
-+"checksum structopt 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)" = "3d0760c312538987d363c36c42339b55f5ee176ea8808bbe4543d484a291c8d1"
-+"checksum structopt-derive 0.2.15 (registry+https://github.com/rust-lang/crates.io-index)" = "528aeb7351d042e6ffbc2a6fb76a86f9b622fdf7c25932798e7a82cb03bc94c6"
-+"checksum syn 0.15.31 (registry+https://github.com/rust-lang/crates.io-index)" = "d2b4cfac95805274c6afdb12d8f770fa2d27c045953e7b630a81801953699a9a"
-+"checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015"
++"checksum strsim 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "032c03039aae92b350aad2e3779c352e104d919cb192ba2fabbd7b831ce4f0f6"
++"checksum structopt 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)" = "c767a8971f53d7324583085deee2e230903be09e52fb27df9af94c5cb2b43c31"
++"checksum structopt-derive 0.2.17 (registry+https://github.com/rust-lang/crates.io-index)" = "c57a30c87454ced2186f62f940e981746e8cbbe026d52090c8c4352b636f8235"
++"checksum syn 0.15.34 (registry+https://github.com/rust-lang/crates.io-index)" = "a1393e4a97a19c01e900df2aec855a29f71cf02c402e2f443b8d2747c25c5dbe"
++"checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f"
+"checksum take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
+"checksum target-lexicon 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d6923974ce4eb5bd28814756256d8ab71c28dd6e7483313fe7ab6614306bf633"
-+"checksum termcolor 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "4096add70612622289f2fdcdbd5086dc81c1e2675e6ae58d6c4f62a16c6d7f2f"
-+"checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096"
++"checksum termcolor 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "96d6098003bde162e4277c70665bd87c326f5a0c3f3fbfb285787fa482d54e6e"
++"checksum termion 1.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dde0593aeb8d47accea5392b39350015b5eccb12c0d98044d856983d89548dea"
+"checksum textwrap 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
+"checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
+"checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f"
+"checksum traitobject 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "efd1f82c56340fdf16f2a953d7bda4f8fdffba13d93b00844c25572110b26079"
+"checksum typemap 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "653be63c80a3296da5551e1bfd2cca35227e13cdd08c6668903ae2f4f77aa1f6"
+"checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86"
-+"checksum unicode-segmentation 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "aa6024fc12ddfd1c6dbc14a80fa2324d4568849869b779f6bd37e5e4c03344d1"
++"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9"
+"checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526"
+"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
+"checksum unsafe-any 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f30360d7979f5e9c6e6cea48af192ea8fab4afb3cf72597154b8f08935bc9c7f"
+"checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737"
+"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
+"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
++"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d"
+"checksum wabt 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "74e463a508e390cc7447e70f640fbf44ad52e1bd095314ace1fdf99516d32add"
+"checksum wabt-sys 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "a6265b25719e82598d104b3717375e37661d41753e2c84cde3f51050c7ed7e3c"
++"checksum wasi-common 0.1.0 (git+https://github.com/CraneStation/wasi-common)" = ""
++"checksum wasi-common-cbindgen 0.1.0 (git+https://github.com/CraneStation/wasi-common)" = ""
+"checksum wasmparser 0.29.2 (registry+https://github.com/rust-lang/crates.io-index)" = "981a8797cf89762e0233ec45fae731cb79a4dfaee12d9f0fe6cee01e4ac58d00"
+"checksum which 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b57acb10231b9493c8472b20cb57317d0679a49e0bdbee44b3b803a6473af164"
+"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770"
diff --git a/pkgs/development/interpreters/wasmtime/default.nix b/pkgs/development/interpreters/wasmtime/default.nix
index 33d00afd9e7..b53b3ed9dbf 100644
--- a/pkgs/development/interpreters/wasmtime/default.nix
+++ b/pkgs/development/interpreters/wasmtime/default.nix
@@ -1,18 +1,18 @@
{ rustPlatform, fetchFromGitHub, lib, python, cmake, llvmPackages, clang }:
-rustPlatform.buildRustPackage rec {
- name = "wasmtime-${version}";
- version = "0.1.0";
+rustPlatform.buildRustPackage {
+ pname = "wasmtime";
+ version = "20190521";
src = fetchFromGitHub {
owner = "CraneStation";
repo = "wasmtime";
- rev = "07a6ca8f4e1136ecd9f4af8d1f03a01aade60407";
- sha256 = "1cq6nz90kaf023mcyblca90bpvbzhq8xjq01laa28v7r50lagcn5";
+ rev = "e530a582afe6a2b5735fd7cdf5e2e88391e58669";
+ sha256 = "13lqf9dp1cnw7ms7hcgirmlfkr0v7nrn3p5g7yacfasrqgnwsyl8";
fetchSubmodules = true;
};
- cargoSha256 = "0xy8vazb4nc4q1098ws92j1yfwp9w7q30z0yk2gindkn898603bc";
+ cargoSha256 = "1jbpq09czm295316gdv3y0pfapqs0ynj3qbarwlnrv7valq5ak13";
cargoPatches = [ ./cargo-lock.patch ];
diff --git a/pkgs/development/java-modules/apache/ant-launcher.nix b/pkgs/development/java-modules/apache/ant-launcher.nix
index e6a2b0cae99..e5f4d5f6ee0 100644
--- a/pkgs/development/java-modules/apache/ant-launcher.nix
+++ b/pkgs/development/java-modules/apache/ant-launcher.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
antLauncher_1_8_2 = map (obj: fetchMaven {
version = "1.8.2";
artifactId = "ant-launcher";
diff --git a/pkgs/development/java-modules/apache/ant.nix b/pkgs/development/java-modules/apache/ant.nix
index b4a6aa68f44..5de82b1703b 100644
--- a/pkgs/development/java-modules/apache/ant.nix
+++ b/pkgs/development/java-modules/apache/ant.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
ant_1_8_2 = map (obj: fetchMaven {
version = "1.8.2";
artifactId = "ant";
diff --git a/pkgs/development/java-modules/apache/commons-cli.nix b/pkgs/development/java-modules/apache/commons-cli.nix
index 050d511b0a1..5cb25a0f379 100644
--- a/pkgs/development/java-modules/apache/commons-cli.nix
+++ b/pkgs/development/java-modules/apache/commons-cli.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
commonsCli_1_0 = map (obj: fetchMaven {
version = "1.0";
artifactId = "commons-cli";
diff --git a/pkgs/development/java-modules/apache/commons-io.nix b/pkgs/development/java-modules/apache/commons-io.nix
index 70ce940ccf1..28bb9d381f9 100644
--- a/pkgs/development/java-modules/apache/commons-io.nix
+++ b/pkgs/development/java-modules/apache/commons-io.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
commonsIo_2_1 = map (obj: fetchMaven {
version = "2.1";
artifactId = "commons-io";
diff --git a/pkgs/development/java-modules/apache/commons-lang.nix b/pkgs/development/java-modules/apache/commons-lang.nix
index a2d71e9db0c..501da6d204d 100644
--- a/pkgs/development/java-modules/apache/commons-lang.nix
+++ b/pkgs/development/java-modules/apache/commons-lang.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
commonsLang_2_1 = map (obj: fetchMaven {
version = "2.1";
artifactId = "commons-lang";
diff --git a/pkgs/development/java-modules/apache/commons-lang3.nix b/pkgs/development/java-modules/apache/commons-lang3.nix
index 63f68b92543..3bbbe9d2e39 100644
--- a/pkgs/development/java-modules/apache/commons-lang3.nix
+++ b/pkgs/development/java-modules/apache/commons-lang3.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
commonsLang3_3_1 = map (obj: fetchMaven {
version = "3.1";
artifactId = "commons-lang3";
diff --git a/pkgs/development/java-modules/apache/commons-logging-api.nix b/pkgs/development/java-modules/apache/commons-logging-api.nix
index 47750abe462..befb2003d01 100644
--- a/pkgs/development/java-modules/apache/commons-logging-api.nix
+++ b/pkgs/development/java-modules/apache/commons-logging-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
commonsLoggingApi_1_1 = map (obj: fetchMaven {
version = "1.1";
artifactId = "commons-logging-api";
diff --git a/pkgs/development/java-modules/apache/xbean-reflect.nix b/pkgs/development/java-modules/apache/xbean-reflect.nix
index f0614ec99e3..8f7c35b716f 100644
--- a/pkgs/development/java-modules/apache/xbean-reflect.nix
+++ b/pkgs/development/java-modules/apache/xbean-reflect.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
xbeanReflect_3_4 = map (obj: fetchMaven {
version = "3.4";
artifactId = "xbean-reflect";
diff --git a/pkgs/development/java-modules/beanshell/bsh.nix b/pkgs/development/java-modules/beanshell/bsh.nix
index 41756bb80d5..783fdc8679c 100644
--- a/pkgs/development/java-modules/beanshell/bsh.nix
+++ b/pkgs/development/java-modules/beanshell/bsh.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
bsh_2_0_b4 = map (obj: fetchMaven {
version = "2.0b4";
artifactId = "bsh";
diff --git a/pkgs/development/java-modules/build-maven-package.nix b/pkgs/development/java-modules/build-maven-package.nix
index 499b2c65b77..a7196c6e031 100644
--- a/pkgs/development/java-modules/build-maven-package.nix
+++ b/pkgs/development/java-modules/build-maven-package.nix
@@ -5,7 +5,7 @@ with builtins;
with stdenv.lib;
let
- mavenMinimal = import ./maven-minimal.nix { inherit pkgs stdenv maven; };
+ mavenMinimal = import ./maven-minimal.nix { inherit pkgs stdenv; };
in stdenv.mkDerivation rec {
inherit mavenDeps src name meta m2Path;
diff --git a/pkgs/development/java-modules/classworlds/classworlds.nix b/pkgs/development/java-modules/classworlds/classworlds.nix
index f8bbc07f102..3561c0b6e5e 100644
--- a/pkgs/development/java-modules/classworlds/classworlds.nix
+++ b/pkgs/development/java-modules/classworlds/classworlds.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
classworlds_1_1_alpha2 = map (obj: fetchMaven {
version = "1.1-alpha-2";
artifactId = "classworlds";
diff --git a/pkgs/development/java-modules/collections.nix b/pkgs/development/java-modules/collections.nix
index 39b274b5030..83f7a95af81 100644
--- a/pkgs/development/java-modules/collections.nix
+++ b/pkgs/development/java-modules/collections.nix
@@ -2,7 +2,7 @@
with pkgs.javaPackages;
-rec {
+{
mavenLibs_2_0_1 = [
mavenArtifact_2_0_1
mavenArtifactManager_2_0_1
diff --git a/pkgs/development/java-modules/eclipse/aether-util.nix b/pkgs/development/java-modules/eclipse/aether-util.nix
index 60aac560b9b..6ebca58c44e 100644
--- a/pkgs/development/java-modules/eclipse/aether-util.nix
+++ b/pkgs/development/java-modules/eclipse/aether-util.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
aetherUtil_0_9_0_M2 = map (obj: fetchMaven {
version = "0.9.0.M2";
artifactId = "aether-util";
diff --git a/pkgs/development/java-modules/findbugs/jsr305.nix b/pkgs/development/java-modules/findbugs/jsr305.nix
index 2e842410aaf..7816ab49d61 100644
--- a/pkgs/development/java-modules/findbugs/jsr305.nix
+++ b/pkgs/development/java-modules/findbugs/jsr305.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
findbugsJsr305_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "jsr305";
diff --git a/pkgs/development/java-modules/google/collections.nix b/pkgs/development/java-modules/google/collections.nix
index ec874c73e36..b5b4551dd97 100644
--- a/pkgs/development/java-modules/google/collections.nix
+++ b/pkgs/development/java-modules/google/collections.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
googleCollections_1_0 = map (obj: fetchMaven {
version = "1.0";
artifactId = "google-collections";
diff --git a/pkgs/development/java-modules/hamcrest/all.nix b/pkgs/development/java-modules/hamcrest/all.nix
index bab9e1b115d..73c27c4af8b 100644
--- a/pkgs/development/java-modules/hamcrest/all.nix
+++ b/pkgs/development/java-modules/hamcrest/all.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
hamcrestAll_1_3 = map (obj: fetchMaven {
version = "1.3";
artifactId = "hamcrest-all";
diff --git a/pkgs/development/java-modules/hamcrest/core.nix b/pkgs/development/java-modules/hamcrest/core.nix
index 3842b8c5afa..4145191fdd9 100644
--- a/pkgs/development/java-modules/hamcrest/core.nix
+++ b/pkgs/development/java-modules/hamcrest/core.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
hamcrestCore_1_3 = map (obj: fetchMaven {
version = "1.3";
artifactId = "hamcrest-core";
diff --git a/pkgs/development/java-modules/jogl/default.nix b/pkgs/development/java-modules/jogl/default.nix
index a3c3b2bf96f..d179fb53178 100644
--- a/pkgs/development/java-modules/jogl/default.nix
+++ b/pkgs/development/java-modules/jogl/default.nix
@@ -15,8 +15,9 @@ in
sha256 = "00hybisjwqs88p24dds652bzrwbbmhn2dpx56kp4j6xpadkp33d0";
fetchSubmodules = true;
};
- in stdenv.mkDerivation rec {
- name = "jogl-${version}";
+ in stdenv.mkDerivation {
+ pname = "jogl";
+ inherit version;
src = fetchgit {
url = git://jogamp.org/srv/scm/jogl.git;
@@ -58,7 +59,7 @@ in
meta = with stdenv.lib; {
description = "Java libraries for 3D Graphics, Multimedia and Processing";
- homepage = http://jogamp.org/;
+ homepage = https://jogamp.org/;
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
};
diff --git a/pkgs/development/java-modules/junit/default.nix b/pkgs/development/java-modules/junit/default.nix
index a7bfa545908..6f86cede512 100644
--- a/pkgs/development/java-modules/junit/default.nix
+++ b/pkgs/development/java-modules/junit/default.nix
@@ -6,7 +6,7 @@ let
poms = import (../poms.nix) { inherit fetchMaven; };
collections = import (../collections.nix) { inherit pkgs; };
in rec {
- junitGen = { mavenDeps, sha512, version }: mavenbuild rec {
+ junitGen = { mavenDeps, sha512, version }: mavenbuild {
inherit mavenDeps sha512 version;
name = "junit-${version}";
diff --git a/pkgs/development/java-modules/log4j/default.nix b/pkgs/development/java-modules/log4j/default.nix
index a8b1ea9f021..e95c0847aac 100644
--- a/pkgs/development/java-modules/log4j/default.nix
+++ b/pkgs/development/java-modules/log4j/default.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
log4j_1_2_12 = map (obj: fetchMaven {
version = "1.2.12";
artifactId = "log4j";
diff --git a/pkgs/development/java-modules/m2install.nix b/pkgs/development/java-modules/m2install.nix
index 7ebe655580e..3a289c9c9c4 100644
--- a/pkgs/development/java-modules/m2install.nix
+++ b/pkgs/development/java-modules/m2install.nix
@@ -5,11 +5,11 @@ let
name = "${artifactId}-${version}";
m2Path = "${builtins.replaceStrings ["."] ["/"] groupId}/${artifactId}/${version}";
m2File = "${name}${suffix}.${type}";
- src = fetchurl rec {
+ src = fetchurl {
inherit sha512;
url = "mirror://maven/${m2Path}/${m2File}";
};
-in stdenv.mkDerivation rec {
+in stdenv.mkDerivation {
inherit name m2Path m2File src;
installPhase = ''
diff --git a/pkgs/development/java-modules/maven-hello/default.nix b/pkgs/development/java-modules/maven-hello/default.nix
index f3d5fb3e934..b8e128ac728 100644
--- a/pkgs/development/java-modules/maven-hello/default.nix
+++ b/pkgs/development/java-modules/maven-hello/default.nix
@@ -5,7 +5,7 @@ with pkgs.javaPackages;
let
poms = import ../poms.nix { inherit fetchMaven; };
in rec {
- mavenHelloRec = { mavenDeps, sha512, version, skipTests ? true, quiet ? true }: mavenbuild rec {
+ mavenHelloRec = { mavenDeps, sha512, version, skipTests ? true, quiet ? true }: mavenbuild {
inherit mavenDeps sha512 version skipTests quiet;
name = "maven-hello-${version}";
diff --git a/pkgs/development/java-modules/maven-minimal.nix b/pkgs/development/java-modules/maven-minimal.nix
index ca7cc7027be..c1fab1e9bc9 100644
--- a/pkgs/development/java-modules/maven-minimal.nix
+++ b/pkgs/development/java-modules/maven-minimal.nix
@@ -1,4 +1,4 @@
-{ stdenv, pkgs, maven }:
+{ stdenv, pkgs }:
with stdenv.lib;
with pkgs.javaPackages;
@@ -8,7 +8,7 @@ let
fetchMaven = pkgs.callPackage ./m2install.nix { };
plugins = import ./mavenPlugins.nix { inherit pkgs; };
poms = import ./poms.nix { inherit fetchMaven; };
-in rec {
+in {
# Maven needs all of these to function
mavenMinimal = flatten
collections.mavenLibs_2_0_6
diff --git a/pkgs/development/java-modules/maven/archiver.nix b/pkgs/development/java-modules/maven/archiver.nix
index 14c5a99d42f..9965f86f72b 100644
--- a/pkgs/development/java-modules/maven/archiver.nix
+++ b/pkgs/development/java-modules/maven/archiver.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenArchiver_2_5 = map (obj: fetchMaven {
version = "2.5";
artifactId = "maven-archiver";
diff --git a/pkgs/development/java-modules/maven/artifact-manager.nix b/pkgs/development/java-modules/maven/artifact-manager.nix
index 0796d066510..5bf3ef01bc6 100644
--- a/pkgs/development/java-modules/maven/artifact-manager.nix
+++ b/pkgs/development/java-modules/maven/artifact-manager.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenArtifactManager_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-artifact-manager";
diff --git a/pkgs/development/java-modules/maven/artifact.nix b/pkgs/development/java-modules/maven/artifact.nix
index bb0e578d5d6..80e3392abd2 100644
--- a/pkgs/development/java-modules/maven/artifact.nix
+++ b/pkgs/development/java-modules/maven/artifact.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenArtifact_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-artifact";
diff --git a/pkgs/development/java-modules/maven/common-artifact-filters.nix b/pkgs/development/java-modules/maven/common-artifact-filters.nix
index 948dbc3baf6..8c388667991 100644
--- a/pkgs/development/java-modules/maven/common-artifact-filters.nix
+++ b/pkgs/development/java-modules/maven/common-artifact-filters.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenCommonArtifactFilters_1_2 = map (obj: fetchMaven {
version = "1.2";
artifactId = "maven-common-artifact-filters";
diff --git a/pkgs/development/java-modules/maven/core.nix b/pkgs/development/java-modules/maven/core.nix
index 5b45f89e9d5..a1ea9292a51 100644
--- a/pkgs/development/java-modules/maven/core.nix
+++ b/pkgs/development/java-modules/maven/core.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenCore_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-core";
diff --git a/pkgs/development/java-modules/maven/dependency-tree.nix b/pkgs/development/java-modules/maven/dependency-tree.nix
index 00d089ea249..aa3a93849c2 100644
--- a/pkgs/development/java-modules/maven/dependency-tree.nix
+++ b/pkgs/development/java-modules/maven/dependency-tree.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenDependencyTree_2_1 = map (obj: fetchMaven {
version = "2.1";
artifactId = "maven-dependency-tree";
diff --git a/pkgs/development/java-modules/maven/doxia-sink-api.nix b/pkgs/development/java-modules/maven/doxia-sink-api.nix
index 9fa1051cd80..8314abe4924 100644
--- a/pkgs/development/java-modules/maven/doxia-sink-api.nix
+++ b/pkgs/development/java-modules/maven/doxia-sink-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenDoxiaSinkApi_1_0_alpha6 = map (obj: fetchMaven {
version = "1.0-alpha-6";
artifactId = "doxia-sink-api";
diff --git a/pkgs/development/java-modules/maven/enforcer.nix b/pkgs/development/java-modules/maven/enforcer.nix
index 014f678bc14..c7a1d212e0e 100644
--- a/pkgs/development/java-modules/maven/enforcer.nix
+++ b/pkgs/development/java-modules/maven/enforcer.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenEnforcerApi_1_3_1 = map (obj: fetchMaven {
version = "1.3.1";
artifactId = "enforcer-api";
diff --git a/pkgs/development/java-modules/maven/error-diagnostics.nix b/pkgs/development/java-modules/maven/error-diagnostics.nix
index 80cbf993a60..f16f10462ff 100644
--- a/pkgs/development/java-modules/maven/error-diagnostics.nix
+++ b/pkgs/development/java-modules/maven/error-diagnostics.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenErrorDiagnostics_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-error-diagnostics";
diff --git a/pkgs/development/java-modules/maven/filtering.nix b/pkgs/development/java-modules/maven/filtering.nix
index 963d6c6b646..f1e2e551cee 100644
--- a/pkgs/development/java-modules/maven/filtering.nix
+++ b/pkgs/development/java-modules/maven/filtering.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenFiltering_1_1 = map (obj: fetchMaven {
version = "1.1";
artifactId = "maven-filtering";
diff --git a/pkgs/development/java-modules/maven/model.nix b/pkgs/development/java-modules/maven/model.nix
index 2ae3bfe6034..147b15b6e40 100644
--- a/pkgs/development/java-modules/maven/model.nix
+++ b/pkgs/development/java-modules/maven/model.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenModel_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-model";
diff --git a/pkgs/development/java-modules/maven/monitor.nix b/pkgs/development/java-modules/maven/monitor.nix
index ce6c7c17694..609745e9422 100644
--- a/pkgs/development/java-modules/maven/monitor.nix
+++ b/pkgs/development/java-modules/maven/monitor.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenMonitor_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-monitor";
diff --git a/pkgs/development/java-modules/maven/plugin-annotations.nix b/pkgs/development/java-modules/maven/plugin-annotations.nix
index f852cc957a5..bf8d608488e 100644
--- a/pkgs/development/java-modules/maven/plugin-annotations.nix
+++ b/pkgs/development/java-modules/maven/plugin-annotations.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenPluginAnnotations_3_1 = map (obj: fetchMaven {
version = "3.1";
artifactId = "maven-plugin-annotations";
diff --git a/pkgs/development/java-modules/maven/plugin-api.nix b/pkgs/development/java-modules/maven/plugin-api.nix
index be9642b0e20..55fb0d2c5dd 100644
--- a/pkgs/development/java-modules/maven/plugin-api.nix
+++ b/pkgs/development/java-modules/maven/plugin-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenPluginApi_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-plugin-api";
diff --git a/pkgs/development/java-modules/maven/plugin-descriptor.nix b/pkgs/development/java-modules/maven/plugin-descriptor.nix
index dbdc09a4673..7f5c22fe3b3 100644
--- a/pkgs/development/java-modules/maven/plugin-descriptor.nix
+++ b/pkgs/development/java-modules/maven/plugin-descriptor.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenPluginDescriptor_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-plugin-descriptor";
diff --git a/pkgs/development/java-modules/maven/plugin-parameter-documenter.nix b/pkgs/development/java-modules/maven/plugin-parameter-documenter.nix
index 9e11c0f4082..4ff07574dc9 100644
--- a/pkgs/development/java-modules/maven/plugin-parameter-documenter.nix
+++ b/pkgs/development/java-modules/maven/plugin-parameter-documenter.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenPluginParameterDocumenter_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-plugin-parameter-documenter";
diff --git a/pkgs/development/java-modules/maven/plugin-registry.nix b/pkgs/development/java-modules/maven/plugin-registry.nix
index f0074ef816e..a7bb92e645d 100644
--- a/pkgs/development/java-modules/maven/plugin-registry.nix
+++ b/pkgs/development/java-modules/maven/plugin-registry.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenPluginRegistry_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-plugin-registry";
diff --git a/pkgs/development/java-modules/maven/plugin-testing-harness.nix b/pkgs/development/java-modules/maven/plugin-testing-harness.nix
index a65f1962048..4cd32d508f3 100644
--- a/pkgs/development/java-modules/maven/plugin-testing-harness.nix
+++ b/pkgs/development/java-modules/maven/plugin-testing-harness.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenPluginTestingHarness_1_1 = map (obj: fetchMaven {
version = "1.1";
artifactId = "maven-plugin-testing-harness";
diff --git a/pkgs/development/java-modules/maven/profile.nix b/pkgs/development/java-modules/maven/profile.nix
index 6940fafae82..c40f87f1c45 100644
--- a/pkgs/development/java-modules/maven/profile.nix
+++ b/pkgs/development/java-modules/maven/profile.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenProfile_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-profile";
diff --git a/pkgs/development/java-modules/maven/project.nix b/pkgs/development/java-modules/maven/project.nix
index 0b07d8b8679..fad53a0250b 100644
--- a/pkgs/development/java-modules/maven/project.nix
+++ b/pkgs/development/java-modules/maven/project.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenProject_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-project";
diff --git a/pkgs/development/java-modules/maven/reporting-api.nix b/pkgs/development/java-modules/maven/reporting-api.nix
index 8a508cf1505..87999d452fc 100644
--- a/pkgs/development/java-modules/maven/reporting-api.nix
+++ b/pkgs/development/java-modules/maven/reporting-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenReportingApi_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-reporting-api";
diff --git a/pkgs/development/java-modules/maven/repository-metadata.nix b/pkgs/development/java-modules/maven/repository-metadata.nix
index 443a1acd451..0d8f55737b7 100644
--- a/pkgs/development/java-modules/maven/repository-metadata.nix
+++ b/pkgs/development/java-modules/maven/repository-metadata.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenRepositoryMetadata_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-repository-metadata";
diff --git a/pkgs/development/java-modules/maven/settings.nix b/pkgs/development/java-modules/maven/settings.nix
index 6b42082cfd8..09e0170945d 100644
--- a/pkgs/development/java-modules/maven/settings.nix
+++ b/pkgs/development/java-modules/maven/settings.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSettings_2_0_1 = map (obj: fetchMaven {
version = "2.0.1";
artifactId = "maven-settings";
diff --git a/pkgs/development/java-modules/maven/shared-incremental.nix b/pkgs/development/java-modules/maven/shared-incremental.nix
index 67c44986d0a..9fa74f8bfe7 100644
--- a/pkgs/development/java-modules/maven/shared-incremental.nix
+++ b/pkgs/development/java-modules/maven/shared-incremental.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSharedIncremental_1_1 = map (obj: fetchMaven {
version = "1.1";
artifactId = "maven-shared-incremental";
diff --git a/pkgs/development/java-modules/maven/shared-utils.nix b/pkgs/development/java-modules/maven/shared-utils.nix
index b3cfc928091..38addcfe8aa 100644
--- a/pkgs/development/java-modules/maven/shared-utils.nix
+++ b/pkgs/development/java-modules/maven/shared-utils.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSharedUtils_0_1 = map (obj: fetchMaven {
version = "0.1";
artifactId = "maven-shared-utils";
diff --git a/pkgs/development/java-modules/maven/surefire-api.nix b/pkgs/development/java-modules/maven/surefire-api.nix
index c1f7fcc3f76..9ad284365d9 100644
--- a/pkgs/development/java-modules/maven/surefire-api.nix
+++ b/pkgs/development/java-modules/maven/surefire-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSurefireApi_2_12_4 = map (obj: fetchMaven {
version = "2.12.4";
artifactId = "surefire-api";
diff --git a/pkgs/development/java-modules/maven/surefire-booter.nix b/pkgs/development/java-modules/maven/surefire-booter.nix
index b62aa86bf45..41f9848d5cd 100644
--- a/pkgs/development/java-modules/maven/surefire-booter.nix
+++ b/pkgs/development/java-modules/maven/surefire-booter.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSurefireBooter_2_12_4 = map (obj: fetchMaven {
version = "2.12.4";
artifactId = "surefire-booter";
diff --git a/pkgs/development/java-modules/maven/surefire-common.nix b/pkgs/development/java-modules/maven/surefire-common.nix
index bc0573f6b70..2f4617eff8c 100644
--- a/pkgs/development/java-modules/maven/surefire-common.nix
+++ b/pkgs/development/java-modules/maven/surefire-common.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSurefireCommon_2_12_4 = map (obj: fetchMaven {
version = "2.12.4";
artifactId = "maven-surefire-common";
diff --git a/pkgs/development/java-modules/maven/surefire-junit4.nix b/pkgs/development/java-modules/maven/surefire-junit4.nix
index 1374080d087..d67177d80d2 100644
--- a/pkgs/development/java-modules/maven/surefire-junit4.nix
+++ b/pkgs/development/java-modules/maven/surefire-junit4.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenSurefireJunit4_2_12_4 = map (obj: fetchMaven {
version = "2.12.4";
artifactId = "surefire-junit4";
diff --git a/pkgs/development/java-modules/maven/toolchain.nix b/pkgs/development/java-modules/maven/toolchain.nix
index 864d3b98f7b..91f8fdb77a4 100644
--- a/pkgs/development/java-modules/maven/toolchain.nix
+++ b/pkgs/development/java-modules/maven/toolchain.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mavenToolchain_1_0 = map (obj: fetchMaven {
version = "1.0";
artifactId = "maven-toolchain";
diff --git a/pkgs/development/java-modules/mavenPlugins.nix b/pkgs/development/java-modules/mavenPlugins.nix
index 8cc79dc1d22..e481f5d250a 100644
--- a/pkgs/development/java-modules/mavenPlugins.nix
+++ b/pkgs/development/java-modules/mavenPlugins.nix
@@ -5,7 +5,7 @@ with pkgs.javaPackages;
let
fetchMaven = pkgs.callPackage ./m2install.nix { };
-in rec {
+in {
inherit fetchMaven;
animalSniffer_1_11 = map (obj: fetchMaven {
@@ -19,7 +19,7 @@ in rec {
{ type = "jar"; sha512 = "24dih4wp7p1rddvxcznlz42yxhqlln5ljdbvwnp75rsyf3ng25zv881ixk5qx8canr1lxx4kh22kwkaahz3qnw54fqn7w5z58m5768n"; }
];
- mavenClean_2_5 = map (obj: fetchMaven rec {
+ mavenClean_2_5 = map (obj: fetchMaven {
version = "2.5";
artifactId = "maven-clean-plugin";
groupId = "org.apache.maven.plugins";
@@ -30,7 +30,7 @@ in rec {
{ type = "jar"; sha512 = "2fprppwpmzyvaynadm6slk382khlpf5s8sbi5x249qcaw2vkg5n77q79lgq981v9kjlr5wighjzpjqv8gdig45m2p37mcfwsy3jsv89"; }
];
- mavenCompiler_3_1 = map (obj: fetchMaven rec {
+ mavenCompiler_3_1 = map (obj: fetchMaven {
version = "3.1";
artifactId = "maven-compiler-plugin";
groupId = "org.apache.maven.plugins";
@@ -41,7 +41,7 @@ in rec {
{ type = "jar"; sha512 = "1dvq13yc8yacxr66pkvwwd4cvx0jln8dv9fh5gmd5vir05h8l5j4y324r1bklnzpx0ancs5ad8z944zgmpaq3w195kfsarmndp0gv2y"; }
];
- mavenEnforcer_1_3_1 = map (obj: fetchMaven rec {
+ mavenEnforcer_1_3_1 = map (obj: fetchMaven {
version = "1.3.1";
artifactId = "maven-enforcer-plugin";
groupId = "org.apache.maven.plugins";
@@ -52,7 +52,7 @@ in rec {
{ type = "jar"; sha512 = "15sb9qmxgbq82nzc9x66152va121vf33nn0ah2g4z169cv6jnjq05gk1472k59imypvwsh9hd3hqi9q6g8d0sawgk5l1ax900cx7n25"; }
];
- mavenInstall_2_4 = map (obj: fetchMaven rec {
+ mavenInstall_2_4 = map (obj: fetchMaven {
version = "2.4";
artifactId = "maven-install-plugin";
groupId = "org.apache.maven.plugins";
@@ -63,7 +63,7 @@ in rec {
{ type = "jar"; sha512 = "35hbj5hbz085y1dxfmza6m207kn68q2g1k5a9mc75i9pj8fww7xm7xzcdv81xyxjm3r4qbqf1izlg16l99b93rfii9rg8kqz8mxqmb6"; }
];
- mavenJar_2_4 = map (obj: fetchMaven rec {
+ mavenJar_2_4 = map (obj: fetchMaven {
version = "2.4";
artifactId = "maven-jar-plugin";
groupId = "org.apache.maven.plugins";
@@ -74,7 +74,7 @@ in rec {
{ type = "jar"; sha512 = "0frbikq8jm5pynlmv51k349kiaipd9jsrh6970313s0g6n4i0ws9vi232wc1mjrc3d27k63xqmb97jzgbbc6q337ypv5vil1ql9wh0d"; }
];
- mavenReplacer_1_5_3 = map (obj: fetchMaven rec {
+ mavenReplacer_1_5_3 = map (obj: fetchMaven {
version = "1.5.3";
artifactId = "replacer";
groupId = "com.google.code.maven-replacer-plugin";
@@ -85,7 +85,7 @@ in rec {
{ type = "jar"; sha512 = "0f2rngcxpll0iigv115132fld5n6shjfn7m981sg7mdzlj75q2h5knd4x1ip33w60cm1j0rmqaxp1y6qn76ykvhprdyy9smiy667l9x"; }
];
- mavenResources_2_6 = map (obj: fetchMaven rec {
+ mavenResources_2_6 = map (obj: fetchMaven {
version = "2.6";
artifactId = "maven-resources-plugin";
groupId = "org.apache.maven.plugins";
@@ -96,7 +96,7 @@ in rec {
{ type = "jar"; sha512 = "3j8smsx6wk085iic5qhknrszixxna6szmvk2rn9zkn75ffjr7ham72hw9cmxf5160j73n8f2cmcbw1x462fqy12fqqpmzx08i1sbwcv"; }
];
- mavenSurefire_2_12_4 = map (obj: fetchMaven rec {
+ mavenSurefire_2_12_4 = map (obj: fetchMaven {
version = "2.12.4";
artifactId = "maven-surefire-plugin";
groupId = "org.apache.maven.plugins";
@@ -107,7 +107,7 @@ in rec {
{ type = "jar"; sha512 = "2sjq2l8i97h3ay8wwrsi75cfs9d1im5ar2sn2zv4q6xsv4v3hh5y481l9xwc5dnbcfdjs38ald0z60pxpcyiqrng6h69s2ws8fhb0mm"; }
];
- mavenSurefire_2_17 = map (obj: fetchMaven rec {
+ mavenSurefire_2_17 = map (obj: fetchMaven {
version = "2.17";
artifactId = "maven-surefire-plugin";
groupId = "org.apache.maven.plugins";
diff --git a/pkgs/development/java-modules/mojo/animal-sniffer.nix b/pkgs/development/java-modules/mojo/animal-sniffer.nix
index dd9b1d1b0aa..221e59f766b 100644
--- a/pkgs/development/java-modules/mojo/animal-sniffer.nix
+++ b/pkgs/development/java-modules/mojo/animal-sniffer.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mojoAnimalSniffer_1_11 = map (obj: fetchMaven {
version = "1.11";
artifactId = "animal-sniffer";
diff --git a/pkgs/development/java-modules/mojo/java-boot-classpath-detector.nix b/pkgs/development/java-modules/mojo/java-boot-classpath-detector.nix
index 245daa5fdb9..f6f7e490c7c 100644
--- a/pkgs/development/java-modules/mojo/java-boot-classpath-detector.nix
+++ b/pkgs/development/java-modules/mojo/java-boot-classpath-detector.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
mojoJavaBootClasspathDetector_1_11 = map (obj: fetchMaven {
version = "1.11";
artifactId = "java-boot-classpath-detector";
diff --git a/pkgs/development/java-modules/ow2/asm-all.nix b/pkgs/development/java-modules/ow2/asm-all.nix
index 08d18745ed7..92418d8c619 100644
--- a/pkgs/development/java-modules/ow2/asm-all.nix
+++ b/pkgs/development/java-modules/ow2/asm-all.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
ow2AsmAll_4_0 = map (obj: fetchMaven {
version = "4.0";
artifactId = "asm-all";
diff --git a/pkgs/development/java-modules/plexus/archiver.nix b/pkgs/development/java-modules/plexus/archiver.nix
index 384b9285976..41a334007e8 100644
--- a/pkgs/development/java-modules/plexus/archiver.nix
+++ b/pkgs/development/java-modules/plexus/archiver.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusArchiver_1_0_alpha7 = map (obj: fetchMaven {
version = "1.0-alpha-7";
artifactId = "plexus-archiver";
diff --git a/pkgs/development/java-modules/plexus/build-api.nix b/pkgs/development/java-modules/plexus/build-api.nix
index c417c955b69..b362f905091 100644
--- a/pkgs/development/java-modules/plexus/build-api.nix
+++ b/pkgs/development/java-modules/plexus/build-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusBuildApi_0_0_4 = map (obj: fetchMaven {
version = "0.0.4";
artifactId = "plexus-build-api";
diff --git a/pkgs/development/java-modules/plexus/classworlds.nix b/pkgs/development/java-modules/plexus/classworlds.nix
index 6ff1755e8f5..7cb6c3dbf55 100644
--- a/pkgs/development/java-modules/plexus/classworlds.nix
+++ b/pkgs/development/java-modules/plexus/classworlds.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusClassworlds_2_2_2 = map (obj: fetchMaven {
version = "2.2.2";
artifactId = "plexus-classworlds";
diff --git a/pkgs/development/java-modules/plexus/compiler-api.nix b/pkgs/development/java-modules/plexus/compiler-api.nix
index 11baab0950d..a1c6556a769 100644
--- a/pkgs/development/java-modules/plexus/compiler-api.nix
+++ b/pkgs/development/java-modules/plexus/compiler-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusCompilerApi_2_2 = map (obj: fetchMaven {
version = "2.2";
artifactId = "plexus-compiler-api";
diff --git a/pkgs/development/java-modules/plexus/compiler-javac.nix b/pkgs/development/java-modules/plexus/compiler-javac.nix
index a42064a0e9e..d86240b6d45 100644
--- a/pkgs/development/java-modules/plexus/compiler-javac.nix
+++ b/pkgs/development/java-modules/plexus/compiler-javac.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusCompilerJavac_2_2 = map (obj: fetchMaven {
version = "2.2";
artifactId = "plexus-compiler-javac";
diff --git a/pkgs/development/java-modules/plexus/compiler-manager.nix b/pkgs/development/java-modules/plexus/compiler-manager.nix
index f7221a96627..3f27981b154 100644
--- a/pkgs/development/java-modules/plexus/compiler-manager.nix
+++ b/pkgs/development/java-modules/plexus/compiler-manager.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusCompilerManager_2_2 = map (obj: fetchMaven {
version = "2.2";
artifactId = "plexus-compiler-manager";
diff --git a/pkgs/development/java-modules/plexus/component-annotations.nix b/pkgs/development/java-modules/plexus/component-annotations.nix
index fd3fc80e7e0..89ae778e762 100644
--- a/pkgs/development/java-modules/plexus/component-annotations.nix
+++ b/pkgs/development/java-modules/plexus/component-annotations.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusComponentAnnotations_1_5_5 = map (obj: fetchMaven {
version = "1.5.5";
artifactId = "plexus-component-annotations";
diff --git a/pkgs/development/java-modules/plexus/container-default.nix b/pkgs/development/java-modules/plexus/container-default.nix
index 375a1913afc..79d8ac1087b 100644
--- a/pkgs/development/java-modules/plexus/container-default.nix
+++ b/pkgs/development/java-modules/plexus/container-default.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusContainerDefault_1_0_alpha9 = map (obj: fetchMaven {
version = "1.0-alpha-9";
artifactId = "plexus-container-default";
diff --git a/pkgs/development/java-modules/plexus/digest.nix b/pkgs/development/java-modules/plexus/digest.nix
index be2013a2676..a9c80c146c9 100644
--- a/pkgs/development/java-modules/plexus/digest.nix
+++ b/pkgs/development/java-modules/plexus/digest.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusDigest_1_0 = map (obj: fetchMaven {
version = "1.0";
artifactId = "plexus-digest";
diff --git a/pkgs/development/java-modules/plexus/i18n.nix b/pkgs/development/java-modules/plexus/i18n.nix
index 5b34cde0503..0b016a7bd49 100644
--- a/pkgs/development/java-modules/plexus/i18n.nix
+++ b/pkgs/development/java-modules/plexus/i18n.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusI18n_1_0_beta6 = map (obj: fetchMaven {
version = "1.0-beta-6";
artifactId = "plexus-i18n";
diff --git a/pkgs/development/java-modules/plexus/interactivity-api.nix b/pkgs/development/java-modules/plexus/interactivity-api.nix
index 8ada106f48f..378fa76d8c6 100644
--- a/pkgs/development/java-modules/plexus/interactivity-api.nix
+++ b/pkgs/development/java-modules/plexus/interactivity-api.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusInteractivityApi_1_0_alpha4 = map (obj: fetchMaven {
version = "1.0-alpha-4";
artifactId = "plexus-interactivity-api";
diff --git a/pkgs/development/java-modules/plexus/interpolation.nix b/pkgs/development/java-modules/plexus/interpolation.nix
index 90ff3de6a3f..f2813e103f5 100644
--- a/pkgs/development/java-modules/plexus/interpolation.nix
+++ b/pkgs/development/java-modules/plexus/interpolation.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusInterpolation_1_11 = map (obj: fetchMaven {
version = "1.11";
artifactId = "plexus-interpolation";
diff --git a/pkgs/development/java-modules/plexus/io.nix b/pkgs/development/java-modules/plexus/io.nix
index eee41f5ed2f..e2cfd4b5882 100644
--- a/pkgs/development/java-modules/plexus/io.nix
+++ b/pkgs/development/java-modules/plexus/io.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusIo_2_0_2 = map (obj: fetchMaven {
version = "2.0.2";
artifactId = "plexus-io";
diff --git a/pkgs/development/java-modules/plexus/utils.nix b/pkgs/development/java-modules/plexus/utils.nix
index ce0537cea7d..c52425342b0 100644
--- a/pkgs/development/java-modules/plexus/utils.nix
+++ b/pkgs/development/java-modules/plexus/utils.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
plexusUtils_1_0_4 = map (obj: fetchMaven {
version = "1.0.4";
artifactId = "plexus-utils";
diff --git a/pkgs/development/java-modules/poms.nix b/pkgs/development/java-modules/poms.nix
index 610f98a7e46..d93edb7aa4f 100644
--- a/pkgs/development/java-modules/poms.nix
+++ b/pkgs/development/java-modules/poms.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
aether_0_9_0_M2 = fetchMaven {
version = "0.9.0.M2";
artifactId = "aether";
diff --git a/pkgs/development/java-modules/postgresql_jdbc/default.nix b/pkgs/development/java-modules/postgresql_jdbc/default.nix
index c67d7270548..69cb24fc0b0 100644
--- a/pkgs/development/java-modules/postgresql_jdbc/default.nix
+++ b/pkgs/development/java-modules/postgresql_jdbc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchMavenArtifact }:
stdenv.mkDerivation rec {
- name = "postgresql-jdbc-${version}";
+ pname = "postgresql-jdbc";
version = "42.2.5";
src = fetchMavenArtifact {
diff --git a/pkgs/development/java-modules/sisu/guice.nix b/pkgs/development/java-modules/sisu/guice.nix
index 51a004ed545..e4d0e1f98d4 100644
--- a/pkgs/development/java-modules/sisu/guice.nix
+++ b/pkgs/development/java-modules/sisu/guice.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
sisuGuice_2_9_4 = map (obj: fetchMaven {
version = "2.9.4";
artifactId = "sisu-guice";
diff --git a/pkgs/development/java-modules/sisu/inject-bean.nix b/pkgs/development/java-modules/sisu/inject-bean.nix
index bca16ccd114..22d3582608a 100644
--- a/pkgs/development/java-modules/sisu/inject-bean.nix
+++ b/pkgs/development/java-modules/sisu/inject-bean.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
sisuInjectBean_2_1_1 = map (obj: fetchMaven {
version = "2.1.1";
artifactId = "sisu-inject-bean";
diff --git a/pkgs/development/java-modules/sisu/inject-plexus.nix b/pkgs/development/java-modules/sisu/inject-plexus.nix
index 0a181dc1a1e..aee624c551c 100644
--- a/pkgs/development/java-modules/sisu/inject-plexus.nix
+++ b/pkgs/development/java-modules/sisu/inject-plexus.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
sisuInjectPlexus_2_1_1 = map (obj: fetchMaven {
version = "2.1.1";
artifactId = "sisu-inject-plexus";
diff --git a/pkgs/development/java-modules/xerces/impl.nix b/pkgs/development/java-modules/xerces/impl.nix
index 11295b3128f..2ea05581d0d 100644
--- a/pkgs/development/java-modules/xerces/impl.nix
+++ b/pkgs/development/java-modules/xerces/impl.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
xercesImpl_2_8_0 = map (obj: fetchMaven {
version = "2.8.0";
artifactId = "xercesImpl";
diff --git a/pkgs/development/java-modules/xml-apis/default.nix b/pkgs/development/java-modules/xml-apis/default.nix
index a96e3670b40..871629dbf3c 100644
--- a/pkgs/development/java-modules/xml-apis/default.nix
+++ b/pkgs/development/java-modules/xml-apis/default.nix
@@ -1,6 +1,6 @@
{ fetchMaven }:
-rec {
+{
xmlApis_1_3_03 = map (obj: fetchMaven {
version = "1.3.03";
artifactId = "xml-apis";
diff --git a/pkgs/development/libraries/AntTweakBar/default.nix b/pkgs/development/libraries/AntTweakBar/default.nix
index fcb708c829b..94b36b855f2 100644
--- a/pkgs/development/libraries/AntTweakBar/default.nix
+++ b/pkgs/development/libraries/AntTweakBar/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, unzip, xorg, libGLU_combined }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "AntTweakBar-1.16";
buildInputs = [ unzip xorg.libX11 libGLU_combined ];
diff --git a/pkgs/development/libraries/CoinMP/default.nix b/pkgs/development/libraries/CoinMP/default.nix
index fbf9615f88a..f251d2bed0c 100644
--- a/pkgs/development/libraries/CoinMP/default.nix
+++ b/pkgs/development/libraries/CoinMP/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "CoinMP-${version}";
+ pname = "CoinMP";
version = "1.8.4";
src = fetchurl {
- url = "https://www.coin-or.org/download/source/CoinMP/${name}.tgz";
+ url = "https://www.coin-or.org/download/source/CoinMP/${pname}-${version}.tgz";
sha256 = "13d3j1sdcjzpijp4qks3n0zibk649ac3hhv88hkk8ffxrc6gnn9l";
};
diff --git a/pkgs/development/libraries/LASzip/default.nix b/pkgs/development/libraries/LASzip/default.nix
index 9522038df6a..418900ddeeb 100644
--- a/pkgs/development/libraries/LASzip/default.nix
+++ b/pkgs/development/libraries/LASzip/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "2.2.0";
- name = "LASzip-${version}";
+ pname = "LASzip";
src = fetchurl {
url = "https://github.com/LASzip/LASzip/archive/v${version}.tar.gz";
diff --git a/pkgs/development/libraries/SDL/default.nix b/pkgs/development/libraries/SDL/default.nix
index 007cd02957b..610f1b768f2 100644
--- a/pkgs/development/libraries/SDL/default.nix
+++ b/pkgs/development/libraries/SDL/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, config, libGLSupported, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
+{ stdenv, config, fetchurl, fetchpatch, pkgconfig, audiofile, libcap, libiconv
+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, openglSupport ? libGLSupported, libGL, libGLU
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
, libXext, libICE, libXrandr
, pulseaudioSupport ? config.pulseaudio or stdenv.isLinux && !stdenv.hostPlatform.isAndroid, libpulseaudio
, OpenGL, CoreAudio, CoreServices, AudioUnit, Kernel, Cocoa
-, cf-private
}:
# NOTE: When editing this expression see if the same change applies to
@@ -14,11 +14,11 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "SDL-${version}";
+ pname = "SDL";
version = "1.2.15";
src = fetchurl {
- url = "https://www.libsdl.org/release/${name}.tar.gz";
+ url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz";
sha256 = "005d993xcac8236fpvd1iawkz4wqjybkpn8dbwaliqz5jfkidlyn";
};
@@ -40,11 +40,7 @@ stdenv.mkDerivation rec {
buildInputs = [ ]
++ optional (!stdenv.hostPlatform.isMinGW && alsaSupport) audiofile
- ++ optionals stdenv.isDarwin [
- AudioUnit CoreAudio CoreServices Kernel OpenGL
- # Needed for NSDefaultRunLoopMode symbols.
- cf-private
- ];
+ ++ optionals stdenv.isDarwin [ AudioUnit CoreAudio CoreServices Kernel OpenGL ];
configureFlags = [
"--disable-oss"
diff --git a/pkgs/development/libraries/SDL2/default.nix b/pkgs/development/libraries/SDL2/default.nix
index 2909b16d65d..37e38e03b8c 100644
--- a/pkgs/development/libraries/SDL2/default.nix
+++ b/pkgs/development/libraries/SDL2/default.nix
@@ -1,4 +1,5 @@
-{ stdenv, config, libGLSupported, fetchurl, pkgconfig
+{ stdenv, config, fetchurl, pkgconfig
+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, openglSupport ? libGLSupported, libGL
, alsaSupport ? stdenv.isLinux && !stdenv.hostPlatform.isAndroid, alsaLib
, x11Support ? !stdenv.isCygwin && !stdenv.hostPlatform.isAndroid
@@ -13,7 +14,7 @@
, pulseaudioSupport ? config.pulseaudio or stdenv.isLinux && !stdenv.hostPlatform.isAndroid
, libpulseaudio
, AudioUnit, Cocoa, CoreAudio, CoreServices, ForceFeedback, OpenGL
-, audiofile, cf-private, libiconv
+, audiofile, libiconv
}:
# NOTE: When editing this expression see if the same change applies to
@@ -22,12 +23,12 @@
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "SDL2-${version}";
- version = "2.0.9";
+ pname = "SDL2";
+ version = "2.0.10";
src = fetchurl {
- url = "https://www.libsdl.org/release/${name}.tar.gz";
- sha256 = "1c94ndagzkdfqaa838yqg589p1nnqln8mv0hpwfhrkbfczf8cl95";
+ url = "https://www.libsdl.org/release/${pname}-${version}.tar.gz";
+ sha256 = "0mqxp6w5jhbq6y1j690g9r3gpzwjxh4czaglw8x05l7hl49nqrdl";
};
outputs = [ "out" "dev" ];
@@ -57,11 +58,7 @@ stdenv.mkDerivation rec {
++ dlopenBuildInputs
++ optional ibusSupport ibus
++ optional fcitxSupport fcitx
- ++ optionals stdenv.isDarwin [
- AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL
- # Needed for NSDefaultRunLoopMode symbols.
- cf-private
- ];
+ ++ optionals stdenv.isDarwin [ AudioUnit Cocoa CoreAudio CoreServices ForceFeedback OpenGL ];
enableParallelBuilding = true;
diff --git a/pkgs/development/libraries/SDL2/find-headers.patch b/pkgs/development/libraries/SDL2/find-headers.patch
index a6114901055..a6b10ddb7ed 100644
--- a/pkgs/development/libraries/SDL2/find-headers.patch
+++ b/pkgs/development/libraries/SDL2/find-headers.patch
@@ -1,12 +1,13 @@
diff -ru3 SDL2-2.0.4/sdl2-config.cmake.in SDL2-2.0.4-new/sdl2-config.cmake.in
--- SDL2-2.0.4/sdl2-config.cmake.in 2016-01-02 22:56:31.000000000 +0300
+++ SDL2-2.0.4-new/sdl2-config.cmake.in 2016-08-22 05:26:42.420397323 +0300
-@@ -6,5 +6,5 @@
+@@ -6,5 +6,6 @@
set(SDL2_PREFIX "@prefix@")
set(SDL2_EXEC_PREFIX "@prefix@")
set(SDL2_LIBDIR "@libdir@")
-set(SDL2_INCLUDE_DIRS "@includedir@/SDL2")
+set(SDL2_INCLUDE_DIRS "@includedir@/SDL2" $ENV{SDL2_PATH})
++separate_arguments(SDL2_INCLUDE_DIRS)
set(SDL2_LIBRARIES "-L${SDL2_LIBDIR} @SDL_RLD_FLAGS@ @SDL_LIBS@")
diff -ru3 SDL2-2.0.4/sdl2-config.in SDL2-2.0.4-new/sdl2-config.in
--- SDL2-2.0.4/sdl2-config.in 2016-01-02 22:56:31.000000000 +0300
diff --git a/pkgs/development/libraries/SDL2_gfx/default.nix b/pkgs/development/libraries/SDL2_gfx/default.nix
index 803cc97a8ae..d57bb6cbc94 100644
--- a/pkgs/development/libraries/SDL2_gfx/default.nix
+++ b/pkgs/development/libraries/SDL2_gfx/default.nix
@@ -1,12 +1,11 @@
{ stdenv, darwin, fetchurl, SDL2 }:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "SDL2_gfx";
version = "1.0.4";
src = fetchurl {
- url = "http://www.ferzkopp.net/Software/${pname}/${name}.tar.gz";
+ url = "http://www.ferzkopp.net/Software/${pname}/${pname}-${version}.tar.gz";
sha256 = "0qk2ax7f7grlxb13ba0ll3zlm8780s7j8fmrhlpxzjgdvldf1q33";
};
diff --git a/pkgs/development/libraries/SDL2_image/default.nix b/pkgs/development/libraries/SDL2_image/default.nix
index a2ef54cc136..326d9d66264 100644
--- a/pkgs/development/libraries/SDL2_image/default.nix
+++ b/pkgs/development/libraries/SDL2_image/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, SDL2, libpng, libjpeg, libtiff, libungif, libwebp, libXpm, zlib, Foundation }:
stdenv.mkDerivation rec {
- name = "SDL2_image-${version}";
- version = "2.0.4";
+ pname = "SDL2_image";
+ version = "2.0.5";
src = fetchurl {
- url = "https://www.libsdl.org/projects/SDL_image/release/${name}.tar.gz";
- sha256 = "1b6f7002bm007y3zpyxb5r6ag0lml51jyvx1pwpj9sq24jfc8kp7";
+ url = "https://www.libsdl.org/projects/SDL_image/release/${pname}-${version}.tar.gz";
+ sha256 = "1l0864kas9cwpp2d32yxl81g98lx40dhbdp03dz7sbv84vhgdmdx";
};
buildInputs = [ SDL2 libpng libjpeg libtiff libungif libwebp libXpm zlib ]
diff --git a/pkgs/development/libraries/SDL2_mixer/default.nix b/pkgs/development/libraries/SDL2_mixer/default.nix
index 61e15d621bc..826cf793cd2 100644
--- a/pkgs/development/libraries/SDL2_mixer/default.nix
+++ b/pkgs/development/libraries/SDL2_mixer/default.nix
@@ -4,11 +4,11 @@
, enableNativeMidi ? false, fluidsynth ? null }:
stdenv.mkDerivation rec {
- name = "SDL2_mixer-${version}";
+ pname = "SDL2_mixer";
version = "2.0.4";
src = fetchurl {
- url = "https://www.libsdl.org/projects/SDL_mixer/release/${name}.tar.gz";
+ url = "https://www.libsdl.org/projects/SDL_mixer/release/${pname}-${version}.tar.gz";
sha256 = "0694vsz5bjkcdgfdra6x9fq8vpzrl8m6q96gh58df7065hw5mkxl";
};
diff --git a/pkgs/development/libraries/SDL2_net/default.nix b/pkgs/development/libraries/SDL2_net/default.nix
index 1cb74ac1b2d..309102e70b5 100644
--- a/pkgs/development/libraries/SDL2_net/default.nix
+++ b/pkgs/development/libraries/SDL2_net/default.nix
@@ -1,11 +1,11 @@
{ stdenv, darwin, fetchurl, SDL2 }:
stdenv.mkDerivation rec {
- name = "SDL2_net-${version}";
+ pname = "SDL2_net";
version = "2.0.1";
src = fetchurl {
- url = "https://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
+ url = "https://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
sha256 = "08cxc1bicmyk89kiks7izw1rlx5ng5n6xpy8fy0zxni3b9z8mkhm";
};
diff --git a/pkgs/development/libraries/SDL2_ttf/default.nix b/pkgs/development/libraries/SDL2_ttf/default.nix
index b219922223f..50e47bc1d36 100644
--- a/pkgs/development/libraries/SDL2_ttf/default.nix
+++ b/pkgs/development/libraries/SDL2_ttf/default.nix
@@ -1,11 +1,11 @@
{ stdenv, darwin, fetchurl, SDL2, freetype, libGL }:
stdenv.mkDerivation rec {
- name = "SDL2_ttf-${version}";
+ pname = "SDL2_ttf";
version = "2.0.15";
src = fetchurl {
- url = "https://www.libsdl.org/projects/SDL_ttf/release/${name}.tar.gz";
+ url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
sha256 = "0cyd48dipc0m399qy8s03lci8b0bpiy8xlkvrm2ia7wcv0dfpv59";
};
diff --git a/pkgs/development/libraries/SDL_gfx/default.nix b/pkgs/development/libraries/SDL_gfx/default.nix
index 68c8c16ed4e..74a31d94687 100644
--- a/pkgs/development/libraries/SDL_gfx/default.nix
+++ b/pkgs/development/libraries/SDL_gfx/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, SDL }:
stdenv.mkDerivation rec {
- name = "SDL_gfx-${version}";
+ pname = "SDL_gfx";
version = "2.0.26";
src = fetchurl {
- url = "https://www.ferzkopp.net/Software/SDL_gfx-2.0/${name}.tar.gz";
+ url = "https://www.ferzkopp.net/Software/SDL_gfx-2.0/${pname}-${version}.tar.gz";
sha256 = "0ijljhs0v99dj6y27hc10z6qchyp8gdp4199y6jzngy6dzxlzsvw";
};
diff --git a/pkgs/development/libraries/SDL_gpu/default.nix b/pkgs/development/libraries/SDL_gpu/default.nix
new file mode 100644
index 00000000000..f15009c2f5d
--- /dev/null
+++ b/pkgs/development/libraries/SDL_gpu/default.nix
@@ -0,0 +1,36 @@
+{ stdenv, fetchFromGitHub, cmake, SDL2, libGLU }:
+
+stdenv.mkDerivation {
+ pname = "SDL_gpu-unstable";
+ version = "2019-01-24";
+
+ src = fetchFromGitHub {
+ owner = "grimfang4";
+ repo = "sdl-gpu";
+ rev = "e3d350b325a0e0d0b3007f69ede62313df46c6ef";
+ sha256 = "0kibcaim01inb6xxn4mr6affn4hm50vz9kahb5k9iz8dmdsrhxy1";
+ };
+
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ SDL2 libGLU ];
+
+ cmakeFlags = [
+ "-DSDL_gpu_BUILD_DEMOS=OFF"
+ "-DSDL_gpu_BUILD_TOOLS=OFF"
+ "-DSDL_gpu_BUILD_VIDEO_TEST=OFF"
+ "-DSDL_gpu_BUILD_TESTS=OFF"
+ ];
+
+ patchPhase = ''
+ sed -ie '210s#''${OUTPUT_DIR}/lib#''${CMAKE_INSTALL_LIBDIR}#' src/CMakeLists.txt
+ sed -ie '213s#''${OUTPUT_DIR}/lib#''${CMAKE_INSTALL_LIBDIR}#' src/CMakeLists.txt
+ '';
+
+ meta = with stdenv.lib; {
+ description = "A library for high-performance, modern 2D graphics with SDL written in C";
+ homepage = "https://github.com/grimfang4/sdl-gpu";
+ license = licenses.mit;
+ maintainers = with maintainers; [ pmiddend ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/SDL_image/default.nix b/pkgs/development/libraries/SDL_image/default.nix
index 961a0a7f5aa..8e3078563e2 100644
--- a/pkgs/development/libraries/SDL_image/default.nix
+++ b/pkgs/development/libraries/SDL_image/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, fetchpatch, SDL, libpng, libjpeg, libtiff, libungif, libXpm }:
stdenv.mkDerivation rec {
- name = "SDL_image-${version}";
+ pname = "SDL_image";
version = "1.2.12";
src = fetchurl {
- url = "https://www.libsdl.org/projects/SDL_image/release/${name}.tar.gz";
+ url = "https://www.libsdl.org/projects/SDL_image/release/${pname}-${version}.tar.gz";
sha256 = "16an9slbb8ci7d89wakkmyfvp7c0cval8xw4hkg0842nhhlp540b";
};
diff --git a/pkgs/development/libraries/SDL_mixer/default.nix b/pkgs/development/libraries/SDL_mixer/default.nix
index 887319062be..427439f496e 100644
--- a/pkgs/development/libraries/SDL_mixer/default.nix
+++ b/pkgs/development/libraries/SDL_mixer/default.nix
@@ -3,10 +3,9 @@
stdenv.mkDerivation rec {
pname = "SDL_mixer";
version = "1.2.12";
- name = "${pname}-${version}";
src = fetchurl {
- url = "http://www.libsdl.org/projects/${pname}/release/${name}.tar.gz";
+ url = "http://www.libsdl.org/projects/${pname}/release/${pname}-${version}.tar.gz";
sha256 = "0alrhqgm40p4c92s26mimg9cm1y7rzr6m0p49687jxd9g6130i0n";
};
diff --git a/pkgs/development/libraries/SDL_net/default.nix b/pkgs/development/libraries/SDL_net/default.nix
index f1c5a5462d1..6ac91a6d129 100644
--- a/pkgs/development/libraries/SDL_net/default.nix
+++ b/pkgs/development/libraries/SDL_net/default.nix
@@ -4,10 +4,8 @@ stdenv.mkDerivation rec {
pname = "SDL_net";
version = "1.2.8";
- name = "${pname}-${version}";
-
src = fetchurl {
- url = "http://www.libsdl.org/projects/SDL_net/release/${name}.tar.gz";
+ url = "http://www.libsdl.org/projects/SDL_net/release/${pname}-${version}.tar.gz";
sha256 = "1d5c9xqlf4s1c01gzv6cxmg0r621pq9kfgxcg3197xw4p25pljjz";
};
diff --git a/pkgs/development/libraries/SDL_sixel/default.nix b/pkgs/development/libraries/SDL_sixel/default.nix
index 6279bfcb428..66fa8888fd1 100644
--- a/pkgs/development/libraries/SDL_sixel/default.nix
+++ b/pkgs/development/libraries/SDL_sixel/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, libsixel }:
-stdenv.mkDerivation rec {
- name = "SDL_sixel-${version}";
+stdenv.mkDerivation {
+ pname = "SDL_sixel";
version = "1.2-nightly";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/SDL_sound/default.nix b/pkgs/development/libraries/SDL_sound/default.nix
index 0e717c53035..94534ecd699 100644
--- a/pkgs/development/libraries/SDL_sound/default.nix
+++ b/pkgs/development/libraries/SDL_sound/default.nix
@@ -1,11 +1,11 @@
{ stdenv, lib, fetchurl, SDL, libvorbis, flac, libmikmod }:
stdenv.mkDerivation rec {
- name = "SDL_sound-${version}";
+ pname = "SDL_sound";
version = "1.0.3";
src = fetchurl {
- url = "https://icculus.org/SDL_sound/downloads/${name}.tar.gz";
+ url = "https://icculus.org/SDL_sound/downloads/${pname}-${version}.tar.gz";
sha256 = "1pz6g56gcy7pmmz3hhych3iq9jvinml2yjz15fjqjlj8pc5zv69r";
};
diff --git a/pkgs/development/libraries/SDL_stretch/default.nix b/pkgs/development/libraries/SDL_stretch/default.nix
index 7f276387c83..9695d51ed89 100644
--- a/pkgs/development/libraries/SDL_stretch/default.nix
+++ b/pkgs/development/libraries/SDL_stretch/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, SDL }:
stdenv.mkDerivation rec {
- name = "SDL_stretch-${version}";
+ pname = "SDL_stretch";
version = "0.3.1";
src = fetchurl {
- url = "mirror://sourceforge/sdl-stretch/${version}/${name}.tar.bz2";
+ url = "mirror://sourceforge/sdl-stretch/${version}/${pname}-${version}.tar.bz2";
sha256 = "1mzw68sn4yxbp8429jg2h23h8xw2qjid51z1f5pdsghcn3x0pgvw";
};
diff --git a/pkgs/development/libraries/SDL_ttf/default.nix b/pkgs/development/libraries/SDL_ttf/default.nix
index cf6b53021f7..96b60b1061f 100644
--- a/pkgs/development/libraries/SDL_ttf/default.nix
+++ b/pkgs/development/libraries/SDL_ttf/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, fetchpatch, SDL, freetype }:
stdenv.mkDerivation rec {
- name = "SDL_ttf-${version}";
+ pname = "SDL_ttf";
version = "2.0.11";
src = fetchurl {
- url = "https://www.libsdl.org/projects/SDL_ttf/release/${name}.tar.gz";
+ url = "https://www.libsdl.org/projects/SDL_ttf/release/${pname}-${version}.tar.gz";
sha256 = "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j";
};
diff --git a/pkgs/development/libraries/aacskeys/default.nix b/pkgs/development/libraries/aacskeys/default.nix
deleted file mode 100644
index 9e28bfd4fe2..00000000000
--- a/pkgs/development/libraries/aacskeys/default.nix
+++ /dev/null
@@ -1,47 +0,0 @@
-{stdenv, fetchurl, openssl, jdk, premake3}:
-
-# Info on how to use / obtain aacs keys:
-# http://vlc-bluray.whoknowsmy.name/
-# https://wiki.archlinux.org/index.php/BluRay
-
-
-let baseName = "aacskeys";
- version = "0.4.0e";
-in
-
-stdenv.mkDerivation {
- name = "${baseName}-${version}";
-
- patchPhase = ''
- substituteInPlace "premake.lua" \
- --replace "/usr/lib/jvm/java-6-sun/include" "${jdk}/include"
- '';
-
- src = fetchurl {
- url = "http://deb-multimedia.org/pool/main/a/${baseName}/${baseName}_${version}.orig.tar.gz";
- sha256 = "0d3zvwixpkixfkkc16wj37h2xbcq5hsqqhqngzqr6pslmqr67vnr";
- };
-
- buildInputs = [openssl jdk premake3];
-
- installPhase = ''
- mkdir -p $out/{bin,lib,share/${baseName}}
-
- # Install lib
- install -Dm444 lib/linux/libaacskeys.so $out/lib
-
- # Install program
- install -Dm555 bin/linux/aacskeys $out/bin
-
- # Install resources
- install -Dm444 HostKeyCertificate.txt $out/share/${baseName}
- install -Dm444 ProcessingDeviceKeysSimple.txt $out/share/${baseName}
- '';
-
- meta = with stdenv.lib; {
- homepage = http://forum.doom9.org/showthread.php?t=123311;
- description = "A library and program to retrieve decryption keys for HD discs";
- platforms = platforms.linux;
- license = licenses.publicDomain;
- };
-}
diff --git a/pkgs/development/libraries/abseil-cpp/default.nix b/pkgs/development/libraries/abseil-cpp/default.nix
index 4e1da866622..b46963f4673 100644
--- a/pkgs/development/libraries/abseil-cpp/default.nix
+++ b/pkgs/development/libraries/abseil-cpp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
- name = "abseil-cpp-${version}";
+ pname = "abseil-cpp";
date = "20190322";
rev = "eab2078b53c9e3d9d240135c09d27e3393acb50a";
version = "${date}-${rev}";
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "abseil";
repo = "abseil-cpp";
- rev = "${rev}";
+ rev = rev;
sha256 = "1bpz44hxq5fpkv6jlgphzk7mxjiiah526jgb63ih5pd1hd2cfw1r";
};
diff --git a/pkgs/development/libraries/accounts-qt/default.nix b/pkgs/development/libraries/accounts-qt/default.nix
index a50c92924e9..0aace12569a 100644
--- a/pkgs/development/libraries/accounts-qt/default.nix
+++ b/pkgs/development/libraries/accounts-qt/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitLab, doxygen, glib, libaccounts-glib, pkgconfig, qtbase, qmake }:
stdenv.mkDerivation rec {
- name = "accounts-qt-${version}";
+ pname = "accounts-qt";
version = "1.15";
src = fetchFromGitLab {
diff --git a/pkgs/development/libraries/accountsservice/default.nix b/pkgs/development/libraries/accountsservice/default.nix
index c20167138b7..860ac3fde41 100644
--- a/pkgs/development/libraries/accountsservice/default.nix
+++ b/pkgs/development/libraries/accountsservice/default.nix
@@ -1,45 +1,77 @@
-{ stdenv, fetchurl, pkgconfig, glib, intltool, makeWrapper, shadow
-, gobject-introspection, polkit, systemd, coreutils, meson, dbus
-, ninja, python3 }:
+{ stdenv
+, fetchurl
+, fetchpatch
+, substituteAll
+, pkgconfig
+, glib
+, shadow
+, gobject-introspection
+, polkit
+, systemd
+, coreutils
+, meson
+, dbus
+, ninja
+, python3
+, gettext
+}:
stdenv.mkDerivation rec {
- name = "accountsservice-${version}";
+ pname = "accountsservice";
version = "0.6.55";
+ outputs = [ "out" "dev" ];
+
src = fetchurl {
- url = "https://www.freedesktop.org/software/accountsservice/accountsservice-${version}.tar.xz";
+ url = "https://www.freedesktop.org/software/${pname}/${pname}-${version}.tar.xz";
sha256 = "16wwd633jak9ajyr1f1h047rmd09fhf3kzjz6g5xjsz0lwcj8azz";
};
- nativeBuildInputs = [ pkgconfig makeWrapper meson ninja python3 ];
+ nativeBuildInputs = [
+ dbus
+ gettext
+ gobject-introspection
+ meson
+ ninja
+ pkgconfig
+ python3
+ ];
- buildInputs = [ glib intltool gobject-introspection polkit systemd dbus ];
+ buildInputs = [
+ glib
+ polkit
+ ];
- mesonFlags = [ "-Dsystemdsystemunitdir=etc/systemd/system"
- "-Dlocalstatedir=/var" ];
- prePatch = ''
+ mesonFlags = [
+ "-Dadmin_group=wheel"
+ "-Dlocalstatedir=/var"
+ "-Dsystemdsystemunitdir=${placeholder "out"}/etc/systemd/system"
+ ];
+
+ postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
-
- substituteInPlace src/daemon.c --replace '"/usr/sbin/useradd"' '"${shadow}/bin/useradd"' \
- --replace '"/usr/sbin/userdel"' '"${shadow}/bin/userdel"'
- substituteInPlace src/user.c --replace '"/usr/sbin/usermod"' '"${shadow}/bin/usermod"' \
- --replace '"/usr/bin/chage"' '"${shadow}/bin/chage"' \
- --replace '"/usr/bin/passwd"' '"${shadow}/bin/passwd"' \
- --replace '"/bin/cat"' '"${coreutils}/bin/cat"'
'';
patches = [
+ (substituteAll {
+ src = ./fix-paths.patch;
+ inherit shadow coreutils;
+ })
./no-create-dirs.patch
./Disable-methods-that-change-files-in-etc.patch
+ # Systemd unit improvements. Notably using StateDirectory eliminating the
+ # need of an ad-hoc script.
+ (fetchpatch {
+ url = "https://gitlab.freedesktop.org/accountsservice/accountsservice/commit/152b845bbd3ca2a64516691493a160825f1a2046.patch";
+ sha256 = "114wrf5mwj5bgc5v1g05md4ridcnwdrwppr3bjz96sknwh5hk8s5";
+ })
+ (fetchpatch {
+ url = "https://gitlab.freedesktop.org/accountsservice/accountsservice/commit/0e712e935abd26499ff5995ab363e5bfd9ee7c4c.patch";
+ sha256 = "1y60a5fmgfqjzprwpizilrazqn3mggdlgc5sgcpsprsp62fv78rl";
+ })
];
- preFixup = ''
- wrapProgram "$out/libexec/accounts-daemon" \
- --run "${coreutils}/bin/mkdir -p /var/lib/AccountsService/users" \
- --run "${coreutils}/bin/mkdir -p /var/lib/AccountsService/icons"
- '';
-
meta = with stdenv.lib; {
description = "D-Bus interface for user account query and manipulation";
homepage = https://www.freedesktop.org/wiki/Software/AccountsService;
diff --git a/pkgs/development/libraries/accountsservice/fix-paths.patch b/pkgs/development/libraries/accountsservice/fix-paths.patch
new file mode 100644
index 00000000000..0bf6ee3d91a
--- /dev/null
+++ b/pkgs/development/libraries/accountsservice/fix-paths.patch
@@ -0,0 +1,125 @@
+diff --git a/src/daemon.c b/src/daemon.c
+index c52bda3..75d214e 100644
+--- a/src/daemon.c
++++ b/src/daemon.c
+@@ -1106,7 +1106,7 @@ daemon_create_user_authorized_cb (Daemon *daemon,
+
+ sys_log (context, "create user '%s'", cd->user_name);
+
+- argv[0] = "/usr/sbin/useradd";
++ argv[0] = "@shadow@/bin/useradd";
+ argv[1] = "-m";
+ argv[2] = "-c";
+ argv[3] = cd->real_name;
+@@ -1318,7 +1318,7 @@ daemon_delete_user_authorized_cb (Daemon *daemon,
+
+ user_set_saved (user, FALSE);
+
+- argv[0] = "/usr/sbin/userdel";
++ argv[0] = "@shadow@/bin/userdel";
+ if (ud->remove_files) {
+ argv[1] = "-f";
+ argv[2] = "-r";
+diff --git a/src/user.c b/src/user.c
+index 9f57af5..e65289d 100644
+--- a/src/user.c
++++ b/src/user.c
+@@ -844,7 +844,7 @@ user_change_real_name_authorized_cb (Daemon *daemon,
+ accounts_user_get_uid (ACCOUNTS_USER (user)),
+ name);
+
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadown@/bin/usermod";
+ argv[1] = "-c";
+ argv[2] = name;
+ argv[3] = "--";
+@@ -913,7 +913,7 @@ user_change_user_name_authorized_cb (Daemon *daemon,
+ accounts_user_get_uid (ACCOUNTS_USER (user)),
+ name);
+
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = "-l";
+ argv[2] = name;
+ argv[3] = "--";
+@@ -1321,7 +1321,7 @@ user_change_home_dir_authorized_cb (Daemon *daemon,
+ accounts_user_get_uid (ACCOUNTS_USER (user)),
+ home_dir);
+
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = "-m";
+ argv[2] = "-d";
+ argv[3] = home_dir;
+@@ -1378,7 +1378,7 @@ user_change_shell_authorized_cb (Daemon *daemon,
+ accounts_user_get_uid (ACCOUNTS_USER (user)),
+ shell);
+
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = "-s";
+ argv[2] = shell;
+ argv[3] = "--";
+@@ -1520,7 +1520,7 @@ user_change_icon_file_authorized_cb (Daemon *daemon,
+ return;
+ }
+
+- argv[0] = "/bin/cat";
++ argv[0] = "@coreutils@/bin/cat";
+ argv[1] = filename;
+ argv[2] = NULL;
+
+@@ -1601,7 +1601,7 @@ user_change_locked_authorized_cb (Daemon *daemon,
+ locked ? "locking" : "unlocking",
+ accounts_user_get_user_name (ACCOUNTS_USER (user)),
+ accounts_user_get_uid (ACCOUNTS_USER (user)));
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = locked ? "-L" : "-U";
+ argv[2] = "--";
+ argv[3] = accounts_user_get_user_name (ACCOUNTS_USER (user));
+@@ -1726,7 +1726,7 @@ user_change_account_type_authorized_cb (Daemon *daemon,
+
+ g_free (groups);
+
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = "-G";
+ argv[2] = str->str;
+ argv[3] = "--";
+@@ -1794,7 +1794,7 @@ user_change_password_mode_authorized_cb (Daemon *daemon,
+ if (mode == PASSWORD_MODE_SET_AT_LOGIN ||
+ mode == PASSWORD_MODE_NONE) {
+
+- argv[0] = "/usr/bin/passwd";
++ argv[0] = "/run/wrappers/bin/passwd";
+ argv[1] = "-d";
+ argv[2] = "--";
+ argv[3] = accounts_user_get_user_name (ACCOUNTS_USER (user));
+@@ -1806,7 +1806,7 @@ user_change_password_mode_authorized_cb (Daemon *daemon,
+ }
+
+ if (mode == PASSWORD_MODE_SET_AT_LOGIN) {
+- argv[0] = "/usr/bin/chage";
++ argv[0] = "@shadow@/bin/chage";
+ argv[1] = "-d";
+ argv[2] = "0";
+ argv[3] = "--";
+@@ -1827,7 +1827,7 @@ user_change_password_mode_authorized_cb (Daemon *daemon,
+ accounts_user_set_locked (ACCOUNTS_USER (user), FALSE);
+ }
+ else if (accounts_user_get_locked (ACCOUNTS_USER (user))) {
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = "-U";
+ argv[2] = "--";
+ argv[3] = accounts_user_get_user_name (ACCOUNTS_USER (user));
+@@ -1905,7 +1905,7 @@ user_change_password_authorized_cb (Daemon *daemon,
+
+ g_object_freeze_notify (G_OBJECT (user));
+
+- argv[0] = "/usr/sbin/usermod";
++ argv[0] = "@shadow@/bin/usermod";
+ argv[1] = "-p";
+ argv[2] = strings[0];
+ argv[3] = "--";
diff --git a/pkgs/development/libraries/ace/default.nix b/pkgs/development/libraries/ace/default.nix
index e0c46acb630..04ab1331475 100644
--- a/pkgs/development/libraries/ace/default.nix
+++ b/pkgs/development/libraries/ace/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, pkgconfig, libtool, perl }:
stdenv.mkDerivation rec {
- name = "ace-${version}";
- version = "6.5.5";
+ pname = "ace";
+ version = "6.5.6";
src = fetchurl {
url = "http://download.dre.vanderbilt.edu/previous_versions/ACE-${version}.tar.bz2";
- sha256 = "1r1bvy65n50l6lbxm1k1bscqcv29mpkgp0pgr5cvvv7ldisrjl39";
+ sha256 = "15lfjc8r854hvjfvimhnqc3987b3cdngilhkii9rwpzginbyipi4";
};
enableParallelBuilding = true;
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
patchPhase = ''substituteInPlace ./MPC/prj_install.pl \
--replace /usr/bin/perl "${perl}/bin/perl"'';
-
+
preConfigure = ''
export INSTALL_PREFIX=$out
export ACE_ROOT=$(pwd)
diff --git a/pkgs/development/libraries/adns/default.nix b/pkgs/development/libraries/adns/default.nix
index 76e49768d53..c9797b31eaa 100644
--- a/pkgs/development/libraries/adns/default.nix
+++ b/pkgs/development/libraries/adns/default.nix
@@ -4,7 +4,8 @@ let
version = "1.5.1";
in
stdenv.mkDerivation {
- name = "adns-${version}";
+ pname = "adns";
+ inherit version;
src = fetchurl {
urls = [
diff --git a/pkgs/development/libraries/afflib/default.nix b/pkgs/development/libraries/afflib/default.nix
index 5170e384f77..f0d87c81133 100644
--- a/pkgs/development/libraries/afflib/default.nix
+++ b/pkgs/development/libraries/afflib/default.nix
@@ -4,7 +4,7 @@
stdenv.mkDerivation rec {
version = "3.7.18";
- name = "afflib-${version}";
+ pname = "afflib";
src = fetchFromGitHub {
owner = "sshock";
diff --git a/pkgs/development/libraries/aften/default.nix b/pkgs/development/libraries/aften/default.nix
index 22e91ee61d7..a1d4c225909 100644
--- a/pkgs/development/libraries/aften/default.nix
+++ b/pkgs/development/libraries/aften/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
- name = "aften-${version}";
+ pname = "aften";
version = "0.0.8";
src = fetchurl {
- url = "mirror://sourceforge/aften/${name}.tar.bz2";
+ url = "mirror://sourceforge/aften/${pname}-${version}.tar.bz2";
sha256 = "02hc5x9vkgng1v9bzvza9985ifrjd7fjr7nlpvazp4mv6dr89k47";
};
diff --git a/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix b/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix
index 3ab4ed3e962..e2d64841985 100644
--- a/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix
+++ b/pkgs/development/libraries/agda/agda-iowa-stdlib/default.nix
@@ -1,14 +1,14 @@
{ stdenv, agda, fetchFromGitHub }:
agda.mkDerivation (self: rec {
- version = "1.4.0";
+ version = "1.5.0";
name = "agda-iowa-stdlib-${version}";
src = fetchFromGitHub {
owner = "cedille";
repo = "ial";
rev = "v${version}";
- sha256 = "1gwxpybxwdj5ipbb3gapm7r5hfl3g6sj9kp13954pdmx8d5b0gma";
+ sha256 = "0dlis6v6nzbscf713cmwlx8h9n2gxghci8y21qak3hp18gkxdp0g";
};
sourceDirectories = [ "./." ];
diff --git a/pkgs/development/libraries/agda/agda-prelude/default.nix b/pkgs/development/libraries/agda/agda-prelude/default.nix
index e3dcf765dfd..a57ee6e08ba 100644
--- a/pkgs/development/libraries/agda/agda-prelude/default.nix
+++ b/pkgs/development/libraries/agda/agda-prelude/default.nix
@@ -1,13 +1,13 @@
{ stdenv, agda, fetchgit }:
agda.mkDerivation (self: rec {
- version = "0dca24a81d417db2ae8fc871eccb7776f7eae952";
+ version = "eacc961c2c312b7443109a7872f99d55557df317";
name = "agda-prelude-${version}";
src = fetchgit {
url = "https://github.com/UlfNorell/agda-prelude.git";
rev = version;
- sha256 = "0gwfgvj96i1mx5v01bi46h567d1q1fbgvzv6z8zv91l2jhybwff5";
+ sha256 = "0iql67hb1q0fn8dwkcx07brkdkxqfqrsbwjy71ndir0k7qzw7qv2";
};
topSourceDirectories = [ "src" ];
diff --git a/pkgs/development/libraries/agda/agda-stdlib/default.nix b/pkgs/development/libraries/agda/agda-stdlib/default.nix
index d9350d135eb..4d071251ee8 100644
--- a/pkgs/development/libraries/agda/agda-stdlib/default.nix
+++ b/pkgs/development/libraries/agda/agda-stdlib/default.nix
@@ -1,14 +1,14 @@
{ stdenv, agda, fetchFromGitHub, ghcWithPackages }:
agda.mkDerivation (self: rec {
- version = "1.0";
+ version = "1.1";
name = "agda-stdlib-${version}";
src = fetchFromGitHub {
repo = "agda-stdlib";
owner = "agda";
rev = "v${version}";
- sha256 = "19qrdfi0vig3msqg76k1zf5j3vav0jz44cvj6i4dyfbscdwf2l9c";
+ sha256 = "190bxsy92ffmvwpmyyg3lxs91vyss2z25rqz1w79gkj56484cy64";
};
nativeBuildInputs = [ (ghcWithPackages (self : [ self.filemanip ])) ];
diff --git a/pkgs/development/libraries/agg/default.nix b/pkgs/development/libraries/agg/default.nix
index c0539aeed47..69517817b59 100644
--- a/pkgs/development/libraries/agg/default.nix
+++ b/pkgs/development/libraries/agg/default.nix
@@ -10,6 +10,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ autoconf automake libtool freetype SDL libX11 ];
+ postPatch = ''
+ substituteInPlace include/agg_renderer_outline_aa.h \
+ --replace 'line_profile_aa& profile() {' 'const line_profile_aa& profile() {'
+ '';
+
# fix build with new automake, from Gentoo ebuild
preConfigure = ''
sed -i '/^AM_C_PROTOTYPES/d' configure.in
diff --git a/pkgs/development/libraries/alembic/default.nix b/pkgs/development/libraries/alembic/default.nix
index 5c25da92055..263acfed63a 100644
--- a/pkgs/development/libraries/alembic/default.nix
+++ b/pkgs/development/libraries/alembic/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec
{
- name = "alembic-${version}";
+ pname = "alembic";
version = "1.7.11";
src = fetchFromGitHub {
owner = "alembic";
repo = "alembic";
- rev = "${version}";
+ rev = version;
sha256 = "1lalbqn4cwf0vp4hiq72gwpd7kq501j21rnjb380mv26pk7r2ivz";
};
diff --git a/pkgs/development/libraries/alkimia/default.nix b/pkgs/development/libraries/alkimia/default.nix
index f98c8fa480e..407aa557ea2 100644
--- a/pkgs/development/libraries/alkimia/default.nix
+++ b/pkgs/development/libraries/alkimia/default.nix
@@ -4,11 +4,11 @@
}:
mkDerivation rec {
- name = "alkimia-${version}";
+ pname = "alkimia";
version = "8.0.1";
src = fetchurl {
- url = "mirror://kde/stable/alkimia/${version}/${name}.tar.xz";
+ url = "mirror://kde/stable/alkimia/${version}/${pname}-${version}.tar.xz";
sha256 = "059i6vn36sdq5zn2vqzh4asvvgdgs7n478nk9phvb5gdys01fq7m";
};
diff --git a/pkgs/development/libraries/allegro/5.nix b/pkgs/development/libraries/allegro/5.nix
index 9f8ca69a70f..b267c62d6c7 100644
--- a/pkgs/development/libraries/allegro/5.nix
+++ b/pkgs/development/libraries/allegro/5.nix
@@ -8,14 +8,14 @@
}:
stdenv.mkDerivation rec {
- name = "allegro-${version}";
- version = "5.2.4.0";
+ pname = "allegro";
+ version = "5.2.5.0";
src = fetchFromGitHub {
owner = "liballeg";
repo = "allegro5";
rev = version;
- sha256 = "01y3hirn5b08f188nnhb2cbqj4vzysr7l2qpz2208srv8arzmj2d";
+ sha256 = "1jrnizpwznyxz2c7zb75lfy7l51ww5jlqfaahcrycfj1xay9mpqp";
};
buildInputs = [
@@ -28,14 +28,6 @@ stdenv.mkDerivation rec {
libpulseaudio libpthreadstubs
];
- patches = [
- # fix compilation with mesa 18.2.5
- (fetchpatch {
- url = "https://github.com/liballeg/allegro5/commit/a40d30e21802ecf5c9382cf34af9b01bd3781e47.patch";
- sha256 = "1f1xlj5y2vr6wzmcz04s8kxn8cfdwrg9kjlnvpz9dix1z3qjnd4m";
- })
- ];
-
postPatch = ''
sed -e 's@/XInput2.h@/XI2.h@g' -i CMakeLists.txt "src/"*.c
'';
diff --git a/pkgs/development/libraries/allegro/default.nix b/pkgs/development/libraries/allegro/default.nix
index eca32b740e3..6b44ec1b598 100644
--- a/pkgs/development/libraries/allegro/default.nix
+++ b/pkgs/development/libraries/allegro/default.nix
@@ -4,11 +4,11 @@
, libXxf86vm, openal, libGLU_combined }:
stdenv.mkDerivation rec {
- name = "allegro-${version}";
+ pname = "allegro";
version="4.4.2";
src = fetchurl {
- url = "https://github.com/liballeg/allegro5/releases/download/${version}/${name}.tar.gz";
+ url = "https://github.com/liballeg/allegro5/releases/download/${version}/${pname}-${version}.tar.gz";
sha256 = "1p0ghkmpc4kwij1z9rzxfv7adnpy4ayi0ifahlns1bdzgmbyf88v";
};
diff --git a/pkgs/development/libraries/alure/default.nix b/pkgs/development/libraries/alure/default.nix
index 95828c44f85..a4f3b714e1c 100644
--- a/pkgs/development/libraries/alure/default.nix
+++ b/pkgs/development/libraries/alure/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, cmake, openal }:
stdenv.mkDerivation rec {
- name = "alure-${version}";
+ pname = "alure";
version = "1.2";
src = fetchurl {
diff --git a/pkgs/development/libraries/amrwb/default.nix b/pkgs/development/libraries/amrwb/default.nix
index 15331c22599..7525b3baab0 100644
--- a/pkgs/development/libraries/amrwb/default.nix
+++ b/pkgs/development/libraries/amrwb/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
- name = "amrwb-${version}";
+ pname = "amrwb";
version = "11.0.0.0";
srcAmr = fetchurl {
diff --git a/pkgs/development/libraries/amtk/default.nix b/pkgs/development/libraries/amtk/default.nix
index cb22c9ee790..e8ecd0c0f1e 100644
--- a/pkgs/development/libraries/amtk/default.nix
+++ b/pkgs/development/libraries/amtk/default.nix
@@ -32,7 +32,7 @@ in stdenv.mkDerivation {
meta = with stdenv.lib; {
homepage = https://wiki.gnome.org/Projects/Amtk;
- description = "Actions, Menus and Toolbars Kit for GTK+ applications";
+ description = "Actions, Menus and Toolbars Kit for GTK applications";
maintainers = [ maintainers.manveru ];
license = licenses.lgpl21Plus;
platforms = platforms.linux;
diff --git a/pkgs/development/libraries/apache-activemq/default.nix b/pkgs/development/libraries/apache-activemq/default.nix
index fc79cae36f8..9fc11555b69 100644
--- a/pkgs/development/libraries/apache-activemq/default.nix
+++ b/pkgs/development/libraries/apache-activemq/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "apache-activemq-${version}";
+ pname = "apache-activemq";
version = "5.14.5";
src = fetchurl {
sha256 = "0vm8z7rxb9n10xg5xjahy357704fw3q477hmpb83kd1zrc633g54";
- url = "mirror://apache/activemq/${version}/${name}-bin.tar.gz";
+ url = "mirror://apache/activemq/${version}/${pname}-${version}-bin.tar.gz";
};
phases = [ "unpackPhase" "installPhase" ];
diff --git a/pkgs/development/libraries/appstream-glib/default.nix b/pkgs/development/libraries/appstream-glib/default.nix
index 45ad58819c3..694d91d5a0a 100644
--- a/pkgs/development/libraries/appstream-glib/default.nix
+++ b/pkgs/development/libraries/appstream-glib/default.nix
@@ -1,7 +1,26 @@
-{ stdenv, fetchFromGitHub, substituteAll, pkgconfig, gettext, gtk3, glib
-, gtk-doc, libarchive, gobject-introspection, libxslt, pngquant
-, sqlite, libsoup, attr, acl, docbook_xsl, docbook_xml_dtd_42
-, libuuid, json-glib, meson, gperf, ninja, gdk_pixbuf
+{ stdenv
+, fetchFromGitHub
+, substituteAll
+, docbook_xml_dtd_42
+, docbook_xsl
+, fontconfig
+, freetype
+, gdk-pixbuf
+, gettext
+, glib
+, gobject-introspection
+, gperf
+, gtk-doc
+, gtk3
+, json-glib
+, libarchive
+, libsoup
+, libuuid
+, libxslt
+, meson
+, ninja
+, pkgconfig
+, pngquant
}:
stdenv.mkDerivation rec {
name = "appstream-glib-0.7.15";
@@ -12,19 +31,39 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "hughsie";
repo = "appstream-glib";
- rev = stdenv.lib.replaceStrings ["." "-"] ["_" "_"] name;
+ rev = stdenv.lib.replaceStrings [ "." "-" ] [ "_" "_" ] name;
sha256 = "16cqs1s7nqc551sipgaxbbzwap1km0n12s4lcgfbxzzl9bcjbp9m";
};
nativeBuildInputs = [
- meson pkgconfig ninja gtk-doc libxslt docbook_xsl docbook_xml_dtd_42 gobject-introspection
+ docbook_xml_dtd_42
+ docbook_xsl
+ gettext
+ gobject-introspection
+ gperf
+ gtk-doc
+ libxslt
+ meson
+ ninja
+ pkgconfig
];
+
buildInputs = [
- glib gettext sqlite libsoup
- attr acl libuuid json-glib
- libarchive gperf gdk_pixbuf
+ fontconfig
+ freetype
+ gdk-pixbuf
+ glib
+ gtk3
+ json-glib
+ libarchive
+ libsoup
+ libuuid
+ ];
+
+ propagatedBuildInputs = [
+ glib
+ gdk-pixbuf
];
- propagatedBuildInputs = [ gtk3 ];
patches = [
(substituteAll {
@@ -49,7 +88,7 @@ stdenv.mkDerivation rec {
description = "Objects and helper methods to read and write AppStream metadata";
homepage = https://people.freedesktop.org/~hughsient/appstream-glib/;
license = licenses.lgpl2Plus;
- platforms = platforms.linux;
+ platforms = platforms.unix;
maintainers = with maintainers; [ lethalman matthewbauer ];
};
}
diff --git a/pkgs/development/libraries/appstream/default.nix b/pkgs/development/libraries/appstream/default.nix
index f59a3fd713f..62d72844386 100644
--- a/pkgs/development/libraries/appstream/default.nix
+++ b/pkgs/development/libraries/appstream/default.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchpatch, fetchFromGitHub, meson, ninja, pkgconfig, gettext
+{ stdenv, fetchFromGitHub, meson, ninja, pkgconfig, gettext
, xmlto, docbook_xsl, docbook_xml_dtd_45, libxslt
, libstemmer, glib, xapian, libxml2, libyaml, gobject-introspection
, pcre, itstool, gperf, vala
}:
stdenv.mkDerivation rec {
- name = "appstream-${version}";
+ pname = "appstream";
version = "0.12.6";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/appstream/qt.nix b/pkgs/development/libraries/appstream/qt.nix
index 0013764d779..22f1566ad0a 100644
--- a/pkgs/development/libraries/appstream/qt.nix
+++ b/pkgs/development/libraries/appstream/qt.nix
@@ -2,8 +2,8 @@
# TODO: look into using the libraries from the regular appstream derivation as we keep duplicates here
-stdenv.mkDerivation rec {
- name = "appstream-qt-${version}";
+stdenv.mkDerivation {
+ pname = "appstream-qt";
inherit (appstream) version src prePatch;
buildInputs = appstream.buildInputs ++ [ appstream qtbase ];
diff --git a/pkgs/development/libraries/aqbanking/default.nix b/pkgs/development/libraries/aqbanking/default.nix
index b26291469e7..8be98f061a8 100644
--- a/pkgs/development/libraries/aqbanking/default.nix
+++ b/pkgs/development/libraries/aqbanking/default.nix
@@ -5,14 +5,14 @@
let
inherit ((import ./sources.nix).aqbanking) sha256 releaseId version;
in stdenv.mkDerivation rec {
- name = "aqbanking-${version}";
+ pname = "aqbanking";
inherit version;
src = let
qstring = "package=03&release=${releaseId}&file=02";
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
in fetchurl {
- name = "${name}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
inherit sha256;
};
diff --git a/pkgs/development/libraries/aqbanking/gwenhywfar.nix b/pkgs/development/libraries/aqbanking/gwenhywfar.nix
index bb337e471cf..061ed77849f 100644
--- a/pkgs/development/libraries/aqbanking/gwenhywfar.nix
+++ b/pkgs/development/libraries/aqbanking/gwenhywfar.nix
@@ -13,14 +13,14 @@
let
inherit ((import ./sources.nix).gwenhywfar) sha256 releaseId version;
in stdenv.mkDerivation rec {
- name = "gwenhywfar-${version}";
+ pname = "gwenhywfar";
inherit version;
src = let
qstring = "package=01&release=${releaseId}&file=02";
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
in fetchurl {
- name = "${name}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
inherit sha256;
};
diff --git a/pkgs/development/libraries/aqbanking/libchipcard.nix b/pkgs/development/libraries/aqbanking/libchipcard.nix
index 9a0b70e0d97..23c300ab48a 100644
--- a/pkgs/development/libraries/aqbanking/libchipcard.nix
+++ b/pkgs/development/libraries/aqbanking/libchipcard.nix
@@ -3,14 +3,14 @@
let
inherit ((import ./sources.nix).libchipcard) sha256 releaseId version;
in stdenv.mkDerivation rec {
- name = "libchipcard-${version}";
+ pname = "libchipcard";
inherit version;
src = let
qstring = "package=02&release=${releaseId}&file=01";
mkURLs = map (base: "${base}/sites/download/download.php?${qstring}");
in fetchurl {
- name = "${name}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
urls = mkURLs [ "http://www.aquamaniac.de" "http://www2.aquamaniac.de" ];
inherit sha256;
};
diff --git a/pkgs/development/libraries/aravis/default.nix b/pkgs/development/libraries/aravis/default.nix
index ba68f046b0a..9d506b10e35 100644
--- a/pkgs/development/libraries/aravis/default.nix
+++ b/pkgs/development/libraries/aravis/default.nix
@@ -33,13 +33,13 @@ in
stdenv.mkDerivation rec {
pname = "aravis";
- version = "0.6.2";
+ version = "0.6.3";
src = fetchFromGitHub {
owner = "AravisProject";
repo = pname;
rev= "ARAVIS_${builtins.replaceStrings ["."] ["_"] version}";
- sha256 = "0zlmw040iv0xx9qw7ygzbl96bli6ivll2fbziv19f4bdc0yhqjpw";
+ sha256 = "0lmgx854z522dwcxsg37bxdyiai9fnycpx1nvgayksj38h39kfn2";
};
outputs = [ "bin" "dev" "out" "lib" ];
diff --git a/pkgs/development/libraries/arb/default.nix b/pkgs/development/libraries/arb/default.nix
index 4c34e40586f..0e24d556b1a 100644
--- a/pkgs/development/libraries/arb/default.nix
+++ b/pkgs/development/libraries/arb/default.nix
@@ -1,12 +1,11 @@
-{stdenv, fetchFromGitHub, fetchpatch, mpir, gmp, mpfr, flint}:
+{stdenv, fetchFromGitHub, mpir, gmp, mpfr, flint}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "arb";
version = "2.16.0";
src = fetchFromGitHub {
owner = "fredrik-johansson";
- repo = "${pname}";
- rev = "${version}";
+ repo = pname;
+ rev = version;
sha256 = "0478671wfwy3gl26sbxh1jq1ih36z4k72waa8y2y2lvn649gb7cd";
};
buildInputs = [mpir gmp mpfr flint];
@@ -22,6 +21,6 @@ stdenv.mkDerivation rec {
description = ''A library for arbitrary-precision interval arithmetic'';
license = stdenv.lib.licenses.lgpl21Plus;
maintainers = with maintainers; [ raskin timokau ];
- platforms = stdenv.lib.platforms.linux;
+ platforms = stdenv.lib.platforms.unix;
};
}
diff --git a/pkgs/development/libraries/argp-standalone/default.nix b/pkgs/development/libraries/argp-standalone/default.nix
index 4b8093f7403..17093deae00 100644
--- a/pkgs/development/libraries/argp-standalone/default.nix
+++ b/pkgs/development/libraries/argp-standalone/default.nix
@@ -19,7 +19,7 @@ let
sha256 = "1xx2zdc187a1m2x6c1qs62vcrycbycw7n0q3ks2zkxpaqzx2dgkw";
};
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "argp-standalone-1.3";
src = fetchurl {
diff --git a/pkgs/development/libraries/armadillo/default.nix b/pkgs/development/libraries/armadillo/default.nix
index 7ef4feab188..127c2f3ae31 100644
--- a/pkgs/development/libraries/armadillo/default.nix
+++ b/pkgs/development/libraries/armadillo/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, cmake, openblasCompat, superlu, hdf5 }:
stdenv.mkDerivation rec {
- version = "9.300.2";
- name = "armadillo-${version}";
+ pname = "armadillo";
+ version = "9.600.6";
src = fetchurl {
url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
- sha256 = "1d2nsbspj9vzgzb6w2vgjv2wzidjzc8sr8wkz2zl7wxpgspl299n";
+ sha256 = "0wlk1yv9531vpvgja4cpy0sxykrn0p5w376kx86vl45b50yamx7g";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/arrow-cpp/default.nix b/pkgs/development/libraries/arrow-cpp/default.nix
index 7f7ef3336a4..f763f98799d 100644
--- a/pkgs/development/libraries/arrow-cpp/default.nix
+++ b/pkgs/development/libraries/arrow-cpp/default.nix
@@ -1,38 +1,40 @@
-{ stdenv, fetchurl, fetchFromGitHub, autoconf, boost, brotli, cmake, double-conversion, flatbuffers, gflags, glog, gtest, lz4, perl, python, rapidjson, snappy, thrift, uriparser, which, zlib, zstd }:
+{ stdenv, fetchurl, fetchFromGitHub, fixDarwinDylibNames, autoconf, boost, brotli, cmake, double-conversion, flatbuffers, gflags, glog, gtest, lz4, perl, python, rapidjson, snappy, thrift, uriparser, which, zlib, zstd }:
let
parquet-testing = fetchFromGitHub {
owner = "apache";
repo = "parquet-testing";
- rev = "8991d0b58d5a59925c87dd2a0bdb59a5a4a16bd4";
- sha256 = "00js5d1s98y3ianrvh1ggrd157yfmia4g55jx9xmfcz4a8mcbawx";
- };
-
- # Enable non-bundled uriparser
- # Introduced in https://github.com/apache/arrow/pull/4092
- Finduriparser_cmake = fetchurl {
- url = https://raw.githubusercontent.com/apache/arrow/af4f52961209a5f1b43a19483536285c957e3bed/cpp/cmake_modules/Finduriparser.cmake;
- sha256 = "1cylrw00n2nkc2c49xk9j3rrza351rpravxgpw047vimcw0sk93s";
+ rev = "a277dc4e55ded3e3ea27dab1e4faf98c112442df";
+ sha256 = "1yh5a8l4ship36hwmgmp2kl72s5ac9r8ly1qcs650xv2g9q7yhnq";
};
in
stdenv.mkDerivation rec {
- name = "arrow-cpp-${version}";
- version = "0.13.0";
+ pname = "arrow-cpp";
+ version = "0.14.1";
src = fetchurl {
url = "mirror://apache/arrow/arrow-${version}/apache-arrow-${version}.tar.gz";
- sha256 = "06irh5zx6lc7jjf6hpz1vzk0pvbdx08lcirc8cp8ksb8j7fpfamc";
+ sha256 = "0a0xrsbr7dd1yp34yw82jw7psfkfvm935jhd5mam32vrsjvdsj4r";
};
sourceRoot = "apache-arrow-${version}/cpp";
+ ARROW_JEMALLOC_URL = fetchurl {
+ # From
+ # ./cpp/cmake_modules/ThirdpartyToolchain.cmake
+ # ./cpp/thirdparty/versions.txt
+ url = "https://github.com/jemalloc/jemalloc/releases/download/5.2.0/jemalloc-5.2.0.tar.bz2";
+ sha256 = "1d73a5c5qdrwck0fa5pxz0myizaf3s9alsvhiqwrjahdlr29zgkl";
+ };
+
patches = [
# patch to fix python-test
./darwin.patch
];
- nativeBuildInputs = [ cmake autoconf /* for vendored jemalloc */ ];
+ nativeBuildInputs = [ cmake autoconf /* for vendored jemalloc */ ]
+ ++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
buildInputs = [
boost brotli double-conversion flatbuffers gflags glog gtest lz4 rapidjson
snappy thrift uriparser zlib zstd python.pkgs.python python.pkgs.numpy
@@ -41,8 +43,6 @@ stdenv.mkDerivation rec {
preConfigure = ''
substituteInPlace cmake_modules/FindLz4.cmake --replace CMAKE_STATIC_LIBRARY CMAKE_SHARED_LIBRARY
- cp ${Finduriparser_cmake} cmake_modules/Finduriparser.cmake
-
patchShebangs build-support/
# Fix build for ARROW_USE_SIMD=OFF
@@ -63,7 +63,7 @@ stdenv.mkDerivation rec {
PARQUET_TEST_DATA = if doInstallCheck then "${parquet-testing}/data" else null;
installCheckInputs = [ perl which ];
installCheckPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
- for f in release/*-test; do
+ for f in release/*test; do
install_name_tool -add_rpath "$out"/lib "$f"
done
'') + ''
diff --git a/pkgs/development/libraries/asio/generic.nix b/pkgs/development/libraries/asio/generic.nix
index 72305cb633f..b8d166507a9 100644
--- a/pkgs/development/libraries/asio/generic.nix
+++ b/pkgs/development/libraries/asio/generic.nix
@@ -5,7 +5,8 @@
with stdenv.lib;
stdenv.mkDerivation {
- name = "asio-${version}";
+ pname = "asio";
+ inherit version;
src = fetchurl {
url = "mirror://sourceforge/asio/asio-${version}.tar.bz2";
diff --git a/pkgs/development/libraries/aspell/dictionaries.nix b/pkgs/development/libraries/aspell/dictionaries.nix
index 992119faf65..fa9a45f1ed3 100644
--- a/pkgs/development/libraries/aspell/dictionaries.nix
+++ b/pkgs/development/libraries/aspell/dictionaries.nix
@@ -160,7 +160,7 @@ in rec {
### Languages
- af = buildOfficialDict rec {
+ af = buildOfficialDict {
language = "af";
version = "0.50-0";
fullName = "Afrikaans";
@@ -168,7 +168,7 @@ in rec {
sha256 = "00p6k2ndi0gzfr5fkbvx4hkcpj223pidjvmxg0r384arrap00q4x";
};
- am = buildOfficialDict rec {
+ am = buildOfficialDict {
language = "am";
version = "0.03-1";
fullName = "Amharic";
@@ -176,7 +176,7 @@ in rec {
sha256 = "11ylp7gjq94wfacyawvp391lsq26rl1b84f268rjn7l7z0hxs9xz";
};
- ar = buildOfficialDict rec {
+ ar = buildOfficialDict {
language = "ar";
version = "1.2-0";
fullName = "Arabic";
@@ -184,7 +184,7 @@ in rec {
sha256 = "1avw40bp8yi5bnkq64ihm2rldgw34lk89yz281q9bmndh95a47h4";
};
- ast = buildOfficialDict rec {
+ ast = buildOfficialDict {
language = "ast";
version = "0.01";
fullName = "Asturian";
@@ -192,7 +192,7 @@ in rec {
sha256 = "14hg85mxcyvdigf96yvslk7f3v9ngdsxn85qpgwkg31k3k83xwj3";
};
- az = buildOfficialDict rec {
+ az = buildOfficialDict {
language = "az";
version = "0.02-0";
fullName = "Azerbaijani";
@@ -200,7 +200,7 @@ in rec {
sha256 = "1hs4h1jscpxf9f9iyk6mvjqsnhkf0yslkbjhjkasqqcx8pn7cc86";
};
- be = buildOfficialDict rec {
+ be = buildOfficialDict {
language = "be";
version = "0.01";
fullName = "Belarusian";
@@ -208,7 +208,7 @@ in rec {
sha256 = "1svls9p7rsfi3hs0afh0cssj006qb4v1ik2yzqgj8hm10c6as2sm";
};
- bg = buildOfficialDict rec {
+ bg = buildOfficialDict {
language = "bg";
version = "4.1-0";
fullName = "Bulgarian";
@@ -216,7 +216,7 @@ in rec {
sha256 = "1alacmgpfk0yrgq83y23d16fhav1bxmb98kg8d2a5r9bvh2h0mvl";
};
- bn = buildOfficialDict rec {
+ bn = buildOfficialDict {
language = "bn";
version = "0.01.1-1";
fullName = "Bengali";
@@ -224,7 +224,7 @@ in rec {
sha256 = "1nc02jd67iggirwxnhdvlvaqm0xfyks35c4psszzj3dhzv29qgxh";
};
- br = buildOfficialDict rec {
+ br = buildOfficialDict {
language = "br";
version = "0.50-2";
fullName = "Breton";
@@ -232,7 +232,7 @@ in rec {
sha256 = "0fradnm8424bkq9a9zhpl2132dk7y95xmw45sy1c0lx6rinjl4n2";
};
- ca = buildOfficialDict rec {
+ ca = buildOfficialDict {
language = "ca";
version = "2.1.5-1";
fullName = "Catalan";
@@ -240,7 +240,7 @@ in rec {
sha256 = "1fb5y5kgvk25nlsfvc8cai978hg66x3pbp9py56pldc7vxzf9npb";
};
- cs = buildOfficialDict rec {
+ cs = buildOfficialDict {
language = "cs";
version = "20040614-1";
fullName = "Czech";
@@ -248,7 +248,7 @@ in rec {
sha256 = "0rihj4hsw96pd9casvmpvw3r8040pfa28p1h73x4vyn20zwr3h01";
};
- csb = buildOfficialDict rec {
+ csb = buildOfficialDict {
language = "csb";
version = "0.02-0";
fullName = "Kashubian";
@@ -256,7 +256,7 @@ in rec {
sha256 = "1612ypkm684wjvc7n081i87mlrrzif9simc7kyn177hfsl3ssrn1";
};
- cy = buildOfficialDict rec {
+ cy = buildOfficialDict {
language = "cy";
version = "0.50-3";
fullName = "Welsh";
@@ -264,7 +264,7 @@ in rec {
sha256 = "15vq601lzz1gi311xym4bv9lv1k21xcfn50jmzamw7h6f36rsffm";
};
- da = buildOfficialDict rec {
+ da = buildOfficialDict {
language = "da";
version = "1.4.42-1";
fullName = "Danish";
@@ -272,7 +272,7 @@ in rec {
sha256 = "1hfkmiyhgrx5lgrb2mffjbdn1hivrm73wcg7x0iid74p2yb0fjpp";
};
- de = buildOfficialDict rec {
+ de = buildOfficialDict {
language = "de";
version = "20030222-1";
fullName = "German";
@@ -280,7 +280,7 @@ in rec {
sha256 = "01p92qj66cqb346gk7hjfynaap5sbcn85xz07kjfdq623ghr8v5s";
};
- de-alt = buildOfficialDict rec {
+ de-alt = buildOfficialDict {
language = "de-alt";
version = "2.1-1";
fullName = "German - Old Spelling";
@@ -288,7 +288,7 @@ in rec {
sha256 = "0wwc2l29svv3fv041fh6vfa5m3hi9q9pkbxibzq1ysrsfin3rl9n";
};
- el = buildOfficialDict rec {
+ el = buildOfficialDict {
language = "el";
version = "0.08-0";
fullName = "Greek";
@@ -296,7 +296,7 @@ in rec {
sha256 = "1ljcc30zg2v2h3w5h5jr5im41mw8jbsgvvhdd2cii2yzi8d0zxja";
};
- en = buildOfficialDict rec {
+ en = buildOfficialDict {
language = "en";
version = "2018.04.16-0";
fullName = "English";
@@ -304,7 +304,7 @@ in rec {
sha256 = "0bxxdzkk9g27plg22y9qzsx9cfjw3aa29w5bmzs561qc9gkp247i";
};
- eo = buildOfficialDict rec {
+ eo = buildOfficialDict {
language = "eo";
version = "2.1.20000225a-2";
fullName = "Esperanto";
@@ -312,7 +312,7 @@ in rec {
sha256 = "09vf0mbiicbmyb4bwb7v7lgpabnylg0wy7m3hlhl5rjdda6x3lj1";
};
- es = buildOfficialDict rec {
+ es = buildOfficialDict {
language = "es";
version = "1.11-2";
fullName = "Spanish";
@@ -320,7 +320,7 @@ in rec {
sha256 = "1k5g328ac1hdpp6fsg57d8md6i0aqcwlszp3gbmp5706wyhpydmd";
};
- et = buildOfficialDict rec {
+ et = buildOfficialDict {
language = "et";
version = "0.1.21-1";
fullName = "Estonian";
@@ -328,7 +328,7 @@ in rec {
sha256 = "0jdjfa2fskirhnb70fy86xryp9r6gkl729ib8qcjmsma7nm5gs5i";
};
- fa = buildOfficialDict rec {
+ fa = buildOfficialDict {
language = "fa";
version = "0.11-0";
fullName = "Persian";
@@ -336,7 +336,7 @@ in rec {
sha256 = "0nz1ybwv56q7nl9ip12hfmdch1vyyq2j55bkjcns13lshzm2cba8";
};
- fi = buildOfficialDict rec {
+ fi = buildOfficialDict {
language = "fi";
version = "0.7-0";
fullName = "Finnish";
@@ -344,7 +344,7 @@ in rec {
sha256 = "07d5s08ba4dd89cmwy9icc01i6fjdykxlb9ravmhdrhi8mxz1mzq";
};
- fo = buildOfficialDict rec {
+ fo = buildOfficialDict {
language = "fo";
version = "0.2.16-1";
fullName = "Faroese";
@@ -352,7 +352,7 @@ in rec {
sha256 = "022yz5lll20xrzizcyb7wksm3fgwklnvgnir5la5qkxv770dvq7p";
};
- fr = buildOfficialDict rec {
+ fr = buildOfficialDict {
language = "fr";
version = "0.50-3";
fullName = "French";
@@ -360,7 +360,7 @@ in rec {
sha256 = "14ffy9mn5jqqpp437kannc3559bfdrpk7r36ljkzjalxa53i0hpr";
};
- fy = buildOfficialDict rec {
+ fy = buildOfficialDict {
language = "fy";
version = "0.12-0";
fullName = "Frisian";
@@ -368,7 +368,7 @@ in rec {
sha256 = "1almi6n4ni91d0rzrk8ig0473m9ypbwqmg56hchz76j51slwyirl";
};
- ga = buildOfficialDict rec {
+ ga = buildOfficialDict {
language = "ga";
version = "4.5-0";
fullName = "Irish";
@@ -376,7 +376,7 @@ in rec {
sha256 = "0y869mmvfb3bzadfgajwa2rfb0xfhi6m9ydwgxkb9v2claydnps5";
};
- gd = buildOfficialDict rec {
+ gd = buildOfficialDict {
language = "gd";
version = "0.1.1-1";
fullName = "Scottish Gaelic";
@@ -384,7 +384,7 @@ in rec {
sha256 = "0a89irv5d65j5m9sb0k36851x5rs0wij12gb2m6hv2nsfn5a05p3";
};
- gl = buildOfficialDict rec {
+ gl = buildOfficialDict {
language = "gl";
version = "0.5a-2";
fullName = "Galician";
@@ -392,7 +392,7 @@ in rec {
sha256 = "12pwghmy18fcdvf9hvhb4q6shi339hb1kwxpkz0bhw0yjxjwzkdk";
};
- grc = buildOfficialDict rec {
+ grc = buildOfficialDict {
language = "grc";
version = "0.02-0";
fullName = "Ancient Greek";
@@ -400,7 +400,7 @@ in rec {
sha256 = "1zxr8958v37v260fkqd4pg37ns5h5kyqm54hn1hg70wq5cz8h512";
};
- gu = buildOfficialDict rec {
+ gu = buildOfficialDict {
language = "gu";
version = "0.03-0";
fullName = "Gujarati";
@@ -408,7 +408,7 @@ in rec {
sha256 = "04c38jnl74lpj2jhjz4zpqbs2623vwc71m6wc5h4b1karid14b23";
};
- gv = buildOfficialDict rec {
+ gv = buildOfficialDict {
language = "gv";
version = "0.50-0";
fullName = "Manx Gaelic";
@@ -416,7 +416,7 @@ in rec {
sha256 = "1rknf4yaw9s29c77sdzg98nhnmjwpicdb69igmz1n768npz2drmv";
};
- he = buildOfficialDict rec {
+ he = buildOfficialDict {
language = "he";
version = "1.0-0";
fullName = "Hebrew";
@@ -424,7 +424,7 @@ in rec {
sha256 = "13bhbghx5b8g0119g3wxd4n8mlf707y41vlf59irxjj0kynankfn";
};
- hi = buildOfficialDict rec {
+ hi = buildOfficialDict {
language = "hi";
version = "0.02-0";
fullName = "Hindi";
@@ -432,7 +432,7 @@ in rec {
sha256 = "0drs374qz4419zx1lf2k281ydxf2750jk5ailafj1x0ncz27h1ys";
};
- hil = buildOfficialDict rec {
+ hil = buildOfficialDict {
language = "hil";
version = "0.11-0";
fullName = "Hiligaynon";
@@ -440,7 +440,7 @@ in rec {
sha256 = "1s482fsfhzic9qa80al4418q3ni3gfn2bkwkd2y46ydrs17kf2jp";
};
- hr = buildOfficialDict rec {
+ hr = buildOfficialDict {
language = "hr";
version = "0.51-0";
fullName = "Croatian";
@@ -448,7 +448,7 @@ in rec {
sha256 = "09aafyf1vqhaxvcf3jfzf365k394b5pf0iivsr2ix5npah1h7i1a";
};
- hsb = buildOfficialDict rec {
+ hsb = buildOfficialDict {
language = "hsb";
version = "0.02-0";
fullName = "Upper Sorbian";
@@ -456,7 +456,7 @@ in rec {
sha256 = "0bi2vhz7n1vmg43wbbh935pmzihv80iyz9z65j94lxf753j2m7wd";
};
- hu = buildOfficialDict rec {
+ hu = buildOfficialDict {
language = "hu";
version = "0.99.4.2-0";
fullName = "Hungarian";
@@ -464,7 +464,7 @@ in rec {
sha256 = "1d9nybip2k1dz69zly3iv0npbi3yxgfznh1py364nxzrbjsafd9k";
};
- hus = buildOfficialDict rec {
+ hus = buildOfficialDict {
language = "hus";
version = "0.03-1";
fullName = "Huastec";
@@ -472,7 +472,7 @@ in rec {
sha256 = "09glipfpkz9xch17z11zw1yn2z7jx1f2svfmjn9l6wm1s5qz6a3d";
};
- hy = buildOfficialDict rec {
+ hy = buildOfficialDict {
language = "hy";
version = "0.10.0-0";
fullName = "Armenian";
@@ -480,7 +480,7 @@ in rec {
sha256 = "1w5wq8lfl2xp1nid30b1j5qmya4vjyidq0vpr4y3gf53jc08vsid";
};
- ia = buildOfficialDict rec {
+ ia = buildOfficialDict {
language = "ia";
version = "0.50-1";
fullName = "Interlingua";
@@ -488,7 +488,7 @@ in rec {
sha256 = "0bqcpgsa72pga24fv4fkw38b4qqdvqsw97jvzvw7q03dc1cwp5sp";
};
- id = buildOfficialDict rec {
+ id = buildOfficialDict {
language = "id";
version = "1.2-0";
fullName = "Indonesian";
@@ -496,7 +496,7 @@ in rec {
sha256 = "023knfg0q03f7y5w6xnwa1kspnrcvcnky8xvdms93n2850414faj";
};
- is = buildOfficialDict rec {
+ is = buildOfficialDict {
language = "is";
version = "0.51.1-0";
fullName = "Icelandic";
@@ -504,7 +504,7 @@ in rec {
sha256 = "1mp3248lhbr13cj7iq9zs7h5ix0dcwlprp5cwrkcwafrv8lvsd9h";
};
- it = buildOfficialDict rec {
+ it = buildOfficialDict {
language = "it";
version = "2.2_20050523-0";
fullName = "Italian";
@@ -512,7 +512,7 @@ in rec {
sha256 = "1gdf7bc1a0kmxsmphdqq8pl01h667mjsj6hihy6kqy14k5qdq69v";
};
- kn = buildOfficialDict rec {
+ kn = buildOfficialDict {
language = "kn";
version = "0.01-1";
fullName = "Kannada";
@@ -520,7 +520,7 @@ in rec {
sha256 = "10sk0wx4x4ds1403kf9dqxv9yjvh06w8qqf4agx57y0jlws0n0fb";
};
- ku = buildOfficialDict rec {
+ ku = buildOfficialDict {
language = "ku";
version = "0.20-1";
fullName = "Kurdi";
@@ -528,7 +528,7 @@ in rec {
sha256 = "09va98krfbgdaxl101nmd85j3ysqgg88qgfcl42c07crii0pd3wn";
};
- ky = buildOfficialDict rec {
+ ky = buildOfficialDict {
language = "ky";
version = "0.01-0";
fullName = "Kirghiz";
@@ -536,7 +536,7 @@ in rec {
sha256 = "0kzv2syjnnn6pnwx0d578n46hg2l0j62977al47y6wabnhjjy3z1";
};
- la = buildOfficialDict rec {
+ la = buildOfficialDict {
language = "la";
version = "20020503-0";
fullName = "Latin";
@@ -544,7 +544,7 @@ in rec {
sha256 = "1199inwi16dznzl087v4skn66fl7h555hi2palx6s1f3s54b11nl";
};
- lt = buildOfficialDict rec {
+ lt = buildOfficialDict {
language = "lt";
version = "1.2.1-0";
fullName = "Lithuanian";
@@ -552,7 +552,7 @@ in rec {
sha256 = "1asjck911l96q26zj36lmz0jp4b6pivvrf3h38zgc8lc85p3pxgn";
};
- lv = buildOfficialDict rec {
+ lv = buildOfficialDict {
language = "lv";
version = "0.5.5-1";
fullName = "Latvian";
@@ -560,7 +560,7 @@ in rec {
sha256 = "12pvs584a6437ijndggdqpp5s7d0w607cimpkxsjwasnx83f4c1w";
};
- mg = buildOfficialDict rec {
+ mg = buildOfficialDict {
language = "mg";
version = "0.03-0";
fullName = "Malagasy";
@@ -568,7 +568,7 @@ in rec {
sha256 = "0hdhbk9b5immjp8l5h4cy82gwgsqzcqbb0qsf7syw333w4rgi0ji";
};
- mi = buildOfficialDict rec {
+ mi = buildOfficialDict {
language = "mi";
version = "0.50-0";
fullName = "Maori";
@@ -576,7 +576,7 @@ in rec {
sha256 = "12bxplpd348yx8d2q8qvahi9dlp7qf28qmanzhziwc7np8rixvmy";
};
- mk = buildOfficialDict rec {
+ mk = buildOfficialDict {
language = "mk";
version = "0.50-0";
fullName = "Macedonian";
@@ -584,7 +584,7 @@ in rec {
sha256 = "0wcr9n882xi5b7a7ln1hnhq4vfqd5gpqqp87v01j0gb7zf027z0m";
};
- ml = buildOfficialDict rec {
+ ml = buildOfficialDict {
language = "ml";
version = "0.03-1";
fullName = "Malayalam";
@@ -592,7 +592,7 @@ in rec {
sha256 = "1zcn4114gwia085fkz77qk13z29xrbp53q2qvgj2cvcbalg5bkg4";
};
- mn = buildOfficialDict rec {
+ mn = buildOfficialDict {
language = "mn";
version = "0.06-2";
fullName = "Mongolian";
@@ -600,7 +600,7 @@ in rec {
sha256 = "150j9y5c9pw80fwp5rzl5q31q9vjbxixaqljkfwxjb5q93fnw6rg";
};
- mr = buildOfficialDict rec {
+ mr = buildOfficialDict {
language = "mr";
version = "0.10-0";
fullName = "Marathi";
@@ -608,7 +608,7 @@ in rec {
sha256 = "0cvgb2l40sppqbi842ivpznsh2xzp1d4hxc371dll8z0pr05m8yk";
};
- ms = buildOfficialDict rec {
+ ms = buildOfficialDict {
language = "ms";
version = "0.50-0";
fullName = "Malay";
@@ -616,7 +616,7 @@ in rec {
sha256 = "0vr4vhipcfhsxqfs8dim2ph7iiixn22gmlmlb375bx5hgd9y7i1w";
};
- mt = buildOfficialDict rec {
+ mt = buildOfficialDict {
language = "mt";
version = "0.50-0";
fullName = "Maltese";
@@ -624,7 +624,7 @@ in rec {
sha256 = "1d2rl1nlfjq6rfywblvx8m88cyy2x0mzc0mshzbgw359c2nwl3z0";
};
- nb = buildOfficialDict rec {
+ nb = buildOfficialDict {
language = "nb";
version = "0.50.1-0";
fullName = "Norwegian Bokmal";
@@ -632,7 +632,7 @@ in rec {
sha256 = "12i2bmgdnlkzfinb20j2a0j4a20q91a9j8qpq5vgabbvc65nwx77";
};
- nds = buildOfficialDict rec {
+ nds = buildOfficialDict {
language = "nds";
version = "0.01-0";
fullName = "Low Saxon";
@@ -640,7 +640,7 @@ in rec {
sha256 = "1nkjhwzn45dizi89d19q4bqyd87cim8xyrgr655fampgkn31wf6f";
};
- nl = buildOfficialDict rec {
+ nl = buildOfficialDict {
language = "nl";
version = "0.50-2";
fullName = "Dutch";
@@ -652,7 +652,7 @@ in rec {
'';
};
- nn = buildOfficialDict rec {
+ nn = buildOfficialDict {
language = "nn";
version = "0.50.1-1";
fullName = "Norwegian Nynorsk";
@@ -660,7 +660,7 @@ in rec {
sha256 = "0w2k5l5rbqpliripgqwiqixz5ghnjf7i9ggbrc4ly4vy1ia10rmc";
};
- ny = buildOfficialDict rec {
+ ny = buildOfficialDict {
language = "ny";
version = "0.01-0";
fullName = "Chichewa";
@@ -668,7 +668,7 @@ in rec {
sha256 = "0gjb92vcg60sfgvrm2f6i89sfkgb179ahvwlgs649fx3dc7rfvqp";
};
- or = buildOfficialDict rec {
+ or = buildOfficialDict {
language = "or";
version = "0.03-1";
fullName = "Oriya";
@@ -676,7 +676,7 @@ in rec {
sha256 = "0kzj9q225z0ccrlbkijsrafy005pbjy14qcnxb6p93ciz1ls7zyn";
};
- pa = buildOfficialDict rec {
+ pa = buildOfficialDict {
language = "pa";
version = "0.01-1";
fullName = "Punjabi";
@@ -684,7 +684,7 @@ in rec {
sha256 = "0if93zk10pyrs38wwj3vpcdm01h51m5z9gm85h3jxrpgqnqspwy7";
};
- pl = buildOfficialDict rec {
+ pl = buildOfficialDict {
language = "pl";
version = "6.0_20061121-0";
fullName = "Polish";
@@ -692,7 +692,7 @@ in rec {
sha256 = "0kap4kh6bqbb22ypja1m5z3krc06vv4n0hakiiqmv20anzy42xq1";
};
- pt_BR = buildOfficialDict rec {
+ pt_BR = buildOfficialDict {
language = "pt_BR";
version = "20090702-0";
fullName = "Brazilian Portuguese";
@@ -700,7 +700,7 @@ in rec {
sha256 = "1y09lx9zf2rnp55r16b2vgj953l3538z1vaqgflg9mdvm555bz3p";
};
- pt_PT = buildOfficialDict rec {
+ pt_PT = buildOfficialDict {
language = "pt_PT";
version = "20070510-0";
fullName = "Portuguese";
@@ -708,7 +708,7 @@ in rec {
sha256 = "1mnr994cwlag6shy8865ky99lymysiln07mbldcncahg90dagdxq";
};
- qu = buildOfficialDict rec {
+ qu = buildOfficialDict {
language = "qu";
version = "0.02-0";
fullName = "Quechua";
@@ -716,7 +716,7 @@ in rec {
sha256 = "009z0zsvzq7r3z3m30clyibs94v77b92h5lmzmzxlns2p0lpd5w0";
};
- ro = buildOfficialDict rec {
+ ro = buildOfficialDict {
language = "ro";
version = "3.3-2";
fullName = "Romanian";
@@ -724,7 +724,7 @@ in rec {
sha256 = "0gb8j9iy1acdl11jq76idgc2lbc1rq3w04favn8cyh55d1v8phsk";
};
- ru = buildOfficialDict rec {
+ ru = buildOfficialDict {
language = "ru";
version = "0.99f7-1";
fullName = "Russian";
@@ -732,7 +732,7 @@ in rec {
sha256 = "0ip6nq43hcr7vvzbv4lwwmlwgfa60hrhsldh9xy3zg2prv6bcaaw";
};
- rw = buildOfficialDict rec {
+ rw = buildOfficialDict {
language = "rw";
version = "0.50-0";
fullName = "Kinyarwanda";
@@ -740,7 +740,7 @@ in rec {
sha256 = "10gh8g747jbrvfk2fn3pjxy1nhcfdpwgmnvkmrp4nd1k1qp101il";
};
- sc = buildOfficialDict rec {
+ sc = buildOfficialDict {
language = "sc";
version = "1.0";
fullName = "Sardinian";
@@ -748,7 +748,7 @@ in rec {
sha256 = "0hl7prh5rccsyljwrv3m1hjcsphyrrywk2qvnj122irbf4py46jr";
};
- sk = buildOfficialDict rec {
+ sk = buildOfficialDict {
language = "sk";
version = "2.01-2";
fullName = "Slovak";
@@ -756,7 +756,7 @@ in rec {
sha256 = "19k0m1v5pcf7xr4lxgjkzqkdlks8nyb13bvi1n7521f3i4lhma66";
};
- sl = buildOfficialDict rec {
+ sl = buildOfficialDict {
language = "sl";
version = "0.50-0";
fullName = "Slovenian";
@@ -764,7 +764,7 @@ in rec {
sha256 = "1l9kc5g35flq8kw9jhn2n0bjb4sipjs4qkqzgggs438kywkx2rp5";
};
- sr = buildOfficialDict rec {
+ sr = buildOfficialDict {
language = "sr";
version = "0.02";
fullName = "Serbian";
@@ -772,7 +772,7 @@ in rec {
sha256 = "12cj01p4nj80cpf7m3s4jsaf0rsfng7s295j9jfchcq677xmhpkh";
};
- sv = buildOfficialDict rec {
+ sv = buildOfficialDict {
language = "sv";
version = "0.51-0";
fullName = "Swedish";
@@ -780,7 +780,7 @@ in rec {
sha256 = "02jwkjhr32kvyibnyzgx3smbnm576jwdzg3avdf6zxwckhy5fw4v";
};
- sw = buildOfficialDict rec {
+ sw = buildOfficialDict {
language = "sw";
version = "0.50-0";
fullName = "Swahili";
@@ -788,7 +788,7 @@ in rec {
sha256 = "15zjh7hdj2b4dgm5bc12w1ims9q357p1q3gjalspnyn5gl81zmby";
};
- ta = buildOfficialDict rec {
+ ta = buildOfficialDict {
language = "ta";
version = "20040424-1";
fullName = "Tamil";
@@ -796,7 +796,7 @@ in rec {
sha256 = "0sj8ygjsyvnr93cs6324y7az7k2vyw7rjxdc9vnm7z60lbqm5xaj";
};
- te = buildOfficialDict rec {
+ te = buildOfficialDict {
language = "te";
version = "0.01-2";
fullName = "Telugu";
@@ -804,7 +804,7 @@ in rec {
sha256 = "0pgcgxz7dz34zxp9sb85jjzbg3ky6il5wmhffz6ayrbsfn5670in";
};
- tet = buildOfficialDict rec {
+ tet = buildOfficialDict {
language = "tet";
version = "0.1.1";
fullName = "Tetum";
@@ -812,7 +812,7 @@ in rec {
sha256 = "17n0y4fhjak47j9qnqf4m4z6zra6dn72rwhp7ig0hhlgqk4ldmcx";
};
- tk = buildOfficialDict rec {
+ tk = buildOfficialDict {
language = "tk";
version = "0.01-0";
fullName = "Turkmen";
@@ -820,7 +820,7 @@ in rec {
sha256 = "02vad4jqhr0xpzqi5q5z7z0xxqccbn8j0c5dhpnm86mnr84l5wl6";
};
- tl = buildOfficialDict rec {
+ tl = buildOfficialDict {
language = "tl";
version = "0.02-1";
fullName = "Tagalog";
@@ -828,7 +828,7 @@ in rec {
sha256 = "1kca6k7qnpfvvwjnq5r1n242payqsjy96skmw78m7ww6d0n5vdj8";
};
- tn = buildOfficialDict rec {
+ tn = buildOfficialDict {
language = "tn";
version = "1.0.1-0";
fullName = "Setswana";
@@ -836,7 +836,7 @@ in rec {
sha256 = "0q5x7c6z88cn0kkpk7q1craq34g4g03v8x3xcj5a5jia3l7c5821";
};
- tr = buildOfficialDict rec {
+ tr = buildOfficialDict {
language = "tr";
version = "0.50-0";
fullName = "Turkish";
@@ -844,7 +844,7 @@ in rec {
sha256 = "0jpvpm96ga7s7rmsm6rbyrrr22b2dicxv2hy7ysv5y7bbq757ihb";
};
- uk = buildOfficialDict rec {
+ uk = buildOfficialDict {
language = "uk";
version = "1.4.0-0";
fullName = "Ukrainian";
@@ -852,7 +852,7 @@ in rec {
sha256 = "137i4njvnslab6l4s291s11xijr5jsy75lbdph32f9y183lagy9m";
};
- uz = buildOfficialDict rec {
+ uz = buildOfficialDict {
language = "uz";
version = "0.6-0";
fullName = "Uzbek";
@@ -860,7 +860,7 @@ in rec {
sha256 = "0sg3wlyply1idpq5ypyj7kgnaadaiskci1sqs811yhg2gzyc3092";
};
- vi = buildOfficialDict rec {
+ vi = buildOfficialDict {
language = "vi";
version = "0.01.1-1";
fullName = "Vietnamese";
@@ -868,7 +868,7 @@ in rec {
sha256 = "05vwgvf1cj45azhflywx69javqdvqd1f20swrc2d3c32pd9mvn1w";
};
- wa = buildOfficialDict rec {
+ wa = buildOfficialDict {
language = "wa";
version = "0.50-0";
fullName = "Walloon";
@@ -876,7 +876,7 @@ in rec {
sha256 = "1r1zwz7xkx40dga9vf5wc9ja3jwk1dkpcr1kaa7wryvslf5al5ss";
};
- yi = buildOfficialDict rec {
+ yi = buildOfficialDict {
language = "yi";
version = "0.01.1-1";
fullName = "Yiddish";
@@ -884,7 +884,7 @@ in rec {
sha256 = "0mi842l4038bx3ll2wx9nz44nqrg1x46h5b02zigi1hbbddd6ycq";
};
- zu = buildOfficialDict rec {
+ zu = buildOfficialDict {
language = "zu";
version = "0.50-0";
fullName = "Zulu";
@@ -894,7 +894,7 @@ in rec {
### Jargons
- en-computers = buildTxtDict rec {
+ en-computers = buildTxtDict {
shortName = "en-computers";
fullName = "English Computer Jargon";
@@ -913,7 +913,7 @@ in rec {
};
};
- en-science = buildTxtDict rec {
+ en-science = buildTxtDict {
shortName = "en-science";
fullName = "English Scientific Jargon";
diff --git a/pkgs/development/libraries/assimp/default.nix b/pkgs/development/libraries/assimp/default.nix
index 24e06b0d65a..d5a98b0ce92 100644
--- a/pkgs/development/libraries/assimp/default.nix
+++ b/pkgs/development/libraries/assimp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, boost, zlib }:
stdenv.mkDerivation rec {
- name = "assimp-${version}";
+ pname = "assimp";
version = "4.1.0";
src = fetchFromGitHub{
diff --git a/pkgs/development/libraries/at-spi2-atk/default.nix b/pkgs/development/libraries/at-spi2-atk/default.nix
index 6c3f3aa9fa2..a805949bf11 100644
--- a/pkgs/development/libraries/at-spi2-atk/default.nix
+++ b/pkgs/development/libraries/at-spi2-atk/default.nix
@@ -16,12 +16,11 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "at-spi2-atk";
version = "2.32.0";
src = fetchurl {
- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0p54wx6f6q7s8w0b1j0sgw87pikllp79q5g3lfiwqazs779ycl8b";
};
@@ -42,7 +41,7 @@ stdenv.mkDerivation rec {
description = "D-Bus bridge for Assistive Technology Service Provider Interface (AT-SPI) and Accessibility Toolkit (ATK)";
homepage = https://gitlab.gnome.org/GNOME/at-spi2-atk;
license = licenses.lgpl2Plus; # NOTE: 2018-06-06: Please check the license when upstream sorts-out licensing: https://gitlab.gnome.org/GNOME/at-spi2-atk/issues/2
- maintainers = with maintainers; [ jtojnar gnome3.maintainers ];
+ maintainers = gnome3.maintainers;
platforms = platforms.unix;
};
}
diff --git a/pkgs/development/libraries/at-spi2-core/default.nix b/pkgs/development/libraries/at-spi2-core/default.nix
index e5d5313eeb1..e7cea235ceb 100644
--- a/pkgs/development/libraries/at-spi2-core/default.nix
+++ b/pkgs/development/libraries/at-spi2-core/default.nix
@@ -5,6 +5,8 @@
, ninja
, pkgconfig
, gobject-introspection
+, gsettings-desktop-schemas
+, makeWrapper
, dbus
, glib
@@ -17,35 +19,47 @@
}:
stdenv.mkDerivation rec {
- name = "${pname}-${version}";
pname = "at-spi2-core";
version = "2.32.1";
src = fetchurl {
- url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
+ url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "0lqd7gsl471v6538iighkvb21gjglcb9pklvas32rjpsxcvsjaiw";
};
outputs = [ "out" "dev" ];
- nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ]
+ nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection makeWrapper ]
# Fixup rpaths because of meson, remove with meson-0.47
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
buildInputs = [ dbus glib libX11 libXtst libXi ];
doCheck = false; # fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?"
+ # Provide dbus-daemon fallback when it is not already running when
+ # at-spi2-bus-launcher is executed. This allows us to avoid
+ # including the entire dbus closure in libraries linked with
+ # the at-spi2-core libraries.
+ mesonFlags = [ "-Ddbus_daemon=/run/current-system/sw/bin/dbus-daemon" ];
+
passthru = {
updateScript = gnome3.updateScript {
packageName = pname;
};
};
+ postFixup = ''
+ # Cannot use wrapGAppsHook'due to a dependency cycle
+ wrapProgram $out/libexec/at-spi-bus-launcher \
+ --prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
+ --prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
+ '';
+
meta = with stdenv.lib; {
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
license = licenses.lgpl2Plus; # NOTE: 2018-06-06: Please check the license when upstream sorts-out licensing: https://gitlab.gnome.org/GNOME/at-spi2-core/issues/2
- maintainers = with maintainers; [ jtojnar gnome3.maintainers ];
+ maintainers = gnome3.maintainers;
platforms = platforms.unix;
};
}
diff --git a/pkgs/development/libraries/audio/jamomacore/default.nix b/pkgs/development/libraries/audio/jamomacore/default.nix
index b79d85bcd7c..02409d6ace0 100644
--- a/pkgs/development/libraries/audio/jamomacore/default.nix
+++ b/pkgs/development/libraries/audio/jamomacore/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.0-beta.1";
- name = "JamomaCore-${version}";
+ pname = "JamomaCore";
src = fetchFromGitHub {
owner = "jamoma";
diff --git a/pkgs/development/libraries/audio/libbass/default.nix b/pkgs/development/libraries/audio/libbass/default.nix
index 0e1445ca9ee..3552e335fed 100644
--- a/pkgs/development/libraries/audio/libbass/default.nix
+++ b/pkgs/development/libraries/audio/libbass/default.nix
@@ -1,32 +1,38 @@
{ stdenv, unzip, fetchurl }:
-let
- version = "24";
+# Upstream changes files in-place, to update:
+# 1. Check latest version at http://www.un4seen.com/
+# 2. Update `version`s and `sha256` sums.
+# See also http://www.un4seen.com/forum/?topic=18614.0
+let
allBass = {
bass = {
h = "bass.h";
+ version = "2.4.14";
so = {
i686_linux = "libbass.so";
x86_64-linux = "x64/libbass.so";
};
- urlpath = "bass${version}-linux.zip";
- sha256 = "1hjxp1akj8367qlglv5rqpwq2dimfz3bkllwq39abavz4sp8smjz";
+ urlpath = "bass24-linux.zip";
+ sha256 = "1nyzs08z0djyvz6jx1y9y99y0ksp4sxz9l2x43k1c9irls24xpfy";
};
bass_fx = {
h = "C/bass_fx.h";
+ version = "2.4.12.1";
so = {
i686_linux = "libbass_fx.so";
x86_64-linux = "x64/libbass_fx.so";
};
- urlpath = "z/0/bass_fx${version}-linux.zip";
+ urlpath = "z/0/bass_fx24-linux.zip";
sha256 = "1q0g74z7iyhxqps5b3gnnbic8v2jji1r0mkvais57lsx8y21sbin";
};
};
dropBass = name: bass: stdenv.mkDerivation {
- name = "lib${name}-${version}";
+ pname = "lib${name}";
+ inherit (bass) version;
src = fetchurl {
url = "https://www.un4seen.com/files/${bass.urlpath}";
diff --git a/pkgs/development/libraries/audio/libbs2b/default.nix b/pkgs/development/libraries/audio/libbs2b/default.nix
index 3a4c363e23c..2fde40327e9 100644
--- a/pkgs/development/libraries/audio/libbs2b/default.nix
+++ b/pkgs/development/libraries/audio/libbs2b/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, pkgconfig, libsndfile }:
stdenv.mkDerivation rec {
- name = "libbs2b-${version}";
+ pname = "libbs2b";
version = "3.1.0";
src = fetchurl {
- url = "mirror://sourceforge/bs2b/${name}.tar.bz2";
+ url = "mirror://sourceforge/bs2b/${pname}-${version}.tar.bz2";
sha256 = "0vz442kkjn2h0dlxppzi4m5zx8qfyrivq581n06xzvnyxi5rg6a7";
};
diff --git a/pkgs/development/libraries/audio/libgme/default.nix b/pkgs/development/libraries/audio/libgme/default.nix
index ac6f0470a0a..b8f1a5c088a 100644
--- a/pkgs/development/libraries/audio/libgme/default.nix
+++ b/pkgs/development/libraries/audio/libgme/default.nix
@@ -2,7 +2,8 @@
let
version = "0.6.2";
in stdenv.mkDerivation {
- name = "libgme-${version}";
+ pname = "libgme";
+ inherit version;
meta = with stdenv.lib; {
description = "A collection of video game music chip emulators";
diff --git a/pkgs/development/libraries/audio/libmysofa/default.nix b/pkgs/development/libraries/audio/libmysofa/default.nix
index 0f9f5f5aac6..0e0f0c5d425 100644
--- a/pkgs/development/libraries/audio/libmysofa/default.nix
+++ b/pkgs/development/libraries/audio/libmysofa/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, zlib }:
stdenv.mkDerivation rec {
- name = "libmysofa-${version}";
+ pname = "libmysofa";
version = "0.7";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/audio/libsmf/default.nix b/pkgs/development/libraries/audio/libsmf/default.nix
index fe0e0854a32..1c5a5302d71 100644
--- a/pkgs/development/libraries/audio/libsmf/default.nix
+++ b/pkgs/development/libraries/audio/libsmf/default.nix
@@ -2,9 +2,9 @@
stdenv.mkDerivation rec {
version = "1.3";
- name = "libsmf-${version}";
+ pname = "libsmf";
src = fetchurl {
- url = "https://github.com/stump/libsmf/archive/${name}.tar.gz";
+ url = "https://github.com/stump/libsmf/archive/${pname}-${version}.tar.gz";
sha256 = "1527pcc1vd0l5iks2yw8m0bymcrnih2md5465lwpzw0wgy4rky7n";
};
diff --git a/pkgs/development/libraries/audio/lilv/default.nix b/pkgs/development/libraries/audio/lilv/default.nix
index 373d50a0a43..04752fd2951 100644
--- a/pkgs/development/libraries/audio/lilv/default.nix
+++ b/pkgs/development/libraries/audio/lilv/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, sratom, wafHook }:
stdenv.mkDerivation rec {
- name = "lilv-${version}";
+ pname = "lilv";
version = "0.24.4";
src = fetchurl {
- url = "https://download.drobilla.net/${name}.tar.bz2";
+ url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "0f24cd7wkk5l969857g2ydz2kjjrkvvddg1g87xzzs78lsvq8fy3";
};
diff --git a/pkgs/development/libraries/audio/lv2/default.nix b/pkgs/development/libraries/audio/lv2/default.nix
index d026dd258bc..50593cab647 100644
--- a/pkgs/development/libraries/audio/lv2/default.nix
+++ b/pkgs/development/libraries/audio/lv2/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, gtk2, libsndfile, pkgconfig, python, wafHook }:
stdenv.mkDerivation rec {
- name = "lv2-${version}";
+ pname = "lv2";
version = "1.16.0";
src = fetchurl {
- url = "http://lv2plug.in/spec/${name}.tar.bz2";
+ url = "http://lv2plug.in/spec/${pname}-${version}.tar.bz2";
sha256 = "1ppippbpdpv13ibs06b0bixnazwfhiw0d0ja6hx42jnkgdyp5hyy";
};
diff --git a/pkgs/development/libraries/audio/lv2/unstable.nix b/pkgs/development/libraries/audio/lv2/unstable.nix
index 81cc868f52c..6f10283b07b 100644
--- a/pkgs/development/libraries/audio/lv2/unstable.nix
+++ b/pkgs/development/libraries/audio/lv2/unstable.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchgit, gtk2, libsndfile, pkgconfig, python, wafHook }:
-stdenv.mkDerivation rec {
- name = "lv2-unstable-${version}";
+stdenv.mkDerivation {
+ pname = "lv2-unstable";
version = "2017-07-08";
src = fetchgit {
diff --git a/pkgs/development/libraries/audio/lvtk/default.nix b/pkgs/development/libraries/audio/lvtk/default.nix
index 78763ca29e2..826c36db1a6 100644
--- a/pkgs/development/libraries/audio/lvtk/default.nix
+++ b/pkgs/development/libraries/audio/lvtk/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, boost, gtkmm2, lv2, pkgconfig, python, wafHook }:
stdenv.mkDerivation rec {
- name = "lvtk-${version}";
+ pname = "lvtk";
version = "1.2.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/audio/ntk/default.nix b/pkgs/development/libraries/audio/ntk/default.nix
index ddd3940098a..c4c931ecade 100644
--- a/pkgs/development/libraries/audio/ntk/default.nix
+++ b/pkgs/development/libraries/audio/ntk/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cairo, libjpeg, libXft, pkgconfig, python2, wafHook }:
stdenv.mkDerivation rec {
- name = "ntk-${version}";
+ pname = "ntk";
version = "1.3.1000";
src = fetchFromGitHub {
owner = "original-male";
@@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Fork of FLTK 1.3.0 with additional functionality";
- version = "${version}";
+ version = version;
homepage = http://non.tuxfamily.org/;
license = stdenv.lib.licenses.lgpl21;
maintainers = with stdenv.lib.maintainers; [ magnetophon nico202 ];
diff --git a/pkgs/development/libraries/audio/rtaudio/default.nix b/pkgs/development/libraries/audio/rtaudio/default.nix
index 2adec665e1c..f26f2b07e71 100644
--- a/pkgs/development/libraries/audio/rtaudio/default.nix
+++ b/pkgs/development/libraries/audio/rtaudio/default.nix
@@ -1,30 +1,30 @@
-{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, rtmidi }:
+{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
stdenv.mkDerivation rec {
version = "5.1.0";
- name = "rtaudio-${version}";
+ pname = "rtaudio";
src = fetchFromGitHub {
owner = "thestk";
repo = "rtaudio";
- rev = "${version}";
+ rev = version;
sha256 = "1pglnjz907ajlhnlnig3p0sx7hdkpggr8ss7b3wzf1lykzgv9l52";
};
enableParallelBuilding = true;
- buildInputs = [ autoconf automake libtool libjack2 alsaLib rtmidi ];
+ buildInputs = [ autoconf automake libtool libjack2 alsaLib pulseaudio rtmidi ];
preConfigure = ''
./autogen.sh --no-configure
./configure
'';
- meta = {
+ meta = with stdenv.lib; {
description = "A set of C++ classes that provide a cross platform API for realtime audio input/output";
homepage = http://www.music.mcgill.ca/~gary/rtaudio/;
- license = stdenv.lib.licenses.mit;
- maintainers = [ stdenv.lib.maintainers.magnetophon ];
- platforms = with stdenv.lib.platforms; linux ++ darwin;
+ license = licenses.mit;
+ maintainers = [ maintainers.magnetophon ];
+ platforms = platforms.unix;
};
}
diff --git a/pkgs/development/libraries/audio/rtmidi/default.nix b/pkgs/development/libraries/audio/rtmidi/default.nix
index 41bb9ca9f11..16527a763c9 100644
--- a/pkgs/development/libraries/audio/rtmidi/default.nix
+++ b/pkgs/development/libraries/audio/rtmidi/default.nix
@@ -2,12 +2,12 @@
stdenv.mkDerivation rec {
version = "4.0.0";
- name = "rtmidi-${version}";
+ pname = "rtmidi";
src = fetchFromGitHub {
owner = "thestk";
repo = "rtmidi";
- rev = "${version}";
+ rev = version;
sha256 = "1g31p6a96djlbk9jh5r4pjly3x76lhccva9hrw6xzdma8dsjzgyq";
};
diff --git a/pkgs/development/libraries/audio/sratom/default.nix b/pkgs/development/libraries/audio/sratom/default.nix
index 09a6230184a..21d6cdfb5d4 100644
--- a/pkgs/development/libraries/audio/sratom/default.nix
+++ b/pkgs/development/libraries/audio/sratom/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, lv2, pkgconfig, python, serd, sord, wafHook }:
stdenv.mkDerivation rec {
- name = "sratom-${version}";
+ pname = "sratom";
version = "0.6.2";
src = fetchurl {
- url = "https://download.drobilla.net/${name}.tar.bz2";
+ url = "https://download.drobilla.net/${pname}-${version}.tar.bz2";
sha256 = "0lz883ravxjf7r9wwbx2gx9m8vhyiavxrl9jdxfppjxnsralll8a";
};
diff --git a/pkgs/development/libraries/audio/vamp/default.nix b/pkgs/development/libraries/audio/vamp/default.nix
index f8b1006d2eb..2ac3115af2a 100644
--- a/pkgs/development/libraries/audio/vamp/default.nix
+++ b/pkgs/development/libraries/audio/vamp/default.nix
@@ -3,7 +3,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, libsndfile }:
-rec {
+{
vampSDK = stdenv.mkDerivation {
name = "vamp-sdk-2.7.1";
diff --git a/pkgs/development/libraries/audio/zita-alsa-pcmi/default.nix b/pkgs/development/libraries/audio/zita-alsa-pcmi/default.nix
index 320fc41f76c..debe7d56f7b 100644
--- a/pkgs/development/libraries/audio/zita-alsa-pcmi/default.nix
+++ b/pkgs/development/libraries/audio/zita-alsa-pcmi/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl , alsaLib, }:
stdenv.mkDerivation rec {
- name = "zita-alsa-pcmi-${version}";
+ pname = "zita-alsa-pcmi";
version = "0.3.2";
src = fetchurl {
- url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "12d7vdg74yh21w69qi0wg57iz4876j94qbiq09bvscih6xz9y78s";
};
@@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
meta = {
description = "The successor of clalsadrv, provides easy access to ALSA PCM devices";
- version = "${version}";
+ version = version;
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
license = stdenv.lib.licenses.gpl3;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
diff --git a/pkgs/development/libraries/audio/zita-convolver/default.nix b/pkgs/development/libraries/audio/zita-convolver/default.nix
index 4fc5c12ccc4..93bd18abaae 100644
--- a/pkgs/development/libraries/audio/zita-convolver/default.nix
+++ b/pkgs/development/libraries/audio/zita-convolver/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl, fftwFloat }:
stdenv.mkDerivation rec {
- name = "zita-convolver-${version}";
+ pname = "zita-convolver";
version = "4.0.3";
src = fetchurl {
- url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "0prji66p86z2bzminywkwchr5bfgxcg2i8y803pydd1hzf2198cs";
};
@@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Convolution library by Fons Adriaensen";
- version = "${version}";
+ version = version;
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
diff --git a/pkgs/development/libraries/audio/zita-resampler/default.nix b/pkgs/development/libraries/audio/zita-resampler/default.nix
index e9cccab39f0..b0b0186af88 100644
--- a/pkgs/development/libraries/audio/zita-resampler/default.nix
+++ b/pkgs/development/libraries/audio/zita-resampler/default.nix
@@ -1,10 +1,10 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "zita-resampler-${version}";
+ pname = "zita-resampler";
version = "1.6.2";
src = fetchurl {
- url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${name}.tar.bz2";
+ url = "http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pname}-${version}.tar.bz2";
sha256 = "1my5k2dh2dkvjp6xjnf9qy6i7s28z13kw1n9pwa4a2cpwbzawfr3";
};
@@ -24,7 +24,7 @@ stdenv.mkDerivation rec {
meta = {
description = "Resample library by Fons Adriaensen";
- version = "${version}";
+ version = version;
homepage = http://kokkinizita.linuxaudio.org/linuxaudio/downloads/index.html;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.magnetophon ];
diff --git a/pkgs/development/libraries/avahi/default.nix b/pkgs/development/libraries/avahi/default.nix
index f276d0bf12e..ee451818831 100644
--- a/pkgs/development/libraries/avahi/default.nix
+++ b/pkgs/development/libraries/avahi/default.nix
@@ -3,7 +3,9 @@
, gtk3Support ? false, gtk3 ? null
, qt4 ? null
, qt4Support ? false
-, withLibdnssdCompat ? false }:
+, withLibdnssdCompat ? false
+, python ? null
+, withPython ? false }:
assert qt4Support -> qt4 != null;
@@ -30,6 +32,9 @@ stdenv.mkDerivation rec {
++ (stdenv.lib.optional gtk3Support gtk3)
++ (stdenv.lib.optional qt4Support qt4);
+ propagatedBuildInputs =
+ stdenv.lib.optionals withPython (with python.pkgs; [ python pygobject3 dbus-python ]);
+
nativeBuildInputs = [ pkgconfig gettext intltool glib ];
configureFlags =
@@ -37,13 +42,16 @@ stdenv.mkDerivation rec {
"--disable-gtk"
(stdenv.lib.enableFeature gtk3Support "gtk3")
"--${if qt4Support then "enable" else "disable"}-qt4"
- "--disable-python" "--localstatedir=/var" "--with-distro=none"
+ (stdenv.lib.enableFeature withPython "python")
+ "--localstatedir=/var" "--with-distro=none"
# A systemd unit is provided by the avahi-daemon NixOS module
"--with-systemdsystemunitdir=no" ]
++ stdenv.lib.optional withLibdnssdCompat "--enable-compat-libdns_sd"
# autoipd won't build on darwin
++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
+ NIX_CFLAGS_COMPILE = "-DAVAHI_SERVICE_DIR=\"/etc/avahi/services\"";
+
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
sed -i '20 i\
#define __APPLE_USE_RFC_2292' \
@@ -65,7 +73,7 @@ stdenv.mkDerivation rec {
homepage = http://avahi.org;
license = licenses.lgpl2Plus;
platforms = platforms.unix;
- maintainers = with maintainers; [ lovek323 ];
+ maintainers = with maintainers; [ lovek323 globin ];
longDescription = ''
Avahi is a system which facilitates service discovery on a local
diff --git a/pkgs/development/libraries/avro-c++/default.nix b/pkgs/development/libraries/avro-c++/default.nix
index 11c66db7075..a2fdb66d7e9 100644
--- a/pkgs/development/libraries/avro-c++/default.nix
+++ b/pkgs/development/libraries/avro-c++/default.nix
@@ -3,7 +3,8 @@
let version = "1.8.2"; in
stdenv.mkDerivation {
- name = "avro-c++-${version}";
+ pname = "avro-c++";
+ inherit version;
src = fetchurl {
url = "mirror://apache/avro/avro-${version}/cpp/avro-cpp-${version}.tar.gz";
diff --git a/pkgs/development/libraries/avro-c/default.nix b/pkgs/development/libraries/avro-c/default.nix
index cbd29a095d4..f66d9369c20 100644
--- a/pkgs/development/libraries/avro-c/default.nix
+++ b/pkgs/development/libraries/avro-c/default.nix
@@ -2,8 +2,9 @@
let
version = "1.9.0";
-in stdenv.mkDerivation rec {
- name = "avro-c-${version}";
+in stdenv.mkDerivation {
+ pname = "avro-c";
+ inherit version;
src = fetchurl {
url = "mirror://apache/avro/avro-${version}/c/avro-c-${version}.tar.gz";
diff --git a/pkgs/development/libraries/aws-c-common/default.nix b/pkgs/development/libraries/aws-c-common/default.nix
index c8f284acc13..4286eedc87b 100644
--- a/pkgs/development/libraries/aws-c-common/default.nix
+++ b/pkgs/development/libraries/aws-c-common/default.nix
@@ -1,14 +1,14 @@
-{ lib, stdenv, fetchFromGitHub, cmake, libexecinfo }:
+{ lib, stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
pname = "aws-c-common";
- version = "0.3.9";
+ version = "0.3.11";
src = fetchFromGitHub {
owner = "awslabs";
repo = pname;
rev = "v${version}";
- sha256 = "04wrmrw83vypqzsq88b2q8kp5sfbv0qsci3bcxw0c2mfxqk8358n";
+ sha256 = "0a7hi4crnc3j1j39qcnd44zqdfwzw1xghcf80marx5vdf1qdzy6p";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/aws-checksums/default.nix b/pkgs/development/libraries/aws-checksums/default.nix
index 0e47398b346..124984f0d53 100644
--- a/pkgs/development/libraries/aws-checksums/default.nix
+++ b/pkgs/development/libraries/aws-checksums/default.nix
@@ -2,13 +2,13 @@
stdenv.mkDerivation rec {
pname = "aws-checksums";
- version = "0.1.2";
+ version = "0.1.3";
src = fetchFromGitHub {
owner = "awslabs";
repo = pname;
rev = "v${version}";
- sha256 = "1r21sfs1ik6cb8bz17w6gp6y2xa9rbjxjka0p6airb3qds094iv5";
+ sha256 = "1s6zwf97rkkvnf3p7vlaykwa4pxpvj78pmxvvjf5jk29f93b49xp";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/aws-sdk-cpp/default.nix b/pkgs/development/libraries/aws-sdk-cpp/default.nix
index 7233a187053..1cc65b53b3e 100644
--- a/pkgs/development/libraries/aws-sdk-cpp/default.nix
+++ b/pkgs/development/libraries/aws-sdk-cpp/default.nix
@@ -8,7 +8,7 @@
}:
stdenv.mkDerivation rec {
- name = "aws-sdk-cpp-${version}";
+ pname = "aws-sdk-cpp";
version = "1.7.90";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/babl/default.nix b/pkgs/development/libraries/babl/default.nix
index 947065997ec..c4b1d36ce70 100644
--- a/pkgs/development/libraries/babl/default.nix
+++ b/pkgs/development/libraries/babl/default.nix
@@ -1,14 +1,39 @@
-{ stdenv, fetchurl }:
+{ stdenv
+, fetchurl
+, meson
+, ninja
+, pkgconfig
+, gobject-introspection
+, lcms2
+}:
stdenv.mkDerivation rec {
- name = "babl-0.1.62";
+ pname = "babl";
+ version = "0.1.72";
+
+ outputs = [ "out" "dev" ];
src = fetchurl {
- url = "https://ftp.gtk.org/pub/babl/0.1/${name}.tar.bz2";
- sha256 = "047msfzj8v4sfl61a2xhd69r9rh2pjq4lzpk3j10ijyv9qbry9yw";
+ url = "https://download.gimp.org/pub/babl/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
+ sha256 = "0hkagjrnza77aasa1kss5hvy37ndm50y6i7hkdn2z8hzgc4i3qb4";
};
- doCheck = true;
+ patches = [
+ # Apple linker does not know --version-script flag
+ # https://gitlab.gnome.org/GNOME/babl/merge_requests/26
+ ./fix-darwin.patch
+ ];
+
+ nativeBuildInputs = [
+ meson
+ ninja
+ pkgconfig
+ gobject-introspection
+ ];
+
+ buildInputs = [
+ lcms2
+ ];
meta = with stdenv.lib; {
description = "Image pixel format conversion library";
diff --git a/pkgs/development/libraries/babl/fix-darwin.patch b/pkgs/development/libraries/babl/fix-darwin.patch
new file mode 100644
index 00000000000..eaeff63689f
--- /dev/null
+++ b/pkgs/development/libraries/babl/fix-darwin.patch
@@ -0,0 +1,16 @@
+diff --git a/babl/meson.build b/babl/meson.build
+index b551c9a..f452435 100644
+--- a/babl/meson.build
++++ b/babl/meson.build
+@@ -24,9 +24,9 @@
+ ]
+
+ # Linker arguments
+-babl_link_args = [
++babl_link_args = cc.get_supported_link_arguments([
+ '-Wl,--version-script,' + version_script,
+-]
++])
+ if platform_win32
+ babl_link_args += '-Wl,--no-undefined'
+ endif
diff --git a/pkgs/development/libraries/backward-cpp/default.nix b/pkgs/development/libraries/backward-cpp/default.nix
index 42621a1792c..af727e394d1 100644
--- a/pkgs/development/libraries/backward-cpp/default.nix
+++ b/pkgs/development/libraries/backward-cpp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "backward-${version}";
+ pname = "backward";
version = "1.3";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/bamf/default.nix b/pkgs/development/libraries/bamf/default.nix
index 9d5063d8f07..b1fb17b08fa 100644
--- a/pkgs/development/libraries/bamf/default.nix
+++ b/pkgs/development/libraries/bamf/default.nix
@@ -3,7 +3,7 @@
, xorgserver, dbus, python2, wrapGAppsHook }:
stdenv.mkDerivation rec {
- name = "bamf-${version}";
+ pname = "bamf";
version = "0.5.4";
outputs = [ "out" "dev" "devdoc" ];
@@ -55,8 +55,8 @@ stdenv.mkDerivation rec {
# fix paths
makeFlags = [
- "INTROSPECTION_GIRDIR=${placeholder ''dev''}/share/gir-1.0/"
- "INTROSPECTION_TYPELIBDIR=${placeholder ''out''}/lib/girepository-1.0"
+ "INTROSPECTION_GIRDIR=${placeholder "dev"}/share/gir-1.0/"
+ "INTROSPECTION_TYPELIBDIR=${placeholder "out"}/lib/girepository-1.0"
];
preConfigure = ''
diff --git a/pkgs/development/libraries/bctoolbox/default.nix b/pkgs/development/libraries/bctoolbox/default.nix
index 5439c7657e0..2730696344e 100644
--- a/pkgs/development/libraries/bctoolbox/default.nix
+++ b/pkgs/development/libraries/bctoolbox/default.nix
@@ -6,8 +6,8 @@ stdenv.mkDerivation rec {
buildInputs = [cmake mbedtls bcunit srtp];
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = "${baseName}";
- rev = "${version}";
+ repo = baseName;
+ rev = version;
sha256 = "1cxx243wyzkd4xnvpyqf97n0rjhfckpvw1vhwnbwshq3q6fra909";
};
diff --git a/pkgs/development/libraries/beignet/clang_llvm.patch b/pkgs/development/libraries/beignet/clang_llvm.patch
index 88876f157cd..bcdad510e10 100644
--- a/pkgs/development/libraries/beignet/clang_llvm.patch
+++ b/pkgs/development/libraries/beignet/clang_llvm.patch
@@ -47,16 +47,3 @@ index a148321..96cafb8 100644
set(CLANG_LIBRARIES ${CLANG_LIBRARIES} ${CLANG_LIB})
unset(CLANG_LIB CACHE)
endmacro()
-diff --git a/./CMakeLists.txt b/../Beignet-1.1.2-Source_new/CMakeLists.txt
-index 88985d7..01bca9e 100644
---- a/./CMakeLists.txt
-+++ b/../Beignet-1.1.2-Source_new/CMakeLists.txt
-@@ -205,7 +205,7 @@ IF(OCLIcd_FOUND)
- "intel-beignet.icd.in"
- "${ICD_FILE_NAME}"
- )
-- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors)
-+ install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION ${CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors)
- ELSE(OCLIcd_FOUND)
- MESSAGE(STATUS "Looking for OCL ICD header file - not found")
- ENDIF(OCLIcd_FOUND)
diff --git a/pkgs/development/libraries/beignet/default.nix b/pkgs/development/libraries/beignet/default.nix
index ba6fc7cb541..af0053519e3 100644
--- a/pkgs/development/libraries/beignet/default.nix
+++ b/pkgs/development/libraries/beignet/default.nix
@@ -1,5 +1,5 @@
{ stdenv
-, fetchurl
+, fetchFromGitHub
, cmake
, pkgconfig
, clang-unwrapped
@@ -18,12 +18,14 @@
}:
stdenv.mkDerivation rec {
- name = "beignet-${version}";
- version = "1.3.2";
+ pname = "beignet";
+ version = "unstable-2018.08.20";
- src = fetchurl {
- url = "https://01.org/sites/default/files/${name}-source.tar.gz";
- sha256 = "0hqb04jhjjslnmi3fnpzphanz84zywwkyw2sjr1k5qlx2jxfsmf5";
+ src = fetchFromGitHub {
+ owner = "intel";
+ repo = "beignet";
+ rev = "fc5f430cb7b7a8f694d86acbb038bd5b38ec389c";
+ sha256 = "1z64v69w7f52jrskh1jfyh1x46mzfhjrqxj9hhgzh3xxv9yla32h";
};
patches = [ ./clang_llvm.patch ];
@@ -31,6 +33,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
postPatch = ''
+ substituteInPlace CMakeLists.txt --replace /etc/OpenCL/vendors "\''${CMAKE_INSTALL_PREFIX}/etc/OpenCL/vendors"
patchShebangs src/git_sha1.sh
'';
@@ -55,8 +58,8 @@ stdenv.mkDerivation rec {
python3
];
- passthru.utests = stdenv.mkDerivation rec {
- name = "beignet-utests-${version}";
+ passthru.utests = stdenv.mkDerivation {
+ pname = "beignet-utests";
inherit version src;
preConfigure = ''
@@ -101,8 +104,8 @@ stdenv.mkDerivation rec {
homepage = https://cgit.freedesktop.org/beignet/;
description = "OpenCL Library for Intel Ivy Bridge and newer GPUs";
longDescription = ''
- The package provides an open source implementation of the OpenCL specification for Intel GPUs.
- It supports the Intel OpenCL runtime library and compiler.
+ The package provides an open source implementation of the OpenCL specification for Intel GPUs.
+ It supports the Intel OpenCL runtime library and compiler.
'';
license = licenses.lgpl21Plus;
maintainers = with maintainers; [ artuuge zimbatm ];
diff --git a/pkgs/development/libraries/belcard/default.nix b/pkgs/development/libraries/belcard/default.nix
index 093bb811489..aa6cb8513ae 100644
--- a/pkgs/development/libraries/belcard/default.nix
+++ b/pkgs/development/libraries/belcard/default.nix
@@ -7,8 +7,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = "${baseName}";
- rev = "${version}";
+ repo = baseName;
+ rev = version;
sha256 = "1pwji83vpsdrfma24rnj3rz1x0a0g6zk3v4xjnip7zf2ys3zcnlk";
};
diff --git a/pkgs/development/libraries/belle-sip/default.nix b/pkgs/development/libraries/belle-sip/default.nix
index 09ca4908d78..d4420e40ab6 100644
--- a/pkgs/development/libraries/belle-sip/default.nix
+++ b/pkgs/development/libraries/belle-sip/default.nix
@@ -9,8 +9,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = "${baseName}";
- rev = "${version}";
+ repo = baseName;
+ rev = version;
sha256 = "0q70db1klvhca1af29bm9paka3gyii5hfbzrj4178gclsg7cj8fk";
};
@@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib ];
- NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations";
+ NIX_CFLAGS_COMPILE = [
+ "-Wno-error=deprecated-declarations"
+ "-Wno-error=format-truncation"
+ "-Wno-error=cast-function-type"
+ ];
propagatedBuildInputs = [ antlr3_4 libantlr3c polarssl bctoolbox ];
@@ -26,7 +30,8 @@ stdenv.mkDerivation rec {
"--with-polarssl=${polarssl}"
];
- enableParallelBuilding = true;
+ # Fails to build with lots of parallel jobs
+ enableParallelBuilding = false;
meta = with stdenv.lib; {
homepage = http://www.linphone.org/index.php/eng;
diff --git a/pkgs/development/libraries/belr/default.nix b/pkgs/development/libraries/belr/default.nix
index 736c9a2f9e0..f0557b0379f 100644
--- a/pkgs/development/libraries/belr/default.nix
+++ b/pkgs/development/libraries/belr/default.nix
@@ -7,8 +7,8 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = "${baseName}";
- rev = "${version}";
+ repo = baseName;
+ rev = version;
sha256 = "0mf8lsyq1z3b5p47c00lnwc8n7v9nzs1fd2g9c9hnz6fjd2ka44w";
};
diff --git a/pkgs/development/libraries/biblesync/default.nix b/pkgs/development/libraries/biblesync/default.nix
index e6702d0db64..16be4600ec6 100644
--- a/pkgs/development/libraries/biblesync/default.nix
+++ b/pkgs/development/libraries/biblesync/default.nix
@@ -3,11 +3,11 @@
with stdenv.lib;
stdenv.mkDerivation rec{
- name = "biblesync-${version}";
+ pname = "biblesync";
version = "1.1.2";
src = fetchurl{
- url = "mirror://sourceforge/project/gnomesword/BibleSync/1.1.2/${name}.tar.gz";
+ url = "mirror://sourceforge/project/gnomesword/BibleSync/1.1.2/${pname}-${version}.tar.gz";
sha256 = "0190q2da0ppif2242lahl8xfz01n9sijy60aq1a0545qcp0ilvl8";
};
diff --git a/pkgs/development/libraries/blitz/default.nix b/pkgs/development/libraries/blitz/default.nix
index 503e4b0fa43..fd0da496fa4 100644
--- a/pkgs/development/libraries/blitz/default.nix
+++ b/pkgs/development/libraries/blitz/default.nix
@@ -22,7 +22,7 @@ let
inherit (stdenv.lib) optional optionals;
in
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "blitz++-0.10";
src = fetchurl {
url = mirror://sourceforge/blitz/blitz-0.10.tar.gz;
@@ -37,7 +37,6 @@ stdenv.mkDerivation rec {
configureFlags =
[ "--enable-shared"
- "--disable-static"
"--enable-fortran"
"--enable-optimize"
"--with-pic=yes"
diff --git a/pkgs/development/libraries/bobcat/default.nix b/pkgs/development/libraries/bobcat/default.nix
index 812ad546f86..c7520c89ef5 100644
--- a/pkgs/development/libraries/bobcat/default.nix
+++ b/pkgs/development/libraries/bobcat/default.nix
@@ -3,7 +3,7 @@
, utillinux, yodl }:
stdenv.mkDerivation rec {
- name = "bobcat-${version}";
+ pname = "bobcat";
version = "4.08.03";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/boehm-gc/7.6.6.nix b/pkgs/development/libraries/boehm-gc/7.6.6.nix
index 68f5d7afcf4..c2b5c7b6062 100644
--- a/pkgs/development/libraries/boehm-gc/7.6.6.nix
+++ b/pkgs/development/libraries/boehm-gc/7.6.6.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "boehm-gc-${version}";
+ pname = "boehm-gc";
version = "7.6.6";
src = fetchurl {
diff --git a/pkgs/development/libraries/boehm-gc/default.nix b/pkgs/development/libraries/boehm-gc/default.nix
index 2618d35ff79..cf76d9e7d24 100644
--- a/pkgs/development/libraries/boehm-gc/default.nix
+++ b/pkgs/development/libraries/boehm-gc/default.nix
@@ -1,9 +1,9 @@
-{ lib, stdenv, fetchurl, fetchpatch, pkgconfig, libatomic_ops
+{ lib, stdenv, fetchurl
, enableLargeConfig ? false # doc: https://github.com/ivmai/bdwgc/blob/v7.6.6/doc/README.macros#L179
}:
stdenv.mkDerivation rec {
- name = "boehm-gc-${version}";
+ pname = "boehm-gc";
version = "8.0.4";
src = fetchurl {
@@ -14,9 +14,6 @@ stdenv.mkDerivation rec {
sha256 = "1798rp3mcfkgs38ynkbg2p47bq59pisrc6mn0l20pb5iczf0ssj3";
};
- buildInputs = [ libatomic_ops ];
- nativeBuildInputs = [ pkgconfig ];
-
outputs = [ "out" "dev" "doc" ];
separateDebugInfo = stdenv.isLinux;
@@ -29,20 +26,12 @@ stdenv.mkDerivation rec {
lib.optional stdenv.hostPlatform.isRiscV ./riscv.patch;
configureFlags =
- [ "--enable-cplusplus" ]
+ [ "--enable-cplusplus" "--with-libatomic-ops=none" ]
++ lib.optional enableLargeConfig "--enable-large-config"
- ++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static"
- # Configure script can't detect whether C11 atomic intrinsics are available
- # when cross-compiling, so it links to libatomic_ops, which has to be
- # propagated to all dependencies. To avoid this, assume that the intrinsics
- # are available.
- ++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "--with-libatomic-ops=none";
+ ++ lib.optional (stdenv.hostPlatform.libc == "musl") "--disable-static";
doCheck = true; # not cross;
- # Don't run the native `strip' when cross-compiling.
- dontStrip = stdenv.hostPlatform != stdenv.buildPlatform;
-
enableParallelBuilding = true;
meta = {
diff --git a/pkgs/development/libraries/boost/1.55.nix b/pkgs/development/libraries/boost/1.55.nix
index 0a38f35af75..bcb452ea4f8 100644
--- a/pkgs/development/libraries/boost/1.55.nix
+++ b/pkgs/development/libraries/boost/1.55.nix
@@ -1,6 +1,6 @@
{ callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.55.0";
patches = [ ./clang-math.patch ./clang-math-2.patch ./gcc-5.patch ];
diff --git a/pkgs/development/libraries/boost/1.59.nix b/pkgs/development/libraries/boost/1.59.nix
index f4931dfe547..fb65e49c500 100644
--- a/pkgs/development/libraries/boost/1.59.nix
+++ b/pkgs/development/libraries/boost/1.59.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.59.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.60.nix b/pkgs/development/libraries/boost/1.60.nix
index b6d74234f79..646f4652f77 100644
--- a/pkgs/development/libraries/boost/1.60.nix
+++ b/pkgs/development/libraries/boost/1.60.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.60.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.62.nix b/pkgs/development/libraries/boost/1.62.nix
index 871ef392c1a..a1b3c51d0e6 100644
--- a/pkgs/development/libraries/boost/1.62.nix
+++ b/pkgs/development/libraries/boost/1.62.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.62.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.63.nix b/pkgs/development/libraries/boost/1.63.nix
index c4749bc3ee4..a8b459f4b12 100644
--- a/pkgs/development/libraries/boost/1.63.nix
+++ b/pkgs/development/libraries/boost/1.63.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.63.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.64.nix b/pkgs/development/libraries/boost/1.64.nix
index 1cf9bfa51f4..32632f79d22 100644
--- a/pkgs/development/libraries/boost/1.64.nix
+++ b/pkgs/development/libraries/boost/1.64.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.64.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.65.nix b/pkgs/development/libraries/boost/1.65.nix
index 9837e1c6919..922c09ba7fe 100644
--- a/pkgs/development/libraries/boost/1.65.nix
+++ b/pkgs/development/libraries/boost/1.65.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.65.1";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.66.nix b/pkgs/development/libraries/boost/1.66.nix
index b44c1a3823a..0a99717a799 100644
--- a/pkgs/development/libraries/boost/1.66.nix
+++ b/pkgs/development/libraries/boost/1.66.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.66.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.67.nix b/pkgs/development/libraries/boost/1.67.nix
index 406e63b9622..a2fe9447c12 100644
--- a/pkgs/development/libraries/boost/1.67.nix
+++ b/pkgs/development/libraries/boost/1.67.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.67.0";
patches = [
diff --git a/pkgs/development/libraries/boost/1.68.nix b/pkgs/development/libraries/boost/1.68.nix
index cd980439b71..4d98172c6d0 100644
--- a/pkgs/development/libraries/boost/1.68.nix
+++ b/pkgs/development/libraries/boost/1.68.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.68.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.69.nix b/pkgs/development/libraries/boost/1.69.nix
index 959fa851fe2..95c4aa854a4 100644
--- a/pkgs/development/libraries/boost/1.69.nix
+++ b/pkgs/development/libraries/boost/1.69.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.69.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/1.70.nix b/pkgs/development/libraries/boost/1.70.nix
index 5f7b39c1189..45a8bdb9318 100644
--- a/pkgs/development/libraries/boost/1.70.nix
+++ b/pkgs/development/libraries/boost/1.70.nix
@@ -1,6 +1,6 @@
{ stdenv, callPackage, fetchurl, fetchpatch, ... } @ args:
-callPackage ./generic.nix (args // rec {
+callPackage ./generic.nix (args // {
version = "1.70.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix
index c0c69b0fe70..f7bd189022f 100644
--- a/pkgs/development/libraries/boost/generic.nix
+++ b/pkgs/development/libraries/boost/generic.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, libiconv
+{ stdenv, icu, expat, zlib, bzip2, python, fixDarwinDylibNames, libiconv
, which
, buildPackages
, toolset ? /**/ if stdenv.cc.isClang then "clang"
@@ -97,9 +97,9 @@ let
in
stdenv.mkDerivation {
- name = "boost-${version}";
+ pname = "boost";
- inherit src;
+ inherit src version;
patchFlags = "";
@@ -112,11 +112,10 @@ stdenv.mkDerivation {
meta = {
homepage = http://boost.org/;
description = "Collection of C++ libraries";
- license = stdenv.lib.licenses.boost;
-
+ license = licenses.boost;
platforms = platforms.unix ++ platforms.windows;
- badPlatforms = stdenv.lib.optional (versionOlder version "1.59") "aarch64-linux"
- ++ stdenv.lib.optional ((versionOlder version "1.57") || version == "1.58") "x86_64-darwin";
+ badPlatforms = optional (versionOlder version "1.59") "aarch64-linux"
+ ++ optional ((versionOlder version "1.57") || version == "1.58") "x86_64-darwin";
maintainers = with maintainers; [ peti ];
};
@@ -158,16 +157,22 @@ stdenv.mkDerivation {
++ optional (toolset != null) "--with-toolset=${toolset}";
buildPhase = ''
+ runHook preBuild
./b2 ${b2Args}
+ runHook postBuild
'';
installPhase = ''
+ runHook preInstall
+
# boostbook is needed by some applications
mkdir -p $dev/share/boostbook
cp -a tools/boostbook/{xsl,dtd} $dev/share/boostbook/
# Let boost install everything else
./b2 ${b2Args} install
+
+ runHook postInstall
'';
postFixup = ''
diff --git a/pkgs/development/libraries/bootil/default.nix b/pkgs/development/libraries/bootil/default.nix
index 3c27281571a..9283f37a8c4 100644
--- a/pkgs/development/libraries/bootil/default.nix
+++ b/pkgs/development/libraries/bootil/default.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fetchpatch, premake4 }:
-stdenv.mkDerivation rec {
+stdenv.mkDerivation {
name = "bootil-unstable-2015-12-17";
meta = {
diff --git a/pkgs/development/libraries/boringssl/default.nix b/pkgs/development/libraries/boringssl/default.nix
index ee62d5423a1..67e2794c8a2 100644
--- a/pkgs/development/libraries/boringssl/default.nix
+++ b/pkgs/development/libraries/boringssl/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchgit, cmake, perl, go }:
# reference: https://boringssl.googlesource.com/boringssl/+/2661/BUILDING.md
-stdenv.mkDerivation rec {
- name = "boringssl-${version}";
+stdenv.mkDerivation {
+ pname = "boringssl";
version = "2017-02-23";
src = fetchgit {
diff --git a/pkgs/development/libraries/botan/generic.nix b/pkgs/development/libraries/botan/generic.nix
index 2580b959bf2..18b1b47f6d3 100644
--- a/pkgs/development/libraries/botan/generic.nix
+++ b/pkgs/development/libraries/botan/generic.nix
@@ -8,7 +8,7 @@
}:
stdenv.mkDerivation rec {
- name = "botan-${version}";
+ pname = "botan";
version = "${baseVersion}.${revision}";
src = fetchurl {
diff --git a/pkgs/development/libraries/box2d/default.nix b/pkgs/development/libraries/box2d/default.nix
index 102e7bfcc12..328ac434d85 100644
--- a/pkgs/development/libraries/box2d/default.nix
+++ b/pkgs/development/libraries/box2d/default.nix
@@ -2,7 +2,7 @@
, libXi, pkgconfig }:
stdenv.mkDerivation rec {
- name = "box2d-${version}";
+ pname = "box2d";
version = "2.3.1";
src = fetchurl {
diff --git a/pkgs/development/libraries/brigand/default.nix b/pkgs/development/libraries/brigand/default.nix
index b4a57396cc8..7710747d800 100644
--- a/pkgs/development/libraries/brigand/default.nix
+++ b/pkgs/development/libraries/brigand/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake }:
-stdenv.mkDerivation rec {
- name = "brigand-${version}";
+stdenv.mkDerivation {
+ pname = "brigand";
version = "1.3.0";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/bullet/default.nix b/pkgs/development/libraries/bullet/default.nix
index b4a2133f7d8..f6041802a9c 100644
--- a/pkgs/development/libraries/bullet/default.nix
+++ b/pkgs/development/libraries/bullet/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "bullet-${version}";
+ pname = "bullet";
version = "2.87";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/bullet/roboschool-fork.nix b/pkgs/development/libraries/bullet/roboschool-fork.nix
index 12fc1834e90..8b0901832d1 100644
--- a/pkgs/development/libraries/bullet/roboschool-fork.nix
+++ b/pkgs/development/libraries/bullet/roboschool-fork.nix
@@ -2,8 +2,8 @@
, Cocoa, OpenGL
}:
-stdenv.mkDerivation rec {
- name = "bullet-${version}";
+stdenv.mkDerivation {
+ pname = "bullet";
version = "2019-03-27";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/bulletml/default.nix b/pkgs/development/libraries/bulletml/default.nix
index b61ac1dcb09..f64090bd53a 100644
--- a/pkgs/development/libraries/bulletml/default.nix
+++ b/pkgs/development/libraries/bulletml/default.nix
@@ -10,7 +10,8 @@ let
};
in stdenv.mkDerivation {
- name = "bulletml-${version}";
+ pname = "bulletml";
+ inherit version;
srcs = [
(fetchurl {
diff --git a/pkgs/development/libraries/bwidget/default.nix b/pkgs/development/libraries/bwidget/default.nix
index 1e2bda285a7..e763afc4a43 100644
--- a/pkgs/development/libraries/bwidget/default.nix
+++ b/pkgs/development/libraries/bwidget/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, tcl }:
stdenv.mkDerivation rec {
- name = "bwidget-${version}";
+ pname = "bwidget";
version = "1.9.13";
src = fetchurl {
diff --git a/pkgs/development/libraries/bzrtp/default.nix b/pkgs/development/libraries/bzrtp/default.nix
index 11b94a0181a..b2dc295db5b 100644
--- a/pkgs/development/libraries/bzrtp/default.nix
+++ b/pkgs/development/libraries/bzrtp/default.nix
@@ -7,14 +7,16 @@ stdenv.mkDerivation rec {
src = fetchFromGitHub {
owner = "BelledonneCommunications";
- repo = "${baseName}";
- rev = "${version}";
+ repo = baseName;
+ rev = version;
sha256 = "0438zzxp82bj5fmvqnwlljkgrz9ab5qm5lgpwwgmg1cp78bp2l45";
};
buildInputs = [ bctoolbox sqlite ];
nativeBuildInputs = [ cmake ];
+ NIX_CFLAGS_COMPILE = "-Wno-error=cast-function-type";
+
meta = with stdenv.lib; {
description = "BZRTP is an opensource implementation of ZRTP keys exchange protocol";
homepage = https://github.com/BelledonneCommunications/bzrtp;
diff --git a/pkgs/development/libraries/c-blosc/default.nix b/pkgs/development/libraries/c-blosc/default.nix
index 3603667fbf2..396e419406a 100644
--- a/pkgs/development/libraries/c-blosc/default.nix
+++ b/pkgs/development/libraries/c-blosc/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
- name = "c-blosc-${version}";
+ pname = "c-blosc";
version = "1.16.3";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/caf/default.nix b/pkgs/development/libraries/caf/default.nix
index 15744744067..3ebc0b36679 100644
--- a/pkgs/development/libraries/caf/default.nix
+++ b/pkgs/development/libraries/caf/default.nix
@@ -1,14 +1,14 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
- name = "actor-framework-${version}";
- version = "0.16.3";
+ pname = "actor-framework";
+ version = "0.17.0";
src = fetchFromGitHub {
owner = "actor-framework";
repo = "actor-framework";
- rev = "${version}";
- sha256 = "0nqw1cv7wxbcn2qwm08qffb6k4n3kgvdiaphks5gjgm305jk4vnx";
+ rev = version;
+ sha256 = "10dcpmdsfq6r7hpvg413pqi1q3rjvgn7f87c17ghyz30x6rjhaic";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/cairo/default.nix b/pkgs/development/libraries/cairo/default.nix
index 0151bac402c..82570fbf7b4 100644
--- a/pkgs/development/libraries/cairo/default.nix
+++ b/pkgs/development/libraries/cairo/default.nix
@@ -3,7 +3,7 @@
, x11Support? !stdenv.isDarwin, libXext, libXrender
, gobjectSupport ? true, glib
, xcbSupport ? x11Support, libxcb, xcbutil # no longer experimental since 1.12
-, libGLSupported
+, libGLSupported ? stdenv.lib.elem stdenv.hostPlatform.system stdenv.lib.platforms.mesaPlatforms
, glSupport ? config.cairo.gl or (libGLSupported && stdenv.isLinux && !stdenv.isAarch32 && !stdenv.isMips)
, libGL ? null # libGLU_combined is no longer a big dependency
, pdfSupport ? true
@@ -16,10 +16,11 @@ let
version = "1.16.0";
inherit (stdenv.lib) optional optionals;
in stdenv.mkDerivation rec {
- name = "cairo-${version}";
+ pname = "cairo";
+ inherit version;
src = fetchurl {
- url = "https://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${name}.tar.xz";
+ url = "https://cairographics.org/${if stdenv.lib.mod (builtins.fromJSON (stdenv.lib.versions.minor version)) 2 == 0 then "releases" else "snapshots"}/${pname}-${version}.tar.xz";
sha256 = "0c930mk5xr2bshbdljv005j3j8zr47gqmkry3q6qgvqky6rjjysy";
};
diff --git a/pkgs/development/libraries/cairomm/default.nix b/pkgs/development/libraries/cairomm/default.nix
index a4e4968f562..13550bf3fab 100644
--- a/pkgs/development/libraries/cairomm/default.nix
+++ b/pkgs/development/libraries/cairomm/default.nix
@@ -1,15 +1,12 @@
{ fetchurl, stdenv, pkgconfig, darwin, cairo, fontconfig, freetype, libsigcxx }:
-let
- ver_maj = "1.12";
- ver_min = "2";
-in
stdenv.mkDerivation rec {
- name = "cairomm-${ver_maj}.${ver_min}";
+ pname = "cairomm";
+ version = "1.12.2";
src = fetchurl {
- url = "https://www.cairographics.org/releases/${name}.tar.gz";
+ url = "https://www.cairographics.org/releases/${pname}-${version}.tar.gz";
# gnome doesn't have the latest version ATM; beware: same name but different hash
- # url = "mirror://gnome/sources/cairomm/${ver_maj}/${name}.tar.xz";
+ #url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "16fmigxsaz85c3lgcls7biwyz8zy8c8h3jndfm54cxxas3a7zi25";
};
@@ -39,7 +36,7 @@ stdenv.mkDerivation rec {
when available (e.g., through the X Render Extension).
'';
- homepage = http://cairographics.org/;
+ homepage = "https://www.cairographics.org/";
license = with licenses; [ lgpl2Plus mpl10 ];
platforms = platforms.unix;
diff --git a/pkgs/development/libraries/capnproto/default.nix b/pkgs/development/libraries/capnproto/default.nix
index b175250872f..9020ccf08b5 100644
--- a/pkgs/development/libraries/capnproto/default.nix
+++ b/pkgs/development/libraries/capnproto/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "capnproto-${version}";
+ pname = "capnproto";
version = "0.7.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/capstone/default.nix b/pkgs/development/libraries/capstone/default.nix
index c02633d880c..956fd74da58 100644
--- a/pkgs/development/libraries/capstone/default.nix
+++ b/pkgs/development/libraries/capstone/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig }:
stdenv.mkDerivation rec {
- name = "capstone-${version}";
+ pname = "capstone";
version = "4.0.1";
src = fetchurl {
diff --git a/pkgs/development/libraries/catch/default.nix b/pkgs/development/libraries/catch/default.nix
index d83060fc24d..92e5c04e032 100644
--- a/pkgs/development/libraries/catch/default.nix
+++ b/pkgs/development/libraries/catch/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
- name = "catch-${version}";
+ pname = "catch";
version = "1.12.2";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/catch2/default.nix b/pkgs/development/libraries/catch2/default.nix
index c81e97b970e..d7876affe2f 100644
--- a/pkgs/development/libraries/catch2/default.nix
+++ b/pkgs/development/libraries/catch2/default.nix
@@ -1,14 +1,14 @@
-{ stdenv, fetchFromGitHub, cmake, python }:
+{ stdenv, fetchFromGitHub, cmake }:
stdenv.mkDerivation rec {
- name = "catch2-${version}";
- version = "2.7.2";
+ pname = "catch2";
+ version = "2.8.0";
src = fetchFromGitHub {
owner = "catchorg";
repo = "Catch2";
rev = "v${version}";
- sha256="0h4yihf2avaw9awcigdqqlnfk5ak7scfv5lm0j8s6la4hyswc982";
+ sha256="1i7nz29gcsy9cnljb0sb1fw8fg9p1gdh2pdhrgj3kcrsnxgbyhrq";
};
nativeBuildInputs = [ cmake ];
diff --git a/pkgs/development/libraries/cctz/default.nix b/pkgs/development/libraries/cctz/default.nix
index 2930ffa61e3..5897f84efff 100644
--- a/pkgs/development/libraries/cctz/default.nix
+++ b/pkgs/development/libraries/cctz/default.nix
@@ -1,7 +1,7 @@
-{ stdenv, fetchFromGitHub }:
+{ stdenv, fetchFromGitHub, darwin }:
stdenv.mkDerivation rec {
- name = "cctz-${version}";
+ pname = "cctz";
version = "2.3";
src = fetchFromGitHub {
@@ -13,8 +13,14 @@ stdenv.mkDerivation rec {
makeFlags = [ "PREFIX=$(out)" ];
+ buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Foundation;
+
installTargets = [ "install_hdrs" "install_shared_lib" ];
+ postInstall = stdenv.lib.optionalString stdenv.isDarwin ''
+ install_name_tool -id $out/lib/libcctz.so $out/lib/libcctz.so
+ '';
+
enableParallelBuilding = true;
meta = with stdenv.lib; {
diff --git a/pkgs/development/libraries/cddlib/default.nix b/pkgs/development/libraries/cddlib/default.nix
index 68d34c75c01..d84cda5b750 100644
--- a/pkgs/development/libraries/cddlib/default.nix
+++ b/pkgs/development/libraries/cddlib/default.nix
@@ -6,12 +6,12 @@
}:
stdenv.mkDerivation rec {
- name = "cddlib-${version}";
+ pname = "cddlib";
version = "0.94j";
src = fetchFromGitHub {
owner = "cddlib";
repo = "cddlib";
- rev = "${version}";
+ rev = version;
sha256 = "1z03ljy3rrr0qq5gq54vynnif6fn0xhn05g90nnv0dpyc3ps8lzp";
};
buildInputs = [gmp];
diff --git a/pkgs/development/libraries/cdk/default.nix b/pkgs/development/libraries/cdk/default.nix
index 4c311f07e01..8487435981c 100644
--- a/pkgs/development/libraries/cdk/default.nix
+++ b/pkgs/development/libraries/cdk/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, ncurses }:
stdenv.mkDerivation rec {
- name = "cdk-${version}";
+ pname = "cdk";
version ="5.0-20190224";
buildInputs = [
diff --git a/pkgs/development/libraries/cdo/default.nix b/pkgs/development/libraries/cdo/default.nix
index af69e23ca1f..2a3dbc7a2d1 100644
--- a/pkgs/development/libraries/cdo/default.nix
+++ b/pkgs/development/libraries/cdo/default.nix
@@ -5,15 +5,15 @@
}:
stdenv.mkDerivation rec {
- version = "1.9.0";
- name = "cdo-${version}";
+ pname = "cdo";
+ version = "1.9.7.1";
# Dependencies
buildInputs = [ curl netcdf hdf5 ];
src = fetchurl {
- url = "https://code.mpimet.mpg.de/attachments/download/15187/${name}.tar.gz";
- sha256 = "024hsr6qfg2dicwvm0vvkg3fr998bchf0qgwpj2v0jmz7a67ydnz";
+ url = "https://code.mpimet.mpg.de/attachments/download/20124/${pname}-${version}.tar.gz";
+ sha256 = "0b4n8dwxfsdbz4jflsx0b75hwapdf1rp14p48dfr7ksv0qp9aw9p";
};
# Configure phase
@@ -23,15 +23,15 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional (enable_all_static) "--enable-all-static"
++ stdenv.lib.optional (enable_cxx) "--enable-cxx";
- meta = {
+ meta = with stdenv.lib; {
description = "Collection of command line Operators to manipulate and analyse Climate and NWP model Data";
longDescription = ''
Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and IEG.
There are more than 600 operators available.
'';
homepage = https://code.mpimet.mpg.de/projects/cdo/;
- license = stdenv.lib.licenses.gpl2;
- maintainers = [ stdenv.lib.maintainers.ltavard ];
- platforms = with stdenv.lib.platforms; linux ++ darwin;
+ license = licenses.gpl2;
+ maintainers = [ maintainers.ltavard ];
+ platforms = with platforms; linux ++ darwin;
};
}
diff --git a/pkgs/development/libraries/cegui/default.nix b/pkgs/development/libraries/cegui/default.nix
index 7e5c768036f..eaeb6bf8e43 100644
--- a/pkgs/development/libraries/cegui/default.nix
+++ b/pkgs/development/libraries/cegui/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, ogre, freetype, boost, expat }:
stdenv.mkDerivation rec {
- name = "cegui-${version}";
+ pname = "cegui";
version = "0.8.7";
src = fetchurl {
- url = "mirror://sourceforge/crayzedsgui/${name}.tar.bz2";
+ url = "mirror://sourceforge/crayzedsgui/${pname}-${version}.tar.bz2";
sha256 = "067562s71kfsnbp2zb2bmq8zj3jk96g5a4rcc5qc3n8nfyayhldk";
};
diff --git a/pkgs/development/libraries/celt/generic.nix b/pkgs/development/libraries/celt/generic.nix
index 6bf7975034b..3b7e870b4fe 100644
--- a/pkgs/development/libraries/celt/generic.nix
+++ b/pkgs/development/libraries/celt/generic.nix
@@ -6,8 +6,9 @@
# The celt codec has been deprecated and is now a part of the opus codec
-stdenv.mkDerivation rec {
- name = "celt-${version}";
+stdenv.mkDerivation {
+ pname = "celt";
+ inherit version;
inherit src;
diff --git a/pkgs/development/libraries/ceres-solver/default.nix b/pkgs/development/libraries/ceres-solver/default.nix
index 043b9e263d8..3ce8c4ef080 100644
--- a/pkgs/development/libraries/ceres-solver/default.nix
+++ b/pkgs/development/libraries/ceres-solver/default.nix
@@ -2,16 +2,16 @@
, eigen
, fetchurl
, cmake
-, google-gflags
+, gflags
, glog
, runTests ? false
}:
-# google-gflags is required to run tests
-assert runTests -> google-gflags != null;
+# gflags is required to run tests
+assert runTests -> gflags != null;
stdenv.mkDerivation rec {
- name = "ceres-solver-${version}";
+ pname = "ceres-solver";
version = "1.14.0";
src = fetchurl {
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
buildInputs = [ eigen glog ]
- ++ stdenv.lib.optional runTests google-gflags;
+ ++ stdenv.lib.optional runTests gflags;
# The Basel BUILD file conflicts with the cmake build directory on
# case-insensitive filesystems, eg. darwin.
diff --git a/pkgs/development/libraries/cfitsio/darwin-curl-config.patch b/pkgs/development/libraries/cfitsio/darwin-curl-config.patch
deleted file mode 100644
index 77d8f719d77..00000000000
--- a/pkgs/development/libraries/cfitsio/darwin-curl-config.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -ruN cfitsio/configure cfitsio-curl-config/configure
---- cfitsio/configure 2018-05-09 21:16:00.000000000 +0200
-+++ cfitsio-curl-config/configure 2018-05-30 13:28:58.000000000 +0200
-@@ -4783,13 +4783,6 @@
- CURL_LIB=""
- CURL_INC=""
- # Use curl-config to get compiler & linker flags, if available.
--# On Macs, prefer XCode curl-config, and reject MacPorts version
--# until further notice to prevent build errors:
--if test "x$EXT" = xdarwin -a -x /usr/bin/curl-config; then
-- CURLCONFIG="/usr/bin/curl-config"
-- { $as_echo "$as_me:${as_lineno-$LINENO}: result: checking for curl-config... choosing /usr/bin/curl-config on Mac" >&5
--$as_echo "checking for curl-config... choosing /usr/bin/curl-config on Mac" >&6; }
--else
- # Extract the first word of "curl-config", so it can be a program name with args.
- set dummy curl-config; ac_word=$2
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
-@@ -4833,7 +4826,6 @@
- fi
- fi
- fi
--fi
- CURLCONFIG=$ac_cv_prog_CURLCONFIG
- if test -n "$CURLCONFIG"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURLCONFIG" >&5
diff --git a/pkgs/development/libraries/cfitsio/default.nix b/pkgs/development/libraries/cfitsio/default.nix
index 32308c34ead..7576c24024a 100644
--- a/pkgs/development/libraries/cfitsio/default.nix
+++ b/pkgs/development/libraries/cfitsio/default.nix
@@ -2,22 +2,23 @@
# Optional dependencies
, bzip2 ? null }:
-
stdenv.mkDerivation rec {
- name = "cfitsio-${version}";
- version = "3.450";
+ pname = "cfitsio";
+ version = "3.47";
src = fetchurl {
- url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio${builtins.replaceStrings ["."] [""] version}.tar.gz";
- sha256 = "0bmrkw6w65zb0k3mszaaqy1f4zjm2hl7njww74nb5v38wvdi4q5z";
+ url = "https://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/cfitsio-${version}.tar.gz";
+ sha256 = "1vzlxnrjckz78p2wf148v2z3krkwnykfqvlj42sz3q711vqid1a1";
};
buildInputs = [ bzip2 ];
- patches = [ ./darwin-curl-config.patch ./darwin-rpath-universal.patch ];
+ patches = [ ./darwin-rpath-universal.patch ];
configureFlags = stdenv.lib.optional (bzip2 != null) "--with-bzip2=${bzip2.out}";
+ hardeningDisable = [ "format" ];
+
# Shared-only build
buildFlags = "shared";
postPatch = '' sed -e '/^install:/s/libcfitsio.a //' -e 's@/bin/@@g' -i Makefile.in
diff --git a/pkgs/development/libraries/cgui/default.nix b/pkgs/development/libraries/cgui/default.nix
index df75d3a1f1d..39ed74d0075 100644
--- a/pkgs/development/libraries/cgui/default.nix
+++ b/pkgs/development/libraries/cgui/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, texinfo, allegro, perl, libX11 }:
stdenv.mkDerivation rec {
- name = "cgui-${version}";
+ pname = "cgui";
version="2.1.0";
src = fetchurl {
- url = "mirror://sourceforge/project/cgui/${version}/${name}.tar.gz";
+ url = "mirror://sourceforge/project/cgui/${version}/${pname}-${version}.tar.gz";
sha256 = "1pp1hvidpilq37skkmbgba4lvzi01rasy04y0cnas9ck0canv00s";
};
diff --git a/pkgs/development/libraries/check/default.nix b/pkgs/development/libraries/check/default.nix
index ae8b6ca18df..08610d1e9af 100644
--- a/pkgs/development/libraries/check/default.nix
+++ b/pkgs/development/libraries/check/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "check-${version}";
+ pname = "check";
version = "0.12.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/chipmunk/default.nix b/pkgs/development/libraries/chipmunk/default.nix
index f460b69a4f8..76f722f31aa 100644
--- a/pkgs/development/libraries/chipmunk/default.nix
+++ b/pkgs/development/libraries/chipmunk/default.nix
@@ -3,7 +3,7 @@
}:
stdenv.mkDerivation rec {
- name = "chipmunk-${version}";
+ pname = "chipmunk";
majorVersion = "7";
version = "${majorVersion}.0.1";
diff --git a/pkgs/development/libraries/chmlib/default.nix b/pkgs/development/libraries/chmlib/default.nix
index fbefee48d5b..4f4af87227f 100644
--- a/pkgs/development/libraries/chmlib/default.nix
+++ b/pkgs/development/libraries/chmlib/default.nix
@@ -1,17 +1,21 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchFromGitHub, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "chmlib-0.40";
+ name = "chmlib-0.40a";
- src = fetchurl {
- url = "${meta.homepage}/${name}.tar.bz2";
- sha256 = "18zzb4x3z0d7fjh1x5439bs62dmgsi4c1pg3qyr7h5gp1i5xcj9l";
+ src = fetchFromGitHub {
+ owner = "jedwing";
+ repo = "CHMLib";
+ rev = "2bef8d063ec7d88a8de6fd9f0513ea42ac0fa21f";
+ sha256 = "1hah0nw0l05npva2r35ywwd0kzyiiz4vamghm6d71h8170iva6m9";
};
+ nativeBuildInputs = [ autoreconfHook ];
+
meta = {
homepage = http://www.jedrea.com/chmlib;
license = stdenv.lib.licenses.lgpl2;
description = "A library for dealing with Microsoft ITSS/CHM format files";
- platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin"];
+ platforms = ["x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux"];
};
}
diff --git a/pkgs/development/libraries/chromaprint/default.nix b/pkgs/development/libraries/chromaprint/default.nix
index 02420735ff7..fd868884f98 100644
--- a/pkgs/development/libraries/chromaprint/default.nix
+++ b/pkgs/development/libraries/chromaprint/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, boost, ffmpeg }:
stdenv.mkDerivation rec {
- name = "chromaprint-${version}";
+ pname = "chromaprint";
version = "1.3.2";
src = fetchurl {
- url = "https://bitbucket.org/acoustid/chromaprint/downloads/${name}.tar.gz";
+ url = "https://bitbucket.org/acoustid/chromaprint/downloads/${pname}-${version}.tar.gz";
sha256 = "0lln8dh33gslb9cbmd1hcv33pr6jxdwipd8m8gbsyhksiq6r1by3";
};
diff --git a/pkgs/development/libraries/cimg/default.nix b/pkgs/development/libraries/cimg/default.nix
index c9ef618420e..6181122aa7f 100644
--- a/pkgs/development/libraries/cimg/default.nix
+++ b/pkgs/development/libraries/cimg/default.nix
@@ -1,13 +1,12 @@
{ stdenv, fetchurl, unzip }:
stdenv.mkDerivation rec {
-
- name = "cimg-${version}";
- version = "2.5.7";
+ pname = "cimg";
+ version = "2.7.1";
src = fetchurl {
url = "http://cimg.eu/files/CImg_${version}.zip";
- sha256 = "155mmxrd2gm81v4ayff43xhi341ivqfpx2n6x9imldkr35hchzvm";
+ sha256 = "1lw1hjk65zyd5x9w113yrqyy8db45jdzzkqslkipaiskl9f81y9z";
};
nativeBuildInputs = [ unzip ];
diff --git a/pkgs/development/libraries/cl/default.nix b/pkgs/development/libraries/cl/default.nix
index 1890d2b25a0..a7d7a0ea982 100644
--- a/pkgs/development/libraries/cl/default.nix
+++ b/pkgs/development/libraries/cl/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "1.2.4";
- name = "cl-${version}";
+ pname = "cl";
src = fetchFromGitHub {
owner = "tonyrog";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
# 'cp' line taken from Arch recipe
# https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/erlang-sdl
installPhase = ''
- DIR=$out/lib/erlang/lib/${name}
+ DIR=$out/lib/erlang/lib/${pname}-${version}
mkdir -p $DIR
cp -ruv c_src doc ebin include priv src $DIR
'';
diff --git a/pkgs/development/libraries/classads/default.nix b/pkgs/development/libraries/classads/default.nix
index d329b1945fc..ff8e1ca6759 100644
--- a/pkgs/development/libraries/classads/default.nix
+++ b/pkgs/development/libraries/classads/default.nix
@@ -3,7 +3,8 @@
let version = "1.0.10"; in
stdenv.mkDerivation {
- name = "classads-${version}";
+ pname = "classads";
+ inherit version;
src = fetchurl {
url = "ftp://ftp.cs.wisc.edu/condor/classad/c++/classads-${version}.tar.gz";
diff --git a/pkgs/development/libraries/clipp/clipp.pc b/pkgs/development/libraries/clipp/clipp.pc
new file mode 100644
index 00000000000..38c07e5ba16
--- /dev/null
+++ b/pkgs/development/libraries/clipp/clipp.pc
@@ -0,0 +1,9 @@
+prefix=@out@
+includedir=${prefix}/include
+
+Name: @pname@
+Description: Easy to use, powerful and expressive command line argument \
+handling for C++11/14/17
+URL: https://github.com/muellan/clipp
+Version: @version@
+Cflags: -I${includedir}
diff --git a/pkgs/development/libraries/clipp/default.nix b/pkgs/development/libraries/clipp/default.nix
new file mode 100644
index 00000000000..f7c8f90e868
--- /dev/null
+++ b/pkgs/development/libraries/clipp/default.nix
@@ -0,0 +1,30 @@
+{ stdenv, fetchFromGitHub }:
+
+stdenv.mkDerivation rec {
+ pname = "clipp";
+ version = "1.2.3";
+
+ src = fetchFromGitHub {
+ owner = "muellan";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "0rq80ba2krwzvcg4r2g1al88453c7lz6ziri2s1ygv8inp9r775s";
+ };
+
+ installPhase = ''
+ mkdir -p $out/share/pkgconfig
+ cp -r include $out/
+ substitute ${./clipp.pc} $out/share/pkgconfig/clipp.pc \
+ --subst-var out \
+ --subst-var pname \
+ --subst-var version
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Easy to use, powerful and expressive command line argument handling for C++11/14/17";
+ homepage = "https://github.com/muellan/clipp";
+ license = licenses.mit;
+ maintainers = with maintainers; [ xbreak ];
+ platforms = with platforms; all;
+ };
+}
diff --git a/pkgs/development/libraries/clipper/default.nix b/pkgs/development/libraries/clipper/default.nix
index 086816655d3..11752423906 100644
--- a/pkgs/development/libraries/clipper/default.nix
+++ b/pkgs/development/libraries/clipper/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "6.4.2";
- name = "Clipper-${version}";
+ pname = "Clipper";
src = fetchurl {
url = "mirror://sourceforge/polyclipping/clipper_ver${version}.zip";
sha256 = "09q6jc5k7p9y5d75qr2na5d1gm0wly5cjnffh127r04l47c20hx1";
diff --git a/pkgs/development/libraries/cln/default.nix b/pkgs/development/libraries/cln/default.nix
index 7764e9c67ed..7adc2a365c5 100644
--- a/pkgs/development/libraries/cln/default.nix
+++ b/pkgs/development/libraries/cln/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, gmp }:
stdenv.mkDerivation rec {
- name = "cln-${version}";
+ pname = "cln";
version = "1.3.4";
src = fetchurl {
- url = "${meta.homepage}${name}.tar.bz2";
+ url = "${meta.homepage}${pname}-${version}.tar.bz2";
sha256 = "0j5p18hwbbrchsdbnc8d2bf9ncslhflri4i950gdnq7v6g2dg69d";
};
diff --git a/pkgs/development/libraries/clutter-gst/default.nix b/pkgs/development/libraries/clutter-gst/default.nix
index 9577bfe9e8a..3c88327c790 100644
--- a/pkgs/development/libraries/clutter-gst/default.nix
+++ b/pkgs/development/libraries/clutter-gst/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, stdenv, pkgconfig, clutter, gtk3, glib, cogl, gnome3, gdk_pixbuf }:
+{ fetchurl, stdenv, pkgconfig, clutter, gtk3, glib, cogl, gnome3, gdk-pixbuf }:
let
pname = "clutter-gst";
@@ -11,7 +11,7 @@ in stdenv.mkDerivation rec {
sha256 = "17czmpl92dzi4h3rn5rishk015yi3jwiw29zv8qan94xcmnbssgy";
};
- propagatedBuildInputs = [ clutter gtk3 glib cogl gdk_pixbuf ];
+ propagatedBuildInputs = [ clutter gtk3 glib cogl gdk-pixbuf ];
nativeBuildInputs = [ pkgconfig ];
postBuild = "rm -rf $out/share/gtk-doc";
diff --git a/pkgs/development/libraries/cm256cc/default.nix b/pkgs/development/libraries/cm256cc/default.nix
new file mode 100644
index 00000000000..aaf40998102
--- /dev/null
+++ b/pkgs/development/libraries/cm256cc/default.nix
@@ -0,0 +1,23 @@
+{ stdenv, fetchFromGitHub, cmake, boost } :
+
+stdenv.mkDerivation rec {
+ pname = "cm256cc";
+ version = "1.0.5";
+
+ src = fetchFromGitHub {
+ owner = "f4exb";
+ repo = "cm256cc";
+ rev = "v${version}";
+ sha256 = "0d16y3lhdwr644am4sxqpshpbc3qik6dgr1w2c39vy75w9ff61a0";
+ };
+
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ boost ];
+
+ meta = with stdenv.lib; {
+ description = "Fast GF(256) Cauchy MDS Block Erasure Codec in C++";
+ homepage = "https://github.com/f4exb/cm256cc";
+ platforms = platforms.linux;
+ maintainers = with maintainers; [ alkeryn ];
+ };
+}
diff --git a/pkgs/development/libraries/cmark/default.nix b/pkgs/development/libraries/cmark/default.nix
index ede2049b6ee..e7c02312b66 100644
--- a/pkgs/development/libraries/cmark/default.nix
+++ b/pkgs/development/libraries/cmark/default.nix
@@ -2,7 +2,7 @@
stdenv.mkDerivation rec {
version = "0.29.0";
- name = "cmark-${version}";
+ pname = "cmark";
src = fetchFromGitHub {
owner = "jgm";
diff --git a/pkgs/development/libraries/cmrt/default.nix b/pkgs/development/libraries/cmrt/default.nix
index 8044d7165f7..11e719b36df 100644
--- a/pkgs/development/libraries/cmrt/default.nix
+++ b/pkgs/development/libraries/cmrt/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, autoreconfHook, pkgconfig, libdrm, libva }:
stdenv.mkDerivation rec {
- name = "cmrt-${version}";
+ pname = "cmrt";
version = "1.0.6";
src = fetchurl {
diff --git a/pkgs/development/libraries/codec2/default.nix b/pkgs/development/libraries/codec2/default.nix
index 9f4c4c3b6b3..7c42a7479b1 100644
--- a/pkgs/development/libraries/codec2/default.nix
+++ b/pkgs/development/libraries/codec2/default.nix
@@ -4,7 +4,8 @@ let
version = "0.8";
in stdenv.mkDerivation {
- name = "codec2-${version}";
+ pname = "codec2";
+ inherit version;
src = fetchsvn {
url = "https://svn.code.sf.net/p/freetel/code/codec2/branches/${version}";
diff --git a/pkgs/development/libraries/cogl/default.nix b/pkgs/development/libraries/cogl/default.nix
index cff32ca2d70..4700d9e2418 100644
--- a/pkgs/development/libraries/cogl/default.nix
+++ b/pkgs/development/libraries/cogl/default.nix
@@ -1,6 +1,6 @@
-{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk_pixbuf, xorg, libintl
+{ stdenv, fetchurl, fetchpatch, pkgconfig, libGL, glib, gdk-pixbuf, xorg, libintl
, pangoSupport ? true, pango, cairo, gobject-introspection, wayland, gnome3
-, mesa_noglu
+, mesa
, gstreamerSupport ? true, gst_all_1 }:
let
@@ -44,7 +44,7 @@ in stdenv.mkDerivation rec {
++ stdenv.lib.optionals (!stdenv.isDarwin) [ "--enable-gles1" "--enable-gles2" ];
propagatedBuildInputs = with xorg; [
- glib gdk_pixbuf gobject-introspection wayland mesa_noglu
+ glib gdk-pixbuf gobject-introspection wayland mesa
libGL libXrandr libXfixes libXcomposite libXdamage
]
++ stdenv.lib.optionals gstreamerSupport [ gst_all_1.gstreamer
diff --git a/pkgs/development/libraries/coin3d/default.nix b/pkgs/development/libraries/coin3d/default.nix
index 442ed2a4b9a..74fd12ffea2 100644
--- a/pkgs/development/libraries/coin3d/default.nix
+++ b/pkgs/development/libraries/coin3d/default.nix
@@ -1,30 +1,25 @@
-{ fetchurl, stdenv, libGLU_combined }:
+{ fetchFromBitbucket, stdenv, boost, cmake, libGLU_combined }:
-stdenv.mkDerivation rec {
- name = "coin3d-${version}";
- version = "3.1.3";
+stdenv.mkDerivation {
+ pname = "coin";
+ version = "unstable-2019-06-12";
- src = fetchurl {
- url = "https://bitbucket.org/Coin3D/coin/downloads/Coin-${version}.tar.gz";
- sha256 = "05ylhrcglm81dajbk132l1w892634z2i97x10fm64y1ih72phd2q";
+ src = fetchFromBitbucket {
+ owner = "Coin3D";
+ repo = "coin";
+ rev = "8d860d7ba112b22c4e9b289268fd8b3625ab81d3";
+ sha256 = "1cpncljqvw28k5wvpgchv593nayhby5gwpvbnyllc9hb9ms816xn";
};
- patches = [
- (fetchurl {
- url = http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/coin/files/coin-3.1.3-gcc-4.7.patch;
- name = "gcc-4.7.patch";
- sha256 = "076dyc52swk8qc7ylps53fg6iqmd52x8s7m18i80x49dd109yw20";
- })
- ./gcc-4.8.patch # taken from FC-17 source rpm
- # see https://bitbucket.org/Coin3D/coin/issues/128/crash-in-cc_memalloc_deallocate
- # patch adapted from https://bitbucket.org/Coin3D/coin/pull-requests/75/added-fix-for-issue-128-provided-by-fedora/diff
- ./sbhashentry.patch
- ];
+ postPatch = ''
+ sed -i /cpack.d/d CMakeLists.txt
+ '';
- buildInputs = [ libGLU_combined ];
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ boost libGLU_combined ];
meta = {
- homepage = http://www.coin3d.org/;
+ homepage = "https://bitbucket.org/Coin3D/coin/wiki/Home";
license = stdenv.lib.licenses.gpl2Plus;
description = "High-level, retained-mode toolkit for effective 3D graphics development";
maintainers = [ stdenv.lib.maintainers.viric ];
diff --git a/pkgs/development/libraries/coin3d/gcc-4.8.patch b/pkgs/development/libraries/coin3d/gcc-4.8.patch
deleted file mode 100644
index be5b8b03b63..00000000000
--- a/pkgs/development/libraries/coin3d/gcc-4.8.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From 9f5d96a2b9a71ab539237d2dab4c54fc46fc5c5b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?=
-Date: Thu, 18 Apr 2013 19:17:06 +0200
-Subject: [PATCH 10/10] GCC-4.8.0 fixes
-
----
- src/fonts/freetype.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/fonts/freetype.cpp b/src/fonts/freetype.cpp
-index 760b88b..e705d3a 100644
---- a/src/fonts/freetype.cpp
-+++ b/src/fonts/freetype.cpp
-@@ -32,18 +32,18 @@
-
- 20050613 mortene. */
-
--#include "fonts/freetype.h"
--
- #ifdef HAVE_CONFIG_H
- #include "config.h"
- #endif /* HAVE_CONFIG_H */
-
--#include
-+#include
- #include
-
- #include "glue/freetype.h"
- #include "glue/GLUWrapper.h"
-
-+#include "fonts/freetype.h"
-+
- /* ************************************************************************* */
-
- #ifdef __cplusplus
---
-1.8.1.4
-
diff --git a/pkgs/development/libraries/coin3d/sbhashentry.patch b/pkgs/development/libraries/coin3d/sbhashentry.patch
deleted file mode 100644
index 88c9a5f02a2..00000000000
--- a/pkgs/development/libraries/coin3d/sbhashentry.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff -u --label /tmp/Coin-3.1.3/src/misc/SbHash.h --label \#\ /tmp/Coin-3.1.3/src/misc/SbHash.h /tmp/buffer-content-21756V0
---- a/src/misc/SbHash.h
-+++ b/src/misc/SbHash.h
-@@ -88,8 +88,8 @@
- SbHashEntry * entry = static_cast *>( ptr);
- cc_memalloc_deallocate(entry->memhandler, ptr);
- }
-- SbHashEntry(const Key & key, const Type & obj) : key(key), obj(obj) {}
--
-+ SbHashEntry(const Key & key, const Type & obj, cc_memalloc *memhandler)
-+ : key(key), obj(obj), memhandler(memhandler) {}
- Key key;
- Type obj;
- SbHashEntry * next;
-@@ -218,7 +218,7 @@
- /* Key not already in the hash table; insert a new
- * entry as the first element in the bucket
- */
-- entry = new (this->memhandler) SbHashEntry(key, obj);
-+ entry = new (this->memhandler) SbHashEntry(key, obj, this->memhandler);
- entry->next = this->buckets[i];
- this->buckets[i] = entry;
-
-
-Diff finished. Sat Sep 9 19:50:32 2017
diff --git a/pkgs/development/libraries/concurrencykit/default.nix b/pkgs/development/libraries/concurrencykit/default.nix
index 29ce216cadf..cc42407433c 100644
--- a/pkgs/development/libraries/concurrencykit/default.nix
+++ b/pkgs/development/libraries/concurrencykit/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
- name = "concurrencykit-${version}";
+ pname = "concurrencykit";
version = "0.6.0";
src = fetchurl {
diff --git a/pkgs/development/libraries/coprthr/default.nix b/pkgs/development/libraries/coprthr/default.nix
index 5630daa0d93..86f4485a900 100644
--- a/pkgs/development/libraries/coprthr/default.nix
+++ b/pkgs/development/libraries/coprthr/default.nix
@@ -2,7 +2,7 @@
, bison, flex }:
stdenv.mkDerivation rec {
- name = "coprthr-${version}";
+ pname = "coprthr";
version = "1.6";
src = fetchurl {
diff --git a/pkgs/development/libraries/cpp-gsl/default.nix b/pkgs/development/libraries/cpp-gsl/default.nix
deleted file mode 100644
index 833275c72bd..00000000000
--- a/pkgs/development/libraries/cpp-gsl/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ stdenv, fetchFromGitHub, cmake, catch }:
-
-stdenv.mkDerivation rec {
- pname = "GSL-unstable";
- version = "2017-02-15";
- name = "${pname}-${version}";
-
- src = fetchFromGitHub {
- owner = "Microsoft";
- repo = "GSL";
- rev = "c87c123d1b3e64ae2cf725584f0c004da4d90f1c";
- sha256 = "0h8py468bvxnydkjs352d7a9s8hk0ihc7msjkcnzj2d7nzp5nsc1";
- };
-
- NIX_CFLAGS_COMPILE = "-Wno-error=sign-conversion";
- nativeBuildInputs = [ cmake catch ];
-
- meta = with stdenv.lib; {
- homepage = https://github.com/Microsoft/GSL;
- description = "C++ Core Guideline support library";
- longDescription = ''
- The Guideline Support Library (GSL) contains functions and types that are suggested for
- use by the C++ Core Guidelines maintained by the Standard C++ Foundation.
- This package contains Microsoft's implementation of GSL.
- '';
- platforms = stdenv.lib.platforms.unix;
- license = licenses.mit;
- maintainers = with maintainers; [ yuriaisaka ];
- };
-}
diff --git a/pkgs/development/libraries/cpp-hocon/default.nix b/pkgs/development/libraries/cpp-hocon/default.nix
index c2f3ce9b9b4..d172ab55fa3 100644
--- a/pkgs/development/libraries/cpp-hocon/default.nix
+++ b/pkgs/development/libraries/cpp-hocon/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, boost, curl, leatherman }:
stdenv.mkDerivation rec {
- name = "cpp-hocon-${version}";
+ pname = "cpp-hocon";
version = "0.2.1";
src = fetchFromGitHub {
@@ -11,6 +11,8 @@ stdenv.mkDerivation rec {
owner = "puppetlabs";
};
+ NIX_CFLAGS_COMPILE = [ "-Wno-error=catch-value" ];
+
nativeBuildInputs = [ cmake ];
buildInputs = [ boost curl leatherman ];
diff --git a/pkgs/development/libraries/cpp-ipfs-api/default.nix b/pkgs/development/libraries/cpp-ipfs-api/default.nix
index c13b32a67b0..dfebccc88e3 100644
--- a/pkgs/development/libraries/cpp-ipfs-api/default.nix
+++ b/pkgs/development/libraries/cpp-ipfs-api/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, curl, cmake, nlohmann_json }:
-stdenv.mkDerivation rec {
- name = "cpp-ipfs-api-${version}";
+stdenv.mkDerivation {
+ pname = "cpp-ipfs-api";
version = "2017-01-04";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/cpp-netlib/default.nix b/pkgs/development/libraries/cpp-netlib/default.nix
index badfc630a47..a4729cdeaed 100644
--- a/pkgs/development/libraries/cpp-netlib/default.nix
+++ b/pkgs/development/libraries/cpp-netlib/default.nix
@@ -1,12 +1,15 @@
-{ stdenv, fetchurl, cmake, boost, openssl, asio }:
+{ stdenv, fetchFromGitHub, cmake, boost, openssl, asio }:
stdenv.mkDerivation rec {
- name = "cpp-netlib-${version}";
- version = "0.12.0";
+ pname = "cpp-netlib";
+ version = "0.13.0-final";
- src = fetchurl {
- url = "http://downloads.cpp-netlib.org/${version}/${name}-final.tar.bz2";
- sha256 = "0h7gyrbr3madycnj8rl8k1jzk2hd8np2k5ad9mijlh0fizzzk3h8";
+ src = fetchFromGitHub {
+ owner = pname;
+ repo = pname;
+ rev = "${pname}-${version}";
+ sha256 = "18782sz7aggsl66b4mmi1i0ijwa76iww337fi9sygnplz2hs03a3";
+ fetchSubmodules = true;
};
buildInputs = [ cmake boost openssl ];
diff --git a/pkgs/development/libraries/cpp-utilities/default.nix b/pkgs/development/libraries/cpp-utilities/default.nix
new file mode 100644
index 00000000000..cd16dea56b1
--- /dev/null
+++ b/pkgs/development/libraries/cpp-utilities/default.nix
@@ -0,0 +1,27 @@
+{ stdenv, fetchFromGitHub, cmake, cppunit }:
+
+stdenv.mkDerivation rec {
+ pname = "cpp-utilities";
+ version = "4.17.1";
+
+ src = fetchFromGitHub {
+ owner = "Martchus";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "12088cwg3jbqipmbn4843w1cgxi1q6vwx47gy042rkfvbk6azhxl";
+ };
+
+ nativeBuildInputs = [ cmake ];
+ checkInputs = [ cppunit ];
+ # Otherwise, tests fail since the resulting shared object libc++utilities.so is only available in PWD of the make files
+ checkFlagsArray = [ "LD_LIBRARY_PATH=$(PWD)" ];
+ doCheck = true;
+
+ meta = with stdenv.lib; {
+ homepage = "https://github.com/Martchus/cpp-utilities";
+ description = "Common C++ classes and routines used by @Martchus' applications featuring argument parser, IO and conversion utilities";
+ license = licenses.gpl2;
+ maintainers = with maintainers; [ doronbehar ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/cppcms/default.nix b/pkgs/development/libraries/cppcms/default.nix
index a2493e55fb0..7bb2bad9689 100644
--- a/pkgs/development/libraries/cppcms/default.nix
+++ b/pkgs/development/libraries/cppcms/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, pcre, zlib, python, openssl }:
stdenv.mkDerivation rec {
- name = "cppcms-${version}";
+ pname = "cppcms";
version = "1.2.1";
src = fetchurl {
- url = "mirror://sourceforge/cppcms/${name}.tar.bz2";
+ url = "mirror://sourceforge/cppcms/${pname}-${version}.tar.bz2";
sha256 = "0lmcdjzicmzhnr8pa0q3f5lgapz2cnh9w0dr56i4kj890iqwgzhh";
};
diff --git a/pkgs/development/libraries/cppdb/default.nix b/pkgs/development/libraries/cppdb/default.nix
index 3423b29d76c..737122c57bf 100644
--- a/pkgs/development/libraries/cppdb/default.nix
+++ b/pkgs/development/libraries/cppdb/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake, sqlite, mysql, postgresql, unixODBC }:
stdenv.mkDerivation rec {
- name = "cppdb-${version}";
+ pname = "cppdb";
version = "0.3.1";
src = fetchurl {
- url = "mirror://sourceforge/cppcms/${name}.tar.bz2";
+ url = "mirror://sourceforge/cppcms/${pname}-${version}.tar.bz2";
sha256 = "0blr1casmxickic84dxzfmn3lm7wrsl4aa2abvpq93rdfddfy3nn";
};
diff --git a/pkgs/development/libraries/cppunit/default.nix b/pkgs/development/libraries/cppunit/default.nix
index 3f8b2d896ac..76fd6db18b0 100644
--- a/pkgs/development/libraries/cppunit/default.nix
+++ b/pkgs/development/libraries/cppunit/default.nix
@@ -1,11 +1,11 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
- name = "cppunit-${version}";
+ pname = "cppunit";
version = "1.14.0";
src = fetchurl {
- url = "https://dev-www.libreoffice.org/src/${name}.tar.gz";
+ url = "https://dev-www.libreoffice.org/src/${pname}-${version}.tar.gz";
sha256 = "1027cyfx5gsjkdkaf6c2wnjh68882grw8n672018cj3vs9lrhmix";
};
diff --git a/pkgs/development/libraries/cpputest/default.nix b/pkgs/development/libraries/cpputest/default.nix
index 2dce60d4b2c..28ab31a08cc 100644
--- a/pkgs/development/libraries/cpputest/default.nix
+++ b/pkgs/development/libraries/cpputest/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "3.8";
- name = "cpputest-${version}";
+ pname = "cpputest";
src = fetchurl {
- url = "https://github.com/cpputest/cpputest/releases/download/v${version}/${name}.tar.gz";
+ url = "https://github.com/cpputest/cpputest/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "0mk48xd3klyqi7wf3f4wn4zqxxzmvrhhl32r25jzrixzl72wq7f8";
};
diff --git a/pkgs/development/libraries/cppzmq/default.nix b/pkgs/development/libraries/cppzmq/default.nix
index 9933d1034af..2328bd53362 100644
--- a/pkgs/development/libraries/cppzmq/default.nix
+++ b/pkgs/development/libraries/cppzmq/default.nix
@@ -1,19 +1,25 @@
{ stdenv, fetchFromGitHub, cmake, zeromq }:
stdenv.mkDerivation rec {
- name = "cppzmq-${version}";
- version = "4.2.3";
+ pname = "cppzmq";
+ version = "4.4.1";
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
rev = "v${version}";
- sha256 = "1yjs25ra5s8zs0rhk50w3f1rrrl80hhq784lwdhh1m3risk740sa";
+ sha256 = "15dgkv51csfkafplf0n0vqbjdr4pxqxq44dln0dcizhsn1p0a57q";
};
nativeBuildInputs = [ cmake ];
buildInputs = [ zeromq ];
+ cmakeFlags = [
+ # Tests try to download googletest at compile time; there is no option
+ # to use a system one and no simple way to download it beforehand.
+ "-DCPPZMQ_BUILD_TESTS=OFF"
+ ];
+
meta = with stdenv.lib; {
homepage = https://github.com/zeromq/cppzmq;
license = licenses.bsd2;
diff --git a/pkgs/development/libraries/crc32c/default.nix b/pkgs/development/libraries/crc32c/default.nix
new file mode 100644
index 00000000000..916ec5b703b
--- /dev/null
+++ b/pkgs/development/libraries/crc32c/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchFromGitHub, cmake, gflags }:
+stdenv.mkDerivation rec {
+ pname = "crc32c";
+ version = "1.1.0";
+
+ src = fetchFromGitHub {
+ owner = "google";
+ repo = "crc32c";
+ rev = version;
+ sha256 = "1sazkis9rzbrklfrvk7jn1mqywnq4yghmzg94mxd153h8b1sb149";
+ fetchSubmodules = true;
+ };
+
+ nativeBuildInputs = [ cmake ];
+ buildInputs = [ gflags ];
+ NIX_CFLAGS_COMPILE = stdenv.lib.optional stdenv.isAarch64 "-march=armv8-a+crc";
+
+ meta = with stdenv.lib; {
+ homepage = https://github.com/google/crc32c;
+ description = "CRC32C implementation with support for CPU-specific acceleration instructions";
+ license = with licenses; [ bsd3 ];
+ maintainers = with maintainers; [ andir ];
+ };
+}
diff --git a/pkgs/development/libraries/cre2/default.nix b/pkgs/development/libraries/cre2/default.nix
index 74619cbaaae..a4313fa94d3 100644
--- a/pkgs/development/libraries/cre2/default.nix
+++ b/pkgs/development/libraries/cre2/default.nix
@@ -2,14 +2,14 @@
libtool, pkgconfig, re2, texinfo }:
stdenv.mkDerivation rec {
- name = "cre2-${version}";
+ pname = "cre2";
version = "0.3.0";
-
+
src = fetchFromGitHub {
owner = "marcomaggi";
repo = "cre2";
- rev = version;
- sha256 = "12yrdad87jjqrhbqm02hzsayan2402vf61a9x1b2iabv6d1c1bnj";
+ rev = "v${version}";
+ sha256 = "1h9jwn6z8kjf4agla85b5xf7gfkdwncp0mfd8zwk98jkm8y2qx9q";
};
nativeBuildInputs = [
diff --git a/pkgs/development/libraries/croaring/default.nix b/pkgs/development/libraries/croaring/default.nix
new file mode 100644
index 00000000000..6e6ee2479d4
--- /dev/null
+++ b/pkgs/development/libraries/croaring/default.nix
@@ -0,0 +1,28 @@
+{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
+
+stdenv.mkDerivation rec {
+ pname = "croaring";
+ version = "0.2.61";
+
+ src = fetchFromGitHub {
+ owner = "RoaringBitmap";
+ repo = "CRoaring";
+ rev = "v${version}";
+ sha256 = "14y8iwv6b6gg7hgs00yqg8rwx4vwbb1zs2s99lxa51zx9vp1alcn";
+ };
+
+ patches = fetchpatch {
+ url = "https://github.com/RoaringBitmap/CRoaring/commit/8d8c60736f506b2b8f1c365148a8a541b26a55f2.patch";
+ sha256 = "1y2mbn4i8lj3lkn5s8zziyr9pl1fq9hndzz9c01dkv3s8sn7f55s";
+ };
+
+ nativeBuildInputs = [ cmake ];
+
+ meta = with lib; {
+ description = "Compressed bitset library for C and C++";
+ homepage = http://roaringbitmap.org/;
+ license = licenses.asl20;
+ maintainers = with maintainers; [ orivej ];
+ platforms = platforms.linux;
+ };
+}
diff --git a/pkgs/development/libraries/crypto++/default.nix b/pkgs/development/libraries/crypto++/default.nix
index 61a825cd374..cb481fc7084 100644
--- a/pkgs/development/libraries/crypto++/default.nix
+++ b/pkgs/development/libraries/crypto++/default.nix
@@ -1,7 +1,7 @@
{ fetchFromGitHub, stdenv }:
stdenv.mkDerivation rec {
- name = "crypto++-${version}";
+ pname = "crypto++";
majorVersion = "5.6";
version = "${majorVersion}.5";
diff --git a/pkgs/development/libraries/csfml/default.nix b/pkgs/development/libraries/csfml/default.nix
index 9b74ecdb0f7..506aa5f475d 100644
--- a/pkgs/development/libraries/csfml/default.nix
+++ b/pkgs/development/libraries/csfml/default.nix
@@ -5,7 +5,8 @@ let
in
stdenv.mkDerivation {
- name = "csfml-${version}";
+ pname = "csfml";
+ inherit version;
src = fetchFromGitHub {
owner = "SFML";
repo = "CSFML";
diff --git a/pkgs/development/libraries/ctpl/default.nix b/pkgs/development/libraries/ctpl/default.nix
index fd81de5139d..5696684e91d 100644
--- a/pkgs/development/libraries/ctpl/default.nix
+++ b/pkgs/development/libraries/ctpl/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchurl, pkgconfig, glib }:
stdenv.mkDerivation rec {
- name = "ctpl-${version}";
+ pname = "ctpl";
version = "0.3.4";
src = fetchurl {
diff --git a/pkgs/development/libraries/ctpp2/default.nix b/pkgs/development/libraries/ctpp2/default.nix
index 5a2a53ef24d..ea2230909a2 100644
--- a/pkgs/development/libraries/ctpp2/default.nix
+++ b/pkgs/development/libraries/ctpp2/default.nix
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, cmake }:
stdenv.mkDerivation rec {
- name = "ctpp2-${version}";
+ pname = "ctpp2";
version = "2.8.3";
src = fetchurl {
- url = "http://ctpp.havoc.ru/download/${name}.tar.gz";
+ url = "http://ctpp.havoc.ru/download/${pname}-${version}.tar.gz";
sha256 = "1z22zfw9lb86z4hcan9hlvji49c9b7vznh7gjm95gnvsh43zsgx8";
};
diff --git a/pkgs/development/libraries/ctypes_sh/default.nix b/pkgs/development/libraries/ctypes_sh/default.nix
new file mode 100644
index 00000000000..1e12afd95ca
--- /dev/null
+++ b/pkgs/development/libraries/ctypes_sh/default.nix
@@ -0,0 +1,28 @@
+{ stdenv
+, fetchFromGitHub
+, autoreconfHook, pkgconfig
+, zlib, libffi, elfutils, libdwarf
+}:
+
+stdenv.mkDerivation rec {
+ pname = "ctypes.sh";
+ version = "1.1";
+
+ src = fetchFromGitHub {
+ owner = "taviso";
+ repo = pname;
+ rev = "v${version}";
+ sha256 = "07rqbdxw33h92mllh0srymjjx52mddafs3jyzqpsflq3v0l0dk37";
+ };
+
+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
+ buildInputs = [ zlib libffi elfutils libdwarf ];
+
+ meta = with stdenv.lib; {
+ description = "A foreign function interface for bash";
+ homepage = "https://github.com/taviso/ctypes.sh";
+ license = licenses.mit;
+ maintainers = with maintainers; [ tadeokondrak ];
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/development/libraries/curlcpp/default.nix b/pkgs/development/libraries/curlcpp/default.nix
index a2188f687d1..6f531414242 100644
--- a/pkgs/development/libraries/curlcpp/default.nix
+++ b/pkgs/development/libraries/curlcpp/default.nix
@@ -1,13 +1,13 @@
{ stdenv, fetchFromGitHub, cmake, curl }:
stdenv.mkDerivation rec {
- name = "curlcpp-${version}";
+ pname = "curlcpp";
version = "1.1";
src = fetchFromGitHub {
owner = "JosephP91";
repo = "curlcpp";
- rev = "${version}";
+ rev = version;
sha256 = "025qg5hym73xrvyhalv3jgbf9jqnnzkdjs3zwsgbpqx58zyd5bg5";
};
diff --git a/pkgs/development/libraries/curlpp/default.nix b/pkgs/development/libraries/curlpp/default.nix
index 58f88e6d8eb..490f472a066 100644
--- a/pkgs/development/libraries/curlpp/default.nix
+++ b/pkgs/development/libraries/curlpp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, cmake, curl }:
stdenv.mkDerivation rec {
- name = "curlpp-${version}";
+ pname = "curlpp";
version = "0.8.1";
src = fetchFromGitHub {
owner = "jpbarrette";
diff --git a/pkgs/development/libraries/cutee/default.nix b/pkgs/development/libraries/cutee/default.nix
index ba1d02380e2..1658f8a6fa7 100644
--- a/pkgs/development/libraries/cutee/default.nix
+++ b/pkgs/development/libraries/cutee/default.nix
@@ -3,7 +3,6 @@
stdenv.mkDerivation rec {
pname = "cutee";
version = "0.4.2";
- name = "${pname}-${version}";
src = fetchurl {
url = "http://www.codesink.org/download/${pname}-${version}.tar.gz";
diff --git a/pkgs/development/libraries/cutelyst/default.nix b/pkgs/development/libraries/cutelyst/default.nix
index 784a282f6b2..e84fbe89aa9 100644
--- a/pkgs/development/libraries/cutelyst/default.nix
+++ b/pkgs/development/libraries/cutelyst/default.nix
@@ -1,19 +1,19 @@
-{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, makeWrapper
+{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig, wrapQtAppsHook
, qtbase, libuuid, libcap, uwsgi, grantlee, pcre
}:
stdenv.mkDerivation rec {
- name = "cutelyst-${version}";
- version = "2.7.0";
+ pname = "cutelyst";
+ version = "2.8.0";
src = fetchFromGitHub {
owner = "cutelyst";
repo = "cutelyst";
rev = "v${version}";
- sha256 = "09cgfpr2k1jp98h1ahxqm5lmv3qbk0bcxpqpill6n5wmq2c8kl8b";
+ sha256 = "02jys32qkyksa2dmanyg4x0y5lh4ra0xbn2mfr2k84slrxbgjs1g";
};
- nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
+ nativeBuildInputs = [ cmake pkgconfig wrapQtAppsHook ];
buildInputs = [ qtbase libuuid libcap uwsgi grantlee pcre ];
cmakeFlags = [
@@ -31,12 +31,6 @@ stdenv.mkDerivation rec {
unset LD_LIBRARY_PATH
'';
- postInstall = ''
- for prog in $out/bin/*; do
- wrapProgram "$prog" --set QT_PLUGIN_PATH '${qtbase}/${qtbase.qtPluginPrefix}'
- done
- '';
-
meta = with lib; {
description = "C++ Web Framework built on top of Qt";
homepage = https://cutelyst.org/;
diff --git a/pkgs/development/libraries/cxx-prettyprint/default.nix b/pkgs/development/libraries/cxx-prettyprint/default.nix
index 8be68a314e3..e668e653477 100644
--- a/pkgs/development/libraries/cxx-prettyprint/default.nix
+++ b/pkgs/development/libraries/cxx-prettyprint/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
- name = "cxx-prettyprint-unstable-${version}";
+ pname = "cxx-prettyprint-unstable";
version = "2016-04-30";
rev = "9ab26d228f2960f50b38ad37fe0159b7381f7533";
diff --git a/pkgs/development/libraries/cxxtest/default.nix b/pkgs/development/libraries/cxxtest/default.nix
index aa0708daaa7..9b6407715df 100644
--- a/pkgs/development/libraries/cxxtest/default.nix
+++ b/pkgs/development/libraries/cxxtest/default.nix
@@ -3,7 +3,7 @@
let
pname = "cxxtest";
version = "4.4";
-in python2Packages.buildPythonApplication rec {
+in python2Packages.buildPythonApplication {
name = "${pname}-${version}";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/cxxtools/default.nix b/pkgs/development/libraries/cxxtools/default.nix
index 77b27640fd7..4c572cf781a 100644
--- a/pkgs/development/libraries/cxxtools/default.nix
+++ b/pkgs/development/libraries/cxxtools/default.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "2.2.1";
- name = "cxxtools-${version}";
+ pname = "cxxtools";
src = fetchurl {
- url = "http://www.tntnet.org/download/${name}.tar.gz";
+ url = "http://www.tntnet.org/download/${pname}-${version}.tar.gz";
sha256 = "0hp3qkyhidxkdf8qgkwrnqq5bpahink55mf0yz23rjd7rpbbdswc";
};
diff --git a/pkgs/development/libraries/cyrus-sasl/default.nix b/pkgs/development/libraries/cyrus-sasl/default.nix
index 06eac4423e7..a050dd8d9ca 100644
--- a/pkgs/development/libraries/cyrus-sasl/default.nix
+++ b/pkgs/development/libraries/cyrus-sasl/default.nix
@@ -1,16 +1,16 @@
{ lib, stdenv, fetchurl, openssl, openldap, kerberos, db, gettext
-, pam, fixDarwinDylibNames, autoreconfHook, fetchpatch, enableLdap ? false
+, pam, fixDarwinDylibNames, autoreconfHook, enableLdap ? false
, buildPackages, pruneLibtoolFiles }:
with stdenv.lib;
stdenv.mkDerivation rec {
- name = "cyrus-sasl-${version}";
+ pname = "cyrus-sasl";
version = "2.1.27";
src = fetchurl {
urls =
- [ "http://www.cyrusimap.org/releases/${name}.tar.gz"
- "http://www.cyrusimap.org/releases/old/${name}.tar.gz"
+ [ "http://www.cyrusimap.org/releases/${pname}-${version}.tar.gz"
+ "http://www.cyrusimap.org/releases/old/${pname}-${version}.tar.gz"
];
sha256 = "1m85zcpgfdhm43cavpdkhb1s2zq1b31472hq1w1gs3xh94anp1i6";
};
diff --git a/pkgs/development/libraries/czmq/3.x.nix b/pkgs/development/libraries/czmq/3.x.nix
index d418b879d1d..73a51cd2731 100644
--- a/pkgs/development/libraries/czmq/3.x.nix
+++ b/pkgs/development/libraries/czmq/3.x.nix
@@ -2,10 +2,10 @@
stdenv.mkDerivation rec {
version = "3.0.2";
- name = "czmq-${version}";
+ pname = "czmq";
src = fetchurl {
- url = "http://download.zeromq.org/${name}.tar.gz";
+ url = "http://download.zeromq.org/${pname}-${version}.tar.gz";
sha256 = "16k9awrhdsymx7dnmvqcnkaq8lz8x8zppy6sh7ls8prpd6mkkjlb";
};
diff --git a/pkgs/development/libraries/czmq/4.x.nix b/pkgs/development/libraries/czmq/4.x.nix
index 06801dfb7d2..05e499c73d0 100644
--- a/pkgs/development/libraries/czmq/4.x.nix
+++ b/pkgs/development/libraries/czmq/4.x.nix
@@ -1,11 +1,11 @@
-{ stdenv, fetchurl, fetchpatch, zeromq }:
+{ stdenv, fetchurl, zeromq }:
stdenv.mkDerivation rec {
version = "4.2.0";
- name = "czmq-${version}";
+ pname = "czmq";
src = fetchurl {
- url = "https://github.com/zeromq/czmq/releases/download/v${version}/${name}.tar.gz";
+ url = "https://github.com/zeromq/czmq/releases/download/v${version}/${pname}-${version}.tar.gz";
sha256 = "1szciz62sk3fm4ga9qjpxz0n0lazvphm32km95bq92ncng12kayg";
};
diff --git a/pkgs/development/libraries/czmqpp/default.nix b/pkgs/development/libraries/czmqpp/default.nix
index 0c026b9f47a..079eb0806d2 100644
--- a/pkgs/development/libraries/czmqpp/default.nix
+++ b/pkgs/development/libraries/czmqpp/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, czmq }:
stdenv.mkDerivation rec {
- name = "czmqpp-${version}";
+ pname = "czmqpp";
version = "1.2.0";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/dav1d/default.nix b/pkgs/development/libraries/dav1d/default.nix
index 157a6a21f3d..d065554d7c9 100644
--- a/pkgs/development/libraries/dav1d/default.nix
+++ b/pkgs/development/libraries/dav1d/default.nix
@@ -1,19 +1,31 @@
-{ stdenv, fetchFromGitLab, meson, ninja, nasm }:
+{ stdenv, fetchFromGitLab
+, meson, ninja, nasm, pkgconfig
+, withTools ? false, SDL2
+, useVulkan ? false, libplacebo, vulkan-loader, vulkan-headers
+}:
+
+assert useVulkan -> withTools;
stdenv.mkDerivation rec {
pname = "dav1d";
- version = "0.3.1";
+ version = "0.4.0";
src = fetchFromGitLab {
domain = "code.videolan.org";
owner = "videolan";
repo = pname;
rev = version;
- sha256 = "1m5vdg64iqxpi37l84mcfiq313g9z55zf66s85j2rqik6asmxbqg";
+ sha256 = "1fbalfzw8j00vwbrh9h8kjdx6h99dr10vmvbpg3rhsspmxq9h66h";
};
- nativeBuildInputs = [ meson ninja nasm ];
+ nativeBuildInputs = [ meson ninja nasm pkgconfig ];
# TODO: doxygen (currently only HTML and not build by default).
+ buildInputs = stdenv.lib.optional withTools SDL2
+ ++ stdenv.lib.optionals useVulkan [ libplacebo vulkan-loader vulkan-headers ];
+
+ mesonFlags= [
+ "-Denable_tools=${stdenv.lib.boolToString withTools}"
+ ];
meta = with stdenv.lib; {
description = "A cross-platform AV1 decoder focused on speed and correctness";
diff --git a/pkgs/development/libraries/db/db-4.8.nix b/pkgs/development/libraries/db/db-4.8.nix
index 76e30e921ba..dc668a233b0 100644
--- a/pkgs/development/libraries/db/db-4.8.nix
+++ b/pkgs/development/libraries/db/db-4.8.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, ... } @ args:
-import ./generic.nix (args // rec {
+import ./generic.nix (args // {
version = "4.8.30";
sha256 = "0ampbl2f0hb1nix195kz1syrqqxpmvnvnfvphambj7xjrl3iljg0";
extraPatches = [ ./clang-4.8.patch ./CVE-2017-10140-4.8-cwd-db_config.patch ];
diff --git a/pkgs/development/libraries/db/db-5.3.nix b/pkgs/development/libraries/db/db-5.3.nix
index 7894e4c7326..1223cb897e8 100644
--- a/pkgs/development/libraries/db/db-5.3.nix
+++ b/pkgs/development/libraries/db/db-5.3.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, ... } @ args:
-import ./generic.nix (args // rec {
+import ./generic.nix (args // {
version = "5.3.28";
sha256 = "0a1n5hbl7027fbz5lm0vp0zzfp1hmxnz14wx3zl9563h83br5ag0";
extraPatches = [ ./clang-5.3.patch ./CVE-2017-10140-cwd-db_config.patch ];
diff --git a/pkgs/development/libraries/db/db-6.0.nix b/pkgs/development/libraries/db/db-6.0.nix
index bafca3bd52d..642054b5a01 100644
--- a/pkgs/development/libraries/db/db-6.0.nix
+++ b/pkgs/development/libraries/db/db-6.0.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, ... } @ args:
-import ./generic.nix (args // rec {
+import ./generic.nix (args // {
version = "6.0.20";
sha256 = "00r2aaglq625y8r9xd5vw2y070plp88f1mb2gbq3kqsl7128lsl0";
license = stdenv.lib.licenses.agpl3;
diff --git a/pkgs/development/libraries/db/db-6.2.nix b/pkgs/development/libraries/db/db-6.2.nix
index 96f7668aa90..dee07a9637e 100644
--- a/pkgs/development/libraries/db/db-6.2.nix
+++ b/pkgs/development/libraries/db/db-6.2.nix
@@ -1,6 +1,6 @@
{ stdenv, fetchurl, ... } @ args:
-import ./generic.nix (args // rec {
+import ./generic.nix (args // {
version = "6.2.23";
sha256 = "1isxx4jfmnh913jzhp8hhfngbk6dsg46f4kjpvvc56maj64jqqa7";
license = stdenv.lib.licenses.agpl3;
diff --git a/pkgs/development/libraries/dbus-cplusplus/default.nix b/pkgs/development/libraries/dbus-cplusplus/default.nix
index 163b0f4be88..2609f47b276 100644
--- a/pkgs/development/libraries/dbus-cplusplus/default.nix
+++ b/pkgs/development/libraries/dbus-cplusplus/default.nix
@@ -1,12 +1,12 @@
{ stdenv, fetchurl, dbus, glib, pkgconfig, expat }:
stdenv.mkDerivation rec {
- name = "dbus-cplusplus-${version}";
+ pname = "dbus-cplusplus";
version = "0.9.0";
src = fetchurl {
url = "mirror://sourceforge/dbus-cplusplus/dbus-c%2B%2B/0.9.0/libdbus-c%2B%2B-0.9.0.tar.gz";
- name = "${name}.tar.gz";
+ name = "${pname}-${version}.tar.gz";
sha256 = "0qafmy2i6dzx4n1dqp6pygyy6gjljnb7hwjcj2z11c1wgclsq4dw";
};
diff --git a/pkgs/development/libraries/dbus-glib/default.nix b/pkgs/development/libraries/dbus-glib/default.nix
index fe57759f09f..c6237795960 100644
--- a/pkgs/development/libraries/dbus-glib/default.nix
+++ b/pkgs/development/libraries/dbus-glib/default.nix
@@ -1,4 +1,6 @@
-{ stdenv, fetchurl, pkgconfig, expat, gettext, libiconv, dbus, glib }:
+{ stdenv, fetchurl, buildPackages
+, pkgconfig, expat, gettext, libiconv, dbus, glib
+}:
stdenv.mkDerivation rec {
name = "dbus-glib-0.110";
@@ -11,15 +13,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
- nativeBuildInputs = [ pkgconfig gettext ];
+ nativeBuildInputs = [ pkgconfig gettext glib ];
buildInputs = [ expat libiconv ];
propagatedBuildInputs = [ dbus glib ];
- preConfigure = ''
- configureFlagsArray+=("--exec-prefix=$dev")
- '';
+ configureFlags = [ "--exec-prefix=${placeholder "dev"}" ] ++
+ stdenv.lib.optional (stdenv.buildPlatform != stdenv.hostPlatform)
+ "--with-dbus-binding-tool=${buildPackages.dbus-glib.dev}/bin/dbus-binding-tool";
doCheck = false;
diff --git a/pkgs/development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix b/pkgs/development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix
index 0f897d97467..22c0a9137ca 100644
--- a/pkgs/development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix
+++ b/pkgs/development/libraries/dbus-sharp-glib/dbus-sharp-glib-1.0.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, mono, dbus-sharp-1_0 }:
stdenv.mkDerivation rec {
- name = "dbus-sharp-glib-${version}";
+ pname = "dbus-sharp-glib";
version = "0.5";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/dbus-sharp-glib/default.nix b/pkgs/development/libraries/dbus-sharp-glib/default.nix
index cd020317f4c..496a109b58f 100644
--- a/pkgs/development/libraries/dbus-sharp-glib/default.nix
+++ b/pkgs/development/libraries/dbus-sharp-glib/default.nix
@@ -1,7 +1,7 @@
{ stdenv, fetchFromGitHub, pkgconfig, mono, dbus-sharp-2_0, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "dbus-sharp-glib-${version}";
+ pname = "dbus-sharp-glib";
version = "0.6";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/dbus-sharp/dbus-sharp-1.0.nix b/pkgs/development/libraries/dbus-sharp/dbus-sharp-1.0.nix
index 18ea3ad3ecb..084beae5972 100644
--- a/pkgs/development/libraries/dbus-sharp/dbus-sharp-1.0.nix
+++ b/pkgs/development/libraries/dbus-sharp/dbus-sharp-1.0.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, pkgconfig, mono, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "dbus-sharp-${version}";
+ pname = "dbus-sharp";
version = "0.7";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/dbus-sharp/default.nix b/pkgs/development/libraries/dbus-sharp/default.nix
index 14db5baea3f..0fd638dbf8e 100644
--- a/pkgs/development/libraries/dbus-sharp/default.nix
+++ b/pkgs/development/libraries/dbus-sharp/default.nix
@@ -1,7 +1,7 @@
{stdenv, fetchFromGitHub, pkgconfig, mono4, autoreconfHook }:
stdenv.mkDerivation rec {
- name = "dbus-sharp-${version}";
+ pname = "dbus-sharp";
version = "0.8.1";
src = fetchFromGitHub {
diff --git a/pkgs/development/libraries/dbus/default.nix b/pkgs/development/libraries/dbus/default.nix
index 6d85fe1233c..616ad869d57 100644
--- a/pkgs/development/libraries/dbus/default.nix
+++ b/pkgs/development/libraries/dbus/default.nix
@@ -1,92 +1,105 @@
-{ stdenv, lib, fetchurl, pkgconfig, expat, systemd
-, libX11 ? null, libICE ? null, libSM ? null, x11Support ? (stdenv.isLinux || stdenv.isDarwin) }:
+{ stdenv
+, lib
+, fetchurl
+, pkgconfig
+, expat
+, systemd
+, libX11 ? null
+, libICE ? null
+, libSM ? null
+, x11Support ? (stdenv.isLinux || stdenv.isDarwin)
+, dbus
+}:
-assert x11Support -> libX11 != null
- && libICE != null
- && libSM != null;
+assert
+ x11Support ->
+ libX11 != null && libICE != null && libSM != null;
-let
- version = "1.12.12";
- sha256 = "1y7mxhkw2shd9mi9s62k81lz8npjkrafapr4fyfms7hs04kg4ilm";
+stdenv.mkDerivation rec {
+ pname = "dbus";
+ version = "1.12.16";
-self = stdenv.mkDerivation {
- name = "dbus-${version}";
- inherit version;
-
- src = fetchurl {
- url = "https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.gz";
- inherit sha256;
- };
-
- patches = lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
- postPatch = ''
- substituteInPlace tools/Makefile.in \
- --replace 'install-localstatelibDATA:' 'disabled:' \
- --replace 'install-data-local:' 'disabled:' \
- --replace 'installcheck-local:' 'disabled:'
- substituteInPlace bus/Makefile.in \
- --replace '$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus' ':'
- '' + /* cleanup of runtime references */ ''
- substituteInPlace ./dbus/dbus-sysdeps-unix.c \
- --replace 'DBUS_BINDIR "/dbus-launch"' "\"$lib/bin/dbus-launch\""
- substituteInPlace ./tools/dbus-launch.c \
- --replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"'
- '';
-
- outputs = [ "out" "dev" "lib" "doc" ];
-
- nativeBuildInputs = [ pkgconfig ];
- propagatedBuildInputs = [ expat ];
- buildInputs = lib.optional stdenv.isLinux systemd
- ++ lib.optionals x11Support [ libX11 libICE libSM ];
- # ToDo: optional selinux?
-
- configureFlags = [
- "--localstatedir=/var"
- "--sysconfdir=/etc"
- "--with-session-socket-dir=/tmp"
- "--with-system-pid-file=/run/dbus/pid"
- "--with-system-socket=/run/dbus/system_bus_socket"
- "--with-systemdsystemunitdir=$(out)/etc/systemd/system"
- "--with-systemduserunitdir=$(out)/etc/systemd/user"
- "--enable-user-session"
- "--datadir=/etc"
- "--libexecdir=$(out)/libexec"
- ] ++ lib.optional (!x11Support) "--without-x";
-
- # Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11
- # (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands.
- # problems building without x11Support so disabled in that case for now
- NIX_CFLAGS_COMPILE = lib.optionalString x11Support "-DDBUS_ENABLE_X11_AUTOLAUNCH=1";
- NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed";
-
- enableParallelBuilding = true;
-
- doCheck = true;
-
- installFlags = [ "sysconfdir=$(out)/etc" "datadir=$(out)/share" ];
-
- postInstall = ''
- mkdir -p "$out/share/xml/dbus"
- cp doc/*.dtd "$out/share/xml/dbus"
- '';
-
- # it's executed from $lib by absolute path
- postFixup = ''
- moveToOutput bin/dbus-launch "$lib"
- ln -s "$lib/bin/dbus-launch" "$out/bin/"
- '';
-
- passthru = {
- dbus-launch = "${self.lib}/bin/dbus-launch";
- daemon = self.out;
- };
-
- meta = with stdenv.lib; {
- description = "Simple interprocess messaging system";
- homepage = http://www.freedesktop.org/wiki/Software/dbus/;
- license = licenses.gpl2Plus; # most is also under AFL-2.1
- platforms = platforms.unix;
- };
+ src = fetchurl {
+ url = "https://dbus.freedesktop.org/releases/dbus/dbus-${version}.tar.gz";
+ sha256 = "107ckxaff1cv4q6kmfdi2fb1nlsv03312a7kf6lb4biglhpjv8jl";
};
-in self
+
+ patches = lib.optional stdenv.isSunOS ./implement-getgrouplist.patch;
+
+ postPatch = ''
+ substituteInPlace tools/Makefile.in \
+ --replace 'install-localstatelibDATA:' 'disabled:' \
+ --replace 'install-data-local:' 'disabled:' \
+ --replace 'installcheck-local:' 'disabled:'
+ substituteInPlace bus/Makefile.in \
+ --replace '$(mkinstalldirs) $(DESTDIR)$(localstatedir)/run/dbus' ':'
+ '' + /* cleanup of runtime references */ ''
+ substituteInPlace ./dbus/dbus-sysdeps-unix.c \
+ --replace 'DBUS_BINDIR "/dbus-launch"' "\"$lib/bin/dbus-launch\""
+ substituteInPlace ./tools/dbus-launch.c \
+ --replace 'DBUS_DAEMONDIR"/dbus-daemon"' '"/run/current-system/sw/bin/dbus-daemon"'
+ '';
+
+ outputs = [ "out" "dev" "lib" "doc" ];
+
+ nativeBuildInputs = [
+ pkgconfig
+ ];
+
+ propagatedBuildInputs = [
+ expat
+ ];
+
+ buildInputs = lib.optionals x11Support [
+ libX11
+ libICE
+ libSM
+ ] ++ lib.optional stdenv.isLinux systemd;
+ # ToDo: optional selinux?
+
+ configureFlags = [
+ "--enable-user-session"
+ "--libexecdir=${placeholder ''out''}/libexec"
+ "--localstatedir=/var"
+ "--runstatedir=/run"
+ "--sysconfdir=/etc"
+ "--with-session-socket-dir=/tmp"
+ "--with-system-pid-file=/run/dbus/pid"
+ "--with-system-socket=/run/dbus/system_bus_socket"
+ "--with-systemdsystemunitdir=${placeholder ''out''}/etc/systemd/system"
+ "--with-systemduserunitdir=${placeholder ''out''}/etc/systemd/user"
+ ] ++ lib.optional (!x11Support) "--without-x";
+
+ # Enable X11 autolaunch support in libdbus. This doesn't actually depend on X11
+ # (it just execs dbus-launch in dbus.tools), contrary to what the configure script demands.
+ # problems building without x11Support so disabled in that case for now
+ NIX_CFLAGS_COMPILE = lib.optionalString x11Support "-DDBUS_ENABLE_X11_AUTOLAUNCH=1";
+ NIX_CFLAGS_LINK = lib.optionalString (!stdenv.isDarwin) "-Wl,--as-needed";
+
+ enableParallelBuilding = true;
+
+ doCheck = true;
+
+ installFlags = [
+ "sysconfdir=${placeholder ''out''}/etc"
+ "datadir=${placeholder ''out''}/share"
+ ];
+
+ # it's executed from $lib by absolute path
+ postFixup = ''
+ moveToOutput bin/dbus-launch "$lib"
+ ln -s "$lib/bin/dbus-launch" "$out/bin/"
+ '';
+
+ passthru = {
+ dbus-launch = "${dbus.lib}/bin/dbus-launch";
+ daemon = dbus.out;
+ };
+
+ meta = with stdenv.lib; {
+ description = "Simple interprocess messaging system";
+ homepage = http://www.freedesktop.org/wiki/Software/dbus/;
+ license = licenses.gpl2Plus; # most is also under AFL-2.1
+ platforms = platforms.unix;
+ };
+}
diff --git a/pkgs/development/libraries/dbus/make-dbus-conf.nix b/pkgs/development/libraries/dbus/make-dbus-conf.nix
index 5d441c5d133..e714b96b7e9 100644
--- a/pkgs/development/libraries/dbus/make-dbus-conf.nix
+++ b/pkgs/development/libraries/dbus/make-dbus-conf.nix
@@ -22,7 +22,7 @@ runCommand "dbus-1"