···253253 or also with <varname>crossSystem</varname>, in which case packages run on the latter, but all building happens on the former.
254254 Both parameters take the same schema as the 3 (build, host, and target) platforms defined in the previous section.
255255 As mentioned above, <literal>lib.systems.examples</literal> has some platforms which are used as arguments for these parameters in practice.
256256- You can use them programmatically, or on the command line like <command>nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz'</command>.
256256+ You can use them programmatically, or on the command line: <programlisting>
257257+nix-build <nixpkgs> --arg crossSystem '(import <nixpkgs/lib>).systems.examples.fooBarBaz' -A whatever</programlisting>
257258 </para>
259259+ <note>
260260+ <para>
261261+ Eventually we would like to make these platform examples an unnecessary convenience so that <programlisting>
262262+nix-build <nixpkgs> --arg crossSystem.config '<arch>-<os>-<vendor>-<abi>' -A whatever</programlisting>
263263+ works in the vast majority of cases.
264264+ The problem today is dependencies on other sorts of configuration which aren't given proper defaults.
265265+ We rely on the examples to crudely to set those configuration parameters in some vaguely sane manner on the users behalf.
266266+ Issue <link xlink:href="https://github.com/NixOS/nixpkgs/issues/34274">#34274</link> tracks this inconvenience along with its root cause in crufty configuration options.
267267+ </para>
268268+ </note>
258269 <para>
259270 While one is free to pass both parameters in full, there's a lot of logic to fill in missing fields.
260271 As discussed in the previous section, only one of <varname>system</varname>, <varname>config</varname>, and <varname>parsed</varname> is needed to infer the other two.
+3-2
lib/customisation.nix
···157157158158 /* Add attributes to each output of a derivation without changing
159159 the derivation itself. */
160160- addPassthru = lib.warn "`addPassthru` is deprecated, replace with `extendDerivation true`"
161161- (extendDerivation true);
160160+ addPassthru =
161161+ lib.warn "`addPassthru drv passthru` is deprecated, replace with `extendDerivation true passthru drv`"
162162+ (drv: passthru: extendDerivation true passthru drv);
162163163164 /* Strip a derivation of all non-essential attributes, returning
164165 only those needed by hydra-eval-jobs. Also strictly evaluate the
···133133 </listitem>
134134 <listitem>
135135 <para>
136136- <literal>lib.addPassthru</literal> is removed. Use <literal>lib.extendDerivation true</literal> instead. <emphasis role="strong">TODO: actually remove it before branching 18.03 off.</emphasis>
136136+ <literal>lib.addPassthru drv passthru</literal> is removed. Use <literal>lib.extendDerivation true passthru drv</literal> instead. <emphasis role="strong">TODO: actually remove it before branching 18.03 off.</emphasis>
137137 </para>
138138 </listitem>
139139 <listitem>
···147147 <listitem>
148148 <para>
149149 The <varname>hardware.amdHybridGraphics.disable</varname> option was removed for lack of a maintainer. If you still need this module, you may wish to include a copy of it from an older version of nixos in your imports.
150150+ </para>
151151+ </listitem>
152152+ <listitem>
153153+ <para>
154154+ The merging of config options for <varname>services.postfix.config</varname>
155155+ was buggy. Previously, if other options in the Postfix module like
156156+ <varname>services.postfix.useSrs</varname> were set and the user set config
157157+ options that were also set by such options, the resulting config wouldn't
158158+ include all options that were needed. They are now merged correctly. If
159159+ config options need to be overridden, <literal>lib.mkForce</literal> or
160160+ <literal>lib.mkOverride</literal> can be used.
150161 </para>
151162 </listitem>
152163</itemizedlist>
···2727 boot.loader.grub.enable = false;
2828 boot.loader.generic-extlinux-compatible.enable = true;
29293030+ boot.consoleLogLevel = lib.mkDefault 7;
3031 boot.kernelPackages = pkgs.linuxPackages_latest;
31323233 # The serial ports listed here are:
···4243 populateBootCommands = let
4344 configTxt = pkgs.writeText "config.txt" ''
4445 kernel=u-boot-rpi3.bin
4646+4747+ # Boot in 64-bit mode.
4548 arm_control=0x200
4949+5050+ # U-Boot used to need this to work, regardless of whether UART is actually used or not.
5151+ # TODO: check when/if this can be removed.
4652 enable_uart=1
5353+5454+ # Prevent the firmware from smashing the framebuffer setup done by the mainline kernel
5555+ # when attempting to show low-voltage or overtemperature warnings.
5656+ avoid_warnings=1
4757 '';
4858 in ''
4959 (cd ${pkgs.raspberrypifw}/share/raspberrypi/boot && cp bootcode.bin fixup*.dat start*.elf $NIX_BUILD_TOP/boot/)
···138138 # To enable ChromeCast, go to chrome://flags and set "Load Media Router Component Extension" to Enabled
139139 # Fixes Chromecast: https://bugs.chromium.org/p/chromium/issues/detail?id=734325
140140 ./patches/fix_network_api_crash.patch
141141- ] # As major versions are added, you can trawl the gentoo and arch repos at
141141+ # As major versions are added, you can trawl the gentoo and arch repos at
142142 # https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/
143143 # https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/chromium
144144 # for updated patches and hints about build flags
145145- ++ optionals (versionRange "63" "64") [
146146- ./patches/chromium-gcc5-r4.patch
147147- (gentooPatch "chromium-gcc5-r5.patch" "0z7rggizzg85wfr8zhw0yfwd3q69lsh3yp297s939jgzp66cwwkw")
148148- ./patches/include-math-for-round.patch
145145+146146+ # (gentooPatch "<patch>" "0000000000000000000000000000000000000000000000000000000000000000")
149147 ] ++ optionals (versionRange "64" "65") [
150150- ## This is a first guess on what patches are needed for 64
151151- # (gentooPatch "chromium-memcpy-r0.patch" "1d3vra59wjg2lva7ddv55ff6l57mk9k50llsplr0b7vxk0lh0ps5")
152148 (gentooPatch "chromium-cups-r0.patch" "0hyjlfh062c8h54j4b27y4dq5yzd4w6mxzywk3s02yf6cj3cbkrl")
153153- # (gentooPatch "chromium-clang-r2.patch" "1lsqr7cbjsad5pyyp6kyrfmcgcqy2z2yzgp4zxwjq95fknrfi5a4")
154149 (gentooPatch "chromium-angle-r0.patch" "0izdrqwsyr48117dhvwdsk8c6dkrnq2njida1q4mb1lagvwbz7gc")
155150 ] ++ optional enableWideVine ./patches/widevine.patch;
156151···215210 proprietary_codecs = false;
216211 use_sysroot = false;
217212 use_gnome_keyring = gnomeKeyringSupport;
213213+ ## FIXME remove use_gconf after chromium 65 has become stable
218214 use_gconf = gnomeSupport;
219215 use_gio = gnomeSupport;
220216 enable_nacl = enableNaCl;
···11+{ stdenv, fetchFromGitHub, cmake, hdf5, zlib }:
22+33+stdenv.mkDerivation rec {
44+ name = "kallisto-${version}";
55+ version = "0.43.1";
66+77+ src = fetchFromGitHub {
88+ repo = "kallisto";
99+ owner = "pachterlab";
1010+ rev = "v${version}";
1111+ sha256 = "04697pf7jvy7vw126s1rn09q4iab9223jvb1nb0jn7ilwkq7pgwz";
1212+ };
1313+1414+ nativeBuildInputs = [ cmake ];
1515+1616+ buildInputs = [ hdf5 zlib ];
1717+1818+ meta = with stdenv.lib; {
1919+ description = "kallisto is a program for quantifying abundances of transcripts from RNA-Seq data";
2020+ homepage = https://pachterlab.github.io/kallisto;
2121+ license = licenses.bsd2;
2222+ platforms = platforms.linux;
2323+ maintainers = [ maintainers.arcadio ];
2424+ };
2525+}
+28-6
pkgs/applications/science/math/sage/default.nix
···1818# - https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/sagemath
19192020{ stdenv
2121+, bash
2122, fetchurl
2223, perl
2324, gfortran
···2627, gettext
2728, which
2829, texlive
3030+, texinfo
2931, hevea
3032}:
31333234stdenv.mkDerivation rec {
3333- version = "8.0";
3535+ version = "8.1";
3436 name = "sage-${version}";
35373838+ # Modified version of patchShebangs that patches to the sage-internal version if possible
3939+ # and falls back to the system version if not.
4040+ patchSageShebangs = ./patchSageShebangs.sh;
3641 src = fetchurl {
3742 # Note that the source is *not* fetched from github, since that doesn't
3843 # the upstream folder with all the source tarballs of the spkgs.
···7075 "http://www-ftp.lip6.fr/pub/math/sagemath/src/sage-${version}.tar.gz"
7176 "http://ftp.ntua.gr/pub/sagemath/src/sage-${version}.tar.gz"
7277 ];
7373- sha256 = "1a9rhb8jby6fdqa2s7n2fl9jwqqlsl7qz7dbpbwvg6jwlrvni7fg";
7878+ sha256 = "1cpcs1mr0yii64s152xmxyd450bfzjb22jjj0zh9y3n6g9alzpyq";
7479 };
75807681 postPatch = ''
7782 substituteAllInPlace src/bin/sage-env
8383+ bash=${bash} substituteAllInPlace build/bin/sage-spkg
7884 '';
79858086 installPhase = ''
···8490 outputs = [ "out" "doc" ];
85918692 buildInputs = [
9393+ bash # needed for the build
8794 perl # needed for the build
8895 python # needed for the build
8989- gfortran # needed to build giac
9696+ gfortran # needed to build giac, openblas
9097 autoreconfHook # needed to configure sage with prefix
9198 gettext # needed to build the singular spkg
9299 hevea # needed to build the docs of the giac spkg
93100 which # needed in configure of mpir
94101 # needed to build the docs of the giac spkg
102102+ texinfo # needed to build maxima
95103 (texlive.combine { inherit (texlive)
96104 scheme-basic
97105 collection-pstricks # needed by giac
···102110 })
103111 ];
104112113113+ nativeBuildInputs = [ gfortran perl which ];
114114+105115 patches = [
106116 # fix usages of /bin/rm
107117 ./spkg-singular.patch
108118 # help python find the crypt library
109109- ./spkg-python2.patch
110110- ./spkg-python3.patch
119119+ # patches python3 and indirectly python2, since those installation files are symlinked
120120+ ./spkg-python.patch
111121 # fix usages of /usr/bin/perl
112122 ./spkg-git.patch
113123 # fix usages of /bin/cp and add necessary argument to function call
114124 ./spkg-giac.patch
115125 # environment
116126 ./env.patch
127127+ # adjust wrapper shebang and patch shebangs after each spkg build
128128+ ./shebangs.patch
117129 ];
118130119131 enableParallelBuilding = true;
···144156 preBuild = ''
145157 # TODO do this conditionally
146158 export SAGE_SPKG_INSTALL_DOCS='no'
147147- patchShebangs build
159159+ # symlink python to make sure the shebangs are patched to the sage path
160160+ # while still being able to use python before building it
161161+ # (this is important because otherwise sage will try to install python
162162+ # packages globally later on)
163163+ ln -s "${python}/bin/python2" $out/bin/python2
164164+ ln -s "$out/bin/python2" $out/bin/python
165165+ touch $out/bin/python3
166166+ bash $patchSageShebangs .
148167 '';
149168150169 postBuild = ''
···153172 rm -rf "$out/sage-root/src/.git"
154173 rm -r "$out/sage-root/logs"
155174 # Fix dependency cycle between out and doc
175175+ rm -f "$out/sage-root/config.log"
156176 rm -f "$out/sage-root/config.status"
157177 rm -f "$out/sage-root/build/make/Makefile-auto"
158178 rm -f "$out/sage-home/.sage/gap/libgap-workspace-"*
179179+ # Make sure all shebangs are properly patched
180180+ bash $patchSageShebangs $out
159181 '';
160182161183 # TODO there are some doctest failures, which seem harmless.
···11+# This is a slightly modified version of nix's default patchShebangs
22+33+dir="$1"
44+55+echo "patching sage internal script interpreter paths in $( readlink -f "$dir")"
66+77+find "$dir" -type f -perm -0100 | while read f; do
88+ if [ "$(head -1 "$f" | head -c+2)" != '#!' ]; then
99+ # missing shebang => not a script
1010+ continue
1111+ fi
1212+1313+ oldInterpreterLine=$(head -1 "$f" | tail -c+3)
1414+ read -r oldPath arg0 args <<< "$oldInterpreterLine"
1515+1616+ if $(echo "$oldPath" | grep -q "/bin/env$"); then
1717+ # Check for unsupported 'env' functionality:
1818+ # - options: something starting with a '-'
1919+ # - environment variables: foo=bar
2020+ if $(echo "$arg0" | grep -q -- "^-.*\|.*=.*"); then
2121+ echo "unsupported interpreter directive \"$oldInterpreterLine\" (set dontPatchShebangs=1 and handle shebang patching yourself)"
2222+ exit 1
2323+ fi
2424+ executable="$arg0"
2525+ else
2626+ if [ "$oldPath" = "" ]; then
2727+ # If no interpreter is specified linux will use /bin/sh. Set
2828+ # oldpath="/bin/sh" so that we get /nix/store/.../sh.
2929+ oldPath="/bin/sh"
3030+ fi
3131+ executable="$(basename "$oldPath")"
3232+ args="$arg0 $args"
3333+ fi
3434+3535+ newPath="$(echo "$out/bin/$executable $args" | sed 's/[[:space:]]*$//')"
3636+ if [[ ! -x "$newPath" ]] ; then
3737+ newPath="$(command -v "$executable" || true)"
3838+ fi
3939+4040+ # Strip trailing whitespace introduced when no arguments are present
4141+ newInterpreterLine="$(echo "$newPath $args" | sed 's/[[:space:]]*$//')"
4242+4343+ if [ -n "$oldPath" -a "${oldPath:0:${#NIX_STORE}}" != "$NIX_STORE" ]; then
4444+ if [ -n "$newPath" -a "$newPath" != "$oldPath" ]; then
4545+ echo "$f: sage interpreter directive changed from \"$oldInterpreterLine\" to \"$newInterpreterLine\""
4646+ # escape the escape chars so that sed doesn't interpret them
4747+ escapedInterpreterLine=$(echo "$newInterpreterLine" | sed 's|\\|\\\\|g')
4848+ sed -i -e "1 s|.*|#\!$escapedInterpreterLine|" "$f"
4949+ fi
5050+ fi
5151+done
···11+{ stdenv, fetchFromGitHub, inkscape, imagemagick, potrace, svgo, scfbuild }:
22+33+stdenv.mkDerivation rec {
44+ name = "twemoji-color-font-${meta.version}";
55+ src = fetchFromGitHub {
66+ owner = "eosrei";
77+ repo = "twemoji-color-font";
88+ rev = "v${meta.version}";
99+ sha256 = "0i7krmg99nrrj7mbjjd2cw6dx24aja63571mcyp6d7q1z09asz9k";
1010+ };
1111+1212+ nativeBuildInputs = [ inkscape imagemagick potrace svgo scfbuild ];
1313+ # silence inkscape errors about non-writable home
1414+ preBuild = "export HOME=\"$NIX_BUILD_ROOT\"";
1515+ makeFlags = [ "SCFBUILD=${scfbuild}/bin/scfbuild" ];
1616+ enableParallelBuilding = true;
1717+ installPhase = "install -Dm755 build/TwitterColorEmoji-SVGinOT.ttf $out/share/fonts/truetype/TwitterColorEmoji-SVGinOT.ttf";
1818+1919+ meta = with stdenv.lib; {
2020+ version = "1.3";
2121+ description = "Color emoji SVGinOT font using Twitter Unicode 10 emoji with diversity and country flags";
2222+ longDescription = ''
2323+ A color and B&W emoji SVGinOT font built from the Twitter Emoji for
2424+ Everyone artwork with support for ZWJ, skin tone diversity and country
2525+ flags.
2626+2727+ The font works in all operating systems, but will currently only show
2828+ color emoji in Firefox, Thunderbird, Photoshop CC 2017, and Windows Edge
2929+ V38.14393+. This is not a limitation of the font, but of the operating
3030+ systems and applications. Regular B&W outline emoji are included for
3131+ backwards/fallback compatibility.
3232+ '';
3333+ homepage = "https://github.com/eosrei/twemoji-color-font";
3434+ downloadPage = "https://github.com/eosrei/twemoji-color-font/releases";
3535+ license = with licenses; [ cc-by-40 mit ];
3636+ maintainers = [ maintainers.fgaz ];
3737+ platforms = platforms.all;
3838+ };
3939+}
···11-# Note: The Haskell package set used for building UHC is
22-# determined in the file top-level/haskell-packages.nix.
33-{ stdenv, coreutils, m4, libtool, clang, ghcWithPackages, fetchFromGitHub }:
44-55-let wrappedGhc = ghcWithPackages (hpkgs: with hpkgs; [fgl vector syb uulib network binary hashable uhc-util mtl transformers directory containers array process filepath shuffle uuagc] );
66-in stdenv.mkDerivation rec {
77- version = "1.1.9.4";
88- name = "uhc-${version}";
99-1010- src = fetchFromGitHub {
1111- owner = "UU-ComputerScience";
1212- repo = "uhc";
1313- rev = "v${version}";
1414- sha256 = "1s84csk6zgzj09igxgdza7gb52jdn3jsr8lygl5xplshv8yzl34n";
1515- };
1616-1717- postUnpack = "sourceRoot=\${sourceRoot}/EHC";
1818-1919- buildInputs = [ m4 wrappedGhc clang libtool ];
2020-2121- configureFlags = [ "--with-gcc=${clang}/bin/clang" ];
2222-2323- # UHC builds packages during compilation; these are by default
2424- # installed in the user-specific package config file. We do not
2525- # want that, and hack the build process to use a temporary package
2626- # configuration file instead.
2727- preConfigure = ''
2828- p=`pwd`/uhc-local-packages/
2929- ghc-pkg init $p
3030- sed -i "s|--user|--package-db=$p|g" mk/shared.mk.in
3131- sed -i "s|-fglasgow-exts|-fglasgow-exts -package-conf=$p|g" mk/shared.mk.in
3232- sed -i "s|/bin/date|${coreutils}/bin/date|g" mk/dist.mk
3333- sed -i "s|/bin/date|${coreutils}/bin/date|g" mk/config.mk.in
3434- sed -i "s|--make|--make -package-db=$p|g" src/ehc/files2.mk
3535- sed -i "s|--make|--make -package-db=$p|g" src/gen/files.mk
3636- '';
3737-3838- inherit clang;
3939-4040- meta = with stdenv.lib; {
4141- homepage = http://www.cs.uu.nl/wiki/UHC;
4242- description = "Utrecht Haskell Compiler";
4343- maintainers = [ maintainers.phile314 ];
4444-4545- # UHC i686 support is broken, see
4646- # https://github.com/UU-ComputerScience/uhc/issues/52
4747- #
4848- # Darwin build is broken as well at the moment.
4949- # On Darwin, the GNU libtool is used, which does not
5050- # support the -static flag and thus breaks the build.
5151- platforms = ["x86_64-linux"];
5252- broken = true;
5353- };
5454-}
···605605 haskell-src-exts = self.haskell-src-exts_1_20_1;
606606 };
607607608608- # Needs newer version of its dependencies than we have in LTS-10.x.
608608+ # Need newer versions of their dependencies than the ones we have in LTS-10.x.
609609+ cabal2nix = super.cabal2nix.override { hpack = self.hpack_0_22_0; };
609610 hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_20_1; });
610611611612 # https://github.com/bos/configurator/issues/22
···637638 # We get lots of strange compiler errors during the test suite run.
638639 jsaddle = dontCheck super.jsaddle;
639640640640- # tinc is a new build driver a la Stack that's not yet available from Hackage.
641641- tinc = self.callPackage ../tools/haskell/tinc { inherit (pkgs) cabal-install cabal2nix; };
642642-643641 # Tools that use gtk2hs-buildtools now depend on them in a custom-setup stanza
644642 cairo = addBuildTool super.cairo self.gtk2hs-buildtools;
645643 pango = disableHardening (addBuildTool super.pango self.gtk2hs-buildtools) ["fortify"];
···647645 if pkgs.stdenv.isDarwin
648646 then appendConfigureFlag super.gtk "-fhave-quartz-gtk"
649647 else super.gtk;
650650-651651- # It makes no sense to have intero-nix-shim in Hackage, so we publish it here only.
652652- intero-nix-shim = self.callPackage ../tools/haskell/intero-nix-shim {};
653648654649 # vaultenv is not available from Hackage.
655650 vaultenv = self.callPackage ../tools/haskell/vaultenv { };
···958953959954 # https://github.com/yesodweb/Shelly.hs/issues/162
960955 shelly = dontCheck super.shelly;
956956+957957+ # Support ansi-terminal 0.7.x.
958958+ cabal-plan = appendPatch super.cabal-plan (pkgs.fetchpatch {
959959+ url = "https://github.com/haskell-hvr/cabal-plan/pull/16.patch";
960960+ sha256 = "0i889zs46wn09d7iqdy99201zaqxb175cfs8jz2zi3mv4ywx3a0l";
961961+ });
962962+963963+ # Copy hledger man pages from data directory into the proper place. This code
964964+ # should be moved into the cabal2nix generator.
965965+ hledger = overrideCabal super.hledger (drv: {
966966+ postInstall = ''
967967+ for i in $(seq 1 9); do
968968+ for j in $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/*.$i $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/.otherdocs/*.$i; do
969969+ mkdir -p $out/share/man/man$i
970970+ cp $j $out/share/man/man$i/
971971+ done
972972+ done
973973+ mkdir $out/share/info
974974+ cp $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/*.info $out/share/info/
975975+ '';
976976+ });
977977+ hledger-ui = overrideCabal super.hledger-ui (drv: {
978978+ postInstall = ''
979979+ for i in $(seq 1 9); do
980980+ for j in $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/*.$i $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/.otherdocs/*.$i; do
981981+ mkdir -p $out/share/man/man$i
982982+ cp $j $out/share/man/man$i/
983983+ done
984984+ done
985985+ mkdir $out/share/info
986986+ cp $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/*.info $out/share/info/
987987+ '';
988988+ });
989989+ hledger-web = overrideCabal super.hledger-web (drv: {
990990+ postInstall = ''
991991+ for i in $(seq 1 9); do
992992+ for j in $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/*.$i $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/.otherdocs/*.$i; do
993993+ mkdir -p $out/share/man/man$i
994994+ cp $j $out/share/man/man$i/
995995+ done
996996+ done
997997+ mkdir $out/share/info
998998+ cp $data/share/${self.ghc.name}/${pkgs.stdenv.system}-${self.ghc.name}/*/*.info $out/share/info/
999999+ '';
10001000+ });
96110019621002}
···2233stdenv.mkDerivation rec {
44 name = "abcMIDI-${version}";
55- version = "2018.01.02";
55+ version = "2018.01.25";
6677- # You can find new releases on http://ifdo.ca/~seymour/runabc/top.html
87 src = fetchzip {
98 url = "http://ifdo.ca/~seymour/runabc/${name}.zip";
1010- sha256 = "0s8wm637dgzgpgdxba3a6fh06i0c4iwvv9cdghh8msnx428k68iw";
99+ sha256 = "18h6gqhh75qdi8krpp0m2pxbxi0n08wrh8xay477jm3vaggyr8s9";
1110 };
12111312 # There is also a file called "makefile" which seems to be preferred by the standard build phase
···15141615 meta = with stdenv.lib; {
1716 homepage = http://abc.sourceforge.net/abcMIDI/;
1717+ downloadPage = https://ifdo.ca/~seymour/runabc/top.html;
1818 license = licenses.gpl2Plus;
1919 description = "Utilities for converting between abc and MIDI";
2020+ platforms = platforms.unix;
2021 maintainers = [ maintainers.dotlambda ];
2122 };
2223}
+12
pkgs/tools/compression/brotli/default.nix
···17171818 outputs = [ "out" "dev" "lib" ];
19192020+ doCheck = true;
2121+2222+ checkTarget = "test";
2323+2024 # This breaks on Darwin because our cmake hook tries to make a build folder
2125 # and the wonderful bazel BUILD file is already there (yay case-insensitivity?)
2226 prePatch = "rm BUILD";
2727+2828+ # Don't bother with "man" output for now,
2929+ # it currently only makes the manpages hard to use.
3030+ postInstall = ''
3131+ mkdir -p $out/share/man/man{1,3}
3232+ cp ../docs/*.1 $out/share/man/man1/
3333+ cp ../docs/*.3 $out/share/man/man3/
3434+ '';
23352436 meta = with stdenv.lib; {
2537 inherit (src.meta) homepage;