Skip to content
This repository was archived by the owner on Apr 12, 2021. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: bea06ac613be
Choose a base ref
...
head repository: NixOS/nixpkgs-channels
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5f2252cc6afc
Choose a head ref

Commits on Jul 19, 2018

  1. Upgraded fluentd

    kiloreux committed Jul 19, 2018
    Copy the full SHA
    879d14d View commit details

Commits on Oct 10, 2018

  1. Copy the full SHA
    4a73fa3 View commit details
  2. Copy the full SHA
    440556a View commit details

Commits on Feb 23, 2019

  1. trellis: 2018.12.20 -> 2019.02.21

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Feb 23, 2019
    Copy the full SHA
    ba59a8a View commit details
  2. icestorm: 2018.12.31 -> 2019.02.23

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Feb 23, 2019
    Copy the full SHA
    609b49e View commit details
  3. arachne-pnr: update git repo location

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Feb 23, 2019
    Copy the full SHA
    ad8d28c View commit details
  4. nextpnr: 2019.01.08 -> 2019.02.20

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Feb 23, 2019
    Copy the full SHA
    b30ad4b View commit details
  5. yosys: 2019.01.08 -> 2019.02.22

    Signed-off-by: Austin Seipp <aseipp@pobox.com>
    thoughtpolice committed Feb 23, 2019
    Copy the full SHA
    0267483 View commit details
  6. Copy the full SHA
    eb36c3f View commit details
  7. Copy the full SHA
    84cbff0 View commit details
  8. Copy the full SHA
    7b093af View commit details
  9. Copy the full SHA
    8f0ef92 View commit details
  10. Copy the full SHA
    d9a5de3 View commit details
  11. Copy the full SHA
    1223c8f View commit details
  12. Merge pull request #51151 from costrouc/costrouc/add-xnd-python-supprt

    Adding xnd packages: libndtypes, ndtypes, libxnd, xnd, libgumath, gumath
    FRidh authored Feb 23, 2019
    Copy the full SHA
    161122f View commit details
  13. appimageTools: init

    The appimageTools attrset contains utilities to prevent
    the usage of appimage-run to package AppImages, like done/attempted
    in #49370 and #53156.
    
    This has the advantage of allowing for per-package environment changes,
    and extracts into the store instead of the users home directory.
    
    The package list was extracted into appimageTools to prevent
    duplication.
    tilpner committed Feb 23, 2019
    Copy the full SHA
    58443d8 View commit details
  14. charles: made charles 4.x/3.x available (#56159)

    Charles proxy requires a license and each license is bound to the major release version. Therefore it makes sense to make the previous version available to the users. This change provides two new packages `charles3` and `charles4` and `charles` is now an alias for `charles4`.
    eyJhb authored and kalbasit committed Feb 23, 2019
    Copy the full SHA
    fae3c6f View commit details
  15. Copy the full SHA
    29e0588 View commit details
  16. skawarePackages.execline: wrap execlineb with tools

    The execlineb program is the launcher (and lexer) of execline scripts.
    So it makes a lot of sense to have all the small tools in scope by
    default.
    We append to the end of PATH so that they can be easily overwritten by
    the user.
    
    Co-authored-by: Alyssa Ross <hi@alyssa.is>
    Profpatsch and alyssais committed Feb 23, 2019
    Copy the full SHA
    b64d25c View commit details
  17. Merge pull request #56263 from tokudan/burp-2216

    burp: 2.1.32 -> 2.2.16 (current stable)
    ryantm authored Feb 23, 2019
    Copy the full SHA
    245c11c View commit details
  18. Merge pull request #54693 from tilpner/appimage-tools

    appimageTools: init
    grahamc authored Feb 23, 2019
    Copy the full SHA
    695fb80 View commit details
  19. Merge pull request #38033 from peterhoeg/f/slite

    squeezelite: 2016-05-27 -> 2018-08-14
    ryantm authored Feb 23, 2019
    Copy the full SHA
    7776de0 View commit details
  20. apt-dater: 1.0.3 -> 1.0.4 (#55901)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/apt-dater/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    5bcec14 View commit details
  21. react-native-debugger: 0.8.1 -> 0.8.2 (#52778)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/react-native-debugger/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    d56acd1 View commit details
  22. python37Packages.mysqlclient: 1.3.14 -> 1.4.1 (#54716)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python3.7-mysqlclient/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    fb076f2 View commit details
  23. tvheadend: 4.2.7 -> 4.2.8 (#54038)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/tvheadend/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    551e739 View commit details
  24. stubby: 0.2.4 -> 0.2.5 (#54674)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/stubby/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    c2d230a View commit details
  25. cups-filters: 1.21.6 -> 1.22.0 (#54841)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cups-filters/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    d7d9660 View commit details
  26. wpa_supplicant: 2.6 -> 2.7 (#55926)

    delroth authored and xeji committed Feb 23, 2019
    Copy the full SHA
    3f0a593 View commit details
  27. ansible: 2.7.5 -> 2.7.6 (#54855)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/python2.7-ansible/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    a977695 View commit details
  28. cryfs: 0.9.9 -> 0.9.10 (#54850)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/cryfs/versions
    r-ryantm authored and xeji committed Feb 23, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5bb8254 View commit details
  29. znc: 1.7.1 -> 1.7.2 (#55134)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/znc/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    564c765 View commit details
  30. pscircle: 1.1.0 -> 1.3.0 (#52129)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pscircle/versions
    r-ryantm authored and xeji committed Feb 23, 2019
    Copy the full SHA
    2b7f40a View commit details

Commits on Feb 24, 2019

  1. plata-theme: 0.4.9 -> 0.5.0 (#53250)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/plata-theme/versions
    r-ryantm authored and xeji committed Feb 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    57a7ee1 View commit details
  2. pmd: 6.10.0 -> 6.11.0 (#55215)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/pmd/versions
    r-ryantm authored and xeji committed Feb 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    f7ce433 View commit details
  3. openfst: 1.6.9 -> 1.7.1 (#55245)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/openfst/versions
    r-ryantm authored and xeji committed Feb 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    7176ed7 View commit details
  4. worker: 3.15.2 -> 3.15.3 (#54027)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/worker/versions
    r-ryantm authored and xeji committed Feb 24, 2019

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    251167b View commit details
  5. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    NeQuissimus Tim Steinbach
    Copy the full SHA
    b5c0aa9 View commit details
  6. Merge pull request #43791 from kiloreux/fluentd-upgrade

    fluentd: 0.14.11 -> 1.2.3
    ryantm authored Feb 24, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f6fc56b View commit details
  7. live555: 2018.12.14 -> 2019.02.03 (#55251)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/live555/versions
    r-ryantm authored and xeji committed Feb 24, 2019

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f471cbe View commit details
  8. mercurialFull: 4.8.2 -> 4.9 (#55247)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/mercurial-full/versions
    r-ryantm authored and xeji committed Feb 24, 2019
    Copy the full SHA
    8292fa1 View commit details
  9. calcurse: 4.3.0 -> 4.4.0 (#56204)

    dtzWill authored and xeji committed Feb 24, 2019
    Copy the full SHA
    e263567 View commit details
  10. Copy the full SHA
    e23580c View commit details
  11. xavs: build on darwin (#56070)

    jacereda authored and xeji committed Feb 24, 2019
    Copy the full SHA
    36e0ed2 View commit details
  12. rtv: 1.24.0 -> 1.25.1 (#55836)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/rtv/versions
    r-ryantm authored and xeji committed Feb 24, 2019
    Copy the full SHA
    5b33d75 View commit details
  13. pandoc: Remove unneeded postInstall (#56180)

    srhb authored and xeji committed Feb 24, 2019
    Copy the full SHA
    28dfbfe View commit details
  14. sundials: 4.0.2 -> 4.1.0 (#55821)

    Semi-automatic update generated by
    https://github.com/ryantm/nixpkgs-update tools. This update was made
    based on information from
    https://repology.org/metapackage/sundials/versions
    r-ryantm authored and xeji committed Feb 24, 2019
    Copy the full SHA
    5a4ac09 View commit details
  15. mblaze: 0.4 -> 0.5 (#55526)

    marsam authored and xeji committed Feb 24, 2019
    Copy the full SHA
    699998e View commit details
  16. vale: 1.3.0 -> 1.3.2 (#54922)

    marsam authored and xeji committed Feb 24, 2019
    Copy the full SHA
    25a57de View commit details
  17. skaffold: 0.19.0 -> 0.21.1 (#54809)

    Signed-off-by: Vincent Demeester <vincent@sbr.pm>
    vdemeester authored and xeji committed Feb 24, 2019
    Copy the full SHA
    effa949 View commit details
Showing with 2,708 additions and 564 deletions.
  1. +1 −0 doc/functions.xml
  2. +121 −0 doc/functions/appimagetools.xml
  3. +1 −1 nixos/modules/misc/ids.nix
  4. +5 −22 nixos/modules/services/audio/squeezelite.nix
  5. +13 −7 pkgs/applications/audio/squeezelite/default.nix
  6. +2 −2 pkgs/applications/misc/calcurse/default.nix
  7. +2 −2 pkgs/applications/misc/rtv/default.nix
  8. +2 −2 pkgs/applications/misc/worker/default.nix
  9. +59 −39 pkgs/applications/networking/charles/default.nix
  10. +6 −2 pkgs/applications/networking/mailreaders/mblaze/default.nix
  11. +2 −2 pkgs/applications/networking/znc/default.nix
  12. +2 −2 pkgs/applications/version-management/mercurial/default.nix
  13. +176 −0 pkgs/build-support/appimage/default.nix
  14. +6 −0 pkgs/build-support/skaware/build-skaware-package.nix
  15. +2 −2 pkgs/data/themes/plata/default.nix
  16. +1 −1 pkgs/development/compilers/arachne-pnr/default.nix
  17. +3 −3 pkgs/development/compilers/nextpnr/default.nix
  18. +3 −3 pkgs/development/compilers/yosys/default.nix
  19. +34 −0 pkgs/development/libraries/libgumath/default.nix
  20. +9 −8 pkgs/development/libraries/libndtypes/default.nix
  21. +14 −5 pkgs/development/libraries/libxnd/default.nix
  22. +2 −2 pkgs/development/libraries/live555/default.nix
  23. +2 −2 pkgs/development/libraries/openfst/default.nix
  24. +2 −2 pkgs/development/libraries/sundials/default.nix
  25. +13 −2 pkgs/development/libraries/xavs/default.nix
  26. +29 −0 pkgs/development/python-modules/gumath/default.nix
  27. +2 −2 pkgs/development/python-modules/mysqlclient/default.nix
  28. +30 −0 pkgs/development/python-modules/ndtypes/default.nix
  29. +31 −0 pkgs/development/python-modules/xnd/default.nix
  30. +2 −2 pkgs/development/tools/analysis/pmd/default.nix
  31. +3 −3 pkgs/development/tools/icestorm/default.nix
  32. +2 −2 pkgs/development/tools/react-native-debugger/default.nix
  33. +4 −4 pkgs/development/tools/skaffold/default.nix
  34. +5 −5 pkgs/development/tools/trellis/default.nix
  35. +2 −2 pkgs/misc/cups/filters.nix
  36. +2 −2 pkgs/os-specific/linux/pscircle/default.nix
  37. +0 −12 pkgs/os-specific/linux/wpa_supplicant/build-fix.patch
  38. +7 −43 pkgs/os-specific/linux/wpa_supplicant/default.nix
  39. +2 −2 pkgs/servers/caddy/default.nix
  40. +2 −2 pkgs/servers/tvheadend/default.nix
  41. +2 −2 pkgs/tools/admin/ansible/default.nix
  42. +2 −2 pkgs/tools/backup/burp/default.nix
  43. +2 −2 pkgs/tools/filesystems/cryfs/default.nix
  44. +8 −1 pkgs/tools/misc/execline/default.nix
  45. +0 −1 pkgs/tools/misc/fluentd/Gemfile
  46. +642 −85 pkgs/tools/misc/fluentd/Gemfile.lock
  47. +1,415 −150 pkgs/tools/misc/fluentd/gemset.nix
  48. +6 −114 pkgs/tools/package-management/appimage-run/default.nix
  49. +2 −2 pkgs/tools/package-management/apt-dater/default.nix
  50. +4 −4 pkgs/tools/text/vale/default.nix
  51. +4 −4 pkgs/tools/virtualization/awless/default.nix
  52. +9 −5 pkgs/top-level/all-packages.nix
  53. +6 −0 pkgs/top-level/python-packages.nix
1 change: 1 addition & 0 deletions doc/functions.xml
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
<xi:include href="functions/fhs-environments.xml" />
<xi:include href="functions/shell.xml" />
<xi:include href="functions/dockertools.xml" />
<xi:include href="functions/appimagetools.xml" />
<xi:include href="functions/prefer-remote-fetch.xml" />
<xi:include href="functions/nix-gitignore.xml" />
</chapter>
121 changes: 121 additions & 0 deletions doc/functions/appimagetools.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
<section xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"
xml:id="sec-pkgs-appimageTools">
<title>pkgs.appimageTools</title>

<para>
<varname>pkgs.appimageTools</varname> is a set of functions for extracting and wrapping
<link xlink:href="https://appimage.org/">AppImage</link> files.

They are meant to be used if traditional packaging from source is infeasible, or it would take too long.
To quickly run an AppImage file, <literal>pkgs.appimage-run</literal> can be used as well.
</para>

<warning>
<para>
The <varname>appimageTools</varname> API is unstable and may be subject to
backwards-incompatible changes in the future.
</para>
</warning>


<section xml:id="ssec-pkgs-appimageTools-formats">
<title>AppImage formats</title>

<para>
There are different formats for AppImages, see
<link xlink:href="https://github.com/AppImage/AppImageSpec/blob/74ad9ca2f94bf864a4a0dac1f369dd4f00bd1c28/draft.md#image-format">the specification</link> for details.
</para>

<itemizedlist>
<listitem>
<para>
Type 1 images are ISO 9660 files that are also ELF executables.
</para>
</listitem>

<listitem>
<para>
Type 2 images are ELF executables with an appended filesystem.
</para>
</listitem>
</itemizedlist>

<para>
They can be told apart with <command>file -k</command>:
</para>

<screen>
<prompt>$ </prompt>file -k type1.AppImage
type1.AppImage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV) ISO 9660 CD-ROM filesystem data 'AppImage' (Lepton 3.x), scale 0-0,
spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 0.000000, dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=d629f6099d2344ad82818172add1d38c5e11bc6d, stripped\012- data

<prompt>$ </prompt>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
</screen>

<para>
Note how the type 1 AppImage is described as an <literal>ISO 9660 CD-ROM filesystem</literal>, and the type 2 AppImage is not.
</para>
</section>

<section xml:id="ssec-pkgs-appimageTools-wrapping">
<title>Wrapping</title>

<para>
Depending on the type of AppImage you're wrapping, you'll have to use
<varname>wrapType1</varname> or <varname>wrapType2</varname>.
</para>


<programlisting>
appimageTools.wrapType2 { # or wrapType1
name = "patchwork"; <co xml:id='ex-appimageTools-wrapping-1' />
src = fetchurl { <co xml:id='ex-appimageTools-wrapping-2' />
url = https://github.com/ssbc/patchwork/releases/download/v3.11.4/Patchwork-3.11.4-linux-x86_64.AppImage;
sha256 = "1blsprpkvm0ws9b96gb36f0rbf8f5jgmw4x6dsb1kswr4ysf591s";
};
extraPkgs = pkgs: with pkgs; [ ]; <co xml:id='ex-appimageTools-wrapping-3' />
}</programlisting>


<calloutlist>
<callout arearefs='ex-appimageTools-wrapping-1'>
<para>
<varname>name</varname> specifies the name of the resulting image.
</para>
</callout>
<callout arearefs='ex-appimageTools-wrapping-2'>
<para>
<varname>src</varname> specifies the AppImage file to extract.
</para>
</callout>
<callout arearefs='ex-appimageTools-wrapping-2'>
<para>
<varname>extraPkgs</varname> allows you to pass a function to include additional packages
inside the FHS environment your AppImage is going to run in.

There are a few ways to learn which dependencies an application needs:

<itemizedlist>
<listitem>
<para>
Looking through the extracted AppImage files, reading its scripts and running <command>patchelf</command> and <command>ldd</command> on its executables.
This can also be done in <command>appimage-run</command>, by setting <command>APPIMAGE_DEBUG_EXEC=bash</command>.
</para>
</listitem>

<listitem>
<para>
Running <command>strace -vfefile</command> on the wrapped executable, looking for libraries that can't be found.
</para>
</listitem>
</itemizedlist>

</para>
</callout>
</calloutlist>

</section>
</section>
2 changes: 1 addition & 1 deletion nixos/modules/misc/ids.nix
Original file line number Diff line number Diff line change
@@ -272,7 +272,7 @@
nzbget = 245;
mosquitto = 246;
toxvpn = 247;
squeezelite = 248;
# squeezelite = 248; # DynamicUser = true
turnserver = 249;
smokeping = 250;
gocd-agent = 251;
27 changes: 5 additions & 22 deletions nixos/modules/services/audio/squeezelite.nix
Original file line number Diff line number Diff line change
@@ -3,8 +3,7 @@
with lib;

let

uid = config.ids.uids.squeezelite;
dataDir = "/var/lib/squeezelite";
cfg = config.services.squeezelite;

in {
@@ -17,14 +16,6 @@ in {

enable = mkEnableOption "Squeezelite, a software Squeezebox emulator";

dataDir = mkOption {
default = "/var/lib/squeezelite";
type = types.str;
description = ''
The directory where Squeezelite stores its name file.
'';
};

extraArguments = mkOption {
default = "";
type = types.str;
@@ -46,22 +37,14 @@ in {
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "sound.target" ];
description = "Software Squeezebox emulator";
preStart = "mkdir -p ${cfg.dataDir} && chown -R squeezelite ${cfg.dataDir}";
serviceConfig = {
ExecStart = "${pkgs.squeezelite}/bin/squeezelite -N ${cfg.dataDir}/player-name ${cfg.extraArguments}";
User = "squeezelite";
PermissionsStartOnly = true;
DynamicUser = true;
ExecStart = "${pkgs.squeezelite}/bin/squeezelite -N ${dataDir}/player-name ${cfg.extraArguments}";
StateDirectory = builtins.baseNameOf dataDir;
SupplementaryGroups = "audio";
};
};

users.users.squeezelite= {
inherit uid;
group = "nogroup";
extraGroups = [ "audio" ];
description = "Squeezelite user";
home = "${cfg.dataDir}";
};

};

}
20 changes: 13 additions & 7 deletions pkgs/applications/audio/squeezelite/default.nix
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
{ stdenv, fetchFromGitHub, alsaLib, faad2, flac, libmad, libvorbis, mpg123 }:

stdenv.mkDerivation {
name = "squeezelite-git-2016-05-27";
name = "squeezelite-git-2018-08-14";

src = fetchFromGitHub {
owner = "ralph-irving";
repo = "squeezelite";
rev = "e37ed17fed9e11a7346cbe9f1e1deeccc051f42e";
sha256 = "15ihx2dbp4kr6k6r50g9q5npqad5zyv8nqf5cr37bhg964syvbdm";
owner = "ralph-irving";
repo = "squeezelite";
rev = "ecb6e3696a42113994640e5345d0b5ca2e77d28b";
sha256 = "0di3d5qy8fhawijq6bxy524fgffvzl08dprrws0fs2j1a70fs0fh";
};

buildInputs = [ alsaLib faad2 flac libmad libvorbis mpg123 ];

enableParallelBuilding = true;

installPhase = ''
mkdir -p $out/bin
cp squeezelite $out/bin
runHook preInstall
install -Dm755 -t $out/bin squeezelite
install -Dm644 -t $out/share/doc/squeezelite *.txt *.md
runHook postInstall
'';

meta = with stdenv.lib; {
4 changes: 2 additions & 2 deletions pkgs/applications/misc/calcurse/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "calcurse-${version}";
version = "4.3.0";
version = "4.4.0";

src = fetchurl {
url = "https://calcurse.org/files/${name}.tar.gz";
sha256 = "16jzg0nasnxdlz23i121x41pq5kbxmjzk52c5d863rg117fc7v1i";
sha256 = "0vw2xi6a2lrhrb8n55zq9lv4mzxhby4xdf3hmi1vlfpyrpdwkjzd";
};

buildInputs = [ ncurses gettext python3 ];
4 changes: 2 additions & 2 deletions pkgs/applications/misc/rtv/default.nix
Original file line number Diff line number Diff line change
@@ -2,14 +2,14 @@

with python3Packages;
buildPythonApplication rec {
version = "1.24.0";
version = "1.25.1";
pname = "rtv";

src = fetchFromGitHub {
owner = "michael-lazar";
repo = "rtv";
rev = "v${version}";
sha256 = "0vzhnqys8nr6ymsi1mnv092z3i7nwyhgnj4jv6mjifak9j3164fw";
sha256 = "0pfsf17g37d2v1xrsbfdbv460vs7m955h6q51z71rhb840r9812p";
};

# Tests try to access network
4 changes: 2 additions & 2 deletions pkgs/applications/misc/worker/default.nix
Original file line number Diff line number Diff line change
@@ -2,11 +2,11 @@

stdenv.mkDerivation rec {
name = "worker-${version}";
version = "3.15.2";
version = "3.15.3";

src = fetchurl {
url = "http://www.boomerangsworld.de/cms/worker/downloads/${name}.tar.gz";
sha256 = "0km17ls51vp4nxlppf58vvxxymyx6w3xlzjc8wghxpjj098v4pp8";
sha256 = "03dv50h68grscxiaxslzv486v1bfi8y81vrjr2gs39svw7bwz5d4";
};

buildInputs = [ libX11 ];
98 changes: 59 additions & 39 deletions pkgs/applications/networking/charles/default.nix
Original file line number Diff line number Diff line change
@@ -1,48 +1,68 @@
{ stdenv, fetchurl, makeDesktopItem, jre, makeWrapper }:
{
stdenv
, makeWrapper
, makeDesktopItem
, fetchurl
, jre
}:

let
desktopItem = makeDesktopItem {
categories = "Network;Development;WebDevelopment;Java;";
desktopName = "Charles";
exec = "charles %F";
genericName = "Web Debugging Proxy";
icon = "charles-proxy";
mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
name = "Charles";
startupNotify = "true";
};

in stdenv.mkDerivation rec {
name = "charles-${version}";
version = "4.2.7";

src = fetchurl {
url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}.tar.gz";
sha256 = "1nycw3wpbfwj4ijjaq5k0f4xipj8j605fs0yjzgl66gmv7r583rd";
};
generic = { version, sha256, ... }@attrs:
let
desktopItem = makeDesktopItem {
categories = "Network;Development;WebDevelopment;Java;";
desktopName = "Charles";
exec = "charles %F";
genericName = "Web Debugging Proxy";
icon = "charles-proxy";
mimeType = "application/x-charles-savedsession;application/x-charles-savedsession+xml;application/x-charles-savedsession+json;application/har+json;application/vnd.tcpdump.pcap;application/x-charles-trace";
name = "Charles";
startupNotify = "true";
};

attrs' = builtins.removeAttrs attrs ["version" "sha256"];
in stdenv.mkDerivation rec {
name = "charles-${version}";
inherit version;

src = fetchurl {
url = "https://www.charlesproxy.com/assets/release/${version}/charles-proxy-${version}.tar.gz";
inherit sha256;
};
buildInputs = [ makeWrapper ];

buildInputs = [ makeWrapper ];
installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/charles \
--add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
installPhase = ''
makeWrapper ${jre}/bin/java $out/bin/charles \
--add-flags "-Xmx1024M -Dcharles.config='~/.charles.config' -jar $out/share/java/charles.jar"
for fn in lib/*.jar; do
install -D -m644 $fn $out/share/java/$(basename $fn)
done
for fn in lib/*.jar; do
install -D -m644 $fn $out/share/java/$(basename $fn)
done
mkdir -p $out/share/applications
ln -s ${desktopItem}/share/applications/* $out/share/applications/
mkdir -p $out/share/applications
ln -s ${desktopItem}/share/applications/* $out/share/applications/
mkdir -p $out/share/icons
cp -r icon $out/share/icons/hicolor
'';

mkdir -p $out/share/icons
cp -r icon $out/share/icons/hicolor
'';
meta = with stdenv.lib; {
description = "Web Debugging Proxy";
homepage = https://www.charlesproxy.com/;
maintainers = [ maintainers.kalbasit ];
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
};

meta = with stdenv.lib; {
description = "Web Debugging Proxy";
homepage = https://www.charlesproxy.com/;
maintainers = [ maintainers.kalbasit ];
license = stdenv.lib.licenses.unfree;
platforms = stdenv.lib.platforms.linux ++ stdenv.lib.platforms.darwin;
};
in rec {
charles4 = (generic {
version = "4.2.7";
sha256 = "1nycw3wpbfwj4ijjaq5k0f4xipj8j605fs0yjzgl66gmv7r583rd";
});
charles3 = (generic {
version = "3.12.3";
sha256 = "13zk82ny1w5zd9qcs9qkq0kdb22ni5byzajyshpxdfm4zv6p32ss";
});
}

Loading